@jbrowse/core 5.0.0-beta.7 → 5.0.0-beta.9
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/README.md +427 -130
- package/esm/BaseFeatureWidget/BaseFeatureDetail/ArrayValue.d.ts +3 -2
- package/esm/BaseFeatureWidget/BaseFeatureDetail/ArrayValue.js +5 -3
- package/esm/BaseFeatureWidget/BaseFeatureDetail/Attributes.d.ts +3 -5
- package/esm/BaseFeatureWidget/BaseFeatureDetail/Attributes.js +8 -9
- package/esm/BaseFeatureWidget/BaseFeatureDetail/CoreDetails.js +8 -13
- package/esm/BaseFeatureWidget/BaseFeatureDetail/FeatureDetails.d.ts +2 -1
- package/esm/BaseFeatureWidget/BaseFeatureDetail/FeatureDetails.js +3 -3
- package/esm/BaseFeatureWidget/BaseFeatureDetail/FieldActionsButton.d.ts +8 -0
- package/esm/BaseFeatureWidget/BaseFeatureDetail/FieldActionsButton.js +24 -0
- package/esm/BaseFeatureWidget/BaseFeatureDetail/SimpleField.d.ts +3 -2
- package/esm/BaseFeatureWidget/BaseFeatureDetail/SimpleField.js +5 -3
- package/esm/BaseFeatureWidget/BaseFeatureDetail/index.d.ts +1 -0
- package/esm/BaseFeatureWidget/BaseFeatureDetail/index.js +1 -4
- package/esm/BaseFeatureWidget/BaseFeatureDetail/jexlFilterActions.d.ts +16 -0
- package/esm/BaseFeatureWidget/BaseFeatureDetail/jexlFilterActions.js +53 -0
- package/esm/BaseFeatureWidget/BaseFeatureDetail/util.d.ts +0 -8
- package/esm/BaseFeatureWidget/BaseFeatureDetail/util.js +0 -16
- package/esm/BaseFeatureWidget/SequenceFeatureDetails/SequenceContents.js +7 -34
- package/esm/BaseFeatureWidget/configSchema.d.ts +1 -1
- package/esm/BaseFeatureWidget/formatDetails.d.ts +13 -29
- package/esm/BaseFeatureWidget/formatDetails.js +46 -79
- package/esm/BaseFeatureWidget/index.d.ts +1 -0
- package/esm/BaseFeatureWidget/stateModelFactory.d.ts +35 -28
- package/esm/BaseFeatureWidget/stateModelFactory.js +94 -102
- package/esm/BaseFeatureWidget/types.d.ts +3 -0
- package/esm/BaseFeatureWidget/util.d.ts +0 -3
- package/esm/BaseFeatureWidget/util.js +0 -17
- package/esm/PluginLoader.d.ts +14 -9
- package/esm/PluginLoader.js +34 -26
- package/esm/PluginManager.d.ts +4 -4
- package/esm/PluginManager.js +1 -1
- package/esm/ReExports/coreModules.generated.d.ts +2 -0
- package/esm/ReExports/coreModules.generated.js +492 -0
- package/esm/ReExports/coreWorkerModules.generated.d.ts +2 -0
- package/esm/ReExports/coreWorkerModules.generated.js +453 -0
- package/esm/ReExports/frameworkModules.d.ts +2 -0
- package/esm/ReExports/frameworkModules.js +67 -0
- package/esm/ReExports/frameworkShared.d.ts +12 -0
- package/esm/ReExports/frameworkShared.js +16 -0
- package/esm/ReExports/frameworkWorkerModules.generated.d.ts +2 -0
- package/esm/ReExports/frameworkWorkerModules.generated.js +130 -0
- package/esm/ReExports/list.js +493 -79
- package/esm/ReExports/modules.d.ts +1 -1
- package/esm/ReExports/modules.js +10 -87
- package/esm/ReExports/registry.d.ts +1 -0
- package/esm/ReExports/registry.js +23 -5
- package/esm/ReExports/uiStub.d.ts +2 -1
- package/esm/ReExports/uiStub.js +24 -2
- package/esm/ReExports/workerModules.js +8 -12
- package/esm/TextSearch/TextSearchManager.d.ts +3 -12
- package/esm/TextSearch/TextSearchManager.js +22 -10
- package/esm/assemblyManager/assembly.d.ts +10 -14
- package/esm/assemblyManager/assembly.js +10 -14
- package/esm/assemblyManager/assemblyConfigSchema.d.ts +23 -81
- package/esm/assemblyManager/assemblyManager.d.ts +10 -16
- package/esm/assemblyManager/assemblyManager.js +7 -10
- package/esm/assemblyManager/loadRefNameMap.js +3 -3
- package/esm/configuration/configurationSchema.d.ts +75 -31
- package/esm/configuration/configurationSchema.js +74 -40
- package/esm/configuration/configurationSchemaUnion.d.ts +39 -0
- package/esm/configuration/configurationSchemaUnion.js +59 -0
- package/esm/configuration/configurationSlot.d.ts +37 -12
- package/esm/configuration/configurationSlot.js +83 -22
- package/esm/configuration/formatAboutConfigSchema.d.ts +7 -21
- package/esm/configuration/formatDetailsConfigSchema.d.ts +11 -37
- package/esm/configuration/formatDetailsConfigSchema.js +10 -13
- package/esm/configuration/getConf.d.ts +17 -9
- package/esm/configuration/getConf.js +52 -7
- package/esm/configuration/index.d.ts +11 -4
- package/esm/configuration/index.js +7 -4
- package/esm/configuration/mergeFormatCallbacks.d.ts +6 -7
- package/esm/configuration/mergeFormatCallbacks.js +13 -10
- package/esm/configuration/readConfObject.d.ts +2 -22
- package/esm/configuration/readConfObject.js +15 -49
- package/esm/configuration/requirements.d.ts +37 -0
- package/esm/configuration/requirements.js +88 -0
- package/esm/configuration/schemaRegistry.d.ts +21 -1
- package/esm/configuration/schemaRegistry.js +11 -0
- package/esm/configuration/schemaTypes.d.ts +3 -0
- package/esm/configuration/schemaTypes.js +10 -0
- package/esm/configuration/slotFacade.d.ts +35 -4
- package/esm/configuration/slotFacade.js +96 -9
- package/esm/configuration/snapshotPreprocess.d.ts +27 -0
- package/esm/configuration/snapshotPreprocess.js +102 -0
- package/esm/configuration/types.d.ts +161 -22
- package/esm/data_adapters/BaseAdapter/BaseAdapter.d.ts +2 -2
- package/esm/data_adapters/BaseAdapter/BaseFeatureDataAdapter.d.ts +11 -2
- package/esm/data_adapters/BaseAdapter/BaseFeatureDataAdapter.js +12 -1
- package/esm/data_adapters/BaseAdapter/featureDensity.d.ts +2 -3
- package/esm/data_adapters/BaseAdapter/featureDensity.js +2 -3
- package/esm/data_adapters/BaseAdapter/index.d.ts +22 -3
- package/esm/data_adapters/BaseAdapter/types.d.ts +3 -4
- package/esm/data_adapters/BaseAdapter/zoomRange.d.ts +10 -0
- package/esm/data_adapters/BaseAdapter/zoomRange.js +1 -0
- package/esm/data_adapters/CytobandAdapter/configSchema.d.ts +9 -11
- package/esm/data_adapters/getSequenceSubAdapter.d.ts +1 -3
- package/esm/data_adapters/getSequenceSubAdapter.js +1 -3
- package/esm/pluggableElementTypes/AdapterType.d.ts +7 -7
- package/esm/pluggableElementTypes/RpcMethodType.d.ts +1 -1
- package/esm/pluggableElementTypes/RpcMethodType.js +3 -8
- package/esm/pluggableElementTypes/RpcMethodTypeWithFiltersAndRenameRegions.d.ts +1 -2
- package/esm/pluggableElementTypes/TextSearchAdapterType.d.ts +7 -7
- package/esm/pluggableElementTypes/index.d.ts +1 -1
- package/esm/pluggableElementTypes/index.js +1 -1
- package/esm/pluggableElementTypes/models/BaseConnectionModelFactory.d.ts +17 -7
- package/esm/pluggableElementTypes/models/BaseDisplayModel.d.ts +45 -48
- package/esm/pluggableElementTypes/models/BaseDisplayModel.js +40 -36
- package/esm/pluggableElementTypes/models/BaseTrackModel.d.ts +10 -13
- package/esm/pluggableElementTypes/models/BaseTrackModel.js +6 -6
- package/esm/pluggableElementTypes/models/BaseViewModel.d.ts +37 -17
- package/esm/pluggableElementTypes/models/BaseViewModel.js +25 -10
- package/esm/pluggableElementTypes/models/InternetAccountModel.d.ts +26 -16
- package/esm/pluggableElementTypes/models/assertDisplayContract.d.ts +1 -1
- package/esm/pluggableElementTypes/models/baseConnectionConfig.d.ts +22 -18
- package/esm/pluggableElementTypes/models/baseConnectionConfig.js +5 -5
- package/esm/pluggableElementTypes/models/baseInternetAccountConfig.d.ts +26 -31
- package/esm/pluggableElementTypes/models/baseTrackConfig.d.ts +57 -141
- package/esm/pluggableElementTypes/models/baseTrackConfig.js +22 -26
- package/esm/pluggableElementTypes/models/components/SaveTrackData.js +2 -2
- package/esm/pluggableElementTypes/models/components/fetchTrackData.d.ts +3 -4
- package/esm/pluggableElementTypes/models/components/fetchTrackData.js +3 -3
- package/esm/pluggableElementTypes/models/expandTrackConfigShorthand.d.ts +15 -7
- package/esm/pluggableElementTypes/models/expandTrackConfigShorthand.js +38 -29
- package/esm/pluggableElementTypes/models/index.d.ts +1 -2
- package/esm/pluggableElementTypes/models/index.js +1 -2
- package/esm/pluggableElementTypes/models/saveTrackFileTypes/genbank.d.ts +3 -3
- package/esm/pluggableElementTypes/models/saveTrackFileTypes/genbank.js +4 -4
- package/esm/pluggableElementTypes/models/saveTrackFileTypes/types.d.ts +3 -3
- package/esm/rpc/BaseRpcDriver.d.ts +1 -2
- package/esm/rpc/BaseRpcDriver.js +23 -30
- package/esm/rpc/MainThreadRpcDriver.d.ts +2 -2
- package/esm/rpc/MainThreadRpcDriver.js +13 -8
- package/esm/rpc/RpcClient.d.ts +17 -6
- package/esm/rpc/RpcClient.js +42 -12
- package/esm/rpc/RpcManager.d.ts +8 -10
- package/esm/rpc/RpcManager.js +1 -1
- package/esm/rpc/RpcRegistry.d.ts +8 -2
- package/esm/rpc/RpcServer.d.ts +3 -1
- package/esm/rpc/RpcServer.js +19 -12
- package/esm/rpc/WebWorkerRpcDriver.d.ts +3 -3
- package/esm/rpc/WebWorkerRpcDriver.js +9 -47
- package/esm/rpc/byteBudget.d.ts +3 -5
- package/esm/rpc/byteBudget.js +4 -4
- package/esm/rpc/configSchema.d.ts +7 -21
- package/esm/rpc/coreRpcMethods.d.ts +1 -0
- package/esm/rpc/coreRpcMethods.js +1 -0
- package/esm/rpc/methods/CoreEncodeFeatures.d.ts +6 -5
- package/esm/rpc/methods/CoreEncodeFeatures.js +26 -31
- package/esm/rpc/methods/CoreGetEncodedFeature.d.ts +13 -0
- package/esm/rpc/methods/CoreGetEncodedFeature.js +31 -0
- package/esm/rpc/methods/CoreGetExportData.js +2 -2
- package/esm/rpc/methods/CoreGetFeatureDensity.js +2 -2
- package/esm/rpc/methods/CoreGetFeatures.js +2 -2
- package/esm/rpc/methods/CoreGetSequence.js +2 -2
- package/esm/rpc/methods/layerFeatures.d.ts +26 -0
- package/esm/rpc/methods/layerFeatures.js +40 -0
- package/esm/svg/SvgExport.js +3 -4
- package/esm/svg/SvgThemeProviders.d.ts +12 -0
- package/esm/svg/SvgThemeProviders.js +15 -0
- package/esm/svg/exportViewSvg.d.ts +32 -0
- package/esm/svg/exportViewSvg.js +13 -0
- package/esm/svg/normalizeSvgMarkup.d.ts +7 -0
- package/esm/svg/normalizeSvgMarkup.js +99 -0
- package/esm/svg/serializeSvg.d.ts +7 -0
- package/esm/svg/serializeSvg.js +11 -0
- package/esm/svg/svgReady.d.ts +8 -7
- package/esm/svg/svgReady.js +8 -7
- package/esm/svg/trackNames.d.ts +5 -5
- package/esm/svg/trackNames.js +6 -6
- package/esm/svg/wrapSvgExport.js +6 -74
- package/esm/ui/CascadingMenu.js +83 -86
- package/esm/ui/ErrorMessageStackTraceDialog.js +0 -5
- package/esm/ui/FileSelector/useInternetAccounts.d.ts +156 -96
- package/esm/ui/HoverMenu.d.ts +1 -2
- package/esm/ui/HoverMenu.js +6 -3
- package/esm/ui/JexlFilterDialog.d.ts +13 -10
- package/esm/ui/JexlFilterDialog.js +122 -49
- package/esm/ui/JexlFilterRowEditors.d.ts +15 -0
- package/esm/ui/JexlFilterRowEditors.js +90 -0
- package/esm/ui/LazyBaseTooltip.d.ts +4 -0
- package/esm/ui/LazyBaseTooltip.js +9 -0
- package/esm/ui/LoadingOverlay.js +3 -1
- package/esm/ui/MonospaceTextField.d.ts +2 -1
- package/esm/ui/MonospaceTextField.js +21 -19
- package/esm/ui/PaletteContext.d.ts +7 -9
- package/esm/ui/PaletteContext.js +24 -10
- package/esm/ui/RefNameAutocomplete/index.d.ts +1 -2
- package/esm/ui/RefNameAutocomplete/index.js +1 -1
- package/esm/ui/ScrollChrome.d.ts +6 -9
- package/esm/ui/ScrollChrome.js +5 -6
- package/esm/ui/ScrollEdgeShadow.d.ts +6 -9
- package/esm/ui/ScrollEdgeShadow.js +9 -24
- package/esm/ui/SettingsChangesTable.js +3 -3
- package/esm/ui/VerticalScrollbar.d.ts +13 -34
- package/esm/ui/VerticalScrollbar.js +29 -83
- package/esm/ui/ViewLoadingScreen.d.ts +2 -2
- package/esm/ui/ViewLoadingScreen.js +3 -3
- package/esm/ui/colorScale.d.ts +26 -1
- package/esm/ui/colorScale.js +28 -5
- package/esm/ui/colors.d.ts +49 -1
- package/esm/ui/colors.js +139 -4
- package/esm/ui/hoverBoxStyle.d.ts +14 -2
- package/esm/ui/hoverBoxStyle.js +17 -2
- package/esm/ui/index.d.ts +5 -3
- package/esm/ui/index.js +9 -7
- package/esm/ui/launchViewMenu.js +3 -3
- package/esm/ui/legendSpec.d.ts +2 -0
- package/esm/ui/legendSpec.js +3 -0
- package/esm/ui/palette.d.ts +0 -1
- package/esm/ui/palette.js +3 -27
- package/esm/ui/replaceViewAction.d.ts +1 -1
- package/esm/ui/replaceViewAction.js +1 -1
- package/esm/ui/theme.d.ts +1 -1
- package/esm/ui/theme.js +6 -40
- package/esm/ui/viewHeaderHeight.d.ts +1 -0
- package/esm/ui/viewHeaderHeight.js +1 -0
- package/esm/util/Base1DUtils.d.ts +1 -1
- package/esm/util/Base1DUtils.js +2 -2
- package/esm/util/SvgCanvas.d.ts +15 -13
- package/esm/util/SvgCanvas.js +72 -53
- package/esm/util/aborting.d.ts +39 -0
- package/esm/util/aborting.js +84 -0
- package/esm/util/adapterMetadata.d.ts +1 -1
- package/esm/util/adapterMetadata.js +6 -6
- package/esm/util/addAndShowTrack.d.ts +1 -4
- package/esm/util/addRelativeUris.d.ts +10 -2
- package/esm/util/addRelativeUris.js +22 -7
- package/esm/util/addTrackFromWidget.d.ts +2 -5
- package/esm/util/animationAllowed.d.ts +9 -0
- package/esm/util/animationAllowed.js +13 -0
- package/esm/util/applyRowResizeWheel.d.ts +10 -5
- package/esm/util/applyRowResizeWheel.js +10 -21
- package/esm/util/bandLayout.d.ts +4 -4
- package/esm/util/bandLayout.js +4 -4
- package/esm/util/bezierConnector.js +5 -4
- package/esm/util/bgzfWorkerPool.d.ts +20 -74
- package/esm/util/bgzfWorkerPool.js +20 -74
- package/esm/util/cachedSetup.d.ts +1 -1
- package/esm/util/cachedSetup.js +2 -2
- package/esm/util/categoricalField.d.ts +37 -0
- package/esm/util/categoricalField.js +52 -0
- package/esm/util/color/cssColorsLevel4.d.ts +1 -0
- package/esm/util/color/cssColorsLevel4.js +1 -0
- package/esm/util/color/index.d.ts +5 -3
- package/esm/util/color/index.js +7 -4
- package/esm/util/colorBits.d.ts +1 -2
- package/esm/util/colorBits.js +17 -39
- package/esm/util/colorRamp.d.ts +27 -1
- package/esm/util/colorRamp.js +56 -2
- package/esm/util/colorSchemes.d.ts +9 -0
- package/esm/util/colorSchemes.js +7 -0
- package/esm/util/{createStopTokenRotation.d.ts → createAbortRotation.d.ts} +11 -14
- package/esm/util/{createStopTokenRotation.js → createAbortRotation.js} +14 -26
- package/esm/util/cssColorParse.d.ts +15 -0
- package/esm/util/cssColorParse.js +53 -0
- package/esm/util/diagonalizeRegions.d.ts +2 -3
- package/esm/util/diagonalizeRegions.js +7 -12
- package/esm/util/expandLooseSearchIndex.d.ts +7 -0
- package/esm/util/expandLooseSearchIndex.js +25 -0
- package/esm/util/featureTransforms.d.ts +30 -3
- package/esm/util/featureTransforms.js +233 -36
- package/esm/util/fetchAndMaybeUnzip.js +5 -6
- package/esm/util/fetchContext.d.ts +5 -6
- package/esm/util/fetchContext.js +1 -1
- package/esm/util/fetchHub.d.ts +3 -1
- package/esm/util/fetchHub.js +2 -2
- package/esm/util/fetchSeq.d.ts +2 -3
- package/esm/util/fetchSeq.js +2 -2
- package/esm/util/fieldReader.d.ts +17 -0
- package/esm/util/fieldReader.js +62 -0
- package/esm/util/groupKeys.d.ts +75 -0
- package/esm/util/groupKeys.js +152 -0
- package/esm/util/highlights.d.ts +6 -4
- package/esm/util/highlights.js +12 -25
- package/esm/util/hooks.d.ts +1 -2
- package/esm/util/hooks.js +1 -2
- package/esm/util/index.d.ts +3 -3
- package/esm/util/index.js +4 -3
- package/esm/util/indexCandidates.js +1 -1
- package/esm/util/installFetch.d.ts +13 -10
- package/esm/util/installFetch.js +11 -10
- package/esm/util/installPrerequisiteFetch.d.ts +5 -3
- package/esm/util/installPrerequisiteFetch.js +3 -4
- package/esm/util/io/index.js +12 -12
- package/esm/util/isDataCurrent.d.ts +7 -5
- package/esm/util/isDataCurrent.js +9 -6
- package/esm/util/jexl.js +24 -21
- package/esm/util/jexlFilterRows.d.ts +89 -0
- package/esm/util/jexlFilterRows.js +252 -0
- package/esm/util/jexlFilters.d.ts +7 -5
- package/esm/util/jexlStrings.d.ts +3 -4
- package/esm/util/jexlStrings.js +2 -3
- package/esm/util/legendCandidates.d.ts +31 -27
- package/esm/util/legendCandidates.js +79 -53
- package/esm/util/localStorage.js +4 -4
- package/esm/util/markEncoding.d.ts +32 -16
- package/esm/util/markEncoding.js +177 -150
- package/esm/util/markEncodingTypes.d.ts +137 -66
- package/esm/util/mstUtils.d.ts +19 -22
- package/esm/util/mstUtils.js +19 -22
- package/esm/util/numericUtils.d.ts +7 -0
- package/esm/util/numericUtils.js +16 -0
- package/esm/util/numericValue.d.ts +14 -0
- package/esm/util/numericValue.js +34 -0
- package/esm/util/openFeatureWidget.js +1 -2
- package/esm/util/openViews.d.ts +1 -0
- package/esm/util/openViews.js +3 -3
- package/esm/util/parseLineByLine.d.ts +3 -4
- package/esm/util/parseLineByLine.js +7 -13
- package/esm/util/progress.d.ts +21 -21
- package/esm/util/progress.js +27 -26
- package/esm/util/renameRegions.d.ts +1 -2
- package/esm/util/renderToStaticMarkup.js +16 -16
- package/esm/util/rxjs.d.ts +7 -8
- package/esm/util/rxjs.js +12 -15
- package/esm/util/simpleFeature.d.ts +0 -1
- package/esm/util/svgColorProps.d.ts +11 -0
- package/esm/util/svgColorProps.js +28 -1
- package/esm/util/tabix.d.ts +3 -4
- package/esm/util/tabix.js +6 -7
- package/esm/util/thresholdScale.d.ts +54 -0
- package/esm/util/thresholdScale.js +112 -0
- package/esm/util/timeGate.d.ts +4 -5
- package/esm/util/timeGate.js +4 -5
- package/esm/util/trackConfigDelta.d.ts +22 -18
- package/esm/util/trackConfigDelta.js +40 -38
- package/esm/util/tracks.d.ts +27 -4
- package/esm/util/tracks.js +116 -43
- package/esm/util/translateTranscript.d.ts +44 -0
- package/esm/util/translateTranscript.js +102 -0
- package/esm/util/types/index.d.ts +19 -7
- package/esm/util/types/services.d.ts +1 -1
- package/esm/util/unknownSnapshotKeys.d.ts +15 -0
- package/esm/util/unknownSnapshotKeys.js +13 -0
- package/esm/util/useFeatureSequence.js +4 -4
- package/esm/util/useFetch.d.ts +3 -4
- package/esm/util/useFetch.js +5 -6
- package/esm/util/usePanelVirtualScroll.d.ts +7 -39
- package/esm/util/usePanelVirtualScroll.js +9 -40
- package/esm/util/useRowVirtualScroll.d.ts +6 -29
- package/esm/util/useRowVirtualScroll.js +8 -49
- package/esm/util/useVirtualScrollWheel.d.ts +20 -4
- package/esm/util/useVirtualScrollWheel.js +40 -84
- package/esm/util/viewHighlights.d.ts +3 -0
- package/esm/util/viewHighlights.js +5 -0
- package/esm/util/viewStatus.d.ts +24 -15
- package/esm/util/viewStatus.js +17 -0
- package/esm/util/withLaunchInput.d.ts +1 -1
- package/esm/util/withLaunchInput.js +0 -4
- package/package.json +26 -12
- package/esm/BaseFeatureWidget/SequenceFeatureDetails/test_data/DLGAP3.d.ts +0 -80
- package/esm/BaseFeatureWidget/SequenceFeatureDetails/test_data/DLGAP3.js +0 -583
- package/esm/BaseFeatureWidget/SequenceFeatureDetails/test_data/NCDN.d.ts +0 -141
- package/esm/BaseFeatureWidget/SequenceFeatureDetails/test_data/NCDN.js +0 -1116
- package/esm/ReExports/BaseFeatureDetails.d.ts +0 -1
- package/esm/ReExports/BaseFeatureDetails.js +0 -10
- package/esm/ReExports/barrelOnlyNames.d.ts +0 -5
- package/esm/ReExports/barrelOnlyNames.js +0 -63
- package/esm/ReExports/index.d.ts +0 -1
- package/esm/ReExports/index.js +0 -1
- package/esm/ReExports/publicTracks.d.ts +0 -1
- package/esm/ReExports/publicTracks.js +0 -14
- package/esm/ReExports/publicUi.d.ts +0 -4
- package/esm/ReExports/publicUi.js +0 -33
- package/esm/ReExports/publicUtil.d.ts +0 -1
- package/esm/ReExports/publicUtil.js +0 -32
- package/esm/ReExports/sharedModules.d.ts +0 -96
- package/esm/ReExports/sharedModules.js +0 -66
- package/esm/ReExports/workerNamespaceNames.d.ts +0 -11
- package/esm/ReExports/workerNamespaceNames.js +0 -275
- package/esm/pluggableElementTypes/models/HighlightsMixin.d.ts +0 -51
- package/esm/pluggableElementTypes/models/HighlightsMixin.js +0 -78
- package/esm/ui/highlightChipReveal.d.ts +0 -32
- package/esm/ui/highlightChipReveal.js +0 -39
- package/esm/util/adapterConfigKey.d.ts +0 -12
- package/esm/util/adapterConfigKey.js +0 -14
- package/esm/util/stopToken.d.ts +0 -212
- package/esm/util/stopToken.js +0 -438
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const BaseFeatureDetail: any;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { lazy } from 'react';
|
|
2
|
-
import { lazyMap } from './lazify.js';
|
|
3
|
-
export const BaseFeatureDetail = lazyMap({
|
|
4
|
-
Attributes: lazy(() => import('../BaseFeatureWidget/BaseFeatureDetail/Attributes.js')),
|
|
5
|
-
FeatureDetails: lazy(() => import('../BaseFeatureWidget/BaseFeatureDetail/FeatureDetails.js')),
|
|
6
|
-
FeatureWash: lazy(() => import('../BaseFeatureWidget/BaseFeatureDetail/FeatureWash.js')),
|
|
7
|
-
BaseCard: lazy(() => import('../BaseFeatureWidget/BaseFeatureDetail/BaseCard.js')),
|
|
8
|
-
BaseAttributes: lazy(() => import('../BaseFeatureWidget/BaseFeatureDetail/BaseAttributes.js')),
|
|
9
|
-
BaseCoreDetails: lazy(() => import('../BaseFeatureWidget/BaseFeatureDetail/BaseCoreDetails.js')),
|
|
10
|
-
});
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
// Names a source barrel exports that its ABI file deliberately does not serve.
|
|
2
|
-
//
|
|
3
|
-
// The public*.ts split stopped a barrel removal from silently narrowing the ABI
|
|
4
|
-
// -- take a name out of ui/index.ts and publicUi.tsx no longer compiles. This
|
|
5
|
-
// closes the other direction, which the split opened: a name *added* to a barrel
|
|
6
|
-
// is not served until someone adds it here too, and an external plugin cannot
|
|
7
|
-
// see that. Its `import { X } from '@jbrowse/core/ui'` type-checks, because
|
|
8
|
-
// package.json's `./ui` resolves to the barrel, and reads undefined off
|
|
9
|
-
// JBrowseExports at runtime -- the same shape of failure a removal used to
|
|
10
|
-
// cause, just for new code instead of old.
|
|
11
|
-
//
|
|
12
|
-
// So publicSurface.test.ts requires barrel-minus-ABI to be exactly this list.
|
|
13
|
-
// Adding an export to a barrel then fails until the ABI question is answered,
|
|
14
|
-
// and either answer is one line: serve it from the public*.ts file, or name it
|
|
15
|
-
// here. Nothing about being on this list is wrong -- most of these are helpers
|
|
16
|
-
// for app code, session plumbing and in-tree hooks that a plugin has no use for.
|
|
17
|
-
export const BARREL_ONLY_NAMES = {
|
|
18
|
-
'@jbrowse/core/ui': [],
|
|
19
|
-
'@jbrowse/core/util/tracks': [],
|
|
20
|
-
'@jbrowse/core/util': [
|
|
21
|
-
'MAX_GLOB_REGIONS',
|
|
22
|
-
'adapterNeedsAddTrackComponent',
|
|
23
|
-
'assembleLocStrings',
|
|
24
|
-
'canonicalizeViewRefName',
|
|
25
|
-
'clampToContig',
|
|
26
|
-
'clampToListedContig',
|
|
27
|
-
'containerDisplaysAssembly',
|
|
28
|
-
'downloadPhase',
|
|
29
|
-
'finishAddTrack',
|
|
30
|
-
'formatBytes',
|
|
31
|
-
'getDisplayStr',
|
|
32
|
-
'getLocationUri',
|
|
33
|
-
'handleFetchError',
|
|
34
|
-
'indexedDBAvailable',
|
|
35
|
-
'installablePlugins',
|
|
36
|
-
'isSessionWithMultipleViews',
|
|
37
|
-
'isSessionWithPermanentPlugins',
|
|
38
|
-
'isWebWorker',
|
|
39
|
-
'localStorageAvailable',
|
|
40
|
-
'localStorageGetStringArray',
|
|
41
|
-
'matchRefNames',
|
|
42
|
-
'measuredFont',
|
|
43
|
-
'namesTemporaryAssembly',
|
|
44
|
-
'notifyFeatureDetailsMiss',
|
|
45
|
-
'notifyLocalStorageKey',
|
|
46
|
-
'parseBpString',
|
|
47
|
-
'parseRegionNames',
|
|
48
|
-
'resolveNamedRegions',
|
|
49
|
-
'resolveStorePluginRefs',
|
|
50
|
-
'resolveStoreRefs',
|
|
51
|
-
'resolveUri',
|
|
52
|
-
'sessionStorageAvailable',
|
|
53
|
-
'sessionStorageGetItem',
|
|
54
|
-
'sessionStorageRemoveItem',
|
|
55
|
-
'sessionStorageSetItem',
|
|
56
|
-
'statusSource',
|
|
57
|
-
'subscribeToLocalStorageKey',
|
|
58
|
-
'throttleStatusEmits',
|
|
59
|
-
'useCreateOnce',
|
|
60
|
-
'useFinalUnmount',
|
|
61
|
-
'withFeatureDetails',
|
|
62
|
-
],
|
|
63
|
-
};
|
package/esm/ReExports/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './modules.ts';
|
package/esm/ReExports/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './modules.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { UNKNOWN, UNSUPPORTED, addAdapterGuesser, addTrackTypeGuesser, allSessionTracks, annotationTrackIds, canonicalAssemblyNames, clearFileFromCache, ensureFileHandleReady, expandLooseTrackConfig, findFileHandleIds, generateUnknownTrackConf, generateUnsupportedTrackConf, getBlob, getBlobMap, getConfAssemblyNames, getConfAssemblyNamesOrNone, getFileFromCache, getFileName, getRpcSessionId, getTrackAssemblyNames, getTrackName, guessAdapter, guessTabixIndex, guessTrackConf, guessTrackConfForLocation, guessTrackType, hasFileHandlesInCache, hideTrackGeneric, isLooseTrackConfig, isSameAssemblyName, launchToggleTrackGeneric, launchTrackGeneric, makeIndex, makeIndexType, normalizeTrackInit, openAssemblyInLinearView, openMateLabel, pickDisplayForView, restoreFileHandles, restoreFileHandlesFromSnapshot, setBlobMap, setFileInCache, showTrackGeneric, storeBlobLocation, storeFileHandleLocation, stripFileExtension, stripTrackIds, toggleTrackGeneric, viewCanDisplayTrack, viewDisplayNames, } from '../util/tracks.ts';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// The published `@jbrowse/core/util/tracks` module, listed by name. Same split,
|
|
2
|
-
// and the same reasons, as publicUtil.ts: serving `import * as trackUtils from
|
|
3
|
-
// '../util/tracks.ts'` made the external ABI a side effect of an internal
|
|
4
|
-
// module, so moving a helper out of tracks.ts silently edited what plugins get.
|
|
5
|
-
// `getParentRenderProps` left that way -- deleted as dead in-tree code, which it
|
|
6
|
-
// was, while published apollo called it on three display models.
|
|
7
|
-
//
|
|
8
|
-
// Unlike publicUi.tsx this one is served in the RPC worker too (sharedModules.ts),
|
|
9
|
-
// so it stays React-free; sharedModules.purity.test.ts fails on the graph, not
|
|
10
|
-
// on this list.
|
|
11
|
-
//
|
|
12
|
-
// So: adding a line is how a helper becomes public, and it is a decision rather
|
|
13
|
-
// than a side effect of where the code happens to live.
|
|
14
|
-
export { UNKNOWN, UNSUPPORTED, addAdapterGuesser, addTrackTypeGuesser, allSessionTracks, annotationTrackIds, canonicalAssemblyNames, clearFileFromCache, ensureFileHandleReady, expandLooseTrackConfig, findFileHandleIds, generateUnknownTrackConf, generateUnsupportedTrackConf, getBlob, getBlobMap, getConfAssemblyNames, getConfAssemblyNamesOrNone, getFileFromCache, getFileName, getRpcSessionId, getTrackAssemblyNames, getTrackName, guessAdapter, guessTabixIndex, guessTrackConf, guessTrackConfForLocation, guessTrackType, hasFileHandlesInCache, hideTrackGeneric, isLooseTrackConfig, isSameAssemblyName, launchToggleTrackGeneric, launchTrackGeneric, makeIndex, makeIndexType, normalizeTrackInit, openAssemblyInLinearView, openMateLabel, pickDisplayForView, restoreFileHandles, restoreFileHandlesFromSnapshot, setBlobMap, setFileInCache, showTrackGeneric, storeBlobLocation, storeFileHandleLocation, stripFileExtension, stripTrackIds, toggleTrackGeneric, viewCanDisplayTrack, viewDisplayNames, } from '../util/tracks.js';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
2
|
-
declare const LazyBaseTooltip: import("react").LazyExoticComponent<typeof import("../ui/BaseTooltip.tsx").default>;
|
|
3
|
-
export declare function BaseTooltip(props: ComponentProps<typeof LazyBaseTooltip>): import("react").JSX.Element;
|
|
4
|
-
export { ActionLink, AssemblySelector, BaseExportSvgDialog, CONTEXT_MENU_Z_INDEX, CascadingMenu, CascadingMenuButton, ConfirmDialog, ContextMenu, CopyToClipboardButton, Crosshairs, Dialog, EditableTypography, ErrorBanner, ErrorBar, ErrorMessage, ErrorOverlay, ExportSvgDialog, ExternalLink, FatalErrorDialog, FileDropZone, FileSelector, GpuFallbackButton, INLINE_MENU_ROW_WIDTH, InfoDialog, JexlFilterDialog, LAUNCH_LABEL, LEGEND_ROW_HEIGHT, LEGEND_SVG_GUTTER_WIDTH, LEGEND_SWATCH, LabeledCheckbox, LegendSwatchGlyph, LoadingEllipses, LoadingOverlay, LoadingProgress, LogoFull, Logomark, MAX_LEGEND_ITEMS, Menu, MonospaceTextField, NumberTextField, PluggableComponent, PluggableComponents, PluggableElements, PrerenderedCanvas, ProgressChip, RefNameAutocomplete, RefNameAutocompleteEndAdornment, ReplaceCurrentViewButton, ResetToDefaultButton, ResizeHandle, SanitizedHTML, ScrollChrome, ScrollEdgeShadow, SettingsChangesTable, ShareLinkField, SingleSlider, SliderTooltip, StatusProgressBar, SubmitDialog, SubmitForm, SvgColorLegend, TOOLTIP_Z_INDEX, TagTextField, VIEW_HEADER_HEIGHT, VerticalScrollbar, ViewLoadingScreen, addExtensionElement, adornmentReservePx, checkboxItem, colorFwdStrand, colorInterchrom, colorLongInsert, colorLongreadInv, colorNeutralRead, colorPairLL, colorPairLR, colorPairLRDark, colorPairRL, colorPairRR, colorRevStrand, colorScaleIsEmpty, colorShortInsert, colorSplitReadInversion, colorSupplementary, colorUnmappedMate, colorUnmappedMateDark, createJBrowseBaseTheme, createJBrowseTheme, createJBrowseThemeFromArgs, defaultThemes, getInputWidth, hoverBoxStyle, launchTargetsMenuItem, legendEntries, legendIsReadable, legendSpecOf, legendSwatches, makeSizeMenu, makeSizeSubMenu, matchesTrackSelector, measureLegendText, methylated5hmC, methylated5mC, nonEmptyLegendSections, pushIntoSubMenu, pushLaunchViewMenuItem, radioItems, replaceViewAction, resolveSubMenu, sliderScale, staysOpenOnClick, tagColorPalette, unmethylated5mC, useAssemblySelection, useCopyToClipboard, useExportSvgPreference, useMouseState, useMouseTracking, useRecentLocations, wrapComponent, } from '../ui/index.ts';
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
// The published `@jbrowse/core/ui` module, listed by name. Same split, and the
|
|
3
|
-
// same reasons, as publicUtil.ts: an internal barrel and an external ABI want
|
|
4
|
-
// opposite things, and serving `import * as coreUi from '../ui/index.ts'` made
|
|
5
|
-
// the second a side effect of the first.
|
|
6
|
-
//
|
|
7
|
-
// That coupling has a second cost here that util does not have, and it is the
|
|
8
|
-
// one that keeps biting: **removing a component from ui/index.ts is how this
|
|
9
|
-
// codebase does lazy loading.** The barrel is imported by eagerly-evaluated
|
|
10
|
-
// plugin entries, so a re-export of a heavy component holds it on the startup
|
|
11
|
-
// path -- that is why BaseTooltip left (the line alone held ~266KB of
|
|
12
|
-
// @floating-ui). With the ABI derived from the barrel, every such fix was also a
|
|
13
|
-
// silent ABI removal. BaseTooltip's spent two releases missing from the served
|
|
14
|
-
// namespace while apollo read it there.
|
|
15
|
-
//
|
|
16
|
-
// Splitting them makes those independent. Deleting an `export … from` line in
|
|
17
|
-
// ui/index.ts now stops compiling here, so the ABI question is asked; and the
|
|
18
|
-
// answer can be `lazy()`, since **this file may serve a component the barrel
|
|
19
|
-
// does not export** -- see BaseTooltip below, which is exactly that. The eager
|
|
20
|
-
// win and the plugin surface stop being the same edit.
|
|
21
|
-
//
|
|
22
|
-
// So: adding a line is how a component becomes public, and it is a decision
|
|
23
|
-
// rather than a side effect of where the code happens to live.
|
|
24
|
-
import { Suspense, lazy } from 'react';
|
|
25
|
-
// Deliberately not re-exported by ui/index.ts -- see above. Served from its own
|
|
26
|
-
// path too ('@jbrowse/core/ui/BaseTooltip', which published react-msaview uses),
|
|
27
|
-
// and read off this namespace by published apollo; both spellings are this one
|
|
28
|
-
// component, and neither puts @floating-ui on the startup path.
|
|
29
|
-
const LazyBaseTooltip = lazy(() => import('../ui/BaseTooltip.js'));
|
|
30
|
-
export function BaseTooltip(props) {
|
|
31
|
-
return (_jsx(Suspense, { fallback: null, children: _jsx(LazyBaseTooltip, { ...props }) }));
|
|
32
|
-
}
|
|
33
|
-
export { ActionLink, AssemblySelector, BaseExportSvgDialog, CONTEXT_MENU_Z_INDEX, CascadingMenu, CascadingMenuButton, ConfirmDialog, ContextMenu, CopyToClipboardButton, Crosshairs, Dialog, EditableTypography, ErrorBanner, ErrorBar, ErrorMessage, ErrorOverlay, ExportSvgDialog, ExternalLink, FatalErrorDialog, FileDropZone, FileSelector, GpuFallbackButton, INLINE_MENU_ROW_WIDTH, InfoDialog, JexlFilterDialog, LAUNCH_LABEL, LEGEND_ROW_HEIGHT, LEGEND_SVG_GUTTER_WIDTH, LEGEND_SWATCH, LabeledCheckbox, LegendSwatchGlyph, LoadingEllipses, LoadingOverlay, LoadingProgress, LogoFull, Logomark, MAX_LEGEND_ITEMS, Menu, MonospaceTextField, NumberTextField, PluggableComponent, PluggableComponents, PluggableElements, PrerenderedCanvas, ProgressChip, RefNameAutocomplete, RefNameAutocompleteEndAdornment, ReplaceCurrentViewButton, ResetToDefaultButton, ResizeHandle, SanitizedHTML, ScrollChrome, ScrollEdgeShadow, SettingsChangesTable, ShareLinkField, SingleSlider, SliderTooltip, StatusProgressBar, SubmitDialog, SubmitForm, SvgColorLegend, TOOLTIP_Z_INDEX, TagTextField, VIEW_HEADER_HEIGHT, VerticalScrollbar, ViewLoadingScreen, addExtensionElement, adornmentReservePx, checkboxItem, colorFwdStrand, colorInterchrom, colorLongInsert, colorLongreadInv, colorNeutralRead, colorPairLL, colorPairLR, colorPairLRDark, colorPairRL, colorPairRR, colorRevStrand, colorScaleIsEmpty, colorShortInsert, colorSplitReadInversion, colorSupplementary, colorUnmappedMate, colorUnmappedMateDark, createJBrowseBaseTheme, createJBrowseTheme, createJBrowseThemeFromArgs, defaultThemes, getInputWidth, hoverBoxStyle, launchTargetsMenuItem, legendEntries, legendIsReadable, legendSpecOf, legendSwatches, makeSizeMenu, makeSizeSubMenu, matchesTrackSelector, measureLegendText, methylated5hmC, methylated5mC, nonEmptyLegendSections, pushIntoSubMenu, pushLaunchViewMenuItem, radioItems, replaceViewAction, resolveSubMenu, sliderScale, staysOpenOnClick, tagColorPalette, unmethylated5mC, useAssemblySelection, useCopyToClipboard, useExportSvgPreference, useMouseState, useMouseTracking, useRecentLocations, wrapComponent, } from '../ui/index.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AuthNeededError, BEZIER_CONNECTOR_MAX_REACH_PX, ENCODED_PREFIX, IUPAC_MOTIF_REGEX, IntervalTree, JSON_PREFIX, MAX_ZOOM_RATE_PER_MS, SCROLL_ZOOM_FACTOR_DIVISOR, SHARE_PREFIX, SimpleFeature, UNKNOWN, UNSUPPORTED, UnknownRefNameError, ZOOM_ACTIVE_WINDOW_MS, accumulateScroll, adapterConfigFromSpec, addAdapterGuesser, addAddTrackComponent, addAndShowTrack, addOrReplaceView, addTrackFromWidget, addTrackTypeGuesser, aesDecrypt, aesEncrypt, animationAllowed, applyOrderWithin, applyZoomAccum, assembleLocString, assembleLocStringRaw, avg, b64PadSuffix, bezierConnectorPath, bpSpanPx, bpToPx, bytesForRegions, calculateRedispatchRange, canReplaceView, capitalizeFirst, checkStopToken, checkStopTokenThrottled, clamp, clearFileFromCache, cmpStr, coarseStripHTML, codonTable, compareLocStrings, compareLocs, complement, complementTable, createProgressReporter, createScrollLatch, createSharedSetup, createStatusChannel, createStatusFanOut, createStatusWindow, createStopToken, createStopTokenChecker, createStopTokenRotation, dedupe, defaultCodonTable, defaultStarts, diagonalizeRegions, diffTrackConfig, doesIntersect2, downloadStatus, drawImageOntoCanvasContext, encodeSessionParam, ensureFileHandleReady, expandLooseTrackConfig, featureSpanPx, fetchAndMaybeUnzip, fetchAndMaybeUnzipText, fetchJson, fileToLocation, findFileHandleIds, findParentThat, findParentThatIs, flattenTrackConfigDelta, formatRelativeTime, fromUrlSafeB64, gatherOverlaps, generateCodonTable, generateUnknownTrackConf, generateUnsupportedTrackConf, getAssemblyHost, getBlob, getBlobMap, getBpDisplayStr, getConfAssemblyNames, getContainingDisplay, getContainingTrack, getContainingView, getDialogHost, getEnv, launchOrReplaceView, getFileFromCache, getFileHandle, getFileName, getFillProps, getFrame, getNotificationSink, getNumberGrouping, getPaletteHost, getPluginUpdate, getRenderingServices, getRpcHost, getRpcSessionId, getSession, getSessionServices, getStr, getStrokeProps, getTickDisplayStr, getTrackAssemblyNames, getTrackName, getZoomNormalizer, groupBy, guessAdapter, guessTrackConf, guessTrackType, hasFileHandlesInCache, hasSharedArrayBuffer, hashCode, hideTrackGeneric, installedVersionFromUrl, intersection2, isAbortException, isAbstractMenuManager, isActivelyZooming, isAppRootModel, isAuthNeededException, isBlobLocation, isDataCurrent, isDisplayModel, isElectron, isFeature, isFileHandleLocation, isFileSystemAccessSupported, isGeneLikeType, isGzip, isLocalPathLocation, isLooseTrackConfig, isNode, isObject, isPalindromic, isPluginInstalled, isRootModelWithInternetAccounts, isRpcResult, isSelectionContainer, isSequenceMatchType, isSessionModel, isSessionServices, isSessionModelWithConfigEditing, isSessionModelWithConnectionEditing, isSessionModelWithConnections, isSessionModelWithWidgets, isSessionWithAddAssembly, isSessionWithAddSessionTrack, isSessionWithAddTracks, isSessionWithPublishTrackConf, isSessionWithDeleteTrackConf, isSessionWithSessionPlugins, isSessionWithSessionTracks, isSessionWithShareURL, isSessionWithViewReplacement, isStopToken, isStopped, isSupportedIndexingAdapter, isTrackModel, isTrackViewModel, isUriLocation, isValidTag, isViewContainer, isViewModel, iupacToRegex, linkify, locStringsToRegions, localStorageGetBoolean, localStorageGetItem, localStorageGetJSON, localStorageGetNumber, localStorageRemoveItem, localStorageSetBoolean, localStorageSetItem, localStorageSetJSON, localStorageSetNumber, makeAbortError, makeIndex, makeIndexType, makeTrackId, markStopTokenStopped, matchTrackId, max, maxFinite, measureGridWidth, measureText, mergeIntervals, mergeTrackConfig, min, minmax, normalizeWheelDelta, notEmpty, objectHash, openFeatureWidget, parseLocString, parseLocStringOneBased, parseMotifList, pluralize, polarToCartesian, progressLabel, rIC, radToDeg, readSessionFromDynamo, reducePrecision, registerStopTokenBroadcaster, renameRegionIfNeeded, renameRegionsIfNeeded, reorder, reorderWithin, resolvePlugin, resolveSelectedIds, restoreFileHandles, restoreFileHandlesFromSnapshot, revcom, reverse, reverseComplementIupac, revlist, saveAs, scheduleDetachedDestroy, saveSvgAsImage, selectNamedRegions, setBlobMap, setFileInCache, setNumberGrouping, sha256, sha256Base64, sha256Base64Url, shareEndpoint, shorten, shorten2, showTrackGeneric, springAnimate, statusFraction, statusMessageText, statusProgressLabel, statusReading, stitch, stopStopToken, stopTokenSignal, storeBlobLocation, storeFileHandle, storeFileHandleLocation, stringify, stripAlpha, stripFileExtension, stripTrackIds, sum, svgHtmlToPngBlob, tagRegex, testAdapter, toBase64, toBase64Url, toLocale, toUrlSafeB64, toggleTrackGeneric, truncateMiddle, updateStatus, useDebounce, useLocalStorage, useWidthSetter, verifyPermission, wheelFrameElapsedMs, wheelZoomAccum, withProgress, withStopTokenCheck, withStopTokenSignal, } from '../util/index.ts';
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
// The published `@jbrowse/core/util` module, listed by name.
|
|
2
|
-
//
|
|
3
|
-
// modules.ts used to serve `import * as coreUtil from '../util/index.ts'`, which
|
|
4
|
-
// made the external ABI a side effect of an internal barrel. The two want
|
|
5
|
-
// opposite things: in-tree code wants util/ reorganized freely, and a published
|
|
6
|
-
// plugin wants the names it linked against to still be there. Coupling them
|
|
7
|
-
// meant moving a file inside util/ silently edited the ABI, and nothing in the
|
|
8
|
-
// diff said so -- that is how `defaultCodonTable`, `iterMap`, `when` and the
|
|
9
|
-
// rest went, each one an `undefined` inside a bundle nobody was going to build
|
|
10
|
-
// again.
|
|
11
|
-
//
|
|
12
|
-
// Re-exporting by name from the barrel splits those jobs without freezing
|
|
13
|
-
// anything. Moving code between modules under util/ is still free, since only
|
|
14
|
-
// the barrel's own line changes. Taking a name *out* of the barrel stops
|
|
15
|
-
// compiling here, and the fix -- deleting the line below -- is an ABI removal
|
|
16
|
-
// that reads as one in review.
|
|
17
|
-
//
|
|
18
|
-
// So: adding a line is how a helper becomes public, and it is a decision rather
|
|
19
|
-
// than a side effect of where the code happens to live. This list is the ABI,
|
|
20
|
-
// which abiBaseline.json is deliberately not: that baseline fails on removals
|
|
21
|
-
// but not additions, so it sat 11 names behind what was actually being served
|
|
22
|
-
// by the time this was written. A list that has to be edited by hand cannot
|
|
23
|
-
// drift that way.
|
|
24
|
-
//
|
|
25
|
-
// '@jbrowse/core/ui' (publicUi.tsx, 128) and '@jbrowse/core/util/tracks'
|
|
26
|
-
// (publicTracks.ts, 51) are split the same way now, and each had already lost a
|
|
27
|
-
// name to the coupling: BaseTooltip and getParentRenderProps. publicUi.tsx also
|
|
28
|
-
// carries the part this file has no use for -- an ABI file may serve a component
|
|
29
|
-
// its barrel does not export, behind lazy(). That is what makes "take it out of
|
|
30
|
-
// the barrel so it leaves the startup path" a different edit from "stop serving
|
|
31
|
-
// it to plugins", which here they were not.
|
|
32
|
-
export { AuthNeededError, BEZIER_CONNECTOR_MAX_REACH_PX, ENCODED_PREFIX, IUPAC_MOTIF_REGEX, IntervalTree, JSON_PREFIX, MAX_ZOOM_RATE_PER_MS, SCROLL_ZOOM_FACTOR_DIVISOR, SHARE_PREFIX, SimpleFeature, UNKNOWN, UNSUPPORTED, UnknownRefNameError, ZOOM_ACTIVE_WINDOW_MS, accumulateScroll, adapterConfigFromSpec, addAdapterGuesser, addAddTrackComponent, addAndShowTrack, addOrReplaceView, addTrackFromWidget, addTrackTypeGuesser, aesDecrypt, aesEncrypt, animationAllowed, applyOrderWithin, applyZoomAccum, assembleLocString, assembleLocStringRaw, avg, b64PadSuffix, bezierConnectorPath, bpSpanPx, bpToPx, bytesForRegions, calculateRedispatchRange, canReplaceView, capitalizeFirst, checkStopToken, checkStopTokenThrottled, clamp, clearFileFromCache, cmpStr, coarseStripHTML, codonTable, compareLocStrings, compareLocs, complement, complementTable, createProgressReporter, createScrollLatch, createSharedSetup, createStatusChannel, createStatusFanOut, createStatusWindow, createStopToken, createStopTokenChecker, createStopTokenRotation, dedupe, defaultCodonTable, defaultStarts, diagonalizeRegions, diffTrackConfig, doesIntersect2, downloadStatus, drawImageOntoCanvasContext, encodeSessionParam, ensureFileHandleReady, expandLooseTrackConfig, featureSpanPx, fetchAndMaybeUnzip, fetchAndMaybeUnzipText, fetchJson, fileToLocation, findFileHandleIds, findParentThat, findParentThatIs, flattenTrackConfigDelta, formatRelativeTime, fromUrlSafeB64, gatherOverlaps, generateCodonTable, generateUnknownTrackConf, generateUnsupportedTrackConf, getAssemblyHost, getBlob, getBlobMap, getBpDisplayStr, getConfAssemblyNames, getContainingDisplay, getContainingTrack, getContainingView, getDialogHost, getEnv, launchOrReplaceView, getFileFromCache, getFileHandle, getFileName, getFillProps, getFrame, getNotificationSink, getNumberGrouping, getPaletteHost, getPluginUpdate, getRenderingServices, getRpcHost, getRpcSessionId, getSession, getSessionServices, getStr, getStrokeProps, getTickDisplayStr, getTrackAssemblyNames, getTrackName, getZoomNormalizer, groupBy, guessAdapter, guessTrackConf, guessTrackType, hasFileHandlesInCache, hasSharedArrayBuffer, hashCode, hideTrackGeneric, installedVersionFromUrl, intersection2, isAbortException, isAbstractMenuManager, isActivelyZooming, isAppRootModel, isAuthNeededException, isBlobLocation, isDataCurrent, isDisplayModel, isElectron, isFeature, isFileHandleLocation, isFileSystemAccessSupported, isGeneLikeType, isGzip, isLocalPathLocation, isLooseTrackConfig, isNode, isObject, isPalindromic, isPluginInstalled, isRootModelWithInternetAccounts, isRpcResult, isSelectionContainer, isSequenceMatchType, isSessionModel, isSessionServices, isSessionModelWithConfigEditing, isSessionModelWithConnectionEditing, isSessionModelWithConnections, isSessionModelWithWidgets, isSessionWithAddAssembly, isSessionWithAddSessionTrack, isSessionWithAddTracks, isSessionWithPublishTrackConf, isSessionWithDeleteTrackConf, isSessionWithSessionPlugins, isSessionWithSessionTracks, isSessionWithShareURL, isSessionWithViewReplacement, isStopToken, isStopped, isSupportedIndexingAdapter, isTrackModel, isTrackViewModel, isUriLocation, isValidTag, isViewContainer, isViewModel, iupacToRegex, linkify, locStringsToRegions, localStorageGetBoolean, localStorageGetItem, localStorageGetJSON, localStorageGetNumber, localStorageRemoveItem, localStorageSetBoolean, localStorageSetItem, localStorageSetJSON, localStorageSetNumber, makeAbortError, makeIndex, makeIndexType, makeTrackId, markStopTokenStopped, matchTrackId, max, maxFinite, measureGridWidth, measureText, mergeIntervals, mergeTrackConfig, min, minmax, normalizeWheelDelta, notEmpty, objectHash, openFeatureWidget, parseLocString, parseLocStringOneBased, parseMotifList, pluralize, polarToCartesian, progressLabel, rIC, radToDeg, readSessionFromDynamo, reducePrecision, registerStopTokenBroadcaster, renameRegionIfNeeded, renameRegionsIfNeeded, reorder, reorderWithin, resolvePlugin, resolveSelectedIds, restoreFileHandles, restoreFileHandlesFromSnapshot, revcom, reverse, reverseComplementIupac, revlist, saveAs, scheduleDetachedDestroy, saveSvgAsImage, selectNamedRegions, setBlobMap, setFileInCache, setNumberGrouping, sha256, sha256Base64, sha256Base64Url, shareEndpoint, shorten, shorten2, showTrackGeneric, springAnimate, statusFraction, statusMessageText, statusProgressLabel, statusReading, stitch, stopStopToken, stopTokenSignal, storeBlobLocation, storeFileHandle, storeFileHandleLocation, stringify, stripAlpha, stripFileExtension, stripTrackIds, sum, svgHtmlToPngBlob, tagRegex, testAdapter, toBase64, toBase64Url, toLocale, toUrlSafeB64, toggleTrackGeneric, truncateMiddle, updateStatus, useDebounce, useLocalStorage, useWidthSetter, verifyPermission, wheelFrameElapsedMs, wheelZoomAccum, withProgress, withStopTokenCheck, withStopTokenSignal, } from '../util/index.js';
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as mst from '@jbrowse/mobx-state-tree';
|
|
3
|
-
import * as mobx from 'mobx';
|
|
4
|
-
import * as ReactJSXRuntime from 'react/jsx-runtime';
|
|
5
|
-
import Plugin from '../Plugin.ts';
|
|
6
|
-
import * as Configuration from '../configuration/index.ts';
|
|
7
|
-
import * as BaseAdapterExports from '../data_adapters/BaseAdapter/index.ts';
|
|
8
|
-
import * as dataAdapterCache from '../data_adapters/dataAdapterCache.ts';
|
|
9
|
-
import AdapterType from '../pluggableElementTypes/AdapterType.ts';
|
|
10
|
-
import DisplayType from '../pluggableElementTypes/DisplayType.ts';
|
|
11
|
-
import TrackType from '../pluggableElementTypes/TrackType.ts';
|
|
12
|
-
import ViewType from '../pluggableElementTypes/ViewType.ts';
|
|
13
|
-
import WidgetType from '../pluggableElementTypes/WidgetType.ts';
|
|
14
|
-
import * as pluggableElementTypes from '../pluggableElementTypes/index.ts';
|
|
15
|
-
import * as pluggableElementTypeModels from '../pluggableElementTypes/models/index.ts';
|
|
16
|
-
import * as corePalette from '../ui/palette.ts';
|
|
17
|
-
import * as coreTheme from '../ui/theme.ts';
|
|
18
|
-
import * as coreColor from '../util/color/index.ts';
|
|
19
|
-
import * as coreIo from '../util/io/index.ts';
|
|
20
|
-
import * as coreLayouts from '../util/layouts/index.ts';
|
|
21
|
-
import * as coreMstReflection from '../util/mst-reflection.ts';
|
|
22
|
-
import * as rxjs from '../util/rxjs.ts';
|
|
23
|
-
import * as mstTypes from '../util/types/mst.ts';
|
|
24
|
-
import * as trackUtils from './publicTracks.ts';
|
|
25
|
-
import * as coreUtil from './publicUtil.ts';
|
|
26
|
-
export declare const sharedModules: {
|
|
27
|
-
mobx: typeof mobx;
|
|
28
|
-
'@jbrowse/mobx-state-tree': typeof mst;
|
|
29
|
-
'mobx-state-tree': typeof mst;
|
|
30
|
-
react: typeof React;
|
|
31
|
-
'react/jsx-runtime': typeof ReactJSXRuntime;
|
|
32
|
-
'@jbrowse/core/Plugin': typeof Plugin;
|
|
33
|
-
'@jbrowse/core/configuration': typeof Configuration;
|
|
34
|
-
'@jbrowse/core/util/types/mst': typeof mstTypes;
|
|
35
|
-
'@jbrowse/core/ui/theme': typeof coreTheme;
|
|
36
|
-
'@jbrowse/core/ui/palette': typeof corePalette;
|
|
37
|
-
'@jbrowse/core/util': typeof coreUtil;
|
|
38
|
-
'@jbrowse/core/util/color': typeof coreColor;
|
|
39
|
-
'@jbrowse/core/util/layouts': typeof coreLayouts;
|
|
40
|
-
'@jbrowse/core/util/tracks': typeof trackUtils;
|
|
41
|
-
'@jbrowse/core/util/Base1DViewModel': mst.IModelType<{
|
|
42
|
-
id: mst.IOptionalIType<mst.ISimpleType<string>, [undefined]>;
|
|
43
|
-
displayedRegions: mst.IOptionalIType<mst.IType<import("../util/index.ts").Region[], import("../util/index.ts").Region[], import("../util/index.ts").Region[]>, [undefined]>;
|
|
44
|
-
bpPerPx: mst.IType<number | undefined, number, number>;
|
|
45
|
-
offsetPx: mst.IType<number | undefined, number, number>;
|
|
46
|
-
minimumBlockWidth: mst.IOptionalIType<mst.ISimpleType<number>, [undefined]>;
|
|
47
|
-
}, {
|
|
48
|
-
volatileWidth: number;
|
|
49
|
-
} & {
|
|
50
|
-
setDisplayedRegions(regions: import("../util/index.ts").Region[]): void;
|
|
51
|
-
setBpPerPx(val: number): void;
|
|
52
|
-
setVolatileWidth(width: number): void;
|
|
53
|
-
} & {
|
|
54
|
-
readonly width: number;
|
|
55
|
-
readonly minBpPerPx: number;
|
|
56
|
-
readonly maxBpPerPx: number;
|
|
57
|
-
readonly assemblyNames: string[];
|
|
58
|
-
readonly displayedRegionsTotalPx: number;
|
|
59
|
-
readonly maxOffset: number;
|
|
60
|
-
readonly minOffset: number;
|
|
61
|
-
readonly totalBp: number;
|
|
62
|
-
} & {
|
|
63
|
-
readonly dynamicBlocks: import("../util/blockTypes.ts").BlockSet;
|
|
64
|
-
readonly staticBlocks: import("../util/blockTypes.ts").BlockSet;
|
|
65
|
-
readonly currBp: number;
|
|
66
|
-
} & {
|
|
67
|
-
pxToBp(px: number): import("../util/Base1DUtils.ts").PxToBpResult;
|
|
68
|
-
bpToPx(args: {
|
|
69
|
-
refName: string;
|
|
70
|
-
coord: number;
|
|
71
|
-
displayedRegionIndex?: number;
|
|
72
|
-
}): number | undefined;
|
|
73
|
-
} & {
|
|
74
|
-
showAllRegions(): void;
|
|
75
|
-
zoomOut(): void;
|
|
76
|
-
zoomIn(): void;
|
|
77
|
-
zoomTo(bpPerPx: number, offset?: any): number;
|
|
78
|
-
scrollTo(offsetPx: number): number;
|
|
79
|
-
centerAt(coord: number, refName: string | undefined, displayedRegionIndex: number): void;
|
|
80
|
-
scroll(distance: number): number;
|
|
81
|
-
} & {
|
|
82
|
-
moveTo(start?: import("../util/Base1DUtils.ts").BpOffset, end?: import("../util/Base1DUtils.ts").BpOffset): void;
|
|
83
|
-
}, mst._NotCustomized, mst._NotCustomized>;
|
|
84
|
-
'@jbrowse/core/util/io': typeof coreIo;
|
|
85
|
-
'@jbrowse/core/util/mst-reflection': typeof coreMstReflection;
|
|
86
|
-
'@jbrowse/core/util/rxjs': typeof rxjs;
|
|
87
|
-
'@jbrowse/core/pluggableElementTypes': typeof pluggableElementTypes;
|
|
88
|
-
'@jbrowse/core/pluggableElementTypes/ViewType': typeof ViewType;
|
|
89
|
-
'@jbrowse/core/pluggableElementTypes/AdapterType': typeof AdapterType;
|
|
90
|
-
'@jbrowse/core/pluggableElementTypes/DisplayType': typeof DisplayType;
|
|
91
|
-
'@jbrowse/core/pluggableElementTypes/TrackType': typeof TrackType;
|
|
92
|
-
'@jbrowse/core/pluggableElementTypes/WidgetType': typeof WidgetType;
|
|
93
|
-
'@jbrowse/core/pluggableElementTypes/models': typeof pluggableElementTypeModels;
|
|
94
|
-
'@jbrowse/core/data_adapters/BaseAdapter': typeof BaseAdapterExports;
|
|
95
|
-
'@jbrowse/core/data_adapters/dataAdapterCache': typeof dataAdapterCache;
|
|
96
|
-
};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
// eslint-disable-next-line no-restricted-imports
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as mst from '@jbrowse/mobx-state-tree';
|
|
4
|
-
import * as mobx from 'mobx';
|
|
5
|
-
import * as ReactJSXRuntime from 'react/jsx-runtime';
|
|
6
|
-
import Plugin from '../Plugin.js';
|
|
7
|
-
import * as Configuration from '../configuration/index.js';
|
|
8
|
-
import * as BaseAdapterExports from '../data_adapters/BaseAdapter/index.js';
|
|
9
|
-
import * as dataAdapterCache from '../data_adapters/dataAdapterCache.js';
|
|
10
|
-
import AdapterType from '../pluggableElementTypes/AdapterType.js';
|
|
11
|
-
import DisplayType from '../pluggableElementTypes/DisplayType.js';
|
|
12
|
-
import TrackType from '../pluggableElementTypes/TrackType.js';
|
|
13
|
-
import ViewType from '../pluggableElementTypes/ViewType.js';
|
|
14
|
-
import WidgetType from '../pluggableElementTypes/WidgetType.js';
|
|
15
|
-
import * as pluggableElementTypes from '../pluggableElementTypes/index.js';
|
|
16
|
-
import * as pluggableElementTypeModels from '../pluggableElementTypes/models/index.js';
|
|
17
|
-
import * as corePalette from '../ui/palette.js';
|
|
18
|
-
import * as coreTheme from '../ui/theme.js';
|
|
19
|
-
import Base1DView from '../util/Base1DViewModel.js';
|
|
20
|
-
import * as coreColor from '../util/color/index.js';
|
|
21
|
-
import * as coreIo from '../util/io/index.js';
|
|
22
|
-
import * as coreLayouts from '../util/layouts/index.js';
|
|
23
|
-
import * as coreMstReflection from '../util/mst-reflection.js';
|
|
24
|
-
import * as rxjs from '../util/rxjs.js';
|
|
25
|
-
import * as mstTypes from '../util/types/mst.js';
|
|
26
|
-
import * as trackUtils from './publicTracks.js';
|
|
27
|
-
import * as coreUtil from './publicUtil.js';
|
|
28
|
-
// The part of the runtime plugin ABI that is not UI: what a plugin evaluated in
|
|
29
|
-
// the RPC worker can actually use. modules.ts adds the UI on top of it for the
|
|
30
|
-
// main thread; workerModules.ts fills the same keys with a stub instead.
|
|
31
|
-
export const sharedModules = {
|
|
32
|
-
mobx,
|
|
33
|
-
'@jbrowse/mobx-state-tree': mst,
|
|
34
|
-
'mobx-state-tree': mst,
|
|
35
|
-
react: React,
|
|
36
|
-
'react/jsx-runtime': ReactJSXRuntime,
|
|
37
|
-
'@jbrowse/core/Plugin': Plugin,
|
|
38
|
-
'@jbrowse/core/configuration': Configuration,
|
|
39
|
-
'@jbrowse/core/util/types/mst': mstTypes,
|
|
40
|
-
'@jbrowse/core/ui/theme': coreTheme,
|
|
41
|
-
'@jbrowse/core/ui/palette': corePalette,
|
|
42
|
-
'@jbrowse/core/util': coreUtil,
|
|
43
|
-
'@jbrowse/core/util/color': coreColor,
|
|
44
|
-
'@jbrowse/core/util/layouts': coreLayouts,
|
|
45
|
-
'@jbrowse/core/util/tracks': trackUtils,
|
|
46
|
-
'@jbrowse/core/util/Base1DViewModel': Base1DView,
|
|
47
|
-
'@jbrowse/core/util/io': coreIo,
|
|
48
|
-
'@jbrowse/core/util/mst-reflection': coreMstReflection,
|
|
49
|
-
'@jbrowse/core/util/rxjs': rxjs,
|
|
50
|
-
'@jbrowse/core/pluggableElementTypes': pluggableElementTypes,
|
|
51
|
-
'@jbrowse/core/pluggableElementTypes/ViewType': ViewType,
|
|
52
|
-
'@jbrowse/core/pluggableElementTypes/AdapterType': AdapterType,
|
|
53
|
-
'@jbrowse/core/pluggableElementTypes/DisplayType': DisplayType,
|
|
54
|
-
'@jbrowse/core/pluggableElementTypes/TrackType': TrackType,
|
|
55
|
-
'@jbrowse/core/pluggableElementTypes/WidgetType': WidgetType,
|
|
56
|
-
'@jbrowse/core/pluggableElementTypes/models': pluggableElementTypeModels,
|
|
57
|
-
'@jbrowse/core/data_adapters/BaseAdapter': BaseAdapterExports,
|
|
58
|
-
// `adapterCache` is module-level state, so a plugin that bundles its own copy
|
|
59
|
-
// of this file gets a second cache in the RPC worker — and
|
|
60
|
-
// `freeAdapterResources`, which CoreFreeResources calls on the host's copy
|
|
61
|
-
// when the last track using an adapter config closes, never sees it. The
|
|
62
|
-
// cache is the only strong reference to an adapter, so those adapters and
|
|
63
|
-
// everything they hold live as long as the worker. Serving the module is what
|
|
64
|
-
// makes an external RPC method share the host's cache.
|
|
65
|
-
'@jbrowse/core/data_adapters/dataAdapterCache': dataAdapterCache,
|
|
66
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const REACT_DOM_NAMES: string[];
|
|
2
|
-
export declare const REACT_DOM_CLIENT_NAMES: string[];
|
|
3
|
-
export declare const MOBX_REACT_NAMES: string[];
|
|
4
|
-
export declare const MUI_UTILS_NAMES: string[];
|
|
5
|
-
export declare const MUI_STYLES_NAMES: string[];
|
|
6
|
-
export declare const TSS_REACT_NAMES: string[];
|
|
7
|
-
export declare const MATERIAL_UI_LAB_NAMES: string[];
|
|
8
|
-
export declare const MUI_MATERIAL_NAMES: string[];
|
|
9
|
-
export declare const MATERIAL_UI_CORE_NAMES: string[];
|
|
10
|
-
export declare const CORE_UI_NAMES: string[];
|
|
11
|
-
export declare const WORKER_NAMESPACE_NAMES: Record<string, readonly string[]>;
|