@jbrowse/plugin-data-management 2.11.0 → 2.11.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.
Files changed (39) hide show
  1. package/dist/AddConnectionWidget/index.d.ts +1 -2
  2. package/dist/AddConnectionWidget/index.js +3 -2
  3. package/dist/AddTrackWidget/index.d.ts +1 -2
  4. package/dist/AddTrackWidget/index.js +3 -2
  5. package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedSelector.js +48 -16
  6. package/dist/HierarchicalTrackSelectorWidget/facetedModel.d.ts +0 -5
  7. package/dist/HierarchicalTrackSelectorWidget/facetedModel.js +0 -26
  8. package/dist/HierarchicalTrackSelectorWidget/index.d.ts +1 -2
  9. package/dist/HierarchicalTrackSelectorWidget/index.js +3 -2
  10. package/dist/HierarchicalTrackSelectorWidget/model.d.ts +16 -36
  11. package/dist/HierarchicalTrackSelectorWidget/model.js +99 -86
  12. package/dist/HierarchicalTrackSelectorWidget/util.d.ts +1 -1
  13. package/dist/HierarchicalTrackSelectorWidget/util.js +4 -3
  14. package/dist/PluginStoreWidget/index.d.ts +1 -2
  15. package/dist/PluginStoreWidget/index.js +3 -2
  16. package/dist/index.d.ts +1 -1
  17. package/dist/index.js +2 -2
  18. package/dist/ucsc-trackhub/index.d.ts +1 -2
  19. package/dist/ucsc-trackhub/index.js +3 -2
  20. package/esm/AddConnectionWidget/index.d.ts +1 -2
  21. package/esm/AddConnectionWidget/index.js +2 -2
  22. package/esm/AddTrackWidget/index.d.ts +1 -2
  23. package/esm/AddTrackWidget/index.js +2 -2
  24. package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedSelector.js +26 -17
  25. package/esm/HierarchicalTrackSelectorWidget/facetedModel.d.ts +0 -5
  26. package/esm/HierarchicalTrackSelectorWidget/facetedModel.js +1 -27
  27. package/esm/HierarchicalTrackSelectorWidget/index.d.ts +1 -2
  28. package/esm/HierarchicalTrackSelectorWidget/index.js +2 -2
  29. package/esm/HierarchicalTrackSelectorWidget/model.d.ts +16 -36
  30. package/esm/HierarchicalTrackSelectorWidget/model.js +100 -87
  31. package/esm/HierarchicalTrackSelectorWidget/util.d.ts +1 -1
  32. package/esm/HierarchicalTrackSelectorWidget/util.js +4 -3
  33. package/esm/PluginStoreWidget/index.d.ts +1 -2
  34. package/esm/PluginStoreWidget/index.js +2 -2
  35. package/esm/index.d.ts +1 -1
  36. package/esm/index.js +1 -1
  37. package/esm/ucsc-trackhub/index.d.ts +1 -2
  38. package/esm/ucsc-trackhub/index.js +2 -2
  39. package/package.json +2 -2
@@ -31,7 +31,7 @@ const pluggableElementTypes_1 = require("@jbrowse/core/pluggableElementTypes");
31
31
  const react_1 = require("react");
32
32
  const model_1 = __importDefault(require("./model"));
33
33
  const configSchema = (0, configuration_1.ConfigurationSchema)('PluginStoreWidget', {});
34
- exports.default = (pluginManager) => {
34
+ function PluginStoreWidgetF(pluginManager) {
35
35
  pluginManager.addWidgetType(() => {
36
36
  return new pluggableElementTypes_1.WidgetType({
37
37
  name: 'PluginStoreWidget',
@@ -41,4 +41,5 @@ exports.default = (pluginManager) => {
41
41
  ReactComponent: (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('./components/PluginStoreWidget')))),
42
42
  });
43
43
  });
44
- };
44
+ }
45
+ exports.default = PluginStoreWidgetF;
package/dist/index.d.ts CHANGED
@@ -5,7 +5,7 @@ declare const AssemblyManager: import("react").LazyExoticComponent<({ rootModel,
5
5
  rootModel: any;
6
6
  onClose: (arg: boolean) => void;
7
7
  }) => import("react").JSX.Element>;
8
- export default class extends Plugin {
8
+ export default class DataManagementPlugin extends Plugin {
9
9
  name: string;
10
10
  exports: {
11
11
  AssemblyManager: import("react").LazyExoticComponent<({ rootModel, onClose, }: {
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ const PluginStoreWidget_1 = __importDefault(require("./PluginStoreWidget"));
36
36
  const HierarchicalTrackSelectorWidget_1 = __importDefault(require("./HierarchicalTrackSelectorWidget"));
37
37
  const AssemblyManager = (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('./AssemblyManager'))));
38
38
  exports.AssemblyManager = AssemblyManager;
39
- class default_1 extends Plugin_1.default {
39
+ class DataManagementPlugin extends Plugin_1.default {
40
40
  constructor() {
41
41
  super(...arguments);
42
42
  this.name = 'DataManagementPlugin';
@@ -53,4 +53,4 @@ class default_1 extends Plugin_1.default {
53
53
  }
54
54
  configure(_pluginManager) { }
55
55
  }
56
- exports.default = default_1;
56
+ exports.default = DataManagementPlugin;
@@ -1,3 +1,2 @@
1
1
  import PluginManager from '@jbrowse/core/PluginManager';
2
- declare const _default: (pluginManager: PluginManager) => void;
3
- export default _default;
2
+ export default function UCSCTrackHubConnectionF(pluginManager: PluginManager): void;
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const pluggableElementTypes_1 = require("@jbrowse/core/pluggableElementTypes");
7
7
  const model_1 = __importDefault(require("./model"));
8
8
  const configSchema_1 = __importDefault(require("./configSchema"));
9
- exports.default = (pluginManager) => {
9
+ function UCSCTrackHubConnectionF(pluginManager) {
10
10
  pluginManager.addConnectionType(() => new pluggableElementTypes_1.ConnectionType({
11
11
  name: 'UCSCTrackHubConnection',
12
12
  configSchema: configSchema_1.default,
@@ -15,4 +15,5 @@ exports.default = (pluginManager) => {
15
15
  description: 'A track or assembly hub in the Track Hub format',
16
16
  url: '//genome.ucsc.edu/goldenPath/help/hgTrackHubHelp.html#Intro',
17
17
  }));
18
- };
18
+ }
19
+ exports.default = UCSCTrackHubConnectionF;
@@ -1,3 +1,2 @@
1
1
  import PluginManager from '@jbrowse/core/PluginManager';
2
- declare const _default: (pluginManager: PluginManager) => void;
3
- export default _default;
2
+ export default function AddConnectionWidgetF(pluginManager: PluginManager): void;
@@ -3,7 +3,7 @@ import { WidgetType } from '@jbrowse/core/pluggableElementTypes';
3
3
  import { lazy } from 'react';
4
4
  import stateModel from './model';
5
5
  const configSchema = ConfigurationSchema('AddConnectionWidget', {});
6
- export default (pluginManager) => {
6
+ export default function AddConnectionWidgetF(pluginManager) {
7
7
  pluginManager.addWidgetType(() => {
8
8
  return new WidgetType({
9
9
  name: 'AddConnectionWidget',
@@ -13,4 +13,4 @@ export default (pluginManager) => {
13
13
  ReactComponent: lazy(() => import('./components/AddConnectionWidget')),
14
14
  });
15
15
  });
16
- };
16
+ }
@@ -1,3 +1,2 @@
1
1
  import PluginManager from '@jbrowse/core/PluginManager';
2
- declare const _default: (pluginManager: PluginManager) => void;
3
- export default _default;
2
+ export default function AddTrackWidgetF(pluginManager: PluginManager): void;
@@ -3,7 +3,7 @@ import { WidgetType } from '@jbrowse/core/pluggableElementTypes';
3
3
  import { lazy } from 'react';
4
4
  import stateModelFactory from './model';
5
5
  const configSchema = ConfigurationSchema('AddTrackWidget', {});
6
- export default (pluginManager) => {
6
+ export default function AddTrackWidgetF(pluginManager) {
7
7
  pluginManager.addWidgetType(() => {
8
8
  return new WidgetType({
9
9
  name: 'AddTrackWidget',
@@ -13,4 +13,4 @@ export default (pluginManager) => {
13
13
  ReactComponent: lazy(() => import('./components/AddTrackWidget')),
14
14
  });
15
15
  });
16
- };
16
+ }
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React, { useState } from 'react';
2
2
  import { transaction } from 'mobx';
3
3
  import { observer } from 'mobx-react';
4
4
  import { getRoot, resolveIdentifier } from 'mobx-state-tree';
@@ -6,9 +6,7 @@ import { DataGrid, GridToolbar } from '@mui/x-data-grid';
6
6
  // jbrowse
7
7
  import { ResizeHandle } from '@jbrowse/core/ui';
8
8
  import SanitizedHTML from '@jbrowse/core/ui/SanitizedHTML';
9
- import ResizeBar from '@jbrowse/core/ui/ResizeBar';
10
- import { getEnv, useDebounce } from '@jbrowse/core/util';
11
- import { useResizeBar } from '@jbrowse/core/ui/useResizeBar';
9
+ import { getEnv, measureGridWidth } from '@jbrowse/core/util';
12
10
  import { makeStyles } from 'tss-react/mui';
13
11
  import FacetedHeader from './FacetedHeader';
14
12
  import FacetFilters from './FacetFilters';
@@ -30,10 +28,25 @@ const FacetedSelector = observer(function FacetedSelector({ model, }) {
30
28
  var _a;
31
29
  const { classes } = useStyles();
32
30
  const { view, selection, shownTrackIds, faceted } = model;
33
- const { rows, panelWidth, showFilters, useShoppingCart, showOptions, filteredRows, filteredNonMetadataKeys, filteredMetadataKeys, visible, widths, } = faceted;
31
+ const { rows, panelWidth, showFilters, useShoppingCart, showOptions, filteredRows, filteredNonMetadataKeys, filteredMetadataKeys, visible, } = faceted;
34
32
  const { pluginManager } = getEnv(model);
35
- const { ref, scrollLeft } = useResizeBar();
36
- const widthsDebounced = useDebounce(widths, 200);
33
+ const [widths, setWidths] = useState({
34
+ name: measureGridWidth(rows.map(r => r.name), { maxWidth: 500, stripHTML: true }) + 15,
35
+ ...Object.fromEntries(filteredNonMetadataKeys
36
+ .filter(f => visible[f])
37
+ .map(e => [
38
+ e,
39
+ measureGridWidth(rows.map(r => r[e]), { maxWidth: 400, stripHTML: true }),
40
+ ])),
41
+ ...Object.fromEntries(filteredMetadataKeys
42
+ .filter(f => visible['metadata.' + f])
43
+ .map(e => {
44
+ return [
45
+ 'metadata.' + e,
46
+ measureGridWidth(rows.map(r => r.metadata[e]), { maxWidth: 400, stripHTML: true }),
47
+ ];
48
+ })),
49
+ });
37
50
  const columns = [
38
51
  {
39
52
  field: 'name',
@@ -45,13 +58,13 @@ const FacetedSelector = observer(function FacetedSelector({ model, }) {
45
58
  React.createElement(SanitizedHTML, { html: value }),
46
59
  React.createElement(TrackLabelMenu, { id: id, conf: conf, trackId: id, model: model })));
47
60
  },
48
- width: (_a = widthsDebounced.name) !== null && _a !== void 0 ? _a : 100,
61
+ width: (_a = widths.name) !== null && _a !== void 0 ? _a : 100,
49
62
  },
50
63
  ...filteredNonMetadataKeys.map(e => {
51
64
  var _a;
52
65
  return {
53
66
  field: e,
54
- width: (_a = widthsDebounced[e]) !== null && _a !== void 0 ? _a : 100,
67
+ width: (_a = widths[e]) !== null && _a !== void 0 ? _a : 100,
55
68
  renderCell: params => {
56
69
  const val = params.value;
57
70
  return val ? (React.createElement(SanitizedHTML, { className: classes.cell, html: val })) : ('');
@@ -65,8 +78,8 @@ const FacetedSelector = observer(function FacetedSelector({ model, }) {
65
78
  headerName: ['name', ...filteredNonMetadataKeys].includes(e)
66
79
  ? `${e} (from metadata)`
67
80
  : e,
68
- width: (_a = widthsDebounced['metadata.' + e]) !== null && _a !== void 0 ? _a : 100,
69
- valueGetter: (_, row) => `${row.metadata[e]}`,
81
+ width: (_a = widths['metadata.' + e]) !== null && _a !== void 0 ? _a : 100,
82
+ valueGetter: (_, row) => { var _a; return `${(_a = row.metadata[e]) !== null && _a !== void 0 ? _a : ''}`; },
70
83
  renderCell: params => {
71
84
  const val = params.value;
72
85
  return val ? (React.createElement(SanitizedHTML, { className: classes.cell, html: val })) : ('');
@@ -76,7 +89,7 @@ const FacetedSelector = observer(function FacetedSelector({ model, }) {
76
89
  ];
77
90
  return (React.createElement(React.Fragment, null,
78
91
  React.createElement(FacetedHeader, { model: model }),
79
- React.createElement("div", { ref: ref, style: {
92
+ React.createElement("div", { style: {
80
93
  display: 'flex',
81
94
  overflow: 'hidden',
82
95
  height: window.innerHeight * frac,
@@ -86,11 +99,7 @@ const FacetedSelector = observer(function FacetedSelector({ model, }) {
86
99
  height: window.innerHeight * frac,
87
100
  width: window.innerWidth * frac - (showFilters ? panelWidth : 0),
88
101
  } },
89
- React.createElement(ResizeBar, { checkbox: true, widths: Object.values(widths).map(f => f !== null && f !== void 0 ? f : 100), setWidths: newWidths => faceted.setWidths(Object.fromEntries(Object.entries(widths).map((entry, idx) => [
90
- entry[0],
91
- newWidths[idx],
92
- ]))), scrollLeft: scrollLeft }),
93
- React.createElement(DataGrid, { rows: filteredRows, columnVisibilityModel: visible, onColumnVisibilityModelChange: n => faceted.setVisible(n), columnHeaderHeight: 35, checkboxSelection: true, disableRowSelectionOnClick: true, keepNonExistentRowsSelected: true, onRowSelectionModelChange: userSelectedIds => {
102
+ React.createElement(DataGrid, { rows: filteredRows, onColumnWidthChange: arg => setWidths({ ...widths, [arg.colDef.field]: arg.width }), columnVisibilityModel: visible, onColumnVisibilityModelChange: n => faceted.setVisible(n), columnHeaderHeight: 35, checkboxSelection: true, disableRowSelectionOnClick: true, keepNonExistentRowsSelected: true, onRowSelectionModelChange: userSelectedIds => {
94
103
  if (!useShoppingCart) {
95
104
  const a1 = shownTrackIds;
96
105
  const a2 = new Set(userSelectedIds);
@@ -25,7 +25,6 @@ export declare function facetedStateTreeF(): import("mobx-state-tree").IModelTyp
25
25
  panelWidth: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
26
26
  }, {
27
27
  visible: Record<string, boolean>;
28
- widths: Record<string, number | undefined>;
29
28
  useShoppingCart: boolean;
30
29
  filters: import("mobx").ObservableMap<string, string[]>;
31
30
  } & {
@@ -118,10 +117,6 @@ export declare function facetedStateTreeF(): import("mobx-state-tree").IModelTyp
118
117
  * #action
119
118
  */
120
119
  setVisible(args: Record<string, boolean>): void;
121
- /**
122
- * #action
123
- */
124
- setWidths(args: Record<string, number | undefined>): void;
125
120
  afterAttach(): void;
126
121
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
127
122
  export type FacetedStateModel = ReturnType<typeof facetedStateTreeF>;
@@ -2,7 +2,7 @@ import { addDisposer, getParent, types } from 'mobx-state-tree';
2
2
  import { matches } from './util';
3
3
  import { readConfObject, } from '@jbrowse/core/configuration';
4
4
  import { getTrackName } from '@jbrowse/core/util/tracks';
5
- import { getSession, localStorageGetItem, measureGridWidth, } from '@jbrowse/core/util';
5
+ import { getSession, localStorageGetItem } from '@jbrowse/core/util';
6
6
  import { autorun, observable } from 'mobx';
7
7
  import { getRootKeys, findNonSparseKeys } from './facetedUtil';
8
8
  import { getRowStr } from './components/faceted/util';
@@ -36,7 +36,6 @@ export function facetedStateTreeF() {
36
36
  })
37
37
  .volatile(() => ({
38
38
  visible: {},
39
- widths: {},
40
39
  useShoppingCart: false,
41
40
  filters: observable.map(),
42
41
  }))
@@ -164,35 +163,10 @@ export function facetedStateTreeF() {
164
163
  setVisible(args) {
165
164
  self.visible = args;
166
165
  },
167
- /**
168
- * #action
169
- */
170
- setWidths(args) {
171
- self.widths = args;
172
- },
173
166
  afterAttach() {
174
167
  addDisposer(self, autorun(() => {
175
168
  this.setVisible(Object.fromEntries(self.fields.map(c => [c, true])));
176
169
  }));
177
- addDisposer(self, autorun(() => {
178
- this.setWidths({
179
- name: measureGridWidth(self.rows.map(r => r.name), { maxWidth: 500, stripHTML: true }) + 15,
180
- ...Object.fromEntries(self.filteredNonMetadataKeys
181
- .filter(f => self.visible[f])
182
- .map(e => [
183
- e,
184
- measureGridWidth(self.rows.map(r => r[e]), { maxWidth: 400, stripHTML: true }),
185
- ])),
186
- ...Object.fromEntries(self.filteredMetadataKeys
187
- .filter(f => self.visible['metadata.' + f])
188
- .map(e => {
189
- return [
190
- 'metadata.' + e,
191
- measureGridWidth(self.rows.map(r => r.metadata[e]), { maxWidth: 400, stripHTML: true }),
192
- ];
193
- })),
194
- });
195
- }));
196
170
  },
197
171
  }));
198
172
  }
@@ -1,5 +1,4 @@
1
1
  import PluginManager from '@jbrowse/core/PluginManager';
2
- declare const _default: (pluginManager: PluginManager) => void;
3
- export default _default;
2
+ export default function HierarchicalTrackSelectorWidgetF(pluginManager: PluginManager): void;
4
3
  export { type HierarchicalTrackSelectorModel, default as stateModelFactory, } from './model';
5
4
  export { default as configSchema } from './configSchema';
@@ -2,7 +2,7 @@ import stateModelFactory from './model';
2
2
  import configSchema from './configSchema';
3
3
  import { WidgetType } from '@jbrowse/core/pluggableElementTypes';
4
4
  import { lazy } from 'react';
5
- export default (pluginManager) => {
5
+ export default function HierarchicalTrackSelectorWidgetF(pluginManager) {
6
6
  pluginManager.addWidgetType(() => {
7
7
  return new WidgetType({
8
8
  name: 'HierarchicalTrackSelectorWidget',
@@ -12,6 +12,6 @@ export default (pluginManager) => {
12
12
  ReactComponent: lazy(() => import('./components/HierarchicalTrackSelector')),
13
13
  });
14
14
  });
15
- };
15
+ }
16
16
  export { default as stateModelFactory, } from './model';
17
17
  export { default as configSchema } from './configSchema';
@@ -14,22 +14,6 @@ export default function stateTreeFactory(pluginManager: PluginManager): import("
14
14
  * #property
15
15
  */
16
16
  type: import("mobx-state-tree").ISimpleType<"HierarchicalTrackSelectorWidget">;
17
- /**
18
- * #property
19
- */
20
- initialized: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
21
- /**
22
- * #property
23
- */
24
- collapsed: import("mobx-state-tree").IMapType<import("mobx-state-tree").ISimpleType<boolean>>;
25
- /**
26
- * #property
27
- */
28
- sortTrackNames: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
29
- /**
30
- * #property
31
- */
32
- sortCategories: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
33
17
  /**
34
18
  * #property
35
19
  */
@@ -45,7 +29,6 @@ export default function stateTreeFactory(pluginManager: PluginManager): import("
45
29
  panelWidth: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
46
30
  }, {
47
31
  visible: Record<string, boolean>;
48
- widths: Record<string, number | undefined>;
49
32
  useShoppingCart: boolean;
50
33
  filters: import("mobx").ObservableMap<string, string[]>;
51
34
  } & {
@@ -54,7 +37,9 @@ export default function stateTreeFactory(pluginManager: PluginManager): import("
54
37
  setUseShoppingCart(f: boolean): void;
55
38
  setFilterText(str: string): void;
56
39
  setShowSparse(f: boolean): void;
57
- setShowOptions(f: boolean): void;
40
+ setShowOptions(f: boolean): void; /**
41
+ * #property
42
+ */
58
43
  setShowFilters(f: boolean): void;
59
44
  } & {
60
45
  readonly allTrackConfigurations: ({
@@ -96,7 +81,6 @@ export default function stateTreeFactory(pluginManager: PluginManager): import("
96
81
  }[];
97
82
  } & {
98
83
  setVisible(args: Record<string, boolean>): void;
99
- setWidths(args: Record<string, number | undefined>): void;
100
84
  afterAttach(): void;
101
85
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
102
86
  }, {
@@ -107,6 +91,9 @@ export default function stateTreeFactory(pluginManager: PluginManager): import("
107
91
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
108
92
  setSubschema(slotName: string, data: unknown): any;
109
93
  } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>)[];
94
+ sortTrackNames: boolean;
95
+ sortCategories: boolean;
96
+ collapsed: import("mobx").ObservableMap<string, boolean>;
110
97
  filterText: string;
111
98
  recentlyUsedCounter: number;
112
99
  favoritesCounter: number;
@@ -131,6 +118,10 @@ export default function stateTreeFactory(pluginManager: PluginManager): import("
131
118
  * #getter
132
119
  */
133
120
  readonly recentlyUsedSet: Set<string>;
121
+ /**
122
+ * #getter
123
+ */
124
+ readonly assemblyNames: string[];
134
125
  } & {
135
126
  /**
136
127
  * #action
@@ -208,6 +199,10 @@ export default function stateTreeFactory(pluginManager: PluginManager): import("
208
199
  * #action
209
200
  */
210
201
  expandAllCategories(): void;
202
+ /**
203
+ * #action
204
+ */
205
+ setCollapsedCategories(str: [string, boolean][]): void;
211
206
  /**
212
207
  * #action
213
208
  */
@@ -237,24 +232,11 @@ export default function stateTreeFactory(pluginManager: PluginManager): import("
237
232
  /**
238
233
  * #getter
239
234
  */
240
- readonly assemblyNames: string[];
241
- } & {
242
- /**
243
- * #getter
244
- */
245
- readonly recentlyUsedLocalStorageKey: string;
235
+ readonly activeSortTrackNames: boolean;
246
236
  /**
247
237
  * #getter
248
238
  */
249
- readonly favoritesLocalStorageKey: string;
250
- /**
251
- * #getter
252
- */
253
- readonly activeSortTrackNames: any;
254
- /**
255
- * #getter
256
- */
257
- readonly activeSortCategories: any;
239
+ readonly activeSortCategories: boolean;
258
240
  /**
259
241
  * #getter
260
242
  * filter out tracks that don't match the current assembly/display types
@@ -340,8 +322,6 @@ export default function stateTreeFactory(pluginManager: PluginManager): import("
340
322
  * #action
341
323
  */
342
324
  collapseTopLevelCategories(): void;
343
- } & {
344
- afterCreate(): void;
345
325
  } & {
346
326
  /**
347
327
  * #getter