@jbrowse/product-core 2.13.0 → 2.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/RootModel/BaseRootModel.d.ts +110 -84
- package/dist/RootModel/InternetAccounts.d.ts +1 -1
- package/dist/RootModel/InternetAccounts.js +1 -2
- package/dist/Session/BaseSession.d.ts +6 -2
- package/dist/Session/Connections.d.ts +71 -11
- package/dist/Session/Connections.js +3 -1
- package/dist/Session/DialogQueue.d.ts +1 -1
- package/dist/Session/MultipleViews.d.ts +354 -266
- package/dist/Session/ReferenceManagement.d.ts +1 -1
- package/dist/Session/ReferenceManagement.js +6 -2
- package/dist/Session/SessionTracks.d.ts +344 -258
- package/dist/Session/Tracks.d.ts +343 -255
- package/dist/Session/Tracks.js +3 -1
- package/dist/ui/AboutDialogContents.js +9 -3
- package/dist/ui/FileInfoPanel.d.ts +1 -1
- package/dist/ui/FileInfoPanel.js +1 -1
- package/dist/ui/RefNameInfoDialog.js +5 -3
- package/esm/RootModel/BaseRootModel.d.ts +110 -84
- package/esm/RootModel/InternetAccounts.d.ts +1 -1
- package/esm/RootModel/InternetAccounts.js +1 -2
- package/esm/Session/BaseSession.d.ts +6 -2
- package/esm/Session/Connections.d.ts +71 -11
- package/esm/Session/Connections.js +3 -1
- package/esm/Session/DialogQueue.d.ts +1 -1
- package/esm/Session/MultipleViews.d.ts +354 -266
- package/esm/Session/ReferenceManagement.d.ts +1 -1
- package/esm/Session/ReferenceManagement.js +6 -2
- package/esm/Session/SessionTracks.d.ts +344 -258
- package/esm/Session/Tracks.d.ts +343 -255
- package/esm/Session/Tracks.js +3 -1
- package/esm/ui/AboutDialogContents.js +9 -3
- package/esm/ui/FileInfoPanel.d.ts +1 -1
- package/esm/ui/FileInfoPanel.js +1 -1
- package/esm/ui/RefNameInfoDialog.js +5 -3
- package/package.json +4 -4
|
@@ -24,7 +24,7 @@ export declare function ReferenceManagementSessionMixin(_pluginManager: PluginMa
|
|
|
24
24
|
/**
|
|
25
25
|
* #action
|
|
26
26
|
*/
|
|
27
|
-
removeReferring(referring: ReferringNode[], track: BaseTrackConfig, callbacks:
|
|
27
|
+
removeReferring(referring: ReferringNode[], track: BaseTrackConfig, callbacks: ((arg: string) => void)[], dereferenceTypeCount: Record<string, number>): void;
|
|
28
28
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
29
29
|
/** Session mixin MST type for a session that manages multiple views */
|
|
30
30
|
export type SessionWithReferenceManagementType = ReturnType<typeof ReferenceManagementSessionMixin>;
|
|
@@ -46,7 +46,9 @@ export function ReferenceManagementSessionMixin(_pluginManager) {
|
|
|
46
46
|
// from the view
|
|
47
47
|
const type = 'open track(s)';
|
|
48
48
|
const view = getContainingView(node);
|
|
49
|
-
callbacks.push(() =>
|
|
49
|
+
callbacks.push(() => {
|
|
50
|
+
view.hideTrack(track.trackId);
|
|
51
|
+
});
|
|
50
52
|
dereferenced = true;
|
|
51
53
|
if (!dereferenceTypeCount[type]) {
|
|
52
54
|
dereferenceTypeCount[type] = 0;
|
|
@@ -61,7 +63,9 @@ export function ReferenceManagementSessionMixin(_pluginManager) {
|
|
|
61
63
|
// open, close the widget
|
|
62
64
|
const type = 'configuration editor widget(s)';
|
|
63
65
|
if (isSessionModelWithWidgets(self)) {
|
|
64
|
-
callbacks.push(() =>
|
|
66
|
+
callbacks.push(() => {
|
|
67
|
+
self.hideWidget(node);
|
|
68
|
+
});
|
|
65
69
|
}
|
|
66
70
|
dereferenced = true;
|
|
67
71
|
if (!dereferenceTypeCount[type]) {
|