ninegrid2 6.252.0 → 6.254.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.
@@ -19491,6 +19491,9 @@ class ngMaxPopup extends HTMLElement
19491
19491
  `;
19492
19492
 
19493
19493
  this.#grd = this.shadowRoot.querySelector("nine-grid");
19494
+
19495
+ console.log(this, this.#grd);
19496
+
19494
19497
  this.#grd.removeAttribute("display-row-count");
19495
19498
  //this.#grd.removeAttribute("onload");
19496
19499
  //$(this.#grd).css({"width": "100% !important", "height": "100% !important",});
@@ -19516,8 +19519,8 @@ class ngMaxPopup extends HTMLElement
19516
19519
  this.#grd.data.changeRowState();
19517
19520
  });
19518
19521
 
19519
- $(".close", this.shadowRoot).onFirst("click", e => {
19520
-
19522
+ //$(".close", this.shadowRoot).onFirst("click", e => {
19523
+ this.shadowRoot.addEventListener("click", e => {
19521
19524
  if (!this.#grd.data.isChanged()) return;
19522
19525
 
19523
19526
  e.stopImmediatePropagation();
@@ -19535,6 +19538,7 @@ class ngMaxPopup extends HTMLElement
19535
19538
  }
19536
19539
 
19537
19540
  popup = () => {
19541
+ console.log(this.#grd, this.#grd.data);
19538
19542
  this.#grd.data.assign(this.#owner.data.get());
19539
19543
  this.shadowRoot.querySelector('dialog').showModal();
19540
19544
  };
@@ -19489,6 +19489,9 @@ class ngMaxPopup extends HTMLElement
19489
19489
  `;
19490
19490
 
19491
19491
  this.#grd = this.shadowRoot.querySelector("nine-grid");
19492
+
19493
+ console.log(this, this.#grd);
19494
+
19492
19495
  this.#grd.removeAttribute("display-row-count");
19493
19496
  //this.#grd.removeAttribute("onload");
19494
19497
  //$(this.#grd).css({"width": "100% !important", "height": "100% !important",});
@@ -19514,8 +19517,8 @@ class ngMaxPopup extends HTMLElement
19514
19517
  this.#grd.data.changeRowState();
19515
19518
  });
19516
19519
 
19517
- $(".close", this.shadowRoot).onFirst("click", e => {
19518
-
19520
+ //$(".close", this.shadowRoot).onFirst("click", e => {
19521
+ this.shadowRoot.addEventListener("click", e => {
19519
19522
  if (!this.#grd.data.isChanged()) return;
19520
19523
 
19521
19524
  e.stopImmediatePropagation();
@@ -19533,6 +19536,7 @@ class ngMaxPopup extends HTMLElement
19533
19536
  }
19534
19537
 
19535
19538
  popup = () => {
19539
+ console.log(this.#grd, this.#grd.data);
19536
19540
  this.#grd.data.assign(this.#owner.data.get());
19537
19541
  this.shadowRoot.querySelector('dialog').showModal();
19538
19542
  };
@@ -33,6 +33,9 @@ class ngMaxPopup extends HTMLElement
33
33
  `;
34
34
 
35
35
  this.#grd = this.shadowRoot.querySelector("nine-grid");
36
+
37
+ console.log(this, this.#grd)
38
+
36
39
  this.#grd.removeAttribute("display-row-count");
37
40
  //this.#grd.removeAttribute("onload");
38
41
  //$(this.#grd).css({"width": "100% !important", "height": "100% !important",});
@@ -58,8 +61,8 @@ class ngMaxPopup extends HTMLElement
58
61
  this.#grd.data.changeRowState();
59
62
  });
60
63
 
61
- $(".close", this.shadowRoot).onFirst("click", e => {
62
-
64
+ //$(".close", this.shadowRoot).onFirst("click", e => {
65
+ this.shadowRoot.addEventListener("click", e => {
63
66
  if (!this.#grd.data.isChanged()) return;
64
67
 
65
68
  e.stopImmediatePropagation();
@@ -77,6 +80,7 @@ class ngMaxPopup extends HTMLElement
77
80
  }
78
81
 
79
82
  popup = () => {
83
+ console.log(this.#grd, this.#grd.data);
80
84
  this.#grd.data.assign(this.#owner.data.get());
81
85
  this.shadowRoot.querySelector('dialog').showModal();
82
86
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.252.0",
4
+ "version": "6.254.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -33,6 +33,9 @@ class ngMaxPopup extends HTMLElement
33
33
  `;
34
34
 
35
35
  this.#grd = this.shadowRoot.querySelector("nine-grid");
36
+
37
+ console.log(this, this.#grd)
38
+
36
39
  this.#grd.removeAttribute("display-row-count");
37
40
  //this.#grd.removeAttribute("onload");
38
41
  //$(this.#grd).css({"width": "100% !important", "height": "100% !important",});
@@ -58,8 +61,8 @@ class ngMaxPopup extends HTMLElement
58
61
  this.#grd.data.changeRowState();
59
62
  });
60
63
 
61
- $(".close", this.shadowRoot).onFirst("click", e => {
62
-
64
+ //$(".close", this.shadowRoot).onFirst("click", e => {
65
+ this.shadowRoot.addEventListener("click", e => {
63
66
  if (!this.#grd.data.isChanged()) return;
64
67
 
65
68
  e.stopImmediatePropagation();
@@ -77,6 +80,7 @@ class ngMaxPopup extends HTMLElement
77
80
  }
78
81
 
79
82
  popup = () => {
83
+ console.log(this.#grd, this.#grd.data);
80
84
  this.#grd.data.assign(this.#owner.data.get());
81
85
  this.shadowRoot.querySelector('dialog').showModal();
82
86
  };