@datagrok/compute 1.19.0 → 1.19.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.
- package/CHANGELOG.md +17 -0
- package/dist/package.js +1 -1
- package/dist/package.js.map +1 -1
- package/package.json +2 -2
- package/src/package.ts +10 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datagrok/compute",
|
|
3
3
|
"friendlyName": "Compute",
|
|
4
|
-
"version": "1.19.
|
|
4
|
+
"version": "1.19.2",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Aufar Zakiev",
|
|
7
7
|
"email": "aufar.zakiev@softwarecountry.com"
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"directory": "packages/Compute"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@datagrok-libraries/compute-utils": "^1.19.
|
|
16
|
+
"@datagrok-libraries/compute-utils": "^1.19.2",
|
|
17
17
|
"cash-dom": "latest",
|
|
18
18
|
"datagrok-api": "^1.17.0",
|
|
19
19
|
"dayjs": "^1.11.10",
|
package/src/package.ts
CHANGED
|
@@ -208,4 +208,14 @@ export function HeatCapValidator(params: any) {
|
|
|
208
208
|
]
|
|
209
209
|
});
|
|
210
210
|
};
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
//name: CustomStringInput
|
|
214
|
+
//input: object params
|
|
215
|
+
//output: object input
|
|
216
|
+
export function CustomStringInput(params: any) {
|
|
217
|
+
const defaultInput = ui.stringInput('Custom input', '');
|
|
218
|
+
defaultInput.root.style.backgroundColor = 'aqua';
|
|
219
|
+
defaultInput.input.style.backgroundColor = 'aqua';
|
|
220
|
+
return defaultInput;
|
|
211
221
|
}
|