@justifi/webcomponents 5.7.6-rc-02 → 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/{Api-c8NBCwu4.js → Api-eP0XeJLd.js} +1 -1
- package/dist/cjs/{ComponentError-CEv9ltwy.js → ComponentError-D4OLnOkg.js} +8 -0
- package/dist/cjs/{Refund-Dt1CMUjx.js → Refund-08OcZkXX.js} +148 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +8 -8
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/{business.service-W2PRAU9J.js → business.service--Zv-Xtu4.js} +3 -4
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-DmONJMn1.js → check-pkg-version-Bp51QhAR.js} +4 -5
- package/dist/cjs/{checkout.service-XwOh98gt.js → checkout.service-BBD6v0cl.js} +3 -4
- package/dist/cjs/{checkout.store--pVCO0L1.js → checkout.store-B58bewb_.js} +2 -1
- package/dist/cjs/checkouts-list-core.cjs.entry.js +6 -6
- package/dist/cjs/{checkouts-table-CrpOOe_e.js → checkouts-table-Cp7rNkNd.js} +1 -1
- package/dist/cjs/custom-popper.cjs.entry.js +2 -2
- package/dist/cjs/dinero-J-SRFKIR.js +1673 -0
- package/dist/cjs/{dispute.service-Dh82Wru1.js → dispute.service-BHApwZdH.js} +3 -4
- package/dist/cjs/form-alert_5.cjs.entry.js +4 -4
- 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-provisioning.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary.cjs.entry.js +4 -3
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +3 -3
- 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-W4PgTPkL.js → get-payment-details-7PreAOdF.js} +5 -6
- package/dist/cjs/{get-payout-csv-CdNRRH0t.js → get-payout-csv-DE_D9y08.js} +2 -2
- package/dist/cjs/{get-subaccounts-D4woaGSs.js → get-subaccounts-CtelAONX.js} +5 -6
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -2
- package/dist/cjs/header-2-BXQLJn1q.js +10 -0
- package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
- package/dist/cjs/insurance-state-B3CYpJWi.js +45 -0
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +4 -4
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +17 -17
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/{justifi-bank-account-form_5.cjs.entry.js → justifi-bank-account-form_7.cjs.entry.js} +66 -23
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +52 -0
- package/dist/cjs/justifi-business-details.cjs.entry.js +11 -11
- package/dist/cjs/justifi-business-form.cjs.entry.js +10 -10
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/{justifi-button_5.cjs.entry.js → justifi-checkout-summary_5.cjs.entry.js} +162 -56
- package/dist/cjs/justifi-checkout.cjs.entry.js +14 -14
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +5 -5
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -10
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +13 -13
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -8
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +12 -12
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +12 -12
- package/dist/cjs/justifi-payment-details.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +13 -13
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +10 -10
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +3 -3
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +5 -3
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -10
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +5 -5
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +216 -34
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-oywezDpy.js → package-BMSb1ui9.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +10 -9
- package/dist/cjs/{payment-method-option-utils-imuSE7KV.js → payment-method-option-utils-QODgEWhU.js} +1 -11
- package/dist/cjs/{payment-provisioning-actions-SNMCdsyF.js → payment-provisioning-actions-CZVlnRA0.js} +2 -2
- package/dist/cjs/{payment.service-BrvtS3F7.js → payment.service-C9qxqaJk.js} +3 -4
- package/dist/cjs/payments-list-core.cjs.entry.js +6 -6
- package/dist/cjs/{payments-table-BqxFc71K.js → payments-table-DaW6SvdL.js} +1 -1
- package/dist/cjs/payout-details-core.cjs.entry.js +5 -4
- package/dist/cjs/{payout.service-DNH6gRrP.js → payout.service-DiSYeR_q.js} +3 -4
- package/dist/cjs/payouts-list-core.cjs.entry.js +6 -6
- package/dist/cjs/{payouts-table-iT2IauEa.js → payouts-table-D5hMHcaY.js} +1 -1
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +6 -6
- package/dist/cjs/{terminal-orders-table-xi_a-EnM.js → terminal-orders-table-DnZjcbSQ.js} +3 -4
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-CdzmTRQE.js → terminal.service-DEIY9toR.js} +3 -4
- package/dist/cjs/terminals-list-core.cjs.entry.js +6 -6
- package/dist/cjs/{terminals-table-sf-s5v6D.js → terminals-table-DOqVeHM1.js} +1 -1
- package/dist/cjs/{utils-qOon0GWm.js → utils-DqlrBltg.js} +2 -1676
- 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 +7 -8
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +1 -1
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/billing-form/billing-form.js +13 -37
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +1 -1
- package/dist/collection/components/checkout/payment-method-option-utils.js +0 -1
- package/dist/collection/components/checkout/save-new-payment-method.js +7 -5
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- 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 -9
- 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 +36 -5
- 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 +5 -4
- 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 +291 -87
- 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/index.js +1 -0
- 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 +155 -0
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/docs.json +727 -1331
- package/dist/esm/{Api-C3T8XYbb.js → Api-BCeKXDaf.js} +1 -1
- package/dist/esm/{ComponentError-BhrFjjAs.js → ComponentError-Cjcsf8ku.js} +9 -1
- package/dist/esm/{Dispute-7MWRbTXI.js → Dispute-BH0Xfn-F.js} +1 -1
- package/dist/esm/{Refund-0aZtuMmz.js → Refund-DBHZkemk.js} +148 -2
- package/dist/esm/additional-questions-details_5.entry.js +4 -3
- package/dist/esm/{badge-Dr7gkD2I.js → badge-BrapPg3R.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +12 -12
- package/dist/esm/bank-account-form.entry.js +4 -4
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business.service-C5vrjgZf.js → business.service-ArD_uRLb.js} +4 -5
- package/dist/esm/{button-xfPDSpPt.js → button-BB-N4vit.js} +1 -1
- package/dist/esm/card-form.entry.js +4 -4
- package/dist/esm/{check-pkg-version-DqhSXPRt.js → check-pkg-version-CwPXpnQZ.js} +5 -6
- package/dist/esm/{checkout.service-CW2_CEte.js → checkout.service-BgDCPjQU.js} +4 -5
- package/dist/esm/{checkout.store-GXtlf5-4.js → checkout.store-td03RV8y.js} +2 -1
- package/dist/esm/checkouts-list-core.entry.js +11 -11
- package/dist/esm/{checkouts-table-BHhaS5bv.js → checkouts-table-COpCngi0.js} +3 -3
- package/dist/esm/custom-popper.entry.js +2 -2
- package/dist/esm/dinero-DizZAUMY.js +1671 -0
- package/dist/esm/{dispute.service-C3bmfjsZ.js → dispute.service-C2dMLW9w.js} +4 -5
- package/dist/esm/form-alert_5.entry.js +5 -5
- package/dist/esm/form-control-checkbox.entry.js +5 -5
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-Cn0aPzHx.js → form-control-error-text-Bk3yfpFX.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-C91TeHXs.js → form-control-help-text-mOLCXs00.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +5 -5
- package/dist/esm/form-control-monetary.entry.js +7 -6
- package/dist/esm/form-control-number-masked_2.entry.js +5 -5
- package/dist/esm/form-control-number.entry.js +5 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/form-control-select_3.entry.js +6 -6
- package/dist/esm/{get-business-BSRtbTh7.js → get-business-Crb6P-iI.js} +2 -2
- package/dist/esm/{get-payment-details-BdPvFl1W.js → get-payment-details-BN-K_5Ry.js} +5 -6
- package/dist/esm/{get-payout-csv-U_pgdPpb.js → get-payout-csv-D-Lnooki.js} +2 -2
- package/dist/esm/{get-subaccounts-BqqR44dV.js → get-subaccounts-DrFpGKDV.js} +6 -7
- package/dist/esm/gross-payment-chart-core.entry.js +6 -5
- package/dist/esm/{header-1-noRVFQY9.js → header-1-DYuf6mkF.js} +1 -1
- package/dist/esm/header-2-C4ZCdZwi.js +8 -0
- package/dist/esm/hidden-input_2.entry.js +7 -7
- package/dist/esm/insurance-state-BQks6cMA.js +39 -0
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +8 -8
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +20 -20
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/{justifi-bank-account-form_5.entry.js → justifi-bank-account-form_7.entry.js} +67 -26
- package/dist/esm/justifi-billing-form_2.entry.js +49 -0
- package/dist/esm/justifi-business-details.entry.js +13 -13
- package/dist/esm/justifi-business-form.entry.js +15 -15
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
- package/dist/esm/{justifi-button_5.entry.js → justifi-checkout-summary_5.entry.js} +161 -55
- package/dist/esm/justifi-checkout.entry.js +11 -11
- package/dist/esm/justifi-checkouts-list-filters.entry.js +7 -7
- package/dist/esm/justifi-checkouts-list.entry.js +15 -15
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +11 -11
- package/dist/esm/justifi-dispute-notification_3.entry.js +16 -16
- package/dist/esm/justifi-gross-payment-chart.entry.js +11 -11
- package/dist/esm/justifi-order-terminals.entry.js +15 -15
- package/dist/esm/justifi-owner-form_3.entry.js +14 -14
- package/dist/esm/justifi-payment-details.entry.js +13 -13
- package/dist/esm/justifi-payment-provisioning-core.entry.js +4 -4
- package/dist/esm/justifi-payment-provisioning.entry.js +12 -12
- package/dist/esm/justifi-payment-transactions-list.entry.js +14 -14
- package/dist/esm/justifi-payments-list-filters.entry.js +5 -4
- package/dist/esm/justifi-payments-list.entry.js +15 -15
- package/dist/esm/justifi-payout-details.entry.js +13 -13
- package/dist/esm/justifi-payout-transactions-list.entry.js +14 -14
- package/dist/esm/justifi-payouts-list-filters.entry.js +5 -4
- package/dist/esm/justifi-payouts-list.entry.js +17 -17
- package/dist/esm/justifi-refund-payment.entry.js +14 -14
- package/dist/esm/justifi-saved-payment-method.entry.js +4 -4
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +6 -4
- package/dist/esm/justifi-season-interruption-insurance.entry.js +11 -11
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +8 -8
- package/dist/esm/justifi-terminal-orders-list.entry.js +13 -13
- package/dist/esm/justifi-terminals-list-filters.entry.js +7 -7
- package/dist/esm/justifi-terminals-list.entry.js +15 -15
- package/dist/esm/justifi-tokenize-payment-method.entry.js +218 -36
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-DR0dQ8Fv.js → package-HlNEzyiZ.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-D3G5aVLy.js → parts-CKg_luIy.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +15 -14
- package/dist/esm/{payment-method-option-utils-8n_ALxec.js → payment-method-option-utils-zFDtQrgQ.js} +2 -10
- package/dist/esm/{payment-provisioning-actions-2qP7AtHj.js → payment-provisioning-actions-ONP8lDnV.js} +2 -2
- package/dist/esm/{payment.service-CnQdP32J.js → payment.service-DPsRcwWM.js} +4 -5
- package/dist/esm/payments-list-core.entry.js +12 -12
- package/dist/esm/{payments-status-DUM0WZkk.js → payments-status-CawBLR48.js} +1 -1
- package/dist/esm/{payments-table-DVQzx7MJ.js → payments-table-WQAD1CSz.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +11 -10
- package/dist/esm/{payout.service-EJuPNpfs.js → payout.service-CoVFefK5.js} +4 -5
- package/dist/esm/payouts-list-core.entry.js +12 -12
- package/dist/esm/{payouts-status-7saoFNoA.js → payouts-status-DB_PJap6.js} +1 -1
- package/dist/esm/{payouts-table-dca-F2iQ.js → payouts-table-DRISll8u.js} +3 -3
- package/dist/esm/{skeleton-C1-JoGFC.js → skeleton-D1Z4a8af.js} +1 -1
- package/dist/esm/{spinner-Ca9uu5Nd.js → spinner-BlffecO5.js} +1 -1
- package/dist/esm/{table-fsCYq8m9.js → table-BqxKVRry.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +11 -11
- package/dist/esm/{terminal-orders-table-BNasCnjz.js → terminal-orders-table-Da4IvBtB.js} +6 -7
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-Cfacmeto.js → terminal.service-CnPV1i9J.js} +4 -5
- package/dist/esm/terminals-list-core.entry.js +11 -11
- package/dist/esm/{terminals-table-DBk-eg_3.js → terminals-table-BBPQRWja.js} +3 -3
- package/dist/esm/{utils-BZvep88z.js → utils-BeQLScSm.js} +1 -1
- package/dist/esm/{utils-BjLkBMLe.js → utils-Cu5hITuT.js} +2 -1675
- package/dist/esm/{utils-CNwvOLkk.js → utils-sZ_6zOKQ.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +0 -1
- package/dist/module/Refund.js +210 -1
- package/dist/module/additional-questions.js +1 -1
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/badge.js +1 -1
- package/dist/module/bank-account-document-inputs.js +2 -3
- package/dist/module/bank-account-form-inputs2.js +1 -1
- package/dist/module/bank-account-form.js +2 -2
- package/dist/module/bank-account.js +3 -2
- package/dist/module/billing-form.js +23 -57
- package/dist/module/billing-information-form.js +10 -3
- package/dist/module/business-additional-questions-form-step.js +1 -1
- package/dist/module/business-bank-account-form-step-core.js +2 -3
- package/dist/module/business-bank-account-form-step.js +2 -3
- package/dist/module/business-core-info-form-step.js +1 -1
- package/dist/module/business-core-info.js +1 -1
- package/dist/module/business-details-core2.js +1 -0
- package/dist/module/business-documents-on-file2.js +2 -1
- package/dist/module/business-owners-form-step-core.js +1 -0
- package/dist/module/business-owners-form-step.js +1 -1
- package/dist/module/business-representative-form-inputs.js +1 -1
- package/dist/module/business-representative-form-step.js +1 -1
- package/dist/module/business-representative.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +1 -2
- package/dist/module/business.service.js +0 -1
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-form.js +2 -2
- package/dist/module/card-form2.js +3 -2
- package/dist/module/checkout.service.js +0 -1
- package/dist/module/checkout.store.js +2 -1
- package/dist/module/checkouts-list-core2.js +5 -4
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/dinero.js +1671 -0
- package/dist/module/dispute-management-core.js +2 -2
- package/dist/module/dispute-notification.js +2 -1
- package/dist/module/dispute-response-actions.js +0 -1
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/dispute-response.js +2 -1
- package/dist/module/duplicate-charge.js +1 -1
- package/dist/module/electronic-evidence.js +1 -1
- package/dist/module/form-alert2.js +1 -1
- package/dist/module/form-control-checkbox2.js +4 -3
- package/dist/module/form-control-date2.js +3 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +3 -2
- package/dist/module/form-control-monetary-provisioning2.js +4 -3
- package/dist/module/form-control-monetary2.js +4 -3
- package/dist/module/form-control-number-masked2.js +3 -2
- package/dist/module/form-control-number.js +4 -3
- package/dist/module/form-control-radio2.js +3 -3
- package/dist/module/form-control-select2.js +3 -2
- package/dist/module/form-control-text2.js +3 -2
- package/dist/module/form-control-textarea2.js +3 -3
- package/dist/module/get-payment-details.js +2 -3
- package/dist/module/get-subaccounts.js +1 -2
- package/dist/module/gross-payment-chart-core2.js +2 -2
- package/dist/module/hidden-input2.js +2 -2
- package/dist/module/identity-address-form.js +1 -1
- package/dist/module/iframe-input2.js +4 -4
- package/dist/module/insurance-state.js +18 -1
- package/dist/module/justifi-business-form.js +2 -2
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-checkout.js +3 -2
- package/dist/module/justifi-checkouts-list-filters.js +4 -4
- package/dist/module/justifi-checkouts-list.js +4 -4
- package/dist/module/justifi-dispute-management.js +2 -3
- package/dist/module/justifi-gross-payment-chart.js +0 -1
- package/dist/module/justifi-header2.js +7 -3
- package/dist/module/justifi-modular-checkout.js +2 -2
- package/dist/module/justifi-order-terminals.js +5 -4
- package/dist/module/justifi-payment-provisioning.js +1 -2
- package/dist/module/justifi-payment-transactions-list.js +6 -5
- package/dist/module/justifi-payments-list-filters.js +4 -3
- package/dist/module/justifi-payments-list.js +4 -4
- package/dist/module/justifi-payout-details.js +2 -3
- package/dist/module/justifi-payout-transactions-list.js +6 -5
- package/dist/module/justifi-payouts-list-filters.js +4 -3
- package/dist/module/justifi-payouts-list.js +4 -4
- package/dist/module/justifi-radio-list-item.d.ts +11 -0
- package/dist/module/justifi-radio-list-item.js +6 -0
- package/dist/module/justifi-radio-list-item2.js +55 -0
- package/dist/module/justifi-refund-payment.js +2 -2
- package/dist/module/justifi-saved-payment-method.js +2 -2
- package/dist/module/justifi-season-interruption-insurance.js +1 -2
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +5 -5
- package/dist/module/justifi-terminal-orders-list.js +4 -4
- package/dist/module/justifi-terminals-list-filters.js +4 -4
- package/dist/module/justifi-terminals-list.js +4 -4
- package/dist/module/justifi-tokenize-payment-method.js +311 -47
- package/dist/module/legal-address-form-step.js +1 -1
- package/dist/module/legal-address-form.js +1 -1
- package/dist/module/modular-checkout.js +47 -14
- package/dist/module/owner-form-core2.js +3 -2
- package/dist/module/owner-form-inputs2.js +1 -1
- package/dist/module/owner-form.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +1 -1
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-details-core2.js +10 -9
- package/dist/module/payment-method-option-utils.js +2 -10
- package/dist/module/payment-method-option2.js +3 -2
- package/dist/module/payment-provisioning-core.js +2 -1
- package/dist/module/payment-provisioning-form-buttons.js +2 -1
- package/dist/module/payment-provisioning-form-steps.js +1 -1
- package/dist/module/payment-provisioning-loading.js +1 -0
- package/dist/module/payment.service.js +0 -1
- package/dist/module/payments-list-core2.js +5 -4
- package/dist/module/payout-details-core2.js +5 -4
- package/dist/module/payout.service.js +0 -1
- package/dist/module/payouts-list-core2.js +5 -4
- package/dist/module/postal-code-form.js +4 -2
- 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 +8 -5
- package/dist/module/saved-payment-methods.js +2 -1
- package/dist/module/season-interruption-insurance-core.js +2 -1
- package/dist/module/sezzle-payment-method.js +2 -1
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/spinner.js +1 -1
- package/dist/module/summary.js +2 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/table.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +6 -5
- package/dist/module/terminal-quantity-selector2.js +2 -2
- package/dist/module/terminal.service.js +0 -1
- package/dist/module/terminals-list-core2.js +5 -4
- package/dist/module/utils2.js +2 -1675
- package/dist/types/api/ComponentError.d.ts +7 -0
- package/dist/types/components/checkout/billing-form/billing-form.d.ts +3 -9
- package/dist/types/components/checkout/checkout.d.ts +1 -1
- 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 -1
- package/dist/types/components/modular-checkout/sub-components/billing-information-form.d.ts +2 -0
- package/dist/types/components/modular-checkout/sub-components/postal-code-form.d.ts +1 -0
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +41 -14
- package/dist/types/components.d.ts +70 -114
- package/dist/types/store/checkout.store.d.ts +2 -1
- package/dist/types/ui-components/index.d.ts +1 -0
- package/dist/types/ui-components/shadow-dom-components/justifi-radio-list-item.d.ts +12 -0
- package/dist/webcomponents/p-00c2f5d5.entry.js +1 -0
- package/dist/webcomponents/{p-d7f62287.entry.js → p-046fee8c.entry.js} +1 -1
- package/dist/webcomponents/{p-30d3d0cd.entry.js → p-0a0ed7a4.entry.js} +1 -1
- package/dist/webcomponents/p-0cb64945.entry.js +1 -0
- package/dist/webcomponents/{p-70774a5a.entry.js → p-0e44afa7.entry.js} +1 -1
- package/dist/webcomponents/p-0e6797c4.entry.js +1 -0
- package/dist/webcomponents/p-0fc026aa.entry.js +1 -0
- package/dist/webcomponents/p-16583f91.entry.js +1 -0
- package/dist/webcomponents/p-195cf5cc.entry.js +1 -0
- package/dist/webcomponents/{p-7d2de2d4.entry.js → p-1b1fe3de.entry.js} +1 -1
- package/dist/webcomponents/{p-50bfec55.entry.js → p-1b7b7210.entry.js} +1 -1
- package/dist/webcomponents/p-1c7d9b90.entry.js +1 -0
- package/dist/webcomponents/p-1ce1df1e.entry.js +1 -0
- package/dist/webcomponents/p-24e1a686.entry.js +1 -0
- package/dist/webcomponents/p-2a5ac7c9.entry.js +1 -0
- package/dist/webcomponents/p-2abf1785.entry.js +1 -0
- package/dist/webcomponents/p-2dcf196f.entry.js +1 -0
- package/dist/webcomponents/{p-7c63d61d.entry.js → p-302f7632.entry.js} +1 -1
- package/dist/webcomponents/{p-2f482f5b.entry.js → p-351ffd2a.entry.js} +1 -1
- package/dist/webcomponents/{p-cb7c712f.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-05c604d2.entry.js → p-429618a4.entry.js} +1 -1
- package/dist/webcomponents/{p-a02ce003.entry.js → p-444fb5a6.entry.js} +1 -1
- package/dist/webcomponents/{p-ac538ffd.entry.js → p-45b0a91c.entry.js} +1 -1
- package/dist/webcomponents/p-4907e95b.entry.js +1 -0
- package/dist/webcomponents/p-4a0a4314.entry.js +1 -0
- package/dist/webcomponents/p-4aaaa44e.entry.js +1 -0
- package/dist/webcomponents/p-4b34b9af.entry.js +1 -0
- package/dist/webcomponents/p-55iuf7iW.js +1 -0
- package/dist/webcomponents/{p-BxfUcCXo.js → p-5aA7gjr5.js} +1 -1
- package/dist/webcomponents/p-5e71f4d4.entry.js +1 -0
- package/dist/webcomponents/{p-0e4e662b.entry.js → p-6a06da8a.entry.js} +1 -1
- package/dist/webcomponents/p-6bafb4b5.entry.js +1 -0
- package/dist/webcomponents/p-6d1f2d57.entry.js +1 -0
- package/dist/webcomponents/p-6f397c80.entry.js +1 -0
- package/dist/webcomponents/p-75545aec.entry.js +1 -0
- package/dist/webcomponents/p-7b07255f.entry.js +1 -0
- package/dist/webcomponents/p-7b925204.entry.js +1 -0
- package/dist/webcomponents/p-831857dc.entry.js +1 -0
- package/dist/webcomponents/p-85c0953d.entry.js +1 -0
- package/dist/webcomponents/p-85ebdce5.entry.js +1 -0
- package/dist/webcomponents/p-86b166eb.entry.js +1 -0
- package/dist/webcomponents/{p-1bddf354.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-66861ea5.entry.js → p-90edbaa3.entry.js} +1 -1
- package/dist/webcomponents/p-97c0d873.entry.js +1 -0
- package/dist/webcomponents/p-9e48a264.entry.js +1 -0
- package/dist/webcomponents/{p-Dh6FEdp8.js → p-AbSg_vYv.js} +1 -1
- package/dist/webcomponents/p-B2uBb14Y.js +1 -0
- package/dist/webcomponents/{p-BtT7kqMw.js → p-B3qJZUMy.js} +1 -1
- package/dist/webcomponents/p-BF51n3KG.js +1 -0
- package/dist/webcomponents/{p-7MWRbTXI.js → p-BH0Xfn-F.js} +1 -1
- package/dist/webcomponents/p-BNd9xVOU.js +1 -0
- package/dist/webcomponents/p-BQLEjYfZ.js +1 -0
- package/dist/webcomponents/p-BZ9YQ3FA.js +1 -0
- package/dist/webcomponents/{p-BqK0rIZQ.js → p-BfEOvp9h.js} +1 -1
- package/dist/webcomponents/p-Bka75aL-.js +1 -0
- package/dist/webcomponents/p-C3e-DgwK.js +1 -0
- package/dist/webcomponents/{p-DAVX1-sW.js → p-CDIPkflV.js} +1 -1
- package/dist/webcomponents/{p-D3G5aVLy.js → p-CKg_luIy.js} +1 -1
- package/dist/webcomponents/{p-DDpc1huF.js → p-Ce8QXyUM.js} +1 -1
- package/dist/webcomponents/p-ChzWF0s3.js +1 -0
- package/dist/webcomponents/p-CjAMuB2J.js +1 -0
- package/dist/webcomponents/p-Cjcsf8ku.js +1 -0
- package/dist/webcomponents/{p-DAoffYFW.js → p-D0I-tRSs.js} +1 -1
- package/dist/webcomponents/p-D2muobcE.js +1 -0
- package/dist/webcomponents/p-DC63XVwu.js +1 -0
- package/dist/webcomponents/p-DH8F0bsw.js +1 -0
- package/dist/webcomponents/p-DMuY7Dka.js +1 -0
- package/dist/webcomponents/p-DPfZxsq9.js +1 -0
- package/dist/webcomponents/{p-DHvfrLVU.js → p-DPnS0F0Y.js} +1 -1
- package/dist/webcomponents/p-DR0bMp9p.js +1 -0
- package/dist/webcomponents/p-DYGIC0QH.js +1 -0
- package/dist/webcomponents/p-DgxD9dbc.js +1 -0
- package/dist/webcomponents/p-DniBAXrh.js +1 -0
- package/dist/webcomponents/p-Do0fsKZk.js +1 -0
- package/dist/webcomponents/{p-1adN6FVa.js → p-DpUqxsf5.js} +1 -1
- package/dist/webcomponents/p-DxEnw2tJ.js +1 -0
- package/dist/webcomponents/{p-fUv1jFAw.js → p-EAEmpCru.js} +1 -1
- package/dist/webcomponents/p-HlNEzyiZ.js +1 -0
- package/dist/webcomponents/p-O50LiN_p.js +1 -0
- package/dist/webcomponents/p-S_UV9-px.js +1 -0
- package/dist/webcomponents/p-X2PeOHf5.js +1 -0
- package/dist/webcomponents/p-_WsRuUBr.js +1 -0
- package/dist/webcomponents/{p-683630d0.entry.js → p-a1c7c873.entry.js} +1 -1
- package/dist/webcomponents/p-a3c6c55e.entry.js +1 -0
- package/dist/webcomponents/p-af935779.entry.js +1 -0
- package/dist/webcomponents/p-b01801a6.entry.js +1 -0
- package/dist/webcomponents/p-b47000f7.entry.js +1 -0
- package/dist/webcomponents/p-b58fb1b1.entry.js +1 -0
- package/dist/webcomponents/{p-f5d12ae3.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-c5331724.entry.js +1 -0
- package/dist/webcomponents/p-c6bd05ef.entry.js +1 -0
- package/dist/webcomponents/{p-0890869b.entry.js → p-d5e4e888.entry.js} +4 -4
- package/dist/webcomponents/{p-e48a2d25.entry.js → p-e2ee826e.entry.js} +1 -1
- package/dist/webcomponents/{p-ae00a6f3.entry.js → p-e9c44dc2.entry.js} +1 -1
- package/dist/webcomponents/p-edf9128c.entry.js +1 -0
- package/dist/webcomponents/p-f3c2de89.entry.js +1 -0
- package/dist/webcomponents/p-f6ff7255.entry.js +1 -0
- package/dist/webcomponents/p-f8a0821d.entry.js +1 -0
- package/dist/webcomponents/p-fcb6c171.entry.js +1 -0
- package/dist/webcomponents/p-fd4d7c7e.entry.js +1 -0
- package/dist/webcomponents/p-pMAKJWDL.js +1 -0
- package/dist/webcomponents/p-rPeW3G6n.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/Payment-D5UynU2f.js +0 -151
- package/dist/cjs/header-3-BnKbOjvz.js +0 -10
- package/dist/cjs/insurance-state-BsGy_svD.js +0 -34
- package/dist/cjs/justifi-billing-form.cjs.entry.js +0 -76
- package/dist/cjs/justifi-new-payment-method.cjs.entry.js +0 -99
- package/dist/cjs/justifi-payment-method-options.cjs.entry.js +0 -76
- package/dist/cjs/justifi-saved-payment-methods_2.cjs.entry.js +0 -117
- package/dist/collection/components/checkout/new-payment-method.js +0 -378
- package/dist/collection/components/checkout/payment-method-options.js +0 -421
- package/dist/esm/Payment-00TwhwCx.js +0 -149
- package/dist/esm/header-3-Bsi4loU1.js +0 -8
- package/dist/esm/insurance-state-pL8MRpxn.js +0 -28
- package/dist/esm/justifi-billing-form.entry.js +0 -74
- package/dist/esm/justifi-new-payment-method.entry.js +0 -97
- package/dist/esm/justifi-payment-method-options.entry.js +0 -74
- package/dist/esm/justifi-saved-payment-methods_2.entry.js +0 -114
- package/dist/module/Payment.js +0 -204
- package/dist/module/header-3.js +0 -8
- package/dist/module/justifi-new-payment-method.d.ts +0 -11
- package/dist/module/justifi-new-payment-method.js +0 -219
- package/dist/module/justifi-payment-method-options.d.ts +0 -11
- package/dist/module/justifi-payment-method-options.js +0 -6
- package/dist/module/payment-method-options.js +0 -129
- package/dist/types/components/checkout/new-payment-method.d.ts +0 -31
- package/dist/types/components/checkout/payment-method-options.d.ts +0 -32
- package/dist/webcomponents/p-00d7c2e6.entry.js +0 -1
- package/dist/webcomponents/p-03e9a98c.entry.js +0 -1
- package/dist/webcomponents/p-05fc864a.entry.js +0 -1
- package/dist/webcomponents/p-09c24135.entry.js +0 -1
- package/dist/webcomponents/p-0f511cc1.entry.js +0 -1
- package/dist/webcomponents/p-100008fa.entry.js +0 -1
- package/dist/webcomponents/p-17825dfb.entry.js +0 -1
- package/dist/webcomponents/p-18b941d3.entry.js +0 -1
- package/dist/webcomponents/p-19308a1b.entry.js +0 -1
- package/dist/webcomponents/p-1a7942f7.entry.js +0 -1
- package/dist/webcomponents/p-1d1d956b.entry.js +0 -1
- package/dist/webcomponents/p-26bf2fda.entry.js +0 -1
- package/dist/webcomponents/p-2d3949f7.entry.js +0 -1
- package/dist/webcomponents/p-326f4860.entry.js +0 -1
- package/dist/webcomponents/p-359b8f54.entry.js +0 -1
- package/dist/webcomponents/p-37aeeeee.entry.js +0 -1
- package/dist/webcomponents/p-4887bcb3.entry.js +0 -1
- package/dist/webcomponents/p-54406229.entry.js +0 -1
- package/dist/webcomponents/p-56af4fd0.entry.js +0 -1
- package/dist/webcomponents/p-59656e08.entry.js +0 -1
- package/dist/webcomponents/p-5d145701.entry.js +0 -1
- package/dist/webcomponents/p-5e813b93.entry.js +0 -1
- package/dist/webcomponents/p-64a46b8a.entry.js +0 -1
- package/dist/webcomponents/p-6bd83369.entry.js +0 -1
- package/dist/webcomponents/p-6ee2b118.entry.js +0 -1
- package/dist/webcomponents/p-73afde1b.entry.js +0 -1
- package/dist/webcomponents/p-73bbd71c.entry.js +0 -1
- package/dist/webcomponents/p-74f78a4e.entry.js +0 -1
- package/dist/webcomponents/p-755a8d9b.entry.js +0 -1
- package/dist/webcomponents/p-7c456c10.entry.js +0 -1
- package/dist/webcomponents/p-7c6d7283.entry.js +0 -1
- package/dist/webcomponents/p-7e9832b3.entry.js +0 -1
- package/dist/webcomponents/p-810cad17.entry.js +0 -1
- package/dist/webcomponents/p-81478598.entry.js +0 -1
- package/dist/webcomponents/p-91a2707a.entry.js +0 -1
- package/dist/webcomponents/p-9348a7c8.entry.js +0 -1
- package/dist/webcomponents/p-967c3374.entry.js +0 -1
- package/dist/webcomponents/p-9REosSLu.js +0 -1
- package/dist/webcomponents/p-9c27f87f.entry.js +0 -1
- package/dist/webcomponents/p-B9ROmZzw.js +0 -1
- package/dist/webcomponents/p-BCPBc18Y.js +0 -1
- package/dist/webcomponents/p-BQ5bL1Y5.js +0 -1
- package/dist/webcomponents/p-BSW9VS7r.js +0 -1
- package/dist/webcomponents/p-BSexQ2qc.js +0 -1
- package/dist/webcomponents/p-Bc5u1WjM.js +0 -1
- package/dist/webcomponents/p-BhrFjjAs.js +0 -1
- package/dist/webcomponents/p-BjQrbohd.js +0 -1
- package/dist/webcomponents/p-BxWsrx5h.js +0 -1
- package/dist/webcomponents/p-By9Lz2e0.js +0 -1
- package/dist/webcomponents/p-CEp46FZK.js +0 -1
- package/dist/webcomponents/p-CMNxLEJP.js +0 -1
- package/dist/webcomponents/p-CZItg0Yo.js +0 -1
- package/dist/webcomponents/p-D7WGjeDy.js +0 -1
- package/dist/webcomponents/p-DIDbcp63.js +0 -1
- package/dist/webcomponents/p-DKClunJd.js +0 -1
- package/dist/webcomponents/p-DR0dQ8Fv.js +0 -1
- package/dist/webcomponents/p-DUqRxn4Y.js +0 -1
- package/dist/webcomponents/p-DbcOhajT.js +0 -1
- package/dist/webcomponents/p-DhAmsAOH.js +0 -1
- package/dist/webcomponents/p-DoEkFs2i.js +0 -1
- package/dist/webcomponents/p-DvXSA0b0.js +0 -1
- package/dist/webcomponents/p-NqdaxjDT.js +0 -1
- package/dist/webcomponents/p-a05062d8.entry.js +0 -1
- package/dist/webcomponents/p-a27405fb.entry.js +0 -1
- package/dist/webcomponents/p-a2f0d61c.entry.js +0 -1
- package/dist/webcomponents/p-a95741ee.entry.js +0 -1
- package/dist/webcomponents/p-b193bf46.entry.js +0 -1
- package/dist/webcomponents/p-b398856f.entry.js +0 -1
- package/dist/webcomponents/p-d33baab9.entry.js +0 -1
- package/dist/webcomponents/p-d3f438ca.entry.js +0 -1
- package/dist/webcomponents/p-d5b3c65c.entry.js +0 -1
- package/dist/webcomponents/p-d62e6c16.entry.js +0 -1
- package/dist/webcomponents/p-eba620cd.entry.js +0 -1
- package/dist/webcomponents/p-ecdda6e6.entry.js +0 -1
- package/dist/webcomponents/p-f24e201f.entry.js +0 -1
- package/dist/webcomponents/p-m2jmX-Hz.js +0 -1
- package/dist/webcomponents/p-pGzabKc7.js +0 -1
- package/dist/webcomponents/p-sT4o5vru.js +0 -1
- package/dist/webcomponents/p-ys9CWfNG.js +0 -1
- package/dist/webcomponents/p-zucQG3cz.js +0 -1
package/dist/collection/components/dispute-management/dispute-response/product-or-service.js
CHANGED
|
@@ -28,7 +28,7 @@ export class ProductOrService {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
var _a, _b, _c;
|
|
31
|
-
return (h("div", { key: '
|
|
31
|
+
return (h("div", { key: '410e15dcd25e97ecc0d32f0d7c3c88d0412e8c38' }, h("div", { key: '39b8aeb37909ead1547f0a6bf5109f596846b291', class: "row gy-3" }, h("div", { key: '10a124dd96a230707c4aa0031f013cbb1c5b4881', class: "col-12" }, h("h2", { key: '2fdee4a50c3bd2b69dbaa5750c7f76cd952f8e68', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '1231676aa960d6ca5580bb532a46e3eed2bc57bf', class: "col-12" }, h("form-control-text", { key: 'b6e4ffa07b1ae79a385cd8b37c4af9c8b1bcea9c', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: '8e137d3db8a89fef565ef1b85d36743dbecaa191', class: "col-12" }, h("form-control-date", { key: 'b5b121bfae9dcc847c95cfb22e76988a71b21def', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: '5176c6bd5bdb0a2f5f2a60fdcf43f679cada509e', class: "col-12" }, h("form-control-file-v2", { key: '6c2594ff9d3cf25cc707b0a44f39a6c05489f572', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "justifi-product-or-service"; }
|
|
34
34
|
static get properties() {
|
|
@@ -28,7 +28,7 @@ export class RefundPolicy {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
var _a, _b, _c, _d;
|
|
31
|
-
return (h("div", { key: '
|
|
31
|
+
return (h("div", { key: 'bfafd93af052c07f799f5d1985224b91a43ee2b2' }, h("div", { key: 'd27f8f7d3f32fd505f26f505e5134246205dff91', class: "row gy-3" }, h("div", { key: '61fda5a34f871d4249b9ca1ffc286aa7293f5d7b', class: "col-12" }, h("h2", { key: '1555d161a6dece38cc4bfcf041cbe6c88e595fe3', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '1ee55607ccec0487074a9ef7e925ce5dce854e45', class: "col-12" }, h("form-control-textarea", { key: '6671ba0ff6396005c97694ff496b7bccdf9cc80f', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: '649bf89ca1ff416050b2a5740ee6be97fd41cf10', class: "col-12" }, h("form-control-textarea", { key: '1178960db11c981e0b02a6d22dfd1fa746649d50', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: 'f95ca250129870d80862d338e8151406ee8d6d04', class: "col-12" }, h("form-control-file-v2", { key: '546f2d6a3f3a43afd67d38de3a550735971f4d46', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: '1c9379943c0dd4b5344bed35d85b1085bcc92c5d', class: "col-12" }, h("form-control-file-v2", { key: '972f3d60d4e739c092dd4de609814701a99cf220', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "justifi-refund-policy"; }
|
|
34
34
|
static get properties() {
|
|
@@ -29,7 +29,7 @@ export class ShippingDetails {
|
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
31
|
var _a, _b, _c, _d, _e;
|
|
32
|
-
return (h("div", { key: '
|
|
32
|
+
return (h("div", { key: '31b6e5c103875a0b61fa03a7c9ddb42d62cf9cfc' }, h("div", { key: '5586da5e8e052126d3418278904b9822f16ad70c', class: "row gy-3" }, h("div", { key: '3a4ac6e494ccd1f2179f87555d0035545a3d0448', class: "col-12" }, h("h2", { key: '234210d22dcc7d746bcc706f5e905d19dd9888a0', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '9f485ea4dd7f31ac4929c622ed6f1bfbf2768033', class: "col-12" }, h("form-control-text", { key: '3c75220f8a00d84ff577351a879558e4d531110f', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: 'e9a43cffae3dabb6c26db05bd4dc3e64c6aaa50b', class: "col-12" }, h("form-control-text", { key: 'ce1a535d12f24b8da38c4d5a30a82c911c6883bb', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '6ac1abd518eb2e179c5f7cdd06d8839070592a31', class: "col-12" }, h("form-control-date", { key: 'c4de43f8e142de7fd456585ebde520bc0b7057b3', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: '08118d7b5c6b8ce369a77e006fbb9692783b9b95', class: "col-12" }, h("form-control-textarea", { key: 'ec225a70e5b9ad7644a0e64285f5b4c70550aeb8', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: '861a6a17423958ebfc5e085b497e38e0a5e2aa1e', class: "col-12" }, h("form-control-file-v2", { key: '91fa66a2ec51abb1d31bbb95e23fd7659f107afe', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "justifi-shipping-details"; }
|
|
35
35
|
static get properties() {
|
|
@@ -19,7 +19,7 @@ export class TableFiltersMenu {
|
|
|
19
19
|
this.showClearButton = hasFilters(this.params);
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h("div", { key: '
|
|
22
|
+
return (h("div", { key: '23c60096827e3a519b2a2bd3ff5636cf714279c5', class: "d-flex gap-2" }, h("div", { key: '9c06555ffa75c6b5f52b44794b99fafa5efa78b1', class: "dropdown pb-3" }, h("button", { key: 'c14a7ad81ee21e24f4637c6c121e05d1d3b91e24', type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", part: dropdownMenuButton, "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '80863a75d7d189ec42ed6bc2615a8f1840d0c856', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: '3c9852b54d2c627294de347e95b940fb1aa4ca8d', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: 'b3f2538648ada6ce95610596070f111f3f92b347' })))), h("div", { key: '928c26a59b4ada62ccdf729c5d6a72d5c95a9a5e' }, h(Button, { key: 'd38f5bc594466601b74164f4c075962107652d23', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "table-filters-menu"; }
|
|
25
25
|
static get properties() {
|
|
@@ -67,7 +67,7 @@ export class GrossPaymentChartCore {
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
render() {
|
|
70
|
-
return (h(Host, { key: '
|
|
70
|
+
return (h(Host, { key: '11b7b6cbe8be6b338125afb3e7d375f1cd0ae040' }, this.loading && h(Spinner, { key: 'af11687eac9f4648ef2ef57651826c048dceea83' }), !this.errorMessage ? h("canvas", { id: "chart", ref: (elem) => this.chartRef = elem }) : ErrorState(this.errorMessage)));
|
|
71
71
|
}
|
|
72
72
|
static get is() { return "gross-payment-chart-core"; }
|
|
73
73
|
static get properties() {
|
|
@@ -3,6 +3,8 @@ const insuranceValuesStore = createStore({});
|
|
|
3
3
|
const { state: insuranceValues, on: insuranceValuesOn } = insuranceValuesStore;
|
|
4
4
|
const insuranceErrorsStore = createStore({});
|
|
5
5
|
const { state: insuranceErrors } = insuranceErrorsStore;
|
|
6
|
+
// Track previous values to detect actual changes vs initial setting
|
|
7
|
+
const previousInsuranceValues = {};
|
|
6
8
|
const validateInsuranceValues = () => {
|
|
7
9
|
let valid = true;
|
|
8
10
|
Object.keys(insuranceValues).forEach((key) => {
|
|
@@ -17,4 +19,19 @@ const validateInsuranceValues = () => {
|
|
|
17
19
|
});
|
|
18
20
|
return { isValid: valid };
|
|
19
21
|
};
|
|
20
|
-
|
|
22
|
+
// Helper function to check if a value has actually changed (not just initially set)
|
|
23
|
+
const hasInsuranceValueChanged = (key, newValue) => {
|
|
24
|
+
const hadPreviousValue = previousInsuranceValues.hasOwnProperty(key);
|
|
25
|
+
const previousValue = previousInsuranceValues[key];
|
|
26
|
+
if (!hadPreviousValue) {
|
|
27
|
+
// First time setting this value, track it but don't consider it a "change"
|
|
28
|
+
previousInsuranceValues[key] = newValue;
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
const hasChanged = previousValue !== newValue;
|
|
32
|
+
if (hasChanged) {
|
|
33
|
+
previousInsuranceValues[key] = newValue;
|
|
34
|
+
}
|
|
35
|
+
return hasChanged;
|
|
36
|
+
};
|
|
37
|
+
export { insuranceValuesStore, insuranceValues, insuranceValuesOn, insuranceErrorsStore, insuranceErrors, validateInsuranceValues, hasInsuranceValueChanged, };
|
package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js
CHANGED
|
@@ -34,7 +34,7 @@ export class SeasonInterruptionInsurance {
|
|
|
34
34
|
this.toggleCoverage = makeToggleCoverage(config);
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h("justifi-season-interruption-insurance-core", { key: '
|
|
37
|
+
return (h("justifi-season-interruption-insurance-core", { key: '590b2cfe0962ab6778faa21e618f7023fa6b4784', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId || checkoutStore.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 }));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "justifi-season-interruption-insurance"; }
|
|
40
40
|
static get properties() {
|
|
@@ -2,14 +2,17 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
import { checkoutStore, onChange } from "../../store/checkout.store";
|
|
3
3
|
import JustifiAnalytics from "../../api/Analytics";
|
|
4
4
|
import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
5
|
-
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api";
|
|
5
|
+
import { ComponentErrorCodes, ComponentErrorMessages, ComponentErrorSeverity, ICheckoutStatus } from "../../api";
|
|
6
6
|
import { makeCheckoutComplete, makeGetCheckout } from "../../actions/checkout/checkout-actions";
|
|
7
7
|
import { CheckoutService } from "../../api/services/checkout.service";
|
|
8
|
-
import { insuranceValues, insuranceValuesOn } from "../insurance/insurance-state";
|
|
9
|
-
export class
|
|
8
|
+
import { insuranceValues, insuranceValuesOn, hasInsuranceValueChanged } from "../insurance/insurance-state";
|
|
9
|
+
export class ModularCheckout {
|
|
10
10
|
constructor() {
|
|
11
11
|
this.savePaymentMethod = false;
|
|
12
12
|
}
|
|
13
|
+
savePaymentMethodChanged(newValue) {
|
|
14
|
+
checkoutStore.savePaymentMethod = newValue;
|
|
15
|
+
}
|
|
13
16
|
connectedCallback() {
|
|
14
17
|
this.observer = new MutationObserver(() => {
|
|
15
18
|
this.queryFormRefs();
|
|
@@ -31,14 +34,23 @@ export class CheckoutWrapper {
|
|
|
31
34
|
});
|
|
32
35
|
}
|
|
33
36
|
componentWillLoad() {
|
|
37
|
+
if (!this.authToken || !this.checkoutId) {
|
|
38
|
+
this.errorEvent.emit({
|
|
39
|
+
message: ComponentErrorMessages.NOT_AUTHENTICATED,
|
|
40
|
+
errorCode: ComponentErrorCodes.NOT_AUTHENTICATED,
|
|
41
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
42
|
+
});
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
34
45
|
this.analytics = new JustifiAnalytics(this);
|
|
35
46
|
checkPkgVersion();
|
|
36
47
|
checkoutStore.authToken = this.authToken;
|
|
48
|
+
checkoutStore.savePaymentMethod = this.savePaymentMethod;
|
|
37
49
|
this.fetchCheckout();
|
|
38
|
-
// Refresh the checkout data when insurance
|
|
50
|
+
// Refresh the checkout data when insurance values actually change (not on initial load)
|
|
39
51
|
insuranceValuesOn('set', (key) => {
|
|
40
52
|
const value = insuranceValues[key];
|
|
41
|
-
if (value !== undefined) {
|
|
53
|
+
if (value !== undefined && hasInsuranceValueChanged(key, value)) {
|
|
42
54
|
this.fetchCheckout();
|
|
43
55
|
}
|
|
44
56
|
});
|
|
@@ -54,6 +66,22 @@ export class CheckoutWrapper {
|
|
|
54
66
|
if (this.getCheckout) {
|
|
55
67
|
this.getCheckout({
|
|
56
68
|
onSuccess: ({ checkout }) => {
|
|
69
|
+
if (checkout.status === ICheckoutStatus.completed) {
|
|
70
|
+
this.errorEvent.emit({
|
|
71
|
+
message: ComponentErrorMessages.CHECKOUT_ALREADY_COMPLETED,
|
|
72
|
+
errorCode: ComponentErrorCodes.CHECKOUT_ALREADY_COMPLETED,
|
|
73
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
74
|
+
});
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
else if (checkout.status === ICheckoutStatus.expired) {
|
|
78
|
+
this.errorEvent.emit({
|
|
79
|
+
message: ComponentErrorMessages.CHECKOUT_EXPIRED,
|
|
80
|
+
errorCode: ComponentErrorCodes.CHECKOUT_EXPIRED,
|
|
81
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
82
|
+
});
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
57
85
|
this.updateStore(checkout);
|
|
58
86
|
},
|
|
59
87
|
onError: (error) => {
|
|
@@ -87,14 +115,14 @@ export class CheckoutWrapper {
|
|
|
87
115
|
this.sezzlePaymentMethodRef = this.hostEl.querySelector('justifi-sezzle-payment-method');
|
|
88
116
|
}
|
|
89
117
|
async tokenizePaymentMethod(tokenizeArgs) {
|
|
90
|
-
var _a, _b;
|
|
118
|
+
var _a, _b, _c;
|
|
91
119
|
const billingInfoValues = (_b = await ((_a = this.billingInformationFormRef) === null || _a === void 0 ? void 0 : _a.getValues())) !== null && _b !== void 0 ? _b : {};
|
|
92
120
|
const combinedBillingInfo = Object.assign(Object.assign({}, tokenizeArgs), billingInfoValues);
|
|
93
121
|
const paymentMethodMetadata = Object.assign({ accountId: checkoutStore.accountId, payment_method_group_id: undefined }, combinedBillingInfo);
|
|
94
|
-
if (
|
|
122
|
+
if (checkoutStore.savePaymentMethod) {
|
|
95
123
|
paymentMethodMetadata.payment_method_group_id = checkoutStore.paymentMethodGroupId;
|
|
96
124
|
}
|
|
97
|
-
return this.paymentMethodFormRef.tokenize({
|
|
125
|
+
return (_c = this.paymentMethodFormRef) === null || _c === void 0 ? void 0 : _c.tokenize({
|
|
98
126
|
clientId: this.authToken,
|
|
99
127
|
paymentMethodMetadata,
|
|
100
128
|
account: checkoutStore.accountId,
|
|
@@ -194,7 +222,7 @@ export class CheckoutWrapper {
|
|
|
194
222
|
checkoutStore.selectedPaymentMethod = paymentMethodId;
|
|
195
223
|
}
|
|
196
224
|
render() {
|
|
197
|
-
return (h(Host, { key: '
|
|
225
|
+
return (h(Host, { key: '6b18f4f77b736f984ac15f168cc51b74c3927225' }));
|
|
198
226
|
}
|
|
199
227
|
static get is() { return "justifi-modular-checkout"; }
|
|
200
228
|
static get properties() {
|
|
@@ -376,4 +404,10 @@ export class CheckoutWrapper {
|
|
|
376
404
|
};
|
|
377
405
|
}
|
|
378
406
|
static get elementRef() { return "hostEl"; }
|
|
407
|
+
static get watchers() {
|
|
408
|
+
return [{
|
|
409
|
+
"propName": "savePaymentMethod",
|
|
410
|
+
"methodName": "savePaymentMethodChanged"
|
|
411
|
+
}];
|
|
412
|
+
}
|
|
379
413
|
}
|
|
@@ -40,10 +40,10 @@ export class BankAccountForm {
|
|
|
40
40
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h(StyledHost, { key: '
|
|
43
|
+
return (h(StyledHost, { key: 'c514fdaa726fbccd7caeb7629ffdb997b53a05d1' }, h(BankAccountFormSkeleton, { key: 'cc0871ce3e983c025def27526d811ac7547a5a15', isReady: this.isReady }), h("hidden-input", { key: '43fe0f3ee8987a7a71bdbda7d589916148ec8cb2' }), h("div", { key: '37d5fb42ee27aa02e34d0be96c4db913b51748bd', class: "container-fluid p-0", style: {
|
|
44
44
|
opacity: this.isReady ? '1' : '0',
|
|
45
45
|
height: this.isReady ? 'auto' : '0',
|
|
46
|
-
} }, h("div", { key: '
|
|
46
|
+
} }, h("div", { key: '182f7124dbff91540e9507c184ddbe38e8878d08', class: "row mb-3" }, h("iframe-input", { key: '05f96ae6bb3b0da0e14144a2650100a87c203bea', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: 'abbd604d511e84b6ee814d124878ad9d118c312a', class: "row" }, h("iframe-input", { key: '615000330fc0735a514c37a60c814e3cb301dcd2', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "justifi-bank-account-form"; }
|
|
49
49
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/modular-checkout/sub-components/billing-information-form.js
CHANGED
|
@@ -31,16 +31,21 @@ export class BillingInformationForm {
|
|
|
31
31
|
this.errors = Object.assign({}, errors);
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
|
+
async fill(values) {
|
|
35
|
+
this.formController.setInitialValues(values);
|
|
36
|
+
return this.formController.values.getValue();
|
|
37
|
+
}
|
|
34
38
|
async getValues() {
|
|
35
39
|
return this.formController.values.getValue();
|
|
36
40
|
}
|
|
37
41
|
async validate() {
|
|
38
|
-
|
|
39
|
-
|
|
42
|
+
const isValid = await this.formController.validate();
|
|
43
|
+
const errors = this.formController.errors.getValue();
|
|
44
|
+
return { isValid, errors };
|
|
40
45
|
}
|
|
41
46
|
render() {
|
|
42
47
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
43
|
-
return (h(StyledHost, { key: '
|
|
48
|
+
return (h(StyledHost, { key: '8ccc19bff46cfdd69aa8c24d802f280f903b2c83' }, h("div", { key: 'e4086d169ed498257a7bee09d4e6d0370361cb47', part: billingForm }, h("form", { key: '5cfd86c8e707600323421593aca5d818b94d85bf' }, h("fieldset", { key: '2f0409d62e676510c1f9a12333249f5a90d4a137' }, h("div", { key: '244aefaac547fa583ea95cff06f9cb260d0e23f2', class: "row gy-3" }, h("div", { key: 'cec59600605cb3c071cd6160be1b3252e413cca3', class: "col-12" }, h("form-control-text", { key: 'd9046a9e2125027bd297847c3239acd41ddfb77c', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'e3bde7950e9cc21441f603e9f83074eaee53e2bb', class: "col-12" }, h("form-control-text", { key: '1c60f429fe9bad373c9c224b1b5ae8e036a523e3', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { key: '67b46c93ce0abf603b673d72ff056736be547c1e', class: "col-12" }, h("form-control-text", { key: 'f19f4650221d263e9b62526c6eba155e559bfce6', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { key: '09d6bd3ce92fcf23c40225c17a144bb39dae3458', class: "col-12" }, h("form-control-text", { key: 'dd7d03f10badb50fdfb830de01208281e4027753', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { key: '432885802707e91a326571201edb36153b2007f9', class: "col-12" }, h("form-control-select", { key: '3d67e842a0080180210fa0530f6ca2e980696db5', name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { key: '81d43b163f29bca08193affcfccd02224ed96cf3', class: "col-12" }, h("form-control-text", { key: 'bf5f32c222e044a09b275232fc42e6b474f1b7f3', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))))))));
|
|
44
49
|
}
|
|
45
50
|
static get is() { return "justifi-billing-information-form"; }
|
|
46
51
|
static get encapsulation() { return "shadow"; }
|
|
@@ -53,6 +58,32 @@ export class BillingInformationForm {
|
|
|
53
58
|
}
|
|
54
59
|
static get methods() {
|
|
55
60
|
return {
|
|
61
|
+
"fill": {
|
|
62
|
+
"complexType": {
|
|
63
|
+
"signature": "(values: BillingFormFields) => Promise<any>",
|
|
64
|
+
"parameters": [{
|
|
65
|
+
"name": "values",
|
|
66
|
+
"type": "BillingFormFields",
|
|
67
|
+
"docs": ""
|
|
68
|
+
}],
|
|
69
|
+
"references": {
|
|
70
|
+
"Promise": {
|
|
71
|
+
"location": "global",
|
|
72
|
+
"id": "global::Promise"
|
|
73
|
+
},
|
|
74
|
+
"BillingFormFields": {
|
|
75
|
+
"location": "import",
|
|
76
|
+
"path": "./billing-form-schema",
|
|
77
|
+
"id": "src/components/modular-checkout/sub-components/billing-form-schema.ts::BillingFormFields"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"return": "Promise<any>"
|
|
81
|
+
},
|
|
82
|
+
"docs": {
|
|
83
|
+
"text": "",
|
|
84
|
+
"tags": []
|
|
85
|
+
}
|
|
86
|
+
},
|
|
56
87
|
"getValues": {
|
|
57
88
|
"complexType": {
|
|
58
89
|
"signature": "() => Promise<BillingFormFields>",
|
|
@@ -77,7 +108,7 @@ export class BillingInformationForm {
|
|
|
77
108
|
},
|
|
78
109
|
"validate": {
|
|
79
110
|
"complexType": {
|
|
80
|
-
"signature": "() => Promise<{ isValid: boolean; }>",
|
|
111
|
+
"signature": "() => Promise<{ isValid: boolean; errors: any; }>",
|
|
81
112
|
"parameters": [],
|
|
82
113
|
"references": {
|
|
83
114
|
"Promise": {
|
|
@@ -85,7 +116,7 @@ export class BillingInformationForm {
|
|
|
85
116
|
"id": "global::Promise"
|
|
86
117
|
}
|
|
87
118
|
},
|
|
88
|
-
"return": "Promise<{ isValid: boolean; }>"
|
|
119
|
+
"return": "Promise<{ isValid: boolean; errors: any; }>"
|
|
89
120
|
},
|
|
90
121
|
"docs": {
|
|
91
122
|
"text": "",
|
|
@@ -44,10 +44,10 @@ export class JustifiCardForm {
|
|
|
44
44
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h(StyledHost, { key: '
|
|
47
|
+
return (h(StyledHost, { key: 'e766d6934331eb81a88f7170b0af6ac30dcad5cf' }, h(CardFormSkeleton, { key: '085c4a7c55eb510fab67f5b2b40a74ed9dad8641', isReady: this.isReady }), h("hidden-input", { key: '2da8909ba30187b2af76c359df09454aee20c122' }), h("div", { key: '278ce2f40e26444bd6ba3d6c86ab2c9fc24f192f', class: "container-fluid p-0", style: {
|
|
48
48
|
opacity: this.isReady ? '1' : '0',
|
|
49
49
|
height: this.isReady ? 'auto' : '0',
|
|
50
|
-
} }, h("div", { key: '
|
|
50
|
+
} }, h("div", { key: '37cc4de3dee474960e1313ec373c5f1f8ac73832', class: "mb-3" }, h("iframe-input", { key: 'f4a0ec580257cec559d9b50f51a7b49f68724bba', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: 'e65d56b26704e676e0851fee603d94faf3927e63', class: "row" }, h("div", { key: 'dc3e8a71551bc9296a45f2f2f34e950aa2441b58', class: "col-4 align-content-end" }, h("iframe-input", { key: 'bf01e116b03c48a2562581b59c9fc51a2ceb76ca', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '894ff6ad9cabe84f040130029547c1f21280e648', class: "col-4 align-content-end" }, h("iframe-input", { key: '2491f2262264ca7d00763c24918cf36b1be3918c', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'eb28615b2b4c4f3c96eecaa669c145d7c75540e2', class: "col-4 align-content-end" }, h("iframe-input", { key: '3a41f7d72962ded54572046ff663b63dd00c3a7c', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "justifi-card-form"; }
|
|
53
53
|
static get encapsulation() { return "shadow"; }
|
|
@@ -3,7 +3,7 @@ import { radioListItem } from "../../../styles/parts";
|
|
|
3
3
|
import { StyledHost } from "../../../ui-components";
|
|
4
4
|
export class PaymentMethodOption {
|
|
5
5
|
render() {
|
|
6
|
-
return (h(StyledHost, { key: '
|
|
6
|
+
return (h(StyledHost, { key: '8d4bc7222b08e71511017ef1292360f491de05c0', class: "payment-method" }, h("div", { key: '0c9efd8f33e07dfc7261010ee5d4ad96302ae36b', class: "radio-list-item p-3", part: radioListItem, onClick: this.clickHandler, hidden: this.radioButtonHidden }, h("form-control-radio", { key: 'c87f7caa8f2770d784d7efc002762f6beb5f1896', name: "paymentMethodType", value: this.paymentMethodOptionId, checked: this.isSelected, label: this.label }))));
|
|
7
7
|
}
|
|
8
8
|
static get is() { return "payment-method-option"; }
|
|
9
9
|
static get encapsulation() { return "shadow"; }
|
|
@@ -37,11 +37,12 @@ export class PostalCodeForm {
|
|
|
37
37
|
}
|
|
38
38
|
async validate() {
|
|
39
39
|
let isValid = await this.formController.validate();
|
|
40
|
-
|
|
40
|
+
const errors = this.formController.errors.getValue();
|
|
41
|
+
return { isValid, errors };
|
|
41
42
|
}
|
|
42
43
|
render() {
|
|
43
44
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
44
|
-
return (h(StyledHost, { key: '
|
|
45
|
+
return (h(StyledHost, { key: 'dd5eac14587300198c7032b5ea66cddd0c732708' }, h("form", { key: 'fb51d6c69c0b4257a7d4c6299bf28ceb30d28f31' }, h("form-control-text", { key: '0ce26b35589622f79f653e538bc683b682af1944', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))));
|
|
45
46
|
}
|
|
46
47
|
static get is() { return "justifi-postal-code-form"; }
|
|
47
48
|
static get encapsulation() { return "shadow"; }
|
|
@@ -104,7 +105,7 @@ export class PostalCodeForm {
|
|
|
104
105
|
},
|
|
105
106
|
"validate": {
|
|
106
107
|
"complexType": {
|
|
107
|
-
"signature": "() => Promise<{ isValid: boolean; }>",
|
|
108
|
+
"signature": "() => Promise<{ isValid: boolean; errors: any; }>",
|
|
108
109
|
"parameters": [],
|
|
109
110
|
"references": {
|
|
110
111
|
"Promise": {
|
|
@@ -112,7 +113,7 @@ export class PostalCodeForm {
|
|
|
112
113
|
"id": "global::Promise"
|
|
113
114
|
}
|
|
114
115
|
},
|
|
115
|
-
"return": "Promise<{ isValid: boolean; }>"
|
|
116
|
+
"return": "Promise<{ isValid: boolean; errors: any; }>"
|
|
116
117
|
},
|
|
117
118
|
"docs": {
|
|
118
119
|
"text": "",
|
|
@@ -5,7 +5,7 @@ import { checkoutStore } from "../../../store/checkout.store";
|
|
|
5
5
|
import { StyledHost } from "../../../ui-components";
|
|
6
6
|
export class Summary {
|
|
7
7
|
render() {
|
|
8
|
-
return (h(StyledHost, { key: '
|
|
8
|
+
return (h(StyledHost, { key: 'fe4584497faaf589819dd60c5310eb427518d8c6' }, h("section", { key: 'ca55b0c0feea790e13ac680b955e64565633e7bd' }, h("div", { key: 'ae82878dc9010db77bc564e4ba1cc8fc6c04e7f2' }, h("div", { key: 'daf8a8514879d64d3463b5394e61b19cf8445fb9', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: '44845dca1b6cb8d814c48279c03bc6694175e7a1' }, h("span", { key: 'eebc881d4693cab79fa25edb7563979c21d049a3', part: text }, "Total"), "\u00A0", h("span", { key: 'fbf572ba41fb575aa83c1f56d35a294e0855dc9c', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "justifi-checkout-summary"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -126,7 +126,7 @@ export class OrderTerminals {
|
|
|
126
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))));
|
|
127
127
|
}
|
|
128
128
|
render() {
|
|
129
|
-
return (h(StyledHost, { key: '
|
|
129
|
+
return (h(StyledHost, { key: 'ce28f30bedd8c988c90d9bf5912e5c55eb8a8b89' }, h("div", { key: '76289143ed051b47e7d0e4b483f09a1a74b747c7', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
|
|
130
130
|
}
|
|
131
131
|
static get is() { return "justifi-order-terminals"; }
|
|
132
132
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,7 +18,7 @@ export class TerminalQuantitySelector {
|
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h("div", { key: '
|
|
21
|
+
return (h("div", { key: '098ff45ab3cc11ed4a4c0aca0afb8e6a07dc2d1f', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: 'b56e327811e04c0cb6e7dbfb6fc71653ad250d21', class: "d-flex gap-3" }, h("div", { key: 'd14e7b29f17da9ad0a0e14f3bae67ff2b3da5014', class: "d-flex align-items-center" }, h("img", { key: '4a18f55103efa142b35b14d4664ff7c30f9f5856', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: '01e54b539b7b1558241ae6a7d55d08f90c269e0f', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: 'fc1b072e8608cc728d904c0b2cfe81cedb517d89', class: "row" }, h("div", { key: 'e92ad7d5188b95c5cccb34b7764539e5295a4377', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: 'ce7a7082cf612b1ea292d00a4d1b974a7173ec5c', helpText: this.description })), h("div", { key: 'a78d11688b87e038fd3367a6fd5216e67805de53', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: '7189baadf1be00653f73b224292488d679440f18', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: 'c915187a77d059246a02eae52dab022c551e3412', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: '9f4356e007407670b887f3493d204db2468da520', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "terminal-quantity-selector"; }
|
|
24
24
|
static get properties() {
|
|
@@ -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"; }
|