ninegrid2 6.149.0 → 6.150.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.
- package/dist/bundle.cjs.js +4 -4
- package/dist/bundle.esm.js +4 -4
- package/dist/etc/ngFiltering.js +4 -4
- package/package.json +1 -1
- package/src/etc/ngFiltering.js +4 -4
package/dist/bundle.cjs.js
CHANGED
|
@@ -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((
|
|
18031
|
-
if (
|
|
18030
|
+
this.#owner.activeTmpl.querySelectorAll(`[data-col="${td.dataset.col}"]`).forEach((el) => {
|
|
18031
|
+
if (el.dataset.bind) {
|
|
18032
18032
|
options.push({
|
|
18033
|
-
colnm:
|
|
18033
|
+
colnm: el.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
|
-
|
|
18041
|
+
td.appendChild(filterButton);
|
|
18042
18042
|
filterButton.filterOptions = options; // ✅ 속성 설정
|
|
18043
18043
|
|
|
18044
18044
|
console.log(filterButton, filterButton.filterOptions);
|
package/dist/bundle.esm.js
CHANGED
|
@@ -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((
|
|
18029
|
-
if (
|
|
18028
|
+
this.#owner.activeTmpl.querySelectorAll(`[data-col="${td.dataset.col}"]`).forEach((el) => {
|
|
18029
|
+
if (el.dataset.bind) {
|
|
18030
18030
|
options.push({
|
|
18031
|
-
colnm:
|
|
18031
|
+
colnm: el.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
|
-
|
|
18039
|
+
td.appendChild(filterButton);
|
|
18040
18040
|
filterButton.filterOptions = options; // ✅ 속성 설정
|
|
18041
18041
|
|
|
18042
18042
|
console.log(filterButton, filterButton.filterOptions);
|
package/dist/etc/ngFiltering.js
CHANGED
|
@@ -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((
|
|
166
|
-
if (
|
|
165
|
+
this.#owner.activeTmpl.querySelectorAll(`[data-col="${td.dataset.col}"]`).forEach((el) => {
|
|
166
|
+
if (el.dataset.bind) {
|
|
167
167
|
options.push({
|
|
168
|
-
colnm:
|
|
168
|
+
colnm: el.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
|
-
|
|
176
|
+
td.appendChild(filterButton);
|
|
177
177
|
filterButton.filterOptions = options; // ✅ 속성 설정
|
|
178
178
|
|
|
179
179
|
console.log(filterButton, filterButton.filterOptions);
|
package/package.json
CHANGED
package/src/etc/ngFiltering.js
CHANGED
|
@@ -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((
|
|
166
|
-
if (
|
|
165
|
+
this.#owner.activeTmpl.querySelectorAll(`[data-col="${td.dataset.col}"]`).forEach((el) => {
|
|
166
|
+
if (el.dataset.bind) {
|
|
167
167
|
options.push({
|
|
168
|
-
colnm:
|
|
168
|
+
colnm: el.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
|
-
|
|
176
|
+
td.appendChild(filterButton);
|
|
177
177
|
filterButton.filterOptions = options; // ✅ 속성 설정
|
|
178
178
|
|
|
179
179
|
console.log(filterButton, filterButton.filterOptions);
|