ngx-wapp-components 3.0.35 → 3.0.36-alpha.1
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.
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M3.42784 0.360754C3.6657 -0.120334 4.33354 -0.120169 4.57154 0.360754L4.59423 0.410687L5.38509 2.36069L7.40938 2.5436C7.97725 2.59479 8.2073 3.33249 7.77683 3.72201L6.24199 5.10909L6.70118 7.17315C6.82989 7.75207 6.2282 8.20809 5.73995 7.90164L3.99995 6.80838L2.25995 7.90164C1.77173 8.20793 1.17007 7.75199 1.29871 7.17315L1.7574 5.10909L0.223056 3.72201C-0.207272 3.33253 0.0228356 2.59496 0.590512 2.5436L2.48375 2.37225C2.57426 2.2531 2.67811 2.09922 2.7887 1.92864L3.40566 0.410687L3.42784 0.360754Z" fill="white"/>
|
|
3
|
-
</svg>
|
|
1
|
+
<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M3.42784 0.360754C3.6657 -0.120334 4.33354 -0.120169 4.57154 0.360754L4.59423 0.410687L5.38509 2.36069L7.40938 2.5436C7.97725 2.59479 8.2073 3.33249 7.77683 3.72201L6.24199 5.10909L6.70118 7.17315C6.82989 7.75207 6.2282 8.20809 5.73995 7.90164L3.99995 6.80838L2.25995 7.90164C1.77173 8.20793 1.17007 7.75199 1.29871 7.17315L1.7574 5.10909L0.223056 3.72201C-0.207272 3.33253 0.0228356 2.59496 0.590512 2.5436L2.48375 2.37225C2.57426 2.2531 2.67811 2.09922 2.7887 1.92864L3.40566 0.410687L3.42784 0.360754Z" fill="white"/>
|
|
3
|
+
</svg>
|
|
@@ -6056,6 +6056,10 @@ class WFilterPanelComponent {
|
|
|
6056
6056
|
}
|
|
6057
6057
|
if (json.advanced && json.advanced.rules?.length != 0) {
|
|
6058
6058
|
json.advanced.rules = json.advanced.rules.filter((rule) => rule.rules?.length != 0);
|
|
6059
|
+
json.advanced.rules = json.advanced.rules.filter((rule) => rule.value != null);
|
|
6060
|
+
json.advanced.rules = json.advanced.rules.filter((rule) => rule.value != undefined);
|
|
6061
|
+
json.advanced.rules = json.advanced.rules.filter((rule) => rule.value !== "");
|
|
6062
|
+
json.advanced.rules = json.advanced.rules.filter((rule) => { return !(rule.operator === "nullable" && rule.value === "null"); });
|
|
6059
6063
|
}
|
|
6060
6064
|
if (json.grouped && json.grouped?.rules.length != 0) {
|
|
6061
6065
|
json.grouped.rules = json.grouped.rules.filter((rule) => rule.rules?.length != 0);
|
|
@@ -9861,6 +9865,7 @@ class WFileUploaderComponent {
|
|
|
9861
9865
|
this.base64FileData = { name: "", type: "", fileBase64: "", base64: "" };
|
|
9862
9866
|
this.onFileData = new EventEmitter();
|
|
9863
9867
|
this.onErrorHandler = new EventEmitter();
|
|
9868
|
+
this.band = false;
|
|
9864
9869
|
}
|
|
9865
9870
|
ngOnInit() {
|
|
9866
9871
|
this.fileSizeService.init(this.fileUploadConfig.maxSize);
|
|
@@ -9874,6 +9879,15 @@ class WFileUploaderComponent {
|
|
|
9874
9879
|
}
|
|
9875
9880
|
}
|
|
9876
9881
|
onCustomUpload(event) {
|
|
9882
|
+
console.log(event);
|
|
9883
|
+
console.log(this.fileUpload.msgs);
|
|
9884
|
+
if (this.fileUpload.msgs && this.fileUpload.msgs.length > 0) {
|
|
9885
|
+
this.band = true;
|
|
9886
|
+
setTimeout(() => {
|
|
9887
|
+
this.band = false;
|
|
9888
|
+
this.fileUpload.msgs = [];
|
|
9889
|
+
}, 5000);
|
|
9890
|
+
}
|
|
9877
9891
|
if (event.currentFiles[0]) {
|
|
9878
9892
|
this.fileSelected = event.currentFiles[0];
|
|
9879
9893
|
if (this.fileSelected.name.endsWith('.xlsx') || this.fileSelected.name.endsWith('.xls')) {
|