ninegrid2 6.894.0 → 6.896.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.
@@ -11508,9 +11508,23 @@ class ninegrid {
11508
11508
  }
11509
11509
 
11510
11510
  return null; // 없으면 null 반환
11511
- }
11511
+ };
11512
11512
 
11513
+ static setOptions = (k,o) => {
11514
+ for (const prop in o) {
11515
+ if (ninegrid.options[k][prop]) {
11516
+ ninegrid.options[k][prop] = o[prop];
11517
+ }
11518
+ }
11519
+ };
11513
11520
 
11521
+ static confirm(message, title, options) {
11522
+ return nxConfirmPopup.confirm(message, title, options);
11523
+ };
11524
+
11525
+ static alert(message, title, options) {
11526
+ return nxAlertPopup.alert(message, title, options);
11527
+ };
11514
11528
 
11515
11529
  static i18n = {
11516
11530
  convertArrayToJSON : (arr) => {
@@ -11504,9 +11504,23 @@ class ninegrid {
11504
11504
  }
11505
11505
 
11506
11506
  return null; // 없으면 null 반환
11507
- }
11507
+ };
11508
11508
 
11509
+ static setOptions = (k,o) => {
11510
+ for (const prop in o) {
11511
+ if (ninegrid.options[k][prop]) {
11512
+ ninegrid.options[k][prop] = o[prop];
11513
+ }
11514
+ }
11515
+ };
11509
11516
 
11517
+ static confirm(message, title, options) {
11518
+ return nxConfirmPopup.confirm(message, title, options);
11519
+ };
11520
+
11521
+ static alert(message, title, options) {
11522
+ return nxAlertPopup.alert(message, title, options);
11523
+ };
11510
11524
 
11511
11525
  static i18n = {
11512
11526
  convertArrayToJSON : (arr) => {
@@ -641,9 +641,23 @@ export class ninegrid {
641
641
  }
642
642
 
643
643
  return null; // 없으면 null 반환
644
- }
644
+ };
645
645
 
646
+ static setOptions = (k,o) => {
647
+ for (const prop in o) {
648
+ if (ninegrid.options[k][prop]) {
649
+ ninegrid.options[k][prop] = o[prop];
650
+ }
651
+ }
652
+ };
646
653
 
654
+ static confirm(message, title, options) {
655
+ return nxConfirmPopup.confirm(message, title, options);
656
+ };
657
+
658
+ static alert(message, title, options) {
659
+ return nxAlertPopup.alert(message, title, options);
660
+ };
647
661
 
648
662
  static i18n = {
649
663
  convertArrayToJSON : (arr) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.894.0",
4
+ "version": "6.896.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -641,9 +641,23 @@ export class ninegrid {
641
641
  }
642
642
 
643
643
  return null; // 없으면 null 반환
644
- }
644
+ };
645
645
 
646
+ static setOptions = (k,o) => {
647
+ for (const prop in o) {
648
+ if (ninegrid.options[k][prop]) {
649
+ ninegrid.options[k][prop] = o[prop];
650
+ }
651
+ }
652
+ };
646
653
 
654
+ static confirm(message, title, options) {
655
+ return nxConfirmPopup.confirm(message, title, options);
656
+ };
657
+
658
+ static alert(message, title, options) {
659
+ return nxAlertPopup.alert(message, title, options);
660
+ };
647
661
 
648
662
  static i18n = {
649
663
  convertArrayToJSON : (arr) => {