molstar 3.6.1 → 3.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/build/viewer/molstar.css +1 -1
  2. package/build/viewer/molstar.js +1 -1
  3. package/lib/commonjs/examples/alpha-orbitals/index.js +20 -15
  4. package/lib/commonjs/extensions/anvil/behavior.d.ts +1 -1
  5. package/lib/commonjs/extensions/anvil/representation.d.ts +4 -4
  6. package/lib/commonjs/extensions/cellpack/representation.d.ts +1 -1
  7. package/lib/commonjs/extensions/dnatco/confal-pyramids/representation.d.ts +3 -3
  8. package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +1 -1
  9. package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.d.ts +1 -1
  10. package/lib/commonjs/extensions/rcsb/validation-report/representation.d.ts +5 -5
  11. package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +2 -2
  12. package/lib/commonjs/mol-canvas3d/helper/camera-helper.d.ts +1 -1
  13. package/lib/commonjs/mol-canvas3d/helper/handle-helper.d.ts +1 -1
  14. package/lib/commonjs/mol-canvas3d/helper/helper.d.ts +2 -2
  15. package/lib/commonjs/mol-canvas3d/passes/image.d.ts +1 -1
  16. package/lib/commonjs/mol-geo/geometry/color-data.d.ts +2 -8
  17. package/lib/commonjs/mol-geo/geometry/color-data.js +16 -3
  18. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +1 -1
  19. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.js +3 -2
  20. package/lib/commonjs/mol-geo/geometry/mesh/mesh.d.ts +1 -1
  21. package/lib/commonjs/mol-geo/geometry/mesh/mesh.js +3 -2
  22. package/lib/commonjs/mol-geo/geometry/spheres/spheres.d.ts +1 -1
  23. package/lib/commonjs/mol-geo/geometry/spheres/spheres.js +3 -2
  24. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +1 -1
  25. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js +15 -4
  26. package/lib/commonjs/mol-gl/renderable/cylinders.d.ts +2 -1
  27. package/lib/commonjs/mol-gl/renderable/cylinders.js +2 -2
  28. package/lib/commonjs/mol-gl/renderable/mesh.d.ts +2 -1
  29. package/lib/commonjs/mol-gl/renderable/mesh.js +2 -2
  30. package/lib/commonjs/mol-gl/renderable/spheres.d.ts +2 -1
  31. package/lib/commonjs/mol-gl/renderable/spheres.js +2 -2
  32. package/lib/commonjs/mol-gl/renderable/texture-mesh.d.ts +2 -1
  33. package/lib/commonjs/mol-gl/renderable/texture-mesh.js +2 -2
  34. package/lib/commonjs/mol-gl/renderer.js +54 -23
  35. package/lib/commonjs/mol-gl/shader/chunks/apply-interior-color.glsl.d.ts +1 -1
  36. package/lib/commonjs/mol-gl/shader/chunks/apply-interior-color.glsl.js +1 -1
  37. package/lib/commonjs/mol-gl/shader/chunks/check-picking-alpha.glsl.d.ts +1 -1
  38. package/lib/commonjs/mol-gl/shader/chunks/check-picking-alpha.glsl.js +1 -1
  39. package/lib/commonjs/mol-gl/shader/chunks/color-vert-params.glsl.d.ts +1 -1
  40. package/lib/commonjs/mol-gl/shader/chunks/color-vert-params.glsl.js +1 -1
  41. package/lib/commonjs/mol-io/writer/ligand-encoder.d.ts +4 -2
  42. package/lib/commonjs/mol-io/writer/ligand-encoder.js +9 -4
  43. package/lib/commonjs/mol-io/writer/mol/encoder.js +16 -4
  44. package/lib/commonjs/mol-io/writer/mol2/encoder.js +17 -4
  45. package/lib/commonjs/mol-model-formats/shape/ply.d.ts +2 -2
  46. package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +1 -1
  47. package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +1 -1
  48. package/lib/commonjs/mol-model-props/computed/representations/interactions.d.ts +3 -3
  49. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.d.ts +4 -4
  50. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/util.js +0 -1
  51. package/lib/commonjs/mol-plugin/commands.d.ts +1 -1
  52. package/lib/commonjs/mol-plugin/util/viewport-screenshot.d.ts +3 -3
  53. package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +6 -6
  54. package/lib/commonjs/mol-plugin-ui/base.d.ts +3 -1
  55. package/lib/commonjs/mol-plugin-ui/controls/color.d.ts +1 -1
  56. package/lib/commonjs/mol-plugin-ui/controls/common.d.ts +2 -0
  57. package/lib/commonjs/mol-plugin-ui/hooks/use-behavior.d.ts +1 -1
  58. package/lib/commonjs/mol-plugin-ui/hooks/use-behavior.js +21 -7
  59. package/lib/commonjs/mol-plugin-ui/plugin.d.ts +2 -0
  60. package/lib/commonjs/mol-plugin-ui/plugin.js +2 -2
  61. package/lib/commonjs/mol-plugin-ui/spec.d.ts +1 -0
  62. package/lib/commonjs/mol-plugin-ui/viewport/help.d.ts +4 -1
  63. package/lib/commonjs/mol-repr/shape/loci/angle.d.ts +1 -1
  64. package/lib/commonjs/mol-repr/shape/loci/dihedral.d.ts +1 -1
  65. package/lib/commonjs/mol-repr/shape/loci/orientation.d.ts +1 -1
  66. package/lib/commonjs/mol-repr/shape/loci/plane.d.ts +1 -1
  67. package/lib/commonjs/mol-repr/shape/model/unitcell.d.ts +1 -1
  68. package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +3 -3
  69. package/lib/commonjs/mol-repr/structure/params.d.ts +4 -4
  70. package/lib/commonjs/mol-repr/structure/registry.d.ts +10 -10
  71. package/lib/commonjs/mol-repr/structure/representation/backbone.d.ts +3 -3
  72. package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +3 -3
  73. package/lib/commonjs/mol-repr/structure/representation/carbohydrate.d.ts +3 -3
  74. package/lib/commonjs/mol-repr/structure/representation/cartoon.d.ts +3 -3
  75. package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +3 -3
  76. package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +3 -3
  77. package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +3 -3
  78. package/lib/commonjs/mol-repr/structure/representation/orientation.d.ts +3 -3
  79. package/lib/commonjs/mol-repr/structure/representation/putty.d.ts +3 -3
  80. package/lib/commonjs/mol-repr/structure/representation/spacefill.d.ts +3 -3
  81. package/lib/commonjs/mol-repr/structure/units-visual.d.ts +4 -4
  82. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +2 -2
  83. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +2 -2
  84. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +1 -1
  85. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +1 -1
  86. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +1 -1
  87. package/lib/commonjs/mol-repr/structure/visual/element-sphere.d.ts +2 -2
  88. package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.d.ts +1 -1
  89. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +4 -4
  90. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +1 -1
  91. package/lib/commonjs/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +1 -1
  92. package/lib/commonjs/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +1 -1
  93. package/lib/commonjs/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +1 -1
  94. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +2 -2
  95. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -2
  96. package/lib/commonjs/mol-repr/structure/visual/polymer-direction-wedge.d.ts +1 -1
  97. package/lib/commonjs/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +1 -1
  98. package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.d.ts +1 -1
  99. package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.d.ts +1 -1
  100. package/lib/commonjs/mol-repr/util.d.ts +1 -1
  101. package/lib/commonjs/mol-repr/util.js +1 -1
  102. package/lib/commonjs/mol-repr/volume/isosurface.d.ts +5 -5
  103. package/lib/commonjs/mol-repr/volume/registry.d.ts +1 -1
  104. package/lib/commonjs/mol-theme/color.d.ts +9 -2
  105. package/lib/commonjs/mol-theme/color.js +1 -1
  106. package/lib/commonjs/servers/model/server/query.js +1 -3
  107. package/lib/commonjs/servers/model/version.d.ts +1 -1
  108. package/lib/commonjs/servers/model/version.js +1 -1
  109. package/lib/examples/alpha-orbitals/index.js +20 -15
  110. package/lib/extensions/anvil/behavior.d.ts +1 -1
  111. package/lib/extensions/anvil/representation.d.ts +4 -4
  112. package/lib/extensions/cellpack/representation.d.ts +1 -1
  113. package/lib/extensions/dnatco/confal-pyramids/representation.d.ts +3 -3
  114. package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +1 -1
  115. package/lib/extensions/rcsb/assembly-symmetry/representation.d.ts +1 -1
  116. package/lib/extensions/rcsb/validation-report/representation.d.ts +5 -5
  117. package/lib/mol-canvas3d/canvas3d.d.ts +2 -2
  118. package/lib/mol-canvas3d/helper/camera-helper.d.ts +1 -1
  119. package/lib/mol-canvas3d/helper/handle-helper.d.ts +1 -1
  120. package/lib/mol-canvas3d/helper/helper.d.ts +2 -2
  121. package/lib/mol-canvas3d/passes/image.d.ts +1 -1
  122. package/lib/mol-geo/geometry/color-data.d.ts +2 -8
  123. package/lib/mol-geo/geometry/color-data.js +16 -3
  124. package/lib/mol-geo/geometry/cylinders/cylinders.d.ts +1 -1
  125. package/lib/mol-geo/geometry/cylinders/cylinders.js +3 -2
  126. package/lib/mol-geo/geometry/mesh/mesh.d.ts +1 -1
  127. package/lib/mol-geo/geometry/mesh/mesh.js +3 -2
  128. package/lib/mol-geo/geometry/spheres/spheres.d.ts +1 -1
  129. package/lib/mol-geo/geometry/spheres/spheres.js +3 -2
  130. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +1 -1
  131. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js +15 -4
  132. package/lib/mol-gl/renderable/cylinders.d.ts +2 -1
  133. package/lib/mol-gl/renderable/cylinders.js +2 -2
  134. package/lib/mol-gl/renderable/mesh.d.ts +2 -1
  135. package/lib/mol-gl/renderable/mesh.js +2 -2
  136. package/lib/mol-gl/renderable/spheres.d.ts +2 -1
  137. package/lib/mol-gl/renderable/spheres.js +2 -2
  138. package/lib/mol-gl/renderable/texture-mesh.d.ts +2 -1
  139. package/lib/mol-gl/renderable/texture-mesh.js +2 -2
  140. package/lib/mol-gl/renderer.js +54 -23
  141. package/lib/mol-gl/shader/chunks/apply-interior-color.glsl.d.ts +1 -1
  142. package/lib/mol-gl/shader/chunks/apply-interior-color.glsl.js +1 -1
  143. package/lib/mol-gl/shader/chunks/check-picking-alpha.glsl.d.ts +1 -1
  144. package/lib/mol-gl/shader/chunks/check-picking-alpha.glsl.js +1 -1
  145. package/lib/mol-gl/shader/chunks/color-vert-params.glsl.d.ts +1 -1
  146. package/lib/mol-gl/shader/chunks/color-vert-params.glsl.js +1 -1
  147. package/lib/mol-io/writer/ligand-encoder.d.ts +4 -2
  148. package/lib/mol-io/writer/ligand-encoder.js +9 -4
  149. package/lib/mol-io/writer/mol/encoder.js +16 -4
  150. package/lib/mol-io/writer/mol2/encoder.js +17 -4
  151. package/lib/mol-model-formats/shape/ply.d.ts +2 -2
  152. package/lib/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +1 -1
  153. package/lib/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +1 -1
  154. package/lib/mol-model-props/computed/representations/interactions.d.ts +3 -3
  155. package/lib/mol-model-props/integrative/cross-link-restraint/representation.d.ts +4 -4
  156. package/lib/mol-plugin/behavior/dynamic/volume-streaming/util.js +0 -1
  157. package/lib/mol-plugin/commands.d.ts +1 -1
  158. package/lib/mol-plugin/util/viewport-screenshot.d.ts +3 -3
  159. package/lib/mol-plugin/version.js +2 -2
  160. package/lib/mol-plugin-state/transforms/representation.d.ts +6 -6
  161. package/lib/mol-plugin-ui/base.d.ts +3 -1
  162. package/lib/mol-plugin-ui/controls/color.d.ts +1 -1
  163. package/lib/mol-plugin-ui/controls/common.d.ts +2 -0
  164. package/lib/mol-plugin-ui/hooks/use-behavior.d.ts +1 -1
  165. package/lib/mol-plugin-ui/hooks/use-behavior.js +20 -7
  166. package/lib/mol-plugin-ui/plugin.d.ts +2 -0
  167. package/lib/mol-plugin-ui/plugin.js +2 -2
  168. package/lib/mol-plugin-ui/spec.d.ts +1 -0
  169. package/lib/mol-plugin-ui/viewport/help.d.ts +4 -1
  170. package/lib/mol-repr/shape/loci/angle.d.ts +1 -1
  171. package/lib/mol-repr/shape/loci/dihedral.d.ts +1 -1
  172. package/lib/mol-repr/shape/loci/orientation.d.ts +1 -1
  173. package/lib/mol-repr/shape/loci/plane.d.ts +1 -1
  174. package/lib/mol-repr/shape/model/unitcell.d.ts +1 -1
  175. package/lib/mol-repr/structure/complex-visual.d.ts +3 -3
  176. package/lib/mol-repr/structure/params.d.ts +4 -4
  177. package/lib/mol-repr/structure/registry.d.ts +10 -10
  178. package/lib/mol-repr/structure/representation/backbone.d.ts +3 -3
  179. package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +3 -3
  180. package/lib/mol-repr/structure/representation/carbohydrate.d.ts +3 -3
  181. package/lib/mol-repr/structure/representation/cartoon.d.ts +3 -3
  182. package/lib/mol-repr/structure/representation/ellipsoid.d.ts +3 -3
  183. package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +3 -3
  184. package/lib/mol-repr/structure/representation/molecular-surface.d.ts +3 -3
  185. package/lib/mol-repr/structure/representation/orientation.d.ts +3 -3
  186. package/lib/mol-repr/structure/representation/putty.d.ts +3 -3
  187. package/lib/mol-repr/structure/representation/spacefill.d.ts +3 -3
  188. package/lib/mol-repr/structure/units-visual.d.ts +4 -4
  189. package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +2 -2
  190. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +2 -2
  191. package/lib/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +1 -1
  192. package/lib/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +1 -1
  193. package/lib/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +1 -1
  194. package/lib/mol-repr/structure/visual/element-sphere.d.ts +2 -2
  195. package/lib/mol-repr/structure/visual/ellipsoid-mesh.d.ts +1 -1
  196. package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +4 -4
  197. package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +1 -1
  198. package/lib/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +1 -1
  199. package/lib/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +1 -1
  200. package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +1 -1
  201. package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +2 -2
  202. package/lib/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -2
  203. package/lib/mol-repr/structure/visual/polymer-direction-wedge.d.ts +1 -1
  204. package/lib/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +1 -1
  205. package/lib/mol-repr/structure/visual/polymer-trace-mesh.d.ts +1 -1
  206. package/lib/mol-repr/structure/visual/polymer-tube-mesh.d.ts +1 -1
  207. package/lib/mol-repr/util.d.ts +1 -1
  208. package/lib/mol-repr/util.js +1 -1
  209. package/lib/mol-repr/volume/isosurface.d.ts +5 -5
  210. package/lib/mol-repr/volume/registry.d.ts +1 -1
  211. package/lib/mol-theme/color.d.ts +9 -2
  212. package/lib/mol-theme/color.js +1 -1
  213. package/lib/servers/model/server/query.js +1 -3
  214. package/lib/servers/model/version.d.ts +1 -1
  215. package/lib/servers/model/version.js +1 -1
  216. package/package.json +16 -16
@@ -1,15 +1,15 @@
1
1
  /**
2
- * Copyright (c) 2020-21 mol* contributors, licensed under MIT, See LICENSE file for more info.
2
+ * Copyright (c) 2020-22 mol* contributors, licensed under MIT, See LICENSE file for more info.
3
3
  *
4
4
  * @author David Sehnal <david.sehnal@gmail.com>
5
5
  */
6
- import { useEffect, useRef, useState } from 'react';
7
- // eslint-disable-next-line
8
- export function useBehavior(s) {
9
- var _a = useState({}), next = _a[1];
10
- var current = useRef();
6
+ import React from 'react';
7
+ import { skip } from 'rxjs';
8
+ function useBehaviorLegacy(s) {
9
+ var _a = React.useState({}), next = _a[1];
10
+ var current = React.useRef();
11
11
  current.current = s === null || s === void 0 ? void 0 : s.value;
12
- useEffect(function () {
12
+ React.useEffect(function () {
13
13
  if (!s) {
14
14
  return;
15
15
  }
@@ -21,3 +21,16 @@ export function useBehavior(s) {
21
21
  }, [s]);
22
22
  return s === null || s === void 0 ? void 0 : s.value;
23
23
  }
24
+ function useBehaviorReact18(s) {
25
+ return React.useSyncExternalStore(React.useCallback(function (callback) {
26
+ var sub = s === null || s === void 0 ? void 0 : s.pipe(skip(1)).subscribe(callback);
27
+ return function () { return sub === null || sub === void 0 ? void 0 : sub.unsubscribe(); };
28
+ }, [s]), React.useCallback(function () { return s === null || s === void 0 ? void 0 : s.value; }, [s]));
29
+ }
30
+ var _useBehavior = !!React.useSyncExternalStore
31
+ ? useBehaviorReact18
32
+ : useBehaviorLegacy;
33
+ // eslint-disable-next-line
34
+ export function useBehavior(s) {
35
+ return _useBehavior(s);
36
+ }
@@ -11,12 +11,14 @@ import { PluginUIComponent } from './base';
11
11
  import { PluginUIContext } from './context';
12
12
  export declare class Plugin extends React.Component<{
13
13
  plugin: PluginUIContext;
14
+ children?: any;
14
15
  }, {}> {
15
16
  region(kind: 'left' | 'right' | 'bottom' | 'main', element: JSX.Element): JSX.Element;
16
17
  render(): JSX.Element;
17
18
  }
18
19
  export declare class PluginContextContainer extends React.Component<{
19
20
  plugin: PluginUIContext;
21
+ children?: any;
20
22
  }> {
21
23
  render(): JSX.Element;
22
24
  }
@@ -134,11 +134,11 @@ var Layout = /** @class */ (function (_super) {
134
134
  configurable: true
135
135
  });
136
136
  Layout.prototype.render = function () {
137
- var _a, _b, _c, _d;
137
+ var _a, _b, _c, _d, _e;
138
138
  var layout = this.plugin.layout.state;
139
139
  var controls = ((_a = this.plugin.spec.components) === null || _a === void 0 ? void 0 : _a.controls) || {};
140
140
  var viewport = ((_c = (_b = this.plugin.spec.components) === null || _b === void 0 ? void 0 : _b.viewport) === null || _c === void 0 ? void 0 : _c.view) || DefaultViewport;
141
- return _jsx("div", __assign({ className: 'msp-plugin' }, { children: _jsxs("div", __assign({ className: this.layoutClassName, onDragEnter: this.onDragEnter }, { children: [_jsxs("div", __assign({ className: this.layoutVisibilityClassName }, { children: [this.region('main', viewport), layout.showControls && controls.top !== 'none' && this.region('top', controls.top || SequenceView), layout.showControls && controls.left !== 'none' && this.region('left', controls.left || LeftPanelControls), layout.showControls && controls.right !== 'none' && this.region('right', controls.right || ControlsWrapper), layout.showControls && controls.bottom !== 'none' && this.region('bottom', controls.bottom || Log)] })), !((_d = this.plugin.spec.components) === null || _d === void 0 ? void 0 : _d.hideTaskOverlay) && _jsx(OverlayTaskProgress, {}), _jsx(DragOverlay, { plugin: this.plugin, showDragOverlay: this.showDragOverlay })] })) }));
141
+ return _jsx("div", __assign({ className: 'msp-plugin' }, { children: _jsxs("div", __assign({ className: this.layoutClassName, onDragEnter: this.onDragEnter }, { children: [_jsxs("div", __assign({ className: this.layoutVisibilityClassName }, { children: [this.region('main', viewport), layout.showControls && controls.top !== 'none' && this.region('top', controls.top || SequenceView), layout.showControls && controls.left !== 'none' && this.region('left', controls.left || LeftPanelControls), layout.showControls && controls.right !== 'none' && this.region('right', controls.right || ControlsWrapper), layout.showControls && controls.bottom !== 'none' && this.region('bottom', controls.bottom || Log)] })), !((_d = this.plugin.spec.components) === null || _d === void 0 ? void 0 : _d.hideTaskOverlay) && _jsx(OverlayTaskProgress, {}), !((_e = this.plugin.spec.components) === null || _e === void 0 ? void 0 : _e.disableDragOverlay) && _jsx(DragOverlay, { plugin: this.plugin, showDragOverlay: this.showDragOverlay })] })) }));
142
142
  };
143
143
  return Layout;
144
144
  }(PluginUIComponent));
@@ -20,6 +20,7 @@ interface PluginUISpec extends PluginSpec {
20
20
  controls?: React.ComponentClass;
21
21
  };
22
22
  hideTaskOverlay?: boolean;
23
+ disableDragOverlay?: boolean;
23
24
  };
24
25
  }
25
26
  declare namespace PluginUISpec {
@@ -14,10 +14,13 @@ export declare class BindingsHelp extends React.PureComponent<{
14
14
  getBindingComponents(): JSX.Element;
15
15
  render(): JSX.Element;
16
16
  }
17
- export declare class HelpText extends React.PureComponent {
17
+ export declare class HelpText extends React.PureComponent<{
18
+ children?: any;
19
+ }> {
18
20
  render(): JSX.Element;
19
21
  }
20
22
  export declare class HelpGroup extends React.PureComponent<{
23
+ children?: any;
21
24
  header: string;
22
25
  initiallyExpanded?: boolean;
23
26
  }, {
@@ -58,7 +58,7 @@ export declare const AngleParams: {
58
58
  flipSided: PD.BooleanParam;
59
59
  flatShaded: PD.BooleanParam;
60
60
  xrayShaded: PD.BooleanParam;
61
- allowTransparentBackfaces: PD.BooleanParam;
61
+ transparentBackfaces: PD.Select<string>;
62
62
  bumpFrequency: PD.Numeric;
63
63
  bumpAmplitude: PD.Numeric;
64
64
  lineSizeAttenuation: PD.BooleanParam;
@@ -58,7 +58,7 @@ export declare const DihedralParams: {
58
58
  flipSided: PD.BooleanParam;
59
59
  flatShaded: PD.BooleanParam;
60
60
  xrayShaded: PD.BooleanParam;
61
- allowTransparentBackfaces: PD.BooleanParam;
61
+ transparentBackfaces: PD.Select<string>;
62
62
  bumpFrequency: PD.Numeric;
63
63
  bumpAmplitude: PD.Numeric;
64
64
  lineSizeAttenuation: PD.BooleanParam;
@@ -19,7 +19,7 @@ export declare const OrientationParams: {
19
19
  flatShaded: PD.BooleanParam;
20
20
  ignoreLight: PD.BooleanParam;
21
21
  xrayShaded: PD.BooleanParam;
22
- allowTransparentBackfaces: PD.BooleanParam;
22
+ transparentBackfaces: PD.Select<string>;
23
23
  bumpFrequency: PD.Numeric;
24
24
  bumpAmplitude: PD.Numeric;
25
25
  alpha: PD.Numeric;
@@ -18,7 +18,7 @@ export declare const PlaneParams: {
18
18
  flatShaded: PD.BooleanParam;
19
19
  ignoreLight: PD.BooleanParam;
20
20
  xrayShaded: PD.BooleanParam;
21
- allowTransparentBackfaces: PD.BooleanParam;
21
+ transparentBackfaces: PD.Select<string>;
22
22
  bumpFrequency: PD.Numeric;
23
23
  bumpAmplitude: PD.Numeric;
24
24
  alpha: PD.Numeric;
@@ -21,7 +21,7 @@ export declare const UnitcellParams: {
21
21
  flatShaded: PD.BooleanParam;
22
22
  ignoreLight: PD.BooleanParam;
23
23
  xrayShaded: PD.BooleanParam;
24
- allowTransparentBackfaces: PD.BooleanParam;
24
+ transparentBackfaces: PD.Select<string>;
25
25
  bumpFrequency: PD.Numeric;
26
26
  bumpAmplitude: PD.Numeric;
27
27
  alpha: PD.Numeric;
@@ -47,7 +47,7 @@ export declare const ComplexMeshParams: {
47
47
  flatShaded: PD.BooleanParam;
48
48
  ignoreLight: PD.BooleanParam;
49
49
  xrayShaded: PD.BooleanParam;
50
- allowTransparentBackfaces: PD.BooleanParam;
50
+ transparentBackfaces: PD.Select<string>;
51
51
  bumpFrequency: PD.Numeric;
52
52
  bumpAmplitude: PD.Numeric;
53
53
  alpha: PD.Numeric;
@@ -80,7 +80,7 @@ export declare const ComplexCylindersParams: {
80
80
  doubleSided: PD.BooleanParam;
81
81
  ignoreLight: PD.BooleanParam;
82
82
  xrayShaded: PD.BooleanParam;
83
- allowTransparentBackfaces: PD.BooleanParam;
83
+ transparentBackfaces: PD.Select<string>;
84
84
  bumpFrequency: PD.Numeric;
85
85
  bumpAmplitude: PD.Numeric;
86
86
  alpha: PD.Numeric;
@@ -214,7 +214,7 @@ export declare const ComplexTextureMeshParams: {
214
214
  flatShaded: PD.BooleanParam;
215
215
  ignoreLight: PD.BooleanParam;
216
216
  xrayShaded: PD.BooleanParam;
217
- allowTransparentBackfaces: PD.BooleanParam;
217
+ transparentBackfaces: PD.Select<string>;
218
218
  bumpFrequency: PD.Numeric;
219
219
  bumpAmplitude: PD.Numeric;
220
220
  alpha: PD.Numeric;
@@ -18,7 +18,7 @@ export declare const StructureMeshParams: {
18
18
  flatShaded: PD.BooleanParam;
19
19
  ignoreLight: PD.BooleanParam;
20
20
  xrayShaded: PD.BooleanParam;
21
- allowTransparentBackfaces: PD.BooleanParam;
21
+ transparentBackfaces: PD.Select<string>;
22
22
  bumpFrequency: PD.Numeric;
23
23
  bumpAmplitude: PD.Numeric;
24
24
  alpha: PD.Numeric;
@@ -45,7 +45,7 @@ export declare const StructureSpheresParams: {
45
45
  doubleSided: PD.BooleanParam;
46
46
  ignoreLight: PD.BooleanParam;
47
47
  xrayShaded: PD.BooleanParam;
48
- allowTransparentBackfaces: PD.BooleanParam;
48
+ transparentBackfaces: PD.Select<string>;
49
49
  bumpFrequency: PD.Numeric;
50
50
  bumpAmplitude: PD.Numeric;
51
51
  alpha: PD.Numeric;
@@ -73,7 +73,7 @@ export declare const StructureCylindersParams: {
73
73
  doubleSided: PD.BooleanParam;
74
74
  ignoreLight: PD.BooleanParam;
75
75
  xrayShaded: PD.BooleanParam;
76
- allowTransparentBackfaces: PD.BooleanParam;
76
+ transparentBackfaces: PD.Select<string>;
77
77
  bumpFrequency: PD.Numeric;
78
78
  bumpAmplitude: PD.Numeric;
79
79
  alpha: PD.Numeric;
@@ -210,7 +210,7 @@ export declare const StructureTextureMeshParams: {
210
210
  flatShaded: PD.BooleanParam;
211
211
  ignoreLight: PD.BooleanParam;
212
212
  xrayShaded: PD.BooleanParam;
213
- allowTransparentBackfaces: PD.BooleanParam;
213
+ transparentBackfaces: PD.Select<string>;
214
214
  bumpFrequency: PD.Numeric;
215
215
  bumpAmplitude: PD.Numeric;
216
216
  alpha: PD.Numeric;
@@ -22,7 +22,7 @@ export declare namespace StructureRepresentationRegistry {
22
22
  flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
23
23
  ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
24
24
  xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
25
- allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
25
+ transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<string>;
26
26
  bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
27
27
  alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
28
28
  quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -62,7 +62,7 @@ export declare namespace StructureRepresentationRegistry {
62
62
  flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
63
63
  ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
64
64
  xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
65
- allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
65
+ transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<string>;
66
66
  bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
67
67
  alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
68
68
  quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -112,7 +112,7 @@ export declare namespace StructureRepresentationRegistry {
112
112
  doubleSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
113
113
  ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
114
114
  xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
115
- allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
115
+ transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<string>;
116
116
  bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
117
117
  alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
118
118
  quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -158,7 +158,7 @@ export declare namespace StructureRepresentationRegistry {
158
158
  flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
159
159
  ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
160
160
  xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
161
- allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
161
+ transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<string>;
162
162
  bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
163
163
  alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
164
164
  quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -209,7 +209,7 @@ export declare namespace StructureRepresentationRegistry {
209
209
  doubleSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
210
210
  ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
211
211
  xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
212
- allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
212
+ transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<string>;
213
213
  bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
214
214
  alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
215
215
  quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -271,7 +271,7 @@ export declare namespace StructureRepresentationRegistry {
271
271
  flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
272
272
  ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
273
273
  xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
274
- allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
274
+ transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<string>;
275
275
  bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
276
276
  }, "gaussian-surface">;
277
277
  'gaussian-volume': import("./representation").StructureRepresentationProvider<{
@@ -427,7 +427,7 @@ export declare namespace StructureRepresentationRegistry {
427
427
  flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
428
428
  ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
429
429
  xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
430
- allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
430
+ transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<string>;
431
431
  bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
432
432
  }, "molecular-surface">;
433
433
  orientation: import("./representation").StructureRepresentationProvider<{
@@ -442,7 +442,7 @@ export declare namespace StructureRepresentationRegistry {
442
442
  flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
443
443
  ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
444
444
  xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
445
- allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
445
+ transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<string>;
446
446
  bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
447
447
  alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
448
448
  quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -500,7 +500,7 @@ export declare namespace StructureRepresentationRegistry {
500
500
  flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
501
501
  ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
502
502
  xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
503
- allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
503
+ transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<string>;
504
504
  bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
505
505
  alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
506
506
  quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -534,7 +534,7 @@ export declare namespace StructureRepresentationRegistry {
534
534
  doubleSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
535
535
  ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
536
536
  xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
537
- allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
537
+ transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<string>;
538
538
  bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
539
539
  alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
540
540
  quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -21,7 +21,7 @@ export declare const BackboneParams: {
21
21
  flatShaded: PD.BooleanParam;
22
22
  ignoreLight: PD.BooleanParam;
23
23
  xrayShaded: PD.BooleanParam;
24
- allowTransparentBackfaces: PD.BooleanParam;
24
+ transparentBackfaces: PD.Select<string>;
25
25
  bumpAmplitude: PD.Numeric;
26
26
  alpha: PD.Numeric;
27
27
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -57,7 +57,7 @@ export declare function getBackboneParams(ctx: ThemeRegistryContext, structure:
57
57
  flatShaded: PD.BooleanParam;
58
58
  ignoreLight: PD.BooleanParam;
59
59
  xrayShaded: PD.BooleanParam;
60
- allowTransparentBackfaces: PD.BooleanParam;
60
+ transparentBackfaces: PD.Select<string>;
61
61
  bumpAmplitude: PD.Numeric;
62
62
  alpha: PD.Numeric;
63
63
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -94,7 +94,7 @@ export declare const BackboneRepresentationProvider: StructureRepresentationProv
94
94
  flatShaded: PD.BooleanParam;
95
95
  ignoreLight: PD.BooleanParam;
96
96
  xrayShaded: PD.BooleanParam;
97
- allowTransparentBackfaces: PD.BooleanParam;
97
+ transparentBackfaces: PD.Select<string>;
98
98
  bumpAmplitude: PD.Numeric;
99
99
  alpha: PD.Numeric;
100
100
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -36,7 +36,7 @@ export declare const BallAndStickParams: {
36
36
  doubleSided: PD.BooleanParam;
37
37
  ignoreLight: PD.BooleanParam;
38
38
  xrayShaded: PD.BooleanParam;
39
- allowTransparentBackfaces: PD.BooleanParam;
39
+ transparentBackfaces: PD.Select<string>;
40
40
  bumpAmplitude: PD.Numeric;
41
41
  alpha: PD.Numeric;
42
42
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -89,7 +89,7 @@ export declare function getBallAndStickParams(ctx: ThemeRegistryContext, structu
89
89
  doubleSided: PD.BooleanParam;
90
90
  ignoreLight: PD.BooleanParam;
91
91
  xrayShaded: PD.BooleanParam;
92
- allowTransparentBackfaces: PD.BooleanParam;
92
+ transparentBackfaces: PD.Select<string>;
93
93
  bumpAmplitude: PD.Numeric;
94
94
  alpha: PD.Numeric;
95
95
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -143,7 +143,7 @@ export declare const BallAndStickRepresentationProvider: StructureRepresentation
143
143
  doubleSided: PD.BooleanParam;
144
144
  ignoreLight: PD.BooleanParam;
145
145
  xrayShaded: PD.BooleanParam;
146
- allowTransparentBackfaces: PD.BooleanParam;
146
+ transparentBackfaces: PD.Select<string>;
147
147
  bumpAmplitude: PD.Numeric;
148
148
  alpha: PD.Numeric;
149
149
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -30,7 +30,7 @@ export declare const CarbohydrateParams: {
30
30
  flatShaded: PD.BooleanParam;
31
31
  ignoreLight: PD.BooleanParam;
32
32
  xrayShaded: PD.BooleanParam;
33
- allowTransparentBackfaces: PD.BooleanParam;
33
+ transparentBackfaces: PD.Select<string>;
34
34
  bumpAmplitude: PD.Numeric;
35
35
  alpha: PD.Numeric;
36
36
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -76,7 +76,7 @@ export declare function getCarbohydrateParams(ctx: ThemeRegistryContext, structu
76
76
  flatShaded: PD.BooleanParam;
77
77
  ignoreLight: PD.BooleanParam;
78
78
  xrayShaded: PD.BooleanParam;
79
- allowTransparentBackfaces: PD.BooleanParam;
79
+ transparentBackfaces: PD.Select<string>;
80
80
  bumpAmplitude: PD.Numeric;
81
81
  alpha: PD.Numeric;
82
82
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -123,7 +123,7 @@ export declare const CarbohydrateRepresentationProvider: StructureRepresentation
123
123
  flatShaded: PD.BooleanParam;
124
124
  ignoreLight: PD.BooleanParam;
125
125
  xrayShaded: PD.BooleanParam;
126
- allowTransparentBackfaces: PD.BooleanParam;
126
+ transparentBackfaces: PD.Select<string>;
127
127
  bumpAmplitude: PD.Numeric;
128
128
  alpha: PD.Numeric;
129
129
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -19,7 +19,7 @@ export declare const CartoonParams: {
19
19
  flatShaded: PD.BooleanParam;
20
20
  ignoreLight: PD.BooleanParam;
21
21
  xrayShaded: PD.BooleanParam;
22
- allowTransparentBackfaces: PD.BooleanParam;
22
+ transparentBackfaces: PD.Select<string>;
23
23
  bumpAmplitude: PD.Numeric;
24
24
  alpha: PD.Numeric;
25
25
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -58,7 +58,7 @@ export declare function getCartoonParams(ctx: ThemeRegistryContext, structure: S
58
58
  flatShaded: PD.BooleanParam;
59
59
  ignoreLight: PD.BooleanParam;
60
60
  xrayShaded: PD.BooleanParam;
61
- allowTransparentBackfaces: PD.BooleanParam;
61
+ transparentBackfaces: PD.Select<string>;
62
62
  bumpAmplitude: PD.Numeric;
63
63
  alpha: PD.Numeric;
64
64
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -98,7 +98,7 @@ export declare const CartoonRepresentationProvider: StructureRepresentationProvi
98
98
  flatShaded: PD.BooleanParam;
99
99
  ignoreLight: PD.BooleanParam;
100
100
  xrayShaded: PD.BooleanParam;
101
- allowTransparentBackfaces: PD.BooleanParam;
101
+ transparentBackfaces: PD.Select<string>;
102
102
  bumpAmplitude: PD.Numeric;
103
103
  alpha: PD.Numeric;
104
104
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -36,7 +36,7 @@ export declare const EllipsoidParams: {
36
36
  doubleSided: PD.BooleanParam;
37
37
  ignoreLight: PD.BooleanParam;
38
38
  xrayShaded: PD.BooleanParam;
39
- allowTransparentBackfaces: PD.BooleanParam;
39
+ transparentBackfaces: PD.Select<string>;
40
40
  bumpAmplitude: PD.Numeric;
41
41
  alpha: PD.Numeric;
42
42
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -88,7 +88,7 @@ export declare function getEllipsoidParams(ctx: ThemeRegistryContext, structure:
88
88
  doubleSided: PD.BooleanParam;
89
89
  ignoreLight: PD.BooleanParam;
90
90
  xrayShaded: PD.BooleanParam;
91
- allowTransparentBackfaces: PD.BooleanParam;
91
+ transparentBackfaces: PD.Select<string>;
92
92
  bumpAmplitude: PD.Numeric;
93
93
  alpha: PD.Numeric;
94
94
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -141,7 +141,7 @@ export declare const EllipsoidRepresentationProvider: StructureRepresentationPro
141
141
  doubleSided: PD.BooleanParam;
142
142
  ignoreLight: PD.BooleanParam;
143
143
  xrayShaded: PD.BooleanParam;
144
- allowTransparentBackfaces: PD.BooleanParam;
144
+ transparentBackfaces: PD.Select<string>;
145
145
  bumpAmplitude: PD.Numeric;
146
146
  alpha: PD.Numeric;
147
147
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -47,7 +47,7 @@ export declare const GaussianSurfaceParams: {
47
47
  flatShaded: PD.BooleanParam;
48
48
  ignoreLight: PD.BooleanParam;
49
49
  xrayShaded: PD.BooleanParam;
50
- allowTransparentBackfaces: PD.BooleanParam;
50
+ transparentBackfaces: PD.Select<string>;
51
51
  bumpAmplitude: PD.Numeric;
52
52
  };
53
53
  export declare type GaussianSurfaceParams = typeof GaussianSurfaceParams;
@@ -90,7 +90,7 @@ export declare function getGaussianSurfaceParams(ctx: ThemeRegistryContext, stru
90
90
  flatShaded: PD.BooleanParam;
91
91
  ignoreLight: PD.BooleanParam;
92
92
  xrayShaded: PD.BooleanParam;
93
- allowTransparentBackfaces: PD.BooleanParam;
93
+ transparentBackfaces: PD.Select<string>;
94
94
  bumpAmplitude: PD.Numeric;
95
95
  };
96
96
  export declare type GaussianSurfaceRepresentation = StructureRepresentation<GaussianSurfaceParams>;
@@ -134,6 +134,6 @@ export declare const GaussianSurfaceRepresentationProvider: StructureRepresentat
134
134
  flatShaded: PD.BooleanParam;
135
135
  ignoreLight: PD.BooleanParam;
136
136
  xrayShaded: PD.BooleanParam;
137
- allowTransparentBackfaces: PD.BooleanParam;
137
+ transparentBackfaces: PD.Select<string>;
138
138
  bumpAmplitude: PD.Numeric;
139
139
  }, "gaussian-surface">;
@@ -46,7 +46,7 @@ export declare const MolecularSurfaceParams: {
46
46
  flatShaded: PD.BooleanParam;
47
47
  ignoreLight: PD.BooleanParam;
48
48
  xrayShaded: PD.BooleanParam;
49
- allowTransparentBackfaces: PD.BooleanParam;
49
+ transparentBackfaces: PD.Select<string>;
50
50
  bumpAmplitude: PD.Numeric;
51
51
  };
52
52
  export declare type MolecularSurfaceParams = typeof MolecularSurfaceParams;
@@ -88,7 +88,7 @@ export declare function getMolecularSurfaceParams(ctx: ThemeRegistryContext, str
88
88
  flatShaded: PD.BooleanParam;
89
89
  ignoreLight: PD.BooleanParam;
90
90
  xrayShaded: PD.BooleanParam;
91
- allowTransparentBackfaces: PD.BooleanParam;
91
+ transparentBackfaces: PD.Select<string>;
92
92
  bumpAmplitude: PD.Numeric;
93
93
  };
94
94
  export declare type MolecularSurfaceRepresentation = StructureRepresentation<MolecularSurfaceParams>;
@@ -131,6 +131,6 @@ export declare const MolecularSurfaceRepresentationProvider: StructureRepresenta
131
131
  flatShaded: PD.BooleanParam;
132
132
  ignoreLight: PD.BooleanParam;
133
133
  xrayShaded: PD.BooleanParam;
134
- allowTransparentBackfaces: PD.BooleanParam;
134
+ transparentBackfaces: PD.Select<string>;
135
135
  bumpAmplitude: PD.Numeric;
136
136
  }, "molecular-surface">;
@@ -20,7 +20,7 @@ export declare const OrientationParams: {
20
20
  flatShaded: PD.BooleanParam;
21
21
  ignoreLight: PD.BooleanParam;
22
22
  xrayShaded: PD.BooleanParam;
23
- allowTransparentBackfaces: PD.BooleanParam;
23
+ transparentBackfaces: PD.Select<string>;
24
24
  bumpAmplitude: PD.Numeric;
25
25
  alpha: PD.Numeric;
26
26
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -53,7 +53,7 @@ export declare function getOrientationParams(ctx: ThemeRegistryContext, structur
53
53
  flatShaded: PD.BooleanParam;
54
54
  ignoreLight: PD.BooleanParam;
55
55
  xrayShaded: PD.BooleanParam;
56
- allowTransparentBackfaces: PD.BooleanParam;
56
+ transparentBackfaces: PD.Select<string>;
57
57
  bumpAmplitude: PD.Numeric;
58
58
  alpha: PD.Numeric;
59
59
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -87,7 +87,7 @@ export declare const OrientationRepresentationProvider: StructureRepresentationP
87
87
  flatShaded: PD.BooleanParam;
88
88
  ignoreLight: PD.BooleanParam;
89
89
  xrayShaded: PD.BooleanParam;
90
- allowTransparentBackfaces: PD.BooleanParam;
90
+ transparentBackfaces: PD.Select<string>;
91
91
  bumpAmplitude: PD.Numeric;
92
92
  alpha: PD.Numeric;
93
93
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -20,7 +20,7 @@ export declare const PuttyParams: {
20
20
  flatShaded: PD.BooleanParam;
21
21
  ignoreLight: PD.BooleanParam;
22
22
  xrayShaded: PD.BooleanParam;
23
- allowTransparentBackfaces: PD.BooleanParam;
23
+ transparentBackfaces: PD.Select<string>;
24
24
  bumpAmplitude: PD.Numeric;
25
25
  alpha: PD.Numeric;
26
26
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -55,7 +55,7 @@ export declare function getPuttyParams(ctx: ThemeRegistryContext, structure: Str
55
55
  flatShaded: PD.BooleanParam;
56
56
  ignoreLight: PD.BooleanParam;
57
57
  xrayShaded: PD.BooleanParam;
58
- allowTransparentBackfaces: PD.BooleanParam;
58
+ transparentBackfaces: PD.Select<string>;
59
59
  bumpAmplitude: PD.Numeric;
60
60
  alpha: PD.Numeric;
61
61
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -91,7 +91,7 @@ export declare const PuttyRepresentationProvider: StructureRepresentationProvide
91
91
  flatShaded: PD.BooleanParam;
92
92
  ignoreLight: PD.BooleanParam;
93
93
  xrayShaded: PD.BooleanParam;
94
- allowTransparentBackfaces: PD.BooleanParam;
94
+ transparentBackfaces: PD.Select<string>;
95
95
  bumpAmplitude: PD.Numeric;
96
96
  alpha: PD.Numeric;
97
97
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -20,7 +20,7 @@ export declare const SpacefillParams: {
20
20
  doubleSided: PD.BooleanParam;
21
21
  ignoreLight: PD.BooleanParam;
22
22
  xrayShaded: PD.BooleanParam;
23
- allowTransparentBackfaces: PD.BooleanParam;
23
+ transparentBackfaces: PD.Select<string>;
24
24
  bumpAmplitude: PD.Numeric;
25
25
  alpha: PD.Numeric;
26
26
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -55,7 +55,7 @@ export declare function getSpacefillParams(ctx: ThemeRegistryContext, structure:
55
55
  doubleSided: PD.BooleanParam;
56
56
  ignoreLight: PD.BooleanParam;
57
57
  xrayShaded: PD.BooleanParam;
58
- allowTransparentBackfaces: PD.BooleanParam;
58
+ transparentBackfaces: PD.Select<string>;
59
59
  bumpAmplitude: PD.Numeric;
60
60
  alpha: PD.Numeric;
61
61
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -91,7 +91,7 @@ export declare const SpacefillRepresentationProvider: StructureRepresentationPro
91
91
  doubleSided: PD.BooleanParam;
92
92
  ignoreLight: PD.BooleanParam;
93
93
  xrayShaded: PD.BooleanParam;
94
- allowTransparentBackfaces: PD.BooleanParam;
94
+ transparentBackfaces: PD.Select<string>;
95
95
  bumpAmplitude: PD.Numeric;
96
96
  alpha: PD.Numeric;
97
97
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
@@ -51,7 +51,7 @@ export declare const UnitsMeshParams: {
51
51
  flatShaded: PD.BooleanParam;
52
52
  ignoreLight: PD.BooleanParam;
53
53
  xrayShaded: PD.BooleanParam;
54
- allowTransparentBackfaces: PD.BooleanParam;
54
+ transparentBackfaces: PD.Select<string>;
55
55
  bumpFrequency: PD.Numeric;
56
56
  bumpAmplitude: PD.Numeric;
57
57
  alpha: PD.Numeric;
@@ -83,7 +83,7 @@ export declare const UnitsSpheresParams: {
83
83
  doubleSided: PD.BooleanParam;
84
84
  ignoreLight: PD.BooleanParam;
85
85
  xrayShaded: PD.BooleanParam;
86
- allowTransparentBackfaces: PD.BooleanParam;
86
+ transparentBackfaces: PD.Select<string>;
87
87
  bumpFrequency: PD.Numeric;
88
88
  bumpAmplitude: PD.Numeric;
89
89
  alpha: PD.Numeric;
@@ -116,7 +116,7 @@ export declare const UnitsCylindersParams: {
116
116
  doubleSided: PD.BooleanParam;
117
117
  ignoreLight: PD.BooleanParam;
118
118
  xrayShaded: PD.BooleanParam;
119
- allowTransparentBackfaces: PD.BooleanParam;
119
+ transparentBackfaces: PD.Select<string>;
120
120
  bumpFrequency: PD.Numeric;
121
121
  bumpAmplitude: PD.Numeric;
122
122
  alpha: PD.Numeric;
@@ -278,7 +278,7 @@ export declare const UnitsTextureMeshParams: {
278
278
  flatShaded: PD.BooleanParam;
279
279
  ignoreLight: PD.BooleanParam;
280
280
  xrayShaded: PD.BooleanParam;
281
- allowTransparentBackfaces: PD.BooleanParam;
281
+ transparentBackfaces: PD.Select<string>;
282
282
  bumpFrequency: PD.Numeric;
283
283
  bumpAmplitude: PD.Numeric;
284
284
  alpha: PD.Numeric;