molstar 3.6.1 → 3.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/build/viewer/molstar.css +1 -1
  2. package/build/viewer/molstar.js +1 -1
  3. package/lib/commonjs/examples/alpha-orbitals/index.js +20 -15
  4. package/lib/commonjs/extensions/anvil/behavior.d.ts +1 -1
  5. package/lib/commonjs/extensions/anvil/representation.d.ts +4 -4
  6. package/lib/commonjs/extensions/cellpack/representation.d.ts +1 -1
  7. package/lib/commonjs/extensions/dnatco/confal-pyramids/representation.d.ts +3 -3
  8. package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +1 -1
  9. package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.d.ts +1 -1
  10. package/lib/commonjs/extensions/rcsb/validation-report/representation.d.ts +5 -5
  11. package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +2 -2
  12. package/lib/commonjs/mol-canvas3d/helper/camera-helper.d.ts +1 -1
  13. package/lib/commonjs/mol-canvas3d/helper/handle-helper.d.ts +1 -1
  14. package/lib/commonjs/mol-canvas3d/helper/helper.d.ts +2 -2
  15. package/lib/commonjs/mol-canvas3d/passes/image.d.ts +1 -1
  16. package/lib/commonjs/mol-geo/geometry/color-data.d.ts +2 -8
  17. package/lib/commonjs/mol-geo/geometry/color-data.js +16 -3
  18. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +1 -1
  19. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.js +3 -2
  20. package/lib/commonjs/mol-geo/geometry/mesh/mesh.d.ts +1 -1
  21. package/lib/commonjs/mol-geo/geometry/mesh/mesh.js +3 -2
  22. package/lib/commonjs/mol-geo/geometry/spheres/spheres.d.ts +1 -1
  23. package/lib/commonjs/mol-geo/geometry/spheres/spheres.js +3 -2
  24. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +1 -1
  25. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js +15 -4
  26. package/lib/commonjs/mol-gl/renderable/cylinders.d.ts +2 -1
  27. package/lib/commonjs/mol-gl/renderable/cylinders.js +2 -2
  28. package/lib/commonjs/mol-gl/renderable/mesh.d.ts +2 -1
  29. package/lib/commonjs/mol-gl/renderable/mesh.js +2 -2
  30. package/lib/commonjs/mol-gl/renderable/spheres.d.ts +2 -1
  31. package/lib/commonjs/mol-gl/renderable/spheres.js +2 -2
  32. package/lib/commonjs/mol-gl/renderable/texture-mesh.d.ts +2 -1
  33. package/lib/commonjs/mol-gl/renderable/texture-mesh.js +2 -2
  34. package/lib/commonjs/mol-gl/renderer.js +54 -23
  35. package/lib/commonjs/mol-gl/shader/chunks/apply-interior-color.glsl.d.ts +1 -1
  36. package/lib/commonjs/mol-gl/shader/chunks/apply-interior-color.glsl.js +1 -1
  37. package/lib/commonjs/mol-gl/shader/chunks/check-picking-alpha.glsl.d.ts +1 -1
  38. package/lib/commonjs/mol-gl/shader/chunks/check-picking-alpha.glsl.js +1 -1
  39. package/lib/commonjs/mol-gl/shader/chunks/color-vert-params.glsl.d.ts +1 -1
  40. package/lib/commonjs/mol-gl/shader/chunks/color-vert-params.glsl.js +1 -1
  41. package/lib/commonjs/mol-io/writer/ligand-encoder.d.ts +4 -2
  42. package/lib/commonjs/mol-io/writer/ligand-encoder.js +9 -4
  43. package/lib/commonjs/mol-io/writer/mol/encoder.js +16 -4
  44. package/lib/commonjs/mol-io/writer/mol2/encoder.js +17 -4
  45. package/lib/commonjs/mol-model-formats/shape/ply.d.ts +2 -2
  46. package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +1 -1
  47. package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +1 -1
  48. package/lib/commonjs/mol-model-props/computed/representations/interactions.d.ts +3 -3
  49. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.d.ts +4 -4
  50. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/util.js +0 -1
  51. package/lib/commonjs/mol-plugin/commands.d.ts +1 -1
  52. package/lib/commonjs/mol-plugin/util/viewport-screenshot.d.ts +3 -3
  53. package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +6 -6
  54. package/lib/commonjs/mol-plugin-ui/base.d.ts +3 -1
  55. package/lib/commonjs/mol-plugin-ui/controls/color.d.ts +1 -1
  56. package/lib/commonjs/mol-plugin-ui/controls/common.d.ts +2 -0
  57. package/lib/commonjs/mol-plugin-ui/hooks/use-behavior.d.ts +1 -1
  58. package/lib/commonjs/mol-plugin-ui/hooks/use-behavior.js +21 -7
  59. package/lib/commonjs/mol-plugin-ui/plugin.d.ts +2 -0
  60. package/lib/commonjs/mol-plugin-ui/plugin.js +2 -2
  61. package/lib/commonjs/mol-plugin-ui/spec.d.ts +1 -0
  62. package/lib/commonjs/mol-plugin-ui/viewport/help.d.ts +4 -1
  63. package/lib/commonjs/mol-repr/shape/loci/angle.d.ts +1 -1
  64. package/lib/commonjs/mol-repr/shape/loci/dihedral.d.ts +1 -1
  65. package/lib/commonjs/mol-repr/shape/loci/orientation.d.ts +1 -1
  66. package/lib/commonjs/mol-repr/shape/loci/plane.d.ts +1 -1
  67. package/lib/commonjs/mol-repr/shape/model/unitcell.d.ts +1 -1
  68. package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +3 -3
  69. package/lib/commonjs/mol-repr/structure/params.d.ts +4 -4
  70. package/lib/commonjs/mol-repr/structure/registry.d.ts +10 -10
  71. package/lib/commonjs/mol-repr/structure/representation/backbone.d.ts +3 -3
  72. package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +3 -3
  73. package/lib/commonjs/mol-repr/structure/representation/carbohydrate.d.ts +3 -3
  74. package/lib/commonjs/mol-repr/structure/representation/cartoon.d.ts +3 -3
  75. package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +3 -3
  76. package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +3 -3
  77. package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +3 -3
  78. package/lib/commonjs/mol-repr/structure/representation/orientation.d.ts +3 -3
  79. package/lib/commonjs/mol-repr/structure/representation/putty.d.ts +3 -3
  80. package/lib/commonjs/mol-repr/structure/representation/spacefill.d.ts +3 -3
  81. package/lib/commonjs/mol-repr/structure/units-visual.d.ts +4 -4
  82. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +2 -2
  83. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +2 -2
  84. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +1 -1
  85. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +1 -1
  86. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +1 -1
  87. package/lib/commonjs/mol-repr/structure/visual/element-sphere.d.ts +2 -2
  88. package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.d.ts +1 -1
  89. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +4 -4
  90. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +1 -1
  91. package/lib/commonjs/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +1 -1
  92. package/lib/commonjs/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +1 -1
  93. package/lib/commonjs/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +1 -1
  94. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +2 -2
  95. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -2
  96. package/lib/commonjs/mol-repr/structure/visual/polymer-direction-wedge.d.ts +1 -1
  97. package/lib/commonjs/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +1 -1
  98. package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.d.ts +1 -1
  99. package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.d.ts +1 -1
  100. package/lib/commonjs/mol-repr/util.d.ts +1 -1
  101. package/lib/commonjs/mol-repr/util.js +1 -1
  102. package/lib/commonjs/mol-repr/volume/isosurface.d.ts +5 -5
  103. package/lib/commonjs/mol-repr/volume/registry.d.ts +1 -1
  104. package/lib/commonjs/mol-theme/color.d.ts +9 -2
  105. package/lib/commonjs/mol-theme/color.js +1 -1
  106. package/lib/commonjs/servers/model/server/query.js +1 -3
  107. package/lib/commonjs/servers/model/version.d.ts +1 -1
  108. package/lib/commonjs/servers/model/version.js +1 -1
  109. package/lib/examples/alpha-orbitals/index.js +20 -15
  110. package/lib/extensions/anvil/behavior.d.ts +1 -1
  111. package/lib/extensions/anvil/representation.d.ts +4 -4
  112. package/lib/extensions/cellpack/representation.d.ts +1 -1
  113. package/lib/extensions/dnatco/confal-pyramids/representation.d.ts +3 -3
  114. package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +1 -1
  115. package/lib/extensions/rcsb/assembly-symmetry/representation.d.ts +1 -1
  116. package/lib/extensions/rcsb/validation-report/representation.d.ts +5 -5
  117. package/lib/mol-canvas3d/canvas3d.d.ts +2 -2
  118. package/lib/mol-canvas3d/helper/camera-helper.d.ts +1 -1
  119. package/lib/mol-canvas3d/helper/handle-helper.d.ts +1 -1
  120. package/lib/mol-canvas3d/helper/helper.d.ts +2 -2
  121. package/lib/mol-canvas3d/passes/image.d.ts +1 -1
  122. package/lib/mol-geo/geometry/color-data.d.ts +2 -8
  123. package/lib/mol-geo/geometry/color-data.js +16 -3
  124. package/lib/mol-geo/geometry/cylinders/cylinders.d.ts +1 -1
  125. package/lib/mol-geo/geometry/cylinders/cylinders.js +3 -2
  126. package/lib/mol-geo/geometry/mesh/mesh.d.ts +1 -1
  127. package/lib/mol-geo/geometry/mesh/mesh.js +3 -2
  128. package/lib/mol-geo/geometry/spheres/spheres.d.ts +1 -1
  129. package/lib/mol-geo/geometry/spheres/spheres.js +3 -2
  130. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +1 -1
  131. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js +15 -4
  132. package/lib/mol-gl/renderable/cylinders.d.ts +2 -1
  133. package/lib/mol-gl/renderable/cylinders.js +2 -2
  134. package/lib/mol-gl/renderable/mesh.d.ts +2 -1
  135. package/lib/mol-gl/renderable/mesh.js +2 -2
  136. package/lib/mol-gl/renderable/spheres.d.ts +2 -1
  137. package/lib/mol-gl/renderable/spheres.js +2 -2
  138. package/lib/mol-gl/renderable/texture-mesh.d.ts +2 -1
  139. package/lib/mol-gl/renderable/texture-mesh.js +2 -2
  140. package/lib/mol-gl/renderer.js +54 -23
  141. package/lib/mol-gl/shader/chunks/apply-interior-color.glsl.d.ts +1 -1
  142. package/lib/mol-gl/shader/chunks/apply-interior-color.glsl.js +1 -1
  143. package/lib/mol-gl/shader/chunks/check-picking-alpha.glsl.d.ts +1 -1
  144. package/lib/mol-gl/shader/chunks/check-picking-alpha.glsl.js +1 -1
  145. package/lib/mol-gl/shader/chunks/color-vert-params.glsl.d.ts +1 -1
  146. package/lib/mol-gl/shader/chunks/color-vert-params.glsl.js +1 -1
  147. package/lib/mol-io/writer/ligand-encoder.d.ts +4 -2
  148. package/lib/mol-io/writer/ligand-encoder.js +9 -4
  149. package/lib/mol-io/writer/mol/encoder.js +16 -4
  150. package/lib/mol-io/writer/mol2/encoder.js +17 -4
  151. package/lib/mol-model-formats/shape/ply.d.ts +2 -2
  152. package/lib/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +1 -1
  153. package/lib/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +1 -1
  154. package/lib/mol-model-props/computed/representations/interactions.d.ts +3 -3
  155. package/lib/mol-model-props/integrative/cross-link-restraint/representation.d.ts +4 -4
  156. package/lib/mol-plugin/behavior/dynamic/volume-streaming/util.js +0 -1
  157. package/lib/mol-plugin/commands.d.ts +1 -1
  158. package/lib/mol-plugin/util/viewport-screenshot.d.ts +3 -3
  159. package/lib/mol-plugin/version.js +2 -2
  160. package/lib/mol-plugin-state/transforms/representation.d.ts +6 -6
  161. package/lib/mol-plugin-ui/base.d.ts +3 -1
  162. package/lib/mol-plugin-ui/controls/color.d.ts +1 -1
  163. package/lib/mol-plugin-ui/controls/common.d.ts +2 -0
  164. package/lib/mol-plugin-ui/hooks/use-behavior.d.ts +1 -1
  165. package/lib/mol-plugin-ui/hooks/use-behavior.js +20 -7
  166. package/lib/mol-plugin-ui/plugin.d.ts +2 -0
  167. package/lib/mol-plugin-ui/plugin.js +2 -2
  168. package/lib/mol-plugin-ui/spec.d.ts +1 -0
  169. package/lib/mol-plugin-ui/viewport/help.d.ts +4 -1
  170. package/lib/mol-repr/shape/loci/angle.d.ts +1 -1
  171. package/lib/mol-repr/shape/loci/dihedral.d.ts +1 -1
  172. package/lib/mol-repr/shape/loci/orientation.d.ts +1 -1
  173. package/lib/mol-repr/shape/loci/plane.d.ts +1 -1
  174. package/lib/mol-repr/shape/model/unitcell.d.ts +1 -1
  175. package/lib/mol-repr/structure/complex-visual.d.ts +3 -3
  176. package/lib/mol-repr/structure/params.d.ts +4 -4
  177. package/lib/mol-repr/structure/registry.d.ts +10 -10
  178. package/lib/mol-repr/structure/representation/backbone.d.ts +3 -3
  179. package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +3 -3
  180. package/lib/mol-repr/structure/representation/carbohydrate.d.ts +3 -3
  181. package/lib/mol-repr/structure/representation/cartoon.d.ts +3 -3
  182. package/lib/mol-repr/structure/representation/ellipsoid.d.ts +3 -3
  183. package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +3 -3
  184. package/lib/mol-repr/structure/representation/molecular-surface.d.ts +3 -3
  185. package/lib/mol-repr/structure/representation/orientation.d.ts +3 -3
  186. package/lib/mol-repr/structure/representation/putty.d.ts +3 -3
  187. package/lib/mol-repr/structure/representation/spacefill.d.ts +3 -3
  188. package/lib/mol-repr/structure/units-visual.d.ts +4 -4
  189. package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +2 -2
  190. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +2 -2
  191. package/lib/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +1 -1
  192. package/lib/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +1 -1
  193. package/lib/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +1 -1
  194. package/lib/mol-repr/structure/visual/element-sphere.d.ts +2 -2
  195. package/lib/mol-repr/structure/visual/ellipsoid-mesh.d.ts +1 -1
  196. package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +4 -4
  197. package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +1 -1
  198. package/lib/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +1 -1
  199. package/lib/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +1 -1
  200. package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +1 -1
  201. package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +2 -2
  202. package/lib/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -2
  203. package/lib/mol-repr/structure/visual/polymer-direction-wedge.d.ts +1 -1
  204. package/lib/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +1 -1
  205. package/lib/mol-repr/structure/visual/polymer-trace-mesh.d.ts +1 -1
  206. package/lib/mol-repr/structure/visual/polymer-tube-mesh.d.ts +1 -1
  207. package/lib/mol-repr/util.d.ts +1 -1
  208. package/lib/mol-repr/util.js +1 -1
  209. package/lib/mol-repr/volume/isosurface.d.ts +5 -5
  210. package/lib/mol-repr/volume/registry.d.ts +1 -1
  211. package/lib/mol-theme/color.d.ts +9 -2
  212. package/lib/mol-theme/color.js +1 -1
  213. package/lib/servers/model/server/query.js +1 -3
  214. package/lib/servers/model/version.d.ts +1 -1
  215. package/lib/servers/model/version.js +1 -1
  216. package/package.json +16 -16

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.