@gen-epix/ui 1.2.0 → 1.3.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 +150 -110
- package/dist/index.js +52843 -52606
- package/dist/mui.d.ts +4 -0
- package/package.json +19 -20
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { AxiosInstance } from 'axios';
|
|
|
7
7
|
import { AxiosRequestConfig } from 'axios';
|
|
8
8
|
import { AxiosResponse } from 'axios';
|
|
9
9
|
import { BadgeOwnProps } from '@mui/material';
|
|
10
|
+
import { BoxProps } from '@mui/material';
|
|
10
11
|
import { Button } from '@mui/material';
|
|
11
12
|
import { ButtonOwnProps } from '@mui/material';
|
|
12
13
|
import { ButtonProps } from '@mui/material/Button';
|
|
@@ -649,12 +650,12 @@ export declare type ApplicationBarProps = {
|
|
|
649
650
|
readonly smallLogo: ReactElement;
|
|
650
651
|
};
|
|
651
652
|
|
|
652
|
-
export declare const ApplicationFooterLink: ({ href, onClick, children }: ApplicationFooterLinkProps) => JSX.Element;
|
|
653
|
+
export declare const ApplicationFooterLink: ({ href, onClick, children, ...boxProps }: ApplicationFooterLinkProps) => JSX.Element;
|
|
653
654
|
|
|
654
655
|
export declare type ApplicationFooterLinkProps = PropsWithChildren<{
|
|
655
656
|
readonly href?: string;
|
|
656
657
|
readonly onClick?: () => void;
|
|
657
|
-
}>;
|
|
658
|
+
}> & BoxProps<'li'>;
|
|
658
659
|
|
|
659
660
|
export declare const ApplicationFooterLinkSection: ({ header, children }: ApplicationFooterLinkSectionProps) => JSX.Element;
|
|
660
661
|
|
|
@@ -758,8 +759,6 @@ export declare const AuthProtocol: {
|
|
|
758
759
|
|
|
759
760
|
export declare type AuthProtocol = typeof AuthProtocol[keyof typeof AuthProtocol];
|
|
760
761
|
|
|
761
|
-
export declare const authProtocolPresentationValues: Record<AuthProtocol, string>;
|
|
762
|
-
|
|
763
762
|
export declare type AuthState = {
|
|
764
763
|
preLoginLocation: Path_2;
|
|
765
764
|
lastRedirectTimestamp?: number;
|
|
@@ -3103,8 +3102,6 @@ export declare const CaseClassification: {
|
|
|
3103
3102
|
|
|
3104
3103
|
export declare type CaseClassification = typeof CaseClassification[keyof typeof CaseClassification];
|
|
3105
3104
|
|
|
3106
|
-
export declare const caseClassificationPresentationValues: Record<CaseClassification, string>;
|
|
3107
|
-
|
|
3108
3105
|
/**
|
|
3109
3106
|
*
|
|
3110
3107
|
* @export
|
|
@@ -4875,16 +4872,16 @@ export declare interface Config {
|
|
|
4875
4872
|
SCALE_INCREMENTS: number[];
|
|
4876
4873
|
LEAF_DOT_RADIUS: number;
|
|
4877
4874
|
ANCESTOR_DOT_RADIUS: number;
|
|
4878
|
-
ANCESTOR_DOT_RADIUS_HOVER_ZONE: number;
|
|
4879
4875
|
MINIMUM_DISTANCE_PERCENTAGE_TO_SHOW_LABEL: number;
|
|
4880
4876
|
REGULAR_FILL_COLOR_SUPPORT_LINE: string;
|
|
4881
4877
|
HEADER_HEIGHT: number;
|
|
4882
|
-
|
|
4883
|
-
|
|
4878
|
+
TREE_PADDING: number;
|
|
4879
|
+
LINKED_SCROLL_DEBOUNCE_DELAY_MS: number;
|
|
4884
4880
|
MAX_ZOOM_LEVEL: number;
|
|
4885
|
-
|
|
4886
|
-
MIN_UNLINKED_ZOOM_LEVEL: number;
|
|
4881
|
+
MIN_ZOOM_LEVEL: number;
|
|
4887
4882
|
MIN_ZOOM_SPEED: number;
|
|
4883
|
+
PANNING_THRESHOLD: number;
|
|
4884
|
+
INITIAL_UNLINKED_ZOOM_LEVEL: number;
|
|
4888
4885
|
MAX_ZOOM_SPEED: number;
|
|
4889
4886
|
TAKING_LONGER_TIMEOUT_MS: number;
|
|
4890
4887
|
};
|
|
@@ -5414,6 +5411,15 @@ export declare class DataUtil {
|
|
|
5414
5411
|
static createUseNameFactoryHook<TValue>(getName: (item: TValue) => string, loadables?: Loadable[]): UseNameFactory<TValue>;
|
|
5415
5412
|
}
|
|
5416
5413
|
|
|
5414
|
+
export declare const DATE_FORMAT: {
|
|
5415
|
+
readonly DATE: "yyyy-MM-dd";
|
|
5416
|
+
readonly DATE_TIME: "yyyy-MM-dd HH:mm:ss";
|
|
5417
|
+
readonly YEAR: "yyyy";
|
|
5418
|
+
readonly YEAR_MONTH: "yyyy-MM";
|
|
5419
|
+
readonly YEAR_QUARTER: "yyyy-QQQ";
|
|
5420
|
+
readonly YEAR_WEEK: "YYYY-'W'ww";
|
|
5421
|
+
};
|
|
5422
|
+
|
|
5417
5423
|
declare class DateFilter extends FilterAbstract<[Date, Date]> implements Filter<[Date, Date], string> {
|
|
5418
5424
|
minDate: Date;
|
|
5419
5425
|
maxDate: Date;
|
|
@@ -5421,10 +5427,13 @@ declare class DateFilter extends FilterAbstract<[Date, Date]> implements Filter<
|
|
|
5421
5427
|
filterValue: [Date, Date];
|
|
5422
5428
|
dateParser: (date: string) => Date;
|
|
5423
5429
|
backendFilterType: 'DATE_RANGE' | 'PARTIAL_DATE_RANGE';
|
|
5430
|
+
dateFormat: typeof DATE_FORMAT[keyof typeof DATE_FORMAT];
|
|
5424
5431
|
constructor(kwArgs: DateFilterKwArgs);
|
|
5425
5432
|
matchRowValue(rowValue: string): boolean;
|
|
5426
5433
|
getPresentationValue(value?: unknown): string;
|
|
5427
5434
|
toBackendFilter(): TypedDateRangeFilter | TypedPartialDateRangeFilter;
|
|
5435
|
+
fromURLSearchParameterValue(searchParameterValue: string): [Date, Date];
|
|
5436
|
+
toURLSearchParameterValue(): string;
|
|
5428
5437
|
}
|
|
5429
5438
|
|
|
5430
5439
|
export declare const DateFilterField: ({ filter }: DateFilterFieldProps) => JSX.Element;
|
|
@@ -5438,21 +5447,23 @@ declare interface DateFilterKwArgs extends FilterAbstractKwArgs {
|
|
|
5438
5447
|
minDate: Date;
|
|
5439
5448
|
maxDate: Date;
|
|
5440
5449
|
backendFilterType?: 'DATE_RANGE' | 'PARTIAL_DATE_RANGE';
|
|
5450
|
+
dateFormat?: typeof DATE_FORMAT[keyof typeof DATE_FORMAT];
|
|
5441
5451
|
}
|
|
5442
5452
|
|
|
5443
|
-
export declare const DatePicker: <TFieldValues extends FieldValues, TName extends Path<TFieldValues> = Path<TFieldValues>>({ disabled, label, name, onChange: onChangeProp, loading, required, warningMessage,
|
|
5453
|
+
export declare const DatePicker: <TFieldValues extends FieldValues, TName extends Path<TFieldValues> = Path<TFieldValues>>({ disabled, label, name, onChange: onChangeProp, loading, required, warningMessage, dateFormat, }: DatePickerProps<TFieldValues, TName>) => ReactElement;
|
|
5444
5454
|
|
|
5445
5455
|
export declare interface DatePickerProps<TFieldValues extends FieldValues, TName extends Path<TFieldValues> = Path<TFieldValues>> extends FormFieldBaseProps<TFieldValues, TName, Date> {
|
|
5446
5456
|
readonly loading?: boolean;
|
|
5447
|
-
readonly
|
|
5457
|
+
readonly dateFormat?: typeof DATE_FORMAT[keyof typeof DATE_FORMAT];
|
|
5448
5458
|
}
|
|
5449
5459
|
|
|
5450
|
-
export declare const DateRangePicker: <TFieldValues extends FieldValues, TName extends Path<TFieldValues> = Path<TFieldValues>>({ disabled, label, name, onChange: onChangeProp, loading, required, warningMessage, minDate, maxDate, }: DateRangePickerProps<TFieldValues, TName>) => ReactElement;
|
|
5460
|
+
export declare const DateRangePicker: <TFieldValues extends FieldValues, TName extends Path<TFieldValues> = Path<TFieldValues>>({ disabled, label, name, onChange: onChangeProp, loading, required, warningMessage, minDate, maxDate, dateFormat, }: DateRangePickerProps<TFieldValues, TName>) => ReactElement;
|
|
5451
5461
|
|
|
5452
5462
|
export declare interface DateRangePickerProps<TFieldValues extends FieldValues, TName extends Path<TFieldValues> = Path<TFieldValues>> extends FormFieldBaseProps<TFieldValues, TName, [Date, Date]> {
|
|
5453
5463
|
readonly loading?: boolean;
|
|
5454
5464
|
readonly minDate?: Date;
|
|
5455
5465
|
readonly maxDate?: Date;
|
|
5466
|
+
readonly dateFormat: typeof DATE_FORMAT[keyof typeof DATE_FORMAT];
|
|
5456
5467
|
}
|
|
5457
5468
|
|
|
5458
5469
|
export declare type DeepPartial<T> = {
|
|
@@ -6162,9 +6173,13 @@ export declare class EpiListsCaseSetMembersManager {
|
|
|
6162
6173
|
}
|
|
6163
6174
|
|
|
6164
6175
|
export declare class EpiListUtil {
|
|
6165
|
-
static
|
|
6166
|
-
static
|
|
6176
|
+
static getColumnHeadersForExport(caseTypeColumnIds: string[], completeCaseType: CompleteCaseType): string[];
|
|
6177
|
+
static getRowsForExport(cases: Case[], caseTypeColumnIds: string[], completeCaseType: CompleteCaseType): string[][];
|
|
6178
|
+
static getExportFileName(completeCaseType: CompleteCaseType, t: TFunction<'translation', undefined>): string;
|
|
6179
|
+
static downloadAsCsv(cases: Case[], caseTypeColumnIds: string[], completeCaseType: CompleteCaseType, t: TFunction<'translation', undefined>): void;
|
|
6180
|
+
static downloadAsExcel(cases: Case[], caseTypeColumnIds: string[], completeCaseType: CompleteCaseType, t: TFunction<'translation', undefined>): void;
|
|
6167
6181
|
static getCaseCount(cases: Case[]): number;
|
|
6182
|
+
private static getCaseTypeColumnsForExport;
|
|
6168
6183
|
}
|
|
6169
6184
|
|
|
6170
6185
|
declare interface EpiListWidgetData extends WidgetData {
|
|
@@ -6345,9 +6360,10 @@ export declare class EpiTreeUtil {
|
|
|
6345
6360
|
/**
|
|
6346
6361
|
* getTickMarkScale
|
|
6347
6362
|
*
|
|
6348
|
-
* @param
|
|
6363
|
+
* @param treeWidthMinusPadding width of the canvas in pixels
|
|
6349
6364
|
* @param geneticTreeWidth
|
|
6350
6365
|
* @param minGeneticScaleUnit
|
|
6366
|
+
* @param zoomLevel
|
|
6351
6367
|
* @returns [number of lines to draw, genetic distance of single line, minGeneticScaleUnit]
|
|
6352
6368
|
*/
|
|
6353
6369
|
static getTickMarkScale(params: {
|
|
@@ -6365,24 +6381,26 @@ export declare class EpiTreeUtil {
|
|
|
6365
6381
|
theme: Theme;
|
|
6366
6382
|
treeAssembly: TreeAssembly;
|
|
6367
6383
|
stratification: Stratification;
|
|
6368
|
-
width: number;
|
|
6369
6384
|
zoomLevel: number;
|
|
6370
6385
|
highlightedNodeNames: string[];
|
|
6371
6386
|
verticalScrollPosition: number;
|
|
6387
|
+
horizontalScrollPosition: number;
|
|
6372
6388
|
shouldShowDistances: boolean;
|
|
6373
6389
|
devicePixelRatio: number;
|
|
6390
|
+
isLinked: boolean;
|
|
6374
6391
|
}): void;
|
|
6392
|
+
private static getFillStyle;
|
|
6375
6393
|
static drawTreeCanvas(params: {
|
|
6376
6394
|
canvas: HTMLCanvasElement;
|
|
6377
6395
|
theme: Theme;
|
|
6378
6396
|
treeAssembly: TreeAssembly;
|
|
6379
6397
|
stratification: Stratification;
|
|
6380
|
-
width: number;
|
|
6381
6398
|
zoomLevel: number;
|
|
6399
|
+
isLinked: boolean;
|
|
6382
6400
|
highlightedNodeNames?: string[];
|
|
6383
6401
|
verticalScrollPosition: number;
|
|
6402
|
+
horizontalScrollPosition: number;
|
|
6384
6403
|
treeCanvasWidth: number;
|
|
6385
|
-
treeWidthMinusPadding: number;
|
|
6386
6404
|
treeCanvasHeight: number;
|
|
6387
6405
|
pixelToGeneticDistanceRatio: number;
|
|
6388
6406
|
tickerMarkScale: TickerMarkScale;
|
|
@@ -6399,21 +6417,21 @@ export declare class EpiTreeUtil {
|
|
|
6399
6417
|
static drawGuides(params: {
|
|
6400
6418
|
canvas: HTMLCanvasElement;
|
|
6401
6419
|
tickerMarkScale: TickerMarkScale;
|
|
6402
|
-
treeWidthMinusPadding: number;
|
|
6403
6420
|
pixelToGeneticDistanceRatio: number;
|
|
6404
6421
|
devicePixelRatio: number;
|
|
6405
6422
|
paddingTop?: number;
|
|
6406
6423
|
paddingBottom?: number;
|
|
6407
6424
|
zoomLevel: number;
|
|
6425
|
+
horizontalScrollPosition: number;
|
|
6408
6426
|
}): void;
|
|
6409
6427
|
static drawScale(params: {
|
|
6410
6428
|
canvas: HTMLCanvasElement;
|
|
6411
6429
|
theme: Theme;
|
|
6412
6430
|
tickerMarkScale: TickerMarkScale;
|
|
6413
6431
|
pixelToGeneticDistanceRatio: number;
|
|
6414
|
-
treeWidthMinusPadding: number;
|
|
6415
6432
|
zoomLevel: number;
|
|
6416
6433
|
devicePixelRatio: number;
|
|
6434
|
+
horizontalScrollPosition: number;
|
|
6417
6435
|
}): void;
|
|
6418
6436
|
static drawDivider(params: {
|
|
6419
6437
|
canvas: HTMLCanvasElement;
|
|
@@ -6421,6 +6439,32 @@ export declare class EpiTreeUtil {
|
|
|
6421
6439
|
devicePixelRatio: number;
|
|
6422
6440
|
}): void;
|
|
6423
6441
|
private static draw;
|
|
6442
|
+
static getNewScrollPositionForZoomLevel(params: {
|
|
6443
|
+
eventOffset: number;
|
|
6444
|
+
scrollPosition: number;
|
|
6445
|
+
dimensionSize: number;
|
|
6446
|
+
currentZoomLevel: number;
|
|
6447
|
+
newZoomLevel: number;
|
|
6448
|
+
}): number;
|
|
6449
|
+
static getSanitizedScrollPosition(params: {
|
|
6450
|
+
positionX: number;
|
|
6451
|
+
positionY: number;
|
|
6452
|
+
treeCanvasWidth: number;
|
|
6453
|
+
treeCanvasHeight: number;
|
|
6454
|
+
treeHeight: number;
|
|
6455
|
+
devicePixelRatio: number;
|
|
6456
|
+
internalZoomLevel: number;
|
|
6457
|
+
isLinked: boolean;
|
|
6458
|
+
}): {
|
|
6459
|
+
newPositionX: number;
|
|
6460
|
+
newPositionY: number;
|
|
6461
|
+
};
|
|
6462
|
+
static getPathPropertiesFromCanvas(params: {
|
|
6463
|
+
canvas: HTMLCanvasElement;
|
|
6464
|
+
event: MouseEvent;
|
|
6465
|
+
treeAssembly: TreeAssembly;
|
|
6466
|
+
devicePixelRatio: number;
|
|
6467
|
+
}): TreePathProperties;
|
|
6424
6468
|
static getTreeConfigurations(completeCaseType: CompleteCaseType): TreeConfiguration[];
|
|
6425
6469
|
static getTreeConfigurationId(treeConfiguration: Omit<TreeConfiguration, 'computedId'>): string;
|
|
6426
6470
|
}
|
|
@@ -6428,6 +6472,7 @@ export declare class EpiTreeUtil {
|
|
|
6428
6472
|
declare interface EpiTreeWidgetData extends WidgetData {
|
|
6429
6473
|
treeConfiguration: TreeConfiguration;
|
|
6430
6474
|
verticalScrollPosition: number;
|
|
6475
|
+
horizontalScrollPosition: number;
|
|
6431
6476
|
zoomLevel: number;
|
|
6432
6477
|
}
|
|
6433
6478
|
|
|
@@ -6566,6 +6611,8 @@ export declare abstract class FilterAbstract<TFilterValue> {
|
|
|
6566
6611
|
constructor(kwArgs: FilterAbstractKwArgs);
|
|
6567
6612
|
setFilterValue(value: unknown): void;
|
|
6568
6613
|
isInitialFilterValue(value?: unknown): boolean;
|
|
6614
|
+
fromURLSearchParameterValue(searchParameterValue: string): TFilterValue;
|
|
6615
|
+
toURLSearchParameterValue(): string;
|
|
6569
6616
|
}
|
|
6570
6617
|
|
|
6571
6618
|
export declare interface FilterAbstractKwArgs {
|
|
@@ -7793,8 +7840,6 @@ export declare class NumberUtil {
|
|
|
7793
7840
|
static toStringWithPrecision(value: number, base: number): string;
|
|
7794
7841
|
}
|
|
7795
7842
|
|
|
7796
|
-
export declare const oAuthFlowPresentationValues: Record<OauthFlowType, string>;
|
|
7797
|
-
|
|
7798
7843
|
/**
|
|
7799
7844
|
*
|
|
7800
7845
|
* @export
|
|
@@ -10239,7 +10284,7 @@ export declare const PanelResizeHandleHorizontal: (props: PanelResizeHandleProps
|
|
|
10239
10284
|
|
|
10240
10285
|
export declare const PanelResizeHandleVertical: (props: PanelResizeHandleProps) => JSX.Element;
|
|
10241
10286
|
|
|
10242
|
-
declare type
|
|
10287
|
+
declare type PathPropertiesMap = Map<Path2D, TreePathProperties>;
|
|
10243
10288
|
|
|
10244
10289
|
/**
|
|
10245
10290
|
*
|
|
@@ -10675,10 +10720,10 @@ export declare class RequiredError extends Error {
|
|
|
10675
10720
|
constructor(field: string, msg?: string);
|
|
10676
10721
|
}
|
|
10677
10722
|
|
|
10678
|
-
export declare const ResponseHandler: ({ children,
|
|
10723
|
+
export declare const ResponseHandler: ({ children, isLoading: userIsLoading, error: userError, enabled, loadingMessage, loadables, shouldHideActionButtons, inlineSpinner, spinnerSize, loadingContent, }: ResponseHandlerProps) => ReactNode;
|
|
10679
10724
|
|
|
10680
10725
|
export declare type ResponseHandlerProps = PropsWithChildren<{
|
|
10681
|
-
readonly
|
|
10726
|
+
readonly isLoading?: boolean;
|
|
10682
10727
|
readonly error?: unknown;
|
|
10683
10728
|
readonly enabled?: boolean;
|
|
10684
10729
|
readonly loadingMessage?: string;
|
|
@@ -11284,7 +11329,7 @@ export declare interface TableColumnCaseType<TRowData> extends TableColumnBase<T
|
|
|
11284
11329
|
|
|
11285
11330
|
export declare interface TableColumnDate<TRowData> extends TableColumnBase<TRowData, string> {
|
|
11286
11331
|
type: 'date';
|
|
11287
|
-
|
|
11332
|
+
dateFormat: typeof DATE_FORMAT[keyof typeof DATE_FORMAT];
|
|
11288
11333
|
comparatorFactory?: (params: GetTableCellRowComparatorProps<TableColumnDate<TRowData>>) => (a: TRowData, b: TRowData) => number;
|
|
11289
11334
|
}
|
|
11290
11335
|
|
|
@@ -11565,7 +11610,7 @@ export declare class TableUtil {
|
|
|
11565
11610
|
name: string;
|
|
11566
11611
|
filterLabel?: string;
|
|
11567
11612
|
flex?: number;
|
|
11568
|
-
|
|
11613
|
+
dateFormat?: typeof DATE_FORMAT[keyof typeof DATE_FORMAT];
|
|
11569
11614
|
}): TableColumnDate<TData>;
|
|
11570
11615
|
static createOptionsColumn<TData>(kwArgs: {
|
|
11571
11616
|
id?: keyof TData;
|
|
@@ -11790,15 +11835,15 @@ export declare const TreeAlgorithmType: {
|
|
|
11790
11835
|
export declare type TreeAlgorithmType = typeof TreeAlgorithmType[keyof typeof TreeAlgorithmType];
|
|
11791
11836
|
|
|
11792
11837
|
export declare type TreeAssembly = {
|
|
11793
|
-
|
|
11838
|
+
verticalAncestorTreeLines: Array<{
|
|
11794
11839
|
nodeNames: string[];
|
|
11795
11840
|
shape: Path2D;
|
|
11796
11841
|
}>;
|
|
11797
|
-
|
|
11842
|
+
horizontalAncestorTreeLines: Array<{
|
|
11798
11843
|
nodeNames: string[];
|
|
11799
11844
|
shape: Path2D;
|
|
11800
11845
|
}>;
|
|
11801
|
-
|
|
11846
|
+
ancestorNodes: Array<{
|
|
11802
11847
|
nodeNames: string[];
|
|
11803
11848
|
shape: Path2D;
|
|
11804
11849
|
}>;
|
|
@@ -11822,7 +11867,9 @@ export declare type TreeAssembly = {
|
|
|
11822
11867
|
y: number;
|
|
11823
11868
|
text: string;
|
|
11824
11869
|
}>;
|
|
11825
|
-
|
|
11870
|
+
nodePathPropertiesMap: PathPropertiesMap;
|
|
11871
|
+
horizontalLinePathPropertiesMap: PathPropertiesMap;
|
|
11872
|
+
verticalLinePathPropertiesMap: PathPropertiesMap;
|
|
11826
11873
|
};
|
|
11827
11874
|
|
|
11828
11875
|
export declare type TreeConfiguration = {
|
|
@@ -11857,6 +11904,11 @@ export declare type TreeNode = {
|
|
|
11857
11904
|
address?: string;
|
|
11858
11905
|
};
|
|
11859
11906
|
|
|
11907
|
+
export declare type TreePathProperties = {
|
|
11908
|
+
subTreeLeaveNames: string[];
|
|
11909
|
+
treeNode?: TreeNode;
|
|
11910
|
+
};
|
|
11911
|
+
|
|
11860
11912
|
export declare const TrendsPage: () => JSX.Element;
|
|
11861
11913
|
|
|
11862
11914
|
/**
|
|
@@ -12631,81 +12683,75 @@ export declare interface UpdateUserRequestBody {
|
|
|
12631
12683
|
|
|
12632
12684
|
export declare const UploadPage: () => JSX.Element;
|
|
12633
12685
|
|
|
12634
|
-
export declare const
|
|
12635
|
-
|
|
12636
|
-
export declare const useCaseClassificationOptions: () => UseOptions<string>;
|
|
12686
|
+
export declare const useCaseRightsQuery: (caseIds: string[]) => UseQueryResult<CaseRights[]>;
|
|
12637
12687
|
|
|
12638
|
-
export declare const
|
|
12688
|
+
export declare const useCaseSetCategoriesQuery: () => UseQueryResult<CaseSetCategory[]>;
|
|
12639
12689
|
|
|
12640
|
-
export declare const
|
|
12690
|
+
export declare const useCaseSetCategoryMapQuery: () => UseMap<CaseSetCategory>;
|
|
12641
12691
|
|
|
12642
|
-
export declare const
|
|
12692
|
+
export declare const useCaseSetCategoryOptionsQuery: () => UseOptions<string>;
|
|
12643
12693
|
|
|
12644
|
-
export declare const
|
|
12694
|
+
export declare const useCaseSetOptionsQuery: () => UseOptions<string>;
|
|
12645
12695
|
|
|
12646
|
-
export declare const
|
|
12696
|
+
export declare const useCaseSetRightsQuery: (caseSetIds: string[]) => UseQueryResult<CaseSetRights[]>;
|
|
12647
12697
|
|
|
12648
|
-
export declare const
|
|
12698
|
+
export declare const useCaseSetsMapQuery: () => UseMap<CaseSet>;
|
|
12649
12699
|
|
|
12650
|
-
export declare const
|
|
12700
|
+
export declare const useCaseSetsQuery: () => UseQueryResult<CaseSet[]>;
|
|
12651
12701
|
|
|
12652
|
-
export declare const
|
|
12702
|
+
export declare const useCaseSetStatsMapQuery: () => UseMap<CaseSetStat>;
|
|
12653
12703
|
|
|
12654
|
-
export declare const
|
|
12704
|
+
export declare const useCaseSetStatsQuery: () => UseQueryResult<CaseSetStat[]>;
|
|
12655
12705
|
|
|
12656
|
-
export declare const
|
|
12706
|
+
export declare const useCaseSetStatusesQuery: () => UseQueryResult<CaseSetStatus[]>;
|
|
12657
12707
|
|
|
12658
|
-
export declare const
|
|
12708
|
+
export declare const useCaseSetStatusMapQuery: () => UseMap<CaseSetStatus>;
|
|
12659
12709
|
|
|
12660
|
-
export declare const
|
|
12710
|
+
export declare const useCaseSetStatusOptionsQuery: () => UseOptions<string>;
|
|
12661
12711
|
|
|
12662
|
-
export declare const
|
|
12663
|
-
|
|
12664
|
-
export declare const useCaseTypeColMap: () => UseMap<CaseTypeCol>;
|
|
12712
|
+
export declare const useCaseTypeColMapQuery: () => UseMap<CaseTypeCol>;
|
|
12665
12713
|
|
|
12666
12714
|
export declare const useCaseTypeColNameFactory: () => UseNameFactory<CaseTypeCol>;
|
|
12667
12715
|
|
|
12668
|
-
export declare const
|
|
12669
|
-
|
|
12670
|
-
export declare const useCaseTypeCols: () => UseQueryResult<CaseTypeCol[]>;
|
|
12716
|
+
export declare const useCaseTypeColOptionsQuery: () => UseOptions<string>;
|
|
12671
12717
|
|
|
12672
|
-
export declare const
|
|
12718
|
+
export declare const useCaseTypeColSetMembersQuery: () => UseQueryResult<CaseTypeColSetMember[]>;
|
|
12673
12719
|
|
|
12674
|
-
export declare const
|
|
12720
|
+
export declare const useCaseTypeColSetOptionsQuery: () => UseOptions<string>;
|
|
12675
12721
|
|
|
12676
|
-
export declare const
|
|
12722
|
+
export declare const useCaseTypeColSetsMapQuery: () => UseMap<CaseTypeColSet>;
|
|
12677
12723
|
|
|
12678
|
-
export declare const
|
|
12724
|
+
export declare const useCaseTypeColSetsQuery: () => UseQueryResult<CaseTypeColSet[]>;
|
|
12679
12725
|
|
|
12680
|
-
export declare const
|
|
12726
|
+
export declare const useCaseTypeColsQuery: () => UseQueryResult<CaseTypeCol[]>;
|
|
12681
12727
|
|
|
12682
|
-
export declare const
|
|
12728
|
+
export declare const useCaseTypeMapQuery: () => UseMap<CaseType>;
|
|
12683
12729
|
|
|
12684
|
-
export declare const
|
|
12730
|
+
export declare const useCaseTypeOptionsQuery: () => UseOptions<string>;
|
|
12685
12731
|
|
|
12686
|
-
export declare const
|
|
12732
|
+
export declare const useCaseTypeSetCategoriesQuery: () => UseQueryResult<CaseTypeSetCategory[]>;
|
|
12687
12733
|
|
|
12688
|
-
export declare const
|
|
12734
|
+
export declare const useCaseTypeSetCategoryMapQuery: () => UseMap<CaseTypeSetCategory>;
|
|
12689
12735
|
|
|
12690
|
-
export declare const
|
|
12736
|
+
export declare const useCaseTypeSetCategoryOptionsQuery: () => UseOptions<string>;
|
|
12691
12737
|
|
|
12692
|
-
export declare const
|
|
12738
|
+
export declare const useCaseTypeSetMembersQuery: () => UseQueryResult<CaseTypeSetMember[]>;
|
|
12693
12739
|
|
|
12694
|
-
export declare const
|
|
12740
|
+
export declare const useCaseTypeSetOptionsQuery: () => UseOptions<string>;
|
|
12695
12741
|
|
|
12696
|
-
export declare const
|
|
12742
|
+
export declare const useCaseTypeSetsMapQuery: () => UseMap<CaseTypeSet>;
|
|
12697
12743
|
|
|
12698
|
-
export declare const
|
|
12744
|
+
export declare const useCaseTypeSetsQuery: () => UseQueryResult<CaseTypeSet[]>;
|
|
12699
12745
|
|
|
12700
|
-
export declare const
|
|
12746
|
+
export declare const useCaseTypesQuery: () => UseQueryResult<CaseType[]>;
|
|
12701
12747
|
|
|
12702
|
-
export declare const
|
|
12748
|
+
export declare const useCaseTypeStatsQuery: (options?: RetrieveCaseTypeStatsCommand) => UseQueryResult<CaseTypeStat[]>;
|
|
12703
12749
|
|
|
12704
|
-
export declare const
|
|
12750
|
+
export declare const useColOptionsQuery: () => UseOptions<string>;
|
|
12705
12751
|
|
|
12706
|
-
export declare const
|
|
12752
|
+
export declare const useColsQuery: () => UseQueryResult<Col[]>;
|
|
12707
12753
|
|
|
12708
|
-
export declare const
|
|
12754
|
+
export declare const useColTypeOptionsQuery: () => UseOptions<string>;
|
|
12709
12755
|
|
|
12710
12756
|
export declare const UseColumnsMenu: <TRowData>({ hasCellData }: UseColumnsMenuProps<TRowData>) => MenuItemData;
|
|
12711
12757
|
|
|
@@ -12713,9 +12759,9 @@ export declare type UseColumnsMenuProps<TRowData> = {
|
|
|
12713
12759
|
readonly hasCellData?: (row: TRowData, column: TableColumn<TRowData>, rowIndex: number) => boolean;
|
|
12714
12760
|
};
|
|
12715
12761
|
|
|
12716
|
-
export declare const
|
|
12762
|
+
export declare const useConceptSetOptionsQuery: () => UseOptions<string>;
|
|
12717
12763
|
|
|
12718
|
-
export declare const
|
|
12764
|
+
export declare const useConceptSetsQuery: () => UseQueryResult<ConceptSet[]>;
|
|
12719
12765
|
|
|
12720
12766
|
export declare const useCreateMutation: <TData extends GenericData | GenericData[], TVariables = TData>({ queryFn, resourceQueryKey, getErrorNotificationMessage, getSuccessNotificationMessage, getProgressNotificationMessage, associationQueryKeys, onSuccess, onError, }: UseCreateMutationProps<TData, TVariables>) => {
|
|
12721
12767
|
mutate: UseMutateFunction<TData, Error, TVariables, MutationContextCreate<TData>>;
|
|
@@ -12733,13 +12779,13 @@ export declare type UseCreateMutationProps<TData, TVariables extends GenericData
|
|
|
12733
12779
|
readonly onError?: (error: unknown, variables: TVariables, context: MutationContextCreate<TData>) => Promise<void>;
|
|
12734
12780
|
};
|
|
12735
12781
|
|
|
12736
|
-
export declare const
|
|
12782
|
+
export declare const useDataCollectionOptionsQuery: (dataCollectionIds?: string[]) => UseOptions<string>;
|
|
12737
12783
|
|
|
12738
|
-
export declare const
|
|
12784
|
+
export declare const useDataCollectionSetMembersQuery: () => UseQueryResult<DataCollectionSetMember[]>;
|
|
12739
12785
|
|
|
12740
|
-
export declare const
|
|
12786
|
+
export declare const useDataCollectionsMapQuery: (dataCollectionIds?: string[]) => UseMap<DataCollection>;
|
|
12741
12787
|
|
|
12742
|
-
export declare const
|
|
12788
|
+
export declare const useDataCollectionsQuery: (dataCollectionIds?: string[]) => UseQueryResult<DataCollection[]>;
|
|
12743
12789
|
|
|
12744
12790
|
export declare const useDeleteMutation: <TData extends GenericData | GenericData[]>({ resourceQueryKey, associationQueryKeys, queryFn, onSuccess, onError, getErrorNotificationMessage, getSuccessNotificationMessage, getProgressNotificationMessage, }: UseDeleteMutationProps<TData>) => {
|
|
12745
12791
|
mutate: UseMutateFunction<unknown, Error, TData, MutationContextDelete<TData>>;
|
|
@@ -12759,17 +12805,17 @@ export declare type UseDeleteMutationProps<TData> = {
|
|
|
12759
12805
|
|
|
12760
12806
|
export declare const useDimensions: (ref: RefObject<HTMLElement>, onResizeCallback?: () => void) => Result;
|
|
12761
12807
|
|
|
12762
|
-
export declare const
|
|
12808
|
+
export declare const useDimOptionsQuery: () => UseOptions<string>;
|
|
12763
12809
|
|
|
12764
|
-
export declare const
|
|
12810
|
+
export declare const useDimsQuery: () => UseQueryResult<Dim[]>;
|
|
12765
12811
|
|
|
12766
|
-
export declare const
|
|
12812
|
+
export declare const useDimTypeOptionsQuery: () => UseOptions<string>;
|
|
12767
12813
|
|
|
12768
|
-
export declare const
|
|
12814
|
+
export declare const useDiseaseOptionsQuery: () => UseOptions<string>;
|
|
12769
12815
|
|
|
12770
|
-
export declare const
|
|
12816
|
+
export declare const useDiseasesMapQuery: () => UseMap<Disease>;
|
|
12771
12817
|
|
|
12772
|
-
export declare const
|
|
12818
|
+
export declare const useDiseasesQuery: () => UseQueryResult<Disease[]>;
|
|
12773
12819
|
|
|
12774
12820
|
export declare const useEditMutation: <TData extends GenericData | GenericData[], TVariables = TData>({ queryFn, resourceQueryKey, associationQueryKeys, getErrorNotificationMessage, getSuccessNotificationMessage, getProgressNotificationMessage, onSuccess, onError, getIntermediateItem, }: UseEditMutationProps<TData, TVariables>) => {
|
|
12775
12821
|
mutate: UseMutateFunction<TData, Error, TVariables, MutationContextEdit<TData>>;
|
|
@@ -12793,19 +12839,15 @@ export declare const useEpiCaseAbacContext: () => EpiCaseAbacContextValue;
|
|
|
12793
12839
|
|
|
12794
12840
|
export declare const useEpiCaseTypeAbacContext: () => EpiCaseTypeAbacContextValue;
|
|
12795
12841
|
|
|
12796
|
-
export declare const
|
|
12842
|
+
export declare const useEtiologicalAgentOptionsQuery: () => UseOptions<string>;
|
|
12797
12843
|
|
|
12798
|
-
export declare const
|
|
12844
|
+
export declare const useEtiologicalAgentsMapQuery: () => UseMap<EtiologicalAgent>;
|
|
12799
12845
|
|
|
12800
|
-
export declare const
|
|
12846
|
+
export declare const useEtiologicalAgentsQuery: () => UseQueryResult<EtiologicalAgent[]>;
|
|
12801
12847
|
|
|
12802
|
-
export declare const
|
|
12848
|
+
export declare const useGeneticDistanceProtocolOptionsQuery: () => UseOptions<string>;
|
|
12803
12849
|
|
|
12804
|
-
export declare const
|
|
12805
|
-
|
|
12806
|
-
export declare const useIdentityProviderOptions: () => UseOptions<string>;
|
|
12807
|
-
|
|
12808
|
-
export declare const useIdentityProviders: () => UseQueryResult<IdentityProvider[]>;
|
|
12850
|
+
export declare const useGeneticDistanceProtocolsQuery: () => UseQueryResult<GeneticDistanceProtocol[]>;
|
|
12809
12851
|
|
|
12810
12852
|
export declare const useInitializeTableStore: <TData>(store: StoreApi<TableStore<TData>>, columns: TableColumn<TData>[], baseData: TData[], createFiltersFromColumns?: boolean) => void;
|
|
12811
12853
|
|
|
@@ -12835,27 +12877,25 @@ export declare interface UseNameFactory<TValue> extends Loadable {
|
|
|
12835
12877
|
getName: (item: TValue) => string;
|
|
12836
12878
|
}
|
|
12837
12879
|
|
|
12838
|
-
export declare const useOAuthFlowOptions: () => UseOptions<string>;
|
|
12839
|
-
|
|
12840
12880
|
export declare interface UseOptions<TValue> extends Loadable {
|
|
12841
12881
|
options: OptionBase<TValue>[];
|
|
12842
12882
|
}
|
|
12843
12883
|
|
|
12844
|
-
export declare const
|
|
12884
|
+
export declare const useOrganizationAdminPoliciesQuery: () => UseQueryResult<OrganizationAdminPolicy[]>;
|
|
12845
12885
|
|
|
12846
|
-
export declare const
|
|
12886
|
+
export declare const useOrganizationAdminPolicyMapQuery: () => UseMap<OrganizationAdminPolicy>;
|
|
12847
12887
|
|
|
12848
12888
|
export declare const useOrganizationAdminPolicyNameFactory: () => UseNameFactory<OrganizationAdminPolicy>;
|
|
12849
12889
|
|
|
12850
|
-
export declare const
|
|
12890
|
+
export declare const useOrganizationAdminPolicyOptionsQuery: () => UseOptions<string>;
|
|
12851
12891
|
|
|
12852
12892
|
export declare const useOrganizationCasePolicyNameFactory: () => UseNameFactory<OrganizationAccessCasePolicy | OrganizationShareCasePolicy>;
|
|
12853
12893
|
|
|
12854
|
-
export declare const
|
|
12894
|
+
export declare const useOrganizationMapQuery: () => UseMap<Organization>;
|
|
12855
12895
|
|
|
12856
|
-
export declare const
|
|
12896
|
+
export declare const useOrganizationOptionsQuery: () => UseOptions<string>;
|
|
12857
12897
|
|
|
12858
|
-
export declare const
|
|
12898
|
+
export declare const useOrganizationsQuery: () => UseQueryResult<Organization[]>;
|
|
12859
12899
|
|
|
12860
12900
|
/**
|
|
12861
12901
|
*
|
|
@@ -13025,11 +13065,11 @@ export declare interface UserAccessCasePolicy {
|
|
|
13025
13065
|
'write_case_set': boolean;
|
|
13026
13066
|
}
|
|
13027
13067
|
|
|
13028
|
-
export declare const
|
|
13068
|
+
export declare const useRegionSetOptionsQuery: () => UseOptions<string>;
|
|
13029
13069
|
|
|
13030
|
-
export declare const
|
|
13070
|
+
export declare const useRegionSetsMapQuery: () => UseMap<RegionSet>;
|
|
13031
13071
|
|
|
13032
|
-
export declare const
|
|
13072
|
+
export declare const useRegionSetsQuery: () => UseQueryResult<RegionSet[]>;
|
|
13033
13073
|
|
|
13034
13074
|
export declare const UserFeedbackDialog: ComponentClass<UserFeedbackDialogProps, WithDialogState<UserFeedbackDialogOpenProps>>;
|
|
13035
13075
|
|
|
@@ -13164,7 +13204,7 @@ export declare interface UserNameEmail {
|
|
|
13164
13204
|
'email': string;
|
|
13165
13205
|
}
|
|
13166
13206
|
|
|
13167
|
-
export declare const
|
|
13207
|
+
export declare const useRoleOptionsQuery: () => UseOptions<string>;
|
|
13168
13208
|
|
|
13169
13209
|
export declare type UserProfileStore = UserProfileStoreState & UserProfileStoreActions;
|
|
13170
13210
|
|
|
@@ -13316,7 +13356,7 @@ export declare const useTableStoreContext: <TData>() => StoreApi<TableStore<TDat
|
|
|
13316
13356
|
|
|
13317
13357
|
export declare const useTranslatedOptions: <T, K extends OptionBase<T>>(options: K[]) => K[];
|
|
13318
13358
|
|
|
13319
|
-
export declare const
|
|
13359
|
+
export declare const useTreeAlgorithmCodeOptionsQuery: () => UseOptions<string>;
|
|
13320
13360
|
|
|
13321
13361
|
export declare const useUpdateBreadcrumb: (position: string) => (title: string) => void;
|
|
13322
13362
|
|
|
@@ -13324,11 +13364,11 @@ export declare const useUpdateDocumentTitle: (title: string) => void;
|
|
|
13324
13364
|
|
|
13325
13365
|
export declare const useUserCasePolicyNameFactory: () => UseNameFactory<UserAccessCasePolicy | UserShareCasePolicy>;
|
|
13326
13366
|
|
|
13327
|
-
export declare const
|
|
13367
|
+
export declare const useUserOptionsQuery: () => UseOptions<string>;
|
|
13328
13368
|
|
|
13329
|
-
export declare const
|
|
13369
|
+
export declare const useUsersMapQuery: () => UseMap<User>;
|
|
13330
13370
|
|
|
13331
|
-
export declare const
|
|
13371
|
+
export declare const useUsersQuery: () => UseQueryResult<User[]>;
|
|
13332
13372
|
|
|
13333
13373
|
declare const VALIDATION_PATTERN: {
|
|
13334
13374
|
DECIMAL_0: RegExp;
|