@justifi/webcomponents 4.9.0 → 4.10.0-rc.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-64dffab7.js → Business-79361c8a.js} +1 -0
- package/dist/cjs/Identity-b6364aee.js +27 -0
- package/dist/cjs/{SubAccount-f8144025.js → SubAccount-b3902202.js} +1 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
- package/dist/cjs/business-additional-questions-schema-cbac27f2.js +26 -0
- package/dist/cjs/business-details-core.cjs.entry.js +2 -2
- package/dist/cjs/business-form-select-options-7ccd8dca.js +85 -0
- package/dist/cjs/business-form-types-3cdd5447.js +19 -0
- package/dist/cjs/form-control-datepart_3.cjs.entry.js +32 -46
- package/dist/cjs/form-control-monetary.cjs.entry.js +1 -1
- package/dist/cjs/{form-control-select_2.cjs.entry.js → form-control-number_3.cjs.entry.js} +44 -1
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -3
- package/dist/cjs/{index-07ddbad2.js → index-69b9386b.js} +57 -0
- package/dist/cjs/justifi-additional-questions-form-step_5.cjs.entry.js +505 -0
- package/dist/cjs/{justifi-additional-questions_5.cjs.entry.js → justifi-additional-questions_4.cjs.entry.js} +12 -42
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-billing-form_4.cjs.entry.js +5 -13
- package/dist/cjs/justifi-business-address-form-step.cjs.entry.js +35 -0
- package/dist/cjs/justifi-business-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-business-form-stepped.cjs.entry.js +36 -90
- package/dist/cjs/justifi-business-form.cjs.entry.js +16 -15
- package/dist/cjs/justifi-business-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-business-owners.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/justifi-owner-form.cjs.entry.js +160 -0
- package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payments-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payout-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-proceeds-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-refund-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-subaccount-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-table_2.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/payload-parsers-25ed3936.js +98 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +3 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +2 -2
- package/dist/cjs/subaccount-account-details_4.cjs.entry.js +3 -3
- 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-5c3e442d.js → utils-23e70ef2.js} +1 -1
- package/dist/cjs/{utils-84208d99.js → utils-6f62f7a1.js} +18 -0
- package/dist/cjs/utils-df5167a8.js +13 -0
- package/dist/cjs/webcomponents.cjs.js +2 -2
- package/dist/collection/api/Identity.js +43 -0
- package/dist/collection/collection-manifest.json +15 -8
- package/dist/collection/components/billing-form/billing-form-schema.js +1 -1
- package/dist/collection/components/business-details/owner-details/owner-details.js +2 -2
- package/dist/collection/components/business-details/representative-details/representative-details.js +2 -2
- package/dist/collection/components/{business-form → business-forms/business-form}/additional-questions/additional-questions.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-address/business-address-form.css +2536 -0
- package/dist/collection/components/{business-form → business-forms/business-form}/business-address/business-address-form.js +4 -4
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.css +2493 -0
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +77 -0
- package/dist/collection/components/{business-form → business-forms/business-form}/business-form.js +32 -24
- package/dist/collection/components/business-forms/business-form/business-owners/business-owners.css +7779 -0
- package/dist/collection/components/{business-form → business-forms/business-form}/business-owners/business-owners.js +2 -2
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.css +2493 -0
- package/dist/collection/components/{business-form → business-forms/business-form}/business-representative/business-representative.js +3 -3
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.css +2493 -0
- package/dist/collection/components/{business-form → business-forms/business-form}/legal-address-form/legal-address-form.js +1 -1
- package/dist/collection/components/business-forms/business-form-stepped/additional-questions/business-additional-questions-form-step.js +218 -0
- package/dist/collection/components/business-forms/business-form-stepped/additional-questions/test/business-additional-questions-form-step.spec.js +97 -0
- package/dist/collection/components/business-forms/business-form-stepped/business-address/business-address-form-step.js +97 -0
- package/dist/collection/components/business-forms/business-form-stepped/business-address/test/business-address-form-step.spec.js +97 -0
- package/dist/collection/components/business-forms/business-form-stepped/business-core-info/business-core-info-form-step.js +239 -0
- package/dist/collection/components/business-forms/business-form-stepped/business-core-info/test/business-core-info-form-step.spec.js +97 -0
- package/dist/collection/components/{business-form → business-forms/business-form-stepped}/business-form-stepped.css +105 -0
- package/dist/collection/components/business-forms/business-form-stepped/business-form-stepped.js +199 -0
- package/dist/collection/components/business-forms/business-form-stepped/business-owners/business-owners-form-step.js +284 -0
- package/dist/collection/components/business-forms/business-form-stepped/business-owners/test/business-owners-form-step.spec.js +97 -0
- package/dist/collection/components/business-forms/business-form-stepped/business-representative/business-representative-form-step.js +230 -0
- package/dist/collection/components/business-forms/business-form-stepped/business-representative/test/business-representative-form-step.spec.js +97 -0
- package/dist/collection/components/business-forms/business-form-stepped/legal-address-form/legal-address-form-step.js +232 -0
- package/dist/collection/components/business-forms/business-form-stepped/test/business-form-stepped.spec.js +61 -0
- package/dist/collection/components/business-forms/owner-form/owner-form.css +7779 -0
- package/dist/collection/components/business-forms/owner-form/owner-form.js +367 -0
- package/dist/collection/components/business-forms/schemas/business-additional-questions-schema.js +7 -0
- package/dist/collection/components/business-forms/schemas/business-address-schema.js +15 -0
- package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +13 -0
- package/dist/collection/components/business-forms/schemas/business-form-schema.js +6 -0
- package/dist/collection/components/business-forms/schemas/business-identity-schema.js +35 -0
- package/dist/collection/components/business-forms/schemas/business-owners-schema.js +16 -0
- package/dist/collection/components/business-forms/utils/business-form-select-options.js +80 -0
- package/dist/collection/components/business-forms/utils/business-form-types.js +17 -0
- package/dist/collection/components/business-forms/utils/payload-parsers.js +37 -0
- package/dist/collection/components/form/utils.js +1 -0
- package/dist/collection/utils/utils.js +16 -0
- package/dist/docs.json +1690 -300
- package/dist/esm/{Business-9921d35f.js → Business-1df362e0.js} +1 -1
- package/dist/esm/Identity-774788c0.js +25 -0
- package/dist/esm/{SubAccount-76f6d565.js → SubAccount-f4ae9809.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/business-additional-questions-schema-2cb80f70.js +23 -0
- package/dist/esm/business-details-core.entry.js +2 -2
- package/dist/esm/business-form-select-options-6b9293fe.js +82 -0
- package/dist/esm/business-form-types-de9f38cd.js +19 -0
- package/dist/esm/form-control-datepart_3.entry.js +32 -46
- package/dist/esm/form-control-monetary.entry.js +1 -1
- package/dist/esm/{form-control-select_2.entry.js → form-control-number_3.entry.js} +44 -2
- package/dist/esm/gross-payment-chart-core.entry.js +3 -3
- package/dist/esm/{index-fb5ca346.js → index-df86d9a2.js} +57 -0
- package/dist/esm/justifi-additional-questions-form-step_5.entry.js +497 -0
- package/dist/esm/{justifi-additional-questions_5.entry.js → justifi-additional-questions_4.entry.js} +12 -41
- package/dist/esm/justifi-bank-account-form.entry.js +1 -1
- package/dist/esm/justifi-billing-form_4.entry.js +4 -12
- package/dist/esm/justifi-business-address-form-step.entry.js +31 -0
- package/dist/esm/justifi-business-details.entry.js +3 -3
- package/dist/esm/justifi-business-form-stepped.entry.js +36 -90
- package/dist/esm/justifi-business-form.entry.js +15 -14
- package/dist/esm/justifi-business-list.entry.js +3 -3
- package/dist/esm/justifi-business-owners.entry.js +1 -1
- package/dist/esm/justifi-card-form.entry.js +1 -1
- package/dist/esm/justifi-checkout-core.entry.js +2 -2
- package/dist/esm/justifi-checkout.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/justifi-owner-form.entry.js +156 -0
- package/dist/esm/justifi-payment-balance-transactions.entry.js +2 -2
- package/dist/esm/justifi-payment-details.entry.js +2 -2
- package/dist/esm/justifi-payment-form.entry.js +2 -2
- package/dist/esm/justifi-payment-method-selector.entry.js +1 -1
- package/dist/esm/justifi-payments-list.entry.js +2 -2
- package/dist/esm/justifi-payout-details.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +2 -2
- package/dist/esm/justifi-proceeds-list.entry.js +2 -2
- package/dist/esm/justifi-refund-form.entry.js +1 -1
- package/dist/esm/justifi-subaccount-details.entry.js +4 -4
- package/dist/esm/justifi-subaccounts-list.entry.js +3 -3
- package/dist/esm/justifi-table_2.entry.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/payload-parsers-1dd7474f.js +90 -0
- package/dist/esm/payment-details-core.entry.js +3 -3
- package/dist/esm/payments-list-core.entry.js +2 -2
- package/dist/esm/payout-details-core.entry.js +3 -3
- package/dist/esm/payouts-list-core.entry.js +2 -2
- package/dist/esm/subaccount-account-details_4.entry.js +3 -3
- package/dist/esm/subaccount-bank-details.entry.js +2 -2
- package/dist/esm/subaccount-terms-details.entry.js +2 -2
- package/dist/esm/{utils-5193fcd7.js → utils-243abdb4.js} +17 -1
- package/dist/esm/utils-2828201a.js +10 -0
- package/dist/esm/{utils-a3e96d9f.js → utils-d01c5f3a.js} +1 -1
- package/dist/esm/webcomponents.js +3 -3
- package/dist/module/Business.js +1 -1
- package/dist/module/SubAccount.js +1 -1
- package/dist/module/billing-form.js +1 -1
- package/dist/module/business-additional-questions-form-step.js +120 -0
- package/dist/module/business-additional-questions-schema.js +10 -0
- package/dist/module/business-address-form.js +3 -3
- package/dist/module/business-address-schema.js +18 -0
- package/dist/module/business-core-info-form-step.js +141 -0
- package/dist/module/business-core-info-schema.js +16 -0
- package/dist/module/business-core-info.js +69 -0
- package/dist/module/business-form-select-options.js +82 -0
- package/dist/module/business-form-types.js +19 -0
- package/dist/module/business-identity-schema.js +38 -0
- package/dist/{webcomponents/p-3bae0ed3.entry.js → module/business-owners-form-step.js} +213 -1
- package/dist/module/business-representative-form-step.js +157 -0
- package/dist/module/business-representative.js +1 -1
- package/dist/module/checkout-core.js +1 -1
- package/dist/module/justifi-additional-questions-form-step.d.ts +11 -0
- package/dist/module/justifi-additional-questions-form-step.js +6 -0
- package/dist/module/justifi-business-address-form-step.d.ts +11 -0
- package/dist/module/justifi-business-address-form-step.js +75 -0
- package/dist/module/justifi-business-core-info-form-step.d.ts +11 -0
- package/dist/module/justifi-business-core-info-form-step.js +6 -0
- package/dist/module/justifi-business-core-info.d.ts +11 -0
- package/dist/module/justifi-business-core-info.js +6 -0
- package/dist/module/justifi-business-form-stepped.js +72 -113
- package/dist/module/justifi-business-form.js +19 -14
- package/dist/module/justifi-business-list.js +1 -1
- package/dist/module/justifi-business-owners-form-step.d.ts +11 -0
- package/dist/module/justifi-business-owners-form-step.js +6 -0
- package/dist/module/justifi-business-representative-form-step.d.ts +11 -0
- package/dist/module/justifi-business-representative-form-step.js +6 -0
- package/dist/module/justifi-legal-address-form-step.d.ts +11 -0
- package/dist/module/justifi-legal-address-form-step.js +6 -0
- package/dist/module/justifi-owner-form.d.ts +11 -0
- package/dist/module/justifi-owner-form.js +6 -0
- package/dist/module/justifi-payment-balance-transactions.js +1 -1
- package/dist/module/justifi-proceeds-list.js +1 -1
- 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 +136 -0
- package/dist/module/owner-form.js +244 -0
- package/dist/module/payload-parsers.js +39 -0
- package/dist/module/payment-details-core2.js +1 -1
- package/dist/module/payment-method-form.js +2 -9
- 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/subaccount-merchant-details2.js +1 -1
- package/dist/module/utils2.js +17 -1
- package/dist/module/utils4.js +10 -0
- package/dist/types/api/Business.d.ts +1 -18
- package/dist/types/api/Identity.d.ts +60 -0
- package/dist/types/components/billing-form/billing-form-schema.d.ts +0 -1
- package/dist/types/components/business-details/owner-details/owner-details.d.ts +1 -1
- package/dist/types/components/business-details/representative-details/representative-details.d.ts +1 -1
- package/dist/types/components/{business-form → business-forms/business-form}/additional-questions/additional-questions.d.ts +1 -1
- package/dist/types/components/{business-form → business-forms/business-form}/business-address/business-address-form.d.ts +1 -1
- package/dist/types/components/{business-form/business-generic-info/business-generic-info.d.ts → business-forms/business-form/business-core-info/business-core-info.d.ts} +5 -5
- package/dist/types/components/{business-form → business-forms/business-form}/business-form.d.ts +5 -10
- package/dist/types/components/{business-form → business-forms/business-form}/business-owners/business-owners.d.ts +1 -1
- package/dist/types/components/{business-form → business-forms/business-form}/business-representative/business-representative.d.ts +1 -1
- package/dist/types/components/{business-form → business-forms/business-form}/legal-address-form/legal-address-form.d.ts +2 -2
- package/dist/types/components/business-forms/business-form-stepped/additional-questions/business-additional-questions-form-step.d.ts +30 -0
- package/dist/types/components/business-forms/business-form-stepped/business-address/business-address-form-step.d.ts +9 -0
- package/dist/types/components/business-forms/business-form-stepped/business-core-info/business-core-info-form-step.d.ts +36 -0
- package/dist/types/components/business-forms/business-form-stepped/business-form-stepped.d.ts +45 -0
- package/dist/types/components/business-forms/business-form-stepped/business-owners/business-owners-form-step.d.ts +36 -0
- package/dist/types/components/business-forms/business-form-stepped/business-representative/business-representative-form-step.d.ts +26 -0
- package/dist/types/components/business-forms/business-form-stepped/legal-address-form/legal-address-form-step.d.ts +31 -0
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +36 -0
- package/dist/types/components/business-forms/schemas/business-additional-questions-schema.d.ts +11 -0
- package/dist/types/components/{business-form/business-address/business-address-form-schema.d.ts → business-forms/schemas/business-address-schema.d.ts} +11 -8
- package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +19 -0
- package/dist/types/components/{business-form → business-forms/schemas}/business-form-schema.d.ts +2 -26
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +59 -0
- package/dist/types/components/business-forms/schemas/business-owners-schema.d.ts +33 -0
- package/dist/types/components/business-forms/utils/business-form-select-options.d.ts +11 -0
- package/dist/types/components/business-forms/utils/business-form-types.d.ts +39 -0
- package/dist/types/components/business-forms/utils/payload-parsers.d.ts +4 -0
- package/dist/types/components/form/form.d.ts +1 -1
- package/dist/types/components/form/utils.d.ts +1 -0
- package/dist/types/components.d.ts +409 -59
- package/dist/types/utils/utils.d.ts +2 -0
- package/dist/webcomponents/p-0399f02b.entry.js +1 -0
- package/dist/webcomponents/{p-4edd9721.js → p-04a98c63.js} +1 -1
- package/dist/webcomponents/p-06888c2e.entry.js +1 -0
- package/dist/webcomponents/{p-adc96df1.entry.js → p-07b326d0.entry.js} +1 -1
- package/dist/webcomponents/p-0811bc77.entry.js +1 -0
- package/dist/webcomponents/p-17d72f4a.js +1 -0
- package/dist/webcomponents/{p-babd292f.entry.js → p-17f64853.entry.js} +1 -1
- package/dist/webcomponents/{p-97c42345.entry.js → p-1bfadb9f.entry.js} +1 -1
- package/dist/webcomponents/p-22085999.entry.js +1 -0
- package/dist/webcomponents/{p-531844f6.entry.js → p-252835df.entry.js} +1 -1
- package/dist/webcomponents/{p-34f9fe6b.js → p-28b38699.js} +1 -1
- package/dist/webcomponents/{p-baafa7f5.js → p-34352d04.js} +1 -1
- package/dist/webcomponents/{p-79f99d62.entry.js → p-374c44e6.entry.js} +1 -1
- package/dist/webcomponents/{p-1bac1674.entry.js → p-4697ccfa.entry.js} +1 -1
- package/dist/webcomponents/p-4781cd06.js +1 -0
- package/dist/webcomponents/{p-dc05b5c5.entry.js → p-4d50d08a.entry.js} +1 -1
- package/dist/webcomponents/p-4d806131.entry.js +1 -0
- package/dist/webcomponents/{p-09b94d22.entry.js → p-4df6174c.entry.js} +1 -1
- package/dist/webcomponents/p-4e0b3206.entry.js +1 -0
- package/dist/webcomponents/p-583dd5a2.entry.js +1 -0
- package/dist/webcomponents/{p-c032b216.entry.js → p-5be4e217.entry.js} +1 -1
- package/dist/webcomponents/{p-018b71f5.entry.js → p-5da4fbe7.entry.js} +1 -1
- package/dist/webcomponents/{p-796cf44f.entry.js → p-6103c20d.entry.js} +1 -1
- package/dist/webcomponents/{p-bb037696.js → p-65510838.js} +1 -1
- package/dist/webcomponents/p-688bb5da.js +2 -0
- package/dist/webcomponents/{p-92a55427.entry.js → p-6b51cf97.entry.js} +1 -1
- package/dist/webcomponents/{p-72d1ad98.entry.js → p-7654c70d.entry.js} +1 -1
- package/dist/webcomponents/{p-f64a85cf.entry.js → p-847441ce.entry.js} +1 -1
- package/dist/webcomponents/p-861ba3fc.entry.js +1 -0
- package/dist/webcomponents/p-9207ccb2.entry.js +1 -0
- package/dist/webcomponents/p-975ab96e.js +1 -0
- package/dist/webcomponents/p-9ce8d98c.entry.js +1 -0
- package/dist/webcomponents/p-9e4b81ad.entry.js +1 -0
- package/dist/webcomponents/p-a141c531.js +1 -0
- package/dist/webcomponents/{p-e536a4c1.entry.js → p-a2dbe90f.entry.js} +1 -1
- package/dist/webcomponents/{p-591e29bf.entry.js → p-a46174e0.entry.js} +1 -1
- package/dist/webcomponents/{p-c8d51336.entry.js → p-a98eea84.entry.js} +1 -1
- package/dist/webcomponents/{p-bb7f6095.entry.js → p-b1bc23af.entry.js} +1 -1
- package/dist/webcomponents/{p-ec358d69.entry.js → p-b27c9b0d.entry.js} +1 -1
- package/dist/webcomponents/{p-7cd06ada.entry.js → p-b68f1dd9.entry.js} +1 -1
- package/dist/webcomponents/p-b8f22856.js +1 -0
- package/dist/webcomponents/{p-1cbdca15.entry.js → p-c8d62072.entry.js} +1 -1
- package/dist/webcomponents/{p-c2c3d5d1.entry.js → p-da34bba7.entry.js} +1 -1
- package/dist/webcomponents/{p-3134ab82.entry.js → p-e3748ea4.entry.js} +1 -1
- package/dist/webcomponents/{p-99a8b7d0.entry.js → p-e924f2e1.entry.js} +1 -1
- package/dist/webcomponents/{p-9c310f5c.entry.js → p-ebf7c70f.entry.js} +1 -1
- package/dist/webcomponents/{p-41031759.entry.js → p-eef5ed19.entry.js} +1 -1
- package/dist/webcomponents/{p-8f895ec3.entry.js → p-efc7025c.entry.js} +1 -1
- package/dist/webcomponents/p-f3453ca2.js +1 -0
- package/dist/webcomponents/{p-f55ac955.entry.js → p-f3ca6fda.entry.js} +1 -1
- package/dist/webcomponents/{p-9a63eec9.entry.js → p-fb49ef28.entry.js} +1 -1
- package/dist/webcomponents/{p-9e3771b7.entry.js → p-fe2af0cf.entry.js} +1 -1
- package/dist/webcomponents/{p-41490d96.entry.js → p-fe8a94c1.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/BusinessFormEventTypes-62990815.js +0 -42
- package/dist/cjs/business-form-schema-37e5381d.js +0 -148
- package/dist/collection/components/business-form/BusinessFormEventTypes.js +0 -6
- package/dist/collection/components/business-form/business-address/business-address-form-schema.js +0 -13
- package/dist/collection/components/business-form/business-form-schema.js +0 -159
- package/dist/collection/components/business-form/business-form-stepped.js +0 -260
- package/dist/collection/components/business-form/business-generic-info/business-generic-info.js +0 -77
- package/dist/collection/components/business-form/business-representative/business-representative-schema.js +0 -1
- package/dist/collection/components/business-form/helpers.js +0 -23
- package/dist/collection/components/business-form/legal-address-form/legal-address-form-schema.js +0 -10
- package/dist/esm/BusinessFormEventTypes-182e20be.js +0 -39
- package/dist/esm/business-form-schema-f8f554d1.js +0 -144
- package/dist/module/BusinessFormEventTypes.js +0 -39
- package/dist/module/business-generic-info.js +0 -210
- package/dist/module/justifi-business-generic-info.d.ts +0 -11
- package/dist/module/justifi-business-generic-info.js +0 -6
- package/dist/types/components/business-form/BusinessFormEventTypes.d.ts +0 -5
- package/dist/types/components/business-form/business-form-stepped.d.ts +0 -48
- package/dist/types/components/business-form/business-representative/business-representative-schema.d.ts +0 -17
- package/dist/types/components/business-form/helpers.d.ts +0 -1
- package/dist/types/components/business-form/legal-address-form/legal-address-form-schema.d.ts +0 -17
- package/dist/webcomponents/p-1b04d091.entry.js +0 -1
- package/dist/webcomponents/p-44b88365.entry.js +0 -1
- package/dist/webcomponents/p-4ed3a9f5.entry.js +0 -1
- package/dist/webcomponents/p-51b0bf2a.entry.js +0 -1
- package/dist/webcomponents/p-5d5d7550.entry.js +0 -1
- package/dist/webcomponents/p-5ea274b8.js +0 -1
- package/dist/webcomponents/p-5f785ede.entry.js +0 -1
- package/dist/webcomponents/p-6d05174c.js +0 -2
- package/dist/webcomponents/p-a81229a5.entry.js +0 -1
- package/dist/webcomponents/p-b8a8b551.js +0 -1
- /package/dist/collection/components/{business-form → business-forms/business-form}/business-address/test/business-address.e2e.js +0 -0
- /package/dist/collection/components/{business-form → business-forms/business-form}/business-address/test/business-address.spec.js +0 -0
- /package/dist/collection/components/{business-form → business-forms/business-form}/business-form.css +0 -0
- /package/dist/collection/components/{business-form → business-forms/business-form}/test/business-form.spec.js +0 -0
- /package/dist/collection/components/{business-form/business-address/business-address-form.css → business-forms/business-form-stepped/business-address/business-address-form-step.css} +0 -0
- /package/dist/collection/components/{business-form/business-generic-info/business-generic-info.css → business-forms/business-form-stepped/business-core-info/business-core-info-form-step.css} +0 -0
- /package/dist/collection/components/{business-form/business-owners/business-owners.css → business-forms/business-form-stepped/business-owners/business-owners-form-step.css} +0 -0
- /package/dist/collection/components/{business-form/business-representative/business-representative.css → business-forms/business-form-stepped/business-representative/business-representative-form-step.css} +0 -0
- /package/dist/collection/components/{business-form/legal-address-form/legal-address-form.css → business-forms/business-form-stepped/legal-address-form/legal-address-form-step.css} +0 -0
package/dist/collection/components/business-form/business-generic-info/business-generic-info.js
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
import { BusinessStructureOptions, BusinessTypeOptions, } from "../business-form-schema";
|
|
3
|
-
import { PHONE_MASKS, TAX_ID_MASKS } from "../../../utils/form-input-masks";
|
|
4
|
-
import { CoreBusinessInfo } from "../../../api/Business";
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
* The difference between this component and business-generic-info-details
|
|
8
|
-
* is that this component is meant to be a form and send data
|
|
9
|
-
* and the other one is meant to be just read only.
|
|
10
|
-
*
|
|
11
|
-
* @exportedPart label: Label for inputs
|
|
12
|
-
* @exportedPart input: The input fields
|
|
13
|
-
* @exportedPart input-invalid: Invalid state for inputfs
|
|
14
|
-
*/
|
|
15
|
-
export class BusinessGenericInfo {
|
|
16
|
-
constructor() {
|
|
17
|
-
this.formController = undefined;
|
|
18
|
-
this.errors = {};
|
|
19
|
-
this.genericInfo = {};
|
|
20
|
-
this.inputHandler = this.inputHandler.bind(this);
|
|
21
|
-
}
|
|
22
|
-
componentDidLoad() {
|
|
23
|
-
this.formController.values.subscribe(values => (this.genericInfo = Object.assign({}, new CoreBusinessInfo(values))));
|
|
24
|
-
this.formController.errors.subscribe(errors => {
|
|
25
|
-
this.errors = Object.assign({}, errors);
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
inputHandler(name, value) {
|
|
29
|
-
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
|
|
30
|
-
}
|
|
31
|
-
render() {
|
|
32
|
-
const genericInfoDefaultValue = this.formController.getInitialValues();
|
|
33
|
-
return (h(Host, { exportparts: "label,input,input-invalid" }, h("fieldset", null, h("legend", null, "General Info"), h("hr", null), h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "legal_name", label: "Legal Name", defaultValue: genericInfoDefaultValue.legal_name, error: this.errors.legal_name, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: genericInfoDefaultValue.doing_business_as, error: this.errors.doing_business_as, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-6" }, h("form-control-select", { name: "business_type", label: "Business Type", options: BusinessTypeOptions, defaultValue: genericInfoDefaultValue.business_type, error: this.errors.business_type, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-6" }, h("form-control-select", { name: "business_structure", label: "Business Structure", options: BusinessStructureOptions, defaultValue: genericInfoDefaultValue.business_structure, error: this.errors.business_structure, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: "industry", label: "Industry", defaultValue: genericInfoDefaultValue.industry, error: this.errors.industry, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-number-masked", { name: "tax_id", label: "Tax ID", defaultValue: genericInfoDefaultValue.tax_id, error: this.errors.tax_id, inputHandler: this.inputHandler, mask: TAX_ID_MASKS.US })), h("div", { class: "col-12" }, h("form-control-text", { name: "website_url", label: "Website URL", defaultValue: genericInfoDefaultValue.website_url, error: this.errors.website_url, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "email", label: "Email Address", defaultValue: genericInfoDefaultValue.email, error: this.errors.email, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-6" }, h("form-control-number-masked", { name: "phone", label: "Phone Number", defaultValue: genericInfoDefaultValue.phone, error: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
|
|
34
|
-
}
|
|
35
|
-
static get is() { return "justifi-business-generic-info"; }
|
|
36
|
-
static get originalStyleUrls() {
|
|
37
|
-
return {
|
|
38
|
-
"$": ["business-generic-info.scss"]
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
static get styleUrls() {
|
|
42
|
-
return {
|
|
43
|
-
"$": ["business-generic-info.css"]
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
static get properties() {
|
|
47
|
-
return {
|
|
48
|
-
"formController": {
|
|
49
|
-
"type": "unknown",
|
|
50
|
-
"mutable": false,
|
|
51
|
-
"complexType": {
|
|
52
|
-
"original": "FormController",
|
|
53
|
-
"resolved": "FormController",
|
|
54
|
-
"references": {
|
|
55
|
-
"FormController": {
|
|
56
|
-
"location": "import",
|
|
57
|
-
"path": "../../form/form",
|
|
58
|
-
"id": "src/components/form/form.ts::FormController"
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
"required": false,
|
|
63
|
-
"optional": false,
|
|
64
|
-
"docs": {
|
|
65
|
-
"tags": [],
|
|
66
|
-
"text": ""
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
static get states() {
|
|
72
|
-
return {
|
|
73
|
-
"errors": {},
|
|
74
|
-
"genericInfo": {}
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const RegExZip = /^\d{5}/;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
// These props should not be sent to the server
|
|
2
|
-
export const parseForPatching = (values, initialValues) => {
|
|
3
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
4
|
-
delete values.id;
|
|
5
|
-
delete values.documents;
|
|
6
|
-
delete values.bank_accounts;
|
|
7
|
-
delete values.product_categories;
|
|
8
|
-
delete values.created_at;
|
|
9
|
-
delete values.updated_at;
|
|
10
|
-
(_a = values.legal_address) === null || _a === void 0 ? true : delete _a.id;
|
|
11
|
-
(_b = values.legal_address) === null || _b === void 0 ? true : delete _b.created_at;
|
|
12
|
-
(_c = values.legal_address) === null || _c === void 0 ? true : delete _c.updated_at;
|
|
13
|
-
(_d = values.representative) === null || _d === void 0 ? true : delete _d.id;
|
|
14
|
-
(_e = values.representative) === null || _e === void 0 ? true : delete _e.documents;
|
|
15
|
-
(_f = values.representative) === null || _f === void 0 ? true : delete _f.created_at;
|
|
16
|
-
(_g = values.representative) === null || _g === void 0 ? true : delete _g.updated_at;
|
|
17
|
-
(_h = values.representative) === null || _h === void 0 ? true : delete _h.address.id;
|
|
18
|
-
(_j = values.representative) === null || _j === void 0 ? true : delete _j.address.created_at;
|
|
19
|
-
(_k = values.representative) === null || _k === void 0 ? true : delete _k.address.updated_at;
|
|
20
|
-
(_l = values.representative) === null || _l === void 0 ? true : delete _l.business_id;
|
|
21
|
-
((_m = initialValues.owners) === null || _m === void 0 ? void 0 : _m.length) && delete values.owners;
|
|
22
|
-
return values;
|
|
23
|
-
};
|
package/dist/collection/components/business-form/legal-address-form/legal-address-form-schema.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as Yup from "yup";
|
|
2
|
-
const legalAddressSchema = Yup.object({
|
|
3
|
-
line1: Yup.string().required('Enter street address'),
|
|
4
|
-
line2: Yup.string().nullable(),
|
|
5
|
-
city: Yup.string().required('Enter city'),
|
|
6
|
-
state: Yup.string().required('Select state'),
|
|
7
|
-
postal_code: Yup.string().required('Enter postal code'),
|
|
8
|
-
country: Yup.string().required('Select country'),
|
|
9
|
-
});
|
|
10
|
-
export default legalAddressSchema;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { h } from './index-fb5ca346.js';
|
|
2
|
-
|
|
3
|
-
// These props should not be sent to the server
|
|
4
|
-
const parseForPatching = (values, initialValues) => {
|
|
5
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
6
|
-
delete values.id;
|
|
7
|
-
delete values.documents;
|
|
8
|
-
delete values.bank_accounts;
|
|
9
|
-
delete values.product_categories;
|
|
10
|
-
delete values.created_at;
|
|
11
|
-
delete values.updated_at;
|
|
12
|
-
(_a = values.legal_address) === null || _a === void 0 ? true : delete _a.id;
|
|
13
|
-
(_b = values.legal_address) === null || _b === void 0 ? true : delete _b.created_at;
|
|
14
|
-
(_c = values.legal_address) === null || _c === void 0 ? true : delete _c.updated_at;
|
|
15
|
-
(_d = values.representative) === null || _d === void 0 ? true : delete _d.id;
|
|
16
|
-
(_e = values.representative) === null || _e === void 0 ? true : delete _e.documents;
|
|
17
|
-
(_f = values.representative) === null || _f === void 0 ? true : delete _f.created_at;
|
|
18
|
-
(_g = values.representative) === null || _g === void 0 ? true : delete _g.updated_at;
|
|
19
|
-
(_h = values.representative) === null || _h === void 0 ? true : delete _h.address.id;
|
|
20
|
-
(_j = values.representative) === null || _j === void 0 ? true : delete _j.address.created_at;
|
|
21
|
-
(_k = values.representative) === null || _k === void 0 ? true : delete _k.address.updated_at;
|
|
22
|
-
(_l = values.representative) === null || _l === void 0 ? true : delete _l.business_id;
|
|
23
|
-
((_m = initialValues.owners) === null || _m === void 0 ? void 0 : _m.length) && delete values.owners;
|
|
24
|
-
return values;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
const FormAlert = (message) => (h("div", { class: 'alert alert-danger d-flex align-items-center', role: 'alert' },
|
|
28
|
-
h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "currentColor", class: "bi bi-exclamation-triangle-fill flex-shrink-0 me-2", viewBox: "0 0 16 16", role: "img", "aria-label": "Warning:" },
|
|
29
|
-
h("path", { d: "M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z" })),
|
|
30
|
-
h("div", null, message)));
|
|
31
|
-
|
|
32
|
-
var ClickEvents;
|
|
33
|
-
(function (ClickEvents) {
|
|
34
|
-
ClickEvents["nextStep"] = "nextStep";
|
|
35
|
-
ClickEvents["previousStep"] = "previousStep";
|
|
36
|
-
ClickEvents["submit"] = "submit";
|
|
37
|
-
})(ClickEvents || (ClickEvents = {}));
|
|
38
|
-
|
|
39
|
-
export { ClickEvents as C, FormAlert as F, parseForPatching as p };
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
import { c as create$3, a as create$6 } from './index.esm-22b47398.js';
|
|
2
|
-
|
|
3
|
-
const legalAddressSchema = create$3({
|
|
4
|
-
line1: create$6().required('Enter street address'),
|
|
5
|
-
line2: create$6().nullable(),
|
|
6
|
-
city: create$6().required('Enter city'),
|
|
7
|
-
state: create$6().required('Select state'),
|
|
8
|
-
postal_code: create$6().required('Enter postal code'),
|
|
9
|
-
country: create$6().required('Select country'),
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
const BusinessTypeOptions = [
|
|
13
|
-
{
|
|
14
|
-
label: 'Choose business type',
|
|
15
|
-
value: '',
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
label: 'Individual',
|
|
19
|
-
value: 'individual',
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
label: 'For Profit',
|
|
23
|
-
value: 'for_profit',
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
label: 'Non Profit',
|
|
27
|
-
value: 'non_profit',
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
label: 'Government Entity',
|
|
31
|
-
value: 'government_entity',
|
|
32
|
-
},
|
|
33
|
-
];
|
|
34
|
-
const BusinessStructureOptions = [
|
|
35
|
-
{
|
|
36
|
-
label: 'Choose business structure',
|
|
37
|
-
value: '',
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
label: 'Sole Proprietorship',
|
|
41
|
-
value: 'sole_proprietorship',
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
label: 'LLC (Single)',
|
|
45
|
-
value: 'single_llc',
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
label: 'LLC (Multiple)',
|
|
49
|
-
value: 'multi_llc',
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
label: 'Private Partnership',
|
|
53
|
-
value: 'private_partnership',
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
label: 'Private Corporation',
|
|
57
|
-
value: 'private_corporation',
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
label: 'Unincorporated Association',
|
|
61
|
-
value: 'unincorporated_association',
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
label: 'Public Partnership',
|
|
65
|
-
value: 'public_partnership',
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
label: 'Public Corporation',
|
|
69
|
-
value: 'public_corporation',
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
label: 'Incorporated',
|
|
73
|
-
value: 'incorporated',
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
label: 'Unincorporated',
|
|
77
|
-
value: 'unincorporated',
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
label: 'Government Unit',
|
|
81
|
-
value: 'government_unit',
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
label: 'Government Instrumentality',
|
|
85
|
-
value: 'government_instrumentality',
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
label: 'Tax Exempt Government Instrumentality',
|
|
89
|
-
value: 'tax_exempt_government_instrumentality',
|
|
90
|
-
},
|
|
91
|
-
];
|
|
92
|
-
const businessGenericInfoSchema = create$3({
|
|
93
|
-
legal_name: create$6().required('Enter legal name'),
|
|
94
|
-
website_url: create$6()
|
|
95
|
-
.url('Enter valid website url')
|
|
96
|
-
.required('Enter website url'),
|
|
97
|
-
email: create$6().email('Enter valid email').required('Enter email'),
|
|
98
|
-
phone: create$6().required('Enter phone number'),
|
|
99
|
-
doing_business_as: create$6().required('Enter doing business as'),
|
|
100
|
-
business_type: create$6().required('Select business type'),
|
|
101
|
-
business_structure: create$6().required('Select business structure'),
|
|
102
|
-
industry: create$6().required('Enter a business industry'),
|
|
103
|
-
});
|
|
104
|
-
const addressSchema = create$3({
|
|
105
|
-
line1: create$6().required('Enter street address'),
|
|
106
|
-
city: create$6().required('Enter city'),
|
|
107
|
-
state: create$6().required('Select state'),
|
|
108
|
-
postal_code: create$6().required('Enter postal code'),
|
|
109
|
-
});
|
|
110
|
-
const representativeSchema = create$3({
|
|
111
|
-
name: create$6().required('Enter representative name'),
|
|
112
|
-
email: create$6()
|
|
113
|
-
.email('Enter valid representative email')
|
|
114
|
-
.required('Enter representative email'),
|
|
115
|
-
phone: create$6().required('Enter representative phone number'),
|
|
116
|
-
dob_day: create$6().required('Enter representative birth day'),
|
|
117
|
-
dob_month: create$6().required('Enter representative birth month'),
|
|
118
|
-
dob_year: create$6().required('Enter representative birth year'),
|
|
119
|
-
identification_number: create$6(),
|
|
120
|
-
address: addressSchema,
|
|
121
|
-
});
|
|
122
|
-
// const ownerSchema = object({
|
|
123
|
-
// name: string().required('Enter owner name'),
|
|
124
|
-
// title: string().required('Enter owner title'),
|
|
125
|
-
// email: string()
|
|
126
|
-
// .email('Enter valid owner email')
|
|
127
|
-
// .required('Enter owner email'),
|
|
128
|
-
// phone: string().required('Enter owner phone number'),
|
|
129
|
-
// dob_day: string().required('Enter owner birth day'),
|
|
130
|
-
// dob_month: string().required('Enter owner birth month'),
|
|
131
|
-
// dob_year: string().required('Enter owner birth year'),
|
|
132
|
-
// identification_number: string(),
|
|
133
|
-
// is_owner: boolean(),
|
|
134
|
-
// address: addressSchema,
|
|
135
|
-
// });
|
|
136
|
-
const additionQuestionsSchema = create$3({
|
|
137
|
-
business_revenue: create$6().required('Enter business revenue'),
|
|
138
|
-
business_payment_volume: create$6().required('Enter business payment volume'),
|
|
139
|
-
business_dispute_volume: create$6().required('Enter business dispute volume'),
|
|
140
|
-
business_receivable_volume: create$6().required('Enter business receivable volume'),
|
|
141
|
-
});
|
|
142
|
-
const businessFormSchema = create$3(Object.assign(Object.assign({}, businessGenericInfoSchema.fields), { legal_address: legalAddressSchema, additional_questions: additionQuestionsSchema, representative: representativeSchema }));
|
|
143
|
-
|
|
144
|
-
export { BusinessTypeOptions as B, BusinessStructureOptions as a, businessFormSchema as b };
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { h } from '@stencil/core/internal/client';
|
|
2
|
-
|
|
3
|
-
// These props should not be sent to the server
|
|
4
|
-
const parseForPatching = (values, initialValues) => {
|
|
5
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
6
|
-
delete values.id;
|
|
7
|
-
delete values.documents;
|
|
8
|
-
delete values.bank_accounts;
|
|
9
|
-
delete values.product_categories;
|
|
10
|
-
delete values.created_at;
|
|
11
|
-
delete values.updated_at;
|
|
12
|
-
(_a = values.legal_address) === null || _a === void 0 ? true : delete _a.id;
|
|
13
|
-
(_b = values.legal_address) === null || _b === void 0 ? true : delete _b.created_at;
|
|
14
|
-
(_c = values.legal_address) === null || _c === void 0 ? true : delete _c.updated_at;
|
|
15
|
-
(_d = values.representative) === null || _d === void 0 ? true : delete _d.id;
|
|
16
|
-
(_e = values.representative) === null || _e === void 0 ? true : delete _e.documents;
|
|
17
|
-
(_f = values.representative) === null || _f === void 0 ? true : delete _f.created_at;
|
|
18
|
-
(_g = values.representative) === null || _g === void 0 ? true : delete _g.updated_at;
|
|
19
|
-
(_h = values.representative) === null || _h === void 0 ? true : delete _h.address.id;
|
|
20
|
-
(_j = values.representative) === null || _j === void 0 ? true : delete _j.address.created_at;
|
|
21
|
-
(_k = values.representative) === null || _k === void 0 ? true : delete _k.address.updated_at;
|
|
22
|
-
(_l = values.representative) === null || _l === void 0 ? true : delete _l.business_id;
|
|
23
|
-
((_m = initialValues.owners) === null || _m === void 0 ? void 0 : _m.length) && delete values.owners;
|
|
24
|
-
return values;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
const FormAlert = (message) => (h("div", { class: 'alert alert-danger d-flex align-items-center', role: 'alert' },
|
|
28
|
-
h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "currentColor", class: "bi bi-exclamation-triangle-fill flex-shrink-0 me-2", viewBox: "0 0 16 16", role: "img", "aria-label": "Warning:" },
|
|
29
|
-
h("path", { d: "M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z" })),
|
|
30
|
-
h("div", null, message)));
|
|
31
|
-
|
|
32
|
-
var ClickEvents;
|
|
33
|
-
(function (ClickEvents) {
|
|
34
|
-
ClickEvents["nextStep"] = "nextStep";
|
|
35
|
-
ClickEvents["previousStep"] = "previousStep";
|
|
36
|
-
ClickEvents["submit"] = "submit";
|
|
37
|
-
})(ClickEvents || (ClickEvents = {}));
|
|
38
|
-
|
|
39
|
-
export { ClickEvents as C, FormAlert as F, parseForPatching as p };
|
|
@@ -1,210 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { c as create$3, a as create$6 } from './index.esm.js';
|
|
3
|
-
import { T as TAX_ID_MASKS, P as PHONE_MASKS } from './form-input-masks.js';
|
|
4
|
-
import { C as CoreBusinessInfo } from './Business.js';
|
|
5
|
-
import { d as defineCustomElement$3 } from './form-control-number-masked2.js';
|
|
6
|
-
import { d as defineCustomElement$2 } from './form-control-select2.js';
|
|
7
|
-
import { d as defineCustomElement$1 } from './form-control-text2.js';
|
|
8
|
-
|
|
9
|
-
const legalAddressSchema = create$3({
|
|
10
|
-
line1: create$6().required('Enter street address'),
|
|
11
|
-
line2: create$6().nullable(),
|
|
12
|
-
city: create$6().required('Enter city'),
|
|
13
|
-
state: create$6().required('Select state'),
|
|
14
|
-
postal_code: create$6().required('Enter postal code'),
|
|
15
|
-
country: create$6().required('Select country'),
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
const BusinessTypeOptions = [
|
|
19
|
-
{
|
|
20
|
-
label: 'Choose business type',
|
|
21
|
-
value: '',
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
label: 'Individual',
|
|
25
|
-
value: 'individual',
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
label: 'For Profit',
|
|
29
|
-
value: 'for_profit',
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
label: 'Non Profit',
|
|
33
|
-
value: 'non_profit',
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
label: 'Government Entity',
|
|
37
|
-
value: 'government_entity',
|
|
38
|
-
},
|
|
39
|
-
];
|
|
40
|
-
const BusinessStructureOptions = [
|
|
41
|
-
{
|
|
42
|
-
label: 'Choose business structure',
|
|
43
|
-
value: '',
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
label: 'Sole Proprietorship',
|
|
47
|
-
value: 'sole_proprietorship',
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
label: 'LLC (Single)',
|
|
51
|
-
value: 'single_llc',
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
label: 'LLC (Multiple)',
|
|
55
|
-
value: 'multi_llc',
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
label: 'Private Partnership',
|
|
59
|
-
value: 'private_partnership',
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
label: 'Private Corporation',
|
|
63
|
-
value: 'private_corporation',
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
label: 'Unincorporated Association',
|
|
67
|
-
value: 'unincorporated_association',
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
label: 'Public Partnership',
|
|
71
|
-
value: 'public_partnership',
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
label: 'Public Corporation',
|
|
75
|
-
value: 'public_corporation',
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
label: 'Incorporated',
|
|
79
|
-
value: 'incorporated',
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
label: 'Unincorporated',
|
|
83
|
-
value: 'unincorporated',
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
label: 'Government Unit',
|
|
87
|
-
value: 'government_unit',
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
label: 'Government Instrumentality',
|
|
91
|
-
value: 'government_instrumentality',
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
label: 'Tax Exempt Government Instrumentality',
|
|
95
|
-
value: 'tax_exempt_government_instrumentality',
|
|
96
|
-
},
|
|
97
|
-
];
|
|
98
|
-
const businessGenericInfoSchema = create$3({
|
|
99
|
-
legal_name: create$6().required('Enter legal name'),
|
|
100
|
-
website_url: create$6()
|
|
101
|
-
.url('Enter valid website url')
|
|
102
|
-
.required('Enter website url'),
|
|
103
|
-
email: create$6().email('Enter valid email').required('Enter email'),
|
|
104
|
-
phone: create$6().required('Enter phone number'),
|
|
105
|
-
doing_business_as: create$6().required('Enter doing business as'),
|
|
106
|
-
business_type: create$6().required('Select business type'),
|
|
107
|
-
business_structure: create$6().required('Select business structure'),
|
|
108
|
-
industry: create$6().required('Enter a business industry'),
|
|
109
|
-
});
|
|
110
|
-
const addressSchema = create$3({
|
|
111
|
-
line1: create$6().required('Enter street address'),
|
|
112
|
-
city: create$6().required('Enter city'),
|
|
113
|
-
state: create$6().required('Select state'),
|
|
114
|
-
postal_code: create$6().required('Enter postal code'),
|
|
115
|
-
});
|
|
116
|
-
const representativeSchema = create$3({
|
|
117
|
-
name: create$6().required('Enter representative name'),
|
|
118
|
-
email: create$6()
|
|
119
|
-
.email('Enter valid representative email')
|
|
120
|
-
.required('Enter representative email'),
|
|
121
|
-
phone: create$6().required('Enter representative phone number'),
|
|
122
|
-
dob_day: create$6().required('Enter representative birth day'),
|
|
123
|
-
dob_month: create$6().required('Enter representative birth month'),
|
|
124
|
-
dob_year: create$6().required('Enter representative birth year'),
|
|
125
|
-
identification_number: create$6(),
|
|
126
|
-
address: addressSchema,
|
|
127
|
-
});
|
|
128
|
-
// const ownerSchema = object({
|
|
129
|
-
// name: string().required('Enter owner name'),
|
|
130
|
-
// title: string().required('Enter owner title'),
|
|
131
|
-
// email: string()
|
|
132
|
-
// .email('Enter valid owner email')
|
|
133
|
-
// .required('Enter owner email'),
|
|
134
|
-
// phone: string().required('Enter owner phone number'),
|
|
135
|
-
// dob_day: string().required('Enter owner birth day'),
|
|
136
|
-
// dob_month: string().required('Enter owner birth month'),
|
|
137
|
-
// dob_year: string().required('Enter owner birth year'),
|
|
138
|
-
// identification_number: string(),
|
|
139
|
-
// is_owner: boolean(),
|
|
140
|
-
// address: addressSchema,
|
|
141
|
-
// });
|
|
142
|
-
const additionQuestionsSchema = create$3({
|
|
143
|
-
business_revenue: create$6().required('Enter business revenue'),
|
|
144
|
-
business_payment_volume: create$6().required('Enter business payment volume'),
|
|
145
|
-
business_dispute_volume: create$6().required('Enter business dispute volume'),
|
|
146
|
-
business_receivable_volume: create$6().required('Enter business receivable volume'),
|
|
147
|
-
});
|
|
148
|
-
const businessFormSchema = create$3(Object.assign(Object.assign({}, businessGenericInfoSchema.fields), { legal_address: legalAddressSchema, additional_questions: additionQuestionsSchema, representative: representativeSchema }));
|
|
149
|
-
|
|
150
|
-
const businessGenericInfoCss = ":root,[data-bs-theme=light]{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13, 110, 253;--bs-secondary-rgb:108, 117, 125;--bs-success-rgb:25, 135, 84;--bs-info-rgb:13, 202, 240;--bs-warning-rgb:255, 193, 7;--bs-danger-rgb:220, 53, 69;--bs-light-rgb:248, 249, 250;--bs-dark-rgb:33, 37, 41;--bs-primary-text-emphasis:#052c65;--bs-secondary-text-emphasis:#2b2f32;--bs-success-text-emphasis:#0a3622;--bs-info-text-emphasis:#055160;--bs-warning-text-emphasis:#664d03;--bs-danger-text-emphasis:#58151c;--bs-light-text-emphasis:#495057;--bs-dark-text-emphasis:#495057;--bs-primary-bg-subtle:#cfe2ff;--bs-secondary-bg-subtle:#e2e3e5;--bs-success-bg-subtle:#d1e7dd;--bs-info-bg-subtle:#cff4fc;--bs-warning-bg-subtle:#fff3cd;--bs-danger-bg-subtle:#f8d7da;--bs-light-bg-subtle:#fcfcfd;--bs-dark-bg-subtle:#ced4da;--bs-primary-border-subtle:#9ec5fe;--bs-secondary-border-subtle:#c4c8cb;--bs-success-border-subtle:#a3cfbb;--bs-info-border-subtle:#9eeaf9;--bs-warning-border-subtle:#ffe69c;--bs-danger-border-subtle:#f1aeb5;--bs-light-border-subtle:#e9ecef;--bs-dark-border-subtle:#adb5bd;--bs-white-rgb:255, 255, 255;--bs-black-rgb:0, 0, 0;--bs-font-sans-serif:system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--bs-font-monospace:SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-color-rgb:33, 37, 41;--bs-body-bg:#fff;--bs-body-bg-rgb:255, 255, 255;--bs-emphasis-color:#000;--bs-emphasis-color-rgb:0, 0, 0;--bs-secondary-color:rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb:33, 37, 41;--bs-secondary-bg:#e9ecef;--bs-secondary-bg-rgb:233, 236, 239;--bs-tertiary-color:rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb:33, 37, 41;--bs-tertiary-bg:#f8f9fa;--bs-tertiary-bg-rgb:248, 249, 250;--bs-heading-color:inherit;--bs-link-color:#0d6efd;--bs-link-color-rgb:13, 110, 253;--bs-link-decoration:underline;--bs-link-hover-color:#0a58ca;--bs-link-hover-color-rgb:10, 88, 202;--bs-code-color:#d63384;--bs-highlight-color:#212529;--bs-highlight-bg:#fff3cd;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, 0.175);--bs-border-radius:0.375rem;--bs-border-radius-sm:0.25rem;--bs-border-radius-lg:0.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-xxl:2rem;--bs-border-radius-2xl:var(--bs-border-radius-xxl);--bs-border-radius-pill:50rem;--bs-box-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg:0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset:inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width:0.25rem;--bs-focus-ring-opacity:0.25;--bs-focus-ring-color:rgba(13, 110, 253, 0.25);--bs-form-valid-color:#198754;--bs-form-valid-border-color:#198754;--bs-form-invalid-color:#dc3545;--bs-form-invalid-border-color:#dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color:#dee2e6;--bs-body-color-rgb:222, 226, 230;--bs-body-bg:#212529;--bs-body-bg-rgb:33, 37, 41;--bs-emphasis-color:#fff;--bs-emphasis-color-rgb:255, 255, 255;--bs-secondary-color:rgba(222, 226, 230, 0.75);--bs-secondary-color-rgb:222, 226, 230;--bs-secondary-bg:#343a40;--bs-secondary-bg-rgb:52, 58, 64;--bs-tertiary-color:rgba(222, 226, 230, 0.5);--bs-tertiary-color-rgb:222, 226, 230;--bs-tertiary-bg:#2b3035;--bs-tertiary-bg-rgb:43, 48, 53;--bs-primary-text-emphasis:#6ea8fe;--bs-secondary-text-emphasis:#a7acb1;--bs-success-text-emphasis:#75b798;--bs-info-text-emphasis:#6edff6;--bs-warning-text-emphasis:#ffda6a;--bs-danger-text-emphasis:#ea868f;--bs-light-text-emphasis:#f8f9fa;--bs-dark-text-emphasis:#dee2e6;--bs-primary-bg-subtle:#031633;--bs-secondary-bg-subtle:#161719;--bs-success-bg-subtle:#051b11;--bs-info-bg-subtle:#032830;--bs-warning-bg-subtle:#332701;--bs-danger-bg-subtle:#2c0b0e;--bs-light-bg-subtle:#343a40;--bs-dark-bg-subtle:#1a1d20;--bs-primary-border-subtle:#084298;--bs-secondary-border-subtle:#41464b;--bs-success-border-subtle:#0f5132;--bs-info-border-subtle:#087990;--bs-warning-border-subtle:#997404;--bs-danger-border-subtle:#842029;--bs-light-border-subtle:#495057;--bs-dark-border-subtle:#343a40;--bs-heading-color:inherit;--bs-link-color:#6ea8fe;--bs-link-hover-color:#8bb9fe;--bs-link-color-rgb:110, 168, 254;--bs-link-hover-color-rgb:139, 185, 254;--bs-code-color:#e685b5;--bs-highlight-color:#dee2e6;--bs-highlight-bg:#664d03;--bs-border-color:#495057;--bs-border-color-translucent:rgba(255, 255, 255, 0.15);--bs-form-valid-color:#75b798;--bs-form-valid-border-color:#75b798;--bs-form-invalid-color:#ea868f;--bs-form-invalid-border-color:#ea868f}.spinner-grow,.spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg) }}.spinner-border{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-border-width:0.25em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem;--bs-spinner-border-width:0.2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem}@media (prefers-reduced-motion: reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed:1.5s}}.clearfix::after{display:block;clear:both;content:\"\"}.text-bg-primary{color:#fff !important;background-color:RGBA(var(--bs-primary-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-secondary{color:#fff !important;background-color:RGBA(var(--bs-secondary-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-success{color:#fff !important;background-color:RGBA(var(--bs-success-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-info{color:#000 !important;background-color:RGBA(var(--bs-info-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-warning{color:#000 !important;background-color:RGBA(var(--bs-warning-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-danger{color:#fff !important;background-color:RGBA(var(--bs-danger-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-light{color:#000 !important;background-color:RGBA(var(--bs-light-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-dark{color:#fff !important;background-color:RGBA(var(--bs-dark-rgb), var(--bs-bg-opacity, 1)) !important}.link-primary{color:RGBA(var(--bs-primary-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-primary-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-primary:hover,.link-primary:focus{color:RGBA(10, 88, 202, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(10, 88, 202, var(--bs-link-underline-opacity, 1)) !important}.link-secondary{color:RGBA(var(--bs-secondary-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-secondary-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-secondary:hover,.link-secondary:focus{color:RGBA(86, 94, 100, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(86, 94, 100, var(--bs-link-underline-opacity, 1)) !important}.link-success{color:RGBA(var(--bs-success-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-success-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-success:hover,.link-success:focus{color:RGBA(20, 108, 67, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(20, 108, 67, var(--bs-link-underline-opacity, 1)) !important}.link-info{color:RGBA(var(--bs-info-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-info-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-info:hover,.link-info:focus{color:RGBA(61, 213, 243, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(61, 213, 243, var(--bs-link-underline-opacity, 1)) !important}.link-warning{color:RGBA(var(--bs-warning-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-warning-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-warning:hover,.link-warning:focus{color:RGBA(255, 205, 57, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(255, 205, 57, var(--bs-link-underline-opacity, 1)) !important}.link-danger{color:RGBA(var(--bs-danger-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-danger-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-danger:hover,.link-danger:focus{color:RGBA(176, 42, 55, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(176, 42, 55, var(--bs-link-underline-opacity, 1)) !important}.link-light{color:RGBA(var(--bs-light-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-light-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-light:hover,.link-light:focus{color:RGBA(249, 250, 251, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(249, 250, 251, var(--bs-link-underline-opacity, 1)) !important}.link-dark{color:RGBA(var(--bs-dark-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-dark-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-dark:hover,.link-dark:focus{color:RGBA(26, 30, 33, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(26, 30, 33, var(--bs-link-underline-opacity, 1)) !important}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-body-emphasis:hover,.link-body-emphasis:focus{color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-opacity, 0.75)) !important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 0.75)) !important}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x, 0) var(--bs-focus-ring-y, 0) var(--bs-focus-ring-blur, 0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:0.375rem;align-items:center;text-decoration-color:rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 0.5));text-underline-offset:0.25em;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:0.2s ease-in-out transform}@media (prefers-reduced-motion: reduce){.icon-link>.bi{transition:none}}.icon-link-hover:hover>.bi,.icon-link-hover:focus-visible>.bi{transform:var(--bs-icon-link-transform, translate3d(0.25em, 0, 0))}.ratio{position:relative;width:100%}.ratio::before{display:block;padding-top:var(--bs-aspect-ratio);content:\"\"}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio:100%}.ratio-4x3{--bs-aspect-ratio:75%}.ratio-16x9{--bs-aspect-ratio:56.25%}.ratio-21x9{--bs-aspect-ratio:42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:sticky;top:0;z-index:1020}.sticky-bottom{position:sticky;bottom:0;z-index:1020}@media (min-width: 576px){.sticky-sm-top{position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 768px){.sticky-md-top{position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 992px){.sticky-lg-top{position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1200px){.sticky-xl-top{position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1400px){.sticky-xxl-top{position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border:0 !important}.visually-hidden:not(caption),.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption){position:absolute !important}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:\"\"}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:0.25}*,*::before,*::after{box-sizing:border-box}@media (prefers-reduced-motion: no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:0.25}h6,h5,h4,h3,h2,h1{margin-top:0;margin-bottom:0.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width: 1200px){h1{font-size:2.5rem}}h2{font-size:calc(1.325rem + 0.9vw)}@media (min-width: 1200px){h2{font-size:2rem}}h3{font-size:calc(1.3rem + 0.6vw)}@media (min-width: 1200px){h3{font-size:1.75rem}}h4{font-size:calc(1.275rem + 0.3vw)}@media (min-width: 1200px){h4{font-size:1.5rem}}h5{font-size:1.25rem}h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{text-decoration:underline dotted;cursor:help;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:0.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:0.875em}mark{padding:0.1875em;color:var(--bs-highlight-color);background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:0.75em;line-height:0;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}a{color:rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));text-decoration:underline}a:hover{--bs-link-color-rgb:var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}pre,code,kbd,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:0.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:0.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:0.1875rem 0.375rem;font-size:0.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:0.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:0.5rem;padding-bottom:0.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}thead,tbody,tfoot,tr,td,th{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none !important}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button:not(:disabled),[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:0.5rem;font-size:calc(1.275rem + 0.3vw);line-height:inherit}@media (min-width: 1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none !important}:root{--bs-breakpoint-xs:0;--bs-breakpoint-sm:576px;--bs-breakpoint-md:768px;--bs-breakpoint-lg:992px;--bs-breakpoint-xl:1200px;--bs-breakpoint-xxl:1400px}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-0.5 * var(--bs-gutter-x));margin-left:calc(-0.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * 0.5);padding-left:calc(var(--bs-gutter-x) * 0.5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.66666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x:0}.g-0,.gy-0{--bs-gutter-y:0}.g-1,.gx-1{--bs-gutter-x:0.25rem}.g-1,.gy-1{--bs-gutter-y:0.25rem}.g-2,.gx-2{--bs-gutter-x:0.5rem}.g-2,.gy-2{--bs-gutter-y:0.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-3,.gy-3{--bs-gutter-y:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-4,.gy-4{--bs-gutter-y:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}.g-5,.gy-5{--bs-gutter-y:3rem}@media (min-width: 576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.66666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x:0}.g-sm-0,.gy-sm-0{--bs-gutter-y:0}.g-sm-1,.gx-sm-1{--bs-gutter-x:0.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y:0.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x:0.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y:0.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y:1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y:3rem}}@media (min-width: 768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.66666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x:0}.g-md-0,.gy-md-0{--bs-gutter-y:0}.g-md-1,.gx-md-1{--bs-gutter-x:0.25rem}.g-md-1,.gy-md-1{--bs-gutter-y:0.25rem}.g-md-2,.gx-md-2{--bs-gutter-x:0.5rem}.g-md-2,.gy-md-2{--bs-gutter-y:0.5rem}.g-md-3,.gx-md-3{--bs-gutter-x:1rem}.g-md-3,.gy-md-3{--bs-gutter-y:1rem}.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y:1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x:3rem}.g-md-5,.gy-md-5{--bs-gutter-y:3rem}}@media (min-width: 992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.66666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x:0}.g-lg-0,.gy-lg-0{--bs-gutter-y:0}.g-lg-1,.gx-lg-1{--bs-gutter-x:0.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y:0.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x:0.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y:0.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y:1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y:3rem}}@media (min-width: 1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.66666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x:0}.g-xl-0,.gy-xl-0{--bs-gutter-y:0}.g-xl-1,.gx-xl-1{--bs-gutter-x:0.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y:0.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x:0.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y:0.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y:1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y:3rem}}@media (min-width: 1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.66666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y:0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x:0.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y:0.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x:0.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y:0.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y:3rem}}.btn{--bs-btn-padding-x:0.75rem;--bs-btn-padding-y:0.375rem;--bs-btn-font-size:1rem;--bs-btn-font-weight:400;--bs-btn-line-height:1.5;--bs-btn-color:var(--bs-body-color);--bs-btn-bg:transparent;--bs-btn-border-width:var(--bs-border-width);--bs-btn-border-color:transparent;--bs-btn-border-radius:var(--bs-border-radius);--bs-btn-hover-border-color:transparent;--bs-btn-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);--bs-btn-disabled-opacity:0.65;--bs-btn-focus-box-shadow:0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out}@media (prefers-reduced-motion: reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,:not(.btn-check)+.btn:active,.btn:first-child:active,.btn.active,.btn.show{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,:not(.btn-check)+.btn:active:focus-visible,.btn:first-child:active:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn:disabled,.btn.disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color:#fff;--bs-btn-bg:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0b5ed7;--bs-btn-hover-border-color:#0a58ca;--bs-btn-focus-shadow-rgb:49, 132, 253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0a58ca;--bs-btn-active-border-color:#0a53be;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#0d6efd;--bs-btn-disabled-border-color:#0d6efd}.btn-secondary{--bs-btn-color:#fff;--bs-btn-bg:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#5c636a;--bs-btn-hover-border-color:#565e64;--bs-btn-focus-shadow-rgb:130, 138, 145;--bs-btn-active-color:#fff;--bs-btn-active-bg:#565e64;--bs-btn-active-border-color:#51585e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#6c757d;--bs-btn-disabled-border-color:#6c757d}.btn-success{--bs-btn-color:#fff;--bs-btn-bg:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#157347;--bs-btn-hover-border-color:#146c43;--bs-btn-focus-shadow-rgb:60, 153, 110;--bs-btn-active-color:#fff;--bs-btn-active-bg:#146c43;--bs-btn-active-border-color:#13653f;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#198754;--bs-btn-disabled-border-color:#198754}.btn-info{--bs-btn-color:#000;--bs-btn-bg:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#31d2f2;--bs-btn-hover-border-color:#25cff2;--bs-btn-focus-shadow-rgb:11, 172, 204;--bs-btn-active-color:#000;--bs-btn-active-bg:#3dd5f3;--bs-btn-active-border-color:#25cff2;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#0dcaf0;--bs-btn-disabled-border-color:#0dcaf0}.btn-warning{--bs-btn-color:#000;--bs-btn-bg:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffca2c;--bs-btn-hover-border-color:#ffc720;--bs-btn-focus-shadow-rgb:217, 164, 6;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffcd39;--bs-btn-active-border-color:#ffc720;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#ffc107;--bs-btn-disabled-border-color:#ffc107}.btn-danger{--bs-btn-color:#fff;--bs-btn-bg:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#bb2d3b;--bs-btn-hover-border-color:#b02a37;--bs-btn-focus-shadow-rgb:225, 83, 97;--bs-btn-active-color:#fff;--bs-btn-active-bg:#b02a37;--bs-btn-active-border-color:#a52834;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#dc3545;--bs-btn-disabled-border-color:#dc3545}.btn-light{--bs-btn-color:#000;--bs-btn-bg:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#d3d4d5;--bs-btn-hover-border-color:#c6c7c8;--bs-btn-focus-shadow-rgb:211, 212, 213;--bs-btn-active-color:#000;--bs-btn-active-bg:#c6c7c8;--bs-btn-active-border-color:#babbbc;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#f8f9fa;--bs-btn-disabled-border-color:#f8f9fa}.btn-dark{--bs-btn-color:#fff;--bs-btn-bg:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#424649;--bs-btn-hover-border-color:#373b3e;--bs-btn-focus-shadow-rgb:66, 70, 73;--bs-btn-active-color:#fff;--bs-btn-active-bg:#4d5154;--bs-btn-active-border-color:#373b3e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#212529;--bs-btn-disabled-border-color:#212529}.btn-outline-primary{--bs-btn-color:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0d6efd;--bs-btn-hover-border-color:#0d6efd;--bs-btn-focus-shadow-rgb:13, 110, 253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0d6efd;--bs-btn-active-border-color:#0d6efd;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#0d6efd;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0d6efd;--bs-gradient:none}.btn-outline-secondary{--bs-btn-color:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#6c757d;--bs-btn-hover-border-color:#6c757d;--bs-btn-focus-shadow-rgb:108, 117, 125;--bs-btn-active-color:#fff;--bs-btn-active-bg:#6c757d;--bs-btn-active-border-color:#6c757d;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#6c757d;--bs-gradient:none}.btn-outline-success{--bs-btn-color:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#198754;--bs-btn-hover-border-color:#198754;--bs-btn-focus-shadow-rgb:25, 135, 84;--bs-btn-active-color:#fff;--bs-btn-active-bg:#198754;--bs-btn-active-border-color:#198754;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#198754;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#198754;--bs-gradient:none}.btn-outline-info{--bs-btn-color:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#0dcaf0;--bs-btn-hover-border-color:#0dcaf0;--bs-btn-focus-shadow-rgb:13, 202, 240;--bs-btn-active-color:#000;--bs-btn-active-bg:#0dcaf0;--bs-btn-active-border-color:#0dcaf0;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#0dcaf0;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0dcaf0;--bs-gradient:none}.btn-outline-warning{--bs-btn-color:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffc107;--bs-btn-hover-border-color:#ffc107;--bs-btn-focus-shadow-rgb:255, 193, 7;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffc107;--bs-btn-active-border-color:#ffc107;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#ffc107;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#ffc107;--bs-gradient:none}.btn-outline-danger{--bs-btn-color:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#dc3545;--bs-btn-hover-border-color:#dc3545;--bs-btn-focus-shadow-rgb:220, 53, 69;--bs-btn-active-color:#fff;--bs-btn-active-bg:#dc3545;--bs-btn-active-border-color:#dc3545;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#dc3545;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#dc3545;--bs-gradient:none}.btn-outline-light{--bs-btn-color:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#f8f9fa;--bs-btn-hover-border-color:#f8f9fa;--bs-btn-focus-shadow-rgb:248, 249, 250;--bs-btn-active-color:#000;--bs-btn-active-bg:#f8f9fa;--bs-btn-active-border-color:#f8f9fa;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#f8f9fa;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#f8f9fa;--bs-gradient:none}.btn-outline-dark{--bs-btn-color:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#212529;--bs-btn-hover-border-color:#212529;--bs-btn-focus-shadow-rgb:33, 37, 41;--bs-btn-active-color:#fff;--bs-btn-active-bg:#212529;--bs-btn-active-border-color:#212529;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#212529;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#212529;--bs-gradient:none}.btn-link{--bs-btn-font-weight:400;--bs-btn-color:var(--bs-link-color);--bs-btn-bg:transparent;--bs-btn-border-color:transparent;--bs-btn-hover-color:var(--bs-link-hover-color);--bs-btn-hover-border-color:transparent;--bs-btn-active-color:var(--bs-link-hover-color);--bs-btn-active-border-color:transparent;--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-border-color:transparent;--bs-btn-box-shadow:0 0 0 #000;--bs-btn-focus-shadow-rgb:49, 132, 253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-lg{--bs-btn-padding-y:0.5rem;--bs-btn-padding-x:1rem;--bs-btn-font-size:1.25rem;--bs-btn-border-radius:var(--bs-border-radius-lg)}.btn-sm{--bs-btn-padding-y:0.25rem;--bs-btn-padding-x:0.5rem;--bs-btn-font-size:0.875rem;--bs-btn-border-radius:var(--bs-border-radius-sm)}:host{font-family:system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;display:block}*::part(label){color:var(--jfi-form-label-color);font-family:var(--jfi-form-label-font-family);font-weight:var(--jfi-form-label-font-weight);font-size:var(--jfi-form-label-font-size);margin:var(--jfi-form-label-margin)}*::part(input){font-family:var(--jfi-layout-font-family);background-color:var(--jfi-form-control-background-color);border-color:var(--jfi-form-control-border-color);border-width:var(--jfi-form-control-border-width);border-bottom-width:var(--jfi-form-control-border-bottom-width);border-left-width:var(--jfi-form-control-border-left-width);border-right-width:var(--jfi-form-control-border-right-width);border-top-width:var(--jfi-form-control-border-top-width);border-radius:var(--jfi-form-control-border-radius);border-style:var(--jfi-form-control-border-style);box-shadow:var(--jfi-form-control-box-shadow);color:var(--jfi-form-control-color);font-size:var(--jfi-form-control-font-size);font-weight:var(--jfi-form-control-font-weight);line-height:var(--jfi-form-control-line-height);margin:var(--jfi-form-control-margin);padding:var(--jfi-form-control-padding)}*::part(input):focus{color:var(--jfi-form-control-color-focus);border-color:var(--jfi-form-control-border-color-focus);box-shadow:var(--jfi-form-control-box-shadow-focus)}*::part(input-invalid){border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error)}*::part(input-invalid):focus{border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error-focus)}";
|
|
151
|
-
|
|
152
|
-
const BusinessGenericInfo = /*@__PURE__*/ proxyCustomElement(class BusinessGenericInfo extends HTMLElement {
|
|
153
|
-
constructor() {
|
|
154
|
-
super();
|
|
155
|
-
this.__registerHost();
|
|
156
|
-
this.formController = undefined;
|
|
157
|
-
this.errors = {};
|
|
158
|
-
this.genericInfo = {};
|
|
159
|
-
this.inputHandler = this.inputHandler.bind(this);
|
|
160
|
-
}
|
|
161
|
-
componentDidLoad() {
|
|
162
|
-
this.formController.values.subscribe(values => (this.genericInfo = Object.assign({}, new CoreBusinessInfo(values))));
|
|
163
|
-
this.formController.errors.subscribe(errors => {
|
|
164
|
-
this.errors = Object.assign({}, errors);
|
|
165
|
-
});
|
|
166
|
-
}
|
|
167
|
-
inputHandler(name, value) {
|
|
168
|
-
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
|
|
169
|
-
}
|
|
170
|
-
render() {
|
|
171
|
-
const genericInfoDefaultValue = this.formController.getInitialValues();
|
|
172
|
-
return (h(Host, { exportparts: "label,input,input-invalid" }, h("fieldset", null, h("legend", null, "General Info"), h("hr", null), h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "legal_name", label: "Legal Name", defaultValue: genericInfoDefaultValue.legal_name, error: this.errors.legal_name, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: genericInfoDefaultValue.doing_business_as, error: this.errors.doing_business_as, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-6" }, h("form-control-select", { name: "business_type", label: "Business Type", options: BusinessTypeOptions, defaultValue: genericInfoDefaultValue.business_type, error: this.errors.business_type, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-6" }, h("form-control-select", { name: "business_structure", label: "Business Structure", options: BusinessStructureOptions, defaultValue: genericInfoDefaultValue.business_structure, error: this.errors.business_structure, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: "industry", label: "Industry", defaultValue: genericInfoDefaultValue.industry, error: this.errors.industry, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-number-masked", { name: "tax_id", label: "Tax ID", defaultValue: genericInfoDefaultValue.tax_id, error: this.errors.tax_id, inputHandler: this.inputHandler, mask: TAX_ID_MASKS.US })), h("div", { class: "col-12" }, h("form-control-text", { name: "website_url", label: "Website URL", defaultValue: genericInfoDefaultValue.website_url, error: this.errors.website_url, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "email", label: "Email Address", defaultValue: genericInfoDefaultValue.email, error: this.errors.email, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-6" }, h("form-control-number-masked", { name: "phone", label: "Phone Number", defaultValue: genericInfoDefaultValue.phone, error: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
|
|
173
|
-
}
|
|
174
|
-
static get style() { return businessGenericInfoCss; }
|
|
175
|
-
}, [0, "justifi-business-generic-info", {
|
|
176
|
-
"formController": [16],
|
|
177
|
-
"errors": [32],
|
|
178
|
-
"genericInfo": [32]
|
|
179
|
-
}]);
|
|
180
|
-
function defineCustomElement() {
|
|
181
|
-
if (typeof customElements === "undefined") {
|
|
182
|
-
return;
|
|
183
|
-
}
|
|
184
|
-
const components = ["justifi-business-generic-info", "form-control-number-masked", "form-control-select", "form-control-text"];
|
|
185
|
-
components.forEach(tagName => { switch (tagName) {
|
|
186
|
-
case "justifi-business-generic-info":
|
|
187
|
-
if (!customElements.get(tagName)) {
|
|
188
|
-
customElements.define(tagName, BusinessGenericInfo);
|
|
189
|
-
}
|
|
190
|
-
break;
|
|
191
|
-
case "form-control-number-masked":
|
|
192
|
-
if (!customElements.get(tagName)) {
|
|
193
|
-
defineCustomElement$3();
|
|
194
|
-
}
|
|
195
|
-
break;
|
|
196
|
-
case "form-control-select":
|
|
197
|
-
if (!customElements.get(tagName)) {
|
|
198
|
-
defineCustomElement$2();
|
|
199
|
-
}
|
|
200
|
-
break;
|
|
201
|
-
case "form-control-text":
|
|
202
|
-
if (!customElements.get(tagName)) {
|
|
203
|
-
defineCustomElement$1();
|
|
204
|
-
}
|
|
205
|
-
break;
|
|
206
|
-
} });
|
|
207
|
-
}
|
|
208
|
-
defineCustomElement();
|
|
209
|
-
|
|
210
|
-
export { BusinessGenericInfo as B, businessFormSchema as b, defineCustomElement as d };
|