ninegrid2 6.385.0 → 6.388.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"); });
@@ -10996,7 +10999,7 @@ class ninegrid {
10996
10999
  },
10997
11000
  alert : {
10998
11001
  "class" : "classic",
10999
- "animation" : "run", //run, reverseRun, moveUp, moveDown, zoom, fade
11002
+ "animation" : "zoom", //run, reverseRun, moveUp, moveDown, zoom, fade
11000
11003
  },
11001
11004
  };
11002
11005
 
@@ -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"); });
@@ -10994,7 +10997,7 @@ class ninegrid {
10994
10997
  },
10995
10998
  alert : {
10996
10999
  "class" : "classic",
10997
- "animation" : "run", //run, reverseRun, moveUp, moveDown, zoom, fade
11000
+ "animation" : "zoom", //run, reverseRun, moveUp, moveDown, zoom, fade
10998
11001
  },
10999
11002
  };
11000
11003
 
@@ -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"); });
@@ -188,7 +188,7 @@ export class ninegrid {
188
188
  },
189
189
  alert : {
190
190
  "class" : "classic",
191
- "animation" : "run", //run, reverseRun, moveUp, moveDown, zoom, fade
191
+ "animation" : "zoom", //run, reverseRun, moveUp, moveDown, zoom, fade
192
192
  },
193
193
  };
194
194
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.385.0",
4
+ "version": "6.388.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"); });
@@ -188,7 +188,7 @@ export class ninegrid {
188
188
  },
189
189
  alert : {
190
190
  "class" : "classic",
191
- "animation" : "run", //run, reverseRun, moveUp, moveDown, zoom, fade
191
+ "animation" : "zoom", //run, reverseRun, moveUp, moveDown, zoom, fade
192
192
  },
193
193
  };
194
194