moorhen 0.6.3 → 0.6.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "moorhen",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
4
4
  "private": false,
5
5
  "main": "moorhen.js",
6
6
  "types": "./types/main.d.ts",
@@ -28,6 +28,7 @@ export namespace moorhen {
28
28
  resNum: string;
29
29
  modelName: string;
30
30
  cid: string;
31
+ svg?: string;
31
32
  }
32
33
 
33
34
  type Sequence = {
@@ -189,7 +190,8 @@ export namespace moorhen {
189
190
 
190
191
  type RepresentationStyles = 'VdwSpheres' | 'ligands' | 'CAs' | 'CBs' | 'CDs' | 'gaussian' | 'allHBonds' | 'rama' |
191
192
  'rotamer' | 'CRs' | 'MolecularSurface' | 'DishyBases' | 'VdWSurface' | 'Calpha' | 'unitCell' | 'hover' | 'environment' |
192
- 'ligand_environment' | 'contact_dots' | 'chemical_features' | 'ligand_validation' | 'glycoBlocks' | 'restraints' | 'residueSelection'
193
+ 'ligand_environment' | 'contact_dots' | 'chemical_features' | 'ligand_validation' | 'glycoBlocks' | 'restraints' |
194
+ 'residueSelection' | 'MetaBalls'
193
195
 
194
196
  interface MoleculeRepresentation {
195
197
  setApplyColourToNonCarbonAtoms(newVal: boolean): void;
@@ -230,7 +232,8 @@ export namespace moorhen {
230
232
  molecule: null | moorhen.Molecule;
231
233
  first: null | string;
232
234
  second: null | string;
233
- cid: null | string;
235
+ cid: null | string | string[];
236
+ isMultiCid: boolean;
234
237
  }
235
238
 
236
239
  type HoveredAtom = {
@@ -413,6 +416,7 @@ export namespace moorhen {
413
416
  label?: string;
414
417
  dateTime: string;
415
418
  type: string;
419
+ serNo: string | number;
416
420
  molNames: string[];
417
421
  mapNames?: string[];
418
422
  mtzNames?: string[];
@@ -520,7 +524,6 @@ export namespace moorhen {
520
524
  type MapRadiusChangeEvent = CustomEvent<{ factor: number; }>
521
525
 
522
526
  type ScoresUpdateEvent = CustomEvent<{
523
- origin: [number, number, number];
524
527
  modifiedMolecule: number;
525
528
  }>
526
529
 
@@ -721,12 +724,6 @@ export namespace moorhen {
721
724
  interface State {
722
725
  molecules: Molecule[];
723
726
  maps: Map[];
724
- canvasStates: {
725
- backgroundColor: [number, number, number, number];
726
- height: number;
727
- width: number;
728
- isDark: boolean
729
- };
730
727
  mapSettings: {
731
728
  defaultMapSamplingRate: number;
732
729
  defaultMapLitLines: boolean;
@@ -779,7 +776,11 @@ export namespace moorhen {
779
776
  doSpinTest: boolean;
780
777
  defaultBondSmoothness: number,
781
778
  resetClippingFogging: boolean;
782
- clipCap: boolean;
779
+ clipCap: boolean;
780
+ backgroundColor: [number, number, number, number];
781
+ height: number;
782
+ width: number;
783
+ isDark: boolean;
783
784
  };
784
785
  miscAppSettings: {
785
786
  defaultExpandDisplayCards: boolean;
@@ -795,6 +796,9 @@ export namespace moorhen {
795
796
  activeMap: Map;
796
797
  theme: string;
797
798
  residueSelection: ResidueSelection;
799
+ isChangingRotamers: boolean;
800
+ isDraggingAtoms: boolean;
801
+ isRotatingAtoms: boolean;
798
802
  };
799
803
  hoveringStates: {
800
804
  enableAtomHovering: boolean;