ninegrid2 6.1216.0 → 6.1218.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.
@@ -16566,6 +16566,7 @@ class ngData
16566
16566
  }
16567
16567
  set source(v) {
16568
16568
  this.clear();
16569
+ console.log(v);
16569
16570
  this.add(v, false);
16570
16571
  }
16571
16572
 
@@ -122307,8 +122308,9 @@ class nxModal extends HTMLElement
122307
122308
  </dialog>
122308
122309
  `;
122309
122310
 
122310
- if (title) {
122311
- $(".title", this).html(title);
122311
+ const titleElement = this.querySelector('.title');
122312
+ if (titleElement && title) {
122313
+ titleElement.textContent = title; // 또는 titleElement.innerHTML = title;
122312
122314
  }
122313
122315
 
122314
122316
  this.#init();
@@ -16562,6 +16562,7 @@ class ngData
16562
16562
  }
16563
16563
  set source(v) {
16564
16564
  this.clear();
16565
+ console.log(v);
16565
16566
  this.add(v, false);
16566
16567
  }
16567
16568
 
@@ -122303,8 +122304,9 @@ class nxModal extends HTMLElement
122303
122304
  </dialog>
122304
122305
  `;
122305
122306
 
122306
- if (title) {
122307
- $(".title", this).html(title);
122307
+ const titleElement = this.querySelector('.title');
122308
+ if (titleElement && title) {
122309
+ titleElement.textContent = title; // 또는 titleElement.innerHTML = title;
122308
122310
  }
122309
122311
 
122310
122312
  this.#init();
@@ -129,6 +129,7 @@ export class ngData
129
129
  }
130
130
  set source(v) {
131
131
  this.clear();
132
+ console.log(v);
132
133
  this.add(v, false);
133
134
  }
134
135
 
@@ -54,8 +54,9 @@ class nxModal extends HTMLElement
54
54
  </dialog>
55
55
  `;
56
56
 
57
- if (title) {
58
- $(".title", this).html(title);
57
+ const titleElement = this.querySelector('.title');
58
+ if (titleElement && title) {
59
+ titleElement.textContent = title; // 또는 titleElement.innerHTML = title;
59
60
  }
60
61
 
61
62
  this.#init();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.1216.0",
4
+ "version": "6.1218.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
package/src/etc/ngData.js CHANGED
@@ -129,6 +129,7 @@ export class ngData
129
129
  }
130
130
  set source(v) {
131
131
  this.clear();
132
+ console.log(v);
132
133
  this.add(v, false);
133
134
  }
134
135
 
package/src/nx/nxModal.js CHANGED
@@ -54,8 +54,9 @@ class nxModal extends HTMLElement
54
54
  </dialog>
55
55
  `;
56
56
 
57
- if (title) {
58
- $(".title", this).html(title);
57
+ const titleElement = this.querySelector('.title');
58
+ if (titleElement && title) {
59
+ titleElement.textContent = title; // 또는 titleElement.innerHTML = title;
59
60
  }
60
61
 
61
62
  this.#init();