molstar 2.4.0 → 2.4.1
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/apps/docking-viewer/viewport.d.ts +2 -2
- package/lib/cli/chem-comp-dict/util.d.ts +4 -4
- package/lib/commonjs/apps/docking-viewer/viewport.d.ts +2 -2
- package/lib/commonjs/apps/viewer/index.d.ts +2 -2
- package/lib/commonjs/cli/chem-comp-dict/util.d.ts +4 -4
- package/lib/commonjs/extensions/alpha-orbitals/transforms.d.ts +1 -1
- 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/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/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 +4 -4
- package/lib/commonjs/mol-canvas3d/helper/camera-helper.d.ts +1 -1
- package/lib/commonjs/mol-canvas3d/helper/handle-helper.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 +1 -1
- package/lib/commonjs/mol-geo/geometry/image/image.d.ts +3 -3
- package/lib/commonjs/mol-geo/geometry/lines/lines.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/mesh/builder/tube.js +18 -8
- package/lib/commonjs/mol-geo/geometry/mesh/builder/tube.js.map +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/renderer.d.ts +2 -2
- package/lib/commonjs/mol-gl/webgl/context.d.ts +1 -1
- package/lib/commonjs/mol-io/common/typed-array.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 +20 -20
- package/lib/commonjs/mol-model/shape/shape.d.ts +1 -1
- package/lib/commonjs/mol-model/structure/query/utils/structure-distance.d.ts +54 -5
- package/lib/commonjs/mol-model/structure/structure/properties.d.ts +2 -2
- 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 +5 -5
- package/lib/commonjs/mol-model-formats/structure/common/component.d.ts +8 -8
- package/lib/commonjs/mol-model-props/computed/interactions/hydrogen-bonds.d.ts +1 -1
- package/lib/commonjs/mol-model-props/computed/interactions/hydrogen-bonds.js +1 -7
- package/lib/commonjs/mol-model-props/computed/interactions/hydrogen-bonds.js.map +1 -1
- 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-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 +4 -4
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/transformers.d.ts +2 -2
- package/lib/commonjs/mol-plugin/commands.d.ts +2 -2
- package/lib/commonjs/mol-plugin/config.d.ts +1 -1
- package/lib/commonjs/mol-plugin/layout.d.ts +4 -4
- package/lib/commonjs/mol-plugin/util/viewport-screenshot.d.ts +3 -3
- package/lib/commonjs/mol-plugin-state/actions/structure.d.ts +2 -2
- package/lib/commonjs/mol-plugin-state/animation/built-in/model-index.d.ts +3 -3
- package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy-preset.d.ts +5 -5
- package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy.d.ts +5 -5
- package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.d.ts +15 -15
- package/lib/commonjs/mol-plugin-state/builder/structure/representation.d.ts +1 -1
- package/lib/commonjs/mol-plugin-state/formats/volume.d.ts +10 -10
- package/lib/commonjs/mol-plugin-state/helpers/root-structure.d.ts +5 -5
- package/lib/commonjs/mol-plugin-state/helpers/structure-component.d.ts +1 -1
- 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/transforms/data.d.ts +1 -1
- package/lib/commonjs/mol-plugin-state/transforms/model.d.ts +7 -7
- package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +10 -10
- package/lib/commonjs/mol-plugin-ui/controls/parameters.d.ts +2 -2
- package/lib/commonjs/mol-plugin-ui/sequence/polymer.d.ts +1 -1
- 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 +12 -12
- package/lib/commonjs/mol-repr/structure/params.d.ts +11 -11
- package/lib/commonjs/mol-repr/structure/registry.d.ts +41 -41
- package/lib/commonjs/mol-repr/structure/representation/backbone.d.ts +6 -6
- package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +15 -15
- package/lib/commonjs/mol-repr/structure/representation/carbohydrate.d.ts +6 -6
- package/lib/commonjs/mol-repr/structure/representation/cartoon.d.ts +9 -9
- package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +15 -15
- package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +6 -6
- package/lib/commonjs/mol-repr/structure/representation/gaussian-volume.d.ts +6 -6
- package/lib/commonjs/mol-repr/structure/representation/label.d.ts +9 -9
- package/lib/commonjs/mol-repr/structure/representation/line.d.ts +18 -18
- 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 +17 -17
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +10 -10
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.d.ts +5 -5
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +10 -10
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.d.ts +5 -5
- 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 +4 -4
- 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 +5 -5
- 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 +18 -18
- package/lib/commonjs/mol-repr/structure/visual/util/common.d.ts +2 -2
- package/lib/commonjs/mol-repr/volume/direct-volume.d.ts +8 -8
- package/lib/commonjs/mol-repr/volume/isosurface.d.ts +12 -12
- package/lib/commonjs/mol-repr/volume/registry.d.ts +8 -8
- package/lib/commonjs/mol-repr/volume/representation.d.ts +1 -1
- package/lib/commonjs/mol-repr/volume/slice.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/element-symbol.d.ts +4 -4
- package/lib/commonjs/mol-theme/color.d.ts +2 -2
- package/lib/commonjs/mol-util/color/lists.d.ts +3 -3
- package/lib/commonjs/mol-util/color/names.d.ts +1 -1
- package/lib/commonjs/mol-util/color/palette.d.ts +1 -1
- package/lib/commonjs/mol-util/color/scale.d.ts +1 -1
- package/lib/commonjs/servers/model/config.d.ts +2 -2
- package/lib/extensions/anvil/behavior.d.ts +2 -2
- package/lib/extensions/anvil/representation.d.ts +5 -5
- package/lib/extensions/cellpack/representation.d.ts +2 -2
- package/lib/extensions/dnatco/confal-pyramids/behavior.d.ts +1 -1
- package/lib/extensions/dnatco/confal-pyramids/representation.d.ts +6 -6
- package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +6 -6
- package/lib/extensions/rcsb/assembly-symmetry/representation.d.ts +1 -1
- package/lib/extensions/rcsb/validation-report/behavior.d.ts +3 -3
- package/lib/extensions/rcsb/validation-report/representation.d.ts +10 -10
- package/lib/mol-canvas3d/canvas3d.d.ts +4 -4
- package/lib/mol-canvas3d/helper/camera-helper.d.ts +1 -1
- package/lib/mol-canvas3d/helper/handle-helper.d.ts +1 -1
- package/lib/mol-data/int/impl/ordered-set.d.ts +3 -3
- package/lib/mol-geo/geometry/base.d.ts +3 -3
- package/lib/mol-geo/geometry/cylinders/cylinders.d.ts +1 -1
- package/lib/mol-geo/geometry/direct-volume/direct-volume.d.ts +1 -1
- package/lib/mol-geo/geometry/image/image.d.ts +3 -3
- package/lib/mol-geo/geometry/lines/lines.d.ts +1 -1
- package/lib/mol-geo/geometry/mesh/builder/tube.js +19 -9
- package/lib/mol-geo/geometry/mesh/builder/tube.js.map +1 -1
- package/lib/mol-geo/geometry/mesh/mesh.d.ts +1 -1
- package/lib/mol-geo/geometry/points/points.d.ts +3 -3
- package/lib/mol-geo/geometry/spheres/spheres.d.ts +1 -1
- package/lib/mol-geo/geometry/text/text.d.ts +1 -1
- package/lib/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +1 -1
- package/lib/mol-gl/renderer.d.ts +2 -2
- package/lib/mol-io/common/typed-array.d.ts +1 -1
- package/lib/mol-io/reader/cif/schema/ccd.d.ts +2 -2
- package/lib/mol-io/reader/cif/schema/density-server.d.ts +3 -3
- package/lib/mol-io/reader/cif/schema/mmcif-extras.d.ts +3 -3
- package/lib/mol-io/reader/cif/schema/mmcif.d.ts +14 -14
- package/lib/mol-io/reader/ply/schema.d.ts +1 -1
- package/lib/mol-model/loci.d.ts +20 -20
- package/lib/mol-model/shape/shape.d.ts +1 -1
- package/lib/mol-model/structure/structure/properties.d.ts +2 -2
- package/lib/mol-model/structure/structure/unit.d.ts +2 -2
- package/lib/mol-model-formats/shape/ply.d.ts +6 -6
- package/lib/mol-model-formats/structure/basic/schema.d.ts +5 -5
- package/lib/mol-model-formats/structure/common/component.d.ts +8 -8
- package/lib/mol-model-props/computed/interactions/hydrogen-bonds.d.ts +1 -1
- package/lib/mol-model-props/computed/interactions/hydrogen-bonds.js +1 -7
- package/lib/mol-model-props/computed/interactions/hydrogen-bonds.js.map +1 -1
- package/lib/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +2 -2
- package/lib/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +2 -2
- package/lib/mol-model-props/computed/representations/interactions.d.ts +6 -6
- package/lib/mol-model-props/integrative/cross-link-restraint/representation.d.ts +8 -8
- package/lib/mol-plugin/behavior/behavior.d.ts +1 -1
- package/lib/mol-plugin/behavior/dynamic/representation.d.ts +2 -2
- package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +1 -1
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/behavior.d.ts +4 -4
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/transformers.d.ts +2 -2
- package/lib/mol-plugin/commands.d.ts +2 -2
- package/lib/mol-plugin/layout.d.ts +4 -4
- package/lib/mol-plugin/util/viewport-screenshot.d.ts +3 -3
- package/lib/mol-plugin/version.js +2 -2
- package/lib/mol-plugin-state/actions/structure.d.ts +1 -1
- package/lib/mol-plugin-state/animation/built-in/model-index.d.ts +3 -3
- package/lib/mol-plugin-state/builder/structure/hierarchy-preset.d.ts +5 -5
- package/lib/mol-plugin-state/builder/structure/hierarchy.d.ts +5 -5
- package/lib/mol-plugin-state/builder/structure/representation-preset.d.ts +15 -15
- package/lib/mol-plugin-state/builder/structure/representation.d.ts +1 -1
- package/lib/mol-plugin-state/formats/volume.d.ts +10 -10
- package/lib/mol-plugin-state/helpers/root-structure.d.ts +5 -5
- package/lib/mol-plugin-state/helpers/structure-component.d.ts +1 -1
- package/lib/mol-plugin-state/manager/interactivity.d.ts +1 -1
- package/lib/mol-plugin-state/manager/structure/component.d.ts +3 -3
- package/lib/mol-plugin-state/transforms/data.d.ts +1 -1
- package/lib/mol-plugin-state/transforms/model.d.ts +7 -7
- package/lib/mol-plugin-state/transforms/representation.d.ts +10 -10
- package/lib/mol-plugin-ui/structure/measurements.d.ts +1 -1
- package/lib/mol-plugin-ui/structure/selection.d.ts +1 -1
- package/lib/mol-repr/shape/loci/angle.d.ts +1 -1
- package/lib/mol-repr/shape/loci/common.d.ts +1 -1
- package/lib/mol-repr/shape/loci/dihedral.d.ts +1 -1
- package/lib/mol-repr/shape/loci/distance.d.ts +1 -1
- package/lib/mol-repr/shape/loci/label.d.ts +1 -1
- package/lib/mol-repr/shape/loci/orientation.d.ts +2 -2
- package/lib/mol-repr/shape/loci/plane.d.ts +1 -1
- package/lib/mol-repr/shape/model/unitcell.d.ts +2 -2
- package/lib/mol-repr/structure/complex-visual.d.ts +12 -12
- package/lib/mol-repr/structure/params.d.ts +11 -11
- package/lib/mol-repr/structure/registry.d.ts +41 -41
- package/lib/mol-repr/structure/representation/backbone.d.ts +6 -6
- package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +15 -15
- package/lib/mol-repr/structure/representation/carbohydrate.d.ts +6 -6
- package/lib/mol-repr/structure/representation/cartoon.d.ts +9 -9
- package/lib/mol-repr/structure/representation/ellipsoid.d.ts +15 -15
- package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +6 -6
- package/lib/mol-repr/structure/representation/gaussian-volume.d.ts +6 -6
- package/lib/mol-repr/structure/representation/label.d.ts +9 -9
- package/lib/mol-repr/structure/representation/line.d.ts +18 -18
- package/lib/mol-repr/structure/representation/molecular-surface.d.ts +6 -6
- package/lib/mol-repr/structure/representation/orientation.d.ts +6 -6
- package/lib/mol-repr/structure/representation/point.d.ts +9 -9
- package/lib/mol-repr/structure/representation/putty.d.ts +6 -6
- package/lib/mol-repr/structure/representation/spacefill.d.ts +6 -6
- package/lib/mol-repr/structure/units-visual.d.ts +17 -17
- package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +10 -10
- package/lib/mol-repr/structure/visual/bond-inter-unit-line.d.ts +5 -5
- package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +10 -10
- package/lib/mol-repr/structure/visual/bond-intra-unit-line.d.ts +5 -5
- package/lib/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +2 -2
- package/lib/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +2 -2
- package/lib/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +2 -2
- package/lib/mol-repr/structure/visual/element-cross.d.ts +2 -2
- package/lib/mol-repr/structure/visual/element-point.d.ts +3 -3
- package/lib/mol-repr/structure/visual/element-sphere.d.ts +4 -4
- package/lib/mol-repr/structure/visual/ellipsoid-mesh.d.ts +2 -2
- package/lib/mol-repr/structure/visual/gaussian-density-volume.d.ts +4 -4
- package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +8 -8
- package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +2 -2
- package/lib/mol-repr/structure/visual/label-text.d.ts +3 -3
- package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +2 -2
- package/lib/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +2 -2
- package/lib/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +2 -2
- package/lib/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +2 -2
- package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +2 -2
- package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +4 -4
- package/lib/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +4 -4
- package/lib/mol-repr/structure/visual/polymer-direction-wedge.d.ts +2 -2
- package/lib/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +2 -2
- package/lib/mol-repr/structure/visual/polymer-trace-mesh.d.ts +5 -5
- package/lib/mol-repr/structure/visual/polymer-tube-mesh.d.ts +2 -2
- package/lib/mol-repr/structure/visual/util/bond.d.ts +18 -18
- package/lib/mol-repr/structure/visual/util/common.d.ts +2 -2
- package/lib/mol-repr/volume/direct-volume.d.ts +8 -8
- package/lib/mol-repr/volume/isosurface.d.ts +12 -12
- package/lib/mol-repr/volume/registry.d.ts +8 -8
- package/lib/mol-repr/volume/representation.d.ts +1 -1
- package/lib/mol-repr/volume/slice.d.ts +12 -12
- package/lib/mol-theme/color/element-symbol.d.ts +4 -4
- package/lib/mol-theme/color.d.ts +2 -2
- package/lib/mol-util/color/names.d.ts +1 -1
- package/lib/mol-util/color/palette.d.ts +1 -1
- package/lib/mol-util/color/scale.d.ts +1 -1
- package/lib/servers/model/config.d.ts +2 -2
- package/lib/tsconfig.commonjs.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/lib/commonjs/mol-repr/structure/visual/util/color.d.ts +0 -24
- package/lib/commonjs/mol-repr/structure/visual/util/color.js +0 -100
- package/lib/commonjs/mol-repr/structure/visual/util/color.js.map +0 -1
- package/lib/mol-gl/_spec/shader.spec.d.ts +0 -0
- package/lib/mol-gl/_spec/shader.spec.js +0 -2
- package/lib/mol-gl/_spec/shader.spec.js.map +0 -1
- package/lib/mol-gl/compute/copy.d.ts +0 -20
- package/lib/mol-gl/compute/copy.js +0 -24
- package/lib/mol-gl/compute/copy.js.map +0 -1
- package/lib/mol-repr/structure/visual/orientation-axes-mesh.d.ts +0 -35
- package/lib/mol-repr/structure/visual/orientation-axes-mesh.js +0 -43
- package/lib/mol-repr/structure/visual/orientation-axes-mesh.js.map +0 -1
- package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh copy.d.ts +0 -31
- package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh copy.js +0 -48
- package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh copy.js.map +0 -1
- package/lib/mol-repr/structure/visual/util/color.d.ts +0 -24
- package/lib/mol-repr/structure/visual/util/color.js +0 -94
- package/lib/mol-repr/structure/visual/util/color.js.map +0 -1
- package/lib/mol-repr/structure/visual/util/orientation.d.ts +0 -17
- package/lib/mol-repr/structure/visual/util/orientation.js +0 -71
- package/lib/mol-repr/structure/visual/util/orientation.js.map +0 -1
|
@@ -23,7 +23,7 @@ export declare const CrossLinkRestraintCylinderParams: {
|
|
|
23
23
|
dashCap: PD.BooleanParam;
|
|
24
24
|
stubCap: PD.BooleanParam;
|
|
25
25
|
radialSegments: PD.Numeric;
|
|
26
|
-
unitKinds: PD.MultiSelect<"
|
|
26
|
+
unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
27
27
|
includeParent: PD.BooleanParam;
|
|
28
28
|
doubleSided: PD.BooleanParam;
|
|
29
29
|
flipSided: PD.BooleanParam;
|
|
@@ -31,7 +31,7 @@ export declare const CrossLinkRestraintCylinderParams: {
|
|
|
31
31
|
ignoreLight: PD.BooleanParam;
|
|
32
32
|
xrayShaded: PD.BooleanParam;
|
|
33
33
|
alpha: PD.Numeric;
|
|
34
|
-
quality: PD.Select<"
|
|
34
|
+
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
35
35
|
};
|
|
36
36
|
export declare type CrossLinkRestraintCylinderParams = typeof CrossLinkRestraintCylinderParams;
|
|
37
37
|
export declare function CrossLinkRestraintVisual(materialId: number): ComplexVisual<CrossLinkRestraintCylinderParams>;
|
|
@@ -48,7 +48,7 @@ export declare const CrossLinkRestraintParams: {
|
|
|
48
48
|
dashCap: PD.BooleanParam;
|
|
49
49
|
stubCap: PD.BooleanParam;
|
|
50
50
|
radialSegments: PD.Numeric;
|
|
51
|
-
unitKinds: PD.MultiSelect<"
|
|
51
|
+
unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
52
52
|
includeParent: PD.BooleanParam;
|
|
53
53
|
doubleSided: PD.BooleanParam;
|
|
54
54
|
flipSided: PD.BooleanParam;
|
|
@@ -56,7 +56,7 @@ export declare const CrossLinkRestraintParams: {
|
|
|
56
56
|
ignoreLight: PD.BooleanParam;
|
|
57
57
|
xrayShaded: PD.BooleanParam;
|
|
58
58
|
alpha: PD.Numeric;
|
|
59
|
-
quality: PD.Select<"
|
|
59
|
+
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
60
60
|
};
|
|
61
61
|
export declare type CrossLinkRestraintParams = typeof CrossLinkRestraintParams;
|
|
62
62
|
export declare function getCrossLinkRestraintParams(ctx: ThemeRegistryContext, structure: Structure): {
|
|
@@ -72,7 +72,7 @@ export declare function getCrossLinkRestraintParams(ctx: ThemeRegistryContext, s
|
|
|
72
72
|
dashCap: PD.BooleanParam;
|
|
73
73
|
stubCap: PD.BooleanParam;
|
|
74
74
|
radialSegments: PD.Numeric;
|
|
75
|
-
unitKinds: PD.MultiSelect<"
|
|
75
|
+
unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
76
76
|
includeParent: PD.BooleanParam;
|
|
77
77
|
doubleSided: PD.BooleanParam;
|
|
78
78
|
flipSided: PD.BooleanParam;
|
|
@@ -80,7 +80,7 @@ export declare function getCrossLinkRestraintParams(ctx: ThemeRegistryContext, s
|
|
|
80
80
|
ignoreLight: PD.BooleanParam;
|
|
81
81
|
xrayShaded: PD.BooleanParam;
|
|
82
82
|
alpha: PD.Numeric;
|
|
83
|
-
quality: PD.Select<"
|
|
83
|
+
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
84
84
|
};
|
|
85
85
|
export declare type CrossLinkRestraintRepresentation = StructureRepresentation<CrossLinkRestraintParams>;
|
|
86
86
|
export declare function CrossLinkRestraintRepresentation(ctx: RepresentationContext, getParams: RepresentationParamsGetter<Structure, CrossLinkRestraintParams>): CrossLinkRestraintRepresentation;
|
|
@@ -97,7 +97,7 @@ export declare const CrossLinkRestraintRepresentationProvider: StructureRepresen
|
|
|
97
97
|
dashCap: PD.BooleanParam;
|
|
98
98
|
stubCap: PD.BooleanParam;
|
|
99
99
|
radialSegments: PD.Numeric;
|
|
100
|
-
unitKinds: PD.MultiSelect<"
|
|
100
|
+
unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
101
101
|
includeParent: PD.BooleanParam;
|
|
102
102
|
doubleSided: PD.BooleanParam;
|
|
103
103
|
flipSided: PD.BooleanParam;
|
|
@@ -105,5 +105,5 @@ export declare const CrossLinkRestraintRepresentationProvider: StructureRepresen
|
|
|
105
105
|
ignoreLight: PD.BooleanParam;
|
|
106
106
|
xrayShaded: PD.BooleanParam;
|
|
107
107
|
alpha: PD.Numeric;
|
|
108
|
-
quality: PD.Select<"
|
|
108
|
+
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
109
109
|
}, CrossLinkRestraint.Tag>;
|
|
@@ -114,7 +114,7 @@ declare namespace PluginBehavior {
|
|
|
114
114
|
export const CreateCategory: StateTransformer<Root, Category, ParamDefinition.Normalize<{
|
|
115
115
|
label: string;
|
|
116
116
|
}>>;
|
|
117
|
-
export function getCategoryId(t: StateTransformer): "
|
|
117
|
+
export function getCategoryId(t: StateTransformer): "common" | "representation" | "interaction" | "custom-props" | "misc";
|
|
118
118
|
export function create<P>(params: CreateParams<P>): StateTransformer<Category, Behavior, P>;
|
|
119
119
|
export function simpleCommandHandler<T>(cmd: PluginCommand<T>, action: (data: T, ctx: PluginContext) => void | Promise<void>): {
|
|
120
120
|
new (ctx: PluginContext): {
|
|
@@ -12,7 +12,7 @@ export declare const HighlightLoci: import("../../../mol-state/transformer").Sta
|
|
|
12
12
|
hoverHighlightOnly: Binding;
|
|
13
13
|
hoverHighlightOnlyExtend: Binding;
|
|
14
14
|
}>;
|
|
15
|
-
ignore: PD.Value<("
|
|
15
|
+
ignore: PD.Value<("element-loci" | "structure-loci" | "bond-loci" | "volume-loci" | "isosurface-loci" | "cell-loci" | "shape-loci" | "group-loci" | "every-loci" | "empty-loci" | "data-loci")[]>;
|
|
16
16
|
preferAtoms: PD.BooleanParam;
|
|
17
17
|
mark: PD.BooleanParam;
|
|
18
18
|
}>>;
|
|
@@ -25,7 +25,7 @@ export declare const SelectLoci: import("../../../mol-state/transformer").StateT
|
|
|
25
25
|
clickDeselect: Binding;
|
|
26
26
|
clickDeselectAllOnEmpty: Binding;
|
|
27
27
|
}>;
|
|
28
|
-
ignore: PD.Value<("
|
|
28
|
+
ignore: PD.Value<("element-loci" | "structure-loci" | "bond-loci" | "volume-loci" | "isosurface-loci" | "cell-loci" | "shape-loci" | "group-loci" | "every-loci" | "empty-loci" | "data-loci")[]>;
|
|
29
29
|
preferAtoms: PD.BooleanParam;
|
|
30
30
|
mark: PD.BooleanParam;
|
|
31
31
|
}>>;
|
|
@@ -18,7 +18,7 @@ declare const StructureFocusRepresentationParams: (plugin: PluginContext) => {
|
|
|
18
18
|
nciParams: PD.Group<PD.Normalize<{
|
|
19
19
|
[x: string]: any;
|
|
20
20
|
}>>;
|
|
21
|
-
components: PD.MultiSelect<"target" | "
|
|
21
|
+
components: PD.MultiSelect<"target" | "surroundings" | "interactions">;
|
|
22
22
|
excludeTargetFromSurroundings: PD.BooleanParam;
|
|
23
23
|
ignoreHydrogens: PD.BooleanParam;
|
|
24
24
|
};
|
|
@@ -49,13 +49,13 @@ export declare namespace VolumeStreaming {
|
|
|
49
49
|
channelParams?: DefaultChannelParams;
|
|
50
50
|
}): {
|
|
51
51
|
entry: PD.Mapped<PD.NamedParams<PD.Values<{
|
|
52
|
-
view: PD.Mapped<PD.NamedParams<PD.Normalize<{
|
|
52
|
+
view: PD.Mapped<PD.NamedParams<PD.Normalize<{
|
|
53
53
|
radius: number;
|
|
54
54
|
selectionDetailLevel: number;
|
|
55
55
|
isSelection: boolean;
|
|
56
56
|
bottomLeft: Vec3;
|
|
57
57
|
topRight: Vec3;
|
|
58
|
-
}>, "auto"> | PD.NamedParams<PD.Normalize<{}>, "off"> | PD.NamedParams<PD.Normalize<{
|
|
58
|
+
}>, "auto"> | PD.NamedParams<PD.Normalize<{}>, "cell"> | PD.NamedParams<PD.Normalize<{}>, "off"> | PD.NamedParams<PD.Normalize<{
|
|
59
59
|
bottomLeft: Vec3;
|
|
60
60
|
topRight: Vec3;
|
|
61
61
|
}>, "box"> | PD.NamedParams<PD.Normalize<{
|
|
@@ -81,13 +81,13 @@ export declare namespace VolumeStreaming {
|
|
|
81
81
|
structure?: Structure;
|
|
82
82
|
channelParams?: DefaultChannelParams;
|
|
83
83
|
}): {
|
|
84
|
-
view: PD.Mapped<PD.NamedParams<PD.Normalize<{
|
|
84
|
+
view: PD.Mapped<PD.NamedParams<PD.Normalize<{
|
|
85
85
|
radius: number;
|
|
86
86
|
selectionDetailLevel: number;
|
|
87
87
|
isSelection: boolean;
|
|
88
88
|
bottomLeft: Vec3;
|
|
89
89
|
topRight: Vec3;
|
|
90
|
-
}>, "auto"> | PD.NamedParams<PD.Normalize<{}>, "off"> | PD.NamedParams<PD.Normalize<{
|
|
90
|
+
}>, "auto"> | PD.NamedParams<PD.Normalize<{}>, "cell"> | PD.NamedParams<PD.Normalize<{}>, "off"> | PD.NamedParams<PD.Normalize<{
|
|
91
91
|
bottomLeft: Vec3;
|
|
92
92
|
topRight: Vec3;
|
|
93
93
|
}>, "box"> | PD.NamedParams<PD.Normalize<{
|
|
@@ -38,13 +38,13 @@ export { CreateVolumeStreamingBehavior };
|
|
|
38
38
|
declare type CreateVolumeStreamingBehavior = typeof CreateVolumeStreamingBehavior;
|
|
39
39
|
declare const CreateVolumeStreamingBehavior: StateTransformer<VolumeServerInfo, VolumeStreaming, PD.Normalize<{
|
|
40
40
|
entry: PD.NamedParams<PD.Values<{
|
|
41
|
-
view: PD.Mapped<PD.NamedParams<PD.Normalize<{
|
|
41
|
+
view: PD.Mapped<PD.NamedParams<PD.Normalize<{
|
|
42
42
|
radius: any;
|
|
43
43
|
selectionDetailLevel: any;
|
|
44
44
|
isSelection: any;
|
|
45
45
|
bottomLeft: any;
|
|
46
46
|
topRight: any;
|
|
47
|
-
}>, "auto"> | PD.NamedParams<PD.Normalize<{}>, "off"> | PD.NamedParams<PD.Normalize<{
|
|
47
|
+
}>, "auto"> | PD.NamedParams<PD.Normalize<{}>, "cell"> | PD.NamedParams<PD.Normalize<{}>, "off"> | PD.NamedParams<PD.Normalize<{
|
|
48
48
|
bottomLeft: any;
|
|
49
49
|
topRight: any;
|
|
50
50
|
}>, "box"> | PD.NamedParams<PD.Normalize<{
|
|
@@ -259,13 +259,13 @@ export declare const PluginCommands: {
|
|
|
259
259
|
selectStrength: number;
|
|
260
260
|
markerPriority: number;
|
|
261
261
|
xrayEdgeFalloff: number;
|
|
262
|
-
style: import("../mol-util/param-definition").ParamDefinition.NamedParams<import("../mol-util/param-definition").ParamDefinition.Normalize<unknown>, "metallic"> | import("../mol-util/param-definition").ParamDefinition.NamedParams<import("../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
262
|
+
style: import("../mol-util/param-definition").ParamDefinition.NamedParams<import("../mol-util/param-definition").ParamDefinition.Normalize<unknown>, "flat"> | import("../mol-util/param-definition").ParamDefinition.NamedParams<import("../mol-util/param-definition").ParamDefinition.Normalize<unknown>, "metallic"> | import("../mol-util/param-definition").ParamDefinition.NamedParams<import("../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
263
263
|
lightIntensity: any;
|
|
264
264
|
ambientIntensity: any;
|
|
265
265
|
metalness: any;
|
|
266
266
|
roughness: any;
|
|
267
267
|
reflectivity: any;
|
|
268
|
-
}>, "custom"> | import("../mol-util/param-definition").ParamDefinition.NamedParams<import("../mol-util/param-definition").ParamDefinition.Normalize<unknown>, "matte"> | import("../mol-util/param-definition").ParamDefinition.NamedParams<import("../mol-util/param-definition").ParamDefinition.Normalize<unknown>, "
|
|
268
|
+
}>, "custom"> | import("../mol-util/param-definition").ParamDefinition.NamedParams<import("../mol-util/param-definition").ParamDefinition.Normalize<unknown>, "matte"> | import("../mol-util/param-definition").ParamDefinition.NamedParams<import("../mol-util/param-definition").ParamDefinition.Normalize<unknown>, "glossy"> | import("../mol-util/param-definition").ParamDefinition.NamedParams<import("../mol-util/param-definition").ParamDefinition.Normalize<unknown>, "plastic">;
|
|
269
269
|
clip: import("../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
270
270
|
variant: any;
|
|
271
271
|
objects: any;
|
|
@@ -12,10 +12,10 @@ export declare const PluginLayoutStateParams: {
|
|
|
12
12
|
isExpanded: PD.BooleanParam;
|
|
13
13
|
showControls: PD.BooleanParam;
|
|
14
14
|
regionState: PD.Group<PD.Normalize<{
|
|
15
|
-
left: "
|
|
16
|
-
top: "
|
|
17
|
-
right: "
|
|
18
|
-
bottom: "
|
|
15
|
+
left: "hidden" | "full" | "collapsed";
|
|
16
|
+
top: "hidden" | "full";
|
|
17
|
+
right: "hidden" | "full";
|
|
18
|
+
bottom: "hidden" | "full";
|
|
19
19
|
}>>;
|
|
20
20
|
controlsDisplay: PD.Value<PluginLayoutControlsDisplay>;
|
|
21
21
|
};
|
|
@@ -37,7 +37,7 @@ declare class ViewportScreenshotHelper extends PluginComponent {
|
|
|
37
37
|
flipSided: boolean;
|
|
38
38
|
flatShaded: boolean;
|
|
39
39
|
xrayShaded: boolean;
|
|
40
|
-
quality: "
|
|
40
|
+
quality: "auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest";
|
|
41
41
|
}>, "on">>;
|
|
42
42
|
};
|
|
43
43
|
readonly behaviors: {
|
|
@@ -58,7 +58,7 @@ declare class ViewportScreenshotHelper extends PluginComponent {
|
|
|
58
58
|
flipSided: boolean;
|
|
59
59
|
flatShaded: boolean;
|
|
60
60
|
xrayShaded: boolean;
|
|
61
|
-
quality: "
|
|
61
|
+
quality: "auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest";
|
|
62
62
|
}>, "on">>;
|
|
63
63
|
}>>;
|
|
64
64
|
cropParams: import("rxjs").BehaviorSubject<{
|
|
@@ -87,7 +87,7 @@ declare class ViewportScreenshotHelper extends PluginComponent {
|
|
|
87
87
|
flipSided: boolean;
|
|
88
88
|
flatShaded: boolean;
|
|
89
89
|
xrayShaded: boolean;
|
|
90
|
-
quality: "
|
|
90
|
+
quality: "auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest";
|
|
91
91
|
}>, "on">>;
|
|
92
92
|
}>;
|
|
93
93
|
get cropParams(): {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export var PLUGIN_VERSION = '2.4.
|
|
2
|
-
export var PLUGIN_VERSION_DATE = new Date(typeof __MOLSTAR_DEBUG_TIMESTAMP__ !== 'undefined' ? __MOLSTAR_DEBUG_TIMESTAMP__ :
|
|
1
|
+
export var PLUGIN_VERSION = '2.4.1';
|
|
2
|
+
export var PLUGIN_VERSION_DATE = new Date(typeof __MOLSTAR_DEBUG_TIMESTAMP__ !== 'undefined' ? __MOLSTAR_DEBUG_TIMESTAMP__ : 1638134942999);
|
|
@@ -9,7 +9,7 @@ import { ParamDefinition as PD } from '../../mol-util/param-definition';
|
|
|
9
9
|
import { PluginStateObject } from '../objects';
|
|
10
10
|
export declare const PdbDownloadProvider: {
|
|
11
11
|
rcsb: PD.Group<PD.Normalize<{
|
|
12
|
-
encoding: "
|
|
12
|
+
encoding: "bcif" | "cif";
|
|
13
13
|
}>>;
|
|
14
14
|
pdbe: PD.Group<PD.Normalize<{
|
|
15
15
|
variant: "updated" | "updated-bcif" | "updtaed-bcif" | "archival";
|
|
@@ -14,10 +14,10 @@ export declare const AnimateModelIndex: PluginStateAnimation<{
|
|
|
14
14
|
duration: PD.NamedParams<PD.Normalize<{
|
|
15
15
|
durationInS: any;
|
|
16
16
|
}>, "fixed"> | PD.NamedParams<PD.Normalize<{
|
|
17
|
-
targetFps: any;
|
|
18
|
-
}>, "computed"> | PD.NamedParams<PD.Normalize<{
|
|
19
17
|
maxFps: any;
|
|
20
|
-
}>, "sequential"
|
|
18
|
+
}>, "sequential"> | PD.NamedParams<PD.Normalize<{
|
|
19
|
+
targetFps: any;
|
|
20
|
+
}>, "computed">;
|
|
21
21
|
}, {
|
|
22
22
|
palindromeDirections?: {
|
|
23
23
|
[id: string]: 1 | -1 | undefined;
|
|
@@ -48,16 +48,16 @@ export declare const PresetTrajectoryHierarchy: {
|
|
|
48
48
|
showUnitcell: boolean | undefined;
|
|
49
49
|
structure: PD.NamedParams<PD.Normalize<{
|
|
50
50
|
dynamicBonds: any;
|
|
51
|
+
}>, "auto"> | PD.NamedParams<PD.Normalize<{
|
|
52
|
+
dynamicBonds: any;
|
|
53
|
+
id: any;
|
|
54
|
+
}>, "assembly"> | PD.NamedParams<PD.Normalize<{
|
|
55
|
+
dynamicBonds: any;
|
|
51
56
|
ijkMin: any;
|
|
52
57
|
ijkMax: any;
|
|
53
58
|
}>, "symmetry"> | PD.NamedParams<PD.Normalize<{
|
|
54
59
|
dynamicBonds: any;
|
|
55
60
|
}>, "model"> | PD.NamedParams<PD.Normalize<{
|
|
56
|
-
dynamicBonds: any;
|
|
57
|
-
id: any;
|
|
58
|
-
}>, "assembly"> | PD.NamedParams<PD.Normalize<{
|
|
59
|
-
dynamicBonds: any;
|
|
60
|
-
}>, "auto"> | PD.NamedParams<PD.Normalize<{
|
|
61
61
|
dynamicBonds: any;
|
|
62
62
|
radius: any;
|
|
63
63
|
}>, "symmetry-mates"> | PD.NamedParams<PD.Normalize<{
|
|
@@ -30,16 +30,16 @@ export declare class TrajectoryHierarchyBuilder {
|
|
|
30
30
|
showUnitcell: boolean | undefined;
|
|
31
31
|
structure: PD.NamedParams<PD.Normalize<{
|
|
32
32
|
dynamicBonds: any;
|
|
33
|
+
}>, "auto"> | PD.NamedParams<PD.Normalize<{
|
|
34
|
+
dynamicBonds: any;
|
|
35
|
+
id: any;
|
|
36
|
+
}>, "assembly"> | PD.NamedParams<PD.Normalize<{
|
|
37
|
+
dynamicBonds: any;
|
|
33
38
|
ijkMin: any;
|
|
34
39
|
ijkMax: any;
|
|
35
40
|
}>, "symmetry"> | PD.NamedParams<PD.Normalize<{
|
|
36
41
|
dynamicBonds: any;
|
|
37
42
|
}>, "model"> | PD.NamedParams<PD.Normalize<{
|
|
38
|
-
dynamicBonds: any;
|
|
39
|
-
id: any;
|
|
40
|
-
}>, "assembly"> | PD.NamedParams<PD.Normalize<{
|
|
41
|
-
dynamicBonds: any;
|
|
42
|
-
}>, "auto"> | 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<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest" | undefined>;
|
|
33
33
|
theme: PD.Base<PD.Normalize<{
|
|
34
|
-
globalName: "occupancy" | "
|
|
35
|
-
carbonColor: "
|
|
36
|
-
symmetryColor: "occupancy" | "
|
|
34
|
+
globalName: "uniform" | "occupancy" | "element-index" | "element-symbol" | "carbohydrate-symbol" | "chain-id" | "operator-name" | "molecule-type" | "polymer-id" | "polymer-index" | "residue-name" | "secondary-structure" | "sequence-id" | "shape-group" | "unit-index" | "uncertainty" | "entity-source" | "illustrative" | "hydrophobicity" | "model-index" | "operator-hkl" | "partial-charge" | "atom-id" | "entity-id" | undefined;
|
|
35
|
+
carbonColor: "element-symbol" | "chain-id" | "operator-name" | undefined;
|
|
36
|
+
symmetryColor: "uniform" | "occupancy" | "element-index" | "element-symbol" | "carbohydrate-symbol" | "chain-id" | "operator-name" | "molecule-type" | "polymer-id" | "polymer-index" | "residue-name" | "secondary-structure" | "sequence-id" | "shape-group" | "unit-index" | "uncertainty" | "entity-source" | "illustrative" | "hydrophobicity" | "model-index" | "operator-hkl" | "partial-charge" | "atom-id" | "entity-id" | undefined;
|
|
37
37
|
focus: PD.Normalize<{
|
|
38
38
|
name: any;
|
|
39
39
|
params: any;
|
|
@@ -44,14 +44,14 @@ 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: "occupancy" | "
|
|
48
|
-
symmetryColor: "occupancy" | "
|
|
47
|
+
color: "uniform" | "occupancy" | "element-index" | "element-symbol" | "carbohydrate-symbol" | "chain-id" | "operator-name" | "molecule-type" | "polymer-id" | "polymer-index" | "residue-name" | "secondary-structure" | "sequence-id" | "shape-group" | "unit-index" | "uncertainty" | "entity-source" | "illustrative" | "hydrophobicity" | "model-index" | "operator-hkl" | "partial-charge" | "atom-id" | "entity-id" | undefined;
|
|
48
|
+
symmetryColor: "uniform" | "occupancy" | "element-index" | "element-symbol" | "carbohydrate-symbol" | "chain-id" | "operator-name" | "molecule-type" | "polymer-id" | "polymer-index" | "residue-name" | "secondary-structure" | "sequence-id" | "shape-group" | "unit-index" | "uncertainty" | "entity-source" | "illustrative" | "hydrophobicity" | "model-index" | "operator-hkl" | "partial-charge" | "atom-id" | "entity-id" | undefined;
|
|
49
49
|
typeParams: {
|
|
50
|
-
quality: "
|
|
50
|
+
quality: "auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "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<unknown>, "element-symbol"> | PD.NamedParams<PD.Normalize<{
|
|
55
55
|
palette: PD.NamedParams<PD.Normalize<{
|
|
56
56
|
maxCount: any;
|
|
57
57
|
hue: any;
|
|
@@ -74,7 +74,7 @@ export declare namespace StructureRepresentationPresetProvider {
|
|
|
74
74
|
}>, "generate"> | PD.NamedParams<PD.Normalize<{
|
|
75
75
|
list: any;
|
|
76
76
|
}>, "colors">;
|
|
77
|
-
}>, "operator-name"
|
|
77
|
+
}>, "operator-name">>;
|
|
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: "auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "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: "auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "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: "auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "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: "auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "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: "auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "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: "auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "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: "auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest" | undefined;
|
|
21
21
|
theme: PD.Normalize<{
|
|
22
22
|
globalName: any;
|
|
23
23
|
carbonColor: any;
|
|
@@ -69,16 +69,16 @@ export declare const CubeProvider: {
|
|
|
69
69
|
structure: StateObjectSelector<PluginStateObject.Molecule.Structure, import("../../mol-state/transformer").StateTransformer<PluginStateObject.Molecule.Model, PluginStateObject.Molecule.Structure, import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
70
70
|
type: import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
71
71
|
dynamicBonds: any;
|
|
72
|
+
}>, "auto"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
73
|
+
dynamicBonds: any;
|
|
74
|
+
id: any;
|
|
75
|
+
}>, "assembly"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
76
|
+
dynamicBonds: any;
|
|
72
77
|
ijkMin: any;
|
|
73
78
|
ijkMax: any;
|
|
74
79
|
}>, "symmetry"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
75
80
|
dynamicBonds: any;
|
|
76
81
|
}>, "model"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
77
|
-
dynamicBonds: any;
|
|
78
|
-
id: any;
|
|
79
|
-
}>, "assembly"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
80
|
-
dynamicBonds: any;
|
|
81
|
-
}>, "auto"> | 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<{
|
|
@@ -150,16 +150,16 @@ export declare const BuiltInVolumeFormats: readonly [readonly ["ccp4", {
|
|
|
150
150
|
structure: StateObjectSelector<PluginStateObject.Molecule.Structure, import("../../mol-state/transformer").StateTransformer<PluginStateObject.Molecule.Model, PluginStateObject.Molecule.Structure, import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
151
151
|
type: import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
152
152
|
dynamicBonds: any;
|
|
153
|
+
}>, "auto"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
154
|
+
dynamicBonds: any;
|
|
155
|
+
id: any;
|
|
156
|
+
}>, "assembly"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
157
|
+
dynamicBonds: any;
|
|
153
158
|
ijkMin: any;
|
|
154
159
|
ijkMax: any;
|
|
155
160
|
}>, "symmetry"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
156
161
|
dynamicBonds: any;
|
|
157
162
|
}>, "model"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
158
|
-
dynamicBonds: any;
|
|
159
|
-
id: any;
|
|
160
|
-
}>, "assembly"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
161
|
-
dynamicBonds: any;
|
|
162
|
-
}>, "auto"> | 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<{
|
|
@@ -14,16 +14,16 @@ export declare namespace RootStructureDefinition {
|
|
|
14
14
|
function getParams(model?: Model, defaultValue?: 'auto' | 'model' | 'assembly' | 'symmetry' | 'symmetry-mates' | 'symmetry-assembly'): {
|
|
15
15
|
type: PD.Mapped<PD.NamedParams<PD.Normalize<{
|
|
16
16
|
dynamicBonds: boolean | undefined;
|
|
17
|
+
}>, "auto"> | PD.NamedParams<PD.Normalize<{
|
|
18
|
+
dynamicBonds: boolean | undefined;
|
|
19
|
+
id: string | undefined;
|
|
20
|
+
}>, "assembly"> | PD.NamedParams<PD.Normalize<{
|
|
21
|
+
dynamicBonds: boolean | undefined;
|
|
17
22
|
ijkMin: Vec3;
|
|
18
23
|
ijkMax: Vec3;
|
|
19
24
|
}>, "symmetry"> | PD.NamedParams<PD.Normalize<{
|
|
20
25
|
dynamicBonds: boolean | undefined;
|
|
21
26
|
}>, "model"> | PD.NamedParams<PD.Normalize<{
|
|
22
|
-
dynamicBonds: boolean | undefined;
|
|
23
|
-
id: string | undefined;
|
|
24
|
-
}>, "assembly"> | PD.NamedParams<PD.Normalize<{
|
|
25
|
-
dynamicBonds: boolean | undefined;
|
|
26
|
-
}>, "auto"> | 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<
|
|
16
|
+
type: PD.Mapped<PD.NamedParams<"all" | "polymer" | "water" | "branched" | "ligand" | "ion" | "lipid" | "coarse" | "protein" | "nucleic" | "non-standard", "static"> | PD.NamedParams<Script, "script"> | PD.NamedParams<StructureElement.Bundle, "bundle"> | PD.NamedParams<Expression, "expression">>;
|
|
17
17
|
nullIfEmpty: PD.Base<boolean | undefined>;
|
|
18
18
|
label: PD.Text<string>;
|
|
19
19
|
};
|
|
@@ -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<"element" | "operator" | "residue" | "entity" | "model" | "structure" | "chain" | "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<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "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<unknown>, "reset"> | 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">>;
|
|
108
108
|
representations: PD.MultiSelect<string>;
|
|
109
109
|
};
|
|
110
110
|
type ThemeParams = PD.Values<ReturnType<typeof getThemeParams>>;
|
|
@@ -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 | ArrayBuffer | Uint8Array | number[];
|
|
46
46
|
label: string | undefined;
|
|
47
47
|
}>>;
|
|
48
48
|
declare type ReadFile = typeof ReadFile;
|
|
@@ -84,16 +84,16 @@ declare type StructureFromModel = typeof StructureFromModel;
|
|
|
84
84
|
declare const StructureFromModel: StateTransformer<SO.Molecule.Model, SO.Molecule.Structure, PD.Normalize<{
|
|
85
85
|
type: PD.NamedParams<PD.Normalize<{
|
|
86
86
|
dynamicBonds: any;
|
|
87
|
+
}>, "auto"> | PD.NamedParams<PD.Normalize<{
|
|
88
|
+
dynamicBonds: any;
|
|
89
|
+
id: any;
|
|
90
|
+
}>, "assembly"> | PD.NamedParams<PD.Normalize<{
|
|
91
|
+
dynamicBonds: any;
|
|
87
92
|
ijkMin: any;
|
|
88
93
|
ijkMax: any;
|
|
89
94
|
}>, "symmetry"> | PD.NamedParams<PD.Normalize<{
|
|
90
95
|
dynamicBonds: any;
|
|
91
96
|
}>, "model"> | PD.NamedParams<PD.Normalize<{
|
|
92
|
-
dynamicBonds: any;
|
|
93
|
-
id: any;
|
|
94
|
-
}>, "assembly"> | PD.NamedParams<PD.Normalize<{
|
|
95
|
-
dynamicBonds: any;
|
|
96
|
-
}>, "auto"> | 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: "
|
|
157
|
+
type: "spheres" | "polymer" | "water" | "branched" | "ligand" | "coarse" | "protein" | "nucleic" | "non-standard" | "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<
|
|
161
|
+
type: PD.NamedParams<"all" | "polymer" | "water" | "branched" | "ligand" | "ion" | "lipid" | "coarse" | "protein" | "nucleic" | "non-standard", "static"> | PD.NamedParams<Script, "script"> | PD.NamedParams<StructureElement.Bundle, "bundle"> | PD.NamedParams<Expression, "expression">;
|
|
162
162
|
nullIfEmpty: boolean | undefined;
|
|
163
163
|
label: string;
|
|
164
164
|
}>>;
|