@jbrowse/plugin-wiggle 3.4.0 → 3.5.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/LinearWiggleDisplay/model.d.ts +1 -1
- package/dist/MultiLinearWiggleDisplay/components/Tooltip.js +5 -1
- package/dist/MultiLinearWiggleDisplay/model.d.ts +1 -1
- package/dist/shared/SharedWiggleMixin.d.ts +1 -1
- package/esm/LinearWiggleDisplay/model.d.ts +1 -1
- package/esm/MultiLinearWiggleDisplay/components/Tooltip.js +5 -1
- package/esm/MultiLinearWiggleDisplay/model.d.ts +1 -1
- package/esm/shared/SharedWiggleMixin.d.ts +1 -1
- package/package.json +5 -5
|
@@ -212,7 +212,7 @@ declare function stateModelFactory(pluginManager: PluginManager, configSchema: A
|
|
|
212
212
|
} & {
|
|
213
213
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
214
214
|
deleteBlock(key: string): void;
|
|
215
|
-
selectFeature(feature: import("@jbrowse/core/util").Feature):
|
|
215
|
+
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
216
216
|
navToFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
217
217
|
clearFeatureSelection(): void;
|
|
218
218
|
setFeatureIdUnderMouse(feature?: string): void;
|
|
@@ -19,7 +19,11 @@ const TooltipContents = (0, react_1.forwardRef)(function TooltipContents2({ mode
|
|
|
19
19
|
const source = feature.get('source');
|
|
20
20
|
const summary = feature.get('summary');
|
|
21
21
|
const obj = Object.fromEntries(model.sources.map(ent => [ent.name, ent]));
|
|
22
|
-
return ((0, jsx_runtime_1.jsxs)("div", { ref: ref, children: [[refName, coord].filter(f => !!f).join(':'), (0, jsx_runtime_1.jsx)("br", {}), sources ? ((0, jsx_runtime_1.jsxs)("table", { children: [(0, jsx_runtime_1.jsx)("thead", { children: (0, jsx_runtime_1.jsxs)("tr", { children: [(0, jsx_runtime_1.jsx)("th", { children: "color" }), (0, jsx_runtime_1.jsx)("th", { children: "source" }), (0, jsx_runtime_1.jsx)("th", { children: "score" })] }) }), (0, jsx_runtime_1.jsx)("tbody", { children: Object.entries(sources).map(([source, data]) => ((0, jsx_runtime_1.jsxs)("tr", { children: [(0, jsx_runtime_1.jsx)("td", {
|
|
22
|
+
return ((0, jsx_runtime_1.jsxs)("div", { ref: ref, children: [[refName, coord].filter(f => !!f).join(':'), (0, jsx_runtime_1.jsx)("br", {}), sources ? ((0, jsx_runtime_1.jsxs)("table", { children: [(0, jsx_runtime_1.jsx)("thead", { children: (0, jsx_runtime_1.jsxs)("tr", { children: [(0, jsx_runtime_1.jsx)("th", { children: "color" }), (0, jsx_runtime_1.jsx)("th", { children: "source" }), (0, jsx_runtime_1.jsx)("th", { children: "score" })] }) }), (0, jsx_runtime_1.jsx)("tbody", { children: Object.entries(sources).map(([source, data]) => ((0, jsx_runtime_1.jsxs)("tr", { children: [(0, jsx_runtime_1.jsx)("td", { children: (0, jsx_runtime_1.jsx)("div", { style: {
|
|
23
|
+
width: 16,
|
|
24
|
+
height: 16,
|
|
25
|
+
background: obj[source].color,
|
|
26
|
+
} }) }), (0, jsx_runtime_1.jsx)("td", { children: source }), (0, jsx_runtime_1.jsx)("td", { children: (0, util_1.toP)(data.score) })] }, source))) })] })) : ((0, jsx_runtime_1.jsxs)("span", { children: [source, ' ', summary
|
|
23
27
|
? `min:${(0, util_1.toP)(feature.get('minScore'))} avg:${(0, util_1.toP)(feature.get('score'))} max:${(0, util_1.toP)(feature.get('maxScore'))}`
|
|
24
28
|
: (0, util_1.toP)(feature.get('score'))] }))] }));
|
|
25
29
|
});
|
|
@@ -214,7 +214,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
214
214
|
} & {
|
|
215
215
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
216
216
|
deleteBlock(key: string): void;
|
|
217
|
-
selectFeature(feature: Feature):
|
|
217
|
+
selectFeature(feature: Feature): void;
|
|
218
218
|
navToFeature(feature: Feature): void;
|
|
219
219
|
clearFeatureSelection(): void;
|
|
220
220
|
setFeatureIdUnderMouse(feature?: string): void;
|
|
@@ -206,7 +206,7 @@ export default function SharedWiggleMixin(configSchema: AnyConfigurationSchemaTy
|
|
|
206
206
|
} & {
|
|
207
207
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
208
208
|
deleteBlock(key: string): void;
|
|
209
|
-
selectFeature(feature: Feature):
|
|
209
|
+
selectFeature(feature: Feature): void;
|
|
210
210
|
navToFeature(feature: Feature): void;
|
|
211
211
|
clearFeatureSelection(): void;
|
|
212
212
|
setFeatureIdUnderMouse(feature?: string): void;
|
|
@@ -212,7 +212,7 @@ declare function stateModelFactory(pluginManager: PluginManager, configSchema: A
|
|
|
212
212
|
} & {
|
|
213
213
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
214
214
|
deleteBlock(key: string): void;
|
|
215
|
-
selectFeature(feature: import("@jbrowse/core/util").Feature):
|
|
215
|
+
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
216
216
|
navToFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
217
217
|
clearFeatureSelection(): void;
|
|
218
218
|
setFeatureIdUnderMouse(feature?: string): void;
|
|
@@ -13,7 +13,11 @@ const TooltipContents = forwardRef(function TooltipContents2({ model, feature },
|
|
|
13
13
|
const source = feature.get('source');
|
|
14
14
|
const summary = feature.get('summary');
|
|
15
15
|
const obj = Object.fromEntries(model.sources.map(ent => [ent.name, ent]));
|
|
16
|
-
return (_jsxs("div", { ref: ref, children: [[refName, coord].filter(f => !!f).join(':'), _jsx("br", {}), sources ? (_jsxs("table", { children: [_jsx("thead", { children: _jsxs("tr", { children: [_jsx("th", { children: "color" }), _jsx("th", { children: "source" }), _jsx("th", { children: "score" })] }) }), _jsx("tbody", { children: Object.entries(sources).map(([source, data]) => (_jsxs("tr", { children: [_jsx("td", {
|
|
16
|
+
return (_jsxs("div", { ref: ref, children: [[refName, coord].filter(f => !!f).join(':'), _jsx("br", {}), sources ? (_jsxs("table", { children: [_jsx("thead", { children: _jsxs("tr", { children: [_jsx("th", { children: "color" }), _jsx("th", { children: "source" }), _jsx("th", { children: "score" })] }) }), _jsx("tbody", { children: Object.entries(sources).map(([source, data]) => (_jsxs("tr", { children: [_jsx("td", { children: _jsx("div", { style: {
|
|
17
|
+
width: 16,
|
|
18
|
+
height: 16,
|
|
19
|
+
background: obj[source].color,
|
|
20
|
+
} }) }), _jsx("td", { children: source }), _jsx("td", { children: toP(data.score) })] }, source))) })] })) : (_jsxs("span", { children: [source, ' ', summary
|
|
17
21
|
? `min:${toP(feature.get('minScore'))} avg:${toP(feature.get('score'))} max:${toP(feature.get('maxScore'))}`
|
|
18
22
|
: toP(feature.get('score'))] }))] }));
|
|
19
23
|
});
|
|
@@ -214,7 +214,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
214
214
|
} & {
|
|
215
215
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
216
216
|
deleteBlock(key: string): void;
|
|
217
|
-
selectFeature(feature: Feature):
|
|
217
|
+
selectFeature(feature: Feature): void;
|
|
218
218
|
navToFeature(feature: Feature): void;
|
|
219
219
|
clearFeatureSelection(): void;
|
|
220
220
|
setFeatureIdUnderMouse(feature?: string): void;
|
|
@@ -206,7 +206,7 @@ export default function SharedWiggleMixin(configSchema: AnyConfigurationSchemaTy
|
|
|
206
206
|
} & {
|
|
207
207
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
208
208
|
deleteBlock(key: string): void;
|
|
209
|
-
selectFeature(feature: Feature):
|
|
209
|
+
selectFeature(feature: Feature): void;
|
|
210
210
|
navToFeature(feature: Feature): void;
|
|
211
211
|
clearFeatureSelection(): void;
|
|
212
212
|
setFeatureIdUnderMouse(feature?: string): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-wiggle",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"description": "JBrowse 2 wiggle adapters, tracks, etc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@gmod/bbi": "^7.0.0",
|
|
40
|
-
"@jbrowse/core": "^3.
|
|
41
|
-
"@jbrowse/plugin-data-management": "^3.
|
|
42
|
-
"@jbrowse/plugin-linear-genome-view": "^3.
|
|
40
|
+
"@jbrowse/core": "^3.5.0",
|
|
41
|
+
"@jbrowse/plugin-data-management": "^3.5.0",
|
|
42
|
+
"@jbrowse/plugin-linear-genome-view": "^3.5.0",
|
|
43
43
|
"@mui/icons-material": "^7.0.0",
|
|
44
44
|
"@mui/material": "^7.0.0",
|
|
45
45
|
"@mui/x-charts-vendor": "^8.0.0",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"distModule": "esm/index.js",
|
|
63
63
|
"srcModule": "src/index.ts",
|
|
64
64
|
"module": "esm/index.js",
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "8a8aa0aab2229dece106a5715a767e649e2fe92b"
|
|
66
66
|
}
|