@gen-epix/ui 1.12.0 → 1.13.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/index.d.ts CHANGED
@@ -22,7 +22,6 @@ import { DeepRequired } from 'react-hook-form';
22
22
  import { default as default_2 } from 'decimal.js';
23
23
  import { DefaultError } from '@tanstack/react-query';
24
24
  import { DialogProps as DialogProps_2 } from '@mui/material';
25
- import { Dispatch } from 'react';
26
25
  import { ECharts } from 'echarts';
27
26
  import { ElementType } from 'react';
28
27
  import { EmotionCache } from '@emotion/cache';
@@ -48,7 +47,6 @@ import { NavLinkProps as NavLinkProps_2 } from 'react-router-dom';
48
47
  import { NonIndexRouteObject } from 'react-router';
49
48
  import { ObjectSchema } from 'yup';
50
49
  import { OverridableComponent } from '@mui/material/OverridableComponent';
51
- import { PanelResizeHandleProps } from 'react-resizable-panels';
52
50
  import { Path } from 'react-hook-form';
53
51
  import { Path as Path_2 } from 'react-router-dom';
54
52
  import { PersistOptions } from 'zustand/middleware';
@@ -62,7 +60,7 @@ import { ReactElement } from 'react';
62
60
  import { ReactNode } from 'react';
63
61
  import { Ref } from 'react';
64
62
  import { RefObject } from 'react';
65
- import { SetStateAction } from 'react';
63
+ import { SeparatorProps } from 'react-resizable-panels';
66
64
  import { StoreApi } from 'zustand';
67
65
  import { SvgIconTypeMap } from '@mui/material';
68
66
  import { SxProps } from '@mui/material';
@@ -792,7 +790,6 @@ export declare class AuthApi extends BaseAPI {
792
790
  export declare class AuthenticationManager extends SubscribableAbstract<IdentityProvider> {
793
791
  authContextProps: AuthContextProps;
794
792
  static autoLoginSkew: number;
795
- private static __instance;
796
793
  static get instance(): AuthenticationManager;
797
794
  private constructor();
798
795
  next(oidcConfiguration: IdentityProvider): void;
@@ -807,7 +804,6 @@ export declare const AuthenticationWrapper: ({ children }: PropsWithChildren) =>
807
804
  export declare class AuthorizationManager {
808
805
  private __user;
809
806
  private __apiPermissions;
810
- private static __instance;
811
807
  private constructor();
812
808
  set user(user: User);
813
809
  get user(): User;
@@ -875,7 +871,7 @@ export declare class AxiosUtil {
875
871
 
876
872
  export declare class BackendVersionManager {
877
873
  version: string;
878
- private static __instance;
874
+ private constructor();
879
875
  static get instance(): BackendVersionManager;
880
876
  onResponseFulfilled(response: AxiosResponse): AxiosResponse;
881
877
  }
@@ -914,7 +910,6 @@ export declare type BooleanFilterFieldProps = {
914
910
  };
915
911
 
916
912
  export declare class BreadcrumbManager extends SubscribableAbstract<SubjectData> {
917
- private static __instance;
918
913
  private constructor();
919
914
  static get instance(): BreadcrumbManager;
920
915
  update(position: string, title: string): void;
@@ -3087,15 +3082,6 @@ export declare class CaseApi extends BaseAPI {
3087
3082
  * @memberof CaseApi
3088
3083
  */
3089
3084
  retrieveCasesByIds(retrieveCasesByIdsRequestBody: RetrieveCasesByIdsRequestBody, options?: RawAxiosRequestConfig): Promise<AxiosResponse<Case[], any, {}>>;
3090
- /**
3091
- * Retrieve a set of genetic sequences based on a set of case IDs and a genetic sequence case type column.
3092
- * @summary Retrieve Genetic Sequence By Case
3093
- * @param {RetrieveGeneticSequenceRequestBody} retrieveGeneticSequenceRequestBody
3094
- * @param {*} [options] Override http request option.
3095
- * @throws {RequiredError}
3096
- * @memberof CaseApi
3097
- */
3098
- retrieveGeneticSequence(retrieveGeneticSequenceRequestBody: RetrieveGeneticSequenceRequestBody, options?: RawAxiosRequestConfig): Promise<AxiosResponse<GeneticSequence[], any, {}>>;
3099
3085
  /**
3100
3086
  * Retrieve a set of genetic sequences in FASTA format based on a set of case IDs and a genetic sequence case type column. An iterator is returned that yields the FASTA lines.
3101
3087
  * @summary Retrieve Genetic Sequence By Case, In Fasta Format And Streamed
@@ -3640,7 +3626,7 @@ export declare interface CaseQueryResult {
3640
3626
  }
3641
3627
 
3642
3628
  /**
3643
- * Describes all the rights that a user has on one particular case, based on the data collections in which it is currently shared.
3629
+ * Describes all the rights that a user has on one particular case, based on the data collections in which it is currently shared. PARENT CLASS DOCUMENTATION BaseCaseRights: Base class describing all the rights that a user has on one particular item, based on the data collections in which it is currently shared.
3644
3630
  * @export
3645
3631
  * @interface CaseRights
3646
3632
  */
@@ -3919,7 +3905,7 @@ export declare interface CaseSetMember {
3919
3905
  }
3920
3906
 
3921
3907
  /**
3922
- * Describes all the rights that a user has on one particular case set, based on the data collections in which it is currently shared.
3908
+ * Describes all the rights that a user has on one particular case set, based on the data collections in which it is currently shared. PARENT CLASS DOCUMENTATION BaseCaseRights: Base class describing all the rights that a user has on one particular item, based on the data collections in which it is currently shared.
3923
3909
  * @export
3924
3910
  * @interface CaseSetRights
3925
3911
  */
@@ -5068,95 +5054,94 @@ export declare interface ColValidationRulesResponseBody {
5068
5054
  * @ {string}
5069
5055
  */
5070
5056
  export declare const CommandName: {
5057
+ readonly GeneticDistanceProtocolCrudCommand: "GeneticDistanceProtocolCrudCommand";
5071
5058
  readonly RetrieveCaseSetRightsCommand: "RetrieveCaseSetRightsCommand";
5072
- readonly RetrieveCaseRightsCommand: "RetrieveCaseRightsCommand";
5073
- readonly CaseCrudCommand: "CaseCrudCommand";
5074
- readonly DataCollectionSetMemberCrudCommand: "DataCollectionSetMemberCrudCommand";
5075
- readonly OrganizationAccessCasePolicyCrudCommand: "OrganizationAccessCasePolicyCrudCommand";
5076
- readonly UserInvitationCrudCommand: "UserInvitationCrudCommand";
5059
+ readonly InviteUserCommand: "InviteUserCommand";
5077
5060
  readonly ConceptSetCrudCommand: "ConceptSetCrudCommand";
5078
- readonly CaseTypeSetCrudCommand: "CaseTypeSetCrudCommand";
5079
- readonly RetrieveOrganizationContactCommand: "RetrieveOrganizationContactCommand";
5080
- readonly DataCollectionCrudCommand: "DataCollectionCrudCommand";
5081
- readonly RetrieveGeneticSequenceFastaByCaseCommand: "RetrieveGeneticSequenceFastaByCaseCommand";
5082
- readonly CaseTypeDimCrudCommand: "CaseTypeDimCrudCommand";
5083
- readonly OrganizationAdminPolicyCrudCommand: "OrganizationAdminPolicyCrudCommand";
5084
- readonly CreateCaseSetCommand: "CreateCaseSetCommand";
5085
- readonly RetrieveCasesByQueryCommand: "RetrieveCasesByQueryCommand";
5086
- readonly GeneticDistanceProtocolCrudCommand: "GeneticDistanceProtocolCrudCommand";
5087
- readonly RetrieveOrganizationsUnderAdminCommand: "RetrieveOrganizationsUnderAdminCommand";
5088
- readonly ColCrudCommand: "ColCrudCommand";
5089
- readonly RetrieveSubRolesCommand: "RetrieveSubRolesCommand";
5090
- readonly RetrieveGeneticSequenceFastaByIdCommand: "RetrieveGeneticSequenceFastaByIdCommand";
5091
- readonly OrganizationSetCrudCommand: "OrganizationSetCrudCommand";
5092
- readonly ContactCrudCommand: "ContactCrudCommand";
5093
- readonly UserCrudCommand: "UserCrudCommand";
5094
- readonly ConceptRelationCrudCommand: "ConceptRelationCrudCommand";
5095
- readonly RetrieveOrganizationAdminNameEmailsCommand: "RetrieveOrganizationAdminNameEmailsCommand";
5096
- readonly RetrieveGeneticSequenceByCaseCommand: "RetrieveGeneticSequenceByCaseCommand";
5061
+ readonly OrganizationAccessCasePolicyCrudCommand: "OrganizationAccessCasePolicyCrudCommand";
5062
+ readonly UpdateUserCommand: "UpdateUserCommand";
5063
+ readonly CaseTypeSetCategoryCrudCommand: "CaseTypeSetCategoryCrudCommand";
5064
+ readonly EtiologyCrudCommand: "EtiologyCrudCommand";
5065
+ readonly SubjectIdentifierCrudCommand: "SubjectIdentifierCrudCommand";
5066
+ readonly CaseTypeColSetMemberCrudCommand: "CaseTypeColSetMemberCrudCommand";
5067
+ readonly RegionCrudCommand: "RegionCrudCommand";
5068
+ readonly CaseSetStatusCrudCommand: "CaseSetStatusCrudCommand";
5097
5069
  readonly RetrieveOutagesCommand: "RetrieveOutagesCommand";
5098
- readonly GetIdentityProvidersCommand: "GetIdentityProvidersCommand";
5099
- readonly RegionSetCrudCommand: "RegionSetCrudCommand";
5100
- readonly RetrievePhylogeneticTreeByCasesCommand: "RetrievePhylogeneticTreeByCasesCommand";
5070
+ readonly DiseaseEtiologicalAgentUpdateAssociationCommand: "DiseaseEtiologicalAgentUpdateAssociationCommand";
5101
5071
  readonly CaseSetCrudCommand: "CaseSetCrudCommand";
5102
- readonly CreateFileForSeqCommand: "CreateFileForSeqCommand";
5103
- readonly RegionRelationCrudCommand: "RegionRelationCrudCommand";
5104
- readonly DataCollectionSetCrudCommand: "DataCollectionSetCrudCommand";
5105
- readonly OrganizationIdentifierIssuerLinkUpdateAssociationCommand: "OrganizationIdentifierIssuerLinkUpdateAssociationCommand";
5106
- readonly DiseaseCrudCommand: "DiseaseCrudCommand";
5107
- readonly CaseTypeColCrudCommand: "CaseTypeColCrudCommand";
5108
- readonly ExternalIdentifierCrudCommand: "ExternalIdentifierCrudCommand";
5072
+ readonly TreeAlgorithmCrudCommand: "TreeAlgorithmCrudCommand";
5109
5073
  readonly CaseTypeSetCaseTypeUpdateAssociationCommand: "CaseTypeSetCaseTypeUpdateAssociationCommand";
5110
- readonly UserAccessCasePolicyCrudCommand: "UserAccessCasePolicyCrudCommand";
5111
- readonly EtiologicalAgentCrudCommand: "EtiologicalAgentCrudCommand";
5112
- readonly RetrieveOwnPermissionsCommand: "RetrieveOwnPermissionsCommand";
5113
- readonly TreeAlgorithmClassCrudCommand: "TreeAlgorithmClassCrudCommand";
5114
- readonly CaseTypeColSetCaseTypeColUpdateAssociationCommand: "CaseTypeColSetCaseTypeColUpdateAssociationCommand";
5115
- readonly RegionCrudCommand: "RegionCrudCommand";
5116
- readonly CaseSetCategoryCrudCommand: "CaseSetCategoryCrudCommand";
5117
5074
  readonly CaseSetMemberCrudCommand: "CaseSetMemberCrudCommand";
5075
+ readonly CreateFileForReadSetCommand: "CreateFileForReadSetCommand";
5076
+ readonly RetrieveOrganizationsUnderAdminCommand: "RetrieveOrganizationsUnderAdminCommand";
5118
5077
  readonly DataCollectionSetDataCollectionUpdateAssociationCommand: "DataCollectionSetDataCollectionUpdateAssociationCommand";
5078
+ readonly OrganizationSetCrudCommand: "OrganizationSetCrudCommand";
5119
5079
  readonly RegionSetShapeCrudCommand: "RegionSetShapeCrudCommand";
5120
- readonly SiteCrudCommand: "SiteCrudCommand";
5121
- readonly UploadCasesCommand: "UploadCasesCommand";
5122
- readonly CaseTypeCrudCommand: "CaseTypeCrudCommand";
5123
- readonly RetrieveContainingRegionCommand: "RetrieveContainingRegionCommand";
5124
- readonly RetrieveCaseStatsCommand: "RetrieveCaseStatsCommand";
5125
- readonly RetrieveAssemblyProtocolsCommand: "RetrieveAssemblyProtocolsCommand";
5126
- readonly UpdateUserCommand: "UpdateUserCommand";
5127
- readonly DiseaseEtiologicalAgentUpdateAssociationCommand: "DiseaseEtiologicalAgentUpdateAssociationCommand";
5128
- readonly RetrieveGeneticSequenceByIdCommand: "RetrieveGeneticSequenceByIdCommand";
5129
- readonly OrganizationIdentifierIssuerLinkCrudCommand: "OrganizationIdentifierIssuerLinkCrudCommand";
5130
- readonly UserShareCasePolicyCrudCommand: "UserShareCasePolicyCrudCommand";
5080
+ readonly ExternalIdentifierCrudCommand: "ExternalIdentifierCrudCommand";
5081
+ readonly RegisterInvitedUserCommand: "RegisterInvitedUserCommand";
5082
+ readonly RegionSetCrudCommand: "RegionSetCrudCommand";
5083
+ readonly OrganizationIdentifierIssuerLinkUpdateAssociationCommand: "OrganizationIdentifierIssuerLinkUpdateAssociationCommand";
5084
+ readonly RetrieveCasesByQueryCommand: "RetrieveCasesByQueryCommand";
5085
+ readonly DiseaseCrudCommand: "DiseaseCrudCommand";
5086
+ readonly RetrieveCompleteCaseTypeCommand: "RetrieveCompleteCaseTypeCommand";
5087
+ readonly CaseTypeSetCrudCommand: "CaseTypeSetCrudCommand";
5088
+ readonly DataCollectionCrudCommand: "DataCollectionCrudCommand";
5089
+ readonly CaseTypeDimCrudCommand: "CaseTypeDimCrudCommand";
5090
+ readonly RetrievePhylogeneticTreeByCasesCommand: "RetrievePhylogeneticTreeByCasesCommand";
5091
+ readonly ConceptRelationCrudCommand: "ConceptRelationCrudCommand";
5092
+ readonly RetrieveSubRolesCommand: "RetrieveSubRolesCommand";
5131
5093
  readonly DimCrudCommand: "DimCrudCommand";
5094
+ readonly CaseSetDataCollectionLinkCrudCommand: "CaseSetDataCollectionLinkCrudCommand";
5095
+ readonly UpdateUserOwnOrganizationCommand: "UpdateUserOwnOrganizationCommand";
5096
+ readonly RetrieveOwnPermissionsCommand: "RetrieveOwnPermissionsCommand";
5097
+ readonly CaseTypeColSetCaseTypeColUpdateAssociationCommand: "CaseTypeColSetCaseTypeColUpdateAssociationCommand";
5098
+ readonly CaseTypeSetMemberCrudCommand: "CaseTypeSetMemberCrudCommand";
5099
+ readonly RetrieveInviteUserConstraintsCommand: "RetrieveInviteUserConstraintsCommand";
5132
5100
  readonly RetrievePhylogeneticTreeBySequencesCommand: "RetrievePhylogeneticTreeBySequencesCommand";
5133
- readonly EtiologyCrudCommand: "EtiologyCrudCommand";
5101
+ readonly RegionRelationCrudCommand: "RegionRelationCrudCommand";
5102
+ readonly RetrieveGeneticSequenceFastaByCaseCommand: "RetrieveGeneticSequenceFastaByCaseCommand";
5103
+ readonly TreeAlgorithmClassCrudCommand: "TreeAlgorithmClassCrudCommand";
5104
+ readonly CaseTypeColSetCrudCommand: "CaseTypeColSetCrudCommand";
5105
+ readonly RetrieveLicensesCommand: "RetrieveLicensesCommand";
5106
+ readonly OrganizationIdentifierIssuerLinkCrudCommand: "OrganizationIdentifierIssuerLinkCrudCommand";
5107
+ readonly RetrieveSequencingProtocolsCommand: "RetrieveSequencingProtocolsCommand";
5108
+ readonly RetrieveCaseStatsCommand: "RetrieveCaseStatsCommand";
5109
+ readonly SubjectCrudCommand: "SubjectCrudCommand";
5134
5110
  readonly OrganizationSetOrganizationUpdateAssociationCommand: "OrganizationSetOrganizationUpdateAssociationCommand";
5135
- readonly CaseTypeSetMemberCrudCommand: "CaseTypeSetMemberCrudCommand";
5111
+ readonly RetrieveGeneticSequenceByIdCommand: "RetrieveGeneticSequenceByIdCommand";
5112
+ readonly OrganizationShareCasePolicyCrudCommand: "OrganizationShareCasePolicyCrudCommand";
5113
+ readonly RetrieveOrganizationAdminNameEmailsCommand: "RetrieveOrganizationAdminNameEmailsCommand";
5114
+ readonly CaseTypeColCrudCommand: "CaseTypeColCrudCommand";
5136
5115
  readonly OrganizationCrudCommand: "OrganizationCrudCommand";
5137
- readonly CaseTypeColSetMemberCrudCommand: "CaseTypeColSetMemberCrudCommand";
5116
+ readonly RetrieveAssemblyProtocolsCommand: "RetrieveAssemblyProtocolsCommand";
5117
+ readonly UserAccessCasePolicyCrudCommand: "UserAccessCasePolicyCrudCommand";
5118
+ readonly DataCollectionSetCrudCommand: "DataCollectionSetCrudCommand";
5119
+ readonly OrganizationSetMemberCrudCommand: "OrganizationSetMemberCrudCommand";
5120
+ readonly UploadCasesCommand: "UploadCasesCommand";
5121
+ readonly UserInvitationCrudCommand: "UserInvitationCrudCommand";
5122
+ readonly RetrieveGeneticSequenceFastaByIdCommand: "RetrieveGeneticSequenceFastaByIdCommand";
5123
+ readonly CreateCaseSetCommand: "CreateCaseSetCommand";
5138
5124
  readonly OutageCrudCommand: "OutageCrudCommand";
5139
- readonly CreateFileForReadSetCommand: "CreateFileForReadSetCommand";
5140
- readonly RetrieveSequencingProtocolsCommand: "RetrieveSequencingProtocolsCommand";
5141
- readonly OrganizationShareCasePolicyCrudCommand: "OrganizationShareCasePolicyCrudCommand";
5142
- readonly IdentifierIssuerCrudCommand: "IdentifierIssuerCrudCommand";
5143
- readonly ConceptCrudCommand: "ConceptCrudCommand";
5144
- readonly CaseTypeSetCategoryCrudCommand: "CaseTypeSetCategoryCrudCommand";
5145
- readonly RetrieveCompleteCaseTypeCommand: "RetrieveCompleteCaseTypeCommand";
5146
- readonly RegisterInvitedUserCommand: "RegisterInvitedUserCommand";
5147
- readonly SubjectCrudCommand: "SubjectCrudCommand";
5148
- readonly SubjectIdentifierCrudCommand: "SubjectIdentifierCrudCommand";
5125
+ readonly UserShareCasePolicyCrudCommand: "UserShareCasePolicyCrudCommand";
5126
+ readonly ContactCrudCommand: "ContactCrudCommand";
5127
+ readonly UserCrudCommand: "UserCrudCommand";
5128
+ readonly CaseSetCategoryCrudCommand: "CaseSetCategoryCrudCommand";
5149
5129
  readonly CaseDataCollectionLinkCrudCommand: "CaseDataCollectionLinkCrudCommand";
5150
- readonly CaseSetDataCollectionLinkCrudCommand: "CaseSetDataCollectionLinkCrudCommand";
5151
- readonly TreeAlgorithmCrudCommand: "TreeAlgorithmCrudCommand";
5152
- readonly CaseSetStatusCrudCommand: "CaseSetStatusCrudCommand";
5130
+ readonly SiteCrudCommand: "SiteCrudCommand";
5131
+ readonly GetIdentityProvidersCommand: "GetIdentityProvidersCommand";
5132
+ readonly DataCollectionSetMemberCrudCommand: "DataCollectionSetMemberCrudCommand";
5133
+ readonly RetrieveOrganizationContactCommand: "RetrieveOrganizationContactCommand";
5134
+ readonly ConceptCrudCommand: "ConceptCrudCommand";
5135
+ readonly CreateFileForSeqCommand: "CreateFileForSeqCommand";
5136
+ readonly RetrieveCaseRightsCommand: "RetrieveCaseRightsCommand";
5153
5137
  readonly RetrieveCasesByIdCommand: "RetrieveCasesByIdCommand";
5154
- readonly UpdateUserOwnOrganizationCommand: "UpdateUserOwnOrganizationCommand";
5155
- readonly RetrieveLicensesCommand: "RetrieveLicensesCommand";
5156
- readonly RetrieveInviteUserConstraintsCommand: "RetrieveInviteUserConstraintsCommand";
5157
- readonly CaseTypeColSetCrudCommand: "CaseTypeColSetCrudCommand";
5158
- readonly OrganizationSetMemberCrudCommand: "OrganizationSetMemberCrudCommand";
5159
- readonly InviteUserCommand: "InviteUserCommand";
5138
+ readonly ColCrudCommand: "ColCrudCommand";
5139
+ readonly CaseCrudCommand: "CaseCrudCommand";
5140
+ readonly RetrieveContainingRegionCommand: "RetrieveContainingRegionCommand";
5141
+ readonly EtiologicalAgentCrudCommand: "EtiologicalAgentCrudCommand";
5142
+ readonly OrganizationAdminPolicyCrudCommand: "OrganizationAdminPolicyCrudCommand";
5143
+ readonly CaseTypeCrudCommand: "CaseTypeCrudCommand";
5144
+ readonly IdentifierIssuerCrudCommand: "IdentifierIssuerCrudCommand";
5160
5145
  };
5161
5146
 
5162
5147
  export declare type CommandName = typeof CommandName[keyof typeof CommandName];
@@ -5573,7 +5558,12 @@ export declare type ConceptSetType = typeof ConceptSetType[keyof typeof ConceptS
5573
5558
  export declare const conceptSetTypePresentationValues: Partial<Record<ConceptSetType, string>>;
5574
5559
 
5575
5560
  export declare interface Config {
5576
- enablePageVents: boolean;
5561
+ i18n: {
5562
+ getCurrentLanguageCode: () => Promise<string>;
5563
+ setNewLanguageCode: (code: string) => Promise<void>;
5564
+ languages: I18nConfig[];
5565
+ };
5566
+ enablePageEvents: boolean;
5577
5567
  applicationName: string;
5578
5568
  footer: FooterConfig;
5579
5569
  nonce?: string;
@@ -5674,8 +5664,8 @@ export declare interface Config {
5674
5664
  }
5675
5665
 
5676
5666
  export declare class ConfigManager {
5677
- private static __instance;
5678
5667
  private __config;
5668
+ private constructor();
5679
5669
  static get instance(): ConfigManager;
5680
5670
  set config(config: Config);
5681
5671
  get config(): Config;
@@ -6002,7 +5992,7 @@ export declare const createTableStorePersistConfiguration: <TData, TStore extend
6002
5992
 
6003
5993
  export declare const createUserProfileStoreInitialState: () => UserProfileStoreState;
6004
5994
 
6005
- export declare const CrudPage: <TFormFields, TData extends GenericData, TTableData extends TData = TData>({ associationQueryKeys, canEditItem, contentActions, contentHeader, convertToTableData, createItemButtonText, createItemDialogTitle, createOne, crudCommandType, customOnRowClick, defaultNewItem, defaultSortByField, defaultSortDirection, deleteOne, subPages, editDialogExtraActionsFactory, extraActionsFactory, extraCreateOnePermissions, extraDeleteOnePermissions, extraUpdateOnePermissions, fetchAll, fetchAllSelect, formFieldDefinitions, getName, getOptimisticUpdateIntermediateItem, loadables, onCreateError, onCreateSuccess, onDeleteError, onDeleteSuccess, onEditError, onEditSuccess, onFormChange, onShowItem, resourceQueryKeyBase, schema, showIdColumn, tableColumns, tableStoreStorageNamePostFix, tableStoreStorageVersion, testIdAttributes, title, updateOne, }: CrudPageProps<TFormFields, TData, TTableData>) => JSX.Element;
5995
+ export declare const CrudPage: <TFormFields, TData extends GenericData, TTableData extends TData = TData>({ associationQueryKeys, canEditItem, contentActions, contentHeader, convertToTableData, createItemButtonText, createItemDialogTitle, createOne, crudCommandType, customOnRowClick, defaultNewItem, defaultSortByField, defaultSortDirection, deleteOne, subPages, editDialogExtraActionsFactory, extraActionsFactory, extraCreateOnePermissions, extraDeleteOnePermissions, extraUpdateOnePermissions, fetchAll, fetchAllSelect, formFieldDefinitions, getName, getOptimisticUpdateIntermediateItem, loadables, onCreateError, onCreateSuccess, onDeleteError, onDeleteSuccess, onEditError, onEditSuccess, onFormChange, onRowsChange, onShowItem, resourceQueryKeyBase, schema, showIdColumn, tableColumns, tableStoreStorageNamePostFix, tableStoreStorageVersion, testIdAttributes, title, updateOne, }: CrudPageProps<TFormFields, TData, TTableData>) => JSX.Element;
6006
5996
 
6007
5997
  export declare type CrudPageProps<TFormFields, TData extends GenericData, TTableData extends TData = TData> = PropsWithTestIdAttributes<{
6008
5998
  readonly contentHeader?: string;
@@ -6047,6 +6037,7 @@ export declare type CrudPageProps<TFormFields, TData extends GenericData, TTable
6047
6037
  readonly onCreateError?: (error: unknown, variables: TFormFields, context: MutationContextCreate<TData>) => Promise<void>;
6048
6038
  readonly onDeleteSuccess?: (item: TData, context: MutationContextDelete<TData>) => Promise<void>;
6049
6039
  readonly onDeleteError?: (error: unknown, item: TData, context: MutationContextDelete<TData>) => Promise<void>;
6040
+ readonly onRowsChange?: (items: TData[]) => void;
6050
6041
  readonly editDialogExtraActionsFactory?: (item: TData) => DialogAction[];
6051
6042
  readonly getOptimisticUpdateIntermediateItem?: (variables: TFormFields, previousItem: TData) => TData;
6052
6043
  }>;
@@ -6338,7 +6329,6 @@ export declare type Detail = string | {
6338
6329
  };
6339
6330
 
6340
6331
  export declare class DevicePixelRatioManager extends SubscribableAbstract<number> {
6341
- private static __instance;
6342
6332
  static get instance(): DevicePixelRatioManager;
6343
6333
  private constructor();
6344
6334
  }
@@ -6531,7 +6521,6 @@ export declare class EffectiveRightsUtil {
6531
6521
  }
6532
6522
 
6533
6523
  export declare class EmotionCacheManager {
6534
- private static __instance;
6535
6524
  emotionCache: EmotionCache;
6536
6525
  private constructor();
6537
6526
  static get instance(): EmotionCacheManager;
@@ -6789,7 +6778,7 @@ export declare type EpiDashboardGeneralSettings = {
6789
6778
  isHighlightingEnabled: boolean;
6790
6779
  };
6791
6780
 
6792
- export declare type EpiDashboardLayout = [EpiDashboardLayoutFirstPanelDirection, ...EpiDashboardLayoutFirstAxisPanel[]];
6781
+ export declare type EpiDashboardLayout = [EpiDashboardLayoutPanelOrientation, ...EpiDashboardLayoutFirstAxisPanel[]];
6793
6782
 
6794
6783
  export declare type EpiDashboardLayoutConfig = {
6795
6784
  zones: EPI_ZONE[];
@@ -6798,7 +6787,7 @@ export declare type EpiDashboardLayoutConfig = {
6798
6787
 
6799
6788
  export declare type EpiDashboardLayoutFirstAxisPanel = [30 | 70 | 50 | 100, ...EpiDashboardLayoutSecondAxisPanel[]];
6800
6789
 
6801
- export declare type EpiDashboardLayoutFirstPanelDirection = 'vertical' | 'horizontal';
6790
+ export declare type EpiDashboardLayoutPanelOrientation = 'vertical' | 'horizontal';
6802
6791
 
6803
6792
  export declare type EpiDashboardLayoutSecondAxisPanel = [30 | 70 | 50 | 100, EPI_ZONE];
6804
6793
 
@@ -6914,7 +6903,7 @@ export declare type EpiData = {
6914
6903
  export declare const EpiDataCollectionAccessInfo: () => JSX.Element;
6915
6904
 
6916
6905
  export declare class EpiDataManager {
6917
- private static __instance;
6906
+ private constructor();
6918
6907
  static get instance(): EpiDataManager;
6919
6908
  readonly data: EpiData;
6920
6909
  loadTreeAlgorithms(completeCaseType: CompleteCaseType, signal: AbortSignal): Promise<void>;
@@ -6952,7 +6941,6 @@ declare type EpiEvent_2 = {
6952
6941
  };
6953
6942
 
6954
6943
  export declare class EpiEventBusManager extends EventBusAbstract<EpiEvent_2> {
6955
- private static __instance;
6956
6944
  private constructor();
6957
6945
  static get instance(): EpiEventBusManager;
6958
6946
  }
@@ -6971,6 +6959,13 @@ export declare class EpiFilterUtil {
6971
6959
  static getDateParser(column: Col): (date: string) => Date;
6972
6960
  }
6973
6961
 
6962
+ export declare class EpiHighlightingManager extends SubscribableAbstract<Highlighting> {
6963
+ protected constructor();
6964
+ static get instance(): EpiHighlightingManager;
6965
+ highlight(highlighting: Highlighting): void;
6966
+ reset(): void;
6967
+ }
6968
+
6974
6969
  export declare const EpiLegendaItem: ({ rowValue, color, onItemClick, tooltip, tooltipProps, onMouseOver: onMouseOverCallback, onMouseLeave: onMouseLeaveCallback, disabled, children }: EpiLegendaItemProps) => JSX.Element;
6975
6970
 
6976
6971
  export declare type EpiLegendaItemProps = {
@@ -6989,7 +6984,7 @@ export declare const EpiLineList: ({ linkedScrollSubject, onLink, caseSet }: Epi
6989
6984
 
6990
6985
  export declare class EpiLineListCaseSetMembersManager {
6991
6986
  private readonly queuedCases;
6992
- private static __instance;
6987
+ private constructor();
6993
6988
  static get instance(): EpiLineListCaseSetMembersManager;
6994
6989
  cleanStaleQueue(): void;
6995
6990
  loadRange(caseIds: string[]): Promise<void>;
@@ -7006,6 +7001,7 @@ export declare type EpiLineListProps = {
7006
7001
 
7007
7002
  export declare class EpiLineListUtil {
7008
7003
  static getCaseCount(cases: Case[]): number;
7004
+ static getSelectedRows(cases: Case[], selectedIds: string[]): Case[];
7009
7005
  }
7010
7006
 
7011
7007
  export declare type EpiLinkedScrollSubjectValue = {
@@ -7490,6 +7486,12 @@ export declare type EpiWarningProps = {
7490
7486
 
7491
7487
  export declare const EpiWidget: ({ title, children, primaryMenu, secondaryMenu, warningMessage, zone, expandDisabled, isLoading }: WidgetProps) => JSX.Element;
7492
7488
 
7489
+ export declare const EpiWidgetMenu: ({ menu, }: EpiWidgetMenuProps) => JSX.Element;
7490
+
7491
+ export declare type EpiWidgetMenuProps = {
7492
+ readonly menu: MenuItemData[] | ReactNode;
7493
+ };
7494
+
7493
7495
  export declare const EpiWidgetUnavailable: ({ widgetName, epiZone }: EpiWidgetUnavailableProps) => JSX.Element;
7494
7496
 
7495
7497
  export declare type EpiWidgetUnavailableProps = {
@@ -7901,6 +7903,12 @@ export declare interface GeneticDistanceProtocol {
7901
7903
  * @memberof GeneticDistanceProtocol
7902
7904
  */
7903
7905
  'seqdb_seq_distance_protocol_id': string;
7906
+ /**
7907
+ *
7908
+ * @type {SeqDistanceProtocolType}
7909
+ * @memberof GeneticDistanceProtocol
7910
+ */
7911
+ 'seqdb_seq_distance_protocol_type': SeqDistanceProtocolType;
7904
7912
  /**
7905
7913
  * The name of the protocol
7906
7914
  * @type {string}
@@ -7933,34 +7941,6 @@ export declare interface GeneticDistanceProtocol {
7933
7941
  'min_scale_unit': number;
7934
7942
  }
7935
7943
 
7936
- /**
7937
- * A genetic sequence. Temporary implementation.
7938
- * @export
7939
- * @interface GeneticSequence
7940
- */
7941
- export declare interface GeneticSequence {
7942
- /**
7943
- * The unique identifier for the object.
7944
- * @type {string}
7945
- * @memberof GeneticSequence
7946
- */
7947
- 'id'?: string | null;
7948
- /**
7949
- * The nucleotide sequence
7950
- * @type {string}
7951
- * @memberof GeneticSequence
7952
- */
7953
- 'nucleotide_sequence'?: string | null;
7954
- /**
7955
- * The distances to other sequences
7956
- * @type {{ [key: string]: number; }}
7957
- * @memberof GeneticSequence
7958
- */
7959
- 'distances'?: {
7960
- [key: string]: number;
7961
- } | null;
7962
- }
7963
-
7964
7944
  /**
7965
7945
  * GeoApi - factory interface
7966
7946
  * @export
@@ -8473,14 +8453,6 @@ export declare type Highlighting = {
8473
8453
  origin: EPI_ZONE;
8474
8454
  };
8475
8455
 
8476
- export declare class HighlightingManager extends SubscribableAbstract<Highlighting> {
8477
- private static __instance;
8478
- protected constructor();
8479
- static get instance(): HighlightingManager;
8480
- highlight(highlighting: Highlighting): void;
8481
- reset(): void;
8482
- }
8483
-
8484
8456
  export declare const HomePage: () => JSX.Element;
8485
8457
 
8486
8458
  export declare const HomePageTrends: {
@@ -8502,6 +8474,22 @@ export declare interface HTTPValidationError {
8502
8474
  'detail'?: Array<ValidationError>;
8503
8475
  }
8504
8476
 
8477
+ export declare type I18nConfig = {
8478
+ bundles: string[];
8479
+ code: string;
8480
+ };
8481
+
8482
+ export declare class I18nManager {
8483
+ private isInitialized;
8484
+ private languageLoaded;
8485
+ private constructor();
8486
+ static get instance(): I18nManager;
8487
+ init(): Promise<void>;
8488
+ private updateLangAttribute;
8489
+ switchLanguage(code: string): Promise<void>;
8490
+ private loadResources;
8491
+ }
8492
+
8505
8493
  export declare const IconMenuItem: ({ MenuItemProps, className, label, leftIcon, rightIcon, checked, ref, ...props }: IconMenuItemProps) => JSX.Element;
8506
8494
 
8507
8495
  declare type IconMenuItemProps = {
@@ -8642,7 +8630,6 @@ export declare type IdentityProviderWithAvailability = {
8642
8630
  };
8643
8631
 
8644
8632
  export declare class InactivityManager extends SubscribableAbstract<InactivityState> {
8645
- private static __instance;
8646
8633
  private idleSince;
8647
8634
  private idleDiff;
8648
8635
  private notificationDiff;
@@ -8680,7 +8667,6 @@ declare type KeyboardShortcutConfig = {
8680
8667
  };
8681
8668
 
8682
8669
  export declare class KeyboardShortcutManager {
8683
- private static __instance;
8684
8670
  private readonly configs;
8685
8671
  static get instance(): KeyboardShortcutManager;
8686
8672
  private constructor();
@@ -8804,7 +8790,6 @@ export declare const LogLevel: {
8804
8790
  export declare type LogLevel = typeof LogLevel[keyof typeof LogLevel];
8805
8791
 
8806
8792
  export declare class LogManager {
8807
- private static __instance;
8808
8793
  protected readonly requestMap: Map<string, number>;
8809
8794
  private logItems;
8810
8795
  static get instance(): LogManager;
@@ -8844,6 +8829,11 @@ export declare interface LogRequestBody {
8844
8829
  */
8845
8830
  export declare type MembersInner = number | string;
8846
8831
 
8832
+ export declare class MenuDataUtil {
8833
+ static isMenuItemData(value: unknown): value is MenuItemData;
8834
+ static isMenuItemDataArray(value: unknown): value is MenuItemData[];
8835
+ }
8836
+
8847
8837
  export declare interface MenuItemData {
8848
8838
  uid?: string;
8849
8839
  label?: string;
@@ -8933,8 +8923,8 @@ export declare interface MyPermissionsDialogProps extends WithDialogRenderProps<
8933
8923
  export declare type MyPermissionsDialogRefMethods = WithDialogRefMethods<MyPermissionsDialogProps, MyPermissionsDialogOpenProps>;
8934
8924
 
8935
8925
  export declare class NavigationHistoryManager {
8936
- private static __instance;
8937
8926
  readonly navigationHistory: string[];
8927
+ private constructor();
8938
8928
  static get instance(): NavigationHistoryManager;
8939
8929
  }
8940
8930
 
@@ -9009,7 +8999,6 @@ export { Notification_2 as Notification }
9009
8999
 
9010
9000
  export declare class NotificationManager extends SubscribableAbstract<Notification_2[]> {
9011
9001
  private readonly notificationTimeouts;
9012
- private static __instance;
9013
9002
  static get instance(): NotificationManager;
9014
9003
  private constructor();
9015
9004
  hideAllNotifications(): void;
@@ -11873,7 +11862,6 @@ export declare type PageContainerProps = PropsWithTestIdAttributes<{
11873
11862
  }>;
11874
11863
 
11875
11864
  export declare class PageEventBusManager extends EventBusAbstract<EpiEvent> {
11876
- private static __instance;
11877
11865
  private lastPageEventPayload;
11878
11866
  private constructor();
11879
11867
  static get instance(): PageEventBusManager;
@@ -11883,9 +11871,9 @@ export declare class PageEventBusManager extends EventBusAbstract<EpiEvent> {
11883
11871
  getPage(): Page;
11884
11872
  }
11885
11873
 
11886
- export declare const PanelResizeHandleHorizontal: (props: PanelResizeHandleProps) => JSX.Element;
11874
+ export declare const PanelSeparatorHorizontal: (props: SeparatorProps) => JSX.Element;
11887
11875
 
11888
- export declare const PanelResizeHandleVertical: (props: PanelResizeHandleProps) => JSX.Element;
11876
+ export declare const PanelSeparatorVertical: (props: SeparatorProps) => JSX.Element;
11889
11877
 
11890
11878
  declare type PathPropertiesMap = Map<Path2D, TreePathProperties>;
11891
11879
 
@@ -11953,11 +11941,11 @@ export declare interface PhylogeneticTree {
11953
11941
  */
11954
11942
  'leaf_ids'?: Array<string> | null;
11955
11943
  /**
11956
- * The list of unique identifiers of the sequence of each leaf of the phylogenetic tree.
11944
+ * The list of unique identifiers of the profile of each leaf of the phylogenetic tree.
11957
11945
  * @type {Array<string>}
11958
11946
  * @memberof PhylogeneticTree
11959
11947
  */
11960
- 'sequence_ids'?: Array<string> | null;
11948
+ 'profile_ids'?: Array<string> | null;
11961
11949
  /**
11962
11950
  * The Newick representation of the phylogenetic tree.
11963
11951
  * @type {string}
@@ -12049,7 +12037,6 @@ export declare enum QUERY_KEY {
12049
12037
  }
12050
12038
 
12051
12039
  export declare class QueryClientManager {
12052
- private static __instance;
12053
12040
  readonly queryCache: QueryCache;
12054
12041
  readonly queryClient: QueryClient;
12055
12042
  readonly mutationCache: MutationCache;
@@ -12489,32 +12476,6 @@ export declare interface RetrieveCaseTypeStatsRequestBody {
12489
12476
  'datetime_range_filter'?: TypedDatetimeRangeFilter;
12490
12477
  }
12491
12478
 
12492
- /**
12493
- *
12494
- * @export
12495
- * @interface RetrieveGeneticSequenceRequestBody
12496
- */
12497
- export declare interface RetrieveGeneticSequenceRequestBody {
12498
- /**
12499
- * The case type ID that all the cases must belong to.
12500
- * @type {string}
12501
- * @memberof RetrieveGeneticSequenceRequestBody
12502
- */
12503
- 'case_type_id': string;
12504
- /**
12505
- * The ID of the genetic sequence case type column to use.
12506
- * @type {string}
12507
- * @memberof RetrieveGeneticSequenceRequestBody
12508
- */
12509
- 'genetic_sequence_case_type_col_id': string;
12510
- /**
12511
- * The IDs of the cases to retrieve genetic sequences for.
12512
- * @type {Array<string>}
12513
- * @memberof RetrieveGeneticSequenceRequestBody
12514
- */
12515
- 'case_ids': Array<string>;
12516
- }
12517
-
12518
12479
  /**
12519
12480
  *
12520
12481
  * @export
@@ -12602,7 +12563,6 @@ export declare type RichTextEditorProps<TFieldValues extends FieldValues, TName
12602
12563
  export declare const RouterErrorPage: () => JSX.Element;
12603
12564
 
12604
12565
  export declare class RouterManager {
12605
- private static __instance;
12606
12566
  readonly router: ReturnType<typeof createBrowserRouter>;
12607
12567
  private constructor();
12608
12568
  static get instance(): RouterManager;
@@ -12638,6 +12598,21 @@ export declare type SelectProps<TFieldValues extends FieldValues, TName extends
12638
12598
  readonly loading?: boolean;
12639
12599
  };
12640
12600
 
12601
+ /**
12602
+ *
12603
+ * @export
12604
+ * @ {string}
12605
+ */
12606
+ export declare const SeqDistanceProtocolType: {
12607
+ readonly ALLELE_HAMMING: "ALLELE_HAMMING";
12608
+ readonly SNP_HAMMING: "SNP_HAMMING";
12609
+ readonly MLVA_HAMMING: "MLVA_HAMMING";
12610
+ readonly MLVA_EUCLIDEAN: "MLVA_EUCLIDEAN";
12611
+ readonly KMER_EUCLIDEAN: "KMER_EUCLIDEAN";
12612
+ };
12613
+
12614
+ export declare type SeqDistanceProtocolType = typeof SeqDistanceProtocolType[keyof typeof SeqDistanceProtocolType];
12615
+
12641
12616
  /**
12642
12617
  *
12643
12618
  * @export
@@ -12834,8 +12809,21 @@ export declare type SpinnerProps = {
12834
12809
  readonly size?: CircularProgressProps['size'];
12835
12810
  };
12836
12811
 
12812
+ export declare type Step = {
12813
+ key: string;
12814
+ label: string;
12815
+ optional?: boolean;
12816
+ };
12817
+
12837
12818
  export declare const STEP_ORDER: EPI_UPLOAD_STEP[];
12838
12819
 
12820
+ export declare const Stepper: ({ steps, activeStep, ...boxProps }: StepperProps) => JSX.Element;
12821
+
12822
+ export declare type StepperProps = {
12823
+ readonly steps: Step[];
12824
+ readonly activeStep: string;
12825
+ } & BoxProps;
12826
+
12839
12827
  declare interface StratifiableColumn {
12840
12828
  caseTypeCol: CaseTypeCol;
12841
12829
  enabled: boolean;
@@ -13827,10 +13815,7 @@ export declare type TextFilterFieldProps = {
13827
13815
  export declare type TickerMarkScale = [number, number, number];
13828
13816
 
13829
13817
  export declare class TimeUtil {
13830
- static getReadableTimeRemaining(milliseconds: number, options?: {
13831
- postFix?: string;
13832
- round?: boolean;
13833
- }): string;
13818
+ static getReadableTimeRemaining(milliseconds: number, round?: boolean): string;
13834
13819
  }
13835
13820
 
13836
13821
  export declare const ToggleButtonGroup: <TFieldValues extends FieldValues, TName extends Path<TFieldValues> = Path<TFieldValues>>({ disabled, name, options, warningMessage, required, onChange: onChangeProp, }: ToggleButtonProps<TFieldValues, TName>) => ReactElement;
@@ -15101,7 +15086,7 @@ export declare const useDiseasesQuery: () => UseQueryResult<Disease[]>;
15101
15086
  export declare const useEditMutation: <TData extends GenericData | GenericData[], TVariables = TData>({ queryFn, resourceQueryKey, associationQueryKeys, getErrorNotificationMessage, getSuccessNotificationMessage, getProgressNotificationMessage, onSuccess, onError, getIntermediateItem, }: UseEditMutationProps<TData, TVariables>) => {
15102
15087
  mutate: UseMutateFunction<TData, Error, TVariables, MutationContextEdit<TData>>;
15103
15088
  isMutating: boolean;
15104
- setPreviousItem: Dispatch<SetStateAction<TData>>;
15089
+ setPreviousItem: (item: TData) => void;
15105
15090
  };
15106
15091
 
15107
15092
  export declare type UseEditMutationProps<TData, TVariables = TData> = {
@@ -15649,8 +15634,8 @@ export declare type UsersEffectiveRightsDetailsDialogRefMethods = WithDialogRefM
15649
15634
  export declare type UsersEffectiveRightsDetailsType = 'caseTypeSets' | 'readColSets' | 'writeColSets';
15650
15635
 
15651
15636
  export declare class UserSettingsManager {
15652
- private static __instance;
15653
15637
  showShowUserFeedbackTooltip: boolean;
15638
+ private constructor();
15654
15639
  static get instance(): UserSettingsManager;
15655
15640
  }
15656
15641
 
@@ -15862,9 +15847,9 @@ export declare interface WidgetHeaderIconButtonProps extends IconButtonProps {
15862
15847
  }
15863
15848
 
15864
15849
  export declare type WidgetProps = PropsWithChildren<{
15865
- readonly title: string | MenuItemData;
15866
- readonly primaryMenu?: MenuItemData[];
15867
- readonly secondaryMenu?: MenuItemData[];
15850
+ readonly title: string | MenuItemData | ReactNode;
15851
+ readonly primaryMenu?: MenuItemData[] | ReactNode;
15852
+ readonly secondaryMenu?: MenuItemData[] | ReactNode;
15868
15853
  readonly warningMessage?: string;
15869
15854
  readonly zone: EPI_ZONE;
15870
15855
  readonly expandDisabled?: boolean;
@@ -15873,6 +15858,7 @@ export declare type WidgetProps = PropsWithChildren<{
15873
15858
 
15874
15859
  export declare class WindowManager {
15875
15860
  private static __instance;
15861
+ private constructor();
15876
15862
  static get instance(): WindowManager;
15877
15863
  get window(): Window & typeof globalThis;
15878
15864
  get document(): Document;