pdbe-molstar 3.2.1-beta.1 → 3.2.1-beta.3

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 (73) hide show
  1. package/README.md +1 -1
  2. package/build/pdbe-molstar-component.js +2 -2
  3. package/build/pdbe-molstar-light.css +2 -2
  4. package/build/pdbe-molstar-plugin.js +2 -2
  5. package/build/pdbe-molstar-plugin.js.LICENSE.txt +1 -1
  6. package/build/pdbe-molstar.css +2 -2
  7. package/lib/alphafold-transparency.d.ts +3 -3
  8. package/lib/alphafold-transparency.js +10 -11
  9. package/lib/custom-events.d.ts +1 -1
  10. package/lib/custom-events.js +1 -1
  11. package/lib/domain-annotations/behavior.d.ts +1 -1
  12. package/lib/domain-annotations/behavior.js +3 -3
  13. package/lib/domain-annotations/color.d.ts +3 -3
  14. package/lib/domain-annotations/color.js +4 -4
  15. package/lib/domain-annotations/prop.d.ts +6 -6
  16. package/lib/domain-annotations/prop.js +7 -7
  17. package/lib/extensions/foldseek.d.ts +1 -1
  18. package/lib/extensions/foldseek.js +2 -2
  19. package/lib/helpers.d.ts +20 -13
  20. package/lib/helpers.js +49 -11
  21. package/lib/index(light).d.ts +4 -179
  22. package/lib/index(light).js +6 -1234
  23. package/lib/index.d.ts +4 -179
  24. package/lib/index.js +6 -1234
  25. package/lib/labels.d.ts +1 -1
  26. package/lib/labels.js +3 -3
  27. package/lib/loci-details.d.ts +2 -2
  28. package/lib/loci-details.js +3 -3
  29. package/lib/plugin-custom-state.d.ts +6 -9
  30. package/lib/sifts-mapping.d.ts +3 -3
  31. package/lib/sifts-mapping.js +4 -4
  32. package/lib/sifts-mappings-behaviour.d.ts +1 -1
  33. package/lib/sifts-mappings-behaviour.js +10 -10
  34. package/lib/spec.d.ts +36 -11
  35. package/lib/spec.js +38 -7
  36. package/lib/{overlay.scss → styles/index.scss} +11 -0
  37. package/lib/superposition-export.d.ts +1 -1
  38. package/lib/superposition-export.js +7 -7
  39. package/lib/superposition-focus-representation.d.ts +3 -3
  40. package/lib/superposition-focus-representation.js +8 -8
  41. package/lib/superposition-sifts-mapping.d.ts +5 -5
  42. package/lib/superposition-sifts-mapping.js +3 -3
  43. package/lib/superposition.d.ts +7 -4
  44. package/lib/superposition.js +147 -184
  45. package/lib/ui/alphafold-superposition.d.ts +4 -4
  46. package/lib/ui/alphafold-superposition.js +8 -8
  47. package/lib/ui/alphafold-tranparency.d.ts +2 -2
  48. package/lib/ui/alphafold-tranparency.js +4 -4
  49. package/lib/ui/annotation-controls.d.ts +1 -1
  50. package/lib/ui/annotation-controls.js +7 -7
  51. package/lib/ui/annotation-row-controls.d.ts +2 -2
  52. package/lib/ui/annotation-row-controls.js +3 -3
  53. package/lib/ui/export-superposition.d.ts +1 -1
  54. package/lib/ui/export-superposition.js +9 -9
  55. package/lib/ui/pdbe-left-panel.d.ts +8 -8
  56. package/lib/ui/pdbe-left-panel.js +26 -47
  57. package/lib/ui/pdbe-screenshot-controls.d.ts +2 -2
  58. package/lib/ui/pdbe-screenshot-controls.js +7 -7
  59. package/lib/ui/pdbe-structure-controls.d.ts +1 -1
  60. package/lib/ui/pdbe-structure-controls.js +8 -8
  61. package/lib/ui/pdbe-viewport-controls.d.ts +1 -1
  62. package/lib/ui/pdbe-viewport-controls.js +4 -2
  63. package/lib/ui/segment-tree.d.ts +4 -4
  64. package/lib/ui/segment-tree.js +12 -32
  65. package/lib/ui/superposition-components.d.ts +1 -1
  66. package/lib/ui/superposition-components.js +8 -8
  67. package/lib/ui/superposition-viewport.d.ts +1 -1
  68. package/lib/ui/superposition-viewport.js +5 -5
  69. package/lib/ui/symmetry-annotation-controls.d.ts +6 -6
  70. package/lib/ui/symmetry-annotation-controls.js +6 -6
  71. package/lib/viewer.d.ts +178 -0
  72. package/lib/viewer.js +1286 -0
  73. package/package.json +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pdbe-molstar",
3
- "version": "3.2.1-beta.1",
3
+ "version": "3.2.1-beta.3",
4
4
  "description": "Molstar implementation for PDBe",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -10,13 +10,13 @@
10
10
  "rebuild": "npm run clean && npm run build",
11
11
  "clean": "node scripts.js clean-all",
12
12
  "build-tsc": "tsc --incremental",
13
- "build-extra": "cpx 'src/**/*.{scss,html,ico}' lib/",
13
+ "build-extra": "cpx 'src/app/**/*.{scss,html,ico}' lib/",
14
14
  "build-webpack": "webpack --mode production --config ./webpack.config.production.js",
15
15
  "watch": "concurrently -c 'green,gray,blue' --names 'tsc,ext,wpc' --kill-others 'npm:watch-tsc' 'npm:watch-extra' 'npm:watch-webpack'",
16
16
  "watch-tsc": "tsc --watch --incremental",
17
- "watch-extra": "cpx 'src/**/*.{scss,html,ico}' lib/ --watch",
17
+ "watch-extra": "cpx 'src/app/**/*.{scss,html,ico}' lib/ --watch",
18
18
  "watch-webpack": "webpack -w --mode development --stats minimal --config ./webpack.config.development.js",
19
- "serve": "http-server -p 1338 -g",
19
+ "serve": "http-server -p 1338 -g -c-1",
20
20
  "bundle-webcomponent": "node scripts.js bundle-webcomponent"
21
21
  },
22
22
  "files": [