ninegrid2 6.147.0 → 6.149.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.
@@ -18027,10 +18027,10 @@ class ngFiltering
18027
18027
  if (td.closest("tr").sectionRowIndex + td.rowSpan - 1 === lastRowIndex) {
18028
18028
  //let colnms = [];
18029
18029
  const options = [];
18030
- this.#owner.activeTmpl.querySelectorAll(`[data-col="${td.dataset.col}"]`).forEach((el) => {
18031
- if (el.dataset.bind) {
18030
+ this.#owner.activeTmpl.querySelectorAll(`[data-col="${td.dataset.col}"]`).forEach((elem) => {
18031
+ if (elem.dataset.bind) {
18032
18032
  options.push({
18033
- colnm: el.dataset.bind,
18033
+ colnm: elem.dataset.bind,
18034
18034
  data: [],
18035
18035
  });
18036
18036
  }
@@ -18038,7 +18038,7 @@ class ngFiltering
18038
18038
 
18039
18039
  if (options.length > 0) {
18040
18040
  const filterButton = document.createElement("ng-filter-button"); // ✅ `ng-filter-button` 생성
18041
- el.appendChild(filterButton);
18041
+ elem.appendChild(filterButton);
18042
18042
  filterButton.filterOptions = options; // ✅ 속성 설정
18043
18043
 
18044
18044
  console.log(filterButton, filterButton.filterOptions);
@@ -18025,10 +18025,10 @@ class ngFiltering
18025
18025
  if (td.closest("tr").sectionRowIndex + td.rowSpan - 1 === lastRowIndex) {
18026
18026
  //let colnms = [];
18027
18027
  const options = [];
18028
- this.#owner.activeTmpl.querySelectorAll(`[data-col="${td.dataset.col}"]`).forEach((el) => {
18029
- if (el.dataset.bind) {
18028
+ this.#owner.activeTmpl.querySelectorAll(`[data-col="${td.dataset.col}"]`).forEach((elem) => {
18029
+ if (elem.dataset.bind) {
18030
18030
  options.push({
18031
- colnm: el.dataset.bind,
18031
+ colnm: elem.dataset.bind,
18032
18032
  data: [],
18033
18033
  });
18034
18034
  }
@@ -18036,7 +18036,7 @@ class ngFiltering
18036
18036
 
18037
18037
  if (options.length > 0) {
18038
18038
  const filterButton = document.createElement("ng-filter-button"); // ✅ `ng-filter-button` 생성
18039
- el.appendChild(filterButton);
18039
+ elem.appendChild(filterButton);
18040
18040
  filterButton.filterOptions = options; // ✅ 속성 설정
18041
18041
 
18042
18042
  console.log(filterButton, filterButton.filterOptions);
@@ -162,10 +162,10 @@ export class ngFiltering
162
162
  if (td.closest("tr").sectionRowIndex + td.rowSpan - 1 === lastRowIndex) {
163
163
  //let colnms = [];
164
164
  const options = [];
165
- this.#owner.activeTmpl.querySelectorAll(`[data-col="${td.dataset.col}"]`).forEach((el) => {
166
- if (el.dataset.bind) {
165
+ this.#owner.activeTmpl.querySelectorAll(`[data-col="${td.dataset.col}"]`).forEach((elem) => {
166
+ if (elem.dataset.bind) {
167
167
  options.push({
168
- colnm: el.dataset.bind,
168
+ colnm: elem.dataset.bind,
169
169
  data: [],
170
170
  });
171
171
  }
@@ -173,7 +173,7 @@ export class ngFiltering
173
173
 
174
174
  if (options.length > 0) {
175
175
  const filterButton = document.createElement("ng-filter-button"); // ✅ `ng-filter-button` 생성
176
- el.appendChild(filterButton);
176
+ elem.appendChild(filterButton);
177
177
  filterButton.filterOptions = options; // ✅ 속성 설정
178
178
 
179
179
  console.log(filterButton, filterButton.filterOptions);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.147.0",
4
+ "version": "6.149.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -162,10 +162,10 @@ export class ngFiltering
162
162
  if (td.closest("tr").sectionRowIndex + td.rowSpan - 1 === lastRowIndex) {
163
163
  //let colnms = [];
164
164
  const options = [];
165
- this.#owner.activeTmpl.querySelectorAll(`[data-col="${td.dataset.col}"]`).forEach((el) => {
166
- if (el.dataset.bind) {
165
+ this.#owner.activeTmpl.querySelectorAll(`[data-col="${td.dataset.col}"]`).forEach((elem) => {
166
+ if (elem.dataset.bind) {
167
167
  options.push({
168
- colnm: el.dataset.bind,
168
+ colnm: elem.dataset.bind,
169
169
  data: [],
170
170
  });
171
171
  }
@@ -173,7 +173,7 @@ export class ngFiltering
173
173
 
174
174
  if (options.length > 0) {
175
175
  const filterButton = document.createElement("ng-filter-button"); // ✅ `ng-filter-button` 생성
176
- el.appendChild(filterButton);
176
+ elem.appendChild(filterButton);
177
177
  filterButton.filterOptions = options; // ✅ 속성 설정
178
178
 
179
179
  console.log(filterButton, filterButton.filterOptions);