@jbrowse/plugin-linear-genome-view 2.4.0 → 2.4.2
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.d.ts +2 -3
- package/dist/BaseLinearDisplay/components/BaseLinearDisplay.js +4 -4
- package/dist/BaseLinearDisplay/components/BaseLinearDisplay.js.map +1 -1
- package/dist/BaseLinearDisplay/components/LinearBlocks.d.ts +1 -3
- package/dist/BaseLinearDisplay/components/ServerSideRenderedBlockContent.js +8 -43
- package/dist/BaseLinearDisplay/components/ServerSideRenderedBlockContent.js.map +1 -1
- package/dist/BaseLinearDisplay/components/TooLargeMessage.d.ts +2 -2
- package/dist/BaseLinearDisplay/components/TooLargeMessage.js +4 -8
- package/dist/BaseLinearDisplay/components/TooLargeMessage.js.map +1 -1
- package/dist/BaseLinearDisplay/models/BaseLinearDisplayModel.d.ts +15 -25
- package/dist/BaseLinearDisplay/models/BaseLinearDisplayModel.js +96 -144
- package/dist/BaseLinearDisplay/models/BaseLinearDisplayModel.js.map +1 -1
- package/dist/BaseLinearDisplay/models/serverSideRenderedBlock.js +4 -5
- package/dist/BaseLinearDisplay/models/serverSideRenderedBlock.js.map +1 -1
- package/dist/BaseLinearDisplay/models/util.d.ts +4 -0
- package/dist/BaseLinearDisplay/models/util.js +35 -3
- package/dist/BaseLinearDisplay/models/util.js.map +1 -1
- package/dist/LaunchLinearGenomeView/index.js +1 -1
- package/dist/LaunchLinearGenomeView/index.js.map +1 -1
- package/dist/LinearBareDisplay/index.d.ts +2 -3
- package/dist/LinearBareDisplay/index.js +5 -2
- package/dist/LinearBareDisplay/index.js.map +1 -1
- package/dist/LinearBareDisplay/model.d.ts +13 -21
- package/dist/LinearBasicDisplay/components/SetMaxHeight.d.ts +1 -1
- package/dist/LinearBasicDisplay/components/SetMaxHeight.js +2 -5
- package/dist/LinearBasicDisplay/components/SetMaxHeight.js.map +1 -1
- package/dist/LinearBasicDisplay/index.d.ts +2 -3
- package/dist/LinearBasicDisplay/index.js +5 -3
- package/dist/LinearBasicDisplay/index.js.map +1 -1
- package/dist/LinearBasicDisplay/model.d.ts +14 -25
- package/dist/LinearBasicDisplay/model.js.map +1 -1
- package/dist/LinearGenomeView/components/ExportSvgDialog.js +1 -1
- package/dist/LinearGenomeView/components/ExportSvgDialog.js.map +1 -1
- package/dist/LinearGenomeView/components/ImportForm.d.ts +2 -2
- package/dist/LinearGenomeView/components/ImportForm.js +15 -19
- package/dist/LinearGenomeView/components/ImportForm.js.map +1 -1
- package/dist/LinearGenomeView/components/OverviewRubberband.d.ts +3 -4
- package/dist/LinearGenomeView/components/OverviewRubberband.js +8 -11
- package/dist/LinearGenomeView/components/OverviewRubberband.js.map +1 -1
- package/dist/LinearGenomeView/components/OverviewScalebar.d.ts +4 -5
- package/dist/LinearGenomeView/components/OverviewScalebar.js +5 -5
- package/dist/LinearGenomeView/components/OverviewScalebar.js.map +1 -1
- package/dist/LinearGenomeView/components/RefNameAutocomplete.d.ts +2 -1
- package/dist/LinearGenomeView/components/RefNameAutocomplete.js +38 -40
- package/dist/LinearGenomeView/components/RefNameAutocomplete.js.map +1 -1
- package/dist/LinearGenomeView/components/RubberbandSpan.d.ts +2 -2
- package/dist/LinearGenomeView/components/RubberbandSpan.js +2 -16
- package/dist/LinearGenomeView/components/RubberbandSpan.js.map +1 -1
- package/dist/LinearGenomeView/components/SearchBox.js +3 -3
- package/dist/LinearGenomeView/components/SearchBox.js.map +1 -1
- package/dist/LinearGenomeView/components/TrackLabel.js +3 -3
- package/dist/LinearGenomeView/components/TrackLabel.js.map +1 -1
- package/dist/LinearGenomeView/components/TracksContainer.d.ts +2 -3
- package/dist/LinearGenomeView/components/TracksContainer.js +9 -8
- package/dist/LinearGenomeView/components/TracksContainer.js.map +1 -1
- package/dist/LinearGenomeView/components/hooks.d.ts +6 -1
- package/dist/LinearGenomeView/components/hooks.js +1 -1
- package/dist/LinearGenomeView/components/hooks.js.map +1 -1
- package/dist/LinearGenomeView/index.js +8 -6
- package/dist/LinearGenomeView/index.js.map +1 -1
- package/dist/LinearGenomeView/model.d.ts +9 -11
- package/dist/LinearGenomeView/model.js +28 -31
- package/dist/LinearGenomeView/model.js.map +1 -1
- package/dist/LinearGenomeView/svgcomponents/SVGLinearGenomeView.d.ts +2 -3
- package/dist/LinearGenomeView/svgcomponents/SVGLinearGenomeView.js +6 -5
- package/dist/LinearGenomeView/svgcomponents/SVGLinearGenomeView.js.map +1 -1
- package/dist/LinearGenomeView/svgcomponents/SVGTrackLabel.js +2 -1
- package/dist/LinearGenomeView/svgcomponents/SVGTrackLabel.js.map +1 -1
- package/dist/LinearGenomeView/util.js +1 -1
- package/dist/LinearGenomeView/util.js.map +1 -1
- package/dist/index.d.ts +69 -95
- package/dist/index.js +21 -17
- package/dist/index.js.map +1 -1
- package/esm/BaseLinearDisplay/components/BaseLinearDisplay.d.ts +2 -3
- package/esm/BaseLinearDisplay/components/BaseLinearDisplay.js +2 -3
- package/esm/BaseLinearDisplay/components/BaseLinearDisplay.js.map +1 -1
- package/esm/BaseLinearDisplay/components/LinearBlocks.d.ts +1 -3
- package/esm/BaseLinearDisplay/components/ServerSideRenderedBlockContent.js +8 -20
- package/esm/BaseLinearDisplay/components/ServerSideRenderedBlockContent.js.map +1 -1
- package/esm/BaseLinearDisplay/components/TooLargeMessage.d.ts +2 -2
- package/esm/BaseLinearDisplay/components/TooLargeMessage.js +4 -8
- package/esm/BaseLinearDisplay/components/TooLargeMessage.js.map +1 -1
- package/esm/BaseLinearDisplay/models/BaseLinearDisplayModel.d.ts +15 -25
- package/esm/BaseLinearDisplay/models/BaseLinearDisplayModel.js +95 -143
- package/esm/BaseLinearDisplay/models/BaseLinearDisplayModel.js.map +1 -1
- package/esm/BaseLinearDisplay/models/serverSideRenderedBlock.js +4 -5
- package/esm/BaseLinearDisplay/models/serverSideRenderedBlock.js.map +1 -1
- package/esm/BaseLinearDisplay/models/util.d.ts +4 -0
- package/esm/BaseLinearDisplay/models/util.js +32 -2
- package/esm/BaseLinearDisplay/models/util.js.map +1 -1
- package/esm/LaunchLinearGenomeView/index.js +1 -1
- package/esm/LaunchLinearGenomeView/index.js.map +1 -1
- package/esm/LinearBareDisplay/index.d.ts +2 -3
- package/esm/LinearBareDisplay/index.js +3 -1
- package/esm/LinearBareDisplay/index.js.map +1 -1
- package/esm/LinearBareDisplay/model.d.ts +13 -21
- package/esm/LinearBasicDisplay/components/SetMaxHeight.d.ts +1 -1
- package/esm/LinearBasicDisplay/components/SetMaxHeight.js +2 -5
- package/esm/LinearBasicDisplay/components/SetMaxHeight.js.map +1 -1
- package/esm/LinearBasicDisplay/index.d.ts +2 -3
- package/esm/LinearBasicDisplay/index.js +3 -2
- package/esm/LinearBasicDisplay/index.js.map +1 -1
- package/esm/LinearBasicDisplay/model.d.ts +14 -25
- package/esm/LinearBasicDisplay/model.js.map +1 -1
- package/esm/LinearGenomeView/components/ExportSvgDialog.js +1 -1
- package/esm/LinearGenomeView/components/ExportSvgDialog.js.map +1 -1
- package/esm/LinearGenomeView/components/ImportForm.d.ts +2 -2
- package/esm/LinearGenomeView/components/ImportForm.js +16 -20
- package/esm/LinearGenomeView/components/ImportForm.js.map +1 -1
- package/esm/LinearGenomeView/components/OverviewRubberband.d.ts +3 -4
- package/esm/LinearGenomeView/components/OverviewRubberband.js +8 -11
- package/esm/LinearGenomeView/components/OverviewRubberband.js.map +1 -1
- package/esm/LinearGenomeView/components/OverviewScalebar.d.ts +4 -5
- package/esm/LinearGenomeView/components/OverviewScalebar.js +4 -4
- package/esm/LinearGenomeView/components/OverviewScalebar.js.map +1 -1
- package/esm/LinearGenomeView/components/RefNameAutocomplete.d.ts +2 -1
- package/esm/LinearGenomeView/components/RefNameAutocomplete.js +39 -41
- package/esm/LinearGenomeView/components/RefNameAutocomplete.js.map +1 -1
- package/esm/LinearGenomeView/components/RubberbandSpan.d.ts +2 -2
- package/esm/LinearGenomeView/components/RubberbandSpan.js +3 -18
- package/esm/LinearGenomeView/components/RubberbandSpan.js.map +1 -1
- package/esm/LinearGenomeView/components/SearchBox.js +3 -3
- package/esm/LinearGenomeView/components/SearchBox.js.map +1 -1
- package/esm/LinearGenomeView/components/TrackLabel.js +3 -3
- package/esm/LinearGenomeView/components/TrackLabel.js.map +1 -1
- package/esm/LinearGenomeView/components/TracksContainer.d.ts +2 -3
- package/esm/LinearGenomeView/components/TracksContainer.js +9 -8
- package/esm/LinearGenomeView/components/TracksContainer.js.map +1 -1
- package/esm/LinearGenomeView/components/hooks.d.ts +6 -1
- package/esm/LinearGenomeView/components/hooks.js +1 -1
- package/esm/LinearGenomeView/components/hooks.js.map +1 -1
- package/esm/LinearGenomeView/index.js +8 -6
- package/esm/LinearGenomeView/index.js.map +1 -1
- package/esm/LinearGenomeView/model.d.ts +9 -11
- package/esm/LinearGenomeView/model.js +22 -26
- package/esm/LinearGenomeView/model.js.map +1 -1
- package/esm/LinearGenomeView/svgcomponents/SVGLinearGenomeView.d.ts +2 -3
- package/esm/LinearGenomeView/svgcomponents/SVGLinearGenomeView.js +3 -3
- package/esm/LinearGenomeView/svgcomponents/SVGLinearGenomeView.js.map +1 -1
- package/esm/LinearGenomeView/svgcomponents/SVGTrackLabel.js +2 -1
- package/esm/LinearGenomeView/svgcomponents/SVGTrackLabel.js.map +1 -1
- package/esm/LinearGenomeView/util.js +1 -1
- package/esm/LinearGenomeView/util.js.map +1 -1
- package/esm/index.d.ts +69 -95
- package/esm/index.js +9 -6
- package/esm/index.js.map +1 -1
- package/package.json +2 -2
- package/src/BaseLinearDisplay/components/BaseLinearDisplay.tsx +4 -3
- package/src/BaseLinearDisplay/components/ServerSideRenderedBlockContent.tsx +8 -28
- package/src/BaseLinearDisplay/components/TooLargeMessage.tsx +8 -10
- package/src/BaseLinearDisplay/models/BaseLinearDisplayModel.tsx +134 -196
- package/src/BaseLinearDisplay/models/serverSideRenderedBlock.ts +6 -5
- package/src/BaseLinearDisplay/models/util.ts +39 -2
- package/src/LaunchLinearGenomeView/index.ts +1 -1
- package/src/LinearBareDisplay/index.ts +3 -1
- package/src/LinearBasicDisplay/components/SetMaxHeight.tsx +3 -7
- package/src/LinearBasicDisplay/index.ts +3 -2
- package/src/LinearBasicDisplay/model.ts +1 -1
- package/src/LinearGenomeView/components/ExportSvgDialog.tsx +1 -1
- package/src/LinearGenomeView/components/ImportForm.tsx +17 -26
- package/src/LinearGenomeView/components/OverviewRubberband.tsx +40 -49
- package/src/LinearGenomeView/components/OverviewScalebar.tsx +4 -4
- package/src/LinearGenomeView/components/RefNameAutocomplete.tsx +55 -55
- package/src/LinearGenomeView/components/RubberbandSpan.tsx +6 -23
- package/src/LinearGenomeView/components/SearchBox.tsx +3 -2
- package/src/LinearGenomeView/components/TrackLabel.tsx +74 -71
- package/src/LinearGenomeView/components/TracksContainer.tsx +8 -8
- package/src/LinearGenomeView/components/__snapshots__/LinearGenomeView.test.tsx.snap +7 -11
- package/src/LinearGenomeView/components/hooks.ts +7 -1
- package/src/LinearGenomeView/index.test.ts +3 -8
- package/src/LinearGenomeView/index.ts +8 -9
- package/src/LinearGenomeView/model.ts +31 -33
- package/src/LinearGenomeView/svgcomponents/SVGLinearGenomeView.tsx +5 -5
- package/src/LinearGenomeView/svgcomponents/SVGTrackLabel.tsx +2 -0
- package/src/LinearGenomeView/util.ts +1 -1
- package/src/index.ts +21 -31
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import Plugin from '@jbrowse/core/Plugin';
|
|
3
3
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
4
|
-
import { BaseLinearDisplay, BaseLinearDisplayComponent, BlockModel, BlockMsg, baseLinearDisplayConfigSchema } from './BaseLinearDisplay';
|
|
5
|
-
import { configSchemaFactory as linearBareDisplayConfigSchemaFactory } from './LinearBareDisplay';
|
|
6
|
-
import { LinearGenomeViewModel, LinearGenomeViewStateModel, RefNameAutocomplete, SearchBox } from './LinearGenomeView';
|
|
7
|
-
import { renderToSvg, totalHeight, SVGTracks, SVGRuler } from './LinearGenomeView/svgcomponents/SVGLinearGenomeView';
|
|
8
|
-
import { configSchema as linearBasicDisplayConfigSchemaFactory, modelFactory as linearBasicDisplayModelFactory } from './LinearBasicDisplay';
|
|
9
4
|
export default class LinearGenomeViewPlugin extends Plugin {
|
|
10
5
|
name: string;
|
|
11
6
|
exports: {
|
|
@@ -166,10 +161,10 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
166
161
|
message: string;
|
|
167
162
|
featureIdUnderMouse: string | undefined;
|
|
168
163
|
contextMenuFeature: import("@jbrowse/core/util").Feature | undefined;
|
|
169
|
-
|
|
170
|
-
|
|
164
|
+
estimatedRegionsStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats> | undefined;
|
|
165
|
+
estimatedRegionsStats: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined;
|
|
171
166
|
} & {
|
|
172
|
-
readonly height:
|
|
167
|
+
readonly height: number;
|
|
173
168
|
readonly blockType: "dynamicBlocks" | "staticBlocks";
|
|
174
169
|
readonly blockDefinitions: import("@jbrowse/core/util/blockTypes").BlockSet;
|
|
175
170
|
} & {
|
|
@@ -180,7 +175,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
180
175
|
} & {
|
|
181
176
|
readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util").Feature>;
|
|
182
177
|
readonly featureUnderMouse: import("@jbrowse/core/util").Feature | undefined;
|
|
183
|
-
getFeatureOverlapping(blockKey: string, x: number, y: number):
|
|
178
|
+
getFeatureOverlapping(blockKey: string, x: number, y: number): string | undefined;
|
|
184
179
|
getFeatureByID(blockKey: string, id: string): [number, number, number, number] | undefined;
|
|
185
180
|
searchFeatureByID(id: string): [number, number, number, number] | undefined;
|
|
186
181
|
readonly currentBytesRequested: number;
|
|
@@ -190,19 +185,16 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
190
185
|
readonly maxAllowableBytes: number;
|
|
191
186
|
} & {
|
|
192
187
|
setMessage(message: string): void;
|
|
188
|
+
} & {
|
|
193
189
|
afterAttach(): void;
|
|
194
|
-
estimateRegionsStats(
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
setRegionStatsP(p?: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats> | undefined): void;
|
|
200
|
-
setRegionStats(estimatedRegionStats?: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined): void;
|
|
201
|
-
clearRegionStats(): void;
|
|
202
|
-
setHeight(displayHeight: number): any;
|
|
190
|
+
estimateRegionsStats(): Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats>;
|
|
191
|
+
setRegionsStatsP(arg: any): void;
|
|
192
|
+
setRegionsStats(estimatedRegionsStats?: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined): void;
|
|
193
|
+
clearRegionsStats(): void;
|
|
194
|
+
setHeight(displayHeight: number): number;
|
|
203
195
|
resizeHeight(distance: number): number;
|
|
204
196
|
setScrollTop(scrollTop: number): void;
|
|
205
|
-
updateStatsLimit(stats
|
|
197
|
+
updateStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined): void;
|
|
206
198
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
207
199
|
setCurrBpPerPx(n: number): void;
|
|
208
200
|
deleteBlock(key: string): void;
|
|
@@ -216,18 +208,13 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
216
208
|
readonly regionTooLargeReason: string;
|
|
217
209
|
} & {
|
|
218
210
|
reload(): Promise<void>;
|
|
211
|
+
} & {
|
|
219
212
|
afterAttach(): void;
|
|
220
213
|
} & {
|
|
221
214
|
regionCannotBeRenderedText(_region: import("@jbrowse/core/util").Region): "" | "Force load to see features";
|
|
222
215
|
regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): JSX.Element | null;
|
|
223
216
|
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
224
|
-
contextMenuItems():
|
|
225
|
-
label: string;
|
|
226
|
-
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
227
|
-
muiName: string;
|
|
228
|
-
};
|
|
229
|
-
onClick: () => void;
|
|
230
|
-
}[];
|
|
217
|
+
contextMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
231
218
|
renderProps(): any;
|
|
232
219
|
} & {
|
|
233
220
|
renderSvg(opts: import("./LinearGenomeView").ExportSvgOptions & {
|
|
@@ -346,10 +333,10 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
346
333
|
message: string;
|
|
347
334
|
featureIdUnderMouse: string | undefined;
|
|
348
335
|
contextMenuFeature: import("@jbrowse/core/util").Feature | undefined;
|
|
349
|
-
|
|
350
|
-
|
|
336
|
+
estimatedRegionsStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats> | undefined;
|
|
337
|
+
estimatedRegionsStats: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined;
|
|
351
338
|
} & {
|
|
352
|
-
readonly height:
|
|
339
|
+
readonly height: number;
|
|
353
340
|
readonly blockType: "dynamicBlocks" | "staticBlocks";
|
|
354
341
|
readonly blockDefinitions: import("@jbrowse/core/util/blockTypes").BlockSet;
|
|
355
342
|
} & {
|
|
@@ -360,7 +347,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
360
347
|
} & {
|
|
361
348
|
readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util").Feature>;
|
|
362
349
|
readonly featureUnderMouse: import("@jbrowse/core/util").Feature | undefined;
|
|
363
|
-
getFeatureOverlapping(blockKey: string, x: number, y: number):
|
|
350
|
+
getFeatureOverlapping(blockKey: string, x: number, y: number): string | undefined;
|
|
364
351
|
getFeatureByID(blockKey: string, id: string): [number, number, number, number] | undefined;
|
|
365
352
|
searchFeatureByID(id: string): [number, number, number, number] | undefined;
|
|
366
353
|
readonly currentBytesRequested: number;
|
|
@@ -370,19 +357,16 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
370
357
|
readonly maxAllowableBytes: number;
|
|
371
358
|
} & {
|
|
372
359
|
setMessage(message: string): void;
|
|
360
|
+
} & {
|
|
373
361
|
afterAttach(): void;
|
|
374
|
-
estimateRegionsStats(
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
setRegionStatsP(p?: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats> | undefined): void;
|
|
380
|
-
setRegionStats(estimatedRegionStats?: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined): void;
|
|
381
|
-
clearRegionStats(): void;
|
|
382
|
-
setHeight(displayHeight: number): any;
|
|
362
|
+
estimateRegionsStats(): Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats>;
|
|
363
|
+
setRegionsStatsP(arg: any): void;
|
|
364
|
+
setRegionsStats(estimatedRegionsStats?: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined): void;
|
|
365
|
+
clearRegionsStats(): void;
|
|
366
|
+
setHeight(displayHeight: number): number;
|
|
383
367
|
resizeHeight(distance: number): number;
|
|
384
368
|
setScrollTop(scrollTop: number): void;
|
|
385
|
-
updateStatsLimit(stats
|
|
369
|
+
updateStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined): void;
|
|
386
370
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
387
371
|
setCurrBpPerPx(n: number): void;
|
|
388
372
|
deleteBlock(key: string): void;
|
|
@@ -396,18 +380,13 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
396
380
|
readonly regionTooLargeReason: string;
|
|
397
381
|
} & {
|
|
398
382
|
reload(): Promise<void>;
|
|
383
|
+
} & {
|
|
399
384
|
afterAttach(): void;
|
|
400
385
|
} & {
|
|
401
386
|
regionCannotBeRenderedText(_region: import("@jbrowse/core/util").Region): "" | "Force load to see features";
|
|
402
387
|
regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): JSX.Element | null;
|
|
403
388
|
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
404
|
-
contextMenuItems():
|
|
405
|
-
label: string;
|
|
406
|
-
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
407
|
-
muiName: string;
|
|
408
|
-
};
|
|
409
|
-
onClick: () => void;
|
|
410
|
-
}[];
|
|
389
|
+
contextMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
411
390
|
renderProps(): any;
|
|
412
391
|
} & {
|
|
413
392
|
renderSvg(opts: import("./LinearGenomeView").ExportSvgOptions & {
|
|
@@ -590,10 +569,10 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
590
569
|
message: string;
|
|
591
570
|
featureIdUnderMouse: string | undefined;
|
|
592
571
|
contextMenuFeature: import("@jbrowse/core/util").Feature | undefined;
|
|
593
|
-
|
|
594
|
-
|
|
572
|
+
estimatedRegionsStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats> | undefined;
|
|
573
|
+
estimatedRegionsStats: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined;
|
|
595
574
|
} & {
|
|
596
|
-
readonly height:
|
|
575
|
+
readonly height: number;
|
|
597
576
|
readonly blockType: "dynamicBlocks" | "staticBlocks";
|
|
598
577
|
readonly blockDefinitions: import("@jbrowse/core/util/blockTypes").BlockSet;
|
|
599
578
|
} & {
|
|
@@ -604,7 +583,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
604
583
|
} & {
|
|
605
584
|
readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util").Feature>;
|
|
606
585
|
readonly featureUnderMouse: import("@jbrowse/core/util").Feature | undefined;
|
|
607
|
-
getFeatureOverlapping(blockKey: string, x: number, y: number):
|
|
586
|
+
getFeatureOverlapping(blockKey: string, x: number, y: number): string | undefined;
|
|
608
587
|
getFeatureByID(blockKey: string, id: string): [number, number, number, number] | undefined;
|
|
609
588
|
searchFeatureByID(id: string): [number, number, number, number] | undefined;
|
|
610
589
|
readonly currentBytesRequested: number;
|
|
@@ -614,19 +593,16 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
614
593
|
readonly maxAllowableBytes: number;
|
|
615
594
|
} & {
|
|
616
595
|
setMessage(message: string): void;
|
|
596
|
+
} & {
|
|
617
597
|
afterAttach(): void;
|
|
618
|
-
estimateRegionsStats(
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
setRegionStatsP(p?: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats> | undefined): void;
|
|
624
|
-
setRegionStats(estimatedRegionStats?: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined): void;
|
|
625
|
-
clearRegionStats(): void;
|
|
626
|
-
setHeight(displayHeight: number): any;
|
|
598
|
+
estimateRegionsStats(): Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats>;
|
|
599
|
+
setRegionsStatsP(arg: any): void;
|
|
600
|
+
setRegionsStats(estimatedRegionsStats?: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined): void;
|
|
601
|
+
clearRegionsStats(): void;
|
|
602
|
+
setHeight(displayHeight: number): number;
|
|
627
603
|
resizeHeight(distance: number): number;
|
|
628
604
|
setScrollTop(scrollTop: number): void;
|
|
629
|
-
updateStatsLimit(stats
|
|
605
|
+
updateStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined): void;
|
|
630
606
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
631
607
|
setCurrBpPerPx(n: number): void;
|
|
632
608
|
deleteBlock(key: string): void;
|
|
@@ -640,18 +616,13 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
640
616
|
readonly regionTooLargeReason: string;
|
|
641
617
|
} & {
|
|
642
618
|
reload(): Promise<void>;
|
|
619
|
+
} & {
|
|
643
620
|
afterAttach(): void;
|
|
644
621
|
} & {
|
|
645
622
|
regionCannotBeRenderedText(_region: import("@jbrowse/core/util").Region): "" | "Force load to see features";
|
|
646
623
|
regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): JSX.Element | null;
|
|
647
624
|
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
648
|
-
contextMenuItems():
|
|
649
|
-
label: string;
|
|
650
|
-
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
651
|
-
muiName: string;
|
|
652
|
-
};
|
|
653
|
-
onClick: () => void;
|
|
654
|
-
}[];
|
|
625
|
+
contextMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
655
626
|
renderProps(): any;
|
|
656
627
|
} & {
|
|
657
628
|
renderSvg(opts: import("./LinearGenomeView").ExportSvgOptions & {
|
|
@@ -797,9 +768,9 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
797
768
|
readonly isSearchDialogDisplayed: boolean;
|
|
798
769
|
readonly scaleBarHeight: number;
|
|
799
770
|
readonly headerHeight: number;
|
|
800
|
-
readonly trackHeights:
|
|
801
|
-
readonly trackHeightsWithResizeHandles:
|
|
802
|
-
readonly height:
|
|
771
|
+
readonly trackHeights: number;
|
|
772
|
+
readonly trackHeightsWithResizeHandles: number;
|
|
773
|
+
readonly height: number;
|
|
803
774
|
readonly totalBp: number;
|
|
804
775
|
readonly maxBpPerPx: number;
|
|
805
776
|
readonly minBpPerPx: number;
|
|
@@ -826,7 +797,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
826
797
|
toggleNoTracksActive(): void;
|
|
827
798
|
toggleShowGridlines(): void;
|
|
828
799
|
scrollTo(offsetPx: number): number;
|
|
829
|
-
zoomTo(bpPerPx: number): number;
|
|
800
|
+
zoomTo(bpPerPx: number, offset?: number, centerAtOffset?: boolean): number;
|
|
830
801
|
setOffsets(left?: import("./LinearGenomeView").BpOffset | undefined, right?: import("./LinearGenomeView").BpOffset | undefined): void;
|
|
831
802
|
setSearchResults(results?: import("@jbrowse/core/TextSearch/BaseResults").default[] | undefined, query?: string | undefined): void;
|
|
832
803
|
setGetSequenceDialogOpen(open: boolean): void;
|
|
@@ -989,9 +960,9 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
989
960
|
readonly isSearchDialogDisplayed: boolean;
|
|
990
961
|
readonly scaleBarHeight: number;
|
|
991
962
|
readonly headerHeight: number;
|
|
992
|
-
readonly trackHeights:
|
|
993
|
-
readonly trackHeightsWithResizeHandles:
|
|
994
|
-
readonly height:
|
|
963
|
+
readonly trackHeights: number;
|
|
964
|
+
readonly trackHeightsWithResizeHandles: number;
|
|
965
|
+
readonly height: number;
|
|
995
966
|
readonly totalBp: number;
|
|
996
967
|
readonly maxBpPerPx: number;
|
|
997
968
|
readonly minBpPerPx: number;
|
|
@@ -1018,7 +989,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
1018
989
|
toggleNoTracksActive(): void;
|
|
1019
990
|
toggleShowGridlines(): void;
|
|
1020
991
|
scrollTo(offsetPx: number): number;
|
|
1021
|
-
zoomTo(bpPerPx: number): number;
|
|
992
|
+
zoomTo(bpPerPx: number, offset?: number, centerAtOffset?: boolean): number;
|
|
1022
993
|
setOffsets(left?: import("./LinearGenomeView").BpOffset | undefined, right?: import("./LinearGenomeView").BpOffset | undefined): void;
|
|
1023
994
|
setSearchResults(results?: import("@jbrowse/core/TextSearch/BaseResults").default[] | undefined, query?: string | undefined): void;
|
|
1024
995
|
setGetSequenceDialogOpen(open: boolean): void;
|
|
@@ -1191,9 +1162,9 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
1191
1162
|
readonly isSearchDialogDisplayed: boolean;
|
|
1192
1163
|
readonly scaleBarHeight: number;
|
|
1193
1164
|
readonly headerHeight: number;
|
|
1194
|
-
readonly trackHeights:
|
|
1195
|
-
readonly trackHeightsWithResizeHandles:
|
|
1196
|
-
readonly height:
|
|
1165
|
+
readonly trackHeights: number;
|
|
1166
|
+
readonly trackHeightsWithResizeHandles: number;
|
|
1167
|
+
readonly height: number;
|
|
1197
1168
|
readonly totalBp: number;
|
|
1198
1169
|
readonly maxBpPerPx: number;
|
|
1199
1170
|
readonly minBpPerPx: number;
|
|
@@ -1220,7 +1191,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
1220
1191
|
toggleNoTracksActive(): void;
|
|
1221
1192
|
toggleShowGridlines(): void;
|
|
1222
1193
|
scrollTo(offsetPx: number): number;
|
|
1223
|
-
zoomTo(bpPerPx: number): number;
|
|
1194
|
+
zoomTo(bpPerPx: number, offset?: number, centerAtOffset?: boolean): number;
|
|
1224
1195
|
setOffsets(left?: import("./LinearGenomeView").BpOffset | undefined, right?: import("./LinearGenomeView").BpOffset | undefined): void;
|
|
1225
1196
|
setSearchResults(results?: import("@jbrowse/core/TextSearch/BaseResults").default[] | undefined, query?: string | undefined): void;
|
|
1226
1197
|
setGetSequenceDialogOpen(open: boolean): void;
|
|
@@ -1383,9 +1354,9 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
1383
1354
|
readonly isSearchDialogDisplayed: boolean;
|
|
1384
1355
|
readonly scaleBarHeight: number;
|
|
1385
1356
|
readonly headerHeight: number;
|
|
1386
|
-
readonly trackHeights:
|
|
1387
|
-
readonly trackHeightsWithResizeHandles:
|
|
1388
|
-
readonly height:
|
|
1357
|
+
readonly trackHeights: number;
|
|
1358
|
+
readonly trackHeightsWithResizeHandles: number;
|
|
1359
|
+
readonly height: number;
|
|
1389
1360
|
readonly totalBp: number;
|
|
1390
1361
|
readonly maxBpPerPx: number;
|
|
1391
1362
|
readonly minBpPerPx: number;
|
|
@@ -1412,7 +1383,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
1412
1383
|
toggleNoTracksActive(): void;
|
|
1413
1384
|
toggleShowGridlines(): void;
|
|
1414
1385
|
scrollTo(offsetPx: number): number;
|
|
1415
|
-
zoomTo(bpPerPx: number): number;
|
|
1386
|
+
zoomTo(bpPerPx: number, offset?: number, centerAtOffset?: boolean): number;
|
|
1416
1387
|
setOffsets(left?: import("./LinearGenomeView").BpOffset | undefined, right?: import("./LinearGenomeView").BpOffset | undefined): void;
|
|
1417
1388
|
setSearchResults(results?: import("@jbrowse/core/TextSearch/BaseResults").default[] | undefined, query?: string | undefined): void;
|
|
1418
1389
|
setGetSequenceDialogOpen(open: boolean): void;
|
|
@@ -1585,9 +1556,9 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
1585
1556
|
readonly isSearchDialogDisplayed: boolean;
|
|
1586
1557
|
readonly scaleBarHeight: number;
|
|
1587
1558
|
readonly headerHeight: number;
|
|
1588
|
-
readonly trackHeights:
|
|
1589
|
-
readonly trackHeightsWithResizeHandles:
|
|
1590
|
-
readonly height:
|
|
1559
|
+
readonly trackHeights: number;
|
|
1560
|
+
readonly trackHeightsWithResizeHandles: number;
|
|
1561
|
+
readonly height: number;
|
|
1591
1562
|
readonly totalBp: number;
|
|
1592
1563
|
readonly maxBpPerPx: number;
|
|
1593
1564
|
readonly minBpPerPx: number;
|
|
@@ -1614,7 +1585,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
1614
1585
|
toggleNoTracksActive(): void;
|
|
1615
1586
|
toggleShowGridlines(): void;
|
|
1616
1587
|
scrollTo(offsetPx: number): number;
|
|
1617
|
-
zoomTo(bpPerPx: number): number;
|
|
1588
|
+
zoomTo(bpPerPx: number, offset?: number, centerAtOffset?: boolean): number;
|
|
1618
1589
|
setOffsets(left?: import("./LinearGenomeView").BpOffset | undefined, right?: import("./LinearGenomeView").BpOffset | undefined): void;
|
|
1619
1590
|
setSearchResults(results?: import("@jbrowse/core/TextSearch/BaseResults").default[] | undefined, query?: string | undefined): void;
|
|
1620
1591
|
setGetSequenceDialogOpen(open: boolean): void;
|
|
@@ -1777,9 +1748,9 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
1777
1748
|
readonly isSearchDialogDisplayed: boolean;
|
|
1778
1749
|
readonly scaleBarHeight: number;
|
|
1779
1750
|
readonly headerHeight: number;
|
|
1780
|
-
readonly trackHeights:
|
|
1781
|
-
readonly trackHeightsWithResizeHandles:
|
|
1782
|
-
readonly height:
|
|
1751
|
+
readonly trackHeights: number;
|
|
1752
|
+
readonly trackHeightsWithResizeHandles: number;
|
|
1753
|
+
readonly height: number;
|
|
1783
1754
|
readonly totalBp: number;
|
|
1784
1755
|
readonly maxBpPerPx: number;
|
|
1785
1756
|
readonly minBpPerPx: number;
|
|
@@ -1806,7 +1777,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
1806
1777
|
toggleNoTracksActive(): void;
|
|
1807
1778
|
toggleShowGridlines(): void;
|
|
1808
1779
|
scrollTo(offsetPx: number): number;
|
|
1809
|
-
zoomTo(bpPerPx: number): number;
|
|
1780
|
+
zoomTo(bpPerPx: number, offset?: number, centerAtOffset?: boolean): number;
|
|
1810
1781
|
setOffsets(left?: import("./LinearGenomeView").BpOffset | undefined, right?: import("./LinearGenomeView").BpOffset | undefined): void;
|
|
1811
1782
|
setSearchResults(results?: import("@jbrowse/core/TextSearch/BaseResults").default[] | undefined, query?: string | undefined): void;
|
|
1812
1783
|
setGetSequenceDialogOpen(open: boolean): void;
|
|
@@ -1908,6 +1879,9 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
1908
1879
|
install(pluginManager: PluginManager): void;
|
|
1909
1880
|
configure(pluginManager: PluginManager): void;
|
|
1910
1881
|
}
|
|
1911
|
-
export {
|
|
1912
|
-
export
|
|
1913
|
-
export
|
|
1882
|
+
export type { BaseLinearDisplayModel, BlockModel } from './BaseLinearDisplay';
|
|
1883
|
+
export { configSchemaFactory as linearBareDisplayConfigSchemaFactory } from './LinearBareDisplay';
|
|
1884
|
+
export { BlockMsg, baseLinearDisplayConfigSchema, BaseLinearDisplayComponent, BaseLinearDisplay, } from './BaseLinearDisplay';
|
|
1885
|
+
export { type LinearGenomeViewModel, RefNameAutocomplete, type LinearGenomeViewStateModel, SearchBox, } from './LinearGenomeView';
|
|
1886
|
+
export { renderToSvg, SVGTracks, totalHeight, SVGRuler, } from './LinearGenomeView/svgcomponents/SVGLinearGenomeView';
|
|
1887
|
+
export { configSchema as linearBasicDisplayConfigSchemaFactory, modelFactory as linearBasicDisplayModelFactory, } from './LinearBasicDisplay';
|
package/dist/index.js
CHANGED
|
@@ -26,30 +26,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.linearBasicDisplayModelFactory = exports.linearBasicDisplayConfigSchemaFactory = exports.SVGRuler = exports.totalHeight = exports.SVGTracks = exports.renderToSvg = exports.SearchBox = exports.RefNameAutocomplete = exports.BaseLinearDisplay = exports.BaseLinearDisplayComponent = exports.baseLinearDisplayConfigSchema = exports.BlockMsg = exports.linearBareDisplayConfigSchemaFactory = void 0;
|
|
30
30
|
const Plugin_1 = __importDefault(require("@jbrowse/core/Plugin"));
|
|
31
31
|
const util_1 = require("@jbrowse/core/util");
|
|
32
32
|
// icons
|
|
33
33
|
const LineStyle_1 = __importDefault(require("@mui/icons-material/LineStyle"));
|
|
34
34
|
// locals
|
|
35
35
|
const BaseLinearDisplay_1 = require("./BaseLinearDisplay");
|
|
36
|
-
|
|
37
|
-
Object.defineProperty(exports, "BaseLinearDisplayComponent", { enumerable: true, get: function () { return BaseLinearDisplay_1.BaseLinearDisplayComponent; } });
|
|
38
|
-
Object.defineProperty(exports, "BlockMsg", { enumerable: true, get: function () { return BaseLinearDisplay_1.BlockMsg; } });
|
|
39
|
-
Object.defineProperty(exports, "baseLinearDisplayConfigSchema", { enumerable: true, get: function () { return BaseLinearDisplay_1.baseLinearDisplayConfigSchema; } });
|
|
40
|
-
const LinearBareDisplay_1 = __importStar(require("./LinearBareDisplay"));
|
|
41
|
-
Object.defineProperty(exports, "linearBareDisplayConfigSchemaFactory", { enumerable: true, get: function () { return LinearBareDisplay_1.configSchemaFactory; } });
|
|
36
|
+
const LinearBareDisplay_1 = __importDefault(require("./LinearBareDisplay"));
|
|
42
37
|
const LinearGenomeView_1 = __importStar(require("./LinearGenomeView"));
|
|
43
|
-
|
|
44
|
-
Object.defineProperty(exports, "SearchBox", { enumerable: true, get: function () { return LinearGenomeView_1.SearchBox; } });
|
|
45
|
-
const SVGLinearGenomeView_1 = require("./LinearGenomeView/svgcomponents/SVGLinearGenomeView");
|
|
46
|
-
Object.defineProperty(exports, "renderToSvg", { enumerable: true, get: function () { return SVGLinearGenomeView_1.renderToSvg; } });
|
|
47
|
-
Object.defineProperty(exports, "totalHeight", { enumerable: true, get: function () { return SVGLinearGenomeView_1.totalHeight; } });
|
|
48
|
-
Object.defineProperty(exports, "SVGTracks", { enumerable: true, get: function () { return SVGLinearGenomeView_1.SVGTracks; } });
|
|
49
|
-
Object.defineProperty(exports, "SVGRuler", { enumerable: true, get: function () { return SVGLinearGenomeView_1.SVGRuler; } });
|
|
50
|
-
const LinearBasicDisplay_1 = __importStar(require("./LinearBasicDisplay"));
|
|
51
|
-
Object.defineProperty(exports, "linearBasicDisplayConfigSchemaFactory", { enumerable: true, get: function () { return LinearBasicDisplay_1.configSchema; } });
|
|
52
|
-
Object.defineProperty(exports, "linearBasicDisplayModelFactory", { enumerable: true, get: function () { return LinearBasicDisplay_1.modelFactory; } });
|
|
38
|
+
const LinearBasicDisplay_1 = __importDefault(require("./LinearBasicDisplay"));
|
|
53
39
|
const FeatureTrack_1 = __importDefault(require("./FeatureTrack"));
|
|
54
40
|
const BasicTrack_1 = __importDefault(require("./BasicTrack"));
|
|
55
41
|
const LaunchLinearGenomeView_1 = __importDefault(require("./LaunchLinearGenomeView"));
|
|
@@ -87,4 +73,22 @@ class LinearGenomeViewPlugin extends Plugin_1.default {
|
|
|
87
73
|
}
|
|
88
74
|
}
|
|
89
75
|
exports.default = LinearGenomeViewPlugin;
|
|
76
|
+
var LinearBareDisplay_2 = require("./LinearBareDisplay");
|
|
77
|
+
Object.defineProperty(exports, "linearBareDisplayConfigSchemaFactory", { enumerable: true, get: function () { return LinearBareDisplay_2.configSchemaFactory; } });
|
|
78
|
+
var BaseLinearDisplay_2 = require("./BaseLinearDisplay");
|
|
79
|
+
Object.defineProperty(exports, "BlockMsg", { enumerable: true, get: function () { return BaseLinearDisplay_2.BlockMsg; } });
|
|
80
|
+
Object.defineProperty(exports, "baseLinearDisplayConfigSchema", { enumerable: true, get: function () { return BaseLinearDisplay_2.baseLinearDisplayConfigSchema; } });
|
|
81
|
+
Object.defineProperty(exports, "BaseLinearDisplayComponent", { enumerable: true, get: function () { return BaseLinearDisplay_2.BaseLinearDisplayComponent; } });
|
|
82
|
+
Object.defineProperty(exports, "BaseLinearDisplay", { enumerable: true, get: function () { return BaseLinearDisplay_2.BaseLinearDisplay; } });
|
|
83
|
+
var LinearGenomeView_2 = require("./LinearGenomeView");
|
|
84
|
+
Object.defineProperty(exports, "RefNameAutocomplete", { enumerable: true, get: function () { return LinearGenomeView_2.RefNameAutocomplete; } });
|
|
85
|
+
Object.defineProperty(exports, "SearchBox", { enumerable: true, get: function () { return LinearGenomeView_2.SearchBox; } });
|
|
86
|
+
var SVGLinearGenomeView_1 = require("./LinearGenomeView/svgcomponents/SVGLinearGenomeView");
|
|
87
|
+
Object.defineProperty(exports, "renderToSvg", { enumerable: true, get: function () { return SVGLinearGenomeView_1.renderToSvg; } });
|
|
88
|
+
Object.defineProperty(exports, "SVGTracks", { enumerable: true, get: function () { return SVGLinearGenomeView_1.SVGTracks; } });
|
|
89
|
+
Object.defineProperty(exports, "totalHeight", { enumerable: true, get: function () { return SVGLinearGenomeView_1.totalHeight; } });
|
|
90
|
+
Object.defineProperty(exports, "SVGRuler", { enumerable: true, get: function () { return SVGLinearGenomeView_1.SVGRuler; } });
|
|
91
|
+
var LinearBasicDisplay_2 = require("./LinearBasicDisplay");
|
|
92
|
+
Object.defineProperty(exports, "linearBasicDisplayConfigSchemaFactory", { enumerable: true, get: function () { return LinearBasicDisplay_2.configSchema; } });
|
|
93
|
+
Object.defineProperty(exports, "linearBasicDisplayModelFactory", { enumerable: true, get: function () { return LinearBasicDisplay_2.modelFactory; } });
|
|
90
94
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kEAAyC;AAEzC,6CAAgF;AAEhF,QAAQ;AACR,8EAAyD;AAEzD,SAAS;AACT,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kEAAyC;AAEzC,6CAAgF;AAEhF,QAAQ;AACR,8EAAyD;AAEzD,SAAS;AACT,2DAI4B;AAC5B,4EAAoD;AACpD,uEAI2B;AAE3B,8EAAsD;AAEtD,kEAA0C;AAC1C,8DAAsC;AACtC,sFAA8D;AAE9D,MAAqB,sBAAuB,SAAQ,gBAAM;IAA1D;;QACE,SAAI,GAAG,wBAAwB,CAAA;QAE/B,YAAO,GAAG;YACR,0BAA0B,EAA1B,8CAA0B;YAC1B,iBAAiB,EAAjB,qCAAiB;YACjB,6BAA6B,EAA7B,iDAA6B;YAC7B,SAAS,EAAT,4BAAS;YACT,YAAY,EAAZ,+BAAY;YACZ,gBAAgB,EAAhB,mCAAgB;SACjB,CAAA;IAsBH,CAAC;IApBC,OAAO,CAAC,aAA4B;QAClC,IAAA,sBAAa,EAAC,aAAa,CAAC,CAAA;QAC5B,IAAA,oBAAW,EAAC,aAAa,CAAC,CAAA;QAC1B,IAAA,4BAAmB,EAAC,aAAa,CAAC,CAAA;QAClC,IAAA,0BAAiB,EAAC,aAAa,CAAC,CAAA;QAChC,IAAA,2BAAkB,EAAC,aAAa,CAAC,CAAA;QACjC,IAAA,gCAAuB,EAAC,aAAa,CAAC,CAAA;IACxC,CAAC;IAED,SAAS,CAAC,aAA4B;QACpC,IAAI,IAAA,4BAAqB,EAAC,aAAa,CAAC,SAAS,CAAC,EAAE;YAClD,aAAa,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC,KAAK,CAAC,EAAE;gBAC/C,KAAK,EAAE,oBAAoB;gBAC3B,IAAI,EAAE,mBAAa;gBACnB,OAAO,EAAE,CAAC,OAA6B,EAAE,EAAE;oBACzC,OAAO,CAAC,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAAA;gBACzC,CAAC;aACF,CAAC,CAAA;SACH;IACH,CAAC;CACF;AAhCD,yCAgCC;AAID,yDAAiG;AAAxF,yIAAA,mBAAmB,OAAwC;AACpE,yDAK4B;AAJ1B,6GAAA,QAAQ,OAAA;AACR,kIAAA,6BAA6B,OAAA;AAC7B,+HAAA,0BAA0B,OAAA;AAC1B,sHAAA,iBAAiB,OAAA;AAEnB,uDAK2B;AAHzB,uHAAA,mBAAmB,OAAA;AAEnB,6GAAA,SAAS,OAAA;AAEX,4FAK6D;AAJ3D,kHAAA,WAAW,OAAA;AACX,gHAAA,SAAS,OAAA;AACT,kHAAA,WAAW,OAAA;AACX,+GAAA,QAAQ,OAAA;AAEV,2DAG6B;AAF3B,2IAAA,YAAY,OAAyC;AACrD,oIAAA,YAAY,OAAkC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import Tooltip from './Tooltip';
|
|
3
|
-
import BlockMsg from './BlockMsg';
|
|
4
2
|
import { BaseLinearDisplayModel } from '../models/BaseLinearDisplayModel';
|
|
5
3
|
declare const BaseLinearDisplay: (props: {
|
|
6
4
|
model: BaseLinearDisplayModel;
|
|
7
5
|
children?: React.ReactNode;
|
|
8
6
|
}) => JSX.Element;
|
|
9
7
|
export default BaseLinearDisplay;
|
|
10
|
-
export { Tooltip
|
|
8
|
+
export { default as Tooltip } from './Tooltip';
|
|
9
|
+
export { default as BlockMsg } from './BlockMsg';
|
|
@@ -5,8 +5,6 @@ import { makeStyles } from 'tss-react/mui';
|
|
|
5
5
|
import { getConf } from '@jbrowse/core/configuration';
|
|
6
6
|
import { Menu } from '@jbrowse/core/ui';
|
|
7
7
|
// locals
|
|
8
|
-
import Tooltip from './Tooltip';
|
|
9
|
-
import BlockMsg from './BlockMsg';
|
|
10
8
|
import LinearBlocks from './LinearBlocks';
|
|
11
9
|
const useStyles = makeStyles()({
|
|
12
10
|
display: {
|
|
@@ -65,5 +63,6 @@ const BaseLinearDisplay = observer(function (props) {
|
|
|
65
63
|
: undefined, style: { zIndex: theme.zIndex.tooltip }, menuItems: contextMenuItems() })));
|
|
66
64
|
});
|
|
67
65
|
export default BaseLinearDisplay;
|
|
68
|
-
export { Tooltip
|
|
66
|
+
export { default as Tooltip } from './Tooltip';
|
|
67
|
+
export { default as BlockMsg } from './BlockMsg';
|
|
69
68
|
//# sourceMappingURL=BaseLinearDisplay.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseLinearDisplay.js","sourceRoot":"","sources":["../../../src/BaseLinearDisplay/components/BaseLinearDisplay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAA;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAEvC,SAAS;
|
|
1
|
+
{"version":3,"file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LinearDisplayModel } from '../models/BaseLinearDisplayModel';
|
|
3
3
|
declare const useStyles: (params: void, styleOverrides?: {
|
|
4
|
-
props:
|
|
5
|
-
classes?: Record<string, string> | undefined;
|
|
6
|
-
} & Record<string, unknown>;
|
|
4
|
+
props: any;
|
|
7
5
|
ownerState?: Record<string, unknown> | undefined;
|
|
8
6
|
} | undefined) => {
|
|
9
7
|
classes: Record<"linearBlocks" | "heightOverflowed", string>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { makeStyles } from 'tss-react/mui';
|
|
3
3
|
import { observer } from 'mobx-react';
|
|
4
4
|
import { getParent } from 'mobx-state-tree';
|
|
@@ -20,40 +20,28 @@ const useStyles = makeStyles()(theme => {
|
|
|
20
20
|
});
|
|
21
21
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
22
22
|
const LoadingMessage = observer(({ model }) => {
|
|
23
|
-
// only show the loading message after 300ms to prevent excessive flickering
|
|
24
|
-
const [shown, setShown] = useState(false);
|
|
25
23
|
const { classes } = useStyles();
|
|
26
|
-
useEffect(() => {
|
|
27
|
-
let killed = false;
|
|
28
|
-
const timeout = setTimeout(() => {
|
|
29
|
-
if (!killed) {
|
|
30
|
-
setShown(true);
|
|
31
|
-
}
|
|
32
|
-
}, 300);
|
|
33
|
-
return () => {
|
|
34
|
-
clearTimeout(timeout);
|
|
35
|
-
killed = true;
|
|
36
|
-
};
|
|
37
|
-
}, []);
|
|
38
24
|
const { status: blockStatus } = model;
|
|
39
25
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
40
26
|
const { message: displayStatus } = getParent(model, 2);
|
|
41
27
|
const status = displayStatus || blockStatus;
|
|
42
|
-
return (React.createElement(
|
|
43
|
-
React.createElement(LoadingEllipses, { message: status })))
|
|
28
|
+
return (React.createElement("div", { className: classes.loading },
|
|
29
|
+
React.createElement(LoadingEllipses, { message: status })));
|
|
44
30
|
});
|
|
45
31
|
const ServerSideRenderedBlockContent = observer(function ({ model, }) {
|
|
46
32
|
if (model.error) {
|
|
47
33
|
return (React.createElement(BlockMsg, { message: `${model.error}`, severity: "error", buttonText: "reload", icon: React.createElement(RefreshIcon, null), action: model.reload }));
|
|
48
34
|
}
|
|
49
|
-
if (model.message) {
|
|
35
|
+
else if (model.message) {
|
|
50
36
|
// the message can be a fully rendered react component, e.g. the region too large message
|
|
51
37
|
return React.isValidElement(model.message) ? (model.message) : (React.createElement(BlockMsg, { message: `${model.message}`, severity: "info" }));
|
|
52
38
|
}
|
|
53
|
-
if (!model.filled) {
|
|
39
|
+
else if (!model.filled) {
|
|
54
40
|
return React.createElement(LoadingMessage, { model: model });
|
|
55
41
|
}
|
|
56
|
-
|
|
42
|
+
else {
|
|
43
|
+
return model.reactElement;
|
|
44
|
+
}
|
|
57
45
|
});
|
|
58
46
|
export default ServerSideRenderedBlockContent;
|
|
59
47
|
//# sourceMappingURL=ServerSideRenderedBlockContent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerSideRenderedBlockContent.js","sourceRoot":"","sources":["../../../src/BaseLinearDisplay/components/ServerSideRenderedBlockContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"ServerSideRenderedBlockContent.js","sourceRoot":"","sources":["../../../src/BaseLinearDisplay/components/ServerSideRenderedBlockContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAElD,QAAQ;AACR,OAAO,WAAW,MAAM,6BAA6B,CAAA;AAErD,SAAS;AACT,OAAO,QAAQ,MAAM,YAAY,CAAA;AAEjC,MAA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;QACzF,OAAO,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAC3C,KAAK,CAAC,OAAO,CACd,CAAC,CAAC,CAAC,CACF,oBAAC,QAAQ,IAAC,OAAO,EAAE,GAAG,KAAK,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAC,MAAM,GAAG,CAC1D,CAAA;KACF;SAAM,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE;QACxB,OAAO,oBAAC,cAAc,IAAC,KAAK,EAAE,KAAK,GAAI,CAAA;KACxC;SAAM;QACL,OAAO,KAAK,CAAC,YAAY,CAAA;KAC1B;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,8BAA8B,CAAA"}
|
|
@@ -3,8 +3,8 @@ import { Stats } from '@jbrowse/core/data_adapters/BaseAdapter';
|
|
|
3
3
|
declare function TooLargeMessage({ model, }: {
|
|
4
4
|
model: {
|
|
5
5
|
regionTooLargeReason: string;
|
|
6
|
-
|
|
7
|
-
updateStatsLimit: (s
|
|
6
|
+
estimatedRegionsStats?: Stats;
|
|
7
|
+
updateStatsLimit: (s?: Stats) => void;
|
|
8
8
|
reload: () => void;
|
|
9
9
|
};
|
|
10
10
|
}): JSX.Element;
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
// locals
|
|
2
3
|
import BlockMsg from '../components/BlockMsg';
|
|
3
4
|
function TooLargeMessage({ model, }) {
|
|
4
5
|
const { regionTooLargeReason } = model;
|
|
5
6
|
return (React.createElement(BlockMsg, { severity: "warning", action: () => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
else {
|
|
10
|
-
model.updateStatsLimit(model.estimatedRegionStats);
|
|
11
|
-
model.reload();
|
|
12
|
-
}
|
|
13
|
-
}, buttonText: "Force load", message: `${regionTooLargeReason ? regionTooLargeReason + '. ' : ''}
|
|
7
|
+
model.updateStatsLimit(model.estimatedRegionsStats);
|
|
8
|
+
model.reload();
|
|
9
|
+
}, buttonText: "Force load", message: `${regionTooLargeReason ? `${regionTooLargeReason}. ` : ''}
|
|
14
10
|
Zoom in to see features or force load (may be slow).` }));
|
|
15
11
|
}
|
|
16
12
|
export default TooLargeMessage;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TooLargeMessage.js","sourceRoot":"","sources":["../../../src/BaseLinearDisplay/components/TooLargeMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"TooLargeMessage.js","sourceRoot":"","sources":["../../../src/BaseLinearDisplay/components/TooLargeMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,SAAS;AACT,OAAO,QAAQ,MAAM,wBAAwB,CAAA;AAE7C,SAAS,eAAe,CAAC,EACvB,KAAK,GAQN;IACC,MAAM,EAAE,oBAAoB,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,oBAAC,QAAQ,IACP,QAAQ,EAAC,SAAS,EAClB,MAAM,EAAE,GAAG,EAAE;YACX,KAAK,CAAC,gBAAgB,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAA;YACnD,KAAK,CAAC,MAAM,EAAE,CAAA;QAChB,CAAC,EACD,UAAU,EAAC,YAAY,EACvB,OAAO,EAAE,GAAG,oBAAoB,CAAC,CAAC,CAAC,GAAG,oBAAoB,IAAI,CAAC,CAAC,CAAC,EAAE;2DACd,GACrD,CACH,CAAA;AACH,CAAC;AAED,eAAe,eAAe,CAAA"}
|