ninegrid2 6.1209.0 → 6.1211.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.
@@ -122272,8 +122272,11 @@ class nxModal extends HTMLElement
122272
122272
  //console.log(ninegrid.getCustomPath(this,"nxDialog.css"));
122273
122273
 
122274
122274
  this.innerHTML = `
122275
-
122276
- <div>
122275
+ <style>
122276
+ ${ninegrid.getCustomPath(this,"nxModal.css") || ""}
122277
+ </style>
122278
+
122279
+ <div class="nx-modal">
122277
122280
  <div class="head">
122278
122281
  <div class="rect1"></div>
122279
122282
  <div class="rect2"></div>
@@ -122305,7 +122308,7 @@ class nxModal extends HTMLElement
122305
122308
 
122306
122309
  //$(".title", this).html("Details");
122307
122310
 
122308
- //this.#init();
122311
+ this.#init();
122309
122312
  };
122310
122313
 
122311
122314
  showModal = () => {
@@ -122268,8 +122268,11 @@ class nxModal extends HTMLElement
122268
122268
  //console.log(ninegrid.getCustomPath(this,"nxDialog.css"));
122269
122269
 
122270
122270
  this.innerHTML = `
122271
-
122272
- <div>
122271
+ <style>
122272
+ ${ninegrid.getCustomPath(this,"nxModal.css") || ""}
122273
+ </style>
122274
+
122275
+ <div class="nx-modal">
122273
122276
  <div class="head">
122274
122277
  <div class="rect1"></div>
122275
122278
  <div class="rect2"></div>
@@ -122301,7 +122304,7 @@ class nxModal extends HTMLElement
122301
122304
 
122302
122305
  //$(".title", this).html("Details");
122303
122306
 
122304
- //this.#init();
122307
+ this.#init();
122305
122308
  };
122306
122309
 
122307
122310
  showModal = () => {
@@ -19,8 +19,11 @@ class nxModal extends HTMLElement
19
19
  //console.log(ninegrid.getCustomPath(this,"nxDialog.css"));
20
20
 
21
21
  this.innerHTML = `
22
-
23
- <div>
22
+ <style>
23
+ ${ninegrid.getCustomPath(this,"nxModal.css") || ""}
24
+ </style>
25
+
26
+ <div class="nx-modal">
24
27
  <div class="head">
25
28
  <div class="rect1"></div>
26
29
  <div class="rect2"></div>
@@ -52,7 +55,7 @@ class nxModal extends HTMLElement
52
55
 
53
56
  //$(".title", this).html("Details");
54
57
 
55
- //this.#init();
58
+ this.#init();
56
59
  };
57
60
 
58
61
  showModal = () => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.1209.0",
4
+ "version": "6.1211.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
package/src/nx/nxModal.js CHANGED
@@ -19,8 +19,11 @@ class nxModal extends HTMLElement
19
19
  //console.log(ninegrid.getCustomPath(this,"nxDialog.css"));
20
20
 
21
21
  this.innerHTML = `
22
-
23
- <div>
22
+ <style>
23
+ ${ninegrid.getCustomPath(this,"nxModal.css") || ""}
24
+ </style>
25
+
26
+ <div class="nx-modal">
24
27
  <div class="head">
25
28
  <div class="rect1"></div>
26
29
  <div class="rect2"></div>
@@ -52,7 +55,7 @@ class nxModal extends HTMLElement
52
55
 
53
56
  //$(".title", this).html("Details");
54
57
 
55
- //this.#init();
58
+ this.#init();
56
59
  };
57
60
 
58
61
  showModal = () => {