@jbrowse/plugin-data-management 2.13.0 → 2.13.1

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.
@@ -101,14 +101,41 @@ export default function stateTreeFactory(pluginManager: PluginManager): import("
101
101
  afterAttach(): void;
102
102
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
103
103
  }, {
104
+ /**
105
+ * #volatile
106
+ */
104
107
  favorites: string[];
108
+ /**
109
+ * #volatile
110
+ */
105
111
  recentlyUsed: string[];
112
+ /**
113
+ * #volatile
114
+ */
106
115
  selection: AnyConfigurationModel[];
116
+ /**
117
+ * #volatile
118
+ */
107
119
  sortTrackNames: MaybeBoolean;
120
+ /**
121
+ * #volatile
122
+ */
108
123
  sortCategories: MaybeBoolean;
124
+ /**
125
+ * #volatile
126
+ */
109
127
  collapsed: import("mobx").ObservableMap<string, boolean>;
128
+ /**
129
+ * #volatile
130
+ */
110
131
  filterText: string;
132
+ /**
133
+ * #volatile
134
+ */
111
135
  recentlyUsedCounter: number;
136
+ /**
137
+ * #volatile
138
+ */
112
139
  favoritesCounter: number;
113
140
  } & {
114
141
  /**
@@ -82,14 +82,41 @@ function stateTreeFactory(pluginManager) {
82
82
  faceted: mobx_state_tree_1.types.optional((0, facetedModel_1.facetedStateTreeF)(), {}),
83
83
  })
84
84
  .volatile(() => ({
85
+ /**
86
+ * #volatile
87
+ */
85
88
  favorites: localStorageGetJSON(favoritesK(), []),
89
+ /**
90
+ * #volatile
91
+ */
86
92
  recentlyUsed: [],
93
+ /**
94
+ * #volatile
95
+ */
87
96
  selection: [],
97
+ /**
98
+ * #volatile
99
+ */
88
100
  sortTrackNames: localStorageGetJSON(sortTrackNamesK(), undefined),
101
+ /**
102
+ * #volatile
103
+ */
89
104
  sortCategories: localStorageGetJSON(sortCategoriesK(), undefined),
105
+ /**
106
+ * #volatile
107
+ */
90
108
  collapsed: mobx_1.observable.map(),
109
+ /**
110
+ * #volatile
111
+ */
91
112
  filterText: '',
113
+ /**
114
+ * #volatile
115
+ */
92
116
  recentlyUsedCounter: 0,
117
+ /**
118
+ * #volatile
119
+ */
93
120
  favoritesCounter: 0,
94
121
  }))
95
122
  .views(self => ({
@@ -22,7 +22,5 @@ function DeletePluginDialog({ onClose, plugin, }) {
22
22
  onClose(plugin);
23
23
  }, 500);
24
24
  } }, "Confirm"),
25
- react_1.default.createElement(material_1.Button, { variant: "contained", color: "secondary", onClick: () => {
26
- onClose();
27
- } }, "Cancel"))));
25
+ react_1.default.createElement(material_1.Button, { variant: "contained", color: "secondary", onClick: () => onClose() }, "Cancel"))));
28
26
  }
@@ -6,7 +6,13 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
6
6
  filterText: import("mobx-state-tree").IType<string | undefined, string, string>;
7
7
  view: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
8
8
  }, {
9
+ /**
10
+ * #action
11
+ */
9
12
  clearFilterText(): void;
13
+ /**
14
+ * #action
15
+ */
10
16
  setFilterText(newText: string): void;
11
17
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
12
18
  export type PluginStoreStateModel = ReturnType<typeof stateModelFactory>;
@@ -6,15 +6,33 @@ const mst_1 = require("@jbrowse/core/util/types/mst");
6
6
  function stateModelFactory(pluginManager) {
7
7
  return mobx_state_tree_1.types
8
8
  .model('PluginStoreModel', {
9
+ /**
10
+ * #property
11
+ */
9
12
  id: mst_1.ElementId,
13
+ /**
14
+ * #property
15
+ */
10
16
  type: mobx_state_tree_1.types.literal('PluginStoreWidget'),
17
+ /**
18
+ * #property
19
+ */
11
20
  filterText: '',
21
+ /**
22
+ * #property
23
+ */
12
24
  view: mobx_state_tree_1.types.safeReference(pluginManager.pluggableMstType('view', 'stateModel')),
13
25
  })
14
26
  .actions(self => ({
27
+ /**
28
+ * #action
29
+ */
15
30
  clearFilterText() {
16
31
  self.filterText = '';
17
32
  },
33
+ /**
34
+ * #action
35
+ */
18
36
  setFilterText(newText) {
19
37
  self.filterText = newText;
20
38
  },
@@ -101,14 +101,41 @@ export default function stateTreeFactory(pluginManager: PluginManager): import("
101
101
  afterAttach(): void;
102
102
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
103
103
  }, {
104
+ /**
105
+ * #volatile
106
+ */
104
107
  favorites: string[];
108
+ /**
109
+ * #volatile
110
+ */
105
111
  recentlyUsed: string[];
112
+ /**
113
+ * #volatile
114
+ */
106
115
  selection: AnyConfigurationModel[];
116
+ /**
117
+ * #volatile
118
+ */
107
119
  sortTrackNames: MaybeBoolean;
120
+ /**
121
+ * #volatile
122
+ */
108
123
  sortCategories: MaybeBoolean;
124
+ /**
125
+ * #volatile
126
+ */
109
127
  collapsed: import("mobx").ObservableMap<string, boolean>;
128
+ /**
129
+ * #volatile
130
+ */
110
131
  filterText: string;
132
+ /**
133
+ * #volatile
134
+ */
111
135
  recentlyUsedCounter: number;
136
+ /**
137
+ * #volatile
138
+ */
112
139
  favoritesCounter: number;
113
140
  } & {
114
141
  /**
@@ -79,14 +79,41 @@ export default function stateTreeFactory(pluginManager) {
79
79
  faceted: types.optional(facetedStateTreeF(), {}),
80
80
  })
81
81
  .volatile(() => ({
82
+ /**
83
+ * #volatile
84
+ */
82
85
  favorites: localStorageGetJSON(favoritesK(), []),
86
+ /**
87
+ * #volatile
88
+ */
83
89
  recentlyUsed: [],
90
+ /**
91
+ * #volatile
92
+ */
84
93
  selection: [],
94
+ /**
95
+ * #volatile
96
+ */
85
97
  sortTrackNames: localStorageGetJSON(sortTrackNamesK(), undefined),
98
+ /**
99
+ * #volatile
100
+ */
86
101
  sortCategories: localStorageGetJSON(sortCategoriesK(), undefined),
102
+ /**
103
+ * #volatile
104
+ */
87
105
  collapsed: observable.map(),
106
+ /**
107
+ * #volatile
108
+ */
88
109
  filterText: '',
110
+ /**
111
+ * #volatile
112
+ */
89
113
  recentlyUsedCounter: 0,
114
+ /**
115
+ * #volatile
116
+ */
90
117
  favoritesCounter: 0,
91
118
  }))
92
119
  .views(self => ({
@@ -16,7 +16,5 @@ export default function DeletePluginDialog({ onClose, plugin, }) {
16
16
  onClose(plugin);
17
17
  }, 500);
18
18
  } }, "Confirm"),
19
- React.createElement(Button, { variant: "contained", color: "secondary", onClick: () => {
20
- onClose();
21
- } }, "Cancel"))));
19
+ React.createElement(Button, { variant: "contained", color: "secondary", onClick: () => onClose() }, "Cancel"))));
22
20
  }
@@ -6,7 +6,13 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
6
6
  filterText: import("mobx-state-tree").IType<string | undefined, string, string>;
7
7
  view: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
8
8
  }, {
9
+ /**
10
+ * #action
11
+ */
9
12
  clearFilterText(): void;
13
+ /**
14
+ * #action
15
+ */
10
16
  setFilterText(newText: string): void;
11
17
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
12
18
  export type PluginStoreStateModel = ReturnType<typeof stateModelFactory>;
@@ -3,15 +3,33 @@ import { ElementId } from '@jbrowse/core/util/types/mst';
3
3
  export default function stateModelFactory(pluginManager) {
4
4
  return types
5
5
  .model('PluginStoreModel', {
6
+ /**
7
+ * #property
8
+ */
6
9
  id: ElementId,
10
+ /**
11
+ * #property
12
+ */
7
13
  type: types.literal('PluginStoreWidget'),
14
+ /**
15
+ * #property
16
+ */
8
17
  filterText: '',
18
+ /**
19
+ * #property
20
+ */
9
21
  view: types.safeReference(pluginManager.pluggableMstType('view', 'stateModel')),
10
22
  })
11
23
  .actions(self => ({
24
+ /**
25
+ * #action
26
+ */
12
27
  clearFilterText() {
13
28
  self.filterText = '';
14
29
  },
30
+ /**
31
+ * #action
32
+ */
15
33
  setFilterText(newText) {
16
34
  self.filterText = newText;
17
35
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-data-management",
3
- "version": "2.13.0",
3
+ "version": "2.13.1",
4
4
  "description": "JBrowse 2 linear genome view",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -60,5 +60,5 @@
60
60
  "distModule": "esm/index.js",
61
61
  "srcModule": "src/index.ts",
62
62
  "module": "esm/index.js",
63
- "gitHead": "efe02fb9616e20e929cceeed46eb96420c1b6923"
63
+ "gitHead": "fcebca71cc1d066654603e1a9accfa6c6d4f764d"
64
64
  }