@jbrowse/web-core 3.0.5 → 3.2.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.
|
@@ -23,6 +23,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
23
23
|
margin: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
24
24
|
} & {
|
|
25
25
|
views: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyType>;
|
|
26
|
+
stickyViewHeaders: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
26
27
|
} & {
|
|
27
28
|
sessionTracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
|
|
28
29
|
} & {
|
|
@@ -181,6 +182,8 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
181
182
|
addViewFromAnotherView(viewType: string, otherView: import("@jbrowse/core/pluggableElementTypes/models/BaseViewModel").IBaseViewModelWithDisplayedRegions, initialState?: {
|
|
182
183
|
displayedRegions?: import("@jbrowse/core/util").Region[];
|
|
183
184
|
}): any;
|
|
185
|
+
setStickyViewHeaders(sticky: boolean): void;
|
|
186
|
+
afterAttach(): void;
|
|
184
187
|
} & {
|
|
185
188
|
readonly tracks: AnyConfigurationModel[];
|
|
186
189
|
} & {
|
|
@@ -389,6 +392,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
389
392
|
name: string;
|
|
390
393
|
margin: number;
|
|
391
394
|
views: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyType>>;
|
|
395
|
+
stickyViewHeaders: boolean;
|
|
392
396
|
sessionTracks: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
|
|
393
397
|
sessionAssemblies: import("mobx-state-tree").IMSTArray<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
394
398
|
aliases: {
|
|
@@ -605,6 +609,8 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
605
609
|
addViewFromAnotherView(viewType: string, otherView: import("@jbrowse/core/pluggableElementTypes/models/BaseViewModel").IBaseViewModelWithDisplayedRegions, initialState?: {
|
|
606
610
|
displayedRegions?: import("@jbrowse/core/util").Region[];
|
|
607
611
|
}): any;
|
|
612
|
+
setStickyViewHeaders(sticky: boolean): void;
|
|
613
|
+
afterAttach(): void;
|
|
608
614
|
} & {
|
|
609
615
|
readonly tracks: AnyConfigurationModel[];
|
|
610
616
|
} & {
|
|
@@ -811,6 +817,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
811
817
|
margin: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
812
818
|
} & {
|
|
813
819
|
views: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyType>;
|
|
820
|
+
stickyViewHeaders: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
814
821
|
} & {
|
|
815
822
|
sessionTracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
|
|
816
823
|
} & {
|
|
@@ -969,6 +976,8 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
969
976
|
addViewFromAnotherView(viewType: string, otherView: import("@jbrowse/core/pluggableElementTypes/models/BaseViewModel").IBaseViewModelWithDisplayedRegions, initialState?: {
|
|
970
977
|
displayedRegions?: import("@jbrowse/core/util").Region[];
|
|
971
978
|
}): any;
|
|
979
|
+
setStickyViewHeaders(sticky: boolean): void;
|
|
980
|
+
afterAttach(): void;
|
|
972
981
|
} & {
|
|
973
982
|
readonly tracks: AnyConfigurationModel[];
|
|
974
983
|
} & {
|
|
@@ -1183,6 +1192,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1183
1192
|
name: string;
|
|
1184
1193
|
margin: number;
|
|
1185
1194
|
views: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyType>>;
|
|
1195
|
+
stickyViewHeaders: boolean;
|
|
1186
1196
|
sessionTracks: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
|
|
1187
1197
|
sessionAssemblies: import("mobx-state-tree").IMSTArray<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
1188
1198
|
aliases: {
|
|
@@ -1399,6 +1409,8 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1399
1409
|
addViewFromAnotherView(viewType: string, otherView: import("@jbrowse/core/pluggableElementTypes/models/BaseViewModel").IBaseViewModelWithDisplayedRegions, initialState?: {
|
|
1400
1410
|
displayedRegions?: import("@jbrowse/core/util").Region[];
|
|
1401
1411
|
}): any;
|
|
1412
|
+
setStickyViewHeaders(sticky: boolean): void;
|
|
1413
|
+
afterAttach(): void;
|
|
1402
1414
|
} & {
|
|
1403
1415
|
readonly tracks: AnyConfigurationModel[];
|
|
1404
1416
|
} & {
|
|
@@ -1605,6 +1617,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1605
1617
|
margin: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
1606
1618
|
} & {
|
|
1607
1619
|
views: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyType>;
|
|
1620
|
+
stickyViewHeaders: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1608
1621
|
} & {
|
|
1609
1622
|
sessionTracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
|
|
1610
1623
|
} & {
|
|
@@ -1763,6 +1776,8 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1763
1776
|
addViewFromAnotherView(viewType: string, otherView: import("@jbrowse/core/pluggableElementTypes/models/BaseViewModel").IBaseViewModelWithDisplayedRegions, initialState?: {
|
|
1764
1777
|
displayedRegions?: import("@jbrowse/core/util").Region[];
|
|
1765
1778
|
}): any;
|
|
1779
|
+
setStickyViewHeaders(sticky: boolean): void;
|
|
1780
|
+
afterAttach(): void;
|
|
1766
1781
|
} & {
|
|
1767
1782
|
readonly tracks: AnyConfigurationModel[];
|
|
1768
1783
|
} & {
|
|
@@ -220,9 +220,9 @@ function BaseWebSession({ pluginManager, assemblyConfigSchema, }) {
|
|
|
220
220
|
const snap = structuredClone((0, mobx_state_tree_1.getSnapshot)(config));
|
|
221
221
|
const now = Date.now();
|
|
222
222
|
snap.trackId += `-${now}`;
|
|
223
|
-
snap.displays
|
|
223
|
+
for (const display of snap.displays) {
|
|
224
224
|
display.displayId += `-${now}`;
|
|
225
|
-
}
|
|
225
|
+
}
|
|
226
226
|
if (!self.adminMode) {
|
|
227
227
|
snap.trackId += '-sessionTrack';
|
|
228
228
|
snap.category = undefined;
|
|
@@ -23,6 +23,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
23
23
|
margin: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
24
24
|
} & {
|
|
25
25
|
views: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyType>;
|
|
26
|
+
stickyViewHeaders: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
26
27
|
} & {
|
|
27
28
|
sessionTracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
|
|
28
29
|
} & {
|
|
@@ -181,6 +182,8 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
181
182
|
addViewFromAnotherView(viewType: string, otherView: import("@jbrowse/core/pluggableElementTypes/models/BaseViewModel").IBaseViewModelWithDisplayedRegions, initialState?: {
|
|
182
183
|
displayedRegions?: import("@jbrowse/core/util").Region[];
|
|
183
184
|
}): any;
|
|
185
|
+
setStickyViewHeaders(sticky: boolean): void;
|
|
186
|
+
afterAttach(): void;
|
|
184
187
|
} & {
|
|
185
188
|
readonly tracks: AnyConfigurationModel[];
|
|
186
189
|
} & {
|
|
@@ -389,6 +392,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
389
392
|
name: string;
|
|
390
393
|
margin: number;
|
|
391
394
|
views: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyType>>;
|
|
395
|
+
stickyViewHeaders: boolean;
|
|
392
396
|
sessionTracks: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
|
|
393
397
|
sessionAssemblies: import("mobx-state-tree").IMSTArray<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
394
398
|
aliases: {
|
|
@@ -605,6 +609,8 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
605
609
|
addViewFromAnotherView(viewType: string, otherView: import("@jbrowse/core/pluggableElementTypes/models/BaseViewModel").IBaseViewModelWithDisplayedRegions, initialState?: {
|
|
606
610
|
displayedRegions?: import("@jbrowse/core/util").Region[];
|
|
607
611
|
}): any;
|
|
612
|
+
setStickyViewHeaders(sticky: boolean): void;
|
|
613
|
+
afterAttach(): void;
|
|
608
614
|
} & {
|
|
609
615
|
readonly tracks: AnyConfigurationModel[];
|
|
610
616
|
} & {
|
|
@@ -811,6 +817,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
811
817
|
margin: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
812
818
|
} & {
|
|
813
819
|
views: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyType>;
|
|
820
|
+
stickyViewHeaders: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
814
821
|
} & {
|
|
815
822
|
sessionTracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
|
|
816
823
|
} & {
|
|
@@ -969,6 +976,8 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
969
976
|
addViewFromAnotherView(viewType: string, otherView: import("@jbrowse/core/pluggableElementTypes/models/BaseViewModel").IBaseViewModelWithDisplayedRegions, initialState?: {
|
|
970
977
|
displayedRegions?: import("@jbrowse/core/util").Region[];
|
|
971
978
|
}): any;
|
|
979
|
+
setStickyViewHeaders(sticky: boolean): void;
|
|
980
|
+
afterAttach(): void;
|
|
972
981
|
} & {
|
|
973
982
|
readonly tracks: AnyConfigurationModel[];
|
|
974
983
|
} & {
|
|
@@ -1183,6 +1192,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1183
1192
|
name: string;
|
|
1184
1193
|
margin: number;
|
|
1185
1194
|
views: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyType>>;
|
|
1195
|
+
stickyViewHeaders: boolean;
|
|
1186
1196
|
sessionTracks: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
|
|
1187
1197
|
sessionAssemblies: import("mobx-state-tree").IMSTArray<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
1188
1198
|
aliases: {
|
|
@@ -1399,6 +1409,8 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1399
1409
|
addViewFromAnotherView(viewType: string, otherView: import("@jbrowse/core/pluggableElementTypes/models/BaseViewModel").IBaseViewModelWithDisplayedRegions, initialState?: {
|
|
1400
1410
|
displayedRegions?: import("@jbrowse/core/util").Region[];
|
|
1401
1411
|
}): any;
|
|
1412
|
+
setStickyViewHeaders(sticky: boolean): void;
|
|
1413
|
+
afterAttach(): void;
|
|
1402
1414
|
} & {
|
|
1403
1415
|
readonly tracks: AnyConfigurationModel[];
|
|
1404
1416
|
} & {
|
|
@@ -1605,6 +1617,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1605
1617
|
margin: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
1606
1618
|
} & {
|
|
1607
1619
|
views: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyType>;
|
|
1620
|
+
stickyViewHeaders: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1608
1621
|
} & {
|
|
1609
1622
|
sessionTracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
|
|
1610
1623
|
} & {
|
|
@@ -1763,6 +1776,8 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1763
1776
|
addViewFromAnotherView(viewType: string, otherView: import("@jbrowse/core/pluggableElementTypes/models/BaseViewModel").IBaseViewModelWithDisplayedRegions, initialState?: {
|
|
1764
1777
|
displayedRegions?: import("@jbrowse/core/util").Region[];
|
|
1765
1778
|
}): any;
|
|
1779
|
+
setStickyViewHeaders(sticky: boolean): void;
|
|
1780
|
+
afterAttach(): void;
|
|
1766
1781
|
} & {
|
|
1767
1782
|
readonly tracks: AnyConfigurationModel[];
|
|
1768
1783
|
} & {
|
|
@@ -181,9 +181,9 @@ export function BaseWebSession({ pluginManager, assemblyConfigSchema, }) {
|
|
|
181
181
|
const snap = structuredClone(getSnapshot(config));
|
|
182
182
|
const now = Date.now();
|
|
183
183
|
snap.trackId += `-${now}`;
|
|
184
|
-
snap.displays
|
|
184
|
+
for (const display of snap.displays) {
|
|
185
185
|
display.displayId += `-${now}`;
|
|
186
|
-
}
|
|
186
|
+
}
|
|
187
187
|
if (!self.adminMode) {
|
|
188
188
|
snap.trackId += '-sessionTrack';
|
|
189
189
|
snap.category = undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/web-core",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "JBrowse 2 code shared between web-app type products",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@babel/runtime": "^7.16.3",
|
|
45
|
-
"@jbrowse/app-core": "^3.0
|
|
46
|
-
"@jbrowse/product-core": "^3.0
|
|
45
|
+
"@jbrowse/app-core": "^3.2.0",
|
|
46
|
+
"@jbrowse/product-core": "^3.2.0",
|
|
47
47
|
"@mui/icons-material": "^6.0.0",
|
|
48
48
|
"@mui/material": "^6.0.0",
|
|
49
49
|
"copy-to-clipboard": "^3.3.1",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"publishConfig": {
|
|
61
61
|
"access": "public"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "c750e3f56706a490c19ba75abd807fec5e38aebf"
|
|
64
64
|
}
|