@conboai/app.db.query 0.9.37 → 0.9.39
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.
- package/dist/app.db.query.js +35 -24
- package/dist/apps/FeedStreams/utils.d.ts +2 -0
- package/package.json +1 -1
package/dist/app.db.query.js
CHANGED
|
@@ -121555,21 +121555,23 @@ async function ia({
|
|
|
121555
121555
|
options: n,
|
|
121556
121556
|
errorMessage: r
|
|
121557
121557
|
}) {
|
|
121558
|
+
var u;
|
|
121558
121559
|
const o = {
|
|
121559
121560
|
...n,
|
|
121560
121561
|
method: t ? "POST" : "GET"
|
|
121561
121562
|
};
|
|
121562
121563
|
t && (o.headers = {
|
|
121564
|
+
...n == null ? void 0 : n.headers,
|
|
121563
121565
|
"Content-Type": "application/json"
|
|
121564
121566
|
}, o.body = JSON.stringify(t));
|
|
121565
|
-
const i = await fetch(e,
|
|
121566
|
-
|
|
121567
|
-
|
|
121568
|
-
if (!i.ok) {
|
|
121569
|
-
const
|
|
121570
|
-
Bo.error(
|
|
121567
|
+
const i = await fetch(e, o), s = await i.text();
|
|
121568
|
+
let a = null;
|
|
121569
|
+
const l = i.headers.get("Content-Type") || "";
|
|
121570
|
+
if (s && l.includes("application/json") && (a = JSON.parse(s)), !i.ok) {
|
|
121571
|
+
const d = r || a && (((u = a.messages) == null ? void 0 : u[0]) ?? JSON.stringify(a));
|
|
121572
|
+
throw Bo.error(d), new Error(d);
|
|
121571
121573
|
}
|
|
121572
|
-
return
|
|
121574
|
+
return a;
|
|
121573
121575
|
}
|
|
121574
121576
|
const JBe = async ({
|
|
121575
121577
|
baseUrl: e
|
|
@@ -130139,20 +130141,24 @@ const IB = "AIzaSyARRJwBmfqqfnNnLYFmUrhRtdUbiR37CVM", lf = ({
|
|
|
130139
130141
|
text: sx({ shouldShow: t, item: o, getLabel: r })
|
|
130140
130142
|
}
|
|
130141
130143
|
};
|
|
130142
|
-
}), _0 = (e, t) => {
|
|
130143
|
-
var
|
|
130144
|
+
}), _0 = (e, t, n) => {
|
|
130145
|
+
var i;
|
|
130144
130146
|
if (_l.isNil(e))
|
|
130145
130147
|
return null;
|
|
130146
|
-
const
|
|
130147
|
-
x:
|
|
130148
|
-
y:
|
|
130149
|
-
}))) || [],
|
|
130148
|
+
const r = ((i = e == null ? void 0 : e[0]) == null ? void 0 : i.map((s) => ({
|
|
130149
|
+
x: s[0],
|
|
130150
|
+
y: s[1]
|
|
130151
|
+
}))) || [], o = {
|
|
130152
|
+
fill: "transparent",
|
|
130153
|
+
stroke: "#e6194b"
|
|
130154
|
+
};
|
|
130150
130155
|
return {
|
|
130151
130156
|
id: String(il()),
|
|
130152
130157
|
type: Ii.Polygon,
|
|
130153
|
-
points:
|
|
130154
|
-
styles: t ||
|
|
130155
|
-
coordinates:
|
|
130158
|
+
points: r,
|
|
130159
|
+
styles: t || o,
|
|
130160
|
+
coordinates: r,
|
|
130161
|
+
isInFov: n
|
|
130156
130162
|
};
|
|
130157
130163
|
}, VHe = (e, t) => (e == null ? void 0 : e.filter((r) => {
|
|
130158
130164
|
const o = t.find(
|
|
@@ -131598,8 +131604,7 @@ const wi = pl((e) => ({
|
|
|
131598
131604
|
url: `${t}/api/detections_pixels/${e}/info`,
|
|
131599
131605
|
options: {
|
|
131600
131606
|
signal: n
|
|
131601
|
-
}
|
|
131602
|
-
errorMessage: "The request has been canceled"
|
|
131607
|
+
}
|
|
131603
131608
|
}), jWe = async ({
|
|
131604
131609
|
body: e,
|
|
131605
131610
|
orderBy: t,
|
|
@@ -133243,7 +133248,8 @@ const aGe = ({ gridProps: e }) => {
|
|
|
133243
133248
|
{
|
|
133244
133249
|
d: "M7.24487 9.73932C7.1713 9.7658 7.09057 9.77961 7.00111 9.77916C6.911 9.77916 6.82858 9.76526 6.7544 9.73898C6.68934 9.71593 6.62349 9.67429 6.5582 9.60857L3.5582 6.60857C3.42789 6.47826 3.37179 6.33617 3.37669 6.17266C3.38185 6.00083 3.44159 5.85304 3.56115 5.72181C3.6921 5.59213 3.84114 5.52835 4.01676 5.52324C4.18972 5.51822 4.33465 5.57571 4.46286 5.70392L6.36678 7.60784V1.16666C6.36678 0.98103 6.42747 0.83506 6.54796 0.714995C6.66884 0.594532 6.81527 0.533765 7.00059 0.533328C7.18516 0.532892 7.33147 0.593361 7.45286 0.71475C7.57422 0.836114 7.63432 0.982943 7.63345 1.16666V7.60784L9.53737 5.70392C9.66628 5.575 9.81154 5.51739 9.98431 5.52241C10.1597 5.52751 10.3083 5.59141 10.4387 5.72144C10.558 5.85279 10.618 6.00089 10.6236 6.17316C10.6289 6.33627 10.5727 6.47831 10.442 6.60857L7.44203 9.60857C7.37658 9.67402 7.31074 9.7156 7.24487 9.73932Z",
|
|
133245
133250
|
fill: "black",
|
|
133246
|
-
fillOpacity: "0.8"
|
|
133251
|
+
fillOpacity: "0.8",
|
|
133252
|
+
strokeWidth: "0.3"
|
|
133247
133253
|
}
|
|
133248
133254
|
),
|
|
133249
133255
|
/* @__PURE__ */ X.jsx(
|
|
@@ -133251,7 +133257,8 @@ const aGe = ({ gridProps: e }) => {
|
|
|
133251
133257
|
{
|
|
133252
133258
|
d: "M1.61953 9.88142C1.74089 10.0028 1.80098 10.1487 1.80011 10.3324V12.2H12.0001H12.2001V10.3333C12.2001 10.1477 12.2608 10.0017 12.3813 9.88166C12.5022 9.7612 12.6486 9.70043 12.8339 9.7C13.0185 9.69956 13.1648 9.76003 13.2862 9.88142C13.4076 10.0028 13.4677 10.1496 13.4668 10.3333V12C13.4668 12.4049 13.325 12.7467 13.0361 13.0362C12.7473 13.3255 12.4055 13.4672 12.0001 13.4667H10.6001H2.00011C1.59519 13.4667 1.25374 13.3249 0.964868 13.0361C0.682869 12.7541 0.540783 12.4216 0.533723 12.0286L0.533447 11.9999V10.3333C0.533447 10.1477 0.59414 10.0017 0.714623 9.88166C0.835506 9.7612 0.98194 9.70043 1.16725 9.7C1.35183 9.69956 1.49814 9.76003 1.61953 9.88142Z",
|
|
133253
133259
|
fill: "black",
|
|
133254
|
-
fillOpacity: "0.8"
|
|
133260
|
+
fillOpacity: "0.8",
|
|
133261
|
+
strokeWidth: "0.3"
|
|
133255
133262
|
}
|
|
133256
133263
|
)
|
|
133257
133264
|
]
|
|
@@ -134047,8 +134054,12 @@ const TGe = ({
|
|
|
134047
134054
|
const pe = _0(
|
|
134048
134055
|
h == null ? void 0 : h.pixel_points.coordinates,
|
|
134049
134056
|
{
|
|
134050
|
-
stroke: Kb(q == null ? void 0 : q.has_validation)
|
|
134051
|
-
|
|
134057
|
+
stroke: Kb(q == null ? void 0 : q.has_validation),
|
|
134058
|
+
fillOpacity: "0.1",
|
|
134059
|
+
strokeWidth: 2,
|
|
134060
|
+
fill: "#fff"
|
|
134061
|
+
},
|
|
134062
|
+
!0
|
|
134052
134063
|
);
|
|
134053
134064
|
_([...se, pe]);
|
|
134054
134065
|
} else
|
|
@@ -134251,7 +134262,7 @@ const TGe = ({
|
|
|
134251
134262
|
m.current = !1;
|
|
134252
134263
|
return;
|
|
134253
134264
|
}
|
|
134254
|
-
if (!ee) {
|
|
134265
|
+
if (!ee || ee.isInFov) {
|
|
134255
134266
|
U("selectedTableItemId", -1), s(!1), l(null);
|
|
134256
134267
|
return;
|
|
134257
134268
|
}
|
|
@@ -142797,7 +142808,7 @@ const ZZe = (e = [], t) => {
|
|
|
142797
142808
|
};
|
|
142798
142809
|
return /* @__PURE__ */ X.jsxs(Be, { sx: yKe, children: [
|
|
142799
142810
|
/* @__PURE__ */ X.jsxs(Be, { sx: MKe, onDoubleClick: b, children: [
|
|
142800
|
-
/* @__PURE__ */ X.jsx(Xee, { url: e, withIcon: !0, sx: bKe }),
|
|
142811
|
+
!e || m ? null : /* @__PURE__ */ X.jsx(Xee, { url: e, withIcon: !0, sx: bKe }),
|
|
142801
142812
|
!m && i <= lx.FIFTEEN_SECONDS && /* @__PURE__ */ X.jsx(pa, { title: "Delay", placement: Gi.TOP, arrow: !0, children: /* @__PURE__ */ X.jsx(Be, { sx: Pte(i), children: /* @__PURE__ */ X.jsx(Tt, { children: zee(i) }) }) }),
|
|
142802
142813
|
l ? /* @__PURE__ */ X.jsx(Be, { sx: _te, children: /* @__PURE__ */ X.jsx(ql, {}) }) : /* @__PURE__ */ X.jsx(
|
|
142803
142814
|
TKe,
|
|
@@ -14,6 +14,7 @@ export declare const generateFeedStreamsData: ({ latestSnapshots, fovInfos, base
|
|
|
14
14
|
x: number;
|
|
15
15
|
y: number;
|
|
16
16
|
}[];
|
|
17
|
+
isInFov: boolean | undefined;
|
|
17
18
|
} | null;
|
|
18
19
|
displayName: string | undefined;
|
|
19
20
|
name: string | undefined;
|
|
@@ -35,6 +36,7 @@ export declare const generateFeedStreamsData: ({ latestSnapshots, fovInfos, base
|
|
|
35
36
|
x: number;
|
|
36
37
|
y: number;
|
|
37
38
|
}[];
|
|
39
|
+
isInFov: boolean | undefined;
|
|
38
40
|
} | null)[] | undefined;
|
|
39
41
|
unit: string | undefined;
|
|
40
42
|
}[];
|