@adyen/kyc-components 4.19.0 → 4.20.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Accordion-BnhH5-eC.js → Accordion-BWdAGMRb.js} +1 -1
- package/dist/{AccountSetupRejected-VkyroW_s.js → AccountSetupRejected-N5q1VKpW.js} +2 -2
- package/dist/AdaptiveWorkflow-C8N4ayEt.js +5112 -0
- package/dist/{AdaptiveWorkflowComponent-BhHqJMaU.js → AdaptiveWorkflowComponent-CEMgH36B.js} +36 -36
- package/dist/{Address-qf5qFwua.js → Address-DQlehM6f.js} +8 -7
- package/dist/{AddressField-eulmJMt_.js → AddressField-BnboPpBe.js} +12 -253
- package/dist/{Avatar-Y_RdG_YY.js → Avatar-CeZIQS8n.js} +1 -1
- package/dist/{BusinessFinancingDropin-xtcAFZEN.js → BusinessFinancingDropin-CFKrcdPb.js} +33 -32
- package/dist/{BusinessFinancingPage-Dt2Va-qf.js → BusinessFinancingPage-DIrEOTbn.js} +33 -33
- package/dist/{utils-BFaY6wGW.js → BusinessRegistrationNumberField-DGBqMCwU.js} +301 -53
- package/dist/{BusinessTypeSelectionPage-CKrWo9e-.js → BusinessTypeSelectionPage-CyMTri8M.js} +18 -17
- package/dist/{Button-BuhgDsyo.js → Button-Cm7cT6BX.js} +1 -1
- package/dist/{Checkbox-CFN5ywvv.js → Checkbox-faFUul66.js} +1 -1
- package/dist/{CompanyRegistrationNumberTypeSelector-DDWIMP-t.js → CompanyRegistrationNumberTypeSelector-KkPiHDQk.js} +8 -8
- package/dist/{ContactDetails-Co7J7Hjc.js → ContactDetails-CQZ7kMSU.js} +7 -7
- package/dist/{ContextGuidance-RV1m2efV.js → ContextGuidance-CpLYhcU8.js} +2 -2
- package/dist/{CountryField-BTVLTRup.js → CountryField-DQnWXgAu.js} +26 -21
- package/dist/{Currency-DfCp7hwP.js → Currency-DJTE2WJJ.js} +8 -59
- package/dist/{CustomerSupport-fg0-Upw5.js → CustomerSupport-BkE-Ej6L.js} +14 -14
- package/dist/{DataConflictsModal-CVgcvjm6.js → DataConflictsModal-BhZpZhFP.js} +7 -7
- package/dist/{DebugModal-CaI-iWEa.js → DebugModal-C_O14NUN.js} +10 -10
- package/dist/{DecisionMakerDetails-JYY15piY.js → DecisionMakerDetails-BZEv2fPu.js} +17 -17
- package/dist/{DecisionMakerDetailsPage-UMAQo28h.js → DecisionMakerDetailsPage-DhCtiSzf.js} +12 -12
- package/dist/{DecisionMakers-DeQLYGwW.js → DecisionMakers-BPLn2iHA.js} +18 -18
- package/dist/{Dropzone-Dmtomtl2.js → Dropzone-DAvxNuAu.js} +7 -7
- package/dist/{EmbeddedStatus-sHJnhw3K.js → EmbeddedStatus-uz3Ivsyw.js} +4 -4
- package/dist/{EndStateLayout-CddZpAGD.js → EndStateLayout-BUK64Vqu.js} +2 -2
- package/dist/{EntityAssociation-vg8k3YiH.js → EntityAssociation-CBbcX-5M.js} +7 -7
- package/dist/{ErrorPanel-DysmW3Hz.js → ErrorPanel-C2hG0lLe.js} +4 -4
- package/dist/GlobalEntryModal-cQF6Bfim.js +353 -0
- package/dist/{GlobalEntryPage-CrjiJG7v.js → GlobalEntryPage-C6OnSwBj.js} +10 -10
- package/dist/{Image-Dc5Xg1_Y.js → Image-8SOcICah.js} +1 -1
- package/dist/{Individual.rules-Fg_j4_io.js → Individual.rules-D1Mmr7tv.js} +7 -11
- package/dist/{IndividualDropin-D5qyhkH7.js → IndividualDropin-KG_mOjri.js} +64 -67
- package/dist/{InputDate-Cp2ga0F5.js → InputDate-DDVX2D-5.js} +2 -2
- package/dist/{InputText-CRkApOKK.js → InputText-Cf9ccCaj.js} +5 -5
- package/dist/{Introduction-Dd72HuvK.js → Introduction-Dsy_e4OL.js} +8 -8
- package/dist/{InvitedDecisionMakerComponent-BR14VLnP.js → InvitedDecisionMakerComponent-Bzj7Szw8.js} +41 -41
- package/dist/{JpAddress-C7eDuCDV.js → JpAddress-CMYhw2Zl.js} +19 -17
- package/dist/{JpAddress.module-DNwEnPzj.js → JpAddress.module-CiY5uzmL.js} +4 -4
- package/dist/{JpAddressFields-CB889sWX.js → JpAddressFields-DqJ7Am2I.js} +15 -14
- package/dist/{LegalCompanyNameField-BVyQCVUE.js → LegalCompanyNameField-DGdSduXu.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-BNFIn6Qh.js → LegalRepresentativeDetailsPage-DODrlxF0.js} +8 -8
- package/dist/{Link-PH3F7iTO.js → Link-B7RA2gSt.js} +1 -1
- package/dist/{ListItem-B-gDVdRO.js → ListItem-Cy46BXUv.js} +27 -4
- package/dist/{MaskedInput-DwP4ZWTk.js → MaskedInput-BZLm8L47.js} +11 -11
- package/dist/{Modal-BYdlsXkf.js → Modal-nylR9F4X.js} +1 -1
- package/dist/{Name-DfZeGh8m.js → Name-C0ti1xY6.js} +5 -5
- package/dist/{NewSummary-DebON3Ge.js → NewSummary-DDwQJV7w.js} +6 -6
- package/dist/{PatriotActDisclosure-V0iYQAp7.js → PatriotActDisclosure-CB0N3iIz.js} +15 -15
- package/dist/{PayoutDetailsDropin-DtLitjwp.js → PayoutDetailsDropin-9LoGCmko.js} +187 -135
- package/dist/{PayoutDetailsPage-Bul0UWe-.js → PayoutDetailsPage-DV8fIktn.js} +10 -10
- package/dist/{RadioGroup-BcojlKCO.js → RadioGroup-BUwhfue7.js} +3 -3
- package/dist/{Review-EaL1BttB.js → Review-C2JLh6M0.js} +8 -8
- package/dist/{RootBusinessDetailsPage-Cwc8cZOY.js → RootBusinessDetailsPage-D-T5SbYt.js} +10 -10
- package/dist/{RootBusinessLinesPage-CLsMhxkV.js → RootBusinessLinesPage-BZNLFGSY.js} +30 -30
- package/dist/{RootIndividualDetailsPage-Nfm0kzJq.js → RootIndividualDetailsPage-wO9DNKWn.js} +10 -10
- package/dist/{Select-C5sy6Wux.js → Select-B5Mo0Bpw.js} +12 -13
- package/dist/{SignPCIComponent-CaTaPQHb.js → SignPCIComponent-CZmCa0AY.js} +56 -54
- package/dist/{SingpassSelection-COig4k8W.js → SingpassSelection-BTZe82Q8.js} +6 -6
- package/dist/SoleProprietorshipPage-Dfzyn6Br.js +70 -0
- package/dist/{SourceOfFundsPage-DEABiUWz.js → SourceOfFundsPage-l899LDLv.js} +58 -44
- package/dist/{StructuredList-D54Bpjf4.js → StructuredList-DR8Fb1tc.js} +4 -4
- package/dist/{TaskListItem-CB0kZVlT.js → TaskListItem-1n3vYDAz.js} +11 -11
- package/dist/{TaskVerificationStatus-ITLSeoau.js → TaskVerificationStatus-DMj8rsZ_.js} +1 -1
- package/dist/{TaxReportingDropin-9lSgx-Sv.js → TaxReportingDropin-BYOpjW8V.js} +18 -18
- package/dist/{TermsOfServiceManagement-CbgkpeNu.js → TermsOfServiceManagement-BUvv59rD.js} +68 -66
- package/dist/{TextArea-BzCbFjRp.js → TextArea-CoS-i-FF.js} +3 -3
- package/dist/{TrustDetailsPage-pJ_aGyVV.js → TrustDetailsPage-BQjA8lmD.js} +341 -318
- package/dist/TrustMemberCompanyPage-3189PHUn.js +109 -0
- package/dist/TrustMemberIndividualPage-DOFGzN7Z.js +110 -0
- package/dist/{TrustMemberRoleAndTypePage-DjE53lNn.js → TrustMemberRoleAndTypePage-nDSoM_rw.js} +19 -19
- package/dist/{TrustMembersOverview-z8U7UWHS.js → TrustMembersOverview-CxiKjCLV.js} +14 -14
- package/dist/UnincorporatedPartnershipIndividualPage-D-46tLiw.js +79 -0
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DOBh4lR1.js → UnincorporatedPartnershipMemberCompanyPage-CCnm-ShL.js} +37 -37
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-9i54lBKZ.js → UnincorporatedPartnershipMemberRoleAndTypePage-CsECHFgr.js} +11 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-DFeXZDC8.js → UnincorporatedPartnershipMembersOverview-C8fwIn45.js} +9 -9
- package/dist/{VerificationErrorAlert-B3dqg4d3.js → VerificationErrorAlert-7hKN39sx.js} +4 -4
- package/dist/{accountHolderUtils-CV8i1K0q.js → accountHolderUtils-Cw7X31mH.js} +1 -1
- package/dist/adyen-business-financing.js +34 -34
- package/dist/adyen-individual-configuration.js +34 -34
- package/dist/adyen-individual-status.js +33 -33
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +60 -60
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +6 -6
- package/dist/adyen-transfer-instrument-configuration.js +33 -33
- package/dist/adyen-transfer-instrument-management.js +40 -40
- package/dist/adyen-verification-status.js +6 -6
- package/dist/{bafinUtils-qakcO27e.js → bafinUtils-vdTD2Ec5.js} +19 -19
- package/dist/bg-BG-Bmveyt6S.js +7 -0
- package/dist/{constants-L0qE2dbE.js → constants-Bs5FgdWg.js} +4 -4
- package/dist/{country-BxigZW1s.js → country-IYuKDSdC.js} +14 -2
- package/dist/cs-CZ-D5CQd_YI.js +7 -0
- package/dist/da-DK-Bl0-8FN4.js +7 -0
- package/dist/de-DE-Hah2EvAY.js +7 -0
- package/dist/el-GR-C9KGlGa7.js +7 -0
- package/dist/{en-US-CWDI7JKT.js → en-US-BFM81i9K.js} +3 -1
- package/dist/{en-US-CeiLSh8o.js → en-US-BorLJXJ4.js} +3 -1
- package/dist/en-US-Del1h5SS.js +23 -0
- package/dist/en-US-DqhKW1eC.js +7 -0
- package/dist/en-US-X8pjkwa3.js +7 -0
- package/dist/{omitObscuredFieldsIfUnchanged-BhxAICdT.js → error-BatJzHF5.js} +19 -3
- package/dist/es-ES-DSwi-qfd.js +7 -0
- package/dist/es-LA-0IrX8yr2.js +7 -0
- package/dist/es-LA-1H8dAUVR.js +7 -0
- package/dist/es-LA-BjZq9RK_.js +7 -0
- package/dist/{es-LA-DU9jNyAv.js → es-LA-CGrMi4rR.js} +2 -2
- package/dist/{es-LA-DMpf5gAW.js → es-LA-DBBkFhgU.js} +2 -2
- package/dist/et-EE-BGpsJPjk.js +7 -0
- package/dist/fi-FI-BdrXeX9d.js +7 -0
- package/dist/{filterProblemsByTaskForms-CQby20PN.js → filterProblemsByTaskForms-DaJ3LZ2L.js} +11 -11
- package/dist/{form-rules-wh_oE1AN.js → form-rules-DV3hxYqZ.js} +2 -2
- package/dist/formatValidationError-CZ5MeYBS.js +23 -0
- package/dist/fr-FR-hleHEr-Y.js +7 -0
- package/dist/{getProblemsForEntity-set4Krmx.js → getProblemsForEntity-DStlTvE-.js} +2 -2
- package/dist/{getTrustedDecisionMakers-B_XpRta-.js → getTrustedDecisionMakers-CAbhvydj.js} +2 -2
- package/dist/hr-HR--ti3n_XO.js +7 -0
- package/dist/{http-CFac2y4i.js → http-D6AdUBhO.js} +57 -2
- package/dist/hu-HU-D9Avt-9f.js +7 -0
- package/dist/it-IT-Dq5z7p1-.js +7 -0
- package/dist/ja-JP-Dyhw0Ycj.js +7 -0
- package/dist/japanSupportUtils-H5Zfox2v.js +11 -0
- package/dist/{localizeDateString-BRB4gPDZ.js → localizeDateString-D-MlYN4V.js} +1 -1
- package/dist/lt-LT-BMI4JzrS.js +7 -0
- package/dist/lv-LV-LkNZQ__4.js +7 -0
- package/dist/mapExistingFile-LvvzPjnk.js +55 -0
- package/dist/{mapJpAddressSchemaToAddressLocalizations-D9928vV-.js → mapJpAddressSchemaToAddressLocalizations-6nfrRniy.js} +3 -51
- package/dist/{mapLegalEntityToIndividualSchema-C6zpRY2L.js → mapLegalEntityToIndividualSchema-1JDK92Nc.js} +8 -8
- package/dist/{mapTransferInstrumentToPayoutAccount-DAXQcZKf.js → mapTransferInstrumentToPayoutAccount-cKBtK0Qx.js} +2 -2
- package/dist/nl-NL-CC2r7Ldv.js +7 -0
- package/dist/no-NO-V7_rz3uN.js +7 -0
- package/dist/{patternValidators-Crk2JcIC.js → patternValidators-tRq-KPvW.js} +1 -1
- package/dist/pl-PL-2QyKX67Y.js +7 -0
- package/dist/{processCapabilities-zti_0yUx.js → processCapabilities-BSpmJOEd.js} +13 -13
- package/dist/{processValidationErrors-N1ZuAvVY.js → processValidationErrors-PJV6CPG2.js} +2 -2
- package/dist/pt-BR-D08Fo1qY.js +7 -0
- package/dist/pt-PT-BAQWYDe6.js +7 -0
- package/dist/{resolveEnvironment-BHPgG5Ko.js → resolveEnvironment-df20S4SQ.js} +39 -39
- package/dist/ro-RO-wG0rfL5w.js +7 -0
- package/dist/sk-SK-DJinBnS1.js +7 -0
- package/dist/sl-SI-DUaLO_J7.js +7 -0
- package/dist/style.css +153 -139
- package/dist/styles-DYaAeu4q.js +153 -139
- package/dist/sv-SE-5uxyEq2a.js +7 -0
- package/dist/toFullWidth-Dgy4X4i8.js +52 -0
- package/dist/{translation-CcKrUksA.js → translation-DH4IlMCP.js} +6 -2
- package/dist/types/adaptiveWorkflow/component-registry-v2.d.ts +46 -0
- package/dist/types/adaptiveWorkflow/components/Fields/IdentityScreening/IdentityScreeningWorkflow.d.ts +1 -2
- package/dist/types/adaptiveWorkflow/components/Layout/ComponentGroup/ComponentGroup.d.ts +6 -0
- package/dist/types/adaptiveWorkflow/components/Layout/ComponentGroup/contextMap.d.ts +5 -0
- package/dist/types/adaptiveWorkflow/components/Layout/DynamicForm/DynamicForm.d.ts +6 -0
- package/dist/types/adaptiveWorkflow/components/Layout/DynamicForm/useCustomerDataV2.d.ts +28 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Steps/AcceptTermsOfServiceWorkflow.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Steps/IdentityScreeningWorkflow.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Steps/SourceOfFundsWorkflow.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Steps/Step/Step.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Steps/Step/contextMap.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Steps/TaxReportingWorkflow.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Task/Task.d.ts +9 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Task/contextMap.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Layout/TaskGroup/TaskGroup.d.ts +5 -0
- package/dist/types/adaptiveWorkflow/components/Layout/TaskGroup/contextMap.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Layout/UboTaskItem/UboTaskItem.d.ts +8 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Workflow/Workflow.d.ts +8 -0
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/CompoundFieldRenderer.d.ts +6 -0
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/LayoutRenderer.d.ts +7 -0
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/NodeRenderer.d.ts +20 -0
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/SimpleFieldRenderer.d.ts +6 -0
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/SpecializedStepRenderer.d.ts +7 -0
- package/dist/types/adaptiveWorkflow/components/WorkflowHeading/WorkflowHeading.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/types.d.ts +31 -0
- package/dist/types/adaptiveWorkflow/context/TaskStepperContext/TaskStepperContext.d.ts +19 -0
- package/dist/types/adaptiveWorkflow/context/TaskStepperContext/TaskStepperContextProvider.d.ts +22 -0
- package/dist/types/adaptiveWorkflow/context/TaskStepperContext/useHideTaskStepper.d.ts +6 -0
- package/dist/types/adaptiveWorkflow/context/TaskStepperContext/useTaskStepperContext.d.ts +1 -0
- package/dist/types/adaptiveWorkflow/utils/getNodeType.d.ts +11 -0
- package/dist/types/adaptiveWorkflow/utils/getProgressSteps.d.ts +4 -0
- package/dist/types/api/adaptive/adaptiveWorkflow.types.d.ts +2 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +6 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/usePayoutAccountFormat.d.ts +10 -0
- package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +2 -29
- package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +0 -27
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +2 -2
- package/dist/types/components/Business/forms/BusinessDetails/BusinessDetails.d.ts +2 -2
- package/dist/types/components/Business/forms/rules.d.ts +7 -3
- package/dist/types/components/Business/hooks/useBusinessDetailsData.d.ts +2 -3
- package/dist/types/components/Business/hooks/useSubmitBusinessDetails.types.d.ts +3 -3
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +2 -2
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +2 -2
- package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +1 -1
- package/dist/types/components/{SoleProprietorship → Business}/pages/SoleProprietorshipPage.d.ts +2 -2
- package/dist/types/components/{Trust → Business}/pages/TrustMemberCompanyPage.d.ts +3 -3
- package/dist/types/components/{UnincorporatedPartnership → Business}/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +3 -3
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +2 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +5 -5
- package/dist/types/components/Business/utils/applyVerifiedBusinessData.d.ts +6 -2
- package/dist/types/components/Business/utils/utils.d.ts +3 -5
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +93 -93
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/SOFFinancierModal.d.ts +5 -5
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +2 -1
- package/dist/types/components/GlobalEntry/constants.d.ts +13 -3
- package/dist/types/components/GlobalEntry/fields/EntitySetupField/types.d.ts +1 -1
- package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/PaperworkQuestionnaire.d.ts +3 -0
- package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/types.d.ts +5 -0
- package/dist/types/components/GlobalEntry/fields/UnincorporatedOrganizationTypeField/UnincorporatedOrganizationTypeField.d.ts +2 -0
- package/dist/types/components/GlobalEntry/fields/UnincorporatedOrganizationTypeField/types.d.ts +5 -0
- package/dist/types/components/GlobalEntry/forms/RegistrationInformation/RegistrationInformation.d.ts +5 -0
- package/dist/types/components/GlobalEntry/forms/RegistrationInformation/types.d.ts +3 -0
- package/dist/types/components/GlobalEntry/tasks/types.d.ts +2 -0
- package/dist/types/components/GlobalEntry/validate.d.ts +9 -0
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +2 -2
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/Identity/TypeOfIdentity/index.d.ts +2 -2
- package/dist/types/components/Individual/forms/GuidanceQuestion/GuidanceQuestion.d.ts +4 -3
- package/dist/types/components/{Trust → Individual}/pages/TrustMemberIndividualPage.d.ts +2 -2
- package/dist/types/components/{UnincorporatedPartnership → Individual}/pages/UnincorporatedPartnershipIndividualPage.d.ts +2 -2
- package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/RegistrationAndOperationalAddressFields.d.ts +3 -0
- package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/types.d.ts +53 -0
- package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/utils.d.ts +28 -0
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/forms/Address/SearchAddress.d.ts +2 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +12 -0
- package/dist/types/components/Trust/forms/Trust/types.d.ts +4 -4
- package/dist/types/components/Trust/forms/TrustRegistrationAddress/TrustRegistrationAddress.d.ts +2 -0
- package/dist/types/components/Trust/forms/TrustRegistrationAddress/types.d.ts +9 -0
- package/dist/types/components/Trust/mapping/mapTrustToLegalEntity.d.ts +2 -2
- package/dist/types/components/Trust/tasks/TrustDropin/Trust.d.ts +2 -1
- package/dist/types/components/Trust/utils/formatDataForSummary.d.ts +6 -0
- package/dist/types/components/UnincorporatedPartnership/mapping/mapUnincorporatedPartnershipToLegalEntity.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRadioGroup.d.ts +2 -2
- package/dist/types/components/ui/atoms/Field/Field.types.d.ts +8 -2
- package/dist/types/components/ui/atoms/TileGroup/TileGroup.d.ts +3 -3
- package/dist/types/context/WorkflowContext/WorkflowContext.d.ts +3 -1
- package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +3 -3
- package/dist/types/hooks/useForm/types.d.ts +3 -2
- package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +1 -1
- package/dist/types/hooks/useScenarioConfiguration.d.ts +1 -16
- package/dist/types/hooks/useUboQuestionnaire.d.ts +1 -1
- package/dist/types/router/routeConfig.d.ts +5 -5
- package/dist/types/types/form-rules.d.ts +0 -2
- package/dist/types/utils/country.d.ts +6 -0
- package/dist/types/utils/decodeJwt.d.ts +13 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/formUtils.d.ts +4 -3
- package/dist/types/utils/validation/formatValidationError.d.ts +11 -0
- package/dist/types/utils/validation/types.d.ts +4 -4
- package/dist/{types-lzI_sUwT.js → types-BLWT7WnU.js} +1 -1
- package/dist/{useAssociatedLegalEntity-DB8HCSwp.js → useAssociatedLegalEntity-CzQlHWXy.js} +2 -2
- package/dist/{useBusinessDetailsData-_7t1A_p2.js → useBusinessDetailsData-CRLRQh0U.js} +197 -356
- package/dist/{useBusinessLines-CfQYLNkw.js → useBusinessLines-D-rc-Z6G.js} +1 -1
- package/dist/{useCanSeeIntroduction-Jkw8uz5N.js → useCanSeeIntroduction-BeooAHcX.js} +1 -1
- package/dist/{useCreateLegalEntity-CVBjJUw_.js → useCreateLegalEntity-Ctdmk3Ky.js} +1 -1
- package/dist/{useDataMissingRemediations-BEdoAjt3.js → useDataMissingRemediations-DNZ_UDbI.js} +2 -2
- package/dist/{useForm-26r9IKF_.js → useForm-BLP36oqX.js} +3 -3
- package/dist/{useId-BwLQ-75v.js → useId-po-YSdTw.js} +3 -3
- package/dist/{useLegalEntity-BqO7Fmt0.js → useLegalEntity-DR51Q4mE.js} +1 -1
- package/dist/{useNavigate-DvOGhK-A.js → useNavigate-CcVYYcg1.js} +33 -33
- package/dist/{useOnboardingStatus-Bg1z2ftv.js → useOnboardingStatus-op5TyMUR.js} +1 -1
- package/dist/{usePciQuestionnaireList-Dq1w684P.js → usePciQuestionnaireList-BZsgbrTy.js} +1 -1
- package/dist/{useSalesChannels-D66W1KV8.js → useSalesChannels-Mi6DmHab.js} +2 -2
- package/dist/{useScenarios-BunWDxgO.js → useScenarios-Bne3C0PV.js} +1 -1
- package/dist/{useTaskLandedEvent-BTVaABDA.js → useTaskLandedEvent-C7fcguXK.js} +1 -1
- package/dist/{useTaskStatus-B_-IRF4H.js → useTaskStatus-Be6XyW54.js} +1 -1
- package/dist/{useTermsOfServiceStatus-CGIpBA0U.js → useTermsOfServiceStatus-D0NHUKl_.js} +1 -1
- package/dist/{useTrustMembers-DAFo_ibm.js → useTrustMembers-HJpKc0qR.js} +5 -5
- package/dist/{useUnincorporatedPartnershipMembers-DgD91qBf.js → useUnincorporatedPartnershipMembers-C5CNWe_U.js} +2 -2
- package/dist/{useUpdateBusinessLines-C2xW-32U.js → useUpdateBusinessLines-D6D9DAn1.js} +1 -1
- package/dist/{useUpdateLegalEntity-B4x3gely.js → useUpdateLegalEntity-CH4xp654.js} +2 -2
- package/dist/{utils-DbIq3tru.js → utils-BbBPfcNK.js} +7 -7
- package/dist/{utils-D8hL_fNA.js → utils-C8WDAzsL.js} +1 -1
- package/dist/{utils-DbQT0YgG.js → utils-Di84CxrF.js} +5 -5
- package/dist/{validate-K01plHbc.js → validate-BNu91k9j.js} +4 -4
- package/dist/validate-CkuU4MvS.js +250 -0
- package/dist/{validate-N3t8r03y.js → validate-CsYDNrPB.js} +1 -1
- package/dist/{validateExtractionResult-YhFC9maw.js → validateExtractionResult-mtXTjYfE.js} +10 -10
- package/dist/{validationError-q9Js1v0m.js → validationError-1dpZJlAz.js} +1 -1
- package/package.json +3 -4
- package/dist/AdaptiveWorkflow-DV_JyPw8.js +0 -1896
- package/dist/GlobalEntryModal-BHlZmq4-.js +0 -188
- package/dist/SoleProprietorshipPage-Ctcz1qNr.js +0 -70
- package/dist/TrustMemberCompanyPage-vqkIF_0s.js +0 -109
- package/dist/TrustMemberIndividualPage-CS_tABNQ.js +0 -109
- package/dist/UnincorporatedPartnershipIndividualPage-9uHIQImj.js +0 -79
- package/dist/bg-BG-BXAB4Qsj.js +0 -7
- package/dist/cs-CZ-DG5rPvy2.js +0 -7
- package/dist/da-DK-BnW-O75l.js +0 -7
- package/dist/de-DE-DUiPzmSc.js +0 -7
- package/dist/el-GR-1n3FJpd3.js +0 -7
- package/dist/en-US-B48_sHax.js +0 -13
- package/dist/en-US-BV2Gye3t.js +0 -7
- package/dist/en-US-CqjOvqxV.js +0 -7
- package/dist/es-ES-Cp45mlyV.js +0 -7
- package/dist/es-LA-BU32JqC-.js +0 -7
- package/dist/es-LA-Cyf48j4P.js +0 -7
- package/dist/es-LA-De_gTMKb.js +0 -7
- package/dist/et-EE-B4czzgF8.js +0 -7
- package/dist/fi-FI-D08MUkuM.js +0 -7
- package/dist/fr-FR-BxDpVfWO.js +0 -7
- package/dist/getTrustedFields-BJ88GlM-.js +0 -28
- package/dist/hr-HR-DGQMquDg.js +0 -7
- package/dist/hu-HU-Eofp7khl.js +0 -7
- package/dist/it-IT-CD7NJtJa.js +0 -7
- package/dist/ja-JP-YvXztswF.js +0 -7
- package/dist/lt-LT-Cjx4H-0R.js +0 -7
- package/dist/lv-LV-Ckf37gXo.js +0 -7
- package/dist/mapExistingFile-BOXehUNN.js +0 -138
- package/dist/nl-NL-DFHAkUK3.js +0 -7
- package/dist/no-NO-B6frLiko.js +0 -7
- package/dist/pl-PL-DnYkTdjO.js +0 -7
- package/dist/pt-BR-65dQv8uO.js +0 -7
- package/dist/pt-PT-D0fXeW1f.js +0 -7
- package/dist/ro-RO-CNj95qQn.js +0 -7
- package/dist/sk-SK-C0x9Vs2X.js +0 -7
- package/dist/sl-SI-BikBCOJK.js +0 -7
- package/dist/sv-SE-BGP9Lmku.js +0 -7
- package/dist/types/components/Shared/forms/RegistrationAddress/RegistrationAddress.d.ts +0 -3
- package/dist/types/components/Shared/forms/RegistrationAddress/RegistrationAddressMultiform.d.ts +0 -3
- package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +0 -26
- package/dist/types/components/Shared/forms/RegistrationAddress/validate.d.ts +0 -3
- package/dist/types/utils/getDisplayErrorMessage.d.ts +0 -2
- /package/dist/types/components/{SoleProprietorship → Trust}/hooks/useExemptSettlor.d.ts +0 -0
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
try {
|
|
2
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0e13cb21-f141-40e5-bb1d-a4c4a717d40f", e._sentryDebugIdIdentifier = "sentry-dbid-0e13cb21-f141-40e5-bb1d-a4c4a717d40f");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import { n as addResourceBundles, r as useTranslation } from "./translation-CcKrUksA.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-BHPgG5Ko.js";
|
|
7
|
-
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
8
|
-
import { i as getPropsFromConfigurations, t as createFormRules } from "./form-rules-wh_oE1AN.js";
|
|
9
|
-
import { c as TileGroup } from "./bafinUtils-qakcO27e.js";
|
|
10
|
-
import { r as Field } from "./Select-C5sy6Wux.js";
|
|
11
|
-
import { C as FormContextProvider, b as createFormUtils, c as useMultiForm, d as useFormComposer, i as addValidityToForms, n as CountryField, o as FormFlow, p as summaryStep, r as useFormContext } from "./CountryField-BTVLTRup.js";
|
|
12
|
-
import { t as getFormSlice } from "./getFormSlice-C1ma6Xd4.js";
|
|
13
|
-
import { useEffect, useMemo, useState } from "preact/compat";
|
|
14
|
-
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
15
|
-
import { signal } from "@preact/signals";
|
|
16
|
-
//#region src/components/GlobalEntry/globalEntryStore.ts
|
|
17
|
-
var showGlobalEntryModal = signal(false);
|
|
18
|
-
//#endregion
|
|
19
|
-
//#region src/components/GlobalEntry/constants.ts
|
|
20
|
-
var globalEntryCustomRules = createFormRules({
|
|
21
|
-
typeRequired: () => "REQUIRED",
|
|
22
|
-
countryRequired: () => "REQUIRED"
|
|
23
|
-
});
|
|
24
|
-
var globalEntryFieldConfigurations = {
|
|
25
|
-
type: { rule: "typeRequired" },
|
|
26
|
-
country: { rule: "countryRequired" }
|
|
27
|
-
};
|
|
28
|
-
var globalEntryForms = { entityInformation: {
|
|
29
|
-
formId: "entityInformation",
|
|
30
|
-
formName: "entityInformationFormName",
|
|
31
|
-
fields: ["type", "country"]
|
|
32
|
-
} };
|
|
33
|
-
//#endregion
|
|
34
|
-
//#region src/components/GlobalEntry/utils.ts
|
|
35
|
-
var mapLegalEntityToGlobalEntrySchema = (legalEntity) => {
|
|
36
|
-
return { entityInformation: {
|
|
37
|
-
type: legalEntity.type === "individual" || legalEntity.type === "soleProprietorship" ? "individual" : "organization",
|
|
38
|
-
country: getLegalEntityCountry(legalEntity)
|
|
39
|
-
} };
|
|
40
|
-
};
|
|
41
|
-
//#endregion
|
|
42
|
-
//#region src/components/GlobalEntry/fields/EntitySetupField/EntitySetupField.tsx
|
|
43
|
-
var EntitySetupField = ({ data, valid, errors, handleChangeFor }) => {
|
|
44
|
-
const { t: commonT } = useTranslation("common");
|
|
45
|
-
const typeTiles = [{
|
|
46
|
-
value: "individual",
|
|
47
|
-
label: commonT(($) => $["individual"])
|
|
48
|
-
}, {
|
|
49
|
-
value: "organization",
|
|
50
|
-
label: commonT(($) => $["organization"])
|
|
51
|
-
}];
|
|
52
|
-
return /* @__PURE__ */ jsx(Field, {
|
|
53
|
-
el: "fieldset",
|
|
54
|
-
name: "type",
|
|
55
|
-
errorMessage: errors.type,
|
|
56
|
-
isValid: valid?.type,
|
|
57
|
-
children: () => /* @__PURE__ */ jsx(TileGroup, {
|
|
58
|
-
name: "type",
|
|
59
|
-
tiles: typeTiles,
|
|
60
|
-
selected: data?.type ?? "",
|
|
61
|
-
onChange: (value) => handleChangeFor("type")(value),
|
|
62
|
-
isHorizontal: true,
|
|
63
|
-
"aria-required": true,
|
|
64
|
-
"aria-invalid": !valid?.type
|
|
65
|
-
})
|
|
66
|
-
});
|
|
67
|
-
};
|
|
68
|
-
//#endregion
|
|
69
|
-
//#region src/components/GlobalEntry/forms/EntityInformation/EntityInformation.tsx
|
|
70
|
-
var EntityInformation = ({ id, fieldValidationErrors: fieldProblems }) => {
|
|
71
|
-
const { form } = useFormContext();
|
|
72
|
-
const { t } = useTranslation("common");
|
|
73
|
-
const { data, errors, valid, requiredFields, optionalFields, trustedFields, handleChange: handleChangeFor } = getFormSlice(form, "entityInformation");
|
|
74
|
-
const formUtils = createFormUtils({
|
|
75
|
-
requiredFields,
|
|
76
|
-
optionalFields,
|
|
77
|
-
trustedFields
|
|
78
|
-
}, t);
|
|
79
|
-
return /* @__PURE__ */ jsxs("form", {
|
|
80
|
-
id,
|
|
81
|
-
children: [/* @__PURE__ */ jsx(CountryField, {
|
|
82
|
-
data: { country: data?.country },
|
|
83
|
-
valid: { country: valid?.country },
|
|
84
|
-
errors: { country: formUtils.getErrorMessage("country", errors, fieldProblems) },
|
|
85
|
-
labels: { country: t(($) => $["country"]) },
|
|
86
|
-
readonly: false,
|
|
87
|
-
handleChangeFor
|
|
88
|
-
}), /* @__PURE__ */ jsx(EntitySetupField, {
|
|
89
|
-
data: { type: data?.type },
|
|
90
|
-
valid: { type: valid?.type },
|
|
91
|
-
errors: { type: formUtils.getErrorMessage("type", errors, fieldProblems) },
|
|
92
|
-
handleChangeFor
|
|
93
|
-
})]
|
|
94
|
-
});
|
|
95
|
-
};
|
|
96
|
-
//#endregion
|
|
97
|
-
//#region src/components/GlobalEntry/tasks/GlobalEntry.tsx
|
|
98
|
-
var GlobalEntry = ({ activeForm }) => {
|
|
99
|
-
switch (activeForm.formId) {
|
|
100
|
-
case "entityInformation": return /* @__PURE__ */ jsx(EntityInformation, { id: activeForm.formId });
|
|
101
|
-
default: return null;
|
|
102
|
-
}
|
|
103
|
-
};
|
|
104
|
-
//#endregion
|
|
105
|
-
//#region src/components/GlobalEntry/tasks/GlobalEntryModal.tsx
|
|
106
|
-
var GlobalEntryModal = ({ rootLegalEntity }) => {
|
|
107
|
-
const { i18n } = useTranslation("globalEntry");
|
|
108
|
-
const [derivedProps, setDerivedProps] = useState();
|
|
109
|
-
addResourceBundles(i18n, [{
|
|
110
|
-
ns: "globalEntry",
|
|
111
|
-
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
112
|
-
"../language/bg-BG.json": () => import("./bg-BG-Smu9r9Kp.js"),
|
|
113
|
-
"../language/cs-CZ.json": () => import("./cs-CZ-BQ5B0-Kt.js"),
|
|
114
|
-
"../language/da-DK.json": () => import("./da-DK-CXAIXO3c.js"),
|
|
115
|
-
"../language/de-DE.json": () => import("./de-DE-DFQGGPCj.js"),
|
|
116
|
-
"../language/el-GR.json": () => import("./el-GR-DEBvBgI-.js"),
|
|
117
|
-
"../language/en-US.json": () => import("./en-US-B48_sHax.js"),
|
|
118
|
-
"../language/es-ES.json": () => import("./es-ES-_qbfha1o.js"),
|
|
119
|
-
"../language/es-LA.json": () => import("./es-LA-DF0v3VMe.js"),
|
|
120
|
-
"../language/et-EE.json": () => import("./et-EE-evCiUrFW.js"),
|
|
121
|
-
"../language/fi-FI.json": () => import("./fi-FI-BTG87BwH.js"),
|
|
122
|
-
"../language/fr-FR.json": () => import("./fr-FR-DIiBHkhs.js"),
|
|
123
|
-
"../language/hr-HR.json": () => import("./hr-HR-DofgeWWO.js"),
|
|
124
|
-
"../language/hu-HU.json": () => import("./hu-HU-FdLZGnBz.js"),
|
|
125
|
-
"../language/it-IT.json": () => import("./it-IT-CXgZZgyU.js"),
|
|
126
|
-
"../language/ja-JP.json": () => import("./ja-JP-Yi2wExJE.js"),
|
|
127
|
-
"../language/lt-LT.json": () => import("./lt-LT-BZ6seLuB.js"),
|
|
128
|
-
"../language/lv-LV.json": () => import("./lv-LV-CMYrAWqu.js"),
|
|
129
|
-
"../language/nl-NL.json": () => import("./nl-NL-CiH1raQa.js"),
|
|
130
|
-
"../language/no-NO.json": () => import("./no-NO-Ce2vzrp7.js"),
|
|
131
|
-
"../language/pl-PL.json": () => import("./pl-PL-aErZF5Xz.js"),
|
|
132
|
-
"../language/pt-BR.json": () => import("./pt-BR-hRRebYjo.js"),
|
|
133
|
-
"../language/pt-PT.json": () => import("./pt-PT-UAIvemf-.js"),
|
|
134
|
-
"../language/ro-RO.json": () => import("./ro-RO-BJeKitCz.js"),
|
|
135
|
-
"../language/sk-SK.json": () => import("./sk-SK-ztSYyXUE.js"),
|
|
136
|
-
"../language/sl-SI.json": () => import("./sl-SI-BY4TzP-F.js"),
|
|
137
|
-
"../language/sv-SE.json": () => import("./sv-SE-CrUbxniG.js")
|
|
138
|
-
}), `../language/${lang}.json`, 3)
|
|
139
|
-
}]);
|
|
140
|
-
const handleClose = () => {
|
|
141
|
-
showGlobalEntryModal.value = false;
|
|
142
|
-
};
|
|
143
|
-
const multiForm = useMultiForm({
|
|
144
|
-
defaultData: mapLegalEntityToGlobalEntrySchema(rootLegalEntity),
|
|
145
|
-
requiredFields: derivedProps?.requiredFields,
|
|
146
|
-
optionalFields: derivedProps?.optionalFields,
|
|
147
|
-
allFields: derivedProps?.allFields
|
|
148
|
-
});
|
|
149
|
-
useEffect(() => {
|
|
150
|
-
setDerivedProps(getPropsFromConfigurations({
|
|
151
|
-
scenarioConfiguration: globalEntryFieldConfigurations,
|
|
152
|
-
forms: globalEntryForms,
|
|
153
|
-
remediationActions: [],
|
|
154
|
-
dataMissingErrors: [],
|
|
155
|
-
fieldsWithExistingData: [],
|
|
156
|
-
customRules: globalEntryCustomRules,
|
|
157
|
-
legalEntityType: rootLegalEntity?.type
|
|
158
|
-
}));
|
|
159
|
-
}, [rootLegalEntity?.type]);
|
|
160
|
-
const { isValid: formValidity, data } = multiForm;
|
|
161
|
-
const forms = useMemo(() => addValidityToForms([...Object.values(globalEntryForms), summaryStep], formValidity, void 0), [formValidity]);
|
|
162
|
-
const { activeForm, handleNextClick, handleBackClick, steps, gotoFormByFormId, gotoFormByFormIndex } = useFormComposer({
|
|
163
|
-
onSubmit: () => {
|
|
164
|
-
console.log("data: ", data);
|
|
165
|
-
showGlobalEntryModal.value = false;
|
|
166
|
-
},
|
|
167
|
-
forms
|
|
168
|
-
});
|
|
169
|
-
return /* @__PURE__ */ jsx(FormContextProvider, {
|
|
170
|
-
form: multiForm,
|
|
171
|
-
children: /* @__PURE__ */ jsx(FormFlow, {
|
|
172
|
-
asModal: true,
|
|
173
|
-
activeForm,
|
|
174
|
-
handleNextClick,
|
|
175
|
-
handleBackClick,
|
|
176
|
-
handleCancelClick: handleClose,
|
|
177
|
-
forms,
|
|
178
|
-
gotoFormByFormIndex,
|
|
179
|
-
gotoFormByFormId,
|
|
180
|
-
loadingStatus: "success",
|
|
181
|
-
currentStep: steps.current,
|
|
182
|
-
totalSteps: steps.total,
|
|
183
|
-
children: /* @__PURE__ */ jsx(GlobalEntry, { activeForm })
|
|
184
|
-
})
|
|
185
|
-
});
|
|
186
|
-
};
|
|
187
|
-
//#endregion
|
|
188
|
-
export { showGlobalEntryModal as n, GlobalEntryModal as t };
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
try {
|
|
2
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e781b54c-e398-4809-a7ce-48380885be26", e._sentryDebugIdIdentifier = "sentry-dbid-e781b54c-e398-4809-a7ce-48380885be26");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import { n as addResourceBundles, r as useTranslation } from "./translation-CcKrUksA.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-BHPgG5Ko.js";
|
|
7
|
-
import { r as Loader } from "./Button-BuhgDsyo.js";
|
|
8
|
-
import { r as useLegalEntity } from "./useLegalEntity-BqO7Fmt0.js";
|
|
9
|
-
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
10
|
-
import { C as EntityTypes } from "./processCapabilities-zti_0yUx.js";
|
|
11
|
-
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
12
|
-
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-set4Krmx.js";
|
|
13
|
-
import { r as BusinessDetailsDropin, t as useBusinessDetailsData } from "./useBusinessDetailsData-_7t1A_p2.js";
|
|
14
|
-
import { jsx } from "preact/jsx-runtime";
|
|
15
|
-
import { skipToken } from "@tanstack/preact-query";
|
|
16
|
-
//#region src/components/SoleProprietorship/pages/SoleProprietorshipPage.tsx
|
|
17
|
-
function SoleProprietorshipPage({ solePropId, onSubmit, handleHomeClick }) {
|
|
18
|
-
const { i18n } = useTranslation();
|
|
19
|
-
const { data: solePropLe } = useLegalEntity(solePropId ?? skipToken);
|
|
20
|
-
const capabilityProblems = useCapabilityProblems();
|
|
21
|
-
const { data, isLoading } = useBusinessDetailsData(TaskTypes.TRUST_MEMBER_COMPANY, solePropLe);
|
|
22
|
-
addResourceBundles(i18n, [{
|
|
23
|
-
ns: "business",
|
|
24
|
-
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
25
|
-
"../../Business/language/bg-BG.json": () => import("./bg-BG-BkIvSbsH.js"),
|
|
26
|
-
"../../Business/language/cs-CZ.json": () => import("./cs-CZ-CPvgcrDs.js"),
|
|
27
|
-
"../../Business/language/da-DK.json": () => import("./da-DK-D5969QKP.js"),
|
|
28
|
-
"../../Business/language/de-DE.json": () => import("./de-DE-uDUBu-3n.js"),
|
|
29
|
-
"../../Business/language/el-GR.json": () => import("./el-GR-DWh7gn7M.js"),
|
|
30
|
-
"../../Business/language/en-US.json": () => import("./en-US-CqjOvqxV.js"),
|
|
31
|
-
"../../Business/language/es-ES.json": () => import("./es-ES-C7XCTACS.js"),
|
|
32
|
-
"../../Business/language/es-LA.json": () => import("./es-LA-Cyf48j4P.js"),
|
|
33
|
-
"../../Business/language/et-EE.json": () => import("./et-EE-OAYKzRjG.js"),
|
|
34
|
-
"../../Business/language/fi-FI.json": () => import("./fi-FI-Cdof5NRG.js"),
|
|
35
|
-
"../../Business/language/fr-FR.json": () => import("./fr-FR-NOULV1vy.js"),
|
|
36
|
-
"../../Business/language/hr-HR.json": () => import("./hr-HR-2h3d5-q3.js"),
|
|
37
|
-
"../../Business/language/hu-HU.json": () => import("./hu-HU-VLUIAFMp.js"),
|
|
38
|
-
"../../Business/language/it-IT.json": () => import("./it-IT-CWIAGNlE.js"),
|
|
39
|
-
"../../Business/language/ja-JP.json": () => import("./ja-JP-C1c2UPpy.js"),
|
|
40
|
-
"../../Business/language/lt-LT.json": () => import("./lt-LT-C62dFtWW.js"),
|
|
41
|
-
"../../Business/language/lv-LV.json": () => import("./lv-LV-W0I-UUyj.js"),
|
|
42
|
-
"../../Business/language/nl-NL.json": () => import("./nl-NL-C9HoBicG.js"),
|
|
43
|
-
"../../Business/language/no-NO.json": () => import("./no-NO-Bo9rlROU.js"),
|
|
44
|
-
"../../Business/language/pl-PL.json": () => import("./pl-PL-STp7eeFE.js"),
|
|
45
|
-
"../../Business/language/pt-BR.json": () => import("./pt-BR-CFGpH3BW.js"),
|
|
46
|
-
"../../Business/language/pt-PT.json": () => import("./pt-PT-BHR4CEnv.js"),
|
|
47
|
-
"../../Business/language/ro-RO.json": () => import("./ro-RO-ni-ZNqXU.js"),
|
|
48
|
-
"../../Business/language/sk-SK.json": () => import("./sk-SK-DQAGAOJW.js"),
|
|
49
|
-
"../../Business/language/sl-SI.json": () => import("./sl-SI-B-MLX0nT.js"),
|
|
50
|
-
"../../Business/language/sv-SE.json": () => import("./sv-SE-CNQCI2nX.js")
|
|
51
|
-
}), `../../Business/language/${lang}.json`, 5)
|
|
52
|
-
}]);
|
|
53
|
-
if (isLoading || solePropId && !solePropLe) return /* @__PURE__ */ jsx(Loader, {});
|
|
54
|
-
const { rootLe, efpBusinessLines, documents } = data;
|
|
55
|
-
const problems = capabilityProblems && solePropId ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, solePropId) : void 0;
|
|
56
|
-
const country = getLegalEntityCountry(solePropLe ?? rootLe);
|
|
57
|
-
return /* @__PURE__ */ jsx(BusinessDetailsDropin, {
|
|
58
|
-
taskType: TaskTypes.SOLE_PROPRIETOR_COMPANY,
|
|
59
|
-
legalEntityResponse: rootLe,
|
|
60
|
-
efpBusinessLines,
|
|
61
|
-
documents,
|
|
62
|
-
associatedLegalArrangement: solePropLe,
|
|
63
|
-
problems: problems ?? {},
|
|
64
|
-
country,
|
|
65
|
-
onSubmit,
|
|
66
|
-
handleHomeClick
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
//#endregion
|
|
70
|
-
export { SoleProprietorshipPage };
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
try {
|
|
2
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1c1200de-9ddb-4ea7-91df-3c162bf02ea9", e._sentryDebugIdIdentifier = "sentry-dbid-1c1200de-9ddb-4ea7-91df-3c162bf02ea9");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import { n as addResourceBundles, r as useTranslation } from "./translation-CcKrUksA.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-BHPgG5Ko.js";
|
|
7
|
-
import { r as Loader } from "./Button-BuhgDsyo.js";
|
|
8
|
-
import { r as useLegalEntity } from "./useLegalEntity-BqO7Fmt0.js";
|
|
9
|
-
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
10
|
-
import { C as EntityTypes } from "./processCapabilities-zti_0yUx.js";
|
|
11
|
-
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
12
|
-
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-set4Krmx.js";
|
|
13
|
-
import { t as useTrustMembers } from "./useTrustMembers-DAFo_ibm.js";
|
|
14
|
-
import { r as BusinessDetailsDropin, t as useBusinessDetailsData } from "./useBusinessDetailsData-_7t1A_p2.js";
|
|
15
|
-
import { jsx } from "preact/jsx-runtime";
|
|
16
|
-
import { skipToken } from "@tanstack/preact-query";
|
|
17
|
-
import { useParams } from "wouter-preact";
|
|
18
|
-
//#region src/components/Trust/pages/TrustMemberCompanyPage.tsx
|
|
19
|
-
function TrustMemberCompanyPage({ trustId, trustMemberCompanyId: trustMemberCompanyIdProp, newMember, onSubmit, handleHomeClick }) {
|
|
20
|
-
const routeParams = useParams();
|
|
21
|
-
const trustMemberCompanyId = trustMemberCompanyIdProp ?? routeParams.memberId;
|
|
22
|
-
const { i18n } = useTranslation();
|
|
23
|
-
const { data: trustLe } = useLegalEntity(trustId ?? skipToken);
|
|
24
|
-
const { data: trustMemberCompanyLe } = useLegalEntity(trustMemberCompanyId ?? skipToken);
|
|
25
|
-
const trustMembers = useTrustMembers();
|
|
26
|
-
const capabilityProblems = useCapabilityProblems();
|
|
27
|
-
const { data, isLoading } = useBusinessDetailsData(TaskTypes.TRUST_MEMBER_COMPANY, trustLe, trustMemberCompanyLe);
|
|
28
|
-
addResourceBundles(i18n, [{
|
|
29
|
-
ns: "business",
|
|
30
|
-
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
31
|
-
"../../Business/language/bg-BG.json": () => import("./bg-BG-BkIvSbsH.js"),
|
|
32
|
-
"../../Business/language/cs-CZ.json": () => import("./cs-CZ-CPvgcrDs.js"),
|
|
33
|
-
"../../Business/language/da-DK.json": () => import("./da-DK-D5969QKP.js"),
|
|
34
|
-
"../../Business/language/de-DE.json": () => import("./de-DE-uDUBu-3n.js"),
|
|
35
|
-
"../../Business/language/el-GR.json": () => import("./el-GR-DWh7gn7M.js"),
|
|
36
|
-
"../../Business/language/en-US.json": () => import("./en-US-CqjOvqxV.js"),
|
|
37
|
-
"../../Business/language/es-ES.json": () => import("./es-ES-C7XCTACS.js"),
|
|
38
|
-
"../../Business/language/es-LA.json": () => import("./es-LA-Cyf48j4P.js"),
|
|
39
|
-
"../../Business/language/et-EE.json": () => import("./et-EE-OAYKzRjG.js"),
|
|
40
|
-
"../../Business/language/fi-FI.json": () => import("./fi-FI-Cdof5NRG.js"),
|
|
41
|
-
"../../Business/language/fr-FR.json": () => import("./fr-FR-NOULV1vy.js"),
|
|
42
|
-
"../../Business/language/hr-HR.json": () => import("./hr-HR-2h3d5-q3.js"),
|
|
43
|
-
"../../Business/language/hu-HU.json": () => import("./hu-HU-VLUIAFMp.js"),
|
|
44
|
-
"../../Business/language/it-IT.json": () => import("./it-IT-CWIAGNlE.js"),
|
|
45
|
-
"../../Business/language/ja-JP.json": () => import("./ja-JP-C1c2UPpy.js"),
|
|
46
|
-
"../../Business/language/lt-LT.json": () => import("./lt-LT-C62dFtWW.js"),
|
|
47
|
-
"../../Business/language/lv-LV.json": () => import("./lv-LV-W0I-UUyj.js"),
|
|
48
|
-
"../../Business/language/nl-NL.json": () => import("./nl-NL-C9HoBicG.js"),
|
|
49
|
-
"../../Business/language/no-NO.json": () => import("./no-NO-Bo9rlROU.js"),
|
|
50
|
-
"../../Business/language/pl-PL.json": () => import("./pl-PL-STp7eeFE.js"),
|
|
51
|
-
"../../Business/language/pt-BR.json": () => import("./pt-BR-CFGpH3BW.js"),
|
|
52
|
-
"../../Business/language/pt-PT.json": () => import("./pt-PT-BHR4CEnv.js"),
|
|
53
|
-
"../../Business/language/ro-RO.json": () => import("./ro-RO-ni-ZNqXU.js"),
|
|
54
|
-
"../../Business/language/sk-SK.json": () => import("./sk-SK-DQAGAOJW.js"),
|
|
55
|
-
"../../Business/language/sl-SI.json": () => import("./sl-SI-B-MLX0nT.js"),
|
|
56
|
-
"../../Business/language/sv-SE.json": () => import("./sv-SE-CNQCI2nX.js")
|
|
57
|
-
}), `../../Business/language/${lang}.json`, 5)
|
|
58
|
-
}, {
|
|
59
|
-
ns: "trust",
|
|
60
|
-
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
61
|
-
"../language/bg-BG.json": () => import("./bg-BG-qQc6pN4K.js"),
|
|
62
|
-
"../language/cs-CZ.json": () => import("./cs-CZ-Jsmhr_B3.js"),
|
|
63
|
-
"../language/da-DK.json": () => import("./da-DK-CXZXQspY.js"),
|
|
64
|
-
"../language/de-DE.json": () => import("./de-DE-BRJ0jBty.js"),
|
|
65
|
-
"../language/el-GR.json": () => import("./el-GR-BMGYrO4V.js"),
|
|
66
|
-
"../language/en-US.json": () => import("./en-US-CWDI7JKT.js"),
|
|
67
|
-
"../language/es-ES.json": () => import("./es-ES-pt4yy_U2.js"),
|
|
68
|
-
"../language/es-LA.json": () => import("./es-LA-DU9jNyAv.js"),
|
|
69
|
-
"../language/et-EE.json": () => import("./et-EE-dDMeDiTJ.js"),
|
|
70
|
-
"../language/fi-FI.json": () => import("./fi-FI-iRb7nS7X.js"),
|
|
71
|
-
"../language/fr-FR.json": () => import("./fr-FR-DUrcyeOg.js"),
|
|
72
|
-
"../language/hr-HR.json": () => import("./hr-HR-LnDb18bf.js"),
|
|
73
|
-
"../language/hu-HU.json": () => import("./hu-HU-Cc7wqn6A.js"),
|
|
74
|
-
"../language/it-IT.json": () => import("./it-IT-BPA_Upt_.js"),
|
|
75
|
-
"../language/ja-JP.json": () => import("./ja-JP-CYb1SAoz.js"),
|
|
76
|
-
"../language/lt-LT.json": () => import("./lt-LT-B9Nm7OZQ.js"),
|
|
77
|
-
"../language/lv-LV.json": () => import("./lv-LV-DkjsE74u.js"),
|
|
78
|
-
"../language/nl-NL.json": () => import("./nl-NL-BtdPxlFm.js"),
|
|
79
|
-
"../language/no-NO.json": () => import("./no-NO-BIhMgC99.js"),
|
|
80
|
-
"../language/pl-PL.json": () => import("./pl-PL-BT6NmGgO.js"),
|
|
81
|
-
"../language/pt-BR.json": () => import("./pt-BR-B0SUw4uu.js"),
|
|
82
|
-
"../language/pt-PT.json": () => import("./pt-PT-KikTTc5A.js"),
|
|
83
|
-
"../language/ro-RO.json": () => import("./ro-RO-DajmyI4j.js"),
|
|
84
|
-
"../language/sk-SK.json": () => import("./sk-SK-DJWcs0qJ.js"),
|
|
85
|
-
"../language/sl-SI.json": () => import("./sl-SI-C_QeUL6t.js"),
|
|
86
|
-
"../language/sv-SE.json": () => import("./sv-SE-D3MOTV-T.js")
|
|
87
|
-
}), `../language/${lang}.json`, 3)
|
|
88
|
-
}]);
|
|
89
|
-
if (isLoading || !trustLe || trustMemberCompanyId && !trustMemberCompanyLe) return /* @__PURE__ */ jsx(Loader, {});
|
|
90
|
-
const { rootLe, efpBusinessLines, documents } = data;
|
|
91
|
-
const problems = capabilityProblems && trustMemberCompanyId ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, trustMemberCompanyId) : void 0;
|
|
92
|
-
const country = getLegalEntityCountry(trustMemberCompanyLe ?? trustLe);
|
|
93
|
-
const trustMember = newMember ?? trustMembers.find((tm) => tm.trustMemberType !== "undefinedBeneficiary" && tm.legalEntityId === trustMemberCompanyId);
|
|
94
|
-
return /* @__PURE__ */ jsx(BusinessDetailsDropin, {
|
|
95
|
-
taskType: TaskTypes.TRUST_MEMBER_COMPANY,
|
|
96
|
-
legalEntityResponse: rootLe,
|
|
97
|
-
efpBusinessLines,
|
|
98
|
-
documents,
|
|
99
|
-
associatedLegalArrangement: trustLe,
|
|
100
|
-
nestedLegalEntity: trustMemberCompanyLe,
|
|
101
|
-
nestedLegalEntityDetails: trustMember,
|
|
102
|
-
problems,
|
|
103
|
-
country,
|
|
104
|
-
onSubmit,
|
|
105
|
-
handleHomeClick
|
|
106
|
-
});
|
|
107
|
-
}
|
|
108
|
-
//#endregion
|
|
109
|
-
export { TrustMemberCompanyPage };
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
try {
|
|
2
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9da9eb55-9c95-47c9-ba32-336d28e2f5f6", e._sentryDebugIdIdentifier = "sentry-dbid-9da9eb55-9c95-47c9-ba32-336d28e2f5f6");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import { n as addResourceBundles, r as useTranslation } from "./translation-CcKrUksA.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-BHPgG5Ko.js";
|
|
7
|
-
import { r as Loader } from "./Button-BuhgDsyo.js";
|
|
8
|
-
import { r as useLegalEntity } from "./useLegalEntity-BqO7Fmt0.js";
|
|
9
|
-
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
10
|
-
import { a as noop } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
11
|
-
import { C as EntityTypes } from "./processCapabilities-zti_0yUx.js";
|
|
12
|
-
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
13
|
-
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-set4Krmx.js";
|
|
14
|
-
import { t as IndividualDropin } from "./IndividualDropin-D5qyhkH7.js";
|
|
15
|
-
import { jsx } from "preact/jsx-runtime";
|
|
16
|
-
import { skipToken } from "@tanstack/preact-query";
|
|
17
|
-
import { useParams } from "wouter-preact";
|
|
18
|
-
//#region src/components/Trust/pages/TrustMemberIndividualPage.tsx
|
|
19
|
-
function TrustMemberIndividualPage({ trustId, memberId: memberIdProp, newMember, asModal = false, hideSidebar = false, isTargetLegalEntityType = false, onSubmit, handleBackClick, handleCloseClick, handleHomeClick = noop }) {
|
|
20
|
-
const routeParams = useParams();
|
|
21
|
-
const memberId = memberIdProp ?? routeParams.memberId;
|
|
22
|
-
const { data: memberLe } = useLegalEntity(memberId ?? skipToken);
|
|
23
|
-
const { data: trustLe } = useLegalEntity(trustId ?? skipToken);
|
|
24
|
-
const capabilityProblems = useCapabilityProblems();
|
|
25
|
-
const { i18n } = useTranslation();
|
|
26
|
-
addResourceBundles(i18n, [{
|
|
27
|
-
ns: "individual",
|
|
28
|
-
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
29
|
-
"../../Individual/language/bg-BG.json": () => import("./bg-BG-DbS559bK.js"),
|
|
30
|
-
"../../Individual/language/cs-CZ.json": () => import("./cs-CZ-4yvBEVL0.js"),
|
|
31
|
-
"../../Individual/language/da-DK.json": () => import("./da-DK-D3mbpcHG.js"),
|
|
32
|
-
"../../Individual/language/de-DE.json": () => import("./de-DE-D6R-XC2F.js"),
|
|
33
|
-
"../../Individual/language/el-GR.json": () => import("./el-GR-CedmhUFh.js"),
|
|
34
|
-
"../../Individual/language/en-US.instructions.json": () => import("./en-US.instructions-DfgivDPI.js"),
|
|
35
|
-
"../../Individual/language/en-US.json": () => import("./en-US-MqobYcqc.js"),
|
|
36
|
-
"../../Individual/language/es-ES.json": () => import("./es-ES-DTUHhE47.js"),
|
|
37
|
-
"../../Individual/language/es-LA.json": () => import("./es-LA-DlL8vCjJ.js"),
|
|
38
|
-
"../../Individual/language/et-EE.json": () => import("./et-EE-DqhEsLik.js"),
|
|
39
|
-
"../../Individual/language/fi-FI.json": () => import("./fi-FI-RfGqWbnB.js"),
|
|
40
|
-
"../../Individual/language/fr-FR.json": () => import("./fr-FR-zDxTr2D3.js"),
|
|
41
|
-
"../../Individual/language/hr-HR.json": () => import("./hr-HR-DPjuJ54x.js"),
|
|
42
|
-
"../../Individual/language/hu-HU.json": () => import("./hu-HU-hB61p4H9.js"),
|
|
43
|
-
"../../Individual/language/it-IT.json": () => import("./it-IT-BMXQzE0P.js"),
|
|
44
|
-
"../../Individual/language/ja-JP.json": () => import("./ja-JP-BuFZko8b.js"),
|
|
45
|
-
"../../Individual/language/lt-LT.json": () => import("./lt-LT-D4raqCUa.js"),
|
|
46
|
-
"../../Individual/language/lv-LV.json": () => import("./lv-LV-DBms129k.js"),
|
|
47
|
-
"../../Individual/language/nl-NL.json": () => import("./nl-NL-UhYf45fo.js"),
|
|
48
|
-
"../../Individual/language/no-NO.json": () => import("./no-NO-DN7Ovyir.js"),
|
|
49
|
-
"../../Individual/language/pl-PL.json": () => import("./pl-PL-BmiDQi18.js"),
|
|
50
|
-
"../../Individual/language/pt-BR.json": () => import("./pt-BR-DXGEP6IP.js"),
|
|
51
|
-
"../../Individual/language/pt-PT.json": () => import("./pt-PT-BXIKj_3F.js"),
|
|
52
|
-
"../../Individual/language/ro-RO.json": () => import("./ro-RO-D4TQUwVB.js"),
|
|
53
|
-
"../../Individual/language/sk-SK.json": () => import("./sk-SK-CszMszV5.js"),
|
|
54
|
-
"../../Individual/language/sl-SI.json": () => import("./sl-SI-DOAJBgQV.js"),
|
|
55
|
-
"../../Individual/language/sv-SE.json": () => import("./sv-SE--LlaHl85.js")
|
|
56
|
-
}), `../../Individual/language/${lang}.json`, 5)
|
|
57
|
-
}, {
|
|
58
|
-
ns: "trust",
|
|
59
|
-
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
60
|
-
"../language/bg-BG.json": () => import("./bg-BG-qQc6pN4K.js"),
|
|
61
|
-
"../language/cs-CZ.json": () => import("./cs-CZ-Jsmhr_B3.js"),
|
|
62
|
-
"../language/da-DK.json": () => import("./da-DK-CXZXQspY.js"),
|
|
63
|
-
"../language/de-DE.json": () => import("./de-DE-BRJ0jBty.js"),
|
|
64
|
-
"../language/el-GR.json": () => import("./el-GR-BMGYrO4V.js"),
|
|
65
|
-
"../language/en-US.json": () => import("./en-US-CWDI7JKT.js"),
|
|
66
|
-
"../language/es-ES.json": () => import("./es-ES-pt4yy_U2.js"),
|
|
67
|
-
"../language/es-LA.json": () => import("./es-LA-DU9jNyAv.js"),
|
|
68
|
-
"../language/et-EE.json": () => import("./et-EE-dDMeDiTJ.js"),
|
|
69
|
-
"../language/fi-FI.json": () => import("./fi-FI-iRb7nS7X.js"),
|
|
70
|
-
"../language/fr-FR.json": () => import("./fr-FR-DUrcyeOg.js"),
|
|
71
|
-
"../language/hr-HR.json": () => import("./hr-HR-LnDb18bf.js"),
|
|
72
|
-
"../language/hu-HU.json": () => import("./hu-HU-Cc7wqn6A.js"),
|
|
73
|
-
"../language/it-IT.json": () => import("./it-IT-BPA_Upt_.js"),
|
|
74
|
-
"../language/ja-JP.json": () => import("./ja-JP-CYb1SAoz.js"),
|
|
75
|
-
"../language/lt-LT.json": () => import("./lt-LT-B9Nm7OZQ.js"),
|
|
76
|
-
"../language/lv-LV.json": () => import("./lv-LV-DkjsE74u.js"),
|
|
77
|
-
"../language/nl-NL.json": () => import("./nl-NL-BtdPxlFm.js"),
|
|
78
|
-
"../language/no-NO.json": () => import("./no-NO-BIhMgC99.js"),
|
|
79
|
-
"../language/pl-PL.json": () => import("./pl-PL-BT6NmGgO.js"),
|
|
80
|
-
"../language/pt-BR.json": () => import("./pt-BR-B0SUw4uu.js"),
|
|
81
|
-
"../language/pt-PT.json": () => import("./pt-PT-KikTTc5A.js"),
|
|
82
|
-
"../language/ro-RO.json": () => import("./ro-RO-DajmyI4j.js"),
|
|
83
|
-
"../language/sk-SK.json": () => import("./sk-SK-DJWcs0qJ.js"),
|
|
84
|
-
"../language/sl-SI.json": () => import("./sl-SI-C_QeUL6t.js"),
|
|
85
|
-
"../language/sv-SE.json": () => import("./sv-SE-D3MOTV-T.js")
|
|
86
|
-
}), `../language/${lang}.json`, 3)
|
|
87
|
-
}]);
|
|
88
|
-
if (!trustLe || memberId && !memberLe) return /* @__PURE__ */ jsx(Loader, {});
|
|
89
|
-
const country = getLegalEntityCountry(memberLe ?? trustLe);
|
|
90
|
-
const problems = capabilityProblems && memberId ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, memberId) : void 0;
|
|
91
|
-
return /* @__PURE__ */ jsx(IndividualDropin, {
|
|
92
|
-
taskType: TaskTypes.TRUST_MEMBER_INDIVIDUAL,
|
|
93
|
-
taskName: "trustMemberDetails",
|
|
94
|
-
legalEntityResponse: memberLe,
|
|
95
|
-
parentLegalEntity: trustLe,
|
|
96
|
-
trustMember: newMember,
|
|
97
|
-
problems,
|
|
98
|
-
country,
|
|
99
|
-
asModal,
|
|
100
|
-
hideSidebar,
|
|
101
|
-
isTargetLegalEntityType,
|
|
102
|
-
onSubmit,
|
|
103
|
-
handleBackClick,
|
|
104
|
-
handleCloseClick,
|
|
105
|
-
handleHomeClick
|
|
106
|
-
});
|
|
107
|
-
}
|
|
108
|
-
//#endregion
|
|
109
|
-
export { TrustMemberIndividualPage };
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
try {
|
|
2
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3c4b1d78-7e67-491a-a461-6f76878e805e", e._sentryDebugIdIdentifier = "sentry-dbid-3c4b1d78-7e67-491a-a461-6f76878e805e");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import { n as addResourceBundles, r as useTranslation } from "./translation-CcKrUksA.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-BHPgG5Ko.js";
|
|
7
|
-
import { r as Loader } from "./Button-BuhgDsyo.js";
|
|
8
|
-
import { r as useLegalEntity } from "./useLegalEntity-BqO7Fmt0.js";
|
|
9
|
-
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
10
|
-
import { a as noop } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
11
|
-
import { C as EntityTypes } from "./processCapabilities-zti_0yUx.js";
|
|
12
|
-
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
13
|
-
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-set4Krmx.js";
|
|
14
|
-
import { t as IndividualDropin } from "./IndividualDropin-D5qyhkH7.js";
|
|
15
|
-
import { jsx } from "preact/jsx-runtime";
|
|
16
|
-
import { skipToken } from "@tanstack/preact-query";
|
|
17
|
-
import { useParams } from "wouter-preact";
|
|
18
|
-
//#region src/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.tsx
|
|
19
|
-
function UnincorporatedPartnershipIndividualPage({ memberId: memberIdProp, partnershipId, member, asModal = false, hideSidebar = false, isTargetLegalEntityType = false, onSubmit, handleBackClick, handleCloseClick, handleHomeClick = noop }) {
|
|
20
|
-
const routeParams = useParams();
|
|
21
|
-
const memberId = memberIdProp ?? routeParams.memberId;
|
|
22
|
-
const { data: memberLe } = useLegalEntity(memberId || skipToken);
|
|
23
|
-
const { data: partnershipLe } = useLegalEntity(partnershipId ?? skipToken);
|
|
24
|
-
const capabilityProblems = useCapabilityProblems();
|
|
25
|
-
const { i18n } = useTranslation();
|
|
26
|
-
addResourceBundles(i18n, [{
|
|
27
|
-
ns: "individual",
|
|
28
|
-
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
29
|
-
"../../Individual/language/bg-BG.json": () => import("./bg-BG-DbS559bK.js"),
|
|
30
|
-
"../../Individual/language/cs-CZ.json": () => import("./cs-CZ-4yvBEVL0.js"),
|
|
31
|
-
"../../Individual/language/da-DK.json": () => import("./da-DK-D3mbpcHG.js"),
|
|
32
|
-
"../../Individual/language/de-DE.json": () => import("./de-DE-D6R-XC2F.js"),
|
|
33
|
-
"../../Individual/language/el-GR.json": () => import("./el-GR-CedmhUFh.js"),
|
|
34
|
-
"../../Individual/language/en-US.instructions.json": () => import("./en-US.instructions-DfgivDPI.js"),
|
|
35
|
-
"../../Individual/language/en-US.json": () => import("./en-US-MqobYcqc.js"),
|
|
36
|
-
"../../Individual/language/es-ES.json": () => import("./es-ES-DTUHhE47.js"),
|
|
37
|
-
"../../Individual/language/es-LA.json": () => import("./es-LA-DlL8vCjJ.js"),
|
|
38
|
-
"../../Individual/language/et-EE.json": () => import("./et-EE-DqhEsLik.js"),
|
|
39
|
-
"../../Individual/language/fi-FI.json": () => import("./fi-FI-RfGqWbnB.js"),
|
|
40
|
-
"../../Individual/language/fr-FR.json": () => import("./fr-FR-zDxTr2D3.js"),
|
|
41
|
-
"../../Individual/language/hr-HR.json": () => import("./hr-HR-DPjuJ54x.js"),
|
|
42
|
-
"../../Individual/language/hu-HU.json": () => import("./hu-HU-hB61p4H9.js"),
|
|
43
|
-
"../../Individual/language/it-IT.json": () => import("./it-IT-BMXQzE0P.js"),
|
|
44
|
-
"../../Individual/language/ja-JP.json": () => import("./ja-JP-BuFZko8b.js"),
|
|
45
|
-
"../../Individual/language/lt-LT.json": () => import("./lt-LT-D4raqCUa.js"),
|
|
46
|
-
"../../Individual/language/lv-LV.json": () => import("./lv-LV-DBms129k.js"),
|
|
47
|
-
"../../Individual/language/nl-NL.json": () => import("./nl-NL-UhYf45fo.js"),
|
|
48
|
-
"../../Individual/language/no-NO.json": () => import("./no-NO-DN7Ovyir.js"),
|
|
49
|
-
"../../Individual/language/pl-PL.json": () => import("./pl-PL-BmiDQi18.js"),
|
|
50
|
-
"../../Individual/language/pt-BR.json": () => import("./pt-BR-DXGEP6IP.js"),
|
|
51
|
-
"../../Individual/language/pt-PT.json": () => import("./pt-PT-BXIKj_3F.js"),
|
|
52
|
-
"../../Individual/language/ro-RO.json": () => import("./ro-RO-D4TQUwVB.js"),
|
|
53
|
-
"../../Individual/language/sk-SK.json": () => import("./sk-SK-CszMszV5.js"),
|
|
54
|
-
"../../Individual/language/sl-SI.json": () => import("./sl-SI-DOAJBgQV.js"),
|
|
55
|
-
"../../Individual/language/sv-SE.json": () => import("./sv-SE--LlaHl85.js")
|
|
56
|
-
}), `../../Individual/language/${lang}.json`, 5)
|
|
57
|
-
}]);
|
|
58
|
-
if (!partnershipLe || memberId && !memberLe) return /* @__PURE__ */ jsx(Loader, {});
|
|
59
|
-
const country = getLegalEntityCountry(memberLe ?? partnershipLe);
|
|
60
|
-
const problems = capabilityProblems && memberId ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, memberId) : void 0;
|
|
61
|
-
return /* @__PURE__ */ jsx(IndividualDropin, {
|
|
62
|
-
taskType: TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_INDIVIDUAL,
|
|
63
|
-
taskName: "partnershipMemberDetails",
|
|
64
|
-
legalEntityResponse: memberLe,
|
|
65
|
-
parentLegalEntity: partnershipLe,
|
|
66
|
-
trustMember: member,
|
|
67
|
-
problems,
|
|
68
|
-
country,
|
|
69
|
-
asModal,
|
|
70
|
-
hideSidebar,
|
|
71
|
-
isTargetLegalEntityType,
|
|
72
|
-
onSubmit,
|
|
73
|
-
handleBackClick,
|
|
74
|
-
handleCloseClick,
|
|
75
|
-
handleHomeClick
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
//#endregion
|
|
79
|
-
export { UnincorporatedPartnershipIndividualPage };
|