@jbrowse/plugin-linear-comparative-view 2.13.0 → 2.13.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.
@@ -40,6 +40,7 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
40
40
  showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
41
41
  highlight: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>>>, [undefined]>;
42
42
  colorByCDS: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
43
+ showTrackOutlines: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
43
44
  }, {
44
45
  width: number;
45
46
  } & {
@@ -61,12 +62,12 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
61
62
  leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset;
62
63
  rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset;
63
64
  } & {
64
- scaleBarDisplayPrefix(): "";
65
65
  readonly trackLabelsSetting: any;
66
66
  readonly width: number;
67
67
  readonly interRegionPaddingWidth: number;
68
68
  readonly assemblyNames: string[];
69
69
  } & {
70
+ scaleBarDisplayPrefix(): string;
70
71
  MiniControlsComponent(): import("react").FC<any>;
71
72
  HeaderComponent(): import("react").FC<any>;
72
73
  readonly assemblyErrors: string;
@@ -96,6 +97,7 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
96
97
  rewriteOnClicks(trackType: string, viewMenuActions: MenuItem[]): void;
97
98
  readonly trackTypeActions: Map<string, MenuItem[]>;
98
99
  } & {
100
+ setShowTrackOutlines(arg: boolean): void;
99
101
  setColorByCDS(flag: boolean): void;
100
102
  setShowCytobands(flag: boolean): void;
101
103
  setWidth(newWidth: number): void;
@@ -215,8 +217,6 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
215
217
  } | undefined;
216
218
  } & {
217
219
  afterCreate(): void;
218
- } & {
219
- scaleBarDisplayPrefix(): string;
220
220
  }, import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
221
221
  id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
222
222
  displayName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
@@ -238,6 +238,7 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
238
238
  showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
239
239
  highlight: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>>>, [undefined]>;
240
240
  colorByCDS: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
241
+ showTrackOutlines: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
241
242
  }>>, import("mobx-state-tree")._NotCustomized>>;
242
243
  viewTrackConfigs: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
243
244
  }, {
@@ -249,6 +250,9 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
249
250
  setWidth(newWidth: number): void;
250
251
  setMinimized(flag: boolean): void;
251
252
  } & {
253
+ /**
254
+ * #volatile
255
+ */
252
256
  width: number | undefined;
253
257
  } & {
254
258
  /**
@@ -44,8 +44,6 @@ 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;
49
47
  return mobx_state_tree_1.types
50
48
  .compose('LinearComparativeView', BaseViewModel_1.default, mobx_state_tree_1.types.model({
51
49
  /**
@@ -80,20 +78,20 @@ function stateModelFactory(pluginManager) {
80
78
  * #property
81
79
  * currently this is limited to an array of two
82
80
  */
83
- views: mobx_state_tree_1.types.array(model.views(self => ({
84
- scaleBarDisplayPrefix() {
85
- return self.assemblyNames[0];
86
- },
87
- }))),
81
+ views: mobx_state_tree_1.types.array(pluginManager.getViewType('LinearGenomeView')
82
+ .stateModel),
88
83
  /**
89
84
  * #property
90
- * this represents tracks specific to this view specifically used
91
- * for read vs ref dotplots where this track would not really apply
85
+ * this represents tracks specific to this view specifically used for
86
+ * read vs ref dotplots where this track would not really apply
92
87
  * elsewhere
93
88
  */
94
89
  viewTrackConfigs: mobx_state_tree_1.types.array(pluginManager.pluggableConfigSchemaType('track')),
95
90
  }))
96
91
  .volatile(() => ({
92
+ /**
93
+ * #volatile
94
+ */
97
95
  width: undefined,
98
96
  }))
99
97
  .views(self => ({
@@ -56,6 +56,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
56
56
  showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
57
57
  highlight: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>>>, [undefined]>;
58
58
  colorByCDS: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
59
+ showTrackOutlines: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
59
60
  }, {
60
61
  width: number;
61
62
  } & {
@@ -77,12 +78,12 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
77
78
  leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset;
78
79
  rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset;
79
80
  } & {
80
- scaleBarDisplayPrefix(): "";
81
81
  readonly trackLabelsSetting: any;
82
82
  readonly width: number;
83
83
  readonly interRegionPaddingWidth: number;
84
84
  readonly assemblyNames: string[];
85
85
  } & {
86
+ scaleBarDisplayPrefix(): string;
86
87
  MiniControlsComponent(): React.FC<any>;
87
88
  HeaderComponent(): React.FC<any>;
88
89
  readonly assemblyErrors: string;
@@ -112,6 +113,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
112
113
  rewriteOnClicks(trackType: string, viewMenuActions: import("@jbrowse/core/ui").MenuItem[]): void;
113
114
  readonly trackTypeActions: Map<string, import("@jbrowse/core/ui").MenuItem[]>;
114
115
  } & {
116
+ setShowTrackOutlines(arg: boolean): void;
115
117
  setColorByCDS(flag: boolean): void;
116
118
  setShowCytobands(flag: boolean): void;
117
119
  setWidth(newWidth: number): void;
@@ -231,8 +233,6 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
231
233
  } | undefined;
232
234
  } & {
233
235
  afterCreate(): void;
234
- } & {
235
- scaleBarDisplayPrefix(): string;
236
236
  }, import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
237
237
  id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
238
238
  displayName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
@@ -254,6 +254,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
254
254
  showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
255
255
  highlight: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>>>, [undefined]>;
256
256
  colorByCDS: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
257
+ showTrackOutlines: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
257
258
  }>>, import("mobx-state-tree")._NotCustomized>>;
258
259
  viewTrackConfigs: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
259
260
  } & {
@@ -40,6 +40,7 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
40
40
  showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
41
41
  highlight: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>>>, [undefined]>;
42
42
  colorByCDS: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
43
+ showTrackOutlines: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
43
44
  }, {
44
45
  width: number;
45
46
  } & {
@@ -61,12 +62,12 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
61
62
  leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset;
62
63
  rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset;
63
64
  } & {
64
- scaleBarDisplayPrefix(): "";
65
65
  readonly trackLabelsSetting: any;
66
66
  readonly width: number;
67
67
  readonly interRegionPaddingWidth: number;
68
68
  readonly assemblyNames: string[];
69
69
  } & {
70
+ scaleBarDisplayPrefix(): string;
70
71
  MiniControlsComponent(): import("react").FC<any>;
71
72
  HeaderComponent(): import("react").FC<any>;
72
73
  readonly assemblyErrors: string;
@@ -96,6 +97,7 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
96
97
  rewriteOnClicks(trackType: string, viewMenuActions: MenuItem[]): void;
97
98
  readonly trackTypeActions: Map<string, MenuItem[]>;
98
99
  } & {
100
+ setShowTrackOutlines(arg: boolean): void;
99
101
  setColorByCDS(flag: boolean): void;
100
102
  setShowCytobands(flag: boolean): void;
101
103
  setWidth(newWidth: number): void;
@@ -215,8 +217,6 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
215
217
  } | undefined;
216
218
  } & {
217
219
  afterCreate(): void;
218
- } & {
219
- scaleBarDisplayPrefix(): string;
220
220
  }, import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
221
221
  id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
222
222
  displayName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
@@ -238,6 +238,7 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
238
238
  showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
239
239
  highlight: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>>>, [undefined]>;
240
240
  colorByCDS: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
241
+ showTrackOutlines: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
241
242
  }>>, import("mobx-state-tree")._NotCustomized>>;
242
243
  viewTrackConfigs: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
243
244
  }, {
@@ -249,6 +250,9 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
249
250
  setWidth(newWidth: number): void;
250
251
  setMinimized(flag: boolean): void;
251
252
  } & {
253
+ /**
254
+ * #volatile
255
+ */
252
256
  width: number | undefined;
253
257
  } & {
254
258
  /**
@@ -16,8 +16,6 @@ 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;
21
19
  return types
22
20
  .compose('LinearComparativeView', BaseViewModel, types.model({
23
21
  /**
@@ -52,20 +50,20 @@ function stateModelFactory(pluginManager) {
52
50
  * #property
53
51
  * currently this is limited to an array of two
54
52
  */
55
- views: types.array(model.views(self => ({
56
- scaleBarDisplayPrefix() {
57
- return self.assemblyNames[0];
58
- },
59
- }))),
53
+ views: types.array(pluginManager.getViewType('LinearGenomeView')
54
+ .stateModel),
60
55
  /**
61
56
  * #property
62
- * this represents tracks specific to this view specifically used
63
- * for read vs ref dotplots where this track would not really apply
57
+ * this represents tracks specific to this view specifically used for
58
+ * read vs ref dotplots where this track would not really apply
64
59
  * elsewhere
65
60
  */
66
61
  viewTrackConfigs: types.array(pluginManager.pluggableConfigSchemaType('track')),
67
62
  }))
68
63
  .volatile(() => ({
64
+ /**
65
+ * #volatile
66
+ */
69
67
  width: undefined,
70
68
  }))
71
69
  .views(self => ({
@@ -56,6 +56,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
56
56
  showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
57
57
  highlight: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>>>, [undefined]>;
58
58
  colorByCDS: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
59
+ showTrackOutlines: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
59
60
  }, {
60
61
  width: number;
61
62
  } & {
@@ -77,12 +78,12 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
77
78
  leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset;
78
79
  rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset;
79
80
  } & {
80
- scaleBarDisplayPrefix(): "";
81
81
  readonly trackLabelsSetting: any;
82
82
  readonly width: number;
83
83
  readonly interRegionPaddingWidth: number;
84
84
  readonly assemblyNames: string[];
85
85
  } & {
86
+ scaleBarDisplayPrefix(): string;
86
87
  MiniControlsComponent(): React.FC<any>;
87
88
  HeaderComponent(): React.FC<any>;
88
89
  readonly assemblyErrors: string;
@@ -112,6 +113,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
112
113
  rewriteOnClicks(trackType: string, viewMenuActions: import("@jbrowse/core/ui").MenuItem[]): void;
113
114
  readonly trackTypeActions: Map<string, import("@jbrowse/core/ui").MenuItem[]>;
114
115
  } & {
116
+ setShowTrackOutlines(arg: boolean): void;
115
117
  setColorByCDS(flag: boolean): void;
116
118
  setShowCytobands(flag: boolean): void;
117
119
  setWidth(newWidth: number): void;
@@ -231,8 +233,6 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
231
233
  } | undefined;
232
234
  } & {
233
235
  afterCreate(): void;
234
- } & {
235
- scaleBarDisplayPrefix(): string;
236
236
  }, import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
237
237
  id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
238
238
  displayName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
@@ -254,6 +254,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
254
254
  showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
255
255
  highlight: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>>>, [undefined]>;
256
256
  colorByCDS: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
257
+ showTrackOutlines: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
257
258
  }>>, import("mobx-state-tree")._NotCustomized>>;
258
259
  viewTrackConfigs: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
259
260
  } & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-linear-comparative-view",
3
- "version": "2.13.0",
3
+ "version": "2.13.1",
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": "efe02fb9616e20e929cceeed46eb96420c1b6923"
64
+ "gitHead": "fcebca71cc1d066654603e1a9accfa6c6d4f764d"
65
65
  }