ide-assi 0.656.0 → 0.658.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,9 @@ 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;
237585
+ ninegrid.loading.show();
237586
+
237584
237587
  let params = {};
237585
237588
  if (this.#target.value) {
237586
237589
  params = { "_whereClause": await IdeAi.generateWhereCause(this.#xmlPath, this.#queryId, this.#target.value, this.#apiKey) };
@@ -237577,6 +237577,9 @@ 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;
237581
+ ninegrid.loading.show();
237582
+
237580
237583
  let params = {};
237581
237584
  if (this.#target.value) {
237582
237585
  params = { "_whereClause": await IdeAi.generateWhereCause(this.#xmlPath, this.#queryId, this.#target.value, this.#apiKey) };
@@ -1,3 +1,4 @@
1
+ import ninegrid from "ninegrid2";
1
2
  import { IdeAi } from "./ideAi.js";
2
3
 
3
4
  class aiNatualInput extends HTMLElement
@@ -28,6 +29,9 @@ class aiNatualInput extends HTMLElement
28
29
  #keyDownHandler = async e => {
29
30
  if (e.key === 'Enter' && !e.isComposing && this.#selectFunc) {
30
31
 
32
+ this.#target.disabled = true;
33
+ ninegrid.loading.show();
34
+
31
35
  let params = {};
32
36
  if (this.#target.value) {
33
37
  params = { "_whereClause": await IdeAi.generateWhereCause(this.#xmlPath, this.#queryId, this.#target.value, this.#apiKey) };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.656.0",
4
+ "version": "0.658.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -1,3 +1,4 @@
1
+ import ninegrid from "ninegrid2";
1
2
  import { IdeAi } from "./ideAi.js";
2
3
 
3
4
  class aiNatualInput extends HTMLElement
@@ -28,6 +29,9 @@ class aiNatualInput extends HTMLElement
28
29
  #keyDownHandler = async e => {
29
30
  if (e.key === 'Enter' && !e.isComposing && this.#selectFunc) {
30
31
 
32
+ this.#target.disabled = true;
33
+ ninegrid.loading.show();
34
+
31
35
  let params = {};
32
36
  if (this.#target.value) {
33
37
  params = { "_whereClause": await IdeAi.generateWhereCause(this.#xmlPath, this.#queryId, this.#target.value, this.#apiKey) };