@jbrowse/plugin-linear-comparative-view 2.12.3 → 2.13.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/dist/LGVSyntenyDisplay/model.d.ts +3 -1
- package/dist/LinearComparativeView/model.d.ts +3 -0
- package/dist/LinearComparativeView/model.js +7 -2
- package/dist/LinearSyntenyView/model.d.ts +3 -0
- package/esm/LGVSyntenyDisplay/model.d.ts +3 -1
- package/esm/LinearComparativeView/model.d.ts +3 -0
- package/esm/LinearComparativeView/model.js +7 -2
- package/esm/LinearSyntenyView/model.d.ts +3 -0
- package/package.json +2 -2
|
@@ -23,7 +23,9 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
|
|
|
23
23
|
refName: import("mobx-state-tree").ISimpleType<string>;
|
|
24
24
|
start: import("mobx-state-tree").ISimpleType<number>;
|
|
25
25
|
end: import("mobx-state-tree").ISimpleType<number>;
|
|
26
|
-
reversed: import("mobx-state-tree"
|
|
26
|
+
reversed: import("mobx-state-tree" /**
|
|
27
|
+
* #property
|
|
28
|
+
*/).IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
27
29
|
} & {
|
|
28
30
|
assemblyName: import("mobx-state-tree").ISimpleType<string>;
|
|
29
31
|
}, {
|
|
@@ -61,6 +61,7 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
61
61
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset;
|
|
62
62
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset;
|
|
63
63
|
} & {
|
|
64
|
+
scaleBarDisplayPrefix(): "";
|
|
64
65
|
readonly trackLabelsSetting: any;
|
|
65
66
|
readonly width: number;
|
|
66
67
|
readonly interRegionPaddingWidth: number;
|
|
@@ -214,6 +215,8 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
214
215
|
} | undefined;
|
|
215
216
|
} & {
|
|
216
217
|
afterCreate(): void;
|
|
218
|
+
} & {
|
|
219
|
+
scaleBarDisplayPrefix(): string;
|
|
217
220
|
}, import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
218
221
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
219
222
|
displayName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
@@ -44,6 +44,8 @@ const ReturnToImportFormDialog = (0, react_1.lazy)(() => Promise.resolve().then(
|
|
|
44
44
|
* - [BaseViewModel](../baseviewmodel)
|
|
45
45
|
*/
|
|
46
46
|
function stateModelFactory(pluginManager) {
|
|
47
|
+
const model = pluginManager.getViewType('LinearGenomeView')
|
|
48
|
+
.stateModel;
|
|
47
49
|
return mobx_state_tree_1.types
|
|
48
50
|
.compose('LinearComparativeView', BaseViewModel_1.default, mobx_state_tree_1.types.model({
|
|
49
51
|
/**
|
|
@@ -78,8 +80,11 @@ function stateModelFactory(pluginManager) {
|
|
|
78
80
|
* #property
|
|
79
81
|
* currently this is limited to an array of two
|
|
80
82
|
*/
|
|
81
|
-
views: mobx_state_tree_1.types.array(
|
|
82
|
-
|
|
83
|
+
views: mobx_state_tree_1.types.array(model.views(self => ({
|
|
84
|
+
scaleBarDisplayPrefix() {
|
|
85
|
+
return self.assemblyNames[0];
|
|
86
|
+
},
|
|
87
|
+
}))),
|
|
83
88
|
/**
|
|
84
89
|
* #property
|
|
85
90
|
* this represents tracks specific to this view specifically used
|
|
@@ -77,6 +77,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
77
77
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset;
|
|
78
78
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset;
|
|
79
79
|
} & {
|
|
80
|
+
scaleBarDisplayPrefix(): "";
|
|
80
81
|
readonly trackLabelsSetting: any;
|
|
81
82
|
readonly width: number;
|
|
82
83
|
readonly interRegionPaddingWidth: number;
|
|
@@ -230,6 +231,8 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
230
231
|
} | undefined;
|
|
231
232
|
} & {
|
|
232
233
|
afterCreate(): void;
|
|
234
|
+
} & {
|
|
235
|
+
scaleBarDisplayPrefix(): string;
|
|
233
236
|
}, import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
234
237
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
235
238
|
displayName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
@@ -23,7 +23,9 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
|
|
|
23
23
|
refName: import("mobx-state-tree").ISimpleType<string>;
|
|
24
24
|
start: import("mobx-state-tree").ISimpleType<number>;
|
|
25
25
|
end: import("mobx-state-tree").ISimpleType<number>;
|
|
26
|
-
reversed: import("mobx-state-tree"
|
|
26
|
+
reversed: import("mobx-state-tree" /**
|
|
27
|
+
* #property
|
|
28
|
+
*/).IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
27
29
|
} & {
|
|
28
30
|
assemblyName: import("mobx-state-tree").ISimpleType<string>;
|
|
29
31
|
}, {
|
|
@@ -61,6 +61,7 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
61
61
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset;
|
|
62
62
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset;
|
|
63
63
|
} & {
|
|
64
|
+
scaleBarDisplayPrefix(): "";
|
|
64
65
|
readonly trackLabelsSetting: any;
|
|
65
66
|
readonly width: number;
|
|
66
67
|
readonly interRegionPaddingWidth: number;
|
|
@@ -214,6 +215,8 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
214
215
|
} | undefined;
|
|
215
216
|
} & {
|
|
216
217
|
afterCreate(): void;
|
|
218
|
+
} & {
|
|
219
|
+
scaleBarDisplayPrefix(): string;
|
|
217
220
|
}, import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
218
221
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
219
222
|
displayName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
@@ -16,6 +16,8 @@ const ReturnToImportFormDialog = lazy(() => import('@jbrowse/core/ui/ReturnToImp
|
|
|
16
16
|
* - [BaseViewModel](../baseviewmodel)
|
|
17
17
|
*/
|
|
18
18
|
function stateModelFactory(pluginManager) {
|
|
19
|
+
const model = pluginManager.getViewType('LinearGenomeView')
|
|
20
|
+
.stateModel;
|
|
19
21
|
return types
|
|
20
22
|
.compose('LinearComparativeView', BaseViewModel, types.model({
|
|
21
23
|
/**
|
|
@@ -50,8 +52,11 @@ function stateModelFactory(pluginManager) {
|
|
|
50
52
|
* #property
|
|
51
53
|
* currently this is limited to an array of two
|
|
52
54
|
*/
|
|
53
|
-
views: types.array(
|
|
54
|
-
|
|
55
|
+
views: types.array(model.views(self => ({
|
|
56
|
+
scaleBarDisplayPrefix() {
|
|
57
|
+
return self.assemblyNames[0];
|
|
58
|
+
},
|
|
59
|
+
}))),
|
|
55
60
|
/**
|
|
56
61
|
* #property
|
|
57
62
|
* this represents tracks specific to this view specifically used
|
|
@@ -77,6 +77,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
77
77
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset;
|
|
78
78
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset;
|
|
79
79
|
} & {
|
|
80
|
+
scaleBarDisplayPrefix(): "";
|
|
80
81
|
readonly trackLabelsSetting: any;
|
|
81
82
|
readonly width: number;
|
|
82
83
|
readonly interRegionPaddingWidth: number;
|
|
@@ -230,6 +231,8 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
230
231
|
} | undefined;
|
|
231
232
|
} & {
|
|
232
233
|
afterCreate(): void;
|
|
234
|
+
} & {
|
|
235
|
+
scaleBarDisplayPrefix(): string;
|
|
233
236
|
}, import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
234
237
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
235
238
|
displayName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-linear-comparative-view",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.0",
|
|
4
4
|
"description": "JBrowse 2 linear comparative view",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "efe02fb9616e20e929cceeed46eb96420c1b6923"
|
|
65
65
|
}
|