@datagrok/compute 1.44.3 → 1.44.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/CHANGELOG.md +4 -0
- package/dist/148.js.map +1 -1
- package/dist/377.js.map +1 -1
- package/dist/44.js +1 -1
- package/dist/44.js.map +1 -1
- 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 +3 -2
- package/src/package.g.ts +140 -0
- package/src/package.ts +327 -287
- package/webpack.config.js +65 -50
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datagrok/compute",
|
|
3
3
|
"friendlyName": "Compute",
|
|
4
|
-
"version": "1.44.
|
|
4
|
+
"version": "1.44.4",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Andrey Sharapov",
|
|
7
7
|
"email": "andrey.sharapov@softwarecountry.com"
|
|
@@ -29,11 +29,12 @@
|
|
|
29
29
|
"@typescript-eslint/eslint-plugin": "^8.8.1",
|
|
30
30
|
"@typescript-eslint/parser": "^8.8.1",
|
|
31
31
|
"css-loader": "^7.1.2",
|
|
32
|
-
"datagrok-tools": "^4.14.
|
|
32
|
+
"datagrok-tools": "^4.14.48",
|
|
33
33
|
"eslint": "^8.0.1",
|
|
34
34
|
"eslint-config-google": "^0.14.0",
|
|
35
35
|
"style-loader": "^4.0.0",
|
|
36
36
|
"webpack": "^5.95.0",
|
|
37
|
+
"webpack-bundle-analyzer": "^4.10.2",
|
|
37
38
|
"webpack-cli": "^5.1.4"
|
|
38
39
|
},
|
|
39
40
|
"scripts": {
|
package/src/package.g.ts
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import {PackageFunctions} from './package';
|
|
2
|
+
import * as DG from 'datagrok-api/dg';
|
|
3
|
+
|
|
4
|
+
//input: funccall funccall
|
|
5
|
+
export function openModelFromFuncall(funccall: DG.FuncCall) : void {
|
|
6
|
+
PackageFunctions.openModelFromFuncall(funccall);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
//name: OutliersSelectionViewer
|
|
10
|
+
//description: Creates an outliers selection viewer
|
|
11
|
+
//tags: viewer
|
|
12
|
+
//output: viewer result
|
|
13
|
+
export function OutliersSelection() {
|
|
14
|
+
return PackageFunctions.OutliersSelection();
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
//tags: editor
|
|
18
|
+
//input: funccall call
|
|
19
|
+
//output: view result
|
|
20
|
+
export function RichFunctionViewEditor(call: DG.FuncCall) {
|
|
21
|
+
return PackageFunctions.RichFunctionViewEditor(call);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
//tags: editor
|
|
25
|
+
//input: funccall call
|
|
26
|
+
//output: view result
|
|
27
|
+
export function PipelineStepEditor(call: DG.FuncCall) {
|
|
28
|
+
return PackageFunctions.PipelineStepEditor(call);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
//name: renderRestPanel
|
|
32
|
+
//input: func func
|
|
33
|
+
//output: widget result
|
|
34
|
+
export async function renderPanel(func: any) : Promise<any> {
|
|
35
|
+
return await PackageFunctions.renderPanel(func);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
//tags: init
|
|
39
|
+
export function init() : void {
|
|
40
|
+
PackageFunctions.init();
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
//name: Model Hub
|
|
44
|
+
//tags: app
|
|
45
|
+
//output: view result
|
|
46
|
+
//meta.browsePath: Compute
|
|
47
|
+
export function modelCatalog() {
|
|
48
|
+
return PackageFunctions.modelCatalog();
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
//input: dynamic treeNode
|
|
52
|
+
//input: view browseView
|
|
53
|
+
//meta.role:
|
|
54
|
+
//meta.app:
|
|
55
|
+
export function modelCatalogTreeBrowser(treeNode: any, browseView: DG.ViewBase) : void {
|
|
56
|
+
PackageFunctions.modelCatalogTreeBrowser(treeNode, browseView);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
//input: dynamic func
|
|
60
|
+
//output: object uploadedCalls
|
|
61
|
+
export async function CustomDataUploader(func: any) {
|
|
62
|
+
return await PackageFunctions.CustomDataUploader(func);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
//input: object params
|
|
66
|
+
//output: widget uploadWidget
|
|
67
|
+
//output: funccall uploadFuncCall
|
|
68
|
+
export async function CustomUploader(params: any) {
|
|
69
|
+
return await PackageFunctions.CustomUploader(params);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
//input: object params
|
|
73
|
+
export function CustomCustomizer(params: any) : void {
|
|
74
|
+
PackageFunctions.CustomCustomizer(params);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
//input: object params
|
|
78
|
+
//output: object validator
|
|
79
|
+
export function SimTimeValidator(params: any) {
|
|
80
|
+
return PackageFunctions.SimTimeValidator(params);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
//input: object params
|
|
84
|
+
//output: object validator
|
|
85
|
+
export function DesiredTempValidator(params: any) {
|
|
86
|
+
return PackageFunctions.DesiredTempValidator(params);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
//input: object params
|
|
90
|
+
//output: object validator
|
|
91
|
+
export function InitialTempValidator(params: any) {
|
|
92
|
+
return PackageFunctions.InitialTempValidator(params);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
//input: object params
|
|
96
|
+
//output: object validator
|
|
97
|
+
export function AmbTempValidator(params: any) {
|
|
98
|
+
return PackageFunctions.AmbTempValidator(params);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
//input: object params
|
|
102
|
+
//output: object validator
|
|
103
|
+
export function HeatCapValidator(params: any) {
|
|
104
|
+
return PackageFunctions.HeatCapValidator(params);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
//input: object params
|
|
108
|
+
//output: object result
|
|
109
|
+
export function CustomStringInput(params: any) {
|
|
110
|
+
return PackageFunctions.CustomStringInput(params);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
//input: object params
|
|
114
|
+
//output: object result
|
|
115
|
+
export function ObjectCoolingSelector(params: any) {
|
|
116
|
+
return PackageFunctions.ObjectCoolingSelector(params);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
//description: Test for optimization: multiple scalars output
|
|
120
|
+
//input: double x1 = 1 { caption: param1; min: -3; max: 3 }
|
|
121
|
+
//input: double x2 = -1 { caption: param2; min: -3; max: 3 }
|
|
122
|
+
//input: dataframe y { caption: table }
|
|
123
|
+
//input: bool bool
|
|
124
|
+
//output: int integer
|
|
125
|
+
//output: double float1
|
|
126
|
+
//output: double float2
|
|
127
|
+
//output: dataframe table1 { viewer: Line chart(block:60) | Grid(block:40) }
|
|
128
|
+
//output: dataframe table2 { viewer: Line chart(block:60) | Grid(block:40) }
|
|
129
|
+
//meta.features: {"fitting": true, "sens-analysis": true}
|
|
130
|
+
//meta.runOnOpen: true
|
|
131
|
+
//meta.runOnInput: true
|
|
132
|
+
//editor: Compute:RichFunctionViewEditor
|
|
133
|
+
export function fitTestFunc(x1: number, x2: number, y: DG.DataFrame, bool: boolean) {
|
|
134
|
+
return PackageFunctions.fitTestFunc(x1, x2, y, bool);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
//description: Test for optimization: multiple scalars output
|
|
138
|
+
export async function testFittingOutputs() : Promise<void> {
|
|
139
|
+
await PackageFunctions.testFittingOutputs();
|
|
140
|
+
}
|