@justifi/webcomponents 5.7.1 → 5.7.3-rc-01
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/{check-pkg-version-BqC8BOhm.js → Analytics-DYN4hp2b.js} +27 -26
- package/dist/cjs/{Api-C8nf_gS9.js → Api-BTdkb3Zh.js} +2 -2
- package/dist/cjs/{Business-DyiDiIuO.js → Business-DCRzZf0w.js} +3 -1
- package/dist/cjs/{Checkout-RAGvjVPj.js → Checkout-BsYZoJ0a.js} +2 -4
- package/dist/cjs/{ComponentError-C4MdBBMe.js → ComponentError-CEv9ltwy.js} +2 -0
- package/dist/cjs/Document-rXGBUaOh.js +58 -0
- package/dist/cjs/{Document-CL5Zc72Q.js → Payment-D5UynU2f.js} +1 -57
- package/dist/cjs/{Refund-CYxocU06.js → Refund-BDFOEJv_.js} +1 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +14 -15
- package/dist/cjs/{badge-BxoJOyTJ.js → badge-sO_Hcamo.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +15 -14
- package/dist/cjs/{bank-account-form_9.cjs.entry.js → bank-account-form_7.cjs.entry.js} +51 -210
- package/dist/cjs/billing-form-schema-oZ4GROWP.js +26 -0
- package/dist/cjs/{business-additional-questions-schema-DR8vt11M.js → business-additional-questions-schema-CHOaeZot.js} +6 -6
- package/dist/cjs/business-details-core.cjs.entry.js +5 -6
- package/dist/cjs/{business-form-options-BCj0efiD.js → business-form-options-CMII7nIK.js} +1 -1
- package/dist/cjs/{business-identity-schema-BYaCsboD.js → business-identity-schema-DmpEndsx.js} +10 -10
- package/dist/cjs/{business.service-C2rg_zSw.js → business.service-ev-3rHag.js} +7 -6
- package/dist/cjs/{button-BPFSRx4d.js → button-CCZd8WSY.js} +1 -1
- package/dist/cjs/checkout-actions-CRbQgLn0.js +61 -0
- package/dist/cjs/{checkout.service-CyvIIMeq.js → checkout.service-D4hTYr1i.js} +7 -6
- package/dist/cjs/checkout.store-osqdxFMq.js +29 -0
- package/dist/cjs/checkouts-list-core.cjs.entry.js +16 -15
- package/dist/cjs/{checkouts-list-params-state-BvG5Ysrg.js → checkouts-list-params-state-fVsfZZ5G.js} +1 -1
- package/dist/cjs/{checkouts-table-_T5eblyc.js → checkouts-table-C1Jv_A7m.js} +3 -3
- package/dist/cjs/{config-state-D7p-XunE.js → config-state-BTfJl-LU.js} +1 -1
- package/dist/cjs/custom-popper_4.cjs.entry.js +8 -8
- package/dist/cjs/{dispute.service-CKPR1vFS.js → dispute.service-Dru9NStj.js} +7 -6
- package/dist/cjs/{index.esm-CVuJLXJZ.js → form-CWW8IM-X.js} +10509 -10509
- package/dist/cjs/form-alert_5.cjs.entry.js +3 -3
- 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-D9XDyFoW.js → form-control-error-text-DPDsFdAT.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-help-text-J_boqSMc.js → form-control-help-text-CT5HzEnX.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 +3 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +6 -6
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -4
- 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/{get-business-DHg5rpse.js → get-business-BiEc-jdH.js} +3 -3
- package/dist/cjs/{get-payment-details-C9HqIv-M.js → get-payment-details-AOibpML7.js} +10 -9
- package/dist/cjs/{get-payout-csv-CXEQkjDm.js → get-payout-csv-CdNRRH0t.js} +2 -2
- package/dist/cjs/{get-subaccounts-BNpIanJ9.js → get-subaccounts-Dw7CbPDi.js} +10 -9
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
- package/dist/cjs/{header-1-auSUfIpO.js → header-1--wdCXxjA.js} +1 -1
- package/dist/cjs/{header-3-B-bXHCpC.js → header-3-DxUQJ7TT.js} +1 -1
- package/dist/cjs/{iframe-input.cjs.entry.js → hidden-input_2.cjs.entry.js} +112 -15
- package/dist/cjs/{index-BYd8IvAa.js → index-2GwnTbNA.js} +22 -4
- package/dist/cjs/{index-B8ljHEN1.js → index-DEMVrrsF.js} +1 -1
- package/dist/cjs/{insurance-state-CFxbKNWH.js → insurance-state-BmAF1Sef.js} +2 -2
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +25 -24
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +23 -22
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +43 -43
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +85 -0
- package/dist/cjs/justifi-billing-information-form.cjs.entry.js +51 -0
- package/dist/cjs/justifi-business-details.cjs.entry.js +26 -20
- package/dist/cjs/justifi-business-form.cjs.entry.js +29 -28
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +93 -0
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +10 -10
- package/dist/cjs/justifi-checkout-summary.cjs.entry.js +21 -0
- package/dist/cjs/justifi-checkout.cjs.entry.js +31 -74
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +13 -12
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +22 -21
- package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
- package/dist/cjs/justifi-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +18 -17
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +23 -22
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +17 -16
- package/dist/cjs/justifi-modular-checkout.cjs.entry.js +205 -0
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +22 -21
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +20 -19
- package/dist/cjs/justifi-payment-details.cjs.entry.js +19 -18
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +18 -17
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +21 -20
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payments-list.cjs.entry.js +23 -22
- package/dist/cjs/justifi-payout-details.cjs.entry.js +19 -18
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +21 -20
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +24 -23
- package/dist/cjs/justifi-postal-code-form.cjs.entry.js +50 -0
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +28 -27
- package/dist/cjs/justifi-saved-payment-methods.cjs.entry.js +31 -0
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +6 -6
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +24 -25
- package/dist/cjs/justifi-sezzle-payment-method.cjs.entry.js +80 -0
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +14 -13
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +20 -19
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +13 -12
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +22 -21
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +26 -19
- package/dist/cjs/loader.cjs.js +3 -4
- package/dist/cjs/{package-Biee4Hdo.js → package-DF9mLjoQ.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +15 -15
- package/dist/cjs/payment-method-option-utils-imuSE7KV.js +25 -0
- package/dist/cjs/{payment-provisioning-actions-BkWSDJQQ.js → payment-provisioning-actions-SNMCdsyF.js} +2 -2
- package/dist/cjs/{payment.service-C996aLGw.js → payment.service-rsnscZu7.js} +7 -6
- package/dist/cjs/payments-list-core.cjs.entry.js +17 -16
- package/dist/cjs/{payments-list-params-state-BvG5Ysrg.js → payments-list-params-state-fVsfZZ5G.js} +1 -1
- package/dist/cjs/{payments-status-BTykBx8i.js → payments-status-DPqU5v9h.js} +2 -2
- package/dist/cjs/{payments-table-BkRhDePE.js → payments-table-BM3AoAJf.js} +3 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +11 -11
- package/dist/cjs/{payout.service-BwKgEbDo.js → payout.service-BnmI3X4n.js} +7 -6
- package/dist/cjs/payouts-list-core.cjs.entry.js +17 -16
- package/dist/cjs/{payouts-list-params-state-BvG5Ysrg.js → payouts-list-params-state-fVsfZZ5G.js} +1 -1
- package/dist/cjs/{payouts-status-YCqmbd4K.js → payouts-status-CU8aqIhH.js} +2 -2
- package/dist/cjs/{payouts-table-DJMz3bVh.js → payouts-table-1HL4kk9B.js} +3 -3
- package/dist/cjs/{schema-validations-Bhz09M42.js → schema-validations-C0BNwMBi.js} +36 -37
- package/dist/cjs/{skeleton-aMh0RMHq.js → skeleton-ByLavxr1.js} +1 -1
- package/dist/cjs/{spinner-BTyIjlMM.js → spinner-DOC4Ab7M.js} +1 -1
- package/dist/cjs/{styled-host-udkBJV5h.js → styled-host-IMxk64cc.js} +1 -1
- package/dist/cjs/{table-DKVauFHc.js → table-BgQP2M2-.js} +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +16 -15
- package/dist/cjs/{terminal-orders-list-params-state-BvG5Ysrg.js → terminal-orders-list-params-state-fVsfZZ5G.js} +1 -1
- package/dist/cjs/{terminal-orders-table-CxY1ykZ7.js → terminal-orders-table-OxMHSAJ1.js} +10 -9
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-D7dxg9ZQ.js → terminal.service--PPaq5xS.js} +7 -6
- package/dist/cjs/terminals-list-core.cjs.entry.js +16 -15
- package/dist/cjs/terminals-list-params-state-fVsfZZ5G.js +22 -0
- package/dist/cjs/{terminals-table-D2XUsf_J.js → terminals-table-yRGsrfBw.js} +3 -3
- package/dist/cjs/{utils-l0veqT9y.js → utils-IGCnjtqc.js} +1 -1
- package/dist/cjs/{utils-5lco6NzU.js → utils-bn0fXuc-.js} +1 -1
- package/dist/cjs/{utils-DmZ8Dia3.js → utils-qOon0GWm.js} +3 -0
- package/dist/cjs/webcomponents.cjs.js +4 -5
- package/dist/collection/api/BillingInformation.js +1 -0
- package/dist/collection/api/Business.js +3 -1
- package/dist/collection/api/Checkout.js +1 -3
- package/dist/collection/api/ComponentError.js +2 -0
- package/dist/collection/api/PaymentMethod.js +1 -0
- package/dist/collection/collection-manifest.json +10 -3
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +3 -4
- package/dist/collection/components/business-details/business-details-core.js +1 -2
- package/dist/collection/components/business-details/business-details.js +10 -3
- package/dist/collection/components/business-details/core-info-details/core-info-details.js +41 -0
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +3 -3
- package/dist/collection/components/business-details/representative-details/representative-details.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +2 -2
- package/dist/collection/components/business-forms/schemas/schema-validations.js +6 -7
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/billing-form/billing-form.js +6 -5
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +11 -2
- package/dist/collection/components/checkout/new-payment-method.js +17 -6
- package/dist/collection/components/checkout/payment-method-options.js +6 -37
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
- package/dist/collection/components/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +10 -12
- package/dist/collection/components/modular-checkout/modular-checkout.js +345 -0
- package/dist/collection/components/modular-checkout-parts/bank-account-skeleton.js +10 -0
- package/dist/collection/components/modular-checkout-parts/bank-account.js +119 -0
- package/dist/collection/components/modular-checkout-parts/billing-form-schema.js +21 -0
- package/dist/collection/components/modular-checkout-parts/billing-form.js +116 -0
- package/dist/collection/components/modular-checkout-parts/card-form-skeleton.js +10 -0
- package/dist/collection/components/modular-checkout-parts/card-form.js +123 -0
- package/dist/collection/components/modular-checkout-parts/postal-code-form.js +114 -0
- package/dist/collection/components/modular-checkout-parts/saved-payment-methods.js +23 -0
- package/dist/collection/components/modular-checkout-parts/sezzle-payment-method.js +127 -0
- package/dist/collection/components/modular-checkout-parts/summary.js +12 -0
- 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 +13 -7
- package/dist/collection/store/checkout.store.js +25 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/details/details.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 +10 -5
- package/dist/collection/utils/utils.js +3 -0
- package/dist/docs.json +1290 -472
- package/dist/esm/{check-pkg-version-DxnKX9GQ.js → Analytics-DR277kvb.js} +28 -27
- package/dist/esm/{Api-KYhsw8Nv.js → Api-CqimcNgb.js} +2 -2
- package/dist/esm/{Business-D6XNzizo.js → Business-BCoP0TAV.js} +3 -1
- package/dist/esm/{Checkout-Dfpql997.js → Checkout-CV6qgU0r.js} +2 -4
- package/dist/esm/{ComponentError-SdntD1xf.js → ComponentError-BhrFjjAs.js} +2 -0
- package/dist/esm/{Dispute-BH0Xfn-F.js → Dispute-7MWRbTXI.js} +1 -1
- package/dist/esm/Document-Ct-uNz2r.js +55 -0
- package/dist/esm/{Document-cNXrKmGy.js → Payment-BEvE6jAC.js} +3 -57
- package/dist/esm/{Refund-2YJqP9qX.js → Refund-CwUn_GFj.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +15 -16
- package/dist/esm/{badge-Du9GTXoB.js → badge-D_Q0kAPD.js} +2 -2
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +17 -16
- package/dist/esm/{bank-account-form_9.entry.js → bank-account-form_7.entry.js} +43 -200
- package/dist/esm/billing-form-schema-PFvYpvy4.js +24 -0
- package/dist/esm/{business-additional-questions-schema-GpN_koGK.js → business-additional-questions-schema-0lssJqN7.js} +2 -2
- package/dist/esm/business-details-core.entry.js +6 -7
- package/dist/esm/{business-form-options-Bn05PRR4.js → business-form-options-CgssATyg.js} +1 -1
- package/dist/esm/{business-identity-schema-BjuQ6ajL.js → business-identity-schema-Bel1K5mu.js} +2 -2
- package/dist/esm/{business.service-ClD_YDeT.js → business.service-BM8hLxHS.js} +8 -7
- package/dist/esm/{button-CjH5C0pG.js → button-BVAxQPpP.js} +2 -2
- package/dist/esm/checkout-actions-UQ6g1s7I.js +58 -0
- package/dist/esm/{checkout.service-DfzkmIe4.js → checkout.service-CuCgG9hv.js} +8 -7
- package/dist/esm/checkout.store-DQrlfeus.js +27 -0
- package/dist/esm/checkouts-list-core.entry.js +18 -17
- package/dist/esm/{checkouts-list-params-state-Bn7pL-8x.js → checkouts-list-params-state-DhPyCV-V.js} +1 -1
- package/dist/esm/{checkouts-table-DKd0QLys.js → checkouts-table-Cc6U-0md.js} +4 -4
- package/dist/esm/{config-state-CkKrqnpZ.js → config-state-BjXhUj2q.js} +1 -1
- package/dist/esm/custom-popper_4.entry.js +9 -9
- package/dist/esm/{dispute.service-BTOWqnmk.js → dispute.service-rB4Hq6ot.js} +8 -7
- package/dist/esm/{index.esm-BCNUj0Dx.js → form-BjGUIqxU.js} +10509 -10509
- package/dist/esm/form-alert_5.entry.js +4 -4
- 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-tGFxd6kW.js → form-control-error-text-_SAT-ts2.js} +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +6 -6
- package/dist/esm/{form-control-help-text-2DawN8-N.js → form-control-help-text-Cjeu_VrV.js} +2 -2
- package/dist/esm/form-control-help-text.entry.js +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +4 -4
- package/dist/esm/form-control-monetary.entry.js +7 -7
- package/dist/esm/form-control-number-masked_2.entry.js +5 -5
- package/dist/esm/form-control-number.entry.js +6 -6
- package/dist/esm/form-control-radio.entry.js +4 -4
- package/dist/esm/{get-business-CIKToQur.js → get-business-BSRtbTh7.js} +3 -3
- package/dist/esm/{get-payment-details-D-prcfRc.js → get-payment-details-DtkGDTwo.js} +10 -9
- package/dist/esm/{get-payout-csv-D7IYYqVL.js → get-payout-csv-U_pgdPpb.js} +2 -2
- package/dist/esm/{get-subaccounts-B0uEyOp_.js → get-subaccounts-C-ENQBmY.js} +11 -10
- package/dist/esm/gross-payment-chart-core.entry.js +6 -6
- package/dist/esm/{header-1-D2gZb3iT.js → header-1-5FIT-wD7.js} +2 -2
- package/dist/esm/{header-3-DAg8Vh4B.js → header-3-Ce9WLWBm.js} +2 -2
- package/dist/esm/{iframe-input.entry.js → hidden-input_2.entry.js} +106 -10
- package/dist/esm/{index-D6FDxSyt.js → index-Bta_r52Z.js} +22 -5
- package/dist/esm/{index-Cc3u0uDC.js → index-Cf8VXyXg.js} +1 -1
- package/dist/esm/{insurance-state-CsZbKSgm.js → insurance-state-BcwZy_5w.js} +3 -3
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +19 -18
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +20 -19
- package/dist/esm/justifi-additional-statement_8.entry.js +11 -11
- package/dist/esm/justifi-bank-account-form.entry.js +83 -0
- package/dist/esm/justifi-billing-information-form.entry.js +49 -0
- package/dist/esm/justifi-business-details.entry.js +26 -20
- package/dist/esm/justifi-business-form.entry.js +27 -26
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
- package/dist/esm/justifi-card-form.entry.js +91 -0
- package/dist/esm/justifi-checkout-core.entry.js +11 -11
- package/dist/esm/justifi-checkout-summary.entry.js +19 -0
- package/dist/esm/justifi-checkout.entry.js +28 -71
- package/dist/esm/justifi-checkouts-list-filters.entry.js +15 -14
- package/dist/esm/justifi-checkouts-list.entry.js +22 -21
- package/dist/esm/justifi-config-provider.entry.js +3 -3
- package/dist/esm/justifi-details.entry.js +4 -4
- package/dist/esm/justifi-dispute-management-core.entry.js +3 -3
- package/dist/esm/justifi-dispute-management.entry.js +17 -16
- package/dist/esm/justifi-dispute-notification_3.entry.js +23 -22
- package/dist/esm/justifi-gross-payment-chart.entry.js +17 -16
- package/dist/esm/justifi-modular-checkout.entry.js +203 -0
- package/dist/esm/justifi-order-terminals.entry.js +22 -21
- package/dist/esm/justifi-owner-form_3.entry.js +21 -20
- package/dist/esm/justifi-payment-details.entry.js +19 -18
- package/dist/esm/justifi-payment-provisioning-core.entry.js +5 -5
- package/dist/esm/justifi-payment-provisioning.entry.js +17 -16
- package/dist/esm/justifi-payment-transactions-list.entry.js +21 -20
- package/dist/esm/justifi-payments-list-filters.entry.js +8 -8
- package/dist/esm/justifi-payments-list.entry.js +22 -21
- package/dist/esm/justifi-payout-details.entry.js +19 -18
- package/dist/esm/justifi-payout-transactions-list.entry.js +21 -20
- package/dist/esm/justifi-payouts-list-filters.entry.js +8 -8
- package/dist/esm/justifi-payouts-list.entry.js +24 -23
- package/dist/esm/justifi-postal-code-form.entry.js +48 -0
- package/dist/esm/justifi-refund-payment.entry.js +22 -21
- package/dist/esm/justifi-saved-payment-methods.entry.js +29 -0
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +7 -7
- package/dist/esm/justifi-season-interruption-insurance.entry.js +23 -24
- package/dist/esm/justifi-sezzle-payment-method.entry.js +78 -0
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +16 -15
- package/dist/esm/justifi-terminal-orders-list.entry.js +20 -19
- package/dist/esm/justifi-terminals-list-filters.entry.js +15 -14
- package/dist/esm/justifi-terminals-list.entry.js +22 -21
- package/dist/esm/justifi-tokenize-payment-method.entry.js +26 -19
- package/dist/esm/loader.js +3 -4
- package/dist/esm/{package-DPiTQ9dr.js → package-CyXXks-Q.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +2 -2
- package/dist/esm/{parts-BrLVc_85.js → parts-_6eQgwfE.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +16 -16
- package/dist/esm/payment-method-option-utils-8n_ALxec.js +23 -0
- package/dist/esm/{payment-provisioning-actions-BIfyW239.js → payment-provisioning-actions-2qP7AtHj.js} +2 -2
- package/dist/esm/{payment.service-CgwLo1_s.js → payment.service-DoUv1QsX.js} +8 -7
- package/dist/esm/payments-list-core.entry.js +19 -18
- package/dist/esm/{payments-list-params-state-Bn7pL-8x.js → payments-list-params-state-DhPyCV-V.js} +1 -1
- package/dist/esm/{payments-status-CIUXcA0w.js → payments-status-BeL2gi3P.js} +2 -2
- package/dist/esm/{payments-table-BBf5fV74.js → payments-table-MrDAlH2o.js} +4 -4
- package/dist/esm/payout-details-core.entry.js +12 -12
- package/dist/esm/{payout.service-DYFCNfLa.js → payout.service-B_Fm08zQ.js} +8 -7
- package/dist/esm/payouts-list-core.entry.js +19 -18
- package/dist/esm/{payouts-list-params-state-Bn7pL-8x.js → payouts-list-params-state-DhPyCV-V.js} +1 -1
- package/dist/esm/{payouts-status-Clo03qUI.js → payouts-status-BxbhUjA3.js} +2 -2
- package/dist/esm/{payouts-table-DhZEXhGH.js → payouts-table-HoX3UYIj.js} +4 -4
- package/dist/esm/{schema-validations-D9YNVLiI.js → schema-validations-DYV7urvw.js} +8 -9
- package/dist/esm/{skeleton-Dlpibtr0.js → skeleton-CPNYhX-V.js} +2 -2
- package/dist/esm/{spinner-onCBxbdo.js → spinner-Cl-6YJPf.js} +2 -2
- package/dist/esm/{styled-host-C7vaWLiB.js → styled-host-BSX_LSdk.js} +1 -1
- package/dist/esm/{table-p4dOlFPi.js → table-RCk8zh4L.js} +3 -3
- package/dist/esm/table-filters-menu.entry.js +4 -4
- package/dist/esm/terminal-orders-list-core.entry.js +18 -17
- package/dist/esm/{terminal-orders-list-params-state-Bn7pL-8x.js → terminal-orders-list-params-state-DhPyCV-V.js} +1 -1
- package/dist/esm/{terminal-orders-table-BopP465z.js → terminal-orders-table-DxHLNkx_.js} +12 -11
- package/dist/esm/terminal-quantity-selector.entry.js +3 -3
- package/dist/esm/{terminal.service-f-whs_d4.js → terminal.service-2VkdfNas.js} +8 -7
- package/dist/esm/terminals-list-core.entry.js +18 -17
- package/dist/esm/terminals-list-params-state-DhPyCV-V.js +16 -0
- package/dist/esm/{terminals-table-CkWr-6tD.js → terminals-table-v-LOevYA.js} +4 -4
- package/dist/esm/{utils-BpP_VJGf.js → utils-1WrbuHVR.js} +2 -2
- package/dist/esm/{utils-Dccsn9BY.js → utils-BZvep88z.js} +1 -1
- package/dist/esm/{utils-BWcTxbSg.js → utils-BjLkBMLe.js} +4 -1
- package/dist/esm/webcomponents.js +4 -5
- package/dist/module/{check-pkg-version.js → Analytics.js} +21 -21
- package/dist/module/Business.js +3 -1
- package/dist/module/Checkout.js +3 -3
- package/dist/module/additional-questions-details2.js +3 -4
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/bank-account-form2.js +2 -2
- package/dist/module/billing-form-schema.js +24 -0
- package/dist/module/billing-form.js +6 -5
- package/dist/module/business-address-schema.js +1 -1
- package/dist/module/business-bank-account-form-step-core.js +1 -1
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-details-core2.js +11 -7
- package/dist/module/business-identity-schema.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +2 -2
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout-actions.js +58 -0
- package/dist/module/checkout-core.js +32 -38
- package/dist/module/checkout.store.js +27 -0
- package/dist/module/checkouts-list-core2.js +2 -2
- package/dist/module/{generic-info-details.d.ts → core-info-details.d.ts} +4 -4
- package/dist/module/core-info-details.js +6 -0
- package/dist/module/core-info-details2.js +34 -0
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/details.js +2 -2
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +1 -1
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/dispute-response.js +2 -2
- package/dist/module/duplicate-charge.js +1 -1
- package/dist/module/electronic-evidence.js +1 -1
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +5 -5
- package/dist/module/justifi-bank-account-form.d.ts +11 -0
- package/dist/module/justifi-bank-account-form.js +103 -0
- package/dist/module/justifi-billing-information-form.d.ts +11 -0
- package/dist/module/justifi-billing-information-form.js +94 -0
- package/dist/module/justifi-business-details.js +21 -10
- package/dist/module/justifi-business-form.js +1 -1
- package/dist/module/justifi-card-form.d.ts +11 -0
- package/dist/module/justifi-card-form.js +111 -0
- package/dist/module/justifi-checkout-summary.d.ts +11 -0
- package/dist/module/justifi-checkout-summary.js +37 -0
- package/dist/module/justifi-checkout.js +48 -99
- package/dist/module/justifi-checkouts-list-filters.js +2 -2
- package/dist/module/justifi-checkouts-list.js +2 -2
- package/dist/module/justifi-dispute-management.js +2 -2
- package/dist/module/justifi-gross-payment-chart.js +1 -1
- package/dist/module/justifi-modular-checkout.d.ts +11 -0
- package/dist/module/justifi-modular-checkout.js +219 -0
- package/dist/module/justifi-order-terminals.js +3 -3
- package/dist/module/justifi-payment-details.js +1 -1
- package/dist/module/justifi-payment-provisioning.js +1 -1
- package/dist/module/justifi-payment-transactions-list.js +3 -3
- package/dist/module/justifi-payments-list-filters.js +3 -3
- package/dist/module/justifi-payments-list.js +2 -2
- package/dist/module/justifi-payout-details.js +1 -1
- package/dist/module/justifi-payout-transactions-list.js +3 -3
- package/dist/module/justifi-payouts-list-filters.js +3 -3
- package/dist/module/justifi-payouts-list.js +2 -2
- package/dist/module/justifi-postal-code-form.d.ts +11 -0
- package/dist/module/justifi-postal-code-form.js +86 -0
- package/dist/module/justifi-refund-payment.js +1 -1
- package/dist/module/justifi-saved-payment-methods.d.ts +11 -0
- package/dist/module/justifi-saved-payment-methods.js +58 -0
- package/dist/module/justifi-season-interruption-insurance.js +9 -11
- package/dist/module/justifi-sezzle-payment-method.js +108 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/module/justifi-terminal-orders-list.js +2 -2
- package/dist/module/justifi-terminals-list-filters.js +2 -2
- package/dist/module/justifi-terminals-list.js +2 -2
- package/dist/module/justifi-tokenize-payment-method.js +42 -42
- package/dist/module/legal-address-details2.js +3 -3
- package/dist/module/new-payment-method.js +15 -4
- package/dist/module/package.js +3 -3
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-details-core2.js +8 -8
- package/dist/module/payment-method-option-utils.js +23 -0
- package/dist/module/payment-method-options.js +35 -53
- package/dist/module/payments-list-core2.js +2 -2
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payouts-list-core2.js +2 -2
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/representative-details2.js +3 -3
- package/dist/module/saved-payment-method.js +2 -22
- package/dist/module/schema-validations.js +5 -6
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/table-filters-menu2.js +2 -2
- package/dist/module/terminal-orders-list-core2.js +2 -2
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminals-list-core2.js +2 -2
- package/dist/module/utils2.js +3 -0
- package/dist/types/api/BillingInformation.d.ts +13 -0
- package/dist/types/api/Checkout.d.ts +14 -13
- package/dist/types/api/ComponentError.d.ts +3 -1
- package/dist/types/api/PaymentMethod.d.ts +21 -0
- package/dist/types/components/business-details/business-details.d.ts +1 -0
- package/dist/types/components/business-details/core-info-details/core-info-details.d.ts +5 -0
- package/dist/types/components/business-forms/utils/helpers.d.ts +1 -1
- package/dist/types/components/checkout/billing-form/billing-form.d.ts +1 -0
- package/dist/types/components/checkout/checkout.d.ts +1 -0
- package/dist/types/components/checkout/new-payment-method.d.ts +4 -1
- package/dist/types/components/checkout/payment-method-options.d.ts +1 -1
- package/dist/types/components/insurance/season-interruption/season-interruption-insurance.d.ts +2 -2
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +31 -0
- package/dist/types/components/modular-checkout-parts/bank-account-skeleton.d.ts +6 -0
- package/dist/types/components/modular-checkout-parts/bank-account.d.ts +18 -0
- package/dist/types/components/modular-checkout-parts/billing-form-schema.d.ts +23 -0
- package/dist/types/components/modular-checkout-parts/billing-form.d.ts +16 -0
- package/dist/types/components/modular-checkout-parts/card-form-skeleton.d.ts +6 -0
- package/dist/types/components/modular-checkout-parts/card-form.d.ts +20 -0
- package/dist/types/components/modular-checkout-parts/postal-code-form.d.ts +16 -0
- package/dist/types/components/modular-checkout-parts/saved-payment-methods.d.ts +5 -0
- package/dist/types/components/{checkout → modular-checkout-parts}/sezzle-payment-method.d.ts +2 -8
- package/dist/types/components/modular-checkout-parts/summary.d.ts +3 -0
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +3 -2
- package/dist/types/components.d.ts +449 -42
- package/dist/types/stencil-public-runtime.d.ts +1 -1
- package/dist/types/store/checkout.store.d.ts +19 -0
- package/dist/types/ui-components/form/iframe-input.d.ts +2 -1
- package/dist/types/utils/utils.d.ts +1 -1
- package/dist/webcomponents/p-00900e52.entry.js +1 -0
- package/dist/webcomponents/p-025ae692.entry.js +1 -0
- package/dist/webcomponents/p-02e26641.entry.js +1 -0
- package/dist/webcomponents/p-04c91ec1.entry.js +1 -0
- package/dist/webcomponents/{p-bf3e8295.entry.js → p-0c13f2da.entry.js} +1 -1
- package/dist/webcomponents/p-0d5e93b3.entry.js +1 -0
- package/dist/webcomponents/{p-90c24cda.entry.js → p-15c63931.entry.js} +1 -1
- package/dist/webcomponents/p-19b5f93a.entry.js +1 -0
- package/dist/webcomponents/p-1ac365b4.entry.js +1 -0
- package/dist/webcomponents/{p-b40108c0.entry.js → p-1d59c747.entry.js} +1 -1
- package/dist/webcomponents/p-1d64d86b.entry.js +1 -0
- package/dist/webcomponents/p-20d7db42.entry.js +1 -0
- package/dist/webcomponents/p-25b310f0.entry.js +1 -0
- package/dist/webcomponents/p-271b131d.entry.js +1 -0
- package/dist/webcomponents/p-2882b4e9.entry.js +1 -0
- package/dist/webcomponents/p-2a08ba01.entry.js +1 -0
- package/dist/webcomponents/p-2f027626.entry.js +1 -0
- package/dist/webcomponents/p-2fa36c0e.entry.js +1 -0
- package/dist/webcomponents/p-379584fb.entry.js +1 -0
- package/dist/webcomponents/p-39f31e23.entry.js +1 -0
- package/dist/webcomponents/p-3b6888c5.entry.js +1 -0
- package/dist/webcomponents/p-3d62f9a5.entry.js +1 -0
- package/dist/webcomponents/p-3edd5ebd.entry.js +1 -0
- package/dist/webcomponents/p-4232760b.entry.js +1 -0
- package/dist/webcomponents/p-4be4f7b4.entry.js +1 -0
- package/dist/webcomponents/p-531738ae.entry.js +1 -0
- package/dist/webcomponents/p-54019e68.entry.js +1 -0
- package/dist/webcomponents/{p-3e94cf62.entry.js → p-584ba20d.entry.js} +1 -1
- package/dist/webcomponents/p-5bc6f1e6.entry.js +20 -0
- package/dist/webcomponents/p-5bfbb0f8.entry.js +1 -0
- package/dist/webcomponents/{p-19b9c96a.entry.js → p-5da3ba38.entry.js} +1 -1
- package/dist/webcomponents/{p-bb50155f.entry.js → p-5ea3cfca.entry.js} +1 -1
- package/dist/webcomponents/p-5f9dbaff.entry.js +1 -0
- package/dist/webcomponents/p-6b229318.entry.js +1 -0
- package/dist/webcomponents/p-6fc1ace5.entry.js +1 -0
- package/dist/webcomponents/{p-7733b67b.entry.js → p-712220f9.entry.js} +1 -1
- package/dist/webcomponents/p-716d41f2.entry.js +1 -0
- package/dist/webcomponents/p-7253f1ea.entry.js +1 -0
- package/dist/webcomponents/{p-BH0Xfn-F.js → p-7MWRbTXI.js} +1 -1
- package/dist/webcomponents/p-80b662de.entry.js +1 -0
- package/dist/webcomponents/p-82164a5e.entry.js +1 -0
- package/dist/webcomponents/p-8532c68c.entry.js +1 -0
- package/dist/webcomponents/p-8590c5df.entry.js +1 -0
- package/dist/webcomponents/p-8e555a6e.entry.js +1 -0
- package/dist/webcomponents/p-96f89c69.entry.js +1 -0
- package/dist/webcomponents/p-98a39544.entry.js +1 -0
- package/dist/webcomponents/{p-CpTwq2jw.js → p-9REosSLu.js} +1 -1
- package/dist/webcomponents/{p-b2192f8b.entry.js → p-9a17fd5a.entry.js} +1 -1
- package/dist/webcomponents/p-9a9f9c57.entry.js +1 -0
- package/dist/webcomponents/{p-D5XSsLKb.js → p-B4MIwTdb.js} +1 -1
- package/dist/webcomponents/{p-n2YROtpe.js → p-B7VsiIW-.js} +1 -1
- package/dist/webcomponents/p-B8Ovjy6S.js +1 -0
- package/dist/webcomponents/p-BE5Nvydk.js +1 -0
- package/dist/webcomponents/{p-DuYlA4lj.js → p-BEDtXmpq.js} +1 -1
- package/dist/webcomponents/p-BGHVK-vQ.js +1 -0
- package/dist/webcomponents/{p-BzPi8Ea_.js → p-BPCw4WEY.js} +1 -1
- package/dist/webcomponents/p-BSUCBhkJ.js +1 -0
- package/dist/webcomponents/{p-DvHZ2jYI.js → p-BhLPwu1L.js} +1 -1
- package/dist/webcomponents/p-BhrFjjAs.js +1 -0
- package/dist/webcomponents/{p-BrvbVMVq.js → p-BlJnA265.js} +1 -1
- package/dist/webcomponents/p-BoGb-Wsw.js +1 -0
- package/dist/webcomponents/p-Bond4qGX.js +1 -0
- package/dist/webcomponents/p-BpEw7AJl.js +1 -0
- package/dist/webcomponents/p-Bta_r52Z.js +2 -0
- package/dist/webcomponents/{p-BTS3E50C.js → p-BxfUcCXo.js} +1 -1
- package/dist/webcomponents/p-C-WgCIei.js +1 -0
- package/dist/webcomponents/p-CBs671Ol.js +1 -0
- package/dist/webcomponents/p-CCpqJxzB.js +1 -0
- package/dist/webcomponents/p-CDTncSrX.js +1 -0
- package/dist/webcomponents/p-CLpgfEbx.js +1 -0
- package/dist/webcomponents/p-CRYPNa2o.js +1 -0
- package/dist/webcomponents/p-CbGBEkk3.js +1 -0
- package/dist/webcomponents/p-CeNlJX4-.js +1 -0
- package/dist/webcomponents/p-CnnRWu7z.js +1 -0
- package/dist/webcomponents/{p-C0WFYqwq.js → p-CqVelcDt.js} +1 -1
- package/dist/webcomponents/p-Ct-uNz2r.js +1 -0
- package/dist/webcomponents/{p-82kiZkHt.js → p-Ctw40vkk.js} +1 -1
- package/dist/webcomponents/p-CvChBLtI.js +1 -0
- package/dist/webcomponents/{p-D0ptm6-3.js → p-CwHYDF33.js} +1 -1
- package/dist/webcomponents/p-CyXXks-Q.js +1 -0
- package/dist/webcomponents/p-Czro_9VO.js +1 -0
- package/dist/webcomponents/{p-Cd06j2SL.js → p-D3BIZZrc.js} +1 -1
- package/dist/webcomponents/{p-ByRPlUBS.js → p-D3SYNGyb.js} +1 -1
- package/dist/webcomponents/{p-BjB_yKBJ.js → p-D7js9xfx.js} +1 -1
- package/dist/webcomponents/p-DKClunJd.js +1 -0
- package/dist/webcomponents/p-DOB09NZD.js +1 -0
- package/dist/webcomponents/p-DUdzWNqB.js +1 -0
- package/dist/webcomponents/p-D_FOQEGU.js +1 -0
- package/dist/webcomponents/p-DaS3t0DL.js +1 -0
- package/dist/webcomponents/p-DddGO-XR.js +1 -0
- package/dist/webcomponents/p-Dge4w7_c.js +1 -0
- package/dist/webcomponents/p-DkWBoLsd.js +1 -0
- package/dist/webcomponents/p-DknV-QPT.js +1 -0
- package/dist/webcomponents/p-DnX5CZFd.js +1 -0
- package/dist/webcomponents/p-DuiQuWNq.js +1 -0
- package/dist/webcomponents/p-Dw6NWKHn.js +1 -0
- package/dist/webcomponents/p-DzPrenCi.js +1 -0
- package/dist/webcomponents/p-NqdaxjDT.js +1 -0
- package/dist/webcomponents/p-YDuIVoos.js +1 -0
- package/dist/webcomponents/{p-OSmuQKbK.js → p-Yj41tobi.js} +1 -1
- package/dist/webcomponents/{p-BrLVc_85.js → p-_6eQgwfE.js} +1 -1
- package/dist/webcomponents/p-a2db11b5.entry.js +1 -0
- package/dist/webcomponents/p-a31913e3.entry.js +1 -0
- package/dist/webcomponents/p-a4d457e9.entry.js +1 -0
- package/dist/webcomponents/{p-24792e8e.entry.js → p-b3e6d27c.entry.js} +1 -1
- package/dist/webcomponents/p-b8ee41c1.entry.js +1 -0
- package/dist/webcomponents/p-bde749ac.entry.js +1 -0
- package/dist/webcomponents/{p-82515f70.entry.js → p-be51c7c5.entry.js} +1 -1
- package/dist/webcomponents/p-bf16b11c.entry.js +1 -0
- package/dist/webcomponents/p-ce291c6a.entry.js +1 -0
- package/dist/webcomponents/p-d82b509a.entry.js +1 -0
- package/dist/webcomponents/p-d9b06582.entry.js +1 -0
- package/dist/webcomponents/p-dbc02ba8.entry.js +1 -0
- package/dist/webcomponents/p-dcad0df5.entry.js +1 -0
- package/dist/webcomponents/{p-59abf1de.entry.js → p-df2ad580.entry.js} +1 -1
- package/dist/webcomponents/p-e03630ec.entry.js +1 -0
- package/dist/webcomponents/p-e07sVz4Z.js +1 -0
- package/dist/webcomponents/p-e563df65.entry.js +1 -0
- package/dist/webcomponents/p-e8294f7e.entry.js +1 -0
- package/dist/webcomponents/p-ea664ada.entry.js +1 -0
- package/dist/webcomponents/p-ec9bb3f6.entry.js +1 -0
- package/dist/webcomponents/p-ecf6a315.entry.js +1 -0
- package/dist/webcomponents/p-ef9dcfe1.entry.js +1 -0
- package/dist/webcomponents/p-f71b1ff0.entry.js +1 -0
- package/dist/webcomponents/{p-99b080d9.entry.js → p-f7e24a51.entry.js} +1 -1
- package/dist/webcomponents/{p-5e467788.entry.js → p-ff223825.entry.js} +1 -1
- package/dist/webcomponents/p-hDoH7hHP.js +1 -0
- package/dist/webcomponents/p-pGzabKc7.js +1 -0
- package/dist/webcomponents/p-uLUlLQpP.js +1 -0
- package/dist/webcomponents/{p-IA90llLO.js → p-yH3TC3ZQ.js} +1 -1
- package/dist/webcomponents/p-zucQG3cz.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -5
- package/dist/cjs/iframe-input-styles-state-D9vhHzZQ.js +0 -26
- package/dist/cjs/terminals-list-params-state-BvG5Ysrg.js +0 -22
- package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +0 -40
- package/dist/collection/components/checkout/sezzle-payment-method.js +0 -240
- package/dist/esm/app-globals-DQuL1Twl.js +0 -3
- package/dist/esm/iframe-input-styles-state-ibYqbF--.js +0 -23
- package/dist/esm/terminals-list-params-state-Bn7pL-8x.js +0 -16
- package/dist/module/generic-info-details.js +0 -6
- package/dist/module/generic-info-details2.js +0 -34
- package/dist/module/sezzle-payment-method.js +0 -104
- package/dist/types/components/business-details/generic-info-details/generic-info-details.d.ts +0 -5
- package/dist/webcomponents/p-0ab2f675.entry.js +0 -1
- package/dist/webcomponents/p-0b57ecc3.entry.js +0 -1
- package/dist/webcomponents/p-0deb6a38.entry.js +0 -1
- package/dist/webcomponents/p-16adfe77.entry.js +0 -1
- package/dist/webcomponents/p-1a85f26f.entry.js +0 -1
- package/dist/webcomponents/p-1b22572d.entry.js +0 -1
- package/dist/webcomponents/p-22a0b397.entry.js +0 -1
- package/dist/webcomponents/p-22e9ff07.entry.js +0 -1
- package/dist/webcomponents/p-25ea4450.entry.js +0 -1
- package/dist/webcomponents/p-2adda453.entry.js +0 -1
- package/dist/webcomponents/p-2b8ac00a.entry.js +0 -1
- package/dist/webcomponents/p-2dbc4b19.entry.js +0 -1
- package/dist/webcomponents/p-3368d3d5.entry.js +0 -1
- package/dist/webcomponents/p-3a979295.entry.js +0 -1
- package/dist/webcomponents/p-3abc8eab.entry.js +0 -1
- package/dist/webcomponents/p-3babed12.entry.js +0 -1
- package/dist/webcomponents/p-40541e0c.entry.js +0 -1
- package/dist/webcomponents/p-4194214c.entry.js +0 -1
- package/dist/webcomponents/p-43d6bbed.entry.js +0 -1
- package/dist/webcomponents/p-44d8c2b1.entry.js +0 -1
- package/dist/webcomponents/p-4749e0d0.entry.js +0 -1
- package/dist/webcomponents/p-4ee0cd96.entry.js +0 -1
- package/dist/webcomponents/p-54281359.entry.js +0 -1
- package/dist/webcomponents/p-639baa7d.entry.js +0 -1
- package/dist/webcomponents/p-6429afb4.entry.js +0 -1
- package/dist/webcomponents/p-6n7viK-J.js +0 -1
- package/dist/webcomponents/p-799000c1.entry.js +0 -1
- package/dist/webcomponents/p-7c62b59d.entry.js +0 -1
- package/dist/webcomponents/p-83154291.entry.js +0 -1
- package/dist/webcomponents/p-84d27581.entry.js +0 -1
- package/dist/webcomponents/p-9105f700.entry.js +0 -1
- package/dist/webcomponents/p-916ea4fc.entry.js +0 -1
- package/dist/webcomponents/p-935bbc62.entry.js +0 -1
- package/dist/webcomponents/p-935fa555.entry.js +0 -1
- package/dist/webcomponents/p-947239a6.entry.js +0 -1
- package/dist/webcomponents/p-B0cQ2RjH.js +0 -1
- package/dist/webcomponents/p-B190pN0v.js +0 -1
- package/dist/webcomponents/p-BM5lviat.js +0 -1
- package/dist/webcomponents/p-BWJ7zamv.js +0 -1
- package/dist/webcomponents/p-BiPRf6d2.js +0 -1
- package/dist/webcomponents/p-BmWpHZ-Z.js +0 -1
- package/dist/webcomponents/p-C0IqfGFc.js +0 -1
- package/dist/webcomponents/p-C0UUR9CN.js +0 -1
- package/dist/webcomponents/p-C5RuuShs.js +0 -1
- package/dist/webcomponents/p-CCGhF18e.js +0 -1
- package/dist/webcomponents/p-CQdeVKF8.js +0 -1
- package/dist/webcomponents/p-CffckWWF.js +0 -1
- package/dist/webcomponents/p-CgxzrbM_.js +0 -1
- package/dist/webcomponents/p-D4Mv5jCp.js +0 -1
- package/dist/webcomponents/p-D5Sh88BE.js +0 -1
- package/dist/webcomponents/p-D6FDxSyt.js +0 -2
- package/dist/webcomponents/p-DDEz7_ad.js +0 -1
- package/dist/webcomponents/p-DJzjeg3x.js +0 -1
- package/dist/webcomponents/p-DNt_pMGt.js +0 -1
- package/dist/webcomponents/p-DPiTQ9dr.js +0 -1
- package/dist/webcomponents/p-DQuL1Twl.js +0 -1
- package/dist/webcomponents/p-DVnVdicA.js +0 -1
- package/dist/webcomponents/p-DZfxGQ1I.js +0 -1
- package/dist/webcomponents/p-DgfzEZny.js +0 -1
- package/dist/webcomponents/p-DjGTAHJM.js +0 -1
- package/dist/webcomponents/p-DniQ6yo6.js +0 -1
- package/dist/webcomponents/p-DuBhW0xA.js +0 -1
- package/dist/webcomponents/p-M61ygz6l.js +0 -1
- package/dist/webcomponents/p-SdntD1xf.js +0 -1
- package/dist/webcomponents/p-U30-0DaA.js +0 -1
- package/dist/webcomponents/p-ZE1NEnP3.js +0 -1
- package/dist/webcomponents/p-a46730eb.entry.js +0 -1
- package/dist/webcomponents/p-a4dd3835.entry.js +0 -1
- package/dist/webcomponents/p-ad85bd0d.entry.js +0 -1
- package/dist/webcomponents/p-af2c38f7.entry.js +0 -1
- package/dist/webcomponents/p-afa54e39.entry.js +0 -1
- package/dist/webcomponents/p-cNABKY0P.js +0 -1
- package/dist/webcomponents/p-cab175e9.entry.js +0 -1
- package/dist/webcomponents/p-ceefc483.entry.js +0 -1
- package/dist/webcomponents/p-d-_oUZor.js +0 -1
- package/dist/webcomponents/p-d1331dbb.entry.js +0 -1
- package/dist/webcomponents/p-d2dc6f22.entry.js +0 -20
- package/dist/webcomponents/p-d9c70010.entry.js +0 -1
- package/dist/webcomponents/p-dd05cce1.entry.js +0 -1
- package/dist/webcomponents/p-e00aeb33.entry.js +0 -1
- package/dist/webcomponents/p-e1c5ee0a.entry.js +0 -1
- package/dist/webcomponents/p-ea8dd3e7.entry.js +0 -1
- package/dist/webcomponents/p-f389c2aa.entry.js +0 -1
- package/dist/webcomponents/p-f8b205f7.entry.js +0 -1
- package/dist/webcomponents/p-l3o3Ndc0.js +0 -1
- package/dist/webcomponents/p-o_73WSki.js +0 -1
- package/dist/webcomponents/p-um3YdOwW.js +0 -1
- package/dist/webcomponents/p-vb3fTJEZ.js +0 -1
- package/dist/webcomponents/p-wqUvt1PB.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { D as DetailSectionTitle, a as DetailItem } from './utils.js';
|
|
3
3
|
import { i as isEmptyObject } from './utils2.js';
|
|
4
4
|
|
|
@@ -8,10 +8,9 @@ const AdditionalQuestionsDetails = /*@__PURE__*/ proxyCustomElement(class Additi
|
|
|
8
8
|
this.__registerHost();
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
|
|
12
|
-
if (isEmptyObject(this.additionalQuestions))
|
|
11
|
+
if (!this.additionalQuestions || isEmptyObject(this.additionalQuestions))
|
|
13
12
|
return null;
|
|
14
|
-
return (h(
|
|
13
|
+
return (h("div", null, h(DetailSectionTitle, { sectionTitle: "Additional Questions" }), h("div", { class: "d-table gap-2 w-100 mt-3" }, h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Business Revenue", value: this.additionalQuestions.business_revenue }), h(DetailItem, { title: "Business Payment Volume", value: this.additionalQuestions.business_payment_volume }))))));
|
|
15
14
|
}
|
|
16
15
|
}, [0, "additional-questions-details", {
|
|
17
16
|
"additionalQuestions": [16, "additional-questions"]
|
|
@@ -39,7 +39,7 @@ const AdditionalStatement = /*@__PURE__*/ proxyCustomElement(class AdditionalSta
|
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
41
|
var _a, _b;
|
|
42
|
-
return (h("div", { key: '
|
|
42
|
+
return (h("div", { key: 'f407dba7be750c75d9bd3163647e62b57f7b32df' }, h("div", { key: '5d690bf3227112c1d6f86d956bb98dd5bb2d585d', class: "row gy-3" }, h("div", { key: 'e12ecbe52d9383b449cde0ffafe32b952c293ad8', class: "col-12" }, h("h2", { key: 'aaeeeed0024985d9be89ce02f252ef999dd9d197', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: 'aedfe85e833e387998815246faa21f46184ddcdb', class: "col-12" }, h("form-control-textarea", { key: 'affa35eb587e6b70546f18414d7436bc267c0201', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: 'ec650c06058b30773dacf1c1f9cafedb526ced90', class: "col-12" }, h("form-control-file-v2", { key: 'd9a75a49a8ada0dfe0b2466ec03a8842c75bddf8', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
|
|
43
43
|
}
|
|
44
44
|
}, [0, "justifi-additional-statement", {
|
|
45
45
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -51,10 +51,10 @@ const BankAccountForm = /*@__PURE__*/ proxyCustomElement(class BankAccountForm e
|
|
|
51
51
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: 'cdddf967e7142731f3b5aef31bfc3d004ce97733' }, h(BankAccountFormSkeleton, { key: '5eafa58bd31bbbd5ff5ca90a036fc696f7bd05fb', isReady: this.isReady }), h("div", { key: 'c8486e0337df9a61bd1979014f3de53eef22b071', class: "container-fluid p-0", style: {
|
|
55
55
|
opacity: this.isReady ? '1' : '0',
|
|
56
56
|
height: this.isReady ? 'auto' : '0',
|
|
57
|
-
} }, h("div", { key: '
|
|
57
|
+
} }, h("div", { key: '3db2146e4d770c024efab6e777dbfa4ace26f23a', class: "row mb-3" }, h("iframe-input", { key: '5f9da4873119c1a1e771c7663b98e283766a37a1', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '7ed20c940afd5ffc4348e4102a4cfd351d8e2198', class: "row" }, h("iframe-input", { key: '0667de245764f1d9181682beb674c4a376447a68', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
|
|
58
58
|
}
|
|
59
59
|
}, [0, "bank-account-form", {
|
|
60
60
|
"isReady": [32],
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { c as create$3 } from './form.js';
|
|
2
|
+
import { c as postalValidation, d as stateValidation, e as cityValidation, l as lineTwoValidation, f as lineOneValidation, i as identityNameValidation } from './schema-validations.js';
|
|
3
|
+
|
|
4
|
+
const billingFormSchema = (postalOnly) => {
|
|
5
|
+
const fullBillingForm = create$3({
|
|
6
|
+
name: identityNameValidation.required('Enter full name'),
|
|
7
|
+
address_line1: lineOneValidation.required('Enter street address'),
|
|
8
|
+
address_line2: lineTwoValidation.nullable(),
|
|
9
|
+
address_city: cityValidation.required('Enter city'),
|
|
10
|
+
address_state: stateValidation.required('Select state'),
|
|
11
|
+
address_postal_code: postalValidation.required('Enter postal code'),
|
|
12
|
+
});
|
|
13
|
+
const postalForm = create$3({
|
|
14
|
+
name: identityNameValidation.nullable(),
|
|
15
|
+
address_line1: lineOneValidation.nullable(),
|
|
16
|
+
address_line2: lineTwoValidation.nullable(),
|
|
17
|
+
address_city: cityValidation.nullable(),
|
|
18
|
+
address_state: stateValidation.nullable(),
|
|
19
|
+
address_postal_code: postalValidation.required('Enter postal code'),
|
|
20
|
+
});
|
|
21
|
+
return postalOnly ? postalForm : fullBillingForm;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export { billingFormSchema as b };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, proxyCustomElement, HTMLElement, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, F as FormController } from './form.js';
|
|
3
|
-
import {
|
|
4
|
-
import { U as heading3,
|
|
3
|
+
import { c as postalValidation, d as stateValidation, e as cityValidation, l as lineTwoValidation, f as lineOneValidation, i as identityNameValidation } from './schema-validations.js';
|
|
4
|
+
import { U as heading3, $ as billingForm } from './parts.js';
|
|
5
5
|
import './details.js';
|
|
6
6
|
import './event-types.js';
|
|
7
7
|
import { n as numberOnlyHandler } from './utils3.js';
|
|
@@ -67,13 +67,14 @@ const BillingForm = /*@__PURE__*/ proxyCustomElement(class BillingForm extends H
|
|
|
67
67
|
this.formController.setInitialValues(fields);
|
|
68
68
|
}
|
|
69
69
|
async validate() {
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
const isValid = await this.formController.validate();
|
|
71
|
+
const errors = this.formController.errors.getValue();
|
|
72
|
+
return { isValid, errors };
|
|
72
73
|
}
|
|
73
74
|
render() {
|
|
74
75
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
75
76
|
const showHeader = !this.isPostalOnlyMode && !this.hideAllBillingFields;
|
|
76
|
-
return (h(Host, { key: '
|
|
77
|
+
return (h(Host, { key: 'ffffb2d8a4571222645d3c47eb1e2286b8597140' }, h("div", { key: '69b4f6c623cacbf32a30a9b9f23c3de427835c25', part: billingForm, class: "mt-4", hidden: this.hideAllBillingFields }, showHeader && h(Header3, { key: '96c0781a9b3dd7c5ef0b75ac8667664fee0bd95e', text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), h("form", { key: '97380a90146a9732594f1c356fab952089280f99' }, h("fieldset", { key: 'fd8bbea485c10633f1d8cca62b222a8abb0d022f' }, this.legend && h("legend", { key: '8febee534a2d055093309e8f8f06078b0b35f4e4' }, this.legend), h("div", { key: '16ac8abe899cdb964d83322fa74cb00f737ab338', class: "row gy-3" }, h("div", { key: '866f73c45b807aeeea4e6addf4de5f2d3a1a232d', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: '1734b2aac3eb0508f9ae2e4bf41836fc5dd71cad', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '569c0dc60b47d3e9077af401b720d7777c903bde', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: '74406a7f4efde53a41141a218d246408c4807fc8', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { key: 'a7f3b7f137b0dd6a92cce6999ef65f13bcff4a31', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: '8b6d28170c44af6b7701499a8a4626749d4cd36d', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { key: '3a9031a0ddbea7e1020c420cdd6811ea9c86b9e4', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: '730b395bb97c349a63f669669830cbce6ba86f83', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { key: '7998420d30b1957a086303862f7200f20541ead2', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-select", { key: 'b94b623a26891646957f25e59cb03038a989eabf', name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { key: '7b0d6eae7eb90f4b33b3e73f920b6ea25920f809', class: "col-12", hidden: this.hideAllBillingFields }, h("form-control-text", { key: '703e429c7999f5cc143c5648bd9fbdc4f5bb6ee9', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))))))));
|
|
77
78
|
}
|
|
78
79
|
}, [0, "justifi-billing-form", {
|
|
79
80
|
"legend": [1025],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as create$3, a as create$6 } from './form.js';
|
|
2
|
-
import {
|
|
2
|
+
import { c as postalValidation, d as stateValidation, e as cityValidation, l as lineTwoValidation, f as lineOneValidation } from './schema-validations.js';
|
|
3
3
|
|
|
4
4
|
const addressSchema = (allowOptionalFields) => {
|
|
5
5
|
const schema = create$3({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, F as FormController } from './form.js';
|
|
3
|
-
import { z as bankStatementValidation, A as voidedCheckValidation, B as routingNumberValidation, C as accountNumberValidation, D as accountTypeValidation,
|
|
3
|
+
import { z as bankStatementValidation, A as voidedCheckValidation, B as routingNumberValidation, C as accountNumberValidation, D as accountTypeValidation, i as identityNameValidation, E as nicknameValidation, F as bankNameValidation } from './schema-validations.js';
|
|
4
4
|
import './Business.js';
|
|
5
5
|
import { B as BusinessFormStep } from './event-types2.js';
|
|
6
6
|
import { h as heading2 } from './parts.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as create$3 } from './form.js';
|
|
2
|
-
import {
|
|
2
|
+
import { g as dateOfIncorporationValidation, t as taxIdValidation, h as industryValidation, j as businessClassificationValidation, k as doingBusinessAsValidation, m as phoneValidation, n as emailValidation, q as websiteUrlValidation, u as businessNameValidation } from './schema-validations.js';
|
|
3
3
|
|
|
4
4
|
const businessCoreInfoSchema = (allowOptionalFields) => {
|
|
5
5
|
const schema = create$3({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { h, Fragment, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
2
|
import { E as ErrorState } from './utils.js';
|
|
3
3
|
import { S as StyledHost } from './styled-host.js';
|
|
4
|
-
import './details.js';
|
|
4
|
+
import { d as defineCustomElement$4 } from './details.js';
|
|
5
5
|
import './event-types.js';
|
|
6
6
|
import { S as Skeleton } from './skeleton.js';
|
|
7
|
-
import { d as defineCustomElement$
|
|
8
|
-
import { d as defineCustomElement$
|
|
7
|
+
import { d as defineCustomElement$6 } from './additional-questions-details2.js';
|
|
8
|
+
import { d as defineCustomElement$5 } from './core-info-details2.js';
|
|
9
9
|
import { d as defineCustomElement$3 } from './legal-address-details2.js';
|
|
10
10
|
import { d as defineCustomElement$2 } from './owner-details2.js';
|
|
11
11
|
import { d as defineCustomElement$1 } from './representative-details2.js';
|
|
@@ -42,7 +42,6 @@ const BusinessDetailsCore = /*@__PURE__*/ proxyCustomElement(class BusinessDetai
|
|
|
42
42
|
this.__registerHost();
|
|
43
43
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
44
44
|
this.renderState = RENDER_STATES.LOADING;
|
|
45
|
-
this.errorMessage = 'An error ocurred.';
|
|
46
45
|
}
|
|
47
46
|
async componentWillLoad() {
|
|
48
47
|
if (this.getBusiness) {
|
|
@@ -74,7 +73,7 @@ const BusinessDetailsCore = /*@__PURE__*/ proxyCustomElement(class BusinessDetai
|
|
|
74
73
|
if (this.renderState === RENDER_STATES.ERROR) {
|
|
75
74
|
return h(StyledHost, null, ErrorState(this.errorMessage));
|
|
76
75
|
}
|
|
77
|
-
return (h(StyledHost, null, h("
|
|
76
|
+
return (h(StyledHost, null, h("justifi-details", { "error-message": this.errorMessage }, h("div", { slot: 'detail-sections' }, h("core-info-details", { business: this.business }), h("legal-address-details", { legalAddress: this.business.legal_address }), h("representative-details", { representative: this.business.representative }), h("owner-details", { owners: this.business.owners }), h("additional-questions-details", { additionalQuestions: this.business.additional_questions })))));
|
|
78
77
|
}
|
|
79
78
|
}, [0, "business-details-core", {
|
|
80
79
|
"getBusiness": [16, "get-business"],
|
|
@@ -86,7 +85,7 @@ function defineCustomElement() {
|
|
|
86
85
|
if (typeof customElements === "undefined") {
|
|
87
86
|
return;
|
|
88
87
|
}
|
|
89
|
-
const components = ["business-details-core", "additional-questions-details", "
|
|
88
|
+
const components = ["business-details-core", "additional-questions-details", "core-info-details", "justifi-details", "legal-address-details", "owner-details", "representative-details"];
|
|
90
89
|
components.forEach(tagName => { switch (tagName) {
|
|
91
90
|
case "business-details-core":
|
|
92
91
|
if (!customElements.get(tagName)) {
|
|
@@ -94,11 +93,16 @@ function defineCustomElement() {
|
|
|
94
93
|
}
|
|
95
94
|
break;
|
|
96
95
|
case "additional-questions-details":
|
|
96
|
+
if (!customElements.get(tagName)) {
|
|
97
|
+
defineCustomElement$6();
|
|
98
|
+
}
|
|
99
|
+
break;
|
|
100
|
+
case "core-info-details":
|
|
97
101
|
if (!customElements.get(tagName)) {
|
|
98
102
|
defineCustomElement$5();
|
|
99
103
|
}
|
|
100
104
|
break;
|
|
101
|
-
case "
|
|
105
|
+
case "justifi-details":
|
|
102
106
|
if (!customElements.get(tagName)) {
|
|
103
107
|
defineCustomElement$4();
|
|
104
108
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as create$3, a as create$6 } from './form.js';
|
|
2
2
|
import { a as addressSchema } from './business-address-schema.js';
|
|
3
|
-
import {
|
|
3
|
+
import { v as ssnValidation, x as dobValidation, m as phoneValidation, n as emailValidation, y as identityTitleValidation, i as identityNameValidation } from './schema-validations.js';
|
|
4
4
|
|
|
5
5
|
const identitySchema = (role, allowOptionalFields) => {
|
|
6
6
|
const schema = create$3({
|
|
@@ -54,7 +54,7 @@ const BusinessTermsConditionsFormStep = /*@__PURE__*/ proxyCustomElement(class B
|
|
|
54
54
|
this.formLoading.emit(true);
|
|
55
55
|
try {
|
|
56
56
|
const payload = this.termsPayload;
|
|
57
|
-
const response = await this.api.post({ endpoint: this.termsConditionsEndpoint, body: payload });
|
|
57
|
+
const response = await this.api.post({ endpoint: this.termsConditionsEndpoint, body: payload, authToken: this.authToken });
|
|
58
58
|
this.handleResponse(response, onSuccess);
|
|
59
59
|
}
|
|
60
60
|
catch (error) {
|
|
@@ -132,7 +132,7 @@ const BusinessTermsConditionsFormStep = /*@__PURE__*/ proxyCustomElement(class B
|
|
|
132
132
|
return (h("a", { href: "https://justifi.tech/merchant-agreement/", target: "_blank", rel: "noopener noreferrer" }, "merchant agreement"));
|
|
133
133
|
}
|
|
134
134
|
render() {
|
|
135
|
-
return (h("form", { key: '
|
|
135
|
+
return (h("form", { key: 'c1ca0ecd364a999e7525e9ac3da82e874a8784e8' }, h("fieldset", { key: 'a77178a38044c458d8dbd31a7e1aeb3f1a34c968' }, h("legend", { key: '7e933517fca8d54095466715bf1f0485625be74f', part: heading2 }, "Terms and Conditions"), h("hr", { key: '1c1da0b7378c51ad2be5efc0e51dedd3ed178c8f' }), h("div", { key: 'bc37aa5162dddc8ade4316b5f24deb1d4a4b6f86' }, h("p", { key: 'aef3d0c9186845e3f44b8e1906c405647f489b53' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: '2a6a480916cc0c4bf35d96c96c3f0250e87149cb' }), h("div", { key: '2e3bed3a57bcb026152fcdc82debab0e667f8148', class: "row-gy-3" }, h("div", { key: '3243c1819e4e61921421467271b2a4d2a89e73d4', class: "col-12" }, h("form-control-checkbox", { key: '20b9b72809148ef390a6da7d9f5bc216436d34a5', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
|
|
136
136
|
}
|
|
137
137
|
}, [0, "justifi-business-terms-conditions-form-step", {
|
|
138
138
|
"authToken": [1, "auth-token"],
|
package/dist/module/button.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { a0 as buttonSecondary, a1 as buttonPrimary, a2 as buttonLoading } from './parts.js';
|
|
3
3
|
|
|
4
4
|
const ButtonSpinner = () => (h("div", { class: "spinner-border spinner-border-sm", role: "status", part: "button-spinner" },
|
|
5
5
|
h("span", { class: "visually-hidden" }, "Loading...")));
|
|
@@ -39,7 +39,7 @@ const CancellationPolicy = /*@__PURE__*/ proxyCustomElement(class CancellationPo
|
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
41
|
var _a, _b, _c;
|
|
42
|
-
return (h("div", { key: '
|
|
42
|
+
return (h("div", { key: '53b8b9ca5ef0b2fbb3801aeed7c442517b54ffa8' }, h("div", { key: 'e122c095d856545b52d5958db10b8e982de73073', class: "row gy-3" }, h("div", { key: '9ddc0fa91765209b3fa393c0ebf17598af90b3b9', class: "col-12" }, h("h2", { key: 'a7e3001dbc2b36e20e2a1dd1d16b44a023610010', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '7b5481566998713ba87519b999e5acdf3eb0ef52', class: "col-12" }, h("form-control-textarea", { key: 'c67604fa2133a3ed9b5b67a7150e488673d21478', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: '4b96c57d15060a0a6c42bede64110d67be557060', class: "col-12" }, h("form-control-textarea", { key: '60ddac4a5c2574461dbb28281b89851d0e89600c', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: '42015bc3bbcbf208d39906d7b270776e3e90ddac', class: "col-12" }, h("form-control-file-v2", { key: '76365a80cd7068267a8a40c6be608a9344e884ce', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
|
|
43
43
|
}
|
|
44
44
|
}, [0, "justifi-cancellation-policy", {
|
|
45
45
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -59,10 +59,10 @@ const CardForm = /*@__PURE__*/ proxyCustomElement(class CardForm extends HTMLEle
|
|
|
59
59
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: 'c43351c7ab1eb6bf413f162634f55007798bb076' }, h(CardFormSkeleton, { key: 'f0a29497de2270108868e892d666b552dea27a1e', isReady: this.isReady }), h("div", { key: '2734b111c1f2f2275435d2141445ac30482946be', class: "container-fluid p-0", style: {
|
|
63
63
|
opacity: this.isReady ? '1' : '0',
|
|
64
64
|
height: this.isReady ? 'auto' : '0',
|
|
65
|
-
} }, h("div", { key: '
|
|
65
|
+
} }, h("div", { key: '036c359caaf8fc36fa6ba56bbcad5d01de1fe9c9', class: "mb-3" }, h("iframe-input", { key: '9baf7dc76ff18f8dee6e6cd08b93e1ba155d5cf2', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: 'cd54e4a30da50cfe5151b557fe1d92ebb483ad7e', class: "row" }, h("div", { key: '6b3e84079d606a6ffd5580deae0d6e4563d4c7ef', class: "col-4 align-content-end" }, h("iframe-input", { key: '9ea2ad1c93ca90bbb4bc7a4c83a72e8f4cc9da61', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '9478f77f64decfcdfd77f888d54cb37f46ad8ab7', class: "col-4 align-content-end" }, h("iframe-input", { key: '43191d41eb743e0c509236ea316c1afb180b8fbb', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: '65599647fc750e6c62fb2866190ffa87689d8a5b', class: "col-4 align-content-end" }, h("iframe-input", { key: 'df367f3143aaff25ba9147698090ccbcea902cbf', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
|
|
66
66
|
}
|
|
67
67
|
}, [0, "card-form", {
|
|
68
68
|
"isReady": [32],
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { C as ComponentErrorSeverity } from './Checkout.js';
|
|
2
|
+
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
3
|
+
|
|
4
|
+
const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
|
|
5
|
+
var _a;
|
|
6
|
+
try {
|
|
7
|
+
const response = await service.fetchCheckout(authToken, checkoutId);
|
|
8
|
+
if (!response.error) {
|
|
9
|
+
const checkout = response.data;
|
|
10
|
+
onSuccess({ checkout });
|
|
11
|
+
}
|
|
12
|
+
else {
|
|
13
|
+
const responseError = getErrorMessage(response.error);
|
|
14
|
+
const code = getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
|
|
15
|
+
return onError({
|
|
16
|
+
error: responseError,
|
|
17
|
+
code,
|
|
18
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
catch (error) {
|
|
23
|
+
const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
|
|
24
|
+
return onError({
|
|
25
|
+
error: error.message || error,
|
|
26
|
+
code,
|
|
27
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
const makeCheckoutComplete = ({ authToken, checkoutId, service }) => async ({ payment, onSuccess, onError }) => {
|
|
32
|
+
var _a;
|
|
33
|
+
try {
|
|
34
|
+
const response = await service.complete(authToken, checkoutId, payment);
|
|
35
|
+
if (!response.error) {
|
|
36
|
+
onSuccess(response);
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
const responseError = getErrorMessage(response.error);
|
|
40
|
+
const code = getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
|
|
41
|
+
return onError({
|
|
42
|
+
error: responseError,
|
|
43
|
+
code,
|
|
44
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
catch (error) {
|
|
49
|
+
const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
|
|
50
|
+
return onError({
|
|
51
|
+
error: error.message || error,
|
|
52
|
+
code,
|
|
53
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export { makeCheckoutComplete as a, makeGetCheckout as m };
|
|
@@ -6,25 +6,24 @@ import { B as Button } from './button.js';
|
|
|
6
6
|
import { S as StyledHost } from './styled-host.js';
|
|
7
7
|
import { S as Skeleton } from './skeleton.js';
|
|
8
8
|
import { t as text, V as checkoutSummary } from './parts.js';
|
|
9
|
-
import { d as defineCustomElement$
|
|
9
|
+
import { d as defineCustomElement$5, H as Header3 } from './billing-form.js';
|
|
10
10
|
import './details.js';
|
|
11
11
|
import './event-types.js';
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$
|
|
14
|
-
import { d as defineCustomElement$
|
|
15
|
-
import { d as defineCustomElement$
|
|
16
|
-
import { d as defineCustomElement$
|
|
17
|
-
import { d as defineCustomElement$
|
|
18
|
-
import { d as defineCustomElement$
|
|
19
|
-
import { d as defineCustomElement$
|
|
20
|
-
import { d as defineCustomElement$
|
|
21
|
-
import { d as defineCustomElement$
|
|
22
|
-
import { d as defineCustomElement$
|
|
23
|
-
import { d as defineCustomElement$
|
|
24
|
-
import { d as defineCustomElement$
|
|
25
|
-
import { d as defineCustomElement$
|
|
26
|
-
import { d as defineCustomElement$
|
|
27
|
-
import { d as defineCustomElement$1 } from './sezzle-payment-method.js';
|
|
12
|
+
import { d as defineCustomElement$g } from './bank-account-form2.js';
|
|
13
|
+
import { d as defineCustomElement$f } from './card-form2.js';
|
|
14
|
+
import { d as defineCustomElement$e } from './custom-popper2.js';
|
|
15
|
+
import { d as defineCustomElement$d } from './form-control-checkbox2.js';
|
|
16
|
+
import { d as defineCustomElement$c } from './form-control-help-text2.js';
|
|
17
|
+
import { d as defineCustomElement$b } from './form-control-radio2.js';
|
|
18
|
+
import { d as defineCustomElement$a } from './form-control-select2.js';
|
|
19
|
+
import { d as defineCustomElement$9 } from './form-control-text2.js';
|
|
20
|
+
import { d as defineCustomElement$8 } from './form-control-tooltip2.js';
|
|
21
|
+
import { d as defineCustomElement$7 } from './hidden-input2.js';
|
|
22
|
+
import { d as defineCustomElement$6 } from './iframe-input2.js';
|
|
23
|
+
import { d as defineCustomElement$4 } from './new-payment-method.js';
|
|
24
|
+
import { d as defineCustomElement$3 } from './payment-method-options.js';
|
|
25
|
+
import { d as defineCustomElement$2 } from './save-new-payment-method.js';
|
|
26
|
+
import { d as defineCustomElement$1 } from './saved-payment-method.js';
|
|
28
27
|
|
|
29
28
|
const CheckoutCore = /*@__PURE__*/ proxyCustomElement(class CheckoutCore extends HTMLElement {
|
|
30
29
|
constructor() {
|
|
@@ -175,7 +174,7 @@ function defineCustomElement() {
|
|
|
175
174
|
if (typeof customElements === "undefined") {
|
|
176
175
|
return;
|
|
177
176
|
}
|
|
178
|
-
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-billing-form", "justifi-new-payment-method", "justifi-payment-method-options", "justifi-save-new-payment-method", "justifi-saved-payment-method"
|
|
177
|
+
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-billing-form", "justifi-new-payment-method", "justifi-payment-method-options", "justifi-save-new-payment-method", "justifi-saved-payment-method"];
|
|
179
178
|
components.forEach(tagName => { switch (tagName) {
|
|
180
179
|
case "justifi-checkout-core":
|
|
181
180
|
if (!customElements.get(tagName)) {
|
|
@@ -183,86 +182,81 @@ function defineCustomElement() {
|
|
|
183
182
|
}
|
|
184
183
|
break;
|
|
185
184
|
case "bank-account-form":
|
|
186
|
-
if (!customElements.get(tagName)) {
|
|
187
|
-
defineCustomElement$h();
|
|
188
|
-
}
|
|
189
|
-
break;
|
|
190
|
-
case "card-form":
|
|
191
185
|
if (!customElements.get(tagName)) {
|
|
192
186
|
defineCustomElement$g();
|
|
193
187
|
}
|
|
194
188
|
break;
|
|
195
|
-
case "
|
|
189
|
+
case "card-form":
|
|
196
190
|
if (!customElements.get(tagName)) {
|
|
197
191
|
defineCustomElement$f();
|
|
198
192
|
}
|
|
199
193
|
break;
|
|
200
|
-
case "
|
|
194
|
+
case "custom-popper":
|
|
201
195
|
if (!customElements.get(tagName)) {
|
|
202
196
|
defineCustomElement$e();
|
|
203
197
|
}
|
|
204
198
|
break;
|
|
205
|
-
case "form-control-
|
|
199
|
+
case "form-control-checkbox":
|
|
206
200
|
if (!customElements.get(tagName)) {
|
|
207
201
|
defineCustomElement$d();
|
|
208
202
|
}
|
|
209
203
|
break;
|
|
210
|
-
case "form-control-
|
|
204
|
+
case "form-control-help-text":
|
|
211
205
|
if (!customElements.get(tagName)) {
|
|
212
206
|
defineCustomElement$c();
|
|
213
207
|
}
|
|
214
208
|
break;
|
|
215
|
-
case "form-control-
|
|
209
|
+
case "form-control-radio":
|
|
216
210
|
if (!customElements.get(tagName)) {
|
|
217
211
|
defineCustomElement$b();
|
|
218
212
|
}
|
|
219
213
|
break;
|
|
220
|
-
case "form-control-
|
|
214
|
+
case "form-control-select":
|
|
221
215
|
if (!customElements.get(tagName)) {
|
|
222
216
|
defineCustomElement$a();
|
|
223
217
|
}
|
|
224
218
|
break;
|
|
225
|
-
case "form-control-
|
|
219
|
+
case "form-control-text":
|
|
226
220
|
if (!customElements.get(tagName)) {
|
|
227
221
|
defineCustomElement$9();
|
|
228
222
|
}
|
|
229
223
|
break;
|
|
230
|
-
case "
|
|
224
|
+
case "form-control-tooltip":
|
|
231
225
|
if (!customElements.get(tagName)) {
|
|
232
226
|
defineCustomElement$8();
|
|
233
227
|
}
|
|
234
228
|
break;
|
|
235
|
-
case "
|
|
229
|
+
case "hidden-input":
|
|
236
230
|
if (!customElements.get(tagName)) {
|
|
237
231
|
defineCustomElement$7();
|
|
238
232
|
}
|
|
239
233
|
break;
|
|
240
|
-
case "
|
|
234
|
+
case "iframe-input":
|
|
241
235
|
if (!customElements.get(tagName)) {
|
|
242
236
|
defineCustomElement$6();
|
|
243
237
|
}
|
|
244
238
|
break;
|
|
245
|
-
case "justifi-
|
|
239
|
+
case "justifi-billing-form":
|
|
246
240
|
if (!customElements.get(tagName)) {
|
|
247
241
|
defineCustomElement$5();
|
|
248
242
|
}
|
|
249
243
|
break;
|
|
250
|
-
case "justifi-payment-method
|
|
244
|
+
case "justifi-new-payment-method":
|
|
251
245
|
if (!customElements.get(tagName)) {
|
|
252
246
|
defineCustomElement$4();
|
|
253
247
|
}
|
|
254
248
|
break;
|
|
255
|
-
case "justifi-
|
|
249
|
+
case "justifi-payment-method-options":
|
|
256
250
|
if (!customElements.get(tagName)) {
|
|
257
251
|
defineCustomElement$3();
|
|
258
252
|
}
|
|
259
253
|
break;
|
|
260
|
-
case "justifi-
|
|
254
|
+
case "justifi-save-new-payment-method":
|
|
261
255
|
if (!customElements.get(tagName)) {
|
|
262
256
|
defineCustomElement$2();
|
|
263
257
|
}
|
|
264
258
|
break;
|
|
265
|
-
case "justifi-
|
|
259
|
+
case "justifi-saved-payment-method":
|
|
266
260
|
if (!customElements.get(tagName)) {
|
|
267
261
|
defineCustomElement$1();
|
|
268
262
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { c as createStore } from './index2.js';
|
|
2
|
+
|
|
3
|
+
const initialState = {
|
|
4
|
+
authToken: '',
|
|
5
|
+
accountId: '',
|
|
6
|
+
paymentMethods: [],
|
|
7
|
+
paymentMethodGroupId: '',
|
|
8
|
+
paymentDescription: '',
|
|
9
|
+
totalAmount: 0,
|
|
10
|
+
paymentAmount: 0,
|
|
11
|
+
selectedPaymentMethod: '',
|
|
12
|
+
checkoutId: '',
|
|
13
|
+
bnplEnabled: false,
|
|
14
|
+
bnplProviderClientId: '',
|
|
15
|
+
bnplProviderMode: '',
|
|
16
|
+
bnplProviderApiVersion: '',
|
|
17
|
+
bnplProviderCheckoutUrl: '',
|
|
18
|
+
};
|
|
19
|
+
const { state, onChange } = createStore(initialState);
|
|
20
|
+
Object.keys(initialState).forEach((key) => {
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
onChange(key, (newValue) => {
|
|
23
|
+
state[key] = newValue;
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export { state as s };
|
|
@@ -11,7 +11,7 @@ import './details.js';
|
|
|
11
11
|
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';
|
|
12
12
|
import { T as TableClickActions } from './event-types.js';
|
|
13
13
|
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
14
|
-
import { n as tableHeadCell,
|
|
14
|
+
import { n as tableHeadCell, a8 as getAlternateTableCellPart } from './parts.js';
|
|
15
15
|
import { o as onQueryParamsChange, g as getRequestParams } from './checkouts-list-params-state.js';
|
|
16
16
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
17
17
|
|
|
@@ -179,7 +179,7 @@ const CheckoutsListCore = /*@__PURE__*/ proxyCustomElement(class CheckoutsListCo
|
|
|
179
179
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
180
180
|
}
|
|
181
181
|
render() {
|
|
182
|
-
return (h(TableWrapper, { key: '
|
|
182
|
+
return (h(TableWrapper, { key: 'c496328d1840fb1f823f233c04c78525b5f12553' }, h(TableComponent, { key: 'f994cfed9bf75a299fc94dd22306911d84b44541' }, h(TableHead, { key: '0ffb6ce97ebe1a35eb0143b43767223d844a70e0' }, h(TableHeadRow, { key: 'd063eaafc44bf75be0de5463a1f9b2789ec8b76e' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: '624a316c1631070a999c48342e71c55207b51be3' }, h(TableLoadingState, { key: '0f7444acf626537bf2179fdb64a435550bcf20d3', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'ea68f85498d3bcbb44c8d9158d5cc6a228867e6c', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'db72f0190431182f410f246ad00fceb51901fd66', 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: '855184d90f85a1dd299c372b5b065e1af2151a99' }, h(TableFootRow, { key: 'b216c505abd04f79c0a733312fc5babdb35f2b77' }, h(TableFootCell, { key: 'efa83af6ee8543443826ccfe4efc230afc5d05f6', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '70664e167672a40b63c7fdd2603c52e8584870e9', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
183
183
|
}
|
|
184
184
|
static get watchers() { return {
|
|
185
185
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface CoreInfoDetails extends Components.CoreInfoDetails, HTMLElement {}
|
|
4
|
+
export const CoreInfoDetails: {
|
|
5
|
+
prototype: CoreInfoDetails;
|
|
6
|
+
new (): CoreInfoDetails;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { D as DetailSectionTitle, a as DetailItem } from './utils.js';
|
|
3
|
+
import { s as snakeCaseToHumanReadable } from './utils2.js';
|
|
4
|
+
|
|
5
|
+
const CoreInfoDetails = /*@__PURE__*/ proxyCustomElement(class CoreInfoDetails extends HTMLElement {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
if (!this.business) {
|
|
12
|
+
return null;
|
|
13
|
+
}
|
|
14
|
+
return (h("div", null, h(DetailSectionTitle, { sectionTitle: "Business Core Info Details" }), h("div", { class: "d-table gap-2 w-100 mt-3" }, h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Legal Name", value: this.business.legal_name }), h(DetailItem, { title: "Doing Business As (DBA)", value: this.business.doing_business_as }), h(DetailItem, { title: "Business Classification", value: snakeCaseToHumanReadable(this.business.classification) }), h(DetailItem, { title: "Industry", value: this.business.industry })), h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Tax ID", value: this.business.tax_id }), h(DetailItem, { title: "Website URL", value: this.business.website_url }), h(DetailItem, { title: "Email Address", value: this.business.email }), h(DetailItem, { title: "Phone Number", value: this.business.phone }))))));
|
|
15
|
+
}
|
|
16
|
+
}, [0, "core-info-details", {
|
|
17
|
+
"business": [16]
|
|
18
|
+
}]);
|
|
19
|
+
function defineCustomElement() {
|
|
20
|
+
if (typeof customElements === "undefined") {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
const components = ["core-info-details"];
|
|
24
|
+
components.forEach(tagName => { switch (tagName) {
|
|
25
|
+
case "core-info-details":
|
|
26
|
+
if (!customElements.get(tagName)) {
|
|
27
|
+
customElements.define(tagName, CoreInfoDetails);
|
|
28
|
+
}
|
|
29
|
+
break;
|
|
30
|
+
} });
|
|
31
|
+
}
|
|
32
|
+
defineCustomElement();
|
|
33
|
+
|
|
34
|
+
export { CoreInfoDetails as C, defineCustomElement as d };
|