@adyen/kyc-components 4.28.0-beta.0 → 4.28.0-beta.2
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/{AcceptTermsOfServiceWorkflow-BHLj18cI.js → AcceptTermsOfServiceWorkflow-Be-e8pF_.js} +1 -1
- package/dist/{AccountSetupRejected-DrzCd1ET.js → AccountSetupRejected-BGfF7hle.js} +1 -1
- package/dist/{AdaptiveWorkflow-DmZF4G5t.js → AdaptiveWorkflow-aM_fyYfd.js} +20 -20
- package/dist/{AdaptiveWorkflowComponent-Bv5fIffv.js → AdaptiveWorkflowComponent-DvhXVdFs.js} +2 -2
- package/dist/{AddressFields-CF-UaSiA.js → Address-BrGQ-519.js} +15 -15
- package/dist/{BusinessFinancingDropin-DxUscJnz.js → BusinessFinancingDropin-Bgg_7bb2.js} +22 -22
- package/dist/{BusinessFinancingPage-aNSrpxqt.js → BusinessFinancingPage-BlABPwhd.js} +2 -2
- package/dist/{BusinessRegistrationNumberField-ByWbtuPm.js → BusinessRegistrationNumberField-VltO-NYx.js} +5 -5
- package/dist/{BusinessRegistrationNumberFieldGroup-BsaKq6cn.js → BusinessRegistrationNumberFieldGroup-Dv6BDmMB.js} +5 -5
- package/dist/{BusinessTypeSelectionPage-C8BtZX8K.js → BusinessTypeSelectionPage-C228n5L8.js} +11 -11
- package/dist/{Checkbox-Ec4wyyJQ.js → Checkbox-qmfi_XIo.js} +2 -2
- package/dist/{ComponentGroup-DnbvXojQ.js → ComponentGroup-CYKRwp_O.js} +1 -1
- package/dist/{ConstitutionalDocument-B4rf4Lt3.js → ConstitutionalDocument-amr_KQ4y.js} +131 -125
- package/dist/{ContactDetails-CZgDXYqx.js → ContactDetails-BOsIRVqJ.js} +5 -5
- package/dist/{ContextGuidance-C8FlwEPA.js → ContextGuidance-BXm2eIOy.js} +2 -2
- package/dist/{CountryField-8KwVjSwx.js → CountryField-CrMa4ivD.js} +3 -3
- package/dist/{Currency-DyE49bKs.js → Currency-l31xe6JM.js} +6 -6
- package/dist/{CustomerSupport-CvTI3Snc.js → CustomerSupport-D2jBxiF7.js} +12 -12
- package/dist/{DateField-l6H-nmfS.js → DateField-BgmwaY3C.js} +4 -4
- package/dist/{DebugModal-xkdniRzn.js → DebugModal-BlIi2HLj.js} +6 -6
- package/dist/{DecisionMakerDetails-CykBZZ9U.js → DecisionMakerDetails-jLcZ7TL2.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-BnjOq-R1.js → DecisionMakerDetailsPage-BFJYqKEE.js} +5 -5
- package/dist/{DecisionMakers-B-4h5Vw_.js → DecisionMakers-CxKzZBAH.js} +11 -11
- package/dist/{Dropzone-D7Z9PsqG.js → Dropzone-bgeKnb5I.js} +5 -5
- package/dist/{EmailField-B-g3-z2A.js → EmailField-Bu-zlqHj.js} +4 -4
- package/dist/{EntityAssociation-CPRU3Nzl.js → EntityAssociation-CiZRBefO.js} +3 -3
- package/dist/{ErrorPanel-DUI1R5Sq.js → ErrorPanel-CBmxfydA.js} +2 -2
- package/dist/{GlobalEntryModal-Fszy2PMv.js → GlobalEntryModal-BdBW0KQQ.js} +17 -16
- package/dist/{GlobalEntryPage-GMRCmYj1.js → GlobalEntryPage-rC5GlvG_.js} +4 -4
- package/dist/{IdentityNumber-M8NzdW3O.js → IdentityNumber-CEJJ12gt.js} +4 -4
- package/dist/{IdentityNumberFieldGroup-nOlB5kOW.js → IdentityNumberFieldGroup-CZfyC-Uk.js} +3 -3
- package/dist/{IdentityScreeningWorkflow-kYczDRbc.js → IdentityScreeningWorkflow-BCSAk8rF.js} +8 -8
- package/dist/{IndividualDropin-C9bKZu8q.js → IndividualDropin-sjM2hszP.js} +99 -138
- package/dist/{IndustryCodeFieldGroup-ULwwyMfV.js → IndustryCodeFieldGroup-DYalt7iN.js} +4 -4
- package/dist/{InputDate-fc3bdvdZ.js → InputDate-C1Q3XDFU.js} +4 -4
- package/dist/{Introduction-BymKbaBE.js → Introduction-DMxhsL3f.js} +5 -5
- package/dist/{InvitedDecisionMakerComponent-CLBrLaip.js → InvitedDecisionMakerComponent-DyfllTrf.js} +7 -7
- package/dist/{JpAddressFields-Dhe_cQhr.js → JpAddress-eN7gCiZX.js} +13 -13
- package/dist/{LegalCompanyNameField-Ch1VrlJs.js → LegalCompanyNameField-hsrxQFKc.js} +4 -4
- package/dist/{LegalRepresentativeDetailsPage-ZsBdOW-Y.js → LegalRepresentativeDetailsPage-DWWgUBxS.js} +3 -3
- package/dist/{Name-r1ugrnWU.js → Name-X_kAmtWn.js} +3 -3
- package/dist/{NumberField-DzM3ge0J.js → NumberField-DZon5iLa.js} +3 -3
- package/dist/{PatriotActDisclosure-O5TlzUXU.js → PatriotActDisclosure-DsSoSucu.js} +9 -9
- package/dist/{PayoutDetailsDropin-J0pS_4a9.js → PayoutDetailsDropin-ARFbf1mK.js} +22 -22
- package/dist/{PayoutDetailsPage-COLJyIQ-.js → PayoutDetailsPage-yToj25iO.js} +4 -4
- package/dist/{RadioGroup-SDQSOsEf.js → RadioGroup-Di2A9RNN.js} +2 -2
- package/dist/{Review-PhQYqPF4.js → Review-lUkK6MwE.js} +5 -5
- package/dist/{RootBusinessDetailsPage-BI7ryRjt.js → RootBusinessDetailsPage-ZxdONb8B.js} +2 -2
- package/dist/{RootBusinessLinesPage-mvoHQZD_.js → RootBusinessLinesPage-Baet_8as.js} +17 -17
- package/dist/{RootIndividualDetailsPage-Cpm0vnKV.js → RootIndividualDetailsPage-BtcFOmeC.js} +3 -3
- package/dist/{Select-DtO-GvLp.js → Select-Cbxz27iA.js} +3 -3
- package/dist/{SignPCIComponent-Dvmu4-hc.js → SignPCIComponent-B1itIk9F.js} +10 -10
- package/dist/{SingpassSelection-np9ZfMrZ.js → SingpassSelection-BBA3x8Ek.js} +4 -4
- package/dist/{SoleProprietorshipPage-CwKtif4U.js → SoleProprietorshipPage-D6yrh1Uz.js} +2 -2
- package/dist/{SourceOfFundsPage-waLLSQf2.js → SourceOfFundsPage-Bb67iz0x.js} +18 -18
- package/dist/{SourceOfFundsWorkflow-Cat3HvUT.js → SourceOfFundsWorkflow-BJ9h5nc9.js} +1 -1
- package/dist/{StateField-DxKg7Ea-.js → StateField-BxWm98Tj.js} +9 -9
- package/dist/{Step-ZD1CeO4b.js → Step-BRmpSabH.js} +3 -3
- package/dist/{Summary-BJnh9lZz.js → Summary-BcIbpAPH.js} +1 -1
- package/dist/{SummarySection-D91P7H2B.js → SummarySection-DnHHb-mJ.js} +2 -2
- package/dist/{Task-_WDQUdM0.js → Task-BG_dxQ2R.js} +4 -4
- package/dist/{TaskGroup-C20Kri7W.js → TaskGroup-DEPNWcDV.js} +2 -2
- package/dist/{TaskListItem-BRTxzrek.js → TaskListItem-DpKBxP1U.js} +5 -5
- package/dist/TaxInformationField-Bi3pbDh_.js +259 -0
- package/dist/{TaxInformationFieldGroup-BiNe6-D4.js → TaxInformationFieldGroup-CrXPGmyZ.js} +7 -7
- package/dist/{TaxReportingDropin-DuZpEzKn.js → TaxReportingDropin-CWBoGi-F.js} +11 -11
- package/dist/{TaxReportingWorkflow-CMhxj0jx.js → TaxReportingWorkflow-DTB8F3cy.js} +1 -1
- package/dist/{TermsOfServiceManagement-Cp6-BOaT.js → TermsOfServiceManagement-nu7MYGFM.js} +9 -9
- package/dist/{TextArea-DD-KMQbg.js → TextArea-CweAdV3F.js} +3 -3
- package/dist/{TextField-Bdu0Wm6_.js → TextField-1RHuuIFu.js} +4 -4
- package/dist/{TrustDetailsPage-IGLuJZUE.js → TrustDetailsPage-C2921KNk.js} +23 -22
- package/dist/{TrustMemberCompanyPage-CNIDzOte.js → TrustMemberCompanyPage-C42UF9Wh.js} +4 -4
- package/dist/{TrustMemberIndividualPage-Q_IDqWsr.js → TrustMemberIndividualPage-C924EwDD.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-B2EtfK6g.js → TrustMemberRoleAndTypePage-Dm_RyCCU.js} +19 -19
- package/dist/{TrustMembersOverview-hDVqCUbB.js → TrustMembersOverview-D9LIDqH0.js} +10 -10
- package/dist/{UboTaskItem-Bt45kkQu.js → UboTaskItem-Bu4PYMxQ.js} +3 -3
- package/dist/{UnincorporatedPartnershipIndividualPage-hkrLvEZw.js → UnincorporatedPartnershipIndividualPage-BcrmCuUV.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-B8e9E2t2.js → UnincorporatedPartnershipMemberCompanyPage-BkUvuiG8.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Rey_F44n.js → UnincorporatedPartnershipMemberRoleAndTypePage-BLvqAXNn.js} +9 -9
- package/dist/{UnincorporatedPartnershipMembersOverview-DPO8TjP4.js → UnincorporatedPartnershipMembersOverview-kTIfytG_.js} +5 -5
- package/dist/{VerificationErrorAlert-Lim_NsJO.js → VerificationErrorAlert-DKPgv09S.js} +2 -2
- package/dist/{WebsiteField-BLgq-_me.js → WebsiteField-9tvLajQV.js} +4 -4
- package/dist/{Workflow-CnkirZOn.js → Workflow-DFNvXzVW.js} +3 -3
- package/dist/{accountHolderUtils-D6wEBsLQ.js → accountHolderUtils-Cga0JXlL.js} +1 -1
- package/dist/adyen-business-financing.js +3 -3
- package/dist/adyen-individual-configuration.js +3 -3
- package/dist/adyen-individual-status.js +1 -1
- package/dist/adyen-invited-decision-maker.js +2 -2
- package/dist/adyen-onboarding.js +18 -18
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +1 -1
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +6 -6
- package/dist/adyen-verification-status.js +1 -1
- package/dist/{bafinUtils-TT8a0y7q.js → bafinUtils-Dxa3eJnZ.js} +10 -257
- package/dist/{constants-DsYpJv_6.js → constants-BgGlk1x-.js} +3 -3
- package/dist/{dropinUtils-CZuO0w1x.js → dropinUtils-5RadTVG9.js} +5 -5
- package/dist/{error-DBn4_qws.js → error-D0RXQj2N.js} +2 -2
- package/dist/{fieldConfig-Dh_qmAto.js → fieldConfig-xaGvx64s.js} +1 -1
- package/dist/{formatDataForSummary-oC9odBCW.js → formatDataForSummary-sQzHQFug.js} +127 -15
- package/dist/{formatValidationError-BsRC83kl.js → formatValidationError-Dy9gejj2.js} +1 -1
- package/dist/{getDefaultRegistrationNumberType-t926T5FG.js → getDefaultRegistrationNumberType-HWiiKcO3.js} +5 -5
- package/dist/{getValidationError-CXILdPw6.js → getValidationError-a_976vi9.js} +1 -1
- package/dist/{invalidateRootLegalEntity-CnH38v8h.js → invalidateRootLegalEntity-DBGrep1S.js} +1 -1
- package/dist/mapAddressLocalizationToJpAddressSchema-CT6eGqwa.js +39 -0
- package/dist/{mapExistingFile-CqbTLZ6i.js → mapExistingFile-CLSPk17k.js} +1 -1
- package/dist/{mapTransferInstrumentToPayoutAccount-Bet2QLgn.js → mapTransferInstrumentToPayoutAccount-DMhDNc2L.js} +1 -1
- package/dist/{processValidationErrors-B-A5EFGo.js → processValidationErrors-gryOf4Fj.js} +2 -2
- package/dist/{registerEmbed-CZDAZwKX.js → registerEmbed-TZ9ArAAB.js} +7 -7
- package/dist/{roleMetadata-DR0IBuky.js → roleMetadata-pBX4Alj3.js} +2 -2
- package/dist/types/api/address/useAddressCleanse.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/VerifiedBusinessCard/VerifiedBusinessCard.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +1 -1
- package/dist/types/components/Business/utils/buildRequiredForms.d.ts +1 -0
- package/dist/types/components/Business/utils/isEligibleForReducedBusinessDetailsFlow.d.ts +15 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +1 -1
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +1 -1
- package/dist/types/components/Individual/forms/IdVerificationMethod/individualConflictsSchema.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +7 -1
- package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +18 -0
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualSummary.d.ts +4 -1
- package/dist/types/components/Individual/utils/formatDataForSummary.d.ts +4 -1
- package/dist/types/components/Shared/{forms/Address/AddressFields.d.ts → fields/Address/Address.d.ts} +2 -2
- package/dist/types/components/Shared/fields/{RegistrationAndOperationalAddressFields → Address/RegistrationAndOperationalAddressFields}/RegistrationAndOperationalAddressFields.d.ts +7 -1
- package/dist/types/components/Shared/fields/{RegistrationAndOperationalAddressFields → Address/RegistrationAndOperationalAddressFields}/types.d.ts +5 -5
- package/dist/types/components/Shared/fields/{RegistrationAndOperationalAddressFields → Address/RegistrationAndOperationalAddressFields}/utils.d.ts +2 -2
- package/dist/types/components/Shared/{forms → fields}/Address/SearchAddress.d.ts +1 -1
- package/dist/types/components/Shared/fields/Address/localized/jp/JpAddress.d.ts +2 -0
- package/dist/types/components/Shared/{forms → fields}/Address/localized/jp/mapAddressLocalizationToJpAddressSchema.d.ts +1 -1
- package/dist/types/components/Shared/{forms → fields}/Address/localized/jp/mapJpAddressSchemaToAddressLocalizations.d.ts +1 -1
- package/dist/types/components/Shared/{forms → fields}/Address/localized/jp/mapJpAddressSummary.d.ts +1 -1
- package/dist/types/components/Shared/{forms → fields}/Address/rules.d.ts +1 -1
- package/dist/types/components/Shared/{forms → fields}/Address/types.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/forms.d.ts +1 -1
- package/dist/types/components/Trust/forms/TrustRegistrationAddress/types.d.ts +1 -1
- package/dist/types/utils/addressToString.d.ts +1 -1
- package/dist/{unincorporatedPartnership-B5pKn0gl.js → unincorporatedPartnership-DsneX1hY.js} +1 -1
- package/dist/{useBusinessDetailsData-CPzTltvn.js → useBusinessDetailsData-Bc_E4Xil.js} +78 -41
- package/dist/{useCanSeeIntroduction-Cnuh14Cr.js → useCanSeeIntroduction-RI4wFjW9.js} +2 -2
- package/dist/{useForm-B2fQ78Se.js → useForm-C3lG_s-c.js} +2 -2
- package/dist/{useId-AzWxLa17.js → useId-Cot-htyS.js} +1 -1
- package/dist/{useNavigate-Bx6F2ghI.js → useNavigate-BAkzuA3A.js} +32 -32
- package/dist/{useSalesChannels-Db_8bYBY.js → useSalesChannels-vbuU4JFd.js} +1 -1
- package/dist/{useSaveForLater-BQio20Zg.js → useSaveForLater-CT5C_u8v.js} +3 -3
- package/dist/{useTaskLandedEvent-DdeWh_nV.js → useTaskLandedEvent-J-MdMD4n.js} +1 -1
- package/dist/{useTrustMembers-CqeR9IVN.js → useTrustMembers-SGPMEcnS.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-WOJzF2NV.js → useUnincorporatedPartnershipMembers-CdbgUMUI.js} +2 -2
- package/dist/{utils-BfA0Rrku.js → utils-DPqmuHDt.js} +1 -1
- package/dist/{utils-8yLC-qJv.js → utils-SRtPrNOg.js} +1 -1
- package/dist/{utils-AnusXLKP.js → utils-szr8jBGQ.js} +3 -3
- package/dist/{validate-Bcw1m17m.js → validate-BiZvmxlT.js} +2 -2
- package/dist/{validate-DSR31SH8.js → validate-CmvKoxYM.js} +15 -10
- package/dist/{validate-CxL6_omc.js → validate-Dc6tnt1l.js} +2 -2
- package/dist/{validate-Bf1SBTiG.js → validate-DxoJtDwQ.js} +3 -3
- package/dist/{validateExtractionResult-BD0Vu-XF.js → validateExtractionResult-D8JAU47X.js} +1 -1
- package/package.json +1 -1
- package/dist/mapAddressLocalizationToJpAddressSchema-D8qKuElS.js +0 -26
- package/dist/mapJpAddressSchemaToAddressLocalizations-myaH4YTR.js +0 -19
- package/dist/types/components/Shared/forms/Address/localized/jp/JpAddressFields.d.ts +0 -2
- /package/dist/types/components/Shared/{forms → fields}/Address/AddressField.d.ts +0 -0
- /package/dist/types/components/Shared/{forms → fields}/Address/SearchAddressItem.d.ts +0 -0
- /package/dist/types/components/Shared/{forms → fields}/Address/constants.d.ts +0 -0
- /package/dist/types/components/Shared/{forms → fields}/Address/localized/jp/ReadonlyTextField.d.ts +0 -0
- /package/dist/types/components/Shared/{forms → fields}/Address/utils.d.ts +0 -0
- /package/dist/types/components/Shared/{forms → fields}/Address/validate.d.ts +0 -0
- /package/dist/types/components/Shared/{forms → fields}/Address/validate.formats.d.ts +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "848fdeb4-a2f2-410b-9b58-9b78900f73dc", e._sentryDebugIdIdentifier = "sentry-dbid-848fdeb4-a2f2-410b-9b58-9b78900f73dc");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { N as Header, P as _rolldown_dynamic_import_helper_default, T as Alert } from "./registerEmbed-
|
|
6
|
+
import { N as Header, P as _rolldown_dynamic_import_helper_default, T as Alert } from "./registerEmbed-TZ9ArAAB.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
8
|
import { t as Icon } from "./Icon-D2IGgB2L.js";
|
|
9
9
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
@@ -16,31 +16,31 @@ import { a as objectsDeepEqual } from "./genUtils-nphCwt1A.js";
|
|
|
16
16
|
import { t as StackLayout } from "./StackLayout-J1ynSX-P.js";
|
|
17
17
|
import { n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
|
|
18
18
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
19
|
-
import { t as Checkbox } from "./Checkbox-
|
|
20
|
-
import { a as useAnalyticsContext, n as Modal } from "./useId-
|
|
21
|
-
import { r as InputText, t as RadioGroup } from "./RadioGroup-
|
|
19
|
+
import { t as Checkbox } from "./Checkbox-qmfi_XIo.js";
|
|
20
|
+
import { a as useAnalyticsContext, n as Modal } from "./useId-Cot-htyS.js";
|
|
21
|
+
import { r as InputText, t as RadioGroup } from "./RadioGroup-Di2A9RNN.js";
|
|
22
22
|
import { t as useBusinessLines } from "./useBusinessLines-0FcuDMzo.js";
|
|
23
23
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
24
|
-
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-
|
|
25
|
-
import { l as LandingLayout, n as Image } from "./unincorporatedPartnership-
|
|
24
|
+
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-DBGrep1S.js";
|
|
25
|
+
import { l as LandingLayout, n as Image } from "./unincorporatedPartnership-DsneX1hY.js";
|
|
26
26
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-FHk416BA.js";
|
|
27
27
|
import { t as Avatar } from "./Avatar-BBJO6JWY.js";
|
|
28
|
-
import { o as Field, t as Select } from "./Select-
|
|
29
|
-
import { o as StructuredList, r as formatObject, s as Confirm } from "./utils-
|
|
30
|
-
import { h as useUpdateLegalEntity, m as isEmpty } from "./StateField-
|
|
31
|
-
import { H as FormContextProvider, I as useMultiForm, c as CountryField, g as createFormUtils, l as getValidationErrorDisplayMessages, n as getRequiredForms, t as addValidityToForms, v as useFormContext, y as FormFlow, z as useFormComposer } from "./dropinUtils-
|
|
32
|
-
import {
|
|
28
|
+
import { o as Field, t as Select } from "./Select-Cbxz27iA.js";
|
|
29
|
+
import { o as StructuredList, r as formatObject, s as Confirm } from "./utils-DPqmuHDt.js";
|
|
30
|
+
import { h as useUpdateLegalEntity, m as isEmpty } from "./StateField-BxWm98Tj.js";
|
|
31
|
+
import { H as FormContextProvider, I as useMultiForm, c as CountryField, g as createFormUtils, l as getValidationErrorDisplayMessages, n as getRequiredForms, t as addValidityToForms, v as useFormContext, y as FormFlow, z as useFormComposer } from "./dropinUtils-5RadTVG9.js";
|
|
32
|
+
import { U as TileGroup } from "./bafinUtils-Dxa3eJnZ.js";
|
|
33
33
|
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-CgzVD39K.js";
|
|
34
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
34
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-J-MdMD4n.js";
|
|
35
35
|
import { n as documentApiUtils, t as createDocumentRequest } from "./documentUtils-6K3LdjjN.js";
|
|
36
|
-
import { t as InputDate } from "./InputDate-
|
|
37
|
-
import { t as ErrorPanel } from "./ErrorPanel-
|
|
38
|
-
import { t as TextArea } from "./TextArea-
|
|
39
|
-
import { t as Dropzone } from "./Dropzone-
|
|
36
|
+
import { t as InputDate } from "./InputDate-C1Q3XDFU.js";
|
|
37
|
+
import { t as ErrorPanel } from "./ErrorPanel-CBmxfydA.js";
|
|
38
|
+
import { t as TextArea } from "./TextArea-CweAdV3F.js";
|
|
39
|
+
import { t as Dropzone } from "./Dropzone-bgeKnb5I.js";
|
|
40
40
|
import { t as InputGroup } from "./InputGroup-Bv005B22.js";
|
|
41
41
|
import { t as localizeDateString } from "./localizeDateString-Dxlqr4rL.js";
|
|
42
42
|
import { t as Currencies } from "./currency-DQwXq9Mc.js";
|
|
43
|
-
import { n as validateDateNotInTheFuture } from "./validate-
|
|
43
|
+
import { n as validateDateNotInTheFuture } from "./validate-Dc6tnt1l.js";
|
|
44
44
|
import { t as useTaskStatus } from "./useTaskStatus-4nAPf_uD.js";
|
|
45
45
|
import { t as formatAmountWithCurrency } from "./formatCurrency-BetgkQKi.js";
|
|
46
46
|
import { lazy } from "preact/compat";
|
|
@@ -5,7 +5,7 @@ try {
|
|
|
5
5
|
import { t as EndStateLayout } from "./EndStateLayout-CBzxX67s.js";
|
|
6
6
|
import { t as useTaskStepperContext } from "./useTaskStepperContext-DCNMsKUc.js";
|
|
7
7
|
import { t as useHideTaskStepper } from "./useHideTaskStepper-DvHXw3zd.js";
|
|
8
|
-
import { SourceOfFundsPage } from "./SourceOfFundsPage-
|
|
8
|
+
import { SourceOfFundsPage } from "./SourceOfFundsPage-Bb67iz0x.js";
|
|
9
9
|
import { jsx } from "preact/jsx-runtime";
|
|
10
10
|
//#region src/adaptiveWorkflow/components/Layout/Steps/SourceOfFundsWorkflow.tsx
|
|
11
11
|
var SourceOfFundsWorkflow = ({ node }) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "256de0df-b7ba-414d-8676-77c05dedc7ae", e._sentryDebugIdIdentifier = "sentry-dbid-256de0df-b7ba-414d-8676-77c05dedc7ae");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { D as useDataset, O as datasetIdentifier } from "./registerEmbed-
|
|
6
|
+
import { D as useDataset, O as datasetIdentifier } from "./registerEmbed-TZ9ArAAB.js";
|
|
7
7
|
import { r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
8
8
|
import { s as keysOf } from "./genUtils-nphCwt1A.js";
|
|
9
9
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
10
|
-
import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-
|
|
11
|
-
import { o as Field, t as Select } from "./Select-
|
|
12
|
-
import { E as validateNotEmptyOnBlur } from "./dropinUtils-
|
|
10
|
+
import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-DBGrep1S.js";
|
|
11
|
+
import { o as Field, t as Select } from "./Select-Cbxz27iA.js";
|
|
12
|
+
import { E as validateNotEmptyOnBlur } from "./dropinUtils-5RadTVG9.js";
|
|
13
13
|
import { jsx } from "preact/jsx-runtime";
|
|
14
14
|
import { useMutation, useQueryClient } from "@tanstack/preact-query";
|
|
15
15
|
//#region src/api/legalEntity/useUpdateLegalEntity.ts
|
|
@@ -46,7 +46,7 @@ var isJapanLocalizationEnabled = (isSettingEnabled = () => false, country) => {
|
|
|
46
46
|
return country === CountryCodes.Japan && isSettingEnabled("enableJapanLocalization");
|
|
47
47
|
};
|
|
48
48
|
//#endregion
|
|
49
|
-
//#region src/components/Shared/
|
|
49
|
+
//#region src/components/Shared/fields/Address/constants.ts
|
|
50
50
|
/** Just a full list of known address field names, useful if you need to iterate over some unknown data obj */
|
|
51
51
|
var addressFields = [
|
|
52
52
|
"street",
|
|
@@ -227,7 +227,7 @@ var LABELS = {
|
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
//#endregion
|
|
230
|
-
//#region src/components/Shared/
|
|
230
|
+
//#region src/components/Shared/fields/Address/localized/jp/mapJpAddressSummary.tsx
|
|
231
231
|
/**
|
|
232
232
|
* Stacks the scripts a field was given in, skipping the ones it was not. Returns nothing when the
|
|
233
233
|
* field is empty in every script, so the caller can leave the row out rather than render a label
|
|
@@ -250,7 +250,7 @@ var mapJpAddressSummary = (data, datasetUtils) => {
|
|
|
250
250
|
};
|
|
251
251
|
};
|
|
252
252
|
//#endregion
|
|
253
|
-
//#region src/components/Shared/
|
|
253
|
+
//#region src/components/Shared/fields/Address/rules.ts
|
|
254
254
|
/**
|
|
255
255
|
* Handling for fields with version/feature-specific requirements that need to be removed
|
|
256
256
|
* even if in the schema for a particular country.
|
|
@@ -287,7 +287,7 @@ function addressFieldRule({ field, country, isSettingEnabled, version, isOperati
|
|
|
287
287
|
return "REQUIRED";
|
|
288
288
|
}
|
|
289
289
|
//#endregion
|
|
290
|
-
//#region src/components/Shared/
|
|
290
|
+
//#region src/components/Shared/fields/Address/utils.ts
|
|
291
291
|
/**
|
|
292
292
|
* Returns the key for a field of the passed country or the default key for that field.
|
|
293
293
|
* @param fieldName - The data to pre-fill the address fields
|
|
@@ -3,12 +3,12 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b67edb96-9a2d-4694-a5af-a065f2615dc9", e._sentryDebugIdIdentifier = "sentry-dbid-b67edb96-9a2d-4694-a5af-a065f2615dc9");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { N as Header } from "./registerEmbed-
|
|
6
|
+
import { N as Header } from "./registerEmbed-TZ9ArAAB.js";
|
|
7
7
|
import { s as useApiContext } from "./http-C8rt2BZk.js";
|
|
8
8
|
import { t as StackLayout } from "./StackLayout-J1ynSX-P.js";
|
|
9
9
|
import { i as setNestedValue, n as getNestedValue } from "./utils-ChZNfG5_.js";
|
|
10
|
-
import { h as useUpdateLegalEntity } from "./StateField-
|
|
11
|
-
import { n as useWorkflowContext, t as NodeRenderer } from "./AdaptiveWorkflow-
|
|
10
|
+
import { h as useUpdateLegalEntity } from "./StateField-BxWm98Tj.js";
|
|
11
|
+
import { n as useWorkflowContext, t as NodeRenderer } from "./AdaptiveWorkflow-aM_fyYfd.js";
|
|
12
12
|
import { t as useAppForm } from "./formHook-Dgi2CgbT.js";
|
|
13
13
|
import { t as useTaskStepperContext } from "./useTaskStepperContext-DCNMsKUc.js";
|
|
14
14
|
import { n as useCreateBusinessLine, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-B-pF2YT-.js";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "be816df4-64af-4a73-909a-25100f010a93", e._sentryDebugIdIdentifier = "sentry-dbid-be816df4-64af-4a73-909a-25100f010a93");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { N as Header } from "./registerEmbed-
|
|
6
|
+
import { N as Header } from "./registerEmbed-TZ9ArAAB.js";
|
|
7
7
|
import { t as StackLayout } from "./StackLayout-J1ynSX-P.js";
|
|
8
8
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
9
9
|
//#region src/components/Shared/Summary/Summary.tsx
|
|
@@ -5,8 +5,8 @@ try {
|
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
6
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
7
7
|
import { n as IconButton } from "./Button-EhGM-oCO.js";
|
|
8
|
-
import { a as useAnalyticsContext } from "./useId-
|
|
9
|
-
import { B as trackNavigation, o as List } from "./dropinUtils-
|
|
8
|
+
import { a as useAnalyticsContext } from "./useId-Cot-htyS.js";
|
|
9
|
+
import { B as trackNavigation, o as List } from "./dropinUtils-5RadTVG9.js";
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
var SummarySection_module_default = {
|
|
12
12
|
"summary-header": "_summary-header_jps0f_1",
|
|
@@ -5,10 +5,10 @@ try {
|
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
6
|
import { t as Button } from "./Button-EhGM-oCO.js";
|
|
7
7
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
8
|
-
import { n as Modal } from "./useId-
|
|
9
|
-
import { t as TaskListItem } from "./TaskListItem-
|
|
10
|
-
import { b as FormFlow_module_default } from "./dropinUtils-
|
|
11
|
-
import { n as useWorkflowContext, t as NodeRenderer } from "./AdaptiveWorkflow-
|
|
8
|
+
import { n as Modal } from "./useId-Cot-htyS.js";
|
|
9
|
+
import { t as TaskListItem } from "./TaskListItem-DpKBxP1U.js";
|
|
10
|
+
import { b as FormFlow_module_default } from "./dropinUtils-5RadTVG9.js";
|
|
11
|
+
import { n as useWorkflowContext, t as NodeRenderer } from "./AdaptiveWorkflow-aM_fyYfd.js";
|
|
12
12
|
import { t as useTaskStepperContext } from "./useTaskStepperContext-DCNMsKUc.js";
|
|
13
13
|
import { t as TaskStepperContextProvider } from "./TaskStepperContextProvider-C36jSigo.js";
|
|
14
14
|
import { useCallback, useRef, useState } from "preact/hooks";
|
|
@@ -3,9 +3,9 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0651eda7-4249-4f00-b02f-334db0b3f3db", e._sentryDebugIdIdentifier = "sentry-dbid-0651eda7-4249-4f00-b02f-334db0b3f3db");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { N as Header } from "./registerEmbed-
|
|
6
|
+
import { N as Header } from "./registerEmbed-TZ9ArAAB.js";
|
|
7
7
|
import { t as StackLayout } from "./StackLayout-J1ynSX-P.js";
|
|
8
|
-
import { t as NodeRenderer } from "./AdaptiveWorkflow-
|
|
8
|
+
import { t as NodeRenderer } from "./AdaptiveWorkflow-aM_fyYfd.js";
|
|
9
9
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
10
10
|
//#region src/adaptiveWorkflow/components/Layout/TaskGroup/contextMap.ts
|
|
11
11
|
var contextMap = {
|
|
@@ -3,17 +3,17 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "aeca5b25-6faf-4fde-89c5-0cdd19d635e3", e._sentryDebugIdIdentifier = "sentry-dbid-aeca5b25-6faf-4fde-89c5-0cdd19d635e3");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { T as Alert } from "./registerEmbed-
|
|
6
|
+
import { T as Alert } from "./registerEmbed-TZ9ArAAB.js";
|
|
7
7
|
import { t as Icon } from "./Icon-D2IGgB2L.js";
|
|
8
8
|
import { n as IconButton } from "./Button-EhGM-oCO.js";
|
|
9
9
|
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-Br7t30ur.js";
|
|
10
10
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
11
|
-
import { a as useAnalyticsContext } from "./useId-
|
|
11
|
+
import { a as useAnalyticsContext } from "./useId-Cot-htyS.js";
|
|
12
12
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
13
|
-
import { t as VerificationErrorAlert } from "./VerificationErrorAlert-
|
|
13
|
+
import { t as VerificationErrorAlert } from "./VerificationErrorAlert-DKPgv09S.js";
|
|
14
14
|
import { t as Avatar } from "./Avatar-BBJO6JWY.js";
|
|
15
|
-
import { p as LoaderWrapper } from "./Select-
|
|
16
|
-
import { s as Confirm } from "./utils-
|
|
15
|
+
import { p as LoaderWrapper } from "./Select-Cbxz27iA.js";
|
|
16
|
+
import { s as Confirm } from "./utils-DPqmuHDt.js";
|
|
17
17
|
import { useState } from "preact/hooks";
|
|
18
18
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
19
19
|
//#region src/components/Apps/tasks/TaskList/TaskListItem/TaskListItem.tsx
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
try {
|
|
2
|
+
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "eba061a8-f351-492c-9c2a-8e631a75c3d6", e._sentryDebugIdIdentifier = "sentry-dbid-eba061a8-f351-492c-9c2a-8e631a75c3d6");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
+
import { vt as useAccountHolder } from "./registerEmbed-TZ9ArAAB.js";
|
|
7
|
+
import { i as useToggleContext, t as Checkbox } from "./Checkbox-qmfi_XIo.js";
|
|
8
|
+
import { a as resolveFieldMetadata } from "./unincorporatedPartnership-DsneX1hY.js";
|
|
9
|
+
import { a as translateTranslatable, o as Field } from "./Select-Cbxz27iA.js";
|
|
10
|
+
import { r as MaskedInput } from "./dropinUtils-5RadTVG9.js";
|
|
11
|
+
import { B as getTaxIdNumberSelectorOptions, _ as taxInformationDefaultFieldMetadata, d as upsertTaxInfoForCountry, f as TaxIdNumberTypeSelector, g as taxInformationDefaultFieldConfig, k as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, l as removeTaxInfoForCountry, m as exemptedFromTaxDefaultFieldMetadata, p as exemptedFromTaxDefaultFieldConfig, u as resolveTaxIdNumberType, z as getTaxIdNumberOptions } from "./bafinUtils-Dxa3eJnZ.js";
|
|
12
|
+
import { useCallback, useEffect, useLayoutEffect, useMemo, useRef } from "preact/hooks";
|
|
13
|
+
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
14
|
+
//#region src/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/findExistingTaxInformation.ts
|
|
15
|
+
/**
|
|
16
|
+
* Finds tax information for a specific country from an array of tax information objects.
|
|
17
|
+
*
|
|
18
|
+
* @param taxInformation - Array of tax information objects to search through
|
|
19
|
+
* @param country - Country code to find tax information for
|
|
20
|
+
* @returns The first matching tax information object or undefined if none found
|
|
21
|
+
*/
|
|
22
|
+
function findExistingTaxInformation(taxInformation, country) {
|
|
23
|
+
return taxInformation?.find((taxId) => taxId.country === country);
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region src/components/Shared/fields/TaxInformationField/TaxInformationField.tsx
|
|
27
|
+
var TAX_INFORMATION_FIELD = [
|
|
28
|
+
"taxInformation",
|
|
29
|
+
"exemptedFromTax",
|
|
30
|
+
"isUen"
|
|
31
|
+
];
|
|
32
|
+
/**
|
|
33
|
+
* Renders a dynamic form field for tax identification information, adapting its display
|
|
34
|
+
* and behavior based on country and company type. It supports various tax ID input
|
|
35
|
+
* scenarios, including two specialized handling for US Sole Proprietorships (where SSN option acts as exemption selection)
|
|
36
|
+
* and Singapore Companies (where registration number (UEN) can be used for tax ID).
|
|
37
|
+
*/
|
|
38
|
+
function TaxInformationField({ data, valid, errors, placeholder, readonly, optional, shouldValidate, handleChangeFor, country, canExempt, registrationNumber, entityType, defaultData }) {
|
|
39
|
+
const { isFeatureEnabled } = useToggleContext();
|
|
40
|
+
const { t } = useTranslation("common");
|
|
41
|
+
const { accountHolder } = useAccountHolder();
|
|
42
|
+
const currentCountryTaxInformation = useMemo(() => data?.taxInformation?.find((taxInfo) => taxInfo.country === country) ?? (!data.exemptedFromTax ? defaultData?.find((taxInfo) => taxInfo.country === country) : void 0), [
|
|
43
|
+
data?.taxInformation,
|
|
44
|
+
data.exemptedFromTax,
|
|
45
|
+
defaultData,
|
|
46
|
+
country
|
|
47
|
+
]);
|
|
48
|
+
const isUsSoleProp = country === "US" && entityType === "soleProprietorship";
|
|
49
|
+
const { type: savedTaxIdNumberType, isStale: isSavedTaxIdStale } = resolveTaxIdNumberType({
|
|
50
|
+
country,
|
|
51
|
+
entityType,
|
|
52
|
+
savedType: currentCountryTaxInformation?.type
|
|
53
|
+
});
|
|
54
|
+
const savedTaxIdNumber = isSavedTaxIdStale ? void 0 : currentCountryTaxInformation?.number;
|
|
55
|
+
const options = getTaxIdNumberOptions(country, entityType);
|
|
56
|
+
const showTaxIdExemptedOptions = canExempt && (options?.length ?? 0) > 1 || isUsSoleProp;
|
|
57
|
+
const canSaveAbsentState = isFeatureEnabled("EnableRegistrationAndTaxAbsentStatesV4") && COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4.includes(country) && accountHolder === "aTrust";
|
|
58
|
+
const { label: resolvedExemptionLabel } = resolveFieldMetadata(exemptedFromTaxDefaultFieldConfig[country], {}, exemptedFromTaxDefaultFieldMetadata);
|
|
59
|
+
const exemptedFromTaxLabel = t(($) => $[resolvedExemptionLabel ?? "iDontHaveATaxId"]);
|
|
60
|
+
const exemptionLabel = isUsSoleProp ? t(($) => $["socialSecurityNumber"]) : exemptedFromTaxLabel;
|
|
61
|
+
const selectorOptions = getTaxIdNumberSelectorOptions(country, entityType, showTaxIdExemptedOptions ? exemptionLabel : void 0);
|
|
62
|
+
const shouldRenderInput = isUsSoleProp ? currentCountryTaxInformation?.type === "EIN" : !data.isUen;
|
|
63
|
+
const taxIdNumberType = useMemo(() => {
|
|
64
|
+
if (data.exemptedFromTax) return "exempted";
|
|
65
|
+
if (savedTaxIdNumberType) return savedTaxIdNumberType;
|
|
66
|
+
if (isUsSoleProp) return void 0;
|
|
67
|
+
return findExistingTaxInformation(data.taxInformation, country)?.type;
|
|
68
|
+
}, [
|
|
69
|
+
country,
|
|
70
|
+
savedTaxIdNumberType,
|
|
71
|
+
data.exemptedFromTax,
|
|
72
|
+
data.taxInformation,
|
|
73
|
+
isUsSoleProp
|
|
74
|
+
]);
|
|
75
|
+
const shouldDisplayErrorOnSelector = selectorOptions.length > 1 && taxIdNumberType === void 0;
|
|
76
|
+
const selectorError = shouldDisplayErrorOnSelector ? errors.taxInformation : void 0;
|
|
77
|
+
const inputError = shouldDisplayErrorOnSelector ? void 0 : errors.taxInformation;
|
|
78
|
+
const { label, mask, guidanceText } = resolveFieldMetadata(taxInformationDefaultFieldConfig[country], {
|
|
79
|
+
taxIdNumberType: taxIdNumberType === "exempted" ? void 0 : taxIdNumberType,
|
|
80
|
+
companyType: entityType
|
|
81
|
+
}, taxInformationDefaultFieldMetadata);
|
|
82
|
+
const updateTaxInfo = useCallback((mode, newEntry) => {
|
|
83
|
+
const entry = canSaveAbsentState ? {
|
|
84
|
+
...newEntry,
|
|
85
|
+
numberAbsent: newEntry.numberAbsent ?? false
|
|
86
|
+
} : newEntry;
|
|
87
|
+
handleChangeFor("taxInformation", mode)(upsertTaxInfoForCountry(data.taxInformation, country, entry));
|
|
88
|
+
}, [
|
|
89
|
+
canSaveAbsentState,
|
|
90
|
+
country,
|
|
91
|
+
data.taxInformation,
|
|
92
|
+
handleChangeFor
|
|
93
|
+
]);
|
|
94
|
+
const updateTaxType = useCallback((type, mode) => {
|
|
95
|
+
updateTaxInfo(mode, {
|
|
96
|
+
country,
|
|
97
|
+
number: savedTaxIdNumber,
|
|
98
|
+
type
|
|
99
|
+
});
|
|
100
|
+
}, [
|
|
101
|
+
country,
|
|
102
|
+
savedTaxIdNumber,
|
|
103
|
+
updateTaxInfo
|
|
104
|
+
]);
|
|
105
|
+
const resetToDefaultData = useCallback(() => {
|
|
106
|
+
if (defaultData !== void 0) handleChangeFor("taxInformation", "input")(defaultData);
|
|
107
|
+
}, [defaultData, handleChangeFor]);
|
|
108
|
+
const removeCountryTaxInfo = useCallback(() => {
|
|
109
|
+
handleChangeFor("taxInformation", "input")(removeTaxInfoForCountry(data.taxInformation, country));
|
|
110
|
+
}, [
|
|
111
|
+
country,
|
|
112
|
+
data.taxInformation,
|
|
113
|
+
handleChangeFor
|
|
114
|
+
]);
|
|
115
|
+
const setUenAsTaxId = useCallback((uen) => {
|
|
116
|
+
updateTaxInfo("blur", {
|
|
117
|
+
country,
|
|
118
|
+
number: uen ?? "",
|
|
119
|
+
type: "UEN"
|
|
120
|
+
});
|
|
121
|
+
}, [country, updateTaxInfo]);
|
|
122
|
+
const addTaxAbsentStatus = useCallback((exempted) => {
|
|
123
|
+
handleChangeFor("taxInformation", "input")(upsertTaxInfoForCountry(data.taxInformation, country, {
|
|
124
|
+
country,
|
|
125
|
+
numberAbsent: exempted
|
|
126
|
+
}));
|
|
127
|
+
}, [
|
|
128
|
+
country,
|
|
129
|
+
data.taxInformation,
|
|
130
|
+
handleChangeFor
|
|
131
|
+
]);
|
|
132
|
+
const handleTaxNumberChange = useCallback((e, mode) => {
|
|
133
|
+
const value = e ? typeof e === "string" ? e : e.currentTarget.value : void 0;
|
|
134
|
+
updateTaxInfo(mode, {
|
|
135
|
+
country,
|
|
136
|
+
number: value,
|
|
137
|
+
type: savedTaxIdNumberType ?? (taxIdNumberType !== "exempted" ? taxIdNumberType : void 0)
|
|
138
|
+
});
|
|
139
|
+
}, [
|
|
140
|
+
country,
|
|
141
|
+
savedTaxIdNumberType,
|
|
142
|
+
taxIdNumberType,
|
|
143
|
+
updateTaxInfo
|
|
144
|
+
]);
|
|
145
|
+
const handleTaxIdNumberTypeChange = useCallback((taxIdType) => {
|
|
146
|
+
if (!canExempt && taxIdType === "exempted") throw Error(`${country} does not allow tax exemptions`);
|
|
147
|
+
if (taxIdType === "exempted") {
|
|
148
|
+
handleChangeFor("exemptedFromTax")(true);
|
|
149
|
+
updateTaxType(void 0, "input");
|
|
150
|
+
return canSaveAbsentState ? addTaxAbsentStatus(true) : removeCountryTaxInfo();
|
|
151
|
+
}
|
|
152
|
+
handleChangeFor("exemptedFromTax")(false);
|
|
153
|
+
if (country === "SG") {
|
|
154
|
+
if (taxIdType === "UEN") {
|
|
155
|
+
handleChangeFor("isUen")(true);
|
|
156
|
+
setUenAsTaxId(registrationNumber);
|
|
157
|
+
} else {
|
|
158
|
+
handleChangeFor("isUen")(false);
|
|
159
|
+
removeCountryTaxInfo();
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
updateTaxType(taxIdType, "input");
|
|
163
|
+
}, [
|
|
164
|
+
addTaxAbsentStatus,
|
|
165
|
+
canExempt,
|
|
166
|
+
canSaveAbsentState,
|
|
167
|
+
country,
|
|
168
|
+
handleChangeFor,
|
|
169
|
+
updateTaxType,
|
|
170
|
+
registrationNumber,
|
|
171
|
+
removeCountryTaxInfo,
|
|
172
|
+
setUenAsTaxId
|
|
173
|
+
]);
|
|
174
|
+
const handleExemptedFromTaxChange = useCallback((exempted) => {
|
|
175
|
+
handleChangeFor("exemptedFromTax")(exempted);
|
|
176
|
+
if (canSaveAbsentState) addTaxAbsentStatus(exempted);
|
|
177
|
+
else removeCountryTaxInfo();
|
|
178
|
+
}, [
|
|
179
|
+
addTaxAbsentStatus,
|
|
180
|
+
canSaveAbsentState,
|
|
181
|
+
handleChangeFor,
|
|
182
|
+
removeCountryTaxInfo
|
|
183
|
+
]);
|
|
184
|
+
const prevCountryRef = useRef(country);
|
|
185
|
+
useEffect(() => {
|
|
186
|
+
if (!country || prevCountryRef.current === country) return;
|
|
187
|
+
prevCountryRef.current = country;
|
|
188
|
+
const hasSavedTaxId = defaultData?.find((taxId) => taxId.country === country);
|
|
189
|
+
if (currentCountryTaxInformation && !hasSavedTaxId) return;
|
|
190
|
+
if (entityType === "soleProprietorship") return;
|
|
191
|
+
resetToDefaultData();
|
|
192
|
+
}, [country]);
|
|
193
|
+
useEffect(() => {
|
|
194
|
+
if (country === "SG" && data.isUen && registrationNumber && registrationNumber !== currentCountryTaxInformation?.number) setUenAsTaxId(registrationNumber);
|
|
195
|
+
}, [
|
|
196
|
+
registrationNumber,
|
|
197
|
+
currentCountryTaxInformation?.number,
|
|
198
|
+
data.isUen,
|
|
199
|
+
country,
|
|
200
|
+
setUenAsTaxId
|
|
201
|
+
]);
|
|
202
|
+
useLayoutEffect(() => {
|
|
203
|
+
if (isSavedTaxIdStale) updateTaxType(savedTaxIdNumberType, "input");
|
|
204
|
+
}, [
|
|
205
|
+
isSavedTaxIdStale,
|
|
206
|
+
savedTaxIdNumberType,
|
|
207
|
+
updateTaxType
|
|
208
|
+
]);
|
|
209
|
+
const isInitialized = useRef(false);
|
|
210
|
+
if (!isInitialized.current && country === "SG" && !defaultData?.find((taxInfo) => taxInfo.country === country)?.number) {
|
|
211
|
+
isInitialized.current = true;
|
|
212
|
+
handleChangeFor("isUen")(false);
|
|
213
|
+
}
|
|
214
|
+
return /* @__PURE__ */ jsxs("div", { children: [
|
|
215
|
+
/* @__PURE__ */ jsx(TaxIdNumberTypeSelector, {
|
|
216
|
+
country,
|
|
217
|
+
companyType: entityType,
|
|
218
|
+
setSelected: handleTaxIdNumberTypeChange,
|
|
219
|
+
selected: taxIdNumberType,
|
|
220
|
+
exemptedOptionLabel: showTaxIdExemptedOptions ? exemptionLabel : void 0,
|
|
221
|
+
isUsSoleProp,
|
|
222
|
+
errorMessage: selectorError
|
|
223
|
+
}),
|
|
224
|
+
shouldRenderInput && /* @__PURE__ */ jsx(MaskedInput, {
|
|
225
|
+
type: "text",
|
|
226
|
+
"aria-required": true,
|
|
227
|
+
"aria-invalid": !valid.taxInformation,
|
|
228
|
+
name: "taxInformation",
|
|
229
|
+
label: t(($) => $[label ?? "taxId"]),
|
|
230
|
+
formatGuidance: translateTranslatable(t, guidanceText),
|
|
231
|
+
value: savedTaxIdNumber ?? "",
|
|
232
|
+
errorMessage: inputError,
|
|
233
|
+
placeholder,
|
|
234
|
+
isValid: Boolean(valid.taxInformation) && !!currentCountryTaxInformation,
|
|
235
|
+
onInput: (e) => handleTaxNumberChange(e, "input"),
|
|
236
|
+
onBlur: (e) => handleTaxNumberChange(e, "blur"),
|
|
237
|
+
disabled: data.exemptedFromTax || data.isUen,
|
|
238
|
+
readonly,
|
|
239
|
+
optional,
|
|
240
|
+
shouldValidate,
|
|
241
|
+
...mask
|
|
242
|
+
}),
|
|
243
|
+
canExempt && !showTaxIdExemptedOptions && /* @__PURE__ */ jsx(Field, {
|
|
244
|
+
name: "exemptedFromTax",
|
|
245
|
+
children: (childProps) => /* @__PURE__ */ jsx(Checkbox, {
|
|
246
|
+
...childProps,
|
|
247
|
+
"aria-required": false,
|
|
248
|
+
"aria-invalid": false,
|
|
249
|
+
name: "exemptedFromTax",
|
|
250
|
+
label: exemptedFromTaxLabel,
|
|
251
|
+
value: "exemptedFromTax",
|
|
252
|
+
checked: Boolean(data.exemptedFromTax),
|
|
253
|
+
onChange: handleExemptedFromTaxChange
|
|
254
|
+
})
|
|
255
|
+
})
|
|
256
|
+
] });
|
|
257
|
+
}
|
|
258
|
+
//#endregion
|
|
259
|
+
export { TaxInformationField as n, findExistingTaxInformation as r, TAX_INFORMATION_FIELD as t };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "dd39333d-3063-481c-89b4-6b249bf92d70", e._sentryDebugIdIdentifier = "sentry-dbid-dd39333d-3063-481c-89b4-6b249bf92d70");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { i as useToggleContext, t as Checkbox } from "./Checkbox-
|
|
7
|
-
import { a as resolveFieldMetadata } from "./unincorporatedPartnership-
|
|
8
|
-
import { a as translateTranslatable, o as Field } from "./Select-
|
|
9
|
-
import { r as MaskedInput } from "./dropinUtils-
|
|
10
|
-
import { _ as taxInformationDefaultFieldMetadata,
|
|
11
|
-
import { t as formatValidationError } from "./formatValidationError-
|
|
6
|
+
import { i as useToggleContext, t as Checkbox } from "./Checkbox-qmfi_XIo.js";
|
|
7
|
+
import { a as resolveFieldMetadata } from "./unincorporatedPartnership-DsneX1hY.js";
|
|
8
|
+
import { a as translateTranslatable, o as Field } from "./Select-Cbxz27iA.js";
|
|
9
|
+
import { r as MaskedInput } from "./dropinUtils-5RadTVG9.js";
|
|
10
|
+
import { _ as taxInformationDefaultFieldMetadata, f as TaxIdNumberTypeSelector, g as taxInformationDefaultFieldConfig, k as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, z as getTaxIdNumberOptions } from "./bafinUtils-Dxa3eJnZ.js";
|
|
11
|
+
import { t as formatValidationError } from "./formatValidationError-Dy9gejj2.js";
|
|
12
12
|
import { n as withForm } from "./formHook-Dgi2CgbT.js";
|
|
13
13
|
import { t as toTanStackValidators } from "./tanstackValidation-BgAM9eKo.js";
|
|
14
14
|
import { useCallback, useEffect, useRef } from "preact/hooks";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c9b63fbc-2ca4-418c-af08-318b3f220899", e._sentryDebugIdIdentifier = "sentry-dbid-c9b63fbc-2ca4-418c-af08-318b3f220899");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation, t as Trans } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { N as Header, P as _rolldown_dynamic_import_helper_default, T as Alert, ct as isEmpty } from "./registerEmbed-
|
|
6
|
+
import { N as Header, P as _rolldown_dynamic_import_helper_default, T as Alert, ct as isEmpty } from "./registerEmbed-TZ9ArAAB.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
8
|
import { t as Icon } from "./Icon-D2IGgB2L.js";
|
|
9
9
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
@@ -13,16 +13,16 @@ import { n as httpGet, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
|
13
13
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CxeMoCm4.js";
|
|
14
14
|
import { n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
|
|
15
15
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
16
|
-
import { a as useAnalyticsContext } from "./useId-
|
|
17
|
-
import { t as RadioGroup } from "./RadioGroup-
|
|
16
|
+
import { a as useAnalyticsContext } from "./useId-Cot-htyS.js";
|
|
17
|
+
import { t as RadioGroup } from "./RadioGroup-Di2A9RNN.js";
|
|
18
18
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
19
|
-
import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-
|
|
20
|
-
import { l as LandingLayout, n as Image } from "./unincorporatedPartnership-
|
|
21
|
-
import { o as Field } from "./Select-
|
|
22
|
-
import { o as StructuredList } from "./utils-
|
|
23
|
-
import { h as useUpdateLegalEntity, m as isEmpty$1 } from "./StateField-
|
|
24
|
-
import { H as FormContextProvider, I as useMultiForm, n as getRequiredForms, t as addValidityToForms, v as useFormContext, y as FormFlow, z as useFormComposer } from "./dropinUtils-
|
|
25
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
19
|
+
import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-DBGrep1S.js";
|
|
20
|
+
import { l as LandingLayout, n as Image } from "./unincorporatedPartnership-DsneX1hY.js";
|
|
21
|
+
import { o as Field } from "./Select-Cbxz27iA.js";
|
|
22
|
+
import { o as StructuredList } from "./utils-DPqmuHDt.js";
|
|
23
|
+
import { h as useUpdateLegalEntity, m as isEmpty$1 } from "./StateField-BxWm98Tj.js";
|
|
24
|
+
import { H as FormContextProvider, I as useMultiForm, n as getRequiredForms, t as addValidityToForms, v as useFormContext, y as FormFlow, z as useFormComposer } from "./dropinUtils-5RadTVG9.js";
|
|
25
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-J-MdMD4n.js";
|
|
26
26
|
import { r as getFormProps } from "./getProps-DVqK7eRw.js";
|
|
27
27
|
import { t as Link } from "./Link-BtWj5mVH.js";
|
|
28
28
|
import { t as useTaskStatus } from "./useTaskStatus-4nAPf_uD.js";
|
|
@@ -5,7 +5,7 @@ try {
|
|
|
5
5
|
import { t as EndStateLayout } from "./EndStateLayout-CBzxX67s.js";
|
|
6
6
|
import { t as useTaskStepperContext } from "./useTaskStepperContext-DCNMsKUc.js";
|
|
7
7
|
import { t as useHideTaskStepper } from "./useHideTaskStepper-DvHXw3zd.js";
|
|
8
|
-
import { TaxReportingDropin } from "./TaxReportingDropin-
|
|
8
|
+
import { TaxReportingDropin } from "./TaxReportingDropin-CWBoGi-F.js";
|
|
9
9
|
import { jsx } from "preact/jsx-runtime";
|
|
10
10
|
//#region src/adaptiveWorkflow/components/Layout/Steps/TaxReportingWorkflow.tsx
|
|
11
11
|
var TaxReportingWorkflow = ({ node }) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e6d6a923-f3a5-43d9-b7ec-abe3e587de06", e._sentryDebugIdIdentifier = "sentry-dbid-e6d6a923-f3a5-43d9-b7ec-abe3e587de06");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, o as __exportAll, r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { P as _rolldown_dynamic_import_helper_default, T as Alert, s as doesLegalEntityRequiresLegalRepresentative } from "./registerEmbed-
|
|
6
|
+
import { P as _rolldown_dynamic_import_helper_default, T as Alert, s as doesLegalEntityRequiresLegalRepresentative } from "./registerEmbed-TZ9ArAAB.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
8
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
9
9
|
import { t as Button } from "./Button-EhGM-oCO.js";
|
|
@@ -14,18 +14,18 @@ import { t as StackLayout } from "./StackLayout-J1ynSX-P.js";
|
|
|
14
14
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
15
15
|
import { a as getLegalRepresentative } from "./entityAssociationUtil-BlfcBl3i.js";
|
|
16
16
|
import { a as getOwnSignatories } from "./decisionMakerRoles-DA8MK9Dh.js";
|
|
17
|
-
import { i as useToggleContext, t as Checkbox } from "./Checkbox-
|
|
18
|
-
import { a as useAnalyticsContext } from "./useId-
|
|
17
|
+
import { i as useToggleContext, t as Checkbox } from "./Checkbox-qmfi_XIo.js";
|
|
18
|
+
import { a as useAnalyticsContext } from "./useId-Cot-htyS.js";
|
|
19
19
|
import { n as useTermsOfServiceAcceptanceInfos, t as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-FDpSDjco.js";
|
|
20
20
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
21
|
-
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-
|
|
21
|
+
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-DBGrep1S.js";
|
|
22
22
|
import { t as EndStateLayout } from "./EndStateLayout-CBzxX67s.js";
|
|
23
23
|
import { t as downloadFile } from "./file-1IenVoh8.js";
|
|
24
|
-
import { c as MaybeModal, o as Field, p as LoaderWrapper, r as getLanguageCode, s as ProgressBar, t as Select } from "./Select-
|
|
24
|
+
import { c as MaybeModal, o as Field, p as LoaderWrapper, r as getLanguageCode, s as ProgressBar, t as Select } from "./Select-Cbxz27iA.js";
|
|
25
25
|
import { n as getLegalEntityNameBasedOnType } from "./getName-Cii7OyRd.js";
|
|
26
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
27
|
-
import { t as useForm } from "./useForm-
|
|
28
|
-
import { t as formatValidationError } from "./formatValidationError-
|
|
26
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-J-MdMD4n.js";
|
|
27
|
+
import { t as useForm } from "./useForm-C3lG_s-c.js";
|
|
28
|
+
import { t as formatValidationError } from "./formatValidationError-Dy9gejj2.js";
|
|
29
29
|
import { t as localizeDateString } from "./localizeDateString-Dxlqr4rL.js";
|
|
30
30
|
import { t as ContractViewer } from "./ContractViewer-CG9UNGz1.js";
|
|
31
31
|
import { useCallback, useEffect, useMemo, useState } from "preact/hooks";
|
|
@@ -4,9 +4,9 @@ try {
|
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
|
-
import { n as debouncedInputEvent } from "./Checkbox-
|
|
8
|
-
import { a as useAnalyticsContext } from "./useId-
|
|
9
|
-
import { i as convertFullToHalf } from "./unincorporatedPartnership-
|
|
7
|
+
import { n as debouncedInputEvent } from "./Checkbox-qmfi_XIo.js";
|
|
8
|
+
import { a as useAnalyticsContext } from "./useId-Cot-htyS.js";
|
|
9
|
+
import { i as convertFullToHalf } from "./unincorporatedPartnership-DsneX1hY.js";
|
|
10
10
|
import { useState } from "preact/hooks";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -3,11 +3,11 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1d9a707a-ba77-482c-8790-be22ef752470", e._sentryDebugIdIdentifier = "sentry-dbid-1d9a707a-ba77-482c-8790-be22ef752470");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { U as EMOJI_REGEX, Y as OTHER_ENTITIES_VALID_CHAR_REGEX, at as hasRepeatedCharacters, ft as isValidMinLength, ot as hasText, pt as matchesRegex, q as NO_ALPHABET_REGEX, ut as isInvalidName } from "./registerEmbed-
|
|
7
|
-
import { a as InputBase } from "./RadioGroup-
|
|
8
|
-
import { o as Field } from "./Select-
|
|
6
|
+
import { U as EMOJI_REGEX, Y as OTHER_ENTITIES_VALID_CHAR_REGEX, at as hasRepeatedCharacters, ft as isValidMinLength, ot as hasText, pt as matchesRegex, q as NO_ALPHABET_REGEX, ut as isInvalidName } from "./registerEmbed-TZ9ArAAB.js";
|
|
7
|
+
import { a as InputBase } from "./RadioGroup-Di2A9RNN.js";
|
|
8
|
+
import { o as Field } from "./Select-Cbxz27iA.js";
|
|
9
9
|
import { n as withForm } from "./formHook-Dgi2CgbT.js";
|
|
10
|
-
import { t as getValidationError } from "./getValidationError-
|
|
10
|
+
import { t as getValidationError } from "./getValidationError-a_976vi9.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
//#region src/adaptiveWorkflow/components/Shared/Fields/TextField/validators.ts
|
|
13
13
|
var containsText = (val) => {
|