@conboai/app.db.query 0.9.58 → 0.9.59

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.
@@ -130370,7 +130370,7 @@ const rWe = (e) => e.map((t) => ({ x: t[0], y: t[1] })), PB = (e) => e.map((t) =
130370
130370
  polylineStroke: "none"
130371
130371
  }, TT = ({
130372
130372
  data: e,
130373
- styles: t
130373
+ styles: t = {}
130374
130374
  }) => e != null && e.length ? e.map((n) => {
130375
130375
  const r = n.pixel_points.coordinates.map((i) => ({
130376
130376
  x: i[0],
@@ -130383,7 +130383,10 @@ const rWe = (e) => e.map((t) => ({ x: t[0], y: t[1] })), PB = (e) => e.map((t) =
130383
130383
  id: String(fa()),
130384
130384
  type: So.Polyline,
130385
130385
  points: r,
130386
- styles: t || iWe,
130386
+ styles: {
130387
+ ...iWe,
130388
+ ...t
130389
+ },
130387
130390
  crossLine: o
130388
130391
  };
130389
130392
  }) : null, sWe = (e, t) => (e == null ? void 0 : e.filter((r) => {
@@ -134126,7 +134129,12 @@ const RGe = ({
134126
134129
  } else
134127
134130
  Q(W);
134128
134131
  if (ve) {
134129
- const Ne = TT({ data: (Ce = g[0]) == null ? void 0 : Ce.crosses }) || [];
134132
+ const Ne = TT({
134133
+ data: (Ce = g[0]) == null ? void 0 : Ce.crosses,
134134
+ styles: {
134135
+ stroke: "#911eb4"
134136
+ }
134137
+ }) || [];
134130
134138
  X(Ne);
134131
134139
  } else
134132
134140
  X([]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/app.db.query",
3
- "version": "0.9.58",
3
+ "version": "0.9.59",
4
4
  "type": "module",
5
5
  "main": "dist/app.db.query.js",
6
6
  "types": "dist/build/index.d.ts",