@datagrok/helm 2.3.1 → 2.3.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 +12 -0
- package/detectors.js +25 -0
- 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 +7 -6
- package/src/cell-renderer.ts +3 -4
- package/src/helm-helper.ts +17 -4
- package/src/helm-monomer-placer.ts +0 -5
- package/src/helm-web-editor.ts +24 -2
- package/src/package-test.ts +2 -0
- package/src/package-utils.ts +17 -5
- package/src/package.ts +22 -12
- package/src/tests/_first-tests.ts +10 -0
- package/src/tests/helm-input-tests.ts +86 -0
- package/src/tests/helm-tests.ts +1 -1
- package/src/tests/properties-widget-tests.ts +1 -1
- package/src/tests/renderers-tests.ts +2 -7
- package/src/utils/err-info.ts +13 -0
- package/src/utils/get-hovered.ts +5 -5
- package/src/utils/helm-grid-cell-renderer.ts +3 -3
- package/src/widgets/helm-input.ts +198 -0
- package/webpack.config.js +3 -2
- package/vendor/helm-web-editor.development.js +0 -39640
- package/vendor/helm-web-editor.production.js +0 -2
- package/vendor/helm-web-editor.production.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Helm changelog
|
|
2
2
|
|
|
3
|
+
## 2.3.2 (2024-07-23)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* Add HelmInput
|
|
8
|
+
|
|
9
|
+
### Bug fixes
|
|
10
|
+
|
|
11
|
+
* Add tooltip to HelmInput showing monomer of lib, test
|
|
12
|
+
* Fix HelmInput to redraw on monomer lib changed
|
|
13
|
+
* Fix HelmInput to handle dialog resize
|
|
14
|
+
|
|
3
15
|
## 2.3.1 (2024-06-28)
|
|
4
16
|
|
|
5
17
|
Fix cell renderer error before package initialized
|
package/detectors.js
CHANGED
|
@@ -6,4 +6,29 @@
|
|
|
6
6
|
*/
|
|
7
7
|
class HelmPackageDetectors extends DG.Package {
|
|
8
8
|
|
|
9
|
+
//name: autostart
|
|
10
|
+
//tags: autostart
|
|
11
|
+
//description: Helm bootstrap
|
|
12
|
+
autostart() {
|
|
13
|
+
this.logger.debug('Helm: detectors.js: autostart()');
|
|
14
|
+
|
|
15
|
+
this.autostartInputs();
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
autostartInputs() {
|
|
19
|
+
const logPrefix = 'Helm: detectors.js: autostartInputs()';
|
|
20
|
+
|
|
21
|
+
if (!!ui.input.helmAsync)
|
|
22
|
+
this.logger.warning(`${logPrefix}, ui.input.helmAsync is already defined`);
|
|
23
|
+
else
|
|
24
|
+
ui.input.helmAsync = this.helmAsync;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
//name: helmAsync
|
|
28
|
+
//input: string name
|
|
29
|
+
//input: object options
|
|
30
|
+
//output: object result
|
|
31
|
+
helmAsync(name, options) {
|
|
32
|
+
return grok.functions.call('Helm:helmInput', {name, options});
|
|
33
|
+
}
|
|
9
34
|
}
|