@justifi/webcomponents 5.7.0 → 5.7.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/{Payment-CQCmj3Ck.js → Document-CL5Zc72Q.js} +57 -0
- package/dist/cjs/{Refund-CpurRc4w.js → Refund-CYxocU06.js} +1 -0
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +8 -7
- package/dist/cjs/bank-account-form_9.cjs.entry.js +11 -12
- package/dist/cjs/{business-additional-questions-schema-gVepoR4V.js → business-additional-questions-schema-DR8vt11M.js} +1 -1
- package/dist/cjs/{business-identity-schema-dt0zCW0R.js → business-identity-schema-BYaCsboD.js} +1 -1
- package/dist/cjs/{business.service-yVtplFhh.js → business.service-C2rg_zSw.js} +9 -2
- package/dist/cjs/{check-pkg-version-BYKcQDik.js → check-pkg-version-BqC8BOhm.js} +13 -3
- package/dist/cjs/{checkout.service-Dd2AbBn2.js → checkout.service-CyvIIMeq.js} +9 -2
- package/dist/cjs/checkouts-list-core.cjs.entry.js +8 -5
- package/dist/cjs/custom-popper_4.cjs.entry.js +4 -4
- package/dist/cjs/{dispute.service-C0J-Wh-Y.js → dispute.service-CKPR1vFS.js} +9 -2
- 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 +3 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number.cjs.entry.js +2 -2
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/{get-payment-details-DqvDYbnK.js → get-payment-details-C9HqIv-M.js} +6 -4
- package/dist/cjs/{get-subaccounts-CquZS5kP.js → get-subaccounts-BNpIanJ9.js} +8 -6
- package/dist/cjs/iframe-input.cjs.entry.js +4 -4
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +8 -7
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +10 -12
- package/dist/cjs/justifi-business-details.cjs.entry.js +12 -5
- package/dist/cjs/justifi-business-form.cjs.entry.js +15 -14
- package/dist/cjs/justifi-checkout.cjs.entry.js +17 -7
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +8 -5
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +17 -13
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +14 -6
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +16 -6
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +18 -9
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +16 -12
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +9 -5
- package/dist/cjs/justifi-payment-details.cjs.entry.js +12 -9
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +17 -7
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +16 -12
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +16 -12
- package/dist/cjs/justifi-payout-details.cjs.entry.js +14 -10
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +16 -12
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +16 -12
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +14 -12
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +3 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +19 -22
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +9 -6
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +19 -12
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +8 -5
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +16 -12
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +16 -9
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-CX6Njc5t.js → package-Biee4Hdo.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +9 -9
- package/dist/cjs/{payment.service-BvTU2Orj.js → payment.service-C996aLGw.js} +9 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +9 -6
- package/dist/cjs/payout-details-core.cjs.entry.js +4 -4
- package/dist/cjs/{payout.service-C99pgxvg.js → payout.service-BwKgEbDo.js} +9 -2
- package/dist/cjs/payouts-list-core.cjs.entry.js +9 -6
- package/dist/cjs/{schema-validations-p4OCdblz.js → schema-validations-Bhz09M42.js} +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +10 -7
- package/dist/cjs/{terminal-orders-table-BeeUTKtj.js → terminal-orders-table-CxY1ykZ7.js} +5 -3
- package/dist/cjs/{terminal.service-DEGcoaCb.js → terminal.service-D7dxg9ZQ.js} +9 -2
- package/dist/cjs/terminals-list-core.cjs.entry.js +9 -6
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Analytics.js +3 -0
- package/dist/collection/api/Api.js +23 -12
- package/dist/collection/api/Payment.js +1 -0
- package/dist/collection/api/Payout.js +1 -0
- package/dist/collection/api/index.js +5 -1
- package/dist/collection/api/services/analytics.service.js +1 -1
- package/dist/collection/api/services/business.service.js +1 -1
- package/dist/collection/api/services/checkout.service.js +1 -1
- package/dist/collection/api/services/dispute.service.js +1 -1
- package/dist/collection/api/services/insurance.service.js +5 -8
- package/dist/collection/api/services/payment.service.js +1 -1
- package/dist/collection/api/services/payout.service.js +1 -1
- package/dist/collection/api/services/provision.service.js +1 -1
- package/dist/collection/api/services/refund.service.js +1 -1
- package/dist/collection/api/services/reports.service.js +3 -3
- package/dist/collection/api/services/subaccounts.service.js +1 -1
- package/dist/collection/api/services/terminal.service.js +1 -1
- package/dist/collection/api/services/terminal_orders.service.js +1 -1
- package/dist/collection/components/business-details/business-details.js +3 -1
- package/dist/collection/components/business-forms/business-form/business-form.js +3 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +4 -2
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +3 -3
- package/dist/collection/components/checkout/checkout.js +5 -3
- package/dist/collection/components/checkouts-list/checkouts-list.js +4 -2
- package/dist/collection/components/dispute-management/dispute-management.js +3 -2
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +4 -2
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +3 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +4 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +3 -4
- package/dist/collection/components/order-terminals/order-terminals.js +6 -1
- package/dist/collection/components/payment-details/payment-details-core.js +9 -8
- package/dist/collection/components/payment-details/payment-details.js +2 -1
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +4 -2
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/payments-list.js +4 -2
- package/dist/collection/components/payout-details/payout-details-core.js +4 -3
- package/dist/collection/components/payout-details/payout-details.js +3 -1
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +4 -2
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +4 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +6 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +4 -2
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +6 -1
- 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-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 +3 -3
- package/dist/docs.json +2 -2
- package/dist/esm/{Dispute-7MWRbTXI.js → Dispute-BH0Xfn-F.js} +1 -1
- package/dist/esm/{Payment-BADkZFaz.js → Document-cNXrKmGy.js} +57 -2
- package/dist/esm/{Refund-DOvd7RJp.js → Refund-2YJqP9qX.js} +1 -0
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +8 -7
- package/dist/esm/bank-account-form_9.entry.js +4 -5
- package/dist/esm/{business-additional-questions-schema-DWnZs60Z.js → business-additional-questions-schema-GpN_koGK.js} +1 -1
- package/dist/esm/{business-identity-schema-lqdJS3MT.js → business-identity-schema-BjuQ6ajL.js} +1 -1
- package/dist/esm/{business.service-_645Z23O.js → business.service-ClD_YDeT.js} +8 -1
- package/dist/esm/{check-pkg-version-Dh7UNmHL.js → check-pkg-version-DxnKX9GQ.js} +12 -2
- package/dist/esm/{checkout.service-7FGjq0rO.js → checkout.service-DfzkmIe4.js} +8 -1
- package/dist/esm/checkouts-list-core.entry.js +8 -5
- package/dist/esm/custom-popper_4.entry.js +4 -4
- package/dist/esm/{dispute.service-lJlAFuE6.js → dispute.service-BTOWqnmk.js} +8 -1
- 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 +3 -3
- package/dist/esm/form-control-monetary.entry.js +2 -2
- package/dist/esm/form-control-number-masked_2.entry.js +2 -2
- package/dist/esm/form-control-number.entry.js +2 -2
- package/dist/esm/form-control-radio.entry.js +2 -2
- package/dist/esm/{get-payment-details-CXiGG9cO.js → get-payment-details-D-prcfRc.js} +5 -3
- package/dist/esm/{get-subaccounts-DIJtLFsb.js → get-subaccounts-B0uEyOp_.js} +7 -5
- package/dist/esm/iframe-input.entry.js +4 -4
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +8 -7
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +10 -12
- package/dist/esm/justifi-business-details.entry.js +12 -5
- package/dist/esm/justifi-business-form.entry.js +15 -14
- package/dist/esm/justifi-checkout.entry.js +17 -7
- package/dist/esm/justifi-checkouts-list-filters.entry.js +8 -5
- package/dist/esm/justifi-checkouts-list.entry.js +17 -13
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +15 -7
- package/dist/esm/justifi-dispute-notification_3.entry.js +16 -6
- package/dist/esm/justifi-gross-payment-chart.entry.js +18 -9
- package/dist/esm/justifi-order-terminals.entry.js +16 -12
- package/dist/esm/justifi-owner-form_3.entry.js +9 -5
- package/dist/esm/justifi-payment-details.entry.js +13 -10
- package/dist/esm/justifi-payment-provisioning.entry.js +16 -6
- package/dist/esm/justifi-payment-transactions-list.entry.js +16 -12
- package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payments-list.entry.js +15 -11
- package/dist/esm/justifi-payout-details.entry.js +14 -10
- package/dist/esm/justifi-payout-transactions-list.entry.js +16 -12
- package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +16 -12
- package/dist/esm/justifi-refund-payment.entry.js +13 -11
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +3 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +19 -22
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +9 -6
- package/dist/esm/justifi-terminal-orders-list.entry.js +18 -11
- package/dist/esm/justifi-terminals-list-filters.entry.js +8 -5
- package/dist/esm/justifi-terminals-list.entry.js +16 -12
- package/dist/esm/justifi-tokenize-payment-method.entry.js +16 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-DLLK41AX.js → package-DPiTQ9dr.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +9 -9
- package/dist/esm/{payment.service-DdCJ1Dc7.js → payment.service-CgwLo1_s.js} +8 -1
- package/dist/esm/payments-list-core.entry.js +9 -6
- package/dist/esm/payout-details-core.entry.js +4 -4
- package/dist/esm/{payout.service-G1Isezyi.js → payout.service-DYFCNfLa.js} +8 -1
- package/dist/esm/payouts-list-core.entry.js +9 -6
- package/dist/esm/{schema-validations-BsbYeDDR.js → schema-validations-D9YNVLiI.js} +1 -1
- package/dist/esm/terminal-orders-list-core.entry.js +10 -7
- package/dist/esm/{terminal-orders-table-BlT9YrFD.js → terminal-orders-table-BopP465z.js} +5 -3
- package/dist/esm/{terminal.service-aFe-O3PC.js → terminal.service-f-whs_d4.js} +8 -1
- package/dist/esm/terminals-list-core.entry.js +9 -6
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Api.js +23 -11
- package/dist/module/Checkout.js +22 -2
- package/dist/module/Payment.js +59 -3
- package/dist/module/Refund.js +2 -1
- package/dist/module/bank-account-document-inputs.js +2 -1
- package/dist/module/business-additional-questions-form-step.js +1 -1
- package/dist/module/business-bank-account-form-step-core.js +2 -2
- package/dist/module/business-bank-account-form-step.js +3 -2
- package/dist/module/business-core-info-form-step.js +1 -1
- package/dist/module/business-documents-on-file2.js +1 -1
- package/dist/module/business-owners-form-step.js +1 -1
- package/dist/module/business-representative-form-step.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +5 -6
- package/dist/module/business.service.js +7 -1
- package/dist/module/check-pkg-version.js +10 -1
- package/dist/module/checkout-core.js +2 -3
- package/dist/module/checkout.service.js +7 -1
- package/dist/module/checkouts-list-core2.js +3 -2
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +1 -1
- package/dist/module/dispute-response-actions.js +7 -2
- package/dist/module/dispute-response.js +5 -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 +3 -3
- 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-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/get-business.js +1 -1
- package/dist/module/get-payment-details.js +4 -3
- package/dist/module/get-payout-csv.js +1 -1
- package/dist/module/get-subaccounts.js +5 -4
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/justifi-business-details.js +4 -2
- package/dist/module/justifi-business-form.js +5 -3
- package/dist/module/justifi-checkout.js +6 -4
- package/dist/module/justifi-checkouts-list-filters.js +3 -2
- package/dist/module/justifi-checkouts-list.js +7 -4
- package/dist/module/justifi-dispute-management.js +5 -4
- package/dist/module/justifi-gross-payment-chart.js +11 -4
- package/dist/module/justifi-order-terminals.js +8 -3
- package/dist/module/justifi-payment-details.js +3 -2
- package/dist/module/justifi-payment-provisioning.js +11 -4
- package/dist/module/justifi-payment-transactions-list.js +7 -4
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +8 -5
- package/dist/module/justifi-payout-details.js +6 -3
- package/dist/module/justifi-payout-transactions-list.js +7 -5
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +7 -4
- package/dist/module/justifi-refund-payment.js +5 -4
- package/dist/module/justifi-season-interruption-insurance.js +10 -14
- package/dist/module/justifi-terminal-orders-list-filters.js +4 -3
- package/dist/module/justifi-terminal-orders-list.js +10 -4
- package/dist/module/justifi-terminals-list-filters.js +3 -2
- package/dist/module/justifi-terminals-list.js +7 -4
- package/dist/module/justifi-tokenize-payment-method.js +9 -3
- package/dist/module/legal-address-form-step.js +1 -1
- package/dist/module/owner-details2.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/payment-details-core2.js +10 -9
- package/dist/module/payment-provisioning-actions.js +1 -1
- package/dist/module/payment-provisioning-core.js +1 -1
- package/dist/module/payment.service.js +7 -1
- package/dist/module/payments-list-core2.js +3 -2
- package/dist/module/payout-details-core2.js +5 -4
- package/dist/module/payout.service.js +7 -1
- package/dist/module/payouts-list-core2.js +4 -3
- package/dist/module/representative-details2.js +1 -1
- package/dist/module/season-interruption-insurance-core.js +6 -3
- package/dist/module/sezzle-payment-method.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +3 -2
- package/dist/module/terminal.service.js +7 -1
- package/dist/module/terminals-list-core2.js +3 -2
- package/dist/module/utils2.js +1 -1
- package/dist/module/utils4.js +1 -1
- package/dist/types/api/Api.d.ts +41 -35
- package/dist/types/api/Payment.d.ts +2 -0
- package/dist/types/api/Payout.d.ts +2 -0
- package/dist/types/api/index.d.ts +5 -1
- package/dist/types/api/services/business.service.d.ts +1 -5
- package/dist/types/api/services/dispute.service.d.ts +1 -2
- package/dist/types/api/services/payout.service.d.ts +1 -2
- package/dist/types/api/services/provision.service.d.ts +1 -1
- package/dist/types/api/services/reports.service.d.ts +1 -2
- package/dist/types/api/services/subaccounts.service.d.ts +1 -2
- package/dist/types/components/order-terminals/order-terminals.d.ts +1 -0
- package/dist/types/components/terminal-orders-list/terminal-orders-list.d.ts +1 -0
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -0
- package/dist/webcomponents/p-0ab2f675.entry.js +1 -0
- package/dist/webcomponents/p-0b57ecc3.entry.js +1 -0
- package/dist/webcomponents/p-0deb6a38.entry.js +1 -0
- package/dist/webcomponents/p-16adfe77.entry.js +1 -0
- package/dist/webcomponents/{p-8224e3c2.entry.js → p-19b9c96a.entry.js} +1 -1
- package/dist/webcomponents/p-1a85f26f.entry.js +1 -0
- package/dist/webcomponents/p-1b22572d.entry.js +1 -0
- package/dist/webcomponents/p-22a0b397.entry.js +1 -0
- package/dist/webcomponents/{p-9dae8152.entry.js → p-24792e8e.entry.js} +1 -1
- package/dist/webcomponents/p-25ea4450.entry.js +1 -0
- package/dist/webcomponents/p-2adda453.entry.js +1 -0
- package/dist/webcomponents/p-2b8ac00a.entry.js +1 -0
- package/dist/webcomponents/p-2dbc4b19.entry.js +1 -0
- package/dist/webcomponents/p-3368d3d5.entry.js +1 -0
- package/dist/webcomponents/{p-12674a89.entry.js → p-3a979295.entry.js} +1 -1
- package/dist/webcomponents/p-3abc8eab.entry.js +1 -0
- package/dist/webcomponents/{p-774eee26.entry.js → p-3babed12.entry.js} +1 -1
- package/dist/webcomponents/p-40541e0c.entry.js +1 -0
- package/dist/webcomponents/p-4194214c.entry.js +1 -0
- package/dist/webcomponents/p-43d6bbed.entry.js +1 -0
- package/dist/webcomponents/p-44d8c2b1.entry.js +1 -0
- package/dist/webcomponents/p-4749e0d0.entry.js +1 -0
- package/dist/webcomponents/p-4ee0cd96.entry.js +1 -0
- package/dist/webcomponents/p-54281359.entry.js +1 -0
- package/dist/webcomponents/{p-9c1a79c5.entry.js → p-59abf1de.entry.js} +1 -1
- package/dist/webcomponents/p-799000c1.entry.js +1 -0
- package/dist/webcomponents/p-83154291.entry.js +1 -0
- package/dist/webcomponents/p-84d27581.entry.js +1 -0
- package/dist/webcomponents/p-9105f700.entry.js +1 -0
- package/dist/webcomponents/p-916ea4fc.entry.js +1 -0
- package/dist/webcomponents/{p-32345016.entry.js → p-935bbc62.entry.js} +1 -1
- package/dist/webcomponents/p-935fa555.entry.js +1 -0
- package/dist/webcomponents/p-947239a6.entry.js +1 -0
- package/dist/webcomponents/p-99b080d9.entry.js +1 -0
- package/dist/webcomponents/{p-7MWRbTXI.js → p-BH0Xfn-F.js} +1 -1
- package/dist/webcomponents/p-BM5lviat.js +1 -0
- package/dist/webcomponents/p-BWJ7zamv.js +1 -0
- package/dist/webcomponents/p-BiPRf6d2.js +1 -0
- package/dist/webcomponents/p-BmWpHZ-Z.js +1 -0
- package/dist/webcomponents/p-BzPi8Ea_.js +1 -0
- package/dist/webcomponents/p-C0UUR9CN.js +1 -0
- package/dist/webcomponents/{p-CegkOiUz.js → p-CCGhF18e.js} +1 -1
- package/dist/webcomponents/p-CffckWWF.js +1 -0
- package/dist/webcomponents/p-DNt_pMGt.js +1 -0
- package/dist/webcomponents/p-DPiTQ9dr.js +1 -0
- package/dist/webcomponents/p-DZfxGQ1I.js +1 -0
- package/dist/webcomponents/p-DuBhW0xA.js +1 -0
- package/dist/webcomponents/p-M61ygz6l.js +1 -0
- package/dist/webcomponents/p-ZE1NEnP3.js +1 -0
- package/dist/webcomponents/p-a46730eb.entry.js +1 -0
- package/dist/webcomponents/p-a4dd3835.entry.js +1 -0
- package/dist/webcomponents/p-ad85bd0d.entry.js +1 -0
- package/dist/webcomponents/p-af2c38f7.entry.js +1 -0
- package/dist/webcomponents/p-cab175e9.entry.js +1 -0
- package/dist/webcomponents/p-ceefc483.entry.js +1 -0
- package/dist/webcomponents/p-d1331dbb.entry.js +1 -0
- package/dist/webcomponents/p-d9c70010.entry.js +1 -0
- package/dist/webcomponents/p-dd05cce1.entry.js +1 -0
- package/dist/webcomponents/p-e00aeb33.entry.js +1 -0
- package/dist/webcomponents/p-e1c5ee0a.entry.js +1 -0
- package/dist/webcomponents/p-ea8dd3e7.entry.js +1 -0
- package/dist/webcomponents/p-f389c2aa.entry.js +1 -0
- package/dist/webcomponents/p-f8b205f7.entry.js +1 -0
- package/dist/webcomponents/p-o_73WSki.js +1 -0
- package/dist/webcomponents/p-vb3fTJEZ.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/Api-KMweahmp.js +0 -74
- package/dist/cjs/Document-rXGBUaOh.js +0 -58
- package/dist/collection/api/ApiNew.js +0 -82
- package/dist/esm/Api-C9CDE-UM.js +0 -72
- package/dist/esm/Document-Ct-uNz2r.js +0 -55
- package/dist/module/ApiNew.js +0 -84
- package/dist/module/ComponentError.js +0 -21
- package/dist/module/Dispute.js +0 -57
- package/dist/types/api/ApiNew.d.ts +0 -61
- package/dist/webcomponents/p-05138b5d.entry.js +0 -1
- package/dist/webcomponents/p-0661622e.entry.js +0 -1
- package/dist/webcomponents/p-0a4abfba.entry.js +0 -1
- package/dist/webcomponents/p-0d73af88.entry.js +0 -1
- package/dist/webcomponents/p-107fdd99.entry.js +0 -1
- package/dist/webcomponents/p-12ea3a21.entry.js +0 -1
- package/dist/webcomponents/p-13a56c04.entry.js +0 -1
- package/dist/webcomponents/p-2ce8e7ac.entry.js +0 -1
- package/dist/webcomponents/p-357e1077.entry.js +0 -1
- package/dist/webcomponents/p-3a691b9a.entry.js +0 -1
- package/dist/webcomponents/p-3adEM48l.js +0 -1
- package/dist/webcomponents/p-3bb94f41.entry.js +0 -1
- package/dist/webcomponents/p-460eae73.entry.js +0 -1
- package/dist/webcomponents/p-48d84a6f.entry.js +0 -1
- package/dist/webcomponents/p-4a3ee65c.entry.js +0 -1
- package/dist/webcomponents/p-58f415f4.entry.js +0 -1
- package/dist/webcomponents/p-5ff7f253.entry.js +0 -1
- package/dist/webcomponents/p-6334c2bc.entry.js +0 -1
- package/dist/webcomponents/p-6780e07e.entry.js +0 -1
- package/dist/webcomponents/p-6a3a8a7a.entry.js +0 -1
- package/dist/webcomponents/p-76d1a604.entry.js +0 -1
- package/dist/webcomponents/p-833576ca.entry.js +0 -1
- package/dist/webcomponents/p-83d4ac72.entry.js +0 -1
- package/dist/webcomponents/p-AVaenhw9.js +0 -1
- package/dist/webcomponents/p-B1ubyLhU.js +0 -1
- package/dist/webcomponents/p-BBsCnePk.js +0 -1
- package/dist/webcomponents/p-BHbsXXRt.js +0 -1
- package/dist/webcomponents/p-Bxs6fi7a.js +0 -1
- package/dist/webcomponents/p-C0piBrye.js +0 -1
- package/dist/webcomponents/p-CkrVt-dj.js +0 -1
- package/dist/webcomponents/p-Ct-uNz2r.js +0 -1
- package/dist/webcomponents/p-Cy4aIACq.js +0 -1
- package/dist/webcomponents/p-DLLK41AX.js +0 -1
- package/dist/webcomponents/p-Da_GeglS.js +0 -1
- package/dist/webcomponents/p-Dgxn_B6C.js +0 -1
- package/dist/webcomponents/p-DmIOVniD.js +0 -1
- package/dist/webcomponents/p-DqOTECuf.js +0 -1
- package/dist/webcomponents/p-Dz-Ft5b1.js +0 -1
- package/dist/webcomponents/p-a5af8397.entry.js +0 -1
- package/dist/webcomponents/p-a61f9b3c.entry.js +0 -1
- package/dist/webcomponents/p-a6fb7730.entry.js +0 -1
- package/dist/webcomponents/p-aTcDcUMZ.js +0 -1
- package/dist/webcomponents/p-aa954ce9.entry.js +0 -1
- package/dist/webcomponents/p-ac4ac963.entry.js +0 -1
- package/dist/webcomponents/p-ae7c6b81.entry.js +0 -1
- package/dist/webcomponents/p-ae8c3dab.entry.js +0 -1
- package/dist/webcomponents/p-b061c21c.entry.js +0 -1
- package/dist/webcomponents/p-b4d857b2.entry.js +0 -1
- package/dist/webcomponents/p-bb45705e.entry.js +0 -1
- package/dist/webcomponents/p-c2f3d7da.entry.js +0 -1
- package/dist/webcomponents/p-c7227fc1.entry.js +0 -1
- package/dist/webcomponents/p-c8f70818.entry.js +0 -1
- package/dist/webcomponents/p-c9288f47.entry.js +0 -1
- package/dist/webcomponents/p-d1a440e3.entry.js +0 -1
- package/dist/webcomponents/p-dd89c516.entry.js +0 -1
- package/dist/webcomponents/p-e39b5ffd.entry.js +0 -1
- package/dist/webcomponents/p-e5d35016.entry.js +0 -1
- package/dist/webcomponents/p-ebd7753d.entry.js +0 -1
- package/dist/webcomponents/p-ec47b7c8.entry.js +0 -1
- /package/dist/cjs/{ApiNew-C8nf_gS9.js → Api-C8nf_gS9.js} +0 -0
- /package/dist/esm/{ApiNew-KYhsw8Nv.js → Api-KYhsw8Nv.js} +0 -0
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import { Api } from "..";
|
|
2
|
+
const api = Api();
|
|
2
3
|
export class InsuranceService {
|
|
3
4
|
async fetchQuote(authToken, payload) {
|
|
4
5
|
const endpoint = 'insurance/quotes';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
body: payload,
|
|
8
|
-
});
|
|
6
|
+
const body = payload;
|
|
7
|
+
return api.post({ endpoint, body, authToken });
|
|
9
8
|
}
|
|
10
9
|
async toggleCoverage(authToken, quoteId, payload) {
|
|
11
10
|
const endpoint = `insurance/quotes/${quoteId}/toggle`;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
body: payload,
|
|
15
|
-
});
|
|
11
|
+
const body = payload;
|
|
12
|
+
return api.post({ endpoint, body, authToken });
|
|
16
13
|
}
|
|
17
14
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import Api from "
|
|
1
|
+
import { Api } from "..";
|
|
2
|
+
const api = Api();
|
|
2
3
|
export class ReportsService {
|
|
3
4
|
async fetchGrossVolumeChartData(accountId, authToken) {
|
|
4
|
-
const api = Api({ authToken: authToken, apiOrigin: PROXY_API_ORIGIN });
|
|
5
5
|
const endpoint = `account/${accountId}/reports/gross_volume`;
|
|
6
|
-
return api.get({ endpoint });
|
|
6
|
+
return api.get({ endpoint, authToken });
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -12,8 +12,10 @@ export class BusinessDetails {
|
|
|
12
12
|
this.initializeGetBusiness();
|
|
13
13
|
}
|
|
14
14
|
disconnectedCallback() {
|
|
15
|
-
|
|
15
|
+
var _a;
|
|
16
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
16
17
|
}
|
|
18
|
+
;
|
|
17
19
|
initializeGetBusiness() {
|
|
18
20
|
if (!this.businessId || !this.authToken) {
|
|
19
21
|
this.errorMessage = 'Invalid business id or auth token';
|
|
@@ -52,8 +52,10 @@ export class BusinessForm {
|
|
|
52
52
|
this.initializeApi();
|
|
53
53
|
}
|
|
54
54
|
disconnectedCallback() {
|
|
55
|
-
|
|
55
|
+
var _a;
|
|
56
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
56
57
|
}
|
|
58
|
+
;
|
|
57
59
|
get title() {
|
|
58
60
|
return this.removeTitle ? '' : this.formTitle;
|
|
59
61
|
}
|
package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js
CHANGED
|
@@ -19,8 +19,10 @@ export class PaymentProvisioning {
|
|
|
19
19
|
this.initializeApi();
|
|
20
20
|
}
|
|
21
21
|
disconnectedCallback() {
|
|
22
|
-
|
|
22
|
+
var _a;
|
|
23
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
23
24
|
}
|
|
25
|
+
;
|
|
24
26
|
initializeApi() {
|
|
25
27
|
if (this.authToken && this.businessId) {
|
|
26
28
|
this.getBusiness = makeGetBusiness({
|
|
@@ -44,7 +46,7 @@ export class PaymentProvisioning {
|
|
|
44
46
|
}
|
|
45
47
|
}
|
|
46
48
|
render() {
|
|
47
|
-
return (h("justifi-payment-provisioning-core", { key: '
|
|
49
|
+
return (h("justifi-payment-provisioning-core", { key: '11871305b4b4974787a9278195ea0b314be250b0', businessId: this.businessId, authToken: this.authToken, allowOptionalFields: this.allowOptionalFields, formTitle: this.formTitle, getBusiness: this.getBusiness, postProvisioning: this.postProvisioning }));
|
|
48
50
|
}
|
|
49
51
|
static get is() { return "justifi-payment-provisioning"; }
|
|
50
52
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,7 +11,7 @@ export class BusinessTermsConditionsFormStep {
|
|
|
11
11
|
this.fetchData = async () => {
|
|
12
12
|
this.formLoading.emit(true);
|
|
13
13
|
try {
|
|
14
|
-
const response = await this.api.get({ endpoint: this.businessEndpoint });
|
|
14
|
+
const response = await this.api.get({ endpoint: this.businessEndpoint, authToken: this.authToken });
|
|
15
15
|
this.acceptedTermsBefore = response.data.terms_conditions_accepted;
|
|
16
16
|
}
|
|
17
17
|
catch (error) {
|
|
@@ -67,7 +67,7 @@ export class BusinessTermsConditionsFormStep {
|
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
69
|
async componentWillLoad() {
|
|
70
|
-
this.api = Api(
|
|
70
|
+
this.api = Api();
|
|
71
71
|
this.formController = new FormController(businessTermsConditionsSchema(this.allowOptionalFields));
|
|
72
72
|
if (this.businessId && this.authToken) {
|
|
73
73
|
this.fetchData();
|
|
@@ -108,7 +108,7 @@ export class BusinessTermsConditionsFormStep {
|
|
|
108
108
|
return (h("a", { href: "https://justifi.tech/merchant-agreement/", target: "_blank", rel: "noopener noreferrer" }, "merchant agreement"));
|
|
109
109
|
}
|
|
110
110
|
render() {
|
|
111
|
-
return (h("form", { key: '
|
|
111
|
+
return (h("form", { key: '6bba766ba11512058470225103aa2afff318ab99' }, h("fieldset", { key: '318755ea4fc772e61ac9f8318ccf95494f71bf73' }, h("legend", { key: 'e5a268e9be8ed0a69eb8eed23ffc742228218685', part: heading2 }, "Terms and Conditions"), h("hr", { key: '100eed0ad0c8e7a5c652640c337d899be6f2131a' }), h("div", { key: '08a878a7fe9cd7b8ccb2217932d5d3a3b53bb0c9' }, h("p", { key: 'a5b3ddc655c511187327028229a893f7ea06c7ca' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: '5c021ef8a8bce686a615a7478a4312f842eb4248' }), h("div", { key: '6b3172972459d33e70e6bf4b8c2c9d93a843b7f4', class: "row-gy-3" }, h("div", { key: '1e99c4eab265b0b0f370a02ddf76b15d27db961c', class: "col-12" }, h("form-control-checkbox", { key: '4c974e3fd58f34000fa70d38d3da312f9bd1fe0d', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
|
|
112
112
|
}
|
|
113
113
|
static get is() { return "justifi-business-terms-conditions-form-step"; }
|
|
114
114
|
static get properties() {
|
|
@@ -14,8 +14,10 @@ export class Checkout {
|
|
|
14
14
|
this.initializeGetCheckout();
|
|
15
15
|
}
|
|
16
16
|
disconnectedCallback() {
|
|
17
|
-
|
|
17
|
+
var _a;
|
|
18
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
18
19
|
}
|
|
20
|
+
;
|
|
19
21
|
initializeGetCheckout() {
|
|
20
22
|
if (this.authToken && this.checkoutId) {
|
|
21
23
|
this.getCheckout = makeGetCheckout({
|
|
@@ -48,11 +50,11 @@ export class Checkout {
|
|
|
48
50
|
return { isValid };
|
|
49
51
|
}
|
|
50
52
|
render() {
|
|
51
|
-
return (h("justifi-checkout-core", { key: '
|
|
53
|
+
return (h("justifi-checkout-core", { key: 'c1c7cf4f1aadce928e3ed6a6ae05a7824d875d68', getCheckout: this.getCheckout, authToken: this.authToken, complete: this.complete, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, disableBnpl: this.disableBnpl, disablePaymentMethodGroup: this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, ref: el => {
|
|
52
54
|
if (el) {
|
|
53
55
|
this.checkoutCoreRef = el;
|
|
54
56
|
}
|
|
55
|
-
} }, h("div", { key: '
|
|
57
|
+
} }, h("div", { key: '7a4be7220e5eb199f94c5086c23e10dce68d4854', slot: "insurance" }, h("slot", { key: 'f5db23ef6dc82d0521518ea2dbfe99d8c8b6c2cc', name: "insurance" }))));
|
|
56
58
|
}
|
|
57
59
|
static get is() { return "justifi-checkout"; }
|
|
58
60
|
static get properties() {
|
|
@@ -23,8 +23,10 @@ export class CheckoutsList {
|
|
|
23
23
|
this.initializeGetData();
|
|
24
24
|
}
|
|
25
25
|
disconnectedCallback() {
|
|
26
|
-
|
|
26
|
+
var _a;
|
|
27
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
27
28
|
}
|
|
29
|
+
;
|
|
28
30
|
propChanged() {
|
|
29
31
|
this.initializeGetData();
|
|
30
32
|
}
|
|
@@ -59,7 +61,7 @@ export class CheckoutsList {
|
|
|
59
61
|
}
|
|
60
62
|
}
|
|
61
63
|
render() {
|
|
62
|
-
return (h(StyledHost, { key: '
|
|
64
|
+
return (h(StyledHost, { key: 'c76ca3b186023ebea3ac3fe0cf6599786a2f2ea7' }, h("checkouts-list-core", { key: '484d31c0b0434181b3bd69cb9c3b6810aa0f2983', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
63
65
|
}
|
|
64
66
|
static get is() { return "justifi-checkouts-list"; }
|
|
65
67
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,7 +18,8 @@ export class DisputeManagement {
|
|
|
18
18
|
this.initializeGetDispute();
|
|
19
19
|
}
|
|
20
20
|
disconnectedCallback() {
|
|
21
|
-
|
|
21
|
+
var _a;
|
|
22
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
22
23
|
}
|
|
23
24
|
;
|
|
24
25
|
propChanged() {
|
|
@@ -42,7 +43,7 @@ export class DisputeManagement {
|
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
45
|
render() {
|
|
45
|
-
return (h("justifi-dispute-management-core", { key: '
|
|
46
|
+
return (h("justifi-dispute-management-core", { key: '5abe4c29317f9baa7fc40d82e2cd533de321d58f', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
|
|
46
47
|
}
|
|
47
48
|
static get is() { return "justifi-dispute-management"; }
|
|
48
49
|
static get properties() {
|
|
@@ -20,8 +20,10 @@ export class DisputeResponse {
|
|
|
20
20
|
this.initializeDisputeServiceMethods();
|
|
21
21
|
}
|
|
22
22
|
disconnectedCallback() {
|
|
23
|
-
|
|
23
|
+
var _a;
|
|
24
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
24
25
|
}
|
|
26
|
+
;
|
|
25
27
|
propChanged() {
|
|
26
28
|
this.initializeDisputeServiceMethods();
|
|
27
29
|
}
|
|
@@ -53,7 +55,7 @@ export class DisputeResponse {
|
|
|
53
55
|
}
|
|
54
56
|
}
|
|
55
57
|
render() {
|
|
56
|
-
return (h(StyledHost, { key: '
|
|
58
|
+
return (h(StyledHost, { key: '6f1fd8e2109c806c82c63cfd046739e18cc2b3b7' }, h("justifi-dispute-response-core", { key: '56cba360a731ed4054c89c11250f115a7e3b9e63', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
|
|
57
59
|
}
|
|
58
60
|
;
|
|
59
61
|
static get is() { return "justifi-dispute-response"; }
|
|
@@ -19,8 +19,10 @@ export class GrossPaymentChart {
|
|
|
19
19
|
this.initializeGetGrossPayment();
|
|
20
20
|
}
|
|
21
21
|
disconnectedCallback() {
|
|
22
|
-
|
|
22
|
+
var _a;
|
|
23
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
23
24
|
}
|
|
25
|
+
;
|
|
24
26
|
propChanged() {
|
|
25
27
|
this.initializeGetGrossPayment();
|
|
26
28
|
}
|
|
@@ -92,9 +92,12 @@ export class SeasonInterruptionInsuranceCore {
|
|
|
92
92
|
var _a, _b, _c, _d;
|
|
93
93
|
if (this.isLoading)
|
|
94
94
|
return (h(StyledHost, null, h(SeasonInterruptionInsuranceLoading, null)));
|
|
95
|
-
return (h(StyledHost, null, h("div", null, h(Header2, { text: (_a = this.quote) === null || _a === void 0 ? void 0 : _a.product.title, class: "fs-5 fw-bold pb-3" }), h("small", { innerHTML: (_b = this.quote) === null || _b === void 0 ? void 0 : _b.product.description, part: text }), h("form-control-radio", { label: `Accept coverage for ${formatCurrency((_c = this.quote) === null || _c === void 0 ? void 0 : _c.total_cents)}`, name: "opt-in", value: 'true', checked: this.accepted === 'true', inputHandler: this.onChangeHandler.bind(this)
|
|
95
|
+
return (h(StyledHost, null, h("div", null, h(Header2, { text: (_a = this.quote) === null || _a === void 0 ? void 0 : _a.product.title, class: "fs-5 fw-bold pb-3" }), h("small", { innerHTML: (_b = this.quote) === null || _b === void 0 ? void 0 : _b.product.description, part: text }), h("form-control-radio", { label: `Accept coverage for ${formatCurrency((_c = this.quote) === null || _c === void 0 ? void 0 : _c.total_cents)}`, name: "opt-in", value: 'true', checked: this.accepted === 'true', inputHandler: this.onChangeHandler.bind(this),
|
|
96
|
+
// don't wanna show error message, but need to show the red border
|
|
97
|
+
errorText: this.error ? ' ' : undefined }), h("form-control-radio", { label: "Decline coverage", name: "opt-in", value: 'false', checked: this.accepted === 'false', inputHandler: this.onChangeHandler.bind(this), errorText: this.error ? ' ' : undefined }), h("div", { class: "invalid-feedback", style: { display: this.error ? 'block' : 'none' }, part: textDanger }, "Please select an option"), h("small", { innerHTML: (_d = this.quote) === null || _d === void 0 ? void 0 : _d.product.legal_disclaimer, part: text }))));
|
|
96
98
|
}
|
|
97
99
|
static get is() { return "justifi-season-interruption-insurance-core"; }
|
|
100
|
+
static get encapsulation() { return "shadow"; }
|
|
98
101
|
static get properties() {
|
|
99
102
|
return {
|
|
100
103
|
"checkoutId": {
|
package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js
CHANGED
|
@@ -14,9 +14,8 @@ export class SeasonInterruptionInsurance {
|
|
|
14
14
|
this.initializeServiceMethods();
|
|
15
15
|
}
|
|
16
16
|
disconnectedCallback() {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
17
|
+
var _a;
|
|
18
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
20
19
|
}
|
|
21
20
|
initializeServiceMethods() {
|
|
22
21
|
if (!this.authToken) {
|
|
@@ -37,7 +36,7 @@ export class SeasonInterruptionInsurance {
|
|
|
37
36
|
});
|
|
38
37
|
}
|
|
39
38
|
render() {
|
|
40
|
-
return (h("justifi-season-interruption-insurance-core", { key: '
|
|
39
|
+
return (h("justifi-season-interruption-insurance-core", { key: 'e6c2083c20b0f29301d5d8eafc1d269280e96de7', 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 }));
|
|
41
40
|
}
|
|
42
41
|
static get is() { return "justifi-season-interruption-insurance"; }
|
|
43
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -36,6 +36,11 @@ export class OrderTerminals {
|
|
|
36
36
|
this.analytics = new JustifiAnalytics(this);
|
|
37
37
|
this.loadData();
|
|
38
38
|
}
|
|
39
|
+
disconnectedCallback() {
|
|
40
|
+
var _a;
|
|
41
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
42
|
+
}
|
|
43
|
+
;
|
|
39
44
|
handleError(errorMessage, code, severity) {
|
|
40
45
|
this.error = { message: errorMessage, code, severity };
|
|
41
46
|
this.errorEvent.emit({ errorCode: code, message: errorMessage, severity });
|
|
@@ -121,7 +126,7 @@ export class OrderTerminals {
|
|
|
121
126
|
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))));
|
|
122
127
|
}
|
|
123
128
|
render() {
|
|
124
|
-
return (h(StyledHost, { key: '
|
|
129
|
+
return (h(StyledHost, { key: '95d4b374036e4713216ce61e87571a607b8c3f0a' }, h("div", { key: '3e57b055db0d1bf26b9eb38a78fa57493afd3af3', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
|
|
125
130
|
}
|
|
126
131
|
static get is() { return "justifi-order-terminals"; }
|
|
127
132
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,6 +4,7 @@ import { MapPaymentStatusToBadge } from "../payments-list/payments-status";
|
|
|
4
4
|
import { CodeBlock, DetailItem, DetailSectionTitle, EntityHeadInfo, EntityHeadInfoItem, ErrorState } from "../../ui-components/details/utils";
|
|
5
5
|
import { StyledHost } from "../../ui-components";
|
|
6
6
|
import PaymentDetailsLoading from "./payment-details-loading";
|
|
7
|
+
import { Badge, BadgeVariant } from "../../ui-components/badge/badge";
|
|
7
8
|
export class PaymentDetailsCore {
|
|
8
9
|
constructor() {
|
|
9
10
|
this.loading = true;
|
|
@@ -37,16 +38,16 @@ export class PaymentDetailsCore {
|
|
|
37
38
|
});
|
|
38
39
|
}
|
|
39
40
|
render() {
|
|
40
|
-
return (h(StyledHost, { key: '
|
|
41
|
-
this.payment && (h("justifi-details", { key: '
|
|
42
|
-
h(DetailSectionTitle, { key: '
|
|
43
|
-
h("div", { key: '
|
|
41
|
+
return (h(StyledHost, { key: 'db2d2ec374cf0743db6bfe43e0b8f77572e9cdfd' }, this.loading && h(PaymentDetailsLoading, { key: 'c5b7481c55723d7ab8eb9b8001efadfe33c82532' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
|
|
42
|
+
this.payment && (h("justifi-details", { key: 'cbbd4166213c49a85c70fab920024f876394a24b', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '645552490a3d5115af19d4b3ff3d5dc80b9d3038', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPaymentStatusToBadge(this.payment.status), this.payment.expedited ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : null)), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: '968b2420a648b0c12753dbae1ea966ba0ecd4b5e', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: '056a4d72223eba4225ec6fa3f52c028be21d3fbe', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '8a010c36e237479a318dd6d03026a9b36fc78eab', title: "ID", value: this.payment.id })), h("div", { key: 'fbbb9dd12d129fd589228f23eef25ad2d048e5ba', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '51a4d8bdc3e66c17dabb77cbdcf06cd3cfdbe7e8', sectionTitle: "Details" }), h("div", { key: 'ce03ec8c368f24487ca5cf267dcc0237b4637595', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '35b94e984c638b461a26156acb08cf1647a065e4', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: '5398feb78b40735d773889c57517de8784f043f0', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'e2667dba443e74b4139137d7194538b4799c59d4', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: '3cc3a74d90a0d10fe5f79c6e3fa942147bdf37f0', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: 'e7f942356e5810ed1f6836002e03fab078e7da24', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: '4ed5bb3102ab533914f8841de5f3bb38e059cca0', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: 'ffe0e3990db78c2e57133865f8ab5314698a6126', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'a0defbb3e570929e4667c7d96beb23a2b21090f2', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: 'a196e9c84f30e0cbab086c02caa15188adae0fe5', title: "Description", value: this.payment.description }), h(DetailItem, { key: '3f0215fbb1faf2defb2a614d1bb463f43f4edc97', title: "Expedited", value: this.payment.expedited ? 'Yes' : 'No' })), this.payment.payment_method.card && [
|
|
43
|
+
h(DetailSectionTitle, { key: '3627159fa135d895c1591c1146daf6b1b3fcff3e', sectionTitle: "Payment Method" }),
|
|
44
|
+
h("div", { key: '00340647cfb3421627b587bcfd3e81d6cf9cb271', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'b89fd68b547f48c42636b7b0904f9c518a135a84', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: '2998d39cc3d133398f2e482cd47f5d5eb2fd9bc6', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '23259226da35ecd71d07685484145d547eebcfa5', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '090a22f97bfb43ffae0c7c475ee6f9c00d92193b', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '72c41739c55d99c9efbc0d5c77fcfa0049d5c21a', title: "Cardholder", value: this.payment.payment_method.payersName }))
|
|
44
45
|
], this.payment.payment_method.bank_account && [
|
|
45
|
-
h(DetailSectionTitle, { key: '
|
|
46
|
-
h("div", { key: '
|
|
46
|
+
h(DetailSectionTitle, { key: '55bfec78982d1a44c5ea863e4c5bdc64cd61f241', sectionTitle: "Payment Method" }),
|
|
47
|
+
h("div", { key: 'da3be8d900f1db7b0337a27e91c90d424b4970d5', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'bfcd4367c607055397d8d4417dc671d5f262acd2', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: 'a5ba2164eadb8bd424889cd6ed02db4679d75f91', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '96a3c52d38c8fe6dabaa032e41f87946a1fb5333', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '3dfa62ba43bd18533104b8e608ce4303a75b6451', title: "Account Owner", value: this.payment.payment_method.payersName }))
|
|
47
48
|
], this.payment.metadata && [
|
|
48
|
-
h(DetailSectionTitle, { key: '
|
|
49
|
-
h("div", { key: '
|
|
49
|
+
h(DetailSectionTitle, { key: '6d180793de4f1d8e13c0af9e30d44faf121733cd', sectionTitle: 'Metadata' }),
|
|
50
|
+
h("div", { key: '76b6e75ace2f243ad86dc5f66aed0aa505a35181', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'a3ee69d8d8699a15980f170a087925d3458135a4', metadata: this.payment.metadata }))
|
|
50
51
|
])))));
|
|
51
52
|
}
|
|
52
53
|
static get is() { return "payment-details-core"; }
|
|
@@ -39,8 +39,10 @@ export class PaymentTransactionsList {
|
|
|
39
39
|
this.initializeApi();
|
|
40
40
|
}
|
|
41
41
|
disconnectedCallback() {
|
|
42
|
-
|
|
42
|
+
var _a;
|
|
43
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
43
44
|
}
|
|
45
|
+
;
|
|
44
46
|
propChanged() {
|
|
45
47
|
this.initializeApi();
|
|
46
48
|
}
|
|
@@ -89,7 +91,7 @@ export class PaymentTransactionsList {
|
|
|
89
91
|
return !this.showEmptyState && !this.showErrorState && !this.isLoading;
|
|
90
92
|
}
|
|
91
93
|
render() {
|
|
92
|
-
return (h(StyledHost, { key: '
|
|
94
|
+
return (h(StyledHost, { key: '5afad0e2e8dc4f37660b09c434fa1e69014194f6' }, h(TableWrapper, { key: '90b657d1a31077ccfee1c494e5bde526572d86b1' }, h(TableComponent, { key: 'c25fd7f2cb00dff6e7d1e5102660c28c08735439' }, h(TableHead, { key: 'a6a9bfd9dff7aa5c82e2dbe5c3c5674b4e6a5c04' }, h(TableHeadRow, { key: 'a7e136e48933ae4f7dabc3cb70bda5f2016b400f' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '921169d43283f1b13921f3972e4ff912a92a27eb' }, h(TableLoadingState, { key: '69e6d2c8df07e0acb657ab0f7997b6576be86c91', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '6a8a44d407bc4cb75e003ce68b174eed3aee885f', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '599552617b6e9f4dc6451a4fbbb5fe2c402849e4', 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: 'c2cadba24db21209557443e598ae2fbb1f4f1ffa' }, h(TableFootRow, { key: 'ffa9e9f6bf3dd7bb6bb5b8626756edf7ee249074' }, h(TableFootCell, { key: '7d6a900f2aac9483004c4eda42b3592db4495cca', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '028b35bc60ff879529a10ef43de4f45ba2aeb584', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
93
95
|
}
|
|
94
96
|
static get is() { return "justifi-payment-transactions-list"; }
|
|
95
97
|
static get encapsulation() { return "shadow"; }
|
|
@@ -83,7 +83,7 @@ export class PaymentsListCore {
|
|
|
83
83
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
84
84
|
}
|
|
85
85
|
render() {
|
|
86
|
-
return (h(TableWrapper, { key: '
|
|
86
|
+
return (h(TableWrapper, { key: 'ebc89e8b55258a1442edad51d5238b8734aa345e' }, h(TableComponent, { key: 'b90635548604f5d486a38421e5228c61ec47c033' }, h(TableHead, { key: '3106e6ac62fc9df004a8dc1c4fa6b07763ec9d7a' }, h(TableHeadRow, { key: '68c7767762899d3ee229835d93eb9221c8b097e9' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: '5ffee99d7437590c48f766d5bde24385ea31fdc5' }, h(TableLoadingState, { key: '4170ce391f84c65286f358d4e1c03f67c2f9ffcc', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '8f47428d403e763179e071756582065351fa7c63', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '5857f210589dd16232338ad39897ecd4581dc7db', 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: '1cb054a34b99150f33cf1a008a64451e85af4700' }, h(TableFootRow, { key: 'd203e8a928713108cbfbde297ed18bf60cd5cb8e' }, h(TableFootCell, { key: '710c8b5915f08f14892a04c16ac069039804b4f9', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: 'f9f40a23e8bcbce6adf93f66e2a97f15f91f4f15', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
87
87
|
}
|
|
88
88
|
static get is() { return "payments-list-core"; }
|
|
89
89
|
static get properties() {
|
|
@@ -43,8 +43,8 @@ export class PaymentsListFilters {
|
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
45
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
46
|
-
return (h(StyledHost, { key: '
|
|
47
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: '
|
|
46
|
+
return (h(StyledHost, { key: '41c3ce22404b0e8e536d8c230886eadc34b77208' }, h("table-filters-menu", { key: '864a91207169043f08a47c90c8f867d0e32031e2', params: filterMenuParams, clearParams: clearParams, part: paymentsListFilterMenu }, h("div", { key: 'd2a98ef4ab0094f708de21c2c3e02ec149b5e72f', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '00b9b884348d47e7dc1670064c1c0486eefc0a21', class: "p-2" }, h("form-control-text", { key: '405ee21a3780942784738a0cc0a3b423a03c2b5e', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: paymentIdPaymentsListFilterParam })), h("div", { key: '5401d6d05995af1fa7ab801987d79711c16aecc1', class: "p-2" }, h("form-control-text", { key: 'e1518fddbd3e62af0ddce873a191376b2504c9e0', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdPaymentsListFilterParam })), h("div", { key: '131c39879c3823c3d380d4939e6b93a2771bc86a', class: "p-2" }, h("form-control-select", { key: '856053d6ce5381956a18c6a21df169898fa71616', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentStatus || filterParams.payment_status, disabled: !!this.paymentStatus, part: paymentStatusPaymentsListFilterParam })), h("div", { key: '76ad87197605e45ae06fefc547755df29741fa18', class: "p-2" }, h("form-control-date", { key: '7cdd9b684a87e2da99ecfe963349433bf7ac1d45', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
47
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: 'ae78b441f6dbbbdca902fb4f83f7531e80322ff2', class: "p-2" }, h("form-control-date", { key: '34d321e3cd47ccd95ea30d7a54cfb36e34af64db', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
48
48
|
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforePaymentsListFilterParam }))))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "justifi-payments-list-filters"; }
|
|
@@ -21,8 +21,10 @@ export class PaymentsList {
|
|
|
21
21
|
this.initializeGetPayments();
|
|
22
22
|
}
|
|
23
23
|
disconnectedCallback() {
|
|
24
|
-
|
|
24
|
+
var _a;
|
|
25
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
25
26
|
}
|
|
27
|
+
;
|
|
26
28
|
propChanged() {
|
|
27
29
|
this.initializeGetPayments();
|
|
28
30
|
}
|
|
@@ -44,7 +46,7 @@ export class PaymentsList {
|
|
|
44
46
|
}
|
|
45
47
|
}
|
|
46
48
|
render() {
|
|
47
|
-
return (h(StyledHost, { key: '
|
|
49
|
+
return (h(StyledHost, { key: '26ccbd4f232a44cc9a682d9496fc0eb714c89864' }, h("payments-list-core", { key: 'c2b9653272eb8e3ebcd21309a0c475514ec1aa35', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
48
50
|
}
|
|
49
51
|
static get is() { return "justifi-payments-list"; }
|
|
50
52
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,6 +4,7 @@ import { CodeBlock, DetailItem, DetailSectionTitle, EntityHeadInfo, EntityHeadIn
|
|
|
4
4
|
import { Button, StyledHost } from "../../ui-components";
|
|
5
5
|
import { MapPayoutStatusToBadge } from "../payouts-list/payouts-status";
|
|
6
6
|
import PayoutDetailsLoading from "./payout-details-loading";
|
|
7
|
+
import { Badge, BadgeVariant } from "../../ui-components/badge/badge";
|
|
7
8
|
export class PayoutDetailsCore {
|
|
8
9
|
constructor() {
|
|
9
10
|
this.loading = true;
|
|
@@ -51,9 +52,9 @@ export class PayoutDetailsCore {
|
|
|
51
52
|
}
|
|
52
53
|
render() {
|
|
53
54
|
var _a;
|
|
54
|
-
return (h(StyledHost, { key: '
|
|
55
|
-
h(DetailSectionTitle, { key: '
|
|
56
|
-
h("div", { key: '
|
|
55
|
+
return (h(StyledHost, { key: '1d9842d26d6e1a89b3fc8a1ed6ed395f55b913ee' }, this.loading && h(PayoutDetailsLoading, { key: '95917b7cba094233316f39ed610dfda5360a47e5' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'c8f1cc9c3cc9b8e343557d38b88b31035d65c00f', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '0397f400c1576f49e664a1e5d8d5d1318935b281', 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: '3a3a0d511eaf43d54012f7c07688825d141f170a', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '9c33ac6ed41a0d1d91a83af12dee4c7bf401bc60', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: 'f60f96ff20c47f1ec0ad7f2a6f1f81a19b4a03f5', title: "ID", value: this.payout.id }), h("div", { key: '522bc205154fc2904f1c3735e9f859cfd234dff4', class: "m-4" }, h(Button, { key: 'e691e47946499a7359018fe4c774e0e23f8cb4c4', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '7f7c975c5672aaaebcda5870870cd4a52bae40b9', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '03728f098028f6304c2e608bf38e6b79809bd5aa', sectionTitle: "Details" }), h("div", { key: 'ad8416b1a6a90052f4988d9577b6c8d6a881e0a7', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '0ecb52461ee59aad0914547ffc3aff948bc766a6', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: 'bc003db9efc8ea329f4eb5e9644e013dc9578b27', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: 'e8ce2d2c42b66efd8ff0f87a8d9b58bd1565a019', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: '47f05a33981b878ebfd4a88cbd32b71fd6bf3683', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '013126090417ea6244fd01eb0c80aeec72c05bfe', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: '252b01172864c2d97b358a0fde5b0532e7298278', sectionTitle: "Account" }), h("div", { key: '4c1f0b28024141ba16803349f60395406dd31f3f', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '6c4f814276825b92c05226d1dc6522a920ab3e2a', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: 'c3824079766df1788264cb2ee962c5229045212c', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '158c9456436cc58622d1337c11f7443497c7ae38', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '7ce5376d2c1632cbd0bd910e6290ec3caf289b73', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: 'a1f892fe9a638e5b5a4be23e853070355b6cf3bb', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), this.payout.metadata && [
|
|
56
|
+
h(DetailSectionTitle, { key: '61d325fd74f125295c61266528e1d62e04bb6e2e', sectionTitle: 'Metadata' }),
|
|
57
|
+
h("div", { key: 'e574d0558fec57c0f3342c80846eb1469a9cfeb7', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'ca0cc50f11489df465d29e8da5a51495433931d3', metadata: this.payout.metadata }))
|
|
57
58
|
])))));
|
|
58
59
|
}
|
|
59
60
|
static get is() { return "payout-details-core"; }
|
|
@@ -20,8 +20,10 @@ export class PayoutDetails {
|
|
|
20
20
|
this.initializeServices();
|
|
21
21
|
}
|
|
22
22
|
disconnectedCallback() {
|
|
23
|
-
|
|
23
|
+
var _a;
|
|
24
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
24
25
|
}
|
|
26
|
+
;
|
|
25
27
|
propChanged() {
|
|
26
28
|
this.initializeServices();
|
|
27
29
|
}
|
|
@@ -40,8 +40,10 @@ export class PayoutTransactionsList {
|
|
|
40
40
|
this.initializeApi();
|
|
41
41
|
}
|
|
42
42
|
disconnectedCallback() {
|
|
43
|
-
|
|
43
|
+
var _a;
|
|
44
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
44
45
|
}
|
|
46
|
+
;
|
|
45
47
|
propChanged() {
|
|
46
48
|
this.initializeApi();
|
|
47
49
|
}
|
|
@@ -93,7 +95,7 @@ export class PayoutTransactionsList {
|
|
|
93
95
|
return Object.assign({ payout_id: this.payoutId, limit: '15' }, this.pagingParams);
|
|
94
96
|
}
|
|
95
97
|
render() {
|
|
96
|
-
return (h(StyledHost, { key: '
|
|
98
|
+
return (h(StyledHost, { key: 'd37f96bf4e1d40607d3190791f513df5c1ce02d1' }, h(TableWrapper, { key: 'a6d2b2c342b6286630acb804b93c846ac42eff9b' }, h(TableComponent, { key: 'abcb7a3bbca27973bafdf0a0a1d9316d9e668aa9' }, h(TableHead, { key: 'e79c0ee71e45ca1379e354f939368cacbf1bd74e' }, h(TableHeadRow, { key: 'c64962612a826a5e53c921f43170f1d1ba16399a' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '7b33c299ac42c4e668cb4c967ecc5324ec56ede3' }, h(TableLoadingState, { key: '096000771b0ce2fe37db3329315bd780af9977a1', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '48ff70675d33875b8fdcf7c7ddf9ceed413ca2e8', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '4ffffbd73a18ef281209adbe870383f744d51da5', 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: '8ba623495a597e10bc8708b9984c9da92e3750a4' }, h(TableFootRow, { key: '01f6405cef206cbaf487013370ccd7c312eca3b5' }, h(TableFootCell, { key: '0b94346d3ed5f431393e2df93f0baa81b8804d2b', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: 'c7a24d435a90c4f8db5c0f71b1a120b11cd01b7b', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
97
99
|
}
|
|
98
100
|
static get is() { return "justifi-payout-transactions-list"; }
|
|
99
101
|
static get encapsulation() { return "shadow"; }
|