molstar 4.8.0 → 4.9.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 (550) hide show
  1. package/build/viewer/molstar.js +1 -1
  2. package/build/viewer/molstar.js.LICENSE.txt +25 -0
  3. package/lib/apps/docking-viewer/viewport.d.ts +12 -12
  4. package/lib/apps/mesoscale-explorer/data/state.d.ts +35 -35
  5. package/lib/apps/mesoscale-explorer/ui/entities.d.ts +27 -27
  6. package/lib/apps/viewer/app.d.ts +6 -6
  7. package/lib/cli/chem-comp-dict/util.d.ts +1 -1
  8. package/lib/cli/cif2bcif/converter.d.ts +1 -1
  9. package/lib/commonjs/apps/docking-viewer/viewport.d.ts +12 -12
  10. package/lib/commonjs/apps/mesoscale-explorer/data/state.d.ts +35 -35
  11. package/lib/commonjs/apps/mesoscale-explorer/ui/entities.d.ts +27 -27
  12. package/lib/commonjs/apps/viewer/app.d.ts +6 -6
  13. package/lib/commonjs/cli/chem-comp-dict/util.d.ts +1 -1
  14. package/lib/commonjs/cli/cif2bcif/converter.d.ts +1 -1
  15. package/lib/commonjs/examples/domain-annotation-server/mapping.d.ts +1 -1
  16. package/lib/commonjs/examples/glb-export/index.d.ts +13 -0
  17. package/lib/commonjs/examples/glb-export/index.js +79 -0
  18. package/lib/commonjs/extensions/alpha-orbitals/collocation.d.ts +1 -1
  19. package/lib/commonjs/extensions/alpha-orbitals/gpu/compute.d.ts +2 -2
  20. package/lib/commonjs/extensions/alpha-orbitals/transforms.d.ts +2 -2
  21. package/lib/commonjs/extensions/anvil/behavior.d.ts +8 -8
  22. package/lib/commonjs/extensions/anvil/prop.d.ts +1 -1
  23. package/lib/commonjs/extensions/anvil/prop.js +25 -3
  24. package/lib/commonjs/extensions/anvil/representation.d.ts +25 -25
  25. package/lib/commonjs/extensions/anvil/representation.js +1 -1
  26. package/lib/commonjs/extensions/assembly-symmetry/behavior.d.ts +9 -9
  27. package/lib/commonjs/extensions/assembly-symmetry/representation.d.ts +5 -5
  28. package/lib/commonjs/extensions/dnatco/confal-pyramids/behavior.d.ts +6 -6
  29. package/lib/commonjs/extensions/dnatco/confal-pyramids/representation.d.ts +15 -15
  30. package/lib/commonjs/extensions/dnatco/ntc-tube/behavior.d.ts +6 -6
  31. package/lib/commonjs/extensions/dnatco/ntc-tube/representation.d.ts +15 -15
  32. package/lib/commonjs/extensions/geo-export/glb-exporter.d.ts +1 -1
  33. package/lib/commonjs/extensions/geo-export/mesh-exporter.d.ts +3 -3
  34. package/lib/commonjs/extensions/geo-export/stl-exporter.d.ts +1 -1
  35. package/lib/commonjs/extensions/geo-export/usdz-exporter.d.ts +1 -1
  36. package/lib/commonjs/extensions/meshes/mesh-streaming/transformers.d.ts +4 -4
  37. package/lib/commonjs/extensions/model-archive/quality-assessment/behavior.d.ts +12 -12
  38. package/lib/commonjs/extensions/mp4-export/controls.d.ts +1 -1
  39. package/lib/commonjs/extensions/mp4-export/encoder.d.ts +1 -1
  40. package/lib/commonjs/extensions/mvs/components/annotation-label/representation.d.ts +10 -10
  41. package/lib/commonjs/extensions/mvs/components/annotation-label/visual.d.ts +5 -5
  42. package/lib/commonjs/extensions/mvs/components/annotation-prop.d.ts +4 -4
  43. package/lib/commonjs/extensions/mvs/components/annotation-structure-component.d.ts +1 -1
  44. package/lib/commonjs/extensions/mvs/components/custom-label/representation.d.ts +20 -20
  45. package/lib/commonjs/extensions/mvs/components/custom-label/visual.d.ts +10 -10
  46. package/lib/commonjs/extensions/mvs/components/custom-tooltips-prop.d.ts +3 -3
  47. package/lib/commonjs/extensions/mvs/components/multilayer-color-theme.d.ts +3 -3
  48. package/lib/commonjs/extensions/mvs/components/primitives.d.ts +54 -54
  49. package/lib/commonjs/extensions/mvs/components/selector.d.ts +1 -1
  50. package/lib/commonjs/extensions/rcsb/validation-report/behavior.d.ts +18 -18
  51. package/lib/commonjs/extensions/rcsb/validation-report/representation.d.ts +25 -25
  52. package/lib/commonjs/extensions/sb-ncbr/partial-charges/color.js +1 -1
  53. package/lib/commonjs/extensions/sb-ncbr/partial-charges/preset.d.ts +6 -6
  54. package/lib/commonjs/extensions/sb-ncbr/partial-charges/property.js +4 -0
  55. package/lib/commonjs/extensions/sb-ncbr/tunnels/actions.d.ts +3 -3
  56. package/lib/commonjs/extensions/sb-ncbr/tunnels/behavior.d.ts +6 -6
  57. package/lib/commonjs/extensions/sb-ncbr/tunnels/representation.d.ts +2 -2
  58. package/lib/commonjs/extensions/volumes-and-segmentations/transformers.d.ts +2 -2
  59. package/lib/commonjs/extensions/wwpdb/ccd/representation.d.ts +15 -15
  60. package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +137 -136
  61. package/lib/commonjs/mol-canvas3d/canvas3d.js +7 -2
  62. package/lib/commonjs/mol-canvas3d/helper/handle-helper.d.ts +2 -2
  63. package/lib/commonjs/mol-canvas3d/helper/helper.d.ts +48 -48
  64. package/lib/commonjs/mol-canvas3d/passes/background.d.ts +15 -15
  65. package/lib/commonjs/mol-canvas3d/passes/image.d.ts +58 -58
  66. package/lib/commonjs/mol-canvas3d/passes/postprocessing.d.ts +23 -23
  67. package/lib/commonjs/mol-canvas3d/passes/postprocessing.js +2 -1
  68. package/lib/commonjs/mol-data/int/impl/sorted-array.d.ts +1 -1
  69. package/lib/commonjs/mol-data/util/array.d.ts +1 -1
  70. package/lib/commonjs/mol-geo/geometry/base.d.ts +5 -5
  71. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +5 -5
  72. package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.d.ts +5 -5
  73. package/lib/commonjs/mol-geo/geometry/image/image.d.ts +5 -5
  74. package/lib/commonjs/mol-geo/geometry/lines/lines.d.ts +5 -5
  75. package/lib/commonjs/mol-geo/geometry/mesh/builder/tube.js +13 -3
  76. package/lib/commonjs/mol-geo/geometry/mesh/color-smoothing.d.ts +1 -1
  77. package/lib/commonjs/mol-geo/geometry/mesh/mesh.d.ts +5 -5
  78. package/lib/commonjs/mol-geo/geometry/points/points.d.ts +5 -5
  79. package/lib/commonjs/mol-geo/geometry/spheres/spheres.d.ts +5 -5
  80. package/lib/commonjs/mol-geo/geometry/text/text.d.ts +5 -5
  81. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +5 -5
  82. package/lib/commonjs/mol-geo/geometry/transform-data.d.ts +1 -1
  83. package/lib/commonjs/mol-geo/primitive/polygon.d.ts +1 -1
  84. package/lib/commonjs/mol-gl/compute/grid3d.d.ts +1 -1
  85. package/lib/commonjs/mol-gl/compute/util.d.ts +2 -2
  86. package/lib/commonjs/mol-gl/shader/chunks/common-frag-params.glsl.d.ts +1 -1
  87. package/lib/commonjs/mol-gl/shader/chunks/common-frag-params.glsl.js +1 -1
  88. package/lib/commonjs/mol-gl/shader/image.frag.d.ts +1 -1
  89. package/lib/commonjs/mol-gl/shader/image.frag.js +7 -3
  90. package/lib/commonjs/mol-io/common/io-buffer.d.ts +2 -2
  91. package/lib/commonjs/mol-io/common/msgpack/encode.d.ts +1 -1
  92. package/lib/commonjs/mol-io/common/typed-array.d.ts +1 -1
  93. package/lib/commonjs/mol-io/reader/cif/schema/bird.d.ts +1 -1
  94. package/lib/commonjs/mol-io/reader/cif/schema/bird.js +1 -1
  95. package/lib/commonjs/mol-io/reader/cif/schema/ccd.d.ts +1 -1
  96. package/lib/commonjs/mol-io/reader/cif/schema/ccd.js +1 -1
  97. package/lib/commonjs/mol-io/reader/cif/schema/mmcif.d.ts +2 -2
  98. package/lib/commonjs/mol-io/reader/cif/schema/mmcif.js +1 -1
  99. package/lib/commonjs/mol-io/writer/cif/encoder/binary.d.ts +1 -1
  100. package/lib/commonjs/mol-math/geometry/common.d.ts +1 -1
  101. package/lib/commonjs/mol-math/graph/inter-unit-graph.d.ts +4 -3
  102. package/lib/commonjs/mol-math/graph/inter-unit-graph.js +24 -12
  103. package/lib/commonjs/mol-math/linear-algebra/3d/minimize-rmsd.d.ts +3 -3
  104. package/lib/commonjs/mol-math/misc.js +9 -4
  105. package/lib/commonjs/mol-model/structure/export/mmcif.d.ts +1 -1
  106. package/lib/commonjs/mol-model/structure/structure/mapping.d.ts +31 -0
  107. package/lib/commonjs/mol-model/structure/structure/mapping.js +65 -0
  108. package/lib/commonjs/mol-model/structure/structure/structure.d.ts +4 -15
  109. package/lib/commonjs/mol-model/structure/structure/structure.js +6 -24
  110. package/lib/commonjs/mol-model/structure/structure/unit/bonds/inter-compute.js +5 -1
  111. package/lib/commonjs/mol-model/structure/structure/unit/bonds/intra-compute.js +8 -6
  112. package/lib/commonjs/mol-model/structure/structure/unit/bonds.js +5 -4
  113. package/lib/commonjs/mol-model/structure/structure/util/principal-axes.d.ts +1 -1
  114. package/lib/commonjs/mol-model-formats/shape/ply.d.ts +10 -10
  115. package/lib/commonjs/mol-model-formats/structure/basic/util.d.ts +1 -1
  116. package/lib/commonjs/mol-model-formats/structure/basic/util.js +2 -1
  117. package/lib/commonjs/mol-model-formats/structure/pdb/anisotropic.d.ts +6 -6
  118. package/lib/commonjs/mol-model-formats/structure/property/anisotropic.d.ts +2 -2
  119. package/lib/commonjs/mol-model-formats/structure/property/bonds/index-pair.d.ts +2 -0
  120. package/lib/commonjs/mol-model-formats/structure/property/bonds/index-pair.js +17 -2
  121. package/lib/commonjs/mol-model-formats/structure/property/bonds/struct_conn.d.ts +1 -1
  122. package/lib/commonjs/mol-model-formats/structure/property/bonds/struct_conn.js +2 -2
  123. package/lib/commonjs/mol-model-props/common/custom-property.d.ts +1 -1
  124. package/lib/commonjs/mol-model-props/computed/chemistry/valence-model.d.ts +2 -1
  125. package/lib/commonjs/mol-model-props/computed/chemistry/valence-model.js +12 -3
  126. package/lib/commonjs/mol-model-props/computed/interactions/common.d.ts +2 -2
  127. package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +5 -5
  128. package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +5 -5
  129. package/lib/commonjs/mol-model-props/computed/representations/interactions.d.ts +15 -15
  130. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.d.ts +20 -20
  131. package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +8 -8
  132. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/transformers.d.ts +23 -23
  133. package/lib/commonjs/mol-plugin/config.d.ts +15 -15
  134. package/lib/commonjs/mol-plugin/util/substructure-parent-helper.js +1 -1
  135. package/lib/commonjs/mol-plugin/util/viewport-screenshot.d.ts +1 -1
  136. package/lib/commonjs/mol-plugin/util/viewport-screenshot.js +1 -1
  137. package/lib/commonjs/mol-plugin-state/actions/structure.d.ts +23 -23
  138. package/lib/commonjs/mol-plugin-state/actions/volume.d.ts +9 -9
  139. package/lib/commonjs/mol-plugin-state/animation/built-in/model-index.d.ts +5 -5
  140. package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy-preset.d.ts +47 -47
  141. package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy.d.ts +21 -21
  142. package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.d.ts +122 -122
  143. package/lib/commonjs/mol-plugin-state/builder/structure/representation.d.ts +6 -6
  144. package/lib/commonjs/mol-plugin-state/formats/volume.d.ts +26 -26
  145. package/lib/commonjs/mol-plugin-state/manager/snapshots.js +1 -1
  146. package/lib/commonjs/mol-plugin-state/manager/structure/component.d.ts +14 -14
  147. package/lib/commonjs/mol-plugin-state/manager/structure/measurement.d.ts +36 -36
  148. package/lib/commonjs/mol-plugin-state/objects.d.ts +3 -3
  149. package/lib/commonjs/mol-plugin-state/transforms/data.d.ts +12 -12
  150. package/lib/commonjs/mol-plugin-state/transforms/model.d.ts +22 -22
  151. package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +19 -19
  152. package/lib/commonjs/mol-plugin-state/transforms/volume.d.ts +4 -4
  153. package/lib/commonjs/mol-plugin-ui/state/tree.js +2 -1
  154. package/lib/commonjs/mol-repr/shape/loci/angle.d.ts +5 -5
  155. package/lib/commonjs/mol-repr/shape/loci/common.d.ts +5 -5
  156. package/lib/commonjs/mol-repr/shape/loci/dihedral.d.ts +5 -5
  157. package/lib/commonjs/mol-repr/shape/loci/distance.d.ts +5 -5
  158. package/lib/commonjs/mol-repr/shape/loci/label.d.ts +5 -5
  159. package/lib/commonjs/mol-repr/shape/loci/orientation.d.ts +5 -5
  160. package/lib/commonjs/mol-repr/shape/loci/plane.d.ts +5 -5
  161. package/lib/commonjs/mol-repr/shape/model/unitcell.d.ts +5 -5
  162. package/lib/commonjs/mol-repr/shape/representation.d.ts +1 -1
  163. package/lib/commonjs/mol-repr/shape/representation.js +3 -3
  164. package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +70 -35
  165. package/lib/commonjs/mol-repr/structure/complex-visual.js +17 -1
  166. package/lib/commonjs/mol-repr/structure/params.d.ts +40 -40
  167. package/lib/commonjs/mol-repr/structure/registry.d.ts +75 -73
  168. package/lib/commonjs/mol-repr/structure/representation/backbone.d.ts +15 -15
  169. package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +18 -18
  170. package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.js +8 -4
  171. package/lib/commonjs/mol-repr/structure/representation/carbohydrate.d.ts +15 -15
  172. package/lib/commonjs/mol-repr/structure/representation/cartoon.d.ts +15 -15
  173. package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +22 -19
  174. package/lib/commonjs/mol-repr/structure/representation/ellipsoid.js +15 -2
  175. package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +15 -15
  176. package/lib/commonjs/mol-repr/structure/representation/gaussian-volume.d.ts +15 -15
  177. package/lib/commonjs/mol-repr/structure/representation/label.d.ts +15 -15
  178. package/lib/commonjs/mol-repr/structure/representation/line.d.ts +18 -18
  179. package/lib/commonjs/mol-repr/structure/representation/line.js +9 -4
  180. package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +15 -15
  181. package/lib/commonjs/mol-repr/structure/representation/orientation.d.ts +15 -15
  182. package/lib/commonjs/mol-repr/structure/representation/point.d.ts +18 -15
  183. package/lib/commonjs/mol-repr/structure/representation/point.js +9 -2
  184. package/lib/commonjs/mol-repr/structure/representation/putty.d.ts +15 -15
  185. package/lib/commonjs/mol-repr/structure/representation/spacefill.d.ts +15 -15
  186. package/lib/commonjs/mol-repr/structure/representation/spacefill.js +1 -1
  187. package/lib/commonjs/mol-repr/structure/units-visual.d.ts +40 -40
  188. package/lib/commonjs/mol-repr/structure/units-visual.js +1 -0
  189. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +10 -10
  190. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.d.ts +9 -5
  191. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.js +11 -7
  192. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +132 -10
  193. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.js +196 -1
  194. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.d.ts +47 -5
  195. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.js +125 -15
  196. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +5 -5
  197. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +5 -5
  198. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +5 -5
  199. package/lib/commonjs/mol-repr/structure/visual/element-cross.d.ts +43 -5
  200. package/lib/commonjs/mol-repr/structure/visual/element-cross.js +85 -1
  201. package/lib/commonjs/mol-repr/structure/visual/element-point.d.ts +44 -6
  202. package/lib/commonjs/mol-repr/structure/visual/element-point.js +90 -4
  203. package/lib/commonjs/mol-repr/structure/visual/element-sphere.d.ts +20 -20
  204. package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.d.ts +61 -12
  205. package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.js +169 -33
  206. package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.d.ts +10 -10
  207. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +20 -20
  208. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +5 -5
  209. package/lib/commonjs/mol-repr/structure/visual/label-text.d.ts +5 -5
  210. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +5 -5
  211. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +5 -5
  212. package/lib/commonjs/mol-repr/structure/visual/nucleotide-atomic-bond.d.ts +10 -10
  213. package/lib/commonjs/mol-repr/structure/visual/nucleotide-atomic-element.d.ts +10 -10
  214. package/lib/commonjs/mol-repr/structure/visual/nucleotide-atomic-ring-fill.d.ts +5 -5
  215. package/lib/commonjs/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +5 -5
  216. package/lib/commonjs/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +5 -5
  217. package/lib/commonjs/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +5 -5
  218. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +10 -10
  219. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +10 -10
  220. package/lib/commonjs/mol-repr/structure/visual/polymer-direction-wedge.d.ts +5 -5
  221. package/lib/commonjs/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +5 -5
  222. package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.d.ts +5 -5
  223. package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.d.ts +5 -5
  224. package/lib/commonjs/mol-repr/structure/visual/util/bond.d.ts +9 -0
  225. package/lib/commonjs/mol-repr/structure/visual/util/bond.js +112 -5
  226. package/lib/commonjs/mol-repr/structure/visual/util/element.js +1 -1
  227. package/lib/commonjs/mol-repr/structure/visual/util/link.d.ts +2 -1
  228. package/lib/commonjs/mol-repr/structure/visual/util/link.js +7 -2
  229. package/lib/commonjs/mol-repr/structure/visual/util/polymer/trace-iterator.d.ts +1 -0
  230. package/lib/commonjs/mol-repr/structure/visual/util/polymer/trace-iterator.js +3 -2
  231. package/lib/commonjs/mol-repr/volume/direct-volume.d.ts +15 -15
  232. package/lib/commonjs/mol-repr/volume/isosurface.d.ts +30 -30
  233. package/lib/commonjs/mol-repr/volume/registry.d.ts +20 -20
  234. package/lib/commonjs/mol-repr/volume/representation.d.ts +5 -5
  235. package/lib/commonjs/mol-repr/volume/segment.d.ts +25 -25
  236. package/lib/commonjs/mol-repr/volume/slice.d.ts +15 -15
  237. package/lib/commonjs/mol-repr/volume/util.d.ts +3 -3
  238. package/lib/commonjs/mol-state/state/selection.js +1 -1
  239. package/lib/commonjs/mol-state/tree/immutable.d.ts +1 -1
  240. package/lib/commonjs/mol-state/tree/immutable.js +1 -1
  241. package/lib/commonjs/mol-theme/color/cartoon.d.ts +478 -478
  242. package/lib/commonjs/mol-theme/color/element-symbol.d.ts +144 -144
  243. package/lib/commonjs/mol-theme/color/external-volume.d.ts +2 -2
  244. package/lib/commonjs/mol-theme/color/illustrative.d.ts +122 -122
  245. package/lib/commonjs/mol-theme/color.d.ts +374 -374
  246. package/lib/commonjs/mol-util/browser.js +2 -0
  247. package/lib/commonjs/mol-util/clip.d.ts +2 -2
  248. package/lib/commonjs/mol-util/data-source.d.ts +1 -1
  249. package/lib/commonjs/mol-util/nodejs-shims.js +1 -0
  250. package/lib/commonjs/mol-util/read.d.ts +2 -2
  251. package/lib/commonjs/mol-util/zip/inflate.d.ts +1 -1
  252. package/lib/commonjs/mol-util/zip/util.d.ts +16 -16
  253. package/lib/commonjs/mol-util/zip/zip.d.ts +8 -8
  254. package/lib/commonjs/servers/common/file-handle.d.ts +8 -1
  255. package/lib/commonjs/servers/common/file-handle.js +90 -1
  256. package/lib/commonjs/servers/common/google-cloud-storage.d.ts +14 -0
  257. package/lib/commonjs/servers/common/google-cloud-storage.js +51 -0
  258. package/lib/commonjs/servers/membrane-orientation/config.d.ts +60 -0
  259. package/lib/commonjs/servers/membrane-orientation/config.js +90 -0
  260. package/lib/commonjs/servers/membrane-orientation/server.d.ts +7 -0
  261. package/lib/commonjs/servers/membrane-orientation/server.js +61 -0
  262. package/lib/commonjs/servers/membrane-orientation/version.d.ts +6 -0
  263. package/lib/commonjs/servers/membrane-orientation/version.js +9 -0
  264. package/lib/commonjs/servers/membrane-orientation/web-api.d.ts +7 -0
  265. package/lib/commonjs/servers/membrane-orientation/web-api.js +98 -0
  266. package/lib/commonjs/servers/membrane-orientation/web-schema.d.ts +203 -0
  267. package/lib/commonjs/servers/membrane-orientation/web-schema.js +219 -0
  268. package/lib/commonjs/servers/model/config.js +2 -2
  269. package/lib/commonjs/servers/model/server/api-web.js +4 -4
  270. package/lib/commonjs/servers/model/server/structure-wrapper.js +1 -1
  271. package/lib/commonjs/servers/model/utils/fetch-retry.d.ts +5 -2
  272. package/lib/commonjs/servers/model/utils/fetch-retry.js +20 -3
  273. package/lib/commonjs/servers/model/utils/tar.d.ts +2 -2
  274. package/lib/commonjs/servers/plugin-state/index.js +1 -2
  275. package/lib/commonjs/servers/volume/common/data-format.d.ts +1 -1
  276. package/lib/commonjs/servers/volume/config.d.ts +5 -1
  277. package/lib/commonjs/servers/volume/config.js +3 -2
  278. package/lib/commonjs/servers/volume/pack/format.js +1 -4
  279. package/lib/commonjs/servers/volume/server/api.js +3 -4
  280. package/lib/commonjs/servers/volume/server/query/execute.js +16 -10
  281. package/lib/commonjs/servers/volume/server/web-api.js +3 -3
  282. package/lib/examples/domain-annotation-server/mapping.d.ts +1 -1
  283. package/lib/examples/glb-export/index.d.ts +13 -0
  284. package/lib/examples/glb-export/index.js +76 -0
  285. package/lib/extensions/alpha-orbitals/collocation.d.ts +1 -1
  286. package/lib/extensions/alpha-orbitals/gpu/compute.d.ts +2 -2
  287. package/lib/extensions/alpha-orbitals/transforms.d.ts +2 -2
  288. package/lib/extensions/anvil/behavior.d.ts +8 -8
  289. package/lib/extensions/anvil/prop.d.ts +1 -1
  290. package/lib/extensions/anvil/prop.js +25 -3
  291. package/lib/extensions/anvil/representation.d.ts +25 -25
  292. package/lib/extensions/anvil/representation.js +1 -1
  293. package/lib/extensions/assembly-symmetry/behavior.d.ts +9 -9
  294. package/lib/extensions/assembly-symmetry/representation.d.ts +5 -5
  295. package/lib/extensions/dnatco/confal-pyramids/behavior.d.ts +6 -6
  296. package/lib/extensions/dnatco/confal-pyramids/representation.d.ts +15 -15
  297. package/lib/extensions/dnatco/ntc-tube/behavior.d.ts +6 -6
  298. package/lib/extensions/dnatco/ntc-tube/representation.d.ts +15 -15
  299. package/lib/extensions/geo-export/glb-exporter.d.ts +1 -1
  300. package/lib/extensions/geo-export/mesh-exporter.d.ts +3 -3
  301. package/lib/extensions/geo-export/stl-exporter.d.ts +1 -1
  302. package/lib/extensions/geo-export/usdz-exporter.d.ts +1 -1
  303. package/lib/extensions/meshes/mesh-streaming/transformers.d.ts +4 -4
  304. package/lib/extensions/model-archive/quality-assessment/behavior.d.ts +12 -12
  305. package/lib/extensions/mp4-export/controls.d.ts +1 -1
  306. package/lib/extensions/mp4-export/encoder.d.ts +1 -1
  307. package/lib/extensions/mvs/components/annotation-label/representation.d.ts +10 -10
  308. package/lib/extensions/mvs/components/annotation-label/visual.d.ts +5 -5
  309. package/lib/extensions/mvs/components/annotation-prop.d.ts +4 -4
  310. package/lib/extensions/mvs/components/annotation-structure-component.d.ts +1 -1
  311. package/lib/extensions/mvs/components/custom-label/representation.d.ts +20 -20
  312. package/lib/extensions/mvs/components/custom-label/visual.d.ts +10 -10
  313. package/lib/extensions/mvs/components/custom-tooltips-prop.d.ts +3 -3
  314. package/lib/extensions/mvs/components/multilayer-color-theme.d.ts +3 -3
  315. package/lib/extensions/mvs/components/primitives.d.ts +54 -54
  316. package/lib/extensions/mvs/components/selector.d.ts +1 -1
  317. package/lib/extensions/rcsb/validation-report/behavior.d.ts +18 -18
  318. package/lib/extensions/rcsb/validation-report/representation.d.ts +25 -25
  319. package/lib/extensions/sb-ncbr/partial-charges/color.js +1 -1
  320. package/lib/extensions/sb-ncbr/partial-charges/preset.d.ts +6 -6
  321. package/lib/extensions/sb-ncbr/partial-charges/property.js +4 -0
  322. package/lib/extensions/sb-ncbr/tunnels/actions.d.ts +3 -3
  323. package/lib/extensions/sb-ncbr/tunnels/behavior.d.ts +6 -6
  324. package/lib/extensions/sb-ncbr/tunnels/representation.d.ts +2 -2
  325. package/lib/extensions/volumes-and-segmentations/transformers.d.ts +2 -2
  326. package/lib/extensions/wwpdb/ccd/representation.d.ts +15 -15
  327. package/lib/mol-canvas3d/canvas3d.d.ts +137 -136
  328. package/lib/mol-canvas3d/canvas3d.js +7 -2
  329. package/lib/mol-canvas3d/helper/handle-helper.d.ts +2 -2
  330. package/lib/mol-canvas3d/helper/helper.d.ts +48 -48
  331. package/lib/mol-canvas3d/passes/background.d.ts +15 -15
  332. package/lib/mol-canvas3d/passes/image.d.ts +58 -58
  333. package/lib/mol-canvas3d/passes/postprocessing.d.ts +23 -23
  334. package/lib/mol-canvas3d/passes/postprocessing.js +2 -1
  335. package/lib/mol-data/int/impl/sorted-array.d.ts +1 -1
  336. package/lib/mol-data/util/array.d.ts +1 -1
  337. package/lib/mol-geo/geometry/base.d.ts +5 -5
  338. package/lib/mol-geo/geometry/cylinders/cylinders.d.ts +5 -5
  339. package/lib/mol-geo/geometry/direct-volume/direct-volume.d.ts +5 -5
  340. package/lib/mol-geo/geometry/image/image.d.ts +5 -5
  341. package/lib/mol-geo/geometry/lines/lines.d.ts +5 -5
  342. package/lib/mol-geo/geometry/mesh/builder/tube.js +13 -3
  343. package/lib/mol-geo/geometry/mesh/color-smoothing.d.ts +1 -1
  344. package/lib/mol-geo/geometry/mesh/mesh.d.ts +5 -5
  345. package/lib/mol-geo/geometry/points/points.d.ts +5 -5
  346. package/lib/mol-geo/geometry/spheres/spheres.d.ts +5 -5
  347. package/lib/mol-geo/geometry/text/text.d.ts +5 -5
  348. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +5 -5
  349. package/lib/mol-geo/geometry/transform-data.d.ts +1 -1
  350. package/lib/mol-geo/primitive/polygon.d.ts +1 -1
  351. package/lib/mol-gl/compute/grid3d.d.ts +1 -1
  352. package/lib/mol-gl/compute/util.d.ts +2 -2
  353. package/lib/mol-gl/shader/chunks/common-frag-params.glsl.d.ts +1 -1
  354. package/lib/mol-gl/shader/chunks/common-frag-params.glsl.js +1 -1
  355. package/lib/mol-gl/shader/image.frag.d.ts +1 -1
  356. package/lib/mol-gl/shader/image.frag.js +7 -3
  357. package/lib/mol-io/common/io-buffer.d.ts +2 -2
  358. package/lib/mol-io/common/msgpack/encode.d.ts +1 -1
  359. package/lib/mol-io/common/typed-array.d.ts +1 -1
  360. package/lib/mol-io/reader/cif/schema/bird.d.ts +1 -1
  361. package/lib/mol-io/reader/cif/schema/bird.js +1 -1
  362. package/lib/mol-io/reader/cif/schema/ccd.d.ts +1 -1
  363. package/lib/mol-io/reader/cif/schema/ccd.js +1 -1
  364. package/lib/mol-io/reader/cif/schema/mmcif.d.ts +2 -2
  365. package/lib/mol-io/reader/cif/schema/mmcif.js +1 -1
  366. package/lib/mol-io/writer/cif/encoder/binary.d.ts +1 -1
  367. package/lib/mol-math/geometry/common.d.ts +1 -1
  368. package/lib/mol-math/graph/inter-unit-graph.d.ts +4 -3
  369. package/lib/mol-math/graph/inter-unit-graph.js +24 -12
  370. package/lib/mol-math/linear-algebra/3d/minimize-rmsd.d.ts +3 -3
  371. package/lib/mol-math/misc.js +9 -4
  372. package/lib/mol-model/structure/export/mmcif.d.ts +1 -1
  373. package/lib/mol-model/structure/structure/mapping.d.ts +31 -0
  374. package/lib/mol-model/structure/structure/mapping.js +61 -0
  375. package/lib/mol-model/structure/structure/structure.d.ts +4 -15
  376. package/lib/mol-model/structure/structure/structure.js +6 -24
  377. package/lib/mol-model/structure/structure/unit/bonds/inter-compute.js +5 -1
  378. package/lib/mol-model/structure/structure/unit/bonds/intra-compute.js +8 -6
  379. package/lib/mol-model/structure/structure/unit/bonds.js +5 -4
  380. package/lib/mol-model/structure/structure/util/principal-axes.d.ts +1 -1
  381. package/lib/mol-model-formats/shape/ply.d.ts +10 -10
  382. package/lib/mol-model-formats/structure/basic/util.d.ts +1 -1
  383. package/lib/mol-model-formats/structure/basic/util.js +2 -1
  384. package/lib/mol-model-formats/structure/pdb/anisotropic.d.ts +6 -6
  385. package/lib/mol-model-formats/structure/property/anisotropic.d.ts +2 -2
  386. package/lib/mol-model-formats/structure/property/bonds/index-pair.d.ts +2 -0
  387. package/lib/mol-model-formats/structure/property/bonds/index-pair.js +17 -2
  388. package/lib/mol-model-formats/structure/property/bonds/struct_conn.d.ts +1 -1
  389. package/lib/mol-model-formats/structure/property/bonds/struct_conn.js +2 -2
  390. package/lib/mol-model-props/common/custom-property.d.ts +1 -1
  391. package/lib/mol-model-props/computed/chemistry/valence-model.d.ts +2 -1
  392. package/lib/mol-model-props/computed/chemistry/valence-model.js +12 -3
  393. package/lib/mol-model-props/computed/interactions/common.d.ts +2 -2
  394. package/lib/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +5 -5
  395. package/lib/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +5 -5
  396. package/lib/mol-model-props/computed/representations/interactions.d.ts +15 -15
  397. package/lib/mol-model-props/integrative/cross-link-restraint/representation.d.ts +20 -20
  398. package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +8 -8
  399. package/lib/mol-plugin/behavior/dynamic/volume-streaming/transformers.d.ts +23 -23
  400. package/lib/mol-plugin/config.d.ts +15 -15
  401. package/lib/mol-plugin/util/substructure-parent-helper.js +1 -1
  402. package/lib/mol-plugin/util/viewport-screenshot.d.ts +1 -1
  403. package/lib/mol-plugin/util/viewport-screenshot.js +1 -1
  404. package/lib/mol-plugin/version.js +2 -2
  405. package/lib/mol-plugin-state/actions/structure.d.ts +23 -23
  406. package/lib/mol-plugin-state/actions/volume.d.ts +9 -9
  407. package/lib/mol-plugin-state/animation/built-in/model-index.d.ts +5 -5
  408. package/lib/mol-plugin-state/builder/structure/hierarchy-preset.d.ts +47 -47
  409. package/lib/mol-plugin-state/builder/structure/hierarchy.d.ts +21 -21
  410. package/lib/mol-plugin-state/builder/structure/representation-preset.d.ts +122 -122
  411. package/lib/mol-plugin-state/builder/structure/representation.d.ts +6 -6
  412. package/lib/mol-plugin-state/formats/volume.d.ts +26 -26
  413. package/lib/mol-plugin-state/manager/snapshots.js +1 -1
  414. package/lib/mol-plugin-state/manager/structure/component.d.ts +14 -14
  415. package/lib/mol-plugin-state/manager/structure/measurement.d.ts +36 -36
  416. package/lib/mol-plugin-state/objects.d.ts +3 -3
  417. package/lib/mol-plugin-state/transforms/data.d.ts +12 -12
  418. package/lib/mol-plugin-state/transforms/model.d.ts +22 -22
  419. package/lib/mol-plugin-state/transforms/representation.d.ts +19 -19
  420. package/lib/mol-plugin-state/transforms/volume.d.ts +4 -4
  421. package/lib/mol-plugin-ui/state/tree.js +2 -1
  422. package/lib/mol-repr/shape/loci/angle.d.ts +5 -5
  423. package/lib/mol-repr/shape/loci/common.d.ts +5 -5
  424. package/lib/mol-repr/shape/loci/dihedral.d.ts +5 -5
  425. package/lib/mol-repr/shape/loci/distance.d.ts +5 -5
  426. package/lib/mol-repr/shape/loci/label.d.ts +5 -5
  427. package/lib/mol-repr/shape/loci/orientation.d.ts +5 -5
  428. package/lib/mol-repr/shape/loci/plane.d.ts +5 -5
  429. package/lib/mol-repr/shape/model/unitcell.d.ts +5 -5
  430. package/lib/mol-repr/shape/representation.d.ts +1 -1
  431. package/lib/mol-repr/shape/representation.js +3 -3
  432. package/lib/mol-repr/structure/complex-visual.d.ts +70 -35
  433. package/lib/mol-repr/structure/complex-visual.js +16 -1
  434. package/lib/mol-repr/structure/params.d.ts +40 -40
  435. package/lib/mol-repr/structure/registry.d.ts +75 -73
  436. package/lib/mol-repr/structure/representation/backbone.d.ts +15 -15
  437. package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +18 -18
  438. package/lib/mol-repr/structure/representation/ball-and-stick.js +10 -6
  439. package/lib/mol-repr/structure/representation/carbohydrate.d.ts +15 -15
  440. package/lib/mol-repr/structure/representation/cartoon.d.ts +15 -15
  441. package/lib/mol-repr/structure/representation/ellipsoid.d.ts +22 -19
  442. package/lib/mol-repr/structure/representation/ellipsoid.js +17 -4
  443. package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +15 -15
  444. package/lib/mol-repr/structure/representation/gaussian-volume.d.ts +15 -15
  445. package/lib/mol-repr/structure/representation/label.d.ts +15 -15
  446. package/lib/mol-repr/structure/representation/line.d.ts +18 -18
  447. package/lib/mol-repr/structure/representation/line.js +12 -7
  448. package/lib/mol-repr/structure/representation/molecular-surface.d.ts +15 -15
  449. package/lib/mol-repr/structure/representation/orientation.d.ts +15 -15
  450. package/lib/mol-repr/structure/representation/point.d.ts +18 -15
  451. package/lib/mol-repr/structure/representation/point.js +11 -4
  452. package/lib/mol-repr/structure/representation/putty.d.ts +15 -15
  453. package/lib/mol-repr/structure/representation/spacefill.d.ts +15 -15
  454. package/lib/mol-repr/structure/representation/spacefill.js +1 -1
  455. package/lib/mol-repr/structure/units-visual.d.ts +40 -40
  456. package/lib/mol-repr/structure/units-visual.js +1 -0
  457. package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +10 -10
  458. package/lib/mol-repr/structure/visual/bond-inter-unit-line.d.ts +9 -5
  459. package/lib/mol-repr/structure/visual/bond-inter-unit-line.js +10 -7
  460. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +132 -10
  461. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.js +194 -2
  462. package/lib/mol-repr/structure/visual/bond-intra-unit-line.d.ts +47 -5
  463. package/lib/mol-repr/structure/visual/bond-intra-unit-line.js +125 -16
  464. package/lib/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +5 -5
  465. package/lib/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +5 -5
  466. package/lib/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +5 -5
  467. package/lib/mol-repr/structure/visual/element-cross.d.ts +43 -5
  468. package/lib/mol-repr/structure/visual/element-cross.js +83 -1
  469. package/lib/mol-repr/structure/visual/element-point.d.ts +44 -6
  470. package/lib/mol-repr/structure/visual/element-point.js +88 -4
  471. package/lib/mol-repr/structure/visual/element-sphere.d.ts +20 -20
  472. package/lib/mol-repr/structure/visual/ellipsoid-mesh.d.ts +61 -12
  473. package/lib/mol-repr/structure/visual/ellipsoid-mesh.js +164 -30
  474. package/lib/mol-repr/structure/visual/gaussian-density-volume.d.ts +10 -10
  475. package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +20 -20
  476. package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +5 -5
  477. package/lib/mol-repr/structure/visual/label-text.d.ts +5 -5
  478. package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +5 -5
  479. package/lib/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +5 -5
  480. package/lib/mol-repr/structure/visual/nucleotide-atomic-bond.d.ts +10 -10
  481. package/lib/mol-repr/structure/visual/nucleotide-atomic-element.d.ts +10 -10
  482. package/lib/mol-repr/structure/visual/nucleotide-atomic-ring-fill.d.ts +5 -5
  483. package/lib/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +5 -5
  484. package/lib/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +5 -5
  485. package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +5 -5
  486. package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +10 -10
  487. package/lib/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +10 -10
  488. package/lib/mol-repr/structure/visual/polymer-direction-wedge.d.ts +5 -5
  489. package/lib/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +5 -5
  490. package/lib/mol-repr/structure/visual/polymer-trace-mesh.d.ts +5 -5
  491. package/lib/mol-repr/structure/visual/polymer-tube-mesh.d.ts +5 -5
  492. package/lib/mol-repr/structure/visual/util/bond.d.ts +9 -0
  493. package/lib/mol-repr/structure/visual/util/bond.js +110 -5
  494. package/lib/mol-repr/structure/visual/util/element.js +1 -1
  495. package/lib/mol-repr/structure/visual/util/link.d.ts +2 -1
  496. package/lib/mol-repr/structure/visual/util/link.js +6 -1
  497. package/lib/mol-repr/structure/visual/util/polymer/trace-iterator.d.ts +1 -0
  498. package/lib/mol-repr/structure/visual/util/polymer/trace-iterator.js +3 -2
  499. package/lib/mol-repr/volume/direct-volume.d.ts +15 -15
  500. package/lib/mol-repr/volume/isosurface.d.ts +30 -30
  501. package/lib/mol-repr/volume/registry.d.ts +20 -20
  502. package/lib/mol-repr/volume/representation.d.ts +5 -5
  503. package/lib/mol-repr/volume/segment.d.ts +25 -25
  504. package/lib/mol-repr/volume/slice.d.ts +15 -15
  505. package/lib/mol-repr/volume/util.d.ts +3 -3
  506. package/lib/mol-state/state/selection.js +1 -1
  507. package/lib/mol-state/tree/immutable.d.ts +1 -1
  508. package/lib/mol-state/tree/immutable.js +1 -1
  509. package/lib/mol-theme/color/cartoon.d.ts +478 -478
  510. package/lib/mol-theme/color/element-symbol.d.ts +144 -144
  511. package/lib/mol-theme/color/external-volume.d.ts +2 -2
  512. package/lib/mol-theme/color/illustrative.d.ts +122 -122
  513. package/lib/mol-theme/color.d.ts +374 -374
  514. package/lib/mol-util/browser.js +2 -0
  515. package/lib/mol-util/clip.d.ts +2 -2
  516. package/lib/mol-util/data-source.d.ts +1 -1
  517. package/lib/mol-util/nodejs-shims.js +1 -0
  518. package/lib/mol-util/read.d.ts +2 -2
  519. package/lib/mol-util/zip/inflate.d.ts +1 -1
  520. package/lib/mol-util/zip/util.d.ts +16 -16
  521. package/lib/mol-util/zip/zip.d.ts +8 -8
  522. package/lib/servers/common/file-handle.d.ts +8 -1
  523. package/lib/servers/common/file-handle.js +87 -1
  524. package/lib/servers/common/google-cloud-storage.d.ts +14 -0
  525. package/lib/servers/common/google-cloud-storage.js +48 -0
  526. package/lib/servers/membrane-orientation/config.d.ts +60 -0
  527. package/lib/servers/membrane-orientation/config.js +85 -0
  528. package/lib/servers/membrane-orientation/server.d.ts +7 -0
  529. package/lib/servers/membrane-orientation/server.js +58 -0
  530. package/lib/servers/membrane-orientation/version.d.ts +6 -0
  531. package/lib/servers/membrane-orientation/version.js +6 -0
  532. package/lib/servers/membrane-orientation/web-api.d.ts +7 -0
  533. package/lib/servers/membrane-orientation/web-api.js +95 -0
  534. package/lib/servers/membrane-orientation/web-schema.d.ts +203 -0
  535. package/lib/servers/membrane-orientation/web-schema.js +215 -0
  536. package/lib/servers/model/config.js +2 -2
  537. package/lib/servers/model/server/api-web.js +4 -4
  538. package/lib/servers/model/server/structure-wrapper.js +1 -1
  539. package/lib/servers/model/utils/fetch-retry.d.ts +5 -2
  540. package/lib/servers/model/utils/fetch-retry.js +19 -3
  541. package/lib/servers/model/utils/tar.d.ts +2 -2
  542. package/lib/servers/plugin-state/index.js +1 -2
  543. package/lib/servers/volume/common/data-format.d.ts +1 -1
  544. package/lib/servers/volume/config.d.ts +5 -1
  545. package/lib/servers/volume/config.js +3 -2
  546. package/lib/servers/volume/pack/format.js +2 -4
  547. package/lib/servers/volume/server/api.js +4 -5
  548. package/lib/servers/volume/server/query/execute.js +17 -11
  549. package/lib/servers/volume/server/web-api.js +3 -3
  550. package/package.json +22 -17

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.