@jbrowse/plugin-gccontent 2.3.0 → 2.3.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.
@@ -1,2 +1,5 @@
1
1
  import PluginManager from '@jbrowse/core/PluginManager';
2
+ /**
3
+ * #config LinearGCContentDisplay
4
+ */
2
5
  export default function WiggleConfigFactory(pluginManager: PluginManager): import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
@@ -4,10 +4,15 @@ const configuration_1 = require("@jbrowse/core/configuration");
4
4
  /**
5
5
  * #config LinearGCContentDisplay
6
6
  */
7
- function x() { } // eslint-disable-line @typescript-eslint/no-unused-vars
8
7
  function WiggleConfigFactory(pluginManager) {
9
- const baseConfiguration = pluginManager.getDisplayType('LinearWiggleDisplay').configSchema;
10
- return (0, configuration_1.ConfigurationSchema)('LinearGCContentDisplay', {}, { baseConfiguration, explicitlyTyped: true });
8
+ return (0, configuration_1.ConfigurationSchema)('LinearGCContentDisplay', {}, {
9
+ /**
10
+ * #baseConfiguration
11
+ */
12
+ baseConfiguration: pluginManager.getDisplayType('LinearWiggleDisplay')
13
+ .configSchema,
14
+ explicitlyTyped: true,
15
+ });
11
16
  }
12
17
  exports.default = WiggleConfigFactory;
13
18
  //# sourceMappingURL=config.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/LinearGCContentDisplay/config.ts"],"names":[],"mappings":";;AAAA,+DAAiE;AAGjE;;GAEG;AACH,SAAS,CAAC,KAAI,CAAC,CAAC,wDAAwD;AAExE,SAAwB,mBAAmB,CAAC,aAA4B;IACtE,MAAM,iBAAiB,GAAG,aAAa,CAAC,cAAc,CACpD,qBAAqB,CACtB,CAAC,YAAY,CAAA;IAEd,OAAO,IAAA,mCAAmB,EACxB,wBAAwB,EACxB,EAAE,EACF,EAAE,iBAAiB,EAAE,eAAe,EAAE,IAAI,EAAE,CAC7C,CAAA;AACH,CAAC;AAVD,sCAUC"}
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/LinearGCContentDisplay/config.ts"],"names":[],"mappings":";;AAAA,+DAAiE;AAGjE;;GAEG;AACH,SAAwB,mBAAmB,CAAC,aAA4B;IACtE,OAAO,IAAA,mCAAmB,EACxB,wBAAwB,EACxB,EAAE,EACF;QACE;;WAEG;QACH,iBAAiB,EAAE,aAAa,CAAC,cAAc,CAAC,qBAAqB,CAAC;aACnE,YAAY;QACf,eAAe,EAAE,IAAI;KACtB,CACF,CAAA;AACH,CAAC;AAbD,sCAaC"}
@@ -1,6 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
3
3
  import PluginManager from '@jbrowse/core/PluginManager';
4
+ /**
5
+ * #stateModel LinearGCContentDisplay
6
+ * base model BaseWiggleDisplayModel
7
+ */
4
8
  export default function stateModelFactory(pluginManager: PluginManager, configSchema: AnyConfigurationSchemaType): import("mobx-state-tree").IModelType<{
5
9
  id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
6
10
  type: import("mobx-state-tree").ISimpleType<string>;
@@ -75,6 +79,9 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
75
79
  min: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
76
80
  }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
77
81
  } & {
82
+ /**
83
+ * #property
84
+ */
78
85
  type: import("mobx-state-tree").ISimpleType<"LinearGCContentDisplay">;
79
86
  }, {
80
87
  rendererTypeName: string;
@@ -300,5 +307,10 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
300
307
  overrideHeight: number;
301
308
  }): Promise<JSX.Element>;
302
309
  } & {
310
+ /**
311
+ * #method
312
+ * retrieves the sequence adapter from parent track, and puts it as a
313
+ * subadapter on a GCContentAdapter
314
+ */
303
315
  renderProps(): any;
304
316
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
@@ -3,14 +3,26 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const configuration_1 = require("@jbrowse/core/configuration");
4
4
  const plugin_wiggle_1 = require("@jbrowse/plugin-wiggle");
5
5
  const mobx_state_tree_1 = require("mobx-state-tree");
6
+ /**
7
+ * #stateModel LinearGCContentDisplay
8
+ * base model BaseWiggleDisplayModel
9
+ */
6
10
  function stateModelFactory(pluginManager, configSchema) {
7
11
  return mobx_state_tree_1.types
8
12
  .compose('LinearGCContentDisplay', (0, plugin_wiggle_1.linearWiggleDisplayModelFactory)(pluginManager, configSchema), mobx_state_tree_1.types.model({
13
+ /**
14
+ * #property
15
+ */
9
16
  type: mobx_state_tree_1.types.literal('LinearGCContentDisplay'),
10
17
  }))
11
18
  .views(self => {
12
19
  const { renderProps: superRenderProps } = self;
13
20
  return {
21
+ /**
22
+ * #method
23
+ * retrieves the sequence adapter from parent track, and puts it as a
24
+ * subadapter on a GCContentAdapter
25
+ */
14
26
  renderProps() {
15
27
  const sequenceAdapter = (0, configuration_1.getConf)(self.parentTrack, 'adapter');
16
28
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"stateModel.js","sourceRoot":"","sources":["../../src/LinearGCContentDisplay/stateModel.ts"],"names":[],"mappings":";;AAAA,+DAGoC;AAEpC,0DAAwE;AACxE,qDAAuC;AAEvC,SAAwB,iBAAiB,CACvC,aAA4B,EAC5B,YAAwC;IAExC,OAAO,uBAAK;SACT,OAAO,CACN,wBAAwB,EACxB,IAAA,+CAA+B,EAAC,aAAa,EAAE,YAAY,CAAC,EAC5D,uBAAK,CAAC,KAAK,CAAC;QACV,IAAI,EAAE,uBAAK,CAAC,OAAO,CAAC,wBAAwB,CAAC;KAC9C,CAAC,CACH;SACA,KAAK,CAAC,IAAI,CAAC,EAAE;QACZ,MAAM,EAAE,WAAW,EAAE,gBAAgB,EAAE,GAAG,IAAI,CAAA;QAC9C,OAAO;YACL,WAAW;gBACT,MAAM,eAAe,GAAG,IAAA,uBAAO,EAAC,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,CAAA;gBAC5D,OAAO;oBACL,GAAG,gBAAgB,EAAE;oBACrB,aAAa,EAAE;wBACb,IAAI,EAAE,kBAAkB;wBACxB,eAAe;qBAChB;iBACF,CAAA;YACH,CAAC;SACF,CAAA;IACH,CAAC,CAAC,CAAA;AACN,CAAC;AA3BD,oCA2BC"}
1
+ {"version":3,"file":"stateModel.js","sourceRoot":"","sources":["../../src/LinearGCContentDisplay/stateModel.ts"],"names":[],"mappings":";;AAAA,+DAGoC;AAEpC,0DAAwE;AACxE,qDAAuC;AAEvC;;;GAGG;AACH,SAAwB,iBAAiB,CACvC,aAA4B,EAC5B,YAAwC;IAExC,OAAO,uBAAK;SACT,OAAO,CACN,wBAAwB,EACxB,IAAA,+CAA+B,EAAC,aAAa,EAAE,YAAY,CAAC,EAC5D,uBAAK,CAAC,KAAK,CAAC;QACV;;WAEG;QACH,IAAI,EAAE,uBAAK,CAAC,OAAO,CAAC,wBAAwB,CAAC;KAC9C,CAAC,CACH;SACA,KAAK,CAAC,IAAI,CAAC,EAAE;QACZ,MAAM,EAAE,WAAW,EAAE,gBAAgB,EAAE,GAAG,IAAI,CAAA;QAC9C,OAAO;YACL;;;;eAIG;YACH,WAAW;gBACT,MAAM,eAAe,GAAG,IAAA,uBAAO,EAAC,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,CAAA;gBAC5D,OAAO;oBACL,GAAG,gBAAgB,EAAE;oBACrB,aAAa,EAAE;wBACb,IAAI,EAAE,kBAAkB;wBACxB,eAAe;qBAChB;iBACF,CAAA;YACH,CAAC;SACF,CAAA;IACH,CAAC,CAAC,CAAA;AACN,CAAC;AAnCD,oCAmCC"}
@@ -1,2 +1,5 @@
1
1
  import PluginManager from '@jbrowse/core/PluginManager';
2
+ /**
3
+ * #config LinearGCContentDisplay
4
+ */
2
5
  export default function WiggleConfigFactory(pluginManager: PluginManager): import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
@@ -2,9 +2,14 @@ import { ConfigurationSchema } from '@jbrowse/core/configuration';
2
2
  /**
3
3
  * #config LinearGCContentDisplay
4
4
  */
5
- function x() { } // eslint-disable-line @typescript-eslint/no-unused-vars
6
5
  export default function WiggleConfigFactory(pluginManager) {
7
- const baseConfiguration = pluginManager.getDisplayType('LinearWiggleDisplay').configSchema;
8
- return ConfigurationSchema('LinearGCContentDisplay', {}, { baseConfiguration, explicitlyTyped: true });
6
+ return ConfigurationSchema('LinearGCContentDisplay', {}, {
7
+ /**
8
+ * #baseConfiguration
9
+ */
10
+ baseConfiguration: pluginManager.getDisplayType('LinearWiggleDisplay')
11
+ .configSchema,
12
+ explicitlyTyped: true,
13
+ });
9
14
  }
10
15
  //# sourceMappingURL=config.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/LinearGCContentDisplay/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AAGjE;;GAEG;AACH,SAAS,CAAC,KAAI,CAAC,CAAC,wDAAwD;AAExE,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,aAA4B;IACtE,MAAM,iBAAiB,GAAG,aAAa,CAAC,cAAc,CACpD,qBAAqB,CACtB,CAAC,YAAY,CAAA;IAEd,OAAO,mBAAmB,CACxB,wBAAwB,EACxB,EAAE,EACF,EAAE,iBAAiB,EAAE,eAAe,EAAE,IAAI,EAAE,CAC7C,CAAA;AACH,CAAC"}
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/LinearGCContentDisplay/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AAGjE;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,aAA4B;IACtE,OAAO,mBAAmB,CACxB,wBAAwB,EACxB,EAAE,EACF;QACE;;WAEG;QACH,iBAAiB,EAAE,aAAa,CAAC,cAAc,CAAC,qBAAqB,CAAC;aACnE,YAAY;QACf,eAAe,EAAE,IAAI;KACtB,CACF,CAAA;AACH,CAAC"}
@@ -1,6 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
3
3
  import PluginManager from '@jbrowse/core/PluginManager';
4
+ /**
5
+ * #stateModel LinearGCContentDisplay
6
+ * base model BaseWiggleDisplayModel
7
+ */
4
8
  export default function stateModelFactory(pluginManager: PluginManager, configSchema: AnyConfigurationSchemaType): import("mobx-state-tree").IModelType<{
5
9
  id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
6
10
  type: import("mobx-state-tree").ISimpleType<string>;
@@ -75,6 +79,9 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
75
79
  min: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
76
80
  }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
77
81
  } & {
82
+ /**
83
+ * #property
84
+ */
78
85
  type: import("mobx-state-tree").ISimpleType<"LinearGCContentDisplay">;
79
86
  }, {
80
87
  rendererTypeName: string;
@@ -300,5 +307,10 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
300
307
  overrideHeight: number;
301
308
  }): Promise<JSX.Element>;
302
309
  } & {
310
+ /**
311
+ * #method
312
+ * retrieves the sequence adapter from parent track, and puts it as a
313
+ * subadapter on a GCContentAdapter
314
+ */
303
315
  renderProps(): any;
304
316
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
@@ -1,14 +1,26 @@
1
1
  import { getConf, } from '@jbrowse/core/configuration';
2
2
  import { linearWiggleDisplayModelFactory } from '@jbrowse/plugin-wiggle';
3
3
  import { types } from 'mobx-state-tree';
4
+ /**
5
+ * #stateModel LinearGCContentDisplay
6
+ * base model BaseWiggleDisplayModel
7
+ */
4
8
  export default function stateModelFactory(pluginManager, configSchema) {
5
9
  return types
6
10
  .compose('LinearGCContentDisplay', linearWiggleDisplayModelFactory(pluginManager, configSchema), types.model({
11
+ /**
12
+ * #property
13
+ */
7
14
  type: types.literal('LinearGCContentDisplay'),
8
15
  }))
9
16
  .views(self => {
10
17
  const { renderProps: superRenderProps } = self;
11
18
  return {
19
+ /**
20
+ * #method
21
+ * retrieves the sequence adapter from parent track, and puts it as a
22
+ * subadapter on a GCContentAdapter
23
+ */
12
24
  renderProps() {
13
25
  const sequenceAdapter = getConf(self.parentTrack, 'adapter');
14
26
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"stateModel.js","sourceRoot":"","sources":["../../src/LinearGCContentDisplay/stateModel.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,GAER,MAAM,6BAA6B,CAAA;AAEpC,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AAEvC,MAAM,CAAC,OAAO,UAAU,iBAAiB,CACvC,aAA4B,EAC5B,YAAwC;IAExC,OAAO,KAAK;SACT,OAAO,CACN,wBAAwB,EACxB,+BAA+B,CAAC,aAAa,EAAE,YAAY,CAAC,EAC5D,KAAK,CAAC,KAAK,CAAC;QACV,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,wBAAwB,CAAC;KAC9C,CAAC,CACH;SACA,KAAK,CAAC,IAAI,CAAC,EAAE;QACZ,MAAM,EAAE,WAAW,EAAE,gBAAgB,EAAE,GAAG,IAAI,CAAA;QAC9C,OAAO;YACL,WAAW;gBACT,MAAM,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,CAAA;gBAC5D,OAAO;oBACL,GAAG,gBAAgB,EAAE;oBACrB,aAAa,EAAE;wBACb,IAAI,EAAE,kBAAkB;wBACxB,eAAe;qBAChB;iBACF,CAAA;YACH,CAAC;SACF,CAAA;IACH,CAAC,CAAC,CAAA;AACN,CAAC"}
1
+ {"version":3,"file":"stateModel.js","sourceRoot":"","sources":["../../src/LinearGCContentDisplay/stateModel.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,GAER,MAAM,6BAA6B,CAAA;AAEpC,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AAEvC;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CACvC,aAA4B,EAC5B,YAAwC;IAExC,OAAO,KAAK;SACT,OAAO,CACN,wBAAwB,EACxB,+BAA+B,CAAC,aAAa,EAAE,YAAY,CAAC,EAC5D,KAAK,CAAC,KAAK,CAAC;QACV;;WAEG;QACH,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,wBAAwB,CAAC;KAC9C,CAAC,CACH;SACA,KAAK,CAAC,IAAI,CAAC,EAAE;QACZ,MAAM,EAAE,WAAW,EAAE,gBAAgB,EAAE,GAAG,IAAI,CAAA;QAC9C,OAAO;YACL;;;;eAIG;YACH,WAAW;gBACT,MAAM,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,CAAA;gBAC5D,OAAO;oBACL,GAAG,gBAAgB,EAAE;oBACrB,aAAa,EAAE;wBACb,IAAI,EAAE,kBAAkB;wBACxB,eAAe;qBAChB;iBACF,CAAA;YACH,CAAC;SACF,CAAA;IACH,CAAC,CAAC,CAAA;AACN,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-gccontent",
3
- "version": "2.3.0",
3
+ "version": "2.3.2",
4
4
  "description": "JBrowse 2 gccontent concepts",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -54,5 +54,5 @@
54
54
  "distModule": "esm/index.js",
55
55
  "srcModule": "src/index.ts",
56
56
  "module": "esm/index.js",
57
- "gitHead": "a85b280a8af4d1a11e81ab42913f5f6049e6e580"
57
+ "gitHead": "467d973535bb7b2664e9f66311fb0dc21c1ce5ba"
58
58
  }
@@ -4,16 +4,17 @@ import PluginManager from '@jbrowse/core/PluginManager'
4
4
  /**
5
5
  * #config LinearGCContentDisplay
6
6
  */
7
- function x() {} // eslint-disable-line @typescript-eslint/no-unused-vars
8
-
9
7
  export default function WiggleConfigFactory(pluginManager: PluginManager) {
10
- const baseConfiguration = pluginManager.getDisplayType(
11
- 'LinearWiggleDisplay',
12
- ).configSchema
13
-
14
8
  return ConfigurationSchema(
15
9
  'LinearGCContentDisplay',
16
10
  {},
17
- { baseConfiguration, explicitlyTyped: true },
11
+ {
12
+ /**
13
+ * #baseConfiguration
14
+ */
15
+ baseConfiguration: pluginManager.getDisplayType('LinearWiggleDisplay')
16
+ .configSchema,
17
+ explicitlyTyped: true,
18
+ },
18
19
  )
19
20
  }
@@ -6,6 +6,10 @@ import PluginManager from '@jbrowse/core/PluginManager'
6
6
  import { linearWiggleDisplayModelFactory } from '@jbrowse/plugin-wiggle'
7
7
  import { types } from 'mobx-state-tree'
8
8
 
9
+ /**
10
+ * #stateModel LinearGCContentDisplay
11
+ * base model BaseWiggleDisplayModel
12
+ */
9
13
  export default function stateModelFactory(
10
14
  pluginManager: PluginManager,
11
15
  configSchema: AnyConfigurationSchemaType,
@@ -15,12 +19,20 @@ export default function stateModelFactory(
15
19
  'LinearGCContentDisplay',
16
20
  linearWiggleDisplayModelFactory(pluginManager, configSchema),
17
21
  types.model({
22
+ /**
23
+ * #property
24
+ */
18
25
  type: types.literal('LinearGCContentDisplay'),
19
26
  }),
20
27
  )
21
28
  .views(self => {
22
29
  const { renderProps: superRenderProps } = self
23
30
  return {
31
+ /**
32
+ * #method
33
+ * retrieves the sequence adapter from parent track, and puts it as a
34
+ * subadapter on a GCContentAdapter
35
+ */
24
36
  renderProps() {
25
37
  const sequenceAdapter = getConf(self.parentTrack, 'adapter')
26
38
  return {