ide-assi 0.657.0 → 0.659.0

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.
@@ -237581,6 +237581,7 @@ class aiNatualInput extends HTMLElement
237581
237581
  #keyDownHandler = async e => {
237582
237582
  if (e.key === 'Enter' && !e.isComposing && this.#selectFunc) {
237583
237583
 
237584
+ this.#target.disabled = true;
237584
237585
  ninegrid.loading.show();
237585
237586
 
237586
237587
  let params = {};
@@ -237589,6 +237590,8 @@ class aiNatualInput extends HTMLElement
237589
237590
  }
237590
237591
 
237591
237592
  this.#selectFunc.call(this, params);
237593
+
237594
+ this.#target.disabled = false;
237592
237595
  }
237593
237596
  };
237594
237597
 
@@ -237577,6 +237577,7 @@ class aiNatualInput extends HTMLElement
237577
237577
  #keyDownHandler = async e => {
237578
237578
  if (e.key === 'Enter' && !e.isComposing && this.#selectFunc) {
237579
237579
 
237580
+ this.#target.disabled = true;
237580
237581
  ninegrid.loading.show();
237581
237582
 
237582
237583
  let params = {};
@@ -237585,6 +237586,8 @@ class aiNatualInput extends HTMLElement
237585
237586
  }
237586
237587
 
237587
237588
  this.#selectFunc.call(this, params);
237589
+
237590
+ this.#target.disabled = false;
237588
237591
  }
237589
237592
  };
237590
237593
 
@@ -29,6 +29,7 @@ class aiNatualInput extends HTMLElement
29
29
  #keyDownHandler = async e => {
30
30
  if (e.key === 'Enter' && !e.isComposing && this.#selectFunc) {
31
31
 
32
+ this.#target.disabled = true;
32
33
  ninegrid.loading.show();
33
34
 
34
35
  let params = {};
@@ -37,6 +38,8 @@ class aiNatualInput extends HTMLElement
37
38
  }
38
39
 
39
40
  this.#selectFunc.call(this, params);
41
+
42
+ this.#target.disabled = false;
40
43
  }
41
44
  };
42
45
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.657.0",
4
+ "version": "0.659.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -29,6 +29,7 @@ class aiNatualInput extends HTMLElement
29
29
  #keyDownHandler = async e => {
30
30
  if (e.key === 'Enter' && !e.isComposing && this.#selectFunc) {
31
31
 
32
+ this.#target.disabled = true;
32
33
  ninegrid.loading.show();
33
34
 
34
35
  let params = {};
@@ -37,6 +38,8 @@ class aiNatualInput extends HTMLElement
37
38
  }
38
39
 
39
40
  this.#selectFunc.call(this, params);
41
+
42
+ this.#target.disabled = false;
40
43
  }
41
44
  };
42
45