@datagrok/helm 2.13.3 → 2.13.4
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/package-test.js +1 -1
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +1 -1
- package/dist/package.js.map +1 -1
- package/package.json +1 -1
- package/src/package.g.ts +5 -0
- package/src/package.ts +5 -1
- package/test-console-output-1.log +83 -84
- package/test-record-1.mp4 +0 -0
package/package.json
CHANGED
package/src/package.g.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {PackageFunctions} from './package';
|
|
2
2
|
import * as DG from 'datagrok-api/dg';
|
|
3
3
|
|
|
4
|
+
//tags: init
|
|
4
5
|
//meta.role: init
|
|
5
6
|
export async function initHelm() : Promise<void> {
|
|
6
7
|
await PackageFunctions.initHelm();
|
|
@@ -12,6 +13,7 @@ export async function getHelmService() : Promise<any> {
|
|
|
12
13
|
return await PackageFunctions.getHelmService();
|
|
13
14
|
}
|
|
14
15
|
|
|
16
|
+
//tags: cellRenderer
|
|
15
17
|
//output: grid_cell_renderer result
|
|
16
18
|
//meta.columnTags: quality=Macromolecule, units=helm
|
|
17
19
|
//meta.cellType: helm
|
|
@@ -21,6 +23,7 @@ export function helmCellRenderer() : any {
|
|
|
21
23
|
}
|
|
22
24
|
|
|
23
25
|
//description: Macromolecule
|
|
26
|
+
//tags: cellEditor
|
|
24
27
|
//input: grid_cell cell
|
|
25
28
|
//meta.columnTags: quality=Macromolecule, units=helm
|
|
26
29
|
//meta.role: cellEditor
|
|
@@ -37,6 +40,7 @@ export function openEditor(mol: DG.SemanticValue) : void {
|
|
|
37
40
|
}
|
|
38
41
|
|
|
39
42
|
//name: Properties
|
|
43
|
+
//tags: panel, widgets, bio
|
|
40
44
|
//input: semantic_value sequence { semType: Macromolecule }
|
|
41
45
|
//output: widget result
|
|
42
46
|
//meta.role: widgets,panel
|
|
@@ -51,6 +55,7 @@ export function getMolfiles(col: DG.Column<any>) : any {
|
|
|
51
55
|
return PackageFunctions.getMolfiles(col);
|
|
52
56
|
}
|
|
53
57
|
|
|
58
|
+
//tags: valueEditor
|
|
54
59
|
//input: string name { optional: true }
|
|
55
60
|
//input: object options { optional: true }
|
|
56
61
|
//output: object result
|
package/src/package.ts
CHANGED
|
@@ -125,7 +125,7 @@ function checkMonomersAndOpenWebEditor(cell: DG.GridCell, value?: string, units?
|
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
export class PackageFunctions {
|
|
128
|
-
@grok.decorators.init()
|
|
128
|
+
@grok.decorators.init({tags: ['init']})
|
|
129
129
|
static async initHelm(): Promise<void> {
|
|
130
130
|
if (initHelmPromise === null)
|
|
131
131
|
initHelmPromise = initHelmInt();
|
|
@@ -147,6 +147,7 @@ export class PackageFunctions {
|
|
|
147
147
|
'cellType': 'helm',
|
|
148
148
|
'role': 'cellRenderer'
|
|
149
149
|
},
|
|
150
|
+
'tags': ['cellRenderer'],
|
|
150
151
|
'outputs': [{name: 'result', type: 'grid_cell_renderer'}]
|
|
151
152
|
})
|
|
152
153
|
static helmCellRenderer(): DG.GridCellRenderer {
|
|
@@ -162,6 +163,7 @@ export class PackageFunctions {
|
|
|
162
163
|
'columnTags': 'quality=Macromolecule, units=helm',
|
|
163
164
|
'role': 'cellEditor'
|
|
164
165
|
},
|
|
166
|
+
'tags': ['cellEditor'],
|
|
165
167
|
'description': 'Macromolecule'
|
|
166
168
|
})
|
|
167
169
|
static editMoleculeCell(
|
|
@@ -197,6 +199,7 @@ export class PackageFunctions {
|
|
|
197
199
|
@grok.decorators.panel({
|
|
198
200
|
'name': 'Properties',
|
|
199
201
|
'meta': {role: 'widgets', domain: 'bio'},
|
|
202
|
+
'tags': ['panel', 'widgets', 'bio']
|
|
200
203
|
})
|
|
201
204
|
static propertiesWidget(
|
|
202
205
|
@grok.decorators.param({'options': {'semType': 'Macromolecule'}}) sequence: DG.SemanticValue): DG.Widget {
|
|
@@ -219,6 +222,7 @@ export class PackageFunctions {
|
|
|
219
222
|
'semType': 'Macromolecule',
|
|
220
223
|
'role': 'valueEditor'
|
|
221
224
|
},
|
|
225
|
+
'tags': ['valueEditor'],
|
|
222
226
|
'outputs': [{'type': 'object', 'name': 'result'}]
|
|
223
227
|
})
|
|
224
228
|
static helmInput(
|