ninegrid2 6.255.0 → 6.257.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.
@@ -19535,7 +19535,7 @@ class ngMaxPopup extends HTMLElement
19535
19535
  }
19536
19536
 
19537
19537
  popup = () => {
19538
- console.log(this.#owner.data);
19538
+ //console.log(this.#owner.data);
19539
19539
  this.#grd.data.assign(this.#owner.data.get());
19540
19540
  this.shadowRoot.querySelector('dialog').showModal();
19541
19541
  };
@@ -19674,7 +19674,10 @@ class ngMenu extends HTMLElement
19674
19674
  //if (ninegrid.j.querySelectorAll(this.#owner).hasClass("ng-maximize")) {
19675
19675
  $('ng-max-popup', this.#owner.shadowRoot).remove();
19676
19676
  $(this.#owner.shadowRoot).append($('<ng-max-popup></ng-max-popup>'));
19677
- this.#owner.shadowRoot.querySelector("ng-max-popup").popup();
19677
+ setTimeout(() => {
19678
+ this.#owner.shadowRoot.querySelector("ng-max-popup").popup();
19679
+ }, 1000);
19680
+
19678
19681
  //}
19679
19682
  break;
19680
19683
  case "import":
@@ -19533,7 +19533,7 @@ class ngMaxPopup extends HTMLElement
19533
19533
  }
19534
19534
 
19535
19535
  popup = () => {
19536
- console.log(this.#owner.data);
19536
+ //console.log(this.#owner.data);
19537
19537
  this.#grd.data.assign(this.#owner.data.get());
19538
19538
  this.shadowRoot.querySelector('dialog').showModal();
19539
19539
  };
@@ -19672,7 +19672,10 @@ class ngMenu extends HTMLElement
19672
19672
  //if (ninegrid.j.querySelectorAll(this.#owner).hasClass("ng-maximize")) {
19673
19673
  $('ng-max-popup', this.#owner.shadowRoot).remove();
19674
19674
  $(this.#owner.shadowRoot).append($('<ng-max-popup></ng-max-popup>'));
19675
- this.#owner.shadowRoot.querySelector("ng-max-popup").popup();
19675
+ setTimeout(() => {
19676
+ this.#owner.shadowRoot.querySelector("ng-max-popup").popup();
19677
+ }, 1000);
19678
+
19676
19679
  //}
19677
19680
  break;
19678
19681
  case "import":
@@ -77,7 +77,7 @@ class ngMaxPopup extends HTMLElement
77
77
  }
78
78
 
79
79
  popup = () => {
80
- console.log(this.#owner.data);
80
+ //console.log(this.#owner.data);
81
81
  this.#grd.data.assign(this.#owner.data.get());
82
82
  this.shadowRoot.querySelector('dialog').showModal();
83
83
  };
@@ -133,7 +133,10 @@ class ngMenu extends HTMLElement
133
133
  //if (ninegrid.j.querySelectorAll(this.#owner).hasClass("ng-maximize")) {
134
134
  $('ng-max-popup', this.#owner.shadowRoot).remove();
135
135
  $(this.#owner.shadowRoot).append($('<ng-max-popup></ng-max-popup>'));
136
- this.#owner.shadowRoot.querySelector("ng-max-popup").popup();
136
+ setTimeout(() => {
137
+ this.#owner.shadowRoot.querySelector("ng-max-popup").popup();
138
+ }, 1000);
139
+
137
140
  //}
138
141
  break;
139
142
  case "import":
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.255.0",
4
+ "version": "6.257.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -77,7 +77,7 @@ class ngMaxPopup extends HTMLElement
77
77
  }
78
78
 
79
79
  popup = () => {
80
- console.log(this.#owner.data);
80
+ //console.log(this.#owner.data);
81
81
  this.#grd.data.assign(this.#owner.data.get());
82
82
  this.shadowRoot.querySelector('dialog').showModal();
83
83
  };
package/src/etc/ngMenu.js CHANGED
@@ -133,7 +133,10 @@ class ngMenu extends HTMLElement
133
133
  //if (ninegrid.j.querySelectorAll(this.#owner).hasClass("ng-maximize")) {
134
134
  $('ng-max-popup', this.#owner.shadowRoot).remove();
135
135
  $(this.#owner.shadowRoot).append($('<ng-max-popup></ng-max-popup>'));
136
- this.#owner.shadowRoot.querySelector("ng-max-popup").popup();
136
+ setTimeout(() => {
137
+ this.#owner.shadowRoot.querySelector("ng-max-popup").popup();
138
+ }, 1000);
139
+
137
140
  //}
138
141
  break;
139
142
  case "import":