@justifi/webcomponents 4.11.0 → 4.12.0
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/{Business-7ae04d4f.js → Business-f8e37adb.js} +34 -27
- package/dist/cjs/{Payment-89a8bc21.js → Payment-eceed10f.js} +1 -0
- package/dist/cjs/{SubAccount-05867651.js → SubAccount-b3902202.js} +1 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +5 -6
- package/dist/cjs/business-additional-questions-schema-bdfd29c3.js +78 -0
- package/dist/cjs/business-details-core.cjs.entry.js +2 -2
- package/dist/cjs/{business-form-types-29b2bad9.js → business-form-types-61b8196a.js} +26 -0
- package/dist/cjs/{form-control-datepart_4.cjs.entry.js → form-control-date_4.cjs.entry.js} +18 -51
- package/dist/cjs/form-control-datepart.cjs.entry.js +80 -0
- package/dist/cjs/form-control-monetary.cjs.entry.js +1 -1
- package/dist/cjs/form-control-select_2.cjs.entry.js +1 -1
- package/dist/cjs/{form-input-masks-e3bf2614.js → form-input-masks-baa06faf.js} +1 -1
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -4
- package/dist/cjs/{index-69b9386b.js → index-5d5f2219.js} +3 -0
- package/dist/cjs/justifi-additional-questions-form-step_5.cjs.entry.js +20 -12
- package/dist/cjs/justifi-additional-questions_4.cjs.entry.js +17 -16
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-billing-form_4.cjs.entry.js +5 -5
- package/dist/cjs/justifi-business-details.cjs.entry.js +3 -4
- package/dist/cjs/justifi-business-form.cjs.entry.js +20 -12
- package/dist/cjs/justifi-business-list.cjs.entry.js +4 -6
- package/dist/cjs/justifi-business-owners.cjs.entry.js +2 -2
- package/dist/cjs/justifi-card-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +34 -24
- package/dist/cjs/justifi-checkout.cjs.entry.js +14 -10
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
- package/dist/cjs/{justifi-new-payment-method_3.cjs.entry.js → justifi-new-payment-method_4.cjs.entry.js} +95 -11
- package/dist/cjs/justifi-owner-form.cjs.entry.js +30 -16
- package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +3 -4
- package/dist/cjs/justifi-payment-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-form.cjs.entry.js +3 -4
- package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +11 -4
- package/dist/cjs/justifi-payments-list.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payout-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +4 -4
- package/dist/cjs/justifi-proceeds-list.cjs.entry.js +3 -4
- package/dist/cjs/justifi-refund-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-subaccount-details.cjs.entry.js +5 -6
- package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +4 -5
- package/dist/cjs/justifi-table_2.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{payload-parsers-f437272e.js → payload-parsers-32c43c76.js} +36 -24
- package/dist/cjs/payment-details-core.cjs.entry.js +3 -4
- package/dist/cjs/{payment.service-0b0086dc.js → payment.service-9db24ab9.js} +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +3 -4
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -4
- package/dist/cjs/{payout.service-5cc3b4e9.js → payout.service-a0efb71a.js} +1 -1
- package/dist/cjs/payouts-list-core.cjs.entry.js +3 -4
- package/dist/cjs/subaccount-account-details_4.cjs.entry.js +5 -6
- package/dist/cjs/subaccount-bank-details.cjs.entry.js +2 -2
- package/dist/cjs/subaccount-terms-details.cjs.entry.js +2 -2
- package/dist/cjs/{utils-23e70ef2.js → utils-6e35fa70.js} +1 -1
- package/dist/cjs/{utils-2b9940e1.js → utils-6f62f7a1.js} +0 -7
- package/dist/cjs/{utils-87435719.js → utils-fc72268d.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +2 -2
- package/dist/collection/api/Business.js +2 -20
- package/dist/collection/api/Checkout.js +6 -1
- package/dist/collection/api/Identity.js +7 -4
- package/dist/collection/api/Payment.js +1 -0
- package/dist/collection/api/services/checkout.service.js +7 -3
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +2 -2
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -2
- package/dist/collection/components/business-forms/business-form/business-form.js +48 -3
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +12 -9
- package/dist/collection/components/business-forms/owner-form/owner-form.js +24 -8
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +2 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +11 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +42 -1
- package/dist/collection/components/business-forms/schemas/business-address-schema.js +9 -18
- package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +48 -17
- package/dist/collection/components/business-forms/schemas/business-form-schema.js +1 -1
- package/dist/collection/components/business-forms/schemas/business-identity-schema.js +18 -7
- package/dist/collection/components/business-forms/schemas/schema-helpers.js +8 -0
- package/dist/collection/components/business-forms/utils/business-form-types.js +23 -0
- package/dist/collection/components/business-forms/utils/helpers.js +22 -2
- package/dist/collection/components/business-forms/utils/payload-parsers.js +1 -0
- package/dist/collection/components/business-list/business-list.js +0 -2
- package/dist/collection/components/checkout/checkout-actions.js +2 -2
- package/dist/collection/components/checkout/checkout-core.css +361 -0
- package/dist/collection/components/checkout/checkout-core.js +32 -27
- package/dist/collection/components/checkout/checkout.js +5 -5
- package/dist/collection/components/checkout/new-payment-method.js +12 -6
- package/dist/collection/components/checkout/payment-method-options.css +18 -2
- package/dist/collection/components/checkout/payment-method-options.js +62 -5
- package/dist/collection/components/checkout/payment-method-payload.js +1 -0
- package/dist/collection/components/checkout/saved-payment-method.js +11 -6
- package/dist/collection/components/checkout/sezzel-payment-method.js +247 -0
- package/dist/collection/components/form/form-control-date.css +1803 -0
- package/dist/collection/components/form/form-control-date.js +192 -0
- package/dist/collection/components/payment-form/payment-method-selector.js +1 -1
- package/dist/collection/components/payment-method-form/payment-method-form.js +1 -1
- package/dist/collection/components/select-input/select-input.js +1 -1
- package/dist/collection/components/select-input/test/select-input.spec.js +4 -4
- package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.js +3 -3
- package/dist/collection/components/text-input/test/text-input.spec.js +4 -4
- package/dist/collection/components/text-input/text-input.js +1 -1
- package/dist/collection/utils/form-input-masks.js +1 -1
- package/dist/collection/utils/utils.js +0 -5
- package/dist/docs.json +670 -93
- package/dist/esm/{Business-91caaccb.js → Business-2410f7e3.js} +31 -25
- package/dist/esm/{Payment-55886c86.js → Payment-ef9fc1ae.js} +1 -0
- package/dist/esm/{SubAccount-61ac70eb.js → SubAccount-f4ae9809.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +5 -6
- package/dist/esm/business-additional-questions-schema-5571d40f.js +75 -0
- package/dist/esm/business-details-core.entry.js +2 -2
- package/dist/esm/{business-form-types-0d76133c.js → business-form-types-46ecd908.js} +25 -1
- package/dist/esm/{form-control-datepart_4.entry.js → form-control-date_4.entry.js} +18 -51
- package/dist/esm/form-control-datepart.entry.js +76 -0
- package/dist/esm/form-control-monetary.entry.js +1 -1
- package/dist/esm/form-control-select_2.entry.js +1 -1
- package/dist/esm/{form-input-masks-a8187c77.js → form-input-masks-850c8cd4.js} +1 -1
- package/dist/esm/gross-payment-chart-core.entry.js +3 -4
- package/dist/esm/{index-df86d9a2.js → index-83dcf934.js} +3 -0
- package/dist/esm/justifi-additional-questions-form-step_5.entry.js +20 -12
- package/dist/esm/justifi-additional-questions_4.entry.js +17 -16
- package/dist/esm/justifi-bank-account-form.entry.js +1 -1
- package/dist/esm/justifi-billing-form_4.entry.js +5 -5
- package/dist/esm/justifi-business-details.entry.js +3 -4
- package/dist/esm/justifi-business-form.entry.js +20 -12
- package/dist/esm/justifi-business-list.entry.js +4 -6
- package/dist/esm/justifi-business-owners.entry.js +2 -2
- package/dist/esm/justifi-card-form.entry.js +1 -1
- package/dist/esm/justifi-checkout-core.entry.js +34 -24
- package/dist/esm/justifi-checkout.entry.js +14 -10
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-gross-payment-chart.entry.js +2 -2
- package/dist/esm/{justifi-new-payment-method_3.entry.js → justifi-new-payment-method_4.entry.js} +95 -12
- package/dist/esm/justifi-owner-form.entry.js +30 -16
- package/dist/esm/justifi-payment-balance-transactions.entry.js +3 -4
- package/dist/esm/justifi-payment-details.entry.js +4 -4
- package/dist/esm/justifi-payment-form.entry.js +3 -4
- package/dist/esm/justifi-payment-method-selector.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +11 -4
- package/dist/esm/justifi-payments-list.entry.js +4 -4
- package/dist/esm/justifi-payout-details.entry.js +4 -4
- package/dist/esm/justifi-payouts-list.entry.js +4 -4
- package/dist/esm/justifi-proceeds-list.entry.js +3 -4
- package/dist/esm/justifi-refund-form.entry.js +2 -2
- package/dist/esm/justifi-subaccount-details.entry.js +5 -6
- package/dist/esm/justifi-subaccounts-list.entry.js +4 -5
- package/dist/esm/justifi-table_2.entry.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{payload-parsers-920f49dd.js → payload-parsers-192e0c3e.js} +33 -25
- package/dist/esm/payment-details-core.entry.js +3 -4
- package/dist/esm/{payment.service-f274ef98.js → payment.service-ec28a959.js} +1 -1
- package/dist/esm/payments-list-core.entry.js +3 -4
- package/dist/esm/payout-details-core.entry.js +3 -4
- package/dist/esm/{payout.service-af293f61.js → payout.service-5fd5986c.js} +1 -1
- package/dist/esm/payouts-list-core.entry.js +3 -4
- package/dist/esm/subaccount-account-details_4.entry.js +5 -6
- package/dist/esm/subaccount-bank-details.entry.js +2 -2
- package/dist/esm/subaccount-terms-details.entry.js +2 -2
- package/dist/esm/{utils-d01c5f3a.js → utils-210fdf39.js} +1 -1
- package/dist/esm/{utils-d9e90399.js → utils-243abdb4.js} +1 -7
- package/dist/esm/{utils-684d2e47.js → utils-6f05d9d7.js} +1 -1
- package/dist/esm/webcomponents.js +3 -3
- package/dist/module/Business.js +9 -25
- package/dist/module/Payment.js +1 -0
- package/dist/module/SubAccount.js +1 -1
- package/dist/module/business-address-schema.js +9 -18
- package/dist/module/business-core-info-form-step.js +2 -3
- package/dist/module/business-core-info-schema.js +49 -18
- package/dist/module/business-core-info.js +2 -2
- package/dist/module/business-form-types.js +25 -1
- package/dist/module/business-identity-schema.js +18 -7
- package/dist/module/business-owners-form-step.js +3 -3
- package/dist/module/business-representative-form-step.js +15 -5
- package/dist/module/business-representative.js +15 -12
- package/dist/module/checkout-core.js +50 -33
- package/dist/module/form-control-date.d.ts +11 -0
- package/dist/module/form-control-date.js +6 -0
- package/dist/module/form-control-date2.js +68 -0
- package/dist/module/form-input-masks.js +1 -1
- package/dist/module/generic-info-details2.js +2 -2
- package/dist/module/helpers.js +24 -3
- package/dist/module/justifi-business-details.js +1 -1
- package/dist/module/justifi-business-form.js +21 -10
- package/dist/module/justifi-business-list.js +1 -3
- package/dist/module/justifi-checkout.js +31 -21
- package/dist/module/justifi-payment-balance-transactions.js +1 -1
- package/dist/module/justifi-payment-provisioning.js +12 -5
- package/dist/module/justifi-sezzel-payment-method.d.ts +11 -0
- package/dist/module/justifi-sezzel-payment-method.js +6 -0
- package/dist/module/justifi-subaccount-details.js +1 -1
- package/dist/module/justifi-subaccounts-list.js +1 -1
- package/dist/module/legal-address-form-step.js +2 -2
- package/dist/module/new-payment-method.js +5 -4
- package/dist/module/owner-form.js +29 -13
- package/dist/module/payload-parsers.js +11 -1
- package/dist/module/payment-details-core2.js +1 -1
- package/dist/module/payment-method-form.js +1 -1
- package/dist/module/payment-method-options.js +34 -12
- package/dist/module/payments-list-core2.js +1 -1
- package/dist/module/payout-details-core2.js +1 -1
- package/dist/module/payouts-list-core2.js +1 -1
- package/dist/module/saved-payment-method.js +4 -4
- package/dist/module/select-input2.js +1 -1
- package/dist/module/sezzel-payment-method.js +99 -0
- package/dist/module/subaccount-merchant-details2.js +3 -3
- package/dist/module/text-input2.js +1 -1
- package/dist/module/utils2.js +1 -7
- package/dist/types/api/Business.d.ts +0 -19
- package/dist/types/api/Checkout.d.ts +63 -2
- package/dist/types/api/Identity.d.ts +2 -0
- package/dist/types/api/Payment.d.ts +2 -1
- package/dist/types/api/SubAccount.d.ts +0 -2
- package/dist/types/api/services/checkout.service.d.ts +8 -2
- package/dist/types/components/business-forms/business-form/business-form.d.ts +5 -0
- package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +3 -3
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +4 -2
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning.d.ts +3 -0
- package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +2 -2
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +4 -8
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +2 -6
- package/dist/types/components/business-forms/schemas/schema-helpers.d.ts +6 -0
- package/dist/types/components/business-forms/utils/business-form-types.d.ts +5 -0
- package/dist/types/components/business-forms/utils/helpers.d.ts +8 -2
- package/dist/types/components/checkout/checkout-actions.d.ts +3 -3
- package/dist/types/components/checkout/checkout-core.d.ts +5 -4
- package/dist/types/components/checkout/checkout.d.ts +1 -1
- package/dist/types/components/checkout/new-payment-method.d.ts +2 -1
- package/dist/types/components/checkout/payment-method-options.d.ts +5 -1
- package/dist/types/components/checkout/payment-method-payload.d.ts +8 -0
- package/dist/types/components/checkout/saved-payment-method.d.ts +2 -1
- package/dist/types/components/checkout/sezzel-payment-method.d.ts +23 -0
- package/dist/types/components/form/form-control-date.d.ts +18 -0
- package/dist/types/components.d.ts +112 -9
- package/dist/types/utils/utils.d.ts +0 -1
- package/dist/webcomponents/p-02fa533c.js +1 -0
- package/dist/webcomponents/p-0315876e.entry.js +1 -0
- package/dist/webcomponents/{p-28cd23c8.entry.js → p-0c269feb.entry.js} +1 -1
- package/dist/webcomponents/{p-0b76c770.entry.js → p-0eb56b44.entry.js} +1 -1
- package/dist/webcomponents/{p-436d27b9.entry.js → p-0eb77101.entry.js} +1 -1
- package/dist/webcomponents/p-1334f776.entry.js +1 -0
- package/dist/webcomponents/p-19001cc5.entry.js +1 -0
- package/dist/webcomponents/p-2319abaf.entry.js +1 -0
- package/dist/webcomponents/p-26fe62d6.entry.js +1 -0
- package/dist/webcomponents/p-28b38699.js +1 -0
- package/dist/webcomponents/{p-4df6174c.entry.js → p-29376518.entry.js} +1 -1
- package/dist/webcomponents/p-2bee72bd.entry.js +1 -0
- package/dist/webcomponents/p-3302bc76.js +1 -0
- package/dist/webcomponents/p-3adc0688.entry.js +1 -0
- package/dist/webcomponents/p-3fe05c4a.entry.js +1 -0
- package/dist/webcomponents/p-41b1ad3a.entry.js +1 -0
- package/dist/webcomponents/{p-7c6a355f.entry.js → p-4616768c.entry.js} +1 -1
- package/dist/webcomponents/p-56780f10.entry.js +1 -0
- package/dist/webcomponents/p-5c269619.js +1 -0
- package/dist/webcomponents/p-5ff7826e.entry.js +1 -0
- package/dist/webcomponents/{p-8482c23f.js → p-65510838.js} +1 -1
- package/dist/webcomponents/{p-4d50d08a.entry.js → p-7d8d2984.entry.js} +1 -1
- package/dist/webcomponents/p-7da249b8.entry.js +1 -0
- package/dist/webcomponents/p-84b9ffc9.entry.js +1 -0
- package/dist/webcomponents/{p-07b326d0.entry.js → p-8657128b.entry.js} +1 -1
- package/dist/webcomponents/p-8abba4c2.entry.js +1 -0
- package/dist/webcomponents/p-8c9d9812.entry.js +1 -0
- package/dist/webcomponents/p-910bb656.js +1 -0
- package/dist/webcomponents/p-9245777b.js +1 -0
- package/dist/webcomponents/{p-221b9504.entry.js → p-927150b4.entry.js} +1 -1
- package/dist/webcomponents/p-96cebc8b.entry.js +1 -0
- package/dist/webcomponents/p-99d6b67e.entry.js +1 -0
- package/dist/webcomponents/p-9e3f9e05.entry.js +1 -0
- package/dist/webcomponents/{p-688bb5da.js → p-9ee8ad4d.js} +1 -1
- package/dist/webcomponents/{p-a46174e0.entry.js → p-9f3facf1.entry.js} +1 -1
- package/dist/webcomponents/p-9f529959.entry.js +1 -0
- package/dist/webcomponents/{p-fb49ef28.entry.js → p-a6f170ba.entry.js} +1 -1
- package/dist/webcomponents/{p-c071d8c1.entry.js → p-a8caec98.entry.js} +1 -1
- package/dist/webcomponents/p-a90f7ca0.js +1 -0
- package/dist/webcomponents/{p-d776fe10.entry.js → p-abc03d5a.entry.js} +1 -1
- package/dist/webcomponents/p-b318b899.js +1 -0
- package/dist/webcomponents/{p-1bfadb9f.entry.js → p-c1b92cec.entry.js} +1 -1
- package/dist/webcomponents/p-c556deda.entry.js +1 -0
- package/dist/webcomponents/{p-3d4aaa4a.entry.js → p-c6e207f6.entry.js} +1 -1
- package/dist/webcomponents/{p-b68f1dd9.entry.js → p-cdfde1ca.entry.js} +1 -1
- package/dist/webcomponents/{p-746bfba6.entry.js → p-d69a485a.entry.js} +1 -1
- package/dist/webcomponents/p-e2ba8d84.entry.js +1 -0
- package/dist/webcomponents/{p-ebf7c70f.entry.js → p-e4342f49.entry.js} +1 -1
- package/dist/webcomponents/{p-ea2cca2a.js → p-ed72a5cc.js} +1 -1
- package/dist/webcomponents/{p-6b51cf97.entry.js → p-f0698778.entry.js} +1 -1
- package/dist/webcomponents/p-f4ae621e.entry.js +1 -0
- package/dist/webcomponents/{p-ae21ed6f.entry.js → p-f76283a5.entry.js} +1 -1
- package/dist/webcomponents/p-fce2b224.entry.js +1 -0
- package/dist/webcomponents/p-fd60d5af.js +1 -0
- package/dist/webcomponents/p-ff211f76.js +1 -0
- package/dist/webcomponents/webcomponents.css +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/business-additional-questions-schema-18a82d19.js +0 -47
- package/dist/cjs/business-form-select-options-7ccd8dca.js +0 -85
- package/dist/collection/components/business-forms/utils/business-form-select-options.js +0 -80
- package/dist/esm/business-additional-questions-schema-b642a2b7.js +0 -44
- package/dist/esm/business-form-select-options-6b9293fe.js +0 -82
- package/dist/module/business-form-select-options.js +0 -82
- package/dist/types/components/business-forms/utils/business-form-select-options.d.ts +0 -11
- package/dist/webcomponents/p-091f9732.entry.js +0 -1
- package/dist/webcomponents/p-0923e39c.js +0 -1
- package/dist/webcomponents/p-0d81883d.entry.js +0 -1
- package/dist/webcomponents/p-102b593a.entry.js +0 -1
- package/dist/webcomponents/p-2b8368d2.js +0 -1
- package/dist/webcomponents/p-2df32b4a.entry.js +0 -1
- package/dist/webcomponents/p-34352d04.js +0 -1
- package/dist/webcomponents/p-448063ba.entry.js +0 -1
- package/dist/webcomponents/p-5341321d.entry.js +0 -1
- package/dist/webcomponents/p-5b262705.entry.js +0 -1
- package/dist/webcomponents/p-5e503d7d.entry.js +0 -1
- package/dist/webcomponents/p-6047b960.entry.js +0 -1
- package/dist/webcomponents/p-60b2344a.js +0 -1
- package/dist/webcomponents/p-63296409.js +0 -1
- package/dist/webcomponents/p-6d39b8bc.entry.js +0 -1
- package/dist/webcomponents/p-7294eb89.entry.js +0 -1
- package/dist/webcomponents/p-7b2cddc7.js +0 -1
- package/dist/webcomponents/p-817211f2.entry.js +0 -1
- package/dist/webcomponents/p-935d6f55.js +0 -1
- package/dist/webcomponents/p-959250e3.entry.js +0 -1
- package/dist/webcomponents/p-975ab96e.js +0 -1
- package/dist/webcomponents/p-9b99370e.js +0 -1
- package/dist/webcomponents/p-a130a884.entry.js +0 -1
- package/dist/webcomponents/p-a4122c35.entry.js +0 -1
- package/dist/webcomponents/p-ac670a3e.js +0 -1
- package/dist/webcomponents/p-c340b60f.js +0 -1
- package/dist/webcomponents/p-d5aab6b5.entry.js +0 -1
- package/dist/webcomponents/p-d5c80489.entry.js +0 -1
- package/dist/webcomponents/p-d8679fad.entry.js +0 -1
- package/dist/webcomponents/p-da34bba7.entry.js +0 -1
- package/dist/webcomponents/p-e84b3616.entry.js +0 -1
- package/dist/webcomponents/p-ea03b424.entry.js +0 -1
- package/dist/webcomponents/p-ec230480.entry.js +0 -1
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { Host, h, } from "@stencil/core";
|
|
2
|
+
export class DateInput {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.handleFormControlInput = (event) => {
|
|
5
|
+
const target = event.target;
|
|
6
|
+
const name = target.getAttribute('name');
|
|
7
|
+
this.inputHandler(name, target.value);
|
|
8
|
+
this.formControlInput.emit(target.value);
|
|
9
|
+
};
|
|
10
|
+
this.label = undefined;
|
|
11
|
+
this.name = undefined;
|
|
12
|
+
this.error = undefined;
|
|
13
|
+
this.defaultValue = undefined;
|
|
14
|
+
this.inputHandler = undefined;
|
|
15
|
+
this.disabled = undefined;
|
|
16
|
+
this.date = undefined;
|
|
17
|
+
}
|
|
18
|
+
updateInput(value) {
|
|
19
|
+
this.dateInput.value = value;
|
|
20
|
+
}
|
|
21
|
+
componentDidLoad() {
|
|
22
|
+
this.updateInput(this.defaultValue);
|
|
23
|
+
}
|
|
24
|
+
handleDefaultValueChange(newValue) {
|
|
25
|
+
this.updateInput(newValue);
|
|
26
|
+
}
|
|
27
|
+
render() {
|
|
28
|
+
return (h(Host, { exportparts: "label,input,input-invalid" }, h("label", { part: "label", class: "form-label", htmlFor: this.name }, this.label), h("input", { type: "date", ref: el => (this.dateInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onChange: this.handleFormControlInput, part: `input ${this.error && 'input-invalid'}`, class: this.error ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), this.error && h("div", { class: "invalid-feedback" }, this.error)));
|
|
29
|
+
}
|
|
30
|
+
static get is() { return "form-control-date"; }
|
|
31
|
+
static get encapsulation() { return "shadow"; }
|
|
32
|
+
static get originalStyleUrls() {
|
|
33
|
+
return {
|
|
34
|
+
"$": ["form-control-date.scss"]
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
static get styleUrls() {
|
|
38
|
+
return {
|
|
39
|
+
"$": ["form-control-date.css"]
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
static get properties() {
|
|
43
|
+
return {
|
|
44
|
+
"label": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"mutable": false,
|
|
47
|
+
"complexType": {
|
|
48
|
+
"original": "string",
|
|
49
|
+
"resolved": "string",
|
|
50
|
+
"references": {}
|
|
51
|
+
},
|
|
52
|
+
"required": false,
|
|
53
|
+
"optional": false,
|
|
54
|
+
"docs": {
|
|
55
|
+
"tags": [],
|
|
56
|
+
"text": ""
|
|
57
|
+
},
|
|
58
|
+
"attribute": "label",
|
|
59
|
+
"reflect": false
|
|
60
|
+
},
|
|
61
|
+
"name": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"mutable": false,
|
|
64
|
+
"complexType": {
|
|
65
|
+
"original": "string",
|
|
66
|
+
"resolved": "string",
|
|
67
|
+
"references": {}
|
|
68
|
+
},
|
|
69
|
+
"required": false,
|
|
70
|
+
"optional": false,
|
|
71
|
+
"docs": {
|
|
72
|
+
"tags": [],
|
|
73
|
+
"text": ""
|
|
74
|
+
},
|
|
75
|
+
"attribute": "name",
|
|
76
|
+
"reflect": false
|
|
77
|
+
},
|
|
78
|
+
"error": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"mutable": false,
|
|
81
|
+
"complexType": {
|
|
82
|
+
"original": "string",
|
|
83
|
+
"resolved": "string",
|
|
84
|
+
"references": {}
|
|
85
|
+
},
|
|
86
|
+
"required": false,
|
|
87
|
+
"optional": false,
|
|
88
|
+
"docs": {
|
|
89
|
+
"tags": [],
|
|
90
|
+
"text": ""
|
|
91
|
+
},
|
|
92
|
+
"attribute": "error",
|
|
93
|
+
"reflect": false
|
|
94
|
+
},
|
|
95
|
+
"defaultValue": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"mutable": false,
|
|
98
|
+
"complexType": {
|
|
99
|
+
"original": "string",
|
|
100
|
+
"resolved": "string",
|
|
101
|
+
"references": {}
|
|
102
|
+
},
|
|
103
|
+
"required": false,
|
|
104
|
+
"optional": false,
|
|
105
|
+
"docs": {
|
|
106
|
+
"tags": [],
|
|
107
|
+
"text": ""
|
|
108
|
+
},
|
|
109
|
+
"attribute": "default-value",
|
|
110
|
+
"reflect": false
|
|
111
|
+
},
|
|
112
|
+
"inputHandler": {
|
|
113
|
+
"type": "any",
|
|
114
|
+
"mutable": false,
|
|
115
|
+
"complexType": {
|
|
116
|
+
"original": "any",
|
|
117
|
+
"resolved": "any",
|
|
118
|
+
"references": {}
|
|
119
|
+
},
|
|
120
|
+
"required": false,
|
|
121
|
+
"optional": false,
|
|
122
|
+
"docs": {
|
|
123
|
+
"tags": [],
|
|
124
|
+
"text": ""
|
|
125
|
+
},
|
|
126
|
+
"attribute": "input-handler",
|
|
127
|
+
"reflect": false
|
|
128
|
+
},
|
|
129
|
+
"disabled": {
|
|
130
|
+
"type": "boolean",
|
|
131
|
+
"mutable": false,
|
|
132
|
+
"complexType": {
|
|
133
|
+
"original": "boolean",
|
|
134
|
+
"resolved": "boolean",
|
|
135
|
+
"references": {}
|
|
136
|
+
},
|
|
137
|
+
"required": false,
|
|
138
|
+
"optional": false,
|
|
139
|
+
"docs": {
|
|
140
|
+
"tags": [],
|
|
141
|
+
"text": ""
|
|
142
|
+
},
|
|
143
|
+
"attribute": "disabled",
|
|
144
|
+
"reflect": false
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
static get states() {
|
|
149
|
+
return {
|
|
150
|
+
"date": {}
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
static get events() {
|
|
154
|
+
return [{
|
|
155
|
+
"method": "formControlInput",
|
|
156
|
+
"name": "formControlInput",
|
|
157
|
+
"bubbles": true,
|
|
158
|
+
"cancelable": true,
|
|
159
|
+
"composed": true,
|
|
160
|
+
"docs": {
|
|
161
|
+
"tags": [],
|
|
162
|
+
"text": ""
|
|
163
|
+
},
|
|
164
|
+
"complexType": {
|
|
165
|
+
"original": "any",
|
|
166
|
+
"resolved": "any",
|
|
167
|
+
"references": {}
|
|
168
|
+
}
|
|
169
|
+
}, {
|
|
170
|
+
"method": "formControlBlur",
|
|
171
|
+
"name": "formControlBlur",
|
|
172
|
+
"bubbles": true,
|
|
173
|
+
"cancelable": true,
|
|
174
|
+
"composed": true,
|
|
175
|
+
"docs": {
|
|
176
|
+
"tags": [],
|
|
177
|
+
"text": ""
|
|
178
|
+
},
|
|
179
|
+
"complexType": {
|
|
180
|
+
"original": "any",
|
|
181
|
+
"resolved": "any",
|
|
182
|
+
"references": {}
|
|
183
|
+
}
|
|
184
|
+
}];
|
|
185
|
+
}
|
|
186
|
+
static get watchers() {
|
|
187
|
+
return [{
|
|
188
|
+
"propName": "defaultValue",
|
|
189
|
+
"methodName": "handleDefaultValueChange"
|
|
190
|
+
}];
|
|
191
|
+
}
|
|
192
|
+
}
|
|
@@ -34,7 +34,7 @@ export class PaymentMethodSelector {
|
|
|
34
34
|
"mutable": false,
|
|
35
35
|
"complexType": {
|
|
36
36
|
"original": "PaymentMethodTypes",
|
|
37
|
-
"resolved": "PaymentMethodTypes.bankAccount | PaymentMethodTypes.card",
|
|
37
|
+
"resolved": "PaymentMethodTypes.bankAccount | PaymentMethodTypes.card | PaymentMethodTypes.sezzel",
|
|
38
38
|
"references": {
|
|
39
39
|
"PaymentMethodTypes": {
|
|
40
40
|
"location": "import",
|
|
@@ -98,7 +98,7 @@ export class PaymentMethodForm {
|
|
|
98
98
|
"mutable": false,
|
|
99
99
|
"complexType": {
|
|
100
100
|
"original": "PaymentMethodTypes",
|
|
101
|
-
"resolved": "PaymentMethodTypes.bankAccount | PaymentMethodTypes.card",
|
|
101
|
+
"resolved": "PaymentMethodTypes.bankAccount | PaymentMethodTypes.card | PaymentMethodTypes.sezzel",
|
|
102
102
|
"references": {
|
|
103
103
|
"PaymentMethodTypes": {
|
|
104
104
|
"location": "import",
|
|
@@ -14,7 +14,7 @@ export class SelectInput {
|
|
|
14
14
|
this.fieldReceivedInput.emit({ name: name, value: target.value });
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { exportparts: "label,input,input-invalid" }, h("label", { part: "label", class: "form-label" }, this.label), h("select", { name: this.name, onInput: event => this.onInput(event), part: `input${this.error ? ' input-invalid' : ''}`, class: this.error ? 'form-select is-invalid' : 'form-select' }, this.options.map(option => (h("option", { value: option.value }, option.label)))), this.error && h("div", { class: "invalid-feedback" }, this.error)));
|
|
17
|
+
return (h(Host, { exportparts: "label,input,input-invalid,invalid-feedback" }, h("label", { part: "label", class: "form-label" }, this.label), h("select", { name: this.name, onInput: event => this.onInput(event), part: `input${this.error ? ' input-invalid' : ''}`, class: this.error ? 'form-select is-invalid' : 'form-select' }, this.options.map(option => (h("option", { value: option.value }, option.label)))), this.error && h("div", { class: "invalid-feedback", part: "invalid-feedback" }, this.error)));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "select-input"; }
|
|
20
20
|
static get encapsulation() { return "shadow"; }
|
|
@@ -15,7 +15,7 @@ describe('select-input', () => {
|
|
|
15
15
|
];
|
|
16
16
|
await page.waitForChanges();
|
|
17
17
|
expect(page.root).toEqualHtml(`
|
|
18
|
-
<select-input exportparts="label,input,input-invalid">
|
|
18
|
+
<select-input exportparts="label,input,input-invalid,invalid-feedback">
|
|
19
19
|
<mock:shadow-root>
|
|
20
20
|
<label part="label" class="form-label"></label>
|
|
21
21
|
<select class="form-select" part="input">
|
|
@@ -38,7 +38,7 @@ describe('select-input', () => {
|
|
|
38
38
|
root.options = [{ label: 'Option 1', value: '1' }];
|
|
39
39
|
await page.waitForChanges();
|
|
40
40
|
expect(root).toEqualHtml(`
|
|
41
|
-
<select-input exportparts="label,input,input-invalid" label="Test Label" name="test">
|
|
41
|
+
<select-input exportparts="label,input,input-invalid,invalid-feedback" label="Test Label" name="test">
|
|
42
42
|
<mock:shadow-root>
|
|
43
43
|
<label part="label" class="form-label">Test Label</label>
|
|
44
44
|
<select class="form-select" name="test" part="input">
|
|
@@ -65,11 +65,11 @@ describe('select-input', () => {
|
|
|
65
65
|
page.root.error = 'Test Error';
|
|
66
66
|
await page.waitForChanges();
|
|
67
67
|
expect(page.root).toEqualHtml(`
|
|
68
|
-
<select-input exportparts="label,input,input-invalid">
|
|
68
|
+
<select-input exportparts="label,input,input-invalid,invalid-feedback">
|
|
69
69
|
<mock:shadow-root>
|
|
70
70
|
<label part="label" class="form-label"></label>
|
|
71
71
|
<select class="form-select is-invalid" part="input input-invalid"></select>
|
|
72
|
-
<div class="invalid-feedback">
|
|
72
|
+
<div class="invalid-feedback" part="invalid-feedback">
|
|
73
73
|
Test Error
|
|
74
74
|
</div>
|
|
75
75
|
</mock:shadow-root>
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
import { DetailItem, DetailSectionTitle } from "../../details/utils";
|
|
3
|
-
import { formatLegalAddress
|
|
3
|
+
import { formatLegalAddress } from "../../../utils/utils";
|
|
4
4
|
export class SubaccountMerchantDetails {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.onboardingData = undefined;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x
|
|
10
|
-
return (h(Host, null, h("div", { class: 'p-2' }, h(DetailSectionTitle, { sectionTitle: 'Merchant Details' }), h("div", { class: "d-table gap-2 w-100" }, h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: 'Doing Business As', value: (_d = (_c = (_b = (_a = this.onboardingData) === null || _a === void 0 ? void 0 : _a.payload) === null || _b === void 0 ? void 0 : _b.business_details) === null || _c === void 0 ? void 0 : _c.doing_business_as) === null || _d === void 0 ? void 0 : _d.name }), h(DetailItem, { title: 'Website', value: (_g = (_f = (_e = this.onboardingData) === null || _e === void 0 ? void 0 : _e.payload) === null || _f === void 0 ? void 0 : _f.business_details) === null || _g === void 0 ? void 0 : _g.url }), h(DetailItem, { title: 'Business Email', value: (_k = (_j = (_h = this.onboardingData) === null || _h === void 0 ? void 0 : _h.payload) === null || _j === void 0 ? void 0 : _j.business_details) === null || _k === void 0 ? void 0 : _k.email }), h(DetailItem, { title: 'Phone Number', value: (_o = (_m = (_l = this.onboardingData) === null || _l === void 0 ? void 0 : _l.payload) === null || _m === void 0 ? void 0 : _m.business_details) === null || _o === void 0 ? void 0 : _o.phone }), h(DetailItem, { title: 'Address', value: ((_r = (_q = (_p = this.onboardingData) === null || _p === void 0 ? void 0 : _p.payload) === null || _q === void 0 ? void 0 : _q.business_details) === null || _r === void 0 ? void 0 : _r.legal) ? `${formatLegalAddress((_u = (_t = (_s = this.onboardingData) === null || _s === void 0 ? void 0 : _s.payload) === null || _t === void 0 ? void 0 : _t.business_details) === null || _u === void 0 ? void 0 : _u.legal)}` : '' })), h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: 'Business
|
|
9
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
|
|
10
|
+
return (h(Host, null, h("div", { class: 'p-2' }, h(DetailSectionTitle, { sectionTitle: 'Merchant Details' }), h("div", { class: "d-table gap-2 w-100" }, h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: 'Doing Business As', value: (_d = (_c = (_b = (_a = this.onboardingData) === null || _a === void 0 ? void 0 : _a.payload) === null || _b === void 0 ? void 0 : _b.business_details) === null || _c === void 0 ? void 0 : _c.doing_business_as) === null || _d === void 0 ? void 0 : _d.name }), h(DetailItem, { title: 'Website', value: (_g = (_f = (_e = this.onboardingData) === null || _e === void 0 ? void 0 : _e.payload) === null || _f === void 0 ? void 0 : _f.business_details) === null || _g === void 0 ? void 0 : _g.url }), h(DetailItem, { title: 'Business Email', value: (_k = (_j = (_h = this.onboardingData) === null || _h === void 0 ? void 0 : _h.payload) === null || _j === void 0 ? void 0 : _j.business_details) === null || _k === void 0 ? void 0 : _k.email }), h(DetailItem, { title: 'Phone Number', value: (_o = (_m = (_l = this.onboardingData) === null || _l === void 0 ? void 0 : _l.payload) === null || _m === void 0 ? void 0 : _m.business_details) === null || _o === void 0 ? void 0 : _o.phone }), h(DetailItem, { title: 'Address', value: ((_r = (_q = (_p = this.onboardingData) === null || _p === void 0 ? void 0 : _p.payload) === null || _q === void 0 ? void 0 : _q.business_details) === null || _r === void 0 ? void 0 : _r.legal) ? `${formatLegalAddress((_u = (_t = (_s = this.onboardingData) === null || _s === void 0 ? void 0 : _s.payload) === null || _t === void 0 ? void 0 : _t.business_details) === null || _u === void 0 ? void 0 : _u.legal)}` : '' })), h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: 'Business Type', value: (_x = (_w = (_v = this.onboardingData) === null || _v === void 0 ? void 0 : _v.payload) === null || _w === void 0 ? void 0 : _w.business_details) === null || _x === void 0 ? void 0 : _x.type })))))));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "subaccount-merchant-details"; }
|
|
13
13
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,7 +7,7 @@ describe('text-input', () => {
|
|
|
7
7
|
html: `<text-input></text-input>`,
|
|
8
8
|
});
|
|
9
9
|
expect(page.root).toEqualHtml(`
|
|
10
|
-
<text-input exportparts="label,input,input-invalid">
|
|
10
|
+
<text-input exportparts="label,input,input-invalid,invalid-feedback">
|
|
11
11
|
<mock:shadow-root>
|
|
12
12
|
<label class="form-label" part="label"></label>
|
|
13
13
|
<input class="form-control" part="input" type="text">
|
|
@@ -21,7 +21,7 @@ describe('text-input', () => {
|
|
|
21
21
|
html: `<text-input name="test" label="Test" default-value="Hello"></text-input>`,
|
|
22
22
|
});
|
|
23
23
|
expect(page.root).toEqualHtml(`
|
|
24
|
-
<text-input name="test" label="Test" default-value="Hello" exportparts="label,input,input-invalid">
|
|
24
|
+
<text-input name="test" label="Test" default-value="Hello" exportparts="label,input,input-invalid,invalid-feedback">
|
|
25
25
|
<mock:shadow-root>
|
|
26
26
|
<label class="form-label" part="label">Test</label>
|
|
27
27
|
<input class="form-control" name="test" part="input" type="text" value="Hello">
|
|
@@ -35,11 +35,11 @@ describe('text-input', () => {
|
|
|
35
35
|
html: `<text-input error="Something went wrong"></text-input>`,
|
|
36
36
|
});
|
|
37
37
|
expect(page.root).toEqualHtml(`
|
|
38
|
-
<text-input error="Something went wrong" exportparts="label,input,input-invalid">
|
|
38
|
+
<text-input error="Something went wrong" exportparts="label,input,input-invalid,invalid-feedback">
|
|
39
39
|
<mock:shadow-root>
|
|
40
40
|
<label class="form-label" part="label"></label>
|
|
41
41
|
<input class="form-control is-invalid" part="input input-invalid" type="text">
|
|
42
|
-
<div class="invalid-feedback">Something went wrong</div>
|
|
42
|
+
<div class="invalid-feedback" part="invalid-feedback">Something went wrong</div>
|
|
43
43
|
</mock:shadow-root>
|
|
44
44
|
</text-input>
|
|
45
45
|
`);
|
|
@@ -13,7 +13,7 @@ export class TextInput {
|
|
|
13
13
|
this.fieldReceivedInput.emit({ name: name, value: target.value });
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { exportparts: "label,input,input-invalid" }, h("label", { part: "label", class: "form-label" }, this.label), h("input", { name: this.name, type: "text", onInput: event => this.onInput(event), value: this.internalValue || this.defaultValue, part: `input${this.error ? ' input-invalid' : ''}`, class: this.error ? 'form-control is-invalid' : 'form-control' }), this.error && h("div", { class: "invalid-feedback" }, this.error)));
|
|
16
|
+
return (h(Host, { exportparts: "label,input,input-invalid,invalid-feedback" }, h("label", { part: "label", class: "form-label" }, this.label), h("input", { name: this.name, type: "text", onInput: event => this.onInput(event), value: this.internalValue || this.defaultValue, part: `input${this.error ? ' input-invalid' : ''}`, class: this.error ? 'form-control is-invalid' : 'form-control' }), this.error && h("div", { class: "invalid-feedback", part: "invalid-feedback" }, this.error)));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "text-input"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { format } from "date-fns";
|
|
2
2
|
import Dinero from "dinero.js";
|
|
3
|
-
import StateOptions from "./state-options";
|
|
4
3
|
export const RegExZip = /^\d{5}/;
|
|
5
4
|
export function formatCurrency(amount, withSymbol = true) {
|
|
6
5
|
if (!amount)
|
|
@@ -204,7 +203,3 @@ export async function loadFontsOnParent() {
|
|
|
204
203
|
export function isEmptyObject(obj) {
|
|
205
204
|
return Object.keys(obj).length === 0 && obj.constructor === Object;
|
|
206
205
|
}
|
|
207
|
-
export function getStateAbbreviation(stateName) {
|
|
208
|
-
const state = StateOptions.find(s => s.label === stateName);
|
|
209
|
-
return state ? state.value : stateName;
|
|
210
|
-
}
|