molstar 2.3.8 → 2.3.9
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/viewer/molstar.js +1 -1
- package/lib/commonjs/apps/docking-viewer/viewport.d.ts +2 -2
- package/lib/commonjs/apps/viewer/index.d.ts +1 -1
- package/lib/commonjs/cli/chem-comp-dict/util.d.ts +4 -4
- package/lib/commonjs/extensions/anvil/behavior.d.ts +2 -2
- package/lib/commonjs/extensions/anvil/representation.d.ts +5 -5
- package/lib/commonjs/extensions/cellpack/model.d.ts +1 -1
- package/lib/commonjs/extensions/cellpack/representation.d.ts +2 -2
- package/lib/commonjs/extensions/dnatco/confal-pyramids/behavior.d.ts +1 -1
- package/lib/commonjs/extensions/dnatco/confal-pyramids/representation.d.ts +6 -6
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +6 -6
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/color.d.ts +12 -12
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.d.ts +1 -1
- package/lib/commonjs/extensions/rcsb/validation-report/behavior.d.ts +3 -3
- package/lib/commonjs/extensions/rcsb/validation-report/representation.d.ts +10 -10
- package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +8 -8
- package/lib/commonjs/mol-canvas3d/controls/trackball.d.ts +2 -2
- package/lib/commonjs/mol-canvas3d/helper/camera-helper.d.ts +3 -3
- package/lib/commonjs/mol-canvas3d/helper/handle-helper.d.ts +1 -1
- package/lib/commonjs/mol-canvas3d/passes/image.d.ts +2 -2
- package/lib/commonjs/mol-data/int/impl/sorted-array.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/base.d.ts +3 -3
- package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.d.ts +3 -3
- package/lib/commonjs/mol-geo/geometry/image/image.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/lines/lines.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/mesh/mesh.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/points/points.d.ts +3 -3
- package/lib/commonjs/mol-geo/geometry/spheres/spheres.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/text/text.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +1 -1
- package/lib/commonjs/mol-gl/_spec/renderer.spec.js +1 -1
- package/lib/commonjs/mol-gl/_spec/renderer.spec.js.map +1 -1
- package/lib/commonjs/mol-gl/renderer.d.ts +2 -2
- package/lib/commonjs/mol-gl/webgl/context.d.ts +1 -1
- package/lib/commonjs/mol-gl/webgl/extensions.js +5 -1
- package/lib/commonjs/mol-gl/webgl/extensions.js.map +1 -1
- package/lib/commonjs/mol-gl/webgl/render-item.js +1 -4
- package/lib/commonjs/mol-gl/webgl/render-item.js.map +1 -1
- package/lib/commonjs/mol-io/reader/cif/schema/bird.d.ts +1 -1
- package/lib/commonjs/mol-io/reader/cif/schema/ccd.d.ts +2 -2
- package/lib/commonjs/mol-io/reader/cif/schema/density-server.d.ts +3 -3
- package/lib/commonjs/mol-io/reader/cif/schema/mmcif-extras.d.ts +3 -3
- package/lib/commonjs/mol-io/reader/cif/schema/mmcif.d.ts +14 -14
- package/lib/commonjs/mol-io/reader/ply/schema.d.ts +1 -1
- package/lib/commonjs/mol-model/loci.d.ts +30 -30
- package/lib/commonjs/mol-model/shape/shape.d.ts +1 -1
- package/lib/commonjs/mol-model/structure/query/utils/structure-distance.d.ts +5 -54
- package/lib/commonjs/mol-model/structure/structure/properties.d.ts +1 -1
- package/lib/commonjs/mol-model/structure/structure/unit.d.ts +2 -2
- package/lib/commonjs/mol-model-formats/shape/ply.d.ts +6 -6
- package/lib/commonjs/mol-model-formats/structure/basic/schema.d.ts +6 -6
- package/lib/commonjs/mol-model-formats/structure/common/component.d.ts +8 -8
- package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +2 -2
- package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +2 -2
- package/lib/commonjs/mol-model-props/computed/representations/interactions.d.ts +6 -6
- package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.d.ts +8 -8
- package/lib/commonjs/mol-model-props/sequence/themes/best-database-mapping.d.ts +12 -12
- package/lib/commonjs/mol-plugin/behavior/behavior.d.ts +1 -1
- package/lib/commonjs/mol-plugin/behavior/dynamic/representation.d.ts +2 -2
- package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +1 -1
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/behavior.d.ts +2 -2
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/transformers.d.ts +3 -3
- package/lib/commonjs/mol-plugin/commands.d.ts +4 -4
- package/lib/commonjs/mol-plugin/layout.d.ts +4 -4
- package/lib/commonjs/mol-plugin/util/viewport-screenshot.d.ts +9 -9
- package/lib/commonjs/mol-plugin-state/actions/structure.d.ts +1 -1
- package/lib/commonjs/mol-plugin-state/animation/built-in/model-index.d.ts +2 -2
- package/lib/commonjs/mol-plugin-state/animation/helpers.d.ts +5 -5
- package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy-preset.d.ts +3 -3
- package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy.d.ts +3 -3
- package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.d.ts +21 -21
- package/lib/commonjs/mol-plugin-state/builder/structure/representation.d.ts +1 -1
- package/lib/commonjs/mol-plugin-state/formats/volume.d.ts +6 -6
- package/lib/commonjs/mol-plugin-state/helpers/root-structure.d.ts +3 -3
- package/lib/commonjs/mol-plugin-state/helpers/structure-component.d.ts +2 -2
- package/lib/commonjs/mol-plugin-state/manager/interactivity.d.ts +1 -1
- package/lib/commonjs/mol-plugin-state/manager/structure/component.d.ts +3 -3
- package/lib/commonjs/mol-plugin-state/manager/structure/selection.d.ts +2 -2
- package/lib/commonjs/mol-plugin-state/transforms/data.d.ts +1 -1
- package/lib/commonjs/mol-plugin-state/transforms/model.d.ts +5 -5
- package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +15 -15
- package/lib/commonjs/mol-plugin-ui/controls/parameters.d.ts +2 -2
- package/lib/commonjs/mol-plugin-ui/structure/measurements.d.ts +1 -1
- package/lib/commonjs/mol-repr/shape/loci/angle.d.ts +1 -1
- package/lib/commonjs/mol-repr/shape/loci/common.d.ts +1 -1
- package/lib/commonjs/mol-repr/shape/loci/dihedral.d.ts +1 -1
- package/lib/commonjs/mol-repr/shape/loci/distance.d.ts +1 -1
- package/lib/commonjs/mol-repr/shape/loci/label.d.ts +1 -1
- package/lib/commonjs/mol-repr/shape/loci/orientation.d.ts +2 -2
- package/lib/commonjs/mol-repr/shape/loci/plane.d.ts +1 -1
- package/lib/commonjs/mol-repr/shape/model/unitcell.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +13 -13
- package/lib/commonjs/mol-repr/structure/params.d.ts +12 -12
- package/lib/commonjs/mol-repr/structure/registry.d.ts +35 -35
- package/lib/commonjs/mol-repr/structure/representation/backbone.d.ts +6 -6
- package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +9 -9
- package/lib/commonjs/mol-repr/structure/representation/carbohydrate.d.ts +6 -6
- package/lib/commonjs/mol-repr/structure/representation/cartoon.d.ts +6 -6
- package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +9 -9
- package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +6 -6
- package/lib/commonjs/mol-repr/structure/representation/gaussian-volume.d.ts +9 -9
- package/lib/commonjs/mol-repr/structure/representation/label.d.ts +9 -9
- package/lib/commonjs/mol-repr/structure/representation/line.d.ts +12 -12
- package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +6 -6
- package/lib/commonjs/mol-repr/structure/representation/orientation.d.ts +6 -6
- package/lib/commonjs/mol-repr/structure/representation/point.d.ts +9 -9
- package/lib/commonjs/mol-repr/structure/representation/putty.d.ts +6 -6
- package/lib/commonjs/mol-repr/structure/representation/spacefill.d.ts +6 -6
- package/lib/commonjs/mol-repr/structure/units-visual.d.ts +18 -18
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +6 -6
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.d.ts +3 -3
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +6 -6
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.d.ts +3 -3
- package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/element-cross.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/element-point.d.ts +3 -3
- package/lib/commonjs/mol-repr/structure/visual/element-sphere.d.ts +4 -4
- package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.d.ts +6 -6
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +8 -8
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/label-text.d.ts +3 -3
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +4 -4
- package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +4 -4
- package/lib/commonjs/mol-repr/structure/visual/polymer-direction-wedge.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/util/bond.d.ts +10 -10
- package/lib/commonjs/mol-repr/structure/visual/util/common.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/util/element.d.ts +4 -4
- package/lib/commonjs/mol-repr/structure/visual/util/polymer.d.ts +2 -2
- package/lib/commonjs/mol-repr/volume/direct-volume.d.ts +9 -9
- package/lib/commonjs/mol-repr/volume/isosurface.d.ts +12 -12
- package/lib/commonjs/mol-repr/volume/registry.d.ts +7 -7
- package/lib/commonjs/mol-repr/volume/representation.d.ts +1 -1
- package/lib/commonjs/mol-repr/volume/slice.d.ts +6 -6
- package/lib/commonjs/mol-theme/color/atom-id.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/chain-id.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/element-index.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/element-symbol.d.ts +16 -16
- package/lib/commonjs/mol-theme/color/entity-id.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/entity-source.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/illustrative.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/model-index.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/operator-hkl.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/operator-name.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/polymer-id.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/polymer-index.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/unit-index.d.ts +12 -12
- package/lib/commonjs/mol-theme/color.d.ts +80 -80
- package/lib/commonjs/mol-util/color/names.d.ts +1 -1
- package/lib/commonjs/mol-util/color/palette.d.ts +12 -12
- package/lib/commonjs/mol-util/color/scale.d.ts +1 -1
- package/lib/mol-gl/_spec/renderer.spec.js +1 -1
- package/lib/mol-gl/_spec/renderer.spec.js.map +1 -1
- package/lib/mol-gl/webgl/extensions.js +6 -2
- package/lib/mol-gl/webgl/extensions.js.map +1 -1
- package/lib/mol-gl/webgl/render-item.js +1 -4
- package/lib/mol-gl/webgl/render-item.js.map +1 -1
- package/lib/mol-plugin/version.js +2 -2
- package/lib/tsconfig.commonjs.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -26,7 +26,7 @@ declare class ViewportScreenshotHelper extends PluginComponent {
|
|
|
26
26
|
height: number;
|
|
27
27
|
}>, "custom"> | PD.NamedParams<PD.Normalize<unknown>, "viewport"> | PD.NamedParams<PD.Normalize<unknown>, "hd"> | PD.NamedParams<PD.Normalize<unknown>, "full-hd"> | PD.NamedParams<PD.Normalize<unknown>, "ultra-hd">>;
|
|
28
28
|
transparent: PD.BooleanParam;
|
|
29
|
-
axes: PD.Mapped<PD.NamedParams<PD.Normalize<
|
|
29
|
+
axes: PD.Mapped<PD.NamedParams<PD.Normalize<{
|
|
30
30
|
alpha: number;
|
|
31
31
|
ignoreLight: boolean;
|
|
32
32
|
colorX: Color;
|
|
@@ -37,8 +37,8 @@ declare class ViewportScreenshotHelper extends PluginComponent {
|
|
|
37
37
|
flipSided: boolean;
|
|
38
38
|
flatShaded: boolean;
|
|
39
39
|
xrayShaded: boolean;
|
|
40
|
-
quality: "
|
|
41
|
-
}>, "on">>;
|
|
40
|
+
quality: "custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest";
|
|
41
|
+
}>, "on"> | PD.NamedParams<PD.Normalize<unknown>, "off">>;
|
|
42
42
|
};
|
|
43
43
|
readonly behaviors: {
|
|
44
44
|
values: import("rxjs").BehaviorSubject<PD.Values<{
|
|
@@ -47,7 +47,7 @@ declare class ViewportScreenshotHelper extends PluginComponent {
|
|
|
47
47
|
height: number;
|
|
48
48
|
}>, "custom">>;
|
|
49
49
|
transparent: PD.BooleanParam;
|
|
50
|
-
axes: PD.Mapped<PD.NamedParams<PD.Normalize<
|
|
50
|
+
axes: PD.Mapped<PD.NamedParams<PD.Normalize<{
|
|
51
51
|
alpha: number;
|
|
52
52
|
ignoreLight: boolean;
|
|
53
53
|
colorX: Color;
|
|
@@ -58,8 +58,8 @@ declare class ViewportScreenshotHelper extends PluginComponent {
|
|
|
58
58
|
flipSided: boolean;
|
|
59
59
|
flatShaded: boolean;
|
|
60
60
|
xrayShaded: boolean;
|
|
61
|
-
quality: "
|
|
62
|
-
}>, "on">>;
|
|
61
|
+
quality: "custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest";
|
|
62
|
+
}>, "on"> | PD.NamedParams<PD.Normalize<unknown>, "off">>;
|
|
63
63
|
}>>;
|
|
64
64
|
cropParams: import("rxjs").BehaviorSubject<{
|
|
65
65
|
auto: boolean;
|
|
@@ -76,7 +76,7 @@ declare class ViewportScreenshotHelper extends PluginComponent {
|
|
|
76
76
|
height: number;
|
|
77
77
|
}>, "custom">>;
|
|
78
78
|
transparent: PD.BooleanParam;
|
|
79
|
-
axes: PD.Mapped<PD.NamedParams<PD.Normalize<
|
|
79
|
+
axes: PD.Mapped<PD.NamedParams<PD.Normalize<{
|
|
80
80
|
alpha: number;
|
|
81
81
|
ignoreLight: boolean;
|
|
82
82
|
colorX: Color;
|
|
@@ -87,8 +87,8 @@ declare class ViewportScreenshotHelper extends PluginComponent {
|
|
|
87
87
|
flipSided: boolean;
|
|
88
88
|
flatShaded: boolean;
|
|
89
89
|
xrayShaded: boolean;
|
|
90
|
-
quality: "
|
|
91
|
-
}>, "on">>;
|
|
90
|
+
quality: "custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest";
|
|
91
|
+
}>, "on"> | PD.NamedParams<PD.Normalize<unknown>, "off">>;
|
|
92
92
|
}>;
|
|
93
93
|
get cropParams(): {
|
|
94
94
|
auto: boolean;
|
|
@@ -12,7 +12,7 @@ export declare const PdbDownloadProvider: {
|
|
|
12
12
|
encoding: "bcif" | "cif";
|
|
13
13
|
}>>;
|
|
14
14
|
pdbe: PD.Group<PD.Normalize<{
|
|
15
|
-
variant: "updated" | "updated
|
|
15
|
+
variant: "updated-bcif" | "updated" | "updtaed-bcif" | "archival";
|
|
16
16
|
}>>;
|
|
17
17
|
};
|
|
18
18
|
export declare type PdbDownloadProvider = keyof typeof PdbDownloadProvider;
|
|
@@ -12,10 +12,10 @@ export declare const AnimateModelIndex: PluginStateAnimation<{
|
|
|
12
12
|
direction: any;
|
|
13
13
|
}>, "once">;
|
|
14
14
|
duration: PD.NamedParams<PD.Normalize<{
|
|
15
|
-
durationInS: any;
|
|
16
|
-
}>, "fixed"> | PD.NamedParams<PD.Normalize<{
|
|
17
15
|
maxFps: any;
|
|
18
16
|
}>, "sequential"> | PD.NamedParams<PD.Normalize<{
|
|
17
|
+
durationInS: any;
|
|
18
|
+
}>, "fixed"> | PD.NamedParams<PD.Normalize<{
|
|
19
19
|
targetFps: any;
|
|
20
20
|
}>, "computed">;
|
|
21
21
|
}, {
|
|
@@ -13,13 +13,13 @@ export declare function unwindStructureAssembly(structure: Structure, unitTransf
|
|
|
13
13
|
export declare function explodeStructure(structure: Structure, unitTransforms: StructureUnitTransforms, t: number, sphere: Sphere3D): void;
|
|
14
14
|
export declare const SpinStructureParams: {
|
|
15
15
|
axis: PD.Mapped<PD.NamedParams<PD.Normalize<{
|
|
16
|
-
principalAxis: "dirA" | "dirB" | "dirC";
|
|
17
|
-
}>, "structure"> | PD.NamedParams<PD.Normalize<{
|
|
18
16
|
vector: Vec3;
|
|
19
|
-
}>, "custom"
|
|
20
|
-
|
|
17
|
+
}>, "custom"> | PD.NamedParams<PD.Normalize<{
|
|
18
|
+
principalAxis: "dirA" | "dirB" | "dirC";
|
|
19
|
+
}>, "structure">>;
|
|
20
|
+
origin: PD.Mapped<PD.NamedParams<PD.Normalize<{
|
|
21
21
|
vector: Vec3;
|
|
22
|
-
}>, "custom">>;
|
|
22
|
+
}>, "custom"> | PD.NamedParams<PD.Normalize<unknown>, "structure">>;
|
|
23
23
|
};
|
|
24
24
|
export declare type SpinStructureProps = PD.Values<typeof SpinStructureParams>;
|
|
25
25
|
export declare function getSpinStructureAxisAndOrigin(structure: Structure, props: SpinStructureProps): {
|
|
@@ -50,14 +50,14 @@ export declare const PresetTrajectoryHierarchy: {
|
|
|
50
50
|
dynamicBonds: any;
|
|
51
51
|
}>, "auto"> | PD.NamedParams<PD.Normalize<{
|
|
52
52
|
dynamicBonds: any;
|
|
53
|
-
|
|
54
|
-
}>, "assembly"> | PD.NamedParams<PD.Normalize<{
|
|
53
|
+
}>, "model"> | PD.NamedParams<PD.Normalize<{
|
|
55
54
|
dynamicBonds: any;
|
|
56
55
|
ijkMin: any;
|
|
57
56
|
ijkMax: any;
|
|
58
57
|
}>, "symmetry"> | PD.NamedParams<PD.Normalize<{
|
|
59
58
|
dynamicBonds: any;
|
|
60
|
-
|
|
59
|
+
id: any;
|
|
60
|
+
}>, "assembly"> | PD.NamedParams<PD.Normalize<{
|
|
61
61
|
dynamicBonds: any;
|
|
62
62
|
radius: any;
|
|
63
63
|
}>, "symmetry-mates"> | PD.NamedParams<PD.Normalize<{
|
|
@@ -32,14 +32,14 @@ export declare class TrajectoryHierarchyBuilder {
|
|
|
32
32
|
dynamicBonds: any;
|
|
33
33
|
}>, "auto"> | PD.NamedParams<PD.Normalize<{
|
|
34
34
|
dynamicBonds: any;
|
|
35
|
-
|
|
36
|
-
}>, "assembly"> | PD.NamedParams<PD.Normalize<{
|
|
35
|
+
}>, "model"> | PD.NamedParams<PD.Normalize<{
|
|
37
36
|
dynamicBonds: any;
|
|
38
37
|
ijkMin: any;
|
|
39
38
|
ijkMax: any;
|
|
40
39
|
}>, "symmetry"> | PD.NamedParams<PD.Normalize<{
|
|
41
40
|
dynamicBonds: any;
|
|
42
|
-
|
|
41
|
+
id: any;
|
|
42
|
+
}>, "assembly"> | PD.NamedParams<PD.Normalize<{
|
|
43
43
|
dynamicBonds: any;
|
|
44
44
|
radius: any;
|
|
45
45
|
}>, "symmetry-mates"> | PD.NamedParams<PD.Normalize<{
|
|
@@ -29,11 +29,11 @@ export declare namespace StructureRepresentationPresetProvider {
|
|
|
29
29
|
};
|
|
30
30
|
const CommonParams: {
|
|
31
31
|
ignoreHydrogens: PD.Base<boolean | undefined>;
|
|
32
|
-
quality: PD.Base<"
|
|
32
|
+
quality: PD.Base<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest" | undefined>;
|
|
33
33
|
theme: PD.Base<PD.Normalize<{
|
|
34
|
-
globalName: "uniform" | "
|
|
35
|
-
carbonColor: "
|
|
36
|
-
symmetryColor: "uniform" | "
|
|
34
|
+
globalName: "uniform" | "atom-id" | "carbohydrate-symbol" | "chain-id" | "element-index" | "operator-name" | "element-symbol" | "entity-id" | "entity-source" | "hydrophobicity" | "illustrative" | "model-index" | "molecule-type" | "occupancy" | "operator-hkl" | "partial-charge" | "polymer-id" | "polymer-index" | "residue-name" | "secondary-structure" | "sequence-id" | "shape-group" | "uncertainty" | "unit-index" | undefined;
|
|
35
|
+
carbonColor: "chain-id" | "operator-name" | "element-symbol" | undefined;
|
|
36
|
+
symmetryColor: "uniform" | "atom-id" | "carbohydrate-symbol" | "chain-id" | "element-index" | "operator-name" | "element-symbol" | "entity-id" | "entity-source" | "hydrophobicity" | "illustrative" | "model-index" | "molecule-type" | "occupancy" | "operator-hkl" | "partial-charge" | "polymer-id" | "polymer-index" | "residue-name" | "secondary-structure" | "sequence-id" | "shape-group" | "uncertainty" | "unit-index" | undefined;
|
|
37
37
|
focus: PD.Normalize<{
|
|
38
38
|
name: any;
|
|
39
39
|
params: any;
|
|
@@ -44,37 +44,37 @@ export declare namespace StructureRepresentationPresetProvider {
|
|
|
44
44
|
function reprBuilder(plugin: PluginContext, params: CommonParams, structure?: Structure): {
|
|
45
45
|
update: import("../../../mol-state/state/builder").StateBuilder.Root;
|
|
46
46
|
builder: import("./representation").StructureRepresentationBuilder;
|
|
47
|
-
color: "uniform" | "
|
|
48
|
-
symmetryColor: "uniform" | "
|
|
47
|
+
color: "uniform" | "atom-id" | "carbohydrate-symbol" | "chain-id" | "element-index" | "operator-name" | "element-symbol" | "entity-id" | "entity-source" | "hydrophobicity" | "illustrative" | "model-index" | "molecule-type" | "occupancy" | "operator-hkl" | "partial-charge" | "polymer-id" | "polymer-index" | "residue-name" | "secondary-structure" | "sequence-id" | "shape-group" | "uncertainty" | "unit-index" | undefined;
|
|
48
|
+
symmetryColor: "uniform" | "atom-id" | "carbohydrate-symbol" | "chain-id" | "element-index" | "operator-name" | "element-symbol" | "entity-id" | "entity-source" | "hydrophobicity" | "illustrative" | "model-index" | "molecule-type" | "occupancy" | "operator-hkl" | "partial-charge" | "polymer-id" | "polymer-index" | "residue-name" | "secondary-structure" | "sequence-id" | "shape-group" | "uncertainty" | "unit-index" | undefined;
|
|
49
49
|
typeParams: {
|
|
50
|
-
quality: "
|
|
50
|
+
quality: "custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest";
|
|
51
51
|
ignoreHydrogens: boolean;
|
|
52
52
|
};
|
|
53
53
|
ballAndStickColor: Partial<PD.Values<{
|
|
54
|
-
carbonColor: PD.Mapped<PD.NamedParams<PD.Normalize<
|
|
54
|
+
carbonColor: PD.Mapped<PD.NamedParams<PD.Normalize<{
|
|
55
55
|
palette: PD.NamedParams<PD.Normalize<{
|
|
56
|
+
list: any;
|
|
57
|
+
}>, "colors"> | PD.NamedParams<PD.Normalize<{
|
|
56
58
|
maxCount: any;
|
|
57
59
|
hue: any;
|
|
58
60
|
chroma: any;
|
|
59
61
|
luminance: any;
|
|
60
62
|
clusteringStepCount: any;
|
|
61
63
|
minSampleCount: any;
|
|
62
|
-
}>, "generate"
|
|
63
|
-
list: any;
|
|
64
|
-
}>, "colors">;
|
|
64
|
+
}>, "generate">;
|
|
65
65
|
asymId: "label" | "auth";
|
|
66
66
|
}>, "chain-id"> | PD.NamedParams<PD.Normalize<{
|
|
67
67
|
palette: PD.NamedParams<PD.Normalize<{
|
|
68
|
+
list: any;
|
|
69
|
+
}>, "colors"> | PD.NamedParams<PD.Normalize<{
|
|
68
70
|
maxCount: any;
|
|
69
71
|
hue: any;
|
|
70
72
|
chroma: any;
|
|
71
73
|
luminance: any;
|
|
72
74
|
clusteringStepCount: any;
|
|
73
75
|
minSampleCount: any;
|
|
74
|
-
}>, "generate"
|
|
75
|
-
|
|
76
|
-
}>, "colors">;
|
|
77
|
-
}>, "operator-name">>;
|
|
76
|
+
}>, "generate">;
|
|
77
|
+
}>, "operator-name"> | PD.NamedParams<PD.Normalize<unknown>, "element-symbol">>;
|
|
78
78
|
saturation: PD.Numeric;
|
|
79
79
|
lightness: PD.Numeric;
|
|
80
80
|
}>>;
|
|
@@ -94,7 +94,7 @@ export declare const PresetStructureRepresentations: {
|
|
|
94
94
|
empty: StructureRepresentationPresetProvider<unknown, {}>;
|
|
95
95
|
auto: StructureRepresentationPresetProvider<{
|
|
96
96
|
ignoreHydrogens: boolean | undefined;
|
|
97
|
-
quality: "
|
|
97
|
+
quality: "custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest" | undefined;
|
|
98
98
|
theme: PD.Normalize<{
|
|
99
99
|
globalName: any;
|
|
100
100
|
carbonColor: any;
|
|
@@ -123,7 +123,7 @@ export declare const PresetStructureRepresentations: {
|
|
|
123
123
|
'atomic-detail': StructureRepresentationPresetProvider<{
|
|
124
124
|
showCarbohydrateSymbol: boolean;
|
|
125
125
|
ignoreHydrogens: boolean | undefined;
|
|
126
|
-
quality: "
|
|
126
|
+
quality: "custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest" | undefined;
|
|
127
127
|
theme: PD.Normalize<{
|
|
128
128
|
globalName: any;
|
|
129
129
|
carbonColor: any;
|
|
@@ -144,7 +144,7 @@ export declare const PresetStructureRepresentations: {
|
|
|
144
144
|
}>;
|
|
145
145
|
'polymer-cartoon': StructureRepresentationPresetProvider<{
|
|
146
146
|
ignoreHydrogens: boolean | undefined;
|
|
147
|
-
quality: "
|
|
147
|
+
quality: "custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest" | undefined;
|
|
148
148
|
theme: PD.Normalize<{
|
|
149
149
|
globalName: any;
|
|
150
150
|
carbonColor: any;
|
|
@@ -164,7 +164,7 @@ export declare const PresetStructureRepresentations: {
|
|
|
164
164
|
}>;
|
|
165
165
|
'polymer-and-ligand': StructureRepresentationPresetProvider<{
|
|
166
166
|
ignoreHydrogens: boolean | undefined;
|
|
167
|
-
quality: "
|
|
167
|
+
quality: "custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest" | undefined;
|
|
168
168
|
theme: PD.Normalize<{
|
|
169
169
|
globalName: any;
|
|
170
170
|
carbonColor: any;
|
|
@@ -199,7 +199,7 @@ export declare const PresetStructureRepresentations: {
|
|
|
199
199
|
}>;
|
|
200
200
|
'protein-and-nucleic': StructureRepresentationPresetProvider<{
|
|
201
201
|
ignoreHydrogens: boolean | undefined;
|
|
202
|
-
quality: "
|
|
202
|
+
quality: "custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest" | undefined;
|
|
203
203
|
theme: PD.Normalize<{
|
|
204
204
|
globalName: any;
|
|
205
205
|
carbonColor: any;
|
|
@@ -221,7 +221,7 @@ export declare const PresetStructureRepresentations: {
|
|
|
221
221
|
}>;
|
|
222
222
|
'coarse-surface': StructureRepresentationPresetProvider<{
|
|
223
223
|
ignoreHydrogens: boolean | undefined;
|
|
224
|
-
quality: "
|
|
224
|
+
quality: "custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest" | undefined;
|
|
225
225
|
theme: PD.Normalize<{
|
|
226
226
|
globalName: any;
|
|
227
227
|
carbonColor: any;
|
|
@@ -17,7 +17,7 @@ export declare class StructureRepresentationBuilder {
|
|
|
17
17
|
private get dataState();
|
|
18
18
|
readonly defaultProvider: StructureRepresentationPresetProvider<{
|
|
19
19
|
ignoreHydrogens: boolean | undefined;
|
|
20
|
-
quality: "
|
|
20
|
+
quality: "custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest" | undefined;
|
|
21
21
|
theme: PD.Normalize<{
|
|
22
22
|
globalName: any;
|
|
23
23
|
carbonColor: any;
|
|
@@ -71,14 +71,14 @@ export declare const CubeProvider: {
|
|
|
71
71
|
dynamicBonds: any;
|
|
72
72
|
}>, "auto"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
73
73
|
dynamicBonds: any;
|
|
74
|
-
|
|
75
|
-
}>, "assembly"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
74
|
+
}>, "model"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
76
75
|
dynamicBonds: any;
|
|
77
76
|
ijkMin: any;
|
|
78
77
|
ijkMax: any;
|
|
79
78
|
}>, "symmetry"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
80
79
|
dynamicBonds: any;
|
|
81
|
-
|
|
80
|
+
id: any;
|
|
81
|
+
}>, "assembly"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
82
82
|
dynamicBonds: any;
|
|
83
83
|
radius: any;
|
|
84
84
|
}>, "symmetry-mates"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
@@ -152,14 +152,14 @@ export declare const BuiltInVolumeFormats: readonly [readonly ["ccp4", {
|
|
|
152
152
|
dynamicBonds: any;
|
|
153
153
|
}>, "auto"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
154
154
|
dynamicBonds: any;
|
|
155
|
-
|
|
156
|
-
}>, "assembly"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
155
|
+
}>, "model"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
157
156
|
dynamicBonds: any;
|
|
158
157
|
ijkMin: any;
|
|
159
158
|
ijkMax: any;
|
|
160
159
|
}>, "symmetry"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
161
160
|
dynamicBonds: any;
|
|
162
|
-
|
|
161
|
+
id: any;
|
|
162
|
+
}>, "assembly"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
163
163
|
dynamicBonds: any;
|
|
164
164
|
radius: any;
|
|
165
165
|
}>, "symmetry-mates"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
@@ -16,14 +16,14 @@ export declare namespace RootStructureDefinition {
|
|
|
16
16
|
dynamicBonds: boolean | undefined;
|
|
17
17
|
}>, "auto"> | PD.NamedParams<PD.Normalize<{
|
|
18
18
|
dynamicBonds: boolean | undefined;
|
|
19
|
-
|
|
20
|
-
}>, "assembly"> | PD.NamedParams<PD.Normalize<{
|
|
19
|
+
}>, "model"> | PD.NamedParams<PD.Normalize<{
|
|
21
20
|
dynamicBonds: boolean | undefined;
|
|
22
21
|
ijkMin: Vec3;
|
|
23
22
|
ijkMax: Vec3;
|
|
24
23
|
}>, "symmetry"> | PD.NamedParams<PD.Normalize<{
|
|
25
24
|
dynamicBonds: boolean | undefined;
|
|
26
|
-
|
|
25
|
+
id: string | undefined;
|
|
26
|
+
}>, "assembly"> | PD.NamedParams<PD.Normalize<{
|
|
27
27
|
dynamicBonds: boolean | undefined;
|
|
28
28
|
radius: number;
|
|
29
29
|
}>, "symmetry-mates"> | PD.NamedParams<PD.Normalize<{
|
|
@@ -13,7 +13,7 @@ import { Script } from '../../mol-script/script';
|
|
|
13
13
|
export declare const StaticStructureComponentTypes: readonly ["all", "polymer", "protein", "nucleic", "water", "ion", "lipid", "branched", "ligand", "non-standard", "coarse"];
|
|
14
14
|
export declare type StaticStructureComponentType = (typeof StaticStructureComponentTypes)[number];
|
|
15
15
|
export declare const StructureComponentParams: () => {
|
|
16
|
-
type: PD.Mapped<PD.NamedParams<"all" | "polymer" | "water" | "branched" | "ligand" | "
|
|
16
|
+
type: PD.Mapped<PD.NamedParams<Script, "script"> | PD.NamedParams<"all" | "polymer" | "water" | "branched" | "ligand" | "protein" | "nucleic" | "non-standard" | "coarse" | "ion" | "lipid", "static"> | PD.NamedParams<Expression, "expression"> | PD.NamedParams<StructureElement.Bundle, "bundle">>;
|
|
17
17
|
nullIfEmpty: PD.Base<boolean | undefined>;
|
|
18
18
|
label: PD.Text<string>;
|
|
19
19
|
};
|
|
@@ -21,7 +21,7 @@ export declare type StructureComponentParams = PD.ValuesFor<ReturnType<typeof St
|
|
|
21
21
|
export declare function createStructureComponent(a: Structure, params: StructureComponentParams, cache: {
|
|
22
22
|
source: Structure;
|
|
23
23
|
entry?: StructureQueryHelper.CacheEntry;
|
|
24
|
-
}): StateObject<any, any
|
|
24
|
+
}): SO.Molecule.Structure | StateObject<any, any>;
|
|
25
25
|
export declare function updateStructureComponent(a: Structure, b: SO.Molecule.Structure, oldParams: StructureComponentParams, newParams: StructureComponentParams, cache: {
|
|
26
26
|
source: Structure;
|
|
27
27
|
entry?: StructureQueryHelper.CacheEntry;
|
|
@@ -37,7 +37,7 @@ declare class InteractivityManager extends StatefulPluginComponent<Interactivity
|
|
|
37
37
|
}
|
|
38
38
|
declare namespace InteractivityManager {
|
|
39
39
|
const Params: {
|
|
40
|
-
granularity: PD.Select<"
|
|
40
|
+
granularity: PD.Select<"model" | "structure" | "residue" | "entity" | "chain" | "element" | "operator" | "elementInstances" | "residueInstances" | "chainInstances">;
|
|
41
41
|
};
|
|
42
42
|
type Params = typeof Params;
|
|
43
43
|
type Props = PD.Values<Params>;
|
|
@@ -57,7 +57,7 @@ declare class StructureComponentManager extends StatefulPluginComponent<Structur
|
|
|
57
57
|
declare namespace StructureComponentManager {
|
|
58
58
|
const OptionsParams: {
|
|
59
59
|
showHydrogens: PD.BooleanParam;
|
|
60
|
-
visualQuality: PD.Select<"
|
|
60
|
+
visualQuality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">;
|
|
61
61
|
interactions: PD.Group<PD.Normalize<{
|
|
62
62
|
providers: PD.Normalize<{
|
|
63
63
|
ionic: any;
|
|
@@ -100,11 +100,11 @@ declare namespace StructureComponentManager {
|
|
|
100
100
|
selection: PD.Select<StructureSelectionQuery>;
|
|
101
101
|
action: PD.Mapped<PD.NamedParams<PD.Normalize<{
|
|
102
102
|
color: import("../../../mol-util/color").Color;
|
|
103
|
-
}>, "color"> | PD.NamedParams<PD.Normalize<
|
|
103
|
+
}>, "color"> | PD.NamedParams<PD.Normalize<{
|
|
104
104
|
value: number;
|
|
105
105
|
}>, "transparency"> | PD.NamedParams<PD.Normalize<{
|
|
106
106
|
excludeGroups: ("one" | "two" | "three" | "four" | "five" | "six")[];
|
|
107
|
-
}>, "clipping">>;
|
|
107
|
+
}>, "clipping"> | PD.NamedParams<PD.Normalize<unknown>, "reset">>;
|
|
108
108
|
representations: PD.MultiSelect<string>;
|
|
109
109
|
};
|
|
110
110
|
type ThemeParams = PD.Values<ReturnType<typeof getThemeParams>>;
|
|
@@ -50,9 +50,9 @@ export declare class StructureSelectionManager extends StatefulPluginComponent<S
|
|
|
50
50
|
private onUpdate;
|
|
51
51
|
/** Removes all selections and returns them */
|
|
52
52
|
clear(): StructureElement.Loci[];
|
|
53
|
-
getLoci(structure: Structure):
|
|
53
|
+
getLoci(structure: Structure): {
|
|
54
54
|
kind: "empty-loci";
|
|
55
|
-
};
|
|
55
|
+
} | StructureElement.Loci;
|
|
56
56
|
getStructure(structure: Structure): Structure | undefined;
|
|
57
57
|
structureHasSelection(structure: StructureRef): boolean;
|
|
58
58
|
has(loci: Loci): boolean;
|
|
@@ -42,7 +42,7 @@ declare const DownloadBlob: StateTransformer<SO.Root, SO.Data.Blob, PD.Normalize
|
|
|
42
42
|
}>>;
|
|
43
43
|
declare type RawData = typeof RawData;
|
|
44
44
|
declare const RawData: StateTransformer<SO.Root, SO.Data.String | SO.Data.Binary, PD.Normalize<{
|
|
45
|
-
data: string |
|
|
45
|
+
data: string | Uint8Array | number[] | ArrayBuffer;
|
|
46
46
|
label: string | undefined;
|
|
47
47
|
}>>;
|
|
48
48
|
declare type ReadFile = typeof ReadFile;
|
|
@@ -86,14 +86,14 @@ declare const StructureFromModel: StateTransformer<SO.Molecule.Model, SO.Molecul
|
|
|
86
86
|
dynamicBonds: any;
|
|
87
87
|
}>, "auto"> | PD.NamedParams<PD.Normalize<{
|
|
88
88
|
dynamicBonds: any;
|
|
89
|
-
|
|
90
|
-
}>, "assembly"> | PD.NamedParams<PD.Normalize<{
|
|
89
|
+
}>, "model"> | PD.NamedParams<PD.Normalize<{
|
|
91
90
|
dynamicBonds: any;
|
|
92
91
|
ijkMin: any;
|
|
93
92
|
ijkMax: any;
|
|
94
93
|
}>, "symmetry"> | PD.NamedParams<PD.Normalize<{
|
|
95
94
|
dynamicBonds: any;
|
|
96
|
-
|
|
95
|
+
id: any;
|
|
96
|
+
}>, "assembly"> | PD.NamedParams<PD.Normalize<{
|
|
97
97
|
dynamicBonds: any;
|
|
98
98
|
radius: any;
|
|
99
99
|
}>, "symmetry-mates"> | PD.NamedParams<PD.Normalize<{
|
|
@@ -154,11 +154,11 @@ export declare const StructureComplexElementTypes: {
|
|
|
154
154
|
export declare type StructureComplexElementTypes = keyof typeof StructureComplexElementTypes;
|
|
155
155
|
declare type StructureComplexElement = typeof StructureComplexElement;
|
|
156
156
|
declare const StructureComplexElement: StateTransformer<SO.Molecule.Structure, SO.Molecule.Structure, PD.Normalize<{
|
|
157
|
-
type: "spheres" | "polymer" | "water" | "branched" | "ligand" | "
|
|
157
|
+
type: "spheres" | "polymer" | "water" | "branched" | "ligand" | "protein" | "nucleic" | "non-standard" | "coarse" | "atomic-sequence" | "atomic-het";
|
|
158
158
|
}>>;
|
|
159
159
|
declare type StructureComponent = typeof StructureComponent;
|
|
160
160
|
declare const StructureComponent: StateTransformer<SO.Molecule.Structure, SO.Molecule.Structure, PD.Normalize<{
|
|
161
|
-
type: PD.NamedParams<"all" | "polymer" | "water" | "branched" | "ligand" | "
|
|
161
|
+
type: PD.NamedParams<Script, "script"> | PD.NamedParams<"all" | "polymer" | "water" | "branched" | "ligand" | "protein" | "nucleic" | "non-standard" | "coarse" | "ion" | "lipid", "static"> | PD.NamedParams<Expression, "expression"> | PD.NamedParams<StructureElement.Bundle, "bundle">;
|
|
162
162
|
nullIfEmpty: boolean | undefined;
|
|
163
163
|
label: string;
|
|
164
164
|
}>>;
|
|
@@ -45,13 +45,13 @@ declare const ExplodeStructureRepresentation3D: StateTransformer<SO.Molecule.Str
|
|
|
45
45
|
declare type SpinStructureRepresentation3D = typeof SpinStructureRepresentation3D;
|
|
46
46
|
declare const SpinStructureRepresentation3D: StateTransformer<SO.Molecule.Structure.Representation3D, SO.Molecule.Structure.Representation3DState, PD.Normalize<{
|
|
47
47
|
axis: PD.NamedParams<PD.Normalize<{
|
|
48
|
-
principalAxis: any;
|
|
49
|
-
}>, "structure"> | PD.NamedParams<PD.Normalize<{
|
|
50
48
|
vector: any;
|
|
51
|
-
}>, "custom"
|
|
52
|
-
|
|
49
|
+
}>, "custom"> | PD.NamedParams<PD.Normalize<{
|
|
50
|
+
principalAxis: any;
|
|
51
|
+
}>, "structure">;
|
|
52
|
+
origin: PD.NamedParams<PD.Normalize<{
|
|
53
53
|
vector: any;
|
|
54
|
-
}>, "custom">;
|
|
54
|
+
}>, "custom"> | PD.NamedParams<PD.Normalize<unknown>, "structure">;
|
|
55
55
|
t: number;
|
|
56
56
|
}>>;
|
|
57
57
|
declare type OverpaintStructureRepresentation3DFromScript = typeof OverpaintStructureRepresentation3DFromScript;
|
|
@@ -118,14 +118,14 @@ declare const ModelUnitcell3D: StateTransformer<SO.Molecule.Model, SO.Shape.Repr
|
|
|
118
118
|
cellColor: Color;
|
|
119
119
|
cellScale: number;
|
|
120
120
|
ref: "origin" | "model";
|
|
121
|
-
attachment: "
|
|
121
|
+
attachment: "corner" | "center";
|
|
122
122
|
doubleSided: boolean;
|
|
123
123
|
flipSided: boolean;
|
|
124
124
|
flatShaded: boolean;
|
|
125
125
|
ignoreLight: boolean;
|
|
126
126
|
xrayShaded: boolean;
|
|
127
127
|
alpha: number;
|
|
128
|
-
quality: "
|
|
128
|
+
quality: "custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest";
|
|
129
129
|
}>>;
|
|
130
130
|
export { StructureBoundingBox3D };
|
|
131
131
|
declare type StructureBoundingBox3D = typeof StructureBoundingBox3D;
|
|
@@ -136,7 +136,7 @@ declare const StructureBoundingBox3D: StateTransformer<SO.Molecule.Structure, SO
|
|
|
136
136
|
ignoreLight: boolean;
|
|
137
137
|
xrayShaded: boolean;
|
|
138
138
|
alpha: number;
|
|
139
|
-
quality: "
|
|
139
|
+
quality: "custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest";
|
|
140
140
|
radius: number;
|
|
141
141
|
color: Color;
|
|
142
142
|
}>>;
|
|
@@ -168,7 +168,7 @@ declare const StructureSelectionsDistance3D: StateTransformer<SO.Molecule.Struct
|
|
|
168
168
|
fontVariant: import("../../mol-geo/geometry/text/font-atlas").FontVariant;
|
|
169
169
|
fontWeight: import("../../mol-geo/geometry/text/font-atlas").FontWeight;
|
|
170
170
|
alpha: number;
|
|
171
|
-
quality: "
|
|
171
|
+
quality: "custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest";
|
|
172
172
|
lineSizeAttenuation: boolean;
|
|
173
173
|
linesColor: Color;
|
|
174
174
|
linesSize: number;
|
|
@@ -201,7 +201,7 @@ declare const StructureSelectionsAngle3D: StateTransformer<SO.Molecule.Structure
|
|
|
201
201
|
fontVariant: import("../../mol-geo/geometry/text/font-atlas").FontVariant;
|
|
202
202
|
fontWeight: import("../../mol-geo/geometry/text/font-atlas").FontWeight;
|
|
203
203
|
alpha: number;
|
|
204
|
-
quality: "
|
|
204
|
+
quality: "custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest";
|
|
205
205
|
ignoreLight: boolean;
|
|
206
206
|
sectorOpacity: number;
|
|
207
207
|
color: Color;
|
|
@@ -241,7 +241,7 @@ declare const StructureSelectionsDihedral3D: StateTransformer<SO.Molecule.Struct
|
|
|
241
241
|
fontVariant: import("../../mol-geo/geometry/text/font-atlas").FontVariant;
|
|
242
242
|
fontWeight: import("../../mol-geo/geometry/text/font-atlas").FontWeight;
|
|
243
243
|
alpha: number;
|
|
244
|
-
quality: "
|
|
244
|
+
quality: "custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest";
|
|
245
245
|
ignoreLight: boolean;
|
|
246
246
|
sectorOpacity: number;
|
|
247
247
|
color: Color;
|
|
@@ -282,12 +282,12 @@ declare const StructureSelectionsLabel3D: StateTransformer<SO.Molecule.Structure
|
|
|
282
282
|
fontVariant: import("../../mol-geo/geometry/text/font-atlas").FontVariant;
|
|
283
283
|
fontWeight: import("../../mol-geo/geometry/text/font-atlas").FontWeight;
|
|
284
284
|
alpha: number;
|
|
285
|
-
quality: "
|
|
285
|
+
quality: "custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest";
|
|
286
286
|
}>>;
|
|
287
287
|
export { StructureSelectionsOrientation3D };
|
|
288
288
|
declare type StructureSelectionsOrientation3D = typeof StructureSelectionsOrientation3D;
|
|
289
289
|
declare const StructureSelectionsOrientation3D: StateTransformer<SO.Molecule.Structure.Selections, SO.Shape.Representation3D, PD.Normalize<{
|
|
290
|
-
visuals: ("
|
|
290
|
+
visuals: ("axes" | "ellipsoid" | "box")[];
|
|
291
291
|
color: Color;
|
|
292
292
|
scaleFactor: number;
|
|
293
293
|
radiusScale: number;
|
|
@@ -297,7 +297,7 @@ declare const StructureSelectionsOrientation3D: StateTransformer<SO.Molecule.Str
|
|
|
297
297
|
ignoreLight: boolean;
|
|
298
298
|
xrayShaded: boolean;
|
|
299
299
|
alpha: number;
|
|
300
|
-
quality: "
|
|
300
|
+
quality: "custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest";
|
|
301
301
|
}>>;
|
|
302
302
|
export { StructureSelectionsPlane3D };
|
|
303
303
|
declare type StructureSelectionsPlane3D = typeof StructureSelectionsPlane3D;
|
|
@@ -311,5 +311,5 @@ declare const StructureSelectionsPlane3D: StateTransformer<SO.Molecule.Structure
|
|
|
311
311
|
ignoreLight: boolean;
|
|
312
312
|
xrayShaded: boolean;
|
|
313
313
|
alpha: number;
|
|
314
|
-
quality: "
|
|
314
|
+
quality: "custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest";
|
|
315
315
|
}>>;
|
|
@@ -186,7 +186,7 @@ export declare class ColorListControl extends React.PureComponent<ParamProps<PD.
|
|
|
186
186
|
}> {
|
|
187
187
|
state: {
|
|
188
188
|
showHelp: boolean;
|
|
189
|
-
show: "
|
|
189
|
+
show: "presets" | "edit" | undefined;
|
|
190
190
|
};
|
|
191
191
|
protected update(value: PD.ColorList['defaultValue']): void;
|
|
192
192
|
toggleEdit: () => void;
|
|
@@ -205,7 +205,7 @@ export declare class OffsetColorListControl extends React.PureComponent<ParamPro
|
|
|
205
205
|
}> {
|
|
206
206
|
state: {
|
|
207
207
|
showHelp: boolean;
|
|
208
|
-
show: "
|
|
208
|
+
show: "presets" | "edit" | undefined;
|
|
209
209
|
};
|
|
210
210
|
protected update(value: PD.ColorList['defaultValue']): void;
|
|
211
211
|
toggleEdit: () => void;
|
|
@@ -33,7 +33,7 @@ export declare class MeasurementControls extends PurePluginUIComponent<{}, {
|
|
|
33
33
|
}> {
|
|
34
34
|
state: {
|
|
35
35
|
isBusy: boolean;
|
|
36
|
-
action: "
|
|
36
|
+
action: "options" | "add" | undefined;
|
|
37
37
|
};
|
|
38
38
|
componentDidMount(): void;
|
|
39
39
|
componentWillUnmount(): void;
|
|
@@ -34,7 +34,7 @@ export declare const AngleParams: {
|
|
|
34
34
|
fontVariant: PD.Select<import("../../../mol-geo/geometry/text/font-atlas").FontVariant>;
|
|
35
35
|
fontWeight: PD.Select<import("../../../mol-geo/geometry/text/font-atlas").FontWeight>;
|
|
36
36
|
alpha: PD.Numeric;
|
|
37
|
-
quality: PD.Select<"
|
|
37
|
+
quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">;
|
|
38
38
|
ignoreLight: PD.BooleanParam;
|
|
39
39
|
sectorOpacity: PD.Numeric;
|
|
40
40
|
color: PD.Color;
|
|
@@ -34,6 +34,6 @@ export declare const LociLabelTextParams: {
|
|
|
34
34
|
fontVariant: PD.Select<import("../../../mol-geo/geometry/text/font-atlas").FontVariant>;
|
|
35
35
|
fontWeight: PD.Select<import("../../../mol-geo/geometry/text/font-atlas").FontWeight>;
|
|
36
36
|
alpha: PD.Numeric;
|
|
37
|
-
quality: PD.Select<"
|
|
37
|
+
quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">;
|
|
38
38
|
};
|
|
39
39
|
export declare type LociLabelTextParams = typeof LociLabelTextParams;
|