@justifi/webcomponents 6.0.0-rc.2 → 6.0.0-rc.4
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/bank-account-document-form-inputs_4.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-BfmeLSXP.js → check-pkg-version-BNVGE27p.js} +1 -1
- package/dist/cjs/{checkout.store-Cn3Jj5gi.js → checkout.store-CV_fuGQw.js} +0 -1
- package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number.cjs.entry.js +2 -2
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/form-control-select_2.cjs.entry.js +2 -2
- package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +8 -8
- package/dist/cjs/justifi-business-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout-summary_6.cjs.entry.js +12 -99
- package/dist/cjs/justifi-checkout.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +2 -2
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payout-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +2 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +3 -3
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +3 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-CuNDvHTB.js → package-BKILqyp3.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +8 -8
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +1 -1
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +1 -1
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/terminals-list-core.cjs.entry.js +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/modular-checkout/modular-checkout.js +5 -92
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
- 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 +2 -2
- package/dist/collection/store/checkout.store.js +0 -1
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/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-skeleton.js +1 -1
- package/dist/docs.json +1 -463
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/{badge-D4ZXPFjL.js → badge-D_mzXSCQ.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +5 -5
- package/dist/esm/bank-account-form.entry.js +2 -2
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{button-C0wLsDP3.js → button-CeR8qVS3.js} +1 -1
- package/dist/esm/card-form.entry.js +2 -2
- package/dist/esm/{check-pkg-version-BuYkk-jV.js → check-pkg-version-CaWUVat7.js} +1 -1
- package/dist/esm/{checkout.store-OAv_iY1u.js → checkout.store-B60siz2l.js} +0 -1
- package/dist/esm/checkouts-list-core.entry.js +5 -5
- package/dist/esm/{checkouts-table-DjGKtqoc.js → checkouts-table-CFZYoYjn.js} +2 -2
- package/dist/esm/custom-popper_2.entry.js +3 -3
- 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-Bzfs_rxk.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-ueLctOBN.js → form-control-help-text-C39ZW65w.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
- package/dist/esm/form-control-monetary.entry.js +5 -5
- package/dist/esm/form-control-number-masked_2.entry.js +4 -4
- 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_2.entry.js +4 -4
- package/dist/esm/gross-payment-chart-core.entry.js +3 -3
- package/dist/esm/{header-1-BMKEv9y6.js → header-1-E-hEi3wF.js} +1 -1
- package/dist/esm/{header-3-C3t3m27b.js → header-3-Dm7M85kz.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +7 -7
- package/dist/esm/{insurance-state-d4hjThzE.js → insurance-state-CB4l8sOv.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +3 -3
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +2 -2
- package/dist/esm/justifi-additional-statement_8.entry.js +1 -1
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +12 -12
- package/dist/esm/justifi-business-details.entry.js +4 -4
- package/dist/esm/justifi-business-form.entry.js +6 -6
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-checkout-summary_6.entry.js +16 -103
- package/dist/esm/justifi-checkout.entry.js +4 -4
- package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
- package/dist/esm/justifi-checkouts-list.entry.js +5 -5
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +2 -2
- package/dist/esm/justifi-dispute-notification_3.entry.js +5 -5
- package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
- package/dist/esm/justifi-order-terminals.entry.js +5 -5
- package/dist/esm/justifi-owner-form_3.entry.js +2 -2
- package/dist/esm/justifi-payment-details.entry.js +4 -4
- package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +2 -2
- package/dist/esm/justifi-payment-transactions-list.entry.js +6 -6
- package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +7 -7
- package/dist/esm/justifi-payout-details.entry.js +4 -4
- package/dist/esm/justifi-payout-transactions-list.entry.js +6 -6
- package/dist/esm/justifi-payouts-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payouts-list.entry.js +7 -7
- package/dist/esm/justifi-refund-payment.entry.js +5 -5
- package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +6 -6
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list.entry.js +6 -6
- package/dist/esm/justifi-terminals-list-filters.entry.js +2 -2
- package/dist/esm/justifi-terminals-list.entry.js +6 -6
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-C60pS6qh.js → package-BF-uL8B4.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-RvUQ__Pq.js → parts-CfF8KKwx.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +13 -13
- package/dist/esm/payment-method-option.entry.js +2 -2
- package/dist/esm/payments-list-core.entry.js +7 -7
- package/dist/esm/{payments-status-1yRdTNeS.js → payments-status-XoZrlbiZ.js} +1 -1
- package/dist/esm/{payments-table-8RADYkma.js → payments-table-Dh4P9mTb.js} +2 -2
- package/dist/esm/payout-details-core.entry.js +9 -9
- package/dist/esm/payouts-list-core.entry.js +7 -7
- package/dist/esm/{payouts-status-BqsQVtBp.js → payouts-status-Qm2jZG1-.js} +1 -1
- package/dist/esm/{payouts-table-DPw7yIx8.js → payouts-table-DMVAZp-r.js} +2 -2
- package/dist/esm/{skeleton-BmTjpTYa.js → skeleton-DrHwsgs_.js} +1 -1
- package/dist/esm/{spinner-YGDOI-CS.js → spinner-XBq6mVJW.js} +1 -1
- package/dist/esm/table-filters-menu.entry.js +2 -2
- package/dist/esm/{table-ybHxxc9f.js → table-qqt2Ew5y.js} +2 -2
- package/dist/esm/terminal-orders-list-core.entry.js +6 -6
- package/dist/esm/{terminal-orders-table-D-xP5WuM.js → terminal-orders-table-BN4Co4T8.js} +2 -2
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/terminals-list-core.entry.js +6 -6
- package/dist/esm/{terminals-table-DVAPCgEr.js → terminals-table-C8LczeG_.js} +2 -2
- package/dist/esm/{utils-DG5aMFmf.js → utils-kWaZhFAd.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/bank-account.js +2 -2
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout.store.js +0 -1
- package/dist/module/custom-popper2.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 +2 -2
- package/dist/module/form-control-number.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-order-terminals.js +1 -1
- package/dist/module/justifi-payment-transactions-list.js +1 -1
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-transactions-list.js +1 -1
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +1 -1
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +2 -2
- package/dist/module/justifi-terminal-orders-list.js +1 -1
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +1 -1
- package/dist/module/modular-checkout.js +5 -92
- package/dist/module/package.js +1 -1
- package/dist/module/payment-details-core2.js +8 -8
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payments-list-core2.js +1 -1
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payouts-list-core2.js +1 -1
- package/dist/module/summary.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminals-list-core2.js +1 -1
- package/dist/module/tokenize-payment-method.js +2 -2
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +0 -8
- package/dist/types/components.d.ts +0 -120
- package/dist/types/store/checkout.store.d.ts +0 -1
- package/dist/webcomponents/{p-dc245644.entry.js → p-0b790fa4.entry.js} +4 -4
- package/dist/webcomponents/{p-0e64cd09.entry.js → p-0cab7d5d.entry.js} +1 -1
- package/dist/webcomponents/{p-cbfc8269.entry.js → p-0e287092.entry.js} +1 -1
- package/dist/webcomponents/{p-59e8f027.entry.js → p-145bb9c4.entry.js} +1 -1
- package/dist/webcomponents/{p-cabaf013.entry.js → p-14d66df2.entry.js} +1 -1
- package/dist/webcomponents/{p-a406bf1a.entry.js → p-15777cfe.entry.js} +1 -1
- package/dist/webcomponents/p-1975406a.entry.js +1 -0
- package/dist/webcomponents/{p-387bcdee.entry.js → p-1ffbf771.entry.js} +1 -1
- package/dist/webcomponents/{p-7b9fa1fb.entry.js → p-29b6f15a.entry.js} +1 -1
- package/dist/webcomponents/p-2a59547b.entry.js +1 -0
- package/dist/webcomponents/p-2da63719.entry.js +1 -0
- package/dist/webcomponents/{p-fbaf62a5.entry.js → p-35bbfbf8.entry.js} +1 -1
- package/dist/webcomponents/{p-b04cc606.entry.js → p-3d85d046.entry.js} +1 -1
- package/dist/webcomponents/{p-ea1b161a.entry.js → p-413236be.entry.js} +1 -1
- package/dist/webcomponents/{p-0aee6da6.entry.js → p-43d693a3.entry.js} +1 -1
- package/dist/webcomponents/{p-03c7cee8.entry.js → p-48bccf3b.entry.js} +1 -1
- package/dist/webcomponents/p-4ae2a0b9.entry.js +1 -0
- package/dist/webcomponents/p-4b795b77.entry.js +1 -0
- package/dist/webcomponents/{p-2169c3d1.entry.js → p-518a9519.entry.js} +1 -1
- package/dist/webcomponents/{p-a1a8f6bd.entry.js → p-53c81d62.entry.js} +1 -1
- package/dist/webcomponents/p-5477c449.entry.js +1 -0
- package/dist/webcomponents/p-56980ef3.entry.js +1 -0
- package/dist/webcomponents/{p-a9d2dd5e.entry.js → p-57143978.entry.js} +1 -1
- package/dist/webcomponents/p-614fcef6.entry.js +1 -0
- package/dist/webcomponents/{p-5ad70aae.entry.js → p-6e18d13f.entry.js} +1 -1
- package/dist/webcomponents/p-70ff3b10.entry.js +1 -0
- package/dist/webcomponents/{p-0aa78c58.entry.js → p-724b0361.entry.js} +1 -1
- package/dist/webcomponents/{p-08a5cc2f.entry.js → p-738e0511.entry.js} +1 -1
- package/dist/webcomponents/p-739d6f13.entry.js +1 -0
- package/dist/webcomponents/{p-76a95d07.entry.js → p-79055216.entry.js} +1 -1
- package/dist/webcomponents/{p-42994618.entry.js → p-7b9008f1.entry.js} +1 -1
- package/dist/webcomponents/{p-281e36be.entry.js → p-84ce3bae.entry.js} +1 -1
- package/dist/webcomponents/p-8a5e168d.entry.js +1 -0
- package/dist/webcomponents/{p-cf16498f.entry.js → p-8f31a0c5.entry.js} +1 -1
- package/dist/webcomponents/{p-e8a198fa.entry.js → p-904a95e5.entry.js} +1 -1
- package/dist/webcomponents/{p-4cf9168d.entry.js → p-98579723.entry.js} +1 -1
- package/dist/webcomponents/{p-c7e5245a.entry.js → p-9c5b0b94.entry.js} +1 -1
- package/dist/webcomponents/p-9ccd19f5.entry.js +1 -0
- package/dist/webcomponents/{p-1246b999.entry.js → p-9f289c31.entry.js} +1 -1
- package/dist/webcomponents/p-BC8YDY7M.js +1 -0
- package/dist/webcomponents/p-BF-uL8B4.js +1 -0
- package/dist/webcomponents/{p-BUadwxkh.js → p-BTkXk7ol.js} +1 -1
- package/dist/webcomponents/p-BbYVgLcf.js +1 -0
- package/dist/webcomponents/{p-CP_tg-uH.js → p-BeszVz87.js} +1 -1
- package/dist/webcomponents/{p-wyEq9Pa1.js → p-BisQ61nK.js} +1 -1
- package/dist/webcomponents/{p-HAk7yBNq.js → p-Bz164TKZ.js} +1 -1
- package/dist/webcomponents/p-C1fMfnu0.js +1 -0
- package/dist/webcomponents/{p-BXKEChoo.js → p-CCME-fyU.js} +1 -1
- package/dist/webcomponents/p-C_CXv7AN.js +1 -0
- package/dist/webcomponents/{p-RvUQ__Pq.js → p-CfF8KKwx.js} +1 -1
- package/dist/webcomponents/{p-DBsw4qpn.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-DuXN7Akd.js → p-DO3INvI2.js} +1 -1
- package/dist/webcomponents/{p-D9Sv4eV5.js → p-DWOKxG7j.js} +1 -1
- package/dist/webcomponents/{p-BhdBpAn9.js → p-Dvxpy_P1.js} +1 -1
- package/dist/webcomponents/{p-D48iERjQ.js → p-JgbsbAhz.js} +1 -1
- package/dist/webcomponents/{p-nWGo6sHu.js → p-YND5pTuF.js} +1 -1
- package/dist/webcomponents/{p-bfc38bc2.entry.js → p-a0573ecc.entry.js} +1 -1
- package/dist/webcomponents/p-a33ea645.entry.js +1 -0
- package/dist/webcomponents/{p-4c994761.entry.js → p-a8205044.entry.js} +1 -1
- package/dist/webcomponents/{p-c6860f60.entry.js → p-b0bfa20f.entry.js} +1 -1
- package/dist/webcomponents/{p-1202181b.entry.js → p-b93377a7.entry.js} +1 -1
- package/dist/webcomponents/p-ba018d57.entry.js +1 -0
- package/dist/webcomponents/{p-d014a155.entry.js → p-bafe873d.entry.js} +1 -1
- package/dist/webcomponents/p-be06d86a.entry.js +1 -0
- package/dist/webcomponents/{p-4a79c737.entry.js → p-befda39d.entry.js} +1 -1
- package/dist/webcomponents/{p-afc83e27.entry.js → p-c5b48e8d.entry.js} +1 -1
- package/dist/webcomponents/{p-92efb3f2.entry.js → p-c5dabaf4.entry.js} +1 -1
- package/dist/webcomponents/p-cea8e40e.entry.js +1 -0
- package/dist/webcomponents/p-d075bd72.entry.js +1 -0
- package/dist/webcomponents/{p-1a83d9f2.entry.js → p-d7720819.entry.js} +1 -1
- package/dist/webcomponents/p-df4f2af9.entry.js +1 -0
- package/dist/webcomponents/p-e1ba5735.entry.js +1 -0
- package/dist/webcomponents/{p-e6ca1872.entry.js → p-e2267656.entry.js} +1 -1
- package/dist/webcomponents/p-e4e30e84.entry.js +1 -0
- package/dist/webcomponents/{p-55b7bdba.entry.js → p-e81c5d79.entry.js} +1 -1
- package/dist/webcomponents/p-f200cbda.entry.js +1 -0
- package/dist/webcomponents/p-f4645aef.entry.js +1 -0
- package/dist/webcomponents/{p-a70bc148.entry.js → p-f4f3cae8.entry.js} +1 -1
- package/dist/webcomponents/p-f7345d66.entry.js +1 -0
- package/dist/webcomponents/{p-1b892b3a.entry.js → p-f7e62bfa.entry.js} +1 -1
- package/dist/webcomponents/{p-32cc081a.entry.js → p-fd39af50.entry.js} +1 -1
- package/dist/webcomponents/{p-C0AHrswP.js → p-qMrd7_Gp.js} +1 -1
- package/dist/webcomponents/{p-DKRXPZKS.js → p-vRhNRfmB.js} +1 -1
- package/dist/webcomponents/p-zrUQD0Wr.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/justifi-apple-pay.cjs.entry.js +0 -830
- package/dist/collection/api/ApplePay.js +0 -119
- package/dist/collection/api/services/apple-pay.service.js +0 -329
- 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/ui-components/apple-pay-button.js +0 -146
- package/dist/esm/justifi-apple-pay.entry.js +0 -828
- package/dist/module/justifi-apple-pay.d.ts +0 -11
- package/dist/module/justifi-apple-pay.js +0 -871
- package/dist/types/api/ApplePay.d.ts +0 -196
- package/dist/types/api/services/apple-pay.service.d.ts +0 -65
- 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/ui-components/apple-pay-button.d.ts +0 -17
- package/dist/webcomponents/p-12c312a0.entry.js +0 -1
- package/dist/webcomponents/p-1c0c1d7b.entry.js +0 -1
- package/dist/webcomponents/p-1e206c92.entry.js +0 -1
- package/dist/webcomponents/p-2988e82c.entry.js +0 -1
- package/dist/webcomponents/p-2a0a907d.entry.js +0 -1
- package/dist/webcomponents/p-41416b5f.entry.js +0 -1
- package/dist/webcomponents/p-5510b57c.entry.js +0 -1
- package/dist/webcomponents/p-5a5f07be.entry.js +0 -1
- package/dist/webcomponents/p-5acd6add.entry.js +0 -1
- package/dist/webcomponents/p-5afbfafb.entry.js +0 -1
- package/dist/webcomponents/p-6974a44c.entry.js +0 -1
- package/dist/webcomponents/p-6f2b41f5.entry.js +0 -1
- package/dist/webcomponents/p-6f9755cc.entry.js +0 -1
- package/dist/webcomponents/p-7288473f.entry.js +0 -1
- package/dist/webcomponents/p-98939b74.entry.js +0 -1
- package/dist/webcomponents/p-BZzESzqz.js +0 -1
- package/dist/webcomponents/p-BmFoKOM3.js +0 -1
- package/dist/webcomponents/p-BtOB_CaO.js +0 -1
- package/dist/webcomponents/p-C60pS6qh.js +0 -1
- package/dist/webcomponents/p-D7eeJWA-.js +0 -1
- package/dist/webcomponents/p-DOd8HaWV.js +0 -1
- package/dist/webcomponents/p-DcE8SQPv.js +0 -1
- package/dist/webcomponents/p-Drz6LnIw.js +0 -1
- package/dist/webcomponents/p-b41d2b8f.entry.js +0 -1
- package/dist/webcomponents/p-b8f63e28.entry.js +0 -1
- package/dist/webcomponents/p-ba84c3bd.entry.js +0 -1
- package/dist/webcomponents/p-c62e23c1.entry.js +0 -1
- package/dist/webcomponents/p-eff0b0e9.entry.js +0 -1
- package/dist/webcomponents/p-f3be7b2b.entry.js +0 -1
- package/dist/webcomponents/p-f787bc18.entry.js +0 -1
- package/dist/webcomponents/p-fb1904d2.entry.js +0 -1
- package/dist/webcomponents/p-fcb6e870.entry.js +0 -1
|
@@ -98,10 +98,10 @@ const FileInput = class {
|
|
|
98
98
|
return part;
|
|
99
99
|
}
|
|
100
100
|
render() {
|
|
101
|
-
return (index.h(index.Host, { key: '
|
|
101
|
+
return (index.h(index.Host, { key: 'e157eea9bc728b97b8f61cc4da004756e663bc32' }, index.h("div", { key: '046f70cf63cd6724b4d42c13a7366a443f33c384', class: "form-group d-flex flex-column" }, index.h("div", { key: 'a121a7eb6229c423cfd4949b8f4af6b6140316c4', class: "d-flex align-items-start gap-2" }, index.h("label", { key: 'a885e1e8d0b0f71299c88446bfc29a546016e543', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '039c26c916c18969c17cdb4f3950c679811b5880', helpText: this.helpText })), index.h("input", { key: 'b3a20a82acd6fcbc3f61b8a72865b53e5c05b70b', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
102
102
|
this.isFocused = false;
|
|
103
103
|
this.formControlBlur.emit();
|
|
104
|
-
} }), index.h(formControlErrorText.FormControlErrorText, { key: '
|
|
104
|
+
} }), index.h(formControlErrorText.FormControlErrorText, { key: '8a1b494b2fae5e8f3c3732773c1e64f28a9c4040', errorText: this.errorText, name: this.name }))));
|
|
105
105
|
}
|
|
106
106
|
get el() { return index.getElement(this); }
|
|
107
107
|
};
|
|
@@ -1875,7 +1875,7 @@ const CustomPopper = class {
|
|
|
1875
1875
|
this.hideEvent.emit();
|
|
1876
1876
|
}
|
|
1877
1877
|
render() {
|
|
1878
|
-
return (index.h("div", { key: '
|
|
1878
|
+
return (index.h("div", { key: 'fa3e4321b61261759f0e180e61bdae9fc5f73944' }, index.h("style", { key: '1b543c604267f05bd47d7f2a1997e03051f4ab7c' }, `
|
|
1879
1879
|
.popper-content {
|
|
1880
1880
|
display: none;
|
|
1881
1881
|
}
|
|
@@ -1883,7 +1883,7 @@ const CustomPopper = class {
|
|
|
1883
1883
|
display: block;
|
|
1884
1884
|
z-index: 1030;
|
|
1885
1885
|
}
|
|
1886
|
-
`), index.h("div", { key: '
|
|
1886
|
+
`), index.h("div", { key: '06ef5a6d7f4f9583c683647641eecfda0bf41626', class: "popper-content", ref: (el) => this.popperContentRef = el }, index.h("slot", { key: '1d3edcdab5f2cbeeb77b6166521c6f54543ebf7c' }))));
|
|
1887
1887
|
}
|
|
1888
1888
|
};
|
|
1889
1889
|
|
|
@@ -39,10 +39,10 @@ const CheckboxInput = class {
|
|
|
39
39
|
return parts.inputCheckbox;
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (index.h(index.Host, { key: '
|
|
42
|
+
return (index.h(index.Host, { key: '4fb0d856e58021192e396f7dae287b99c77bd791' }, index.h("div", { key: '5007f605183d706f3376a39a7b7ec7d525d6b39e', class: 'form-group d-flex flex-column' }, index.h("div", { key: '86fc70ca655ce4f3dd606ae1ce6f68e6d38aad87', class: "form-check" }, index.h("input", { key: 'fd60081db4f79fcd83beb98eebcf03d941895546', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
43
43
|
this.isFocused = false;
|
|
44
44
|
this.formControlBlur.emit();
|
|
45
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), index.h("label", { key: '
|
|
45
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), index.h("label", { key: '8af1e51c951aff7765a2f4b01d7a3870b5c83869', class: "form-check-label", htmlFor: this.name, part: parts.label }, this.label)), index.h(formControlHelpText.FormControlHelpText, { key: 'a197c2558d6745bc91b4cdee752b11c4f750f024', helpText: this.helpText, name: this.name }), index.h(formControlErrorText.FormControlErrorText, { key: 'c12c67f283dfffb42c7a3a947e3dfc7ac40b13ec', errorText: this.errorText, name: this.name }))));
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
48
|
|
|
@@ -49,10 +49,10 @@ const DateInput = class {
|
|
|
49
49
|
return part;
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (index.h(index.Host, { key: '
|
|
52
|
+
return (index.h(index.Host, { key: 'fec9b5747b18a685be748d7d54297b6e9e169289' }, index.h("div", { key: '78cfd327c0efef8e5a5efdd21f54bac56fc88251', class: "form-group d-flex flex-column" }, index.h("div", { key: 'bfbb716509fef6189d8c48147a794ca5934807bb', class: "d-flex gap-2" }, index.h("label", { key: '655c4c941dcffff5692c1c2391a17fc8db4de2c4', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: 'a738c14fc219bd450920a493e7ecdac8e2e42c22', helpText: this.helpText })), index.h("input", { key: '4c0a532ac2da38dfc038691c90ac0fc937e14c49', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
53
53
|
this.isFocused = false;
|
|
54
54
|
this.formControlBlur.emit();
|
|
55
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), index.h(formControlErrorText.FormControlErrorText, { key: '
|
|
55
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), index.h(formControlErrorText.FormControlErrorText, { key: '88fde8e90d540a3bf769fc1b1f400b6a31ac3e8b', errorText: this.errorText, name: this.name }))));
|
|
56
56
|
}
|
|
57
57
|
static get watchers() { return {
|
|
58
58
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -11,7 +11,7 @@ const FileInput = class {
|
|
|
11
11
|
this.formControlBlur = index.createEvent(this, "formControlBlur");
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (index.h(index.Host, { key: '
|
|
14
|
+
return (index.h(index.Host, { key: 'fdfbffe4afa13884ed2dfcad7ac7aae2cc5d1466', exportparts: "label,input,input-invalid" }, index.h("div", { key: 'a40217b361515dc473840238f6de75becd846add', class: "form-group d-flex flex-column" }, index.h("div", { key: '148ff9bca27e1b1f3ef905c81ff31af5de3feb08', class: "d-flex align-items-start gap-2" }, index.h("label", { key: 'bbe1b2af670827ebd3ea2ca7c6b1ae616d2c0aa4', part: "label", class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: 'c6092aa758205b4c9f3c389980183f28d56f86ef', helpText: this.helpText })), index.h("input", { key: '18d3595c9eb579c84d6373237fcea037d095d4c5', type: "file", name: this.name, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? "input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onBlur: () => this.formControlBlur.emit(), onChange: () => this.errorText = "" }), index.h(formControlErrorText.FormControlErrorText, { key: 'bc48d8fd8c489507303b66745161963d31ddb84d', errorText: this.errorText, name: this.name }))));
|
|
15
15
|
}
|
|
16
16
|
get el() { return index.getElement(this); }
|
|
17
17
|
};
|
|
@@ -57,10 +57,10 @@ const TextInput = class {
|
|
|
57
57
|
return parts.input;
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
|
-
return (index.h(index.Host, { key: '
|
|
60
|
+
return (index.h(index.Host, { key: 'e88e4c0a4206046607c1e4c30777017881a8dd80' }, index.h("div", { key: 'eb712fe05c4e6a51a68d57b9d11742bf23dc5b5d', class: "form-group d-flex flex-column" }, index.h("label", { key: '6a4c5c62c94fe0d3695af529660c4a0d0287cc8f', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("textarea", { key: '76e0681514be96eb581074d8382b7577b62ada5f', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
61
61
|
this.isFocused = false;
|
|
62
62
|
this.formControlBlur.emit();
|
|
63
|
-
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), index.h("form-control-help-text", { key: '
|
|
63
|
+
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), index.h("form-control-help-text", { key: '81cb12aa1552e90df24e073a9a2cc5ac669ed89a', helpText: this.helpText, name: this.name }), index.h("form-control-error-text", { key: '1f7999d157fff74502fe16379d55733106bdc4f7', errorText: this.errorText, name: this.name }))));
|
|
64
64
|
}
|
|
65
65
|
get el() { return index.getElement(this); }
|
|
66
66
|
static get watchers() { return {
|
|
@@ -51,10 +51,10 @@ const MonetaryInput = class {
|
|
|
51
51
|
return parts.input;
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (index.h(index.Host, { key: '
|
|
54
|
+
return (index.h(index.Host, { key: '0e31cb58a7b3560cea88bc515b55e787d6be0a71' }, index.h("div", { key: 'd0ad28b761a1fb95b5e446684eb77d25202908fd', class: "form-group d-flex flex-column" }, index.h("label", { key: 'f075865f14b8697838454c3da270e974e19b0bb4', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h(formControlHelpText.FormControlHelpText, { key: '4835ba829efc4d65ec93f8c406c56635f3fb55e9', name: this.name, helpText: this.helpText }), index.h("div", { key: '88394d95831cf79a9f6d68ed824e2f0f28e5c4b3', class: "input-group" }, index.h("span", { key: 'c0f56328b5330230114cbc6dbec2ff5ab50fa6fa', class: "input-group-text", part: parts.inputAdornment }, "$"), index.h("input", { key: '615dee630e13fc603bcf0020588ea89a8006fe97', ref: el => this.formControl = el, id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
55
55
|
this.isFocused = false;
|
|
56
56
|
this.formControlBlur.emit();
|
|
57
|
-
}, onInput: (event) => this.updateInput(event.target.value), onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.inputPart, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled })), index.h(formControlErrorText.FormControlErrorText, { key: '
|
|
57
|
+
}, onInput: (event) => this.updateInput(event.target.value), onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.inputPart, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled })), index.h(formControlErrorText.FormControlErrorText, { key: 'cb2c4f53cc3bdc3b83302b30cb6087cac33e7a95', errorText: this.errorText, name: this.name }))));
|
|
58
58
|
}
|
|
59
59
|
static get watchers() { return {
|
|
60
60
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -70,10 +70,10 @@ const NumberInputMasked = class {
|
|
|
70
70
|
return parts.input;
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
|
-
return (index.h(index.Host, { key: '
|
|
73
|
+
return (index.h(index.Host, { key: '7e2cbd8676a4513170e1c920fafffeae4cc042f2' }, index.h("div", { key: 'bde27be5dfe86c5c820f46263ec73f014f8a628a', class: "form-group d-flex flex-column" }, index.h("div", { key: 'bee2a81a0b23aafbb522debac5697dbc4eaaf7bc', class: "d-flex align-items-start gap-2" }, index.h("label", { key: '1d43eb5e7167cba5ef63439e6807deef35f7c2ea', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: 'aadef33688848d580ec6b369528165480c61bc49', helpText: this.helpText })), index.h("input", { key: 'a57624c146db1bf54ce73853f6c0514042335502', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => (this.isFocused = true), onBlur: () => {
|
|
74
74
|
this.isFocused = false;
|
|
75
75
|
this.formControlBlur.emit();
|
|
76
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), index.h(formControlErrorText.FormControlErrorText, { key: '
|
|
76
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), index.h(formControlErrorText.FormControlErrorText, { key: '56be93f77b87e7a4ced570d8d12c94f3864083a5', errorText: this.errorText, name: this.name }))));
|
|
77
77
|
}
|
|
78
78
|
static get watchers() { return {
|
|
79
79
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -44,10 +44,10 @@ const NumberInput = class {
|
|
|
44
44
|
return parts.input;
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (index.h(index.Host, { key: '
|
|
47
|
+
return (index.h(index.Host, { key: '1d13bdff56070e4d188779f07081dcf2a4031f02' }, index.h("div", { key: 'e1324de4cd2b183e3674eb5b182a7d51d8a6e571', class: 'form-group d-flex flex-column' }, index.h("label", { key: 'fea8787bc32e452c1ba339fee15be3cebd274d97', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("input", { key: 'adc992f81d060ae9317995fbf728cf0d188fd747', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
48
48
|
this.isFocused = false;
|
|
49
49
|
this.formControlBlur.emit();
|
|
50
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), index.h(formControlHelpText.FormControlHelpText, { key: '
|
|
50
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), index.h(formControlHelpText.FormControlHelpText, { key: '50db62ad988d180660df8b4cf8aad2a97ad341ba', helpText: this.helpText, name: this.name }), index.h(formControlErrorText.FormControlErrorText, { key: '41a8e98a776d0e265d5b7febce941e741eaa1a6c', errorText: this.errorText, name: this.name }))));
|
|
51
51
|
}
|
|
52
52
|
get el() { return index.getElement(this); }
|
|
53
53
|
static get watchers() { return {
|
|
@@ -32,10 +32,10 @@ const RadioInput = class {
|
|
|
32
32
|
return parts.inputRadio;
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (index.h(index.Host, { key: '
|
|
35
|
+
return (index.h(index.Host, { key: 'a22020f52ab144e24df5d8b66e1e4a2e96a46118', class: 'form-group d-flex flex-column' }, index.h("div", { key: '92e094809b59818298423b9e239cab73757c4361', class: "form-check" }, index.h("input", { key: 'f86decea91a82284fdda6916c342e8921df9dbc7', ref: el => (this.radioElement = el), type: "radio", id: `${this.name}-${this.value}`, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
36
36
|
this.isFocused = false;
|
|
37
37
|
this.formControlBlur.emit();
|
|
38
|
-
}, onChange: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, value: this.value, checked: this.checked }), index.h("label", { key: '
|
|
38
|
+
}, onChange: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, value: this.value, checked: this.checked }), index.h("label", { key: 'd7abd665cf385ab45f154c2607ad8732f5d778f2', class: "form-check-label", htmlFor: `${this.name}-${this.value}`, part: parts.label }, this.label)), index.h("form-control-help-text", { key: '2c495cb8c25c1984addbcdcb8899823aa2db64a5', helpText: this.helpText, name: this.name }), index.h("form-control-error-text", { key: '136d3defc1f11627d0eeb4d202f4938b5e0cbde3', errorText: this.errorText, name: this.name })));
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
|
|
@@ -90,10 +90,10 @@ const TextInput = class {
|
|
|
90
90
|
return parts.input;
|
|
91
91
|
}
|
|
92
92
|
render() {
|
|
93
|
-
return (index.h(index.Host, { key: '
|
|
93
|
+
return (index.h(index.Host, { key: '51f427955047c079bcd4277ce54f27168d6c3e14' }, index.h("div", { key: '3724cd9797feb1b383e031a3509dfc365a4d1dc0', class: "form-group d-flex flex-column" }, index.h("div", { key: '883b87e2e1ddf1eb3956fd232ab7c7239a9ee08f', class: "d-flex align-items-start gap-2" }, index.h("label", { key: '7d8acb9db3c54034fff1d310555ed15d039c8ab4', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '70c94e2dea56b70ae3e6e6fae86127ee366fa1a2', helpText: this.helpText })), index.h("input", { key: 'af0adb1ba6ac16dcd8c39a45c8c44f6bd41c9ab9', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
94
94
|
this.isFocused = false;
|
|
95
95
|
this.formControlBlur.emit();
|
|
96
|
-
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), index.h(formControlErrorText.FormControlErrorText, { key: '
|
|
96
|
+
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), index.h(formControlErrorText.FormControlErrorText, { key: 'd393476376fa8f749b4e54a35da2586a878da4bd', errorText: this.errorText, name: this.name }))));
|
|
97
97
|
}
|
|
98
98
|
get el() { return index.getElement(this); }
|
|
99
99
|
static get watchers() { return {
|
|
@@ -5,7 +5,7 @@ var index = require('./index-Yd9aLenr.js');
|
|
|
5
5
|
var parts = require('./parts-9jMf1erK.js');
|
|
6
6
|
var _commonjsHelpers = require('./_commonjsHelpers-BJu3ubxk.js');
|
|
7
7
|
var formControlErrorText = require('./form-control-error-text-HM0zQerh.js');
|
|
8
|
-
var _package = require('./package-
|
|
8
|
+
var _package = require('./package-BKILqyp3.js');
|
|
9
9
|
|
|
10
10
|
const iframeInputStylesStore = index.createStore({
|
|
11
11
|
focused: {
|
|
@@ -100,7 +100,7 @@ const HiddenInput = class {
|
|
|
100
100
|
return parts.input;
|
|
101
101
|
}
|
|
102
102
|
render() {
|
|
103
|
-
return (index$1.h(index$1.Host, { key: '
|
|
103
|
+
return (index$1.h(index$1.Host, { key: '4d650e7de7ed14c4483608412b6e2012b16de0d1' }, index$1.h("input", { key: 'bddc32a79593dc42a1edda6f982562b2399319e0', ref: el => this.hiddenInput = el, type: "text", class: this.errorText ? "form-control is-invalid" : "form-control", onFocus: () => this.isFocused = true, onBlur: () => this.isFocused = false, part: this.part, tabindex: "-1", style: { height: '0', opacity: '0', pointerEvents: 'none', animation: 'none' } })));
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
106
|
|
|
@@ -1715,10 +1715,10 @@ const IframeInput = class {
|
|
|
1715
1715
|
return params;
|
|
1716
1716
|
}
|
|
1717
1717
|
render() {
|
|
1718
|
-
return (index$1.h(index$1.Host, { key: '
|
|
1718
|
+
return (index$1.h(index$1.Host, { key: 'ecbbcb6efd1855e0f89c66b8878f93a1f98a103d', class: "form-group d-flex flex-column" }, index$1.h("div", { key: '9e57bb4eacca52cc7a77fcb044d3ef7036acaca2', style: {
|
|
1719
1719
|
visibility: this.iframeLoaded ? 'visible' : 'hidden',
|
|
1720
1720
|
height: this.iframeLoaded ? 'auto' : '0',
|
|
1721
|
-
} }, index$1.h("label", { key: '
|
|
1721
|
+
} }, index$1.h("label", { key: '91c717d727068698244692d607e1959116d6a72d', class: "form-label", htmlFor: "", part: parts.label }, this.label || ''), index$1.h("div", { key: '1b655b4939a6c74088dbc6d58346d91aa4c0b1f1', class: `p-0 d-flex form-control ${this.isValid ? '' : 'is-invalid'}`, part: this.part, style: Object.assign(Object.assign({}, this.style), { overflow: 'hidden' }) }, index$1.h("iframe", { key: 'f46944026ae45f6ff71638adb52dc2ca716adb28', id: this.inputId, name: this.inputId, src: `${this.iframeOrigin}?${this.urlParams}`, ref: el => {
|
|
1722
1722
|
this.iframeElement = el;
|
|
1723
1723
|
this.initializeFrameCommunicationService();
|
|
1724
1724
|
}, width: "100%", onLoad: () => {
|
|
@@ -1728,7 +1728,7 @@ const IframeInput = class {
|
|
|
1728
1728
|
this.iframeLoaded.emit();
|
|
1729
1729
|
}
|
|
1730
1730
|
}, this.iframeElement);
|
|
1731
|
-
} })), index$1.h(formControlErrorText.FormControlErrorText, { key: '
|
|
1731
|
+
} })), index$1.h(formControlErrorText.FormControlErrorText, { key: 'cbcdd23b9de6a26a3d183af48a45caacc674a3c7', errorText: this.errorText, name: this.inputId }))));
|
|
1732
1732
|
}
|
|
1733
1733
|
get el() { return index$1.getElement(this); }
|
|
1734
1734
|
};
|
|
@@ -7,18 +7,18 @@ var parts = require('./parts-9jMf1erK.js');
|
|
|
7
7
|
var styledHost = require('./styled-host-CqQYxX-w.js');
|
|
8
8
|
require('./event-types-YOY5TKUN.js');
|
|
9
9
|
var skeleton = require('./skeleton-x-GSs3xk.js');
|
|
10
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
10
|
+
var checkPkgVersion = require('./check-pkg-version-BNVGE27p.js');
|
|
11
11
|
var configState = require('./config-state-5xZf-jax.js');
|
|
12
12
|
var header3 = require('./header-3-D9Wa0IfT.js');
|
|
13
13
|
var utils = require('./utils-DAyWinG2.js');
|
|
14
14
|
var stateOptions = require('./state-options-CIT9xdTz.js');
|
|
15
15
|
var button = require('./button-CfVQSysQ.js');
|
|
16
|
-
var checkout_store = require('./checkout.store-
|
|
16
|
+
var checkout_store = require('./checkout.store-CV_fuGQw.js');
|
|
17
17
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
18
18
|
require('./business-form-options-CMII7nIK.js');
|
|
19
19
|
require('./Business-DCRzZf0w.js');
|
|
20
20
|
require('./helpers-B5OCqlIM.js');
|
|
21
|
-
require('./package-
|
|
21
|
+
require('./package-BKILqyp3.js');
|
|
22
22
|
require('./Api-CPuq_15r.js');
|
|
23
23
|
require('./utils-BaGF9XIe.js');
|
|
24
24
|
require('./dinero-BwNN_k7x.js');
|
|
@@ -155,10 +155,10 @@ const BankAccountForm = class {
|
|
|
155
155
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
156
156
|
}
|
|
157
157
|
render() {
|
|
158
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
158
|
+
return (index.h(styledHost.StyledHost, { key: '747d0bd674b599caae42830991744c3fae14e803' }, index.h(BankAccountFormSkeleton, { key: '003f7e171314684a54a6cae032741b9eb8cf6491', isReady: this.isReady }), index.h("hidden-input", { key: '6ba383c713664e59d4abd2ecc4275596d4632be5' }), index.h("div", { key: '81546cb09ecaec5f50c57e78d95714e6715cf019', class: "container-fluid p-0", style: {
|
|
159
159
|
opacity: this.isReady ? '1' : '0',
|
|
160
160
|
height: this.isReady ? 'auto' : '0',
|
|
161
|
-
} }, index.h("div", { key: '
|
|
161
|
+
} }, index.h("div", { key: '21257886a4cd3667bf92b94de93f9f6d856c42f5', class: "row mb-3" }, index.h("iframe-input", { key: '80102dd11c42053e8b7b9b4d3f586d28400e759f', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), index.h("div", { key: 'b513ba0b350c390e554dd6d30acf636dc9bddff3', class: "row" }, index.h("iframe-input", { key: '8929a99c7fbe37148416295d92018a6291cbc9e6', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
|
|
162
162
|
}
|
|
163
163
|
};
|
|
164
164
|
|
|
@@ -239,7 +239,7 @@ const JustifiButton = class {
|
|
|
239
239
|
this.type = 'button';
|
|
240
240
|
}
|
|
241
241
|
render() {
|
|
242
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
242
|
+
return (index.h(styledHost.StyledHost, { key: '56c3098559d728e326c9d76276f2e54bfb8b6697' }, index.h(button.Button, { key: '56d123ed4bc90972e8bcd8ad00e5942819998bed', variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, class: this.class, type: this.type, disabled: this.disabled, style: this.customStyle }, this.text)));
|
|
243
243
|
}
|
|
244
244
|
};
|
|
245
245
|
|
|
@@ -338,10 +338,10 @@ const JustifiCardForm = class {
|
|
|
338
338
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
339
339
|
}
|
|
340
340
|
render() {
|
|
341
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
341
|
+
return (index.h(styledHost.StyledHost, { key: '4aca2e72165125e0ddf34c978c29eca6ae3bded1' }, index.h(CardFormSkeleton, { key: 'bfe670e2a84a1945babf9f0f27ab33387fd3e320', isReady: this.isReady }), index.h("hidden-input", { key: 'ae76e3246979e71ea916109dbba61d041a0434bb' }), index.h("div", { key: '192dee5354b70a59030a7258b4282636a8b0d545', class: "container-fluid p-0", style: {
|
|
342
342
|
opacity: this.isReady ? '1' : '0',
|
|
343
343
|
height: this.isReady ? 'auto' : '0',
|
|
344
|
-
} }, index.h("div", { key: '
|
|
344
|
+
} }, index.h("div", { key: 'edc562e49002e4fc5d59975f2faec7d4cb53e7c4', class: "mb-3" }, index.h("iframe-input", { key: '597cda9d529c3099bf0afe121b62dc425d0199b6', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), index.h("div", { key: '41436372ad92b6bb30be16057340caf56a22c656', class: "row" }, index.h("div", { key: '5ac0a9964db760b293ceba8730e4cdd1ba50382e', class: "col-4 align-content-end" }, index.h("iframe-input", { key: '3b5d4e5c535a3e0e7eaffdf3e1f5afdceac3738c', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), index.h("div", { key: 'd946453b6fa4c99dd9c7f5d64ee7171ebebbb67f', class: "col-4 align-content-end" }, index.h("iframe-input", { key: 'b132330a64b46d6506debf79c87282598c2fbf5a', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), index.h("div", { key: '21b5cfbf2aa6e038dc13910108dcd85c800e09cf', class: "col-4 align-content-end" }, index.h("iframe-input", { key: '4a266eef3d8636b5852a090ee20e6d014296e6dc', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
|
|
345
345
|
}
|
|
346
346
|
};
|
|
347
347
|
|
|
@@ -5,7 +5,7 @@ var utils = require('./utils-Df-pajL7.js');
|
|
|
5
5
|
var business_service = require('./business.service-C3BdUPlm.js');
|
|
6
6
|
var getBusiness = require('./get-business-o5jPq_ME.js');
|
|
7
7
|
var ComponentError = require('./ComponentError-D4OLnOkg.js');
|
|
8
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
8
|
+
var checkPkgVersion = require('./check-pkg-version-BNVGE27p.js');
|
|
9
9
|
require('./parts-9jMf1erK.js');
|
|
10
10
|
require('./Api-CPuq_15r.js');
|
|
11
11
|
require('./config-state-5xZf-jax.js');
|
|
@@ -19,7 +19,7 @@ require('./Business-DCRzZf0w.js');
|
|
|
19
19
|
require('./helpers-B5OCqlIM.js');
|
|
20
20
|
require('./state-options-CIT9xdTz.js');
|
|
21
21
|
require('./utils-DvUQQLmR.js');
|
|
22
|
-
require('./package-
|
|
22
|
+
require('./package-BKILqyp3.js');
|
|
23
23
|
|
|
24
24
|
const BusinessDetails = class {
|
|
25
25
|
constructor(hostRef) {
|
|
@@ -11,7 +11,7 @@ require('./Refund-CqWNG8sx.js');
|
|
|
11
11
|
require('./Pagination-Dediz133.js');
|
|
12
12
|
var Business = require('./Business-DCRzZf0w.js');
|
|
13
13
|
require('./Dispute-CruQTF6_.js');
|
|
14
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
14
|
+
var checkPkgVersion = require('./check-pkg-version-BNVGE27p.js');
|
|
15
15
|
var button = require('./button-CfVQSysQ.js');
|
|
16
16
|
var styledHost = require('./styled-host-CqQYxX-w.js');
|
|
17
17
|
var header1 = require('./header-1-DD41iNlG.js');
|
|
@@ -27,7 +27,7 @@ require('./business-form-options-CMII7nIK.js');
|
|
|
27
27
|
require('./index-Yd9aLenr.js');
|
|
28
28
|
require('./utils-BaGF9XIe.js');
|
|
29
29
|
require('./helpers-B5OCqlIM.js');
|
|
30
|
-
require('./package-
|
|
30
|
+
require('./package-BKILqyp3.js');
|
|
31
31
|
require('./Api-CPuq_15r.js');
|
|
32
32
|
require('./parts-9jMf1erK.js');
|
|
33
33
|
require('./utils-DvUQQLmR.js');
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
var index = require('./index-dm_GlYlb.js');
|
|
4
4
|
var parts = require('./parts-9jMf1erK.js');
|
|
5
5
|
var utils = require('./utils-BaGF9XIe.js');
|
|
6
|
-
var checkout_store = require('./checkout.store-
|
|
6
|
+
var checkout_store = require('./checkout.store-CV_fuGQw.js');
|
|
7
7
|
var styledHost = require('./styled-host-CqQYxX-w.js');
|
|
8
8
|
require('./event-types-YOY5TKUN.js');
|
|
9
9
|
var header1 = require('./header-1-DD41iNlG.js');
|
|
10
10
|
var insuranceState = require('./insurance-state-Cyva9u6S.js');
|
|
11
11
|
var header3 = require('./header-3-D9Wa0IfT.js');
|
|
12
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
12
|
+
var checkPkgVersion = require('./check-pkg-version-BNVGE27p.js');
|
|
13
13
|
require('./config-state-5xZf-jax.js');
|
|
14
14
|
require('./dinero-BwNN_k7x.js');
|
|
15
15
|
var ComponentError = require('./ComponentError-D4OLnOkg.js');
|
|
@@ -21,7 +21,7 @@ var utils$1 = require('./utils-DvUQQLmR.js');
|
|
|
21
21
|
var checkout_service = require('./checkout.service-B0ZmvWwI.js');
|
|
22
22
|
var paymentMethodOptionUtils = require('./payment-method-option-utils-WYHIHy-l.js');
|
|
23
23
|
require('./index-Yd9aLenr.js');
|
|
24
|
-
require('./package-
|
|
24
|
+
require('./package-BKILqyp3.js');
|
|
25
25
|
require('./Api-CPuq_15r.js');
|
|
26
26
|
require('./helpers-B5OCqlIM.js');
|
|
27
27
|
require('./state-options-CIT9xdTz.js');
|
|
@@ -31,7 +31,7 @@ const Summary = class {
|
|
|
31
31
|
index.registerInstance(this, hostRef);
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
34
|
+
return (index.h(styledHost.StyledHost, { key: '74b2a1ebf22f1f7e7cb0cfbbbba8a3f8cd528a6b' }, index.h("section", { key: '6ea0bd41680b937c0ff88aa0f73c1ac4bccee9b9' }, index.h("div", { key: '6ca013f92dbaf076bda9a65c98acdf5c8192b22a' }, index.h("div", { key: '62f166bdc0b47e8cda03ee4d549736aaf336727e', part: parts.text }, checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.paymentDescription), index.h("div", { key: 'c681ecba3bbceac71993833f8861393dc5751b4c' }, index.h("span", { key: '46eaedc091f44c2d3bad94cb6a05098385be8ebc', part: parts.text }, "Total"), "\u00A0", index.h("span", { key: 'ad70de1a38c2c7625562cee3a745a6a61235f4cf', part: parts.text }, utils.formatCurrency(+(checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.totalAmount))))))));
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
|
|
@@ -47,7 +47,7 @@ const Header = class {
|
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
49
|
const HeaderComponent = this.levels[this.level];
|
|
50
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
50
|
+
return (index.h(styledHost.StyledHost, { key: '5113142a64d38ab38fbf95f37e2548501b11d81e' }, index.h(HeaderComponent, { key: 'e28419adc9ac323a1846358efc7ffab98dddec95', text: this.text, class: this.class })));
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
|
|
@@ -113,36 +113,6 @@ const ModularCheckout = class {
|
|
|
113
113
|
this.submitEvent = index.createEvent(this, "submit-event");
|
|
114
114
|
this.paymentMethodChangedEvent = index.createEvent(this, "payment-method-changed");
|
|
115
115
|
this.savePaymentMethod = false;
|
|
116
|
-
this.handleApplePayCompleted = (event) => {
|
|
117
|
-
const { success, token, error } = event.detail;
|
|
118
|
-
if (success && token) {
|
|
119
|
-
this.applePayToken = token;
|
|
120
|
-
// Complete the checkout with Apple Pay token
|
|
121
|
-
this.submitCheckoutWithApplePay();
|
|
122
|
-
}
|
|
123
|
-
else {
|
|
124
|
-
console.error('Apple Pay completed but failed:', error);
|
|
125
|
-
this.errorEvent.emit({
|
|
126
|
-
message: (error === null || error === void 0 ? void 0 : error.message) || 'Apple Pay payment failed',
|
|
127
|
-
errorCode: ComponentError.ComponentErrorCodes.TOKENIZE_ERROR,
|
|
128
|
-
severity: ComponentError.ComponentErrorSeverity.ERROR,
|
|
129
|
-
});
|
|
130
|
-
}
|
|
131
|
-
};
|
|
132
|
-
this.handleApplePayError = (event) => {
|
|
133
|
-
const { error } = event.detail;
|
|
134
|
-
console.error('Apple Pay error:', error);
|
|
135
|
-
this.errorEvent.emit({
|
|
136
|
-
message: error || 'Apple Pay error occurred',
|
|
137
|
-
errorCode: ComponentError.ComponentErrorCodes.TOKENIZE_ERROR,
|
|
138
|
-
severity: ComponentError.ComponentErrorSeverity.ERROR,
|
|
139
|
-
});
|
|
140
|
-
};
|
|
141
|
-
this.handleApplePayCancelled = () => {
|
|
142
|
-
console.log('Apple Pay cancelled by user');
|
|
143
|
-
// Reset the token if cancelled
|
|
144
|
-
this.applePayToken = undefined;
|
|
145
|
-
};
|
|
146
116
|
}
|
|
147
117
|
savePaymentMethodChanged(newValue) {
|
|
148
118
|
checkout_store.checkoutStore.savePaymentMethod = newValue;
|
|
@@ -150,7 +120,6 @@ const ModularCheckout = class {
|
|
|
150
120
|
connectedCallback() {
|
|
151
121
|
this.observer = new MutationObserver(() => {
|
|
152
122
|
this.queryFormRefs();
|
|
153
|
-
this.setupApplePayListeners(); // set up again listeners when DOM changes
|
|
154
123
|
});
|
|
155
124
|
this.observer.observe(this.hostEl, {
|
|
156
125
|
childList: true,
|
|
@@ -192,12 +161,10 @@ const ModularCheckout = class {
|
|
|
192
161
|
}
|
|
193
162
|
componentDidLoad() {
|
|
194
163
|
this.queryFormRefs();
|
|
195
|
-
this.setupApplePayListeners();
|
|
196
164
|
}
|
|
197
165
|
disconnectedCallback() {
|
|
198
166
|
var _a;
|
|
199
167
|
(_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
200
|
-
this.removeApplePayListeners();
|
|
201
168
|
}
|
|
202
169
|
fetchCheckout() {
|
|
203
170
|
if (this.getCheckout) {
|
|
@@ -250,51 +217,6 @@ const ModularCheckout = class {
|
|
|
250
217
|
this.billingFormRef = this.hostEl.querySelector('justifi-billing-form, justifi-bank-account-billing-form-simple, justifi-card-billing-form-simple, justifi-billing-form-full');
|
|
251
218
|
this.insuranceFormRef = this.hostEl.querySelector('justifi-season-interruption-insurance');
|
|
252
219
|
this.sezzlePaymentMethodRef = this.hostEl.querySelector('justifi-sezzle-payment-method');
|
|
253
|
-
this.applePayRef = this.hostEl.querySelector('justifi-apple-pay');
|
|
254
|
-
}
|
|
255
|
-
setupApplePayListeners() {
|
|
256
|
-
if (this.applePayRef) {
|
|
257
|
-
this.applePayRef.addEventListener('applePayCompleted', this.handleApplePayCompleted);
|
|
258
|
-
this.applePayRef.addEventListener('applePayError', this.handleApplePayError);
|
|
259
|
-
this.applePayRef.addEventListener('applePayCancelled', this.handleApplePayCancelled);
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
removeApplePayListeners() {
|
|
263
|
-
if (this.applePayRef) {
|
|
264
|
-
this.applePayRef.removeEventListener('applePayCompleted', this.handleApplePayCompleted);
|
|
265
|
-
this.applePayRef.removeEventListener('applePayError', this.handleApplePayError);
|
|
266
|
-
this.applePayRef.removeEventListener('applePayCancelled', this.handleApplePayCancelled);
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
async submitCheckoutWithApplePay() {
|
|
270
|
-
if (!this.applePayToken) {
|
|
271
|
-
this.errorEvent.emit({
|
|
272
|
-
message: 'No Apple Pay token available',
|
|
273
|
-
errorCode: ComponentError.ComponentErrorCodes.TOKENIZE_ERROR,
|
|
274
|
-
severity: ComponentError.ComponentErrorSeverity.ERROR,
|
|
275
|
-
});
|
|
276
|
-
return;
|
|
277
|
-
}
|
|
278
|
-
const payment = {
|
|
279
|
-
payment_mode: 'apple_pay',
|
|
280
|
-
payment_token: this.applePayToken,
|
|
281
|
-
};
|
|
282
|
-
this.completeCheckout({
|
|
283
|
-
payment,
|
|
284
|
-
onSuccess: ({ checkout }) => {
|
|
285
|
-
this.submitEvent.emit({
|
|
286
|
-
checkout,
|
|
287
|
-
message: 'Apple Pay checkout completed successfully',
|
|
288
|
-
});
|
|
289
|
-
},
|
|
290
|
-
onError: (error) => {
|
|
291
|
-
this.errorEvent.emit({
|
|
292
|
-
message: error.message,
|
|
293
|
-
errorCode: ComponentError.ComponentErrorCodes.COMPLETE_CHECKOUT_ERROR,
|
|
294
|
-
severity: ComponentError.ComponentErrorSeverity.ERROR,
|
|
295
|
-
});
|
|
296
|
-
},
|
|
297
|
-
});
|
|
298
220
|
}
|
|
299
221
|
async tokenizePaymentMethod(tokenizeArgs) {
|
|
300
222
|
var _a, _b, _c;
|
|
@@ -311,10 +233,6 @@ const ModularCheckout = class {
|
|
|
311
233
|
});
|
|
312
234
|
}
|
|
313
235
|
async getPaymentMethod(submitCheckoutArgs) {
|
|
314
|
-
// If Apple Pay token is available, return a placeholder since we handle it differently
|
|
315
|
-
if (this.applePayToken) {
|
|
316
|
-
return 'apple_pay_token';
|
|
317
|
-
}
|
|
318
236
|
// If we have a payment token from the store (set by tokenize-payment-method), use it
|
|
319
237
|
if (checkout_store.checkoutStore.paymentToken) {
|
|
320
238
|
return checkout_store.checkoutStore.paymentToken;
|
|
@@ -336,10 +254,10 @@ const ModularCheckout = class {
|
|
|
336
254
|
}
|
|
337
255
|
async validate() {
|
|
338
256
|
var _a, _b;
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
257
|
+
console.log('billing information form', this.billingFormRef);
|
|
258
|
+
console.log('payment method form', this.paymentMethodFormRef);
|
|
259
|
+
console.log('insurance form', this.insuranceFormRef);
|
|
260
|
+
console.log('sezzle payment method', this.sezzlePaymentMethodRef);
|
|
343
261
|
const promises = [
|
|
344
262
|
(_a = this.paymentMethodFormRef) === null || _a === void 0 ? void 0 : _a.validate(),
|
|
345
263
|
(_b = this.billingFormRef) === null || _b === void 0 ? void 0 : _b.validate()
|
|
@@ -352,11 +270,6 @@ const ModularCheckout = class {
|
|
|
352
270
|
}
|
|
353
271
|
async submitCheckout(submitCheckoutArgs) {
|
|
354
272
|
var _a;
|
|
355
|
-
// If Apple Pay token is available, use Apple Pay flow
|
|
356
|
-
if (this.applePayToken) {
|
|
357
|
-
await this.submitCheckoutWithApplePay();
|
|
358
|
-
return;
|
|
359
|
-
}
|
|
360
273
|
const isValid = await this.validate();
|
|
361
274
|
if (!isValid) {
|
|
362
275
|
this.errorEvent.emit({
|
|
@@ -421,7 +334,7 @@ const ModularCheckout = class {
|
|
|
421
334
|
checkout_store.checkoutStore.selectedPaymentMethod = paymentMethodId;
|
|
422
335
|
}
|
|
423
336
|
render() {
|
|
424
|
-
return (index.h(index.Host, { key: '
|
|
337
|
+
return (index.h(index.Host, { key: '240891d53dfb817bb39cbeb1e9a96ab885933a47' }));
|
|
425
338
|
}
|
|
426
339
|
get hostEl() { return index.getElement(this); }
|
|
427
340
|
static get watchers() { return {
|
|
@@ -762,13 +675,13 @@ const TokenizePaymentMethod = class {
|
|
|
762
675
|
return (index.h("div", { class: "payment-method" }, index.h("justifi-radio-list-item", { name: "paymentMethodType", value: paymentMethodType, checked: isSelected, label: PAYMENT_METHOD_TYPE_LABELS[paymentMethodType], hidden: this.shouldHideRadioInput }), isSelected && this.renderSelectedPaymentMethodForm(paymentMethodType)));
|
|
763
676
|
}
|
|
764
677
|
renderSelectedPaymentMethodForm(paymentMethodId) {
|
|
765
|
-
return (index.h("div", { class: "mt-4 pb-4" }, this.renderPaymentMethodForm(paymentMethodId), index.h("div", { class: "mt-4" }, index.h("justifi-billing-form", { ref: (el) => (this.billingFormRef = el), hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: paymentMethodId })), index.h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupID })));
|
|
678
|
+
return (index.h("div", { class: "mt-4 pb-4" }, this.renderPaymentMethodForm(paymentMethodId), index.h("div", { class: "mt-4" }, index.h("justifi-billing-form", { ref: (el) => (this.billingFormRef = el), hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: paymentMethodId })), index.h("div", { class: "mt-4" }, index.h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupID }))));
|
|
766
679
|
}
|
|
767
680
|
renderPaymentMethodForm(paymentMethodId) {
|
|
768
681
|
return paymentMethodId === Refund.PaymentMethodTypes.card ? (index.h("justifi-card-form", { ref: (el) => (this.paymentMethodFormRef = el) })) : (index.h("justifi-bank-account-form", { ref: (el) => (this.paymentMethodFormRef = el) }));
|
|
769
682
|
}
|
|
770
683
|
render() {
|
|
771
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
684
|
+
return (index.h(styledHost.StyledHost, { key: 'ebe1d84471e0c6a32ee69d457f63755801d68577' }, index.h("form", { key: '7cf3aa01ead5602aaa31a4400d6bd9e1f782c65d' }, index.h("fieldset", { key: 'e8b430c8defd6103f53cb0a534466093983cd409' }, index.h("div", { key: '40d2206b6c43d3f3f05ad95b7731e3ecbe3eba83', class: "row gy-3" }, index.h("div", { key: 'e548fea0d586e8b0a3c0232e05bf7bb11bd2fbfc', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), index.h("div", { key: 'f903481cbc309fa89d8cb0c124d2cdbf41f034fd', class: "col-12" }, index.h("justifi-button", { key: 'e76830507419530b3b1da8f2eee8e5ff323fdf59', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
|
|
772
685
|
}
|
|
773
686
|
get host() { return index.getElement(this); }
|
|
774
687
|
static get watchers() { return {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-dm_GlYlb.js');
|
|
4
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
4
|
+
var checkPkgVersion = require('./check-pkg-version-BNVGE27p.js');
|
|
5
5
|
var ComponentError = require('./ComponentError-D4OLnOkg.js');
|
|
6
|
-
var checkout_store = require('./checkout.store-
|
|
6
|
+
var checkout_store = require('./checkout.store-CV_fuGQw.js');
|
|
7
7
|
var parts = require('./parts-9jMf1erK.js');
|
|
8
8
|
var styledHost = require('./styled-host-CqQYxX-w.js');
|
|
9
9
|
require('./event-types-YOY5TKUN.js');
|
|
10
|
-
require('./package-
|
|
10
|
+
require('./package-BKILqyp3.js');
|
|
11
11
|
require('./Api-CPuq_15r.js');
|
|
12
12
|
require('./config-state-5xZf-jax.js');
|
|
13
13
|
require('./index-Yd9aLenr.js');
|