ide-assi 0.522.0 → 0.523.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 +43 -2
- package/dist/bundle.esm.js +43 -2
- package/dist/components/ideAssi.js +6 -2
- package/dist/index.js +1 -0
- package/package.json +1 -1
- package/src/components/ideAssi.js +6 -2
- package/src/index.js +1 -0
package/dist/bundle.cjs.js
CHANGED
|
@@ -202573,7 +202573,7 @@ class IdeAssi extends HTMLElement
|
|
|
202573
202573
|
|
|
202574
202574
|
<div class="container">
|
|
202575
202575
|
<div class="head">
|
|
202576
|
-
<div class="logo"><span
|
|
202576
|
+
<div class="logo"><span></span></div>
|
|
202577
202577
|
</div>
|
|
202578
202578
|
<nx-ai-chat></nx-ai-chat>
|
|
202579
202579
|
<div class="foot">
|
|
@@ -202640,6 +202640,8 @@ class IdeAssi extends HTMLElement
|
|
|
202640
202640
|
this.settings = this.shadowRoot.querySelector("ide-assi-settings");
|
|
202641
202641
|
|
|
202642
202642
|
this.shadowRoot.appendChild(document.createElement('ide-tip-popup'));
|
|
202643
|
+
this.shadowRoot.appendChild(document.createElement('ide-diff-popup'));
|
|
202644
|
+
|
|
202643
202645
|
|
|
202644
202646
|
this.shadowRoot.querySelector("textarea").addEventListener("keydown", this.#keydownHandler);
|
|
202645
202647
|
|
|
@@ -202663,7 +202665,7 @@ class IdeAssi extends HTMLElement
|
|
|
202663
202665
|
|
|
202664
202666
|
//this.shadowRoot.querySelector('ide-diff-popup').remove();
|
|
202665
202667
|
|
|
202666
|
-
|
|
202668
|
+
|
|
202667
202669
|
|
|
202668
202670
|
const apply = {
|
|
202669
202671
|
mybatis: this.shadowRoot.querySelector("#mybatis").checked,
|
|
@@ -202892,6 +202894,45 @@ class ideAssiSettings extends HTMLElement
|
|
|
202892
202894
|
|
|
202893
202895
|
customElements.define("ide-assi-settings", ideAssiSettings);
|
|
202894
202896
|
|
|
202897
|
+
class IdeTipPopup extends HTMLElement
|
|
202898
|
+
{
|
|
202899
|
+
constructor() {
|
|
202900
|
+
|
|
202901
|
+
super();
|
|
202902
|
+
this.attachShadow({ mode: 'open' });
|
|
202903
|
+
}
|
|
202904
|
+
|
|
202905
|
+
connectedCallback() {
|
|
202906
|
+
|
|
202907
|
+
this.shadowRoot.innerHTML = `
|
|
202908
|
+
<style>
|
|
202909
|
+
<style>
|
|
202910
|
+
@import "https://cdn.jsdelivr.net/npm/ninegrid@${ninegrid.version}/dist/css/ideAssi.css";
|
|
202911
|
+
${ninegrid.getCustomPath(this,"ideAssi.css")}
|
|
202912
|
+
</style>
|
|
202913
|
+
|
|
202914
|
+
<nx-dialog>
|
|
202915
|
+
<div class="buttons">
|
|
202916
|
+
adfa
|
|
202917
|
+
</div>
|
|
202918
|
+
|
|
202919
|
+
</nx-dialog>
|
|
202920
|
+
`;
|
|
202921
|
+
|
|
202922
|
+
this.#init();
|
|
202923
|
+
}
|
|
202924
|
+
|
|
202925
|
+
#init = () => {
|
|
202926
|
+
|
|
202927
|
+
}
|
|
202928
|
+
|
|
202929
|
+
popup = () => {
|
|
202930
|
+
this.shadowRoot.querySelector('nx-dialog')?.showModal();
|
|
202931
|
+
};
|
|
202932
|
+
}
|
|
202933
|
+
|
|
202934
|
+
customElements.define("ide-tip-popup", IdeTipPopup);
|
|
202935
|
+
|
|
202895
202936
|
class IdeDiffPopup extends HTMLElement
|
|
202896
202937
|
{
|
|
202897
202938
|
#changedSource;
|
package/dist/bundle.esm.js
CHANGED
|
@@ -202569,7 +202569,7 @@ class IdeAssi extends HTMLElement
|
|
|
202569
202569
|
|
|
202570
202570
|
<div class="container">
|
|
202571
202571
|
<div class="head">
|
|
202572
|
-
<div class="logo"><span
|
|
202572
|
+
<div class="logo"><span></span></div>
|
|
202573
202573
|
</div>
|
|
202574
202574
|
<nx-ai-chat></nx-ai-chat>
|
|
202575
202575
|
<div class="foot">
|
|
@@ -202636,6 +202636,8 @@ class IdeAssi extends HTMLElement
|
|
|
202636
202636
|
this.settings = this.shadowRoot.querySelector("ide-assi-settings");
|
|
202637
202637
|
|
|
202638
202638
|
this.shadowRoot.appendChild(document.createElement('ide-tip-popup'));
|
|
202639
|
+
this.shadowRoot.appendChild(document.createElement('ide-diff-popup'));
|
|
202640
|
+
|
|
202639
202641
|
|
|
202640
202642
|
this.shadowRoot.querySelector("textarea").addEventListener("keydown", this.#keydownHandler);
|
|
202641
202643
|
|
|
@@ -202659,7 +202661,7 @@ class IdeAssi extends HTMLElement
|
|
|
202659
202661
|
|
|
202660
202662
|
//this.shadowRoot.querySelector('ide-diff-popup').remove();
|
|
202661
202663
|
|
|
202662
|
-
|
|
202664
|
+
|
|
202663
202665
|
|
|
202664
202666
|
const apply = {
|
|
202665
202667
|
mybatis: this.shadowRoot.querySelector("#mybatis").checked,
|
|
@@ -202888,6 +202890,45 @@ class ideAssiSettings extends HTMLElement
|
|
|
202888
202890
|
|
|
202889
202891
|
customElements.define("ide-assi-settings", ideAssiSettings);
|
|
202890
202892
|
|
|
202893
|
+
class IdeTipPopup extends HTMLElement
|
|
202894
|
+
{
|
|
202895
|
+
constructor() {
|
|
202896
|
+
|
|
202897
|
+
super();
|
|
202898
|
+
this.attachShadow({ mode: 'open' });
|
|
202899
|
+
}
|
|
202900
|
+
|
|
202901
|
+
connectedCallback() {
|
|
202902
|
+
|
|
202903
|
+
this.shadowRoot.innerHTML = `
|
|
202904
|
+
<style>
|
|
202905
|
+
<style>
|
|
202906
|
+
@import "https://cdn.jsdelivr.net/npm/ninegrid@${ninegrid.version}/dist/css/ideAssi.css";
|
|
202907
|
+
${ninegrid.getCustomPath(this,"ideAssi.css")}
|
|
202908
|
+
</style>
|
|
202909
|
+
|
|
202910
|
+
<nx-dialog>
|
|
202911
|
+
<div class="buttons">
|
|
202912
|
+
adfa
|
|
202913
|
+
</div>
|
|
202914
|
+
|
|
202915
|
+
</nx-dialog>
|
|
202916
|
+
`;
|
|
202917
|
+
|
|
202918
|
+
this.#init();
|
|
202919
|
+
}
|
|
202920
|
+
|
|
202921
|
+
#init = () => {
|
|
202922
|
+
|
|
202923
|
+
}
|
|
202924
|
+
|
|
202925
|
+
popup = () => {
|
|
202926
|
+
this.shadowRoot.querySelector('nx-dialog')?.showModal();
|
|
202927
|
+
};
|
|
202928
|
+
}
|
|
202929
|
+
|
|
202930
|
+
customElements.define("ide-tip-popup", IdeTipPopup);
|
|
202931
|
+
|
|
202891
202932
|
class IdeDiffPopup extends HTMLElement
|
|
202892
202933
|
{
|
|
202893
202934
|
#changedSource;
|
|
@@ -2,6 +2,8 @@ import ninegrid from "ninegrid2";
|
|
|
2
2
|
import { IdeAi } from "./ideAi.js";
|
|
3
3
|
import { api } from "./ideFetch.js";
|
|
4
4
|
|
|
5
|
+
|
|
6
|
+
|
|
5
7
|
export class IdeAssi extends HTMLElement
|
|
6
8
|
{
|
|
7
9
|
#ing = false;
|
|
@@ -32,7 +34,7 @@ export class IdeAssi extends HTMLElement
|
|
|
32
34
|
|
|
33
35
|
<div class="container">
|
|
34
36
|
<div class="head">
|
|
35
|
-
<div class="logo"><span
|
|
37
|
+
<div class="logo"><span></span></div>
|
|
36
38
|
</div>
|
|
37
39
|
<nx-ai-chat></nx-ai-chat>
|
|
38
40
|
<div class="foot">
|
|
@@ -99,6 +101,8 @@ export class IdeAssi extends HTMLElement
|
|
|
99
101
|
this.settings = this.shadowRoot.querySelector("ide-assi-settings");
|
|
100
102
|
|
|
101
103
|
this.shadowRoot.appendChild(document.createElement('ide-tip-popup'));
|
|
104
|
+
this.shadowRoot.appendChild(document.createElement('ide-diff-popup'));
|
|
105
|
+
|
|
102
106
|
|
|
103
107
|
this.shadowRoot.querySelector("textarea").addEventListener("keydown", this.#keydownHandler);
|
|
104
108
|
|
|
@@ -122,7 +126,7 @@ export class IdeAssi extends HTMLElement
|
|
|
122
126
|
|
|
123
127
|
//this.shadowRoot.querySelector('ide-diff-popup').remove();
|
|
124
128
|
|
|
125
|
-
|
|
129
|
+
|
|
126
130
|
|
|
127
131
|
const apply = {
|
|
128
132
|
mybatis: this.shadowRoot.querySelector("#mybatis").checked,
|
package/dist/index.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { IdeAssi } from "./components/ideAssi.js";
|
|
4
4
|
import "./components/ideAssiSettings.js";
|
|
5
|
+
import "./components/ideTipPopup.js";
|
|
5
6
|
import "./components/ideDiffPopup.js";
|
|
6
7
|
import "./components/ideDiff.js";
|
|
7
8
|
import { IdeFetch } from "./components/ideFetch.js";
|
package/package.json
CHANGED
|
@@ -2,6 +2,8 @@ import ninegrid from "ninegrid2";
|
|
|
2
2
|
import { IdeAi } from "./ideAi.js";
|
|
3
3
|
import { api } from "./ideFetch.js";
|
|
4
4
|
|
|
5
|
+
|
|
6
|
+
|
|
5
7
|
export class IdeAssi extends HTMLElement
|
|
6
8
|
{
|
|
7
9
|
#ing = false;
|
|
@@ -32,7 +34,7 @@ export class IdeAssi extends HTMLElement
|
|
|
32
34
|
|
|
33
35
|
<div class="container">
|
|
34
36
|
<div class="head">
|
|
35
|
-
<div class="logo"><span
|
|
37
|
+
<div class="logo"><span></span></div>
|
|
36
38
|
</div>
|
|
37
39
|
<nx-ai-chat></nx-ai-chat>
|
|
38
40
|
<div class="foot">
|
|
@@ -99,6 +101,8 @@ export class IdeAssi extends HTMLElement
|
|
|
99
101
|
this.settings = this.shadowRoot.querySelector("ide-assi-settings");
|
|
100
102
|
|
|
101
103
|
this.shadowRoot.appendChild(document.createElement('ide-tip-popup'));
|
|
104
|
+
this.shadowRoot.appendChild(document.createElement('ide-diff-popup'));
|
|
105
|
+
|
|
102
106
|
|
|
103
107
|
this.shadowRoot.querySelector("textarea").addEventListener("keydown", this.#keydownHandler);
|
|
104
108
|
|
|
@@ -122,7 +126,7 @@ export class IdeAssi extends HTMLElement
|
|
|
122
126
|
|
|
123
127
|
//this.shadowRoot.querySelector('ide-diff-popup').remove();
|
|
124
128
|
|
|
125
|
-
|
|
129
|
+
|
|
126
130
|
|
|
127
131
|
const apply = {
|
|
128
132
|
mybatis: this.shadowRoot.querySelector("#mybatis").checked,
|
package/src/index.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { IdeAssi } from "./components/ideAssi.js";
|
|
4
4
|
import "./components/ideAssiSettings.js";
|
|
5
|
+
import "./components/ideTipPopup.js";
|
|
5
6
|
import "./components/ideDiffPopup.js";
|
|
6
7
|
import "./components/ideDiff.js";
|
|
7
8
|
import { IdeFetch } from "./components/ideFetch.js";
|