@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] = "92390e77-dd4e-41c8-ac8b-99c2bb876672", e._sentryDebugIdIdentifier = "sentry-dbid-92390e77-dd4e-41c8-ac8b-99c2bb876672");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { A as useAllowedCountries, I as FeatureNames, N as Header, T as Alert, bt as useVersionConfiguration, ct as isEmpty, dt as isUndefinedOrNull, k as datasetUtilities, lt as isISIN, vt as useAccountHolder } from "./registerEmbed-
|
|
6
|
+
import { A as useAllowedCountries, I as FeatureNames, N as Header, T as Alert, bt as useVersionConfiguration, ct as isEmpty, dt as isUndefinedOrNull, k as datasetUtilities, lt as isISIN, vt as useAccountHolder } from "./registerEmbed-TZ9ArAAB.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
8
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
9
9
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
@@ -20,57 +20,57 @@ import { _ as businessDetailsKeyMapping, f as solePropBusinessDetailsApiKeyMappi
|
|
|
20
20
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
21
21
|
import { r as filterOutUnwantedAssociationsIfRootLE, s as getOwnEntityAssociations } from "./entityAssociationUtil-BlfcBl3i.js";
|
|
22
22
|
import { t as Scenarios } from "./scenarios-nibtmpSb.js";
|
|
23
|
-
import { i as useToggleContext, r as useDebouncedCallback, t as Checkbox } from "./Checkbox-
|
|
24
|
-
import { a as useAnalyticsContext, n as Modal, r as ModalContent } from "./useId-
|
|
23
|
+
import { i as useToggleContext, r as useDebouncedCallback, t as Checkbox } from "./Checkbox-qmfi_XIo.js";
|
|
24
|
+
import { a as useAnalyticsContext, n as Modal, r as ModalContent } from "./useId-Cot-htyS.js";
|
|
25
25
|
import { t as HandlerContext } from "./HandlerContext-DeMa68z0.js";
|
|
26
|
-
import { r as InputText, s as SettingNames, t as RadioGroup } from "./RadioGroup-
|
|
26
|
+
import { r as InputText, s as SettingNames, t as RadioGroup } from "./RadioGroup-Di2A9RNN.js";
|
|
27
27
|
import { t as ListItem } from "./ListItem-aX6AyCay.js";
|
|
28
28
|
import { t as getFormSlice } from "./getFormSlice-CxtXJ0-P.js";
|
|
29
29
|
import { t as useBusinessLines } from "./useBusinessLines-0FcuDMzo.js";
|
|
30
30
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
31
|
-
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-
|
|
32
|
-
import { a as resolveFieldMetadata, c as getPropsFromConfigurations, l as LandingLayout, n as Image, r as createFormRules, s as composePerScenarioFormConfigurations } from "./unincorporatedPartnership-
|
|
33
|
-
import { o as Field, p as LoaderWrapper } from "./Select-
|
|
34
|
-
import { o as StructuredList, r as formatObject, s as Confirm } from "./utils-
|
|
35
|
-
import { a as CountryOfGoverningLawField, c as useCompanyTypeExamples, d as
|
|
36
|
-
import { a as getKeyForField, d as COUNTRIES_WITH_STATES_DATASET, h as useUpdateLegalEntity, m as isEmpty$1, n as StateField, o as mapAddressLabels, p as isJapanLocalizationEnabled, r as stateFieldMetadata, s as addressFieldRule, t as STATE_FIELD } from "./StateField-
|
|
37
|
-
import { A as alphanumericInputs, D as validatePatternOnBlur, E as validateNotEmptyOnBlur, H as FormContextProvider, I as useMultiForm, M as makeMask, O as uppercase, P as numericInputs, V as summaryStep, _ as mergeFieldMetadataIntoProps, c as CountryField, d as isBusinessSelectionLegalArrangementError, g as createFormUtils, k as alphaInputs, p as isValidationError, r as MaskedInput, s as COUNTRY_FIELD, t as addValidityToForms, v as useFormContext, y as FormFlow, z as useFormComposer } from "./dropinUtils-
|
|
38
|
-
import { A as REGISTRATION_NUMBER_EXEMPTION_RULES,
|
|
39
|
-
import { a as getValidCompanyTypesForRegistrationNumberType, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, t as getDefaultRegistrationNumberType, u as registrationNumberDefaultFieldMetadata } from "./getDefaultRegistrationNumberType-
|
|
31
|
+
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-DBGrep1S.js";
|
|
32
|
+
import { a as resolveFieldMetadata, c as getPropsFromConfigurations, l as LandingLayout, n as Image, r as createFormRules, s as composePerScenarioFormConfigurations } from "./unincorporatedPartnership-DsneX1hY.js";
|
|
33
|
+
import { o as Field, p as LoaderWrapper } from "./Select-Cbxz27iA.js";
|
|
34
|
+
import { o as StructuredList, r as formatObject, s as Confirm } from "./utils-DPqmuHDt.js";
|
|
35
|
+
import { a as CountryOfGoverningLawField, c as useCompanyTypeExamples, d as verifyTinQueryOptions, f as companySearchQueryOptions, g as useClearCompanyData, h as useStoredStateOrProvince, i as COUNTRY_OF_GOVERNING_LAW_FIELD, l as useCompanySelection, m as trackPerformance, n as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, o as useLegalCompanyNameField, p as useCompanySearch, r as isNormalizedStringMatch, s as localizedLegalCompanyNameFieldConfig, t as CountryOfGoverningLawFieldValidation, u as useVerifyTin } from "./validate-CmvKoxYM.js";
|
|
36
|
+
import { a as getKeyForField, d as COUNTRIES_WITH_STATES_DATASET, h as useUpdateLegalEntity, m as isEmpty$1, n as StateField, o as mapAddressLabels, p as isJapanLocalizationEnabled, r as stateFieldMetadata, s as addressFieldRule, t as STATE_FIELD } from "./StateField-BxWm98Tj.js";
|
|
37
|
+
import { A as alphanumericInputs, D as validatePatternOnBlur, E as validateNotEmptyOnBlur, H as FormContextProvider, I as useMultiForm, M as makeMask, O as uppercase, P as numericInputs, V as summaryStep, _ as mergeFieldMetadataIntoProps, c as CountryField, d as isBusinessSelectionLegalArrangementError, g as createFormUtils, k as alphaInputs, p as isValidationError, r as MaskedInput, s as COUNTRY_FIELD, t as addValidityToForms, v as useFormContext, y as FormFlow, z as useFormComposer } from "./dropinUtils-5RadTVG9.js";
|
|
38
|
+
import { A as REGISTRATION_NUMBER_EXEMPTION_RULES, C as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, D as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, E as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, F as mapJapaneseLegalNamesToLocalization, H as taxIdNumberOptions, I as mapLocalizationToJapaneseLegalNames, M as isRegistrationExemptionAllowed, N as isRegistrationNumberAbsentStateV4Scenario, O as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, P as isUsingCompanySearch, S as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, T as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER, U as TileGroup, V as getValidCompanyTypesForTaxIdNumberType, _ as taxInformationDefaultFieldMetadata, b as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION, c as DataConflictsModal, g as taxInformationDefaultFieldConfig, h as getTaxInformationPlaceholderText, j as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, k as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, x as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, y as COUNTRIES_REQUIRING_FINANCIAL_INFORMATION, z as getTaxIdNumberOptions } from "./bafinUtils-Dxa3eJnZ.js";
|
|
39
|
+
import { a as getValidCompanyTypesForRegistrationNumberType, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, t as getDefaultRegistrationNumberType, u as registrationNumberDefaultFieldMetadata } from "./getDefaultRegistrationNumberType-HWiiKcO3.js";
|
|
40
40
|
import { r as LEGAL_ARRANGEMENT_COUNTRIES_REQUIRING_DATE_OF_INCORPORATION } from "./legalArrangementUtils-CHlmmcB8.js";
|
|
41
|
-
import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-
|
|
42
|
-
import { n as BusinessRegistrationNumberField, t as BUSINESS_REGISTRATION_NUMBER_FIELD } from "./BusinessRegistrationNumberField-
|
|
41
|
+
import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-hsrxQFKc.js";
|
|
42
|
+
import { n as BusinessRegistrationNumberField, t as BUSINESS_REGISTRATION_NUMBER_FIELD } from "./BusinessRegistrationNumberField-VltO-NYx.js";
|
|
43
|
+
import { n as TaxInformationField, t as TAX_INFORMATION_FIELD } from "./TaxInformationField-Bi3pbDh_.js";
|
|
43
44
|
import { t as useScenarios } from "./useScenarios-DfE71fl7.js";
|
|
44
45
|
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-CgzVD39K.js";
|
|
45
|
-
import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-
|
|
46
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
47
|
-
import { n as SaveForLaterButton, t as useSaveForLater } from "./useSaveForLater-
|
|
48
|
-
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-
|
|
46
|
+
import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-CLSPk17k.js";
|
|
47
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-J-MdMD4n.js";
|
|
48
|
+
import { n as SaveForLaterButton, t as useSaveForLater } from "./useSaveForLater-CT5C_u8v.js";
|
|
49
|
+
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-gryOf4Fj.js";
|
|
49
50
|
import { a as getFileExtention, i as getDocuments, l as mergeProofOfOwnershipAttachments, n as documentApiUtils, r as getDocument, t as createDocumentRequest } from "./documentUtils-6K3LdjjN.js";
|
|
50
|
-
import { i as getFieldsWithExistingData, n as MemoizedDocumentUpload, t as PatriotActDisclosure } from "./PatriotActDisclosure-
|
|
51
|
-
import { a as useAddressCleanseImperatively, r as formatAddressForCleanse, t as InputDate } from "./InputDate-
|
|
52
|
-
import { t as addressValidators } from "./validate-
|
|
53
|
-
import { t as ErrorPanel } from "./ErrorPanel-
|
|
51
|
+
import { i as getFieldsWithExistingData, n as MemoizedDocumentUpload, t as PatriotActDisclosure } from "./PatriotActDisclosure-DsSoSucu.js";
|
|
52
|
+
import { a as useAddressCleanseImperatively, r as formatAddressForCleanse, t as InputDate } from "./InputDate-C1Q3XDFU.js";
|
|
53
|
+
import { t as addressValidators } from "./validate-DxoJtDwQ.js";
|
|
54
|
+
import { t as ErrorPanel } from "./ErrorPanel-CBmxfydA.js";
|
|
54
55
|
import { t as capitalize } from "./getProps-DVqK7eRw.js";
|
|
55
56
|
import { t as Link } from "./Link-BtWj5mVH.js";
|
|
56
57
|
import { r as formatDateObj } from "./InputDate.utils-D4Ov0KIl.js";
|
|
57
|
-
import { t as
|
|
58
|
-
import { t as
|
|
59
|
-
import { t as
|
|
60
|
-
import { t as
|
|
61
|
-
import { t as SummarySection } from "./SummarySection-D91P7H2B.js";
|
|
58
|
+
import { n as mapJpAddressSchemaToAddressLocalizations, t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-CT6eGqwa.js";
|
|
59
|
+
import { t as formatValidationError } from "./formatValidationError-Dy9gejj2.js";
|
|
60
|
+
import { t as Summary } from "./Summary-BcIbpAPH.js";
|
|
61
|
+
import { t as SummarySection } from "./SummarySection-DnHHb-mJ.js";
|
|
62
62
|
import { t as currencyByCountry } from "./types-CP3D_hFv.js";
|
|
63
63
|
import { t as Divider } from "./Divider-BENvVRnz.js";
|
|
64
64
|
import { t as DetailViewLayout } from "./DetailViewLayout-DJgAzdlZ.js";
|
|
65
|
-
import { i as nestAddressSchema, t as flattenAddressSchema } from "./utils-
|
|
66
|
-
import { a as LegalFormField, c as legalEntityIdentifierFieldMetadata, d as isDateOlderThanAYear, f as mapAddressData, i as InputCurrency, l as mapFinancialReportsToFinancialInformation, n as Currency, o as LEGAL_ENTITY_IDENTIFIER_FIELD, r as InputNumber, s as LegalEntityIdentifierField, t as CURRENCY_FIELD, u as mapFinancialInformationToFinancialReport } from "./Currency-
|
|
65
|
+
import { i as nestAddressSchema, t as flattenAddressSchema } from "./utils-szr8jBGQ.js";
|
|
66
|
+
import { a as LegalFormField, c as legalEntityIdentifierFieldMetadata, d as isDateOlderThanAYear, f as mapAddressData, i as InputCurrency, l as mapFinancialReportsToFinancialInformation, n as Currency, o as LEGAL_ENTITY_IDENTIFIER_FIELD, r as InputNumber, s as LegalEntityIdentifierField, t as CURRENCY_FIELD, u as mapFinancialInformationToFinancialReport } from "./Currency-l31xe6JM.js";
|
|
67
67
|
import { t as useTaskStatus } from "./useTaskStatus-4nAPf_uD.js";
|
|
68
|
-
import { n as useIndustryCodes, t as industryCodeFieldMetadata } from "./fieldConfig-
|
|
68
|
+
import { n as useIndustryCodes, t as industryCodeFieldMetadata } from "./fieldConfig-xaGvx64s.js";
|
|
69
69
|
import { n as formatCurrency } from "./formatCurrency-BetgkQKi.js";
|
|
70
70
|
import { n as useCreateBusinessLine, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-B-pF2YT-.js";
|
|
71
|
-
import { _ as
|
|
72
|
-
import { l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-
|
|
73
|
-
import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
71
|
+
import { _ as RegistrationAndOperationalAddressFields, a as defaultFieldConfig$1, c as doingBusinessAsAbsentFieldMetadata, d as DBA_NAME_FIELD, f as DATE_OF_INCORPORATION_FIELD, g as REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS, h as dateOfIncorporationFieldMetadata, i as getDefaultVatNumberType, l as doingBusinessAsFieldMetadata, n as VAT_NUMBER_FIELD, o as defaultFieldMetadata$1, p as DateOfIncorporationField, r as VatNumberField, s as vatAbsenceReasonMetadata, t as MemoizedConstitutionalDocument, u as DBANameField } from "./ConstitutionalDocument-amr_KQ4y.js";
|
|
72
|
+
import { l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-BgGlk1x-.js";
|
|
73
|
+
import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-SRtPrNOg.js";
|
|
74
74
|
import { lazy } from "preact/compat";
|
|
75
75
|
import { useCallback as useCallback$1, useContext as useContext$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
76
76
|
import cx from "classnames";
|
|
@@ -2891,6 +2891,9 @@ function buildRequiredForms({ config: { forms, requiredFields, optionalFields, i
|
|
|
2891
2891
|
*/
|
|
2892
2892
|
const skipCompanyStructure = options?.skipCompanyStructure || isSettingEnabled(SettingNames.AllowLegalEntityTypeChange) && organizationTypesToSkipCompanyStructureForm.includes(legalEntityResponse.organization?.type ?? "") && accountHolder !== "aTrust" && accountHolder !== "anUnincorporatedPartnership";
|
|
2893
2893
|
const filteredForms = Object.values(forms).filter(({ formId }) => {
|
|
2894
|
+
if (formId === "basicInformation") {
|
|
2895
|
+
if (options?.skipBasicInformation) return false;
|
|
2896
|
+
}
|
|
2894
2897
|
if (formId === "businessSelection") {
|
|
2895
2898
|
if (options?.skipBusinessSelection) return false;
|
|
2896
2899
|
}
|
|
@@ -3038,6 +3041,21 @@ var formatDataForSummary = (data, forms, t, language, isFeatureEnabled, isSettin
|
|
|
3038
3041
|
}
|
|
3039
3042
|
return summarySectionData;
|
|
3040
3043
|
};
|
|
3044
|
+
//#endregion
|
|
3045
|
+
//#region src/components/Business/utils/isEligibleForReducedBusinessDetailsFlow.ts
|
|
3046
|
+
/**
|
|
3047
|
+
* A registered business that completed Global Entry has already provided its legal name,
|
|
3048
|
+
* company structure, and registration/tax identifiers there. Returning to the Business Details
|
|
3049
|
+
* task should not re-ask for them via the `basicInformation`, `businessSelection`, and
|
|
3050
|
+
* `companyStructure` pages.
|
|
3051
|
+
*/
|
|
3052
|
+
var isEligibleForReducedBusinessDetailsFlow = ({ taskType, legalEntityResponse, isFeatureEnabled }) => {
|
|
3053
|
+
if (taskType !== TaskTypes.BUSINESS_DETAILS || !isFeatureEnabled(FeatureNames.EnableGlobalEntryFlow)) return false;
|
|
3054
|
+
const organization = legalEntityResponse.organization;
|
|
3055
|
+
const hasCompanyStructure = !!organization?.type;
|
|
3056
|
+
const hasResolvedRegistrationIdentity = !!organization?.registrationNumber || organization?.registrationNumberAbsent === true || !!organization?.taxInformation?.length || !!organization?.vatNumber;
|
|
3057
|
+
return hasCompanyStructure && hasResolvedRegistrationIdentity;
|
|
3058
|
+
};
|
|
3041
3059
|
var BusinessDetailsDropin_module_default = {
|
|
3042
3060
|
"summary-content-legal-caption": "_summary-content-legal-caption_17mlq_1",
|
|
3043
3061
|
summaryContentLegalCaption: "_summary-content-legal-caption_17mlq_1"
|
|
@@ -3530,6 +3548,17 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
|
|
|
3530
3548
|
* want to insert the tax doc once the user actually navigates forward, hence, another state value set on nav.
|
|
3531
3549
|
*/
|
|
3532
3550
|
const isTinMatched = useSignal(void 0);
|
|
3551
|
+
/**
|
|
3552
|
+
* With Global Entry enabled, the pages verifying TIN are skipped so verify what is saved on
|
|
3553
|
+
* the legal entity instead.
|
|
3554
|
+
*/
|
|
3555
|
+
const legalEntityTin = legalEntityResponse.organization?.taxInformation?.find((taxId) => taxId.country === CountryCodes.UnitedStates)?.number;
|
|
3556
|
+
const legalEntityName = legalEntityResponse.organization?.legalName;
|
|
3557
|
+
const { data: legalEntityTinVerification, isLoading: isVerifyingLegalEntityTin } = useVerifyTin({
|
|
3558
|
+
name: legalEntityName ?? "",
|
|
3559
|
+
tin: legalEntityTin ?? ""
|
|
3560
|
+
}, { enabled: isFeatureEnabled(FeatureNames.EnableGlobalEntryFlow) && taskType === TaskTypes.BUSINESS_DETAILS && country === CountryCodes.UnitedStates && !!legalEntityName && !!legalEntityTin });
|
|
3561
|
+
const tinMatched = isFeatureEnabled(FeatureNames.EnableGlobalEntryFlow) ? legalEntityTinVerification?.matched : isTinMatched.value;
|
|
3533
3562
|
const customRules = useMemo$1(() => rules({
|
|
3534
3563
|
data: multiForm.data,
|
|
3535
3564
|
defaultData,
|
|
@@ -3539,7 +3568,7 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
|
|
|
3539
3568
|
isFeatureEnabled,
|
|
3540
3569
|
isSettingEnabled,
|
|
3541
3570
|
accountHolder,
|
|
3542
|
-
tinMatched
|
|
3571
|
+
tinMatched,
|
|
3543
3572
|
rootLegalEntity: legalEntityResponse,
|
|
3544
3573
|
version: versionConfiguration?.version
|
|
3545
3574
|
}), [
|
|
@@ -3551,7 +3580,7 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
|
|
|
3551
3580
|
isFeatureEnabled,
|
|
3552
3581
|
isSettingEnabled,
|
|
3553
3582
|
accountHolder,
|
|
3554
|
-
|
|
3583
|
+
tinMatched,
|
|
3555
3584
|
legalEntityResponse,
|
|
3556
3585
|
versionConfiguration?.version
|
|
3557
3586
|
]);
|
|
@@ -3627,6 +3656,11 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
|
|
|
3627
3656
|
if (multiForm.data.companyStructure?.entityType === inferredCompanyStructure) return;
|
|
3628
3657
|
multiForm.handleChangeFor("companyStructure", "entityType")(inferredCompanyStructure);
|
|
3629
3658
|
};
|
|
3659
|
+
const isReducedFlowEligible = isEligibleForReducedBusinessDetailsFlow({
|
|
3660
|
+
taskType,
|
|
3661
|
+
legalEntityResponse,
|
|
3662
|
+
isFeatureEnabled
|
|
3663
|
+
});
|
|
3630
3664
|
const getRequiredForms = useCallback$1((options) => {
|
|
3631
3665
|
return buildRequiredForms({
|
|
3632
3666
|
config: {
|
|
@@ -3640,8 +3674,10 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
|
|
|
3640
3674
|
legalEntityResponse
|
|
3641
3675
|
},
|
|
3642
3676
|
options: {
|
|
3643
|
-
|
|
3644
|
-
|
|
3677
|
+
...options,
|
|
3678
|
+
skipBasicInformation: isReducedFlowEligible,
|
|
3679
|
+
skipBusinessSelection: options?.skipBusinessSelection || isReducedFlowEligible,
|
|
3680
|
+
skipCompanyStructure: (options?.skipCompanyStructure ?? !!inferredCompanyStructure) || isReducedFlowEligible
|
|
3645
3681
|
}
|
|
3646
3682
|
});
|
|
3647
3683
|
}, [
|
|
@@ -3653,7 +3689,8 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
|
|
|
3653
3689
|
isSettingEnabled,
|
|
3654
3690
|
legalEntityResponse,
|
|
3655
3691
|
multiForm.isValid,
|
|
3656
|
-
problems
|
|
3692
|
+
problems,
|
|
3693
|
+
isReducedFlowEligible
|
|
3657
3694
|
]);
|
|
3658
3695
|
const skipBusinessSelection = useSignal(true);
|
|
3659
3696
|
const forms = useMemo$1(() => getRequiredForms({
|
|
@@ -3900,7 +3937,7 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
|
|
|
3900
3937
|
handleNextClick: overrideNextClick,
|
|
3901
3938
|
handleBackClick,
|
|
3902
3939
|
handleCancelClick: isBusinessDetailsModalEnabled ? handleCancelClick : handleHomeClick,
|
|
3903
|
-
loadingStatus,
|
|
3940
|
+
loadingStatus: isVerifyingLegalEntityTin ? "loading" : loadingStatus,
|
|
3904
3941
|
footerActions: taskType === TaskTypes.BUSINESS_DETAILS && legalEntityResponse ? /* @__PURE__ */ jsx(SaveForLaterButton, {
|
|
3905
3942
|
loading: isSavingForLater,
|
|
3906
3943
|
onClick: handleSaveForLater
|
|
@@ -2,10 +2,10 @@ 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
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1fde5d6a-42a2-4910-9fc7-f5194c09d02a", e._sentryDebugIdIdentifier = "sentry-dbid-1fde5d6a-42a2-4910-9fc7-f5194c09d02a");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { _ as isPartOfTrustFromLegalEntity } from "./registerEmbed-
|
|
5
|
+
import { _ as isPartOfTrustFromLegalEntity } from "./registerEmbed-TZ9ArAAB.js";
|
|
6
6
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
7
7
|
import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-BlfcBl3i.js";
|
|
8
|
-
import { s as SettingNames } from "./RadioGroup-
|
|
8
|
+
import { s as SettingNames } from "./RadioGroup-Di2A9RNN.js";
|
|
9
9
|
//#region src/hooks/useLegalEntityType.ts
|
|
10
10
|
var useLegalEntityType = ({ legalEntity }) => {
|
|
11
11
|
const isTrust = isPartOfTrustFromLegalEntity(legalEntity);
|
|
@@ -2,10 +2,10 @@ 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
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4769bbc2-f315-4771-81dc-116d219d4078", e._sentryDebugIdIdentifier = "sentry-dbid-4769bbc2-f315-4771-81dc-116d219d4078");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { ct as isEmpty } from "./registerEmbed-
|
|
5
|
+
import { ct as isEmpty } from "./registerEmbed-TZ9ArAAB.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
7
|
import { n as doArraysMatch } from "./genUtils-nphCwt1A.js";
|
|
8
|
-
import { d as omitKeys, f as ValidationResult, l as addKeys } from "./Select-
|
|
8
|
+
import { d as omitKeys, f as ValidationResult, l as addKeys } from "./Select-Cbxz27iA.js";
|
|
9
9
|
import { useCallback, useEffect, useMemo, useReducer, useState } from "preact/hooks";
|
|
10
10
|
//#region src/hooks/useAsyncValidator.ts
|
|
11
11
|
var logger = createLogger();
|
|
@@ -2,7 +2,7 @@ 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
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d0f3e92b-0320-4da0-9a17-7d3c5c602703", e._sentryDebugIdIdentifier = "sentry-dbid-d0f3e92b-0320-4da0-9a17-7d3c5c602703");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { _t as AnalyticsContext } from "./registerEmbed-
|
|
5
|
+
import { _t as AnalyticsContext } from "./registerEmbed-TZ9ArAAB.js";
|
|
6
6
|
import { n as IconButton } from "./Button-EhGM-oCO.js";
|
|
7
7
|
import { useContext, useLayoutEffect, useRef, useState } from "preact/hooks";
|
|
8
8
|
import cx from "classnames";
|
|
@@ -2,7 +2,7 @@ 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
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "26dc1d05-cbaf-4932-8c4e-0affd6772e48", e._sentryDebugIdIdentifier = "sentry-dbid-26dc1d05-cbaf-4932-8c4e-0affd6772e48");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { I as FeatureNames } from "./registerEmbed-
|
|
5
|
+
import { I as FeatureNames } from "./registerEmbed-TZ9ArAAB.js";
|
|
6
6
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
7
7
|
import { lazy } from "preact/compat";
|
|
8
8
|
import { useLocation } from "wouter-preact";
|
|
@@ -26,37 +26,37 @@ var hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
26
26
|
};
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region src/router/routeConfig.ts
|
|
29
|
-
var Introduction = lazy(async () => (await import("./Introduction-
|
|
30
|
-
var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-
|
|
31
|
-
var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-
|
|
32
|
-
var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-
|
|
33
|
-
var SingpassSelection = lazy(async () => (await import("./SingpassSelection-
|
|
34
|
-
var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-
|
|
35
|
-
var DecisionMakers = lazy(async () => (await import("./DecisionMakers-
|
|
36
|
-
var CustomerSupport = lazy(async () => (await import("./CustomerSupport-
|
|
37
|
-
var Review = lazy(async () => (await import("./Review-
|
|
38
|
-
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-
|
|
39
|
-
var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-
|
|
40
|
-
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-
|
|
41
|
-
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-
|
|
42
|
-
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-
|
|
43
|
-
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-
|
|
44
|
-
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-
|
|
45
|
-
var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-
|
|
46
|
-
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-
|
|
47
|
-
var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-
|
|
48
|
-
var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-
|
|
49
|
-
var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
50
|
-
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
51
|
-
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-
|
|
52
|
-
var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-
|
|
53
|
-
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-
|
|
54
|
-
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-
|
|
55
|
-
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-
|
|
56
|
-
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-
|
|
57
|
-
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-
|
|
58
|
-
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-
|
|
59
|
-
lazy(async () => (await import("./InvitedDecisionMakerComponent-
|
|
29
|
+
var Introduction = lazy(async () => (await import("./Introduction-DMxhsL3f.js")).Introduction);
|
|
30
|
+
var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-aM_fyYfd.js")).AdaptiveWorkflow);
|
|
31
|
+
var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-C228n5L8.js")).BusinessTypeSelectionPage);
|
|
32
|
+
var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-rC5GlvG_.js")).GlobalEntryPage);
|
|
33
|
+
var SingpassSelection = lazy(async () => (await import("./SingpassSelection-BBA3x8Ek.js")).SingpassSelection);
|
|
34
|
+
var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-BGfF7hle.js")).AccountSetupRejected);
|
|
35
|
+
var DecisionMakers = lazy(async () => (await import("./DecisionMakers-CxKzZBAH.js")).DecisionMakers);
|
|
36
|
+
var CustomerSupport = lazy(async () => (await import("./CustomerSupport-D2jBxiF7.js")).CustomerSupport);
|
|
37
|
+
var Review = lazy(async () => (await import("./Review-lUkK6MwE.js")).Review);
|
|
38
|
+
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-B1itIk9F.js").then((n) => n.n)).SignPCIComponent);
|
|
39
|
+
var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-nu7MYGFM.js").then((n) => n.n)).TermsOfServiceManagement);
|
|
40
|
+
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-CWBoGi-F.js")).TaxReportingDropin);
|
|
41
|
+
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-yToj25iO.js")).PayoutDetailsPage);
|
|
42
|
+
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-ZxdONb8B.js")).RootBusinessDetailsPage);
|
|
43
|
+
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-Baet_8as.js")).RootBusinessLinesPage);
|
|
44
|
+
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-D6yrh1Uz.js")).SoleProprietorshipPage);
|
|
45
|
+
var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-C42UF9Wh.js")).TrustMemberCompanyPage);
|
|
46
|
+
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-C924EwDD.js")).TrustMemberIndividualPage);
|
|
47
|
+
var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-Dm_RyCCU.js")).TrustMemberRoleAndTypePage);
|
|
48
|
+
var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-D9LIDqH0.js")).TrustMembersOverview);
|
|
49
|
+
var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-BkUvuiG8.js")).UnincorporatedPartnershipMemberCompanyPage);
|
|
50
|
+
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-BcrmCuUV.js")).UnincorporatedPartnershipIndividualPage);
|
|
51
|
+
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-BLvqAXNn.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
|
|
52
|
+
var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-kTIfytG_.js")).UnincorporatedPartnershipMembersOverview);
|
|
53
|
+
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-BlABPwhd.js")).BusinessFinancingPage);
|
|
54
|
+
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-C2921KNk.js")).TrustDetailsPage);
|
|
55
|
+
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-Bb67iz0x.js")).SourceOfFundsPage);
|
|
56
|
+
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-BtcFOmeC.js")).RootIndividualDetailsPage);
|
|
57
|
+
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-DWWgUBxS.js")).LegalRepresentativeDetailsPage);
|
|
58
|
+
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-BFJYqKEE.js")).DecisionMakerDetailsPage);
|
|
59
|
+
lazy(async () => (await import("./InvitedDecisionMakerComponent-DyfllTrf.js").then((n) => n.n)).InvitedDecisionMakerComponent);
|
|
60
60
|
var ROUTE_CONFIG = {
|
|
61
61
|
[TaskTypes.ADAPTIVE]: {
|
|
62
62
|
path: "/adaptive",
|
|
@@ -4,7 +4,7 @@ try {
|
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
6
6
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
7
|
-
import { s as SettingNames } from "./RadioGroup-
|
|
7
|
+
import { s as SettingNames } from "./RadioGroup-Di2A9RNN.js";
|
|
8
8
|
import { t as useBusinessLines } from "./useBusinessLines-0FcuDMzo.js";
|
|
9
9
|
import { useMemo } from "preact/hooks";
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
@@ -3,11 +3,11 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7738d36c-8d36-40e4-9dae-72e4d7e4e09b", e._sentryDebugIdIdentifier = "sentry-dbid-7738d36c-8d36-40e4-9dae-72e4d7e4e09b");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { I as FeatureNames } from "./registerEmbed-
|
|
6
|
+
import { I as FeatureNames } from "./registerEmbed-TZ9ArAAB.js";
|
|
7
7
|
import { t as Button } from "./Button-EhGM-oCO.js";
|
|
8
8
|
import { s as useApiContext } from "./http-C8rt2BZk.js";
|
|
9
|
-
import { i as useToggleContext } from "./Checkbox-
|
|
10
|
-
import { n as useToastContext } from "./invalidateRootLegalEntity-
|
|
9
|
+
import { i as useToggleContext } from "./Checkbox-qmfi_XIo.js";
|
|
10
|
+
import { n as useToastContext } from "./invalidateRootLegalEntity-DBGrep1S.js";
|
|
11
11
|
import { useCallback, useEffect, useRef, useState } from "preact/hooks";
|
|
12
12
|
import { jsx } from "preact/jsx-runtime";
|
|
13
13
|
import { useMutation, useQuery, useQueryClient } from "@tanstack/preact-query";
|
|
@@ -2,7 +2,7 @@ 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
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9c48350c-6563-4491-96b8-bf2f32a31cc7", e._sentryDebugIdIdentifier = "sentry-dbid-9c48350c-6563-4491-96b8-bf2f32a31cc7");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { a as useAnalyticsContext } from "./useId-
|
|
5
|
+
import { a as useAnalyticsContext } from "./useId-Cot-htyS.js";
|
|
6
6
|
import { useRef } from "preact/hooks";
|
|
7
7
|
//#region src/hooks/useTaskLandedEvent.ts
|
|
8
8
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
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] = "d9f0810c-0c66-415d-91e2-be0840ea59df", e._sentryDebugIdIdentifier = "sentry-dbid-d9f0810c-0c66-415d-91e2-be0840ea59df");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CxeMoCm4.js";
|
|
6
6
|
import { s as getOwnEntityAssociations } from "./entityAssociationUtil-BlfcBl3i.js";
|
|
7
7
|
import { t as TrustMemberTypes } from "./trustMemberType-Ix2sf6e_.js";
|
|
8
|
-
import { i as useToggleContext } from "./Checkbox-
|
|
8
|
+
import { i as useToggleContext } from "./Checkbox-qmfi_XIo.js";
|
|
9
9
|
import { n as useAssociatedLegalEntity } from "./getFormSlice-CxtXJ0-P.js";
|
|
10
10
|
import { n as getLegalEntityNameBasedOnType } from "./getName-Cii7OyRd.js";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
@@ -1,11 +1,11 @@
|
|
|
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] = "5bf80669-e3b1-4743-8bf1-4f6039fc9802", e._sentryDebugIdIdentifier = "sentry-dbid-5bf80669-e3b1-4743-8bf1-4f6039fc9802");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CxeMoCm4.js";
|
|
6
6
|
import { s as getOwnEntityAssociations } from "./entityAssociationUtil-BlfcBl3i.js";
|
|
7
7
|
import { n as useAssociatedLegalEntity } from "./getFormSlice-CxtXJ0-P.js";
|
|
8
|
-
import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporatedPartnership-
|
|
8
|
+
import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporatedPartnership-DsneX1hY.js";
|
|
9
9
|
import { n as getLegalEntityNameBasedOnType } from "./getName-Cii7OyRd.js";
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
11
|
//#region src/components/UnincorporatedPartnership/utils/unincorporatedPartnershipMembers.ts
|
|
@@ -5,7 +5,7 @@ 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 { t as Button } from "./Button-EhGM-oCO.js";
|
|
8
|
-
import { a as useAnalyticsContext, n as Modal, t as useId } from "./useId-
|
|
8
|
+
import { a as useAnalyticsContext, n as Modal, t as useId } from "./useId-Cot-htyS.js";
|
|
9
9
|
import { useEffect, useState } from "preact/hooks";
|
|
10
10
|
import cx from "classnames";
|
|
11
11
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -6,7 +6,7 @@ import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js"
|
|
|
6
6
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
7
7
|
import { t as getCapabilities } from "./processCapabilities-B75YIdXZ.js";
|
|
8
8
|
import { d as hasOwnEntityAssociationOfType } from "./entityAssociationUtil-BlfcBl3i.js";
|
|
9
|
-
import { t as allowIndividualWithoutSoleProp } from "./accountHolderUtils-
|
|
9
|
+
import { t as allowIndividualWithoutSoleProp } from "./accountHolderUtils-Cga0JXlL.js";
|
|
10
10
|
import { a as TRUST_COUNTRIES, i as SOLE_PROP_COUNTRIES, t as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./legalArrangementUtils-CHlmmcB8.js";
|
|
11
11
|
//#region src/components/Shared/forms/BusinessTypeSelection/utils.ts
|
|
12
12
|
var BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
@@ -1,10 +1,10 @@
|
|
|
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] = "bab877a4-7e5b-4c41-9dfe-41cc72b661e4", e._sentryDebugIdIdentifier = "sentry-dbid-bab877a4-7e5b-4c41-9dfe-41cc72b661e4");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { f as addressFields } from "./StateField-
|
|
5
|
+
import { f as addressFields } from "./StateField-BxWm98Tj.js";
|
|
6
6
|
import { t as capitalize } from "./getProps-DVqK7eRw.js";
|
|
7
|
-
//#region src/components/Shared/fields/RegistrationAndOperationalAddressFields/utils.ts
|
|
7
|
+
//#region src/components/Shared/fields/Address/RegistrationAndOperationalAddressFields/utils.ts
|
|
8
8
|
/**
|
|
9
9
|
* Parses the nested trusted fields on a legal entity e.g. ['registrationAddress.address', 'registrationAddress.postalCode'],
|
|
10
10
|
* rebuilding them into the flattened, prefixed fields for the addresses, e.g., `registrationAddress.address` -> `registrationAddressAddress`
|
|
@@ -1,13 +1,13 @@
|
|
|
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] = "f597ea2b-75ad-485e-b8fc-0cd20073a2d2", e._sentryDebugIdIdentifier = "sentry-dbid-f597ea2b-75ad-485e-b8fc-0cd20073a2d2");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
6
|
import { t as Icon } from "./Icon-D2IGgB2L.js";
|
|
7
7
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
8
8
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
9
9
|
import { n as IconButton } from "./Button-EhGM-oCO.js";
|
|
10
|
-
import { a as useAnalyticsContext } from "./useId-
|
|
10
|
+
import { a as useAnalyticsContext } from "./useId-Cot-htyS.js";
|
|
11
11
|
import { d as isNewlyUploadedFile } from "./documentUtils-6K3LdjjN.js";
|
|
12
12
|
import { useEffect } from "preact/hooks";
|
|
13
13
|
import cx from "classnames";
|
|
@@ -1,20 +1,20 @@
|
|
|
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] = "856e02a6-2ddf-4c74-967c-d4f19d4b0d37", e._sentryDebugIdIdentifier = "sentry-dbid-856e02a6-2ddf-4c74-967c-d4f19d4b0d37");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { ct as isEmpty, yt as useLocalStorage } from "./registerEmbed-
|
|
6
|
+
import { ct as isEmpty, yt as useLocalStorage } from "./registerEmbed-TZ9ArAAB.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
8
|
import { r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
9
9
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
10
10
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
11
|
-
import { i as useToggleContext } from "./Checkbox-
|
|
12
|
-
import { a as useAnalyticsContext, i as KEYBOARD_KEYS } from "./useId-
|
|
13
|
-
import { a as resolveFieldMetadata, i as convertFullToHalf } from "./unincorporatedPartnership-
|
|
14
|
-
import { p as isJapanLocalizationEnabled } from "./StateField-
|
|
15
|
-
import { C as validateJaKanaLegalCompanyName, S as validateJaHaniLegalCompanyName, c as CountryField } from "./dropinUtils-
|
|
16
|
-
import { v as toFullWidth } from "./bafinUtils-
|
|
17
|
-
import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-
|
|
11
|
+
import { i as useToggleContext } from "./Checkbox-qmfi_XIo.js";
|
|
12
|
+
import { a as useAnalyticsContext, i as KEYBOARD_KEYS } from "./useId-Cot-htyS.js";
|
|
13
|
+
import { a as resolveFieldMetadata, i as convertFullToHalf } from "./unincorporatedPartnership-DsneX1hY.js";
|
|
14
|
+
import { p as isJapanLocalizationEnabled } from "./StateField-BxWm98Tj.js";
|
|
15
|
+
import { C as validateJaKanaLegalCompanyName, S as validateJaHaniLegalCompanyName, c as CountryField } from "./dropinUtils-5RadTVG9.js";
|
|
16
|
+
import { v as toFullWidth } from "./bafinUtils-Dxa3eJnZ.js";
|
|
17
|
+
import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-hsrxQFKc.js";
|
|
18
18
|
import { useEffect, useState } from "preact/hooks";
|
|
19
19
|
import { jsx } from "preact/jsx-runtime";
|
|
20
20
|
import { queryOptions, skipToken, useMutation, useQuery, useQueryClient } from "@tanstack/preact-query";
|
|
@@ -219,6 +219,11 @@ var verifyTinQueryOptions = (rootLegalEntityId, baseUrl, data, userEvents, optio
|
|
|
219
219
|
...options
|
|
220
220
|
});
|
|
221
221
|
};
|
|
222
|
+
var useVerifyTin = (data, options) => {
|
|
223
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
224
|
+
const userEvents = useAnalyticsContext();
|
|
225
|
+
return useQuery(verifyTinQueryOptions(rootLegalEntityId.value, baseUrl.value, data, userEvents, options));
|
|
226
|
+
};
|
|
222
227
|
var verifyTin = async (legalEntityId, baseUrl, data) => {
|
|
223
228
|
return httpPost({
|
|
224
229
|
baseUrl,
|
|
@@ -449,4 +454,4 @@ var CountryOfGoverningLawFieldValidation = () => ({ countryOfGoverningLaw: {
|
|
|
449
454
|
errorMessage: "fieldIsRequired"
|
|
450
455
|
} });
|
|
451
456
|
//#endregion
|
|
452
|
-
export { CountryOfGoverningLawField as a, useCompanyTypeExamples as c,
|
|
457
|
+
export { CountryOfGoverningLawField as a, useCompanyTypeExamples as c, verifyTinQueryOptions as d, companySearchQueryOptions as f, useClearCompanyData as g, useStoredStateOrProvince as h, COUNTRY_OF_GOVERNING_LAW_FIELD as i, useCompanySelection as l, trackPerformance as m, COUNTRY_OF_GOVERNING_LAW_POSSIBLE as n, useLegalCompanyNameField as o, useCompanySearch as p, isNormalizedStringMatch as r, localizedLegalCompanyNameFieldConfig as s, CountryOfGoverningLawFieldValidation as t, useVerifyTin as u };
|
|
@@ -1,8 +1,8 @@
|
|
|
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] = "9e581754-69ce-4e31-9c8a-0472ce4d04fa", e._sentryDebugIdIdentifier = "sentry-dbid-9e581754-69ce-4e31-9c8a-0472ce4d04fa");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { t as addressValidators } from "./validate-
|
|
5
|
+
import { t as addressValidators } from "./validate-DxoJtDwQ.js";
|
|
6
6
|
import { t as capitalize } from "./getProps-DVqK7eRw.js";
|
|
7
7
|
//#region src/components/EFP/tasks/BusinessFinancingDropin/validate.ts
|
|
8
8
|
var validateLegalEntityIdentifier = (legalEntityIdentifier) => {
|
|
@@ -1,11 +1,11 @@
|
|
|
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] = "c117a631-a0ef-4389-ac96-f0264377d680", e._sentryDebugIdIdentifier = "sentry-dbid-c117a631-a0ef-4389-ac96-f0264377d680");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { H as ADDRESS_VALID_CHAR_REGEX, J as NO_ALPHABET_UNICODE_REGEX, Q as chomeAndBanchiValidator, U as EMOJI_REGEX, at as hasRepeatedCharacters, ft as isValidMinLength, it as hasMaximumTwoRepeatedCharacters, ot as hasText, pt as matchesRegex, q as NO_ALPHABET_REGEX, ut as isInvalidName } from "./registerEmbed-
|
|
5
|
+
import { H as ADDRESS_VALID_CHAR_REGEX, J as NO_ALPHABET_UNICODE_REGEX, Q as chomeAndBanchiValidator, U as EMOJI_REGEX, at as hasRepeatedCharacters, ft as isValidMinLength, it as hasMaximumTwoRepeatedCharacters, ot as hasText, pt as matchesRegex, q as NO_ALPHABET_REGEX, ut as isInvalidName } from "./registerEmbed-TZ9ArAAB.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
7
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
8
|
-
import { n as countrySpecificFormatters } from "./InputDate-
|
|
8
|
+
import { n as countrySpecificFormatters } from "./InputDate-C1Q3XDFU.js";
|
|
9
9
|
//#region src/utils/regex/postalCodePatterns.ts
|
|
10
10
|
var createRegExpByDigits = (digits) => new RegExp(`^\\d{${digits}}$`);
|
|
11
11
|
var postalCodePatterns = {
|
|
@@ -1,6 +1,6 @@
|
|
|
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] = "9f7b41d9-503c-470b-b11e-9134ba5a9e85", e._sentryDebugIdIdentifier = "sentry-dbid-9f7b41d9-503c-470b-b11e-9134ba5a9e85");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|