@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
|
@@ -1,22 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { A as Api } from './Api.js';
|
|
3
|
-
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './
|
|
3
|
+
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
|
|
4
4
|
import './Pagination.js';
|
|
5
|
+
import './Payment.js';
|
|
6
|
+
import './Refund.js';
|
|
5
7
|
import './Business.js';
|
|
6
8
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
7
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { t as text, j as textDanger } from './parts.js';
|
|
12
|
-
import { S as StyledHost } from './styled-host.js';
|
|
13
|
-
import { H as Header2 } from './header-2.js';
|
|
14
|
-
import './details.js';
|
|
15
|
-
import './event-types.js';
|
|
16
|
-
import './justifi-radio-list-item2.js';
|
|
17
|
-
import { S as Skeleton } from './skeleton.js';
|
|
18
|
-
import { d as defineCustomElement$3 } from './form-control-help-text2.js';
|
|
19
|
-
import { d as defineCustomElement$2 } from './form-control-radio2.js';
|
|
9
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
|
|
10
|
+
import { d as defineCustomElement$4 } from './form-control-help-text2.js';
|
|
11
|
+
import { d as defineCustomElement$3 } from './form-control-radio2.js';
|
|
12
|
+
import { d as defineCustomElement$2 } from './season-interruption-insurance-core.js';
|
|
20
13
|
|
|
21
14
|
const api = Api();
|
|
22
15
|
class InsuranceService {
|
|
@@ -87,54 +80,27 @@ const makeToggleCoverage = ({ authToken, service }) => async ({ quoteId, payload
|
|
|
87
80
|
}
|
|
88
81
|
};
|
|
89
82
|
|
|
90
|
-
const SeasonInterruptionInsuranceLoading = () => (h("div", { class: "row gap-3" },
|
|
91
|
-
h("div", { class: "col-12" },
|
|
92
|
-
h(Skeleton, { width: "35%", height: "30px" })),
|
|
93
|
-
h("div", { class: "col-12" },
|
|
94
|
-
h(Skeleton, { width: "70%" })),
|
|
95
|
-
h("div", { class: "col-12" },
|
|
96
|
-
h(Skeleton, { width: "40%" })),
|
|
97
|
-
h("div", { class: "col-12" },
|
|
98
|
-
h(Skeleton, { width: "40%" })),
|
|
99
|
-
h("div", { class: "col-12" },
|
|
100
|
-
h(Skeleton, { width: "100%" })),
|
|
101
|
-
h("div", { class: "col-12" },
|
|
102
|
-
h(Skeleton, { width: "80%" }))));
|
|
103
|
-
|
|
104
83
|
const SeasonInterruptionInsurance = /*@__PURE__*/ proxyCustomElement(class SeasonInterruptionInsurance extends HTMLElement {
|
|
105
84
|
constructor() {
|
|
106
85
|
super();
|
|
107
86
|
this.__registerHost();
|
|
108
87
|
this.__attachShadow();
|
|
109
|
-
this.insuranceUpdated = createEvent(this, "insurance-updated", 7);
|
|
110
88
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
111
|
-
this.isLoading = true;
|
|
112
89
|
}
|
|
113
90
|
async validate() {
|
|
114
|
-
return
|
|
115
|
-
}
|
|
116
|
-
processHTMLContent(html) {
|
|
117
|
-
return processHTML(html, [
|
|
118
|
-
(html) => removeAttribute(html, 'style'),
|
|
119
|
-
(html) => addAttribute(html, 'a', 'part', text),
|
|
120
|
-
(html) => addAttribute(html, 'p', 'part', text),
|
|
121
|
-
]);
|
|
91
|
+
return this.seasonInterruptionCoreRef.validate();
|
|
122
92
|
}
|
|
123
93
|
componentWillLoad() {
|
|
124
94
|
checkPkgVersion();
|
|
125
95
|
this.analytics = new JustifiAnalytics(this);
|
|
126
96
|
this.initializeServiceMethods();
|
|
127
|
-
if (this.getQuote) {
|
|
128
|
-
this.fetchData();
|
|
129
|
-
}
|
|
130
97
|
}
|
|
131
98
|
disconnectedCallback() {
|
|
132
99
|
var _a;
|
|
133
100
|
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
134
101
|
}
|
|
135
102
|
initializeServiceMethods() {
|
|
136
|
-
|
|
137
|
-
if (!authToken) {
|
|
103
|
+
if (!this.authToken) {
|
|
138
104
|
this.errorEvent.emit({
|
|
139
105
|
errorCode: ComponentErrorCodes.MISSING_PROPS,
|
|
140
106
|
message: 'Missing authToken',
|
|
@@ -142,82 +108,17 @@ const SeasonInterruptionInsurance = /*@__PURE__*/ proxyCustomElement(class Seaso
|
|
|
142
108
|
});
|
|
143
109
|
return;
|
|
144
110
|
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
this.toggleCoverage = makeToggleCoverage(config);
|
|
149
|
-
}
|
|
150
|
-
fetchData() {
|
|
151
|
-
this.isLoading = true;
|
|
152
|
-
this.getQuote({
|
|
153
|
-
payload: {
|
|
154
|
-
checkout_id: this.checkoutId || checkoutStore.checkoutId,
|
|
155
|
-
policy_type: "season_interruption",
|
|
156
|
-
primary_identity: {
|
|
157
|
-
state: this.primaryIdentityState,
|
|
158
|
-
email: this.primaryIdentityEmailAddress,
|
|
159
|
-
first_name: this.primaryIdentityFirstName,
|
|
160
|
-
last_name: this.primaryIdentityLastName,
|
|
161
|
-
postal_code: this.primaryIdentityPostalCode,
|
|
162
|
-
country: this.primaryIdentityCountry
|
|
163
|
-
},
|
|
164
|
-
policy_attributes: {
|
|
165
|
-
insurable_amount: this.policyAttributesInsurableAmount,
|
|
166
|
-
start_date: this.policyAttributesStartDate,
|
|
167
|
-
end_date: this.policyAttributesEndDate,
|
|
168
|
-
covered_identity: {
|
|
169
|
-
first_name: this.coveredIdentityFirstName,
|
|
170
|
-
last_name: this.coveredIdentityLastName
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
onSuccess: ({ quote }) => {
|
|
175
|
-
this.quote = quote;
|
|
176
|
-
this.quote.product.description = this.processHTMLContent(this.quote.product.description);
|
|
177
|
-
this.quote.product.legal_disclaimer = this.processHTMLContent(this.quote.product.legal_disclaimer);
|
|
178
|
-
insuranceValues[quote.policy_type] = quote.accepted;
|
|
179
|
-
this.isLoading = false;
|
|
180
|
-
},
|
|
181
|
-
onError: ({ error, code, severity }) => {
|
|
182
|
-
this.isLoading = false;
|
|
183
|
-
this.errorEvent.emit({
|
|
184
|
-
errorCode: code,
|
|
185
|
-
message: error,
|
|
186
|
-
severity,
|
|
187
|
-
});
|
|
188
|
-
}
|
|
111
|
+
this.getQuote = makeGetQuote({
|
|
112
|
+
authToken: this.authToken,
|
|
113
|
+
service: new InsuranceService(),
|
|
189
114
|
});
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
insuranceErrors[this.quote.policy_type] = false;
|
|
194
|
-
this.toggleCoverage({
|
|
195
|
-
quoteId: this.quote.id,
|
|
196
|
-
payload: { accepted: this.accepted },
|
|
197
|
-
onSuccess: () => {
|
|
198
|
-
this.insuranceUpdated.emit();
|
|
199
|
-
insuranceValues[this.quote.policy_type] = this.accepted;
|
|
200
|
-
},
|
|
201
|
-
onError: ({ error, code, severity }) => {
|
|
202
|
-
this.errorEvent.emit({
|
|
203
|
-
errorCode: code,
|
|
204
|
-
message: error,
|
|
205
|
-
severity,
|
|
206
|
-
});
|
|
207
|
-
}
|
|
115
|
+
this.toggleCoverage = makeToggleCoverage({
|
|
116
|
+
authToken: this.authToken,
|
|
117
|
+
service: new InsuranceService(),
|
|
208
118
|
});
|
|
209
119
|
}
|
|
210
|
-
get error() {
|
|
211
|
-
var _a;
|
|
212
|
-
return insuranceErrors[(_a = this.quote) === null || _a === void 0 ? void 0 : _a.policy_type];
|
|
213
|
-
}
|
|
214
120
|
render() {
|
|
215
|
-
|
|
216
|
-
if (this.isLoading)
|
|
217
|
-
return (h(StyledHost, null, h(SeasonInterruptionInsuranceLoading, null)));
|
|
218
|
-
return (h(StyledHost, null, h("div", null, h(Header2, { text: (_a = this.quote) === null || _a === void 0 ? void 0 : _a.product.title, class: "fs-5 fw-bold pb-3" }), h("small", { part: text, innerHTML: (_b = this.quote) === null || _b === void 0 ? void 0 : _b.product.description }), h("form-control-radio", { label: `Accept coverage for ${formatCurrency((_c = this.quote) === null || _c === void 0 ? void 0 : _c.total_cents)}`, name: "opt-in", value: 'true', checked: this.accepted === 'true', inputHandler: this.onChangeHandler.bind(this),
|
|
219
|
-
// don't wanna show error message, but need to show the red border
|
|
220
|
-
errorText: this.error ? ' ' : undefined }), h("form-control-radio", { label: "Decline coverage", name: "opt-in", value: 'false', checked: this.accepted === 'false', inputHandler: this.onChangeHandler.bind(this), errorText: this.error ? ' ' : undefined }), h("div", { class: "invalid-feedback", style: { display: this.error ? 'block' : 'none' }, part: textDanger }, "Please select an option"), h("small", { part: text, innerHTML: (_d = this.quote) === null || _d === void 0 ? void 0 : _d.product.legal_disclaimer }))));
|
|
121
|
+
return (h("justifi-season-interruption-insurance-core", { key: 'aac3dc07107f64d56f6cddf44b54df4a34d11715', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId, getQuote: this.getQuote, toggleCoverage: this.toggleCoverage, "primary-identity-first-name": this.primaryIdentityFirstName, "primary-identity-last-name": this.primaryIdentityLastName, "primary-identity-state": this.primaryIdentityState, "primary-identity-postal-code": this.primaryIdentityPostalCode, "primary-identity-country": this.primaryIdentityCountry, "primary-identity-email-address": this.primaryIdentityEmailAddress, "policy-attributes-insurable-amount": this.policyAttributesInsurableAmount, "policy-attributes-start-date": this.policyAttributesStartDate, "policy-attributes-end-date": this.policyAttributesEndDate, "covered-identity-first-name": this.coveredIdentityFirstName, "covered-identity-last-name": this.coveredIdentityLastName }));
|
|
221
122
|
}
|
|
222
123
|
}, [257, "justifi-season-interruption-insurance", {
|
|
223
124
|
"authToken": [1, "auth-token"],
|
|
@@ -236,15 +137,13 @@ const SeasonInterruptionInsurance = /*@__PURE__*/ proxyCustomElement(class Seaso
|
|
|
236
137
|
"getQuote": [32],
|
|
237
138
|
"toggleCoverage": [32],
|
|
238
139
|
"quote": [32],
|
|
239
|
-
"isLoading": [32],
|
|
240
|
-
"accepted": [32],
|
|
241
140
|
"validate": [64]
|
|
242
141
|
}]);
|
|
243
142
|
function defineCustomElement$1() {
|
|
244
143
|
if (typeof customElements === "undefined") {
|
|
245
144
|
return;
|
|
246
145
|
}
|
|
247
|
-
const components = ["justifi-season-interruption-insurance", "form-control-help-text", "form-control-radio"];
|
|
146
|
+
const components = ["justifi-season-interruption-insurance", "form-control-help-text", "form-control-radio", "justifi-season-interruption-insurance-core"];
|
|
248
147
|
components.forEach(tagName => { switch (tagName) {
|
|
249
148
|
case "justifi-season-interruption-insurance":
|
|
250
149
|
if (!customElements.get(tagName)) {
|
|
@@ -253,10 +152,15 @@ function defineCustomElement$1() {
|
|
|
253
152
|
break;
|
|
254
153
|
case "form-control-help-text":
|
|
255
154
|
if (!customElements.get(tagName)) {
|
|
256
|
-
defineCustomElement$
|
|
155
|
+
defineCustomElement$4();
|
|
257
156
|
}
|
|
258
157
|
break;
|
|
259
158
|
case "form-control-radio":
|
|
159
|
+
if (!customElements.get(tagName)) {
|
|
160
|
+
defineCustomElement$3();
|
|
161
|
+
}
|
|
162
|
+
break;
|
|
163
|
+
case "justifi-season-interruption-insurance-core":
|
|
260
164
|
if (!customElements.get(tagName)) {
|
|
261
165
|
defineCustomElement$2();
|
|
262
166
|
}
|
|
@@ -4,11 +4,12 @@ import { ai as terminalOrdersListFilterMenu, aj as orderStatusTerminalOrdersList
|
|
|
4
4
|
import { S as StyledHost } from './styled-host.js';
|
|
5
5
|
import './details.js';
|
|
6
6
|
import './event-types.js';
|
|
7
|
-
import './justifi-radio-list-item2.js';
|
|
8
7
|
import './config-state.js';
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
8
|
+
import { k as convertToUTC, j as convertToLocal } from './utils2.js';
|
|
9
|
+
import './Checkout.js';
|
|
11
10
|
import './Pagination.js';
|
|
11
|
+
import './Payment.js';
|
|
12
|
+
import { T as TerminalOrderStatus, a as TerminalOrderType } from './Refund.js';
|
|
12
13
|
import './Business.js';
|
|
13
14
|
import { d as defineCustomElement$6 } from './custom-popper2.js';
|
|
14
15
|
import { d as defineCustomElement$5 } from './form-control-date2.js';
|
|
@@ -62,8 +63,8 @@ const TerminalOrdersListFilters = /*@__PURE__*/ proxyCustomElement(class Termina
|
|
|
62
63
|
}
|
|
63
64
|
render() {
|
|
64
65
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
65
|
-
return (h(StyledHost, { key: '
|
|
66
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterTerminalOrdersListFilterParam })), h("div", { key: '
|
|
66
|
+
return (h(StyledHost, { key: '583766e7fe6e649d4c575b74674c6df3528b9f23' }, h("table-filters-menu", { key: 'b153c328d120c9f45339b36a05f1f31e95488f05', params: filterMenuParams, clearParams: clearParams, part: terminalOrdersListFilterMenu }, h("div", { key: '2f8183f040f65592771425b8ef08d8991112de58', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '5d92afe66d4ad1518b02966a7bd20b919481df8d', class: "p-2" }, h("form-control-select", { key: '5d9619b0f89917158e3f73dbdd257b3ab9f42798', name: "order_status", label: "Order Status", options: this.terminalOrderStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderStatus || filterParams.order_status, disabled: !!this.orderStatus, part: orderStatusTerminalOrdersListFilterParam })), h("div", { key: '149e9cabd81646a1bed3f448472c83b503519c03', class: "p-2" }, h("form-control-select", { key: '0124bbb2937fb7f1b83f09253f268d06e057a023', name: "order_type", label: "Order Type", options: this.terminalOrderTypeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderType || filterParams.order_type, disabled: !!this.orderType, part: orderTypeTerminalOrdersListFilterParam })), h("div", { key: 'e59daa2229b40867eeaf3be94bffda752304186a', class: "p-2" }, h("form-control-date", { key: '1a6470d8619c6a5e15499021df8fce7dcc1e7a4c', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
67
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterTerminalOrdersListFilterParam })), h("div", { key: '63ce4af7c5ce8e84c222de5f279af78d0fe70b98', class: "p-2" }, h("form-control-date", { key: '44f2c492dda5bd6ebc215b1b8bcdf12fe8d346e8', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
67
68
|
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforeTerminalOrdersListFilterParam }))))));
|
|
68
69
|
}
|
|
69
70
|
}, [257, "justifi-terminal-orders-list-filters", {
|
|
@@ -2,13 +2,14 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
|
|
|
2
2
|
import { S as StyledHost } from './styled-host.js';
|
|
3
3
|
import './details.js';
|
|
4
4
|
import './event-types.js';
|
|
5
|
-
import './
|
|
6
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './Analytics.js';
|
|
5
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
|
|
7
6
|
import { d as defineCustomElement$2, a as defaultColumnsKeys } from './terminal-orders-list-core2.js';
|
|
8
7
|
import './config-state.js';
|
|
9
|
-
import './
|
|
10
|
-
import {
|
|
8
|
+
import './utils2.js';
|
|
9
|
+
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
|
|
11
10
|
import './Pagination.js';
|
|
11
|
+
import './Payment.js';
|
|
12
|
+
import { g as TerminalOrder } from './Refund.js';
|
|
12
13
|
import './Business.js';
|
|
13
14
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
14
15
|
import { A as Api } from './Api.js';
|
|
@@ -96,7 +97,7 @@ const TerminalOrdersList = /*@__PURE__*/ proxyCustomElement(class TerminalOrders
|
|
|
96
97
|
}
|
|
97
98
|
}
|
|
98
99
|
render() {
|
|
99
|
-
return (h(StyledHost, { key: '
|
|
100
|
+
return (h(StyledHost, { key: 'e1443c306b24a4e0e179458a899f7e362ef50d67' }, h("terminal-orders-list-core", { key: '8c7df6db57f09f71795273aa1e5ec5e93e67a09b', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
100
101
|
}
|
|
101
102
|
}, [257, "justifi-terminal-orders-list", {
|
|
102
103
|
"accountId": [1, "account-id"],
|
|
@@ -5,11 +5,12 @@ import { an as terminalsListFilterMenu, ao as terminalIdTerminalsListFilterParam
|
|
|
5
5
|
import { S as StyledHost } from './styled-host.js';
|
|
6
6
|
import './details.js';
|
|
7
7
|
import './event-types.js';
|
|
8
|
-
import './justifi-radio-list-item2.js';
|
|
9
8
|
import './config-state.js';
|
|
10
|
-
import './
|
|
11
|
-
import
|
|
9
|
+
import './utils2.js';
|
|
10
|
+
import './Checkout.js';
|
|
12
11
|
import './Pagination.js';
|
|
12
|
+
import './Payment.js';
|
|
13
|
+
import { I as ITerminalStatus } from './Refund.js';
|
|
13
14
|
import './Business.js';
|
|
14
15
|
import { d as defineCustomElement$6 } from './custom-popper2.js';
|
|
15
16
|
import { d as defineCustomElement$5 } from './form-control-select2.js';
|
|
@@ -51,7 +52,7 @@ const TerminalsListFilters = /*@__PURE__*/ proxyCustomElement(class TerminalsLis
|
|
|
51
52
|
}
|
|
52
53
|
render() {
|
|
53
54
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
54
|
-
return (h(StyledHost, { key: '
|
|
55
|
+
return (h(StyledHost, { key: '33d0e44947a2df5217d725fab6cbdee16b82b505' }, h("table-filters-menu", { key: '23d37f21ce7fe37f8e09cb8244593c8cd87d6163', params: filterMenuParams, clearParams: clearParams, part: terminalsListFilterMenu }, h("div", { key: '72bea11d594c36b78819da9a4df7b637af9c82f5', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '6001d65ea3c2f0e7e950ff647d2e25ab0986e757', class: "p-2" }, h("form-control-text", { key: '035f811a609d95f6445eafc94c5ccca42c5086e0', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdTerminalsListFilterParam })), h("div", { key: '0f1f0f6a83ecc78dfea9c9744d6c26c64549231d', class: "p-2" }, h("form-control-text", { key: '9798016e2e88ea4e90f280afa3ecb9d34748ff4c', name: "terminal_order_id", label: "Terminal Order ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalOrderId || filterParams.terminal_order_id, disabled: !!this.terminalOrderId, part: terminalOrderIdTerminalsListFilterParam })), h("div", { key: '719f95cc9b707b626fcb7234164f247dec321b0f', class: "p-2" }, h("form-control-select", { key: '08482cde28ea4fb2d25cba044112b8a47ffe8c33', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status, disabled: !!this.terminalStatus, part: terminalStatusTerminalsListFilterParam }))))));
|
|
55
56
|
}
|
|
56
57
|
}, [257, "justifi-terminals-list-filters", {
|
|
57
58
|
"terminalId": [1, "terminal-id"],
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
3
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './
|
|
2
|
+
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
|
|
3
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
|
|
4
4
|
import { T as TerminalService } from './terminal.service.js';
|
|
5
5
|
import './config-state.js';
|
|
6
|
-
import './
|
|
6
|
+
import './utils2.js';
|
|
7
7
|
import './Pagination.js';
|
|
8
|
+
import './Payment.js';
|
|
9
|
+
import { d as Terminal } from './Refund.js';
|
|
8
10
|
import './Business.js';
|
|
9
11
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
10
12
|
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts.js';
|
|
11
13
|
import { S as StyledHost } from './styled-host.js';
|
|
12
14
|
import './details.js';
|
|
13
15
|
import './event-types.js';
|
|
14
|
-
import './justifi-radio-list-item2.js';
|
|
15
16
|
import { d as defineCustomElement$2, a as defaultColumnsKeys } from './terminals-list-core2.js';
|
|
16
17
|
import { d as defineCustomElement$3 } from './pagination-menu2.js';
|
|
17
18
|
|
|
@@ -101,7 +102,7 @@ const TerminalsList = /*@__PURE__*/ proxyCustomElement(class TerminalsList exten
|
|
|
101
102
|
}
|
|
102
103
|
}
|
|
103
104
|
render() {
|
|
104
|
-
return (h(StyledHost, { key: '
|
|
105
|
+
return (h(StyledHost, { key: 'a35e4efef6e52f45e8c2c232bde43afc0f5945ab' }, h("terminals-list-core", { key: '46cdde8b97d04760cf1a32f561513dcf42c5dd37', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
105
106
|
}
|
|
106
107
|
static get watchers() { return {
|
|
107
108
|
"accountId": ["propChanged"],
|
|
@@ -1,4 +1,222 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { B as Button } from './button.js';
|
|
3
|
+
import { S as StyledHost } from './styled-host.js';
|
|
4
|
+
import './details.js';
|
|
5
|
+
import './event-types.js';
|
|
6
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
|
|
7
|
+
import './config-state.js';
|
|
8
|
+
import './utils2.js';
|
|
9
|
+
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
|
|
10
|
+
import './Pagination.js';
|
|
11
|
+
import './Payment.js';
|
|
12
|
+
import './Refund.js';
|
|
13
|
+
import './Business.js';
|
|
14
|
+
import { d as defineCustomElement$l } from './bank-account-form2.js';
|
|
15
|
+
import { d as defineCustomElement$k } from './card-form2.js';
|
|
16
|
+
import { d as defineCustomElement$j } from './custom-popper2.js';
|
|
17
|
+
import { d as defineCustomElement$i } from './form-control-checkbox2.js';
|
|
18
|
+
import { d as defineCustomElement$h } from './form-control-help-text2.js';
|
|
19
|
+
import { d as defineCustomElement$g } from './form-control-radio2.js';
|
|
20
|
+
import { d as defineCustomElement$f } from './form-control-select2.js';
|
|
21
|
+
import { d as defineCustomElement$e } from './form-control-text2.js';
|
|
22
|
+
import { d as defineCustomElement$d } from './form-control-tooltip2.js';
|
|
23
|
+
import { d as defineCustomElement$c } from './hidden-input2.js';
|
|
24
|
+
import { d as defineCustomElement$b } from './iframe-input2.js';
|
|
25
|
+
import { d as defineCustomElement$a } from './bank-account-billing-form-simple.js';
|
|
26
|
+
import { d as defineCustomElement$9 } from './billing-form.js';
|
|
27
|
+
import { d as defineCustomElement$8 } from './billing-form-full.js';
|
|
28
|
+
import { d as defineCustomElement$7 } from './card-billing-form-simple.js';
|
|
29
|
+
import { d as defineCustomElement$6 } from './new-payment-method.js';
|
|
30
|
+
import { d as defineCustomElement$5 } from './payment-method-options.js';
|
|
31
|
+
import { d as defineCustomElement$4 } from './save-new-payment-method.js';
|
|
32
|
+
import { d as defineCustomElement$3 } from './saved-payment-method.js';
|
|
33
|
+
import { d as defineCustomElement$2 } from './sezzle-payment-method.js';
|
|
34
|
+
|
|
35
|
+
const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePaymentMethod extends HTMLElement {
|
|
36
|
+
constructor() {
|
|
37
|
+
super();
|
|
38
|
+
this.__registerHost();
|
|
39
|
+
this.__attachShadow();
|
|
40
|
+
this.errorEvent = createEvent(this, "error-event", 7);
|
|
41
|
+
this.submitEvent = createEvent(this, "submit-event", 7);
|
|
42
|
+
this.submitButtonText = 'Submit';
|
|
43
|
+
this.isLoading = false;
|
|
44
|
+
}
|
|
45
|
+
componentWillLoad() {
|
|
46
|
+
checkPkgVersion();
|
|
47
|
+
this.analytics = new JustifiAnalytics(this);
|
|
48
|
+
}
|
|
49
|
+
disconnectedCallback() {
|
|
50
|
+
var _a;
|
|
51
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
52
|
+
}
|
|
53
|
+
;
|
|
54
|
+
async tokenizePaymentMethod(event) {
|
|
55
|
+
event && event.preventDefault();
|
|
56
|
+
this.isLoading = true;
|
|
57
|
+
let tokenizeResponse;
|
|
58
|
+
try {
|
|
59
|
+
tokenizeResponse = await this.paymentMethodOptionsRef.resolvePaymentMethod({ isValid: true });
|
|
60
|
+
if (tokenizeResponse.error) {
|
|
61
|
+
this.errorEvent.emit({
|
|
62
|
+
errorCode: tokenizeResponse.error.code,
|
|
63
|
+
message: tokenizeResponse.error.message,
|
|
64
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
catch (error) {
|
|
69
|
+
const errorData = {
|
|
70
|
+
errorCode: ComponentErrorCodes.TOKENIZE_ERROR,
|
|
71
|
+
message: error.message,
|
|
72
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
73
|
+
};
|
|
74
|
+
this.errorEvent.emit(errorData);
|
|
75
|
+
}
|
|
76
|
+
finally {
|
|
77
|
+
this.submitEvent.emit({ response: tokenizeResponse });
|
|
78
|
+
this.isLoading = false;
|
|
79
|
+
return tokenizeResponse;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
async fillBillingForm(fields) {
|
|
83
|
+
this.paymentMethodOptionsRef.fillBillingForm(fields);
|
|
84
|
+
}
|
|
85
|
+
async validate() {
|
|
86
|
+
return this.paymentMethodOptionsRef.validate();
|
|
87
|
+
}
|
|
88
|
+
render() {
|
|
89
|
+
return (h(StyledHost, { key: 'bde61e05e8148b4bb3c054d124070a160fd7ca13' }, h("form", { key: 'ea0dd3192fc924bbf22a80562030c6557e32d905' }, h("fieldset", { key: '8a96c0b8e5497d97f0e546558e0ad37a57a459cb' }, h("div", { key: '849547d7b1c810533af86104eb7ae42b569c9c97', class: "row gy-3" }, h("div", { key: 'afc1b73d0a027e2ea6e8cec831f43f53cd2b8666', class: "col-12" }, h("justifi-payment-method-options", { key: '8af2e6076d689ca358a9542cea10d314dee68444', ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": false, paymentMethodGroupId: this.paymentMethodGroupId, "show-saved-payment-methods": false, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, authToken: this.authToken, "account-id": this.accountId })), h("div", { key: '62ac0ff4f7774adadfa8bbbdbc474ba3cd15c5f4', class: "col-12" }, h(Button, { key: 'c5212829153b3c217ce18aac4cbb3afa58f1e7b3', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.hideSubmitButton }, this.submitButtonText)))))));
|
|
90
|
+
}
|
|
91
|
+
}, [257, "justifi-tokenize-payment-method", {
|
|
92
|
+
"authToken": [1, "auth-token"],
|
|
93
|
+
"accountId": [1, "account-id"],
|
|
94
|
+
"paymentMethodGroupId": [1, "payment-method-group-id"],
|
|
95
|
+
"submitButtonText": [1, "submit-button-text"],
|
|
96
|
+
"disableCreditCard": [4, "disable-credit-card"],
|
|
97
|
+
"disableBankAccount": [4, "disable-bank-account"],
|
|
98
|
+
"hideSubmitButton": [4, "hide-submit-button"],
|
|
99
|
+
"hideCardBillingForm": [4, "hide-card-billing-form"],
|
|
100
|
+
"hideBankAccountBillingForm": [4, "hide-bank-account-billing-form"],
|
|
101
|
+
"isLoading": [32],
|
|
102
|
+
"tokenizePaymentMethod": [64],
|
|
103
|
+
"fillBillingForm": [64],
|
|
104
|
+
"validate": [64]
|
|
105
|
+
}]);
|
|
106
|
+
function defineCustomElement$1() {
|
|
107
|
+
if (typeof customElements === "undefined") {
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
const components = ["justifi-tokenize-payment-method", "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"];
|
|
111
|
+
components.forEach(tagName => { switch (tagName) {
|
|
112
|
+
case "justifi-tokenize-payment-method":
|
|
113
|
+
if (!customElements.get(tagName)) {
|
|
114
|
+
customElements.define(tagName, TokenizePaymentMethod);
|
|
115
|
+
}
|
|
116
|
+
break;
|
|
117
|
+
case "bank-account-form":
|
|
118
|
+
if (!customElements.get(tagName)) {
|
|
119
|
+
defineCustomElement$l();
|
|
120
|
+
}
|
|
121
|
+
break;
|
|
122
|
+
case "card-form":
|
|
123
|
+
if (!customElements.get(tagName)) {
|
|
124
|
+
defineCustomElement$k();
|
|
125
|
+
}
|
|
126
|
+
break;
|
|
127
|
+
case "custom-popper":
|
|
128
|
+
if (!customElements.get(tagName)) {
|
|
129
|
+
defineCustomElement$j();
|
|
130
|
+
}
|
|
131
|
+
break;
|
|
132
|
+
case "form-control-checkbox":
|
|
133
|
+
if (!customElements.get(tagName)) {
|
|
134
|
+
defineCustomElement$i();
|
|
135
|
+
}
|
|
136
|
+
break;
|
|
137
|
+
case "form-control-help-text":
|
|
138
|
+
if (!customElements.get(tagName)) {
|
|
139
|
+
defineCustomElement$h();
|
|
140
|
+
}
|
|
141
|
+
break;
|
|
142
|
+
case "form-control-radio":
|
|
143
|
+
if (!customElements.get(tagName)) {
|
|
144
|
+
defineCustomElement$g();
|
|
145
|
+
}
|
|
146
|
+
break;
|
|
147
|
+
case "form-control-select":
|
|
148
|
+
if (!customElements.get(tagName)) {
|
|
149
|
+
defineCustomElement$f();
|
|
150
|
+
}
|
|
151
|
+
break;
|
|
152
|
+
case "form-control-text":
|
|
153
|
+
if (!customElements.get(tagName)) {
|
|
154
|
+
defineCustomElement$e();
|
|
155
|
+
}
|
|
156
|
+
break;
|
|
157
|
+
case "form-control-tooltip":
|
|
158
|
+
if (!customElements.get(tagName)) {
|
|
159
|
+
defineCustomElement$d();
|
|
160
|
+
}
|
|
161
|
+
break;
|
|
162
|
+
case "hidden-input":
|
|
163
|
+
if (!customElements.get(tagName)) {
|
|
164
|
+
defineCustomElement$c();
|
|
165
|
+
}
|
|
166
|
+
break;
|
|
167
|
+
case "iframe-input":
|
|
168
|
+
if (!customElements.get(tagName)) {
|
|
169
|
+
defineCustomElement$b();
|
|
170
|
+
}
|
|
171
|
+
break;
|
|
172
|
+
case "justifi-bank-account-billing-form-simple":
|
|
173
|
+
if (!customElements.get(tagName)) {
|
|
174
|
+
defineCustomElement$a();
|
|
175
|
+
}
|
|
176
|
+
break;
|
|
177
|
+
case "justifi-billing-form":
|
|
178
|
+
if (!customElements.get(tagName)) {
|
|
179
|
+
defineCustomElement$9();
|
|
180
|
+
}
|
|
181
|
+
break;
|
|
182
|
+
case "justifi-billing-form-full":
|
|
183
|
+
if (!customElements.get(tagName)) {
|
|
184
|
+
defineCustomElement$8();
|
|
185
|
+
}
|
|
186
|
+
break;
|
|
187
|
+
case "justifi-card-billing-form-simple":
|
|
188
|
+
if (!customElements.get(tagName)) {
|
|
189
|
+
defineCustomElement$7();
|
|
190
|
+
}
|
|
191
|
+
break;
|
|
192
|
+
case "justifi-new-payment-method":
|
|
193
|
+
if (!customElements.get(tagName)) {
|
|
194
|
+
defineCustomElement$6();
|
|
195
|
+
}
|
|
196
|
+
break;
|
|
197
|
+
case "justifi-payment-method-options":
|
|
198
|
+
if (!customElements.get(tagName)) {
|
|
199
|
+
defineCustomElement$5();
|
|
200
|
+
}
|
|
201
|
+
break;
|
|
202
|
+
case "justifi-save-new-payment-method":
|
|
203
|
+
if (!customElements.get(tagName)) {
|
|
204
|
+
defineCustomElement$4();
|
|
205
|
+
}
|
|
206
|
+
break;
|
|
207
|
+
case "justifi-saved-payment-method":
|
|
208
|
+
if (!customElements.get(tagName)) {
|
|
209
|
+
defineCustomElement$3();
|
|
210
|
+
}
|
|
211
|
+
break;
|
|
212
|
+
case "justifi-sezzle-payment-method":
|
|
213
|
+
if (!customElements.get(tagName)) {
|
|
214
|
+
defineCustomElement$2();
|
|
215
|
+
}
|
|
216
|
+
break;
|
|
217
|
+
} });
|
|
218
|
+
}
|
|
219
|
+
defineCustomElement$1();
|
|
2
220
|
|
|
3
221
|
const JustifiTokenizePaymentMethod = TokenizePaymentMethod;
|
|
4
222
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './
|
|
2
|
+
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
|
|
3
3
|
import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions.js';
|
|
4
4
|
import { B as BusinessService } from './business.service.js';
|
|
5
5
|
import { d as defineCustomElement$5 } from './custom-popper2.js';
|
|
@@ -45,7 +45,7 @@ const LegalAddressFormStep = /*@__PURE__*/ proxyCustomElement(class LegalAddress
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h("justifi-legal-address-form-step-core", { key: '
|
|
48
|
+
return (h("justifi-legal-address-form-step-core", { key: '65d876bee76f4deb4df115e636fafaef2c883f24', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
49
49
|
}
|
|
50
50
|
static get watchers() { return {
|
|
51
51
|
"authToken": ["propChanged"],
|
|
@@ -24,7 +24,7 @@ const LegalAddressForm = /*@__PURE__*/ proxyCustomElement(class LegalAddressForm
|
|
|
24
24
|
render() {
|
|
25
25
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
26
26
|
const legalAddressDefaultValue = this.formController.getInitialValues().legal_address;
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '129b2ec053708454db5a515fdae9a7fba5289336' }, h("fieldset", { key: '6af5c9469acc432ea01ff404af25727bd444abc7' }, h("legend", { key: '1af149db608a13d18142aaea83f9ed2e8271fdc0', part: heading2 }, "Business Legal Address"), h("div", { key: '805c6ae992ebed34937b9a2622f50a7f99c7d0e6', class: "row gy-3" }, h("div", { key: '78750dc68bcc6782bc4a71cfd14d417e980a57a6', class: "col-12" }, h("form-control-text", { key: '18a75e38a7a5fbfcbbbce56e4967ce34c5618c8e', name: "line1", label: "Legal Address", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line1, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.legal_address) === null || _b === void 0 ? void 0 : _b.line1 })), h("div", { key: '676622c84785edfafa3413359d4985d26a734985', class: "col-12" }, h("form-control-text", { key: 'e8467f96595d240f5fc93585e472ad844cc49143', name: "line2", label: "Address Line 2", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line2, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.legal_address) === null || _d === void 0 ? void 0 : _d.line2 })), h("div", { key: '01556012d9335d23c14e130ca72b6e75028bcb36', class: "col-12" }, h("form-control-text", { key: 'c08dcd0ef726ff714d60de26492ced763a7d32ff', name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.city, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.legal_address) === null || _f === void 0 ? void 0 : _f.city })), h("div", { key: 'ad811869e742f265a5441c6f36c2a55fa0b07952', class: "col-12" }, h("form-control-select", { key: '47cc4b15578257f3c1fdee7896d28da94b5aaa16', name: "state", label: "State", options: StateOptions, inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.state, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.legal_address) === null || _h === void 0 ? void 0 : _h.state })), h("div", { key: 'f732fd2ed3967ee7fd602f41c62efd24cf6038eb', class: "col-12" }, h("form-control-text", { key: '0431a63d11beb6682a2544d2483901f7fffa77bd', name: "postal_code", label: "Postal Code", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.postal_code, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.legal_address) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: 5, keyDownHandler: numberOnlyHandler })), h("div", { key: 'cca67b0cd006f6cf9f9bbfe147507eb0ac6fecca', class: "col-12" }, h("form-control-select", { key: 'f561947f9443ea6f56d7ae31d44a69e2462c0751', name: "country", label: "Country", options: [{ label: 'United States', value: 'USA' }], inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.country, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.legal_address) === null || _m === void 0 ? void 0 : _m.country,
|
|
28
28
|
// just for now so we skip handling country specificities
|
|
29
29
|
disabled: true }))))));
|
|
30
30
|
}
|