molstar 3.26.0 → 3.28.0
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 +202 -202
- package/build/viewer/embedded.html +52 -52
- package/build/viewer/index.html +115 -115
- package/build/viewer/molstar.css +1 -1
- package/build/viewer/molstar.js +1 -1
- package/lib/apps/docking-viewer/index.html +36 -36
- package/lib/apps/docking-viewer/viewport.d.ts +2 -0
- package/lib/apps/docking-viewer/viewport.js +1 -0
- package/lib/apps/viewer/app.d.ts +3 -1
- package/lib/apps/viewer/app.js +4 -0
- package/lib/apps/viewer/embedded.html +52 -52
- package/lib/apps/viewer/index.html +115 -115
- package/lib/cli/structure-info/volume.js +1 -1
- package/lib/commonjs/apps/docking-viewer/viewport.d.ts +2 -0
- package/lib/commonjs/apps/docking-viewer/viewport.js +1 -0
- package/lib/commonjs/apps/viewer/app.d.ts +3 -1
- package/lib/commonjs/apps/viewer/app.js +4 -0
- package/lib/commonjs/cli/structure-info/volume.js +1 -1
- package/lib/commonjs/examples/lighting/index.js +1 -1
- package/lib/commonjs/extensions/anvil/behavior.d.ts +1 -0
- package/lib/commonjs/extensions/cellpack/model.js +2 -1
- package/lib/commonjs/extensions/dnatco/confal-pyramids/behavior.d.ts +1 -0
- package/lib/commonjs/extensions/meshes/choice.d.ts +26 -0
- package/lib/commonjs/extensions/meshes/choice.js +31 -0
- package/lib/commonjs/extensions/meshes/examples.d.ts +26 -0
- package/lib/commonjs/extensions/meshes/examples.js +337 -0
- package/lib/commonjs/extensions/meshes/mesh-cif-schema.d.ts +29 -0
- package/lib/commonjs/extensions/meshes/mesh-cif-schema.js +34 -0
- package/lib/commonjs/extensions/meshes/mesh-extension.d.ts +66 -0
- package/lib/commonjs/extensions/meshes/mesh-extension.js +221 -0
- package/lib/commonjs/extensions/meshes/mesh-streaming/behavior.d.ts +105 -0
- package/lib/commonjs/extensions/meshes/mesh-streaming/behavior.js +379 -0
- package/lib/commonjs/extensions/meshes/mesh-streaming/server-info.d.ts +54 -0
- package/lib/commonjs/extensions/meshes/mesh-streaming/server-info.js +30 -0
- package/lib/commonjs/extensions/meshes/mesh-streaming/transformers.d.ts +42 -0
- package/lib/commonjs/extensions/meshes/mesh-streaming/transformers.js +273 -0
- package/lib/commonjs/extensions/meshes/mesh-utils.d.ts +41 -0
- package/lib/commonjs/extensions/meshes/mesh-utils.js +357 -0
- package/lib/commonjs/extensions/meshes/metadata.d.ts +108 -0
- package/lib/commonjs/extensions/meshes/metadata.js +72 -0
- package/lib/commonjs/extensions/model-archive/quality-assessment/behavior.d.ts +2 -0
- package/lib/commonjs/extensions/model-archive/quality-assessment/prop.d.ts +1 -0
- package/lib/commonjs/extensions/model-archive/quality-assessment/prop.js +16 -4
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +4 -2
- package/lib/commonjs/extensions/rcsb/validation-report/behavior.d.ts +3 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/entry-meshes.d.ts +17 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/entry-meshes.js +156 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/entry-models.d.ts +12 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/entry-models.js +96 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/entry-root.d.ts +122 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/entry-root.js +576 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/entry-segmentation.d.ts +20 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/entry-segmentation.js +200 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/entry-state.d.ts +88 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/entry-state.js +32 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/entry-volume.d.ts +35 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/entry-volume.js +234 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/external-api.d.ts +11 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/external-api.js +85 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/global-state.d.ts +51 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/global-state.js +83 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/helpers.d.ts +56 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/helpers.js +171 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/index.d.ts +20 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/index.js +130 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/transformers.d.ts +33 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/transformers.js +85 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/ui.d.ts +29 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/ui.js +232 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/volseg-api/api.d.ts +22 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/volseg-api/api.js +83 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/volseg-api/data.d.ts +92 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/volseg-api/data.js +7 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/volseg-api/utils.d.ts +23 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/volseg-api/utils.js +78 -0
- package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +2 -0
- package/lib/commonjs/mol-canvas3d/passes/draw.js +3 -3
- package/lib/commonjs/mol-canvas3d/passes/image.d.ts +1 -0
- package/lib/commonjs/mol-canvas3d/passes/postprocessing.d.ts +2 -1
- package/lib/commonjs/mol-canvas3d/passes/postprocessing.js +27 -13
- package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +2 -1
- package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.js +3 -2
- package/lib/commonjs/mol-geo/geometry/lines/lines.d.ts +0 -1
- package/lib/commonjs/mol-geo/geometry/points/points.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/spheres/spheres.d.ts +1 -0
- package/lib/commonjs/mol-geo/geometry/spheres/spheres.js +3 -2
- package/lib/commonjs/mol-gl/compute/histogram-pyramid/reduction.js +1 -2
- package/lib/commonjs/mol-gl/compute/marching-cubes/isosurface.js +4 -6
- package/lib/commonjs/mol-gl/renderable/cylinders.d.ts +1 -0
- package/lib/commonjs/mol-gl/renderable/cylinders.js +1 -1
- package/lib/commonjs/mol-gl/renderable/spheres.d.ts +1 -0
- package/lib/commonjs/mol-gl/renderable/spheres.js +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/apply-light-color.glsl.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/apply-light-color.glsl.js +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/clip-instance.glsl.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/clip-instance.glsl.js +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/clip-pixel.glsl.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/clip-pixel.glsl.js +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/common-clip.glsl.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/chunks/common-clip.glsl.js +2 -2
- package/lib/commonjs/mol-gl/shader/cylinders.frag.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/cylinders.frag.js +1 -1
- package/lib/commonjs/mol-gl/shader/cylinders.vert.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/cylinders.vert.js +2 -2
- package/lib/commonjs/mol-gl/shader/direct-volume.frag.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/direct-volume.frag.js +1 -1
- package/lib/commonjs/mol-gl/shader/outlines.frag.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/outlines.frag.js +1 -1
- package/lib/commonjs/mol-gl/shader/postprocessing.frag.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/postprocessing.frag.js +1 -1
- package/lib/commonjs/mol-gl/shader/spheres.frag.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/spheres.frag.js +1 -1
- package/lib/commonjs/mol-gl/shader/spheres.vert.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/spheres.vert.js +2 -2
- package/lib/commonjs/mol-gl/webgl/renderbuffer.d.ts +1 -1
- package/lib/commonjs/mol-gl/webgl/renderbuffer.js +15 -0
- package/lib/commonjs/mol-gl/webgl/state.d.ts +12 -0
- package/lib/commonjs/mol-gl/webgl/state.js +136 -0
- package/lib/commonjs/mol-io/reader/cif/schema/segmentation.d.ts +38 -0
- package/lib/commonjs/mol-io/reader/cif/schema/segmentation.js +22 -0
- package/lib/commonjs/mol-io/reader/cif.d.ts +3 -1
- package/lib/commonjs/mol-io/reader/cif.js +3 -1
- package/lib/commonjs/mol-model/location.d.ts +2 -1
- package/lib/commonjs/mol-model/loci.d.ts +11 -11
- package/lib/commonjs/mol-model/loci.js +13 -1
- package/lib/commonjs/mol-model/sequence/alignment/sequence.d.ts +4 -1
- package/lib/commonjs/mol-model/sequence/alignment/sequence.js +4 -1
- package/lib/commonjs/mol-model/structure/model/properties/atomic/hierarchy.d.ts +6 -0
- package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-index.js +8 -0
- package/lib/commonjs/mol-model/structure/structure/unit/bonds/inter-compute.js +21 -5
- package/lib/commonjs/mol-model/structure/structure/util/superposition.d.ts +1 -0
- package/lib/commonjs/mol-model/structure/structure/util/superposition.js +2 -1
- package/lib/commonjs/mol-model/volume/volume.d.ts +35 -2
- package/lib/commonjs/mol-model/volume/volume.js +77 -2
- package/lib/commonjs/mol-model-formats/volume/segmentation.d.ts +23 -0
- package/lib/commonjs/mol-model-formats/volume/segmentation.js +138 -0
- package/lib/commonjs/mol-plugin/behavior/dynamic/representation.d.ts +2 -2
- package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +1 -0
- package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js +2 -1
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +2 -3
- package/lib/commonjs/mol-plugin/commands.d.ts +1 -0
- package/lib/commonjs/mol-plugin-state/animation/built-in/model-index.js +4 -1
- package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy-preset.d.ts +2 -0
- package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy.d.ts +1 -0
- package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.d.ts +13 -4
- package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.js +6 -1
- package/lib/commonjs/mol-plugin-state/builder/structure/representation.d.ts +1 -0
- package/lib/commonjs/mol-plugin-state/formats/provider.d.ts +2 -2
- package/lib/commonjs/mol-plugin-state/formats/provider.js +11 -3
- package/lib/commonjs/mol-plugin-state/formats/registry.js +6 -5
- package/lib/commonjs/mol-plugin-state/formats/volume.d.ts +27 -0
- package/lib/commonjs/mol-plugin-state/formats/volume.js +65 -1
- package/lib/commonjs/mol-plugin-state/manager/structure/component.d.ts +1 -1
- package/lib/commonjs/mol-plugin-state/manager/structure/component.js +18 -13
- package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +1 -2
- package/lib/commonjs/mol-plugin-state/transforms/representation.js +5 -6
- package/lib/commonjs/mol-plugin-state/transforms/volume.d.ts +11 -1
- package/lib/commonjs/mol-plugin-state/transforms/volume.js +55 -2
- package/lib/commonjs/mol-plugin-ui/controls/line-graph/line-graph-component.d.ts +1 -0
- package/lib/commonjs/mol-plugin-ui/controls/line-graph/line-graph-component.js +33 -13
- package/lib/commonjs/mol-plugin-ui/controls/parameters.d.ts +1 -0
- package/lib/commonjs/mol-plugin-ui/controls/parameters.js +22 -5
- package/lib/commonjs/mol-plugin-ui/sequence/sequence.d.ts +25 -17
- package/lib/commonjs/mol-plugin-ui/sequence.d.ts +19 -1
- package/lib/commonjs/mol-plugin-ui/sequence.js +8 -1
- package/lib/commonjs/mol-plugin-ui/state/apply-action.d.ts +2 -10
- package/lib/commonjs/mol-plugin-ui/state/apply-action.js +2 -2
- package/lib/commonjs/mol-plugin-ui/structure/quick-styles.js +2 -2
- package/lib/commonjs/mol-plugin-ui/structure/superposition.d.ts +1 -1
- package/lib/commonjs/mol-plugin-ui/structure/volume.d.ts +1 -1
- package/lib/commonjs/mol-plugin-ui/structure/volume.js +3 -2
- package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/params.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/registry.d.ts +12 -0
- package/lib/commonjs/mol-repr/structure/representation/backbone.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +6 -0
- package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +6 -0
- package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/gaussian-volume.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/line.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/point.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/spacefill.d.ts +6 -0
- package/lib/commonjs/mol-repr/structure/units-visual.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +4 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.js +2 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.js +1 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +4 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.js +2 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.js +1 -0
- package/lib/commonjs/mol-repr/structure/visual/element-cross.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/element-cross.js +2 -1
- package/lib/commonjs/mol-repr/structure/visual/element-point.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/element-point.js +2 -1
- package/lib/commonjs/mol-repr/structure/visual/element-sphere.d.ts +4 -0
- package/lib/commonjs/mol-repr/structure/visual/element-sphere.js +3 -1
- package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.js +6 -2
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +4 -0
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.js +9 -1
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.js +3 -1
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.js +4 -0
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.js +2 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/util/bond.d.ts +7 -0
- package/lib/commonjs/mol-repr/structure/visual/util/bond.js +18 -7
- package/lib/commonjs/mol-repr/structure/visual/util/common.d.ts +4 -1
- package/lib/commonjs/mol-repr/structure/visual/util/common.js +10 -6
- package/lib/commonjs/mol-repr/structure/visual/util/element.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/util/element.js +2 -3
- package/lib/commonjs/mol-repr/structure/visual/util/gaussian.d.ts +2 -0
- package/lib/commonjs/mol-repr/volume/direct-volume.d.ts +4 -4
- package/lib/commonjs/mol-repr/volume/direct-volume.js +8 -6
- package/lib/commonjs/mol-repr/volume/isosurface.d.ts +4 -4
- package/lib/commonjs/mol-repr/volume/isosurface.js +17 -16
- package/lib/commonjs/mol-repr/volume/registry.d.ts +54 -1
- package/lib/commonjs/mol-repr/volume/registry.js +3 -1
- package/lib/commonjs/mol-repr/volume/representation.d.ts +11 -7
- package/lib/commonjs/mol-repr/volume/representation.js +142 -47
- package/lib/commonjs/mol-repr/volume/segment.d.ts +291 -0
- package/lib/commonjs/mol-repr/volume/segment.js +289 -0
- package/lib/commonjs/mol-repr/volume/slice.d.ts +2 -2
- package/lib/commonjs/mol-repr/volume/slice.js +5 -5
- package/lib/commonjs/mol-repr/volume/util.d.ts +12 -3
- package/lib/commonjs/mol-repr/volume/util.js +72 -6
- package/lib/commonjs/mol-script/language/builder.d.ts +1 -0
- package/lib/commonjs/mol-theme/color/volume-segment.d.ts +41 -0
- package/lib/commonjs/mol-theme/color/volume-segment.js +58 -0
- package/lib/commonjs/mol-theme/color/volume-value.js +2 -1
- package/lib/commonjs/mol-theme/color.d.ts +15 -0
- package/lib/commonjs/mol-theme/color.js +2 -0
- package/lib/commonjs/mol-theme/label.d.ts +1 -1
- package/lib/commonjs/mol-theme/label.js +13 -1
- package/lib/commonjs/mol-util/param-definition.d.ts +4 -1
- package/lib/commonjs/mol-util/param-definition.js +5 -2
- package/lib/examples/alpha-orbitals/index.html +72 -72
- package/lib/examples/basic-wrapper/index.html +137 -137
- package/lib/examples/lighting/index.html +88 -88
- package/lib/examples/lighting/index.js +1 -1
- package/lib/examples/proteopedia-wrapper/index.html +236 -236
- package/lib/extensions/anvil/behavior.d.ts +1 -0
- package/lib/extensions/cellpack/model.js +2 -1
- package/lib/extensions/dnatco/confal-pyramids/behavior.d.ts +1 -0
- package/lib/extensions/meshes/choice.d.ts +26 -0
- package/lib/extensions/meshes/choice.js +28 -0
- package/lib/extensions/meshes/examples.d.ts +26 -0
- package/lib/extensions/meshes/examples.js +325 -0
- package/lib/extensions/meshes/mesh-cif-schema.d.ts +29 -0
- package/lib/extensions/meshes/mesh-cif-schema.js +30 -0
- package/lib/extensions/meshes/mesh-extension.d.ts +66 -0
- package/lib/extensions/meshes/mesh-extension.js +218 -0
- package/lib/extensions/meshes/mesh-streaming/behavior.d.ts +105 -0
- package/lib/extensions/meshes/mesh-streaming/behavior.js +375 -0
- package/lib/extensions/meshes/mesh-streaming/server-info.d.ts +54 -0
- package/lib/extensions/meshes/mesh-streaming/server-info.js +26 -0
- package/lib/extensions/meshes/mesh-streaming/transformers.d.ts +42 -0
- package/lib/extensions/meshes/mesh-streaming/transformers.js +270 -0
- package/lib/extensions/meshes/mesh-utils.d.ts +41 -0
- package/lib/extensions/meshes/mesh-utils.js +346 -0
- package/lib/extensions/meshes/metadata.d.ts +108 -0
- package/lib/extensions/meshes/metadata.js +69 -0
- package/lib/extensions/model-archive/quality-assessment/behavior.d.ts +2 -0
- package/lib/extensions/model-archive/quality-assessment/prop.d.ts +1 -0
- package/lib/extensions/model-archive/quality-assessment/prop.js +16 -4
- package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +4 -2
- package/lib/extensions/rcsb/validation-report/behavior.d.ts +3 -0
- package/lib/extensions/volumes-and-segmentations/entry-meshes.d.ts +17 -0
- package/lib/extensions/volumes-and-segmentations/entry-meshes.js +153 -0
- package/lib/extensions/volumes-and-segmentations/entry-models.d.ts +12 -0
- package/lib/extensions/volumes-and-segmentations/entry-models.js +93 -0
- package/lib/extensions/volumes-and-segmentations/entry-root.d.ts +122 -0
- package/lib/extensions/volumes-and-segmentations/entry-root.js +571 -0
- package/lib/extensions/volumes-and-segmentations/entry-segmentation.d.ts +20 -0
- package/lib/extensions/volumes-and-segmentations/entry-segmentation.js +197 -0
- package/lib/extensions/volumes-and-segmentations/entry-state.d.ts +88 -0
- package/lib/extensions/volumes-and-segmentations/entry-state.js +29 -0
- package/lib/extensions/volumes-and-segmentations/entry-volume.d.ts +35 -0
- package/lib/extensions/volumes-and-segmentations/entry-volume.js +231 -0
- package/lib/extensions/volumes-and-segmentations/external-api.d.ts +11 -0
- package/lib/extensions/volumes-and-segmentations/external-api.js +80 -0
- package/lib/extensions/volumes-and-segmentations/global-state.d.ts +51 -0
- package/lib/extensions/volumes-and-segmentations/global-state.js +80 -0
- package/lib/extensions/volumes-and-segmentations/helpers.d.ts +56 -0
- package/lib/extensions/volumes-and-segmentations/helpers.js +163 -0
- package/lib/extensions/volumes-and-segmentations/index.d.ts +20 -0
- package/lib/extensions/volumes-and-segmentations/index.js +127 -0
- package/lib/extensions/volumes-and-segmentations/transformers.d.ts +33 -0
- package/lib/extensions/volumes-and-segmentations/transformers.js +82 -0
- package/lib/extensions/volumes-and-segmentations/ui.d.ts +29 -0
- package/lib/extensions/volumes-and-segmentations/ui.js +229 -0
- package/lib/extensions/volumes-and-segmentations/volseg-api/api.d.ts +22 -0
- package/lib/extensions/volumes-and-segmentations/volseg-api/api.js +80 -0
- package/lib/extensions/volumes-and-segmentations/volseg-api/data.d.ts +92 -0
- package/lib/extensions/volumes-and-segmentations/volseg-api/data.js +6 -0
- package/lib/extensions/volumes-and-segmentations/volseg-api/utils.d.ts +23 -0
- package/lib/extensions/volumes-and-segmentations/volseg-api/utils.js +75 -0
- package/lib/mol-canvas3d/canvas3d.d.ts +2 -0
- package/lib/mol-canvas3d/passes/draw.js +3 -3
- package/lib/mol-canvas3d/passes/image.d.ts +1 -0
- package/lib/mol-canvas3d/passes/postprocessing.d.ts +2 -1
- package/lib/mol-canvas3d/passes/postprocessing.js +27 -13
- package/lib/mol-geo/geometry/cylinders/cylinders.d.ts +2 -1
- package/lib/mol-geo/geometry/cylinders/cylinders.js +3 -2
- package/lib/mol-geo/geometry/lines/lines.d.ts +0 -1
- package/lib/mol-geo/geometry/points/points.d.ts +1 -1
- package/lib/mol-geo/geometry/spheres/spheres.d.ts +1 -0
- package/lib/mol-geo/geometry/spheres/spheres.js +3 -2
- package/lib/mol-gl/compute/histogram-pyramid/reduction.js +1 -2
- package/lib/mol-gl/compute/marching-cubes/isosurface.js +4 -6
- package/lib/mol-gl/renderable/cylinders.d.ts +1 -0
- package/lib/mol-gl/renderable/cylinders.js +1 -1
- package/lib/mol-gl/renderable/spheres.d.ts +1 -0
- package/lib/mol-gl/renderable/spheres.js +1 -1
- package/lib/mol-gl/shader/chunks/apply-light-color.glsl.d.ts +1 -1
- package/lib/mol-gl/shader/chunks/apply-light-color.glsl.js +1 -1
- package/lib/mol-gl/shader/chunks/clip-instance.glsl.d.ts +1 -1
- package/lib/mol-gl/shader/chunks/clip-instance.glsl.js +1 -1
- package/lib/mol-gl/shader/chunks/clip-pixel.glsl.d.ts +1 -1
- package/lib/mol-gl/shader/chunks/clip-pixel.glsl.js +1 -1
- package/lib/mol-gl/shader/chunks/common-clip.glsl.d.ts +2 -2
- package/lib/mol-gl/shader/chunks/common-clip.glsl.js +2 -2
- package/lib/mol-gl/shader/cylinders.frag.d.ts +1 -1
- package/lib/mol-gl/shader/cylinders.frag.js +1 -1
- package/lib/mol-gl/shader/cylinders.vert.d.ts +2 -2
- package/lib/mol-gl/shader/cylinders.vert.js +2 -2
- package/lib/mol-gl/shader/direct-volume.frag.d.ts +1 -1
- package/lib/mol-gl/shader/direct-volume.frag.js +1 -1
- package/lib/mol-gl/shader/outlines.frag.d.ts +1 -1
- package/lib/mol-gl/shader/outlines.frag.js +1 -1
- package/lib/mol-gl/shader/postprocessing.frag.d.ts +1 -1
- package/lib/mol-gl/shader/postprocessing.frag.js +1 -1
- package/lib/mol-gl/shader/spheres.frag.d.ts +1 -1
- package/lib/mol-gl/shader/spheres.frag.js +1 -1
- package/lib/mol-gl/shader/spheres.vert.d.ts +2 -2
- package/lib/mol-gl/shader/spheres.vert.js +2 -2
- package/lib/mol-gl/webgl/renderbuffer.d.ts +1 -1
- package/lib/mol-gl/webgl/renderbuffer.js +15 -0
- package/lib/mol-gl/webgl/state.d.ts +12 -0
- package/lib/mol-gl/webgl/state.js +136 -0
- package/lib/mol-io/reader/cif/schema/segmentation.d.ts +38 -0
- package/lib/mol-io/reader/cif/schema/segmentation.js +19 -0
- package/lib/mol-io/reader/cif.d.ts +3 -1
- package/lib/mol-io/reader/cif.js +3 -1
- package/lib/mol-model/location.d.ts +2 -1
- package/lib/mol-model/loci.d.ts +11 -11
- package/lib/mol-model/loci.js +13 -1
- package/lib/mol-model/sequence/alignment/sequence.d.ts +4 -1
- package/lib/mol-model/sequence/alignment/sequence.js +3 -2
- package/lib/mol-model/structure/model/properties/atomic/hierarchy.d.ts +6 -0
- package/lib/mol-model/structure/model/properties/utils/atomic-index.js +8 -0
- package/lib/mol-model/structure/structure/unit/bonds/inter-compute.js +21 -5
- package/lib/mol-model/structure/structure/util/superposition.d.ts +1 -0
- package/lib/mol-model/structure/structure/util/superposition.js +1 -1
- package/lib/mol-model/volume/volume.d.ts +35 -2
- package/lib/mol-model/volume/volume.js +79 -4
- package/lib/mol-model-formats/volume/segmentation.d.ts +23 -0
- package/lib/mol-model-formats/volume/segmentation.js +135 -0
- package/lib/mol-plugin/behavior/dynamic/representation.d.ts +2 -2
- package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +1 -0
- package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js +2 -1
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +2 -3
- package/lib/mol-plugin/commands.d.ts +1 -0
- package/lib/mol-plugin/version.js +2 -2
- package/lib/mol-plugin-state/animation/built-in/model-index.js +4 -1
- package/lib/mol-plugin-state/builder/structure/hierarchy-preset.d.ts +2 -0
- package/lib/mol-plugin-state/builder/structure/hierarchy.d.ts +1 -0
- package/lib/mol-plugin-state/builder/structure/representation-preset.d.ts +13 -4
- package/lib/mol-plugin-state/builder/structure/representation-preset.js +6 -1
- package/lib/mol-plugin-state/builder/structure/representation.d.ts +1 -0
- package/lib/mol-plugin-state/formats/provider.d.ts +2 -2
- package/lib/mol-plugin-state/formats/provider.js +11 -3
- package/lib/mol-plugin-state/formats/registry.js +6 -5
- package/lib/mol-plugin-state/formats/volume.d.ts +27 -0
- package/lib/mol-plugin-state/formats/volume.js +64 -0
- package/lib/mol-plugin-state/manager/structure/component.d.ts +1 -1
- package/lib/mol-plugin-state/manager/structure/component.js +18 -13
- package/lib/mol-plugin-state/transforms/representation.d.ts +1 -2
- package/lib/mol-plugin-state/transforms/representation.js +5 -6
- package/lib/mol-plugin-state/transforms/volume.d.ts +11 -1
- package/lib/mol-plugin-state/transforms/volume.js +54 -1
- package/lib/mol-plugin-ui/controls/line-graph/line-graph-component.d.ts +1 -0
- package/lib/mol-plugin-ui/controls/line-graph/line-graph-component.js +33 -13
- package/lib/mol-plugin-ui/controls/parameters.d.ts +1 -0
- package/lib/mol-plugin-ui/controls/parameters.js +22 -5
- package/lib/mol-plugin-ui/sequence/sequence.d.ts +25 -17
- package/lib/mol-plugin-ui/sequence.d.ts +19 -1
- package/lib/mol-plugin-ui/sequence.js +7 -7
- 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 -418
- 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 +643 -643
- 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 -83
- package/lib/mol-plugin-ui/skin/base/components/transformer.scss +163 -163
- package/lib/mol-plugin-ui/skin/base/components/viewport.scss +137 -128
- 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/apply-action.d.ts +2 -10
- package/lib/mol-plugin-ui/state/apply-action.js +2 -2
- package/lib/mol-plugin-ui/structure/quick-styles.js +2 -2
- package/lib/mol-plugin-ui/structure/superposition.d.ts +1 -1
- package/lib/mol-plugin-ui/structure/volume.d.ts +1 -1
- package/lib/mol-plugin-ui/structure/volume.js +3 -2
- package/lib/mol-repr/structure/complex-visual.d.ts +1 -0
- package/lib/mol-repr/structure/params.d.ts +2 -0
- package/lib/mol-repr/structure/registry.d.ts +12 -0
- package/lib/mol-repr/structure/representation/backbone.d.ts +3 -0
- package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +6 -0
- package/lib/mol-repr/structure/representation/ellipsoid.d.ts +6 -0
- package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +3 -0
- package/lib/mol-repr/structure/representation/gaussian-volume.d.ts +3 -0
- package/lib/mol-repr/structure/representation/line.d.ts +3 -0
- package/lib/mol-repr/structure/representation/molecular-surface.d.ts +3 -0
- package/lib/mol-repr/structure/representation/point.d.ts +3 -0
- package/lib/mol-repr/structure/representation/spacefill.d.ts +6 -0
- package/lib/mol-repr/structure/units-visual.d.ts +2 -0
- package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +4 -0
- package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.js +2 -0
- package/lib/mol-repr/structure/visual/bond-inter-unit-line.d.ts +1 -0
- package/lib/mol-repr/structure/visual/bond-inter-unit-line.js +1 -0
- package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +4 -0
- package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.js +2 -0
- package/lib/mol-repr/structure/visual/bond-intra-unit-line.d.ts +1 -0
- package/lib/mol-repr/structure/visual/bond-intra-unit-line.js +1 -0
- package/lib/mol-repr/structure/visual/element-cross.d.ts +1 -0
- package/lib/mol-repr/structure/visual/element-cross.js +2 -1
- package/lib/mol-repr/structure/visual/element-point.d.ts +1 -0
- package/lib/mol-repr/structure/visual/element-point.js +2 -1
- package/lib/mol-repr/structure/visual/element-sphere.d.ts +4 -0
- package/lib/mol-repr/structure/visual/element-sphere.js +3 -1
- package/lib/mol-repr/structure/visual/gaussian-density-volume.d.ts +2 -0
- package/lib/mol-repr/structure/visual/gaussian-density-volume.js +6 -2
- package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +4 -0
- package/lib/mol-repr/structure/visual/gaussian-surface-mesh.js +9 -1
- package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +1 -0
- package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.js +3 -1
- package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/molecular-surface-mesh.js +4 -0
- package/lib/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +1 -0
- package/lib/mol-repr/structure/visual/molecular-surface-wireframe.js +2 -0
- package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +2 -0
- package/lib/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -0
- package/lib/mol-repr/structure/visual/util/bond.d.ts +7 -0
- package/lib/mol-repr/structure/visual/util/bond.js +19 -8
- package/lib/mol-repr/structure/visual/util/common.d.ts +4 -1
- package/lib/mol-repr/structure/visual/util/common.js +10 -6
- package/lib/mol-repr/structure/visual/util/element.d.ts +1 -0
- package/lib/mol-repr/structure/visual/util/element.js +3 -4
- package/lib/mol-repr/structure/visual/util/gaussian.d.ts +2 -0
- package/lib/mol-repr/volume/direct-volume.d.ts +4 -4
- package/lib/mol-repr/volume/direct-volume.js +8 -6
- package/lib/mol-repr/volume/isosurface.d.ts +4 -4
- package/lib/mol-repr/volume/isosurface.js +17 -16
- package/lib/mol-repr/volume/registry.d.ts +54 -1
- package/lib/mol-repr/volume/registry.js +3 -1
- package/lib/mol-repr/volume/representation.d.ts +11 -7
- package/lib/mol-repr/volume/representation.js +144 -49
- package/lib/mol-repr/volume/segment.d.ts +291 -0
- package/lib/mol-repr/volume/segment.js +279 -0
- package/lib/mol-repr/volume/slice.d.ts +2 -2
- package/lib/mol-repr/volume/slice.js +5 -5
- package/lib/mol-repr/volume/util.d.ts +12 -3
- package/lib/mol-repr/volume/util.js +71 -6
- package/lib/mol-script/language/builder.d.ts +1 -0
- package/lib/mol-theme/color/volume-segment.d.ts +41 -0
- package/lib/mol-theme/color/volume-segment.js +53 -0
- package/lib/mol-theme/color/volume-value.js +2 -1
- package/lib/mol-theme/color.d.ts +15 -0
- package/lib/mol-theme/color.js +2 -0
- package/lib/mol-theme/label.d.ts +1 -1
- package/lib/mol-theme/label.js +13 -1
- package/lib/mol-util/param-definition.d.ts +4 -1
- package/lib/mol-util/param-definition.js +5 -2
- package/package.json +169 -168
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
$default-background: #2D3E50;
|
|
2
|
-
$font-color: #EDF1F2;
|
|
3
|
-
$hover-font-color: #3B9AD9;
|
|
4
|
-
$entity-current-font-color: #FFFFFF;
|
|
5
|
-
$msp-btn-remove-background: #BF3A31;
|
|
6
|
-
$msp-btn-remove-hover-font-color:#ffffff;
|
|
7
|
-
$msp-btn-commit-on-font-color: #ffffff;
|
|
8
|
-
$entity-badge-font-color: #ccd4e0;
|
|
9
|
-
|
|
10
|
-
// used in LOG
|
|
11
|
-
$log-message: #0CCA5D;
|
|
12
|
-
$log-info: #5E3673;
|
|
13
|
-
$log-warning: #FCC937;
|
|
14
|
-
$log-error: #FD354B;
|
|
15
|
-
|
|
16
|
-
$logo-background: rgba(0,0,0,0.75);
|
|
17
|
-
|
|
18
|
-
@function color-lower-contrast($color, $amount) {
|
|
19
|
-
@return darken($color, $amount);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@function color-increase-contrast($color, $amount) {
|
|
23
|
-
@return lighten($color, $amount);
|
|
1
|
+
$default-background: #2D3E50;
|
|
2
|
+
$font-color: #EDF1F2;
|
|
3
|
+
$hover-font-color: #3B9AD9;
|
|
4
|
+
$entity-current-font-color: #FFFFFF;
|
|
5
|
+
$msp-btn-remove-background: #BF3A31;
|
|
6
|
+
$msp-btn-remove-hover-font-color:#ffffff;
|
|
7
|
+
$msp-btn-commit-on-font-color: #ffffff;
|
|
8
|
+
$entity-badge-font-color: #ccd4e0;
|
|
9
|
+
|
|
10
|
+
// used in LOG
|
|
11
|
+
$log-message: #0CCA5D;
|
|
12
|
+
$log-info: #5E3673;
|
|
13
|
+
$log-warning: #FCC937;
|
|
14
|
+
$log-error: #FD354B;
|
|
15
|
+
|
|
16
|
+
$logo-background: rgba(0,0,0,0.75);
|
|
17
|
+
|
|
18
|
+
@function color-lower-contrast($color, $amount) {
|
|
19
|
+
@return darken($color, $amount);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@function color-increase-contrast($color, $amount) {
|
|
23
|
+
@return lighten($color, $amount);
|
|
24
24
|
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
$default-background: #111318;
|
|
2
|
-
$font-color: #ccd4e0;
|
|
3
|
-
$hover-font-color: #51A2FB;
|
|
4
|
-
$entity-current-font-color: #68BEFD;
|
|
5
|
-
$msp-btn-remove-background: #DE0A28;
|
|
6
|
-
$msp-btn-remove-hover-font-color:#F2F4F7;
|
|
7
|
-
$msp-btn-commit-on-font-color: #68BEFD;
|
|
8
|
-
$entity-badge-font-color: #ccd4e0;
|
|
9
|
-
|
|
10
|
-
// used in LOG
|
|
11
|
-
$log-message: #0CCA5D;
|
|
12
|
-
$log-info: #5E3673;
|
|
13
|
-
$log-warning: #FCC937;
|
|
14
|
-
$log-error: #FD354B;
|
|
15
|
-
|
|
16
|
-
$logo-background: rgba(0,0,0,0.75);
|
|
17
|
-
|
|
18
|
-
@function color-lower-contrast($color, $amount) {
|
|
19
|
-
@return darken($color, $amount);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@function color-increase-contrast($color, $amount) {
|
|
23
|
-
@return lighten($color, $amount);
|
|
1
|
+
$default-background: #111318;
|
|
2
|
+
$font-color: #ccd4e0;
|
|
3
|
+
$hover-font-color: #51A2FB;
|
|
4
|
+
$entity-current-font-color: #68BEFD;
|
|
5
|
+
$msp-btn-remove-background: #DE0A28;
|
|
6
|
+
$msp-btn-remove-hover-font-color:#F2F4F7;
|
|
7
|
+
$msp-btn-commit-on-font-color: #68BEFD;
|
|
8
|
+
$entity-badge-font-color: #ccd4e0;
|
|
9
|
+
|
|
10
|
+
// used in LOG
|
|
11
|
+
$log-message: #0CCA5D;
|
|
12
|
+
$log-info: #5E3673;
|
|
13
|
+
$log-warning: #FCC937;
|
|
14
|
+
$log-error: #FD354B;
|
|
15
|
+
|
|
16
|
+
$logo-background: rgba(0,0,0,0.75);
|
|
17
|
+
|
|
18
|
+
@function color-lower-contrast($color, $amount) {
|
|
19
|
+
@return darken($color, $amount);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@function color-increase-contrast($color, $amount) {
|
|
23
|
+
@return lighten($color, $amount);
|
|
24
24
|
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
// this is complement of the dark theme
|
|
2
|
-
|
|
3
|
-
@function compl($color) {
|
|
4
|
-
@return rgb(255 - red($color), 255 - green($color), 255 - blue($color));
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
$default-background: compl(#111318);
|
|
8
|
-
$font-color: compl(#ccd4e0);
|
|
9
|
-
$hover-font-color: compl(#51A2FB);
|
|
10
|
-
$entity-current-font-color: compl(#68BEFD);
|
|
11
|
-
$msp-btn-commit-on-font-color: compl(#68BEFD);
|
|
12
|
-
$entity-badge-font-color: lighten(#ccd4e0,10%);
|
|
13
|
-
$msp-btn-remove-background: #DE0A28;
|
|
14
|
-
$msp-btn-remove-hover-font-color:#F2F4F7;
|
|
15
|
-
|
|
16
|
-
// used in LOG
|
|
17
|
-
$log-message: #0CCA5D;
|
|
18
|
-
$log-info: #5E3673;
|
|
19
|
-
$log-warning: #FCC937;
|
|
20
|
-
$log-error: #FD354B;
|
|
21
|
-
|
|
22
|
-
$logo-background: compl(#111318);
|
|
23
|
-
|
|
24
|
-
@function color-lower-contrast($color, $amount) {
|
|
25
|
-
@return lighten($color, $amount);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
@function color-increase-contrast($color, $amount) {
|
|
29
|
-
@return darken($color, $amount);
|
|
1
|
+
// this is complement of the dark theme
|
|
2
|
+
|
|
3
|
+
@function compl($color) {
|
|
4
|
+
@return rgb(255 - red($color), 255 - green($color), 255 - blue($color));
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
$default-background: compl(#111318);
|
|
8
|
+
$font-color: compl(#ccd4e0);
|
|
9
|
+
$hover-font-color: compl(#51A2FB);
|
|
10
|
+
$entity-current-font-color: compl(#68BEFD);
|
|
11
|
+
$msp-btn-commit-on-font-color: compl(#68BEFD);
|
|
12
|
+
$entity-badge-font-color: lighten(#ccd4e0,10%);
|
|
13
|
+
$msp-btn-remove-background: #DE0A28;
|
|
14
|
+
$msp-btn-remove-hover-font-color:#F2F4F7;
|
|
15
|
+
|
|
16
|
+
// used in LOG
|
|
17
|
+
$log-message: #0CCA5D;
|
|
18
|
+
$log-info: #5E3673;
|
|
19
|
+
$log-warning: #FCC937;
|
|
20
|
+
$log-error: #FD354B;
|
|
21
|
+
|
|
22
|
+
$logo-background: compl(#111318);
|
|
23
|
+
|
|
24
|
+
@function color-lower-contrast($color, $amount) {
|
|
25
|
+
@return lighten($color, $amount);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@function color-increase-contrast($color, $amount) {
|
|
29
|
+
@return darken($color, $amount);
|
|
30
30
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@import 'colors/dark';
|
|
1
|
+
@import 'colors/dark';
|
|
2
2
|
@import 'base/base';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@import 'colors/light';
|
|
1
|
+
@import 'colors/light';
|
|
2
2
|
@import 'base/base';
|
|
@@ -24,6 +24,7 @@ declare namespace ApplyActionControl {
|
|
|
24
24
|
error?: string;
|
|
25
25
|
busy: boolean;
|
|
26
26
|
isInitial: boolean;
|
|
27
|
+
isCollapsed?: boolean;
|
|
27
28
|
}
|
|
28
29
|
}
|
|
29
30
|
declare class ApplyActionControl extends TransformControlBase<ApplyActionControl.Props, ApplyActionControl.ComponentState> {
|
|
@@ -46,15 +47,6 @@ declare class ApplyActionControl extends TransformControlBase<ApplyActionControl
|
|
|
46
47
|
a: import("../../mol-state/object").StateObject<any, import("../../mol-state/object").StateObject.Type<any>> | undefined;
|
|
47
48
|
};
|
|
48
49
|
private _getInfo;
|
|
49
|
-
state:
|
|
50
|
-
plugin: import("../context").PluginUIContext;
|
|
51
|
-
ref: string;
|
|
52
|
-
version: string;
|
|
53
|
-
error: undefined;
|
|
54
|
-
isInitial: boolean;
|
|
55
|
-
params: any;
|
|
56
|
-
busy: boolean;
|
|
57
|
-
isCollapsed: boolean | undefined;
|
|
58
|
-
};
|
|
50
|
+
state: ApplyActionControl.ComponentState;
|
|
59
51
|
static getDerivedStateFromProps(props: ApplyActionControl.Props, state: ApplyActionControl.ComponentState): Partial<ApplyActionControl.ComponentState> | null;
|
|
60
52
|
}
|
|
@@ -13,7 +13,7 @@ var ApplyActionControl = /** @class */ (function (_super) {
|
|
|
13
13
|
__extends(ApplyActionControl, _super);
|
|
14
14
|
function ApplyActionControl() {
|
|
15
15
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
16
|
-
_this._getInfo = memoizeLatest(function (t, v) { return StateTransformParameters.infoFromAction(_this.plugin, _this.props.state, _this.props.action, _this.props.nodeRef); });
|
|
16
|
+
_this._getInfo = memoizeLatest(function (t, v, collapsed) { return StateTransformParameters.infoFromAction(_this.plugin, _this.props.state, _this.props.action, _this.props.nodeRef); });
|
|
17
17
|
_this.state = { plugin: _this.plugin, ref: _this.props.nodeRef, version: _this.props.state.transforms.get(_this.props.nodeRef).version, error: void 0, isInitial: true, params: _this.getInfo().initialValues, busy: false, isCollapsed: _this.props.initiallyCollapsed };
|
|
18
18
|
return _this;
|
|
19
19
|
}
|
|
@@ -24,7 +24,7 @@ var ApplyActionControl = /** @class */ (function (_super) {
|
|
|
24
24
|
ref: this.props.nodeRef
|
|
25
25
|
});
|
|
26
26
|
};
|
|
27
|
-
ApplyActionControl.prototype.getInfo = function () { return this._getInfo(this.props.nodeRef, this.props.state.transforms.get(this.props.nodeRef).version); };
|
|
27
|
+
ApplyActionControl.prototype.getInfo = function () { var _a; return this._getInfo(this.props.nodeRef, this.props.state.transforms.get(this.props.nodeRef).version, (_a = this.state) === null || _a === void 0 ? void 0 : _a.isCollapsed); };
|
|
28
28
|
ApplyActionControl.prototype.getTransformerId = function () { return this.props.state.transforms.get(this.props.nodeRef).transformer.id; };
|
|
29
29
|
ApplyActionControl.prototype.getHeader = function () { return this.props.hideHeader ? 'none' : this.props.action.definition.display; };
|
|
30
30
|
ApplyActionControl.prototype.canApply = function () { return !this.state.error && !this.state.busy; };
|
|
@@ -76,7 +76,7 @@ var QuickStyles = /** @class */ (function (_super) {
|
|
|
76
76
|
postprocessing: {
|
|
77
77
|
outline: {
|
|
78
78
|
name: 'on',
|
|
79
|
-
params: { scale: 1, color: Color(0x000000), threshold: 0.25 }
|
|
79
|
+
params: { scale: 1, color: Color(0x000000), threshold: 0.25, includeTransparent: true }
|
|
80
80
|
},
|
|
81
81
|
occlusion: {
|
|
82
82
|
name: 'on',
|
|
@@ -104,7 +104,7 @@ var QuickStyles = /** @class */ (function (_super) {
|
|
|
104
104
|
name: 'on',
|
|
105
105
|
params: pp.outline.name === 'on'
|
|
106
106
|
? pp.outline.params
|
|
107
|
-
: { scale: 1, color: Color(0x000000), threshold: 0.33 }
|
|
107
|
+
: { scale: 1, color: Color(0x000000), threshold: 0.33, includeTransparent: true }
|
|
108
108
|
},
|
|
109
109
|
occlusion: {
|
|
110
110
|
name: 'on',
|
|
@@ -37,7 +37,7 @@ type SuperpositionControlsState = {
|
|
|
37
37
|
canUseDb?: boolean;
|
|
38
38
|
options: StructureSuperpositionOptions;
|
|
39
39
|
};
|
|
40
|
-
interface LociEntry {
|
|
40
|
+
export interface LociEntry {
|
|
41
41
|
loci: StructureElement.Loci;
|
|
42
42
|
label: string;
|
|
43
43
|
cell: StateObjectCell<PluginStateObject.Molecule.Structure>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c) 2020 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
2
|
+
* Copyright (c) 2020-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
3
|
*
|
|
4
4
|
* @author David Sehnal <david.sehnal@gmail.com>
|
|
5
5
|
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
@@ -297,10 +297,11 @@ var VolumeRepresentationControls = /** @class */ (function (_super) {
|
|
|
297
297
|
_this.focus = function () {
|
|
298
298
|
var _a;
|
|
299
299
|
var repr = _this.props.representation;
|
|
300
|
-
var
|
|
300
|
+
var lociList = (_a = repr.cell.obj) === null || _a === void 0 ? void 0 : _a.data.repr.getAllLoci();
|
|
301
301
|
if (repr.cell.state.isHidden)
|
|
302
302
|
_this.plugin.managers.volume.hierarchy.toggleVisibility([_this.props.representation], 'show');
|
|
303
|
-
|
|
303
|
+
if (lociList)
|
|
304
|
+
_this.plugin.managers.camera.focusLoci(lociList, { extraRadius: 1 });
|
|
304
305
|
};
|
|
305
306
|
return _this;
|
|
306
307
|
}
|
|
@@ -82,6 +82,7 @@ export declare const ComplexCylindersParams: {
|
|
|
82
82
|
ignoreLight: PD.BooleanParam;
|
|
83
83
|
xrayShaded: PD.BooleanParam;
|
|
84
84
|
transparentBackfaces: PD.Select<string>;
|
|
85
|
+
solidInterior: PD.BooleanParam;
|
|
85
86
|
bumpFrequency: PD.Numeric;
|
|
86
87
|
bumpAmplitude: PD.Numeric;
|
|
87
88
|
alpha: PD.Numeric;
|
|
@@ -47,6 +47,7 @@ export declare const StructureSpheresParams: {
|
|
|
47
47
|
ignoreLight: PD.BooleanParam;
|
|
48
48
|
xrayShaded: PD.BooleanParam;
|
|
49
49
|
transparentBackfaces: PD.Select<string>;
|
|
50
|
+
solidInterior: PD.BooleanParam;
|
|
50
51
|
bumpFrequency: PD.Numeric;
|
|
51
52
|
bumpAmplitude: PD.Numeric;
|
|
52
53
|
alpha: PD.Numeric;
|
|
@@ -76,6 +77,7 @@ export declare const StructureCylindersParams: {
|
|
|
76
77
|
ignoreLight: PD.BooleanParam;
|
|
77
78
|
xrayShaded: PD.BooleanParam;
|
|
78
79
|
transparentBackfaces: PD.Select<string>;
|
|
80
|
+
solidInterior: PD.BooleanParam;
|
|
79
81
|
bumpFrequency: PD.Numeric;
|
|
80
82
|
bumpAmplitude: PD.Numeric;
|
|
81
83
|
alpha: PD.Numeric;
|
|
@@ -84,6 +84,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
84
84
|
}>>;
|
|
85
85
|
instanceGranularity: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
86
86
|
tryUseImpostor: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
87
|
+
solidInterior: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
87
88
|
detail: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
88
89
|
}, "backbone">;
|
|
89
90
|
'ball-and-stick': import("./representation").StructureRepresentationProvider<{
|
|
@@ -98,6 +99,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
98
99
|
includeTypes: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
99
100
|
excludeTypes: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
100
101
|
ignoreHydrogens: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
102
|
+
ignoreHydrogensVariant: import("../../mol-util/param-definition").ParamDefinition.Select<"all" | "non-polar">;
|
|
101
103
|
aromaticBonds: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
102
104
|
multipleBonds: import("../../mol-util/param-definition").ParamDefinition.Select<"offset" | "off" | "symmetric">;
|
|
103
105
|
linkScale: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
@@ -115,6 +117,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
115
117
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
116
118
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
117
119
|
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<string>;
|
|
120
|
+
solidInterior: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
118
121
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
119
122
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
120
123
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -198,6 +201,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
198
201
|
includeTypes: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
199
202
|
excludeTypes: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
200
203
|
ignoreHydrogens: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
204
|
+
ignoreHydrogensVariant: import("../../mol-util/param-definition").ParamDefinition.Select<"all" | "non-polar">;
|
|
201
205
|
aromaticBonds: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
202
206
|
multipleBonds: import("../../mol-util/param-definition").ParamDefinition.Select<"offset" | "off" | "symmetric">;
|
|
203
207
|
linkScale: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
@@ -214,6 +218,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
214
218
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
215
219
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
216
220
|
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<string>;
|
|
221
|
+
solidInterior: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
217
222
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
218
223
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
219
224
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -243,6 +248,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
243
248
|
sizeFactor: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
244
249
|
lineSizeAttenuation: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
245
250
|
ignoreHydrogens: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
251
|
+
ignoreHydrogensVariant: import("../../mol-util/param-definition").ParamDefinition.Select<"all" | "non-polar">;
|
|
246
252
|
includeParent: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
247
253
|
traceOnly: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
248
254
|
resolution: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
@@ -283,6 +289,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
283
289
|
'gaussian-volume': import("./representation").StructureRepresentationProvider<{
|
|
284
290
|
visuals: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"gaussian-volume" | "units-gaussian-volume">;
|
|
285
291
|
ignoreHydrogens: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
292
|
+
ignoreHydrogensVariant: import("../../mol-util/param-definition").ParamDefinition.Select<"all" | "non-polar">;
|
|
286
293
|
includeParent: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
287
294
|
traceOnly: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
288
295
|
resolution: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
@@ -367,6 +374,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
367
374
|
visuals: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"intra-bond" | "inter-bond" | "element-point" | "element-cross">;
|
|
368
375
|
lineSizeAttenuation: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
369
376
|
ignoreHydrogens: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
377
|
+
ignoreHydrogensVariant: import("../../mol-util/param-definition").ParamDefinition.Select<"all" | "non-polar">;
|
|
370
378
|
traceOnly: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
371
379
|
crosses: import("../../mol-util/param-definition").ParamDefinition.Select<"all" | "lone">;
|
|
372
380
|
crossSize: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
@@ -403,6 +411,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
403
411
|
bumpFrequency: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
404
412
|
sizeFactor: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
405
413
|
ignoreHydrogens: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
414
|
+
ignoreHydrogensVariant: import("../../mol-util/param-definition").ParamDefinition.Select<"all" | "non-polar">;
|
|
406
415
|
traceOnly: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
407
416
|
includeParent: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
408
417
|
probeRadius: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
@@ -476,6 +485,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
476
485
|
point: import("./representation").StructureRepresentationProvider<{
|
|
477
486
|
pointSizeAttenuation: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
478
487
|
ignoreHydrogens: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
488
|
+
ignoreHydrogensVariant: import("../../mol-util/param-definition").ParamDefinition.Select<"all" | "non-polar">;
|
|
479
489
|
traceOnly: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
480
490
|
unitKinds: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
481
491
|
includeParent: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
@@ -540,6 +550,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
540
550
|
sizeFactor: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
541
551
|
detail: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
542
552
|
ignoreHydrogens: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
553
|
+
ignoreHydrogensVariant: import("../../mol-util/param-definition").ParamDefinition.Select<"all" | "non-polar">;
|
|
543
554
|
traceOnly: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
544
555
|
tryUseImpostor: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
545
556
|
unitKinds: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
@@ -548,6 +559,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
548
559
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
549
560
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
550
561
|
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<string>;
|
|
562
|
+
solidInterior: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
551
563
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
552
564
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
553
565
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -42,6 +42,7 @@ export declare const BackboneParams: {
|
|
|
42
42
|
}>>;
|
|
43
43
|
instanceGranularity: PD.BooleanParam;
|
|
44
44
|
tryUseImpostor: PD.BooleanParam;
|
|
45
|
+
solidInterior: PD.BooleanParam;
|
|
45
46
|
detail: PD.Numeric;
|
|
46
47
|
};
|
|
47
48
|
export type BackboneParams = typeof BackboneParams;
|
|
@@ -79,6 +80,7 @@ export declare function getBackboneParams(ctx: ThemeRegistryContext, structure:
|
|
|
79
80
|
}>>;
|
|
80
81
|
instanceGranularity: PD.BooleanParam;
|
|
81
82
|
tryUseImpostor: PD.BooleanParam;
|
|
83
|
+
solidInterior: PD.BooleanParam;
|
|
82
84
|
detail: PD.Numeric;
|
|
83
85
|
};
|
|
84
86
|
export type BackboneRepresentation = StructureRepresentation<BackboneParams>;
|
|
@@ -117,5 +119,6 @@ export declare const BackboneRepresentationProvider: StructureRepresentationProv
|
|
|
117
119
|
}>>;
|
|
118
120
|
instanceGranularity: PD.BooleanParam;
|
|
119
121
|
tryUseImpostor: PD.BooleanParam;
|
|
122
|
+
solidInterior: PD.BooleanParam;
|
|
120
123
|
detail: PD.Numeric;
|
|
121
124
|
}, "backbone">;
|
|
@@ -20,6 +20,7 @@ export declare const BallAndStickParams: {
|
|
|
20
20
|
includeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
21
21
|
excludeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
22
22
|
ignoreHydrogens: PD.BooleanParam;
|
|
23
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
23
24
|
aromaticBonds: PD.BooleanParam;
|
|
24
25
|
multipleBonds: PD.Select<"offset" | "off" | "symmetric">;
|
|
25
26
|
linkScale: PD.Numeric;
|
|
@@ -37,6 +38,7 @@ export declare const BallAndStickParams: {
|
|
|
37
38
|
ignoreLight: PD.BooleanParam;
|
|
38
39
|
xrayShaded: PD.BooleanParam;
|
|
39
40
|
transparentBackfaces: PD.Select<string>;
|
|
41
|
+
solidInterior: PD.BooleanParam;
|
|
40
42
|
bumpAmplitude: PD.Numeric;
|
|
41
43
|
alpha: PD.Numeric;
|
|
42
44
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -74,6 +76,7 @@ export declare function getBallAndStickParams(ctx: ThemeRegistryContext, structu
|
|
|
74
76
|
includeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
75
77
|
excludeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
76
78
|
ignoreHydrogens: PD.BooleanParam;
|
|
79
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
77
80
|
aromaticBonds: PD.BooleanParam;
|
|
78
81
|
multipleBonds: PD.Select<"offset" | "off" | "symmetric">;
|
|
79
82
|
linkScale: PD.Numeric;
|
|
@@ -91,6 +94,7 @@ export declare function getBallAndStickParams(ctx: ThemeRegistryContext, structu
|
|
|
91
94
|
ignoreLight: PD.BooleanParam;
|
|
92
95
|
xrayShaded: PD.BooleanParam;
|
|
93
96
|
transparentBackfaces: PD.Select<string>;
|
|
97
|
+
solidInterior: PD.BooleanParam;
|
|
94
98
|
bumpAmplitude: PD.Numeric;
|
|
95
99
|
alpha: PD.Numeric;
|
|
96
100
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -129,6 +133,7 @@ export declare const BallAndStickRepresentationProvider: StructureRepresentation
|
|
|
129
133
|
includeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
130
134
|
excludeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
131
135
|
ignoreHydrogens: PD.BooleanParam;
|
|
136
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
132
137
|
aromaticBonds: PD.BooleanParam;
|
|
133
138
|
multipleBonds: PD.Select<"offset" | "off" | "symmetric">;
|
|
134
139
|
linkScale: PD.Numeric;
|
|
@@ -146,6 +151,7 @@ export declare const BallAndStickRepresentationProvider: StructureRepresentation
|
|
|
146
151
|
ignoreLight: PD.BooleanParam;
|
|
147
152
|
xrayShaded: PD.BooleanParam;
|
|
148
153
|
transparentBackfaces: PD.Select<string>;
|
|
154
|
+
solidInterior: PD.BooleanParam;
|
|
149
155
|
bumpAmplitude: PD.Numeric;
|
|
150
156
|
alpha: PD.Numeric;
|
|
151
157
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -21,6 +21,7 @@ export declare const EllipsoidParams: {
|
|
|
21
21
|
includeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
22
22
|
excludeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
23
23
|
ignoreHydrogens: PD.BooleanParam;
|
|
24
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
24
25
|
aromaticBonds: PD.BooleanParam;
|
|
25
26
|
multipleBonds: PD.Select<"offset" | "off" | "symmetric">;
|
|
26
27
|
linkScale: PD.Numeric;
|
|
@@ -37,6 +38,7 @@ export declare const EllipsoidParams: {
|
|
|
37
38
|
ignoreLight: PD.BooleanParam;
|
|
38
39
|
xrayShaded: PD.BooleanParam;
|
|
39
40
|
transparentBackfaces: PD.Select<string>;
|
|
41
|
+
solidInterior: PD.BooleanParam;
|
|
40
42
|
bumpAmplitude: PD.Numeric;
|
|
41
43
|
alpha: PD.Numeric;
|
|
42
44
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -74,6 +76,7 @@ export declare function getEllipsoidParams(ctx: ThemeRegistryContext, structure:
|
|
|
74
76
|
includeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
75
77
|
excludeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
76
78
|
ignoreHydrogens: PD.BooleanParam;
|
|
79
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
77
80
|
aromaticBonds: PD.BooleanParam;
|
|
78
81
|
multipleBonds: PD.Select<"offset" | "off" | "symmetric">;
|
|
79
82
|
linkScale: PD.Numeric;
|
|
@@ -90,6 +93,7 @@ export declare function getEllipsoidParams(ctx: ThemeRegistryContext, structure:
|
|
|
90
93
|
ignoreLight: PD.BooleanParam;
|
|
91
94
|
xrayShaded: PD.BooleanParam;
|
|
92
95
|
transparentBackfaces: PD.Select<string>;
|
|
96
|
+
solidInterior: PD.BooleanParam;
|
|
93
97
|
bumpAmplitude: PD.Numeric;
|
|
94
98
|
alpha: PD.Numeric;
|
|
95
99
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -128,6 +132,7 @@ export declare const EllipsoidRepresentationProvider: StructureRepresentationPro
|
|
|
128
132
|
includeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
129
133
|
excludeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
130
134
|
ignoreHydrogens: PD.BooleanParam;
|
|
135
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
131
136
|
aromaticBonds: PD.BooleanParam;
|
|
132
137
|
multipleBonds: PD.Select<"offset" | "off" | "symmetric">;
|
|
133
138
|
linkScale: PD.Numeric;
|
|
@@ -144,6 +149,7 @@ export declare const EllipsoidRepresentationProvider: StructureRepresentationPro
|
|
|
144
149
|
ignoreLight: PD.BooleanParam;
|
|
145
150
|
xrayShaded: PD.BooleanParam;
|
|
146
151
|
transparentBackfaces: PD.Select<string>;
|
|
152
|
+
solidInterior: PD.BooleanParam;
|
|
147
153
|
bumpAmplitude: PD.Numeric;
|
|
148
154
|
alpha: PD.Numeric;
|
|
149
155
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -14,6 +14,7 @@ export declare const GaussianSurfaceParams: {
|
|
|
14
14
|
sizeFactor: PD.Numeric;
|
|
15
15
|
lineSizeAttenuation: PD.BooleanParam;
|
|
16
16
|
ignoreHydrogens: PD.BooleanParam;
|
|
17
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
17
18
|
includeParent: PD.BooleanParam;
|
|
18
19
|
traceOnly: PD.BooleanParam;
|
|
19
20
|
resolution: PD.Numeric;
|
|
@@ -58,6 +59,7 @@ export declare function getGaussianSurfaceParams(ctx: ThemeRegistryContext, stru
|
|
|
58
59
|
sizeFactor: PD.Numeric;
|
|
59
60
|
lineSizeAttenuation: PD.BooleanParam;
|
|
60
61
|
ignoreHydrogens: PD.BooleanParam;
|
|
62
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
61
63
|
includeParent: PD.BooleanParam;
|
|
62
64
|
traceOnly: PD.BooleanParam;
|
|
63
65
|
resolution: PD.Numeric;
|
|
@@ -103,6 +105,7 @@ export declare const GaussianSurfaceRepresentationProvider: StructureRepresentat
|
|
|
103
105
|
sizeFactor: PD.Numeric;
|
|
104
106
|
lineSizeAttenuation: PD.BooleanParam;
|
|
105
107
|
ignoreHydrogens: PD.BooleanParam;
|
|
108
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
106
109
|
includeParent: PD.BooleanParam;
|
|
107
110
|
traceOnly: PD.BooleanParam;
|
|
108
111
|
resolution: PD.Numeric;
|
|
@@ -11,6 +11,7 @@ import { Structure } from '../../../mol-model/structure';
|
|
|
11
11
|
export declare const GaussianVolumeParams: {
|
|
12
12
|
visuals: PD.MultiSelect<"gaussian-volume" | "units-gaussian-volume">;
|
|
13
13
|
ignoreHydrogens: PD.BooleanParam;
|
|
14
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
14
15
|
includeParent: PD.BooleanParam;
|
|
15
16
|
traceOnly: PD.BooleanParam;
|
|
16
17
|
resolution: PD.Numeric;
|
|
@@ -45,6 +46,7 @@ export type GaussianVolumeParams = typeof GaussianVolumeParams;
|
|
|
45
46
|
export declare function getGaussianVolumeParams(ctx: ThemeRegistryContext, structure: Structure): {
|
|
46
47
|
visuals: PD.MultiSelect<"gaussian-volume" | "units-gaussian-volume">;
|
|
47
48
|
ignoreHydrogens: PD.BooleanParam;
|
|
49
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
48
50
|
includeParent: PD.BooleanParam;
|
|
49
51
|
traceOnly: PD.BooleanParam;
|
|
50
52
|
resolution: PD.Numeric;
|
|
@@ -80,6 +82,7 @@ export declare function GaussianVolumeRepresentation(ctx: RepresentationContext,
|
|
|
80
82
|
export declare const GaussianVolumeRepresentationProvider: StructureRepresentationProvider<{
|
|
81
83
|
visuals: PD.MultiSelect<"gaussian-volume" | "units-gaussian-volume">;
|
|
82
84
|
ignoreHydrogens: PD.BooleanParam;
|
|
85
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
83
86
|
includeParent: PD.BooleanParam;
|
|
84
87
|
traceOnly: PD.BooleanParam;
|
|
85
88
|
resolution: PD.Numeric;
|
|
@@ -16,6 +16,7 @@ export declare const LineParams: {
|
|
|
16
16
|
visuals: PD.MultiSelect<"intra-bond" | "inter-bond" | "element-point" | "element-cross">;
|
|
17
17
|
lineSizeAttenuation: PD.BooleanParam;
|
|
18
18
|
ignoreHydrogens: PD.BooleanParam;
|
|
19
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
19
20
|
traceOnly: PD.BooleanParam;
|
|
20
21
|
crosses: PD.Select<"all" | "lone">;
|
|
21
22
|
crossSize: PD.Numeric;
|
|
@@ -56,6 +57,7 @@ export declare function getLineParams(ctx: ThemeRegistryContext, structure: Stru
|
|
|
56
57
|
visuals: PD.MultiSelect<"intra-bond" | "inter-bond" | "element-point" | "element-cross">;
|
|
57
58
|
lineSizeAttenuation: PD.BooleanParam;
|
|
58
59
|
ignoreHydrogens: PD.BooleanParam;
|
|
60
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
59
61
|
traceOnly: PD.BooleanParam;
|
|
60
62
|
crosses: PD.Select<"all" | "lone">;
|
|
61
63
|
crossSize: PD.Numeric;
|
|
@@ -97,6 +99,7 @@ export declare const LineRepresentationProvider: StructureRepresentationProvider
|
|
|
97
99
|
visuals: PD.MultiSelect<"intra-bond" | "inter-bond" | "element-point" | "element-cross">;
|
|
98
100
|
lineSizeAttenuation: PD.BooleanParam;
|
|
99
101
|
ignoreHydrogens: PD.BooleanParam;
|
|
102
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
100
103
|
traceOnly: PD.BooleanParam;
|
|
101
104
|
crosses: PD.Select<"all" | "lone">;
|
|
102
105
|
crossSize: PD.Numeric;
|
|
@@ -13,6 +13,7 @@ export declare const MolecularSurfaceParams: {
|
|
|
13
13
|
bumpFrequency: PD.Numeric;
|
|
14
14
|
sizeFactor: PD.Numeric;
|
|
15
15
|
ignoreHydrogens: PD.BooleanParam;
|
|
16
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
16
17
|
traceOnly: PD.BooleanParam;
|
|
17
18
|
includeParent: PD.BooleanParam;
|
|
18
19
|
probeRadius: PD.Numeric;
|
|
@@ -56,6 +57,7 @@ export declare function getMolecularSurfaceParams(ctx: ThemeRegistryContext, str
|
|
|
56
57
|
bumpFrequency: PD.Numeric;
|
|
57
58
|
sizeFactor: PD.Numeric;
|
|
58
59
|
ignoreHydrogens: PD.BooleanParam;
|
|
60
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
59
61
|
traceOnly: PD.BooleanParam;
|
|
60
62
|
includeParent: PD.BooleanParam;
|
|
61
63
|
probeRadius: PD.Numeric;
|
|
@@ -100,6 +102,7 @@ export declare const MolecularSurfaceRepresentationProvider: StructureRepresenta
|
|
|
100
102
|
bumpFrequency: PD.Numeric;
|
|
101
103
|
sizeFactor: PD.Numeric;
|
|
102
104
|
ignoreHydrogens: PD.BooleanParam;
|
|
105
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
103
106
|
traceOnly: PD.BooleanParam;
|
|
104
107
|
includeParent: PD.BooleanParam;
|
|
105
108
|
probeRadius: PD.Numeric;
|
|
@@ -11,6 +11,7 @@ import { Structure } from '../../../mol-model/structure';
|
|
|
11
11
|
export declare const PointParams: {
|
|
12
12
|
pointSizeAttenuation: PD.BooleanParam;
|
|
13
13
|
ignoreHydrogens: PD.BooleanParam;
|
|
14
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
14
15
|
traceOnly: PD.BooleanParam;
|
|
15
16
|
unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
16
17
|
includeParent: PD.BooleanParam;
|
|
@@ -39,6 +40,7 @@ export type PointParams = typeof PointParams;
|
|
|
39
40
|
export declare function getPointParams(ctx: ThemeRegistryContext, structure: Structure): {
|
|
40
41
|
pointSizeAttenuation: PD.BooleanParam;
|
|
41
42
|
ignoreHydrogens: PD.BooleanParam;
|
|
43
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
42
44
|
traceOnly: PD.BooleanParam;
|
|
43
45
|
unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
44
46
|
includeParent: PD.BooleanParam;
|
|
@@ -68,6 +70,7 @@ export declare function PointRepresentation(ctx: RepresentationContext, getParam
|
|
|
68
70
|
export declare const PointRepresentationProvider: StructureRepresentationProvider<{
|
|
69
71
|
pointSizeAttenuation: PD.BooleanParam;
|
|
70
72
|
ignoreHydrogens: PD.BooleanParam;
|
|
73
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
71
74
|
traceOnly: PD.BooleanParam;
|
|
72
75
|
unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
73
76
|
includeParent: PD.BooleanParam;
|