@jbrowse/app-core 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/AppFocus/index.d.ts +3 -3
- package/esm/AppFocus/index.js +1 -1
- package/esm/Assemblies/SessionAssembliesMixin.d.ts +47 -22
- package/esm/Assemblies/SessionAssembliesMixin.js +11 -1
- package/esm/Assemblies/TemporaryAssembliesMixin.d.ts +5 -3
- package/esm/Assemblies/TemporaryAssembliesMixin.js +11 -1
- package/esm/Assemblies/index.d.ts +2 -2
- package/esm/Assemblies/index.js +2 -2
- package/esm/DockviewLayout/index.d.ts +26 -0
- package/esm/DockviewLayout/index.js +107 -0
- package/esm/HistoryManagement/index.d.ts +7 -7
- package/esm/HistoryManagement/index.js +5 -6
- package/esm/JBrowseConfig/RootConfiguration.d.ts +15 -15
- package/esm/JBrowseConfig/index.d.ts +35 -25
- package/esm/JBrowseConfig/index.js +3 -3
- package/esm/JBrowseModel/index.d.ts +52 -34
- package/esm/JBrowseModel/index.js +15 -6
- package/esm/RootMenu/index.d.ts +3 -3
- package/esm/RootMenu/index.js +1 -1
- package/esm/index.d.ts +9 -8
- package/esm/index.js +9 -8
- package/esm/ui/App/App.d.ts +1 -1
- package/esm/ui/App/App.js +8 -8
- package/esm/ui/App/AppFab.js +2 -2
- package/esm/ui/App/AppToolbar.d.ts +1 -1
- package/esm/ui/App/AppToolbar.js +17 -3
- package/esm/ui/App/ClassicViewsContainer.d.ts +12 -0
- package/esm/ui/App/ClassicViewsContainer.js +21 -0
- package/esm/ui/App/DialogQueue.d.ts +2 -2
- package/esm/ui/App/DialogQueue.js +1 -1
- package/esm/ui/App/DockviewContext.d.ts +15 -0
- package/esm/ui/App/DockviewContext.js +21 -0
- package/esm/ui/App/DockviewLeftHeaderActions.d.ts +2 -0
- package/esm/ui/App/DockviewLeftHeaderActions.js +58 -0
- package/esm/ui/App/DockviewRightHeaderActions.d.ts +2 -0
- package/esm/ui/App/DockviewRightHeaderActions.js +100 -0
- package/esm/ui/App/Drawer.js +4 -5
- package/esm/ui/App/DrawerControls.js +1 -1
- package/esm/ui/App/DrawerHeader.js +16 -8
- package/{dist/ui/App/Drawer.d.ts → esm/ui/App/DrawerHeaderHelpButton.d.ts} +3 -3
- package/esm/ui/App/DrawerHeaderHelpButton.js +18 -0
- package/esm/ui/App/DrawerHeaderHelpDialog.d.ts +4 -0
- package/esm/ui/App/DrawerHeaderHelpDialog.js +15 -0
- package/esm/ui/App/DrawerWidget.js +4 -4
- package/esm/ui/App/DrawerWidgetSelector.js +3 -3
- package/esm/ui/App/JBrowseTabMenu.d.ts +5 -0
- package/esm/ui/App/JBrowseTabMenu.js +39 -0
- package/esm/ui/App/JBrowseViewPanel.d.ts +8 -0
- package/esm/ui/App/JBrowseViewPanel.js +49 -0
- package/esm/ui/App/JBrowseViewTab.d.ts +8 -0
- package/esm/ui/App/JBrowseViewTab.js +106 -0
- package/esm/ui/App/ModalWidget.js +3 -3
- package/esm/ui/App/TiledViewsContainer.d.ts +7 -0
- package/esm/ui/App/TiledViewsContainer.js +251 -0
- package/{dist/ui/App/ViewHeader.d.ts → esm/ui/App/ViewButtons.d.ts} +2 -3
- package/esm/ui/App/ViewButtons.js +17 -0
- package/esm/ui/App/ViewContainer.js +7 -8
- package/esm/ui/App/ViewContainerTitle.js +3 -4
- package/esm/ui/App/ViewHeader.js +7 -16
- package/esm/ui/App/ViewLauncher.d.ts +1 -1
- package/esm/ui/App/ViewLauncher.js +3 -4
- package/esm/ui/App/ViewMenu.d.ts +1 -1
- package/esm/ui/App/ViewMenu.js +113 -54
- package/esm/ui/App/ViewWrapper.js +1 -1
- package/esm/ui/App/ViewsContainer.d.ts +2 -2
- package/esm/ui/App/ViewsContainer.js +8 -6
- package/esm/ui/App/copyView.d.ts +1 -0
- package/esm/ui/App/copyView.js +29 -0
- package/esm/ui/App/dockviewUtils.d.ts +44 -0
- package/esm/ui/App/dockviewUtils.js +45 -0
- package/esm/ui/App/index.d.ts +2 -1
- package/esm/ui/App/index.js +2 -1
- package/esm/ui/App/types.d.ts +7 -0
- package/esm/ui/App/types.js +1 -0
- package/esm/ui/index.d.ts +1 -1
- package/esm/ui/index.js +1 -1
- package/package.json +27 -32
- package/dist/AppFocus/index.d.ts +0 -5
- package/dist/AppFocus/index.js +0 -15
- package/dist/Assemblies/SessionAssembliesMixin.d.ts +0 -67
- package/dist/Assemblies/SessionAssembliesMixin.js +0 -46
- package/dist/Assemblies/TemporaryAssembliesMixin.d.ts +0 -8
- package/dist/Assemblies/TemporaryAssembliesMixin.js +0 -30
- package/dist/Assemblies/index.d.ts +0 -2
- package/dist/Assemblies/index.js +0 -18
- package/dist/HistoryManagement/index.d.ts +0 -23
- package/dist/HistoryManagement/index.js +0 -47
- package/dist/JBrowseConfig/RootConfiguration.d.ts +0 -102
- package/dist/JBrowseConfig/RootConfiguration.js +0 -46
- package/dist/JBrowseConfig/index.d.ts +0 -115
- package/dist/JBrowseConfig/index.js +0 -26
- package/dist/JBrowseModel/index.d.ts +0 -142
- package/dist/JBrowseModel/index.js +0 -101
- package/dist/RootMenu/index.d.ts +0 -13
- package/dist/RootMenu/index.js +0 -74
- package/dist/index.d.ts +0 -8
- package/dist/index.js +0 -24
- package/dist/menus.d.ts +0 -74
- package/dist/menus.js +0 -108
- package/dist/ui/App/App.d.ts +0 -18
- package/dist/ui/App/App.js +0 -82
- package/dist/ui/App/AppFab.d.ts +0 -5
- package/dist/ui/App/AppFab.js +0 -32
- package/dist/ui/App/AppToolbar.d.ts +0 -18
- package/dist/ui/App/AppToolbar.js +0 -44
- package/dist/ui/App/DialogQueue.d.ts +0 -5
- package/dist/ui/App/DialogQueue.js +0 -10
- package/dist/ui/App/Drawer.js +0 -51
- package/dist/ui/App/DrawerControls.d.ts +0 -5
- package/dist/ui/App/DrawerControls.js +0 -30
- package/dist/ui/App/DrawerHeader.d.ts +0 -7
- package/dist/ui/App/DrawerHeader.js +0 -37
- package/dist/ui/App/DrawerWidget.d.ts +0 -5
- package/dist/ui/App/DrawerWidget.js +0 -65
- package/dist/ui/App/DrawerWidgetSelector.d.ts +0 -5
- package/dist/ui/App/DrawerWidgetSelector.js +0 -52
- package/dist/ui/App/ModalWidget.d.ts +0 -6
- package/dist/ui/App/ModalWidget.js +0 -53
- package/dist/ui/App/ViewContainer.d.ts +0 -6
- package/dist/ui/App/ViewContainer.js +0 -55
- package/dist/ui/App/ViewContainerTitle.d.ts +0 -5
- package/dist/ui/App/ViewContainerTitle.js +0 -44
- package/dist/ui/App/ViewHeader.js +0 -60
- package/dist/ui/App/ViewLauncher.d.ts +0 -11
- package/dist/ui/App/ViewLauncher.js +0 -29
- package/dist/ui/App/ViewMenu.d.ts +0 -8
- package/dist/ui/App/ViewMenu.js +0 -74
- package/dist/ui/App/ViewWrapper.d.ts +0 -6
- package/dist/ui/App/ViewWrapper.js +0 -23
- package/dist/ui/App/ViewsContainer.d.ts +0 -12
- package/dist/ui/App/ViewsContainer.js +0 -57
- package/dist/ui/App/index.d.ts +0 -1
- package/dist/ui/App/index.js +0 -17
- package/dist/ui/index.d.ts +0 -1
- package/dist/ui/index.js +0 -17
package/esm/AppFocus/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare function AppFocusMixin(): import("mobx-state-tree").IModelType<{
|
|
2
|
-
focusedViewId: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
1
|
+
export declare function AppFocusMixin(): import("@jbrowse/mobx-state-tree").IModelType<{
|
|
2
|
+
focusedViewId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
3
3
|
}, {
|
|
4
4
|
setFocusedViewId(viewId: string): void;
|
|
5
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
5
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>;
|
package/esm/AppFocus/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type PluginManager from '@jbrowse/core/PluginManager';
|
|
2
2
|
import type { BaseAssemblyConfigSchema } from '@jbrowse/core/assemblyManager';
|
|
3
3
|
import type { AnyConfiguration } from '@jbrowse/core/configuration';
|
|
4
|
-
export declare function SessionAssembliesMixin(pluginManager: PluginManager, assemblyConfigSchemasType: BaseAssemblyConfigSchema): import("mobx-state-tree").IModelType<{
|
|
5
|
-
sessionAssemblies: import("mobx-state-tree").IArrayType<import("
|
|
4
|
+
export declare function SessionAssembliesMixin(pluginManager: PluginManager, assemblyConfigSchemasType: BaseAssemblyConfigSchema): import("@jbrowse/mobx-state-tree").IModelType<{
|
|
5
|
+
sessionAssemblies: import("@jbrowse/mobx-state-tree").IArrayType<import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
6
6
|
aliases: {
|
|
7
7
|
type: string;
|
|
8
8
|
defaultValue: never[];
|
|
@@ -14,30 +14,30 @@ export declare function SessionAssembliesMixin(pluginManager: PluginManager, ass
|
|
|
14
14
|
defaultValue: never[];
|
|
15
15
|
description: string;
|
|
16
16
|
};
|
|
17
|
-
refNameAliases: import("
|
|
18
|
-
adapter: import("mobx-state-tree").IAnyModelType;
|
|
19
|
-
}, import("
|
|
20
|
-
cytobands: import("
|
|
21
|
-
adapter: import("mobx-state-tree").IAnyModelType;
|
|
22
|
-
}, import("
|
|
17
|
+
refNameAliases: import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
18
|
+
adapter: import("@jbrowse/mobx-state-tree").IAnyModelType;
|
|
19
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
20
|
+
cytobands: import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
21
|
+
adapter: import("@jbrowse/mobx-state-tree").IAnyModelType;
|
|
22
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
23
23
|
displayName: {
|
|
24
24
|
type: string;
|
|
25
25
|
defaultValue: string;
|
|
26
26
|
description: string;
|
|
27
27
|
};
|
|
28
|
-
}, import("
|
|
28
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name">>>;
|
|
29
29
|
}, {
|
|
30
30
|
addSessionAssembly(conf: AnyConfiguration): ({
|
|
31
31
|
[x: string]: any;
|
|
32
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
32
|
+
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
33
33
|
setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
|
|
34
34
|
[x: string]: any;
|
|
35
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
35
|
+
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
36
36
|
setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
|
|
37
37
|
[x: string]: any;
|
|
38
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
|
|
39
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
|
|
40
|
-
} & import("mobx-state-tree").IStateTreeNode<import("
|
|
38
|
+
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & any & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
|
|
39
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
|
|
40
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
41
41
|
aliases: {
|
|
42
42
|
type: string;
|
|
43
43
|
defaultValue: never[];
|
|
@@ -49,19 +49,44 @@ export declare function SessionAssembliesMixin(pluginManager: PluginManager, ass
|
|
|
49
49
|
defaultValue: never[];
|
|
50
50
|
description: string;
|
|
51
51
|
};
|
|
52
|
-
refNameAliases: import("
|
|
53
|
-
adapter: import("mobx-state-tree").IAnyModelType;
|
|
54
|
-
}, import("
|
|
55
|
-
cytobands: import("
|
|
56
|
-
adapter: import("mobx-state-tree").IAnyModelType;
|
|
57
|
-
}, import("
|
|
52
|
+
refNameAliases: import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
53
|
+
adapter: import("@jbrowse/mobx-state-tree").IAnyModelType;
|
|
54
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
55
|
+
cytobands: import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
56
|
+
adapter: import("@jbrowse/mobx-state-tree").IAnyModelType;
|
|
57
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
58
58
|
displayName: {
|
|
59
59
|
type: string;
|
|
60
60
|
defaultValue: string;
|
|
61
61
|
description: string;
|
|
62
62
|
};
|
|
63
|
-
}, import("
|
|
63
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name">>>) | undefined;
|
|
64
64
|
addAssembly(conf: AnyConfiguration): void;
|
|
65
65
|
removeAssembly(name: string): void;
|
|
66
66
|
removeSessionAssembly(assemblyName: string): void;
|
|
67
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree").
|
|
67
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
68
|
+
sessionAssemblies: import("@jbrowse/mobx-state-tree").IArrayType<import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
69
|
+
aliases: {
|
|
70
|
+
type: string;
|
|
71
|
+
defaultValue: never[];
|
|
72
|
+
description: string;
|
|
73
|
+
};
|
|
74
|
+
sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
75
|
+
refNameColors: {
|
|
76
|
+
type: string;
|
|
77
|
+
defaultValue: never[];
|
|
78
|
+
description: string;
|
|
79
|
+
};
|
|
80
|
+
refNameAliases: import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
81
|
+
adapter: import("@jbrowse/mobx-state-tree").IAnyModelType;
|
|
82
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
83
|
+
cytobands: import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
84
|
+
adapter: import("@jbrowse/mobx-state-tree").IAnyModelType;
|
|
85
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
86
|
+
displayName: {
|
|
87
|
+
type: string;
|
|
88
|
+
defaultValue: string;
|
|
89
|
+
description: string;
|
|
90
|
+
};
|
|
91
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name">>>;
|
|
92
|
+
}>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { types } from 'mobx-state-tree';
|
|
1
|
+
import { types } from '@jbrowse/mobx-state-tree';
|
|
2
2
|
export function SessionAssembliesMixin(pluginManager, assemblyConfigSchemasType) {
|
|
3
3
|
return types
|
|
4
4
|
.model({
|
|
@@ -39,5 +39,15 @@ export function SessionAssembliesMixin(pluginManager, assemblyConfigSchemasType)
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
};
|
|
42
|
+
})
|
|
43
|
+
.postProcessSnapshot(snap => {
|
|
44
|
+
if (!snap) {
|
|
45
|
+
return snap;
|
|
46
|
+
}
|
|
47
|
+
const { sessionAssemblies, ...rest } = snap;
|
|
48
|
+
return {
|
|
49
|
+
...rest,
|
|
50
|
+
...(sessionAssemblies.length ? { sessionAssemblies } : {}),
|
|
51
|
+
};
|
|
42
52
|
});
|
|
43
53
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type PluginManager from '@jbrowse/core/PluginManager';
|
|
2
2
|
import type { AnyConfiguration } from '@jbrowse/core/configuration';
|
|
3
|
-
export declare function TemporaryAssembliesMixin(pluginManager: PluginManager, assemblyConfigSchemasType?: import("mobx-state-tree").IType<any, any, any>): import("mobx-state-tree").IModelType<{
|
|
4
|
-
temporaryAssemblies: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<any, any, any>>;
|
|
3
|
+
export declare function TemporaryAssembliesMixin(pluginManager: PluginManager, assemblyConfigSchemasType?: import("@jbrowse/mobx-state-tree").IType<any, any, any>): import("@jbrowse/mobx-state-tree").IModelType<{
|
|
4
|
+
temporaryAssemblies: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<any, any, any>>;
|
|
5
5
|
}, {
|
|
6
6
|
addTemporaryAssembly(conf: AnyConfiguration): any;
|
|
7
7
|
removeTemporaryAssembly(name: string): void;
|
|
8
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree").
|
|
8
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
9
|
+
temporaryAssemblies: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<any, any, any>>;
|
|
10
|
+
}>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { types } from 'mobx-state-tree';
|
|
1
|
+
import { types } from '@jbrowse/mobx-state-tree';
|
|
2
2
|
export function TemporaryAssembliesMixin(pluginManager, assemblyConfigSchemasType = types.frozen()) {
|
|
3
3
|
return types
|
|
4
4
|
.model({
|
|
@@ -23,5 +23,15 @@ export function TemporaryAssembliesMixin(pluginManager, assemblyConfigSchemasTyp
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
};
|
|
26
|
+
})
|
|
27
|
+
.postProcessSnapshot(snap => {
|
|
28
|
+
if (!snap) {
|
|
29
|
+
return snap;
|
|
30
|
+
}
|
|
31
|
+
const { temporaryAssemblies, ...rest } = snap;
|
|
32
|
+
return {
|
|
33
|
+
...rest,
|
|
34
|
+
...(temporaryAssemblies.length ? { temporaryAssemblies } : {}),
|
|
35
|
+
};
|
|
26
36
|
});
|
|
27
37
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './SessionAssembliesMixin';
|
|
2
|
-
export * from './TemporaryAssembliesMixin';
|
|
1
|
+
export * from './SessionAssembliesMixin.ts';
|
|
2
|
+
export * from './TemporaryAssembliesMixin.ts';
|
package/esm/Assemblies/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from "./SessionAssembliesMixin.js";
|
|
2
|
+
export * from "./TemporaryAssembliesMixin.js";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { IAnyStateTreeNode, Instance } from '@jbrowse/mobx-state-tree';
|
|
2
|
+
import type { SerializedDockview } from 'dockview-react';
|
|
3
|
+
export declare function DockviewLayoutMixin(): import("@jbrowse/mobx-state-tree").IModelType<{
|
|
4
|
+
dockviewLayout: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IType<SerializedDockview, SerializedDockview, SerializedDockview>>;
|
|
5
|
+
panelViewAssignments: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>>, [undefined]>;
|
|
6
|
+
activePanelId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
7
|
+
}, {
|
|
8
|
+
getViewIdsForPanel(panelId: string): never[] | (import("@jbrowse/mobx-state-tree").IMSTArray<import("@jbrowse/mobx-state-tree").ISimpleType<string>> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>>);
|
|
9
|
+
} & {
|
|
10
|
+
setDockviewLayout(layout: SerializedDockview | undefined): void;
|
|
11
|
+
setActivePanelId(panelId: string | undefined): void;
|
|
12
|
+
assignViewToPanel(panelId: string, viewId: string): void;
|
|
13
|
+
removeViewFromPanel(viewId: string): void;
|
|
14
|
+
removePanel(panelId: string): void;
|
|
15
|
+
moveViewUpInPanel(viewId: string): void;
|
|
16
|
+
moveViewDownInPanel(viewId: string): void;
|
|
17
|
+
moveViewToTopInPanel(viewId: string): void;
|
|
18
|
+
moveViewToBottomInPanel(viewId: string): void;
|
|
19
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
20
|
+
dockviewLayout: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IType<SerializedDockview, SerializedDockview, SerializedDockview>>;
|
|
21
|
+
panelViewAssignments: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>>, [undefined]>;
|
|
22
|
+
activePanelId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
23
|
+
}>>;
|
|
24
|
+
export type DockviewLayoutMixinType = ReturnType<typeof DockviewLayoutMixin>;
|
|
25
|
+
export type SessionWithDockviewLayout = Instance<DockviewLayoutMixinType>;
|
|
26
|
+
export declare function isSessionWithDockviewLayout(session: IAnyStateTreeNode): session is SessionWithDockviewLayout;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { types } from '@jbrowse/mobx-state-tree';
|
|
2
|
+
export function DockviewLayoutMixin() {
|
|
3
|
+
return types
|
|
4
|
+
.model({
|
|
5
|
+
dockviewLayout: types.maybe(types.frozen()),
|
|
6
|
+
panelViewAssignments: types.optional(types.map(types.array(types.string)), {}),
|
|
7
|
+
activePanelId: types.maybe(types.string),
|
|
8
|
+
})
|
|
9
|
+
.views(self => ({
|
|
10
|
+
getViewIdsForPanel(panelId) {
|
|
11
|
+
return self.panelViewAssignments.get(panelId) ?? [];
|
|
12
|
+
},
|
|
13
|
+
}))
|
|
14
|
+
.actions(self => ({
|
|
15
|
+
setDockviewLayout(layout) {
|
|
16
|
+
self.dockviewLayout = layout;
|
|
17
|
+
},
|
|
18
|
+
setActivePanelId(panelId) {
|
|
19
|
+
self.activePanelId = panelId;
|
|
20
|
+
},
|
|
21
|
+
assignViewToPanel(panelId, viewId) {
|
|
22
|
+
const existing = self.panelViewAssignments.get(panelId);
|
|
23
|
+
if (existing) {
|
|
24
|
+
if (!existing.includes(viewId)) {
|
|
25
|
+
existing.push(viewId);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
self.panelViewAssignments.set(panelId, [viewId]);
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
removeViewFromPanel(viewId) {
|
|
33
|
+
for (const [panelId, viewIds] of self.panelViewAssignments.entries()) {
|
|
34
|
+
const idx = viewIds.indexOf(viewId);
|
|
35
|
+
if (idx !== -1) {
|
|
36
|
+
viewIds.splice(idx, 1);
|
|
37
|
+
if (viewIds.length === 0) {
|
|
38
|
+
self.panelViewAssignments.delete(panelId);
|
|
39
|
+
}
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
removePanel(panelId) {
|
|
45
|
+
self.panelViewAssignments.delete(panelId);
|
|
46
|
+
},
|
|
47
|
+
moveViewUpInPanel(viewId) {
|
|
48
|
+
for (const viewIds of self.panelViewAssignments.values()) {
|
|
49
|
+
const idx = viewIds.indexOf(viewId);
|
|
50
|
+
if (idx > 0) {
|
|
51
|
+
const temp = viewIds[idx - 1];
|
|
52
|
+
viewIds[idx - 1] = viewIds[idx];
|
|
53
|
+
viewIds[idx] = temp;
|
|
54
|
+
break;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
moveViewDownInPanel(viewId) {
|
|
59
|
+
for (const viewIds of self.panelViewAssignments.values()) {
|
|
60
|
+
const idx = viewIds.indexOf(viewId);
|
|
61
|
+
if (idx !== -1 && idx < viewIds.length - 1) {
|
|
62
|
+
const temp = viewIds[idx + 1];
|
|
63
|
+
viewIds[idx + 1] = viewIds[idx];
|
|
64
|
+
viewIds[idx] = temp;
|
|
65
|
+
break;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
moveViewToTopInPanel(viewId) {
|
|
70
|
+
for (const viewIds of self.panelViewAssignments.values()) {
|
|
71
|
+
const idx = viewIds.indexOf(viewId);
|
|
72
|
+
if (idx > 0) {
|
|
73
|
+
viewIds.splice(idx, 1);
|
|
74
|
+
viewIds.unshift(viewId);
|
|
75
|
+
break;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
moveViewToBottomInPanel(viewId) {
|
|
80
|
+
for (const viewIds of self.panelViewAssignments.values()) {
|
|
81
|
+
const idx = viewIds.indexOf(viewId);
|
|
82
|
+
if (idx !== -1 && idx < viewIds.length - 1) {
|
|
83
|
+
viewIds.splice(idx, 1);
|
|
84
|
+
viewIds.push(viewId);
|
|
85
|
+
break;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
}))
|
|
90
|
+
.postProcessSnapshot(snap => {
|
|
91
|
+
if (!snap) {
|
|
92
|
+
return snap;
|
|
93
|
+
}
|
|
94
|
+
const { dockviewLayout, panelViewAssignments, activePanelId, ...rest } = snap;
|
|
95
|
+
return {
|
|
96
|
+
...rest,
|
|
97
|
+
...(dockviewLayout !== undefined ? { dockviewLayout } : {}),
|
|
98
|
+
...(panelViewAssignments && Object.keys(panelViewAssignments).length
|
|
99
|
+
? { panelViewAssignments }
|
|
100
|
+
: {}),
|
|
101
|
+
...(activePanelId !== undefined ? { activePanelId } : {}),
|
|
102
|
+
};
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
export function isSessionWithDockviewLayout(session) {
|
|
106
|
+
return 'dockviewLayout' in session && 'setDockviewLayout' in session;
|
|
107
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare function HistoryManagementMixin(): import("mobx-state-tree").IModelType<{
|
|
2
|
-
history: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IModelType<{
|
|
3
|
-
undoIdx: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
4
|
-
targetPath: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
1
|
+
export declare function HistoryManagementMixin(): import("@jbrowse/mobx-state-tree").IModelType<{
|
|
2
|
+
history: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
3
|
+
undoIdx: import("@jbrowse/mobx-state-tree").IType<number | undefined, number, number>;
|
|
4
|
+
targetPath: import("@jbrowse/mobx-state-tree").IType<string | undefined, string, string>;
|
|
5
5
|
}, {
|
|
6
6
|
history: unknown[];
|
|
7
7
|
notTrackingUndo: boolean;
|
|
@@ -11,13 +11,13 @@ export declare function HistoryManagementMixin(): import("mobx-state-tree").IMod
|
|
|
11
11
|
} & {
|
|
12
12
|
stopTrackingUndo(): void;
|
|
13
13
|
resumeTrackingUndo(): void;
|
|
14
|
-
addUndoState(
|
|
14
|
+
addUndoState(snapshot: unknown): void;
|
|
15
15
|
beforeDestroy(): void;
|
|
16
16
|
initialize(): void;
|
|
17
17
|
undo(): void;
|
|
18
18
|
redo(): void;
|
|
19
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
19
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
20
20
|
}, {
|
|
21
21
|
afterCreate(): void;
|
|
22
22
|
beforeDestroy(): void;
|
|
23
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
23
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import TimeTraveller from '@jbrowse/core/util/TimeTraveller';
|
|
2
|
+
import { addDisposer, types } from '@jbrowse/mobx-state-tree';
|
|
2
3
|
import { autorun } from 'mobx';
|
|
3
|
-
import { addDisposer, types } from 'mobx-state-tree';
|
|
4
4
|
export function HistoryManagementMixin() {
|
|
5
5
|
return types
|
|
6
6
|
.model({
|
|
@@ -8,30 +8,29 @@ export function HistoryManagementMixin() {
|
|
|
8
8
|
})
|
|
9
9
|
.actions(self => {
|
|
10
10
|
const keydownListener = (e) => {
|
|
11
|
-
var _a, _b;
|
|
12
11
|
if (self.history.canRedo &&
|
|
13
12
|
(((e.ctrlKey || e.metaKey) && e.shiftKey && e.code === 'KeyZ') ||
|
|
14
13
|
(e.ctrlKey && !e.shiftKey && e.code === 'KeyY')) &&
|
|
15
|
-
|
|
14
|
+
document.activeElement?.tagName.toUpperCase() !== 'INPUT') {
|
|
16
15
|
self.history.redo();
|
|
17
16
|
}
|
|
18
17
|
if (self.history.canUndo &&
|
|
19
18
|
(e.ctrlKey || e.metaKey) &&
|
|
20
19
|
!e.shiftKey &&
|
|
21
20
|
e.code === 'KeyZ' &&
|
|
22
|
-
|
|
21
|
+
document.activeElement?.tagName.toUpperCase() !== 'INPUT') {
|
|
23
22
|
self.history.undo();
|
|
24
23
|
}
|
|
25
24
|
};
|
|
26
25
|
return {
|
|
27
26
|
afterCreate() {
|
|
28
27
|
document.addEventListener('keydown', keydownListener);
|
|
29
|
-
addDisposer(self, autorun(()
|
|
28
|
+
addDisposer(self, autorun(function historyInitAutorun() {
|
|
30
29
|
const { session } = self;
|
|
31
30
|
if (session) {
|
|
32
31
|
self.history.initialize();
|
|
33
32
|
}
|
|
34
|
-
}));
|
|
33
|
+
}, { name: 'HistoryInit' }));
|
|
35
34
|
},
|
|
36
35
|
beforeDestroy() {
|
|
37
36
|
document.removeEventListener('keydown', keydownListener);
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import type PluginManager from '@jbrowse/core/PluginManager';
|
|
2
2
|
export default function RootConfiguration({ pluginManager, }: {
|
|
3
3
|
pluginManager: PluginManager;
|
|
4
|
-
}): import("
|
|
5
|
-
rpc: import("
|
|
4
|
+
}): 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
|
-
formatDetails: import("
|
|
17
|
+
formatDetails: import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
18
18
|
feature: {
|
|
19
19
|
type: string;
|
|
20
20
|
description: string;
|
|
@@ -37,8 +37,8 @@ export default function RootConfiguration({ pluginManager, }: {
|
|
|
37
37
|
defaultValue: number;
|
|
38
38
|
description: string;
|
|
39
39
|
};
|
|
40
|
-
}, import("
|
|
41
|
-
formatAbout: import("
|
|
40
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
41
|
+
formatAbout: import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
42
42
|
config: {
|
|
43
43
|
type: string;
|
|
44
44
|
description: string;
|
|
@@ -49,7 +49,7 @@ export default function RootConfiguration({ pluginManager, }: {
|
|
|
49
49
|
type: string;
|
|
50
50
|
defaultValue: boolean;
|
|
51
51
|
};
|
|
52
|
-
}, import("
|
|
52
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
53
53
|
shareURL: {
|
|
54
54
|
type: string;
|
|
55
55
|
defaultValue: string;
|
|
@@ -58,8 +58,8 @@ export default function RootConfiguration({ pluginManager, }: {
|
|
|
58
58
|
type: string;
|
|
59
59
|
defaultValue: boolean;
|
|
60
60
|
};
|
|
61
|
-
hierarchical: import("
|
|
62
|
-
sort: import("
|
|
61
|
+
hierarchical: import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
62
|
+
sort: import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
63
63
|
trackNames: {
|
|
64
64
|
type: string;
|
|
65
65
|
defaultValue: boolean;
|
|
@@ -68,8 +68,8 @@ export default function RootConfiguration({ pluginManager, }: {
|
|
|
68
68
|
type: string;
|
|
69
69
|
defaultValue: boolean;
|
|
70
70
|
};
|
|
71
|
-
}, import("
|
|
72
|
-
defaultCollapsed: import("
|
|
71
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
72
|
+
defaultCollapsed: import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
73
73
|
categoryNames: {
|
|
74
74
|
type: string;
|
|
75
75
|
defaultValue: never[];
|
|
@@ -82,8 +82,8 @@ export default function RootConfiguration({ pluginManager, }: {
|
|
|
82
82
|
type: string;
|
|
83
83
|
defaultValue: boolean;
|
|
84
84
|
};
|
|
85
|
-
}, import("
|
|
86
|
-
}, import("
|
|
85
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
86
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
87
87
|
theme: {
|
|
88
88
|
type: string;
|
|
89
89
|
defaultValue: {};
|
|
@@ -99,4 +99,4 @@ export default function RootConfiguration({ pluginManager, }: {
|
|
|
99
99
|
locationType: string;
|
|
100
100
|
};
|
|
101
101
|
};
|
|
102
|
-
}, import("
|
|
102
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
@@ -4,21 +4,22 @@ import type { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
|
|
|
4
4
|
export declare function JBrowseConfigF({ pluginManager, assemblyConfigSchema, }: {
|
|
5
5
|
pluginManager: PluginManager;
|
|
6
6
|
assemblyConfigSchema: AnyConfigurationSchemaType;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
adminMode?: boolean;
|
|
8
|
+
}): import("@jbrowse/mobx-state-tree").IModelType<{
|
|
9
|
+
configuration: import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaType<{
|
|
10
|
+
rpc: import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaType<{
|
|
10
11
|
defaultDriver: {
|
|
11
12
|
type: string;
|
|
12
13
|
description: string;
|
|
13
14
|
defaultValue: string;
|
|
14
15
|
};
|
|
15
|
-
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]>;
|
|
16
|
-
}, import("
|
|
16
|
+
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]>;
|
|
17
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
17
18
|
highResolutionScaling: {
|
|
18
19
|
type: string;
|
|
19
20
|
defaultValue: number;
|
|
20
21
|
};
|
|
21
|
-
formatDetails: import("
|
|
22
|
+
formatDetails: import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaType<{
|
|
22
23
|
feature: {
|
|
23
24
|
type: string;
|
|
24
25
|
description: string;
|
|
@@ -41,8 +42,8 @@ export declare function JBrowseConfigF({ pluginManager, assemblyConfigSchema, }:
|
|
|
41
42
|
defaultValue: number;
|
|
42
43
|
description: string;
|
|
43
44
|
};
|
|
44
|
-
}, import("
|
|
45
|
-
formatAbout: import("
|
|
45
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
46
|
+
formatAbout: import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaType<{
|
|
46
47
|
config: {
|
|
47
48
|
type: string;
|
|
48
49
|
description: string;
|
|
@@ -53,7 +54,7 @@ export declare function JBrowseConfigF({ pluginManager, assemblyConfigSchema, }:
|
|
|
53
54
|
type: string;
|
|
54
55
|
defaultValue: boolean;
|
|
55
56
|
};
|
|
56
|
-
}, import("
|
|
57
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
57
58
|
shareURL: {
|
|
58
59
|
type: string;
|
|
59
60
|
defaultValue: string;
|
|
@@ -62,8 +63,8 @@ export declare function JBrowseConfigF({ pluginManager, assemblyConfigSchema, }:
|
|
|
62
63
|
type: string;
|
|
63
64
|
defaultValue: boolean;
|
|
64
65
|
};
|
|
65
|
-
hierarchical: import("
|
|
66
|
-
sort: import("
|
|
66
|
+
hierarchical: import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaType<{
|
|
67
|
+
sort: import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaType<{
|
|
67
68
|
trackNames: {
|
|
68
69
|
type: string;
|
|
69
70
|
defaultValue: boolean;
|
|
@@ -72,8 +73,8 @@ export declare function JBrowseConfigF({ pluginManager, assemblyConfigSchema, }:
|
|
|
72
73
|
type: string;
|
|
73
74
|
defaultValue: boolean;
|
|
74
75
|
};
|
|
75
|
-
}, import("
|
|
76
|
-
defaultCollapsed: import("
|
|
76
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
77
|
+
defaultCollapsed: import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaType<{
|
|
77
78
|
categoryNames: {
|
|
78
79
|
type: string;
|
|
79
80
|
defaultValue: never[];
|
|
@@ -86,8 +87,8 @@ export declare function JBrowseConfigF({ pluginManager, assemblyConfigSchema, }:
|
|
|
86
87
|
type: string;
|
|
87
88
|
defaultValue: boolean;
|
|
88
89
|
};
|
|
89
|
-
}, import("
|
|
90
|
-
}, import("
|
|
90
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
91
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
91
92
|
theme: {
|
|
92
93
|
type: string;
|
|
93
94
|
defaultValue: {};
|
|
@@ -103,13 +104,22 @@ export declare function JBrowseConfigF({ pluginManager, assemblyConfigSchema, }:
|
|
|
103
104
|
locationType: string;
|
|
104
105
|
};
|
|
105
106
|
};
|
|
106
|
-
}, import("
|
|
107
|
-
plugins: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<PluginDefinition, PluginDefinition, PluginDefinition>>;
|
|
108
|
-
assemblies: import("mobx-state-tree").IArrayType<AnyConfigurationSchemaType>;
|
|
109
|
-
tracks: import("mobx-state-tree").
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
}, {
|
|
107
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
108
|
+
plugins: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<PluginDefinition, PluginDefinition, PluginDefinition>>;
|
|
109
|
+
assemblies: import("@jbrowse/mobx-state-tree").IArrayType<AnyConfigurationSchemaType>;
|
|
110
|
+
tracks: import("@jbrowse/mobx-state-tree").IType<{
|
|
111
|
+
[key: string]: unknown;
|
|
112
|
+
trackId: string;
|
|
113
|
+
}[] | null | undefined, {
|
|
114
|
+
[key: string]: unknown;
|
|
115
|
+
trackId: string;
|
|
116
|
+
}[], {
|
|
117
|
+
[key: string]: unknown;
|
|
118
|
+
trackId: string;
|
|
119
|
+
}[]>;
|
|
120
|
+
internetAccounts: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IAnyModelType>;
|
|
121
|
+
aggregateTextSearchAdapters: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IAnyModelType>;
|
|
122
|
+
connections: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IAnyModelType>;
|
|
123
|
+
defaultSession: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
124
|
+
preConfiguredSessions: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<any, any, any>>;
|
|
125
|
+
}, {}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>;
|