ninegrid2 6.472.0 → 6.474.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 +12 -26
- package/dist/bundle.esm.js +12 -26
- package/dist/etc/ngData.js +12 -26
- package/package.json +1 -1
- package/src/etc/ngData.js +12 -26
package/dist/bundle.cjs.js
CHANGED
|
@@ -16366,36 +16366,22 @@ class ngData
|
|
|
16366
16366
|
|
|
16367
16367
|
this.refreshFilter();
|
|
16368
16368
|
|
|
16369
|
-
|
|
16370
|
-
|
|
16371
|
-
colnms.push(key);
|
|
16372
|
-
}
|
|
16373
|
-
//var colnms = filterData.map(item => item.colnm);
|
|
16374
|
-
|
|
16375
|
-
this.#owner.shadowRoot.querySelectorAll("ng-filter-button").forEach(v => {
|
|
16376
|
-
v.filterData = null;
|
|
16369
|
+
this.#owner.shadowRoot.querySelectorAll("ng-filter-button").forEach(el => {
|
|
16370
|
+
el.filterOptions.forEach(opt => { opt.data = []; });
|
|
16377
16371
|
});
|
|
16378
16372
|
|
|
16379
|
-
|
|
16380
|
-
|
|
16381
|
-
|
|
16382
|
-
|
|
16383
|
-
|
|
16384
|
-
|
|
16385
|
-
|
|
16386
|
-
//console.log(v);
|
|
16387
|
-
//var b = v.colnms;
|
|
16388
|
-
v.colnms.forEach(colnm => {
|
|
16389
|
-
|
|
16390
|
-
console.log(colnms, colnm);
|
|
16391
|
-
if (colnms.includes(colnm)) {
|
|
16392
|
-
console.log("==================");
|
|
16393
|
-
|
|
16394
|
-
v.filterData = arr;
|
|
16395
|
-
}
|
|
16373
|
+
Object.entries(jsonFilter).forEach(([key, arr]) => {
|
|
16374
|
+
this.#owner.shadowRoot.querySelectorAll("ng-filter-button").forEach(el => {
|
|
16375
|
+
|
|
16376
|
+
let options = el.filterOptions;
|
|
16377
|
+
|
|
16378
|
+
options.forEach(opt => {
|
|
16379
|
+
if (opt.colnm === key) opt.data = arr;
|
|
16396
16380
|
});
|
|
16381
|
+
|
|
16382
|
+
el.filterOptions = options;
|
|
16397
16383
|
});
|
|
16398
|
-
}
|
|
16384
|
+
});
|
|
16399
16385
|
|
|
16400
16386
|
|
|
16401
16387
|
this.#parent.owner.scrollTo_V1(0);
|
package/dist/bundle.esm.js
CHANGED
|
@@ -16364,36 +16364,22 @@ class ngData
|
|
|
16364
16364
|
|
|
16365
16365
|
this.refreshFilter();
|
|
16366
16366
|
|
|
16367
|
-
|
|
16368
|
-
|
|
16369
|
-
colnms.push(key);
|
|
16370
|
-
}
|
|
16371
|
-
//var colnms = filterData.map(item => item.colnm);
|
|
16372
|
-
|
|
16373
|
-
this.#owner.shadowRoot.querySelectorAll("ng-filter-button").forEach(v => {
|
|
16374
|
-
v.filterData = null;
|
|
16367
|
+
this.#owner.shadowRoot.querySelectorAll("ng-filter-button").forEach(el => {
|
|
16368
|
+
el.filterOptions.forEach(opt => { opt.data = []; });
|
|
16375
16369
|
});
|
|
16376
16370
|
|
|
16377
|
-
|
|
16378
|
-
|
|
16379
|
-
|
|
16380
|
-
|
|
16381
|
-
|
|
16382
|
-
|
|
16383
|
-
|
|
16384
|
-
//console.log(v);
|
|
16385
|
-
//var b = v.colnms;
|
|
16386
|
-
v.colnms.forEach(colnm => {
|
|
16387
|
-
|
|
16388
|
-
console.log(colnms, colnm);
|
|
16389
|
-
if (colnms.includes(colnm)) {
|
|
16390
|
-
console.log("==================");
|
|
16391
|
-
|
|
16392
|
-
v.filterData = arr;
|
|
16393
|
-
}
|
|
16371
|
+
Object.entries(jsonFilter).forEach(([key, arr]) => {
|
|
16372
|
+
this.#owner.shadowRoot.querySelectorAll("ng-filter-button").forEach(el => {
|
|
16373
|
+
|
|
16374
|
+
let options = el.filterOptions;
|
|
16375
|
+
|
|
16376
|
+
options.forEach(opt => {
|
|
16377
|
+
if (opt.colnm === key) opt.data = arr;
|
|
16394
16378
|
});
|
|
16379
|
+
|
|
16380
|
+
el.filterOptions = options;
|
|
16395
16381
|
});
|
|
16396
|
-
}
|
|
16382
|
+
});
|
|
16397
16383
|
|
|
16398
16384
|
|
|
16399
16385
|
this.#parent.owner.scrollTo_V1(0);
|
package/dist/etc/ngData.js
CHANGED
|
@@ -290,36 +290,22 @@ export class ngData
|
|
|
290
290
|
|
|
291
291
|
this.refreshFilter();
|
|
292
292
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
colnms.push(key);
|
|
296
|
-
}
|
|
297
|
-
//var colnms = filterData.map(item => item.colnm);
|
|
298
|
-
|
|
299
|
-
this.#owner.shadowRoot.querySelectorAll("ng-filter-button").forEach(v => {
|
|
300
|
-
v.filterData = null;
|
|
293
|
+
this.#owner.shadowRoot.querySelectorAll("ng-filter-button").forEach(el => {
|
|
294
|
+
el.filterOptions.forEach(opt => { opt.data = []; });
|
|
301
295
|
});
|
|
302
296
|
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
//console.log(v);
|
|
311
|
-
//var b = v.colnms;
|
|
312
|
-
v.colnms.forEach(colnm => {
|
|
313
|
-
|
|
314
|
-
console.log(colnms, colnm);
|
|
315
|
-
if (colnms.includes(colnm)) {
|
|
316
|
-
console.log("==================");
|
|
317
|
-
|
|
318
|
-
v.filterData = arr;
|
|
319
|
-
}
|
|
297
|
+
Object.entries(jsonFilter).forEach(([key, arr]) => {
|
|
298
|
+
this.#owner.shadowRoot.querySelectorAll("ng-filter-button").forEach(el => {
|
|
299
|
+
|
|
300
|
+
let options = el.filterOptions;
|
|
301
|
+
|
|
302
|
+
options.forEach(opt => {
|
|
303
|
+
if (opt.colnm === key) opt.data = arr;
|
|
320
304
|
});
|
|
305
|
+
|
|
306
|
+
el.filterOptions = options;
|
|
321
307
|
});
|
|
322
|
-
}
|
|
308
|
+
});
|
|
323
309
|
|
|
324
310
|
|
|
325
311
|
this.#parent.owner.scrollTo_V1(0);
|
package/package.json
CHANGED
package/src/etc/ngData.js
CHANGED
|
@@ -290,36 +290,22 @@ export class ngData
|
|
|
290
290
|
|
|
291
291
|
this.refreshFilter();
|
|
292
292
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
colnms.push(key);
|
|
296
|
-
}
|
|
297
|
-
//var colnms = filterData.map(item => item.colnm);
|
|
298
|
-
|
|
299
|
-
this.#owner.shadowRoot.querySelectorAll("ng-filter-button").forEach(v => {
|
|
300
|
-
v.filterData = null;
|
|
293
|
+
this.#owner.shadowRoot.querySelectorAll("ng-filter-button").forEach(el => {
|
|
294
|
+
el.filterOptions.forEach(opt => { opt.data = []; });
|
|
301
295
|
});
|
|
302
296
|
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
//console.log(v);
|
|
311
|
-
//var b = v.colnms;
|
|
312
|
-
v.colnms.forEach(colnm => {
|
|
313
|
-
|
|
314
|
-
console.log(colnms, colnm);
|
|
315
|
-
if (colnms.includes(colnm)) {
|
|
316
|
-
console.log("==================");
|
|
317
|
-
|
|
318
|
-
v.filterData = arr;
|
|
319
|
-
}
|
|
297
|
+
Object.entries(jsonFilter).forEach(([key, arr]) => {
|
|
298
|
+
this.#owner.shadowRoot.querySelectorAll("ng-filter-button").forEach(el => {
|
|
299
|
+
|
|
300
|
+
let options = el.filterOptions;
|
|
301
|
+
|
|
302
|
+
options.forEach(opt => {
|
|
303
|
+
if (opt.colnm === key) opt.data = arr;
|
|
320
304
|
});
|
|
305
|
+
|
|
306
|
+
el.filterOptions = options;
|
|
321
307
|
});
|
|
322
|
-
}
|
|
308
|
+
});
|
|
323
309
|
|
|
324
310
|
|
|
325
311
|
this.#parent.owner.scrollTo_V1(0);
|