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.
Files changed (499) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +202 -202
  3. package/build/viewer/embedded.html +52 -52
  4. package/build/viewer/index.html +115 -115
  5. package/build/viewer/molstar.css +1 -1
  6. package/build/viewer/molstar.js +1 -1
  7. package/lib/apps/docking-viewer/index.html +36 -36
  8. package/lib/apps/docking-viewer/viewport.d.ts +2 -0
  9. package/lib/apps/docking-viewer/viewport.js +1 -0
  10. package/lib/apps/viewer/app.d.ts +3 -1
  11. package/lib/apps/viewer/app.js +4 -0
  12. package/lib/apps/viewer/embedded.html +52 -52
  13. package/lib/apps/viewer/index.html +115 -115
  14. package/lib/cli/structure-info/volume.js +1 -1
  15. package/lib/commonjs/apps/docking-viewer/viewport.d.ts +2 -0
  16. package/lib/commonjs/apps/docking-viewer/viewport.js +1 -0
  17. package/lib/commonjs/apps/viewer/app.d.ts +3 -1
  18. package/lib/commonjs/apps/viewer/app.js +4 -0
  19. package/lib/commonjs/cli/structure-info/volume.js +1 -1
  20. package/lib/commonjs/examples/lighting/index.js +1 -1
  21. package/lib/commonjs/extensions/anvil/behavior.d.ts +1 -0
  22. package/lib/commonjs/extensions/cellpack/model.js +2 -1
  23. package/lib/commonjs/extensions/dnatco/confal-pyramids/behavior.d.ts +1 -0
  24. package/lib/commonjs/extensions/meshes/choice.d.ts +26 -0
  25. package/lib/commonjs/extensions/meshes/choice.js +31 -0
  26. package/lib/commonjs/extensions/meshes/examples.d.ts +26 -0
  27. package/lib/commonjs/extensions/meshes/examples.js +337 -0
  28. package/lib/commonjs/extensions/meshes/mesh-cif-schema.d.ts +29 -0
  29. package/lib/commonjs/extensions/meshes/mesh-cif-schema.js +34 -0
  30. package/lib/commonjs/extensions/meshes/mesh-extension.d.ts +66 -0
  31. package/lib/commonjs/extensions/meshes/mesh-extension.js +221 -0
  32. package/lib/commonjs/extensions/meshes/mesh-streaming/behavior.d.ts +105 -0
  33. package/lib/commonjs/extensions/meshes/mesh-streaming/behavior.js +379 -0
  34. package/lib/commonjs/extensions/meshes/mesh-streaming/server-info.d.ts +54 -0
  35. package/lib/commonjs/extensions/meshes/mesh-streaming/server-info.js +30 -0
  36. package/lib/commonjs/extensions/meshes/mesh-streaming/transformers.d.ts +42 -0
  37. package/lib/commonjs/extensions/meshes/mesh-streaming/transformers.js +273 -0
  38. package/lib/commonjs/extensions/meshes/mesh-utils.d.ts +41 -0
  39. package/lib/commonjs/extensions/meshes/mesh-utils.js +357 -0
  40. package/lib/commonjs/extensions/meshes/metadata.d.ts +108 -0
  41. package/lib/commonjs/extensions/meshes/metadata.js +72 -0
  42. package/lib/commonjs/extensions/model-archive/quality-assessment/behavior.d.ts +2 -0
  43. package/lib/commonjs/extensions/model-archive/quality-assessment/prop.d.ts +1 -0
  44. package/lib/commonjs/extensions/model-archive/quality-assessment/prop.js +16 -4
  45. package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +4 -2
  46. package/lib/commonjs/extensions/rcsb/validation-report/behavior.d.ts +3 -0
  47. package/lib/commonjs/extensions/volumes-and-segmentations/entry-meshes.d.ts +17 -0
  48. package/lib/commonjs/extensions/volumes-and-segmentations/entry-meshes.js +156 -0
  49. package/lib/commonjs/extensions/volumes-and-segmentations/entry-models.d.ts +12 -0
  50. package/lib/commonjs/extensions/volumes-and-segmentations/entry-models.js +96 -0
  51. package/lib/commonjs/extensions/volumes-and-segmentations/entry-root.d.ts +122 -0
  52. package/lib/commonjs/extensions/volumes-and-segmentations/entry-root.js +576 -0
  53. package/lib/commonjs/extensions/volumes-and-segmentations/entry-segmentation.d.ts +20 -0
  54. package/lib/commonjs/extensions/volumes-and-segmentations/entry-segmentation.js +200 -0
  55. package/lib/commonjs/extensions/volumes-and-segmentations/entry-state.d.ts +88 -0
  56. package/lib/commonjs/extensions/volumes-and-segmentations/entry-state.js +32 -0
  57. package/lib/commonjs/extensions/volumes-and-segmentations/entry-volume.d.ts +35 -0
  58. package/lib/commonjs/extensions/volumes-and-segmentations/entry-volume.js +234 -0
  59. package/lib/commonjs/extensions/volumes-and-segmentations/external-api.d.ts +11 -0
  60. package/lib/commonjs/extensions/volumes-and-segmentations/external-api.js +85 -0
  61. package/lib/commonjs/extensions/volumes-and-segmentations/global-state.d.ts +51 -0
  62. package/lib/commonjs/extensions/volumes-and-segmentations/global-state.js +83 -0
  63. package/lib/commonjs/extensions/volumes-and-segmentations/helpers.d.ts +56 -0
  64. package/lib/commonjs/extensions/volumes-and-segmentations/helpers.js +171 -0
  65. package/lib/commonjs/extensions/volumes-and-segmentations/index.d.ts +20 -0
  66. package/lib/commonjs/extensions/volumes-and-segmentations/index.js +130 -0
  67. package/lib/commonjs/extensions/volumes-and-segmentations/transformers.d.ts +33 -0
  68. package/lib/commonjs/extensions/volumes-and-segmentations/transformers.js +85 -0
  69. package/lib/commonjs/extensions/volumes-and-segmentations/ui.d.ts +29 -0
  70. package/lib/commonjs/extensions/volumes-and-segmentations/ui.js +232 -0
  71. package/lib/commonjs/extensions/volumes-and-segmentations/volseg-api/api.d.ts +22 -0
  72. package/lib/commonjs/extensions/volumes-and-segmentations/volseg-api/api.js +83 -0
  73. package/lib/commonjs/extensions/volumes-and-segmentations/volseg-api/data.d.ts +92 -0
  74. package/lib/commonjs/extensions/volumes-and-segmentations/volseg-api/data.js +7 -0
  75. package/lib/commonjs/extensions/volumes-and-segmentations/volseg-api/utils.d.ts +23 -0
  76. package/lib/commonjs/extensions/volumes-and-segmentations/volseg-api/utils.js +78 -0
  77. package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +2 -0
  78. package/lib/commonjs/mol-canvas3d/passes/draw.js +3 -3
  79. package/lib/commonjs/mol-canvas3d/passes/image.d.ts +1 -0
  80. package/lib/commonjs/mol-canvas3d/passes/postprocessing.d.ts +2 -1
  81. package/lib/commonjs/mol-canvas3d/passes/postprocessing.js +27 -13
  82. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +2 -1
  83. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.js +3 -2
  84. package/lib/commonjs/mol-geo/geometry/lines/lines.d.ts +0 -1
  85. package/lib/commonjs/mol-geo/geometry/points/points.d.ts +1 -1
  86. package/lib/commonjs/mol-geo/geometry/spheres/spheres.d.ts +1 -0
  87. package/lib/commonjs/mol-geo/geometry/spheres/spheres.js +3 -2
  88. package/lib/commonjs/mol-gl/compute/histogram-pyramid/reduction.js +1 -2
  89. package/lib/commonjs/mol-gl/compute/marching-cubes/isosurface.js +4 -6
  90. package/lib/commonjs/mol-gl/renderable/cylinders.d.ts +1 -0
  91. package/lib/commonjs/mol-gl/renderable/cylinders.js +1 -1
  92. package/lib/commonjs/mol-gl/renderable/spheres.d.ts +1 -0
  93. package/lib/commonjs/mol-gl/renderable/spheres.js +1 -1
  94. package/lib/commonjs/mol-gl/shader/chunks/apply-light-color.glsl.d.ts +1 -1
  95. package/lib/commonjs/mol-gl/shader/chunks/apply-light-color.glsl.js +1 -1
  96. package/lib/commonjs/mol-gl/shader/chunks/clip-instance.glsl.d.ts +1 -1
  97. package/lib/commonjs/mol-gl/shader/chunks/clip-instance.glsl.js +1 -1
  98. package/lib/commonjs/mol-gl/shader/chunks/clip-pixel.glsl.d.ts +1 -1
  99. package/lib/commonjs/mol-gl/shader/chunks/clip-pixel.glsl.js +1 -1
  100. package/lib/commonjs/mol-gl/shader/chunks/common-clip.glsl.d.ts +2 -2
  101. package/lib/commonjs/mol-gl/shader/chunks/common-clip.glsl.js +2 -2
  102. package/lib/commonjs/mol-gl/shader/cylinders.frag.d.ts +1 -1
  103. package/lib/commonjs/mol-gl/shader/cylinders.frag.js +1 -1
  104. package/lib/commonjs/mol-gl/shader/cylinders.vert.d.ts +2 -2
  105. package/lib/commonjs/mol-gl/shader/cylinders.vert.js +2 -2
  106. package/lib/commonjs/mol-gl/shader/direct-volume.frag.d.ts +1 -1
  107. package/lib/commonjs/mol-gl/shader/direct-volume.frag.js +1 -1
  108. package/lib/commonjs/mol-gl/shader/outlines.frag.d.ts +1 -1
  109. package/lib/commonjs/mol-gl/shader/outlines.frag.js +1 -1
  110. package/lib/commonjs/mol-gl/shader/postprocessing.frag.d.ts +1 -1
  111. package/lib/commonjs/mol-gl/shader/postprocessing.frag.js +1 -1
  112. package/lib/commonjs/mol-gl/shader/spheres.frag.d.ts +1 -1
  113. package/lib/commonjs/mol-gl/shader/spheres.frag.js +1 -1
  114. package/lib/commonjs/mol-gl/shader/spheres.vert.d.ts +2 -2
  115. package/lib/commonjs/mol-gl/shader/spheres.vert.js +2 -2
  116. package/lib/commonjs/mol-gl/webgl/renderbuffer.d.ts +1 -1
  117. package/lib/commonjs/mol-gl/webgl/renderbuffer.js +15 -0
  118. package/lib/commonjs/mol-gl/webgl/state.d.ts +12 -0
  119. package/lib/commonjs/mol-gl/webgl/state.js +136 -0
  120. package/lib/commonjs/mol-io/reader/cif/schema/segmentation.d.ts +38 -0
  121. package/lib/commonjs/mol-io/reader/cif/schema/segmentation.js +22 -0
  122. package/lib/commonjs/mol-io/reader/cif.d.ts +3 -1
  123. package/lib/commonjs/mol-io/reader/cif.js +3 -1
  124. package/lib/commonjs/mol-model/location.d.ts +2 -1
  125. package/lib/commonjs/mol-model/loci.d.ts +11 -11
  126. package/lib/commonjs/mol-model/loci.js +13 -1
  127. package/lib/commonjs/mol-model/sequence/alignment/sequence.d.ts +4 -1
  128. package/lib/commonjs/mol-model/sequence/alignment/sequence.js +4 -1
  129. package/lib/commonjs/mol-model/structure/model/properties/atomic/hierarchy.d.ts +6 -0
  130. package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-index.js +8 -0
  131. package/lib/commonjs/mol-model/structure/structure/unit/bonds/inter-compute.js +21 -5
  132. package/lib/commonjs/mol-model/structure/structure/util/superposition.d.ts +1 -0
  133. package/lib/commonjs/mol-model/structure/structure/util/superposition.js +2 -1
  134. package/lib/commonjs/mol-model/volume/volume.d.ts +35 -2
  135. package/lib/commonjs/mol-model/volume/volume.js +77 -2
  136. package/lib/commonjs/mol-model-formats/volume/segmentation.d.ts +23 -0
  137. package/lib/commonjs/mol-model-formats/volume/segmentation.js +138 -0
  138. package/lib/commonjs/mol-plugin/behavior/dynamic/representation.d.ts +2 -2
  139. package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +1 -0
  140. package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js +2 -1
  141. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +2 -3
  142. package/lib/commonjs/mol-plugin/commands.d.ts +1 -0
  143. package/lib/commonjs/mol-plugin-state/animation/built-in/model-index.js +4 -1
  144. package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy-preset.d.ts +2 -0
  145. package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy.d.ts +1 -0
  146. package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.d.ts +13 -4
  147. package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.js +6 -1
  148. package/lib/commonjs/mol-plugin-state/builder/structure/representation.d.ts +1 -0
  149. package/lib/commonjs/mol-plugin-state/formats/provider.d.ts +2 -2
  150. package/lib/commonjs/mol-plugin-state/formats/provider.js +11 -3
  151. package/lib/commonjs/mol-plugin-state/formats/registry.js +6 -5
  152. package/lib/commonjs/mol-plugin-state/formats/volume.d.ts +27 -0
  153. package/lib/commonjs/mol-plugin-state/formats/volume.js +65 -1
  154. package/lib/commonjs/mol-plugin-state/manager/structure/component.d.ts +1 -1
  155. package/lib/commonjs/mol-plugin-state/manager/structure/component.js +18 -13
  156. package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +1 -2
  157. package/lib/commonjs/mol-plugin-state/transforms/representation.js +5 -6
  158. package/lib/commonjs/mol-plugin-state/transforms/volume.d.ts +11 -1
  159. package/lib/commonjs/mol-plugin-state/transforms/volume.js +55 -2
  160. package/lib/commonjs/mol-plugin-ui/controls/line-graph/line-graph-component.d.ts +1 -0
  161. package/lib/commonjs/mol-plugin-ui/controls/line-graph/line-graph-component.js +33 -13
  162. package/lib/commonjs/mol-plugin-ui/controls/parameters.d.ts +1 -0
  163. package/lib/commonjs/mol-plugin-ui/controls/parameters.js +22 -5
  164. package/lib/commonjs/mol-plugin-ui/sequence/sequence.d.ts +25 -17
  165. package/lib/commonjs/mol-plugin-ui/sequence.d.ts +19 -1
  166. package/lib/commonjs/mol-plugin-ui/sequence.js +8 -1
  167. package/lib/commonjs/mol-plugin-ui/state/apply-action.d.ts +2 -10
  168. package/lib/commonjs/mol-plugin-ui/state/apply-action.js +2 -2
  169. package/lib/commonjs/mol-plugin-ui/structure/quick-styles.js +2 -2
  170. package/lib/commonjs/mol-plugin-ui/structure/superposition.d.ts +1 -1
  171. package/lib/commonjs/mol-plugin-ui/structure/volume.d.ts +1 -1
  172. package/lib/commonjs/mol-plugin-ui/structure/volume.js +3 -2
  173. package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +1 -0
  174. package/lib/commonjs/mol-repr/structure/params.d.ts +2 -0
  175. package/lib/commonjs/mol-repr/structure/registry.d.ts +12 -0
  176. package/lib/commonjs/mol-repr/structure/representation/backbone.d.ts +3 -0
  177. package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +6 -0
  178. package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +6 -0
  179. package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +3 -0
  180. package/lib/commonjs/mol-repr/structure/representation/gaussian-volume.d.ts +3 -0
  181. package/lib/commonjs/mol-repr/structure/representation/line.d.ts +3 -0
  182. package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +3 -0
  183. package/lib/commonjs/mol-repr/structure/representation/point.d.ts +3 -0
  184. package/lib/commonjs/mol-repr/structure/representation/spacefill.d.ts +6 -0
  185. package/lib/commonjs/mol-repr/structure/units-visual.d.ts +2 -0
  186. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +4 -0
  187. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.js +2 -0
  188. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.d.ts +1 -0
  189. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.js +1 -0
  190. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +4 -0
  191. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.js +2 -0
  192. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.d.ts +1 -0
  193. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.js +1 -0
  194. package/lib/commonjs/mol-repr/structure/visual/element-cross.d.ts +1 -0
  195. package/lib/commonjs/mol-repr/structure/visual/element-cross.js +2 -1
  196. package/lib/commonjs/mol-repr/structure/visual/element-point.d.ts +1 -0
  197. package/lib/commonjs/mol-repr/structure/visual/element-point.js +2 -1
  198. package/lib/commonjs/mol-repr/structure/visual/element-sphere.d.ts +4 -0
  199. package/lib/commonjs/mol-repr/structure/visual/element-sphere.js +3 -1
  200. package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.d.ts +2 -0
  201. package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.js +6 -2
  202. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +4 -0
  203. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.js +9 -1
  204. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +1 -0
  205. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.js +3 -1
  206. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +1 -0
  207. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.js +4 -0
  208. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +1 -0
  209. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.js +2 -0
  210. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +2 -0
  211. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -0
  212. package/lib/commonjs/mol-repr/structure/visual/util/bond.d.ts +7 -0
  213. package/lib/commonjs/mol-repr/structure/visual/util/bond.js +18 -7
  214. package/lib/commonjs/mol-repr/structure/visual/util/common.d.ts +4 -1
  215. package/lib/commonjs/mol-repr/structure/visual/util/common.js +10 -6
  216. package/lib/commonjs/mol-repr/structure/visual/util/element.d.ts +1 -0
  217. package/lib/commonjs/mol-repr/structure/visual/util/element.js +2 -3
  218. package/lib/commonjs/mol-repr/structure/visual/util/gaussian.d.ts +2 -0
  219. package/lib/commonjs/mol-repr/volume/direct-volume.d.ts +4 -4
  220. package/lib/commonjs/mol-repr/volume/direct-volume.js +8 -6
  221. package/lib/commonjs/mol-repr/volume/isosurface.d.ts +4 -4
  222. package/lib/commonjs/mol-repr/volume/isosurface.js +17 -16
  223. package/lib/commonjs/mol-repr/volume/registry.d.ts +54 -1
  224. package/lib/commonjs/mol-repr/volume/registry.js +3 -1
  225. package/lib/commonjs/mol-repr/volume/representation.d.ts +11 -7
  226. package/lib/commonjs/mol-repr/volume/representation.js +142 -47
  227. package/lib/commonjs/mol-repr/volume/segment.d.ts +291 -0
  228. package/lib/commonjs/mol-repr/volume/segment.js +289 -0
  229. package/lib/commonjs/mol-repr/volume/slice.d.ts +2 -2
  230. package/lib/commonjs/mol-repr/volume/slice.js +5 -5
  231. package/lib/commonjs/mol-repr/volume/util.d.ts +12 -3
  232. package/lib/commonjs/mol-repr/volume/util.js +72 -6
  233. package/lib/commonjs/mol-script/language/builder.d.ts +1 -0
  234. package/lib/commonjs/mol-theme/color/volume-segment.d.ts +41 -0
  235. package/lib/commonjs/mol-theme/color/volume-segment.js +58 -0
  236. package/lib/commonjs/mol-theme/color/volume-value.js +2 -1
  237. package/lib/commonjs/mol-theme/color.d.ts +15 -0
  238. package/lib/commonjs/mol-theme/color.js +2 -0
  239. package/lib/commonjs/mol-theme/label.d.ts +1 -1
  240. package/lib/commonjs/mol-theme/label.js +13 -1
  241. package/lib/commonjs/mol-util/param-definition.d.ts +4 -1
  242. package/lib/commonjs/mol-util/param-definition.js +5 -2
  243. package/lib/examples/alpha-orbitals/index.html +72 -72
  244. package/lib/examples/basic-wrapper/index.html +137 -137
  245. package/lib/examples/lighting/index.html +88 -88
  246. package/lib/examples/lighting/index.js +1 -1
  247. package/lib/examples/proteopedia-wrapper/index.html +236 -236
  248. package/lib/extensions/anvil/behavior.d.ts +1 -0
  249. package/lib/extensions/cellpack/model.js +2 -1
  250. package/lib/extensions/dnatco/confal-pyramids/behavior.d.ts +1 -0
  251. package/lib/extensions/meshes/choice.d.ts +26 -0
  252. package/lib/extensions/meshes/choice.js +28 -0
  253. package/lib/extensions/meshes/examples.d.ts +26 -0
  254. package/lib/extensions/meshes/examples.js +325 -0
  255. package/lib/extensions/meshes/mesh-cif-schema.d.ts +29 -0
  256. package/lib/extensions/meshes/mesh-cif-schema.js +30 -0
  257. package/lib/extensions/meshes/mesh-extension.d.ts +66 -0
  258. package/lib/extensions/meshes/mesh-extension.js +218 -0
  259. package/lib/extensions/meshes/mesh-streaming/behavior.d.ts +105 -0
  260. package/lib/extensions/meshes/mesh-streaming/behavior.js +375 -0
  261. package/lib/extensions/meshes/mesh-streaming/server-info.d.ts +54 -0
  262. package/lib/extensions/meshes/mesh-streaming/server-info.js +26 -0
  263. package/lib/extensions/meshes/mesh-streaming/transformers.d.ts +42 -0
  264. package/lib/extensions/meshes/mesh-streaming/transformers.js +270 -0
  265. package/lib/extensions/meshes/mesh-utils.d.ts +41 -0
  266. package/lib/extensions/meshes/mesh-utils.js +346 -0
  267. package/lib/extensions/meshes/metadata.d.ts +108 -0
  268. package/lib/extensions/meshes/metadata.js +69 -0
  269. package/lib/extensions/model-archive/quality-assessment/behavior.d.ts +2 -0
  270. package/lib/extensions/model-archive/quality-assessment/prop.d.ts +1 -0
  271. package/lib/extensions/model-archive/quality-assessment/prop.js +16 -4
  272. package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +4 -2
  273. package/lib/extensions/rcsb/validation-report/behavior.d.ts +3 -0
  274. package/lib/extensions/volumes-and-segmentations/entry-meshes.d.ts +17 -0
  275. package/lib/extensions/volumes-and-segmentations/entry-meshes.js +153 -0
  276. package/lib/extensions/volumes-and-segmentations/entry-models.d.ts +12 -0
  277. package/lib/extensions/volumes-and-segmentations/entry-models.js +93 -0
  278. package/lib/extensions/volumes-and-segmentations/entry-root.d.ts +122 -0
  279. package/lib/extensions/volumes-and-segmentations/entry-root.js +571 -0
  280. package/lib/extensions/volumes-and-segmentations/entry-segmentation.d.ts +20 -0
  281. package/lib/extensions/volumes-and-segmentations/entry-segmentation.js +197 -0
  282. package/lib/extensions/volumes-and-segmentations/entry-state.d.ts +88 -0
  283. package/lib/extensions/volumes-and-segmentations/entry-state.js +29 -0
  284. package/lib/extensions/volumes-and-segmentations/entry-volume.d.ts +35 -0
  285. package/lib/extensions/volumes-and-segmentations/entry-volume.js +231 -0
  286. package/lib/extensions/volumes-and-segmentations/external-api.d.ts +11 -0
  287. package/lib/extensions/volumes-and-segmentations/external-api.js +80 -0
  288. package/lib/extensions/volumes-and-segmentations/global-state.d.ts +51 -0
  289. package/lib/extensions/volumes-and-segmentations/global-state.js +80 -0
  290. package/lib/extensions/volumes-and-segmentations/helpers.d.ts +56 -0
  291. package/lib/extensions/volumes-and-segmentations/helpers.js +163 -0
  292. package/lib/extensions/volumes-and-segmentations/index.d.ts +20 -0
  293. package/lib/extensions/volumes-and-segmentations/index.js +127 -0
  294. package/lib/extensions/volumes-and-segmentations/transformers.d.ts +33 -0
  295. package/lib/extensions/volumes-and-segmentations/transformers.js +82 -0
  296. package/lib/extensions/volumes-and-segmentations/ui.d.ts +29 -0
  297. package/lib/extensions/volumes-and-segmentations/ui.js +229 -0
  298. package/lib/extensions/volumes-and-segmentations/volseg-api/api.d.ts +22 -0
  299. package/lib/extensions/volumes-and-segmentations/volseg-api/api.js +80 -0
  300. package/lib/extensions/volumes-and-segmentations/volseg-api/data.d.ts +92 -0
  301. package/lib/extensions/volumes-and-segmentations/volseg-api/data.js +6 -0
  302. package/lib/extensions/volumes-and-segmentations/volseg-api/utils.d.ts +23 -0
  303. package/lib/extensions/volumes-and-segmentations/volseg-api/utils.js +75 -0
  304. package/lib/mol-canvas3d/canvas3d.d.ts +2 -0
  305. package/lib/mol-canvas3d/passes/draw.js +3 -3
  306. package/lib/mol-canvas3d/passes/image.d.ts +1 -0
  307. package/lib/mol-canvas3d/passes/postprocessing.d.ts +2 -1
  308. package/lib/mol-canvas3d/passes/postprocessing.js +27 -13
  309. package/lib/mol-geo/geometry/cylinders/cylinders.d.ts +2 -1
  310. package/lib/mol-geo/geometry/cylinders/cylinders.js +3 -2
  311. package/lib/mol-geo/geometry/lines/lines.d.ts +0 -1
  312. package/lib/mol-geo/geometry/points/points.d.ts +1 -1
  313. package/lib/mol-geo/geometry/spheres/spheres.d.ts +1 -0
  314. package/lib/mol-geo/geometry/spheres/spheres.js +3 -2
  315. package/lib/mol-gl/compute/histogram-pyramid/reduction.js +1 -2
  316. package/lib/mol-gl/compute/marching-cubes/isosurface.js +4 -6
  317. package/lib/mol-gl/renderable/cylinders.d.ts +1 -0
  318. package/lib/mol-gl/renderable/cylinders.js +1 -1
  319. package/lib/mol-gl/renderable/spheres.d.ts +1 -0
  320. package/lib/mol-gl/renderable/spheres.js +1 -1
  321. package/lib/mol-gl/shader/chunks/apply-light-color.glsl.d.ts +1 -1
  322. package/lib/mol-gl/shader/chunks/apply-light-color.glsl.js +1 -1
  323. package/lib/mol-gl/shader/chunks/clip-instance.glsl.d.ts +1 -1
  324. package/lib/mol-gl/shader/chunks/clip-instance.glsl.js +1 -1
  325. package/lib/mol-gl/shader/chunks/clip-pixel.glsl.d.ts +1 -1
  326. package/lib/mol-gl/shader/chunks/clip-pixel.glsl.js +1 -1
  327. package/lib/mol-gl/shader/chunks/common-clip.glsl.d.ts +2 -2
  328. package/lib/mol-gl/shader/chunks/common-clip.glsl.js +2 -2
  329. package/lib/mol-gl/shader/cylinders.frag.d.ts +1 -1
  330. package/lib/mol-gl/shader/cylinders.frag.js +1 -1
  331. package/lib/mol-gl/shader/cylinders.vert.d.ts +2 -2
  332. package/lib/mol-gl/shader/cylinders.vert.js +2 -2
  333. package/lib/mol-gl/shader/direct-volume.frag.d.ts +1 -1
  334. package/lib/mol-gl/shader/direct-volume.frag.js +1 -1
  335. package/lib/mol-gl/shader/outlines.frag.d.ts +1 -1
  336. package/lib/mol-gl/shader/outlines.frag.js +1 -1
  337. package/lib/mol-gl/shader/postprocessing.frag.d.ts +1 -1
  338. package/lib/mol-gl/shader/postprocessing.frag.js +1 -1
  339. package/lib/mol-gl/shader/spheres.frag.d.ts +1 -1
  340. package/lib/mol-gl/shader/spheres.frag.js +1 -1
  341. package/lib/mol-gl/shader/spheres.vert.d.ts +2 -2
  342. package/lib/mol-gl/shader/spheres.vert.js +2 -2
  343. package/lib/mol-gl/webgl/renderbuffer.d.ts +1 -1
  344. package/lib/mol-gl/webgl/renderbuffer.js +15 -0
  345. package/lib/mol-gl/webgl/state.d.ts +12 -0
  346. package/lib/mol-gl/webgl/state.js +136 -0
  347. package/lib/mol-io/reader/cif/schema/segmentation.d.ts +38 -0
  348. package/lib/mol-io/reader/cif/schema/segmentation.js +19 -0
  349. package/lib/mol-io/reader/cif.d.ts +3 -1
  350. package/lib/mol-io/reader/cif.js +3 -1
  351. package/lib/mol-model/location.d.ts +2 -1
  352. package/lib/mol-model/loci.d.ts +11 -11
  353. package/lib/mol-model/loci.js +13 -1
  354. package/lib/mol-model/sequence/alignment/sequence.d.ts +4 -1
  355. package/lib/mol-model/sequence/alignment/sequence.js +3 -2
  356. package/lib/mol-model/structure/model/properties/atomic/hierarchy.d.ts +6 -0
  357. package/lib/mol-model/structure/model/properties/utils/atomic-index.js +8 -0
  358. package/lib/mol-model/structure/structure/unit/bonds/inter-compute.js +21 -5
  359. package/lib/mol-model/structure/structure/util/superposition.d.ts +1 -0
  360. package/lib/mol-model/structure/structure/util/superposition.js +1 -1
  361. package/lib/mol-model/volume/volume.d.ts +35 -2
  362. package/lib/mol-model/volume/volume.js +79 -4
  363. package/lib/mol-model-formats/volume/segmentation.d.ts +23 -0
  364. package/lib/mol-model-formats/volume/segmentation.js +135 -0
  365. package/lib/mol-plugin/behavior/dynamic/representation.d.ts +2 -2
  366. package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +1 -0
  367. package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js +2 -1
  368. package/lib/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +2 -3
  369. package/lib/mol-plugin/commands.d.ts +1 -0
  370. package/lib/mol-plugin/version.js +2 -2
  371. package/lib/mol-plugin-state/animation/built-in/model-index.js +4 -1
  372. package/lib/mol-plugin-state/builder/structure/hierarchy-preset.d.ts +2 -0
  373. package/lib/mol-plugin-state/builder/structure/hierarchy.d.ts +1 -0
  374. package/lib/mol-plugin-state/builder/structure/representation-preset.d.ts +13 -4
  375. package/lib/mol-plugin-state/builder/structure/representation-preset.js +6 -1
  376. package/lib/mol-plugin-state/builder/structure/representation.d.ts +1 -0
  377. package/lib/mol-plugin-state/formats/provider.d.ts +2 -2
  378. package/lib/mol-plugin-state/formats/provider.js +11 -3
  379. package/lib/mol-plugin-state/formats/registry.js +6 -5
  380. package/lib/mol-plugin-state/formats/volume.d.ts +27 -0
  381. package/lib/mol-plugin-state/formats/volume.js +64 -0
  382. package/lib/mol-plugin-state/manager/structure/component.d.ts +1 -1
  383. package/lib/mol-plugin-state/manager/structure/component.js +18 -13
  384. package/lib/mol-plugin-state/transforms/representation.d.ts +1 -2
  385. package/lib/mol-plugin-state/transforms/representation.js +5 -6
  386. package/lib/mol-plugin-state/transforms/volume.d.ts +11 -1
  387. package/lib/mol-plugin-state/transforms/volume.js +54 -1
  388. package/lib/mol-plugin-ui/controls/line-graph/line-graph-component.d.ts +1 -0
  389. package/lib/mol-plugin-ui/controls/line-graph/line-graph-component.js +33 -13
  390. package/lib/mol-plugin-ui/controls/parameters.d.ts +1 -0
  391. package/lib/mol-plugin-ui/controls/parameters.js +22 -5
  392. package/lib/mol-plugin-ui/sequence/sequence.d.ts +25 -17
  393. package/lib/mol-plugin-ui/sequence.d.ts +19 -1
  394. package/lib/mol-plugin-ui/sequence.js +7 -7
  395. package/lib/mol-plugin-ui/skin/base/base.scss +32 -32
  396. package/lib/mol-plugin-ui/skin/base/components/controls-base.scss +333 -333
  397. package/lib/mol-plugin-ui/skin/base/components/controls.scss +418 -418
  398. package/lib/mol-plugin-ui/skin/base/components/help.scss +27 -27
  399. package/lib/mol-plugin-ui/skin/base/components/line-graph.scss +67 -67
  400. package/lib/mol-plugin-ui/skin/base/components/log.scss +100 -100
  401. package/lib/mol-plugin-ui/skin/base/components/misc.scss +643 -643
  402. package/lib/mol-plugin-ui/skin/base/components/sequence.scss +125 -125
  403. package/lib/mol-plugin-ui/skin/base/components/slider.scss +165 -165
  404. package/lib/mol-plugin-ui/skin/base/components/tasks.scss +99 -99
  405. package/lib/mol-plugin-ui/skin/base/components/toast.scss +83 -83
  406. package/lib/mol-plugin-ui/skin/base/components/transformer.scss +163 -163
  407. package/lib/mol-plugin-ui/skin/base/components/viewport.scss +137 -128
  408. package/lib/mol-plugin-ui/skin/base/layout/common.scss +71 -71
  409. package/lib/mol-plugin-ui/skin/base/layout/controls-landscape.scss +89 -89
  410. package/lib/mol-plugin-ui/skin/base/layout/controls-outside.scss +98 -98
  411. package/lib/mol-plugin-ui/skin/base/layout/controls-portrait.scss +108 -108
  412. package/lib/mol-plugin-ui/skin/base/layout.scss +40 -40
  413. package/lib/mol-plugin-ui/skin/base/logo.scss +12 -12
  414. package/lib/mol-plugin-ui/skin/base/normalize.scss +209 -209
  415. package/lib/mol-plugin-ui/skin/base/ui.scss +40 -40
  416. package/lib/mol-plugin-ui/skin/base/variables.scss +85 -85
  417. package/lib/mol-plugin-ui/skin/blue.scss +1 -1
  418. package/lib/mol-plugin-ui/skin/colors/blue.scss +23 -23
  419. package/lib/mol-plugin-ui/skin/colors/dark.scss +23 -23
  420. package/lib/mol-plugin-ui/skin/colors/light.scss +29 -29
  421. package/lib/mol-plugin-ui/skin/dark.scss +1 -1
  422. package/lib/mol-plugin-ui/skin/light.scss +1 -1
  423. package/lib/mol-plugin-ui/state/apply-action.d.ts +2 -10
  424. package/lib/mol-plugin-ui/state/apply-action.js +2 -2
  425. package/lib/mol-plugin-ui/structure/quick-styles.js +2 -2
  426. package/lib/mol-plugin-ui/structure/superposition.d.ts +1 -1
  427. package/lib/mol-plugin-ui/structure/volume.d.ts +1 -1
  428. package/lib/mol-plugin-ui/structure/volume.js +3 -2
  429. package/lib/mol-repr/structure/complex-visual.d.ts +1 -0
  430. package/lib/mol-repr/structure/params.d.ts +2 -0
  431. package/lib/mol-repr/structure/registry.d.ts +12 -0
  432. package/lib/mol-repr/structure/representation/backbone.d.ts +3 -0
  433. package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +6 -0
  434. package/lib/mol-repr/structure/representation/ellipsoid.d.ts +6 -0
  435. package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +3 -0
  436. package/lib/mol-repr/structure/representation/gaussian-volume.d.ts +3 -0
  437. package/lib/mol-repr/structure/representation/line.d.ts +3 -0
  438. package/lib/mol-repr/structure/representation/molecular-surface.d.ts +3 -0
  439. package/lib/mol-repr/structure/representation/point.d.ts +3 -0
  440. package/lib/mol-repr/structure/representation/spacefill.d.ts +6 -0
  441. package/lib/mol-repr/structure/units-visual.d.ts +2 -0
  442. package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +4 -0
  443. package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.js +2 -0
  444. package/lib/mol-repr/structure/visual/bond-inter-unit-line.d.ts +1 -0
  445. package/lib/mol-repr/structure/visual/bond-inter-unit-line.js +1 -0
  446. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +4 -0
  447. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.js +2 -0
  448. package/lib/mol-repr/structure/visual/bond-intra-unit-line.d.ts +1 -0
  449. package/lib/mol-repr/structure/visual/bond-intra-unit-line.js +1 -0
  450. package/lib/mol-repr/structure/visual/element-cross.d.ts +1 -0
  451. package/lib/mol-repr/structure/visual/element-cross.js +2 -1
  452. package/lib/mol-repr/structure/visual/element-point.d.ts +1 -0
  453. package/lib/mol-repr/structure/visual/element-point.js +2 -1
  454. package/lib/mol-repr/structure/visual/element-sphere.d.ts +4 -0
  455. package/lib/mol-repr/structure/visual/element-sphere.js +3 -1
  456. package/lib/mol-repr/structure/visual/gaussian-density-volume.d.ts +2 -0
  457. package/lib/mol-repr/structure/visual/gaussian-density-volume.js +6 -2
  458. package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +4 -0
  459. package/lib/mol-repr/structure/visual/gaussian-surface-mesh.js +9 -1
  460. package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +1 -0
  461. package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.js +3 -1
  462. package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +1 -0
  463. package/lib/mol-repr/structure/visual/molecular-surface-mesh.js +4 -0
  464. package/lib/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +1 -0
  465. package/lib/mol-repr/structure/visual/molecular-surface-wireframe.js +2 -0
  466. package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +2 -0
  467. package/lib/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -0
  468. package/lib/mol-repr/structure/visual/util/bond.d.ts +7 -0
  469. package/lib/mol-repr/structure/visual/util/bond.js +19 -8
  470. package/lib/mol-repr/structure/visual/util/common.d.ts +4 -1
  471. package/lib/mol-repr/structure/visual/util/common.js +10 -6
  472. package/lib/mol-repr/structure/visual/util/element.d.ts +1 -0
  473. package/lib/mol-repr/structure/visual/util/element.js +3 -4
  474. package/lib/mol-repr/structure/visual/util/gaussian.d.ts +2 -0
  475. package/lib/mol-repr/volume/direct-volume.d.ts +4 -4
  476. package/lib/mol-repr/volume/direct-volume.js +8 -6
  477. package/lib/mol-repr/volume/isosurface.d.ts +4 -4
  478. package/lib/mol-repr/volume/isosurface.js +17 -16
  479. package/lib/mol-repr/volume/registry.d.ts +54 -1
  480. package/lib/mol-repr/volume/registry.js +3 -1
  481. package/lib/mol-repr/volume/representation.d.ts +11 -7
  482. package/lib/mol-repr/volume/representation.js +144 -49
  483. package/lib/mol-repr/volume/segment.d.ts +291 -0
  484. package/lib/mol-repr/volume/segment.js +279 -0
  485. package/lib/mol-repr/volume/slice.d.ts +2 -2
  486. package/lib/mol-repr/volume/slice.js +5 -5
  487. package/lib/mol-repr/volume/util.d.ts +12 -3
  488. package/lib/mol-repr/volume/util.js +71 -6
  489. package/lib/mol-script/language/builder.d.ts +1 -0
  490. package/lib/mol-theme/color/volume-segment.d.ts +41 -0
  491. package/lib/mol-theme/color/volume-segment.js +53 -0
  492. package/lib/mol-theme/color/volume-value.js +2 -1
  493. package/lib/mol-theme/color.d.ts +15 -0
  494. package/lib/mol-theme/color.js +2 -0
  495. package/lib/mol-theme/label.d.ts +1 -1
  496. package/lib/mol-theme/label.js +13 -1
  497. package/lib/mol-util/param-definition.d.ts +4 -1
  498. package/lib/mol-util/param-definition.js +5 -2
  499. package/package.json +169 -168
@@ -6,7 +6,25 @@
6
6
  */
7
7
  /// <reference types="react" />
8
8
  import { PluginUIComponent } from './base';
9
- import { Structure } from '../mol-model/structure';
9
+ import { Structure, StructureElement } from '../mol-model/structure';
10
+ import { SequenceWrapper } from './sequence/wrapper';
11
+ import { State } from '../mol-state';
12
+ import { StructureSelectionManager } from '../mol-plugin-state/manager/structure/selection';
13
+ export declare function opKey(l: StructureElement.Location): string;
14
+ export declare function splitModelEntityId(modelEntityId: string): (string | number)[];
15
+ export declare function getSequenceWrapper(state: {
16
+ structure: Structure;
17
+ modelEntityId: string;
18
+ chainGroupId: number;
19
+ operatorKey: string;
20
+ }, structureSelection: StructureSelectionManager): SequenceWrapper.Any | string;
21
+ export declare function getModelEntityOptions(structure: Structure, polymersOnly?: boolean): [string, string][];
22
+ export declare function getChainOptions(structure: Structure, modelEntityId: string): [number, string][];
23
+ export declare function getOperatorOptions(structure: Structure, modelEntityId: string, chainGroupId: number): [string, string][];
24
+ export declare function getStructureOptions(state: State): {
25
+ options: [string, string][];
26
+ all: Structure[];
27
+ };
10
28
  export type SequenceViewMode = 'single' | 'polymers' | 'all';
11
29
  type SequenceViewState = {
12
30
  structureOptions: {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SequenceView = void 0;
3
+ exports.SequenceView = exports.getStructureOptions = exports.getOperatorOptions = exports.getChainOptions = exports.getModelEntityOptions = exports.getSequenceWrapper = exports.splitModelEntityId = exports.opKey = void 0;
4
4
  var tslib_1 = require("tslib");
5
5
  var jsx_runtime_1 = require("react/jsx-runtime");
6
6
  /**
@@ -36,10 +36,12 @@ function opKey(l) {
36
36
  var spgrOp = structure_1.StructureProperties.unit.spgrOp(l);
37
37
  return "".concat(ids.sort().join(','), "|").concat(ncs, "|").concat(hkl, "|").concat(spgrOp);
38
38
  }
39
+ exports.opKey = opKey;
39
40
  function splitModelEntityId(modelEntityId) {
40
41
  var _a = modelEntityId.split('|'), modelIdx = _a[0], entityId = _a[1];
41
42
  return [parseInt(modelIdx), entityId];
42
43
  }
44
+ exports.splitModelEntityId = splitModelEntityId;
43
45
  function getSequenceWrapper(state, structureSelection) {
44
46
  var structure = state.structure, modelEntityId = state.modelEntityId, chainGroupId = state.chainGroupId, operatorKey = state.operatorKey;
45
47
  var l = structure_1.StructureElement.Location.create(structure);
@@ -99,6 +101,7 @@ function getSequenceWrapper(state, structureSelection) {
99
101
  return 'No sequence available';
100
102
  }
101
103
  }
104
+ exports.getSequenceWrapper = getSequenceWrapper;
102
105
  function getModelEntityOptions(structure, polymersOnly) {
103
106
  if (polymersOnly === void 0) { polymersOnly = false; }
104
107
  var options = [];
@@ -134,6 +137,7 @@ function getModelEntityOptions(structure, polymersOnly) {
134
137
  options.push(['', 'No entities']);
135
138
  return options;
136
139
  }
140
+ exports.getModelEntityOptions = getModelEntityOptions;
137
141
  function getChainOptions(structure, modelEntityId) {
138
142
  var options = [];
139
143
  var l = structure_1.StructureElement.Location.create(structure);
@@ -162,6 +166,7 @@ function getChainOptions(structure, modelEntityId) {
162
166
  options.push([-1, 'No chains']);
163
167
  return options;
164
168
  }
169
+ exports.getChainOptions = getChainOptions;
165
170
  function getOperatorOptions(structure, modelEntityId, chainGroupId) {
166
171
  var options = [];
167
172
  var l = structure_1.StructureElement.Location.create(structure);
@@ -190,6 +195,7 @@ function getOperatorOptions(structure, modelEntityId, chainGroupId) {
190
195
  options.push(['', 'No operators']);
191
196
  return options;
192
197
  }
198
+ exports.getOperatorOptions = getOperatorOptions;
193
199
  function getStructureOptions(state) {
194
200
  var _a;
195
201
  var options = [];
@@ -206,6 +212,7 @@ function getStructureOptions(state) {
206
212
  options.push(['', 'No structure']);
207
213
  return { options: options, all: all };
208
214
  }
215
+ exports.getStructureOptions = getStructureOptions;
209
216
  var SequenceViewModeParam = param_definition_1.ParamDefinition.Select('single', [['single', 'Chain'], ['polymers', 'Polymers'], ['all', 'Everything']]);
210
217
  var SequenceView = /** @class */ (function (_super) {
211
218
  tslib_1.__extends(SequenceView, _super);
@@ -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
  }
@@ -15,7 +15,7 @@ var ApplyActionControl = /** @class */ (function (_super) {
15
15
  tslib_1.__extends(ApplyActionControl, _super);
16
16
  function ApplyActionControl() {
17
17
  var _this = _super !== null && _super.apply(this, arguments) || this;
18
- _this._getInfo = (0, memoize_1.memoizeLatest)(function (t, v) { return common_1.StateTransformParameters.infoFromAction(_this.plugin, _this.props.state, _this.props.action, _this.props.nodeRef); });
18
+ _this._getInfo = (0, memoize_1.memoizeLatest)(function (t, v, collapsed) { return common_1.StateTransformParameters.infoFromAction(_this.plugin, _this.props.state, _this.props.action, _this.props.nodeRef); });
19
19
  _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 };
20
20
  return _this;
21
21
  }
@@ -26,7 +26,7 @@ var ApplyActionControl = /** @class */ (function (_super) {
26
26
  ref: this.props.nodeRef
27
27
  });
28
28
  };
29
- ApplyActionControl.prototype.getInfo = function () { return this._getInfo(this.props.nodeRef, this.props.state.transforms.get(this.props.nodeRef).version); };
29
+ 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); };
30
30
  ApplyActionControl.prototype.getTransformerId = function () { return this.props.state.transforms.get(this.props.nodeRef).transformer.id; };
31
31
  ApplyActionControl.prototype.getHeader = function () { return this.props.hideHeader ? 'none' : this.props.action.definition.display; };
32
32
  ApplyActionControl.prototype.canApply = function () { return !this.state.error && !this.state.busy; };
@@ -79,7 +79,7 @@ var QuickStyles = /** @class */ (function (_super) {
79
79
  postprocessing: {
80
80
  outline: {
81
81
  name: 'on',
82
- params: { scale: 1, color: (0, color_1.Color)(0x000000), threshold: 0.25 }
82
+ params: { scale: 1, color: (0, color_1.Color)(0x000000), threshold: 0.25, includeTransparent: true }
83
83
  },
84
84
  occlusion: {
85
85
  name: 'on',
@@ -107,7 +107,7 @@ var QuickStyles = /** @class */ (function (_super) {
107
107
  name: 'on',
108
108
  params: pp.outline.name === 'on'
109
109
  ? pp.outline.params
110
- : { scale: 1, color: (0, color_1.Color)(0x000000), threshold: 0.33 }
110
+ : { scale: 1, color: (0, color_1.Color)(0x000000), threshold: 0.33, includeTransparent: true }
111
111
  },
112
112
  occlusion: {
113
113
  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>
@@ -300,10 +300,11 @@ var VolumeRepresentationControls = /** @class */ (function (_super) {
300
300
  _this.focus = function () {
301
301
  var _a;
302
302
  var repr = _this.props.representation;
303
- var objects = (_a = _this.props.representation.cell.obj) === null || _a === void 0 ? void 0 : _a.data.repr.renderObjects;
303
+ var lociList = (_a = repr.cell.obj) === null || _a === void 0 ? void 0 : _a.data.repr.getAllLoci();
304
304
  if (repr.cell.state.isHidden)
305
305
  _this.plugin.managers.volume.hierarchy.toggleVisibility([_this.props.representation], 'show');
306
- _this.plugin.managers.camera.focusRenderObjects(objects, { extraRadius: 1 });
306
+ if (lociList)
307
+ _this.plugin.managers.camera.focusLoci(lociList, { extraRadius: 1 });
307
308
  };
308
309
  return _this;
309
310
  }
@@ -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;
@@ -13,6 +13,7 @@ export declare const SpacefillParams: {
13
13
  sizeFactor: PD.Numeric;
14
14
  detail: PD.Numeric;
15
15
  ignoreHydrogens: PD.BooleanParam;
16
+ ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
16
17
  traceOnly: PD.BooleanParam;
17
18
  tryUseImpostor: PD.BooleanParam;
18
19
  unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
@@ -21,6 +22,7 @@ export declare const SpacefillParams: {
21
22
  ignoreLight: PD.BooleanParam;
22
23
  xrayShaded: PD.BooleanParam;
23
24
  transparentBackfaces: PD.Select<string>;
25
+ solidInterior: PD.BooleanParam;
24
26
  bumpAmplitude: PD.Numeric;
25
27
  alpha: PD.Numeric;
26
28
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -49,6 +51,7 @@ export declare function getSpacefillParams(ctx: ThemeRegistryContext, structure:
49
51
  sizeFactor: PD.Numeric;
50
52
  detail: PD.Numeric;
51
53
  ignoreHydrogens: PD.BooleanParam;
54
+ ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
52
55
  traceOnly: PD.BooleanParam;
53
56
  tryUseImpostor: PD.BooleanParam;
54
57
  unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
@@ -57,6 +60,7 @@ export declare function getSpacefillParams(ctx: ThemeRegistryContext, structure:
57
60
  ignoreLight: PD.BooleanParam;
58
61
  xrayShaded: PD.BooleanParam;
59
62
  transparentBackfaces: PD.Select<string>;
63
+ solidInterior: PD.BooleanParam;
60
64
  bumpAmplitude: PD.Numeric;
61
65
  alpha: PD.Numeric;
62
66
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -86,6 +90,7 @@ export declare const SpacefillRepresentationProvider: StructureRepresentationPro
86
90
  sizeFactor: PD.Numeric;
87
91
  detail: PD.Numeric;
88
92
  ignoreHydrogens: PD.BooleanParam;
93
+ ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
89
94
  traceOnly: PD.BooleanParam;
90
95
  tryUseImpostor: PD.BooleanParam;
91
96
  unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
@@ -94,6 +99,7 @@ export declare const SpacefillRepresentationProvider: StructureRepresentationPro
94
99
  ignoreLight: PD.BooleanParam;
95
100
  xrayShaded: PD.BooleanParam;
96
101
  transparentBackfaces: PD.Select<string>;
102
+ solidInterior: PD.BooleanParam;
97
103
  bumpAmplitude: PD.Numeric;
98
104
  alpha: PD.Numeric;
99
105
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -85,6 +85,7 @@ export declare const UnitsSpheresParams: {
85
85
  ignoreLight: PD.BooleanParam;
86
86
  xrayShaded: PD.BooleanParam;
87
87
  transparentBackfaces: PD.Select<string>;
88
+ solidInterior: PD.BooleanParam;
88
89
  bumpFrequency: PD.Numeric;
89
90
  bumpAmplitude: PD.Numeric;
90
91
  alpha: PD.Numeric;
@@ -119,6 +120,7 @@ export declare const UnitsCylindersParams: {
119
120
  ignoreLight: PD.BooleanParam;
120
121
  xrayShaded: PD.BooleanParam;
121
122
  transparentBackfaces: PD.Select<string>;
123
+ solidInterior: PD.BooleanParam;
122
124
  bumpFrequency: PD.Numeric;
123
125
  bumpAmplitude: PD.Numeric;
124
126
  alpha: PD.Numeric;