@rcsb/rcsb-saguaro-app 2.3.5-groups.9 → 3.0.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/CHANGELOG.md +25 -5
- package/README.md +2 -2
- package/build/dist/ExternalResources/NcbiData/NcbiSummary.d.ts +1 -1
- package/build/dist/ExternalResources/SwissModel/SwissModelQueryAnnotations.d.ts +1 -1
- package/build/dist/RcsbAnnotationConfig/RcsbAnnotationConfig.d.ts +2 -1
- package/build/dist/RcsbCollectTools/AnnotationCollector/AnnotationCollector.d.ts +1 -1
- package/build/dist/RcsbCollectTools/AnnotationCollector/AnnotationCollectorHelper.d.ts +2 -2
- package/build/dist/RcsbCollectTools/AnnotationCollector/AnnotationCollectorInterface.d.ts +7 -8
- package/build/dist/RcsbCollectTools/AnnotationCollector/{AnnotationTransformer.d.ts → AnnotationTrack.d.ts} +19 -4
- package/build/dist/RcsbCollectTools/AnnotationCollector/AnnotationTrackManager.d.ts +3 -3
- package/build/dist/RcsbCollectTools/FeatureTools/ExternalTrackBuilderInterface.d.ts +1 -1
- package/build/dist/RcsbCollectTools/PropertyCollector/MultipleEntryPropertyCollector.d.ts +1 -1
- package/build/dist/RcsbCollectTools/SequenceCollector/GenomeMapCollector.d.ts +2 -2
- package/build/dist/RcsbCollectTools/SequenceCollector/ObservedSequenceCollector.d.ts +1 -1
- package/build/dist/RcsbCollectTools/SequenceCollector/SequenceCollector.d.ts +1 -1
- package/build/dist/RcsbCollectTools/SequenceCollector/SequenceCollectorHelper.d.ts +2 -2
- package/build/dist/RcsbCollectTools/SequenceCollector/SequenceCollectorInterface.d.ts +3 -7
- package/build/dist/RcsbCollectTools/Translators/EntryAssembliesCollector.d.ts +1 -1
- package/build/dist/RcsbCollectTools/Translators/MultipleEntityInstancesCollector.d.ts +1 -1
- package/build/dist/RcsbCollectTools/Translators/PolymerEntityInstancesCollector.d.ts +1 -1
- package/build/dist/RcsbFvWeb/RcsbFvBuilder/RcsbFvContextManager.d.ts +0 -12
- package/build/dist/RcsbFvWeb/RcsbFvBuilder/RcsbFvCoreBuilder.d.ts +0 -3
- package/build/dist/RcsbFvWeb/RcsbFvBuilder/RcsbFvProteinSequenceBuilder.d.ts +1 -1
- package/build/dist/RcsbFvWeb/RcsbFvBuilder.d.ts +2 -4
- package/build/dist/RcsbFvWeb/RcsbFvModule/RcsbFvAbstractModule.d.ts +1 -1
- package/build/dist/RcsbFvWeb/RcsbFvModule/RcsbFvModuleInterface.d.ts +1 -8
- package/build/dist/RcsbFvWeb/RcsbFvWorkers/RcsbFvAlignmentCollectorQueue.d.ts +1 -1
- package/build/dist/RcsbFvWeb/WebTools/WebToolsManager.d.ts +2 -3
- package/build/dist/RcsbGraphQL/RcsbClient.d.ts +2 -8
- package/build/dist/RcsbGraphQL/RcsbCoreQueryInterface.d.ts +1 -1
- package/build/dist/RcsbGraphQL/RcsbQueryAlignment.d.ts +2 -12
- package/build/dist/RcsbGraphQL/RcsbQueryAnnotations.d.ts +2 -6
- package/build/dist/RcsbGraphQL/RcsbQueryEntryInstances.d.ts +2 -2
- package/build/dist/RcsbGraphQL/RcsbQueryMultipleEntityInstances.d.ts +2 -2
- package/build/dist/RcsbGraphQL/RcsbQueryMultipleEntriesProperties.d.ts +2 -2
- package/build/dist/RcsbUtils/PolymerEntityInstanceTranslate.d.ts +1 -1
- package/build/dist/app.d.ts +1 -1
- package/build/dist/app.js +15 -20
- package/build/dist/app.js.map +1 -1
- package/build/dist/worker.js +1 -1
- package/build/dist/worker.js.map +1 -1
- package/package.json +5 -7
- package/build/dist/RcsbChartWeb/RcsbChartTools/ChartTools.d.ts +0 -32
- package/build/dist/RcsbChartWeb/RcsbChartView/BarChartView.d.ts +0 -9
- package/build/dist/RcsbChartWeb/RcsbChartView/ChartViewInterface.d.ts +0 -24
- package/build/dist/RcsbChartWeb/RcsbChartView/HistogramChartView.d.ts +0 -11
- package/build/dist/RcsbChartWeb/RcsbChartView/PieChartView.d.ts +0 -9
- package/build/dist/RcsbChartWeb/RcsbChartView/RcsbChartLayout.d.ts +0 -11
- package/build/dist/RcsbCollectTools/PropertyCollector/GroupPropertyCollector.d.ts +0 -9
- package/build/dist/RcsbCollectTools/Translators/GroupMemberCollector.d.ts +0 -6
- package/build/dist/RcsbFvWeb/RcsbFvBuilder/RcsbFvGroupBuilder.d.ts +0 -6
- package/build/dist/RcsbFvWeb/RcsbFvGroup/GroupSequenceTabs.d.ts +0 -20
- package/build/dist/RcsbFvWeb/RcsbFvGroup/Logo.d.ts +0 -15
- package/build/dist/RcsbFvWeb/RcsbFvModule/RcsbFvGroup.d.ts +0 -11
- package/build/dist/RcsbFvWeb/RcsbFvModule/RcsbFvGroupAlignment.d.ts +0 -11
- package/build/dist/RcsbFvWeb/RcsbFvModule/RcsbFvGroupAnnotation.d.ts +0 -11
- package/build/dist/RcsbFvWeb/WebTools/RcsbTabs.d.ts +0 -16
- package/build/dist/RcsbGraphQL/RcsbQueryGroup.d.ts +0 -7
- package/build/dist/RcsbGroupWeb/RcsbGroupBuilder.d.ts +0 -7
- package/build/dist/RcsbGroupWeb/RcsbGroupView/RcsbGroupDisplay.d.ts +0 -8
- package/build/dist/RcsbGroupWeb/RcsbGroupView/RcsbGroupHeader.d.ts +0 -9
- package/build/dist/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/GroupMembersGrid.d.ts +0 -28
- package/build/dist/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers.d.ts +0 -25
- package/build/dist/RcsbSeacrh/FacetStore/EntityGranularitySearchFacetStore.d.ts +0 -15
- package/build/dist/RcsbSeacrh/FacetStore/EntityGroupFacetStore.d.ts +0 -15
- package/build/dist/RcsbSeacrh/FacetStore/FacetMemberInterface.d.ts +0 -11
- package/build/dist/RcsbSeacrh/FacetStore/FacetStoreInterface.d.ts +0 -8
- package/build/dist/RcsbSeacrh/FacetTools.d.ts +0 -22
- package/build/dist/RcsbSeacrh/QueryStore/SearchGroupQuery.d.ts +0 -5
- package/build/dist/RcsbSeacrh/SearchRequestProperty.d.ts +0 -11
- package/build/dist/plot.d.ts +0 -1
- package/build/dist/plot.js +0 -95
- package/build/dist/plot.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rcsb/rcsb-saguaro-app",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "RCSB 1D Saguaro Web App",
|
|
5
5
|
"main": "build/dist/app.js",
|
|
6
6
|
"files": [
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"checkQueries": "ts-node src/RcsbGraphQL/Queries/QueryCheck.ts",
|
|
14
14
|
"copyQueries": "ncp src/RcsbGraphQL/Queries build/src/RcsbGraphQL/Queries",
|
|
15
15
|
"copyConfig": "ncp build/src/RcsbServerConfig/ServerConfig.js build/dist/config.js",
|
|
16
|
-
"copyCss": "ncp src/RcsbFvWeb/WebTools/scss build/src/RcsbFvWeb/WebTools/scss
|
|
16
|
+
"copyCss": "ncp src/RcsbFvWeb/WebTools/scss build/src/RcsbFvWeb/WebTools/scss",
|
|
17
17
|
"tsc": "tsc",
|
|
18
18
|
"clean": "del-cli build/*json build/src",
|
|
19
19
|
"cleanAll": "npm run clean && del-cli build/dist",
|
|
@@ -72,12 +72,10 @@
|
|
|
72
72
|
"worker-loader": "^3.0.2"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@rcsb/rcsb-
|
|
76
|
-
"@rcsb/rcsb-saguaro
|
|
77
|
-
"bootstrap": "^4.6.0",
|
|
75
|
+
"@rcsb/rcsb-api-tools": "^2.2.1",
|
|
76
|
+
"@rcsb/rcsb-saguaro": "^2.0.0",
|
|
78
77
|
"ideogram": "^1.27.0",
|
|
79
|
-
"rxjs": "^6.6.0"
|
|
80
|
-
"victory": "^35.9.0"
|
|
78
|
+
"rxjs": "^6.6.0"
|
|
81
79
|
},
|
|
82
80
|
"bugs": {
|
|
83
81
|
"url": "https://github.com/rcsb/rcsb-saguaro-app/issues"
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ChartObjectInterface } from "../RcsbChartView/ChartViewInterface";
|
|
2
|
-
export declare class ChartTools {
|
|
3
|
-
static readonly paddingLeft: number;
|
|
4
|
-
static readonly paddingBottom: number;
|
|
5
|
-
static readonly paddingTop: number;
|
|
6
|
-
static readonly paddingRight: number;
|
|
7
|
-
static readonly constWidth: number;
|
|
8
|
-
static readonly constHeight: number;
|
|
9
|
-
static readonly xIncrement: number;
|
|
10
|
-
static readonly xDomainPadding: number;
|
|
11
|
-
static readonly barWidth: number;
|
|
12
|
-
static mergeGroupSize(data: ChartObjectInterface[], size: number, mergeName?: string): {
|
|
13
|
-
x: string;
|
|
14
|
-
y: number;
|
|
15
|
-
}[];
|
|
16
|
-
static mostPopulatedGroups(data: ChartObjectInterface[], maxGroups: number, mergeName?: string): {
|
|
17
|
-
x: string;
|
|
18
|
-
y: number;
|
|
19
|
-
}[];
|
|
20
|
-
static mergeDomainMaxValue(data: ChartObjectInterface[], maxValue: number): {
|
|
21
|
-
x: number;
|
|
22
|
-
y: number;
|
|
23
|
-
}[];
|
|
24
|
-
static labelsAsString(data: ChartObjectInterface[]): {
|
|
25
|
-
x: string;
|
|
26
|
-
y: number;
|
|
27
|
-
}[];
|
|
28
|
-
static labelsAsNumber(data: ChartObjectInterface[]): {
|
|
29
|
-
x: number;
|
|
30
|
-
y: number;
|
|
31
|
-
}[];
|
|
32
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { ReactNode } from "react";
|
|
3
|
-
import { ChartViewInterface } from "./ChartViewInterface";
|
|
4
|
-
export declare class BarChartView extends React.Component<ChartViewInterface, ChartViewInterface> {
|
|
5
|
-
readonly state: ChartViewInterface;
|
|
6
|
-
constructor(props: ChartViewInterface);
|
|
7
|
-
private dataByCategory;
|
|
8
|
-
render(): ReactNode;
|
|
9
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export interface ChartObjectInterface {
|
|
2
|
-
label: string | number;
|
|
3
|
-
population: number;
|
|
4
|
-
}
|
|
5
|
-
export interface ChartConfigInterface {
|
|
6
|
-
mergeGroupSize?: number;
|
|
7
|
-
mergeDomainMaxValue?: number;
|
|
8
|
-
mostPopulatedGroups?: number;
|
|
9
|
-
mergeName?: string;
|
|
10
|
-
domainMinValue?: number;
|
|
11
|
-
tickIncrement?: {
|
|
12
|
-
origin: number;
|
|
13
|
-
increment: number;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
export interface ChartViewInterface {
|
|
17
|
-
data: ChartObjectInterface[];
|
|
18
|
-
config?: ChartConfigInterface;
|
|
19
|
-
}
|
|
20
|
-
export declare enum ChartType {
|
|
21
|
-
pie = "pie",
|
|
22
|
-
histogram = "histogram",
|
|
23
|
-
barplot = "barplot"
|
|
24
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { ReactNode } from "react";
|
|
3
|
-
import { ChartViewInterface } from "./ChartViewInterface";
|
|
4
|
-
export declare class HistogramChartView extends React.Component<ChartViewInterface, ChartViewInterface> {
|
|
5
|
-
readonly state: ChartViewInterface;
|
|
6
|
-
constructor(props: ChartViewInterface);
|
|
7
|
-
private data;
|
|
8
|
-
private xDomain;
|
|
9
|
-
private tickValues;
|
|
10
|
-
render(): ReactNode;
|
|
11
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { ReactNode } from "react";
|
|
3
|
-
import { ChartViewInterface } from "./ChartViewInterface";
|
|
4
|
-
export declare class PieChartView extends React.Component<ChartViewInterface, ChartViewInterface> {
|
|
5
|
-
readonly state: ChartViewInterface;
|
|
6
|
-
constructor(props: ChartViewInterface);
|
|
7
|
-
private dataByCategory;
|
|
8
|
-
render(): ReactNode;
|
|
9
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { RcsbChartInterface } from "../../RcsbSeacrh/FacetTools";
|
|
3
|
-
export interface RcsbChartLayoutInterface {
|
|
4
|
-
layout: [string, string?][];
|
|
5
|
-
charts: RcsbChartInterface[];
|
|
6
|
-
}
|
|
7
|
-
export declare class RcsbChartLayout extends React.Component<RcsbChartLayoutInterface, RcsbChartLayoutInterface> {
|
|
8
|
-
readonly state: RcsbChartLayoutInterface;
|
|
9
|
-
constructor(props: RcsbChartLayoutInterface);
|
|
10
|
-
render(): JSX.Element;
|
|
11
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { QueryGroupArgs } from "@rcsb/rcsb-saguaro-api/build/RcsbGraphQL/Types/Yosemite/GqlTypes";
|
|
2
|
-
export interface GroupPropertyInterface {
|
|
3
|
-
groupName: string;
|
|
4
|
-
groupDescription: string;
|
|
5
|
-
}
|
|
6
|
-
export declare class GroupPropertyCollector {
|
|
7
|
-
private readonly rcsbFvQuery;
|
|
8
|
-
collect(requestConfig: QueryGroupArgs): Promise<GroupPropertyInterface>;
|
|
9
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { QueryGroupArgs } from "@rcsb/rcsb-saguaro-api/build/RcsbGraphQL/Types/Yosemite/GqlTypes";
|
|
2
|
-
import { PolymerEntityInstanceInterface } from "./PolymerEntityInstancesCollector";
|
|
3
|
-
export declare class GroupMemberCollector {
|
|
4
|
-
private readonly rcsbFvQuery;
|
|
5
|
-
collect(requestConfig: QueryGroupArgs): Promise<Array<PolymerEntityInstanceInterface>>;
|
|
6
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { RcsbFvAdditionalConfig, RcsbFvModulePublicInterface } from "../RcsbFvModule/RcsbFvModuleInterface";
|
|
2
|
-
import { GroupReference, SequenceReference } from "@rcsb/rcsb-saguaro-api/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
3
|
-
export declare class RcsbFvGroupBuilder {
|
|
4
|
-
static buildGroupAnnotationFv(elementId: string, group: GroupReference, groupId: string, to: SequenceReference, from?: SequenceReference, additionalConfig?: RcsbFvAdditionalConfig): Promise<RcsbFvModulePublicInterface>;
|
|
5
|
-
static buildGroupAlignmentFv(elementId: string, group: GroupReference, groupId: string, to: SequenceReference, from?: SequenceReference, additionalConfig?: RcsbFvAdditionalConfig): Promise<RcsbFvModulePublicInterface>;
|
|
6
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { GroupReference } from "@rcsb/rcsb-saguaro-api/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
3
|
-
import { SearchQuery } from "@rcsb/rcsb-saguaro-api/build/RcsbSearch/Types/SearchQueryInterface";
|
|
4
|
-
export declare class GroupSequenceTabs extends React.Component<{
|
|
5
|
-
group: GroupReference;
|
|
6
|
-
groupId: string;
|
|
7
|
-
searchQuery?: SearchQuery;
|
|
8
|
-
}, {}> {
|
|
9
|
-
private readonly rendered;
|
|
10
|
-
private filterInstances;
|
|
11
|
-
private filterEntities;
|
|
12
|
-
constructor(props: {
|
|
13
|
-
group: GroupReference;
|
|
14
|
-
groupId: string;
|
|
15
|
-
searchQuery: SearchQuery;
|
|
16
|
-
});
|
|
17
|
-
render(): JSX.Element;
|
|
18
|
-
private onMount;
|
|
19
|
-
private onSelect;
|
|
20
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { AlignmentLogo } from "@rcsb/rcsb-saguaro-api/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
2
|
-
export declare class Logo<T extends string> {
|
|
3
|
-
private readonly symbols;
|
|
4
|
-
private n;
|
|
5
|
-
constructor(logo: AlignmentLogo[]);
|
|
6
|
-
private aaTypes;
|
|
7
|
-
get(aa: T): number;
|
|
8
|
-
forEach(callback: (aa: T, n: number) => void): void;
|
|
9
|
-
mode(): T;
|
|
10
|
-
frequency(): {
|
|
11
|
-
symbol: T;
|
|
12
|
-
value: number;
|
|
13
|
-
}[];
|
|
14
|
-
entropy(): number;
|
|
15
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { RcsbFvAbstractModule } from "./RcsbFvAbstractModule";
|
|
2
|
-
import { RcsbFvModuleBuildInterface } from "./RcsbFvModuleInterface";
|
|
3
|
-
import { RcsbFv } from "@rcsb/rcsb-saguaro";
|
|
4
|
-
import { SequenceCollectorInterface } from "../../RcsbCollectTools/SequenceCollector/SequenceCollectorInterface";
|
|
5
|
-
import { AnnotationCollectorInterface } from "../../RcsbCollectTools/AnnotationCollector/AnnotationCollectorInterface";
|
|
6
|
-
export declare class RcsbFvGroup extends RcsbFvAbstractModule {
|
|
7
|
-
protected readonly sequenceCollector: SequenceCollectorInterface;
|
|
8
|
-
protected readonly annotationCollector: AnnotationCollectorInterface;
|
|
9
|
-
constructor(elementId: string, rcsbFv: RcsbFv);
|
|
10
|
-
build(buildConfig: RcsbFvModuleBuildInterface): Promise<void>;
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { RcsbFvAbstractModule } from "./RcsbFvAbstractModule";
|
|
2
|
-
import { RcsbFvAdditionalConfig, RcsbFvModuleBuildInterface } from "./RcsbFvModuleInterface";
|
|
3
|
-
import { RcsbFv } from "@rcsb/rcsb-saguaro";
|
|
4
|
-
import { AnnotationCollectorInterface } from "../../RcsbCollectTools/AnnotationCollector/AnnotationCollectorInterface";
|
|
5
|
-
import { SequenceCollectorInterface } from "../../RcsbCollectTools/SequenceCollector/SequenceCollectorInterface";
|
|
6
|
-
export declare class RcsbFvGroupAlignment extends RcsbFvAbstractModule {
|
|
7
|
-
protected readonly annotationCollector: AnnotationCollectorInterface;
|
|
8
|
-
protected readonly sequenceCollector: SequenceCollectorInterface;
|
|
9
|
-
constructor(elementId: string, rcsbFv: RcsbFv, additionalConfig?: RcsbFvAdditionalConfig);
|
|
10
|
-
build(buildConfig: RcsbFvModuleBuildInterface): Promise<void>;
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { RcsbFvAbstractModule } from "./RcsbFvAbstractModule";
|
|
2
|
-
import { RcsbFvAdditionalConfig, RcsbFvModuleBuildInterface } from "./RcsbFvModuleInterface";
|
|
3
|
-
import { RcsbFv } from "@rcsb/rcsb-saguaro";
|
|
4
|
-
import { AnnotationCollectorInterface } from "../../RcsbCollectTools/AnnotationCollector/AnnotationCollectorInterface";
|
|
5
|
-
import { SequenceCollectorInterface } from "../../RcsbCollectTools/SequenceCollector/SequenceCollectorInterface";
|
|
6
|
-
export declare class RcsbFvGroupAnnotation extends RcsbFvAbstractModule {
|
|
7
|
-
protected readonly annotationCollector: AnnotationCollectorInterface;
|
|
8
|
-
protected readonly sequenceCollector: SequenceCollectorInterface;
|
|
9
|
-
constructor(elementId: string, rcsbFv: RcsbFv, additionalConfig?: RcsbFvAdditionalConfig);
|
|
10
|
-
build(buildConfig: RcsbFvModuleBuildInterface): Promise<void>;
|
|
11
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface RcsbTabsInterface<T extends string> {
|
|
3
|
-
tabList: Array<{
|
|
4
|
-
key: T;
|
|
5
|
-
title: string;
|
|
6
|
-
}>;
|
|
7
|
-
default: T;
|
|
8
|
-
id: string;
|
|
9
|
-
onSelect(t: T): void;
|
|
10
|
-
onMount(t: T): void;
|
|
11
|
-
}
|
|
12
|
-
export declare class RcsbTabs<T extends string> extends React.Component<RcsbTabsInterface<T>, {}> {
|
|
13
|
-
constructor(props: RcsbTabsInterface<T>);
|
|
14
|
-
render(): JSX.Element;
|
|
15
|
-
componentDidMount(): void;
|
|
16
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CoreGroup, QueryGroupArgs } from "@rcsb/rcsb-saguaro-api/build/RcsbGraphQL/Types/Yosemite/GqlTypes";
|
|
2
|
-
import { RcsbCoreQueryInterface } from "./RcsbCoreQueryInterface";
|
|
3
|
-
import { GraphQLRequest } from "@rcsb/rcsb-saguaro-api/build/RcsbGraphQL/GraphQLRequest";
|
|
4
|
-
export declare class RcsbQueryGroup implements RcsbCoreQueryInterface<QueryGroupArgs, CoreGroup> {
|
|
5
|
-
readonly client: GraphQLRequest;
|
|
6
|
-
request(requestConfig: QueryGroupArgs): Promise<CoreGroup>;
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { SearchQuery } from "@rcsb/rcsb-saguaro-api/build/RcsbSearch/Types/SearchQueryInterface";
|
|
2
|
-
import { RcsbFvAdditionalConfig } from "../RcsbFvWeb/RcsbFvModule/RcsbFvModuleInterface";
|
|
3
|
-
import { GroupReference } from "@rcsb/rcsb-saguaro-api/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
4
|
-
import { SearchQueryType } from "../RcsbSeacrh/SearchRequestProperty";
|
|
5
|
-
export declare function buildSearchRequest(elementId: string, searchQuery: SearchQueryType): Promise<void>;
|
|
6
|
-
export declare function buildGroup(elementId: string, groupType: GroupReference, groupId: string, query?: SearchQuery): Promise<void>;
|
|
7
|
-
export declare function buildGroupMembers(elementId: string, groupId: string, nMembers: number, additionalConfig?: RcsbFvAdditionalConfig, query?: SearchQuery): void;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { SearchQuery } from "@rcsb/rcsb-saguaro-api/build/RcsbSearch/Types/SearchQueryInterface";
|
|
2
|
-
import { FacetStoreInterface } from "../../RcsbSeacrh/FacetStore/FacetStoreInterface";
|
|
3
|
-
import { SearchQueryType } from "../../RcsbSeacrh/SearchRequestProperty";
|
|
4
|
-
export declare class RcsbGroupDisplay {
|
|
5
|
-
static displayRcsbSearchStats(elementId: string, facetStore: FacetStoreInterface, searchQuery: SearchQueryType): Promise<void>;
|
|
6
|
-
static displaySearchAttributes(elementId: string, facetStore: FacetStoreInterface, searchQuery?: SearchQuery, groupId?: string): Promise<void>;
|
|
7
|
-
static displayGroupMembers(elementId: string, groupId: string, nMembers: number, query?: SearchQuery): void;
|
|
8
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { GroupPropertyInterface } from "../../RcsbCollectTools/PropertyCollector/GroupPropertyCollector";
|
|
3
|
-
export declare class RcsbGroupHeader extends React.Component<{
|
|
4
|
-
group: GroupPropertyInterface;
|
|
5
|
-
}, {
|
|
6
|
-
group: GroupPropertyInterface;
|
|
7
|
-
}> {
|
|
8
|
-
render(): JSX.Element;
|
|
9
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { SearchQuery } from "@rcsb/rcsb-saguaro-api/build/RcsbSearch/Types/SearchQueryInterface";
|
|
3
|
-
import { PolymerEntityInstanceInterface } from "../../../RcsbCollectTools/Translators/PolymerEntityInstancesCollector";
|
|
4
|
-
export declare class GroupMembersGrid extends React.Component<{
|
|
5
|
-
groupId: string;
|
|
6
|
-
searchQuery?: SearchQuery;
|
|
7
|
-
start: number;
|
|
8
|
-
rows: number;
|
|
9
|
-
display: boolean;
|
|
10
|
-
}, {
|
|
11
|
-
entityList: Array<PolymerEntityInstanceInterface>;
|
|
12
|
-
}> {
|
|
13
|
-
readonly state: {
|
|
14
|
-
entityList: Array<PolymerEntityInstanceInterface>;
|
|
15
|
-
};
|
|
16
|
-
render(): JSX.Element;
|
|
17
|
-
componentDidMount(): void;
|
|
18
|
-
componentDidUpdate(prevProps: Readonly<{
|
|
19
|
-
groupId: string;
|
|
20
|
-
searchQuery?: SearchQuery;
|
|
21
|
-
start: number;
|
|
22
|
-
rows: number;
|
|
23
|
-
display: boolean;
|
|
24
|
-
}>, prevState: Readonly<{
|
|
25
|
-
entityList: Array<PolymerEntityInstanceInterface>;
|
|
26
|
-
}>, snapshot?: any): void;
|
|
27
|
-
private getMembersImgUrl;
|
|
28
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { SearchQuery } from "@rcsb/rcsb-saguaro-api/build/RcsbSearch/Types/SearchQueryInterface";
|
|
3
|
-
export declare class RcsbGroupMembers extends React.Component<{
|
|
4
|
-
groupId: string;
|
|
5
|
-
searchQuery?: SearchQuery;
|
|
6
|
-
nMembers: number;
|
|
7
|
-
}, {
|
|
8
|
-
start: number;
|
|
9
|
-
rows: number;
|
|
10
|
-
selectedIndex: number;
|
|
11
|
-
}> {
|
|
12
|
-
readonly state: {
|
|
13
|
-
start: number;
|
|
14
|
-
rows: number;
|
|
15
|
-
selectedIndex: number;
|
|
16
|
-
};
|
|
17
|
-
readonly groupMembersDiv: string;
|
|
18
|
-
constructor(props: {
|
|
19
|
-
groupId: string;
|
|
20
|
-
searchQuery?: SearchQuery;
|
|
21
|
-
nMembers: number;
|
|
22
|
-
});
|
|
23
|
-
render(): JSX.Element;
|
|
24
|
-
private select;
|
|
25
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ReturnType, Service } from "@rcsb/rcsb-saguaro-api/build/RcsbSearch/Types/SearchEnums";
|
|
2
|
-
import { FacetMemberInterface } from "./FacetMemberInterface";
|
|
3
|
-
import { FacetStoreInterface } from "./FacetStoreInterface";
|
|
4
|
-
declare class EntityGranularitySearchFacetStore implements FacetStoreInterface {
|
|
5
|
-
private readonly entryFacet;
|
|
6
|
-
private readonly instanceFacet;
|
|
7
|
-
private readonly entityFacet;
|
|
8
|
-
private readonly nonPolymerFacet;
|
|
9
|
-
getServices(): Service[];
|
|
10
|
-
getFacetService(service: Service | "all"): FacetMemberInterface[];
|
|
11
|
-
readonly facetLayoutGrid: [string, string?][];
|
|
12
|
-
readonly returnType: ReturnType;
|
|
13
|
-
}
|
|
14
|
-
export declare const entityGranularityGroupFacetStore: EntityGranularitySearchFacetStore;
|
|
15
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ReturnType, Service } from "@rcsb/rcsb-saguaro-api/build/RcsbSearch/Types/SearchEnums";
|
|
2
|
-
import { FacetMemberInterface } from "./FacetMemberInterface";
|
|
3
|
-
import { FacetStoreInterface } from "./FacetStoreInterface";
|
|
4
|
-
declare class EntityGroupFacetStore implements FacetStoreInterface {
|
|
5
|
-
private readonly entryFacet;
|
|
6
|
-
private readonly instanceFacet;
|
|
7
|
-
private readonly entityFacet;
|
|
8
|
-
private readonly nonPolymerFacet;
|
|
9
|
-
getServices(): Service[];
|
|
10
|
-
getFacetService(service: Service | "all"): FacetMemberInterface[];
|
|
11
|
-
readonly facetLayoutGrid: [string, string?][];
|
|
12
|
-
readonly returnType: ReturnType;
|
|
13
|
-
}
|
|
14
|
-
export declare const entityGroupFacetStore: EntityGroupFacetStore;
|
|
15
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CardinalityFacet, DateHistogramFacet, DateRangeFacet, FilterFacet, HistogramFacet, RangeFacet, TermsFacet } from "@rcsb/rcsb-saguaro-api/build/RcsbSearch/Types/SearchQueryInterface";
|
|
2
|
-
import { ChartConfigInterface, ChartType } from "../../RcsbChartWeb/RcsbChartView/ChartViewInterface";
|
|
3
|
-
export declare type FacetType = TermsFacet | HistogramFacet | DateHistogramFacet | RangeFacet | DateRangeFacet | CardinalityFacet | FilterFacet;
|
|
4
|
-
export interface FacetMemberInterface {
|
|
5
|
-
id: string;
|
|
6
|
-
title: string;
|
|
7
|
-
attribute: string;
|
|
8
|
-
chartType: ChartType;
|
|
9
|
-
chartConfig?: ChartConfigInterface;
|
|
10
|
-
facet: FacetType;
|
|
11
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { FacetMemberInterface } from "./FacetMemberInterface";
|
|
2
|
-
import { ReturnType, Service } from "@rcsb/rcsb-saguaro-api/build/RcsbSearch/Types/SearchEnums";
|
|
3
|
-
export interface FacetStoreInterface {
|
|
4
|
-
getServices(): Service[];
|
|
5
|
-
getFacetService(service: Service | "all"): FacetMemberInterface[];
|
|
6
|
-
readonly facetLayoutGrid: [string, string?][];
|
|
7
|
-
readonly returnType: ReturnType;
|
|
8
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Facet } from "@rcsb/rcsb-saguaro-api/build/RcsbSearch/Types/SearchResultInterface";
|
|
2
|
-
import { ChartConfigInterface, ChartType } from "../RcsbChartWeb/RcsbChartView/ChartViewInterface";
|
|
3
|
-
import { FacetMemberInterface } from "./FacetStore/FacetMemberInterface";
|
|
4
|
-
export interface RcsbChartInterface {
|
|
5
|
-
chartType: ChartType;
|
|
6
|
-
labelList?: string[];
|
|
7
|
-
attribute: string;
|
|
8
|
-
chartConfig?: ChartConfigInterface;
|
|
9
|
-
title: string;
|
|
10
|
-
data: {
|
|
11
|
-
label: string | number;
|
|
12
|
-
population: number;
|
|
13
|
-
}[];
|
|
14
|
-
}
|
|
15
|
-
export declare class FacetTools {
|
|
16
|
-
static getFacetChartTypeByAttribute(facetMembers: FacetMemberInterface[], attribute: string): {
|
|
17
|
-
chartType: ChartType;
|
|
18
|
-
chartConfig?: ChartConfigInterface;
|
|
19
|
-
title: string;
|
|
20
|
-
};
|
|
21
|
-
static getResultDrilldowns(facetMembers: FacetMemberInterface[], facets: Array<Facet>, labelList?: string[], recursiveOut?: Array<RcsbChartInterface>): Array<RcsbChartInterface>;
|
|
22
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { SearchQueryType } from "../SearchRequestProperty";
|
|
2
|
-
import { Service } from "@rcsb/rcsb-saguaro-api/build/RcsbSearch/Types/SearchEnums";
|
|
3
|
-
import { SearchQuery } from "@rcsb/rcsb-saguaro-api/build/RcsbSearch/Types/SearchQueryInterface";
|
|
4
|
-
export declare function searchGroupQuery(groupId: string, service?: Service): SearchQueryType;
|
|
5
|
-
export declare function addGroupNodeToSearchQuery(groupId: string, searchQuery: SearchQuery, service?: Service): SearchQueryType;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { QueryResult } from "@rcsb/rcsb-saguaro-api/build/RcsbSearch/Types/SearchResultInterface";
|
|
2
|
-
import { ReturnType } from "@rcsb/rcsb-saguaro-api/build/RcsbSearch/Types/SearchEnums";
|
|
3
|
-
import { GroupNode, SearchQuery, TerminalNode } from "@rcsb/rcsb-saguaro-api/build/RcsbSearch/Types/SearchQueryInterface";
|
|
4
|
-
import { FacetType } from "./FacetStore/FacetMemberInterface";
|
|
5
|
-
export declare type SearchQueryType = GroupNode | TerminalNode;
|
|
6
|
-
export declare class SearchRequestProperty {
|
|
7
|
-
private searchRequest;
|
|
8
|
-
private _request;
|
|
9
|
-
request(query: SearchQueryType, facets: FacetType[], returnType: ReturnType): Promise<QueryResult>;
|
|
10
|
-
requestMembers(query: SearchQuery): Promise<Array<string>>;
|
|
11
|
-
}
|
package/build/dist/plot.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { buildSearchRequest, buildGroup, buildGroupMembers } from "./RcsbGroupWeb/RcsbGroupBuilder";
|