@justifi/webcomponents 5.7.6-rc-08 → 5.7.6
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/Checkout-nsVtlYWD.js +103 -0
- package/dist/cjs/{ComponentError-D4OLnOkg.js → ComponentError-C4MdBBMe.js} +0 -10
- package/dist/cjs/{Refund-BztCb6AK.js → Refund-h6MCxFEE.js} +0 -97
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +5 -4
- package/dist/cjs/bank-account-form_9.cjs.entry.js +542 -0
- package/dist/cjs/{business.service-DwZSyIlI.js → business.service-OxMVnZMF.js} +3 -2
- package/dist/cjs/{check-pkg-version-PeSbhLdJ.js → check-pkg-version-Co_IKlwj.js} +4 -3
- package/dist/cjs/{checkout.service-C_qEIb8b.js → checkout.service-GgFXq7Ux.js} +3 -2
- package/dist/cjs/checkouts-list-core.cjs.entry.js +4 -3
- package/dist/cjs/custom-popper.cjs.entry.js +2 -2
- package/dist/cjs/{dispute.service-cQpQQMeh.js → dispute.service-XdB1KbMS.js} +3 -2
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -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-o5jPq_ME.js → get-business-BJrtsomz.js} +2 -2
- package/dist/cjs/{get-payment-details-DwLcmCQs.js → get-payment-details-Ccd7IWqM.js} +4 -3
- package/dist/cjs/{get-payout-csv-DE_D9y08.js → get-payout-csv-CXEQkjDm.js} +2 -2
- package/dist/cjs/{get-subaccounts-CvtcQGsb.js → get-subaccounts-C4HDfc3o.js} +4 -3
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/iframe-input-styles-state-CGWgxf_0.js +26 -0
- package/dist/cjs/{hidden-input_2.cjs.entry.js → iframe-input_4.cjs.entry.js} +153 -111
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +3 -2
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +6 -5
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/justifi-business-details.cjs.entry.js +8 -7
- package/dist/cjs/justifi-business-form.cjs.entry.js +8 -7
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +141 -0
- package/dist/cjs/justifi-checkout.cjs.entry.js +95 -80
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +10 -9
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +10 -9
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +8 -7
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +10 -9
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -5
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +10 -9
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +6 -5
- package/dist/cjs/justifi-payment-details.cjs.entry.js +8 -7
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +8 -7
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +8 -7
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +8 -7
- package/dist/cjs/justifi-payout-details.cjs.entry.js +8 -7
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +8 -7
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +10 -9
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +8 -7
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +11 -10
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +16 -13
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +5 -4
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +8 -7
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +4 -3
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +9 -8
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +6 -12
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-CRFlBTFJ.js → package-B7_ed3oS.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +8 -8
- package/dist/cjs/{payment-provisioning-actions-CZVlnRA0.js → payment-provisioning-actions-BkWSDJQQ.js} +2 -2
- package/dist/cjs/{payment.service-CVZ55YLl.js → payment.service-BU1Mwwnv.js} +3 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +4 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{payout.service-BlbHwzd_.js → payout.service-BjB-B6CX.js} +3 -2
- package/dist/cjs/payouts-list-core.cjs.entry.js +4 -3
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +5 -4
- package/dist/cjs/{terminal-orders-table-v0Sn7jUg.js → terminal-orders-table-FtFQqd0s.js} +3 -2
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-I07QoXPB.js → terminal.service-De-0eGdM.js} +3 -2
- package/dist/cjs/terminals-list-core.cjs.entry.js +4 -3
- package/dist/cjs/{utils-DvUQQLmR.js → utils-l0veqT9y.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/actions/checkout/checkout-actions.js +1 -2
- package/dist/collection/api/Checkout.js +3 -1
- package/dist/collection/api/ComponentError.js +0 -10
- package/dist/collection/collection-manifest.json +6 -14
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/{modular-checkout/sub-components/postal-code-form.js → checkout/billing-form/bank-account-billing-form-simple.js} +37 -25
- package/dist/collection/components/checkout/billing-form/billing-form-full.js +139 -0
- 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/billing-form/card-billing-form-simple.js +137 -0
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout-core.js +454 -0
- package/dist/collection/components/checkout/checkout.js +53 -158
- package/dist/collection/components/checkout/new-payment-method.js +2 -2
- package/dist/collection/components/checkout/payment-method-options.js +37 -18
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -3
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkout/sezzle-payment-method.js +240 -0
- 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/season-interruption/season-interruption-insurance-core.js +11 -11
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +13 -10
- 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 +3 -10
- 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 +5 -10
- package/dist/docs.json +1444 -2230
- package/dist/esm/{Api-DQM93PRm.js → Api-Bes3KkG6.js} +1 -1
- package/dist/esm/Checkout-DfRTGCdt.js +101 -0
- package/dist/esm/{ComponentError-Cjcsf8ku.js → ComponentError-SdntD1xf.js} +1 -11
- package/dist/esm/{Payment-Bs0-9Lnt.js → Payment-93PpwzdC.js} +2 -2
- package/dist/esm/{Refund-4B3c-kLz.js → Refund-CISeDJoW.js} +2 -98
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/{badge-D-vrtiQR.js → badge-BRPxcFAe.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +10 -9
- package/dist/esm/bank-account-form_9.entry.js +532 -0
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business.service-BgXdRyYa.js → business.service-Cx6MiBgY.js} +5 -4
- package/dist/esm/{button-DxM4-mlD.js → button-B_viNpoz.js} +1 -1
- package/dist/esm/{check-pkg-version-C2I-noS-.js → check-pkg-version-DvajBJj9.js} +6 -5
- package/dist/esm/{checkout.service-CXeKDZTF.js → checkout.service-BQ2Z7hHe.js} +5 -4
- package/dist/esm/checkouts-list-core.entry.js +11 -10
- package/dist/esm/{checkouts-table-Djb7Yj6O.js → checkouts-table-YyKWgXbv.js} +3 -3
- package/dist/esm/custom-popper.entry.js +2 -2
- package/dist/esm/{dispute.service-DWs_TX-m.js → dispute.service-Bmw6fgc6.js} +5 -4
- package/dist/esm/form-alert_5.entry.js +1 -1
- 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-BvjVjw2l.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-Dggj4lH9.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
- package/dist/esm/form-control-monetary.entry.js +6 -6
- package/dist/esm/form-control-number-masked_2.entry.js +7 -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-Crb6P-iI.js → get-business-GEPTefIj.js} +2 -2
- package/dist/esm/{get-payment-details-j8nOngzB.js → get-payment-details-Rww84hl5.js} +6 -5
- package/dist/esm/{get-payout-csv-D-Lnooki.js → get-payout-csv-D7IYYqVL.js} +2 -2
- package/dist/esm/{get-subaccounts-C62B2OC_.js → get-subaccounts-0PmjUDEa.js} +7 -6
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-B0PFwGib.js → header-1-UMqoryJI.js} +1 -1
- package/dist/esm/{header-3-D3gxg6YU.js → header-3-DfV3YFNS.js} +1 -1
- package/dist/esm/iframe-input-styles-state-2KXH-_4X.js +23 -0
- package/dist/esm/{hidden-input_2.entry.js → iframe-input_4.entry.js} +146 -106
- package/dist/esm/{insurance-state-DQH40x6F.js → insurance-state-yzV5mr5o.js} +2 -2
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +8 -7
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +11 -10
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/justifi-business-details.entry.js +13 -12
- package/dist/esm/justifi-business-form.entry.js +15 -14
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-checkout-core.entry.js +139 -0
- package/dist/esm/justifi-checkout.entry.js +97 -82
- package/dist/esm/justifi-checkouts-list-filters.entry.js +7 -6
- package/dist/esm/justifi-checkouts-list.entry.js +15 -14
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +11 -10
- package/dist/esm/justifi-dispute-notification_3.entry.js +16 -15
- package/dist/esm/justifi-gross-payment-chart.entry.js +11 -10
- package/dist/esm/justifi-order-terminals.entry.js +15 -14
- package/dist/esm/justifi-owner-form_3.entry.js +11 -10
- package/dist/esm/justifi-payment-details.entry.js +13 -12
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +11 -10
- package/dist/esm/justifi-payment-transactions-list.entry.js +14 -13
- package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payments-list.entry.js +15 -14
- package/dist/esm/justifi-payout-details.entry.js +13 -12
- package/dist/esm/justifi-payout-transactions-list.entry.js +14 -13
- package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payouts-list.entry.js +17 -16
- package/dist/esm/justifi-refund-payment.entry.js +14 -13
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +15 -14
- package/dist/esm/justifi-season-interruption-insurance.entry.js +19 -16
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +8 -7
- package/dist/esm/justifi-terminal-orders-list.entry.js +13 -12
- package/dist/esm/justifi-terminals-list-filters.entry.js +7 -6
- package/dist/esm/justifi-terminals-list.entry.js +15 -14
- package/dist/esm/justifi-tokenize-payment-method.entry.js +11 -17
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-C3HuV_kf.js → package-DwtqmD1M.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-D3G5aVLy.js → parts-CVGBVdVC.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +14 -14
- package/dist/esm/{payment-provisioning-actions-ONP8lDnV.js → payment-provisioning-actions-BIfyW239.js} +2 -2
- package/dist/esm/{payment.service-BnDr_9vX.js → payment.service-Ck1kdYXH.js} +5 -4
- package/dist/esm/payments-list-core.entry.js +12 -11
- package/dist/esm/{payments-status-DVYzDcJ4.js → payments-status-gL2bjUp9.js} +1 -1
- package/dist/esm/{payments-table-BuiNqlwv.js → payments-table-DrnN-flR.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +10 -10
- package/dist/esm/{payout.service-Ai1aEuFC.js → payout.service-YOny8vA1.js} +5 -4
- package/dist/esm/payouts-list-core.entry.js +12 -11
- package/dist/esm/{payouts-status-Bae6G8Hq.js → payouts-status-BpBVp8j1.js} +1 -1
- package/dist/esm/{payouts-table-cgIXP54P.js → payouts-table-Bt0Dhq3E.js} +3 -3
- package/dist/esm/{skeleton-CZfDofm6.js → skeleton-MHyzfkPM.js} +1 -1
- package/dist/esm/{spinner-D-vbFqC6.js → spinner-CaGDuAi8.js} +1 -1
- package/dist/esm/{table-CTPfsGKi.js → table-B-m83mFl.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +11 -10
- package/dist/esm/{terminal-orders-table-CvK516_V.js → terminal-orders-table-shGx8Lcn.js} +7 -6
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-BLeBxTv4.js → terminal.service-CJbnbE1S.js} +5 -4
- package/dist/esm/terminals-list-core.entry.js +11 -10
- package/dist/esm/{terminals-table-2QGQITkt.js → terminals-table-DskXRPbS.js} +3 -3
- package/dist/esm/{utils-B7jE0g5_.js → utils-DIxPWgIk.js} +1 -1
- package/dist/esm/{utils-CBJo9jNE.js → utils-DOW3rBEH.js} +1 -1
- package/dist/esm/{utils-BeQLScSm.js → utils-Dccsn9BY.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Checkout.js +121 -0
- package/dist/module/Payment.js +1 -1
- package/dist/module/Refund.js +1 -127
- package/dist/module/additional-statement.js +2 -2
- package/dist/module/bank-account-billing-form-simple.js +81 -0
- package/dist/module/bank-account-document-inputs.js +2 -1
- package/dist/module/bank-account-form.js +1 -83
- package/dist/module/{bank-account.js → bank-account-form2.js} +8 -25
- package/dist/module/billing-form-full.js +95 -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 -1
- package/dist/module/business-bank-account-form-step.js +2 -1
- package/dist/module/business-core-info-form-step.js +1 -1
- package/dist/module/business-owners-form-step.js +1 -1
- package/dist/module/business-representative-form-step.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +2 -1
- package/dist/module/business.service.js +2 -1
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +2 -2
- package/dist/module/{postal-code-form.js → card-billing-form-simple.js} +15 -26
- package/dist/module/card-form.js +1 -91
- package/dist/module/card-form2.js +10 -27
- package/dist/module/{Analytics.js → check-pkg-version.js} +23 -22
- package/dist/module/checkout-core.js +292 -0
- package/dist/module/checkout.service.js +2 -1
- package/dist/module/checkouts-list-core2.js +3 -2
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +2 -2
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +2 -2
- package/dist/module/dispute-response-actions.js +2 -1
- package/dist/module/dispute-response-core.js +2 -2
- package/dist/module/dispute-response.js +3 -3
- package/dist/module/duplicate-charge.js +2 -2
- package/dist/module/electronic-evidence.js +2 -2
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +5 -3
- package/dist/module/form-control-number.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/get-business.js +1 -1
- package/dist/module/get-payment-details.js +3 -2
- package/dist/module/get-payout-csv.js +1 -1
- package/dist/module/get-subaccounts.js +2 -1
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +5 -5
- package/dist/module/insurance-state.js +7 -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-details.js +2 -2
- package/dist/module/justifi-business-form.js +3 -2
- 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-apple-pay.d.ts → justifi-checkout-core.d.ts} +4 -4
- package/dist/module/justifi-checkout-core.js +6 -0
- package/dist/module/justifi-checkout.js +138 -134
- package/dist/module/justifi-checkouts-list-filters.js +3 -2
- package/dist/module/justifi-checkouts-list.js +4 -3
- package/dist/module/justifi-dispute-management.js +3 -3
- package/dist/module/justifi-gross-payment-chart.js +3 -2
- package/dist/module/justifi-new-payment-method.js +1 -214
- package/dist/module/justifi-order-terminals.js +5 -4
- package/dist/module/justifi-payment-details.js +2 -2
- package/dist/module/justifi-payment-provisioning.js +3 -2
- package/dist/module/justifi-payment-transactions-list.js +4 -3
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +5 -4
- package/dist/module/justifi-payout-details.js +3 -2
- package/dist/module/justifi-payout-transactions-list.js +4 -3
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +4 -3
- package/dist/module/justifi-refund-payment.js +3 -2
- package/dist/module/justifi-saved-payment-method.js +1 -57
- package/dist/module/justifi-season-interruption-insurance.js +15 -11
- package/dist/module/justifi-terminal-orders-list-filters.js +4 -3
- package/dist/module/justifi-terminal-orders-list.js +4 -3
- package/dist/module/justifi-terminals-list-filters.js +3 -2
- package/dist/module/justifi-terminals-list.js +4 -3
- package/dist/module/justifi-tokenize-payment-method.js +102 -18
- package/dist/module/legal-address-form-step.js +1 -1
- package/dist/module/new-payment-method.js +222 -0
- package/dist/module/owner-form-core2.js +1 -1
- package/dist/module/package.js +3 -3
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-details-core2.js +8 -8
- package/dist/module/payment-method-options.js +131 -23
- package/dist/module/payment-provisioning-actions.js +1 -1
- package/dist/module/payment-provisioning-core.js +1 -1
- package/dist/module/payment.service.js +2 -1
- package/dist/module/payments-list-core2.js +3 -2
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payout.service.js +2 -1
- package/dist/module/payouts-list-core2.js +3 -2
- package/dist/module/product-or-service.js +2 -2
- package/dist/module/refund-policy.js +2 -2
- package/dist/module/save-new-payment-method.js +2 -6
- package/dist/module/saved-payment-method.js +79 -0
- package/dist/module/season-interruption-insurance-core.js +13 -14
- package/dist/module/sezzle-payment-method.js +18 -24
- package/dist/module/shipping-details.js +2 -2
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +3 -2
- package/dist/module/terminal-quantity-selector2.js +2 -2
- package/dist/module/terminal.service.js +2 -1
- package/dist/module/terminals-list-core2.js +3 -2
- package/dist/module/utils4.js +1 -1
- package/dist/types/api/Checkout.d.ts +13 -15
- package/dist/types/api/ComponentError.d.ts +1 -10
- package/dist/types/components/{modular-checkout/sub-components/postal-code-form.d.ts → checkout/billing-form/bank-account-billing-form-simple.d.ts} +5 -6
- package/dist/types/components/{modular-checkout/sub-components/billing-information-form.d.ts → checkout/billing-form/billing-form-full.d.ts} +4 -4
- package/dist/types/components/checkout/billing-form/billing-form-schema.d.ts +35 -5
- package/dist/types/components/checkout/billing-form/billing-form.d.ts +3 -9
- package/dist/types/components/checkout/billing-form/card-billing-form-simple.d.ts +18 -0
- package/dist/types/components/checkout/checkout-core.d.ts +49 -0
- package/dist/types/components/checkout/checkout.d.ts +11 -30
- package/dist/types/components/checkout/payment-method-options.d.ts +2 -2
- package/dist/types/components/{modular-checkout/sub-components → checkout}/sezzle-payment-method.d.ts +9 -3
- package/dist/types/components/insurance/season-interruption/season-interruption-insurance-core.d.ts +1 -0
- package/dist/types/components/insurance/season-interruption/season-interruption-insurance.d.ts +2 -2
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +2 -2
- package/dist/types/components.d.ts +115 -401
- package/dist/types/ui-components/form/iframe-input.d.ts +1 -2
- package/dist/webcomponents/p-08ae973e.entry.js +1 -0
- package/dist/webcomponents/p-0ac1bb26.entry.js +1 -0
- package/dist/webcomponents/p-0ced05b3.entry.js +1 -0
- package/dist/webcomponents/p-144f15c1.entry.js +1 -0
- package/dist/webcomponents/p-20a75acd.entry.js +1 -0
- package/dist/webcomponents/{p-0f5e61bc.entry.js → p-254724c4.entry.js} +1 -1
- package/dist/webcomponents/p-2634a1ee.entry.js +1 -0
- package/dist/webcomponents/p-28133336.entry.js +1 -0
- package/dist/webcomponents/p-29f81159.entry.js +1 -0
- package/dist/webcomponents/p-2b1090d0.entry.js +1 -0
- package/dist/webcomponents/{p-06ff03e7.entry.js → p-2e734e97.entry.js} +1 -1
- package/dist/webcomponents/p-3aafab63.entry.js +1 -0
- package/dist/webcomponents/p-3b98d8ca.entry.js +1 -0
- package/dist/webcomponents/p-3f771784.entry.js +1 -0
- package/dist/webcomponents/p-4114a328.entry.js +1 -0
- package/dist/webcomponents/p-41ab2378.entry.js +1 -0
- package/dist/webcomponents/p-423ad3eb.entry.js +1 -0
- package/dist/webcomponents/p-43752d57.entry.js +1 -0
- package/dist/webcomponents/{p-c663b439.entry.js → p-437aaa5e.entry.js} +1 -1
- package/dist/webcomponents/p-44FkPJq7.js +1 -0
- package/dist/webcomponents/p-50f8e87e.entry.js +1 -0
- package/dist/webcomponents/p-52092407.entry.js +1 -0
- package/dist/webcomponents/p-52ede69d.entry.js +1 -0
- package/dist/webcomponents/p-540c31f2.entry.js +1 -0
- package/dist/webcomponents/p-5B_nojEF.js +1 -0
- package/dist/webcomponents/p-5dbd1b93.entry.js +1 -0
- package/dist/webcomponents/p-6158cf60.entry.js +1 -0
- package/dist/webcomponents/p-652cc155.entry.js +1 -0
- package/dist/webcomponents/{p-fffd5bc7.entry.js → p-66a77e7d.entry.js} +1 -1
- package/dist/webcomponents/p-6816c021.entry.js +1 -0
- package/dist/webcomponents/{p-127406b5.entry.js → p-69800e4a.entry.js} +1 -1
- package/dist/webcomponents/p-6dd98d75.entry.js +1 -0
- package/dist/webcomponents/p-7528f993.entry.js +1 -0
- package/dist/webcomponents/p-7bc9d8f4.entry.js +1 -0
- package/dist/webcomponents/p-7be2ef8d.entry.js +1 -0
- package/dist/webcomponents/p-7d3a563f.entry.js +1 -0
- package/dist/webcomponents/{p-fe001786.entry.js → p-831337bc.entry.js} +1 -1
- package/dist/webcomponents/p-8dfc21d5.entry.js +1 -0
- package/dist/webcomponents/p-96b75110.entry.js +1 -0
- package/dist/webcomponents/p-BEXEpjn_.js +1 -0
- package/dist/webcomponents/p-BGUDiFCH.js +1 -0
- package/dist/webcomponents/{p-DCDU6JB3.js → p-BRBt7Vt-.js} +1 -1
- package/dist/webcomponents/{p-5aA7gjr5.js → p-BTS3E50C.js} +1 -1
- package/dist/webcomponents/p-BZ70sqbi.js +1 -0
- package/dist/webcomponents/p-BiWuElbM.js +1 -0
- package/dist/webcomponents/{p-Cm_ywVHL.js → p-BvLgDun_.js} +1 -1
- package/dist/webcomponents/{p-B9GgcQ-7.js → p-BwRi5Eou.js} +1 -1
- package/dist/webcomponents/{p-D2muobcE.js → p-C5RuuShs.js} +1 -1
- package/dist/webcomponents/{p-C8ll3Wwp.js → p-CA1oADw4.js} +1 -1
- package/dist/webcomponents/p-CHB0cPw7.js +1 -0
- package/dist/webcomponents/{p-B2csvKrZ.js → p-CSNli0tl.js} +1 -1
- package/dist/webcomponents/{p-D3G5aVLy.js → p-CVGBVdVC.js} +1 -1
- package/dist/webcomponents/{p-Dj1uo4J3.js → p-CZ8q2CPi.js} +1 -1
- package/dist/webcomponents/p-Cs0cIpIm.js +1 -0
- package/dist/webcomponents/p-Cuxr_9xa.js +1 -0
- package/dist/webcomponents/{p-BFL-wXPM.js → p-CvXbmLtl.js} +1 -1
- package/dist/webcomponents/{p-vHbP4g3Q.js → p-D-vUkGsU.js} +1 -1
- package/dist/webcomponents/p-D6ssxpjT.js +1 -0
- package/dist/webcomponents/p-DAasymX_.js +1 -0
- package/dist/webcomponents/{p-BvyiDejp.js → p-DBhBVIU-.js} +1 -1
- package/dist/webcomponents/{p-B7jE0g5_.js → p-DIxPWgIk.js} +1 -1
- package/dist/webcomponents/p-DT-cTREr.js +1 -0
- package/dist/webcomponents/p-DZgAEPoo.js +1 -0
- package/dist/webcomponents/p-DZw7v4st.js +1 -0
- package/dist/webcomponents/p-Dgo6D5G7.js +1 -0
- package/dist/webcomponents/{p-CEYGUVns.js → p-DkaX7Taq.js} +1 -1
- package/dist/webcomponents/p-DniQ6yo6.js +1 -0
- package/dist/webcomponents/p-DwtqmD1M.js +1 -0
- package/dist/webcomponents/p-G_As8rAe.js +1 -0
- package/dist/webcomponents/{p-BRtwZAeZ.js → p-PmGAGJ5K.js} +1 -1
- package/dist/webcomponents/{p-DX_mixvZ.js → p-QxJlhLWM.js} +1 -1
- package/dist/webcomponents/p-SdntD1xf.js +1 -0
- package/dist/webcomponents/{p-BDUTtU21.js → p-Y-KcAUY_.js} +1 -1
- package/dist/webcomponents/p-a1ce996c.entry.js +1 -0
- package/dist/webcomponents/p-a3c5ac1c.entry.js +1 -0
- package/dist/webcomponents/p-af3ef542.entry.js +1 -0
- package/dist/webcomponents/p-b3e8e00f.entry.js +1 -0
- package/dist/webcomponents/p-b46bf62f.entry.js +1 -0
- package/dist/webcomponents/p-b8b7603c.entry.js +1 -0
- package/dist/webcomponents/p-be165165.entry.js +1 -0
- package/dist/webcomponents/{p-904acc70.entry.js → p-c711551a.entry.js} +1 -1
- package/dist/webcomponents/p-c8ae1620.entry.js +1 -0
- package/dist/webcomponents/p-d47a05ba.entry.js +1 -0
- package/dist/webcomponents/p-d54963ce.entry.js +1 -0
- package/dist/webcomponents/p-d5505b45.entry.js +1 -0
- package/dist/webcomponents/p-d6f02807.entry.js +1 -0
- package/dist/webcomponents/p-d711f296.entry.js +1 -0
- package/dist/webcomponents/p-d9704f8c.entry.js +1 -0
- package/dist/webcomponents/{p-b06b1886.entry.js → p-da6790bb.entry.js} +1 -1
- package/dist/webcomponents/p-da731140.entry.js +1 -0
- package/dist/webcomponents/{p-ee2afa41.entry.js → p-db9f3fcd.entry.js} +4 -4
- package/dist/webcomponents/p-e3197269.entry.js +1 -0
- package/dist/webcomponents/p-e4dbec27.entry.js +1 -0
- package/dist/webcomponents/{p-0c37be96.entry.js → p-e7b60660.entry.js} +1 -1
- package/dist/webcomponents/{p-367338c8.entry.js → p-f057b215.entry.js} +1 -1
- package/dist/webcomponents/p-f9a18fcb.entry.js +1 -0
- package/dist/webcomponents/p-fa30d8bd.entry.js +1 -0
- package/dist/webcomponents/p-fc1e3832.entry.js +1 -0
- package/dist/webcomponents/p-lZ9GOnvt.js +1 -0
- package/dist/webcomponents/p-qnx9PpK1.js +1 -0
- package/dist/webcomponents/p-vi4XpHew.js +1 -0
- package/dist/webcomponents/p-zRPvfo_G.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/bank-account-form.cjs.entry.js +0 -63
- package/dist/cjs/card-form.cjs.entry.js +0 -71
- package/dist/cjs/checkout.store-mEv437nN.js +0 -38
- package/dist/cjs/justifi-apple-pay.cjs.entry.js +0 -858
- 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-method.cjs.entry.js +0 -31
- package/dist/cjs/justifi-saved-payment-methods_2.cjs.entry.js +0 -116
- package/dist/cjs/justifi-skeleton.cjs.entry.js +0 -17
- package/dist/cjs/payment-method-option-utils-CfLXhpsL.js +0 -25
- package/dist/collection/api/ApplePay.js +0 -119
- package/dist/collection/api/BillingInformation.js +0 -1
- package/dist/collection/api/PaymentMethod.js +0 -1
- package/dist/collection/api/services/apple-pay.service.js +0 -363
- package/dist/collection/components/modular-checkout/modular-checkout.js +0 -494
- 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 -547
- package/dist/collection/components/modular-checkout/sub-components/bank-account-skeleton.js +0 -10
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +0 -98
- 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/components/modular-checkout/sub-components/card-form-skeleton.js +0 -10
- package/dist/collection/components/modular-checkout/sub-components/card-form.js +0 -102
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +0 -113
- package/dist/collection/components/modular-checkout/sub-components/saved-payment-methods.js +0 -40
- package/dist/collection/components/modular-checkout/sub-components/sezzle-payment-method.js +0 -127
- package/dist/collection/components/modular-checkout/sub-components/summary.js +0 -12
- package/dist/collection/store/checkout.store.js +0 -33
- package/dist/collection/ui-components/apple-pay-button.js +0 -146
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +0 -176
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +0 -83
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +0 -108
- package/dist/esm/bank-account-form.entry.js +0 -61
- package/dist/esm/card-form.entry.js +0 -69
- package/dist/esm/checkout.store-QrBBYQfi.js +0 -35
- package/dist/esm/justifi-apple-pay.entry.js +0 -856
- 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-method.entry.js +0 -29
- package/dist/esm/justifi-saved-payment-methods_2.entry.js +0 -113
- package/dist/esm/justifi-skeleton.entry.js +0 -15
- package/dist/esm/payment-method-option-utils-Cm6lAaP1.js +0 -23
- package/dist/module/billing-information-form.js +0 -97
- package/dist/module/checkout.store.js +0 -35
- package/dist/module/header-2.js +0 -8
- package/dist/module/header-3.js +0 -8
- package/dist/module/justifi-apple-pay.js +0 -898
- package/dist/module/justifi-bank-account-form.d.ts +0 -11
- package/dist/module/justifi-bank-account-form.js +0 -6
- 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-button.d.ts +0 -11
- package/dist/module/justifi-button.js +0 -6
- package/dist/module/justifi-button2.js +0 -41
- package/dist/module/justifi-card-form.d.ts +0 -11
- package/dist/module/justifi-card-form.js +0 -6
- package/dist/module/justifi-checkout-summary.d.ts +0 -11
- package/dist/module/justifi-checkout-summary.js +0 -6
- package/dist/module/justifi-header.d.ts +0 -11
- package/dist/module/justifi-header.js +0 -6
- package/dist/module/justifi-header2.js +0 -43
- package/dist/module/justifi-modular-checkout.d.ts +0 -11
- package/dist/module/justifi-modular-checkout.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-saved-payment-methods.d.ts +0 -11
- package/dist/module/justifi-saved-payment-methods.js +0 -6
- package/dist/module/justifi-skeleton.d.ts +0 -11
- package/dist/module/justifi-skeleton.js +0 -39
- package/dist/module/modular-checkout.js +0 -402
- package/dist/module/payment-method-option-utils.js +0 -23
- package/dist/module/payment-method-option.d.ts +0 -11
- package/dist/module/payment-method-option.js +0 -6
- package/dist/module/payment-method-option2.js +0 -50
- package/dist/module/saved-payment-methods.js +0 -72
- package/dist/module/summary.js +0 -34
- package/dist/types/api/ApplePay.d.ts +0 -195
- package/dist/types/api/BillingInformation.d.ts +0 -13
- package/dist/types/api/PaymentMethod.d.ts +0 -21
- package/dist/types/api/services/apple-pay.service.d.ts +0 -65
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +0 -41
- 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/bank-account-skeleton.d.ts +0 -6
- package/dist/types/components/modular-checkout/sub-components/bank-account.d.ts +0 -18
- package/dist/types/components/modular-checkout/sub-components/billing-form-schema.d.ts +0 -23
- package/dist/types/components/modular-checkout/sub-components/card-form-skeleton.d.ts +0 -6
- package/dist/types/components/modular-checkout/sub-components/card-form.d.ts +0 -20
- package/dist/types/components/modular-checkout/sub-components/payment-method-option.d.ts +0 -8
- package/dist/types/components/modular-checkout/sub-components/saved-payment-methods.d.ts +0 -7
- package/dist/types/components/modular-checkout/sub-components/summary.d.ts +0 -3
- package/dist/types/store/checkout.store.d.ts +0 -26
- package/dist/types/ui-components/apple-pay-button.d.ts +0 -17
- package/dist/types/ui-components/shadow-dom-components/justifi-button.d.ts +0 -13
- package/dist/types/ui-components/shadow-dom-components/justifi-skeleton.d.ts +0 -10
- package/dist/webcomponents/p-0218759e.entry.js +0 -1
- package/dist/webcomponents/p-0307ecb2.entry.js +0 -1
- package/dist/webcomponents/p-11719182.entry.js +0 -1
- package/dist/webcomponents/p-1306cc29.entry.js +0 -1
- package/dist/webcomponents/p-1f97fb2d.entry.js +0 -1
- package/dist/webcomponents/p-2131451b.entry.js +0 -1
- package/dist/webcomponents/p-27d89548.entry.js +0 -1
- package/dist/webcomponents/p-2b8dbdb0.entry.js +0 -1
- package/dist/webcomponents/p-30c432ab.entry.js +0 -1
- package/dist/webcomponents/p-314d08be.entry.js +0 -1
- package/dist/webcomponents/p-35198019.entry.js +0 -1
- package/dist/webcomponents/p-356f86cb.entry.js +0 -1
- package/dist/webcomponents/p-39af38f6.entry.js +0 -1
- package/dist/webcomponents/p-453bcb9d.entry.js +0 -1
- package/dist/webcomponents/p-49754c1d.entry.js +0 -1
- package/dist/webcomponents/p-4e3a86c7.entry.js +0 -1
- package/dist/webcomponents/p-509d9191.entry.js +0 -1
- package/dist/webcomponents/p-513c3232.entry.js +0 -1
- package/dist/webcomponents/p-52be4ff0.entry.js +0 -1
- package/dist/webcomponents/p-54cc3fc8.entry.js +0 -1
- package/dist/webcomponents/p-54ff0e4f.entry.js +0 -1
- package/dist/webcomponents/p-56f5955a.entry.js +0 -1
- package/dist/webcomponents/p-58395028.entry.js +0 -1
- package/dist/webcomponents/p-5c82e024.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-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-6f94530d.entry.js +0 -1
- package/dist/webcomponents/p-728012cb.entry.js +0 -1
- package/dist/webcomponents/p-79454e79.entry.js +0 -1
- package/dist/webcomponents/p-79684a85.entry.js +0 -1
- package/dist/webcomponents/p-7b5d48f7.entry.js +0 -1
- package/dist/webcomponents/p-7b5e899e.entry.js +0 -1
- package/dist/webcomponents/p-7d59de81.entry.js +0 -1
- package/dist/webcomponents/p-7f4305a2.entry.js +0 -1
- package/dist/webcomponents/p-9eeb7e9a.entry.js +0 -1
- package/dist/webcomponents/p-B8tUOqiv.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-C1nBLmHv.js +0 -1
- package/dist/webcomponents/p-C3HuV_kf.js +0 -1
- package/dist/webcomponents/p-CLjv4frq.js +0 -1
- package/dist/webcomponents/p-Cc27pPPQ.js +0 -1
- package/dist/webcomponents/p-Cjcsf8ku.js +0 -1
- package/dist/webcomponents/p-D522G7Ja.js +0 -1
- package/dist/webcomponents/p-DH8F0bsw.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-DYGIC0QH.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-a2b597ef.entry.js +0 -1
- package/dist/webcomponents/p-a4cb4c39.entry.js +0 -1
- package/dist/webcomponents/p-a5fa79cd.entry.js +0 -1
- package/dist/webcomponents/p-a6fdf5b8.entry.js +0 -1
- package/dist/webcomponents/p-aa189ce4.entry.js +0 -1
- package/dist/webcomponents/p-b56d75d5.entry.js +0 -1
- package/dist/webcomponents/p-b5ed41c0.entry.js +0 -1
- package/dist/webcomponents/p-baaef16c.entry.js +0 -1
- package/dist/webcomponents/p-bc94f43a.entry.js +0 -1
- package/dist/webcomponents/p-bec23c19.entry.js +0 -1
- package/dist/webcomponents/p-c9d5625c.entry.js +0 -1
- package/dist/webcomponents/p-cc035e82.entry.js +0 -1
- package/dist/webcomponents/p-cd6c6c2b.entry.js +0 -1
- package/dist/webcomponents/p-cf115375.entry.js +0 -1
- package/dist/webcomponents/p-d2b3c6ee.entry.js +0 -1
- package/dist/webcomponents/p-d5d1d3b2.entry.js +0 -1
- package/dist/webcomponents/p-e105f664.entry.js +0 -1
- package/dist/webcomponents/p-e5c94a1f.entry.js +0 -1
- package/dist/webcomponents/p-e86c876e.entry.js +0 -1
- package/dist/webcomponents/p-e94800a2.entry.js +0 -1
- package/dist/webcomponents/p-ffebee17.entry.js +0 -1
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-dm_GlYlb.js');
|
|
4
|
-
var ComponentError = require('./ComponentError-
|
|
5
|
-
var paymentProvisioningActions = require('./payment-provisioning-actions-
|
|
6
|
-
var business_service = require('./business.service-
|
|
4
|
+
var ComponentError = require('./ComponentError-C4MdBBMe.js');
|
|
5
|
+
var paymentProvisioningActions = require('./payment-provisioning-actions-BkWSDJQQ.js');
|
|
6
|
+
var business_service = require('./business.service-OxMVnZMF.js');
|
|
7
7
|
require('./config-state-5xZf-jax.js');
|
|
8
8
|
require('./utils-Dka3MplB.js');
|
|
9
|
-
require('./
|
|
9
|
+
require('./Checkout-nsVtlYWD.js');
|
|
10
10
|
require('./Pagination-Dediz133.js');
|
|
11
11
|
require('./Payment-2Zmn-l6G.js');
|
|
12
|
+
require('./Refund-h6MCxFEE.js');
|
|
12
13
|
require('./Business-DCRzZf0w.js');
|
|
13
14
|
require('./Dispute-CruQTF6_.js');
|
|
14
15
|
var index_esm = require('./index.esm-BleZSAc0.js');
|
|
@@ -17,7 +18,7 @@ var parts = require('./parts-9jMf1erK.js');
|
|
|
17
18
|
var eventTypes = require('./event-types-DNOUef41.js');
|
|
18
19
|
var button = require('./button-CfVQSysQ.js');
|
|
19
20
|
require('./event-types-YOY5TKUN.js');
|
|
20
|
-
require('./utils-
|
|
21
|
+
require('./utils-l0veqT9y.js');
|
|
21
22
|
require('./index-Yd9aLenr.js');
|
|
22
23
|
require('./helpers-B5OCqlIM.js');
|
|
23
24
|
require('./state-options-CIT9xdTz.js');
|
|
@@ -100,7 +100,7 @@ const AdditionalStatement = class {
|
|
|
100
100
|
}
|
|
101
101
|
render() {
|
|
102
102
|
var _a, _b;
|
|
103
|
-
return (index.h("div", { key: '
|
|
103
|
+
return (index.h("div", { key: '3da2494959f8f95bd5dcea3ec7b40d7a6d13f07d' }, index.h("div", { key: '7e30011761a53353dc4ea2a29860fb1b0e97a4f2', class: "row gy-3" }, index.h("div", { key: 'f059331f2f33f10a179ff4c0cdd39966dd3244b9', class: "col-12" }, index.h("h2", { key: '504f4debdd82105dee45199402edd1b4f8855b22', class: "h5", part: parts.heading5 }, "Additional Evidence")), index.h("div", { key: 'bb6d287f7b13b48b0da327baac376afa5b0422ed', class: "col-12" }, index.h("form-control-textarea", { key: '11f24185c7bdf2c8611bbdd565e5f7621487e2ee', 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 })), index.h("div", { key: '0a7b1a3d9599b973fe8eba88d895345286b22e4b', class: "col-12" }, index.h("form-control-file-v2", { key: '18a913b89ea00c8559ad33377f57e4b9a276d00d', 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 })))));
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
106
|
|
|
@@ -134,7 +134,7 @@ const CancellationPolicy = class {
|
|
|
134
134
|
}
|
|
135
135
|
render() {
|
|
136
136
|
var _a, _b, _c;
|
|
137
|
-
return (index.h("div", { key: '
|
|
137
|
+
return (index.h("div", { key: '6abface896835eb55168c6eaffb3f895b48169aa' }, index.h("div", { key: '73c586824840a3a054f2178ff2378489a861f7c7', class: "row gy-3" }, index.h("div", { key: '6381696528b65954c9756aa804713247a628aceb', class: "col-12" }, index.h("h2", { key: 'c7892b9be4dc85e48d7aba11695ebed34e4902bc', class: "h5", part: parts.heading5 }, "Cancellation Policy")), index.h("div", { key: '7b561cfe03ac8d26e104fcc2d01ada81610e2032', class: "col-12" }, index.h("form-control-textarea", { key: '5adfc8407a00ef4114be45a6dcd958dc5ee798d3', 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 })), index.h("div", { key: 'b43cad5c9201429abc8392370230f8df6be2fe36', class: "col-12" }, index.h("form-control-textarea", { key: '498ef3c2624009083f65be964b3a417c13682232', 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 })), index.h("div", { key: '8564d0c2d27d78b7b6c61897a955da4129175c7a', class: "col-12" }, index.h("form-control-file-v2", { key: 'b55c3cf8b3e98f90b11bc41fa00db8e245b00d47', 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 })))));
|
|
138
138
|
}
|
|
139
139
|
};
|
|
140
140
|
|
|
@@ -169,7 +169,7 @@ const CustomerDetails = class {
|
|
|
169
169
|
}
|
|
170
170
|
render() {
|
|
171
171
|
var _a, _b, _c, _d, _e;
|
|
172
|
-
return (index.h("div", { key: '
|
|
172
|
+
return (index.h("div", { key: 'b16377889ebc16a5a86dd7b1961e00e42bd7c882' }, index.h("div", { key: '4a1b27996c1d834922ab953915dfdc974328e287', class: "row gy-3" }, index.h("div", { key: 'dabb895b8c24bc24fb76283c98c7c32d75e524a4', class: "col-12" }, index.h("h2", { key: 'e377b7e920288456b6ceccebcc0a358c94f5d3f2', class: "h5", part: parts.heading5 }, "Customer Details")), index.h("div", { key: '3785ca021c3e6f1e59b6c43167667a6056b88f48', class: "col-12" }, index.h("form-control-text", { key: '2a0e8de20fca9db5e340a93f3c63936112dbb252', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), index.h("div", { key: '17a1e76d62da5675dea32feb4e4955eb5dd9266c', class: "col-12" }, index.h("form-control-text", { key: '52487008c35cbe621fcb4ae75b1d06474675416f', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), index.h("div", { key: '630fda9158a82a0fb13b3aacea29b9d777ca96d3', class: "col-12" }, index.h("form-control-textarea", { key: '6aa0b5f16e96168b8a9ee18f9477ba61fdf5321b', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), index.h("div", { key: 'be67c3f4247267017b2d83f43f67778792b48b60', class: "col-12" }, index.h("form-control-file-v2", { key: '056c53ccf6c08e9f6343b03c5174805552559be0', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), index.h("div", { key: '416f2b6256bcc3a4a448db66e5c172669b520e7f', class: "col-12" }, index.h("form-control-file-v2", { key: '714c98f07e8cdf96bc350ce3955ebd996c537826', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
|
|
173
173
|
}
|
|
174
174
|
};
|
|
175
175
|
|
|
@@ -203,7 +203,7 @@ const DuplicateCharge = class {
|
|
|
203
203
|
}
|
|
204
204
|
render() {
|
|
205
205
|
var _a, _b, _c;
|
|
206
|
-
return (index.h("div", { key: '
|
|
206
|
+
return (index.h("div", { key: 'f1ad63ad261419cc624080e5b8363e57f551d675' }, index.h("div", { key: 'b19abdfe6ea2daccc787a9096c99849e8eedf591', class: "row gy-3" }, index.h("div", { key: '3a9b55f65746147f3ef354d246803061fa3438e1', class: "col-12" }, index.h("h2", { key: '4e354e4458cade4a7195f4e9aedd9edbb72898eb', class: "h5", part: parts.heading5 }, "Duplicate Charge")), index.h("div", { key: '79dd25447a79eda39115a8337de5a8f8898cba13', class: "col-12" }, index.h("form-control-text", { key: 'f060bd04807441f8b97387632b46561e6e702ca4', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), index.h("div", { key: '1a2679c9f693abf61d19b645ccc114a8c15bd8e6', class: "col-12" }, index.h("form-control-textarea", { key: '14f5736b6845a02a0a98c934ca24f742ba061a71', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), index.h("div", { key: '0e3bd831dd17518d21a1c0c6c24a137b05e5025b', class: "col-12" }, index.h("form-control-file-v2", { key: 'a62004b90911cdb5bfdf9bd82fe98a41de7d94ab', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
|
|
207
207
|
}
|
|
208
208
|
};
|
|
209
209
|
|
|
@@ -236,7 +236,7 @@ const ElectronicEvidence = class {
|
|
|
236
236
|
}
|
|
237
237
|
render() {
|
|
238
238
|
var _a, _b;
|
|
239
|
-
return (index.h("div", { key: '
|
|
239
|
+
return (index.h("div", { key: 'd31ff9284f1b051ddfbad25b3a4efce68f24fc08' }, index.h("div", { key: 'c8b485a03299b48bb431db694931f1af5e44ee83', class: "row gy-3" }, index.h("div", { key: '1c88f5240a562366d9eefc32b06e22449cf53c80', class: "col-12" }, index.h("h2", { key: 'e17b11f2cda9f2de7d5c43f379a333b160d0ba28', class: "h5", part: parts.heading5 }, "Electronic Evidence")), index.h("div", { key: 'd7d4e81eba52518f0a598d9efcd773802ef72441', class: "col-12" }, index.h("form-control-text", { key: 'f8e7a558c2f1d4018317c754cc30bc54f165b2f2', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), index.h("div", { key: '0cce46d607ad965c964dac6392345e94f5731fec', class: "col-12" }, index.h("form-control-file-v2", { key: '59f06b1acac7c97bacfae2933b40a11d2a7504e7', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
|
|
240
240
|
}
|
|
241
241
|
};
|
|
242
242
|
|
|
@@ -270,7 +270,7 @@ const ProductOrService = class {
|
|
|
270
270
|
}
|
|
271
271
|
render() {
|
|
272
272
|
var _a, _b, _c;
|
|
273
|
-
return (index.h("div", { key: '
|
|
273
|
+
return (index.h("div", { key: 'c785e0f2960f5c3f345593cdf4a661ec23319318' }, index.h("div", { key: '889411f69d6da90b66aec38670275417ae453ad3', class: "row gy-3" }, index.h("div", { key: '32757c5d3976233bb651f0ca62d05dc641cd0bb6', class: "col-12" }, index.h("h2", { key: '069e07dba3f701fa9ae1b6c7c8cdbb87e87779f9', class: "h5", part: parts.heading5 }, "Product & Service Details")), index.h("div", { key: '3159a507115e4ccee2ede664284b487a5b99789f', class: "col-12" }, index.h("form-control-text", { key: 'e9e37f925e8b2eba53cd69b62a9b397642ab8398', 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 })), index.h("div", { key: '9a98f1109a1a53dc1768ba65112a82564fcbc778', class: "col-12" }, index.h("form-control-date", { key: '9229934f3ce815511ebfc172acf2e74746f34961', 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 })), index.h("div", { key: '4bcbd5232ae025c0432b4b63db9d52a4d9a06da7', class: "col-12" }, index.h("form-control-file-v2", { key: '28f7a534590cc3583c409596353262d432366c20', 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 })))));
|
|
274
274
|
}
|
|
275
275
|
};
|
|
276
276
|
|
|
@@ -304,7 +304,7 @@ const RefundPolicy = class {
|
|
|
304
304
|
}
|
|
305
305
|
render() {
|
|
306
306
|
var _a, _b, _c, _d;
|
|
307
|
-
return (index.h("div", { key: '
|
|
307
|
+
return (index.h("div", { key: '059fe88e8680cce1fff5d2fb78974c84b8419010' }, index.h("div", { key: '44540c58f93b7cb6e7c26913dd731bd108ad082e', class: "row gy-3" }, index.h("div", { key: 'b6a06bab2f9a50e4270ae2757f4a34bf377267f2', class: "col-12" }, index.h("h2", { key: 'bca449676b25c574e18f7f085db1015d0590ade3', class: "h5", part: parts.heading5 }, "Refund Policy and Receipt")), index.h("div", { key: 'fcf8e789a230d9b8a637b3dff1212d7493ebdecd', class: "col-12" }, index.h("form-control-textarea", { key: 'ece54130e8b8eaf0845c7a83f076ea37f0fe7ac5', 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 })), index.h("div", { key: '8f9abb62e4110a2ffc9335bf0e919d4c50b2c457', class: "col-12" }, index.h("form-control-textarea", { key: 'f4bdd5b908fff65d6a797802dbd901783d87f3f8', 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 })), index.h("div", { key: '43c55a470f2c66ae49104f8e82dd8ca9872f8b42', class: "col-12" }, index.h("form-control-file-v2", { key: 'dbb0f755afd709364a10ab5737f62c7b6050ddbf', 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 })), index.h("div", { key: '5e130e88240ed520e93b6116d08ff0cbb4427084', class: "col-12" }, index.h("form-control-file-v2", { key: '90b51fd34f6ba84b6bcc706e7afdcc540a0435e4', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
|
|
308
308
|
}
|
|
309
309
|
};
|
|
310
310
|
|
|
@@ -341,7 +341,7 @@ const ShippingDetails = class {
|
|
|
341
341
|
}
|
|
342
342
|
render() {
|
|
343
343
|
var _a, _b, _c, _d, _e;
|
|
344
|
-
return (index.h("div", { key: '
|
|
344
|
+
return (index.h("div", { key: '9659228d60badf5ed8ce9166d6f7a9c9857024b5' }, index.h("div", { key: '3cd0f255e7719311293fdab4b3c3b053835e7062', class: "row gy-3" }, index.h("div", { key: '132759e99a8a5797d2a386ae802ce3607f15efaa', class: "col-12" }, index.h("h2", { key: '1ba83f329ea9a44584d59fdce07b7d2acba37f41', class: "h5", part: parts.heading5 }, "Shipping Details")), index.h("div", { key: '467f5246bccc7401e5b8dab660961bd639f9ff2b', class: "col-12" }, index.h("form-control-text", { key: 'dd7d33309fd9af4ae12462e4cb6e294c1fb05735', 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 })), index.h("div", { key: '2b96dbe354f2cc65b676cde07d004253fe74469f', class: "col-12" }, index.h("form-control-text", { key: '1574517f3c463c8e2ac2a2a0cdb85eb7c8349971', 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 })), index.h("div", { key: '76dc169253d3de15c041e21d3b116a0973a0884b', class: "col-12" }, index.h("form-control-date", { key: 'f1a80bd55f350559aff614a219191fd026287910', 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 })), index.h("div", { key: 'e314c9bb0b0edaf5a7ff01e3ec804377a9ca2f4f', class: "col-12" }, index.h("form-control-textarea", { key: '13ea3ccb3001cbef1453cefbcc663e10eff62cb6', 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 })), index.h("div", { key: 'eeffc742b048ca828caefd7ccb1793927e1f3295', class: "col-12" }, index.h("form-control-file-v2", { key: '5d7c17b8acef1b41d80301640d90c3c0e17f2471', 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 })))));
|
|
345
345
|
}
|
|
346
346
|
};
|
|
347
347
|
|
|
@@ -2,24 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-dm_GlYlb.js');
|
|
4
4
|
var utils = require('./utils-Df-pajL7.js');
|
|
5
|
-
var business_service = require('./business.service-
|
|
6
|
-
var getBusiness = require('./get-business-
|
|
7
|
-
var ComponentError = require('./ComponentError-
|
|
8
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
5
|
+
var business_service = require('./business.service-OxMVnZMF.js');
|
|
6
|
+
var getBusiness = require('./get-business-BJrtsomz.js');
|
|
7
|
+
var ComponentError = require('./ComponentError-C4MdBBMe.js');
|
|
8
|
+
var checkPkgVersion = require('./check-pkg-version-Co_IKlwj.js');
|
|
9
9
|
require('./parts-9jMf1erK.js');
|
|
10
10
|
require('./Api-p2pK86Zd.js');
|
|
11
11
|
require('./config-state-5xZf-jax.js');
|
|
12
12
|
require('./index-Yd9aLenr.js');
|
|
13
13
|
require('./utils-Dka3MplB.js');
|
|
14
|
-
require('./
|
|
14
|
+
require('./Checkout-nsVtlYWD.js');
|
|
15
15
|
require('./Pagination-Dediz133.js');
|
|
16
16
|
require('./Payment-2Zmn-l6G.js');
|
|
17
17
|
require('./Dispute-CruQTF6_.js');
|
|
18
|
+
require('./Refund-h6MCxFEE.js');
|
|
18
19
|
require('./Business-DCRzZf0w.js');
|
|
19
20
|
require('./helpers-B5OCqlIM.js');
|
|
20
21
|
require('./state-options-CIT9xdTz.js');
|
|
21
|
-
require('./utils-
|
|
22
|
-
require('./package-
|
|
22
|
+
require('./utils-l0veqT9y.js');
|
|
23
|
+
require('./package-B7_ed3oS.js');
|
|
23
24
|
|
|
24
25
|
const BusinessDetails = class {
|
|
25
26
|
constructor(hostRef) {
|
|
@@ -6,31 +6,32 @@ var businessAdditionalQuestionsSchema = require('./business-additional-questions
|
|
|
6
6
|
var businessIdentitySchema = require('./business-identity-schema-CclzWSOn.js');
|
|
7
7
|
require('./config-state-5xZf-jax.js');
|
|
8
8
|
require('./utils-Dka3MplB.js');
|
|
9
|
-
var ComponentError = require('./ComponentError-
|
|
10
|
-
require('./
|
|
9
|
+
var ComponentError = require('./ComponentError-C4MdBBMe.js');
|
|
10
|
+
require('./Checkout-nsVtlYWD.js');
|
|
11
11
|
require('./Pagination-Dediz133.js');
|
|
12
12
|
require('./Payment-2Zmn-l6G.js');
|
|
13
|
+
require('./Refund-h6MCxFEE.js');
|
|
13
14
|
var Business = require('./Business-DCRzZf0w.js');
|
|
14
15
|
require('./Dispute-CruQTF6_.js');
|
|
15
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
16
|
+
var checkPkgVersion = require('./check-pkg-version-Co_IKlwj.js');
|
|
16
17
|
var button = require('./button-CfVQSysQ.js');
|
|
17
18
|
var styledHost = require('./styled-host-CqQYxX-w.js');
|
|
18
19
|
var header1 = require('./header-1-DD41iNlG.js');
|
|
19
20
|
require('./event-types-YOY5TKUN.js');
|
|
20
21
|
var skeleton = require('./skeleton-x-GSs3xk.js');
|
|
21
22
|
var eventTypes = require('./event-types-DNOUef41.js');
|
|
22
|
-
var paymentProvisioningActions = require('./payment-provisioning-actions-
|
|
23
|
-
var business_service = require('./business.service-
|
|
23
|
+
var paymentProvisioningActions = require('./payment-provisioning-actions-BkWSDJQQ.js');
|
|
24
|
+
var business_service = require('./business.service-OxMVnZMF.js');
|
|
24
25
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
25
26
|
require('./schema-validations-jek_iZ9W.js');
|
|
26
27
|
require('./state-options-CIT9xdTz.js');
|
|
27
28
|
require('./business-form-options-CMII7nIK.js');
|
|
28
29
|
require('./index-Yd9aLenr.js');
|
|
29
30
|
require('./helpers-B5OCqlIM.js');
|
|
30
|
-
require('./package-
|
|
31
|
+
require('./package-B7_ed3oS.js');
|
|
31
32
|
require('./Api-p2pK86Zd.js');
|
|
32
33
|
require('./parts-9jMf1erK.js');
|
|
33
|
-
require('./utils-
|
|
34
|
+
require('./utils-l0veqT9y.js');
|
|
34
35
|
|
|
35
36
|
const businessFormSchema = index_esm.create$3(Object.assign(Object.assign({}, businessAdditionalQuestionsSchema.businessCoreInfoSchema().fields), { legal_address: businessIdentitySchema.addressSchema(), additional_questions: businessAdditionalQuestionsSchema.additionalQuestionsSchema(), representative: businessIdentitySchema.identitySchema('representative') }));
|
|
36
37
|
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-dm_GlYlb.js');
|
|
4
|
+
var utils = require('./utils-Dka3MplB.js');
|
|
5
|
+
var Checkout = require('./Checkout-nsVtlYWD.js');
|
|
6
|
+
var ComponentError = require('./ComponentError-C4MdBBMe.js');
|
|
7
|
+
var insuranceState = require('./insurance-state-qT_hkvZV.js');
|
|
8
|
+
var button = require('./button-CfVQSysQ.js');
|
|
9
|
+
var styledHost = require('./styled-host-CqQYxX-w.js');
|
|
10
|
+
var skeleton = require('./skeleton-x-GSs3xk.js');
|
|
11
|
+
var parts = require('./parts-9jMf1erK.js');
|
|
12
|
+
var header3 = require('./header-3-D9Wa0IfT.js');
|
|
13
|
+
require('./event-types-YOY5TKUN.js');
|
|
14
|
+
require('./index-Yd9aLenr.js');
|
|
15
|
+
|
|
16
|
+
const CheckoutCore = class {
|
|
17
|
+
constructor(hostRef) {
|
|
18
|
+
index.registerInstance(this, hostRef);
|
|
19
|
+
this.submitEvent = index.createEvent(this, "submit-event");
|
|
20
|
+
this.errorEvent = index.createEvent(this, "error-event");
|
|
21
|
+
this.loaded = index.createEvent(this, "loaded");
|
|
22
|
+
this.hasLoadedFonts = false;
|
|
23
|
+
this.renderState = 'loading';
|
|
24
|
+
this.creatingNewPaymentMethod = false;
|
|
25
|
+
this.insuranceToggled = false;
|
|
26
|
+
this.completeCheckout = async (payment) => {
|
|
27
|
+
this.complete({
|
|
28
|
+
payment,
|
|
29
|
+
onSuccess: this.onSubmitted,
|
|
30
|
+
onError: this.onError,
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
this.onSubmitted = (response) => {
|
|
34
|
+
this.submitEvent.emit({ response: response });
|
|
35
|
+
this.renderState = 'success';
|
|
36
|
+
};
|
|
37
|
+
this.onError = ({ error, code, severity }) => {
|
|
38
|
+
this.serverError = error;
|
|
39
|
+
this.errorEvent.emit({
|
|
40
|
+
errorCode: code,
|
|
41
|
+
message: error,
|
|
42
|
+
severity,
|
|
43
|
+
});
|
|
44
|
+
this.renderState = 'error';
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
async fillBillingForm(fields) {
|
|
48
|
+
this.paymentMethodOptionsRef.fillBillingForm(fields);
|
|
49
|
+
}
|
|
50
|
+
async validate() {
|
|
51
|
+
const insuranceValidation = insuranceState.validateInsuranceValues();
|
|
52
|
+
const { isValid } = await this.paymentMethodOptionsRef.validate();
|
|
53
|
+
if (!insuranceValidation.isValid || !isValid) {
|
|
54
|
+
return { isValid: false };
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
return { isValid: true };
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
componentWillLoad() {
|
|
61
|
+
if (this.getCheckout) {
|
|
62
|
+
this.fetchData();
|
|
63
|
+
// Refresh the checkout data when insurance is added or removed
|
|
64
|
+
insuranceState.insuranceValuesOn('set', (key) => {
|
|
65
|
+
const value = insuranceState.insuranceValues[key];
|
|
66
|
+
if (value !== undefined) {
|
|
67
|
+
this.insuranceToggled = value;
|
|
68
|
+
this.fetchData();
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
fetchData() {
|
|
74
|
+
this.renderState = 'loading';
|
|
75
|
+
this.getCheckout({
|
|
76
|
+
onSuccess: ({ checkout }) => {
|
|
77
|
+
this.checkout = new Checkout.Checkout(checkout);
|
|
78
|
+
const { status } = this.checkout;
|
|
79
|
+
this.loaded.emit({ checkout_status: status });
|
|
80
|
+
this.renderState = 'success';
|
|
81
|
+
},
|
|
82
|
+
onError: ({ error, code, severity }) => {
|
|
83
|
+
this.serverError = error;
|
|
84
|
+
this.renderState = 'error';
|
|
85
|
+
this.errorEvent.emit({
|
|
86
|
+
errorCode: code,
|
|
87
|
+
message: error,
|
|
88
|
+
severity,
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
;
|
|
94
|
+
async submit(event) {
|
|
95
|
+
var _a;
|
|
96
|
+
event.preventDefault();
|
|
97
|
+
this.renderState = 'loading';
|
|
98
|
+
const insuranceValidation = insuranceState.validateInsuranceValues();
|
|
99
|
+
const payload = await this.paymentMethodOptionsRef.resolvePaymentMethod(insuranceValidation);
|
|
100
|
+
if (payload.validationError) {
|
|
101
|
+
this.renderState = 'error';
|
|
102
|
+
}
|
|
103
|
+
else if (payload.error) {
|
|
104
|
+
this.renderState = 'error';
|
|
105
|
+
this.serverError = payload.error.message;
|
|
106
|
+
this.onError({
|
|
107
|
+
code: payload.error.code,
|
|
108
|
+
error: payload.error.message,
|
|
109
|
+
severity: ComponentError.ComponentErrorSeverity.ERROR,
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
else if (payload.token) {
|
|
113
|
+
this.completeCheckout({ payment_mode: 'ecom', payment_token: payload.token });
|
|
114
|
+
}
|
|
115
|
+
else if (((_a = payload.bnpl) === null || _a === void 0 ? void 0 : _a.status) === 'success') {
|
|
116
|
+
this.completeCheckout({ payment_mode: 'bnpl' });
|
|
117
|
+
}
|
|
118
|
+
else {
|
|
119
|
+
this.renderState = 'error';
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
get isLoading() {
|
|
123
|
+
return this.renderState === 'loading';
|
|
124
|
+
}
|
|
125
|
+
get isError() {
|
|
126
|
+
return this.renderState === 'error';
|
|
127
|
+
}
|
|
128
|
+
get paymentType() {
|
|
129
|
+
var _a, _b, _c, _d, _e;
|
|
130
|
+
return (index.h("section", null, index.h("div", { class: !this.isLoading && 'visually-hidden' }, index.h(skeleton.Skeleton, { height: "300px" })), index.h("div", { class: this.isLoading && 'visually-hidden' }, index.h("justifi-payment-method-options", { ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": !this.disableBnpl, paymentMethodGroupId: (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_method_group_id, "show-saved-payment-methods": !this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, bnpl: (_b = this.checkout) === null || _b === void 0 ? void 0 : _b.bnpl, authToken: this.authToken, "account-id": (_c = this.checkout) === null || _c === void 0 ? void 0 : _c.account_id, savedPaymentMethods: ((_d = this.checkout) === null || _d === void 0 ? void 0 : _d.payment_methods) || [], paymentAmount: (_e = this.checkout) === null || _e === void 0 ? void 0 : _e.payment_amount, insuranceToggled: this.insuranceToggled }))));
|
|
131
|
+
}
|
|
132
|
+
get summary() {
|
|
133
|
+
var _a, _b;
|
|
134
|
+
return (index.h("section", null, index.h("div", { class: !this.isLoading && 'visually-hidden' }, index.h(skeleton.Skeleton, { height: "24px" })), index.h("div", { class: this.isLoading && 'visually-hidden' }, index.h("div", { part: parts.text }, (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_description), index.h("div", null, index.h("span", { part: parts.text }, "Total"), "\u00A0", index.h("span", { part: parts.text }, utils.formatCurrency(+((_b = this.checkout) === null || _b === void 0 ? void 0 : _b.total_amount)))))));
|
|
135
|
+
}
|
|
136
|
+
render() {
|
|
137
|
+
return (index.h(styledHost.StyledHost, { key: '2fb8b2c2b543712023c74cf9b41dc57675c89237' }, index.h("div", { key: 'caba36e076e4162d9c92844f7c0632b5bf678de6', class: "row gy-3 jfi-checkout-core" }, index.h("div", { key: '6a27d64005d785815d5567894d6e2a6e1e515cf8', class: "col-12", part: parts.checkoutSummary }, index.h(insuranceState.Header2, { key: '645fe4250331805e86811700b453458f065188bd', text: "Summary", class: "fs-5 fw-bold pb-3" }), this.summary), index.h("div", { key: 'c49c73eb3462ad17e0344e74be508abe958a9358', class: "col-12" }, index.h("slot", { key: 'be626bff57c95b92f9853e2e9b63dd9279834142', name: "insurance" })), index.h("div", { key: '025b0400164935f10d6c79d445bfdcf157290fd6', class: "col-12 mt-4" }, index.h(insuranceState.Header2, { key: '483b5d53b5cea3ae6fccfbb3aa9d3efe0dc8fcab', text: "Payment", class: "fs-5 fw-bold pb-3" }), index.h(header3.Header3, { key: '21abbd4d669e351c8ad0a87b7b408a4998948b46', text: "Select payment type", class: "fs-6 fw-bold lh-lg" }), index.h("div", { key: '9441e97e1bd64b796ebcf1404d4ca04964990982', class: "d-flex flex-column" }, this.paymentType)), index.h("div", { key: '9db2e4fccff5b868e7d329d9b0be864942adcc3d', class: "col-12" }, index.h("div", { key: '2eaef4ed6062b27de2516de7b71a056c829f8cab', class: "d-flex justify-content-end" }, index.h(button.Button, { key: '505869afa61094d628b58a32749c44f678e4fda3', type: "submit", variant: "primary", onClick: (e) => this.submit(e), disabled: this.isLoading, isLoading: this.isLoading, style: { width: '100%' } }, "Pay"))))));
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
exports.justifi_checkout_core = CheckoutCore;
|
|
@@ -1,121 +1,136 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-dm_GlYlb.js');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var styledHost = require('./styled-host-CqQYxX-w.js');
|
|
9
|
-
require('./event-types-YOY5TKUN.js');
|
|
10
|
-
require('./package-CRFlBTFJ.js');
|
|
4
|
+
var ComponentError = require('./ComponentError-C4MdBBMe.js');
|
|
5
|
+
var utils = require('./utils-l0veqT9y.js');
|
|
6
|
+
var checkout_service = require('./checkout.service-GgFXq7Ux.js');
|
|
7
|
+
var checkPkgVersion = require('./check-pkg-version-Co_IKlwj.js');
|
|
11
8
|
require('./Api-p2pK86Zd.js');
|
|
12
9
|
require('./config-state-5xZf-jax.js');
|
|
13
10
|
require('./index-Yd9aLenr.js');
|
|
14
11
|
require('./utils-Dka3MplB.js');
|
|
15
|
-
require('./
|
|
16
|
-
require('./Refund-BztCb6AK.js');
|
|
12
|
+
require('./Checkout-nsVtlYWD.js');
|
|
17
13
|
require('./Pagination-Dediz133.js');
|
|
14
|
+
require('./Payment-2Zmn-l6G.js');
|
|
15
|
+
require('./Dispute-CruQTF6_.js');
|
|
16
|
+
require('./Refund-h6MCxFEE.js');
|
|
18
17
|
require('./Business-DCRzZf0w.js');
|
|
19
18
|
require('./helpers-B5OCqlIM.js');
|
|
20
19
|
require('./state-options-CIT9xdTz.js');
|
|
21
|
-
require('./
|
|
20
|
+
require('./package-B7_ed3oS.js');
|
|
22
21
|
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
|
|
23
|
+
var _a;
|
|
24
|
+
try {
|
|
25
|
+
const response = await service.fetchCheckout(authToken, checkoutId);
|
|
26
|
+
if (!response.error) {
|
|
27
|
+
const checkout = response.data;
|
|
28
|
+
onSuccess({ checkout });
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
const responseError = utils.getErrorMessage(response.error);
|
|
32
|
+
const code = utils.getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
|
|
33
|
+
return onError({
|
|
34
|
+
error: responseError,
|
|
35
|
+
code,
|
|
36
|
+
severity: ComponentError.ComponentErrorSeverity.ERROR,
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
catch (error) {
|
|
41
|
+
const code = utils.getErrorCode(error === null || error === void 0 ? void 0 : error.code);
|
|
42
|
+
return onError({
|
|
43
|
+
error: error.message || error,
|
|
44
|
+
code,
|
|
45
|
+
severity: ComponentError.ComponentErrorSeverity.ERROR,
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
const makeCheckoutComplete = ({ authToken, checkoutId, service }) => async ({ payment, onSuccess, onError }) => {
|
|
50
|
+
var _a;
|
|
51
|
+
try {
|
|
52
|
+
const response = await service.complete(authToken, checkoutId, payment);
|
|
53
|
+
if (!response.error) {
|
|
54
|
+
onSuccess(response);
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
const responseError = utils.getErrorMessage(response.error);
|
|
58
|
+
const code = utils.getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
|
|
59
|
+
return onError({
|
|
60
|
+
error: responseError,
|
|
61
|
+
code,
|
|
62
|
+
severity: ComponentError.ComponentErrorSeverity.ERROR,
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
catch (error) {
|
|
67
|
+
const code = utils.getErrorCode(error === null || error === void 0 ? void 0 : error.code);
|
|
68
|
+
return onError({
|
|
69
|
+
error: error.message || error,
|
|
70
|
+
code,
|
|
71
|
+
severity: ComponentError.ComponentErrorSeverity.ERROR,
|
|
72
|
+
});
|
|
73
|
+
}
|
|
26
74
|
};
|
|
75
|
+
|
|
27
76
|
const Checkout = class {
|
|
28
77
|
constructor(hostRef) {
|
|
29
78
|
index.registerInstance(this, hostRef);
|
|
30
79
|
this.errorEvent = index.createEvent(this, "error-event");
|
|
31
80
|
this.loadedEvent = index.createEvent(this, "loaded");
|
|
32
|
-
this.submitEvent = index.createEvent(this, "submit-event");
|
|
33
81
|
this.errorMessage = '';
|
|
34
|
-
this.insuranceToggled = false;
|
|
35
|
-
this.isSubmitting = false; // This is used to prevent multiple submissions and is different from loading state
|
|
36
|
-
this.paymentMethodOptions = [];
|
|
37
|
-
this.savePaymentMethod = false;
|
|
38
|
-
this.disableBankAccount = false;
|
|
39
|
-
this.disableBnpl = false;
|
|
40
|
-
this.disableCreditCard = false;
|
|
41
|
-
this.disablePaymentMethodGroup = false;
|
|
42
|
-
this.hideBankAccountBillingForm = false;
|
|
43
|
-
this.hideCardBillingForm = false;
|
|
44
|
-
}
|
|
45
|
-
propChanged() {
|
|
46
|
-
this.updateStore();
|
|
47
|
-
}
|
|
48
|
-
connectedCallback() {
|
|
49
|
-
if (this.authToken && this.checkoutId) {
|
|
50
|
-
this.updateStore();
|
|
51
|
-
}
|
|
52
82
|
}
|
|
53
83
|
componentWillLoad() {
|
|
54
84
|
checkPkgVersion.checkPkgVersion();
|
|
55
85
|
this.analytics = new checkPkgVersion.JustifiAnalytics(this);
|
|
86
|
+
this.initializeGetCheckout();
|
|
56
87
|
}
|
|
57
88
|
disconnectedCallback() {
|
|
58
89
|
var _a;
|
|
59
90
|
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
60
91
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
92
|
+
;
|
|
93
|
+
initializeGetCheckout() {
|
|
94
|
+
if (this.authToken && this.checkoutId) {
|
|
95
|
+
this.getCheckout = makeGetCheckout({
|
|
96
|
+
authToken: this.authToken,
|
|
97
|
+
checkoutId: this.checkoutId,
|
|
98
|
+
service: new checkout_service.CheckoutService()
|
|
99
|
+
});
|
|
100
|
+
this.complete = makeCheckoutComplete({
|
|
101
|
+
authToken: this.authToken,
|
|
102
|
+
checkoutId: this.checkoutId,
|
|
103
|
+
service: new checkout_service.CheckoutService()
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
else {
|
|
107
|
+
this.errorEvent.emit({
|
|
108
|
+
message: 'auth-token and checkout-id are required',
|
|
109
|
+
errorCode: ComponentError.ComponentErrorCodes.MISSING_PROPS,
|
|
110
|
+
severity: ComponentError.ComponentErrorSeverity.ERROR,
|
|
111
|
+
});
|
|
112
|
+
}
|
|
70
113
|
}
|
|
71
|
-
|
|
72
|
-
|
|
114
|
+
propChanged() {
|
|
115
|
+
this.initializeGetCheckout();
|
|
73
116
|
}
|
|
74
117
|
async fillBillingForm(fields) {
|
|
75
|
-
|
|
118
|
+
this.checkoutCoreRef.fillBillingForm(fields);
|
|
76
119
|
}
|
|
77
120
|
async validate() {
|
|
78
|
-
|
|
79
|
-
return { isValid
|
|
80
|
-
}
|
|
81
|
-
updateStore() {
|
|
82
|
-
checkout_store.checkoutStore.checkoutId = this.checkoutId;
|
|
83
|
-
checkout_store.checkoutStore.authToken = this.authToken;
|
|
84
|
-
checkout_store.checkoutStore.disableCreditCard = this.disableCreditCard;
|
|
85
|
-
checkout_store.checkoutStore.disableBankAccount = this.disableBankAccount;
|
|
86
|
-
checkout_store.checkoutStore.disableBnpl = this.disableBnpl;
|
|
87
|
-
checkout_store.checkoutStore.disablePaymentMethodGroup = this.disablePaymentMethodGroup;
|
|
88
|
-
}
|
|
89
|
-
async submit(_event) {
|
|
90
|
-
this.isSubmitting = true;
|
|
91
|
-
this.modularCheckoutRef.submitCheckout(checkout_store.checkoutStore.billingFormFields);
|
|
92
|
-
}
|
|
93
|
-
get canSavePaymentMethod() {
|
|
94
|
-
return checkout_store.checkoutStore.selectedPaymentMethod === Payment.PaymentMethodTypes.card || checkout_store.checkoutStore.selectedPaymentMethod === Payment.PaymentMethodTypes.bankAccount;
|
|
95
|
-
}
|
|
96
|
-
get showBillingForm() {
|
|
97
|
-
return (checkout_store.checkoutStore.selectedPaymentMethod === Payment.PaymentMethodTypes.card && !this.hideCardBillingForm)
|
|
98
|
-
|| (checkout_store.checkoutStore.selectedPaymentMethod === Payment.PaymentMethodTypes.bankAccount && !this.hideBankAccountBillingForm);
|
|
99
|
-
}
|
|
100
|
-
get showBillingFormSection() {
|
|
101
|
-
return checkout_store.checkoutStore.selectedPaymentMethod === Payment.PaymentMethodTypes.card || checkout_store.checkoutStore.selectedPaymentMethod === Payment.PaymentMethodTypes.bankAccount;
|
|
102
|
-
}
|
|
103
|
-
get showPaymentTypeHeader() {
|
|
104
|
-
return !this.disableCreditCard && !this.disableBankAccount;
|
|
105
|
-
}
|
|
106
|
-
get showPostalCodeForm() {
|
|
107
|
-
return checkout_store.checkoutStore.selectedPaymentMethod === Payment.PaymentMethodTypes.card && this.hideCardBillingForm;
|
|
121
|
+
const { isValid } = await this.checkoutCoreRef.validate();
|
|
122
|
+
return { isValid };
|
|
108
123
|
}
|
|
109
124
|
render() {
|
|
110
|
-
return (index.h(
|
|
125
|
+
return (index.h("justifi-checkout-core", { key: 'c1c7cf4f1aadce928e3ed6a6ae05a7824d875d68', getCheckout: this.getCheckout, authToken: this.authToken, complete: this.complete, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, disableBnpl: this.disableBnpl, disablePaymentMethodGroup: this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, ref: el => {
|
|
126
|
+
if (el) {
|
|
127
|
+
this.checkoutCoreRef = el;
|
|
128
|
+
}
|
|
129
|
+
} }, index.h("div", { key: '7a4be7220e5eb199f94c5086c23e10dce68d4854', slot: "insurance" }, index.h("slot", { key: 'f5db23ef6dc82d0521518ea2dbfe99d8c8b6c2cc', name: "insurance" }))));
|
|
111
130
|
}
|
|
112
131
|
static get watchers() { return {
|
|
113
132
|
"authToken": ["propChanged"],
|
|
114
|
-
"checkoutId": ["propChanged"]
|
|
115
|
-
"disableCreditCard": ["propChanged"],
|
|
116
|
-
"disableBankAccount": ["propChanged"],
|
|
117
|
-
"disableBnpl": ["propChanged"],
|
|
118
|
-
"disablePaymentMethodGroup": ["propChanged"]
|
|
133
|
+
"checkoutId": ["propChanged"]
|
|
119
134
|
}; }
|
|
120
135
|
};
|
|
121
136
|
|