@jbrowse/react-linear-genome-view2 3.7.0 → 4.0.0
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/JBrowseLinearGenomeView/JBrowseLinearGenomeView.d.ts +1 -1
- package/esm/JBrowseLinearGenomeView/JBrowseLinearGenomeView.js +2 -2
- package/esm/JBrowseLinearGenomeView/index.d.ts +1 -1
- package/esm/JBrowseLinearGenomeView/index.js +1 -1
- package/esm/corePlugins.d.ts +2 -2
- package/esm/corePlugins.js +2 -2
- package/esm/createModel/createConfigModel.d.ts +23 -23
- package/esm/createModel/createConfigModel.js +1 -1
- package/esm/createModel/createModel.d.ts +1060 -1185
- package/esm/createModel/createModel.js +5 -5
- package/esm/createModel/createSessionModel.d.ts +547 -616
- package/esm/createModel/createSessionModel.js +5 -4
- package/esm/createModel/index.d.ts +3 -3
- package/esm/createModel/index.js +3 -3
- package/esm/createViewState.d.ts +2780 -3139
- package/esm/createViewState.js +3 -3
- package/esm/index.d.ts +5 -5
- package/esm/index.js +4 -4
- package/esm/loadPlugins.js +1 -1
- package/esm/rpcWorker.d.ts +1 -1
- package/esm/rpcWorker.js +2 -2
- package/esm/types.d.ts +1 -1
- package/esm/version.d.ts +1 -1
- package/esm/version.js +1 -1
- package/esm/webpack.d.ts +5 -5
- package/esm/webpack.js +4 -4
- package/package.json +48 -56
- package/dist/JBrowseLinearGenomeView/JBrowseLinearGenomeView.d.ts +0 -5
- package/dist/JBrowseLinearGenomeView/JBrowseLinearGenomeView.js +0 -19
- package/dist/JBrowseLinearGenomeView/JBrowseLinearGenomeView.test.d.ts +0 -1
- package/dist/JBrowseLinearGenomeView/JBrowseLinearGenomeView.test.js +0 -77
- package/dist/JBrowseLinearGenomeView/index.d.ts +0 -1
- package/dist/JBrowseLinearGenomeView/index.js +0 -8
- package/dist/corePlugins.d.ts +0 -3
- package/dist/corePlugins.js +0 -38
- package/dist/createModel/AboutDialog.d.ts +0 -1
- package/dist/createModel/AboutDialog.js +0 -5
- package/dist/createModel/createConfigModel.d.ts +0 -94
- package/dist/createModel/createConfigModel.js +0 -43
- package/dist/createModel/createModel.d.ts +0 -6390
- package/dist/createModel/createModel.js +0 -118
- package/dist/createModel/createSessionModel.d.ts +0 -2792
- package/dist/createModel/createSessionModel.js +0 -118
- package/dist/createModel/index.d.ts +0 -3
- package/dist/createModel/index.js +0 -12
- package/dist/createViewState.d.ts +0 -16739
- package/dist/createViewState.js +0 -75
- package/dist/index.d.ts +0 -5
- package/dist/index.js +0 -14
- package/dist/loadPlugins.d.ts +0 -13
- package/dist/loadPlugins.js +0 -12
- package/dist/react-linear-genome-view.umd.production.min.js +0 -229
- package/dist/react-linear-genome-view.umd.production.min.js.LICENSE.txt +0 -195
- package/dist/react-linear-genome-view.umd.production.min.js.map +0 -1
- package/dist/rpcWorker.d.ts +0 -2
- package/dist/rpcWorker.js +0 -57
- package/dist/types.d.ts +0 -5
- package/dist/types.js +0 -2
- package/dist/version.d.ts +0 -1
- package/dist/version.js +0 -4
- package/dist/webpack.d.ts +0 -8
- package/dist/webpack.js +0 -53
- package/dist/workerPolyfill.d.ts +0 -0
- package/dist/workerPolyfill.js +0 -34
- package/esm/workerPolyfill.d.ts +0 -0
- package/esm/workerPolyfill.js +0 -34
|
@@ -3,10 +3,10 @@ import { Suspense } from 'react';
|
|
|
3
3
|
import { readConfObject } from '@jbrowse/core/configuration';
|
|
4
4
|
import { LoadingEllipses, createJBrowseTheme } from '@jbrowse/core/ui';
|
|
5
5
|
import { EmbeddedViewContainer, ModalWidget } from '@jbrowse/embedded-core';
|
|
6
|
+
import { getEnv } from '@jbrowse/mobx-state-tree';
|
|
6
7
|
import { ThemeProvider } from '@mui/material';
|
|
7
8
|
import { observer } from 'mobx-react';
|
|
8
|
-
|
|
9
|
-
const JBrowseLinearGenomeView = observer(function ({ viewState, }) {
|
|
9
|
+
const JBrowseLinearGenomeView = observer(function JBrowseLinearGenomeView({ viewState, }) {
|
|
10
10
|
const { session } = viewState;
|
|
11
11
|
const { view } = session;
|
|
12
12
|
const { pluginManager } = getEnv(session);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './JBrowseLinearGenomeView';
|
|
1
|
+
export { default } from './JBrowseLinearGenomeView.tsx';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./JBrowseLinearGenomeView.js";
|
package/esm/corePlugins.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare const corePlugins: (typeof
|
|
1
|
+
import Config from '@jbrowse/plugin-config';
|
|
2
|
+
declare const corePlugins: (typeof Config)[];
|
|
3
3
|
export default corePlugins;
|
package/esm/corePlugins.js
CHANGED
|
@@ -2,6 +2,7 @@ import Alignments from '@jbrowse/plugin-alignments';
|
|
|
2
2
|
import Arc from '@jbrowse/plugin-arc';
|
|
3
3
|
import Authentication from '@jbrowse/plugin-authentication';
|
|
4
4
|
import BED from '@jbrowse/plugin-bed';
|
|
5
|
+
import Canvas from '@jbrowse/plugin-canvas';
|
|
5
6
|
import Config from '@jbrowse/plugin-config';
|
|
6
7
|
import DataManagement from '@jbrowse/plugin-data-management';
|
|
7
8
|
import GCContent from '@jbrowse/plugin-gccontent';
|
|
@@ -9,12 +10,11 @@ import GFF3 from '@jbrowse/plugin-gff3';
|
|
|
9
10
|
import LegacyJBrowse from '@jbrowse/plugin-legacy-jbrowse';
|
|
10
11
|
import LinearGenomeView from '@jbrowse/plugin-linear-genome-view';
|
|
11
12
|
import Sequence from '@jbrowse/plugin-sequence';
|
|
12
|
-
import SVG from '@jbrowse/plugin-svg';
|
|
13
13
|
import Trix from '@jbrowse/plugin-trix';
|
|
14
14
|
import Variants from '@jbrowse/plugin-variants';
|
|
15
15
|
import Wiggle from '@jbrowse/plugin-wiggle';
|
|
16
16
|
const corePlugins = [
|
|
17
|
-
|
|
17
|
+
Canvas,
|
|
18
18
|
Alignments,
|
|
19
19
|
Authentication,
|
|
20
20
|
BED,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import type PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
-
import type { IAnyType } from 'mobx-state-tree';
|
|
3
|
-
export default function createConfigModel(pluginManager: PluginManager, assemblyConfigSchemasType: IAnyType): import("mobx-state-tree").IModelType<{
|
|
4
|
-
configuration: import("
|
|
5
|
-
rpc: import("
|
|
2
|
+
import type { IAnyType } from '@jbrowse/mobx-state-tree';
|
|
3
|
+
export default function createConfigModel(pluginManager: PluginManager, assemblyConfigSchemasType: IAnyType): import("@jbrowse/mobx-state-tree").IModelType<{
|
|
4
|
+
configuration: import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
5
|
+
rpc: import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
6
6
|
defaultDriver: {
|
|
7
7
|
type: string;
|
|
8
8
|
description: string;
|
|
9
9
|
defaultValue: string;
|
|
10
10
|
};
|
|
11
|
-
drivers: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IMapType<import("mobx-state-tree").ITypeUnion<import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<Record<string, any>>> | undefined, import("mobx-state-tree").ModelSnapshotType<Record<string, any>>, ({} & Partial<import("mobx-state-tree/dist/internal").ExtractCFromProps<Record<string, any>>> & import("mobx-state-tree/dist/internal").NonEmptyObject) | undefined>>, [undefined]>;
|
|
12
|
-
}, import("
|
|
11
|
+
drivers: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").ITypeUnion<import("@jbrowse/mobx-state-tree").ModelCreationType<import("@jbrowse/mobx-state-tree/dist/internal").ExtractCFromProps<Record<string, any>>> | undefined, import("@jbrowse/mobx-state-tree").ModelSnapshotType<Record<string, any>>, ({} & Partial<import("@jbrowse/mobx-state-tree/dist/internal").ExtractCFromProps<Record<string, any>>> & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject) | undefined>>, [undefined]>;
|
|
12
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
13
13
|
highResolutionScaling: {
|
|
14
14
|
type: string;
|
|
15
15
|
defaultValue: number;
|
|
16
16
|
};
|
|
17
|
-
hierarchical: import("
|
|
18
|
-
sort: import("
|
|
17
|
+
hierarchical: import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
18
|
+
sort: import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
19
19
|
trackNames: {
|
|
20
20
|
type: string;
|
|
21
21
|
defaultValue: boolean;
|
|
@@ -24,8 +24,8 @@ export default function createConfigModel(pluginManager: PluginManager, assembly
|
|
|
24
24
|
type: string;
|
|
25
25
|
defaultValue: boolean;
|
|
26
26
|
};
|
|
27
|
-
}, import("
|
|
28
|
-
defaultCollapsed: import("
|
|
27
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
28
|
+
defaultCollapsed: import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
29
29
|
categoryNames: {
|
|
30
30
|
type: string;
|
|
31
31
|
defaultValue: never[];
|
|
@@ -38,9 +38,9 @@ export default function createConfigModel(pluginManager: PluginManager, assembly
|
|
|
38
38
|
type: string;
|
|
39
39
|
defaultValue: boolean;
|
|
40
40
|
};
|
|
41
|
-
}, import("
|
|
42
|
-
}, import("
|
|
43
|
-
formatDetails: import("
|
|
41
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
42
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
43
|
+
formatDetails: import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
44
44
|
feature: {
|
|
45
45
|
type: string;
|
|
46
46
|
description: string;
|
|
@@ -63,8 +63,8 @@ export default function createConfigModel(pluginManager: PluginManager, assembly
|
|
|
63
63
|
defaultValue: number;
|
|
64
64
|
description: string;
|
|
65
65
|
};
|
|
66
|
-
}, import("
|
|
67
|
-
formatAbout: import("
|
|
66
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
67
|
+
formatAbout: import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
68
68
|
config: {
|
|
69
69
|
type: string;
|
|
70
70
|
description: string;
|
|
@@ -75,20 +75,20 @@ export default function createConfigModel(pluginManager: PluginManager, assembly
|
|
|
75
75
|
type: string;
|
|
76
76
|
defaultValue: boolean;
|
|
77
77
|
};
|
|
78
|
-
}, import("
|
|
78
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
79
79
|
theme: {
|
|
80
80
|
type: string;
|
|
81
81
|
defaultValue: {};
|
|
82
82
|
};
|
|
83
|
-
}, import("
|
|
83
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
84
84
|
assembly: IAnyType;
|
|
85
|
-
tracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
|
|
86
|
-
internetAccounts: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
|
|
87
|
-
connections: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
|
|
88
|
-
aggregateTextSearchAdapters: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
|
|
89
|
-
plugins: import("mobx-state-tree").IType<any, any, any>;
|
|
85
|
+
tracks: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IAnyModelType>;
|
|
86
|
+
internetAccounts: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IAnyModelType>;
|
|
87
|
+
connections: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IAnyModelType>;
|
|
88
|
+
aggregateTextSearchAdapters: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IAnyModelType>;
|
|
89
|
+
plugins: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
90
90
|
}, {
|
|
91
91
|
readonly assemblies: any[];
|
|
92
92
|
readonly assemblyName: string;
|
|
93
93
|
readonly rpcManager: any;
|
|
94
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
94
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ConfigurationSchema, readConfObject, } from '@jbrowse/core/configuration';
|
|
2
2
|
import RpcManager from '@jbrowse/core/rpc/RpcManager';
|
|
3
|
+
import { getParent, types } from '@jbrowse/mobx-state-tree';
|
|
3
4
|
import { FormatAboutConfigSchemaFactory, FormatDetailsConfigSchemaFactory, HierarchicalConfigSchemaFactory, } from '@jbrowse/product-core';
|
|
4
|
-
import { getParent, types } from 'mobx-state-tree';
|
|
5
5
|
export default function createConfigModel(pluginManager, assemblyConfigSchemasType) {
|
|
6
6
|
return types
|
|
7
7
|
.model('Configuration', {
|