ninegrid2 6.224.0 → 6.225.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 +3 -17
- package/dist/bundle.esm.js +3 -17
- package/dist/etc/ngFiltering.js +3 -17
- package/package.json +1 -1
- package/src/etc/ngFiltering.js +3 -17
package/dist/bundle.cjs.js
CHANGED
|
@@ -18051,15 +18051,6 @@ class ngFiltering
|
|
|
18051
18051
|
|
|
18052
18052
|
this.#owner.data.refreshFilter();
|
|
18053
18053
|
|
|
18054
|
-
/**
|
|
18055
|
-
var colnms = [];
|
|
18056
|
-
for (let key in jsonFilter) {
|
|
18057
|
-
colnms.push(key);
|
|
18058
|
-
}
|
|
18059
|
-
//var colnms = filterData.map(item => item.colnm);
|
|
18060
|
-
*/
|
|
18061
|
-
|
|
18062
|
-
//ninegrid.querySelectorAll("ng-filter-button").forEach(el => {
|
|
18063
18054
|
this.#owner.shadowRoot.querySelectorAll("ng-filter-button").forEach(el => {
|
|
18064
18055
|
//v.filterOptions = null;
|
|
18065
18056
|
let options = el.filterOptions;
|
|
@@ -18069,27 +18060,22 @@ class ngFiltering
|
|
|
18069
18060
|
});
|
|
18070
18061
|
|
|
18071
18062
|
el.filterOptions = options;
|
|
18072
|
-
|
|
18073
|
-
console.log(options);
|
|
18074
18063
|
});
|
|
18075
18064
|
|
|
18076
18065
|
for (let key in jsonFilter) {
|
|
18077
18066
|
const arr = jsonFilter[key];
|
|
18078
|
-
this.#owner.fields.indexOf(key);
|
|
18067
|
+
//const idx = this.#owner.fields.indexOf(key);
|
|
18079
18068
|
|
|
18080
|
-
console.log("=======================");
|
|
18081
|
-
//ninegrid.querySelectorAll("ng-filter-button").forEach(el => {
|
|
18082
18069
|
this.#owner.shadowRoot.querySelectorAll("ng-filter-button").forEach(el => {
|
|
18083
|
-
//v.filterData = null;
|
|
18084
|
-
//console.log(v);
|
|
18085
|
-
//var b = v.colnms;
|
|
18086
18070
|
let options = el.filterOptions;
|
|
18087
18071
|
|
|
18088
18072
|
options.forEach(opt => {
|
|
18089
18073
|
|
|
18074
|
+
console.log(opt, key, arr);
|
|
18090
18075
|
if (opt.hasOwnProperty(key)) {
|
|
18091
18076
|
opt.data = arr;
|
|
18092
18077
|
}
|
|
18078
|
+
|
|
18093
18079
|
/**
|
|
18094
18080
|
//console.log(colnms, colnm);
|
|
18095
18081
|
if (colnms.includes(colnm)) {
|
package/dist/bundle.esm.js
CHANGED
|
@@ -18049,15 +18049,6 @@ class ngFiltering
|
|
|
18049
18049
|
|
|
18050
18050
|
this.#owner.data.refreshFilter();
|
|
18051
18051
|
|
|
18052
|
-
/**
|
|
18053
|
-
var colnms = [];
|
|
18054
|
-
for (let key in jsonFilter) {
|
|
18055
|
-
colnms.push(key);
|
|
18056
|
-
}
|
|
18057
|
-
//var colnms = filterData.map(item => item.colnm);
|
|
18058
|
-
*/
|
|
18059
|
-
|
|
18060
|
-
//ninegrid.querySelectorAll("ng-filter-button").forEach(el => {
|
|
18061
18052
|
this.#owner.shadowRoot.querySelectorAll("ng-filter-button").forEach(el => {
|
|
18062
18053
|
//v.filterOptions = null;
|
|
18063
18054
|
let options = el.filterOptions;
|
|
@@ -18067,27 +18058,22 @@ class ngFiltering
|
|
|
18067
18058
|
});
|
|
18068
18059
|
|
|
18069
18060
|
el.filterOptions = options;
|
|
18070
|
-
|
|
18071
|
-
console.log(options);
|
|
18072
18061
|
});
|
|
18073
18062
|
|
|
18074
18063
|
for (let key in jsonFilter) {
|
|
18075
18064
|
const arr = jsonFilter[key];
|
|
18076
|
-
this.#owner.fields.indexOf(key);
|
|
18065
|
+
//const idx = this.#owner.fields.indexOf(key);
|
|
18077
18066
|
|
|
18078
|
-
console.log("=======================");
|
|
18079
|
-
//ninegrid.querySelectorAll("ng-filter-button").forEach(el => {
|
|
18080
18067
|
this.#owner.shadowRoot.querySelectorAll("ng-filter-button").forEach(el => {
|
|
18081
|
-
//v.filterData = null;
|
|
18082
|
-
//console.log(v);
|
|
18083
|
-
//var b = v.colnms;
|
|
18084
18068
|
let options = el.filterOptions;
|
|
18085
18069
|
|
|
18086
18070
|
options.forEach(opt => {
|
|
18087
18071
|
|
|
18072
|
+
console.log(opt, key, arr);
|
|
18088
18073
|
if (opt.hasOwnProperty(key)) {
|
|
18089
18074
|
opt.data = arr;
|
|
18090
18075
|
}
|
|
18076
|
+
|
|
18091
18077
|
/**
|
|
18092
18078
|
//console.log(colnms, colnm);
|
|
18093
18079
|
if (colnms.includes(colnm)) {
|
package/dist/etc/ngFiltering.js
CHANGED
|
@@ -119,15 +119,6 @@ export class ngFiltering
|
|
|
119
119
|
|
|
120
120
|
this.#owner.data.refreshFilter();
|
|
121
121
|
|
|
122
|
-
/**
|
|
123
|
-
var colnms = [];
|
|
124
|
-
for (let key in jsonFilter) {
|
|
125
|
-
colnms.push(key);
|
|
126
|
-
}
|
|
127
|
-
//var colnms = filterData.map(item => item.colnm);
|
|
128
|
-
*/
|
|
129
|
-
|
|
130
|
-
//ninegrid.querySelectorAll("ng-filter-button").forEach(el => {
|
|
131
122
|
this.#owner.shadowRoot.querySelectorAll("ng-filter-button").forEach(el => {
|
|
132
123
|
//v.filterOptions = null;
|
|
133
124
|
let options = el.filterOptions;
|
|
@@ -137,27 +128,22 @@ export class ngFiltering
|
|
|
137
128
|
});
|
|
138
129
|
|
|
139
130
|
el.filterOptions = options;
|
|
140
|
-
|
|
141
|
-
console.log(options);
|
|
142
131
|
});
|
|
143
132
|
|
|
144
133
|
for (let key in jsonFilter) {
|
|
145
134
|
const arr = jsonFilter[key];
|
|
146
|
-
const idx = this.#owner.fields.indexOf(key);
|
|
135
|
+
//const idx = this.#owner.fields.indexOf(key);
|
|
147
136
|
|
|
148
|
-
console.log("=======================");
|
|
149
|
-
//ninegrid.querySelectorAll("ng-filter-button").forEach(el => {
|
|
150
137
|
this.#owner.shadowRoot.querySelectorAll("ng-filter-button").forEach(el => {
|
|
151
|
-
//v.filterData = null;
|
|
152
|
-
//console.log(v);
|
|
153
|
-
//var b = v.colnms;
|
|
154
138
|
let options = el.filterOptions;
|
|
155
139
|
|
|
156
140
|
options.forEach(opt => {
|
|
157
141
|
|
|
142
|
+
console.log(opt, key, arr);
|
|
158
143
|
if (opt.hasOwnProperty(key)) {
|
|
159
144
|
opt.data = arr;
|
|
160
145
|
}
|
|
146
|
+
|
|
161
147
|
/**
|
|
162
148
|
//console.log(colnms, colnm);
|
|
163
149
|
if (colnms.includes(colnm)) {
|
package/package.json
CHANGED
package/src/etc/ngFiltering.js
CHANGED
|
@@ -119,15 +119,6 @@ export class ngFiltering
|
|
|
119
119
|
|
|
120
120
|
this.#owner.data.refreshFilter();
|
|
121
121
|
|
|
122
|
-
/**
|
|
123
|
-
var colnms = [];
|
|
124
|
-
for (let key in jsonFilter) {
|
|
125
|
-
colnms.push(key);
|
|
126
|
-
}
|
|
127
|
-
//var colnms = filterData.map(item => item.colnm);
|
|
128
|
-
*/
|
|
129
|
-
|
|
130
|
-
//ninegrid.querySelectorAll("ng-filter-button").forEach(el => {
|
|
131
122
|
this.#owner.shadowRoot.querySelectorAll("ng-filter-button").forEach(el => {
|
|
132
123
|
//v.filterOptions = null;
|
|
133
124
|
let options = el.filterOptions;
|
|
@@ -137,27 +128,22 @@ export class ngFiltering
|
|
|
137
128
|
});
|
|
138
129
|
|
|
139
130
|
el.filterOptions = options;
|
|
140
|
-
|
|
141
|
-
console.log(options);
|
|
142
131
|
});
|
|
143
132
|
|
|
144
133
|
for (let key in jsonFilter) {
|
|
145
134
|
const arr = jsonFilter[key];
|
|
146
|
-
const idx = this.#owner.fields.indexOf(key);
|
|
135
|
+
//const idx = this.#owner.fields.indexOf(key);
|
|
147
136
|
|
|
148
|
-
console.log("=======================");
|
|
149
|
-
//ninegrid.querySelectorAll("ng-filter-button").forEach(el => {
|
|
150
137
|
this.#owner.shadowRoot.querySelectorAll("ng-filter-button").forEach(el => {
|
|
151
|
-
//v.filterData = null;
|
|
152
|
-
//console.log(v);
|
|
153
|
-
//var b = v.colnms;
|
|
154
138
|
let options = el.filterOptions;
|
|
155
139
|
|
|
156
140
|
options.forEach(opt => {
|
|
157
141
|
|
|
142
|
+
console.log(opt, key, arr);
|
|
158
143
|
if (opt.hasOwnProperty(key)) {
|
|
159
144
|
opt.data = arr;
|
|
160
145
|
}
|
|
146
|
+
|
|
161
147
|
/**
|
|
162
148
|
//console.log(colnms, colnm);
|
|
163
149
|
if (colnms.includes(colnm)) {
|