molstar 2.3.3 → 2.3.5

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 (355) hide show
  1. package/CHANGELOG.md +18 -2
  2. package/build/viewer/index.html +7 -1
  3. package/build/viewer/molstar.js +1 -1
  4. package/lib/apps/viewer/index.d.ts +6 -4
  5. package/lib/apps/viewer/index.html +7 -1
  6. package/lib/apps/viewer/index.js +8 -4
  7. package/lib/apps/viewer/index.js.map +1 -1
  8. package/lib/cli/chem-comp-dict/util.d.ts +4 -4
  9. package/lib/commonjs/apps/viewer/index.d.ts +7 -5
  10. package/lib/commonjs/apps/viewer/index.js +8 -4
  11. package/lib/commonjs/apps/viewer/index.js.map +1 -1
  12. package/lib/commonjs/cli/chem-comp-dict/util.d.ts +4 -4
  13. package/lib/commonjs/extensions/cellpack/model.d.ts +1 -1
  14. package/lib/commonjs/extensions/geo-export/mesh-exporter.d.ts +1 -1
  15. package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +4 -4
  16. package/lib/commonjs/extensions/rcsb/assembly-symmetry/color.d.ts +12 -12
  17. package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.d.ts +2 -2
  18. package/lib/commonjs/extensions/rcsb/validation-report/representation.js +2 -2
  19. package/lib/commonjs/mol-canvas3d/camera/util.d.ts +4 -3
  20. package/lib/commonjs/mol-canvas3d/camera/util.js +15 -16
  21. package/lib/commonjs/mol-canvas3d/camera/util.js.map +1 -1
  22. package/lib/commonjs/mol-canvas3d/camera.d.ts +11 -3
  23. package/lib/commonjs/mol-canvas3d/camera.js +21 -1
  24. package/lib/commonjs/mol-canvas3d/camera.js.map +1 -1
  25. package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +14 -4
  26. package/lib/commonjs/mol-canvas3d/canvas3d.js +8 -2
  27. package/lib/commonjs/mol-canvas3d/canvas3d.js.map +1 -1
  28. package/lib/commonjs/mol-canvas3d/helper/camera-helper.d.ts +2 -2
  29. package/lib/commonjs/mol-canvas3d/helper/interaction-events.d.ts +13 -4
  30. package/lib/commonjs/mol-canvas3d/helper/interaction-events.js +43 -9
  31. package/lib/commonjs/mol-canvas3d/helper/interaction-events.js.map +1 -1
  32. package/lib/commonjs/mol-canvas3d/passes/draw.js +1 -0
  33. package/lib/commonjs/mol-canvas3d/passes/draw.js.map +1 -1
  34. package/lib/commonjs/mol-canvas3d/passes/image.d.ts +2 -2
  35. package/lib/commonjs/mol-canvas3d/passes/pick.d.ts +5 -2
  36. package/lib/commonjs/mol-canvas3d/passes/pick.js +17 -3
  37. package/lib/commonjs/mol-canvas3d/passes/pick.js.map +1 -1
  38. package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.d.ts +2 -2
  39. package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.js +10 -1
  40. package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.js.map +1 -1
  41. package/lib/commonjs/mol-geo/geometry/image/image.d.ts +2 -2
  42. package/lib/commonjs/mol-geo/geometry/image/image.js +4 -1
  43. package/lib/commonjs/mol-geo/geometry/image/image.js.map +1 -1
  44. package/lib/commonjs/mol-geo/geometry/lines/lines.js +1 -1
  45. package/lib/commonjs/mol-geo/geometry/lines/lines.js.map +1 -1
  46. package/lib/commonjs/mol-geo/geometry/points/points.js +1 -1
  47. package/lib/commonjs/mol-geo/geometry/points/points.js.map +1 -1
  48. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js +6 -1
  49. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js.map +1 -1
  50. package/lib/commonjs/mol-gl/renderer.d.ts +3 -2
  51. package/lib/commonjs/mol-gl/renderer.js +3 -0
  52. package/lib/commonjs/mol-gl/renderer.js.map +1 -1
  53. package/lib/commonjs/mol-gl/shader/lines.vert.d.ts +1 -1
  54. package/lib/commonjs/mol-gl/shader/lines.vert.js +1 -1
  55. package/lib/commonjs/mol-gl/shader/lines.vert.js.map +1 -1
  56. package/lib/commonjs/mol-gl/shader/points.vert.d.ts +1 -1
  57. package/lib/commonjs/mol-gl/shader/points.vert.js +1 -1
  58. package/lib/commonjs/mol-gl/shader/points.vert.js.map +1 -1
  59. package/lib/commonjs/mol-gl/webgl/context.d.ts +1 -1
  60. package/lib/commonjs/mol-io/reader/cif/schema/bird.d.ts +5 -5
  61. package/lib/commonjs/mol-io/reader/cif/schema/ccd.d.ts +2 -2
  62. package/lib/commonjs/mol-io/reader/cif/schema/density-server.d.ts +4 -4
  63. package/lib/commonjs/mol-io/reader/cif/schema/mmcif-extras.d.ts +3 -3
  64. package/lib/commonjs/mol-io/reader/cif/schema/mmcif.d.ts +22 -22
  65. package/lib/commonjs/mol-io/reader/ply/schema.d.ts +1 -1
  66. package/lib/commonjs/mol-math/linear-algebra/3d/vec3.d.ts +3 -1
  67. package/lib/commonjs/mol-math/linear-algebra/3d/vec3.js +11 -3
  68. package/lib/commonjs/mol-math/linear-algebra/3d/vec3.js.map +1 -1
  69. package/lib/commonjs/mol-math/misc.d.ts +3 -1
  70. package/lib/commonjs/mol-math/misc.js +24 -2
  71. package/lib/commonjs/mol-math/misc.js.map +1 -1
  72. package/lib/commonjs/mol-model/loci.d.ts +32 -32
  73. package/lib/commonjs/mol-model/loci.js +4 -3
  74. package/lib/commonjs/mol-model/loci.js.map +1 -1
  75. package/lib/commonjs/mol-model/shape/shape.d.ts +1 -1
  76. package/lib/commonjs/mol-model/structure/query/utils/structure-distance.d.ts +5 -54
  77. package/lib/commonjs/mol-model/structure/structure/properties.d.ts +3 -3
  78. package/lib/commonjs/mol-model/structure/structure/unit/bonds/intra-compute.js +1 -1
  79. package/lib/commonjs/mol-model/structure/structure/unit/bonds/intra-compute.js.map +1 -1
  80. package/lib/commonjs/mol-model/structure/structure/unit/bonds.d.ts +2 -1
  81. package/lib/commonjs/mol-model/structure/structure/unit/bonds.js +6 -1
  82. package/lib/commonjs/mol-model/structure/structure/unit/bonds.js.map +1 -1
  83. package/lib/commonjs/mol-model/structure/structure/unit.d.ts +2 -2
  84. package/lib/commonjs/mol-model-formats/shape/ply.d.ts +12 -12
  85. package/lib/commonjs/mol-model-formats/structure/basic/schema.d.ts +6 -6
  86. package/lib/commonjs/mol-model-formats/structure/common/component.d.ts +8 -8
  87. package/lib/commonjs/mol-model-formats/structure/common/entity.d.ts +1 -1
  88. package/lib/commonjs/mol-model-formats/structure/pdb/entity.js +29 -3
  89. package/lib/commonjs/mol-model-formats/structure/pdb/entity.js.map +1 -1
  90. package/lib/commonjs/mol-model-props/sequence/themes/best-database-mapping.d.ts +12 -12
  91. package/lib/commonjs/mol-plugin/behavior/behavior.d.ts +1 -1
  92. package/lib/commonjs/mol-plugin/behavior/dynamic/representation.d.ts +4 -2
  93. package/lib/commonjs/mol-plugin/behavior/dynamic/representation.js +22 -8
  94. package/lib/commonjs/mol-plugin/behavior/dynamic/representation.js.map +1 -1
  95. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/behavior.d.ts +10 -10
  96. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/transformers.d.ts +7 -7
  97. package/lib/commonjs/mol-plugin/commands.d.ts +6 -2
  98. package/lib/commonjs/mol-plugin/config.d.ts +1 -0
  99. package/lib/commonjs/mol-plugin/config.js +1 -0
  100. package/lib/commonjs/mol-plugin/config.js.map +1 -1
  101. package/lib/commonjs/mol-plugin/context.js +6 -4
  102. package/lib/commonjs/mol-plugin/context.js.map +1 -1
  103. package/lib/commonjs/mol-plugin/util/viewport-screenshot.d.ts +6 -6
  104. package/lib/commonjs/mol-plugin-state/animation/built-in/model-index.d.ts +3 -3
  105. package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy-preset.d.ts +7 -7
  106. package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy.d.ts +7 -7
  107. package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.d.ts +10 -10
  108. package/lib/commonjs/mol-plugin-state/formats/volume.d.ts +16 -16
  109. package/lib/commonjs/mol-plugin-state/helpers/root-structure.d.ts +7 -7
  110. package/lib/commonjs/mol-plugin-state/helpers/structure-component.d.ts +1 -1
  111. package/lib/commonjs/mol-plugin-state/manager/interactivity.d.ts +2 -2
  112. package/lib/commonjs/mol-plugin-state/manager/interactivity.js +12 -11
  113. package/lib/commonjs/mol-plugin-state/manager/interactivity.js.map +1 -1
  114. package/lib/commonjs/mol-plugin-state/manager/structure/selection.d.ts +2 -2
  115. package/lib/commonjs/mol-plugin-state/transforms/data.d.ts +1 -1
  116. package/lib/commonjs/mol-plugin-state/transforms/model.d.ts +9 -9
  117. package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +1 -1
  118. package/lib/commonjs/mol-plugin-ui/controls/parameters.d.ts +2 -2
  119. package/lib/commonjs/mol-repr/shape/loci/orientation.d.ts +1 -1
  120. package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +1 -1
  121. package/lib/commonjs/mol-repr/structure/params.d.ts +1 -1
  122. package/lib/commonjs/mol-repr/structure/registry.d.ts +23 -15
  123. package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +9 -6
  124. package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +9 -6
  125. package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +6 -6
  126. package/lib/commonjs/mol-repr/structure/representation/gaussian-volume.d.ts +3 -3
  127. package/lib/commonjs/mol-repr/structure/representation/line.d.ts +37 -19
  128. package/lib/commonjs/mol-repr/structure/representation/line.js +10 -4
  129. package/lib/commonjs/mol-repr/structure/representation/line.js.map +1 -1
  130. package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +6 -6
  131. package/lib/commonjs/mol-repr/structure/units-visual.d.ts +1 -1
  132. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +6 -4
  133. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.js +14 -9
  134. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.js.map +1 -1
  135. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.d.ts +3 -2
  136. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.js +12 -8
  137. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.js.map +1 -1
  138. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +6 -4
  139. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.js +15 -7
  140. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.js.map +1 -1
  141. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.d.ts +3 -2
  142. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.js +13 -6
  143. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.js.map +1 -1
  144. package/lib/commonjs/mol-repr/structure/visual/element-cross.d.ts +26 -0
  145. package/lib/commonjs/mol-repr/structure/visual/element-cross.js +77 -0
  146. package/lib/commonjs/mol-repr/structure/visual/element-cross.js.map +1 -0
  147. package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.d.ts +2 -2
  148. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +8 -8
  149. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +2 -2
  150. package/lib/commonjs/mol-repr/structure/visual/util/bond.d.ts +22 -16
  151. package/lib/commonjs/mol-repr/structure/visual/util/bond.js +1 -0
  152. package/lib/commonjs/mol-repr/structure/visual/util/bond.js.map +1 -1
  153. package/lib/commonjs/mol-repr/structure/visual/util/color.d.ts +2 -2
  154. package/lib/commonjs/mol-repr/structure/visual/util/element.d.ts +4 -4
  155. package/lib/commonjs/mol-repr/structure/visual/util/link.d.ts +6 -4
  156. package/lib/commonjs/mol-repr/structure/visual/util/link.js +66 -23
  157. package/lib/commonjs/mol-repr/structure/visual/util/link.js.map +1 -1
  158. package/lib/commonjs/mol-repr/structure/visual/util/polymer.d.ts +2 -2
  159. package/lib/commonjs/mol-repr/volume/direct-volume.d.ts +5 -5
  160. package/lib/commonjs/mol-repr/volume/isosurface.d.ts +3 -3
  161. package/lib/commonjs/mol-repr/volume/registry.d.ts +4 -4
  162. package/lib/commonjs/mol-repr/volume/slice.d.ts +6 -6
  163. package/lib/commonjs/mol-theme/color/atom-id.d.ts +12 -12
  164. package/lib/commonjs/mol-theme/color/chain-id.d.ts +12 -12
  165. package/lib/commonjs/mol-theme/color/element-index.d.ts +12 -12
  166. package/lib/commonjs/mol-theme/color/element-symbol.d.ts +12 -12
  167. package/lib/commonjs/mol-theme/color/entity-id.d.ts +12 -12
  168. package/lib/commonjs/mol-theme/color/entity-source.d.ts +12 -12
  169. package/lib/commonjs/mol-theme/color/illustrative.d.ts +12 -12
  170. package/lib/commonjs/mol-theme/color/model-index.d.ts +12 -12
  171. package/lib/commonjs/mol-theme/color/operator-hkl.d.ts +12 -12
  172. package/lib/commonjs/mol-theme/color/operator-name.d.ts +12 -12
  173. package/lib/commonjs/mol-theme/color/polymer-id.d.ts +12 -12
  174. package/lib/commonjs/mol-theme/color/polymer-index.d.ts +12 -12
  175. package/lib/commonjs/mol-theme/color/unit-index.d.ts +12 -12
  176. package/lib/commonjs/mol-theme/color.d.ts +78 -78
  177. package/lib/commonjs/mol-util/color/palette.d.ts +12 -12
  178. package/lib/commonjs/servers/model/config.js +0 -1
  179. package/lib/commonjs/servers/model/config.js.map +1 -1
  180. package/lib/commonjs/servers/volume/config.js +0 -1
  181. package/lib/commonjs/servers/volume/config.js.map +1 -1
  182. package/lib/extensions/cellpack/model.d.ts +1 -1
  183. package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +4 -4
  184. package/lib/extensions/rcsb/assembly-symmetry/color.d.ts +12 -12
  185. package/lib/extensions/rcsb/assembly-symmetry/representation.d.ts +2 -2
  186. package/lib/extensions/rcsb/validation-report/representation.js +2 -2
  187. package/lib/mol-canvas3d/camera/util.d.ts +4 -3
  188. package/lib/mol-canvas3d/camera/util.js +15 -16
  189. package/lib/mol-canvas3d/camera/util.js.map +1 -1
  190. package/lib/mol-canvas3d/camera.d.ts +11 -3
  191. package/lib/mol-canvas3d/camera.js +22 -2
  192. package/lib/mol-canvas3d/camera.js.map +1 -1
  193. package/lib/mol-canvas3d/canvas3d.d.ts +14 -4
  194. package/lib/mol-canvas3d/canvas3d.js +9 -3
  195. package/lib/mol-canvas3d/canvas3d.js.map +1 -1
  196. package/lib/mol-canvas3d/helper/camera-helper.d.ts +2 -2
  197. package/lib/mol-canvas3d/helper/interaction-events.d.ts +13 -4
  198. package/lib/mol-canvas3d/helper/interaction-events.js +43 -9
  199. package/lib/mol-canvas3d/helper/interaction-events.js.map +1 -1
  200. package/lib/mol-canvas3d/passes/draw.js +1 -0
  201. package/lib/mol-canvas3d/passes/draw.js.map +1 -1
  202. package/lib/mol-canvas3d/passes/image.d.ts +2 -2
  203. package/lib/mol-canvas3d/passes/pick.d.ts +5 -2
  204. package/lib/mol-canvas3d/passes/pick.js +17 -3
  205. package/lib/mol-canvas3d/passes/pick.js.map +1 -1
  206. package/lib/mol-data/int/impl/ordered-set.d.ts +3 -3
  207. package/lib/mol-geo/geometry/direct-volume/direct-volume.d.ts +2 -2
  208. package/lib/mol-geo/geometry/direct-volume/direct-volume.js +12 -3
  209. package/lib/mol-geo/geometry/direct-volume/direct-volume.js.map +1 -1
  210. package/lib/mol-geo/geometry/image/image.d.ts +2 -2
  211. package/lib/mol-geo/geometry/image/image.js +5 -2
  212. package/lib/mol-geo/geometry/image/image.js.map +1 -1
  213. package/lib/mol-geo/geometry/lines/lines.js +1 -1
  214. package/lib/mol-geo/geometry/lines/lines.js.map +1 -1
  215. package/lib/mol-geo/geometry/points/points.js +1 -1
  216. package/lib/mol-geo/geometry/points/points.js.map +1 -1
  217. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js +6 -1
  218. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js.map +1 -1
  219. package/lib/mol-gl/renderer.d.ts +3 -2
  220. package/lib/mol-gl/renderer.js +3 -0
  221. package/lib/mol-gl/renderer.js.map +1 -1
  222. package/lib/mol-gl/shader/lines.vert.d.ts +1 -1
  223. package/lib/mol-gl/shader/lines.vert.js +1 -1
  224. package/lib/mol-gl/shader/lines.vert.js.map +1 -1
  225. package/lib/mol-gl/shader/points.vert.d.ts +1 -1
  226. package/lib/mol-gl/shader/points.vert.js +1 -1
  227. package/lib/mol-gl/shader/points.vert.js.map +1 -1
  228. package/lib/mol-gl/webgl/context.d.ts +1 -1
  229. package/lib/mol-io/reader/cif/schema/bird.d.ts +5 -5
  230. package/lib/mol-io/reader/cif/schema/ccd.d.ts +2 -2
  231. package/lib/mol-io/reader/cif/schema/density-server.d.ts +4 -4
  232. package/lib/mol-io/reader/cif/schema/mmcif-extras.d.ts +3 -3
  233. package/lib/mol-io/reader/cif/schema/mmcif.d.ts +23 -23
  234. package/lib/mol-io/reader/ply/schema.d.ts +1 -1
  235. package/lib/mol-math/linear-algebra/3d/vec3.d.ts +3 -1
  236. package/lib/mol-math/linear-algebra/3d/vec3.js +11 -3
  237. package/lib/mol-math/linear-algebra/3d/vec3.js.map +1 -1
  238. package/lib/mol-math/misc.d.ts +3 -1
  239. package/lib/mol-math/misc.js +22 -1
  240. package/lib/mol-math/misc.js.map +1 -1
  241. package/lib/mol-model/loci.d.ts +32 -32
  242. package/lib/mol-model/loci.js +4 -3
  243. package/lib/mol-model/loci.js.map +1 -1
  244. package/lib/mol-model/shape/shape.d.ts +1 -1
  245. package/lib/mol-model/structure/query/utils/structure-distance.d.ts +5 -54
  246. package/lib/mol-model/structure/structure/properties.d.ts +3 -3
  247. package/lib/mol-model/structure/structure/unit/bonds/intra-compute.js +1 -1
  248. package/lib/mol-model/structure/structure/unit/bonds/intra-compute.js.map +1 -1
  249. package/lib/mol-model/structure/structure/unit/bonds.d.ts +2 -1
  250. package/lib/mol-model/structure/structure/unit/bonds.js +7 -2
  251. package/lib/mol-model/structure/structure/unit/bonds.js.map +1 -1
  252. package/lib/mol-model/structure/structure/unit.d.ts +2 -2
  253. package/lib/mol-model-formats/shape/ply.d.ts +12 -12
  254. package/lib/mol-model-formats/structure/basic/schema.d.ts +6 -6
  255. package/lib/mol-model-formats/structure/common/component.d.ts +8 -8
  256. package/lib/mol-model-formats/structure/common/entity.d.ts +1 -1
  257. package/lib/mol-model-formats/structure/pdb/entity.js +29 -3
  258. package/lib/mol-model-formats/structure/pdb/entity.js.map +1 -1
  259. package/lib/mol-model-props/sequence/themes/best-database-mapping.d.ts +12 -12
  260. package/lib/mol-plugin/behavior/behavior.d.ts +1 -1
  261. package/lib/mol-plugin/behavior/dynamic/representation.d.ts +4 -2
  262. package/lib/mol-plugin/behavior/dynamic/representation.js +23 -9
  263. package/lib/mol-plugin/behavior/dynamic/representation.js.map +1 -1
  264. package/lib/mol-plugin/behavior/dynamic/volume-streaming/behavior.d.ts +10 -10
  265. package/lib/mol-plugin/behavior/dynamic/volume-streaming/transformers.d.ts +7 -7
  266. package/lib/mol-plugin/commands.d.ts +6 -2
  267. package/lib/mol-plugin/config.d.ts +1 -0
  268. package/lib/mol-plugin/config.js +1 -0
  269. package/lib/mol-plugin/config.js.map +1 -1
  270. package/lib/mol-plugin/context.js +6 -4
  271. package/lib/mol-plugin/context.js.map +1 -1
  272. package/lib/mol-plugin/util/viewport-screenshot.d.ts +6 -6
  273. package/lib/mol-plugin/version.js +2 -2
  274. package/lib/mol-plugin-state/animation/built-in/model-index.d.ts +3 -3
  275. package/lib/mol-plugin-state/builder/structure/hierarchy-preset.d.ts +7 -7
  276. package/lib/mol-plugin-state/builder/structure/hierarchy.d.ts +7 -7
  277. package/lib/mol-plugin-state/builder/structure/representation-preset.d.ts +10 -10
  278. package/lib/mol-plugin-state/formats/volume.d.ts +16 -16
  279. package/lib/mol-plugin-state/helpers/root-structure.d.ts +7 -7
  280. package/lib/mol-plugin-state/helpers/structure-component.d.ts +1 -1
  281. package/lib/mol-plugin-state/manager/interactivity.d.ts +2 -2
  282. package/lib/mol-plugin-state/manager/interactivity.js +12 -11
  283. package/lib/mol-plugin-state/manager/interactivity.js.map +1 -1
  284. package/lib/mol-plugin-state/manager/structure/selection.d.ts +2 -2
  285. package/lib/mol-plugin-state/transforms/data.d.ts +1 -1
  286. package/lib/mol-plugin-state/transforms/model.d.ts +9 -9
  287. package/lib/mol-plugin-state/transforms/representation.d.ts +2 -2
  288. package/lib/mol-repr/shape/loci/orientation.d.ts +1 -1
  289. package/lib/mol-repr/shape/model/unitcell.d.ts +1 -1
  290. package/lib/mol-repr/structure/complex-visual.d.ts +1 -1
  291. package/lib/mol-repr/structure/params.d.ts +1 -1
  292. package/lib/mol-repr/structure/registry.d.ts +19 -11
  293. package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +3 -0
  294. package/lib/mol-repr/structure/representation/ellipsoid.d.ts +3 -0
  295. package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +6 -6
  296. package/lib/mol-repr/structure/representation/gaussian-volume.d.ts +3 -3
  297. package/lib/mol-repr/structure/representation/label.d.ts +3 -3
  298. package/lib/mol-repr/structure/representation/line.d.ts +34 -16
  299. package/lib/mol-repr/structure/representation/line.js +10 -4
  300. package/lib/mol-repr/structure/representation/line.js.map +1 -1
  301. package/lib/mol-repr/structure/representation/molecular-surface.d.ts +6 -6
  302. package/lib/mol-repr/structure/units-visual.d.ts +1 -1
  303. package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +2 -0
  304. package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.js +14 -9
  305. package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.js.map +1 -1
  306. package/lib/mol-repr/structure/visual/bond-inter-unit-line.d.ts +1 -0
  307. package/lib/mol-repr/structure/visual/bond-inter-unit-line.js +12 -8
  308. package/lib/mol-repr/structure/visual/bond-inter-unit-line.js.map +1 -1
  309. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +2 -0
  310. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.js +15 -7
  311. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.js.map +1 -1
  312. package/lib/mol-repr/structure/visual/bond-intra-unit-line.d.ts +1 -0
  313. package/lib/mol-repr/structure/visual/bond-intra-unit-line.js +13 -6
  314. package/lib/mol-repr/structure/visual/bond-intra-unit-line.js.map +1 -1
  315. package/lib/mol-repr/structure/visual/element-cross.d.ts +26 -0
  316. package/lib/mol-repr/structure/visual/element-cross.js +72 -0
  317. package/lib/mol-repr/structure/visual/element-cross.js.map +1 -0
  318. package/lib/mol-repr/structure/visual/gaussian-density-volume.d.ts +2 -2
  319. package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +8 -8
  320. package/lib/mol-repr/structure/visual/label-text.d.ts +1 -1
  321. package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +2 -2
  322. package/lib/mol-repr/structure/visual/util/bond.d.ts +10 -4
  323. package/lib/mol-repr/structure/visual/util/bond.js +1 -0
  324. package/lib/mol-repr/structure/visual/util/bond.js.map +1 -1
  325. package/lib/mol-repr/structure/visual/util/color.d.ts +2 -2
  326. package/lib/mol-repr/structure/visual/util/element.d.ts +4 -4
  327. package/lib/mol-repr/structure/visual/util/link.d.ts +6 -4
  328. package/lib/mol-repr/structure/visual/util/link.js +66 -23
  329. package/lib/mol-repr/structure/visual/util/link.js.map +1 -1
  330. package/lib/mol-repr/structure/visual/util/polymer.d.ts +2 -2
  331. package/lib/mol-repr/volume/direct-volume.d.ts +5 -5
  332. package/lib/mol-repr/volume/isosurface.d.ts +3 -3
  333. package/lib/mol-repr/volume/registry.d.ts +4 -4
  334. package/lib/mol-repr/volume/slice.d.ts +6 -6
  335. package/lib/mol-theme/color/atom-id.d.ts +12 -12
  336. package/lib/mol-theme/color/chain-id.d.ts +12 -12
  337. package/lib/mol-theme/color/element-index.d.ts +12 -12
  338. package/lib/mol-theme/color/element-symbol.d.ts +12 -12
  339. package/lib/mol-theme/color/entity-id.d.ts +12 -12
  340. package/lib/mol-theme/color/entity-source.d.ts +12 -12
  341. package/lib/mol-theme/color/illustrative.d.ts +12 -12
  342. package/lib/mol-theme/color/model-index.d.ts +12 -12
  343. package/lib/mol-theme/color/operator-hkl.d.ts +12 -12
  344. package/lib/mol-theme/color/operator-name.d.ts +12 -12
  345. package/lib/mol-theme/color/polymer-id.d.ts +12 -12
  346. package/lib/mol-theme/color/polymer-index.d.ts +12 -12
  347. package/lib/mol-theme/color/unit-index.d.ts +12 -12
  348. package/lib/mol-theme/color.d.ts +78 -78
  349. package/lib/mol-util/color/palette.d.ts +12 -12
  350. package/lib/servers/model/config.js +0 -1
  351. package/lib/servers/model/config.js.map +1 -1
  352. package/lib/servers/volume/config.js +0 -1
  353. package/lib/servers/volume/config.js.map +1 -1
  354. package/lib/tsconfig.commonjs.tsbuildinfo +1 -1
  355. package/package.json +18 -18
package/CHANGELOG.md CHANGED
@@ -6,6 +6,23 @@ Note that since we don't clearly distinguish between a public and private interf
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [v2.3.5] - 2021-10-19
10
+
11
+ - Fix sequence viewer for PDB files with COMPND record and multichain entities.
12
+ - Fix index pair bonds order assignment
13
+
14
+ ## [v2.3.4] - 2021-10-12
15
+
16
+ - Fix pickScale not taken into account in line/point shader
17
+ - Add pixel-scale, pick-scale & pick-padding GET params to Viewer app
18
+ - Fix selecting bonds not adding their atoms in selection manager
19
+ - Add ``preferAtoms`` option to SelectLoci/HighlightLoci behaviors
20
+ - Make the implicit atoms of bond visuals pickable
21
+ - Add ``preferAtomPixelPadding`` to Canvas3dInteractionHelper
22
+ - Add points & crosses visuals to Line representation
23
+ - Add ``pickPadding`` config option (look around in case target pixel is empty)
24
+ - Add ``multipleBonds`` param to bond visuals with options: off, symmetric, offset
25
+ - Fix ``argparse`` config in servers.
9
26
 
10
27
  ## [v2.3.3] - 2021-10-01
11
28
 
@@ -15,11 +32,10 @@ Note that since we don't clearly distinguish between a public and private interf
15
32
 
16
33
  - Prefer WebGL1 on iOS devices until WebGL2 support has stabilized.
17
34
 
18
-
19
35
  ## [v2.3.1] - 2021-09-28
20
36
 
21
37
  - Add Charmm saccharide names
22
- - Treat missing occupancy column as occupany of 1
38
+ - Treat missing occupancy column as occupancy of 1
23
39
  - Fix line shader not accounting for aspect ratio
24
40
  - [Breaking] Fix point repr & shader
25
41
  - Was unusable with ``wboit``
@@ -53,6 +53,9 @@
53
53
  var pdbProvider = getParam('pdb-provider', '[^&]+').trim().toLowerCase();
54
54
  var emdbProvider = getParam('emdb-provider', '[^&]+').trim().toLowerCase();
55
55
  var mapProvider = getParam('map-provider', '[^&]+').trim().toLowerCase();
56
+ var pixelScale = getParam('pixel-scale', '[^&]+').trim();
57
+ var pickScale = getParam('pick-scale', '[^&]+').trim();
58
+ var pickPadding = getParam('pick-padding', '[^&]+').trim();
56
59
  var viewer = new molstar.Viewer('app', {
57
60
  layoutShowControls: !hideControls,
58
61
  viewportShowExpand: false,
@@ -61,7 +64,10 @@
61
64
  emdbProvider: emdbProvider || 'pdbe',
62
65
  volumeStreamingServer: (mapProvider || 'pdbe') === 'rcsb'
63
66
  ? 'https://maps.rcsb.org'
64
- : 'https://www.ebi.ac.uk/pdbe/densities'
67
+ : 'https://www.ebi.ac.uk/pdbe/densities',
68
+ pixelScale: parseFloat(pixelScale) || 1,
69
+ pickScale: parseFloat(pickScale) || 0.25,
70
+ pickPadding: isNaN(parseFloat(pickPadding)) ? 1 : parseFloat(pickPadding),
65
71
  });
66
72
 
67
73
  var snapshotId = getParam('snapshot-id', '[^&]+').trim();