@justifi/webcomponents 5.7.6-rc-19 → 5.7.6-rc-21
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-p2pK86Zd.js → Api-CPuq_15r.js} +1 -1
- package/dist/cjs/{Refund-BztCb6AK.js → Refund-CqWNG8sx.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 +7 -7
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/{business.service-DwZSyIlI.js → business.service-C3BdUPlm.js} +2 -3
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-BoUUKfeC.js → check-pkg-version-BzCIWkkG.js} +3 -4
- package/dist/cjs/{checkout.service-C_qEIb8b.js → checkout.service-B0ZmvWwI.js} +2 -3
- package/dist/cjs/{checkout.store-mEv437nN.js → checkout.store-CV_fuGQw.js} +3 -2
- package/dist/cjs/checkouts-list-core.cjs.entry.js +5 -5
- package/dist/cjs/{checkouts-table-DJoMGwVG.js → checkouts-table-UN5gPpQ_.js} +1 -1
- package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_2.cjs.entry.js} +22 -2
- package/dist/cjs/dinero-BwNN_k7x.js +1657 -0
- package/dist/cjs/{dispute.service-cQpQQMeh.js → dispute.service-DsPEAcDn.js} +2 -3
- 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 +6 -4
- 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 → form-control-select_2.cjs.entry.js} +4 -23
- package/dist/cjs/{get-payment-details-DwLcmCQs.js → get-payment-details-DtCXaIMx.js} +3 -4
- package/dist/cjs/{get-subaccounts-CvtcQGsb.js → get-subaccounts-CwCH5rC8.js} +3 -4
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -2
- package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
- package/dist/cjs/{insurance-state-qT_hkvZV.js → insurance-state-Cyva9u6S.js} +18 -0
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +3 -3
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +14 -14
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +372 -0
- package/dist/cjs/justifi-business-details.cjs.entry.js +8 -8
- package/dist/cjs/justifi-business-form.cjs.entry.js +7 -7
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout-summary_6.cjs.entry.js +706 -0
- package/dist/cjs/justifi-checkout.cjs.entry.js +43 -36
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +8 -8
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +11 -11
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -6
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +9 -9
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-details.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payout-details.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +8 -8
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +3 -3
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +109 -9
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +5 -5
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +10 -10
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-C-8mOnW0.js → package-B9ks67gS.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +10 -9
- package/dist/cjs/{payment-method-option-utils-CfLXhpsL.js → payment-method-option-utils-WYHIHy-l.js} +1 -11
- package/dist/cjs/payment-method-option.cjs.entry.js +17 -0
- package/dist/cjs/{payment.service-CVZ55YLl.js → payment.service-1H0VC3LV.js} +2 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +5 -5
- package/dist/cjs/{payments-table-uouQ4x2Y.js → payments-table-quF0NnsS.js} +1 -1
- package/dist/cjs/payout-details-core.cjs.entry.js +5 -4
- package/dist/cjs/{payout.service-BlbHwzd_.js → payout.service-CIZFU-hV.js} +2 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +5 -5
- package/dist/cjs/{payouts-table-Bo61u5ZZ.js → payouts-table-D_CCTR_k.js} +1 -1
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +5 -5
- package/dist/cjs/{terminal-orders-table-v0Sn7jUg.js → terminal-orders-table-0O5jtzYj.js} +2 -3
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-I07QoXPB.js → terminal.service-DUlyMTrX.js} +2 -3
- package/dist/cjs/terminals-list-core.cjs.entry.js +5 -5
- package/dist/cjs/{terminals-table-CGG9EhiI.js → terminals-table-C2BNRUS5.js} +1 -1
- package/dist/cjs/{utils-Dka3MplB.js → utils-BaGF9XIe.js} +3 -1661
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +4 -6
- 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-schema.js +24 -19
- package/dist/collection/components/checkout/billing-form/billing-form.js +16 -37
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +39 -39
- 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 +108 -3
- package/dist/collection/components/modular-checkout/modular-checkout.js +38 -102
- package/dist/collection/components/modular-checkout/sub-components/{postal-code-form.js → bank-account-billing-form-simple.js} +39 -25
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/billing-form-full.js +143 -0
- package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +139 -0
- 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/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 +290 -87
- package/dist/collection/store/checkout.store.js +3 -2
- 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 +5 -3
- 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 +1585 -2885
- package/dist/esm/{Api-DQM93PRm.js → Api-N_veT2p6.js} +1 -1
- package/dist/esm/{Dispute-7MWRbTXI.js → Dispute-BH0Xfn-F.js} +1 -1
- package/dist/esm/{Refund-4B3c-kLz.js → Refund-Di6J0oN2.js} +148 -2
- package/dist/esm/additional-questions-details_5.entry.js +4 -3
- package/dist/esm/{badge-D-vrtiQR.js → badge-D_mzXSCQ.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +11 -11
- 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-BgXdRyYa.js → business.service-Bdvhdc_d.js} +3 -4
- package/dist/esm/{button-DxM4-mlD.js → button-CeR8qVS3.js} +1 -1
- package/dist/esm/card-form.entry.js +4 -4
- package/dist/esm/{check-pkg-version-DFpvuqy7.js → check-pkg-version-D3fhoIFS.js} +4 -5
- package/dist/esm/{checkout.service-CXeKDZTF.js → checkout.service-XgGFa7H8.js} +3 -4
- package/dist/esm/{checkout.store-QrBBYQfi.js → checkout.store-B60siz2l.js} +3 -2
- package/dist/esm/checkouts-list-core.entry.js +10 -10
- package/dist/esm/{checkouts-table-Djb7Yj6O.js → checkouts-table-CFZYoYjn.js} +3 -3
- package/dist/esm/{custom-popper.entry.js → custom-popper_2.entry.js} +22 -3
- package/dist/esm/dinero-HXpYMWUU.js +1655 -0
- package/dist/esm/{dispute.service-DWs_TX-m.js → dispute.service-CKPcmwhH.js} +3 -4
- 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-Dew-m4MW.js → form-control-error-text-D3ZwkOv-.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-CcPKT19_.js → form-control-help-text-C39ZW65w.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 +8 -6
- 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 → form-control-select_2.entry.js} +7 -25
- package/dist/esm/{get-payment-details-j8nOngzB.js → get-payment-details-Dt-dr16k.js} +3 -4
- package/dist/esm/{get-subaccounts-C62B2OC_.js → get-subaccounts-BsoVLANw.js} +4 -5
- package/dist/esm/gross-payment-chart-core.entry.js +6 -5
- package/dist/esm/{header-1-B0PFwGib.js → header-1-E-hEi3wF.js} +1 -1
- package/dist/esm/{header-3-D3gxg6YU.js → header-3-Dm7M85kz.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +7 -7
- package/dist/esm/{insurance-state-DQH40x6F.js → insurance-state-CB4l8sOv.js} +19 -2
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +7 -7
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +17 -17
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +362 -0
- package/dist/esm/justifi-business-details.entry.js +10 -10
- package/dist/esm/justifi-business-form.entry.js +12 -12
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
- package/dist/esm/justifi-checkout-summary_6.entry.js +699 -0
- package/dist/esm/justifi-checkout.entry.js +44 -37
- package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -6
- package/dist/esm/justifi-checkouts-list.entry.js +13 -13
- 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 +9 -9
- package/dist/esm/justifi-dispute-notification_3.entry.js +14 -14
- package/dist/esm/justifi-gross-payment-chart.entry.js +9 -9
- package/dist/esm/justifi-order-terminals.entry.js +12 -12
- package/dist/esm/justifi-owner-form_3.entry.js +11 -11
- package/dist/esm/justifi-payment-details.entry.js +11 -11
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +9 -9
- package/dist/esm/justifi-payment-transactions-list.entry.js +12 -12
- package/dist/esm/justifi-payments-list-filters.entry.js +5 -4
- package/dist/esm/justifi-payments-list.entry.js +13 -13
- package/dist/esm/justifi-payout-details.entry.js +10 -10
- package/dist/esm/justifi-payout-transactions-list.entry.js +12 -12
- package/dist/esm/justifi-payouts-list-filters.entry.js +5 -4
- package/dist/esm/justifi-payouts-list.entry.js +14 -14
- package/dist/esm/justifi-refund-payment.entry.js +12 -12
- package/dist/esm/justifi-saved-payment-method.entry.js +4 -4
- package/dist/esm/justifi-season-interruption-insurance.entry.js +111 -11
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +7 -7
- package/dist/esm/justifi-terminal-orders-list.entry.js +11 -11
- package/dist/esm/justifi-terminals-list-filters.entry.js +6 -6
- package/dist/esm/justifi-terminals-list.entry.js +13 -13
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-ZCw5ZCb0.js → package-wutYt_7D.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-D3G5aVLy.js → parts-CfF8KKwx.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +15 -14
- package/dist/esm/{payment-method-option-utils-Cm6lAaP1.js → payment-method-option-utils-lUHAQVFl.js} +2 -10
- package/dist/esm/payment-method-option.entry.js +15 -0
- package/dist/esm/{payment.service-BnDr_9vX.js → payment.service-BWO84KlP.js} +3 -4
- package/dist/esm/payments-list-core.entry.js +11 -11
- package/dist/esm/{payments-status-DVYzDcJ4.js → payments-status-XoZrlbiZ.js} +1 -1
- package/dist/esm/{payments-table-BuiNqlwv.js → payments-table-Dh4P9mTb.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +11 -10
- package/dist/esm/{payout.service-Ai1aEuFC.js → payout.service-Cld6TS5W.js} +3 -4
- package/dist/esm/payouts-list-core.entry.js +11 -11
- package/dist/esm/{payouts-status-Bae6G8Hq.js → payouts-status-Qm2jZG1-.js} +1 -1
- package/dist/esm/{payouts-table-cgIXP54P.js → payouts-table-DMVAZp-r.js} +3 -3
- package/dist/esm/{skeleton-CZfDofm6.js → skeleton-DrHwsgs_.js} +1 -1
- package/dist/esm/{spinner-D-vbFqC6.js → spinner-XBq6mVJW.js} +1 -1
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/{table-CTPfsGKi.js → table-qqt2Ew5y.js} +2 -2
- package/dist/esm/terminal-orders-list-core.entry.js +10 -10
- package/dist/esm/{terminal-orders-table-CvK516_V.js → terminal-orders-table-BN4Co4T8.js} +5 -6
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-BLeBxTv4.js → terminal.service-DmYCUQcA.js} +3 -4
- package/dist/esm/terminals-list-core.entry.js +10 -10
- package/dist/esm/{terminals-table-2QGQITkt.js → terminals-table-C8LczeG_.js} +3 -3
- package/dist/esm/{utils-CBJo9jNE.js → utils-kWaZhFAd.js} +1 -1
- package/dist/esm/{utils-B7jE0g5_.js → utils-lb8p1Exq.js} +3 -1660
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +0 -1
- package/dist/module/Refund.js +202 -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-billing-form-simple.js +86 -0
- 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-full.js +98 -0
- package/dist/module/billing-form-schema.js +25 -20
- package/dist/module/billing-form.js +34 -65
- 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/{postal-code-form.js → card-billing-form-simple.js} +17 -23
- 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 +3 -2
- 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 +1655 -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 +6 -3
- 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/header-3.js +1 -1
- 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-bank-account-billing-form-simple.d.ts +11 -0
- package/dist/module/justifi-bank-account-billing-form-simple.js +6 -0
- package/dist/module/justifi-billing-form-full.d.ts +11 -0
- package/dist/module/justifi-billing-form-full.js +6 -0
- package/dist/module/justifi-business-form.js +2 -2
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-card-billing-form-simple.d.ts +11 -0
- package/dist/module/justifi-card-billing-form-simple.js +6 -0
- package/dist/module/justifi-checkout.js +83 -59
- 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 +1 -1
- 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 +115 -15
- 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 +1 -135
- 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 +39 -105
- 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-option.js +49 -1
- 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/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/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/tokenize-payment-method.js +400 -0
- package/dist/module/utils2.js +3 -1660
- package/dist/types/components/checkout/billing-form/billing-form-schema.d.ts +31 -1
- package/dist/types/components/checkout/billing-form/billing-form.d.ts +3 -9
- package/dist/types/components/checkout/checkout.d.ts +7 -10
- 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/insurance/season-interruption/season-interruption-insurance.d.ts +7 -1
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +1 -8
- package/dist/types/components/modular-checkout/sub-components/{postal-code-form.d.ts → bank-account-billing-form-simple.d.ts} +5 -6
- package/dist/types/components/modular-checkout/sub-components/billing-form-full.d.ts +17 -0
- package/dist/types/components/modular-checkout/sub-components/{billing-information-form.d.ts → card-billing-form-simple.d.ts} +5 -5
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +41 -14
- package/dist/types/components.d.ts +111 -313
- package/dist/types/store/checkout.store.d.ts +3 -2
- 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-08ea8974.entry.js +1 -0
- package/dist/webcomponents/p-0932f6a9.entry.js +1 -0
- package/dist/webcomponents/p-09e768fe.entry.js +1 -0
- package/dist/webcomponents/p-15777cfe.entry.js +1 -0
- package/dist/webcomponents/p-22be0859.entry.js +1 -0
- package/dist/webcomponents/{p-ab3e7841.entry.js → p-283cd78b.entry.js} +1 -1
- package/dist/webcomponents/{p-ee2afa41.entry.js → p-28c7bef7.entry.js} +4 -4
- package/dist/webcomponents/p-2a3d5af2.entry.js +1 -0
- package/dist/webcomponents/{p-10dedd06.entry.js → p-2ec9f293.entry.js} +1 -1
- package/dist/webcomponents/p-3095775c.entry.js +1 -0
- package/dist/webcomponents/{p-0c06ede5.entry.js → p-36d72e2d.entry.js} +1 -1
- package/dist/webcomponents/p-39b79825.entry.js +1 -0
- package/dist/webcomponents/{p-bec23c19.entry.js → p-3d85d046.entry.js} +1 -1
- package/dist/webcomponents/p-40ba49e4.entry.js +1 -0
- package/dist/webcomponents/p-424f491c.entry.js +1 -0
- package/dist/webcomponents/p-466f33d7.entry.js +1 -0
- package/dist/webcomponents/{p-06ff03e7.entry.js → p-48bccf3b.entry.js} +1 -1
- package/dist/webcomponents/{p-0f5e61bc.entry.js → p-4ba144ac.entry.js} +1 -1
- package/dist/webcomponents/{p-c663b439.entry.js → p-57143978.entry.js} +1 -1
- package/dist/webcomponents/p-596b2653.entry.js +1 -0
- package/dist/webcomponents/{p-35041202.entry.js → p-5b09c0d8.entry.js} +1 -1
- package/dist/webcomponents/p-5rVtZ2GJ.js +1 -0
- package/dist/webcomponents/p-6e18d13f.entry.js +1 -0
- package/dist/webcomponents/{p-e33d1dd7.entry.js → p-6f847539.entry.js} +1 -1
- package/dist/webcomponents/p-7721a457.entry.js +1 -0
- package/dist/webcomponents/p-77515be6.entry.js +1 -0
- package/dist/webcomponents/p-79055216.entry.js +1 -0
- package/dist/webcomponents/p-7c51805a.entry.js +1 -0
- package/dist/webcomponents/{p-5514959b.entry.js → p-7d944f7e.entry.js} +1 -1
- package/dist/webcomponents/p-7ef0b68d.entry.js +1 -0
- package/dist/webcomponents/p-818f51fd.entry.js +1 -0
- package/dist/webcomponents/p-89e27079.entry.js +1 -0
- package/dist/webcomponents/p-8f0339de.entry.js +1 -0
- package/dist/webcomponents/p-904a95e5.entry.js +1 -0
- package/dist/webcomponents/p-9b75aced.entry.js +1 -0
- package/dist/webcomponents/p-9bb8bebf.entry.js +1 -0
- package/dist/webcomponents/p-BC8YDY7M.js +1 -0
- package/dist/webcomponents/{p-7MWRbTXI.js → p-BH0Xfn-F.js} +1 -1
- package/dist/webcomponents/p-BTkXk7ol.js +1 -0
- package/dist/webcomponents/p-Bb6FBEPP.js +1 -0
- package/dist/webcomponents/{p-B2csvKrZ.js → p-BbYVgLcf.js} +1 -1
- package/dist/webcomponents/{p-BFL-wXPM.js → p-BeszVz87.js} +1 -1
- package/dist/webcomponents/p-BisQ61nK.js +1 -0
- package/dist/webcomponents/p-Bpcb3SsP.js +1 -0
- package/dist/webcomponents/p-BySyDTv5.js +1 -0
- package/dist/webcomponents/{p-C8ll3Wwp.js → p-Bz164TKZ.js} +1 -1
- package/dist/webcomponents/p-C1fMfnu0.js +1 -0
- package/dist/webcomponents/p-CCME-fyU.js +1 -0
- package/dist/webcomponents/p-CEsXw0Ph.js +1 -0
- package/dist/webcomponents/p-CLwzqWk2.js +1 -0
- package/dist/webcomponents/p-C_CXv7AN.js +1 -0
- package/dist/webcomponents/{p-D3G5aVLy.js → p-CfF8KKwx.js} +1 -1
- package/dist/webcomponents/{p-DX_mixvZ.js → p-CsNubTqD.js} +1 -1
- package/dist/webcomponents/p-CwZKT93w.js +1 -0
- package/dist/webcomponents/p-D599ZMGU.js +1 -0
- package/dist/webcomponents/p-DD74a16D.js +1 -0
- package/dist/webcomponents/{p-CEYGUVns.js → p-DO3INvI2.js} +1 -1
- package/dist/webcomponents/p-DWUnL_zj.js +1 -0
- package/dist/webcomponents/{p-BRtwZAeZ.js → p-Dvxpy_P1.js} +1 -1
- package/dist/webcomponents/p-HXpYMWUU.js +1 -0
- package/dist/webcomponents/{p-Dj1uo4J3.js → p-I8XpD1TX.js} +1 -1
- package/dist/webcomponents/{p-Cm_ywVHL.js → p-JgbsbAhz.js} +1 -1
- package/dist/webcomponents/p-UD2JhYS2.js +1 -0
- package/dist/webcomponents/p-WEguiGt1.js +1 -0
- package/dist/webcomponents/{p-BvyiDejp.js → p-YND5pTuF.js} +1 -1
- package/dist/webcomponents/p-ZpPDShvP.js +1 -0
- package/dist/webcomponents/p-a357be7d.entry.js +1 -0
- package/dist/webcomponents/p-a3d005dc.entry.js +1 -0
- package/dist/webcomponents/p-a4172773.entry.js +1 -0
- package/dist/webcomponents/p-a7d5e434.entry.js +1 -0
- package/dist/webcomponents/{p-a2b597ef.entry.js → p-a8205044.entry.js} +1 -1
- package/dist/webcomponents/p-ae5a3c2a.entry.js +1 -0
- package/dist/webcomponents/{p-fe001786.entry.js → p-b0bfa20f.entry.js} +1 -1
- package/dist/webcomponents/p-b107ad76.entry.js +1 -0
- package/dist/webcomponents/p-b504a22b.entry.js +1 -0
- package/dist/webcomponents/p-b6f55d70.entry.js +1 -0
- package/dist/webcomponents/p-ba8ae31f.entry.js +1 -0
- package/dist/webcomponents/p-bdb56836.entry.js +1 -0
- package/dist/webcomponents/{p-39af38f6.entry.js → p-be06d86a.entry.js} +1 -1
- package/dist/webcomponents/{p-904acc70.entry.js → p-c5b48e8d.entry.js} +1 -1
- package/dist/webcomponents/p-cb0effeb.entry.js +1 -0
- package/dist/webcomponents/p-cfca1837.entry.js +1 -0
- package/dist/webcomponents/p-d0e24727.entry.js +1 -0
- package/dist/webcomponents/{p-04b38d61.entry.js → p-d77908ca.entry.js} +1 -1
- package/dist/webcomponents/p-dd6d6ddb.entry.js +1 -0
- package/dist/webcomponents/{p-0c37be96.entry.js → p-ded22005.entry.js} +1 -1
- package/dist/webcomponents/p-df199396.entry.js +1 -0
- package/dist/webcomponents/{p-83223e05.entry.js → p-e2174f21.entry.js} +1 -1
- package/dist/webcomponents/p-e57263b7.entry.js +1 -0
- package/dist/webcomponents/p-e830a580.entry.js +1 -0
- package/dist/webcomponents/p-e859ece8.entry.js +1 -0
- package/dist/webcomponents/p-eaea7cc1.entry.js +1 -0
- package/dist/webcomponents/{p-0ce5b489.entry.js → p-f2149974.entry.js} +1 -1
- package/dist/webcomponents/p-fa33df9f.entry.js +1 -0
- package/dist/webcomponents/p-ff3377e7.entry.js +1 -0
- package/dist/webcomponents/p-ff869ded.entry.js +1 -0
- package/dist/webcomponents/p-qMrd7_Gp.js +1 -0
- package/dist/webcomponents/{p-DCDU6JB3.js → p-vRhNRfmB.js} +1 -1
- package/dist/webcomponents/p-wutYt_7D.js +1 -0
- package/dist/webcomponents/p-zdIeCUeh.js +1 -0
- package/dist/webcomponents/p-zrUQD0Wr.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/Payment-2Zmn-l6G.js +0 -151
- package/dist/cjs/justifi-apple-pay.cjs.entry.js +0 -873
- package/dist/cjs/justifi-bank-account-form_5.cjs.entry.js +0 -277
- package/dist/cjs/justifi-billing-form.cjs.entry.js +0 -76
- package/dist/cjs/justifi-button_5.cjs.entry.js +0 -444
- package/dist/cjs/justifi-new-payment-method.cjs.entry.js +0 -99
- package/dist/cjs/justifi-payment-method-options.cjs.entry.js +0 -75
- package/dist/cjs/justifi-saved-payment-methods_2.cjs.entry.js +0 -116
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +0 -123
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +0 -86
- package/dist/collection/api/ApplePay.js +0 -119
- package/dist/collection/api/services/apple-pay.service.js +0 -372
- package/dist/collection/components/checkout/new-payment-method.js +0 -378
- package/dist/collection/components/checkout/payment-method-options.js +0 -421
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +0 -447
- package/dist/collection/components/modular-checkout/sub-components/apple-pay-skeleton.js +0 -10
- package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +0 -554
- package/dist/collection/components/modular-checkout/sub-components/billing-form-schema.js +0 -21
- package/dist/collection/components/modular-checkout/sub-components/billing-information-form.js +0 -97
- package/dist/collection/ui-components/apple-pay-button.js +0 -146
- package/dist/esm/Payment-Bs0-9Lnt.js +0 -149
- package/dist/esm/justifi-apple-pay.entry.js +0 -871
- package/dist/esm/justifi-bank-account-form_5.entry.js +0 -271
- package/dist/esm/justifi-billing-form.entry.js +0 -74
- package/dist/esm/justifi-button_5.entry.js +0 -438
- package/dist/esm/justifi-new-payment-method.entry.js +0 -97
- package/dist/esm/justifi-payment-method-options.entry.js +0 -73
- package/dist/esm/justifi-saved-payment-methods_2.entry.js +0 -113
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +0 -121
- package/dist/esm/justifi-tokenize-payment-method.entry.js +0 -84
- package/dist/module/Payment.js +0 -204
- package/dist/module/billing-information-form.js +0 -97
- package/dist/module/justifi-apple-pay.d.ts +0 -11
- package/dist/module/justifi-apple-pay.js +0 -913
- package/dist/module/justifi-billing-information-form.d.ts +0 -11
- package/dist/module/justifi-billing-information-form.js +0 -6
- 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/justifi-postal-code-form.d.ts +0 -11
- package/dist/module/justifi-postal-code-form.js +0 -6
- package/dist/module/justifi-season-interruption-insurance-core.d.ts +0 -11
- package/dist/module/justifi-season-interruption-insurance-core.js +0 -6
- package/dist/module/payment-method-option2.js +0 -50
- package/dist/module/payment-method-options.js +0 -129
- package/dist/module/season-interruption-insurance-core.js +0 -169
- package/dist/types/api/ApplePay.d.ts +0 -195
- package/dist/types/api/services/apple-pay.service.d.ts +0 -65
- 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/types/components/insurance/season-interruption/season-interruption-insurance-core.d.ts +0 -31
- package/dist/types/components/modular-checkout/sub-components/apple-pay-skeleton.d.ts +0 -6
- package/dist/types/components/modular-checkout/sub-components/apple-pay.d.ts +0 -38
- package/dist/types/components/modular-checkout/sub-components/billing-form-schema.d.ts +0 -23
- package/dist/types/ui-components/apple-pay-button.d.ts +0 -17
- package/dist/webcomponents/p-02f4b072.entry.js +0 -1
- package/dist/webcomponents/p-04209892.entry.js +0 -1
- package/dist/webcomponents/p-06d1bfa9.entry.js +0 -1
- package/dist/webcomponents/p-09b492a8.entry.js +0 -1
- package/dist/webcomponents/p-127406b5.entry.js +0 -1
- package/dist/webcomponents/p-18a23b4a.entry.js +0 -1
- package/dist/webcomponents/p-200d45ee.entry.js +0 -1
- package/dist/webcomponents/p-20cff97a.entry.js +0 -1
- package/dist/webcomponents/p-21dd7b38.entry.js +0 -1
- package/dist/webcomponents/p-25f296e7.entry.js +0 -1
- package/dist/webcomponents/p-2cbc2dcd.entry.js +0 -1
- package/dist/webcomponents/p-30c432ab.entry.js +0 -1
- package/dist/webcomponents/p-357e70c5.entry.js +0 -1
- package/dist/webcomponents/p-35f14ba4.entry.js +0 -1
- package/dist/webcomponents/p-3cc3be31.entry.js +0 -1
- package/dist/webcomponents/p-49754c1d.entry.js +0 -1
- package/dist/webcomponents/p-4a1efc3c.entry.js +0 -1
- package/dist/webcomponents/p-5584279d.entry.js +0 -1
- package/dist/webcomponents/p-5cfca5e0.entry.js +0 -1
- package/dist/webcomponents/p-6567c1ce.entry.js +0 -1
- package/dist/webcomponents/p-689562b1.entry.js +0 -1
- package/dist/webcomponents/p-6ab71dc9.entry.js +0 -1
- package/dist/webcomponents/p-6d8355f0.entry.js +0 -1
- package/dist/webcomponents/p-6da19fde.entry.js +0 -1
- package/dist/webcomponents/p-6e40a80f.entry.js +0 -1
- package/dist/webcomponents/p-73da14c6.entry.js +0 -1
- package/dist/webcomponents/p-78145573.entry.js +0 -1
- package/dist/webcomponents/p-8dfd5f5b.entry.js +0 -1
- package/dist/webcomponents/p-9102c7ee.entry.js +0 -1
- package/dist/webcomponents/p-9ad2ec3f.entry.js +0 -1
- package/dist/webcomponents/p-9b57e831.entry.js +0 -1
- package/dist/webcomponents/p-9ed95478.entry.js +0 -1
- package/dist/webcomponents/p-B7jE0g5_.js +0 -1
- package/dist/webcomponents/p-B8tUOqiv.js +0 -1
- package/dist/webcomponents/p-B9GgcQ-7.js +0 -1
- package/dist/webcomponents/p-BDUTtU21.js +0 -1
- package/dist/webcomponents/p-BO4xqc4w.js +0 -1
- package/dist/webcomponents/p-BYakc1Om.js +0 -1
- package/dist/webcomponents/p-Bou1Z4Bm.js +0 -1
- package/dist/webcomponents/p-Bz8JT676.js +0 -1
- package/dist/webcomponents/p-C0EFqY0W.js +0 -1
- package/dist/webcomponents/p-CLjv4frq.js +0 -1
- package/dist/webcomponents/p-Cc27pPPQ.js +0 -1
- package/dist/webcomponents/p-D522G7Ja.js +0 -1
- package/dist/webcomponents/p-DSekXpCa.js +0 -1
- package/dist/webcomponents/p-DSfL8jLw.js +0 -1
- package/dist/webcomponents/p-DVPcHdzq.js +0 -1
- package/dist/webcomponents/p-DiWKhLRS.js +0 -1
- package/dist/webcomponents/p-DtsIovbb.js +0 -1
- package/dist/webcomponents/p-Dv7YEshZ.js +0 -1
- package/dist/webcomponents/p-FdjD8N0u.js +0 -1
- package/dist/webcomponents/p-ObR0KZw0.js +0 -1
- package/dist/webcomponents/p-Sz-UKsNL.js +0 -1
- package/dist/webcomponents/p-TClLu4Bl.js +0 -1
- package/dist/webcomponents/p-ZCw5ZCb0.js +0 -1
- package/dist/webcomponents/p-a6fdf5b8.entry.js +0 -1
- package/dist/webcomponents/p-a99cf848.entry.js +0 -1
- package/dist/webcomponents/p-ad183f3d.entry.js +0 -1
- package/dist/webcomponents/p-af004f3f.entry.js +0 -1
- package/dist/webcomponents/p-b06b1886.entry.js +0 -1
- package/dist/webcomponents/p-b1301f92.entry.js +0 -1
- package/dist/webcomponents/p-bbff3166.entry.js +0 -1
- package/dist/webcomponents/p-bf4d2e69.entry.js +0 -1
- package/dist/webcomponents/p-c48279fc.entry.js +0 -1
- package/dist/webcomponents/p-c919d553.entry.js +0 -1
- package/dist/webcomponents/p-c93d6912.entry.js +0 -1
- package/dist/webcomponents/p-c9d5625c.entry.js +0 -1
- package/dist/webcomponents/p-cf115375.entry.js +0 -1
- package/dist/webcomponents/p-d16d97a4.entry.js +0 -1
- package/dist/webcomponents/p-d7d4502a.entry.js +0 -1
- package/dist/webcomponents/p-e105f664.entry.js +0 -1
- package/dist/webcomponents/p-e19e47eb.entry.js +0 -1
- package/dist/webcomponents/p-e3dabf77.entry.js +0 -1
- package/dist/webcomponents/p-e5c94a1f.entry.js +0 -1
- package/dist/webcomponents/p-fddcf426.entry.js +0 -1
- package/dist/webcomponents/p-vHbP4g3Q.js +0 -1
|
@@ -56,10 +56,10 @@ export class MonetaryInputProvisioning {
|
|
|
56
56
|
return part;
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '59e5e4d46e7d4ece898464d846505756611f6635' }, h("div", { key: 'e82201d6777584666ec5ca04ad9e02b83fa956c0', class: "form-group d-flex flex-column" }, h("label", { key: '9bbb22bb201d3db07670e4f26521593ff229f583', part: label, class: "form-label", htmlFor: this.name }, this.label), h("div", { key: '61909b4796f78e22d9e6508d9257cdf16220e675', class: "input-group" }, h("span", { key: '152a4f1a6323e55bf6f48aa25353939569acc419', class: "input-group-text", part: inputAdornment }, "$"), h("input", { key: 'cc8055c02a4ccb4f63553f45b5ded4ee3d8cf972', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
60
60
|
this.isFocused = false;
|
|
61
61
|
this.formControlBlur.emit();
|
|
62
|
-
}, onInput: this.handleFormControlInput, part: this.inputPart, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), h(FormControlHelpText, { key: '
|
|
62
|
+
}, onInput: this.handleFormControlInput, part: this.inputPart, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), h(FormControlHelpText, { key: '776dfb4a9d74342ba139dda6706af8e60b4700fc', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '74e503b7e525aeeb994b1ae94941f07365d2460e', errorText: this.errorText, name: this.name }))));
|
|
63
63
|
}
|
|
64
64
|
static get is() { return "form-control-monetary-provisioning"; }
|
|
65
65
|
static get properties() {
|
|
@@ -34,7 +34,7 @@ export class LegalAddressFormStep {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h("justifi-legal-address-form-step-core", { key: '
|
|
37
|
+
return (h("justifi-legal-address-form-step-core", { key: 'bd286476461181f2e8a435a97bf148d55876b49c', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "justifi-legal-address-form-step"; }
|
|
40
40
|
static get properties() {
|
package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js
CHANGED
|
@@ -87,7 +87,7 @@ export class PaymentProvisioningCore {
|
|
|
87
87
|
this.loading = event.detail;
|
|
88
88
|
}
|
|
89
89
|
render() {
|
|
90
|
-
return (h(StyledHost, { key: '
|
|
90
|
+
return (h(StyledHost, { key: '621b616a3b9d5be0fcc1180dcdb0db6a89ec5aa2' }, h("div", { key: 'b51c6814bb81a6cdc6cd0c5ede4d485582f154ee', class: 'row gap-3' }, h(Header1, { key: '7c03561b4c2b0cfc237d6b933aeffe532f35b626', text: this.formTitle }), h("justifi-payment-provisioning-form-steps", { key: 'b616b52cc9a0057f27ddbae1356710cee05c60fa', businessId: this.businessId, authToken: this.authToken, refs: this.refs, currentStep: this.currentStep, allowOptionalFields: this.allowOptionalFields, handleFormLoading: this.handleFormLoading }), h("div", { key: '2447bad174b5d32d253e821e76ebb32fb9ec50e3', class: 'd-flex justify-content-between align-items-center' }, h("div", { key: 'd746b5275ae0866a8619f67fe00217916153ea0a', class: 'd-flex align-items-center', part: text }, this.stepCounter), h("justifi-payment-provisioning-form-buttons", { key: 'add808398005b6076d91788cc220ab6620f3ddfc', currentStep: this.currentStep, totalSteps: this.totalSteps, formLoading: this.loading, formDisabled: this.formDisabled, previousStepButtonOnClick: this.previousStepButtonOnClick, nextStepButtonOnClick: this.nextStepButtonOnClick })))));
|
|
91
91
|
}
|
|
92
92
|
static get is() { return "justifi-payment-provisioning-core"; }
|
|
93
93
|
static get properties() {
|
|
@@ -12,7 +12,7 @@ export class PaymentProvisioningFormButtons {
|
|
|
12
12
|
return this.currentStep === this.totalSteps;
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h("div", { key: '
|
|
15
|
+
return (h("div", { key: '5869ed8c350e3a1ae5fe62dcd04493f432eecff7', class: 'd-flex gap-2' }, h(Button, { key: 'b1e8c2fff97e9a053d715860a43ddd78c99b255a', variant: "secondary", type: "button", onClick: () => this.previousStepButtonOnClick(), disabled: this.formDisabled, hidden: !this.showPreviousStepButton }, "Previous"), h(Button, { key: '8696fe4f0bde5434e51f05f67b39a8e5b2f550bf', variant: "primary", type: "button", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.nextStep), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showNextStepButton }, "Next"), h(Button, { key: 'b1750a849d60244bdb3cf82690c6cbd15b6e1110', variant: "primary", type: "submit", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.submit), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showSubmitButton }, "Submit")));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "justifi-payment-provisioning-form-buttons"; }
|
|
18
18
|
static get properties() {
|
|
@@ -16,7 +16,7 @@ export class PaymentProvisioningFormSteps {
|
|
|
16
16
|
return this.componentStepMapping[this.currentStep]();
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h("div", { key: '
|
|
19
|
+
return (h("div", { key: '9a09e562d0a3548cb40863ba5780c5d1692b6ec3', class: 'col-12 mb-4' }, this.currentStepComponent));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "justifi-payment-provisioning-form-steps"; }
|
|
22
22
|
static get properties() {
|
package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js
CHANGED
|
@@ -46,7 +46,7 @@ export class PaymentProvisioning {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
return (h("justifi-payment-provisioning-core", { key: '
|
|
49
|
+
return (h("justifi-payment-provisioning-core", { key: '6d77016584f204fdc4be5fd554b4eb1639e856ab', businessId: this.businessId, authToken: this.authToken, allowOptionalFields: this.allowOptionalFields, formTitle: this.formTitle, getBusiness: this.getBusiness, postProvisioning: this.postProvisioning }));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "justifi-payment-provisioning"; }
|
|
52
52
|
static get encapsulation() { return "shadow"; }
|
|
@@ -108,7 +108,7 @@ export class BusinessTermsConditionsFormStep {
|
|
|
108
108
|
return (h("a", { href: "https://justifi.tech/merchant-agreement/", target: "_blank", rel: "noopener noreferrer" }, "merchant agreement"));
|
|
109
109
|
}
|
|
110
110
|
render() {
|
|
111
|
-
return (h("form", { key: '
|
|
111
|
+
return (h("form", { key: '8cea6fff2e5b5cbfa7de6b3adfce238153599d1e' }, h("fieldset", { key: 'ef3c4ce5d0d03f1d048e072c6f7ac3da565ffb18' }, h("legend", { key: 'caa5fee86bd4b5c2a7204a76ae3533146526b9e1', part: heading2 }, "Terms and Conditions"), h("hr", { key: '5a72caeaf2dae8f57c0be09ca21feceb0793daf4' }), h("div", { key: 'e39700b83a10c479cf6d767c1af61ac8b480e4d5' }, h("p", { key: '2b8520977bedf73c295a387095724a561391b005' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: '706ec9ecfd4a0909583745f90b36eeb42fa5e690' }), h("div", { key: 'd915e2c49188b829b33b03f07cc8f1ccea99ee1d', class: "row-gy-3" }, h("div", { key: 'cbbc74e6b5e80bf54884a8f41eb94f6d5bcdb6dd', class: "col-12" }, h("form-control-checkbox", { key: 'f63aed196d33f1760dae8c5ac5487c0fbc7d4838', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
|
|
112
112
|
}
|
|
113
113
|
static get is() { return "justifi-business-terms-conditions-form-step"; }
|
|
114
114
|
static get properties() {
|
|
@@ -31,10 +31,10 @@ export class BankAccountForm {
|
|
|
31
31
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: 'b6cdf5a9320d92a5390daaa0a5218274f2dfc178' }, h(BankAccountFormSkeleton, { key: '286fcc38a26820d166ced0bc886143ed3d880da4', isReady: this.isReady }), h("div", { key: '041fcacff70d7cdfc0c8f41258bd9db18703e4c1', class: "container-fluid p-0", style: {
|
|
35
35
|
opacity: this.isReady ? '1' : '0',
|
|
36
36
|
height: this.isReady ? 'auto' : '0',
|
|
37
|
-
} }, h("div", { key: '
|
|
37
|
+
} }, h("div", { key: '94dc0eb0d79b40ade96e1961611e3e7a8eef20ea', class: "row mb-3" }, h("iframe-input", { key: '41c82b772e7873a45409e35ed56dfea16c20c2ee', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '1c95618a50e2d36a3a9a3a7b691ae0dfa6a09936', class: "row" }, h("iframe-input", { key: '28a4dde70c8f55b4f6bf6ce2d3beee6acbebbc0b', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "bank-account-form"; }
|
|
40
40
|
static get states() {
|
|
@@ -1,21 +1,26 @@
|
|
|
1
1
|
import { object } from "yup";
|
|
2
2
|
import { cityValidation, identityNameValidation, lineOneValidation, lineTwoValidation, postalValidation, stateValidation, } from "../../business-forms/schemas/schema-validations";
|
|
3
|
-
export const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
3
|
+
export const fullBillingSchema = () => object({
|
|
4
|
+
name: identityNameValidation.required('Enter full name'),
|
|
5
|
+
address_line1: lineOneValidation.required('Enter street address'),
|
|
6
|
+
address_line2: lineTwoValidation.nullable(),
|
|
7
|
+
address_city: cityValidation.required('Enter city'),
|
|
8
|
+
address_state: stateValidation.required('Select state'),
|
|
9
|
+
address_postal_code: postalValidation.required('Enter postal code'),
|
|
10
|
+
});
|
|
11
|
+
export const postalOnlySchema = () => object({
|
|
12
|
+
name: identityNameValidation.nullable(),
|
|
13
|
+
address_line1: lineOneValidation.nullable(),
|
|
14
|
+
address_line2: lineTwoValidation.nullable(),
|
|
15
|
+
address_city: cityValidation.nullable(),
|
|
16
|
+
address_state: stateValidation.nullable(),
|
|
17
|
+
address_postal_code: postalValidation.required('Enter postal code'),
|
|
18
|
+
});
|
|
19
|
+
export const nameOnlySchema = () => object({
|
|
20
|
+
name: identityNameValidation.required('Enter full name'),
|
|
21
|
+
address_line1: lineOneValidation.nullable(),
|
|
22
|
+
address_line2: lineTwoValidation.nullable(),
|
|
23
|
+
address_city: cityValidation.nullable(),
|
|
24
|
+
address_state: stateValidation.nullable(),
|
|
25
|
+
address_postal_code: postalValidation.nullable(),
|
|
26
|
+
});
|
|
@@ -1,45 +1,31 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
2
|
-
import { billingFormSchema } from "./billing-form-schema";
|
|
3
|
-
import { billingForm } from "../../../styles/parts";
|
|
4
|
-
import { Header3 } from "../../../ui-components";
|
|
5
|
-
import { FormController } from "../../../ui-components/form/form";
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
6
2
|
export class BillingForm {
|
|
7
|
-
|
|
8
|
-
this.errors = {};
|
|
9
|
-
this.inputHandler = (name, value) => {
|
|
10
|
-
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
componentWillLoad() {
|
|
14
|
-
const postalOnly = this.isPostalOnlyMode;
|
|
15
|
-
this.formController = new FormController(billingFormSchema(postalOnly));
|
|
16
|
-
}
|
|
17
|
-
componentDidLoad() {
|
|
18
|
-
this.formController.values.subscribe(values => this.billingInfo = Object.assign({}, values));
|
|
19
|
-
this.formController.errors.subscribe(errors => {
|
|
20
|
-
this.errors = Object.assign({}, errors);
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
get isPostalOnlyMode() {
|
|
3
|
+
get showSimpleCardBillingForm() {
|
|
24
4
|
return this.paymentMethodType === 'card' && this.hideCardBillingForm;
|
|
25
5
|
}
|
|
26
|
-
get
|
|
6
|
+
get showSimpleBankAccountBillingForm() {
|
|
27
7
|
return this.paymentMethodType === 'bankAccount' && this.hideBankAccountBillingForm;
|
|
28
8
|
}
|
|
29
9
|
async getValues() {
|
|
30
|
-
|
|
10
|
+
var _a;
|
|
11
|
+
return (_a = this.selectedFormRef) === null || _a === void 0 ? void 0 : _a.getValues();
|
|
31
12
|
}
|
|
32
13
|
async fill(fields) {
|
|
33
|
-
|
|
14
|
+
var _a;
|
|
15
|
+
(_a = this.selectedFormRef) === null || _a === void 0 ? void 0 : _a.fill(fields);
|
|
34
16
|
}
|
|
35
17
|
async validate() {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
return { isValid, errors };
|
|
18
|
+
var _a;
|
|
19
|
+
return (_a = this.selectedFormRef) === null || _a === void 0 ? void 0 : _a.validate();
|
|
39
20
|
}
|
|
40
21
|
render() {
|
|
41
|
-
|
|
42
|
-
|
|
22
|
+
if (this.showSimpleBankAccountBillingForm) {
|
|
23
|
+
return (h(Host, null, h("justifi-bank-account-billing-form-simple", { legend: this.legend, ref: (el) => (this.selectedFormRef = el) })));
|
|
24
|
+
}
|
|
25
|
+
if (this.showSimpleCardBillingForm) {
|
|
26
|
+
return (h(Host, null, h("justifi-card-billing-form-simple", { legend: this.legend, ref: (el) => (this.selectedFormRef = el) })));
|
|
27
|
+
}
|
|
28
|
+
return (h(Host, null, h("justifi-billing-form-full", { legend: this.legend, ref: (el) => (this.selectedFormRef = el) })));
|
|
43
29
|
}
|
|
44
30
|
static get is() { return "justifi-billing-form"; }
|
|
45
31
|
static get properties() {
|
|
@@ -122,13 +108,6 @@ export class BillingForm {
|
|
|
122
108
|
}
|
|
123
109
|
};
|
|
124
110
|
}
|
|
125
|
-
static get states() {
|
|
126
|
-
return {
|
|
127
|
-
"formController": {},
|
|
128
|
-
"billingInfo": {},
|
|
129
|
-
"errors": {}
|
|
130
|
-
};
|
|
131
|
-
}
|
|
132
111
|
static get methods() {
|
|
133
112
|
return {
|
|
134
113
|
"getValues": {
|
|
@@ -35,10 +35,10 @@ export class CardForm {
|
|
|
35
35
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: 'd5e5c74e5e3be0bb5a9603a89724d23cc6216d6c' }, h(CardFormSkeleton, { key: 'a1e90d74ca6e72678255590a94937932a9520046', isReady: this.isReady }), h("div", { key: 'bb303552ed581492de8ebb0d83cea751ddd90a09', class: "container-fluid p-0", style: {
|
|
39
39
|
opacity: this.isReady ? '1' : '0',
|
|
40
40
|
height: this.isReady ? 'auto' : '0',
|
|
41
|
-
} }, h("div", { key: '
|
|
41
|
+
} }, h("div", { key: '9641c97124a504729b1eba3e8704d8fd3fda7fde', class: "mb-3" }, h("iframe-input", { key: 'a5a73c00c2ac0cd12ef98b155a40108248529fb7', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: 'dad1b83f028745aa8b85a8e552f702d5daa3ac6f', class: "d-flex align-items-start" }, h("div", { key: '5de05029d93a81d5ad8c799135863e8cdd1e8619', class: "flex-fill me-3" }, h("iframe-input", { key: '4ec81652e51187bbaa25600299f8cb89f0c41c5c', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '0280f01efdbbfa3542036fa4ee7baec130e42688', class: "flex-fill me-3" }, h("iframe-input", { key: 'b13dba61a6bd18529e70987029592b5b7307e74b', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'edf1e383a148a2d535c4733a2b5af2d8e31e2f43', class: "flex-fill" }, h("iframe-input", { key: 'd63e832db1a089f36909db23cacb110f6571535c', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "card-form"; }
|
|
44
44
|
static get states() {
|
|
@@ -1,21 +1,15 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import JustifiAnalytics from "../../api/Analytics";
|
|
3
3
|
import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
4
|
+
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
|
|
4
5
|
import { checkoutStore } from "../../store/checkout.store";
|
|
5
6
|
import { checkoutSummary } from "../../styles/parts";
|
|
6
|
-
import { PaymentMethodTypes } from "../../api/Payment";
|
|
7
7
|
import { StyledHost } from "../../ui-components";
|
|
8
|
-
const PaymentMethodTypeLabels = {
|
|
9
|
-
bankAccount: 'New bank account',
|
|
10
|
-
card: 'New credit or debit card',
|
|
11
|
-
};
|
|
12
8
|
export class Checkout {
|
|
13
9
|
constructor() {
|
|
14
10
|
this.errorMessage = '';
|
|
15
11
|
this.insuranceToggled = false;
|
|
16
12
|
this.isSubmitting = false; // This is used to prevent multiple submissions and is different from loading state
|
|
17
|
-
this.paymentMethodOptions = [];
|
|
18
|
-
this.savePaymentMethod = false;
|
|
19
13
|
this.disableBankAccount = false;
|
|
20
14
|
this.disableBnpl = false;
|
|
21
15
|
this.disableCreditCard = false;
|
|
@@ -39,9 +33,6 @@ export class Checkout {
|
|
|
39
33
|
var _a;
|
|
40
34
|
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
41
35
|
}
|
|
42
|
-
savePaymentMethodChanged(event) {
|
|
43
|
-
this.savePaymentMethod = event.detail;
|
|
44
|
-
}
|
|
45
36
|
checkoutComplete(_event) {
|
|
46
37
|
this.isSubmitting = false;
|
|
47
38
|
}
|
|
@@ -49,15 +40,32 @@ export class Checkout {
|
|
|
49
40
|
this.isSubmitting = false;
|
|
50
41
|
console.error('checkout error', event.detail);
|
|
51
42
|
}
|
|
52
|
-
|
|
53
|
-
|
|
43
|
+
async handleTokenizeSubmit(event) {
|
|
44
|
+
this.tokenizedPaymentMethod = event.detail.response;
|
|
45
|
+
if (event.detail.response.error) {
|
|
46
|
+
this.isSubmitting = false;
|
|
47
|
+
this.errorEvent.emit({
|
|
48
|
+
errorCode: ComponentErrorCodes.TOKENIZE_ERROR,
|
|
49
|
+
message: event.detail.response.error.message,
|
|
50
|
+
severity: ComponentErrorSeverity.ERROR
|
|
51
|
+
});
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
// Now submit the checkout with the tokenized payment method
|
|
55
|
+
await this.submitCheckoutWithToken();
|
|
54
56
|
}
|
|
55
57
|
async fillBillingForm(fields) {
|
|
58
|
+
var _a;
|
|
56
59
|
checkoutStore.billingFormFields = fields;
|
|
60
|
+
(_a = this.tokenizePaymentMethodRef) === null || _a === void 0 ? void 0 : _a.fillBillingForm(fields);
|
|
57
61
|
}
|
|
58
62
|
async validate() {
|
|
59
|
-
var _a;
|
|
60
|
-
|
|
63
|
+
var _a, _b, _c;
|
|
64
|
+
const tokenizeValidation = await ((_a = this.tokenizePaymentMethodRef) === null || _a === void 0 ? void 0 : _a.validate());
|
|
65
|
+
const modularValidation = await ((_b = this.modularCheckoutRef) === null || _b === void 0 ? void 0 : _b.validate());
|
|
66
|
+
return {
|
|
67
|
+
isValid: ((_c = tokenizeValidation === null || tokenizeValidation === void 0 ? void 0 : tokenizeValidation.isValid) !== null && _c !== void 0 ? _c : true) && (modularValidation !== null && modularValidation !== void 0 ? modularValidation : true)
|
|
68
|
+
};
|
|
61
69
|
}
|
|
62
70
|
updateStore() {
|
|
63
71
|
checkoutStore.checkoutId = this.checkoutId;
|
|
@@ -68,27 +76,26 @@ export class Checkout {
|
|
|
68
76
|
checkoutStore.disablePaymentMethodGroup = this.disablePaymentMethodGroup;
|
|
69
77
|
}
|
|
70
78
|
async submit(_event) {
|
|
79
|
+
var _a;
|
|
71
80
|
this.isSubmitting = true;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
get canSavePaymentMethod() {
|
|
75
|
-
return checkoutStore.selectedPaymentMethod === PaymentMethodTypes.card || checkoutStore.selectedPaymentMethod === PaymentMethodTypes.bankAccount;
|
|
81
|
+
// Trigger the tokenize payment method submission
|
|
82
|
+
(_a = this.tokenizePaymentMethodRef) === null || _a === void 0 ? void 0 : _a.tokenizePaymentMethod();
|
|
76
83
|
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
84
|
+
async submitCheckoutWithToken() {
|
|
85
|
+
if (!this.tokenizedPaymentMethod || this.tokenizedPaymentMethod.error) {
|
|
86
|
+
this.isSubmitting = false;
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
// Set the payment token in the store for the modular checkout to use
|
|
90
|
+
checkoutStore.paymentToken = this.tokenizedPaymentMethod.token;
|
|
91
|
+
// Submit the checkout
|
|
92
|
+
this.modularCheckoutRef.submitCheckout(checkoutStore.billingFormFields);
|
|
83
93
|
}
|
|
84
94
|
get showPaymentTypeHeader() {
|
|
85
95
|
return !this.disableCreditCard && !this.disableBankAccount;
|
|
86
96
|
}
|
|
87
|
-
get showPostalCodeForm() {
|
|
88
|
-
return checkoutStore.selectedPaymentMethod === PaymentMethodTypes.card && this.hideCardBillingForm;
|
|
89
|
-
}
|
|
90
97
|
render() {
|
|
91
|
-
return (h(StyledHost, { key: '
|
|
98
|
+
return (h(StyledHost, { key: '516d33e24d351df623d07b8c27113568b2868aa0' }, h("justifi-modular-checkout", { key: 'd75f9484d6b77cf6ddb11f56beaa47ade1dead3f', ref: (el) => (this.modularCheckoutRef = el), authToken: this.authToken, checkoutId: this.checkoutId, savePaymentMethod: checkoutStore.savePaymentMethod }, h("div", { key: '05984eb0fb57e63d2f89d3eb8d37bcaa3e212547', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '4bf6c78f9052118d24c8258c1926ebeccea304ef', class: "col-12", part: checkoutSummary }, h("justifi-header", { key: '772ce7a33a42025e37891dc72bc89ee164dfafa7', text: "Summary", level: "h2", class: "fs-5 fw-bold pb-3" }), h("section", { key: 'abaee0bf9c978fcaff1941cfa61fa08f64312d60' }, h("justifi-checkout-summary", { key: '8833e3a419f769b6df1f73aaf58fa0f3d761e726' }))), h("div", { key: 'a1f4ed10a8c0e87ab229a4d28893e623c6db6162', class: "col-12 mt-4" }, h("slot", { key: 'c80d7f40db60e1b8cf4f408d44f9c0bbe17bcd24', name: "insurance" })), h("div", { key: '1c75a9d0d5cc74cc5a804218960f5be9e3532bbe', class: "col-12 mt-4" }, h("justifi-header", { key: '8800e249bc4d92cf38611eaefc8230ad5f35c447', text: "Payment", level: "h2", class: "fs-5 fw-bold pb-3" }), this.showPaymentTypeHeader && (h("justifi-header", { key: 'bff61808c64fa281230642d385c6081a51276e9d', text: "Select payment type", level: "h3", class: "fs-6 fw-bold lh-lg" })), h("div", { key: '1bfbac09bc3e91d07e2eb003c38cbf2bc3bea1cd', class: "d-flex flex-column" }, h("section", { key: 'd383841d037516896511f72e40d3eb3fd6f9c272' }, h("div", { key: '5440f8343465f39697ca87f3bcdfe3f5fa511685' }, h("justifi-saved-payment-methods", { key: '23ee2270b2ffecd43cc8d608482a4f77d7ce0ee3' }), h("justifi-sezzle-payment-method", { key: '0a5577cb1070563ba5fb7dd8c3b05977ee340bd6' }), h("justifi-tokenize-payment-method", { key: 'd03e8a971e532781c7d9087345fe1b4a8741f492', ref: (el) => (this.tokenizePaymentMethodRef = el), authToken: this.authToken, accountId: checkoutStore.accountId, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, hideSubmitButton: true, paymentMethodGroupId: checkoutStore.paymentMethodGroupId }))))), h("div", { key: '9e488234ee43bed70992e190a23b1faf5fe61308', class: "mt-4" }, h("justifi-button", { key: '31571a8fda37762731679d69b9017e1b553bef8a', text: "Pay", type: "submit", variant: "primary", clickHandler: (e) => this.submit(e), disabled: this.isSubmitting, isLoading: this.isSubmitting, customStyle: { width: '100%', textAlign: "center" } }))))));
|
|
92
99
|
}
|
|
93
100
|
static get is() { return "justifi-checkout"; }
|
|
94
101
|
static get properties() {
|
|
@@ -260,9 +267,8 @@ export class Checkout {
|
|
|
260
267
|
"errorMessage": {},
|
|
261
268
|
"insuranceToggled": {},
|
|
262
269
|
"isSubmitting": {},
|
|
263
|
-
"
|
|
264
|
-
"
|
|
265
|
-
"serverError": {}
|
|
270
|
+
"serverError": {},
|
|
271
|
+
"tokenizedPaymentMethod": {}
|
|
266
272
|
};
|
|
267
273
|
}
|
|
268
274
|
static get events() {
|
|
@@ -401,12 +407,6 @@ export class Checkout {
|
|
|
401
407
|
}
|
|
402
408
|
static get listeners() {
|
|
403
409
|
return [{
|
|
404
|
-
"name": "checkboxChanged",
|
|
405
|
-
"method": "savePaymentMethodChanged",
|
|
406
|
-
"target": undefined,
|
|
407
|
-
"capture": false,
|
|
408
|
-
"passive": false
|
|
409
|
-
}, {
|
|
410
410
|
"name": "submit-event",
|
|
411
411
|
"method": "checkoutComplete",
|
|
412
412
|
"target": undefined,
|
|
@@ -419,8 +419,8 @@ export class Checkout {
|
|
|
419
419
|
"capture": false,
|
|
420
420
|
"passive": false
|
|
421
421
|
}, {
|
|
422
|
-
"name": "
|
|
423
|
-
"method": "
|
|
422
|
+
"name": "submit-event",
|
|
423
|
+
"method": "handleTokenizeSubmit",
|
|
424
424
|
"target": undefined,
|
|
425
425
|
"capture": false,
|
|
426
426
|
"passive": false
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { StyledHost } from "../../ui-components";
|
|
3
|
+
import { checkoutStore } from "../../store/checkout.store";
|
|
3
4
|
export class SaveNewPaymentMethod {
|
|
4
5
|
constructor() {
|
|
5
6
|
this.isChecked = false;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
this.handleCheckboxChange = (_name, value) => {
|
|
8
|
+
this.isChecked = value;
|
|
9
|
+
checkoutStore.savePaymentMethod = value;
|
|
10
|
+
this.checkboxChanged.emit(this.isChecked);
|
|
11
|
+
};
|
|
10
12
|
}
|
|
11
13
|
render() {
|
|
12
|
-
return (h(StyledHost, { key: '
|
|
14
|
+
return (h(StyledHost, { key: 'f23a4f992eef86df7ebfa86f4b46b232456016b2' }, h("div", { key: '0ef7c08423451655318751a6377f0ba8ffda3c7c', class: "mt-4 form-check" }, h("form-control-checkbox", { key: '609527d08abb45603ea683a051cf9c09435fc5bc', label: "Save new payment method", name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange }))));
|
|
13
15
|
}
|
|
14
16
|
static get is() { return "justifi-save-new-payment-method"; }
|
|
15
17
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,7 +18,7 @@ export class SavedPaymentMethod {
|
|
|
18
18
|
;
|
|
19
19
|
render() {
|
|
20
20
|
var _a, _b, _c;
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: '077ad61b1a84963ebaad43397aa7c88211d9dd7e', class: "payment-method" }, h("div", { key: 'e01a2e45c55273cb0ee9774b60504d7098a74cf9', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: 'f34e9fe3f52fbf1acfdc72993259d6f6f58ac470', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: `${CardBrandLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.brand] || ''} *${(_c = this.paymentMethodOption) === null || _c === void 0 ? void 0 : _c.acct_last_four}` }))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "justifi-saved-payment-method"; }
|
|
24
24
|
static get properties() {
|
|
@@ -118,7 +118,7 @@ export class CheckoutsListCore {
|
|
|
118
118
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
119
119
|
}
|
|
120
120
|
render() {
|
|
121
|
-
return (h(TableWrapper, { key: '
|
|
121
|
+
return (h(TableWrapper, { key: 'ac27fa8b086e64e53a287f96be1d1212a7c23fc3' }, h(TableComponent, { key: '965b9e4761f686a254297a753b638952181d9758' }, h(TableHead, { key: '41502bb86d87acd8f730f22705d82a2bb4c3787c' }, h(TableHeadRow, { key: '9aa770a8bbb3c9623fde336580dcecda0ee6909e' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: 'ad20f6287a2eefd0aa659925cf4be8a03766c1c2' }, h(TableLoadingState, { key: 'bdd7d89bed12c4451199b59e2793cc3d4dbc24a8', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '8b89063a5cc78beb42a52375c431e834583ef12a', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'a557b0a68af21a5501139433f980a6c083536d71', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.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: '0ba995e692b70214b1f63f3fbb7e05e76f229304' }, h(TableFootRow, { key: '25703345e36b46ce3a4cd9d09893c744b6db4d86' }, h(TableFootCell, { key: '07f5df6019322cb80053e4c061a2b5cb6ba7187e', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: 'daf2dd74a5f24192c9052a2906459a6d2b53544d', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
122
122
|
}
|
|
123
123
|
static get is() { return "checkouts-list-core"; }
|
|
124
124
|
static get properties() {
|
|
@@ -38,7 +38,7 @@ export class CheckoutsListFilters {
|
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
40
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
41
|
-
return (h(StyledHost, { key: '
|
|
41
|
+
return (h(StyledHost, { key: '05a4d429a1acd7bbaf202872523284e2b2cd3677' }, h("table-filters-menu", { key: 'abf61654a75212537af580f3bfd2646042eaba8a', params: filterMenuParams, clearParams: clearParams, part: checkoutsListFilterMenu }, h("div", { key: 'f8e5cfe4b0a23723d0df939a1d1873adffcb1da9', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'd9e23e96a7269b3609e690a1e64e8c20bd125cb7', class: "p-2" }, h("form-control-select", { key: 'e1899dbc615be07486bc54f8baa395bee776d8ce', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || filterParams.status, disabled: !!this.checkoutStatus, part: statusCheckoutsListFilterParam })), h("div", { key: 'bedbc26d9d9f6906013ef4b80542d9031822b19c', class: "p-2" }, h("form-control-select", { key: '3bfef7fabeb85a29304e11093005bb1f58b23f41', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode, disabled: !!this.paymentMode, part: paymentModeCheckoutsListFilterParam }))))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "justifi-checkouts-list-filters"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -61,7 +61,7 @@ export class CheckoutsList {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
|
-
return (h(StyledHost, { key: '
|
|
64
|
+
return (h(StyledHost, { key: 'b0c774c4f56f94cd6b4a3dc8651938f9f33ca94e' }, h("checkouts-list-core", { key: 'd524423a791f70c234044f5ba27d7bc3648fc988', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
65
65
|
}
|
|
66
66
|
static get is() { return "justifi-checkouts-list"; }
|
|
67
67
|
static get encapsulation() { return "shadow"; }
|
|
@@ -46,7 +46,7 @@ export class DisputeManagementCore {
|
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: 'b5a802e8c418b3b7f3235f43260186084a6ee079' }, this.showDisputeResponseForm ? (h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "justifi-dispute-management-core"; }
|
|
52
52
|
static get properties() {
|
|
@@ -43,7 +43,7 @@ export class DisputeManagement {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h("justifi-dispute-management-core", { key: '
|
|
46
|
+
return (h("justifi-dispute-management-core", { key: '8c800827aaa9d549a734ea05698763685e160a98', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "justifi-dispute-management"; }
|
|
49
49
|
static get properties() {
|
|
@@ -30,7 +30,7 @@ export class DisputeNotification {
|
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
32
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
33
|
-
return (h(StyledHost, { key: '
|
|
33
|
+
return (h(StyledHost, { key: '90d2506d5bde2ea478fa3575fc162bb356b67fac' }, this.isLoading && (h("div", { key: '4877ae22d3d8e312640b122c9107b6bdd8f924cb', style: { marginBottom: '8px' } }, h(Skeleton, { key: '31fa0717949bbc6aa49db1c6ae0e324099ae1de2', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: 'ac5179232cb9ee33d3f3e16d9f93536ecfbf46a5', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: 'c22a5e3b257d01f92de7f6188fa0758861abc747', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (h("div", { key: 'be331b1a5e2fa0baf46bc593ef7ce4f5872abcff', part: text }, h("h1", { key: '8094c16d3b375f28ffe314613f21ae25b63e59ef', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: 'd89ae665e1f9bd99c9338e2132c1dc56e5386696' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: '2786733eac76628019993e13473d1f43c0c395ed', class: "h5" }, "Dispute details"), h("div", { key: '663c28c46136bd56889b6ad0b9bfce9e5adbb590', class: "d-table gap-2" }, h("div", { key: 'dc688fad875d1591dcb7f31d423b61a3df2ff954', class: "d-table-row gap-2" }, h("span", { key: '442db7a6e95524ca6b092794c7a4a4d987c9866e', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: '0a31de8692c9b00f43fcf3c0508e4d00a221d096', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_b = this.dispute) === null || _b === void 0 ? void 0 : _b.amount))), h("div", { key: '9fe0c1a3d3350c36fca190ae748dafe24d41b5fc', class: "d-table-row gap-2" }, h("span", { key: '12165cb6671519130a5f2e0d8938aaa55e7e3ead', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: '4a37ca8a7d64b97142997bb50ec11d737ac6a882', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_c = this.dispute) === null || _c === void 0 ? void 0 : _c.reason)), h("div", { key: '4d9cf74a8ed26dd84e4ce7325d4b8703352362a4', class: "d-table-row gap-2" }, h("span", { key: '8c0eaa24ebec7703eb18384b0b1f2eae8a684b55', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Dispute ID"), h("span", { key: '238813abf2ea0848e1fe817d5798b9b0d0b78ffc', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_d = this.dispute) === null || _d === void 0 ? void 0 : _d.id))), h("div", { key: 'd156a7e9bf0e7214ff2164fc09b12c0b8f1d2b36', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: '7822fd12dfc39bd2aced043956d012fd34cc1b01', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: '05132b3a6d1fc3d136dc227008ea1999330cdb96', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (h("div", { key: 'b04dd0c34f608b75ea3997a9c28ce948fa9dba5c' }, h("h1", { key: 'ac2a13373315703e86247b6707097af7cf2e6757', class: "h4" }, "This payment is disputed and under review"), h("p", { key: '203aed553e01bbaebe44bb370a1d088c149cda06' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_f = this.dispute) === null || _f === void 0 ? void 0 : _f.won) && (h("div", { key: '6325264f8ad7b6678825878ed59f03f90eee421a' }, h("h1", { key: '7b647ed77373884e0751de4fc39403211c249db6', class: "h4" }, "This payment was disputed"), h("p", { key: '2a5c1560d341af9b743234a058a1187f245a2ae8' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.lost) && (h("div", { key: 'a89e7f4d7e8926ed052023c7dbbbaf076a03ed9c' }, h("h1", { key: '534b560aa35dd43ba0eba668904ef70dc1a6954f', class: "h4" }, "This payment was disputed"), h("p", { key: '2381f2f6418b47dce67c498c56d5f3789add57dc' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "justifi-dispute-notification"; }
|
|
36
36
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/dispute-management/dispute-response/additional-statement.js
CHANGED
|
@@ -29,7 +29,7 @@ export class AdditionalStatement {
|
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
31
|
var _a, _b;
|
|
32
|
-
return (h("div", { key: '
|
|
32
|
+
return (h("div", { key: '3904e1b961f9e1a0683647d306a128efcd7b9202' }, h("div", { key: '37ae13e4b7ad7bc8a18b588c4e591cde9030147e', class: "row gy-3" }, h("div", { key: '2f9b835795f21e4585638ad8be2093642f08b982', class: "col-12" }, h("h2", { key: '9ff1aeb8256ffe97c6300bd48597542519cda0a7', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: 'e4c6b9f4624b06103b6c643838a76c4a724e3168', class: "col-12" }, h("form-control-textarea", { key: 'dc9a5cb126a2d6f70cd8d59cdcfcd29f5c4e341b', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: 'ba5202a5d8df30f5f4b7217341110646bb76e082', class: "col-12" }, h("form-control-file-v2", { key: '3168fc63d6bd6013821ee335914d916bb680fe42', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "justifi-additional-statement"; }
|
|
35
35
|
static get properties() {
|
package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js
CHANGED
|
@@ -28,7 +28,7 @@ export class CancellationPolicy {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
var _a, _b, _c;
|
|
31
|
-
return (h("div", { key: '
|
|
31
|
+
return (h("div", { key: '29819e51969e655219ccbdbb2e1d1b738b64f7d3' }, h("div", { key: '28279bbc8354128a5041ed6eac16d4966be1584c', class: "row gy-3" }, h("div", { key: '8b6215544f87a8c35b81a93a5f4826a35e0c0f9f', class: "col-12" }, h("h2", { key: 'b6337efb93f03ea48f2c29b1baef4929f236df2d', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: 'b7d78115378ecd0b4a4f8a43349f1b4f2527ca35', class: "col-12" }, h("form-control-textarea", { key: '6ab47f5626a945f222efceef43dc096061cb67ed', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: '6aeccf798d112e79251408401c99d916a9065e94', class: "col-12" }, h("form-control-textarea", { key: '580e61e4370570c9a04496fef4b7ad9c19058336', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: 'e0deddf002b64d02bc5a5db075da11d2566dc3bb', class: "col-12" }, h("form-control-file-v2", { key: '3da55e915d4d3126456de8e95debc6d9e46dca42', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "justifi-cancellation-policy"; }
|
|
34
34
|
static get properties() {
|