molstar 3.4.0 → 3.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +20 -20
- package/README.md +202 -197
- package/build/viewer/embedded.html +43 -43
- package/build/viewer/index.html +106 -106
- package/build/viewer/molstar.js +1 -1
- package/build/viewer/molstar.js.LICENSE.txt +12 -14
- package/lib/apps/docking-viewer/index.html +36 -36
- package/lib/apps/docking-viewer/index.js +1 -1
- package/lib/apps/viewer/app.js +1 -1
- package/lib/apps/viewer/embedded.html +43 -43
- package/lib/apps/viewer/index.html +106 -106
- package/lib/cli/chem-comp-dict/util.d.ts +20 -20
- package/lib/cli/cif2bcif/converter.js +1 -1
- package/lib/cli/cif2bcif/index.js +4 -4
- package/lib/cli/cifschema/util/cif-dic.d.ts +1 -1
- package/lib/cli/cifschema/util/cif-dic.js +7 -5
- package/lib/cli/cifschema/util/generate.d.ts +1 -1
- package/lib/cli/cifschema/util/generate.js +12 -3
- package/lib/cli/cifschema/util/schema.d.ts +3 -3
- package/lib/cli/cifschema/util/schema.js +1 -1
- package/lib/commonjs/apps/docking-viewer/index.js +2 -2
- package/lib/commonjs/apps/viewer/app.js +2 -2
- package/lib/commonjs/cli/chem-comp-dict/util.d.ts +20 -20
- package/lib/commonjs/cli/cif2bcif/converter.js +1 -1
- package/lib/commonjs/cli/cif2bcif/index.js +4 -4
- package/lib/commonjs/cli/cifschema/util/cif-dic.d.ts +1 -1
- package/lib/commonjs/cli/cifschema/util/cif-dic.js +7 -5
- package/lib/commonjs/cli/cifschema/util/generate.d.ts +1 -1
- package/lib/commonjs/cli/cifschema/util/generate.js +12 -3
- package/lib/commonjs/cli/cifschema/util/schema.d.ts +3 -3
- package/lib/commonjs/cli/cifschema/util/schema.js +1 -1
- package/lib/commonjs/examples/alpha-orbitals/index.js +2 -2
- package/lib/commonjs/examples/basic-wrapper/index.js +2 -2
- package/lib/commonjs/examples/lighting/index.js +2 -2
- package/lib/commonjs/examples/proteopedia-wrapper/index.js +2 -2
- package/lib/commonjs/extensions/anvil/behavior.d.ts +1 -0
- package/lib/commonjs/extensions/anvil/representation.d.ts +4 -0
- package/lib/commonjs/extensions/cellpack/representation.d.ts +1 -0
- package/lib/commonjs/extensions/dnatco/confal-pyramids/color.d.ts +397 -2
- package/lib/commonjs/extensions/dnatco/confal-pyramids/color.js +223 -131
- package/lib/commonjs/extensions/dnatco/confal-pyramids/property.js +1 -3
- package/lib/commonjs/extensions/dnatco/confal-pyramids/representation.d.ts +3 -0
- package/lib/commonjs/extensions/dnatco/confal-pyramids/util.js +18 -19
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +1 -0
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.d.ts +1 -0
- package/lib/commonjs/extensions/rcsb/validation-report/representation.d.ts +5 -0
- package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +2 -0
- package/lib/commonjs/mol-canvas3d/helper/camera-helper.d.ts +1 -0
- package/lib/commonjs/mol-canvas3d/helper/handle-helper.d.ts +1 -0
- package/lib/commonjs/mol-canvas3d/helper/helper.d.ts +2 -0
- package/lib/commonjs/mol-canvas3d/passes/image.d.ts +1 -0
- package/lib/commonjs/mol-data/db/column.d.ts +10 -3
- package/lib/commonjs/mol-data/db/column.js +39 -17
- package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +4 -2
- package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.js +2 -2
- package/lib/commonjs/mol-geo/geometry/lines/lines.d.ts +0 -1
- package/lib/commonjs/mol-geo/geometry/mesh/color-smoothing.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/mesh/color-smoothing.js +5 -3
- package/lib/commonjs/mol-geo/geometry/mesh/mesh.d.ts +2 -1
- package/lib/commonjs/mol-geo/geometry/mesh/mesh.js +2 -2
- package/lib/commonjs/mol-geo/geometry/points/points.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/spheres/spheres.d.ts +2 -1
- package/lib/commonjs/mol-geo/geometry/spheres/spheres.js +2 -2
- package/lib/commonjs/mol-geo/geometry/texture-mesh/color-smoothing.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/texture-mesh/color-smoothing.js +6 -4
- package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +2 -1
- package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js +2 -2
- package/lib/commonjs/mol-gl/shader/chunks/wboit-write.glsl.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/chunks/wboit-write.glsl.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/image.frag.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/image.frag.js +2 -2
- package/lib/commonjs/mol-gl/shader/lines.frag.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/lines.frag.js +2 -2
- package/lib/commonjs/mol-gl/shader/points.frag.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/points.frag.js +2 -2
- package/lib/commonjs/mol-gl/shader/text.frag.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/text.frag.js +2 -2
- package/lib/commonjs/mol-gl/webgl/buffer.d.ts +2 -2
- package/lib/commonjs/mol-gl/webgl/buffer.js +12 -12
- package/lib/commonjs/mol-gl/webgl/context.d.ts +1 -1
- package/lib/commonjs/mol-gl/webgl/context.js +2 -2
- package/lib/commonjs/mol-gl/webgl/program.d.ts +1 -1
- package/lib/commonjs/mol-gl/webgl/program.js +10 -4
- package/lib/commonjs/mol-io/reader/cif/schema/bird.d.ts +8 -8
- package/lib/commonjs/mol-io/reader/cif/schema/bird.js +12 -11
- package/lib/commonjs/mol-io/reader/cif/schema/ccd-extras.d.ts +1 -1
- package/lib/commonjs/mol-io/reader/cif/schema/ccd.d.ts +12 -12
- package/lib/commonjs/mol-io/reader/cif/schema/ccd.js +13 -12
- package/lib/commonjs/mol-io/reader/cif/schema/mmcif-extras.d.ts +5 -5
- package/lib/commonjs/mol-io/reader/cif/schema/mmcif-extras.js +2 -2
- package/lib/commonjs/mol-io/reader/cif/schema/mmcif.d.ts +30 -26
- package/lib/commonjs/mol-io/reader/cif/schema/mmcif.js +44 -39
- package/lib/commonjs/mol-io/reader/cif/schema.d.ts +1 -1
- package/lib/commonjs/mol-io/reader/cif/schema.js +22 -2
- package/lib/commonjs/mol-io/writer/mol/encoder.js +1 -1
- package/lib/commonjs/mol-math/geometry/common.d.ts +2 -1
- package/lib/commonjs/mol-math/geometry/common.js +1 -1
- package/lib/commonjs/mol-math/geometry/gaussian-density/cpu.d.ts +1 -1
- package/lib/commonjs/mol-math/geometry/gaussian-density/cpu.js +2 -2
- package/lib/commonjs/mol-math/geometry/gaussian-density/gpu.d.ts +1 -1
- package/lib/commonjs/mol-math/geometry/gaussian-density/gpu.js +7 -7
- package/lib/commonjs/mol-math/geometry/gaussian-density.d.ts +2 -2
- package/lib/commonjs/mol-math/geometry/gaussian-density.js +1 -1
- package/lib/commonjs/mol-math/geometry/molecular-surface.d.ts +2 -1
- package/lib/commonjs/mol-math/geometry/molecular-surface.js +2 -2
- package/lib/commonjs/mol-math/geometry/primitives/box3d.js +2 -1
- package/lib/commonjs/mol-math/geometry/primitives/sphere3d.js +12 -6
- package/lib/commonjs/mol-model/structure/model/model.js +14 -6
- package/lib/commonjs/mol-model/structure/model/properties/common.js +1 -1
- package/lib/commonjs/mol-model/structure/model/types.d.ts +19 -17
- package/lib/commonjs/mol-model/structure/model/types.js +30 -31
- package/lib/commonjs/mol-model/structure/query/queries/generators.js +1 -1
- package/lib/commonjs/mol-model/structure/structure/properties.d.ts +1 -1
- package/lib/commonjs/mol-model/structure/structure/unit/bonds/inter-compute.js +2 -4
- package/lib/commonjs/mol-model/structure/structure/unit/bonds/intra-compute.js +1 -3
- package/lib/commonjs/mol-model/structure/structure/unit/rings.js +3 -0
- package/lib/commonjs/mol-model-formats/shape/ply.d.ts +2 -0
- package/lib/commonjs/mol-model-formats/structure/basic/entities.js +1 -1
- package/lib/commonjs/mol-model-formats/structure/basic/schema.d.ts +2 -2
- package/lib/commonjs/mol-model-formats/structure/common/component.d.ts +3 -3
- package/lib/commonjs/mol-model-formats/structure/common/component.js +46 -46
- package/lib/commonjs/mol-model-formats/structure/pdb/atom-site.d.ts +2 -2
- package/lib/commonjs/mol-model-formats/structure/pdb/atom-site.js +72 -7
- package/lib/commonjs/mol-model-formats/structure/pdb/secondary-structure.js +11 -11
- package/lib/commonjs/mol-model-formats/structure/pdb/to-cif.js +7 -2
- package/lib/commonjs/mol-model-formats/structure/property/bonds/chem_comp.js +1 -1
- package/lib/commonjs/mol-model-formats/structure/property/bonds/struct_conn.js +1 -1
- package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +1 -0
- package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +1 -0
- package/lib/commonjs/mol-model-props/computed/representations/interactions.d.ts +3 -0
- package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.d.ts +4 -0
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +2 -3
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/util.js +4 -2
- package/lib/commonjs/mol-plugin/commands.d.ts +1 -0
- package/lib/commonjs/mol-plugin/util/viewport-screenshot.d.ts +3 -0
- package/lib/commonjs/mol-plugin-state/actions/structure.d.ts +6 -6
- package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.d.ts +1 -1
- package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.js +1 -1
- package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +6 -0
- package/lib/commonjs/mol-plugin-ui/react18.d.ts +11 -0
- package/lib/commonjs/mol-plugin-ui/react18.js +38 -0
- package/lib/commonjs/mol-plugin-ui/state/common.js +6 -7
- package/lib/commonjs/mol-plugin-ui/structure/focus.d.ts +1 -1
- package/lib/commonjs/mol-plugin-ui/structure/focus.js +2 -2
- package/lib/commonjs/mol-plugin-ui/task.d.ts +2 -21
- package/lib/commonjs/mol-plugin-ui/task.js +39 -43
- package/lib/commonjs/mol-repr/shape/loci/angle.d.ts +1 -0
- package/lib/commonjs/mol-repr/shape/loci/dihedral.d.ts +1 -0
- package/lib/commonjs/mol-repr/shape/loci/orientation.d.ts +1 -0
- package/lib/commonjs/mol-repr/shape/loci/plane.d.ts +1 -0
- package/lib/commonjs/mol-repr/shape/model/unitcell.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/params.d.ts +4 -0
- package/lib/commonjs/mol-repr/structure/registry.d.ts +10 -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 +3 -0
- package/lib/commonjs/mol-repr/structure/representation/carbohydrate.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/cartoon.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/orientation.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/putty.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/spacefill.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/units-visual.d.ts +4 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/element-sphere.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.js +2 -3
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +5 -1
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.js +9 -9
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +1 -1
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.js +4 -5
- 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 +3 -3
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +1 -1
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.js +4 -4
- package/lib/commonjs/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +1 -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/polymer-direction-wedge.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/util/common.d.ts +1 -3
- package/lib/commonjs/mol-repr/structure/visual/util/common.js +2 -27
- package/lib/commonjs/mol-repr/util.d.ts +2 -1
- package/lib/commonjs/mol-repr/util.js +2 -2
- package/lib/commonjs/mol-repr/volume/isosurface.d.ts +5 -0
- package/lib/commonjs/mol-repr/volume/registry.d.ts +1 -0
- package/lib/commonjs/mol-script/language/builder.d.ts +1 -0
- package/lib/examples/alpha-orbitals/index.html +61 -61
- package/lib/examples/alpha-orbitals/index.js +1 -1
- package/lib/examples/basic-wrapper/index.html +137 -137
- package/lib/examples/basic-wrapper/index.js +1 -1
- 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/examples/proteopedia-wrapper/index.js +1 -1
- package/lib/extensions/anvil/behavior.d.ts +1 -0
- package/lib/extensions/anvil/representation.d.ts +4 -0
- package/lib/extensions/cellpack/representation.d.ts +1 -0
- package/lib/extensions/dnatco/confal-pyramids/color.d.ts +397 -2
- package/lib/extensions/dnatco/confal-pyramids/color.js +224 -132
- package/lib/extensions/dnatco/confal-pyramids/property.js +1 -3
- package/lib/extensions/dnatco/confal-pyramids/representation.d.ts +3 -0
- package/lib/extensions/dnatco/confal-pyramids/util.js +19 -20
- package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +1 -0
- package/lib/extensions/rcsb/assembly-symmetry/representation.d.ts +1 -0
- package/lib/extensions/rcsb/validation-report/representation.d.ts +5 -0
- package/lib/mol-canvas3d/canvas3d.d.ts +2 -0
- package/lib/mol-canvas3d/helper/camera-helper.d.ts +1 -0
- package/lib/mol-canvas3d/helper/handle-helper.d.ts +1 -0
- package/lib/mol-canvas3d/helper/helper.d.ts +2 -0
- package/lib/mol-canvas3d/passes/image.d.ts +1 -0
- package/lib/mol-data/db/column.d.ts +10 -3
- package/lib/mol-data/db/column.js +39 -18
- package/lib/mol-geo/geometry/cylinders/cylinders.d.ts +4 -2
- package/lib/mol-geo/geometry/cylinders/cylinders.js +2 -2
- package/lib/mol-geo/geometry/lines/lines.d.ts +0 -1
- package/lib/mol-geo/geometry/mesh/color-smoothing.d.ts +1 -1
- package/lib/mol-geo/geometry/mesh/color-smoothing.js +5 -3
- package/lib/mol-geo/geometry/mesh/mesh.d.ts +2 -1
- package/lib/mol-geo/geometry/mesh/mesh.js +2 -2
- package/lib/mol-geo/geometry/points/points.d.ts +1 -1
- package/lib/mol-geo/geometry/spheres/spheres.d.ts +2 -1
- package/lib/mol-geo/geometry/spheres/spheres.js +2 -2
- package/lib/mol-geo/geometry/texture-mesh/color-smoothing.d.ts +1 -1
- package/lib/mol-geo/geometry/texture-mesh/color-smoothing.js +6 -4
- package/lib/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +2 -1
- package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js +2 -2
- package/lib/mol-gl/shader/chunks/wboit-write.glsl.d.ts +2 -2
- package/lib/mol-gl/shader/chunks/wboit-write.glsl.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/image.frag.d.ts +2 -2
- package/lib/mol-gl/shader/image.frag.js +2 -2
- package/lib/mol-gl/shader/lines.frag.d.ts +2 -2
- package/lib/mol-gl/shader/lines.frag.js +2 -2
- package/lib/mol-gl/shader/points.frag.d.ts +2 -2
- package/lib/mol-gl/shader/points.frag.js +2 -2
- package/lib/mol-gl/shader/text.frag.d.ts +2 -2
- package/lib/mol-gl/shader/text.frag.js +2 -2
- package/lib/mol-gl/webgl/buffer.d.ts +2 -2
- package/lib/mol-gl/webgl/buffer.js +12 -12
- package/lib/mol-gl/webgl/context.d.ts +1 -1
- package/lib/mol-gl/webgl/context.js +2 -2
- package/lib/mol-gl/webgl/program.d.ts +1 -1
- package/lib/mol-gl/webgl/program.js +10 -4
- package/lib/mol-io/reader/cif/schema/bird.d.ts +8 -8
- package/lib/mol-io/reader/cif/schema/bird.js +12 -11
- package/lib/mol-io/reader/cif/schema/ccd-extras.d.ts +1 -1
- package/lib/mol-io/reader/cif/schema/ccd.d.ts +12 -12
- package/lib/mol-io/reader/cif/schema/ccd.js +13 -12
- package/lib/mol-io/reader/cif/schema/mmcif-extras.d.ts +5 -5
- package/lib/mol-io/reader/cif/schema/mmcif-extras.js +2 -2
- package/lib/mol-io/reader/cif/schema/mmcif.d.ts +30 -26
- package/lib/mol-io/reader/cif/schema/mmcif.js +44 -39
- package/lib/mol-io/reader/cif/schema.d.ts +1 -1
- package/lib/mol-io/reader/cif/schema.js +22 -2
- package/lib/mol-io/writer/mol/encoder.js +1 -1
- package/lib/mol-math/geometry/common.d.ts +2 -1
- package/lib/mol-math/geometry/common.js +1 -1
- package/lib/mol-math/geometry/gaussian-density/cpu.d.ts +1 -1
- package/lib/mol-math/geometry/gaussian-density/cpu.js +2 -2
- package/lib/mol-math/geometry/gaussian-density/gpu.d.ts +1 -1
- package/lib/mol-math/geometry/gaussian-density/gpu.js +7 -7
- package/lib/mol-math/geometry/gaussian-density.d.ts +2 -2
- package/lib/mol-math/geometry/gaussian-density.js +1 -1
- package/lib/mol-math/geometry/molecular-surface.d.ts +2 -1
- package/lib/mol-math/geometry/molecular-surface.js +2 -2
- package/lib/mol-math/geometry/primitives/box3d.js +2 -1
- package/lib/mol-math/geometry/primitives/sphere3d.js +12 -6
- package/lib/mol-model/structure/model/model.js +14 -6
- package/lib/mol-model/structure/model/properties/common.js +1 -1
- package/lib/mol-model/structure/model/types.d.ts +19 -17
- package/lib/mol-model/structure/model/types.js +30 -31
- package/lib/mol-model/structure/query/queries/generators.js +1 -1
- package/lib/mol-model/structure/structure/properties.d.ts +1 -1
- package/lib/mol-model/structure/structure/unit/bonds/inter-compute.js +2 -4
- package/lib/mol-model/structure/structure/unit/bonds/intra-compute.js +1 -3
- package/lib/mol-model/structure/structure/unit/rings.js +3 -0
- package/lib/mol-model-formats/shape/ply.d.ts +2 -0
- package/lib/mol-model-formats/structure/basic/entities.js +1 -1
- package/lib/mol-model-formats/structure/basic/schema.d.ts +2 -2
- package/lib/mol-model-formats/structure/common/component.d.ts +3 -3
- package/lib/mol-model-formats/structure/common/component.js +46 -46
- package/lib/mol-model-formats/structure/pdb/atom-site.d.ts +2 -2
- package/lib/mol-model-formats/structure/pdb/atom-site.js +72 -7
- package/lib/mol-model-formats/structure/pdb/secondary-structure.js +11 -11
- package/lib/mol-model-formats/structure/pdb/to-cif.js +7 -2
- package/lib/mol-model-formats/structure/property/bonds/chem_comp.js +1 -1
- package/lib/mol-model-formats/structure/property/bonds/struct_conn.js +1 -1
- package/lib/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +1 -0
- package/lib/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +1 -0
- package/lib/mol-model-props/computed/representations/interactions.d.ts +3 -0
- package/lib/mol-model-props/integrative/cross-link-restraint/representation.d.ts +4 -0
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +2 -3
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/util.js +4 -2
- package/lib/mol-plugin/commands.d.ts +1 -0
- package/lib/mol-plugin/util/viewport-screenshot.d.ts +3 -0
- package/lib/mol-plugin/version.js +2 -2
- package/lib/mol-plugin-state/actions/structure.d.ts +6 -6
- package/lib/mol-plugin-state/helpers/structure-selection-query.d.ts +1 -1
- package/lib/mol-plugin-state/helpers/structure-selection-query.js +1 -1
- package/lib/mol-plugin-state/transforms/representation.d.ts +6 -0
- package/lib/mol-plugin-ui/react18.d.ts +11 -0
- package/lib/mol-plugin-ui/react18.js +34 -0
- 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 +128 -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/common.js +7 -8
- package/lib/mol-plugin-ui/structure/focus.d.ts +1 -1
- package/lib/mol-plugin-ui/structure/focus.js +2 -2
- package/lib/mol-plugin-ui/task.d.ts +2 -21
- package/lib/mol-plugin-ui/task.js +40 -46
- package/lib/mol-repr/shape/loci/angle.d.ts +1 -0
- package/lib/mol-repr/shape/loci/dihedral.d.ts +1 -0
- package/lib/mol-repr/shape/loci/orientation.d.ts +1 -0
- package/lib/mol-repr/shape/loci/plane.d.ts +1 -0
- package/lib/mol-repr/shape/model/unitcell.d.ts +1 -0
- package/lib/mol-repr/structure/complex-visual.d.ts +3 -0
- package/lib/mol-repr/structure/params.d.ts +4 -0
- package/lib/mol-repr/structure/registry.d.ts +10 -0
- package/lib/mol-repr/structure/representation/backbone.d.ts +3 -0
- package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +3 -0
- package/lib/mol-repr/structure/representation/carbohydrate.d.ts +3 -0
- package/lib/mol-repr/structure/representation/cartoon.d.ts +3 -0
- package/lib/mol-repr/structure/representation/ellipsoid.d.ts +3 -0
- package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +3 -0
- package/lib/mol-repr/structure/representation/molecular-surface.d.ts +3 -0
- package/lib/mol-repr/structure/representation/orientation.d.ts +3 -0
- package/lib/mol-repr/structure/representation/putty.d.ts +3 -0
- package/lib/mol-repr/structure/representation/spacefill.d.ts +3 -0
- package/lib/mol-repr/structure/units-visual.d.ts +4 -0
- package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +2 -0
- package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +2 -0
- package/lib/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +1 -0
- package/lib/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +1 -0
- package/lib/mol-repr/structure/visual/element-sphere.d.ts +2 -0
- package/lib/mol-repr/structure/visual/ellipsoid-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/gaussian-density-volume.js +2 -3
- package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +5 -1
- package/lib/mol-repr/structure/visual/gaussian-surface-mesh.js +10 -10
- package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +1 -1
- package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.js +4 -5
- package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/molecular-surface-mesh.js +4 -4
- package/lib/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +1 -1
- package/lib/mol-repr/structure/visual/molecular-surface-wireframe.js +5 -5
- package/lib/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +1 -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/polymer-direction-wedge.d.ts +1 -0
- package/lib/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +1 -0
- package/lib/mol-repr/structure/visual/polymer-trace-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/polymer-tube-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/util/common.d.ts +1 -3
- package/lib/mol-repr/structure/visual/util/common.js +1 -24
- package/lib/mol-repr/util.d.ts +2 -1
- package/lib/mol-repr/util.js +2 -2
- package/lib/mol-repr/volume/isosurface.d.ts +5 -0
- package/lib/mol-repr/volume/registry.d.ts +1 -0
- package/lib/mol-script/language/builder.d.ts +1 -0
- package/package.json +162 -160
|
@@ -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';
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
3
3
|
import { PurePluginUIComponent } from '../base';
|
|
4
4
|
import { ParameterControls } from '../controls/parameters';
|
|
5
5
|
import { ParamDefinition as PD } from '../../mol-util/param-definition';
|
|
6
|
-
import {
|
|
6
|
+
import { BehaviorSubject, skip } from 'rxjs';
|
|
7
7
|
import { Icon, RefreshSvg, CheckSvg, ArrowRightSvg, ArrowDropDownSvg, TuneSvg } from '../controls/icons';
|
|
8
8
|
import { ExpandGroup, ToggleButton, Button, IconButton } from '../controls/common';
|
|
9
9
|
export { StateTransformParameters, TransformControlBase };
|
|
@@ -71,7 +71,7 @@ var TransformControlBase = /** @class */ (function (_super) {
|
|
|
71
71
|
__extends(TransformControlBase, _super);
|
|
72
72
|
function TransformControlBase() {
|
|
73
73
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
74
|
-
_this.busy = new
|
|
74
|
+
_this.busy = new BehaviorSubject(false);
|
|
75
75
|
_this.onEnter = function () {
|
|
76
76
|
if (_this.state.error)
|
|
77
77
|
return;
|
|
@@ -138,13 +138,12 @@ var TransformControlBase = /** @class */ (function (_super) {
|
|
|
138
138
|
};
|
|
139
139
|
TransformControlBase.prototype.componentDidMount = function () {
|
|
140
140
|
var _this = this;
|
|
141
|
-
this.subscribe(this.plugin.behaviors.state.isBusy, function (
|
|
142
|
-
if (_this.
|
|
143
|
-
_this.busy.next(
|
|
141
|
+
this.subscribe(this.plugin.behaviors.state.isBusy, function (busy) {
|
|
142
|
+
if (_this.busy.value !== busy)
|
|
143
|
+
_this.busy.next(busy);
|
|
144
144
|
});
|
|
145
|
-
this.subscribe(this.busy, function (busy) {
|
|
146
|
-
|
|
147
|
-
_this.setState({ busy: busy });
|
|
145
|
+
this.subscribe(this.busy.pipe(skip(1)), function (busy) {
|
|
146
|
+
_this.setState({ busy: busy });
|
|
148
147
|
});
|
|
149
148
|
};
|
|
150
149
|
TransformControlBase.prototype.renderApply = function () {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __assign, __extends, __spreadArray } from "tslib";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
/**
|
|
4
|
-
* Copyright (c) 2020 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
4
|
+
* Copyright (c) 2020-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
5
5
|
*
|
|
6
6
|
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
7
7
|
*/
|
|
@@ -164,7 +164,7 @@ var StructureFocusControls = /** @class */ (function (_super) {
|
|
|
164
164
|
};
|
|
165
165
|
Object.defineProperty(StructureFocusControls.prototype, "isDisabled", {
|
|
166
166
|
get: function () {
|
|
167
|
-
return this.state.isBusy || this.
|
|
167
|
+
return this.state.isBusy || this.plugin.managers.structure.hierarchy.selection.structures.length === 0;
|
|
168
168
|
},
|
|
169
169
|
enumerable: false,
|
|
170
170
|
configurable: true
|
|
@@ -4,24 +4,5 @@
|
|
|
4
4
|
* @author David Sehnal <david.sehnal@gmail.com>
|
|
5
5
|
*/
|
|
6
6
|
/// <reference types="react" />
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import { TaskManager } from '../mol-plugin/util/task-manager';
|
|
10
|
-
export declare class BackgroundTaskProgress extends PluginUIComponent<{}, {
|
|
11
|
-
tracked: OrderedMap<number, TaskManager.ProgressEvent>;
|
|
12
|
-
}> {
|
|
13
|
-
componentDidMount(): void;
|
|
14
|
-
state: {
|
|
15
|
-
tracked: OrderedMap<number, TaskManager.ProgressEvent>;
|
|
16
|
-
};
|
|
17
|
-
render(): JSX.Element;
|
|
18
|
-
}
|
|
19
|
-
export declare class OverlayTaskProgress extends PluginUIComponent<{}, {
|
|
20
|
-
tracked: OrderedMap<number, TaskManager.ProgressEvent>;
|
|
21
|
-
}> {
|
|
22
|
-
componentDidMount(): void;
|
|
23
|
-
state: {
|
|
24
|
-
tracked: OrderedMap<number, TaskManager.ProgressEvent>;
|
|
25
|
-
};
|
|
26
|
-
render(): JSX.Element | null;
|
|
27
|
-
}
|
|
7
|
+
export declare function BackgroundTaskProgress(): JSX.Element;
|
|
8
|
+
export declare function OverlayTaskProgress(): JSX.Element | null;
|
|
@@ -5,36 +5,33 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
|
5
5
|
*
|
|
6
6
|
* @author David Sehnal <david.sehnal@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
import { PluginUIComponent } from './base';
|
|
8
|
+
import { PluginReactContext, PluginUIComponent } from './base';
|
|
9
9
|
import { OrderedMap } from 'immutable';
|
|
10
|
-
import { filter } from 'rxjs/operators';
|
|
11
10
|
import { IconButton } from './controls/common';
|
|
12
11
|
import { CancelSvg } from './controls/icons';
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
this.subscribe(this.plugin.events.task.progress.pipe(filter(function (e) { return e.level === 'background' && (hideOverlay || !e.useOverlay); })), function (e) {
|
|
25
|
-
_this.setState({ tracked: _this.state.tracked.set(e.id, e) });
|
|
12
|
+
import { useContext, useEffect, useState } from 'react';
|
|
13
|
+
export function BackgroundTaskProgress() {
|
|
14
|
+
var plugin = useContext(PluginReactContext);
|
|
15
|
+
var _a = useState(OrderedMap()), tracked = _a[0], setTracked = _a[1];
|
|
16
|
+
useEffect(function () {
|
|
17
|
+
var started = plugin.events.task.progress.subscribe(function (e) {
|
|
18
|
+
var _a;
|
|
19
|
+
var hideOverlay = !!((_a = plugin.spec.components) === null || _a === void 0 ? void 0 : _a.hideTaskOverlay);
|
|
20
|
+
if (e.level === 'background' && (hideOverlay || !e.useOverlay)) {
|
|
21
|
+
setTracked(function (tracked) { return tracked.set(e.id, e); });
|
|
22
|
+
}
|
|
26
23
|
});
|
|
27
|
-
|
|
24
|
+
var finished = plugin.events.task.finished.subscribe(function (_a) {
|
|
28
25
|
var id = _a.id;
|
|
29
|
-
|
|
26
|
+
setTracked(function (tracked) { return tracked.delete(id); });
|
|
30
27
|
});
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}(
|
|
37
|
-
|
|
28
|
+
return function () {
|
|
29
|
+
started.unsubscribe();
|
|
30
|
+
finished.unsubscribe();
|
|
31
|
+
};
|
|
32
|
+
}, [plugin]);
|
|
33
|
+
return _jsx("div", __assign({ className: 'msp-background-tasks' }, { children: tracked.valueSeq().map(function (e) { return _jsx(ProgressEntry, { event: e }, e.id); }) }));
|
|
34
|
+
}
|
|
38
35
|
var ProgressEntry = /** @class */ (function (_super) {
|
|
39
36
|
__extends(ProgressEntry, _super);
|
|
40
37
|
function ProgressEntry() {
|
|
@@ -67,28 +64,25 @@ function countSubtasks(progress) {
|
|
|
67
64
|
}
|
|
68
65
|
return sum;
|
|
69
66
|
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
var _this = this;
|
|
79
|
-
this.subscribe(this.plugin.events.task.progress.pipe(filter(function (e) { return !!e.useOverlay; })), function (e) {
|
|
80
|
-
_this.setState({ tracked: _this.state.tracked.set(e.id, e) });
|
|
67
|
+
export function OverlayTaskProgress() {
|
|
68
|
+
var plugin = useContext(PluginReactContext);
|
|
69
|
+
var _a = useState(OrderedMap()), tracked = _a[0], setTracked = _a[1];
|
|
70
|
+
useEffect(function () {
|
|
71
|
+
var started = plugin.events.task.progress.subscribe(function (e) {
|
|
72
|
+
if (!!e.useOverlay) {
|
|
73
|
+
setTracked(function (tracked) { return tracked.set(e.id, e); });
|
|
74
|
+
}
|
|
81
75
|
});
|
|
82
|
-
|
|
76
|
+
var finished = plugin.events.task.finished.subscribe(function (_a) {
|
|
83
77
|
var id = _a.id;
|
|
84
|
-
|
|
78
|
+
setTracked(function (tracked) { return tracked.delete(id); });
|
|
85
79
|
});
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
}(
|
|
94
|
-
|
|
80
|
+
return function () {
|
|
81
|
+
started.unsubscribe();
|
|
82
|
+
finished.unsubscribe();
|
|
83
|
+
};
|
|
84
|
+
}, [plugin]);
|
|
85
|
+
if (tracked.size === 0)
|
|
86
|
+
return null;
|
|
87
|
+
return _jsx("div", __assign({ className: 'msp-overlay-tasks' }, { children: tracked.valueSeq().map(function (e) { return _jsx(ProgressEntry, { event: e }, e.id); }) }));
|
|
88
|
+
}
|
|
@@ -58,6 +58,7 @@ export declare const AngleParams: {
|
|
|
58
58
|
flipSided: PD.BooleanParam;
|
|
59
59
|
flatShaded: PD.BooleanParam;
|
|
60
60
|
xrayShaded: PD.BooleanParam;
|
|
61
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
61
62
|
bumpFrequency: PD.Numeric;
|
|
62
63
|
bumpAmplitude: PD.Numeric;
|
|
63
64
|
lineSizeAttenuation: PD.BooleanParam;
|
|
@@ -58,6 +58,7 @@ export declare const DihedralParams: {
|
|
|
58
58
|
flipSided: PD.BooleanParam;
|
|
59
59
|
flatShaded: PD.BooleanParam;
|
|
60
60
|
xrayShaded: PD.BooleanParam;
|
|
61
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
61
62
|
bumpFrequency: PD.Numeric;
|
|
62
63
|
bumpAmplitude: PD.Numeric;
|
|
63
64
|
lineSizeAttenuation: PD.BooleanParam;
|
|
@@ -19,6 +19,7 @@ export declare const OrientationParams: {
|
|
|
19
19
|
flatShaded: PD.BooleanParam;
|
|
20
20
|
ignoreLight: PD.BooleanParam;
|
|
21
21
|
xrayShaded: PD.BooleanParam;
|
|
22
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
22
23
|
bumpFrequency: PD.Numeric;
|
|
23
24
|
bumpAmplitude: PD.Numeric;
|
|
24
25
|
alpha: PD.Numeric;
|
|
@@ -21,6 +21,7 @@ export declare const UnitcellParams: {
|
|
|
21
21
|
flatShaded: PD.BooleanParam;
|
|
22
22
|
ignoreLight: PD.BooleanParam;
|
|
23
23
|
xrayShaded: PD.BooleanParam;
|
|
24
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
24
25
|
bumpFrequency: PD.Numeric;
|
|
25
26
|
bumpAmplitude: PD.Numeric;
|
|
26
27
|
alpha: PD.Numeric;
|
|
@@ -47,6 +47,7 @@ export declare const ComplexMeshParams: {
|
|
|
47
47
|
flatShaded: PD.BooleanParam;
|
|
48
48
|
ignoreLight: PD.BooleanParam;
|
|
49
49
|
xrayShaded: PD.BooleanParam;
|
|
50
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
50
51
|
bumpFrequency: PD.Numeric;
|
|
51
52
|
bumpAmplitude: PD.Numeric;
|
|
52
53
|
alpha: PD.Numeric;
|
|
@@ -79,6 +80,7 @@ export declare const ComplexCylindersParams: {
|
|
|
79
80
|
doubleSided: PD.BooleanParam;
|
|
80
81
|
ignoreLight: PD.BooleanParam;
|
|
81
82
|
xrayShaded: PD.BooleanParam;
|
|
83
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
82
84
|
bumpFrequency: PD.Numeric;
|
|
83
85
|
bumpAmplitude: PD.Numeric;
|
|
84
86
|
alpha: PD.Numeric;
|
|
@@ -212,6 +214,7 @@ export declare const ComplexTextureMeshParams: {
|
|
|
212
214
|
flatShaded: PD.BooleanParam;
|
|
213
215
|
ignoreLight: PD.BooleanParam;
|
|
214
216
|
xrayShaded: PD.BooleanParam;
|
|
217
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
215
218
|
bumpFrequency: PD.Numeric;
|
|
216
219
|
bumpAmplitude: PD.Numeric;
|
|
217
220
|
alpha: PD.Numeric;
|
|
@@ -18,6 +18,7 @@ export declare const StructureMeshParams: {
|
|
|
18
18
|
flatShaded: PD.BooleanParam;
|
|
19
19
|
ignoreLight: PD.BooleanParam;
|
|
20
20
|
xrayShaded: PD.BooleanParam;
|
|
21
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
21
22
|
bumpFrequency: PD.Numeric;
|
|
22
23
|
bumpAmplitude: PD.Numeric;
|
|
23
24
|
alpha: PD.Numeric;
|
|
@@ -44,6 +45,7 @@ export declare const StructureSpheresParams: {
|
|
|
44
45
|
doubleSided: PD.BooleanParam;
|
|
45
46
|
ignoreLight: PD.BooleanParam;
|
|
46
47
|
xrayShaded: PD.BooleanParam;
|
|
48
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
47
49
|
bumpFrequency: PD.Numeric;
|
|
48
50
|
bumpAmplitude: PD.Numeric;
|
|
49
51
|
alpha: PD.Numeric;
|
|
@@ -71,6 +73,7 @@ export declare const StructureCylindersParams: {
|
|
|
71
73
|
doubleSided: PD.BooleanParam;
|
|
72
74
|
ignoreLight: PD.BooleanParam;
|
|
73
75
|
xrayShaded: PD.BooleanParam;
|
|
76
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
74
77
|
bumpFrequency: PD.Numeric;
|
|
75
78
|
bumpAmplitude: PD.Numeric;
|
|
76
79
|
alpha: PD.Numeric;
|
|
@@ -207,6 +210,7 @@ export declare const StructureTextureMeshParams: {
|
|
|
207
210
|
flatShaded: PD.BooleanParam;
|
|
208
211
|
ignoreLight: PD.BooleanParam;
|
|
209
212
|
xrayShaded: PD.BooleanParam;
|
|
213
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
210
214
|
bumpFrequency: PD.Numeric;
|
|
211
215
|
bumpAmplitude: PD.Numeric;
|
|
212
216
|
alpha: PD.Numeric;
|
|
@@ -22,6 +22,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
22
22
|
flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
23
23
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
24
24
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
25
|
+
allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
25
26
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
26
27
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
27
28
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -61,6 +62,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
61
62
|
flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
62
63
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
63
64
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
65
|
+
allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
64
66
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
65
67
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
66
68
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -110,6 +112,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
110
112
|
doubleSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
111
113
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
112
114
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
115
|
+
allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
113
116
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
114
117
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
115
118
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -155,6 +158,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
155
158
|
flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
156
159
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
157
160
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
161
|
+
allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
158
162
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
159
163
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
160
164
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -205,6 +209,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
205
209
|
doubleSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
206
210
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
207
211
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
212
|
+
allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
208
213
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
209
214
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
210
215
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -266,6 +271,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
266
271
|
flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
267
272
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
268
273
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
274
|
+
allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
269
275
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
270
276
|
}, "gaussian-surface">;
|
|
271
277
|
'gaussian-volume': import("./representation").StructureRepresentationProvider<{
|
|
@@ -421,6 +427,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
421
427
|
flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
422
428
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
423
429
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
430
|
+
allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
424
431
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
425
432
|
}, "molecular-surface">;
|
|
426
433
|
orientation: import("./representation").StructureRepresentationProvider<{
|
|
@@ -435,6 +442,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
435
442
|
flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
436
443
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
437
444
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
445
|
+
allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
438
446
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
439
447
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
440
448
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -492,6 +500,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
492
500
|
flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
493
501
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
494
502
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
503
|
+
allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
495
504
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
496
505
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
497
506
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -525,6 +534,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
525
534
|
doubleSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
526
535
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
527
536
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
537
|
+
allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
528
538
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
529
539
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
530
540
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -21,6 +21,7 @@ export declare const BackboneParams: {
|
|
|
21
21
|
flatShaded: PD.BooleanParam;
|
|
22
22
|
ignoreLight: PD.BooleanParam;
|
|
23
23
|
xrayShaded: PD.BooleanParam;
|
|
24
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
24
25
|
bumpAmplitude: PD.Numeric;
|
|
25
26
|
alpha: PD.Numeric;
|
|
26
27
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -56,6 +57,7 @@ export declare function getBackboneParams(ctx: ThemeRegistryContext, structure:
|
|
|
56
57
|
flatShaded: PD.BooleanParam;
|
|
57
58
|
ignoreLight: PD.BooleanParam;
|
|
58
59
|
xrayShaded: PD.BooleanParam;
|
|
60
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
59
61
|
bumpAmplitude: PD.Numeric;
|
|
60
62
|
alpha: PD.Numeric;
|
|
61
63
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -92,6 +94,7 @@ export declare const BackboneRepresentationProvider: StructureRepresentationProv
|
|
|
92
94
|
flatShaded: PD.BooleanParam;
|
|
93
95
|
ignoreLight: PD.BooleanParam;
|
|
94
96
|
xrayShaded: PD.BooleanParam;
|
|
97
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
95
98
|
bumpAmplitude: PD.Numeric;
|
|
96
99
|
alpha: PD.Numeric;
|
|
97
100
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -36,6 +36,7 @@ export declare const BallAndStickParams: {
|
|
|
36
36
|
doubleSided: PD.BooleanParam;
|
|
37
37
|
ignoreLight: PD.BooleanParam;
|
|
38
38
|
xrayShaded: PD.BooleanParam;
|
|
39
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
39
40
|
bumpAmplitude: PD.Numeric;
|
|
40
41
|
alpha: PD.Numeric;
|
|
41
42
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -88,6 +89,7 @@ export declare function getBallAndStickParams(ctx: ThemeRegistryContext, structu
|
|
|
88
89
|
doubleSided: PD.BooleanParam;
|
|
89
90
|
ignoreLight: PD.BooleanParam;
|
|
90
91
|
xrayShaded: PD.BooleanParam;
|
|
92
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
91
93
|
bumpAmplitude: PD.Numeric;
|
|
92
94
|
alpha: PD.Numeric;
|
|
93
95
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -141,6 +143,7 @@ export declare const BallAndStickRepresentationProvider: StructureRepresentation
|
|
|
141
143
|
doubleSided: PD.BooleanParam;
|
|
142
144
|
ignoreLight: PD.BooleanParam;
|
|
143
145
|
xrayShaded: PD.BooleanParam;
|
|
146
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
144
147
|
bumpAmplitude: PD.Numeric;
|
|
145
148
|
alpha: PD.Numeric;
|
|
146
149
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -30,6 +30,7 @@ export declare const CarbohydrateParams: {
|
|
|
30
30
|
flatShaded: PD.BooleanParam;
|
|
31
31
|
ignoreLight: PD.BooleanParam;
|
|
32
32
|
xrayShaded: PD.BooleanParam;
|
|
33
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
33
34
|
bumpAmplitude: PD.Numeric;
|
|
34
35
|
alpha: PD.Numeric;
|
|
35
36
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -75,6 +76,7 @@ export declare function getCarbohydrateParams(ctx: ThemeRegistryContext, structu
|
|
|
75
76
|
flatShaded: PD.BooleanParam;
|
|
76
77
|
ignoreLight: PD.BooleanParam;
|
|
77
78
|
xrayShaded: PD.BooleanParam;
|
|
79
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
78
80
|
bumpAmplitude: PD.Numeric;
|
|
79
81
|
alpha: PD.Numeric;
|
|
80
82
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -121,6 +123,7 @@ export declare const CarbohydrateRepresentationProvider: StructureRepresentation
|
|
|
121
123
|
flatShaded: PD.BooleanParam;
|
|
122
124
|
ignoreLight: PD.BooleanParam;
|
|
123
125
|
xrayShaded: PD.BooleanParam;
|
|
126
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
124
127
|
bumpAmplitude: PD.Numeric;
|
|
125
128
|
alpha: PD.Numeric;
|
|
126
129
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|