molstar 2.3.3 → 2.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -2
- package/build/viewer/index.html +7 -1
- package/build/viewer/molstar.js +1 -1
- package/lib/apps/viewer/index.d.ts +6 -4
- package/lib/apps/viewer/index.html +7 -1
- package/lib/apps/viewer/index.js +8 -4
- package/lib/apps/viewer/index.js.map +1 -1
- package/lib/cli/chem-comp-dict/util.d.ts +4 -4
- package/lib/commonjs/apps/viewer/index.d.ts +7 -5
- package/lib/commonjs/apps/viewer/index.js +8 -4
- package/lib/commonjs/apps/viewer/index.js.map +1 -1
- package/lib/commonjs/cli/chem-comp-dict/util.d.ts +4 -4
- package/lib/commonjs/extensions/cellpack/model.d.ts +1 -1
- package/lib/commonjs/extensions/geo-export/mesh-exporter.d.ts +1 -1
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +4 -4
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/color.d.ts +12 -12
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.d.ts +2 -2
- package/lib/commonjs/extensions/rcsb/validation-report/representation.js +2 -2
- package/lib/commonjs/mol-canvas3d/camera/util.d.ts +4 -3
- package/lib/commonjs/mol-canvas3d/camera/util.js +15 -16
- package/lib/commonjs/mol-canvas3d/camera/util.js.map +1 -1
- package/lib/commonjs/mol-canvas3d/camera.d.ts +11 -3
- package/lib/commonjs/mol-canvas3d/camera.js +21 -1
- package/lib/commonjs/mol-canvas3d/camera.js.map +1 -1
- package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +14 -4
- package/lib/commonjs/mol-canvas3d/canvas3d.js +8 -2
- package/lib/commonjs/mol-canvas3d/canvas3d.js.map +1 -1
- package/lib/commonjs/mol-canvas3d/helper/camera-helper.d.ts +2 -2
- package/lib/commonjs/mol-canvas3d/helper/interaction-events.d.ts +13 -4
- package/lib/commonjs/mol-canvas3d/helper/interaction-events.js +43 -9
- package/lib/commonjs/mol-canvas3d/helper/interaction-events.js.map +1 -1
- package/lib/commonjs/mol-canvas3d/passes/draw.js +1 -0
- package/lib/commonjs/mol-canvas3d/passes/draw.js.map +1 -1
- package/lib/commonjs/mol-canvas3d/passes/image.d.ts +2 -2
- package/lib/commonjs/mol-canvas3d/passes/pick.d.ts +5 -2
- package/lib/commonjs/mol-canvas3d/passes/pick.js +17 -3
- package/lib/commonjs/mol-canvas3d/passes/pick.js.map +1 -1
- package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.d.ts +2 -2
- package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.js +10 -1
- package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.js.map +1 -1
- package/lib/commonjs/mol-geo/geometry/image/image.d.ts +2 -2
- package/lib/commonjs/mol-geo/geometry/image/image.js +4 -1
- package/lib/commonjs/mol-geo/geometry/image/image.js.map +1 -1
- package/lib/commonjs/mol-geo/geometry/lines/lines.js +1 -1
- package/lib/commonjs/mol-geo/geometry/lines/lines.js.map +1 -1
- package/lib/commonjs/mol-geo/geometry/points/points.js +1 -1
- package/lib/commonjs/mol-geo/geometry/points/points.js.map +1 -1
- package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js +6 -1
- package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js.map +1 -1
- package/lib/commonjs/mol-gl/renderer.d.ts +3 -2
- package/lib/commonjs/mol-gl/renderer.js +3 -0
- package/lib/commonjs/mol-gl/renderer.js.map +1 -1
- package/lib/commonjs/mol-gl/shader/lines.vert.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/lines.vert.js +1 -1
- package/lib/commonjs/mol-gl/shader/lines.vert.js.map +1 -1
- package/lib/commonjs/mol-gl/shader/points.vert.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/points.vert.js +1 -1
- package/lib/commonjs/mol-gl/shader/points.vert.js.map +1 -1
- package/lib/commonjs/mol-gl/webgl/context.d.ts +1 -1
- package/lib/commonjs/mol-io/reader/cif/schema/bird.d.ts +5 -5
- 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 +4 -4
- 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 +22 -22
- package/lib/commonjs/mol-io/reader/ply/schema.d.ts +1 -1
- package/lib/commonjs/mol-math/linear-algebra/3d/vec3.d.ts +3 -1
- package/lib/commonjs/mol-math/linear-algebra/3d/vec3.js +11 -3
- package/lib/commonjs/mol-math/linear-algebra/3d/vec3.js.map +1 -1
- package/lib/commonjs/mol-math/misc.d.ts +3 -1
- package/lib/commonjs/mol-math/misc.js +24 -2
- package/lib/commonjs/mol-math/misc.js.map +1 -1
- package/lib/commonjs/mol-model/loci.d.ts +32 -32
- package/lib/commonjs/mol-model/loci.js +4 -3
- package/lib/commonjs/mol-model/loci.js.map +1 -1
- 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 +3 -3
- package/lib/commonjs/mol-model/structure/structure/unit/bonds/intra-compute.js +1 -1
- package/lib/commonjs/mol-model/structure/structure/unit/bonds/intra-compute.js.map +1 -1
- package/lib/commonjs/mol-model/structure/structure/unit/bonds.d.ts +2 -1
- package/lib/commonjs/mol-model/structure/structure/unit/bonds.js +6 -1
- package/lib/commonjs/mol-model/structure/structure/unit/bonds.js.map +1 -1
- package/lib/commonjs/mol-model/structure/structure/unit.d.ts +2 -2
- package/lib/commonjs/mol-model-formats/shape/ply.d.ts +12 -12
- 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-formats/structure/common/entity.d.ts +1 -1
- package/lib/commonjs/mol-model-formats/structure/pdb/entity.js +29 -3
- package/lib/commonjs/mol-model-formats/structure/pdb/entity.js.map +1 -1
- 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 +4 -2
- package/lib/commonjs/mol-plugin/behavior/dynamic/representation.js +22 -8
- package/lib/commonjs/mol-plugin/behavior/dynamic/representation.js.map +1 -1
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/behavior.d.ts +10 -10
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/transformers.d.ts +7 -7
- package/lib/commonjs/mol-plugin/commands.d.ts +6 -2
- package/lib/commonjs/mol-plugin/config.d.ts +1 -0
- package/lib/commonjs/mol-plugin/config.js +1 -0
- package/lib/commonjs/mol-plugin/config.js.map +1 -1
- package/lib/commonjs/mol-plugin/context.js +6 -4
- package/lib/commonjs/mol-plugin/context.js.map +1 -1
- package/lib/commonjs/mol-plugin/util/viewport-screenshot.d.ts +6 -6
- 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 +7 -7
- package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy.d.ts +7 -7
- package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.d.ts +10 -10
- package/lib/commonjs/mol-plugin-state/formats/volume.d.ts +16 -16
- package/lib/commonjs/mol-plugin-state/helpers/root-structure.d.ts +7 -7
- package/lib/commonjs/mol-plugin-state/helpers/structure-component.d.ts +1 -1
- package/lib/commonjs/mol-plugin-state/manager/interactivity.d.ts +2 -2
- package/lib/commonjs/mol-plugin-state/manager/interactivity.js +12 -11
- package/lib/commonjs/mol-plugin-state/manager/interactivity.js.map +1 -1
- 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 +9 -9
- package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/parameters.d.ts +2 -2
- package/lib/commonjs/mol-repr/shape/loci/orientation.d.ts +1 -1
- package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +1 -1
- package/lib/commonjs/mol-repr/structure/params.d.ts +1 -1
- package/lib/commonjs/mol-repr/structure/registry.d.ts +23 -15
- package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +9 -6
- package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +9 -6
- package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +6 -6
- package/lib/commonjs/mol-repr/structure/representation/gaussian-volume.d.ts +3 -3
- package/lib/commonjs/mol-repr/structure/representation/line.d.ts +37 -19
- package/lib/commonjs/mol-repr/structure/representation/line.js +10 -4
- package/lib/commonjs/mol-repr/structure/representation/line.js.map +1 -1
- package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +6 -6
- package/lib/commonjs/mol-repr/structure/units-visual.d.ts +1 -1
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +6 -4
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.js +14 -9
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.js.map +1 -1
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.d.ts +3 -2
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.js +12 -8
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.js.map +1 -1
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +6 -4
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.js +15 -7
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.js.map +1 -1
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.d.ts +3 -2
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.js +13 -6
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.js.map +1 -1
- package/lib/commonjs/mol-repr/structure/visual/element-cross.d.ts +26 -0
- package/lib/commonjs/mol-repr/structure/visual/element-cross.js +77 -0
- package/lib/commonjs/mol-repr/structure/visual/element-cross.js.map +1 -0
- package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +8 -8
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/util/bond.d.ts +22 -16
- package/lib/commonjs/mol-repr/structure/visual/util/bond.js +1 -0
- package/lib/commonjs/mol-repr/structure/visual/util/bond.js.map +1 -1
- package/lib/commonjs/mol-repr/structure/visual/util/color.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/link.d.ts +6 -4
- package/lib/commonjs/mol-repr/structure/visual/util/link.js +66 -23
- package/lib/commonjs/mol-repr/structure/visual/util/link.js.map +1 -1
- package/lib/commonjs/mol-repr/structure/visual/util/polymer.d.ts +2 -2
- package/lib/commonjs/mol-repr/volume/direct-volume.d.ts +5 -5
- package/lib/commonjs/mol-repr/volume/isosurface.d.ts +3 -3
- package/lib/commonjs/mol-repr/volume/registry.d.ts +4 -4
- 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 +12 -12
- 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 +78 -78
- package/lib/commonjs/mol-util/color/palette.d.ts +12 -12
- package/lib/commonjs/servers/model/config.js +0 -1
- package/lib/commonjs/servers/model/config.js.map +1 -1
- package/lib/commonjs/servers/volume/config.js +0 -1
- package/lib/commonjs/servers/volume/config.js.map +1 -1
- package/lib/extensions/cellpack/model.d.ts +1 -1
- package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +4 -4
- package/lib/extensions/rcsb/assembly-symmetry/color.d.ts +12 -12
- package/lib/extensions/rcsb/assembly-symmetry/representation.d.ts +2 -2
- package/lib/extensions/rcsb/validation-report/representation.js +2 -2
- package/lib/mol-canvas3d/camera/util.d.ts +4 -3
- package/lib/mol-canvas3d/camera/util.js +15 -16
- package/lib/mol-canvas3d/camera/util.js.map +1 -1
- package/lib/mol-canvas3d/camera.d.ts +11 -3
- package/lib/mol-canvas3d/camera.js +22 -2
- package/lib/mol-canvas3d/camera.js.map +1 -1
- package/lib/mol-canvas3d/canvas3d.d.ts +14 -4
- package/lib/mol-canvas3d/canvas3d.js +9 -3
- package/lib/mol-canvas3d/canvas3d.js.map +1 -1
- package/lib/mol-canvas3d/helper/camera-helper.d.ts +2 -2
- package/lib/mol-canvas3d/helper/interaction-events.d.ts +13 -4
- package/lib/mol-canvas3d/helper/interaction-events.js +43 -9
- package/lib/mol-canvas3d/helper/interaction-events.js.map +1 -1
- package/lib/mol-canvas3d/passes/draw.js +1 -0
- package/lib/mol-canvas3d/passes/draw.js.map +1 -1
- package/lib/mol-canvas3d/passes/image.d.ts +2 -2
- package/lib/mol-canvas3d/passes/pick.d.ts +5 -2
- package/lib/mol-canvas3d/passes/pick.js +17 -3
- package/lib/mol-canvas3d/passes/pick.js.map +1 -1
- package/lib/mol-data/int/impl/ordered-set.d.ts +3 -3
- package/lib/mol-geo/geometry/direct-volume/direct-volume.d.ts +2 -2
- package/lib/mol-geo/geometry/direct-volume/direct-volume.js +12 -3
- package/lib/mol-geo/geometry/direct-volume/direct-volume.js.map +1 -1
- package/lib/mol-geo/geometry/image/image.d.ts +2 -2
- package/lib/mol-geo/geometry/image/image.js +5 -2
- package/lib/mol-geo/geometry/image/image.js.map +1 -1
- package/lib/mol-geo/geometry/lines/lines.js +1 -1
- package/lib/mol-geo/geometry/lines/lines.js.map +1 -1
- package/lib/mol-geo/geometry/points/points.js +1 -1
- package/lib/mol-geo/geometry/points/points.js.map +1 -1
- package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js +6 -1
- package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js.map +1 -1
- package/lib/mol-gl/renderer.d.ts +3 -2
- package/lib/mol-gl/renderer.js +3 -0
- package/lib/mol-gl/renderer.js.map +1 -1
- package/lib/mol-gl/shader/lines.vert.d.ts +1 -1
- package/lib/mol-gl/shader/lines.vert.js +1 -1
- package/lib/mol-gl/shader/lines.vert.js.map +1 -1
- package/lib/mol-gl/shader/points.vert.d.ts +1 -1
- package/lib/mol-gl/shader/points.vert.js +1 -1
- package/lib/mol-gl/shader/points.vert.js.map +1 -1
- package/lib/mol-gl/webgl/context.d.ts +1 -1
- package/lib/mol-io/reader/cif/schema/bird.d.ts +5 -5
- package/lib/mol-io/reader/cif/schema/ccd.d.ts +2 -2
- package/lib/mol-io/reader/cif/schema/density-server.d.ts +4 -4
- package/lib/mol-io/reader/cif/schema/mmcif-extras.d.ts +3 -3
- package/lib/mol-io/reader/cif/schema/mmcif.d.ts +23 -23
- package/lib/mol-io/reader/ply/schema.d.ts +1 -1
- package/lib/mol-math/linear-algebra/3d/vec3.d.ts +3 -1
- package/lib/mol-math/linear-algebra/3d/vec3.js +11 -3
- package/lib/mol-math/linear-algebra/3d/vec3.js.map +1 -1
- package/lib/mol-math/misc.d.ts +3 -1
- package/lib/mol-math/misc.js +22 -1
- package/lib/mol-math/misc.js.map +1 -1
- package/lib/mol-model/loci.d.ts +32 -32
- package/lib/mol-model/loci.js +4 -3
- package/lib/mol-model/loci.js.map +1 -1
- package/lib/mol-model/shape/shape.d.ts +1 -1
- package/lib/mol-model/structure/query/utils/structure-distance.d.ts +5 -54
- package/lib/mol-model/structure/structure/properties.d.ts +3 -3
- package/lib/mol-model/structure/structure/unit/bonds/intra-compute.js +1 -1
- package/lib/mol-model/structure/structure/unit/bonds/intra-compute.js.map +1 -1
- package/lib/mol-model/structure/structure/unit/bonds.d.ts +2 -1
- package/lib/mol-model/structure/structure/unit/bonds.js +7 -2
- package/lib/mol-model/structure/structure/unit/bonds.js.map +1 -1
- package/lib/mol-model/structure/structure/unit.d.ts +2 -2
- package/lib/mol-model-formats/shape/ply.d.ts +12 -12
- package/lib/mol-model-formats/structure/basic/schema.d.ts +6 -6
- package/lib/mol-model-formats/structure/common/component.d.ts +8 -8
- package/lib/mol-model-formats/structure/common/entity.d.ts +1 -1
- package/lib/mol-model-formats/structure/pdb/entity.js +29 -3
- package/lib/mol-model-formats/structure/pdb/entity.js.map +1 -1
- package/lib/mol-model-props/sequence/themes/best-database-mapping.d.ts +12 -12
- package/lib/mol-plugin/behavior/behavior.d.ts +1 -1
- package/lib/mol-plugin/behavior/dynamic/representation.d.ts +4 -2
- package/lib/mol-plugin/behavior/dynamic/representation.js +23 -9
- package/lib/mol-plugin/behavior/dynamic/representation.js.map +1 -1
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/behavior.d.ts +10 -10
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/transformers.d.ts +7 -7
- package/lib/mol-plugin/commands.d.ts +6 -2
- package/lib/mol-plugin/config.d.ts +1 -0
- package/lib/mol-plugin/config.js +1 -0
- package/lib/mol-plugin/config.js.map +1 -1
- package/lib/mol-plugin/context.js +6 -4
- package/lib/mol-plugin/context.js.map +1 -1
- package/lib/mol-plugin/util/viewport-screenshot.d.ts +6 -6
- package/lib/mol-plugin/version.js +2 -2
- 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 +7 -7
- package/lib/mol-plugin-state/builder/structure/hierarchy.d.ts +7 -7
- package/lib/mol-plugin-state/builder/structure/representation-preset.d.ts +10 -10
- package/lib/mol-plugin-state/formats/volume.d.ts +16 -16
- package/lib/mol-plugin-state/helpers/root-structure.d.ts +7 -7
- package/lib/mol-plugin-state/helpers/structure-component.d.ts +1 -1
- package/lib/mol-plugin-state/manager/interactivity.d.ts +2 -2
- package/lib/mol-plugin-state/manager/interactivity.js +12 -11
- package/lib/mol-plugin-state/manager/interactivity.js.map +1 -1
- package/lib/mol-plugin-state/manager/structure/selection.d.ts +2 -2
- package/lib/mol-plugin-state/transforms/data.d.ts +1 -1
- package/lib/mol-plugin-state/transforms/model.d.ts +9 -9
- package/lib/mol-plugin-state/transforms/representation.d.ts +2 -2
- package/lib/mol-repr/shape/loci/orientation.d.ts +1 -1
- package/lib/mol-repr/shape/model/unitcell.d.ts +1 -1
- package/lib/mol-repr/structure/complex-visual.d.ts +1 -1
- package/lib/mol-repr/structure/params.d.ts +1 -1
- package/lib/mol-repr/structure/registry.d.ts +19 -11
- package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +3 -0
- package/lib/mol-repr/structure/representation/ellipsoid.d.ts +3 -0
- package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +6 -6
- package/lib/mol-repr/structure/representation/gaussian-volume.d.ts +3 -3
- package/lib/mol-repr/structure/representation/label.d.ts +3 -3
- package/lib/mol-repr/structure/representation/line.d.ts +34 -16
- package/lib/mol-repr/structure/representation/line.js +10 -4
- package/lib/mol-repr/structure/representation/line.js.map +1 -1
- package/lib/mol-repr/structure/representation/molecular-surface.d.ts +6 -6
- package/lib/mol-repr/structure/units-visual.d.ts +1 -1
- package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +2 -0
- package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.js +14 -9
- package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.js.map +1 -1
- package/lib/mol-repr/structure/visual/bond-inter-unit-line.d.ts +1 -0
- package/lib/mol-repr/structure/visual/bond-inter-unit-line.js +12 -8
- package/lib/mol-repr/structure/visual/bond-inter-unit-line.js.map +1 -1
- package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +2 -0
- package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.js +15 -7
- package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.js.map +1 -1
- package/lib/mol-repr/structure/visual/bond-intra-unit-line.d.ts +1 -0
- package/lib/mol-repr/structure/visual/bond-intra-unit-line.js +13 -6
- package/lib/mol-repr/structure/visual/bond-intra-unit-line.js.map +1 -1
- package/lib/mol-repr/structure/visual/element-cross.d.ts +26 -0
- package/lib/mol-repr/structure/visual/element-cross.js +72 -0
- package/lib/mol-repr/structure/visual/element-cross.js.map +1 -0
- package/lib/mol-repr/structure/visual/gaussian-density-volume.d.ts +2 -2
- package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +8 -8
- package/lib/mol-repr/structure/visual/label-text.d.ts +1 -1
- package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +2 -2
- package/lib/mol-repr/structure/visual/util/bond.d.ts +10 -4
- package/lib/mol-repr/structure/visual/util/bond.js +1 -0
- package/lib/mol-repr/structure/visual/util/bond.js.map +1 -1
- package/lib/mol-repr/structure/visual/util/color.d.ts +2 -2
- package/lib/mol-repr/structure/visual/util/element.d.ts +4 -4
- package/lib/mol-repr/structure/visual/util/link.d.ts +6 -4
- package/lib/mol-repr/structure/visual/util/link.js +66 -23
- package/lib/mol-repr/structure/visual/util/link.js.map +1 -1
- package/lib/mol-repr/structure/visual/util/polymer.d.ts +2 -2
- package/lib/mol-repr/volume/direct-volume.d.ts +5 -5
- package/lib/mol-repr/volume/isosurface.d.ts +3 -3
- package/lib/mol-repr/volume/registry.d.ts +4 -4
- package/lib/mol-repr/volume/slice.d.ts +6 -6
- package/lib/mol-theme/color/atom-id.d.ts +12 -12
- package/lib/mol-theme/color/chain-id.d.ts +12 -12
- package/lib/mol-theme/color/element-index.d.ts +12 -12
- package/lib/mol-theme/color/element-symbol.d.ts +12 -12
- package/lib/mol-theme/color/entity-id.d.ts +12 -12
- package/lib/mol-theme/color/entity-source.d.ts +12 -12
- package/lib/mol-theme/color/illustrative.d.ts +12 -12
- package/lib/mol-theme/color/model-index.d.ts +12 -12
- package/lib/mol-theme/color/operator-hkl.d.ts +12 -12
- package/lib/mol-theme/color/operator-name.d.ts +12 -12
- package/lib/mol-theme/color/polymer-id.d.ts +12 -12
- package/lib/mol-theme/color/polymer-index.d.ts +12 -12
- package/lib/mol-theme/color/unit-index.d.ts +12 -12
- package/lib/mol-theme/color.d.ts +78 -78
- package/lib/mol-util/color/palette.d.ts +12 -12
- package/lib/servers/model/config.js +0 -1
- package/lib/servers/model/config.js.map +1 -1
- package/lib/servers/volume/config.js +0 -1
- package/lib/servers/volume/config.js.map +1 -1
- package/lib/tsconfig.commonjs.tsbuildinfo +1 -1
- package/package.json +18 -18
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interactivity.js","sourceRoot":"","sources":["../../../../src/mol-plugin-state/manager/interactivity.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;AAEH,6CAAoE;AACpE,uDAAwE;AAExE,gEAA+D;AAE/D,8DAA4D;AAC5D,gDAAqD;AACrD,oEAAwE;AACxE,0CAAuD;AAUvD,0CAA0C;AAC1C,IAAM,gCAAgC,GAAG;IACrC,SAAS,EAAE,CAAC;IACZ,WAAW,EAAE,CAAC;IACd,UAAU,EAAE,GAAG;CAClB,CAAC;AAIF;IAAmC,qDAA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,UAAkB,OAA4B;YAC1C,IAAI,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;gBAC5B,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;gBACxC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,4BAAY,CAAC,QAAQ,CAAC,CAAC;aAC7C;iBAAM;gBACH,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;gBACrC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,4BAAY,CAAC,MAAM,CAAC,CAAC;aAC3C;QACL,CAAC;QACL,wBAAC;IAAD,CAAC,AA3FD,CAAuC,eAAe,GA2FrD;IA3FY,sCAAiB,oBA2F7B,CAAA;AACL,CAAC,EApNS,oBAAoB,KAApB,oBAAoB,QAoN7B;AAlQQ,oDAAoB"}
|
|
@@ -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): StructureElement.Loci | {
|
|
54
54
|
kind: "empty-loci";
|
|
55
|
-
}
|
|
55
|
+
};
|
|
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 | number[] |
|
|
45
|
+
data: string | number[] | Uint8Array | ArrayBuffer;
|
|
46
46
|
label: string | undefined;
|
|
47
47
|
}>>;
|
|
48
48
|
declare type ReadFile = typeof ReadFile;
|
|
@@ -84,19 +84,19 @@ 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
|
-
|
|
88
|
-
|
|
89
|
-
}>, "
|
|
87
|
+
ijkMin: any;
|
|
88
|
+
ijkMax: any;
|
|
89
|
+
}>, "symmetry"> | PD.NamedParams<PD.Normalize<{
|
|
90
90
|
dynamicBonds: any;
|
|
91
91
|
id: any;
|
|
92
92
|
}>, "assembly"> | PD.NamedParams<PD.Normalize<{
|
|
93
93
|
dynamicBonds: any;
|
|
94
|
+
}>, "auto"> | PD.NamedParams<PD.Normalize<{
|
|
95
|
+
dynamicBonds: any;
|
|
96
|
+
}>, "model"> | PD.NamedParams<PD.Normalize<{
|
|
97
|
+
dynamicBonds: any;
|
|
94
98
|
radius: any;
|
|
95
99
|
}>, "symmetry-mates"> | PD.NamedParams<PD.Normalize<{
|
|
96
|
-
dynamicBonds: any;
|
|
97
|
-
ijkMin: any;
|
|
98
|
-
ijkMax: any;
|
|
99
|
-
}>, "symmetry"> | PD.NamedParams<PD.Normalize<{
|
|
100
100
|
dynamicBonds: any;
|
|
101
101
|
generators: any;
|
|
102
102
|
}>, "symmetry-assembly">;
|
|
@@ -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: "polymer" | "water" | "branched" | "ligand" | "spheres" | "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<Script, "script"> | PD.NamedParams<"
|
|
161
|
+
type: PD.NamedParams<Script, "script"> | PD.NamedParams<"polymer" | "water" | "branched" | "ligand" | "ion" | "all" | "protein" | "nucleic" | "lipid" | "non-standard" | "coarse", "static"> | PD.NamedParams<Expression, "expression"> | PD.NamedParams<StructureElement.Bundle, "bundle">;
|
|
162
162
|
nullIfEmpty: boolean | undefined;
|
|
163
163
|
label: string;
|
|
164
164
|
}>>;
|
|
@@ -287,7 +287,7 @@ declare const StructureSelectionsLabel3D: StateTransformer<SO.Molecule.Structure
|
|
|
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
|
scale: number;
|
|
293
293
|
doubleSided: boolean;
|
|
@@ -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;
|
|
@@ -10,7 +10,7 @@ export interface OrientationData {
|
|
|
10
10
|
locis: Loci[];
|
|
11
11
|
}
|
|
12
12
|
export declare const OrientationParams: {
|
|
13
|
-
visuals: PD.MultiSelect<"
|
|
13
|
+
visuals: PD.MultiSelect<"axes" | "ellipsoid" | "box">;
|
|
14
14
|
color: PD.Color;
|
|
15
15
|
scale: PD.Numeric;
|
|
16
16
|
doubleSided: PD.BooleanParam;
|
|
@@ -121,7 +121,7 @@ export declare const ComplexDirectVolumeParams: {
|
|
|
121
121
|
renderMode: PD.Mapped<PD.NamedParams<PD.Normalize<{
|
|
122
122
|
controlPoints: import("../../mol-math/linear-algebra/3d/vec2").Vec2[];
|
|
123
123
|
list: {
|
|
124
|
-
kind: "
|
|
124
|
+
kind: "set" | "interpolate";
|
|
125
125
|
colors: import("../../mol-util/color/color").ColorListEntry[];
|
|
126
126
|
};
|
|
127
127
|
}>, "volume"> | PD.NamedParams<PD.Normalize<{
|
|
@@ -89,7 +89,7 @@ export declare const StructureDirectVolumeParams: {
|
|
|
89
89
|
renderMode: PD.Mapped<PD.NamedParams<PD.Normalize<{
|
|
90
90
|
controlPoints: import("../../mol-math/linear-algebra/3d/vec2").Vec2[];
|
|
91
91
|
list: {
|
|
92
|
-
kind: "
|
|
92
|
+
kind: "set" | "interpolate";
|
|
93
93
|
colors: import("../../mol-util/color/color").ColorListEntry[];
|
|
94
94
|
};
|
|
95
95
|
}>, "volume"> | PD.NamedParams<PD.Normalize<{
|
|
@@ -55,10 +55,11 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
55
55
|
visuals: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"element-sphere" | "intra-bond" | "inter-bond">;
|
|
56
56
|
tryUseImpostor: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
57
57
|
adjustCylinderLength: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
58
|
-
includeTypes: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"computed" | "
|
|
59
|
-
excludeTypes: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"computed" | "
|
|
58
|
+
includeTypes: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">;
|
|
59
|
+
excludeTypes: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">;
|
|
60
60
|
ignoreHydrogens: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
61
61
|
aromaticBonds: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
62
|
+
multipleBonds: import("../../mol-util/param-definition").ParamDefinition.Select<"off" | "symmetric" | "offset">;
|
|
62
63
|
linkScale: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
63
64
|
linkSpacing: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
64
65
|
linkCap: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
@@ -110,10 +111,11 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
110
111
|
linkCap: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
111
112
|
visuals: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"intra-bond" | "inter-bond" | "ellipsoid-mesh">;
|
|
112
113
|
tryUseImpostor: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
113
|
-
includeTypes: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"computed" | "
|
|
114
|
-
excludeTypes: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"computed" | "
|
|
114
|
+
includeTypes: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">;
|
|
115
|
+
excludeTypes: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">;
|
|
115
116
|
ignoreHydrogens: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
116
117
|
aromaticBonds: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
118
|
+
multipleBonds: import("../../mol-util/param-definition").ParamDefinition.Select<"off" | "symmetric" | "offset">;
|
|
117
119
|
linkScale: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
118
120
|
linkSpacing: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
119
121
|
dashCount: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
@@ -144,10 +146,10 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
144
146
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
145
147
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">;
|
|
146
148
|
tryUseGpu: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
147
|
-
smoothColors: import("../../mol-util/param-definition").ParamDefinition.Mapped<import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<unknown>, "
|
|
149
|
+
smoothColors: import("../../mol-util/param-definition").ParamDefinition.Mapped<import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<unknown>, "auto"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
148
150
|
resolutionFactor: number;
|
|
149
151
|
sampleStride: number;
|
|
150
|
-
}>, "on">>;
|
|
152
|
+
}>, "on"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<unknown>, "off">>;
|
|
151
153
|
doubleSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
152
154
|
flipSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
153
155
|
flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
@@ -171,7 +173,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
171
173
|
renderMode: import("../../mol-util/param-definition").ParamDefinition.Mapped<import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
172
174
|
controlPoints: import("../../mol-math/linear-algebra/3d/vec2").Vec2[];
|
|
173
175
|
list: {
|
|
174
|
-
kind: "
|
|
176
|
+
kind: "set" | "interpolate";
|
|
175
177
|
colors: import("../../mol-util/color/color").ColorListEntry[];
|
|
176
178
|
};
|
|
177
179
|
}>, "volume"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
@@ -220,20 +222,26 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
220
222
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">;
|
|
221
223
|
}, "label">;
|
|
222
224
|
line: import("./representation").StructureRepresentationProvider<{
|
|
225
|
+
multipleBonds: import("../../mol-util/param-definition").ParamDefinition.Select<"off" | "symmetric" | "offset">;
|
|
223
226
|
includeParent: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
224
227
|
sizeFactor: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
225
228
|
unitKinds: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"spheres" | "atomic" | "gaussians">;
|
|
226
|
-
visuals: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"intra-bond" | "inter-bond">;
|
|
227
|
-
|
|
228
|
-
excludeTypes: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"computed" | "covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic">;
|
|
229
|
+
visuals: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"intra-bond" | "inter-bond" | "element-point" | "element-cross">;
|
|
230
|
+
lineSizeAttenuation: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
229
231
|
ignoreHydrogens: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
232
|
+
traceOnly: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
233
|
+
crosses: import("../../mol-util/param-definition").ParamDefinition.Select<"all" | "lone">;
|
|
234
|
+
crossSize: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
235
|
+
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
236
|
+
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">;
|
|
237
|
+
pointSizeAttenuation: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
238
|
+
pointStyle: import("../../mol-util/param-definition").ParamDefinition.Select<"square" | "circle" | "fuzzy">;
|
|
239
|
+
includeTypes: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">;
|
|
240
|
+
excludeTypes: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">;
|
|
230
241
|
aromaticBonds: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
231
242
|
linkScale: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
232
243
|
linkSpacing: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
233
244
|
dashCount: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
234
|
-
lineSizeAttenuation: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
235
|
-
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
236
|
-
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">;
|
|
237
245
|
}, "line">;
|
|
238
246
|
'molecular-surface': import("./representation").StructureRepresentationProvider<{
|
|
239
247
|
visuals: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"molecular-surface-mesh" | "molecular-surface-wireframe">;
|
|
@@ -248,10 +256,10 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
248
256
|
lineSizeAttenuation: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
249
257
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
250
258
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">;
|
|
251
|
-
smoothColors: import("../../mol-util/param-definition").ParamDefinition.Mapped<import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<unknown>, "
|
|
259
|
+
smoothColors: import("../../mol-util/param-definition").ParamDefinition.Mapped<import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<unknown>, "auto"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
|
|
252
260
|
resolutionFactor: number;
|
|
253
261
|
sampleStride: number;
|
|
254
|
-
}>, "on">>;
|
|
262
|
+
}>, "on"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<unknown>, "off">>;
|
|
255
263
|
doubleSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
256
264
|
flipSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
257
265
|
flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
@@ -16,10 +16,11 @@ export declare const BallAndStickParams: {
|
|
|
16
16
|
visuals: PD.MultiSelect<"element-sphere" | "intra-bond" | "inter-bond">;
|
|
17
17
|
tryUseImpostor: PD.BooleanParam;
|
|
18
18
|
adjustCylinderLength: PD.BooleanParam;
|
|
19
|
-
includeTypes: PD.MultiSelect<"computed" | "
|
|
20
|
-
excludeTypes: PD.MultiSelect<"computed" | "
|
|
19
|
+
includeTypes: PD.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">;
|
|
20
|
+
excludeTypes: PD.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">;
|
|
21
21
|
ignoreHydrogens: PD.BooleanParam;
|
|
22
22
|
aromaticBonds: PD.BooleanParam;
|
|
23
|
+
multipleBonds: PD.Select<"off" | "symmetric" | "offset">;
|
|
23
24
|
linkScale: PD.Numeric;
|
|
24
25
|
linkSpacing: PD.Numeric;
|
|
25
26
|
linkCap: PD.BooleanParam;
|
|
@@ -47,10 +48,11 @@ export declare function getBallAndStickParams(ctx: ThemeRegistryContext, structu
|
|
|
47
48
|
visuals: PD.MultiSelect<"element-sphere" | "intra-bond" | "inter-bond">;
|
|
48
49
|
tryUseImpostor: PD.BooleanParam;
|
|
49
50
|
adjustCylinderLength: PD.BooleanParam;
|
|
50
|
-
includeTypes: PD.MultiSelect<"computed" | "
|
|
51
|
-
excludeTypes: PD.MultiSelect<"computed" | "
|
|
51
|
+
includeTypes: PD.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">;
|
|
52
|
+
excludeTypes: PD.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">;
|
|
52
53
|
ignoreHydrogens: PD.BooleanParam;
|
|
53
54
|
aromaticBonds: PD.BooleanParam;
|
|
55
|
+
multipleBonds: PD.Select<"off" | "symmetric" | "offset">;
|
|
54
56
|
linkScale: PD.Numeric;
|
|
55
57
|
linkSpacing: PD.Numeric;
|
|
56
58
|
linkCap: PD.BooleanParam;
|
|
@@ -79,10 +81,11 @@ export declare const BallAndStickRepresentationProvider: StructureRepresentation
|
|
|
79
81
|
visuals: PD.MultiSelect<"element-sphere" | "intra-bond" | "inter-bond">;
|
|
80
82
|
tryUseImpostor: PD.BooleanParam;
|
|
81
83
|
adjustCylinderLength: PD.BooleanParam;
|
|
82
|
-
includeTypes: PD.MultiSelect<"computed" | "
|
|
83
|
-
excludeTypes: PD.MultiSelect<"computed" | "
|
|
84
|
+
includeTypes: PD.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">;
|
|
85
|
+
excludeTypes: PD.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">;
|
|
84
86
|
ignoreHydrogens: PD.BooleanParam;
|
|
85
87
|
aromaticBonds: PD.BooleanParam;
|
|
88
|
+
multipleBonds: PD.Select<"off" | "symmetric" | "offset">;
|
|
86
89
|
linkScale: PD.Numeric;
|
|
87
90
|
linkSpacing: PD.Numeric;
|
|
88
91
|
linkCap: PD.BooleanParam;
|
|
@@ -17,10 +17,11 @@ export declare const EllipsoidParams: {
|
|
|
17
17
|
linkCap: PD.BooleanParam;
|
|
18
18
|
visuals: PD.MultiSelect<"intra-bond" | "inter-bond" | "ellipsoid-mesh">;
|
|
19
19
|
tryUseImpostor: PD.BooleanParam;
|
|
20
|
-
includeTypes: PD.MultiSelect<"computed" | "
|
|
21
|
-
excludeTypes: PD.MultiSelect<"computed" | "
|
|
20
|
+
includeTypes: PD.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">;
|
|
21
|
+
excludeTypes: PD.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">;
|
|
22
22
|
ignoreHydrogens: PD.BooleanParam;
|
|
23
23
|
aromaticBonds: PD.BooleanParam;
|
|
24
|
+
multipleBonds: PD.Select<"off" | "symmetric" | "offset">;
|
|
24
25
|
linkScale: PD.Numeric;
|
|
25
26
|
linkSpacing: PD.Numeric;
|
|
26
27
|
dashCount: PD.Numeric;
|
|
@@ -47,10 +48,11 @@ export declare function getEllipsoidParams(ctx: ThemeRegistryContext, structure:
|
|
|
47
48
|
linkCap: PD.BooleanParam;
|
|
48
49
|
visuals: PD.MultiSelect<"intra-bond" | "inter-bond" | "ellipsoid-mesh">;
|
|
49
50
|
tryUseImpostor: PD.BooleanParam;
|
|
50
|
-
includeTypes: PD.MultiSelect<"computed" | "
|
|
51
|
-
excludeTypes: PD.MultiSelect<"computed" | "
|
|
51
|
+
includeTypes: PD.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">;
|
|
52
|
+
excludeTypes: PD.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">;
|
|
52
53
|
ignoreHydrogens: PD.BooleanParam;
|
|
53
54
|
aromaticBonds: PD.BooleanParam;
|
|
55
|
+
multipleBonds: PD.Select<"off" | "symmetric" | "offset">;
|
|
54
56
|
linkScale: PD.Numeric;
|
|
55
57
|
linkSpacing: PD.Numeric;
|
|
56
58
|
dashCount: PD.Numeric;
|
|
@@ -78,10 +80,11 @@ export declare const EllipsoidRepresentationProvider: StructureRepresentationPro
|
|
|
78
80
|
linkCap: PD.BooleanParam;
|
|
79
81
|
visuals: PD.MultiSelect<"intra-bond" | "inter-bond" | "ellipsoid-mesh">;
|
|
80
82
|
tryUseImpostor: PD.BooleanParam;
|
|
81
|
-
includeTypes: PD.MultiSelect<"computed" | "
|
|
82
|
-
excludeTypes: PD.MultiSelect<"computed" | "
|
|
83
|
+
includeTypes: PD.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">;
|
|
84
|
+
excludeTypes: PD.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">;
|
|
83
85
|
ignoreHydrogens: PD.BooleanParam;
|
|
84
86
|
aromaticBonds: PD.BooleanParam;
|
|
87
|
+
multipleBonds: PD.Select<"off" | "symmetric" | "offset">;
|
|
85
88
|
linkScale: PD.Numeric;
|
|
86
89
|
linkSpacing: PD.Numeric;
|
|
87
90
|
dashCount: PD.Numeric;
|
|
@@ -22,10 +22,10 @@ export declare const GaussianSurfaceParams: {
|
|
|
22
22
|
alpha: PD.Numeric;
|
|
23
23
|
quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">;
|
|
24
24
|
tryUseGpu: PD.BooleanParam;
|
|
25
|
-
smoothColors: PD.Mapped<PD.NamedParams<PD.Normalize<unknown>, "
|
|
25
|
+
smoothColors: PD.Mapped<PD.NamedParams<PD.Normalize<unknown>, "auto"> | PD.NamedParams<PD.Normalize<{
|
|
26
26
|
resolutionFactor: number;
|
|
27
27
|
sampleStride: number;
|
|
28
|
-
}>, "on">>;
|
|
28
|
+
}>, "on"> | PD.NamedParams<PD.Normalize<unknown>, "off">>;
|
|
29
29
|
doubleSided: PD.BooleanParam;
|
|
30
30
|
flipSided: PD.BooleanParam;
|
|
31
31
|
flatShaded: PD.BooleanParam;
|
|
@@ -47,10 +47,10 @@ export declare function getGaussianSurfaceParams(ctx: ThemeRegistryContext, stru
|
|
|
47
47
|
alpha: PD.Numeric;
|
|
48
48
|
quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">;
|
|
49
49
|
tryUseGpu: PD.BooleanParam;
|
|
50
|
-
smoothColors: PD.Mapped<PD.NamedParams<PD.Normalize<unknown>, "
|
|
50
|
+
smoothColors: PD.Mapped<PD.NamedParams<PD.Normalize<unknown>, "auto"> | PD.NamedParams<PD.Normalize<{
|
|
51
51
|
resolutionFactor: number;
|
|
52
52
|
sampleStride: number;
|
|
53
|
-
}>, "on">>;
|
|
53
|
+
}>, "on"> | PD.NamedParams<PD.Normalize<unknown>, "off">>;
|
|
54
54
|
doubleSided: PD.BooleanParam;
|
|
55
55
|
flipSided: PD.BooleanParam;
|
|
56
56
|
flatShaded: PD.BooleanParam;
|
|
@@ -73,10 +73,10 @@ export declare const GaussianSurfaceRepresentationProvider: StructureRepresentat
|
|
|
73
73
|
alpha: PD.Numeric;
|
|
74
74
|
quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">;
|
|
75
75
|
tryUseGpu: PD.BooleanParam;
|
|
76
|
-
smoothColors: PD.Mapped<PD.NamedParams<PD.Normalize<unknown>, "
|
|
76
|
+
smoothColors: PD.Mapped<PD.NamedParams<PD.Normalize<unknown>, "auto"> | PD.NamedParams<PD.Normalize<{
|
|
77
77
|
resolutionFactor: number;
|
|
78
78
|
sampleStride: number;
|
|
79
|
-
}>, "on">>;
|
|
79
|
+
}>, "on"> | PD.NamedParams<PD.Normalize<unknown>, "off">>;
|
|
80
80
|
doubleSided: PD.BooleanParam;
|
|
81
81
|
flipSided: PD.BooleanParam;
|
|
82
82
|
flatShaded: PD.BooleanParam;
|
|
@@ -25,7 +25,7 @@ export declare const GaussianVolumeParams: {
|
|
|
25
25
|
renderMode: PD.Mapped<PD.NamedParams<PD.Normalize<{
|
|
26
26
|
controlPoints: import("../../../mol-math/linear-algebra/3d/vec2").Vec2[];
|
|
27
27
|
list: {
|
|
28
|
-
kind: "
|
|
28
|
+
kind: "set" | "interpolate";
|
|
29
29
|
colors: import("../../../mol-util/color/color").ColorListEntry[];
|
|
30
30
|
};
|
|
31
31
|
}>, "volume"> | PD.NamedParams<PD.Normalize<{
|
|
@@ -61,7 +61,7 @@ export declare function getGaussianVolumeParams(ctx: ThemeRegistryContext, struc
|
|
|
61
61
|
renderMode: PD.Mapped<PD.NamedParams<PD.Normalize<{
|
|
62
62
|
controlPoints: import("../../../mol-math/linear-algebra/3d/vec2").Vec2[];
|
|
63
63
|
list: {
|
|
64
|
-
kind: "
|
|
64
|
+
kind: "set" | "interpolate";
|
|
65
65
|
colors: import("../../../mol-util/color/color").ColorListEntry[];
|
|
66
66
|
};
|
|
67
67
|
}>, "volume"> | PD.NamedParams<PD.Normalize<{
|
|
@@ -98,7 +98,7 @@ export declare const GaussianVolumeRepresentationProvider: StructureRepresentati
|
|
|
98
98
|
renderMode: PD.Mapped<PD.NamedParams<PD.Normalize<{
|
|
99
99
|
controlPoints: import("../../../mol-math/linear-algebra/3d/vec2").Vec2[];
|
|
100
100
|
list: {
|
|
101
|
-
kind: "
|
|
101
|
+
kind: "set" | "interpolate";
|
|
102
102
|
colors: import("../../../mol-util/color/color").ColorListEntry[];
|
|
103
103
|
};
|
|
104
104
|
}>, "volume"> | PD.NamedParams<PD.Normalize<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c) 2020 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
2
|
+
* Copyright (c) 2020-2021 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
3
|
*
|
|
4
4
|
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
5
5
|
*/
|
|
@@ -9,53 +9,71 @@ import { RepresentationParamsGetter, RepresentationContext } from '../../../mol-
|
|
|
9
9
|
import { ThemeRegistryContext } from '../../../mol-theme/theme';
|
|
10
10
|
import { Structure } from '../../../mol-model/structure';
|
|
11
11
|
export declare const LineParams: {
|
|
12
|
+
multipleBonds: PD.Select<"off" | "symmetric" | "offset">;
|
|
12
13
|
includeParent: PD.BooleanParam;
|
|
13
14
|
sizeFactor: PD.Numeric;
|
|
14
15
|
unitKinds: PD.MultiSelect<"spheres" | "atomic" | "gaussians">;
|
|
15
|
-
visuals: PD.MultiSelect<"intra-bond" | "inter-bond">;
|
|
16
|
-
|
|
17
|
-
excludeTypes: PD.MultiSelect<"computed" | "covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic">;
|
|
16
|
+
visuals: PD.MultiSelect<"intra-bond" | "inter-bond" | "element-point" | "element-cross">;
|
|
17
|
+
lineSizeAttenuation: PD.BooleanParam;
|
|
18
18
|
ignoreHydrogens: PD.BooleanParam;
|
|
19
|
+
traceOnly: PD.BooleanParam;
|
|
20
|
+
crosses: PD.Select<"all" | "lone">;
|
|
21
|
+
crossSize: PD.Numeric;
|
|
22
|
+
alpha: PD.Numeric;
|
|
23
|
+
quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">;
|
|
24
|
+
pointSizeAttenuation: PD.BooleanParam;
|
|
25
|
+
pointStyle: PD.Select<"square" | "circle" | "fuzzy">;
|
|
26
|
+
includeTypes: PD.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">;
|
|
27
|
+
excludeTypes: PD.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">;
|
|
19
28
|
aromaticBonds: PD.BooleanParam;
|
|
20
29
|
linkScale: PD.Numeric;
|
|
21
30
|
linkSpacing: PD.Numeric;
|
|
22
31
|
dashCount: PD.Numeric;
|
|
23
|
-
lineSizeAttenuation: PD.BooleanParam;
|
|
24
|
-
alpha: PD.Numeric;
|
|
25
|
-
quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">;
|
|
26
32
|
};
|
|
27
33
|
export declare type LineParams = typeof LineParams;
|
|
28
34
|
export declare function getLineParams(ctx: ThemeRegistryContext, structure: Structure): {
|
|
35
|
+
multipleBonds: PD.Select<"off" | "symmetric" | "offset">;
|
|
29
36
|
includeParent: PD.BooleanParam;
|
|
30
37
|
sizeFactor: PD.Numeric;
|
|
31
38
|
unitKinds: PD.MultiSelect<"spheres" | "atomic" | "gaussians">;
|
|
32
|
-
visuals: PD.MultiSelect<"intra-bond" | "inter-bond">;
|
|
33
|
-
|
|
34
|
-
excludeTypes: PD.MultiSelect<"computed" | "covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic">;
|
|
39
|
+
visuals: PD.MultiSelect<"intra-bond" | "inter-bond" | "element-point" | "element-cross">;
|
|
40
|
+
lineSizeAttenuation: PD.BooleanParam;
|
|
35
41
|
ignoreHydrogens: PD.BooleanParam;
|
|
42
|
+
traceOnly: PD.BooleanParam;
|
|
43
|
+
crosses: PD.Select<"all" | "lone">;
|
|
44
|
+
crossSize: PD.Numeric;
|
|
45
|
+
alpha: PD.Numeric;
|
|
46
|
+
quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">;
|
|
47
|
+
pointSizeAttenuation: PD.BooleanParam;
|
|
48
|
+
pointStyle: PD.Select<"square" | "circle" | "fuzzy">;
|
|
49
|
+
includeTypes: PD.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">;
|
|
50
|
+
excludeTypes: PD.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">;
|
|
36
51
|
aromaticBonds: PD.BooleanParam;
|
|
37
52
|
linkScale: PD.Numeric;
|
|
38
53
|
linkSpacing: PD.Numeric;
|
|
39
54
|
dashCount: PD.Numeric;
|
|
40
|
-
lineSizeAttenuation: PD.BooleanParam;
|
|
41
|
-
alpha: PD.Numeric;
|
|
42
|
-
quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">;
|
|
43
55
|
};
|
|
44
56
|
export declare type LineRepresentation = StructureRepresentation<LineParams>;
|
|
45
57
|
export declare function LineRepresentation(ctx: RepresentationContext, getParams: RepresentationParamsGetter<Structure, LineParams>): LineRepresentation;
|
|
46
58
|
export declare const LineRepresentationProvider: StructureRepresentationProvider<{
|
|
59
|
+
multipleBonds: PD.Select<"off" | "symmetric" | "offset">;
|
|
47
60
|
includeParent: PD.BooleanParam;
|
|
48
61
|
sizeFactor: PD.Numeric;
|
|
49
62
|
unitKinds: PD.MultiSelect<"spheres" | "atomic" | "gaussians">;
|
|
50
|
-
visuals: PD.MultiSelect<"intra-bond" | "inter-bond">;
|
|
51
|
-
|
|
52
|
-
excludeTypes: PD.MultiSelect<"computed" | "covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic">;
|
|
63
|
+
visuals: PD.MultiSelect<"intra-bond" | "inter-bond" | "element-point" | "element-cross">;
|
|
64
|
+
lineSizeAttenuation: PD.BooleanParam;
|
|
53
65
|
ignoreHydrogens: PD.BooleanParam;
|
|
66
|
+
traceOnly: PD.BooleanParam;
|
|
67
|
+
crosses: PD.Select<"all" | "lone">;
|
|
68
|
+
crossSize: PD.Numeric;
|
|
69
|
+
alpha: PD.Numeric;
|
|
70
|
+
quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">;
|
|
71
|
+
pointSizeAttenuation: PD.BooleanParam;
|
|
72
|
+
pointStyle: PD.Select<"square" | "circle" | "fuzzy">;
|
|
73
|
+
includeTypes: PD.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">;
|
|
74
|
+
excludeTypes: PD.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">;
|
|
54
75
|
aromaticBonds: PD.BooleanParam;
|
|
55
76
|
linkScale: PD.Numeric;
|
|
56
77
|
linkSpacing: PD.Numeric;
|
|
57
78
|
dashCount: PD.Numeric;
|
|
58
|
-
lineSizeAttenuation: PD.BooleanParam;
|
|
59
|
-
alpha: PD.Numeric;
|
|
60
|
-
quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">;
|
|
61
79
|
}, "line">;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Copyright (c) 2020 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
|
+
* Copyright (c) 2020-2021 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
4
4
|
*
|
|
5
5
|
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
6
6
|
*/
|
|
@@ -15,13 +15,19 @@ var complex_representation_1 = require("../complex-representation");
|
|
|
15
15
|
var representation_1 = require("../representation");
|
|
16
16
|
var representation_2 = require("../../../mol-repr/representation");
|
|
17
17
|
var params_1 = require("../params");
|
|
18
|
+
var element_point_1 = require("../visual/element-point");
|
|
19
|
+
var element_cross_1 = require("../visual/element-cross");
|
|
18
20
|
var LineVisuals = {
|
|
19
21
|
'intra-bond': function (ctx, getParams) { return (0, units_representation_1.UnitsRepresentation)('Intra-unit bond line', ctx, getParams, bond_intra_unit_line_1.IntraUnitBondLineVisual); },
|
|
20
22
|
'inter-bond': function (ctx, getParams) { return (0, complex_representation_1.ComplexRepresentation)('Inter-unit bond line', ctx, getParams, bond_inter_unit_line_1.InterUnitBondLineVisual); },
|
|
23
|
+
'element-point': function (ctx, getParams) { return (0, units_representation_1.UnitsRepresentation)('Points', ctx, getParams, element_point_1.ElementPointVisual); },
|
|
24
|
+
'element-cross': function (ctx, getParams) { return (0, units_representation_1.UnitsRepresentation)('Crosses', ctx, getParams, element_cross_1.ElementCrossVisual); },
|
|
21
25
|
};
|
|
22
|
-
exports.LineParams = (0, tslib_1.__assign)((0, tslib_1.__assign)((0, tslib_1.__assign)({}, bond_intra_unit_line_1.IntraUnitBondLineParams), bond_inter_unit_line_1.InterUnitBondLineParams), { includeParent: param_definition_1.ParamDefinition.Boolean(false), sizeFactor: param_definition_1.ParamDefinition.Numeric(
|
|
26
|
+
exports.LineParams = (0, tslib_1.__assign)((0, tslib_1.__assign)((0, tslib_1.__assign)((0, tslib_1.__assign)((0, tslib_1.__assign)({}, bond_intra_unit_line_1.IntraUnitBondLineParams), bond_inter_unit_line_1.InterUnitBondLineParams), element_point_1.ElementPointParams), element_cross_1.ElementCrossParams), { multipleBonds: param_definition_1.ParamDefinition.Select('offset', param_definition_1.ParamDefinition.arrayToOptions(['off', 'symmetric', 'offset'])), includeParent: param_definition_1.ParamDefinition.Boolean(false), sizeFactor: param_definition_1.ParamDefinition.Numeric(3, { min: 0.01, max: 10, step: 0.01 }), unitKinds: (0, params_1.getUnitKindsParam)(['atomic']), visuals: param_definition_1.ParamDefinition.MultiSelect(['intra-bond', 'inter-bond', 'element-point', 'element-cross'], param_definition_1.ParamDefinition.objectToOptions(LineVisuals)) });
|
|
23
27
|
function getLineParams(ctx, structure) {
|
|
24
|
-
|
|
28
|
+
var params = param_definition_1.ParamDefinition.clone(exports.LineParams);
|
|
29
|
+
params.pointStyle.defaultValue = 'circle';
|
|
30
|
+
return params;
|
|
25
31
|
}
|
|
26
32
|
exports.getLineParams = getLineParams;
|
|
27
33
|
function LineRepresentation(ctx, getParams) {
|
|
@@ -31,7 +37,7 @@ exports.LineRepresentation = LineRepresentation;
|
|
|
31
37
|
exports.LineRepresentationProvider = (0, representation_1.StructureRepresentationProvider)({
|
|
32
38
|
name: 'line',
|
|
33
39
|
label: 'Line',
|
|
34
|
-
description: 'Displays bonds as lines.',
|
|
40
|
+
description: 'Displays bonds as lines and atoms as points or croses.',
|
|
35
41
|
factory: LineRepresentation,
|
|
36
42
|
getParams: getLineParams,
|
|
37
43
|
defaultValues: param_definition_1.ParamDefinition.getDefaultValues(exports.LineParams),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"line.js","sourceRoot":"","sources":["../../../../../src/mol-repr/structure/representation/line.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;AAEH,uEAAkG;AAClG,uEAAkG;AAClG,uEAA2E;AAC3E,gEAA8D;AAC9D,oEAAkE;AAClE,oDAAkI;AAClI,mEAAqH;AAGrH,oCAA8C;
|
|
1
|
+
{"version":3,"file":"line.js","sourceRoot":"","sources":["../../../../../src/mol-repr/structure/representation/line.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;AAEH,uEAAkG;AAClG,uEAAkG;AAClG,uEAA2E;AAC3E,gEAA8D;AAC9D,oEAAkE;AAClE,oDAAkI;AAClI,mEAAqH;AAGrH,oCAA8C;AAC9C,yDAAiF;AACjF,yDAAiF;AAEjF,IA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