ninegrid2 6.898.0 → 6.899.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.
@@ -119392,12 +119392,19 @@ class nxDialog extends HTMLElement
119392
119392
  };
119393
119393
 
119394
119394
  #init = () => {
119395
- $(".close,.close2", this).on("click", e => {
119396
- this.close();
119397
- /**
119395
+ /**
119396
+ $(".close,.close2", this).on("click", e => {
119397
+ ninegrid.j.querySelectorAll('dialog', this).addClass("out");
119398
+ setTimeout(() => { this.close(); }, 300);
119399
+ }); */
119400
+
119401
+ $(".close", this).on("click", e => {
119398
119402
  ninegrid.j.querySelectorAll('dialog', this).addClass("out");
119399
119403
  setTimeout(() => { this.close(); }, 300);
119400
- */
119404
+ });
119405
+
119406
+ $(".close,.close2", this).on("click", e => {
119407
+ this.close();
119401
119408
  });
119402
119409
 
119403
119410
  $(".head", this) .on('mousedown', this.#onMouseDown);
@@ -119388,12 +119388,19 @@ class nxDialog extends HTMLElement
119388
119388
  };
119389
119389
 
119390
119390
  #init = () => {
119391
- $(".close,.close2", this).on("click", e => {
119392
- this.close();
119393
- /**
119391
+ /**
119392
+ $(".close,.close2", this).on("click", e => {
119393
+ ninegrid.j.querySelectorAll('dialog', this).addClass("out");
119394
+ setTimeout(() => { this.close(); }, 300);
119395
+ }); */
119396
+
119397
+ $(".close", this).on("click", e => {
119394
119398
  ninegrid.j.querySelectorAll('dialog', this).addClass("out");
119395
119399
  setTimeout(() => { this.close(); }, 300);
119396
- */
119400
+ });
119401
+
119402
+ $(".close,.close2", this).on("click", e => {
119403
+ this.close();
119397
119404
  });
119398
119405
 
119399
119406
  $(".head", this) .on('mousedown', this.#onMouseDown);
@@ -79,12 +79,19 @@ class nxDialog extends HTMLElement
79
79
  };
80
80
 
81
81
  #init = () => {
82
- $(".close,.close2", this).on("click", e => {
83
- this.close();
84
- /**
82
+ /**
83
+ $(".close,.close2", this).on("click", e => {
84
+ ninegrid.j.querySelectorAll('dialog', this).addClass("out");
85
+ setTimeout(() => { this.close(); }, 300);
86
+ }); */
87
+
88
+ $(".close", this).on("click", e => {
85
89
  ninegrid.j.querySelectorAll('dialog', this).addClass("out");
86
90
  setTimeout(() => { this.close(); }, 300);
87
- */
91
+ });
92
+
93
+ $(".close,.close2", this).on("click", e => {
94
+ this.close();
88
95
  });
89
96
 
90
97
  $(".head", this) .on('mousedown', this.#onMouseDown);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.898.0",
4
+ "version": "6.899.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -79,12 +79,19 @@ class nxDialog extends HTMLElement
79
79
  };
80
80
 
81
81
  #init = () => {
82
- $(".close,.close2", this).on("click", e => {
83
- this.close();
84
- /**
82
+ /**
83
+ $(".close,.close2", this).on("click", e => {
84
+ ninegrid.j.querySelectorAll('dialog', this).addClass("out");
85
+ setTimeout(() => { this.close(); }, 300);
86
+ }); */
87
+
88
+ $(".close", this).on("click", e => {
85
89
  ninegrid.j.querySelectorAll('dialog', this).addClass("out");
86
90
  setTimeout(() => { this.close(); }, 300);
87
- */
91
+ });
92
+
93
+ $(".close,.close2", this).on("click", e => {
94
+ this.close();
88
95
  });
89
96
 
90
97
  $(".head", this) .on('mousedown', this.#onMouseDown);