ninegrid2 6.903.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,6 +11526,38 @@ class ninegrid {
11526
11526
  return nxAlertPopup.alert(message, title, options);
11527
11527
  };
11528
11528
 
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";
11543
+ overlay.style.display = "flex";
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
+ },
11559
+ };
11560
+
11529
11561
  static i18n = {
11530
11562
  convertArrayToJSON : (arr) => {
11531
11563
  let result = {};
@@ -11522,6 +11522,38 @@ class ninegrid {
11522
11522
  return nxAlertPopup.alert(message, title, options);
11523
11523
  };
11524
11524
 
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";
11539
+ overlay.style.display = "flex";
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
+ },
11555
+ };
11556
+
11525
11557
  static i18n = {
11526
11558
  convertArrayToJSON : (arr) => {
11527
11559
  let result = {};
@@ -370,54 +370,6 @@ class ninegrid
370
370
  lang : navigator.language,
371
371
  };
372
372
 
373
- static loading = (show = true) => {
374
- return {
375
- show: () => {
376
- let overlay = document.getElementById("global-loading-overlay");
377
- if (!overlay) {
378
- overlay = document.createElement("div");
379
- overlay.id = "global-loading-overlay";
380
- overlay.className = "loading-overlay";
381
- overlay.innerText = "로딩 중입니다...";
382
-
383
- overlay.style.position = "fixed";
384
- overlay.style.inset = "0";
385
- overlay.style.zIndex = "9999";
386
- overlay.style.background = "rgba(0, 0, 0, 0.4)";
387
- overlay.style.color = "white";
388
- overlay.style.display = "flex";
389
- overlay.style.justifyContent = "center";
390
- overlay.style.alignItems = "center";
391
- overlay.style.fontSize = "20px";
392
- overlay.style.pointerEvents = "all";
393
- overlay.style.backdropFilter = "blur(2px)";
394
-
395
- document.body.appendChild(overlay);
396
- }
397
-
398
- overlay.style.display = "flex";
399
- },
400
- hide: () => {
401
- const overlay = document.getElementById("global-loading-overlay");
402
- if (overlay) overlay.style.display = "none";
403
- },
404
- }
405
- };
406
- /**
407
- // 스타일도 동적으로 적용 (선택사항)
408
- overlay.style.position = "fixed";
409
- overlay.style.inset = "0";
410
- overlay.style.zIndex = "9999";
411
- overlay.style.background = "rgba(0, 0, 0, 0.4)";
412
- overlay.style.color = "white";
413
- overlay.style.display = "flex";
414
- overlay.style.justifyContent = "center";
415
- overlay.style.alignItems = "center";
416
- overlay.style.fontSize = "20px";
417
- overlay.style.pointerEvents = "all";
418
- overlay.style.backdropFilter = "blur(2px)";
419
- */
420
-
421
373
 
422
374
  static querySelectorAll = (selector, root) => {
423
375
 
@@ -659,6 +659,38 @@ export class ninegrid {
659
659
  return nxAlertPopup.alert(message, title, options);
660
660
  };
661
661
 
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";
676
+ overlay.style.display = "flex";
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
+ },
692
+ };
693
+
662
694
  static i18n = {
663
695
  convertArrayToJSON : (arr) => {
664
696
  let result = {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.903.0",
4
+ "version": "6.905.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -370,54 +370,6 @@ class ninegrid
370
370
  lang : navigator.language,
371
371
  };
372
372
 
373
- static loading = (show = true) => {
374
- return {
375
- show: () => {
376
- let overlay = document.getElementById("global-loading-overlay");
377
- if (!overlay) {
378
- overlay = document.createElement("div");
379
- overlay.id = "global-loading-overlay";
380
- overlay.className = "loading-overlay";
381
- overlay.innerText = "로딩 중입니다...";
382
-
383
- overlay.style.position = "fixed";
384
- overlay.style.inset = "0";
385
- overlay.style.zIndex = "9999";
386
- overlay.style.background = "rgba(0, 0, 0, 0.4)";
387
- overlay.style.color = "white";
388
- overlay.style.display = "flex";
389
- overlay.style.justifyContent = "center";
390
- overlay.style.alignItems = "center";
391
- overlay.style.fontSize = "20px";
392
- overlay.style.pointerEvents = "all";
393
- overlay.style.backdropFilter = "blur(2px)";
394
-
395
- document.body.appendChild(overlay);
396
- }
397
-
398
- overlay.style.display = "flex";
399
- },
400
- hide: () => {
401
- const overlay = document.getElementById("global-loading-overlay");
402
- if (overlay) overlay.style.display = "none";
403
- },
404
- }
405
- };
406
- /**
407
- // 스타일도 동적으로 적용 (선택사항)
408
- overlay.style.position = "fixed";
409
- overlay.style.inset = "0";
410
- overlay.style.zIndex = "9999";
411
- overlay.style.background = "rgba(0, 0, 0, 0.4)";
412
- overlay.style.color = "white";
413
- overlay.style.display = "flex";
414
- overlay.style.justifyContent = "center";
415
- overlay.style.alignItems = "center";
416
- overlay.style.fontSize = "20px";
417
- overlay.style.pointerEvents = "all";
418
- overlay.style.backdropFilter = "blur(2px)";
419
- */
420
-
421
373
 
422
374
  static querySelectorAll = (selector, root) => {
423
375
 
@@ -659,6 +659,38 @@ export class ninegrid {
659
659
  return nxAlertPopup.alert(message, title, options);
660
660
  };
661
661
 
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";
676
+ overlay.style.display = "flex";
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
+ },
692
+ };
693
+
662
694
  static i18n = {
663
695
  convertArrayToJSON : (arr) => {
664
696
  let result = {};