@datagrok/compute 1.18.0 → 1.19.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@datagrok/compute",
3
3
  "friendlyName": "Compute",
4
- "version": "1.18.0",
4
+ "version": "1.19.1",
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.17.3",
16
+ "@datagrok-libraries/compute-utils": "^1.19.1",
17
17
  "cash-dom": "latest",
18
18
  "datagrok-api": "^1.17.0",
19
19
  "dayjs": "^1.11.10",
@@ -14,7 +14,7 @@
14
14
  //output: double coolingFactor {caption: Cooling factor; units: 1 / sec.; category: Calculations}
15
15
  //output: double tempDiff {caption: Temperature difference; units: C; category: Calculations}
16
16
  //editor: Compute:RichFunctionViewEditor
17
- //meta.uploadMode: true
17
+ //meta.features: {"sens-analysis": true, "upload": true}
18
18
  //meta.runOnOpen: true
19
19
  //meta.runOnInput: true
20
20
  //meta.foldedCategories: ["Object properties"]
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
  }