ninegrid2 6.238.0 → 6.239.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 -5
- package/dist/bundle.esm.js +4 -5
- package/dist/etc/ngFiltering.js +4 -5
- package/package.json +1 -1
- package/src/etc/ngFiltering.js +4 -5
package/dist/bundle.cjs.js
CHANGED
|
@@ -17928,19 +17928,18 @@ class ngFiltering
|
|
|
17928
17928
|
el.filterOptions.forEach(opt => { opt.data = []; });
|
|
17929
17929
|
});
|
|
17930
17930
|
|
|
17931
|
-
|
|
17931
|
+
Object.entries(jsonFilter).forEach(([key, arr]) => {
|
|
17932
17932
|
this.#owner.shadowRoot.querySelectorAll("ng-filter-button").forEach(el => {
|
|
17933
|
+
|
|
17933
17934
|
let options = el.filterOptions;
|
|
17934
17935
|
|
|
17935
17936
|
options.forEach(opt => {
|
|
17936
|
-
if (opt.colnm === key)
|
|
17937
|
-
opt.data = jsonFilter[key];
|
|
17938
|
-
}
|
|
17937
|
+
if (opt.colnm === key) opt.data = arr;
|
|
17939
17938
|
});
|
|
17940
17939
|
|
|
17941
17940
|
el.filterOptions = options;
|
|
17942
17941
|
});
|
|
17943
|
-
}
|
|
17942
|
+
});
|
|
17944
17943
|
|
|
17945
17944
|
|
|
17946
17945
|
this.#owner.scrollTo_V1(0);
|
package/dist/bundle.esm.js
CHANGED
|
@@ -17926,19 +17926,18 @@ class ngFiltering
|
|
|
17926
17926
|
el.filterOptions.forEach(opt => { opt.data = []; });
|
|
17927
17927
|
});
|
|
17928
17928
|
|
|
17929
|
-
|
|
17929
|
+
Object.entries(jsonFilter).forEach(([key, arr]) => {
|
|
17930
17930
|
this.#owner.shadowRoot.querySelectorAll("ng-filter-button").forEach(el => {
|
|
17931
|
+
|
|
17931
17932
|
let options = el.filterOptions;
|
|
17932
17933
|
|
|
17933
17934
|
options.forEach(opt => {
|
|
17934
|
-
if (opt.colnm === key)
|
|
17935
|
-
opt.data = jsonFilter[key];
|
|
17936
|
-
}
|
|
17935
|
+
if (opt.colnm === key) opt.data = arr;
|
|
17937
17936
|
});
|
|
17938
17937
|
|
|
17939
17938
|
el.filterOptions = options;
|
|
17940
17939
|
});
|
|
17941
|
-
}
|
|
17940
|
+
});
|
|
17942
17941
|
|
|
17943
17942
|
|
|
17944
17943
|
this.#owner.scrollTo_V1(0);
|
package/dist/etc/ngFiltering.js
CHANGED
|
@@ -105,19 +105,18 @@ export class ngFiltering
|
|
|
105
105
|
el.filterOptions.forEach(opt => { opt.data = []; });
|
|
106
106
|
});
|
|
107
107
|
|
|
108
|
-
|
|
108
|
+
Object.entries(jsonFilter).forEach(([key, arr]) => {
|
|
109
109
|
this.#owner.shadowRoot.querySelectorAll("ng-filter-button").forEach(el => {
|
|
110
|
+
|
|
110
111
|
let options = el.filterOptions;
|
|
111
112
|
|
|
112
113
|
options.forEach(opt => {
|
|
113
|
-
if (opt.colnm === key)
|
|
114
|
-
opt.data = jsonFilter[key];
|
|
115
|
-
}
|
|
114
|
+
if (opt.colnm === key) opt.data = arr;
|
|
116
115
|
});
|
|
117
116
|
|
|
118
117
|
el.filterOptions = options;
|
|
119
118
|
});
|
|
120
|
-
}
|
|
119
|
+
});
|
|
121
120
|
|
|
122
121
|
|
|
123
122
|
this.#owner.scrollTo_V1(0);
|
package/package.json
CHANGED
package/src/etc/ngFiltering.js
CHANGED
|
@@ -105,19 +105,18 @@ export class ngFiltering
|
|
|
105
105
|
el.filterOptions.forEach(opt => { opt.data = []; });
|
|
106
106
|
});
|
|
107
107
|
|
|
108
|
-
|
|
108
|
+
Object.entries(jsonFilter).forEach(([key, arr]) => {
|
|
109
109
|
this.#owner.shadowRoot.querySelectorAll("ng-filter-button").forEach(el => {
|
|
110
|
+
|
|
110
111
|
let options = el.filterOptions;
|
|
111
112
|
|
|
112
113
|
options.forEach(opt => {
|
|
113
|
-
if (opt.colnm === key)
|
|
114
|
-
opt.data = jsonFilter[key];
|
|
115
|
-
}
|
|
114
|
+
if (opt.colnm === key) opt.data = arr;
|
|
116
115
|
});
|
|
117
116
|
|
|
118
117
|
el.filterOptions = options;
|
|
119
118
|
});
|
|
120
|
-
}
|
|
119
|
+
});
|
|
121
120
|
|
|
122
121
|
|
|
123
122
|
this.#owner.scrollTo_V1(0);
|