molstar 2.3.3 → 2.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1829) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +176 -176
  3. package/build/viewer/embedded.html +43 -43
  4. package/build/viewer/index.html +94 -88
  5. package/build/viewer/molstar.css +1 -2
  6. package/build/viewer/molstar.js +1 -1
  7. package/lib/apps/docking-viewer/index.html +36 -36
  8. package/lib/apps/docking-viewer/index.js +1 -1
  9. package/lib/apps/docking-viewer/index.js.map +1 -1
  10. package/lib/apps/viewer/embedded.html +43 -43
  11. package/lib/apps/viewer/index.d.ts +296 -5
  12. package/lib/apps/viewer/index.html +94 -88
  13. package/lib/apps/viewer/index.js +99 -9
  14. package/lib/apps/viewer/index.js.map +1 -1
  15. package/lib/cli/chem-comp-dict/create-ions.js +1 -1
  16. package/lib/cli/chem-comp-dict/create-ions.js.map +1 -1
  17. package/lib/cli/chem-comp-dict/create-table.js +3 -3
  18. package/lib/cli/chem-comp-dict/create-table.js.map +1 -1
  19. package/lib/cli/chem-comp-dict/util.d.ts +4 -4
  20. package/lib/cli/chem-comp-dict/util.js +2 -2
  21. package/lib/cli/chem-comp-dict/util.js.map +1 -1
  22. package/lib/cli/cif2bcif/converter.js +2 -2
  23. package/lib/cli/cif2bcif/converter.js.map +1 -1
  24. package/lib/cli/cifschema/index.js +12 -12
  25. package/lib/cli/cifschema/index.js.map +1 -1
  26. package/lib/cli/cifschema/util/cif-dic.js +19 -19
  27. package/lib/cli/cifschema/util/cif-dic.js.map +1 -1
  28. package/lib/cli/cifschema/util/generate.js +21 -21
  29. package/lib/cli/cifschema/util/generate.js.map +1 -1
  30. package/lib/cli/cifschema/util/schema.js +1 -1
  31. package/lib/cli/cifschema/util/schema.js.map +1 -1
  32. package/lib/cli/lipid-params/index.js +3 -3
  33. package/lib/cli/lipid-params/index.js.map +1 -1
  34. package/lib/cli/state-docs/index.js +4 -4
  35. package/lib/cli/state-docs/index.js.map +1 -1
  36. package/lib/cli/state-docs/pd-to-md.js +10 -10
  37. package/lib/cli/state-docs/pd-to-md.js.map +1 -1
  38. package/lib/cli/structure-info/model.js +18 -18
  39. package/lib/cli/structure-info/model.js.map +1 -1
  40. package/lib/cli/structure-info/volume.js +1 -1
  41. package/lib/cli/structure-info/volume.js.map +1 -1
  42. package/lib/commonjs/apps/docking-viewer/index.js +1 -1
  43. package/lib/commonjs/apps/docking-viewer/index.js.map +1 -1
  44. package/lib/commonjs/apps/docking-viewer/viewport.d.ts +2 -2
  45. package/lib/commonjs/apps/viewer/index.d.ts +296 -5
  46. package/lib/commonjs/apps/viewer/index.js +99 -9
  47. package/lib/commonjs/apps/viewer/index.js.map +1 -1
  48. package/lib/commonjs/cli/chem-comp-dict/create-ions.js +1 -1
  49. package/lib/commonjs/cli/chem-comp-dict/create-ions.js.map +1 -1
  50. package/lib/commonjs/cli/chem-comp-dict/create-table.js +3 -3
  51. package/lib/commonjs/cli/chem-comp-dict/create-table.js.map +1 -1
  52. package/lib/commonjs/cli/chem-comp-dict/util.d.ts +6 -6
  53. package/lib/commonjs/cli/chem-comp-dict/util.js +2 -2
  54. package/lib/commonjs/cli/chem-comp-dict/util.js.map +1 -1
  55. package/lib/commonjs/cli/cif2bcif/converter.js +2 -2
  56. package/lib/commonjs/cli/cif2bcif/converter.js.map +1 -1
  57. package/lib/commonjs/cli/cif2bcif/index.js +0 -0
  58. package/lib/commonjs/cli/cifschema/index.js +12 -12
  59. package/lib/commonjs/cli/cifschema/index.js.map +1 -1
  60. package/lib/commonjs/cli/cifschema/util/cif-dic.js +19 -19
  61. package/lib/commonjs/cli/cifschema/util/cif-dic.js.map +1 -1
  62. package/lib/commonjs/cli/cifschema/util/generate.js +21 -21
  63. package/lib/commonjs/cli/cifschema/util/generate.js.map +1 -1
  64. package/lib/commonjs/cli/cifschema/util/schema.js +1 -1
  65. package/lib/commonjs/cli/cifschema/util/schema.js.map +1 -1
  66. package/lib/commonjs/cli/lipid-params/index.js +3 -3
  67. package/lib/commonjs/cli/lipid-params/index.js.map +1 -1
  68. package/lib/commonjs/cli/state-docs/index.js +4 -4
  69. package/lib/commonjs/cli/state-docs/index.js.map +1 -1
  70. package/lib/commonjs/cli/state-docs/pd-to-md.js +10 -10
  71. package/lib/commonjs/cli/state-docs/pd-to-md.js.map +1 -1
  72. package/lib/commonjs/cli/structure-info/model.js +18 -18
  73. package/lib/commonjs/cli/structure-info/model.js.map +1 -1
  74. package/lib/commonjs/cli/structure-info/volume.js +1 -1
  75. package/lib/commonjs/cli/structure-info/volume.js.map +1 -1
  76. package/lib/commonjs/examples/basic-wrapper/superposition.js +3 -3
  77. package/lib/commonjs/examples/basic-wrapper/superposition.js.map +1 -1
  78. package/lib/commonjs/examples/domain-annotation-server/mapping.js +2 -2
  79. package/lib/commonjs/examples/domain-annotation-server/mapping.js.map +1 -1
  80. package/lib/commonjs/examples/domain-annotation-server/server.js +3 -3
  81. package/lib/commonjs/examples/domain-annotation-server/server.js.map +1 -1
  82. package/lib/commonjs/examples/proteopedia-wrapper/annotation.js +3 -3
  83. package/lib/commonjs/examples/proteopedia-wrapper/annotation.js.map +1 -1
  84. package/lib/commonjs/examples/proteopedia-wrapper/helpers.js +1 -1
  85. package/lib/commonjs/examples/proteopedia-wrapper/helpers.js.map +1 -1
  86. package/lib/commonjs/examples/proteopedia-wrapper/index.js +2 -2
  87. package/lib/commonjs/examples/proteopedia-wrapper/index.js.map +1 -1
  88. package/lib/commonjs/examples/task.js +6 -6
  89. package/lib/commonjs/examples/task.js.map +1 -1
  90. package/lib/commonjs/extensions/alpha-orbitals/transforms.js +2 -2
  91. package/lib/commonjs/extensions/alpha-orbitals/transforms.js.map +1 -1
  92. package/lib/commonjs/extensions/anvil/behavior.d.ts +2 -2
  93. package/lib/commonjs/extensions/anvil/representation.d.ts +5 -5
  94. package/lib/commonjs/extensions/anvil/representation.js +1 -1
  95. package/lib/commonjs/extensions/anvil/representation.js.map +1 -1
  96. package/lib/commonjs/extensions/cellpack/color/generate.d.ts +1 -1
  97. package/lib/commonjs/extensions/cellpack/color/generate.js +1 -1
  98. package/lib/commonjs/extensions/cellpack/color/provided.d.ts +1 -1
  99. package/lib/commonjs/extensions/cellpack/color/provided.js +1 -1
  100. package/lib/commonjs/extensions/cellpack/curve.d.ts +2 -2
  101. package/lib/commonjs/extensions/cellpack/curve.js +2 -2
  102. package/lib/commonjs/extensions/cellpack/data.d.ts +32 -0
  103. package/lib/commonjs/extensions/cellpack/index.d.ts +1 -1
  104. package/lib/commonjs/extensions/cellpack/index.js +1 -1
  105. package/lib/commonjs/extensions/cellpack/model.d.ts +5 -3
  106. package/lib/commonjs/extensions/cellpack/model.js +203 -65
  107. package/lib/commonjs/extensions/cellpack/model.js.map +1 -1
  108. package/lib/commonjs/extensions/cellpack/preset.d.ts +2 -1
  109. package/lib/commonjs/extensions/cellpack/preset.js +12 -15
  110. package/lib/commonjs/extensions/cellpack/preset.js.map +1 -1
  111. package/lib/commonjs/extensions/cellpack/property.d.ts +1 -1
  112. package/lib/commonjs/extensions/cellpack/property.js +1 -1
  113. package/lib/commonjs/extensions/cellpack/representation.d.ts +53 -0
  114. package/lib/commonjs/extensions/cellpack/representation.js +47 -0
  115. package/lib/commonjs/extensions/cellpack/representation.js.map +1 -0
  116. package/lib/commonjs/extensions/cellpack/state.d.ts +16 -5
  117. package/lib/commonjs/extensions/cellpack/state.js +234 -27
  118. package/lib/commonjs/extensions/cellpack/state.js.map +1 -1
  119. package/lib/commonjs/extensions/cellpack/util.d.ts +3 -1
  120. package/lib/commonjs/extensions/cellpack/util.js +34 -6
  121. package/lib/commonjs/extensions/cellpack/util.js.map +1 -1
  122. package/lib/commonjs/extensions/dnatco/confal-pyramids/behavior.d.ts +1 -1
  123. package/lib/commonjs/extensions/dnatco/confal-pyramids/representation.d.ts +6 -6
  124. package/lib/commonjs/extensions/dnatco/confal-pyramids/util.js +7 -7
  125. package/lib/commonjs/extensions/dnatco/confal-pyramids/util.js.map +1 -1
  126. package/lib/commonjs/extensions/g3d/data.js +2 -2
  127. package/lib/commonjs/extensions/g3d/data.js.map +1 -1
  128. package/lib/commonjs/extensions/g3d/model.js +2 -2
  129. package/lib/commonjs/extensions/g3d/model.js.map +1 -1
  130. package/lib/commonjs/extensions/geo-export/controls.js +2 -2
  131. package/lib/commonjs/extensions/geo-export/controls.js.map +1 -1
  132. package/lib/commonjs/extensions/geo-export/glb-exporter.js +1 -1
  133. package/lib/commonjs/extensions/geo-export/glb-exporter.js.map +1 -1
  134. package/lib/commonjs/extensions/geo-export/mesh-exporter.d.ts +1 -1
  135. package/lib/commonjs/extensions/geo-export/obj-exporter.js +3 -3
  136. package/lib/commonjs/extensions/geo-export/obj-exporter.js.map +1 -1
  137. package/lib/commonjs/extensions/geo-export/stl-exporter.js +1 -1
  138. package/lib/commonjs/extensions/geo-export/stl-exporter.js.map +1 -1
  139. package/lib/commonjs/extensions/geo-export/usdz-exporter.js +5 -5
  140. package/lib/commonjs/extensions/geo-export/usdz-exporter.js.map +1 -1
  141. package/lib/commonjs/extensions/mp4-export/controls.js +1 -1
  142. package/lib/commonjs/extensions/mp4-export/controls.js.map +1 -1
  143. package/lib/commonjs/extensions/pdbe/structure-quality-report/behavior.js +1 -1
  144. package/lib/commonjs/extensions/pdbe/structure-quality-report/behavior.js.map +1 -1
  145. package/lib/commonjs/extensions/pdbe/structure-quality-report/prop.js +1 -1
  146. package/lib/commonjs/extensions/pdbe/structure-quality-report/prop.js.map +1 -1
  147. package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +6 -6
  148. package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.js +3 -3
  149. package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.js.map +1 -1
  150. package/lib/commonjs/extensions/rcsb/assembly-symmetry/color.d.ts +12 -12
  151. package/lib/commonjs/extensions/rcsb/assembly-symmetry/color.js +1 -1
  152. package/lib/commonjs/extensions/rcsb/assembly-symmetry/color.js.map +1 -1
  153. package/lib/commonjs/extensions/rcsb/assembly-symmetry/prop.js +2 -2
  154. package/lib/commonjs/extensions/rcsb/assembly-symmetry/prop.js.map +1 -1
  155. package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.d.ts +1 -1
  156. package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.js +7 -7
  157. package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.js.map +1 -1
  158. package/lib/commonjs/extensions/rcsb/validation-report/behavior.d.ts +3 -3
  159. package/lib/commonjs/extensions/rcsb/validation-report/behavior.js +11 -11
  160. package/lib/commonjs/extensions/rcsb/validation-report/behavior.js.map +1 -1
  161. package/lib/commonjs/extensions/rcsb/validation-report/prop.js +2 -2
  162. package/lib/commonjs/extensions/rcsb/validation-report/prop.js.map +1 -1
  163. package/lib/commonjs/extensions/rcsb/validation-report/representation.d.ts +25 -10
  164. package/lib/commonjs/extensions/rcsb/validation-report/representation.js +4 -4
  165. package/lib/commonjs/extensions/rcsb/validation-report/representation.js.map +1 -1
  166. package/lib/commonjs/mol-canvas3d/camera/util.d.ts +4 -3
  167. package/lib/commonjs/mol-canvas3d/camera/util.js +15 -16
  168. package/lib/commonjs/mol-canvas3d/camera/util.js.map +1 -1
  169. package/lib/commonjs/mol-canvas3d/camera.d.ts +11 -3
  170. package/lib/commonjs/mol-canvas3d/camera.js +21 -1
  171. package/lib/commonjs/mol-canvas3d/camera.js.map +1 -1
  172. package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +18 -8
  173. package/lib/commonjs/mol-canvas3d/canvas3d.js +11 -5
  174. package/lib/commonjs/mol-canvas3d/canvas3d.js.map +1 -1
  175. package/lib/commonjs/mol-canvas3d/controls/trackball.d.ts +2 -2
  176. package/lib/commonjs/mol-canvas3d/helper/camera-helper.d.ts +3 -3
  177. package/lib/commonjs/mol-canvas3d/helper/handle-helper.d.ts +1 -1
  178. package/lib/commonjs/mol-canvas3d/helper/handle-helper.js +1 -1
  179. package/lib/commonjs/mol-canvas3d/helper/handle-helper.js.map +1 -1
  180. package/lib/commonjs/mol-canvas3d/helper/interaction-events.d.ts +13 -4
  181. package/lib/commonjs/mol-canvas3d/helper/interaction-events.js +43 -9
  182. package/lib/commonjs/mol-canvas3d/helper/interaction-events.js.map +1 -1
  183. package/lib/commonjs/mol-canvas3d/passes/draw.js +1 -0
  184. package/lib/commonjs/mol-canvas3d/passes/draw.js.map +1 -1
  185. package/lib/commonjs/mol-canvas3d/passes/image.d.ts +2 -2
  186. package/lib/commonjs/mol-canvas3d/passes/pick.d.ts +5 -2
  187. package/lib/commonjs/mol-canvas3d/passes/pick.js +17 -3
  188. package/lib/commonjs/mol-canvas3d/passes/pick.js.map +1 -1
  189. package/lib/commonjs/mol-canvas3d/passes/wboit.js +1 -1
  190. package/lib/commonjs/mol-canvas3d/passes/wboit.js.map +1 -1
  191. package/lib/commonjs/mol-canvas3d/util.js +1 -1
  192. package/lib/commonjs/mol-canvas3d/util.js.map +1 -1
  193. package/lib/commonjs/mol-data/db/table.js +1 -1
  194. package/lib/commonjs/mol-data/db/table.js.map +1 -1
  195. package/lib/commonjs/mol-data/int/_spec/sorted-ranges.spec.js +1 -1
  196. package/lib/commonjs/mol-data/int/_spec/sorted-ranges.spec.js.map +1 -1
  197. package/lib/commonjs/mol-data/int/impl/ordered-set.d.ts +3 -3
  198. package/lib/commonjs/mol-data/int/impl/sorted-array.d.ts +1 -1
  199. package/lib/commonjs/mol-data/int/impl/sorted-array.js +2 -2
  200. package/lib/commonjs/mol-data/int/impl/sorted-array.js.map +1 -1
  201. package/lib/commonjs/mol-data/int/tuple.js +1 -1
  202. package/lib/commonjs/mol-data/int/tuple.js.map +1 -1
  203. package/lib/commonjs/mol-data/util/_spec/interval-iterator.spec.js +1 -1
  204. package/lib/commonjs/mol-data/util/_spec/interval-iterator.spec.js.map +1 -1
  205. package/lib/commonjs/mol-geo/geometry/base.d.ts +3 -3
  206. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +1 -1
  207. package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.d.ts +3 -3
  208. package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.js +10 -1
  209. package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.js.map +1 -1
  210. package/lib/commonjs/mol-geo/geometry/image/image.d.ts +3 -3
  211. package/lib/commonjs/mol-geo/geometry/image/image.js +4 -1
  212. package/lib/commonjs/mol-geo/geometry/image/image.js.map +1 -1
  213. package/lib/commonjs/mol-geo/geometry/lines/lines.d.ts +1 -1
  214. package/lib/commonjs/mol-geo/geometry/lines/lines.js +1 -1
  215. package/lib/commonjs/mol-geo/geometry/lines/lines.js.map +1 -1
  216. package/lib/commonjs/mol-geo/geometry/mesh/builder/sheet.d.ts +1 -1
  217. package/lib/commonjs/mol-geo/geometry/mesh/builder/sheet.js +19 -11
  218. package/lib/commonjs/mol-geo/geometry/mesh/builder/sheet.js.map +1 -1
  219. package/lib/commonjs/mol-geo/geometry/mesh/builder/tube.d.ts +2 -2
  220. package/lib/commonjs/mol-geo/geometry/mesh/builder/tube.js +57 -15
  221. package/lib/commonjs/mol-geo/geometry/mesh/builder/tube.js.map +1 -1
  222. package/lib/commonjs/mol-geo/geometry/mesh/mesh.d.ts +1 -1
  223. package/lib/commonjs/mol-geo/geometry/mesh/mesh.js +1 -1
  224. package/lib/commonjs/mol-geo/geometry/mesh/mesh.js.map +1 -1
  225. package/lib/commonjs/mol-geo/geometry/points/points.d.ts +3 -3
  226. package/lib/commonjs/mol-geo/geometry/points/points.js +1 -1
  227. package/lib/commonjs/mol-geo/geometry/points/points.js.map +1 -1
  228. package/lib/commonjs/mol-geo/geometry/spheres/spheres.d.ts +2 -1
  229. package/lib/commonjs/mol-geo/geometry/text/font-atlas.js +1 -1
  230. package/lib/commonjs/mol-geo/geometry/text/font-atlas.js.map +1 -1
  231. package/lib/commonjs/mol-geo/geometry/text/text.d.ts +1 -1
  232. package/lib/commonjs/mol-geo/geometry/text/text.js +1 -1
  233. package/lib/commonjs/mol-geo/geometry/text/text.js.map +1 -1
  234. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +1 -1
  235. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js +6 -1
  236. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js.map +1 -1
  237. package/lib/commonjs/mol-geo/primitive/polyhedron.js +1 -1
  238. package/lib/commonjs/mol-geo/primitive/polyhedron.js.map +1 -1
  239. package/lib/commonjs/mol-gl/_spec/cylinders.spec.d.ts +6 -0
  240. package/lib/commonjs/mol-gl/_spec/cylinders.spec.js +42 -0
  241. package/lib/commonjs/mol-gl/_spec/cylinders.spec.js.map +1 -0
  242. package/lib/commonjs/mol-gl/_spec/direct-volume.spec.d.ts +6 -0
  243. package/lib/commonjs/mol-gl/_spec/direct-volume.spec.js +42 -0
  244. package/lib/commonjs/mol-gl/_spec/direct-volume.spec.js.map +1 -0
  245. package/lib/commonjs/mol-gl/_spec/gl.d.ts +9 -0
  246. package/lib/commonjs/mol-gl/_spec/gl.js +33 -0
  247. package/lib/commonjs/mol-gl/_spec/gl.js.map +1 -0
  248. package/lib/commonjs/mol-gl/_spec/gl.shim.js +5 -5
  249. package/lib/commonjs/mol-gl/_spec/gl.shim.js.map +1 -1
  250. package/lib/commonjs/mol-gl/_spec/image.spec.d.ts +6 -0
  251. package/lib/commonjs/mol-gl/_spec/image.spec.js +42 -0
  252. package/lib/commonjs/mol-gl/_spec/image.spec.js.map +1 -0
  253. package/lib/commonjs/mol-gl/_spec/lines.spec.d.ts +6 -0
  254. package/lib/commonjs/mol-gl/_spec/lines.spec.js +42 -0
  255. package/lib/commonjs/mol-gl/_spec/lines.spec.js.map +1 -0
  256. package/lib/commonjs/mol-gl/_spec/mesh.spec.d.ts +6 -0
  257. package/lib/commonjs/mol-gl/_spec/mesh.spec.js +42 -0
  258. package/lib/commonjs/mol-gl/_spec/mesh.spec.js.map +1 -0
  259. package/lib/commonjs/mol-gl/_spec/points.spec.d.ts +6 -0
  260. package/lib/commonjs/mol-gl/_spec/points.spec.js +42 -0
  261. package/lib/commonjs/mol-gl/_spec/points.spec.js.map +1 -0
  262. package/lib/commonjs/mol-gl/_spec/renderer.spec.d.ts +7 -1
  263. package/lib/commonjs/mol-gl/_spec/renderer.spec.js +6 -44
  264. package/lib/commonjs/mol-gl/_spec/renderer.spec.js.map +1 -1
  265. package/lib/commonjs/mol-gl/_spec/spheres.spec.d.ts +6 -0
  266. package/lib/commonjs/mol-gl/_spec/spheres.spec.js +42 -0
  267. package/lib/commonjs/mol-gl/_spec/spheres.spec.js.map +1 -0
  268. package/lib/commonjs/mol-gl/_spec/text.spec.d.ts +6 -0
  269. package/lib/commonjs/mol-gl/_spec/text.spec.js +42 -0
  270. package/lib/commonjs/mol-gl/_spec/text.spec.js.map +1 -0
  271. package/lib/commonjs/mol-gl/_spec/texture-mesh.spec.d.ts +6 -0
  272. package/lib/commonjs/mol-gl/_spec/texture-mesh.spec.js +42 -0
  273. package/lib/commonjs/mol-gl/_spec/texture-mesh.spec.js.map +1 -0
  274. package/lib/commonjs/mol-gl/compute/grid3d.js +3 -3
  275. package/lib/commonjs/mol-gl/compute/grid3d.js.map +1 -1
  276. package/lib/commonjs/mol-gl/compute/histogram-pyramid/reduction.js +4 -4
  277. package/lib/commonjs/mol-gl/compute/histogram-pyramid/reduction.js.map +1 -1
  278. package/lib/commonjs/mol-gl/renderable/util.js +1 -1
  279. package/lib/commonjs/mol-gl/renderable/util.js.map +1 -1
  280. package/lib/commonjs/mol-gl/renderer.d.ts +3 -2
  281. package/lib/commonjs/mol-gl/renderer.js +3 -0
  282. package/lib/commonjs/mol-gl/renderer.js.map +1 -1
  283. package/lib/commonjs/mol-gl/scene.js +1 -1
  284. package/lib/commonjs/mol-gl/scene.js.map +1 -1
  285. package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.d.ts +1 -1
  286. package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.js +1 -1
  287. package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.js.map +1 -1
  288. package/lib/commonjs/mol-gl/shader/lines.vert.d.ts +1 -1
  289. package/lib/commonjs/mol-gl/shader/lines.vert.js +1 -1
  290. package/lib/commonjs/mol-gl/shader/lines.vert.js.map +1 -1
  291. package/lib/commonjs/mol-gl/shader/points.vert.d.ts +1 -1
  292. package/lib/commonjs/mol-gl/shader/points.vert.js +1 -1
  293. package/lib/commonjs/mol-gl/shader/points.vert.js.map +1 -1
  294. package/lib/commonjs/mol-gl/shader-code.js +8 -8
  295. package/lib/commonjs/mol-gl/shader-code.js.map +1 -1
  296. package/lib/commonjs/mol-gl/webgl/buffer.d.ts +3 -2
  297. package/lib/commonjs/mol-gl/webgl/buffer.js +5 -5
  298. package/lib/commonjs/mol-gl/webgl/buffer.js.map +1 -1
  299. package/lib/commonjs/mol-gl/webgl/compat.js +3 -3
  300. package/lib/commonjs/mol-gl/webgl/compat.js.map +1 -1
  301. package/lib/commonjs/mol-gl/webgl/context.js +6 -4
  302. package/lib/commonjs/mol-gl/webgl/context.js.map +1 -1
  303. package/lib/commonjs/mol-gl/webgl/framebuffer.js +1 -1
  304. package/lib/commonjs/mol-gl/webgl/framebuffer.js.map +1 -1
  305. package/lib/commonjs/mol-gl/webgl/program.d.ts +1 -1
  306. package/lib/commonjs/mol-gl/webgl/program.js +14 -12
  307. package/lib/commonjs/mol-gl/webgl/program.js.map +1 -1
  308. package/lib/commonjs/mol-gl/webgl/render-item.d.ts +3 -2
  309. package/lib/commonjs/mol-gl/webgl/render-item.js +6 -3
  310. package/lib/commonjs/mol-gl/webgl/render-item.js.map +1 -1
  311. package/lib/commonjs/mol-gl/webgl/resources.js +1 -1
  312. package/lib/commonjs/mol-gl/webgl/resources.js.map +1 -1
  313. package/lib/commonjs/mol-gl/webgl/shader.js +3 -3
  314. package/lib/commonjs/mol-gl/webgl/shader.js.map +1 -1
  315. package/lib/commonjs/mol-gl/webgl/state.d.ts +4 -1
  316. package/lib/commonjs/mol-gl/webgl/state.js +25 -1
  317. package/lib/commonjs/mol-gl/webgl/state.js.map +1 -1
  318. package/lib/commonjs/mol-gl/webgl/texture.js +2 -2
  319. package/lib/commonjs/mol-gl/webgl/texture.js.map +1 -1
  320. package/lib/commonjs/mol-gl/webgl/uniform.js +2 -2
  321. package/lib/commonjs/mol-gl/webgl/uniform.js.map +1 -1
  322. package/lib/commonjs/mol-io/common/file-handle.js +1 -1
  323. package/lib/commonjs/mol-io/common/file-handle.js.map +1 -1
  324. package/lib/commonjs/mol-io/common/typed-array.js +1 -1
  325. package/lib/commonjs/mol-io/common/typed-array.js.map +1 -1
  326. package/lib/commonjs/mol-io/reader/ccp4/parser.js +1 -1
  327. package/lib/commonjs/mol-io/reader/ccp4/parser.js.map +1 -1
  328. package/lib/commonjs/mol-io/reader/cif/binary/parser.js +1 -1
  329. package/lib/commonjs/mol-io/reader/cif/binary/parser.js.map +1 -1
  330. package/lib/commonjs/mol-io/reader/cif/data-model.js +7 -7
  331. package/lib/commonjs/mol-io/reader/cif/data-model.js.map +1 -1
  332. package/lib/commonjs/mol-io/reader/cif/schema/bird.d.ts +5 -5
  333. package/lib/commonjs/mol-io/reader/cif/schema/ccd.d.ts +3 -3
  334. package/lib/commonjs/mol-io/reader/cif/schema/density-server.d.ts +3 -3
  335. package/lib/commonjs/mol-io/reader/cif/schema/mmcif-extras.d.ts +4 -4
  336. package/lib/commonjs/mol-io/reader/cif/schema/mmcif.d.ts +22 -22
  337. package/lib/commonjs/mol-io/reader/cif/schema.js +7 -7
  338. package/lib/commonjs/mol-io/reader/cif/schema.js.map +1 -1
  339. package/lib/commonjs/mol-io/reader/cif/text/parser.js +2 -2
  340. package/lib/commonjs/mol-io/reader/cif/text/parser.js.map +1 -1
  341. package/lib/commonjs/mol-io/reader/dcd/parser.js +2 -2
  342. package/lib/commonjs/mol-io/reader/dcd/parser.js.map +1 -1
  343. package/lib/commonjs/mol-io/reader/ply/schema.d.ts +1 -1
  344. package/lib/commonjs/mol-io/reader/ply/schema.js +1 -1
  345. package/lib/commonjs/mol-io/reader/ply/schema.js.map +1 -1
  346. package/lib/commonjs/mol-io/reader/result.js +1 -1
  347. package/lib/commonjs/mol-io/reader/result.js.map +1 -1
  348. package/lib/commonjs/mol-io/writer/cif/encoder/text.js +3 -3
  349. package/lib/commonjs/mol-io/writer/cif/encoder/text.js.map +1 -1
  350. package/lib/commonjs/mol-io/writer/cif/encoder.js +5 -5
  351. package/lib/commonjs/mol-io/writer/cif/encoder.js.map +1 -1
  352. package/lib/commonjs/mol-io/writer/mol/encoder.js +4 -4
  353. package/lib/commonjs/mol-io/writer/mol/encoder.js.map +1 -1
  354. package/lib/commonjs/mol-io/writer/mol2/encoder.js +6 -6
  355. package/lib/commonjs/mol-io/writer/mol2/encoder.js.map +1 -1
  356. package/lib/commonjs/mol-math/geometry/gaussian-density/gpu.js +1 -1
  357. package/lib/commonjs/mol-math/geometry/gaussian-density/gpu.js.map +1 -1
  358. package/lib/commonjs/mol-math/geometry/primitives/axes3d.d.ts +2 -1
  359. package/lib/commonjs/mol-math/geometry/primitives/axes3d.js +9 -2
  360. package/lib/commonjs/mol-math/geometry/primitives/axes3d.js.map +1 -1
  361. package/lib/commonjs/mol-math/geometry/spacegroup/construction.js +8 -8
  362. package/lib/commonjs/mol-math/geometry/spacegroup/construction.js.map +1 -1
  363. package/lib/commonjs/mol-math/geometry/spacegroup/tables.js +1 -1
  364. package/lib/commonjs/mol-math/geometry/spacegroup/tables.js.map +1 -1
  365. package/lib/commonjs/mol-math/geometry/symmetry-operator.js +4 -4
  366. package/lib/commonjs/mol-math/geometry/symmetry-operator.js.map +1 -1
  367. package/lib/commonjs/mol-math/graph/inter-unit-graph.js +2 -2
  368. package/lib/commonjs/mol-math/graph/inter-unit-graph.js.map +1 -1
  369. package/lib/commonjs/mol-math/linear-algebra/3d/quat.js +1 -1
  370. package/lib/commonjs/mol-math/linear-algebra/3d/quat.js.map +1 -1
  371. package/lib/commonjs/mol-math/linear-algebra/3d/vec2.js +1 -1
  372. package/lib/commonjs/mol-math/linear-algebra/3d/vec2.js.map +1 -1
  373. package/lib/commonjs/mol-math/linear-algebra/3d/vec3.d.ts +3 -1
  374. package/lib/commonjs/mol-math/linear-algebra/3d/vec3.js +12 -4
  375. package/lib/commonjs/mol-math/linear-algebra/3d/vec3.js.map +1 -1
  376. package/lib/commonjs/mol-math/linear-algebra/3d/vec4.js +1 -1
  377. package/lib/commonjs/mol-math/linear-algebra/3d/vec4.js.map +1 -1
  378. package/lib/commonjs/mol-math/misc.d.ts +3 -1
  379. package/lib/commonjs/mol-math/misc.js +24 -2
  380. package/lib/commonjs/mol-math/misc.js.map +1 -1
  381. package/lib/commonjs/mol-model/loci.d.ts +32 -32
  382. package/lib/commonjs/mol-model/loci.js +4 -3
  383. package/lib/commonjs/mol-model/loci.js.map +1 -1
  384. package/lib/commonjs/mol-model/sequence/sequence.js +2 -2
  385. package/lib/commonjs/mol-model/sequence/sequence.js.map +1 -1
  386. package/lib/commonjs/mol-model/shape/shape.d.ts +1 -1
  387. package/lib/commonjs/mol-model/structure/export/categories/atom_site.js +2 -2
  388. package/lib/commonjs/mol-model/structure/export/categories/atom_site.js.map +1 -1
  389. package/lib/commonjs/mol-model/structure/export/categories/atom_site_operator_mapping.js +1 -1
  390. package/lib/commonjs/mol-model/structure/export/categories/atom_site_operator_mapping.js.map +1 -1
  391. package/lib/commonjs/mol-model/structure/export/categories/secondary-structure.js +1 -1
  392. package/lib/commonjs/mol-model/structure/export/categories/secondary-structure.js.map +1 -1
  393. package/lib/commonjs/mol-model/structure/export/mmcif.js +1 -1
  394. package/lib/commonjs/mol-model/structure/export/mmcif.js.map +1 -1
  395. package/lib/commonjs/mol-model/structure/model/properties/atomic/bonds.js +2 -2
  396. package/lib/commonjs/mol-model/structure/model/properties/atomic/bonds.js.map +1 -1
  397. package/lib/commonjs/mol-model/structure/model/properties/symmetry.js +3 -3
  398. package/lib/commonjs/mol-model/structure/model/properties/symmetry.js.map +1 -1
  399. package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-index.js +2 -2
  400. package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-index.js.map +1 -1
  401. package/lib/commonjs/mol-model/structure/model/properties/utils/coarse-keys.js +1 -1
  402. package/lib/commonjs/mol-model/structure/model/properties/utils/coarse-keys.js.map +1 -1
  403. package/lib/commonjs/mol-model/structure/model/properties/utils/residue-set.js +1 -1
  404. package/lib/commonjs/mol-model/structure/model/properties/utils/residue-set.js.map +1 -1
  405. package/lib/commonjs/mol-model/structure/query/context.js +1 -1
  406. package/lib/commonjs/mol-model/structure/query/context.js.map +1 -1
  407. package/lib/commonjs/mol-model/structure/structure/carbohydrates/compute.js +1 -1
  408. package/lib/commonjs/mol-model/structure/structure/carbohydrates/compute.js.map +1 -1
  409. package/lib/commonjs/mol-model/structure/structure/element/loci.d.ts +1 -0
  410. package/lib/commonjs/mol-model/structure/structure/element/loci.js +16 -2
  411. package/lib/commonjs/mol-model/structure/structure/element/loci.js.map +1 -1
  412. package/lib/commonjs/mol-model/structure/structure/element/util.js +1 -1
  413. package/lib/commonjs/mol-model/structure/structure/element/util.js.map +1 -1
  414. package/lib/commonjs/mol-model/structure/structure/properties.d.ts +3 -3
  415. package/lib/commonjs/mol-model/structure/structure/properties.js +1 -1
  416. package/lib/commonjs/mol-model/structure/structure/properties.js.map +1 -1
  417. package/lib/commonjs/mol-model/structure/structure/structure.js +3 -2
  418. package/lib/commonjs/mol-model/structure/structure/structure.js.map +1 -1
  419. package/lib/commonjs/mol-model/structure/structure/symmetry.js +3 -3
  420. package/lib/commonjs/mol-model/structure/structure/symmetry.js.map +1 -1
  421. package/lib/commonjs/mol-model/structure/structure/unit/bonds/intra-compute.js +1 -1
  422. package/lib/commonjs/mol-model/structure/structure/unit/bonds/intra-compute.js.map +1 -1
  423. package/lib/commonjs/mol-model/structure/structure/unit/bonds.d.ts +2 -1
  424. package/lib/commonjs/mol-model/structure/structure/unit/bonds.js +6 -1
  425. package/lib/commonjs/mol-model/structure/structure/unit/bonds.js.map +1 -1
  426. package/lib/commonjs/mol-model/structure/structure/unit.d.ts +4 -4
  427. package/lib/commonjs/mol-model/structure/structure/util/superposition-db-mapping.js +1 -1
  428. package/lib/commonjs/mol-model/structure/structure/util/superposition-db-mapping.js.map +1 -1
  429. package/lib/commonjs/mol-model/volume/volume.js +2 -2
  430. package/lib/commonjs/mol-model/volume/volume.js.map +1 -1
  431. package/lib/commonjs/mol-model-formats/shape/ply.d.ts +10 -10
  432. package/lib/commonjs/mol-model-formats/shape/ply.js +1 -1
  433. package/lib/commonjs/mol-model-formats/shape/ply.js.map +1 -1
  434. package/lib/commonjs/mol-model-formats/structure/basic/atomic.js +2 -2
  435. package/lib/commonjs/mol-model-formats/structure/basic/atomic.js.map +1 -1
  436. package/lib/commonjs/mol-model-formats/structure/basic/properties.js +2 -2
  437. package/lib/commonjs/mol-model-formats/structure/basic/properties.js.map +1 -1
  438. package/lib/commonjs/mol-model-formats/structure/basic/schema.d.ts +7 -7
  439. package/lib/commonjs/mol-model-formats/structure/common/component.d.ts +8 -8
  440. package/lib/commonjs/mol-model-formats/structure/common/entity.d.ts +1 -1
  441. package/lib/commonjs/mol-model-formats/structure/common/entity.js +6 -6
  442. package/lib/commonjs/mol-model-formats/structure/common/entity.js.map +1 -1
  443. package/lib/commonjs/mol-model-formats/structure/pdb/assembly.js +10 -10
  444. package/lib/commonjs/mol-model-formats/structure/pdb/assembly.js.map +1 -1
  445. package/lib/commonjs/mol-model-formats/structure/pdb/conect.js +1 -1
  446. package/lib/commonjs/mol-model-formats/structure/pdb/conect.js.map +1 -1
  447. package/lib/commonjs/mol-model-formats/structure/pdb/entity.js +30 -4
  448. package/lib/commonjs/mol-model-formats/structure/pdb/entity.js.map +1 -1
  449. package/lib/commonjs/mol-model-formats/structure/property/assembly.js +1 -1
  450. package/lib/commonjs/mol-model-formats/structure/property/assembly.js.map +1 -1
  451. package/lib/commonjs/mol-model-formats/structure/property/symmetry.js +1 -1
  452. package/lib/commonjs/mol-model-formats/structure/property/symmetry.js.map +1 -1
  453. package/lib/commonjs/mol-model-formats/volume/ccp4.js +1 -1
  454. package/lib/commonjs/mol-model-formats/volume/ccp4.js.map +1 -1
  455. package/lib/commonjs/mol-model-props/common/custom-element-property.js +1 -1
  456. package/lib/commonjs/mol-model-props/common/custom-element-property.js.map +1 -1
  457. package/lib/commonjs/mol-model-props/common/custom-property.js +1 -1
  458. package/lib/commonjs/mol-model-props/common/custom-property.js.map +1 -1
  459. package/lib/commonjs/mol-model-props/computed/interactions/common.js +1 -1
  460. package/lib/commonjs/mol-model-props/computed/interactions/common.js.map +1 -1
  461. package/lib/commonjs/mol-model-props/computed/interactions/refine.js +2 -2
  462. package/lib/commonjs/mol-model-props/computed/interactions/refine.js.map +1 -1
  463. package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +5 -2
  464. package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +5 -2
  465. package/lib/commonjs/mol-model-props/computed/representations/interactions.d.ts +15 -6
  466. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/property.js +1 -1
  467. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/property.js.map +1 -1
  468. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.d.ts +20 -8
  469. package/lib/commonjs/mol-model-props/integrative/pair-restraints.js +1 -1
  470. package/lib/commonjs/mol-model-props/integrative/pair-restraints.js.map +1 -1
  471. package/lib/commonjs/mol-model-props/sequence/best-database-mapping.js +1 -1
  472. package/lib/commonjs/mol-model-props/sequence/best-database-mapping.js.map +1 -1
  473. package/lib/commonjs/mol-model-props/sequence/themes/best-database-mapping.d.ts +12 -12
  474. package/lib/commonjs/mol-model-props/sequence/themes/best-database-mapping.js +1 -1
  475. package/lib/commonjs/mol-model-props/sequence/themes/best-database-mapping.js.map +1 -1
  476. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/accessible-surface-area.js +3 -3
  477. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/accessible-surface-area.js.map +1 -1
  478. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/interactions.js +3 -3
  479. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/interactions.js.map +1 -1
  480. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/valence-model.js +1 -1
  481. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/valence-model.js.map +1 -1
  482. package/lib/commonjs/mol-plugin/behavior/dynamic/representation.d.ts +4 -2
  483. package/lib/commonjs/mol-plugin/behavior/dynamic/representation.js +22 -8
  484. package/lib/commonjs/mol-plugin/behavior/dynamic/representation.js.map +1 -1
  485. package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +1 -1
  486. package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js +2 -2
  487. package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js.map +1 -1
  488. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/behavior.d.ts +10 -10
  489. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/behavior.js +6 -6
  490. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/behavior.js.map +1 -1
  491. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +3 -2
  492. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/transformers.d.ts +7 -7
  493. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/transformers.js +5 -5
  494. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/transformers.js.map +1 -1
  495. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/util.js +6 -6
  496. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/util.js.map +1 -1
  497. package/lib/commonjs/mol-plugin/behavior/static/state.js +4 -4
  498. package/lib/commonjs/mol-plugin/behavior/static/state.js.map +1 -1
  499. package/lib/commonjs/mol-plugin/commands.d.ts +8 -4
  500. package/lib/commonjs/mol-plugin/config.d.ts +1 -0
  501. package/lib/commonjs/mol-plugin/config.js +11 -3
  502. package/lib/commonjs/mol-plugin/config.js.map +1 -1
  503. package/lib/commonjs/mol-plugin/context.js +7 -6
  504. package/lib/commonjs/mol-plugin/context.js.map +1 -1
  505. package/lib/commonjs/mol-plugin/layout.d.ts +4 -4
  506. package/lib/commonjs/mol-plugin/util/viewport-screenshot.d.ts +9 -9
  507. package/lib/commonjs/mol-plugin/util/viewport-screenshot.js +1 -1
  508. package/lib/commonjs/mol-plugin/util/viewport-screenshot.js.map +1 -1
  509. package/lib/commonjs/mol-plugin-state/actions/file.js +3 -3
  510. package/lib/commonjs/mol-plugin-state/actions/file.js.map +1 -1
  511. package/lib/commonjs/mol-plugin-state/actions/structure.d.ts +1 -1
  512. package/lib/commonjs/mol-plugin-state/actions/structure.js +12 -12
  513. package/lib/commonjs/mol-plugin-state/actions/structure.js.map +1 -1
  514. package/lib/commonjs/mol-plugin-state/actions/volume.js +16 -16
  515. package/lib/commonjs/mol-plugin-state/actions/volume.js.map +1 -1
  516. package/lib/commonjs/mol-plugin-state/animation/built-in/model-index.d.ts +2 -2
  517. package/lib/commonjs/mol-plugin-state/animation/helpers.d.ts +5 -5
  518. package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy-preset.d.ts +5 -5
  519. package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy.d.ts +5 -5
  520. package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy.js +2 -2
  521. package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy.js.map +1 -1
  522. package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.d.ts +21 -21
  523. package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.js +21 -17
  524. package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.js.map +1 -1
  525. package/lib/commonjs/mol-plugin-state/builder/structure/representation.d.ts +1 -1
  526. package/lib/commonjs/mol-plugin-state/builder/structure/representation.js +2 -2
  527. package/lib/commonjs/mol-plugin-state/builder/structure/representation.js.map +1 -1
  528. package/lib/commonjs/mol-plugin-state/builder/structure.js +3 -3
  529. package/lib/commonjs/mol-plugin-state/builder/structure.js.map +1 -1
  530. package/lib/commonjs/mol-plugin-state/formats/registry.js +1 -1
  531. package/lib/commonjs/mol-plugin-state/formats/registry.js.map +1 -1
  532. package/lib/commonjs/mol-plugin-state/formats/volume.d.ts +12 -12
  533. package/lib/commonjs/mol-plugin-state/helpers/root-structure.d.ts +5 -5
  534. package/lib/commonjs/mol-plugin-state/helpers/root-structure.js +10 -10
  535. package/lib/commonjs/mol-plugin-state/helpers/root-structure.js.map +1 -1
  536. package/lib/commonjs/mol-plugin-state/helpers/structure-component.d.ts +2 -2
  537. package/lib/commonjs/mol-plugin-state/helpers/structure-component.js +3 -3
  538. package/lib/commonjs/mol-plugin-state/helpers/structure-component.js.map +1 -1
  539. package/lib/commonjs/mol-plugin-state/helpers/structure-query.js +1 -1
  540. package/lib/commonjs/mol-plugin-state/helpers/structure-query.js.map +1 -1
  541. package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.js +5 -5
  542. package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.js.map +1 -1
  543. package/lib/commonjs/mol-plugin-state/manager/animation.js +1 -1
  544. package/lib/commonjs/mol-plugin-state/manager/animation.js.map +1 -1
  545. package/lib/commonjs/mol-plugin-state/manager/interactivity.d.ts +2 -2
  546. package/lib/commonjs/mol-plugin-state/manager/interactivity.js +12 -11
  547. package/lib/commonjs/mol-plugin-state/manager/interactivity.js.map +1 -1
  548. package/lib/commonjs/mol-plugin-state/manager/loci-label.js +1 -1
  549. package/lib/commonjs/mol-plugin-state/manager/loci-label.js.map +1 -1
  550. package/lib/commonjs/mol-plugin-state/manager/snapshots.js +2 -2
  551. package/lib/commonjs/mol-plugin-state/manager/snapshots.js.map +1 -1
  552. package/lib/commonjs/mol-plugin-state/manager/structure/component.d.ts +3 -3
  553. package/lib/commonjs/mol-plugin-state/manager/structure/hierarchy.js +2 -2
  554. package/lib/commonjs/mol-plugin-state/manager/structure/hierarchy.js.map +1 -1
  555. package/lib/commonjs/mol-plugin-state/manager/structure/measurement.d.ts +7 -2
  556. package/lib/commonjs/mol-plugin-state/manager/structure/measurement.js +111 -13
  557. package/lib/commonjs/mol-plugin-state/manager/structure/measurement.js.map +1 -1
  558. package/lib/commonjs/mol-plugin-state/manager/structure/selection.d.ts +3 -3
  559. package/lib/commonjs/mol-plugin-state/manager/structure/selection.js +4 -10
  560. package/lib/commonjs/mol-plugin-state/manager/structure/selection.js.map +1 -1
  561. package/lib/commonjs/mol-plugin-state/transforms/data.d.ts +1 -1
  562. package/lib/commonjs/mol-plugin-state/transforms/data.js +8 -8
  563. package/lib/commonjs/mol-plugin-state/transforms/data.js.map +1 -1
  564. package/lib/commonjs/mol-plugin-state/transforms/helpers.d.ts +3 -1
  565. package/lib/commonjs/mol-plugin-state/transforms/helpers.js +7 -4
  566. package/lib/commonjs/mol-plugin-state/transforms/helpers.js.map +1 -1
  567. package/lib/commonjs/mol-plugin-state/transforms/model.d.ts +7 -7
  568. package/lib/commonjs/mol-plugin-state/transforms/model.js +18 -18
  569. package/lib/commonjs/mol-plugin-state/transforms/model.js.map +1 -1
  570. package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +30 -15
  571. package/lib/commonjs/mol-plugin-state/transforms/representation.js +78 -26
  572. package/lib/commonjs/mol-plugin-state/transforms/representation.js.map +1 -1
  573. package/lib/commonjs/mol-plugin-state/transforms/volume.js +7 -7
  574. package/lib/commonjs/mol-plugin-state/transforms/volume.js.map +1 -1
  575. package/lib/commonjs/mol-plugin-ui/base.js +1 -1
  576. package/lib/commonjs/mol-plugin-ui/base.js.map +1 -1
  577. package/lib/commonjs/mol-plugin-ui/controls/action-menu.js +3 -3
  578. package/lib/commonjs/mol-plugin-ui/controls/action-menu.js.map +1 -1
  579. package/lib/commonjs/mol-plugin-ui/controls/color.js +2 -2
  580. package/lib/commonjs/mol-plugin-ui/controls/color.js.map +1 -1
  581. package/lib/commonjs/mol-plugin-ui/controls/common.js +9 -9
  582. package/lib/commonjs/mol-plugin-ui/controls/common.js.map +1 -1
  583. package/lib/commonjs/mol-plugin-ui/controls/icons.js +1 -1
  584. package/lib/commonjs/mol-plugin-ui/controls/icons.js.map +1 -1
  585. package/lib/commonjs/mol-plugin-ui/controls/legend.js +3 -3
  586. package/lib/commonjs/mol-plugin-ui/controls/legend.js.map +1 -1
  587. package/lib/commonjs/mol-plugin-ui/controls/line-graph/line-graph-component.js +6 -6
  588. package/lib/commonjs/mol-plugin-ui/controls/line-graph/line-graph-component.js.map +1 -1
  589. package/lib/commonjs/mol-plugin-ui/controls/line-graph/point-component.js +1 -1
  590. package/lib/commonjs/mol-plugin-ui/controls/line-graph/point-component.js.map +1 -1
  591. package/lib/commonjs/mol-plugin-ui/controls/parameters.js +29 -29
  592. package/lib/commonjs/mol-plugin-ui/controls/parameters.js.map +1 -1
  593. package/lib/commonjs/mol-plugin-ui/controls/screenshot.js +1 -1
  594. package/lib/commonjs/mol-plugin-ui/controls/screenshot.js.map +1 -1
  595. package/lib/commonjs/mol-plugin-ui/controls/slider.js +9 -9
  596. package/lib/commonjs/mol-plugin-ui/controls/slider.js.map +1 -1
  597. package/lib/commonjs/mol-plugin-ui/controls.js +2 -2
  598. package/lib/commonjs/mol-plugin-ui/controls.js.map +1 -1
  599. package/lib/commonjs/mol-plugin-ui/plugin.js +3 -3
  600. package/lib/commonjs/mol-plugin-ui/plugin.js.map +1 -1
  601. package/lib/commonjs/mol-plugin-ui/sequence/chain.js +3 -3
  602. package/lib/commonjs/mol-plugin-ui/sequence/chain.js.map +1 -1
  603. package/lib/commonjs/mol-plugin-ui/sequence/sequence.js +4 -4
  604. package/lib/commonjs/mol-plugin-ui/sequence/sequence.js.map +1 -1
  605. package/lib/commonjs/mol-plugin-ui/sequence.d.ts +1 -1
  606. package/lib/commonjs/mol-plugin-ui/sequence.js +24 -10
  607. package/lib/commonjs/mol-plugin-ui/sequence.js.map +1 -1
  608. package/lib/commonjs/mol-plugin-ui/state/actions.js +1 -1
  609. package/lib/commonjs/mol-plugin-ui/state/actions.js.map +1 -1
  610. package/lib/commonjs/mol-plugin-ui/state/common.js +2 -2
  611. package/lib/commonjs/mol-plugin-ui/state/common.js.map +1 -1
  612. package/lib/commonjs/mol-plugin-ui/state/snapshots.js +4 -4
  613. package/lib/commonjs/mol-plugin-ui/state/snapshots.js.map +1 -1
  614. package/lib/commonjs/mol-plugin-ui/state/tree.js +8 -8
  615. package/lib/commonjs/mol-plugin-ui/state/tree.js.map +1 -1
  616. package/lib/commonjs/mol-plugin-ui/structure/components.js +4 -4
  617. package/lib/commonjs/mol-plugin-ui/structure/components.js.map +1 -1
  618. package/lib/commonjs/mol-plugin-ui/structure/focus.js +4 -4
  619. package/lib/commonjs/mol-plugin-ui/structure/focus.js.map +1 -1
  620. package/lib/commonjs/mol-plugin-ui/structure/generic.js +2 -2
  621. package/lib/commonjs/mol-plugin-ui/structure/generic.js.map +1 -1
  622. package/lib/commonjs/mol-plugin-ui/structure/measurements.d.ts +11 -2
  623. package/lib/commonjs/mol-plugin-ui/structure/measurements.js +49 -6
  624. package/lib/commonjs/mol-plugin-ui/structure/measurements.js.map +1 -1
  625. package/lib/commonjs/mol-plugin-ui/structure/selection.js +4 -4
  626. package/lib/commonjs/mol-plugin-ui/structure/selection.js.map +1 -1
  627. package/lib/commonjs/mol-plugin-ui/structure/source.js +12 -12
  628. package/lib/commonjs/mol-plugin-ui/structure/source.js.map +1 -1
  629. package/lib/commonjs/mol-plugin-ui/structure/superposition.js +4 -4
  630. package/lib/commonjs/mol-plugin-ui/structure/superposition.js.map +1 -1
  631. package/lib/commonjs/mol-plugin-ui/structure/volume.js +2 -2
  632. package/lib/commonjs/mol-plugin-ui/structure/volume.js.map +1 -1
  633. package/lib/commonjs/mol-repr/representation.d.ts +1 -0
  634. package/lib/commonjs/mol-repr/representation.js +14 -8
  635. package/lib/commonjs/mol-repr/representation.js.map +1 -1
  636. package/lib/commonjs/mol-repr/shape/loci/angle.d.ts +1 -1
  637. package/lib/commonjs/mol-repr/shape/loci/angle.js +2 -2
  638. package/lib/commonjs/mol-repr/shape/loci/angle.js.map +1 -1
  639. package/lib/commonjs/mol-repr/shape/loci/common.d.ts +1 -1
  640. package/lib/commonjs/mol-repr/shape/loci/dihedral.d.ts +1 -1
  641. package/lib/commonjs/mol-repr/shape/loci/dihedral.js +2 -2
  642. package/lib/commonjs/mol-repr/shape/loci/dihedral.js.map +1 -1
  643. package/lib/commonjs/mol-repr/shape/loci/distance.d.ts +1 -1
  644. package/lib/commonjs/mol-repr/shape/loci/distance.js +2 -2
  645. package/lib/commonjs/mol-repr/shape/loci/distance.js.map +1 -1
  646. package/lib/commonjs/mol-repr/shape/loci/label.d.ts +1 -1
  647. package/lib/commonjs/mol-repr/shape/loci/label.js +1 -1
  648. package/lib/commonjs/mol-repr/shape/loci/label.js.map +1 -1
  649. package/lib/commonjs/mol-repr/shape/loci/orientation.d.ts +6 -5
  650. package/lib/commonjs/mol-repr/shape/loci/orientation.js +38 -52
  651. package/lib/commonjs/mol-repr/shape/loci/orientation.js.map +1 -1
  652. package/lib/commonjs/mol-repr/shape/loci/plane.d.ts +27 -0
  653. package/lib/commonjs/mol-repr/shape/loci/plane.js +61 -0
  654. package/lib/commonjs/mol-repr/shape/loci/plane.js.map +1 -0
  655. package/lib/commonjs/mol-repr/shape/model/unitcell.d.ts +2 -2
  656. package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +13 -13
  657. package/lib/commonjs/mol-repr/structure/params.d.ts +12 -12
  658. package/lib/commonjs/mol-repr/structure/registry.d.ts +59 -40
  659. package/lib/commonjs/mol-repr/structure/registry.js +1 -1
  660. package/lib/commonjs/mol-repr/structure/registry.js.map +1 -1
  661. package/lib/commonjs/mol-repr/structure/representation/backbone.d.ts +6 -6
  662. package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +24 -12
  663. package/lib/commonjs/mol-repr/structure/representation/carbohydrate.d.ts +15 -6
  664. package/lib/commonjs/mol-repr/structure/representation/cartoon.d.ts +9 -6
  665. package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +24 -12
  666. package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +6 -6
  667. package/lib/commonjs/mol-repr/structure/representation/gaussian-volume.d.ts +9 -9
  668. package/lib/commonjs/mol-repr/structure/representation/label.d.ts +9 -9
  669. package/lib/commonjs/mol-repr/structure/representation/line.d.ts +43 -22
  670. package/lib/commonjs/mol-repr/structure/representation/line.js +10 -4
  671. package/lib/commonjs/mol-repr/structure/representation/line.js.map +1 -1
  672. package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +6 -6
  673. package/lib/commonjs/mol-repr/structure/representation/orientation.d.ts +6 -6
  674. package/lib/commonjs/mol-repr/structure/representation/point.d.ts +9 -9
  675. package/lib/commonjs/mol-repr/structure/representation/putty.d.ts +6 -6
  676. package/lib/commonjs/mol-repr/structure/representation/spacefill.d.ts +6 -6
  677. package/lib/commonjs/mol-repr/structure/units-representation.js +1 -1
  678. package/lib/commonjs/mol-repr/structure/units-representation.js.map +1 -1
  679. package/lib/commonjs/mol-repr/structure/units-visual.d.ts +18 -18
  680. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +16 -8
  681. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.js +20 -9
  682. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.js.map +1 -1
  683. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.d.ts +6 -4
  684. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.js +13 -8
  685. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.js.map +1 -1
  686. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +16 -8
  687. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.js +21 -7
  688. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.js.map +1 -1
  689. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.d.ts +6 -4
  690. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.js +14 -6
  691. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.js.map +1 -1
  692. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +5 -2
  693. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +2 -2
  694. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +5 -2
  695. package/lib/commonjs/mol-repr/structure/visual/element-cross.d.ts +26 -0
  696. package/lib/commonjs/mol-repr/structure/visual/element-cross.js +77 -0
  697. package/lib/commonjs/mol-repr/structure/visual/element-cross.js.map +1 -0
  698. package/lib/commonjs/mol-repr/structure/visual/element-point.d.ts +3 -3
  699. package/lib/commonjs/mol-repr/structure/visual/element-sphere.d.ts +4 -4
  700. package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.d.ts +2 -2
  701. package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.d.ts +6 -6
  702. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +8 -8
  703. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +2 -2
  704. package/lib/commonjs/mol-repr/structure/visual/label-text.d.ts +3 -3
  705. package/lib/commonjs/mol-repr/structure/visual/label-text.js +3 -3
  706. package/lib/commonjs/mol-repr/structure/visual/label-text.js.map +1 -1
  707. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +2 -2
  708. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +2 -2
  709. package/lib/commonjs/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +2 -2
  710. package/lib/commonjs/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +2 -2
  711. package/lib/commonjs/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +2 -2
  712. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +4 -4
  713. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +4 -4
  714. package/lib/commonjs/mol-repr/structure/visual/polymer-direction-wedge.d.ts +2 -2
  715. package/lib/commonjs/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +2 -2
  716. package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.d.ts +5 -2
  717. package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.js +22 -15
  718. package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.js.map +1 -1
  719. package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.d.ts +2 -2
  720. package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.js +1 -1
  721. package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.js.map +1 -1
  722. package/lib/commonjs/mol-repr/structure/visual/util/bond.d.ts +30 -16
  723. package/lib/commonjs/mol-repr/structure/visual/util/bond.js +2 -1
  724. package/lib/commonjs/mol-repr/structure/visual/util/bond.js.map +1 -1
  725. package/lib/commonjs/mol-repr/structure/visual/util/common.d.ts +2 -2
  726. package/lib/commonjs/mol-repr/structure/visual/util/element.d.ts +4 -4
  727. package/lib/commonjs/mol-repr/structure/visual/util/link.d.ts +14 -4
  728. package/lib/commonjs/mol-repr/structure/visual/util/link.js +90 -37
  729. package/lib/commonjs/mol-repr/structure/visual/util/link.js.map +1 -1
  730. package/lib/commonjs/mol-repr/structure/visual/util/polymer.d.ts +2 -2
  731. package/lib/commonjs/mol-repr/volume/direct-volume.d.ts +9 -9
  732. package/lib/commonjs/mol-repr/volume/isosurface.d.ts +12 -12
  733. package/lib/commonjs/mol-repr/volume/registry.d.ts +8 -8
  734. package/lib/commonjs/mol-repr/volume/registry.js +1 -1
  735. package/lib/commonjs/mol-repr/volume/registry.js.map +1 -1
  736. package/lib/commonjs/mol-repr/volume/representation.d.ts +1 -1
  737. package/lib/commonjs/mol-repr/volume/slice.d.ts +9 -9
  738. package/lib/commonjs/mol-script/language/builder.d.ts +0 -1
  739. package/lib/commonjs/mol-script/language/expression-formatter.js +6 -6
  740. package/lib/commonjs/mol-script/language/expression-formatter.js.map +1 -1
  741. package/lib/commonjs/mol-script/language/helpers.js +4 -4
  742. package/lib/commonjs/mol-script/language/helpers.js.map +1 -1
  743. package/lib/commonjs/mol-script/language/parser.js +1 -1
  744. package/lib/commonjs/mol-script/language/parser.js.map +1 -1
  745. package/lib/commonjs/mol-script/language/symbol-table/structure-query.js +3 -3
  746. package/lib/commonjs/mol-script/language/symbol-table/structure-query.js.map +1 -1
  747. package/lib/commonjs/mol-script/language/symbol.js +1 -1
  748. package/lib/commonjs/mol-script/language/symbol.js.map +1 -1
  749. package/lib/commonjs/mol-script/runtime/query/base.js +2 -2
  750. package/lib/commonjs/mol-script/runtime/query/base.js.map +1 -1
  751. package/lib/commonjs/mol-script/script/mol-script/symbols.js +3 -3
  752. package/lib/commonjs/mol-script/script/mol-script/symbols.js.map +1 -1
  753. package/lib/commonjs/mol-state/state/builder.js +1 -1
  754. package/lib/commonjs/mol-state/state/builder.js.map +1 -1
  755. package/lib/commonjs/mol-state/state.js +7 -7
  756. package/lib/commonjs/mol-state/state.js.map +1 -1
  757. package/lib/commonjs/mol-state/transformer.js +3 -3
  758. package/lib/commonjs/mol-state/transformer.js.map +1 -1
  759. package/lib/commonjs/mol-state/tree/transient.js +3 -3
  760. package/lib/commonjs/mol-state/tree/transient.js.map +1 -1
  761. package/lib/commonjs/mol-task/execution/progress.js +4 -4
  762. package/lib/commonjs/mol-task/execution/progress.js.map +1 -1
  763. package/lib/commonjs/mol-task/task.js +1 -1
  764. package/lib/commonjs/mol-task/task.js.map +1 -1
  765. package/lib/commonjs/mol-task/util/multistep.js +1 -1
  766. package/lib/commonjs/mol-task/util/multistep.js.map +1 -1
  767. package/lib/commonjs/mol-task/util/user-timing.js +3 -3
  768. package/lib/commonjs/mol-task/util/user-timing.js.map +1 -1
  769. package/lib/commonjs/mol-theme/color/atom-id.d.ts +12 -12
  770. package/lib/commonjs/mol-theme/color/chain-id.d.ts +12 -12
  771. package/lib/commonjs/mol-theme/color/chain-id.js +1 -1
  772. package/lib/commonjs/mol-theme/color/chain-id.js.map +1 -1
  773. package/lib/commonjs/mol-theme/color/element-index.d.ts +12 -12
  774. package/lib/commonjs/mol-theme/color/element-symbol.d.ts +16 -16
  775. package/lib/commonjs/mol-theme/color/entity-id.d.ts +12 -12
  776. package/lib/commonjs/mol-theme/color/entity-id.js +1 -1
  777. package/lib/commonjs/mol-theme/color/entity-id.js.map +1 -1
  778. package/lib/commonjs/mol-theme/color/entity-source.d.ts +12 -12
  779. package/lib/commonjs/mol-theme/color/entity-source.js +4 -4
  780. package/lib/commonjs/mol-theme/color/entity-source.js.map +1 -1
  781. package/lib/commonjs/mol-theme/color/illustrative.d.ts +12 -12
  782. package/lib/commonjs/mol-theme/color/model-index.d.ts +12 -12
  783. package/lib/commonjs/mol-theme/color/operator-hkl.d.ts +12 -12
  784. package/lib/commonjs/mol-theme/color/operator-hkl.js +2 -2
  785. package/lib/commonjs/mol-theme/color/operator-hkl.js.map +1 -1
  786. package/lib/commonjs/mol-theme/color/operator-name.d.ts +12 -12
  787. package/lib/commonjs/mol-theme/color/polymer-id.d.ts +12 -12
  788. package/lib/commonjs/mol-theme/color/polymer-index.d.ts +12 -12
  789. package/lib/commonjs/mol-theme/color/unit-index.d.ts +12 -12
  790. package/lib/commonjs/mol-theme/color.d.ts +80 -80
  791. package/lib/commonjs/mol-theme/label.d.ts +1 -0
  792. package/lib/commonjs/mol-theme/label.js +38 -28
  793. package/lib/commonjs/mol-theme/label.js.map +1 -1
  794. package/lib/commonjs/mol-theme/theme.js +3 -3
  795. package/lib/commonjs/mol-theme/theme.js.map +1 -1
  796. package/lib/commonjs/mol-util/assets.js +3 -3
  797. package/lib/commonjs/mol-util/assets.js.map +1 -1
  798. package/lib/commonjs/mol-util/color/color.js +2 -2
  799. package/lib/commonjs/mol-util/color/color.js.map +1 -1
  800. package/lib/commonjs/mol-util/color/lists.js +1 -1
  801. package/lib/commonjs/mol-util/color/lists.js.map +1 -1
  802. package/lib/commonjs/mol-util/color/names.d.ts +1 -1
  803. package/lib/commonjs/mol-util/color/palette.d.ts +12 -12
  804. package/lib/commonjs/mol-util/color/palette.js +2 -2
  805. package/lib/commonjs/mol-util/color/palette.js.map +1 -1
  806. package/lib/commonjs/mol-util/color/scale.d.ts +1 -1
  807. package/lib/commonjs/mol-util/console-logger.js +9 -9
  808. package/lib/commonjs/mol-util/console-logger.js.map +1 -1
  809. package/lib/commonjs/mol-util/data-source.js +5 -5
  810. package/lib/commonjs/mol-util/data-source.js.map +1 -1
  811. package/lib/commonjs/mol-util/download.js +1 -1
  812. package/lib/commonjs/mol-util/download.js.map +1 -1
  813. package/lib/commonjs/mol-util/graphql-client.js +2 -2
  814. package/lib/commonjs/mol-util/graphql-client.js.map +1 -1
  815. package/lib/commonjs/mol-util/index.js +2 -2
  816. package/lib/commonjs/mol-util/index.js.map +1 -1
  817. package/lib/commonjs/mol-util/monadic-parser.js +4 -4
  818. package/lib/commonjs/mol-util/monadic-parser.js.map +1 -1
  819. package/lib/commonjs/mol-util/now.js +4 -4
  820. package/lib/commonjs/mol-util/now.js.map +1 -1
  821. package/lib/commonjs/mol-util/object.js +1 -1
  822. package/lib/commonjs/mol-util/object.js.map +1 -1
  823. package/lib/commonjs/mol-util/performance-monitor.js +4 -4
  824. package/lib/commonjs/mol-util/performance-monitor.js.map +1 -1
  825. package/lib/commonjs/mol-util/string.js +3 -3
  826. package/lib/commonjs/mol-util/string.js.map +1 -1
  827. package/lib/commonjs/mol-util/url.js +2 -2
  828. package/lib/commonjs/mol-util/url.js.map +1 -1
  829. package/lib/commonjs/mol-util/zip/deflate.js +1 -1
  830. package/lib/commonjs/mol-util/zip/deflate.js.map +1 -1
  831. package/lib/commonjs/mol-util/zip/inflate.js +1 -1
  832. package/lib/commonjs/mol-util/zip/inflate.js.map +1 -1
  833. package/lib/commonjs/mol-util/zip/zip.js +1 -1
  834. package/lib/commonjs/mol-util/zip/zip.js.map +1 -1
  835. package/lib/commonjs/perf-tests/mol-script.js +1 -1
  836. package/lib/commonjs/perf-tests/mol-script.js.map +1 -1
  837. package/lib/commonjs/perf-tests/sets.js +1 -1
  838. package/lib/commonjs/perf-tests/sets.js.map +1 -1
  839. package/lib/commonjs/perf-tests/sort.js +1 -1
  840. package/lib/commonjs/perf-tests/sort.js.map +1 -1
  841. package/lib/commonjs/perf-tests/string-builder.js +2 -2
  842. package/lib/commonjs/perf-tests/string-builder.js.map +1 -1
  843. package/lib/commonjs/perf-tests/structure.js +7 -7
  844. package/lib/commonjs/perf-tests/structure.js.map +1 -1
  845. package/lib/commonjs/perf-tests/test-xtc.js +1 -1
  846. package/lib/commonjs/perf-tests/test-xtc.js.map +1 -1
  847. package/lib/commonjs/servers/common/file-handle.js +1 -1
  848. package/lib/commonjs/servers/common/file-handle.js.map +1 -1
  849. package/lib/commonjs/servers/common/util.js +1 -1
  850. package/lib/commonjs/servers/common/util.js.map +1 -1
  851. package/lib/commonjs/servers/model/config.js +4 -5
  852. package/lib/commonjs/servers/model/config.js.map +1 -1
  853. package/lib/commonjs/servers/model/preprocess/master.js +1 -1
  854. package/lib/commonjs/servers/model/preprocess/master.js.map +1 -1
  855. package/lib/commonjs/servers/model/preprocess/parallel.js +2 -2
  856. package/lib/commonjs/servers/model/preprocess/parallel.js.map +1 -1
  857. package/lib/commonjs/servers/model/preprocess/util.js +3 -3
  858. package/lib/commonjs/servers/model/preprocess/util.js.map +1 -1
  859. package/lib/commonjs/servers/model/preprocess.js +0 -0
  860. package/lib/commonjs/servers/model/properties/providers/pdbe.js +5 -5
  861. package/lib/commonjs/servers/model/properties/providers/pdbe.js.map +1 -1
  862. package/lib/commonjs/servers/model/property-provider.js +2 -2
  863. package/lib/commonjs/servers/model/property-provider.js.map +1 -1
  864. package/lib/commonjs/servers/model/query.js +1 -1
  865. package/lib/commonjs/servers/model/query.js.map +1 -1
  866. package/lib/commonjs/servers/model/server/api-local.js +2 -2
  867. package/lib/commonjs/servers/model/server/api-local.js.map +1 -1
  868. package/lib/commonjs/servers/model/server/api-schema.js +2 -2
  869. package/lib/commonjs/servers/model/server/api-schema.js.map +1 -1
  870. package/lib/commonjs/servers/model/server/api-web-multiple.js +1 -1
  871. package/lib/commonjs/servers/model/server/api-web-multiple.js.map +1 -1
  872. package/lib/commonjs/servers/model/server/api-web.js +4 -4
  873. package/lib/commonjs/servers/model/server/api-web.js.map +1 -1
  874. package/lib/commonjs/servers/model/server/api.js +1 -1
  875. package/lib/commonjs/servers/model/server/api.js.map +1 -1
  876. package/lib/commonjs/servers/model/server/cache.js +3 -3
  877. package/lib/commonjs/servers/model/server/cache.js.map +1 -1
  878. package/lib/commonjs/servers/model/server/jobs.js +3 -3
  879. package/lib/commonjs/servers/model/server/jobs.js.map +1 -1
  880. package/lib/commonjs/servers/model/server/query.js +10 -10
  881. package/lib/commonjs/servers/model/server/query.js.map +1 -1
  882. package/lib/commonjs/servers/model/server/structure-wrapper.js +6 -6
  883. package/lib/commonjs/servers/model/server/structure-wrapper.js.map +1 -1
  884. package/lib/commonjs/servers/model/server.js +3 -3
  885. package/lib/commonjs/servers/model/server.js.map +1 -1
  886. package/lib/commonjs/servers/model/utils/fetch-props-pdbe.js +4 -4
  887. package/lib/commonjs/servers/model/utils/fetch-props-pdbe.js.map +1 -1
  888. package/lib/commonjs/servers/model/utils/writer.js +2 -2
  889. package/lib/commonjs/servers/model/utils/writer.js.map +1 -1
  890. package/lib/commonjs/servers/plugin-state/api-schema.js +2 -2
  891. package/lib/commonjs/servers/plugin-state/api-schema.js.map +1 -1
  892. package/lib/commonjs/servers/plugin-state/index.js +1 -1
  893. package/lib/commonjs/servers/plugin-state/index.js.map +1 -1
  894. package/lib/commonjs/servers/volume/config.js +0 -1
  895. package/lib/commonjs/servers/volume/config.js.map +1 -1
  896. package/lib/commonjs/servers/volume/pack/format/dsn6.js +1 -1
  897. package/lib/commonjs/servers/volume/pack/format/dsn6.js.map +1 -1
  898. package/lib/commonjs/servers/volume/pack/main.js +4 -4
  899. package/lib/commonjs/servers/volume/pack/main.js.map +1 -1
  900. package/lib/commonjs/servers/volume/pack/writer.js +1 -1
  901. package/lib/commonjs/servers/volume/pack/writer.js.map +1 -1
  902. package/lib/commonjs/servers/volume/pack.js +1 -1
  903. package/lib/commonjs/servers/volume/pack.js.map +1 -1
  904. package/lib/commonjs/servers/volume/query.js +0 -0
  905. package/lib/commonjs/servers/volume/server/api.js +7 -7
  906. package/lib/commonjs/servers/volume/server/api.js.map +1 -1
  907. package/lib/commonjs/servers/volume/server/local-api.js +1 -1
  908. package/lib/commonjs/servers/volume/server/local-api.js.map +1 -1
  909. package/lib/commonjs/servers/volume/server/query/encode.js +3 -3
  910. package/lib/commonjs/servers/volume/server/query/encode.js.map +1 -1
  911. package/lib/commonjs/servers/volume/server/query/execute.js +5 -5
  912. package/lib/commonjs/servers/volume/server/query/execute.js.map +1 -1
  913. package/lib/commonjs/servers/volume/server/version.js +1 -1
  914. package/lib/commonjs/servers/volume/server/version.js.map +1 -1
  915. package/lib/commonjs/servers/volume/server/web-api.js +7 -7
  916. package/lib/commonjs/servers/volume/server/web-api.js.map +1 -1
  917. package/lib/commonjs/servers/volume/server/web-schema.js +6 -6
  918. package/lib/commonjs/servers/volume/server/web-schema.js.map +1 -1
  919. package/lib/commonjs/servers/volume/server.js +2 -2
  920. package/lib/commonjs/servers/volume/server.js.map +1 -1
  921. package/lib/commonjs/tests/browser/font-atlas.js +1 -1
  922. package/lib/commonjs/tests/browser/font-atlas.js.map +1 -1
  923. package/lib/commonjs/tests/browser/render-shape.js +1 -1
  924. package/lib/commonjs/tests/browser/render-shape.js.map +1 -1
  925. package/lib/commonjs/tests/browser/render-structure.js +1 -1
  926. package/lib/commonjs/tests/browser/render-structure.js.map +1 -1
  927. package/lib/examples/alpha-orbitals/index.html +60 -60
  928. package/lib/examples/basic-wrapper/index.html +136 -136
  929. package/lib/examples/basic-wrapper/superposition.js +3 -3
  930. package/lib/examples/basic-wrapper/superposition.js.map +1 -1
  931. package/lib/examples/domain-annotation-server/mapping.js +2 -2
  932. package/lib/examples/domain-annotation-server/mapping.js.map +1 -1
  933. package/lib/examples/domain-annotation-server/server.js +3 -3
  934. package/lib/examples/domain-annotation-server/server.js.map +1 -1
  935. package/lib/examples/lighting/index.html +86 -86
  936. package/lib/examples/proteopedia-wrapper/annotation.js +3 -3
  937. package/lib/examples/proteopedia-wrapper/annotation.js.map +1 -1
  938. package/lib/examples/proteopedia-wrapper/helpers.js +1 -1
  939. package/lib/examples/proteopedia-wrapper/helpers.js.map +1 -1
  940. package/lib/examples/proteopedia-wrapper/index.html +235 -235
  941. package/lib/examples/proteopedia-wrapper/index.js +2 -2
  942. package/lib/examples/proteopedia-wrapper/index.js.map +1 -1
  943. package/lib/examples/task.js +6 -6
  944. package/lib/examples/task.js.map +1 -1
  945. package/lib/extensions/alpha-orbitals/transforms.js +2 -2
  946. package/lib/extensions/alpha-orbitals/transforms.js.map +1 -1
  947. package/lib/extensions/anvil/representation.js +1 -1
  948. package/lib/extensions/anvil/representation.js.map +1 -1
  949. package/lib/extensions/cellpack/color/generate.d.ts +1 -1
  950. package/lib/extensions/cellpack/color/generate.js +1 -1
  951. package/lib/extensions/cellpack/color/provided.d.ts +1 -1
  952. package/lib/extensions/cellpack/color/provided.js +1 -1
  953. package/lib/extensions/cellpack/curve.d.ts +2 -2
  954. package/lib/extensions/cellpack/curve.js +2 -2
  955. package/lib/extensions/cellpack/data.d.ts +32 -0
  956. package/lib/extensions/cellpack/index.d.ts +1 -1
  957. package/lib/extensions/cellpack/index.js +1 -1
  958. package/lib/extensions/cellpack/model.d.ts +5 -3
  959. package/lib/extensions/cellpack/model.js +204 -66
  960. package/lib/extensions/cellpack/model.js.map +1 -1
  961. package/lib/extensions/cellpack/preset.d.ts +2 -1
  962. package/lib/extensions/cellpack/preset.js +12 -15
  963. package/lib/extensions/cellpack/preset.js.map +1 -1
  964. package/lib/extensions/cellpack/property.d.ts +1 -1
  965. package/lib/extensions/cellpack/property.js +1 -1
  966. package/lib/extensions/cellpack/representation.d.ts +53 -0
  967. package/lib/extensions/cellpack/representation.js +43 -0
  968. package/lib/extensions/cellpack/representation.js.map +1 -0
  969. package/lib/extensions/cellpack/state.d.ts +16 -5
  970. package/lib/extensions/cellpack/state.js +232 -25
  971. package/lib/extensions/cellpack/state.js.map +1 -1
  972. package/lib/extensions/cellpack/util.d.ts +3 -1
  973. package/lib/extensions/cellpack/util.js +32 -5
  974. package/lib/extensions/cellpack/util.js.map +1 -1
  975. package/lib/extensions/dnatco/confal-pyramids/representation.d.ts +3 -3
  976. package/lib/extensions/dnatco/confal-pyramids/util.js +7 -7
  977. package/lib/extensions/dnatco/confal-pyramids/util.js.map +1 -1
  978. package/lib/extensions/g3d/data.js +2 -2
  979. package/lib/extensions/g3d/data.js.map +1 -1
  980. package/lib/extensions/g3d/model.js +2 -2
  981. package/lib/extensions/g3d/model.js.map +1 -1
  982. package/lib/extensions/geo-export/controls.js +2 -2
  983. package/lib/extensions/geo-export/controls.js.map +1 -1
  984. package/lib/extensions/geo-export/glb-exporter.js +1 -1
  985. package/lib/extensions/geo-export/glb-exporter.js.map +1 -1
  986. package/lib/extensions/geo-export/obj-exporter.js +3 -3
  987. package/lib/extensions/geo-export/obj-exporter.js.map +1 -1
  988. package/lib/extensions/geo-export/stl-exporter.js +1 -1
  989. package/lib/extensions/geo-export/stl-exporter.js.map +1 -1
  990. package/lib/extensions/geo-export/usdz-exporter.js +5 -5
  991. package/lib/extensions/geo-export/usdz-exporter.js.map +1 -1
  992. package/lib/extensions/mp4-export/controls.js +1 -1
  993. package/lib/extensions/mp4-export/controls.js.map +1 -1
  994. package/lib/extensions/pdbe/structure-quality-report/behavior.js +1 -1
  995. package/lib/extensions/pdbe/structure-quality-report/behavior.js.map +1 -1
  996. package/lib/extensions/pdbe/structure-quality-report/prop.js +1 -1
  997. package/lib/extensions/pdbe/structure-quality-report/prop.js.map +1 -1
  998. package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +3 -3
  999. package/lib/extensions/rcsb/assembly-symmetry/behavior.js +3 -3
  1000. package/lib/extensions/rcsb/assembly-symmetry/behavior.js.map +1 -1
  1001. package/lib/extensions/rcsb/assembly-symmetry/color.d.ts +12 -12
  1002. package/lib/extensions/rcsb/assembly-symmetry/color.js +1 -1
  1003. package/lib/extensions/rcsb/assembly-symmetry/color.js.map +1 -1
  1004. package/lib/extensions/rcsb/assembly-symmetry/prop.js +2 -2
  1005. package/lib/extensions/rcsb/assembly-symmetry/prop.js.map +1 -1
  1006. package/lib/extensions/rcsb/assembly-symmetry/representation.js +7 -7
  1007. package/lib/extensions/rcsb/assembly-symmetry/representation.js.map +1 -1
  1008. package/lib/extensions/rcsb/validation-report/behavior.js +11 -11
  1009. package/lib/extensions/rcsb/validation-report/behavior.js.map +1 -1
  1010. package/lib/extensions/rcsb/validation-report/prop.js +2 -2
  1011. package/lib/extensions/rcsb/validation-report/prop.js.map +1 -1
  1012. package/lib/extensions/rcsb/validation-report/representation.d.ts +20 -5
  1013. package/lib/extensions/rcsb/validation-report/representation.js +4 -4
  1014. package/lib/extensions/rcsb/validation-report/representation.js.map +1 -1
  1015. package/lib/mol-canvas3d/camera/util.d.ts +4 -3
  1016. package/lib/mol-canvas3d/camera/util.js +15 -16
  1017. package/lib/mol-canvas3d/camera/util.js.map +1 -1
  1018. package/lib/mol-canvas3d/camera.d.ts +11 -3
  1019. package/lib/mol-canvas3d/camera.js +22 -2
  1020. package/lib/mol-canvas3d/camera.js.map +1 -1
  1021. package/lib/mol-canvas3d/canvas3d.d.ts +10 -0
  1022. package/lib/mol-canvas3d/canvas3d.js +12 -6
  1023. package/lib/mol-canvas3d/canvas3d.js.map +1 -1
  1024. package/lib/mol-canvas3d/helper/handle-helper.js +1 -1
  1025. package/lib/mol-canvas3d/helper/handle-helper.js.map +1 -1
  1026. package/lib/mol-canvas3d/helper/interaction-events.d.ts +13 -4
  1027. package/lib/mol-canvas3d/helper/interaction-events.js +43 -9
  1028. package/lib/mol-canvas3d/helper/interaction-events.js.map +1 -1
  1029. package/lib/mol-canvas3d/passes/draw.js +1 -0
  1030. package/lib/mol-canvas3d/passes/draw.js.map +1 -1
  1031. package/lib/mol-canvas3d/passes/pick.d.ts +5 -2
  1032. package/lib/mol-canvas3d/passes/pick.js +17 -3
  1033. package/lib/mol-canvas3d/passes/pick.js.map +1 -1
  1034. package/lib/mol-canvas3d/passes/wboit.js +1 -1
  1035. package/lib/mol-canvas3d/passes/wboit.js.map +1 -1
  1036. package/lib/mol-canvas3d/util.js +1 -1
  1037. package/lib/mol-canvas3d/util.js.map +1 -1
  1038. package/lib/mol-data/db/table.js +1 -1
  1039. package/lib/mol-data/db/table.js.map +1 -1
  1040. package/lib/mol-data/int/_spec/sorted-ranges.spec.js +1 -1
  1041. package/lib/mol-data/int/_spec/sorted-ranges.spec.js.map +1 -1
  1042. package/lib/mol-data/int/impl/sorted-array.js +2 -2
  1043. package/lib/mol-data/int/impl/sorted-array.js.map +1 -1
  1044. package/lib/mol-data/int/tuple.js +1 -1
  1045. package/lib/mol-data/int/tuple.js.map +1 -1
  1046. package/lib/mol-data/util/_spec/interval-iterator.spec.js +1 -1
  1047. package/lib/mol-data/util/_spec/interval-iterator.spec.js.map +1 -1
  1048. package/lib/mol-geo/geometry/direct-volume/direct-volume.d.ts +2 -2
  1049. package/lib/mol-geo/geometry/direct-volume/direct-volume.js +12 -3
  1050. package/lib/mol-geo/geometry/direct-volume/direct-volume.js.map +1 -1
  1051. package/lib/mol-geo/geometry/image/image.js +5 -2
  1052. package/lib/mol-geo/geometry/image/image.js.map +1 -1
  1053. package/lib/mol-geo/geometry/lines/lines.js +1 -1
  1054. package/lib/mol-geo/geometry/lines/lines.js.map +1 -1
  1055. package/lib/mol-geo/geometry/mesh/builder/sheet.d.ts +1 -1
  1056. package/lib/mol-geo/geometry/mesh/builder/sheet.js +19 -11
  1057. package/lib/mol-geo/geometry/mesh/builder/sheet.js.map +1 -1
  1058. package/lib/mol-geo/geometry/mesh/builder/tube.d.ts +2 -2
  1059. package/lib/mol-geo/geometry/mesh/builder/tube.js +57 -15
  1060. package/lib/mol-geo/geometry/mesh/builder/tube.js.map +1 -1
  1061. package/lib/mol-geo/geometry/mesh/color-smoothing.d.ts +1 -1
  1062. package/lib/mol-geo/geometry/mesh/mesh.js +1 -1
  1063. package/lib/mol-geo/geometry/mesh/mesh.js.map +1 -1
  1064. package/lib/mol-geo/geometry/points/points.d.ts +2 -2
  1065. package/lib/mol-geo/geometry/points/points.js +1 -1
  1066. package/lib/mol-geo/geometry/points/points.js.map +1 -1
  1067. package/lib/mol-geo/geometry/spheres/spheres.d.ts +1 -0
  1068. package/lib/mol-geo/geometry/text/font-atlas.js +1 -1
  1069. package/lib/mol-geo/geometry/text/font-atlas.js.map +1 -1
  1070. package/lib/mol-geo/geometry/text/text.js +1 -1
  1071. package/lib/mol-geo/geometry/text/text.js.map +1 -1
  1072. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js +6 -1
  1073. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js.map +1 -1
  1074. package/lib/mol-geo/primitive/polyhedron.js +1 -1
  1075. package/lib/mol-geo/primitive/polyhedron.js.map +1 -1
  1076. package/lib/mol-gl/_spec/cylinders.spec.d.ts +6 -0
  1077. package/lib/mol-gl/_spec/cylinders.spec.js +38 -0
  1078. package/lib/mol-gl/_spec/cylinders.spec.js.map +1 -0
  1079. package/lib/mol-gl/_spec/direct-volume.spec.d.ts +6 -0
  1080. package/lib/mol-gl/_spec/direct-volume.spec.js +38 -0
  1081. package/lib/mol-gl/_spec/direct-volume.spec.js.map +1 -0
  1082. package/lib/mol-gl/_spec/gl.d.ts +9 -0
  1083. package/lib/mol-gl/_spec/gl.js +28 -0
  1084. package/lib/mol-gl/_spec/gl.js.map +1 -0
  1085. package/lib/mol-gl/_spec/gl.shim.js +5 -5
  1086. package/lib/mol-gl/_spec/gl.shim.js.map +1 -1
  1087. package/lib/mol-gl/_spec/image.spec.d.ts +6 -0
  1088. package/lib/mol-gl/_spec/image.spec.js +38 -0
  1089. package/lib/mol-gl/_spec/image.spec.js.map +1 -0
  1090. package/lib/mol-gl/_spec/lines.spec.d.ts +6 -0
  1091. package/lib/mol-gl/_spec/lines.spec.js +38 -0
  1092. package/lib/mol-gl/_spec/lines.spec.js.map +1 -0
  1093. package/lib/mol-gl/_spec/mesh.spec.d.ts +6 -0
  1094. package/lib/mol-gl/_spec/mesh.spec.js +38 -0
  1095. package/lib/mol-gl/_spec/mesh.spec.js.map +1 -0
  1096. package/lib/mol-gl/_spec/points.spec.d.ts +6 -0
  1097. package/lib/mol-gl/_spec/points.spec.js +38 -0
  1098. package/lib/mol-gl/_spec/points.spec.js.map +1 -0
  1099. package/lib/mol-gl/_spec/renderer.spec.d.ts +7 -1
  1100. package/lib/mol-gl/_spec/renderer.spec.js +6 -46
  1101. package/lib/mol-gl/_spec/renderer.spec.js.map +1 -1
  1102. package/lib/{commonjs/mol-repr/structure/visual/aromatic-ring-mesh.d.ts → mol-gl/_spec/shader.spec.d.ts} +0 -0
  1103. package/lib/mol-gl/_spec/shader.spec.js +2 -0
  1104. package/lib/mol-gl/_spec/shader.spec.js.map +1 -0
  1105. package/lib/mol-gl/_spec/spheres.spec.d.ts +6 -0
  1106. package/lib/mol-gl/_spec/spheres.spec.js +38 -0
  1107. package/lib/mol-gl/_spec/spheres.spec.js.map +1 -0
  1108. package/lib/mol-gl/_spec/text.spec.d.ts +6 -0
  1109. package/lib/mol-gl/_spec/text.spec.js +38 -0
  1110. package/lib/mol-gl/_spec/text.spec.js.map +1 -0
  1111. package/lib/mol-gl/_spec/texture-mesh.spec.d.ts +6 -0
  1112. package/lib/mol-gl/_spec/texture-mesh.spec.js +38 -0
  1113. package/lib/mol-gl/_spec/texture-mesh.spec.js.map +1 -0
  1114. package/lib/mol-gl/compute/grid3d.js +3 -3
  1115. package/lib/mol-gl/compute/grid3d.js.map +1 -1
  1116. package/lib/mol-gl/compute/histogram-pyramid/reduction.js +4 -4
  1117. package/lib/mol-gl/compute/histogram-pyramid/reduction.js.map +1 -1
  1118. package/lib/mol-gl/renderable/util.js +1 -1
  1119. package/lib/mol-gl/renderable/util.js.map +1 -1
  1120. package/lib/mol-gl/renderer.d.ts +1 -0
  1121. package/lib/mol-gl/renderer.js +3 -0
  1122. package/lib/mol-gl/renderer.js.map +1 -1
  1123. package/lib/mol-gl/scene.js +1 -1
  1124. package/lib/mol-gl/scene.js.map +1 -1
  1125. package/lib/mol-gl/shader/chunks/assign-material-color.glsl.d.ts +1 -1
  1126. package/lib/mol-gl/shader/chunks/assign-material-color.glsl.js +1 -1
  1127. package/lib/mol-gl/shader/chunks/assign-material-color.glsl.js.map +1 -1
  1128. package/lib/mol-gl/shader/lines.vert.d.ts +1 -1
  1129. package/lib/mol-gl/shader/lines.vert.js +1 -1
  1130. package/lib/mol-gl/shader/lines.vert.js.map +1 -1
  1131. package/lib/mol-gl/shader/points.vert.d.ts +1 -1
  1132. package/lib/mol-gl/shader/points.vert.js +1 -1
  1133. package/lib/mol-gl/shader/points.vert.js.map +1 -1
  1134. package/lib/mol-gl/shader-code.js +8 -8
  1135. package/lib/mol-gl/shader-code.js.map +1 -1
  1136. package/lib/mol-gl/webgl/buffer.d.ts +3 -2
  1137. package/lib/mol-gl/webgl/buffer.js +5 -5
  1138. package/lib/mol-gl/webgl/buffer.js.map +1 -1
  1139. package/lib/mol-gl/webgl/compat.js +3 -3
  1140. package/lib/mol-gl/webgl/compat.js.map +1 -1
  1141. package/lib/mol-gl/webgl/context.js +6 -4
  1142. package/lib/mol-gl/webgl/context.js.map +1 -1
  1143. package/lib/mol-gl/webgl/framebuffer.js +1 -1
  1144. package/lib/mol-gl/webgl/framebuffer.js.map +1 -1
  1145. package/lib/mol-gl/webgl/program.d.ts +1 -1
  1146. package/lib/mol-gl/webgl/program.js +14 -12
  1147. package/lib/mol-gl/webgl/program.js.map +1 -1
  1148. package/lib/mol-gl/webgl/render-item.d.ts +4 -3
  1149. package/lib/mol-gl/webgl/render-item.js +6 -3
  1150. package/lib/mol-gl/webgl/render-item.js.map +1 -1
  1151. package/lib/mol-gl/webgl/resources.js +1 -1
  1152. package/lib/mol-gl/webgl/resources.js.map +1 -1
  1153. package/lib/mol-gl/webgl/shader.js +3 -3
  1154. package/lib/mol-gl/webgl/shader.js.map +1 -1
  1155. package/lib/mol-gl/webgl/state.d.ts +4 -1
  1156. package/lib/mol-gl/webgl/state.js +25 -1
  1157. package/lib/mol-gl/webgl/state.js.map +1 -1
  1158. package/lib/mol-gl/webgl/texture.js +2 -2
  1159. package/lib/mol-gl/webgl/texture.js.map +1 -1
  1160. package/lib/mol-gl/webgl/uniform.js +2 -2
  1161. package/lib/mol-gl/webgl/uniform.js.map +1 -1
  1162. package/lib/mol-io/common/file-handle.js +1 -1
  1163. package/lib/mol-io/common/file-handle.js.map +1 -1
  1164. package/lib/mol-io/common/typed-array.js +1 -1
  1165. package/lib/mol-io/common/typed-array.js.map +1 -1
  1166. package/lib/mol-io/reader/ccp4/parser.js +1 -1
  1167. package/lib/mol-io/reader/ccp4/parser.js.map +1 -1
  1168. package/lib/mol-io/reader/cif/binary/parser.js +1 -1
  1169. package/lib/mol-io/reader/cif/binary/parser.js.map +1 -1
  1170. package/lib/mol-io/reader/cif/data-model.js +7 -7
  1171. package/lib/mol-io/reader/cif/data-model.js.map +1 -1
  1172. package/lib/mol-io/reader/cif/schema/bird.d.ts +5 -5
  1173. package/lib/mol-io/reader/cif/schema/ccd.d.ts +2 -2
  1174. package/lib/mol-io/reader/cif/schema/mmcif-extras.d.ts +2 -2
  1175. package/lib/mol-io/reader/cif/schema/mmcif.d.ts +15 -15
  1176. package/lib/mol-io/reader/cif/schema.js +7 -7
  1177. package/lib/mol-io/reader/cif/schema.js.map +1 -1
  1178. package/lib/mol-io/reader/cif/text/parser.js +2 -2
  1179. package/lib/mol-io/reader/cif/text/parser.js.map +1 -1
  1180. package/lib/mol-io/reader/dcd/parser.js +2 -2
  1181. package/lib/mol-io/reader/dcd/parser.js.map +1 -1
  1182. package/lib/mol-io/reader/ply/schema.d.ts +1 -1
  1183. package/lib/mol-io/reader/ply/schema.js +1 -1
  1184. package/lib/mol-io/reader/ply/schema.js.map +1 -1
  1185. package/lib/mol-io/reader/result.js +1 -1
  1186. package/lib/mol-io/reader/result.js.map +1 -1
  1187. package/lib/mol-io/writer/cif/encoder/text.js +3 -3
  1188. package/lib/mol-io/writer/cif/encoder/text.js.map +1 -1
  1189. package/lib/mol-io/writer/cif/encoder.js +5 -5
  1190. package/lib/mol-io/writer/cif/encoder.js.map +1 -1
  1191. package/lib/mol-io/writer/mol/encoder.js +4 -4
  1192. package/lib/mol-io/writer/mol/encoder.js.map +1 -1
  1193. package/lib/mol-io/writer/mol2/encoder.js +6 -6
  1194. package/lib/mol-io/writer/mol2/encoder.js.map +1 -1
  1195. package/lib/mol-math/geometry/gaussian-density/gpu.js +1 -1
  1196. package/lib/mol-math/geometry/gaussian-density/gpu.js.map +1 -1
  1197. package/lib/mol-math/geometry/primitives/axes3d.d.ts +2 -1
  1198. package/lib/mol-math/geometry/primitives/axes3d.js +9 -2
  1199. package/lib/mol-math/geometry/primitives/axes3d.js.map +1 -1
  1200. package/lib/mol-math/geometry/spacegroup/construction.js +8 -8
  1201. package/lib/mol-math/geometry/spacegroup/construction.js.map +1 -1
  1202. package/lib/mol-math/geometry/spacegroup/tables.js +1 -1
  1203. package/lib/mol-math/geometry/spacegroup/tables.js.map +1 -1
  1204. package/lib/mol-math/geometry/symmetry-operator.js +4 -4
  1205. package/lib/mol-math/geometry/symmetry-operator.js.map +1 -1
  1206. package/lib/mol-math/graph/inter-unit-graph.js +2 -2
  1207. package/lib/mol-math/graph/inter-unit-graph.js.map +1 -1
  1208. package/lib/mol-math/linear-algebra/3d/quat.js +1 -1
  1209. package/lib/mol-math/linear-algebra/3d/quat.js.map +1 -1
  1210. package/lib/mol-math/linear-algebra/3d/vec2.js +1 -1
  1211. package/lib/mol-math/linear-algebra/3d/vec2.js.map +1 -1
  1212. package/lib/mol-math/linear-algebra/3d/vec3.d.ts +3 -1
  1213. package/lib/mol-math/linear-algebra/3d/vec3.js +12 -4
  1214. package/lib/mol-math/linear-algebra/3d/vec3.js.map +1 -1
  1215. package/lib/mol-math/linear-algebra/3d/vec4.js +1 -1
  1216. package/lib/mol-math/linear-algebra/3d/vec4.js.map +1 -1
  1217. package/lib/mol-math/misc.d.ts +3 -1
  1218. package/lib/mol-math/misc.js +22 -1
  1219. package/lib/mol-math/misc.js.map +1 -1
  1220. package/lib/mol-model/loci.d.ts +32 -32
  1221. package/lib/mol-model/loci.js +4 -3
  1222. package/lib/mol-model/loci.js.map +1 -1
  1223. package/lib/mol-model/sequence/sequence.js +2 -2
  1224. package/lib/mol-model/sequence/sequence.js.map +1 -1
  1225. package/lib/mol-model/shape/shape.d.ts +1 -1
  1226. package/lib/mol-model/structure/export/categories/atom_site.js +2 -2
  1227. package/lib/mol-model/structure/export/categories/atom_site.js.map +1 -1
  1228. package/lib/mol-model/structure/export/categories/atom_site_operator_mapping.js +1 -1
  1229. package/lib/mol-model/structure/export/categories/atom_site_operator_mapping.js.map +1 -1
  1230. package/lib/mol-model/structure/export/categories/secondary-structure.js +1 -1
  1231. package/lib/mol-model/structure/export/categories/secondary-structure.js.map +1 -1
  1232. package/lib/mol-model/structure/export/mmcif.js +1 -1
  1233. package/lib/mol-model/structure/export/mmcif.js.map +1 -1
  1234. package/lib/mol-model/structure/model/properties/atomic/bonds.js +2 -2
  1235. package/lib/mol-model/structure/model/properties/atomic/bonds.js.map +1 -1
  1236. package/lib/mol-model/structure/model/properties/symmetry.js +3 -3
  1237. package/lib/mol-model/structure/model/properties/symmetry.js.map +1 -1
  1238. package/lib/mol-model/structure/model/properties/utils/atomic-index.js +2 -2
  1239. package/lib/mol-model/structure/model/properties/utils/atomic-index.js.map +1 -1
  1240. package/lib/mol-model/structure/model/properties/utils/coarse-keys.js +1 -1
  1241. package/lib/mol-model/structure/model/properties/utils/coarse-keys.js.map +1 -1
  1242. package/lib/mol-model/structure/model/properties/utils/residue-set.js +1 -1
  1243. package/lib/mol-model/structure/model/properties/utils/residue-set.js.map +1 -1
  1244. package/lib/mol-model/structure/query/context.js +1 -1
  1245. package/lib/mol-model/structure/query/context.js.map +1 -1
  1246. package/lib/mol-model/structure/structure/carbohydrates/compute.js +1 -1
  1247. package/lib/mol-model/structure/structure/carbohydrates/compute.js.map +1 -1
  1248. package/lib/mol-model/structure/structure/element/loci.d.ts +1 -0
  1249. package/lib/mol-model/structure/structure/element/loci.js +16 -2
  1250. package/lib/mol-model/structure/structure/element/loci.js.map +1 -1
  1251. package/lib/mol-model/structure/structure/element/util.js +1 -1
  1252. package/lib/mol-model/structure/structure/element/util.js.map +1 -1
  1253. package/lib/mol-model/structure/structure/properties.d.ts +3 -3
  1254. package/lib/mol-model/structure/structure/properties.js +1 -1
  1255. package/lib/mol-model/structure/structure/properties.js.map +1 -1
  1256. package/lib/mol-model/structure/structure/structure.js +3 -2
  1257. package/lib/mol-model/structure/structure/structure.js.map +1 -1
  1258. package/lib/mol-model/structure/structure/symmetry.js +3 -3
  1259. package/lib/mol-model/structure/structure/symmetry.js.map +1 -1
  1260. package/lib/mol-model/structure/structure/unit/bonds/intra-compute.js +1 -1
  1261. package/lib/mol-model/structure/structure/unit/bonds/intra-compute.js.map +1 -1
  1262. package/lib/mol-model/structure/structure/unit/bonds.d.ts +2 -1
  1263. package/lib/mol-model/structure/structure/unit/bonds.js +7 -2
  1264. package/lib/mol-model/structure/structure/unit/bonds.js.map +1 -1
  1265. package/lib/mol-model/structure/structure/unit.d.ts +4 -4
  1266. package/lib/mol-model/structure/structure/util/superposition-db-mapping.js +1 -1
  1267. package/lib/mol-model/structure/structure/util/superposition-db-mapping.js.map +1 -1
  1268. package/lib/mol-model/volume/volume.js +2 -2
  1269. package/lib/mol-model/volume/volume.js.map +1 -1
  1270. package/lib/mol-model-formats/shape/ply.d.ts +4 -4
  1271. package/lib/mol-model-formats/shape/ply.js +1 -1
  1272. package/lib/mol-model-formats/shape/ply.js.map +1 -1
  1273. package/lib/mol-model-formats/structure/basic/atomic.js +2 -2
  1274. package/lib/mol-model-formats/structure/basic/atomic.js.map +1 -1
  1275. package/lib/mol-model-formats/structure/basic/properties.js +2 -2
  1276. package/lib/mol-model-formats/structure/basic/properties.js.map +1 -1
  1277. package/lib/mol-model-formats/structure/basic/schema.d.ts +2 -2
  1278. package/lib/mol-model-formats/structure/common/component.d.ts +5 -5
  1279. package/lib/mol-model-formats/structure/common/entity.d.ts +1 -1
  1280. package/lib/mol-model-formats/structure/common/entity.js +6 -6
  1281. package/lib/mol-model-formats/structure/common/entity.js.map +1 -1
  1282. package/lib/mol-model-formats/structure/pdb/assembly.js +10 -10
  1283. package/lib/mol-model-formats/structure/pdb/assembly.js.map +1 -1
  1284. package/lib/mol-model-formats/structure/pdb/conect.js +1 -1
  1285. package/lib/mol-model-formats/structure/pdb/conect.js.map +1 -1
  1286. package/lib/mol-model-formats/structure/pdb/entity.js +30 -4
  1287. package/lib/mol-model-formats/structure/pdb/entity.js.map +1 -1
  1288. package/lib/mol-model-formats/structure/property/assembly.js +1 -1
  1289. package/lib/mol-model-formats/structure/property/assembly.js.map +1 -1
  1290. package/lib/mol-model-formats/structure/property/symmetry.js +1 -1
  1291. package/lib/mol-model-formats/structure/property/symmetry.js.map +1 -1
  1292. package/lib/mol-model-formats/volume/ccp4.js +1 -1
  1293. package/lib/mol-model-formats/volume/ccp4.js.map +1 -1
  1294. package/lib/mol-model-props/common/custom-element-property.js +1 -1
  1295. package/lib/mol-model-props/common/custom-element-property.js.map +1 -1
  1296. package/lib/mol-model-props/common/custom-property.js +1 -1
  1297. package/lib/mol-model-props/common/custom-property.js.map +1 -1
  1298. package/lib/mol-model-props/computed/interactions/common.js +1 -1
  1299. package/lib/mol-model-props/computed/interactions/common.js.map +1 -1
  1300. package/lib/mol-model-props/computed/interactions/refine.js +2 -2
  1301. package/lib/mol-model-props/computed/interactions/refine.js.map +1 -1
  1302. package/lib/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +4 -1
  1303. package/lib/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +4 -1
  1304. package/lib/mol-model-props/computed/representations/interactions.d.ts +12 -3
  1305. package/lib/mol-model-props/integrative/cross-link-restraint/property.js +1 -1
  1306. package/lib/mol-model-props/integrative/cross-link-restraint/property.js.map +1 -1
  1307. package/lib/mol-model-props/integrative/cross-link-restraint/representation.d.ts +16 -4
  1308. package/lib/mol-model-props/integrative/pair-restraints.js +1 -1
  1309. package/lib/mol-model-props/integrative/pair-restraints.js.map +1 -1
  1310. package/lib/mol-model-props/sequence/best-database-mapping.js +1 -1
  1311. package/lib/mol-model-props/sequence/best-database-mapping.js.map +1 -1
  1312. package/lib/mol-model-props/sequence/themes/best-database-mapping.d.ts +12 -12
  1313. package/lib/mol-model-props/sequence/themes/best-database-mapping.js +1 -1
  1314. package/lib/mol-model-props/sequence/themes/best-database-mapping.js.map +1 -1
  1315. package/lib/mol-plugin/behavior/behavior.d.ts +1 -1
  1316. package/lib/mol-plugin/behavior/dynamic/custom-props/computed/accessible-surface-area.js +3 -3
  1317. package/lib/mol-plugin/behavior/dynamic/custom-props/computed/accessible-surface-area.js.map +1 -1
  1318. package/lib/mol-plugin/behavior/dynamic/custom-props/computed/interactions.js +3 -3
  1319. package/lib/mol-plugin/behavior/dynamic/custom-props/computed/interactions.js.map +1 -1
  1320. package/lib/mol-plugin/behavior/dynamic/custom-props/computed/valence-model.js +1 -1
  1321. package/lib/mol-plugin/behavior/dynamic/custom-props/computed/valence-model.js.map +1 -1
  1322. package/lib/mol-plugin/behavior/dynamic/representation.d.ts +4 -2
  1323. package/lib/mol-plugin/behavior/dynamic/representation.js +23 -9
  1324. package/lib/mol-plugin/behavior/dynamic/representation.js.map +1 -1
  1325. package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +1 -1
  1326. package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js +2 -2
  1327. package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js.map +1 -1
  1328. package/lib/mol-plugin/behavior/dynamic/volume-streaming/behavior.js +6 -6
  1329. package/lib/mol-plugin/behavior/dynamic/volume-streaming/behavior.js.map +1 -1
  1330. package/lib/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +3 -2
  1331. package/lib/mol-plugin/behavior/dynamic/volume-streaming/transformers.d.ts +2 -2
  1332. package/lib/mol-plugin/behavior/dynamic/volume-streaming/transformers.js +5 -5
  1333. package/lib/mol-plugin/behavior/dynamic/volume-streaming/transformers.js.map +1 -1
  1334. package/lib/mol-plugin/behavior/dynamic/volume-streaming/util.js +6 -6
  1335. package/lib/mol-plugin/behavior/dynamic/volume-streaming/util.js.map +1 -1
  1336. package/lib/mol-plugin/behavior/static/state.js +4 -4
  1337. package/lib/mol-plugin/behavior/static/state.js.map +1 -1
  1338. package/lib/mol-plugin/commands.d.ts +4 -0
  1339. package/lib/mol-plugin/config.d.ts +1 -0
  1340. package/lib/mol-plugin/config.js +11 -3
  1341. package/lib/mol-plugin/config.js.map +1 -1
  1342. package/lib/mol-plugin/context.js +7 -6
  1343. package/lib/mol-plugin/context.js.map +1 -1
  1344. package/lib/mol-plugin/layout.d.ts +4 -4
  1345. package/lib/mol-plugin/util/viewport-screenshot.js +1 -1
  1346. package/lib/mol-plugin/util/viewport-screenshot.js.map +1 -1
  1347. package/lib/mol-plugin/version.js +2 -2
  1348. package/lib/mol-plugin-state/actions/file.js +3 -3
  1349. package/lib/mol-plugin-state/actions/file.js.map +1 -1
  1350. package/lib/mol-plugin-state/actions/structure.d.ts +2 -2
  1351. package/lib/mol-plugin-state/actions/structure.js +12 -12
  1352. package/lib/mol-plugin-state/actions/structure.js.map +1 -1
  1353. package/lib/mol-plugin-state/actions/volume.js +16 -16
  1354. package/lib/mol-plugin-state/actions/volume.js.map +1 -1
  1355. package/lib/mol-plugin-state/animation/built-in/model-index.d.ts +2 -2
  1356. package/lib/mol-plugin-state/builder/structure/hierarchy-preset.d.ts +4 -4
  1357. package/lib/mol-plugin-state/builder/structure/hierarchy.d.ts +4 -4
  1358. package/lib/mol-plugin-state/builder/structure/hierarchy.js +2 -2
  1359. package/lib/mol-plugin-state/builder/structure/hierarchy.js.map +1 -1
  1360. package/lib/mol-plugin-state/builder/structure/representation-preset.d.ts +13 -13
  1361. package/lib/mol-plugin-state/builder/structure/representation-preset.js +21 -17
  1362. package/lib/mol-plugin-state/builder/structure/representation-preset.js.map +1 -1
  1363. package/lib/mol-plugin-state/builder/structure/representation.js +2 -2
  1364. package/lib/mol-plugin-state/builder/structure/representation.js.map +1 -1
  1365. package/lib/mol-plugin-state/builder/structure.js +3 -3
  1366. package/lib/mol-plugin-state/builder/structure.js.map +1 -1
  1367. package/lib/mol-plugin-state/formats/registry.js +1 -1
  1368. package/lib/mol-plugin-state/formats/registry.js.map +1 -1
  1369. package/lib/mol-plugin-state/formats/volume.d.ts +10 -10
  1370. package/lib/mol-plugin-state/helpers/root-structure.d.ts +4 -4
  1371. package/lib/mol-plugin-state/helpers/root-structure.js +10 -10
  1372. package/lib/mol-plugin-state/helpers/root-structure.js.map +1 -1
  1373. package/lib/mol-plugin-state/helpers/structure-component.d.ts +2 -2
  1374. package/lib/mol-plugin-state/helpers/structure-component.js +3 -3
  1375. package/lib/mol-plugin-state/helpers/structure-component.js.map +1 -1
  1376. package/lib/mol-plugin-state/helpers/structure-query.js +1 -1
  1377. package/lib/mol-plugin-state/helpers/structure-query.js.map +1 -1
  1378. package/lib/mol-plugin-state/helpers/structure-selection-query.js +5 -5
  1379. package/lib/mol-plugin-state/helpers/structure-selection-query.js.map +1 -1
  1380. package/lib/mol-plugin-state/manager/animation.js +1 -1
  1381. package/lib/mol-plugin-state/manager/animation.js.map +1 -1
  1382. package/lib/mol-plugin-state/manager/interactivity.d.ts +2 -2
  1383. package/lib/mol-plugin-state/manager/interactivity.js +12 -11
  1384. package/lib/mol-plugin-state/manager/interactivity.js.map +1 -1
  1385. package/lib/mol-plugin-state/manager/loci-label.js +1 -1
  1386. package/lib/mol-plugin-state/manager/loci-label.js.map +1 -1
  1387. package/lib/mol-plugin-state/manager/snapshots.js +2 -2
  1388. package/lib/mol-plugin-state/manager/snapshots.js.map +1 -1
  1389. package/lib/mol-plugin-state/manager/structure/component.d.ts +2 -2
  1390. package/lib/mol-plugin-state/manager/structure/hierarchy.js +2 -2
  1391. package/lib/mol-plugin-state/manager/structure/hierarchy.js.map +1 -1
  1392. package/lib/mol-plugin-state/manager/structure/measurement.d.ts +7 -2
  1393. package/lib/mol-plugin-state/manager/structure/measurement.js +110 -12
  1394. package/lib/mol-plugin-state/manager/structure/measurement.js.map +1 -1
  1395. package/lib/mol-plugin-state/manager/structure/selection.d.ts +3 -3
  1396. package/lib/mol-plugin-state/manager/structure/selection.js +4 -10
  1397. package/lib/mol-plugin-state/manager/structure/selection.js.map +1 -1
  1398. package/lib/mol-plugin-state/transforms/data.d.ts +1 -1
  1399. package/lib/mol-plugin-state/transforms/data.js +8 -8
  1400. package/lib/mol-plugin-state/transforms/data.js.map +1 -1
  1401. package/lib/mol-plugin-state/transforms/helpers.d.ts +3 -1
  1402. package/lib/mol-plugin-state/transforms/helpers.js +5 -3
  1403. package/lib/mol-plugin-state/transforms/helpers.js.map +1 -1
  1404. package/lib/mol-plugin-state/transforms/model.d.ts +6 -6
  1405. package/lib/mol-plugin-state/transforms/model.js +18 -18
  1406. package/lib/mol-plugin-state/transforms/model.js.map +1 -1
  1407. package/lib/mol-plugin-state/transforms/representation.d.ts +20 -5
  1408. package/lib/mol-plugin-state/transforms/representation.js +78 -26
  1409. package/lib/mol-plugin-state/transforms/representation.js.map +1 -1
  1410. package/lib/mol-plugin-state/transforms/volume.js +7 -7
  1411. package/lib/mol-plugin-state/transforms/volume.js.map +1 -1
  1412. package/lib/mol-plugin-ui/base.js +1 -1
  1413. package/lib/mol-plugin-ui/base.js.map +1 -1
  1414. package/lib/mol-plugin-ui/controls/action-menu.js +3 -3
  1415. package/lib/mol-plugin-ui/controls/action-menu.js.map +1 -1
  1416. package/lib/mol-plugin-ui/controls/color.js +2 -2
  1417. package/lib/mol-plugin-ui/controls/color.js.map +1 -1
  1418. package/lib/mol-plugin-ui/controls/common.js +9 -9
  1419. package/lib/mol-plugin-ui/controls/common.js.map +1 -1
  1420. package/lib/mol-plugin-ui/controls/icons.js +1 -1
  1421. package/lib/mol-plugin-ui/controls/icons.js.map +1 -1
  1422. package/lib/mol-plugin-ui/controls/legend.js +3 -3
  1423. package/lib/mol-plugin-ui/controls/legend.js.map +1 -1
  1424. package/lib/mol-plugin-ui/controls/line-graph/line-graph-component.js +6 -6
  1425. package/lib/mol-plugin-ui/controls/line-graph/line-graph-component.js.map +1 -1
  1426. package/lib/mol-plugin-ui/controls/line-graph/point-component.js +1 -1
  1427. package/lib/mol-plugin-ui/controls/line-graph/point-component.js.map +1 -1
  1428. package/lib/mol-plugin-ui/controls/parameters.d.ts +2 -2
  1429. package/lib/mol-plugin-ui/controls/parameters.js +29 -29
  1430. package/lib/mol-plugin-ui/controls/parameters.js.map +1 -1
  1431. package/lib/mol-plugin-ui/controls/screenshot.js +1 -1
  1432. package/lib/mol-plugin-ui/controls/screenshot.js.map +1 -1
  1433. package/lib/mol-plugin-ui/controls/slider.js +9 -9
  1434. package/lib/mol-plugin-ui/controls/slider.js.map +1 -1
  1435. package/lib/mol-plugin-ui/controls.js +2 -2
  1436. package/lib/mol-plugin-ui/controls.js.map +1 -1
  1437. package/lib/mol-plugin-ui/plugin.js +3 -3
  1438. package/lib/mol-plugin-ui/plugin.js.map +1 -1
  1439. package/lib/mol-plugin-ui/sequence/chain.js +3 -3
  1440. package/lib/mol-plugin-ui/sequence/chain.js.map +1 -1
  1441. package/lib/mol-plugin-ui/sequence/sequence.js +4 -4
  1442. package/lib/mol-plugin-ui/sequence/sequence.js.map +1 -1
  1443. package/lib/mol-plugin-ui/sequence.d.ts +1 -1
  1444. package/lib/mol-plugin-ui/sequence.js +24 -10
  1445. package/lib/mol-plugin-ui/sequence.js.map +1 -1
  1446. package/lib/mol-plugin-ui/skin/base/base.scss +32 -32
  1447. package/lib/mol-plugin-ui/skin/base/components/controls-base.scss +333 -333
  1448. package/lib/mol-plugin-ui/skin/base/components/controls.scss +418 -420
  1449. package/lib/mol-plugin-ui/skin/base/components/help.scss +27 -27
  1450. package/lib/mol-plugin-ui/skin/base/components/line-graph.scss +67 -67
  1451. package/lib/mol-plugin-ui/skin/base/components/log.scss +100 -100
  1452. package/lib/mol-plugin-ui/skin/base/components/misc.scss +616 -616
  1453. package/lib/mol-plugin-ui/skin/base/components/sequence.scss +125 -125
  1454. package/lib/mol-plugin-ui/skin/base/components/slider.scss +165 -165
  1455. package/lib/mol-plugin-ui/skin/base/components/tasks.scss +99 -99
  1456. package/lib/mol-plugin-ui/skin/base/components/toast.scss +83 -81
  1457. package/lib/mol-plugin-ui/skin/base/components/transformer.scss +163 -163
  1458. package/lib/mol-plugin-ui/skin/base/components/viewport.scss +127 -127
  1459. package/lib/mol-plugin-ui/skin/base/layout/common.scss +71 -71
  1460. package/lib/mol-plugin-ui/skin/base/layout/controls-landscape.scss +89 -89
  1461. package/lib/mol-plugin-ui/skin/base/layout/controls-outside.scss +98 -98
  1462. package/lib/mol-plugin-ui/skin/base/layout/controls-portrait.scss +108 -108
  1463. package/lib/mol-plugin-ui/skin/base/layout.scss +40 -40
  1464. package/lib/mol-plugin-ui/skin/base/logo.scss +12 -12
  1465. package/lib/mol-plugin-ui/skin/base/normalize.scss +209 -209
  1466. package/lib/mol-plugin-ui/skin/base/ui.scss +40 -40
  1467. package/lib/mol-plugin-ui/skin/base/variables.scss +85 -85
  1468. package/lib/mol-plugin-ui/skin/blue.scss +1 -1
  1469. package/lib/mol-plugin-ui/skin/colors/blue.scss +23 -23
  1470. package/lib/mol-plugin-ui/skin/colors/dark.scss +23 -23
  1471. package/lib/mol-plugin-ui/skin/colors/light.scss +29 -29
  1472. package/lib/mol-plugin-ui/skin/dark.scss +1 -1
  1473. package/lib/mol-plugin-ui/skin/light.scss +1 -1
  1474. package/lib/mol-plugin-ui/state/actions.js +1 -1
  1475. package/lib/mol-plugin-ui/state/actions.js.map +1 -1
  1476. package/lib/mol-plugin-ui/state/common.js +2 -2
  1477. package/lib/mol-plugin-ui/state/common.js.map +1 -1
  1478. package/lib/mol-plugin-ui/state/snapshots.js +4 -4
  1479. package/lib/mol-plugin-ui/state/snapshots.js.map +1 -1
  1480. package/lib/mol-plugin-ui/state/tree.js +8 -8
  1481. package/lib/mol-plugin-ui/state/tree.js.map +1 -1
  1482. package/lib/mol-plugin-ui/structure/components.js +4 -4
  1483. package/lib/mol-plugin-ui/structure/components.js.map +1 -1
  1484. package/lib/mol-plugin-ui/structure/focus.js +4 -4
  1485. package/lib/mol-plugin-ui/structure/focus.js.map +1 -1
  1486. package/lib/mol-plugin-ui/structure/generic.js +2 -2
  1487. package/lib/mol-plugin-ui/structure/generic.js.map +1 -1
  1488. package/lib/mol-plugin-ui/structure/measurements.d.ts +10 -1
  1489. package/lib/mol-plugin-ui/structure/measurements.js +50 -7
  1490. package/lib/mol-plugin-ui/structure/measurements.js.map +1 -1
  1491. package/lib/mol-plugin-ui/structure/selection.js +4 -4
  1492. package/lib/mol-plugin-ui/structure/selection.js.map +1 -1
  1493. package/lib/mol-plugin-ui/structure/source.js +12 -12
  1494. package/lib/mol-plugin-ui/structure/source.js.map +1 -1
  1495. package/lib/mol-plugin-ui/structure/superposition.js +4 -4
  1496. package/lib/mol-plugin-ui/structure/superposition.js.map +1 -1
  1497. package/lib/mol-plugin-ui/structure/volume.js +2 -2
  1498. package/lib/mol-plugin-ui/structure/volume.js.map +1 -1
  1499. package/lib/mol-repr/representation.d.ts +1 -0
  1500. package/lib/mol-repr/representation.js +12 -6
  1501. package/lib/mol-repr/representation.js.map +1 -1
  1502. package/lib/mol-repr/shape/loci/angle.js +2 -2
  1503. package/lib/mol-repr/shape/loci/angle.js.map +1 -1
  1504. package/lib/mol-repr/shape/loci/dihedral.js +2 -2
  1505. package/lib/mol-repr/shape/loci/dihedral.js.map +1 -1
  1506. package/lib/mol-repr/shape/loci/distance.d.ts +1 -1
  1507. package/lib/mol-repr/shape/loci/distance.js +2 -2
  1508. package/lib/mol-repr/shape/loci/distance.js.map +1 -1
  1509. package/lib/mol-repr/shape/loci/label.js +1 -1
  1510. package/lib/mol-repr/shape/loci/label.js.map +1 -1
  1511. package/lib/mol-repr/shape/loci/orientation.d.ts +5 -4
  1512. package/lib/mol-repr/shape/loci/orientation.js +39 -53
  1513. package/lib/mol-repr/shape/loci/orientation.js.map +1 -1
  1514. package/lib/mol-repr/shape/loci/plane.d.ts +27 -0
  1515. package/lib/mol-repr/shape/loci/plane.js +57 -0
  1516. package/lib/mol-repr/shape/loci/plane.js.map +1 -0
  1517. package/lib/mol-repr/shape/model/unitcell.d.ts +2 -2
  1518. package/lib/mol-repr/structure/complex-visual.d.ts +7 -7
  1519. package/lib/mol-repr/structure/params.d.ts +4 -4
  1520. package/lib/mol-repr/structure/registry.d.ts +49 -30
  1521. package/lib/mol-repr/structure/registry.js +1 -1
  1522. package/lib/mol-repr/structure/registry.js.map +1 -1
  1523. package/lib/mol-repr/structure/representation/backbone.d.ts +3 -3
  1524. package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +21 -9
  1525. package/lib/mol-repr/structure/representation/carbohydrate.d.ts +12 -3
  1526. package/lib/mol-repr/structure/representation/cartoon.d.ts +6 -3
  1527. package/lib/mol-repr/structure/representation/ellipsoid.d.ts +21 -9
  1528. package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +9 -9
  1529. package/lib/mol-repr/structure/representation/gaussian-volume.d.ts +6 -6
  1530. package/lib/mol-repr/structure/representation/label.d.ts +3 -3
  1531. package/lib/mol-repr/structure/representation/line.d.ts +43 -22
  1532. package/lib/mol-repr/structure/representation/line.js +10 -4
  1533. package/lib/mol-repr/structure/representation/line.js.map +1 -1
  1534. package/lib/mol-repr/structure/representation/molecular-surface.d.ts +9 -9
  1535. package/lib/mol-repr/structure/representation/orientation.d.ts +3 -3
  1536. package/lib/mol-repr/structure/representation/point.d.ts +6 -6
  1537. package/lib/mol-repr/structure/representation/putty.d.ts +3 -3
  1538. package/lib/mol-repr/structure/representation/spacefill.d.ts +3 -3
  1539. package/lib/mol-repr/structure/units-representation.js +1 -1
  1540. package/lib/mol-repr/structure/units-representation.js.map +1 -1
  1541. package/lib/mol-repr/structure/units-visual.d.ts +10 -10
  1542. package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +14 -6
  1543. package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.js +20 -9
  1544. package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.js.map +1 -1
  1545. package/lib/mol-repr/structure/visual/bond-inter-unit-line.d.ts +5 -3
  1546. package/lib/mol-repr/structure/visual/bond-inter-unit-line.js +13 -8
  1547. package/lib/mol-repr/structure/visual/bond-inter-unit-line.js.map +1 -1
  1548. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +14 -6
  1549. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.js +21 -7
  1550. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.js.map +1 -1
  1551. package/lib/mol-repr/structure/visual/bond-intra-unit-line.d.ts +5 -3
  1552. package/lib/mol-repr/structure/visual/bond-intra-unit-line.js +14 -6
  1553. package/lib/mol-repr/structure/visual/bond-intra-unit-line.js.map +1 -1
  1554. package/lib/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +4 -1
  1555. package/lib/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +1 -1
  1556. package/lib/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +4 -1
  1557. package/lib/mol-repr/structure/visual/element-cross.d.ts +26 -0
  1558. package/lib/mol-repr/structure/visual/element-cross.js +72 -0
  1559. package/lib/mol-repr/structure/visual/element-cross.js.map +1 -0
  1560. package/lib/mol-repr/structure/visual/element-point.d.ts +2 -2
  1561. package/lib/mol-repr/structure/visual/element-sphere.d.ts +2 -2
  1562. package/lib/mol-repr/structure/visual/ellipsoid-mesh.d.ts +1 -1
  1563. package/lib/mol-repr/structure/visual/gaussian-density-volume.d.ts +4 -4
  1564. package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +12 -12
  1565. package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +1 -1
  1566. package/lib/mol-repr/structure/visual/label-text.d.ts +1 -1
  1567. package/lib/mol-repr/structure/visual/label-text.js +3 -3
  1568. package/lib/mol-repr/structure/visual/label-text.js.map +1 -1
  1569. package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +3 -3
  1570. package/lib/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +1 -1
  1571. package/lib/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +1 -1
  1572. package/lib/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +1 -1
  1573. package/lib/mol-repr/structure/visual/orientation-axes-mesh.d.ts +35 -0
  1574. package/lib/mol-repr/structure/visual/orientation-axes-mesh.js +43 -0
  1575. package/lib/mol-repr/structure/visual/orientation-axes-mesh.js.map +1 -0
  1576. package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh copy.d.ts +31 -0
  1577. package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh copy.js +48 -0
  1578. package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh copy.js.map +1 -0
  1579. package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +1 -1
  1580. package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +2 -2
  1581. package/lib/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -2
  1582. package/lib/mol-repr/structure/visual/polymer-direction-wedge.d.ts +1 -1
  1583. package/lib/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +1 -1
  1584. package/lib/mol-repr/structure/visual/polymer-trace-mesh.d.ts +4 -1
  1585. package/lib/mol-repr/structure/visual/polymer-trace-mesh.js +22 -15
  1586. package/lib/mol-repr/structure/visual/polymer-trace-mesh.js.map +1 -1
  1587. package/lib/mol-repr/structure/visual/polymer-tube-mesh.d.ts +1 -1
  1588. package/lib/mol-repr/structure/visual/polymer-tube-mesh.js +1 -1
  1589. package/lib/mol-repr/structure/visual/polymer-tube-mesh.js.map +1 -1
  1590. package/lib/mol-repr/structure/visual/util/bond.d.ts +30 -16
  1591. package/lib/mol-repr/structure/visual/util/bond.js +2 -1
  1592. package/lib/mol-repr/structure/visual/util/bond.js.map +1 -1
  1593. package/lib/mol-repr/structure/visual/util/color.d.ts +2 -2
  1594. package/lib/mol-repr/structure/visual/util/common.d.ts +2 -2
  1595. package/lib/mol-repr/structure/visual/util/element.d.ts +4 -4
  1596. package/lib/mol-repr/structure/visual/util/link.d.ts +14 -4
  1597. package/lib/mol-repr/structure/visual/util/link.js +90 -37
  1598. package/lib/mol-repr/structure/visual/util/link.js.map +1 -1
  1599. package/lib/mol-repr/structure/visual/util/orientation.d.ts +17 -0
  1600. package/lib/mol-repr/structure/visual/util/orientation.js +71 -0
  1601. package/lib/mol-repr/structure/visual/util/orientation.js.map +1 -0
  1602. package/lib/mol-repr/structure/visual/util/polymer.d.ts +2 -2
  1603. package/lib/mol-repr/volume/direct-volume.d.ts +3 -3
  1604. package/lib/mol-repr/volume/registry.d.ts +1 -1
  1605. package/lib/mol-repr/volume/registry.js +1 -1
  1606. package/lib/mol-repr/volume/registry.js.map +1 -1
  1607. package/lib/mol-script/language/builder.d.ts +0 -1
  1608. package/lib/mol-script/language/expression-formatter.js +6 -6
  1609. package/lib/mol-script/language/expression-formatter.js.map +1 -1
  1610. package/lib/mol-script/language/helpers.js +4 -4
  1611. package/lib/mol-script/language/helpers.js.map +1 -1
  1612. package/lib/mol-script/language/parser.js +1 -1
  1613. package/lib/mol-script/language/parser.js.map +1 -1
  1614. package/lib/mol-script/language/symbol-table/structure-query.js +3 -3
  1615. package/lib/mol-script/language/symbol-table/structure-query.js.map +1 -1
  1616. package/lib/mol-script/language/symbol.js +1 -1
  1617. package/lib/mol-script/language/symbol.js.map +1 -1
  1618. package/lib/mol-script/runtime/query/base.js +2 -2
  1619. package/lib/mol-script/runtime/query/base.js.map +1 -1
  1620. package/lib/mol-script/script/mol-script/symbols.js +3 -3
  1621. package/lib/mol-script/script/mol-script/symbols.js.map +1 -1
  1622. package/lib/mol-state/state/builder.js +1 -1
  1623. package/lib/mol-state/state/builder.js.map +1 -1
  1624. package/lib/mol-state/state.js +7 -7
  1625. package/lib/mol-state/state.js.map +1 -1
  1626. package/lib/mol-state/transformer.js +3 -3
  1627. package/lib/mol-state/transformer.js.map +1 -1
  1628. package/lib/mol-state/tree/transient.js +3 -3
  1629. package/lib/mol-state/tree/transient.js.map +1 -1
  1630. package/lib/mol-task/execution/progress.js +4 -4
  1631. package/lib/mol-task/execution/progress.js.map +1 -1
  1632. package/lib/mol-task/task.js +1 -1
  1633. package/lib/mol-task/task.js.map +1 -1
  1634. package/lib/mol-task/util/multistep.js +1 -1
  1635. package/lib/mol-task/util/multistep.js.map +1 -1
  1636. package/lib/mol-task/util/user-timing.js +3 -3
  1637. package/lib/mol-task/util/user-timing.js.map +1 -1
  1638. package/lib/mol-theme/color/atom-id.d.ts +12 -12
  1639. package/lib/mol-theme/color/chain-id.d.ts +12 -12
  1640. package/lib/mol-theme/color/chain-id.js +1 -1
  1641. package/lib/mol-theme/color/chain-id.js.map +1 -1
  1642. package/lib/mol-theme/color/element-index.d.ts +12 -12
  1643. package/lib/mol-theme/color/element-symbol.d.ts +16 -16
  1644. package/lib/mol-theme/color/entity-id.d.ts +12 -12
  1645. package/lib/mol-theme/color/entity-id.js +1 -1
  1646. package/lib/mol-theme/color/entity-id.js.map +1 -1
  1647. package/lib/mol-theme/color/entity-source.d.ts +12 -12
  1648. package/lib/mol-theme/color/entity-source.js +4 -4
  1649. package/lib/mol-theme/color/entity-source.js.map +1 -1
  1650. package/lib/mol-theme/color/illustrative.d.ts +12 -12
  1651. package/lib/mol-theme/color/model-index.d.ts +12 -12
  1652. package/lib/mol-theme/color/operator-hkl.d.ts +12 -12
  1653. package/lib/mol-theme/color/operator-hkl.js +2 -2
  1654. package/lib/mol-theme/color/operator-hkl.js.map +1 -1
  1655. package/lib/mol-theme/color/operator-name.d.ts +12 -12
  1656. package/lib/mol-theme/color/polymer-id.d.ts +12 -12
  1657. package/lib/mol-theme/color/polymer-index.d.ts +12 -12
  1658. package/lib/mol-theme/color/unit-index.d.ts +12 -12
  1659. package/lib/mol-theme/color.d.ts +80 -80
  1660. package/lib/mol-theme/label.d.ts +1 -0
  1661. package/lib/mol-theme/label.js +36 -27
  1662. package/lib/mol-theme/label.js.map +1 -1
  1663. package/lib/mol-theme/theme.js +3 -3
  1664. package/lib/mol-theme/theme.js.map +1 -1
  1665. package/lib/mol-util/assets.js +3 -3
  1666. package/lib/mol-util/assets.js.map +1 -1
  1667. package/lib/mol-util/color/color.js +2 -2
  1668. package/lib/mol-util/color/color.js.map +1 -1
  1669. package/lib/mol-util/color/lists.js +1 -1
  1670. package/lib/mol-util/color/lists.js.map +1 -1
  1671. package/lib/mol-util/color/palette.d.ts +12 -12
  1672. package/lib/mol-util/color/palette.js +2 -2
  1673. package/lib/mol-util/color/palette.js.map +1 -1
  1674. package/lib/mol-util/color/scale.d.ts +1 -1
  1675. package/lib/mol-util/console-logger.js +9 -9
  1676. package/lib/mol-util/console-logger.js.map +1 -1
  1677. package/lib/mol-util/data-source.js +5 -5
  1678. package/lib/mol-util/data-source.js.map +1 -1
  1679. package/lib/mol-util/download.js +1 -1
  1680. package/lib/mol-util/download.js.map +1 -1
  1681. package/lib/mol-util/graphql-client.js +2 -2
  1682. package/lib/mol-util/graphql-client.js.map +1 -1
  1683. package/lib/mol-util/index.js +2 -2
  1684. package/lib/mol-util/index.js.map +1 -1
  1685. package/lib/mol-util/monadic-parser.js +4 -4
  1686. package/lib/mol-util/monadic-parser.js.map +1 -1
  1687. package/lib/mol-util/now.js +4 -4
  1688. package/lib/mol-util/now.js.map +1 -1
  1689. package/lib/mol-util/object.js +1 -1
  1690. package/lib/mol-util/object.js.map +1 -1
  1691. package/lib/mol-util/performance-monitor.js +4 -4
  1692. package/lib/mol-util/performance-monitor.js.map +1 -1
  1693. package/lib/mol-util/string.js +3 -3
  1694. package/lib/mol-util/string.js.map +1 -1
  1695. package/lib/mol-util/url.js +2 -2
  1696. package/lib/mol-util/url.js.map +1 -1
  1697. package/lib/mol-util/zip/deflate.js +1 -1
  1698. package/lib/mol-util/zip/deflate.js.map +1 -1
  1699. package/lib/mol-util/zip/inflate.js +1 -1
  1700. package/lib/mol-util/zip/inflate.js.map +1 -1
  1701. package/lib/mol-util/zip/zip.js +1 -1
  1702. package/lib/mol-util/zip/zip.js.map +1 -1
  1703. package/lib/perf-tests/mol-script.js +1 -1
  1704. package/lib/perf-tests/mol-script.js.map +1 -1
  1705. package/lib/perf-tests/sets.js +1 -1
  1706. package/lib/perf-tests/sets.js.map +1 -1
  1707. package/lib/perf-tests/sort.js +1 -1
  1708. package/lib/perf-tests/sort.js.map +1 -1
  1709. package/lib/perf-tests/string-builder.js +2 -2
  1710. package/lib/perf-tests/string-builder.js.map +1 -1
  1711. package/lib/perf-tests/structure.js +7 -7
  1712. package/lib/perf-tests/structure.js.map +1 -1
  1713. package/lib/perf-tests/test-xtc.js +1 -1
  1714. package/lib/perf-tests/test-xtc.js.map +1 -1
  1715. package/lib/servers/common/file-handle.js +1 -1
  1716. package/lib/servers/common/file-handle.js.map +1 -1
  1717. package/lib/servers/common/util.js +1 -1
  1718. package/lib/servers/common/util.js.map +1 -1
  1719. package/lib/servers/model/config.d.ts +2 -2
  1720. package/lib/servers/model/config.js +4 -5
  1721. package/lib/servers/model/config.js.map +1 -1
  1722. package/lib/servers/model/preprocess/master.js +1 -1
  1723. package/lib/servers/model/preprocess/master.js.map +1 -1
  1724. package/lib/servers/model/preprocess/parallel.js +2 -2
  1725. package/lib/servers/model/preprocess/parallel.js.map +1 -1
  1726. package/lib/servers/model/preprocess/util.js +3 -3
  1727. package/lib/servers/model/preprocess/util.js.map +1 -1
  1728. package/lib/servers/model/properties/providers/pdbe.js +5 -5
  1729. package/lib/servers/model/properties/providers/pdbe.js.map +1 -1
  1730. package/lib/servers/model/property-provider.js +2 -2
  1731. package/lib/servers/model/property-provider.js.map +1 -1
  1732. package/lib/servers/model/query.js +1 -1
  1733. package/lib/servers/model/query.js.map +1 -1
  1734. package/lib/servers/model/server/api-local.js +2 -2
  1735. package/lib/servers/model/server/api-local.js.map +1 -1
  1736. package/lib/servers/model/server/api-schema.js +2 -2
  1737. package/lib/servers/model/server/api-schema.js.map +1 -1
  1738. package/lib/servers/model/server/api-web-multiple.js +1 -1
  1739. package/lib/servers/model/server/api-web-multiple.js.map +1 -1
  1740. package/lib/servers/model/server/api-web.js +4 -4
  1741. package/lib/servers/model/server/api-web.js.map +1 -1
  1742. package/lib/servers/model/server/api.js +1 -1
  1743. package/lib/servers/model/server/api.js.map +1 -1
  1744. package/lib/servers/model/server/cache.js +3 -3
  1745. package/lib/servers/model/server/cache.js.map +1 -1
  1746. package/lib/servers/model/server/jobs.js +3 -3
  1747. package/lib/servers/model/server/jobs.js.map +1 -1
  1748. package/lib/servers/model/server/query.js +10 -10
  1749. package/lib/servers/model/server/query.js.map +1 -1
  1750. package/lib/servers/model/server/structure-wrapper.js +6 -6
  1751. package/lib/servers/model/server/structure-wrapper.js.map +1 -1
  1752. package/lib/servers/model/server.js +3 -3
  1753. package/lib/servers/model/server.js.map +1 -1
  1754. package/lib/servers/model/utils/fetch-props-pdbe.js +4 -4
  1755. package/lib/servers/model/utils/fetch-props-pdbe.js.map +1 -1
  1756. package/lib/servers/model/utils/writer.js +2 -2
  1757. package/lib/servers/model/utils/writer.js.map +1 -1
  1758. package/lib/servers/plugin-state/api-schema.js +2 -2
  1759. package/lib/servers/plugin-state/api-schema.js.map +1 -1
  1760. package/lib/servers/plugin-state/index.js +1 -1
  1761. package/lib/servers/plugin-state/index.js.map +1 -1
  1762. package/lib/servers/volume/config.js +0 -1
  1763. package/lib/servers/volume/config.js.map +1 -1
  1764. package/lib/servers/volume/pack/format/dsn6.js +1 -1
  1765. package/lib/servers/volume/pack/format/dsn6.js.map +1 -1
  1766. package/lib/servers/volume/pack/main.js +4 -4
  1767. package/lib/servers/volume/pack/main.js.map +1 -1
  1768. package/lib/servers/volume/pack/writer.js +1 -1
  1769. package/lib/servers/volume/pack/writer.js.map +1 -1
  1770. package/lib/servers/volume/pack.js +1 -1
  1771. package/lib/servers/volume/pack.js.map +1 -1
  1772. package/lib/servers/volume/server/api.js +7 -7
  1773. package/lib/servers/volume/server/api.js.map +1 -1
  1774. package/lib/servers/volume/server/local-api.js +1 -1
  1775. package/lib/servers/volume/server/local-api.js.map +1 -1
  1776. package/lib/servers/volume/server/query/encode.js +3 -3
  1777. package/lib/servers/volume/server/query/encode.js.map +1 -1
  1778. package/lib/servers/volume/server/query/execute.js +5 -5
  1779. package/lib/servers/volume/server/query/execute.js.map +1 -1
  1780. package/lib/servers/volume/server/version.js +1 -1
  1781. package/lib/servers/volume/server/version.js.map +1 -1
  1782. package/lib/servers/volume/server/web-api.js +7 -7
  1783. package/lib/servers/volume/server/web-api.js.map +1 -1
  1784. package/lib/servers/volume/server/web-schema.js +6 -6
  1785. package/lib/servers/volume/server/web-schema.js.map +1 -1
  1786. package/lib/servers/volume/server.js +2 -2
  1787. package/lib/servers/volume/server.js.map +1 -1
  1788. package/lib/tests/browser/font-atlas.js +1 -1
  1789. package/lib/tests/browser/font-atlas.js.map +1 -1
  1790. package/lib/tests/browser/index.html +36 -36
  1791. package/lib/tests/browser/render-shape.js +1 -1
  1792. package/lib/tests/browser/render-shape.js.map +1 -1
  1793. package/lib/tests/browser/render-structure.js +1 -1
  1794. package/lib/tests/browser/render-structure.js.map +1 -1
  1795. package/lib/tsconfig.commonjs.tsbuildinfo +1 -1
  1796. package/package.json +158 -155
  1797. package/CHANGELOG.md +0 -165
  1798. package/lib/commonjs/mol-gl/shader/chunks/wboit-params.glsl.d.ts +0 -1
  1799. package/lib/commonjs/mol-gl/shader/chunks/wboit-params.glsl.js +0 -5
  1800. package/lib/commonjs/mol-gl/shader/chunks/wboit-params.glsl.js.map +0 -1
  1801. package/lib/commonjs/mol-model/structure/model/properties/utils/guess-element.d.ts +0 -6
  1802. package/lib/commonjs/mol-model/structure/model/properties/utils/guess-element.js +0 -40
  1803. package/lib/commonjs/mol-model/structure/model/properties/utils/guess-element.js.map +0 -1
  1804. package/lib/commonjs/mol-repr/structure/visual/aromatic-ring-mesh.js +0 -3
  1805. package/lib/commonjs/mol-repr/structure/visual/aromatic-ring-mesh.js.map +0 -1
  1806. package/lib/commonjs/mol-repr/structure/visual/util/polymer/backbone-iterator.d.ts +0 -37
  1807. package/lib/commonjs/mol-repr/structure/visual/util/polymer/backbone-iterator.js +0 -116
  1808. package/lib/commonjs/mol-repr/structure/visual/util/polymer/backbone-iterator.js.map +0 -1
  1809. package/lib/commonjs/mol-script/util/residue-list.d.ts +0 -7
  1810. package/lib/commonjs/mol-script/util/residue-list.js +0 -63
  1811. package/lib/commonjs/mol-script/util/residue-list.js.map +0 -1
  1812. package/lib/mol-gl/shader/chunks/wboit-params.glsl.d.ts +0 -1
  1813. package/lib/mol-gl/shader/chunks/wboit-params.glsl.js +0 -2
  1814. package/lib/mol-gl/shader/chunks/wboit-params.glsl.js.map +0 -1
  1815. package/lib/mol-model/structure/model/properties/utils/guess-element.d.ts +0 -6
  1816. package/lib/mol-model/structure/model/properties/utils/guess-element.js +0 -36
  1817. package/lib/mol-model/structure/model/properties/utils/guess-element.js.map +0 -1
  1818. package/lib/mol-model-formats/structure/mol copy.d.ts +0 -17
  1819. package/lib/mol-model-formats/structure/mol copy.js +0 -86
  1820. package/lib/mol-model-formats/structure/mol copy.js.map +0 -1
  1821. package/lib/mol-repr/structure/visual/aromatic-ring-mesh.d.ts +0 -0
  1822. package/lib/mol-repr/structure/visual/aromatic-ring-mesh.js +0 -3
  1823. package/lib/mol-repr/structure/visual/aromatic-ring-mesh.js.map +0 -1
  1824. package/lib/mol-repr/structure/visual/util/polymer/backbone-iterator.d.ts +0 -37
  1825. package/lib/mol-repr/structure/visual/util/polymer/backbone-iterator.js +0 -112
  1826. package/lib/mol-repr/structure/visual/util/polymer/backbone-iterator.js.map +0 -1
  1827. package/lib/mol-script/util/residue-list.d.ts +0 -7
  1828. package/lib/mol-script/util/residue-list.js +0 -59
  1829. package/lib/mol-script/util/residue-list.js.map +0 -1
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- The MIT License
2
-
3
- Copyright (c) 2017 - now, Mol* contributors
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1
+ The MIT License
2
+
3
+ Copyright (c) 2017 - now, Mol* contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
21
  THE SOFTWARE.
package/README.md CHANGED
@@ -1,176 +1,176 @@
1
- [![License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](./LICENSE)
2
- [![npm version](https://badge.fury.io/js/molstar.svg)](https://www.npmjs.com/package/molstar)
3
- [![Build Status](https://travis-ci.org/molstar/molstar.svg?branch=master)](https://travis-ci.org/molstar/molstar)
4
- [![Gitter](https://badges.gitter.im/molstar/Lobby.svg)](https://gitter.im/molstar/Lobby)
5
-
6
- # Mol*
7
-
8
- The goal of **Mol\*** (*/'mol-star/*) is to provide a technology stack that serves as a basis for the next-generation data delivery and analysis tools for (not only) macromolecular structure data. Mol* development was jointly initiated by PDBe and RCSB PDB to combine and build on the strengths of [LiteMol](https://litemol.org) (developed by PDBe) and [NGL](https://nglviewer.org) (developed by RCSB PDB) viewers.
9
-
10
- When using Mol*, please cite:
11
-
12
- David Sehnal, Sebastian Bittrich, Mandar Deshpande, Radka Svobodová, Karel Berka, Václav Bazgier, Sameer Velankar, Stephen K Burley, Jaroslav Koča, Alexander S Rose: [Mol* Viewer: modern web app for 3D visualization and analysis of large biomolecular structures](https://doi.org/10.1093/nar/gkab314), *Nucleic Acids Research*, 2021; https://doi.org/10.1093/nar/gkab314.
13
-
14
- ## Project Structure Overview
15
-
16
- The core of Mol* consists of these modules (see under `src/`):
17
-
18
- - `mol-task` Computation abstraction with progress tracking and cancellation support.
19
- - `mol-data` Collections (integer-based sets, interface to columns/tables, etc.)
20
- - `mol-math` Math related (loosely) algorithms and data structures.
21
- - `mol-io` Parsing library. Each format is parsed into an interface that corresponds to the data stored by it. Support for common coordinate, experimental/map, and annotation data formats.
22
- - `mol-model` Data structures and algorithms (such as querying) for representing molecular data (including coordinate, experimental/map, and annotation data).
23
- - `mol-model-formats` Data format parsers for `mol-model`.
24
- - `mol-model-props` Common "custom properties".
25
- - `mol-script` A scripting language for creating representations/scenes and querying (includes the [MolQL query language](https://molql.github.io)).
26
- - `mol-geo` Creating (molecular) geometries.
27
- - `mol-theme` Theming for structure, volume and shape representations.
28
- - `mol-repr` Molecular representations for structures, volumes and shapes.
29
- - `mol-gl` A wrapper around WebGL.
30
- - `mol-canvas3d` A low-level 3d view component. Uses `mol-geo` to generate geometries.
31
- - `mol-state` State representation tree with state saving and automatic updates.
32
- - `mol-plugin` Allow to define modular Mol* plugin instances utilizing `mol-state` and `mol-canvas3d`.
33
- - `mol-plugin-state` State transformations, builders, and managers.
34
- - `mol-plugin-ui` React-based user interface for the Mol* plugin. Some components of the UI are usable outside the main plugin and can be integrated into 3rd party solutions.
35
- - `mol-util` Useful things that do not fit elsewhere.
36
-
37
- Moreover, the project contains the implementation of `servers`, including
38
-
39
- - `servers/model` A tool for accessing coordinate and annotation data of molecular structures.
40
- - `servers/volume` A tool for accessing volumetric experimental data related to molecular structures.
41
- - `servers/plugin-state` A basic server to store Mol* Plugin states.
42
-
43
- The project also contains performance tests (`perf-tests`), `examples`, and `cli` apps (CIF to BinaryCIF converter and JSON domain annotation to CIF converter).
44
-
45
- ## Previous Work
46
- This project builds on experience from previous solutions:
47
- - [LiteMol Suite](https://www.litemol.org)
48
- - [WebChemistry](https://webchem.ncbr.muni.cz)
49
- - [NGL Viewer](http://nglviewer.org)
50
- - [MMTF](http://mmtf.rcsb.org)
51
- - [MolQL](http://molql.org)
52
- - [PDB Component Library](https://www.ebi.ac.uk/pdbe/pdb-component-library/)
53
- - And many others (list will be continuously expanded).
54
-
55
- ## Building & Running
56
-
57
- ### Build:
58
- npm install
59
- npm run build
60
-
61
- ### Build automatically on file save:
62
- npm run watch
63
-
64
- If working on just the viewer, ``npm run watch-viewer`` will provide shorter compile times.
65
-
66
- ### Build with debug mode enabled:
67
- DEBUG=molstar npm run watch
68
-
69
- Debug/production mode in browsers can be turned on/off during runtime by calling ``setMolStarDebugMode(true/false, true/false)`` from the dev console.
70
-
71
- ### Build for production:
72
- NODE_ENV=production npm run build
73
-
74
- **Run**
75
-
76
- If not installed previously:
77
-
78
- npm install -g http-server
79
-
80
- ...or a similar solution.
81
-
82
- From the root of the project:
83
-
84
- http-server -p PORT-NUMBER
85
-
86
- and navigate to `build/viewer`
87
-
88
-
89
- ### Code generation
90
- **CIF schemas**
91
-
92
- node ./lib/commonjs/cli/cifschema -mip ../../../../mol-data -o src/mol-io/reader/cif/schema/mmcif.ts -p mmCIF
93
- node ./lib/commonjs/cli/cifschema -mip ../../../../mol-data -o src/mol-io/reader/cif/schema/ccd.ts -p CCD
94
- node ./lib/commonjs/cli/cifschema -mip ../../../../mol-data -o src/mol-io/reader/cif/schema/bird.ts -p BIRD
95
- node ./lib/commonjs/cli/cifschema -mip ../../../../mol-data -o src/mol-io/reader/cif/schema/cif-core.ts -p CifCore -aa
96
-
97
- **Lipid names**
98
-
99
- node lib/commonjs/cli/lipid-params -o src/mol-model/structure/model/types/lipids.ts
100
-
101
- **Ion names**
102
-
103
- node --max-old-space-size=4096 lib/commonjs/cli/chem-comp-dict/create-ions.js src/mol-model/structure/model/types/ions.ts
104
-
105
-
106
- **GraphQL schemas**
107
-
108
- node node_modules//@graphql-codegen/cli/bin -c src/extensions/rcsb/graphql/codegen.yml
109
-
110
- ### Other scripts
111
- **Create chem comp bond table**
112
-
113
- node --max-old-space-size=4096 lib/commonjs/cli/chem-comp-dict/create-table.js build/data/ccb.bcif -b
114
-
115
- **Test model server**
116
-
117
- export NODE_PATH="lib"; node build/src/servers/model/test.js
118
-
119
- **State Transformer Docs**
120
-
121
- export NODE_PATH="lib"; node build/state-docs
122
-
123
- **Convert any CIF to BinaryCIF**
124
-
125
- node lib/servers/model/preprocess -i file.cif -ob file.bcif
126
-
127
- To see all available commands, use ``node lib/servers/model/preprocess -h``.
128
-
129
- Or
130
-
131
- node lib/commonjs/cli/cif2bcif
132
-
133
- ## Development
134
-
135
- ### Installation
136
-
137
- If node complains about a missing acorn peer dependency, run the following commands
138
-
139
- npm update acorn --depth 20
140
- npm dedupe
141
-
142
- ### Editor
143
-
144
- To get syntax highlighting for shader and graphql files add the following to Visual Code's settings files and make sure relevant extensions are installed in the editor.
145
-
146
- "files.associations": {
147
- "*.glsl.ts": "glsl",
148
- "*.frag.ts": "glsl",
149
- "*.vert.ts": "glsl",
150
- "*.gql.ts": "graphql"
151
- },
152
-
153
- ## Publish
154
-
155
- ### Prerelease
156
- npm version prerelease # assumes the current version ends with '-dev.X'
157
- npm publish --tag next
158
-
159
- ### Release
160
- npm version 0.X.0 # provide valid semver string
161
- npm publish
162
-
163
- ## Deploy
164
- npm run test
165
- npm run build
166
- node ./scripts/deploy.js # currently updates the viewer on molstar.org/viewer
167
-
168
- ## Contributing
169
- Just open an issue or make a pull request. All contributions are welcome.
170
-
171
- ## Funding
172
- Funding sources include but are not limited to:
173
- * [RCSB PDB](https://www.rcsb.org) funding by a grant [DBI-1338415; PI: SK Burley] from the NSF, the NIH, and the US DoE
174
- * [PDBe, EMBL-EBI](https://pdbe.org)
175
- * [CEITEC](https://www.ceitec.eu/)
176
- * [EntosAI](https://www.entos.ai)
1
+ [![License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](./LICENSE)
2
+ [![npm version](https://badge.fury.io/js/molstar.svg)](https://www.npmjs.com/package/molstar)
3
+ [![Build Status](https://travis-ci.org/molstar/molstar.svg?branch=master)](https://travis-ci.org/molstar/molstar)
4
+ [![Gitter](https://badges.gitter.im/molstar/Lobby.svg)](https://gitter.im/molstar/Lobby)
5
+
6
+ # Mol*
7
+
8
+ The goal of **Mol\*** (*/'mol-star/*) is to provide a technology stack that serves as a basis for the next-generation data delivery and analysis tools for (not only) macromolecular structure data. Mol* development was jointly initiated by PDBe and RCSB PDB to combine and build on the strengths of [LiteMol](https://litemol.org) (developed by PDBe) and [NGL](https://nglviewer.org) (developed by RCSB PDB) viewers.
9
+
10
+ When using Mol*, please cite:
11
+
12
+ David Sehnal, Sebastian Bittrich, Mandar Deshpande, Radka Svobodová, Karel Berka, Václav Bazgier, Sameer Velankar, Stephen K Burley, Jaroslav Koča, Alexander S Rose: [Mol* Viewer: modern web app for 3D visualization and analysis of large biomolecular structures](https://doi.org/10.1093/nar/gkab314), *Nucleic Acids Research*, 2021; https://doi.org/10.1093/nar/gkab314.
13
+
14
+ ## Project Structure Overview
15
+
16
+ The core of Mol* consists of these modules (see under `src/`):
17
+
18
+ - `mol-task` Computation abstraction with progress tracking and cancellation support.
19
+ - `mol-data` Collections (integer-based sets, interface to columns/tables, etc.)
20
+ - `mol-math` Math related (loosely) algorithms and data structures.
21
+ - `mol-io` Parsing library. Each format is parsed into an interface that corresponds to the data stored by it. Support for common coordinate, experimental/map, and annotation data formats.
22
+ - `mol-model` Data structures and algorithms (such as querying) for representing molecular data (including coordinate, experimental/map, and annotation data).
23
+ - `mol-model-formats` Data format parsers for `mol-model`.
24
+ - `mol-model-props` Common "custom properties".
25
+ - `mol-script` A scripting language for creating representations/scenes and querying (includes the [MolQL query language](https://molql.github.io)).
26
+ - `mol-geo` Creating (molecular) geometries.
27
+ - `mol-theme` Theming for structure, volume and shape representations.
28
+ - `mol-repr` Molecular representations for structures, volumes and shapes.
29
+ - `mol-gl` A wrapper around WebGL.
30
+ - `mol-canvas3d` A low-level 3d view component. Uses `mol-geo` to generate geometries.
31
+ - `mol-state` State representation tree with state saving and automatic updates.
32
+ - `mol-plugin` Allow to define modular Mol* plugin instances utilizing `mol-state` and `mol-canvas3d`.
33
+ - `mol-plugin-state` State transformations, builders, and managers.
34
+ - `mol-plugin-ui` React-based user interface for the Mol* plugin. Some components of the UI are usable outside the main plugin and can be integrated into 3rd party solutions.
35
+ - `mol-util` Useful things that do not fit elsewhere.
36
+
37
+ Moreover, the project contains the implementation of `servers`, including
38
+
39
+ - `servers/model` A tool for accessing coordinate and annotation data of molecular structures.
40
+ - `servers/volume` A tool for accessing volumetric experimental data related to molecular structures.
41
+ - `servers/plugin-state` A basic server to store Mol* Plugin states.
42
+
43
+ The project also contains performance tests (`perf-tests`), `examples`, and `cli` apps (CIF to BinaryCIF converter and JSON domain annotation to CIF converter).
44
+
45
+ ## Previous Work
46
+ This project builds on experience from previous solutions:
47
+ - [LiteMol Suite](https://www.litemol.org)
48
+ - [WebChemistry](https://webchem.ncbr.muni.cz)
49
+ - [NGL Viewer](http://nglviewer.org)
50
+ - [MMTF](http://mmtf.rcsb.org)
51
+ - [MolQL](http://molql.org)
52
+ - [PDB Component Library](https://www.ebi.ac.uk/pdbe/pdb-component-library/)
53
+ - And many others (list will be continuously expanded).
54
+
55
+ ## Building & Running
56
+
57
+ ### Build:
58
+ npm install
59
+ npm run build
60
+
61
+ ### Build automatically on file save:
62
+ npm run watch
63
+
64
+ If working on just the viewer, ``npm run watch-viewer`` will provide shorter compile times.
65
+
66
+ ### Build with debug mode enabled:
67
+ DEBUG=molstar npm run watch
68
+
69
+ Debug/production mode in browsers can be turned on/off during runtime by calling ``setMolStarDebugMode(true/false, true/false)`` from the dev console.
70
+
71
+ ### Build for production:
72
+ NODE_ENV=production npm run build
73
+
74
+ **Run**
75
+
76
+ If not installed previously:
77
+
78
+ npm install -g http-server
79
+
80
+ ...or a similar solution.
81
+
82
+ From the root of the project:
83
+
84
+ http-server -p PORT-NUMBER
85
+
86
+ and navigate to `build/viewer`
87
+
88
+
89
+ ### Code generation
90
+ **CIF schemas**
91
+
92
+ node ./lib/commonjs/cli/cifschema -mip ../../../../mol-data -o src/mol-io/reader/cif/schema/mmcif.ts -p mmCIF
93
+ node ./lib/commonjs/cli/cifschema -mip ../../../../mol-data -o src/mol-io/reader/cif/schema/ccd.ts -p CCD
94
+ node ./lib/commonjs/cli/cifschema -mip ../../../../mol-data -o src/mol-io/reader/cif/schema/bird.ts -p BIRD
95
+ node ./lib/commonjs/cli/cifschema -mip ../../../../mol-data -o src/mol-io/reader/cif/schema/cif-core.ts -p CifCore -aa
96
+
97
+ **Lipid names**
98
+
99
+ node lib/commonjs/cli/lipid-params -o src/mol-model/structure/model/types/lipids.ts
100
+
101
+ **Ion names**
102
+
103
+ node --max-old-space-size=4096 lib/commonjs/cli/chem-comp-dict/create-ions.js src/mol-model/structure/model/types/ions.ts
104
+
105
+
106
+ **GraphQL schemas**
107
+
108
+ node node_modules//@graphql-codegen/cli/bin -c src/extensions/rcsb/graphql/codegen.yml
109
+
110
+ ### Other scripts
111
+ **Create chem comp bond table**
112
+
113
+ node --max-old-space-size=4096 lib/commonjs/cli/chem-comp-dict/create-table.js build/data/ccb.bcif -b
114
+
115
+ **Test model server**
116
+
117
+ export NODE_PATH="lib"; node build/src/servers/model/test.js
118
+
119
+ **State Transformer Docs**
120
+
121
+ export NODE_PATH="lib"; node build/state-docs
122
+
123
+ **Convert any CIF to BinaryCIF**
124
+
125
+ node lib/commonjs/servers/model/preprocess -i file.cif -ob file.bcif
126
+
127
+ To see all available commands, use ``node lib/commonjs/servers/model/preprocess -h``.
128
+
129
+ Or
130
+
131
+ node lib/commonjs/cli/cif2bcif
132
+
133
+ ## Development
134
+
135
+ ### Installation
136
+
137
+ If node complains about a missing acorn peer dependency, run the following commands
138
+
139
+ npm update acorn --depth 20
140
+ npm dedupe
141
+
142
+ ### Editor
143
+
144
+ To get syntax highlighting for shader and graphql files add the following to Visual Code's settings files and make sure relevant extensions are installed in the editor.
145
+
146
+ "files.associations": {
147
+ "*.glsl.ts": "glsl",
148
+ "*.frag.ts": "glsl",
149
+ "*.vert.ts": "glsl",
150
+ "*.gql.ts": "graphql"
151
+ },
152
+
153
+ ## Publish
154
+
155
+ ### Prerelease
156
+ npm version prerelease # assumes the current version ends with '-dev.X'
157
+ npm publish --tag next
158
+
159
+ ### Release
160
+ npm version 0.X.0 # provide valid semver string
161
+ npm publish
162
+
163
+ ## Deploy
164
+ npm run test
165
+ npm run build
166
+ node ./scripts/deploy.js # currently updates the viewer on molstar.org/viewer
167
+
168
+ ## Contributing
169
+ Just open an issue or make a pull request. All contributions are welcome.
170
+
171
+ ## Funding
172
+ Funding sources include but are not limited to:
173
+ * [RCSB PDB](https://www.rcsb.org) funding by a grant [DBI-1338415; PI: SK Burley] from the NSF, the NIH, and the US DoE
174
+ * [PDBe, EMBL-EBI](https://pdbe.org)
175
+ * [CEITEC](https://www.ceitec.eu/)
176
+ * [EntosAI](https://www.entos.ai)
@@ -1,44 +1,44 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
6
- <link rel="icon" href="./favicon.ico" type="image/x-icon">
7
- <title>Embedded Mol* Viewer</title>
8
- <style>
9
- #app {
10
- position: absolute;
11
- left: 100px;
12
- top: 100px;
13
- width: 800px;
14
- height: 600px;
15
- }
16
- </style>
17
- <link rel="stylesheet" type="text/css" href="molstar.css" />
18
- </head>
19
- <body>
20
- <div id="app"></div>
21
- <script type="text/javascript" src="./molstar.js"></script>
22
- <script type="text/javascript">
23
- var viewer = new molstar.Viewer('app', {
24
- layoutIsExpanded: true,
25
- layoutShowControls: false,
26
- layoutShowRemoteState: false,
27
- layoutShowSequence: true,
28
- layoutShowLog: false,
29
- layoutShowLeftPanel: true,
30
-
31
- viewportShowExpand: true,
32
- viewportShowSelectionMode: false,
33
- viewportShowAnimation: false,
34
-
35
- pdbProvider: 'rcsb',
36
- emdbProvider: 'rcsb',
37
- });
38
- viewer.loadPdb('7bv2');
39
- viewer.loadEmdb('EMD-30210', { detail: 6 });
40
-
41
- // viewer.loadAllModelsOrAssemblyFromUrl('https://cs.litemol.org/5ire/full', 'mmcif', false, { representationParams: { theme: { globalName: 'operator-name' } } })
42
- </script>
43
- </body>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
6
+ <link rel="icon" href="./favicon.ico" type="image/x-icon">
7
+ <title>Embedded Mol* Viewer</title>
8
+ <style>
9
+ #app {
10
+ position: absolute;
11
+ left: 100px;
12
+ top: 100px;
13
+ width: 800px;
14
+ height: 600px;
15
+ }
16
+ </style>
17
+ <link rel="stylesheet" type="text/css" href="molstar.css" />
18
+ </head>
19
+ <body>
20
+ <div id="app"></div>
21
+ <script type="text/javascript" src="./molstar.js"></script>
22
+ <script type="text/javascript">
23
+ var viewer = new molstar.Viewer('app', {
24
+ layoutIsExpanded: true,
25
+ layoutShowControls: false,
26
+ layoutShowRemoteState: false,
27
+ layoutShowSequence: true,
28
+ layoutShowLog: false,
29
+ layoutShowLeftPanel: true,
30
+
31
+ viewportShowExpand: true,
32
+ viewportShowSelectionMode: false,
33
+ viewportShowAnimation: false,
34
+
35
+ pdbProvider: 'rcsb',
36
+ emdbProvider: 'rcsb',
37
+ });
38
+ viewer.loadPdb('7bv2');
39
+ viewer.loadEmdb('EMD-30210', { detail: 6 });
40
+
41
+ // viewer.loadAllModelsOrAssemblyFromUrl('https://cs.litemol.org/5ire/full', 'mmcif', false, { representationParams: { theme: { globalName: 'operator-name' } } })
42
+ </script>
43
+ </body>
44
44
  </html>