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
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,23 @@ Note that since we don't clearly distinguish between a public and private interf
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [v2.3.5] - 2021-10-19
|
|
10
|
+
|
|
11
|
+
- Fix sequence viewer for PDB files with COMPND record and multichain entities.
|
|
12
|
+
- Fix index pair bonds order assignment
|
|
13
|
+
|
|
14
|
+
## [v2.3.4] - 2021-10-12
|
|
15
|
+
|
|
16
|
+
- Fix pickScale not taken into account in line/point shader
|
|
17
|
+
- Add pixel-scale, pick-scale & pick-padding GET params to Viewer app
|
|
18
|
+
- Fix selecting bonds not adding their atoms in selection manager
|
|
19
|
+
- Add ``preferAtoms`` option to SelectLoci/HighlightLoci behaviors
|
|
20
|
+
- Make the implicit atoms of bond visuals pickable
|
|
21
|
+
- Add ``preferAtomPixelPadding`` to Canvas3dInteractionHelper
|
|
22
|
+
- Add points & crosses visuals to Line representation
|
|
23
|
+
- Add ``pickPadding`` config option (look around in case target pixel is empty)
|
|
24
|
+
- Add ``multipleBonds`` param to bond visuals with options: off, symmetric, offset
|
|
25
|
+
- Fix ``argparse`` config in servers.
|
|
9
26
|
|
|
10
27
|
## [v2.3.3] - 2021-10-01
|
|
11
28
|
|
|
@@ -15,11 +32,10 @@ Note that since we don't clearly distinguish between a public and private interf
|
|
|
15
32
|
|
|
16
33
|
- Prefer WebGL1 on iOS devices until WebGL2 support has stabilized.
|
|
17
34
|
|
|
18
|
-
|
|
19
35
|
## [v2.3.1] - 2021-09-28
|
|
20
36
|
|
|
21
37
|
- Add Charmm saccharide names
|
|
22
|
-
- Treat missing occupancy column as
|
|
38
|
+
- Treat missing occupancy column as occupancy of 1
|
|
23
39
|
- Fix line shader not accounting for aspect ratio
|
|
24
40
|
- [Breaking] Fix point repr & shader
|
|
25
41
|
- Was unusable with ``wboit``
|
package/build/viewer/index.html
CHANGED
|
@@ -53,6 +53,9 @@
|
|
|
53
53
|
var pdbProvider = getParam('pdb-provider', '[^&]+').trim().toLowerCase();
|
|
54
54
|
var emdbProvider = getParam('emdb-provider', '[^&]+').trim().toLowerCase();
|
|
55
55
|
var mapProvider = getParam('map-provider', '[^&]+').trim().toLowerCase();
|
|
56
|
+
var pixelScale = getParam('pixel-scale', '[^&]+').trim();
|
|
57
|
+
var pickScale = getParam('pick-scale', '[^&]+').trim();
|
|
58
|
+
var pickPadding = getParam('pick-padding', '[^&]+').trim();
|
|
56
59
|
var viewer = new molstar.Viewer('app', {
|
|
57
60
|
layoutShowControls: !hideControls,
|
|
58
61
|
viewportShowExpand: false,
|
|
@@ -61,7 +64,10 @@
|
|
|
61
64
|
emdbProvider: emdbProvider || 'pdbe',
|
|
62
65
|
volumeStreamingServer: (mapProvider || 'pdbe') === 'rcsb'
|
|
63
66
|
? 'https://maps.rcsb.org'
|
|
64
|
-
: 'https://www.ebi.ac.uk/pdbe/densities'
|
|
67
|
+
: 'https://www.ebi.ac.uk/pdbe/densities',
|
|
68
|
+
pixelScale: parseFloat(pixelScale) || 1,
|
|
69
|
+
pickScale: parseFloat(pickScale) || 0.25,
|
|
70
|
+
pickPadding: isNaN(parseFloat(pickPadding)) ? 1 : parseFloat(pickPadding),
|
|
65
71
|
});
|
|
66
72
|
|
|
67
73
|
var snapshotId = getParam('snapshot-id', '[^&]+').trim();
|