@conboai/app.db.query 0.4.28 → 0.4.29

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.
@@ -110468,14 +110468,18 @@ const Jl = (e) => Math.round(e * 100), VLe = (e, t, n, r) => {
110468
110468
  text: TV({ shouldShow: t, item: o, getLabel: r })
110469
110469
  }
110470
110470
  };
110471
- }), HLe = (e, t) => e == null ? void 0 : e.map((n) => {
110471
+ }), HLe = (e, t) => e == null ? void 0 : e.filter((n) => t.find(
110472
+ (o) => o.conbo_key === n.conbo_key
110473
+ ).selected).map((n) => {
110472
110474
  var i;
110473
110475
  const r = (i = t.find(
110474
110476
  (s) => s.conbo_key === n.conbo_key
110475
- )) == null ? void 0 : i.color, o = n.line_string.coordinates.map((s) => ({
110476
- x: s[0],
110477
- y: s[1]
110478
- }));
110477
+ )) == null ? void 0 : i.color, o = n.line_string.coordinates.map(
110478
+ (s) => ({
110479
+ x: s[0],
110480
+ y: s[1]
110481
+ })
110482
+ );
110479
110483
  return {
110480
110484
  id: n.conbo_key,
110481
110485
  points: o,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/app.db.query",
3
- "version": "0.4.28",
3
+ "version": "0.4.29",
4
4
  "type": "module",
5
5
  "main": "dist/app.db.query.js",
6
6
  "types": "dist/build/index.d.ts",