ninegrid2 6.904.0 → 6.905.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.
@@ -11526,38 +11526,36 @@ class ninegrid {
11526
11526
  return nxAlertPopup.alert(message, title, options);
11527
11527
  };
11528
11528
 
11529
- static loading = (show = true) => {
11530
- return {
11531
- show: () => {
11532
- let overlay = document.getElementById("global-loading-overlay");
11533
- if (!overlay) {
11534
- overlay = document.createElement("div");
11535
- overlay.id = "global-loading-overlay";
11536
- overlay.className = "loading-overlay";
11537
- overlay.innerText = "로딩 중입니다...";
11538
-
11539
- overlay.style.position = "fixed";
11540
- overlay.style.inset = "0";
11541
- overlay.style.zIndex = "9999";
11542
- overlay.style.background = "rgba(0, 0, 0, 0.4)";
11543
- overlay.style.color = "white";
11544
- overlay.style.display = "flex";
11545
- overlay.style.justifyContent = "center";
11546
- overlay.style.alignItems = "center";
11547
- overlay.style.fontSize = "20px";
11548
- overlay.style.pointerEvents = "all";
11549
- overlay.style.backdropFilter = "blur(2px)";
11550
-
11551
- document.body.appendChild(overlay);
11552
- }
11553
-
11529
+ static loading = {
11530
+ show: () => {
11531
+ let overlay = document.getElementById("global-loading-overlay");
11532
+ if (!overlay) {
11533
+ overlay = document.createElement("div");
11534
+ overlay.id = "global-loading-overlay";
11535
+ overlay.className = "loading-overlay";
11536
+ overlay.innerText = "로딩 중입니다...";
11537
+
11538
+ overlay.style.position = "fixed";
11539
+ overlay.style.inset = "0";
11540
+ overlay.style.zIndex = "9999";
11541
+ overlay.style.background = "rgba(0, 0, 0, 0.4)";
11542
+ overlay.style.color = "white";
11554
11543
  overlay.style.display = "flex";
11555
- },
11556
- hide: () => {
11557
- const overlay = document.getElementById("global-loading-overlay");
11558
- if (overlay) overlay.style.display = "none";
11559
- },
11560
- }
11544
+ overlay.style.justifyContent = "center";
11545
+ overlay.style.alignItems = "center";
11546
+ overlay.style.fontSize = "20px";
11547
+ overlay.style.pointerEvents = "all";
11548
+ overlay.style.backdropFilter = "blur(2px)";
11549
+
11550
+ document.body.appendChild(overlay);
11551
+ }
11552
+
11553
+ overlay.style.display = "flex";
11554
+ },
11555
+ hide: () => {
11556
+ const overlay = document.getElementById("global-loading-overlay");
11557
+ if (overlay) overlay.style.display = "none";
11558
+ },
11561
11559
  };
11562
11560
 
11563
11561
  static i18n = {
@@ -11522,38 +11522,36 @@ class ninegrid {
11522
11522
  return nxAlertPopup.alert(message, title, options);
11523
11523
  };
11524
11524
 
11525
- static loading = (show = true) => {
11526
- return {
11527
- show: () => {
11528
- let overlay = document.getElementById("global-loading-overlay");
11529
- if (!overlay) {
11530
- overlay = document.createElement("div");
11531
- overlay.id = "global-loading-overlay";
11532
- overlay.className = "loading-overlay";
11533
- overlay.innerText = "로딩 중입니다...";
11534
-
11535
- overlay.style.position = "fixed";
11536
- overlay.style.inset = "0";
11537
- overlay.style.zIndex = "9999";
11538
- overlay.style.background = "rgba(0, 0, 0, 0.4)";
11539
- overlay.style.color = "white";
11540
- overlay.style.display = "flex";
11541
- overlay.style.justifyContent = "center";
11542
- overlay.style.alignItems = "center";
11543
- overlay.style.fontSize = "20px";
11544
- overlay.style.pointerEvents = "all";
11545
- overlay.style.backdropFilter = "blur(2px)";
11546
-
11547
- document.body.appendChild(overlay);
11548
- }
11549
-
11525
+ static loading = {
11526
+ show: () => {
11527
+ let overlay = document.getElementById("global-loading-overlay");
11528
+ if (!overlay) {
11529
+ overlay = document.createElement("div");
11530
+ overlay.id = "global-loading-overlay";
11531
+ overlay.className = "loading-overlay";
11532
+ overlay.innerText = "로딩 중입니다...";
11533
+
11534
+ overlay.style.position = "fixed";
11535
+ overlay.style.inset = "0";
11536
+ overlay.style.zIndex = "9999";
11537
+ overlay.style.background = "rgba(0, 0, 0, 0.4)";
11538
+ overlay.style.color = "white";
11550
11539
  overlay.style.display = "flex";
11551
- },
11552
- hide: () => {
11553
- const overlay = document.getElementById("global-loading-overlay");
11554
- if (overlay) overlay.style.display = "none";
11555
- },
11556
- }
11540
+ overlay.style.justifyContent = "center";
11541
+ overlay.style.alignItems = "center";
11542
+ overlay.style.fontSize = "20px";
11543
+ overlay.style.pointerEvents = "all";
11544
+ overlay.style.backdropFilter = "blur(2px)";
11545
+
11546
+ document.body.appendChild(overlay);
11547
+ }
11548
+
11549
+ overlay.style.display = "flex";
11550
+ },
11551
+ hide: () => {
11552
+ const overlay = document.getElementById("global-loading-overlay");
11553
+ if (overlay) overlay.style.display = "none";
11554
+ },
11557
11555
  };
11558
11556
 
11559
11557
  static i18n = {
@@ -659,38 +659,36 @@ export class ninegrid {
659
659
  return nxAlertPopup.alert(message, title, options);
660
660
  };
661
661
 
662
- static loading = (show = true) => {
663
- return {
664
- show: () => {
665
- let overlay = document.getElementById("global-loading-overlay");
666
- if (!overlay) {
667
- overlay = document.createElement("div");
668
- overlay.id = "global-loading-overlay";
669
- overlay.className = "loading-overlay";
670
- overlay.innerText = "로딩 중입니다...";
671
-
672
- overlay.style.position = "fixed";
673
- overlay.style.inset = "0";
674
- overlay.style.zIndex = "9999";
675
- overlay.style.background = "rgba(0, 0, 0, 0.4)";
676
- overlay.style.color = "white";
677
- overlay.style.display = "flex";
678
- overlay.style.justifyContent = "center";
679
- overlay.style.alignItems = "center";
680
- overlay.style.fontSize = "20px";
681
- overlay.style.pointerEvents = "all";
682
- overlay.style.backdropFilter = "blur(2px)";
683
-
684
- document.body.appendChild(overlay);
685
- }
686
-
662
+ static loading = {
663
+ show: () => {
664
+ let overlay = document.getElementById("global-loading-overlay");
665
+ if (!overlay) {
666
+ overlay = document.createElement("div");
667
+ overlay.id = "global-loading-overlay";
668
+ overlay.className = "loading-overlay";
669
+ overlay.innerText = "로딩 중입니다...";
670
+
671
+ overlay.style.position = "fixed";
672
+ overlay.style.inset = "0";
673
+ overlay.style.zIndex = "9999";
674
+ overlay.style.background = "rgba(0, 0, 0, 0.4)";
675
+ overlay.style.color = "white";
687
676
  overlay.style.display = "flex";
688
- },
689
- hide: () => {
690
- const overlay = document.getElementById("global-loading-overlay");
691
- if (overlay) overlay.style.display = "none";
692
- },
693
- }
677
+ overlay.style.justifyContent = "center";
678
+ overlay.style.alignItems = "center";
679
+ overlay.style.fontSize = "20px";
680
+ overlay.style.pointerEvents = "all";
681
+ overlay.style.backdropFilter = "blur(2px)";
682
+
683
+ document.body.appendChild(overlay);
684
+ }
685
+
686
+ overlay.style.display = "flex";
687
+ },
688
+ hide: () => {
689
+ const overlay = document.getElementById("global-loading-overlay");
690
+ if (overlay) overlay.style.display = "none";
691
+ },
694
692
  };
695
693
 
696
694
  static i18n = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.904.0",
4
+ "version": "6.905.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -659,38 +659,36 @@ export class ninegrid {
659
659
  return nxAlertPopup.alert(message, title, options);
660
660
  };
661
661
 
662
- static loading = (show = true) => {
663
- return {
664
- show: () => {
665
- let overlay = document.getElementById("global-loading-overlay");
666
- if (!overlay) {
667
- overlay = document.createElement("div");
668
- overlay.id = "global-loading-overlay";
669
- overlay.className = "loading-overlay";
670
- overlay.innerText = "로딩 중입니다...";
671
-
672
- overlay.style.position = "fixed";
673
- overlay.style.inset = "0";
674
- overlay.style.zIndex = "9999";
675
- overlay.style.background = "rgba(0, 0, 0, 0.4)";
676
- overlay.style.color = "white";
677
- overlay.style.display = "flex";
678
- overlay.style.justifyContent = "center";
679
- overlay.style.alignItems = "center";
680
- overlay.style.fontSize = "20px";
681
- overlay.style.pointerEvents = "all";
682
- overlay.style.backdropFilter = "blur(2px)";
683
-
684
- document.body.appendChild(overlay);
685
- }
686
-
662
+ static loading = {
663
+ show: () => {
664
+ let overlay = document.getElementById("global-loading-overlay");
665
+ if (!overlay) {
666
+ overlay = document.createElement("div");
667
+ overlay.id = "global-loading-overlay";
668
+ overlay.className = "loading-overlay";
669
+ overlay.innerText = "로딩 중입니다...";
670
+
671
+ overlay.style.position = "fixed";
672
+ overlay.style.inset = "0";
673
+ overlay.style.zIndex = "9999";
674
+ overlay.style.background = "rgba(0, 0, 0, 0.4)";
675
+ overlay.style.color = "white";
687
676
  overlay.style.display = "flex";
688
- },
689
- hide: () => {
690
- const overlay = document.getElementById("global-loading-overlay");
691
- if (overlay) overlay.style.display = "none";
692
- },
693
- }
677
+ overlay.style.justifyContent = "center";
678
+ overlay.style.alignItems = "center";
679
+ overlay.style.fontSize = "20px";
680
+ overlay.style.pointerEvents = "all";
681
+ overlay.style.backdropFilter = "blur(2px)";
682
+
683
+ document.body.appendChild(overlay);
684
+ }
685
+
686
+ overlay.style.display = "flex";
687
+ },
688
+ hide: () => {
689
+ const overlay = document.getElementById("global-loading-overlay");
690
+ if (overlay) overlay.style.display = "none";
691
+ },
694
692
  };
695
693
 
696
694
  static i18n = {