ninegrid2 6.465.0 → 6.466.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
CHANGED
|
@@ -23968,7 +23968,7 @@ class ngFiltering
|
|
|
23968
23968
|
|
|
23969
23969
|
|
|
23970
23970
|
|
|
23971
|
-
const idx = this.#owner.fields.indexOf(key);
|
|
23971
|
+
//const idx = this.#owner.fields.indexOf(key);
|
|
23972
23972
|
|
|
23973
23973
|
// ✅ 숫자 판별 및 변환
|
|
23974
23974
|
if (this.#owner.data.getValidData().some(o => typeof o.v[idx] === "number")) {
|
|
@@ -23984,6 +23984,8 @@ class ngFiltering
|
|
|
23984
23984
|
.forEach(m => { m.__ng.filtered = true; });
|
|
23985
23985
|
*/
|
|
23986
23986
|
|
|
23987
|
+
console.log(this.#owner.data.getValidData(), this.#owner.data.getValidData().filter(m => arr.includes(m.v[idx] || '')));
|
|
23988
|
+
|
|
23987
23989
|
this.#owner.data.getValidData()
|
|
23988
23990
|
.filter(m => arr.includes(m.v[idx] || ''))
|
|
23989
23991
|
.forEach(m => { m.__ng.filtered = true; });
|
package/dist/bundle.esm.js
CHANGED
|
@@ -23966,7 +23966,7 @@ class ngFiltering
|
|
|
23966
23966
|
|
|
23967
23967
|
|
|
23968
23968
|
|
|
23969
|
-
const idx = this.#owner.fields.indexOf(key);
|
|
23969
|
+
//const idx = this.#owner.fields.indexOf(key);
|
|
23970
23970
|
|
|
23971
23971
|
// ✅ 숫자 판별 및 변환
|
|
23972
23972
|
if (this.#owner.data.getValidData().some(o => typeof o.v[idx] === "number")) {
|
|
@@ -23982,6 +23982,8 @@ class ngFiltering
|
|
|
23982
23982
|
.forEach(m => { m.__ng.filtered = true; });
|
|
23983
23983
|
*/
|
|
23984
23984
|
|
|
23985
|
+
console.log(this.#owner.data.getValidData(), this.#owner.data.getValidData().filter(m => arr.includes(m.v[idx] || '')));
|
|
23986
|
+
|
|
23985
23987
|
this.#owner.data.getValidData()
|
|
23986
23988
|
.filter(m => arr.includes(m.v[idx] || ''))
|
|
23987
23989
|
.forEach(m => { m.__ng.filtered = true; });
|
|
@@ -106,7 +106,7 @@ export class ngFiltering
|
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
|
|
109
|
-
const idx = this.#owner.fields.indexOf(key);
|
|
109
|
+
//const idx = this.#owner.fields.indexOf(key);
|
|
110
110
|
|
|
111
111
|
// ✅ 숫자 판별 및 변환
|
|
112
112
|
if (this.#owner.data.getValidData().some(o => typeof o.v[idx] === "number")) {
|
|
@@ -122,6 +122,8 @@ export class ngFiltering
|
|
|
122
122
|
.forEach(m => { m.__ng.filtered = true; });
|
|
123
123
|
*/
|
|
124
124
|
|
|
125
|
+
console.log(this.#owner.data.getValidData(), this.#owner.data.getValidData().filter(m => arr.includes(m.v[idx] || '')));
|
|
126
|
+
|
|
125
127
|
this.#owner.data.getValidData()
|
|
126
128
|
.filter(m => arr.includes(m.v[idx] || ''))
|
|
127
129
|
.forEach(m => { m.__ng.filtered = true; });
|
package/package.json
CHANGED
package/src/utils/ngFiltering.js
CHANGED
|
@@ -106,7 +106,7 @@ export class ngFiltering
|
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
|
|
109
|
-
const idx = this.#owner.fields.indexOf(key);
|
|
109
|
+
//const idx = this.#owner.fields.indexOf(key);
|
|
110
110
|
|
|
111
111
|
// ✅ 숫자 판별 및 변환
|
|
112
112
|
if (this.#owner.data.getValidData().some(o => typeof o.v[idx] === "number")) {
|
|
@@ -122,6 +122,8 @@ export class ngFiltering
|
|
|
122
122
|
.forEach(m => { m.__ng.filtered = true; });
|
|
123
123
|
*/
|
|
124
124
|
|
|
125
|
+
console.log(this.#owner.data.getValidData(), this.#owner.data.getValidData().filter(m => arr.includes(m.v[idx] || '')));
|
|
126
|
+
|
|
125
127
|
this.#owner.data.getValidData()
|
|
126
128
|
.filter(m => arr.includes(m.v[idx] || ''))
|
|
127
129
|
.forEach(m => { m.__ng.filtered = true; });
|