@conboai/app.db.query 0.9.51 → 0.9.53
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
CHANGED
|
@@ -136874,9 +136874,7 @@ function wqe({ baseUrl: e }) {
|
|
|
136874
136874
|
floorPlan: _,
|
|
136875
136875
|
selectedFeed: z,
|
|
136876
136876
|
polygonPixelPath: k
|
|
136877
|
-
} = Ke($t), { getEntitySearchData: A, loading: S, clearData: T } = Kl(), { topOneFilterKeys: I } = GL(), { classifiersFilterKeys: R } = Xu(), [j, $] = Pe("50vh"), [Y, U] = Pe("50%"), [V, H] = Pe(null), [G, X] = Pe(!1), [ne, ee] = Pe(v), [ue, K] = Pe(ne), [oe, le] = Pe(Une), [he, Q] = Pe([]), [ie, B] = Pe([]), [ae, se] = Pe(!1), re = Dn(/* @__PURE__ */ new Map()), [W, ce] = Pe(0), [pe, ve] = Pe([])
|
|
136878
|
-
console.log("floorPlanCoordinates", ie);
|
|
136879
|
-
const ye = Dn(!1), fe = Dn(0), me = Dn(0), de = Yt(
|
|
136877
|
+
} = Ke($t), { getEntitySearchData: A, loading: S, clearData: T } = Kl(), { topOneFilterKeys: I } = GL(), { classifiersFilterKeys: R } = Xu(), [j, $] = Pe("50vh"), [Y, U] = Pe("50%"), [V, H] = Pe(null), [G, X] = Pe(!1), [ne, ee] = Pe(v), [ue, K] = Pe(ne), [oe, le] = Pe(Une), [he, Q] = Pe([]), [ie, B] = Pe([]), [ae, se] = Pe(!1), re = Dn(/* @__PURE__ */ new Map()), [W, ce] = Pe(0), [pe, ve] = Pe([]), ye = Dn(!1), fe = Dn(0), me = Dn(0), de = Yt(
|
|
136880
136878
|
() => {
|
|
136881
136879
|
var yt, sn, qt;
|
|
136882
136880
|
return {
|
|
@@ -137285,9 +137283,7 @@ const Oqe = (e) => {
|
|
|
137285
137283
|
]), { getEntitySearchData: m } = Kl(), g = lt(
|
|
137286
137284
|
async (C) => {
|
|
137287
137285
|
var D;
|
|
137288
|
-
const v = bn(C).add(1, "second").format("YYYY-MM-DDTHH:mm:ss"), x = c == null ? void 0 : c.map((O) => O.id)
|
|
137289
|
-
console.log("polygonPixelPath", l);
|
|
137290
|
-
const { area: w } = Gee(
|
|
137286
|
+
const v = bn(C).add(1, "second").format("YYYY-MM-DDTHH:mm:ss"), x = c == null ? void 0 : c.map((O) => O.id), { area: w } = Gee(
|
|
137291
137287
|
s,
|
|
137292
137288
|
l,
|
|
137293
137289
|
(D = c[0]) == null ? void 0 : D.is_indoor
|
|
@@ -143230,11 +143226,9 @@ const dZe = (e = [], t) => {
|
|
|
143230
143226
|
innerLoading: l = !1,
|
|
143231
143227
|
isError: c,
|
|
143232
143228
|
unit: d,
|
|
143233
|
-
runId: h
|
|
143234
|
-
loadError: f,
|
|
143235
|
-
setLoadError: m
|
|
143229
|
+
runId: h
|
|
143236
143230
|
}) => {
|
|
143237
|
-
const { timezone:
|
|
143231
|
+
const { timezone: f } = Ke($t), [m, g] = Pe(!1), y = !!(c || m), b = () => {
|
|
143238
143232
|
!y && !l && s && s(r);
|
|
143239
143233
|
};
|
|
143240
143234
|
return /* @__PURE__ */ te.jsxs(Ve, { sx: zZe, children: [
|
|
@@ -143250,7 +143244,7 @@ const dZe = (e = [], t) => {
|
|
|
143250
143244
|
imageUrl: e,
|
|
143251
143245
|
shapeCoordinates: a,
|
|
143252
143246
|
isError: y,
|
|
143253
|
-
onImageError: () =>
|
|
143247
|
+
onImageError: () => g == null ? void 0 : g(!0)
|
|
143254
143248
|
}
|
|
143255
143249
|
)
|
|
143256
143250
|
] }),
|
|
@@ -143316,7 +143310,7 @@ const dZe = (e = [], t) => {
|
|
|
143316
143310
|
sx: Ji,
|
|
143317
143311
|
width: 80
|
|
143318
143312
|
}
|
|
143319
|
-
) : !y && /* @__PURE__ */ te.jsx(la, { title: "Time", placement: Wi.TOP, arrow: !0, children: /* @__PURE__ */ te.jsx(Ve, { sx: Il, children: /* @__PURE__ */ te.jsx(At, { sx: Ji, children: X3(o,
|
|
143313
|
+
) : !y && /* @__PURE__ */ te.jsx(la, { title: "Time", placement: Wi.TOP, arrow: !0, children: /* @__PURE__ */ te.jsx(Ve, { sx: Il, children: /* @__PURE__ */ te.jsx(At, { sx: Ji, children: X3(o, f) }) }) }),
|
|
143320
143314
|
l ? /* @__PURE__ */ te.jsx(
|
|
143321
143315
|
dm,
|
|
143322
143316
|
{
|
|
@@ -143609,33 +143603,31 @@ const dZe = (e = [], t) => {
|
|
|
143609
143603
|
isFovShown: t = !1,
|
|
143610
143604
|
isRegionsShown: n = !1,
|
|
143611
143605
|
isCrossesChecked: r = !1,
|
|
143612
|
-
loadError: o = !1
|
|
143613
|
-
setLoadError: i
|
|
143606
|
+
loadError: o = !1
|
|
143614
143607
|
}) => {
|
|
143615
|
-
const [
|
|
143616
|
-
(
|
|
143617
|
-
),
|
|
143618
|
-
|
|
143608
|
+
const [i, s] = Pe(!1), [a, l] = Pe(null), c = e == null ? void 0 : e.find(
|
|
143609
|
+
(f) => f.feedId === a
|
|
143610
|
+
), d = () => s(!1), h = (f) => {
|
|
143611
|
+
s(!0), l(f);
|
|
143619
143612
|
};
|
|
143620
143613
|
return /* @__PURE__ */ te.jsxs(XJ, { sx: OZe(!e.length), children: [
|
|
143621
143614
|
e.length ? e == null ? void 0 : e.map(
|
|
143622
|
-
({ fov:
|
|
143623
|
-
const
|
|
143624
|
-
fov:
|
|
143625
|
-
regions:
|
|
143626
|
-
crosses:
|
|
143627
|
-
fovCondition: !!(t &&
|
|
143628
|
-
regionsCondition: !!(n &&
|
|
143629
|
-
crossesCondition: !!(r &&
|
|
143615
|
+
({ fov: f, regions: m, crosses: g, ...y }) => {
|
|
143616
|
+
const b = KZe({
|
|
143617
|
+
fov: f,
|
|
143618
|
+
regions: m,
|
|
143619
|
+
crosses: g,
|
|
143620
|
+
fovCondition: !!(t && f && Object.keys(f).length),
|
|
143621
|
+
regionsCondition: !!(n && m && Object.keys(m).length),
|
|
143622
|
+
crossesCondition: !!(r && g && Object.keys(g).length)
|
|
143630
143623
|
});
|
|
143631
143624
|
return /* @__PURE__ */ te.jsx(
|
|
143632
143625
|
UZe,
|
|
143633
143626
|
{
|
|
143634
|
-
...
|
|
143635
|
-
onClick:
|
|
143636
|
-
shapeCoordinates:
|
|
143637
|
-
loadError: o
|
|
143638
|
-
setLoadError: i
|
|
143627
|
+
...y,
|
|
143628
|
+
onClick: h,
|
|
143629
|
+
shapeCoordinates: b,
|
|
143630
|
+
loadError: o
|
|
143639
143631
|
}
|
|
143640
143632
|
);
|
|
143641
143633
|
}
|
|
@@ -143643,9 +143635,9 @@ const dZe = (e = [], t) => {
|
|
|
143643
143635
|
/* @__PURE__ */ te.jsx(
|
|
143644
143636
|
QZe,
|
|
143645
143637
|
{
|
|
143646
|
-
open:
|
|
143647
|
-
onClose:
|
|
143648
|
-
imageData:
|
|
143638
|
+
open: i,
|
|
143639
|
+
onClose: d,
|
|
143640
|
+
imageData: c
|
|
143649
143641
|
}
|
|
143650
143642
|
)
|
|
143651
143643
|
] });
|
|
@@ -143881,28 +143873,31 @@ const dZe = (e = [], t) => {
|
|
|
143881
143873
|
clearClosestSnapshots: r,
|
|
143882
143874
|
latestSnapshots: o,
|
|
143883
143875
|
resetInnerError: i
|
|
143884
|
-
} = Zl(), { fovInfos: s, clearFovInfos: a, regions: l } = Mo(), [c] = Ke((
|
|
143885
|
-
() =>
|
|
143886
|
-
|
|
143887
|
-
|
|
143888
|
-
|
|
143889
|
-
|
|
143890
|
-
|
|
143891
|
-
|
|
143876
|
+
} = Zl(), { fovInfos: s, clearFovInfos: a, regions: l } = Mo(), [c] = Ke((C) => [C.newFeeds]), { checkboxes: d, isFovChecked: h, isRegionsChecked: f, isCrossesChecked: m } = XZe(), g = Yt(
|
|
143877
|
+
() => {
|
|
143878
|
+
const C = n.length ? n : o;
|
|
143879
|
+
return qZe({
|
|
143880
|
+
latestSnapshots: C,
|
|
143881
|
+
fovInfos: s,
|
|
143882
|
+
baseUrl: e,
|
|
143883
|
+
feeds: c,
|
|
143884
|
+
regions: l
|
|
143885
|
+
}).filter((v) => v.unit);
|
|
143886
|
+
},
|
|
143892
143887
|
[n, o, s, e, c, l]
|
|
143893
|
-
),
|
|
143894
|
-
() => jee(
|
|
143895
|
-
[
|
|
143896
|
-
),
|
|
143897
|
-
r(), a(), i(),
|
|
143888
|
+
), y = Yt(
|
|
143889
|
+
() => jee(g.length),
|
|
143890
|
+
[g.length]
|
|
143891
|
+
), b = lt(() => {
|
|
143892
|
+
r(), a(), i(), t();
|
|
143898
143893
|
}, [r, a, t, i]);
|
|
143899
143894
|
return /* @__PURE__ */ te.jsxs(Ve, { sx: DZe, children: [
|
|
143900
143895
|
/* @__PURE__ */ te.jsx(
|
|
143901
143896
|
Bte,
|
|
143902
143897
|
{
|
|
143903
|
-
checkboxes:
|
|
143904
|
-
infoText:
|
|
143905
|
-
onClick:
|
|
143898
|
+
checkboxes: d,
|
|
143899
|
+
infoText: y,
|
|
143900
|
+
onClick: b,
|
|
143906
143901
|
btnTitle: "Now",
|
|
143907
143902
|
icon: "refresh",
|
|
143908
143903
|
isRefreshShown: !0
|
|
@@ -143911,12 +143906,10 @@ const dZe = (e = [], t) => {
|
|
|
143911
143906
|
/* @__PURE__ */ te.jsx(
|
|
143912
143907
|
ZZe,
|
|
143913
143908
|
{
|
|
143914
|
-
imagesData:
|
|
143915
|
-
isFovShown:
|
|
143916
|
-
isRegionsShown:
|
|
143917
|
-
isCrossesChecked:
|
|
143918
|
-
loadError: d,
|
|
143919
|
-
setLoadError: h
|
|
143909
|
+
imagesData: g,
|
|
143910
|
+
isFovShown: h,
|
|
143911
|
+
isRegionsShown: f,
|
|
143912
|
+
isCrossesChecked: m
|
|
143920
143913
|
}
|
|
143921
143914
|
)
|
|
143922
143915
|
] });
|
|
@@ -147359,7 +147352,8 @@ const QXe = ({
|
|
|
147359
147352
|
id: c.conbo_key,
|
|
147360
147353
|
startTime: c.start_time,
|
|
147361
147354
|
endTime: c.end_time,
|
|
147362
|
-
type: c.action
|
|
147355
|
+
type: c.action,
|
|
147356
|
+
assignedFeedId: c.feed
|
|
147363
147357
|
}));
|
|
147364
147358
|
r("cargoTrailsDetails", {
|
|
147365
147359
|
primary: s,
|
|
@@ -6,7 +6,6 @@ type ImageGridProps = {
|
|
|
6
6
|
isRegionsShown?: boolean;
|
|
7
7
|
isCrossesChecked?: boolean;
|
|
8
8
|
loadError?: boolean;
|
|
9
|
-
setLoadError: (value: boolean) => void;
|
|
10
9
|
};
|
|
11
|
-
declare const ImageGrid: ({ imagesData, isFovShown, isRegionsShown, isCrossesChecked, loadError
|
|
10
|
+
declare const ImageGrid: ({ imagesData, isFovShown, isRegionsShown, isCrossesChecked, loadError }: ImageGridProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
11
|
export default ImageGrid;
|
|
@@ -14,7 +14,6 @@ export type ImageItemType = {
|
|
|
14
14
|
unit: string;
|
|
15
15
|
runId: number;
|
|
16
16
|
loadError?: boolean;
|
|
17
|
-
setLoadError?: (value: boolean) => void;
|
|
18
17
|
};
|
|
19
|
-
declare const ImageItem: ({ url, displayName, name, feedId, captureTime, delay, onClick, shapeCoordinates, innerLoading, isError, unit, runId,
|
|
18
|
+
declare const ImageItem: ({ url, displayName, name, feedId, captureTime, delay, onClick, shapeCoordinates, innerLoading, isError, unit, runId, }: ImageItemType) => import("react/jsx-runtime").JSX.Element;
|
|
20
19
|
export default ImageItem;
|