@conboai/app.db.query 0.9.52 → 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
|
@@ -143226,11 +143226,9 @@ const dZe = (e = [], t) => {
|
|
|
143226
143226
|
innerLoading: l = !1,
|
|
143227
143227
|
isError: c,
|
|
143228
143228
|
unit: d,
|
|
143229
|
-
runId: h
|
|
143230
|
-
loadError: f,
|
|
143231
|
-
setLoadError: m
|
|
143229
|
+
runId: h
|
|
143232
143230
|
}) => {
|
|
143233
|
-
const { timezone:
|
|
143231
|
+
const { timezone: f } = Ke($t), [m, g] = Pe(!1), y = !!(c || m), b = () => {
|
|
143234
143232
|
!y && !l && s && s(r);
|
|
143235
143233
|
};
|
|
143236
143234
|
return /* @__PURE__ */ te.jsxs(Ve, { sx: zZe, children: [
|
|
@@ -143246,7 +143244,7 @@ const dZe = (e = [], t) => {
|
|
|
143246
143244
|
imageUrl: e,
|
|
143247
143245
|
shapeCoordinates: a,
|
|
143248
143246
|
isError: y,
|
|
143249
|
-
onImageError: () =>
|
|
143247
|
+
onImageError: () => g == null ? void 0 : g(!0)
|
|
143250
143248
|
}
|
|
143251
143249
|
)
|
|
143252
143250
|
] }),
|
|
@@ -143312,7 +143310,7 @@ const dZe = (e = [], t) => {
|
|
|
143312
143310
|
sx: Ji,
|
|
143313
143311
|
width: 80
|
|
143314
143312
|
}
|
|
143315
|
-
) : !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) }) }) }),
|
|
143316
143314
|
l ? /* @__PURE__ */ te.jsx(
|
|
143317
143315
|
dm,
|
|
143318
143316
|
{
|
|
@@ -143605,33 +143603,31 @@ const dZe = (e = [], t) => {
|
|
|
143605
143603
|
isFovShown: t = !1,
|
|
143606
143604
|
isRegionsShown: n = !1,
|
|
143607
143605
|
isCrossesChecked: r = !1,
|
|
143608
|
-
loadError: o = !1
|
|
143609
|
-
setLoadError: i
|
|
143606
|
+
loadError: o = !1
|
|
143610
143607
|
}) => {
|
|
143611
|
-
const [
|
|
143612
|
-
(
|
|
143613
|
-
),
|
|
143614
|
-
|
|
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);
|
|
143615
143612
|
};
|
|
143616
143613
|
return /* @__PURE__ */ te.jsxs(XJ, { sx: OZe(!e.length), children: [
|
|
143617
143614
|
e.length ? e == null ? void 0 : e.map(
|
|
143618
|
-
({ fov:
|
|
143619
|
-
const
|
|
143620
|
-
fov:
|
|
143621
|
-
regions:
|
|
143622
|
-
crosses:
|
|
143623
|
-
fovCondition: !!(t &&
|
|
143624
|
-
regionsCondition: !!(n &&
|
|
143625
|
-
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)
|
|
143626
143623
|
});
|
|
143627
143624
|
return /* @__PURE__ */ te.jsx(
|
|
143628
143625
|
UZe,
|
|
143629
143626
|
{
|
|
143630
|
-
...
|
|
143631
|
-
onClick:
|
|
143632
|
-
shapeCoordinates:
|
|
143633
|
-
loadError: o
|
|
143634
|
-
setLoadError: i
|
|
143627
|
+
...y,
|
|
143628
|
+
onClick: h,
|
|
143629
|
+
shapeCoordinates: b,
|
|
143630
|
+
loadError: o
|
|
143635
143631
|
}
|
|
143636
143632
|
);
|
|
143637
143633
|
}
|
|
@@ -143639,9 +143635,9 @@ const dZe = (e = [], t) => {
|
|
|
143639
143635
|
/* @__PURE__ */ te.jsx(
|
|
143640
143636
|
QZe,
|
|
143641
143637
|
{
|
|
143642
|
-
open:
|
|
143643
|
-
onClose:
|
|
143644
|
-
imageData:
|
|
143638
|
+
open: i,
|
|
143639
|
+
onClose: d,
|
|
143640
|
+
imageData: c
|
|
143645
143641
|
}
|
|
143646
143642
|
)
|
|
143647
143643
|
] });
|
|
@@ -143877,28 +143873,31 @@ const dZe = (e = [], t) => {
|
|
|
143877
143873
|
clearClosestSnapshots: r,
|
|
143878
143874
|
latestSnapshots: o,
|
|
143879
143875
|
resetInnerError: i
|
|
143880
|
-
} = Zl(), { fovInfos: s, clearFovInfos: a, regions: l } = Mo(), [c] = Ke((
|
|
143881
|
-
() =>
|
|
143882
|
-
|
|
143883
|
-
|
|
143884
|
-
|
|
143885
|
-
|
|
143886
|
-
|
|
143887
|
-
|
|
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
|
+
},
|
|
143888
143887
|
[n, o, s, e, c, l]
|
|
143889
|
-
),
|
|
143890
|
-
() => jee(
|
|
143891
|
-
[
|
|
143892
|
-
),
|
|
143893
|
-
r(), a(), i(),
|
|
143888
|
+
), y = Yt(
|
|
143889
|
+
() => jee(g.length),
|
|
143890
|
+
[g.length]
|
|
143891
|
+
), b = lt(() => {
|
|
143892
|
+
r(), a(), i(), t();
|
|
143894
143893
|
}, [r, a, t, i]);
|
|
143895
143894
|
return /* @__PURE__ */ te.jsxs(Ve, { sx: DZe, children: [
|
|
143896
143895
|
/* @__PURE__ */ te.jsx(
|
|
143897
143896
|
Bte,
|
|
143898
143897
|
{
|
|
143899
|
-
checkboxes:
|
|
143900
|
-
infoText:
|
|
143901
|
-
onClick:
|
|
143898
|
+
checkboxes: d,
|
|
143899
|
+
infoText: y,
|
|
143900
|
+
onClick: b,
|
|
143902
143901
|
btnTitle: "Now",
|
|
143903
143902
|
icon: "refresh",
|
|
143904
143903
|
isRefreshShown: !0
|
|
@@ -143907,12 +143906,10 @@ const dZe = (e = [], t) => {
|
|
|
143907
143906
|
/* @__PURE__ */ te.jsx(
|
|
143908
143907
|
ZZe,
|
|
143909
143908
|
{
|
|
143910
|
-
imagesData:
|
|
143911
|
-
isFovShown:
|
|
143912
|
-
isRegionsShown:
|
|
143913
|
-
isCrossesChecked:
|
|
143914
|
-
loadError: d,
|
|
143915
|
-
setLoadError: h
|
|
143909
|
+
imagesData: g,
|
|
143910
|
+
isFovShown: h,
|
|
143911
|
+
isRegionsShown: f,
|
|
143912
|
+
isCrossesChecked: m
|
|
143916
143913
|
}
|
|
143917
143914
|
)
|
|
143918
143915
|
] });
|
|
@@ -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;
|