ide-assi 0.655.0 → 0.657.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.
package/dist/bundle.cjs.js
CHANGED
|
@@ -237581,6 +237581,8 @@ class aiNatualInput extends HTMLElement
|
|
|
237581
237581
|
#keyDownHandler = async e => {
|
|
237582
237582
|
if (e.key === 'Enter' && !e.isComposing && this.#selectFunc) {
|
|
237583
237583
|
|
|
237584
|
+
ninegrid.loading.show();
|
|
237585
|
+
|
|
237584
237586
|
let params = {};
|
|
237585
237587
|
if (this.#target.value) {
|
|
237586
237588
|
params = { "_whereClause": await IdeAi.generateWhereCause(this.#xmlPath, this.#queryId, this.#target.value, this.#apiKey) };
|
|
@@ -237598,7 +237600,7 @@ class aiNatualInput extends HTMLElement
|
|
|
237598
237600
|
const placeholder = this.getAttribute("placeholder") || "자연어 검색어를 입력하세요 (ex: 작성자가 홍길동인 데이타를 찾아줘)";
|
|
237599
237601
|
|
|
237600
237602
|
this.innerHTML = `
|
|
237601
|
-
<input type="text" placeholder="${placeholder}" />
|
|
237603
|
+
<input type="text" placeholder="${placeholder}" style="width: 100%;" />
|
|
237602
237604
|
`;
|
|
237603
237605
|
|
|
237604
237606
|
this.#target = this.querySelector("input");
|
package/dist/bundle.esm.js
CHANGED
|
@@ -237577,6 +237577,8 @@ class aiNatualInput extends HTMLElement
|
|
|
237577
237577
|
#keyDownHandler = async e => {
|
|
237578
237578
|
if (e.key === 'Enter' && !e.isComposing && this.#selectFunc) {
|
|
237579
237579
|
|
|
237580
|
+
ninegrid.loading.show();
|
|
237581
|
+
|
|
237580
237582
|
let params = {};
|
|
237581
237583
|
if (this.#target.value) {
|
|
237582
237584
|
params = { "_whereClause": await IdeAi.generateWhereCause(this.#xmlPath, this.#queryId, this.#target.value, this.#apiKey) };
|
|
@@ -237594,7 +237596,7 @@ class aiNatualInput extends HTMLElement
|
|
|
237594
237596
|
const placeholder = this.getAttribute("placeholder") || "자연어 검색어를 입력하세요 (ex: 작성자가 홍길동인 데이타를 찾아줘)";
|
|
237595
237597
|
|
|
237596
237598
|
this.innerHTML = `
|
|
237597
|
-
<input type="text" placeholder="${placeholder}" />
|
|
237599
|
+
<input type="text" placeholder="${placeholder}" style="width: 100%;" />
|
|
237598
237600
|
`;
|
|
237599
237601
|
|
|
237600
237602
|
this.#target = this.querySelector("input");
|
|
@@ -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,8 @@ class aiNatualInput extends HTMLElement
|
|
|
28
29
|
#keyDownHandler = async e => {
|
|
29
30
|
if (e.key === 'Enter' && !e.isComposing && this.#selectFunc) {
|
|
30
31
|
|
|
32
|
+
ninegrid.loading.show();
|
|
33
|
+
|
|
31
34
|
let params = {};
|
|
32
35
|
if (this.#target.value) {
|
|
33
36
|
params = { "_whereClause": await IdeAi.generateWhereCause(this.#xmlPath, this.#queryId, this.#target.value, this.#apiKey) };
|
|
@@ -45,7 +48,7 @@ class aiNatualInput extends HTMLElement
|
|
|
45
48
|
const placeholder = this.getAttribute("placeholder") || "자연어 검색어를 입력하세요 (ex: 작성자가 홍길동인 데이타를 찾아줘)";
|
|
46
49
|
|
|
47
50
|
this.innerHTML = `
|
|
48
|
-
<input type="text" placeholder="${placeholder}" />
|
|
51
|
+
<input type="text" placeholder="${placeholder}" style="width: 100%;" />
|
|
49
52
|
`;
|
|
50
53
|
|
|
51
54
|
this.#target = this.querySelector("input");
|
package/package.json
CHANGED
|
@@ -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,8 @@ class aiNatualInput extends HTMLElement
|
|
|
28
29
|
#keyDownHandler = async e => {
|
|
29
30
|
if (e.key === 'Enter' && !e.isComposing && this.#selectFunc) {
|
|
30
31
|
|
|
32
|
+
ninegrid.loading.show();
|
|
33
|
+
|
|
31
34
|
let params = {};
|
|
32
35
|
if (this.#target.value) {
|
|
33
36
|
params = { "_whereClause": await IdeAi.generateWhereCause(this.#xmlPath, this.#queryId, this.#target.value, this.#apiKey) };
|
|
@@ -45,7 +48,7 @@ class aiNatualInput extends HTMLElement
|
|
|
45
48
|
const placeholder = this.getAttribute("placeholder") || "자연어 검색어를 입력하세요 (ex: 작성자가 홍길동인 데이타를 찾아줘)";
|
|
46
49
|
|
|
47
50
|
this.innerHTML = `
|
|
48
|
-
<input type="text" placeholder="${placeholder}" />
|
|
51
|
+
<input type="text" placeholder="${placeholder}" style="width: 100%;" />
|
|
49
52
|
`;
|
|
50
53
|
|
|
51
54
|
this.#target = this.querySelector("input");
|