molstar 4.3.0 → 4.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1384) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +197 -197
  3. package/build/viewer/embedded.html +52 -52
  4. package/build/viewer/index.html +129 -129
  5. package/build/viewer/molstar.css +1 -1
  6. package/build/viewer/molstar.js +1 -1
  7. package/build/viewer/molstar.js.LICENSE.txt +0 -9
  8. package/lib/apps/docking-viewer/index.html +36 -36
  9. package/lib/apps/docking-viewer/viewport.d.ts +1 -1
  10. package/lib/apps/docking-viewer/viewport.js +2 -1
  11. package/lib/apps/mesoscale-explorer/app.d.ts +3 -1
  12. package/lib/apps/mesoscale-explorer/app.js +12 -1
  13. package/lib/apps/mesoscale-explorer/behavior/camera.d.ts +12 -0
  14. package/lib/apps/mesoscale-explorer/behavior/camera.js +32 -6
  15. package/lib/apps/mesoscale-explorer/behavior/select.d.ts +1 -0
  16. package/lib/apps/mesoscale-explorer/behavior/select.js +58 -9
  17. package/lib/apps/mesoscale-explorer/data/cellpack/model.js +4 -6
  18. package/lib/apps/mesoscale-explorer/data/cellpack/preset.js +8 -5
  19. package/lib/apps/mesoscale-explorer/data/generic/model.d.ts +1 -0
  20. package/lib/apps/mesoscale-explorer/data/generic/model.js +2 -1
  21. package/lib/apps/mesoscale-explorer/data/generic/preset.js +7 -6
  22. package/lib/apps/mesoscale-explorer/data/mmcif/model.js +3 -1
  23. package/lib/apps/mesoscale-explorer/data/mmcif/preset.js +6 -3
  24. package/lib/apps/mesoscale-explorer/data/petworld/model.js +3 -1
  25. package/lib/apps/mesoscale-explorer/data/petworld/preset.js +6 -3
  26. package/lib/apps/mesoscale-explorer/data/state.d.ts +48 -10
  27. package/lib/apps/mesoscale-explorer/data/state.js +83 -8
  28. package/lib/apps/mesoscale-explorer/index.html +106 -101
  29. package/lib/apps/mesoscale-explorer/style.scss +66 -33
  30. package/lib/apps/mesoscale-explorer/ui/entities.d.ts +23 -1
  31. package/lib/apps/mesoscale-explorer/ui/entities.js +301 -32
  32. package/lib/apps/mesoscale-explorer/ui/panels.d.ts +1 -0
  33. package/lib/apps/mesoscale-explorer/ui/panels.js +42 -5
  34. package/lib/apps/mesoscale-explorer/ui/states.d.ts +60 -2
  35. package/lib/apps/mesoscale-explorer/ui/states.js +471 -11
  36. package/lib/apps/viewer/app.d.ts +10 -4
  37. package/lib/apps/viewer/app.js +28 -0
  38. package/lib/apps/viewer/embedded.html +52 -52
  39. package/lib/apps/viewer/index.html +129 -129
  40. package/lib/cli/chem-comp-dict/create-ions.js +9 -9
  41. package/lib/cli/chem-comp-dict/create-saccharides.js +9 -9
  42. package/lib/cli/cifschema/util/generate.js +12 -12
  43. package/lib/cli/lipid-params/index.js +9 -9
  44. package/lib/commonjs/apps/docking-viewer/viewport.d.ts +1 -1
  45. package/lib/commonjs/apps/docking-viewer/viewport.js +2 -1
  46. package/lib/commonjs/apps/mesoscale-explorer/app.d.ts +3 -1
  47. package/lib/commonjs/apps/mesoscale-explorer/app.js +12 -1
  48. package/lib/commonjs/apps/mesoscale-explorer/behavior/camera.d.ts +12 -0
  49. package/lib/commonjs/apps/mesoscale-explorer/behavior/camera.js +34 -8
  50. package/lib/commonjs/apps/mesoscale-explorer/behavior/select.d.ts +1 -0
  51. package/lib/commonjs/apps/mesoscale-explorer/behavior/select.js +58 -9
  52. package/lib/commonjs/apps/mesoscale-explorer/data/cellpack/model.js +4 -6
  53. package/lib/commonjs/apps/mesoscale-explorer/data/cellpack/preset.js +8 -6
  54. package/lib/commonjs/apps/mesoscale-explorer/data/generic/model.d.ts +1 -0
  55. package/lib/commonjs/apps/mesoscale-explorer/data/generic/model.js +2 -1
  56. package/lib/commonjs/apps/mesoscale-explorer/data/generic/preset.js +9 -9
  57. package/lib/commonjs/apps/mesoscale-explorer/data/mmcif/model.js +3 -1
  58. package/lib/commonjs/apps/mesoscale-explorer/data/mmcif/preset.js +6 -4
  59. package/lib/commonjs/apps/mesoscale-explorer/data/petworld/model.js +3 -1
  60. package/lib/commonjs/apps/mesoscale-explorer/data/petworld/preset.js +6 -4
  61. package/lib/commonjs/apps/mesoscale-explorer/data/state.d.ts +48 -10
  62. package/lib/commonjs/apps/mesoscale-explorer/data/state.js +107 -28
  63. package/lib/commonjs/apps/mesoscale-explorer/data/util.js +2 -3
  64. package/lib/commonjs/apps/mesoscale-explorer/ui/entities.d.ts +23 -1
  65. package/lib/commonjs/apps/mesoscale-explorer/ui/entities.js +302 -30
  66. package/lib/commonjs/apps/mesoscale-explorer/ui/panels.d.ts +1 -0
  67. package/lib/commonjs/apps/mesoscale-explorer/ui/panels.js +39 -2
  68. package/lib/commonjs/apps/mesoscale-explorer/ui/states.d.ts +60 -2
  69. package/lib/commonjs/apps/mesoscale-explorer/ui/states.js +477 -13
  70. package/lib/commonjs/apps/viewer/app.d.ts +10 -4
  71. package/lib/commonjs/apps/viewer/app.js +28 -0
  72. package/lib/commonjs/cli/chem-comp-dict/create-ions.js +9 -9
  73. package/lib/commonjs/cli/chem-comp-dict/create-saccharides.js +9 -9
  74. package/lib/commonjs/cli/chem-comp-dict/util.js +7 -7
  75. package/lib/commonjs/cli/cif2bcif/converter.js +1 -2
  76. package/lib/commonjs/cli/cifschema/util/cif-dic.js +2 -3
  77. package/lib/commonjs/cli/cifschema/util/generate.js +13 -14
  78. package/lib/commonjs/cli/cifschema/util/helper.js +1 -2
  79. package/lib/commonjs/cli/cifschema/util/schema.js +9 -10
  80. package/lib/commonjs/cli/lipid-params/index.js +9 -9
  81. package/lib/commonjs/cli/state-docs/pd-to-md.js +1 -2
  82. package/lib/commonjs/cli/structure-info/helpers.js +2 -3
  83. package/lib/commonjs/cli/structure-info/model.js +11 -12
  84. package/lib/commonjs/examples/alpha-orbitals/controls.js +1 -2
  85. package/lib/commonjs/examples/alpha-orbitals/example-data.js +160 -160
  86. package/lib/commonjs/examples/basic-wrapper/custom-theme.js +2 -2
  87. package/lib/commonjs/examples/basic-wrapper/superposition.js +3 -3
  88. package/lib/commonjs/examples/domain-annotation-server/mapping.js +1 -2
  89. package/lib/commonjs/examples/lighting/index.d.ts +1 -1
  90. package/lib/commonjs/examples/lighting/index.js +2 -1
  91. package/lib/commonjs/examples/proteopedia-wrapper/coloring.d.ts +5 -20
  92. package/lib/commonjs/examples/proteopedia-wrapper/coloring.js +1 -2
  93. package/lib/commonjs/examples/proteopedia-wrapper/ui/controls.js +1 -2
  94. package/lib/commonjs/examples/task.js +6 -6
  95. package/lib/commonjs/extensions/alpha-orbitals/collocation.js +1 -2
  96. package/lib/commonjs/extensions/alpha-orbitals/data-model.js +4 -5
  97. package/lib/commonjs/extensions/alpha-orbitals/density.js +2 -3
  98. package/lib/commonjs/extensions/alpha-orbitals/gpu/compute.js +2 -3
  99. package/lib/commonjs/extensions/alpha-orbitals/gpu/shader.frag.js +136 -136
  100. package/lib/commonjs/extensions/alpha-orbitals/orbitals.js +2 -3
  101. package/lib/commonjs/extensions/alpha-orbitals/spherical-functions.js +2 -2
  102. package/lib/commonjs/extensions/alpha-orbitals/transforms.d.ts +3 -3
  103. package/lib/commonjs/extensions/anvil/algorithm.js +5 -5
  104. package/lib/commonjs/extensions/anvil/behavior.d.ts +1 -0
  105. package/lib/commonjs/extensions/anvil/behavior.js +2 -2
  106. package/lib/commonjs/extensions/anvil/representation.d.ts +4 -0
  107. package/lib/commonjs/extensions/anvil/representation.js +3 -3
  108. package/lib/commonjs/extensions/assembly-symmetry/behavior.d.ts +1 -0
  109. package/lib/commonjs/extensions/assembly-symmetry/behavior.js +3 -3
  110. package/lib/commonjs/extensions/assembly-symmetry/color.d.ts +2 -2
  111. package/lib/commonjs/extensions/assembly-symmetry/color.js +3 -3
  112. package/lib/commonjs/extensions/assembly-symmetry/prop.js +27 -27
  113. package/lib/commonjs/extensions/assembly-symmetry/representation.d.ts +1 -0
  114. package/lib/commonjs/extensions/assembly-symmetry/representation.js +2 -2
  115. package/lib/commonjs/extensions/dnatco/confal-pyramids/behavior.js +7 -7
  116. package/lib/commonjs/extensions/dnatco/confal-pyramids/color.js +3 -3
  117. package/lib/commonjs/extensions/dnatco/confal-pyramids/representation.d.ts +3 -0
  118. package/lib/commonjs/extensions/dnatco/confal-pyramids/representation.js +3 -3
  119. package/lib/commonjs/extensions/dnatco/ntc-tube/behavior.js +7 -7
  120. package/lib/commonjs/extensions/dnatco/ntc-tube/color.js +3 -3
  121. package/lib/commonjs/extensions/dnatco/ntc-tube/representation.d.ts +3 -0
  122. package/lib/commonjs/extensions/dnatco/ntc-tube/representation.js +3 -3
  123. package/lib/commonjs/extensions/g3d/data.js +2 -3
  124. package/lib/commonjs/extensions/g3d/format.d.ts +3 -3
  125. package/lib/commonjs/extensions/g3d/model.js +5 -5
  126. package/lib/commonjs/extensions/geo-export/mesh-exporter.d.ts +2 -2
  127. package/lib/commonjs/extensions/geo-export/ui.d.ts +0 -1
  128. package/lib/commonjs/extensions/geo-export/usdz-exporter.js +41 -41
  129. package/lib/commonjs/extensions/meshes/examples.js +9 -9
  130. package/lib/commonjs/extensions/meshes/mesh-extension.d.ts +3 -6
  131. package/lib/commonjs/extensions/meshes/mesh-extension.js +2 -2
  132. package/lib/commonjs/extensions/meshes/mesh-streaming/behavior.d.ts +3 -3
  133. package/lib/commonjs/extensions/meshes/mesh-streaming/server-info.d.ts +3 -3
  134. package/lib/commonjs/extensions/meshes/mesh-utils.js +9 -9
  135. package/lib/commonjs/extensions/model-archive/quality-assessment/color/plddt.d.ts +1 -1
  136. package/lib/commonjs/extensions/model-archive/quality-assessment/color/plddt.js +11 -8
  137. package/lib/commonjs/extensions/model-archive/quality-assessment/color/qmean.js +3 -3
  138. package/lib/commonjs/extensions/model-export/export.js +2 -2
  139. package/lib/commonjs/extensions/model-export/ui.d.ts +0 -1
  140. package/lib/commonjs/extensions/mp4-export/controls.d.ts +1 -1
  141. package/lib/commonjs/extensions/mp4-export/encoder.js +1 -2
  142. package/lib/commonjs/extensions/mp4-export/ui.d.ts +0 -1
  143. package/lib/commonjs/extensions/mvs/camera.js +4 -5
  144. package/lib/commonjs/extensions/mvs/components/annotation-color-theme.js +2 -2
  145. package/lib/commonjs/extensions/mvs/components/annotation-label/representation.d.ts +32 -32
  146. package/lib/commonjs/extensions/mvs/components/annotation-label/representation.js +2 -2
  147. package/lib/commonjs/extensions/mvs/components/annotation-label/visual.d.ts +16 -16
  148. package/lib/commonjs/extensions/mvs/components/annotation-label/visual.js +2 -2
  149. package/lib/commonjs/extensions/mvs/components/annotation-prop.js +2 -2
  150. package/lib/commonjs/extensions/mvs/components/annotation-structure-component.js +4 -4
  151. package/lib/commonjs/extensions/mvs/components/custom-label/representation.d.ts +32 -32
  152. package/lib/commonjs/extensions/mvs/components/custom-label/representation.js +2 -2
  153. package/lib/commonjs/extensions/mvs/components/custom-label/visual.d.ts +16 -16
  154. package/lib/commonjs/extensions/mvs/components/custom-label/visual.js +2 -2
  155. package/lib/commonjs/extensions/mvs/components/formats.d.ts +6 -6
  156. package/lib/commonjs/extensions/mvs/components/formats.js +2 -2
  157. package/lib/commonjs/extensions/mvs/components/is-mvs-model-prop.js +3 -3
  158. package/lib/commonjs/extensions/mvs/components/multilayer-color-theme.js +3 -3
  159. package/lib/commonjs/extensions/mvs/components/selector.js +3 -3
  160. package/lib/commonjs/extensions/mvs/helpers/indexing.d.ts +2 -2
  161. package/lib/commonjs/extensions/mvs/helpers/label-text.js +1 -2
  162. package/lib/commonjs/extensions/mvs/helpers/param-definition.js +2 -3
  163. package/lib/commonjs/extensions/mvs/helpers/schemas.d.ts +1 -1
  164. package/lib/commonjs/extensions/mvs/helpers/schemas.js +2 -2
  165. package/lib/commonjs/extensions/mvs/helpers/selections.js +6 -7
  166. package/lib/commonjs/extensions/mvs/helpers/utils.d.ts +1 -1
  167. package/lib/commonjs/extensions/mvs/helpers/utils.js +7 -7
  168. package/lib/commonjs/extensions/mvs/load-helpers.d.ts +1 -1
  169. package/lib/commonjs/extensions/mvs/load-helpers.js +17 -17
  170. package/lib/commonjs/extensions/mvs/load.js +1 -2
  171. package/lib/commonjs/extensions/mvs/tree/generic/params-schema.js +8 -8
  172. package/lib/commonjs/extensions/mvs/tree/generic/tree-schema.js +8 -9
  173. package/lib/commonjs/extensions/mvs/tree/generic/tree-utils.js +10 -11
  174. package/lib/commonjs/extensions/mvs/tree/molstar/conversion.js +4 -4
  175. package/lib/commonjs/extensions/mvs/tree/mvs/mvs-builder.d.ts +0 -8
  176. package/lib/commonjs/extensions/mvs/tree/mvs/mvs-builder.js +3 -3
  177. package/lib/commonjs/extensions/pdbe/structure-quality-report/color.js +2 -2
  178. package/lib/commonjs/extensions/rcsb/validation-report/color/density-fit.js +2 -2
  179. package/lib/commonjs/extensions/rcsb/validation-report/color/geometry-quality.js +3 -3
  180. package/lib/commonjs/extensions/rcsb/validation-report/color/random-coil-index.js +2 -2
  181. package/lib/commonjs/extensions/rcsb/validation-report/representation.d.ts +5 -0
  182. package/lib/commonjs/extensions/rcsb/validation-report/representation.js +5 -5
  183. package/lib/commonjs/extensions/sb-ncbr/partial-charges/color.js +3 -3
  184. package/lib/commonjs/extensions/sb-ncbr/partial-charges/labels.js +1 -2
  185. package/lib/commonjs/extensions/sb-ncbr/partial-charges/property.js +2 -2
  186. package/lib/commonjs/extensions/sb-ncbr/tunnels/algorithm.js +2 -3
  187. package/lib/commonjs/extensions/sb-ncbr/tunnels/behavior.js +2 -2
  188. package/lib/commonjs/extensions/sb-ncbr/tunnels/data-model.d.ts +6 -6
  189. package/lib/commonjs/extensions/sb-ncbr/tunnels/examples.js +3 -3
  190. package/lib/commonjs/extensions/sb-ncbr/tunnels/props.js +2 -2
  191. package/lib/commonjs/extensions/volumes-and-segmentations/entry-root.d.ts +3 -3
  192. package/lib/commonjs/extensions/volumes-and-segmentations/entry-root.js +3 -3
  193. package/lib/commonjs/extensions/volumes-and-segmentations/entry-state.d.ts +3 -3
  194. package/lib/commonjs/extensions/volumes-and-segmentations/external-api.js +2 -3
  195. package/lib/commonjs/extensions/volumes-and-segmentations/global-state.d.ts +3 -3
  196. package/lib/commonjs/extensions/volumes-and-segmentations/helpers.js +6 -6
  197. package/lib/commonjs/extensions/volumes-and-segmentations/ui.d.ts +0 -1
  198. package/lib/commonjs/extensions/zenodo/ui.d.ts +0 -1
  199. package/lib/commonjs/mol-canvas3d/camera/transition.d.ts +1 -1
  200. package/lib/commonjs/mol-canvas3d/camera/transition.js +23 -6
  201. package/lib/commonjs/mol-canvas3d/camera/util.js +3 -4
  202. package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +9 -1
  203. package/lib/commonjs/mol-canvas3d/helper/bounding-sphere-helper.d.ts +1 -6
  204. package/lib/commonjs/mol-canvas3d/helper/camera-helper.js +2 -2
  205. package/lib/commonjs/mol-canvas3d/helper/handle-helper.d.ts +1 -0
  206. package/lib/commonjs/mol-canvas3d/helper/handle-helper.js +2 -2
  207. package/lib/commonjs/mol-canvas3d/helper/helper.d.ts +2 -0
  208. package/lib/commonjs/mol-canvas3d/passes/image.d.ts +2 -0
  209. package/lib/commonjs/mol-canvas3d/passes/multi-sample.d.ts +2 -1
  210. package/lib/commonjs/mol-canvas3d/passes/multi-sample.js +4 -3
  211. package/lib/commonjs/mol-canvas3d/passes/postprocessing.d.ts +1 -0
  212. package/lib/commonjs/mol-canvas3d/passes/postprocessing.js +7 -2
  213. package/lib/commonjs/mol-canvas3d/util.js +3 -4
  214. package/lib/commonjs/mol-data/db/column-helpers.js +6 -7
  215. package/lib/commonjs/mol-data/db/column.d.ts +1 -1
  216. package/lib/commonjs/mol-data/generic/hash-set.js +1 -2
  217. package/lib/commonjs/mol-data/generic/linked-list.js +1 -2
  218. package/lib/commonjs/mol-data/int/impl/interval.js +15 -15
  219. package/lib/commonjs/mol-data/int/impl/ordered-set.js +25 -25
  220. package/lib/commonjs/mol-data/int/impl/segmentation.js +7 -7
  221. package/lib/commonjs/mol-data/int/impl/sorted-array.js +31 -31
  222. package/lib/commonjs/mol-data/int/linked-index.js +1 -2
  223. package/lib/commonjs/mol-data/util/array.js +5 -6
  224. package/lib/commonjs/mol-data/util/buckets.js +1 -2
  225. package/lib/commonjs/mol-data/util/combination.js +2 -2
  226. package/lib/commonjs/mol-data/util/equivalence-classes.js +2 -2
  227. package/lib/commonjs/mol-data/util/grouping.js +2 -3
  228. package/lib/commonjs/mol-data/util/hash-functions.js +9 -10
  229. package/lib/commonjs/mol-data/util/sort.js +5 -6
  230. package/lib/commonjs/mol-geo/geometry/base.d.ts +1 -1
  231. package/lib/commonjs/mol-geo/geometry/base.js +3 -3
  232. package/lib/commonjs/mol-geo/geometry/clipping-data.js +4 -5
  233. package/lib/commonjs/mol-geo/geometry/color-data.js +4 -5
  234. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +1 -0
  235. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.js +3 -0
  236. package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.d.ts +1 -0
  237. package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.js +3 -0
  238. package/lib/commonjs/mol-geo/geometry/direct-volume/transfer-function.js +3 -4
  239. package/lib/commonjs/mol-geo/geometry/emissive-data.js +5 -6
  240. package/lib/commonjs/mol-geo/geometry/image/image.d.ts +1 -1
  241. package/lib/commonjs/mol-geo/geometry/marker-data.js +3 -4
  242. package/lib/commonjs/mol-geo/geometry/mesh/builder/axes.js +1 -2
  243. package/lib/commonjs/mol-geo/geometry/mesh/builder/box.js +2 -3
  244. package/lib/commonjs/mol-geo/geometry/mesh/builder/cylinder.js +4 -5
  245. package/lib/commonjs/mol-geo/geometry/mesh/builder/ellipsoid.js +1 -2
  246. package/lib/commonjs/mol-geo/geometry/mesh/builder/ribbon.js +1 -2
  247. package/lib/commonjs/mol-geo/geometry/mesh/builder/sheet.js +1 -2
  248. package/lib/commonjs/mol-geo/geometry/mesh/builder/sphere.js +2 -3
  249. package/lib/commonjs/mol-geo/geometry/mesh/builder/tube.js +1 -2
  250. package/lib/commonjs/mol-geo/geometry/mesh/color-smoothing.js +7 -8
  251. package/lib/commonjs/mol-geo/geometry/mesh/mesh.d.ts +1 -0
  252. package/lib/commonjs/mol-geo/geometry/mesh/mesh.js +3 -0
  253. package/lib/commonjs/mol-geo/geometry/overpaint-data.js +4 -5
  254. package/lib/commonjs/mol-geo/geometry/points/points.d.ts +1 -1
  255. package/lib/commonjs/mol-geo/geometry/size-data.js +9 -9
  256. package/lib/commonjs/mol-geo/geometry/spheres/spheres.d.ts +1 -0
  257. package/lib/commonjs/mol-geo/geometry/spheres/spheres.js +3 -0
  258. package/lib/commonjs/mol-geo/geometry/substance-data.js +4 -5
  259. package/lib/commonjs/mol-geo/geometry/text/font-atlas.js +3 -3
  260. package/lib/commonjs/mol-geo/geometry/texture-mesh/color-smoothing.js +7 -7
  261. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +1 -0
  262. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js +3 -0
  263. package/lib/commonjs/mol-geo/geometry/transform-data.js +4 -5
  264. package/lib/commonjs/mol-geo/geometry/transparency-data.js +5 -6
  265. package/lib/commonjs/mol-geo/primitive/box.js +3 -4
  266. package/lib/commonjs/mol-geo/primitive/cage.js +3 -4
  267. package/lib/commonjs/mol-geo/primitive/circle.js +2 -2
  268. package/lib/commonjs/mol-geo/primitive/cylinder.js +2 -2
  269. package/lib/commonjs/mol-geo/primitive/dodecahedron.js +3 -3
  270. package/lib/commonjs/mol-geo/primitive/icosahedron.js +2 -3
  271. package/lib/commonjs/mol-geo/primitive/octahedron.js +4 -4
  272. package/lib/commonjs/mol-geo/primitive/plane.js +2 -3
  273. package/lib/commonjs/mol-geo/primitive/polygon.js +1 -2
  274. package/lib/commonjs/mol-geo/primitive/polyhedron.js +2 -2
  275. package/lib/commonjs/mol-geo/primitive/primitive.js +4 -5
  276. package/lib/commonjs/mol-geo/primitive/prism.js +11 -11
  277. package/lib/commonjs/mol-geo/primitive/pyramid.js +6 -7
  278. package/lib/commonjs/mol-geo/primitive/sphere.js +2 -3
  279. package/lib/commonjs/mol-geo/primitive/spiked-ball.js +1 -2
  280. package/lib/commonjs/mol-geo/primitive/star.js +2 -2
  281. package/lib/commonjs/mol-geo/primitive/tetrahedron.js +3 -3
  282. package/lib/commonjs/mol-geo/primitive/torus.js +2 -2
  283. package/lib/commonjs/mol-geo/primitive/wedge.js +3 -4
  284. package/lib/commonjs/mol-geo/util/location-iterator.js +3 -4
  285. package/lib/commonjs/mol-geo/util/marching-cubes/algorithm.js +2 -3
  286. package/lib/commonjs/mol-geo/util/marching-cubes/builder.js +2 -3
  287. package/lib/commonjs/mol-geo/util/marching-cubes/tables.js +3 -3
  288. package/lib/commonjs/mol-geo/util.js +7 -8
  289. package/lib/commonjs/mol-gl/compute/grid3d.js +2 -3
  290. package/lib/commonjs/mol-gl/compute/hi-z.js +1 -2
  291. package/lib/commonjs/mol-gl/compute/histogram-pyramid/reduction.js +1 -2
  292. package/lib/commonjs/mol-gl/compute/histogram-pyramid/sum.js +1 -2
  293. package/lib/commonjs/mol-gl/compute/marching-cubes/active-voxels.js +1 -2
  294. package/lib/commonjs/mol-gl/compute/marching-cubes/isosurface.js +2 -3
  295. package/lib/commonjs/mol-gl/compute/marching-cubes/tables.js +2 -3
  296. package/lib/commonjs/mol-gl/compute/util.js +5 -5
  297. package/lib/commonjs/mol-gl/render-object.js +3 -3
  298. package/lib/commonjs/mol-gl/renderable/cylinders.d.ts +1 -0
  299. package/lib/commonjs/mol-gl/renderable/cylinders.js +3 -2
  300. package/lib/commonjs/mol-gl/renderable/direct-volume.d.ts +1 -0
  301. package/lib/commonjs/mol-gl/renderable/direct-volume.js +3 -2
  302. package/lib/commonjs/mol-gl/renderable/image.js +2 -2
  303. package/lib/commonjs/mol-gl/renderable/lines.js +2 -2
  304. package/lib/commonjs/mol-gl/renderable/mesh.d.ts +1 -0
  305. package/lib/commonjs/mol-gl/renderable/mesh.js +3 -2
  306. package/lib/commonjs/mol-gl/renderable/points.js +2 -2
  307. package/lib/commonjs/mol-gl/renderable/schema.d.ts +1 -0
  308. package/lib/commonjs/mol-gl/renderable/schema.js +10 -9
  309. package/lib/commonjs/mol-gl/renderable/spheres.d.ts +1 -0
  310. package/lib/commonjs/mol-gl/renderable/spheres.js +3 -2
  311. package/lib/commonjs/mol-gl/renderable/text.js +2 -2
  312. package/lib/commonjs/mol-gl/renderable/texture-mesh.d.ts +1 -0
  313. package/lib/commonjs/mol-gl/renderable/texture-mesh.js +3 -2
  314. package/lib/commonjs/mol-gl/renderable/util.js +7 -8
  315. package/lib/commonjs/mol-gl/renderable.js +2 -3
  316. package/lib/commonjs/mol-gl/renderer.d.ts +1 -0
  317. package/lib/commonjs/mol-gl/renderer.js +6 -0
  318. package/lib/commonjs/mol-gl/shader/background.frag.js +95 -95
  319. package/lib/commonjs/mol-gl/shader/background.vert.js +11 -11
  320. package/lib/commonjs/mol-gl/shader/blend-back-dpoit.frag.js +13 -13
  321. package/lib/commonjs/mol-gl/shader/bloom/blur.frag.js +28 -28
  322. package/lib/commonjs/mol-gl/shader/bloom/composite.frag.js +33 -33
  323. package/lib/commonjs/mol-gl/shader/bloom/luminosity.frag.js +52 -52
  324. package/lib/commonjs/mol-gl/shader/cas.frag.js +144 -144
  325. package/lib/commonjs/mol-gl/shader/chunks/apply-fog.glsl.js +31 -31
  326. package/lib/commonjs/mol-gl/shader/chunks/apply-interior-color.glsl.js +12 -12
  327. package/lib/commonjs/mol-gl/shader/chunks/apply-light-color.glsl.d.ts +2 -1
  328. package/lib/commonjs/mol-gl/shader/chunks/apply-light-color.glsl.js +110 -77
  329. package/lib/commonjs/mol-gl/shader/chunks/apply-marker-color.glsl.js +16 -16
  330. package/lib/commonjs/mol-gl/shader/chunks/assign-clipping-varying.glsl.js +8 -8
  331. package/lib/commonjs/mol-gl/shader/chunks/assign-color-varying.glsl.js +140 -140
  332. package/lib/commonjs/mol-gl/shader/chunks/assign-group.glsl.js +6 -6
  333. package/lib/commonjs/mol-gl/shader/chunks/assign-marker-varying.glsl.js +8 -8
  334. package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.js +112 -112
  335. package/lib/commonjs/mol-gl/shader/chunks/assign-position.glsl.js +14 -14
  336. package/lib/commonjs/mol-gl/shader/chunks/assign-size.glsl.js +18 -18
  337. package/lib/commonjs/mol-gl/shader/chunks/check-picking-alpha.glsl.js +12 -12
  338. package/lib/commonjs/mol-gl/shader/chunks/check-transparency.glsl.js +16 -16
  339. package/lib/commonjs/mol-gl/shader/chunks/clip-instance.glsl.js +7 -7
  340. package/lib/commonjs/mol-gl/shader/chunks/clip-pixel.glsl.js +5 -5
  341. package/lib/commonjs/mol-gl/shader/chunks/color-frag-params.glsl.js +60 -60
  342. package/lib/commonjs/mol-gl/shader/chunks/color-vert-params.glsl.js +122 -122
  343. package/lib/commonjs/mol-gl/shader/chunks/common-clip.glsl.js +104 -104
  344. package/lib/commonjs/mol-gl/shader/chunks/common-frag-params.glsl.d.ts +1 -1
  345. package/lib/commonjs/mol-gl/shader/chunks/common-frag-params.glsl.js +151 -150
  346. package/lib/commonjs/mol-gl/shader/chunks/common-vert-params.glsl.js +61 -61
  347. package/lib/commonjs/mol-gl/shader/chunks/common.glsl.d.ts +1 -1
  348. package/lib/commonjs/mol-gl/shader/chunks/common.glsl.js +240 -234
  349. package/lib/commonjs/mol-gl/shader/chunks/dpoit-write.glsl.js +62 -62
  350. package/lib/commonjs/mol-gl/shader/chunks/fade-lod.glsl.js +42 -42
  351. package/lib/commonjs/mol-gl/shader/chunks/float-to-rgba.glsl.js +39 -39
  352. package/lib/commonjs/mol-gl/shader/chunks/light-frag-params.glsl.js +127 -127
  353. package/lib/commonjs/mol-gl/shader/chunks/matrix-scale.glsl.js +5 -5
  354. package/lib/commonjs/mol-gl/shader/chunks/normal-frag-params.glsl.js +2 -2
  355. package/lib/commonjs/mol-gl/shader/chunks/read-from-texture.glsl.js +14 -14
  356. package/lib/commonjs/mol-gl/shader/chunks/rgba-to-float.glsl.js +84 -84
  357. package/lib/commonjs/mol-gl/shader/chunks/size-vert-params.glsl.js +11 -11
  358. package/lib/commonjs/mol-gl/shader/chunks/texture3d-from-1d-trilinear.glsl.js +23 -23
  359. package/lib/commonjs/mol-gl/shader/chunks/texture3d-from-2d-linear.glsl.js +17 -17
  360. package/lib/commonjs/mol-gl/shader/chunks/texture3d-from-2d-nearest.glsl.js +8 -8
  361. package/lib/commonjs/mol-gl/shader/chunks/wboit-write.glsl.js +25 -25
  362. package/lib/commonjs/mol-gl/shader/compose.frag.js +12 -12
  363. package/lib/commonjs/mol-gl/shader/compute/color-smoothing/accumulate.frag.js +23 -23
  364. package/lib/commonjs/mol-gl/shader/compute/color-smoothing/accumulate.vert.js +43 -43
  365. package/lib/commonjs/mol-gl/shader/compute/color-smoothing/normalize.frag.js +15 -15
  366. package/lib/commonjs/mol-gl/shader/copy.frag.js +11 -11
  367. package/lib/commonjs/mol-gl/shader/cylinders.frag.d.ts +2 -1
  368. package/lib/commonjs/mol-gl/shader/cylinders.frag.js +275 -266
  369. package/lib/commonjs/mol-gl/shader/cylinders.vert.js +89 -89
  370. package/lib/commonjs/mol-gl/shader/depth-merge.frag.js +23 -23
  371. package/lib/commonjs/mol-gl/shader/direct-volume.frag.d.ts +1 -1
  372. package/lib/commonjs/mol-gl/shader/direct-volume.frag.js +363 -362
  373. package/lib/commonjs/mol-gl/shader/direct-volume.vert.js +41 -41
  374. package/lib/commonjs/mol-gl/shader/dof.frag.js +112 -112
  375. package/lib/commonjs/mol-gl/shader/evaluate-dpoit.frag.js +10 -10
  376. package/lib/commonjs/mol-gl/shader/evaluate-wboit.frag.js +17 -17
  377. package/lib/commonjs/mol-gl/shader/fxaa.frag.js +228 -228
  378. package/lib/commonjs/mol-gl/shader/gaussian-density.frag.js +49 -49
  379. package/lib/commonjs/mol-gl/shader/gaussian-density.vert.js +27 -27
  380. package/lib/commonjs/mol-gl/shader/hi-z.frag.js +18 -18
  381. package/lib/commonjs/mol-gl/shader/histogram-pyramid/reduction.frag.js +58 -58
  382. package/lib/commonjs/mol-gl/shader/histogram-pyramid/sum.frag.js +19 -19
  383. package/lib/commonjs/mol-gl/shader/image.frag.js +169 -169
  384. package/lib/commonjs/mol-gl/shader/image.vert.js +21 -21
  385. package/lib/commonjs/mol-gl/shader/lines.frag.js +42 -42
  386. package/lib/commonjs/mol-gl/shader/lines.vert.js +117 -117
  387. package/lib/commonjs/mol-gl/shader/marching-cubes/active-voxels.frag.js +70 -70
  388. package/lib/commonjs/mol-gl/shader/marching-cubes/isosurface.frag.js +311 -311
  389. package/lib/commonjs/mol-gl/shader/marking/edge.frag.js +28 -28
  390. package/lib/commonjs/mol-gl/shader/marking/overlay.frag.js +26 -26
  391. package/lib/commonjs/mol-gl/shader/mesh.frag.js +65 -65
  392. package/lib/commonjs/mol-gl/shader/mesh.vert.js +49 -49
  393. package/lib/commonjs/mol-gl/shader/outlines.frag.js +95 -95
  394. package/lib/commonjs/mol-gl/shader/points.frag.js +59 -59
  395. package/lib/commonjs/mol-gl/shader/points.vert.js +38 -38
  396. package/lib/commonjs/mol-gl/shader/postprocessing.frag.js +150 -150
  397. package/lib/commonjs/mol-gl/shader/quad.vert.js +10 -10
  398. package/lib/commonjs/mol-gl/shader/shadows.frag.js +123 -123
  399. package/lib/commonjs/mol-gl/shader/smaa/blend.frag.js +56 -56
  400. package/lib/commonjs/mol-gl/shader/smaa/blend.vert.js +25 -25
  401. package/lib/commonjs/mol-gl/shader/smaa/edges.frag.js +66 -66
  402. package/lib/commonjs/mol-gl/shader/smaa/edges.vert.js +26 -26
  403. package/lib/commonjs/mol-gl/shader/smaa/weights.frag.js +206 -206
  404. package/lib/commonjs/mol-gl/shader/smaa/weights.vert.js +32 -32
  405. package/lib/commonjs/mol-gl/shader/spheres.frag.js +148 -148
  406. package/lib/commonjs/mol-gl/shader/spheres.vert.js +132 -132
  407. package/lib/commonjs/mol-gl/shader/ssao-blur.frag.d.ts +1 -1
  408. package/lib/commonjs/mol-gl/shader/ssao-blur.frag.js +100 -97
  409. package/lib/commonjs/mol-gl/shader/ssao.frag.js +211 -211
  410. package/lib/commonjs/mol-gl/shader/text.frag.js +85 -85
  411. package/lib/commonjs/mol-gl/shader/text.vert.js +85 -85
  412. package/lib/commonjs/mol-gl/shader/util/grid3d-template.frag.js +46 -46
  413. package/lib/commonjs/mol-gl/shader-code.js +19 -19
  414. package/lib/commonjs/mol-gl/webgl/buffer.js +8 -9
  415. package/lib/commonjs/mol-gl/webgl/compat.js +44 -45
  416. package/lib/commonjs/mol-gl/webgl/context.js +6 -7
  417. package/lib/commonjs/mol-gl/webgl/extensions.js +1 -2
  418. package/lib/commonjs/mol-gl/webgl/framebuffer.js +3 -4
  419. package/lib/commonjs/mol-gl/webgl/program.js +2 -3
  420. package/lib/commonjs/mol-gl/webgl/render-item.d.ts +2 -2
  421. package/lib/commonjs/mol-gl/webgl/render-item.js +5 -5
  422. package/lib/commonjs/mol-gl/webgl/render-target.js +2 -3
  423. package/lib/commonjs/mol-gl/webgl/renderbuffer.js +3 -4
  424. package/lib/commonjs/mol-gl/webgl/resources.js +1 -2
  425. package/lib/commonjs/mol-gl/webgl/shader.js +2 -3
  426. package/lib/commonjs/mol-gl/webgl/state.js +1 -2
  427. package/lib/commonjs/mol-gl/webgl/texture.js +13 -14
  428. package/lib/commonjs/mol-gl/webgl/timer.js +2 -3
  429. package/lib/commonjs/mol-gl/webgl/uniform.js +6 -7
  430. package/lib/commonjs/mol-gl/webgl/vertex-array.js +1 -2
  431. package/lib/commonjs/mol-io/common/ascii.js +1 -2
  432. package/lib/commonjs/mol-io/common/binary-cif/classifier.js +2 -3
  433. package/lib/commonjs/mol-io/common/binary-cif/decoder.js +1 -2
  434. package/lib/commonjs/mol-io/common/binary.js +3 -3
  435. package/lib/commonjs/mol-io/common/msgpack/decode.js +1 -2
  436. package/lib/commonjs/mol-io/common/msgpack/encode.js +1 -2
  437. package/lib/commonjs/mol-io/common/simple-buffer.d.ts +0 -1
  438. package/lib/commonjs/mol-io/common/typed-array.js +6 -6
  439. package/lib/commonjs/mol-io/common/utf8.js +3 -4
  440. package/lib/commonjs/mol-io/reader/ccp4/parser.js +6 -7
  441. package/lib/commonjs/mol-io/reader/cif/binary/field.js +1 -2
  442. package/lib/commonjs/mol-io/reader/cif/binary/parser.js +1 -2
  443. package/lib/commonjs/mol-io/reader/cif/data-model.js +8 -8
  444. package/lib/commonjs/mol-io/reader/cif/schema/bird.d.ts +1 -1
  445. package/lib/commonjs/mol-io/reader/cif/schema/bird.js +1 -1
  446. package/lib/commonjs/mol-io/reader/cif/schema/ccd.d.ts +1 -1
  447. package/lib/commonjs/mol-io/reader/cif/schema/ccd.js +1 -1
  448. package/lib/commonjs/mol-io/reader/cif/schema/mmcif.d.ts +9 -1
  449. package/lib/commonjs/mol-io/reader/cif/schema/mmcif.js +9 -1
  450. package/lib/commonjs/mol-io/reader/cif/schema.js +4 -4
  451. package/lib/commonjs/mol-io/reader/cif/text/parser.js +1 -2
  452. package/lib/commonjs/mol-io/reader/common/text/column/fixed.d.ts +1 -1
  453. package/lib/commonjs/mol-io/reader/common/text/column/fixed.js +2 -3
  454. package/lib/commonjs/mol-io/reader/common/text/column/token.d.ts +1 -1
  455. package/lib/commonjs/mol-io/reader/common/text/column/token.js +4 -5
  456. package/lib/commonjs/mol-io/reader/common/text/number-parser.js +6 -6
  457. package/lib/commonjs/mol-io/reader/common/text/tokenizer.js +3 -3
  458. package/lib/commonjs/mol-io/reader/csv/data-model.js +3 -3
  459. package/lib/commonjs/mol-io/reader/csv/parser.js +1 -2
  460. package/lib/commonjs/mol-io/reader/cube/parser.js +1 -2
  461. package/lib/commonjs/mol-io/reader/dcd/parser.js +2 -3
  462. package/lib/commonjs/mol-io/reader/dsn6/parser.js +6 -6
  463. package/lib/commonjs/mol-io/reader/dx/parser.js +1 -2
  464. package/lib/commonjs/mol-io/reader/gro/parser.js +1 -2
  465. package/lib/commonjs/mol-io/reader/mol/parser.js +6 -7
  466. package/lib/commonjs/mol-io/reader/mol2/parser.js +1 -2
  467. package/lib/commonjs/mol-io/reader/nctraj/parser.js +1 -2
  468. package/lib/commonjs/mol-io/reader/obj/parser.js +1 -2
  469. package/lib/commonjs/mol-io/reader/pdb/parser.js +1 -2
  470. package/lib/commonjs/mol-io/reader/ply/parser.js +1 -2
  471. package/lib/commonjs/mol-io/reader/ply/schema.d.ts +1 -1
  472. package/lib/commonjs/mol-io/reader/ply/schema.js +3 -3
  473. package/lib/commonjs/mol-io/reader/prmtop/parser.js +1 -2
  474. package/lib/commonjs/mol-io/reader/psf/parser.js +1 -2
  475. package/lib/commonjs/mol-io/reader/sdf/parser-v3-util.js +4 -5
  476. package/lib/commonjs/mol-io/reader/sdf/parser.js +1 -2
  477. package/lib/commonjs/mol-io/reader/top/parser.js +1 -2
  478. package/lib/commonjs/mol-io/reader/trr/parser.js +1 -2
  479. package/lib/commonjs/mol-io/reader/xtc/parser.js +1 -2
  480. package/lib/commonjs/mol-io/reader/xyz/parser.js +1 -2
  481. package/lib/commonjs/mol-io/writer/cif/encoder/util.js +3 -4
  482. package/lib/commonjs/mol-math/approx.js +24 -25
  483. package/lib/commonjs/mol-math/easing.js +18 -19
  484. package/lib/commonjs/mol-math/geometry/boundary.js +2 -3
  485. package/lib/commonjs/mol-math/geometry/common.js +2 -3
  486. package/lib/commonjs/mol-math/geometry/distance-transform.js +1 -2
  487. package/lib/commonjs/mol-math/geometry/gaussian-density/cpu.js +1 -2
  488. package/lib/commonjs/mol-math/geometry/gaussian-density/gpu.js +4 -5
  489. package/lib/commonjs/mol-math/geometry/gaussian-density.js +5 -5
  490. package/lib/commonjs/mol-math/geometry/instance-grid.js +2 -3
  491. package/lib/commonjs/mol-math/geometry/lookup3d/grid.js +1 -2
  492. package/lib/commonjs/mol-math/geometry/molecular-surface.js +2 -2
  493. package/lib/commonjs/mol-math/geometry/polygon.js +1 -2
  494. package/lib/commonjs/mol-math/geometry/primitives/axes3d.js +1 -2
  495. package/lib/commonjs/mol-math/geometry/primitives/box3d.js +1 -2
  496. package/lib/commonjs/mol-math/geometry/primitives/frustum3d.js +1 -2
  497. package/lib/commonjs/mol-math/geometry/primitives/plane3d.js +1 -2
  498. package/lib/commonjs/mol-math/geometry/primitives/sphere3d.js +1 -2
  499. package/lib/commonjs/mol-math/geometry/spacegroup/cell.js +1 -2
  500. package/lib/commonjs/mol-math/geometry/spacegroup/tables.js +4 -4
  501. package/lib/commonjs/mol-math/histogram.js +1 -2
  502. package/lib/commonjs/mol-math/interpolate.js +12 -13
  503. package/lib/commonjs/mol-math/linear-algebra/3d/common.js +2 -2
  504. package/lib/commonjs/mol-math/linear-algebra/3d/euler.js +1 -2
  505. package/lib/commonjs/mol-math/linear-algebra/3d/mat3.js +1 -2
  506. package/lib/commonjs/mol-math/linear-algebra/3d/mat4.js +1 -2
  507. package/lib/commonjs/mol-math/linear-algebra/3d/quat.js +1 -2
  508. package/lib/commonjs/mol-math/linear-algebra/3d/vec2.js +1 -2
  509. package/lib/commonjs/mol-math/linear-algebra/3d/vec3.js +1 -2
  510. package/lib/commonjs/mol-math/linear-algebra/3d/vec4.js +1 -2
  511. package/lib/commonjs/mol-math/linear-algebra/matrix/svd.js +4 -5
  512. package/lib/commonjs/mol-math/misc.js +7 -7
  513. package/lib/commonjs/mol-model/custom-property.js +2 -2
  514. package/lib/commonjs/mol-model/location.js +4 -4
  515. package/lib/commonjs/mol-model/loci.d.ts +1 -1
  516. package/lib/commonjs/mol-model/loci.js +7 -7
  517. package/lib/commonjs/mol-model/sequence/alignment/alignment.d.ts +2 -1
  518. package/lib/commonjs/mol-model/sequence/alignment/alignment.js +1 -2
  519. package/lib/commonjs/mol-model/sequence/alignment/sequence.js +3 -3
  520. package/lib/commonjs/mol-model/sequence/constants.js +3 -4
  521. package/lib/commonjs/mol-model/structure/coordinates/coordinates.js +2 -2
  522. package/lib/commonjs/mol-model/structure/export/categories/atom_site.js +5 -5
  523. package/lib/commonjs/mol-model/structure/export/categories/atom_site_operator_mapping.js +2 -2
  524. package/lib/commonjs/mol-model/structure/export/categories/utils.js +6 -7
  525. package/lib/commonjs/mol-model/structure/export/mmcif.js +3 -3
  526. package/lib/commonjs/mol-model/structure/model/properties/atomic/bonds.js +2 -3
  527. package/lib/commonjs/mol-model/structure/model/properties/atomic/measures.js +4 -4
  528. package/lib/commonjs/mol-model/structure/model/properties/atomic/types.js +14 -14
  529. package/lib/commonjs/mol-model/structure/model/properties/secondary-structure.js +1 -2
  530. package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-derived.js +1 -2
  531. package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-index.js +1 -2
  532. package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-ranges.js +1 -2
  533. package/lib/commonjs/mol-model/structure/model/properties/utils/coarse-keys.js +1 -2
  534. package/lib/commonjs/mol-model/structure/model/properties/utils/coarse-ranges.js +1 -2
  535. package/lib/commonjs/mol-model/structure/model/types/saccharides.js +1 -1
  536. package/lib/commonjs/mol-model/structure/model/types.d.ts +3 -3
  537. package/lib/commonjs/mol-model/structure/model/types.js +12 -12
  538. package/lib/commonjs/mol-model/structure/model/util.js +2 -3
  539. package/lib/commonjs/mol-model/structure/query/queries/atom-set.js +3 -4
  540. package/lib/commonjs/mol-model/structure/query/queries/combinators.js +2 -3
  541. package/lib/commonjs/mol-model/structure/query/queries/filters.js +7 -8
  542. package/lib/commonjs/mol-model/structure/query/queries/generators.js +9 -9
  543. package/lib/commonjs/mol-model/structure/query/queries/internal.js +7 -8
  544. package/lib/commonjs/mol-model/structure/query/queries/modifiers.js +9 -10
  545. package/lib/commonjs/mol-model/structure/query/utils/structure-distance.js +2 -3
  546. package/lib/commonjs/mol-model/structure/query/utils/structure-set.js +5 -6
  547. package/lib/commonjs/mol-model/structure/structure/carbohydrates/compute.js +1 -2
  548. package/lib/commonjs/mol-model/structure/structure/carbohydrates/constants.js +4 -4
  549. package/lib/commonjs/mol-model/structure/structure/element/loci.js +1 -2
  550. package/lib/commonjs/mol-model/structure/structure/element/util.js +6 -7
  551. package/lib/commonjs/mol-model/structure/structure/properties.d.ts +1 -0
  552. package/lib/commonjs/mol-model/structure/structure/properties.js +1 -0
  553. package/lib/commonjs/mol-model/structure/structure/unit/bonds/common.js +6 -6
  554. package/lib/commonjs/mol-model/structure/structure/unit/bonds/inter-compute.js +1 -2
  555. package/lib/commonjs/mol-model/structure/structure/unit/bonds/intra-compute.js +1 -2
  556. package/lib/commonjs/mol-model/structure/structure/unit/resonance.js +1 -2
  557. package/lib/commonjs/mol-model/structure/structure/unit/rings/compute.js +3 -4
  558. package/lib/commonjs/mol-model/structure/structure/util/boundary.js +1 -2
  559. package/lib/commonjs/mol-model/structure/structure/util/lookup3d.js +2 -2
  560. package/lib/commonjs/mol-model/structure/structure/util/polymer.js +6 -7
  561. package/lib/commonjs/mol-model/structure/structure/util/principal-axes.js +2 -3
  562. package/lib/commonjs/mol-model/structure/structure/util/superposition-sifts-mapping.js +1 -2
  563. package/lib/commonjs/mol-model/structure/structure/util/superposition.js +3 -4
  564. package/lib/commonjs/mol-model/structure/util.js +5 -6
  565. package/lib/commonjs/mol-model/volume/volume.d.ts +6 -6
  566. package/lib/commonjs/mol-model-formats/shape/ply.d.ts +2 -0
  567. package/lib/commonjs/mol-model-formats/shape/ply.js +2 -2
  568. package/lib/commonjs/mol-model-formats/structure/basic/atomic.js +1 -2
  569. package/lib/commonjs/mol-model-formats/structure/basic/coarse.js +2 -2
  570. package/lib/commonjs/mol-model-formats/structure/basic/entities.js +2 -3
  571. package/lib/commonjs/mol-model-formats/structure/basic/parser.js +1 -2
  572. package/lib/commonjs/mol-model-formats/structure/basic/properties.js +4 -5
  573. package/lib/commonjs/mol-model-formats/structure/basic/schema.d.ts +1 -0
  574. package/lib/commonjs/mol-model-formats/structure/basic/schema.js +2 -2
  575. package/lib/commonjs/mol-model-formats/structure/basic/sequence.js +1 -2
  576. package/lib/commonjs/mol-model-formats/structure/basic/sort.js +1 -2
  577. package/lib/commonjs/mol-model-formats/structure/basic/util.js +2 -3
  578. package/lib/commonjs/mol-model-formats/structure/cif-core.js +2 -2
  579. package/lib/commonjs/mol-model-formats/structure/common/entity.d.ts +1 -0
  580. package/lib/commonjs/mol-model-formats/structure/cube.js +1 -2
  581. package/lib/commonjs/mol-model-formats/structure/dcd.js +1 -2
  582. package/lib/commonjs/mol-model-formats/structure/gro.js +2 -2
  583. package/lib/commonjs/mol-model-formats/structure/mmcif.js +3 -3
  584. package/lib/commonjs/mol-model-formats/structure/mol.js +3 -3
  585. package/lib/commonjs/mol-model-formats/structure/mol2.js +2 -2
  586. package/lib/commonjs/mol-model-formats/structure/nctraj.js +1 -2
  587. package/lib/commonjs/mol-model-formats/structure/pdb/anisotropic.js +3 -4
  588. package/lib/commonjs/mol-model-formats/structure/pdb/assembly.js +3 -4
  589. package/lib/commonjs/mol-model-formats/structure/pdb/atom-site.js +3 -4
  590. package/lib/commonjs/mol-model-formats/structure/pdb/conect.js +1 -2
  591. package/lib/commonjs/mol-model-formats/structure/pdb/entity.js +2 -3
  592. package/lib/commonjs/mol-model-formats/structure/pdb/header.js +1 -2
  593. package/lib/commonjs/mol-model-formats/structure/pdb/secondary-structure.js +2 -3
  594. package/lib/commonjs/mol-model-formats/structure/pdb/to-cif.js +1 -2
  595. package/lib/commonjs/mol-model-formats/structure/pdb.js +2 -2
  596. package/lib/commonjs/mol-model-formats/structure/prmtop.js +2 -2
  597. package/lib/commonjs/mol-model-formats/structure/property/assembly.js +3 -4
  598. package/lib/commonjs/mol-model-formats/structure/psf.js +2 -2
  599. package/lib/commonjs/mol-model-formats/structure/sdf.js +2 -2
  600. package/lib/commonjs/mol-model-formats/structure/top.js +2 -2
  601. package/lib/commonjs/mol-model-formats/structure/trr.js +1 -2
  602. package/lib/commonjs/mol-model-formats/structure/util.js +2 -3
  603. package/lib/commonjs/mol-model-formats/structure/xtc.js +1 -2
  604. package/lib/commonjs/mol-model-formats/structure/xyz.js +2 -2
  605. package/lib/commonjs/mol-model-formats/volume/ccp4.js +3 -3
  606. package/lib/commonjs/mol-model-formats/volume/cube.js +2 -2
  607. package/lib/commonjs/mol-model-formats/volume/density-server.js +2 -2
  608. package/lib/commonjs/mol-model-formats/volume/dsn6.js +2 -2
  609. package/lib/commonjs/mol-model-formats/volume/dx.js +2 -2
  610. package/lib/commonjs/mol-model-formats/volume/segmentation.js +2 -2
  611. package/lib/commonjs/mol-model-props/computed/accessible-surface-area/shrake-rupley/area.js +1 -2
  612. package/lib/commonjs/mol-model-props/computed/accessible-surface-area/shrake-rupley/radii.js +1 -2
  613. package/lib/commonjs/mol-model-props/computed/chemistry/functional-group.js +16 -17
  614. package/lib/commonjs/mol-model-props/computed/chemistry/geometry.js +5 -5
  615. package/lib/commonjs/mol-model-props/computed/chemistry/util.js +16 -17
  616. package/lib/commonjs/mol-model-props/computed/chemistry/valence-model.js +4 -4
  617. package/lib/commonjs/mol-model-props/computed/helix-orientation/helix-orientation.js +1 -2
  618. package/lib/commonjs/mol-model-props/computed/interactions/common.js +4 -4
  619. package/lib/commonjs/mol-model-props/computed/interactions/contacts.js +3 -3
  620. package/lib/commonjs/mol-model-props/computed/interactions/interactions.js +2 -2
  621. package/lib/commonjs/mol-model-props/computed/interactions/refine.js +1 -2
  622. package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +1 -0
  623. package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.js +2 -2
  624. package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +1 -0
  625. package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.js +2 -2
  626. package/lib/commonjs/mol-model-props/computed/representations/interactions.d.ts +3 -0
  627. package/lib/commonjs/mol-model-props/computed/representations/interactions.js +3 -3
  628. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/backbone-hbonds.js +1 -2
  629. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/bends.js +1 -2
  630. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/bridges.js +1 -2
  631. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/dihedral-angles.js +1 -2
  632. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/helices.js +1 -2
  633. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/ladders.js +1 -2
  634. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/protein-info.js +1 -2
  635. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/sheets.js +1 -2
  636. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/trace-lookup.js +1 -2
  637. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/turns.js +1 -2
  638. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp.js +2 -2
  639. package/lib/commonjs/mol-model-props/computed/themes/accessible-surface-area.js +3 -3
  640. package/lib/commonjs/mol-model-props/computed/themes/interaction-type.js +3 -3
  641. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/color.js +3 -3
  642. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.d.ts +4 -0
  643. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.js +4 -4
  644. package/lib/commonjs/mol-model-props/sequence/themes/sifts-mapping.d.ts +2 -2
  645. package/lib/commonjs/mol-model-props/sequence/themes/sifts-mapping.js +3 -3
  646. package/lib/commonjs/mol-plugin/behavior/behavior.d.ts +9 -9
  647. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/behavior.d.ts +3 -3
  648. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +4 -4
  649. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/util.js +8 -9
  650. package/lib/commonjs/mol-plugin/behavior/static/camera.js +6 -7
  651. package/lib/commonjs/mol-plugin/behavior/static/misc.js +2 -3
  652. package/lib/commonjs/mol-plugin/behavior/static/representation.js +4 -5
  653. package/lib/commonjs/mol-plugin/behavior/static/state.js +12 -13
  654. package/lib/commonjs/mol-plugin/command.js +2 -2
  655. package/lib/commonjs/mol-plugin/commands.d.ts +23 -87
  656. package/lib/commonjs/mol-plugin/context.d.ts +3 -2
  657. package/lib/commonjs/mol-plugin/context.js +4 -2
  658. package/lib/commonjs/mol-plugin/state.d.ts +7 -7
  659. package/lib/commonjs/mol-plugin/util/headless-screenshot.d.ts +1 -1
  660. package/lib/commonjs/mol-plugin/util/headless-screenshot.js +7 -5
  661. package/lib/commonjs/mol-plugin/util/viewport-screenshot.d.ts +1 -1
  662. package/lib/commonjs/mol-plugin/util/viewport-screenshot.js +2 -1
  663. package/lib/commonjs/mol-plugin-state/actions/volume.d.ts +1 -1
  664. package/lib/commonjs/mol-plugin-state/actions/volume.js +4 -12
  665. package/lib/commonjs/mol-plugin-state/animation/built-in/model-index.d.ts +2 -2
  666. package/lib/commonjs/mol-plugin-state/animation/helpers.js +5 -5
  667. package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy-preset.js +2 -2
  668. package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.js +4 -4
  669. package/lib/commonjs/mol-plugin-state/formats/provider.js +2 -3
  670. package/lib/commonjs/mol-plugin-state/formats/registry.d.ts +1 -1
  671. package/lib/commonjs/mol-plugin-state/formats/trajectory.d.ts +9 -9
  672. package/lib/commonjs/mol-plugin-state/formats/volume.d.ts +0 -1
  673. package/lib/commonjs/mol-plugin-state/helpers/structure-clipping.js +1 -2
  674. package/lib/commonjs/mol-plugin-state/helpers/structure-component.js +3 -3
  675. package/lib/commonjs/mol-plugin-state/helpers/structure-emissive.js +2 -3
  676. package/lib/commonjs/mol-plugin-state/helpers/structure-overpaint.js +2 -3
  677. package/lib/commonjs/mol-plugin-state/helpers/structure-representation-params.js +4 -5
  678. package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.js +9 -9
  679. package/lib/commonjs/mol-plugin-state/helpers/structure-substance.js +2 -3
  680. package/lib/commonjs/mol-plugin-state/helpers/structure-transparency.js +2 -3
  681. package/lib/commonjs/mol-plugin-state/helpers/volume-representation-params.js +4 -5
  682. package/lib/commonjs/mol-plugin-state/manager/focus-camera/focus-first-residue.js +2 -3
  683. package/lib/commonjs/mol-plugin-state/manager/focus-camera/orient-axes.js +4 -4
  684. package/lib/commonjs/mol-plugin-state/manager/structure/hierarchy-state.js +2 -3
  685. package/lib/commonjs/mol-plugin-state/manager/structure/hierarchy.d.ts +3 -3
  686. package/lib/commonjs/mol-plugin-state/manager/structure/measurement.d.ts +4 -0
  687. package/lib/commonjs/mol-plugin-state/manager/volume/hierarchy-state.js +2 -3
  688. package/lib/commonjs/mol-plugin-state/objects.d.ts +97 -97
  689. package/lib/commonjs/mol-plugin-state/transforms/data.d.ts +10 -1
  690. package/lib/commonjs/mol-plugin-state/transforms/data.js +31 -2
  691. package/lib/commonjs/mol-plugin-state/transforms/helpers.js +6 -7
  692. package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +6 -0
  693. package/lib/commonjs/mol-plugin-state/transforms/shape.js +2 -2
  694. package/lib/commonjs/mol-plugin-ui/base.js +2 -1
  695. package/lib/commonjs/mol-plugin-ui/controls/color.js +3 -3
  696. package/lib/commonjs/mol-plugin-ui/controls/common.js +5 -5
  697. package/lib/commonjs/mol-plugin-ui/controls/icons.d.ts +5 -0
  698. package/lib/commonjs/mol-plugin-ui/controls/icons.js +87 -73
  699. package/lib/commonjs/mol-plugin-ui/controls/legend.js +2 -2
  700. package/lib/commonjs/mol-plugin-ui/controls/parameters.d.ts +3 -3
  701. package/lib/commonjs/mol-plugin-ui/controls/parameters.js +2 -2
  702. package/lib/commonjs/mol-plugin-ui/controls.js +3 -3
  703. package/lib/commonjs/mol-plugin-ui/hooks/use-behavior.js +1 -2
  704. package/lib/commonjs/mol-plugin-ui/index.js +1 -2
  705. package/lib/commonjs/mol-plugin-ui/left-panel.d.ts +0 -1
  706. package/lib/commonjs/mol-plugin-ui/plugin.js +5 -4
  707. package/lib/commonjs/mol-plugin-ui/react18.js +1 -2
  708. package/lib/commonjs/mol-plugin-ui/sequence.js +8 -8
  709. package/lib/commonjs/mol-plugin-ui/spec.d.ts +10 -10
  710. package/lib/commonjs/mol-plugin-ui/spec.js +1 -1
  711. package/lib/commonjs/mol-plugin-ui/state/apply-action.d.ts +1 -1
  712. package/lib/commonjs/mol-plugin-ui/state/update-transform.d.ts +1 -1
  713. package/lib/commonjs/mol-plugin-ui/structure/quick-styles.d.ts +2 -1
  714. package/lib/commonjs/mol-plugin-ui/structure/quick-styles.js +5 -2
  715. package/lib/commonjs/mol-plugin-ui/structure/selection.d.ts +2 -2
  716. package/lib/commonjs/mol-plugin-ui/task.js +2 -3
  717. package/lib/commonjs/mol-repr/representation.d.ts +3 -3
  718. package/lib/commonjs/mol-repr/shape/loci/angle.d.ts +1 -0
  719. package/lib/commonjs/mol-repr/shape/loci/angle.js +2 -2
  720. package/lib/commonjs/mol-repr/shape/loci/dihedral.d.ts +1 -0
  721. package/lib/commonjs/mol-repr/shape/loci/dihedral.js +2 -2
  722. package/lib/commonjs/mol-repr/shape/loci/distance.js +2 -2
  723. package/lib/commonjs/mol-repr/shape/loci/label.js +2 -2
  724. package/lib/commonjs/mol-repr/shape/loci/orientation.d.ts +1 -0
  725. package/lib/commonjs/mol-repr/shape/loci/orientation.js +2 -2
  726. package/lib/commonjs/mol-repr/shape/loci/plane.d.ts +1 -0
  727. package/lib/commonjs/mol-repr/shape/loci/plane.js +2 -2
  728. package/lib/commonjs/mol-repr/shape/model/unitcell.d.ts +1 -0
  729. package/lib/commonjs/mol-repr/shape/model/unitcell.js +3 -3
  730. package/lib/commonjs/mol-repr/shape/representation.js +1 -2
  731. package/lib/commonjs/mol-repr/structure/complex-representation.js +1 -2
  732. package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +5 -0
  733. package/lib/commonjs/mol-repr/structure/complex-visual.js +9 -9
  734. package/lib/commonjs/mol-repr/structure/params.d.ts +5 -0
  735. package/lib/commonjs/mol-repr/structure/params.js +2 -2
  736. package/lib/commonjs/mol-repr/structure/registry.d.ts +11 -0
  737. package/lib/commonjs/mol-repr/structure/representation/backbone.d.ts +3 -0
  738. package/lib/commonjs/mol-repr/structure/representation/backbone.js +3 -3
  739. package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +3 -0
  740. package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.js +3 -3
  741. package/lib/commonjs/mol-repr/structure/representation/carbohydrate.d.ts +3 -0
  742. package/lib/commonjs/mol-repr/structure/representation/carbohydrate.js +3 -3
  743. package/lib/commonjs/mol-repr/structure/representation/cartoon.d.ts +3 -0
  744. package/lib/commonjs/mol-repr/structure/representation/cartoon.js +3 -3
  745. package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +3 -0
  746. package/lib/commonjs/mol-repr/structure/representation/ellipsoid.js +3 -3
  747. package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +3 -0
  748. package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.js +3 -3
  749. package/lib/commonjs/mol-repr/structure/representation/gaussian-volume.d.ts +3 -0
  750. package/lib/commonjs/mol-repr/structure/representation/gaussian-volume.js +3 -3
  751. package/lib/commonjs/mol-repr/structure/representation/label.js +3 -3
  752. package/lib/commonjs/mol-repr/structure/representation/line.js +3 -3
  753. package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +3 -0
  754. package/lib/commonjs/mol-repr/structure/representation/molecular-surface.js +3 -3
  755. package/lib/commonjs/mol-repr/structure/representation/orientation.d.ts +3 -0
  756. package/lib/commonjs/mol-repr/structure/representation/orientation.js +3 -3
  757. package/lib/commonjs/mol-repr/structure/representation/point.js +3 -3
  758. package/lib/commonjs/mol-repr/structure/representation/putty.d.ts +3 -0
  759. package/lib/commonjs/mol-repr/structure/representation/putty.js +3 -3
  760. package/lib/commonjs/mol-repr/structure/representation/spacefill.d.ts +3 -0
  761. package/lib/commonjs/mol-repr/structure/representation/spacefill.js +3 -3
  762. package/lib/commonjs/mol-repr/structure/representation.js +2 -2
  763. package/lib/commonjs/mol-repr/structure/units-representation.js +1 -2
  764. package/lib/commonjs/mol-repr/structure/units-visual.d.ts +5 -0
  765. package/lib/commonjs/mol-repr/structure/units-visual.js +10 -10
  766. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +2 -0
  767. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.js +4 -4
  768. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.js +2 -2
  769. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +2 -0
  770. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.js +4 -4
  771. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.js +2 -2
  772. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +1 -0
  773. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.js +2 -2
  774. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +1 -0
  775. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-symbol-mesh.js +2 -2
  776. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +1 -0
  777. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.js +2 -2
  778. package/lib/commonjs/mol-repr/structure/visual/element-cross.js +3 -3
  779. package/lib/commonjs/mol-repr/structure/visual/element-point.js +3 -3
  780. package/lib/commonjs/mol-repr/structure/visual/element-sphere.d.ts +4 -0
  781. package/lib/commonjs/mol-repr/structure/visual/element-sphere.js +7 -7
  782. package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.d.ts +1 -0
  783. package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.js +3 -3
  784. package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.d.ts +2 -0
  785. package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.js +3 -3
  786. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +4 -0
  787. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.js +7 -7
  788. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.js +2 -2
  789. package/lib/commonjs/mol-repr/structure/visual/label-text.js +2 -2
  790. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +1 -0
  791. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.js +3 -3
  792. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.js +2 -2
  793. package/lib/commonjs/mol-repr/structure/visual/nucleotide-atomic-bond.d.ts +2 -0
  794. package/lib/commonjs/mol-repr/structure/visual/nucleotide-atomic-bond.js +4 -4
  795. package/lib/commonjs/mol-repr/structure/visual/nucleotide-atomic-element.d.ts +2 -0
  796. package/lib/commonjs/mol-repr/structure/visual/nucleotide-atomic-element.js +4 -4
  797. package/lib/commonjs/mol-repr/structure/visual/nucleotide-atomic-ring-fill.d.ts +1 -0
  798. package/lib/commonjs/mol-repr/structure/visual/nucleotide-atomic-ring-fill.js +2 -2
  799. package/lib/commonjs/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +1 -0
  800. package/lib/commonjs/mol-repr/structure/visual/nucleotide-block-mesh.js +2 -2
  801. package/lib/commonjs/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +1 -0
  802. package/lib/commonjs/mol-repr/structure/visual/nucleotide-ring-mesh.js +2 -2
  803. package/lib/commonjs/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +1 -0
  804. package/lib/commonjs/mol-repr/structure/visual/orientation-ellipsoid-mesh.js +3 -3
  805. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +2 -0
  806. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.js +4 -4
  807. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -0
  808. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.js +4 -4
  809. package/lib/commonjs/mol-repr/structure/visual/polymer-direction-wedge.d.ts +1 -0
  810. package/lib/commonjs/mol-repr/structure/visual/polymer-direction-wedge.js +2 -2
  811. package/lib/commonjs/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +1 -0
  812. package/lib/commonjs/mol-repr/structure/visual/polymer-gap-cylinder.js +2 -2
  813. package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.d.ts +1 -0
  814. package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.js +2 -2
  815. package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.d.ts +1 -0
  816. package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.js +2 -2
  817. package/lib/commonjs/mol-repr/structure/visual/util/bond.js +8 -8
  818. package/lib/commonjs/mol-repr/structure/visual/util/common.js +14 -14
  819. package/lib/commonjs/mol-repr/structure/visual/util/element.js +10 -10
  820. package/lib/commonjs/mol-repr/structure/visual/util/gaussian.js +8 -8
  821. package/lib/commonjs/mol-repr/structure/visual/util/link.js +5 -5
  822. package/lib/commonjs/mol-repr/structure/visual/util/molecular-surface.js +2 -3
  823. package/lib/commonjs/mol-repr/structure/visual/util/nucleotide.d.ts +60 -60
  824. package/lib/commonjs/mol-repr/structure/visual/util/nucleotide.js +11 -11
  825. package/lib/commonjs/mol-repr/structure/visual/util/polymer/backbone.js +3 -4
  826. package/lib/commonjs/mol-repr/structure/visual/util/polymer/curve-segment.js +5 -6
  827. package/lib/commonjs/mol-repr/structure/visual/util/polymer/gap-iterator.js +2 -2
  828. package/lib/commonjs/mol-repr/structure/visual/util/polymer/trace-iterator.js +2 -2
  829. package/lib/commonjs/mol-repr/structure/visual/util/polymer.js +8 -8
  830. package/lib/commonjs/mol-repr/util.js +3 -3
  831. package/lib/commonjs/mol-repr/volume/direct-volume.d.ts +48 -45
  832. package/lib/commonjs/mol-repr/volume/direct-volume.js +9 -9
  833. package/lib/commonjs/mol-repr/volume/isosurface.d.ts +95 -90
  834. package/lib/commonjs/mol-repr/volume/isosurface.js +10 -10
  835. package/lib/commonjs/mol-repr/volume/registry.d.ts +63 -60
  836. package/lib/commonjs/mol-repr/volume/representation.js +4 -4
  837. package/lib/commonjs/mol-repr/volume/segment.d.ts +80 -75
  838. package/lib/commonjs/mol-repr/volume/segment.js +8 -8
  839. package/lib/commonjs/mol-repr/volume/slice.d.ts +45 -45
  840. package/lib/commonjs/mol-repr/volume/slice.js +5 -5
  841. package/lib/commonjs/mol-repr/volume/util.js +5 -6
  842. package/lib/commonjs/mol-script/language/expression-formatter.js +1 -2
  843. package/lib/commonjs/mol-script/language/helpers.js +3 -4
  844. package/lib/commonjs/mol-script/language/parser.js +1 -2
  845. package/lib/commonjs/mol-script/language/symbol-table/core.d.ts +1 -1
  846. package/lib/commonjs/mol-script/language/symbol.js +5 -5
  847. package/lib/commonjs/mol-script/runtime/query/base.js +2 -2
  848. package/lib/commonjs/mol-script/script/mol-script/script-macro.js +4 -5
  849. package/lib/commonjs/mol-script/script/mol-script/symbols.js +3 -3
  850. package/lib/commonjs/mol-script/script.js +1 -2
  851. package/lib/commonjs/mol-script/transpile.js +1 -2
  852. package/lib/commonjs/mol-script/transpilers/helper.js +28 -28
  853. package/lib/commonjs/mol-script/transpilers/jmol/properties.js +2 -2
  854. package/lib/commonjs/mol-script/transpilers/vmd/properties.js +2 -2
  855. package/lib/commonjs/mol-script/util/id-list.js +1 -2
  856. package/lib/commonjs/mol-state/object.d.ts +4 -4
  857. package/lib/commonjs/mol-state/state.d.ts +4 -4
  858. package/lib/commonjs/mol-state/transform.d.ts +1 -1
  859. package/lib/commonjs/mol-state/transformer.d.ts +1 -1
  860. package/lib/commonjs/mol-task/execution/observable.js +4 -5
  861. package/lib/commonjs/mol-task/util/chunked.js +1 -2
  862. package/lib/commonjs/mol-task/util/multistep.js +1 -2
  863. package/lib/commonjs/mol-task/util/scheduler.d.ts +0 -1
  864. package/lib/commonjs/mol-theme/clipping.js +1 -2
  865. package/lib/commonjs/mol-theme/color/atom-id.d.ts +2 -2
  866. package/lib/commonjs/mol-theme/color/atom-id.js +3 -3
  867. package/lib/commonjs/mol-theme/color/carbohydrate-symbol.js +3 -3
  868. package/lib/commonjs/mol-theme/color/cartoon.js +3 -3
  869. package/lib/commonjs/mol-theme/color/chain-id.d.ts +2 -2
  870. package/lib/commonjs/mol-theme/color/chain-id.js +3 -3
  871. package/lib/commonjs/mol-theme/color/element-index.d.ts +2 -2
  872. package/lib/commonjs/mol-theme/color/element-index.js +3 -3
  873. package/lib/commonjs/mol-theme/color/element-symbol.js +4 -4
  874. package/lib/commonjs/mol-theme/color/entity-id.d.ts +2 -2
  875. package/lib/commonjs/mol-theme/color/entity-id.js +3 -3
  876. package/lib/commonjs/mol-theme/color/entity-source.d.ts +2 -2
  877. package/lib/commonjs/mol-theme/color/entity-source.js +3 -3
  878. package/lib/commonjs/mol-theme/color/external-volume.d.ts +2 -2
  879. package/lib/commonjs/mol-theme/color/external-volume.js +2 -2
  880. package/lib/commonjs/mol-theme/color/hydrophobicity.js +4 -4
  881. package/lib/commonjs/mol-theme/color/illustrative.js +3 -3
  882. package/lib/commonjs/mol-theme/color/model-index.d.ts +2 -2
  883. package/lib/commonjs/mol-theme/color/model-index.js +3 -3
  884. package/lib/commonjs/mol-theme/color/molecule-type.js +4 -4
  885. package/lib/commonjs/mol-theme/color/occupancy.js +4 -4
  886. package/lib/commonjs/mol-theme/color/operator-hkl.d.ts +2 -2
  887. package/lib/commonjs/mol-theme/color/operator-hkl.js +3 -3
  888. package/lib/commonjs/mol-theme/color/operator-name.d.ts +2 -2
  889. package/lib/commonjs/mol-theme/color/operator-name.js +3 -3
  890. package/lib/commonjs/mol-theme/color/partial-charge.js +3 -3
  891. package/lib/commonjs/mol-theme/color/polymer-id.d.ts +2 -2
  892. package/lib/commonjs/mol-theme/color/polymer-id.js +3 -3
  893. package/lib/commonjs/mol-theme/color/polymer-index.d.ts +2 -2
  894. package/lib/commonjs/mol-theme/color/polymer-index.js +3 -3
  895. package/lib/commonjs/mol-theme/color/residue-name.js +4 -4
  896. package/lib/commonjs/mol-theme/color/secondary-structure.js +4 -4
  897. package/lib/commonjs/mol-theme/color/sequence-id.js +3 -3
  898. package/lib/commonjs/mol-theme/color/shape-group.js +3 -3
  899. package/lib/commonjs/mol-theme/color/structure-index.d.ts +2 -2
  900. package/lib/commonjs/mol-theme/color/structure-index.js +3 -3
  901. package/lib/commonjs/mol-theme/color/trajectory-index.d.ts +2 -2
  902. package/lib/commonjs/mol-theme/color/trajectory-index.js +3 -3
  903. package/lib/commonjs/mol-theme/color/uncertainty.js +4 -4
  904. package/lib/commonjs/mol-theme/color/uniform.js +3 -3
  905. package/lib/commonjs/mol-theme/color/unit-index.d.ts +2 -2
  906. package/lib/commonjs/mol-theme/color/unit-index.js +3 -3
  907. package/lib/commonjs/mol-theme/color/volume-segment.d.ts +2 -2
  908. package/lib/commonjs/mol-theme/color/volume-segment.js +3 -3
  909. package/lib/commonjs/mol-theme/color/volume-value.js +3 -3
  910. package/lib/commonjs/mol-theme/color.d.ts +16 -16
  911. package/lib/commonjs/mol-theme/color.js +2 -2
  912. package/lib/commonjs/mol-theme/emissive.js +1 -2
  913. package/lib/commonjs/mol-theme/label.js +11 -11
  914. package/lib/commonjs/mol-theme/overpaint.js +1 -2
  915. package/lib/commonjs/mol-theme/size/physical.js +4 -4
  916. package/lib/commonjs/mol-theme/size/shape-group.js +3 -3
  917. package/lib/commonjs/mol-theme/size/uncertainty.js +4 -4
  918. package/lib/commonjs/mol-theme/size/uniform.js +3 -3
  919. package/lib/commonjs/mol-theme/substance.js +1 -2
  920. package/lib/commonjs/mol-theme/theme.d.ts +3 -3
  921. package/lib/commonjs/mol-theme/transparency.js +1 -2
  922. package/lib/commonjs/mol-util/array.js +22 -23
  923. package/lib/commonjs/mol-util/binding.js +1 -2
  924. package/lib/commonjs/mol-util/clip.js +1 -2
  925. package/lib/commonjs/mol-util/color/color.js +6 -7
  926. package/lib/commonjs/mol-util/color/distinct.js +2 -2
  927. package/lib/commonjs/mol-util/color/lists.js +2 -2
  928. package/lib/commonjs/mol-util/color/palette.d.ts +4 -3
  929. package/lib/commonjs/mol-util/color/palette.js +2 -3
  930. package/lib/commonjs/mol-util/color/params.js +1 -2
  931. package/lib/commonjs/mol-util/color/scale.d.ts +2 -1
  932. package/lib/commonjs/mol-util/color/spaces/hcl.js +1 -2
  933. package/lib/commonjs/mol-util/color/spaces/lab.js +1 -2
  934. package/lib/commonjs/mol-util/data-source.d.ts +0 -1
  935. package/lib/commonjs/mol-util/data-source.js +7 -7
  936. package/lib/commonjs/mol-util/date.js +2 -3
  937. package/lib/commonjs/mol-util/debug.js +7 -7
  938. package/lib/commonjs/mol-util/download.js +1 -2
  939. package/lib/commonjs/mol-util/file-info.js +1 -2
  940. package/lib/commonjs/mol-util/id-factory.js +1 -2
  941. package/lib/commonjs/mol-util/index.js +13 -13
  942. package/lib/commonjs/mol-util/input/event-offset.js +1 -2
  943. package/lib/commonjs/mol-util/input/input-observer.js +4 -4
  944. package/lib/commonjs/mol-util/is-little-endian.js +1 -2
  945. package/lib/commonjs/mol-util/json.js +2 -3
  946. package/lib/commonjs/mol-util/legend.js +2 -3
  947. package/lib/commonjs/mol-util/make-dir.js +1 -2
  948. package/lib/commonjs/mol-util/map.js +1 -2
  949. package/lib/commonjs/mol-util/marker-action.js +6 -6
  950. package/lib/commonjs/mol-util/mask.js +2 -2
  951. package/lib/commonjs/mol-util/material.js +1 -2
  952. package/lib/commonjs/mol-util/memoize.js +2 -3
  953. package/lib/commonjs/mol-util/nodejs-shims.d.ts +1 -1
  954. package/lib/commonjs/mol-util/now.js +2 -2
  955. package/lib/commonjs/mol-util/number-packing.js +3 -4
  956. package/lib/commonjs/mol-util/number.js +7 -8
  957. package/lib/commonjs/mol-util/object.js +14 -15
  958. package/lib/commonjs/mol-util/param-mapping.js +1 -2
  959. package/lib/commonjs/mol-util/read.js +6 -7
  960. package/lib/commonjs/mol-util/reference-cache.js +3 -4
  961. package/lib/commonjs/mol-util/retry-if.js +1 -2
  962. package/lib/commonjs/mol-util/sleep.js +1 -2
  963. package/lib/commonjs/mol-util/string.js +18 -18
  964. package/lib/commonjs/mol-util/type-helpers.js +3 -4
  965. package/lib/commonjs/mol-util/url.js +2 -3
  966. package/lib/commonjs/mol-util/zip/bin.js +9 -10
  967. package/lib/commonjs/mol-util/zip/checksum.js +2 -3
  968. package/lib/commonjs/mol-util/zip/deflate.js +1 -2
  969. package/lib/commonjs/mol-util/zip/huffman.js +1 -2
  970. package/lib/commonjs/mol-util/zip/inflate.js +1 -2
  971. package/lib/commonjs/mol-util/zip/util.js +4 -4
  972. package/lib/commonjs/mol-util/zip/zip.js +8 -9
  973. package/lib/commonjs/servers/common/file-handle.js +1 -2
  974. package/lib/commonjs/servers/common/swagger-ui/index.js +2 -3
  975. package/lib/commonjs/servers/common/swagger-ui/indexTemplate.js +66 -66
  976. package/lib/commonjs/servers/common/util.js +1 -2
  977. package/lib/commonjs/servers/model/config.d.ts +4 -4
  978. package/lib/commonjs/servers/model/config.js +2 -2
  979. package/lib/commonjs/servers/model/preprocess/converter.js +1 -2
  980. package/lib/commonjs/servers/model/preprocess/parallel.js +2 -3
  981. package/lib/commonjs/servers/model/preprocess/preprocess.js +1 -2
  982. package/lib/commonjs/servers/model/preprocess/util.js +2 -3
  983. package/lib/commonjs/servers/model/property-provider.js +2 -3
  984. package/lib/commonjs/servers/model/query/atoms.js +1 -2
  985. package/lib/commonjs/servers/model/server/api-local.js +1 -2
  986. package/lib/commonjs/servers/model/server/api-schema.js +2 -2
  987. package/lib/commonjs/servers/model/server/api-web-multiple.js +1 -2
  988. package/lib/commonjs/servers/model/server/api-web.js +2 -3
  989. package/lib/commonjs/servers/model/server/api.js +4 -4
  990. package/lib/commonjs/servers/model/server/jobs.js +3 -3
  991. package/lib/commonjs/servers/model/server/query.js +2 -3
  992. package/lib/commonjs/servers/model/server/structure-wrapper.js +6 -6
  993. package/lib/commonjs/servers/model/utils/fetch-retry.js +1 -2
  994. package/lib/commonjs/servers/model/utils/tar.d.ts +0 -1
  995. package/lib/commonjs/servers/model/utils/tar.js +2 -2
  996. package/lib/commonjs/servers/plugin-state/api-schema.js +2 -2
  997. package/lib/commonjs/servers/plugin-state/config.js +1 -2
  998. package/lib/commonjs/servers/volume/common/binary-schema.d.ts +0 -1
  999. package/lib/commonjs/servers/volume/common/binary-schema.js +5 -5
  1000. package/lib/commonjs/servers/volume/common/data-format.d.ts +0 -1
  1001. package/lib/commonjs/servers/volume/common/data-format.js +2 -3
  1002. package/lib/commonjs/servers/volume/common/file.js +4 -5
  1003. package/lib/commonjs/servers/volume/config.d.ts +1 -5
  1004. package/lib/commonjs/servers/volume/config.js +8 -8
  1005. package/lib/commonjs/servers/volume/pack/data-model.js +2 -3
  1006. package/lib/commonjs/servers/volume/pack/downsampling.js +2 -3
  1007. package/lib/commonjs/servers/volume/pack/format/ccp4.js +2 -2
  1008. package/lib/commonjs/servers/volume/pack/format/dsn6.js +2 -2
  1009. package/lib/commonjs/servers/volume/pack/format.js +4 -5
  1010. package/lib/commonjs/servers/volume/pack/main.js +1 -2
  1011. package/lib/commonjs/servers/volume/pack/sampling.js +2 -3
  1012. package/lib/commonjs/servers/volume/pack/writer.js +1 -2
  1013. package/lib/commonjs/servers/volume/server/algebra/box.js +14 -15
  1014. package/lib/commonjs/servers/volume/server/algebra/coordinate.js +17 -18
  1015. package/lib/commonjs/servers/volume/server/api.js +3 -4
  1016. package/lib/commonjs/servers/volume/server/local-api.js +1 -2
  1017. package/lib/commonjs/servers/volume/server/query/compose.js +1 -2
  1018. package/lib/commonjs/servers/volume/server/query/encode.js +1 -2
  1019. package/lib/commonjs/servers/volume/server/query/execute.js +1 -2
  1020. package/lib/commonjs/servers/volume/server/query/identify.js +1 -2
  1021. package/lib/commonjs/servers/volume/server/web-api.js +1 -2
  1022. package/lib/commonjs/servers/volume/server/web-schema.js +2 -2
  1023. package/lib/examples/alpha-orbitals/example-data.js +160 -160
  1024. package/lib/examples/alpha-orbitals/index.html +72 -72
  1025. package/lib/examples/basic-wrapper/index.html +137 -137
  1026. package/lib/examples/lighting/index.d.ts +1 -1
  1027. package/lib/examples/lighting/index.html +88 -88
  1028. package/lib/examples/lighting/index.js +2 -1
  1029. package/lib/examples/proteopedia-wrapper/coloring.d.ts +5 -20
  1030. package/lib/examples/proteopedia-wrapper/index.html +236 -236
  1031. package/lib/extensions/alpha-orbitals/gpu/shader.frag.js +136 -136
  1032. package/lib/extensions/alpha-orbitals/transforms.d.ts +3 -3
  1033. package/lib/extensions/anvil/behavior.d.ts +1 -0
  1034. package/lib/extensions/anvil/representation.d.ts +4 -0
  1035. package/lib/extensions/assembly-symmetry/behavior.d.ts +1 -0
  1036. package/lib/extensions/assembly-symmetry/color.d.ts +2 -2
  1037. package/lib/extensions/assembly-symmetry/prop.js +24 -24
  1038. package/lib/extensions/assembly-symmetry/representation.d.ts +1 -0
  1039. package/lib/extensions/dnatco/confal-pyramids/behavior.js +5 -5
  1040. package/lib/extensions/dnatco/confal-pyramids/representation.d.ts +3 -0
  1041. package/lib/extensions/dnatco/ntc-tube/behavior.js +5 -5
  1042. package/lib/extensions/dnatco/ntc-tube/representation.d.ts +3 -0
  1043. package/lib/extensions/g3d/format.d.ts +3 -3
  1044. package/lib/extensions/geo-export/mesh-exporter.d.ts +2 -2
  1045. package/lib/extensions/geo-export/ui.d.ts +0 -1
  1046. package/lib/extensions/geo-export/usdz-exporter.js +41 -41
  1047. package/lib/extensions/meshes/mesh-extension.d.ts +3 -6
  1048. package/lib/extensions/meshes/mesh-streaming/behavior.d.ts +3 -3
  1049. package/lib/extensions/meshes/mesh-streaming/server-info.d.ts +3 -3
  1050. package/lib/extensions/model-archive/quality-assessment/color/plddt.d.ts +1 -1
  1051. package/lib/extensions/model-archive/quality-assessment/color/plddt.js +8 -5
  1052. package/lib/extensions/model-export/ui.d.ts +0 -1
  1053. package/lib/extensions/mp4-export/controls.d.ts +1 -1
  1054. package/lib/extensions/mp4-export/ui.d.ts +0 -1
  1055. package/lib/extensions/mvs/components/annotation-label/representation.d.ts +32 -32
  1056. package/lib/extensions/mvs/components/annotation-label/visual.d.ts +16 -16
  1057. package/lib/extensions/mvs/components/custom-label/representation.d.ts +32 -32
  1058. package/lib/extensions/mvs/components/custom-label/visual.d.ts +16 -16
  1059. package/lib/extensions/mvs/components/formats.d.ts +6 -6
  1060. package/lib/extensions/mvs/helpers/indexing.d.ts +2 -2
  1061. package/lib/extensions/mvs/helpers/schemas.d.ts +1 -1
  1062. package/lib/extensions/mvs/helpers/utils.d.ts +1 -1
  1063. package/lib/extensions/mvs/load-helpers.d.ts +1 -1
  1064. package/lib/extensions/mvs/tree/mvs/mvs-builder.d.ts +0 -8
  1065. package/lib/extensions/rcsb/validation-report/representation.d.ts +5 -0
  1066. package/lib/extensions/sb-ncbr/tunnels/data-model.d.ts +6 -6
  1067. package/lib/extensions/volumes-and-segmentations/entry-root.d.ts +3 -3
  1068. package/lib/extensions/volumes-and-segmentations/entry-state.d.ts +3 -3
  1069. package/lib/extensions/volumes-and-segmentations/global-state.d.ts +3 -3
  1070. package/lib/extensions/volumes-and-segmentations/ui.d.ts +0 -1
  1071. package/lib/extensions/zenodo/ui.d.ts +0 -1
  1072. package/lib/mol-canvas3d/camera/transition.d.ts +1 -1
  1073. package/lib/mol-canvas3d/camera/transition.js +23 -6
  1074. package/lib/mol-canvas3d/canvas3d.d.ts +9 -1
  1075. package/lib/mol-canvas3d/helper/bounding-sphere-helper.d.ts +1 -6
  1076. package/lib/mol-canvas3d/helper/handle-helper.d.ts +1 -0
  1077. package/lib/mol-canvas3d/helper/helper.d.ts +2 -0
  1078. package/lib/mol-canvas3d/passes/image.d.ts +2 -0
  1079. package/lib/mol-canvas3d/passes/multi-sample.d.ts +2 -1
  1080. package/lib/mol-canvas3d/passes/multi-sample.js +4 -3
  1081. package/lib/mol-canvas3d/passes/postprocessing.d.ts +1 -0
  1082. package/lib/mol-canvas3d/passes/postprocessing.js +5 -0
  1083. package/lib/mol-data/db/column.d.ts +1 -1
  1084. package/lib/mol-geo/geometry/base.d.ts +1 -1
  1085. package/lib/mol-geo/geometry/cylinders/cylinders.d.ts +1 -0
  1086. package/lib/mol-geo/geometry/cylinders/cylinders.js +3 -0
  1087. package/lib/mol-geo/geometry/direct-volume/direct-volume.d.ts +1 -0
  1088. package/lib/mol-geo/geometry/direct-volume/direct-volume.js +3 -0
  1089. package/lib/mol-geo/geometry/image/image.d.ts +1 -1
  1090. package/lib/mol-geo/geometry/mesh/mesh.d.ts +1 -0
  1091. package/lib/mol-geo/geometry/mesh/mesh.js +3 -0
  1092. package/lib/mol-geo/geometry/points/points.d.ts +1 -1
  1093. package/lib/mol-geo/geometry/spheres/spheres.d.ts +1 -0
  1094. package/lib/mol-geo/geometry/spheres/spheres.js +3 -0
  1095. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +1 -0
  1096. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js +3 -0
  1097. package/lib/mol-gl/renderable/cylinders.d.ts +1 -0
  1098. package/lib/mol-gl/renderable/cylinders.js +1 -0
  1099. package/lib/mol-gl/renderable/direct-volume.d.ts +1 -0
  1100. package/lib/mol-gl/renderable/direct-volume.js +1 -0
  1101. package/lib/mol-gl/renderable/mesh.d.ts +1 -0
  1102. package/lib/mol-gl/renderable/mesh.js +1 -0
  1103. package/lib/mol-gl/renderable/schema.d.ts +1 -0
  1104. package/lib/mol-gl/renderable/schema.js +1 -0
  1105. package/lib/mol-gl/renderable/spheres.d.ts +1 -0
  1106. package/lib/mol-gl/renderable/spheres.js +1 -0
  1107. package/lib/mol-gl/renderable/texture-mesh.d.ts +1 -0
  1108. package/lib/mol-gl/renderable/texture-mesh.js +1 -0
  1109. package/lib/mol-gl/renderer.d.ts +1 -0
  1110. package/lib/mol-gl/renderer.js +6 -0
  1111. package/lib/mol-gl/shader/background.frag.js +95 -95
  1112. package/lib/mol-gl/shader/background.vert.js +11 -11
  1113. package/lib/mol-gl/shader/blend-back-dpoit.frag.js +13 -13
  1114. package/lib/mol-gl/shader/bloom/blur.frag.js +28 -28
  1115. package/lib/mol-gl/shader/bloom/composite.frag.js +33 -33
  1116. package/lib/mol-gl/shader/bloom/luminosity.frag.js +52 -52
  1117. package/lib/mol-gl/shader/cas.frag.js +144 -144
  1118. package/lib/mol-gl/shader/chunks/apply-fog.glsl.js +31 -31
  1119. package/lib/mol-gl/shader/chunks/apply-interior-color.glsl.js +12 -12
  1120. package/lib/mol-gl/shader/chunks/apply-light-color.glsl.d.ts +2 -1
  1121. package/lib/mol-gl/shader/chunks/apply-light-color.glsl.js +110 -77
  1122. package/lib/mol-gl/shader/chunks/apply-marker-color.glsl.js +16 -16
  1123. package/lib/mol-gl/shader/chunks/assign-clipping-varying.glsl.js +8 -8
  1124. package/lib/mol-gl/shader/chunks/assign-color-varying.glsl.js +140 -140
  1125. package/lib/mol-gl/shader/chunks/assign-group.glsl.js +6 -6
  1126. package/lib/mol-gl/shader/chunks/assign-marker-varying.glsl.js +8 -8
  1127. package/lib/mol-gl/shader/chunks/assign-material-color.glsl.js +112 -112
  1128. package/lib/mol-gl/shader/chunks/assign-position.glsl.js +14 -14
  1129. package/lib/mol-gl/shader/chunks/assign-size.glsl.js +18 -18
  1130. package/lib/mol-gl/shader/chunks/check-picking-alpha.glsl.js +12 -12
  1131. package/lib/mol-gl/shader/chunks/check-transparency.glsl.js +16 -16
  1132. package/lib/mol-gl/shader/chunks/clip-instance.glsl.js +7 -7
  1133. package/lib/mol-gl/shader/chunks/clip-pixel.glsl.js +5 -5
  1134. package/lib/mol-gl/shader/chunks/color-frag-params.glsl.js +60 -60
  1135. package/lib/mol-gl/shader/chunks/color-vert-params.glsl.js +122 -122
  1136. package/lib/mol-gl/shader/chunks/common-clip.glsl.js +104 -104
  1137. package/lib/mol-gl/shader/chunks/common-frag-params.glsl.d.ts +1 -1
  1138. package/lib/mol-gl/shader/chunks/common-frag-params.glsl.js +151 -150
  1139. package/lib/mol-gl/shader/chunks/common-vert-params.glsl.js +61 -61
  1140. package/lib/mol-gl/shader/chunks/common.glsl.d.ts +1 -1
  1141. package/lib/mol-gl/shader/chunks/common.glsl.js +240 -234
  1142. package/lib/mol-gl/shader/chunks/dpoit-write.glsl.js +62 -62
  1143. package/lib/mol-gl/shader/chunks/fade-lod.glsl.js +42 -42
  1144. package/lib/mol-gl/shader/chunks/float-to-rgba.glsl.js +39 -39
  1145. package/lib/mol-gl/shader/chunks/light-frag-params.glsl.js +127 -127
  1146. package/lib/mol-gl/shader/chunks/matrix-scale.glsl.js +5 -5
  1147. package/lib/mol-gl/shader/chunks/normal-frag-params.glsl.js +2 -2
  1148. package/lib/mol-gl/shader/chunks/read-from-texture.glsl.js +14 -14
  1149. package/lib/mol-gl/shader/chunks/rgba-to-float.glsl.js +84 -84
  1150. package/lib/mol-gl/shader/chunks/size-vert-params.glsl.js +11 -11
  1151. package/lib/mol-gl/shader/chunks/texture3d-from-1d-trilinear.glsl.js +23 -23
  1152. package/lib/mol-gl/shader/chunks/texture3d-from-2d-linear.glsl.js +17 -17
  1153. package/lib/mol-gl/shader/chunks/texture3d-from-2d-nearest.glsl.js +8 -8
  1154. package/lib/mol-gl/shader/chunks/wboit-write.glsl.js +25 -25
  1155. package/lib/mol-gl/shader/compose.frag.js +12 -12
  1156. package/lib/mol-gl/shader/compute/color-smoothing/accumulate.frag.js +23 -23
  1157. package/lib/mol-gl/shader/compute/color-smoothing/accumulate.vert.js +43 -43
  1158. package/lib/mol-gl/shader/compute/color-smoothing/normalize.frag.js +15 -15
  1159. package/lib/mol-gl/shader/copy.frag.js +11 -11
  1160. package/lib/mol-gl/shader/cylinders.frag.d.ts +2 -1
  1161. package/lib/mol-gl/shader/cylinders.frag.js +275 -266
  1162. package/lib/mol-gl/shader/cylinders.vert.js +89 -89
  1163. package/lib/mol-gl/shader/depth-merge.frag.js +23 -23
  1164. package/lib/mol-gl/shader/direct-volume.frag.d.ts +1 -1
  1165. package/lib/mol-gl/shader/direct-volume.frag.js +363 -362
  1166. package/lib/mol-gl/shader/direct-volume.vert.js +41 -41
  1167. package/lib/mol-gl/shader/dof.frag.js +112 -112
  1168. package/lib/mol-gl/shader/evaluate-dpoit.frag.js +10 -10
  1169. package/lib/mol-gl/shader/evaluate-wboit.frag.js +17 -17
  1170. package/lib/mol-gl/shader/fxaa.frag.js +228 -228
  1171. package/lib/mol-gl/shader/gaussian-density.frag.js +49 -49
  1172. package/lib/mol-gl/shader/gaussian-density.vert.js +27 -27
  1173. package/lib/mol-gl/shader/hi-z.frag.js +18 -18
  1174. package/lib/mol-gl/shader/histogram-pyramid/reduction.frag.js +58 -58
  1175. package/lib/mol-gl/shader/histogram-pyramid/sum.frag.js +19 -19
  1176. package/lib/mol-gl/shader/image.frag.js +169 -169
  1177. package/lib/mol-gl/shader/image.vert.js +21 -21
  1178. package/lib/mol-gl/shader/lines.frag.js +42 -42
  1179. package/lib/mol-gl/shader/lines.vert.js +117 -117
  1180. package/lib/mol-gl/shader/marching-cubes/active-voxels.frag.js +70 -70
  1181. package/lib/mol-gl/shader/marching-cubes/isosurface.frag.js +311 -311
  1182. package/lib/mol-gl/shader/marking/edge.frag.js +28 -28
  1183. package/lib/mol-gl/shader/marking/overlay.frag.js +26 -26
  1184. package/lib/mol-gl/shader/mesh.frag.js +65 -65
  1185. package/lib/mol-gl/shader/mesh.vert.js +49 -49
  1186. package/lib/mol-gl/shader/outlines.frag.js +95 -95
  1187. package/lib/mol-gl/shader/points.frag.js +59 -59
  1188. package/lib/mol-gl/shader/points.vert.js +38 -38
  1189. package/lib/mol-gl/shader/postprocessing.frag.js +150 -150
  1190. package/lib/mol-gl/shader/quad.vert.js +10 -10
  1191. package/lib/mol-gl/shader/shadows.frag.js +123 -123
  1192. package/lib/mol-gl/shader/smaa/blend.frag.js +56 -56
  1193. package/lib/mol-gl/shader/smaa/blend.vert.js +25 -25
  1194. package/lib/mol-gl/shader/smaa/edges.frag.js +66 -66
  1195. package/lib/mol-gl/shader/smaa/edges.vert.js +26 -26
  1196. package/lib/mol-gl/shader/smaa/weights.frag.js +206 -206
  1197. package/lib/mol-gl/shader/smaa/weights.vert.js +32 -32
  1198. package/lib/mol-gl/shader/spheres.frag.js +148 -148
  1199. package/lib/mol-gl/shader/spheres.vert.js +132 -132
  1200. package/lib/mol-gl/shader/ssao-blur.frag.d.ts +1 -1
  1201. package/lib/mol-gl/shader/ssao-blur.frag.js +100 -97
  1202. package/lib/mol-gl/shader/ssao.frag.js +211 -211
  1203. package/lib/mol-gl/shader/text.frag.js +85 -85
  1204. package/lib/mol-gl/shader/text.vert.js +85 -85
  1205. package/lib/mol-gl/shader/util/grid3d-template.frag.js +46 -46
  1206. package/lib/mol-gl/shader-code.js +16 -16
  1207. package/lib/mol-gl/webgl/compat.js +12 -12
  1208. package/lib/mol-gl/webgl/render-item.d.ts +2 -2
  1209. package/lib/mol-io/common/simple-buffer.d.ts +0 -1
  1210. package/lib/mol-io/reader/cif/schema/bird.d.ts +1 -1
  1211. package/lib/mol-io/reader/cif/schema/bird.js +1 -1
  1212. package/lib/mol-io/reader/cif/schema/ccd.d.ts +1 -1
  1213. package/lib/mol-io/reader/cif/schema/ccd.js +1 -1
  1214. package/lib/mol-io/reader/cif/schema/mmcif.d.ts +9 -1
  1215. package/lib/mol-io/reader/cif/schema/mmcif.js +9 -1
  1216. package/lib/mol-io/reader/common/text/column/fixed.d.ts +1 -1
  1217. package/lib/mol-io/reader/common/text/column/token.d.ts +1 -1
  1218. package/lib/mol-io/reader/ply/schema.d.ts +1 -1
  1219. package/lib/mol-model/loci.d.ts +1 -1
  1220. package/lib/mol-model/sequence/alignment/alignment.d.ts +2 -1
  1221. package/lib/mol-model/structure/model/types/saccharides.js +1 -1
  1222. package/lib/mol-model/structure/model/types.d.ts +3 -3
  1223. package/lib/mol-model/structure/query/queries/generators.js +2 -2
  1224. package/lib/mol-model/structure/structure/properties.d.ts +1 -0
  1225. package/lib/mol-model/structure/structure/properties.js +1 -0
  1226. package/lib/mol-model/volume/volume.d.ts +6 -6
  1227. package/lib/mol-model-formats/shape/ply.d.ts +2 -0
  1228. package/lib/mol-model-formats/structure/basic/schema.d.ts +1 -0
  1229. package/lib/mol-model-formats/structure/common/entity.d.ts +1 -0
  1230. package/lib/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +1 -0
  1231. package/lib/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +1 -0
  1232. package/lib/mol-model-props/computed/representations/interactions.d.ts +3 -0
  1233. package/lib/mol-model-props/integrative/cross-link-restraint/representation.d.ts +4 -0
  1234. package/lib/mol-model-props/sequence/themes/sifts-mapping.d.ts +2 -2
  1235. package/lib/mol-plugin/behavior/behavior.d.ts +9 -9
  1236. package/lib/mol-plugin/behavior/dynamic/volume-streaming/behavior.d.ts +3 -3
  1237. package/lib/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +4 -4
  1238. package/lib/mol-plugin/commands.d.ts +23 -87
  1239. package/lib/mol-plugin/context.d.ts +3 -2
  1240. package/lib/mol-plugin/context.js +4 -2
  1241. package/lib/mol-plugin/state.d.ts +7 -7
  1242. package/lib/mol-plugin/util/headless-screenshot.d.ts +1 -1
  1243. package/lib/mol-plugin/util/headless-screenshot.js +3 -1
  1244. package/lib/mol-plugin/util/viewport-screenshot.d.ts +1 -1
  1245. package/lib/mol-plugin/util/viewport-screenshot.js +2 -1
  1246. package/lib/mol-plugin/version.js +2 -2
  1247. package/lib/mol-plugin-state/actions/volume.d.ts +1 -1
  1248. package/lib/mol-plugin-state/actions/volume.js +4 -12
  1249. package/lib/mol-plugin-state/animation/built-in/model-index.d.ts +2 -2
  1250. package/lib/mol-plugin-state/formats/registry.d.ts +1 -1
  1251. package/lib/mol-plugin-state/formats/trajectory.d.ts +9 -9
  1252. package/lib/mol-plugin-state/formats/volume.d.ts +0 -1
  1253. package/lib/mol-plugin-state/manager/structure/hierarchy.d.ts +3 -3
  1254. package/lib/mol-plugin-state/manager/structure/measurement.d.ts +4 -0
  1255. package/lib/mol-plugin-state/objects.d.ts +97 -97
  1256. package/lib/mol-plugin-state/transforms/data.d.ts +10 -1
  1257. package/lib/mol-plugin-state/transforms/data.js +30 -1
  1258. package/lib/mol-plugin-state/transforms/representation.d.ts +6 -0
  1259. package/lib/mol-plugin-ui/base.js +2 -1
  1260. package/lib/mol-plugin-ui/controls/icons.d.ts +5 -0
  1261. package/lib/mol-plugin-ui/controls/icons.js +10 -0
  1262. package/lib/mol-plugin-ui/controls/parameters.d.ts +3 -3
  1263. package/lib/mol-plugin-ui/controls.js +1 -1
  1264. package/lib/mol-plugin-ui/left-panel.d.ts +0 -1
  1265. package/lib/mol-plugin-ui/plugin.js +3 -2
  1266. package/lib/mol-plugin-ui/skin/base/base.scss +37 -37
  1267. package/lib/mol-plugin-ui/skin/base/components/controls-base.scss +333 -333
  1268. package/lib/mol-plugin-ui/skin/base/components/controls.scss +451 -445
  1269. package/lib/mol-plugin-ui/skin/base/components/help.scss +27 -27
  1270. package/lib/mol-plugin-ui/skin/base/components/line-graph.scss +67 -67
  1271. package/lib/mol-plugin-ui/skin/base/components/log.scss +100 -100
  1272. package/lib/mol-plugin-ui/skin/base/components/misc.scss +663 -663
  1273. package/lib/mol-plugin-ui/skin/base/components/sequence.scss +125 -125
  1274. package/lib/mol-plugin-ui/skin/base/components/slider.scss +165 -165
  1275. package/lib/mol-plugin-ui/skin/base/components/tasks.scss +99 -99
  1276. package/lib/mol-plugin-ui/skin/base/components/toast.scss +83 -83
  1277. package/lib/mol-plugin-ui/skin/base/components/transformer.scss +163 -163
  1278. package/lib/mol-plugin-ui/skin/base/components/viewport.scss +194 -194
  1279. package/lib/mol-plugin-ui/skin/base/layout/common.scss +71 -71
  1280. package/lib/mol-plugin-ui/skin/base/layout/controls-landscape.scss +89 -89
  1281. package/lib/mol-plugin-ui/skin/base/layout/controls-outside.scss +98 -98
  1282. package/lib/mol-plugin-ui/skin/base/layout/controls-portrait.scss +108 -108
  1283. package/lib/mol-plugin-ui/skin/base/layout.scss +40 -40
  1284. package/lib/mol-plugin-ui/skin/base/logo.scss +12 -12
  1285. package/lib/mol-plugin-ui/skin/base/normalize.scss +209 -209
  1286. package/lib/mol-plugin-ui/skin/base/ui.scss +40 -40
  1287. package/lib/mol-plugin-ui/skin/base/variables.scss +88 -88
  1288. package/lib/mol-plugin-ui/skin/blue.scss +1 -1
  1289. package/lib/mol-plugin-ui/skin/colors/blue.scss +23 -23
  1290. package/lib/mol-plugin-ui/skin/colors/dark.scss +23 -23
  1291. package/lib/mol-plugin-ui/skin/colors/light.scss +29 -29
  1292. package/lib/mol-plugin-ui/skin/dark.scss +1 -1
  1293. package/lib/mol-plugin-ui/skin/light.scss +1 -1
  1294. package/lib/mol-plugin-ui/spec.d.ts +10 -10
  1295. package/lib/mol-plugin-ui/spec.js +1 -1
  1296. package/lib/mol-plugin-ui/state/apply-action.d.ts +1 -1
  1297. package/lib/mol-plugin-ui/state/update-transform.d.ts +1 -1
  1298. package/lib/mol-plugin-ui/structure/quick-styles.d.ts +2 -1
  1299. package/lib/mol-plugin-ui/structure/quick-styles.js +5 -2
  1300. package/lib/mol-plugin-ui/structure/selection.d.ts +2 -2
  1301. package/lib/mol-repr/representation.d.ts +3 -3
  1302. package/lib/mol-repr/shape/loci/angle.d.ts +1 -0
  1303. package/lib/mol-repr/shape/loci/dihedral.d.ts +1 -0
  1304. package/lib/mol-repr/shape/loci/orientation.d.ts +1 -0
  1305. package/lib/mol-repr/shape/loci/plane.d.ts +1 -0
  1306. package/lib/mol-repr/shape/model/unitcell.d.ts +1 -0
  1307. package/lib/mol-repr/structure/complex-visual.d.ts +5 -0
  1308. package/lib/mol-repr/structure/params.d.ts +5 -0
  1309. package/lib/mol-repr/structure/registry.d.ts +11 -0
  1310. package/lib/mol-repr/structure/representation/backbone.d.ts +3 -0
  1311. package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +3 -0
  1312. package/lib/mol-repr/structure/representation/carbohydrate.d.ts +3 -0
  1313. package/lib/mol-repr/structure/representation/cartoon.d.ts +3 -0
  1314. package/lib/mol-repr/structure/representation/ellipsoid.d.ts +3 -0
  1315. package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +3 -0
  1316. package/lib/mol-repr/structure/representation/gaussian-volume.d.ts +3 -0
  1317. package/lib/mol-repr/structure/representation/molecular-surface.d.ts +3 -0
  1318. package/lib/mol-repr/structure/representation/orientation.d.ts +3 -0
  1319. package/lib/mol-repr/structure/representation/putty.d.ts +3 -0
  1320. package/lib/mol-repr/structure/representation/spacefill.d.ts +3 -0
  1321. package/lib/mol-repr/structure/units-visual.d.ts +5 -0
  1322. package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +2 -0
  1323. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +2 -0
  1324. package/lib/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +1 -0
  1325. package/lib/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +1 -0
  1326. package/lib/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +1 -0
  1327. package/lib/mol-repr/structure/visual/element-sphere.d.ts +4 -0
  1328. package/lib/mol-repr/structure/visual/ellipsoid-mesh.d.ts +1 -0
  1329. package/lib/mol-repr/structure/visual/gaussian-density-volume.d.ts +2 -0
  1330. package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +4 -0
  1331. package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +1 -0
  1332. package/lib/mol-repr/structure/visual/nucleotide-atomic-bond.d.ts +2 -0
  1333. package/lib/mol-repr/structure/visual/nucleotide-atomic-element.d.ts +2 -0
  1334. package/lib/mol-repr/structure/visual/nucleotide-atomic-ring-fill.d.ts +1 -0
  1335. package/lib/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +1 -0
  1336. package/lib/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +1 -0
  1337. package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +1 -0
  1338. package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +2 -0
  1339. package/lib/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -0
  1340. package/lib/mol-repr/structure/visual/polymer-direction-wedge.d.ts +1 -0
  1341. package/lib/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +1 -0
  1342. package/lib/mol-repr/structure/visual/polymer-trace-mesh.d.ts +1 -0
  1343. package/lib/mol-repr/structure/visual/polymer-tube-mesh.d.ts +1 -0
  1344. package/lib/mol-repr/structure/visual/util/nucleotide.d.ts +60 -60
  1345. package/lib/mol-repr/volume/direct-volume.d.ts +48 -45
  1346. package/lib/mol-repr/volume/isosurface.d.ts +95 -90
  1347. package/lib/mol-repr/volume/registry.d.ts +63 -60
  1348. package/lib/mol-repr/volume/segment.d.ts +80 -75
  1349. package/lib/mol-repr/volume/slice.d.ts +45 -45
  1350. package/lib/mol-script/language/symbol-table/core.d.ts +1 -1
  1351. package/lib/mol-state/object.d.ts +4 -4
  1352. package/lib/mol-state/state.d.ts +4 -4
  1353. package/lib/mol-state/transform.d.ts +1 -1
  1354. package/lib/mol-state/transformer.d.ts +1 -1
  1355. package/lib/mol-task/util/scheduler.d.ts +0 -1
  1356. package/lib/mol-theme/color/atom-id.d.ts +2 -2
  1357. package/lib/mol-theme/color/chain-id.d.ts +2 -2
  1358. package/lib/mol-theme/color/element-index.d.ts +2 -2
  1359. package/lib/mol-theme/color/entity-id.d.ts +2 -2
  1360. package/lib/mol-theme/color/entity-source.d.ts +2 -2
  1361. package/lib/mol-theme/color/external-volume.d.ts +2 -2
  1362. package/lib/mol-theme/color/model-index.d.ts +2 -2
  1363. package/lib/mol-theme/color/operator-hkl.d.ts +2 -2
  1364. package/lib/mol-theme/color/operator-name.d.ts +2 -2
  1365. package/lib/mol-theme/color/polymer-id.d.ts +2 -2
  1366. package/lib/mol-theme/color/polymer-index.d.ts +2 -2
  1367. package/lib/mol-theme/color/structure-index.d.ts +2 -2
  1368. package/lib/mol-theme/color/trajectory-index.d.ts +2 -2
  1369. package/lib/mol-theme/color/unit-index.d.ts +2 -2
  1370. package/lib/mol-theme/color/volume-segment.d.ts +2 -2
  1371. package/lib/mol-theme/color.d.ts +16 -16
  1372. package/lib/mol-theme/theme.d.ts +3 -3
  1373. package/lib/mol-util/color/palette.d.ts +4 -3
  1374. package/lib/mol-util/color/scale.d.ts +2 -1
  1375. package/lib/mol-util/data-source.d.ts +0 -1
  1376. package/lib/mol-util/nodejs-shims.d.ts +1 -1
  1377. package/lib/servers/common/swagger-ui/indexTemplate.js +66 -66
  1378. package/lib/servers/model/config.d.ts +4 -4
  1379. package/lib/servers/model/utils/tar.d.ts +0 -1
  1380. package/lib/servers/volume/common/binary-schema.d.ts +0 -1
  1381. package/lib/servers/volume/common/data-format.d.ts +0 -1
  1382. package/lib/servers/volume/config.d.ts +1 -5
  1383. package/lib/servers/volume/config.js +5 -5
  1384. package/package.json +197 -196
@@ -5,7 +5,10 @@
5
5
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.PolymerBackboneSphereMeshVisual = exports.PolymerBackboneSphereImpostorVisual = exports.PolymerBackboneSphereVisual = exports.PolymerBackboneSphereParams = void 0;
8
+ exports.PolymerBackboneSphereParams = void 0;
9
+ exports.PolymerBackboneSphereVisual = PolymerBackboneSphereVisual;
10
+ exports.PolymerBackboneSphereImpostorVisual = PolymerBackboneSphereImpostorVisual;
11
+ exports.PolymerBackboneSphereMeshVisual = PolymerBackboneSphereMeshVisual;
9
12
  const param_definition_1 = require("../../../mol-util/param-definition");
10
13
  const structure_1 = require("../../../mol-model/structure");
11
14
  const mesh_1 = require("../../../mol-geo/geometry/mesh/mesh");
@@ -32,7 +35,6 @@ function PolymerBackboneSphereVisual(materialId, structure, props, webgl) {
32
35
  ? PolymerBackboneSphereImpostorVisual(materialId)
33
36
  : PolymerBackboneSphereMeshVisual(materialId);
34
37
  }
35
- exports.PolymerBackboneSphereVisual = PolymerBackboneSphereVisual;
36
38
  function createPolymerBackboneSphereImpostor(ctx, unit, structure, theme, props, spheres) {
37
39
  const polymerElementCount = unit.polymerElements.length;
38
40
  if (!polymerElementCount)
@@ -63,7 +65,6 @@ function PolymerBackboneSphereImpostorVisual(materialId) {
63
65
  }
64
66
  }, materialId);
65
67
  }
66
- exports.PolymerBackboneSphereImpostorVisual = PolymerBackboneSphereImpostorVisual;
67
68
  function createPolymerBackboneSphereMesh(ctx, unit, structure, theme, props, mesh) {
68
69
  const polymerElementCount = unit.polymerElements.length;
69
70
  if (!polymerElementCount)
@@ -102,4 +103,3 @@ function PolymerBackboneSphereMeshVisual(materialId) {
102
103
  }
103
104
  }, materialId);
104
105
  }
105
- exports.PolymerBackboneSphereMeshVisual = PolymerBackboneSphereMeshVisual;
@@ -20,6 +20,7 @@ export declare const PolymerDirectionParams: {
20
20
  flipSided: PD.BooleanParam;
21
21
  flatShaded: PD.BooleanParam;
22
22
  ignoreLight: PD.BooleanParam;
23
+ celShaded: PD.BooleanParam;
23
24
  xrayShaded: PD.Select<boolean | "inverted">;
24
25
  transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
25
26
  bumpFrequency: PD.Numeric;
@@ -5,7 +5,8 @@
5
5
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.PolymerDirectionVisual = exports.PolymerDirectionParams = exports.DefaultPolymerDirectionWedgeProps = exports.PolymerDirectionWedgeParams = void 0;
8
+ exports.PolymerDirectionParams = exports.DefaultPolymerDirectionWedgeProps = exports.PolymerDirectionWedgeParams = void 0;
9
+ exports.PolymerDirectionVisual = PolymerDirectionVisual;
9
10
  const param_definition_1 = require("../../../mol-util/param-definition");
10
11
  const linear_algebra_1 = require("../../../mol-math/linear-algebra");
11
12
  const wedge_1 = require("../../../mol-geo/primitive/wedge");
@@ -86,4 +87,3 @@ function PolymerDirectionVisual(materialId) {
86
87
  }
87
88
  }, materialId);
88
89
  }
89
- exports.PolymerDirectionVisual = PolymerDirectionVisual;
@@ -24,6 +24,7 @@ export declare const PolymerGapParams: {
24
24
  flipSided: PD.BooleanParam;
25
25
  flatShaded: PD.BooleanParam;
26
26
  ignoreLight: PD.BooleanParam;
27
+ celShaded: PD.BooleanParam;
27
28
  xrayShaded: PD.Select<boolean | "inverted">;
28
29
  transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
29
30
  bumpFrequency: PD.Numeric;
@@ -6,7 +6,8 @@
6
6
  * @author Gianluca Tomasello <giagitom@gmail.com>
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.PolymerGapVisual = exports.PolymerGapParams = exports.DefaultPolymerGapCylinderProps = exports.PolymerGapCylinderParams = void 0;
9
+ exports.PolymerGapParams = exports.DefaultPolymerGapCylinderProps = exports.PolymerGapCylinderParams = void 0;
10
+ exports.PolymerGapVisual = PolymerGapVisual;
10
11
  const param_definition_1 = require("../../../mol-util/param-definition");
11
12
  const mesh_1 = require("../../../mol-geo/geometry/mesh/mesh");
12
13
  const mesh_builder_1 = require("../../../mol-geo/geometry/mesh/mesh-builder");
@@ -86,4 +87,3 @@ function PolymerGapVisual(materialId) {
86
87
  }
87
88
  }, materialId);
88
89
  }
89
- exports.PolymerGapVisual = PolymerGapVisual;
@@ -44,6 +44,7 @@ export declare const PolymerTraceParams: {
44
44
  flipSided: PD.BooleanParam;
45
45
  flatShaded: PD.BooleanParam;
46
46
  ignoreLight: PD.BooleanParam;
47
+ celShaded: PD.BooleanParam;
47
48
  xrayShaded: PD.Select<boolean | "inverted">;
48
49
  transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
49
50
  bumpFrequency: PD.Numeric;
@@ -5,7 +5,8 @@
5
5
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.PolymerTraceVisual = exports.PolymerTraceParams = exports.DefaultPolymerTraceMeshProps = exports.PolymerTraceMeshParams = void 0;
8
+ exports.PolymerTraceParams = exports.DefaultPolymerTraceMeshProps = exports.PolymerTraceMeshParams = void 0;
9
+ exports.PolymerTraceVisual = PolymerTraceVisual;
9
10
  const param_definition_1 = require("../../../mol-util/param-definition");
10
11
  const structure_1 = require("../../../mol-model/structure");
11
12
  const mesh_1 = require("../../../mol-geo/geometry/mesh/mesh");
@@ -193,4 +194,3 @@ function PolymerTraceVisual(materialId) {
193
194
  }
194
195
  }, materialId);
195
196
  }
196
- exports.PolymerTraceVisual = PolymerTraceVisual;
@@ -29,6 +29,7 @@ export declare const PolymerTubeParams: {
29
29
  flipSided: PD.BooleanParam;
30
30
  flatShaded: PD.BooleanParam;
31
31
  ignoreLight: PD.BooleanParam;
32
+ celShaded: PD.BooleanParam;
32
33
  xrayShaded: PD.Select<boolean | "inverted">;
33
34
  transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
34
35
  bumpFrequency: PD.Numeric;
@@ -5,7 +5,8 @@
5
5
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.PolymerTubeVisual = exports.PolymerTubeParams = exports.DefaultPolymerTubeMeshProps = exports.PolymerTubeMeshParams = void 0;
8
+ exports.PolymerTubeParams = exports.DefaultPolymerTubeMeshProps = exports.PolymerTubeMeshParams = void 0;
9
+ exports.PolymerTubeVisual = PolymerTubeVisual;
9
10
  const param_definition_1 = require("../../../mol-util/param-definition");
10
11
  const mesh_1 = require("../../../mol-geo/geometry/mesh/mesh");
11
12
  const mesh_builder_1 = require("../../../mol-geo/geometry/mesh/mesh-builder");
@@ -109,4 +110,3 @@ function PolymerTubeVisual(materialId) {
109
110
  }
110
111
  }, materialId);
111
112
  }
112
- exports.PolymerTubeVisual = PolymerTubeVisual;
@@ -7,7 +7,14 @@
7
7
  * @author Gianluca Tomasello <giagitom@gmail.com>
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.eachInterBond = exports.getInterBondLoci = exports.eachIntraBond = exports.getIntraBondLoci = exports.BondIterator = exports.makeInterBondIgnoreTest = exports.makeIntraBondIgnoreTest = exports.ignoreBondType = exports.DefaultBondLineProps = exports.BondLineParams = exports.DefaultBondCylinderProps = exports.BondCylinderParams = exports.DefaultBondProps = exports.BondParams = void 0;
10
+ exports.BondIterator = exports.DefaultBondLineProps = exports.BondLineParams = exports.DefaultBondCylinderProps = exports.BondCylinderParams = exports.DefaultBondProps = exports.BondParams = void 0;
11
+ exports.ignoreBondType = ignoreBondType;
12
+ exports.makeIntraBondIgnoreTest = makeIntraBondIgnoreTest;
13
+ exports.makeInterBondIgnoreTest = makeInterBondIgnoreTest;
14
+ exports.getIntraBondLoci = getIntraBondLoci;
15
+ exports.eachIntraBond = eachIntraBond;
16
+ exports.getInterBondLoci = getInterBondLoci;
17
+ exports.eachInterBond = eachInterBond;
11
18
  const types_1 = require("../../../../mol-model/structure/model/types");
12
19
  const structure_1 = require("../../../../mol-model/structure");
13
20
  const param_definition_1 = require("../../../../mol-util/param-definition");
@@ -40,7 +47,6 @@ exports.DefaultBondLineProps = param_definition_1.ParamDefinition.getDefaultValu
40
47
  function ignoreBondType(include, exclude, f) {
41
48
  return !types_1.BondType.is(include, f) || types_1.BondType.is(exclude, f);
42
49
  }
43
- exports.ignoreBondType = ignoreBondType;
44
50
  function makeIntraBondIgnoreTest(structure, unit, props) {
45
51
  const elements = unit.elements;
46
52
  const bonds = unit.bonds;
@@ -72,7 +78,6 @@ function makeIntraBondIgnoreTest(structure, unit, props) {
72
78
  return false;
73
79
  };
74
80
  }
75
- exports.makeIntraBondIgnoreTest = makeIntraBondIgnoreTest;
76
81
  function makeInterBondIgnoreTest(structure, props) {
77
82
  const bonds = structure.interUnitBonds;
78
83
  const { edges } = bonds;
@@ -108,7 +113,6 @@ function makeInterBondIgnoreTest(structure, props) {
108
113
  return false;
109
114
  };
110
115
  }
111
- exports.makeInterBondIgnoreTest = makeInterBondIgnoreTest;
112
116
  var BondIterator;
113
117
  (function (BondIterator) {
114
118
  function fromGroup(structureGroup, props) {
@@ -187,7 +191,6 @@ function getIntraBondLoci(pickingId, structureGroup, id) {
187
191
  }
188
192
  return loci_1.EmptyLoci;
189
193
  }
190
- exports.getIntraBondLoci = getIntraBondLoci;
191
194
  function eachIntraBond(loci, structureGroup, apply, isMarking) {
192
195
  let changed = false;
193
196
  if (structure_1.Bond.isLoci(loci)) {
@@ -236,7 +239,6 @@ function eachIntraBond(loci, structureGroup, apply, isMarking) {
236
239
  }
237
240
  return changed;
238
241
  }
239
- exports.eachIntraBond = eachIntraBond;
240
242
  //
241
243
  function getInterBondLoci(pickingId, structure, id) {
242
244
  const { objectId, groupId } = pickingId;
@@ -252,7 +254,6 @@ function getInterBondLoci(pickingId, structure, id) {
252
254
  }
253
255
  return loci_1.EmptyLoci;
254
256
  }
255
- exports.getInterBondLoci = getInterBondLoci;
256
257
  const __unitMap = new Map();
257
258
  function eachInterBond(loci, structure, apply, isMarking) {
258
259
  let changed = false;
@@ -299,4 +300,3 @@ function eachInterBond(loci, structure, apply, isMarking) {
299
300
  }
300
301
  return changed;
301
302
  }
302
- exports.eachInterBond = eachInterBond;
@@ -6,7 +6,20 @@
6
6
  * @author David Sehnal <david.sehnal@gmail.com>
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.isTrace = exports.isH = exports.isHydrogen = exports.getStructureConformationAndRadius = exports.getUnitConformationAndRadius = exports.DefaultCommonSurfaceProps = exports.CommonSurfaceParams = exports.getConformation = exports.ensureReasonableResolution = exports.getVolumeSliceInfo = exports.includesUnitKind = exports.UnitKindOptions = exports.UnitKindInfo = exports.createUnitsTransform = exports.getAltResidueLociFromId = exports.getAltResidueLoci = exports.getResidueLoci = void 0;
9
+ exports.DefaultCommonSurfaceProps = exports.CommonSurfaceParams = exports.UnitKindOptions = exports.UnitKindInfo = void 0;
10
+ exports.getResidueLoci = getResidueLoci;
11
+ exports.getAltResidueLoci = getAltResidueLoci;
12
+ exports.getAltResidueLociFromId = getAltResidueLociFromId;
13
+ exports.createUnitsTransform = createUnitsTransform;
14
+ exports.includesUnitKind = includesUnitKind;
15
+ exports.getVolumeSliceInfo = getVolumeSliceInfo;
16
+ exports.ensureReasonableResolution = ensureReasonableResolution;
17
+ exports.getConformation = getConformation;
18
+ exports.getUnitConformationAndRadius = getUnitConformationAndRadius;
19
+ exports.getStructureConformationAndRadius = getStructureConformationAndRadius;
20
+ exports.isHydrogen = isHydrogen;
21
+ exports.isH = isH;
22
+ exports.isTrace = isTrace;
10
23
  const structure_1 = require("../../../../mol-model/structure");
11
24
  const linear_algebra_1 = require("../../../../mol-math/linear-algebra");
12
25
  const transform_data_1 = require("../../../../mol-geo/geometry/transform-data");
@@ -37,7 +50,6 @@ function getResidueLoci(structure, unit, elementIndex) {
37
50
  }
38
51
  return loci_1.EmptyLoci;
39
52
  }
40
- exports.getResidueLoci = getResidueLoci;
41
53
  /**
42
54
  * Return a Loci for the elements of a whole residue the elementIndex belongs to but
43
55
  * restrict to elements that have the same label_alt_id or none
@@ -53,7 +65,6 @@ function getAltResidueLoci(structure, unit, elementIndex) {
53
65
  }
54
66
  return structure_1.StructureElement.Loci(structure, []);
55
67
  }
56
- exports.getAltResidueLoci = getAltResidueLoci;
57
68
  function getAltResidueLociFromId(structure, unit, residueIndex, elementAltId) {
58
69
  const { elements, model } = unit;
59
70
  const { label_alt_id } = model.atomicHierarchy.atoms;
@@ -71,7 +82,6 @@ function getAltResidueLociFromId(structure, unit, residueIndex, elementAltId) {
71
82
  const indices = int_1.OrderedSet.ofSortedArray(int_1.SortedArray.ofSortedArray(_indices));
72
83
  return structure_1.StructureElement.Loci(structure, [{ unit, indices }]);
73
84
  }
74
- exports.getAltResidueLociFromId = getAltResidueLociFromId;
75
85
  function createUnitsTransform(structureGroup, includeParent, invariantBoundingSphere, cellSize, batchSize, transformData) {
76
86
  const { child } = structureGroup.structure;
77
87
  const units = includeParent && child
@@ -85,7 +95,6 @@ function createUnitsTransform(structureGroup, includeParent, invariantBoundingSp
85
95
  }
86
96
  return (0, transform_data_1.createTransform)(array, unitCount, invariantBoundingSphere, cellSize, batchSize, transformData);
87
97
  }
88
- exports.createUnitsTransform = createUnitsTransform;
89
98
  exports.UnitKindInfo = {
90
99
  'atomic': {},
91
100
  'spheres': {},
@@ -103,7 +112,6 @@ function includesUnitKind(unitKinds, unit) {
103
112
  }
104
113
  return false;
105
114
  }
106
- exports.includesUnitKind = includesUnitKind;
107
115
  //
108
116
  const DefaultMaxCells = 500000000;
109
117
  function getVolumeSliceInfo(box, resolution, maxCells = DefaultMaxCells) {
@@ -115,7 +123,6 @@ function getVolumeSliceInfo(box, resolution, maxCells = DefaultMaxCells) {
115
123
  const areaCells = Math.ceil(area / (resolution * resolution));
116
124
  return { area, areaCells, maxAreaCells };
117
125
  }
118
- exports.getVolumeSliceInfo = getVolumeSliceInfo;
119
126
  /**
120
127
  * Guard against overly high resolution for the given box size.
121
128
  * Internally it uses the largest 2d slice of the box to determine the
@@ -126,7 +133,6 @@ function ensureReasonableResolution(box, props, maxCells = DefaultMaxCells) {
126
133
  const resolution = areaCells > maxAreaCells ? Math.sqrt(area / maxAreaCells) : props.resolution;
127
134
  return { ...props, resolution };
128
135
  }
129
- exports.ensureReasonableResolution = ensureReasonableResolution;
130
136
  function getConformation(unit) {
131
137
  switch (unit.kind) {
132
138
  case 0 /* Unit.Kind.Atomic */: return unit.model.atomicConformation;
@@ -134,7 +140,6 @@ function getConformation(unit) {
134
140
  case 2 /* Unit.Kind.Gaussians */: return unit.model.coarseConformation.gaussians;
135
141
  }
136
142
  }
137
- exports.getConformation = getConformation;
138
143
  exports.CommonSurfaceParams = {
139
144
  ignoreHydrogens: param_definition_1.ParamDefinition.Boolean(false, { description: 'Whether or not to include hydrogen atoms in the surface calculation.' }),
140
145
  ignoreHydrogensVariant: param_definition_1.ParamDefinition.Select('all', param_definition_1.ParamDefinition.arrayToOptions(['all', 'non-polar'])),
@@ -205,7 +210,6 @@ function getUnitConformationAndRadius(structure, unit, sizeTheme, props) {
205
210
  };
206
211
  return { position, boundary, radius };
207
212
  }
208
- exports.getUnitConformationAndRadius = getUnitConformationAndRadius;
209
213
  function getStructureConformationAndRadius(structure, sizeTheme, props) {
210
214
  const { ignoreHydrogens, ignoreHydrogensVariant, traceOnly, includeParent } = props;
211
215
  const differentRoot = includeParent && !!structure.parent;
@@ -294,7 +298,6 @@ function getStructureConformationAndRadius(structure, sizeTheme, props) {
294
298
  const radius = (index) => rs[index];
295
299
  return { position, boundary, radius };
296
300
  }
297
- exports.getStructureConformationAndRadius = getStructureConformationAndRadius;
298
301
  const _H = atomic_1.AtomicNumbers['H'];
299
302
  function isHydrogen(structure, unit, element, variant) {
300
303
  if (structure_1.Unit.isCoarse(unit))
@@ -310,11 +313,9 @@ function isHydrogen(structure, unit, element, variant) {
310
313
  return true;
311
314
  return false;
312
315
  }
313
- exports.isHydrogen = isHydrogen;
314
316
  function isH(atomicNumber, element) {
315
317
  return atomicNumber[element] === _H;
316
318
  }
317
- exports.isH = isH;
318
319
  function isTrace(unit, element) {
319
320
  if (structure_1.Unit.isCoarse(unit))
320
321
  return true;
@@ -323,4 +324,3 @@ function isTrace(unit, element) {
323
324
  return true;
324
325
  return false;
325
326
  }
326
- exports.isTrace = isTrace;
@@ -6,7 +6,16 @@
6
6
  * @author David Sehnal <david.sehnal@gmail.com>
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.ElementIterator = exports.getSerialElementLoci = exports.eachSerialElement = exports.createStructureElementSphereImpostor = exports.createStructureElementSphereMesh = exports.getElementLoci = exports.eachElement = exports.createElementSphereImpostor = exports.createElementSphereMesh = exports.makeElementIgnoreTest = void 0;
9
+ exports.ElementIterator = void 0;
10
+ exports.makeElementIgnoreTest = makeElementIgnoreTest;
11
+ exports.createElementSphereMesh = createElementSphereMesh;
12
+ exports.createElementSphereImpostor = createElementSphereImpostor;
13
+ exports.eachElement = eachElement;
14
+ exports.getElementLoci = getElementLoci;
15
+ exports.createStructureElementSphereMesh = createStructureElementSphereMesh;
16
+ exports.createStructureElementSphereImpostor = createStructureElementSphereImpostor;
17
+ exports.eachSerialElement = eachSerialElement;
18
+ exports.getSerialElementLoci = getSerialElementLoci;
10
19
  const linear_algebra_1 = require("../../../../mol-math/linear-algebra");
11
20
  const structure_1 = require("../../../../mol-model/structure");
12
21
  const loci_1 = require("../../../../mol-model/loci");
@@ -37,7 +46,6 @@ function makeElementIgnoreTest(structure, unit, props) {
37
46
  (traceOnly && !(0, common_1.isTrace)(unit, element)));
38
47
  };
39
48
  }
40
- exports.makeElementIgnoreTest = makeElementIgnoreTest;
41
49
  function createElementSphereMesh(ctx, unit, structure, theme, props, mesh) {
42
50
  const { child } = structure;
43
51
  const childUnit = child === null || child === void 0 ? void 0 : child.unitMap.get(unit.id);
@@ -86,7 +94,6 @@ function createElementSphereMesh(ctx, unit, structure, theme, props, mesh) {
86
94
  m.setBoundingSphere(boundingSphere);
87
95
  return m;
88
96
  }
89
- exports.createElementSphereMesh = createElementSphereMesh;
90
97
  function createElementSphereImpostor(ctx, unit, structure, theme, props, spheres) {
91
98
  const { child } = structure;
92
99
  const childUnit = child === null || child === void 0 ? void 0 : child.unitMap.get(unit.id);
@@ -144,7 +151,6 @@ function createElementSphereImpostor(ctx, unit, structure, theme, props, spheres
144
151
  s.setBoundingSphere(boundingSphere);
145
152
  return s;
146
153
  }
147
- exports.createElementSphereImpostor = createElementSphereImpostor;
148
154
  function eachElement(loci, structureGroup, apply) {
149
155
  let changed = false;
150
156
  if (!structure_1.StructureElement.Loci.is(loci))
@@ -179,7 +185,6 @@ function eachElement(loci, structureGroup, apply) {
179
185
  }
180
186
  return changed;
181
187
  }
182
- exports.eachElement = eachElement;
183
188
  function getElementLoci(pickingId, structureGroup, id) {
184
189
  const { objectId, instanceId, groupId } = pickingId;
185
190
  if (id === objectId) {
@@ -190,7 +195,6 @@ function getElementLoci(pickingId, structureGroup, id) {
190
195
  }
191
196
  return loci_1.EmptyLoci;
192
197
  }
193
- exports.getElementLoci = getElementLoci;
194
198
  //
195
199
  function createStructureElementSphereMesh(ctx, structure, theme, props, mesh) {
196
200
  const { child } = structure;
@@ -245,7 +249,6 @@ function createStructureElementSphereMesh(ctx, structure, theme, props, mesh) {
245
249
  m.setBoundingSphere(boundingSphere);
246
250
  return m;
247
251
  }
248
- exports.createStructureElementSphereMesh = createStructureElementSphereMesh;
249
252
  function createStructureElementSphereImpostor(ctx, structure, theme, props, spheres) {
250
253
  const { child } = structure;
251
254
  const { sizeFactor, stride } = props;
@@ -309,7 +312,6 @@ function createStructureElementSphereImpostor(ctx, structure, theme, props, sphe
309
312
  s.setBoundingSphere(boundingSphere);
310
313
  return s;
311
314
  }
312
- exports.createStructureElementSphereImpostor = createStructureElementSphereImpostor;
313
315
  function eachSerialElement(loci, structure, apply) {
314
316
  let changed = false;
315
317
  if (!structure_1.StructureElement.Loci.is(loci))
@@ -337,7 +339,6 @@ function eachSerialElement(loci, structure, apply) {
337
339
  }
338
340
  return changed;
339
341
  }
340
- exports.eachSerialElement = eachSerialElement;
341
342
  function getSerialElementLoci(pickingId, structure, id) {
342
343
  const { objectId, groupId } = pickingId;
343
344
  if (id === objectId) {
@@ -350,7 +351,6 @@ function getSerialElementLoci(pickingId, structure, id) {
350
351
  }
351
352
  return loci_1.EmptyLoci;
352
353
  }
353
- exports.getSerialElementLoci = getSerialElementLoci;
354
354
  //
355
355
  var ElementIterator;
356
356
  (function (ElementIterator) {
@@ -5,7 +5,14 @@
5
5
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.computeStructureGaussianDensityTexture2d = exports.computeStructureGaussianDensityTexture = exports.computeStructureGaussianDensity = exports.computeUnitGaussianDensityTexture2d = exports.computeUnitGaussianDensityTexture = exports.computeUnitGaussianDensity = exports.getTextureMaxCells = exports.DefaultGaussianDensityProps = exports.GaussianDensityParams = void 0;
8
+ exports.DefaultGaussianDensityProps = exports.GaussianDensityParams = void 0;
9
+ exports.getTextureMaxCells = getTextureMaxCells;
10
+ exports.computeUnitGaussianDensity = computeUnitGaussianDensity;
11
+ exports.computeUnitGaussianDensityTexture = computeUnitGaussianDensityTexture;
12
+ exports.computeUnitGaussianDensityTexture2d = computeUnitGaussianDensityTexture2d;
13
+ exports.computeStructureGaussianDensity = computeStructureGaussianDensity;
14
+ exports.computeStructureGaussianDensityTexture = computeStructureGaussianDensityTexture;
15
+ exports.computeStructureGaussianDensityTexture2d = computeStructureGaussianDensityTexture2d;
9
16
  const mol_task_1 = require("../../../../mol-task");
10
17
  const param_definition_1 = require("../../../../mol-util/param-definition");
11
18
  const gpu_1 = require("../../../../mol-math/geometry/gaussian-density/gpu");
@@ -24,7 +31,6 @@ function getTextureMaxCells(webgl, structure) {
24
31
  const d = webgl.maxTextureSize / 3;
25
32
  return (d * d) / Math.max(1, (structure ? structure.units.length / 16 : 1));
26
33
  }
27
- exports.getTextureMaxCells = getTextureMaxCells;
28
34
  //
29
35
  function computeUnitGaussianDensity(structure, unit, sizeTheme, props) {
30
36
  const { position, boundary, radius } = (0, common_1.getUnitConformationAndRadius)(structure, unit, sizeTheme, props);
@@ -33,7 +39,6 @@ function computeUnitGaussianDensity(structure, unit, sizeTheme, props) {
33
39
  return await (0, cpu_1.GaussianDensityCPU)(ctx, position, boundary.box, radius, p);
34
40
  });
35
41
  }
36
- exports.computeUnitGaussianDensity = computeUnitGaussianDensity;
37
42
  function computeUnitGaussianDensityTexture(structure, unit, sizeTheme, props, webgl, texture) {
38
43
  const { position, boundary, radius } = (0, common_1.getUnitConformationAndRadius)(structure, unit, sizeTheme, props);
39
44
  const p = (0, common_1.ensureReasonableResolution)(boundary.box, props, getTextureMaxCells(webgl, structure));
@@ -41,7 +46,6 @@ function computeUnitGaussianDensityTexture(structure, unit, sizeTheme, props, we
41
46
  return (0, gpu_1.GaussianDensityTexture)(webgl, position, boundary.box, radius, p, texture);
42
47
  });
43
48
  }
44
- exports.computeUnitGaussianDensityTexture = computeUnitGaussianDensityTexture;
45
49
  function computeUnitGaussianDensityTexture2d(structure, unit, sizeTheme, powerOfTwo, props, webgl, texture) {
46
50
  const { position, boundary, radius } = (0, common_1.getUnitConformationAndRadius)(structure, unit, sizeTheme, props);
47
51
  const p = (0, common_1.ensureReasonableResolution)(boundary.box, props, getTextureMaxCells(webgl, structure));
@@ -49,7 +53,6 @@ function computeUnitGaussianDensityTexture2d(structure, unit, sizeTheme, powerOf
49
53
  return (0, gpu_1.GaussianDensityTexture2d)(webgl, position, boundary.box, radius, powerOfTwo, p, texture);
50
54
  });
51
55
  }
52
- exports.computeUnitGaussianDensityTexture2d = computeUnitGaussianDensityTexture2d;
53
56
  //
54
57
  function computeStructureGaussianDensity(structure, sizeTheme, props) {
55
58
  const { position, boundary, radius } = (0, common_1.getStructureConformationAndRadius)(structure, sizeTheme, props);
@@ -58,7 +61,6 @@ function computeStructureGaussianDensity(structure, sizeTheme, props) {
58
61
  return await (0, cpu_1.GaussianDensityCPU)(ctx, position, boundary.box, radius, p);
59
62
  });
60
63
  }
61
- exports.computeStructureGaussianDensity = computeStructureGaussianDensity;
62
64
  function computeStructureGaussianDensityTexture(structure, sizeTheme, props, webgl, texture) {
63
65
  const { position, boundary, radius } = (0, common_1.getStructureConformationAndRadius)(structure, sizeTheme, props);
64
66
  const p = (0, common_1.ensureReasonableResolution)(boundary.box, props);
@@ -66,7 +68,6 @@ function computeStructureGaussianDensityTexture(structure, sizeTheme, props, web
66
68
  return (0, gpu_1.GaussianDensityTexture)(webgl, position, boundary.box, radius, p, texture);
67
69
  });
68
70
  }
69
- exports.computeStructureGaussianDensityTexture = computeStructureGaussianDensityTexture;
70
71
  function computeStructureGaussianDensityTexture2d(structure, sizeTheme, powerOfTwo, props, webgl, texture) {
71
72
  const { box } = structure.lookup3d.boundary;
72
73
  const { position, boundary, radius } = (0, common_1.getStructureConformationAndRadius)(structure, sizeTheme, props);
@@ -75,4 +76,3 @@ function computeStructureGaussianDensityTexture2d(structure, sizeTheme, powerOfT
75
76
  return (0, gpu_1.GaussianDensityTexture2d)(webgl, position, box, radius, powerOfTwo, p, texture);
76
77
  });
77
78
  }
78
- exports.computeStructureGaussianDensityTexture2d = computeStructureGaussianDensityTexture2d;
@@ -8,7 +8,11 @@
8
8
  * @author David Sehnal <david.sehnal@gmail.com>
9
9
  */
10
10
  Object.defineProperty(exports, "__esModule", { value: true });
11
- exports.createLinkLines = exports.createLinkCylinderImpostors = exports.createLinkCylinderMesh = exports.calculateShiftDir = exports.DefaultLinkLineProps = exports.LinkLineParams = exports.DefaultLinkCylinderProps = exports.LinkCylinderParams = void 0;
11
+ exports.DefaultLinkLineProps = exports.LinkLineParams = exports.DefaultLinkCylinderProps = exports.LinkCylinderParams = void 0;
12
+ exports.calculateShiftDir = calculateShiftDir;
13
+ exports.createLinkCylinderMesh = createLinkCylinderMesh;
14
+ exports.createLinkCylinderImpostors = createLinkCylinderImpostors;
15
+ exports.createLinkLines = createLinkLines;
12
16
  const linear_algebra_1 = require("../../../../mol-math/linear-algebra");
13
17
  const param_definition_1 = require("../../../../mol-util/param-definition");
14
18
  const mesh_1 = require("../../../../mol-geo/geometry/mesh/mesh");
@@ -70,7 +74,6 @@ function calculateShiftDir(out, v1, v2, v3) {
70
74
  linear_algebra_1.Vec3.sub(tmpShiftV13, tmpShiftV13, tmpShiftV12);
71
75
  return linear_algebra_1.Vec3.normalize(out, tmpShiftV13);
72
76
  }
73
- exports.calculateShiftDir = calculateShiftDir;
74
77
  // avoiding namespace lookup improved performance in Chrome (Aug 2020)
75
78
  const v3scale = linear_algebra_1.Vec3.scale;
76
79
  const v3add = linear_algebra_1.Vec3.add;
@@ -206,7 +209,6 @@ function createLinkCylinderMesh(ctx, linkBuilder, props, mesh) {
206
209
  return { mesh: m };
207
210
  }
208
211
  }
209
- exports.createLinkCylinderMesh = createLinkCylinderMesh;
210
212
  /**
211
213
  * Each edge is included twice to allow for coloring/picking
212
214
  * the half closer to the first vertex, i.e. vertex a.
@@ -305,7 +307,6 @@ function createLinkCylinderImpostors(ctx, linkBuilder, props, cylinders) {
305
307
  return { cylinders: c };
306
308
  }
307
309
  }
308
- exports.createLinkCylinderImpostors = createLinkCylinderImpostors;
309
310
  /**
310
311
  * Each edge is included twice to allow for coloring/picking
311
312
  * the half closer to the first vertex, i.e. vertex a.
@@ -402,4 +403,3 @@ function createLinkLines(ctx, linkBuilder, props, lines) {
402
403
  return { lines: l };
403
404
  }
404
405
  }
405
- exports.createLinkLines = createLinkLines;
@@ -5,7 +5,8 @@
5
5
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.computeStructureMolecularSurface = exports.computeUnitMolecularSurface = void 0;
8
+ exports.computeUnitMolecularSurface = computeUnitMolecularSurface;
9
+ exports.computeStructureMolecularSurface = computeStructureMolecularSurface;
9
10
  const mol_task_1 = require("../../../../mol-task");
10
11
  const common_1 = require("./common");
11
12
  const molecular_surface_1 = require("../../../../mol-math/geometry/molecular-surface");
@@ -33,7 +34,6 @@ function computeUnitMolecularSurface(structure, unit, sizeTheme, props) {
33
34
  return await MolecularSurface(ctx, position, boundary, maxRadius, boundary.box, p);
34
35
  });
35
36
  }
36
- exports.computeUnitMolecularSurface = computeUnitMolecularSurface;
37
37
  //
38
38
  function getStructurePositionDataAndMaxRadius(structure, sizeTheme, props) {
39
39
  const { probeRadius } = props;
@@ -58,7 +58,6 @@ function computeStructureMolecularSurface(structure, sizeTheme, props) {
58
58
  return await MolecularSurface(ctx, position, boundary, maxRadius, boundary.box, p);
59
59
  });
60
60
  }
61
- exports.computeStructureMolecularSurface = computeStructureMolecularSurface;
62
61
  //
63
62
  async function MolecularSurface(ctx, position, boundary, maxRadius, box, props) {
64
63
  return (0, molecular_surface_1.calcMolecularSurface)(ctx, position, boundary, maxRadius, box, props);