@dative-gpi/foundation-shared-components 1.0.92 → 1.0.93

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.
@@ -1249,7 +1249,7 @@ export default defineComponent({
1249
1249
  return header.methodFilterRaw(ff.value, item);
1250
1250
  }
1251
1251
  const flat = property = [property].flat();
1252
- return Array.isArray(flat) ? flat.some(f => f == ff.value) : ff.value == flat;
1252
+ return Array.isArray(flat) ? flat.includes(ff.value) || (!ff.value && flat.length == 0) : (!ff.value && !flat) || ff.value == flat;
1253
1253
  })
1254
1254
  }));
1255
1255
  filterDictionary[key] = value;
@@ -1272,7 +1272,7 @@ export default defineComponent({
1272
1272
  return header.methodFilterRaw(dv, item);
1273
1273
  }
1274
1274
  const flat = [property].flat().map(mapToInnerValue);
1275
- return Array.isArray(flat) ? flat.some(f => f == dv) : dv == flat;
1275
+ return Array.isArray(flat) ? flat.includes(dv) || (!dv && flat.length == 0) : (!dv && !flat) || dv == flat;
1276
1276
  })
1277
1277
  }
1278
1278
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dative-gpi/foundation-shared-components",
3
3
  "sideEffects": false,
4
- "version": "1.0.92",
4
+ "version": "1.0.93",
5
5
  "description": "",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -10,8 +10,8 @@
10
10
  "author": "",
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
- "@dative-gpi/foundation-shared-domain": "1.0.92",
14
- "@dative-gpi/foundation-shared-services": "1.0.92"
13
+ "@dative-gpi/foundation-shared-domain": "1.0.93",
14
+ "@dative-gpi/foundation-shared-services": "1.0.93"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "@dative-gpi/bones-ui": "^1.0.0",
@@ -35,5 +35,5 @@
35
35
  "sass": "1.71.1",
36
36
  "sass-loader": "13.3.2"
37
37
  },
38
- "gitHead": "5b512a8eaedd84fb5f24896d01891a9a6c838ec5"
38
+ "gitHead": "f072cdd74cbe86d8843a4f3fce3791e865e70f18"
39
39
  }