@justifi/webcomponents 6.15.0-rc.2 → 6.16.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Analytics-COhunq0p.js → Analytics-jQsZxClw.js} +4 -4
- package/dist/cjs/{Api-Do6SaltY.js → Api-DqXlEWR1.js} +1 -1
- package/dist/cjs/{Business-oBifyXkW.js → Business-CNaz-VLa.js} +5 -1
- package/dist/cjs/{Plaid-D85oV9FN.js → Plaid-BcOAKDaU.js} +1 -1
- package/dist/cjs/additional-questions-form-step_15.cjs.entry.js +14 -14
- package/dist/cjs/additional-questions_4.cjs.entry.js +3 -3
- package/dist/cjs/additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +15 -9
- package/dist/cjs/bank-account-document-form-inputs.cjs.entry.js +2 -2
- package/dist/cjs/bank-account-form.cjs.entry.js +68 -14
- package/dist/cjs/{business-form-options-CnlrfbQ6.js → business-form-options-BHBs_yiK.js} +1 -1
- package/dist/cjs/{business-identity-schema-hpDJFnB4.js → business-identity-schema-DuOIMFjG.js} +3 -3
- package/dist/cjs/{business.service-72YETCdB.js → business.service-Ca-olopC.js} +3 -3
- package/dist/cjs/card-form.cjs.entry.js +16 -12
- package/dist/cjs/{checkout-actions-BRQFQ6n-.js → checkout-actions-CQyGpVPe.js} +2 -2
- package/dist/cjs/{checkout.service-CPsXfx0Z.js → checkout.service-DBHPH2ji.js} +3 -3
- package/dist/cjs/{checkout.store-DaV9lvEQ.js → checkout.store-B5lTwvUV.js} +1 -0
- package/dist/cjs/{country-config-C1bWmF8P.js → country-config-CFC3KuVD.js} +25 -3
- package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
- package/dist/cjs/detect-duplicate-version-D8ZajVUT.js +29 -0
- package/dist/cjs/dispute-notification_2.cjs.entry.js +12 -12
- package/dist/cjs/{event-types-UHzCC7Ga.js → event-types-luy3xnYR.js} +3 -3
- package/dist/cjs/form-address-fields_3.cjs.entry.js +6 -6
- package/dist/cjs/form-alert_3.cjs.entry.js +116 -15
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +1 -1
- package/dist/cjs/form-control-file.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number_2.cjs.entry.js +6 -6
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/form-control-select_2.cjs.entry.js +22 -6
- package/dist/cjs/{get-business-BpaRbn5S.js → get-business-BVxtiSDs.js} +3 -3
- package/dist/cjs/{get-payment-details-Cmg8gWvo.js → get-payment-details-DR1GgpyX.js} +3 -3
- package/dist/cjs/{get-subaccounts-Bp7DOmM_.js → get-subaccounts-D11aTYj1.js} +4 -4
- package/dist/cjs/{input-handlers-_51J5q7J.js → input-handlers-v9h_2Ysi.js} +1 -1
- package/dist/cjs/internal-button.cjs.entry.js +1 -1
- package/dist/cjs/justifi-apple-pay_12.cjs.entry.js +52 -30
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +8 -8
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +10 -9
- package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
- package/dist/cjs/justifi-business-details.cjs.entry.js +11 -11
- package/dist/cjs/justifi-business-form.cjs.entry.js +14 -14
- package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +11 -8
- package/dist/cjs/justifi-checkout-qr-code.cjs.entry.js +7 -7
- package/dist/cjs/justifi-checkout.cjs.entry.js +12 -10
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -4
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -10
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +34 -21
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +12 -12
- package/dist/cjs/justifi-payment-details.cjs.entry.js +18 -18
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payout-details.cjs.entry.js +13 -13
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-qr-terminal.cjs.entry.js +10 -10
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +10 -10
- package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +9 -9
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +5 -5
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +11 -11
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-G3Vs7Jx5.js → package-B414Jbra.js} +1 -3
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment-provisioning-actions-DDooZhhk.js → payment-provisioning-actions-SVp7B8pR.js} +2 -2
- package/dist/cjs/payment-provisioning-form-buttons_2.cjs.entry.js +1 -1
- package/dist/cjs/{payment.service-CVwTrHEL.js → payment.service-CNTe8vrp.js} +3 -3
- package/dist/cjs/{payout.service-CL3VR0hN.js → payout.service-BmU3q9jO.js} +3 -3
- package/dist/cjs/{payouts-status-1IUtW-UQ.js → payouts-status-BvHeuy9v.js} +2 -2
- package/dist/cjs/{plaid.service-Cukg5wuY.js → plaid.service-d9LAwbnX.js} +3 -3
- package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
- package/dist/cjs/save-new-payment-method.cjs.entry.js +2 -2
- package/dist/cjs/{schema-validations-DehT309E.js → schema-validations-BDFa_oIq.js} +12 -5
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-C0KG7BqL.js → terminal.service-BkQWZv9b.js} +3 -3
- package/dist/cjs/{utils-CBriZzRC.js → utils-BScgWJC5.js} +1 -1
- package/dist/cjs/utils-Ct_X5q0U.js +62 -0
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Business.js +2 -0
- package/dist/collection/api/Checkout.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/business-details/justifi-business-details.js +3 -3
- package/dist/collection/components/business-forms/business-form/justifi-business-form.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +3 -2
- package/dist/collection/components/business-forms/payment-provisioning/justifi-payment-provisioning.js +2 -2
- package/dist/collection/components/business-forms/schemas/schema-helpers.js +2 -1
- package/dist/collection/components/business-forms/schemas/schema-validations.js +8 -1
- package/dist/collection/components/business-forms/utils/country-config.js +3 -2
- package/dist/collection/components/business-forms/utils/helpers.js +3 -1
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +90 -12
- package/dist/collection/components/checkout/billing-form/billing-form-full.js +6 -2
- package/dist/collection/components/checkout/billing-form/card-billing-form-simple.js +6 -2
- package/dist/collection/components/checkout/card-form/card-form.js +39 -11
- package/dist/collection/components/checkout/justifi-checkout.js +26 -4
- package/dist/collection/components/checkout/message-event-types.js +2 -0
- package/dist/collection/components/checkout/save-new-payment-method/justifi-save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/save-new-payment-method/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout-qr-code/justifi-checkout-qr-code.js +2 -2
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +4 -2
- package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +5 -5
- package/dist/collection/components/dispute-management/dispute-notification.js +2 -2
- 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.js +3 -3
- 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/dispute-management/justifi-dispute-management.js +3 -3
- package/dist/collection/components/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/gross-payment-chart/justifi-gross-payment-chart.js +2 -2
- package/dist/collection/components/insurance/season-interruption/justifi-season-interruption-insurance.js +2 -2
- package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +50 -12
- package/dist/collection/components/modular-checkout/sub-components/justifi-apple-pay.js +7 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +3 -3
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +33 -6
- package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +28 -3
- package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/paypal/justifi-paypal.js +1 -1
- package/dist/collection/components/order-terminals/justifi-order-terminals.js +3 -3
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/justifi-payment-details.js +10 -10
- package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js +3 -3
- package/dist/collection/components/payments-list/justifi-payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/justifi-payments-list.js +3 -3
- package/dist/collection/components/payout-details/justifi-payout-details.js +5 -5
- package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js +3 -3
- package/dist/collection/components/payouts-list/justifi-payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/justifi-payouts-list.js +3 -3
- package/dist/collection/components/qr-terminal/justifi-qr-terminal.js +2 -2
- package/dist/collection/components/refund-payment/justifi-refund-payment.js +2 -2
- package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list.js +4 -4
- package/dist/collection/components/terminals-list/justifi-terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/justifi-terminals-list.js +3 -3
- package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +45 -6
- package/dist/collection/store/checkout.store.js +1 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- 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 +37 -4
- package/dist/collection/ui-components/form/iframe-input.js +136 -14
- package/dist/collection/ui-components/form/utils.js +32 -0
- package/dist/collection/ui-components/internal-button.js +1 -1
- package/dist/collection/ui-components/radio-list-item.js +1 -1
- package/dist/collection/utils/detect-duplicate-version.js +24 -0
- package/dist/collection/utils/postal-code.js +19 -0
- package/dist/docs.json +287 -18
- package/dist/esm/{Analytics-3WmRTICF.js → Analytics-DihSSvAP.js} +4 -4
- package/dist/esm/{Api-83B3f28Q.js → Api-INJHjnya.js} +1 -1
- package/dist/esm/{Business-DaDqgDrb.js → Business-CTtGaVYs.js} +5 -1
- package/dist/esm/{Plaid-BP3xNxQF.js → Plaid-CRcTLeaz.js} +1 -1
- package/dist/esm/additional-questions-form-step_15.entry.js +14 -14
- package/dist/esm/additional-questions_4.entry.js +3 -3
- package/dist/esm/additional-statement_8.entry.js +8 -8
- package/dist/esm/bank-account-billing-form-simple_4.entry.js +15 -9
- package/dist/esm/bank-account-document-form-inputs.entry.js +2 -2
- package/dist/esm/bank-account-form.entry.js +68 -14
- package/dist/esm/{business-form-options-BxVQL9ar.js → business-form-options-DLRkVtee.js} +1 -1
- package/dist/esm/{business-identity-schema-BkmRlnQo.js → business-identity-schema-BLKCH6xV.js} +3 -3
- package/dist/esm/{business.service-CTqiKKy5.js → business.service-C8f7OSEu.js} +3 -3
- package/dist/esm/card-form.entry.js +16 -12
- package/dist/esm/{checkout-actions-0ftD0elo.js → checkout-actions-CWnrb317.js} +2 -2
- package/dist/esm/{checkout.service-wjFjBxIB.js → checkout.service-BYDkC7uy.js} +3 -3
- package/dist/esm/{checkout.store-B2mtQcB5.js → checkout.store-B8CGkx0o.js} +1 -0
- package/dist/esm/{country-config-CJwnhkdq.js → country-config-DJFj1v-Q.js} +24 -4
- package/dist/esm/custom-popper_2.entry.js +2 -2
- package/dist/esm/detect-duplicate-version-C4r1WAzO.js +27 -0
- package/dist/esm/dispute-notification_2.entry.js +12 -12
- package/dist/esm/{event-types-cqQHLwCy.js → event-types-S8CgMbPg.js} +3 -3
- package/dist/esm/form-address-fields_3.entry.js +6 -6
- package/dist/esm/form-alert_3.entry.js +116 -15
- package/dist/esm/form-control-checkbox.entry.js +2 -2
- package/dist/esm/form-control-date.entry.js +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +1 -1
- package/dist/esm/form-control-file.entry.js +2 -2
- package/dist/esm/form-control-monetary.entry.js +2 -2
- package/dist/esm/form-control-number_2.entry.js +6 -6
- package/dist/esm/form-control-radio.entry.js +2 -2
- package/dist/esm/form-control-select_2.entry.js +22 -6
- package/dist/esm/{get-business-BLCT-zfN.js → get-business-IZpxKRZM.js} +3 -3
- package/dist/esm/{get-payment-details-BokzuPGl.js → get-payment-details-DSI41Pq5.js} +3 -3
- package/dist/esm/{get-subaccounts-ClGG-LRZ.js → get-subaccounts-BHWiH8q9.js} +4 -4
- package/dist/esm/{input-handlers-Dfuc6aDW.js → input-handlers-Dm8jO-BT.js} +1 -1
- package/dist/esm/internal-button.entry.js +1 -1
- package/dist/esm/justifi-apple-pay_12.entry.js +52 -30
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +8 -8
- package/dist/esm/justifi-bank-account-form.entry.js +10 -9
- package/dist/esm/justifi-billing-form-full.entry.js +1 -1
- package/dist/esm/justifi-business-details.entry.js +11 -11
- package/dist/esm/justifi-business-form.entry.js +14 -14
- package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
- package/dist/esm/justifi-card-form.entry.js +11 -8
- package/dist/esm/justifi-checkout-qr-code.entry.js +7 -7
- package/dist/esm/justifi-checkout.entry.js +12 -10
- package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -4
- package/dist/esm/justifi-checkouts-list.entry.js +12 -12
- package/dist/esm/justifi-dispute-management.entry.js +10 -10
- package/dist/esm/justifi-gross-payment-chart.entry.js +34 -21
- package/dist/esm/justifi-order-terminals.entry.js +12 -12
- package/dist/esm/justifi-payment-details.entry.js +18 -18
- package/dist/esm/justifi-payment-provisioning.entry.js +10 -10
- package/dist/esm/justifi-payment-transactions-list.entry.js +10 -10
- package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payments-list.entry.js +10 -10
- package/dist/esm/justifi-payout-details.entry.js +13 -13
- package/dist/esm/justifi-payout-transactions-list.entry.js +10 -10
- package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payouts-list.entry.js +12 -12
- package/dist/esm/justifi-qr-terminal.entry.js +10 -10
- package/dist/esm/justifi-refund-payment.entry.js +10 -10
- package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -9
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +5 -5
- package/dist/esm/justifi-terminal-orders-list.entry.js +10 -10
- package/dist/esm/justifi-terminals-list-filters.entry.js +3 -3
- package/dist/esm/justifi-terminals-list.entry.js +11 -11
- package/dist/esm/loader.js +1 -1
- package/dist/esm/package-BQpbTebi.js +5 -0
- package/dist/esm/payment-method-option.entry.js +1 -1
- package/dist/esm/{payment-provisioning-actions-VRIPjnAQ.js → payment-provisioning-actions-VtleD509.js} +2 -2
- package/dist/esm/payment-provisioning-form-buttons_2.entry.js +1 -1
- package/dist/esm/{payment.service-D7uv5vym.js → payment.service-CQXRsu6Y.js} +3 -3
- package/dist/esm/{payout.service-BoSyqft1.js → payout.service-RRyWfpEK.js} +3 -3
- package/dist/esm/{payouts-status-CaiC5qpn.js → payouts-status-CnIf4XDi.js} +2 -2
- package/dist/esm/{plaid.service-DufQkxDk.js → plaid.service-Cg3E3Plo.js} +3 -3
- package/dist/esm/radio-list-item.entry.js +1 -1
- package/dist/esm/save-new-payment-method.entry.js +2 -2
- package/dist/esm/{schema-validations-8dbMCACI.js → schema-validations-8GJ34Do1.js} +12 -5
- package/dist/esm/table-filters-menu.entry.js +1 -1
- package/dist/esm/terminal-quantity-selector.entry.js +1 -1
- package/dist/esm/{terminal.service-BM2aebB6.js → terminal.service-Dy6D8bnl.js} +3 -3
- package/dist/esm/utils-Cpck08K0.js +59 -0
- package/dist/esm/{utils-YUOJKtjO.js → utils-DaPywmTI.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Business.js +5 -1
- package/dist/module/Plaid.js +1 -1
- package/dist/module/additional-statement2.js +1 -1
- package/dist/module/bank-account-form2.js +65 -10
- package/dist/module/billing-form-full2.js +6 -2
- package/dist/module/cancellation-policy2.js +1 -1
- package/dist/module/card-billing-form-simple2.js +6 -2
- package/dist/module/card-form2.js +14 -9
- package/dist/module/checkout.store.js +1 -0
- package/dist/module/country-config.js +23 -3
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details2.js +1 -1
- package/dist/module/detect-duplicate-version.js +27 -0
- package/dist/module/dispute-notification2.js +2 -2
- package/dist/module/dispute-response2.js +3 -3
- package/dist/module/duplicate-charge2.js +1 -1
- package/dist/module/electronic-evidence2.js +1 -1
- package/dist/module/form-address-fields2.js +3 -3
- 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-number2.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 +21 -4
- package/dist/module/iframe-input2.js +119 -15
- package/dist/module/internal-button2.js +1 -1
- package/dist/module/justifi-apple-pay2.js +7 -1
- package/dist/module/justifi-bank-account-billing-form-simple.js +3 -3
- package/dist/module/justifi-bank-account-form.js +6 -4
- package/dist/module/justifi-billing-form-full.js +1 -1
- package/dist/module/justifi-business-details.js +3 -3
- package/dist/module/justifi-business-form.js +2 -2
- package/dist/module/justifi-card-billing-form-simple.js +1 -1
- package/dist/module/justifi-card-form.js +6 -3
- package/dist/module/justifi-checkout-qr-code2.js +2 -2
- package/dist/module/justifi-checkout-summary2.js +1 -1
- package/dist/module/justifi-checkout.js +7 -4
- package/dist/module/justifi-checkouts-list-filters.js +4 -2
- package/dist/module/justifi-checkouts-list.js +4 -4
- package/dist/module/justifi-dispute-management.js +3 -3
- package/dist/module/justifi-gross-payment-chart.js +28 -15
- package/dist/module/justifi-modular-checkout2.js +30 -12
- package/dist/module/justifi-order-terminals.js +3 -3
- package/dist/module/justifi-payment-details.js +10 -10
- package/dist/module/justifi-payment-provisioning.js +2 -2
- package/dist/module/justifi-payment-transactions-list.js +3 -3
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +3 -3
- package/dist/module/justifi-payout-details.js +5 -5
- package/dist/module/justifi-payout-transactions-list.js +3 -3
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +3 -3
- package/dist/module/justifi-paypal2.js +1 -1
- package/dist/module/justifi-qr-terminal.js +2 -2
- package/dist/module/justifi-refund-payment.js +2 -2
- package/dist/module/justifi-save-new-payment-method.js +1 -1
- package/dist/module/justifi-season-interruption-insurance.js +2 -2
- package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/module/justifi-terminal-orders-list.js +4 -4
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +3 -3
- package/dist/module/justifi-tokenize-payment-method2.js +9 -6
- package/dist/module/package.js +1 -3
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/product-or-service2.js +1 -1
- package/dist/module/radio-list-item2.js +1 -1
- package/dist/module/refund-policy2.js +1 -1
- package/dist/module/save-new-payment-method2.js +1 -1
- package/dist/module/schema-validations.js +10 -3
- package/dist/module/shipping-details2.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/utils4.js +33 -1
- package/dist/types/api/Business.d.ts +2 -0
- package/dist/types/api/Checkout.d.ts +7 -7
- package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +8 -1
- package/dist/types/components/checkout/card-form/card-form.d.ts +5 -1
- package/dist/types/components/checkout/justifi-checkout.d.ts +2 -0
- package/dist/types/components/checkout/message-event-types.d.ts +2 -0
- package/dist/types/components/checkouts-list/justifi-checkouts-list.d.ts +1 -1
- package/dist/types/components/modular-checkout/justifi-modular-checkout.d.ts +9 -0
- package/dist/types/components/modular-checkout/sub-components/justifi-apple-pay.d.ts +1 -0
- package/dist/types/components/modular-checkout/sub-components/justifi-bank-account-form.d.ts +4 -1
- package/dist/types/components/modular-checkout/sub-components/justifi-card-form.d.ts +9 -0
- package/dist/types/components/tokenize-payment-method/justifi-tokenize-payment-method.d.ts +9 -0
- package/dist/types/components.d.ts +86 -4
- package/dist/types/store/checkout.store.d.ts +1 -0
- package/dist/types/ui-components/form/form-control-text.d.ts +1 -0
- package/dist/types/ui-components/form/iframe-input.d.ts +24 -0
- package/dist/types/ui-components/form/utils.d.ts +1 -0
- package/dist/types/utils/detect-duplicate-version.d.ts +7 -0
- package/dist/types/utils/postal-code.d.ts +3 -0
- package/dist/webcomponents/p-12daf522.entry.js +1 -0
- package/dist/webcomponents/p-1a1aef42.entry.js +1 -0
- package/dist/webcomponents/p-1ceb65cc.entry.js +1 -0
- package/dist/webcomponents/p-1ff1dcc5.entry.js +20 -0
- package/dist/webcomponents/{p-777470cb.entry.js → p-2272a65b.entry.js} +1 -1
- package/dist/webcomponents/{p-c4889a06.entry.js → p-2d25f1d1.entry.js} +1 -1
- package/dist/webcomponents/{p-c5424fda.entry.js → p-30ec1cd6.entry.js} +1 -1
- package/dist/webcomponents/p-357d14ee.entry.js +1 -0
- package/dist/webcomponents/{p-ead48010.entry.js → p-4450dbe9.entry.js} +1 -1
- package/dist/webcomponents/p-4c7e7880.entry.js +1 -0
- package/dist/webcomponents/p-4d85dd63.entry.js +1 -0
- package/dist/webcomponents/p-521c534c.entry.js +1 -0
- package/dist/webcomponents/p-5babaaa9.entry.js +1 -0
- package/dist/webcomponents/{p-1cdbe8c1.entry.js → p-5c889829.entry.js} +1 -1
- package/dist/webcomponents/{p-f5358a80.entry.js → p-5e8f26ec.entry.js} +1 -1
- package/dist/webcomponents/p-622c2af4.entry.js +1 -0
- package/dist/webcomponents/{p-9e3e2e32.entry.js → p-6aaf2758.entry.js} +1 -1
- package/dist/webcomponents/p-6bfdc443.entry.js +1 -0
- package/dist/webcomponents/{p-42021e67.entry.js → p-6f3b035b.entry.js} +1 -1
- package/dist/webcomponents/p-73af269e.entry.js +1 -0
- package/dist/webcomponents/{p-ced6f6f1.entry.js → p-7ff788f8.entry.js} +1 -1
- package/dist/webcomponents/{p-c3818a5a.entry.js → p-846ae5d5.entry.js} +1 -1
- package/dist/webcomponents/p-8758aec4.entry.js +1 -0
- package/dist/webcomponents/p-87f8d4e7.entry.js +1 -0
- package/dist/webcomponents/p-8c22ff9c.entry.js +1 -0
- package/dist/webcomponents/p-91358854.entry.js +1 -0
- package/dist/webcomponents/{p-f3682c72.entry.js → p-956707a2.entry.js} +1 -1
- package/dist/webcomponents/p-9c1863d5.entry.js +1 -0
- package/dist/webcomponents/p-BDtSw_d-.js +1 -0
- package/dist/webcomponents/{p-CIpBEUtx.js → p-BG8NxEUn.js} +1 -1
- package/dist/webcomponents/p-BKtKrQzN.js +1 -0
- package/dist/webcomponents/p-BQpbTebi.js +1 -0
- package/dist/webcomponents/{p-nbKvRcwU.js → p-Bh5BNj74.js} +1 -1
- package/dist/webcomponents/{p-CLq3Og7o.js → p-BhpaUYtS.js} +1 -1
- package/dist/webcomponents/{p-vIQBTQmc.js → p-BtiJJJwv.js} +1 -1
- package/dist/webcomponents/{p-DZQBPUfH.js → p-Bxc0NRj8.js} +1 -1
- package/dist/webcomponents/p-BzESNgd8.js +1 -0
- package/dist/webcomponents/p-C9p1gWAC.js +1 -0
- package/dist/webcomponents/p-CTtGaVYs.js +1 -0
- package/dist/webcomponents/p-CgOgijHy.js +1 -0
- package/dist/webcomponents/p-CkrzG0pB.js +1 -0
- package/dist/webcomponents/p-Cl6irPVE.js +1 -0
- package/dist/webcomponents/p-Cpck08K0.js +1 -0
- package/dist/webcomponents/{p-OReJ-ZQb.js → p-CtlBL-X6.js} +1 -1
- package/dist/webcomponents/p-Cy_sz0Tx.js +1 -0
- package/dist/webcomponents/p-D42DvqTW.js +1 -0
- package/dist/webcomponents/p-D7nyPi2Q.js +1 -0
- package/dist/webcomponents/p-DBudSN_h.js +1 -0
- package/dist/webcomponents/p-DMzYgqml.js +1 -0
- package/dist/webcomponents/{p-B0DHIvEj.js → p-DQmijfCN.js} +1 -1
- package/dist/webcomponents/p-Dqxyi-uK.js +1 -0
- package/dist/webcomponents/p-FsWkrvEF.js +1 -0
- package/dist/webcomponents/p-MLQyjvrV.js +1 -0
- package/dist/webcomponents/p-a095b86d.entry.js +1 -0
- package/dist/webcomponents/p-a1e1afa4.entry.js +1 -0
- package/dist/webcomponents/p-a2c4e99f.entry.js +1 -0
- package/dist/webcomponents/p-a8f1c9b3.entry.js +1 -0
- package/dist/webcomponents/{p-5d7b3d71.entry.js → p-b665841f.entry.js} +1 -1
- package/dist/webcomponents/p-b925d666.entry.js +1 -0
- package/dist/webcomponents/p-bc3e46af.entry.js +1 -0
- package/dist/webcomponents/p-c172decb.entry.js +1 -0
- package/dist/webcomponents/p-c9871158.entry.js +1 -0
- package/dist/webcomponents/p-d19d7d41.entry.js +1 -0
- package/dist/webcomponents/{p-6c94218c.entry.js → p-d35cde99.entry.js} +1 -1
- package/dist/webcomponents/{p-cb1cc88e.entry.js → p-d48f80d1.entry.js} +1 -1
- package/dist/webcomponents/{p-eb31024f.entry.js → p-dae31a59.entry.js} +1 -1
- package/dist/webcomponents/p-deff4422.entry.js +1 -0
- package/dist/webcomponents/{p-1365a46b.entry.js → p-e3c7b4e5.entry.js} +1 -1
- package/dist/webcomponents/{p-d98bc829.entry.js → p-e6d1e3e2.entry.js} +1 -1
- package/dist/webcomponents/{p-97c6593d.entry.js → p-ebae270b.entry.js} +1 -1
- package/dist/webcomponents/p-ebed68aa.entry.js +1 -0
- package/dist/webcomponents/{p-bf3866b3.entry.js → p-f0084d20.entry.js} +1 -1
- package/dist/webcomponents/p-f0da2ca5.entry.js +1 -0
- package/dist/webcomponents/p-f23d7d13.entry.js +1 -0
- package/dist/webcomponents/p-f2c99647.entry.js +1 -0
- package/dist/webcomponents/{p-e55216fb.entry.js → p-f39889f2.entry.js} +1 -1
- package/dist/webcomponents/p-f458928d.entry.js +1 -0
- package/dist/webcomponents/{p-0aa96018.entry.js → p-f5686720.entry.js} +1 -1
- package/dist/webcomponents/p-f681f747.entry.js +1 -0
- package/dist/webcomponents/{p-6eb65d23.entry.js → p-f6efd9e0.entry.js} +1 -1
- package/dist/webcomponents/{p-7002286e.entry.js → p-fa0427d5.entry.js} +1 -1
- package/dist/webcomponents/p-fb1f2fe8.entry.js +1 -0
- package/dist/webcomponents/p-fcc5af24.entry.js +1 -0
- package/dist/webcomponents/p-hdPjEOdB.js +1 -0
- package/dist/webcomponents/{p-CJEetAx7.js → p-l3JhjHLW.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +2 -4
- package/dist/cjs/check-pkg-version-BxGoSXGD.js +0 -47
- package/dist/cjs/utils-DAyWinG2.js +0 -29
- package/dist/collection/utils/check-pkg-version.js +0 -42
- package/dist/esm/check-pkg-version-CmFl6VLH.js +0 -45
- package/dist/esm/package-CAVi_ne1.js +0 -7
- package/dist/esm/utils-BnjCmwMr.js +0 -27
- package/dist/module/check-pkg-version.js +0 -45
- package/dist/types/utils/check-pkg-version.d.ts +0 -1
- package/dist/webcomponents/p-0fbc806f.entry.js +0 -1
- package/dist/webcomponents/p-10787684.entry.js +0 -1
- package/dist/webcomponents/p-1fa62eba.entry.js +0 -1
- package/dist/webcomponents/p-25f70d5f.entry.js +0 -1
- package/dist/webcomponents/p-27igUlku.js +0 -1
- package/dist/webcomponents/p-36340e63.entry.js +0 -1
- package/dist/webcomponents/p-3642e189.entry.js +0 -1
- package/dist/webcomponents/p-388082cd.entry.js +0 -1
- package/dist/webcomponents/p-3f2fb856.entry.js +0 -1
- package/dist/webcomponents/p-4cad48c1.entry.js +0 -1
- package/dist/webcomponents/p-50c2b8f0.entry.js +0 -1
- package/dist/webcomponents/p-5842d4e8.entry.js +0 -1
- package/dist/webcomponents/p-5c89dcdf.entry.js +0 -1
- package/dist/webcomponents/p-5dcb1713.entry.js +0 -1
- package/dist/webcomponents/p-5f8c30b6.entry.js +0 -1
- package/dist/webcomponents/p-68e88747.entry.js +0 -1
- package/dist/webcomponents/p-6931a1f2.entry.js +0 -1
- package/dist/webcomponents/p-72bb4aff.entry.js +0 -1
- package/dist/webcomponents/p-74575a99.entry.js +0 -1
- package/dist/webcomponents/p-7c405573.entry.js +0 -1
- package/dist/webcomponents/p-825a7ee6.entry.js +0 -1
- package/dist/webcomponents/p-909a9828.entry.js +0 -20
- package/dist/webcomponents/p-955c06d3.entry.js +0 -1
- package/dist/webcomponents/p-9e9a2546.entry.js +0 -1
- package/dist/webcomponents/p-9f0ef3f3.entry.js +0 -1
- package/dist/webcomponents/p-BAKuMxC9.js +0 -1
- package/dist/webcomponents/p-BEL8sLz6.js +0 -1
- package/dist/webcomponents/p-BSxXlu9H.js +0 -1
- package/dist/webcomponents/p-BnjCmwMr.js +0 -1
- package/dist/webcomponents/p-CAVi_ne1.js +0 -1
- package/dist/webcomponents/p-CXsRwohv.js +0 -1
- package/dist/webcomponents/p-CawcnSoV.js +0 -1
- package/dist/webcomponents/p-CbyGKcz_.js +0 -1
- package/dist/webcomponents/p-Cy2N3vAg.js +0 -1
- package/dist/webcomponents/p-CyOXIqHo.js +0 -1
- package/dist/webcomponents/p-D6uhYbLo.js +0 -1
- package/dist/webcomponents/p-DN7VhlTn.js +0 -1
- package/dist/webcomponents/p-DNuxxP2B.js +0 -1
- package/dist/webcomponents/p-D_84NsmN.js +0 -1
- package/dist/webcomponents/p-DaDqgDrb.js +0 -1
- package/dist/webcomponents/p-Do9dxNjh.js +0 -1
- package/dist/webcomponents/p-Fpaf7CLD.js +0 -1
- package/dist/webcomponents/p-PdwJswAy.js +0 -1
- package/dist/webcomponents/p-acb0b66c.entry.js +0 -1
- package/dist/webcomponents/p-b23dfa13.entry.js +0 -1
- package/dist/webcomponents/p-b98ea26a.entry.js +0 -1
- package/dist/webcomponents/p-ca13117d.entry.js +0 -1
- package/dist/webcomponents/p-ca6c5365.entry.js +0 -1
- package/dist/webcomponents/p-d59676ea.entry.js +0 -1
- package/dist/webcomponents/p-ee7fe3a8.entry.js +0 -1
- package/dist/webcomponents/p-f0434a13.entry.js +0 -1
- package/dist/webcomponents/p-f9f0cb1f.entry.js +0 -1
- package/dist/webcomponents/p-fda6f27d.entry.js +0 -1
- package/dist/webcomponents/p-fdd087d4.entry.js +0 -1
|
@@ -173,7 +173,7 @@ export class JustifiPaypal {
|
|
|
173
173
|
return order;
|
|
174
174
|
}
|
|
175
175
|
render() {
|
|
176
|
-
return (h(StyledHost, { key: '
|
|
176
|
+
return (h(StyledHost, { key: '39a2b473cfa47da5e079adbaffa93663289cb8ec' }, h("div", { key: '9d3e3ff9236d2462157b310d691c43f54b6651dd', class: "paypal-buttons", ref: (el) => (this.buttonsEl = el) }, h("paypal-button", { key: 'a0049d2bcf4aa295f65563f49c3287b2da2e63b8', type: "pay", ref: (el) => (this.paypalButtonEl = el), onClick: () => this.startSession(this.paypalSession, 'paypal') }), h("venmo-button", { key: 'fd71ba73af2223271160601ec76039d3e0d6cb02', type: "pay", ref: (el) => (this.venmoButtonEl = el), onClick: () => this.startSession(this.venmoSession, 'venmo') })), h("style", { key: '7c7b62b3bbdf001760e888b4206702d210aeadcb' }, `
|
|
177
177
|
.paypal-buttons {
|
|
178
178
|
display: none;
|
|
179
179
|
gap: 8px;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { StyledHost } from "../../ui-components";
|
|
3
|
-
import {
|
|
3
|
+
import { detectDuplicateVersion } from "../../utils/detect-duplicate-version";
|
|
4
4
|
import JustifiAnalytics from "../../api/Analytics";
|
|
5
5
|
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
|
|
6
6
|
import { BusinessService } from "../../api/services/business.service";
|
|
@@ -32,7 +32,7 @@ export class JustifiOrderTerminals {
|
|
|
32
32
|
sub_account_id: this.accountId,
|
|
33
33
|
order_type: this.shipping ? TerminalOrderType.boardingShipping : TerminalOrderType.boardingOnly,
|
|
34
34
|
});
|
|
35
|
-
|
|
35
|
+
detectDuplicateVersion();
|
|
36
36
|
this.analytics = new JustifiAnalytics(this);
|
|
37
37
|
this.loadData();
|
|
38
38
|
}
|
|
@@ -127,7 +127,7 @@ export class JustifiOrderTerminals {
|
|
|
127
127
|
return (h("div", { class: "mt-3" }, h("div", { class: "text-end" }, "Order limit: ", this.orderLimit), h("div", { class: "d-flex justify-content-end mt-3" }, h("button", { class: "btn btn-primary submit-btn", onClick: this.submitOrder.bind(this), disabled: this.order.totalQuantity === 0 || this.submitting, part: buttonPrimary }, this.submitting ? 'Submitting...' : this.submitButtonText))));
|
|
128
128
|
}
|
|
129
129
|
render() {
|
|
130
|
-
return (h(StyledHost, { key: '
|
|
130
|
+
return (h(StyledHost, { key: '9c1c5ef1be4ad0bc5b805321ce1c2e641c60d2b5' }, h("div", { key: '48720580edec029c7768c291429014df476e7e0f', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
|
|
131
131
|
}
|
|
132
132
|
static get is() { return "justifi-order-terminals"; }
|
|
133
133
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,7 +18,7 @@ export class TerminalQuantitySelector {
|
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h("div", { key: '
|
|
21
|
+
return (h("div", { key: '38cd0765871fd366af0adc09910add544ecefb93', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: '5e367d97287d3fef28e4f24d78384c6d02ab1540', class: "d-flex gap-3" }, h("div", { key: 'e031d923a5a01665a7f1a37e1d7df529ba51b0b2', class: "d-flex align-items-center" }, h("img", { key: 'b520afcdbd4946105324410499aa4ede31da1a72', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: '5bdb4760b16241d9cd76e70245a19555dce6f723', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: '598bab6407c43f94896a1782b60f048696361113', class: "row" }, h("div", { key: 'c340942cadb9dc0411f7d7815f1ccc9df75cbfbc', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: '1f0a3deeb00abcf3e3cd01fecdeb0435f091cbac', helpText: this.description })), h("div", { key: 'df8b8567640a567a4b8f238a21c6ed57d60e444a', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: 'baf59d5ede260d44a8ebfaaf95d8d134f3ef60da', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: 'cd3f528e9a56385cd17b23eb85185c51cd0dff67', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: '6a55baa1403892f79600ff4ee85734c14a5f2ecc', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "terminal-quantity-selector"; }
|
|
24
24
|
static get properties() {
|
|
@@ -3,7 +3,7 @@ import { PaymentService } from "../../api/services/payment.service";
|
|
|
3
3
|
import { makeGetPaymentDetails } from "../../actions/payment/get-payment-details";
|
|
4
4
|
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
|
|
5
5
|
import JustifiAnalytics from "../../api/Analytics";
|
|
6
|
-
import {
|
|
6
|
+
import { detectDuplicateVersion } from "../../utils/detect-duplicate-version";
|
|
7
7
|
import { DisputeStatus, PaymentStatuses } from "../../api";
|
|
8
8
|
import { formatDate, formatTime, snakeCaseToHumanReadable } from "../../utils/utils";
|
|
9
9
|
import { MapPaymentStatusToBadge, PaymentStatusBadge } from "../payments-list/payments-status";
|
|
@@ -16,7 +16,7 @@ export class JustifiPaymentDetails {
|
|
|
16
16
|
this.loading = true;
|
|
17
17
|
}
|
|
18
18
|
componentWillLoad() {
|
|
19
|
-
|
|
19
|
+
detectDuplicateVersion();
|
|
20
20
|
this.analytics = new JustifiAnalytics(this);
|
|
21
21
|
this.initializeGetPaymentDetails();
|
|
22
22
|
}
|
|
@@ -81,16 +81,16 @@ export class JustifiPaymentDetails {
|
|
|
81
81
|
return this.payment.status;
|
|
82
82
|
}
|
|
83
83
|
render() {
|
|
84
|
-
return (h(StyledHost, { key: '
|
|
85
|
-
this.payment && (h("justifi-details", { key: '
|
|
86
|
-
h(DetailSectionTitle, { key: '
|
|
87
|
-
h("div", { key: '
|
|
84
|
+
return (h(StyledHost, { key: 'a7e9a3c93f59da404cf7c3df9b2cfb8f0b66f4d8' }, this.loading && h(PaymentDetailsLoading, { key: '05e83902cbff7a519d75d7a6e4d60f339ee96d62' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
|
|
85
|
+
this.payment && (h("justifi-details", { key: '6834945fb72058baa2ea003ddd76e42bd668e1e9', errorMessage: this.errorMessage }, h(EntityHeadInfo, { key: 'e871f1bc22b7fe5258cc1f355889fa5dcd4ba248', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPaymentStatusToBadge(this.PaymentStatus), this.payment.expedited ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : null)), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: '8307379ee887005233312e034313e63807f5aa01', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: '4d52632189924a0eee5863ccb86ef8ed9cb3cd73', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '6da7139347579c1e624b0b9fd9eda91c3bceed26', title: "ID", value: this.payment.id })), h("div", { key: '702bfdbfc347dea70c59567e468921ee8a9a12cd', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '14ef79439ca64078b38fbd1cf00294353fedc711', sectionTitle: "Details" }), h("div", { key: 'db501b8356338bb8899ae31c1906aa4b2f972869', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'd162560b7d68d00f0ec49052f0f233dd17c8ca6c', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: '25aa60b3b77584b7e2a950b02c261f2cc573374d', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '56f9734a9d5e99cd9ac0f501d0fdfe503bc43a43', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: '9cf0070085d224bfde3112f3fd2a9a0f0ec0c644', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: '1ec324fdc3c077382fb3aaa07c1d2c2cea55c851', title: "Status", value: MapPaymentStatusToBadge(this.PaymentStatus) }), h(DetailItem, { key: '6fc4866f2f107911f15b014d451b074fea813475', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: 'd88f789cffbb9c998585f75b4951f3c1f7943317', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '17aa232392ee07c67ecfb75f33c7bf9fcdc4827b', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: '2e16cb0cb370245e4d5228187648115a3097deb8', title: "Description", value: this.payment.description }), h(DetailItem, { key: '48115ee84b177a50fb5d8ff52d5fc0dcf4b54f45', title: "Expedited", value: this.payment.expedited ? 'Yes' : 'No' })), this.payment.payment_method.card && [
|
|
86
|
+
h(DetailSectionTitle, { key: '4a9b102db3741a4b19f641d4dda40b868b2a850d', sectionTitle: "Payment Method" }),
|
|
87
|
+
h("div", { key: '445700f124e5bd78002a950383abd04010d17566', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '2d4af0d10f3a434a1ea959ea69edb9998babed1f', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: '25d1550693424530e9159d71652966c9a95c8ea1', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '26ebdd7378212735eb9244a19300e11d2676e1b4', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '54ea6597354ee0973e8b26938929b59e2764979e', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '35570db9207f3a635e65a432645c48d719c43eb3', title: "Cardholder", value: this.payment.payment_method.payersName }))
|
|
88
88
|
], this.payment.payment_method.bank_account && [
|
|
89
|
-
h(DetailSectionTitle, { key: '
|
|
90
|
-
h("div", { key: '
|
|
89
|
+
h(DetailSectionTitle, { key: 'ddf40dd9d67bc7f1b2845e04f54e1c13ef3595d7', sectionTitle: "Payment Method" }),
|
|
90
|
+
h("div", { key: '1e885546d02b46e6062ea14520cf4696ae700891', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '720d5976c091e16c3b7588f90d5d9b75f4906df4', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '83d82efdb0c25417f7124623c8da76af09dccd4a', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '3940d8a1db31b249bb826606ad8dc432eaa254c5', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '000b585a4ea9937473fa8e2e33342756b99d6c19', title: "Account Owner", value: this.payment.payment_method.payersName }))
|
|
91
91
|
], this.payment.metadata && [
|
|
92
|
-
h(DetailSectionTitle, { key: '
|
|
93
|
-
h("div", { key: '
|
|
92
|
+
h(DetailSectionTitle, { key: '27f2e988168efe8044782c0144764dd94e739986', sectionTitle: 'Metadata' }),
|
|
93
|
+
h("div", { key: 'b3ecbaf625f30f85e3bc8e733d5041d62c5acaeb', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '2470f5603cd55c2a196668f7ff6184ca5d1a0373', metadata: this.payment.metadata }))
|
|
94
94
|
])))));
|
|
95
95
|
}
|
|
96
96
|
static get is() { return "justifi-payment-details"; }
|
package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { ComponentErrorCodes, ComponentErrorSeverity, pagingDefaults } from "../../api";
|
|
3
3
|
import JustifiAnalytics from "../../api/Analytics";
|
|
4
|
-
import {
|
|
4
|
+
import { detectDuplicateVersion } from "../../utils/detect-duplicate-version";
|
|
5
5
|
import { makeGetPaymentTransactions } from "../../actions/payment/get-payment-transactions";
|
|
6
6
|
import { PaymentService } from "../../api/services/payment.service";
|
|
7
7
|
import { Table } from "../../utils/table";
|
|
@@ -34,7 +34,7 @@ export class JustifiPaymentTransactionsList {
|
|
|
34
34
|
}
|
|
35
35
|
componentWillLoad() {
|
|
36
36
|
this.transactionsTable = new Table(this.balanceTransactions, this.columns, paymentTransactionTableColumns, paymentTransactionTableCells);
|
|
37
|
-
|
|
37
|
+
detectDuplicateVersion();
|
|
38
38
|
this.analytics = new JustifiAnalytics(this);
|
|
39
39
|
this.initializeApi();
|
|
40
40
|
}
|
|
@@ -91,7 +91,7 @@ export class JustifiPaymentTransactionsList {
|
|
|
91
91
|
return !this.showEmptyState && !this.showErrorState && !this.isLoading;
|
|
92
92
|
}
|
|
93
93
|
render() {
|
|
94
|
-
return (h(StyledHost, { key: '
|
|
94
|
+
return (h(StyledHost, { key: '5b7246beab86213a69da2f95aa1d25d4bb39c1a2' }, h(TableWrapper, { key: 'f0f04475575f66615e8a69b4c3ed436508addfb0' }, h(TableComponent, { key: '5b358517f6677994141931fbc90fb44503f1aadc' }, h(TableHead, { key: '1bcfcf413f0e1eb24da52c31efab1835277396fa' }, h(TableHeadRow, { key: '48f3636ebf63e5cf409d297c35038ba83a64c194' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: 'f1d55ead127da95ac35dac0f9a912b6bb2fe7034' }, h(TableLoadingState, { key: '1efd7987420496bf74f625f9d12869d86af6290a', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '7c78906045a09c1b013e76039f1190e8e83e7342', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: 'f5010997153999907df316b16ebf6d21b7a319ae', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'eef37030a45c507b694a6b700c6a2e6f09205cfd' }, h(TableFootRow, { key: 'ee793228ac9748780f55378857a2d60801b4a464' }, h(TableFootCell, { key: 'aa8eab64af598e5d7e9d0d775a942451a95d7d52', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '84427ea168495ecfdc6661d384d7172b920346e3', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
95
95
|
}
|
|
96
96
|
static get is() { return "justifi-payment-transactions-list"; }
|
|
97
97
|
static get encapsulation() { return "shadow"; }
|
|
@@ -54,8 +54,8 @@ export class JustifiPaymentsListFilters {
|
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
56
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
57
|
-
return (h(StyledHost, { key: '
|
|
58
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '
|
|
57
|
+
return (h(StyledHost, { key: 'fd6a6c240ed15d7d28d4d58db57085d9789e055c' }, h("table-filters-menu", { key: 'bc1524c293cc12f9d5976d1a7f888c4d35096b5a', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: '5180f595ac0d5c36e16fbcb8a6751c48ac88d166', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '2771ebb890c0a9f469e02f22523cb7cfb418d513', class: "p-2" }, h("form-control-text", { key: '3c93cc523f8e5e2d9e63c1b6265e8e03c08377fa', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: filterParam })), h("div", { key: '66e985568825d8992c4081f0d459807a7773fd49', class: "p-2" }, h("form-control-text", { key: '63efc9b447218119d90a0601eb85528117197b42', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: filterParam })), h("div", { key: '0147be1acda5af7b2ddd3ae76e61e0e2ec33ddcd', class: "p-2" }, h("form-control-select", { key: '786ab3d3205d2feda8c11840a9c5429915f6ab4c', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentStatus || filterParams.payment_status || '', disabled: !!this.paymentStatus, part: filterParam })), h("div", { key: 'e08cee43b808e3246989c277d1b5b870799b602d', class: "p-2" }, h("form-control-select", { key: 'b2edc5a654ad50a00ee8171f673c48a2f0b10699', name: "payment_mode", label: "Payment Mode", options: this.paymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode || '', disabled: !!this.paymentMode, part: filterParam })), h("div", { key: '9c393aed8075c68fa21e919fad3e66a75bf0801b', class: "p-2" }, h("form-control-text", { key: '40967dca09780e59a096f117068c1f49dc7f68fb', name: "checkout_id", label: "Checkout ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.checkoutId || filterParams.checkout_id, disabled: !!this.checkoutId, part: filterParam })), h("div", { key: '4c5177f35cd58c1e465f5750bdf92559119bbffa', class: "p-2" }, h("form-control-text", { key: '4a905f81a07c1a10df4d72ba85657baad464cc87', name: "account_holder", label: "Account Holder", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.accountHolder || filterParams.account_holder, disabled: !!this.accountHolder, part: filterParam })), h("div", { key: '272f47c23883018d4fda9a215738b6b81764b99e', class: "p-2" }, h("form-control-date", { key: '40f7c019ec33378c42b7093c9023eb80df7f787f', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
58
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: 'b714a400679ed1f4bcf96afe44e9100c6e52cef7', class: "p-2" }, h("form-control-date", { key: '361a3d52c4f2c78aec9727cf6cfdd5b8d900bd3d', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
59
59
|
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam }))))));
|
|
60
60
|
}
|
|
61
61
|
static get is() { return "justifi-payments-list-filters"; }
|
|
@@ -3,7 +3,7 @@ import { PaymentService } from "../../api/services/payment.service";
|
|
|
3
3
|
import { makeGetPayments } from "../../actions/payment/get-payments";
|
|
4
4
|
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
|
|
5
5
|
import JustifiAnalytics from "../../api/Analytics";
|
|
6
|
-
import {
|
|
6
|
+
import { detectDuplicateVersion } from "../../utils/detect-duplicate-version";
|
|
7
7
|
import { StyledHost } from "../../ui-components";
|
|
8
8
|
import { paymentTableCells, paymentTableColumns } from "./payments-table";
|
|
9
9
|
import { defaultColumnsKeys } from "./payments-table";
|
|
@@ -37,7 +37,7 @@ export class JustifiPaymentsList {
|
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
componentWillLoad() {
|
|
40
|
-
|
|
40
|
+
detectDuplicateVersion();
|
|
41
41
|
this.analytics = new JustifiAnalytics(this);
|
|
42
42
|
this.paymentsTable = new Table(this.payments, this.columns, paymentTableColumns, paymentTableCells);
|
|
43
43
|
this.initializeGetPayments();
|
|
@@ -120,7 +120,7 @@ export class JustifiPaymentsList {
|
|
|
120
120
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
121
121
|
}
|
|
122
122
|
render() {
|
|
123
|
-
return (h(StyledHost, { key: '
|
|
123
|
+
return (h(StyledHost, { key: 'fb137fb2b6a63b506fcdbb81104100b099d2e8a6' }, h(TableWrapper, { key: '7a40c6312ae2603179973341dee87f722879fcf4' }, h(TableComponent, { key: 'a9ea88cafb2855a684bd1b33293e4587d809937e' }, h(TableHead, { key: '9d706bb769ccceb1cdfae4fcb4e790a2df54d22f' }, h(TableHeadRow, { key: '1d9fdcd72297ca3ea68303a64088a34e07921b3b' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: 'aa38c971f05ed8acf1fba3f8f8c528803656fe56' }, h(TableLoadingState, { key: 'e614cce077c4f2f44d7bd1be61f316e5b1607a26', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '90dbc6b25ca32387c148f3a1648780c187f3fde0', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '7098567bc972068166e5ac34ccc89bd6c0be55a4', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '906207a8e9913fd0ecffa03197e38ae8bb032809' }, h(TableFootRow, { key: '6ec53fc987659a181f9851052d472c634dbc9ef9' }, h(TableFootCell, { key: 'f2247b1fa30f7327fd876ea4030d25243eaa849a', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: 'dbff68af085c14a1adb8d800b2cf1acaa1d02a2b', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
124
124
|
}
|
|
125
125
|
static get is() { return "justifi-payments-list"; }
|
|
126
126
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@ import { CodeBlock, DetailItem, DetailSectionTitle, EntityHeadInfo, EntityHeadIn
|
|
|
6
6
|
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
|
|
7
7
|
import JustifiAnalytics from "../../api/Analytics";
|
|
8
8
|
import { makeGetPayoutCSV } from "./get-payout-csv";
|
|
9
|
-
import {
|
|
9
|
+
import { detectDuplicateVersion } from "../../utils/detect-duplicate-version";
|
|
10
10
|
import { Button, StyledHost } from "../../ui-components";
|
|
11
11
|
import { MapPayoutStatusToBadge } from "../payouts-list/payouts-status";
|
|
12
12
|
import PayoutDetailsLoading from "./payout-details-loading";
|
|
@@ -37,7 +37,7 @@ export class JustifiPayoutDetails {
|
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
componentWillLoad() {
|
|
40
|
-
|
|
40
|
+
detectDuplicateVersion();
|
|
41
41
|
this.analytics = new JustifiAnalytics(this);
|
|
42
42
|
this.initializeServices();
|
|
43
43
|
if (this.getPayout) {
|
|
@@ -102,9 +102,9 @@ export class JustifiPayoutDetails {
|
|
|
102
102
|
}
|
|
103
103
|
render() {
|
|
104
104
|
var _a, _b, _c, _d;
|
|
105
|
-
return (h(StyledHost, { key: '
|
|
106
|
-
h(DetailSectionTitle, { key: '
|
|
107
|
-
h("div", { key: '
|
|
105
|
+
return (h(StyledHost, { key: '0e371e863fbde66a5135b7c6789875d7a3266468' }, this.loading && h(PayoutDetailsLoading, { key: '44987c4fff48df008edd59702524bd51c3f935d3' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'ef6619ff38da13cb1c744e776f5b2239dcf68d25', errorMessage: this.errorMessage }, h(EntityHeadInfo, { key: 'ecbfef1736a2f21819bec8e19fc6a7788fc3343a', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), this.payout.settlement_priority === 'expedited' ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : (h(Badge, { variant: BadgeVariant.SECONDARY, title: "Standard", text: "Standard" })))), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: '398051f5f80dd0c4e6bde71bfbc63ec3a6de6f48', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '4c2ece5964655d60c5538acd745f74f11e98f4e5', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '84087a0dc42dc608181bbec1a2af0985813a56ea', title: "ID", value: this.payout.id }), h("div", { key: '9a3ac5b69e20980941b3de36e0715f3e25a01a0e', class: "m-4" }, h(Button, { key: 'c2a122864b0b9cf83683633bf6fcc4c72002367a', variant: "outline-secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '63e118bc86b7c53388e4f66a4a5a417b48a78e8b', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '2401d859d24ad131733365cb092444697d40f789', sectionTitle: "Details" }), h("div", { key: 'd236343b8cbd6b6e64968f0fbb26ee895a99fad3', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'fe26f4d1fb16ca68fcc7aca444b5d96278408ae0', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: '83151ee5457ddd9d982289d77cb0478105aadb99', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '7e56cd9259390ba525df943b990ff5b21faa3d40', title: "Payout Method", value: this.formatMethod(this.payout.delivery_method) }), h(DetailItem, { key: '149f67385b9941098e15507d23975fb4b301ec56', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '64d7ff8c49d2ea7a0b814aded33307d119655965', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: 'b54b9a22b41fd7d816092dd1ee7204888bdb5725', sectionTitle: "Account" }), h("div", { key: '93d60c1e03bd9eec691d1added19357e743d9836', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'e9431f2bac333427342dc4e550c588896ded6944', title: "ID", value: this.payout.account_id, onClick: this.enableRecordClick ? () => this.handleRecordClick(this.payout.account_id) : undefined }), h(DetailItem, { key: '01a433869e93d9345550bdfbee788c60ee9f8cc3', title: "Account Type", value: (_b = this.payout.bank_account) === null || _b === void 0 ? void 0 : _b.account_type }), h(DetailItem, { key: '7e6e2ac81eb77a116b4a5614bc33345dc0e1976c', title: "Institution", value: (_c = this.payout.bank_account) === null || _c === void 0 ? void 0 : _c.account_type }), h(DetailItem, { key: '7ab5fa28f98c94dda6a4c7274176d2bb964ca5d2', title: "Routing Number", value: (_d = this.payout.bank_account) === null || _d === void 0 ? void 0 : _d.routing_number }), h(DetailItem, { key: 'e05a54b74e01312708662e90c8a8b31ccfea4ec4', title: "Account Number", value: this.payout.bank_account ? `**** ${this.payout.bank_account.account_number_last4}` : undefined })), this.payout.metadata && [
|
|
106
|
+
h(DetailSectionTitle, { key: '7adb41b7b602ccb4c1bab169401ca51d8e627fc6', sectionTitle: 'Metadata' }),
|
|
107
|
+
h("div", { key: '3a8c3d28a33fcde52acab0d67708c037e85ba6c2', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '77ec3c4cd674d61cbe94dca31d41fe4b0a888211', metadata: this.payout.metadata }))
|
|
108
108
|
])))));
|
|
109
109
|
}
|
|
110
110
|
static get is() { return "justifi-payout-details"; }
|
package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { ComponentErrorCodes, ComponentErrorSeverity, pagingDefaults } from "../../api";
|
|
3
3
|
import JustifiAnalytics from "../../api/Analytics";
|
|
4
|
-
import {
|
|
4
|
+
import { detectDuplicateVersion } from "../../utils/detect-duplicate-version";
|
|
5
5
|
import { makeGetPayoutTransactions } from "../../actions/payout/get-payout-transactions";
|
|
6
6
|
import { PayoutService } from "../../api/services/payout.service";
|
|
7
7
|
import { Table } from "../../utils/table";
|
|
@@ -35,7 +35,7 @@ export class JustifiPayoutTransactionsList {
|
|
|
35
35
|
}
|
|
36
36
|
componentWillLoad() {
|
|
37
37
|
this.transactionsTable = new Table(this.balanceTransactions, this.columns, payoutTransactionTableColumns, payoutTransactionTableCells);
|
|
38
|
-
|
|
38
|
+
detectDuplicateVersion();
|
|
39
39
|
this.analytics = new JustifiAnalytics(this);
|
|
40
40
|
this.initializeApi();
|
|
41
41
|
}
|
|
@@ -95,7 +95,7 @@ export class JustifiPayoutTransactionsList {
|
|
|
95
95
|
return Object.assign({ payout_id: this.payoutId, limit: '15' }, this.pagingParams);
|
|
96
96
|
}
|
|
97
97
|
render() {
|
|
98
|
-
return (h(StyledHost, { key: '
|
|
98
|
+
return (h(StyledHost, { key: '5da092f2d4c07bbe280146ad302a1d475a166246' }, h(TableWrapper, { key: '4700660091131d5360a8c12f9297cee467fc3b64' }, h(TableComponent, { key: '12019f0f76ced950a053945a9dfc7616a2865bbd' }, h(TableHead, { key: '6286a0ecd27b9f2433d0e4dbbe4080ebc4b0088a' }, h(TableHeadRow, { key: '625bceb0b96b8cd61af93930d5c02198b2d1ec40' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '681a77edec6a9272d83fec9731e7556ea284ee33' }, h(TableLoadingState, { key: '54a1981bc9659753716ff0c4541a21bdc4ba2cfa', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '826e1778e976e2ce175786b78f0534ae865104bc', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '8032c6af307b5900bdf60c8a7b14499b476c1dd8', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'a9ab5fced17a007ae3db7e73217efc8ad754eb7f' }, h(TableFootRow, { key: 'b4d7b6644ddd22292071409d75252ce5245c7a27' }, h(TableFootCell, { key: '447d7e0f68f39cc95bba9616eae41f80c62bf806', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '4e20b754e42cd81a334b82bb2435fb5390ce3b87', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
99
99
|
}
|
|
100
100
|
static get is() { return "justifi-payout-transactions-list"; }
|
|
101
101
|
static get encapsulation() { return "shadow"; }
|
|
@@ -39,8 +39,8 @@ export class JustifiPayoutsListFilters {
|
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
41
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
42
|
-
return (h(StyledHost, { key: '
|
|
43
|
-
convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '
|
|
42
|
+
return (h(StyledHost, { key: '57aded74e21baf8bb4e48c372752a5f1160eede2' }, h("table-filters-menu", { key: '28bd015a59ac27d25c91aa76a98d53a1d17f1ddd', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: '50afcc5bb969c562fc81ff4630a1cf0e778729b9', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '9066f408b3e80d84c1259376ea5f333c64efbd1a', class: "p-2" }, h("form-control-select", { key: '49fa9695945cf0bec87fe80ab20783ab86868e42', name: "status", label: "Status", options: this.statusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.status || filterParams.status || '', disabled: !!this.status, part: filterParam })), h("div", { key: '169fd2190f8696a194436b8b8a22477c01e28c3f', class: "p-2" }, h("form-control-date", { key: 'edc8aa14f0162f74172a7eac92bb98bf7afe0185', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDate: true }) ||
|
|
43
|
+
convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '6367da41915508aeb28ee8ff60f538322bfbd1c8', class: "p-2" }, h("form-control-date", { key: '2768b468eccbfb746c62c1b9172c12213e70a4ed', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDate: true }) ||
|
|
44
44
|
convertToLocal(filterParams.created_before, { showInputDate: true }), disabled: !!this.createdBefore, part: filterParam }))))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "justifi-payouts-list-filters"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
|
|
3
3
|
import JustifiAnalytics from "../../api/Analytics";
|
|
4
|
-
import {
|
|
4
|
+
import { detectDuplicateVersion } from "../../utils/detect-duplicate-version";
|
|
5
5
|
import { PayoutService } from "../../api/services/payout.service";
|
|
6
6
|
import { makeGetPayouts } from "../../actions/payout/get-payouts";
|
|
7
7
|
import { makeGetPayoutCSV } from "../payout-details/get-payout-csv";
|
|
@@ -55,7 +55,7 @@ export class JustifiPayoutsList {
|
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
componentWillLoad() {
|
|
58
|
-
|
|
58
|
+
detectDuplicateVersion();
|
|
59
59
|
this.analytics = new JustifiAnalytics(this);
|
|
60
60
|
this.initializeGetData();
|
|
61
61
|
this.payoutsTable = new Table(this.payouts, this.columns, payoutTableColumns, payoutTableCells(this.downloadCSV));
|
|
@@ -187,7 +187,7 @@ export class JustifiPayoutsList {
|
|
|
187
187
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
188
188
|
}
|
|
189
189
|
render() {
|
|
190
|
-
return (h(StyledHost, { key: '
|
|
190
|
+
return (h(StyledHost, { key: '531a4da740faf612ead2c67abc761c341f01d2e4' }, h(TableWrapper, { key: 'cdcf7085fa6d7339584c931113713d4c152f0984' }, h(TableComponent, { key: 'dc05d4c2705b88460a8ab5d40314185ffc024af9' }, h(TableHead, { key: '0f5c2ec1572c66ed4e5c27cf317aef188c0cd6f9' }, h(TableHeadRow, { key: '81b89dc4fd7d3ffc4228b306f7594c5fe1a0e4c2' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: 'a7a13c91b22604fc65aad9d8e2b0fbf13c2cf875' }, h(TableLoadingState, { key: '3a1d17552ab2654e1d4c3477190b154f24a381e2', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '635893cfcbc007920e49ac3848eefe06a09fbd55', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: 'f32b5cca86e7a92b9c20e68d6223317df728378e', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '0dc67dfef55f13322f24f2229457a1cf243c6e6a' }, h(TableFootRow, { key: '798a33a4bcf04e7e2235647dad1c5c14782b483b' }, h(TableFootCell, { key: 'f7974d08e6d8e8cd8d0e2955cc8df31ebbecdcec', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: 'e91069e7423733dcb4f7c87c8933f1fd554ce398', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
191
191
|
}
|
|
192
192
|
static get is() { return "justifi-payouts-list"; }
|
|
193
193
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@ import { CheckoutService } from "../../api/services/checkout.service";
|
|
|
4
4
|
import { CompletionStatuses, ICheckoutStatus } from "../../api/Checkout";
|
|
5
5
|
import { ComponentErrorCodes, ComponentErrorMessages, ComponentErrorSeverity } from "../../api/ComponentError";
|
|
6
6
|
import JustifiAnalytics from "../../api/Analytics";
|
|
7
|
-
import {
|
|
7
|
+
import { detectDuplicateVersion } from "../../utils/detect-duplicate-version";
|
|
8
8
|
export class JustifiQrTerminal {
|
|
9
9
|
constructor() {
|
|
10
10
|
this.pollIntervalMs = 3000;
|
|
@@ -19,7 +19,7 @@ export class JustifiQrTerminal {
|
|
|
19
19
|
this.inFlight = false;
|
|
20
20
|
}
|
|
21
21
|
componentWillLoad() {
|
|
22
|
-
|
|
22
|
+
detectDuplicateVersion();
|
|
23
23
|
this.analytics = new JustifiAnalytics(this);
|
|
24
24
|
this.initialize();
|
|
25
25
|
}
|
|
@@ -8,7 +8,7 @@ import refundReasonOptions from "./refund-reason-options";
|
|
|
8
8
|
import { PaymentService } from "../../api/services/payment.service";
|
|
9
9
|
import { makeGetPaymentDetails } from "../../actions/payment/get-payment-details";
|
|
10
10
|
import JustifiAnalytics from "../../api/Analytics";
|
|
11
|
-
import {
|
|
11
|
+
import { detectDuplicateVersion } from "../../utils/detect-duplicate-version";
|
|
12
12
|
import { makePostRefund } from "../../actions/refund/refund-actions";
|
|
13
13
|
import { RefundService } from "../../api/services/refund.service";
|
|
14
14
|
import { makePostVoid } from "../../actions/void/void-actions";
|
|
@@ -27,7 +27,7 @@ export class JustifiRefundPayment {
|
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
componentWillLoad() {
|
|
30
|
-
|
|
30
|
+
detectDuplicateVersion();
|
|
31
31
|
this.analytics = new JustifiAnalytics(this);
|
|
32
32
|
this.initializeApi();
|
|
33
33
|
this.formController = new FormController(RefundPaymentSchema());
|
package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js
CHANGED
|
@@ -50,9 +50,9 @@ export class JustifiTerminalOrdersListFilters {
|
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
52
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
53
|
-
return (h(StyledHost, { key: '
|
|
54
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '
|
|
55
|
-
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam })), h("div", { key: '
|
|
53
|
+
return (h(StyledHost, { key: '2d36ea512a983ddba3ce92c8cc06ccb700d807b6' }, h("table-filters-menu", { key: '15f2d1d33656d52ff9cdd8f440c56b2a25373d4f', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: '39379df3cde8edf3055427b3673a011acc734fd8', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'c8e83393cb9a5d59099fd287e72bd79716460412', class: "p-2" }, h("form-control-select", { key: '7b50b0d9d9acab68a40f0afcd1a42c27763ec30f', name: "order_status", label: "Order Status", options: this.terminalOrderStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderStatus || filterParams.order_status || '', disabled: !!this.orderStatus, part: filterParam })), h("div", { key: 'cd2779df09502b1bc8cdd7dd60beb45110580751', class: "p-2" }, h("form-control-select", { key: '17e7ec4668dd921d32deea68b0c9bda28bdb78c8', name: "order_type", label: "Order Type", options: this.terminalOrderTypeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderType || filterParams.order_type || '', disabled: !!this.orderType, part: filterParam })), h("div", { key: '73c3471454f58d2e6860ba4dc294da0ca2d3be4b', class: "p-2" }, h("form-control-date", { key: 'ec16f9cc4de282f0409f41b4670a5efbdb5f1d17', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
54
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '2487d67a91abed9ed974071c0557b9d4b92d8600', class: "p-2" }, h("form-control-date", { key: 'f839bc165c4bbaae637237139a8b21c11ab52b31', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
55
|
+
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam })), h("div", { key: '081c73c0b1a4f412403ae266c3d8da69775ca4e4', class: "p-2" }, h("form-control-text", { key: '927a87c41a09519f85fe95fa1bc202cbe12ecb75', name: "company_name", label: "Company Name", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.companyName || filterParams.company_name, disabled: !!this.companyName, part: filterParam }))))));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "justifi-terminal-orders-list-filters"; }
|
|
58
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { StyledHost } from "../../ui-components";
|
|
3
|
-
import {
|
|
3
|
+
import { detectDuplicateVersion } from "../../utils/detect-duplicate-version";
|
|
4
4
|
import { defaultColumnsKeys, terminalOrdersTableCells, terminalOrdersTableColumns, } from "./terminal-orders-table";
|
|
5
5
|
import { makeGetTerminalOrders } from "../../actions/terminal/get-terminal-orders";
|
|
6
6
|
import { TerminalOrderService } from "../../api/services/terminal_orders.service";
|
|
@@ -35,7 +35,7 @@ export class JustifiTerminalOrdersList {
|
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
componentWillLoad() {
|
|
38
|
-
|
|
38
|
+
detectDuplicateVersion();
|
|
39
39
|
this.analytics = new JustifiAnalytics(this);
|
|
40
40
|
this.terminalOrdersTable = new Table(this.terminalOrders, this.columns, terminalOrdersTableColumns, terminalOrdersTableCells);
|
|
41
41
|
this.initializeGetData();
|
|
@@ -125,8 +125,8 @@ export class JustifiTerminalOrdersList {
|
|
|
125
125
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
126
126
|
}
|
|
127
127
|
render() {
|
|
128
|
-
return (h(StyledHost, { key: '
|
|
129
|
-
this.terminalOrdersTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '
|
|
128
|
+
return (h(StyledHost, { key: '536aeda1d21130b0289b62a77728e06c4c925b4d' }, h(TableWrapper, { key: '7865e36b01c6c37f45a66465680cf545ebe4529b' }, h(TableComponent, { key: '301d38dab2c6ea3e88c86ff8bc3904fe9dc37100' }, h(TableHead, { key: '0da6586396379ae6bd10dcfecc814533df737a29' }, h(TableHeadRow, { key: '5fd721f7fdffd547d3eda557ec55a1575334c88d' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: 'e6568d2f0a6cc0e52d729c4e3890c896e4538ee8' }, h(TableLoadingState, { key: '286bfd64db33d107c13961f377055785756fc6ba', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '0aed85e9c5912c327755b71dab28cb8b0c43ba64', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: '718c86be52dd5bdf545ed1976cd51b474072ef41', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData &&
|
|
129
|
+
this.terminalOrdersTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '783e78b798f8bbf0b03b193c9858e5afd991af68' }, h(TableFootRow, { key: '29057f6fec58617a44c328076e4856bc896eb3c2' }, h(TableFootCell, { key: '20ff58db34905a4d388c2b9425d3abb85099ec7a', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: 'e466c95839f3aaf33cfa8bc6baa8564a30022059', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
130
130
|
}
|
|
131
131
|
static get is() { return "justifi-terminal-orders-list"; }
|
|
132
132
|
static get encapsulation() { return "shadow"; }
|
|
@@ -45,7 +45,7 @@ export class JustifiTerminalsListFilters {
|
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
47
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
48
|
-
return (h(StyledHost, { key: '
|
|
48
|
+
return (h(StyledHost, { key: '26a998794ef5756de257db995ef5b7b1471e50ea' }, h("table-filters-menu", { key: 'c1368bddbe2ac553d92f46d7f2bdfa3fe3c04931', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: 'e9f4523328d3393a75fa4e5a044baab7bf4f6134', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '2589335f3b9908c30d085786c43d5829aaa3b9fe', class: "p-2" }, h("form-control-text", { key: 'f01cdfd58973b4bfe0b4b5aa6df0f63bce57d9d5', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: filterParam })), h("div", { key: '96b1aa8711775775d57fa792fca5e66dd7d50ae9', class: "p-2" }, h("form-control-text", { key: '44794ce04f2cc7d31483bd816996501aea9e3763', name: "terminal_order_id", label: "Terminal Order ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalOrderId || filterParams.terminal_order_id, disabled: !!this.terminalOrderId, part: filterParam })), h("div", { key: 'a4c47ab87e6ee27277fe07d224bf1602f6e5ac73', class: "p-2" }, h("form-control-text", { key: '29b825179907ee1f1a43afe337f852f2accdcafc', name: "provider_id", label: "Device ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.providerId || filterParams.provider_id, disabled: !!this.providerId, part: filterParam })), h("div", { key: '064fe6ec6be35e72ddb23f5140e83d83d37101b1', class: "p-2" }, h("form-control-text", { key: '073783ba7be15000e1511a608be6b05b9fc481fa', name: "serial_number", label: "Serial Number", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.serialNumber || filterParams.serial_number, disabled: !!this.serialNumber, part: filterParam })), h("div", { key: '3d3fdc0fdbec56f9a0130029473874afe97b4fac', class: "p-2" }, h("form-control-select", { key: 'e19f7c1838cb082bd1231e857cbfafe8f68f2f63', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status || '', disabled: !!this.terminalStatus, part: filterParam })), h("div", { key: 'c0dc5690ea48041fd39b185cf687a92d52f61a0a', class: "p-2" }, h("form-control-date", { key: '78a1b6f1c817a67466384dc5e22d73447153bf28', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter || filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '5d3e2fd0c1a19c5692240999684efc93aead7c4c', class: "p-2" }, h("form-control-date", { key: '6e47f9c0af83273c6a819cc625e31a9cb60c93e7', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore || filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam }))))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "justifi-terminals-list-filters"; }
|
|
51
51
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
|
|
3
3
|
import JustifiAnalytics from "../../api/Analytics";
|
|
4
|
-
import {
|
|
4
|
+
import { detectDuplicateVersion } from "../../utils/detect-duplicate-version";
|
|
5
5
|
import { TerminalService } from "../../api/services/terminal.service";
|
|
6
6
|
import { makeGetTerminals } from "../../actions/terminal/get-terminals";
|
|
7
7
|
import { SubAccountService } from "../../api/services/subaccounts.service";
|
|
@@ -38,7 +38,7 @@ export class JustifiTerminalsList {
|
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
componentWillLoad() {
|
|
41
|
-
|
|
41
|
+
detectDuplicateVersion();
|
|
42
42
|
this.analytics = new JustifiAnalytics(this);
|
|
43
43
|
this.terminalsTable = new Table(this.terminals, this.columns, terminalTableColumns, terminalTableCells);
|
|
44
44
|
this.initializeGetData();
|
|
@@ -168,7 +168,7 @@ export class JustifiTerminalsList {
|
|
|
168
168
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
169
169
|
}
|
|
170
170
|
render() {
|
|
171
|
-
return (h(StyledHost, { key: '
|
|
171
|
+
return (h(StyledHost, { key: '7aff8b07dcd19216c714f2318c1af5dbebc54147' }, h(TableWrapper, { key: '7daec7f4553f687b3ebbeb7d561fbf904049841b' }, h(TableComponent, { key: '2f67e873333800bdd78d8c60f9db218c349097d0' }, h(TableHead, { key: '61499a69253f0add24f5e60c385b14fc3e6ba90f' }, h(TableHeadRow, { key: 'fcd5d3287d6dd3dbf4e20837ca06d9f6dcc74a16' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: '664b70934aae39f8ccceeaaf012e1933a4c27c95' }, h(TableLoadingState, { key: '3d5e79192be7a6a8e2611d9ac7d551e15a4a4207', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '60d4263bd934af2c6d204a3d2f0aee6639043d80', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '2d3340153f20d7a057e31f3eb2b570ec1d7c4e9f', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'b893b1cd12d3c0440b1c5cb015503aa8309a84e1' }, h(TableFootRow, { key: '532462ef72bc8c9fbbf8cae69c1f7ebd60b403b4' }, h(TableFootCell, { key: 'c18d2a8f05cbc17f7dc21a18a814a7eb8c83d6ea', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: 'fd1aef3373787dfb79f517a69e2d771d61d5dee3', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
172
172
|
}
|
|
173
173
|
static get is() { return "justifi-terminals-list"; }
|
|
174
174
|
static get encapsulation() { return "shadow"; }
|