@jbrowse/plugin-linear-genome-view 1.7.11 → 2.1.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/BaseLinearDisplay/components/BaseLinearDisplay.js +119 -139
- package/dist/BaseLinearDisplay/components/BaseLinearDisplay.js.map +1 -0
- package/dist/BaseLinearDisplay/components/Block.js +53 -74
- package/dist/BaseLinearDisplay/components/Block.js.map +1 -0
- package/dist/BaseLinearDisplay/components/LinearBlocks.d.ts +11 -1
- package/dist/BaseLinearDisplay/components/LinearBlocks.js +64 -103
- package/dist/BaseLinearDisplay/components/LinearBlocks.js.map +1 -0
- package/dist/BaseLinearDisplay/components/ServerSideRenderedBlockContent.js +146 -175
- package/dist/BaseLinearDisplay/components/ServerSideRenderedBlockContent.js.map +1 -0
- package/dist/BaseLinearDisplay/components/Tooltip.js +109 -116
- package/dist/BaseLinearDisplay/components/Tooltip.js.map +1 -0
- package/dist/BaseLinearDisplay/index.js +13 -40
- package/dist/BaseLinearDisplay/index.js.map +1 -0
- package/dist/BaseLinearDisplay/models/BaseLinearDisplayModel.d.ts +19 -14
- package/dist/BaseLinearDisplay/models/BaseLinearDisplayModel.js +605 -684
- package/dist/BaseLinearDisplay/models/BaseLinearDisplayModel.js.map +1 -0
- package/dist/BaseLinearDisplay/models/baseLinearDisplayConfigSchema.js +15 -22
- package/dist/BaseLinearDisplay/models/baseLinearDisplayConfigSchema.js.map +1 -0
- package/dist/BaseLinearDisplay/models/serverSideRenderedBlock.d.ts +7 -8
- package/dist/BaseLinearDisplay/models/serverSideRenderedBlock.js +266 -312
- package/dist/BaseLinearDisplay/models/serverSideRenderedBlock.js.map +1 -0
- package/dist/LinearBareDisplay/configSchema.js +11 -17
- package/dist/LinearBareDisplay/configSchema.js.map +1 -0
- package/dist/LinearBareDisplay/index.js +7 -20
- package/dist/LinearBareDisplay/index.js.map +1 -0
- package/dist/LinearBareDisplay/model.d.ts +15 -13
- package/dist/LinearBareDisplay/model.js +36 -42
- package/dist/LinearBareDisplay/model.js.map +1 -0
- package/dist/LinearBasicDisplay/components/SetMaxHeight.d.ts +1 -1
- package/dist/LinearBasicDisplay/components/SetMaxHeight.js +76 -85
- package/dist/LinearBasicDisplay/components/SetMaxHeight.js.map +1 -0
- package/dist/LinearBasicDisplay/configSchema.js +15 -23
- package/dist/LinearBasicDisplay/configSchema.js.map +1 -0
- package/dist/LinearBasicDisplay/index.js +10 -22
- package/dist/LinearBasicDisplay/index.js.map +1 -0
- package/dist/LinearBasicDisplay/model.d.ts +20 -14
- package/dist/LinearBasicDisplay/model.js +180 -159
- package/dist/LinearBasicDisplay/model.js.map +1 -0
- package/dist/LinearGenomeView/components/CenterLine.d.ts +2 -8
- package/dist/LinearGenomeView/components/CenterLine.js +60 -74
- package/dist/LinearGenomeView/components/CenterLine.js.map +1 -0
- package/dist/LinearGenomeView/components/ExportSvgDialog.js +141 -141
- package/dist/LinearGenomeView/components/ExportSvgDialog.js.map +1 -0
- package/dist/LinearGenomeView/components/Gridlines.d.ts +8 -0
- package/dist/LinearGenomeView/components/Gridlines.js +78 -0
- package/dist/LinearGenomeView/components/Gridlines.js.map +1 -0
- package/dist/LinearGenomeView/components/Header.d.ts +1 -0
- package/dist/LinearGenomeView/components/Header.js +70 -125
- package/dist/LinearGenomeView/components/Header.js.map +1 -0
- package/dist/LinearGenomeView/components/HelpDialog.d.ts +0 -1
- package/dist/LinearGenomeView/components/HelpDialog.js +62 -44
- package/dist/LinearGenomeView/components/HelpDialog.js.map +1 -0
- package/dist/LinearGenomeView/components/ImportForm.d.ts +1 -0
- package/dist/LinearGenomeView/components/ImportForm.js +222 -289
- package/dist/LinearGenomeView/components/ImportForm.js.map +1 -0
- package/dist/LinearGenomeView/components/LinearGenomeView.js +60 -124
- package/dist/LinearGenomeView/components/LinearGenomeView.js.map +1 -0
- package/dist/LinearGenomeView/components/LinearGenomeViewSvg.js +198 -337
- package/dist/LinearGenomeView/components/LinearGenomeViewSvg.js.map +1 -0
- package/dist/LinearGenomeView/components/MiniControls.js +64 -78
- package/dist/LinearGenomeView/components/MiniControls.js.map +1 -0
- package/dist/LinearGenomeView/components/OverviewRubberBand.js +229 -293
- package/dist/LinearGenomeView/components/OverviewRubberBand.js.map +1 -0
- package/dist/LinearGenomeView/components/OverviewScaleBar.d.ts +3 -3
- package/dist/LinearGenomeView/components/OverviewScaleBar.js +275 -370
- package/dist/LinearGenomeView/components/OverviewScaleBar.js.map +1 -0
- package/dist/LinearGenomeView/components/RefNameAutocomplete.d.ts +1 -1
- package/dist/LinearGenomeView/components/RefNameAutocomplete.js +237 -324
- package/dist/LinearGenomeView/components/RefNameAutocomplete.js.map +1 -0
- package/dist/LinearGenomeView/components/RubberBand.js +228 -296
- package/dist/LinearGenomeView/components/RubberBand.js.map +1 -0
- package/dist/LinearGenomeView/components/Ruler.js +45 -90
- package/dist/LinearGenomeView/components/Ruler.js.map +1 -0
- package/dist/LinearGenomeView/components/ScaleBar.d.ts +8 -403
- package/dist/LinearGenomeView/components/ScaleBar.js +121 -172
- package/dist/LinearGenomeView/components/ScaleBar.js.map +1 -0
- package/dist/LinearGenomeView/components/SearchBox.js +155 -166
- package/dist/LinearGenomeView/components/SearchBox.js.map +1 -0
- package/dist/LinearGenomeView/components/SearchResultsDialog.d.ts +0 -1
- package/dist/LinearGenomeView/components/SearchResultsDialog.js +105 -149
- package/dist/LinearGenomeView/components/SearchResultsDialog.js.map +1 -0
- package/dist/LinearGenomeView/components/SequenceDialog.js +219 -272
- package/dist/LinearGenomeView/components/SequenceDialog.js.map +1 -0
- package/dist/LinearGenomeView/components/TrackContainer.d.ts +2 -1
- package/dist/LinearGenomeView/components/TrackContainer.js +113 -158
- package/dist/LinearGenomeView/components/TrackContainer.js.map +1 -0
- package/dist/LinearGenomeView/components/TrackLabel.d.ts +6 -42
- package/dist/LinearGenomeView/components/TrackLabel.js +113 -133
- package/dist/LinearGenomeView/components/TrackLabel.js.map +1 -0
- package/dist/LinearGenomeView/components/TracksContainer.d.ts +1 -1
- package/dist/LinearGenomeView/components/TracksContainer.js +172 -199
- package/dist/LinearGenomeView/components/TracksContainer.js.map +1 -0
- package/dist/LinearGenomeView/components/ZoomControls.js +72 -87
- package/dist/LinearGenomeView/components/ZoomControls.js.map +1 -0
- package/dist/LinearGenomeView/components/util.js +94 -71
- package/dist/LinearGenomeView/components/util.js.map +1 -0
- package/dist/LinearGenomeView/index.d.ts +64 -77
- package/dist/LinearGenomeView/index.js +1035 -1412
- package/dist/LinearGenomeView/index.js.map +1 -0
- package/dist/LinearGenomeView/util.js +76 -83
- package/dist/LinearGenomeView/util.js.map +1 -0
- package/dist/index.d.ts +98 -48
- package/dist/index.js +225 -295
- package/dist/index.js.map +1 -0
- package/esm/BaseLinearDisplay/components/BaseLinearDisplay.d.ts +9 -0
- package/esm/BaseLinearDisplay/components/BaseLinearDisplay.js +68 -0
- package/esm/BaseLinearDisplay/components/BaseLinearDisplay.js.map +1 -0
- package/esm/BaseLinearDisplay/components/Block.d.ts +15 -0
- package/esm/BaseLinearDisplay/components/Block.js +46 -0
- package/esm/BaseLinearDisplay/components/Block.js.map +1 -0
- package/esm/BaseLinearDisplay/components/LinearBlocks.d.ts +22 -0
- package/esm/BaseLinearDisplay/components/LinearBlocks.js +62 -0
- package/esm/BaseLinearDisplay/components/LinearBlocks.js.map +1 -0
- package/esm/BaseLinearDisplay/components/ServerSideRenderedBlockContent.d.ts +4 -0
- package/esm/BaseLinearDisplay/components/ServerSideRenderedBlockContent.js +114 -0
- package/esm/BaseLinearDisplay/components/ServerSideRenderedBlockContent.js.map +1 -0
- package/esm/BaseLinearDisplay/components/Tooltip.d.ts +8 -0
- package/esm/BaseLinearDisplay/components/Tooltip.js +64 -0
- package/esm/BaseLinearDisplay/components/Tooltip.js.map +1 -0
- package/esm/BaseLinearDisplay/index.d.ts +5 -0
- package/esm/BaseLinearDisplay/index.js +4 -0
- package/esm/BaseLinearDisplay/index.js.map +1 -0
- package/esm/BaseLinearDisplay/models/BaseLinearDisplayModel.d.ts +232 -0
- package/esm/BaseLinearDisplay/models/BaseLinearDisplayModel.js +541 -0
- package/esm/BaseLinearDisplay/models/BaseLinearDisplayModel.js.map +1 -0
- package/esm/BaseLinearDisplay/models/baseLinearDisplayConfigSchema.d.ts +1 -0
- package/esm/BaseLinearDisplay/models/baseLinearDisplayConfigSchema.js +14 -0
- package/esm/BaseLinearDisplay/models/baseLinearDisplayConfigSchema.js.map +1 -0
- package/esm/BaseLinearDisplay/models/serverSideRenderedBlock.d.ts +96 -0
- package/esm/BaseLinearDisplay/models/serverSideRenderedBlock.js +225 -0
- package/esm/BaseLinearDisplay/models/serverSideRenderedBlock.js.map +1 -0
- package/esm/LinearBareDisplay/configSchema.d.ts +2 -0
- package/esm/LinearBareDisplay/configSchema.js +9 -0
- package/esm/LinearBareDisplay/configSchema.js.map +1 -0
- package/esm/LinearBareDisplay/index.d.ts +2 -0
- package/esm/LinearBareDisplay/index.js +3 -0
- package/esm/LinearBareDisplay/index.js.map +1 -0
- package/esm/LinearBareDisplay/model.d.ts +194 -0
- package/esm/LinearBareDisplay/model.js +28 -0
- package/esm/LinearBareDisplay/model.js.map +1 -0
- package/esm/LinearBasicDisplay/components/SetMaxHeight.d.ts +10 -0
- package/esm/LinearBasicDisplay/components/SetMaxHeight.js +40 -0
- package/esm/LinearBasicDisplay/components/SetMaxHeight.js.map +1 -0
- package/esm/LinearBasicDisplay/configSchema.d.ts +2 -0
- package/esm/LinearBasicDisplay/configSchema.js +14 -0
- package/esm/LinearBasicDisplay/configSchema.js.map +1 -0
- package/esm/LinearBasicDisplay/index.d.ts +2 -0
- package/esm/LinearBasicDisplay/index.js +3 -0
- package/esm/LinearBasicDisplay/index.js.map +1 -0
- package/esm/LinearBasicDisplay/model.d.ts +218 -0
- package/esm/LinearBasicDisplay/model.js +127 -0
- package/esm/LinearBasicDisplay/model.js.map +1 -0
- package/esm/LinearGenomeView/components/CenterLine.d.ts +8 -0
- package/esm/LinearGenomeView/components/CenterLine.js +40 -0
- package/esm/LinearGenomeView/components/CenterLine.js.map +1 -0
- package/esm/LinearGenomeView/components/ExportSvgDialog.d.ts +6 -0
- package/esm/LinearGenomeView/components/ExportSvgDialog.js +52 -0
- package/esm/LinearGenomeView/components/ExportSvgDialog.js.map +1 -0
- package/esm/LinearGenomeView/components/Gridlines.d.ts +8 -0
- package/esm/LinearGenomeView/components/Gridlines.js +71 -0
- package/esm/LinearGenomeView/components/Gridlines.js.map +1 -0
- package/esm/LinearGenomeView/components/Header.d.ts +7 -0
- package/esm/LinearGenomeView/components/Header.js +81 -0
- package/esm/LinearGenomeView/components/Header.js.map +1 -0
- package/esm/LinearGenomeView/components/HelpDialog.d.ts +4 -0
- package/esm/LinearGenomeView/components/HelpDialog.js +58 -0
- package/esm/LinearGenomeView/components/HelpDialog.js.map +1 -0
- package/esm/LinearGenomeView/components/ImportForm.d.ts +7 -0
- package/esm/LinearGenomeView/components/ImportForm.js +141 -0
- package/esm/LinearGenomeView/components/ImportForm.js.map +1 -0
- package/esm/LinearGenomeView/components/LinearGenomeView.d.ts +7 -0
- package/esm/LinearGenomeView/components/LinearGenomeView.js +63 -0
- package/esm/LinearGenomeView/components/LinearGenomeView.js.map +1 -0
- package/esm/LinearGenomeView/components/LinearGenomeViewSvg.d.ts +4 -0
- package/esm/LinearGenomeView/components/LinearGenomeViewSvg.js +132 -0
- package/esm/LinearGenomeView/components/LinearGenomeViewSvg.js.map +1 -0
- package/esm/LinearGenomeView/components/MiniControls.d.ts +6 -0
- package/esm/LinearGenomeView/components/MiniControls.js +25 -0
- package/esm/LinearGenomeView/components/MiniControls.js.map +1 -0
- package/esm/LinearGenomeView/components/OverviewRubberBand.d.ts +22 -0
- package/esm/LinearGenomeView/components/OverviewRubberBand.js +197 -0
- package/esm/LinearGenomeView/components/OverviewRubberBand.js.map +1 -0
- package/esm/LinearGenomeView/components/OverviewScaleBar.d.ts +148 -0
- package/esm/LinearGenomeView/components/OverviewScaleBar.js +287 -0
- package/esm/LinearGenomeView/components/OverviewScaleBar.js.map +1 -0
- package/esm/LinearGenomeView/components/RefNameAutocomplete.d.ts +22 -0
- package/esm/LinearGenomeView/components/RefNameAutocomplete.js +136 -0
- package/esm/LinearGenomeView/components/RefNameAutocomplete.js.map +1 -0
- package/esm/LinearGenomeView/components/RubberBand.d.ts +9 -0
- package/esm/LinearGenomeView/components/RubberBand.js +197 -0
- package/esm/LinearGenomeView/components/RubberBand.js.map +1 -0
- package/esm/LinearGenomeView/components/Ruler.d.ts +27 -0
- package/esm/LinearGenomeView/components/Ruler.js +50 -0
- package/esm/LinearGenomeView/components/Ruler.js.map +1 -0
- package/esm/LinearGenomeView/components/ScaleBar.d.ts +10 -0
- package/esm/LinearGenomeView/components/ScaleBar.js +112 -0
- package/esm/LinearGenomeView/components/ScaleBar.js.map +1 -0
- package/esm/LinearGenomeView/components/SearchBox.d.ts +8 -0
- package/esm/LinearGenomeView/components/SearchBox.js +94 -0
- package/esm/LinearGenomeView/components/SearchBox.js.map +1 -0
- package/esm/LinearGenomeView/components/SearchResultsDialog.d.ts +7 -0
- package/esm/LinearGenomeView/components/SearchResultsDialog.js +107 -0
- package/esm/LinearGenomeView/components/SearchResultsDialog.js.map +1 -0
- package/esm/LinearGenomeView/components/SequenceDialog.d.ts +8 -0
- package/esm/LinearGenomeView/components/SequenceDialog.js +147 -0
- package/esm/LinearGenomeView/components/SequenceDialog.js.map +1 -0
- package/esm/LinearGenomeView/components/TrackContainer.d.ts +10 -0
- package/esm/LinearGenomeView/components/TrackContainer.js +104 -0
- package/esm/LinearGenomeView/components/TrackContainer.js.map +1 -0
- package/esm/LinearGenomeView/components/TrackLabel.d.ts +8 -0
- package/esm/LinearGenomeView/components/TrackLabel.js +88 -0
- package/esm/LinearGenomeView/components/TrackLabel.js.map +1 -0
- package/{dist/LinearGenomeView/components/VerticalGuides.d.ts → esm/LinearGenomeView/components/TracksContainer.d.ts} +4 -3
- package/esm/LinearGenomeView/components/TracksContainer.js +142 -0
- package/esm/LinearGenomeView/components/TracksContainer.js.map +1 -0
- package/esm/LinearGenomeView/components/ZoomControls.d.ts +7 -0
- package/esm/LinearGenomeView/components/ZoomControls.js +32 -0
- package/esm/LinearGenomeView/components/ZoomControls.js.map +1 -0
- package/esm/LinearGenomeView/components/util.d.ts +14 -0
- package/esm/LinearGenomeView/components/util.js +17 -0
- package/esm/LinearGenomeView/components/util.js.map +1 -0
- package/esm/LinearGenomeView/index.d.ts +275 -0
- package/esm/LinearGenomeView/index.js +978 -0
- package/esm/LinearGenomeView/index.js.map +1 -0
- package/esm/LinearGenomeView/util.d.ts +14 -0
- package/esm/LinearGenomeView/util.js +62 -0
- package/esm/LinearGenomeView/util.js.map +1 -0
- package/esm/index.d.ts +615 -0
- package/esm/index.js +127 -0
- package/esm/index.js.map +1 -0
- package/package.json +22 -15
- package/src/BaseLinearDisplay/components/BaseLinearDisplay.tsx +4 -4
- package/src/BaseLinearDisplay/components/Block.tsx +5 -5
- package/src/BaseLinearDisplay/components/LinearBlocks.tsx +4 -4
- package/src/BaseLinearDisplay/components/ServerSideRenderedBlockContent.tsx +9 -9
- package/src/BaseLinearDisplay/components/Tooltip.tsx +14 -4
- package/src/BaseLinearDisplay/models/BaseLinearDisplayModel.tsx +6 -4
- package/src/BaseLinearDisplay/models/serverSideRenderedBlock.ts +1 -1
- package/src/LinearBasicDisplay/components/SetMaxHeight.tsx +10 -7
- package/src/LinearBasicDisplay/model.ts +19 -11
- package/src/LinearGenomeView/components/CenterLine.tsx +6 -11
- package/src/LinearGenomeView/components/ExportSvgDialog.tsx +5 -5
- package/src/LinearGenomeView/components/{VerticalGuides.tsx → Gridlines.tsx} +9 -11
- package/src/LinearGenomeView/components/Header.tsx +10 -15
- package/src/LinearGenomeView/components/HelpDialog.tsx +5 -5
- package/src/LinearGenomeView/components/ImportForm.tsx +6 -12
- package/src/LinearGenomeView/components/LinearGenomeView.test.js +16 -6
- package/src/LinearGenomeView/components/LinearGenomeView.tsx +6 -9
- package/src/LinearGenomeView/components/MiniControls.tsx +29 -40
- package/src/LinearGenomeView/components/OverviewRubberBand.tsx +20 -29
- package/src/LinearGenomeView/components/OverviewScaleBar.tsx +61 -59
- package/src/LinearGenomeView/components/RefNameAutocomplete.tsx +13 -44
- package/src/LinearGenomeView/components/RubberBand.tsx +12 -18
- package/src/LinearGenomeView/components/Ruler.tsx +5 -11
- package/src/LinearGenomeView/components/ScaleBar.tsx +23 -27
- package/src/LinearGenomeView/components/SearchBox.tsx +4 -3
- package/src/LinearGenomeView/components/SearchResultsDialog.tsx +7 -6
- package/src/LinearGenomeView/components/SequenceDialog.tsx +10 -10
- package/src/LinearGenomeView/components/TrackContainer.tsx +29 -39
- package/src/LinearGenomeView/components/TrackLabel.tsx +76 -79
- package/src/LinearGenomeView/components/TracksContainer.tsx +10 -15
- package/src/LinearGenomeView/components/ZoomControls.tsx +12 -13
- package/src/LinearGenomeView/components/__snapshots__/LinearGenomeView.test.js.snap +500 -550
- package/src/LinearGenomeView/index.test.ts +15 -36
- package/src/LinearGenomeView/index.tsx +390 -564
- package/src/index.ts +1 -1
- package/dist/LinearBareDisplay/index.test.js +0 -33
- package/dist/LinearGenomeView/components/LinearGenomeView.test.js +0 -234
- package/dist/LinearGenomeView/components/ScaleBar.test.js +0 -180
- package/dist/LinearGenomeView/components/VerticalGuides.js +0 -116
- package/dist/LinearGenomeView/index.test.js +0 -1187
- package/dist/LinearGenomeView/util.test.js +0 -78
|
@@ -1,21 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
});
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
return _configSchema.configSchemaFactory;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "stateModelFactory", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function get() {
|
|
15
|
-
return _model.stateModelFactory;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
var _configSchema = require("./configSchema");
|
|
20
|
-
|
|
21
|
-
var _model = require("./model");
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.stateModelFactory = exports.configSchemaFactory = void 0;
|
|
4
|
+
var configSchema_1 = require("./configSchema");
|
|
5
|
+
Object.defineProperty(exports, "configSchemaFactory", { enumerable: true, get: function () { return configSchema_1.configSchemaFactory; } });
|
|
6
|
+
var model_1 = require("./model");
|
|
7
|
+
Object.defineProperty(exports, "stateModelFactory", { enumerable: true, get: function () { return model_1.stateModelFactory; } });
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/LinearBareDisplay/index.ts"],"names":[],"mappings":";;;AAAA,+CAAoD;AAA3C,mHAAA,mBAAmB,OAAA;AAC5B,iCAA2C;AAAlC,0GAAA,iBAAiB,OAAA"}
|
|
@@ -62,11 +62,11 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
62
62
|
error: unknown;
|
|
63
63
|
} & {
|
|
64
64
|
readonly RenderingComponent: import("react").FC<{
|
|
65
|
-
model:
|
|
66
|
-
id:
|
|
67
|
-
type:
|
|
68
|
-
rpcDriverName:
|
|
69
|
-
}
|
|
65
|
+
model: {
|
|
66
|
+
id: string;
|
|
67
|
+
type: string;
|
|
68
|
+
rpcDriverName: string | undefined;
|
|
69
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
70
70
|
rendererTypeName: string;
|
|
71
71
|
error: unknown;
|
|
72
72
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -81,11 +81,11 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
81
81
|
blockState?: Record<string, any> | undefined;
|
|
82
82
|
}>;
|
|
83
83
|
readonly DisplayBlurb: import("react").FC<{
|
|
84
|
-
model:
|
|
85
|
-
id:
|
|
86
|
-
type:
|
|
87
|
-
rpcDriverName:
|
|
88
|
-
}
|
|
84
|
+
model: {
|
|
85
|
+
id: string;
|
|
86
|
+
type: string;
|
|
87
|
+
rpcDriverName: string | undefined;
|
|
88
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
89
89
|
rendererTypeName: string;
|
|
90
90
|
error: unknown;
|
|
91
91
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -171,7 +171,9 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
171
171
|
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
172
172
|
contextMenuItems(): {
|
|
173
173
|
label: string;
|
|
174
|
-
icon: import("@material
|
|
174
|
+
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
175
|
+
muiName: string;
|
|
176
|
+
};
|
|
175
177
|
onClick: () => void;
|
|
176
178
|
}[];
|
|
177
179
|
renderProps(): any;
|
|
@@ -183,10 +185,10 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
183
185
|
renderProps(): any;
|
|
184
186
|
readonly rendererTypeName: any;
|
|
185
187
|
}, import("mobx-state-tree")._NotCustomized, {
|
|
186
|
-
id: string;
|
|
187
188
|
type: string;
|
|
188
|
-
rpcDriverName: string | undefined;
|
|
189
189
|
height: number;
|
|
190
|
+
id: string;
|
|
191
|
+
rpcDriverName: string | undefined;
|
|
190
192
|
userBpPerPxLimit: number | undefined;
|
|
191
193
|
userByteSizeLimit: number | undefined;
|
|
192
194
|
} & import("mobx-state-tree")._NotCustomized>;
|
|
@@ -1,44 +1,38 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
|
-
|
|
12
|
-
var _configurationSchema = require("@jbrowse/core/configuration/configurationSchema");
|
|
13
|
-
|
|
14
|
-
var _tracks = require("@jbrowse/core/util/tracks");
|
|
15
|
-
|
|
16
|
-
var _mobxStateTree = require("mobx-state-tree");
|
|
17
|
-
|
|
18
|
-
var _BaseLinearDisplay = require("../BaseLinearDisplay");
|
|
19
|
-
|
|
20
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
21
|
-
|
|
22
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
23
|
-
|
|
24
|
-
function stateModelFactory(configSchema) {
|
|
25
|
-
return _mobxStateTree.types.compose('LinearBareDisplay', _BaseLinearDisplay.BaseLinearDisplay, _mobxStateTree.types.model({
|
|
26
|
-
type: _mobxStateTree.types.literal('LinearBareDisplay'),
|
|
27
|
-
configuration: (0, _configurationSchema.ConfigurationReference)(configSchema)
|
|
28
|
-
})).views(function (self) {
|
|
29
|
-
var superRenderProps = self.renderProps;
|
|
30
|
-
return {
|
|
31
|
-
renderProps: function renderProps() {
|
|
32
|
-
return _objectSpread(_objectSpread(_objectSpread({}, superRenderProps()), (0, _tracks.getParentRenderProps)(self)), {}, {
|
|
33
|
-
rpcDriverName: self.rpcDriverName,
|
|
34
|
-
config: self.configuration.renderer
|
|
35
|
-
});
|
|
36
|
-
},
|
|
37
|
-
|
|
38
|
-
get rendererTypeName() {
|
|
39
|
-
return self.configuration.renderer.type;
|
|
40
|
-
}
|
|
41
|
-
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
42
10
|
};
|
|
43
|
-
|
|
44
|
-
}
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.stateModelFactory = void 0;
|
|
15
|
+
var configurationSchema_1 = require("@jbrowse/core/configuration/configurationSchema");
|
|
16
|
+
var tracks_1 = require("@jbrowse/core/util/tracks");
|
|
17
|
+
var mobx_state_tree_1 = require("mobx-state-tree");
|
|
18
|
+
var BaseLinearDisplay_1 = require("../BaseLinearDisplay");
|
|
19
|
+
function stateModelFactory(configSchema) {
|
|
20
|
+
return mobx_state_tree_1.types
|
|
21
|
+
.compose('LinearBareDisplay', BaseLinearDisplay_1.BaseLinearDisplay, mobx_state_tree_1.types.model({
|
|
22
|
+
type: mobx_state_tree_1.types.literal('LinearBareDisplay'),
|
|
23
|
+
configuration: (0, configurationSchema_1.ConfigurationReference)(configSchema),
|
|
24
|
+
}))
|
|
25
|
+
.views(function (self) {
|
|
26
|
+
var superRenderProps = self.renderProps;
|
|
27
|
+
return {
|
|
28
|
+
renderProps: function () {
|
|
29
|
+
return __assign(__assign(__assign({}, superRenderProps()), (0, tracks_1.getParentRenderProps)(self)), { rpcDriverName: self.rpcDriverName, config: self.configuration.renderer });
|
|
30
|
+
},
|
|
31
|
+
get rendererTypeName() {
|
|
32
|
+
return self.configuration.renderer.type;
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
exports.stateModelFactory = stateModelFactory;
|
|
38
|
+
//# sourceMappingURL=model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/LinearBareDisplay/model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,uFAGwD;AACxD,oDAAgE;AAChE,mDAAuC;AACvC,0DAAwD;AAExD,SAAgB,iBAAiB,CAAC,YAAwC;IACxE,OAAO,uBAAK;SACT,OAAO,CACN,mBAAmB,EACnB,qCAAiB,EACjB,uBAAK,CAAC,KAAK,CAAC;QACV,IAAI,EAAE,uBAAK,CAAC,OAAO,CAAC,mBAAmB,CAAC;QACxC,aAAa,EAAE,IAAA,4CAAsB,EAAC,YAAY,CAAC;KACpD,CAAC,CACH;SAEA,KAAK,CAAC,UAAA,IAAI;QACD,IAAa,gBAAgB,GAAK,IAAI,YAAT,CAAS;QAC9C,OAAO;YACL,WAAW;gBACT,sCACK,gBAAgB,EAAE,GAClB,IAAA,6BAAoB,EAAC,IAAI,CAAC,KAC7B,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,MAAM,EAAE,IAAI,CAAC,aAAa,CAAC,QAAQ,IACpC;YACH,CAAC;YAED,IAAI,gBAAgB;gBAClB,OAAO,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAA;YACzC,CAAC;SACF,CAAA;IACH,CAAC,CAAC,CAAA;AACN,CAAC;AA5BD,8CA4BC"}
|
|
@@ -1,94 +1,85 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
9
17
|
});
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
var
|
|
19
|
-
|
|
20
|
-
var
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __read = (this && this.__read) || function (o, n) {
|
|
26
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
27
|
+
if (!m) return o;
|
|
28
|
+
var i = m.call(o), r, ar = [], e;
|
|
29
|
+
try {
|
|
30
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
31
|
+
}
|
|
32
|
+
catch (error) { e = { error: error }; }
|
|
33
|
+
finally {
|
|
34
|
+
try {
|
|
35
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
36
|
+
}
|
|
37
|
+
finally { if (e) throw e.error; }
|
|
38
|
+
}
|
|
39
|
+
return ar;
|
|
40
|
+
};
|
|
41
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
42
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
43
|
+
};
|
|
44
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45
|
+
var react_1 = __importStar(require("react"));
|
|
46
|
+
var mobx_react_1 = require("mobx-react");
|
|
47
|
+
var material_1 = require("@mui/material");
|
|
48
|
+
var mui_1 = require("tss-react/mui");
|
|
49
|
+
var Close_1 = __importDefault(require("@mui/icons-material/Close"));
|
|
50
|
+
var useStyles = (0, mui_1.makeStyles)()(function (theme) { return ({
|
|
28
51
|
root: {
|
|
29
|
-
|
|
52
|
+
width: 500,
|
|
30
53
|
},
|
|
31
54
|
closeButton: {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
55
|
+
position: 'absolute',
|
|
56
|
+
right: theme.spacing(1),
|
|
57
|
+
top: theme.spacing(1),
|
|
58
|
+
color: theme.palette.grey[500],
|
|
36
59
|
},
|
|
37
60
|
field: {
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
function SetMaxHeightDlg(props) {
|
|
44
|
-
var model = props.model,
|
|
45
|
-
handleClose = props.handleClose;
|
|
46
|
-
var classes = useStyles();
|
|
47
|
-
var _model$maxHeight = model.maxHeight,
|
|
48
|
-
maxHeight = _model$maxHeight === void 0 ? '' : _model$maxHeight;
|
|
49
|
-
|
|
50
|
-
var _useState = (0, _react.useState)("".concat(maxHeight)),
|
|
51
|
-
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
52
|
-
max = _useState2[0],
|
|
53
|
-
setMax = _useState2[1];
|
|
54
|
-
|
|
55
|
-
return /*#__PURE__*/_react.default.createElement(_core.Dialog, {
|
|
56
|
-
open: true,
|
|
57
|
-
onClose: handleClose,
|
|
58
|
-
"aria-labelledby": "alert-dialog-title",
|
|
59
|
-
"aria-describedby": "alert-dialog-description"
|
|
60
|
-
}, /*#__PURE__*/_react.default.createElement(_core.DialogTitle, {
|
|
61
|
-
id: "alert-dialog-title"
|
|
62
|
-
}, "Filter options", /*#__PURE__*/_react.default.createElement(_core.IconButton, {
|
|
63
|
-
"aria-label": "close",
|
|
64
|
-
className: classes.closeButton,
|
|
65
|
-
onClick: handleClose
|
|
66
|
-
}, /*#__PURE__*/_react.default.createElement(_Close.default, null))), /*#__PURE__*/_react.default.createElement(_core.DialogContent, {
|
|
67
|
-
className: classes.root
|
|
68
|
-
}, /*#__PURE__*/_react.default.createElement(_core.Typography, null, "Set max height for the track. For example, you can increase this if the layout says \"Max height reached\""), /*#__PURE__*/_react.default.createElement(_core.TextField, {
|
|
69
|
-
value: max,
|
|
70
|
-
onChange: function onChange(event) {
|
|
71
|
-
return setMax(event.target.value);
|
|
61
|
+
margin: theme.spacing(2),
|
|
72
62
|
},
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
63
|
+
}); });
|
|
64
|
+
function SetMaxHeightDlg(_a) {
|
|
65
|
+
var model = _a.model, handleClose = _a.handleClose;
|
|
66
|
+
var classes = useStyles().classes;
|
|
67
|
+
var _b = model.maxHeight, maxHeight = _b === void 0 ? '' : _b;
|
|
68
|
+
var _c = __read((0, react_1.useState)("".concat(maxHeight)), 2), max = _c[0], setMax = _c[1];
|
|
69
|
+
return (react_1.default.createElement(material_1.Dialog, { open: true, onClose: handleClose, "aria-labelledby": "alert-dialog-title", "aria-describedby": "alert-dialog-description" },
|
|
70
|
+
react_1.default.createElement(material_1.DialogTitle, { id: "alert-dialog-title" },
|
|
71
|
+
"Filter options",
|
|
72
|
+
react_1.default.createElement(material_1.IconButton, { "aria-label": "close", className: classes.closeButton, onClick: handleClose, size: "large" },
|
|
73
|
+
react_1.default.createElement(Close_1.default, null))),
|
|
74
|
+
react_1.default.createElement(material_1.DialogContent, { className: classes.root },
|
|
75
|
+
react_1.default.createElement(material_1.Typography, null, "Set max height for the track. For example, you can increase this if the layout says \"Max height reached\""),
|
|
76
|
+
react_1.default.createElement(material_1.TextField, { value: max, onChange: function (event) { return setMax(event.target.value); }, placeholder: "Enter max score" }),
|
|
77
|
+
react_1.default.createElement(material_1.DialogActions, null,
|
|
78
|
+
react_1.default.createElement(material_1.Button, { variant: "contained", color: "primary", type: "submit", autoFocus: true, onClick: function () {
|
|
79
|
+
model.setMaxHeight(max !== '' && !Number.isNaN(+max) ? +max : undefined);
|
|
80
|
+
handleClose();
|
|
81
|
+
} }, "Submit"),
|
|
82
|
+
react_1.default.createElement(material_1.Button, { variant: "contained", color: "secondary", onClick: function () { return handleClose(); } }, "Cancel")))));
|
|
90
83
|
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
exports.default = _default;
|
|
84
|
+
exports.default = (0, mobx_react_1.observer)(SetMaxHeightDlg);
|
|
85
|
+
//# sourceMappingURL=SetMaxHeight.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SetMaxHeight.js","sourceRoot":"","sources":["../../../src/LinearBasicDisplay/components/SetMaxHeight.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAuC;AACvC,yCAAqC;AACrC,0CASsB;AACtB,qCAA0C;AAE1C,oEAAiD;AAEjD,IAAM,SAAS,GAAG,IAAA,gBAAU,GAAE,CAAC,UAAA,KAAK,IAAI,OAAA,CAAC;IACvC,IAAI,EAAE;QACJ,KAAK,EAAE,GAAG;KACX;IACD,WAAW,EAAE;QACX,QAAQ,EAAE,UAAU;QACpB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;QACvB,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;QACrB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC;KAC/B;IACD,KAAK,EAAE;QACL,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;KACzB;CACF,CAAC,EAbsC,CAatC,CAAC,CAAA;AAEH,SAAS,eAAe,CAAC,EASxB;QARC,KAAK,WAAA,EACL,WAAW,iBAAA;IAQH,IAAA,OAAO,GAAK,SAAS,EAAE,QAAhB,CAAgB;IACvB,IAAA,KAAmB,KAAK,UAAV,EAAd,SAAS,mBAAG,EAAE,KAAA,CAAU;IAC1B,IAAA,KAAA,OAAgB,IAAA,gBAAQ,EAAC,UAAG,SAAS,CAAE,CAAC,IAAA,EAAvC,GAAG,QAAA,EAAE,MAAM,QAA4B,CAAA;IAE9C,OAAO,CACL,8BAAC,iBAAM,IACL,IAAI,QACJ,OAAO,EAAE,WAAW,qBACJ,oBAAoB,sBACnB,0BAA0B;QAE3C,8BAAC,sBAAW,IAAC,EAAE,EAAC,oBAAoB;;YAElC,8BAAC,qBAAU,kBACE,OAAO,EAClB,SAAS,EAAE,OAAO,CAAC,WAAW,EAC9B,OAAO,EAAE,WAAW,EACpB,IAAI,EAAC,OAAO;gBAEZ,8BAAC,eAAS,OAAG,CACF,CACD;QACd,8BAAC,wBAAa,IAAC,SAAS,EAAE,OAAO,CAAC,IAAI;YACpC,8BAAC,qBAAU,qHAGE;YACb,8BAAC,oBAAS,IACR,KAAK,EAAE,GAAG,EACV,QAAQ,EAAE,UAAA,KAAK,IAAI,OAAA,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,EAA1B,CAA0B,EAC7C,WAAW,EAAC,iBAAiB,GAC7B;YACF,8BAAC,wBAAa;gBACZ,8BAAC,iBAAM,IACL,OAAO,EAAC,WAAW,EACnB,KAAK,EAAC,SAAS,EACf,IAAI,EAAC,QAAQ,EACb,SAAS,QACT,OAAO,EAAE;wBACP,KAAK,CAAC,YAAY,CAChB,GAAG,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CACrD,CAAA;wBACD,WAAW,EAAE,CAAA;oBACf,CAAC,aAGM;gBACT,8BAAC,iBAAM,IACL,OAAO,EAAC,WAAW,EACnB,KAAK,EAAC,WAAW,EACjB,OAAO,EAAE,cAAM,OAAA,WAAW,EAAE,EAAb,CAAa,aAGrB,CACK,CACF,CACT,CACV,CAAA;AACH,CAAC;AAED,kBAAe,IAAA,qBAAQ,EAAC,eAAe,CAAC,CAAA"}
|
|
@@ -1,25 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
});
|
|
6
|
-
exports.default = configSchemaFactory;
|
|
7
|
-
|
|
8
|
-
var _configuration = require("@jbrowse/core/configuration");
|
|
9
|
-
|
|
10
|
-
var _BaseLinearDisplay = require("../BaseLinearDisplay");
|
|
11
|
-
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var configuration_1 = require("@jbrowse/core/configuration");
|
|
4
|
+
var BaseLinearDisplay_1 = require("../BaseLinearDisplay");
|
|
12
5
|
function configSchemaFactory(pluginManager) {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
6
|
+
return (0, configuration_1.ConfigurationSchema)('LinearBasicDisplay', {
|
|
7
|
+
mouseover: {
|
|
8
|
+
type: 'string',
|
|
9
|
+
description: 'what to display in a given mouseover',
|
|
10
|
+
defaultValue: "jexl:get(feature,'name')",
|
|
11
|
+
contextVariable: ['feature'],
|
|
12
|
+
},
|
|
13
|
+
renderer: pluginManager.pluggableConfigSchemaType('renderer'),
|
|
14
|
+
}, { baseConfiguration: BaseLinearDisplay_1.baseLinearDisplayConfigSchema, explicitlyTyped: true });
|
|
15
|
+
}
|
|
16
|
+
exports.default = configSchemaFactory;
|
|
17
|
+
//# sourceMappingURL=configSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configSchema.js","sourceRoot":"","sources":["../../src/LinearBasicDisplay/configSchema.ts"],"names":[],"mappings":";;AAAA,6DAAiE;AAEjE,0DAAoE;AAEpE,SAAwB,mBAAmB,CAAC,aAA4B;IACtE,OAAO,IAAA,mCAAmB,EACxB,oBAAoB,EACpB;QACE,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,sCAAsC;YACnD,YAAY,EAAE,0BAA0B;YAExC,eAAe,EAAE,CAAC,SAAS,CAAC;SAC7B;QACD,QAAQ,EAAE,aAAa,CAAC,yBAAyB,CAAC,UAAU,CAAC;KAC9D,EACD,EAAE,iBAAiB,EAAE,iDAA6B,EAAE,eAAe,EAAE,IAAI,EAAE,CAC5E,CAAA;AACH,CAAC;AAfD,sCAeC"}
|
|
@@ -1,23 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
Object.defineProperty(exports, "modelFactory", {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function get() {
|
|
17
|
-
return _model.default;
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
var _model = _interopRequireDefault(require("./model"));
|
|
22
|
-
|
|
23
|
-
var _configSchema = _interopRequireDefault(require("./configSchema"));
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.configSchema = exports.modelFactory = void 0;
|
|
7
|
+
var model_1 = require("./model");
|
|
8
|
+
Object.defineProperty(exports, "modelFactory", { enumerable: true, get: function () { return __importDefault(model_1).default; } });
|
|
9
|
+
var configSchema_1 = require("./configSchema");
|
|
10
|
+
Object.defineProperty(exports, "configSchema", { enumerable: true, get: function () { return __importDefault(configSchema_1).default; } });
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/LinearBasicDisplay/index.ts"],"names":[],"mappings":";;;;;;AAAA,iCAAiD;AAAxC,sHAAA,OAAO,OAAgB;AAChC,+CAAwD;AAA/C,6HAAA,OAAO,OAAgB"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
|
|
2
3
|
import { MenuItem } from '@jbrowse/core/ui';
|
|
3
4
|
import { Instance } from 'mobx-state-tree';
|
|
@@ -67,11 +68,11 @@ declare const stateModelFactory: (configSchema: AnyConfigurationSchemaType) => i
|
|
|
67
68
|
error: unknown;
|
|
68
69
|
} & {
|
|
69
70
|
readonly RenderingComponent: import("react").FC<{
|
|
70
|
-
model:
|
|
71
|
-
id:
|
|
72
|
-
type:
|
|
73
|
-
rpcDriverName:
|
|
74
|
-
}
|
|
71
|
+
model: {
|
|
72
|
+
id: string;
|
|
73
|
+
type: string;
|
|
74
|
+
rpcDriverName: string | undefined;
|
|
75
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
75
76
|
rendererTypeName: string;
|
|
76
77
|
error: unknown;
|
|
77
78
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -86,11 +87,11 @@ declare const stateModelFactory: (configSchema: AnyConfigurationSchemaType) => i
|
|
|
86
87
|
blockState?: Record<string, any> | undefined;
|
|
87
88
|
}>;
|
|
88
89
|
readonly DisplayBlurb: import("react").FC<{
|
|
89
|
-
model:
|
|
90
|
-
id:
|
|
91
|
-
type:
|
|
92
|
-
rpcDriverName:
|
|
93
|
-
}
|
|
90
|
+
model: {
|
|
91
|
+
id: string;
|
|
92
|
+
type: string;
|
|
93
|
+
rpcDriverName: string | undefined;
|
|
94
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
94
95
|
rendererTypeName: string;
|
|
95
96
|
error: unknown;
|
|
96
97
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -176,7 +177,9 @@ declare const stateModelFactory: (configSchema: AnyConfigurationSchemaType) => i
|
|
|
176
177
|
trackMenuItems(): MenuItem[];
|
|
177
178
|
contextMenuItems(): {
|
|
178
179
|
label: string;
|
|
179
|
-
icon: import("@material
|
|
180
|
+
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
181
|
+
muiName: string;
|
|
182
|
+
};
|
|
180
183
|
onClick: () => void;
|
|
181
184
|
}[];
|
|
182
185
|
renderProps(): any;
|
|
@@ -190,6 +193,7 @@ declare const stateModelFactory: (configSchema: AnyConfigurationSchemaType) => i
|
|
|
190
193
|
readonly showDescriptions: any;
|
|
191
194
|
readonly maxHeight: any;
|
|
192
195
|
readonly displayMode: any;
|
|
196
|
+
} & {
|
|
193
197
|
readonly rendererConfig: any;
|
|
194
198
|
} & {
|
|
195
199
|
toggleShowLabels(): void;
|
|
@@ -197,13 +201,15 @@ declare const stateModelFactory: (configSchema: AnyConfigurationSchemaType) => i
|
|
|
197
201
|
setDisplayMode(val: string): void;
|
|
198
202
|
setMaxHeight(val: number): void;
|
|
199
203
|
} & {
|
|
200
|
-
renderProps():
|
|
204
|
+
renderProps(): {
|
|
205
|
+
config: any;
|
|
206
|
+
};
|
|
201
207
|
trackMenuItems(): MenuItem[];
|
|
202
208
|
}, import("mobx-state-tree")._NotCustomized, {
|
|
203
|
-
id: string;
|
|
204
209
|
type: string;
|
|
205
|
-
rpcDriverName: string | undefined;
|
|
206
210
|
height: number;
|
|
211
|
+
id: string;
|
|
212
|
+
rpcDriverName: string | undefined;
|
|
207
213
|
userBpPerPxLimit: number | undefined;
|
|
208
214
|
userByteSizeLimit: number | undefined;
|
|
209
215
|
} & import("mobx-state-tree")._NotCustomized>;
|