ngx-wapp-components 3.0.35-alpha.3 → 3.0.35-alpha.4

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);