@rcsb/rcsb-saguaro-app 4.5.8 → 4.6.0-data-provider.2
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/build/dist/RcsbAnnotationConfig/AnnotationConfigInterface.d.ts +1 -1
- package/build/dist/RcsbAnnotationConfig/RcsbAnnotationConfig.d.ts +2 -2
- package/build/dist/RcsbAnnotationConfig/RcsbDistributionConfig.d.ts +3 -3
- package/build/dist/RcsbChartWeb/AbsractChartComponent.d.ts +21 -0
- package/build/dist/RcsbChartWeb/BarChartComponent.d.ts +5 -0
- package/build/dist/RcsbChartWeb/HistogramChartComponent.d.ts +5 -0
- package/build/dist/RcsbCollectTools/AlignmentCollector/AlignmentCollector.d.ts +0 -2
- package/build/dist/RcsbCollectTools/AlignmentCollector/AlignmentCollectorInterface.d.ts +5 -2
- package/build/dist/RcsbCollectTools/AnnotationCollector/AnnotationCollectorInterface.d.ts +3 -3
- package/build/dist/RcsbCollectTools/DataCollectors/MultipleEntryPropertyCollector.d.ts +2 -2
- package/build/dist/RcsbCollectTools/DataCollectors/MultipleInstanceSequencesCollector.d.ts +11 -0
- package/build/dist/RcsbCollectTools/DataCollectors/PolymerEntityInstancesCollector.d.ts +3 -3
- package/build/dist/RcsbFvExamples/ExternalDataProvider.d.ts +1 -0
- package/build/dist/RcsbFvUI/Components/FilterItemComponent.d.ts +0 -1
- package/build/dist/RcsbFvUI/Components/ItemComponent.d.ts +1 -1
- package/build/dist/RcsbFvWeb/RcsbFvBuilder/RcsbFvChromosomeBuilder.d.ts +1 -1
- package/build/dist/RcsbFvWeb/RcsbFvBuilder/RcsbFvContextManager.d.ts +1 -1
- package/build/dist/RcsbFvWeb/RcsbFvBuilder/RcsbFvDataProviderBuilder.d.ts +4 -0
- package/build/dist/RcsbFvWeb/RcsbFvBuilder.d.ts +2 -1
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/AlignmentBlockFactory.d.ts +2 -2
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/AnnotationsBlockFactory.d.ts +2 -2
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockFactoryInterface.d.ts +1 -1
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/AnnotationBlockManager.d.ts +1 -1
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/AnnotationTrackManager.d.ts +1 -1
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/AlignmentTrackFactory.d.ts +0 -1
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/Helper/TrackUtils.d.ts +1 -1
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/PlainAlignmentTrackFactory.d.ts +0 -1
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/SequenceTrackFactory.d.ts +1 -1
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/AlignmentTrackTitleFactory.d.ts +0 -1
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/ModelAlignmentTrackTitleFactory.d.ts +0 -1
- package/build/dist/RcsbFvWeb/RcsbFvGroup/GroupPfvTabs.d.ts +1 -1
- package/build/dist/RcsbFvWeb/RcsbFvModule/RcsbFvAbstractModule.d.ts +2 -2
- package/build/dist/RcsbFvWeb/RcsbFvModule/RcsbFvDataProvider.d.ts +5 -0
- package/build/dist/RcsbFvWeb/RcsbFvModule/RcsbFvModuleInterface.d.ts +18 -1
- package/build/dist/RcsbGraphQL/RcsbClient.d.ts +3 -1
- package/build/dist/RcsbGraphQL/RcsbQueryMultipleInstanceSequences.d.ts +8 -0
- package/build/dist/RcsbGroupWeb/RcsbGroupBuilder.d.ts +1 -1
- package/build/dist/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/GroupChartEvents.d.ts +1 -0
- package/build/dist/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/GroupChartLayout.d.ts +1 -4
- package/build/dist/RcsbGroupWeb/RcsbGroupView/RcsbGroupDisplay.d.ts +1 -1
- package/build/dist/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/Components/Slider.d.ts +1 -1
- package/build/dist/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/GroupMemberItem.d.ts +2 -2
- package/build/dist/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/RcsbGroupMembersComponent.d.ts +1 -2
- package/build/dist/RcsbGroupWeb/RcsbGroupView/RcsbGroupSeacrhQuery/SeacrhQueryComponent.d.ts +1 -0
- package/build/dist/RcsbGroupWeb/RcsbGroupView/RcsbGroupSeacrhQuery/SearchQueryContextManager.d.ts +8 -0
- package/build/dist/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/RcsbResidueChartComponent.d.ts +1 -1
- package/build/dist/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/ResidueDistributionFactoryImpl/TrackDistributionFactory.d.ts +1 -1
- package/build/dist/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartFactories/ResidueDistributionFactoryInterface.d.ts +1 -1
- package/build/dist/RcsbRequest/RcsbRequestContextManager.d.ts +4 -0
- package/build/dist/RcsbRequest/RcsbRequestTools.d.ts +1 -1
- package/build/dist/RcsbSeacrh/FacetStore/FacetMemberInterface.d.ts +3 -2
- package/build/dist/RcsbSeacrh/FacetTools.d.ts +17 -17
- package/build/dist/RcsbSeacrh/SearchRequestProperty.d.ts +1 -1
- package/build/dist/RcsbUtils/Groups/GroupPropertiesProvider.d.ts +2 -2
- package/build/dist/RcsbUtils/Helpers/Assertions.d.ts +5 -0
- package/build/dist/RcsbUtils/PairwiseAlignmentTools/AlignmentReference.d.ts +17 -0
- package/build/dist/RcsbUtils/PairwiseAlignmentTools/PairwiseAlignmentBuilder.d.ts +8 -10
- package/build/dist/RcsbUtils/Translators/AssemblyInterfacesTranslate.d.ts +2 -1
- package/build/dist/RcsbUtils/Translators/InterfaceInstanceTranslate.d.ts +3 -2
- package/build/dist/RcsbUtils/Translators/MultipleEntityInstanceTranslate.d.ts +1 -1
- package/build/dist/RcsbUtils/Translators/PolymerEntityInstanceTranslate.d.ts +6 -6
- package/build/dist/app.d.ts +1 -1
- package/build/dist/app.js +1 -1
- package/build/dist/app.js.LICENSE.txt +5672 -15
- package/build/dist/constants.js +2 -1
- package/build/dist/constants.js.LICENSE.txt +5666 -0
- package/build/dist/plot.js +1 -1
- package/build/dist/plot.js.LICENSE.txt +5672 -15
- package/build/dist/worker.js +1 -1
- package/package.json +6 -7
- package/build/dist/RcsbChartWeb/RcsbChartComponent/AbstractChartComponent.d.ts +0 -29
- package/build/dist/RcsbChartWeb/RcsbChartComponent/AbstractChartImplementation.d.ts +0 -12
- package/build/dist/RcsbChartWeb/RcsbChartComponent/BarChartComponent.d.ts +0 -11
- package/build/dist/RcsbChartWeb/RcsbChartComponent/ChartConfigInterface.d.ts +0 -46
- package/build/dist/RcsbChartWeb/RcsbChartComponent/HistogramChartComponent.d.ts +0 -7
- package/build/dist/RcsbChartWeb/RcsbChartComponent/VictoryChartImplementations/Components/AxisFactory.d.ts +0 -7
- package/build/dist/RcsbChartWeb/RcsbChartComponent/VictoryChartImplementations/Components/BarComponent.d.ts +0 -24
- package/build/dist/RcsbChartWeb/RcsbChartComponent/VictoryChartImplementations/Components/LabelComponent.d.ts +0 -26
- package/build/dist/RcsbChartWeb/RcsbChartComponent/VictoryChartImplementations/Components/TooltipFactory.d.ts +0 -11
- package/build/dist/RcsbChartWeb/RcsbChartComponent/VictoryChartImplementations/VictoryBarChartComponent.d.ts +0 -5
- package/build/dist/RcsbChartWeb/RcsbChartComponent/VictoryChartImplementations/VictoryHistogramChartComponent.d.ts +0 -5
- package/build/dist/RcsbChartWeb/RcsbChartDataProvider/BarChartDataProvider.d.ts +0 -14
- package/build/dist/RcsbChartWeb/RcsbChartDataProvider/ChartDataProviderInterface.d.ts +0 -21
- package/build/dist/RcsbChartWeb/RcsbChartDataProvider/HistogramChartDataProvider.d.ts +0 -13
- package/build/dist/RcsbChartWeb/RcsbChartTools/ChartTools.d.ts +0 -23
|
@@ -20,7 +20,7 @@ export interface AnnotationConfigInterface {
|
|
|
20
20
|
export interface RcsbAnnotationConfigInterface {
|
|
21
21
|
type: string;
|
|
22
22
|
display: RcsbFvDisplayTypes;
|
|
23
|
-
color
|
|
23
|
+
color?: string | RcsbFvColorGradient;
|
|
24
24
|
title: string;
|
|
25
25
|
prefix?: string;
|
|
26
26
|
provenanceList: Set<string>;
|
|
@@ -14,14 +14,14 @@ export declare class RcsbAnnotationConfig {
|
|
|
14
14
|
private readonly annotationTypes;
|
|
15
15
|
private readonly mergedTypes;
|
|
16
16
|
constructor(acm?: AnnotationConfigInterface);
|
|
17
|
-
getConfig(type: string): RcsbAnnotationConfigInterface;
|
|
17
|
+
getConfig(type: string): RcsbAnnotationConfigInterface | undefined;
|
|
18
18
|
allTypes(): Set<string>;
|
|
19
19
|
uniprotOrder(): Array<string>;
|
|
20
20
|
instanceOrder(): Array<string>;
|
|
21
21
|
entityOrder(): Array<string>;
|
|
22
22
|
getAnnotationType(requestConfig: AnnotationRequestContext, ann: AnnotationFeatures, feature: Feature): Promise<string>;
|
|
23
23
|
isMergedType(type: string): boolean;
|
|
24
|
-
getMergeConfig(type: string): RcsbMergedTypesInterface;
|
|
24
|
+
getMergeConfig(type: string): RcsbMergedTypesInterface | undefined;
|
|
25
25
|
private addNewType;
|
|
26
26
|
private checkAndIncludeNewType;
|
|
27
27
|
static randomRgba(str?: string): string;
|
|
@@ -5,8 +5,8 @@ export declare class RcsbDistributionConfig {
|
|
|
5
5
|
private trackConfig;
|
|
6
6
|
private blockConfig;
|
|
7
7
|
constructor(dcm?: RcsbDistributionConfigInterface);
|
|
8
|
-
getBlockType(trackType: string): string;
|
|
9
|
-
getBlockConfig(type: string): RcsbTrackBlockConfigInterface;
|
|
10
|
-
getTrackConfig(type: string): RcsbTrackConfigInterface;
|
|
8
|
+
getBlockType(trackType: string): string | undefined;
|
|
9
|
+
getBlockConfig(type: string): RcsbTrackBlockConfigInterface | undefined;
|
|
10
|
+
getTrackConfig(type: string): RcsbTrackConfigInterface | undefined;
|
|
11
11
|
private processConfig;
|
|
12
12
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ChartObjectInterface } from "@rcsb/rcsb-charts/build/dist/RcsbChartComponent/ChartConfigInterface";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { ChartInterface, ChartState } from "@rcsb/rcsb-charts/build/dist/RcsbChartComponent/ChartComponent";
|
|
4
|
+
interface AbstractChartInterface extends Omit<ChartInterface, "chartComponentImplementation" | "dataProvider"> {
|
|
5
|
+
attributeName: string;
|
|
6
|
+
}
|
|
7
|
+
interface AbstractChartState extends Partial<ChartState> {
|
|
8
|
+
data: ChartObjectInterface[][];
|
|
9
|
+
}
|
|
10
|
+
export declare abstract class AbstractChartComponent extends React.Component<AbstractChartInterface, AbstractChartState> {
|
|
11
|
+
private asyncSubscription;
|
|
12
|
+
private subscription;
|
|
13
|
+
readonly state: AbstractChartState;
|
|
14
|
+
componentDidMount(): void;
|
|
15
|
+
componentWillUnmount(): void;
|
|
16
|
+
private unsubscribe;
|
|
17
|
+
private subscribe;
|
|
18
|
+
private updateChartMap;
|
|
19
|
+
private asyncUpdate;
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -2,9 +2,7 @@ import { AlignmentCollectConfig, AlignmentCollectorInterface } from "./Alignment
|
|
|
2
2
|
import { RcsbClient } from "../../RcsbGraphQL/RcsbClient";
|
|
3
3
|
import { AlignmentResponse } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
4
4
|
export declare class AlignmentCollector implements AlignmentCollectorInterface {
|
|
5
|
-
private sequenceLength;
|
|
6
5
|
private requestStatus;
|
|
7
|
-
private dynamicDisplay;
|
|
8
6
|
readonly rcsbFvQuery: RcsbClient;
|
|
9
7
|
private readonly targetsSubject;
|
|
10
8
|
private alignmentResponse;
|
|
@@ -9,7 +9,10 @@ interface CommonAlignmentInterface {
|
|
|
9
9
|
fitTitleWidth?: boolean;
|
|
10
10
|
excludeFirstRowLink?: boolean;
|
|
11
11
|
}
|
|
12
|
-
|
|
12
|
+
declare type QueryAlignmentArgsTypes = {
|
|
13
|
+
[K in keyof QueryAlignmentArgs]: NonNullable<QueryAlignmentArgs[K]>;
|
|
14
|
+
};
|
|
15
|
+
export interface CollectAlignmentInterface extends QueryAlignmentArgsTypes, CommonAlignmentInterface {
|
|
13
16
|
}
|
|
14
17
|
export interface CollectGroupAlignmentInterface extends RcsbQueryGroupAlignmentArguments, CommonAlignmentInterface {
|
|
15
18
|
sequencePrefix: string;
|
|
@@ -21,6 +24,6 @@ export interface AlignmentCollectorInterface {
|
|
|
21
24
|
getTargets(): Promise<Array<string>>;
|
|
22
25
|
getAlignment(): Promise<AlignmentResponse>;
|
|
23
26
|
getAlignmentLength(): Promise<number>;
|
|
24
|
-
collect(requestConfig:
|
|
27
|
+
collect(requestConfig: AlignmentCollectConfig, filter?: Array<string>): Promise<AlignmentResponse>;
|
|
25
28
|
}
|
|
26
29
|
export {};
|
|
@@ -25,13 +25,13 @@ export interface CommonAnnotationInterface {
|
|
|
25
25
|
trackTitle?(ann: AnnotationFeatures, d: Feature): Promise<string | undefined>;
|
|
26
26
|
typeSuffix?(ann: AnnotationFeatures, d: Feature): Promise<string | undefined>;
|
|
27
27
|
}
|
|
28
|
-
export interface
|
|
28
|
+
export interface AnnotationsCollectConfig extends QueryAnnotationsArgs, CommonAnnotationInterface {
|
|
29
29
|
}
|
|
30
30
|
export interface CollectGroupAnnotationsInterface extends QueryGroup_AnnotationsArgs, CommonAnnotationInterface {
|
|
31
31
|
}
|
|
32
|
-
export declare type AnnotationRequestContext = Partial<
|
|
32
|
+
export declare type AnnotationRequestContext = Partial<AnnotationsCollectConfig & CollectGroupAnnotationsInterface>;
|
|
33
33
|
export interface AnnotationCollectorInterface {
|
|
34
|
-
collect(requestConfig:
|
|
34
|
+
collect(requestConfig: AnnotationsCollectConfig | CollectGroupAnnotationsInterface): Promise<Array<AnnotationFeatures>>;
|
|
35
35
|
getAnnotationFeatures(): Promise<Array<AnnotationFeatures>>;
|
|
36
36
|
getFeatures(): Promise<Array<Feature>>;
|
|
37
37
|
}
|
|
@@ -3,10 +3,10 @@ export interface EntryPropertyIntreface {
|
|
|
3
3
|
rcsbId: string;
|
|
4
4
|
entryId: string;
|
|
5
5
|
experimentalMethod: string;
|
|
6
|
-
resolution
|
|
6
|
+
resolution?: number;
|
|
7
7
|
name: string;
|
|
8
8
|
taxNames: Array<string>;
|
|
9
|
-
entryMolecularWeight
|
|
9
|
+
entryMolecularWeight?: number;
|
|
10
10
|
description: Array<string>;
|
|
11
11
|
entityToInstance: Map<string, Array<string>>;
|
|
12
12
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { MultipleDocumentPropertyCollectorInterface } from "./DataCollectorInterface";
|
|
2
|
+
export interface InstanceSequenceInterface {
|
|
3
|
+
rcsbId: string;
|
|
4
|
+
sequence: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class MultipleInstanceSequencesCollector implements MultipleDocumentPropertyCollectorInterface<"instance_ids", InstanceSequenceInterface> {
|
|
7
|
+
private readonly rcsbFvQuery;
|
|
8
|
+
collect(requestConfig: {
|
|
9
|
+
instance_ids: string[];
|
|
10
|
+
}): Promise<InstanceSequenceInterface[]>;
|
|
11
|
+
}
|
|
@@ -9,10 +9,10 @@ export interface PolymerEntityInstanceInterface {
|
|
|
9
9
|
name: string;
|
|
10
10
|
taxNames: Array<string>;
|
|
11
11
|
experimentalMethod: string;
|
|
12
|
-
resolution
|
|
12
|
+
resolution?: number;
|
|
13
13
|
sequenceLength: number;
|
|
14
|
-
entityMolecularWeight
|
|
15
|
-
entryMolecularWeight
|
|
14
|
+
entityMolecularWeight?: number;
|
|
15
|
+
entryMolecularWeight?: number;
|
|
16
16
|
}
|
|
17
17
|
export declare class PolymerEntityInstancesCollector {
|
|
18
18
|
private readonly rcsbFvQuery;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -11,7 +11,6 @@ interface FilterItemState extends FilterPartialState {
|
|
|
11
11
|
collapseIn: boolean;
|
|
12
12
|
}
|
|
13
13
|
export declare class FilterItemComponent extends AbstractMenuItemComponent<FilterItemProps, FilterPartialState, FilterItemState> {
|
|
14
|
-
private readonly allowedValues;
|
|
15
14
|
readonly state: FilterItemState;
|
|
16
15
|
render(): JSX.Element;
|
|
17
16
|
}
|
|
@@ -3,5 +3,5 @@ export declare class RcsbFvChromosomeBuilder {
|
|
|
3
3
|
static buildFullChromosome(elementFvId: string, chrId: string): Promise<RcsbFvModulePublicInterface>;
|
|
4
4
|
static buildEntryChromosome(elementFvId: string, entitySelectId: string, chromosomeSelectId: string, entryId: string): Promise<RcsbFvModulePublicInterface>;
|
|
5
5
|
static buildEntityChromosome(elementFvId: string, elementSelectId: string, entityId: string): Promise<RcsbFvModulePublicInterface>;
|
|
6
|
-
static buildChromosome(elementFvId: string, entityId: string, chrId: string, elementSelectId?: string, additionalConfig?: RcsbFvAdditionalConfig): Promise<RcsbFvModulePublicInterface>;
|
|
6
|
+
static buildChromosome(elementFvId: string, entityId: string | undefined, chrId: string | undefined, elementSelectId?: string, additionalConfig?: RcsbFvAdditionalConfig): Promise<RcsbFvModulePublicInterface>;
|
|
7
7
|
}
|
|
@@ -5,7 +5,7 @@ declare class RcsbFvContextManager {
|
|
|
5
5
|
getFv(elementFvId: string, boardConfig?: Partial<RcsbFvBoardConfigInterface>): RcsbFv;
|
|
6
6
|
hasFv(elementFvId: string): boolean;
|
|
7
7
|
private setFv;
|
|
8
|
-
getButtonList(elementFvId: string): Set<string
|
|
8
|
+
getButtonList(elementFvId: string): Set<string> | undefined;
|
|
9
9
|
setButton(elementFvId: string, buttonId: string): void;
|
|
10
10
|
removeFv(elementFvId: string): void;
|
|
11
11
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { RcsbFvAdditionalConfig, RcsbFvModulePublicInterface } from "../RcsbFvModule/RcsbFvModuleInterface";
|
|
2
|
+
export declare class RcsbFvDataProviderBuilder {
|
|
3
|
+
static buildFv(elementId: string, additionalConfig?: RcsbFvAdditionalConfig): Promise<RcsbFvModulePublicInterface>;
|
|
4
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RcsbFvAdditionalConfig, RcsbFvModulePublicInterface } from "./RcsbFvModule/RcsbFvModuleInterface";
|
|
1
|
+
import { RcsbFvAdditionalConfig, RcsbFvModulePublicInterface, RcsbModuleDataProviderInterface } from "./RcsbFvModule/RcsbFvModuleInterface";
|
|
2
2
|
import { UniprotSequenceConfig } from "./RcsbFvBuilder/RcsbFvUniprotBuilder";
|
|
3
3
|
import { InstanceSequenceConfig, InstanceSequenceOnchangeInterface } from "./RcsbFvBuilder/RcsbFvInstanceBuilder";
|
|
4
4
|
import { PfvBuilderInterface } from "./RcsbFvBuilder/RcsbFvProteinSequenceBuilder";
|
|
@@ -27,3 +27,4 @@ export declare function buildChromosome(elementFvId: string, entityId: string, c
|
|
|
27
27
|
export declare function buildGroupFv(elementId: string, groupProvenanceId: GroupProvenanceId, groupId: string, query?: SearchQuery, additionalConfig?: RcsbFvAdditionalConfig): void;
|
|
28
28
|
export declare function buildSequenceIdentityAlignmentFv(elementId: string, groupId: string, query?: SearchQuery, additionalConfig?: RcsbFvAdditionalConfig & ActionMethods.FvChangeConfigInterface): Promise<RcsbFvModulePublicInterface>;
|
|
29
29
|
export declare function buildUniprotAlignmentFv(elementId: string, upAcc: string, query?: SearchQuery, additionalConfig?: RcsbFvAdditionalConfig & ActionMethods.FvChangeConfigInterface): Promise<RcsbFvModulePublicInterface>;
|
|
30
|
+
export declare function buildDataProviderFv(elementId: string, dataProvider: RcsbModuleDataProviderInterface, additionalConfig?: RcsbFvAdditionalConfig): Promise<RcsbFvModulePublicInterface>;
|
|
@@ -5,7 +5,7 @@ import { RcsbFvRowConfigInterface } from "@rcsb/rcsb-saguaro";
|
|
|
5
5
|
import { TrackFactoryInterface } from "../RcsbFvTrackFactory/TrackFactoryInterface";
|
|
6
6
|
export declare class AlignmentBlockFactory implements BlockFactoryInterface<[AlignmentRequestContextType, AlignmentResponse], [AlignmentRequestContextType, TargetAlignment]> {
|
|
7
7
|
readonly trackFactory: TrackFactoryInterface<[AlignmentRequestContextType, TargetAlignment]>;
|
|
8
|
-
readonly trackConfigModifier
|
|
9
|
-
constructor(alignmentTrackFactory: TrackFactoryInterface<[AlignmentRequestContextType, TargetAlignment]>, trackModifier
|
|
8
|
+
readonly trackConfigModifier?: (alignmentContext: AlignmentRequestContextType, targetAlignment: TargetAlignment) => Promise<Partial<RcsbFvRowConfigInterface>>;
|
|
9
|
+
constructor(alignmentTrackFactory: TrackFactoryInterface<[AlignmentRequestContextType, TargetAlignment]>, trackModifier?: (alignmentContext: AlignmentRequestContextType, targetAlignment: TargetAlignment) => Promise<Partial<RcsbFvRowConfigInterface>>);
|
|
10
10
|
getBlock(alignmentRequestContext: AlignmentRequestContextType, alignmentData: AlignmentResponse): Promise<RcsbFvRowConfigInterface[]>;
|
|
11
11
|
}
|
package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/AnnotationsBlockFactory.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare class AnnotationsBlockFactory implements BlockFactoryInterface<[A
|
|
|
9
9
|
private readonly annotationBlockManager;
|
|
10
10
|
private readonly annotationsBlockData;
|
|
11
11
|
readonly trackFactory: TrackFactoryInterface<[TrackManagerInterface]>;
|
|
12
|
-
readonly trackConfigModifier
|
|
13
|
-
constructor(annotationBlockManager: BlockManagerInterface<[AnnotationRequestContext, AnnotationFeatures[]]>, annotationTrackFactory: TrackFactoryInterface<[TrackManagerInterface]>, trackModifier
|
|
12
|
+
readonly trackConfigModifier?: (trackManager: TrackManagerInterface) => Promise<Partial<RcsbFvRowConfigInterface>>;
|
|
13
|
+
constructor(annotationBlockManager: BlockManagerInterface<[AnnotationRequestContext, AnnotationFeatures[]]>, annotationTrackFactory: TrackFactoryInterface<[TrackManagerInterface]>, trackModifier?: (trackManager: TrackManagerInterface) => Promise<Partial<RcsbFvRowConfigInterface>>);
|
|
14
14
|
getBlock(annotationsRequestContext: AnnotationRequestContext, annotations: AnnotationFeatures[]): Promise<RcsbFvRowConfigInterface[]>;
|
|
15
15
|
}
|
|
@@ -2,6 +2,6 @@ import { RcsbFvRowConfigInterface } from "@rcsb/rcsb-saguaro";
|
|
|
2
2
|
import { TrackFactoryInterface } from "../RcsbFvTrackFactory/TrackFactoryInterface";
|
|
3
3
|
export interface BlockFactoryInterface<T extends any[], S extends any[]> {
|
|
4
4
|
readonly trackFactory: TrackFactoryInterface<S>;
|
|
5
|
-
readonly trackConfigModifier
|
|
5
|
+
readonly trackConfigModifier?: (...args: S) => Promise<Partial<RcsbFvRowConfigInterface>>;
|
|
6
6
|
getBlock(...args: T): Promise<RcsbFvRowConfigInterface[]>;
|
|
7
7
|
}
|
|
@@ -8,7 +8,7 @@ import { RcsbAnnotationConfigInterface } from "../../../../RcsbAnnotationConfig/
|
|
|
8
8
|
export declare class AnnotationBlockManager implements BlockManagerInterface<[AnnotationRequestContext, AnnotationFeatures[]]> {
|
|
9
9
|
private readonly rcsbAnnotationConfig;
|
|
10
10
|
private readonly annotationTracks;
|
|
11
|
-
private readonly polymerEntityInstanceTranslator
|
|
11
|
+
private readonly polymerEntityInstanceTranslator?;
|
|
12
12
|
private readonly trackManagerFactory;
|
|
13
13
|
constructor(trackManagerFactory: TrackManagerFactoryInterface<[string, RcsbAnnotationConfigInterface, PolymerEntityInstanceTranslate]>, rcsbAnnotationConfig: RcsbAnnotationConfig, polymerEntityInstanceTranslator?: PolymerEntityInstanceTranslate);
|
|
14
14
|
setData(requestConfig: AnnotationRequestContext, data: Array<AnnotationFeatures>): Promise<void>;
|
|
@@ -7,5 +7,5 @@ export interface FeaturePositionGaps extends FeaturePosition {
|
|
|
7
7
|
gaps?: Array<RcsbFvTrackDataElementGapInterface>;
|
|
8
8
|
}
|
|
9
9
|
export declare class AnnotationTrackManagerFactory implements TrackManagerFactoryInterface<[string, RcsbAnnotationConfigInterface, PolymerEntityInstanceTranslate]> {
|
|
10
|
-
getTrackManager(trackId: string, annotationConfig: RcsbAnnotationConfigInterface, entityInstanceTranslator
|
|
10
|
+
getTrackManager(trackId: string, annotationConfig: RcsbAnnotationConfigInterface, entityInstanceTranslator?: PolymerEntityInstanceTranslate): TrackManagerInterface;
|
|
11
11
|
}
|
|
@@ -9,7 +9,6 @@ export declare type AlignmentRequestContextType = AlignmentCollectConfig & {
|
|
|
9
9
|
};
|
|
10
10
|
export declare class AlignmentTrackFactory implements TrackFactoryInterface<[AlignmentRequestContextType, TargetAlignment]> {
|
|
11
11
|
private readonly sequenceTrackFactory;
|
|
12
|
-
private readonly entityInstanceTranslator;
|
|
13
12
|
private readonly trackTitleFactory;
|
|
14
13
|
constructor(entityInstanceTranslator?: PolymerEntityInstanceTranslate, trackTitleFactory?: TrackTitleFactoryInterface<[AlignmentRequestContextType, TargetAlignment]>);
|
|
15
14
|
getTrack(alignmentRequestContext: AlignmentRequestContextType, targetAlignment: TargetAlignment, alignedRegionToTrackElementList?: (region: AlignedRegion, alignmentContext: AlignmentContextInterface) => Array<RcsbFvTrackDataElementInterface>): Promise<RcsbFvRowConfigInterface>;
|
|
@@ -5,5 +5,5 @@ export declare namespace TrackUtils {
|
|
|
5
5
|
color: string;
|
|
6
6
|
};
|
|
7
7
|
function transformSourceFromTarget(targetId: string, source: SequenceReference | Source): string;
|
|
8
|
-
function getProvenanceColorFromProvenance(provenance
|
|
8
|
+
function getProvenanceColorFromProvenance(provenance?: string): string;
|
|
9
9
|
}
|
|
@@ -8,7 +8,6 @@ export declare type AlignmentRequestContextType = AlignmentCollectConfig & {
|
|
|
8
8
|
};
|
|
9
9
|
export declare class PlainAlignmentTrackFactory implements TrackFactoryInterface<[AlignmentRequestContextType, TargetAlignment]> {
|
|
10
10
|
private readonly sequenceTrackFactory;
|
|
11
|
-
private readonly entityInstanceTranslator;
|
|
12
11
|
private readonly trackTitleFactory;
|
|
13
12
|
constructor(entityInstanceTranslator?: PolymerEntityInstanceTranslate);
|
|
14
13
|
getTrack(alignmentRequestContext: AlignmentRequestContextType, targetAlignment: TargetAlignment, alignedRegionToTrackElementList?: (region: AlignedRegion, alignmentContext: AlignmentContextInterface) => Array<RcsbFvTrackDataElementInterface>, alignmentColor?: RcsbFvColorGradient): Promise<RcsbFvRowConfigInterface>;
|
|
@@ -6,7 +6,7 @@ import { TrackTitleFactoryInterface } from "../TrackTitleFactoryInterface";
|
|
|
6
6
|
interface BuildSequenceDataInterface extends AlignmentContextInterface {
|
|
7
7
|
sequence: string;
|
|
8
8
|
begin: number;
|
|
9
|
-
oriBegin
|
|
9
|
+
oriBegin?: number;
|
|
10
10
|
}
|
|
11
11
|
export declare class SequenceTrackFactory implements TrackFactoryInterface<[AlignmentRequestContextType, string]> {
|
|
12
12
|
private readonly entityInstanceTranslator;
|
|
@@ -4,7 +4,6 @@ import { AlignmentRequestContextType } from "../TrackFactoryImpl/AlignmentTrackF
|
|
|
4
4
|
import { RcsbFvLink } from "@rcsb/rcsb-saguaro";
|
|
5
5
|
import { PolymerEntityInstanceTranslate } from "../../../../RcsbUtils/Translators/PolymerEntityInstanceTranslate";
|
|
6
6
|
export declare class AlignmentTrackTitleFactory implements TrackTitleFactoryInterface<[AlignmentRequestContextType, TargetAlignment]> {
|
|
7
|
-
private readonly entityInstanceTranslator;
|
|
8
7
|
private readonly experimentalTrackTitleFactory;
|
|
9
8
|
private readonly modelTrackTitleFactory;
|
|
10
9
|
constructor(entityInstanceTranslator?: PolymerEntityInstanceTranslate);
|
|
@@ -4,7 +4,6 @@ import { TargetAlignment } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Bo
|
|
|
4
4
|
import { RcsbFvLink } from "@rcsb/rcsb-saguaro";
|
|
5
5
|
import { PolymerEntityInstanceTranslate } from "../../../../RcsbUtils/Translators/PolymerEntityInstanceTranslate";
|
|
6
6
|
export declare class ModelAlignmentTrackTitleFactory implements TrackTitleFactoryInterface<[AlignmentRequestContextType, TargetAlignment]> {
|
|
7
|
-
private readonly entityInstanceTranslator;
|
|
8
7
|
private readonly alignmentTrackTitleFactory;
|
|
9
8
|
constructor(entityInstanceTranslator?: PolymerEntityInstanceTranslate);
|
|
10
9
|
getTrackTitle(alignmentQueryContext: AlignmentRequestContextType, targetAlignment: TargetAlignment): Promise<string | RcsbFvLink>;
|
|
@@ -6,7 +6,7 @@ interface SequenceTabInterface {
|
|
|
6
6
|
groupId: string;
|
|
7
7
|
searchQuery?: SearchQuery;
|
|
8
8
|
}
|
|
9
|
-
export declare class GroupPfvTabs extends React.Component<SequenceTabInterface
|
|
9
|
+
export declare class GroupPfvTabs extends React.Component<SequenceTabInterface> {
|
|
10
10
|
private readonly featureViewers;
|
|
11
11
|
private filterInstances;
|
|
12
12
|
private filterEntities;
|
|
@@ -13,8 +13,8 @@ export declare abstract class RcsbFvAbstractModule implements RcsbFvModuleInterf
|
|
|
13
13
|
protected boardConfigData: RcsbFvBoardConfigInterface;
|
|
14
14
|
protected rowConfigData: Array<RcsbFvRowConfigInterface>;
|
|
15
15
|
protected polymerEntityInstance: PolymerEntityInstanceTranslate;
|
|
16
|
-
protected
|
|
17
|
-
protected
|
|
16
|
+
protected alignmentCollector: AlignmentCollectorInterface;
|
|
17
|
+
protected annotationCollector: AnnotationCollectorInterface;
|
|
18
18
|
protected referenceTrack: RcsbFvRowConfigInterface;
|
|
19
19
|
protected alignmentTracks: Array<RcsbFvRowConfigInterface>;
|
|
20
20
|
protected annotationTracks: Array<RcsbFvRowConfigInterface>;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { AlignmentResponse, Feature, FilterInput, GroupReference, SequenceReference, Source, TargetAlignment } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
2
2
|
import { PolymerEntityInstanceTranslate } from "../../RcsbUtils/Translators/PolymerEntityInstanceTranslate";
|
|
3
3
|
import { RcsbFv, RcsbFvBoardConfigInterface, RcsbFvRowConfigInterface } from "@rcsb/rcsb-saguaro";
|
|
4
|
-
import { AnnotationProcessingInterface } from "../../RcsbCollectTools/AnnotationCollector/AnnotationCollectorInterface";
|
|
4
|
+
import { AnnotationCollectorInterface, AnnotationProcessingInterface, AnnotationsCollectConfig } from "../../RcsbCollectTools/AnnotationCollector/AnnotationCollectorInterface";
|
|
5
5
|
import { ExternalTrackBuilderInterface } from "../../RcsbCollectTools/FeatureTools/ExternalTrackBuilderInterface";
|
|
6
6
|
import { PairwiseAlignmentInterface } from "../../RcsbUtils/PairwiseAlignmentTools/PairwiseAlignmentBuilder";
|
|
7
7
|
import { AlignmentRequestContextType } from "../RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/AlignmentTrackFactory";
|
|
8
8
|
import { TrackManagerInterface } from "../RcsbFvFactories/RcsbFvBlockFactory/BlockManager/TrackManagerInterface";
|
|
9
9
|
import { UiComponentType } from "../../RcsbFvUI/GroupPfvUI";
|
|
10
|
+
import { TrackFactoryInterface } from "../RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryInterface";
|
|
11
|
+
import { AlignmentCollectConfig, AlignmentCollectorInterface } from "../../RcsbCollectTools/AlignmentCollector/AlignmentCollectorInterface";
|
|
10
12
|
export declare type RcsbContextType = Partial<{
|
|
11
13
|
entryId: string;
|
|
12
14
|
entityId: string;
|
|
@@ -38,6 +40,21 @@ export interface RcsbFvAdditionalConfig {
|
|
|
38
40
|
annotations?: (trackManager: TrackManagerInterface) => Promise<Partial<RcsbFvRowConfigInterface>>;
|
|
39
41
|
};
|
|
40
42
|
externalUiComponents?: UiComponentType<any>[];
|
|
43
|
+
dataProvider?: RcsbModuleDataProviderInterface;
|
|
44
|
+
}
|
|
45
|
+
export interface RcsbModuleDataProviderInterface {
|
|
46
|
+
alignments?: {
|
|
47
|
+
collector: AlignmentCollectorInterface;
|
|
48
|
+
context: AlignmentCollectConfig;
|
|
49
|
+
trackFactories?: {
|
|
50
|
+
alignmentTrackFactory?: TrackFactoryInterface<[AlignmentRequestContextType, TargetAlignment]>;
|
|
51
|
+
sequenceTrackFactory?: TrackFactoryInterface<[AlignmentRequestContextType, string]>;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
annotations?: {
|
|
55
|
+
collector: AnnotationCollectorInterface;
|
|
56
|
+
context: AnnotationsCollectConfig;
|
|
57
|
+
};
|
|
41
58
|
}
|
|
42
59
|
export interface RcsbFvModuleBuildInterface {
|
|
43
60
|
group?: GroupReference;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RcsbQueryGroupAlignmentArguments } from "./RcsbQueryAlignment";
|
|
2
2
|
import { AlignmentResponse, AnnotationFeatures, QueryAlignmentArgs, QueryAnnotationsArgs, QueryGroup_AnnotationsArgs } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
3
|
-
import { CoreAssembly, CoreEntry, CoreInterface, CorePolymerEntity, QueryAssembliesArgs, GroupPolymerEntity, QueryEntriesArgs, QueryEntryArgs, QueryInterfacesArgs, QueryPolymer_EntitiesArgs, QueryPolymer_Entity_GroupArgs } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Yosemite/GqlTypes";
|
|
3
|
+
import { CoreAssembly, CoreEntry, CoreInterface, CorePolymerEntity, QueryAssembliesArgs, GroupPolymerEntity, QueryEntriesArgs, QueryEntryArgs, QueryInterfacesArgs, QueryPolymer_EntitiesArgs, QueryPolymer_Entity_GroupArgs, QueryPolymer_Entity_InstancesArgs, CorePolymerEntityInstance } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Yosemite/GqlTypes";
|
|
4
4
|
import { GraphQLRequest } from "@rcsb/rcsb-api-tools";
|
|
5
5
|
declare class RcsbClientClass {
|
|
6
6
|
private readonly rcsbQueryAnnotations;
|
|
@@ -13,6 +13,7 @@ declare class RcsbClientClass {
|
|
|
13
13
|
private readonly rcsbQueryInterfaceInstances;
|
|
14
14
|
private readonly rcsbQueryAssemblyInterfaces;
|
|
15
15
|
private readonly rcsbQueryGroup;
|
|
16
|
+
private readonly rcsbQueryMultipleInstanceSequences;
|
|
16
17
|
constructor(get: {
|
|
17
18
|
borrego: () => GraphQLRequest;
|
|
18
19
|
yosemite: () => GraphQLRequest;
|
|
@@ -27,6 +28,7 @@ declare class RcsbClientClass {
|
|
|
27
28
|
requestMultipleEntriesProperties(requestConfig: QueryEntriesArgs): Promise<Array<CoreEntry>>;
|
|
28
29
|
requestInterfaceInstances(requestConfig: QueryInterfacesArgs): Promise<Array<CoreInterface>>;
|
|
29
30
|
requestAssemblyInterfaces(requestConfig: QueryAssembliesArgs): Promise<Array<CoreAssembly>>;
|
|
31
|
+
requestMultipleInstanceSequences(requestConfig: QueryPolymer_Entity_InstancesArgs): Promise<CorePolymerEntityInstance[]>;
|
|
30
32
|
}
|
|
31
33
|
export declare const rcsbClient: RcsbClientClass;
|
|
32
34
|
export declare type RcsbClient = typeof rcsbClient;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RcsbCoreQueryInterface } from "./RcsbCoreQueryInterface";
|
|
2
|
+
import { CorePolymerEntityInstance, QueryPolymer_Entity_InstancesArgs } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Yosemite/GqlTypes";
|
|
3
|
+
import { GraphQLRequest } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/GraphQLRequest";
|
|
4
|
+
export declare class RcsbQueryMultipleInstanceSequences implements RcsbCoreQueryInterface<QueryPolymer_Entity_InstancesArgs, CorePolymerEntityInstance[]> {
|
|
5
|
+
readonly getClient: () => GraphQLRequest;
|
|
6
|
+
constructor(getClient: () => GraphQLRequest);
|
|
7
|
+
request(requestConfig: QueryPolymer_Entity_InstancesArgs): Promise<CorePolymerEntityInstance[]>;
|
|
8
|
+
}
|
|
@@ -6,7 +6,7 @@ import { SearchQueryContextManagerSubjectInterface } from "./RcsbGroupView/RcsbG
|
|
|
6
6
|
import { Subscription } from "rxjs";
|
|
7
7
|
import { RcsbGroupContentTextInterface } from "./RcsbGroupView/RcsbGroupContent/RcsbGroupContentComponent";
|
|
8
8
|
import { ResidueChartInterface } from "./RcsbGroupView/RcsbResidueChart/ResidueChartTools/ResidueChartTools";
|
|
9
|
-
import { ChartDisplayConfigInterface } from "
|
|
9
|
+
import { ChartDisplayConfigInterface } from "@rcsb/rcsb-charts/build/dist/RcsbChartComponent/ChartConfigInterface";
|
|
10
10
|
export declare function buildSearchRequest(elementId: string, searchQuery: SearchQuery, returnType: ReturnType): Promise<void>;
|
|
11
11
|
export declare function buildGroup(elementId: string, groupProvenance: GroupProvenanceId, groupId: string, query?: SearchQuery, facetLayoutGrid?: string[], additionalProperties?: GroupChartAdditionalProperties): Promise<void>;
|
|
12
12
|
export declare function buildGroupMembers(elementId: string, groupProvenance: GroupProvenanceId, groupId: string, nRows: number, nColumns: number, query?: SearchQuery): void;
|
|
@@ -4,4 +4,5 @@ import { SearchQuery } from "@rcsb/rcsb-api-tools/build/RcsbSearch/Types/SearchQ
|
|
|
4
4
|
import { ReturnType } from "@rcsb/rcsb-api-tools/build/RcsbSearch/Types/SearchEnums";
|
|
5
5
|
export declare namespace GroupChartEvents {
|
|
6
6
|
function addBarClickCallback(chart: RcsbChartInterface, groupProvenanceId: GroupProvenanceId, groupId: string, searchQuery: SearchQuery, returnType: ReturnType): void;
|
|
7
|
+
function addTooltipText(chart: RcsbChartInterface): void;
|
|
7
8
|
}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { RcsbChartInterface } from "../../../RcsbSeacrh/FacetTools";
|
|
3
|
-
export declare type ChartMapType = Map<string,
|
|
4
|
-
chart: RcsbChartInterface;
|
|
5
|
-
subChart?: RcsbChartInterface;
|
|
6
|
-
}>;
|
|
3
|
+
export declare type ChartMapType = Map<string, RcsbChartInterface[]>;
|
|
7
4
|
export interface RcsbChartLayoutInterface {
|
|
8
5
|
layout: string[];
|
|
9
6
|
chartMap: ChartMapType;
|
|
@@ -5,7 +5,7 @@ import { GroupProvenanceId } from "@rcsb/rcsb-api-tools/build/RcsbDw/Types/DwEnu
|
|
|
5
5
|
import { GroupChartAdditionalProperties } from "./RcsbGroupChart/GroupChartAdditionalProperties";
|
|
6
6
|
import { RcsbGroupContentTextInterface } from "./RcsbGroupContent/RcsbGroupContentComponent";
|
|
7
7
|
import { ResidueChartInterface } from "./RcsbResidueChart/ResidueChartTools/ResidueChartTools";
|
|
8
|
-
import { ChartDisplayConfigInterface } from "
|
|
8
|
+
import { ChartDisplayConfigInterface } from "@rcsb/rcsb-charts/build/dist/RcsbChartComponent/ChartConfigInterface";
|
|
9
9
|
export declare class RcsbGroupDisplay {
|
|
10
10
|
static displayRcsbSearchStats(elementId: string, facetStore: FacetStoreInterface, searchQuery: SearchQuery, returnType: ReturnType): Promise<void>;
|
|
11
11
|
static displaySearchAttributes(elementId: string, groupProvenanceId: GroupProvenanceId, groupId: string, searchQuery?: SearchQuery, facetLayoutGrid?: string[], additionalProperties?: GroupChartAdditionalProperties): Promise<void>;
|
|
@@ -8,7 +8,7 @@ export interface SliderInterface {
|
|
|
8
8
|
children: ReactNode;
|
|
9
9
|
displayNumber?(x: number): string;
|
|
10
10
|
}
|
|
11
|
-
export declare class Slider extends React.Component<SliderInterface
|
|
11
|
+
export declare class Slider extends React.Component<SliderInterface> {
|
|
12
12
|
render(): JSX.Element;
|
|
13
13
|
private slide;
|
|
14
14
|
private displayNumber;
|
|
@@ -14,9 +14,9 @@ export interface ItemFeaturesInterface {
|
|
|
14
14
|
taxNames: Array<string>;
|
|
15
15
|
name: string;
|
|
16
16
|
experimentalMethod: string;
|
|
17
|
-
resolution
|
|
17
|
+
resolution?: number;
|
|
18
18
|
sequenceLength?: number;
|
|
19
|
-
molecularWeight
|
|
19
|
+
molecularWeight?: number;
|
|
20
20
|
}
|
|
21
21
|
export declare class GroupMemberItem extends React.Component<GroupMemberItemInterface, {}> {
|
|
22
22
|
render(): JSX.Element;
|
package/build/dist/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/RcsbGroupMembersComponent.d.ts
CHANGED
|
@@ -24,9 +24,8 @@ export declare class RcsbGroupMembersComponent extends React.Component<RcsbGroup
|
|
|
24
24
|
private subscribe;
|
|
25
25
|
private updateSearchQuery;
|
|
26
26
|
private loadPages;
|
|
27
|
-
private select;
|
|
28
27
|
private searchRequest;
|
|
29
28
|
private slide;
|
|
30
29
|
}
|
|
31
|
-
export declare function searchRequest(groupProvenanceId: GroupProvenanceId, groupId: string, searchQuery?: SearchQuery): Promise<QueryResult>;
|
|
30
|
+
export declare function searchRequest(groupProvenanceId: GroupProvenanceId, groupId: string, searchQuery?: SearchQuery): Promise<QueryResult | null>;
|
|
32
31
|
export {};
|
package/build/dist/RcsbGroupWeb/RcsbGroupView/RcsbGroupSeacrhQuery/SeacrhQueryComponent.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export declare class RcsbGroupSearchQueryComponent extends React.Component<RcsbG
|
|
|
19
19
|
readonly state: RcsbGroupQuerySearchComponentState;
|
|
20
20
|
render(): JSX.Element;
|
|
21
21
|
componentDidMount(): void;
|
|
22
|
+
componentWillUnmount(): void;
|
|
22
23
|
private unsubscribe;
|
|
23
24
|
private subscribe;
|
|
24
25
|
private checkUrlState;
|
package/build/dist/RcsbGroupWeb/RcsbGroupView/RcsbGroupSeacrhQuery/SearchQueryContextManager.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { Subscription } from "rxjs";
|
|
|
2
2
|
import { ChartMapType } from "../RcsbGroupChart/GroupChartLayout";
|
|
3
3
|
import { SearchQuery } from "@rcsb/rcsb-api-tools/build/RcsbSearch/Types/SearchQueryInterface";
|
|
4
4
|
import { GroupProvenanceId } from "@rcsb/rcsb-api-tools/build/RcsbDw/Types/DwEnums";
|
|
5
|
+
import { ChartObjectInterface } from "@rcsb/rcsb-charts/build/dist/RcsbChartComponent/ChartConfigInterface";
|
|
5
6
|
export interface SearchQueryContextManagerSubjectInterface {
|
|
6
7
|
attributeName: string;
|
|
7
8
|
chartMap: ChartMapType;
|
|
@@ -9,10 +10,17 @@ export interface SearchQueryContextManagerSubjectInterface {
|
|
|
9
10
|
groupId: string;
|
|
10
11
|
groupProvenanceId: GroupProvenanceId;
|
|
11
12
|
}
|
|
13
|
+
interface DataSubjectInterface {
|
|
14
|
+
attributeName: string;
|
|
15
|
+
chartMap: Map<string, ChartObjectInterface[][]>;
|
|
16
|
+
}
|
|
12
17
|
export declare class SearchQueryContextManager {
|
|
13
18
|
private static readonly searchQueryObservable;
|
|
19
|
+
private static readonly dataObservable;
|
|
14
20
|
private static readonly attributeList;
|
|
15
21
|
static subscribe(f: (x: SearchQueryContextManagerSubjectInterface) => void, attr?: string): Subscription;
|
|
22
|
+
static dataSubscription(f: (x: DataSubjectInterface) => void, attr?: string): Subscription;
|
|
16
23
|
static next(o: SearchQueryContextManagerSubjectInterface): void;
|
|
17
24
|
static getAttributeList(): string[];
|
|
18
25
|
}
|
|
26
|
+
export {};
|
package/build/dist/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/RcsbResidueChartComponent.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { ChartMapType } from "../RcsbGroupChart/GroupChartLayout";
|
|
3
3
|
import { ResidueChartInterface } from "./ResidueChartTools/ResidueChartTools";
|
|
4
|
-
import { ChartDisplayConfigInterface } from "
|
|
4
|
+
import { ChartDisplayConfigInterface } from "@rcsb/rcsb-charts/build/dist/RcsbChartComponent/ChartConfigInterface";
|
|
5
5
|
interface RcsbResidueChartState {
|
|
6
6
|
layout: string[];
|
|
7
7
|
chartMap: ChartMapType;
|
|
@@ -6,5 +6,5 @@ export declare class TrackDistributionFactory implements ResidueDistributionFact
|
|
|
6
6
|
private readonly multipleTrackDistributionFactory;
|
|
7
7
|
private readonly numericalTrackDistributionFactory;
|
|
8
8
|
constructor(distributionConfig?: RcsbDistributionConfig);
|
|
9
|
-
getDistribution(tracks: TrackManagerInterface[], blockType: string, numberResidues: number): ResidueDistributionInterface;
|
|
9
|
+
getDistribution(tracks: TrackManagerInterface[], blockType: string, numberResidues: number): ResidueDistributionInterface | undefined;
|
|
10
10
|
}
|
|
@@ -17,7 +17,7 @@ export interface TrackBlockFactoryInterface<S = {}> {
|
|
|
17
17
|
} & S)[];
|
|
18
18
|
}
|
|
19
19
|
export interface ResidueDistributionFactoryInterface<T extends any[] = []> {
|
|
20
|
-
getDistribution(tracks: TrackManagerInterface[], ...args: T): ResidueDistributionInterface;
|
|
20
|
+
getDistribution(tracks: TrackManagerInterface[], ...args: T): ResidueDistributionInterface | undefined;
|
|
21
21
|
}
|
|
22
22
|
export interface DistributionChartFactoryInterface {
|
|
23
23
|
getChart(residueDistribution: ResidueDistributionInterface): RcsbChartInterface;
|