ide-assi 0.676.0 → 0.677.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
|
@@ -202566,14 +202566,6 @@ class IdeAi
|
|
|
202566
202566
|
|
|
202567
202567
|
constructor(parent) {
|
|
202568
202568
|
this.#parent = parent;
|
|
202569
|
-
|
|
202570
|
-
api.post(`/api/prompt/dir`, {
|
|
202571
|
-
"feProjectName": this.#parent.settings.feProjectName,
|
|
202572
|
-
}).then((res) => {
|
|
202573
|
-
|
|
202574
|
-
this.#prompt = res;
|
|
202575
|
-
console.log(res, this.#prompt);
|
|
202576
|
-
});
|
|
202577
202569
|
}
|
|
202578
202570
|
|
|
202579
202571
|
#createModel = () => {
|
|
@@ -203997,6 +203989,15 @@ class IdeAssi extends HTMLElement
|
|
|
203997
203989
|
this.shadowRoot.querySelector(".collapse-icon").addEventListener("click", this.#toggleCollapseHandler);
|
|
203998
203990
|
|
|
203999
203991
|
this.shadowRoot.querySelectorAll(".menu-icon").forEach(el => el.addEventListener("click", this.#menuClickHandler));
|
|
203992
|
+
|
|
203993
|
+
console.log(this.settings);
|
|
203994
|
+
api.post(`/api/prompt/dir`, {
|
|
203995
|
+
"feProjectName": this.settings.feProjectName,
|
|
203996
|
+
}).then((res) => {
|
|
203997
|
+
|
|
203998
|
+
this.#ai.prompt = res;
|
|
203999
|
+
console.log(res, this.#ai.prompt);
|
|
204000
|
+
});
|
|
204000
204001
|
};
|
|
204001
204002
|
|
|
204002
204003
|
|
package/dist/bundle.esm.js
CHANGED
|
@@ -202562,14 +202562,6 @@ class IdeAi
|
|
|
202562
202562
|
|
|
202563
202563
|
constructor(parent) {
|
|
202564
202564
|
this.#parent = parent;
|
|
202565
|
-
|
|
202566
|
-
api.post(`/api/prompt/dir`, {
|
|
202567
|
-
"feProjectName": this.#parent.settings.feProjectName,
|
|
202568
|
-
}).then((res) => {
|
|
202569
|
-
|
|
202570
|
-
this.#prompt = res;
|
|
202571
|
-
console.log(res, this.#prompt);
|
|
202572
|
-
});
|
|
202573
202565
|
}
|
|
202574
202566
|
|
|
202575
202567
|
#createModel = () => {
|
|
@@ -203993,6 +203985,15 @@ class IdeAssi extends HTMLElement
|
|
|
203993
203985
|
this.shadowRoot.querySelector(".collapse-icon").addEventListener("click", this.#toggleCollapseHandler);
|
|
203994
203986
|
|
|
203995
203987
|
this.shadowRoot.querySelectorAll(".menu-icon").forEach(el => el.addEventListener("click", this.#menuClickHandler));
|
|
203988
|
+
|
|
203989
|
+
console.log(this.settings);
|
|
203990
|
+
api.post(`/api/prompt/dir`, {
|
|
203991
|
+
"feProjectName": this.settings.feProjectName,
|
|
203992
|
+
}).then((res) => {
|
|
203993
|
+
|
|
203994
|
+
this.#ai.prompt = res;
|
|
203995
|
+
console.log(res, this.#ai.prompt);
|
|
203996
|
+
});
|
|
203996
203997
|
};
|
|
203997
203998
|
|
|
203998
203999
|
|
package/dist/components/ideAi.js
CHANGED
|
@@ -16,14 +16,6 @@ export class IdeAi
|
|
|
16
16
|
|
|
17
17
|
constructor(parent) {
|
|
18
18
|
this.#parent = parent;
|
|
19
|
-
|
|
20
|
-
api.post(`/api/prompt/dir`, {
|
|
21
|
-
"feProjectName": this.#parent.settings.feProjectName,
|
|
22
|
-
}).then((res) => {
|
|
23
|
-
|
|
24
|
-
this.#prompt = res;
|
|
25
|
-
console.log(res, this.#prompt);
|
|
26
|
-
});
|
|
27
19
|
}
|
|
28
20
|
|
|
29
21
|
#createModel = () => {
|
|
@@ -115,6 +115,15 @@ export class IdeAssi extends HTMLElement
|
|
|
115
115
|
this.shadowRoot.querySelector(".collapse-icon").addEventListener("click", this.#toggleCollapseHandler);
|
|
116
116
|
|
|
117
117
|
this.shadowRoot.querySelectorAll(".menu-icon").forEach(el => el.addEventListener("click", this.#menuClickHandler));
|
|
118
|
+
|
|
119
|
+
console.log(this.settings);
|
|
120
|
+
api.post(`/api/prompt/dir`, {
|
|
121
|
+
"feProjectName": this.settings.feProjectName,
|
|
122
|
+
}).then((res) => {
|
|
123
|
+
|
|
124
|
+
this.#ai.prompt = res;
|
|
125
|
+
console.log(res, this.#ai.prompt);
|
|
126
|
+
});
|
|
118
127
|
};
|
|
119
128
|
|
|
120
129
|
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -16,14 +16,6 @@ export class IdeAi
|
|
|
16
16
|
|
|
17
17
|
constructor(parent) {
|
|
18
18
|
this.#parent = parent;
|
|
19
|
-
|
|
20
|
-
api.post(`/api/prompt/dir`, {
|
|
21
|
-
"feProjectName": this.#parent.settings.feProjectName,
|
|
22
|
-
}).then((res) => {
|
|
23
|
-
|
|
24
|
-
this.#prompt = res;
|
|
25
|
-
console.log(res, this.#prompt);
|
|
26
|
-
});
|
|
27
19
|
}
|
|
28
20
|
|
|
29
21
|
#createModel = () => {
|
|
@@ -115,6 +115,15 @@ export class IdeAssi extends HTMLElement
|
|
|
115
115
|
this.shadowRoot.querySelector(".collapse-icon").addEventListener("click", this.#toggleCollapseHandler);
|
|
116
116
|
|
|
117
117
|
this.shadowRoot.querySelectorAll(".menu-icon").forEach(el => el.addEventListener("click", this.#menuClickHandler));
|
|
118
|
+
|
|
119
|
+
console.log(this.settings);
|
|
120
|
+
api.post(`/api/prompt/dir`, {
|
|
121
|
+
"feProjectName": this.settings.feProjectName,
|
|
122
|
+
}).then((res) => {
|
|
123
|
+
|
|
124
|
+
this.#ai.prompt = res;
|
|
125
|
+
console.log(res, this.#ai.prompt);
|
|
126
|
+
});
|
|
118
127
|
};
|
|
119
128
|
|
|
120
129
|
|