@jbrowse/plugin-variants 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/VariantFeatureWidget/VariantSampleGrid.js +6 -2
- package/dist/VariantFeatureWidget/stateModelFactory.d.ts +1 -1
- package/dist/VcfFeature/index.js +1 -1
- package/esm/VariantFeatureWidget/VariantSampleGrid.js +6 -2
- package/esm/VariantFeatureWidget/stateModelFactory.d.ts +1 -1
- package/esm/VcfFeature/index.js +1 -1
- package/package.json +2 -2
|
@@ -84,7 +84,11 @@ function VariantSamples(props) {
|
|
|
84
84
|
error ? react_1.default.createElement(material_1.Typography, { color: "error" }, `${error}`) : null,
|
|
85
85
|
react_1.default.createElement(material_1.FormControlLabel, { control: react_1.default.createElement(material_1.Checkbox, { checked: checked, onChange: event => setChecked(event.target.checked) }), label: react_1.default.createElement(material_1.Typography, { variant: "body2" }, "Show options") }),
|
|
86
86
|
checked ? (react_1.default.createElement(SampleFilters, { setFilter: setFilter, columns: columns, filter: filter })) : null,
|
|
87
|
-
react_1.default.createElement(x_data_grid_1.DataGrid, { rows: rows, hideFooter: rows.length < 100, columns: columns, disableRowSelectionOnClick: true, rowHeight: 25, columnHeaderHeight: 35, disableColumnMenu: true, slots: { toolbar: checked ? x_data_grid_1.GridToolbar : null }, slotProps: {
|
|
88
|
-
toolbar: {
|
|
87
|
+
react_1.default.createElement(x_data_grid_1.DataGrid, { autoHeight: true, rows: rows, hideFooter: rows.length < 100, columns: columns, disableRowSelectionOnClick: true, rowHeight: 25, columnHeaderHeight: 35, disableColumnMenu: true, slots: { toolbar: checked ? x_data_grid_1.GridToolbar : null }, slotProps: {
|
|
88
|
+
toolbar: {
|
|
89
|
+
printOptions: {
|
|
90
|
+
disableToolbarButton: true,
|
|
91
|
+
},
|
|
92
|
+
},
|
|
89
93
|
} })));
|
|
90
94
|
}
|
|
@@ -86,8 +86,8 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
86
86
|
afterAttach(): void;
|
|
87
87
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
88
88
|
}>> & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree")._NotCustomized, {
|
|
89
|
-
id: string;
|
|
90
89
|
type: "BaseFeatureWidget";
|
|
90
|
+
id: string;
|
|
91
91
|
track: import("mobx-state-tree").ReferenceIdentifier | undefined;
|
|
92
92
|
view: import("mobx-state-tree").ReferenceIdentifier | undefined;
|
|
93
93
|
trackId: string | undefined;
|
package/dist/VcfFeature/index.js
CHANGED
|
@@ -15,7 +15,7 @@ class VCFFeature {
|
|
|
15
15
|
var _a;
|
|
16
16
|
return field === 'samples'
|
|
17
17
|
? this.variant.SAMPLES
|
|
18
|
-
: (_a = this.data[field]) !== null && _a !== void 0 ? _a : this.variant[field];
|
|
18
|
+
: ((_a = this.data[field]) !== null && _a !== void 0 ? _a : this.variant[field]);
|
|
19
19
|
}
|
|
20
20
|
set() { }
|
|
21
21
|
parent() {
|
|
@@ -58,7 +58,11 @@ export default function VariantSamples(props) {
|
|
|
58
58
|
error ? React.createElement(Typography, { color: "error" }, `${error}`) : null,
|
|
59
59
|
React.createElement(FormControlLabel, { control: React.createElement(Checkbox, { checked: checked, onChange: event => setChecked(event.target.checked) }), label: React.createElement(Typography, { variant: "body2" }, "Show options") }),
|
|
60
60
|
checked ? (React.createElement(SampleFilters, { setFilter: setFilter, columns: columns, filter: filter })) : null,
|
|
61
|
-
React.createElement(DataGrid, { rows: rows, hideFooter: rows.length < 100, columns: columns, disableRowSelectionOnClick: true, rowHeight: 25, columnHeaderHeight: 35, disableColumnMenu: true, slots: { toolbar: checked ? GridToolbar : null }, slotProps: {
|
|
62
|
-
toolbar: {
|
|
61
|
+
React.createElement(DataGrid, { autoHeight: true, rows: rows, hideFooter: rows.length < 100, columns: columns, disableRowSelectionOnClick: true, rowHeight: 25, columnHeaderHeight: 35, disableColumnMenu: true, slots: { toolbar: checked ? GridToolbar : null }, slotProps: {
|
|
62
|
+
toolbar: {
|
|
63
|
+
printOptions: {
|
|
64
|
+
disableToolbarButton: true,
|
|
65
|
+
},
|
|
66
|
+
},
|
|
63
67
|
} })));
|
|
64
68
|
}
|
|
@@ -86,8 +86,8 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
86
86
|
afterAttach(): void;
|
|
87
87
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
88
88
|
}>> & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree")._NotCustomized, {
|
|
89
|
-
id: string;
|
|
90
89
|
type: "BaseFeatureWidget";
|
|
90
|
+
id: string;
|
|
91
91
|
track: import("mobx-state-tree").ReferenceIdentifier | undefined;
|
|
92
92
|
view: import("mobx-state-tree").ReferenceIdentifier | undefined;
|
|
93
93
|
trackId: string | undefined;
|
package/esm/VcfFeature/index.js
CHANGED
|
@@ -13,7 +13,7 @@ export default class VCFFeature {
|
|
|
13
13
|
var _a;
|
|
14
14
|
return field === 'samples'
|
|
15
15
|
? this.variant.SAMPLES
|
|
16
|
-
: (_a = this.data[field]) !== null && _a !== void 0 ? _a : this.variant[field];
|
|
16
|
+
: ((_a = this.data[field]) !== null && _a !== void 0 ? _a : this.variant[field]);
|
|
17
17
|
}
|
|
18
18
|
set() { }
|
|
19
19
|
parent() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-variants",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.0",
|
|
4
4
|
"description": "JBrowse 2 variant adapters, tracks, etc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -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": "efe02fb9616e20e929cceeed46eb96420c1b6923"
|
|
66
66
|
}
|