ide-assi 0.673.0 → 0.675.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.
@@ -202441,6 +202441,7 @@ class IdeFetch {
202441
202441
 
202442
202442
  static #request = (method, url, data = {}) => {
202443
202443
 
202444
+ ninegrid.loading.show();
202444
202445
  //console.log(method, url, data);
202445
202446
 
202446
202447
  if (method === "GET") url += `?${new URLSearchParams(data)}`;
@@ -237610,7 +237611,8 @@ class aiNatualInput extends HTMLElement
237610
237611
  if (res.result === true) {
237611
237612
  this.#selectFunc.call(this, { "_whereClause": res.condition });
237612
237613
  } else {
237613
- ninegrid.alert(res.condition);
237614
+ ninegrid.loading.hide();
237615
+ ninegrid.alert(res.condition, null, { "class" : "rgb", "animation" : "shake",});
237614
237616
  }
237615
237617
  } else {
237616
237618
  this.#selectFunc.call(this, {});
@@ -202437,6 +202437,7 @@ class IdeFetch {
202437
202437
 
202438
202438
  static #request = (method, url, data = {}) => {
202439
202439
 
202440
+ ninegrid.loading.show();
202440
202441
  //console.log(method, url, data);
202441
202442
 
202442
202443
  if (method === "GET") url += `?${new URLSearchParams(data)}`;
@@ -237606,7 +237607,8 @@ class aiNatualInput extends HTMLElement
237606
237607
  if (res.result === true) {
237607
237608
  this.#selectFunc.call(this, { "_whereClause": res.condition });
237608
237609
  } else {
237609
- ninegrid.alert(res.condition);
237610
+ ninegrid.loading.hide();
237611
+ ninegrid.alert(res.condition, null, { "class" : "rgb", "animation" : "shake",});
237610
237612
  }
237611
237613
  } else {
237612
237614
  this.#selectFunc.call(this, {});
@@ -37,7 +37,8 @@ class aiNatualInput extends HTMLElement
37
37
  if (res.result === true) {
38
38
  this.#selectFunc.call(this, { "_whereClause": res.condition });
39
39
  } else {
40
- ninegrid.alert(res.condition);
40
+ ninegrid.loading.hide();
41
+ ninegrid.alert(res.condition, null, { "class" : "rgb", "animation" : "shake",});
41
42
  }
42
43
  } else {
43
44
  this.#selectFunc.call(this, {});
@@ -4,6 +4,7 @@ export class IdeFetch {
4
4
 
5
5
  static #request = (method, url, data = {}) => {
6
6
 
7
+ ninegrid.loading.show();
7
8
  //console.log(method, url, data);
8
9
 
9
10
  if (method === "GET") url += `?${new URLSearchParams(data)}`;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.673.0",
4
+ "version": "0.675.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -37,7 +37,8 @@ class aiNatualInput extends HTMLElement
37
37
  if (res.result === true) {
38
38
  this.#selectFunc.call(this, { "_whereClause": res.condition });
39
39
  } else {
40
- ninegrid.alert(res.condition);
40
+ ninegrid.loading.hide();
41
+ ninegrid.alert(res.condition, null, { "class" : "rgb", "animation" : "shake",});
41
42
  }
42
43
  } else {
43
44
  this.#selectFunc.call(this, {});
@@ -4,6 +4,7 @@ export class IdeFetch {
4
4
 
5
5
  static #request = (method, url, data = {}) => {
6
6
 
7
+ ninegrid.loading.show();
7
8
  //console.log(method, url, data);
8
9
 
9
10
  if (method === "GET") url += `?${new URLSearchParams(data)}`;