molstar 2.3.7 → 2.4.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.
Files changed (1699) hide show
  1. package/build/viewer/molstar.css +1 -2
  2. package/build/viewer/molstar.js +1 -1
  3. package/lib/apps/docking-viewer/index.js +1 -1
  4. package/lib/apps/docking-viewer/index.js.map +1 -1
  5. package/lib/apps/docking-viewer/viewport.d.ts +2 -2
  6. package/lib/apps/viewer/index.d.ts +1 -1
  7. package/lib/apps/viewer/index.js +3 -3
  8. package/lib/apps/viewer/index.js.map +1 -1
  9. package/lib/cli/chem-comp-dict/create-ions.js +1 -1
  10. package/lib/cli/chem-comp-dict/create-ions.js.map +1 -1
  11. package/lib/cli/chem-comp-dict/create-table.js +3 -3
  12. package/lib/cli/chem-comp-dict/create-table.js.map +1 -1
  13. package/lib/cli/chem-comp-dict/util.d.ts +4 -4
  14. package/lib/cli/chem-comp-dict/util.js +2 -2
  15. package/lib/cli/chem-comp-dict/util.js.map +1 -1
  16. package/lib/cli/cif2bcif/converter.js +2 -2
  17. package/lib/cli/cif2bcif/converter.js.map +1 -1
  18. package/lib/cli/cifschema/index.js +12 -12
  19. package/lib/cli/cifschema/index.js.map +1 -1
  20. package/lib/cli/cifschema/util/cif-dic.js +20 -19
  21. package/lib/cli/cifschema/util/cif-dic.js.map +1 -1
  22. package/lib/cli/cifschema/util/generate.js +21 -21
  23. package/lib/cli/cifschema/util/generate.js.map +1 -1
  24. package/lib/cli/cifschema/util/schema.js +1 -1
  25. package/lib/cli/cifschema/util/schema.js.map +1 -1
  26. package/lib/cli/lipid-params/index.js +3 -3
  27. package/lib/cli/lipid-params/index.js.map +1 -1
  28. package/lib/cli/state-docs/index.js +4 -4
  29. package/lib/cli/state-docs/index.js.map +1 -1
  30. package/lib/cli/state-docs/pd-to-md.js +10 -10
  31. package/lib/cli/state-docs/pd-to-md.js.map +1 -1
  32. package/lib/cli/structure-info/model.js +18 -18
  33. package/lib/cli/structure-info/model.js.map +1 -1
  34. package/lib/cli/structure-info/volume.js +1 -1
  35. package/lib/cli/structure-info/volume.js.map +1 -1
  36. package/lib/commonjs/apps/docking-viewer/index.js +1 -1
  37. package/lib/commonjs/apps/docking-viewer/index.js.map +1 -1
  38. package/lib/commonjs/apps/docking-viewer/viewport.d.ts +2 -2
  39. package/lib/commonjs/apps/viewer/index.d.ts +7 -7
  40. package/lib/commonjs/apps/viewer/index.js +3 -3
  41. package/lib/commonjs/apps/viewer/index.js.map +1 -1
  42. package/lib/commonjs/cli/chem-comp-dict/create-ions.js +1 -1
  43. package/lib/commonjs/cli/chem-comp-dict/create-ions.js.map +1 -1
  44. package/lib/commonjs/cli/chem-comp-dict/create-table.js +3 -3
  45. package/lib/commonjs/cli/chem-comp-dict/create-table.js.map +1 -1
  46. package/lib/commonjs/cli/chem-comp-dict/util.d.ts +4 -4
  47. package/lib/commonjs/cli/chem-comp-dict/util.js +2 -2
  48. package/lib/commonjs/cli/chem-comp-dict/util.js.map +1 -1
  49. package/lib/commonjs/cli/cif2bcif/converter.js +2 -2
  50. package/lib/commonjs/cli/cif2bcif/converter.js.map +1 -1
  51. package/lib/commonjs/cli/cifschema/index.js +12 -12
  52. package/lib/commonjs/cli/cifschema/index.js.map +1 -1
  53. package/lib/commonjs/cli/cifschema/util/cif-dic.js +20 -19
  54. package/lib/commonjs/cli/cifschema/util/cif-dic.js.map +1 -1
  55. package/lib/commonjs/cli/cifschema/util/generate.js +21 -21
  56. package/lib/commonjs/cli/cifschema/util/generate.js.map +1 -1
  57. package/lib/commonjs/cli/cifschema/util/schema.js +1 -1
  58. package/lib/commonjs/cli/cifschema/util/schema.js.map +1 -1
  59. package/lib/commonjs/cli/lipid-params/index.js +3 -3
  60. package/lib/commonjs/cli/lipid-params/index.js.map +1 -1
  61. package/lib/commonjs/cli/state-docs/index.js +4 -4
  62. package/lib/commonjs/cli/state-docs/index.js.map +1 -1
  63. package/lib/commonjs/cli/state-docs/pd-to-md.js +10 -10
  64. package/lib/commonjs/cli/state-docs/pd-to-md.js.map +1 -1
  65. package/lib/commonjs/cli/structure-info/model.js +18 -18
  66. package/lib/commonjs/cli/structure-info/model.js.map +1 -1
  67. package/lib/commonjs/cli/structure-info/volume.js +1 -1
  68. package/lib/commonjs/cli/structure-info/volume.js.map +1 -1
  69. package/lib/commonjs/examples/basic-wrapper/superposition.js +3 -3
  70. package/lib/commonjs/examples/basic-wrapper/superposition.js.map +1 -1
  71. package/lib/commonjs/examples/domain-annotation-server/mapping.js +2 -2
  72. package/lib/commonjs/examples/domain-annotation-server/mapping.js.map +1 -1
  73. package/lib/commonjs/examples/domain-annotation-server/server.js +3 -3
  74. package/lib/commonjs/examples/domain-annotation-server/server.js.map +1 -1
  75. package/lib/commonjs/examples/proteopedia-wrapper/annotation.js +3 -3
  76. package/lib/commonjs/examples/proteopedia-wrapper/annotation.js.map +1 -1
  77. package/lib/commonjs/examples/proteopedia-wrapper/helpers.js +1 -1
  78. package/lib/commonjs/examples/proteopedia-wrapper/helpers.js.map +1 -1
  79. package/lib/commonjs/examples/proteopedia-wrapper/index.js +2 -2
  80. package/lib/commonjs/examples/proteopedia-wrapper/index.js.map +1 -1
  81. package/lib/commonjs/examples/task.js +6 -6
  82. package/lib/commonjs/examples/task.js.map +1 -1
  83. package/lib/commonjs/extensions/alpha-orbitals/transforms.js +2 -2
  84. package/lib/commonjs/extensions/alpha-orbitals/transforms.js.map +1 -1
  85. package/lib/commonjs/extensions/anvil/behavior.d.ts +2 -2
  86. package/lib/commonjs/extensions/anvil/representation.d.ts +5 -5
  87. package/lib/commonjs/extensions/anvil/representation.js +1 -1
  88. package/lib/commonjs/extensions/anvil/representation.js.map +1 -1
  89. package/lib/commonjs/extensions/cellpack/model.js +15 -15
  90. package/lib/commonjs/extensions/cellpack/model.js.map +1 -1
  91. package/lib/commonjs/extensions/cellpack/representation.d.ts +2 -2
  92. package/lib/commonjs/extensions/cellpack/state.js +5 -5
  93. package/lib/commonjs/extensions/cellpack/state.js.map +1 -1
  94. package/lib/commonjs/extensions/cellpack/util.js +4 -4
  95. package/lib/commonjs/extensions/cellpack/util.js.map +1 -1
  96. package/lib/commonjs/extensions/dnatco/confal-pyramids/behavior.d.ts +1 -1
  97. package/lib/commonjs/extensions/dnatco/confal-pyramids/representation.d.ts +6 -6
  98. package/lib/commonjs/extensions/dnatco/confal-pyramids/util.js +7 -7
  99. package/lib/commonjs/extensions/dnatco/confal-pyramids/util.js.map +1 -1
  100. package/lib/commonjs/extensions/g3d/data.js +2 -2
  101. package/lib/commonjs/extensions/g3d/data.js.map +1 -1
  102. package/lib/commonjs/extensions/g3d/model.js +2 -2
  103. package/lib/commonjs/extensions/g3d/model.js.map +1 -1
  104. package/lib/commonjs/extensions/geo-export/controls.js +3 -3
  105. package/lib/commonjs/extensions/geo-export/controls.js.map +1 -1
  106. package/lib/commonjs/extensions/geo-export/glb-exporter.d.ts +1 -0
  107. package/lib/commonjs/extensions/geo-export/glb-exporter.js +28 -18
  108. package/lib/commonjs/extensions/geo-export/glb-exporter.js.map +1 -1
  109. package/lib/commonjs/extensions/geo-export/mesh-exporter.d.ts +31 -2
  110. package/lib/commonjs/extensions/geo-export/mesh-exporter.js +87 -15
  111. package/lib/commonjs/extensions/geo-export/mesh-exporter.js.map +1 -1
  112. package/lib/commonjs/extensions/geo-export/obj-exporter.d.ts +1 -0
  113. package/lib/commonjs/extensions/geo-export/obj-exporter.js +27 -18
  114. package/lib/commonjs/extensions/geo-export/obj-exporter.js.map +1 -1
  115. package/lib/commonjs/extensions/geo-export/stl-exporter.js +1 -1
  116. package/lib/commonjs/extensions/geo-export/stl-exporter.js.map +1 -1
  117. package/lib/commonjs/extensions/geo-export/ui.js +24 -20
  118. package/lib/commonjs/extensions/geo-export/ui.js.map +1 -1
  119. package/lib/commonjs/extensions/geo-export/usdz-exporter.d.ts +1 -0
  120. package/lib/commonjs/extensions/geo-export/usdz-exporter.js +31 -21
  121. package/lib/commonjs/extensions/geo-export/usdz-exporter.js.map +1 -1
  122. package/lib/commonjs/extensions/mp4-export/controls.js +2 -2
  123. package/lib/commonjs/extensions/mp4-export/controls.js.map +1 -1
  124. package/lib/commonjs/extensions/mp4-export/ui.js +7 -6
  125. package/lib/commonjs/extensions/mp4-export/ui.js.map +1 -1
  126. package/lib/commonjs/extensions/pdbe/structure-quality-report/behavior.js +1 -1
  127. package/lib/commonjs/extensions/pdbe/structure-quality-report/behavior.js.map +1 -1
  128. package/lib/commonjs/extensions/pdbe/structure-quality-report/prop.js +1 -1
  129. package/lib/commonjs/extensions/pdbe/structure-quality-report/prop.js.map +1 -1
  130. package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +6 -6
  131. package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.js +3 -3
  132. package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.js.map +1 -1
  133. package/lib/commonjs/extensions/rcsb/assembly-symmetry/color.js +1 -1
  134. package/lib/commonjs/extensions/rcsb/assembly-symmetry/color.js.map +1 -1
  135. package/lib/commonjs/extensions/rcsb/assembly-symmetry/prop.js +2 -2
  136. package/lib/commonjs/extensions/rcsb/assembly-symmetry/prop.js.map +1 -1
  137. package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.d.ts +1 -1
  138. package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.js +7 -7
  139. package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.js.map +1 -1
  140. package/lib/commonjs/extensions/rcsb/graphql/types.d.ts +22 -21
  141. package/lib/commonjs/extensions/rcsb/validation-report/behavior.d.ts +3 -3
  142. package/lib/commonjs/extensions/rcsb/validation-report/behavior.js +11 -11
  143. package/lib/commonjs/extensions/rcsb/validation-report/behavior.js.map +1 -1
  144. package/lib/commonjs/extensions/rcsb/validation-report/prop.js +2 -2
  145. package/lib/commonjs/extensions/rcsb/validation-report/prop.js.map +1 -1
  146. package/lib/commonjs/extensions/rcsb/validation-report/representation.d.ts +10 -10
  147. package/lib/commonjs/extensions/rcsb/validation-report/representation.js +2 -2
  148. package/lib/commonjs/extensions/rcsb/validation-report/representation.js.map +1 -1
  149. package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +4 -4
  150. package/lib/commonjs/mol-canvas3d/canvas3d.js +3 -3
  151. package/lib/commonjs/mol-canvas3d/canvas3d.js.map +1 -1
  152. package/lib/commonjs/mol-canvas3d/helper/camera-helper.d.ts +3 -3
  153. package/lib/commonjs/mol-canvas3d/helper/handle-helper.d.ts +1 -1
  154. package/lib/commonjs/mol-canvas3d/helper/handle-helper.js +1 -1
  155. package/lib/commonjs/mol-canvas3d/helper/handle-helper.js.map +1 -1
  156. package/lib/commonjs/mol-canvas3d/passes/draw.js +3 -11
  157. package/lib/commonjs/mol-canvas3d/passes/draw.js.map +1 -1
  158. package/lib/commonjs/mol-canvas3d/passes/image.d.ts +2 -2
  159. package/lib/commonjs/mol-canvas3d/passes/wboit.js +1 -1
  160. package/lib/commonjs/mol-canvas3d/passes/wboit.js.map +1 -1
  161. package/lib/commonjs/mol-canvas3d/util.js +1 -1
  162. package/lib/commonjs/mol-canvas3d/util.js.map +1 -1
  163. package/lib/commonjs/mol-data/db/table.js +1 -1
  164. package/lib/commonjs/mol-data/db/table.js.map +1 -1
  165. package/lib/commonjs/mol-data/int/_spec/sorted-ranges.spec.js +1 -1
  166. package/lib/commonjs/mol-data/int/_spec/sorted-ranges.spec.js.map +1 -1
  167. package/lib/commonjs/mol-data/int/impl/ordered-set.d.ts +3 -3
  168. package/lib/commonjs/mol-data/int/impl/sorted-array.d.ts +1 -1
  169. package/lib/commonjs/mol-data/int/impl/sorted-array.js +2 -2
  170. package/lib/commonjs/mol-data/int/impl/sorted-array.js.map +1 -1
  171. package/lib/commonjs/mol-data/int/tuple.js +1 -1
  172. package/lib/commonjs/mol-data/int/tuple.js.map +1 -1
  173. package/lib/commonjs/mol-data/util/_spec/interval-iterator.spec.js +1 -1
  174. package/lib/commonjs/mol-data/util/_spec/interval-iterator.spec.js.map +1 -1
  175. package/lib/commonjs/mol-geo/geometry/base.d.ts +16 -4
  176. package/lib/commonjs/mol-geo/geometry/base.js +37 -2
  177. package/lib/commonjs/mol-geo/geometry/base.js.map +1 -1
  178. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +1 -1
  179. package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.d.ts +1 -1
  180. package/lib/commonjs/mol-geo/geometry/image/image.d.ts +3 -3
  181. package/lib/commonjs/mol-geo/geometry/lines/lines.d.ts +1 -1
  182. package/lib/commonjs/mol-geo/geometry/mesh/builder/tube.js +18 -8
  183. package/lib/commonjs/mol-geo/geometry/mesh/builder/tube.js.map +1 -1
  184. package/lib/commonjs/mol-geo/geometry/mesh/color-smoothing.d.ts +9 -2
  185. package/lib/commonjs/mol-geo/geometry/mesh/color-smoothing.js +154 -35
  186. package/lib/commonjs/mol-geo/geometry/mesh/color-smoothing.js.map +1 -1
  187. package/lib/commonjs/mol-geo/geometry/mesh/mesh.d.ts +1 -1
  188. package/lib/commonjs/mol-geo/geometry/mesh/mesh.js +1 -1
  189. package/lib/commonjs/mol-geo/geometry/mesh/mesh.js.map +1 -1
  190. package/lib/commonjs/mol-geo/geometry/overpaint-data.d.ts +7 -2
  191. package/lib/commonjs/mol-geo/geometry/overpaint-data.js +10 -1
  192. package/lib/commonjs/mol-geo/geometry/overpaint-data.js.map +1 -1
  193. package/lib/commonjs/mol-geo/geometry/points/points.d.ts +3 -3
  194. package/lib/commonjs/mol-geo/geometry/spheres/spheres.d.ts +1 -2
  195. package/lib/commonjs/mol-geo/geometry/text/font-atlas.js +1 -1
  196. package/lib/commonjs/mol-geo/geometry/text/font-atlas.js.map +1 -1
  197. package/lib/commonjs/mol-geo/geometry/text/text.d.ts +1 -1
  198. package/lib/commonjs/mol-geo/geometry/texture-mesh/color-smoothing.d.ts +7 -3
  199. package/lib/commonjs/mol-geo/geometry/texture-mesh/color-smoothing.js +162 -27
  200. package/lib/commonjs/mol-geo/geometry/texture-mesh/color-smoothing.js.map +1 -1
  201. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +4 -2
  202. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js +2 -1
  203. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js.map +1 -1
  204. package/lib/commonjs/mol-geo/geometry/transparency-data.d.ts +7 -2
  205. package/lib/commonjs/mol-geo/geometry/transparency-data.js +10 -1
  206. package/lib/commonjs/mol-geo/geometry/transparency-data.js.map +1 -1
  207. package/lib/commonjs/mol-geo/primitive/polyhedron.js +1 -1
  208. package/lib/commonjs/mol-geo/primitive/polyhedron.js.map +1 -1
  209. package/lib/commonjs/mol-gl/_spec/gl.shim.js +4 -4
  210. package/lib/commonjs/mol-gl/_spec/gl.shim.js.map +1 -1
  211. package/lib/commonjs/mol-gl/_spec/renderer.spec.js +1 -1
  212. package/lib/commonjs/mol-gl/_spec/renderer.spec.js.map +1 -1
  213. package/lib/commonjs/mol-gl/compute/grid3d.js +3 -3
  214. package/lib/commonjs/mol-gl/compute/grid3d.js.map +1 -1
  215. package/lib/commonjs/mol-gl/compute/histogram-pyramid/reduction.js +4 -4
  216. package/lib/commonjs/mol-gl/compute/histogram-pyramid/reduction.js.map +1 -1
  217. package/lib/commonjs/mol-gl/compute/marching-cubes/isosurface.js +3 -3
  218. package/lib/commonjs/mol-gl/compute/marching-cubes/isosurface.js.map +1 -1
  219. package/lib/commonjs/mol-gl/compute/util.d.ts +25 -6
  220. package/lib/commonjs/mol-gl/compute/util.js +76 -21
  221. package/lib/commonjs/mol-gl/compute/util.js.map +1 -1
  222. package/lib/commonjs/mol-gl/renderable/cylinders.d.ts +8 -0
  223. package/lib/commonjs/mol-gl/renderable/direct-volume.d.ts +8 -0
  224. package/lib/commonjs/mol-gl/renderable/image.d.ts +8 -0
  225. package/lib/commonjs/mol-gl/renderable/lines.d.ts +8 -0
  226. package/lib/commonjs/mol-gl/renderable/mesh.d.ts +8 -0
  227. package/lib/commonjs/mol-gl/renderable/points.d.ts +8 -0
  228. package/lib/commonjs/mol-gl/renderable/schema.d.ts +16 -0
  229. package/lib/commonjs/mol-gl/renderable/schema.js +8 -0
  230. package/lib/commonjs/mol-gl/renderable/schema.js.map +1 -1
  231. package/lib/commonjs/mol-gl/renderable/spheres.d.ts +8 -0
  232. package/lib/commonjs/mol-gl/renderable/text.d.ts +8 -0
  233. package/lib/commonjs/mol-gl/renderable/texture-mesh.d.ts +22 -13
  234. package/lib/commonjs/mol-gl/renderable/texture-mesh.js +1 -1
  235. package/lib/commonjs/mol-gl/renderable/texture-mesh.js.map +1 -1
  236. package/lib/commonjs/mol-gl/renderable/util.js +1 -1
  237. package/lib/commonjs/mol-gl/renderable/util.js.map +1 -1
  238. package/lib/commonjs/mol-gl/renderer.d.ts +2 -2
  239. package/lib/commonjs/mol-gl/renderer.js +3 -0
  240. package/lib/commonjs/mol-gl/renderer.js.map +1 -1
  241. package/lib/commonjs/mol-gl/scene.js +1 -1
  242. package/lib/commonjs/mol-gl/scene.js.map +1 -1
  243. package/lib/commonjs/mol-gl/shader/chunks/assign-color-varying.glsl.d.ts +1 -1
  244. package/lib/commonjs/mol-gl/shader/chunks/assign-color-varying.glsl.js +1 -1
  245. package/lib/commonjs/mol-gl/shader/chunks/assign-color-varying.glsl.js.map +1 -1
  246. package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.d.ts +1 -1
  247. package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.js +1 -1
  248. package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.js.map +1 -1
  249. package/lib/commonjs/mol-gl/shader/chunks/color-vert-params.glsl.d.ts +1 -1
  250. package/lib/commonjs/mol-gl/shader/chunks/color-vert-params.glsl.js +1 -1
  251. package/lib/commonjs/mol-gl/shader/chunks/color-vert-params.glsl.js.map +1 -1
  252. package/lib/commonjs/mol-gl/shader/compute/color-smoothing/accumulate.frag.d.ts +1 -1
  253. package/lib/commonjs/mol-gl/shader/compute/color-smoothing/accumulate.frag.js +1 -1
  254. package/lib/commonjs/mol-gl/shader/compute/color-smoothing/accumulate.frag.js.map +1 -1
  255. package/lib/commonjs/mol-gl/shader/compute/color-smoothing/accumulate.vert.d.ts +1 -1
  256. package/lib/commonjs/mol-gl/shader/compute/color-smoothing/accumulate.vert.js +1 -1
  257. package/lib/commonjs/mol-gl/shader/compute/color-smoothing/accumulate.vert.js.map +1 -1
  258. package/lib/commonjs/mol-gl/shader/compute/color-smoothing/normalize.frag.d.ts +1 -1
  259. package/lib/commonjs/mol-gl/shader/compute/color-smoothing/normalize.frag.js +1 -1
  260. package/lib/commonjs/mol-gl/shader/compute/color-smoothing/normalize.frag.js.map +1 -1
  261. package/lib/commonjs/mol-gl/shader/direct-volume.frag.d.ts +1 -1
  262. package/lib/commonjs/mol-gl/shader/direct-volume.frag.js +1 -1
  263. package/lib/commonjs/mol-gl/shader/direct-volume.frag.js.map +1 -1
  264. package/lib/commonjs/mol-gl/shader/mesh.vert.d.ts +1 -1
  265. package/lib/commonjs/mol-gl/shader/mesh.vert.js +1 -1
  266. package/lib/commonjs/mol-gl/shader/mesh.vert.js.map +1 -1
  267. package/lib/commonjs/mol-gl/shader-code.js +8 -8
  268. package/lib/commonjs/mol-gl/shader-code.js.map +1 -1
  269. package/lib/commonjs/mol-gl/webgl/buffer.d.ts +3 -2
  270. package/lib/commonjs/mol-gl/webgl/buffer.js +5 -5
  271. package/lib/commonjs/mol-gl/webgl/buffer.js.map +1 -1
  272. package/lib/commonjs/mol-gl/webgl/compat.js +3 -3
  273. package/lib/commonjs/mol-gl/webgl/compat.js.map +1 -1
  274. package/lib/commonjs/mol-gl/webgl/context.d.ts +1 -1
  275. package/lib/commonjs/mol-gl/webgl/context.js +2 -2
  276. package/lib/commonjs/mol-gl/webgl/context.js.map +1 -1
  277. package/lib/commonjs/mol-gl/webgl/framebuffer.js +1 -1
  278. package/lib/commonjs/mol-gl/webgl/framebuffer.js.map +1 -1
  279. package/lib/commonjs/mol-gl/webgl/program.d.ts +1 -1
  280. package/lib/commonjs/mol-gl/webgl/program.js +14 -12
  281. package/lib/commonjs/mol-gl/webgl/program.js.map +1 -1
  282. package/lib/commonjs/mol-gl/webgl/render-item.d.ts +3 -2
  283. package/lib/commonjs/mol-gl/webgl/render-item.js +2 -2
  284. package/lib/commonjs/mol-gl/webgl/render-item.js.map +1 -1
  285. package/lib/commonjs/mol-gl/webgl/resources.js +2 -2
  286. package/lib/commonjs/mol-gl/webgl/resources.js.map +1 -1
  287. package/lib/commonjs/mol-gl/webgl/shader.js +3 -3
  288. package/lib/commonjs/mol-gl/webgl/shader.js.map +1 -1
  289. package/lib/commonjs/mol-gl/webgl/state.d.ts +4 -1
  290. package/lib/commonjs/mol-gl/webgl/state.js +25 -1
  291. package/lib/commonjs/mol-gl/webgl/state.js.map +1 -1
  292. package/lib/commonjs/mol-gl/webgl/texture.js +2 -2
  293. package/lib/commonjs/mol-gl/webgl/texture.js.map +1 -1
  294. package/lib/commonjs/mol-gl/webgl/uniform.js +2 -2
  295. package/lib/commonjs/mol-gl/webgl/uniform.js.map +1 -1
  296. package/lib/commonjs/mol-gl/webgl/vertex-array.d.ts +3 -2
  297. package/lib/commonjs/mol-gl/webgl/vertex-array.js +9 -2
  298. package/lib/commonjs/mol-gl/webgl/vertex-array.js.map +1 -1
  299. package/lib/commonjs/mol-io/common/file-handle.js +1 -1
  300. package/lib/commonjs/mol-io/common/file-handle.js.map +1 -1
  301. package/lib/commonjs/mol-io/common/typed-array.js +1 -1
  302. package/lib/commonjs/mol-io/common/typed-array.js.map +1 -1
  303. package/lib/commonjs/mol-io/reader/_spec/sdf.spec.js +51 -0
  304. package/lib/commonjs/mol-io/reader/_spec/sdf.spec.js.map +1 -1
  305. package/lib/commonjs/mol-io/reader/ccp4/parser.js +1 -1
  306. package/lib/commonjs/mol-io/reader/ccp4/parser.js.map +1 -1
  307. package/lib/commonjs/mol-io/reader/cif/binary/parser.js +1 -1
  308. package/lib/commonjs/mol-io/reader/cif/binary/parser.js.map +1 -1
  309. package/lib/commonjs/mol-io/reader/cif/data-model.js +7 -7
  310. package/lib/commonjs/mol-io/reader/cif/data-model.js.map +1 -1
  311. package/lib/commonjs/mol-io/reader/cif/schema/bird.d.ts +2 -2
  312. package/lib/commonjs/mol-io/reader/cif/schema/bird.js +1 -1
  313. package/lib/commonjs/mol-io/reader/cif/schema/ccd.d.ts +3 -3
  314. package/lib/commonjs/mol-io/reader/cif/schema/ccd.js +1 -1
  315. package/lib/commonjs/mol-io/reader/cif/schema/cif-core.d.ts +8 -5
  316. package/lib/commonjs/mol-io/reader/cif/schema/cif-core.js +15 -5
  317. package/lib/commonjs/mol-io/reader/cif/schema/cif-core.js.map +1 -1
  318. package/lib/commonjs/mol-io/reader/cif/schema/density-server.d.ts +2 -2
  319. package/lib/commonjs/mol-io/reader/cif/schema/mmcif-extras.d.ts +3 -3
  320. package/lib/commonjs/mol-io/reader/cif/schema/mmcif.d.ts +15 -15
  321. package/lib/commonjs/mol-io/reader/cif/schema/mmcif.js +1 -1
  322. package/lib/commonjs/mol-io/reader/cif/schema.js +7 -7
  323. package/lib/commonjs/mol-io/reader/cif/schema.js.map +1 -1
  324. package/lib/commonjs/mol-io/reader/cif/text/parser.js +2 -2
  325. package/lib/commonjs/mol-io/reader/cif/text/parser.js.map +1 -1
  326. package/lib/commonjs/mol-io/reader/dcd/parser.js +2 -2
  327. package/lib/commonjs/mol-io/reader/dcd/parser.js.map +1 -1
  328. package/lib/commonjs/mol-io/reader/ply/schema.d.ts +1 -1
  329. package/lib/commonjs/mol-io/reader/ply/schema.js +1 -1
  330. package/lib/commonjs/mol-io/reader/ply/schema.js.map +1 -1
  331. package/lib/commonjs/mol-io/reader/result.js +1 -1
  332. package/lib/commonjs/mol-io/reader/result.js.map +1 -1
  333. package/lib/commonjs/mol-io/reader/sdf/parser-v3-util.d.ts +9 -0
  334. package/lib/commonjs/mol-io/reader/sdf/parser-v3-util.js +91 -0
  335. package/lib/commonjs/mol-io/reader/sdf/parser-v3-util.js.map +1 -0
  336. package/lib/commonjs/mol-io/reader/sdf/parser.d.ts +1 -1
  337. package/lib/commonjs/mol-io/reader/sdf/parser.js +12 -4
  338. package/lib/commonjs/mol-io/reader/sdf/parser.js.map +1 -1
  339. package/lib/commonjs/mol-io/writer/cif/encoder/text.js +3 -3
  340. package/lib/commonjs/mol-io/writer/cif/encoder/text.js.map +1 -1
  341. package/lib/commonjs/mol-io/writer/cif/encoder.js +5 -5
  342. package/lib/commonjs/mol-io/writer/cif/encoder.js.map +1 -1
  343. package/lib/commonjs/mol-io/writer/mol/encoder.js +4 -4
  344. package/lib/commonjs/mol-io/writer/mol/encoder.js.map +1 -1
  345. package/lib/commonjs/mol-io/writer/mol2/encoder.js +6 -6
  346. package/lib/commonjs/mol-io/writer/mol2/encoder.js.map +1 -1
  347. package/lib/commonjs/mol-math/geometry/gaussian-density/gpu.js +1 -1
  348. package/lib/commonjs/mol-math/geometry/gaussian-density/gpu.js.map +1 -1
  349. package/lib/commonjs/mol-math/geometry/spacegroup/construction.js +8 -8
  350. package/lib/commonjs/mol-math/geometry/spacegroup/construction.js.map +1 -1
  351. package/lib/commonjs/mol-math/geometry/spacegroup/tables.js +1 -1
  352. package/lib/commonjs/mol-math/geometry/spacegroup/tables.js.map +1 -1
  353. package/lib/commonjs/mol-math/geometry/symmetry-operator.js +4 -4
  354. package/lib/commonjs/mol-math/geometry/symmetry-operator.js.map +1 -1
  355. package/lib/commonjs/mol-math/graph/inter-unit-graph.js +2 -2
  356. package/lib/commonjs/mol-math/graph/inter-unit-graph.js.map +1 -1
  357. package/lib/commonjs/mol-math/linear-algebra/3d/quat.js +1 -1
  358. package/lib/commonjs/mol-math/linear-algebra/3d/quat.js.map +1 -1
  359. package/lib/commonjs/mol-math/linear-algebra/3d/vec2.js +1 -1
  360. package/lib/commonjs/mol-math/linear-algebra/3d/vec2.js.map +1 -1
  361. package/lib/commonjs/mol-math/linear-algebra/3d/vec3.js +1 -1
  362. package/lib/commonjs/mol-math/linear-algebra/3d/vec3.js.map +1 -1
  363. package/lib/commonjs/mol-math/linear-algebra/3d/vec4.js +1 -1
  364. package/lib/commonjs/mol-math/linear-algebra/3d/vec4.js.map +1 -1
  365. package/lib/commonjs/mol-model/loci.d.ts +20 -20
  366. package/lib/commonjs/mol-model/sequence/sequence.js +2 -2
  367. package/lib/commonjs/mol-model/sequence/sequence.js.map +1 -1
  368. package/lib/commonjs/mol-model/shape/shape.d.ts +1 -1
  369. package/lib/commonjs/mol-model/structure/export/categories/atom_site.js +2 -2
  370. package/lib/commonjs/mol-model/structure/export/categories/atom_site.js.map +1 -1
  371. package/lib/commonjs/mol-model/structure/export/categories/atom_site_operator_mapping.js +1 -1
  372. package/lib/commonjs/mol-model/structure/export/categories/atom_site_operator_mapping.js.map +1 -1
  373. package/lib/commonjs/mol-model/structure/export/categories/secondary-structure.js +1 -1
  374. package/lib/commonjs/mol-model/structure/export/categories/secondary-structure.js.map +1 -1
  375. package/lib/commonjs/mol-model/structure/export/mmcif.js +1 -1
  376. package/lib/commonjs/mol-model/structure/export/mmcif.js.map +1 -1
  377. package/lib/commonjs/mol-model/structure/model/properties/atomic/bonds.js +2 -2
  378. package/lib/commonjs/mol-model/structure/model/properties/atomic/bonds.js.map +1 -1
  379. package/lib/commonjs/mol-model/structure/model/properties/symmetry.js +3 -3
  380. package/lib/commonjs/mol-model/structure/model/properties/symmetry.js.map +1 -1
  381. package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-index.js +2 -2
  382. package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-index.js.map +1 -1
  383. package/lib/commonjs/mol-model/structure/model/properties/utils/coarse-keys.js +1 -1
  384. package/lib/commonjs/mol-model/structure/model/properties/utils/coarse-keys.js.map +1 -1
  385. package/lib/commonjs/mol-model/structure/model/properties/utils/residue-set.js +1 -1
  386. package/lib/commonjs/mol-model/structure/model/properties/utils/residue-set.js.map +1 -1
  387. package/lib/commonjs/mol-model/structure/query/context.js +1 -1
  388. package/lib/commonjs/mol-model/structure/query/context.js.map +1 -1
  389. package/lib/commonjs/mol-model/structure/structure/carbohydrates/compute.js +1 -1
  390. package/lib/commonjs/mol-model/structure/structure/carbohydrates/compute.js.map +1 -1
  391. package/lib/commonjs/mol-model/structure/structure/element/loci.js +2 -2
  392. package/lib/commonjs/mol-model/structure/structure/element/loci.js.map +1 -1
  393. package/lib/commonjs/mol-model/structure/structure/element/util.js +1 -1
  394. package/lib/commonjs/mol-model/structure/structure/element/util.js.map +1 -1
  395. package/lib/commonjs/mol-model/structure/structure/properties.d.ts +3 -3
  396. package/lib/commonjs/mol-model/structure/structure/properties.js +6 -6
  397. package/lib/commonjs/mol-model/structure/structure/properties.js.map +1 -1
  398. package/lib/commonjs/mol-model/structure/structure/structure.js +1 -1
  399. package/lib/commonjs/mol-model/structure/structure/structure.js.map +1 -1
  400. package/lib/commonjs/mol-model/structure/structure/symmetry.js +3 -3
  401. package/lib/commonjs/mol-model/structure/structure/symmetry.js.map +1 -1
  402. package/lib/commonjs/mol-model/structure/structure/unit.d.ts +4 -4
  403. package/lib/commonjs/mol-model/structure/structure/util/superposition-db-mapping.js +1 -1
  404. package/lib/commonjs/mol-model/structure/structure/util/superposition-db-mapping.js.map +1 -1
  405. package/lib/commonjs/mol-model/volume/volume.js +2 -2
  406. package/lib/commonjs/mol-model/volume/volume.js.map +1 -1
  407. package/lib/commonjs/mol-model-formats/shape/ply.d.ts +2 -2
  408. package/lib/commonjs/mol-model-formats/shape/ply.js +1 -1
  409. package/lib/commonjs/mol-model-formats/shape/ply.js.map +1 -1
  410. package/lib/commonjs/mol-model-formats/structure/basic/atomic.js +2 -2
  411. package/lib/commonjs/mol-model-formats/structure/basic/atomic.js.map +1 -1
  412. package/lib/commonjs/mol-model-formats/structure/basic/properties.js +2 -2
  413. package/lib/commonjs/mol-model-formats/structure/basic/properties.js.map +1 -1
  414. package/lib/commonjs/mol-model-formats/structure/basic/schema.d.ts +6 -6
  415. package/lib/commonjs/mol-model-formats/structure/common/component.d.ts +8 -8
  416. package/lib/commonjs/mol-model-formats/structure/common/entity.js +6 -6
  417. package/lib/commonjs/mol-model-formats/structure/common/entity.js.map +1 -1
  418. package/lib/commonjs/mol-model-formats/structure/pdb/assembly.js +10 -10
  419. package/lib/commonjs/mol-model-formats/structure/pdb/assembly.js.map +1 -1
  420. package/lib/commonjs/mol-model-formats/structure/pdb/conect.js +1 -1
  421. package/lib/commonjs/mol-model-formats/structure/pdb/conect.js.map +1 -1
  422. package/lib/commonjs/mol-model-formats/structure/pdb/entity.js +1 -1
  423. package/lib/commonjs/mol-model-formats/structure/pdb/entity.js.map +1 -1
  424. package/lib/commonjs/mol-model-formats/structure/property/assembly.js +1 -1
  425. package/lib/commonjs/mol-model-formats/structure/property/assembly.js.map +1 -1
  426. package/lib/commonjs/mol-model-formats/structure/property/symmetry.js +1 -1
  427. package/lib/commonjs/mol-model-formats/structure/property/symmetry.js.map +1 -1
  428. package/lib/commonjs/mol-model-formats/volume/ccp4.js +1 -1
  429. package/lib/commonjs/mol-model-formats/volume/ccp4.js.map +1 -1
  430. package/lib/commonjs/mol-model-props/common/custom-element-property.js +1 -1
  431. package/lib/commonjs/mol-model-props/common/custom-element-property.js.map +1 -1
  432. package/lib/commonjs/mol-model-props/common/custom-property.js +1 -1
  433. package/lib/commonjs/mol-model-props/common/custom-property.js.map +1 -1
  434. package/lib/commonjs/mol-model-props/computed/interactions/common.js +1 -1
  435. package/lib/commonjs/mol-model-props/computed/interactions/common.js.map +1 -1
  436. package/lib/commonjs/mol-model-props/computed/interactions/hydrogen-bonds.d.ts +1 -1
  437. package/lib/commonjs/mol-model-props/computed/interactions/hydrogen-bonds.js +1 -7
  438. package/lib/commonjs/mol-model-props/computed/interactions/hydrogen-bonds.js.map +1 -1
  439. package/lib/commonjs/mol-model-props/computed/interactions/refine.js +2 -2
  440. package/lib/commonjs/mol-model-props/computed/interactions/refine.js.map +1 -1
  441. package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +2 -2
  442. package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +2 -2
  443. package/lib/commonjs/mol-model-props/computed/representations/interactions.d.ts +6 -6
  444. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/property.js +1 -1
  445. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/property.js.map +1 -1
  446. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.d.ts +8 -8
  447. package/lib/commonjs/mol-model-props/integrative/pair-restraints.js +1 -1
  448. package/lib/commonjs/mol-model-props/integrative/pair-restraints.js.map +1 -1
  449. package/lib/commonjs/mol-model-props/sequence/best-database-mapping.js +1 -1
  450. package/lib/commonjs/mol-model-props/sequence/best-database-mapping.js.map +1 -1
  451. package/lib/commonjs/mol-model-props/sequence/themes/best-database-mapping.js +1 -1
  452. package/lib/commonjs/mol-model-props/sequence/themes/best-database-mapping.js.map +1 -1
  453. package/lib/commonjs/mol-plugin/behavior/behavior.d.ts +1 -1
  454. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/accessible-surface-area.js +3 -3
  455. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/accessible-surface-area.js.map +1 -1
  456. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/interactions.js +3 -3
  457. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/interactions.js.map +1 -1
  458. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/valence-model.js +1 -1
  459. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/valence-model.js.map +1 -1
  460. package/lib/commonjs/mol-plugin/behavior/dynamic/representation.d.ts +2 -2
  461. package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +1 -1
  462. package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js +1 -1
  463. package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js.map +1 -1
  464. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/behavior.d.ts +4 -4
  465. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/behavior.js +6 -6
  466. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/behavior.js.map +1 -1
  467. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/transformers.d.ts +4 -4
  468. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/transformers.js +5 -5
  469. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/transformers.js.map +1 -1
  470. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/util.js +6 -6
  471. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/util.js.map +1 -1
  472. package/lib/commonjs/mol-plugin/behavior/static/state.js +4 -4
  473. package/lib/commonjs/mol-plugin/behavior/static/state.js.map +1 -1
  474. package/lib/commonjs/mol-plugin/commands.d.ts +2 -2
  475. package/lib/commonjs/mol-plugin/context.js +2 -3
  476. package/lib/commonjs/mol-plugin/context.js.map +1 -1
  477. package/lib/commonjs/mol-plugin/layout.d.ts +4 -4
  478. package/lib/commonjs/mol-plugin/util/viewport-screenshot.d.ts +9 -9
  479. package/lib/commonjs/mol-plugin/util/viewport-screenshot.js +1 -1
  480. package/lib/commonjs/mol-plugin/util/viewport-screenshot.js.map +1 -1
  481. package/lib/commonjs/mol-plugin-state/actions/file.js +7 -5
  482. package/lib/commonjs/mol-plugin-state/actions/file.js.map +1 -1
  483. package/lib/commonjs/mol-plugin-state/actions/structure.d.ts +1 -1
  484. package/lib/commonjs/mol-plugin-state/actions/structure.js +12 -12
  485. package/lib/commonjs/mol-plugin-state/actions/structure.js.map +1 -1
  486. package/lib/commonjs/mol-plugin-state/actions/volume.js +16 -16
  487. package/lib/commonjs/mol-plugin-state/actions/volume.js.map +1 -1
  488. package/lib/commonjs/mol-plugin-state/animation/built-in/model-index.d.ts +5 -5
  489. package/lib/commonjs/mol-plugin-state/animation/helpers.d.ts +5 -5
  490. package/lib/commonjs/mol-plugin-state/builder/data.d.ts +3 -3
  491. package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy-preset.d.ts +14 -14
  492. package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy.d.ts +6 -6
  493. package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy.js +2 -2
  494. package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy.js.map +1 -1
  495. package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.d.ts +15 -15
  496. package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.js +1 -1
  497. package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.js.map +1 -1
  498. package/lib/commonjs/mol-plugin-state/builder/structure/representation.d.ts +1 -1
  499. package/lib/commonjs/mol-plugin-state/builder/structure/representation.js +2 -2
  500. package/lib/commonjs/mol-plugin-state/builder/structure/representation.js.map +1 -1
  501. package/lib/commonjs/mol-plugin-state/builder/structure.js +3 -3
  502. package/lib/commonjs/mol-plugin-state/builder/structure.js.map +1 -1
  503. package/lib/commonjs/mol-plugin-state/formats/registry.js +1 -1
  504. package/lib/commonjs/mol-plugin-state/formats/registry.js.map +1 -1
  505. package/lib/commonjs/mol-plugin-state/formats/shape.d.ts +2 -2
  506. package/lib/commonjs/mol-plugin-state/formats/structure.d.ts +6 -6
  507. package/lib/commonjs/mol-plugin-state/formats/volume.d.ts +18 -18
  508. package/lib/commonjs/mol-plugin-state/formats/volume.js +1 -0
  509. package/lib/commonjs/mol-plugin-state/formats/volume.js.map +1 -1
  510. package/lib/commonjs/mol-plugin-state/helpers/root-structure.d.ts +4 -4
  511. package/lib/commonjs/mol-plugin-state/helpers/root-structure.js +10 -10
  512. package/lib/commonjs/mol-plugin-state/helpers/root-structure.js.map +1 -1
  513. package/lib/commonjs/mol-plugin-state/helpers/structure-component.d.ts +2 -2
  514. package/lib/commonjs/mol-plugin-state/helpers/structure-component.js +3 -3
  515. package/lib/commonjs/mol-plugin-state/helpers/structure-component.js.map +1 -1
  516. package/lib/commonjs/mol-plugin-state/helpers/structure-query.js +1 -1
  517. package/lib/commonjs/mol-plugin-state/helpers/structure-query.js.map +1 -1
  518. package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.d.ts +1 -1
  519. package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.js +19 -8
  520. package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.js.map +1 -1
  521. package/lib/commonjs/mol-plugin-state/manager/animation.js +1 -1
  522. package/lib/commonjs/mol-plugin-state/manager/animation.js.map +1 -1
  523. package/lib/commonjs/mol-plugin-state/manager/interactivity.d.ts +1 -1
  524. package/lib/commonjs/mol-plugin-state/manager/loci-label.js +1 -1
  525. package/lib/commonjs/mol-plugin-state/manager/loci-label.js.map +1 -1
  526. package/lib/commonjs/mol-plugin-state/manager/snapshots.js +3 -2
  527. package/lib/commonjs/mol-plugin-state/manager/snapshots.js.map +1 -1
  528. package/lib/commonjs/mol-plugin-state/manager/structure/component.d.ts +3 -3
  529. package/lib/commonjs/mol-plugin-state/manager/structure/hierarchy.js +2 -2
  530. package/lib/commonjs/mol-plugin-state/manager/structure/hierarchy.js.map +1 -1
  531. package/lib/commonjs/mol-plugin-state/manager/structure/measurement.js +3 -3
  532. package/lib/commonjs/mol-plugin-state/manager/structure/measurement.js.map +1 -1
  533. package/lib/commonjs/mol-plugin-state/transforms/data.d.ts +6 -6
  534. package/lib/commonjs/mol-plugin-state/transforms/data.js +8 -8
  535. package/lib/commonjs/mol-plugin-state/transforms/data.js.map +1 -1
  536. package/lib/commonjs/mol-plugin-state/transforms/model.d.ts +6 -6
  537. package/lib/commonjs/mol-plugin-state/transforms/model.js +18 -18
  538. package/lib/commonjs/mol-plugin-state/transforms/model.js.map +1 -1
  539. package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +15 -15
  540. package/lib/commonjs/mol-plugin-state/transforms/representation.js +64 -38
  541. package/lib/commonjs/mol-plugin-state/transforms/representation.js.map +1 -1
  542. package/lib/commonjs/mol-plugin-state/transforms/volume.js +7 -7
  543. package/lib/commonjs/mol-plugin-state/transforms/volume.js.map +1 -1
  544. package/lib/commonjs/mol-plugin-ui/base.js +1 -1
  545. package/lib/commonjs/mol-plugin-ui/base.js.map +1 -1
  546. package/lib/commonjs/mol-plugin-ui/controls/action-menu.js +3 -3
  547. package/lib/commonjs/mol-plugin-ui/controls/action-menu.js.map +1 -1
  548. package/lib/commonjs/mol-plugin-ui/controls/color.js +2 -2
  549. package/lib/commonjs/mol-plugin-ui/controls/color.js.map +1 -1
  550. package/lib/commonjs/mol-plugin-ui/controls/common.js +9 -9
  551. package/lib/commonjs/mol-plugin-ui/controls/common.js.map +1 -1
  552. package/lib/commonjs/mol-plugin-ui/controls/icons.js +1 -1
  553. package/lib/commonjs/mol-plugin-ui/controls/icons.js.map +1 -1
  554. package/lib/commonjs/mol-plugin-ui/controls/legend.js +3 -3
  555. package/lib/commonjs/mol-plugin-ui/controls/legend.js.map +1 -1
  556. package/lib/commonjs/mol-plugin-ui/controls/line-graph/line-graph-component.js +6 -6
  557. package/lib/commonjs/mol-plugin-ui/controls/line-graph/line-graph-component.js.map +1 -1
  558. package/lib/commonjs/mol-plugin-ui/controls/line-graph/point-component.js +1 -1
  559. package/lib/commonjs/mol-plugin-ui/controls/line-graph/point-component.js.map +1 -1
  560. package/lib/commonjs/mol-plugin-ui/controls/parameters.js +29 -29
  561. package/lib/commonjs/mol-plugin-ui/controls/parameters.js.map +1 -1
  562. package/lib/commonjs/mol-plugin-ui/controls/screenshot.js +1 -1
  563. package/lib/commonjs/mol-plugin-ui/controls/screenshot.js.map +1 -1
  564. package/lib/commonjs/mol-plugin-ui/controls/slider.js +9 -9
  565. package/lib/commonjs/mol-plugin-ui/controls/slider.js.map +1 -1
  566. package/lib/commonjs/mol-plugin-ui/controls.js +2 -2
  567. package/lib/commonjs/mol-plugin-ui/controls.js.map +1 -1
  568. package/lib/commonjs/mol-plugin-ui/plugin.js +3 -3
  569. package/lib/commonjs/mol-plugin-ui/plugin.js.map +1 -1
  570. package/lib/commonjs/mol-plugin-ui/sequence/chain.js +3 -3
  571. package/lib/commonjs/mol-plugin-ui/sequence/chain.js.map +1 -1
  572. package/lib/commonjs/mol-plugin-ui/sequence/sequence.js +4 -4
  573. package/lib/commonjs/mol-plugin-ui/sequence/sequence.js.map +1 -1
  574. package/lib/commonjs/mol-plugin-ui/sequence.js +8 -8
  575. package/lib/commonjs/mol-plugin-ui/sequence.js.map +1 -1
  576. package/lib/commonjs/mol-plugin-ui/state/actions.js +1 -1
  577. package/lib/commonjs/mol-plugin-ui/state/actions.js.map +1 -1
  578. package/lib/commonjs/mol-plugin-ui/state/common.js +12 -11
  579. package/lib/commonjs/mol-plugin-ui/state/common.js.map +1 -1
  580. package/lib/commonjs/mol-plugin-ui/state/snapshots.js +14 -12
  581. package/lib/commonjs/mol-plugin-ui/state/snapshots.js.map +1 -1
  582. package/lib/commonjs/mol-plugin-ui/state/tree.js +8 -8
  583. package/lib/commonjs/mol-plugin-ui/state/tree.js.map +1 -1
  584. package/lib/commonjs/mol-plugin-ui/structure/components.js +4 -4
  585. package/lib/commonjs/mol-plugin-ui/structure/components.js.map +1 -1
  586. package/lib/commonjs/mol-plugin-ui/structure/focus.js +4 -4
  587. package/lib/commonjs/mol-plugin-ui/structure/focus.js.map +1 -1
  588. package/lib/commonjs/mol-plugin-ui/structure/generic.js +2 -2
  589. package/lib/commonjs/mol-plugin-ui/structure/generic.js.map +1 -1
  590. package/lib/commonjs/mol-plugin-ui/structure/measurements.js +6 -6
  591. package/lib/commonjs/mol-plugin-ui/structure/measurements.js.map +1 -1
  592. package/lib/commonjs/mol-plugin-ui/structure/selection.d.ts +1 -1
  593. package/lib/commonjs/mol-plugin-ui/structure/selection.js +5 -4
  594. package/lib/commonjs/mol-plugin-ui/structure/selection.js.map +1 -1
  595. package/lib/commonjs/mol-plugin-ui/structure/source.js +12 -12
  596. package/lib/commonjs/mol-plugin-ui/structure/source.js.map +1 -1
  597. package/lib/commonjs/mol-plugin-ui/structure/superposition.js +4 -4
  598. package/lib/commonjs/mol-plugin-ui/structure/superposition.js.map +1 -1
  599. package/lib/commonjs/mol-plugin-ui/structure/volume.js +2 -2
  600. package/lib/commonjs/mol-plugin-ui/structure/volume.js.map +1 -1
  601. package/lib/commonjs/mol-repr/representation.d.ts +9 -0
  602. package/lib/commonjs/mol-repr/representation.js +47 -8
  603. package/lib/commonjs/mol-repr/representation.js.map +1 -1
  604. package/lib/commonjs/mol-repr/shape/loci/angle.d.ts +1 -1
  605. package/lib/commonjs/mol-repr/shape/loci/angle.js +2 -2
  606. package/lib/commonjs/mol-repr/shape/loci/angle.js.map +1 -1
  607. package/lib/commonjs/mol-repr/shape/loci/common.d.ts +1 -1
  608. package/lib/commonjs/mol-repr/shape/loci/dihedral.d.ts +1 -1
  609. package/lib/commonjs/mol-repr/shape/loci/dihedral.js +2 -2
  610. package/lib/commonjs/mol-repr/shape/loci/dihedral.js.map +1 -1
  611. package/lib/commonjs/mol-repr/shape/loci/distance.d.ts +1 -1
  612. package/lib/commonjs/mol-repr/shape/loci/distance.js +2 -2
  613. package/lib/commonjs/mol-repr/shape/loci/distance.js.map +1 -1
  614. package/lib/commonjs/mol-repr/shape/loci/label.d.ts +1 -1
  615. package/lib/commonjs/mol-repr/shape/loci/label.js +1 -1
  616. package/lib/commonjs/mol-repr/shape/loci/label.js.map +1 -1
  617. package/lib/commonjs/mol-repr/shape/loci/orientation.d.ts +2 -2
  618. package/lib/commonjs/mol-repr/shape/loci/orientation.js +3 -3
  619. package/lib/commonjs/mol-repr/shape/loci/orientation.js.map +1 -1
  620. package/lib/commonjs/mol-repr/shape/loci/plane.d.ts +1 -1
  621. package/lib/commonjs/mol-repr/shape/loci/plane.js +1 -1
  622. package/lib/commonjs/mol-repr/shape/loci/plane.js.map +1 -1
  623. package/lib/commonjs/mol-repr/shape/model/unitcell.d.ts +2 -2
  624. package/lib/commonjs/mol-repr/shape/representation.js +5 -0
  625. package/lib/commonjs/mol-repr/shape/representation.js.map +1 -1
  626. package/lib/commonjs/mol-repr/structure/complex-representation.js +11 -4
  627. package/lib/commonjs/mol-repr/structure/complex-representation.js.map +1 -1
  628. package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +12 -12
  629. package/lib/commonjs/mol-repr/structure/complex-visual.js +11 -5
  630. package/lib/commonjs/mol-repr/structure/complex-visual.js.map +1 -1
  631. package/lib/commonjs/mol-repr/structure/params.d.ts +11 -11
  632. package/lib/commonjs/mol-repr/structure/registry.d.ts +44 -44
  633. package/lib/commonjs/mol-repr/structure/registry.js +1 -1
  634. package/lib/commonjs/mol-repr/structure/registry.js.map +1 -1
  635. package/lib/commonjs/mol-repr/structure/representation/backbone.d.ts +6 -6
  636. package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +15 -15
  637. package/lib/commonjs/mol-repr/structure/representation/carbohydrate.d.ts +6 -6
  638. package/lib/commonjs/mol-repr/structure/representation/cartoon.d.ts +6 -6
  639. package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +15 -15
  640. package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +12 -12
  641. package/lib/commonjs/mol-repr/structure/representation/gaussian-volume.d.ts +6 -6
  642. package/lib/commonjs/mol-repr/structure/representation/label.d.ts +9 -9
  643. package/lib/commonjs/mol-repr/structure/representation/line.d.ts +18 -18
  644. package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +12 -12
  645. package/lib/commonjs/mol-repr/structure/representation/orientation.d.ts +6 -6
  646. package/lib/commonjs/mol-repr/structure/representation/point.d.ts +9 -9
  647. package/lib/commonjs/mol-repr/structure/representation/putty.d.ts +6 -6
  648. package/lib/commonjs/mol-repr/structure/representation/spacefill.d.ts +6 -6
  649. package/lib/commonjs/mol-repr/structure/units-representation.js +16 -16
  650. package/lib/commonjs/mol-repr/structure/units-representation.js.map +1 -1
  651. package/lib/commonjs/mol-repr/structure/units-visual.d.ts +17 -17
  652. package/lib/commonjs/mol-repr/structure/units-visual.js +11 -5
  653. package/lib/commonjs/mol-repr/structure/units-visual.js.map +1 -1
  654. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +10 -10
  655. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.d.ts +5 -5
  656. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +10 -10
  657. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.d.ts +5 -5
  658. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +2 -2
  659. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +2 -2
  660. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +2 -2
  661. package/lib/commonjs/mol-repr/structure/visual/element-cross.d.ts +2 -2
  662. package/lib/commonjs/mol-repr/structure/visual/element-point.d.ts +3 -3
  663. package/lib/commonjs/mol-repr/structure/visual/element-sphere.d.ts +4 -4
  664. package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.d.ts +2 -2
  665. package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.d.ts +4 -4
  666. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +16 -16
  667. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.js +14 -12
  668. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.js.map +1 -1
  669. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +2 -2
  670. package/lib/commonjs/mol-repr/structure/visual/label-text.d.ts +3 -3
  671. package/lib/commonjs/mol-repr/structure/visual/label-text.js +3 -3
  672. package/lib/commonjs/mol-repr/structure/visual/label-text.js.map +1 -1
  673. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +4 -4
  674. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.js +5 -4
  675. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.js.map +1 -1
  676. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +2 -2
  677. package/lib/commonjs/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +2 -2
  678. package/lib/commonjs/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +2 -2
  679. package/lib/commonjs/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +2 -2
  680. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +4 -4
  681. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +4 -4
  682. package/lib/commonjs/mol-repr/structure/visual/polymer-direction-wedge.d.ts +2 -2
  683. package/lib/commonjs/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +2 -2
  684. package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.d.ts +2 -2
  685. package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.d.ts +2 -2
  686. package/lib/commonjs/mol-repr/structure/visual/util/bond.d.ts +18 -18
  687. package/lib/commonjs/mol-repr/structure/visual/util/common.d.ts +2 -2
  688. package/lib/commonjs/mol-repr/visual.d.ts +21 -13
  689. package/lib/commonjs/mol-repr/visual.js +53 -6
  690. package/lib/commonjs/mol-repr/visual.js.map +1 -1
  691. package/lib/commonjs/mol-repr/volume/direct-volume.d.ts +8 -8
  692. package/lib/commonjs/mol-repr/volume/isosurface.d.ts +15 -15
  693. package/lib/commonjs/mol-repr/volume/registry.d.ts +9 -9
  694. package/lib/commonjs/mol-repr/volume/registry.js +1 -1
  695. package/lib/commonjs/mol-repr/volume/registry.js.map +1 -1
  696. package/lib/commonjs/mol-repr/volume/representation.d.ts +2 -2
  697. package/lib/commonjs/mol-repr/volume/representation.js +12 -3
  698. package/lib/commonjs/mol-repr/volume/representation.js.map +1 -1
  699. package/lib/commonjs/mol-repr/volume/slice.d.ts +12 -12
  700. package/lib/commonjs/mol-script/language/expression-formatter.js +6 -6
  701. package/lib/commonjs/mol-script/language/expression-formatter.js.map +1 -1
  702. package/lib/commonjs/mol-script/language/helpers.js +4 -4
  703. package/lib/commonjs/mol-script/language/helpers.js.map +1 -1
  704. package/lib/commonjs/mol-script/language/parser.js +1 -1
  705. package/lib/commonjs/mol-script/language/parser.js.map +1 -1
  706. package/lib/commonjs/mol-script/language/symbol-table/structure-query.js +3 -3
  707. package/lib/commonjs/mol-script/language/symbol-table/structure-query.js.map +1 -1
  708. package/lib/commonjs/mol-script/language/symbol.js +1 -1
  709. package/lib/commonjs/mol-script/language/symbol.js.map +1 -1
  710. package/lib/commonjs/mol-script/runtime/query/base.js +2 -2
  711. package/lib/commonjs/mol-script/runtime/query/base.js.map +1 -1
  712. package/lib/commonjs/mol-script/script/mol-script/symbols.js +3 -3
  713. package/lib/commonjs/mol-script/script/mol-script/symbols.js.map +1 -1
  714. package/lib/commonjs/mol-state/state/builder.js +1 -1
  715. package/lib/commonjs/mol-state/state/builder.js.map +1 -1
  716. package/lib/commonjs/mol-state/state.js +14 -12
  717. package/lib/commonjs/mol-state/state.js.map +1 -1
  718. package/lib/commonjs/mol-state/transformer.js +3 -3
  719. package/lib/commonjs/mol-state/transformer.js.map +1 -1
  720. package/lib/commonjs/mol-state/tree/transient.js +3 -3
  721. package/lib/commonjs/mol-state/tree/transient.js.map +1 -1
  722. package/lib/commonjs/mol-task/execution/observable.js +1 -5
  723. package/lib/commonjs/mol-task/execution/observable.js.map +1 -1
  724. package/lib/commonjs/mol-task/execution/progress.js +4 -4
  725. package/lib/commonjs/mol-task/execution/progress.js.map +1 -1
  726. package/lib/commonjs/mol-task/task.js +1 -1
  727. package/lib/commonjs/mol-task/task.js.map +1 -1
  728. package/lib/commonjs/mol-task/util/multistep.js +1 -1
  729. package/lib/commonjs/mol-task/util/multistep.js.map +1 -1
  730. package/lib/commonjs/mol-task/util/user-timing.js +3 -3
  731. package/lib/commonjs/mol-task/util/user-timing.js.map +1 -1
  732. package/lib/commonjs/mol-theme/color/chain-id.js +1 -1
  733. package/lib/commonjs/mol-theme/color/chain-id.js.map +1 -1
  734. package/lib/commonjs/mol-theme/color/element-symbol.d.ts +4 -4
  735. package/lib/commonjs/mol-theme/color/entity-id.js +1 -1
  736. package/lib/commonjs/mol-theme/color/entity-id.js.map +1 -1
  737. package/lib/commonjs/mol-theme/color/entity-source.js +4 -4
  738. package/lib/commonjs/mol-theme/color/entity-source.js.map +1 -1
  739. package/lib/commonjs/mol-theme/color/operator-hkl.js +2 -2
  740. package/lib/commonjs/mol-theme/color/operator-hkl.js.map +1 -1
  741. package/lib/commonjs/mol-theme/color.d.ts +2 -2
  742. package/lib/commonjs/mol-theme/label.js +27 -27
  743. package/lib/commonjs/mol-theme/label.js.map +1 -1
  744. package/lib/commonjs/mol-theme/theme.js +3 -3
  745. package/lib/commonjs/mol-theme/theme.js.map +1 -1
  746. package/lib/commonjs/mol-util/assets.js +3 -3
  747. package/lib/commonjs/mol-util/assets.js.map +1 -1
  748. package/lib/commonjs/mol-util/color/color.js +2 -2
  749. package/lib/commonjs/mol-util/color/color.js.map +1 -1
  750. package/lib/commonjs/mol-util/color/lists.d.ts +3 -3
  751. package/lib/commonjs/mol-util/color/lists.js +1 -1
  752. package/lib/commonjs/mol-util/color/lists.js.map +1 -1
  753. package/lib/commonjs/mol-util/color/names.d.ts +1 -1
  754. package/lib/commonjs/mol-util/color/palette.d.ts +1 -1
  755. package/lib/commonjs/mol-util/color/palette.js +2 -2
  756. package/lib/commonjs/mol-util/color/palette.js.map +1 -1
  757. package/lib/commonjs/mol-util/color/scale.d.ts +1 -1
  758. package/lib/commonjs/mol-util/console-logger.js +9 -9
  759. package/lib/commonjs/mol-util/console-logger.js.map +1 -1
  760. package/lib/commonjs/mol-util/data-source.js +5 -5
  761. package/lib/commonjs/mol-util/data-source.js.map +1 -1
  762. package/lib/commonjs/mol-util/download.js +1 -1
  763. package/lib/commonjs/mol-util/download.js.map +1 -1
  764. package/lib/commonjs/mol-util/graphql-client.js +2 -2
  765. package/lib/commonjs/mol-util/graphql-client.js.map +1 -1
  766. package/lib/commonjs/mol-util/index.js +2 -2
  767. package/lib/commonjs/mol-util/index.js.map +1 -1
  768. package/lib/commonjs/mol-util/monadic-parser.js +4 -4
  769. package/lib/commonjs/mol-util/monadic-parser.js.map +1 -1
  770. package/lib/commonjs/mol-util/now.js +4 -4
  771. package/lib/commonjs/mol-util/now.js.map +1 -1
  772. package/lib/commonjs/mol-util/object.js +1 -1
  773. package/lib/commonjs/mol-util/object.js.map +1 -1
  774. package/lib/commonjs/mol-util/performance-monitor.js +4 -4
  775. package/lib/commonjs/mol-util/performance-monitor.js.map +1 -1
  776. package/lib/commonjs/mol-util/string.js +3 -3
  777. package/lib/commonjs/mol-util/string.js.map +1 -1
  778. package/lib/commonjs/mol-util/url.js +2 -2
  779. package/lib/commonjs/mol-util/url.js.map +1 -1
  780. package/lib/commonjs/mol-util/zip/deflate.js +1 -1
  781. package/lib/commonjs/mol-util/zip/deflate.js.map +1 -1
  782. package/lib/commonjs/mol-util/zip/inflate.js +1 -1
  783. package/lib/commonjs/mol-util/zip/inflate.js.map +1 -1
  784. package/lib/commonjs/mol-util/zip/zip.js +1 -1
  785. package/lib/commonjs/mol-util/zip/zip.js.map +1 -1
  786. package/lib/commonjs/perf-tests/mol-script.js +1 -1
  787. package/lib/commonjs/perf-tests/mol-script.js.map +1 -1
  788. package/lib/commonjs/perf-tests/sets.js +1 -1
  789. package/lib/commonjs/perf-tests/sets.js.map +1 -1
  790. package/lib/commonjs/perf-tests/sort.js +1 -1
  791. package/lib/commonjs/perf-tests/sort.js.map +1 -1
  792. package/lib/commonjs/perf-tests/string-builder.js +2 -2
  793. package/lib/commonjs/perf-tests/string-builder.js.map +1 -1
  794. package/lib/commonjs/perf-tests/structure.js +7 -7
  795. package/lib/commonjs/perf-tests/structure.js.map +1 -1
  796. package/lib/commonjs/perf-tests/test-xtc.js +1 -1
  797. package/lib/commonjs/perf-tests/test-xtc.js.map +1 -1
  798. package/lib/commonjs/servers/common/file-handle.js +1 -1
  799. package/lib/commonjs/servers/common/file-handle.js.map +1 -1
  800. package/lib/commonjs/servers/common/util.js +1 -1
  801. package/lib/commonjs/servers/common/util.js.map +1 -1
  802. package/lib/commonjs/servers/model/config.js +4 -4
  803. package/lib/commonjs/servers/model/config.js.map +1 -1
  804. package/lib/commonjs/servers/model/preprocess/master.js +1 -1
  805. package/lib/commonjs/servers/model/preprocess/master.js.map +1 -1
  806. package/lib/commonjs/servers/model/preprocess/parallel.js +2 -2
  807. package/lib/commonjs/servers/model/preprocess/parallel.js.map +1 -1
  808. package/lib/commonjs/servers/model/preprocess/util.js +3 -3
  809. package/lib/commonjs/servers/model/preprocess/util.js.map +1 -1
  810. package/lib/commonjs/servers/model/properties/providers/pdbe.js +5 -5
  811. package/lib/commonjs/servers/model/properties/providers/pdbe.js.map +1 -1
  812. package/lib/commonjs/servers/model/property-provider.js +2 -2
  813. package/lib/commonjs/servers/model/property-provider.js.map +1 -1
  814. package/lib/commonjs/servers/model/query.js +1 -1
  815. package/lib/commonjs/servers/model/query.js.map +1 -1
  816. package/lib/commonjs/servers/model/server/api-local.js +2 -2
  817. package/lib/commonjs/servers/model/server/api-local.js.map +1 -1
  818. package/lib/commonjs/servers/model/server/api-schema.js +2 -2
  819. package/lib/commonjs/servers/model/server/api-schema.js.map +1 -1
  820. package/lib/commonjs/servers/model/server/api-web-multiple.js +1 -1
  821. package/lib/commonjs/servers/model/server/api-web-multiple.js.map +1 -1
  822. package/lib/commonjs/servers/model/server/api-web.js +4 -4
  823. package/lib/commonjs/servers/model/server/api-web.js.map +1 -1
  824. package/lib/commonjs/servers/model/server/api.js +1 -1
  825. package/lib/commonjs/servers/model/server/api.js.map +1 -1
  826. package/lib/commonjs/servers/model/server/cache.js +3 -3
  827. package/lib/commonjs/servers/model/server/cache.js.map +1 -1
  828. package/lib/commonjs/servers/model/server/jobs.js +3 -3
  829. package/lib/commonjs/servers/model/server/jobs.js.map +1 -1
  830. package/lib/commonjs/servers/model/server/query.js +10 -10
  831. package/lib/commonjs/servers/model/server/query.js.map +1 -1
  832. package/lib/commonjs/servers/model/server/structure-wrapper.js +6 -6
  833. package/lib/commonjs/servers/model/server/structure-wrapper.js.map +1 -1
  834. package/lib/commonjs/servers/model/server.js +3 -3
  835. package/lib/commonjs/servers/model/server.js.map +1 -1
  836. package/lib/commonjs/servers/model/utils/fetch-props-pdbe.js +4 -4
  837. package/lib/commonjs/servers/model/utils/fetch-props-pdbe.js.map +1 -1
  838. package/lib/commonjs/servers/model/utils/writer.js +2 -2
  839. package/lib/commonjs/servers/model/utils/writer.js.map +1 -1
  840. package/lib/commonjs/servers/plugin-state/api-schema.js +2 -2
  841. package/lib/commonjs/servers/plugin-state/api-schema.js.map +1 -1
  842. package/lib/commonjs/servers/plugin-state/index.js +1 -1
  843. package/lib/commonjs/servers/plugin-state/index.js.map +1 -1
  844. package/lib/commonjs/servers/volume/pack/format/dsn6.js +1 -1
  845. package/lib/commonjs/servers/volume/pack/format/dsn6.js.map +1 -1
  846. package/lib/commonjs/servers/volume/pack/main.js +4 -4
  847. package/lib/commonjs/servers/volume/pack/main.js.map +1 -1
  848. package/lib/commonjs/servers/volume/pack/writer.js +1 -1
  849. package/lib/commonjs/servers/volume/pack/writer.js.map +1 -1
  850. package/lib/commonjs/servers/volume/pack.js +1 -1
  851. package/lib/commonjs/servers/volume/pack.js.map +1 -1
  852. package/lib/commonjs/servers/volume/server/api.js +7 -7
  853. package/lib/commonjs/servers/volume/server/api.js.map +1 -1
  854. package/lib/commonjs/servers/volume/server/local-api.js +1 -1
  855. package/lib/commonjs/servers/volume/server/local-api.js.map +1 -1
  856. package/lib/commonjs/servers/volume/server/query/encode.js +3 -3
  857. package/lib/commonjs/servers/volume/server/query/encode.js.map +1 -1
  858. package/lib/commonjs/servers/volume/server/query/execute.js +5 -5
  859. package/lib/commonjs/servers/volume/server/query/execute.js.map +1 -1
  860. package/lib/commonjs/servers/volume/server/version.js +1 -1
  861. package/lib/commonjs/servers/volume/server/version.js.map +1 -1
  862. package/lib/commonjs/servers/volume/server/web-api.js +7 -7
  863. package/lib/commonjs/servers/volume/server/web-api.js.map +1 -1
  864. package/lib/commonjs/servers/volume/server/web-schema.js +6 -6
  865. package/lib/commonjs/servers/volume/server/web-schema.js.map +1 -1
  866. package/lib/commonjs/servers/volume/server.js +2 -2
  867. package/lib/commonjs/servers/volume/server.js.map +1 -1
  868. package/lib/commonjs/tests/browser/font-atlas.js +1 -1
  869. package/lib/commonjs/tests/browser/font-atlas.js.map +1 -1
  870. package/lib/commonjs/tests/browser/render-shape.js +1 -1
  871. package/lib/commonjs/tests/browser/render-shape.js.map +1 -1
  872. package/lib/commonjs/tests/browser/render-structure.js +1 -1
  873. package/lib/commonjs/tests/browser/render-structure.js.map +1 -1
  874. package/lib/examples/basic-wrapper/superposition.js +3 -3
  875. package/lib/examples/basic-wrapper/superposition.js.map +1 -1
  876. package/lib/examples/domain-annotation-server/mapping.js +2 -2
  877. package/lib/examples/domain-annotation-server/mapping.js.map +1 -1
  878. package/lib/examples/domain-annotation-server/server.js +3 -3
  879. package/lib/examples/domain-annotation-server/server.js.map +1 -1
  880. package/lib/examples/proteopedia-wrapper/annotation.js +3 -3
  881. package/lib/examples/proteopedia-wrapper/annotation.js.map +1 -1
  882. package/lib/examples/proteopedia-wrapper/helpers.js +1 -1
  883. package/lib/examples/proteopedia-wrapper/helpers.js.map +1 -1
  884. package/lib/examples/proteopedia-wrapper/index.js +2 -2
  885. package/lib/examples/proteopedia-wrapper/index.js.map +1 -1
  886. package/lib/examples/task.js +6 -6
  887. package/lib/examples/task.js.map +1 -1
  888. package/lib/extensions/alpha-orbitals/transforms.js +2 -2
  889. package/lib/extensions/alpha-orbitals/transforms.js.map +1 -1
  890. package/lib/extensions/anvil/behavior.d.ts +2 -2
  891. package/lib/extensions/anvil/representation.d.ts +5 -5
  892. package/lib/extensions/anvil/representation.js +1 -1
  893. package/lib/extensions/anvil/representation.js.map +1 -1
  894. package/lib/extensions/cellpack/model.js +15 -15
  895. package/lib/extensions/cellpack/model.js.map +1 -1
  896. package/lib/extensions/cellpack/representation.d.ts +2 -2
  897. package/lib/extensions/cellpack/state.js +5 -5
  898. package/lib/extensions/cellpack/state.js.map +1 -1
  899. package/lib/extensions/cellpack/util.js +4 -4
  900. package/lib/extensions/cellpack/util.js.map +1 -1
  901. package/lib/extensions/dnatco/confal-pyramids/behavior.d.ts +1 -1
  902. package/lib/extensions/dnatco/confal-pyramids/representation.d.ts +6 -6
  903. package/lib/extensions/dnatco/confal-pyramids/util.js +7 -7
  904. package/lib/extensions/dnatco/confal-pyramids/util.js.map +1 -1
  905. package/lib/extensions/g3d/data.js +2 -2
  906. package/lib/extensions/g3d/data.js.map +1 -1
  907. package/lib/extensions/g3d/model.js +2 -2
  908. package/lib/extensions/g3d/model.js.map +1 -1
  909. package/lib/extensions/geo-export/controls.js +3 -3
  910. package/lib/extensions/geo-export/controls.js.map +1 -1
  911. package/lib/extensions/geo-export/glb-exporter.d.ts +1 -0
  912. package/lib/extensions/geo-export/glb-exporter.js +28 -18
  913. package/lib/extensions/geo-export/glb-exporter.js.map +1 -1
  914. package/lib/extensions/geo-export/mesh-exporter.d.ts +31 -2
  915. package/lib/extensions/geo-export/mesh-exporter.js +87 -15
  916. package/lib/extensions/geo-export/mesh-exporter.js.map +1 -1
  917. package/lib/extensions/geo-export/obj-exporter.d.ts +1 -0
  918. package/lib/extensions/geo-export/obj-exporter.js +27 -18
  919. package/lib/extensions/geo-export/obj-exporter.js.map +1 -1
  920. package/lib/extensions/geo-export/stl-exporter.js +1 -1
  921. package/lib/extensions/geo-export/stl-exporter.js.map +1 -1
  922. package/lib/extensions/geo-export/ui.js +24 -20
  923. package/lib/extensions/geo-export/ui.js.map +1 -1
  924. package/lib/extensions/geo-export/usdz-exporter.d.ts +1 -0
  925. package/lib/extensions/geo-export/usdz-exporter.js +31 -21
  926. package/lib/extensions/geo-export/usdz-exporter.js.map +1 -1
  927. package/lib/extensions/mp4-export/controls.js +2 -2
  928. package/lib/extensions/mp4-export/controls.js.map +1 -1
  929. package/lib/extensions/mp4-export/ui.js +7 -6
  930. package/lib/extensions/mp4-export/ui.js.map +1 -1
  931. package/lib/extensions/pdbe/structure-quality-report/behavior.js +1 -1
  932. package/lib/extensions/pdbe/structure-quality-report/behavior.js.map +1 -1
  933. package/lib/extensions/pdbe/structure-quality-report/prop.js +1 -1
  934. package/lib/extensions/pdbe/structure-quality-report/prop.js.map +1 -1
  935. package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +8 -8
  936. package/lib/extensions/rcsb/assembly-symmetry/behavior.js +3 -3
  937. package/lib/extensions/rcsb/assembly-symmetry/behavior.js.map +1 -1
  938. package/lib/extensions/rcsb/assembly-symmetry/color.js +1 -1
  939. package/lib/extensions/rcsb/assembly-symmetry/color.js.map +1 -1
  940. package/lib/extensions/rcsb/assembly-symmetry/prop.js +2 -2
  941. package/lib/extensions/rcsb/assembly-symmetry/prop.js.map +1 -1
  942. package/lib/extensions/rcsb/assembly-symmetry/representation.d.ts +3 -3
  943. package/lib/extensions/rcsb/assembly-symmetry/representation.js +7 -7
  944. package/lib/extensions/rcsb/assembly-symmetry/representation.js.map +1 -1
  945. package/lib/extensions/rcsb/graphql/types.d.ts +22 -21
  946. package/lib/extensions/rcsb/validation-report/behavior.d.ts +3 -3
  947. package/lib/extensions/rcsb/validation-report/behavior.js +11 -11
  948. package/lib/extensions/rcsb/validation-report/behavior.js.map +1 -1
  949. package/lib/extensions/rcsb/validation-report/prop.js +2 -2
  950. package/lib/extensions/rcsb/validation-report/prop.js.map +1 -1
  951. package/lib/extensions/rcsb/validation-report/representation.d.ts +10 -10
  952. package/lib/extensions/rcsb/validation-report/representation.js +2 -2
  953. package/lib/extensions/rcsb/validation-report/representation.js.map +1 -1
  954. package/lib/mol-canvas3d/canvas3d.js +3 -3
  955. package/lib/mol-canvas3d/canvas3d.js.map +1 -1
  956. package/lib/mol-canvas3d/helper/camera-helper.d.ts +1 -1
  957. package/lib/mol-canvas3d/helper/handle-helper.d.ts +1 -1
  958. package/lib/mol-canvas3d/helper/handle-helper.js +1 -1
  959. package/lib/mol-canvas3d/helper/handle-helper.js.map +1 -1
  960. package/lib/mol-canvas3d/passes/draw.js +3 -11
  961. package/lib/mol-canvas3d/passes/draw.js.map +1 -1
  962. package/lib/mol-canvas3d/passes/wboit.js +1 -1
  963. package/lib/mol-canvas3d/passes/wboit.js.map +1 -1
  964. package/lib/mol-canvas3d/util.js +1 -1
  965. package/lib/mol-canvas3d/util.js.map +1 -1
  966. package/lib/mol-data/db/table.js +1 -1
  967. package/lib/mol-data/db/table.js.map +1 -1
  968. package/lib/mol-data/int/_spec/sorted-ranges.spec.js +1 -1
  969. package/lib/mol-data/int/_spec/sorted-ranges.spec.js.map +1 -1
  970. package/lib/mol-data/int/impl/ordered-set.d.ts +3 -3
  971. package/lib/mol-data/int/impl/sorted-array.d.ts +1 -1
  972. package/lib/mol-data/int/impl/sorted-array.js +2 -2
  973. package/lib/mol-data/int/impl/sorted-array.js.map +1 -1
  974. package/lib/mol-data/int/tuple.js +1 -1
  975. package/lib/mol-data/int/tuple.js.map +1 -1
  976. package/lib/mol-data/util/_spec/interval-iterator.spec.js +1 -1
  977. package/lib/mol-data/util/_spec/interval-iterator.spec.js.map +1 -1
  978. package/lib/mol-geo/geometry/base.d.ts +16 -4
  979. package/lib/mol-geo/geometry/base.js +34 -1
  980. package/lib/mol-geo/geometry/base.js.map +1 -1
  981. package/lib/mol-geo/geometry/cylinders/cylinders.d.ts +1 -1
  982. package/lib/mol-geo/geometry/direct-volume/direct-volume.d.ts +1 -1
  983. package/lib/mol-geo/geometry/image/image.d.ts +3 -3
  984. package/lib/mol-geo/geometry/lines/lines.d.ts +1 -1
  985. package/lib/mol-geo/geometry/mesh/builder/tube.js +19 -9
  986. package/lib/mol-geo/geometry/mesh/builder/tube.js.map +1 -1
  987. package/lib/mol-geo/geometry/mesh/color-smoothing.d.ts +9 -2
  988. package/lib/mol-geo/geometry/mesh/color-smoothing.js +150 -34
  989. package/lib/mol-geo/geometry/mesh/color-smoothing.js.map +1 -1
  990. package/lib/mol-geo/geometry/mesh/mesh.d.ts +1 -1
  991. package/lib/mol-geo/geometry/mesh/mesh.js +1 -1
  992. package/lib/mol-geo/geometry/mesh/mesh.js.map +1 -1
  993. package/lib/mol-geo/geometry/overpaint-data.d.ts +7 -2
  994. package/lib/mol-geo/geometry/overpaint-data.js +11 -2
  995. package/lib/mol-geo/geometry/overpaint-data.js.map +1 -1
  996. package/lib/mol-geo/geometry/points/points.d.ts +3 -3
  997. package/lib/mol-geo/geometry/spheres/spheres.d.ts +1 -2
  998. package/lib/mol-geo/geometry/text/font-atlas.js +1 -1
  999. package/lib/mol-geo/geometry/text/font-atlas.js.map +1 -1
  1000. package/lib/mol-geo/geometry/text/text.d.ts +1 -1
  1001. package/lib/mol-geo/geometry/texture-mesh/color-smoothing.d.ts +7 -3
  1002. package/lib/mol-geo/geometry/texture-mesh/color-smoothing.js +158 -26
  1003. package/lib/mol-geo/geometry/texture-mesh/color-smoothing.js.map +1 -1
  1004. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +4 -2
  1005. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js +2 -1
  1006. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js.map +1 -1
  1007. package/lib/mol-geo/geometry/transparency-data.d.ts +7 -2
  1008. package/lib/mol-geo/geometry/transparency-data.js +11 -2
  1009. package/lib/mol-geo/geometry/transparency-data.js.map +1 -1
  1010. package/lib/mol-geo/primitive/polyhedron.js +1 -1
  1011. package/lib/mol-geo/primitive/polyhedron.js.map +1 -1
  1012. package/lib/mol-gl/_spec/gl.shim.js +4 -4
  1013. package/lib/mol-gl/_spec/gl.shim.js.map +1 -1
  1014. package/lib/mol-gl/_spec/renderer.spec.js +1 -1
  1015. package/lib/mol-gl/_spec/renderer.spec.js.map +1 -1
  1016. package/lib/mol-gl/compute/grid3d.js +3 -3
  1017. package/lib/mol-gl/compute/grid3d.js.map +1 -1
  1018. package/lib/mol-gl/compute/histogram-pyramid/reduction.js +4 -4
  1019. package/lib/mol-gl/compute/histogram-pyramid/reduction.js.map +1 -1
  1020. package/lib/mol-gl/compute/marching-cubes/isosurface.js +3 -3
  1021. package/lib/mol-gl/compute/marching-cubes/isosurface.js.map +1 -1
  1022. package/lib/mol-gl/compute/util.d.ts +25 -6
  1023. package/lib/mol-gl/compute/util.js +74 -21
  1024. package/lib/mol-gl/compute/util.js.map +1 -1
  1025. package/lib/mol-gl/renderable/cylinders.d.ts +8 -0
  1026. package/lib/mol-gl/renderable/direct-volume.d.ts +8 -0
  1027. package/lib/mol-gl/renderable/image.d.ts +8 -0
  1028. package/lib/mol-gl/renderable/lines.d.ts +8 -0
  1029. package/lib/mol-gl/renderable/mesh.d.ts +8 -0
  1030. package/lib/mol-gl/renderable/points.d.ts +8 -0
  1031. package/lib/mol-gl/renderable/schema.d.ts +16 -0
  1032. package/lib/mol-gl/renderable/schema.js +8 -0
  1033. package/lib/mol-gl/renderable/schema.js.map +1 -1
  1034. package/lib/mol-gl/renderable/spheres.d.ts +8 -0
  1035. package/lib/mol-gl/renderable/text.d.ts +8 -0
  1036. package/lib/mol-gl/renderable/texture-mesh.d.ts +22 -13
  1037. package/lib/mol-gl/renderable/texture-mesh.js +2 -2
  1038. package/lib/mol-gl/renderable/texture-mesh.js.map +1 -1
  1039. package/lib/mol-gl/renderable/util.js +1 -1
  1040. package/lib/mol-gl/renderable/util.js.map +1 -1
  1041. package/lib/mol-gl/renderer.js +3 -0
  1042. package/lib/mol-gl/renderer.js.map +1 -1
  1043. package/lib/mol-gl/scene.js +1 -1
  1044. package/lib/mol-gl/scene.js.map +1 -1
  1045. package/lib/mol-gl/shader/chunks/assign-color-varying.glsl.d.ts +1 -1
  1046. package/lib/mol-gl/shader/chunks/assign-color-varying.glsl.js +1 -1
  1047. package/lib/mol-gl/shader/chunks/assign-color-varying.glsl.js.map +1 -1
  1048. package/lib/mol-gl/shader/chunks/assign-material-color.glsl.d.ts +1 -1
  1049. package/lib/mol-gl/shader/chunks/assign-material-color.glsl.js +1 -1
  1050. package/lib/mol-gl/shader/chunks/assign-material-color.glsl.js.map +1 -1
  1051. package/lib/mol-gl/shader/chunks/color-vert-params.glsl.d.ts +1 -1
  1052. package/lib/mol-gl/shader/chunks/color-vert-params.glsl.js +1 -1
  1053. package/lib/mol-gl/shader/chunks/color-vert-params.glsl.js.map +1 -1
  1054. package/lib/mol-gl/shader/compute/color-smoothing/accumulate.frag.d.ts +1 -1
  1055. package/lib/mol-gl/shader/compute/color-smoothing/accumulate.frag.js +1 -1
  1056. package/lib/mol-gl/shader/compute/color-smoothing/accumulate.frag.js.map +1 -1
  1057. package/lib/mol-gl/shader/compute/color-smoothing/accumulate.vert.d.ts +1 -1
  1058. package/lib/mol-gl/shader/compute/color-smoothing/accumulate.vert.js +1 -1
  1059. package/lib/mol-gl/shader/compute/color-smoothing/accumulate.vert.js.map +1 -1
  1060. package/lib/mol-gl/shader/compute/color-smoothing/normalize.frag.d.ts +1 -1
  1061. package/lib/mol-gl/shader/compute/color-smoothing/normalize.frag.js +1 -1
  1062. package/lib/mol-gl/shader/compute/color-smoothing/normalize.frag.js.map +1 -1
  1063. package/lib/mol-gl/shader/direct-volume.frag.d.ts +1 -1
  1064. package/lib/mol-gl/shader/direct-volume.frag.js +1 -1
  1065. package/lib/mol-gl/shader/direct-volume.frag.js.map +1 -1
  1066. package/lib/mol-gl/shader/mesh.vert.d.ts +1 -1
  1067. package/lib/mol-gl/shader/mesh.vert.js +1 -1
  1068. package/lib/mol-gl/shader/mesh.vert.js.map +1 -1
  1069. package/lib/mol-gl/shader-code.js +8 -8
  1070. package/lib/mol-gl/shader-code.js.map +1 -1
  1071. package/lib/mol-gl/webgl/buffer.d.ts +3 -2
  1072. package/lib/mol-gl/webgl/buffer.js +5 -5
  1073. package/lib/mol-gl/webgl/buffer.js.map +1 -1
  1074. package/lib/mol-gl/webgl/compat.js +3 -3
  1075. package/lib/mol-gl/webgl/compat.js.map +1 -1
  1076. package/lib/mol-gl/webgl/context.d.ts +1 -1
  1077. package/lib/mol-gl/webgl/context.js +2 -2
  1078. package/lib/mol-gl/webgl/context.js.map +1 -1
  1079. package/lib/mol-gl/webgl/extensions.js +1 -1
  1080. package/lib/mol-gl/webgl/extensions.js.map +1 -1
  1081. package/lib/mol-gl/webgl/framebuffer.js +1 -1
  1082. package/lib/mol-gl/webgl/framebuffer.js.map +1 -1
  1083. package/lib/mol-gl/webgl/program.d.ts +1 -1
  1084. package/lib/mol-gl/webgl/program.js +14 -12
  1085. package/lib/mol-gl/webgl/program.js.map +1 -1
  1086. package/lib/mol-gl/webgl/render-item.d.ts +3 -2
  1087. package/lib/mol-gl/webgl/render-item.js +2 -2
  1088. package/lib/mol-gl/webgl/render-item.js.map +1 -1
  1089. package/lib/mol-gl/webgl/resources.js +2 -2
  1090. package/lib/mol-gl/webgl/resources.js.map +1 -1
  1091. package/lib/mol-gl/webgl/shader.js +3 -3
  1092. package/lib/mol-gl/webgl/shader.js.map +1 -1
  1093. package/lib/mol-gl/webgl/state.d.ts +4 -1
  1094. package/lib/mol-gl/webgl/state.js +25 -1
  1095. package/lib/mol-gl/webgl/state.js.map +1 -1
  1096. package/lib/mol-gl/webgl/texture.js +2 -2
  1097. package/lib/mol-gl/webgl/texture.js.map +1 -1
  1098. package/lib/mol-gl/webgl/uniform.js +2 -2
  1099. package/lib/mol-gl/webgl/uniform.js.map +1 -1
  1100. package/lib/mol-gl/webgl/vertex-array.d.ts +3 -2
  1101. package/lib/mol-gl/webgl/vertex-array.js +9 -2
  1102. package/lib/mol-gl/webgl/vertex-array.js.map +1 -1
  1103. package/lib/mol-io/common/file-handle.js +1 -1
  1104. package/lib/mol-io/common/file-handle.js.map +1 -1
  1105. package/lib/mol-io/common/typed-array.js +1 -1
  1106. package/lib/mol-io/common/typed-array.js.map +1 -1
  1107. package/lib/mol-io/reader/_spec/sdf.spec.js +51 -0
  1108. package/lib/mol-io/reader/_spec/sdf.spec.js.map +1 -1
  1109. package/lib/mol-io/reader/ccp4/parser.js +1 -1
  1110. package/lib/mol-io/reader/ccp4/parser.js.map +1 -1
  1111. package/lib/mol-io/reader/cif/binary/parser.js +1 -1
  1112. package/lib/mol-io/reader/cif/binary/parser.js.map +1 -1
  1113. package/lib/mol-io/reader/cif/data-model.js +7 -7
  1114. package/lib/mol-io/reader/cif/data-model.js.map +1 -1
  1115. package/lib/mol-io/reader/cif/schema/bird.d.ts +2 -2
  1116. package/lib/mol-io/reader/cif/schema/bird.js +1 -1
  1117. package/lib/mol-io/reader/cif/schema/ccd.d.ts +3 -3
  1118. package/lib/mol-io/reader/cif/schema/ccd.js +1 -1
  1119. package/lib/mol-io/reader/cif/schema/cif-core.d.ts +8 -5
  1120. package/lib/mol-io/reader/cif/schema/cif-core.js +15 -5
  1121. package/lib/mol-io/reader/cif/schema/cif-core.js.map +1 -1
  1122. package/lib/mol-io/reader/cif/schema/density-server.d.ts +3 -3
  1123. package/lib/mol-io/reader/cif/schema/mmcif-extras.d.ts +3 -3
  1124. package/lib/mol-io/reader/cif/schema/mmcif.d.ts +15 -15
  1125. package/lib/mol-io/reader/cif/schema/mmcif.js +1 -1
  1126. package/lib/mol-io/reader/cif/schema.js +7 -7
  1127. package/lib/mol-io/reader/cif/schema.js.map +1 -1
  1128. package/lib/mol-io/reader/cif/text/parser.js +2 -2
  1129. package/lib/mol-io/reader/cif/text/parser.js.map +1 -1
  1130. package/lib/mol-io/reader/dcd/parser.js +2 -2
  1131. package/lib/mol-io/reader/dcd/parser.js.map +1 -1
  1132. package/lib/mol-io/reader/ply/schema.d.ts +1 -1
  1133. package/lib/mol-io/reader/ply/schema.js +1 -1
  1134. package/lib/mol-io/reader/ply/schema.js.map +1 -1
  1135. package/lib/mol-io/reader/result.js +1 -1
  1136. package/lib/mol-io/reader/result.js.map +1 -1
  1137. package/lib/mol-io/reader/sdf/parser-v3-util.d.ts +9 -0
  1138. package/lib/mol-io/reader/sdf/parser-v3-util.js +84 -0
  1139. package/lib/mol-io/reader/sdf/parser-v3-util.js.map +1 -0
  1140. package/lib/mol-io/reader/sdf/parser.d.ts +1 -1
  1141. package/lib/mol-io/reader/sdf/parser.js +12 -4
  1142. package/lib/mol-io/reader/sdf/parser.js.map +1 -1
  1143. package/lib/mol-io/writer/cif/encoder/text.js +3 -3
  1144. package/lib/mol-io/writer/cif/encoder/text.js.map +1 -1
  1145. package/lib/mol-io/writer/cif/encoder.js +5 -5
  1146. package/lib/mol-io/writer/cif/encoder.js.map +1 -1
  1147. package/lib/mol-io/writer/mol/encoder.js +4 -4
  1148. package/lib/mol-io/writer/mol/encoder.js.map +1 -1
  1149. package/lib/mol-io/writer/mol2/encoder.js +6 -6
  1150. package/lib/mol-io/writer/mol2/encoder.js.map +1 -1
  1151. package/lib/mol-math/geometry/gaussian-density/gpu.js +1 -1
  1152. package/lib/mol-math/geometry/gaussian-density/gpu.js.map +1 -1
  1153. package/lib/mol-math/geometry/spacegroup/construction.js +8 -8
  1154. package/lib/mol-math/geometry/spacegroup/construction.js.map +1 -1
  1155. package/lib/mol-math/geometry/spacegroup/tables.js +1 -1
  1156. package/lib/mol-math/geometry/spacegroup/tables.js.map +1 -1
  1157. package/lib/mol-math/geometry/symmetry-operator.js +4 -4
  1158. package/lib/mol-math/geometry/symmetry-operator.js.map +1 -1
  1159. package/lib/mol-math/graph/inter-unit-graph.js +2 -2
  1160. package/lib/mol-math/graph/inter-unit-graph.js.map +1 -1
  1161. package/lib/mol-math/linear-algebra/3d/quat.js +1 -1
  1162. package/lib/mol-math/linear-algebra/3d/quat.js.map +1 -1
  1163. package/lib/mol-math/linear-algebra/3d/vec2.js +1 -1
  1164. package/lib/mol-math/linear-algebra/3d/vec2.js.map +1 -1
  1165. package/lib/mol-math/linear-algebra/3d/vec3.js +1 -1
  1166. package/lib/mol-math/linear-algebra/3d/vec3.js.map +1 -1
  1167. package/lib/mol-math/linear-algebra/3d/vec4.js +1 -1
  1168. package/lib/mol-math/linear-algebra/3d/vec4.js.map +1 -1
  1169. package/lib/mol-model/loci.d.ts +20 -20
  1170. package/lib/mol-model/sequence/sequence.js +2 -2
  1171. package/lib/mol-model/sequence/sequence.js.map +1 -1
  1172. package/lib/mol-model/shape/shape.d.ts +1 -1
  1173. package/lib/mol-model/structure/export/categories/atom_site.js +2 -2
  1174. package/lib/mol-model/structure/export/categories/atom_site.js.map +1 -1
  1175. package/lib/mol-model/structure/export/categories/atom_site_operator_mapping.js +1 -1
  1176. package/lib/mol-model/structure/export/categories/atom_site_operator_mapping.js.map +1 -1
  1177. package/lib/mol-model/structure/export/categories/secondary-structure.js +1 -1
  1178. package/lib/mol-model/structure/export/categories/secondary-structure.js.map +1 -1
  1179. package/lib/mol-model/structure/export/mmcif.js +1 -1
  1180. package/lib/mol-model/structure/export/mmcif.js.map +1 -1
  1181. package/lib/mol-model/structure/model/properties/atomic/bonds.js +2 -2
  1182. package/lib/mol-model/structure/model/properties/atomic/bonds.js.map +1 -1
  1183. package/lib/mol-model/structure/model/properties/symmetry.js +3 -3
  1184. package/lib/mol-model/structure/model/properties/symmetry.js.map +1 -1
  1185. package/lib/mol-model/structure/model/properties/utils/atomic-index.js +2 -2
  1186. package/lib/mol-model/structure/model/properties/utils/atomic-index.js.map +1 -1
  1187. package/lib/mol-model/structure/model/properties/utils/coarse-keys.js +1 -1
  1188. package/lib/mol-model/structure/model/properties/utils/coarse-keys.js.map +1 -1
  1189. package/lib/mol-model/structure/model/properties/utils/residue-set.js +1 -1
  1190. package/lib/mol-model/structure/model/properties/utils/residue-set.js.map +1 -1
  1191. package/lib/mol-model/structure/query/context.js +1 -1
  1192. package/lib/mol-model/structure/query/context.js.map +1 -1
  1193. package/lib/mol-model/structure/query/utils/structure-distance.d.ts +54 -5
  1194. package/lib/mol-model/structure/structure/carbohydrates/compute.js +1 -1
  1195. package/lib/mol-model/structure/structure/carbohydrates/compute.js.map +1 -1
  1196. package/lib/mol-model/structure/structure/element/loci.js +2 -2
  1197. package/lib/mol-model/structure/structure/element/loci.js.map +1 -1
  1198. package/lib/mol-model/structure/structure/element/util.js +1 -1
  1199. package/lib/mol-model/structure/structure/element/util.js.map +1 -1
  1200. package/lib/mol-model/structure/structure/properties.d.ts +3 -3
  1201. package/lib/mol-model/structure/structure/properties.js +6 -6
  1202. package/lib/mol-model/structure/structure/properties.js.map +1 -1
  1203. package/lib/mol-model/structure/structure/structure.js +1 -1
  1204. package/lib/mol-model/structure/structure/structure.js.map +1 -1
  1205. package/lib/mol-model/structure/structure/symmetry.js +3 -3
  1206. package/lib/mol-model/structure/structure/symmetry.js.map +1 -1
  1207. package/lib/mol-model/structure/structure/unit.d.ts +2 -2
  1208. package/lib/mol-model/structure/structure/util/superposition-db-mapping.js +1 -1
  1209. package/lib/mol-model/structure/structure/util/superposition-db-mapping.js.map +1 -1
  1210. package/lib/mol-model/volume/volume.js +2 -2
  1211. package/lib/mol-model/volume/volume.js.map +1 -1
  1212. package/lib/mol-model-formats/shape/ply.d.ts +6 -6
  1213. package/lib/mol-model-formats/shape/ply.js +1 -1
  1214. package/lib/mol-model-formats/shape/ply.js.map +1 -1
  1215. package/lib/mol-model-formats/structure/basic/atomic.js +2 -2
  1216. package/lib/mol-model-formats/structure/basic/atomic.js.map +1 -1
  1217. package/lib/mol-model-formats/structure/basic/properties.js +2 -2
  1218. package/lib/mol-model-formats/structure/basic/properties.js.map +1 -1
  1219. package/lib/mol-model-formats/structure/basic/schema.d.ts +6 -6
  1220. package/lib/mol-model-formats/structure/common/component.d.ts +8 -8
  1221. package/lib/mol-model-formats/structure/common/entity.js +6 -6
  1222. package/lib/mol-model-formats/structure/common/entity.js.map +1 -1
  1223. package/lib/mol-model-formats/structure/pdb/assembly.js +10 -10
  1224. package/lib/mol-model-formats/structure/pdb/assembly.js.map +1 -1
  1225. package/lib/mol-model-formats/structure/pdb/conect.js +1 -1
  1226. package/lib/mol-model-formats/structure/pdb/conect.js.map +1 -1
  1227. package/lib/mol-model-formats/structure/pdb/entity.js +1 -1
  1228. package/lib/mol-model-formats/structure/pdb/entity.js.map +1 -1
  1229. package/lib/mol-model-formats/structure/property/assembly.js +1 -1
  1230. package/lib/mol-model-formats/structure/property/assembly.js.map +1 -1
  1231. package/lib/mol-model-formats/structure/property/symmetry.js +1 -1
  1232. package/lib/mol-model-formats/structure/property/symmetry.js.map +1 -1
  1233. package/lib/mol-model-formats/volume/ccp4.js +1 -1
  1234. package/lib/mol-model-formats/volume/ccp4.js.map +1 -1
  1235. package/lib/mol-model-props/common/custom-element-property.js +1 -1
  1236. package/lib/mol-model-props/common/custom-element-property.js.map +1 -1
  1237. package/lib/mol-model-props/common/custom-property.js +1 -1
  1238. package/lib/mol-model-props/common/custom-property.js.map +1 -1
  1239. package/lib/mol-model-props/computed/interactions/common.js +1 -1
  1240. package/lib/mol-model-props/computed/interactions/common.js.map +1 -1
  1241. package/lib/mol-model-props/computed/interactions/hydrogen-bonds.d.ts +1 -1
  1242. package/lib/mol-model-props/computed/interactions/hydrogen-bonds.js +1 -7
  1243. package/lib/mol-model-props/computed/interactions/hydrogen-bonds.js.map +1 -1
  1244. package/lib/mol-model-props/computed/interactions/refine.js +2 -2
  1245. package/lib/mol-model-props/computed/interactions/refine.js.map +1 -1
  1246. package/lib/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +2 -2
  1247. package/lib/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +2 -2
  1248. package/lib/mol-model-props/computed/representations/interactions.d.ts +6 -6
  1249. package/lib/mol-model-props/integrative/cross-link-restraint/property.js +1 -1
  1250. package/lib/mol-model-props/integrative/cross-link-restraint/property.js.map +1 -1
  1251. package/lib/mol-model-props/integrative/cross-link-restraint/representation.d.ts +8 -8
  1252. package/lib/mol-model-props/integrative/pair-restraints.js +1 -1
  1253. package/lib/mol-model-props/integrative/pair-restraints.js.map +1 -1
  1254. package/lib/mol-model-props/sequence/best-database-mapping.js +1 -1
  1255. package/lib/mol-model-props/sequence/best-database-mapping.js.map +1 -1
  1256. package/lib/mol-model-props/sequence/themes/best-database-mapping.js +1 -1
  1257. package/lib/mol-model-props/sequence/themes/best-database-mapping.js.map +1 -1
  1258. package/lib/mol-plugin/behavior/behavior.d.ts +1 -1
  1259. package/lib/mol-plugin/behavior/dynamic/custom-props/computed/accessible-surface-area.js +3 -3
  1260. package/lib/mol-plugin/behavior/dynamic/custom-props/computed/accessible-surface-area.js.map +1 -1
  1261. package/lib/mol-plugin/behavior/dynamic/custom-props/computed/interactions.js +3 -3
  1262. package/lib/mol-plugin/behavior/dynamic/custom-props/computed/interactions.js.map +1 -1
  1263. package/lib/mol-plugin/behavior/dynamic/custom-props/computed/valence-model.js +1 -1
  1264. package/lib/mol-plugin/behavior/dynamic/custom-props/computed/valence-model.js.map +1 -1
  1265. package/lib/mol-plugin/behavior/dynamic/representation.d.ts +2 -2
  1266. package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +1 -1
  1267. package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js +1 -1
  1268. package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js.map +1 -1
  1269. package/lib/mol-plugin/behavior/dynamic/volume-streaming/behavior.d.ts +4 -4
  1270. package/lib/mol-plugin/behavior/dynamic/volume-streaming/behavior.js +6 -6
  1271. package/lib/mol-plugin/behavior/dynamic/volume-streaming/behavior.js.map +1 -1
  1272. package/lib/mol-plugin/behavior/dynamic/volume-streaming/transformers.d.ts +2 -2
  1273. package/lib/mol-plugin/behavior/dynamic/volume-streaming/transformers.js +5 -5
  1274. package/lib/mol-plugin/behavior/dynamic/volume-streaming/transformers.js.map +1 -1
  1275. package/lib/mol-plugin/behavior/dynamic/volume-streaming/util.js +6 -6
  1276. package/lib/mol-plugin/behavior/dynamic/volume-streaming/util.js.map +1 -1
  1277. package/lib/mol-plugin/behavior/static/state.js +4 -4
  1278. package/lib/mol-plugin/behavior/static/state.js.map +1 -1
  1279. package/lib/mol-plugin/context.js +2 -3
  1280. package/lib/mol-plugin/context.js.map +1 -1
  1281. package/lib/mol-plugin/layout.d.ts +4 -4
  1282. package/lib/mol-plugin/util/viewport-screenshot.d.ts +3 -3
  1283. package/lib/mol-plugin/util/viewport-screenshot.js +1 -1
  1284. package/lib/mol-plugin/util/viewport-screenshot.js.map +1 -1
  1285. package/lib/mol-plugin/version.js +2 -2
  1286. package/lib/mol-plugin-state/actions/file.js +7 -5
  1287. package/lib/mol-plugin-state/actions/file.js.map +1 -1
  1288. package/lib/mol-plugin-state/actions/structure.d.ts +1 -1
  1289. package/lib/mol-plugin-state/actions/structure.js +12 -12
  1290. package/lib/mol-plugin-state/actions/structure.js.map +1 -1
  1291. package/lib/mol-plugin-state/actions/volume.js +16 -16
  1292. package/lib/mol-plugin-state/actions/volume.js.map +1 -1
  1293. package/lib/mol-plugin-state/animation/built-in/model-index.d.ts +4 -4
  1294. package/lib/mol-plugin-state/animation/helpers.d.ts +5 -5
  1295. package/lib/mol-plugin-state/builder/structure/hierarchy-preset.d.ts +4 -4
  1296. package/lib/mol-plugin-state/builder/structure/hierarchy.d.ts +4 -4
  1297. package/lib/mol-plugin-state/builder/structure/hierarchy.js +2 -2
  1298. package/lib/mol-plugin-state/builder/structure/hierarchy.js.map +1 -1
  1299. package/lib/mol-plugin-state/builder/structure/representation-preset.d.ts +15 -15
  1300. package/lib/mol-plugin-state/builder/structure/representation-preset.js +1 -1
  1301. package/lib/mol-plugin-state/builder/structure/representation-preset.js.map +1 -1
  1302. package/lib/mol-plugin-state/builder/structure/representation.d.ts +1 -1
  1303. package/lib/mol-plugin-state/builder/structure/representation.js +2 -2
  1304. package/lib/mol-plugin-state/builder/structure/representation.js.map +1 -1
  1305. package/lib/mol-plugin-state/builder/structure.js +3 -3
  1306. package/lib/mol-plugin-state/builder/structure.js.map +1 -1
  1307. package/lib/mol-plugin-state/formats/registry.js +1 -1
  1308. package/lib/mol-plugin-state/formats/registry.js.map +1 -1
  1309. package/lib/mol-plugin-state/formats/volume.d.ts +8 -8
  1310. package/lib/mol-plugin-state/formats/volume.js +1 -0
  1311. package/lib/mol-plugin-state/formats/volume.js.map +1 -1
  1312. package/lib/mol-plugin-state/helpers/root-structure.d.ts +4 -4
  1313. package/lib/mol-plugin-state/helpers/root-structure.js +10 -10
  1314. package/lib/mol-plugin-state/helpers/root-structure.js.map +1 -1
  1315. package/lib/mol-plugin-state/helpers/structure-component.d.ts +2 -2
  1316. package/lib/mol-plugin-state/helpers/structure-component.js +3 -3
  1317. package/lib/mol-plugin-state/helpers/structure-component.js.map +1 -1
  1318. package/lib/mol-plugin-state/helpers/structure-query.js +1 -1
  1319. package/lib/mol-plugin-state/helpers/structure-query.js.map +1 -1
  1320. package/lib/mol-plugin-state/helpers/structure-selection-query.d.ts +1 -1
  1321. package/lib/mol-plugin-state/helpers/structure-selection-query.js +19 -8
  1322. package/lib/mol-plugin-state/helpers/structure-selection-query.js.map +1 -1
  1323. package/lib/mol-plugin-state/manager/animation.js +1 -1
  1324. package/lib/mol-plugin-state/manager/animation.js.map +1 -1
  1325. package/lib/mol-plugin-state/manager/interactivity.d.ts +1 -1
  1326. package/lib/mol-plugin-state/manager/loci-label.js +1 -1
  1327. package/lib/mol-plugin-state/manager/loci-label.js.map +1 -1
  1328. package/lib/mol-plugin-state/manager/snapshots.js +3 -2
  1329. package/lib/mol-plugin-state/manager/snapshots.js.map +1 -1
  1330. package/lib/mol-plugin-state/manager/structure/component.d.ts +3 -3
  1331. package/lib/mol-plugin-state/manager/structure/hierarchy.js +2 -2
  1332. package/lib/mol-plugin-state/manager/structure/hierarchy.js.map +1 -1
  1333. package/lib/mol-plugin-state/manager/structure/measurement.js +3 -3
  1334. package/lib/mol-plugin-state/manager/structure/measurement.js.map +1 -1
  1335. package/lib/mol-plugin-state/transforms/data.d.ts +1 -1
  1336. package/lib/mol-plugin-state/transforms/data.js +8 -8
  1337. package/lib/mol-plugin-state/transforms/data.js.map +1 -1
  1338. package/lib/mol-plugin-state/transforms/model.d.ts +6 -6
  1339. package/lib/mol-plugin-state/transforms/model.js +18 -18
  1340. package/lib/mol-plugin-state/transforms/model.js.map +1 -1
  1341. package/lib/mol-plugin-state/transforms/representation.d.ts +15 -15
  1342. package/lib/mol-plugin-state/transforms/representation.js +65 -39
  1343. package/lib/mol-plugin-state/transforms/representation.js.map +1 -1
  1344. package/lib/mol-plugin-state/transforms/volume.js +7 -7
  1345. package/lib/mol-plugin-state/transforms/volume.js.map +1 -1
  1346. package/lib/mol-plugin-ui/base.js +1 -1
  1347. package/lib/mol-plugin-ui/base.js.map +1 -1
  1348. package/lib/mol-plugin-ui/controls/action-menu.js +3 -3
  1349. package/lib/mol-plugin-ui/controls/action-menu.js.map +1 -1
  1350. package/lib/mol-plugin-ui/controls/color.js +2 -2
  1351. package/lib/mol-plugin-ui/controls/color.js.map +1 -1
  1352. package/lib/mol-plugin-ui/controls/common.js +9 -9
  1353. package/lib/mol-plugin-ui/controls/common.js.map +1 -1
  1354. package/lib/mol-plugin-ui/controls/icons.js +1 -1
  1355. package/lib/mol-plugin-ui/controls/icons.js.map +1 -1
  1356. package/lib/mol-plugin-ui/controls/legend.js +3 -3
  1357. package/lib/mol-plugin-ui/controls/legend.js.map +1 -1
  1358. package/lib/mol-plugin-ui/controls/line-graph/line-graph-component.js +6 -6
  1359. package/lib/mol-plugin-ui/controls/line-graph/line-graph-component.js.map +1 -1
  1360. package/lib/mol-plugin-ui/controls/line-graph/point-component.js +1 -1
  1361. package/lib/mol-plugin-ui/controls/line-graph/point-component.js.map +1 -1
  1362. package/lib/mol-plugin-ui/controls/parameters.d.ts +2 -2
  1363. package/lib/mol-plugin-ui/controls/parameters.js +29 -29
  1364. package/lib/mol-plugin-ui/controls/parameters.js.map +1 -1
  1365. package/lib/mol-plugin-ui/controls/screenshot.js +1 -1
  1366. package/lib/mol-plugin-ui/controls/screenshot.js.map +1 -1
  1367. package/lib/mol-plugin-ui/controls/slider.js +9 -9
  1368. package/lib/mol-plugin-ui/controls/slider.js.map +1 -1
  1369. package/lib/mol-plugin-ui/controls.js +2 -2
  1370. package/lib/mol-plugin-ui/controls.js.map +1 -1
  1371. package/lib/mol-plugin-ui/plugin.js +3 -3
  1372. package/lib/mol-plugin-ui/plugin.js.map +1 -1
  1373. package/lib/mol-plugin-ui/sequence/chain.js +3 -3
  1374. package/lib/mol-plugin-ui/sequence/chain.js.map +1 -1
  1375. package/lib/mol-plugin-ui/sequence/polymer.d.ts +1 -1
  1376. package/lib/mol-plugin-ui/sequence/sequence.js +4 -4
  1377. package/lib/mol-plugin-ui/sequence/sequence.js.map +1 -1
  1378. package/lib/mol-plugin-ui/sequence.js +8 -8
  1379. package/lib/mol-plugin-ui/sequence.js.map +1 -1
  1380. package/lib/mol-plugin-ui/skin/base/components/controls.scss +16 -18
  1381. package/lib/mol-plugin-ui/skin/base/components/toast.scss +3 -1
  1382. package/lib/mol-plugin-ui/state/actions.js +1 -1
  1383. package/lib/mol-plugin-ui/state/actions.js.map +1 -1
  1384. package/lib/mol-plugin-ui/state/common.js +12 -11
  1385. package/lib/mol-plugin-ui/state/common.js.map +1 -1
  1386. package/lib/mol-plugin-ui/state/snapshots.js +14 -12
  1387. package/lib/mol-plugin-ui/state/snapshots.js.map +1 -1
  1388. package/lib/mol-plugin-ui/state/tree.js +8 -8
  1389. package/lib/mol-plugin-ui/state/tree.js.map +1 -1
  1390. package/lib/mol-plugin-ui/structure/components.js +4 -4
  1391. package/lib/mol-plugin-ui/structure/components.js.map +1 -1
  1392. package/lib/mol-plugin-ui/structure/focus.js +4 -4
  1393. package/lib/mol-plugin-ui/structure/focus.js.map +1 -1
  1394. package/lib/mol-plugin-ui/structure/generic.js +2 -2
  1395. package/lib/mol-plugin-ui/structure/generic.js.map +1 -1
  1396. package/lib/mol-plugin-ui/structure/measurements.d.ts +1 -1
  1397. package/lib/mol-plugin-ui/structure/measurements.js +6 -6
  1398. package/lib/mol-plugin-ui/structure/measurements.js.map +1 -1
  1399. package/lib/mol-plugin-ui/structure/selection.js +5 -4
  1400. package/lib/mol-plugin-ui/structure/selection.js.map +1 -1
  1401. package/lib/mol-plugin-ui/structure/source.js +12 -12
  1402. package/lib/mol-plugin-ui/structure/source.js.map +1 -1
  1403. package/lib/mol-plugin-ui/structure/superposition.js +4 -4
  1404. package/lib/mol-plugin-ui/structure/superposition.js.map +1 -1
  1405. package/lib/mol-plugin-ui/structure/volume.js +2 -2
  1406. package/lib/mol-plugin-ui/structure/volume.js.map +1 -1
  1407. package/lib/mol-repr/representation.d.ts +9 -0
  1408. package/lib/mol-repr/representation.js +47 -8
  1409. package/lib/mol-repr/representation.js.map +1 -1
  1410. package/lib/mol-repr/shape/loci/angle.d.ts +1 -1
  1411. package/lib/mol-repr/shape/loci/angle.js +2 -2
  1412. package/lib/mol-repr/shape/loci/angle.js.map +1 -1
  1413. package/lib/mol-repr/shape/loci/common.d.ts +1 -1
  1414. package/lib/mol-repr/shape/loci/dihedral.d.ts +1 -1
  1415. package/lib/mol-repr/shape/loci/dihedral.js +2 -2
  1416. package/lib/mol-repr/shape/loci/dihedral.js.map +1 -1
  1417. package/lib/mol-repr/shape/loci/distance.d.ts +1 -1
  1418. package/lib/mol-repr/shape/loci/distance.js +2 -2
  1419. package/lib/mol-repr/shape/loci/distance.js.map +1 -1
  1420. package/lib/mol-repr/shape/loci/label.d.ts +1 -1
  1421. package/lib/mol-repr/shape/loci/label.js +1 -1
  1422. package/lib/mol-repr/shape/loci/label.js.map +1 -1
  1423. package/lib/mol-repr/shape/loci/orientation.d.ts +2 -2
  1424. package/lib/mol-repr/shape/loci/orientation.js +3 -3
  1425. package/lib/mol-repr/shape/loci/orientation.js.map +1 -1
  1426. package/lib/mol-repr/shape/loci/plane.d.ts +1 -1
  1427. package/lib/mol-repr/shape/loci/plane.js +1 -1
  1428. package/lib/mol-repr/shape/loci/plane.js.map +1 -1
  1429. package/lib/mol-repr/shape/model/unitcell.d.ts +2 -2
  1430. package/lib/mol-repr/shape/representation.js +5 -0
  1431. package/lib/mol-repr/shape/representation.js.map +1 -1
  1432. package/lib/mol-repr/structure/complex-representation.js +11 -4
  1433. package/lib/mol-repr/structure/complex-representation.js.map +1 -1
  1434. package/lib/mol-repr/structure/complex-visual.d.ts +12 -12
  1435. package/lib/mol-repr/structure/complex-visual.js +11 -5
  1436. package/lib/mol-repr/structure/complex-visual.js.map +1 -1
  1437. package/lib/mol-repr/structure/params.d.ts +11 -11
  1438. package/lib/mol-repr/structure/registry.d.ts +40 -40
  1439. package/lib/mol-repr/structure/registry.js +1 -1
  1440. package/lib/mol-repr/structure/registry.js.map +1 -1
  1441. package/lib/mol-repr/structure/representation/backbone.d.ts +6 -6
  1442. package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +15 -15
  1443. package/lib/mol-repr/structure/representation/carbohydrate.d.ts +6 -6
  1444. package/lib/mol-repr/structure/representation/cartoon.d.ts +6 -6
  1445. package/lib/mol-repr/structure/representation/ellipsoid.d.ts +15 -15
  1446. package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +6 -6
  1447. package/lib/mol-repr/structure/representation/gaussian-volume.d.ts +6 -6
  1448. package/lib/mol-repr/structure/representation/label.d.ts +9 -9
  1449. package/lib/mol-repr/structure/representation/line.d.ts +18 -18
  1450. package/lib/mol-repr/structure/representation/molecular-surface.d.ts +6 -6
  1451. package/lib/mol-repr/structure/representation/orientation.d.ts +6 -6
  1452. package/lib/mol-repr/structure/representation/point.d.ts +9 -9
  1453. package/lib/mol-repr/structure/representation/putty.d.ts +6 -6
  1454. package/lib/mol-repr/structure/representation/spacefill.d.ts +6 -6
  1455. package/lib/mol-repr/structure/units-representation.js +16 -16
  1456. package/lib/mol-repr/structure/units-representation.js.map +1 -1
  1457. package/lib/mol-repr/structure/units-visual.d.ts +17 -17
  1458. package/lib/mol-repr/structure/units-visual.js +11 -5
  1459. package/lib/mol-repr/structure/units-visual.js.map +1 -1
  1460. package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +10 -10
  1461. package/lib/mol-repr/structure/visual/bond-inter-unit-line.d.ts +5 -5
  1462. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +10 -10
  1463. package/lib/mol-repr/structure/visual/bond-intra-unit-line.d.ts +5 -5
  1464. package/lib/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +2 -2
  1465. package/lib/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +2 -2
  1466. package/lib/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +2 -2
  1467. package/lib/mol-repr/structure/visual/element-cross.d.ts +2 -2
  1468. package/lib/mol-repr/structure/visual/element-point.d.ts +3 -3
  1469. package/lib/mol-repr/structure/visual/element-sphere.d.ts +4 -4
  1470. package/lib/mol-repr/structure/visual/ellipsoid-mesh.d.ts +2 -2
  1471. package/lib/mol-repr/structure/visual/gaussian-density-volume.d.ts +4 -4
  1472. package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +8 -8
  1473. package/lib/mol-repr/structure/visual/gaussian-surface-mesh.js +9 -7
  1474. package/lib/mol-repr/structure/visual/gaussian-surface-mesh.js.map +1 -1
  1475. package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +2 -2
  1476. package/lib/mol-repr/structure/visual/label-text.d.ts +3 -3
  1477. package/lib/mol-repr/structure/visual/label-text.js +3 -3
  1478. package/lib/mol-repr/structure/visual/label-text.js.map +1 -1
  1479. package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +2 -2
  1480. package/lib/mol-repr/structure/visual/molecular-surface-mesh.js +3 -2
  1481. package/lib/mol-repr/structure/visual/molecular-surface-mesh.js.map +1 -1
  1482. package/lib/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +2 -2
  1483. package/lib/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +2 -2
  1484. package/lib/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +2 -2
  1485. package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +2 -2
  1486. package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +4 -4
  1487. package/lib/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +4 -4
  1488. package/lib/mol-repr/structure/visual/polymer-direction-wedge.d.ts +2 -2
  1489. package/lib/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +2 -2
  1490. package/lib/mol-repr/structure/visual/polymer-trace-mesh.d.ts +2 -2
  1491. package/lib/mol-repr/structure/visual/polymer-tube-mesh.d.ts +2 -2
  1492. package/lib/mol-repr/structure/visual/util/bond.d.ts +18 -18
  1493. package/lib/mol-repr/structure/visual/util/common.d.ts +2 -2
  1494. package/lib/mol-repr/visual.d.ts +21 -13
  1495. package/lib/mol-repr/visual.js +53 -6
  1496. package/lib/mol-repr/visual.js.map +1 -1
  1497. package/lib/mol-repr/volume/direct-volume.d.ts +8 -8
  1498. package/lib/mol-repr/volume/isosurface.d.ts +12 -12
  1499. package/lib/mol-repr/volume/registry.d.ts +8 -8
  1500. package/lib/mol-repr/volume/registry.js +1 -1
  1501. package/lib/mol-repr/volume/registry.js.map +1 -1
  1502. package/lib/mol-repr/volume/representation.d.ts +2 -2
  1503. package/lib/mol-repr/volume/representation.js +12 -3
  1504. package/lib/mol-repr/volume/representation.js.map +1 -1
  1505. package/lib/mol-repr/volume/slice.d.ts +12 -12
  1506. package/lib/mol-script/language/expression-formatter.js +6 -6
  1507. package/lib/mol-script/language/expression-formatter.js.map +1 -1
  1508. package/lib/mol-script/language/helpers.js +4 -4
  1509. package/lib/mol-script/language/helpers.js.map +1 -1
  1510. package/lib/mol-script/language/parser.js +1 -1
  1511. package/lib/mol-script/language/parser.js.map +1 -1
  1512. package/lib/mol-script/language/symbol-table/structure-query.js +3 -3
  1513. package/lib/mol-script/language/symbol-table/structure-query.js.map +1 -1
  1514. package/lib/mol-script/language/symbol.js +1 -1
  1515. package/lib/mol-script/language/symbol.js.map +1 -1
  1516. package/lib/mol-script/runtime/query/base.js +2 -2
  1517. package/lib/mol-script/runtime/query/base.js.map +1 -1
  1518. package/lib/mol-script/script/mol-script/symbols.js +3 -3
  1519. package/lib/mol-script/script/mol-script/symbols.js.map +1 -1
  1520. package/lib/mol-state/state/builder.js +1 -1
  1521. package/lib/mol-state/state/builder.js.map +1 -1
  1522. package/lib/mol-state/state.js +14 -12
  1523. package/lib/mol-state/state.js.map +1 -1
  1524. package/lib/mol-state/transformer.js +3 -3
  1525. package/lib/mol-state/transformer.js.map +1 -1
  1526. package/lib/mol-state/tree/transient.js +3 -3
  1527. package/lib/mol-state/tree/transient.js.map +1 -1
  1528. package/lib/mol-task/execution/observable.js +1 -5
  1529. package/lib/mol-task/execution/observable.js.map +1 -1
  1530. package/lib/mol-task/execution/progress.js +4 -4
  1531. package/lib/mol-task/execution/progress.js.map +1 -1
  1532. package/lib/mol-task/task.js +1 -1
  1533. package/lib/mol-task/task.js.map +1 -1
  1534. package/lib/mol-task/util/multistep.js +1 -1
  1535. package/lib/mol-task/util/multistep.js.map +1 -1
  1536. package/lib/mol-task/util/scheduler.d.ts +1 -0
  1537. package/lib/mol-task/util/user-timing.js +3 -3
  1538. package/lib/mol-task/util/user-timing.js.map +1 -1
  1539. package/lib/mol-theme/color/chain-id.js +1 -1
  1540. package/lib/mol-theme/color/chain-id.js.map +1 -1
  1541. package/lib/mol-theme/color/element-symbol.d.ts +4 -4
  1542. package/lib/mol-theme/color/entity-id.js +1 -1
  1543. package/lib/mol-theme/color/entity-id.js.map +1 -1
  1544. package/lib/mol-theme/color/entity-source.js +4 -4
  1545. package/lib/mol-theme/color/entity-source.js.map +1 -1
  1546. package/lib/mol-theme/color/operator-hkl.js +2 -2
  1547. package/lib/mol-theme/color/operator-hkl.js.map +1 -1
  1548. package/lib/mol-theme/color.d.ts +2 -2
  1549. package/lib/mol-theme/label.js +27 -27
  1550. package/lib/mol-theme/label.js.map +1 -1
  1551. package/lib/mol-theme/theme.js +3 -3
  1552. package/lib/mol-theme/theme.js.map +1 -1
  1553. package/lib/mol-util/assets.js +3 -3
  1554. package/lib/mol-util/assets.js.map +1 -1
  1555. package/lib/mol-util/color/color.js +2 -2
  1556. package/lib/mol-util/color/color.js.map +1 -1
  1557. package/lib/mol-util/color/lists.js +1 -1
  1558. package/lib/mol-util/color/lists.js.map +1 -1
  1559. package/lib/mol-util/color/names.d.ts +1 -1
  1560. package/lib/mol-util/color/palette.js +2 -2
  1561. package/lib/mol-util/color/palette.js.map +1 -1
  1562. package/lib/mol-util/color/scale.d.ts +1 -1
  1563. package/lib/mol-util/console-logger.js +9 -9
  1564. package/lib/mol-util/console-logger.js.map +1 -1
  1565. package/lib/mol-util/data-source.js +5 -5
  1566. package/lib/mol-util/data-source.js.map +1 -1
  1567. package/lib/mol-util/download.js +1 -1
  1568. package/lib/mol-util/download.js.map +1 -1
  1569. package/lib/mol-util/graphql-client.js +2 -2
  1570. package/lib/mol-util/graphql-client.js.map +1 -1
  1571. package/lib/mol-util/index.js +2 -2
  1572. package/lib/mol-util/index.js.map +1 -1
  1573. package/lib/mol-util/monadic-parser.js +4 -4
  1574. package/lib/mol-util/monadic-parser.js.map +1 -1
  1575. package/lib/mol-util/now.js +4 -4
  1576. package/lib/mol-util/now.js.map +1 -1
  1577. package/lib/mol-util/object.js +1 -1
  1578. package/lib/mol-util/object.js.map +1 -1
  1579. package/lib/mol-util/performance-monitor.js +4 -4
  1580. package/lib/mol-util/performance-monitor.js.map +1 -1
  1581. package/lib/mol-util/string.js +3 -3
  1582. package/lib/mol-util/string.js.map +1 -1
  1583. package/lib/mol-util/url.js +2 -2
  1584. package/lib/mol-util/url.js.map +1 -1
  1585. package/lib/mol-util/zip/deflate.js +1 -1
  1586. package/lib/mol-util/zip/deflate.js.map +1 -1
  1587. package/lib/mol-util/zip/inflate.js +1 -1
  1588. package/lib/mol-util/zip/inflate.js.map +1 -1
  1589. package/lib/mol-util/zip/zip.js +1 -1
  1590. package/lib/mol-util/zip/zip.js.map +1 -1
  1591. package/lib/perf-tests/mol-script.js +1 -1
  1592. package/lib/perf-tests/mol-script.js.map +1 -1
  1593. package/lib/perf-tests/sets.js +1 -1
  1594. package/lib/perf-tests/sets.js.map +1 -1
  1595. package/lib/perf-tests/sort.js +1 -1
  1596. package/lib/perf-tests/sort.js.map +1 -1
  1597. package/lib/perf-tests/string-builder.js +2 -2
  1598. package/lib/perf-tests/string-builder.js.map +1 -1
  1599. package/lib/perf-tests/structure.js +7 -7
  1600. package/lib/perf-tests/structure.js.map +1 -1
  1601. package/lib/perf-tests/test-xtc.js +1 -1
  1602. package/lib/perf-tests/test-xtc.js.map +1 -1
  1603. package/lib/servers/common/file-handle.js +1 -1
  1604. package/lib/servers/common/file-handle.js.map +1 -1
  1605. package/lib/servers/common/util.js +1 -1
  1606. package/lib/servers/common/util.js.map +1 -1
  1607. package/lib/servers/model/config.js +4 -4
  1608. package/lib/servers/model/config.js.map +1 -1
  1609. package/lib/servers/model/preprocess/master.js +1 -1
  1610. package/lib/servers/model/preprocess/master.js.map +1 -1
  1611. package/lib/servers/model/preprocess/parallel.js +2 -2
  1612. package/lib/servers/model/preprocess/parallel.js.map +1 -1
  1613. package/lib/servers/model/preprocess/util.js +3 -3
  1614. package/lib/servers/model/preprocess/util.js.map +1 -1
  1615. package/lib/servers/model/properties/providers/pdbe.js +5 -5
  1616. package/lib/servers/model/properties/providers/pdbe.js.map +1 -1
  1617. package/lib/servers/model/property-provider.js +2 -2
  1618. package/lib/servers/model/property-provider.js.map +1 -1
  1619. package/lib/servers/model/query.js +1 -1
  1620. package/lib/servers/model/query.js.map +1 -1
  1621. package/lib/servers/model/server/api-local.js +2 -2
  1622. package/lib/servers/model/server/api-local.js.map +1 -1
  1623. package/lib/servers/model/server/api-schema.js +2 -2
  1624. package/lib/servers/model/server/api-schema.js.map +1 -1
  1625. package/lib/servers/model/server/api-web-multiple.js +1 -1
  1626. package/lib/servers/model/server/api-web-multiple.js.map +1 -1
  1627. package/lib/servers/model/server/api-web.js +4 -4
  1628. package/lib/servers/model/server/api-web.js.map +1 -1
  1629. package/lib/servers/model/server/api.js +1 -1
  1630. package/lib/servers/model/server/api.js.map +1 -1
  1631. package/lib/servers/model/server/cache.js +3 -3
  1632. package/lib/servers/model/server/cache.js.map +1 -1
  1633. package/lib/servers/model/server/jobs.js +3 -3
  1634. package/lib/servers/model/server/jobs.js.map +1 -1
  1635. package/lib/servers/model/server/query.js +10 -10
  1636. package/lib/servers/model/server/query.js.map +1 -1
  1637. package/lib/servers/model/server/structure-wrapper.js +6 -6
  1638. package/lib/servers/model/server/structure-wrapper.js.map +1 -1
  1639. package/lib/servers/model/server.js +3 -3
  1640. package/lib/servers/model/server.js.map +1 -1
  1641. package/lib/servers/model/utils/fetch-props-pdbe.js +4 -4
  1642. package/lib/servers/model/utils/fetch-props-pdbe.js.map +1 -1
  1643. package/lib/servers/model/utils/writer.js +2 -2
  1644. package/lib/servers/model/utils/writer.js.map +1 -1
  1645. package/lib/servers/plugin-state/api-schema.js +2 -2
  1646. package/lib/servers/plugin-state/api-schema.js.map +1 -1
  1647. package/lib/servers/plugin-state/index.js +1 -1
  1648. package/lib/servers/plugin-state/index.js.map +1 -1
  1649. package/lib/servers/volume/pack/format/dsn6.js +1 -1
  1650. package/lib/servers/volume/pack/format/dsn6.js.map +1 -1
  1651. package/lib/servers/volume/pack/main.js +4 -4
  1652. package/lib/servers/volume/pack/main.js.map +1 -1
  1653. package/lib/servers/volume/pack/writer.js +1 -1
  1654. package/lib/servers/volume/pack/writer.js.map +1 -1
  1655. package/lib/servers/volume/pack.js +1 -1
  1656. package/lib/servers/volume/pack.js.map +1 -1
  1657. package/lib/servers/volume/server/api.js +7 -7
  1658. package/lib/servers/volume/server/api.js.map +1 -1
  1659. package/lib/servers/volume/server/local-api.js +1 -1
  1660. package/lib/servers/volume/server/local-api.js.map +1 -1
  1661. package/lib/servers/volume/server/query/encode.js +3 -3
  1662. package/lib/servers/volume/server/query/encode.js.map +1 -1
  1663. package/lib/servers/volume/server/query/execute.js +5 -5
  1664. package/lib/servers/volume/server/query/execute.js.map +1 -1
  1665. package/lib/servers/volume/server/version.js +1 -1
  1666. package/lib/servers/volume/server/version.js.map +1 -1
  1667. package/lib/servers/volume/server/web-api.js +7 -7
  1668. package/lib/servers/volume/server/web-api.js.map +1 -1
  1669. package/lib/servers/volume/server/web-schema.js +6 -6
  1670. package/lib/servers/volume/server/web-schema.js.map +1 -1
  1671. package/lib/servers/volume/server.js +2 -2
  1672. package/lib/servers/volume/server.js.map +1 -1
  1673. package/lib/tests/browser/font-atlas.js +1 -1
  1674. package/lib/tests/browser/font-atlas.js.map +1 -1
  1675. package/lib/tests/browser/render-shape.js +1 -1
  1676. package/lib/tests/browser/render-shape.js.map +1 -1
  1677. package/lib/tests/browser/render-structure.js +1 -1
  1678. package/lib/tests/browser/render-structure.js.map +1 -1
  1679. package/lib/tsconfig.commonjs.tsbuildinfo +1 -1
  1680. package/package.json +29 -30
  1681. package/CHANGELOG.md +0 -191
  1682. package/lib/commonjs/mol-repr/structure/visual/util/color.d.ts +0 -24
  1683. package/lib/commonjs/mol-repr/structure/visual/util/color.js +0 -100
  1684. package/lib/commonjs/mol-repr/structure/visual/util/color.js.map +0 -1
  1685. package/lib/mol-gl/_spec/shader.spec.d.ts +0 -0
  1686. package/lib/mol-gl/_spec/shader.spec.js +0 -2
  1687. package/lib/mol-gl/_spec/shader.spec.js.map +0 -1
  1688. package/lib/mol-repr/structure/visual/orientation-axes-mesh.d.ts +0 -35
  1689. package/lib/mol-repr/structure/visual/orientation-axes-mesh.js +0 -43
  1690. package/lib/mol-repr/structure/visual/orientation-axes-mesh.js.map +0 -1
  1691. package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh copy.d.ts +0 -31
  1692. package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh copy.js +0 -48
  1693. package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh copy.js.map +0 -1
  1694. package/lib/mol-repr/structure/visual/util/color.d.ts +0 -24
  1695. package/lib/mol-repr/structure/visual/util/color.js +0 -94
  1696. package/lib/mol-repr/structure/visual/util/color.js.map +0 -1
  1697. package/lib/mol-repr/structure/visual/util/orientation.d.ts +0 -17
  1698. package/lib/mol-repr/structure/visual/util/orientation.js +0 -71
  1699. package/lib/mol-repr/structure/visual/util/orientation.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "molstar",
3
- "version": "2.3.7",
3
+ "version": "2.4.1",
4
4
  "description": "A comprehensive macromolecular library.",
5
5
  "homepage": "https://github.com/molstar/molstar#readme",
6
6
  "repository": {
@@ -89,52 +89,51 @@
89
89
  "license": "MIT",
90
90
  "devDependencies": {
91
91
  "@graphql-codegen/add": "^3.1.0",
92
- "@graphql-codegen/cli": "^2.2.0",
92
+ "@graphql-codegen/cli": "^2.3.0",
93
93
  "@graphql-codegen/time": "^3.1.0",
94
- "@graphql-codegen/typescript": "^2.2.2",
94
+ "@graphql-codegen/typescript": "^2.4.1",
95
95
  "@graphql-codegen/typescript-graphql-files-modules": "^2.1.0",
96
- "@graphql-codegen/typescript-graphql-request": "^4.1.4",
97
- "@graphql-codegen/typescript-operations": "^2.1.6",
96
+ "@graphql-codegen/typescript-graphql-request": "^4.3.1",
97
+ "@graphql-codegen/typescript-operations": "^2.2.1",
98
98
  "@types/cors": "^2.8.12",
99
99
  "@types/gl": "^4.1.0",
100
- "@types/jest": "^27.0.2",
101
- "@typescript-eslint/eslint-plugin": "^4.32.0",
102
- "@typescript-eslint/parser": "^4.32.0",
100
+ "@types/jest": "^27.0.3",
101
+ "@typescript-eslint/eslint-plugin": "^5.4.0",
102
+ "@typescript-eslint/parser": "^5.4.0",
103
103
  "benchmark": "^2.1.4",
104
- "concurrently": "^6.3.0",
104
+ "concurrently": "^6.4.0",
105
105
  "cpx2": "^4.0.0",
106
106
  "crypto-browserify": "^3.12.0",
107
- "css-loader": "^6.3.0",
108
- "eslint": "^7.32.0",
107
+ "css-loader": "^6.5.1",
108
+ "eslint": "^8.3.0",
109
109
  "extra-watch-webpack-plugin": "^1.0.3",
110
110
  "file-loader": "^6.2.0",
111
111
  "fs-extra": "^10.0.0",
112
- "graphql": "^15.6.0",
113
- "http-server": "^13.0.2",
114
- "jest": "^27.2.4",
115
- "mini-css-extract-plugin": "^2.3.0",
116
- "node-sass": "^6.0.1",
112
+ "graphql": "^15.7.2",
113
+ "http-server": "^14.0.0",
114
+ "jest": "^27.3.1",
115
+ "mini-css-extract-plugin": "^2.4.5",
117
116
  "path-browserify": "^1.0.1",
118
117
  "raw-loader": "^4.0.2",
119
- "sass-loader": "^12.1.0",
120
- "simple-git": "^2.46.0",
118
+ "sass": "^1.43.5",
119
+ "sass-loader": "^12.3.0",
120
+ "simple-git": "^2.47.0",
121
121
  "stream-browserify": "^3.0.0",
122
- "style-loader": "^3.3.0",
123
- "ts-jest": "^27.0.5",
124
- "typescript": "^4.4.3",
125
- "webpack": "^5.56.0",
126
- "webpack-cli": "^4.8.0",
127
- "webpack-version-file-plugin": "^0.4.0"
122
+ "style-loader": "^3.3.1",
123
+ "ts-jest": "^27.0.7",
124
+ "typescript": "^4.5.2",
125
+ "webpack": "^5.64.4",
126
+ "webpack-cli": "^4.9.1"
128
127
  },
129
128
  "dependencies": {
130
129
  "@types/argparse": "^2.0.10",
131
130
  "@types/benchmark": "^2.1.1",
132
131
  "@types/compression": "1.7.2",
133
132
  "@types/express": "^4.17.13",
134
- "@types/node": "^16.10.2",
133
+ "@types/node": "^16.11.10",
135
134
  "@types/node-fetch": "^2.5.12",
136
- "@types/react": "^17.0.27",
137
- "@types/react-dom": "^17.0.9",
135
+ "@types/react": "^17.0.37",
136
+ "@types/react-dom": "^17.0.11",
138
137
  "@types/swagger-ui-dist": "3.30.1",
139
138
  "argparse": "^2.0.1",
140
139
  "body-parser": "^1.19.0",
@@ -142,13 +141,13 @@
142
141
  "cors": "^2.8.5",
143
142
  "express": "^4.17.1",
144
143
  "h264-mp4-encoder": "^1.0.12",
145
- "immer": "^9.0.6",
144
+ "immer": "^9.0.7",
146
145
  "immutable": "^3.8.2",
147
146
  "node-fetch": "^2.6.2",
148
147
  "react": "^17.0.2",
149
148
  "react-dom": "^17.0.2",
150
- "rxjs": "^7.3.1",
151
- "swagger-ui-dist": "^3.52.3",
149
+ "rxjs": "^7.4.0",
150
+ "swagger-ui-dist": "^4.1.1",
152
151
  "tslib": "^2.3.1",
153
152
  "util.promisify": "^1.1.1",
154
153
  "xhr2": "^0.2.1"
package/CHANGELOG.md DELETED
@@ -1,191 +0,0 @@
1
- # Change Log
2
- All notable changes to this project will be documented in this file, following the suggestions of [Keep a CHANGELOG](http://keepachangelog.com/). This project adheres to [Semantic Versioning](http://semver.org/) for its most widely used - and defacto - public interfaces.
3
-
4
- Note that since we don't clearly distinguish between a public and private interfaces there will be changes in non-major versions that are potentially breaking. If we make breaking changes to less used interfaces we will highlight it in here.
5
-
6
-
7
- ## [Unreleased]
8
-
9
- - Added ``ViewerOptions.collapseRightPanel``
10
- - Added ``Viewer.loadTrajectory`` to support loading "composed" trajectories (e.g. from gro + xtc)
11
- - Fix: handle parent in Structure.remapModel
12
- - Add ``rounded`` and ``square`` helix profile options to Cartoon representation (in addition to the default ``elliptical``)
13
-
14
- ## [v2.3.6] - 2021-11-8
15
-
16
- - Add additional measurement controls: orientation (box, axes, ellipsoid) & plane (best fit)
17
- - Improve aromatic bond visuals (add ``aromaticScale``, ``aromaticSpacing``, ``aromaticDashCount`` params)
18
- - [Breaking] Change ``adjustCylinderLength`` default to ``false`` (set to true for focus representation)
19
- - Fix marker highlight color overriding select color
20
- - CellPack extension update
21
- - add binary model support
22
- - add compartment (including membrane) geometry support
23
- - add latest mycoplasma model example
24
- - Prefer WebGL1 in Safari 15.1.
25
-
26
- ## [v2.3.5] - 2021-10-19
27
-
28
- - Fix sequence viewer for PDB files with COMPND record and multichain entities.
29
- - Fix index pair bonds order assignment
30
-
31
- ## [v2.3.4] - 2021-10-12
32
-
33
- - Fix pickScale not taken into account in line/point shader
34
- - Add pixel-scale, pick-scale & pick-padding GET params to Viewer app
35
- - Fix selecting bonds not adding their atoms in selection manager
36
- - Add ``preferAtoms`` option to SelectLoci/HighlightLoci behaviors
37
- - Make the implicit atoms of bond visuals pickable
38
- - Add ``preferAtomPixelPadding`` to Canvas3dInteractionHelper
39
- - Add points & crosses visuals to Line representation
40
- - Add ``pickPadding`` config option (look around in case target pixel is empty)
41
- - Add ``multipleBonds`` param to bond visuals with options: off, symmetric, offset
42
- - Fix ``argparse`` config in servers.
43
-
44
- ## [v2.3.3] - 2021-10-01
45
-
46
- - Fix direct volume shader
47
-
48
- ## [v2.3.2] - 2021-10-01
49
-
50
- - Prefer WebGL1 on iOS devices until WebGL2 support has stabilized.
51
-
52
- ## [v2.3.1] - 2021-09-28
53
-
54
- - Add Charmm saccharide names
55
- - Treat missing occupancy column as occupancy of 1
56
- - Fix line shader not accounting for aspect ratio
57
- - [Breaking] Fix point repr & shader
58
- - Was unusable with ``wboit``
59
- - Replaced ``pointFilledCircle`` & ``pointEdgeBleach`` params by ``pointStyle`` (square, circle, fuzzy)
60
- - Set ``pointSizeAttenuation`` to false by default
61
- - Set ``sizeTheme`` to ``uniform`` by default
62
- - Add ``markerPriority`` option to Renderer (useful in combination with edges of marking pass)
63
- - Add support support for ``chem_comp_bond`` and ``struct_conn`` categories (fixes ModelServer behavior where these categories should have been present)
64
- - Model and VolumeServer: fix argparse config
65
-
66
- ## [v2.3.0] - 2021-09-06
67
-
68
- - Take include/exclude flags into account when displaying aromatic bonds
69
- - Improve marking performance
70
- - Avoid unnecessary draw calls/ui updates when marking
71
- - Check if loci is superset of visual
72
- - Check if loci overlaps with unit visual
73
- - Ensure ``Interval`` is used for ranges instead of ``SortedArray``
74
- - Add uniform marker type
75
- - Special case for reversing previous mark
76
- - Add optional marking pass
77
- - Outlines visible and hidden parts of highlighted/selected groups
78
- - Add highlightStrength/selectStrength renderer params
79
-
80
- ## [v2.2.3] - 2021-08-25
81
-
82
- - Add ``invertCantorPairing`` helper function
83
- - Add ``Mesh`` processing helper ``.smoothEdges``
84
- - Smooth border of molecular-surface with ``includeParent`` enabled
85
- - Hide ``includeParent`` option from gaussian-surface visuals (not particularly useful)
86
- - Improved ``StructureElement.Loci.size`` performance (for marking large cellpack models)
87
- - Fix new ``TransformData`` issues (camera/bounding helper not showing up)
88
- - Improve marking performance (avoid superfluous calls to ``StructureElement.Loci.isWholeStructure``)
89
-
90
- ## [v2.2.2] - 2021-08-11
91
-
92
- - Fix ``TransformData`` issues [#133](https://github.com/molstar/molstar/issues/133)
93
- - Fix ``mol-script`` query compiler const expression recognition.
94
-
95
- ## [v2.2.1] - 2021-08-02
96
-
97
- - Add surrounding atoms (5 Angstrom) structure selection query
98
- - [Breaking] Add maxDistance prop to ``IndexPairBonds``
99
- - Fix coordinateSystem not handled in ``Structure.asParent``
100
- - Add ``dynamicBonds`` to ``Structure`` props (force re-calc on model change)
101
- - Expose as optional param in root structure transform helper
102
- - Add overpaint support to geometry exporters
103
- - ``InputObserver`` improvements
104
- - normalize wheel speed across browsers/platforms
105
- - support Safari gestures (used by ``TrackballControls``)
106
- - ``PinchInput.fractionDelta`` and use it in ``TrackballControls``
107
-
108
- ## [v2.2.0] - 2021-07-31
109
-
110
- - Add ``tubularHelices`` parameter to Cartoon representation
111
- - Add ``SdfFormat`` and update SDF parser to be able to parse data headers according to spec (hopefully :)) #230
112
- - Fix mononucleotides detected as polymer components (#229)
113
- - Set default outline scale back to 1
114
- - Improved DCD reader cell angle handling (interpret near 0 angles as 90 deg)
115
- - Handle more residue/atom names commonly used in force-fields
116
- - Add USDZ support to ``geo-export`` extension.
117
- - Fix ``includeParent`` support for multi-instance bond visuals.
118
- - Add ``operator`` Loci granularity, selecting everything with the same operator name.
119
- - Prefer ``_label_seq_id`` fields in secondary structure assignment.
120
- - Support new EMDB API (https://www.ebi.ac.uk/emdb/api/entry/map/[EMBD-ID]) for EM volume contour levels.
121
- - ``Canvas3D`` tweaks:
122
- - Update ``forceDraw`` logic.
123
- - Ensure the scene is re-rendered when viewport size changes.
124
- - Support ``noDraw`` mode in ``PluginAnimationLoop``.
125
-
126
- ## [v2.1.0] - 2021-07-05
127
-
128
- - Add parameter for to display aromatic bonds as dashes next to solid cylinder/line.
129
- - Add backbone representation
130
- - Fix outline in orthographic mode and set default scale to 2.
131
-
132
- ## [v2.0.7] - 2021-06-23
133
-
134
- - Add ability to specify ``volumeIndex`` in ``Viewer.loadVolumeFromUrl`` to better support Volume Server inputs.
135
- - Support in-place reordering for trajectory ``Frame.x/y/z`` arrays for better memory efficiency.
136
- - Fixed text CIF encoder edge cases (most notably single whitespace not being escaped).
137
-
138
- ## [v2.0.6] - 2021-06-01
139
-
140
- - Add glTF (GLB) and STL support to ``geo-export`` extension.
141
- - Protein crosslink improvements
142
- - Change O-S bond distance to allow for NOS bridges (doi:10.1038/s41586-021-03513-3)
143
- - Added NOS-bridges query & improved disulfide-bridges query
144
- - Fix #178: ``IndexPairBonds`` for non-single residue structures (bug due to atom reordering).
145
- - Add volumetric color smoothing for MolecularSurface and GaussianSurface representations (#173)
146
- - Fix nested 3d grid lookup that caused results being overwritten in non-covalent interactions computation.
147
- - Basic implementation of ``BestDatabaseSequenceMapping`` (parse from CIF, color theme, superposition).
148
- - Add atom id ranges support to Selection UI.
149
-
150
- ## [v2.0.5] - 2021-04-26
151
-
152
- - Ability to pass ``Canvas3DContext`` to ``PluginContext.fromCanvas``.
153
- - Relative frame support for ``Canvas3D`` viewport.
154
- - Fix bug in screenshot copy UI.
155
- - Add ability to select residues from a list of identifiers to the Selection UI.
156
- - Fix SSAO bugs when used with ``Canvas3D`` viewport.
157
- - Support for full pausing (no draw) rendering: ``Canvas3D.pause(true)``.
158
- - Add ``MeshBuilder.addMesh``.
159
- - Add ``Torus`` primitive.
160
- - Lazy volume loading support.
161
- - [Breaking] ``Viewer.loadVolumeFromUrl`` signature change.
162
- - ``loadVolumeFromUrl(url, format, isBinary, isovalues, entryId)`` => ``loadVolumeFromUrl({ url, format, isBinary }, isovalues, { entryId, isLazy })``
163
- - Add ``TextureMesh`` support to ``geo-export`` extension.
164
-
165
- ## [v2.0.4] - 2021-04-20
166
-
167
- - [WIP] Mesh export extension
168
- - ``Structure.eachAtomicHierarchyElement`` (#161)
169
- - Fixed reading multi-line values in SDF format
170
- - Fixed Measurements UI labels (#166)
171
-
172
- ## [v2.0.3] - 2021-04-09
173
-
174
- - Add support for ``ColorTheme.palette`` designed for providing gradient-like coloring.
175
- - [Breaking] The ``zip`` function is now asynchronous and expects a ``RuntimeContext``. Also added ``Zip()`` returning a ``Task``.
176
- - [Breaking] Add ``CubeGridFormat`` in ``alpha-orbitals`` extension.
177
-
178
- ## [v2.0.2] - 2021-03-29
179
-
180
- - Add ``Canvas3D.getRenderObjects``.
181
- - [WIP] Animate state interpolating, including model trajectories
182
- - Recognise MSE, SEP, TPO, PTR and PCA as non-standard amino-acids.
183
- - Fix VolumeFromDensityServerCif transform label
184
-
185
- ## [v2.0.1] - 2021-03-23
186
-
187
- - Exclude tsconfig.commonjs.tsbuildinfo from npm bundle
188
-
189
- ## [v2.0.0] - 2021-03-23
190
-
191
- Too many changes to list as this is the start of the changelog... Notably, default exports are now forbidden.
@@ -1,24 +0,0 @@
1
- /**
2
- * Copyright (c) 2021 mol* contributors, licensed under MIT, See LICENSE file for more info.
3
- *
4
- * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
- */
6
- import { MeshValues } from '../../../../mol-gl/renderable/mesh';
7
- import { TextureMeshValues } from '../../../../mol-gl/renderable/texture-mesh';
8
- import { WebGLContext } from '../../../../mol-gl/webgl/context';
9
- import { Texture } from '../../../../mol-gl/webgl/texture';
10
- import { Theme } from '../../../../mol-theme/theme';
11
- import { ParamDefinition as PD } from '../../../../mol-util/param-definition';
12
- export declare const ColorSmoothingParams: {
13
- smoothColors: PD.Mapped<PD.NamedParams<PD.Normalize<unknown>, "off"> | PD.NamedParams<PD.Normalize<{
14
- resolutionFactor: number;
15
- sampleStride: number;
16
- }>, "on"> | PD.NamedParams<PD.Normalize<unknown>, "auto">>;
17
- };
18
- export declare type ColorSmoothingParams = typeof ColorSmoothingParams;
19
- export declare function getColorSmoothingProps(props: PD.Values<ColorSmoothingParams>, theme: Theme, resolution?: number): {
20
- resolution: number;
21
- stride: number;
22
- } | undefined;
23
- export declare function applyMeshColorSmoothing(values: MeshValues, resolution: number, stride: number, webgl?: WebGLContext, colorTexture?: Texture): void;
24
- export declare function applyTextureMeshColorSmoothing(values: TextureMeshValues, resolution: number, stride: number, webgl: WebGLContext, colorTexture?: Texture): void;
@@ -1,100 +0,0 @@
1
- "use strict";
2
- /**
3
- * Copyright (c) 2021 mol* contributors, licensed under MIT, See LICENSE file for more info.
4
- *
5
- * @author Alexander Rose <alexander.rose@weirdbyte.de>
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.applyTextureMeshColorSmoothing = exports.applyMeshColorSmoothing = exports.getColorSmoothingProps = exports.ColorSmoothingParams = void 0;
9
- var color_smoothing_1 = require("../../../../mol-geo/geometry/mesh/color-smoothing");
10
- var color_smoothing_2 = require("../../../../mol-geo/geometry/texture-mesh/color-smoothing");
11
- var interpolate_1 = require("../../../../mol-math/interpolate");
12
- var mol_util_1 = require("../../../../mol-util");
13
- var param_definition_1 = require("../../../../mol-util/param-definition");
14
- exports.ColorSmoothingParams = {
15
- smoothColors: param_definition_1.ParamDefinition.MappedStatic('auto', {
16
- auto: param_definition_1.ParamDefinition.Group({}),
17
- on: param_definition_1.ParamDefinition.Group({
18
- resolutionFactor: param_definition_1.ParamDefinition.Numeric(2, { min: 0.5, max: 6, step: 0.1 }),
19
- sampleStride: param_definition_1.ParamDefinition.Numeric(3, { min: 1, max: 12, step: 1 }),
20
- }),
21
- off: param_definition_1.ParamDefinition.Group({})
22
- }),
23
- };
24
- function getColorSmoothingProps(props, theme, resolution) {
25
- if ((props.smoothColors.name === 'on' || (props.smoothColors.name === 'auto' && theme.color.preferSmoothing)) && resolution && resolution < 3) {
26
- var stride = 3;
27
- if (props.smoothColors.name === 'on') {
28
- resolution *= props.smoothColors.params.resolutionFactor;
29
- stride = props.smoothColors.params.sampleStride;
30
- }
31
- else {
32
- // https://graphtoy.com/?f1(x,t)=(2-smoothstep(0,1.1,x))*x&coords=0.7,0.6,1.8
33
- resolution *= 2 - (0, interpolate_1.smoothstep)(0, 1.1, resolution);
34
- resolution = Math.max(0.5, resolution);
35
- if (resolution > 1.2)
36
- stride = 2;
37
- }
38
- return { resolution: resolution, stride: stride };
39
- }
40
- ;
41
- }
42
- exports.getColorSmoothingProps = getColorSmoothingProps;
43
- function isSupportedColorType(x) {
44
- return x === 'group' || x === 'groupInstance';
45
- }
46
- function applyMeshColorSmoothing(values, resolution, stride, webgl, colorTexture) {
47
- if (!isSupportedColorType(values.dColorType.ref.value))
48
- return;
49
- var smoothingData = (0, color_smoothing_1.calcMeshColorSmoothing)({
50
- vertexCount: values.uVertexCount.ref.value,
51
- instanceCount: values.uInstanceCount.ref.value,
52
- groupCount: values.uGroupCount.ref.value,
53
- transformBuffer: values.aTransform.ref.value,
54
- instanceBuffer: values.aInstance.ref.value,
55
- positionBuffer: values.aPosition.ref.value,
56
- groupBuffer: values.aGroup.ref.value,
57
- colorData: values.tColor.ref.value,
58
- colorType: values.dColorType.ref.value,
59
- boundingSphere: values.boundingSphere.ref.value,
60
- invariantBoundingSphere: values.invariantBoundingSphere.ref.value,
61
- }, resolution, stride, webgl, colorTexture);
62
- if (smoothingData.kind === 'volume') {
63
- mol_util_1.ValueCell.updateIfChanged(values.dColorType, smoothingData.type);
64
- mol_util_1.ValueCell.update(values.tColorGrid, smoothingData.texture);
65
- mol_util_1.ValueCell.update(values.uColorTexDim, smoothingData.gridTexDim);
66
- mol_util_1.ValueCell.update(values.uColorGridDim, smoothingData.gridDim);
67
- mol_util_1.ValueCell.update(values.uColorGridTransform, smoothingData.gridTransform);
68
- }
69
- else if (smoothingData.kind === 'vertex') {
70
- mol_util_1.ValueCell.updateIfChanged(values.dColorType, smoothingData.type);
71
- mol_util_1.ValueCell.update(values.tColor, smoothingData.texture);
72
- mol_util_1.ValueCell.update(values.uColorTexDim, smoothingData.texDim);
73
- }
74
- }
75
- exports.applyMeshColorSmoothing = applyMeshColorSmoothing;
76
- function applyTextureMeshColorSmoothing(values, resolution, stride, webgl, colorTexture) {
77
- if (!isSupportedColorType(values.dColorType.ref.value))
78
- return;
79
- stride *= 3; // triple because TextureMesh is never indexed (no elements buffer)
80
- var smoothingData = (0, color_smoothing_2.calcTextureMeshColorSmoothing)({
81
- vertexCount: values.uVertexCount.ref.value,
82
- instanceCount: values.uInstanceCount.ref.value,
83
- groupCount: values.uGroupCount.ref.value,
84
- transformBuffer: values.aTransform.ref.value,
85
- instanceBuffer: values.aInstance.ref.value,
86
- positionTexture: values.tPosition.ref.value,
87
- groupTexture: values.tGroup.ref.value,
88
- colorData: values.tColor.ref.value,
89
- colorType: values.dColorType.ref.value,
90
- boundingSphere: values.boundingSphere.ref.value,
91
- invariantBoundingSphere: values.invariantBoundingSphere.ref.value,
92
- }, resolution, stride, webgl, colorTexture);
93
- mol_util_1.ValueCell.updateIfChanged(values.dColorType, smoothingData.type);
94
- mol_util_1.ValueCell.update(values.tColorGrid, smoothingData.texture);
95
- mol_util_1.ValueCell.update(values.uColorTexDim, smoothingData.gridTexDim);
96
- mol_util_1.ValueCell.update(values.uColorGridDim, smoothingData.gridDim);
97
- mol_util_1.ValueCell.update(values.uColorGridTransform, smoothingData.gridTransform);
98
- }
99
- exports.applyTextureMeshColorSmoothing = applyTextureMeshColorSmoothing;
100
- //# sourceMappingURL=color.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"color.js","sourceRoot":"","sources":["../../../../../../src/mol-repr/structure/visual/util/color.ts"],"names":[],"mappings":"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"}
File without changes
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=shader.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shader.spec.js","sourceRoot":"","sources":["../../../src/mol-gl/_spec/shader.spec.ts"],"names":[],"mappings":""}
@@ -1,35 +0,0 @@
1
- /**
2
- * Copyright (c) 2019-2021 mol* contributors, licensed under MIT, See LICENSE file for more info.
3
- *
4
- * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
- */
6
- import { ParamDefinition as PD } from '../../../mol-util/param-definition';
7
- import { UnitsVisual } from '../units-visual';
8
- import { VisualContext } from '../../visual';
9
- import { Unit, Structure } from '../../../mol-model/structure';
10
- import { Theme } from '../../../mol-theme/theme';
11
- import { Mesh } from '../../../mol-geo/geometry/mesh/mesh';
12
- export declare const OrientationAxesMeshParams: {
13
- sizeFactor: PD.Numeric;
14
- axesScale: PD.Numeric;
15
- radialSegments: PD.Numeric;
16
- detail: PD.Numeric;
17
- unitKinds: PD.MultiSelect<"atomic" | "spheres" | "gaussians">;
18
- includeParent: PD.BooleanParam;
19
- doubleSided: PD.BooleanParam;
20
- flipSided: PD.BooleanParam;
21
- flatShaded: PD.BooleanParam;
22
- ignoreLight: PD.BooleanParam;
23
- xrayShaded: PD.BooleanParam;
24
- alpha: PD.Numeric;
25
- quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">;
26
- };
27
- export declare type OrientationAxesMeshParams = typeof OrientationAxesMeshParams;
28
- export declare function OrientationAxesMeshVisual(materialId: number): UnitsVisual<OrientationAxesMeshParams>;
29
- export interface OrientationAxesMeshProps {
30
- detail: number;
31
- radialSegments: number;
32
- sizeFactor: number;
33
- axesScale: number;
34
- }
35
- export declare function createOrientationAxesMesh(ctx: VisualContext, unit: Unit, structure: Structure, theme: Theme, props: OrientationAxesMeshProps, mesh?: Mesh): Mesh;
@@ -1,43 +0,0 @@
1
- /**
2
- * Copyright (c) 2019-2021 mol* contributors, licensed under MIT, See LICENSE file for more info.
3
- *
4
- * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
- */
6
- import { __assign } from "tslib";
7
- import { ParamDefinition as PD } from '../../../mol-util/param-definition';
8
- import { UnitsMeshParams, UnitsMeshVisual } from '../units-visual';
9
- import { Mesh } from '../../../mol-geo/geometry/mesh/mesh';
10
- import { MeshBuilder } from '../../../mol-geo/geometry/mesh/mesh-builder';
11
- import { addAxes } from '../../../mol-geo/geometry/mesh/builder/axes';
12
- import { Sphere3D } from '../../../mol-math/geometry';
13
- import { BaseGeometry } from '../../../mol-geo/geometry/base';
14
- import { eachUnit, getUnitLoci, isUnitApplicable, UnitIterator } from './util/orientation';
15
- export var OrientationAxesMeshParams = __assign(__assign({}, UnitsMeshParams), { sizeFactor: PD.Numeric(1, { min: 0, max: 2, step: 0.1 }), axesScale: PD.Numeric(1, { min: 0, max: 20, step: 0.1 }), radialSegments: PD.Numeric(16, { min: 2, max: 56, step: 2 }, BaseGeometry.CustomQualityParamInfo), detail: PD.Numeric(0, { min: 0, max: 3, step: 1 }, BaseGeometry.CustomQualityParamInfo) });
16
- export function OrientationAxesMeshVisual(materialId) {
17
- return UnitsMeshVisual({
18
- defaultProps: PD.getDefaultValues(OrientationAxesMeshParams),
19
- createGeometry: createOrientationAxesMesh,
20
- createLocationIterator: UnitIterator,
21
- getLoci: getUnitLoci,
22
- eachLocation: eachUnit,
23
- setUpdateState: function (state, newProps, currentProps) {
24
- state.createGeometry = (newProps.sizeFactor !== currentProps.sizeFactor ||
25
- newProps.detail !== currentProps.detail);
26
- }
27
- }, materialId);
28
- }
29
- export function createOrientationAxesMesh(ctx, unit, structure, theme, props, mesh) {
30
- if (!isUnitApplicable(unit))
31
- return Mesh.createEmpty(mesh);
32
- var detail = props.detail, sizeFactor = props.sizeFactor, radialSegments = props.radialSegments, axesScale = props.axesScale;
33
- var vertexCount = 256;
34
- var builderState = MeshBuilder.createState(vertexCount, vertexCount / 2, mesh);
35
- var axes = unit.principalAxes.momentsAxes;
36
- builderState.currentGroup = 0;
37
- addAxes(builderState, axes, axesScale, detail, radialSegments);
38
- var m = MeshBuilder.getMesh(builderState);
39
- var sphere = Sphere3D.expand(Sphere3D(), unit.boundary.sphere, 1 * props.sizeFactor);
40
- m.setBoundingSphere(sphere);
41
- return m;
42
- }
43
- //# sourceMappingURL=orientation-axes-mesh.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"orientation-axes-mesh.js","sourceRoot":"","sources":["../../../../src/mol-repr/structure/visual/orientation-axes-mesh.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;AAEH,OAAO,EAAE,eAAe,IAAI,EAAE,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAe,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAKhF,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAE,OAAO,EAAE,MAAM,6CAA6C,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAE3F,MAAM,CAAC,IAAM,yBAAyB,yBAC/B,eAAe,KAClB,UAAU,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,EACxD,SAAS,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,EACxD,cAAc,EAAE,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,YAAY,CAAC,sBAAsB,CAAC,EACjG,MAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,YAAY,CAAC,sBAAsB,CAAC,GAC1F,CAAC;AAGF,MAAM,UAAU,yBAAyB,CAAC,UAAkB;IACxD,OAAO,eAAe,CAA4B;QAC9C,YAAY,EAAE,EAAE,CAAC,gBAAgB,CAAC,yBAAyB,CAAC;QAC5D,cAAc,EAAE,yBAAyB;QACzC,sBAAsB,EAAE,YAAY;QACpC,OAAO,EAAE,WAAW;QACpB,YAAY,EAAE,QAAQ;QACtB,cAAc,EAAE,UAAC,KAAwB,EAAE,QAA8C,EAAE,YAAkD;YACzI,KAAK,CAAC,cAAc,GAAG,CACnB,QAAQ,CAAC,UAAU,KAAK,YAAY,CAAC,UAAU;gBAC/C,QAAQ,CAAC,MAAM,KAAK,YAAY,CAAC,MAAM,CAC1C,CAAC;QACN,CAAC;KACJ,EAAE,UAAU,CAAC,CAAC;AACnB,CAAC;AAWD,MAAM,UAAU,yBAAyB,CAAC,GAAkB,EAAE,IAAU,EAAE,SAAoB,EAAE,KAAY,EAAE,KAA+B,EAAE,IAAW;IACtJ,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAEnD,IAAA,MAAM,GAA4C,KAAK,OAAjD,EAAE,UAAU,GAAgC,KAAK,WAArC,EAAE,cAAc,GAAgB,KAAK,eAArB,EAAE,SAAS,GAAK,KAAK,UAAV,CAAW;IAEhE,IAAM,WAAW,GAAG,GAAG,CAAC;IACxB,IAAM,YAAY,GAAG,WAAW,CAAC,WAAW,CAAC,WAAW,EAAE,WAAW,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC;IACjF,IAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC;IAE5C,YAAY,CAAC,YAAY,GAAG,CAAC,CAAC;IAC9B,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,cAAc,CAAC,CAAC;IAE/D,IAAM,CAAC,GAAG,WAAW,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IAE5C,IAAM,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC;IACvF,CAAC,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAE5B,OAAO,CAAC,CAAC;AACb,CAAC"}
@@ -1,31 +0,0 @@
1
- /**
2
- * Copyright (c) 2019-2021 mol* contributors, licensed under MIT, See LICENSE file for more info.
3
- *
4
- * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
- */
6
- import { ParamDefinition as PD } from '../../../mol-util/param-definition';
7
- import { UnitsVisual } from '../../../mol-repr/structure/units-visual';
8
- import { VisualContext } from '../../../mol-repr/visual';
9
- import { Unit, Structure } from '../../../mol-model/structure';
10
- import { Theme } from '../../../mol-theme/theme';
11
- import { Mesh } from '../../../mol-geo/geometry/mesh/mesh';
12
- export declare const OrientationEllipsoidMeshParams: {
13
- sizeFactor: PD.Numeric;
14
- detail: PD.Numeric;
15
- unitKinds: PD.MultiSelect<"atomic" | "spheres" | "gaussians">;
16
- includeParent: PD.BooleanParam;
17
- doubleSided: PD.BooleanParam;
18
- flipSided: PD.BooleanParam;
19
- flatShaded: PD.BooleanParam;
20
- ignoreLight: PD.BooleanParam;
21
- xrayShaded: PD.BooleanParam;
22
- alpha: PD.Numeric;
23
- quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">;
24
- };
25
- export declare type OrientationEllipsoidMeshParams = typeof OrientationEllipsoidMeshParams;
26
- export declare function OrientationEllipsoidMeshVisual(materialId: number): UnitsVisual<OrientationEllipsoidMeshParams>;
27
- export interface OrientationEllipsoidMeshProps {
28
- detail: number;
29
- sizeFactor: number;
30
- }
31
- export declare function createOrientationEllipsoidMesh(ctx: VisualContext, unit: Unit, structure: Structure, theme: Theme, props: OrientationEllipsoidMeshProps, mesh?: Mesh): Mesh;
@@ -1,48 +0,0 @@
1
- /**
2
- * Copyright (c) 2019-2021 mol* contributors, licensed under MIT, See LICENSE file for more info.
3
- *
4
- * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
- */
6
- import { __assign } from "tslib";
7
- import { ParamDefinition as PD } from '../../../mol-util/param-definition';
8
- import { UnitsMeshParams, UnitsMeshVisual } from '../../../mol-repr/structure/units-visual';
9
- import { Mesh } from '../../../mol-geo/geometry/mesh/mesh';
10
- import { MeshBuilder } from '../../../mol-geo/geometry/mesh/mesh-builder';
11
- import { Vec3 } from '../../../mol-math/linear-algebra';
12
- import { addEllipsoid } from '../../../mol-geo/geometry/mesh/builder/ellipsoid';
13
- import { Axes3D, Sphere3D } from '../../../mol-math/geometry';
14
- import { BaseGeometry } from '../../../mol-geo/geometry/base';
15
- import { eachUnit, getUnitLoci, isUnitApplicable, UnitIterator } from './util/orientation';
16
- export var OrientationEllipsoidMeshParams = __assign(__assign({}, UnitsMeshParams), { sizeFactor: PD.Numeric(1, { min: 0, max: 2, step: 0.1 }), detail: PD.Numeric(0, { min: 0, max: 3, step: 1 }, BaseGeometry.CustomQualityParamInfo) });
17
- export function OrientationEllipsoidMeshVisual(materialId) {
18
- return UnitsMeshVisual({
19
- defaultProps: PD.getDefaultValues(OrientationEllipsoidMeshParams),
20
- createGeometry: createOrientationEllipsoidMesh,
21
- createLocationIterator: UnitIterator,
22
- getLoci: getUnitLoci,
23
- eachLocation: eachUnit,
24
- setUpdateState: function (state, newProps, currentProps) {
25
- state.createGeometry = (newProps.sizeFactor !== currentProps.sizeFactor ||
26
- newProps.detail !== currentProps.detail);
27
- }
28
- }, materialId);
29
- }
30
- export function createOrientationEllipsoidMesh(ctx, unit, structure, theme, props, mesh) {
31
- if (!isUnitApplicable(unit))
32
- return Mesh.createEmpty(mesh);
33
- var detail = props.detail, sizeFactor = props.sizeFactor;
34
- var vertexCount = 256;
35
- var builderState = MeshBuilder.createState(vertexCount, vertexCount / 2, mesh);
36
- var axes = unit.principalAxes.boxAxes;
37
- var origin = axes.origin, dirA = axes.dirA, dirB = axes.dirB;
38
- var size = Axes3D.size(Vec3(), axes);
39
- Vec3.scale(size, size, sizeFactor / 2);
40
- var radiusScale = Vec3.create(size[2], size[1], size[0]);
41
- builderState.currentGroup = 0;
42
- addEllipsoid(builderState, origin, dirA, dirB, radiusScale, detail + 1);
43
- var m = MeshBuilder.getMesh(builderState);
44
- var sphere = Sphere3D.expand(Sphere3D(), unit.boundary.sphere, 1 * props.sizeFactor);
45
- m.setBoundingSphere(sphere);
46
- return m;
47
- }
48
- //# sourceMappingURL=orientation-ellipsoid-mesh%20copy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"orientation-ellipsoid-mesh copy.js","sourceRoot":"","sources":["../../../../src/mol-repr/structure/visual/orientation-ellipsoid-mesh copy.ts"],"names":[],"mappings":"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"}
@@ -1,24 +0,0 @@
1
- /**
2
- * Copyright (c) 2021 mol* contributors, licensed under MIT, See LICENSE file for more info.
3
- *
4
- * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
- */
6
- import { MeshValues } from '../../../../mol-gl/renderable/mesh';
7
- import { TextureMeshValues } from '../../../../mol-gl/renderable/texture-mesh';
8
- import { WebGLContext } from '../../../../mol-gl/webgl/context';
9
- import { Texture } from '../../../../mol-gl/webgl/texture';
10
- import { Theme } from '../../../../mol-theme/theme';
11
- import { ParamDefinition as PD } from '../../../../mol-util/param-definition';
12
- export declare const ColorSmoothingParams: {
13
- smoothColors: PD.Mapped<PD.NamedParams<PD.Normalize<unknown>, "auto"> | PD.NamedParams<PD.Normalize<{
14
- resolutionFactor: number;
15
- sampleStride: number;
16
- }>, "on"> | PD.NamedParams<PD.Normalize<unknown>, "off">>;
17
- };
18
- export declare type ColorSmoothingParams = typeof ColorSmoothingParams;
19
- export declare function getColorSmoothingProps(props: PD.Values<ColorSmoothingParams>, theme: Theme, resolution?: number): {
20
- resolution: number;
21
- stride: number;
22
- } | undefined;
23
- export declare function applyMeshColorSmoothing(values: MeshValues, resolution: number, stride: number, webgl?: WebGLContext, colorTexture?: Texture): void;
24
- export declare function applyTextureMeshColorSmoothing(values: TextureMeshValues, resolution: number, stride: number, webgl: WebGLContext, colorTexture?: Texture): void;