ide-assi 0.309.0 → 0.313.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.
@@ -193998,8 +193998,6 @@ class IdeAi
193998
193998
  };
193999
193999
  }
194000
194000
 
194001
- //import { IdeDiffPopup } from "./ideDiffPopup.js";
194002
-
194003
194001
  class IdeAssi extends HTMLElement
194004
194002
  {
194005
194003
  #ing = false;
@@ -194302,6 +194300,42 @@ class ideAssiSettings extends HTMLElement
194302
194300
 
194303
194301
  customElements.define("ide-assi-settings", ideAssiSettings);
194304
194302
 
194303
+ class IdeDiffPopup extends HTMLElement
194304
+ {
194305
+ constructor() {
194306
+
194307
+ super();
194308
+
194309
+ this.attachShadow({ mode: 'open' });
194310
+ }
194311
+
194312
+ connectedCallback() {
194313
+
194314
+ this.#owner = this.getRootNode().host;//this.closest("nine-grid");
194315
+
194316
+ this.shadowRoot.innerHTML = `
194317
+ <style>
194318
+
194319
+ </style>
194320
+
194321
+ <nx-dialog>
194322
+ <nx-diff></nx-diff>
194323
+ </nx-dialog>
194324
+ `;
194325
+ }
194326
+
194327
+ popup = (src1, src2) => {
194328
+ setTimeout(() => {
194329
+ const target = this.shadowRoot.querySelector("nx-diff");
194330
+ target.initialize(src1, src2);
194331
+ this.shadowRoot.querySelector('dialog').showModal();
194332
+ }, 100);
194333
+ };
194334
+ }
194335
+
194336
+
194337
+ customElements.define("ide-diff-popup", IdeDiffPopup);
194338
+
194305
194339
  //import "./components/ideAssi.js";
194306
194340
 
194307
194341
 
@@ -193994,8 +193994,6 @@ class IdeAi
193994
193994
  };
193995
193995
  }
193996
193996
 
193997
- //import { IdeDiffPopup } from "./ideDiffPopup.js";
193998
-
193999
193997
  class IdeAssi extends HTMLElement
194000
193998
  {
194001
193999
  #ing = false;
@@ -194298,6 +194296,42 @@ class ideAssiSettings extends HTMLElement
194298
194296
 
194299
194297
  customElements.define("ide-assi-settings", ideAssiSettings);
194300
194298
 
194299
+ class IdeDiffPopup extends HTMLElement
194300
+ {
194301
+ constructor() {
194302
+
194303
+ super();
194304
+
194305
+ this.attachShadow({ mode: 'open' });
194306
+ }
194307
+
194308
+ connectedCallback() {
194309
+
194310
+ this.#owner = this.getRootNode().host;//this.closest("nine-grid");
194311
+
194312
+ this.shadowRoot.innerHTML = `
194313
+ <style>
194314
+
194315
+ </style>
194316
+
194317
+ <nx-dialog>
194318
+ <nx-diff></nx-diff>
194319
+ </nx-dialog>
194320
+ `;
194321
+ }
194322
+
194323
+ popup = (src1, src2) => {
194324
+ setTimeout(() => {
194325
+ const target = this.shadowRoot.querySelector("nx-diff");
194326
+ target.initialize(src1, src2);
194327
+ this.shadowRoot.querySelector('dialog').showModal();
194328
+ }, 100);
194329
+ };
194330
+ }
194331
+
194332
+
194333
+ customElements.define("ide-diff-popup", IdeDiffPopup);
194334
+
194301
194335
  //import "./components/ideAssi.js";
194302
194336
 
194303
194337
 
@@ -1,7 +1,6 @@
1
1
  import ninegrid from "ninegrid2";
2
2
  import { IdeAi } from "./ideAi.js";
3
3
  import { api } from "./ideFetch.js";
4
- //import { IdeDiffPopup } from "./ideDiffPopup.js";
5
4
 
6
5
  export class IdeAssi extends HTMLElement
7
6
  {
package/dist/index.js CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  import { IdeAssi } from "./components/ideAssi.js";
4
4
  import "./components/ideAssiSettings.js";
5
+ import "./components/ideDiffPopup.js";
5
6
  import { IdeFetch } from "./components/ideFetch.js";
6
7
  import { IdeAi } from "./components/ideAi.js";
7
- //import { IdeDiffPopup } from "./components/ideDiffPopup.js";
8
8
 
9
9
  export { IdeAssi, IdeFetch as api, IdeAi as ai }; // Named Export
10
10
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.309.0",
4
+ "version": "0.313.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -1,7 +1,6 @@
1
1
  import ninegrid from "ninegrid2";
2
2
  import { IdeAi } from "./ideAi.js";
3
3
  import { api } from "./ideFetch.js";
4
- //import { IdeDiffPopup } from "./ideDiffPopup.js";
5
4
 
6
5
  export class IdeAssi extends HTMLElement
7
6
  {
package/src/index.js CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  import { IdeAssi } from "./components/ideAssi.js";
4
4
  import "./components/ideAssiSettings.js";
5
+ import "./components/ideDiffPopup.js";
5
6
  import { IdeFetch } from "./components/ideFetch.js";
6
7
  import { IdeAi } from "./components/ideAi.js";
7
- //import { IdeDiffPopup } from "./components/ideDiffPopup.js";
8
8
 
9
9
  export { IdeAssi, IdeFetch as api, IdeAi as ai }; // Named Export
10
10