@justifi/webcomponents 5.7.6-rc-21 → 5.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Api-CPuq_15r.js → Api-DLhABIj9.js} +2 -2
- package/dist/cjs/Checkout-BbhldGDh.js +103 -0
- package/dist/cjs/{ComponentError-D4OLnOkg.js → ComponentError-C4MdBBMe.js} +0 -10
- package/dist/cjs/Payment-D6XuQ4Ve.js +151 -0
- package/dist/cjs/{Refund-CqWNG8sx.js → Refund-1bG6RRPO.js} +1 -245
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -4
- package/dist/cjs/{badge-CMmPvqtE.js → badge-CcJ9H85-.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +14 -13
- package/dist/cjs/bank-account-form_9.cjs.entry.js +544 -0
- package/dist/cjs/business-details-core.cjs.entry.js +4 -4
- package/dist/cjs/{business.service-C3BdUPlm.js → business.service-CaCyLLFW.js} +5 -3
- package/dist/cjs/{button-CfVQSysQ.js → button-DsHDMHaa.js} +1 -1
- package/dist/cjs/{check-pkg-version-BzCIWkkG.js → check-pkg-version-D6Kztnv7.js} +6 -4
- package/dist/cjs/{checkout.service-B0ZmvWwI.js → checkout.service-DgD37tJv.js} +5 -3
- package/dist/cjs/checkouts-list-core.cjs.entry.js +14 -13
- package/dist/cjs/{payments-list-params-state-BNbT1fuJ.js → checkouts-list-params-state-Cewmin_p.js} +1 -1
- package/dist/cjs/{checkouts-table-UN5gPpQ_.js → checkouts-table-Bzpqcsu0.js} +3 -3
- package/dist/cjs/{config-state-5xZf-jax.js → config-state-BBOZIS8x.js} +1 -1
- package/dist/cjs/{custom-popper_2.cjs.entry.js → custom-popper.cjs.entry.js} +3 -23
- package/dist/cjs/{dispute.service-DsPEAcDn.js → dispute.service-C0w_4Agq.js} +5 -3
- package/dist/cjs/form-alert_5.cjs.entry.js +5 -5
- package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-error-text-HM0zQerh.js → form-control-error-text-B-P5UDhm.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-help-text-5KIUw1IP.js → form-control-help-text-JoZjhb9m.js} +1 -1
- package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +5 -5
- package/dist/cjs/form-control-monetary.cjs.entry.js +6 -7
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number.cjs.entry.js +5 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/{form-control-select_2.cjs.entry.js → form-control-select_3.cjs.entry.js} +25 -6
- package/dist/cjs/{get-business-o5jPq_ME.js → get-business-BJrtsomz.js} +2 -2
- package/dist/cjs/{get-payment-details-DtCXaIMx.js → get-payment-details-BbfnopoD.js} +8 -6
- package/dist/cjs/{get-payout-csv-DE_D9y08.js → get-payout-csv-CXEQkjDm.js} +2 -2
- package/dist/cjs/{get-subaccounts-CwCH5rC8.js → get-subaccounts-CpCJjnYt.js} +8 -6
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -6
- package/dist/cjs/{header-1-DD41iNlG.js → header-1-DRA3f4Jh.js} +1 -1
- package/dist/cjs/{header-3-D9Wa0IfT.js → header-3-sOdOpfx3.js} +1 -1
- package/dist/cjs/iframe-input-styles-state-DH-5a2Mg.js +26 -0
- package/dist/cjs/{hidden-input_2.cjs.entry.js → iframe-input_4.cjs.entry.js} +154 -112
- package/dist/cjs/{index-Yd9aLenr.js → index-B32W0A3m.js} +1 -1
- package/dist/cjs/{index-dm_GlYlb.js → index-C9hBD-32.js} +2 -2
- package/dist/cjs/{insurance-state-Cyva9u6S.js → insurance-state-e44s1lUQ.js} +2 -20
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +10 -9
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +22 -21
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
- package/dist/cjs/justifi-business-details.cjs.entry.js +16 -15
- package/dist/cjs/justifi-business-form.cjs.entry.js +18 -17
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +141 -0
- package/dist/cjs/justifi-checkout.cjs.entry.js +99 -91
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +17 -16
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +19 -18
- package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +14 -13
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +20 -19
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +13 -12
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +18 -17
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +17 -16
- package/dist/cjs/justifi-payment-details.cjs.entry.js +16 -15
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +15 -14
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +17 -16
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payments-list.cjs.entry.js +19 -18
- package/dist/cjs/justifi-payout-details.cjs.entry.js +15 -14
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +17 -16
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +20 -19
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +17 -16
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +124 -0
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +21 -118
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +12 -11
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +16 -15
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +11 -10
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +18 -17
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +80 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-B9ks67gS.js → package-C0-LCfay.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +15 -16
- package/dist/cjs/{payment-provisioning-actions-CZVlnRA0.js → payment-provisioning-actions-BkWSDJQQ.js} +2 -2
- package/dist/cjs/{payment.service-1H0VC3LV.js → payment.service-CtSdIJoy.js} +5 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +15 -14
- package/dist/cjs/{payouts-list-params-state-BNbT1fuJ.js → payments-list-params-state-Cewmin_p.js} +1 -1
- package/dist/cjs/{payments-status-PB63klt3.js → payments-status-DXRh_ekP.js} +2 -2
- package/dist/cjs/{payments-table-quF0NnsS.js → payments-table-CUGE6F-R.js} +3 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +11 -12
- package/dist/cjs/{payout.service-CIZFU-hV.js → payout.service-7DP6F8x7.js} +5 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +15 -14
- package/dist/cjs/{terminal-orders-list-params-state-BNbT1fuJ.js → payouts-list-params-state-Cewmin_p.js} +1 -1
- package/dist/cjs/{payouts-status-Bk1JFzbP.js → payouts-status-DxTQZv3i.js} +2 -2
- package/dist/cjs/{payouts-table-D_CCTR_k.js → payouts-table-Ca9HqjV7.js} +3 -3
- package/dist/cjs/{skeleton-x-GSs3xk.js → skeleton-C7DQRD6r.js} +1 -1
- package/dist/cjs/{spinner-Kb1BFvnL.js → spinner-jmeA44Ee.js} +1 -1
- package/dist/cjs/{styled-host-CqQYxX-w.js → styled-host-BfVJlAsJ.js} +1 -1
- package/dist/cjs/{table-BJVUhh3s.js → table-Ccdrt0v_.js} +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +14 -13
- package/dist/cjs/{checkouts-list-params-state-BNbT1fuJ.js → terminal-orders-list-params-state-Cewmin_p.js} +1 -1
- package/dist/cjs/{terminal-orders-table-0O5jtzYj.js → terminal-orders-table-DPe_2FNB.js} +8 -6
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-DUlyMTrX.js → terminal.service-BR9g1yaB.js} +5 -3
- package/dist/cjs/terminals-list-core.cjs.entry.js +14 -13
- package/dist/cjs/terminals-list-params-state-Cewmin_p.js +22 -0
- package/dist/cjs/{terminals-table-C2BNRUS5.js → terminals-table-DDoJIYZu.js} +3 -3
- package/dist/cjs/{utils-Df-pajL7.js → utils-Bzyj4qWe.js} +1 -1
- package/dist/cjs/{utils-BaGF9XIe.js → utils-Dewr6SlQ.js} +1667 -3
- package/dist/cjs/{utils-DvUQQLmR.js → utils-l0veqT9y.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +3 -3
- 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 +10 -16
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +1 -1
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +6 -3
- package/dist/collection/components/{modular-checkout/sub-components → checkout/billing-form}/bank-account-billing-form-simple.js +5 -7
- package/dist/collection/components/{modular-checkout/sub-components → checkout/billing-form}/billing-form-full.js +8 -12
- package/dist/collection/components/checkout/billing-form/billing-form-schema.js +3 -3
- package/dist/collection/components/{modular-checkout/sub-components → checkout/billing-form}/card-billing-form-simple.js +5 -7
- package/dist/collection/components/checkout/card-form/card-form.js +6 -3
- package/dist/collection/components/checkout/checkout-core.js +454 -0
- package/dist/collection/components/checkout/checkout.js +51 -156
- package/dist/collection/components/checkout/new-payment-method.js +378 -0
- package/dist/collection/components/checkout/payment-method-option-utils.js +1 -0
- package/dist/collection/components/checkout/payment-method-options.js +440 -0
- package/dist/collection/components/checkout/save-new-payment-method.js +5 -9
- 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/insurance-state.js +1 -18
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +447 -0
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +12 -114
- 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 +83 -293
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +5 -10
- package/dist/collection/ui-components/index.js +0 -1
- package/dist/collection/utils/utils.js +5 -0
- package/dist/docs.json +2822 -2308
- package/dist/esm/{Api-N_veT2p6.js → Api-BJv2_XdA.js} +2 -2
- package/dist/esm/Checkout-CIUkm9aQ.js +101 -0
- package/dist/esm/{ComponentError-Cjcsf8ku.js → ComponentError-SdntD1xf.js} +1 -11
- package/dist/esm/{Dispute-BH0Xfn-F.js → Dispute-7MWRbTXI.js} +1 -1
- package/dist/esm/Payment-DrCqUoz-.js +149 -0
- package/dist/esm/{Refund-Di6J0oN2.js → Refund-Dwnnpqim.js} +2 -244
- package/dist/esm/additional-questions-details_5.entry.js +4 -5
- package/dist/esm/{badge-D_mzXSCQ.js → badge-XXatxWS0.js} +2 -2
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +16 -15
- package/dist/esm/bank-account-form_9.entry.js +534 -0
- package/dist/esm/business-details-core.entry.js +5 -5
- package/dist/esm/{business.service-Bdvhdc_d.js → business.service-Di9jP2_p.js} +6 -4
- package/dist/esm/{button-CeR8qVS3.js → button-C-ZZ9yD1.js} +2 -2
- package/dist/esm/{check-pkg-version-D3fhoIFS.js → check-pkg-version-8KHO3ihW.js} +7 -5
- package/dist/esm/{checkout.service-XgGFa7H8.js → checkout.service-l-H_OIZa.js} +6 -4
- package/dist/esm/checkouts-list-core.entry.js +16 -15
- package/dist/esm/{checkouts-list-params-state-SMXQIZTt.js → checkouts-list-params-state-D8tzsGR_.js} +1 -1
- package/dist/esm/{checkouts-table-CFZYoYjn.js → checkouts-table-DmwocPX2.js} +4 -4
- package/dist/esm/{config-state-BrllxiM0.js → config-state-DZeVYerv.js} +1 -1
- package/dist/esm/{custom-popper_2.entry.js → custom-popper.entry.js} +4 -23
- package/dist/esm/{dispute.service-CKPcmwhH.js → dispute.service-CaEbHFjw.js} +6 -4
- package/dist/esm/form-alert_5.entry.js +6 -6
- package/dist/esm/form-control-checkbox.entry.js +6 -6
- package/dist/esm/form-control-date.entry.js +5 -5
- package/dist/esm/{form-control-error-text-D3ZwkOv-.js → form-control-error-text-eKr_QuRZ.js} +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +6 -6
- package/dist/esm/{form-control-help-text-C39ZW65w.js → form-control-help-text-Dw2vjMQ5.js} +2 -2
- package/dist/esm/form-control-help-text.entry.js +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +6 -6
- package/dist/esm/form-control-monetary.entry.js +7 -8
- package/dist/esm/form-control-number-masked_2.entry.js +6 -6
- package/dist/esm/form-control-number.entry.js +6 -6
- package/dist/esm/form-control-radio.entry.js +4 -4
- package/dist/esm/{form-control-select_2.entry.js → form-control-select_3.entry.js} +26 -8
- package/dist/esm/{get-business-Crb6P-iI.js → get-business-GEPTefIj.js} +2 -2
- package/dist/esm/{get-payment-details-Dt-dr16k.js → get-payment-details-BOpjKcRB.js} +8 -6
- package/dist/esm/{get-payout-csv-D-Lnooki.js → get-payout-csv-D7IYYqVL.js} +2 -2
- package/dist/esm/{get-subaccounts-BsoVLANw.js → get-subaccounts-0Ri4RB5r.js} +9 -7
- package/dist/esm/gross-payment-chart-core.entry.js +6 -7
- package/dist/esm/{header-1-E-hEi3wF.js → header-1-BnwrlkS-.js} +2 -2
- package/dist/esm/{header-3-Dm7M85kz.js → header-3-IOnOCyak.js} +2 -2
- package/dist/esm/iframe-input-styles-state-Cqb62KAu.js +23 -0
- package/dist/esm/{hidden-input_2.entry.js → iframe-input_4.entry.js} +146 -106
- package/dist/esm/{index-B9me4yN2.js → index-B_KxSZIF.js} +1 -1
- package/dist/esm/{index-kpoIU4v_.js → index-Bn7inNWG.js} +2 -2
- package/dist/esm/insurance-state-DRFl0tWj.js +28 -0
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +12 -11
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +24 -23
- package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
- package/dist/esm/justifi-business-details.entry.js +17 -16
- package/dist/esm/justifi-business-form.entry.js +20 -19
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +3 -3
- package/dist/esm/justifi-checkout-core.entry.js +139 -0
- package/dist/esm/justifi-checkout.entry.js +99 -91
- package/dist/esm/justifi-checkouts-list-filters.entry.js +13 -12
- package/dist/esm/justifi-checkouts-list.entry.js +20 -19
- package/dist/esm/justifi-config-provider.entry.js +3 -3
- package/dist/esm/justifi-details.entry.js +3 -3
- package/dist/esm/justifi-dispute-management-core.entry.js +3 -3
- package/dist/esm/justifi-dispute-management.entry.js +15 -14
- package/dist/esm/justifi-dispute-notification_3.entry.js +21 -20
- package/dist/esm/justifi-gross-payment-chart.entry.js +15 -14
- package/dist/esm/justifi-order-terminals.entry.js +20 -19
- package/dist/esm/justifi-owner-form_3.entry.js +18 -17
- package/dist/esm/justifi-payment-details.entry.js +17 -16
- package/dist/esm/justifi-payment-provisioning-core.entry.js +6 -6
- package/dist/esm/justifi-payment-provisioning.entry.js +16 -15
- package/dist/esm/justifi-payment-transactions-list.entry.js +19 -18
- package/dist/esm/justifi-payments-list-filters.entry.js +8 -9
- package/dist/esm/justifi-payments-list.entry.js +20 -19
- package/dist/esm/justifi-payout-details.entry.js +17 -16
- package/dist/esm/justifi-payout-transactions-list.entry.js +19 -18
- package/dist/esm/justifi-payouts-list-filters.entry.js +8 -9
- package/dist/esm/justifi-payouts-list.entry.js +22 -21
- package/dist/esm/justifi-refund-payment.entry.js +19 -18
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +122 -0
- package/dist/esm/justifi-season-interruption-insurance.entry.js +22 -119
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +14 -13
- package/dist/esm/justifi-terminal-orders-list.entry.js +18 -17
- package/dist/esm/justifi-terminals-list-filters.entry.js +13 -12
- package/dist/esm/justifi-terminals-list.entry.js +20 -19
- package/dist/esm/justifi-tokenize-payment-method.entry.js +78 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{package-wutYt_7D.js → package-BOCuVjGs.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +2 -2
- package/dist/esm/{parts-CfF8KKwx.js → parts-CVGBVdVC.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +16 -17
- package/dist/esm/{payment-provisioning-actions-ONP8lDnV.js → payment-provisioning-actions-BIfyW239.js} +2 -2
- package/dist/esm/{payment.service-BWO84KlP.js → payment.service-Dz5mhgIm.js} +6 -4
- package/dist/esm/payments-list-core.entry.js +17 -16
- package/dist/esm/{payments-list-params-state-SMXQIZTt.js → payments-list-params-state-D8tzsGR_.js} +1 -1
- package/dist/esm/{payments-status-XoZrlbiZ.js → payments-status-CN8wEqKC.js} +2 -2
- package/dist/esm/{payments-table-Dh4P9mTb.js → payments-table-SmMgUr5X.js} +4 -4
- package/dist/esm/payout-details-core.entry.js +12 -13
- package/dist/esm/{payout.service-Cld6TS5W.js → payout.service-DUnRbCmv.js} +6 -4
- package/dist/esm/payouts-list-core.entry.js +17 -16
- package/dist/esm/{payouts-list-params-state-SMXQIZTt.js → payouts-list-params-state-D8tzsGR_.js} +1 -1
- package/dist/esm/{payouts-status-Qm2jZG1-.js → payouts-status-BzTh9X2W.js} +2 -2
- package/dist/esm/{payouts-table-DMVAZp-r.js → payouts-table-SB6q0e7V.js} +4 -4
- package/dist/esm/{skeleton-DrHwsgs_.js → skeleton-DK6mW457.js} +2 -2
- package/dist/esm/{spinner-XBq6mVJW.js → spinner-CWoD0q_S.js} +2 -2
- package/dist/esm/{styled-host-B_XBaM7z.js → styled-host-CTAGIN84.js} +1 -1
- package/dist/esm/{table-qqt2Ew5y.js → table-KCj3mM1K.js} +3 -3
- package/dist/esm/table-filters-menu.entry.js +4 -4
- package/dist/esm/terminal-orders-list-core.entry.js +16 -15
- package/dist/esm/{terminal-orders-list-params-state-SMXQIZTt.js → terminal-orders-list-params-state-D8tzsGR_.js} +1 -1
- package/dist/esm/{terminal-orders-table-BN4Co4T8.js → terminal-orders-table-CPsSDEWs.js} +10 -8
- package/dist/esm/terminal-quantity-selector.entry.js +3 -3
- package/dist/esm/{terminal.service-DmYCUQcA.js → terminal.service-Vhk3qPk2.js} +6 -4
- package/dist/esm/terminals-list-core.entry.js +16 -15
- package/dist/esm/terminals-list-params-state-D8tzsGR_.js +16 -0
- package/dist/esm/{terminals-table-C8LczeG_.js → terminals-table-CAavYaG5.js} +4 -4
- package/dist/esm/{utils-lb8p1Exq.js → utils-CKEiU2Q5.js} +1665 -3
- package/dist/esm/{utils-BeQLScSm.js → utils-Dccsn9BY.js} +1 -1
- package/dist/esm/{utils-kWaZhFAd.js → utils-_kzStVq_.js} +2 -2
- package/dist/esm/webcomponents.js +4 -4
- package/dist/module/Checkout.js +121 -0
- package/dist/module/Payment.js +204 -0
- package/dist/module/Refund.js +1 -328
- package/dist/module/additional-questions.js +1 -1
- package/dist/module/additional-statement.js +2 -2
- package/dist/module/badge.js +1 -1
- package/dist/module/bank-account-billing-form-simple.js +4 -9
- package/dist/module/bank-account-document-inputs.js +5 -3
- package/dist/module/bank-account-form-inputs2.js +1 -1
- package/dist/module/bank-account-form.js +1 -83
- package/dist/module/{bank-account.js → bank-account-form2.js} +11 -26
- package/dist/module/billing-form-full.js +11 -14
- package/dist/module/billing-form-schema.js +3 -3
- package/dist/module/business-additional-questions-form-step.js +2 -2
- package/dist/module/business-bank-account-form-step-core.js +4 -2
- package/dist/module/business-bank-account-form-step.js +5 -3
- package/dist/module/business-core-info-form-step.js +2 -2
- package/dist/module/business-core-info.js +1 -1
- package/dist/module/business-details-core2.js +0 -1
- package/dist/module/business-documents-on-file2.js +1 -2
- package/dist/module/business-owners-form-step-core.js +0 -1
- package/dist/module/business-owners-form-step.js +2 -2
- package/dist/module/business-representative-form-inputs.js +1 -1
- package/dist/module/business-representative-form-step.js +2 -2
- package/dist/module/business-representative.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +4 -2
- package/dist/module/business.service.js +3 -1
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +2 -2
- package/dist/module/card-billing-form-simple.js +4 -9
- package/dist/module/card-form.js +1 -91
- package/dist/module/card-form2.js +13 -28
- package/dist/module/{Analytics.js → check-pkg-version.js} +24 -22
- package/dist/module/checkout-core.js +292 -0
- package/dist/module/checkout.service.js +3 -1
- package/dist/module/checkouts-list-core2.js +6 -6
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +2 -2
- package/dist/module/dispute-management-core.js +2 -2
- package/dist/module/dispute-notification.js +2 -3
- package/dist/module/dispute-response-actions.js +3 -1
- package/dist/module/dispute-response-core.js +2 -2
- package/dist/module/dispute-response.js +3 -4
- package/dist/module/duplicate-charge.js +2 -2
- package/dist/module/electronic-evidence.js +2 -2
- package/dist/module/form-alert2.js +1 -1
- package/dist/module/form-control-checkbox2.js +3 -4
- package/dist/module/form-control-date2.js +2 -3
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -3
- package/dist/module/form-control-monetary-provisioning2.js +3 -4
- package/dist/module/form-control-monetary2.js +3 -4
- package/dist/module/form-control-number-masked2.js +2 -3
- package/dist/module/form-control-number.js +3 -4
- package/dist/module/form-control-radio2.js +3 -3
- package/dist/module/form-control-select2.js +2 -3
- package/dist/module/form-control-text2.js +2 -3
- package/dist/module/form-control-textarea2.js +3 -3
- package/dist/module/get-business.js +1 -1
- package/dist/module/get-payment-details.js +4 -2
- package/dist/module/get-payout-csv.js +1 -1
- package/dist/module/get-subaccounts.js +4 -2
- package/dist/module/gross-payment-chart-core2.js +2 -2
- package/dist/module/hidden-input2.js +2 -2
- package/dist/module/identity-address-form.js +1 -1
- package/dist/module/iframe-input2.js +6 -6
- package/dist/module/insurance-state.js +7 -18
- package/dist/module/justifi-business-details.js +2 -2
- package/dist/module/justifi-business-form.js +5 -4
- package/dist/module/{justifi-header.d.ts → justifi-checkout-core.d.ts} +4 -4
- package/dist/module/justifi-checkout-core.js +6 -0
- package/dist/module/justifi-checkout.js +137 -157
- package/dist/module/justifi-checkouts-list-filters.js +5 -4
- package/dist/module/justifi-checkouts-list.js +6 -5
- package/dist/module/justifi-dispute-management.js +4 -3
- package/dist/module/justifi-gross-payment-chart.js +4 -2
- package/dist/module/justifi-new-payment-method.d.ts +11 -0
- package/dist/module/justifi-new-payment-method.js +6 -0
- package/dist/module/justifi-order-terminals.js +7 -7
- package/dist/module/justifi-payment-details.js +2 -2
- package/dist/module/justifi-payment-method-options.d.ts +11 -0
- package/dist/module/justifi-payment-method-options.js +6 -0
- package/dist/module/justifi-payment-provisioning.js +5 -3
- package/dist/module/justifi-payment-transactions-list.js +7 -7
- package/dist/module/justifi-payments-list-filters.js +3 -4
- package/dist/module/justifi-payments-list.js +6 -5
- package/dist/module/justifi-payout-details.js +5 -3
- package/dist/module/justifi-payout-transactions-list.js +7 -7
- package/dist/module/justifi-payouts-list-filters.js +3 -4
- package/dist/module/justifi-payouts-list.js +6 -5
- package/dist/module/justifi-refund-payment.js +4 -3
- package/dist/module/justifi-saved-payment-method.js +1 -57
- package/dist/module/justifi-season-interruption-insurance-core.d.ts +11 -0
- package/dist/module/justifi-season-interruption-insurance-core.js +6 -0
- package/dist/module/justifi-season-interruption-insurance.js +24 -120
- package/dist/module/justifi-terminal-orders-list-filters.js +6 -5
- package/dist/module/justifi-terminal-orders-list.js +6 -5
- package/dist/module/justifi-terminals-list-filters.js +5 -4
- package/dist/module/justifi-terminals-list.js +6 -5
- package/dist/module/justifi-tokenize-payment-method.js +219 -1
- package/dist/module/legal-address-form-step.js +2 -2
- package/dist/module/legal-address-form.js +1 -1
- package/dist/module/new-payment-method.js +222 -0
- package/dist/module/owner-form-core2.js +2 -3
- package/dist/module/owner-form-inputs2.js +1 -1
- package/dist/module/owner-form.js +1 -1
- package/dist/module/package.js +3 -3
- package/dist/module/pagination-menu2.js +1 -1
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-details-core2.js +9 -10
- package/dist/module/payment-method-options.js +237 -0
- package/dist/module/payment-provisioning-actions.js +1 -1
- package/dist/module/payment-provisioning-core.js +2 -3
- package/dist/module/payment-provisioning-form-buttons.js +1 -2
- package/dist/module/payment-provisioning-form-steps.js +1 -1
- package/dist/module/payment-provisioning-loading.js +0 -1
- package/dist/module/payment.service.js +3 -1
- package/dist/module/payments-list-core2.js +6 -6
- package/dist/module/payout-details-core2.js +4 -5
- package/dist/module/payout.service.js +3 -1
- package/dist/module/payouts-list-core2.js +6 -6
- 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 +6 -13
- package/dist/module/saved-payment-method.js +79 -0
- package/dist/module/season-interruption-insurance-core.js +168 -0
- package/dist/module/sezzle-payment-method.js +18 -25
- package/dist/module/shipping-details.js +2 -2
- package/dist/module/spinner.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/table.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +6 -6
- package/dist/module/terminal-quantity-selector2.js +2 -2
- package/dist/module/terminal.service.js +3 -1
- package/dist/module/terminals-list-core2.js +6 -6
- package/dist/module/utils2.js +1665 -3
- 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/checkout/bank-account-form/bank-account-form.d.ts +1 -0
- package/dist/types/components/{modular-checkout/sub-components → checkout/billing-form}/bank-account-billing-form-simple.d.ts +1 -1
- package/dist/types/components/{modular-checkout/sub-components → checkout/billing-form}/billing-form-full.d.ts +2 -1
- package/dist/types/components/checkout/billing-form/billing-form-schema.d.ts +4 -4
- package/dist/types/components/{modular-checkout/sub-components → checkout/billing-form}/card-billing-form-simple.d.ts +1 -1
- package/dist/types/components/checkout/card-form/card-form.d.ts +1 -0
- package/dist/types/components/checkout/checkout-core.d.ts +49 -0
- package/dist/types/components/checkout/checkout.d.ts +11 -27
- package/dist/types/components/checkout/new-payment-method.d.ts +31 -0
- package/dist/types/components/checkout/payment-method-options.d.ts +32 -0
- package/dist/types/components/checkout/save-new-payment-method.d.ts +1 -1
- package/dist/types/components/{modular-checkout/sub-components → checkout}/sezzle-payment-method.d.ts +9 -3
- package/dist/types/components/insurance/insurance-state.d.ts +1 -2
- package/dist/types/components/insurance/season-interruption/season-interruption-insurance-core.d.ts +32 -0
- package/dist/types/components/insurance/season-interruption/season-interruption-insurance.d.ts +3 -9
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +15 -42
- package/dist/types/components.d.ts +219 -303
- package/dist/types/ui-components/form/iframe-input.d.ts +1 -2
- package/dist/types/ui-components/index.d.ts +0 -1
- package/dist/types/utils/utils.d.ts +1 -0
- package/dist/webcomponents/p-08e1bf28.entry.js +1 -0
- package/dist/webcomponents/p-09cb06ed.entry.js +1 -0
- package/dist/webcomponents/p-0adbbb23.entry.js +1 -0
- package/dist/webcomponents/p-0b067d3c.entry.js +1 -0
- package/dist/webcomponents/p-0bfd309e.entry.js +1 -0
- package/dist/webcomponents/p-0f005fdd.entry.js +1 -0
- package/dist/webcomponents/p-0nMw2Aul.js +1 -0
- package/dist/webcomponents/p-14dc17fd.entry.js +1 -0
- package/dist/webcomponents/p-266f1ff3.entry.js +1 -0
- package/dist/webcomponents/p-35387685.entry.js +1 -0
- package/dist/webcomponents/p-3946adfa.entry.js +1 -0
- package/dist/webcomponents/p-3c44b724.entry.js +1 -0
- package/dist/webcomponents/p-3e3b5cdb.entry.js +1 -0
- package/dist/webcomponents/p-41876098.entry.js +1 -0
- package/dist/webcomponents/p-45edf188.entry.js +1 -0
- package/dist/webcomponents/p-4786f2d0.entry.js +1 -0
- package/dist/webcomponents/p-4c1c55bb.entry.js +1 -0
- package/dist/webcomponents/p-4f358b63.entry.js +1 -0
- package/dist/webcomponents/p-5375df08.entry.js +1 -0
- package/dist/webcomponents/p-575b972d.entry.js +1 -0
- package/dist/webcomponents/p-580aa2e3.entry.js +1 -0
- package/dist/webcomponents/p-5b857a1c.entry.js +1 -0
- package/dist/webcomponents/p-5c9d1c35.entry.js +1 -0
- package/dist/webcomponents/p-690514f2.entry.js +1 -0
- package/dist/webcomponents/p-6a853571.entry.js +1 -0
- package/dist/webcomponents/p-724e4e6c.entry.js +1 -0
- package/dist/webcomponents/p-756a7021.entry.js +1 -0
- package/dist/webcomponents/{p-BH0Xfn-F.js → p-7MWRbTXI.js} +1 -1
- package/dist/webcomponents/{p-28c7bef7.entry.js → p-7a0661a2.entry.js} +4 -4
- package/dist/webcomponents/{p-a8205044.entry.js → p-80b6c011.entry.js} +1 -1
- package/dist/webcomponents/p-89431ee2.entry.js +1 -0
- package/dist/webcomponents/p-8f5c1ae6.entry.js +1 -0
- package/dist/webcomponents/{p-b0bfa20f.entry.js → p-96247d70.entry.js} +1 -1
- package/dist/webcomponents/p-989d56de.entry.js +1 -0
- package/dist/webcomponents/p-99f7a36d.entry.js +1 -0
- package/dist/webcomponents/p-BCgpQGhw.js +1 -0
- package/dist/webcomponents/p-BOCuVjGs.js +1 -0
- package/dist/webcomponents/p-BQ2TIFoY.js +1 -0
- package/dist/webcomponents/{p-YND5pTuF.js → p-BQQ7ifKz.js} +1 -1
- package/dist/webcomponents/{p-5aA7gjr5.js → p-BTS3E50C.js} +1 -1
- package/dist/webcomponents/p-BUSn_ReW.js +1 -0
- package/dist/webcomponents/p-BY1mRAvj.js +1 -0
- package/dist/webcomponents/p-BZtgbC0H.js +1 -0
- package/dist/webcomponents/p-B_t2t34m.js +1 -0
- package/dist/webcomponents/{p-kpoIU4v_.js → p-Bn7inNWG.js} +1 -1
- package/dist/webcomponents/{p-BisQ61nK.js → p-BpWSwi9x.js} +1 -1
- package/dist/webcomponents/p-Bs-84XY6.js +1 -0
- package/dist/webcomponents/{p-Dvxpy_P1.js → p-BtyEAd0R.js} +1 -1
- package/dist/webcomponents/p-BvXjypQm.js +1 -0
- package/dist/webcomponents/p-C-wMveZe.js +1 -0
- package/dist/webcomponents/{p-D2muobcE.js → p-C5RuuShs.js} +1 -1
- package/dist/webcomponents/p-CCl9g-ln.js +1 -0
- package/dist/webcomponents/p-CDPZXQAo.js +1 -0
- package/dist/webcomponents/p-CKEiU2Q5.js +1 -0
- package/dist/webcomponents/p-CS4_rnSp.js +1 -0
- package/dist/webcomponents/{p-CfF8KKwx.js → p-CVGBVdVC.js} +1 -1
- package/dist/webcomponents/p-CnMP2-Xk.js +1 -0
- package/dist/webcomponents/p-CpaS1Lex.js +1 -0
- package/dist/webcomponents/p-Cs0cIpIm.js +1 -0
- package/dist/webcomponents/p-CxHdQoIo.js +1 -0
- package/dist/webcomponents/p-DFWnHEN2.js +1 -0
- package/dist/webcomponents/{p-BbYVgLcf.js → p-DK0C7j0u.js} +1 -1
- package/dist/webcomponents/p-DKSNNnPC.js +1 -0
- package/dist/webcomponents/{p-BeszVz87.js → p-DV1c2IYS.js} +1 -1
- package/dist/webcomponents/{p-Bz164TKZ.js → p-DetWIU1e.js} +1 -1
- package/dist/webcomponents/{p-9y5MOK55.js → p-DhGNCW2f.js} +1 -1
- package/dist/webcomponents/p-DjFzWJxk.js +1 -0
- package/dist/webcomponents/p-DnGswpsl.js +1 -0
- package/dist/webcomponents/p-DniQ6yo6.js +1 -0
- package/dist/webcomponents/p-DsLxs70Z.js +1 -0
- package/dist/webcomponents/p-DsZZxRXY.js +1 -0
- package/dist/webcomponents/p-DtdcFDM_.js +1 -0
- package/dist/webcomponents/p-DwF36W04.js +1 -0
- package/dist/webcomponents/{p-CRFzwZW6.js → p-DxqCFDtF.js} +1 -1
- package/dist/webcomponents/p-L4y68wud.js +1 -0
- package/dist/webcomponents/p-SdntD1xf.js +1 -0
- package/dist/webcomponents/p-a09ca567.entry.js +1 -0
- package/dist/webcomponents/p-a3313ebe.entry.js +1 -0
- package/dist/webcomponents/{p-463ae23a.entry.js → p-abbf14b5.entry.js} +1 -1
- package/dist/webcomponents/p-aeaafe28.entry.js +1 -0
- package/dist/webcomponents/p-b25bbf0a.entry.js +1 -0
- package/dist/webcomponents/p-b7594923.entry.js +1 -0
- package/dist/webcomponents/p-b79e302a.entry.js +1 -0
- package/dist/webcomponents/p-ba268a78.entry.js +1 -0
- package/dist/webcomponents/p-ba68ea4f.entry.js +1 -0
- package/dist/webcomponents/{p-48bccf3b.entry.js → p-bcadc072.entry.js} +1 -1
- package/dist/webcomponents/p-bf0e00be.entry.js +1 -0
- package/dist/webcomponents/p-c15d8dd0.entry.js +1 -0
- package/dist/webcomponents/p-c28f2569.entry.js +1 -0
- package/dist/webcomponents/{p-c5b48e8d.entry.js → p-c51651aa.entry.js} +1 -1
- package/dist/webcomponents/p-c5911cd9.entry.js +1 -0
- package/dist/webcomponents/{p-4ba144ac.entry.js → p-cdd2c7c8.entry.js} +1 -1
- package/dist/webcomponents/p-cefb9a76.entry.js +1 -0
- package/dist/webcomponents/{p-I8XpD1TX.js → p-ck6bcYXe.js} +1 -1
- package/dist/webcomponents/p-d2ae3c55.entry.js +1 -0
- package/dist/webcomponents/p-d2e1d179.entry.js +1 -0
- package/dist/webcomponents/{p-ded22005.entry.js → p-d43a4316.entry.js} +1 -1
- package/dist/webcomponents/{p-5e10aa65.entry.js → p-d46dbb83.entry.js} +1 -1
- package/dist/webcomponents/p-d4d58793.entry.js +1 -0
- package/dist/webcomponents/{p-57143978.entry.js → p-d53c3370.entry.js} +1 -1
- package/dist/webcomponents/p-dc6b707a.entry.js +1 -0
- package/dist/webcomponents/p-dfd9aff0.entry.js +1 -0
- package/dist/webcomponents/{p-CsNubTqD.js → p-dzS7n4Xj.js} +1 -1
- package/dist/webcomponents/p-e4682bb6.entry.js +1 -0
- package/dist/webcomponents/p-eP3fmhta.js +1 -0
- package/dist/webcomponents/p-ee566062.entry.js +1 -0
- package/dist/webcomponents/p-ef07d761.entry.js +1 -0
- package/dist/webcomponents/p-f24b04eb.entry.js +1 -0
- package/dist/webcomponents/p-f8e974af.entry.js +1 -0
- package/dist/webcomponents/p-fb60bc7a.entry.js +1 -0
- package/dist/webcomponents/{p-DO3INvI2.js → p-qGbNz93o.js} +1 -1
- package/dist/webcomponents/p-sw5RO19U.js +1 -0
- package/dist/webcomponents/p-v6yK8Vbe.js +1 -0
- package/dist/webcomponents/p-znmwKCgq.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-CV_fuGQw.js +0 -39
- package/dist/cjs/dinero-BwNN_k7x.js +0 -1657
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +0 -372
- package/dist/cjs/justifi-checkout-summary_6.cjs.entry.js +0 -706
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +0 -31
- package/dist/cjs/justifi-skeleton.cjs.entry.js +0 -17
- package/dist/cjs/payment-method-option-utils-WYHIHy-l.js +0 -15
- package/dist/cjs/payment-method-option.cjs.entry.js +0 -17
- package/dist/cjs/terminals-list-params-state-BNbT1fuJ.js +0 -22
- package/dist/collection/api/BillingInformation.js +0 -1
- package/dist/collection/api/PaymentMethod.js +0 -1
- package/dist/collection/components/modular-checkout/modular-checkout.js +0 -430
- 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/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 -34
- 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-radio-list-item.js +0 -155
- 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-B60siz2l.js +0 -36
- package/dist/esm/dinero-HXpYMWUU.js +0 -1655
- package/dist/esm/insurance-state-CB4l8sOv.js +0 -45
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +0 -362
- package/dist/esm/justifi-checkout-summary_6.entry.js +0 -699
- package/dist/esm/justifi-saved-payment-method.entry.js +0 -29
- package/dist/esm/justifi-skeleton.entry.js +0 -15
- package/dist/esm/payment-method-option-utils-lUHAQVFl.js +0 -15
- package/dist/esm/payment-method-option.entry.js +0 -15
- package/dist/esm/terminals-list-params-state-SMXQIZTt.js +0 -16
- package/dist/module/checkout.store.js +0 -36
- package/dist/module/dinero.js +0 -1655
- package/dist/module/header-2.js +0 -8
- package/dist/module/header-3.js +0 -8
- 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-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.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-radio-list-item.d.ts +0 -11
- package/dist/module/justifi-radio-list-item.js +0 -6
- package/dist/module/justifi-radio-list-item2.js +0 -55
- 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 -336
- package/dist/module/payment-method-option-utils.js +0 -15
- package/dist/module/payment-method-option.d.ts +0 -11
- package/dist/module/payment-method-option.js +0 -54
- package/dist/module/saved-payment-methods.js +0 -73
- package/dist/module/summary.js +0 -35
- package/dist/module/tokenize-payment-method.js +0 -400
- package/dist/types/api/BillingInformation.d.ts +0 -13
- package/dist/types/api/PaymentMethod.d.ts +0 -21
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +0 -34
- 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/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 -27
- package/dist/types/ui-components/shadow-dom-components/justifi-button.d.ts +0 -13
- package/dist/types/ui-components/shadow-dom-components/justifi-radio-list-item.d.ts +0 -12
- package/dist/types/ui-components/shadow-dom-components/justifi-skeleton.d.ts +0 -10
- package/dist/webcomponents/p-08ea8974.entry.js +0 -1
- package/dist/webcomponents/p-0932f6a9.entry.js +0 -1
- package/dist/webcomponents/p-09e768fe.entry.js +0 -1
- package/dist/webcomponents/p-15777cfe.entry.js +0 -1
- package/dist/webcomponents/p-22be0859.entry.js +0 -1
- package/dist/webcomponents/p-283cd78b.entry.js +0 -1
- package/dist/webcomponents/p-2a3d5af2.entry.js +0 -1
- package/dist/webcomponents/p-2ec9f293.entry.js +0 -1
- package/dist/webcomponents/p-3095775c.entry.js +0 -1
- package/dist/webcomponents/p-36d72e2d.entry.js +0 -1
- package/dist/webcomponents/p-39b79825.entry.js +0 -1
- package/dist/webcomponents/p-3d85d046.entry.js +0 -1
- package/dist/webcomponents/p-40ba49e4.entry.js +0 -1
- package/dist/webcomponents/p-424f491c.entry.js +0 -1
- package/dist/webcomponents/p-466f33d7.entry.js +0 -1
- package/dist/webcomponents/p-596b2653.entry.js +0 -1
- package/dist/webcomponents/p-5b09c0d8.entry.js +0 -1
- package/dist/webcomponents/p-5rVtZ2GJ.js +0 -1
- package/dist/webcomponents/p-6e18d13f.entry.js +0 -1
- package/dist/webcomponents/p-6f847539.entry.js +0 -1
- package/dist/webcomponents/p-7721a457.entry.js +0 -1
- package/dist/webcomponents/p-77515be6.entry.js +0 -1
- package/dist/webcomponents/p-79055216.entry.js +0 -1
- package/dist/webcomponents/p-7WIgS5RM.js +0 -1
- package/dist/webcomponents/p-7c51805a.entry.js +0 -1
- package/dist/webcomponents/p-7d944f7e.entry.js +0 -1
- package/dist/webcomponents/p-7ef0b68d.entry.js +0 -1
- package/dist/webcomponents/p-818f51fd.entry.js +0 -1
- package/dist/webcomponents/p-89e27079.entry.js +0 -1
- package/dist/webcomponents/p-8f0339de.entry.js +0 -1
- package/dist/webcomponents/p-904a95e5.entry.js +0 -1
- package/dist/webcomponents/p-9b75aced.entry.js +0 -1
- package/dist/webcomponents/p-9bb8bebf.entry.js +0 -1
- package/dist/webcomponents/p-BC8YDY7M.js +0 -1
- package/dist/webcomponents/p-BTkXk7ol.js +0 -1
- package/dist/webcomponents/p-BVD7g3cE.js +0 -1
- package/dist/webcomponents/p-Bb6FBEPP.js +0 -1
- package/dist/webcomponents/p-Bpcb3SsP.js +0 -1
- package/dist/webcomponents/p-Bt388eye.js +0 -1
- package/dist/webcomponents/p-BySyDTv5.js +0 -1
- package/dist/webcomponents/p-C1fMfnu0.js +0 -1
- package/dist/webcomponents/p-CCME-fyU.js +0 -1
- package/dist/webcomponents/p-CEsXw0Ph.js +0 -1
- package/dist/webcomponents/p-CLwzqWk2.js +0 -1
- package/dist/webcomponents/p-CVQyw7ao.js +0 -1
- package/dist/webcomponents/p-C_CXv7AN.js +0 -1
- package/dist/webcomponents/p-Cjcsf8ku.js +0 -1
- package/dist/webcomponents/p-CwZKT93w.js +0 -1
- package/dist/webcomponents/p-D599ZMGU.js +0 -1
- package/dist/webcomponents/p-DD74a16D.js +0 -1
- package/dist/webcomponents/p-DH8F0bsw.js +0 -1
- package/dist/webcomponents/p-DWUnL_zj.js +0 -1
- package/dist/webcomponents/p-DYGIC0QH.js +0 -1
- package/dist/webcomponents/p-DaDsBt65.js +0 -1
- package/dist/webcomponents/p-HXpYMWUU.js +0 -1
- package/dist/webcomponents/p-JgbsbAhz.js +0 -1
- package/dist/webcomponents/p-UD2JhYS2.js +0 -1
- package/dist/webcomponents/p-WEguiGt1.js +0 -1
- package/dist/webcomponents/p-ZpPDShvP.js +0 -1
- package/dist/webcomponents/p-a357be7d.entry.js +0 -1
- package/dist/webcomponents/p-a3d005dc.entry.js +0 -1
- package/dist/webcomponents/p-a4172773.entry.js +0 -1
- package/dist/webcomponents/p-a7d5e434.entry.js +0 -1
- package/dist/webcomponents/p-ae5a3c2a.entry.js +0 -1
- package/dist/webcomponents/p-b107ad76.entry.js +0 -1
- package/dist/webcomponents/p-b504a22b.entry.js +0 -1
- package/dist/webcomponents/p-b6f55d70.entry.js +0 -1
- package/dist/webcomponents/p-ba8ae31f.entry.js +0 -1
- package/dist/webcomponents/p-bdb56836.entry.js +0 -1
- package/dist/webcomponents/p-be06d86a.entry.js +0 -1
- package/dist/webcomponents/p-cb0effeb.entry.js +0 -1
- package/dist/webcomponents/p-cfca1837.entry.js +0 -1
- package/dist/webcomponents/p-d0e24727.entry.js +0 -1
- package/dist/webcomponents/p-d77908ca.entry.js +0 -1
- package/dist/webcomponents/p-dd6d6ddb.entry.js +0 -1
- package/dist/webcomponents/p-df199396.entry.js +0 -1
- package/dist/webcomponents/p-e2174f21.entry.js +0 -1
- package/dist/webcomponents/p-e57263b7.entry.js +0 -1
- package/dist/webcomponents/p-e830a580.entry.js +0 -1
- package/dist/webcomponents/p-e859ece8.entry.js +0 -1
- package/dist/webcomponents/p-eaea7cc1.entry.js +0 -1
- package/dist/webcomponents/p-f2149974.entry.js +0 -1
- package/dist/webcomponents/p-fa33df9f.entry.js +0 -1
- package/dist/webcomponents/p-ff3377e7.entry.js +0 -1
- package/dist/webcomponents/p-ff869ded.entry.js +0 -1
- package/dist/webcomponents/p-pska2q1M.js +0 -1
- package/dist/webcomponents/p-qMrd7_Gp.js +0 -1
- package/dist/webcomponents/p-vRhNRfmB.js +0 -1
- package/dist/webcomponents/p-wutYt_7D.js +0 -1
- package/dist/webcomponents/p-zdIeCUeh.js +0 -1
- package/dist/webcomponents/p-zrUQD0Wr.js +0 -1
package/dist/module/card-form.js
CHANGED
|
@@ -1,94 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { S as Skeleton } from './skeleton.js';
|
|
3
|
-
import { w as waitForConfig, c as configState } from './config-state.js';
|
|
4
|
-
import { d as defineCustomElement$2 } from './iframe-input2.js';
|
|
5
|
-
|
|
6
|
-
const CardFormSkeleton = (props) => {
|
|
7
|
-
const { isReady } = props;
|
|
8
|
-
if (isReady) {
|
|
9
|
-
return null;
|
|
10
|
-
}
|
|
11
|
-
return (h("div", { class: "container-fluid p-0" },
|
|
12
|
-
h("div", { class: "mb-3" },
|
|
13
|
-
h(Skeleton, { height: "18px", width: "100px" }),
|
|
14
|
-
h(Skeleton, { height: "36px" })),
|
|
15
|
-
h("div", { class: "row" },
|
|
16
|
-
h("div", { class: "col-4 align-content-end" },
|
|
17
|
-
h(Skeleton, { height: "18px", width: "80px" }),
|
|
18
|
-
h(Skeleton, { height: "36px" })),
|
|
19
|
-
h("div", { class: "col-4 align-content-end" },
|
|
20
|
-
h(Skeleton, { height: "36px" })),
|
|
21
|
-
h("div", { class: "col-4 align-content-end" },
|
|
22
|
-
h(Skeleton, { height: "18px", width: "30px" }),
|
|
23
|
-
h(Skeleton, { height: "36px" })))));
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
const CardForm$1 = /*@__PURE__*/ proxyCustomElement(class CardForm extends HTMLElement {
|
|
27
|
-
constructor() {
|
|
28
|
-
super();
|
|
29
|
-
this.__registerHost();
|
|
30
|
-
this.isReady = false;
|
|
31
|
-
}
|
|
32
|
-
async componentWillLoad() {
|
|
33
|
-
await waitForConfig();
|
|
34
|
-
this.iframeOrigin = configState.iframeOrigin;
|
|
35
|
-
}
|
|
36
|
-
componentDidRender() {
|
|
37
|
-
const elements = [
|
|
38
|
-
this.cardNumberIframeElement,
|
|
39
|
-
this.expirationMonthIframeElement,
|
|
40
|
-
this.expirationYearIframeElement,
|
|
41
|
-
this.cvvIframeElement,
|
|
42
|
-
];
|
|
43
|
-
Promise.all(elements.map((element) => {
|
|
44
|
-
return new Promise((resolve) => {
|
|
45
|
-
element.addEventListener('iframeLoaded', () => { resolve(); });
|
|
46
|
-
});
|
|
47
|
-
})).then(() => {
|
|
48
|
-
this.isReady = true;
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
async validate() {
|
|
52
|
-
const cardNumberIsValid = await this.cardNumberIframeElement.validate();
|
|
53
|
-
const expirationMonthIsValid = await this.expirationMonthIframeElement.validate();
|
|
54
|
-
const expirationYearIsValid = await this.expirationYearIframeElement.validate();
|
|
55
|
-
const cvvIsValid = await this.cvvIframeElement.validate();
|
|
56
|
-
return cardNumberIsValid && expirationMonthIsValid && expirationYearIsValid && cvvIsValid;
|
|
57
|
-
}
|
|
58
|
-
async tokenize(clientId, paymentMethodMetadata, account) {
|
|
59
|
-
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
60
|
-
}
|
|
61
|
-
render() {
|
|
62
|
-
return (h(Host, { key: 'd5e5c74e5e3be0bb5a9603a89724d23cc6216d6c' }, h(CardFormSkeleton, { key: 'a1e90d74ca6e72678255590a94937932a9520046', isReady: this.isReady }), h("div", { key: 'bb303552ed581492de8ebb0d83cea751ddd90a09', class: "container-fluid p-0", style: {
|
|
63
|
-
opacity: this.isReady ? '1' : '0',
|
|
64
|
-
height: this.isReady ? 'auto' : '0',
|
|
65
|
-
} }, h("div", { key: '9641c97124a504729b1eba3e8704d8fd3fda7fde', class: "mb-3" }, h("iframe-input", { key: 'a5a73c00c2ac0cd12ef98b155a40108248529fb7', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: 'dad1b83f028745aa8b85a8e552f702d5daa3ac6f', class: "d-flex align-items-start" }, h("div", { key: '5de05029d93a81d5ad8c799135863e8cdd1e8619', class: "flex-fill me-3" }, h("iframe-input", { key: '4ec81652e51187bbaa25600299f8cb89f0c41c5c', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '0280f01efdbbfa3542036fa4ee7baec130e42688', class: "flex-fill me-3" }, h("iframe-input", { key: 'b13dba61a6bd18529e70987029592b5b7307e74b', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'edf1e383a148a2d535c4733a2b5af2d8e31e2f43', class: "flex-fill" }, h("iframe-input", { key: 'd63e832db1a089f36909db23cacb110f6571535c', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
|
|
66
|
-
}
|
|
67
|
-
}, [256, "card-form", {
|
|
68
|
-
"isReady": [32],
|
|
69
|
-
"iframeOrigin": [32],
|
|
70
|
-
"validate": [64],
|
|
71
|
-
"tokenize": [64]
|
|
72
|
-
}]);
|
|
73
|
-
function defineCustomElement$1() {
|
|
74
|
-
if (typeof customElements === "undefined") {
|
|
75
|
-
return;
|
|
76
|
-
}
|
|
77
|
-
const components = ["card-form", "iframe-input"];
|
|
78
|
-
components.forEach(tagName => { switch (tagName) {
|
|
79
|
-
case "card-form":
|
|
80
|
-
if (!customElements.get(tagName)) {
|
|
81
|
-
customElements.define(tagName, CardForm$1);
|
|
82
|
-
}
|
|
83
|
-
break;
|
|
84
|
-
case "iframe-input":
|
|
85
|
-
if (!customElements.get(tagName)) {
|
|
86
|
-
defineCustomElement$2();
|
|
87
|
-
}
|
|
88
|
-
break;
|
|
89
|
-
} });
|
|
90
|
-
}
|
|
91
|
-
defineCustomElement$1();
|
|
1
|
+
import { C as CardForm$1, d as defineCustomElement$1 } from './card-form2.js';
|
|
92
2
|
|
|
93
3
|
const CardForm = CardForm$1;
|
|
94
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import { h, proxyCustomElement, HTMLElement } from '@stencil/core/internal/client';
|
|
1
|
+
import { h, proxyCustomElement, HTMLElement, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { S as Skeleton } from './skeleton.js';
|
|
3
|
-
import './details.js';
|
|
4
|
-
import './event-types.js';
|
|
5
|
-
import './justifi-radio-list-item2.js';
|
|
6
|
-
import { S as StyledHost } from './styled-host.js';
|
|
7
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './Analytics.js';
|
|
8
3
|
import { w as waitForConfig, c as configState } from './config-state.js';
|
|
9
|
-
import { d as
|
|
4
|
+
import { d as generateTabId } from './utils2.js';
|
|
10
5
|
import { d as defineCustomElement$1 } from './iframe-input2.js';
|
|
11
6
|
|
|
12
7
|
const CardFormSkeleton = (props) => {
|
|
@@ -29,18 +24,16 @@ const CardFormSkeleton = (props) => {
|
|
|
29
24
|
h(Skeleton, { height: "36px" })))));
|
|
30
25
|
};
|
|
31
26
|
|
|
32
|
-
const
|
|
27
|
+
const CardForm = /*@__PURE__*/ proxyCustomElement(class CardForm extends HTMLElement {
|
|
33
28
|
constructor() {
|
|
34
29
|
super();
|
|
35
30
|
this.__registerHost();
|
|
36
|
-
this.__attachShadow();
|
|
37
31
|
this.isReady = false;
|
|
38
32
|
}
|
|
39
33
|
async componentWillLoad() {
|
|
40
34
|
await waitForConfig();
|
|
41
35
|
this.iframeOrigin = configState.iframeOrigin;
|
|
42
|
-
|
|
43
|
-
this.analytics = new JustifiAnalytics(this);
|
|
36
|
+
this.tabId = generateTabId();
|
|
44
37
|
}
|
|
45
38
|
componentDidRender() {
|
|
46
39
|
const elements = [
|
|
@@ -57,10 +50,6 @@ const JustifiCardForm = /*@__PURE__*/ proxyCustomElement(class JustifiCardForm e
|
|
|
57
50
|
this.isReady = true;
|
|
58
51
|
});
|
|
59
52
|
}
|
|
60
|
-
disconnectedCallback() {
|
|
61
|
-
var _a;
|
|
62
|
-
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
63
|
-
}
|
|
64
53
|
async validate() {
|
|
65
54
|
const cardNumberIsValid = await this.cardNumberIframeElement.validate();
|
|
66
55
|
const expirationMonthIsValid = await this.expirationMonthIframeElement.validate();
|
|
@@ -68,18 +57,19 @@ const JustifiCardForm = /*@__PURE__*/ proxyCustomElement(class JustifiCardForm e
|
|
|
68
57
|
const cvvIsValid = await this.cvvIframeElement.validate();
|
|
69
58
|
return cardNumberIsValid && expirationMonthIsValid && expirationYearIsValid && cvvIsValid;
|
|
70
59
|
}
|
|
71
|
-
async tokenize(
|
|
60
|
+
async tokenize(clientId, paymentMethodMetadata, account) {
|
|
72
61
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
73
62
|
}
|
|
74
63
|
render() {
|
|
75
|
-
return (h(
|
|
64
|
+
return (h(Host, { key: 'fab2d810cd4a51aacd81ca5d43e61ee27e5fb8a4' }, h(CardFormSkeleton, { key: '42d31a9cf55dea31a21fa92d9a5c74ce4ec8d768', isReady: this.isReady }), h("div", { key: 'f1df6f6a3bfdf5f51ecf34a2e27a8de3e63dccd3', class: "container-fluid p-0", style: {
|
|
76
65
|
opacity: this.isReady ? '1' : '0',
|
|
77
66
|
height: this.isReady ? 'auto' : '0',
|
|
78
|
-
} }, h("div", { key: '
|
|
67
|
+
} }, h("div", { key: 'bafadf410b8a1e623a98da33ab3a3834d62c716c', class: "mb-3" }, h("iframe-input", { key: '0e32596def3eb412eedaedabd675d34046293a32', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), h("div", { key: '1166f127047cb248eb8981dc18c8a2d5f597ee2d', class: "d-flex align-items-start" }, h("div", { key: 'f1daac286bfd44a5a90d4dea160760409169d0a2', class: "flex-fill me-3" }, h("iframe-input", { key: 'b100858ff3d439677b60e21bf0b2a8cc48f0a616', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), h("div", { key: '6a3b0ee0cb1de0a12e363c0fb8137b70f20f1fa5', class: "flex-fill me-3" }, h("iframe-input", { key: 'd58cba3700bec37fcb2cb79d80ae23d71896e140', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), h("div", { key: '6026f8b15e8b2d9a8cc518c9e9ddb259629714c8', class: "flex-fill" }, h("iframe-input", { key: '880ffeabf823ca80bc49bbda23750002cc470143', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
|
|
79
68
|
}
|
|
80
|
-
}, [
|
|
69
|
+
}, [256, "card-form", {
|
|
81
70
|
"isReady": [32],
|
|
82
71
|
"iframeOrigin": [32],
|
|
72
|
+
"tabId": [32],
|
|
83
73
|
"validate": [64],
|
|
84
74
|
"tokenize": [64]
|
|
85
75
|
}]);
|
|
@@ -87,16 +77,11 @@ function defineCustomElement() {
|
|
|
87
77
|
if (typeof customElements === "undefined") {
|
|
88
78
|
return;
|
|
89
79
|
}
|
|
90
|
-
const components = ["
|
|
80
|
+
const components = ["card-form", "iframe-input"];
|
|
91
81
|
components.forEach(tagName => { switch (tagName) {
|
|
92
|
-
case "
|
|
93
|
-
if (!customElements.get(tagName)) {
|
|
94
|
-
customElements.define(tagName, JustifiCardForm);
|
|
95
|
-
}
|
|
96
|
-
break;
|
|
97
|
-
case "hidden-input":
|
|
82
|
+
case "card-form":
|
|
98
83
|
if (!customElements.get(tagName)) {
|
|
99
|
-
|
|
84
|
+
customElements.define(tagName, CardForm);
|
|
100
85
|
}
|
|
101
86
|
break;
|
|
102
87
|
case "iframe-input":
|
|
@@ -108,4 +93,4 @@ function defineCustomElement() {
|
|
|
108
93
|
}
|
|
109
94
|
defineCustomElement();
|
|
110
95
|
|
|
111
|
-
export {
|
|
96
|
+
export { CardForm as C, defineCustomElement as d };
|
|
@@ -1,28 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { p as packageJson } from './package.js';
|
|
2
2
|
import { A as Api } from './Api.js';
|
|
3
|
-
import './
|
|
3
|
+
import './Checkout.js';
|
|
4
4
|
import './Pagination.js';
|
|
5
|
+
import './Payment.js';
|
|
6
|
+
import './Refund.js';
|
|
5
7
|
import './Business.js';
|
|
6
8
|
|
|
7
|
-
const latestVersion = async (packageName) => {
|
|
8
|
-
const response = await fetch('https://registry.npmjs.org/' + packageName + '/latest');
|
|
9
|
-
const json = await response.json();
|
|
10
|
-
return json.version;
|
|
11
|
-
};
|
|
12
|
-
const checkPkgVersion = async () => {
|
|
13
|
-
const version = webcomponentsPackageJson.version;
|
|
14
|
-
const packageName = webcomponentsPackageJson.name;
|
|
15
|
-
const latest = await latestVersion(packageName);
|
|
16
|
-
// remove rc from version and everything that comes after -rc
|
|
17
|
-
const latestNotRC = latest.replace(/-rc.*/, '');
|
|
18
|
-
// checkif there's a major version difference
|
|
19
|
-
const versionParts = version.split('.');
|
|
20
|
-
const latestParts = latest.split('.');
|
|
21
|
-
if (versionParts[0] !== latestParts[0]) {
|
|
22
|
-
console.warn(`The package ${packageName} is out of date. The latest version is ${latestNotRC}. Please update.`);
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
|
|
26
9
|
const api = Api();
|
|
27
10
|
class AnalyticsService {
|
|
28
11
|
async record(body) {
|
|
@@ -64,7 +47,7 @@ class JustifiAnalytics {
|
|
|
64
47
|
setUpBasicData() {
|
|
65
48
|
this.basicData = {
|
|
66
49
|
component_name: this.componentInstance.tagName,
|
|
67
|
-
component_version:
|
|
50
|
+
component_version: packageJson.version,
|
|
68
51
|
client_user_agent: navigator.userAgent,
|
|
69
52
|
// navigator.platform is deprecated, use navigator.userAgent instead
|
|
70
53
|
client_platform: navigator.userAgent,
|
|
@@ -105,4 +88,23 @@ class JustifiAnalytics {
|
|
|
105
88
|
}
|
|
106
89
|
}
|
|
107
90
|
|
|
91
|
+
const latestVersion = async (packageName) => {
|
|
92
|
+
const response = await fetch('https://registry.npmjs.org/' + packageName + '/latest');
|
|
93
|
+
const json = await response.json();
|
|
94
|
+
return json.version;
|
|
95
|
+
};
|
|
96
|
+
const checkPkgVersion = async () => {
|
|
97
|
+
const version = packageJson.version;
|
|
98
|
+
const packageName = packageJson.name;
|
|
99
|
+
const latest = await latestVersion(packageName);
|
|
100
|
+
// remove rc from version and everything that comes after -rc
|
|
101
|
+
const latestNotRC = latest.replace(/-rc.*/, '');
|
|
102
|
+
// checkif there's a major version difference
|
|
103
|
+
const versionParts = version.split('.');
|
|
104
|
+
const latestParts = latest.split('.');
|
|
105
|
+
if (versionParts[0] !== latestParts[0]) {
|
|
106
|
+
console.warn(`The package ${packageName} is out of date. The latest version is ${latestNotRC}. Please update.`);
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
|
|
108
110
|
export { JustifiAnalytics as J, checkPkgVersion as c };
|
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { c as formatCurrency } from './utils2.js';
|
|
3
|
+
import { b as Checkout, C as ComponentErrorSeverity } from './Checkout.js';
|
|
4
|
+
import { v as validateInsuranceValues, i as insuranceValuesOn, a as insuranceValues, H as Header2 } from './insurance-state.js';
|
|
5
|
+
import { B as Button } from './button.js';
|
|
6
|
+
import { S as StyledHost } from './styled-host.js';
|
|
7
|
+
import { S as Skeleton } from './skeleton.js';
|
|
8
|
+
import { t as text, W as checkoutSummary } from './parts.js';
|
|
9
|
+
import { d as defineCustomElement$7, H as Header3 } from './billing-form-full.js';
|
|
10
|
+
import './details.js';
|
|
11
|
+
import './event-types.js';
|
|
12
|
+
import { d as defineCustomElement$k } from './bank-account-form2.js';
|
|
13
|
+
import { d as defineCustomElement$j } from './card-form2.js';
|
|
14
|
+
import { d as defineCustomElement$i } from './custom-popper2.js';
|
|
15
|
+
import { d as defineCustomElement$h } from './form-control-checkbox2.js';
|
|
16
|
+
import { d as defineCustomElement$g } from './form-control-help-text2.js';
|
|
17
|
+
import { d as defineCustomElement$f } from './form-control-radio2.js';
|
|
18
|
+
import { d as defineCustomElement$e } from './form-control-select2.js';
|
|
19
|
+
import { d as defineCustomElement$d } from './form-control-text2.js';
|
|
20
|
+
import { d as defineCustomElement$c } from './form-control-tooltip2.js';
|
|
21
|
+
import { d as defineCustomElement$b } from './hidden-input2.js';
|
|
22
|
+
import { d as defineCustomElement$a } from './iframe-input2.js';
|
|
23
|
+
import { d as defineCustomElement$9 } from './bank-account-billing-form-simple.js';
|
|
24
|
+
import { d as defineCustomElement$8 } from './billing-form.js';
|
|
25
|
+
import { d as defineCustomElement$6 } from './card-billing-form-simple.js';
|
|
26
|
+
import { d as defineCustomElement$5 } from './new-payment-method.js';
|
|
27
|
+
import { d as defineCustomElement$4 } from './payment-method-options.js';
|
|
28
|
+
import { d as defineCustomElement$3 } from './save-new-payment-method.js';
|
|
29
|
+
import { d as defineCustomElement$2 } from './saved-payment-method.js';
|
|
30
|
+
import { d as defineCustomElement$1 } from './sezzle-payment-method.js';
|
|
31
|
+
|
|
32
|
+
const CheckoutCore = /*@__PURE__*/ proxyCustomElement(class CheckoutCore extends HTMLElement {
|
|
33
|
+
constructor() {
|
|
34
|
+
super();
|
|
35
|
+
this.__registerHost();
|
|
36
|
+
this.__attachShadow();
|
|
37
|
+
this.submitEvent = createEvent(this, "submit-event", 7);
|
|
38
|
+
this.errorEvent = createEvent(this, "error-event", 7);
|
|
39
|
+
this.loaded = createEvent(this, "loaded", 7);
|
|
40
|
+
this.hasLoadedFonts = false;
|
|
41
|
+
this.renderState = 'loading';
|
|
42
|
+
this.creatingNewPaymentMethod = false;
|
|
43
|
+
this.insuranceToggled = false;
|
|
44
|
+
this.completeCheckout = async (payment) => {
|
|
45
|
+
this.complete({
|
|
46
|
+
payment,
|
|
47
|
+
onSuccess: this.onSubmitted,
|
|
48
|
+
onError: this.onError,
|
|
49
|
+
});
|
|
50
|
+
};
|
|
51
|
+
this.onSubmitted = (response) => {
|
|
52
|
+
this.submitEvent.emit({ response: response });
|
|
53
|
+
this.renderState = 'success';
|
|
54
|
+
};
|
|
55
|
+
this.onError = ({ error, code, severity }) => {
|
|
56
|
+
this.serverError = error;
|
|
57
|
+
this.errorEvent.emit({
|
|
58
|
+
errorCode: code,
|
|
59
|
+
message: error,
|
|
60
|
+
severity,
|
|
61
|
+
});
|
|
62
|
+
this.renderState = 'error';
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
async fillBillingForm(fields) {
|
|
66
|
+
this.paymentMethodOptionsRef.fillBillingForm(fields);
|
|
67
|
+
}
|
|
68
|
+
async validate() {
|
|
69
|
+
const insuranceValidation = validateInsuranceValues();
|
|
70
|
+
const { isValid } = await this.paymentMethodOptionsRef.validate();
|
|
71
|
+
if (!insuranceValidation.isValid || !isValid) {
|
|
72
|
+
return { isValid: false };
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
return { isValid: true };
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
componentWillLoad() {
|
|
79
|
+
if (this.getCheckout) {
|
|
80
|
+
this.fetchData();
|
|
81
|
+
// Refresh the checkout data when insurance is added or removed
|
|
82
|
+
insuranceValuesOn('set', (key) => {
|
|
83
|
+
const value = insuranceValues[key];
|
|
84
|
+
if (value !== undefined) {
|
|
85
|
+
this.insuranceToggled = value;
|
|
86
|
+
this.fetchData();
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
fetchData() {
|
|
92
|
+
this.renderState = 'loading';
|
|
93
|
+
this.getCheckout({
|
|
94
|
+
onSuccess: ({ checkout }) => {
|
|
95
|
+
this.checkout = new Checkout(checkout);
|
|
96
|
+
const { status } = this.checkout;
|
|
97
|
+
this.loaded.emit({ checkout_status: status });
|
|
98
|
+
this.renderState = 'success';
|
|
99
|
+
},
|
|
100
|
+
onError: ({ error, code, severity }) => {
|
|
101
|
+
this.serverError = error;
|
|
102
|
+
this.renderState = 'error';
|
|
103
|
+
this.errorEvent.emit({
|
|
104
|
+
errorCode: code,
|
|
105
|
+
message: error,
|
|
106
|
+
severity,
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
;
|
|
112
|
+
async submit(event) {
|
|
113
|
+
var _a;
|
|
114
|
+
event.preventDefault();
|
|
115
|
+
this.renderState = 'loading';
|
|
116
|
+
const insuranceValidation = validateInsuranceValues();
|
|
117
|
+
const payload = await this.paymentMethodOptionsRef.resolvePaymentMethod(insuranceValidation);
|
|
118
|
+
if (payload.validationError) {
|
|
119
|
+
this.renderState = 'error';
|
|
120
|
+
}
|
|
121
|
+
else if (payload.error) {
|
|
122
|
+
this.renderState = 'error';
|
|
123
|
+
this.serverError = payload.error.message;
|
|
124
|
+
this.onError({
|
|
125
|
+
code: payload.error.code,
|
|
126
|
+
error: payload.error.message,
|
|
127
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
else if (payload.token) {
|
|
131
|
+
this.completeCheckout({ payment_mode: 'ecom', payment_token: payload.token });
|
|
132
|
+
}
|
|
133
|
+
else if (((_a = payload.bnpl) === null || _a === void 0 ? void 0 : _a.status) === 'success') {
|
|
134
|
+
this.completeCheckout({ payment_mode: 'bnpl' });
|
|
135
|
+
}
|
|
136
|
+
else {
|
|
137
|
+
this.renderState = 'error';
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
get isLoading() {
|
|
141
|
+
return this.renderState === 'loading';
|
|
142
|
+
}
|
|
143
|
+
get isError() {
|
|
144
|
+
return this.renderState === 'error';
|
|
145
|
+
}
|
|
146
|
+
get paymentType() {
|
|
147
|
+
var _a, _b, _c, _d, _e;
|
|
148
|
+
return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "300px" })), h("div", { class: this.isLoading && 'visually-hidden' }, 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 }))));
|
|
149
|
+
}
|
|
150
|
+
get summary() {
|
|
151
|
+
var _a, _b;
|
|
152
|
+
return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "24px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("div", { part: text }, (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_description), h("div", null, h("span", { part: text }, "Total"), "\u00A0", h("span", { part: text }, formatCurrency(+((_b = this.checkout) === null || _b === void 0 ? void 0 : _b.total_amount)))))));
|
|
153
|
+
}
|
|
154
|
+
render() {
|
|
155
|
+
return (h(StyledHost, { key: '2fb8b2c2b543712023c74cf9b41dc57675c89237' }, h("div", { key: 'caba36e076e4162d9c92844f7c0632b5bf678de6', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '6a27d64005d785815d5567894d6e2a6e1e515cf8', class: "col-12", part: checkoutSummary }, h(Header2, { key: '645fe4250331805e86811700b453458f065188bd', text: "Summary", class: "fs-5 fw-bold pb-3" }), this.summary), h("div", { key: 'c49c73eb3462ad17e0344e74be508abe958a9358', class: "col-12" }, h("slot", { key: 'be626bff57c95b92f9853e2e9b63dd9279834142', name: "insurance" })), h("div", { key: '025b0400164935f10d6c79d445bfdcf157290fd6', class: "col-12 mt-4" }, h(Header2, { key: '483b5d53b5cea3ae6fccfbb3aa9d3efe0dc8fcab', text: "Payment", class: "fs-5 fw-bold pb-3" }), h(Header3, { key: '21abbd4d669e351c8ad0a87b7b408a4998948b46', text: "Select payment type", class: "fs-6 fw-bold lh-lg" }), h("div", { key: '9441e97e1bd64b796ebcf1404d4ca04964990982', class: "d-flex flex-column" }, this.paymentType)), h("div", { key: '9db2e4fccff5b868e7d329d9b0be864942adcc3d', class: "col-12" }, h("div", { key: '2eaef4ed6062b27de2516de7b71a056c829f8cab', class: "d-flex justify-content-end" }, h(Button, { key: '505869afa61094d628b58a32749c44f678e4fda3', type: "submit", variant: "primary", onClick: (e) => this.submit(e), disabled: this.isLoading, isLoading: this.isLoading, style: { width: '100%' } }, "Pay"))))));
|
|
156
|
+
}
|
|
157
|
+
}, [257, "justifi-checkout-core", {
|
|
158
|
+
"authToken": [1, "auth-token"],
|
|
159
|
+
"getCheckout": [16, "get-checkout"],
|
|
160
|
+
"complete": [16],
|
|
161
|
+
"checkoutId": [1, "checkout-id"],
|
|
162
|
+
"disableCreditCard": [4, "disable-credit-card"],
|
|
163
|
+
"disableBankAccount": [4, "disable-bank-account"],
|
|
164
|
+
"disableBnpl": [4, "disable-bnpl"],
|
|
165
|
+
"disablePaymentMethodGroup": [4, "disable-payment-method-group"],
|
|
166
|
+
"hideCardBillingForm": [4, "hide-card-billing-form"],
|
|
167
|
+
"hideBankAccountBillingForm": [4, "hide-bank-account-billing-form"],
|
|
168
|
+
"hasLoadedFonts": [32],
|
|
169
|
+
"checkout": [32],
|
|
170
|
+
"serverError": [32],
|
|
171
|
+
"renderState": [32],
|
|
172
|
+
"creatingNewPaymentMethod": [32],
|
|
173
|
+
"insuranceToggled": [32],
|
|
174
|
+
"fillBillingForm": [64],
|
|
175
|
+
"validate": [64]
|
|
176
|
+
}]);
|
|
177
|
+
function defineCustomElement() {
|
|
178
|
+
if (typeof customElements === "undefined") {
|
|
179
|
+
return;
|
|
180
|
+
}
|
|
181
|
+
const components = ["justifi-checkout-core", "bank-account-form", "card-form", "custom-popper", "form-control-checkbox", "form-control-help-text", "form-control-radio", "form-control-select", "form-control-text", "form-control-tooltip", "hidden-input", "iframe-input", "justifi-bank-account-billing-form-simple", "justifi-billing-form", "justifi-billing-form-full", "justifi-card-billing-form-simple", "justifi-new-payment-method", "justifi-payment-method-options", "justifi-save-new-payment-method", "justifi-saved-payment-method", "justifi-sezzle-payment-method"];
|
|
182
|
+
components.forEach(tagName => { switch (tagName) {
|
|
183
|
+
case "justifi-checkout-core":
|
|
184
|
+
if (!customElements.get(tagName)) {
|
|
185
|
+
customElements.define(tagName, CheckoutCore);
|
|
186
|
+
}
|
|
187
|
+
break;
|
|
188
|
+
case "bank-account-form":
|
|
189
|
+
if (!customElements.get(tagName)) {
|
|
190
|
+
defineCustomElement$k();
|
|
191
|
+
}
|
|
192
|
+
break;
|
|
193
|
+
case "card-form":
|
|
194
|
+
if (!customElements.get(tagName)) {
|
|
195
|
+
defineCustomElement$j();
|
|
196
|
+
}
|
|
197
|
+
break;
|
|
198
|
+
case "custom-popper":
|
|
199
|
+
if (!customElements.get(tagName)) {
|
|
200
|
+
defineCustomElement$i();
|
|
201
|
+
}
|
|
202
|
+
break;
|
|
203
|
+
case "form-control-checkbox":
|
|
204
|
+
if (!customElements.get(tagName)) {
|
|
205
|
+
defineCustomElement$h();
|
|
206
|
+
}
|
|
207
|
+
break;
|
|
208
|
+
case "form-control-help-text":
|
|
209
|
+
if (!customElements.get(tagName)) {
|
|
210
|
+
defineCustomElement$g();
|
|
211
|
+
}
|
|
212
|
+
break;
|
|
213
|
+
case "form-control-radio":
|
|
214
|
+
if (!customElements.get(tagName)) {
|
|
215
|
+
defineCustomElement$f();
|
|
216
|
+
}
|
|
217
|
+
break;
|
|
218
|
+
case "form-control-select":
|
|
219
|
+
if (!customElements.get(tagName)) {
|
|
220
|
+
defineCustomElement$e();
|
|
221
|
+
}
|
|
222
|
+
break;
|
|
223
|
+
case "form-control-text":
|
|
224
|
+
if (!customElements.get(tagName)) {
|
|
225
|
+
defineCustomElement$d();
|
|
226
|
+
}
|
|
227
|
+
break;
|
|
228
|
+
case "form-control-tooltip":
|
|
229
|
+
if (!customElements.get(tagName)) {
|
|
230
|
+
defineCustomElement$c();
|
|
231
|
+
}
|
|
232
|
+
break;
|
|
233
|
+
case "hidden-input":
|
|
234
|
+
if (!customElements.get(tagName)) {
|
|
235
|
+
defineCustomElement$b();
|
|
236
|
+
}
|
|
237
|
+
break;
|
|
238
|
+
case "iframe-input":
|
|
239
|
+
if (!customElements.get(tagName)) {
|
|
240
|
+
defineCustomElement$a();
|
|
241
|
+
}
|
|
242
|
+
break;
|
|
243
|
+
case "justifi-bank-account-billing-form-simple":
|
|
244
|
+
if (!customElements.get(tagName)) {
|
|
245
|
+
defineCustomElement$9();
|
|
246
|
+
}
|
|
247
|
+
break;
|
|
248
|
+
case "justifi-billing-form":
|
|
249
|
+
if (!customElements.get(tagName)) {
|
|
250
|
+
defineCustomElement$8();
|
|
251
|
+
}
|
|
252
|
+
break;
|
|
253
|
+
case "justifi-billing-form-full":
|
|
254
|
+
if (!customElements.get(tagName)) {
|
|
255
|
+
defineCustomElement$7();
|
|
256
|
+
}
|
|
257
|
+
break;
|
|
258
|
+
case "justifi-card-billing-form-simple":
|
|
259
|
+
if (!customElements.get(tagName)) {
|
|
260
|
+
defineCustomElement$6();
|
|
261
|
+
}
|
|
262
|
+
break;
|
|
263
|
+
case "justifi-new-payment-method":
|
|
264
|
+
if (!customElements.get(tagName)) {
|
|
265
|
+
defineCustomElement$5();
|
|
266
|
+
}
|
|
267
|
+
break;
|
|
268
|
+
case "justifi-payment-method-options":
|
|
269
|
+
if (!customElements.get(tagName)) {
|
|
270
|
+
defineCustomElement$4();
|
|
271
|
+
}
|
|
272
|
+
break;
|
|
273
|
+
case "justifi-save-new-payment-method":
|
|
274
|
+
if (!customElements.get(tagName)) {
|
|
275
|
+
defineCustomElement$3();
|
|
276
|
+
}
|
|
277
|
+
break;
|
|
278
|
+
case "justifi-saved-payment-method":
|
|
279
|
+
if (!customElements.get(tagName)) {
|
|
280
|
+
defineCustomElement$2();
|
|
281
|
+
}
|
|
282
|
+
break;
|
|
283
|
+
case "justifi-sezzle-payment-method":
|
|
284
|
+
if (!customElements.get(tagName)) {
|
|
285
|
+
defineCustomElement$1();
|
|
286
|
+
}
|
|
287
|
+
break;
|
|
288
|
+
} });
|
|
289
|
+
}
|
|
290
|
+
defineCustomElement();
|
|
291
|
+
|
|
292
|
+
export { CheckoutCore as C, defineCustomElement as d };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
2
|
import './config-state.js';
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
3
|
+
import { a as formatDate, h as formatTime } from './utils2.js';
|
|
4
|
+
import './Checkout.js';
|
|
5
5
|
import { p as pagingDefaults } from './Pagination.js';
|
|
6
|
+
import './Payment.js';
|
|
7
|
+
import './Refund.js';
|
|
6
8
|
import './Business.js';
|
|
7
9
|
import './details.js';
|
|
8
10
|
import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
|
|
9
11
|
import { T as TableClickActions } from './event-types.js';
|
|
10
|
-
import './justifi-radio-list-item2.js';
|
|
11
|
-
import { a as formatDate, d as formatTime } from './utils2.js';
|
|
12
12
|
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
13
|
-
import {
|
|
13
|
+
import { n as tableHeadCell, a8 as getAlternateTableCellPart } from './parts.js';
|
|
14
14
|
import { o as onQueryParamsChange, g as getRequestParams } from './checkouts-list-params-state.js';
|
|
15
15
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
16
16
|
|
|
@@ -178,7 +178,7 @@ const CheckoutsListCore = /*@__PURE__*/ proxyCustomElement(class CheckoutsListCo
|
|
|
178
178
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
179
179
|
}
|
|
180
180
|
render() {
|
|
181
|
-
return (h(TableWrapper, { key: '
|
|
181
|
+
return (h(TableWrapper, { key: '2e28ecaebdb41c3f1caae3446e50b7c12ae41fd3' }, h(TableComponent, { key: '91f18d0eb5b540dadb8c3f2ca5e5fdb9fa8c58a6' }, h(TableHead, { key: 'cb525fc273469ed377c77aa2768ac9591e2c9887' }, h(TableHeadRow, { key: '2daca61b401b6ec76003127e203312521031d494' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: '54af9509fb1a3e8ca277420bbd52e6cb91af1c16' }, h(TableLoadingState, { key: '8361ac7b551d50df31b39d824ac1312eb11dcff4', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '774aeed2b5cb2599fe969640aa8676a14ed7961a', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'd647967604a57d0430935b913eaa155a0b1f807c', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'ff25938a838ca2729262ca6918ae76ff919f50d2' }, h(TableFootRow, { key: '4baaf61f51193dd07d7f8d5a75c2b6068137a2de' }, h(TableFootCell, { key: '2994105ef8df42647f9ad16c6ccbf0365008f41b', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: 'b2f3e86d0c25eed661896e915f8dba72b615e311', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
182
182
|
}
|
|
183
183
|
static get watchers() { return {
|
|
184
184
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -1873,7 +1873,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
|
|
|
1873
1873
|
this.hideEvent.emit();
|
|
1874
1874
|
}
|
|
1875
1875
|
render() {
|
|
1876
|
-
return (h("div", { key: '
|
|
1876
|
+
return (h("div", { key: 'fe9f155b8fc3d007a94654801edeacf2d52b9382' }, h("style", { key: '00f31be773f765a7857f0e07d8e1162b721bde11' }, `
|
|
1877
1877
|
.popper-content {
|
|
1878
1878
|
display: none;
|
|
1879
1879
|
}
|
|
@@ -1881,7 +1881,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
|
|
|
1881
1881
|
display: block;
|
|
1882
1882
|
z-index: 1030;
|
|
1883
1883
|
}
|
|
1884
|
-
`), h("div", { key: '
|
|
1884
|
+
`), h("div", { key: '8a790cb7a27fe293308ab5845c8911e4857d92a4', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: 'fc26f065c685d6787561157d1deac4f1f8757024' }))));
|
|
1885
1885
|
}
|
|
1886
1886
|
}, [260, "custom-popper", {
|
|
1887
1887
|
"placement": [1],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, a as create$6, F as FormController } from './form.js';
|
|
3
3
|
import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
|
|
4
|
-
import {
|
|
4
|
+
import { $ as heading5 } from './parts.js';
|
|
5
5
|
import { d as defineCustomElement$6 } from './custom-popper2.js';
|
|
6
6
|
import { d as defineCustomElement$5 } from './form-control-file-v22.js';
|
|
7
7
|
import { d as defineCustomElement$4 } from './form-control-help-text2.js';
|
|
@@ -41,7 +41,7 @@ const CustomerDetails = /*@__PURE__*/ proxyCustomElement(class CustomerDetails e
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
var _a, _b, _c, _d, _e;
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
return (h("div", { key: 'b16377889ebc16a5a86dd7b1961e00e42bd7c882' }, h("div", { key: '4a1b27996c1d834922ab953915dfdc974328e287', class: "row gy-3" }, h("div", { key: 'dabb895b8c24bc24fb76283c98c7c32d75e524a4', class: "col-12" }, h("h2", { key: 'e377b7e920288456b6ceccebcc0a358c94f5d3f2', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '3785ca021c3e6f1e59b6c43167667a6056b88f48', class: "col-12" }, 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 })), h("div", { key: '17a1e76d62da5675dea32feb4e4955eb5dd9266c', class: "col-12" }, 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 })), h("div", { key: '630fda9158a82a0fb13b3aacea29b9d777ca96d3', class: "col-12" }, 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 })), h("div", { key: 'be67c3f4247267017b2d83f43f67778792b48b60', class: "col-12" }, 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 })), h("div", { key: '416f2b6256bcc3a4a448db66e5c172669b520e7f', class: "col-12" }, 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 })))));
|
|
45
45
|
}
|
|
46
46
|
}, [256, "justifi-customer-details", {
|
|
47
47
|
"disputeResponse": [8, "dispute-response"],
|