ninegrid2 6.384.0 → 6.386.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.
@@ -10797,7 +10797,10 @@ class nxAlertPopup extends HTMLElement
10797
10797
  const t = document.body.querySelector("nx-alert-popup");
10798
10798
 
10799
10799
  $('.title', t.shadowRoot).html(title);
10800
- $('.msg', t.shadowRoot).html(message.replaceAll("\n", "<br/>"));
10800
+
10801
+ console.log(message);
10802
+
10803
+ $('.msg', t.shadowRoot).html(message?.replaceAll("\n", "<br/>"));
10801
10804
 
10802
10805
  return new Promise(function(resolve) {
10803
10806
  $(".cancel,.close2", t.shadowRoot) .on("click", e => { resolve(false); $(".close", t.shadowRoot).trigger("click"); });
@@ -10795,7 +10795,10 @@ class nxAlertPopup extends HTMLElement
10795
10795
  const t = document.body.querySelector("nx-alert-popup");
10796
10796
 
10797
10797
  $('.title', t.shadowRoot).html(title);
10798
- $('.msg', t.shadowRoot).html(message.replaceAll("\n", "<br/>"));
10798
+
10799
+ console.log(message);
10800
+
10801
+ $('.msg', t.shadowRoot).html(message?.replaceAll("\n", "<br/>"));
10799
10802
 
10800
10803
  return new Promise(function(resolve) {
10801
10804
  $(".cancel,.close2", t.shadowRoot) .on("click", e => { resolve(false); $(".close", t.shadowRoot).trigger("click"); });
@@ -89,7 +89,10 @@ export class nxAlertPopup extends HTMLElement
89
89
  const t = document.body.querySelector("nx-alert-popup");
90
90
 
91
91
  $('.title', t.shadowRoot).html(title);
92
- $('.msg', t.shadowRoot).html(message.replaceAll("\n", "<br/>"));
92
+
93
+ console.log(message);
94
+
95
+ $('.msg', t.shadowRoot).html(message?.replaceAll("\n", "<br/>"));
93
96
 
94
97
  return new Promise(function(resolve) {
95
98
  $(".cancel,.close2", t.shadowRoot) .on("click", e => { resolve(false); $(".close", t.shadowRoot).trigger("click"); });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.384.0",
4
+ "version": "6.386.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -89,7 +89,10 @@ export class nxAlertPopup extends HTMLElement
89
89
  const t = document.body.querySelector("nx-alert-popup");
90
90
 
91
91
  $('.title', t.shadowRoot).html(title);
92
- $('.msg', t.shadowRoot).html(message.replaceAll("\n", "<br/>"));
92
+
93
+ console.log(message);
94
+
95
+ $('.msg', t.shadowRoot).html(message?.replaceAll("\n", "<br/>"));
93
96
 
94
97
  return new Promise(function(resolve) {
95
98
  $(".cancel,.close2", t.shadowRoot) .on("click", e => { resolve(false); $(".close", t.shadowRoot).trigger("click"); });