@jbrowse/plugin-gccontent 3.7.0 → 4.0.1
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/esm/GCContentAdapter/GCContentAdapter.d.ts +3 -2
- package/esm/GCContentAdapter/GCContentAdapter.js +103 -103
- package/esm/GCContentAdapter/configSchema.d.ts +2 -2
- package/esm/GCContentAdapter/index.js +2 -2
- package/esm/GCContentTrack/configSchema.d.ts +16 -11
- package/esm/GCContentTrack/index.js +17 -2
- package/esm/LinearGCContentDisplay/components/EditGCContentParams.js +1 -1
- package/esm/LinearGCContentDisplay/config1.d.ts +2 -2
- package/esm/LinearGCContentDisplay/config2.d.ts +2 -2
- package/esm/LinearGCContentDisplay/index.js +10 -7
- package/esm/LinearGCContentDisplay/shared.d.ts +1057 -106
- package/esm/LinearGCContentDisplay/shared.js +4 -6
- package/esm/LinearGCContentDisplay/stateModel1.d.ts +1024 -107
- package/esm/LinearGCContentDisplay/stateModel1.js +2 -2
- package/esm/LinearGCContentDisplay/stateModel2.d.ts +1024 -107
- package/esm/LinearGCContentDisplay/stateModel2.js +2 -2
- package/esm/index.js +4 -7
- package/package.json +27 -32
- package/dist/GCContentAdapter/GCContentAdapter.d.ts +0 -10
- package/dist/GCContentAdapter/GCContentAdapter.js +0 -132
- package/dist/GCContentAdapter/configSchema.d.ts +0 -16
- package/dist/GCContentAdapter/configSchema.js +0 -21
- package/dist/GCContentAdapter/index.d.ts +0 -2
- package/dist/GCContentAdapter/index.js +0 -52
- package/dist/GCContentTrack/configSchema.d.ts +0 -80
- package/dist/GCContentTrack/configSchema.js +0 -9
- package/dist/GCContentTrack/index.d.ts +0 -2
- package/dist/GCContentTrack/index.js +0 -20
- package/dist/LinearGCContentDisplay/components/EditGCContentParams.d.ts +0 -12
- package/dist/LinearGCContentDisplay/components/EditGCContentParams.js +0 -25
- package/dist/LinearGCContentDisplay/config1.d.ts +0 -11
- package/dist/LinearGCContentDisplay/config1.js +0 -20
- package/dist/LinearGCContentDisplay/config2.d.ts +0 -11
- package/dist/LinearGCContentDisplay/config2.js +0 -20
- package/dist/LinearGCContentDisplay/index.d.ts +0 -2
- package/dist/LinearGCContentDisplay/index.js +0 -40
- package/dist/LinearGCContentDisplay/shared.d.ts +0 -442
- package/dist/LinearGCContentDisplay/shared.js +0 -96
- package/dist/LinearGCContentDisplay/stateModel1.d.ts +0 -444
- package/dist/LinearGCContentDisplay/stateModel1.js +0 -13
- package/dist/LinearGCContentDisplay/stateModel2.d.ts +0 -444
- package/dist/LinearGCContentDisplay/stateModel2.js +0 -13
- package/dist/index.d.ts +0 -6
- package/dist/index.js +0 -21
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { lazy } from 'react';
|
|
2
2
|
import { getConf } from '@jbrowse/core/configuration';
|
|
3
3
|
import { getSession } from '@jbrowse/core/util';
|
|
4
|
+
import { types } from '@jbrowse/mobx-state-tree';
|
|
4
5
|
import { linearWiggleDisplayModelFactory } from '@jbrowse/plugin-wiggle';
|
|
5
|
-
|
|
6
|
-
const EditGCContentParamsDialog = lazy(() => import('./components/EditGCContentParams'));
|
|
6
|
+
const EditGCContentParamsDialog = lazy(() => import("./components/EditGCContentParams.js"));
|
|
7
7
|
export default function SharedModelF(pluginManager, configSchema) {
|
|
8
8
|
return types
|
|
9
9
|
.compose('SharedGCContentModel', linearWiggleDisplayModelFactory(pluginManager, configSchema), types.model({
|
|
@@ -18,12 +18,10 @@ export default function SharedModelF(pluginManager, configSchema) {
|
|
|
18
18
|
}))
|
|
19
19
|
.views(self => ({
|
|
20
20
|
get windowSizeSetting() {
|
|
21
|
-
|
|
22
|
-
return (_a = self.windowSize) !== null && _a !== void 0 ? _a : getConf(self, 'windowSize');
|
|
21
|
+
return self.windowSize ?? getConf(self, 'windowSize');
|
|
23
22
|
},
|
|
24
23
|
get windowDeltaSetting() {
|
|
25
|
-
|
|
26
|
-
return (_a = self.windowDelta) !== null && _a !== void 0 ? _a : getConf(self, 'windowDelta');
|
|
24
|
+
return self.windowDelta ?? getConf(self, 'windowDelta');
|
|
27
25
|
},
|
|
28
26
|
}))
|
|
29
27
|
.views(self => {
|