molstar 2.3.3 → 2.3.8
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/LICENSE +20 -20
- package/README.md +176 -176
- package/build/viewer/embedded.html +43 -43
- package/build/viewer/index.html +94 -88
- package/build/viewer/molstar.css +1 -2
- package/build/viewer/molstar.js +1 -1
- package/lib/apps/docking-viewer/index.html +36 -36
- package/lib/apps/docking-viewer/index.js +1 -1
- package/lib/apps/docking-viewer/index.js.map +1 -1
- package/lib/apps/viewer/embedded.html +43 -43
- package/lib/apps/viewer/index.d.ts +296 -5
- package/lib/apps/viewer/index.html +94 -88
- package/lib/apps/viewer/index.js +99 -9
- package/lib/apps/viewer/index.js.map +1 -1
- package/lib/cli/chem-comp-dict/create-ions.js +1 -1
- package/lib/cli/chem-comp-dict/create-ions.js.map +1 -1
- package/lib/cli/chem-comp-dict/create-table.js +3 -3
- package/lib/cli/chem-comp-dict/create-table.js.map +1 -1
- package/lib/cli/chem-comp-dict/util.d.ts +4 -4
- package/lib/cli/chem-comp-dict/util.js +2 -2
- package/lib/cli/chem-comp-dict/util.js.map +1 -1
- package/lib/cli/cif2bcif/converter.js +2 -2
- package/lib/cli/cif2bcif/converter.js.map +1 -1
- package/lib/cli/cifschema/index.js +12 -12
- package/lib/cli/cifschema/index.js.map +1 -1
- package/lib/cli/cifschema/util/cif-dic.js +19 -19
- package/lib/cli/cifschema/util/cif-dic.js.map +1 -1
- package/lib/cli/cifschema/util/generate.js +21 -21
- package/lib/cli/cifschema/util/generate.js.map +1 -1
- package/lib/cli/cifschema/util/schema.js +1 -1
- package/lib/cli/cifschema/util/schema.js.map +1 -1
- package/lib/cli/lipid-params/index.js +3 -3
- package/lib/cli/lipid-params/index.js.map +1 -1
- package/lib/cli/state-docs/index.js +4 -4
- package/lib/cli/state-docs/index.js.map +1 -1
- package/lib/cli/state-docs/pd-to-md.js +10 -10
- package/lib/cli/state-docs/pd-to-md.js.map +1 -1
- package/lib/cli/structure-info/model.js +18 -18
- package/lib/cli/structure-info/model.js.map +1 -1
- package/lib/cli/structure-info/volume.js +1 -1
- package/lib/cli/structure-info/volume.js.map +1 -1
- package/lib/commonjs/apps/docking-viewer/index.js +1 -1
- package/lib/commonjs/apps/docking-viewer/index.js.map +1 -1
- package/lib/commonjs/apps/docking-viewer/viewport.d.ts +2 -2
- package/lib/commonjs/apps/viewer/index.d.ts +296 -5
- package/lib/commonjs/apps/viewer/index.js +99 -9
- package/lib/commonjs/apps/viewer/index.js.map +1 -1
- package/lib/commonjs/cli/chem-comp-dict/create-ions.js +1 -1
- package/lib/commonjs/cli/chem-comp-dict/create-ions.js.map +1 -1
- package/lib/commonjs/cli/chem-comp-dict/create-table.js +3 -3
- package/lib/commonjs/cli/chem-comp-dict/create-table.js.map +1 -1
- package/lib/commonjs/cli/chem-comp-dict/util.d.ts +6 -6
- package/lib/commonjs/cli/chem-comp-dict/util.js +2 -2
- package/lib/commonjs/cli/chem-comp-dict/util.js.map +1 -1
- package/lib/commonjs/cli/cif2bcif/converter.js +2 -2
- package/lib/commonjs/cli/cif2bcif/converter.js.map +1 -1
- package/lib/commonjs/cli/cif2bcif/index.js +0 -0
- package/lib/commonjs/cli/cifschema/index.js +12 -12
- package/lib/commonjs/cli/cifschema/index.js.map +1 -1
- package/lib/commonjs/cli/cifschema/util/cif-dic.js +19 -19
- package/lib/commonjs/cli/cifschema/util/cif-dic.js.map +1 -1
- package/lib/commonjs/cli/cifschema/util/generate.js +21 -21
- package/lib/commonjs/cli/cifschema/util/generate.js.map +1 -1
- package/lib/commonjs/cli/cifschema/util/schema.js +1 -1
- package/lib/commonjs/cli/cifschema/util/schema.js.map +1 -1
- package/lib/commonjs/cli/lipid-params/index.js +3 -3
- package/lib/commonjs/cli/lipid-params/index.js.map +1 -1
- package/lib/commonjs/cli/state-docs/index.js +4 -4
- package/lib/commonjs/cli/state-docs/index.js.map +1 -1
- package/lib/commonjs/cli/state-docs/pd-to-md.js +10 -10
- package/lib/commonjs/cli/state-docs/pd-to-md.js.map +1 -1
- package/lib/commonjs/cli/structure-info/model.js +18 -18
- package/lib/commonjs/cli/structure-info/model.js.map +1 -1
- package/lib/commonjs/cli/structure-info/volume.js +1 -1
- package/lib/commonjs/cli/structure-info/volume.js.map +1 -1
- package/lib/commonjs/examples/basic-wrapper/superposition.js +3 -3
- package/lib/commonjs/examples/basic-wrapper/superposition.js.map +1 -1
- package/lib/commonjs/examples/domain-annotation-server/mapping.js +2 -2
- package/lib/commonjs/examples/domain-annotation-server/mapping.js.map +1 -1
- package/lib/commonjs/examples/domain-annotation-server/server.js +3 -3
- package/lib/commonjs/examples/domain-annotation-server/server.js.map +1 -1
- package/lib/commonjs/examples/proteopedia-wrapper/annotation.js +3 -3
- package/lib/commonjs/examples/proteopedia-wrapper/annotation.js.map +1 -1
- package/lib/commonjs/examples/proteopedia-wrapper/helpers.js +1 -1
- package/lib/commonjs/examples/proteopedia-wrapper/helpers.js.map +1 -1
- package/lib/commonjs/examples/proteopedia-wrapper/index.js +2 -2
- package/lib/commonjs/examples/proteopedia-wrapper/index.js.map +1 -1
- package/lib/commonjs/examples/task.js +6 -6
- package/lib/commonjs/examples/task.js.map +1 -1
- package/lib/commonjs/extensions/alpha-orbitals/transforms.js +2 -2
- package/lib/commonjs/extensions/alpha-orbitals/transforms.js.map +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/anvil/representation.js +1 -1
- package/lib/commonjs/extensions/anvil/representation.js.map +1 -1
- package/lib/commonjs/extensions/cellpack/color/generate.d.ts +1 -1
- package/lib/commonjs/extensions/cellpack/color/generate.js +1 -1
- package/lib/commonjs/extensions/cellpack/color/provided.d.ts +1 -1
- package/lib/commonjs/extensions/cellpack/color/provided.js +1 -1
- package/lib/commonjs/extensions/cellpack/curve.d.ts +2 -2
- package/lib/commonjs/extensions/cellpack/curve.js +2 -2
- package/lib/commonjs/extensions/cellpack/data.d.ts +32 -0
- package/lib/commonjs/extensions/cellpack/index.d.ts +1 -1
- package/lib/commonjs/extensions/cellpack/index.js +1 -1
- package/lib/commonjs/extensions/cellpack/model.d.ts +5 -3
- package/lib/commonjs/extensions/cellpack/model.js +203 -65
- package/lib/commonjs/extensions/cellpack/model.js.map +1 -1
- package/lib/commonjs/extensions/cellpack/preset.d.ts +2 -1
- package/lib/commonjs/extensions/cellpack/preset.js +12 -15
- package/lib/commonjs/extensions/cellpack/preset.js.map +1 -1
- package/lib/commonjs/extensions/cellpack/property.d.ts +1 -1
- package/lib/commonjs/extensions/cellpack/property.js +1 -1
- package/lib/commonjs/extensions/cellpack/representation.d.ts +53 -0
- package/lib/commonjs/extensions/cellpack/representation.js +47 -0
- package/lib/commonjs/extensions/cellpack/representation.js.map +1 -0
- package/lib/commonjs/extensions/cellpack/state.d.ts +16 -5
- package/lib/commonjs/extensions/cellpack/state.js +234 -27
- package/lib/commonjs/extensions/cellpack/state.js.map +1 -1
- package/lib/commonjs/extensions/cellpack/util.d.ts +3 -1
- package/lib/commonjs/extensions/cellpack/util.js +34 -6
- package/lib/commonjs/extensions/cellpack/util.js.map +1 -1
- 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/dnatco/confal-pyramids/util.js +7 -7
- package/lib/commonjs/extensions/dnatco/confal-pyramids/util.js.map +1 -1
- package/lib/commonjs/extensions/g3d/data.js +2 -2
- package/lib/commonjs/extensions/g3d/data.js.map +1 -1
- package/lib/commonjs/extensions/g3d/model.js +2 -2
- package/lib/commonjs/extensions/g3d/model.js.map +1 -1
- package/lib/commonjs/extensions/geo-export/controls.js +2 -2
- package/lib/commonjs/extensions/geo-export/controls.js.map +1 -1
- package/lib/commonjs/extensions/geo-export/glb-exporter.js +1 -1
- package/lib/commonjs/extensions/geo-export/glb-exporter.js.map +1 -1
- package/lib/commonjs/extensions/geo-export/mesh-exporter.d.ts +1 -1
- package/lib/commonjs/extensions/geo-export/obj-exporter.js +3 -3
- package/lib/commonjs/extensions/geo-export/obj-exporter.js.map +1 -1
- package/lib/commonjs/extensions/geo-export/stl-exporter.js +1 -1
- package/lib/commonjs/extensions/geo-export/stl-exporter.js.map +1 -1
- package/lib/commonjs/extensions/geo-export/usdz-exporter.js +5 -5
- package/lib/commonjs/extensions/geo-export/usdz-exporter.js.map +1 -1
- package/lib/commonjs/extensions/mp4-export/controls.js +1 -1
- package/lib/commonjs/extensions/mp4-export/controls.js.map +1 -1
- package/lib/commonjs/extensions/pdbe/structure-quality-report/behavior.js +1 -1
- package/lib/commonjs/extensions/pdbe/structure-quality-report/behavior.js.map +1 -1
- package/lib/commonjs/extensions/pdbe/structure-quality-report/prop.js +1 -1
- package/lib/commonjs/extensions/pdbe/structure-quality-report/prop.js.map +1 -1
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +6 -6
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.js +3 -3
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.js.map +1 -1
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/color.d.ts +12 -12
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/color.js +1 -1
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/color.js.map +1 -1
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/prop.js +2 -2
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/prop.js.map +1 -1
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.d.ts +1 -1
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.js +7 -7
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.js.map +1 -1
- package/lib/commonjs/extensions/rcsb/validation-report/behavior.d.ts +3 -3
- package/lib/commonjs/extensions/rcsb/validation-report/behavior.js +11 -11
- package/lib/commonjs/extensions/rcsb/validation-report/behavior.js.map +1 -1
- package/lib/commonjs/extensions/rcsb/validation-report/prop.js +2 -2
- package/lib/commonjs/extensions/rcsb/validation-report/prop.js.map +1 -1
- package/lib/commonjs/extensions/rcsb/validation-report/representation.d.ts +25 -10
- package/lib/commonjs/extensions/rcsb/validation-report/representation.js +4 -4
- package/lib/commonjs/extensions/rcsb/validation-report/representation.js.map +1 -1
- 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 +18 -8
- package/lib/commonjs/mol-canvas3d/canvas3d.js +11 -5
- package/lib/commonjs/mol-canvas3d/canvas3d.js.map +1 -1
- package/lib/commonjs/mol-canvas3d/controls/trackball.d.ts +2 -2
- package/lib/commonjs/mol-canvas3d/helper/camera-helper.d.ts +3 -3
- package/lib/commonjs/mol-canvas3d/helper/handle-helper.d.ts +1 -1
- package/lib/commonjs/mol-canvas3d/helper/handle-helper.js +1 -1
- package/lib/commonjs/mol-canvas3d/helper/handle-helper.js.map +1 -1
- 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-canvas3d/passes/wboit.js +1 -1
- package/lib/commonjs/mol-canvas3d/passes/wboit.js.map +1 -1
- package/lib/commonjs/mol-canvas3d/util.js +1 -1
- package/lib/commonjs/mol-canvas3d/util.js.map +1 -1
- package/lib/commonjs/mol-data/db/table.js +1 -1
- package/lib/commonjs/mol-data/db/table.js.map +1 -1
- package/lib/commonjs/mol-data/int/_spec/sorted-ranges.spec.js +1 -1
- package/lib/commonjs/mol-data/int/_spec/sorted-ranges.spec.js.map +1 -1
- package/lib/commonjs/mol-data/int/impl/ordered-set.d.ts +3 -3
- package/lib/commonjs/mol-data/int/impl/sorted-array.d.ts +1 -1
- package/lib/commonjs/mol-data/int/impl/sorted-array.js +2 -2
- package/lib/commonjs/mol-data/int/impl/sorted-array.js.map +1 -1
- package/lib/commonjs/mol-data/int/tuple.js +1 -1
- package/lib/commonjs/mol-data/int/tuple.js.map +1 -1
- package/lib/commonjs/mol-data/util/_spec/interval-iterator.spec.js +1 -1
- package/lib/commonjs/mol-data/util/_spec/interval-iterator.spec.js.map +1 -1
- package/lib/commonjs/mol-geo/geometry/base.d.ts +3 -3
- package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.d.ts +3 -3
- package/lib/commonjs/mol-geo/geometry/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 +3 -3
- 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.d.ts +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/mesh/builder/sheet.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/mesh/builder/sheet.js +19 -11
- package/lib/commonjs/mol-geo/geometry/mesh/builder/sheet.js.map +1 -1
- package/lib/commonjs/mol-geo/geometry/mesh/builder/tube.d.ts +2 -2
- package/lib/commonjs/mol-geo/geometry/mesh/builder/tube.js +57 -15
- 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/mesh/mesh.js +1 -1
- package/lib/commonjs/mol-geo/geometry/mesh/mesh.js.map +1 -1
- package/lib/commonjs/mol-geo/geometry/points/points.d.ts +3 -3
- 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/spheres/spheres.d.ts +2 -1
- package/lib/commonjs/mol-geo/geometry/text/font-atlas.js +1 -1
- package/lib/commonjs/mol-geo/geometry/text/font-atlas.js.map +1 -1
- package/lib/commonjs/mol-geo/geometry/text/text.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/text/text.js +1 -1
- package/lib/commonjs/mol-geo/geometry/text/text.js.map +1 -1
- package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +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-geo/primitive/polyhedron.js +1 -1
- package/lib/commonjs/mol-geo/primitive/polyhedron.js.map +1 -1
- package/lib/commonjs/mol-gl/_spec/cylinders.spec.d.ts +6 -0
- package/lib/commonjs/mol-gl/_spec/cylinders.spec.js +42 -0
- package/lib/commonjs/mol-gl/_spec/cylinders.spec.js.map +1 -0
- package/lib/commonjs/mol-gl/_spec/direct-volume.spec.d.ts +6 -0
- package/lib/commonjs/mol-gl/_spec/direct-volume.spec.js +42 -0
- package/lib/commonjs/mol-gl/_spec/direct-volume.spec.js.map +1 -0
- package/lib/commonjs/mol-gl/_spec/gl.d.ts +9 -0
- package/lib/commonjs/mol-gl/_spec/gl.js +33 -0
- package/lib/commonjs/mol-gl/_spec/gl.js.map +1 -0
- package/lib/commonjs/mol-gl/_spec/gl.shim.js +5 -5
- package/lib/commonjs/mol-gl/_spec/gl.shim.js.map +1 -1
- package/lib/commonjs/mol-gl/_spec/image.spec.d.ts +6 -0
- package/lib/commonjs/mol-gl/_spec/image.spec.js +42 -0
- package/lib/commonjs/mol-gl/_spec/image.spec.js.map +1 -0
- package/lib/commonjs/mol-gl/_spec/lines.spec.d.ts +6 -0
- package/lib/commonjs/mol-gl/_spec/lines.spec.js +42 -0
- package/lib/commonjs/mol-gl/_spec/lines.spec.js.map +1 -0
- package/lib/commonjs/mol-gl/_spec/mesh.spec.d.ts +6 -0
- package/lib/commonjs/mol-gl/_spec/mesh.spec.js +42 -0
- package/lib/commonjs/mol-gl/_spec/mesh.spec.js.map +1 -0
- package/lib/commonjs/mol-gl/_spec/points.spec.d.ts +6 -0
- package/lib/commonjs/mol-gl/_spec/points.spec.js +42 -0
- package/lib/commonjs/mol-gl/_spec/points.spec.js.map +1 -0
- package/lib/commonjs/mol-gl/_spec/renderer.spec.d.ts +7 -1
- package/lib/commonjs/mol-gl/_spec/renderer.spec.js +6 -44
- package/lib/commonjs/mol-gl/_spec/renderer.spec.js.map +1 -1
- package/lib/commonjs/mol-gl/_spec/spheres.spec.d.ts +6 -0
- package/lib/commonjs/mol-gl/_spec/spheres.spec.js +42 -0
- package/lib/commonjs/mol-gl/_spec/spheres.spec.js.map +1 -0
- package/lib/commonjs/mol-gl/_spec/text.spec.d.ts +6 -0
- package/lib/commonjs/mol-gl/_spec/text.spec.js +42 -0
- package/lib/commonjs/mol-gl/_spec/text.spec.js.map +1 -0
- package/lib/commonjs/mol-gl/_spec/texture-mesh.spec.d.ts +6 -0
- package/lib/commonjs/mol-gl/_spec/texture-mesh.spec.js +42 -0
- package/lib/commonjs/mol-gl/_spec/texture-mesh.spec.js.map +1 -0
- package/lib/commonjs/mol-gl/compute/grid3d.js +3 -3
- package/lib/commonjs/mol-gl/compute/grid3d.js.map +1 -1
- package/lib/commonjs/mol-gl/compute/histogram-pyramid/reduction.js +4 -4
- package/lib/commonjs/mol-gl/compute/histogram-pyramid/reduction.js.map +1 -1
- package/lib/commonjs/mol-gl/renderable/util.js +1 -1
- package/lib/commonjs/mol-gl/renderable/util.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/scene.js +1 -1
- package/lib/commonjs/mol-gl/scene.js.map +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.js +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.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/shader-code.js +8 -8
- package/lib/commonjs/mol-gl/shader-code.js.map +1 -1
- package/lib/commonjs/mol-gl/webgl/buffer.d.ts +3 -2
- package/lib/commonjs/mol-gl/webgl/buffer.js +5 -5
- package/lib/commonjs/mol-gl/webgl/buffer.js.map +1 -1
- package/lib/commonjs/mol-gl/webgl/compat.js +3 -3
- package/lib/commonjs/mol-gl/webgl/compat.js.map +1 -1
- package/lib/commonjs/mol-gl/webgl/context.js +6 -4
- package/lib/commonjs/mol-gl/webgl/context.js.map +1 -1
- package/lib/commonjs/mol-gl/webgl/framebuffer.js +1 -1
- package/lib/commonjs/mol-gl/webgl/framebuffer.js.map +1 -1
- package/lib/commonjs/mol-gl/webgl/program.d.ts +1 -1
- package/lib/commonjs/mol-gl/webgl/program.js +14 -12
- package/lib/commonjs/mol-gl/webgl/program.js.map +1 -1
- package/lib/commonjs/mol-gl/webgl/render-item.d.ts +3 -2
- package/lib/commonjs/mol-gl/webgl/render-item.js +6 -3
- package/lib/commonjs/mol-gl/webgl/render-item.js.map +1 -1
- package/lib/commonjs/mol-gl/webgl/resources.js +1 -1
- package/lib/commonjs/mol-gl/webgl/resources.js.map +1 -1
- package/lib/commonjs/mol-gl/webgl/shader.js +3 -3
- package/lib/commonjs/mol-gl/webgl/shader.js.map +1 -1
- package/lib/commonjs/mol-gl/webgl/state.d.ts +4 -1
- package/lib/commonjs/mol-gl/webgl/state.js +25 -1
- package/lib/commonjs/mol-gl/webgl/state.js.map +1 -1
- package/lib/commonjs/mol-gl/webgl/texture.js +2 -2
- package/lib/commonjs/mol-gl/webgl/texture.js.map +1 -1
- package/lib/commonjs/mol-gl/webgl/uniform.js +2 -2
- package/lib/commonjs/mol-gl/webgl/uniform.js.map +1 -1
- package/lib/commonjs/mol-io/common/file-handle.js +1 -1
- package/lib/commonjs/mol-io/common/file-handle.js.map +1 -1
- package/lib/commonjs/mol-io/common/typed-array.js +1 -1
- package/lib/commonjs/mol-io/common/typed-array.js.map +1 -1
- package/lib/commonjs/mol-io/reader/ccp4/parser.js +1 -1
- package/lib/commonjs/mol-io/reader/ccp4/parser.js.map +1 -1
- package/lib/commonjs/mol-io/reader/cif/binary/parser.js +1 -1
- package/lib/commonjs/mol-io/reader/cif/binary/parser.js.map +1 -1
- package/lib/commonjs/mol-io/reader/cif/data-model.js +7 -7
- package/lib/commonjs/mol-io/reader/cif/data-model.js.map +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 +3 -3
- 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 +4 -4
- package/lib/commonjs/mol-io/reader/cif/schema/mmcif.d.ts +22 -22
- package/lib/commonjs/mol-io/reader/cif/schema.js +7 -7
- package/lib/commonjs/mol-io/reader/cif/schema.js.map +1 -1
- package/lib/commonjs/mol-io/reader/cif/text/parser.js +2 -2
- package/lib/commonjs/mol-io/reader/cif/text/parser.js.map +1 -1
- package/lib/commonjs/mol-io/reader/dcd/parser.js +2 -2
- package/lib/commonjs/mol-io/reader/dcd/parser.js.map +1 -1
- package/lib/commonjs/mol-io/reader/ply/schema.d.ts +1 -1
- package/lib/commonjs/mol-io/reader/ply/schema.js +1 -1
- package/lib/commonjs/mol-io/reader/ply/schema.js.map +1 -1
- package/lib/commonjs/mol-io/reader/result.js +1 -1
- package/lib/commonjs/mol-io/reader/result.js.map +1 -1
- package/lib/commonjs/mol-io/writer/cif/encoder/text.js +3 -3
- package/lib/commonjs/mol-io/writer/cif/encoder/text.js.map +1 -1
- package/lib/commonjs/mol-io/writer/cif/encoder.js +5 -5
- package/lib/commonjs/mol-io/writer/cif/encoder.js.map +1 -1
- package/lib/commonjs/mol-io/writer/mol/encoder.js +4 -4
- package/lib/commonjs/mol-io/writer/mol/encoder.js.map +1 -1
- package/lib/commonjs/mol-io/writer/mol2/encoder.js +6 -6
- package/lib/commonjs/mol-io/writer/mol2/encoder.js.map +1 -1
- package/lib/commonjs/mol-math/geometry/gaussian-density/gpu.js +1 -1
- package/lib/commonjs/mol-math/geometry/gaussian-density/gpu.js.map +1 -1
- package/lib/commonjs/mol-math/geometry/primitives/axes3d.d.ts +2 -1
- package/lib/commonjs/mol-math/geometry/primitives/axes3d.js +9 -2
- package/lib/commonjs/mol-math/geometry/primitives/axes3d.js.map +1 -1
- package/lib/commonjs/mol-math/geometry/spacegroup/construction.js +8 -8
- package/lib/commonjs/mol-math/geometry/spacegroup/construction.js.map +1 -1
- package/lib/commonjs/mol-math/geometry/spacegroup/tables.js +1 -1
- package/lib/commonjs/mol-math/geometry/spacegroup/tables.js.map +1 -1
- package/lib/commonjs/mol-math/geometry/symmetry-operator.js +4 -4
- package/lib/commonjs/mol-math/geometry/symmetry-operator.js.map +1 -1
- package/lib/commonjs/mol-math/graph/inter-unit-graph.js +2 -2
- package/lib/commonjs/mol-math/graph/inter-unit-graph.js.map +1 -1
- package/lib/commonjs/mol-math/linear-algebra/3d/quat.js +1 -1
- package/lib/commonjs/mol-math/linear-algebra/3d/quat.js.map +1 -1
- package/lib/commonjs/mol-math/linear-algebra/3d/vec2.js +1 -1
- package/lib/commonjs/mol-math/linear-algebra/3d/vec2.js.map +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 +12 -4
- package/lib/commonjs/mol-math/linear-algebra/3d/vec3.js.map +1 -1
- package/lib/commonjs/mol-math/linear-algebra/3d/vec4.js +1 -1
- package/lib/commonjs/mol-math/linear-algebra/3d/vec4.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/sequence/sequence.js +2 -2
- package/lib/commonjs/mol-model/sequence/sequence.js.map +1 -1
- package/lib/commonjs/mol-model/shape/shape.d.ts +1 -1
- package/lib/commonjs/mol-model/structure/export/categories/atom_site.js +2 -2
- package/lib/commonjs/mol-model/structure/export/categories/atom_site.js.map +1 -1
- package/lib/commonjs/mol-model/structure/export/categories/atom_site_operator_mapping.js +1 -1
- package/lib/commonjs/mol-model/structure/export/categories/atom_site_operator_mapping.js.map +1 -1
- package/lib/commonjs/mol-model/structure/export/categories/secondary-structure.js +1 -1
- package/lib/commonjs/mol-model/structure/export/categories/secondary-structure.js.map +1 -1
- package/lib/commonjs/mol-model/structure/export/mmcif.js +1 -1
- package/lib/commonjs/mol-model/structure/export/mmcif.js.map +1 -1
- package/lib/commonjs/mol-model/structure/model/properties/atomic/bonds.js +2 -2
- package/lib/commonjs/mol-model/structure/model/properties/atomic/bonds.js.map +1 -1
- package/lib/commonjs/mol-model/structure/model/properties/symmetry.js +3 -3
- package/lib/commonjs/mol-model/structure/model/properties/symmetry.js.map +1 -1
- package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-index.js +2 -2
- package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-index.js.map +1 -1
- package/lib/commonjs/mol-model/structure/model/properties/utils/coarse-keys.js +1 -1
- package/lib/commonjs/mol-model/structure/model/properties/utils/coarse-keys.js.map +1 -1
- package/lib/commonjs/mol-model/structure/model/properties/utils/residue-set.js +1 -1
- package/lib/commonjs/mol-model/structure/model/properties/utils/residue-set.js.map +1 -1
- package/lib/commonjs/mol-model/structure/query/context.js +1 -1
- package/lib/commonjs/mol-model/structure/query/context.js.map +1 -1
- package/lib/commonjs/mol-model/structure/structure/carbohydrates/compute.js +1 -1
- package/lib/commonjs/mol-model/structure/structure/carbohydrates/compute.js.map +1 -1
- package/lib/commonjs/mol-model/structure/structure/element/loci.d.ts +1 -0
- package/lib/commonjs/mol-model/structure/structure/element/loci.js +16 -2
- package/lib/commonjs/mol-model/structure/structure/element/loci.js.map +1 -1
- package/lib/commonjs/mol-model/structure/structure/element/util.js +1 -1
- package/lib/commonjs/mol-model/structure/structure/element/util.js.map +1 -1
- package/lib/commonjs/mol-model/structure/structure/properties.d.ts +3 -3
- package/lib/commonjs/mol-model/structure/structure/properties.js +1 -1
- package/lib/commonjs/mol-model/structure/structure/properties.js.map +1 -1
- package/lib/commonjs/mol-model/structure/structure/structure.js +3 -2
- package/lib/commonjs/mol-model/structure/structure/structure.js.map +1 -1
- package/lib/commonjs/mol-model/structure/structure/symmetry.js +3 -3
- package/lib/commonjs/mol-model/structure/structure/symmetry.js.map +1 -1
- 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 +4 -4
- package/lib/commonjs/mol-model/structure/structure/util/superposition-db-mapping.js +1 -1
- package/lib/commonjs/mol-model/structure/structure/util/superposition-db-mapping.js.map +1 -1
- package/lib/commonjs/mol-model/volume/volume.js +2 -2
- package/lib/commonjs/mol-model/volume/volume.js.map +1 -1
- package/lib/commonjs/mol-model-formats/shape/ply.d.ts +10 -10
- package/lib/commonjs/mol-model-formats/shape/ply.js +1 -1
- package/lib/commonjs/mol-model-formats/shape/ply.js.map +1 -1
- package/lib/commonjs/mol-model-formats/structure/basic/atomic.js +2 -2
- package/lib/commonjs/mol-model-formats/structure/basic/atomic.js.map +1 -1
- package/lib/commonjs/mol-model-formats/structure/basic/properties.js +2 -2
- package/lib/commonjs/mol-model-formats/structure/basic/properties.js.map +1 -1
- package/lib/commonjs/mol-model-formats/structure/basic/schema.d.ts +7 -7
- 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/common/entity.js +6 -6
- package/lib/commonjs/mol-model-formats/structure/common/entity.js.map +1 -1
- package/lib/commonjs/mol-model-formats/structure/pdb/assembly.js +10 -10
- package/lib/commonjs/mol-model-formats/structure/pdb/assembly.js.map +1 -1
- package/lib/commonjs/mol-model-formats/structure/pdb/conect.js +1 -1
- package/lib/commonjs/mol-model-formats/structure/pdb/conect.js.map +1 -1
- package/lib/commonjs/mol-model-formats/structure/pdb/entity.js +30 -4
- package/lib/commonjs/mol-model-formats/structure/pdb/entity.js.map +1 -1
- package/lib/commonjs/mol-model-formats/structure/property/assembly.js +1 -1
- package/lib/commonjs/mol-model-formats/structure/property/assembly.js.map +1 -1
- package/lib/commonjs/mol-model-formats/structure/property/symmetry.js +1 -1
- package/lib/commonjs/mol-model-formats/structure/property/symmetry.js.map +1 -1
- package/lib/commonjs/mol-model-formats/volume/ccp4.js +1 -1
- package/lib/commonjs/mol-model-formats/volume/ccp4.js.map +1 -1
- package/lib/commonjs/mol-model-props/common/custom-element-property.js +1 -1
- package/lib/commonjs/mol-model-props/common/custom-element-property.js.map +1 -1
- package/lib/commonjs/mol-model-props/common/custom-property.js +1 -1
- package/lib/commonjs/mol-model-props/common/custom-property.js.map +1 -1
- package/lib/commonjs/mol-model-props/computed/interactions/common.js +1 -1
- package/lib/commonjs/mol-model-props/computed/interactions/common.js.map +1 -1
- package/lib/commonjs/mol-model-props/computed/interactions/refine.js +2 -2
- package/lib/commonjs/mol-model-props/computed/interactions/refine.js.map +1 -1
- package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +5 -2
- package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +5 -2
- package/lib/commonjs/mol-model-props/computed/representations/interactions.d.ts +15 -6
- package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/property.js +1 -1
- package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/property.js.map +1 -1
- package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.d.ts +20 -8
- package/lib/commonjs/mol-model-props/integrative/pair-restraints.js +1 -1
- package/lib/commonjs/mol-model-props/integrative/pair-restraints.js.map +1 -1
- package/lib/commonjs/mol-model-props/sequence/best-database-mapping.js +1 -1
- package/lib/commonjs/mol-model-props/sequence/best-database-mapping.js.map +1 -1
- package/lib/commonjs/mol-model-props/sequence/themes/best-database-mapping.d.ts +12 -12
- package/lib/commonjs/mol-model-props/sequence/themes/best-database-mapping.js +1 -1
- package/lib/commonjs/mol-model-props/sequence/themes/best-database-mapping.js.map +1 -1
- package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/accessible-surface-area.js +3 -3
- package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/accessible-surface-area.js.map +1 -1
- package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/interactions.js +3 -3
- package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/interactions.js.map +1 -1
- package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/valence-model.js +1 -1
- package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/valence-model.js.map +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/selection/structure-focus-representation.d.ts +1 -1
- package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js +2 -2
- package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-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/behavior.js +6 -6
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/behavior.js.map +1 -1
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +3 -2
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/transformers.d.ts +7 -7
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/transformers.js +5 -5
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/transformers.js.map +1 -1
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/util.js +6 -6
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/util.js.map +1 -1
- package/lib/commonjs/mol-plugin/behavior/static/state.js +4 -4
- package/lib/commonjs/mol-plugin/behavior/static/state.js.map +1 -1
- package/lib/commonjs/mol-plugin/commands.d.ts +8 -4
- package/lib/commonjs/mol-plugin/config.d.ts +1 -0
- package/lib/commonjs/mol-plugin/config.js +11 -3
- package/lib/commonjs/mol-plugin/config.js.map +1 -1
- package/lib/commonjs/mol-plugin/context.js +7 -6
- package/lib/commonjs/mol-plugin/context.js.map +1 -1
- package/lib/commonjs/mol-plugin/layout.d.ts +4 -4
- package/lib/commonjs/mol-plugin/util/viewport-screenshot.d.ts +9 -9
- package/lib/commonjs/mol-plugin/util/viewport-screenshot.js +1 -1
- package/lib/commonjs/mol-plugin/util/viewport-screenshot.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/actions/file.js +3 -3
- package/lib/commonjs/mol-plugin-state/actions/file.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/actions/structure.d.ts +1 -1
- package/lib/commonjs/mol-plugin-state/actions/structure.js +12 -12
- package/lib/commonjs/mol-plugin-state/actions/structure.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/actions/volume.js +16 -16
- package/lib/commonjs/mol-plugin-state/actions/volume.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/animation/built-in/model-index.d.ts +2 -2
- package/lib/commonjs/mol-plugin-state/animation/helpers.d.ts +5 -5
- package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy-preset.d.ts +5 -5
- package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy.d.ts +5 -5
- package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy.js +2 -2
- package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.d.ts +21 -21
- package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.js +21 -17
- package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/builder/structure/representation.d.ts +1 -1
- package/lib/commonjs/mol-plugin-state/builder/structure/representation.js +2 -2
- package/lib/commonjs/mol-plugin-state/builder/structure/representation.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/builder/structure.js +3 -3
- package/lib/commonjs/mol-plugin-state/builder/structure.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/formats/registry.js +1 -1
- package/lib/commonjs/mol-plugin-state/formats/registry.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/formats/volume.d.ts +12 -12
- package/lib/commonjs/mol-plugin-state/helpers/root-structure.d.ts +5 -5
- package/lib/commonjs/mol-plugin-state/helpers/root-structure.js +10 -10
- package/lib/commonjs/mol-plugin-state/helpers/root-structure.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/helpers/structure-component.d.ts +2 -2
- package/lib/commonjs/mol-plugin-state/helpers/structure-component.js +3 -3
- package/lib/commonjs/mol-plugin-state/helpers/structure-component.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/helpers/structure-query.js +1 -1
- package/lib/commonjs/mol-plugin-state/helpers/structure-query.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.js +5 -5
- package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/manager/animation.js +1 -1
- package/lib/commonjs/mol-plugin-state/manager/animation.js.map +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/loci-label.js +1 -1
- package/lib/commonjs/mol-plugin-state/manager/loci-label.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/manager/snapshots.js +2 -2
- package/lib/commonjs/mol-plugin-state/manager/snapshots.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/manager/structure/component.d.ts +3 -3
- package/lib/commonjs/mol-plugin-state/manager/structure/hierarchy.js +2 -2
- package/lib/commonjs/mol-plugin-state/manager/structure/hierarchy.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/manager/structure/measurement.d.ts +7 -2
- package/lib/commonjs/mol-plugin-state/manager/structure/measurement.js +111 -13
- package/lib/commonjs/mol-plugin-state/manager/structure/measurement.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/manager/structure/selection.d.ts +3 -3
- package/lib/commonjs/mol-plugin-state/manager/structure/selection.js +4 -10
- package/lib/commonjs/mol-plugin-state/manager/structure/selection.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/transforms/data.d.ts +1 -1
- package/lib/commonjs/mol-plugin-state/transforms/data.js +8 -8
- package/lib/commonjs/mol-plugin-state/transforms/data.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/transforms/helpers.d.ts +3 -1
- package/lib/commonjs/mol-plugin-state/transforms/helpers.js +7 -4
- package/lib/commonjs/mol-plugin-state/transforms/helpers.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/transforms/model.d.ts +7 -7
- package/lib/commonjs/mol-plugin-state/transforms/model.js +18 -18
- package/lib/commonjs/mol-plugin-state/transforms/model.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +30 -15
- package/lib/commonjs/mol-plugin-state/transforms/representation.js +78 -26
- package/lib/commonjs/mol-plugin-state/transforms/representation.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/transforms/volume.js +7 -7
- package/lib/commonjs/mol-plugin-state/transforms/volume.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/base.js +1 -1
- package/lib/commonjs/mol-plugin-ui/base.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/action-menu.js +3 -3
- package/lib/commonjs/mol-plugin-ui/controls/action-menu.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/color.js +2 -2
- package/lib/commonjs/mol-plugin-ui/controls/color.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/common.js +9 -9
- package/lib/commonjs/mol-plugin-ui/controls/common.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/icons.js +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/icons.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/legend.js +3 -3
- package/lib/commonjs/mol-plugin-ui/controls/legend.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/line-graph/line-graph-component.js +6 -6
- package/lib/commonjs/mol-plugin-ui/controls/line-graph/line-graph-component.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/line-graph/point-component.js +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/line-graph/point-component.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/parameters.js +29 -29
- package/lib/commonjs/mol-plugin-ui/controls/parameters.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/screenshot.js +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/screenshot.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/slider.js +9 -9
- package/lib/commonjs/mol-plugin-ui/controls/slider.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/controls.js +2 -2
- package/lib/commonjs/mol-plugin-ui/controls.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/plugin.js +3 -3
- package/lib/commonjs/mol-plugin-ui/plugin.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/sequence/chain.js +3 -3
- package/lib/commonjs/mol-plugin-ui/sequence/chain.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/sequence/sequence.js +4 -4
- package/lib/commonjs/mol-plugin-ui/sequence/sequence.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/sequence.d.ts +1 -1
- package/lib/commonjs/mol-plugin-ui/sequence.js +24 -10
- package/lib/commonjs/mol-plugin-ui/sequence.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/state/actions.js +1 -1
- package/lib/commonjs/mol-plugin-ui/state/actions.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/state/common.js +2 -2
- package/lib/commonjs/mol-plugin-ui/state/common.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/state/snapshots.js +4 -4
- package/lib/commonjs/mol-plugin-ui/state/snapshots.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/state/tree.js +8 -8
- package/lib/commonjs/mol-plugin-ui/state/tree.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/structure/components.js +4 -4
- package/lib/commonjs/mol-plugin-ui/structure/components.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/structure/focus.js +4 -4
- package/lib/commonjs/mol-plugin-ui/structure/focus.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/structure/generic.js +2 -2
- package/lib/commonjs/mol-plugin-ui/structure/generic.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/structure/measurements.d.ts +11 -2
- package/lib/commonjs/mol-plugin-ui/structure/measurements.js +49 -6
- package/lib/commonjs/mol-plugin-ui/structure/measurements.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/structure/selection.js +4 -4
- package/lib/commonjs/mol-plugin-ui/structure/selection.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/structure/source.js +12 -12
- package/lib/commonjs/mol-plugin-ui/structure/source.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/structure/superposition.js +4 -4
- package/lib/commonjs/mol-plugin-ui/structure/superposition.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/structure/volume.js +2 -2
- package/lib/commonjs/mol-plugin-ui/structure/volume.js.map +1 -1
- package/lib/commonjs/mol-repr/representation.d.ts +1 -0
- package/lib/commonjs/mol-repr/representation.js +14 -8
- package/lib/commonjs/mol-repr/representation.js.map +1 -1
- package/lib/commonjs/mol-repr/shape/loci/angle.d.ts +1 -1
- package/lib/commonjs/mol-repr/shape/loci/angle.js +2 -2
- package/lib/commonjs/mol-repr/shape/loci/angle.js.map +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/dihedral.js +2 -2
- package/lib/commonjs/mol-repr/shape/loci/dihedral.js.map +1 -1
- package/lib/commonjs/mol-repr/shape/loci/distance.d.ts +1 -1
- package/lib/commonjs/mol-repr/shape/loci/distance.js +2 -2
- package/lib/commonjs/mol-repr/shape/loci/distance.js.map +1 -1
- package/lib/commonjs/mol-repr/shape/loci/label.d.ts +1 -1
- package/lib/commonjs/mol-repr/shape/loci/label.js +1 -1
- package/lib/commonjs/mol-repr/shape/loci/label.js.map +1 -1
- package/lib/commonjs/mol-repr/shape/loci/orientation.d.ts +6 -5
- package/lib/commonjs/mol-repr/shape/loci/orientation.js +38 -52
- package/lib/commonjs/mol-repr/shape/loci/orientation.js.map +1 -1
- package/lib/commonjs/mol-repr/shape/loci/plane.d.ts +27 -0
- package/lib/commonjs/mol-repr/shape/loci/plane.js +61 -0
- package/lib/commonjs/mol-repr/shape/loci/plane.js.map +1 -0
- package/lib/commonjs/mol-repr/shape/model/unitcell.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +13 -13
- package/lib/commonjs/mol-repr/structure/params.d.ts +12 -12
- package/lib/commonjs/mol-repr/structure/registry.d.ts +59 -40
- package/lib/commonjs/mol-repr/structure/registry.js +1 -1
- package/lib/commonjs/mol-repr/structure/registry.js.map +1 -1
- package/lib/commonjs/mol-repr/structure/representation/backbone.d.ts +6 -6
- package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +24 -12
- package/lib/commonjs/mol-repr/structure/representation/carbohydrate.d.ts +15 -6
- package/lib/commonjs/mol-repr/structure/representation/cartoon.d.ts +9 -6
- package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +24 -12
- package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +6 -6
- package/lib/commonjs/mol-repr/structure/representation/gaussian-volume.d.ts +9 -9
- package/lib/commonjs/mol-repr/structure/representation/label.d.ts +9 -9
- package/lib/commonjs/mol-repr/structure/representation/line.d.ts +43 -22
- 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/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-representation.js +1 -1
- package/lib/commonjs/mol-repr/structure/units-representation.js.map +1 -1
- package/lib/commonjs/mol-repr/structure/units-visual.d.ts +18 -18
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +16 -8
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.js +20 -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 +6 -4
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.js +13 -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 +16 -8
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.js +21 -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 +6 -4
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.js +14 -6
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.js.map +1 -1
- package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +5 -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 +5 -2
- 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/element-point.d.ts +3 -3
- package/lib/commonjs/mol-repr/structure/visual/element-sphere.d.ts +4 -4
- package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.d.ts +6 -6
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +8 -8
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/label-text.d.ts +3 -3
- package/lib/commonjs/mol-repr/structure/visual/label-text.js +3 -3
- package/lib/commonjs/mol-repr/structure/visual/label-text.js.map +1 -1
- 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 -2
- package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.js +22 -15
- package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.js.map +1 -1
- package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.js +1 -1
- package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.js.map +1 -1
- package/lib/commonjs/mol-repr/structure/visual/util/bond.d.ts +30 -16
- package/lib/commonjs/mol-repr/structure/visual/util/bond.js +2 -1
- package/lib/commonjs/mol-repr/structure/visual/util/bond.js.map +1 -1
- package/lib/commonjs/mol-repr/structure/visual/util/common.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/util/element.d.ts +4 -4
- package/lib/commonjs/mol-repr/structure/visual/util/link.d.ts +14 -4
- package/lib/commonjs/mol-repr/structure/visual/util/link.js +90 -37
- 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 +9 -9
- 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/registry.js +1 -1
- package/lib/commonjs/mol-repr/volume/registry.js.map +1 -1
- package/lib/commonjs/mol-repr/volume/representation.d.ts +1 -1
- package/lib/commonjs/mol-repr/volume/slice.d.ts +9 -9
- package/lib/commonjs/mol-script/language/builder.d.ts +0 -1
- package/lib/commonjs/mol-script/language/expression-formatter.js +6 -6
- package/lib/commonjs/mol-script/language/expression-formatter.js.map +1 -1
- package/lib/commonjs/mol-script/language/helpers.js +4 -4
- package/lib/commonjs/mol-script/language/helpers.js.map +1 -1
- package/lib/commonjs/mol-script/language/parser.js +1 -1
- package/lib/commonjs/mol-script/language/parser.js.map +1 -1
- package/lib/commonjs/mol-script/language/symbol-table/structure-query.js +3 -3
- package/lib/commonjs/mol-script/language/symbol-table/structure-query.js.map +1 -1
- package/lib/commonjs/mol-script/language/symbol.js +1 -1
- package/lib/commonjs/mol-script/language/symbol.js.map +1 -1
- package/lib/commonjs/mol-script/runtime/query/base.js +2 -2
- package/lib/commonjs/mol-script/runtime/query/base.js.map +1 -1
- package/lib/commonjs/mol-script/script/mol-script/symbols.js +3 -3
- package/lib/commonjs/mol-script/script/mol-script/symbols.js.map +1 -1
- package/lib/commonjs/mol-state/state/builder.js +1 -1
- package/lib/commonjs/mol-state/state/builder.js.map +1 -1
- package/lib/commonjs/mol-state/state.js +7 -7
- package/lib/commonjs/mol-state/state.js.map +1 -1
- package/lib/commonjs/mol-state/transformer.js +3 -3
- package/lib/commonjs/mol-state/transformer.js.map +1 -1
- package/lib/commonjs/mol-state/tree/transient.js +3 -3
- package/lib/commonjs/mol-state/tree/transient.js.map +1 -1
- package/lib/commonjs/mol-task/execution/progress.js +4 -4
- package/lib/commonjs/mol-task/execution/progress.js.map +1 -1
- package/lib/commonjs/mol-task/task.js +1 -1
- package/lib/commonjs/mol-task/task.js.map +1 -1
- package/lib/commonjs/mol-task/util/multistep.js +1 -1
- package/lib/commonjs/mol-task/util/multistep.js.map +1 -1
- package/lib/commonjs/mol-task/util/user-timing.js +3 -3
- package/lib/commonjs/mol-task/util/user-timing.js.map +1 -1
- 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/chain-id.js +1 -1
- package/lib/commonjs/mol-theme/color/chain-id.js.map +1 -1
- package/lib/commonjs/mol-theme/color/element-index.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/element-symbol.d.ts +16 -16
- package/lib/commonjs/mol-theme/color/entity-id.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/entity-id.js +1 -1
- package/lib/commonjs/mol-theme/color/entity-id.js.map +1 -1
- package/lib/commonjs/mol-theme/color/entity-source.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/entity-source.js +4 -4
- package/lib/commonjs/mol-theme/color/entity-source.js.map +1 -1
- 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-hkl.js +2 -2
- package/lib/commonjs/mol-theme/color/operator-hkl.js.map +1 -1
- package/lib/commonjs/mol-theme/color/operator-name.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/polymer-id.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/polymer-index.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/unit-index.d.ts +12 -12
- package/lib/commonjs/mol-theme/color.d.ts +80 -80
- package/lib/commonjs/mol-theme/label.d.ts +1 -0
- package/lib/commonjs/mol-theme/label.js +38 -28
- package/lib/commonjs/mol-theme/label.js.map +1 -1
- package/lib/commonjs/mol-theme/theme.js +3 -3
- package/lib/commonjs/mol-theme/theme.js.map +1 -1
- package/lib/commonjs/mol-util/assets.js +3 -3
- package/lib/commonjs/mol-util/assets.js.map +1 -1
- package/lib/commonjs/mol-util/color/color.js +2 -2
- package/lib/commonjs/mol-util/color/color.js.map +1 -1
- package/lib/commonjs/mol-util/color/lists.js +1 -1
- package/lib/commonjs/mol-util/color/lists.js.map +1 -1
- package/lib/commonjs/mol-util/color/names.d.ts +1 -1
- package/lib/commonjs/mol-util/color/palette.d.ts +12 -12
- package/lib/commonjs/mol-util/color/palette.js +2 -2
- package/lib/commonjs/mol-util/color/palette.js.map +1 -1
- package/lib/commonjs/mol-util/color/scale.d.ts +1 -1
- package/lib/commonjs/mol-util/console-logger.js +9 -9
- package/lib/commonjs/mol-util/console-logger.js.map +1 -1
- package/lib/commonjs/mol-util/data-source.js +5 -5
- package/lib/commonjs/mol-util/data-source.js.map +1 -1
- package/lib/commonjs/mol-util/download.js +1 -1
- package/lib/commonjs/mol-util/download.js.map +1 -1
- package/lib/commonjs/mol-util/graphql-client.js +2 -2
- package/lib/commonjs/mol-util/graphql-client.js.map +1 -1
- package/lib/commonjs/mol-util/index.js +2 -2
- package/lib/commonjs/mol-util/index.js.map +1 -1
- package/lib/commonjs/mol-util/monadic-parser.js +4 -4
- package/lib/commonjs/mol-util/monadic-parser.js.map +1 -1
- package/lib/commonjs/mol-util/now.js +4 -4
- package/lib/commonjs/mol-util/now.js.map +1 -1
- package/lib/commonjs/mol-util/object.js +1 -1
- package/lib/commonjs/mol-util/object.js.map +1 -1
- package/lib/commonjs/mol-util/performance-monitor.js +4 -4
- package/lib/commonjs/mol-util/performance-monitor.js.map +1 -1
- package/lib/commonjs/mol-util/string.js +3 -3
- package/lib/commonjs/mol-util/string.js.map +1 -1
- package/lib/commonjs/mol-util/url.js +2 -2
- package/lib/commonjs/mol-util/url.js.map +1 -1
- package/lib/commonjs/mol-util/zip/deflate.js +1 -1
- package/lib/commonjs/mol-util/zip/deflate.js.map +1 -1
- package/lib/commonjs/mol-util/zip/inflate.js +1 -1
- package/lib/commonjs/mol-util/zip/inflate.js.map +1 -1
- package/lib/commonjs/mol-util/zip/zip.js +1 -1
- package/lib/commonjs/mol-util/zip/zip.js.map +1 -1
- package/lib/commonjs/perf-tests/mol-script.js +1 -1
- package/lib/commonjs/perf-tests/mol-script.js.map +1 -1
- package/lib/commonjs/perf-tests/sets.js +1 -1
- package/lib/commonjs/perf-tests/sets.js.map +1 -1
- package/lib/commonjs/perf-tests/sort.js +1 -1
- package/lib/commonjs/perf-tests/sort.js.map +1 -1
- package/lib/commonjs/perf-tests/string-builder.js +2 -2
- package/lib/commonjs/perf-tests/string-builder.js.map +1 -1
- package/lib/commonjs/perf-tests/structure.js +7 -7
- package/lib/commonjs/perf-tests/structure.js.map +1 -1
- package/lib/commonjs/perf-tests/test-xtc.js +1 -1
- package/lib/commonjs/perf-tests/test-xtc.js.map +1 -1
- package/lib/commonjs/servers/common/file-handle.js +1 -1
- package/lib/commonjs/servers/common/file-handle.js.map +1 -1
- package/lib/commonjs/servers/common/util.js +1 -1
- package/lib/commonjs/servers/common/util.js.map +1 -1
- package/lib/commonjs/servers/model/config.js +4 -5
- package/lib/commonjs/servers/model/config.js.map +1 -1
- package/lib/commonjs/servers/model/preprocess/master.js +1 -1
- package/lib/commonjs/servers/model/preprocess/master.js.map +1 -1
- package/lib/commonjs/servers/model/preprocess/parallel.js +2 -2
- package/lib/commonjs/servers/model/preprocess/parallel.js.map +1 -1
- package/lib/commonjs/servers/model/preprocess/util.js +3 -3
- package/lib/commonjs/servers/model/preprocess/util.js.map +1 -1
- package/lib/commonjs/servers/model/preprocess.js +0 -0
- package/lib/commonjs/servers/model/properties/providers/pdbe.js +5 -5
- package/lib/commonjs/servers/model/properties/providers/pdbe.js.map +1 -1
- package/lib/commonjs/servers/model/property-provider.js +2 -2
- package/lib/commonjs/servers/model/property-provider.js.map +1 -1
- package/lib/commonjs/servers/model/query.js +1 -1
- package/lib/commonjs/servers/model/query.js.map +1 -1
- package/lib/commonjs/servers/model/server/api-local.js +2 -2
- package/lib/commonjs/servers/model/server/api-local.js.map +1 -1
- package/lib/commonjs/servers/model/server/api-schema.js +2 -2
- package/lib/commonjs/servers/model/server/api-schema.js.map +1 -1
- package/lib/commonjs/servers/model/server/api-web-multiple.js +1 -1
- package/lib/commonjs/servers/model/server/api-web-multiple.js.map +1 -1
- package/lib/commonjs/servers/model/server/api-web.js +4 -4
- package/lib/commonjs/servers/model/server/api-web.js.map +1 -1
- package/lib/commonjs/servers/model/server/api.js +1 -1
- package/lib/commonjs/servers/model/server/api.js.map +1 -1
- package/lib/commonjs/servers/model/server/cache.js +3 -3
- package/lib/commonjs/servers/model/server/cache.js.map +1 -1
- package/lib/commonjs/servers/model/server/jobs.js +3 -3
- package/lib/commonjs/servers/model/server/jobs.js.map +1 -1
- package/lib/commonjs/servers/model/server/query.js +10 -10
- package/lib/commonjs/servers/model/server/query.js.map +1 -1
- package/lib/commonjs/servers/model/server/structure-wrapper.js +6 -6
- package/lib/commonjs/servers/model/server/structure-wrapper.js.map +1 -1
- package/lib/commonjs/servers/model/server.js +3 -3
- package/lib/commonjs/servers/model/server.js.map +1 -1
- package/lib/commonjs/servers/model/utils/fetch-props-pdbe.js +4 -4
- package/lib/commonjs/servers/model/utils/fetch-props-pdbe.js.map +1 -1
- package/lib/commonjs/servers/model/utils/writer.js +2 -2
- package/lib/commonjs/servers/model/utils/writer.js.map +1 -1
- package/lib/commonjs/servers/plugin-state/api-schema.js +2 -2
- package/lib/commonjs/servers/plugin-state/api-schema.js.map +1 -1
- package/lib/commonjs/servers/plugin-state/index.js +1 -1
- package/lib/commonjs/servers/plugin-state/index.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/commonjs/servers/volume/pack/format/dsn6.js +1 -1
- package/lib/commonjs/servers/volume/pack/format/dsn6.js.map +1 -1
- package/lib/commonjs/servers/volume/pack/main.js +4 -4
- package/lib/commonjs/servers/volume/pack/main.js.map +1 -1
- package/lib/commonjs/servers/volume/pack/writer.js +1 -1
- package/lib/commonjs/servers/volume/pack/writer.js.map +1 -1
- package/lib/commonjs/servers/volume/pack.js +1 -1
- package/lib/commonjs/servers/volume/pack.js.map +1 -1
- package/lib/commonjs/servers/volume/query.js +0 -0
- package/lib/commonjs/servers/volume/server/api.js +7 -7
- package/lib/commonjs/servers/volume/server/api.js.map +1 -1
- package/lib/commonjs/servers/volume/server/local-api.js +1 -1
- package/lib/commonjs/servers/volume/server/local-api.js.map +1 -1
- package/lib/commonjs/servers/volume/server/query/encode.js +3 -3
- package/lib/commonjs/servers/volume/server/query/encode.js.map +1 -1
- package/lib/commonjs/servers/volume/server/query/execute.js +5 -5
- package/lib/commonjs/servers/volume/server/query/execute.js.map +1 -1
- package/lib/commonjs/servers/volume/server/version.js +1 -1
- package/lib/commonjs/servers/volume/server/version.js.map +1 -1
- package/lib/commonjs/servers/volume/server/web-api.js +7 -7
- package/lib/commonjs/servers/volume/server/web-api.js.map +1 -1
- package/lib/commonjs/servers/volume/server/web-schema.js +6 -6
- package/lib/commonjs/servers/volume/server/web-schema.js.map +1 -1
- package/lib/commonjs/servers/volume/server.js +2 -2
- package/lib/commonjs/servers/volume/server.js.map +1 -1
- package/lib/commonjs/tests/browser/font-atlas.js +1 -1
- package/lib/commonjs/tests/browser/font-atlas.js.map +1 -1
- package/lib/commonjs/tests/browser/render-shape.js +1 -1
- package/lib/commonjs/tests/browser/render-shape.js.map +1 -1
- package/lib/commonjs/tests/browser/render-structure.js +1 -1
- package/lib/commonjs/tests/browser/render-structure.js.map +1 -1
- package/lib/examples/alpha-orbitals/index.html +60 -60
- package/lib/examples/basic-wrapper/index.html +136 -136
- package/lib/examples/basic-wrapper/superposition.js +3 -3
- package/lib/examples/basic-wrapper/superposition.js.map +1 -1
- package/lib/examples/domain-annotation-server/mapping.js +2 -2
- package/lib/examples/domain-annotation-server/mapping.js.map +1 -1
- package/lib/examples/domain-annotation-server/server.js +3 -3
- package/lib/examples/domain-annotation-server/server.js.map +1 -1
- package/lib/examples/lighting/index.html +86 -86
- package/lib/examples/proteopedia-wrapper/annotation.js +3 -3
- package/lib/examples/proteopedia-wrapper/annotation.js.map +1 -1
- package/lib/examples/proteopedia-wrapper/helpers.js +1 -1
- package/lib/examples/proteopedia-wrapper/helpers.js.map +1 -1
- package/lib/examples/proteopedia-wrapper/index.html +235 -235
- package/lib/examples/proteopedia-wrapper/index.js +2 -2
- package/lib/examples/proteopedia-wrapper/index.js.map +1 -1
- package/lib/examples/task.js +6 -6
- package/lib/examples/task.js.map +1 -1
- package/lib/extensions/alpha-orbitals/transforms.js +2 -2
- package/lib/extensions/alpha-orbitals/transforms.js.map +1 -1
- package/lib/extensions/anvil/representation.js +1 -1
- package/lib/extensions/anvil/representation.js.map +1 -1
- package/lib/extensions/cellpack/color/generate.d.ts +1 -1
- package/lib/extensions/cellpack/color/generate.js +1 -1
- package/lib/extensions/cellpack/color/provided.d.ts +1 -1
- package/lib/extensions/cellpack/color/provided.js +1 -1
- package/lib/extensions/cellpack/curve.d.ts +2 -2
- package/lib/extensions/cellpack/curve.js +2 -2
- package/lib/extensions/cellpack/data.d.ts +32 -0
- package/lib/extensions/cellpack/index.d.ts +1 -1
- package/lib/extensions/cellpack/index.js +1 -1
- package/lib/extensions/cellpack/model.d.ts +5 -3
- package/lib/extensions/cellpack/model.js +204 -66
- package/lib/extensions/cellpack/model.js.map +1 -1
- package/lib/extensions/cellpack/preset.d.ts +2 -1
- package/lib/extensions/cellpack/preset.js +12 -15
- package/lib/extensions/cellpack/preset.js.map +1 -1
- package/lib/extensions/cellpack/property.d.ts +1 -1
- package/lib/extensions/cellpack/property.js +1 -1
- package/lib/extensions/cellpack/representation.d.ts +53 -0
- package/lib/extensions/cellpack/representation.js +43 -0
- package/lib/extensions/cellpack/representation.js.map +1 -0
- package/lib/extensions/cellpack/state.d.ts +16 -5
- package/lib/extensions/cellpack/state.js +232 -25
- package/lib/extensions/cellpack/state.js.map +1 -1
- package/lib/extensions/cellpack/util.d.ts +3 -1
- package/lib/extensions/cellpack/util.js +32 -5
- package/lib/extensions/cellpack/util.js.map +1 -1
- package/lib/extensions/dnatco/confal-pyramids/representation.d.ts +3 -3
- package/lib/extensions/dnatco/confal-pyramids/util.js +7 -7
- package/lib/extensions/dnatco/confal-pyramids/util.js.map +1 -1
- package/lib/extensions/g3d/data.js +2 -2
- package/lib/extensions/g3d/data.js.map +1 -1
- package/lib/extensions/g3d/model.js +2 -2
- package/lib/extensions/g3d/model.js.map +1 -1
- package/lib/extensions/geo-export/controls.js +2 -2
- package/lib/extensions/geo-export/controls.js.map +1 -1
- package/lib/extensions/geo-export/glb-exporter.js +1 -1
- package/lib/extensions/geo-export/glb-exporter.js.map +1 -1
- package/lib/extensions/geo-export/obj-exporter.js +3 -3
- package/lib/extensions/geo-export/obj-exporter.js.map +1 -1
- package/lib/extensions/geo-export/stl-exporter.js +1 -1
- package/lib/extensions/geo-export/stl-exporter.js.map +1 -1
- package/lib/extensions/geo-export/usdz-exporter.js +5 -5
- package/lib/extensions/geo-export/usdz-exporter.js.map +1 -1
- package/lib/extensions/mp4-export/controls.js +1 -1
- package/lib/extensions/mp4-export/controls.js.map +1 -1
- package/lib/extensions/pdbe/structure-quality-report/behavior.js +1 -1
- package/lib/extensions/pdbe/structure-quality-report/behavior.js.map +1 -1
- package/lib/extensions/pdbe/structure-quality-report/prop.js +1 -1
- package/lib/extensions/pdbe/structure-quality-report/prop.js.map +1 -1
- package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +3 -3
- package/lib/extensions/rcsb/assembly-symmetry/behavior.js +3 -3
- package/lib/extensions/rcsb/assembly-symmetry/behavior.js.map +1 -1
- package/lib/extensions/rcsb/assembly-symmetry/color.d.ts +12 -12
- package/lib/extensions/rcsb/assembly-symmetry/color.js +1 -1
- package/lib/extensions/rcsb/assembly-symmetry/color.js.map +1 -1
- package/lib/extensions/rcsb/assembly-symmetry/prop.js +2 -2
- package/lib/extensions/rcsb/assembly-symmetry/prop.js.map +1 -1
- package/lib/extensions/rcsb/assembly-symmetry/representation.js +7 -7
- package/lib/extensions/rcsb/assembly-symmetry/representation.js.map +1 -1
- package/lib/extensions/rcsb/validation-report/behavior.js +11 -11
- package/lib/extensions/rcsb/validation-report/behavior.js.map +1 -1
- package/lib/extensions/rcsb/validation-report/prop.js +2 -2
- package/lib/extensions/rcsb/validation-report/prop.js.map +1 -1
- package/lib/extensions/rcsb/validation-report/representation.d.ts +20 -5
- package/lib/extensions/rcsb/validation-report/representation.js +4 -4
- package/lib/extensions/rcsb/validation-report/representation.js.map +1 -1
- 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 +10 -0
- package/lib/mol-canvas3d/canvas3d.js +12 -6
- package/lib/mol-canvas3d/canvas3d.js.map +1 -1
- package/lib/mol-canvas3d/helper/handle-helper.js +1 -1
- package/lib/mol-canvas3d/helper/handle-helper.js.map +1 -1
- 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/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-canvas3d/passes/wboit.js +1 -1
- package/lib/mol-canvas3d/passes/wboit.js.map +1 -1
- package/lib/mol-canvas3d/util.js +1 -1
- package/lib/mol-canvas3d/util.js.map +1 -1
- package/lib/mol-data/db/table.js +1 -1
- package/lib/mol-data/db/table.js.map +1 -1
- package/lib/mol-data/int/_spec/sorted-ranges.spec.js +1 -1
- package/lib/mol-data/int/_spec/sorted-ranges.spec.js.map +1 -1
- package/lib/mol-data/int/impl/sorted-array.js +2 -2
- package/lib/mol-data/int/impl/sorted-array.js.map +1 -1
- package/lib/mol-data/int/tuple.js +1 -1
- package/lib/mol-data/int/tuple.js.map +1 -1
- package/lib/mol-data/util/_spec/interval-iterator.spec.js +1 -1
- package/lib/mol-data/util/_spec/interval-iterator.spec.js.map +1 -1
- 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.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/mesh/builder/sheet.d.ts +1 -1
- package/lib/mol-geo/geometry/mesh/builder/sheet.js +19 -11
- package/lib/mol-geo/geometry/mesh/builder/sheet.js.map +1 -1
- package/lib/mol-geo/geometry/mesh/builder/tube.d.ts +2 -2
- package/lib/mol-geo/geometry/mesh/builder/tube.js +57 -15
- package/lib/mol-geo/geometry/mesh/builder/tube.js.map +1 -1
- package/lib/mol-geo/geometry/mesh/color-smoothing.d.ts +1 -1
- package/lib/mol-geo/geometry/mesh/mesh.js +1 -1
- package/lib/mol-geo/geometry/mesh/mesh.js.map +1 -1
- package/lib/mol-geo/geometry/points/points.d.ts +2 -2
- 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/spheres/spheres.d.ts +1 -0
- package/lib/mol-geo/geometry/text/font-atlas.js +1 -1
- package/lib/mol-geo/geometry/text/font-atlas.js.map +1 -1
- package/lib/mol-geo/geometry/text/text.js +1 -1
- package/lib/mol-geo/geometry/text/text.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-geo/primitive/polyhedron.js +1 -1
- package/lib/mol-geo/primitive/polyhedron.js.map +1 -1
- package/lib/mol-gl/_spec/cylinders.spec.d.ts +6 -0
- package/lib/mol-gl/_spec/cylinders.spec.js +38 -0
- package/lib/mol-gl/_spec/cylinders.spec.js.map +1 -0
- package/lib/mol-gl/_spec/direct-volume.spec.d.ts +6 -0
- package/lib/mol-gl/_spec/direct-volume.spec.js +38 -0
- package/lib/mol-gl/_spec/direct-volume.spec.js.map +1 -0
- package/lib/mol-gl/_spec/gl.d.ts +9 -0
- package/lib/mol-gl/_spec/gl.js +28 -0
- package/lib/mol-gl/_spec/gl.js.map +1 -0
- package/lib/mol-gl/_spec/gl.shim.js +5 -5
- package/lib/mol-gl/_spec/gl.shim.js.map +1 -1
- package/lib/mol-gl/_spec/image.spec.d.ts +6 -0
- package/lib/mol-gl/_spec/image.spec.js +38 -0
- package/lib/mol-gl/_spec/image.spec.js.map +1 -0
- package/lib/mol-gl/_spec/lines.spec.d.ts +6 -0
- package/lib/mol-gl/_spec/lines.spec.js +38 -0
- package/lib/mol-gl/_spec/lines.spec.js.map +1 -0
- package/lib/mol-gl/_spec/mesh.spec.d.ts +6 -0
- package/lib/mol-gl/_spec/mesh.spec.js +38 -0
- package/lib/mol-gl/_spec/mesh.spec.js.map +1 -0
- package/lib/mol-gl/_spec/points.spec.d.ts +6 -0
- package/lib/mol-gl/_spec/points.spec.js +38 -0
- package/lib/mol-gl/_spec/points.spec.js.map +1 -0
- package/lib/mol-gl/_spec/renderer.spec.d.ts +7 -1
- package/lib/mol-gl/_spec/renderer.spec.js +6 -46
- package/lib/mol-gl/_spec/renderer.spec.js.map +1 -1
- package/lib/{commonjs/mol-repr/structure/visual/aromatic-ring-mesh.d.ts → mol-gl/_spec/shader.spec.d.ts} +0 -0
- package/lib/mol-gl/_spec/shader.spec.js +2 -0
- package/lib/mol-gl/_spec/shader.spec.js.map +1 -0
- package/lib/mol-gl/_spec/spheres.spec.d.ts +6 -0
- package/lib/mol-gl/_spec/spheres.spec.js +38 -0
- package/lib/mol-gl/_spec/spheres.spec.js.map +1 -0
- package/lib/mol-gl/_spec/text.spec.d.ts +6 -0
- package/lib/mol-gl/_spec/text.spec.js +38 -0
- package/lib/mol-gl/_spec/text.spec.js.map +1 -0
- package/lib/mol-gl/_spec/texture-mesh.spec.d.ts +6 -0
- package/lib/mol-gl/_spec/texture-mesh.spec.js +38 -0
- package/lib/mol-gl/_spec/texture-mesh.spec.js.map +1 -0
- package/lib/mol-gl/compute/grid3d.js +3 -3
- package/lib/mol-gl/compute/grid3d.js.map +1 -1
- package/lib/mol-gl/compute/histogram-pyramid/reduction.js +4 -4
- package/lib/mol-gl/compute/histogram-pyramid/reduction.js.map +1 -1
- package/lib/mol-gl/renderable/util.js +1 -1
- package/lib/mol-gl/renderable/util.js.map +1 -1
- package/lib/mol-gl/renderer.d.ts +1 -0
- package/lib/mol-gl/renderer.js +3 -0
- package/lib/mol-gl/renderer.js.map +1 -1
- package/lib/mol-gl/scene.js +1 -1
- package/lib/mol-gl/scene.js.map +1 -1
- package/lib/mol-gl/shader/chunks/assign-material-color.glsl.d.ts +1 -1
- package/lib/mol-gl/shader/chunks/assign-material-color.glsl.js +1 -1
- package/lib/mol-gl/shader/chunks/assign-material-color.glsl.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/shader-code.js +8 -8
- package/lib/mol-gl/shader-code.js.map +1 -1
- package/lib/mol-gl/webgl/buffer.d.ts +3 -2
- package/lib/mol-gl/webgl/buffer.js +5 -5
- package/lib/mol-gl/webgl/buffer.js.map +1 -1
- package/lib/mol-gl/webgl/compat.js +3 -3
- package/lib/mol-gl/webgl/compat.js.map +1 -1
- package/lib/mol-gl/webgl/context.js +6 -4
- package/lib/mol-gl/webgl/context.js.map +1 -1
- package/lib/mol-gl/webgl/framebuffer.js +1 -1
- package/lib/mol-gl/webgl/framebuffer.js.map +1 -1
- package/lib/mol-gl/webgl/program.d.ts +1 -1
- package/lib/mol-gl/webgl/program.js +14 -12
- package/lib/mol-gl/webgl/program.js.map +1 -1
- package/lib/mol-gl/webgl/render-item.d.ts +4 -3
- package/lib/mol-gl/webgl/render-item.js +6 -3
- package/lib/mol-gl/webgl/render-item.js.map +1 -1
- package/lib/mol-gl/webgl/resources.js +1 -1
- package/lib/mol-gl/webgl/resources.js.map +1 -1
- package/lib/mol-gl/webgl/shader.js +3 -3
- package/lib/mol-gl/webgl/shader.js.map +1 -1
- package/lib/mol-gl/webgl/state.d.ts +4 -1
- package/lib/mol-gl/webgl/state.js +25 -1
- package/lib/mol-gl/webgl/state.js.map +1 -1
- package/lib/mol-gl/webgl/texture.js +2 -2
- package/lib/mol-gl/webgl/texture.js.map +1 -1
- package/lib/mol-gl/webgl/uniform.js +2 -2
- package/lib/mol-gl/webgl/uniform.js.map +1 -1
- package/lib/mol-io/common/file-handle.js +1 -1
- package/lib/mol-io/common/file-handle.js.map +1 -1
- package/lib/mol-io/common/typed-array.js +1 -1
- package/lib/mol-io/common/typed-array.js.map +1 -1
- package/lib/mol-io/reader/ccp4/parser.js +1 -1
- package/lib/mol-io/reader/ccp4/parser.js.map +1 -1
- package/lib/mol-io/reader/cif/binary/parser.js +1 -1
- package/lib/mol-io/reader/cif/binary/parser.js.map +1 -1
- package/lib/mol-io/reader/cif/data-model.js +7 -7
- package/lib/mol-io/reader/cif/data-model.js.map +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/mmcif-extras.d.ts +2 -2
- package/lib/mol-io/reader/cif/schema/mmcif.d.ts +15 -15
- package/lib/mol-io/reader/cif/schema.js +7 -7
- package/lib/mol-io/reader/cif/schema.js.map +1 -1
- package/lib/mol-io/reader/cif/text/parser.js +2 -2
- package/lib/mol-io/reader/cif/text/parser.js.map +1 -1
- package/lib/mol-io/reader/dcd/parser.js +2 -2
- package/lib/mol-io/reader/dcd/parser.js.map +1 -1
- package/lib/mol-io/reader/ply/schema.d.ts +1 -1
- package/lib/mol-io/reader/ply/schema.js +1 -1
- package/lib/mol-io/reader/ply/schema.js.map +1 -1
- package/lib/mol-io/reader/result.js +1 -1
- package/lib/mol-io/reader/result.js.map +1 -1
- package/lib/mol-io/writer/cif/encoder/text.js +3 -3
- package/lib/mol-io/writer/cif/encoder/text.js.map +1 -1
- package/lib/mol-io/writer/cif/encoder.js +5 -5
- package/lib/mol-io/writer/cif/encoder.js.map +1 -1
- package/lib/mol-io/writer/mol/encoder.js +4 -4
- package/lib/mol-io/writer/mol/encoder.js.map +1 -1
- package/lib/mol-io/writer/mol2/encoder.js +6 -6
- package/lib/mol-io/writer/mol2/encoder.js.map +1 -1
- package/lib/mol-math/geometry/gaussian-density/gpu.js +1 -1
- package/lib/mol-math/geometry/gaussian-density/gpu.js.map +1 -1
- package/lib/mol-math/geometry/primitives/axes3d.d.ts +2 -1
- package/lib/mol-math/geometry/primitives/axes3d.js +9 -2
- package/lib/mol-math/geometry/primitives/axes3d.js.map +1 -1
- package/lib/mol-math/geometry/spacegroup/construction.js +8 -8
- package/lib/mol-math/geometry/spacegroup/construction.js.map +1 -1
- package/lib/mol-math/geometry/spacegroup/tables.js +1 -1
- package/lib/mol-math/geometry/spacegroup/tables.js.map +1 -1
- package/lib/mol-math/geometry/symmetry-operator.js +4 -4
- package/lib/mol-math/geometry/symmetry-operator.js.map +1 -1
- package/lib/mol-math/graph/inter-unit-graph.js +2 -2
- package/lib/mol-math/graph/inter-unit-graph.js.map +1 -1
- package/lib/mol-math/linear-algebra/3d/quat.js +1 -1
- package/lib/mol-math/linear-algebra/3d/quat.js.map +1 -1
- package/lib/mol-math/linear-algebra/3d/vec2.js +1 -1
- package/lib/mol-math/linear-algebra/3d/vec2.js.map +1 -1
- package/lib/mol-math/linear-algebra/3d/vec3.d.ts +3 -1
- package/lib/mol-math/linear-algebra/3d/vec3.js +12 -4
- package/lib/mol-math/linear-algebra/3d/vec3.js.map +1 -1
- package/lib/mol-math/linear-algebra/3d/vec4.js +1 -1
- package/lib/mol-math/linear-algebra/3d/vec4.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/sequence/sequence.js +2 -2
- package/lib/mol-model/sequence/sequence.js.map +1 -1
- package/lib/mol-model/shape/shape.d.ts +1 -1
- package/lib/mol-model/structure/export/categories/atom_site.js +2 -2
- package/lib/mol-model/structure/export/categories/atom_site.js.map +1 -1
- package/lib/mol-model/structure/export/categories/atom_site_operator_mapping.js +1 -1
- package/lib/mol-model/structure/export/categories/atom_site_operator_mapping.js.map +1 -1
- package/lib/mol-model/structure/export/categories/secondary-structure.js +1 -1
- package/lib/mol-model/structure/export/categories/secondary-structure.js.map +1 -1
- package/lib/mol-model/structure/export/mmcif.js +1 -1
- package/lib/mol-model/structure/export/mmcif.js.map +1 -1
- package/lib/mol-model/structure/model/properties/atomic/bonds.js +2 -2
- package/lib/mol-model/structure/model/properties/atomic/bonds.js.map +1 -1
- package/lib/mol-model/structure/model/properties/symmetry.js +3 -3
- package/lib/mol-model/structure/model/properties/symmetry.js.map +1 -1
- package/lib/mol-model/structure/model/properties/utils/atomic-index.js +2 -2
- package/lib/mol-model/structure/model/properties/utils/atomic-index.js.map +1 -1
- package/lib/mol-model/structure/model/properties/utils/coarse-keys.js +1 -1
- package/lib/mol-model/structure/model/properties/utils/coarse-keys.js.map +1 -1
- package/lib/mol-model/structure/model/properties/utils/residue-set.js +1 -1
- package/lib/mol-model/structure/model/properties/utils/residue-set.js.map +1 -1
- package/lib/mol-model/structure/query/context.js +1 -1
- package/lib/mol-model/structure/query/context.js.map +1 -1
- package/lib/mol-model/structure/structure/carbohydrates/compute.js +1 -1
- package/lib/mol-model/structure/structure/carbohydrates/compute.js.map +1 -1
- package/lib/mol-model/structure/structure/element/loci.d.ts +1 -0
- package/lib/mol-model/structure/structure/element/loci.js +16 -2
- package/lib/mol-model/structure/structure/element/loci.js.map +1 -1
- package/lib/mol-model/structure/structure/element/util.js +1 -1
- package/lib/mol-model/structure/structure/element/util.js.map +1 -1
- package/lib/mol-model/structure/structure/properties.d.ts +3 -3
- package/lib/mol-model/structure/structure/properties.js +1 -1
- package/lib/mol-model/structure/structure/properties.js.map +1 -1
- package/lib/mol-model/structure/structure/structure.js +3 -2
- package/lib/mol-model/structure/structure/structure.js.map +1 -1
- package/lib/mol-model/structure/structure/symmetry.js +3 -3
- package/lib/mol-model/structure/structure/symmetry.js.map +1 -1
- 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 +4 -4
- package/lib/mol-model/structure/structure/util/superposition-db-mapping.js +1 -1
- package/lib/mol-model/structure/structure/util/superposition-db-mapping.js.map +1 -1
- package/lib/mol-model/volume/volume.js +2 -2
- package/lib/mol-model/volume/volume.js.map +1 -1
- package/lib/mol-model-formats/shape/ply.d.ts +4 -4
- package/lib/mol-model-formats/shape/ply.js +1 -1
- package/lib/mol-model-formats/shape/ply.js.map +1 -1
- package/lib/mol-model-formats/structure/basic/atomic.js +2 -2
- package/lib/mol-model-formats/structure/basic/atomic.js.map +1 -1
- package/lib/mol-model-formats/structure/basic/properties.js +2 -2
- package/lib/mol-model-formats/structure/basic/properties.js.map +1 -1
- package/lib/mol-model-formats/structure/basic/schema.d.ts +2 -2
- package/lib/mol-model-formats/structure/common/component.d.ts +5 -5
- package/lib/mol-model-formats/structure/common/entity.d.ts +1 -1
- package/lib/mol-model-formats/structure/common/entity.js +6 -6
- package/lib/mol-model-formats/structure/common/entity.js.map +1 -1
- package/lib/mol-model-formats/structure/pdb/assembly.js +10 -10
- package/lib/mol-model-formats/structure/pdb/assembly.js.map +1 -1
- package/lib/mol-model-formats/structure/pdb/conect.js +1 -1
- package/lib/mol-model-formats/structure/pdb/conect.js.map +1 -1
- package/lib/mol-model-formats/structure/pdb/entity.js +30 -4
- package/lib/mol-model-formats/structure/pdb/entity.js.map +1 -1
- package/lib/mol-model-formats/structure/property/assembly.js +1 -1
- package/lib/mol-model-formats/structure/property/assembly.js.map +1 -1
- package/lib/mol-model-formats/structure/property/symmetry.js +1 -1
- package/lib/mol-model-formats/structure/property/symmetry.js.map +1 -1
- package/lib/mol-model-formats/volume/ccp4.js +1 -1
- package/lib/mol-model-formats/volume/ccp4.js.map +1 -1
- package/lib/mol-model-props/common/custom-element-property.js +1 -1
- package/lib/mol-model-props/common/custom-element-property.js.map +1 -1
- package/lib/mol-model-props/common/custom-property.js +1 -1
- package/lib/mol-model-props/common/custom-property.js.map +1 -1
- package/lib/mol-model-props/computed/interactions/common.js +1 -1
- package/lib/mol-model-props/computed/interactions/common.js.map +1 -1
- package/lib/mol-model-props/computed/interactions/refine.js +2 -2
- package/lib/mol-model-props/computed/interactions/refine.js.map +1 -1
- package/lib/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +4 -1
- package/lib/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +4 -1
- package/lib/mol-model-props/computed/representations/interactions.d.ts +12 -3
- package/lib/mol-model-props/integrative/cross-link-restraint/property.js +1 -1
- package/lib/mol-model-props/integrative/cross-link-restraint/property.js.map +1 -1
- package/lib/mol-model-props/integrative/cross-link-restraint/representation.d.ts +16 -4
- package/lib/mol-model-props/integrative/pair-restraints.js +1 -1
- package/lib/mol-model-props/integrative/pair-restraints.js.map +1 -1
- package/lib/mol-model-props/sequence/best-database-mapping.js +1 -1
- package/lib/mol-model-props/sequence/best-database-mapping.js.map +1 -1
- package/lib/mol-model-props/sequence/themes/best-database-mapping.d.ts +12 -12
- package/lib/mol-model-props/sequence/themes/best-database-mapping.js +1 -1
- package/lib/mol-model-props/sequence/themes/best-database-mapping.js.map +1 -1
- package/lib/mol-plugin/behavior/behavior.d.ts +1 -1
- package/lib/mol-plugin/behavior/dynamic/custom-props/computed/accessible-surface-area.js +3 -3
- package/lib/mol-plugin/behavior/dynamic/custom-props/computed/accessible-surface-area.js.map +1 -1
- package/lib/mol-plugin/behavior/dynamic/custom-props/computed/interactions.js +3 -3
- package/lib/mol-plugin/behavior/dynamic/custom-props/computed/interactions.js.map +1 -1
- package/lib/mol-plugin/behavior/dynamic/custom-props/computed/valence-model.js +1 -1
- package/lib/mol-plugin/behavior/dynamic/custom-props/computed/valence-model.js.map +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/selection/structure-focus-representation.d.ts +1 -1
- package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js +2 -2
- package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js.map +1 -1
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/behavior.js +6 -6
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/behavior.js.map +1 -1
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +3 -2
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/transformers.d.ts +2 -2
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/transformers.js +5 -5
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/transformers.js.map +1 -1
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/util.js +6 -6
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/util.js.map +1 -1
- package/lib/mol-plugin/behavior/static/state.js +4 -4
- package/lib/mol-plugin/behavior/static/state.js.map +1 -1
- package/lib/mol-plugin/commands.d.ts +4 -0
- package/lib/mol-plugin/config.d.ts +1 -0
- package/lib/mol-plugin/config.js +11 -3
- package/lib/mol-plugin/config.js.map +1 -1
- package/lib/mol-plugin/context.js +7 -6
- package/lib/mol-plugin/context.js.map +1 -1
- package/lib/mol-plugin/layout.d.ts +4 -4
- package/lib/mol-plugin/util/viewport-screenshot.js +1 -1
- package/lib/mol-plugin/util/viewport-screenshot.js.map +1 -1
- package/lib/mol-plugin/version.js +2 -2
- package/lib/mol-plugin-state/actions/file.js +3 -3
- package/lib/mol-plugin-state/actions/file.js.map +1 -1
- package/lib/mol-plugin-state/actions/structure.d.ts +2 -2
- package/lib/mol-plugin-state/actions/structure.js +12 -12
- package/lib/mol-plugin-state/actions/structure.js.map +1 -1
- package/lib/mol-plugin-state/actions/volume.js +16 -16
- package/lib/mol-plugin-state/actions/volume.js.map +1 -1
- package/lib/mol-plugin-state/animation/built-in/model-index.d.ts +2 -2
- package/lib/mol-plugin-state/builder/structure/hierarchy-preset.d.ts +4 -4
- package/lib/mol-plugin-state/builder/structure/hierarchy.d.ts +4 -4
- package/lib/mol-plugin-state/builder/structure/hierarchy.js +2 -2
- package/lib/mol-plugin-state/builder/structure/hierarchy.js.map +1 -1
- package/lib/mol-plugin-state/builder/structure/representation-preset.d.ts +13 -13
- package/lib/mol-plugin-state/builder/structure/representation-preset.js +21 -17
- package/lib/mol-plugin-state/builder/structure/representation-preset.js.map +1 -1
- package/lib/mol-plugin-state/builder/structure/representation.js +2 -2
- package/lib/mol-plugin-state/builder/structure/representation.js.map +1 -1
- package/lib/mol-plugin-state/builder/structure.js +3 -3
- package/lib/mol-plugin-state/builder/structure.js.map +1 -1
- package/lib/mol-plugin-state/formats/registry.js +1 -1
- package/lib/mol-plugin-state/formats/registry.js.map +1 -1
- package/lib/mol-plugin-state/formats/volume.d.ts +10 -10
- package/lib/mol-plugin-state/helpers/root-structure.d.ts +4 -4
- package/lib/mol-plugin-state/helpers/root-structure.js +10 -10
- package/lib/mol-plugin-state/helpers/root-structure.js.map +1 -1
- package/lib/mol-plugin-state/helpers/structure-component.d.ts +2 -2
- package/lib/mol-plugin-state/helpers/structure-component.js +3 -3
- package/lib/mol-plugin-state/helpers/structure-component.js.map +1 -1
- package/lib/mol-plugin-state/helpers/structure-query.js +1 -1
- package/lib/mol-plugin-state/helpers/structure-query.js.map +1 -1
- package/lib/mol-plugin-state/helpers/structure-selection-query.js +5 -5
- package/lib/mol-plugin-state/helpers/structure-selection-query.js.map +1 -1
- package/lib/mol-plugin-state/manager/animation.js +1 -1
- package/lib/mol-plugin-state/manager/animation.js.map +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/loci-label.js +1 -1
- package/lib/mol-plugin-state/manager/loci-label.js.map +1 -1
- package/lib/mol-plugin-state/manager/snapshots.js +2 -2
- package/lib/mol-plugin-state/manager/snapshots.js.map +1 -1
- package/lib/mol-plugin-state/manager/structure/component.d.ts +2 -2
- package/lib/mol-plugin-state/manager/structure/hierarchy.js +2 -2
- package/lib/mol-plugin-state/manager/structure/hierarchy.js.map +1 -1
- package/lib/mol-plugin-state/manager/structure/measurement.d.ts +7 -2
- package/lib/mol-plugin-state/manager/structure/measurement.js +110 -12
- package/lib/mol-plugin-state/manager/structure/measurement.js.map +1 -1
- package/lib/mol-plugin-state/manager/structure/selection.d.ts +3 -3
- package/lib/mol-plugin-state/manager/structure/selection.js +4 -10
- package/lib/mol-plugin-state/manager/structure/selection.js.map +1 -1
- package/lib/mol-plugin-state/transforms/data.d.ts +1 -1
- package/lib/mol-plugin-state/transforms/data.js +8 -8
- package/lib/mol-plugin-state/transforms/data.js.map +1 -1
- package/lib/mol-plugin-state/transforms/helpers.d.ts +3 -1
- package/lib/mol-plugin-state/transforms/helpers.js +5 -3
- package/lib/mol-plugin-state/transforms/helpers.js.map +1 -1
- package/lib/mol-plugin-state/transforms/model.d.ts +6 -6
- package/lib/mol-plugin-state/transforms/model.js +18 -18
- package/lib/mol-plugin-state/transforms/model.js.map +1 -1
- package/lib/mol-plugin-state/transforms/representation.d.ts +20 -5
- package/lib/mol-plugin-state/transforms/representation.js +78 -26
- package/lib/mol-plugin-state/transforms/representation.js.map +1 -1
- package/lib/mol-plugin-state/transforms/volume.js +7 -7
- package/lib/mol-plugin-state/transforms/volume.js.map +1 -1
- package/lib/mol-plugin-ui/base.js +1 -1
- package/lib/mol-plugin-ui/base.js.map +1 -1
- package/lib/mol-plugin-ui/controls/action-menu.js +3 -3
- package/lib/mol-plugin-ui/controls/action-menu.js.map +1 -1
- package/lib/mol-plugin-ui/controls/color.js +2 -2
- package/lib/mol-plugin-ui/controls/color.js.map +1 -1
- package/lib/mol-plugin-ui/controls/common.js +9 -9
- package/lib/mol-plugin-ui/controls/common.js.map +1 -1
- package/lib/mol-plugin-ui/controls/icons.js +1 -1
- package/lib/mol-plugin-ui/controls/icons.js.map +1 -1
- package/lib/mol-plugin-ui/controls/legend.js +3 -3
- package/lib/mol-plugin-ui/controls/legend.js.map +1 -1
- package/lib/mol-plugin-ui/controls/line-graph/line-graph-component.js +6 -6
- package/lib/mol-plugin-ui/controls/line-graph/line-graph-component.js.map +1 -1
- package/lib/mol-plugin-ui/controls/line-graph/point-component.js +1 -1
- package/lib/mol-plugin-ui/controls/line-graph/point-component.js.map +1 -1
- package/lib/mol-plugin-ui/controls/parameters.d.ts +2 -2
- package/lib/mol-plugin-ui/controls/parameters.js +29 -29
- package/lib/mol-plugin-ui/controls/parameters.js.map +1 -1
- package/lib/mol-plugin-ui/controls/screenshot.js +1 -1
- package/lib/mol-plugin-ui/controls/screenshot.js.map +1 -1
- package/lib/mol-plugin-ui/controls/slider.js +9 -9
- package/lib/mol-plugin-ui/controls/slider.js.map +1 -1
- package/lib/mol-plugin-ui/controls.js +2 -2
- package/lib/mol-plugin-ui/controls.js.map +1 -1
- package/lib/mol-plugin-ui/plugin.js +3 -3
- package/lib/mol-plugin-ui/plugin.js.map +1 -1
- package/lib/mol-plugin-ui/sequence/chain.js +3 -3
- package/lib/mol-plugin-ui/sequence/chain.js.map +1 -1
- package/lib/mol-plugin-ui/sequence/sequence.js +4 -4
- package/lib/mol-plugin-ui/sequence/sequence.js.map +1 -1
- package/lib/mol-plugin-ui/sequence.d.ts +1 -1
- package/lib/mol-plugin-ui/sequence.js +24 -10
- package/lib/mol-plugin-ui/sequence.js.map +1 -1
- package/lib/mol-plugin-ui/skin/base/base.scss +32 -32
- package/lib/mol-plugin-ui/skin/base/components/controls-base.scss +333 -333
- package/lib/mol-plugin-ui/skin/base/components/controls.scss +418 -420
- package/lib/mol-plugin-ui/skin/base/components/help.scss +27 -27
- package/lib/mol-plugin-ui/skin/base/components/line-graph.scss +67 -67
- package/lib/mol-plugin-ui/skin/base/components/log.scss +100 -100
- package/lib/mol-plugin-ui/skin/base/components/misc.scss +616 -616
- package/lib/mol-plugin-ui/skin/base/components/sequence.scss +125 -125
- package/lib/mol-plugin-ui/skin/base/components/slider.scss +165 -165
- package/lib/mol-plugin-ui/skin/base/components/tasks.scss +99 -99
- package/lib/mol-plugin-ui/skin/base/components/toast.scss +83 -81
- package/lib/mol-plugin-ui/skin/base/components/transformer.scss +163 -163
- package/lib/mol-plugin-ui/skin/base/components/viewport.scss +127 -127
- package/lib/mol-plugin-ui/skin/base/layout/common.scss +71 -71
- package/lib/mol-plugin-ui/skin/base/layout/controls-landscape.scss +89 -89
- package/lib/mol-plugin-ui/skin/base/layout/controls-outside.scss +98 -98
- package/lib/mol-plugin-ui/skin/base/layout/controls-portrait.scss +108 -108
- package/lib/mol-plugin-ui/skin/base/layout.scss +40 -40
- package/lib/mol-plugin-ui/skin/base/logo.scss +12 -12
- package/lib/mol-plugin-ui/skin/base/normalize.scss +209 -209
- package/lib/mol-plugin-ui/skin/base/ui.scss +40 -40
- package/lib/mol-plugin-ui/skin/base/variables.scss +85 -85
- package/lib/mol-plugin-ui/skin/blue.scss +1 -1
- package/lib/mol-plugin-ui/skin/colors/blue.scss +23 -23
- package/lib/mol-plugin-ui/skin/colors/dark.scss +23 -23
- package/lib/mol-plugin-ui/skin/colors/light.scss +29 -29
- package/lib/mol-plugin-ui/skin/dark.scss +1 -1
- package/lib/mol-plugin-ui/skin/light.scss +1 -1
- package/lib/mol-plugin-ui/state/actions.js +1 -1
- package/lib/mol-plugin-ui/state/actions.js.map +1 -1
- package/lib/mol-plugin-ui/state/common.js +2 -2
- package/lib/mol-plugin-ui/state/common.js.map +1 -1
- package/lib/mol-plugin-ui/state/snapshots.js +4 -4
- package/lib/mol-plugin-ui/state/snapshots.js.map +1 -1
- package/lib/mol-plugin-ui/state/tree.js +8 -8
- package/lib/mol-plugin-ui/state/tree.js.map +1 -1
- package/lib/mol-plugin-ui/structure/components.js +4 -4
- package/lib/mol-plugin-ui/structure/components.js.map +1 -1
- package/lib/mol-plugin-ui/structure/focus.js +4 -4
- package/lib/mol-plugin-ui/structure/focus.js.map +1 -1
- package/lib/mol-plugin-ui/structure/generic.js +2 -2
- package/lib/mol-plugin-ui/structure/generic.js.map +1 -1
- package/lib/mol-plugin-ui/structure/measurements.d.ts +10 -1
- package/lib/mol-plugin-ui/structure/measurements.js +50 -7
- package/lib/mol-plugin-ui/structure/measurements.js.map +1 -1
- package/lib/mol-plugin-ui/structure/selection.js +4 -4
- package/lib/mol-plugin-ui/structure/selection.js.map +1 -1
- package/lib/mol-plugin-ui/structure/source.js +12 -12
- package/lib/mol-plugin-ui/structure/source.js.map +1 -1
- package/lib/mol-plugin-ui/structure/superposition.js +4 -4
- package/lib/mol-plugin-ui/structure/superposition.js.map +1 -1
- package/lib/mol-plugin-ui/structure/volume.js +2 -2
- package/lib/mol-plugin-ui/structure/volume.js.map +1 -1
- package/lib/mol-repr/representation.d.ts +1 -0
- package/lib/mol-repr/representation.js +12 -6
- package/lib/mol-repr/representation.js.map +1 -1
- package/lib/mol-repr/shape/loci/angle.js +2 -2
- package/lib/mol-repr/shape/loci/angle.js.map +1 -1
- package/lib/mol-repr/shape/loci/dihedral.js +2 -2
- package/lib/mol-repr/shape/loci/dihedral.js.map +1 -1
- package/lib/mol-repr/shape/loci/distance.d.ts +1 -1
- package/lib/mol-repr/shape/loci/distance.js +2 -2
- package/lib/mol-repr/shape/loci/distance.js.map +1 -1
- package/lib/mol-repr/shape/loci/label.js +1 -1
- package/lib/mol-repr/shape/loci/label.js.map +1 -1
- package/lib/mol-repr/shape/loci/orientation.d.ts +5 -4
- package/lib/mol-repr/shape/loci/orientation.js +39 -53
- package/lib/mol-repr/shape/loci/orientation.js.map +1 -1
- package/lib/mol-repr/shape/loci/plane.d.ts +27 -0
- package/lib/mol-repr/shape/loci/plane.js +57 -0
- package/lib/mol-repr/shape/loci/plane.js.map +1 -0
- package/lib/mol-repr/shape/model/unitcell.d.ts +2 -2
- package/lib/mol-repr/structure/complex-visual.d.ts +7 -7
- package/lib/mol-repr/structure/params.d.ts +4 -4
- package/lib/mol-repr/structure/registry.d.ts +49 -30
- package/lib/mol-repr/structure/registry.js +1 -1
- package/lib/mol-repr/structure/registry.js.map +1 -1
- package/lib/mol-repr/structure/representation/backbone.d.ts +3 -3
- package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +21 -9
- package/lib/mol-repr/structure/representation/carbohydrate.d.ts +12 -3
- package/lib/mol-repr/structure/representation/cartoon.d.ts +6 -3
- package/lib/mol-repr/structure/representation/ellipsoid.d.ts +21 -9
- package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +9 -9
- package/lib/mol-repr/structure/representation/gaussian-volume.d.ts +6 -6
- package/lib/mol-repr/structure/representation/label.d.ts +3 -3
- package/lib/mol-repr/structure/representation/line.d.ts +43 -22
- 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 +9 -9
- package/lib/mol-repr/structure/representation/orientation.d.ts +3 -3
- package/lib/mol-repr/structure/representation/point.d.ts +6 -6
- package/lib/mol-repr/structure/representation/putty.d.ts +3 -3
- package/lib/mol-repr/structure/representation/spacefill.d.ts +3 -3
- package/lib/mol-repr/structure/units-representation.js +1 -1
- package/lib/mol-repr/structure/units-representation.js.map +1 -1
- package/lib/mol-repr/structure/units-visual.d.ts +10 -10
- package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +14 -6
- package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.js +20 -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 +5 -3
- package/lib/mol-repr/structure/visual/bond-inter-unit-line.js +13 -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 +14 -6
- package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.js +21 -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 +5 -3
- package/lib/mol-repr/structure/visual/bond-intra-unit-line.js +14 -6
- package/lib/mol-repr/structure/visual/bond-intra-unit-line.js.map +1 -1
- package/lib/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +4 -1
- package/lib/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +1 -1
- package/lib/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +4 -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/element-point.d.ts +2 -2
- package/lib/mol-repr/structure/visual/element-sphere.d.ts +2 -2
- package/lib/mol-repr/structure/visual/ellipsoid-mesh.d.ts +1 -1
- package/lib/mol-repr/structure/visual/gaussian-density-volume.d.ts +4 -4
- package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +12 -12
- package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +1 -1
- package/lib/mol-repr/structure/visual/label-text.d.ts +1 -1
- package/lib/mol-repr/structure/visual/label-text.js +3 -3
- package/lib/mol-repr/structure/visual/label-text.js.map +1 -1
- package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +3 -3
- package/lib/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +1 -1
- package/lib/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +1 -1
- package/lib/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +1 -1
- package/lib/mol-repr/structure/visual/orientation-axes-mesh.d.ts +35 -0
- package/lib/mol-repr/structure/visual/orientation-axes-mesh.js +43 -0
- package/lib/mol-repr/structure/visual/orientation-axes-mesh.js.map +1 -0
- package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh copy.d.ts +31 -0
- package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh copy.js +48 -0
- package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh copy.js.map +1 -0
- package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +1 -1
- package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +2 -2
- package/lib/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -2
- package/lib/mol-repr/structure/visual/polymer-direction-wedge.d.ts +1 -1
- package/lib/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +1 -1
- package/lib/mol-repr/structure/visual/polymer-trace-mesh.d.ts +4 -1
- package/lib/mol-repr/structure/visual/polymer-trace-mesh.js +22 -15
- package/lib/mol-repr/structure/visual/polymer-trace-mesh.js.map +1 -1
- package/lib/mol-repr/structure/visual/polymer-tube-mesh.d.ts +1 -1
- package/lib/mol-repr/structure/visual/polymer-tube-mesh.js +1 -1
- package/lib/mol-repr/structure/visual/polymer-tube-mesh.js.map +1 -1
- package/lib/mol-repr/structure/visual/util/bond.d.ts +30 -16
- package/lib/mol-repr/structure/visual/util/bond.js +2 -1
- 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/common.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 +14 -4
- package/lib/mol-repr/structure/visual/util/link.js +90 -37
- package/lib/mol-repr/structure/visual/util/link.js.map +1 -1
- package/lib/mol-repr/structure/visual/util/orientation.d.ts +17 -0
- package/lib/mol-repr/structure/visual/util/orientation.js +71 -0
- package/lib/mol-repr/structure/visual/util/orientation.js.map +1 -0
- package/lib/mol-repr/structure/visual/util/polymer.d.ts +2 -2
- package/lib/mol-repr/volume/direct-volume.d.ts +3 -3
- package/lib/mol-repr/volume/registry.d.ts +1 -1
- package/lib/mol-repr/volume/registry.js +1 -1
- package/lib/mol-repr/volume/registry.js.map +1 -1
- package/lib/mol-script/language/builder.d.ts +0 -1
- package/lib/mol-script/language/expression-formatter.js +6 -6
- package/lib/mol-script/language/expression-formatter.js.map +1 -1
- package/lib/mol-script/language/helpers.js +4 -4
- package/lib/mol-script/language/helpers.js.map +1 -1
- package/lib/mol-script/language/parser.js +1 -1
- package/lib/mol-script/language/parser.js.map +1 -1
- package/lib/mol-script/language/symbol-table/structure-query.js +3 -3
- package/lib/mol-script/language/symbol-table/structure-query.js.map +1 -1
- package/lib/mol-script/language/symbol.js +1 -1
- package/lib/mol-script/language/symbol.js.map +1 -1
- package/lib/mol-script/runtime/query/base.js +2 -2
- package/lib/mol-script/runtime/query/base.js.map +1 -1
- package/lib/mol-script/script/mol-script/symbols.js +3 -3
- package/lib/mol-script/script/mol-script/symbols.js.map +1 -1
- package/lib/mol-state/state/builder.js +1 -1
- package/lib/mol-state/state/builder.js.map +1 -1
- package/lib/mol-state/state.js +7 -7
- package/lib/mol-state/state.js.map +1 -1
- package/lib/mol-state/transformer.js +3 -3
- package/lib/mol-state/transformer.js.map +1 -1
- package/lib/mol-state/tree/transient.js +3 -3
- package/lib/mol-state/tree/transient.js.map +1 -1
- package/lib/mol-task/execution/progress.js +4 -4
- package/lib/mol-task/execution/progress.js.map +1 -1
- package/lib/mol-task/task.js +1 -1
- package/lib/mol-task/task.js.map +1 -1
- package/lib/mol-task/util/multistep.js +1 -1
- package/lib/mol-task/util/multistep.js.map +1 -1
- package/lib/mol-task/util/user-timing.js +3 -3
- package/lib/mol-task/util/user-timing.js.map +1 -1
- 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/chain-id.js +1 -1
- package/lib/mol-theme/color/chain-id.js.map +1 -1
- package/lib/mol-theme/color/element-index.d.ts +12 -12
- package/lib/mol-theme/color/element-symbol.d.ts +16 -16
- package/lib/mol-theme/color/entity-id.d.ts +12 -12
- package/lib/mol-theme/color/entity-id.js +1 -1
- package/lib/mol-theme/color/entity-id.js.map +1 -1
- package/lib/mol-theme/color/entity-source.d.ts +12 -12
- package/lib/mol-theme/color/entity-source.js +4 -4
- package/lib/mol-theme/color/entity-source.js.map +1 -1
- 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-hkl.js +2 -2
- package/lib/mol-theme/color/operator-hkl.js.map +1 -1
- 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 +80 -80
- package/lib/mol-theme/label.d.ts +1 -0
- package/lib/mol-theme/label.js +36 -27
- package/lib/mol-theme/label.js.map +1 -1
- package/lib/mol-theme/theme.js +3 -3
- package/lib/mol-theme/theme.js.map +1 -1
- package/lib/mol-util/assets.js +3 -3
- package/lib/mol-util/assets.js.map +1 -1
- package/lib/mol-util/color/color.js +2 -2
- package/lib/mol-util/color/color.js.map +1 -1
- package/lib/mol-util/color/lists.js +1 -1
- package/lib/mol-util/color/lists.js.map +1 -1
- package/lib/mol-util/color/palette.d.ts +12 -12
- package/lib/mol-util/color/palette.js +2 -2
- package/lib/mol-util/color/palette.js.map +1 -1
- package/lib/mol-util/color/scale.d.ts +1 -1
- package/lib/mol-util/console-logger.js +9 -9
- package/lib/mol-util/console-logger.js.map +1 -1
- package/lib/mol-util/data-source.js +5 -5
- package/lib/mol-util/data-source.js.map +1 -1
- package/lib/mol-util/download.js +1 -1
- package/lib/mol-util/download.js.map +1 -1
- package/lib/mol-util/graphql-client.js +2 -2
- package/lib/mol-util/graphql-client.js.map +1 -1
- package/lib/mol-util/index.js +2 -2
- package/lib/mol-util/index.js.map +1 -1
- package/lib/mol-util/monadic-parser.js +4 -4
- package/lib/mol-util/monadic-parser.js.map +1 -1
- package/lib/mol-util/now.js +4 -4
- package/lib/mol-util/now.js.map +1 -1
- package/lib/mol-util/object.js +1 -1
- package/lib/mol-util/object.js.map +1 -1
- package/lib/mol-util/performance-monitor.js +4 -4
- package/lib/mol-util/performance-monitor.js.map +1 -1
- package/lib/mol-util/string.js +3 -3
- package/lib/mol-util/string.js.map +1 -1
- package/lib/mol-util/url.js +2 -2
- package/lib/mol-util/url.js.map +1 -1
- package/lib/mol-util/zip/deflate.js +1 -1
- package/lib/mol-util/zip/deflate.js.map +1 -1
- package/lib/mol-util/zip/inflate.js +1 -1
- package/lib/mol-util/zip/inflate.js.map +1 -1
- package/lib/mol-util/zip/zip.js +1 -1
- package/lib/mol-util/zip/zip.js.map +1 -1
- package/lib/perf-tests/mol-script.js +1 -1
- package/lib/perf-tests/mol-script.js.map +1 -1
- package/lib/perf-tests/sets.js +1 -1
- package/lib/perf-tests/sets.js.map +1 -1
- package/lib/perf-tests/sort.js +1 -1
- package/lib/perf-tests/sort.js.map +1 -1
- package/lib/perf-tests/string-builder.js +2 -2
- package/lib/perf-tests/string-builder.js.map +1 -1
- package/lib/perf-tests/structure.js +7 -7
- package/lib/perf-tests/structure.js.map +1 -1
- package/lib/perf-tests/test-xtc.js +1 -1
- package/lib/perf-tests/test-xtc.js.map +1 -1
- package/lib/servers/common/file-handle.js +1 -1
- package/lib/servers/common/file-handle.js.map +1 -1
- package/lib/servers/common/util.js +1 -1
- package/lib/servers/common/util.js.map +1 -1
- package/lib/servers/model/config.d.ts +2 -2
- package/lib/servers/model/config.js +4 -5
- package/lib/servers/model/config.js.map +1 -1
- package/lib/servers/model/preprocess/master.js +1 -1
- package/lib/servers/model/preprocess/master.js.map +1 -1
- package/lib/servers/model/preprocess/parallel.js +2 -2
- package/lib/servers/model/preprocess/parallel.js.map +1 -1
- package/lib/servers/model/preprocess/util.js +3 -3
- package/lib/servers/model/preprocess/util.js.map +1 -1
- package/lib/servers/model/properties/providers/pdbe.js +5 -5
- package/lib/servers/model/properties/providers/pdbe.js.map +1 -1
- package/lib/servers/model/property-provider.js +2 -2
- package/lib/servers/model/property-provider.js.map +1 -1
- package/lib/servers/model/query.js +1 -1
- package/lib/servers/model/query.js.map +1 -1
- package/lib/servers/model/server/api-local.js +2 -2
- package/lib/servers/model/server/api-local.js.map +1 -1
- package/lib/servers/model/server/api-schema.js +2 -2
- package/lib/servers/model/server/api-schema.js.map +1 -1
- package/lib/servers/model/server/api-web-multiple.js +1 -1
- package/lib/servers/model/server/api-web-multiple.js.map +1 -1
- package/lib/servers/model/server/api-web.js +4 -4
- package/lib/servers/model/server/api-web.js.map +1 -1
- package/lib/servers/model/server/api.js +1 -1
- package/lib/servers/model/server/api.js.map +1 -1
- package/lib/servers/model/server/cache.js +3 -3
- package/lib/servers/model/server/cache.js.map +1 -1
- package/lib/servers/model/server/jobs.js +3 -3
- package/lib/servers/model/server/jobs.js.map +1 -1
- package/lib/servers/model/server/query.js +10 -10
- package/lib/servers/model/server/query.js.map +1 -1
- package/lib/servers/model/server/structure-wrapper.js +6 -6
- package/lib/servers/model/server/structure-wrapper.js.map +1 -1
- package/lib/servers/model/server.js +3 -3
- package/lib/servers/model/server.js.map +1 -1
- package/lib/servers/model/utils/fetch-props-pdbe.js +4 -4
- package/lib/servers/model/utils/fetch-props-pdbe.js.map +1 -1
- package/lib/servers/model/utils/writer.js +2 -2
- package/lib/servers/model/utils/writer.js.map +1 -1
- package/lib/servers/plugin-state/api-schema.js +2 -2
- package/lib/servers/plugin-state/api-schema.js.map +1 -1
- package/lib/servers/plugin-state/index.js +1 -1
- package/lib/servers/plugin-state/index.js.map +1 -1
- package/lib/servers/volume/config.js +0 -1
- package/lib/servers/volume/config.js.map +1 -1
- package/lib/servers/volume/pack/format/dsn6.js +1 -1
- package/lib/servers/volume/pack/format/dsn6.js.map +1 -1
- package/lib/servers/volume/pack/main.js +4 -4
- package/lib/servers/volume/pack/main.js.map +1 -1
- package/lib/servers/volume/pack/writer.js +1 -1
- package/lib/servers/volume/pack/writer.js.map +1 -1
- package/lib/servers/volume/pack.js +1 -1
- package/lib/servers/volume/pack.js.map +1 -1
- package/lib/servers/volume/server/api.js +7 -7
- package/lib/servers/volume/server/api.js.map +1 -1
- package/lib/servers/volume/server/local-api.js +1 -1
- package/lib/servers/volume/server/local-api.js.map +1 -1
- package/lib/servers/volume/server/query/encode.js +3 -3
- package/lib/servers/volume/server/query/encode.js.map +1 -1
- package/lib/servers/volume/server/query/execute.js +5 -5
- package/lib/servers/volume/server/query/execute.js.map +1 -1
- package/lib/servers/volume/server/version.js +1 -1
- package/lib/servers/volume/server/version.js.map +1 -1
- package/lib/servers/volume/server/web-api.js +7 -7
- package/lib/servers/volume/server/web-api.js.map +1 -1
- package/lib/servers/volume/server/web-schema.js +6 -6
- package/lib/servers/volume/server/web-schema.js.map +1 -1
- package/lib/servers/volume/server.js +2 -2
- package/lib/servers/volume/server.js.map +1 -1
- package/lib/tests/browser/font-atlas.js +1 -1
- package/lib/tests/browser/font-atlas.js.map +1 -1
- package/lib/tests/browser/index.html +36 -36
- package/lib/tests/browser/render-shape.js +1 -1
- package/lib/tests/browser/render-shape.js.map +1 -1
- package/lib/tests/browser/render-structure.js +1 -1
- package/lib/tests/browser/render-structure.js.map +1 -1
- package/lib/tsconfig.commonjs.tsbuildinfo +1 -1
- package/package.json +158 -155
- package/CHANGELOG.md +0 -165
- package/lib/commonjs/mol-gl/shader/chunks/wboit-params.glsl.d.ts +0 -1
- package/lib/commonjs/mol-gl/shader/chunks/wboit-params.glsl.js +0 -5
- package/lib/commonjs/mol-gl/shader/chunks/wboit-params.glsl.js.map +0 -1
- package/lib/commonjs/mol-model/structure/model/properties/utils/guess-element.d.ts +0 -6
- package/lib/commonjs/mol-model/structure/model/properties/utils/guess-element.js +0 -40
- package/lib/commonjs/mol-model/structure/model/properties/utils/guess-element.js.map +0 -1
- package/lib/commonjs/mol-repr/structure/visual/aromatic-ring-mesh.js +0 -3
- package/lib/commonjs/mol-repr/structure/visual/aromatic-ring-mesh.js.map +0 -1
- package/lib/commonjs/mol-repr/structure/visual/util/polymer/backbone-iterator.d.ts +0 -37
- package/lib/commonjs/mol-repr/structure/visual/util/polymer/backbone-iterator.js +0 -116
- package/lib/commonjs/mol-repr/structure/visual/util/polymer/backbone-iterator.js.map +0 -1
- package/lib/commonjs/mol-script/util/residue-list.d.ts +0 -7
- package/lib/commonjs/mol-script/util/residue-list.js +0 -63
- package/lib/commonjs/mol-script/util/residue-list.js.map +0 -1
- package/lib/mol-gl/shader/chunks/wboit-params.glsl.d.ts +0 -1
- package/lib/mol-gl/shader/chunks/wboit-params.glsl.js +0 -2
- package/lib/mol-gl/shader/chunks/wboit-params.glsl.js.map +0 -1
- package/lib/mol-model/structure/model/properties/utils/guess-element.d.ts +0 -6
- package/lib/mol-model/structure/model/properties/utils/guess-element.js +0 -36
- package/lib/mol-model/structure/model/properties/utils/guess-element.js.map +0 -1
- package/lib/mol-model-formats/structure/mol copy.d.ts +0 -17
- package/lib/mol-model-formats/structure/mol copy.js +0 -86
- package/lib/mol-model-formats/structure/mol copy.js.map +0 -1
- package/lib/mol-repr/structure/visual/aromatic-ring-mesh.d.ts +0 -0
- package/lib/mol-repr/structure/visual/aromatic-ring-mesh.js +0 -3
- package/lib/mol-repr/structure/visual/aromatic-ring-mesh.js.map +0 -1
- package/lib/mol-repr/structure/visual/util/polymer/backbone-iterator.d.ts +0 -37
- package/lib/mol-repr/structure/visual/util/polymer/backbone-iterator.js +0 -112
- package/lib/mol-repr/structure/visual/util/polymer/backbone-iterator.js.map +0 -1
- package/lib/mol-script/util/residue-list.d.ts +0 -7
- package/lib/mol-script/util/residue-list.js +0 -59
- package/lib/mol-script/util/residue-list.js.map +0 -1
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Copyright (c) 2019-2021 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
4
4
|
*
|
|
5
5
|
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
6
|
+
* @author Ludovic Autin <ludovic.autin@gmail.com>
|
|
6
7
|
*/
|
|
7
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
9
|
exports.LoadCellPackModel = exports.createStructureFromCellPack = void 0;
|
|
@@ -28,10 +29,11 @@ var parser_1 = require("../../mol-model-formats/structure/basic/parser");
|
|
|
28
29
|
var preset_1 = require("./preset");
|
|
29
30
|
var assets_1 = require("../../mol-util/assets");
|
|
30
31
|
var color_1 = require("../../mol-util/color");
|
|
31
|
-
var data_source_1 = require("../../mol-util/data-source");
|
|
32
32
|
var object_1 = require("../../mol-util/object");
|
|
33
|
+
var data_source_1 = require("../../mol-util/data-source");
|
|
34
|
+
var names_1 = require("../../mol-util/color/names");
|
|
33
35
|
function getCellPackModelUrl(fileName, baseUrl) {
|
|
34
|
-
return baseUrl
|
|
36
|
+
return "".concat(baseUrl, "/results/").concat(fileName);
|
|
35
37
|
}
|
|
36
38
|
var TrajectoryCache = /** @class */ (function () {
|
|
37
39
|
function TrajectoryCache() {
|
|
@@ -41,7 +43,7 @@ var TrajectoryCache = /** @class */ (function () {
|
|
|
41
43
|
TrajectoryCache.prototype.get = function (id) { return this.map.get(id); };
|
|
42
44
|
return TrajectoryCache;
|
|
43
45
|
}());
|
|
44
|
-
function getModel(plugin, id, ingredient, baseUrl, trajCache, file) {
|
|
46
|
+
function getModel(plugin, id, ingredient, baseUrl, trajCache, location, file) {
|
|
45
47
|
return (0, tslib_1.__awaiter)(this, void 0, void 0, function () {
|
|
46
48
|
var assetManager, modelIndex, surface, trajectory, assets, text, cif, binary, cif, text, pdb, data, e_1, _a, mmcif, asset, _b, mmcif, asset, data, model;
|
|
47
49
|
return (0, tslib_1.__generator)(this, function (_c) {
|
|
@@ -50,6 +52,8 @@ function getModel(plugin, id, ingredient, baseUrl, trajCache, file) {
|
|
|
50
52
|
assetManager = plugin.managers.asset;
|
|
51
53
|
modelIndex = (ingredient.source.model) ? parseInt(ingredient.source.model) : 0;
|
|
52
54
|
surface = (ingredient.ingtype) ? (ingredient.ingtype === 'transmembrane') : false;
|
|
55
|
+
if (location === 'surface')
|
|
56
|
+
surface = true;
|
|
53
57
|
trajectory = trajCache.get(id);
|
|
54
58
|
assets = [];
|
|
55
59
|
if (!!trajectory) return [3 /*break*/, 32];
|
|
@@ -92,7 +96,7 @@ function getModel(plugin, id, ingredient, baseUrl, trajCache, file) {
|
|
|
92
96
|
case 11:
|
|
93
97
|
trajectory = _c.sent();
|
|
94
98
|
return [3 /*break*/, 13];
|
|
95
|
-
case 12: throw new Error("unsupported file type '"
|
|
99
|
+
case 12: throw new Error("unsupported file type '".concat(file.name, "'"));
|
|
96
100
|
case 13: return [3 /*break*/, 31];
|
|
97
101
|
case 14:
|
|
98
102
|
if (!id.match(/^[1-9][a-zA-Z0-9]{3,3}$/i)) return [3 /*break*/, 26];
|
|
@@ -104,6 +108,7 @@ function getModel(plugin, id, ingredient, baseUrl, trajCache, file) {
|
|
|
104
108
|
case 16:
|
|
105
109
|
data = _c.sent();
|
|
106
110
|
assets.push(data.asset);
|
|
111
|
+
data.pdb.id = id.toUpperCase();
|
|
107
112
|
return [4 /*yield*/, plugin.runTask((0, pdb_1.trajectoryFromPDB)(data.pdb))];
|
|
108
113
|
case 17:
|
|
109
114
|
trajectory = _c.sent();
|
|
@@ -155,7 +160,7 @@ function getModel(plugin, id, ingredient, baseUrl, trajCache, file) {
|
|
|
155
160
|
function getStructure(plugin, model, source, props) {
|
|
156
161
|
if (props === void 0) { props = {}; }
|
|
157
162
|
return (0, tslib_1.__awaiter)(this, void 0, void 0, function () {
|
|
158
|
-
var structure, assembly, query, asymIds, compiled, result;
|
|
163
|
+
var structure, assembly, query, sel, asymIds, compiled, result;
|
|
159
164
|
return (0, tslib_1.__generator)(this, function (_a) {
|
|
160
165
|
switch (_a.label) {
|
|
161
166
|
case 0:
|
|
@@ -167,11 +172,11 @@ function getStructure(plugin, model, source, props) {
|
|
|
167
172
|
structure = _a.sent();
|
|
168
173
|
_a.label = 2;
|
|
169
174
|
case 2:
|
|
170
|
-
if (source.selection) {
|
|
171
|
-
|
|
175
|
+
if (source.source.selection) {
|
|
176
|
+
sel = source.source.selection;
|
|
177
|
+
asymIds = sel.replace(/ /g, '').replace(/:/g, '').split('or').slice(1);
|
|
172
178
|
query = builder_1.MolScriptBuilder.struct.modifier.union([
|
|
173
179
|
builder_1.MolScriptBuilder.struct.generator.atomGroups({
|
|
174
|
-
'entity-test': builder_1.MolScriptBuilder.core.rel.eq([builder_1.MolScriptBuilder.ammp('entityType'), 'polymer']),
|
|
175
180
|
'chain-test': builder_1.MolScriptBuilder.core.set.has([builder_1.MolScriptBuilder.set.apply(builder_1.MolScriptBuilder, asymIds), builder_1.MolScriptBuilder.ammp('auth_asym_id')])
|
|
176
181
|
})
|
|
177
182
|
]);
|
|
@@ -186,6 +191,8 @@ function getStructure(plugin, model, source, props) {
|
|
|
186
191
|
compiled = (0, compiler_1.compile)(query);
|
|
187
192
|
result = compiled(new structure_1.QueryContext(structure));
|
|
188
193
|
structure = structure_1.StructureSelection.unionStructure(result);
|
|
194
|
+
// change here if possible the label ?
|
|
195
|
+
// structure.label = source.name;
|
|
189
196
|
return [2 /*return*/, structure];
|
|
190
197
|
}
|
|
191
198
|
});
|
|
@@ -200,9 +207,9 @@ function getTransformLegacy(trans, rot) {
|
|
|
200
207
|
return m;
|
|
201
208
|
}
|
|
202
209
|
function getTransform(trans, rot) {
|
|
203
|
-
var q = linear_algebra_1.Quat.create(rot[0], rot[1], rot[2], rot[3]);
|
|
210
|
+
var q = linear_algebra_1.Quat.create(-rot[0], rot[1], rot[2], -rot[3]);
|
|
204
211
|
var m = linear_algebra_1.Mat4.fromQuat(linear_algebra_1.Mat4.zero(), q);
|
|
205
|
-
var p = linear_algebra_1.Vec3.create(trans[0], trans[1], trans[2]);
|
|
212
|
+
var p = linear_algebra_1.Vec3.create(-trans[0], trans[1], trans[2]);
|
|
206
213
|
linear_algebra_1.Mat4.setTranslation(m, p);
|
|
207
214
|
return m;
|
|
208
215
|
}
|
|
@@ -226,9 +233,9 @@ function getCurveTransforms(ingredient) {
|
|
|
226
233
|
}
|
|
227
234
|
var resampling = false;
|
|
228
235
|
for (var i = 0; i < n; ++i) {
|
|
229
|
-
var cname = "curve"
|
|
236
|
+
var cname = "curve".concat(i);
|
|
230
237
|
if (!(cname in ingredient)) {
|
|
231
|
-
|
|
238
|
+
console.warn("Expected '".concat(cname, "' in ingredient"));
|
|
232
239
|
continue;
|
|
233
240
|
}
|
|
234
241
|
var _points = ingredient[cname];
|
|
@@ -239,7 +246,7 @@ function getCurveTransforms(ingredient) {
|
|
|
239
246
|
// test for resampling
|
|
240
247
|
var distance = linear_algebra_1.Vec3.distance(_points[0], _points[1]);
|
|
241
248
|
if (distance >= segmentLength + 2.0) {
|
|
242
|
-
console.info(distance);
|
|
249
|
+
// console.info(distance);
|
|
243
250
|
resampling = true;
|
|
244
251
|
}
|
|
245
252
|
var points = new Float32Array(_points.length * 3);
|
|
@@ -250,11 +257,11 @@ function getCurveTransforms(ingredient) {
|
|
|
250
257
|
}
|
|
251
258
|
return instances;
|
|
252
259
|
}
|
|
253
|
-
function getAssembly(transforms, structure) {
|
|
254
|
-
var builder = structure_1.Structure.Builder();
|
|
260
|
+
function getAssembly(name, transforms, structure) {
|
|
261
|
+
var builder = structure_1.Structure.Builder({ label: name });
|
|
255
262
|
var units = structure.units;
|
|
256
263
|
for (var i = 0, il = transforms.length; i < il; ++i) {
|
|
257
|
-
var id = ""
|
|
264
|
+
var id = "".concat(i + 1);
|
|
258
265
|
var op = geometry_1.SymmetryOperator.create(id, transforms[i], { assembly: { id: id, operId: i, operList: [id] } });
|
|
259
266
|
for (var _i = 0, units_1 = units; _i < units_1.length; _i++) {
|
|
260
267
|
var unit = units_1[_i];
|
|
@@ -369,14 +376,15 @@ function getCurve(plugin, name, ingredient, transforms, model) {
|
|
|
369
376
|
return [4 /*yield*/, plugin.runTask(curveModelTask)];
|
|
370
377
|
case 1:
|
|
371
378
|
curveModel = _a.sent();
|
|
372
|
-
|
|
379
|
+
// ingredient.source.selection = undefined;
|
|
380
|
+
return [2 /*return*/, getStructure(plugin, curveModel, ingredient)];
|
|
373
381
|
}
|
|
374
382
|
});
|
|
375
383
|
});
|
|
376
384
|
}
|
|
377
|
-
function getIngredientStructure(plugin, ingredient, baseUrl, ingredientFiles, trajCache) {
|
|
385
|
+
function getIngredientStructure(plugin, ingredient, baseUrl, ingredientFiles, trajCache, location) {
|
|
378
386
|
return (0, tslib_1.__awaiter)(this, void 0, void 0, function () {
|
|
379
|
-
var name, source, results, nbCurve, file, _a, model, assets, structure, bu, legacy, structureMean, m1, m, q, m;
|
|
387
|
+
var name, source, results, nbCurve, file, _a, model, assets, structure, bu, legacy, pcp, structureMean, m1, o, m, p, q, m;
|
|
380
388
|
return (0, tslib_1.__generator)(this, function (_b) {
|
|
381
389
|
switch (_b.label) {
|
|
382
390
|
case 0:
|
|
@@ -397,7 +405,7 @@ function getIngredientStructure(plugin, ingredient, baseUrl, ingredientFiles, tr
|
|
|
397
405
|
if (name === 'lypoglycane')
|
|
398
406
|
return [2 /*return*/];
|
|
399
407
|
}
|
|
400
|
-
return [4 /*yield*/, getModel(plugin, source.pdb || name, ingredient, baseUrl, trajCache, file)];
|
|
408
|
+
return [4 /*yield*/, getModel(plugin, source.pdb || name, ingredient, baseUrl, trajCache, location, file)];
|
|
401
409
|
case 1:
|
|
402
410
|
_a = _b.sent(), model = _a.model, assets = _a.assets;
|
|
403
411
|
if (!model)
|
|
@@ -408,6 +416,8 @@ function getIngredientStructure(plugin, ingredient, baseUrl, ingredientFiles, tr
|
|
|
408
416
|
structure = _b.sent();
|
|
409
417
|
return [3 /*break*/, 5];
|
|
410
418
|
case 3:
|
|
419
|
+
if ((!results || results.length === 0))
|
|
420
|
+
return [2 /*return*/];
|
|
411
421
|
bu = source.bu ? source.bu : undefined;
|
|
412
422
|
if (bu) {
|
|
413
423
|
if (bu === 'AU') {
|
|
@@ -417,11 +427,12 @@ function getIngredientStructure(plugin, ingredient, baseUrl, ingredientFiles, tr
|
|
|
417
427
|
bu = bu.slice(2);
|
|
418
428
|
}
|
|
419
429
|
}
|
|
420
|
-
return [4 /*yield*/, getStructure(plugin, model,
|
|
430
|
+
return [4 /*yield*/, getStructure(plugin, model, ingredient, { assembly: bu })];
|
|
421
431
|
case 4:
|
|
422
432
|
structure = _b.sent();
|
|
423
433
|
legacy = true;
|
|
424
|
-
|
|
434
|
+
pcp = ingredient.principalVector ? ingredient.principalVector : ingredient.principalAxis;
|
|
435
|
+
if (pcp) {
|
|
425
436
|
legacy = false;
|
|
426
437
|
structureMean = (0, util_1.getStructureMean)(structure);
|
|
427
438
|
linear_algebra_1.Vec3.negate(structureMean, structureMean);
|
|
@@ -429,22 +440,27 @@ function getIngredientStructure(plugin, ingredient, baseUrl, ingredientFiles, tr
|
|
|
429
440
|
linear_algebra_1.Mat4.setTranslation(m1, structureMean);
|
|
430
441
|
structure = structure_1.Structure.transform(structure, m1);
|
|
431
442
|
if (ingredient.offset) {
|
|
432
|
-
|
|
443
|
+
o = linear_algebra_1.Vec3.create(ingredient.offset[0], ingredient.offset[1], ingredient.offset[2]);
|
|
444
|
+
if (!linear_algebra_1.Vec3.exactEquals(o, linear_algebra_1.Vec3.zero())) { // -1, 1, 4e-16 ??
|
|
445
|
+
if (location !== 'surface') {
|
|
446
|
+
linear_algebra_1.Vec3.negate(o, o);
|
|
447
|
+
}
|
|
433
448
|
m = linear_algebra_1.Mat4.identity();
|
|
434
|
-
linear_algebra_1.Mat4.setTranslation(m,
|
|
449
|
+
linear_algebra_1.Mat4.setTranslation(m, o);
|
|
435
450
|
structure = structure_1.Structure.transform(structure, m);
|
|
436
451
|
}
|
|
437
452
|
}
|
|
438
|
-
if (
|
|
439
|
-
|
|
453
|
+
if (pcp) {
|
|
454
|
+
p = linear_algebra_1.Vec3.create(pcp[0], pcp[1], pcp[2]);
|
|
455
|
+
if (!linear_algebra_1.Vec3.exactEquals(p, linear_algebra_1.Vec3.unitZ)) {
|
|
440
456
|
q = linear_algebra_1.Quat.identity();
|
|
441
|
-
linear_algebra_1.Quat.rotationTo(q,
|
|
457
|
+
linear_algebra_1.Quat.rotationTo(q, p, linear_algebra_1.Vec3.unitZ);
|
|
442
458
|
m = linear_algebra_1.Mat4.fromQuat(linear_algebra_1.Mat4.zero(), q);
|
|
443
459
|
structure = structure_1.Structure.transform(structure, m);
|
|
444
460
|
}
|
|
445
461
|
}
|
|
446
462
|
}
|
|
447
|
-
structure = getAssembly(getResultTransforms(results, legacy), structure);
|
|
463
|
+
structure = getAssembly(name, getResultTransforms(results, legacy), structure);
|
|
448
464
|
_b.label = 5;
|
|
449
465
|
case 5: return [2 /*return*/, { structure: structure, assets: assets }];
|
|
450
466
|
}
|
|
@@ -454,16 +470,15 @@ function getIngredientStructure(plugin, ingredient, baseUrl, ingredientFiles, tr
|
|
|
454
470
|
function createStructureFromCellPack(plugin, packing, baseUrl, ingredientFiles) {
|
|
455
471
|
var _this = this;
|
|
456
472
|
return mol_task_1.Task.create('Create Packing Structure', function (ctx) { return (0, tslib_1.__awaiter)(_this, void 0, void 0, function () {
|
|
457
|
-
var ingredients, name, assets, trajCache, structures, colors,
|
|
473
|
+
var ingredients, location, name, assets, trajCache, structures, colors, _a, _b, _i, iName, ingredientStructure, c, units, offsetInvariantId, offsetChainGroupId, _c, structures_1, s, maxInvariantId, maxChainGroupId, _d, _e, u, invariantId, chainGroupId, structure, i, il;
|
|
458
474
|
return (0, tslib_1.__generator)(this, function (_f) {
|
|
459
475
|
switch (_f.label) {
|
|
460
476
|
case 0:
|
|
461
|
-
ingredients = packing.ingredients, name = packing.name;
|
|
477
|
+
ingredients = packing.ingredients, location = packing.location, name = packing.name;
|
|
462
478
|
assets = [];
|
|
463
479
|
trajCache = new TrajectoryCache();
|
|
464
480
|
structures = [];
|
|
465
481
|
colors = [];
|
|
466
|
-
skipColors = false;
|
|
467
482
|
_a = [];
|
|
468
483
|
for (_b in ingredients)
|
|
469
484
|
_a.push(_b);
|
|
@@ -477,7 +492,7 @@ function createStructureFromCellPack(plugin, packing, baseUrl, ingredientFiles)
|
|
|
477
492
|
case 2:
|
|
478
493
|
_f.sent();
|
|
479
494
|
_f.label = 3;
|
|
480
|
-
case 3: return [4 /*yield*/, getIngredientStructure(plugin, ingredients[iName], baseUrl, ingredientFiles, trajCache)];
|
|
495
|
+
case 3: return [4 /*yield*/, getIngredientStructure(plugin, ingredients[iName], baseUrl, ingredientFiles, trajCache, location)];
|
|
481
496
|
case 4:
|
|
482
497
|
ingredientStructure = _f.sent();
|
|
483
498
|
if (ingredientStructure) {
|
|
@@ -488,7 +503,7 @@ function createStructureFromCellPack(plugin, packing, baseUrl, ingredientFiles)
|
|
|
488
503
|
colors.push(color_1.Color.fromNormalizedRgb(c[0], c[1], c[2]));
|
|
489
504
|
}
|
|
490
505
|
else {
|
|
491
|
-
|
|
506
|
+
colors.push(color_1.Color.fromNormalizedRgb(1, 0, 0));
|
|
492
507
|
}
|
|
493
508
|
}
|
|
494
509
|
_f.label = 5;
|
|
@@ -497,7 +512,7 @@ function createStructureFromCellPack(plugin, packing, baseUrl, ingredientFiles)
|
|
|
497
512
|
return [3 /*break*/, 1];
|
|
498
513
|
case 6:
|
|
499
514
|
if (!ctx.shouldUpdate) return [3 /*break*/, 8];
|
|
500
|
-
return [4 /*yield*/, ctx.update(name
|
|
515
|
+
return [4 /*yield*/, ctx.update("".concat(name, " - units"))];
|
|
501
516
|
case 7:
|
|
502
517
|
_f.sent();
|
|
503
518
|
_f.label = 8;
|
|
@@ -511,7 +526,7 @@ function createStructureFromCellPack(plugin, packing, baseUrl, ingredientFiles)
|
|
|
511
526
|
if (!(_c < structures_1.length)) return [3 /*break*/, 13];
|
|
512
527
|
s = structures_1[_c];
|
|
513
528
|
if (!ctx.shouldUpdate) return [3 /*break*/, 11];
|
|
514
|
-
return [4 /*yield*/, ctx.update(""
|
|
529
|
+
return [4 /*yield*/, ctx.update("".concat(s.label))];
|
|
515
530
|
case 10:
|
|
516
531
|
_f.sent();
|
|
517
532
|
_f.label = 11;
|
|
@@ -534,16 +549,16 @@ function createStructureFromCellPack(plugin, packing, baseUrl, ingredientFiles)
|
|
|
534
549
|
return [3 /*break*/, 9];
|
|
535
550
|
case 13:
|
|
536
551
|
if (!ctx.shouldUpdate) return [3 /*break*/, 15];
|
|
537
|
-
return [4 /*yield*/, ctx.update(name
|
|
552
|
+
return [4 /*yield*/, ctx.update("".concat(name, " - structure"))];
|
|
538
553
|
case 14:
|
|
539
554
|
_f.sent();
|
|
540
555
|
_f.label = 15;
|
|
541
556
|
case 15:
|
|
542
|
-
structure = structure_1.Structure.create(units);
|
|
557
|
+
structure = structure_1.Structure.create(units, { label: name + '.' + location });
|
|
543
558
|
for (i = 0, il = structure.models.length; i < il; ++i) {
|
|
544
559
|
structure_1.Model.TrajectoryInfo.set(structure.models[i], { size: il, index: i });
|
|
545
560
|
}
|
|
546
|
-
return [2 /*return*/, { structure: structure, assets: assets, colors:
|
|
561
|
+
return [2 /*return*/, { structure: structure, assets: assets, colors: colors }];
|
|
547
562
|
}
|
|
548
563
|
});
|
|
549
564
|
}); });
|
|
@@ -559,8 +574,8 @@ function handleHivRna(plugin, packings, baseUrl) {
|
|
|
559
574
|
_a.label = 1;
|
|
560
575
|
case 1:
|
|
561
576
|
if (!(i < il)) return [3 /*break*/, 4];
|
|
562
|
-
if (!(packings[i].name === 'HIV1_capsid_3j3q_PackInner_0_1_0')) return [3 /*break*/, 3];
|
|
563
|
-
url = assets_1.Asset.getUrlAsset(plugin.managers.asset, baseUrl
|
|
577
|
+
if (!(packings[i].name === 'HIV1_capsid_3j3q_PackInner_0_1_0' || packings[i].name === 'HIV_capsid')) return [3 /*break*/, 3];
|
|
578
|
+
url = assets_1.Asset.getUrlAsset(plugin.managers.asset, "".concat(baseUrl, "/extras/rna_allpoints.json"));
|
|
564
579
|
return [4 /*yield*/, plugin.runTask(plugin.managers.asset.resolve(url, 'json', false))];
|
|
565
580
|
case 2:
|
|
566
581
|
json = _a.sent();
|
|
@@ -587,13 +602,13 @@ function handleHivRna(plugin, packings, baseUrl) {
|
|
|
587
602
|
}
|
|
588
603
|
function loadMembrane(plugin, name, state, params) {
|
|
589
604
|
return (0, tslib_1.__awaiter)(this, void 0, void 0, function () {
|
|
590
|
-
var file, fileName, _i, _a, f, cifileName, _b, _c, f, b, url, membrane, membraneParams;
|
|
605
|
+
var file, fileName, _i, _a, f, cifileName, _b, _c, f, legacy_membrane, geometry_membrane, b, url, url, url, url, props, membrane, membraneParams, membrane, membraneParams;
|
|
591
606
|
return (0, tslib_1.__generator)(this, function (_d) {
|
|
592
607
|
switch (_d.label) {
|
|
593
608
|
case 0:
|
|
594
609
|
file = undefined;
|
|
595
610
|
if (params.ingredients !== null) {
|
|
596
|
-
fileName = name
|
|
611
|
+
fileName = "".concat(name, ".bcif");
|
|
597
612
|
for (_i = 0, _a = params.ingredients; _i < _a.length; _i++) {
|
|
598
613
|
f = _a[_i];
|
|
599
614
|
if (fileName === f.name) {
|
|
@@ -602,7 +617,7 @@ function loadMembrane(plugin, name, state, params) {
|
|
|
602
617
|
}
|
|
603
618
|
}
|
|
604
619
|
if (!file) {
|
|
605
|
-
cifileName = name
|
|
620
|
+
cifileName = "".concat(name, ".cif");
|
|
606
621
|
for (_b = 0, _c = params.ingredients; _b < _c.length; _b++) {
|
|
607
622
|
f = _c[_b];
|
|
608
623
|
if (cifileName === f.name) {
|
|
@@ -612,6 +627,8 @@ function loadMembrane(plugin, name, state, params) {
|
|
|
612
627
|
}
|
|
613
628
|
}
|
|
614
629
|
}
|
|
630
|
+
legacy_membrane = false;
|
|
631
|
+
geometry_membrane = false;
|
|
615
632
|
b = state.build().toRoot();
|
|
616
633
|
if (file) {
|
|
617
634
|
if (file.name.endsWith('.cif')) {
|
|
@@ -622,9 +639,32 @@ function loadMembrane(plugin, name, state, params) {
|
|
|
622
639
|
}
|
|
623
640
|
}
|
|
624
641
|
else {
|
|
625
|
-
|
|
626
|
-
|
|
642
|
+
if (name.toLowerCase().endsWith('.bcif')) {
|
|
643
|
+
url = assets_1.Asset.getUrlAsset(plugin.managers.asset, "".concat(params.baseUrl, "/membranes/").concat(name));
|
|
644
|
+
b = b.apply(transforms_1.StateTransforms.Data.Download, { url: url, isBinary: true, label: name }, { state: { isGhost: true } });
|
|
645
|
+
}
|
|
646
|
+
else if (name.toLowerCase().endsWith('.cif')) {
|
|
647
|
+
url = assets_1.Asset.getUrlAsset(plugin.managers.asset, "".concat(params.baseUrl, "/membranes/").concat(name));
|
|
648
|
+
b = b.apply(transforms_1.StateTransforms.Data.Download, { url: url, isBinary: false, label: name }, { state: { isGhost: true } });
|
|
649
|
+
}
|
|
650
|
+
else if (name.toLowerCase().endsWith('.ply')) {
|
|
651
|
+
url = assets_1.Asset.getUrlAsset(plugin.managers.asset, "".concat(params.baseUrl, "/geometries/").concat(name));
|
|
652
|
+
b = b.apply(transforms_1.StateTransforms.Data.Download, { url: url, isBinary: false, label: name }, { state: { isGhost: true } });
|
|
653
|
+
geometry_membrane = true;
|
|
654
|
+
}
|
|
655
|
+
else {
|
|
656
|
+
url = assets_1.Asset.getUrlAsset(plugin.managers.asset, "".concat(params.baseUrl, "/membranes/").concat(name, ".bcif"));
|
|
657
|
+
b = b.apply(transforms_1.StateTransforms.Data.Download, { url: url, isBinary: true, label: name }, { state: { isGhost: true } });
|
|
658
|
+
legacy_membrane = true;
|
|
659
|
+
}
|
|
627
660
|
}
|
|
661
|
+
props = {
|
|
662
|
+
type: {
|
|
663
|
+
name: 'assembly',
|
|
664
|
+
params: { id: '1' }
|
|
665
|
+
}
|
|
666
|
+
};
|
|
667
|
+
if (!legacy_membrane) return [3 /*break*/, 3];
|
|
628
668
|
return [4 /*yield*/, b.apply(transforms_1.StateTransforms.Data.ParseCif, undefined, { state: { isGhost: true } })
|
|
629
669
|
.apply(transforms_1.StateTransforms.Model.TrajectoryFromMmCif, undefined, { state: { isGhost: true } })
|
|
630
670
|
.apply(transforms_1.StateTransforms.Model.ModelFromTrajectory, undefined, { state: { isGhost: true } })
|
|
@@ -638,18 +678,73 @@ function loadMembrane(plugin, name, state, params) {
|
|
|
638
678
|
return [4 /*yield*/, preset_1.CellpackMembranePreset.apply(membrane, membraneParams, plugin)];
|
|
639
679
|
case 2:
|
|
640
680
|
_d.sent();
|
|
641
|
-
return [
|
|
681
|
+
return [3 /*break*/, 8];
|
|
682
|
+
case 3:
|
|
683
|
+
if (!geometry_membrane) return [3 /*break*/, 5];
|
|
684
|
+
return [4 /*yield*/, b.apply(transforms_1.StateTransforms.Data.ParsePly, undefined, { state: { isGhost: true } })
|
|
685
|
+
.apply(transforms_1.StateTransforms.Model.ShapeFromPly)
|
|
686
|
+
.apply(transforms_1.StateTransforms.Representation.ShapeRepresentation3D, { xrayShaded: true,
|
|
687
|
+
doubleSided: true, coloring: { name: 'uniform', params: { color: names_1.ColorNames.orange } } })
|
|
688
|
+
.commit({ revertOnError: true })];
|
|
689
|
+
case 4:
|
|
690
|
+
_d.sent();
|
|
691
|
+
return [3 /*break*/, 8];
|
|
692
|
+
case 5: return [4 /*yield*/, b.apply(transforms_1.StateTransforms.Data.ParseCif, undefined, { state: { isGhost: true } })
|
|
693
|
+
.apply(transforms_1.StateTransforms.Model.TrajectoryFromMmCif, undefined, { state: { isGhost: true } })
|
|
694
|
+
.apply(transforms_1.StateTransforms.Model.ModelFromTrajectory, undefined, { state: { isGhost: true } })
|
|
695
|
+
.apply(transforms_1.StateTransforms.Model.StructureFromModel, props, { state: { isGhost: true } })
|
|
696
|
+
.commit({ revertOnError: true })];
|
|
697
|
+
case 6:
|
|
698
|
+
membrane = _d.sent();
|
|
699
|
+
membraneParams = {
|
|
700
|
+
representation: params.preset.representation,
|
|
701
|
+
};
|
|
702
|
+
return [4 /*yield*/, preset_1.CellpackMembranePreset.apply(membrane, membraneParams, plugin)];
|
|
703
|
+
case 7:
|
|
704
|
+
_d.sent();
|
|
705
|
+
_d.label = 8;
|
|
706
|
+
case 8: return [2 /*return*/];
|
|
707
|
+
}
|
|
708
|
+
});
|
|
709
|
+
});
|
|
710
|
+
}
|
|
711
|
+
function handleMembraneSpheres(state, primitives) {
|
|
712
|
+
return (0, tslib_1.__awaiter)(this, void 0, void 0, function () {
|
|
713
|
+
var nSpheres, j;
|
|
714
|
+
return (0, tslib_1.__generator)(this, function (_a) {
|
|
715
|
+
switch (_a.label) {
|
|
716
|
+
case 0:
|
|
717
|
+
nSpheres = primitives.positions.length / 3;
|
|
718
|
+
j = 0;
|
|
719
|
+
_a.label = 1;
|
|
720
|
+
case 1:
|
|
721
|
+
if (!(j < nSpheres)) return [3 /*break*/, 4];
|
|
722
|
+
return [4 /*yield*/, state.build()
|
|
723
|
+
.toRoot()
|
|
724
|
+
.apply(state_1.CreateCompartmentSphere, {
|
|
725
|
+
center: linear_algebra_1.Vec3.create(primitives.positions[j * 3 + 0], primitives.positions[j * 3 + 1], primitives.positions[j * 3 + 2]),
|
|
726
|
+
radius: primitives.radii[j]
|
|
727
|
+
})
|
|
728
|
+
.commit()];
|
|
729
|
+
case 2:
|
|
730
|
+
_a.sent();
|
|
731
|
+
_a.label = 3;
|
|
732
|
+
case 3:
|
|
733
|
+
j++;
|
|
734
|
+
return [3 /*break*/, 1];
|
|
735
|
+
case 4: return [2 /*return*/];
|
|
642
736
|
}
|
|
643
737
|
});
|
|
644
738
|
});
|
|
645
739
|
}
|
|
646
740
|
function loadPackings(plugin, runtime, state, params) {
|
|
647
741
|
return (0, tslib_1.__awaiter)(this, void 0, void 0, function () {
|
|
648
|
-
var ingredientFiles, cellPackJson, url, file,
|
|
742
|
+
var ingredientFiles, cellPackJson, resultsFile, url, file, modelFile, data, cellPackBuilder, cellPackObject, packings, i, il, p, packing, packingParams;
|
|
649
743
|
return (0, tslib_1.__generator)(this, function (_a) {
|
|
650
744
|
switch (_a.label) {
|
|
651
745
|
case 0:
|
|
652
746
|
ingredientFiles = params.ingredients || [];
|
|
747
|
+
resultsFile = params.results;
|
|
653
748
|
if (!(params.source.name === 'id')) return [3 /*break*/, 1];
|
|
654
749
|
url = assets_1.Asset.getUrlAsset(plugin.managers.asset, getCellPackModelUrl(params.source.params, params.baseUrl));
|
|
655
750
|
cellPackJson = state.build().toRoot()
|
|
@@ -661,29 +756,39 @@ function loadPackings(plugin, runtime, state, params) {
|
|
|
661
756
|
plugin.log.error('No file selected');
|
|
662
757
|
return [2 /*return*/];
|
|
663
758
|
}
|
|
664
|
-
|
|
759
|
+
modelFile = void 0;
|
|
665
760
|
if (!file.name.toLowerCase().endsWith('.zip')) return [3 /*break*/, 3];
|
|
666
761
|
return [4 /*yield*/, (0, data_source_1.readFromFile)(file.file, 'zip').runInContext(runtime)];
|
|
667
762
|
case 2:
|
|
668
763
|
data = _a.sent();
|
|
669
|
-
|
|
764
|
+
if (data['model.json']) {
|
|
765
|
+
modelFile = assets_1.Asset.File(new File([data['model.json']], 'model.json'));
|
|
766
|
+
}
|
|
767
|
+
else {
|
|
768
|
+
throw new Error('model.json missing from zip file');
|
|
769
|
+
}
|
|
770
|
+
if (data['results.bin']) {
|
|
771
|
+
resultsFile = assets_1.Asset.File(new File([data['results.bin']], 'results.bin'));
|
|
772
|
+
}
|
|
670
773
|
(0, object_1.objectForEach)(data, function (v, k) {
|
|
671
774
|
if (k === 'model.json')
|
|
672
775
|
return;
|
|
776
|
+
if (k === 'results.bin')
|
|
777
|
+
return;
|
|
673
778
|
ingredientFiles.push(assets_1.Asset.File(new File([v], k)));
|
|
674
779
|
});
|
|
675
780
|
return [3 /*break*/, 4];
|
|
676
781
|
case 3:
|
|
677
|
-
|
|
782
|
+
modelFile = file;
|
|
678
783
|
_a.label = 4;
|
|
679
784
|
case 4:
|
|
680
785
|
cellPackJson = state.build().toRoot()
|
|
681
|
-
.apply(transforms_1.StateTransforms.Data.ReadFile, { file:
|
|
786
|
+
.apply(transforms_1.StateTransforms.Data.ReadFile, { file: modelFile, isBinary: false, label: modelFile.name }, { state: { isGhost: true } });
|
|
682
787
|
_a.label = 5;
|
|
683
788
|
case 5:
|
|
684
789
|
cellPackBuilder = cellPackJson
|
|
685
790
|
.apply(transforms_1.StateTransforms.Data.ParseJson, undefined, { state: { isGhost: true } })
|
|
686
|
-
.apply(state_1.ParseCellPack);
|
|
791
|
+
.apply(state_1.ParseCellPack, { resultsFile: resultsFile, baseUrl: params.baseUrl });
|
|
687
792
|
return [4 /*yield*/, state.updateTree(cellPackBuilder).runInContext(runtime)];
|
|
688
793
|
case 6:
|
|
689
794
|
cellPackObject = _a.sent();
|
|
@@ -694,7 +799,7 @@ function loadPackings(plugin, runtime, state, params) {
|
|
|
694
799
|
i = 0, il = packings.length;
|
|
695
800
|
_a.label = 8;
|
|
696
801
|
case 8:
|
|
697
|
-
if (!(i < il)) return [3 /*break*/,
|
|
802
|
+
if (!(i < il)) return [3 /*break*/, 23];
|
|
698
803
|
p = { packing: i, baseUrl: params.baseUrl, ingredientFiles: ingredientFiles };
|
|
699
804
|
return [4 /*yield*/, state.build()
|
|
700
805
|
.to(cellPackBuilder.ref)
|
|
@@ -709,15 +814,48 @@ function loadPackings(plugin, runtime, state, params) {
|
|
|
709
814
|
return [4 /*yield*/, preset_1.CellpackPackingPreset.apply(packing, packingParams, plugin)];
|
|
710
815
|
case 10:
|
|
711
816
|
_a.sent();
|
|
712
|
-
if (!
|
|
713
|
-
return [
|
|
817
|
+
if (!packings[i].compartment) return [3 /*break*/, 22];
|
|
818
|
+
if (!(params.membrane === 'lipids')) return [3 /*break*/, 18];
|
|
819
|
+
if (!packings[i].compartment.geom_type) return [3 /*break*/, 15];
|
|
820
|
+
if (!(packings[i].compartment.geom_type === 'file')) return [3 /*break*/, 12];
|
|
821
|
+
// TODO: load mesh files or vertex,faces data
|
|
822
|
+
return [4 /*yield*/, loadMembrane(plugin, packings[i].compartment.filename, state, params)];
|
|
714
823
|
case 11:
|
|
824
|
+
// TODO: load mesh files or vertex,faces data
|
|
715
825
|
_a.sent();
|
|
716
|
-
|
|
826
|
+
return [3 /*break*/, 14];
|
|
717
827
|
case 12:
|
|
828
|
+
if (!packings[i].compartment.compartment_primitives) return [3 /*break*/, 14];
|
|
829
|
+
return [4 /*yield*/, handleMembraneSpheres(state, packings[i].compartment.compartment_primitives)];
|
|
830
|
+
case 13:
|
|
831
|
+
_a.sent();
|
|
832
|
+
_a.label = 14;
|
|
833
|
+
case 14: return [3 /*break*/, 17];
|
|
834
|
+
case 15:
|
|
835
|
+
if (!(params.membrane === 'lipids')) return [3 /*break*/, 17];
|
|
836
|
+
return [4 /*yield*/, loadMembrane(plugin, packings[i].name, state, params)];
|
|
837
|
+
case 16:
|
|
838
|
+
_a.sent();
|
|
839
|
+
_a.label = 17;
|
|
840
|
+
case 17: return [3 /*break*/, 22];
|
|
841
|
+
case 18:
|
|
842
|
+
if (!(params.membrane === 'geometry')) return [3 /*break*/, 22];
|
|
843
|
+
if (!packings[i].compartment.compartment_primitives) return [3 /*break*/, 20];
|
|
844
|
+
return [4 /*yield*/, handleMembraneSpheres(state, packings[i].compartment.compartment_primitives)];
|
|
845
|
+
case 19:
|
|
846
|
+
_a.sent();
|
|
847
|
+
return [3 /*break*/, 22];
|
|
848
|
+
case 20:
|
|
849
|
+
if (!(packings[i].compartment.geom_type === 'file')) return [3 /*break*/, 22];
|
|
850
|
+
if (!packings[i].compartment.filename.toLowerCase().endsWith('.ply')) return [3 /*break*/, 22];
|
|
851
|
+
return [4 /*yield*/, loadMembrane(plugin, packings[i].compartment.filename, state, params)];
|
|
852
|
+
case 21:
|
|
853
|
+
_a.sent();
|
|
854
|
+
_a.label = 22;
|
|
855
|
+
case 22:
|
|
718
856
|
++i;
|
|
719
857
|
return [3 /*break*/, 8];
|
|
720
|
-
case
|
|
858
|
+
case 23: return [2 /*return*/];
|
|
721
859
|
}
|
|
722
860
|
});
|
|
723
861
|
});
|
|
@@ -727,19 +865,19 @@ var LoadCellPackModelParams = {
|
|
|
727
865
|
'id': param_definition_1.ParamDefinition.Select('InfluenzaModel2.json', [
|
|
728
866
|
['blood_hiv_immature_inside.json', 'Blood HIV immature'],
|
|
729
867
|
['HIV_immature_model.json', 'HIV immature'],
|
|
730
|
-
['
|
|
731
|
-
['HIV-1_0.1.6-8_mixed_radii_pdb.
|
|
868
|
+
['Blood_HIV.json', 'Blood HIV'],
|
|
869
|
+
['HIV-1_0.1.6-8_mixed_radii_pdb.json', 'HIV'],
|
|
732
870
|
['influenza_model1.json', 'Influenza envelope'],
|
|
733
|
-
['InfluenzaModel2.json', 'Influenza
|
|
871
|
+
['InfluenzaModel2.json', 'Influenza complete'],
|
|
734
872
|
['ExosomeModel.json', 'Exosome Model'],
|
|
735
|
-
['
|
|
736
|
-
['MycoplasmaModel.json', 'Mycoplasma WholeCell model'],
|
|
873
|
+
['MycoplasmaGenitalium.json', 'Mycoplasma Genitalium curated model'],
|
|
737
874
|
], { description: 'Download the model definition with `id` from the server at `baseUrl.`' }),
|
|
738
|
-
'file': param_definition_1.ParamDefinition.File({ accept: '.json,.cpr,.zip', description: 'Open model definition from .json/.cpr file or open .zip file containing model definition plus ingredients.' }),
|
|
875
|
+
'file': param_definition_1.ParamDefinition.File({ accept: '.json,.cpr,.zip', description: 'Open model definition from .json/.cpr file or open .zip file containing model definition plus ingredients.', label: 'Recipe file' }),
|
|
739
876
|
}, { options: [['id', 'Id'], ['file', 'File']] }),
|
|
740
877
|
baseUrl: param_definition_1.ParamDefinition.Text(state_1.DefaultCellPackBaseUrl),
|
|
741
|
-
|
|
742
|
-
|
|
878
|
+
results: param_definition_1.ParamDefinition.File({ accept: '.bin', description: 'open results file in binary format from cellpackgpu for the specified recipe', label: 'Results file' }),
|
|
879
|
+
membrane: param_definition_1.ParamDefinition.Select('lipids', param_definition_1.ParamDefinition.arrayToOptions(['lipids', 'geometry', 'none'])),
|
|
880
|
+
ingredients: param_definition_1.ParamDefinition.FileList({ accept: '.cif,.bcif,.pdb', label: 'Ingredient files' }),
|
|
743
881
|
preset: param_definition_1.ParamDefinition.Group({
|
|
744
882
|
traceOnly: param_definition_1.ParamDefinition.Boolean(false),
|
|
745
883
|
representation: param_definition_1.ParamDefinition.Select('gaussian-surface', param_definition_1.ParamDefinition.arrayToOptions(['spacefill', 'gaussian-surface', 'point', 'orientation']))
|