@justifi/webcomponents 5.7.3-rc-01 → 5.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Checkout-BsYZoJ0a.js → Checkout-TZnRz3-3.js} +3 -1
- package/dist/cjs/{ComponentError-CEv9ltwy.js → ComponentError-C4MdBBMe.js} +0 -2
- package/dist/cjs/{Refund-BDFOEJv_.js → Refund-BFE-2OxN.js} +56 -0
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +6 -7
- package/dist/cjs/{bank-account-form_7.cjs.entry.js → bank-account-form_9.cjs.entry.js} +190 -20
- package/dist/cjs/{business-additional-questions-schema-CHOaeZot.js → business-additional-questions-schema-e3GCIHk5.js} +6 -6
- package/dist/cjs/{business-identity-schema-DmpEndsx.js → business-identity-schema-Diqj_WVQ.js} +10 -10
- package/dist/cjs/{business.service-ev-3rHag.js → business.service-DNvLrr-n.js} +3 -4
- package/dist/cjs/{Analytics-DYN4hp2b.js → check-pkg-version-BlUxyRaM.js} +23 -24
- package/dist/cjs/{checkout.service-D4hTYr1i.js → checkout.service-Bx0RBq-I.js} +3 -4
- package/dist/cjs/checkouts-list-core.cjs.entry.js +4 -5
- package/dist/cjs/custom-popper_4.cjs.entry.js +6 -6
- package/dist/cjs/{dispute.service-Dru9NStj.js → dispute.service-DbUcp4sD.js} +3 -4
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number.cjs.entry.js +2 -2
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/{get-business-BiEc-jdH.js → get-business-BJrtsomz.js} +2 -2
- package/dist/cjs/{get-payment-details-AOibpML7.js → get-payment-details-C7Ezks0M.js} +4 -5
- package/dist/cjs/{get-payout-csv-CdNRRH0t.js → get-payout-csv-CXEQkjDm.js} +2 -2
- package/dist/cjs/{get-subaccounts-Dw7CbPDi.js → get-subaccounts-UpfFbDHH.js} +4 -5
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/iframe-input-styles-state-BJ9xnomM.js +26 -0
- package/dist/cjs/{hidden-input_2.cjs.entry.js → iframe-input.cjs.entry.js} +14 -111
- package/dist/cjs/{form-CWW8IM-X.js → index.esm-CVuJLXJZ.js} +10022 -10022
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +50 -24
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +12 -13
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +42 -42
- package/dist/cjs/justifi-business-details.cjs.entry.js +10 -11
- package/dist/cjs/justifi-business-form.cjs.entry.js +16 -17
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout.cjs.entry.js +67 -24
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +4 -5
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +11 -12
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -11
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +12 -13
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -9
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +12 -13
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +10 -11
- package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -11
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +10 -11
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +10 -11
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +10 -11
- package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -11
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +10 -11
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -13
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +17 -18
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +18 -17
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +5 -6
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -11
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +4 -5
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +11 -12
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +8 -16
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-DF9mLjoQ.js → package-v-c3ZR5a.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +8 -8
- package/dist/cjs/{payment-provisioning-actions-SNMCdsyF.js → payment-provisioning-actions-BkWSDJQQ.js} +2 -2
- package/dist/cjs/{payment.service-rsnscZu7.js → payment.service-CVZgDrZw.js} +3 -4
- package/dist/cjs/payments-list-core.cjs.entry.js +4 -5
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{payout.service-BnmI3X4n.js → payout.service-D6kmeDsy.js} +3 -4
- package/dist/cjs/payouts-list-core.cjs.entry.js +4 -5
- package/dist/cjs/{schema-validations-C0BNwMBi.js → schema-validations-BSeMee-o.js} +31 -54
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +5 -6
- package/dist/cjs/{terminal-orders-table-OxMHSAJ1.js → terminal-orders-table-CUOWHQ6V.js} +3 -4
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service--PPaq5xS.js → terminal.service-BxRchD7X.js} +3 -4
- package/dist/cjs/terminals-list-core.cjs.entry.js +4 -5
- package/dist/cjs/{utils-IGCnjtqc.js → utils-l0veqT9y.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Checkout.js +3 -1
- package/dist/collection/api/ComponentError.js +0 -2
- package/dist/collection/collection-manifest.json +1 -8
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +1 -1
- package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +36 -8
- package/dist/collection/components/business-forms/schemas/schema-validations.js +1 -47
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/billing-form/billing-form.js +1 -1
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +2 -11
- package/dist/collection/components/checkout/payment-method-options.js +33 -3
- package/dist/collection/components/checkout/sezzle-payment-method.js +240 -0
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
- package/dist/collection/components/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +12 -10
- package/dist/collection/components/order-terminals/order-terminals.js +1 -1
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +8 -8
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/payments-list.js +1 -1
- package/dist/collection/components/payout-details/payout-details-core.js +3 -3
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +1 -1
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +3 -10
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +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/docs.json +250 -841
- package/dist/esm/{Api-CqimcNgb.js → Api-BNYhCiE2.js} +1 -1
- package/dist/esm/{Checkout-CV6qgU0r.js → Checkout-B9LrTq63.js} +4 -2
- package/dist/esm/{ComponentError-BhrFjjAs.js → ComponentError-SdntD1xf.js} +0 -2
- package/dist/esm/{Payment-BEvE6jAC.js → Payment-BGiKmQYR.js} +1 -1
- package/dist/esm/{Refund-CwUn_GFj.js → Refund-DDIEc_gu.js} +56 -2
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/{badge-D_Q0kAPD.js → badge-C-nwyQ3h.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +10 -11
- package/dist/esm/{bank-account-form_7.entry.js → bank-account-form_9.entry.js} +186 -18
- package/dist/esm/{business-additional-questions-schema-0lssJqN7.js → business-additional-questions-schema-uQlQ8fXQ.js} +2 -2
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business-identity-schema-Bel1K5mu.js → business-identity-schema-BsrgqgDl.js} +2 -2
- package/dist/esm/{business.service-BM8hLxHS.js → business.service-DP2HUV0w.js} +5 -6
- package/dist/esm/{button-BVAxQPpP.js → button-BGlG9iX5.js} +1 -1
- package/dist/esm/{Analytics-DR277kvb.js → check-pkg-version-Dff5h73V.js} +25 -26
- package/dist/esm/{checkout.service-CuCgG9hv.js → checkout.service-DkTEFCSZ.js} +5 -6
- package/dist/esm/checkouts-list-core.entry.js +11 -12
- package/dist/esm/{checkouts-table-Cc6U-0md.js → checkouts-table-rhDm-zAB.js} +3 -3
- package/dist/esm/custom-popper_4.entry.js +8 -8
- package/dist/esm/{dispute.service-rB4Hq6ot.js → dispute.service-CUcw-v4N.js} +5 -6
- package/dist/esm/form-alert_5.entry.js +1 -1
- package/dist/esm/form-control-checkbox.entry.js +5 -5
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-_SAT-ts2.js → form-control-error-text-CwJc1ShT.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-Cjeu_VrV.js → form-control-help-text-COx__-BM.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
- package/dist/esm/form-control-monetary.entry.js +6 -6
- package/dist/esm/form-control-number-masked_2.entry.js +4 -4
- package/dist/esm/form-control-number.entry.js +5 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/{get-business-BSRtbTh7.js → get-business-GEPTefIj.js} +2 -2
- package/dist/esm/{get-payment-details-DtkGDTwo.js → get-payment-details-Ea6HDOQH.js} +6 -7
- package/dist/esm/{get-payout-csv-U_pgdPpb.js → get-payout-csv-D7IYYqVL.js} +2 -2
- package/dist/esm/{get-subaccounts-C-ENQBmY.js → get-subaccounts-DcHphsRK.js} +7 -8
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-5FIT-wD7.js → header-1-Dj4_I_9S.js} +1 -1
- package/dist/esm/{header-3-Ce9WLWBm.js → header-3-CLoMDfp0.js} +1 -1
- package/dist/esm/iframe-input-styles-state-CfSmDqfA.js +23 -0
- package/dist/esm/{hidden-input_2.entry.js → iframe-input.entry.js} +10 -106
- package/dist/esm/{form-BjGUIqxU.js → index.esm-BCNUj0Dx.js} +10022 -10022
- package/dist/esm/{insurance-state-BcwZy_5w.js → insurance-state-CUJP_TDB.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +46 -20
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +12 -13
- package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
- package/dist/esm/justifi-business-details.entry.js +13 -14
- package/dist/esm/justifi-business-form.entry.js +19 -20
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-checkout-core.entry.js +8 -8
- package/dist/esm/justifi-checkout.entry.js +66 -23
- package/dist/esm/justifi-checkouts-list-filters.entry.js +7 -8
- package/dist/esm/justifi-checkouts-list.entry.js +15 -16
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +11 -12
- package/dist/esm/justifi-dispute-notification_3.entry.js +16 -17
- package/dist/esm/justifi-gross-payment-chart.entry.js +11 -12
- package/dist/esm/justifi-order-terminals.entry.js +15 -16
- package/dist/esm/justifi-owner-form_3.entry.js +14 -15
- package/dist/esm/justifi-payment-details.entry.js +13 -14
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +11 -12
- package/dist/esm/justifi-payment-transactions-list.entry.js +14 -15
- package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payments-list.entry.js +15 -16
- package/dist/esm/justifi-payout-details.entry.js +13 -14
- package/dist/esm/justifi-payout-transactions-list.entry.js +14 -15
- package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payouts-list.entry.js +17 -18
- package/dist/esm/justifi-refund-payment.entry.js +15 -16
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
- package/dist/esm/justifi-season-interruption-insurance.entry.js +19 -18
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +8 -9
- package/dist/esm/justifi-terminal-orders-list.entry.js +13 -14
- package/dist/esm/justifi-terminals-list-filters.entry.js +7 -8
- package/dist/esm/justifi-terminals-list.entry.js +15 -16
- package/dist/esm/justifi-tokenize-payment-method.entry.js +11 -19
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-CyXXks-Q.js → package-DzXsHdKv.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-_6eQgwfE.js → parts-BrLVc_85.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +14 -14
- package/dist/esm/{payment-provisioning-actions-2qP7AtHj.js → payment-provisioning-actions-BIfyW239.js} +2 -2
- package/dist/esm/{payment.service-DoUv1QsX.js → payment.service-BBse35Bb.js} +5 -6
- package/dist/esm/payments-list-core.entry.js +12 -13
- package/dist/esm/{payments-status-BeL2gi3P.js → payments-status-CO0mZyxH.js} +1 -1
- package/dist/esm/{payments-table-MrDAlH2o.js → payments-table-BYmcN_eJ.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +10 -10
- package/dist/esm/{payout.service-B_Fm08zQ.js → payout.service-DYk7xoLp.js} +5 -6
- package/dist/esm/payouts-list-core.entry.js +12 -13
- package/dist/esm/{payouts-status-BxbhUjA3.js → payouts-status-BqhlFWZJ.js} +1 -1
- package/dist/esm/{payouts-table-HoX3UYIj.js → payouts-table-BoNMXUDt.js} +3 -3
- package/dist/esm/{schema-validations-DYV7urvw.js → schema-validations-DLWfpHyI.js} +2 -23
- package/dist/esm/{skeleton-CPNYhX-V.js → skeleton-D6agoQ_l.js} +1 -1
- package/dist/esm/{spinner-Cl-6YJPf.js → spinner-C8twYXzL.js} +1 -1
- package/dist/esm/{table-RCk8zh4L.js → table-BzdzS7PI.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +11 -12
- package/dist/esm/{terminal-orders-table-DxHLNkx_.js → terminal-orders-table-BxZFOqli.js} +7 -8
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-2VkdfNas.js → terminal.service-WIpzxBkU.js} +5 -6
- package/dist/esm/terminals-list-core.entry.js +11 -12
- package/dist/esm/{terminals-table-v-LOevYA.js → terminals-table-DVreYpwc.js} +3 -3
- package/dist/esm/{utils-BjLkBMLe.js → utils-DB5fh6Iv.js} +1 -1
- package/dist/esm/{utils-1WrbuHVR.js → utils-DGozGJLI.js} +1 -1
- package/dist/esm/{utils-BZvep88z.js → utils-Dccsn9BY.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Checkout.js +3 -3
- package/dist/module/Refund.js +55 -1
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/bank-account-document-inputs.js +1 -2
- package/dist/module/bank-account-form2.js +2 -2
- package/dist/module/billing-form.js +3 -3
- package/dist/module/business-address-schema.js +1 -1
- package/dist/module/business-bank-account-form-step-core.js +37 -11
- package/dist/module/business-bank-account-form-step.js +0 -1
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-identity-schema.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +1 -2
- package/dist/module/business.service.js +0 -1
- 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/{Analytics.js → check-pkg-version.js} +21 -22
- package/dist/module/checkout-core.js +38 -32
- package/dist/module/checkout.service.js +0 -1
- package/dist/module/checkouts-list-core2.js +2 -3
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +1 -1
- package/dist/module/dispute-response-actions.js +0 -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/form.js +1 -1
- package/dist/module/get-payment-details.js +0 -1
- package/dist/module/get-subaccounts.js +0 -1
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +5 -5
- package/dist/module/justifi-business-details.js +1 -1
- package/dist/module/justifi-business-form.js +1 -2
- package/dist/module/justifi-checkout.js +99 -48
- package/dist/module/justifi-checkouts-list-filters.js +2 -3
- package/dist/module/justifi-checkouts-list.js +2 -3
- package/dist/module/justifi-dispute-management.js +2 -2
- package/dist/module/justifi-gross-payment-chart.js +1 -2
- package/dist/module/justifi-order-terminals.js +4 -5
- package/dist/module/justifi-payment-details.js +1 -1
- package/dist/module/justifi-payment-provisioning.js +1 -2
- package/dist/module/justifi-payment-transactions-list.js +4 -5
- package/dist/module/justifi-payments-list-filters.js +3 -3
- package/dist/module/justifi-payments-list.js +2 -3
- package/dist/module/justifi-payout-details.js +1 -2
- package/dist/module/justifi-payout-transactions-list.js +4 -5
- package/dist/module/justifi-payouts-list-filters.js +3 -3
- package/dist/module/justifi-payouts-list.js +2 -3
- package/dist/module/justifi-refund-payment.js +2 -3
- package/dist/module/justifi-season-interruption-insurance.js +11 -10
- package/dist/module/justifi-sezzle-payment-method.js +1 -108
- package/dist/module/justifi-terminal-orders-list-filters.js +3 -4
- package/dist/module/justifi-terminal-orders-list.js +3 -4
- package/dist/module/justifi-terminals-list-filters.js +2 -3
- package/dist/module/justifi-terminals-list.js +3 -4
- package/dist/module/justifi-tokenize-payment-method.js +40 -42
- package/dist/module/package.js +3 -3
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-details-core2.js +8 -8
- package/dist/module/payment-method-options.js +51 -34
- package/dist/module/payment.service.js +0 -1
- package/dist/module/payments-list-core2.js +2 -3
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payout.service.js +0 -1
- package/dist/module/payouts-list-core2.js +2 -3
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/saved-payment-method.js +22 -2
- package/dist/module/schema-validations.js +2 -23
- package/dist/module/sezzle-payment-method.js +104 -0
- 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 -3
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminal.service.js +0 -1
- package/dist/module/terminals-list-core2.js +2 -3
- package/dist/types/api/Checkout.d.ts +13 -14
- package/dist/types/api/ComponentError.d.ts +1 -3
- package/dist/types/components/business-forms/schemas/schema-validations.d.ts +0 -7
- package/dist/types/components/checkout/checkout.d.ts +0 -1
- package/dist/types/components/checkout/payment-method-options.d.ts +1 -0
- package/dist/types/components/{modular-checkout-parts → checkout}/sezzle-payment-method.d.ts +8 -2
- package/dist/types/components/insurance/season-interruption/season-interruption-insurance.d.ts +2 -2
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +2 -2
- package/dist/types/components.d.ts +22 -165
- package/dist/types/ui-components/form/iframe-input.d.ts +1 -2
- package/dist/webcomponents/p--B09FkmB.js +1 -0
- package/dist/webcomponents/p-08b3ec57.entry.js +1 -0
- package/dist/webcomponents/p-0b28597b.entry.js +1 -0
- package/dist/webcomponents/p-0b52d1dd.entry.js +1 -0
- package/dist/webcomponents/p-0b964616.entry.js +1 -0
- package/dist/webcomponents/p-186a25e3.entry.js +1 -0
- package/dist/webcomponents/p-234c0b0a.entry.js +1 -0
- package/dist/webcomponents/{p-df2ad580.entry.js → p-27a7ba0d.entry.js} +1 -1
- package/dist/webcomponents/p-297b4a1a.entry.js +1 -0
- package/dist/webcomponents/p-299c215b.entry.js +1 -0
- package/dist/webcomponents/p-2GKzt6ql.js +1 -0
- package/dist/webcomponents/p-39236b05.entry.js +1 -0
- package/dist/webcomponents/{p-5da3ba38.entry.js → p-3af7b1ee.entry.js} +1 -1
- package/dist/webcomponents/{p-15c63931.entry.js → p-3ddaea2d.entry.js} +1 -1
- package/dist/webcomponents/p-41ce682a.entry.js +1 -0
- package/dist/webcomponents/{p-5ea3cfca.entry.js → p-454d5cab.entry.js} +1 -1
- package/dist/webcomponents/p-4bf6f767.entry.js +1 -0
- package/dist/webcomponents/p-59a2ccdb.entry.js +1 -0
- package/dist/webcomponents/p-68425065.entry.js +1 -0
- package/dist/webcomponents/p-69e8b394.entry.js +1 -0
- package/dist/webcomponents/p-6ab28931.entry.js +1 -0
- package/dist/webcomponents/p-6f08cc3e.entry.js +1 -0
- package/dist/webcomponents/p-74412d52.entry.js +1 -0
- package/dist/webcomponents/p-77957f7f.entry.js +1 -0
- package/dist/webcomponents/p-7a254093.entry.js +20 -0
- package/dist/webcomponents/p-7db9f780.entry.js +1 -0
- package/dist/webcomponents/p-7fbdaa8a.entry.js +1 -0
- package/dist/webcomponents/p-86112ed3.entry.js +1 -0
- package/dist/webcomponents/p-863d53ef.entry.js +1 -0
- package/dist/webcomponents/p-8a62bc7a.entry.js +1 -0
- package/dist/webcomponents/p-8b02e43a.entry.js +1 -0
- package/dist/webcomponents/p-8f354461.entry.js +1 -0
- package/dist/webcomponents/{p-584ba20d.entry.js → p-90d36a2f.entry.js} +1 -1
- package/dist/webcomponents/{p-be51c7c5.entry.js → p-959d5f08.entry.js} +1 -1
- package/dist/webcomponents/p-972531a2.entry.js +1 -0
- package/dist/webcomponents/{p-b3e6d27c.entry.js → p-99ff608b.entry.js} +1 -1
- package/dist/webcomponents/p-9bb3ccba.entry.js +1 -0
- package/dist/webcomponents/{p-e8294f7e.entry.js → p-9be5b03a.entry.js} +1 -1
- package/dist/webcomponents/{p-f71b1ff0.entry.js → p-9e7c8e33.entry.js} +1 -1
- package/dist/webcomponents/p-9ef53bb1.entry.js +1 -0
- package/dist/webcomponents/p-AW4YV_IW.js +1 -0
- package/dist/webcomponents/p-B2ts3XP0.js +1 -0
- package/dist/webcomponents/p-BBEApkWm.js +1 -0
- package/dist/webcomponents/{p-B4MIwTdb.js → p-BC1KMlPG.js} +1 -1
- package/dist/webcomponents/p-BERbc4aX.js +1 -0
- package/dist/webcomponents/p-BLm_qZkx.js +1 -0
- package/dist/webcomponents/{p-BxfUcCXo.js → p-BTS3E50C.js} +1 -1
- package/dist/webcomponents/p-BdTK0wi9.js +1 -0
- package/dist/webcomponents/{p-Yj41tobi.js → p-BjDSEZvx.js} +1 -1
- package/dist/webcomponents/{p-9REosSLu.js → p-BnE7qgLh.js} +1 -1
- package/dist/webcomponents/{p-_6eQgwfE.js → p-BrLVc_85.js} +1 -1
- package/dist/webcomponents/{p-D3SYNGyb.js → p-C-78OQ89.js} +1 -1
- package/dist/webcomponents/p-C26QVwoo.js +1 -0
- package/dist/webcomponents/p-C5RuuShs.js +1 -0
- package/dist/webcomponents/p-C6qAZgXn.js +1 -0
- package/dist/webcomponents/{p-B7VsiIW-.js → p-CEqUppok.js} +1 -1
- package/dist/webcomponents/{p-BSUCBhkJ.js → p-CNv7zeGM.js} +1 -1
- package/dist/webcomponents/p-CU_goaUQ.js +1 -0
- package/dist/webcomponents/p-CgSKeuxa.js +1 -0
- package/dist/webcomponents/p-Co9WxzRf.js +1 -0
- package/dist/webcomponents/p-Cs0cIpIm.js +1 -0
- package/dist/webcomponents/{p-CqVelcDt.js → p-DOb1iL29.js} +1 -1
- package/dist/webcomponents/p-DPUXZApk.js +1 -0
- package/dist/webcomponents/p-DVnVdicA.js +1 -0
- package/dist/webcomponents/p-DbhOyu_u.js +1 -0
- package/dist/webcomponents/p-DcwpS5VC.js +1 -0
- package/dist/webcomponents/p-DgPQlpzy.js +1 -0
- package/dist/webcomponents/{p-Ctw40vkk.js → p-DmLTJr3R.js} +1 -1
- package/dist/webcomponents/p-DniQ6yo6.js +1 -0
- package/dist/webcomponents/{p-D7js9xfx.js → p-DzFysjCc.js} +1 -1
- package/dist/webcomponents/p-DzXsHdKv.js +1 -0
- package/dist/webcomponents/{p-BhLPwu1L.js → p-EVfmZi89.js} +1 -1
- package/dist/webcomponents/p-JOSiCHl7.js +1 -0
- package/dist/webcomponents/p-SdntD1xf.js +1 -0
- package/dist/webcomponents/p-UyFPa3Jb.js +1 -0
- package/dist/webcomponents/p-a1860b96.entry.js +1 -0
- package/dist/webcomponents/{p-ea664ada.entry.js → p-a7f5262a.entry.js} +1 -1
- package/dist/webcomponents/{p-712220f9.entry.js → p-ae62bc55.entry.js} +1 -1
- package/dist/webcomponents/p-am93SGf-.js +1 -0
- package/dist/webcomponents/p-b2086753.entry.js +1 -0
- package/dist/webcomponents/p-b3de3312.entry.js +1 -0
- package/dist/webcomponents/p-b4da0e31.entry.js +1 -0
- package/dist/webcomponents/{p-ff223825.entry.js → p-ba7c7025.entry.js} +1 -1
- package/dist/webcomponents/p-bd387500.entry.js +1 -0
- package/dist/webcomponents/p-c3b8c25f.entry.js +1 -0
- package/dist/webcomponents/p-c5f3f2cc.entry.js +1 -0
- package/dist/webcomponents/p-c60219ba.entry.js +1 -0
- package/dist/webcomponents/p-caa90e8c.entry.js +1 -0
- package/dist/webcomponents/{p-9a17fd5a.entry.js → p-d144c5e5.entry.js} +1 -1
- package/dist/webcomponents/p-d44c7900.entry.js +1 -0
- package/dist/webcomponents/p-d6tXI5Iw.js +1 -0
- package/dist/webcomponents/{p-ef9dcfe1.entry.js → p-ded52cad.entry.js} +1 -1
- package/dist/webcomponents/p-df044e50.entry.js +1 -0
- package/dist/webcomponents/p-e0c8e41a.entry.js +1 -0
- package/dist/webcomponents/p-e8a1dbe2.entry.js +1 -0
- package/dist/webcomponents/p-ef930355.entry.js +1 -0
- package/dist/webcomponents/p-f4aa30b8.entry.js +1 -0
- package/dist/webcomponents/p-f7c23a96.entry.js +1 -0
- package/dist/webcomponents/p-f9510372.entry.js +1 -0
- package/dist/webcomponents/p-fe8938ba.entry.js +1 -0
- package/dist/webcomponents/p-iPHDHB_q.js +1 -0
- package/dist/webcomponents/p-lfLAtTgJ.js +1 -0
- package/dist/webcomponents/p-n0Sbmvzb.js +1 -0
- package/dist/webcomponents/p-oE-E7kjN.js +1 -0
- package/dist/webcomponents/{p-DddGO-XR.js → p-vTsHmSQQ.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/Document-rXGBUaOh.js +0 -58
- package/dist/cjs/billing-form-schema-oZ4GROWP.js +0 -26
- package/dist/cjs/checkout-actions-CRbQgLn0.js +0 -61
- package/dist/cjs/checkout.store-osqdxFMq.js +0 -29
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +0 -85
- package/dist/cjs/justifi-billing-information-form.cjs.entry.js +0 -51
- package/dist/cjs/justifi-card-form.cjs.entry.js +0 -93
- package/dist/cjs/justifi-checkout-summary.cjs.entry.js +0 -21
- package/dist/cjs/justifi-modular-checkout.cjs.entry.js +0 -205
- package/dist/cjs/justifi-postal-code-form.cjs.entry.js +0 -50
- package/dist/cjs/justifi-saved-payment-methods.cjs.entry.js +0 -31
- package/dist/cjs/justifi-sezzle-payment-method.cjs.entry.js +0 -80
- package/dist/cjs/payment-method-option-utils-imuSE7KV.js +0 -25
- 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 -345
- package/dist/collection/components/modular-checkout-parts/bank-account-skeleton.js +0 -10
- package/dist/collection/components/modular-checkout-parts/bank-account.js +0 -119
- package/dist/collection/components/modular-checkout-parts/billing-form-schema.js +0 -21
- package/dist/collection/components/modular-checkout-parts/billing-form.js +0 -116
- package/dist/collection/components/modular-checkout-parts/card-form-skeleton.js +0 -10
- package/dist/collection/components/modular-checkout-parts/card-form.js +0 -123
- package/dist/collection/components/modular-checkout-parts/postal-code-form.js +0 -114
- package/dist/collection/components/modular-checkout-parts/saved-payment-methods.js +0 -23
- package/dist/collection/components/modular-checkout-parts/sezzle-payment-method.js +0 -127
- package/dist/collection/components/modular-checkout-parts/summary.js +0 -12
- package/dist/collection/store/checkout.store.js +0 -25
- package/dist/esm/Document-Ct-uNz2r.js +0 -55
- package/dist/esm/billing-form-schema-PFvYpvy4.js +0 -24
- package/dist/esm/checkout-actions-UQ6g1s7I.js +0 -58
- package/dist/esm/checkout.store-DQrlfeus.js +0 -27
- package/dist/esm/justifi-bank-account-form.entry.js +0 -83
- package/dist/esm/justifi-billing-information-form.entry.js +0 -49
- package/dist/esm/justifi-card-form.entry.js +0 -91
- package/dist/esm/justifi-checkout-summary.entry.js +0 -19
- package/dist/esm/justifi-modular-checkout.entry.js +0 -203
- package/dist/esm/justifi-postal-code-form.entry.js +0 -48
- package/dist/esm/justifi-saved-payment-methods.entry.js +0 -29
- package/dist/esm/justifi-sezzle-payment-method.entry.js +0 -78
- package/dist/esm/payment-method-option-utils-8n_ALxec.js +0 -23
- package/dist/module/Document.js +0 -55
- package/dist/module/billing-form-schema.js +0 -24
- package/dist/module/checkout-actions.js +0 -58
- package/dist/module/checkout.store.js +0 -27
- package/dist/module/justifi-bank-account-form.d.ts +0 -11
- package/dist/module/justifi-bank-account-form.js +0 -103
- package/dist/module/justifi-billing-information-form.d.ts +0 -11
- package/dist/module/justifi-billing-information-form.js +0 -94
- package/dist/module/justifi-card-form.d.ts +0 -11
- package/dist/module/justifi-card-form.js +0 -111
- package/dist/module/justifi-checkout-summary.d.ts +0 -11
- package/dist/module/justifi-checkout-summary.js +0 -37
- package/dist/module/justifi-modular-checkout.d.ts +0 -11
- package/dist/module/justifi-modular-checkout.js +0 -219
- package/dist/module/justifi-postal-code-form.d.ts +0 -11
- package/dist/module/justifi-postal-code-form.js +0 -86
- package/dist/module/justifi-saved-payment-methods.d.ts +0 -11
- package/dist/module/justifi-saved-payment-methods.js +0 -58
- package/dist/module/payment-method-option-utils.js +0 -23
- 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 -31
- package/dist/types/components/modular-checkout-parts/bank-account-skeleton.d.ts +0 -6
- package/dist/types/components/modular-checkout-parts/bank-account.d.ts +0 -18
- package/dist/types/components/modular-checkout-parts/billing-form-schema.d.ts +0 -23
- package/dist/types/components/modular-checkout-parts/billing-form.d.ts +0 -16
- package/dist/types/components/modular-checkout-parts/card-form-skeleton.d.ts +0 -6
- package/dist/types/components/modular-checkout-parts/card-form.d.ts +0 -20
- package/dist/types/components/modular-checkout-parts/postal-code-form.d.ts +0 -16
- package/dist/types/components/modular-checkout-parts/saved-payment-methods.d.ts +0 -5
- package/dist/types/components/modular-checkout-parts/summary.d.ts +0 -3
- package/dist/types/store/checkout.store.d.ts +0 -19
- package/dist/webcomponents/p-00900e52.entry.js +0 -1
- package/dist/webcomponents/p-025ae692.entry.js +0 -1
- package/dist/webcomponents/p-02e26641.entry.js +0 -1
- package/dist/webcomponents/p-04c91ec1.entry.js +0 -1
- package/dist/webcomponents/p-0d5e93b3.entry.js +0 -1
- package/dist/webcomponents/p-19b5f93a.entry.js +0 -1
- package/dist/webcomponents/p-1ac365b4.entry.js +0 -1
- package/dist/webcomponents/p-1d64d86b.entry.js +0 -1
- package/dist/webcomponents/p-20d7db42.entry.js +0 -1
- package/dist/webcomponents/p-25b310f0.entry.js +0 -1
- package/dist/webcomponents/p-271b131d.entry.js +0 -1
- package/dist/webcomponents/p-2882b4e9.entry.js +0 -1
- package/dist/webcomponents/p-2a08ba01.entry.js +0 -1
- package/dist/webcomponents/p-2f027626.entry.js +0 -1
- package/dist/webcomponents/p-2fa36c0e.entry.js +0 -1
- package/dist/webcomponents/p-379584fb.entry.js +0 -1
- package/dist/webcomponents/p-39f31e23.entry.js +0 -1
- package/dist/webcomponents/p-3b6888c5.entry.js +0 -1
- package/dist/webcomponents/p-3d62f9a5.entry.js +0 -1
- package/dist/webcomponents/p-3edd5ebd.entry.js +0 -1
- package/dist/webcomponents/p-4232760b.entry.js +0 -1
- package/dist/webcomponents/p-4be4f7b4.entry.js +0 -1
- package/dist/webcomponents/p-531738ae.entry.js +0 -1
- package/dist/webcomponents/p-54019e68.entry.js +0 -1
- package/dist/webcomponents/p-5bc6f1e6.entry.js +0 -20
- package/dist/webcomponents/p-5bfbb0f8.entry.js +0 -1
- package/dist/webcomponents/p-5f9dbaff.entry.js +0 -1
- package/dist/webcomponents/p-6b229318.entry.js +0 -1
- package/dist/webcomponents/p-6fc1ace5.entry.js +0 -1
- package/dist/webcomponents/p-716d41f2.entry.js +0 -1
- package/dist/webcomponents/p-7253f1ea.entry.js +0 -1
- package/dist/webcomponents/p-80b662de.entry.js +0 -1
- package/dist/webcomponents/p-82164a5e.entry.js +0 -1
- package/dist/webcomponents/p-8532c68c.entry.js +0 -1
- package/dist/webcomponents/p-8590c5df.entry.js +0 -1
- package/dist/webcomponents/p-8e555a6e.entry.js +0 -1
- package/dist/webcomponents/p-96f89c69.entry.js +0 -1
- package/dist/webcomponents/p-98a39544.entry.js +0 -1
- package/dist/webcomponents/p-9a9f9c57.entry.js +0 -1
- package/dist/webcomponents/p-B8Ovjy6S.js +0 -1
- package/dist/webcomponents/p-BE5Nvydk.js +0 -1
- package/dist/webcomponents/p-BGHVK-vQ.js +0 -1
- package/dist/webcomponents/p-BPCw4WEY.js +0 -1
- package/dist/webcomponents/p-BhrFjjAs.js +0 -1
- package/dist/webcomponents/p-Bond4qGX.js +0 -1
- package/dist/webcomponents/p-BpEw7AJl.js +0 -1
- package/dist/webcomponents/p-C-WgCIei.js +0 -1
- package/dist/webcomponents/p-CCpqJxzB.js +0 -1
- package/dist/webcomponents/p-CLpgfEbx.js +0 -1
- package/dist/webcomponents/p-CRYPNa2o.js +0 -1
- package/dist/webcomponents/p-CeNlJX4-.js +0 -1
- package/dist/webcomponents/p-CnnRWu7z.js +0 -1
- package/dist/webcomponents/p-Ct-uNz2r.js +0 -1
- package/dist/webcomponents/p-CvChBLtI.js +0 -1
- package/dist/webcomponents/p-CwHYDF33.js +0 -1
- package/dist/webcomponents/p-CyXXks-Q.js +0 -1
- package/dist/webcomponents/p-Czro_9VO.js +0 -1
- package/dist/webcomponents/p-DKClunJd.js +0 -1
- package/dist/webcomponents/p-DOB09NZD.js +0 -1
- package/dist/webcomponents/p-DUdzWNqB.js +0 -1
- package/dist/webcomponents/p-D_FOQEGU.js +0 -1
- package/dist/webcomponents/p-DaS3t0DL.js +0 -1
- package/dist/webcomponents/p-Dge4w7_c.js +0 -1
- package/dist/webcomponents/p-DkWBoLsd.js +0 -1
- package/dist/webcomponents/p-DknV-QPT.js +0 -1
- package/dist/webcomponents/p-DuiQuWNq.js +0 -1
- package/dist/webcomponents/p-Dw6NWKHn.js +0 -1
- package/dist/webcomponents/p-DzPrenCi.js +0 -1
- package/dist/webcomponents/p-NqdaxjDT.js +0 -1
- package/dist/webcomponents/p-YDuIVoos.js +0 -1
- package/dist/webcomponents/p-a2db11b5.entry.js +0 -1
- package/dist/webcomponents/p-a31913e3.entry.js +0 -1
- package/dist/webcomponents/p-a4d457e9.entry.js +0 -1
- package/dist/webcomponents/p-b8ee41c1.entry.js +0 -1
- package/dist/webcomponents/p-bde749ac.entry.js +0 -1
- package/dist/webcomponents/p-bf16b11c.entry.js +0 -1
- package/dist/webcomponents/p-ce291c6a.entry.js +0 -1
- package/dist/webcomponents/p-d82b509a.entry.js +0 -1
- package/dist/webcomponents/p-d9b06582.entry.js +0 -1
- package/dist/webcomponents/p-dbc02ba8.entry.js +0 -1
- package/dist/webcomponents/p-dcad0df5.entry.js +0 -1
- package/dist/webcomponents/p-e03630ec.entry.js +0 -1
- package/dist/webcomponents/p-e07sVz4Z.js +0 -1
- package/dist/webcomponents/p-e563df65.entry.js +0 -1
- package/dist/webcomponents/p-ec9bb3f6.entry.js +0 -1
- package/dist/webcomponents/p-ecf6a315.entry.js +0 -1
- package/dist/webcomponents/p-f7e24a51.entry.js +0 -1
- package/dist/webcomponents/p-hDoH7hHP.js +0 -1
- package/dist/webcomponents/p-pGzabKc7.js +0 -1
- package/dist/webcomponents/p-zucQG3cz.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { w as waitForConfig, c as configState } from './config-state-BjXhUj2q.js';
|
|
2
|
-
import { g as generateId } from './utils-
|
|
2
|
+
import { g as generateId } from './utils-DB5fh6Iv.js';
|
|
3
3
|
|
|
4
4
|
const Api = () => {
|
|
5
5
|
async function getAuthorizationHeader(authToken) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as formatCurrency } from './utils-
|
|
1
|
+
import { f as formatCurrency } from './utils-DB5fh6Iv.js';
|
|
2
2
|
|
|
3
3
|
class Completion {
|
|
4
4
|
constructor(data) {
|
|
@@ -51,7 +51,7 @@ class Checkout {
|
|
|
51
51
|
return ICheckoutPaymentMode.unknown;
|
|
52
52
|
}
|
|
53
53
|
const sortedCompletions = this.completions.sort((a, b) => {
|
|
54
|
-
return
|
|
54
|
+
return new Date(b.updated_at).getTime() - new Date(a.updated_at).getTime();
|
|
55
55
|
});
|
|
56
56
|
const lastCompletion = sortedCompletions[0];
|
|
57
57
|
if (lastCompletion.payment_mode) {
|
|
@@ -65,9 +65,11 @@ class Checkout {
|
|
|
65
65
|
}
|
|
66
66
|
return paymentMode;
|
|
67
67
|
}
|
|
68
|
+
;
|
|
68
69
|
formattedPaymentAmount(amount) {
|
|
69
70
|
return formatCurrency(amount, this.payment_currency);
|
|
70
71
|
}
|
|
72
|
+
;
|
|
71
73
|
}
|
|
72
74
|
var ICheckoutPaymentMode;
|
|
73
75
|
(function (ICheckoutPaymentMode) {
|
|
@@ -6,12 +6,10 @@ var ComponentErrorCodes;
|
|
|
6
6
|
ComponentErrorCodes["POST_ERROR"] = "post-error";
|
|
7
7
|
ComponentErrorCodes["UNKNOWN_ERROR"] = "unknown-error";
|
|
8
8
|
ComponentErrorCodes["TOKENIZE_ERROR"] = "tokenize-error";
|
|
9
|
-
ComponentErrorCodes["COMPLETE_CHECKOUT_ERROR"] = "complete-checkout-error";
|
|
10
9
|
ComponentErrorCodes["NOT_AUTHENTICATED"] = "not-authenticated";
|
|
11
10
|
ComponentErrorCodes["INVALID_PARAMETER"] = "invalid-parameter";
|
|
12
11
|
ComponentErrorCodes["PROVISIONING_REQUESTED"] = "provisioning-already-requested";
|
|
13
12
|
ComponentErrorCodes["INVALID_REFUND_AMOUNT"] = "invalid-refund-amount";
|
|
14
|
-
ComponentErrorCodes["VALIDATION_ERROR"] = "validation-error";
|
|
15
13
|
})(ComponentErrorCodes || (ComponentErrorCodes = {}));
|
|
16
14
|
var ComponentErrorSeverity;
|
|
17
15
|
(function (ComponentErrorSeverity) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as formatCurrency } from './utils-
|
|
1
|
+
import { f as formatCurrency } from './utils-DB5fh6Iv.js';
|
|
2
2
|
|
|
3
3
|
var PaymentBalanceTxnType;
|
|
4
4
|
(function (PaymentBalanceTxnType) {
|
|
@@ -256,6 +256,60 @@ class SubAccount {
|
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
+
var EntityDocumentType;
|
|
260
|
+
(function (EntityDocumentType) {
|
|
261
|
+
EntityDocumentType["voidedCheck"] = "voided_check";
|
|
262
|
+
EntityDocumentType["balanceSheet"] = "balance_sheet";
|
|
263
|
+
EntityDocumentType["bankStatement"] = "bank_statement";
|
|
264
|
+
EntityDocumentType["governmentId"] = "government_id";
|
|
265
|
+
EntityDocumentType["profitAndLossStatement"] = "profit_and_loss_statement";
|
|
266
|
+
EntityDocumentType["taxReturn"] = "tax_return";
|
|
267
|
+
EntityDocumentType["other"] = "other";
|
|
268
|
+
})(EntityDocumentType || (EntityDocumentType = {}));
|
|
269
|
+
var EntityDocumentStatus;
|
|
270
|
+
(function (EntityDocumentStatus) {
|
|
271
|
+
EntityDocumentStatus["pending"] = "pending";
|
|
272
|
+
EntityDocumentStatus["uploaded"] = "uploaded";
|
|
273
|
+
EntityDocumentStatus["canceled"] = "canceled";
|
|
274
|
+
EntityDocumentStatus["needed"] = "needed";
|
|
275
|
+
})(EntityDocumentStatus || (EntityDocumentStatus = {}));
|
|
276
|
+
class EntityDocumentStorage {
|
|
277
|
+
constructor() {
|
|
278
|
+
this.voided_check = [];
|
|
279
|
+
this.balance_sheet = [];
|
|
280
|
+
this.bank_statement = [];
|
|
281
|
+
this.government_id = [];
|
|
282
|
+
this.profit_and_loss_statement = [];
|
|
283
|
+
this.tax_return = [];
|
|
284
|
+
this.other = [];
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
class EntityDocument {
|
|
288
|
+
constructor(fileData, business_id) {
|
|
289
|
+
this.file = fileData.file;
|
|
290
|
+
this.fileString = this.getFileString();
|
|
291
|
+
this.document_type = fileData.document_type;
|
|
292
|
+
this.presigned_url = null;
|
|
293
|
+
this.record_data = {
|
|
294
|
+
business_id: business_id,
|
|
295
|
+
document_type: this.document_type,
|
|
296
|
+
file_name: this.file.name,
|
|
297
|
+
file_type: this.file.type,
|
|
298
|
+
};
|
|
299
|
+
}
|
|
300
|
+
getFileString() {
|
|
301
|
+
let reader = new FileReader();
|
|
302
|
+
reader.onload = (e) => {
|
|
303
|
+
this.fileString = e.target.result;
|
|
304
|
+
};
|
|
305
|
+
reader.readAsDataURL(this.file);
|
|
306
|
+
return this.fileString;
|
|
307
|
+
}
|
|
308
|
+
setPresignedUrl(url) {
|
|
309
|
+
this.presigned_url = url;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
|
|
259
313
|
var RefundStatuses;
|
|
260
314
|
(function (RefundStatuses) {
|
|
261
315
|
RefundStatuses["succeeded"] = "succeeded";
|
|
@@ -276,4 +330,4 @@ class RefundPayload {
|
|
|
276
330
|
}
|
|
277
331
|
}
|
|
278
332
|
|
|
279
|
-
export { ITerminalStatus as I, Payout as P, RefundReasons as R, SubAccount as S, TerminalOrderStatus as T, TerminalOrderType as a, Terminal as b, PaymentBalanceTransaction as c, PayoutBalanceTransaction as d, TerminalOrder as e, TerminalModel as f, RefundPayload as g };
|
|
333
|
+
export { EntityDocumentType as E, ITerminalStatus as I, Payout as P, RefundReasons as R, SubAccount as S, TerminalOrderStatus as T, TerminalOrderType as a, Terminal as b, PaymentBalanceTransaction as c, PayoutBalanceTransaction as d, TerminalOrder as e, TerminalModel as f, RefundPayload as g, EntityDocumentStorage as h, EntityDocument as i };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-Bta_r52Z.js';
|
|
2
|
-
import { c as DetailItem, D as DetailSectionTitle } from './utils-
|
|
3
|
-
import {
|
|
4
|
-
import './parts-
|
|
2
|
+
import { c as DetailItem, D as DetailSectionTitle } from './utils-DGozGJLI.js';
|
|
3
|
+
import { l as isEmptyObject, s as snakeCaseToHumanReadable, m as formatMediumDate } from './utils-DB5fh6Iv.js';
|
|
4
|
+
import './parts-BrLVc_85.js';
|
|
5
5
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
6
6
|
|
|
7
7
|
const AdditionalQuestionsDetails = class {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-Bta_r52Z.js';
|
|
2
|
-
import {
|
|
2
|
+
import { F as badgeDark, G as badgeLight, H as badgeInfo, I as badgeWarning, J as badgeDanger, K as badgeSuccess, L as badgeSecondary, M as badgePrimary, N as badge } from './parts-BrLVc_85.js';
|
|
3
3
|
|
|
4
4
|
var BadgeVariant;
|
|
5
5
|
(function (BadgeVariant) {
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, c as createEvent, a as getElement } from './index-Bta_r52Z.js';
|
|
2
2
|
import './config-state-BjXhUj2q.js';
|
|
3
|
-
import {
|
|
4
|
-
import './ComponentError-
|
|
5
|
-
import './Checkout-
|
|
3
|
+
import { s as snakeCaseToHumanReadable, d as formatDate, i as formatTimeSeconds } from './utils-DB5fh6Iv.js';
|
|
4
|
+
import './ComponentError-SdntD1xf.js';
|
|
5
|
+
import './Checkout-B9LrTq63.js';
|
|
6
6
|
import './Pagination-CLHwhyvu.js';
|
|
7
|
-
import './Payment-
|
|
8
|
-
import './Refund-
|
|
9
|
-
import { E as EntityDocumentType } from './Document-Ct-uNz2r.js';
|
|
7
|
+
import './Payment-BGiKmQYR.js';
|
|
8
|
+
import { E as EntityDocumentType } from './Refund-DDIEc_gu.js';
|
|
10
9
|
import './Business-BCoP0TAV.js';
|
|
11
10
|
import './Dispute-7MWRbTXI.js';
|
|
12
11
|
import { c as bankAccountTypeOptions } from './business-form-options-CgssATyg.js';
|
|
13
12
|
import './event-types-XYgDHrVL.js';
|
|
14
13
|
import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
|
|
15
|
-
import {
|
|
16
|
-
import { S as Skeleton } from './skeleton-
|
|
14
|
+
import { X as card, D as heading2, ai as table, P as tableHeadCell, aj as tableCell, c as input, l as label, b as inputInvalid, R as inputDisabled, a as inputFocused } from './parts-BrLVc_85.js';
|
|
15
|
+
import { S as Skeleton } from './skeleton-D6agoQ_l.js';
|
|
17
16
|
import './event-types-CZfYo5-1.js';
|
|
18
|
-
import { F as FormControlErrorText } from './form-control-error-text-
|
|
17
|
+
import { F as FormControlErrorText } from './form-control-error-text-CwJc1ShT.js';
|
|
19
18
|
import './index-Cf8VXyXg.js';
|
|
20
19
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
21
20
|
import './helpers-Mu7LQT-w.js';
|
|
@@ -99,10 +98,10 @@ const FileInput = class {
|
|
|
99
98
|
return part;
|
|
100
99
|
}
|
|
101
100
|
render() {
|
|
102
|
-
return (h(Host, { key: '
|
|
101
|
+
return (h(Host, { key: 'c34cbf8874c33d945d81a93646372ac9dc687362' }, h("div", { key: 'cacf5f210a0adb6f408ac05efe4279d9eb1ae3b8', class: "form-group d-flex flex-column" }, h("div", { key: '936cb5268fa2c63f9931895f7a0b46ed5b4776ec', class: "d-flex align-items-start gap-2" }, h("label", { key: '6dc1dd3be36337cc3c4bb72a4e4d42c6e7c2a239', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '4c4a2c965882e7e96d36b16e6448fa4efd003950', helpText: this.helpText })), h("input", { key: '469cf033fae879306ecbfdcdb9e6d74fdb4b4265', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
103
102
|
this.isFocused = false;
|
|
104
103
|
this.formControlBlur.emit();
|
|
105
|
-
} }), h(FormControlErrorText, { key: '
|
|
104
|
+
} }), h(FormControlErrorText, { key: '7359b6f39ac038230ce1d2d60454a4d4e69c6bb9', errorText: this.errorText, name: this.name }))));
|
|
106
105
|
}
|
|
107
106
|
get el() { return getElement(this); }
|
|
108
107
|
};
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import { h, r as registerInstance, H as Host, c as createEvent } from './index-Bta_r52Z.js';
|
|
2
|
-
import { S as Skeleton } from './skeleton-
|
|
2
|
+
import { S as Skeleton } from './skeleton-D6agoQ_l.js';
|
|
3
3
|
import { w as waitForConfig, c as configState } from './config-state-BjXhUj2q.js';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { a as iframeInputStylesSet } from './iframe-input-styles-state-CfSmDqfA.js';
|
|
5
|
+
import { i as inputInvalidAndFocused, b as inputInvalid, a as inputFocused, c as input, au as billingForm, av as radioListItem } from './parts-BrLVc_85.js';
|
|
6
|
+
import { c as create$3, F as FormController } from './index.esm-BCNUj0Dx.js';
|
|
7
|
+
import { k as postalValidation, l as stateValidation, m as cityValidation, n as lineTwoValidation, q as lineOneValidation, y as identityNameValidation } from './schema-validations-DLWfpHyI.js';
|
|
8
|
+
import { H as Header3 } from './header-3-CLoMDfp0.js';
|
|
8
9
|
import './event-types-CZfYo5-1.js';
|
|
9
10
|
import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
|
|
10
11
|
import { S as StateOptions } from './state-options-BX8GieXu.js';
|
|
11
|
-
import { a as PaymentMethodTypes } from './Payment-
|
|
12
|
-
import {
|
|
12
|
+
import { a as PaymentMethodTypes } from './Payment-BGiKmQYR.js';
|
|
13
|
+
import { n as snakeToCamel, f as formatCurrency } from './utils-DB5fh6Iv.js';
|
|
13
14
|
import './index-Cf8VXyXg.js';
|
|
14
15
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
15
16
|
import './business-form-options-CgssATyg.js';
|
|
16
17
|
import './Business-BCoP0TAV.js';
|
|
17
18
|
import './helpers-Mu7LQT-w.js';
|
|
18
|
-
import './Document-Ct-uNz2r.js';
|
|
19
|
-
import './utils-BjLkBMLe.js';
|
|
20
19
|
import './Dispute-7MWRbTXI.js';
|
|
21
20
|
|
|
22
21
|
const BankAccountFormSkeleton = (props) => {
|
|
@@ -66,10 +65,10 @@ const BankAccountForm = class {
|
|
|
66
65
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
67
66
|
}
|
|
68
67
|
render() {
|
|
69
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: 'b6cdf5a9320d92a5390daaa0a5218274f2dfc178' }, h(BankAccountFormSkeleton, { key: '286fcc38a26820d166ced0bc886143ed3d880da4', isReady: this.isReady }), h("div", { key: '041fcacff70d7cdfc0c8f41258bd9db18703e4c1', class: "container-fluid p-0", style: {
|
|
70
69
|
opacity: this.isReady ? '1' : '0',
|
|
71
70
|
height: this.isReady ? 'auto' : '0',
|
|
72
|
-
} }, h("div", { key: '
|
|
71
|
+
} }, h("div", { key: '94dc0eb0d79b40ade96e1961611e3e7a8eef20ea', class: "row mb-3" }, h("iframe-input", { key: '41c82b772e7873a45409e35ed56dfea16c20c2ee', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '1c95618a50e2d36a3a9a3a7b691ae0dfa6a09936', class: "row" }, h("iframe-input", { key: '28a4dde70c8f55b4f6bf6ce2d3beee6acbebbc0b', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
|
|
73
72
|
}
|
|
74
73
|
};
|
|
75
74
|
|
|
@@ -128,10 +127,87 @@ const CardForm = class {
|
|
|
128
127
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
129
128
|
}
|
|
130
129
|
render() {
|
|
131
|
-
return (h(Host, { key: '
|
|
130
|
+
return (h(Host, { key: '3d28e96f020196a359a359507237b50dd9fed020' }, h(CardFormSkeleton, { key: 'ee07eb10acf142fcaab1398278e335df49f1abe9', isReady: this.isReady }), h("div", { key: 'bfce475f392cbb2bad3fd1c76f16c6e6a6718c1f', class: "container-fluid p-0", style: {
|
|
132
131
|
opacity: this.isReady ? '1' : '0',
|
|
133
132
|
height: this.isReady ? 'auto' : '0',
|
|
134
|
-
} }, h("div", { key: '
|
|
133
|
+
} }, h("div", { key: 'e8517852800a9a165e61308f8d1cf875a87c021e', class: "mb-3" }, h("iframe-input", { key: '6efe224b7f4a2f63eec601d3e48c454d78c30300', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: 'c14b9deb1a9d677a6ee8952cbc946fea3c95f21a', class: "d-flex align-items-start" }, h("div", { key: 'd0ced17b3f1d231514f81d9fe21f75cb87db145c', class: "flex-fill me-3" }, h("iframe-input", { key: '5b187bbe0826dde34cd49ecce1e386ab5373da93', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: 'aace0455d0a522fff3141f17af7267e9ca8dc252', class: "flex-fill me-3" }, h("iframe-input", { key: 'a2f2a445a2100aa1a15f3e56ca336792abed4fd0', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: '7c4baf5981965a25ab75f1e9ce35a5cf8e293837', class: "flex-fill" }, h("iframe-input", { key: 'de7f0c99eb09e0bdc0bb22e485eba5bf4486e345', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
const HiddenInput = class {
|
|
138
|
+
constructor(hostRef) {
|
|
139
|
+
registerInstance(this, hostRef);
|
|
140
|
+
this.isFocused = false;
|
|
141
|
+
this.errorText = '';
|
|
142
|
+
}
|
|
143
|
+
async componentDidLoad() {
|
|
144
|
+
const fontStyles = await this.getBaseFontStyles();
|
|
145
|
+
iframeInputStylesSet('fontStyles', fontStyles);
|
|
146
|
+
const focusedStyles = await this.getFocusedStyles();
|
|
147
|
+
iframeInputStylesSet('focused', focusedStyles);
|
|
148
|
+
const focusedAndInvalidStyles = await this.getFocusedAndInvalidStyles();
|
|
149
|
+
iframeInputStylesSet('focusedAndInvalid', focusedAndInvalidStyles);
|
|
150
|
+
}
|
|
151
|
+
async getBaseFontStyles() {
|
|
152
|
+
return new Promise((resolve, _reject) => {
|
|
153
|
+
setTimeout(() => {
|
|
154
|
+
const computedStyles = getComputedStyle(this.hiddenInput);
|
|
155
|
+
const styles = {
|
|
156
|
+
fontFamily: computedStyles.fontFamily,
|
|
157
|
+
fontSize: computedStyles.fontSize,
|
|
158
|
+
fontWeight: computedStyles.fontWeight,
|
|
159
|
+
lineHeight: computedStyles.lineHeight,
|
|
160
|
+
margin: computedStyles.margin,
|
|
161
|
+
padding: computedStyles.padding,
|
|
162
|
+
color: computedStyles.color,
|
|
163
|
+
};
|
|
164
|
+
resolve(styles);
|
|
165
|
+
}, 500);
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
;
|
|
169
|
+
async getFocusedStyles() {
|
|
170
|
+
return new Promise((resolve, _reject) => {
|
|
171
|
+
this.hiddenInput.focus();
|
|
172
|
+
setTimeout(() => {
|
|
173
|
+
this.hiddenInput.blur();
|
|
174
|
+
let computedStyles = getComputedStyle(this.hiddenInput);
|
|
175
|
+
resolve({
|
|
176
|
+
boxShadow: computedStyles.boxShadow,
|
|
177
|
+
border: computedStyles.border,
|
|
178
|
+
});
|
|
179
|
+
}, 500);
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
async getFocusedAndInvalidStyles() {
|
|
183
|
+
return new Promise((resolve, _reject) => {
|
|
184
|
+
this.hiddenInput.focus();
|
|
185
|
+
this.errorText = 'Error';
|
|
186
|
+
setTimeout(() => {
|
|
187
|
+
const computedStyles = getComputedStyle(this.hiddenInput);
|
|
188
|
+
const styles = {
|
|
189
|
+
boxShadow: computedStyles.boxShadow,
|
|
190
|
+
border: computedStyles.border,
|
|
191
|
+
};
|
|
192
|
+
this.hiddenInput.blur();
|
|
193
|
+
resolve(styles);
|
|
194
|
+
}, 500);
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
get part() {
|
|
198
|
+
if (this.isFocused && this.errorText) {
|
|
199
|
+
return inputInvalidAndFocused;
|
|
200
|
+
}
|
|
201
|
+
if (this.errorText) {
|
|
202
|
+
return inputInvalid;
|
|
203
|
+
}
|
|
204
|
+
if (this.isFocused) {
|
|
205
|
+
return inputFocused;
|
|
206
|
+
}
|
|
207
|
+
return input;
|
|
208
|
+
}
|
|
209
|
+
render() {
|
|
210
|
+
return (h(Host, { key: '32b302de9983db3ced26f1780bf116e63091b9ad' }, h("input", { key: 'c8fbe6dc11c8b743d307557aab107852403441ae', ref: el => this.hiddenInput = el, type: "text", class: this.errorText ? "form-control is-invalid" : "form-control", onFocus: () => this.isFocused = true, onBlur: () => this.isFocused = false, part: this.part, tabindex: "-1", style: { height: '0', opacity: '0', pointerEvents: 'none', animation: 'none' } })));
|
|
135
211
|
}
|
|
136
212
|
};
|
|
137
213
|
|
|
@@ -193,7 +269,7 @@ const BillingForm = class {
|
|
|
193
269
|
render() {
|
|
194
270
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
195
271
|
const showHeader = !this.isPostalOnlyMode && !this.hideAllBillingFields;
|
|
196
|
-
return (h(Host, { key: '
|
|
272
|
+
return (h(Host, { key: 'df86239c476aadde3af18742bbf643d61825c051' }, h("div", { key: '186f3ef6c2295223da888b7645a0af7aa8df4535', part: billingForm, class: "mt-4", hidden: this.hideAllBillingFields }, showHeader && h(Header3, { key: '72284e3fcea18cbdfe879989fb7f1b007e2a37df', text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), h("form", { key: '9479d696a0486e63edfad4bd0dbe374a21cb7b8c' }, h("fieldset", { key: 'b780abf09a714f2e9588670ad149c3ca999cbc87' }, this.legend && h("legend", { key: 'f102dc51722fe2f050c951e7b56117c9577f3b83' }, this.legend), h("div", { key: '00d6c7e35d768f3357cc17836c916e2bf24e3a7e', class: "row gy-3" }, h("div", { key: 'cb2b29aa769c97ccab246dc74e463d389497edbd', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: '3cb8ca5e3ecd0817f8e16aafbb5d3ca5ee7824ed', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '781338b1c79fd815d2ab2dbc15e7b56b534a2278', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: '682a37c6b417fbc0edf76b89122b5bf618603360', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { key: '50d657891e492c8568bf179d752b9aadf10f2387', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: 'ce1f04bfc3307af7a025390bcbcce6a6b3da6fab', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { key: 'ddb45c1cbdc6aa5d27c6a0c4b6f29366ed0e8eba', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: '410efdbcd5381bdf61d9c752f292f794d8e12670', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { key: 'a65811acc25443a07cdb1401231ce1e703096fd4', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-select", { key: 'bed28d564c9e5a2ebfc10b6ab47e43e2b17bd6e6', name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { key: '8aca307d318e87b17e09122fa91e817c0a59c8d5', class: "col-12", hidden: this.hideAllBillingFields }, h("form-control-text", { key: '4dd06dc9ae01fc2953780e52f9e9c918a38a7bbd', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))))))));
|
|
197
273
|
}
|
|
198
274
|
};
|
|
199
275
|
|
|
@@ -290,6 +366,26 @@ const NewPaymentMethod = class {
|
|
|
290
366
|
}
|
|
291
367
|
};
|
|
292
368
|
|
|
369
|
+
class PaymentMethodOption {
|
|
370
|
+
constructor(paymentMethod) {
|
|
371
|
+
this.id = paymentMethod.id;
|
|
372
|
+
this.brand = paymentMethod.brand;
|
|
373
|
+
this.acct_last_four = paymentMethod.acct_last_four;
|
|
374
|
+
this.type = snakeToCamel(paymentMethod.type);
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
var CardBrandLabels;
|
|
378
|
+
(function (CardBrandLabels) {
|
|
379
|
+
CardBrandLabels["american_express"] = "American Express";
|
|
380
|
+
CardBrandLabels["diners_club"] = "Diners Club";
|
|
381
|
+
CardBrandLabels["discover"] = "Discover";
|
|
382
|
+
CardBrandLabels["jcb"] = "JCB";
|
|
383
|
+
CardBrandLabels["mastercard"] = "Mastercard";
|
|
384
|
+
CardBrandLabels["china_unionpay"] = "UnionPay";
|
|
385
|
+
CardBrandLabels["visa"] = "Visa";
|
|
386
|
+
CardBrandLabels["unknown"] = "Unknown";
|
|
387
|
+
})(CardBrandLabels || (CardBrandLabels = {}));
|
|
388
|
+
|
|
293
389
|
const PaymentMethodOptions = class {
|
|
294
390
|
constructor(hostRef) {
|
|
295
391
|
registerInstance(this, hostRef);
|
|
@@ -306,7 +402,7 @@ const PaymentMethodOptions = class {
|
|
|
306
402
|
this.paymentMethodsChanged();
|
|
307
403
|
}
|
|
308
404
|
paymentMethodsChanged() {
|
|
309
|
-
var _a;
|
|
405
|
+
var _a, _b;
|
|
310
406
|
this.paymentMethodOptions = this.savedPaymentMethods
|
|
311
407
|
.map((paymentMethod) => new PaymentMethodOption(paymentMethod))
|
|
312
408
|
.filter((paymentMethod) => {
|
|
@@ -314,6 +410,9 @@ const PaymentMethodOptions = class {
|
|
|
314
410
|
return ((this.showCard || paymentMethod.type !== PaymentMethodTypes.card) &&
|
|
315
411
|
(this.showAch || paymentMethod.type !== PaymentMethodTypes.bankAccount));
|
|
316
412
|
});
|
|
413
|
+
if (this.showBnpl && ((_a = this.bnpl) === null || _a === void 0 ? void 0 : _a.provider) === 'sezzle' && !this.insuranceToggled) {
|
|
414
|
+
this.paymentMethodOptions.push(new PaymentMethodOption({ id: PaymentMethodTypes.sezzle }));
|
|
415
|
+
}
|
|
317
416
|
if (this.showCard) {
|
|
318
417
|
this.paymentMethodOptions.push(new PaymentMethodOption({ id: PaymentMethodTypes.card }));
|
|
319
418
|
}
|
|
@@ -321,7 +420,7 @@ const PaymentMethodOptions = class {
|
|
|
321
420
|
this.paymentMethodOptions.push(new PaymentMethodOption({ id: PaymentMethodTypes.bankAccount }));
|
|
322
421
|
}
|
|
323
422
|
if (!this.selectedPaymentMethodId) {
|
|
324
|
-
this.selectedPaymentMethodId = (
|
|
423
|
+
this.selectedPaymentMethodId = (_b = this.paymentMethodOptions[0]) === null || _b === void 0 ? void 0 : _b.id;
|
|
325
424
|
}
|
|
326
425
|
}
|
|
327
426
|
paymentMethodOptionSelected(event) {
|
|
@@ -337,10 +436,11 @@ const PaymentMethodOptions = class {
|
|
|
337
436
|
}
|
|
338
437
|
render() {
|
|
339
438
|
var _a;
|
|
340
|
-
return (h(Host, { key: '
|
|
439
|
+
return (h(Host, { key: 'c61e82c72aaa25e87ded723799a1eb0961c05444' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
|
|
341
440
|
const newCard = paymentMethodOption.id === PaymentMethodTypes.card;
|
|
342
441
|
const newBankAccount = paymentMethodOption.id === PaymentMethodTypes.bankAccount;
|
|
343
442
|
const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
|
|
443
|
+
const sezzle = paymentMethodOption.id === PaymentMethodTypes.sezzle;
|
|
344
444
|
if (newCard || newBankAccount) {
|
|
345
445
|
return (h("justifi-new-payment-method", { paymentMethodOption: paymentMethodOption, authToken: this.authToken, "account-id": this.accountId, "is-selected": isSelected, "show-card": this.showCard, "show-ach": this.showAch, paymentMethodGroupId: this.paymentMethodGroupId, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, ref: (el) => {
|
|
346
446
|
if (isSelected) {
|
|
@@ -348,6 +448,13 @@ const PaymentMethodOptions = class {
|
|
|
348
448
|
}
|
|
349
449
|
} }));
|
|
350
450
|
}
|
|
451
|
+
else if (sezzle) {
|
|
452
|
+
return (h("justifi-sezzle-payment-method", { paymentMethodOption: paymentMethodOption, "is-selected": isSelected, paymentAmount: this.paymentAmount, bnpl: this.bnpl, ref: (el) => {
|
|
453
|
+
if (isSelected) {
|
|
454
|
+
this.selectedPaymentMethodOptionRef = el;
|
|
455
|
+
}
|
|
456
|
+
} }));
|
|
457
|
+
}
|
|
351
458
|
else if (this.showSavedPaymentMethods) {
|
|
352
459
|
return (h("justifi-saved-payment-method", { paymentMethodOption: paymentMethodOption, "is-selected": isSelected, ref: (el) => {
|
|
353
460
|
if (isSelected) {
|
|
@@ -400,4 +507,65 @@ const SavedPaymentMethod = class {
|
|
|
400
507
|
}
|
|
401
508
|
};
|
|
402
509
|
|
|
403
|
-
|
|
510
|
+
const sezzleLogo = (h("img", { class: "sezzle-smart-button-logo-img", src: "https://media.sezzle.com/branding/2.0/Sezzle_Logo_FullColor.svg", alt: "Sezzle", style: {
|
|
511
|
+
display: 'inline',
|
|
512
|
+
width: '80px',
|
|
513
|
+
marginLeft: '5px',
|
|
514
|
+
marginTop: '-5px',
|
|
515
|
+
} }));
|
|
516
|
+
const SezzlePaymentMethod = class {
|
|
517
|
+
constructor(hostRef) {
|
|
518
|
+
registerInstance(this, hostRef);
|
|
519
|
+
this.paymentMethodOptionSelected = createEvent(this, "paymentMethodOptionSelected");
|
|
520
|
+
this.onPaymentMethodOptionClick = (e) => {
|
|
521
|
+
e.preventDefault();
|
|
522
|
+
this.paymentMethodOptionSelected.emit(this.paymentMethodOption);
|
|
523
|
+
};
|
|
524
|
+
this.initializeSezzleCheckout = () => {
|
|
525
|
+
let resolveSezzlePromise;
|
|
526
|
+
this.sezzlePromise = new Promise((resolve) => { resolveSezzlePromise = resolve; });
|
|
527
|
+
const bnpl = this.bnpl;
|
|
528
|
+
const amount = +this.paymentAmount; // convert to number
|
|
529
|
+
const Checkout = window.Checkout;
|
|
530
|
+
const checkout = new Checkout({
|
|
531
|
+
mode: 'popup',
|
|
532
|
+
publicKey: bnpl.provider_client_id,
|
|
533
|
+
apiMode: bnpl.provider_mode,
|
|
534
|
+
apiVersion: bnpl.provider_api_version,
|
|
535
|
+
});
|
|
536
|
+
checkout.sezzleButtonElement = this.sezzleButtonRef;
|
|
537
|
+
checkout.init({
|
|
538
|
+
onClick: function (event) {
|
|
539
|
+
event.preventDefault();
|
|
540
|
+
checkout.startCheckout({
|
|
541
|
+
checkout_url: bnpl.provider_checkout_url
|
|
542
|
+
});
|
|
543
|
+
},
|
|
544
|
+
onComplete: (event) => resolveSezzlePromise({ bnpl: event.data }),
|
|
545
|
+
onCancel: (event) => resolveSezzlePromise({ bnpl: event.data }),
|
|
546
|
+
onFailure: (event) => resolveSezzlePromise({ bnpl: event.data }),
|
|
547
|
+
});
|
|
548
|
+
this.sezzleCheckout = checkout;
|
|
549
|
+
this.installmentPlan = this.sezzleCheckout.getInstallmentPlan(amount);
|
|
550
|
+
};
|
|
551
|
+
}
|
|
552
|
+
componentDidRender() {
|
|
553
|
+
this.scriptRef.onload = () => {
|
|
554
|
+
this.sezzleButtonRef = document.createElement('button');
|
|
555
|
+
this.initializeSezzleCheckout();
|
|
556
|
+
};
|
|
557
|
+
}
|
|
558
|
+
async resolvePaymentMethod(insuranceValidation) {
|
|
559
|
+
if (!insuranceValidation.isValid) {
|
|
560
|
+
return { validationError: true };
|
|
561
|
+
}
|
|
562
|
+
this.sezzleButtonRef.click();
|
|
563
|
+
return this.sezzlePromise;
|
|
564
|
+
}
|
|
565
|
+
render() {
|
|
566
|
+
var _a, _b, _c;
|
|
567
|
+
return (h(Host, { key: '4ae50e7bbb15d0049d069edacd0d95ba7c13dbe5', class: "payment-method" }, h("script", { key: '42a0590d89626ba7a93852e421eb121626b48375', src: "https://checkout-sdk.sezzle.com/checkout.min.js", async: true, ref: (el) => (this.scriptRef = el) }), h("div", { key: '31a2a72650486c258267c6d4de3723f7afa5b063', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: 'eac1adbcd82fcb4f9c440c53c40ce34af6092991', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: h("div", null, h("div", null, "Buy now, pay later with ", sezzleLogo), this.installmentPlan && (h("small", null, h("span", null, (_b = this.installmentPlan) === null || _b === void 0 ? void 0 : _b.installments.length), "\u00A0", h("span", null, this.installmentPlan.schedule, " payments of"), "\u00A0", h("span", { class: "fw-bold" }, formatCurrency((_c = this.installmentPlan) === null || _c === void 0 ? void 0 : _c.installments[0].amountInCents))))) }))));
|
|
568
|
+
}
|
|
569
|
+
};
|
|
570
|
+
|
|
571
|
+
export { BankAccountForm as bank_account_form, CardForm as card_form, HiddenInput as hidden_input, BillingForm as justifi_billing_form, NewPaymentMethod as justifi_new_payment_method, PaymentMethodOptions as justifi_payment_method_options, SaveNewPaymentMethod as justifi_save_new_payment_method, SavedPaymentMethod as justifi_saved_payment_method, SezzlePaymentMethod as justifi_sezzle_payment_method };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as create$3 } from './
|
|
2
|
-
import { d as dateOfIncorporationValidation, t as taxIdValidation,
|
|
1
|
+
import { c as create$3 } from './index.esm-BCNUj0Dx.js';
|
|
2
|
+
import { d as dateOfIncorporationValidation, t as taxIdValidation, i as industryValidation, b as businessClassificationValidation, a as doingBusinessAsValidation, p as phoneValidation, e as emailValidation, w as websiteUrlValidation, c as businessNameValidation, o as otherPaymentDetailsValidation, s as seasonalBusinessValidation, r as recurringPaymentsPercentageValidation, f as recurringPaymentsValidation, g as whenServiceReceivedValidation, h as paymentVolumeValidation, j as revenueValidation } from './schema-validations-DLWfpHyI.js';
|
|
3
3
|
|
|
4
4
|
const businessCoreInfoSchema = (allowOptionalFields) => {
|
|
5
5
|
const schema = create$3({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { h, F as Fragment, r as registerInstance, c as createEvent } from './index-Bta_r52Z.js';
|
|
2
|
-
import { E as ErrorState } from './utils-
|
|
2
|
+
import { E as ErrorState } from './utils-DGozGJLI.js';
|
|
3
3
|
import { S as StyledHost } from './styled-host-BSX_LSdk.js';
|
|
4
4
|
import './event-types-CZfYo5-1.js';
|
|
5
|
-
import { S as Skeleton } from './skeleton-
|
|
6
|
-
import './parts-
|
|
5
|
+
import { S as Skeleton } from './skeleton-D6agoQ_l.js';
|
|
6
|
+
import './parts-BrLVc_85.js';
|
|
7
7
|
|
|
8
8
|
const BusinessDetailsLoading = () => {
|
|
9
9
|
const Block = () => (h("div", { class: "mt-5" },
|
package/dist/esm/{business-identity-schema-Bel1K5mu.js → business-identity-schema-BsrgqgDl.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as create$3, a as create$6 } from './
|
|
2
|
-
import {
|
|
1
|
+
import { c as create$3, a as create$6 } from './index.esm-BCNUj0Dx.js';
|
|
2
|
+
import { k as postalValidation, l as stateValidation, m as cityValidation, n as lineTwoValidation, q as lineOneValidation, u as ssnValidation, v as dobValidation, p as phoneValidation, e as emailValidation, x as identityTitleValidation, y as identityNameValidation } from './schema-validations-DLWfpHyI.js';
|
|
3
3
|
|
|
4
4
|
const addressSchema = (allowOptionalFields) => {
|
|
5
5
|
const schema = create$3({
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { A as Api } from './Api-
|
|
2
|
-
import './ComponentError-
|
|
3
|
-
import './Checkout-
|
|
1
|
+
import { A as Api } from './Api-BNYhCiE2.js';
|
|
2
|
+
import './ComponentError-SdntD1xf.js';
|
|
3
|
+
import './Checkout-B9LrTq63.js';
|
|
4
4
|
import './Pagination-CLHwhyvu.js';
|
|
5
|
-
import './Payment-
|
|
6
|
-
import './Refund-
|
|
7
|
-
import './Document-Ct-uNz2r.js';
|
|
5
|
+
import './Payment-BGiKmQYR.js';
|
|
6
|
+
import './Refund-DDIEc_gu.js';
|
|
8
7
|
import './Business-BCoP0TAV.js';
|
|
9
8
|
import './Dispute-7MWRbTXI.js';
|
|
10
9
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-Bta_r52Z.js';
|
|
2
|
-
import {
|
|
2
|
+
import { ac as buttonSecondary, ad as buttonPrimary, ae as buttonLoading } from './parts-BrLVc_85.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...")));
|
|
@@ -1,33 +1,13 @@
|
|
|
1
|
-
import { p as packageJson } from './package-
|
|
2
|
-
import { A as Api } from './Api-
|
|
3
|
-
import './ComponentError-
|
|
4
|
-
import './Checkout-
|
|
1
|
+
import { p as packageJson } from './package-DzXsHdKv.js';
|
|
2
|
+
import { A as Api } from './Api-BNYhCiE2.js';
|
|
3
|
+
import './ComponentError-SdntD1xf.js';
|
|
4
|
+
import './Checkout-B9LrTq63.js';
|
|
5
5
|
import './Pagination-CLHwhyvu.js';
|
|
6
|
-
import './Payment-
|
|
7
|
-
import './Refund-
|
|
8
|
-
import './Document-Ct-uNz2r.js';
|
|
6
|
+
import './Payment-BGiKmQYR.js';
|
|
7
|
+
import './Refund-DDIEc_gu.js';
|
|
9
8
|
import './Business-BCoP0TAV.js';
|
|
10
9
|
import './Dispute-7MWRbTXI.js';
|
|
11
10
|
|
|
12
|
-
const latestVersion = async (packageName) => {
|
|
13
|
-
const response = await fetch('https://registry.npmjs.org/' + packageName + '/latest');
|
|
14
|
-
const json = await response.json();
|
|
15
|
-
return json.version;
|
|
16
|
-
};
|
|
17
|
-
const checkPkgVersion = async () => {
|
|
18
|
-
const version = packageJson.version;
|
|
19
|
-
const packageName = packageJson.name;
|
|
20
|
-
const latest = await latestVersion(packageName);
|
|
21
|
-
// remove rc from version and everything that comes after -rc
|
|
22
|
-
const latestNotRC = latest.replace(/-rc.*/, '');
|
|
23
|
-
// checkif there's a major version difference
|
|
24
|
-
const versionParts = version.split('.');
|
|
25
|
-
const latestParts = latest.split('.');
|
|
26
|
-
if (versionParts[0] !== latestParts[0]) {
|
|
27
|
-
console.warn(`The package ${packageName} is out of date. The latest version is ${latestNotRC}. Please update.`);
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
|
|
31
11
|
const api = Api();
|
|
32
12
|
class AnalyticsService {
|
|
33
13
|
async record(body) {
|
|
@@ -110,4 +90,23 @@ class JustifiAnalytics {
|
|
|
110
90
|
}
|
|
111
91
|
}
|
|
112
92
|
|
|
93
|
+
const latestVersion = async (packageName) => {
|
|
94
|
+
const response = await fetch('https://registry.npmjs.org/' + packageName + '/latest');
|
|
95
|
+
const json = await response.json();
|
|
96
|
+
return json.version;
|
|
97
|
+
};
|
|
98
|
+
const checkPkgVersion = async () => {
|
|
99
|
+
const version = packageJson.version;
|
|
100
|
+
const packageName = packageJson.name;
|
|
101
|
+
const latest = await latestVersion(packageName);
|
|
102
|
+
// remove rc from version and everything that comes after -rc
|
|
103
|
+
const latestNotRC = latest.replace(/-rc.*/, '');
|
|
104
|
+
// checkif there's a major version difference
|
|
105
|
+
const versionParts = version.split('.');
|
|
106
|
+
const latestParts = latest.split('.');
|
|
107
|
+
if (versionParts[0] !== latestParts[0]) {
|
|
108
|
+
console.warn(`The package ${packageName} is out of date. The latest version is ${latestNotRC}. Please update.`);
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
|
|
113
112
|
export { JustifiAnalytics as J, checkPkgVersion as c };
|