@justifi/webcomponents 5.7.3-rc-01 → 5.7.3-rc-02
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-BTgAlgVL.js} +3 -3
- package/dist/cjs/{Refund-BDFOEJv_.js → Refund-BFE-2OxN.js} +56 -0
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +3 -4
- package/dist/cjs/{justifi-bank-account-form.cjs.entry.js → bank-account-form.cjs.entry.js} +8 -30
- 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-DNoCHqtI.js} +2 -3
- package/dist/cjs/{justifi-card-form.cjs.entry.js → card-form.cjs.entry.js} +9 -31
- package/dist/cjs/{Analytics-DYN4hp2b.js → check-pkg-version-CgQ8N_ta.js} +22 -23
- package/dist/cjs/{checkout.service-D4hTYr1i.js → checkout.service-C3R0uykH.js} +2 -3
- package/dist/cjs/checkouts-list-core.cjs.entry.js +2 -3
- package/dist/cjs/{custom-popper_4.cjs.entry.js → custom-popper_2.cjs.entry.js} +0 -100
- package/dist/cjs/{dispute.service-Dru9NStj.js → dispute.service-CaA-mq-i.js} +2 -3
- package/dist/cjs/form-control-select_2.cjs.entry.js +105 -0
- package/dist/cjs/{get-payment-details-AOibpML7.js → get-payment-details-CnPsEZA8.js} +2 -3
- package/dist/cjs/{get-subaccounts-Dw7CbPDi.js → get-subaccounts-CgOAdXG4.js} +2 -3
- package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
- 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 +49 -23
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +9 -10
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +34 -34
- package/dist/cjs/justifi-bank-account-form_4.cjs.entry.js +234 -0
- package/dist/cjs/{justifi-billing-information-form.cjs.entry.js → justifi-billing-information-form_2.cjs.entry.js} +58 -6
- package/dist/cjs/justifi-business-details.cjs.entry.js +7 -8
- package/dist/cjs/justifi-business-form.cjs.entry.js +13 -14
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +1 -1
- package/dist/cjs/{justifi-modular-checkout.cjs.entry.js → justifi-checkout-summary_2.cjs.entry.js} +23 -11
- package/dist/cjs/justifi-checkout.cjs.entry.js +92 -48
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +2 -3
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +8 -9
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -8
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +7 -8
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -7
- package/dist/cjs/justifi-new-payment-method.cjs.entry.js +99 -0
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +8 -9
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payment-details.cjs.entry.js +8 -9
- package/dist/cjs/justifi-payment-method-options_3.cjs.entry.js +166 -0
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payout-details.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +8 -9
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +15 -16
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +32 -0
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +7 -8
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +2 -3
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +7 -8
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -3
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +8 -9
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +6 -7
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-DF9mLjoQ.js → package-wSbEFwqE.js} +1 -1
- package/dist/cjs/{payment.service-rsnscZu7.js → payment.service-C-HKmIG6.js} +2 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +2 -3
- package/dist/cjs/{payout.service-BnmI3X4n.js → payout.service-BHU3EPR2.js} +2 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +2 -3
- package/dist/cjs/{schema-validations-C0BNwMBi.js → schema-validations-BSeMee-o.js} +31 -54
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +3 -4
- package/dist/cjs/{terminal-orders-table-OxMHSAJ1.js → terminal-orders-table-C3KZTeE5.js} +2 -3
- package/dist/cjs/{terminal.service--PPaq5xS.js → terminal.service-Bc1YJWi0.js} +2 -3
- package/dist/cjs/terminals-list-core.cjs.entry.js +2 -3
- package/dist/cjs/webcomponents.cjs.js +1 -1
- 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 +2 -5
- package/dist/collection/components/checkout/checkout.js +102 -37
- package/dist/collection/components/checkout/new-payment-method.js +2 -2
- package/dist/collection/components/checkout/payment-method-options.js +37 -26
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +2 -2
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -2
- package/dist/collection/components/modular-checkout/modular-checkout.js +2 -2
- package/dist/docs.json +177 -203
- package/dist/esm/{Checkout-CV6qgU0r.js → Checkout-CH19cJxH.js} +3 -3
- package/dist/esm/{Refund-CwUn_GFj.js → Refund-BKe90wSq.js} +55 -1
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/{badge-D_Q0kAPD.js → badge-BoemLewg.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +5 -6
- package/dist/{module/bank-account-form2.js → esm/bank-account-form.entry.js} +12 -36
- 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-wY8gOZQr.js} +2 -3
- package/dist/esm/{button-BVAxQPpP.js → button-BcLzheaP.js} +1 -1
- package/dist/esm/{justifi-card-form.entry.js → card-form.entry.js} +12 -34
- package/dist/esm/{Analytics-DR277kvb.js → check-pkg-version-BmebRZ4u.js} +22 -23
- package/dist/esm/{checkout.service-CuCgG9hv.js → checkout.service-Ci9Zkxiz.js} +2 -3
- package/dist/esm/checkouts-list-core.entry.js +7 -8
- package/dist/esm/{checkouts-table-Cc6U-0md.js → checkouts-table-ub2cX2KR.js} +2 -2
- package/dist/esm/{custom-popper_4.entry.js → custom-popper_2.entry.js} +3 -101
- package/dist/esm/{dispute.service-rB4Hq6ot.js → dispute.service-D3IjL7Z8.js} +2 -3
- package/dist/esm/form-alert_5.entry.js +1 -1
- package/dist/esm/form-control-checkbox.entry.js +3 -3
- package/dist/esm/form-control-date.entry.js +2 -2
- package/dist/esm/{form-control-error-text-_SAT-ts2.js → form-control-error-text-C4vfc3el.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +2 -2
- package/dist/esm/{form-control-help-text-Cjeu_VrV.js → form-control-help-text-Dsr1zpTw.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
- package/dist/esm/form-control-monetary.entry.js +3 -3
- package/dist/esm/form-control-number-masked_2.entry.js +2 -2
- package/dist/esm/form-control-number.entry.js +3 -3
- package/dist/esm/form-control-radio.entry.js +1 -1
- package/dist/esm/form-control-select_2.entry.js +102 -0
- package/dist/esm/{get-payment-details-DtkGDTwo.js → get-payment-details-CmVKt1jR.js} +2 -3
- package/dist/esm/{get-subaccounts-C-ENQBmY.js → get-subaccounts-BRX7HFGO.js} +2 -3
- package/dist/esm/gross-payment-chart-core.entry.js +3 -3
- package/dist/esm/{header-1-5FIT-wD7.js → header-1-CmImLcLi.js} +1 -1
- package/dist/esm/{header-3-Ce9WLWBm.js → header-3-BMoxz2Hr.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +3 -3
- package/dist/esm/{form-BjGUIqxU.js → index.esm-BCNUj0Dx.js} +10022 -10022
- package/dist/esm/{insurance-state-BcwZy_5w.js → insurance-state-DMexHdvO.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +43 -17
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +6 -7
- package/dist/esm/justifi-additional-statement_8.entry.js +2 -2
- package/dist/esm/justifi-bank-account-form_4.entry.js +229 -0
- package/dist/esm/justifi-billing-information-form_2.entry.js +100 -0
- package/dist/esm/justifi-business-details.entry.js +7 -8
- package/dist/esm/justifi-business-form.entry.js +13 -14
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-checkout-core.entry.js +7 -7
- package/dist/esm/{justifi-modular-checkout.entry.js → justifi-checkout-summary_2.entry.js} +22 -11
- package/dist/esm/justifi-checkout.entry.js +91 -47
- package/dist/esm/justifi-checkouts-list-filters.entry.js +3 -4
- package/dist/esm/justifi-checkouts-list.entry.js +10 -11
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +5 -6
- package/dist/esm/justifi-dispute-notification_3.entry.js +8 -9
- package/dist/esm/justifi-gross-payment-chart.entry.js +6 -7
- package/dist/esm/justifi-new-payment-method.entry.js +97 -0
- package/dist/esm/justifi-order-terminals.entry.js +8 -9
- package/dist/esm/justifi-owner-form_3.entry.js +8 -9
- package/dist/esm/justifi-payment-details.entry.js +8 -9
- package/dist/esm/justifi-payment-method-options_3.entry.js +162 -0
- package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +5 -6
- package/dist/esm/justifi-payment-transactions-list.entry.js +8 -9
- package/dist/esm/justifi-payments-list-filters.entry.js +1 -1
- package/dist/esm/justifi-payments-list.entry.js +9 -10
- package/dist/esm/justifi-payout-details.entry.js +7 -8
- package/dist/esm/justifi-payout-transactions-list.entry.js +8 -9
- package/dist/esm/justifi-payouts-list-filters.entry.js +1 -1
- package/dist/esm/justifi-payouts-list.entry.js +10 -11
- package/dist/esm/justifi-refund-payment.entry.js +10 -11
- package/dist/esm/justifi-saved-payment-method.entry.js +30 -0
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +5 -5
- package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -6
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +3 -4
- package/dist/esm/justifi-terminal-orders-list.entry.js +7 -8
- package/dist/esm/justifi-terminals-list-filters.entry.js +3 -4
- package/dist/esm/justifi-terminals-list.entry.js +9 -10
- package/dist/esm/justifi-tokenize-payment-method.entry.js +6 -7
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-CyXXks-Q.js → package-CJdXAC5R.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-_6eQgwfE.js → parts-C71Mxtso.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +5 -5
- package/dist/esm/{payment.service-DoUv1QsX.js → payment.service-ddFQWXPn.js} +2 -3
- package/dist/esm/payments-list-core.entry.js +8 -9
- package/dist/esm/{payments-status-BeL2gi3P.js → payments-status-DvsFQolO.js} +1 -1
- package/dist/esm/{payments-table-MrDAlH2o.js → payments-table-CCKeaI5x.js} +2 -2
- package/dist/esm/payout-details-core.entry.js +6 -6
- package/dist/esm/{payout.service-B_Fm08zQ.js → payout.service-Ws4Pebcz.js} +2 -3
- package/dist/esm/payouts-list-core.entry.js +8 -9
- package/dist/esm/{payouts-status-BxbhUjA3.js → payouts-status-BkM4Gvme.js} +1 -1
- package/dist/esm/{payouts-table-HoX3UYIj.js → payouts-table-CqBOvPOo.js} +2 -2
- package/dist/esm/{schema-validations-DYV7urvw.js → schema-validations-DLWfpHyI.js} +2 -23
- package/dist/esm/{skeleton-CPNYhX-V.js → skeleton-BVM4XTj9.js} +1 -1
- package/dist/esm/{spinner-Cl-6YJPf.js → spinner-BsxFRVXW.js} +1 -1
- package/dist/esm/{table-RCk8zh4L.js → table-DxdC1lXb.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +2 -2
- package/dist/esm/terminal-orders-list-core.entry.js +7 -8
- package/dist/esm/{terminal-orders-table-DxHLNkx_.js → terminal-orders-table-DV7nRYuE.js} +4 -5
- package/dist/esm/terminal-quantity-selector.entry.js +1 -1
- package/dist/esm/{terminal.service-2VkdfNas.js → terminal.service-DH8gRG1H.js} +2 -3
- package/dist/esm/terminals-list-core.entry.js +7 -8
- package/dist/esm/{terminals-table-v-LOevYA.js → terminals-table-DUHel128.js} +2 -2
- package/dist/esm/{utils-1WrbuHVR.js → utils-B-aPFy3u.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +0 -1
- package/dist/module/Refund.js +55 -1
- package/dist/module/bank-account-document-inputs.js +1 -2
- package/dist/module/bank-account-form.js +83 -1
- package/dist/{esm/justifi-bank-account-form.entry.js → module/bank-account.js} +44 -27
- package/dist/module/billing-form.js +25 -19
- package/dist/{esm/justifi-billing-information-form.entry.js → module/billing-form2.js} +61 -19
- 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-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/card-form.js +91 -1
- package/dist/module/card-form2.js +30 -15
- package/dist/module/checkout.service.js +0 -1
- package/dist/module/checkouts-list-core2.js +0 -1
- package/dist/module/dispute-response-actions.js +0 -1
- 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/header-3.js +8 -0
- package/dist/module/justifi-bank-account-form.js +1 -98
- package/dist/module/justifi-billing-information-form.js +1 -89
- package/dist/module/justifi-business-form.js +0 -1
- package/dist/module/justifi-card-form.js +1 -106
- package/dist/module/justifi-checkout-core.js +201 -1
- package/dist/module/justifi-checkout-summary.js +1 -32
- package/dist/module/justifi-checkout.js +104 -109
- package/dist/module/justifi-checkouts-list-filters.js +0 -1
- package/dist/module/justifi-checkouts-list.js +0 -1
- package/dist/module/justifi-gross-payment-chart.js +0 -1
- package/dist/module/justifi-modular-checkout.js +1 -214
- package/dist/module/justifi-new-payment-method.js +214 -1
- package/dist/module/justifi-order-terminals.js +2 -3
- package/dist/module/justifi-payment-provisioning.js +0 -1
- package/dist/module/justifi-payment-transactions-list.js +1 -2
- package/dist/module/justifi-payments-list.js +0 -1
- package/dist/module/justifi-payout-details.js +0 -1
- package/dist/module/justifi-payout-transactions-list.js +1 -2
- package/dist/module/justifi-payouts-list.js +0 -1
- package/dist/module/justifi-postal-code-form.js +1 -81
- package/dist/module/justifi-refund-payment.js +1 -2
- package/dist/module/justifi-saved-payment-method.js +57 -1
- package/dist/module/justifi-saved-payment-methods.js +1 -53
- package/dist/module/justifi-season-interruption-insurance.js +2 -4
- package/dist/module/justifi-sezzle-payment-method.js +1 -108
- package/dist/module/justifi-terminal-orders-list-filters.js +0 -1
- package/dist/module/justifi-terminal-orders-list.js +1 -2
- package/dist/module/justifi-terminals-list-filters.js +0 -1
- package/dist/module/justifi-terminals-list.js +1 -2
- package/dist/module/justifi-tokenize-payment-method.js +8 -75
- package/dist/module/modular-checkout.js +269 -0
- package/dist/module/package.js +1 -1
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-method-options.js +27 -100
- package/dist/module/payment.service.js +0 -1
- package/dist/module/payments-list-core2.js +0 -1
- package/dist/module/payout.service.js +0 -1
- package/dist/module/payouts-list-core2.js +0 -1
- package/dist/module/postal-code-form.js +83 -0
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/saved-payment-methods.js +55 -0
- package/dist/module/schema-validations.js +2 -23
- package/dist/module/season-interruption-insurance-core.js +2 -2
- package/dist/{esm/justifi-sezzle-payment-method.entry.js → module/sezzle-payment-method.js} +46 -14
- package/dist/module/summary.js +34 -0
- package/dist/module/terminal-orders-list-core2.js +0 -1
- package/dist/module/terminal.service.js +0 -1
- package/dist/module/terminals-list-core2.js +0 -1
- package/dist/types/components/business-forms/schemas/schema-validations.d.ts +0 -7
- package/dist/types/components/checkout/checkout.d.ts +19 -9
- package/dist/types/components/checkout/payment-method-options.d.ts +2 -1
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +1 -1
- package/dist/types/components.d.ts +5 -1
- package/dist/webcomponents/p-07e8c50a.entry.js +1 -0
- package/dist/webcomponents/{p-be51c7c5.entry.js → p-0d038c74.entry.js} +1 -1
- package/dist/webcomponents/p-0d24f707.entry.js +1 -0
- package/dist/webcomponents/p-0f07e5d2.entry.js +1 -0
- package/dist/webcomponents/{p-ff223825.entry.js → p-114d2d7e.entry.js} +1 -1
- package/dist/webcomponents/p-16c567ac.entry.js +1 -0
- package/dist/webcomponents/{p-20d7db42.entry.js → p-1debe4fc.entry.js} +1 -1
- package/dist/webcomponents/p-1tXUo5Ef.js +1 -0
- package/dist/webcomponents/{p-ce291c6a.entry.js → p-20ac139f.entry.js} +1 -1
- package/dist/webcomponents/{p-b3e6d27c.entry.js → p-28190487.entry.js} +1 -1
- package/dist/webcomponents/p-30b1b0d4.entry.js +1 -0
- package/dist/webcomponents/{p-1d64d86b.entry.js → p-31b3575b.entry.js} +1 -1
- package/dist/webcomponents/p-32d41de6.entry.js +1 -0
- package/dist/webcomponents/p-3523e4d2.entry.js +1 -0
- package/dist/webcomponents/p-3c172b0a.entry.js +1 -0
- package/dist/webcomponents/{p-5ea3cfca.entry.js → p-498ef7fe.entry.js} +1 -1
- package/dist/webcomponents/p-4cdc323c.entry.js +1 -0
- package/dist/webcomponents/p-54487455.entry.js +1 -0
- package/dist/webcomponents/p-55b2ccd4.entry.js +1 -0
- package/dist/webcomponents/p-56368e10.entry.js +1 -0
- package/dist/webcomponents/{p-712220f9.entry.js → p-62308de3.entry.js} +1 -1
- package/dist/webcomponents/p-655e9c99.entry.js +1 -0
- package/dist/webcomponents/p-6ae0dad9.entry.js +1 -0
- package/dist/webcomponents/p-6ed72565.entry.js +1 -0
- package/dist/webcomponents/{p-8532c68c.entry.js → p-7982b38b.entry.js} +1 -1
- package/dist/webcomponents/p-7efbe6e6.entry.js +1 -0
- package/dist/webcomponents/p-803b249d.entry.js +1 -0
- package/dist/webcomponents/p-819c5da9.entry.js +1 -0
- package/dist/webcomponents/p-85b73bd5.entry.js +1 -0
- package/dist/webcomponents/p-8a2d963a.entry.js +1 -0
- package/dist/webcomponents/p-90521984.entry.js +1 -0
- package/dist/webcomponents/p-93564eb7.entry.js +1 -0
- package/dist/webcomponents/p-95aada97.entry.js +1 -0
- package/dist/webcomponents/{p-df2ad580.entry.js → p-9a4b9734.entry.js} +1 -1
- package/dist/webcomponents/{p-BSUCBhkJ.js → p-B1jCcGW-.js} +1 -1
- package/dist/webcomponents/{p-CwHYDF33.js → p-BRvTM0jE.js} +1 -1
- package/dist/webcomponents/p-BZAglFez.js +1 -0
- package/dist/webcomponents/p-BdTK0wi9.js +1 -0
- package/dist/webcomponents/p-BeOlrj_S.js +1 -0
- package/dist/webcomponents/p-BjIcn6FF.js +1 -0
- package/dist/webcomponents/{p-B7VsiIW-.js → p-BvkP2v3x.js} +1 -1
- package/dist/webcomponents/{p-_6eQgwfE.js → p-C71Mxtso.js} +1 -1
- package/dist/webcomponents/{p-Ctw40vkk.js → p-C8EG4ZSX.js} +1 -1
- package/dist/webcomponents/p-C8rAwXW9.js +1 -0
- package/dist/webcomponents/p-CA9D3qnA.js +1 -0
- package/dist/webcomponents/p-CFpYbRwn.js +1 -0
- package/dist/webcomponents/p-CGCMYhyV.js +1 -0
- package/dist/webcomponents/p-CJdXAC5R.js +1 -0
- package/dist/webcomponents/p-CO90ONTY.js +1 -0
- package/dist/webcomponents/{p-Dw6NWKHn.js → p-Cl-Q3cHB.js} +1 -1
- package/dist/webcomponents/p-DFPGAF4g.js +1 -0
- package/dist/webcomponents/p-DHP6oxsO.js +1 -0
- package/dist/webcomponents/{p-D3SYNGyb.js → p-DLr6u3Be.js} +1 -1
- package/dist/webcomponents/p-DT6jDcoi.js +1 -0
- package/dist/webcomponents/p-DVnVdicA.js +1 -0
- package/dist/webcomponents/p-DX1Drndq.js +1 -0
- package/dist/webcomponents/p-Db-JSm6-.js +1 -0
- package/dist/webcomponents/p-Dc10zfEZ.js +1 -0
- package/dist/webcomponents/p-Dw516k9e.js +1 -0
- package/dist/webcomponents/p-DwxSNAz7.js +1 -0
- package/dist/webcomponents/{p-CnnRWu7z.js → p-Fa3dQnb9.js} +1 -1
- package/dist/webcomponents/p-IrS5pxMU.js +1 -0
- package/dist/webcomponents/p-JOSiCHl7.js +1 -0
- package/dist/webcomponents/p-RadC5UjV.js +1 -0
- package/dist/webcomponents/p-SuXHDcwL.js +1 -0
- package/dist/webcomponents/p-_P2I6GdZ.js +1 -0
- package/dist/webcomponents/p-a3245777.entry.js +1 -0
- package/dist/webcomponents/{p-f7e24a51.entry.js → p-a8f1165e.entry.js} +1 -1
- package/dist/webcomponents/p-abcde13f.entry.js +1 -0
- package/dist/webcomponents/{p-e563df65.entry.js → p-b0c7f45a.entry.js} +1 -1
- package/dist/webcomponents/p-b122d960.entry.js +1 -0
- package/dist/webcomponents/{p-f71b1ff0.entry.js → p-badf50e2.entry.js} +1 -1
- package/dist/webcomponents/p-be676a47.entry.js +1 -0
- package/dist/webcomponents/p-bf9afbe6.entry.js +1 -0
- package/dist/webcomponents/p-c1dabcc9.entry.js +20 -0
- package/dist/webcomponents/p-c4989fc1.entry.js +1 -0
- package/dist/webcomponents/p-c6f6cca0.entry.js +1 -0
- package/dist/webcomponents/{p-d82b509a.entry.js → p-cbfb26e2.entry.js} +1 -1
- package/dist/webcomponents/p-cc26a8fa.entry.js +1 -0
- package/dist/webcomponents/p-cc5dfa3d.entry.js +1 -0
- package/dist/webcomponents/{p-ef9dcfe1.entry.js → p-cc7d0b8c.entry.js} +1 -1
- package/dist/webcomponents/p-d039c1ea.entry.js +1 -0
- package/dist/webcomponents/p-d5f95784.entry.js +1 -0
- package/dist/webcomponents/p-d6tXI5Iw.js +1 -0
- package/dist/webcomponents/p-dad85acd.entry.js +1 -0
- package/dist/webcomponents/{p-3edd5ebd.entry.js → p-db13afe8.entry.js} +1 -1
- package/dist/webcomponents/{p-9a17fd5a.entry.js → p-dd5c8738.entry.js} +1 -1
- package/dist/webcomponents/{p-6b229318.entry.js → p-e2ac6f48.entry.js} +1 -1
- package/dist/webcomponents/{p-1ac365b4.entry.js → p-e2adbafd.entry.js} +1 -1
- package/dist/webcomponents/p-ea883d7c.entry.js +1 -0
- package/dist/webcomponents/{p-15c63931.entry.js → p-ed8eb110.entry.js} +1 -1
- package/dist/webcomponents/{p-e8294f7e.entry.js → p-f0a849be.entry.js} +1 -1
- package/dist/webcomponents/p-f165c5fc.entry.js +1 -0
- package/dist/webcomponents/p-f1dcc9c2.entry.js +1 -0
- package/dist/webcomponents/p-f21e1351.entry.js +1 -0
- package/dist/webcomponents/p-f2d283e5.entry.js +1 -0
- package/dist/webcomponents/p-f55f054a.entry.js +1 -0
- package/dist/webcomponents/p-f7ae2df8.entry.js +1 -0
- package/dist/webcomponents/p-f7ef66ba.entry.js +1 -0
- package/dist/webcomponents/p-f8750427.entry.js +1 -0
- package/dist/webcomponents/p-fa781ff0.entry.js +1 -0
- package/dist/webcomponents/p-fe5b7b4c.entry.js +1 -0
- package/dist/webcomponents/{p-CqVelcDt.js → p-kfHhaHAJ.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/bank-account-form_7.cjs.entry.js +0 -411
- package/dist/cjs/billing-form-schema-oZ4GROWP.js +0 -26
- package/dist/cjs/justifi-checkout-summary.cjs.entry.js +0 -21
- 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/esm/Document-Ct-uNz2r.js +0 -55
- package/dist/esm/bank-account-form_7.entry.js +0 -403
- package/dist/esm/billing-form-schema-PFvYpvy4.js +0 -24
- package/dist/esm/justifi-checkout-summary.entry.js +0 -19
- package/dist/esm/justifi-postal-code-form.entry.js +0 -48
- package/dist/esm/justifi-saved-payment-methods.entry.js +0 -29
- package/dist/module/Document.js +0 -55
- package/dist/module/checkout-actions.js +0 -58
- package/dist/module/checkout-core.js +0 -268
- package/dist/module/new-payment-method.js +0 -204
- package/dist/module/saved-payment-method.js +0 -59
- 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-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-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-584ba20d.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-5da3ba38.entry.js +0 -1
- package/dist/webcomponents/p-5f9dbaff.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-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-B4MIwTdb.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-BhLPwu1L.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-Ct-uNz2r.js +0 -1
- package/dist/webcomponents/p-CvChBLtI.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-D7js9xfx.js +0 -1
- package/dist/webcomponents/p-DOB09NZD.js +0 -1
- package/dist/webcomponents/p-DUdzWNqB.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-DzPrenCi.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-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-ec9bb3f6.entry.js +0 -1
- package/dist/webcomponents/p-ecf6a315.entry.js +0 -1
|
@@ -19,7 +19,7 @@ class Completion {
|
|
|
19
19
|
this.updated_at = data.updated_at;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
class Checkout {
|
|
22
|
+
let Checkout$1 = class Checkout {
|
|
23
23
|
constructor(data) {
|
|
24
24
|
var _a;
|
|
25
25
|
this.id = data.id;
|
|
@@ -70,7 +70,7 @@ class Checkout {
|
|
|
70
70
|
formattedPaymentAmount(amount) {
|
|
71
71
|
return utils.formatCurrency(amount, this.payment_currency);
|
|
72
72
|
}
|
|
73
|
-
}
|
|
73
|
+
};
|
|
74
74
|
var ICheckoutPaymentMode;
|
|
75
75
|
(function (ICheckoutPaymentMode) {
|
|
76
76
|
ICheckoutPaymentMode["bnpl"] = "Buy Now Pay Later";
|
|
@@ -98,4 +98,4 @@ var CompletionStatuses;
|
|
|
98
98
|
CompletionStatuses["succeeded"] = "succeeded";
|
|
99
99
|
})(CompletionStatuses || (CompletionStatuses = {}));
|
|
100
100
|
|
|
101
|
-
exports.Checkout = Checkout;
|
|
101
|
+
exports.Checkout = Checkout$1;
|
|
@@ -258,6 +258,60 @@ class SubAccount {
|
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
+
exports.EntityDocumentType = void 0;
|
|
262
|
+
(function (EntityDocumentType) {
|
|
263
|
+
EntityDocumentType["voidedCheck"] = "voided_check";
|
|
264
|
+
EntityDocumentType["balanceSheet"] = "balance_sheet";
|
|
265
|
+
EntityDocumentType["bankStatement"] = "bank_statement";
|
|
266
|
+
EntityDocumentType["governmentId"] = "government_id";
|
|
267
|
+
EntityDocumentType["profitAndLossStatement"] = "profit_and_loss_statement";
|
|
268
|
+
EntityDocumentType["taxReturn"] = "tax_return";
|
|
269
|
+
EntityDocumentType["other"] = "other";
|
|
270
|
+
})(exports.EntityDocumentType || (exports.EntityDocumentType = {}));
|
|
271
|
+
var EntityDocumentStatus;
|
|
272
|
+
(function (EntityDocumentStatus) {
|
|
273
|
+
EntityDocumentStatus["pending"] = "pending";
|
|
274
|
+
EntityDocumentStatus["uploaded"] = "uploaded";
|
|
275
|
+
EntityDocumentStatus["canceled"] = "canceled";
|
|
276
|
+
EntityDocumentStatus["needed"] = "needed";
|
|
277
|
+
})(EntityDocumentStatus || (EntityDocumentStatus = {}));
|
|
278
|
+
class EntityDocumentStorage {
|
|
279
|
+
constructor() {
|
|
280
|
+
this.voided_check = [];
|
|
281
|
+
this.balance_sheet = [];
|
|
282
|
+
this.bank_statement = [];
|
|
283
|
+
this.government_id = [];
|
|
284
|
+
this.profit_and_loss_statement = [];
|
|
285
|
+
this.tax_return = [];
|
|
286
|
+
this.other = [];
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
class EntityDocument {
|
|
290
|
+
constructor(fileData, business_id) {
|
|
291
|
+
this.file = fileData.file;
|
|
292
|
+
this.fileString = this.getFileString();
|
|
293
|
+
this.document_type = fileData.document_type;
|
|
294
|
+
this.presigned_url = null;
|
|
295
|
+
this.record_data = {
|
|
296
|
+
business_id: business_id,
|
|
297
|
+
document_type: this.document_type,
|
|
298
|
+
file_name: this.file.name,
|
|
299
|
+
file_type: this.file.type,
|
|
300
|
+
};
|
|
301
|
+
}
|
|
302
|
+
getFileString() {
|
|
303
|
+
let reader = new FileReader();
|
|
304
|
+
reader.onload = (e) => {
|
|
305
|
+
this.fileString = e.target.result;
|
|
306
|
+
};
|
|
307
|
+
reader.readAsDataURL(this.file);
|
|
308
|
+
return this.fileString;
|
|
309
|
+
}
|
|
310
|
+
setPresignedUrl(url) {
|
|
311
|
+
this.presigned_url = url;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
261
315
|
var RefundStatuses;
|
|
262
316
|
(function (RefundStatuses) {
|
|
263
317
|
RefundStatuses["succeeded"] = "succeeded";
|
|
@@ -278,6 +332,8 @@ class RefundPayload {
|
|
|
278
332
|
}
|
|
279
333
|
}
|
|
280
334
|
|
|
335
|
+
exports.EntityDocument = EntityDocument;
|
|
336
|
+
exports.EntityDocumentStorage = EntityDocumentStorage;
|
|
281
337
|
exports.PaymentBalanceTransaction = PaymentBalanceTransaction;
|
|
282
338
|
exports.Payout = Payout;
|
|
283
339
|
exports.PayoutBalanceTransaction = PayoutBalanceTransaction;
|
|
@@ -4,11 +4,10 @@ var index = require('./index-2GwnTbNA.js');
|
|
|
4
4
|
require('./config-state-BTfJl-LU.js');
|
|
5
5
|
var utils$1 = require('./utils-qOon0GWm.js');
|
|
6
6
|
require('./ComponentError-CEv9ltwy.js');
|
|
7
|
-
require('./Checkout-
|
|
7
|
+
require('./Checkout-BTgAlgVL.js');
|
|
8
8
|
require('./Pagination-Dediz133.js');
|
|
9
9
|
require('./Payment-D5UynU2f.js');
|
|
10
|
-
require('./Refund-
|
|
11
|
-
var Document = require('./Document-rXGBUaOh.js');
|
|
10
|
+
var Refund = require('./Refund-BFE-2OxN.js');
|
|
12
11
|
require('./Business-DCRzZf0w.js');
|
|
13
12
|
require('./Dispute-CruQTF6_.js');
|
|
14
13
|
var businessFormOptions = require('./business-form-options-CMII7nIK.js');
|
|
@@ -28,7 +27,7 @@ const BankAccountDocumentFormInputs = class {
|
|
|
28
27
|
index.registerInstance(this, hostRef);
|
|
29
28
|
}
|
|
30
29
|
render() {
|
|
31
|
-
return (index.h("div", { key: 'a3ff8b1ff23923beb847e66d6c56a39de9a86434', class: "row gy-3" }, index.h("div", { key: '86f9ba3a8f0f87f7fa67ba0fcf1d7c04f67e9bc5', class: "col-12" }, index.h("form-control-file", { key: '9cc2bc21414c8e3f4b25ac47b76340a4ce569c42', name: "voided_check", label: "Voided Check", documentType:
|
|
30
|
+
return (index.h("div", { key: 'a3ff8b1ff23923beb847e66d6c56a39de9a86434', class: "row gy-3" }, index.h("div", { key: '86f9ba3a8f0f87f7fa67ba0fcf1d7c04f67e9bc5', class: "col-12" }, index.h("form-control-file", { key: '9cc2bc21414c8e3f4b25ac47b76340a4ce569c42', name: "voided_check", label: "Voided Check", documentType: Refund.EntityDocumentType.voidedCheck, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["voided_check"], multiple: true })), index.h("div", { key: 'bee72d6c63514cdbd3200910d3a53b045c60d05d', class: "col-12" }, index.h("form-control-file", { key: '80a79f352d078cd210768b4060cad7014b1060c5', name: "bank_statement", label: "Bank Statement", documentType: Refund.EntityDocumentType.bankStatement, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["bank_statement"], multiple: true }))));
|
|
32
31
|
}
|
|
33
32
|
};
|
|
34
33
|
|
|
@@ -1,27 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-2GwnTbNA.js');
|
|
4
|
-
var styledHost = require('./styled-host-IMxk64cc.js');
|
|
5
|
-
require('./event-types-YOY5TKUN.js');
|
|
6
4
|
var skeleton = require('./skeleton-ByLavxr1.js');
|
|
7
|
-
var
|
|
5
|
+
var configState = require('./config-state-BTfJl-LU.js');
|
|
8
6
|
require('./parts-9jMf1erK.js');
|
|
9
|
-
require('./package-DF9mLjoQ.js');
|
|
10
|
-
require('./Api-BTdkb3Zh.js');
|
|
11
|
-
require('./config-state-BTfJl-LU.js');
|
|
12
7
|
require('./index-DEMVrrsF.js');
|
|
13
|
-
require('./utils-qOon0GWm.js');
|
|
14
|
-
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
15
|
-
require('./ComponentError-CEv9ltwy.js');
|
|
16
|
-
require('./Checkout-BsYZoJ0a.js');
|
|
17
|
-
require('./Pagination-Dediz133.js');
|
|
18
|
-
require('./Payment-D5UynU2f.js');
|
|
19
|
-
require('./Dispute-CruQTF6_.js');
|
|
20
|
-
require('./Refund-BDFOEJv_.js');
|
|
21
|
-
require('./Document-rXGBUaOh.js');
|
|
22
|
-
require('./Business-DCRzZf0w.js');
|
|
23
|
-
require('./helpers-B5OCqlIM.js');
|
|
24
|
-
require('./state-options-CIT9xdTz.js');
|
|
25
8
|
|
|
26
9
|
const BankAccountFormSkeleton = (props) => {
|
|
27
10
|
const { isReady } = props;
|
|
@@ -42,12 +25,11 @@ const BankAccountFormSkeleton = (props) => {
|
|
|
42
25
|
const BankAccountForm = class {
|
|
43
26
|
constructor(hostRef) {
|
|
44
27
|
index.registerInstance(this, hostRef);
|
|
45
|
-
this.iframeOrigin = "https://components.justifi.ai";
|
|
46
28
|
this.isReady = false;
|
|
47
29
|
}
|
|
48
|
-
componentWillLoad() {
|
|
49
|
-
|
|
50
|
-
this.
|
|
30
|
+
async componentWillLoad() {
|
|
31
|
+
await configState.waitForConfig();
|
|
32
|
+
this.iframeOrigin = configState.configState.iframeOrigin;
|
|
51
33
|
}
|
|
52
34
|
componentDidRender() {
|
|
53
35
|
const elements = [
|
|
@@ -62,24 +44,20 @@ const BankAccountForm = class {
|
|
|
62
44
|
this.isReady = true;
|
|
63
45
|
});
|
|
64
46
|
}
|
|
65
|
-
disconnectedCallback() {
|
|
66
|
-
var _a;
|
|
67
|
-
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
68
|
-
}
|
|
69
47
|
async validate() {
|
|
70
48
|
const accountNumberIsValid = await this.accountNumberIframeElement.validate();
|
|
71
49
|
const routingNumberIsValid = await this.routingNumberIframeElement.validate();
|
|
72
50
|
return accountNumberIsValid && routingNumberIsValid;
|
|
73
51
|
}
|
|
74
|
-
async tokenize(
|
|
52
|
+
async tokenize(clientId, paymentMethodMetadata, account) {
|
|
75
53
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
76
54
|
}
|
|
77
55
|
render() {
|
|
78
|
-
return (index.h(
|
|
56
|
+
return (index.h(index.Host, { key: '1b0156c264d4eddde8a97f78fefb70bd0c997aa0' }, index.h(BankAccountFormSkeleton, { key: '34cc2e35f9f3e5d88e03343db3b2a1fcf5d1b9e2', isReady: this.isReady }), index.h("div", { key: '472a483b7061174762ff3413f1da3af8952e100d', class: "container-fluid p-0", style: {
|
|
79
57
|
opacity: this.isReady ? '1' : '0',
|
|
80
58
|
height: this.isReady ? 'auto' : '0',
|
|
81
|
-
} }, index.h("div", { key: '
|
|
59
|
+
} }, index.h("div", { key: '975830a13c6f33fe89c1a40ac6d78c1a2342154d', class: "row mb-3" }, index.h("iframe-input", { key: '0c97e7e9fcc461ff67d572d6628639eb71368502', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), index.h("div", { key: '0648b42be75e251e20e47ebcc2599e597e03f1b3', class: "row" }, index.h("iframe-input", { key: 'e33011481a387bd05335804b82957b40129ddf4e', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
|
|
82
60
|
}
|
|
83
61
|
};
|
|
84
62
|
|
|
85
|
-
exports.
|
|
63
|
+
exports.bank_account_form = BankAccountForm;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var schemaValidations = require('./schema-validations-
|
|
3
|
+
var index_esm = require('./index.esm-CVuJLXJZ.js');
|
|
4
|
+
var schemaValidations = require('./schema-validations-BSeMee-o.js');
|
|
5
5
|
|
|
6
6
|
const businessCoreInfoSchema = (allowOptionalFields) => {
|
|
7
|
-
const schema =
|
|
7
|
+
const schema = index_esm.create$3({
|
|
8
8
|
legal_name: schemaValidations.businessNameValidation.required('Enter legal name'),
|
|
9
9
|
website_url: schemaValidations.websiteUrlValidation.required('Enter business website url'),
|
|
10
10
|
email: schemaValidations.emailValidation.required('Enter business email'),
|
|
@@ -15,7 +15,7 @@ const businessCoreInfoSchema = (allowOptionalFields) => {
|
|
|
15
15
|
tax_id: schemaValidations.taxIdValidation.required('Enter valid tax ID (SSN or EIN) without dashes'),
|
|
16
16
|
date_of_incorporation: schemaValidations.dateOfIncorporationValidation.required('Enter date of incorporation'),
|
|
17
17
|
});
|
|
18
|
-
const easySchema =
|
|
18
|
+
const easySchema = index_esm.create$3({
|
|
19
19
|
legal_name: schemaValidations.businessNameValidation.required('Enter legal name'),
|
|
20
20
|
website_url: schemaValidations.websiteUrlValidation.nullable(),
|
|
21
21
|
email: schemaValidations.emailValidation.nullable(),
|
|
@@ -30,7 +30,7 @@ const businessCoreInfoSchema = (allowOptionalFields) => {
|
|
|
30
30
|
};
|
|
31
31
|
|
|
32
32
|
const additionalQuestionsSchema = (allowOptionalFields) => {
|
|
33
|
-
const schema =
|
|
33
|
+
const schema = index_esm.create$3({
|
|
34
34
|
business_revenue: schemaValidations.revenueValidation.required('Enter business revenue'),
|
|
35
35
|
business_payment_volume: schemaValidations.paymentVolumeValidation.required('Enter business payment volume'),
|
|
36
36
|
business_when_service_received: schemaValidations.whenServiceReceivedValidation.required('Select when service is received'),
|
|
@@ -39,7 +39,7 @@ const additionalQuestionsSchema = (allowOptionalFields) => {
|
|
|
39
39
|
business_seasonal: schemaValidations.seasonalBusinessValidation.required('Select business seasonal'),
|
|
40
40
|
business_other_payment_details: schemaValidations.otherPaymentDetailsValidation.nullable(),
|
|
41
41
|
});
|
|
42
|
-
const easySchema =
|
|
42
|
+
const easySchema = index_esm.create$3({
|
|
43
43
|
business_revenue: schemaValidations.revenueValidation.nullable(),
|
|
44
44
|
business_payment_volume: schemaValidations.paymentVolumeValidation.nullable(),
|
|
45
45
|
business_when_service_received: schemaValidations.whenServiceReceivedValidation.nullable(),
|
package/dist/cjs/{business-identity-schema-DmpEndsx.js → business-identity-schema-Diqj_WVQ.js}
RENAMED
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var schemaValidations = require('./schema-validations-
|
|
3
|
+
var index_esm = require('./index.esm-CVuJLXJZ.js');
|
|
4
|
+
var schemaValidations = require('./schema-validations-BSeMee-o.js');
|
|
5
5
|
|
|
6
6
|
const addressSchema = (allowOptionalFields) => {
|
|
7
|
-
const schema =
|
|
7
|
+
const schema = index_esm.create$3({
|
|
8
8
|
line1: schemaValidations.lineOneValidation.required('Enter street address'),
|
|
9
9
|
line2: schemaValidations.lineTwoValidation.nullable(),
|
|
10
10
|
city: schemaValidations.cityValidation.required('Enter city'),
|
|
11
11
|
state: schemaValidations.stateValidation.required('Select state'),
|
|
12
12
|
postal_code: schemaValidations.postalValidation.required('Enter postal code'),
|
|
13
|
-
country:
|
|
13
|
+
country: index_esm.create$6().required('Select country')
|
|
14
14
|
});
|
|
15
|
-
const easySchema =
|
|
15
|
+
const easySchema = index_esm.create$3({
|
|
16
16
|
line1: schemaValidations.lineOneValidation.nullable(),
|
|
17
17
|
line2: schemaValidations.lineTwoValidation.nullable(),
|
|
18
18
|
city: schemaValidations.cityValidation.nullable(),
|
|
19
19
|
state: schemaValidations.stateValidation.nullable(),
|
|
20
20
|
postal_code: schemaValidations.postalValidation.nullable(),
|
|
21
|
-
country:
|
|
21
|
+
country: index_esm.create$6().required('Select country')
|
|
22
22
|
});
|
|
23
23
|
return allowOptionalFields ? easySchema : schema;
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
const identitySchema = (role, allowOptionalFields) => {
|
|
27
|
-
const schema =
|
|
27
|
+
const schema = index_esm.create$3({
|
|
28
28
|
name: schemaValidations.identityNameValidation.required(`Enter ${role} name`),
|
|
29
29
|
title: schemaValidations.identityTitleValidation.required(`Enter ${role} title`),
|
|
30
30
|
email: schemaValidations.emailValidation.required(`Enter ${role} email`),
|
|
31
31
|
phone: schemaValidations.phoneValidation.required('Enter phone number'),
|
|
32
32
|
dob_full: schemaValidations.dobValidation(role).required('Enter date of birth'),
|
|
33
|
-
ssn_last4:
|
|
33
|
+
ssn_last4: index_esm.create$6().nullable(),
|
|
34
34
|
identification_number: schemaValidations.ssnValidation,
|
|
35
35
|
address: addressSchema(allowOptionalFields),
|
|
36
36
|
});
|
|
37
|
-
const easySchema =
|
|
37
|
+
const easySchema = index_esm.create$3({
|
|
38
38
|
name: schemaValidations.identityNameValidation.required(`Enter ${role} name`),
|
|
39
39
|
title: schemaValidations.identityTitleValidation.nullable(),
|
|
40
40
|
email: schemaValidations.emailValidation.nullable(),
|
|
41
41
|
phone: schemaValidations.phoneValidation.nullable(),
|
|
42
42
|
dob_full: schemaValidations.dobValidation(role).nullable(),
|
|
43
|
-
ssn_last4:
|
|
43
|
+
ssn_last4: index_esm.create$6().nullable(),
|
|
44
44
|
identification_number: schemaValidations.ssnValidation.nullable(),
|
|
45
45
|
address: addressSchema(allowOptionalFields),
|
|
46
46
|
});
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
var Api = require('./Api-BTdkb3Zh.js');
|
|
4
4
|
require('./ComponentError-CEv9ltwy.js');
|
|
5
|
-
require('./Checkout-
|
|
5
|
+
require('./Checkout-BTgAlgVL.js');
|
|
6
6
|
require('./Pagination-Dediz133.js');
|
|
7
7
|
require('./Payment-D5UynU2f.js');
|
|
8
|
-
require('./Refund-
|
|
9
|
-
require('./Document-rXGBUaOh.js');
|
|
8
|
+
require('./Refund-BFE-2OxN.js');
|
|
10
9
|
require('./Business-DCRzZf0w.js');
|
|
11
10
|
require('./Dispute-CruQTF6_.js');
|
|
12
11
|
|
|
@@ -2,26 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-2GwnTbNA.js');
|
|
4
4
|
var skeleton = require('./skeleton-ByLavxr1.js');
|
|
5
|
-
require('./
|
|
6
|
-
var styledHost = require('./styled-host-IMxk64cc.js');
|
|
7
|
-
var Analytics = require('./Analytics-DYN4hp2b.js');
|
|
5
|
+
var configState = require('./config-state-BTfJl-LU.js');
|
|
8
6
|
require('./parts-9jMf1erK.js');
|
|
9
|
-
require('./package-DF9mLjoQ.js');
|
|
10
|
-
require('./Api-BTdkb3Zh.js');
|
|
11
|
-
require('./config-state-BTfJl-LU.js');
|
|
12
7
|
require('./index-DEMVrrsF.js');
|
|
13
|
-
require('./utils-qOon0GWm.js');
|
|
14
|
-
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
15
|
-
require('./ComponentError-CEv9ltwy.js');
|
|
16
|
-
require('./Checkout-BsYZoJ0a.js');
|
|
17
|
-
require('./Pagination-Dediz133.js');
|
|
18
|
-
require('./Payment-D5UynU2f.js');
|
|
19
|
-
require('./Dispute-CruQTF6_.js');
|
|
20
|
-
require('./Refund-BDFOEJv_.js');
|
|
21
|
-
require('./Document-rXGBUaOh.js');
|
|
22
|
-
require('./Business-DCRzZf0w.js');
|
|
23
|
-
require('./helpers-B5OCqlIM.js');
|
|
24
|
-
require('./state-options-CIT9xdTz.js');
|
|
25
8
|
|
|
26
9
|
const CardFormSkeleton = (props) => {
|
|
27
10
|
const { isReady } = props;
|
|
@@ -43,15 +26,14 @@ const CardFormSkeleton = (props) => {
|
|
|
43
26
|
index.h(skeleton.Skeleton, { height: "36px" })))));
|
|
44
27
|
};
|
|
45
28
|
|
|
46
|
-
const
|
|
29
|
+
const CardForm = class {
|
|
47
30
|
constructor(hostRef) {
|
|
48
31
|
index.registerInstance(this, hostRef);
|
|
49
|
-
this.iframeOrigin = "https://components.justifi.ai";
|
|
50
32
|
this.isReady = false;
|
|
51
33
|
}
|
|
52
|
-
componentWillLoad() {
|
|
53
|
-
|
|
54
|
-
this.
|
|
34
|
+
async componentWillLoad() {
|
|
35
|
+
await configState.waitForConfig();
|
|
36
|
+
this.iframeOrigin = configState.configState.iframeOrigin;
|
|
55
37
|
}
|
|
56
38
|
componentDidRender() {
|
|
57
39
|
const elements = [
|
|
@@ -68,10 +50,6 @@ const JustifiCardForm = class {
|
|
|
68
50
|
this.isReady = true;
|
|
69
51
|
});
|
|
70
52
|
}
|
|
71
|
-
disconnectedCallback() {
|
|
72
|
-
var _a;
|
|
73
|
-
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
74
|
-
}
|
|
75
53
|
async validate() {
|
|
76
54
|
const cardNumberIsValid = await this.cardNumberIframeElement.validate();
|
|
77
55
|
const expirationMonthIsValid = await this.expirationMonthIframeElement.validate();
|
|
@@ -79,15 +57,15 @@ const JustifiCardForm = class {
|
|
|
79
57
|
const cvvIsValid = await this.cvvIframeElement.validate();
|
|
80
58
|
return cardNumberIsValid && expirationMonthIsValid && expirationYearIsValid && cvvIsValid;
|
|
81
59
|
}
|
|
82
|
-
async tokenize(
|
|
60
|
+
async tokenize(clientId, paymentMethodMetadata, account) {
|
|
83
61
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
84
62
|
}
|
|
85
63
|
render() {
|
|
86
|
-
return (index.h(
|
|
64
|
+
return (index.h(index.Host, { key: 'c43351c7ab1eb6bf413f162634f55007798bb076' }, index.h(CardFormSkeleton, { key: 'f0a29497de2270108868e892d666b552dea27a1e', isReady: this.isReady }), index.h("div", { key: '2734b111c1f2f2275435d2141445ac30482946be', class: "container-fluid p-0", style: {
|
|
87
65
|
opacity: this.isReady ? '1' : '0',
|
|
88
66
|
height: this.isReady ? 'auto' : '0',
|
|
89
|
-
} }, index.h("div", { key: '
|
|
67
|
+
} }, index.h("div", { key: '036c359caaf8fc36fa6ba56bbcad5d01de1fe9c9', class: "mb-3" }, index.h("iframe-input", { key: '9baf7dc76ff18f8dee6e6cd08b93e1ba155d5cf2', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), index.h("div", { key: 'cd54e4a30da50cfe5151b557fe1d92ebb483ad7e', class: "row" }, index.h("div", { key: '6b3e84079d606a6ffd5580deae0d6e4563d4c7ef', class: "col-4 align-content-end" }, index.h("iframe-input", { key: '9ea2ad1c93ca90bbb4bc7a4c83a72e8f4cc9da61', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), index.h("div", { key: '9478f77f64decfcdfd77f888d54cb37f46ad8ab7', class: "col-4 align-content-end" }, index.h("iframe-input", { key: '43191d41eb743e0c509236ea316c1afb180b8fbb', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), index.h("div", { key: '65599647fc750e6c62fb2866190ffa87689d8a5b', class: "col-4 align-content-end" }, index.h("iframe-input", { key: 'df367f3143aaff25ba9147698090ccbcea902cbf', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
|
|
90
68
|
}
|
|
91
69
|
};
|
|
92
70
|
|
|
93
|
-
exports.
|
|
71
|
+
exports.card_form = CardForm;
|
|
@@ -1,35 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _package = require('./package-
|
|
3
|
+
var _package = require('./package-wSbEFwqE.js');
|
|
4
4
|
var Api = require('./Api-BTdkb3Zh.js');
|
|
5
5
|
require('./ComponentError-CEv9ltwy.js');
|
|
6
|
-
require('./Checkout-
|
|
6
|
+
require('./Checkout-BTgAlgVL.js');
|
|
7
7
|
require('./Pagination-Dediz133.js');
|
|
8
8
|
require('./Payment-D5UynU2f.js');
|
|
9
|
-
require('./Refund-
|
|
10
|
-
require('./Document-rXGBUaOh.js');
|
|
9
|
+
require('./Refund-BFE-2OxN.js');
|
|
11
10
|
require('./Business-DCRzZf0w.js');
|
|
12
11
|
require('./Dispute-CruQTF6_.js');
|
|
13
12
|
|
|
14
|
-
const latestVersion = async (packageName) => {
|
|
15
|
-
const response = await fetch('https://registry.npmjs.org/' + packageName + '/latest');
|
|
16
|
-
const json = await response.json();
|
|
17
|
-
return json.version;
|
|
18
|
-
};
|
|
19
|
-
const checkPkgVersion = async () => {
|
|
20
|
-
const version = _package.packageJson.version;
|
|
21
|
-
const packageName = _package.packageJson.name;
|
|
22
|
-
const latest = await latestVersion(packageName);
|
|
23
|
-
// remove rc from version and everything that comes after -rc
|
|
24
|
-
const latestNotRC = latest.replace(/-rc.*/, '');
|
|
25
|
-
// checkif there's a major version difference
|
|
26
|
-
const versionParts = version.split('.');
|
|
27
|
-
const latestParts = latest.split('.');
|
|
28
|
-
if (versionParts[0] !== latestParts[0]) {
|
|
29
|
-
console.warn(`The package ${packageName} is out of date. The latest version is ${latestNotRC}. Please update.`);
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
|
|
33
13
|
const api = Api.Api();
|
|
34
14
|
class AnalyticsService {
|
|
35
15
|
async record(body) {
|
|
@@ -112,5 +92,24 @@ class JustifiAnalytics {
|
|
|
112
92
|
}
|
|
113
93
|
}
|
|
114
94
|
|
|
95
|
+
const latestVersion = async (packageName) => {
|
|
96
|
+
const response = await fetch('https://registry.npmjs.org/' + packageName + '/latest');
|
|
97
|
+
const json = await response.json();
|
|
98
|
+
return json.version;
|
|
99
|
+
};
|
|
100
|
+
const checkPkgVersion = async () => {
|
|
101
|
+
const version = _package.packageJson.version;
|
|
102
|
+
const packageName = _package.packageJson.name;
|
|
103
|
+
const latest = await latestVersion(packageName);
|
|
104
|
+
// remove rc from version and everything that comes after -rc
|
|
105
|
+
const latestNotRC = latest.replace(/-rc.*/, '');
|
|
106
|
+
// checkif there's a major version difference
|
|
107
|
+
const versionParts = version.split('.');
|
|
108
|
+
const latestParts = latest.split('.');
|
|
109
|
+
if (versionParts[0] !== latestParts[0]) {
|
|
110
|
+
console.warn(`The package ${packageName} is out of date. The latest version is ${latestNotRC}. Please update.`);
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
|
|
115
114
|
exports.JustifiAnalytics = JustifiAnalytics;
|
|
116
115
|
exports.checkPkgVersion = checkPkgVersion;
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
var Api = require('./Api-BTdkb3Zh.js');
|
|
4
4
|
require('./ComponentError-CEv9ltwy.js');
|
|
5
|
-
require('./Checkout-
|
|
5
|
+
require('./Checkout-BTgAlgVL.js');
|
|
6
6
|
require('./Pagination-Dediz133.js');
|
|
7
7
|
require('./Payment-D5UynU2f.js');
|
|
8
|
-
require('./Refund-
|
|
9
|
-
require('./Document-rXGBUaOh.js');
|
|
8
|
+
require('./Refund-BFE-2OxN.js');
|
|
10
9
|
require('./Business-DCRzZf0w.js');
|
|
11
10
|
require('./Dispute-CruQTF6_.js');
|
|
12
11
|
|
|
@@ -4,11 +4,10 @@ var index = require('./index-2GwnTbNA.js');
|
|
|
4
4
|
require('./config-state-BTfJl-LU.js');
|
|
5
5
|
require('./utils-qOon0GWm.js');
|
|
6
6
|
require('./ComponentError-CEv9ltwy.js');
|
|
7
|
-
require('./Checkout-
|
|
7
|
+
require('./Checkout-BTgAlgVL.js');
|
|
8
8
|
var Pagination = require('./Pagination-Dediz133.js');
|
|
9
9
|
require('./Payment-D5UynU2f.js');
|
|
10
|
-
require('./Refund-
|
|
11
|
-
require('./Document-rXGBUaOh.js');
|
|
10
|
+
require('./Refund-BFE-2OxN.js');
|
|
12
11
|
require('./Business-DCRzZf0w.js');
|
|
13
12
|
require('./Dispute-CruQTF6_.js');
|
|
14
13
|
var table = require('./table-BgQP2M2-.js');
|
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-2GwnTbNA.js');
|
|
4
4
|
var parts = require('./parts-9jMf1erK.js');
|
|
5
|
-
var formControlErrorText = require('./form-control-error-text-DPDsFdAT.js');
|
|
6
|
-
require('./event-types-YOY5TKUN.js');
|
|
7
5
|
|
|
8
6
|
var top = 'top';
|
|
9
7
|
var bottom = 'bottom';
|
|
@@ -1889,102 +1887,6 @@ const CustomPopper = class {
|
|
|
1889
1887
|
}
|
|
1890
1888
|
};
|
|
1891
1889
|
|
|
1892
|
-
const SelectInput = class {
|
|
1893
|
-
constructor(hostRef) {
|
|
1894
|
-
index.registerInstance(this, hostRef);
|
|
1895
|
-
this.formControlInput = index.createEvent(this, "formControlInput");
|
|
1896
|
-
this.formControlBlur = index.createEvent(this, "formControlBlur");
|
|
1897
|
-
this.isFocused = false;
|
|
1898
|
-
this.handleFormControlInput = (event) => {
|
|
1899
|
-
const target = event.target;
|
|
1900
|
-
const name = target.getAttribute('name');
|
|
1901
|
-
this.inputHandler(name, target.value);
|
|
1902
|
-
this.formControlInput.emit(target.value);
|
|
1903
|
-
};
|
|
1904
|
-
this.updateInput = (newValue) => {
|
|
1905
|
-
this.selectElement.value = newValue;
|
|
1906
|
-
};
|
|
1907
|
-
}
|
|
1908
|
-
handleDefaultValueChange(newValue) {
|
|
1909
|
-
this.updateInput(newValue);
|
|
1910
|
-
}
|
|
1911
|
-
componentDidLoad() {
|
|
1912
|
-
this.updateInput(this.defaultValue);
|
|
1913
|
-
}
|
|
1914
|
-
get part() {
|
|
1915
|
-
let part = parts.input;
|
|
1916
|
-
if (this.errorText) {
|
|
1917
|
-
part = parts.inputInvalid;
|
|
1918
|
-
}
|
|
1919
|
-
if (this.disabled) {
|
|
1920
|
-
part = parts.inputDisabled;
|
|
1921
|
-
}
|
|
1922
|
-
if (this.isFocused) {
|
|
1923
|
-
part = parts.inputFocused;
|
|
1924
|
-
}
|
|
1925
|
-
return part;
|
|
1926
|
-
}
|
|
1927
|
-
render() {
|
|
1928
|
-
var _a;
|
|
1929
|
-
return (index.h(index.Host, { key: '605b6cb9bfa7bac528ee0af9c4deb5e7b1356b93' }, index.h("div", { key: 'f8b42609971ff02c4bc147a113bb4a025d32bcd8', class: "form-group d-flex flex-column" }, index.h("div", { key: '26c87da7b92edbb7fd41825a4e64b642778d0808', class: "d-flex align-items-start gap-2" }, index.h("label", { key: '43ad562c323b586bf7ab0260258d8678ef3194aa', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '1e4b1fa0e9bae57b6e783fb873de38c49ae7a8a4', helpText: this.helpText })), index.h("select", { key: 'bef2df140499a642ea9bf5bd3f6d7b558042e733', ref: el => (this.selectElement = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
1930
|
-
this.isFocused = false;
|
|
1931
|
-
this.formControlBlur.emit();
|
|
1932
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (index.h("option", { value: option.value }, option.label)))), index.h(formControlErrorText.FormControlErrorText, { key: '99abaaa766c1270cf1cfd926320d343393b13d1d', errorText: this.errorText, name: this.name }))));
|
|
1933
|
-
}
|
|
1934
|
-
static get watchers() { return {
|
|
1935
|
-
"defaultValue": ["handleDefaultValueChange"]
|
|
1936
|
-
}; }
|
|
1937
|
-
};
|
|
1938
|
-
|
|
1939
|
-
const TextInput = class {
|
|
1940
|
-
constructor(hostRef) {
|
|
1941
|
-
index.registerInstance(this, hostRef);
|
|
1942
|
-
this.formControlInput = index.createEvent(this, "formControlInput");
|
|
1943
|
-
this.formControlBlur = index.createEvent(this, "formControlBlur");
|
|
1944
|
-
this.isFocused = false;
|
|
1945
|
-
this.handleFormControlInput = (event) => {
|
|
1946
|
-
const target = event.target;
|
|
1947
|
-
const name = target.getAttribute('name');
|
|
1948
|
-
this.inputHandler(name, target.value);
|
|
1949
|
-
this.formControlInput.emit({ name, value: target.value });
|
|
1950
|
-
};
|
|
1951
|
-
this.updateInput = (newValue) => {
|
|
1952
|
-
const inputElement = this.el.querySelector('input');
|
|
1953
|
-
if (inputElement) {
|
|
1954
|
-
inputElement.value = newValue || '';
|
|
1955
|
-
}
|
|
1956
|
-
};
|
|
1957
|
-
}
|
|
1958
|
-
handleDefaultValueChange(newValue) {
|
|
1959
|
-
this.updateInput(newValue);
|
|
1960
|
-
}
|
|
1961
|
-
componentDidLoad() {
|
|
1962
|
-
this.updateInput(this.defaultValue);
|
|
1963
|
-
}
|
|
1964
|
-
get part() {
|
|
1965
|
-
if (this.errorText) {
|
|
1966
|
-
return parts.inputInvalid;
|
|
1967
|
-
}
|
|
1968
|
-
if (this.disabled) {
|
|
1969
|
-
return parts.inputDisabled;
|
|
1970
|
-
}
|
|
1971
|
-
if (this.isFocused) {
|
|
1972
|
-
return parts.inputFocused;
|
|
1973
|
-
}
|
|
1974
|
-
return parts.input;
|
|
1975
|
-
}
|
|
1976
|
-
render() {
|
|
1977
|
-
return (index.h(index.Host, { key: 'fab6618fdcf4d8c5f61687ecd5edfd6783754ec8' }, index.h("div", { key: '8f5b56c46fcd890c2601dd3b79fe60438bd561ef', class: "form-group d-flex flex-column" }, index.h("div", { key: '2226c532baa84905d8051e2222f24105b224d42b', class: "d-flex align-items-start gap-2" }, index.h("label", { key: '7c516dce181a938168dbe4961a90a946c723fc91', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: 'f4868f88e4f3e4795e25ad505e78cf8ab212623d', helpText: this.helpText })), index.h("input", { key: '10f02be3c0d055089697155878fedc23aa9f31e3', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
1978
|
-
this.isFocused = false;
|
|
1979
|
-
this.formControlBlur.emit();
|
|
1980
|
-
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), index.h(formControlErrorText.FormControlErrorText, { key: '02c21c4b071903db49e2e8b786275247d75c92f9', errorText: this.errorText, name: this.name }))));
|
|
1981
|
-
}
|
|
1982
|
-
get el() { return index.getElement(this); }
|
|
1983
|
-
static get watchers() { return {
|
|
1984
|
-
"defaultValue": ["handleDefaultValueChange"]
|
|
1985
|
-
}; }
|
|
1986
|
-
};
|
|
1987
|
-
|
|
1988
1890
|
const TooltipComponent = class {
|
|
1989
1891
|
constructor(hostRef) {
|
|
1990
1892
|
index.registerInstance(this, hostRef);
|
|
@@ -2004,6 +1906,4 @@ const TooltipComponent = class {
|
|
|
2004
1906
|
};
|
|
2005
1907
|
|
|
2006
1908
|
exports.custom_popper = CustomPopper;
|
|
2007
|
-
exports.form_control_select = SelectInput;
|
|
2008
|
-
exports.form_control_text = TextInput;
|
|
2009
1909
|
exports.form_control_tooltip = TooltipComponent;
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
var Api = require('./Api-BTdkb3Zh.js');
|
|
4
4
|
require('./ComponentError-CEv9ltwy.js');
|
|
5
|
-
require('./Checkout-
|
|
5
|
+
require('./Checkout-BTgAlgVL.js');
|
|
6
6
|
require('./Pagination-Dediz133.js');
|
|
7
7
|
require('./Payment-D5UynU2f.js');
|
|
8
|
-
require('./Refund-
|
|
9
|
-
require('./Document-rXGBUaOh.js');
|
|
8
|
+
require('./Refund-BFE-2OxN.js');
|
|
10
9
|
require('./Business-DCRzZf0w.js');
|
|
11
10
|
require('./Dispute-CruQTF6_.js');
|
|
12
11
|
|