molstar 3.4.0 → 3.6.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 (401) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +202 -197
  3. package/build/viewer/embedded.html +43 -43
  4. package/build/viewer/index.html +106 -106
  5. package/build/viewer/molstar.js +1 -1
  6. package/build/viewer/molstar.js.LICENSE.txt +12 -14
  7. package/lib/apps/docking-viewer/index.html +36 -36
  8. package/lib/apps/docking-viewer/index.js +1 -1
  9. package/lib/apps/viewer/app.js +1 -1
  10. package/lib/apps/viewer/embedded.html +43 -43
  11. package/lib/apps/viewer/index.html +106 -106
  12. package/lib/cli/chem-comp-dict/util.d.ts +20 -20
  13. package/lib/cli/cif2bcif/converter.js +1 -1
  14. package/lib/cli/cif2bcif/index.js +4 -4
  15. package/lib/cli/cifschema/util/cif-dic.d.ts +1 -1
  16. package/lib/cli/cifschema/util/cif-dic.js +7 -5
  17. package/lib/cli/cifschema/util/generate.d.ts +1 -1
  18. package/lib/cli/cifschema/util/generate.js +12 -3
  19. package/lib/cli/cifschema/util/schema.d.ts +3 -3
  20. package/lib/cli/cifschema/util/schema.js +1 -1
  21. package/lib/commonjs/apps/docking-viewer/index.js +2 -2
  22. package/lib/commonjs/apps/viewer/app.js +2 -2
  23. package/lib/commonjs/cli/chem-comp-dict/util.d.ts +20 -20
  24. package/lib/commonjs/cli/cif2bcif/converter.js +1 -1
  25. package/lib/commonjs/cli/cif2bcif/index.js +4 -4
  26. package/lib/commonjs/cli/cifschema/util/cif-dic.d.ts +1 -1
  27. package/lib/commonjs/cli/cifschema/util/cif-dic.js +7 -5
  28. package/lib/commonjs/cli/cifschema/util/generate.d.ts +1 -1
  29. package/lib/commonjs/cli/cifschema/util/generate.js +12 -3
  30. package/lib/commonjs/cli/cifschema/util/schema.d.ts +3 -3
  31. package/lib/commonjs/cli/cifschema/util/schema.js +1 -1
  32. package/lib/commonjs/examples/alpha-orbitals/index.js +2 -2
  33. package/lib/commonjs/examples/basic-wrapper/index.js +2 -2
  34. package/lib/commonjs/examples/lighting/index.js +2 -2
  35. package/lib/commonjs/examples/proteopedia-wrapper/index.js +2 -2
  36. package/lib/commonjs/extensions/anvil/behavior.d.ts +1 -0
  37. package/lib/commonjs/extensions/anvil/representation.d.ts +4 -0
  38. package/lib/commonjs/extensions/cellpack/representation.d.ts +1 -0
  39. package/lib/commonjs/extensions/dnatco/confal-pyramids/color.d.ts +397 -2
  40. package/lib/commonjs/extensions/dnatco/confal-pyramids/color.js +223 -131
  41. package/lib/commonjs/extensions/dnatco/confal-pyramids/property.js +1 -3
  42. package/lib/commonjs/extensions/dnatco/confal-pyramids/representation.d.ts +3 -0
  43. package/lib/commonjs/extensions/dnatco/confal-pyramids/util.js +18 -19
  44. package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +1 -0
  45. package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.d.ts +1 -0
  46. package/lib/commonjs/extensions/rcsb/validation-report/representation.d.ts +5 -0
  47. package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +2 -0
  48. package/lib/commonjs/mol-canvas3d/helper/camera-helper.d.ts +1 -0
  49. package/lib/commonjs/mol-canvas3d/helper/handle-helper.d.ts +1 -0
  50. package/lib/commonjs/mol-canvas3d/helper/helper.d.ts +2 -0
  51. package/lib/commonjs/mol-canvas3d/passes/image.d.ts +1 -0
  52. package/lib/commonjs/mol-data/db/column.d.ts +10 -3
  53. package/lib/commonjs/mol-data/db/column.js +39 -17
  54. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +4 -2
  55. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.js +2 -2
  56. package/lib/commonjs/mol-geo/geometry/lines/lines.d.ts +0 -1
  57. package/lib/commonjs/mol-geo/geometry/mesh/color-smoothing.d.ts +1 -1
  58. package/lib/commonjs/mol-geo/geometry/mesh/color-smoothing.js +5 -3
  59. package/lib/commonjs/mol-geo/geometry/mesh/mesh.d.ts +2 -1
  60. package/lib/commonjs/mol-geo/geometry/mesh/mesh.js +2 -2
  61. package/lib/commonjs/mol-geo/geometry/points/points.d.ts +1 -1
  62. package/lib/commonjs/mol-geo/geometry/spheres/spheres.d.ts +2 -1
  63. package/lib/commonjs/mol-geo/geometry/spheres/spheres.js +2 -2
  64. package/lib/commonjs/mol-geo/geometry/texture-mesh/color-smoothing.d.ts +1 -1
  65. package/lib/commonjs/mol-geo/geometry/texture-mesh/color-smoothing.js +6 -4
  66. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +2 -1
  67. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js +2 -2
  68. package/lib/commonjs/mol-gl/shader/chunks/wboit-write.glsl.d.ts +2 -2
  69. package/lib/commonjs/mol-gl/shader/chunks/wboit-write.glsl.js +2 -2
  70. package/lib/commonjs/mol-gl/shader/direct-volume.frag.d.ts +1 -1
  71. package/lib/commonjs/mol-gl/shader/direct-volume.frag.js +1 -1
  72. package/lib/commonjs/mol-gl/shader/image.frag.d.ts +2 -2
  73. package/lib/commonjs/mol-gl/shader/image.frag.js +2 -2
  74. package/lib/commonjs/mol-gl/shader/lines.frag.d.ts +2 -2
  75. package/lib/commonjs/mol-gl/shader/lines.frag.js +2 -2
  76. package/lib/commonjs/mol-gl/shader/points.frag.d.ts +2 -2
  77. package/lib/commonjs/mol-gl/shader/points.frag.js +2 -2
  78. package/lib/commonjs/mol-gl/shader/text.frag.d.ts +2 -2
  79. package/lib/commonjs/mol-gl/shader/text.frag.js +2 -2
  80. package/lib/commonjs/mol-gl/webgl/buffer.d.ts +2 -2
  81. package/lib/commonjs/mol-gl/webgl/buffer.js +12 -12
  82. package/lib/commonjs/mol-gl/webgl/context.d.ts +1 -1
  83. package/lib/commonjs/mol-gl/webgl/context.js +2 -2
  84. package/lib/commonjs/mol-gl/webgl/program.d.ts +1 -1
  85. package/lib/commonjs/mol-gl/webgl/program.js +10 -4
  86. package/lib/commonjs/mol-io/reader/cif/schema/bird.d.ts +8 -8
  87. package/lib/commonjs/mol-io/reader/cif/schema/bird.js +12 -11
  88. package/lib/commonjs/mol-io/reader/cif/schema/ccd-extras.d.ts +1 -1
  89. package/lib/commonjs/mol-io/reader/cif/schema/ccd.d.ts +12 -12
  90. package/lib/commonjs/mol-io/reader/cif/schema/ccd.js +13 -12
  91. package/lib/commonjs/mol-io/reader/cif/schema/mmcif-extras.d.ts +5 -5
  92. package/lib/commonjs/mol-io/reader/cif/schema/mmcif-extras.js +2 -2
  93. package/lib/commonjs/mol-io/reader/cif/schema/mmcif.d.ts +30 -26
  94. package/lib/commonjs/mol-io/reader/cif/schema/mmcif.js +44 -39
  95. package/lib/commonjs/mol-io/reader/cif/schema.d.ts +1 -1
  96. package/lib/commonjs/mol-io/reader/cif/schema.js +22 -2
  97. package/lib/commonjs/mol-io/writer/mol/encoder.js +1 -1
  98. package/lib/commonjs/mol-math/geometry/common.d.ts +2 -1
  99. package/lib/commonjs/mol-math/geometry/common.js +1 -1
  100. package/lib/commonjs/mol-math/geometry/gaussian-density/cpu.d.ts +1 -1
  101. package/lib/commonjs/mol-math/geometry/gaussian-density/cpu.js +2 -2
  102. package/lib/commonjs/mol-math/geometry/gaussian-density/gpu.d.ts +1 -1
  103. package/lib/commonjs/mol-math/geometry/gaussian-density/gpu.js +7 -7
  104. package/lib/commonjs/mol-math/geometry/gaussian-density.d.ts +2 -2
  105. package/lib/commonjs/mol-math/geometry/gaussian-density.js +1 -1
  106. package/lib/commonjs/mol-math/geometry/molecular-surface.d.ts +2 -1
  107. package/lib/commonjs/mol-math/geometry/molecular-surface.js +2 -2
  108. package/lib/commonjs/mol-math/geometry/primitives/box3d.js +2 -1
  109. package/lib/commonjs/mol-math/geometry/primitives/sphere3d.js +12 -6
  110. package/lib/commonjs/mol-model/structure/model/model.js +14 -6
  111. package/lib/commonjs/mol-model/structure/model/properties/common.js +1 -1
  112. package/lib/commonjs/mol-model/structure/model/types.d.ts +19 -17
  113. package/lib/commonjs/mol-model/structure/model/types.js +30 -31
  114. package/lib/commonjs/mol-model/structure/query/queries/generators.js +1 -1
  115. package/lib/commonjs/mol-model/structure/structure/properties.d.ts +1 -1
  116. package/lib/commonjs/mol-model/structure/structure/unit/bonds/inter-compute.js +2 -4
  117. package/lib/commonjs/mol-model/structure/structure/unit/bonds/intra-compute.js +1 -3
  118. package/lib/commonjs/mol-model/structure/structure/unit/rings.js +3 -0
  119. package/lib/commonjs/mol-model-formats/shape/ply.d.ts +2 -0
  120. package/lib/commonjs/mol-model-formats/structure/basic/entities.js +1 -1
  121. package/lib/commonjs/mol-model-formats/structure/basic/schema.d.ts +2 -2
  122. package/lib/commonjs/mol-model-formats/structure/common/component.d.ts +3 -3
  123. package/lib/commonjs/mol-model-formats/structure/common/component.js +46 -46
  124. package/lib/commonjs/mol-model-formats/structure/pdb/atom-site.d.ts +2 -2
  125. package/lib/commonjs/mol-model-formats/structure/pdb/atom-site.js +72 -7
  126. package/lib/commonjs/mol-model-formats/structure/pdb/secondary-structure.js +11 -11
  127. package/lib/commonjs/mol-model-formats/structure/pdb/to-cif.js +7 -2
  128. package/lib/commonjs/mol-model-formats/structure/property/bonds/chem_comp.js +1 -1
  129. package/lib/commonjs/mol-model-formats/structure/property/bonds/struct_conn.js +1 -1
  130. package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +1 -0
  131. package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +1 -0
  132. package/lib/commonjs/mol-model-props/computed/representations/interactions.d.ts +3 -0
  133. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.d.ts +4 -0
  134. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +2 -3
  135. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/util.js +4 -2
  136. package/lib/commonjs/mol-plugin/commands.d.ts +1 -0
  137. package/lib/commonjs/mol-plugin/util/viewport-screenshot.d.ts +3 -0
  138. package/lib/commonjs/mol-plugin-state/actions/structure.d.ts +6 -6
  139. package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.d.ts +1 -1
  140. package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.js +1 -1
  141. package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +6 -0
  142. package/lib/commonjs/mol-plugin-ui/react18.d.ts +11 -0
  143. package/lib/commonjs/mol-plugin-ui/react18.js +38 -0
  144. package/lib/commonjs/mol-plugin-ui/state/common.js +6 -7
  145. package/lib/commonjs/mol-plugin-ui/structure/focus.d.ts +1 -1
  146. package/lib/commonjs/mol-plugin-ui/structure/focus.js +2 -2
  147. package/lib/commonjs/mol-plugin-ui/task.d.ts +2 -21
  148. package/lib/commonjs/mol-plugin-ui/task.js +39 -43
  149. package/lib/commonjs/mol-repr/shape/loci/angle.d.ts +1 -0
  150. package/lib/commonjs/mol-repr/shape/loci/dihedral.d.ts +1 -0
  151. package/lib/commonjs/mol-repr/shape/loci/orientation.d.ts +1 -0
  152. package/lib/commonjs/mol-repr/shape/loci/plane.d.ts +1 -0
  153. package/lib/commonjs/mol-repr/shape/model/unitcell.d.ts +1 -0
  154. package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +3 -0
  155. package/lib/commonjs/mol-repr/structure/params.d.ts +4 -0
  156. package/lib/commonjs/mol-repr/structure/registry.d.ts +10 -0
  157. package/lib/commonjs/mol-repr/structure/representation/backbone.d.ts +3 -0
  158. package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +3 -0
  159. package/lib/commonjs/mol-repr/structure/representation/carbohydrate.d.ts +3 -0
  160. package/lib/commonjs/mol-repr/structure/representation/cartoon.d.ts +3 -0
  161. package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +3 -0
  162. package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +3 -0
  163. package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +3 -0
  164. package/lib/commonjs/mol-repr/structure/representation/orientation.d.ts +3 -0
  165. package/lib/commonjs/mol-repr/structure/representation/putty.d.ts +3 -0
  166. package/lib/commonjs/mol-repr/structure/representation/spacefill.d.ts +3 -0
  167. package/lib/commonjs/mol-repr/structure/units-visual.d.ts +4 -0
  168. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +2 -0
  169. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +2 -0
  170. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +1 -0
  171. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +1 -0
  172. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +1 -0
  173. package/lib/commonjs/mol-repr/structure/visual/element-sphere.d.ts +2 -0
  174. package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.d.ts +1 -0
  175. package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.js +2 -3
  176. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +5 -1
  177. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.js +9 -9
  178. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +1 -1
  179. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.js +4 -5
  180. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +1 -0
  181. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.js +3 -3
  182. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +1 -1
  183. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.js +4 -4
  184. package/lib/commonjs/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +1 -0
  185. package/lib/commonjs/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +1 -0
  186. package/lib/commonjs/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +1 -0
  187. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +2 -0
  188. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -0
  189. package/lib/commonjs/mol-repr/structure/visual/polymer-direction-wedge.d.ts +1 -0
  190. package/lib/commonjs/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +1 -0
  191. package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.d.ts +1 -0
  192. package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.d.ts +1 -0
  193. package/lib/commonjs/mol-repr/structure/visual/util/common.d.ts +1 -3
  194. package/lib/commonjs/mol-repr/structure/visual/util/common.js +2 -27
  195. package/lib/commonjs/mol-repr/util.d.ts +2 -1
  196. package/lib/commonjs/mol-repr/util.js +2 -2
  197. package/lib/commonjs/mol-repr/volume/isosurface.d.ts +5 -0
  198. package/lib/commonjs/mol-repr/volume/registry.d.ts +1 -0
  199. package/lib/commonjs/mol-script/language/builder.d.ts +1 -0
  200. package/lib/examples/alpha-orbitals/index.html +61 -61
  201. package/lib/examples/alpha-orbitals/index.js +1 -1
  202. package/lib/examples/basic-wrapper/index.html +137 -137
  203. package/lib/examples/basic-wrapper/index.js +1 -1
  204. package/lib/examples/lighting/index.html +88 -88
  205. package/lib/examples/lighting/index.js +1 -1
  206. package/lib/examples/proteopedia-wrapper/index.html +236 -236
  207. package/lib/examples/proteopedia-wrapper/index.js +1 -1
  208. package/lib/extensions/anvil/behavior.d.ts +1 -0
  209. package/lib/extensions/anvil/representation.d.ts +4 -0
  210. package/lib/extensions/cellpack/representation.d.ts +1 -0
  211. package/lib/extensions/dnatco/confal-pyramids/color.d.ts +397 -2
  212. package/lib/extensions/dnatco/confal-pyramids/color.js +224 -132
  213. package/lib/extensions/dnatco/confal-pyramids/property.js +1 -3
  214. package/lib/extensions/dnatco/confal-pyramids/representation.d.ts +3 -0
  215. package/lib/extensions/dnatco/confal-pyramids/util.js +19 -20
  216. package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +1 -0
  217. package/lib/extensions/rcsb/assembly-symmetry/representation.d.ts +1 -0
  218. package/lib/extensions/rcsb/validation-report/representation.d.ts +5 -0
  219. package/lib/mol-canvas3d/canvas3d.d.ts +2 -0
  220. package/lib/mol-canvas3d/helper/camera-helper.d.ts +1 -0
  221. package/lib/mol-canvas3d/helper/handle-helper.d.ts +1 -0
  222. package/lib/mol-canvas3d/helper/helper.d.ts +2 -0
  223. package/lib/mol-canvas3d/passes/image.d.ts +1 -0
  224. package/lib/mol-data/db/column.d.ts +10 -3
  225. package/lib/mol-data/db/column.js +39 -18
  226. package/lib/mol-geo/geometry/cylinders/cylinders.d.ts +4 -2
  227. package/lib/mol-geo/geometry/cylinders/cylinders.js +2 -2
  228. package/lib/mol-geo/geometry/lines/lines.d.ts +0 -1
  229. package/lib/mol-geo/geometry/mesh/color-smoothing.d.ts +1 -1
  230. package/lib/mol-geo/geometry/mesh/color-smoothing.js +5 -3
  231. package/lib/mol-geo/geometry/mesh/mesh.d.ts +2 -1
  232. package/lib/mol-geo/geometry/mesh/mesh.js +2 -2
  233. package/lib/mol-geo/geometry/points/points.d.ts +1 -1
  234. package/lib/mol-geo/geometry/spheres/spheres.d.ts +2 -1
  235. package/lib/mol-geo/geometry/spheres/spheres.js +2 -2
  236. package/lib/mol-geo/geometry/texture-mesh/color-smoothing.d.ts +1 -1
  237. package/lib/mol-geo/geometry/texture-mesh/color-smoothing.js +6 -4
  238. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +2 -1
  239. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js +2 -2
  240. package/lib/mol-gl/shader/chunks/wboit-write.glsl.d.ts +2 -2
  241. package/lib/mol-gl/shader/chunks/wboit-write.glsl.js +2 -2
  242. package/lib/mol-gl/shader/direct-volume.frag.d.ts +1 -1
  243. package/lib/mol-gl/shader/direct-volume.frag.js +1 -1
  244. package/lib/mol-gl/shader/image.frag.d.ts +2 -2
  245. package/lib/mol-gl/shader/image.frag.js +2 -2
  246. package/lib/mol-gl/shader/lines.frag.d.ts +2 -2
  247. package/lib/mol-gl/shader/lines.frag.js +2 -2
  248. package/lib/mol-gl/shader/points.frag.d.ts +2 -2
  249. package/lib/mol-gl/shader/points.frag.js +2 -2
  250. package/lib/mol-gl/shader/text.frag.d.ts +2 -2
  251. package/lib/mol-gl/shader/text.frag.js +2 -2
  252. package/lib/mol-gl/webgl/buffer.d.ts +2 -2
  253. package/lib/mol-gl/webgl/buffer.js +12 -12
  254. package/lib/mol-gl/webgl/context.d.ts +1 -1
  255. package/lib/mol-gl/webgl/context.js +2 -2
  256. package/lib/mol-gl/webgl/program.d.ts +1 -1
  257. package/lib/mol-gl/webgl/program.js +10 -4
  258. package/lib/mol-io/reader/cif/schema/bird.d.ts +8 -8
  259. package/lib/mol-io/reader/cif/schema/bird.js +12 -11
  260. package/lib/mol-io/reader/cif/schema/ccd-extras.d.ts +1 -1
  261. package/lib/mol-io/reader/cif/schema/ccd.d.ts +12 -12
  262. package/lib/mol-io/reader/cif/schema/ccd.js +13 -12
  263. package/lib/mol-io/reader/cif/schema/mmcif-extras.d.ts +5 -5
  264. package/lib/mol-io/reader/cif/schema/mmcif-extras.js +2 -2
  265. package/lib/mol-io/reader/cif/schema/mmcif.d.ts +30 -26
  266. package/lib/mol-io/reader/cif/schema/mmcif.js +44 -39
  267. package/lib/mol-io/reader/cif/schema.d.ts +1 -1
  268. package/lib/mol-io/reader/cif/schema.js +22 -2
  269. package/lib/mol-io/writer/mol/encoder.js +1 -1
  270. package/lib/mol-math/geometry/common.d.ts +2 -1
  271. package/lib/mol-math/geometry/common.js +1 -1
  272. package/lib/mol-math/geometry/gaussian-density/cpu.d.ts +1 -1
  273. package/lib/mol-math/geometry/gaussian-density/cpu.js +2 -2
  274. package/lib/mol-math/geometry/gaussian-density/gpu.d.ts +1 -1
  275. package/lib/mol-math/geometry/gaussian-density/gpu.js +7 -7
  276. package/lib/mol-math/geometry/gaussian-density.d.ts +2 -2
  277. package/lib/mol-math/geometry/gaussian-density.js +1 -1
  278. package/lib/mol-math/geometry/molecular-surface.d.ts +2 -1
  279. package/lib/mol-math/geometry/molecular-surface.js +2 -2
  280. package/lib/mol-math/geometry/primitives/box3d.js +2 -1
  281. package/lib/mol-math/geometry/primitives/sphere3d.js +12 -6
  282. package/lib/mol-model/structure/model/model.js +14 -6
  283. package/lib/mol-model/structure/model/properties/common.js +1 -1
  284. package/lib/mol-model/structure/model/types.d.ts +19 -17
  285. package/lib/mol-model/structure/model/types.js +30 -31
  286. package/lib/mol-model/structure/query/queries/generators.js +1 -1
  287. package/lib/mol-model/structure/structure/properties.d.ts +1 -1
  288. package/lib/mol-model/structure/structure/unit/bonds/inter-compute.js +2 -4
  289. package/lib/mol-model/structure/structure/unit/bonds/intra-compute.js +1 -3
  290. package/lib/mol-model/structure/structure/unit/rings.js +3 -0
  291. package/lib/mol-model-formats/shape/ply.d.ts +2 -0
  292. package/lib/mol-model-formats/structure/basic/entities.js +1 -1
  293. package/lib/mol-model-formats/structure/basic/schema.d.ts +2 -2
  294. package/lib/mol-model-formats/structure/common/component.d.ts +3 -3
  295. package/lib/mol-model-formats/structure/common/component.js +46 -46
  296. package/lib/mol-model-formats/structure/pdb/atom-site.d.ts +2 -2
  297. package/lib/mol-model-formats/structure/pdb/atom-site.js +72 -7
  298. package/lib/mol-model-formats/structure/pdb/secondary-structure.js +11 -11
  299. package/lib/mol-model-formats/structure/pdb/to-cif.js +7 -2
  300. package/lib/mol-model-formats/structure/property/bonds/chem_comp.js +1 -1
  301. package/lib/mol-model-formats/structure/property/bonds/struct_conn.js +1 -1
  302. package/lib/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +1 -0
  303. package/lib/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +1 -0
  304. package/lib/mol-model-props/computed/representations/interactions.d.ts +3 -0
  305. package/lib/mol-model-props/integrative/cross-link-restraint/representation.d.ts +4 -0
  306. package/lib/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +2 -3
  307. package/lib/mol-plugin/behavior/dynamic/volume-streaming/util.js +4 -2
  308. package/lib/mol-plugin/commands.d.ts +1 -0
  309. package/lib/mol-plugin/util/viewport-screenshot.d.ts +3 -0
  310. package/lib/mol-plugin/version.js +2 -2
  311. package/lib/mol-plugin-state/actions/structure.d.ts +6 -6
  312. package/lib/mol-plugin-state/helpers/structure-selection-query.d.ts +1 -1
  313. package/lib/mol-plugin-state/helpers/structure-selection-query.js +1 -1
  314. package/lib/mol-plugin-state/transforms/representation.d.ts +6 -0
  315. package/lib/mol-plugin-ui/react18.d.ts +11 -0
  316. package/lib/mol-plugin-ui/react18.js +34 -0
  317. package/lib/mol-plugin-ui/skin/base/base.scss +32 -32
  318. package/lib/mol-plugin-ui/skin/base/components/controls-base.scss +333 -333
  319. package/lib/mol-plugin-ui/skin/base/components/controls.scss +418 -418
  320. package/lib/mol-plugin-ui/skin/base/components/help.scss +27 -27
  321. package/lib/mol-plugin-ui/skin/base/components/line-graph.scss +67 -67
  322. package/lib/mol-plugin-ui/skin/base/components/log.scss +100 -100
  323. package/lib/mol-plugin-ui/skin/base/components/misc.scss +643 -643
  324. package/lib/mol-plugin-ui/skin/base/components/sequence.scss +125 -125
  325. package/lib/mol-plugin-ui/skin/base/components/slider.scss +165 -165
  326. package/lib/mol-plugin-ui/skin/base/components/tasks.scss +99 -99
  327. package/lib/mol-plugin-ui/skin/base/components/toast.scss +83 -83
  328. package/lib/mol-plugin-ui/skin/base/components/transformer.scss +163 -163
  329. package/lib/mol-plugin-ui/skin/base/components/viewport.scss +128 -128
  330. package/lib/mol-plugin-ui/skin/base/layout/common.scss +71 -71
  331. package/lib/mol-plugin-ui/skin/base/layout/controls-landscape.scss +89 -89
  332. package/lib/mol-plugin-ui/skin/base/layout/controls-outside.scss +98 -98
  333. package/lib/mol-plugin-ui/skin/base/layout/controls-portrait.scss +108 -108
  334. package/lib/mol-plugin-ui/skin/base/layout.scss +40 -40
  335. package/lib/mol-plugin-ui/skin/base/logo.scss +12 -12
  336. package/lib/mol-plugin-ui/skin/base/normalize.scss +209 -209
  337. package/lib/mol-plugin-ui/skin/base/ui.scss +40 -40
  338. package/lib/mol-plugin-ui/skin/base/variables.scss +85 -85
  339. package/lib/mol-plugin-ui/skin/blue.scss +1 -1
  340. package/lib/mol-plugin-ui/skin/colors/blue.scss +23 -23
  341. package/lib/mol-plugin-ui/skin/colors/dark.scss +23 -23
  342. package/lib/mol-plugin-ui/skin/colors/light.scss +29 -29
  343. package/lib/mol-plugin-ui/skin/dark.scss +1 -1
  344. package/lib/mol-plugin-ui/skin/light.scss +1 -1
  345. package/lib/mol-plugin-ui/state/common.js +7 -8
  346. package/lib/mol-plugin-ui/structure/focus.d.ts +1 -1
  347. package/lib/mol-plugin-ui/structure/focus.js +2 -2
  348. package/lib/mol-plugin-ui/task.d.ts +2 -21
  349. package/lib/mol-plugin-ui/task.js +40 -46
  350. package/lib/mol-repr/shape/loci/angle.d.ts +1 -0
  351. package/lib/mol-repr/shape/loci/dihedral.d.ts +1 -0
  352. package/lib/mol-repr/shape/loci/orientation.d.ts +1 -0
  353. package/lib/mol-repr/shape/loci/plane.d.ts +1 -0
  354. package/lib/mol-repr/shape/model/unitcell.d.ts +1 -0
  355. package/lib/mol-repr/structure/complex-visual.d.ts +3 -0
  356. package/lib/mol-repr/structure/params.d.ts +4 -0
  357. package/lib/mol-repr/structure/registry.d.ts +10 -0
  358. package/lib/mol-repr/structure/representation/backbone.d.ts +3 -0
  359. package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +3 -0
  360. package/lib/mol-repr/structure/representation/carbohydrate.d.ts +3 -0
  361. package/lib/mol-repr/structure/representation/cartoon.d.ts +3 -0
  362. package/lib/mol-repr/structure/representation/ellipsoid.d.ts +3 -0
  363. package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +3 -0
  364. package/lib/mol-repr/structure/representation/molecular-surface.d.ts +3 -0
  365. package/lib/mol-repr/structure/representation/orientation.d.ts +3 -0
  366. package/lib/mol-repr/structure/representation/putty.d.ts +3 -0
  367. package/lib/mol-repr/structure/representation/spacefill.d.ts +3 -0
  368. package/lib/mol-repr/structure/units-visual.d.ts +4 -0
  369. package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +2 -0
  370. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +2 -0
  371. package/lib/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +1 -0
  372. package/lib/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +1 -0
  373. package/lib/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +1 -0
  374. package/lib/mol-repr/structure/visual/element-sphere.d.ts +2 -0
  375. package/lib/mol-repr/structure/visual/ellipsoid-mesh.d.ts +1 -0
  376. package/lib/mol-repr/structure/visual/gaussian-density-volume.js +2 -3
  377. package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +5 -1
  378. package/lib/mol-repr/structure/visual/gaussian-surface-mesh.js +10 -10
  379. package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +1 -1
  380. package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.js +4 -5
  381. package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +1 -0
  382. package/lib/mol-repr/structure/visual/molecular-surface-mesh.js +4 -4
  383. package/lib/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +1 -1
  384. package/lib/mol-repr/structure/visual/molecular-surface-wireframe.js +5 -5
  385. package/lib/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +1 -0
  386. package/lib/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +1 -0
  387. package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +1 -0
  388. package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +2 -0
  389. package/lib/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -0
  390. package/lib/mol-repr/structure/visual/polymer-direction-wedge.d.ts +1 -0
  391. package/lib/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +1 -0
  392. package/lib/mol-repr/structure/visual/polymer-trace-mesh.d.ts +1 -0
  393. package/lib/mol-repr/structure/visual/polymer-tube-mesh.d.ts +1 -0
  394. package/lib/mol-repr/structure/visual/util/common.d.ts +1 -3
  395. package/lib/mol-repr/structure/visual/util/common.js +1 -24
  396. package/lib/mol-repr/util.d.ts +2 -1
  397. package/lib/mol-repr/util.js +2 -2
  398. package/lib/mol-repr/volume/isosurface.d.ts +5 -0
  399. package/lib/mol-repr/volume/registry.d.ts +1 -0
  400. package/lib/mol-script/language/builder.d.ts +1 -0
  401. package/package.json +162 -160
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2017-2018 mol* contributors, licensed under MIT, See LICENSE file for more info.
2
+ * Copyright (c) 2017-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
3
3
  *
4
4
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
5
  */
@@ -10,15 +10,17 @@ export function getFieldType(type, description, values, container) {
10
10
  switch (type) {
11
11
  // mmCIF
12
12
  case 'code':
13
- case 'ucode':
14
13
  case 'line':
15
- case 'uline':
16
14
  case 'text':
17
15
  case 'char':
18
- case 'uchar3':
19
- case 'uchar1':
20
16
  case 'boolean':
21
17
  return values && values.length ? EnumCol(values, 'str', description) : StrCol(description);
18
+ case 'ucode':
19
+ case 'uline':
20
+ case 'uchar3':
21
+ case 'uchar1':
22
+ // only force lower-case for enums
23
+ return values && values.length ? EnumCol(values.map(function (x) { return x.toLowerCase(); }), 'lstr', description) : StrCol(description);
22
24
  case 'aliasname':
23
25
  case 'name':
24
26
  case 'idname':
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2017-2019 mol* contributors, licensed under MIT, See LICENSE file for more info.
2
+ * Copyright (c) 2017-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
3
3
  *
4
4
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
5
  */
@@ -1,12 +1,12 @@
1
1
  /**
2
- * Copyright (c) 2017-2019 mol* contributors, licensed under MIT, See LICENSE file for more info.
2
+ * Copyright (c) 2017-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
3
3
  *
4
4
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
5
  */
6
6
  import { indentString } from '../../../mol-util/string';
7
7
  import { FieldPath } from '../../../mol-io/reader/cif/schema';
8
8
  function header(name, info, moldataImportPath) {
9
- return "/**\n * Copyright (c) 2017-2020 mol* contributors, licensed under MIT, See LICENSE file for more info.\n *\n * Code-generated '".concat(name, "' schema file. ").concat(info, "\n *\n * @author molstar/ciftools package\n */\n\nimport { Database, Column } from '").concat(moldataImportPath, "/db';\n\nimport Schema = Column.Schema;");
9
+ return "/**\n * Copyright (c) 2017-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.\n *\n * Code-generated '".concat(name, "' schema file. ").concat(info, "\n *\n * @author molstar/ciftools package\n */\n\nimport { Database, Column } from '").concat(moldataImportPath, "/db';\n\nimport Schema = Column.Schema;");
10
10
  }
11
11
  function footer(name) {
12
12
  return "\nexport type ".concat(name, "_Schema = typeof ").concat(name, "_Schema;\nexport interface ").concat(name, "_Database extends Database<").concat(name, "_Schema> {};");
@@ -20,7 +20,10 @@ function getTypeShorthands(schema, fields) {
20
20
  Object.keys(columns).forEach(function (columnName) {
21
21
  if (fields && !fields[table][columnName])
22
22
  return;
23
- types.add(schema.tables[table].columns[columnName].type);
23
+ var col = schema.tables[table].columns[columnName];
24
+ if (col.type === 'enum')
25
+ types.add(col.subType);
26
+ types.add(col.type);
24
27
  });
25
28
  });
26
29
  var shorthands = [];
@@ -29,6 +32,12 @@ function getTypeShorthands(schema, fields) {
29
32
  case 'str':
30
33
  shorthands.push('const str = Schema.str;');
31
34
  break;
35
+ case 'ustr':
36
+ shorthands.push('const ustr = Schema.ustr;');
37
+ break;
38
+ case 'lstr':
39
+ shorthands.push('const lstr = Schema.lstr;');
40
+ break;
32
41
  case 'int':
33
42
  shorthands.push('const int = Schema.int;');
34
43
  break;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2017-2019 mol* contributors, licensed under MIT, See LICENSE file for more info.
2
+ * Copyright (c) 2017-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
3
3
  *
4
4
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
5
  */
@@ -40,10 +40,10 @@ export declare type CoordCol = {
40
40
  export declare function CoordCol(description: string): CoordCol;
41
41
  export declare type EnumCol = {
42
42
  type: 'enum';
43
- subType: 'int' | 'str';
43
+ subType: 'int' | 'str' | 'ustr' | 'lstr';
44
44
  values: string[];
45
45
  } & BaseCol;
46
- export declare function EnumCol(values: string[], subType: 'int' | 'str', description: string): EnumCol;
46
+ export declare function EnumCol(values: string[], subType: 'int' | 'str' | 'ustr' | 'lstr', description: string): EnumCol;
47
47
  export declare type VectorCol = {
48
48
  type: 'vector';
49
49
  length: number;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2017-2019 mol* contributors, licensed under MIT, See LICENSE file for more info.
2
+ * Copyright (c) 2017-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
3
3
  *
4
4
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
5
  */
@@ -10,7 +10,7 @@ exports.DockingViewer = exports.setProductionMode = exports.setDebugMode = expor
10
10
  var tslib_1 = require("tslib");
11
11
  var structure_1 = require("../../mol-model/structure");
12
12
  var objects_1 = require("../../mol-plugin-state/objects");
13
- var mol_plugin_ui_1 = require("../../mol-plugin-ui");
13
+ var react18_1 = require("../../mol-plugin-ui/react18");
14
14
  var spec_1 = require("../../mol-plugin-ui/spec");
15
15
  var behavior_1 = require("../../mol-plugin/behavior");
16
16
  var commands_1 = require("../../mol-plugin/commands");
@@ -118,7 +118,7 @@ var Viewer = /** @class */ (function () {
118
118
  : elementOrId;
119
119
  if (!element)
120
120
  throw new Error("Could not get element with id '".concat(elementOrId, "'"));
121
- return [4 /*yield*/, (0, mol_plugin_ui_1.createPluginUI)(element, spec)];
121
+ return [4 /*yield*/, (0, react18_1.createPluginUI)(element, spec)];
122
122
  case 1:
123
123
  plugin = _b.sent();
124
124
  plugin.customState = {
@@ -28,7 +28,7 @@ var representation_preset_1 = require("../../mol-plugin-state/builder/structure/
28
28
  var volume_representation_params_1 = require("../../mol-plugin-state/helpers/volume-representation-params");
29
29
  var transforms_1 = require("../../mol-plugin-state/transforms");
30
30
  var model_1 = require("../../mol-plugin-state/transforms/model");
31
- var mol_plugin_ui_1 = require("../../mol-plugin-ui");
31
+ var react18_1 = require("../../mol-plugin-ui/react18");
32
32
  var spec_1 = require("../../mol-plugin-ui/spec");
33
33
  var commands_1 = require("../../mol-plugin/commands");
34
34
  var config_1 = require("../../mol-plugin/config");
@@ -156,7 +156,7 @@ var Viewer = /** @class */ (function () {
156
156
  : elementOrId;
157
157
  if (!element)
158
158
  throw new Error("Could not get element with id '".concat(elementOrId, "'"));
159
- return [4 /*yield*/, (0, mol_plugin_ui_1.createPluginUI)(element, spec, {
159
+ return [4 /*yield*/, (0, react18_1.createPluginUI)(element, spec, {
160
160
  onBeforeUIRender: function (plugin) {
161
161
  // the preset needs to be added before the UI renders otherwise
162
162
  // "Download Structure" wont be able to pick it up
@@ -16,7 +16,7 @@ export declare function readCCD(): Promise<import("../../mol-data/db").DatabaseC
16
16
  name: import("../../mol-data/db/column").Column.Schema.Str;
17
17
  one_letter_code: import("../../mol-data/db/column").Column.Schema.Str;
18
18
  three_letter_code: import("../../mol-data/db/column").Column.Schema.Str;
19
- type: import("../../mol-data/db/column").Column.Schema.Aliased<"other" | "D-peptide linking" | "L-peptide linking" | "D-peptide NH3 amino terminus" | "L-peptide NH3 amino terminus" | "D-peptide COOH carboxy terminus" | "L-peptide COOH carboxy terminus" | "DNA linking" | "RNA linking" | "L-RNA linking" | "L-DNA linking" | "DNA OH 5 prime terminus" | "RNA OH 5 prime terminus" | "DNA OH 3 prime terminus" | "RNA OH 3 prime terminus" | "D-saccharide, beta linking" | "D-saccharide, alpha linking" | "L-saccharide, beta linking" | "L-saccharide, alpha linking" | "L-saccharide" | "D-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "L-gamma-peptide, C-delta linking" | "D-gamma-peptide, C-delta linking" | "L-beta-peptide, C-gamma linking" | "D-beta-peptide, C-gamma linking">;
19
+ type: import("../../mol-data/db/column").Column.Schema.Aliased<"other" | "d-peptide linking" | "l-peptide linking" | "d-peptide nh3 amino terminus" | "l-peptide nh3 amino terminus" | "d-peptide cooh carboxy terminus" | "l-peptide cooh carboxy terminus" | "dna linking" | "rna linking" | "l-rna linking" | "l-dna linking" | "dna oh 5 prime terminus" | "rna oh 5 prime terminus" | "dna oh 3 prime terminus" | "rna oh 3 prime terminus" | "d-saccharide, beta linking" | "d-saccharide, alpha linking" | "l-saccharide, beta linking" | "l-saccharide, alpha linking" | "l-saccharide" | "d-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "l-gamma-peptide, c-delta linking" | "d-gamma-peptide, c-delta linking" | "l-beta-peptide, c-gamma linking" | "d-beta-peptide, c-gamma linking">;
20
20
  pdbx_synonyms: import("../../mol-data/db/column").Column.Schema.List<string>;
21
21
  pdbx_type: import("../../mol-data/db/column").Column.Schema.Str;
22
22
  pdbx_ambiguous_flag: import("../../mol-data/db/column").Column.Schema.Str;
@@ -26,12 +26,12 @@ export declare function readCCD(): Promise<import("../../mol-data/db").DatabaseC
26
26
  pdbx_model_coordinates_details: import("../../mol-data/db/column").Column.Schema.Str;
27
27
  pdbx_model_coordinates_db_code: import("../../mol-data/db/column").Column.Schema.Str;
28
28
  pdbx_ideal_coordinates_details: import("../../mol-data/db/column").Column.Schema.Str;
29
- pdbx_ideal_coordinates_missing_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "Y">;
30
- pdbx_model_coordinates_missing_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "Y">;
29
+ pdbx_ideal_coordinates_missing_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"y" | "n">;
30
+ pdbx_model_coordinates_missing_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"y" | "n">;
31
31
  pdbx_initial_date: import("../../mol-data/db/column").Column.Schema.Str;
32
32
  pdbx_modified_date: import("../../mol-data/db/column").Column.Schema.Str;
33
33
  pdbx_release_status: import("../../mol-data/db/column").Column.Schema.Aliased<"REL" | "HOLD" | "HPUB" | "OBS" | "DEL" | "REF_ONLY">;
34
- pdbx_processing_site: import("../../mol-data/db/column").Column.Schema.Aliased<"RCSB" | "EBI" | "PDBE" | "PDBJ" | "PDBC">;
34
+ pdbx_processing_site: import("../../mol-data/db/column").Column.Schema.Aliased<"RCSB" | "PDBE" | "PDBJ" | "PDBC" | "EBI">;
35
35
  };
36
36
  chem_comp_atom: {
37
37
  alt_atom_id: import("../../mol-data/db/column").Column.Schema.Str;
@@ -47,9 +47,9 @@ export declare function readCCD(): Promise<import("../../mol-data/db").DatabaseC
47
47
  pdbx_model_Cartn_x_ideal: import("../../mol-data/db/column").Column.Schema.Coordinate;
48
48
  pdbx_model_Cartn_y_ideal: import("../../mol-data/db/column").Column.Schema.Coordinate;
49
49
  pdbx_model_Cartn_z_ideal: import("../../mol-data/db/column").Column.Schema.Coordinate;
50
- pdbx_stereo_config: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "R" | "S">;
51
- pdbx_aromatic_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "Y">;
52
- pdbx_leaving_atom_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "Y">;
50
+ pdbx_stereo_config: import("../../mol-data/db/column").Column.Schema.Aliased<"s" | "r" | "n">;
51
+ pdbx_aromatic_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"y" | "n">;
52
+ pdbx_leaving_atom_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"y" | "n">;
53
53
  };
54
54
  chem_comp_bond: {
55
55
  atom_id_1: import("../../mol-data/db/column").Column.Schema.Str;
@@ -57,13 +57,13 @@ export declare function readCCD(): Promise<import("../../mol-data/db").DatabaseC
57
57
  comp_id: import("../../mol-data/db/column").Column.Schema.Str;
58
58
  value_order: import("../../mol-data/db/column").Column.Schema.Aliased<"sing" | "doub" | "trip" | "quad" | "arom" | "poly" | "delo" | "pi">;
59
59
  pdbx_ordinal: import("../../mol-data/db/column").Column.Schema.Int;
60
- pdbx_stereo_config: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "E" | "Z">;
61
- pdbx_aromatic_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "Y">;
60
+ pdbx_stereo_config: import("../../mol-data/db/column").Column.Schema.Aliased<"z" | "n" | "e">;
61
+ pdbx_aromatic_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"y" | "n">;
62
62
  };
63
63
  pdbx_chem_comp_descriptor: {
64
64
  comp_id: import("../../mol-data/db/column").Column.Schema.Str;
65
65
  descriptor: import("../../mol-data/db/column").Column.Schema.Str;
66
- type: import("../../mol-data/db/column").Column.Schema.Aliased<"SMILES_CANNONICAL" | "SMILES_CANONICAL" | "SMILES" | "InChI" | "InChI_MAIN" | "InChI_MAIN_FORMULA" | "InChI_MAIN_CONNECT" | "InChI_MAIN_HATOM" | "InChI_CHARGE" | "InChI_STEREO" | "InChI_ISOTOPE" | "InChI_FIXEDH" | "InChI_RECONNECT" | "InChIKey">;
66
+ type: import("../../mol-data/db/column").Column.Schema.Aliased<"smiles_cannonical" | "smiles_canonical" | "smiles" | "inchi" | "inchi_main" | "inchi_main_formula" | "inchi_main_connect" | "inchi_main_hatom" | "inchi_charge" | "inchi_stereo" | "inchi_isotope" | "inchi_fixedh" | "inchi_reconnect" | "inchikey">;
67
67
  program: import("../../mol-data/db/column").Column.Schema.Str;
68
68
  program_version: import("../../mol-data/db/column").Column.Schema.Str;
69
69
  };
@@ -84,7 +84,7 @@ export declare function readPVCD(): Promise<import("../../mol-data/db").Database
84
84
  name: import("../../mol-data/db/column").Column.Schema.Str;
85
85
  one_letter_code: import("../../mol-data/db/column").Column.Schema.Str;
86
86
  three_letter_code: import("../../mol-data/db/column").Column.Schema.Str;
87
- type: import("../../mol-data/db/column").Column.Schema.Aliased<"other" | "D-peptide linking" | "L-peptide linking" | "D-peptide NH3 amino terminus" | "L-peptide NH3 amino terminus" | "D-peptide COOH carboxy terminus" | "L-peptide COOH carboxy terminus" | "DNA linking" | "RNA linking" | "L-RNA linking" | "L-DNA linking" | "DNA OH 5 prime terminus" | "RNA OH 5 prime terminus" | "DNA OH 3 prime terminus" | "RNA OH 3 prime terminus" | "D-saccharide, beta linking" | "D-saccharide, alpha linking" | "L-saccharide, beta linking" | "L-saccharide, alpha linking" | "L-saccharide" | "D-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "L-gamma-peptide, C-delta linking" | "D-gamma-peptide, C-delta linking" | "L-beta-peptide, C-gamma linking" | "D-beta-peptide, C-gamma linking">;
87
+ type: import("../../mol-data/db/column").Column.Schema.Aliased<"other" | "d-peptide linking" | "l-peptide linking" | "d-peptide nh3 amino terminus" | "l-peptide nh3 amino terminus" | "d-peptide cooh carboxy terminus" | "l-peptide cooh carboxy terminus" | "dna linking" | "rna linking" | "l-rna linking" | "l-dna linking" | "dna oh 5 prime terminus" | "rna oh 5 prime terminus" | "dna oh 3 prime terminus" | "rna oh 3 prime terminus" | "d-saccharide, beta linking" | "d-saccharide, alpha linking" | "l-saccharide, beta linking" | "l-saccharide, alpha linking" | "l-saccharide" | "d-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "l-gamma-peptide, c-delta linking" | "d-gamma-peptide, c-delta linking" | "l-beta-peptide, c-gamma linking" | "d-beta-peptide, c-gamma linking">;
88
88
  pdbx_synonyms: import("../../mol-data/db/column").Column.Schema.List<string>;
89
89
  pdbx_type: import("../../mol-data/db/column").Column.Schema.Str;
90
90
  pdbx_ambiguous_flag: import("../../mol-data/db/column").Column.Schema.Str;
@@ -94,12 +94,12 @@ export declare function readPVCD(): Promise<import("../../mol-data/db").Database
94
94
  pdbx_model_coordinates_details: import("../../mol-data/db/column").Column.Schema.Str;
95
95
  pdbx_model_coordinates_db_code: import("../../mol-data/db/column").Column.Schema.Str;
96
96
  pdbx_ideal_coordinates_details: import("../../mol-data/db/column").Column.Schema.Str;
97
- pdbx_ideal_coordinates_missing_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "Y">;
98
- pdbx_model_coordinates_missing_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "Y">;
97
+ pdbx_ideal_coordinates_missing_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"y" | "n">;
98
+ pdbx_model_coordinates_missing_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"y" | "n">;
99
99
  pdbx_initial_date: import("../../mol-data/db/column").Column.Schema.Str;
100
100
  pdbx_modified_date: import("../../mol-data/db/column").Column.Schema.Str;
101
101
  pdbx_release_status: import("../../mol-data/db/column").Column.Schema.Aliased<"REL" | "HOLD" | "HPUB" | "OBS" | "DEL" | "REF_ONLY">;
102
- pdbx_processing_site: import("../../mol-data/db/column").Column.Schema.Aliased<"RCSB" | "EBI" | "PDBE" | "PDBJ" | "PDBC">;
102
+ pdbx_processing_site: import("../../mol-data/db/column").Column.Schema.Aliased<"RCSB" | "PDBE" | "PDBJ" | "PDBC" | "EBI">;
103
103
  };
104
104
  chem_comp_atom: {
105
105
  alt_atom_id: import("../../mol-data/db/column").Column.Schema.Str;
@@ -115,9 +115,9 @@ export declare function readPVCD(): Promise<import("../../mol-data/db").Database
115
115
  pdbx_model_Cartn_x_ideal: import("../../mol-data/db/column").Column.Schema.Coordinate;
116
116
  pdbx_model_Cartn_y_ideal: import("../../mol-data/db/column").Column.Schema.Coordinate;
117
117
  pdbx_model_Cartn_z_ideal: import("../../mol-data/db/column").Column.Schema.Coordinate;
118
- pdbx_stereo_config: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "R" | "S">;
119
- pdbx_aromatic_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "Y">;
120
- pdbx_leaving_atom_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "Y">;
118
+ pdbx_stereo_config: import("../../mol-data/db/column").Column.Schema.Aliased<"s" | "r" | "n">;
119
+ pdbx_aromatic_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"y" | "n">;
120
+ pdbx_leaving_atom_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"y" | "n">;
121
121
  };
122
122
  chem_comp_bond: {
123
123
  atom_id_1: import("../../mol-data/db/column").Column.Schema.Str;
@@ -125,13 +125,13 @@ export declare function readPVCD(): Promise<import("../../mol-data/db").Database
125
125
  comp_id: import("../../mol-data/db/column").Column.Schema.Str;
126
126
  value_order: import("../../mol-data/db/column").Column.Schema.Aliased<"sing" | "doub" | "trip" | "quad" | "arom" | "poly" | "delo" | "pi">;
127
127
  pdbx_ordinal: import("../../mol-data/db/column").Column.Schema.Int;
128
- pdbx_stereo_config: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "E" | "Z">;
129
- pdbx_aromatic_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "Y">;
128
+ pdbx_stereo_config: import("../../mol-data/db/column").Column.Schema.Aliased<"z" | "n" | "e">;
129
+ pdbx_aromatic_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"y" | "n">;
130
130
  };
131
131
  pdbx_chem_comp_descriptor: {
132
132
  comp_id: import("../../mol-data/db/column").Column.Schema.Str;
133
133
  descriptor: import("../../mol-data/db/column").Column.Schema.Str;
134
- type: import("../../mol-data/db/column").Column.Schema.Aliased<"SMILES_CANNONICAL" | "SMILES_CANONICAL" | "SMILES" | "InChI" | "InChI_MAIN" | "InChI_MAIN_FORMULA" | "InChI_MAIN_CONNECT" | "InChI_MAIN_HATOM" | "InChI_CHARGE" | "InChI_STEREO" | "InChI_ISOTOPE" | "InChI_FIXEDH" | "InChI_RECONNECT" | "InChIKey">;
134
+ type: import("../../mol-data/db/column").Column.Schema.Aliased<"smiles_cannonical" | "smiles_canonical" | "smiles" | "inchi" | "inchi_main" | "inchi_main_formula" | "inchi_main_connect" | "inchi_main_hatom" | "inchi_charge" | "inchi_stereo" | "inchi_isotope" | "inchi_fixedh" | "inchi_reconnect" | "inchikey">;
135
135
  program: import("../../mol-data/db/column").Column.Schema.Str;
136
136
  program_version: import("../../mol-data/db/column").Column.Schema.Str;
137
137
  };
@@ -99,7 +99,7 @@ function classify(name, field) {
99
99
  function convert(path, asText, hints, filter) {
100
100
  var _this = this;
101
101
  if (asText === void 0) { asText = false; }
102
- return mol_task_1.Task.create('BinaryCIF', function (ctx) { return tslib_1.__awaiter(_this, void 0, void 0, function () {
102
+ return mol_task_1.Task.create('Convert CIF', function (ctx) { return tslib_1.__awaiter(_this, void 0, void 0, function () {
103
103
  var encodingProvider, cif, encoder, maxProgress, _i, _a, b, _b, _c, c, current, _d, _e, b, _f, _g, c, cat, fields, _h, _j, f, ret;
104
104
  return tslib_1.__generator(this, function (_k) {
105
105
  switch (_k.label) {
@@ -22,7 +22,7 @@ function process(srcPath, outPath, configPath, filterPath) {
22
22
  case 0:
23
23
  config = configPath ? JSON.parse(fs.readFileSync(configPath, 'utf8')) : void 0;
24
24
  filter = filterPath ? fs.readFileSync(filterPath, 'utf8') : void 0;
25
- return [4 /*yield*/, (0, converter_1.convert)(srcPath, false, config, filter)];
25
+ return [4 /*yield*/, (0, converter_1.convert)(srcPath, srcPath.toLowerCase().indexOf('.bcif') > 0, config, filter)];
26
26
  case 1:
27
27
  res = _a.sent();
28
28
  return [4 /*yield*/, write(outPath, res)];
@@ -58,13 +58,13 @@ function run(args) {
58
58
  }
59
59
  var parser = new argparse.ArgumentParser({
60
60
  add_help: true,
61
- description: 'Convert any CIF file to a BCIF file'
61
+ description: 'Convert any BCIF file to a CIF file or vice versa'
62
62
  });
63
63
  parser.add_argument('src', {
64
- help: 'Source CIF path'
64
+ help: 'Source file path'
65
65
  });
66
66
  parser.add_argument('out', {
67
- help: 'Output BCIF path'
67
+ help: 'Output file path'
68
68
  });
69
69
  parser.add_argument('-c', '--config', {
70
70
  help: 'Optional encoding strategy/precision config path',
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2017-2018 mol* contributors, licensed under MIT, See LICENSE file for more info.
2
+ * Copyright (c) 2017-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
3
3
  *
4
4
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
5
  */
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright (c) 2017-2018 mol* contributors, licensed under MIT, See LICENSE file for more info.
3
+ * Copyright (c) 2017-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
4
4
  *
5
5
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
6
6
  */
@@ -13,15 +13,17 @@ function getFieldType(type, description, values, container) {
13
13
  switch (type) {
14
14
  // mmCIF
15
15
  case 'code':
16
- case 'ucode':
17
16
  case 'line':
18
- case 'uline':
19
17
  case 'text':
20
18
  case 'char':
21
- case 'uchar3':
22
- case 'uchar1':
23
19
  case 'boolean':
24
20
  return values && values.length ? (0, schema_1.EnumCol)(values, 'str', description) : (0, schema_1.StrCol)(description);
21
+ case 'ucode':
22
+ case 'uline':
23
+ case 'uchar3':
24
+ case 'uchar1':
25
+ // only force lower-case for enums
26
+ return values && values.length ? (0, schema_1.EnumCol)(values.map(function (x) { return x.toLowerCase(); }), 'lstr', description) : (0, schema_1.StrCol)(description);
25
27
  case 'aliasname':
26
28
  case 'name':
27
29
  case 'idname':
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2017-2019 mol* contributors, licensed under MIT, See LICENSE file for more info.
2
+ * Copyright (c) 2017-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
3
3
  *
4
4
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
5
  */
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright (c) 2017-2019 mol* contributors, licensed under MIT, See LICENSE file for more info.
3
+ * Copyright (c) 2017-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
4
4
  *
5
5
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
6
6
  */
@@ -9,7 +9,7 @@ exports.generate = void 0;
9
9
  var string_1 = require("../../../mol-util/string");
10
10
  var schema_1 = require("../../../mol-io/reader/cif/schema");
11
11
  function header(name, info, moldataImportPath) {
12
- return "/**\n * Copyright (c) 2017-2020 mol* contributors, licensed under MIT, See LICENSE file for more info.\n *\n * Code-generated '".concat(name, "' schema file. ").concat(info, "\n *\n * @author molstar/ciftools package\n */\n\nimport { Database, Column } from '").concat(moldataImportPath, "/db';\n\nimport Schema = Column.Schema;");
12
+ return "/**\n * Copyright (c) 2017-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.\n *\n * Code-generated '".concat(name, "' schema file. ").concat(info, "\n *\n * @author molstar/ciftools package\n */\n\nimport { Database, Column } from '").concat(moldataImportPath, "/db';\n\nimport Schema = Column.Schema;");
13
13
  }
14
14
  function footer(name) {
15
15
  return "\nexport type ".concat(name, "_Schema = typeof ").concat(name, "_Schema;\nexport interface ").concat(name, "_Database extends Database<").concat(name, "_Schema> {};");
@@ -23,7 +23,10 @@ function getTypeShorthands(schema, fields) {
23
23
  Object.keys(columns).forEach(function (columnName) {
24
24
  if (fields && !fields[table][columnName])
25
25
  return;
26
- types.add(schema.tables[table].columns[columnName].type);
26
+ var col = schema.tables[table].columns[columnName];
27
+ if (col.type === 'enum')
28
+ types.add(col.subType);
29
+ types.add(col.type);
27
30
  });
28
31
  });
29
32
  var shorthands = [];
@@ -32,6 +35,12 @@ function getTypeShorthands(schema, fields) {
32
35
  case 'str':
33
36
  shorthands.push('const str = Schema.str;');
34
37
  break;
38
+ case 'ustr':
39
+ shorthands.push('const ustr = Schema.ustr;');
40
+ break;
41
+ case 'lstr':
42
+ shorthands.push('const lstr = Schema.lstr;');
43
+ break;
35
44
  case 'int':
36
45
  shorthands.push('const int = Schema.int;');
37
46
  break;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2017-2019 mol* contributors, licensed under MIT, See LICENSE file for more info.
2
+ * Copyright (c) 2017-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
3
3
  *
4
4
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
5
  */
@@ -40,10 +40,10 @@ export declare type CoordCol = {
40
40
  export declare function CoordCol(description: string): CoordCol;
41
41
  export declare type EnumCol = {
42
42
  type: 'enum';
43
- subType: 'int' | 'str';
43
+ subType: 'int' | 'str' | 'ustr' | 'lstr';
44
44
  values: string[];
45
45
  } & BaseCol;
46
- export declare function EnumCol(values: string[], subType: 'int' | 'str', description: string): EnumCol;
46
+ export declare function EnumCol(values: string[], subType: 'int' | 'str' | 'ustr' | 'lstr', description: string): EnumCol;
47
47
  export declare type VectorCol = {
48
48
  type: 'vector';
49
49
  length: number;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright (c) 2017-2019 mol* contributors, licensed under MIT, See LICENSE file for more info.
3
+ * Copyright (c) 2017-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
4
4
  *
5
5
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
6
6
  */
@@ -11,7 +11,7 @@ var rxjs_1 = require("rxjs");
11
11
  var operators_1 = require("rxjs/operators");
12
12
  var transforms_1 = require("../../extensions/alpha-orbitals/transforms");
13
13
  var grid3d_1 = require("../../mol-gl/compute/grid3d");
14
- var mol_plugin_ui_1 = require("../../mol-plugin-ui");
14
+ var react18_1 = require("../../mol-plugin-ui/react18");
15
15
  var spec_1 = require("../../mol-plugin-ui/spec");
16
16
  var commands_1 = require("../../mol-plugin/commands");
17
17
  var config_1 = require("../../mol-plugin/config");
@@ -38,7 +38,7 @@ var AlphaOrbitalsExample = /** @class */ (function () {
38
38
  case 0:
39
39
  defaultSpec = (0, spec_1.DefaultPluginUISpec)();
40
40
  _b = this;
41
- return [4 /*yield*/, (0, mol_plugin_ui_1.createPluginUI)(typeof target === 'string' ? document.getElementById(target) : target, tslib_1.__assign(tslib_1.__assign({}, defaultSpec), { layout: {
41
+ return [4 /*yield*/, (0, react18_1.createPluginUI)(typeof target === 'string' ? document.getElementById(target) : target, tslib_1.__assign(tslib_1.__assign({}, defaultSpec), { layout: {
42
42
  initial: {
43
43
  isExpanded: false,
44
44
  showControls: false
@@ -10,7 +10,7 @@ var pdbe_1 = require("../../extensions/pdbe");
10
10
  var loci_1 = require("../../mol-model/loci");
11
11
  var structure_1 = require("../../mol-model/structure");
12
12
  var model_index_1 = require("../../mol-plugin-state/animation/built-in/model-index");
13
- var mol_plugin_ui_1 = require("../../mol-plugin-ui");
13
+ var react18_1 = require("../../mol-plugin-ui/react18");
14
14
  var spec_1 = require("../../mol-plugin-ui/spec");
15
15
  var commands_1 = require("../../mol-plugin/commands");
16
16
  var script_1 = require("../../mol-script/script");
@@ -186,7 +186,7 @@ var BasicWrapper = /** @class */ (function () {
186
186
  switch (_b.label) {
187
187
  case 0:
188
188
  _a = this;
189
- return [4 /*yield*/, (0, mol_plugin_ui_1.createPluginUI)(typeof target === 'string' ? document.getElementById(target) : target, tslib_1.__assign(tslib_1.__assign({}, (0, spec_1.DefaultPluginUISpec)()), { layout: {
189
+ return [4 /*yield*/, (0, react18_1.createPluginUI)(typeof target === 'string' ? document.getElementById(target) : target, tslib_1.__assign(tslib_1.__assign({}, (0, spec_1.DefaultPluginUISpec)()), { layout: {
190
190
  initial: {
191
191
  isExpanded: false,
192
192
  showControls: false
@@ -6,7 +6,7 @@
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  var tslib_1 = require("tslib");
9
- var mol_plugin_ui_1 = require("../../mol-plugin-ui");
9
+ var react18_1 = require("../../mol-plugin-ui/react18");
10
10
  var spec_1 = require("../../mol-plugin-ui/spec");
11
11
  var commands_1 = require("../../mol-plugin/commands");
12
12
  var assets_1 = require("../../mol-util/assets");
@@ -66,7 +66,7 @@ var LightingDemo = /** @class */ (function () {
66
66
  switch (_b.label) {
67
67
  case 0:
68
68
  _a = this;
69
- return [4 /*yield*/, (0, mol_plugin_ui_1.createPluginUI)(typeof target === 'string' ? document.getElementById(target) : target, tslib_1.__assign(tslib_1.__assign({}, (0, spec_1.DefaultPluginUISpec)()), { layout: {
69
+ return [4 /*yield*/, (0, react18_1.createPluginUI)(typeof target === 'string' ? document.getElementById(target) : target, tslib_1.__assign(tslib_1.__assign({}, (0, spec_1.DefaultPluginUISpec)()), { layout: {
70
70
  initial: {
71
71
  isExpanded: false,
72
72
  showControls: false
@@ -11,7 +11,7 @@ var canvas3d_1 = require("../../mol-canvas3d/canvas3d");
11
11
  var model_index_1 = require("../../mol-plugin-state/animation/built-in/model-index");
12
12
  var structure_representation_params_1 = require("../../mol-plugin-state/helpers/structure-representation-params");
13
13
  var transforms_1 = require("../../mol-plugin-state/transforms");
14
- var mol_plugin_ui_1 = require("../../mol-plugin-ui");
14
+ var react18_1 = require("../../mol-plugin-ui/react18");
15
15
  var spec_1 = require("../../mol-plugin-ui/spec");
16
16
  var transformers_1 = require("../../mol-plugin/behavior/dynamic/volume-streaming/transformers");
17
17
  var commands_1 = require("../../mol-plugin/commands");
@@ -241,7 +241,7 @@ var MolStarProteopediaWrapper = /** @class */ (function () {
241
241
  switch (_b.label) {
242
242
  case 0:
243
243
  _a = this;
244
- return [4 /*yield*/, (0, mol_plugin_ui_1.createPluginUI)(typeof target === 'string' ? document.getElementById(target) : target, tslib_1.__assign(tslib_1.__assign({}, (0, spec_1.DefaultPluginUISpec)()), { animations: [
244
+ return [4 /*yield*/, (0, react18_1.createPluginUI)(typeof target === 'string' ? document.getElementById(target) : target, tslib_1.__assign(tslib_1.__assign({}, (0, spec_1.DefaultPluginUISpec)()), { animations: [
245
245
  model_index_1.AnimateModelIndex
246
246
  ], layout: {
247
247
  initial: {
@@ -42,6 +42,7 @@ declare const MembraneOrientation3D: StateTransformer<PluginStateObject.Molecule
42
42
  flatShaded: boolean;
43
43
  ignoreLight: boolean;
44
44
  xrayShaded: boolean;
45
+ allowTransparentBackfaces: boolean;
45
46
  bumpFrequency: number;
46
47
  bumpAmplitude: number;
47
48
  }>>;
@@ -18,6 +18,7 @@ declare const BilayerPlanesParams: {
18
18
  flatShaded: PD.BooleanParam;
19
19
  ignoreLight: PD.BooleanParam;
20
20
  xrayShaded: PD.BooleanParam;
21
+ allowTransparentBackfaces: PD.BooleanParam;
21
22
  bumpFrequency: PD.Numeric;
22
23
  bumpAmplitude: PD.Numeric;
23
24
  alpha: PD.Numeric;
@@ -98,6 +99,7 @@ export declare const MembraneOrientationParams: {
98
99
  flatShaded: PD.BooleanParam;
99
100
  ignoreLight: PD.BooleanParam;
100
101
  xrayShaded: PD.BooleanParam;
102
+ allowTransparentBackfaces: PD.BooleanParam;
101
103
  bumpFrequency: PD.Numeric;
102
104
  bumpAmplitude: PD.Numeric;
103
105
  };
@@ -134,6 +136,7 @@ export declare function getMembraneOrientationParams(ctx: ThemeRegistryContext,
134
136
  flatShaded: PD.BooleanParam;
135
137
  ignoreLight: PD.BooleanParam;
136
138
  xrayShaded: PD.BooleanParam;
139
+ allowTransparentBackfaces: PD.BooleanParam;
137
140
  bumpFrequency: PD.Numeric;
138
141
  bumpAmplitude: PD.Numeric;
139
142
  };
@@ -170,6 +173,7 @@ export declare const MembraneOrientationRepresentationProvider: StructureReprese
170
173
  flatShaded: PD.BooleanParam;
171
174
  ignoreLight: PD.BooleanParam;
172
175
  xrayShaded: PD.BooleanParam;
176
+ allowTransparentBackfaces: PD.BooleanParam;
173
177
  bumpFrequency: PD.Numeric;
174
178
  bumpAmplitude: PD.Numeric;
175
179
  }, "membrane-orientation">;
@@ -44,6 +44,7 @@ export declare const MBParams: {
44
44
  flatShaded: PD.BooleanParam;
45
45
  ignoreLight: PD.BooleanParam;
46
46
  xrayShaded: PD.BooleanParam;
47
+ allowTransparentBackfaces: PD.BooleanParam;
47
48
  bumpFrequency: PD.Numeric;
48
49
  bumpAmplitude: PD.Numeric;
49
50
  alpha: PD.Numeric;