ninegrid2 6.186.0 → 6.187.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 +7 -6
- package/dist/bundle.esm.js +7 -6
- package/dist/etc/ngFiltering.js +7 -6
- package/package.json +1 -1
- package/src/etc/ngFiltering.js +7 -6
package/dist/bundle.cjs.js
CHANGED
|
@@ -18461,7 +18461,7 @@ class ngFilterPanel extends HTMLElement
|
|
|
18461
18461
|
const owner = this.shadow.closest("nine-grid");
|
|
18462
18462
|
const colnms = [...new Set(filterButton.filterOptions.map(item => item.colnm))];
|
|
18463
18463
|
|
|
18464
|
-
console.log(this, owner, filterButton.filterOptions, colnms);
|
|
18464
|
+
//console.log(this, owner, filterButton.filterOptions, colnms);
|
|
18465
18465
|
|
|
18466
18466
|
var col = filterButton.closest('th,td').dataset.col;
|
|
18467
18467
|
this.col = col;
|
|
@@ -18487,13 +18487,14 @@ class ngFilterPanel extends HTMLElement
|
|
|
18487
18487
|
|
|
18488
18488
|
let data = owner.data.getValidDataNF();
|
|
18489
18489
|
|
|
18490
|
-
|
|
18490
|
+
console.log(data);
|
|
18491
18491
|
|
|
18492
|
-
owner.body.querySelectorAll(
|
|
18493
|
-
|
|
18494
|
-
|
|
18492
|
+
owner.body.querySelectorAll("ng-filter-button").forEach(el => {
|
|
18493
|
+
console.log(el);
|
|
18494
|
+
if (el.closest('th,td').dataset.col != col || el.filterOptions) {
|
|
18495
|
+
|
|
18496
|
+
console.log("================", el.filterOptions);
|
|
18495
18497
|
|
|
18496
|
-
if (el && el.filterOptions) {
|
|
18497
18498
|
el.filterOptions.forEach(filterOption => {
|
|
18498
18499
|
var idx = owner.fields.indexOf(filterOption.colnm);
|
|
18499
18500
|
|
package/dist/bundle.esm.js
CHANGED
|
@@ -18459,7 +18459,7 @@ class ngFilterPanel extends HTMLElement
|
|
|
18459
18459
|
const owner = this.shadow.closest("nine-grid");
|
|
18460
18460
|
const colnms = [...new Set(filterButton.filterOptions.map(item => item.colnm))];
|
|
18461
18461
|
|
|
18462
|
-
console.log(this, owner, filterButton.filterOptions, colnms);
|
|
18462
|
+
//console.log(this, owner, filterButton.filterOptions, colnms);
|
|
18463
18463
|
|
|
18464
18464
|
var col = filterButton.closest('th,td').dataset.col;
|
|
18465
18465
|
this.col = col;
|
|
@@ -18485,13 +18485,14 @@ class ngFilterPanel extends HTMLElement
|
|
|
18485
18485
|
|
|
18486
18486
|
let data = owner.data.getValidDataNF();
|
|
18487
18487
|
|
|
18488
|
-
|
|
18488
|
+
console.log(data);
|
|
18489
18489
|
|
|
18490
|
-
owner.body.querySelectorAll(
|
|
18491
|
-
|
|
18492
|
-
|
|
18490
|
+
owner.body.querySelectorAll("ng-filter-button").forEach(el => {
|
|
18491
|
+
console.log(el);
|
|
18492
|
+
if (el.closest('th,td').dataset.col != col || el.filterOptions) {
|
|
18493
|
+
|
|
18494
|
+
console.log("================", el.filterOptions);
|
|
18493
18495
|
|
|
18494
|
-
if (el && el.filterOptions) {
|
|
18495
18496
|
el.filterOptions.forEach(filterOption => {
|
|
18496
18497
|
var idx = owner.fields.indexOf(filterOption.colnm);
|
|
18497
18498
|
|
package/dist/etc/ngFiltering.js
CHANGED
|
@@ -531,7 +531,7 @@ class ngFilterPanel extends HTMLElement
|
|
|
531
531
|
const owner = this.shadow.closest("nine-grid");
|
|
532
532
|
const colnms = [...new Set(filterButton.filterOptions.map(item => item.colnm))];
|
|
533
533
|
|
|
534
|
-
console.log(this, owner, filterButton.filterOptions, colnms);
|
|
534
|
+
//console.log(this, owner, filterButton.filterOptions, colnms);
|
|
535
535
|
|
|
536
536
|
var col = filterButton.closest('th,td').dataset.col;
|
|
537
537
|
this.col = col;
|
|
@@ -557,13 +557,14 @@ class ngFilterPanel extends HTMLElement
|
|
|
557
557
|
|
|
558
558
|
let data = owner.data.getValidDataNF();
|
|
559
559
|
|
|
560
|
-
|
|
560
|
+
console.log(data);
|
|
561
561
|
|
|
562
|
-
owner.body.querySelectorAll(
|
|
563
|
-
|
|
564
|
-
|
|
562
|
+
owner.body.querySelectorAll("ng-filter-button").forEach(el => {
|
|
563
|
+
console.log(el);
|
|
564
|
+
if (el.closest('th,td').dataset.col != col || el.filterOptions) {
|
|
565
|
+
|
|
566
|
+
console.log("================", el.filterOptions);
|
|
565
567
|
|
|
566
|
-
if (el && el.filterOptions) {
|
|
567
568
|
el.filterOptions.forEach(filterOption => {
|
|
568
569
|
var idx = owner.fields.indexOf(filterOption.colnm);
|
|
569
570
|
|
package/package.json
CHANGED
package/src/etc/ngFiltering.js
CHANGED
|
@@ -531,7 +531,7 @@ class ngFilterPanel extends HTMLElement
|
|
|
531
531
|
const owner = this.shadow.closest("nine-grid");
|
|
532
532
|
const colnms = [...new Set(filterButton.filterOptions.map(item => item.colnm))];
|
|
533
533
|
|
|
534
|
-
console.log(this, owner, filterButton.filterOptions, colnms);
|
|
534
|
+
//console.log(this, owner, filterButton.filterOptions, colnms);
|
|
535
535
|
|
|
536
536
|
var col = filterButton.closest('th,td').dataset.col;
|
|
537
537
|
this.col = col;
|
|
@@ -557,13 +557,14 @@ class ngFilterPanel extends HTMLElement
|
|
|
557
557
|
|
|
558
558
|
let data = owner.data.getValidDataNF();
|
|
559
559
|
|
|
560
|
-
|
|
560
|
+
console.log(data);
|
|
561
561
|
|
|
562
|
-
owner.body.querySelectorAll(
|
|
563
|
-
|
|
564
|
-
|
|
562
|
+
owner.body.querySelectorAll("ng-filter-button").forEach(el => {
|
|
563
|
+
console.log(el);
|
|
564
|
+
if (el.closest('th,td').dataset.col != col || el.filterOptions) {
|
|
565
|
+
|
|
566
|
+
console.log("================", el.filterOptions);
|
|
565
567
|
|
|
566
|
-
if (el && el.filterOptions) {
|
|
567
568
|
el.filterOptions.forEach(filterOption => {
|
|
568
569
|
var idx = owner.fields.indexOf(filterOption.colnm);
|
|
569
570
|
|