@adyen/kyc-components 4.14.1 → 4.15.0-beta.1
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/{AcceptTermsOfServiceComponent-BtoIqcdp.js → AcceptTermsOfServiceComponent-D9RkOGLa.js} +21 -21
- package/dist/{Accordion-CSpLDvKK.js → Accordion-DmH02rWQ.js} +1 -1
- package/dist/{AccountSetupRejected-CkPaqkb_.js → AccountSetupRejected-DXrxeaTA.js} +2 -2
- package/dist/{AdaptiveWorkflow-Btk2jonQ.js → AdaptiveWorkflow-DkyHp3I-.js} +31 -31
- package/dist/{AdaptiveWorkflowComponent-B9tT8tHO.js → AdaptiveWorkflowComponent-C0s3XA9b.js} +6 -6
- package/dist/{Address-k3vjnpJO.js → Address-ByNnIfrX.js} +14 -15
- package/dist/{Avatar-DqBKHRAr.js → Avatar-Z3MS8_pW.js} +1 -1
- package/dist/{BusinessFinancingDropin-04bEvEtW.js → BusinessFinancingDropin-BI9qbTfa.js} +34 -35
- package/dist/{BusinessFinancingPage-CVsDC4X9.js → BusinessFinancingPage-rrQUrZBL.js} +7 -7
- package/dist/{BusinessTypeSelectionPage-uql-Z_m_.js → BusinessTypeSelectionPage-DVlhdBOT.js} +14 -14
- package/dist/{Button-DBN5gM_d.js → Button-3qGOI53m.js} +1 -1
- package/dist/{Checkbox-tUvgt59R.js → Checkbox-DPFQmSgp.js} +1 -1
- package/dist/{CompanyRegistrationNumberTypeSelector-BxgvqXhm.js → CompanyRegistrationNumberTypeSelector-B72MvtCt.js} +7 -7
- package/dist/{Confirm-C4GotFqm.js → Confirm-6QfuYcA7.js} +3 -3
- package/dist/{ConstitutionalDocument-Bl13jW1t.js → ConstitutionalDocument-FDgHtu1v.js} +57 -19
- package/dist/{ContactDetails-BnOG9n_e.js → ContactDetails-9JGt7Lx0.js} +7 -7
- package/dist/{ContextGuidance-B8Ox0QgB.js → ContextGuidance-CaskjnLp.js} +2 -2
- package/dist/{CountryField-BsusUvF9.js → CountryField-D3T5pszb.js} +5 -5
- package/dist/{Currency-DOTMElN9.js → Currency-C9smd9hj.js} +45 -10
- package/dist/{CustomerSupport-DRbZuWjX.js → CustomerSupport-CxnPz_MZ.js} +13 -13
- package/dist/{DebugModal-BpMHPmwR.js → DebugModal-CmyRTcuw.js} +10 -10
- package/dist/{DecisionMakerDetails-DgFdlicj.js → DecisionMakerDetails-Cur05tOk.js} +15 -15
- package/dist/{DecisionMakerDetailsPage-DBQOBXSO.js → DecisionMakerDetailsPage-Dqkcvgs5.js} +8 -8
- package/dist/{DecisionMakers-CKREWpPo.js → DecisionMakers-oSWUwKsE.js} +17 -17
- package/dist/{Dropzone-Pg3C3qWS.js → Dropzone-B5f298Ah.js} +19 -7
- package/dist/{EmbeddedStatus-BKVqJCeu.js → EmbeddedStatus-Cz3F9iXD.js} +4 -4
- package/dist/{EndStateLayout-DfThkkI3.js → EndStateLayout-ic1EOve9.js} +2 -2
- package/dist/{EntityAssociation-ByN0fc9V.js → EntityAssociation-Bfb_h3mX.js} +7 -7
- package/dist/{ErrorPanel-DV34PhDv.js → ErrorPanel-CbTDpmpi.js} +3 -3
- package/dist/{Field-CQWAWo5U.js → Field-DAUlw0M5.js} +3 -3
- package/dist/{FormNavigation-BwLxW6W7.js → FormNavigation-LjknVdf5.js} +2 -2
- package/dist/{Individual.rules-DrC9MYN9.js → Individual.rules-Cc2Uigav.js} +8 -5
- package/dist/{IndividualDropin-9y1vfKN5.js → IndividualDropin-DypupM2F.js} +46 -48
- package/dist/{InputDate-cTgjAhzm.js → InputDate-B_jtgBB5.js} +2 -2
- package/dist/{InputText-8abfNtHh.js → InputText-B-ebylm4.js} +3 -3
- package/dist/{Introduction-z76X1iQT.js → Introduction-CvXA6-RL.js} +8 -8
- package/dist/{InvitedDecisionMakerComponent-CHn2iAy5.js → InvitedDecisionMakerComponent-D5gat3zM.js} +20 -24
- package/dist/{JpAddress-Db3HFYFH.js → JpAddress-C38zRvZE.js} +13 -13
- package/dist/{LandingLayout-Dg0sEASR.js → LandingLayout-C1yh_ggf.js} +1 -1
- package/dist/{LegalCompanyNameField-BtsJjXYy.js → LegalCompanyNameField-BxLhDFZ4.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-CQk2tQEe.js → LegalRepresentativeDetailsPage-B-MsZPf-.js} +7 -7
- package/dist/{Link-DtaYQWb-.js → Link-C0jrInxa.js} +1 -1
- package/dist/{ListItem-CZWSCEeJ.js → ListItem-C_g-4xPP.js} +2 -2
- package/dist/{MaskedInput-PFxgE0kR.js → MaskedInput-CPYBS2wP.js} +6 -6
- package/dist/{MaybeModal-4LnufPIv.js → MaybeModal-95T3hqPt.js} +2 -2
- package/dist/{Modal-BgeE7zM2.js → Modal-C__-5LgI.js} +1 -1
- package/dist/{Name-DtDvWkku.js → Name-BlfQjJkJ.js} +4 -4
- package/dist/{NewSummary-DyxWDA7k.js → NewSummary-Cgebw71K.js} +4 -4
- package/dist/{PayoutDetailsDropinMultiForm-CLjOrM_6.js → PayoutDetailsDropinMultiForm-BvJmm0SM.js} +131 -534
- package/dist/{PayoutDetailsPage-DeZOe9GX.js → PayoutDetailsPage-CmUyWu_t.js} +8 -8
- package/dist/{RadioGroup-DlzXLoMN.js → RadioGroup-CMiBSXCA.js} +2 -2
- package/dist/{Review-BFvr472f.js → Review-B1T5E3pI.js} +8 -8
- package/dist/{RootBusinessDetailsPage-BBlZWEzV.js → RootBusinessDetailsPage-CB44DIGg.js} +6 -6
- package/dist/{RootBusinessLinesPage-BQceCG8b.js → RootBusinessLinesPage-BdxPHbIJ.js} +31 -31
- package/dist/{RootIndividualDetailsPage-8i_B3gDn.js → RootIndividualDetailsPage-BcM3xHZ8.js} +7 -7
- package/dist/{Select-vMYP9lm8.js → Select-CvIMIYjl.js} +6 -6
- package/dist/{SignPCIComponent-DNHXXhbJ.js → SignPCIComponent-o5iWDa9u.js} +20 -20
- package/dist/{SingpassSelection-Yo9Ir1eA.js → SingpassSelection-CRFf-u1d.js} +6 -6
- package/dist/{SoleProprietorshipPage-ME_qvKgi.js → SoleProprietorshipPage-DFEn0Ewu.js} +7 -7
- package/dist/{SourceOfFundsPage-c0L-O5Ak.js → SourceOfFundsPage-BCVelN0X.js} +35 -35
- package/dist/{Summary-B97jffAv.js → Summary-8V5EZBd4.js} +9 -9
- package/dist/{TaskListItem-COPCLnC-.js → TaskListItem-C3XFLrVq.js} +9 -9
- package/dist/{TaskVerificationStatus-gGr34dp5.js → TaskVerificationStatus-DTHF8B9j.js} +1 -1
- package/dist/{TaxInformationField-CBbvAd7v.js → TaxInformationField-7C6iLtFs.js} +14 -15
- package/dist/{TaxReportingDropin-ce-PK1rl.js → TaxReportingDropin-CW0-CVJR.js} +18 -18
- package/dist/{TextArea-C2DkQ41s.js → TextArea-BvphlYOu.js} +4 -4
- package/dist/{TileGroup-B7-q4NXH.js → TileGroup-B8II9Mip.js} +2 -2
- package/dist/{TrustDetailsPage-DJ7mVmqc.js → TrustDetailsPage-Cw2OH_cP.js} +32 -32
- package/dist/{TrustMemberCompanyPage-Cpx7cfoE.js → TrustMemberCompanyPage-XaVxyqQT.js} +8 -8
- package/dist/{TrustMemberIndividualPage-M12Ee9Xk.js → TrustMemberIndividualPage-DQd5nIl2.js} +7 -7
- package/dist/{TrustMemberRoleAndTypePage-D13CmXhi.js → TrustMemberRoleAndTypePage-BJhaU0Ju.js} +20 -20
- package/dist/{TrustMembersOverview-DJk9M9PC.js → TrustMembersOverview-CsdYkKZt.js} +13 -13
- package/dist/{UnincorporatedPartnershipIndividualPage-qRTM5O7X.js → UnincorporatedPartnershipIndividualPage-CeDtx9P7.js} +7 -7
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DiiD4OOl.js → UnincorporatedPartnershipMemberCompanyPage-B4AUh2uw.js} +8 -8
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CwI6YHT0.js → UnincorporatedPartnershipMemberRoleAndTypePage-CaQgmfeu.js} +12 -12
- package/dist/{UnincorporatedPartnershipMembersOverview-B5xOS1CT.js → UnincorporatedPartnershipMembersOverview-zm15XNm0.js} +9 -9
- package/dist/{VerificationErrorAlert-DSRLnwIn.js → VerificationErrorAlert-D76yRVAZ.js} +4 -4
- package/dist/{accountHolderUtils-C8atFmal.js → accountHolderUtils-DnEhXSHF.js} +1 -1
- package/dist/adyen-business-financing.js +8 -8
- package/dist/adyen-individual-configuration.js +8 -8
- package/dist/adyen-individual-status.js +8 -8
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +62 -57
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +7 -7
- package/dist/adyen-transfer-instrument-configuration.js +7 -7
- package/dist/adyen-transfer-instrument-management.js +13 -13
- package/dist/adyen-verification-status.js +6 -6
- package/dist/{constants-Qca4jZBG.js → constants-DvK9RVMD.js} +6 -6
- package/dist/{debouncedInputEvent-D2-Kctv9.js → debouncedInputEvent-Fwwp_K_-.js} +2 -2
- package/dist/en-US-BeIZBdDm.js +7 -0
- package/dist/en-US-CKZZNUWW.js +16 -0
- package/dist/{en-US-BIYEZxZV.js → en-US-CmzloEL3.js} +3 -1
- package/dist/{getProblemsForEntity-CogrYbYP.js → getProblemsForEntity-CXzgYL6R.js} +1 -1
- package/dist/{http-DYzfwjcs.js → http-DeQp0G69.js} +1 -1
- package/dist/{invalidateRootLegalEntity-DvE5hGMG.js → invalidateRootLegalEntity-DfF59VHE.js} +3 -3
- package/dist/{localizeDateString-DB-oTe60.js → localizeDateString-CU7HGR-k.js} +1 -1
- package/dist/{mapExistingFile-CZB9JLAV.js → mapExistingFile-BmyzNoup.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-DUElzaoS.js → mapJpAddressSchemaToAddressLocalizations-BGLDkUt1.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-BsHNunzQ.js → mapLegalEntityToIndividualSchema-BUIjjkrb.js} +7 -7
- package/dist/{mapTransferInstrumentToPayoutAccount-DuqJ08ye.js → mapTransferInstrumentToPayoutAccount-DZMqLmU8.js} +2 -2
- package/dist/{omitObscuredFieldsIfUnchanged-SoT_JDza.js → omitObscuredFieldsIfUnchanged-Datp62BM.js} +2 -2
- package/dist/{patternValidators-B8R6IIuO.js → patternValidators-Dg_UvQs9.js} +1 -1
- package/dist/{process-field-configurations-U459c7bG.js → process-field-configurations-n3ecaPQ8.js} +1 -1
- package/dist/{resolveEnvironment-BqViMsaD.js → resolveEnvironment-BO-j8Bwm.js} +29 -26
- package/dist/{roleMetadata-bznvTmh3.js → roleMetadata-CWdYxbqM.js} +1 -1
- package/dist/{translation-ZXpd9jdD.js → translation-BR3rLb4m.js} +1 -1
- package/dist/types/components/Business/forms/rules.constants.d.ts +39 -3
- package/dist/types/components/Business/forms/rules.d.ts +0 -39
- package/dist/types/components/Business/utils/utils.d.ts +13 -0
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/getFormSlice.d.ts +12 -0
- package/dist/{types-Bvp3aTbC.js → types-KjTYEnAG.js} +1 -1
- package/dist/{unincorporated-partnership-GaTPaALJ.js → unincorporated-partnership-BstfjTh2.js} +1 -1
- package/dist/{useAssociatedLegalEntity-CQAe7Co6.js → useAssociatedLegalEntity-QRvyeNwU.js} +2 -2
- package/dist/{useBusinessDetailsData-CHXnGCLl.js → useBusinessDetailsData-DBmj3nNJ.js} +240 -57
- package/dist/{useBusinessLines-Dshc0pYD.js → useBusinessLines-B2iCcDej.js} +1 -1
- package/dist/{useCanSeeIntroduction-DvqgbYjS.js → useCanSeeIntroduction-Cj5FkQFO.js} +1 -1
- package/dist/{useCreateLegalEntity-38twl3gB.js → useCreateLegalEntity-zPjl13U3.js} +1 -1
- package/dist/{useDataMissingRemediations-7H0hHxXG.js → useDataMissingRemediations-CrKtd_Fd.js} +1 -1
- package/dist/{useForm-oeb0FHj0.js → useForm-CANEmbG2.js} +2 -2
- package/dist/{useFormContext-BbzJNt4A.js → useFormContext-D9UmS1Tj.js} +8 -8
- package/dist/{useLegalEntity-EN5ubX2H.js → useLegalEntity-BXk2tzGe.js} +1 -1
- package/dist/{useMultiForm-D7qHT4lY.js → useMultiForm-Ch5yvl-v.js} +2 -2
- package/dist/{useNavigate-DoNBuHnj.js → useNavigate-D4SB__Ik.js} +31 -31
- package/dist/{useOnboardingStatus-Cf6dZFB2.js → useOnboardingStatus-BgO4uPbW.js} +1 -1
- package/dist/{usePciQuestionnaireList-C3bk4K8n.js → usePciQuestionnaireList-BEPt97lw.js} +1 -1
- package/dist/{useSalesChannels-CC-N9vqE.js → useSalesChannels-CxxzJGtX.js} +2 -2
- package/dist/{useScenarios-ful0VqQ4.js → useScenarios-BRGMIufX.js} +1 -1
- package/dist/{useTaskLandedEvent-CtlV_Bum.js → useTaskLandedEvent-Doq80YT8.js} +1 -1
- package/dist/{useTaskStatus-CLcXCIz7.js → useTaskStatus-BLkHjMgm.js} +1 -1
- package/dist/{useTermsOfServiceStatus-DwWvz0vR.js → useTermsOfServiceStatus-B1OpYOua.js} +1 -1
- package/dist/{useTrustMembers-BPfG6J-V.js → useTrustMembers-BOfT11Kj.js} +3 -3
- package/dist/{useUnincorporatedPartnershipMembers-wgiUFuxT.js → useUnincorporatedPartnershipMembers-DK_yrIU4.js} +3 -3
- package/dist/{useUpdateBusinessLines-BRxlqBnM.js → useUpdateBusinessLines-jlXfi57a.js} +1 -1
- package/dist/{useUpdateLegalEntity-YsZGAO7M.js → useUpdateLegalEntity-De_ohp9A.js} +2 -2
- package/dist/{utils-DcUoR5qG.js → utils-BtyrxTzp.js} +1 -1
- package/dist/{constants-DrtMSDfx.js → utils-DNIZ6F6L.js} +67 -2
- package/dist/{utils-CLabUjvb.js → utils-X8YwekZF.js} +3 -3
- package/dist/{utils-C_dPMrE_.js → utils-ztjLNfgn.js} +59 -276
- package/dist/{validate-Bjm9Iho3.js → validate-7X0zga5Q.js} +1 -1
- package/dist/{validate-CqqI54rs.js → validate-B2bZh_uL.js} +6 -18
- package/dist/{validateExtractionResult-2oFg6EjE.js → validateExtractionResult-CwehLDDP.js} +14 -14
- package/dist/{validationError-tIm9Zzjt.js → validationError-DqjDv5Q-.js} +1 -1
- package/package.json +1 -1
- package/dist/en-US-xwcTnMwf.js +0 -7
- package/dist/japanSupportUtils-H5Zfox2v.js +0 -11
- package/dist/types/constants/config.d.ts +0 -1
- package/dist/types/context/StateContext/useGlobalData.d.ts +0 -10
- package/dist/types/context/StateContext/useStateContext.d.ts +0 -2
- package/dist/utils-BgdkZkf5.js +0 -71
- package/dist/utils-K8Z-zRnu.js +0 -32
|
@@ -1,86 +1,85 @@
|
|
|
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] = "9d609f03-7a60-44f2-8369-93b74ca0ab40", e._sentryDebugIdIdentifier = "sentry-dbid-9d609f03-7a60-44f2-8369-93b74ca0ab40");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as Typography, o as createLogger, r as useTranslation } from "./translation-
|
|
6
|
-
import { E as useAllowedCountries, T as datasetUtilities, at as isUndefinedOrNull, ft as useAccountHolder, j as useToggleContext, k as Header, nt as isEmpty, rt as isISIN, x as Alert } from "./resolveEnvironment-
|
|
7
|
-
import { r as Loader, t as Button } from "./Button-
|
|
8
|
-
import { r as httpPost, s as useApiContext } from "./http-
|
|
9
|
-
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-
|
|
5
|
+
import { i as Typography, o as createLogger, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
+
import { E as useAllowedCountries, T as datasetUtilities, at as isUndefinedOrNull, ft as useAccountHolder, j as useToggleContext, k as Header, nt as isEmpty, rt as isISIN, x as Alert } from "./resolveEnvironment-BO-j8Bwm.js";
|
|
7
|
+
import { r as Loader, t as Button } from "./Button-3qGOI53m.js";
|
|
8
|
+
import { r as httpPost, s as useApiContext } from "./http-DeQp0G69.js";
|
|
9
|
+
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-BXk2tzGe.js";
|
|
10
10
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
11
11
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
12
12
|
import { c as entriesOf, i as drop, l as keysOf, o as objectsDeepEqual, r as doArraysMatch } from "./AnalyticsContext-BFrJmsp0.js";
|
|
13
13
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
14
|
-
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
14
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-DTHF8B9j.js";
|
|
15
15
|
import { n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
|
|
16
16
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
17
17
|
import { _ as businessDetailsDocumentMapping, f as solePropBusinessDetailsApiKeyMapping, g as businessDetailsComponentsKeyMapping, h as businessDetailsApiKeyMapping, m as solePropBusinessDetailsKeyMapping, p as solePropBusinessDetailsDocumentMapping } from "./processCapabilities-hLmRus8U.js";
|
|
18
18
|
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
19
19
|
import { r as filterOutUnwantedAssociationsIfRootLE, s as getOwnEntityAssociations } from "./entityAssociationUtil-C-wflW8q.js";
|
|
20
20
|
import { t as Scenarios } from "./get-scenarios-Bb-paHmJ.js";
|
|
21
|
-
import { t as useBusinessLines } from "./useBusinessLines-
|
|
21
|
+
import { t as useBusinessLines } from "./useBusinessLines-B2iCcDej.js";
|
|
22
22
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
23
|
-
import { i as useAnalyticsContext, n as ModalContent, r as KEYBOARD_KEYS, t as Modal } from "./Modal-
|
|
23
|
+
import { i as useAnalyticsContext, n as ModalContent, r as KEYBOARD_KEYS, t as Modal } from "./Modal-C__-5LgI.js";
|
|
24
24
|
import { t as SettingNames } from "./types-Cwq1JAWT.js";
|
|
25
|
-
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-
|
|
25
|
+
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-DfF59VHE.js";
|
|
26
26
|
import { c as CompanyTypesValues } from "./bafinUtils-BKq-s1Ka.js";
|
|
27
|
-
import { r as LoaderWrapper } from "./utils-
|
|
28
|
-
import { t as Confirm } from "./Confirm-
|
|
27
|
+
import { r as LoaderWrapper } from "./utils-BtyrxTzp.js";
|
|
28
|
+
import { t as Confirm } from "./Confirm-6QfuYcA7.js";
|
|
29
29
|
import { t as HandlerContext } from "./HandlerContext-DeMa68z0.js";
|
|
30
|
-
import { t as useScenarios } from "./useScenarios-
|
|
31
|
-
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
32
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
33
|
-
import { a as defaultFieldMetadata, i as defaultFieldConfig, l as formatAddressForCleanse, n as STATE_FIELD, r as StateField, t as Address, u as useAddressCleanse } from "./Address-
|
|
34
|
-
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, s as FormContextProvider, t as useFormContext } from "./useFormContext-
|
|
35
|
-
import { n as composePerScenarioFormConfigurations, r as getPropsFromConfigurations } from "./process-field-configurations-
|
|
30
|
+
import { t as useScenarios } from "./useScenarios-BRGMIufX.js";
|
|
31
|
+
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-zPjl13U3.js";
|
|
32
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-De_ohp9A.js";
|
|
33
|
+
import { a as defaultFieldMetadata, i as defaultFieldConfig, l as formatAddressForCleanse, n as STATE_FIELD, r as StateField, t as Address, u as useAddressCleanse } from "./Address-ByNnIfrX.js";
|
|
34
|
+
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, s as FormContextProvider, t as useFormContext } from "./useFormContext-D9UmS1Tj.js";
|
|
35
|
+
import { n as composePerScenarioFormConfigurations, r as getPropsFromConfigurations } from "./process-field-configurations-n3ecaPQ8.js";
|
|
36
36
|
import { t as StructuredList } from "./StructuredList-CUyo9-3i.js";
|
|
37
|
-
import { t as ErrorPanel } from "./ErrorPanel-
|
|
37
|
+
import { t as ErrorPanel } from "./ErrorPanel-CbTDpmpi.js";
|
|
38
38
|
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-DVc3a6gf.js";
|
|
39
|
-
import { n as summaryStep, r as Summary_module_default } from "./Summary-
|
|
40
|
-
import { t as useMultiForm } from "./useMultiForm-
|
|
41
|
-
import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-
|
|
42
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
43
|
-
import { a as alphanumericInputs, i as alphaInputs, l as numericInputs, s as makeMask, t as MaskedInput } from "./MaskedInput-
|
|
44
|
-
import { i as mapJpAddressSummaryNewSummary, n as toFullWidth, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import { c as getDocument, l as getDocuments, o as createDocumentRequest, p as mergeProofOfOwnershipAttachments, s as documentApiUtils, u as getFileExtention } from "./validate-CqqI54rs.js";
|
|
39
|
+
import { n as summaryStep, r as Summary_module_default } from "./Summary-8V5EZBd4.js";
|
|
40
|
+
import { t as useMultiForm } from "./useMultiForm-Ch5yvl-v.js";
|
|
41
|
+
import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-BmyzNoup.js";
|
|
42
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-Doq80YT8.js";
|
|
43
|
+
import { a as alphanumericInputs, i as alphaInputs, l as numericInputs, s as makeMask, t as MaskedInput } from "./MaskedInput-CPYBS2wP.js";
|
|
44
|
+
import { i as mapJpAddressSummaryNewSummary, n as toFullWidth, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-BGLDkUt1.js";
|
|
45
|
+
import { a as mapAddressLabelsNewSummary, c as COUNTRIES_WITH_STATES_DATASET, n as getAddressSchemaLabelsByCountry, r as getKeyForField, t as getAddressSchemaForCountry } from "./utils-DNIZ6F6L.js";
|
|
46
|
+
import { i as isValidationError, n as isBusinessSelectionLegalArrangementError, o as processValidationErrors, s as isMaintenanceModeError } from "./validationError-DqjDv5Q-.js";
|
|
47
|
+
import { a as createDocumentRequest, c as getDocuments, f as mergeProofOfOwnershipAttachments, l as getFileExtention, o as documentApiUtils, s as getDocument } from "./validate-B2bZh_uL.js";
|
|
49
48
|
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
50
|
-
import { a as getFieldsWithExistingData, n as TaxInformationField, r as MemoizedDocumentUpload, t as TAX_INFORMATION_FIELD } from "./TaxInformationField-
|
|
51
|
-
import {
|
|
49
|
+
import { a as getFieldsWithExistingData, n as TaxInformationField, r as MemoizedDocumentUpload, t as TAX_INFORMATION_FIELD } from "./TaxInformationField-7C6iLtFs.js";
|
|
50
|
+
import { a as isJapanLocalizationEnabled } from "./Individual.rules-Cc2Uigav.js";
|
|
52
51
|
import { t as uppercase } from "./uppercase-DvjwUM0n.js";
|
|
53
|
-
import { a as validateNotEmptyOnBlur, n as validateJaKanaLegalCompanyName, o as validatePatternOnBlur, t as validateJaHaniLegalCompanyName } from "./patternValidators-
|
|
54
|
-
import { C as
|
|
52
|
+
import { a as validateNotEmptyOnBlur, n as validateJaKanaLegalCompanyName, o as validatePatternOnBlur, t as validateJaHaniLegalCompanyName } from "./patternValidators-Dg_UvQs9.js";
|
|
53
|
+
import { A as taxInformationDefaultFieldMetadata, C as getTaxIdNumberOptions, O as getTaxInformationPlaceholderText, _ as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, b as REGISTRATION_NUMBER_EXEMPTION_RULES, c as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, d as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, g as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, h as COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS, i as COUNTRIES_REQUIRING_E_INVOICING_CODE, k as taxInformationDefaultFieldConfig, l as COUNTRIES_THAT_REQUIRE_DATE_OF_INCORPORATION, m as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, o as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION, p as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER, s as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, u as COUNTRIES_THAT_USES_UEN_OR_GST, v as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, w as getValidCompanyTypesForTaxIdNumberType, x as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, y as COUNTRY_OF_GOVERNING_LAW_POSSIBLE } from "./utils-ztjLNfgn.js";
|
|
55
54
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
56
|
-
import { t as Field } from "./Field-
|
|
57
|
-
import { t as TileGroup } from "./TileGroup-
|
|
58
|
-
import { t as LandingLayout } from "./LandingLayout-
|
|
59
|
-
import {
|
|
60
|
-
import { t as Checkbox } from "./Checkbox-
|
|
61
|
-
import { n as convertFullToHalf } from "./TextArea-
|
|
62
|
-
import { t as Link } from "./Link-
|
|
63
|
-
import { t as InputText } from "./InputText-
|
|
64
|
-
import { n as formatDateObj, t as InputDate } from "./InputDate-
|
|
65
|
-
import { n as CountryField, t as COUNTRY_FIELD } from "./CountryField-
|
|
66
|
-
import { t as RadioGroup } from "./RadioGroup-
|
|
67
|
-
import {
|
|
55
|
+
import { t as Field } from "./Field-DAUlw0M5.js";
|
|
56
|
+
import { t as TileGroup } from "./TileGroup-B8II9Mip.js";
|
|
57
|
+
import { t as LandingLayout } from "./LandingLayout-C1yh_ggf.js";
|
|
58
|
+
import { n as useDebouncedCallback } from "./debouncedInputEvent-Fwwp_K_-.js";
|
|
59
|
+
import { t as Checkbox } from "./Checkbox-DPFQmSgp.js";
|
|
60
|
+
import { n as convertFullToHalf } from "./TextArea-BvphlYOu.js";
|
|
61
|
+
import { t as Link } from "./Link-C0jrInxa.js";
|
|
62
|
+
import { t as InputText } from "./InputText-B-ebylm4.js";
|
|
63
|
+
import { n as formatDateObj, t as InputDate } from "./InputDate-B_jtgBB5.js";
|
|
64
|
+
import { n as CountryField, t as COUNTRY_FIELD } from "./CountryField-D3T5pszb.js";
|
|
65
|
+
import { t as RadioGroup } from "./RadioGroup-CMiBSXCA.js";
|
|
66
|
+
import { t as createFormRules } from "./form-rules-CUUQGacJ.js";
|
|
68
67
|
import { t as isEmpty$1 } from "./isEmpty-BVlBH98t.js";
|
|
69
68
|
import { n as mapApiScriptLocalizationToSchemaFields, r as mapSchemaFieldsToApiScriptLocalization, t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js";
|
|
70
|
-
import { t as currencyByCountry } from "./types-
|
|
69
|
+
import { t as currencyByCountry } from "./types-KjTYEnAG.js";
|
|
71
70
|
import { t as Divider } from "./Divider-BENvVRnz.js";
|
|
72
71
|
import { t as DetailViewLayout } from "./DetailViewLayout-DNCGEd7b.js";
|
|
73
|
-
import { a as LegalFormField, i as InputCurrency, n as Currency, o as mapFinancialReportsToFinancialInformation, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD } from "./Currency-
|
|
74
|
-
import { n as SummarySection, t as NewSummary } from "./NewSummary-
|
|
75
|
-
import { t as useTaskStatus } from "./useTaskStatus-
|
|
76
|
-
import { t as ListItem } from "./ListItem-
|
|
77
|
-
import { a as getValidCompanyTypesForRegistrationNumberType, c as getRegistrationNumberHelperText, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-
|
|
78
|
-
import { n as useCreateBusinessLine, r as useIndustryCodes, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-
|
|
72
|
+
import { a as LegalFormField, c as getNestedTrustedFields, i as InputCurrency, l as isDateOlderThanAYear, n as Currency, o as mapFinancialReportsToFinancialInformation, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD, u as mapAddressData } from "./Currency-C9smd9hj.js";
|
|
73
|
+
import { n as SummarySection, t as NewSummary } from "./NewSummary-Cgebw71K.js";
|
|
74
|
+
import { t as useTaskStatus } from "./useTaskStatus-BLkHjMgm.js";
|
|
75
|
+
import { t as ListItem } from "./ListItem-C_g-4xPP.js";
|
|
76
|
+
import { a as getValidCompanyTypesForRegistrationNumberType, c as getRegistrationNumberHelperText, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-B72MvtCt.js";
|
|
77
|
+
import { n as useCreateBusinessLine, r as useIndustryCodes, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-jlXfi57a.js";
|
|
79
78
|
import { n as formatCurrency } from "./formatCurrency-Cq3WFpdZ.js";
|
|
80
|
-
import { a as VAT_NUMBER_FIELD, c as defaultFieldConfig$1, d as doingBusinessAsAbsentFieldMetadata, f as doingBusinessAsFieldMetadata, g as
|
|
81
|
-
import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-
|
|
82
|
-
import { a as defaultFieldMetadata$2, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig$2, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-
|
|
83
|
-
import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
79
|
+
import { S as BusinessRegistrationNumberField, _ as isFinancialInformationRequired, a as VAT_NUMBER_FIELD, b as isUsingCompanySearch, c as defaultFieldConfig$1, d as doingBusinessAsAbsentFieldMetadata, f as doingBusinessAsFieldMetadata, g as getCountryOfGoverningLaw, h as countryToTaxInfoTypeMap, l as defaultFieldMetadata$1, m as DBA_NAME_FIELD, n as registrationAddressFields, o as VatNumberField, p as DBANameField, r as operationalAddressIsSameIds, s as getDefaultVatNumberType, t as MemoizedConstitutionalDocument, u as vatAbsenceReasonMetadata, v as isRegistrationExemptionAllowed, x as BUSINESS_REGISTRATION_NUMBER_FIELD, y as isRegistrationNumberAbsentStateV4Scenario } from "./ConstitutionalDocument-FDgHtu1v.js";
|
|
80
|
+
import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-DvK9RVMD.js";
|
|
81
|
+
import { a as defaultFieldMetadata$2, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig$2, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-BxLhDFZ4.js";
|
|
82
|
+
import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-X8YwekZF.js";
|
|
84
83
|
import { Suspense, lazy } from "preact/compat";
|
|
85
84
|
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";
|
|
86
85
|
import cx from "classnames";
|
|
@@ -2118,6 +2117,190 @@ var financialInfoValidationWithEmployeesRules = {
|
|
|
2118
2117
|
...financialInfoValidationEmployeesOnlyRules
|
|
2119
2118
|
};
|
|
2120
2119
|
//#endregion
|
|
2120
|
+
//#region src/components/Business/utils/requestingCapabilities.ts
|
|
2121
|
+
var ISSUING_CAPABILITY_GROUP = [
|
|
2122
|
+
"issueCard",
|
|
2123
|
+
"issueCardConsumer",
|
|
2124
|
+
"issueCardCommercial",
|
|
2125
|
+
"useCard",
|
|
2126
|
+
"useCardConsumer",
|
|
2127
|
+
"useCardCommercial"
|
|
2128
|
+
];
|
|
2129
|
+
function requestingIssuing(rootLegalEntity) {
|
|
2130
|
+
const capabilities = rootLegalEntity?.capabilities ?? {};
|
|
2131
|
+
return ISSUING_CAPABILITY_GROUP.some((capability) => capability in capabilities && capabilities[capability]?.requested === true);
|
|
2132
|
+
}
|
|
2133
|
+
var BANKING_CAPABILITY_GROUP = [
|
|
2134
|
+
"issueBankAccount",
|
|
2135
|
+
"sendToThirdParty",
|
|
2136
|
+
"receiveFromThirdParty"
|
|
2137
|
+
];
|
|
2138
|
+
function requestingBanking(rootLegalEntity) {
|
|
2139
|
+
const capabilities = rootLegalEntity?.capabilities ?? {};
|
|
2140
|
+
return BANKING_CAPABILITY_GROUP.some((capability) => capability in capabilities && capabilities[capability]?.requested === true);
|
|
2141
|
+
}
|
|
2142
|
+
//#endregion
|
|
2143
|
+
//#region src/components/Business/forms/rules.ts
|
|
2144
|
+
var rules = ({ data, defaultData, verifiedBusiness, country, taskType, isFeatureEnabled = () => false, isSettingEnabled = () => false, accountHolder, rootLegalEntity, tinMatched }) => {
|
|
2145
|
+
const countryRequiresDateOfIncorporationForCompanies = () => {
|
|
2146
|
+
if (COUNTRIES_THAT_REQUIRE_DATE_OF_INCORPORATION.includes(country)) return "REQUIRED";
|
|
2147
|
+
};
|
|
2148
|
+
const countryRequiresFinancialInformation = () => {
|
|
2149
|
+
const isFinancialInformationFeatureEnabled = isFeatureEnabled("EnableFinancialInformationComponentV4");
|
|
2150
|
+
const leType = rootLegalEntity?.type;
|
|
2151
|
+
return isFinancialInformationRequired(isFinancialInformationFeatureEnabled, taskType, country, rootLegalEntity?.capabilities, leType);
|
|
2152
|
+
};
|
|
2153
|
+
const hasFinancialInformation = (financialInformation) => {
|
|
2154
|
+
if (!financialInformation) return false;
|
|
2155
|
+
return financialInformation.numberOfEmployees != null || Boolean(financialInformation.financialReportingDate) || Boolean(financialInformation.currency) || financialInformation.balanceSheetTotal != null || financialInformation.annualTurnover != null;
|
|
2156
|
+
};
|
|
2157
|
+
return createFormRules({
|
|
2158
|
+
requireDoingBusinessAsName: () => {
|
|
2159
|
+
return data.additionalInformation?.hasDoingBusinessAs ? "REQUIRED" : void 0;
|
|
2160
|
+
},
|
|
2161
|
+
countryRequiresStateOrProvince: () => {
|
|
2162
|
+
if (COUNTRIES_WITH_STATES_DATASET.includes(country)) return "REQUIRED";
|
|
2163
|
+
},
|
|
2164
|
+
ifPubliclyTradedCompany: () => {
|
|
2165
|
+
if (data.companyStructure?.entityType === CompanyTypesValues.PUBLIC_COMPANY) return "REQUIRED";
|
|
2166
|
+
},
|
|
2167
|
+
countryUsesVat: () => {
|
|
2168
|
+
if (!COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country)) return data.additionalInformation?.exemptedFromVat ? "OPTIONAL" : "REQUIRED";
|
|
2169
|
+
},
|
|
2170
|
+
vatNumberType: () => {
|
|
2171
|
+
if (!COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country)) return "OPTIONAL";
|
|
2172
|
+
},
|
|
2173
|
+
isVatExempt: () => {
|
|
2174
|
+
if (!COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country)) return data.additionalInformation?.exemptedFromVat ? "REQUIRED" : "OPTIONAL";
|
|
2175
|
+
},
|
|
2176
|
+
countryUsesTaxId: () => {
|
|
2177
|
+
const isExemptFromTax = Boolean(data.basicInformation?.exemptedFromTax ?? data.additionalInformation?.exemptedFromTax);
|
|
2178
|
+
const isOrgWithBanking = rootLegalEntity?.type === "organization" && keysOf(rootLegalEntity.capabilities ?? {}).includes("issueBankAccount");
|
|
2179
|
+
const registrationNumberType = isFeatureEnabled("EnableUnifiedCompanySearch") ? data.basicInformation?.registrationNumberType : data.additionalInformation?.registrationNumberType;
|
|
2180
|
+
if (TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION.includes(country) && isOrgWithBanking) return isExemptFromTax ? "OPTIONAL" : "REQUIRED";
|
|
2181
|
+
if (country === CountryCodes.Italy && isOrgWithBanking && registrationNumberType === "CCIAA") return isExemptFromTax ? "OPTIONAL" : "REQUIRED";
|
|
2182
|
+
if (COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country) && !(taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY && COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP.includes(country))) return isExemptFromTax ? "OPTIONAL" : "REQUIRED";
|
|
2183
|
+
},
|
|
2184
|
+
companyRegistrationNumberExemptionAllowed: () => {
|
|
2185
|
+
const isExemptFromRegistrationNumber = Boolean(data.basicInformation?.exemptedFromRegistrationNumber ?? data.additionalInformation?.exemptedFromRegistrationNumber);
|
|
2186
|
+
if (taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY) {
|
|
2187
|
+
if (!COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS.includes(country)) return;
|
|
2188
|
+
return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
|
|
2189
|
+
}
|
|
2190
|
+
if (!isRegistrationExemptionAllowed(country)) return;
|
|
2191
|
+
const companyType = data.companyStructure?.entityType;
|
|
2192
|
+
const allowedTypes = REGISTRATION_NUMBER_EXEMPTION_RULES[country];
|
|
2193
|
+
if (allowedTypes.length > 0 && companyType && !allowedTypes.includes(companyType)) return;
|
|
2194
|
+
/**
|
|
2195
|
+
* Country-specific guard checks before applying the shared exemption rule result.
|
|
2196
|
+
*
|
|
2197
|
+
* - HK first enforces the legacy registration-number presence guard for existing entities.
|
|
2198
|
+
* - AU/NZ then enforce the absent-state V4 feature flag gate.
|
|
2199
|
+
*/
|
|
2200
|
+
switch (country) {
|
|
2201
|
+
case CountryCodes.HongKong:
|
|
2202
|
+
if (!defaultData?.basicInformation?.registrationNumber && !defaultData?.additionalInformation?.registrationNumber) return;
|
|
2203
|
+
return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
|
|
2204
|
+
case CountryCodes.Australia:
|
|
2205
|
+
case CountryCodes.NewZealand:
|
|
2206
|
+
if (!isFeatureEnabled("EnableRegistrationAndTaxAbsentStatesV4")) return;
|
|
2207
|
+
return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
|
|
2208
|
+
default: return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
|
|
2209
|
+
}
|
|
2210
|
+
},
|
|
2211
|
+
countryOfGoverningLawRequired: () => {
|
|
2212
|
+
if (isFeatureEnabled("EnableCountryOfGoverningLawForUKCompanies") && COUNTRY_OF_GOVERNING_LAW_POSSIBLE.includes(data.basicInformation?.country)) return "REQUIRED";
|
|
2213
|
+
},
|
|
2214
|
+
countryRequiresRegistrationNumber: () => {
|
|
2215
|
+
const isExemptFromRegistrationNumber = Boolean(data.basicInformation?.exemptedFromRegistrationNumber ?? data.additionalInformation?.exemptedFromRegistrationNumber);
|
|
2216
|
+
switch (taskType) {
|
|
2217
|
+
case TaskTypes.SOLE_PROPRIETOR_COMPANY:
|
|
2218
|
+
if (COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION.includes(country)) return;
|
|
2219
|
+
if (COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS.includes(country)) return "OPTIONAL";
|
|
2220
|
+
return isExemptFromRegistrationNumber ? "OPTIONAL" : "REQUIRED";
|
|
2221
|
+
default:
|
|
2222
|
+
if (COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER.includes(country)) return "OPTIONAL";
|
|
2223
|
+
if (country === CountryCodes.HongKong) {
|
|
2224
|
+
if (!defaultData?.additionalInformation?.registrationNumber) return;
|
|
2225
|
+
return isExemptFromRegistrationNumber ? "OPTIONAL" : "REQUIRED";
|
|
2226
|
+
}
|
|
2227
|
+
if (!COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION.includes(country)) return isExemptFromRegistrationNumber ? void 0 : "REQUIRED";
|
|
2228
|
+
}
|
|
2229
|
+
},
|
|
2230
|
+
registrationNumberType: () => {
|
|
2231
|
+
switch (taskType) {
|
|
2232
|
+
case TaskTypes.SOLE_PROPRIETOR_COMPANY:
|
|
2233
|
+
if (COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION.includes(country)) return;
|
|
2234
|
+
return "OPTIONAL";
|
|
2235
|
+
default:
|
|
2236
|
+
if (COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER.includes(country)) return "OPTIONAL";
|
|
2237
|
+
if (COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION.includes(country)) return;
|
|
2238
|
+
return "OPTIONAL";
|
|
2239
|
+
}
|
|
2240
|
+
},
|
|
2241
|
+
countryUsesUenOrGst: () => {
|
|
2242
|
+
if (taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY) return;
|
|
2243
|
+
if (COUNTRIES_THAT_USES_UEN_OR_GST.includes(country)) return "REQUIRED";
|
|
2244
|
+
},
|
|
2245
|
+
countryHasTaxExemptions: () => {
|
|
2246
|
+
const isExemptFromTax = Boolean(data.basicInformation?.exemptedFromTax ?? data.additionalInformation?.exemptedFromTax);
|
|
2247
|
+
switch (taskType) {
|
|
2248
|
+
case TaskTypes.SOLE_PROPRIETOR_COMPANY:
|
|
2249
|
+
if (!COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS.includes(country)) return;
|
|
2250
|
+
return isExemptFromTax ? "REQUIRED" : "OPTIONAL";
|
|
2251
|
+
default:
|
|
2252
|
+
if (isFeatureEnabled("EnableRegistrationAndTaxAbsentStatesV4") && COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4.includes(country) && accountHolder === "aTrust") return isExemptFromTax ? "REQUIRED" : "OPTIONAL";
|
|
2253
|
+
if (COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES.includes(country)) return isExemptFromTax ? "REQUIRED" : "OPTIONAL";
|
|
2254
|
+
}
|
|
2255
|
+
},
|
|
2256
|
+
usingCompanySearch: () => {
|
|
2257
|
+
if (isUsingCompanySearch(country, taskType)) return "REQUIRED";
|
|
2258
|
+
},
|
|
2259
|
+
requireStateOrProvinceForCompanySearch: () => {
|
|
2260
|
+
if (isUsingCompanySearch(country, taskType) && COUNTRIES_WITH_STATES_DATASET.includes(country)) return "REQUIRED";
|
|
2261
|
+
},
|
|
2262
|
+
countryRequiresFinancialInformation,
|
|
2263
|
+
isDateOfIncorporationRequired: () => {
|
|
2264
|
+
return countryRequiresDateOfIncorporationForCompanies() || countryRequiresFinancialInformation();
|
|
2265
|
+
},
|
|
2266
|
+
isFinancialReportingFieldsRequired: () => {
|
|
2267
|
+
if (countryRequiresFinancialInformation() !== "REQUIRED") return;
|
|
2268
|
+
if (isDateOlderThanAYear(data.additionalInformation?.dateOfIncorporation)) return "REQUIRED";
|
|
2269
|
+
/**
|
|
2270
|
+
* MultiForm recalculates required/optional schemas when rules change and reindexes form state
|
|
2271
|
+
* against those schemas. If these financial fields are not included, provider-applied values can
|
|
2272
|
+
* be pruned and appear to reset. Keeping them OPTIONAL by default when the feature is enabled
|
|
2273
|
+
* (instead of undefined) preserves existing values in the form while still avoiding hard validation
|
|
2274
|
+
* requirements when provider data is partial.
|
|
2275
|
+
*/
|
|
2276
|
+
if (hasFinancialInformation(verifiedBusiness?.financialInformation) || hasFinancialInformation(data.companyFinancialInformation)) return "OPTIONAL";
|
|
2277
|
+
},
|
|
2278
|
+
isIndustryCodeRequired: () => {
|
|
2279
|
+
const needsBusinessLine = requestingIssuing(rootLegalEntity) || requestingBanking(rootLegalEntity);
|
|
2280
|
+
if (isSettingEnabled(SettingNames.AllowBusinessLines) && needsBusinessLine) return "REQUIRED";
|
|
2281
|
+
},
|
|
2282
|
+
annualTurnoverRequired: () => {
|
|
2283
|
+
if (data.companyFinancialInformation?.reportedValueOption === "annualTurnover") return "REQUIRED";
|
|
2284
|
+
},
|
|
2285
|
+
balanceSheetTotalRequired: () => {
|
|
2286
|
+
if (data.companyFinancialInformation?.reportedValueOption === "balanceSheetTotal") return "REQUIRED";
|
|
2287
|
+
},
|
|
2288
|
+
isEInvoicingCodeEnabled: () => {
|
|
2289
|
+
if (isFeatureEnabled("EnableEInvoicingCodeField") && COUNTRIES_REQUIRING_E_INVOICING_CODE.includes(country)) return "REQUIRED";
|
|
2290
|
+
},
|
|
2291
|
+
ifCountryUsAndTinFailed: () => {
|
|
2292
|
+
if (taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY) return;
|
|
2293
|
+
if (tinMatched === false && country === CountryCodes.UnitedStates) return "REQUIRED";
|
|
2294
|
+
},
|
|
2295
|
+
businessRequiresCompanyType: () => {
|
|
2296
|
+
if (taskType !== TaskTypes.SOLE_PROPRIETOR_COMPANY) return "REQUIRED";
|
|
2297
|
+
},
|
|
2298
|
+
japaneseLegalCompanyName: () => {
|
|
2299
|
+
if (isJapanLocalizationEnabled(isFeatureEnabled, country)) return "REQUIRED";
|
|
2300
|
+
}
|
|
2301
|
+
});
|
|
2302
|
+
};
|
|
2303
|
+
//#endregion
|
|
2121
2304
|
//#region src/utils/stripWhitespace.ts
|
|
2122
2305
|
var stripWhitespace = (str) => str.replace(/\s/g, "");
|
|
2123
2306
|
//#endregion
|
|
@@ -4061,7 +4244,7 @@ function VerifiedBusinessCard({ verifiedBusiness, verifiedAddress }) {
|
|
|
4061
4244
|
}
|
|
4062
4245
|
//#endregion
|
|
4063
4246
|
//#region src/components/Business/forms/AdditionalInformation/AdditionalInformation.tsx
|
|
4064
|
-
var LazyJpAddress = lazy(async () => (await import("./JpAddress-
|
|
4247
|
+
var LazyJpAddress = lazy(async () => (await import("./JpAddress-C38zRvZE.js")).JpAddress);
|
|
4065
4248
|
var ADDITIONAL_INFORMATION_FORM_ID = "additionalInformation";
|
|
4066
4249
|
var ADDITIONAL_INFORMATION_FIELDS = [
|
|
4067
4250
|
...DBA_NAME_FIELD,
|
|
@@ -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] = "fbe6879a-aef0-4eb0-bad9-86510a31cabe", e._sentryDebugIdIdentifier = "sentry-dbid-fbe6879a-aef0-4eb0-bad9-86510a31cabe");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { n as httpGet, s as useApiContext } from "./http-
|
|
5
|
+
import { n as httpGet, s as useApiContext } from "./http-DeQp0G69.js";
|
|
6
6
|
import { useQuery } from "@tanstack/preact-query";
|
|
7
7
|
//#region src/api/businessLines/useBusinessLines.ts
|
|
8
8
|
var getBusinessLines = async (legalEntityId, baseUrl) => {
|
|
@@ -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] = "bd7f1f2e-8c7d-4238-adeb-651ba254df9b", e._sentryDebugIdIdentifier = "sentry-dbid-bd7f1f2e-8c7d-4238-adeb-651ba254df9b");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { _ as isPartOfTrustFromLegalEntity } from "./resolveEnvironment-
|
|
5
|
+
import { _ as isPartOfTrustFromLegalEntity } from "./resolveEnvironment-BO-j8Bwm.js";
|
|
6
6
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
7
7
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
8
8
|
import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-C-wflW8q.js";
|
|
@@ -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] = "bb9d5a7a-fb42-4386-9bbc-99fa06127433", e._sentryDebugIdIdentifier = "sentry-dbid-bb9d5a7a-fb42-4386-9bbc-99fa06127433");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as httpPost, s as useApiContext } from "./http-
|
|
5
|
+
import { r as httpPost, s as useApiContext } from "./http-DeQp0G69.js";
|
|
6
6
|
import { useMutation } from "@tanstack/preact-query";
|
|
7
7
|
//#region src/api/createLegalEntity/useCreateLegalEntity.ts
|
|
8
8
|
var createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
package/dist/{useDataMissingRemediations-7H0hHxXG.js → useDataMissingRemediations-CrKtd_Fd.js}
RENAMED
|
@@ -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] = "0e08a2d6-3469-4a22-a5b2-81f030dfcd29", e._sentryDebugIdIdentifier = "sentry-dbid-0e08a2d6-3469-4a22-a5b2-81f030dfcd29");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
5
|
+
import { r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
6
|
import { C as EntityTypes, T as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING } from "./processCapabilities-hLmRus8U.js";
|
|
7
7
|
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
8
8
|
import { useMemo } from "preact/hooks";
|
|
@@ -2,8 +2,8 @@ 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] = "4995c2a1-d968-472d-a832-542999fb395d", e._sentryDebugIdIdentifier = "sentry-dbid-4995c2a1-d968-472d-a832-542999fb395d");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { o as createLogger } from "./translation-
|
|
6
|
-
import { nt as isEmpty } from "./resolveEnvironment-
|
|
5
|
+
import { o as createLogger } from "./translation-BR3rLb4m.js";
|
|
6
|
+
import { nt as isEmpty } from "./resolveEnvironment-BO-j8Bwm.js";
|
|
7
7
|
import { r as doArraysMatch } from "./AnalyticsContext-BFrJmsp0.js";
|
|
8
8
|
import { i as omitKeys, n as addKeys, t as ValidationResult } from "./validationResult-CqlLuppx.js";
|
|
9
9
|
import { useCallback, useEffect, useMemo, useReducer, useState } from "preact/hooks";
|
|
@@ -2,16 +2,16 @@ 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] = "30139b26-2983-4a91-b366-79ef65f8dc76", e._sentryDebugIdIdentifier = "sentry-dbid-30139b26-2983-4a91-b366-79ef65f8dc76");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { o as createLogger, r as useTranslation } from "./translation-
|
|
6
|
-
import { t as Button } from "./Button-
|
|
7
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
8
|
-
import { r as LoaderWrapper } from "./utils-
|
|
9
|
-
import { t as Confirm } from "./Confirm-
|
|
5
|
+
import { o as createLogger, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
+
import { t as Button } from "./Button-3qGOI53m.js";
|
|
7
|
+
import { i as useAnalyticsContext } from "./Modal-C__-5LgI.js";
|
|
8
|
+
import { r as LoaderWrapper } from "./utils-BtyrxTzp.js";
|
|
9
|
+
import { t as Confirm } from "./Confirm-6QfuYcA7.js";
|
|
10
10
|
import { t as formDebugInfo } from "./debugStore-Dwn1FXrh.js";
|
|
11
|
-
import { r as FormRouterContext } from "./ErrorPanel-
|
|
11
|
+
import { r as FormRouterContext } from "./ErrorPanel-CbTDpmpi.js";
|
|
12
12
|
import { t as trackNavigation } from "./trackNavigation-DR70qR8T.js";
|
|
13
|
-
import { n as summaryStep, t as Summary } from "./Summary-
|
|
14
|
-
import { t as MaybeModal } from "./MaybeModal-
|
|
13
|
+
import { n as summaryStep, t as Summary } from "./Summary-8V5EZBd4.js";
|
|
14
|
+
import { t as MaybeModal } from "./MaybeModal-95T3hqPt.js";
|
|
15
15
|
import { t as ProgressBar } from "./ProgressBar-DWFxLMUA.js";
|
|
16
16
|
import { useCallback, useContext, useMemo, useRef, useState } from "preact/hooks";
|
|
17
17
|
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] = "24352a4c-5035-435a-a2fd-a591890694f8", e._sentryDebugIdIdentifier = "sentry-dbid-24352a4c-5035-435a-a2fd-a591890694f8");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { n as httpGet, s as useApiContext } from "./http-
|
|
5
|
+
import { n as httpGet, s as useApiContext } from "./http-DeQp0G69.js";
|
|
6
6
|
import { skipToken, useQueries, useQuery } from "@tanstack/preact-query";
|
|
7
7
|
//#region src/api/legalEntity/useLegalEntity.ts
|
|
8
8
|
var ROOT_LE = Symbol("ROOT_LE");
|
|
@@ -2,8 +2,8 @@ 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] = "4eba7412-4f13-47ee-8b27-79e50a807512", e._sentryDebugIdIdentifier = "sentry-dbid-4eba7412-4f13-47ee-8b27-79e50a807512");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { o as createLogger } from "./translation-
|
|
6
|
-
import { nt as isEmpty } from "./resolveEnvironment-
|
|
5
|
+
import { o as createLogger } from "./translation-BR3rLb4m.js";
|
|
6
|
+
import { nt as isEmpty } from "./resolveEnvironment-BO-j8Bwm.js";
|
|
7
7
|
import { o as objectsDeepEqual } from "./AnalyticsContext-BFrJmsp0.js";
|
|
8
8
|
import { i as omitKeys, n as addKeys, t as ValidationResult } from "./validationResult-CqlLuppx.js";
|
|
9
9
|
import { useCallback, useEffect, useMemo, useReducer } from "preact/hooks";
|
|
@@ -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] = "d5781eb5-c98d-4606-a5d8-85485b8acc07", e._sentryDebugIdIdentifier = "sentry-dbid-d5781eb5-c98d-4606-a5d8-85485b8acc07");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
6
6
|
import { lazy } from "preact/compat";
|
|
@@ -25,36 +25,36 @@ var hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
25
25
|
};
|
|
26
26
|
//#endregion
|
|
27
27
|
//#region src/router/routeConfig.ts
|
|
28
|
-
var Introduction = lazy(async () => (await import("./Introduction-
|
|
29
|
-
var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-
|
|
30
|
-
var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-
|
|
31
|
-
var SingpassSelection = lazy(async () => (await import("./SingpassSelection-
|
|
32
|
-
var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-
|
|
33
|
-
var DecisionMakers = lazy(async () => (await import("./DecisionMakers-
|
|
34
|
-
var CustomerSupport = lazy(async () => (await import("./CustomerSupport-
|
|
35
|
-
var Review = lazy(async () => (await import("./Review-
|
|
36
|
-
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-
|
|
37
|
-
var AcceptTermsOfService = lazy(async () => (await import("./AcceptTermsOfServiceComponent-
|
|
38
|
-
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-
|
|
39
|
-
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-
|
|
40
|
-
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-
|
|
41
|
-
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-
|
|
42
|
-
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-
|
|
43
|
-
var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-
|
|
44
|
-
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-
|
|
45
|
-
var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-
|
|
46
|
-
var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-
|
|
47
|
-
var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
48
|
-
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
49
|
-
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-
|
|
50
|
-
var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-
|
|
51
|
-
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-
|
|
52
|
-
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-
|
|
53
|
-
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-
|
|
54
|
-
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-
|
|
55
|
-
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-
|
|
56
|
-
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-
|
|
57
|
-
lazy(async () => (await import("./InvitedDecisionMakerComponent-
|
|
28
|
+
var Introduction = lazy(async () => (await import("./Introduction-CvXA6-RL.js")).Introduction);
|
|
29
|
+
var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-DkyHp3I-.js")).AdaptiveWorkflow);
|
|
30
|
+
var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-DVlhdBOT.js")).BusinessTypeSelectionPage);
|
|
31
|
+
var SingpassSelection = lazy(async () => (await import("./SingpassSelection-CRFf-u1d.js")).SingpassSelection);
|
|
32
|
+
var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-DXrxeaTA.js")).AccountSetupRejected);
|
|
33
|
+
var DecisionMakers = lazy(async () => (await import("./DecisionMakers-oSWUwKsE.js")).DecisionMakers);
|
|
34
|
+
var CustomerSupport = lazy(async () => (await import("./CustomerSupport-CxnPz_MZ.js")).CustomerSupport);
|
|
35
|
+
var Review = lazy(async () => (await import("./Review-B1T5E3pI.js")).Review);
|
|
36
|
+
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-o5iWDa9u.js").then((n) => n.n)).SignPCIComponent);
|
|
37
|
+
var AcceptTermsOfService = lazy(async () => (await import("./AcceptTermsOfServiceComponent-D9RkOGLa.js").then((n) => n.n)).AcceptTermsOfServiceComponent);
|
|
38
|
+
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-CW0-CVJR.js").then((n) => n.n)).TaxReportingDropin);
|
|
39
|
+
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-CmUyWu_t.js")).PayoutDetailsPage);
|
|
40
|
+
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-CB44DIGg.js")).RootBusinessDetailsPage);
|
|
41
|
+
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-BdxPHbIJ.js")).RootBusinessLinesPage);
|
|
42
|
+
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-DFEn0Ewu.js")).SoleProprietorshipPage);
|
|
43
|
+
var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-XaVxyqQT.js")).TrustMemberCompanyPage);
|
|
44
|
+
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-DQd5nIl2.js")).TrustMemberIndividualPage);
|
|
45
|
+
var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-BJhaU0Ju.js")).TrustMemberRoleAndTypePage);
|
|
46
|
+
var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-CsdYkKZt.js")).TrustMembersOverview);
|
|
47
|
+
var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-B4AUh2uw.js")).UnincorporatedPartnershipMemberCompanyPage);
|
|
48
|
+
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-CeDtx9P7.js")).UnincorporatedPartnershipIndividualPage);
|
|
49
|
+
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-CaQgmfeu.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
|
|
50
|
+
var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-zm15XNm0.js")).UnincorporatedPartnershipMembersOverview);
|
|
51
|
+
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-rrQUrZBL.js")).BusinessFinancingPage);
|
|
52
|
+
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-Cw2OH_cP.js")).TrustDetailsPage);
|
|
53
|
+
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-BCVelN0X.js").then((n) => n.n)).SourceOfFundsPage);
|
|
54
|
+
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-BcM3xHZ8.js")).RootIndividualDetailsPage);
|
|
55
|
+
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-B-MsZPf-.js")).LegalRepresentativeDetailsPage);
|
|
56
|
+
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-Dqkcvgs5.js")).DecisionMakerDetailsPage);
|
|
57
|
+
lazy(async () => (await import("./InvitedDecisionMakerComponent-D5gat3zM.js").then((n) => n.n)).InvitedDecisionMakerComponent);
|
|
58
58
|
var ROUTE_CONFIG = {
|
|
59
59
|
[TaskTypes.ADAPTIVE]: {
|
|
60
60
|
path: "/adaptive",
|
|
@@ -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] = "a95369ec-afd2-4d7a-bd04-250b4e6e0c0d", e._sentryDebugIdIdentifier = "sentry-dbid-a95369ec-afd2-4d7a-bd04-250b4e6e0c0d");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { n as httpGet, s as useApiContext } from "./http-
|
|
5
|
+
import { n as httpGet, s as useApiContext } from "./http-DeQp0G69.js";
|
|
6
6
|
import { useQuery } from "@tanstack/preact-query";
|
|
7
7
|
//#region src/api/onboardingStatus/useOnboardingStatus.ts
|
|
8
8
|
var getOnboardingStatus = async (legalEntityId, baseUrl) => {
|
|
@@ -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] = "f2022c8a-ea95-4b17-a673-a45d96ad2ce2", e._sentryDebugIdIdentifier = "sentry-dbid-f2022c8a-ea95-4b17-a673-a45d96ad2ce2");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { n as httpGet, s as useApiContext } from "./http-
|
|
5
|
+
import { n as httpGet, s as useApiContext } from "./http-DeQp0G69.js";
|
|
6
6
|
import { useQuery } from "@tanstack/preact-query";
|
|
7
7
|
//#region src/api/pci/usePciQuestionnaireList.ts
|
|
8
8
|
/**
|
|
@@ -2,9 +2,9 @@ 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] = "c6fe0822-7756-4a5b-9cec-b40d64945fed", e._sentryDebugIdIdentifier = "sentry-dbid-c6fe0822-7756-4a5b-9cec-b40d64945fed");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as httpPost, s as useApiContext } from "./http-
|
|
5
|
+
import { r as httpPost, s as useApiContext } from "./http-DeQp0G69.js";
|
|
6
6
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
7
|
-
import { t as useBusinessLines } from "./useBusinessLines-
|
|
7
|
+
import { t as useBusinessLines } from "./useBusinessLines-B2iCcDej.js";
|
|
8
8
|
import { t as SettingNames } from "./types-Cwq1JAWT.js";
|
|
9
9
|
import { useMemo } from "preact/hooks";
|
|
10
10
|
import { useQuery } 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] = "aa3d0871-c4d8-41f2-a2d8-0b11e6f54d2d", e._sentryDebugIdIdentifier = "sentry-dbid-aa3d0871-c4d8-41f2-a2d8-0b11e6f54d2d");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { n as httpGet, s as useApiContext } from "./http-
|
|
5
|
+
import { n as httpGet, s as useApiContext } from "./http-DeQp0G69.js";
|
|
6
6
|
import { c as entriesOf } from "./AnalyticsContext-BFrJmsp0.js";
|
|
7
7
|
import { t as Scenarios } from "./get-scenarios-Bb-paHmJ.js";
|
|
8
8
|
import { skipToken, useQuery } 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] = "df0a4caa-c002-4731-9404-07ec9eb2bec5", e._sentryDebugIdIdentifier = "sentry-dbid-df0a4caa-c002-4731-9404-07ec9eb2bec5");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
5
|
+
import { i as useAnalyticsContext } from "./Modal-C__-5LgI.js";
|
|
6
6
|
import { useRef } from "preact/hooks";
|
|
7
7
|
//#region src/hooks/useTaskLandedEvent.ts
|
|
8
8
|
/**
|