@justifi/webcomponents 5.7.6-rc-03 → 5.7.6-rc-04
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/{ComponentError-CEv9ltwy.js → ComponentError-D4OLnOkg.js} +8 -0
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +3 -3
- package/dist/cjs/{business.service-CZrK48lv.js → business.service--Zv-Xtu4.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-DBocF2eE.js → check-pkg-version-Bp51QhAR.js} +2 -2
- package/dist/cjs/{checkout.service-CllLA9W6.js → checkout.service-BBD6v0cl.js} +1 -1
- package/dist/cjs/{checkout.store--pVCO0L1.js → checkout.store-B58bewb_.js} +2 -1
- package/dist/cjs/checkouts-list-core.cjs.entry.js +2 -2
- package/dist/cjs/custom-popper.cjs.entry.js +2 -2
- package/dist/cjs/{dispute.service-Chptj-DX.js → dispute.service-BHApwZdH.js} +1 -1
- 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/form-control-select_3.cjs.entry.js +4 -4
- package/dist/cjs/{get-business-BiEc-jdH.js → get-business-o5jPq_ME.js} +2 -2
- package/dist/cjs/{get-payment-details-C3qBZVdv.js → get-payment-details-7PreAOdF.js} +2 -2
- package/dist/cjs/{get-payout-csv-CdNRRH0t.js → get-payout-csv-DE_D9y08.js} +2 -2
- package/dist/cjs/{get-subaccounts-DKyvT-ZF.js → get-subaccounts-CtelAONX.js} +2 -2
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
- package/dist/cjs/{insurance-state-kH0kuTD8.js → insurance-state-B3CYpJWi.js} +18 -0
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +1 -1
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +4 -4
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/justifi-bank-account-form_7.cjs.entry.js +18 -17
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +8 -5
- package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
- package/dist/cjs/justifi-business-form.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkout-summary_5.cjs.entry.js +51 -26
- package/dist/cjs/justifi-checkout.cjs.entry.js +4 -4
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +6 -6
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +8 -8
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -4
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +8 -8
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-details.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payout-details.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +6 -6
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +6 -6
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +38 -12
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-BM2FCIB8.js → package-BMSb1ui9.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +8 -8
- package/dist/cjs/{payment-provisioning-actions-SNMCdsyF.js → payment-provisioning-actions-CZVlnRA0.js} +2 -2
- package/dist/cjs/{payment.service-C6kdaQYS.js → payment.service-C9qxqaJk.js} +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{payout.service-CLnAr59x.js → payout.service-DiSYeR_q.js} +1 -1
- package/dist/cjs/payouts-list-core.cjs.entry.js +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +3 -3
- package/dist/cjs/{terminal-orders-table-DTZUpjkG.js → terminal-orders-table-DnZjcbSQ.js} +1 -1
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-CcBCXxNm.js → terminal.service-DEIY9toR.js} +1 -1
- package/dist/cjs/terminals-list-core.cjs.entry.js +2 -2
- package/dist/cjs/{utils-IGCnjtqc.js → utils-DvUQQLmR.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/actions/checkout/checkout-actions.js +2 -1
- package/dist/collection/api/ComponentError.js +8 -0
- package/dist/collection/collection-manifest.json +6 -6
- package/dist/collection/components/checkout/billing-form/billing-form.js +7 -4
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/save-new-payment-method.js +7 -5
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
- 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/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/insurance/insurance-state.js +18 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
- package/dist/collection/components/modular-checkout/modular-checkout.js +43 -16
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/billing-information-form.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/postal-code-form.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
- package/dist/collection/components/order-terminals/order-terminals.js +1 -1
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +8 -8
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
- 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 +1 -1
- package/dist/collection/components/payout-details/payout-details-core.js +3 -3
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
- 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 +1 -1
- 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 +1 -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 +1 -1
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +37 -17
- package/dist/collection/store/checkout.store.js +2 -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-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -1
- package/dist/docs.json +8 -13
- package/dist/esm/{ComponentError-BhrFjjAs.js → ComponentError-Cjcsf8ku.js} +9 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +3 -3
- package/dist/esm/{business.service-BPBxsb8B.js → business.service-ArD_uRLb.js} +1 -1
- package/dist/esm/card-form.entry.js +2 -2
- package/dist/esm/{check-pkg-version-Cic-MeLf.js → check-pkg-version-CwPXpnQZ.js} +2 -2
- package/dist/esm/{checkout.service-C1WAmUiU.js → checkout.service-BgDCPjQU.js} +1 -1
- package/dist/esm/{checkout.store-GXtlf5-4.js → checkout.store-td03RV8y.js} +2 -1
- package/dist/esm/checkouts-list-core.entry.js +2 -2
- package/dist/esm/custom-popper.entry.js +2 -2
- package/dist/esm/{dispute.service-bQh-LG0z.js → dispute.service-C2dMLW9w.js} +1 -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/form-control-select_3.entry.js +4 -4
- package/dist/esm/{get-business-BSRtbTh7.js → get-business-Crb6P-iI.js} +2 -2
- package/dist/esm/{get-payment-details-B193kh7P.js → get-payment-details-BN-K_5Ry.js} +2 -2
- package/dist/esm/{get-payout-csv-U_pgdPpb.js → get-payout-csv-D-Lnooki.js} +2 -2
- package/dist/esm/{get-subaccounts-DcgISPei.js → get-subaccounts-DrFpGKDV.js} +2 -2
- package/dist/esm/gross-payment-chart-core.entry.js +1 -1
- package/dist/esm/hidden-input_2.entry.js +5 -5
- package/dist/esm/insurance-state-BQks6cMA.js +39 -0
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +1 -1
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +4 -4
- package/dist/esm/justifi-additional-statement_8.entry.js +8 -8
- package/dist/esm/justifi-bank-account-form_7.entry.js +18 -17
- package/dist/esm/justifi-billing-form_2.entry.js +8 -5
- package/dist/esm/justifi-business-details.entry.js +6 -6
- package/dist/esm/justifi-business-form.entry.js +6 -6
- package/dist/esm/justifi-checkout-summary_5.entry.js +51 -26
- package/dist/esm/justifi-checkout.entry.js +4 -4
- package/dist/esm/justifi-checkouts-list-filters.entry.js +2 -2
- package/dist/esm/justifi-checkouts-list.entry.js +7 -7
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +6 -6
- package/dist/esm/justifi-dispute-notification_3.entry.js +8 -8
- package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
- package/dist/esm/justifi-order-terminals.entry.js +8 -8
- package/dist/esm/justifi-owner-form_3.entry.js +4 -4
- package/dist/esm/justifi-payment-details.entry.js +6 -6
- package/dist/esm/justifi-payment-provisioning-core.entry.js +1 -1
- package/dist/esm/justifi-payment-provisioning.entry.js +6 -6
- package/dist/esm/justifi-payment-transactions-list.entry.js +6 -6
- package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payments-list.entry.js +6 -6
- package/dist/esm/justifi-payout-details.entry.js +6 -6
- package/dist/esm/justifi-payout-transactions-list.entry.js +6 -6
- package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +8 -8
- package/dist/esm/justifi-refund-payment.entry.js +6 -6
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +6 -6
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list.entry.js +6 -6
- package/dist/esm/justifi-terminals-list-filters.entry.js +2 -2
- package/dist/esm/justifi-terminals-list.entry.js +7 -7
- package/dist/esm/justifi-tokenize-payment-method.entry.js +39 -13
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-BRJ4FIJH.js → package-HlNEzyiZ.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +8 -8
- package/dist/esm/{payment-provisioning-actions-2qP7AtHj.js → payment-provisioning-actions-ONP8lDnV.js} +2 -2
- package/dist/esm/{payment.service-BTVtIbcY.js → payment.service-DPsRcwWM.js} +1 -1
- package/dist/esm/payments-list-core.entry.js +2 -2
- package/dist/esm/payout-details-core.entry.js +3 -3
- package/dist/esm/{payout.service-j8w34GsW.js → payout.service-CoVFefK5.js} +1 -1
- package/dist/esm/payouts-list-core.entry.js +2 -2
- package/dist/esm/table-filters-menu.entry.js +1 -1
- package/dist/esm/terminal-orders-list-core.entry.js +3 -3
- package/dist/esm/{terminal-orders-table-BWf9quiN.js → terminal-orders-table-Da4IvBtB.js} +1 -1
- package/dist/esm/terminal-quantity-selector.entry.js +1 -1
- package/dist/esm/{terminal.service-BDRGcUj-.js → terminal.service-CnPV1i9J.js} +1 -1
- package/dist/esm/terminals-list-core.entry.js +2 -2
- package/dist/esm/{utils-BZvep88z.js → utils-BeQLScSm.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Refund.js +9 -1
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/bank-account.js +2 -2
- package/dist/module/billing-form.js +7 -4
- package/dist/module/billing-information-form.js +1 -1
- package/dist/module/business-bank-account-form-step-core.js +1 -1
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-form.js +2 -2
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout.store.js +2 -1
- package/dist/module/checkouts-list-core2.js +1 -1
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +1 -1
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/dispute-response.js +1 -1
- package/dist/module/duplicate-charge.js +1 -1
- package/dist/module/electronic-evidence.js +1 -1
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/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/insurance-state.js +18 -1
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-checkouts-list-filters.js +2 -2
- package/dist/module/justifi-checkouts-list.js +2 -2
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-modular-checkout.js +2 -2
- package/dist/module/justifi-order-terminals.js +2 -2
- package/dist/module/justifi-payment-transactions-list.js +2 -2
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-details.js +1 -1
- package/dist/module/justifi-payout-transactions-list.js +2 -2
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +2 -2
- package/dist/module/justifi-radio-list-item2.js +1 -1
- package/dist/module/justifi-refund-payment.js +1 -1
- package/dist/module/justifi-season-interruption-insurance.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/module/justifi-terminal-orders-list.js +2 -2
- package/dist/module/justifi-terminals-list-filters.js +2 -2
- package/dist/module/justifi-terminals-list.js +2 -2
- package/dist/module/justifi-tokenize-payment-method.js +36 -10
- package/dist/module/modular-checkout.js +46 -19
- package/dist/module/package.js +1 -1
- package/dist/module/payment-details-core2.js +8 -8
- package/dist/module/payment-method-option2.js +1 -1
- package/dist/module/payments-list-core2.js +1 -1
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payouts-list-core2.js +1 -1
- package/dist/module/postal-code-form.js +1 -1
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/save-new-payment-method.js +7 -5
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/summary.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +2 -2
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminals-list-core2.js +1 -1
- package/dist/types/api/ComponentError.d.ts +7 -0
- package/dist/types/components/checkout/save-new-payment-method.d.ts +1 -1
- package/dist/types/components/insurance/insurance-state.d.ts +2 -1
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +2 -2
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +8 -4
- package/dist/types/components.d.ts +2 -2
- package/dist/types/store/checkout.store.d.ts +2 -1
- package/dist/webcomponents/p-00c2f5d5.entry.js +1 -0
- package/dist/webcomponents/{p-f67133f0.entry.js → p-046fee8c.entry.js} +1 -1
- package/dist/webcomponents/p-0a0ed7a4.entry.js +1 -0
- package/dist/webcomponents/{p-3add112c.entry.js → p-0cb64945.entry.js} +1 -1
- package/dist/webcomponents/{p-f6ad1d58.entry.js → p-0e44afa7.entry.js} +1 -1
- package/dist/webcomponents/p-16583f91.entry.js +1 -0
- package/dist/webcomponents/{p-a95db9a6.entry.js → p-195cf5cc.entry.js} +1 -1
- package/dist/webcomponents/{p-c0bd6405.entry.js → p-1b1fe3de.entry.js} +1 -1
- package/dist/webcomponents/{p-8a1171de.entry.js → p-1c7d9b90.entry.js} +1 -1
- package/dist/webcomponents/p-1ce1df1e.entry.js +1 -0
- package/dist/webcomponents/{p-dd3749ed.entry.js → p-24e1a686.entry.js} +1 -1
- package/dist/webcomponents/{p-628cf20a.entry.js → p-2abf1785.entry.js} +1 -1
- package/dist/webcomponents/{p-7929bdae.entry.js → p-2dcf196f.entry.js} +1 -1
- package/dist/webcomponents/{p-19c07145.entry.js → p-302f7632.entry.js} +1 -1
- package/dist/webcomponents/{p-b860ec37.entry.js → p-39ca43e0.entry.js} +1 -1
- package/dist/webcomponents/p-3eb5f196.entry.js +1 -0
- package/dist/webcomponents/p-4045631f.entry.js +1 -0
- package/dist/webcomponents/{p-366dba79.entry.js → p-429618a4.entry.js} +1 -1
- package/dist/webcomponents/{p-f9bddc04.entry.js → p-444fb5a6.entry.js} +1 -1
- package/dist/webcomponents/{p-a9ed792e.entry.js → p-45b0a91c.entry.js} +1 -1
- package/dist/webcomponents/{p-b9d1d9dd.entry.js → p-4907e95b.entry.js} +1 -1
- package/dist/webcomponents/p-4a0a4314.entry.js +1 -0
- package/dist/webcomponents/{p-9bf095d2.entry.js → p-4aaaa44e.entry.js} +1 -1
- package/dist/webcomponents/{p-97429fb4.entry.js → p-4b34b9af.entry.js} +1 -1
- package/dist/webcomponents/{p-BxfUcCXo.js → p-5aA7gjr5.js} +1 -1
- package/dist/webcomponents/p-5e71f4d4.entry.js +1 -0
- package/dist/webcomponents/{p-2437703b.entry.js → p-6a06da8a.entry.js} +1 -1
- package/dist/webcomponents/p-6bafb4b5.entry.js +1 -0
- package/dist/webcomponents/{p-8b2f81b4.entry.js → p-6d1f2d57.entry.js} +1 -1
- package/dist/webcomponents/{p-d69d09e6.entry.js → p-75545aec.entry.js} +1 -1
- package/dist/webcomponents/p-7b07255f.entry.js +1 -0
- package/dist/webcomponents/p-7b925204.entry.js +1 -0
- package/dist/webcomponents/{p-c70dc6bd.entry.js → p-831857dc.entry.js} +1 -1
- package/dist/webcomponents/p-85c0953d.entry.js +1 -0
- package/dist/webcomponents/p-85ebdce5.entry.js +1 -0
- package/dist/webcomponents/{p-bbd0aa4e.entry.js → p-880718b9.entry.js} +1 -1
- package/dist/webcomponents/p-88b6dbdd.entry.js +1 -0
- package/dist/webcomponents/p-8e0c6f60.entry.js +1 -0
- package/dist/webcomponents/p-90edbaa3.entry.js +1 -0
- package/dist/webcomponents/{p-d3c966f4.entry.js → p-97c0d873.entry.js} +1 -1
- package/dist/webcomponents/p-9e48a264.entry.js +1 -0
- package/dist/webcomponents/{p-BtT7kqMw.js → p-B3qJZUMy.js} +1 -1
- package/dist/webcomponents/{p-ClSZshaa.js → p-BNd9xVOU.js} +1 -1
- package/dist/webcomponents/{p-RXUoM7A2.js → p-BZ9YQ3FA.js} +1 -1
- package/dist/webcomponents/{p-D0Ko1H7J.js → p-Bka75aL-.js} +1 -1
- package/dist/webcomponents/p-Cjcsf8ku.js +1 -0
- package/dist/webcomponents/p-D2muobcE.js +1 -0
- package/dist/webcomponents/p-DH8F0bsw.js +1 -0
- package/dist/webcomponents/{p-Dn0KGDtq.js → p-DMuY7Dka.js} +1 -1
- package/dist/webcomponents/p-DYGIC0QH.js +1 -0
- package/dist/webcomponents/{p-1Or21UzV.js → p-DgxD9dbc.js} +1 -1
- package/dist/webcomponents/{p-Ph6Ebeu2.js → p-Do0fsKZk.js} +1 -1
- package/dist/webcomponents/p-HlNEzyiZ.js +1 -0
- package/dist/webcomponents/{p-BJuv5Y2i.js → p-O50LiN_p.js} +1 -1
- package/dist/webcomponents/{p-DZR542ci.js → p-S_UV9-px.js} +1 -1
- package/dist/webcomponents/p-X2PeOHf5.js +1 -0
- package/dist/webcomponents/p-_WsRuUBr.js +1 -0
- package/dist/webcomponents/{p-acf4c099.entry.js → p-a3c6c55e.entry.js} +1 -1
- package/dist/webcomponents/p-af935779.entry.js +1 -0
- package/dist/webcomponents/p-b01801a6.entry.js +1 -0
- package/dist/webcomponents/p-b58fb1b1.entry.js +1 -0
- package/dist/webcomponents/{p-d49b80b1.entry.js → p-b8906c49.entry.js} +1 -1
- package/dist/webcomponents/p-c1bf875b.entry.js +1 -0
- package/dist/webcomponents/p-c26ef276.entry.js +1 -0
- package/dist/webcomponents/{p-ede5eb9d.entry.js → p-c5331724.entry.js} +1 -1
- package/dist/webcomponents/p-c6bd05ef.entry.js +1 -0
- package/dist/webcomponents/{p-8aefc49f.entry.js → p-d5e4e888.entry.js} +1 -1
- package/dist/webcomponents/{p-0dcc215b.entry.js → p-e9c44dc2.entry.js} +1 -1
- package/dist/webcomponents/{p-18aa8190.entry.js → p-edf9128c.entry.js} +1 -1
- package/dist/webcomponents/{p-c06bd8ea.entry.js → p-f3c2de89.entry.js} +1 -1
- package/dist/webcomponents/{p-8027e13f.entry.js → p-f6ff7255.entry.js} +1 -1
- package/dist/webcomponents/{p-ca6d05f9.entry.js → p-f8a0821d.entry.js} +1 -1
- package/dist/webcomponents/p-fcb6c171.entry.js +1 -0
- package/dist/webcomponents/{p-889e8be8.entry.js → p-fd4d7c7e.entry.js} +1 -1
- package/dist/webcomponents/{p-ButA5T4e.js → p-pMAKJWDL.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/esm/insurance-state-DeyYNyas.js +0 -22
- package/dist/webcomponents/p-072d93c9.entry.js +0 -1
- package/dist/webcomponents/p-1f76ae29.entry.js +0 -1
- package/dist/webcomponents/p-20eb7015.entry.js +0 -1
- package/dist/webcomponents/p-24f30623.entry.js +0 -1
- package/dist/webcomponents/p-2abae807.entry.js +0 -1
- package/dist/webcomponents/p-35411771.entry.js +0 -1
- package/dist/webcomponents/p-48e406f1.entry.js +0 -1
- package/dist/webcomponents/p-4d0373a7.entry.js +0 -1
- package/dist/webcomponents/p-5cb87816.entry.js +0 -1
- package/dist/webcomponents/p-66422cbd.entry.js +0 -1
- package/dist/webcomponents/p-7a52bdb5.entry.js +0 -1
- package/dist/webcomponents/p-7e24a1f7.entry.js +0 -1
- package/dist/webcomponents/p-98b6943a.entry.js +0 -1
- package/dist/webcomponents/p-9c1e3fb8.entry.js +0 -1
- package/dist/webcomponents/p-BRJ4FIJH.js +0 -1
- package/dist/webcomponents/p-BeNhCG1Q.js +0 -1
- package/dist/webcomponents/p-BhrFjjAs.js +0 -1
- package/dist/webcomponents/p-DKClunJd.js +0 -1
- package/dist/webcomponents/p-NqdaxjDT.js +0 -1
- package/dist/webcomponents/p-b893d5fa.entry.js +0 -1
- package/dist/webcomponents/p-baa04544.entry.js +0 -1
- package/dist/webcomponents/p-bf2ba40d.entry.js +0 -1
- package/dist/webcomponents/p-c0955693.entry.js +0 -1
- package/dist/webcomponents/p-c6473b9b.entry.js +0 -1
- package/dist/webcomponents/p-d1c1c642.entry.js +0 -1
- package/dist/webcomponents/p-dfaf5b14.entry.js +0 -1
- package/dist/webcomponents/p-eccb77fa.entry.js +0 -1
- package/dist/webcomponents/p-eefe4d71.entry.js +0 -1
- package/dist/webcomponents/p-f4f3bca9.entry.js +0 -1
- package/dist/webcomponents/p-pGzabKc7.js +0 -1
- package/dist/webcomponents/p-xIyLUOJ6.js +0 -1
|
@@ -38,16 +38,16 @@ export class PaymentDetailsCore {
|
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (h(StyledHost, { key: '
|
|
42
|
-
this.payment && (h("justifi-details", { key: '
|
|
43
|
-
h(DetailSectionTitle, { key: '
|
|
44
|
-
h("div", { key: '
|
|
41
|
+
return (h(StyledHost, { key: '543dad947d01344e9e5009110bddb5821a02937f' }, this.loading && h(PaymentDetailsLoading, { key: 'abcd6ef7e515e16de73c67899c7cbfc9b70ab33e' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
|
|
42
|
+
this.payment && (h("justifi-details", { key: 'b483164e45760433b992e0e2963286b8b09ffa5b', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: 'b9683686f022496a692aa3110aa8a45fbc5e20a8', 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: 'aee5d5a5094b6f28ca91768f367c722c36839503', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: '2b6e98971b18a1eac443eb533a970eac31e10b00', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '1eb83f88d6f03498b5c727e12b6bb9843a39c484', title: "ID", value: this.payment.id })), h("div", { key: '65084d14a86e1083a04d3a5ec090836c127e9b2b', slot: 'detail-sections' }, h(DetailSectionTitle, { key: 'c39fb2358ffd27569eaa1d53f2b84436d8c3d13d', sectionTitle: "Details" }), h("div", { key: 'f553f918635184ce74a961adf048e0aef8e4095e', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '10904bbe38efc40725407691278d5ef1e050c19a', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: 'd508f41ab412a26de5d77677083ac5caa5acdbc1', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'cbd6726b86287968734945591503e72fcf3c33d1', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: '0c826a82c18fc6ddcceafaca8e7c2a365d66ed35', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: '891a37d3c9a7ef23dca67f46a0c889d1be15d7ec', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: '4072981c52ccf3c44e1539a7faa5c3b71a4d5bc0', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '268e56e5219ce1c32ccbd0fc8b8baea0c0bc3e14', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '6c168b8af36129c1463abb5f2297501c6748c53c', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: 'a8f5fffc9ba51dff3e7fbd792c94b0281f8c6bfe', title: "Description", value: this.payment.description }), h(DetailItem, { key: '420e914293457433d5b3ca2251c2732bbaf93124', title: "Expedited", value: this.payment.expedited ? 'Yes' : 'No' })), this.payment.payment_method.card && [
|
|
43
|
+
h(DetailSectionTitle, { key: '2f8e24f28b11e7ce54013d69ea093c68c0aaa6eb', sectionTitle: "Payment Method" }),
|
|
44
|
+
h("div", { key: '49dc2c4227ae2ecacd633ec0e3f70ad084e1149b', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '1a082c26a64699c83a9ef591a67c104c28d2f701', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: 'cf65c3bee1a9468a271a20568bf4a94e793134c9', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '20844b52ca50fcf86232b00d28dffbac9255500d', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: 'bbe9028644fd810993fbd41515377efafa42104a', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '0497fb5cd1dc27c3b6231c9f4a7a90280e91bd14', title: "Cardholder", value: this.payment.payment_method.payersName }))
|
|
45
45
|
], this.payment.payment_method.bank_account && [
|
|
46
|
-
h(DetailSectionTitle, { key: '
|
|
47
|
-
h("div", { key: '
|
|
46
|
+
h(DetailSectionTitle, { key: '8d1bf178e46cbbc4f032921131596287ebbef3e9', sectionTitle: "Payment Method" }),
|
|
47
|
+
h("div", { key: '229f45908714278751ff15130055f9fee4c9d433', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '8f5bcea109acde4bdda0f075277ec8c452a33c05', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '5ab277a94c113f1b3abfa596dc82444d6e7fe6fc', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '3816609a36fa8bb3a6391fa00b92244a438de013', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: 'fc14e9b11c89f738df3318d1ef8919b07d57c027', title: "Account Owner", value: this.payment.payment_method.payersName }))
|
|
48
48
|
], this.payment.metadata && [
|
|
49
|
-
h(DetailSectionTitle, { key: '
|
|
50
|
-
h("div", { key: '
|
|
49
|
+
h(DetailSectionTitle, { key: 'd89b23ef22f085b803b6b551ca6e0d4ba8d13d06', sectionTitle: 'Metadata' }),
|
|
50
|
+
h("div", { key: '116486645abcf17cf8641c2dc009982a506b0745', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '3f682166ca1acfc896281b85afb8e8514240b2dd', metadata: this.payment.metadata }))
|
|
51
51
|
])))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "payment-details-core"; }
|
|
@@ -91,7 +91,7 @@ export class PaymentTransactionsList {
|
|
|
91
91
|
return !this.showEmptyState && !this.showErrorState && !this.isLoading;
|
|
92
92
|
}
|
|
93
93
|
render() {
|
|
94
|
-
return (h(StyledHost, { key: '
|
|
94
|
+
return (h(StyledHost, { key: '5c698480143316a0bde55f786e43c38078101fe2' }, h(TableWrapper, { key: '7aa76eeecda5074a4f80f845be5458caf2dfc3d2' }, h(TableComponent, { key: '901404b33447a3b2aad2c203d9a69dd418cc9e20' }, h(TableHead, { key: '78b100e8c6c53f0d92cd67eb5f74299d78f8f2bf' }, h(TableHeadRow, { key: 'd8bde261d1b1169757175660303917c3edac3ed2' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: 'c08217fd1645c8c3649c97180612cac7babd4a83' }, h(TableLoadingState, { key: 'e8005f54f42b00e11bef86371430d90f72a9e277', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '0b844b8669272a660f434a160643cca60008b9ab', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '600ab04c6d42513bbd8968c30d9419ced62ee4e1', 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: 'a30dcd95290c541609ecbc2ce8ace8d16e976c61' }, h(TableFootRow, { key: '03be11678b4e7bafeb9d4d5b71ca05f1a64cd622' }, h(TableFootCell, { key: '07d1b9c331d3d4826d205f9d7ecd77dfa8e38878', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '3037569e28276b7c88b7ac4f0ab72a2c3fe5d5b9', 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"; }
|
|
@@ -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: '3d19bff21b3edbd06817f4e91110a6b53ad2b6aa' }, h(TableComponent, { key: '3f32495d49ad96a643bd11d21b140458bf26c3bd' }, h(TableHead, { key: 'db75917e259fb0fea5e1396d388aacac38fc768f' }, h(TableHeadRow, { key: '22de3e5cc40b0ece323e8fed97580c94598ccea0' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: '4fd97328884439dea3e036169753b39f9e7b6053' }, h(TableLoadingState, { key: 'c9bb14a64dc3243dacb39eb22ceeffad0abd49e3', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '68e583dc13ffc089067cc54c2be9ca7898efa116', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '14ac8451b9da3d5c39164620c69b8e0aab282145', 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: '55ddfb968541d296ea896ae14c80f1557185e920' }, h(TableFootRow, { key: 'a9ed770e075d1be82444266e842b2bf8ace67a7a' }, h(TableFootCell, { key: '6d82711cd658231009c7a3e66058c9895f9e431e', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: '51c4436c22c62ed82d960011e8c799673cdbf2c9', 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: 'e3174a9f9310710297a74ee02d658a168af131eb' }, h("table-filters-menu", { key: '2336d8d7a05e259ce065d259357243f9a844e32a', params: filterMenuParams, clearParams: clearParams, part: paymentsListFilterMenu }, h("div", { key: '49ba13212d5ae28e55520a34592d61b3c7def2eb', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '427fdf6a569332a102b7e5bb475d4a71c0d36d5b', class: "p-2" }, h("form-control-text", { key: '10845be407149cc17c8c75e3b87c38ac6714dccf', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: paymentIdPaymentsListFilterParam })), h("div", { key: '447bc64b346db7ef5711703b22672518ef981e8a', class: "p-2" }, h("form-control-text", { key: '3620bae1b22ee69ed6688b20569b43d2cee52280', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdPaymentsListFilterParam })), h("div", { key: '4d064b2a739491084106daade8b3cfd4170752ee', class: "p-2" }, h("form-control-select", { key: '2c444d8c97fc0f676c91aec3da7d91d09997c5cc', 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: '0440ce666625e61b53844ef1a1a81a79fbeb5e36', class: "p-2" }, h("form-control-date", { key: '288c369557cbc4386093aedefec2963942820508', 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: 'ceebd4e7896ae0ee7395d0558650f9cff2810029', class: "p-2" }, h("form-control-date", { key: '2433bd25ca1dfaf7c5d284d367fcbe7c8730bc6c', 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"; }
|
|
@@ -46,7 +46,7 @@ export class PaymentsList {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
return (h(StyledHost, { key: '
|
|
49
|
+
return (h(StyledHost, { key: '9bdcd5443ceacad1dd33b4c2b47f65dca63eb196' }, h("payments-list-core", { key: 'b5d4907c84add674afe115baefff6ab75a6bc797', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "justifi-payments-list"; }
|
|
52
52
|
static get encapsulation() { return "shadow"; }
|
|
@@ -52,9 +52,9 @@ export class PayoutDetailsCore {
|
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
54
|
var _a;
|
|
55
|
-
return (h(StyledHost, { key: '
|
|
56
|
-
h(DetailSectionTitle, { key: '
|
|
57
|
-
h("div", { key: '
|
|
55
|
+
return (h(StyledHost, { key: 'a109088ffaa3437430299158bde07f695f6ed0a8' }, this.loading && h(PayoutDetailsLoading, { key: 'da2a9f3b35291bbd1abea3de3174b77ee58586f2' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'b97b623716beaa39a2d9d5d9dde554b461948fae', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '716414411ca5d8d5e30c7f52aa4d8a94c5dfb163', 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: '898b1578cbc0b90a6ebd305ffcf45c996ea36942', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: 'ab03a03ba80781aa760bed450944c35f0210216c', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: 'f65b10fd429d33391471cbacccc001d38943331c', title: "ID", value: this.payout.id }), h("div", { key: 'f0716854307a8208d486448c1e7e7c2e9f7bea9e', class: "m-4" }, h(Button, { key: 'b9b963854f14f508984eb70d37656226b334d882', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '70df708f9f7ddda9d21a58481b7937a567ff0179', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '24f60a66b848ba091a75fe7877c23b1c45a790ad', sectionTitle: "Details" }), h("div", { key: 'c97f709a9030081871ed6b8878b8d9d73cbdb51d', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '7782dfef517e23171d7b1d3023a019dc51731f7d', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: 'edcef38d00c9febe83acebd6c4c4e462ee8c117f', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '2ae0d6434310d6c726226e6e8199d58f531ead31', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: 'dfd06d7613a315366982cafad64214d41246bc18', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '0c3b97b7eb651863b5df30989d059e0cb9c94967', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: '245a0a7a705d7bae8aa8c6b42513ce613d6b2238', sectionTitle: "Account" }), h("div", { key: '914381b1cd84b4ee90f994226054b9ca241707f7', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'f62e176e6dd5d74dae815a2eccd25b96d1bedb17', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: '893f89d10f01718d7dee7621e9d7572f8789084f', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '2531d9a01f8c016edbcf4687ea652fe57dcd6b54', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '107cadba8101d230777f7011e2444e31d9db4ca2', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: '85919cc3b23f149a1a488e7dc2dea262df59938f', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), this.payout.metadata && [
|
|
56
|
+
h(DetailSectionTitle, { key: 'b54afae3f6a3310483988076c3f5548edf51e605', sectionTitle: 'Metadata' }),
|
|
57
|
+
h("div", { key: '0d25df6c414f619088441e9286f47a17920ac0bd', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '14aa74c5756f5bf83769d166ee6ee56317506747', metadata: this.payout.metadata }))
|
|
58
58
|
])))));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "payout-details-core"; }
|
|
@@ -95,7 +95,7 @@ export class PayoutTransactionsList {
|
|
|
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: '5a763f027a36c6017a7147ee9c3120268f43cb54' }, h(TableWrapper, { key: 'e643902555cf3c155305dfdf6c8d0f69034f193e' }, h(TableComponent, { key: '5d3c8dc3dac3bb92bdb1f1b4ac43f4b7f3139b9d' }, h(TableHead, { key: '9e8619e07107e0dadad8808beb9d12237fb4d926' }, h(TableHeadRow, { key: 'a453b3c6673d340adc818ec0650a504efd7805d9' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '57c2a6a1b5670cc8d095dbac9e2d4aea3f800d98' }, h(TableLoadingState, { key: '543c94396578d7b0b3827e9f87e3469612da2be6', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '1463ab045fcd54c413223e329356a00c07601fac', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '6f871d83b2a7230b19e5b2a0841339bff8fbdc24', 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: '6b793c9a4fdf5fc8652adea2c7f50cd400584190' }, h(TableFootRow, { key: 'd7b7d83952a2c3912d4dd3c6d26907af1a6f09b5' }, h(TableFootCell, { key: '1ee540a539d1afdd8daada8cae209811408994ce', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '52af21d0813b3bcb371ed01a0b656d63f8f2fc5b', 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"; }
|
|
@@ -135,7 +135,7 @@ export class PayoutsListCore {
|
|
|
135
135
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
136
136
|
}
|
|
137
137
|
render() {
|
|
138
|
-
return (h(TableWrapper, { key: '
|
|
138
|
+
return (h(TableWrapper, { key: 'eef5a9a859e8e36659052ff0f1b0ef1f4ac3e44e' }, h(TableComponent, { key: 'd20e57e7b2a4d6be3e264cb0236bd08e2528451f' }, h(TableHead, { key: '12052d8c0ed0eb32eb7a3a92d5a656de1cebf589' }, h(TableHeadRow, { key: '664433d91c5541b659668a78000e4b08679948d7' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: 'bc13cd29949d1a4c2ac3ae7d4116a74bff8be79b' }, h(TableLoadingState, { key: '702fd0736a903b0f580cfd55dcc8e2e1ce11a25b', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'fce7164d3b1916962fc86e259f3440dd7128d75f', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: 'f2c9c7d68cda017d27dd7914c7bda79579743f6a', 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: 'c33c55626523404dcd6660399ef3f44e5f315e84' }, h(TableFootRow, { key: 'b0835d4fcf91c861fa751601839bb34e7b90b88d' }, h(TableFootCell, { key: '26e365e2210561e207346b4477fdb0859d653cce', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: '240c68c350d764a753aa3da63cfd24c70c36fdab', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
139
139
|
}
|
|
140
140
|
static get is() { return "payouts-list-core"; }
|
|
141
141
|
static get properties() {
|
|
@@ -26,8 +26,8 @@ export class PayoutsListFilters {
|
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
28
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
29
|
-
return (h(StyledHost, { key: '
|
|
30
|
-
convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: createdAfterPayoutsListFilterParam })), h("div", { key: '
|
|
29
|
+
return (h(StyledHost, { key: '02e69434ff35558c0ad9ac8478076df56cf35876' }, h("table-filters-menu", { key: '6e5c7f3d86bcf95bf910f1bdd5d83e19c89bb091', params: filterMenuParams, clearParams: clearParams, part: payoutsListFilterMenu }, h("div", { key: '68bedaa81dab9476a4a22e390c3937877e00f9cd', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'd949a6b3fcf31775856f3999514c1a4522caad51', class: "p-2" }, h("form-control-date", { key: '759dd3e02db4cc3984f03efb7d8e4ab2ab05b96b', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDate: true }) ||
|
|
30
|
+
convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: createdAfterPayoutsListFilterParam })), h("div", { key: 'b52a229346b6d1f80e2fee56dfc120a43ee05254', class: "p-2" }, h("form-control-date", { key: 'a9994512753c3a457a3a3edd4c36e53ec83f8b58', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDate: true }) ||
|
|
31
31
|
convertToLocal(filterParams.created_before, { showInputDate: true }), disabled: !!this.createdBefore, part: createdBeforePayoutsListFilterParam }))))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "justifi-payouts-list-filters"; }
|
|
@@ -64,7 +64,7 @@ export class PayoutsList {
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
|
-
return (h(StyledHost, { key: '
|
|
67
|
+
return (h(StyledHost, { key: '1d530a07e25acb9e1d8882c6c2fce6dadbe54081' }, h("payouts-list-core", { key: '09cd63a2b0e2939fd60568de554441361434d983', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "justifi-payouts-list"; }
|
|
70
70
|
static get encapsulation() { return "shadow"; }
|
|
@@ -81,7 +81,7 @@ export class TerminalOrdersListCore {
|
|
|
81
81
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
82
82
|
}
|
|
83
83
|
render() {
|
|
84
|
-
return (h(TableWrapper, { key: '
|
|
84
|
+
return (h(TableWrapper, { key: 'f0a8d6a0fbf50fd446e12aaf677bb87e5ab6d771' }, h(TableComponent, { key: 'abe837d8440b402d89c05fb9425c4962474bed16' }, h(TableHead, { key: '8d5a77322176b1f8ce12174d52de7216179df512' }, h(TableHeadRow, { key: 'd882935974e09bbfe58925b5692caf5af722e2d1' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: '8bb87433e04a6f8d2366e09bc05621ee8e6fa4be' }, h(TableLoadingState, { key: '82343c3b05bc069fd51dd734b4ee4871ca32fb86', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '88db6bbb3b92efd077c7d12cb0c0a204c05261f0', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: 'b2741cc5d3f4ab2cfa4a57ff7474afe59ebabedc', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && 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: '69f0a0dd95c7447b5849814418844343541e794d' }, h(TableFootRow, { key: 'caeb2dcb3ad46a840b2bb154e5fd0d509e468968' }, h(TableFootCell, { key: 'b13f5d5b8cd6340d4c63593f69c560622f38d25b', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '277fa5cdbee972968ccabc7ef396e412b638405b', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
85
85
|
}
|
|
86
86
|
static get is() { return "terminal-orders-list-core"; }
|
|
87
87
|
static get properties() {
|
|
@@ -47,8 +47,8 @@ export class TerminalOrdersListFilters {
|
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
49
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
50
|
-
return (h(StyledHost, { key: '
|
|
51
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterTerminalOrdersListFilterParam })), h("div", { key: '
|
|
50
|
+
return (h(StyledHost, { key: '5b9798d42f48005e7422f1ed2c14372fb3837f2b' }, h("table-filters-menu", { key: '84cd025dd2f18a574cead52ab411105794c7c1c1', params: filterMenuParams, clearParams: clearParams, part: terminalOrdersListFilterMenu }, h("div", { key: '6fee37e85fcd2064793436faaff217ae8fddb326', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'a69fa9c6f69f75bd200a5629843d268c02595498', class: "p-2" }, h("form-control-select", { key: '03ea6ad955f8a5b31011cf3f7446867b43349ae2', name: "order_status", label: "Order Status", options: this.terminalOrderStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderStatus || filterParams.order_status, disabled: !!this.orderStatus, part: orderStatusTerminalOrdersListFilterParam })), h("div", { key: '11b90f152086a43bfcb01f52c8566797884e081d', class: "p-2" }, h("form-control-select", { key: 'bc63d00ea926eafe0f3b02e8ea77e85c44e15cfc', name: "order_type", label: "Order Type", options: this.terminalOrderTypeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderType || filterParams.order_type, disabled: !!this.orderType, part: orderTypeTerminalOrdersListFilterParam })), h("div", { key: '0a7c63e637d8f016bf0e08a2c1bdea5a13c0dde1', class: "p-2" }, h("form-control-date", { key: '449666ba9aa6992999356cd7a153c3908787d80b', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
51
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterTerminalOrdersListFilterParam })), h("div", { key: '4c02f8c7a0b0eb9b330b1a001838e02a3c4bb007', class: "p-2" }, h("form-control-date", { key: 'faebed4ecb1316d06e54cb3204d03098d2eaf892', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
52
52
|
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforeTerminalOrdersListFilterParam }))))));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "justifi-terminal-orders-list-filters"; }
|
|
@@ -43,7 +43,7 @@ export class TerminalOrdersList {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h(StyledHost, { key: '
|
|
46
|
+
return (h(StyledHost, { key: 'e51250fa0af34799ed165080e8d0e1feb31cf6d8' }, h("terminal-orders-list-core", { key: 'b8f7b20bc976805fa522d3f85fe1382f1326381c', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "justifi-terminal-orders-list"; }
|
|
49
49
|
static get encapsulation() { return "shadow"; }
|
|
@@ -118,7 +118,7 @@ export class TerminalsListCore {
|
|
|
118
118
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
119
119
|
}
|
|
120
120
|
render() {
|
|
121
|
-
return (h(TableWrapper, { key: '
|
|
121
|
+
return (h(TableWrapper, { key: '8e70667b4226ce50b486c81ae6387657e4312703' }, h(TableComponent, { key: 'f5740b9bc51f388e8129521970044095839647f6' }, h(TableHead, { key: '8243e52f2836d2dfb58ad6df6ee852ceed57167a' }, h(TableHeadRow, { key: '8159fd34093bbfbd3f28fe30bd2b0c121a9e0b28' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: '5f2d3986717b561648ca7906d85fcffb48e9c098' }, h(TableLoadingState, { key: '968cbf12743cfdbb7bda18d20daeaee0174df069', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '660a04743c58130a6bf7963049db1dcb26843f65', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '662ca47669e44dd8ee32474e58d33e2b73b86efb', 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: 'f7edc58fc126bf3ca0fa3f7319b3c79bbb4e3024' }, h(TableFootRow, { key: 'ac0dfb2b66f8683c062ab14ea43742491daa705a' }, h(TableFootCell, { key: 'd6158f915b086daf88664c0dfccf8f1e50e6dee8', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: 'f85bd4c54bbe9cd13ebd70c164e35beb5c05c7b7', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
122
122
|
}
|
|
123
123
|
static get is() { return "terminals-list-core"; }
|
|
124
124
|
static get properties() {
|
|
@@ -35,7 +35,7 @@ export class TerminalsListFilters {
|
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
37
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
38
|
-
return (h(StyledHost, { key: '
|
|
38
|
+
return (h(StyledHost, { key: '81ef3685f99ca6e33c2facd2bf22f186e54f3250' }, h("table-filters-menu", { key: '97218ed4bf43e21bde0f3ac282d77f584bb042b3', params: filterMenuParams, clearParams: clearParams, part: terminalsListFilterMenu }, h("div", { key: '2f1b8d3d55be6f3448c344a90ababc120723b453', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'ab5d8d959bb8541df3bba8e18775fc1ead7cac48', class: "p-2" }, h("form-control-text", { key: '26234bc40edef8e4cc3be2d83e8a9beeb8906eff', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdTerminalsListFilterParam })), h("div", { key: '1cd238d705fc3222694e882a5848e4f5caadc254', class: "p-2" }, h("form-control-text", { key: 'a8d17bb259f0003207f16c328eebc0673e8c4377', name: "terminal_order_id", label: "Terminal Order ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalOrderId || filterParams.terminal_order_id, disabled: !!this.terminalOrderId, part: terminalOrderIdTerminalsListFilterParam })), h("div", { key: 'fd1a215f7350a74dedd1eabd2c9ea3daaf72bea5', class: "p-2" }, h("form-control-select", { key: 'a2e14787e232b5415d2d4258e56e8618fd7a43bc', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status, disabled: !!this.terminalStatus, part: terminalStatusTerminalsListFilterParam }))))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "justifi-terminals-list-filters"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -61,7 +61,7 @@ export class TerminalsList {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
|
-
return (h(StyledHost, { key: '
|
|
64
|
+
return (h(StyledHost, { key: 'fe998292778d729620666188320650f3a25c5bda' }, h("terminals-list-core", { key: '94d37a1376da8694c78d6b6dfa20528d5c008e7f', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
65
65
|
}
|
|
66
66
|
static get is() { return "justifi-terminals-list"; }
|
|
67
67
|
static get encapsulation() { return "shadow"; }
|
|
@@ -19,7 +19,7 @@ const ERROR_MESSAGES = {
|
|
|
19
19
|
export class TokenizePaymentMethod {
|
|
20
20
|
constructor() {
|
|
21
21
|
this.isLoading = false;
|
|
22
|
-
this.
|
|
22
|
+
this.computedHideSubmitButton = false;
|
|
23
23
|
this.submitButtonText = 'Submit';
|
|
24
24
|
}
|
|
25
25
|
componentWillLoad() {
|
|
@@ -29,6 +29,7 @@ export class TokenizePaymentMethod {
|
|
|
29
29
|
}
|
|
30
30
|
connectedCallback() {
|
|
31
31
|
this.setDefaultSelectedPaymentMethod();
|
|
32
|
+
this.setComputedHideSubmitButton();
|
|
32
33
|
}
|
|
33
34
|
disconnectedCallback() {
|
|
34
35
|
var _a;
|
|
@@ -40,9 +41,6 @@ export class TokenizePaymentMethod {
|
|
|
40
41
|
handleRadioClick(event) {
|
|
41
42
|
this.selectedPaymentMethodId = event.detail;
|
|
42
43
|
}
|
|
43
|
-
handleCheckboxChanged(event) {
|
|
44
|
-
this.saveNewPaymentMethodChecked = event.detail;
|
|
45
|
-
}
|
|
46
44
|
async fillBillingForm(fields) {
|
|
47
45
|
var _a;
|
|
48
46
|
(_a = this.billingFormRef) === null || _a === void 0 ? void 0 : _a.fill(fields);
|
|
@@ -120,6 +118,27 @@ export class TokenizePaymentMethod {
|
|
|
120
118
|
}
|
|
121
119
|
}
|
|
122
120
|
}
|
|
121
|
+
setComputedHideSubmitButton() {
|
|
122
|
+
// If hideSubmitButton prop is explicitly set, use that value
|
|
123
|
+
if (this.hideSubmitButton !== undefined) {
|
|
124
|
+
this.computedHideSubmitButton = this.hideSubmitButton;
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
// Otherwise, auto-detect if component is slotted within modular-checkout
|
|
128
|
+
const isWithinModularCheckout = this.isSlottedWithinModularCheckout();
|
|
129
|
+
this.computedHideSubmitButton = isWithinModularCheckout;
|
|
130
|
+
}
|
|
131
|
+
isSlottedWithinModularCheckout() {
|
|
132
|
+
var _a;
|
|
133
|
+
let parent = (_a = this.host) === null || _a === void 0 ? void 0 : _a.parentElement;
|
|
134
|
+
while (parent) {
|
|
135
|
+
if (parent.tagName === 'JUSTIFI-MODULAR-CHECKOUT') {
|
|
136
|
+
return true;
|
|
137
|
+
}
|
|
138
|
+
parent = parent.parentElement;
|
|
139
|
+
}
|
|
140
|
+
return false;
|
|
141
|
+
}
|
|
123
142
|
get availablePaymentMethods() {
|
|
124
143
|
const methods = [];
|
|
125
144
|
if (!this.disableCreditCard) {
|
|
@@ -195,8 +214,14 @@ export class TokenizePaymentMethod {
|
|
|
195
214
|
}
|
|
196
215
|
}
|
|
197
216
|
buildPaymentMethodMetadata(billingFormFieldValues) {
|
|
198
|
-
return this.
|
|
199
|
-
? Object.assign(Object.assign({}, billingFormFieldValues), { payment_method_group_id: this.
|
|
217
|
+
return this.shouldSavePaymentMethod
|
|
218
|
+
? Object.assign(Object.assign({}, billingFormFieldValues), { payment_method_group_id: this.paymentMethodGroupID }) : Object.assign({}, billingFormFieldValues);
|
|
219
|
+
}
|
|
220
|
+
get paymentMethodGroupID() {
|
|
221
|
+
return this.paymentMethodGroupId || checkoutStore.paymentMethodGroupId;
|
|
222
|
+
}
|
|
223
|
+
get shouldSavePaymentMethod() {
|
|
224
|
+
return !!(this.paymentMethodGroupId || checkoutStore.savePaymentMethod);
|
|
200
225
|
}
|
|
201
226
|
get shouldHideRadioInput() {
|
|
202
227
|
const showCard = !this.disableCreditCard;
|
|
@@ -208,13 +233,13 @@ export class TokenizePaymentMethod {
|
|
|
208
233
|
return (h("div", { class: "payment-method" }, h("justifi-radio-list-item", { name: "paymentMethodType", value: paymentMethodType, checked: isSelected, label: PAYMENT_METHOD_TYPE_LABELS[paymentMethodType], hidden: this.shouldHideRadioInput }), isSelected && this.renderSelectedPaymentMethodForm(paymentMethodType)));
|
|
209
234
|
}
|
|
210
235
|
renderSelectedPaymentMethodForm(paymentMethodId) {
|
|
211
|
-
return (h("div", { class: "mt-4 pb-4" }, this.renderPaymentMethodForm(paymentMethodId), h("justifi-billing-form", { ref: (el) => (this.billingFormRef = el), hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: paymentMethodId }), h("justifi-save-new-payment-method", { hidden: !this.
|
|
236
|
+
return (h("div", { class: "mt-4 pb-4" }, this.renderPaymentMethodForm(paymentMethodId), h("justifi-billing-form", { ref: (el) => (this.billingFormRef = el), hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: paymentMethodId }), h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupID })));
|
|
212
237
|
}
|
|
213
238
|
renderPaymentMethodForm(paymentMethodId) {
|
|
214
239
|
return paymentMethodId === PaymentMethodTypes.card ? (h("justifi-card-form", { ref: (el) => (this.paymentMethodFormRef = el) })) : (h("justifi-bank-account-form", { ref: (el) => (this.paymentMethodFormRef = el) }));
|
|
215
240
|
}
|
|
216
241
|
render() {
|
|
217
|
-
return (h(StyledHost, { key: '
|
|
242
|
+
return (h(StyledHost, { key: 'b8cf3e66f93bf1b1dd2c3116781ddf0168cbd4e7' }, h("form", { key: '70ad04762a32e930b6b96c2d8609577cd5d1e8d6' }, h("fieldset", { key: 'f7a7d53512b3d034999b18b666381c2df04f082b' }, h("div", { key: '6e5be958e583399ac733aefe4ddf935f5aec98df', class: "row gy-3" }, h("div", { key: '2d81034d2d95532a18bef58cdd1635b1d3b1d735', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: 'a791aac6520c187fd336012d97c976ece891edeb', class: "col-12" }, h("justifi-button", { key: '9ff1733b1811fea31b1e4dc41694db4eb40be14c', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
|
|
218
243
|
}
|
|
219
244
|
static get is() { return "justifi-tokenize-payment-method"; }
|
|
220
245
|
static get properties() {
|
|
@@ -362,7 +387,7 @@ export class TokenizePaymentMethod {
|
|
|
362
387
|
"references": {}
|
|
363
388
|
},
|
|
364
389
|
"required": false,
|
|
365
|
-
"optional":
|
|
390
|
+
"optional": true,
|
|
366
391
|
"docs": {
|
|
367
392
|
"tags": [],
|
|
368
393
|
"text": ""
|
|
@@ -381,7 +406,7 @@ export class TokenizePaymentMethod {
|
|
|
381
406
|
"references": {}
|
|
382
407
|
},
|
|
383
408
|
"required": false,
|
|
384
|
-
"optional":
|
|
409
|
+
"optional": true,
|
|
385
410
|
"docs": {
|
|
386
411
|
"tags": [],
|
|
387
412
|
"text": ""
|
|
@@ -397,7 +422,7 @@ export class TokenizePaymentMethod {
|
|
|
397
422
|
return {
|
|
398
423
|
"isLoading": {},
|
|
399
424
|
"selectedPaymentMethodId": {},
|
|
400
|
-
"
|
|
425
|
+
"computedHideSubmitButton": {}
|
|
401
426
|
};
|
|
402
427
|
}
|
|
403
428
|
static get events() {
|
|
@@ -531,6 +556,7 @@ export class TokenizePaymentMethod {
|
|
|
531
556
|
}
|
|
532
557
|
};
|
|
533
558
|
}
|
|
559
|
+
static get elementRef() { return "host"; }
|
|
534
560
|
static get watchers() {
|
|
535
561
|
return [{
|
|
536
562
|
"propName": "disableCreditCard",
|
|
@@ -547,12 +573,6 @@ export class TokenizePaymentMethod {
|
|
|
547
573
|
"target": undefined,
|
|
548
574
|
"capture": false,
|
|
549
575
|
"passive": false
|
|
550
|
-
}, {
|
|
551
|
-
"name": "checkboxChanged",
|
|
552
|
-
"method": "handleCheckboxChanged",
|
|
553
|
-
"target": undefined,
|
|
554
|
-
"capture": false,
|
|
555
|
-
"passive": false
|
|
556
576
|
}];
|
|
557
577
|
}
|
|
558
578
|
}
|
|
@@ -17,8 +17,9 @@ const initialState = {
|
|
|
17
17
|
disablePaymentMethodGroup: false,
|
|
18
18
|
paymentAmount: 0,
|
|
19
19
|
paymentDescription: '',
|
|
20
|
-
paymentMethodGroupId:
|
|
20
|
+
paymentMethodGroupId: undefined,
|
|
21
21
|
paymentMethods: [],
|
|
22
|
+
savePaymentMethod: false,
|
|
22
23
|
selectedPaymentMethod: '',
|
|
23
24
|
totalAmount: 0,
|
|
24
25
|
};
|
|
@@ -80,7 +80,7 @@ export class CustomPopper {
|
|
|
80
80
|
this.hideEvent.emit();
|
|
81
81
|
}
|
|
82
82
|
render() {
|
|
83
|
-
return (h("div", { key: '
|
|
83
|
+
return (h("div", { key: '609efa147a53d357ac11d1d97a2277a518c6ba53' }, h("style", { key: 'ae6f607f454e1038518bd6438b50704fbb5096ce' }, `
|
|
84
84
|
.popper-content {
|
|
85
85
|
display: none;
|
|
86
86
|
}
|
|
@@ -88,7 +88,7 @@ export class CustomPopper {
|
|
|
88
88
|
display: block;
|
|
89
89
|
z-index: 1030;
|
|
90
90
|
}
|
|
91
|
-
`), h("div", { key: '
|
|
91
|
+
`), h("div", { key: '4d6fc7f6990bd1f271402146c38d0dd175fad94b', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '509c63e0288098dca22d2d4830ce790271cde6eb' }))));
|
|
92
92
|
}
|
|
93
93
|
static get is() { return "custom-popper"; }
|
|
94
94
|
static get properties() {
|
|
@@ -31,10 +31,10 @@ export class CheckboxInput {
|
|
|
31
31
|
return inputCheckbox;
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '54f78efeb7d16825cfc08e98dcd37bad7b61f81b' }, h("div", { key: '83fef493e58c3a063cbbfe09700ba786b6242c4f', class: 'form-group d-flex flex-column' }, h("div", { key: '3c0ce3b7eb238a2ed5311f284b7f7422117e77bb', class: "form-check" }, h("input", { key: 'e071a738ff24cfec86f8f8c33c3cbae7261015ac', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
35
35
|
this.isFocused = false;
|
|
36
36
|
this.formControlBlur.emit();
|
|
37
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: '
|
|
37
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: 'e73b59126ddfd1b4f7c510b6d18e48c66aa9417d', class: "form-check-label", htmlFor: this.name, part: label }, this.label)), h(FormControlHelpText, { key: 'c69896d9f44b0d9bb12bad10f22f3da5c5a6de52', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '5a8e732e9cb5999ab72769f00f00a4a19def3471', errorText: this.errorText, name: this.name }))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "form-control-checkbox"; }
|
|
40
40
|
static get properties() {
|
|
@@ -42,10 +42,10 @@ export class DateInput {
|
|
|
42
42
|
return part;
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '08bce3cf3be399f5cbc2b83885b42cbc38edb118' }, h("div", { key: '9d7537d093c98aad6ace2bf2e1dff221a94342ae', class: "form-group d-flex flex-column" }, h("div", { key: '4bb572f4060339595df10dd2b33799b926b6efd1', class: "d-flex gap-2" }, h("label", { key: '7ff86ee061e99220d836786304835edb087a513e', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '22506780fb5306be2eea2c8b0982668a57b8ac64', helpText: this.helpText })), h("input", { key: 'a15de1023d46a919caf8f2d4b4bd2fd187c44bc7', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
46
46
|
this.isFocused = false;
|
|
47
47
|
this.formControlBlur.emit();
|
|
48
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: '
|
|
48
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: '05011a1473a87a9a167a757d1f9387a3da3b9ebe', errorText: this.errorText, name: this.name }))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "form-control-date"; }
|
|
51
51
|
static get properties() {
|
|
@@ -2,7 +2,7 @@ import { Host, h, } from "@stencil/core";
|
|
|
2
2
|
import { FormControlErrorText } from "./form-helpers/form-control-error-text";
|
|
3
3
|
export class FileInput {
|
|
4
4
|
render() {
|
|
5
|
-
return (h(Host, { key: '
|
|
5
|
+
return (h(Host, { key: '326085a82e5ba4a9dfd92d821bbc61ae1226abca', exportparts: "label,input,input-invalid" }, h("div", { key: 'eb08a1c5c9eba7c1589a4088c822d6c877d2ac8f', class: "form-group d-flex flex-column" }, h("div", { key: '214803f34627450d640573a746fff3d10aeb83c8', class: "d-flex align-items-start gap-2" }, h("label", { key: '4c352fd5c0388437bbda2d02b0d5fb7b93b031f4', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '5653524953f91a5de2f10aa1d60014fe47b1e9b9', helpText: this.helpText })), h("input", { key: 'a247246694d393078ff8e3fb391b6232c3ee66c5', type: "file", name: this.name, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? "input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onBlur: () => this.formControlBlur.emit(), onChange: () => this.errorText = "" }), h(FormControlErrorText, { key: 'e3b485d2b5968444f4f0af9c1e4b922f0da58283', errorText: this.errorText, name: this.name }))));
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "form-control-file-v2"; }
|
|
8
8
|
static get properties() {
|
|
@@ -37,10 +37,10 @@ export class FileInput {
|
|
|
37
37
|
return part;
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: '8521437d1faf90d5f3b73f821485560d0ca517a2' }, h("div", { key: 'd803250512feba82aea03c8a8946b024aec2eeae', class: "form-group d-flex flex-column" }, h("div", { key: '8377b86ca9c4b1974a55380d7cc325d6b5149913', class: "d-flex align-items-start gap-2" }, h("label", { key: 'ae69567c041aed85bdde3ea16f829aec96e4b25c', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '78c0ab7de411ca18dcfade80f1bac72b4741fdf9', helpText: this.helpText })), h("input", { key: 'ed1d7c11db1478e0edb90be9d918e119feb478ba', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
41
41
|
this.isFocused = false;
|
|
42
42
|
this.formControlBlur.emit();
|
|
43
|
-
} }), h(FormControlErrorText, { key: '
|
|
43
|
+
} }), h(FormControlErrorText, { key: 'b31b790d9c3fc013df2d504be03fb75987779148', errorText: this.errorText, name: this.name }))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "form-control-file"; }
|
|
46
46
|
static get properties() {
|
|
@@ -42,10 +42,10 @@ export class MonetaryInput {
|
|
|
42
42
|
return input;
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '4627cd58c4be09dc4650c52c22cba47134dad748' }, h("div", { key: '71b9039fd1046aacf6dc1e5ebbfc778dbea36f18', class: "form-group d-flex flex-column" }, h("label", { key: '53326d4fc12a7b0087a420f5c3396a42e1fc01dc', part: label, class: "form-label", htmlFor: this.name }, this.label), h(FormControlHelpText, { key: '50e431a5aa3e83f6cff7d520bc5df4f372055541', name: this.name, helpText: this.helpText }), h("div", { key: 'e462e21706fd2cdac31f68e3a9dfc3319e002416', class: "input-group" }, h("span", { key: '2bfe95a64d5ba18f36256933f85bb710f47c233c', class: "input-group-text", part: inputAdornment }, "$"), h("input", { key: '5ce586b7b9de9f082d29632a2abc4ee676ca3ef9', ref: el => this.formControl = el, id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
46
46
|
this.isFocused = false;
|
|
47
47
|
this.formControlBlur.emit();
|
|
48
|
-
}, onInput: (event) => this.updateInput(event.target.value), onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.inputPart, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled })), h(FormControlErrorText, { key: '
|
|
48
|
+
}, onInput: (event) => this.updateInput(event.target.value), onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.inputPart, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled })), h(FormControlErrorText, { key: '5ba05e5b423b1aa99bad6cd4e096b3ca40e1f528', errorText: this.errorText, name: this.name }))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "form-control-monetary"; }
|
|
51
51
|
static get properties() {
|
|
@@ -59,10 +59,10 @@ export class NumberInputMasked {
|
|
|
59
59
|
return input;
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '90e98aec90cbbfcb6b7aed010f45ec83336faf17' }, h("div", { key: '43185b809d29eee55e8d52538e4db9b58c07105e', class: "form-group d-flex flex-column" }, h("div", { key: 'c6eaeaae9643e86fb719b4c3c1fb91e5283611f9', class: "d-flex align-items-start gap-2" }, h("label", { key: 'f7aec8f74195a1837b27202b7f54891572ba4dc7', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '17d6bb8316b612de5276f9c492213a50400a672f', helpText: this.helpText })), h("input", { key: '6d5bc7033170be3cec7a0c63c4367839c6907588', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => (this.isFocused = true), onBlur: () => {
|
|
63
63
|
this.isFocused = false;
|
|
64
64
|
this.formControlBlur.emit();
|
|
65
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '
|
|
65
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: 'a826bbca2dfb515542bcc5485b2c31c8c6c6fc56', errorText: this.errorText, name: this.name }))));
|
|
66
66
|
}
|
|
67
67
|
static get is() { return "form-control-number-masked"; }
|
|
68
68
|
static get properties() {
|