@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 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
  }