@jbrowse/plugin-circular-view 2.2.0 → 2.2.2

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.
@@ -84,7 +84,7 @@ export declare const BaseChordDisplayModel: import("mobx-state-tree").IModelType
84
84
  renderProps(): any;
85
85
  /**
86
86
  * #getter
87
- * the pluggable element type object for this diplay's
87
+ * the pluggable element type object for this display's
88
88
  * renderer
89
89
  */
90
90
  readonly rendererType: RendererType;
@@ -96,7 +96,7 @@ function stateModelFactory() {
96
96
  },
97
97
  /**
98
98
  * #getter
99
- * the pluggable element type object for this diplay's
99
+ * the pluggable element type object for this display's
100
100
  * renderer
101
101
  */
102
102
  get rendererType() {
@@ -9,6 +9,7 @@ import { AnyConfigurationModel } from '@jbrowse/core/configuration';
9
9
  declare function stateModelFactory(pluginManager: PluginManager): import("mobx-state-tree").IModelType<{
10
10
  id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
11
11
  displayName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
12
+ minimized: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
12
13
  } & {
13
14
  type: import("mobx-state-tree").ISimpleType<"CircularView">;
14
15
  offsetRadians: import("mobx-state-tree").IType<number | undefined, number, number>;
@@ -44,7 +45,12 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
44
45
  menuItems(): import("@jbrowse/core/ui").MenuItem[];
45
46
  } & {
46
47
  setDisplayName(name: string): void;
47
- setWidth(newWidth: number): void;
48
+ setWidth(newWidth: number): void; /**
49
+ * #property
50
+ */
51
+ setMinimized(flag: boolean): void; /**
52
+ * #property
53
+ */
48
54
  } & {
49
55
  width: number;
50
56
  } & {
@@ -226,8 +232,8 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
226
232
  */
227
233
  toggleFitToWindowLock(): boolean;
228
234
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
229
- export declare type CircularViewStateModel = ReturnType<typeof stateModelFactory>;
230
- export declare type CircularViewModel = Instance<CircularViewStateModel>;
235
+ export type CircularViewStateModel = ReturnType<typeof stateModelFactory>;
236
+ export type CircularViewModel = Instance<CircularViewStateModel>;
231
237
  /**
232
238
  PLANS
233
239
 
@@ -84,7 +84,7 @@ export declare const BaseChordDisplayModel: import("mobx-state-tree").IModelType
84
84
  renderProps(): any;
85
85
  /**
86
86
  * #getter
87
- * the pluggable element type object for this diplay's
87
+ * the pluggable element type object for this display's
88
88
  * renderer
89
89
  */
90
90
  readonly rendererType: RendererType;
@@ -90,7 +90,7 @@ function stateModelFactory() {
90
90
  },
91
91
  /**
92
92
  * #getter
93
- * the pluggable element type object for this diplay's
93
+ * the pluggable element type object for this display's
94
94
  * renderer
95
95
  */
96
96
  get rendererType() {
@@ -9,6 +9,7 @@ import { AnyConfigurationModel } from '@jbrowse/core/configuration';
9
9
  declare function stateModelFactory(pluginManager: PluginManager): import("mobx-state-tree").IModelType<{
10
10
  id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
11
11
  displayName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
12
+ minimized: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
12
13
  } & {
13
14
  type: import("mobx-state-tree").ISimpleType<"CircularView">;
14
15
  offsetRadians: import("mobx-state-tree").IType<number | undefined, number, number>;
@@ -44,7 +45,12 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
44
45
  menuItems(): import("@jbrowse/core/ui").MenuItem[];
45
46
  } & {
46
47
  setDisplayName(name: string): void;
47
- setWidth(newWidth: number): void;
48
+ setWidth(newWidth: number): void; /**
49
+ * #property
50
+ */
51
+ setMinimized(flag: boolean): void; /**
52
+ * #property
53
+ */
48
54
  } & {
49
55
  width: number;
50
56
  } & {
@@ -226,8 +232,8 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
226
232
  */
227
233
  toggleFitToWindowLock(): boolean;
228
234
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
229
- export declare type CircularViewStateModel = ReturnType<typeof stateModelFactory>;
230
- export declare type CircularViewModel = Instance<CircularViewStateModel>;
235
+ export type CircularViewStateModel = ReturnType<typeof stateModelFactory>;
236
+ export type CircularViewModel = Instance<CircularViewStateModel>;
231
237
  /**
232
238
  PLANS
233
239
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-circular-view",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "description": "JBrowse 2 circular view",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -27,7 +27,7 @@
27
27
  "build": "npm-run-all build:*",
28
28
  "test": "cd ../..; jest plugins/circular-view",
29
29
  "prepublishOnly": "yarn test",
30
- "prepack": "yarn build; yarn useDist",
30
+ "prepack": "yarn build && yarn useDist",
31
31
  "postpack": "yarn useSrc",
32
32
  "useDist": "node ../../scripts/useDist.js",
33
33
  "useSrc": "node ../../scripts/useSrc.js",
@@ -55,5 +55,5 @@
55
55
  "distModule": "esm/index.js",
56
56
  "srcModule": "src/index.ts",
57
57
  "module": "esm/index.js",
58
- "gitHead": "cf31db8d833117f8822510340664fb3f045975cb"
58
+ "gitHead": "abbc00e8feedbc58de84a7a3e735ec0224909b29"
59
59
  }
@@ -113,7 +113,7 @@ function stateModelFactory() {
113
113
 
114
114
  /**
115
115
  * #getter
116
- * the pluggable element type object for this diplay's
116
+ * the pluggable element type object for this display's
117
117
  * renderer
118
118
  */
119
119
  get rendererType() {
@@ -1,14 +1,14 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`one slice 1`] = `
4
- Object {
4
+ {
5
5
  "bpPerRadian": 1591.5494309189535,
6
6
  "endRadians": 6.283185307179586,
7
7
  "flipped": false,
8
8
  "key": "toast:1..10,000",
9
9
  "offsetRadians": 0,
10
10
  "radianWidth": 6.288185307179586,
11
- "region": Object {
11
+ "region": {
12
12
  "end": 10000,
13
13
  "refName": "toast",
14
14
  "start": 0,
@@ -19,15 +19,15 @@ Object {
19
19
  `;
20
20
 
21
21
  exports[`two slices 1`] = `
22
- Array [
23
- Object {
22
+ [
23
+ {
24
24
  "bpPerRadian": 3183.098861837907,
25
25
  "endRadians": 3.141592653589793,
26
26
  "flipped": false,
27
27
  "key": "toast:1..10,000",
28
28
  "offsetRadians": 0,
29
29
  "radianWidth": 3.146592653589793,
30
- "region": Object {
30
+ "region": {
31
31
  "end": 10000,
32
32
  "refName": "toast",
33
33
  "start": 0,
@@ -35,14 +35,14 @@ Array [
35
35
  },
36
36
  "startRadians": 0,
37
37
  },
38
- Object {
38
+ {
39
39
  "bpPerRadian": 3183.098861837907,
40
40
  "endRadians": 6.288185307179586,
41
41
  "flipped": false,
42
42
  "key": "teest:1..10,000",
43
43
  "offsetRadians": 3.146592653589793,
44
44
  "radianWidth": 3.146592653589793,
45
- "region": Object {
45
+ "region": {
46
46
  "end": 10000,
47
47
  "refName": "teest",
48
48
  "start": 0,
@@ -54,15 +54,15 @@ Array [
54
54
  `;
55
55
 
56
56
  exports[`volvox 1`] = `
57
- Array [
58
- Object {
57
+ [
58
+ {
59
59
  "bpPerRadian": 8925.40920859349,
60
60
  "endRadians": 5.602096086738348,
61
61
  "flipped": false,
62
62
  "key": "{volvox}ctgA:1..50,001",
63
63
  "offsetRadians": 0,
64
64
  "radianWidth": 5.6070960867383475,
65
- "region": Object {
65
+ "region": {
66
66
  "assemblyName": "volvox",
67
67
  "end": 50001,
68
68
  "refName": "ctgA",
@@ -71,14 +71,14 @@ Array [
71
71
  },
72
72
  "startRadians": 0,
73
73
  },
74
- Object {
74
+ {
75
75
  "bpPerRadian": 8925.40920859349,
76
76
  "endRadians": 6.288185307179587,
77
77
  "flipped": false,
78
78
  "key": "{volvox}ctgB:1..6,079",
79
79
  "offsetRadians": 5.6070960867383475,
80
80
  "radianWidth": 0.6860892204412394,
81
- "region": Object {
81
+ "region": {
82
82
  "assemblyName": "volvox",
83
83
  "end": 6079,
84
84
  "refName": "ctgB",