@jbrowse/core 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/BaseFeatureWidget/BaseFeatureDetail.d.ts +20 -4
- package/BaseFeatureWidget/BaseFeatureDetail.js +313 -558
- package/BaseFeatureWidget/SequenceFeatureDetails.js +213 -473
- package/BaseFeatureWidget/index.d.ts +2 -2
- package/BaseFeatureWidget/index.js +88 -124
- package/BaseFeatureWidget/types.d.ts +1 -0
- package/BaseFeatureWidget/types.js +1 -4
- package/BaseFeatureWidget/util.js +40 -75
- package/CorePlugin.js +55 -94
- package/Plugin.js +9 -34
- package/PluginLoader.js +153 -422
- package/PluginManager.d.ts +84 -117
- package/PluginManager.js +377 -666
- package/ReExports/Attributes.d.ts +2 -0
- package/ReExports/Attributes.js +5 -0
- package/ReExports/BaseCard.d.ts +2 -0
- package/ReExports/BaseCard.js +5 -0
- package/ReExports/DataGrid.d.ts +2 -0
- package/ReExports/DataGrid.js +6 -0
- package/ReExports/FeatureDetails.d.ts +2 -0
- package/ReExports/FeatureDetails.js +5 -0
- package/ReExports/index.js +6 -12
- package/ReExports/list.d.ts +5 -0
- package/ReExports/list.js +271 -7
- package/ReExports/material-ui-colors.d.ts +1 -19
- package/ReExports/material-ui-colors.js +16 -158
- package/ReExports/modules.d.ts +68 -109
- package/ReExports/modules.js +455 -244
- package/TextSearch/BaseResults.js +51 -123
- package/TextSearch/TextSearchManager.d.ts +3 -1
- package/TextSearch/TextSearchManager.js +66 -144
- package/assemblyManager/assembly.js +280 -554
- package/assemblyManager/assemblyConfigSchema.js +47 -64
- package/assemblyManager/assemblyManager.d.ts +12 -10
- package/assemblyManager/assemblyManager.js +126 -270
- package/assemblyManager/index.js +9 -22
- package/configuration/configurationSchema.js +167 -203
- package/configuration/configurationSlot.js +248 -326
- package/configuration/index.js +19 -35
- package/configuration/util.d.ts +1 -1
- package/configuration/util.js +131 -173
- package/data_adapters/BaseAdapter.d.ts +2 -2
- package/data_adapters/BaseAdapter.js +132 -521
- package/data_adapters/CytobandAdapter.js +40 -126
- package/data_adapters/dataAdapterCache.js +77 -158
- package/package.json +16 -18
- package/pluggableElementTypes/AdapterType.js +24 -79
- package/pluggableElementTypes/AddTrackWorkflowType.d.ts +17 -0
- package/pluggableElementTypes/AddTrackWorkflowType.js +20 -0
- package/pluggableElementTypes/ConnectionType.js +22 -65
- package/pluggableElementTypes/DisplayType.js +35 -82
- package/pluggableElementTypes/InternetAccountType.js +23 -64
- package/pluggableElementTypes/PluggableElementBase.js +8 -20
- package/pluggableElementTypes/RpcMethodType.js +85 -427
- package/pluggableElementTypes/TextSearchAdapterType.js +16 -55
- package/pluggableElementTypes/TrackType.js +26 -70
- package/pluggableElementTypes/ViewType.js +21 -63
- package/pluggableElementTypes/WidgetType.js +21 -64
- package/pluggableElementTypes/index.d.ts +4 -3
- package/pluggableElementTypes/index.js +42 -125
- package/pluggableElementTypes/models/BaseConnectionModelFactory.js +28 -43
- package/pluggableElementTypes/models/BaseDisplayModel.d.ts +10 -10
- package/pluggableElementTypes/models/BaseDisplayModel.js +58 -95
- package/pluggableElementTypes/models/BaseTrackModel.d.ts +1 -1
- package/pluggableElementTypes/models/BaseTrackModel.js +139 -200
- package/pluggableElementTypes/models/BaseViewModel.js +24 -40
- package/pluggableElementTypes/models/InternetAccountModel.js +116 -263
- package/pluggableElementTypes/models/baseConnectionConfig.js +14 -25
- package/pluggableElementTypes/models/baseInternetAccountConfig.js +29 -38
- package/pluggableElementTypes/models/baseTrackConfig.js +106 -133
- package/pluggableElementTypes/models/index.js +21 -70
- package/pluggableElementTypes/renderers/BoxRendererType.js +132 -291
- package/pluggableElementTypes/renderers/CircularChordRendererType.js +8 -38
- package/pluggableElementTypes/renderers/ComparativeServerSideRendererType.js +60 -192
- package/pluggableElementTypes/renderers/FeatureRendererType.d.ts +0 -2
- package/pluggableElementTypes/renderers/FeatureRendererType.js +89 -255
- package/pluggableElementTypes/renderers/RendererType.js +31 -105
- package/pluggableElementTypes/renderers/ServerSideRenderedContent.js +61 -72
- package/pluggableElementTypes/renderers/ServerSideRendererType.d.ts +2 -2
- package/pluggableElementTypes/renderers/ServerSideRendererType.js +112 -265
- package/pluggableElementTypes/renderers/index.js +19 -62
- package/pluggableElementTypes/renderers/util/serializableFilterChain.js +27 -65
- package/rpc/BaseRpcDriver.js +169 -405
- package/rpc/MainThreadRpcDriver.js +27 -150
- package/rpc/RpcManager.js +58 -159
- package/rpc/WebWorkerRpcDriver.js +54 -171
- package/rpc/configSchema.js +25 -49
- package/rpc/coreRpcMethods.d.ts +1 -3
- package/rpc/coreRpcMethods.js +221 -959
- package/rpc/remoteAbortSignals.js +46 -70
- package/tsconfig.build.tsbuildinfo +1 -1
- package/ui/AboutDialog.js +107 -158
- package/ui/App.js +157 -261
- package/ui/AssemblySelector.d.ts +1 -1
- package/ui/AssemblySelector.js +59 -115
- package/ui/CascadingMenu.js +100 -199
- package/ui/ColorPicker.d.ts +16 -0
- package/ui/ColorPicker.js +97 -0
- package/ui/Drawer.js +28 -58
- package/ui/DrawerWidget.js +109 -209
- package/ui/DropDownMenu.d.ts +0 -8
- package/ui/DropDownMenu.js +60 -97
- package/ui/EditableTypography.d.ts +1 -1
- package/ui/EditableTypography.js +87 -155
- package/ui/ErrorMessage.js +41 -66
- package/ui/FactoryResetDialog.js +24 -57
- package/ui/FatalErrorDialog.js +59 -91
- package/ui/FileSelector/FileSelector.js +123 -189
- package/ui/FileSelector/LocalFileChooser.js +44 -71
- package/ui/FileSelector/UrlChooser.js +17 -38
- package/ui/FileSelector/index.js +6 -12
- package/ui/Icons.d.ts +1 -1
- package/ui/Icons.js +45 -69
- package/ui/Logo.js +57 -110
- package/ui/Menu.d.ts +1 -1
- package/ui/Menu.js +232 -355
- package/ui/PrerenderedCanvas.js +63 -78
- package/ui/ResizeHandle.js +87 -114
- package/ui/ReturnToImportFormDialog.js +32 -59
- package/ui/SanitizedHTML.js +63 -52
- package/ui/Snackbar.js +74 -99
- package/ui/SnackbarModel.js +37 -51
- package/ui/Tooltip.d.ts +3 -1
- package/ui/Tooltip.js +49 -74
- package/ui/ViewContainer.js +113 -183
- package/ui/colors.d.ts +10 -0
- package/ui/colors.js +78 -0
- package/ui/index.js +51 -181
- package/ui/react-colorful.d.ts +17 -0
- package/ui/react-colorful.js +455 -0
- package/ui/theme.d.ts +279 -131
- package/ui/theme.js +197 -225
- package/util/Base1DUtils.d.ts +32 -0
- package/util/Base1DUtils.js +174 -0
- package/util/Base1DViewModel.d.ts +16 -37
- package/util/Base1DViewModel.js +116 -295
- package/util/QuickLRU.js +84 -332
- package/util/TimeTraveller.d.ts +19 -0
- package/util/TimeTraveller.js +86 -0
- package/util/aborting.js +49 -127
- package/util/analytics.js +91 -154
- package/util/blockTypes.js +106 -240
- package/util/calculateDynamicBlocks.js +98 -128
- package/util/calculateStaticBlocks.js +105 -125
- package/util/color/cssColorsLevel4.js +156 -160
- package/util/color/index.js +33 -55
- package/util/compositeMap.js +49 -333
- package/util/formatFastaStrings.js +9 -14
- package/util/idMaker.js +18 -31
- package/util/index.d.ts +18 -39
- package/util/index.js +743 -1236
- package/util/io/RemoteFileWithRangeCache.js +88 -257
- package/util/io/index.js +95 -169
- package/util/jexl.js +60 -115
- package/util/jexlStrings.js +24 -29
- package/util/layouts/BaseLayout.js +1 -4
- package/util/layouts/GranularRectLayout.js +388 -557
- package/util/layouts/MultiLayout.js +41 -109
- package/util/layouts/PrecomputedLayout.js +56 -114
- package/util/layouts/PrecomputedMultiLayout.js +22 -59
- package/util/layouts/SceneGraph.js +127 -197
- package/util/layouts/index.js +29 -66
- package/util/mst-reflection.js +55 -71
- package/util/offscreenCanvasPonyfill.js +66 -134
- package/util/offscreenCanvasUtils.d.ts +2 -7
- package/util/offscreenCanvasUtils.js +49 -146
- package/util/range.js +29 -40
- package/util/rxjs.js +20 -27
- package/util/simpleFeature.js +88 -152
- package/util/stats.js +91 -151
- package/util/tracks.js +130 -171
- package/util/types/index.d.ts +3 -3
- package/util/types/index.js +110 -179
- package/util/types/mst.d.ts +3 -3
- package/util/types/mst.js +91 -142
- package/util/types/util.js +1 -4
- package/util/when.js +54 -101
- package/BaseFeatureWidget/SequenceFeatureDetails.test.js +0 -122
- package/BaseFeatureWidget/index.test.js +0 -51
- package/TextSearch/BaseResults.test.js +0 -42
- package/configuration/configurationSchema.test.js +0 -266
- package/configuration/configurationSlot.test.js +0 -69
- package/configuration/util.test.js +0 -39
- package/data_adapters/BaseAdapter.test.js +0 -200
- package/declare.d.js +0 -1
- package/pluggableElementTypes/RpcMethodType.test.js +0 -118
- package/pluggableElementTypes/renderers/declare.d.js +0 -1
- package/pluggableElementTypes/renderers/util/serializableFilterChain.test.js +0 -20
- package/rpc/BaseRpcDriver.test.js +0 -540
- package/rpc/declaration.d.js +0 -1
- package/ui/FatalErrorDialog.test.js +0 -82
- package/ui/SanitizedHTML.test.js +0 -36
- package/ui/theme.test.js +0 -111
- package/util/Base1DViewModel.test.js +0 -130
- package/util/calculateDynamicBlocks.test.js +0 -74
- package/util/calculateStaticBlocks.test.js +0 -297
- package/util/declare.d.js +0 -1
- package/util/formatFastaStrings.test.js +0 -40
- package/util/index.test.js +0 -213
- package/util/jexlStrings.test.js +0 -48
- package/util/layouts/GranularRectLayout.test.js +0 -99
- package/util/range.test.js +0 -64
- package/util/simpleFeature.test.js +0 -34
- package/util/stats.test.js +0 -172
package/ReExports/modules.d.ts
CHANGED
|
@@ -4,13 +4,10 @@ import * as mobx from 'mobx';
|
|
|
4
4
|
import * as mst from 'mobx-state-tree';
|
|
5
5
|
import * as mxreact from 'mobx-react';
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
|
-
import * as MUIStyles from '@material
|
|
8
|
-
import * as
|
|
9
|
-
import
|
|
10
|
-
import * as MUILab from '@material-ui/lab';
|
|
11
|
-
import * as MUIDataGrid from '@mui/x-data-grid';
|
|
7
|
+
import * as MUIStyles from '@mui/material/styles';
|
|
8
|
+
import * as MUIUtils from '@mui/material/utils';
|
|
9
|
+
import { useGridApiContext } from '@mui/x-data-grid';
|
|
12
10
|
import * as BaseAdapterExports from '../data_adapters/BaseAdapter';
|
|
13
|
-
import * as BaseFeatureDetail from '../BaseFeatureWidget/BaseFeatureDetail';
|
|
14
11
|
import * as pluggableElementTypes from '../pluggableElementTypes';
|
|
15
12
|
import * as pluggableElementTypeModels from '../pluggableElementTypes/models';
|
|
16
13
|
import * as ServerSideRendererType from '../pluggableElementTypes/renderers/ServerSideRendererType';
|
|
@@ -27,91 +24,18 @@ import * as trackUtils from '../util/tracks';
|
|
|
27
24
|
import * as coreIo from '../util/io';
|
|
28
25
|
import * as coreMstReflection from '../util/mst-reflection';
|
|
29
26
|
import * as rxjs from '../util/rxjs';
|
|
30
|
-
import * as MUIColors from './material-ui-colors';
|
|
31
27
|
import * as mstTypes from '../util/types/mst';
|
|
32
28
|
declare const libs: {
|
|
33
|
-
|
|
34
|
-
'
|
|
35
|
-
|
|
36
|
-
'
|
|
37
|
-
'
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
'@mui/x-data-grid': typeof MUIDataGrid;
|
|
44
|
-
'@material-ui/data-grid': typeof MUIDataGrid;
|
|
45
|
-
'@material-ui/core/colors': typeof MUIColors;
|
|
46
|
-
'@material-ui/core/styles': typeof MUIStyles;
|
|
47
|
-
'@material-ui/core/Box': React.ComponentType<MUICore.BoxProps>;
|
|
48
|
-
'@material-ui/core/Button': MUICore.ExtendButtonBase<MUICore.ButtonTypeMap<{}, "button">>;
|
|
49
|
-
'@material-ui/core/ButtonGroup': import("@material-ui/core/OverridableComponent").OverridableComponent<MUICore.ButtonGroupTypeMap<{}, "div">>;
|
|
50
|
-
'@material-ui/core/Card': typeof MUICore.Card;
|
|
51
|
-
'@material-ui/core/CardContent': import("@material-ui/core/OverridableComponent").OverridableComponent<MUICore.CardContentTypeMap<{}, "div">>;
|
|
52
|
-
'@material-ui/core/Container': import("@material-ui/core/OverridableComponent").OverridableComponent<MUICore.ContainerTypeMap<{}, "div">>;
|
|
53
|
-
'@material-ui/core/Checkbox': typeof MUICore.Checkbox;
|
|
54
|
-
'@material-ui/core/Dialog': typeof MUICore.Dialog;
|
|
55
|
-
'@material-ui/core/FormGroup': typeof MUICore.FormGroup;
|
|
56
|
-
'@material-ui/core/FormLabel': import("@material-ui/core/OverridableComponent").OverridableComponent<MUICore.FormLabelTypeMap<{}, "label">>;
|
|
57
|
-
'@material-ui/core/FormControl': import("@material-ui/core/OverridableComponent").OverridableComponent<MUICore.FormControlTypeMap<{}, "div">>;
|
|
58
|
-
'@material-ui/core/FormControlLabel': typeof MUICore.FormControlLabel;
|
|
59
|
-
'@material-ui/core/Grid': import("@material-ui/core/OverridableComponent").OverridableComponent<MUICore.GridTypeMap<{}, "div">>;
|
|
60
|
-
'@material-ui/core/Icon': import("@material-ui/core/OverridableComponent").OverridableComponent<MUICore.IconTypeMap<{}, "span">>;
|
|
61
|
-
'@material-ui/core/IconButton': MUICore.ExtendButtonBase<MUICore.IconButtonTypeMap<{}, "button">>;
|
|
62
|
-
'@material-ui/core/InputAdornment': import("@material-ui/core/OverridableComponent").OverridableComponent<MUICore.InputAdornmentTypeMap<{}, "div">>;
|
|
63
|
-
'@material-ui/core/LinearProgress': typeof MUICore.LinearProgress;
|
|
64
|
-
'@material-ui/core/ListItemIcon': typeof MUICore.ListItemIcon;
|
|
65
|
-
'@material-ui/core/ListItemText': typeof MUICore.ListItemText;
|
|
66
|
-
'@material-ui/core/Menu': typeof MUICore.Menu;
|
|
67
|
-
'@material-ui/core/MenuItem': import("@material-ui/core/OverridableComponent").OverridableComponent<MUICore.MenuItemTypeMap<{
|
|
68
|
-
button: false;
|
|
69
|
-
}, "li">> & ((props: {
|
|
70
|
-
href: string;
|
|
71
|
-
} & {
|
|
72
|
-
button?: true | undefined;
|
|
73
|
-
} & {
|
|
74
|
-
alignItems?: "center" | "flex-start" | undefined;
|
|
75
|
-
autoFocus?: boolean | undefined;
|
|
76
|
-
button?: boolean | undefined;
|
|
77
|
-
ContainerComponent?: React.ElementType<React.HTMLAttributes<HTMLDivElement>> | undefined;
|
|
78
|
-
ContainerProps?: React.HTMLAttributes<HTMLDivElement> | undefined;
|
|
79
|
-
dense?: boolean | undefined;
|
|
80
|
-
disabled?: boolean | undefined;
|
|
81
|
-
disableGutters?: boolean | undefined;
|
|
82
|
-
divider?: boolean | undefined;
|
|
83
|
-
focusVisibleClassName?: string | undefined;
|
|
84
|
-
selected?: boolean | undefined;
|
|
85
|
-
} & {
|
|
86
|
-
action?: React.Ref<MUICore.ButtonBaseActions> | undefined;
|
|
87
|
-
buttonRef?: React.Ref<unknown> | undefined;
|
|
88
|
-
centerRipple?: boolean | undefined;
|
|
89
|
-
children?: React.ReactNode;
|
|
90
|
-
disabled?: boolean | undefined;
|
|
91
|
-
disableRipple?: boolean | undefined;
|
|
92
|
-
disableTouchRipple?: boolean | undefined;
|
|
93
|
-
focusRipple?: boolean | undefined;
|
|
94
|
-
focusVisibleClassName?: string | undefined;
|
|
95
|
-
onFocusVisible?: React.FocusEventHandler<any> | undefined;
|
|
96
|
-
tabIndex?: string | number | undefined;
|
|
97
|
-
TouchRippleProps?: Partial<import("@material-ui/core/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
98
|
-
} & import("@material-ui/core/OverridableComponent").CommonProps<MUICore.ExtendButtonBaseTypeMap<MUICore.MenuItemTypeMap<{
|
|
99
|
-
button?: true | undefined;
|
|
100
|
-
}, "li">>> & Pick<Pick<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "key" | keyof React.AnchorHTMLAttributes<HTMLAnchorElement>> & {
|
|
101
|
-
ref?: ((instance: HTMLAnchorElement | null) => void) | React.RefObject<HTMLAnchorElement> | null | undefined;
|
|
102
|
-
}, "id" | "is" | "color" | "type" | "defaultValue" | "key" | "prefix" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "ref" | "href" | "download" | "hrefLang" | "media" | "ping" | "rel" | "target" | "referrerPolicy">) => JSX.Element) & import("@material-ui/core/OverridableComponent").OverridableComponent<MUICore.ExtendButtonBaseTypeMap<MUICore.MenuItemTypeMap<{
|
|
103
|
-
button?: true | undefined;
|
|
104
|
-
}, "li">>>;
|
|
105
|
-
'@material-ui/core/RadioGroup': typeof MUICore.RadioGroup;
|
|
106
|
-
'@material-ui/core/Radio': typeof MUICore.Radio;
|
|
107
|
-
'@material-ui/core/Select': typeof MUICore.Select;
|
|
108
|
-
'@material-ui/core/Snackbar': typeof MUICore.Snackbar;
|
|
109
|
-
'@material-ui/core/SnackbarContent': typeof MUICore.SnackbarContent;
|
|
110
|
-
'@material-ui/core/TextField': typeof MUICore.TextField;
|
|
111
|
-
'@material-ui/core/Tooltip': typeof MUICore.Tooltip;
|
|
112
|
-
'@material-ui/core/Typography': import("@material-ui/core/OverridableComponent").OverridableComponent<MUICore.TypographyTypeMap<{}, "span">>;
|
|
113
|
-
'@material-ui/lab/ToggleButton': MUICore.ExtendButtonBase<MUILab.ToggleButtonTypeMap<{}, "button">>;
|
|
114
|
-
'@material-ui/lab/ToggleButtonGroup': typeof MUILab.ToggleButtonGroup;
|
|
29
|
+
'@material-ui/lab/ToggleButton': React.LazyExoticComponent<import("@mui/material").ExtendButtonBase<import("@mui/material").ToggleButtonTypeMap<{}, "button">>>;
|
|
30
|
+
'@material-ui/lab/ToggleButtonGroup': React.LazyExoticComponent<typeof import("@mui/material").ToggleButtonGroup>;
|
|
31
|
+
'@material-ui/lab/Autocomplete': React.LazyExoticComponent<typeof import("@mui/material").Autocomplete>;
|
|
32
|
+
'@material-ui/lab/Alert': React.LazyExoticComponent<typeof import("@mui/material").Alert>;
|
|
33
|
+
'@material-ui/lab': {
|
|
34
|
+
Alert: React.LazyExoticComponent<typeof import("@mui/material").Alert>;
|
|
35
|
+
Autocomplete: React.LazyExoticComponent<typeof import("@mui/material").Autocomplete>;
|
|
36
|
+
ToggleButton: React.LazyExoticComponent<import("@mui/material").ExtendButtonBase<import("@mui/material").ToggleButtonTypeMap<{}, "button">>>;
|
|
37
|
+
ToggleButtonGroup: React.LazyExoticComponent<typeof import("@mui/material").ToggleButtonGroup>;
|
|
38
|
+
};
|
|
115
39
|
'@jbrowse/core/Plugin': typeof Plugin;
|
|
116
40
|
'@jbrowse/core/pluggableElementTypes': typeof pluggableElementTypes;
|
|
117
41
|
'@jbrowse/core/pluggableElementTypes/ViewType': typeof pluggableElementTypes.ViewType;
|
|
@@ -162,30 +86,22 @@ declare const libs: {
|
|
|
162
86
|
readonly maxOffset: number;
|
|
163
87
|
readonly minOffset: number;
|
|
164
88
|
readonly totalBp: number;
|
|
89
|
+
} & {
|
|
90
|
+
readonly dynamicBlocks: import("../util/blockTypes").BlockSet;
|
|
91
|
+
readonly staticBlocks: import("../util/blockTypes").BlockSet;
|
|
92
|
+
readonly currBp: number;
|
|
93
|
+
} & {
|
|
165
94
|
pxToBp(px: number): {
|
|
166
|
-
oob: boolean;
|
|
167
|
-
coord: number;
|
|
168
|
-
offset: number;
|
|
169
|
-
index: number;
|
|
170
|
-
refName: string;
|
|
171
|
-
start: number;
|
|
172
|
-
end: number;
|
|
173
|
-
reversed: boolean;
|
|
174
|
-
assemblyName: string;
|
|
175
|
-
} | {
|
|
176
95
|
coord: number;
|
|
177
96
|
index: number;
|
|
178
|
-
start: number;
|
|
179
97
|
refName: string;
|
|
180
98
|
oob: boolean;
|
|
181
99
|
assemblyName: string;
|
|
182
100
|
offset: number;
|
|
101
|
+
start: number;
|
|
102
|
+
end: number;
|
|
183
103
|
reversed: boolean;
|
|
184
104
|
};
|
|
185
|
-
} & {
|
|
186
|
-
readonly dynamicBlocks: import("../util/blockTypes").BlockSet;
|
|
187
|
-
readonly staticBlocks: import("../util/blockTypes").BlockSet;
|
|
188
|
-
readonly currBp: number;
|
|
189
105
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
190
106
|
refName: string;
|
|
191
107
|
coord: number;
|
|
@@ -193,20 +109,63 @@ declare const libs: {
|
|
|
193
109
|
}): number | undefined;
|
|
194
110
|
} & {
|
|
195
111
|
setFeatures(features: coreUtil.Feature[]): void;
|
|
196
|
-
zoomToDisplayedRegions(leftPx: import("../util/Base1DViewModel").BpOffset | undefined, rightPx: import("../util/Base1DViewModel").BpOffset | undefined): void;
|
|
197
112
|
showAllRegions(): void;
|
|
198
|
-
moveTo(start: import("../util/Base1DViewModel").BpOffset, end: import("../util/Base1DViewModel").BpOffset): void;
|
|
199
113
|
zoomOut(): void;
|
|
200
114
|
zoomIn(): void;
|
|
201
|
-
zoomTo(newBpPerPx: number, offset?: number):
|
|
115
|
+
zoomTo(newBpPerPx: number, offset?: number): number;
|
|
202
116
|
scrollTo(offsetPx: number): number;
|
|
203
|
-
centerAt(
|
|
117
|
+
centerAt(coord: number, refName: string | undefined, regionNumber: number): void;
|
|
204
118
|
scroll(distance: number): number;
|
|
119
|
+
} & {
|
|
120
|
+
moveTo(start?: import("../util/Base1DUtils").BpOffset | undefined, end?: import("../util/Base1DUtils").BpOffset | undefined): void;
|
|
205
121
|
}, mst._NotCustomized, mst._NotCustomized>;
|
|
206
122
|
'@jbrowse/core/util/io': typeof coreIo;
|
|
207
123
|
'@jbrowse/core/util/mst-reflection': typeof coreMstReflection;
|
|
208
124
|
'@jbrowse/core/util/rxjs': typeof rxjs;
|
|
209
|
-
'@jbrowse/core/BaseFeatureWidget/BaseFeatureDetail':
|
|
125
|
+
'@jbrowse/core/BaseFeatureWidget/BaseFeatureDetail': {
|
|
126
|
+
Attributes: (props: any) => JSX.Element;
|
|
127
|
+
FeatureDetails: (props: any) => JSX.Element;
|
|
128
|
+
BaseCard: (props: any) => JSX.Element;
|
|
129
|
+
};
|
|
210
130
|
'@jbrowse/core/data_adapters/BaseAdapter': typeof BaseAdapterExports;
|
|
131
|
+
mobx: typeof mobx;
|
|
132
|
+
'mobx-state-tree': typeof mst;
|
|
133
|
+
react: typeof React;
|
|
134
|
+
'react-dom': typeof ReactDom;
|
|
135
|
+
'mobx-react': typeof mxreact;
|
|
136
|
+
'@mui/x-data-grid': {
|
|
137
|
+
useGridApiContext: typeof useGridApiContext;
|
|
138
|
+
useGridApiRef: <Api extends import("@mui/x-data-grid").GridApiCommon = import("@mui/x-data-grid/models/api/gridApiCommunity").GridApiCommunity>() => React.MutableRefObject<Api>;
|
|
139
|
+
useGridRootProps: () => import("@mui/x-data-grid/models/props/DataGridProps").DataGridProcessedProps<any>;
|
|
140
|
+
};
|
|
141
|
+
'@mui/material/utils': typeof MUIUtils;
|
|
142
|
+
'@material-ui/core/utils': typeof MUIUtils;
|
|
143
|
+
'tss-react/mui': {
|
|
144
|
+
makeStyles: <Params = void, RuleNameSubsetReferencableInNestedSelectors extends string = never>(params?: {
|
|
145
|
+
name?: string | Record<string, unknown> | undefined;
|
|
146
|
+
uniqId?: string | undefined;
|
|
147
|
+
} | undefined) => <RuleName extends string>(cssObjectByRuleNameOrGetCssObjectByRuleName: Record<RuleName, import("tss-react/types").CSSObject> | ((theme: MUIStyles.Theme, params: Params, classes: Record<RuleNameSubsetReferencableInNestedSelectors, string>) => Record<RuleNameSubsetReferencableInNestedSelectors | RuleName, import("tss-react/types").CSSObject>)) => (params: Params, styleOverrides?: {
|
|
148
|
+
props: {
|
|
149
|
+
classes?: Record<string, string> | undefined;
|
|
150
|
+
} & Record<string, unknown>;
|
|
151
|
+
ownerState?: Record<string, unknown> | undefined;
|
|
152
|
+
} | undefined) => {
|
|
153
|
+
classes: Record<RuleName, string>;
|
|
154
|
+
theme: MUIStyles.Theme;
|
|
155
|
+
css: import("tss-react/types").Css;
|
|
156
|
+
cx: import("tss-react/types").Cx;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
'@material-ui/core': {
|
|
160
|
+
useTheme: typeof MUIStyles.useTheme;
|
|
161
|
+
alpha: typeof MUIStyles.alpha;
|
|
162
|
+
makeStyles: (args: any) => () => Record<string, string>;
|
|
163
|
+
};
|
|
164
|
+
'@mui/material': {
|
|
165
|
+
[k: string]: (props: any) => JSX.Element;
|
|
166
|
+
};
|
|
167
|
+
'prop-types': typeof PropTypes;
|
|
168
|
+
'@mui/material/styles': typeof MUIStyles;
|
|
169
|
+
'@material-ui/core/styles': typeof MUIStyles;
|
|
211
170
|
};
|
|
212
171
|
export default libs;
|