@adyen/kyc-components 4.5.0 → 4.6.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/README.md +31 -43
- package/dist/{AcceptTermsOfServiceComponent-Bo8nB0Eb.js → AcceptTermsOfServiceComponent-DTURkN9O.js} +17 -20
- package/dist/{AccountSetupRejected-DQcFbIXL.js → AccountSetupRejected-D7yqqcm_.js} +2 -2
- package/dist/{ActionBar-Bj1Km-LP.js → ActionBar-CdFYb-7S.js} +2 -2
- package/dist/{Address-C0rbmhQL.js → Address-BkeFTMl-.js} +16 -16
- package/dist/{Avatar-Cl1-jo6c.js → Avatar-BpQFX0rJ.js} +2 -2
- package/dist/{BusinessFinancingComponent-Bk0PbC9m.js → BusinessFinancingComponent-CshEgNjO.js} +5 -5
- package/dist/{BusinessFinancingDropin-BAYyFYt9.js → BusinessFinancingDropin-B2kKDCNB.js} +31 -34
- package/dist/{BusinessFinancingPage-Cc--qt48.js → BusinessFinancingPage-96zTF7BJ.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-C63ujxOo.js → BusinessTypeSelectionPage-BVucjw8H.js} +9 -14
- package/dist/{Checkbox-DnP0i74G.js → Checkbox-Dwf4zXgj.js} +2 -2
- package/dist/{Confirm-Bf4Pjkty.js → Confirm-DOjzHnlC.js} +3 -3
- package/dist/{ConstitutionalDocument-CddO3OSY.js → ConstitutionalDocument-C4HWFtJ-.js} +336 -92
- package/dist/{ContactDetails-BZ7dqNuH.js → ContactDetails-ByrH32Jo.js} +12 -7
- package/dist/{ContextGuidance-0XKaQ9Ba.js → ContextGuidance-BUczCMV3.js} +2 -2
- package/dist/{CountryField-BTwq-LdM.js → CountryField-C9nbUmpe.js} +3 -3
- package/dist/{CreateIndividualComponent-B0RfIm2Q.js → CreateIndividualComponent-AOb8RP8N.js} +6 -6
- package/dist/{CreateTransferInstrumentComponent-XiVVyTGX.js → CreateTransferInstrumentComponent-BBytn3E3.js} +5 -5
- package/dist/{Currency-COs4cPiC.js → Currency-B1ApVUnP.js} +7 -7
- package/dist/{CustomerSupport-WsGepkci.js → CustomerSupport-DDtZA5jI.js} +11 -16
- package/dist/{DebugModal-BG-xZugG.js → DebugModal-wXFq4cg1.js} +127 -98
- package/dist/DecisionMakerDetails-Up9HU_qy.js +275 -0
- package/dist/{DecisionMakerDetailsPage-BNDJ4G9u.js → DecisionMakerDetailsPage-OeI7y1aX.js} +10 -10
- package/dist/{DecisionMakers-BkgGDV_d.js → DecisionMakers-5bUJ4S4V.js} +22 -259
- package/dist/{Dropzone-1307mgIt.js → Dropzone-Bf8v-4iJ.js} +4 -4
- package/dist/{EmbeddedStatus-C9Scvouz.js → EmbeddedStatus-DQmqyOzv.js} +3 -3
- package/dist/{EndStateLayout-D8bTvH_H.js → EndStateLayout-DZgYKmw6.js} +2 -2
- package/dist/{EntityAssociation-CFtBLGS6.js → EntityAssociation-Dc8O6xJv.js} +5 -5
- package/dist/{EntityGuidanceStatus-5wNdPvGh.js → EntityGuidanceStatus-DhCqUWGF.js} +4 -4
- package/dist/{ErrorPanel-DNuuMh-W.js → ErrorPanel-4HIDH4sr.js} +11 -12
- package/dist/{Field-DhgxtDHi.js → Field-CWq5XOh3.js} +2 -2
- package/dist/{FormNavigation-CNUCAuSA.js → FormNavigation-CDlQZRNb.js} +3 -3
- package/dist/{Individual.rules-BMayKVCw.js → Individual.rules-BhSXCdTl.js} +12 -12
- package/dist/{IndividualDropin-CNYG1UJb.js → IndividualDropin-DS8kUrXB.js} +252 -97
- package/dist/{InputDate-UU6golKr.js → InputDate-C2NEOpK4.js} +1 -1
- package/dist/{InputText-B_Dy6ooB.js → InputText-20pWI3ja.js} +2 -2
- package/dist/{Introduction-Dal7p5Mk.js → Introduction-D6x5z2oe.js} +4 -9
- package/dist/InvitedDecisionMakerComponent-Bg-DMehe.js +211 -0
- package/dist/{JpAddress-DEzR_98l.js → JpAddress-CX4IfNRB.js} +11 -11
- package/dist/{LandingLayout-CHRI270t.js → LandingLayout-y-X0NrR1.js} +2 -2
- package/dist/{LegalCompanyNameField-BtcoTH2A.js → LegalCompanyNameField-lEerISaT.js} +16 -16
- package/dist/{LegalRepresentativeDetailsPage-DkeUe4ta.js → LegalRepresentativeDetailsPage-C6dOsu1g.js} +5 -5
- package/dist/{Link-Bl_GjNYw.js → Link-DeFoaStC.js} +2 -2
- package/dist/{ListItem-DvSwwjUU.js → ListItem-BFxtRiVb.js} +3 -3
- package/dist/{LoaderWrapper-Coambg3s.js → LoaderWrapper-Bh1b67kY.js} +2 -2
- package/dist/{ManageIndividualComponent-Cg7imjd5.js → ManageIndividualComponent-DHYNg_KN.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-DIblbnOJ.js → ManageTermsOfServiceComponent-BNzELB7A.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-COucevgP.js → ManageTransferInstrumentComponent-9r84TFsu.js} +11 -11
- package/dist/{MaskedInput-CFPRK30D.js → MaskedInput-DPSvsK95.js} +5 -5
- package/dist/{MaybeModal-BBBJD1jn.js → MaybeModal-BbrppFfg.js} +3 -3
- package/dist/{Modal-DJLTbW4Y.js → Modal-CAVcW_pH.js} +2 -2
- package/dist/{Name-Bu38kdOA.js → Name-eQhc9Vta.js} +4 -4
- package/dist/{NewSummary-oIcQyhuq.js → NewSummary-B_xfd8vG.js} +5 -5
- package/dist/{OnboardingDropinComponent-DqQmqcO8.js → OnboardingDropinComponent-BRZuLCE8.js} +145 -218
- package/dist/{PayoutDetailsDropin-D7AR5BSQ.js → PayoutDetailsDropin-B6ZMIVid.js} +183 -1065
- package/dist/{PayoutDetailsPage-BCBGGB28.js → PayoutDetailsPage-BSzf6sev.js} +6 -6
- package/dist/{RadioGroup-DCmqcl_S.js → RadioGroup-BZ-EfNXM.js} +2 -2
- package/dist/{Review-DQA1vIzH.js → Review-BVeMAC7t.js} +6 -6
- package/dist/{RootBusinessDetailsPage--bsR-yKt.js → RootBusinessDetailsPage-OlgTozou.js} +6 -6
- package/dist/{RootBusinessLinesPage-DIYKqsLt.js → RootBusinessLinesPage-CUwKkzZU.js} +93 -91
- package/dist/{RootIndividualDetailsPage-CXKr1vhL.js → RootIndividualDetailsPage-CqP8gdvk.js} +7 -6
- package/dist/{Select-CyK-d8L8.js → Select-DSLn5CCG.js} +4 -4
- package/dist/{SignPCIComponent-BvAt735T.js → SignPCIComponent-CT6GL442.js} +12 -19
- package/dist/{SingpassSelection-Cidszm4a.js → SingpassSelection-BORgM-de.js} +144 -7
- package/dist/{SoleProprietorshipPage-CgAHjrJh.js → SoleProprietorshipPage-BylQa2F1.js} +5 -5
- package/dist/{SourceOfFundsPage-Rh40Ip6D.js → SourceOfFundsPage-Br-FaeUd.js} +270 -98
- package/dist/{StepProgressIndicator-C38x_hKs.js → StepProgressIndicator-ZZsrHrtb.js} +2 -2
- package/dist/{StoreProvider-o79GZkUo.js → StoreProvider-lJLpl6iE.js} +155 -148
- package/dist/{Summary-DbPdEnQi.js → Summary-DdFh8LL0.js} +25 -22
- package/dist/{TaxInformationField-C6DdzDTL.js → TaxInformationField-5nazrzc4.js} +568 -795
- package/dist/{TaxReportingDropin-Dc75TUYl.js → TaxReportingDropin-DAeAPOI5.js} +26 -26
- package/dist/{TextArea-XLgx9WmG.js → TextArea-D0eJRv8v.js} +2 -2
- package/dist/{TileGroup-DsYUn_bt.js → TileGroup-C8YY0Xwv.js} +3 -3
- package/dist/{TrustDetailsPage-B_QUEYM5.js → TrustDetailsPage-BHo4SFbD.js} +64 -65
- package/dist/{TrustMemberCompanyPage-aBW14Thb.js → TrustMemberCompanyPage-CZMF952c.js} +7 -7
- package/dist/{TrustMemberIndividualPage-DNgZI75l.js → TrustMemberIndividualPage-RSIXbPaf.js} +6 -6
- package/dist/{TrustMemberRoleAndTypePage-CbOyf3oB.js → TrustMemberRoleAndTypePage-BehlWyo7.js} +27 -27
- package/dist/{TrustMembersOverview-7waB6Dud.js → TrustMembersOverview-KI0J7peC.js} +16 -18
- package/dist/{UnincorporatedPartnershipIndividualPage-DFvESJUR.js → UnincorporatedPartnershipIndividualPage-CNf-sPP4.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-j2xmgM94.js → UnincorporatedPartnershipMemberCompanyPage-OyKeY30-.js} +6 -6
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BlJsglW1.js → UnincorporatedPartnershipMemberRoleAndTypePage-Bt21JX-F.js} +11 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-1-yK01Ox.js → UnincorporatedPartnershipMembersOverview-DdTGn8QH.js} +7 -7
- package/dist/{VerificationErrorAlert-BsJqccUV.js → VerificationErrorAlert-ChGZqC_p.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-Bx3tJek7.js → ViewVerificationStatusComponent-9RUetbsi.js} +3 -3
- package/dist/adyen-business-financing.js +4 -4
- package/dist/adyen-individual-configuration.js +4 -4
- package/dist/adyen-individual-status.js +4 -4
- package/dist/adyen-invited-decision-maker.js +4 -117
- package/dist/adyen-kyc-components.js +17 -17
- package/dist/adyen-onboarding.js +4 -4
- package/dist/adyen-terms-of-service-management.js +4 -4
- package/dist/adyen-terms-of-service-status.js +4 -4
- package/dist/adyen-transfer-instrument-configuration.js +4 -4
- package/dist/adyen-transfer-instrument-management.js +4 -4
- package/dist/adyen-verification-status.js +4 -4
- package/dist/{bafinUtils-sfpUKqEq.js → bafinUtils-m56sOqio.js} +2 -2
- package/dist/{commonValidators-h59h4U6_.js → commonValidators-cEWuPs2I.js} +1 -1
- package/dist/{dropinUtils-C78qUFNH.js → dropinUtils-B-qE8vvG.js} +53 -9
- package/dist/en-US-CJDkXFZ6.js +13 -0
- package/dist/en-US-CTbVLoNF.js +13 -0
- package/dist/en-US-CfazE4ht.js +13 -0
- package/dist/{en-US-G607HIyo.js → en-US-DPoDE0uz.js} +7 -7
- package/dist/en-US-DrUYyPhF.js +13 -0
- package/dist/{formUtils-D9HJXrvu.js → formUtils-DjInEErz.js} +3 -3
- package/dist/{getName-C1Pp12yX.js → getName-CzAV6RHp.js} +2 -2
- package/dist/{getProblemsForEntity-CyQdh7Lw.js → getProblemsForEntity-CVzYoCCC.js} +2 -2
- package/dist/getTrustedFields-BeaCYGD7.js +104 -0
- package/dist/{isEmpty-Dxhg5YWQ.js → isEmpty-CRqBruDc.js} +1 -1
- package/dist/japanSupportUtils-BK4rTASp.js +16 -0
- package/dist/{localizeDateString-ltj3KR-p.js → localizeDateString-BSZiJcEb.js} +2 -2
- package/dist/{mapExistingFile-J5xtIyOp.js → mapExistingFile-BcvOzQNH.js} +3 -76
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BCTFanCP.js → mapJpAddressSchemaToAddressLocalizations-BgHjkrJG.js} +2 -36
- package/dist/{mapLegalEntityToIndividualSchema-fUEX0pyE.js → mapLegalEntityToIndividualSchema-_HlywUjg.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-BxS7kMUd.js → mapTransferInstrumentToPayoutAccount-69DkBhXm.js} +2 -2
- package/dist/omitObscuredFieldsIfUnchanged-tsdNkCyN.js +29 -0
- package/dist/{patternValidators-DmtoCjEe.js → patternValidators-DuOaKe_S.js} +2 -2
- package/dist/{process-field-configurations-Bo_HZH3p.js → process-field-configurations-DcWH0t4d.js} +2 -2
- package/dist/{resolveEnvironment-9pYwfLRr.js → resolveEnvironment-Bs-ygpN1.js} +17 -24
- package/dist/{roleMetadata-ZbDuZjur.js → roleMetadata-B-2OBUCV.js} +3 -3
- package/dist/style.css +230 -275
- package/dist/styles-CLV89_hH.js +230 -275
- package/dist/types/api/toggles/useToggles.d.ts +2 -1
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentClassification.d.ts +2 -1
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +0 -29
- package/dist/types/components/BankAccount/forms/BankVerification/BankVerification.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankVerification/verification/{widget → overlay}/types.d.ts +4 -14
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +1 -1
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +4 -5
- package/dist/types/components/Business/forms/rules.d.ts +1 -1
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +2 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsGettingStarted.d.ts +6 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +2 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +7 -5
- package/dist/types/components/Business/utils/companyUtil.d.ts +2 -2
- package/dist/types/components/Business/utils/formatDataForSummary.d.ts +3 -2
- package/dist/types/components/Business/utils/submit.d.ts +1 -1
- package/dist/types/components/Business/utils/useCompanySearchFeature.d.ts +5 -0
- package/dist/types/components/BusinessLines/forms/SalesChannelsForm/types.d.ts +1 -1
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesDropin.d.ts +1 -1
- package/dist/types/components/Contract/tasks/PciDropin/PciDropin.d.ts +1 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +9 -9
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +11 -0
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +15 -0
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/validate.d.ts +5 -4
- package/dist/types/components/Individual/forms/BasicDetails/validate.d.ts +3 -3
- package/dist/types/components/Individual/forms/IdNowVerificationModal/IFrameWidget.d.ts +9 -0
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +1 -1
- package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +2 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.types.d.ts +2 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerSubmitSuccess/InvitedDecisionMakerSubmitSuccess.d.ts +6 -1
- package/dist/types/components/Individual/tasks/DecisionMakers/hooks/useTaskStatusWithTimeout.d.ts +15 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/utils.d.ts +14 -0
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +1 -0
- package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +2 -1
- package/dist/types/components/Shared/devex/DebugListener/DebugTogglesAndSettings.d.ts +8 -0
- package/dist/types/components/Shared/devex/DebugListener/debugInfo.d.ts +2 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +12 -0
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → BusinessRegistrationNumberField/RegistrationNumberTypeSelector}/getDefaultRegistrationNumberType.d.ts +4 -4
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → BusinessRegistrationNumberField/RegistrationNumberTypeSelector}/inferCompanyRegistrationNumberType.d.ts +3 -3
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/registrationNumberTypes.d.ts +92 -0
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +8 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +0 -483
- package/dist/types/components/Shared/fields/LegalCompanyNameField/LegalCompanyNameField.d.ts +1 -1
- package/dist/types/components/Shared/fields/LegalCompanyNameField/fieldConfig.d.ts +2 -2
- package/dist/types/components/Shared/fields/LegalCompanyNameField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/LocalizedNameFields/validate.d.ts +2 -2
- package/dist/types/components/Shared/fields/PhoneField/PhoneField.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/types.d.ts +2 -0
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/TaxIdNumberTypeSelector.d.ts +5 -5
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/getDefaultTaxIdNumberType.d.ts +5 -5
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/inferTaxIdNumberType.d.ts +5 -5
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +1 -2
- package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +232 -0
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +8 -0
- package/dist/types/components/Shared/fields/VatNumberField/VatNumberTypeSelector/VatNumberTypeSelector.d.ts +14 -0
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → VatNumberField/VatNumberTypeSelector}/getDefaultVatNumberType.d.ts +2 -2
- package/dist/types/components/Shared/fields/VatNumberField/VatNumberTypeSelector/inferVatNumberType.d.ts +3 -0
- package/dist/types/components/Shared/fields/VatNumberField/fieldConfig.d.ts +1 -2
- package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +10 -1
- package/dist/types/components/Shared/fields/VatNumberField/vatNumberTypes.d.ts +149 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSummary.d.ts +5 -0
- package/dist/types/components/Shared/forms/Address/utils.d.ts +6 -1
- package/dist/types/components/Shared/forms/Address/validate.d.ts +3 -3
- package/dist/types/components/Trust/mapping/mapLegalEntityToTrust.d.ts +2 -2
- package/dist/types/components/Trust/mapping/mapTrustToLegalEntity.d.ts +2 -2
- package/dist/types/components/Trust/tasks/TrustDropin/validate.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/mapping/mapLegalEntityToUnincorporatedPartnership.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/mapping/mapUnincorporatedPartnershipToLegalEntity.d.ts +2 -2
- package/dist/types/components/index.d.ts +2 -2
- package/dist/types/context/FormRouterContext/FormRouterContext.d.ts +5 -0
- package/dist/types/context/FormRouterContext/FormRouterContextProvider.d.ts +1 -1
- package/dist/types/context/FormRouterContext/types.d.ts +1 -0
- package/dist/types/context/FormRouterContext/useFormRouterContext.d.ts +4 -0
- package/dist/types/context/SettingsContext/types.d.ts +2 -0
- package/dist/types/context/ToggleContext/ToggleContext.d.ts +2 -0
- package/dist/types/context/ToggleContext/ToggleContextProvider.d.ts +9 -0
- package/dist/types/context/{ExperimentContext → ToggleContext}/types.d.ts +42 -32
- package/dist/types/context/ToggleContext/useToggleContext.d.ts +1 -0
- package/dist/types/core/EmbedShell/EmbedShell.d.ts +3 -3
- package/dist/types/core/UIElement/UIElement.d.ts +3 -2
- package/dist/types/core/models/api/organization.d.ts +1 -1
- package/dist/types/embeds/baseEmbedProps.d.ts +3 -3
- package/dist/types/hooks/useFormComposer.d.ts +1 -0
- package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +1 -1
- package/dist/types/hooks/useTaskLandedEvent.d.ts +7 -0
- package/dist/types/language/types.d.ts +2 -9
- package/dist/types/language/utils.d.ts +2 -2
- package/dist/types/router/routeConfig.d.ts +1 -0
- package/dist/types/stores/globalStore/taskTypes.d.ts +1 -0
- package/dist/types/types/form-rules.d.ts +2 -2
- package/dist/types/utils/api/processCapabilitites.d.ts +1 -1
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/japanSupportUtils.d.ts +2 -2
- package/dist/{types-Bbb9XYx7.js → types-C4u-zy-W.js} +2 -2
- package/dist/{types-_ugkpUNx.js → types-CTwBMnPB.js} +46 -37
- package/dist/{types-Dz6L62GR.js → types-Cop44iUw.js} +2 -2
- package/dist/{types-CQ2p58-6.js → types-Dv0COrvY.js} +3 -2
- package/dist/{types-C4ieOutZ.js → types-QKgg5_IB.js} +2 -2
- package/dist/{unincorporated-partnership-BC2PWEgm.js → unincorporated-partnership-DCtqSVs0.js} +2 -2
- package/dist/{useAssociatedLegalEntity-BSvkLl8Y.js → useAssociatedLegalEntity-COa3bZhe.js} +2 -2
- package/dist/{useBusinessDetailsData-BMzgGX4d.js → useBusinessDetailsData-DslnLoRz.js} +443 -397
- package/dist/{useCreateLegalEntity-i6pKh0i4.js → useCreateLegalEntity-CO7qV3Sc.js} +2 -2
- package/dist/{useForm-CdWcC_Oh.js → useForm-F0hPmSqd.js} +3 -3
- package/dist/{useFormContext-DGfVqoR2.js → useFormContext-EeYo1zte.js} +17 -8
- package/dist/{useGlobalData-B6jCg1Ek.js → useGlobalData-DKxTj6bo.js} +24 -15
- package/dist/{useMultiForm-Cmp2wrss.js → useMultiForm-CR9pqYjq.js} +4 -4
- package/dist/{useOnboardingStatus-Dm_xuWC2.js → useOnboardingStatus-D2I19RDh.js} +2 -2
- package/dist/{useScenarios-ho-q4vGs.js → useScenarios-BvV1t76w.js} +2 -2
- package/dist/{useTermsOfServiceStatus-Dof1-HII.js → useTermsOfServiceStatus-C0uqYCFG.js} +2 -2
- package/dist/{useToastContext-CflZZ_Su.js → useToastContext-Dl59lP3Q.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-rfHqZZWF.js → useUnincorporatedPartnershipMembers-BRQxcrvc.js} +5 -5
- package/dist/{useUpdateBusinessLines-vNF2Y_nP.js → useUpdateBusinessLines-FG7FE2l9.js} +6 -6
- package/dist/{useUpdateLegalEntity-CtdSLVIW.js → useUpdateLegalEntity-Dr3e1mG2.js} +3 -3
- package/dist/{utils-CPWcV5kL.js → utils-2-VlpJvY.js} +2 -2
- package/dist/{utils-DHB6YxqA.js → utils-Bmx7w6cI.js} +6 -6
- package/dist/{utils-CXn7BO_7.js → utils-CCjjhUUz.js} +53 -6
- package/dist/{utils-CF18b8u8.js → utils-CWrDCmo5.js} +22 -2
- package/dist/{utils-DXCw1aJK.js → utils-DCXRR-sY.js} +1 -1
- package/dist/{validate-DPhS2sGf.js → validate-B--uGfCw.js} +1 -1
- package/dist/{validate-BH9M6gvx.js → validate-DdW_lr56.js} +3 -3
- package/dist/{validationError-BDDYiyYy.js → validationError-DmyvOY60.js} +2 -2
- package/package.json +1 -5
- package/dist/RadioGroupCard-nQz2Uhca.js +0 -152
- package/dist/en-US--1W760fR.js +0 -13
- package/dist/en-US-CKLQU2sJ.js +0 -13
- package/dist/en-US-CozY33On.js +0 -13
- package/dist/en-US-DLY20x1O.js +0 -13
- package/dist/iframeWidget-D-vHGFmR.js +0 -234
- package/dist/instant-verification-UrnuHTYn.js +0 -40
- package/dist/japanSupportUtils-C5HeKRQ7.js +0 -16
- package/dist/manual-verification-BO8zgAYT.js +0 -41
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocument.d.ts +0 -5
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirements.d.ts +0 -9
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirementsModal.d.ts +0 -6
- package/dist/types/components/BankAccount/forms/BankVerification/verification/widget/BankVerificationWidget.d.ts +0 -3
- package/dist/types/components/BankAccount/forms/BankVerification/verification/widget/iframeWidget.d.ts +0 -32
- package/dist/types/components/Business/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +0 -4
- package/dist/types/components/Business/utils/useCompanySearchExperiments.d.ts +0 -5
- package/dist/types/components/Shared/devex/DebugListener/DebugExperimentsAndSettings.d.ts +0 -7
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +0 -20
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +0 -21
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferVatNumberType.d.ts +0 -3
- package/dist/types/context/ExperimentContext/ExperimentsContext.d.ts +0 -2
- package/dist/types/context/ExperimentContext/ExperimentsContextProvider.d.ts +0 -8
- package/dist/types/context/ExperimentContext/useExperimentsContext.d.ts +0 -1
- package/dist/types/utils/bankVerification/dom.d.ts +0 -1
package/dist/{CreateIndividualComponent-B0RfIm2Q.js → CreateIndividualComponent-AOb8RP8N.js}
RENAMED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e88c6add-7693-4390-a48b-af658a47f94b", e._sentryDebugIdIdentifier = "sentry-dbid-e88c6add-7693-4390-a48b-af658a47f94b");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { P as useLegalEntity, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, U as Loader, a8 as getLegalEntityCountry, E as EntityTypes, w as TaskTypes } from "./StoreProvider-lJLpl6iE.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
13
|
-
import { I as IndividualDropin } from "./IndividualDropin-
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-CVzYoCCC.js";
|
|
13
|
+
import { I as IndividualDropin } from "./IndividualDropin-DS8kUrXB.js";
|
|
14
14
|
const CreateIndividualComponent = ({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onSubmitSuccess,
|
|
@@ -25,9 +25,9 @@ const CreateIndividualComponent = ({
|
|
|
25
25
|
const capabilityProblems = useCapabilityProblems();
|
|
26
26
|
const { i18n } = useTranslation();
|
|
27
27
|
addResourceBundles(i18n, [
|
|
28
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
28
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-lJLpl6iE.js").then((n) => n.bR), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
29
29
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-zZhDshGi.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Ck22NTT9.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DudORw4U.js"), "../../ui/language/en-US.json": () => import("./en-US-B-qSAb-7.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BOIrYrz9.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-lIHN6Yl2.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CWdwNCev.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CgalYpUh.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-aAd9SEqx.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-q9azN24o.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-pIChDwiI.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-DRsaNX9j.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-7-enbO1N.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
30
|
-
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Individual/language/bg-BG.json": () => import("./bg-BG-DKld3x63.js"), "../../Individual/language/cs-CZ.json": () => import("./cs-CZ-BBLagJI6.js"), "../../Individual/language/da-DK.json": () => import("./da-DK-D9FgPh5e.js"), "../../Individual/language/de-DE.json": () => import("./de-DE-Cg_RNIr-.js"), "../../Individual/language/el-GR.json": () => import("./el-GR-ZRGBgvMu.js"), "../../Individual/language/en-US.json": () => import("./en-US-
|
|
30
|
+
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Individual/language/bg-BG.json": () => import("./bg-BG-DKld3x63.js"), "../../Individual/language/cs-CZ.json": () => import("./cs-CZ-BBLagJI6.js"), "../../Individual/language/da-DK.json": () => import("./da-DK-D9FgPh5e.js"), "../../Individual/language/de-DE.json": () => import("./de-DE-Cg_RNIr-.js"), "../../Individual/language/el-GR.json": () => import("./el-GR-ZRGBgvMu.js"), "../../Individual/language/en-US.json": () => import("./en-US-CJDkXFZ6.js"), "../../Individual/language/es-ES.json": () => import("./es-ES-BZiC4JWr.js"), "../../Individual/language/et-EE.json": () => import("./et-EE-D_NmrrzQ.js"), "../../Individual/language/fi-FI.json": () => import("./fi-FI-CEH4BfU3.js"), "../../Individual/language/fr-FR.json": () => import("./fr-FR-NxOktkWc.js"), "../../Individual/language/hr-HR.json": () => import("./hr-HR-D_MUIhtx.js"), "../../Individual/language/hu-HU.json": () => import("./hu-HU-LxStrFGU.js"), "../../Individual/language/it-IT.json": () => import("./it-IT-OppZz3gW.js"), "../../Individual/language/ja-JP.json": () => import("./ja-JP-CethQRoG.js"), "../../Individual/language/lt-LT.json": () => import("./lt-LT-CBTFJxth.js"), "../../Individual/language/lv-LV.json": () => import("./lv-LV-DTaBIHLh.js"), "../../Individual/language/nl-NL.json": () => import("./nl-NL-CYFznuWn.js"), "../../Individual/language/no-NO.json": () => import("./no-NO-BsEie1We.js"), "../../Individual/language/pl-PL.json": () => import("./pl-PL-BH_LPZJa.js"), "../../Individual/language/pt-BR.json": () => import("./pt-BR-C-YbDjn-.js"), "../../Individual/language/pt-PT.json": () => import("./pt-PT-BTbVsews.js"), "../../Individual/language/ro-RO.json": () => import("./ro-RO-C5PJhlmM.js"), "../../Individual/language/sk-SK.json": () => import("./sk-SK-DO-AqRjE.js"), "../../Individual/language/sl-SI.json": () => import("./sl-SI-CJH14wbj.js"), "../../Individual/language/sv-SE.json": () => import("./sv-SE-ZsucW_Uj.js") }), `../../Individual/language/${lang}.json`, 5) }
|
|
31
31
|
]);
|
|
32
32
|
const handleOnClose = () => {
|
|
33
33
|
if (modalView) {
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "23d9fb75-5d3b-4754-8f89-c201539fb211", e._sentryDebugIdIdentifier = "sentry-dbid-23d9fb75-5d3b-4754-8f89-c201539fb211");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation,
|
|
10
|
+
import { u as useTranslation, P as useLegalEntity, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, U as Loader, w as TaskTypes } from "./StoreProvider-lJLpl6iE.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState } from "preact/hooks";
|
|
13
|
-
import { P as PayoutDetailsDropin } from "./PayoutDetailsDropin-
|
|
13
|
+
import { P as PayoutDetailsDropin } from "./PayoutDetailsDropin-B6ZMIVid.js";
|
|
14
14
|
function CreateTransferInstrumentComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
transferInstrumentId,
|
|
@@ -25,9 +25,9 @@ function CreateTransferInstrumentComponent({
|
|
|
25
25
|
const { i18n } = useTranslation();
|
|
26
26
|
const { data: legalEntity, isLoading: isLegalEntityLoading } = useLegalEntity(legalEntityId);
|
|
27
27
|
addResourceBundles(i18n, [
|
|
28
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
28
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-lJLpl6iE.js").then((n) => n.bR), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
29
29
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-zZhDshGi.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Ck22NTT9.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DudORw4U.js"), "../../ui/language/en-US.json": () => import("./en-US-B-qSAb-7.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BOIrYrz9.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-lIHN6Yl2.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CWdwNCev.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CgalYpUh.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-aAd9SEqx.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-q9azN24o.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-pIChDwiI.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-DRsaNX9j.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-7-enbO1N.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
30
|
-
{ ns: "banking", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../BankAccount/language/bg-BG.json": () => import("./bg-BG-BnwkqGm9.js"), "../../BankAccount/language/cs-CZ.json": () => import("./cs-CZ-BeMYkFfD.js"), "../../BankAccount/language/da-DK.json": () => import("./da-DK-mUuPR2YO.js"), "../../BankAccount/language/de-DE.json": () => import("./de-DE-CwT6O212.js"), "../../BankAccount/language/el-GR.json": () => import("./el-GR-BuAfpG6u.js"), "../../BankAccount/language/en-US.json": () => import("./en-US
|
|
30
|
+
{ ns: "banking", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../BankAccount/language/bg-BG.json": () => import("./bg-BG-BnwkqGm9.js"), "../../BankAccount/language/cs-CZ.json": () => import("./cs-CZ-BeMYkFfD.js"), "../../BankAccount/language/da-DK.json": () => import("./da-DK-mUuPR2YO.js"), "../../BankAccount/language/de-DE.json": () => import("./de-DE-CwT6O212.js"), "../../BankAccount/language/el-GR.json": () => import("./el-GR-BuAfpG6u.js"), "../../BankAccount/language/en-US.json": () => import("./en-US-DrUYyPhF.js"), "../../BankAccount/language/es-ES.json": () => import("./es-ES-Bh8k9Zx8.js"), "../../BankAccount/language/et-EE.json": () => import("./et-EE-BBnYC5q8.js"), "../../BankAccount/language/fi-FI.json": () => import("./fi-FI-DhUeTfn1.js"), "../../BankAccount/language/fr-FR.json": () => import("./fr-FR-CocDMzBc.js"), "../../BankAccount/language/hr-HR.json": () => import("./hr-HR-D9OGeEuB.js"), "../../BankAccount/language/hu-HU.json": () => import("./hu-HU-DjaoFDqm.js"), "../../BankAccount/language/it-IT.json": () => import("./it-IT-B4bk2Xev.js"), "../../BankAccount/language/ja-JP.json": () => import("./ja-JP-DK55NCZY.js"), "../../BankAccount/language/lt-LT.json": () => import("./lt-LT-CfQUS8PP.js"), "../../BankAccount/language/lv-LV.json": () => import("./lv-LV-DoKxsoVR.js"), "../../BankAccount/language/nl-NL.json": () => import("./nl-NL-J7XpCpQm.js"), "../../BankAccount/language/no-NO.json": () => import("./no-NO-CtDyNTm6.js"), "../../BankAccount/language/pl-PL.json": () => import("./pl-PL-CCX1rSGF.js"), "../../BankAccount/language/pt-BR.json": () => import("./pt-BR-D4BTdo_w.js"), "../../BankAccount/language/pt-PT.json": () => import("./pt-PT-DBZj2dDI.js"), "../../BankAccount/language/ro-RO.json": () => import("./ro-RO-DaU2--fX.js"), "../../BankAccount/language/sk-SK.json": () => import("./sk-SK-B-1yRol7.js"), "../../BankAccount/language/sl-SI.json": () => import("./sl-SI-C_4ajjU4.js"), "../../BankAccount/language/sv-SE.json": () => import("./sv-SE-DKnUr7xo.js") }), `../../BankAccount/language/${lang}.json`, 5) }
|
|
31
31
|
]);
|
|
32
32
|
const handleOnClose = () => {
|
|
33
33
|
if (modalView) {
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "73af6cd8-b637-4a22-8c47-e54253da33d7", e._sentryDebugIdIdentifier = "sentry-dbid-73af6cd8-b637-4a22-8c47-e54253da33d7");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { i as isDateOlderThanAYear } from "./Address-
|
|
11
|
-
import { aX as drop, b as useApiContext,
|
|
10
|
+
import { i as isDateOlderThanAYear } from "./Address-BkeFTMl-.js";
|
|
11
|
+
import { aX as drop, b as useApiContext, k as httpGet, u as useTranslation, ae as createLogger, i as isUndefinedOrNull } from "./StoreProvider-lJLpl6iE.js";
|
|
12
12
|
import { jsx } from "preact/jsx-runtime";
|
|
13
13
|
import { useRef, useEffect, useCallback, useMemo, useState } from "preact/hooks";
|
|
14
14
|
import { useQuery } from "@tanstack/preact-query";
|
|
15
|
-
import { F as Field } from "./Field-
|
|
16
|
-
import { S as Select } from "./Select-
|
|
17
|
-
import { I as InputText, a as InputBase } from "./InputText-
|
|
18
|
-
import { c as currencyByCountry } from "./types-
|
|
15
|
+
import { F as Field } from "./Field-CWq5XOh3.js";
|
|
16
|
+
import { S as Select } from "./Select-DSLn5CCG.js";
|
|
17
|
+
import { I as InputText, a as InputBase } from "./InputText-20pWI3ja.js";
|
|
18
|
+
import { c as currencyByCountry } from "./types-Cop44iUw.js";
|
|
19
19
|
const mapFinancialInformationToFinancialReport = ({
|
|
20
20
|
currency,
|
|
21
21
|
financialReportingDate,
|
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "40b035e6-4fa4-4397-b1a4-df2b812171b5", e._sentryDebugIdIdentifier = "sentry-dbid-40b035e6-4fa4-4397-b1a4-df2b812171b5");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useQueryClient } from "@tanstack/preact-query";
|
|
12
|
-
import { useCallback, useMemo
|
|
13
|
-
import {
|
|
14
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
-
import { c as contactDetailsValidationRules, f as fieldConfig, u as useValidatePhoneNumberImperatively,
|
|
16
|
-
import { u as useToastContext } from "./useToastContext-
|
|
17
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
18
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
19
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
12
|
+
import { useCallback, useMemo } from "preact/hooks";
|
|
13
|
+
import { P as useLegalEntity, U as Loader, R as ROOT_LE, E as EntityTypes, u as useTranslation, x as useAnalyticsContext, aB as Header, ae as createLogger } from "./StoreProvider-lJLpl6iE.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-Dr3e1mG2.js";
|
|
15
|
+
import { c as contactDetailsValidationRules, f as fieldConfig, u as useValidatePhoneNumberImperatively, b as getAsyncPhoneValidationRules, C as ContactDetails, d as defaultFieldMetadata } from "./ContactDetails-ByrH32Jo.js";
|
|
16
|
+
import { u as useToastContext } from "./useToastContext-Dl59lP3Q.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-CR9pqYjq.js";
|
|
18
|
+
import { E as ErrorPanel } from "./ErrorPanel-4HIDH4sr.js";
|
|
19
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-CVzYoCCC.js";
|
|
20
20
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
21
|
-
import { c as createFormUtils } from "./formUtils-
|
|
22
|
-
import { A as ActionBar } from "./ActionBar-
|
|
21
|
+
import { c as createFormUtils } from "./formUtils-DjInEErz.js";
|
|
22
|
+
import { A as ActionBar } from "./ActionBar-CdFYb-7S.js";
|
|
23
23
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
24
24
|
return {
|
|
25
25
|
email: customerSupport?.customerSupport?.email || "",
|
|
@@ -88,11 +88,6 @@ function CustomerSupportInner({
|
|
|
88
88
|
rules: validators,
|
|
89
89
|
asyncRules: asyncValidators
|
|
90
90
|
});
|
|
91
|
-
useEffect(() => {
|
|
92
|
-
userEvents.addTaskEvent("Landed on page", {
|
|
93
|
-
actionType: "start"
|
|
94
|
-
});
|
|
95
|
-
}, [userEvents]);
|
|
96
91
|
const submitForm = async () => {
|
|
97
92
|
const isAsyncValidationValid = await triggerValidation("customerSupport");
|
|
98
93
|
if (!isValid?.customerSupport || !isAsyncValidationValid) {
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9c932657-abf2-49ff-88a7-939e3bed0fe0", e._sentryDebugIdIdentifier = "sentry-dbid-9c932657-abf2-49ff-88a7-939e3bed0fe0");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { M as Modal } from "./Modal-
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
18
|
-
import { C as Checkbox } from "./Checkbox-DnP0i74G.js";
|
|
11
|
+
import { useState, useMemo } from "preact/hooks";
|
|
12
|
+
import { V as Button, by as Accordion, u as useTranslation, ao as entriesOf, bz as splitTaskIdentifier, G as TaskVerificationStatus, H as useToggleContext, m as useSettingsContext, W as useGlobalStore, aT as listToRecord, aR as valuesOf, z as Icon, ae as createLogger } from "./StoreProvider-lJLpl6iE.js";
|
|
13
|
+
import { M as Modal } from "./Modal-CAVcW_pH.js";
|
|
14
|
+
import { S as SettingNames } from "./types-Dv0COrvY.js";
|
|
15
|
+
import { F as FeatureNames, E as ExperimentNames } from "./types-CTwBMnPB.js";
|
|
16
|
+
import { C as Checkbox } from "./Checkbox-Dwf4zXgj.js";
|
|
19
17
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
20
18
|
import MonogonCode from "monogon/preact";
|
|
19
|
+
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
20
|
+
import { I as InputText } from "./InputText-20pWI3ja.js";
|
|
21
21
|
const tabs = "adyen-kyc-tabs";
|
|
22
22
|
const styles$3 = {
|
|
23
23
|
tabs
|
|
@@ -37,90 +37,6 @@ const Tabs = ({ tabs: tabs2, activeTab, onChange }) => /* @__PURE__ */ jsx("div"
|
|
|
37
37
|
name
|
|
38
38
|
);
|
|
39
39
|
}) });
|
|
40
|
-
const filterData = (data, searchTerm) => data.filter(({ key }) => key.toLowerCase().includes(searchTerm.toLowerCase()));
|
|
41
|
-
const sortData = (data) => [...data].sort(({ key: keyA }, { key: keyB }) => keyA.localeCompare(keyB));
|
|
42
|
-
const DebugTable = ({
|
|
43
|
-
data,
|
|
44
|
-
heading,
|
|
45
|
-
searchTerm,
|
|
46
|
-
tagPosition = "after",
|
|
47
|
-
sort = false
|
|
48
|
-
}) => {
|
|
49
|
-
const filteredData = useMemo(() => {
|
|
50
|
-
const filtered = searchTerm ? filterData(data, searchTerm) : data;
|
|
51
|
-
return sort ? sortData(filtered) : filtered;
|
|
52
|
-
}, [data, searchTerm]);
|
|
53
|
-
return /* @__PURE__ */ jsxs("div", { children: [
|
|
54
|
-
heading ? /* @__PURE__ */ jsx("h3", { children: heading }) : void 0,
|
|
55
|
-
filteredData.length === 0 ? /* @__PURE__ */ jsxs("p", { children: [
|
|
56
|
-
"No results found for ",
|
|
57
|
-
/* @__PURE__ */ jsx("strong", { children: searchTerm })
|
|
58
|
-
] }) : /* @__PURE__ */ jsx("table", { children: /* @__PURE__ */ jsx("tbody", { children: filteredData.map(({ key, value, label, variant }) => /* @__PURE__ */ jsxs("tr", { children: [
|
|
59
|
-
tagPosition === "before" ? /* @__PURE__ */ jsx("td", { children: /* @__PURE__ */ jsx(Tag, { variant: variant ?? "grey", children: value }) }) : void 0,
|
|
60
|
-
/* @__PURE__ */ jsxs("td", { children: [
|
|
61
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc-debug-modal__table-key", children: key }),
|
|
62
|
-
label && /* @__PURE__ */ jsx("span", { children: label })
|
|
63
|
-
] }),
|
|
64
|
-
tagPosition === "after" ? /* @__PURE__ */ jsx("td", { children: /* @__PURE__ */ jsx(Tag, { variant: variant ?? "grey", children: value }) }) : void 0
|
|
65
|
-
] }, key)) }) })
|
|
66
|
-
] });
|
|
67
|
-
};
|
|
68
|
-
const getSettingVariant = (value) => {
|
|
69
|
-
switch (value) {
|
|
70
|
-
case void 0:
|
|
71
|
-
return "orange";
|
|
72
|
-
case true:
|
|
73
|
-
return "green";
|
|
74
|
-
case false:
|
|
75
|
-
return "red";
|
|
76
|
-
default:
|
|
77
|
-
return "blue";
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
const DebugExperimentsAndSettings = ({
|
|
81
|
-
experiments,
|
|
82
|
-
settings
|
|
83
|
-
}) => {
|
|
84
|
-
const [searchTerm, setSearchTerm] = useState("");
|
|
85
|
-
const experimentRows = entriesOf(experiments).map(
|
|
86
|
-
([experimentName, enabled]) => ({
|
|
87
|
-
key: `${experimentName}`,
|
|
88
|
-
value: enabled ? "Enabled" : "Disabled",
|
|
89
|
-
variant: enabled ? "green" : "red"
|
|
90
|
-
})
|
|
91
|
-
);
|
|
92
|
-
const settingRows = entriesOf(settings).map(([settingName, value]) => ({
|
|
93
|
-
key: settingName,
|
|
94
|
-
value: `${value}`,
|
|
95
|
-
variant: getSettingVariant(value)
|
|
96
|
-
}));
|
|
97
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
98
|
-
/* @__PURE__ */ jsx(
|
|
99
|
-
InputText,
|
|
100
|
-
{
|
|
101
|
-
name: "search",
|
|
102
|
-
value: searchTerm,
|
|
103
|
-
onInput: (e) => setSearchTerm(e.currentTarget.value),
|
|
104
|
-
placeholder: "Search for Experiments/Settings 🔎",
|
|
105
|
-
trimOnBlur: true,
|
|
106
|
-
spellCheck: false,
|
|
107
|
-
"aria-label": "Search experiments or settings",
|
|
108
|
-
"aria-invalid": false
|
|
109
|
-
}
|
|
110
|
-
),
|
|
111
|
-
/* @__PURE__ */ jsx(
|
|
112
|
-
DebugTable,
|
|
113
|
-
{
|
|
114
|
-
tagPosition: "before",
|
|
115
|
-
data: experimentRows,
|
|
116
|
-
heading: "Experiments",
|
|
117
|
-
searchTerm,
|
|
118
|
-
sort: true
|
|
119
|
-
}
|
|
120
|
-
),
|
|
121
|
-
/* @__PURE__ */ jsx(DebugTable, { data: settingRows, heading: "Settings", searchTerm, sort: true })
|
|
122
|
-
] });
|
|
123
|
-
};
|
|
124
40
|
const searchInput = "adyen-kyc-searchInput";
|
|
125
41
|
const toolbar = "adyen-kyc-toolbar";
|
|
126
42
|
const fieldHeader = "adyen-kyc-fieldHeader";
|
|
@@ -202,6 +118,38 @@ const DebugFormData = () => {
|
|
|
202
118
|
})
|
|
203
119
|
] });
|
|
204
120
|
};
|
|
121
|
+
const filterData = (data, searchTerm) => data.filter(({ key }) => key.toLowerCase().includes(searchTerm.toLowerCase()));
|
|
122
|
+
const sortData = (data) => [...data].sort(({ key: keyA }, { key: keyB }) => keyA.localeCompare(keyB));
|
|
123
|
+
const DebugTable = ({
|
|
124
|
+
data,
|
|
125
|
+
heading,
|
|
126
|
+
searchTerm,
|
|
127
|
+
tagPosition = "after",
|
|
128
|
+
sort = false
|
|
129
|
+
}) => {
|
|
130
|
+
const filteredData = useMemo(() => {
|
|
131
|
+
const filtered = searchTerm ? filterData(data, searchTerm) : data;
|
|
132
|
+
return sort ? sortData(filtered) : filtered;
|
|
133
|
+
}, [data, searchTerm]);
|
|
134
|
+
return /* @__PURE__ */ jsxs("div", { children: [
|
|
135
|
+
heading ? /* @__PURE__ */ jsx("h3", { children: heading }) : void 0,
|
|
136
|
+
filteredData.length === 0 ? /* @__PURE__ */ jsx("p", { children: searchTerm ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
137
|
+
"No results found for ",
|
|
138
|
+
/* @__PURE__ */ jsx("strong", { children: searchTerm })
|
|
139
|
+
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
140
|
+
"No ",
|
|
141
|
+
heading?.toLowerCase(),
|
|
142
|
+
" defined"
|
|
143
|
+
] }) }) : /* @__PURE__ */ jsx("table", { children: /* @__PURE__ */ jsx("tbody", { children: filteredData.map(({ key, value, label, variant }) => /* @__PURE__ */ jsxs("tr", { children: [
|
|
144
|
+
tagPosition === "before" ? /* @__PURE__ */ jsx("td", { children: /* @__PURE__ */ jsx(Tag, { variant: variant ?? "grey", children: value }) }) : void 0,
|
|
145
|
+
/* @__PURE__ */ jsxs("td", { children: [
|
|
146
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc-debug-modal__table-key", children: key }),
|
|
147
|
+
label && /* @__PURE__ */ jsx("span", { children: label })
|
|
148
|
+
] }),
|
|
149
|
+
tagPosition === "after" ? /* @__PURE__ */ jsx("td", { children: /* @__PURE__ */ jsx(Tag, { variant: variant ?? "grey", children: value }) }) : void 0
|
|
150
|
+
] }, key)) }) })
|
|
151
|
+
] });
|
|
152
|
+
};
|
|
205
153
|
const DebugLegalEntityData = ({ legalEntityData }) => {
|
|
206
154
|
if (!legalEntityData) return /* @__PURE__ */ jsx(Fragment, {});
|
|
207
155
|
const { rootLegalEntity, rootLegalEntityType } = legalEntityData;
|
|
@@ -318,9 +266,81 @@ const ExplainDetails = ({ status: status2 }) => {
|
|
|
318
266
|
}
|
|
319
267
|
}
|
|
320
268
|
};
|
|
269
|
+
const getSettingVariant = (value) => {
|
|
270
|
+
switch (value) {
|
|
271
|
+
case void 0:
|
|
272
|
+
return "orange";
|
|
273
|
+
case true:
|
|
274
|
+
return "green";
|
|
275
|
+
case false:
|
|
276
|
+
return "red";
|
|
277
|
+
default:
|
|
278
|
+
return "blue";
|
|
279
|
+
}
|
|
280
|
+
};
|
|
281
|
+
const DebugTogglesAndSettings = ({
|
|
282
|
+
features,
|
|
283
|
+
settings,
|
|
284
|
+
experiments
|
|
285
|
+
}) => {
|
|
286
|
+
const [searchTerm, setSearchTerm] = useState("");
|
|
287
|
+
const featureRows = entriesOf(features).map(([featureName, enabled]) => ({
|
|
288
|
+
key: `${featureName}`,
|
|
289
|
+
value: enabled ? "Enabled" : "Disabled",
|
|
290
|
+
variant: enabled ? "green" : "red"
|
|
291
|
+
}));
|
|
292
|
+
const settingRows = entriesOf(settings).map(([settingName, value]) => ({
|
|
293
|
+
key: settingName,
|
|
294
|
+
value: `${value}`,
|
|
295
|
+
variant: getSettingVariant(value)
|
|
296
|
+
}));
|
|
297
|
+
const experimentRows = entriesOf(experiments).map(
|
|
298
|
+
([experimentName, enabled]) => ({
|
|
299
|
+
key: `${experimentName}`,
|
|
300
|
+
value: enabled ? "Enabled" : "Disabled",
|
|
301
|
+
variant: enabled ? "green" : "red"
|
|
302
|
+
})
|
|
303
|
+
);
|
|
304
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
305
|
+
/* @__PURE__ */ jsx(
|
|
306
|
+
InputText,
|
|
307
|
+
{
|
|
308
|
+
name: "search",
|
|
309
|
+
value: searchTerm,
|
|
310
|
+
onInput: (e) => setSearchTerm(e.currentTarget.value),
|
|
311
|
+
placeholder: "Search for Features/Settings 🔎",
|
|
312
|
+
trimOnBlur: true,
|
|
313
|
+
spellCheck: false,
|
|
314
|
+
"aria-label": "Search features or settings",
|
|
315
|
+
"aria-invalid": false
|
|
316
|
+
}
|
|
317
|
+
),
|
|
318
|
+
/* @__PURE__ */ jsx(
|
|
319
|
+
DebugTable,
|
|
320
|
+
{
|
|
321
|
+
tagPosition: "before",
|
|
322
|
+
data: featureRows,
|
|
323
|
+
heading: "Features",
|
|
324
|
+
searchTerm,
|
|
325
|
+
sort: true
|
|
326
|
+
}
|
|
327
|
+
),
|
|
328
|
+
/* @__PURE__ */ jsx(
|
|
329
|
+
DebugTable,
|
|
330
|
+
{
|
|
331
|
+
tagPosition: "before",
|
|
332
|
+
data: experimentRows,
|
|
333
|
+
heading: "Experiments",
|
|
334
|
+
searchTerm,
|
|
335
|
+
sort: true
|
|
336
|
+
}
|
|
337
|
+
),
|
|
338
|
+
/* @__PURE__ */ jsx(DebugTable, { data: settingRows, heading: "Settings", searchTerm, sort: true })
|
|
339
|
+
] });
|
|
340
|
+
};
|
|
321
341
|
const logger = createLogger();
|
|
322
342
|
const DebugModal = ({ onExit }) => {
|
|
323
|
-
const { isExperimentEnabled } =
|
|
343
|
+
const { isFeatureEnabled, isExperimentEnabled } = useToggleContext();
|
|
324
344
|
const { getSetting } = useSettingsContext();
|
|
325
345
|
const [debugInfoCopied, setDebugInfoCopied] = useState(false);
|
|
326
346
|
const { i18n } = useTranslation();
|
|
@@ -328,10 +348,11 @@ const DebugModal = ({ onExit }) => {
|
|
|
328
348
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
329
349
|
const formDebugAvailable = Object.keys(formDebugInfo.value).length > 0;
|
|
330
350
|
const metadata = {
|
|
331
|
-
sdkVersion: "4.
|
|
351
|
+
sdkVersion: "4.6.0-beta.0",
|
|
332
352
|
locale: i18n.language,
|
|
333
353
|
rootLegalEntityId: rootLegalEntity.id
|
|
334
354
|
};
|
|
355
|
+
const features = listToRecord(valuesOf(FeatureNames), isFeatureEnabled);
|
|
335
356
|
const experiments = listToRecord(valuesOf(ExperimentNames), isExperimentEnabled);
|
|
336
357
|
const settings = listToRecord(valuesOf(SettingNames), getSetting);
|
|
337
358
|
const taskStatuses = useGlobalStore().taskStatuses.value;
|
|
@@ -342,6 +363,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
342
363
|
const copyToClipboard = async () => {
|
|
343
364
|
const toCopy = {
|
|
344
365
|
metadata,
|
|
366
|
+
features,
|
|
345
367
|
experiments,
|
|
346
368
|
settings,
|
|
347
369
|
taskStatuses,
|
|
@@ -359,8 +381,8 @@ const DebugModal = ({ onExit }) => {
|
|
|
359
381
|
label: "Metadata"
|
|
360
382
|
},
|
|
361
383
|
{
|
|
362
|
-
name: "
|
|
363
|
-
label: "
|
|
384
|
+
name: "toggleSettings",
|
|
385
|
+
label: "Toggles & Settings"
|
|
364
386
|
},
|
|
365
387
|
{
|
|
366
388
|
name: "taskStatuses",
|
|
@@ -386,7 +408,14 @@ const DebugModal = ({ onExit }) => {
|
|
|
386
408
|
/* @__PURE__ */ jsxs("div", { className: styles$1.content, children: [
|
|
387
409
|
tab === "metadata" ? /* @__PURE__ */ jsx(DebugMetadata, { metadata }) : void 0,
|
|
388
410
|
tab === "taskStatuses" ? /* @__PURE__ */ jsx(DebugTaskStatuses, { taskStatuses }) : void 0,
|
|
389
|
-
tab === "
|
|
411
|
+
tab === "toggleSettings" ? /* @__PURE__ */ jsx(
|
|
412
|
+
DebugTogglesAndSettings,
|
|
413
|
+
{
|
|
414
|
+
features,
|
|
415
|
+
settings,
|
|
416
|
+
experiments
|
|
417
|
+
}
|
|
418
|
+
) : void 0,
|
|
390
419
|
tab === "legalEntityData" ? /* @__PURE__ */ jsx(DebugLegalEntityData, { legalEntityData }) : void 0,
|
|
391
420
|
tab === "formConfig" ? /* @__PURE__ */ jsx(DebugFormData, {}) : void 0
|
|
392
421
|
] }),
|