@conboai/app.db.query 0.8.47 → 0.8.48
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 +182 -176
- package/dist/images/Heat Map.png +0 -0
- package/dist/images/Search Tool.png +0 -0
- package/package.json +1 -1
package/dist/app.db.query.js
CHANGED
|
@@ -1601,7 +1601,7 @@ const Yee = [
|
|
|
1601
1601
|
clusterId: "",
|
|
1602
1602
|
timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone,
|
|
1603
1603
|
geojson: null
|
|
1604
|
-
}, mA = Al(),
|
|
1604
|
+
}, mA = Al(), ht = Wl()((e) => ({
|
|
1605
1605
|
videoLoadingState: "done",
|
|
1606
1606
|
loadingState: "done",
|
|
1607
1607
|
selectedTabId: mA,
|
|
@@ -102286,7 +102286,7 @@ const bK = Object.is, yK = mK, vK = () => ({
|
|
|
102286
102286
|
state: null,
|
|
102287
102287
|
equals: null,
|
|
102288
102288
|
selector: null
|
|
102289
|
-
}),
|
|
102289
|
+
}), ft = (e, t, n = bK) => {
|
|
102290
102290
|
process.env.NODE_ENV !== "production" && (e.current.state || el(["MUI X: `useGridSelector` has been called before the initialization of the state.", "This hook can only be used inside the context of the grid."]));
|
|
102291
102291
|
const r = Zu(vK), o = r.current.selector !== null, [i, s] = V.useState(
|
|
102292
102292
|
// We don't use an initialization function to avoid allocations
|
|
@@ -104538,7 +104538,7 @@ const tX = (e, t, n, r, o) => {
|
|
|
104538
104538
|
var n;
|
|
104539
104539
|
const r = et(e, FDe), [, o] = V.useState(!1), i = zn(), s = sn(), a = {
|
|
104540
104540
|
classes: s.classes
|
|
104541
|
-
}, l = $De(a), u =
|
|
104541
|
+
}, l = $De(a), u = ft(i, ZK), p = ft(i, Cl), h = ft(i, C1), f = ft(i, sX), g = V.useMemo(() => typeof s.isRowSelectable != "function" ? p : p.filter((N) => i.current.getRow(N) ? s.isRowSelectable(i.current.getRowParams(N)) : !1), [i, s.isRowSelectable, p]), b = V.useMemo(() => (!s.pagination || !s.checkboxSelectionVisibleOnly ? h : f).reduce((N, $) => (N[$] = !0, N), {}), [s.pagination, s.checkboxSelectionVisibleOnly, f, h]), y = V.useMemo(() => g.filter((N) => b[N]).length, [g, b]), v = y > 0 && y < Object.keys(b).length, S = y > 0, C = (N) => {
|
|
104542
104542
|
const $ = {
|
|
104543
104543
|
value: N.target.checked
|
|
104544
104544
|
};
|
|
@@ -105628,7 +105628,7 @@ const rB = 1, vLe = 1.5, CLe = (e) => {
|
|
|
105628
105628
|
function wLe(e) {
|
|
105629
105629
|
const {
|
|
105630
105630
|
scrollDirection: t
|
|
105631
|
-
} = e, n = V.useRef(null), r = zn(), o = Ya(), i =
|
|
105631
|
+
} = e, n = V.useRef(null), r = zn(), o = Ya(), i = ft(r, y8), s = ft(r, E9), a = ft(r, Ds), l = V.useRef({
|
|
105632
105632
|
left: 0,
|
|
105633
105633
|
top: 0
|
|
105634
105634
|
}), u = () => {
|
|
@@ -105781,9 +105781,9 @@ try {
|
|
|
105781
105781
|
} catch {
|
|
105782
105782
|
}
|
|
105783
105783
|
const ALe = () => {
|
|
105784
|
-
const e = ea(), t = sn(), n =
|
|
105784
|
+
const e = ea(), t = sn(), n = ft(e, oi), r = ft(e, RLe) && !WO, o = ft(e, tL) && !WO, i = ft(e, Ds), s = i.viewportOuterSize, a = ft(e, jh), l = ft(e, wh), u = a.bottom.length > 0, [p, h] = V.useState(xX), f = vo(), g = ft(e, $a), b = ft(e, GD), y = ft(e, _m), v = ft(e, y6), S = gp(e, t), C = e.current.rootElementRef, w = e.current.mainElementRef, E = e.current.virtualScrollerRef, T = V.useRef(null), k = V.useRef(null), I = i.contentSize.height, N = i.columnsTotalWidth, $ = ft(e, bPe);
|
|
105785
105785
|
yX(w, () => e.current.resize());
|
|
105786
|
-
const P = V.useRef(iB), A = V.useRef(iB), D = V.useRef(vX), M =
|
|
105786
|
+
const P = V.useRef(iB), A = V.useRef(iB), D = V.useRef(vX), M = ft(e, Z0), x = Ya(), R = V.useRef(void 0), _ = Zu(() => LLe(f, t.rowBufferPx, t.columnBufferPx, i.rowHeight * 15, rM * 6)).current, O = {
|
|
105787
105787
|
rowIndex: V.useMemo(() => g ? S.rows.findIndex((K) => K.id === g.id) : -1, [g, S.rows]),
|
|
105788
105788
|
columnIndex: V.useMemo(() => g ? n.findIndex((K) => K.field === g.field) : -1, [g, n])
|
|
105789
105789
|
}, B = V.useCallback((K) => {
|
|
@@ -106200,7 +106200,7 @@ function SX(e, t, n, r, o, i) {
|
|
|
106200
106200
|
}
|
|
106201
106201
|
const $Le = () => {
|
|
106202
106202
|
var e, t;
|
|
106203
|
-
const n = zn(), r = sn(), o =
|
|
106203
|
+
const n = zn(), r = sn(), o = ft(n, R9), i = ft(n, ZD), s = o === 0, a = ft(n, $K), l = !a && s, u = !a && o > 0 && i === 0;
|
|
106204
106204
|
let p = null, h = null;
|
|
106205
106205
|
return l && (p = "noRowsOverlay"), u && (p = "noResultsOverlay"), a && (p = "loadingOverlay", h = ((t = (e = r.slotProps) == null ? void 0 : e.loadingOverlay) == null ? void 0 : t[s ? "noRowsVariant" : "variant"]) || null), {
|
|
106206
106206
|
overlayType: p,
|
|
@@ -106243,7 +106243,7 @@ const $Le = () => {
|
|
|
106243
106243
|
}, _n, t);
|
|
106244
106244
|
};
|
|
106245
106245
|
function zLe(e) {
|
|
106246
|
-
const t = zn(), n = sn(), r = gp(t, n), o =
|
|
106246
|
+
const t = zn(), n = sn(), r = gp(t, n), o = ft(t, Ds);
|
|
106247
106247
|
let i = o.viewportOuterSize.height - o.topContainerHeight - o.bottomContainerHeight - (o.hasScrollX ? o.scrollbarSize : 0);
|
|
106248
106248
|
(n.autoHeight && r.rows.length === 0 || i === 0) && (i = UK(t));
|
|
106249
106249
|
const s = HLe(Y({}, e, {
|
|
@@ -106284,7 +106284,7 @@ function TX(e) {
|
|
|
106284
106284
|
const wy = (e) => e.columnMenu;
|
|
106285
106285
|
function ULe() {
|
|
106286
106286
|
var e;
|
|
106287
|
-
const t = ea(), n = sn(), r =
|
|
106287
|
+
const t = ea(), n = sn(), r = ft(t, oi), o = ft(t, ODe), i = ft(t, wDe), s = ft(t, ZK), a = ft(t, GD), l = ft(t, vDe), u = ft(t, gDe), p = ft(t, Iv), h = ft(t, x8), f = ft(t, wy), g = ft(t, Za), b = ft(t, mLe), y = !(l === null && s === null && a === null), v = t.current.columnHeadersContainerRef;
|
|
106288
106288
|
return /* @__PURE__ */ G.jsx(n.slots.columnHeaders, Y({
|
|
106289
106289
|
ref: v,
|
|
106290
106290
|
visibleColumns: r,
|
|
@@ -106414,7 +106414,7 @@ function lAe({
|
|
|
106414
106414
|
scrollbarSize: s,
|
|
106415
106415
|
leftPinnedWidth: a,
|
|
106416
106416
|
rightPinnedWidth: l
|
|
106417
|
-
} =
|
|
106417
|
+
} = ft(t, Ds), u = o ? s : 0, p = n.height - r.height - u, h = Math.max(u, p);
|
|
106418
106418
|
return h === 0 ? null : /* @__PURE__ */ G.jsxs(oAe, {
|
|
106419
106419
|
className: Ve.filler,
|
|
106420
106420
|
role: "presentation",
|
|
@@ -106454,7 +106454,7 @@ const cAe = fp(lAe), uAe = ["className"], dAe = (e) => {
|
|
|
106454
106454
|
}), hAe = /* @__PURE__ */ V.forwardRef(function(e, t) {
|
|
106455
106455
|
const {
|
|
106456
106456
|
className: n
|
|
106457
|
-
} = e, r = et(e, uAe), o = zn(), i = sn(), s = dAe(i), a =
|
|
106457
|
+
} = e, r = et(e, uAe), o = zn(), i = sn(), s = dAe(i), a = ft(o, () => {
|
|
106458
106458
|
const l = Z0(o);
|
|
106459
106459
|
return _m(o.current.state).positions[l.firstRowIndex] ?? 0;
|
|
106460
106460
|
});
|
|
@@ -106521,7 +106521,7 @@ const mAe = (e, t) => {
|
|
|
106521
106521
|
}), yAe = Nr("div")({
|
|
106522
106522
|
display: "inline-block"
|
|
106523
106523
|
}), aB = /* @__PURE__ */ V.forwardRef(function(e, t) {
|
|
106524
|
-
const n = ea(), r = sn(), o = V.useRef(!1), i = V.useRef(0), s = V.useRef(null), a = V.useRef(null), l = mAe(r, e.position), u =
|
|
106524
|
+
const n = ea(), r = sn(), o = V.useRef(!1), i = V.useRef(0), s = V.useRef(null), a = V.useRef(null), l = mAe(r, e.position), u = ft(n, Ds), p = e.position === "vertical" ? "height" : "width", h = e.position === "vertical" ? "scrollTop" : "scrollLeft", f = e.position === "vertical" ? u.hasScrollX : u.hasScrollY, g = u.minimumSize[p] + (f ? u.scrollbarSize : 0), b = (e.position === "vertical" ? u.viewportInnerSize.height : u.viewportOuterSize.width) * (g / u.viewportOuterSize[p]), y = Tt(() => {
|
|
106525
106525
|
const C = n.current.virtualScrollerRef.current, w = s.current;
|
|
106526
106526
|
if (C[h] === i.current)
|
|
106527
106527
|
return;
|
|
@@ -106597,7 +106597,7 @@ const mAe = (e, t) => {
|
|
|
106597
106597
|
zIndex: 0
|
|
106598
106598
|
});
|
|
106599
106599
|
function xAe(e) {
|
|
106600
|
-
const t = zn(), n = sn(), r =
|
|
106600
|
+
const t = zn(), n = sn(), r = ft(t, Ds), o = $Le(), i = vAe(n, r, o.loadingOverlayVariant), s = ALe(), {
|
|
106601
106601
|
getContainerProps: a,
|
|
106602
106602
|
getScrollerProps: l,
|
|
106603
106603
|
getContentProps: u,
|
|
@@ -106955,7 +106955,7 @@ const LX = /* @__PURE__ */ V.forwardRef(function(e, t) {
|
|
|
106955
106955
|
onKeyUp: D,
|
|
106956
106956
|
onDragEnter: M,
|
|
106957
106957
|
onDragOver: x
|
|
106958
|
-
} = e, R = et(e, VAe), _ = zn(), O = sn(), B = vo(), H = s.field, F =
|
|
106958
|
+
} = e, R = et(e, VAe), _ = zn(), O = sn(), B = vo(), H = s.field, F = ft(_, () => {
|
|
106959
106959
|
try {
|
|
106960
106960
|
const _e = _.current.getCellParams(a, H);
|
|
106961
106961
|
return _e.api = _.current, _e;
|
|
@@ -106964,10 +106964,10 @@ const LX = /* @__PURE__ */ V.forwardRef(function(e, t) {
|
|
|
106964
106964
|
return cB;
|
|
106965
106965
|
throw _e;
|
|
106966
106966
|
}
|
|
106967
|
-
}, yK), U =
|
|
106967
|
+
}, yK), U = ft(_, () => _.current.unstable_applyPipeProcessors("isCellSelected", !1, {
|
|
106968
106968
|
id: a,
|
|
106969
106969
|
field: H
|
|
106970
|
-
})), X =
|
|
106970
|
+
})), X = ft(_, CX), Q = ft(_, PLe), {
|
|
106971
106971
|
cellMode: re,
|
|
106972
106972
|
hasFocus: te,
|
|
106973
106973
|
isEditable: oe = !1,
|
|
@@ -106975,7 +106975,7 @@ const LX = /* @__PURE__ */ V.forwardRef(function(e, t) {
|
|
|
106975
106975
|
} = F, K = s.type === "actions" && ((n = s.getActions) == null ? void 0 : n.call(s, _.current.getRowParams(a)).some((_e) => !_e.props.disabled)), ee = (re === "view" || !oe) && !K ? F.tabIndex : -1, {
|
|
106976
106976
|
classes: ae,
|
|
106977
106977
|
getCellClassName: he
|
|
106978
|
-
} = O, W = [
|
|
106978
|
+
} = O, W = [ft(_, () => _.current.unstable_applyPipeProcessors("cellClassName", [], {
|
|
106979
106979
|
id: a,
|
|
106980
106980
|
field: H
|
|
106981
106981
|
}).filter(Boolean).join(" "))];
|
|
@@ -107344,7 +107344,7 @@ const hB = {
|
|
|
107344
107344
|
theme: e
|
|
107345
107345
|
}) => {
|
|
107346
107346
|
var t, n;
|
|
107347
|
-
const r = ea(), o =
|
|
107347
|
+
const r = ea(), o = ft(r, Ds), i = KAe(e), s = e.shape.borderRadius, a = e.vars ? e.vars.palette.background.default : ((t = e.mixins.MuiDataGrid) == null ? void 0 : t.containerBackground) ?? e.palette.background.default, l = ((n = e.mixins.MuiDataGrid) == null ? void 0 : n.pinnedBackground) ?? a, u = e.vars ? `rgba(${e.vars.palette.background.defaultChannel} / ${e.vars.palette.action.disabledOpacity})` : hs(e.palette.background.default, e.palette.action.disabledOpacity), p = (e.vars || e).palette.action.hoverOpacity, h = (e.vars || e).palette.action.hover, f = (e.vars || e).palette.action.selectedOpacity, g = e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / ${f})` : hs(e.palette.primary.main, f), b = e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / calc(
|
|
107348
107348
|
${e.vars.palette.action.selectedOpacity} +
|
|
107349
107349
|
${e.vars.palette.action.hoverOpacity}
|
|
107350
107350
|
))` : hs(e.palette.primary.main, e.palette.action.selectedOpacity + e.palette.action.hoverOpacity), y = e.vars ? h : aM(l, h, p), v = e.vars ? g : aM(l, g, f), S = e.vars ? h : aM(v, h, p), C = {
|
|
@@ -107918,7 +107918,7 @@ const e_e = ["className"], t_e = (e, t) => {
|
|
|
107918
107918
|
}, _X = /* @__PURE__ */ V.forwardRef(function(e, t) {
|
|
107919
107919
|
const n = sn(), {
|
|
107920
107920
|
className: r
|
|
107921
|
-
} = e, o = et(e, e_e), i = ea(), s =
|
|
107921
|
+
} = e, o = et(e, e_e), i = ea(), s = ft(i, n1), a = i.current.rootElementRef, l = Ln(a, t), u = n, p = t_e(u, s), [h, f] = V.useState(!1);
|
|
107922
107922
|
return rr(() => {
|
|
107923
107923
|
f(!0);
|
|
107924
107924
|
}, []), h ? /* @__PURE__ */ G.jsx(QAe, Y({
|
|
@@ -108562,7 +108562,7 @@ function zX(e) {
|
|
|
108562
108562
|
onClick: i
|
|
108563
108563
|
} = e, s = zn(), a = sn(), l = Y({}, e, {
|
|
108564
108564
|
classes: a.classes
|
|
108565
|
-
}), u = R_e(l), p =
|
|
108565
|
+
}), u = R_e(l), p = ft(s, v6), h = pr(), f = pr(), g = V.useCallback((v) => {
|
|
108566
108566
|
v.preventDefault(), v.stopPropagation();
|
|
108567
108567
|
const {
|
|
108568
108568
|
open: S,
|
|
@@ -108853,7 +108853,7 @@ function JX(e) {
|
|
|
108853
108853
|
const {
|
|
108854
108854
|
colDef: t,
|
|
108855
108855
|
onClick: n
|
|
108856
|
-
} = e, r = zn(), o =
|
|
108856
|
+
} = e, r = zn(), o = ft(r, xs), i = sn(), s = V.useMemo(() => {
|
|
108857
108857
|
if (!t)
|
|
108858
108858
|
return null;
|
|
108859
108859
|
const p = o.find((h) => h.field === t.field);
|
|
@@ -109030,7 +109030,7 @@ const tje = (e, t) => {
|
|
|
109030
109030
|
}, wB = new Intl.Collator();
|
|
109031
109031
|
function aL(e) {
|
|
109032
109032
|
var t, n, r;
|
|
109033
|
-
const o = zn(), i = V.useRef(null), s =
|
|
109033
|
+
const o = zn(), i = V.useRef(null), s = ft(o, Nc), a = Zu(() => Za(o)).current, l = ft(o, Za), u = sn(), [p, h] = V.useState(""), f = rje(u), {
|
|
109034
109034
|
sort: g,
|
|
109035
109035
|
searchPredicate: b = nje,
|
|
109036
109036
|
autoFocusSearchField: y = !0,
|
|
@@ -109477,7 +109477,7 @@ const yje = ["item", "hasMultipleFilters", "deleteFilter", "applyFilterChanges",
|
|
|
109477
109477
|
columnInputProps: $ = {},
|
|
109478
109478
|
valueInputProps: P = {},
|
|
109479
109479
|
readOnly: A
|
|
109480
|
-
} = e, D = et(e, yje), M = zn(), x =
|
|
109480
|
+
} = e, D = et(e, yje), M = zn(), x = ft(M, Ju), R = ft(M, EK), _ = ft(M, di), O = pr(), B = pr(), H = pr(), F = pr(), U = sn(), X = Cje(U), Q = V.useRef(null), re = V.useRef(null), te = _.logicOperator ?? Gs.And, oe = f && w.length > 0, ce = ((n = U.slotProps) == null ? void 0 : n.baseFormControl) || {}, K = (((r = U.slotProps) == null ? void 0 : r.baseSelect) || {}).native ?? !1, ee = ((o = U.slotProps) == null ? void 0 : o.baseInputLabel) || {}, ae = ((i = U.slotProps) == null ? void 0 : i.baseSelectOption) || {}, {
|
|
109481
109481
|
InputComponentProps: he
|
|
109482
109482
|
} = P, W = et(P, vje), {
|
|
109483
109483
|
filteredColumns: ne,
|
|
@@ -109779,7 +109779,7 @@ const Mje = ["logicOperators", "columnsSort", "filterFormProps", "getColumnForNe
|
|
|
109779
109779
|
id: Math.round(Math.random() * 1e5)
|
|
109780
109780
|
}), aJ = /* @__PURE__ */ V.forwardRef(function(e, t) {
|
|
109781
109781
|
var n, r;
|
|
109782
|
-
const o = zn(), i = sn(), s =
|
|
109782
|
+
const o = zn(), i = sn(), s = ft(o, di), a = ft(o, EK), l = ft(o, kK), u = V.useRef(null), p = V.useRef(null), {
|
|
109783
109783
|
logicOperators: h = [Gs.And, Gs.Or],
|
|
109784
109784
|
columnsSort: f,
|
|
109785
109785
|
filterFormProps: g,
|
|
@@ -110097,7 +110097,7 @@ process.env.NODE_ENV !== "production" && (cJ.propTypes = {
|
|
|
110097
110097
|
});
|
|
110098
110098
|
const uJ = /* @__PURE__ */ V.forwardRef(function(e, t) {
|
|
110099
110099
|
var n, r;
|
|
110100
|
-
const o = zn(), i = sn(), s =
|
|
110100
|
+
const o = zn(), i = sn(), s = ft(o, ZPe), a = ft(o, CDe), l = ft(o, P9), u = !i.hideFooterSelectedRowCount && a > 0 ? /* @__PURE__ */ G.jsx(cJ, {
|
|
110101
110101
|
selectedRowCount: a
|
|
110102
110102
|
}) : /* @__PURE__ */ G.jsx("div", {}), p = !i.hideFooterRowCount && !i.pagination ? /* @__PURE__ */ G.jsx(i.slots.footerRowCount, Y({}, (n = i.slotProps) == null ? void 0 : n.footerRowCount, {
|
|
110103
110103
|
rowCount: s,
|
|
@@ -110118,7 +110118,7 @@ process.env.NODE_ENV !== "production" && (uJ.propTypes = {
|
|
|
110118
110118
|
});
|
|
110119
110119
|
function Fje() {
|
|
110120
110120
|
var e, t;
|
|
110121
|
-
const n = zn(), r =
|
|
110121
|
+
const n = zn(), r = ft(n, Nc), o = sn(), i = ft(n, v6), s = n.current.unstable_applyPipeProcessors("preferencePanel", null, i.openedPanelValue ?? K0.filters);
|
|
110122
110122
|
return /* @__PURE__ */ G.jsx(o.slots.panel, Y({
|
|
110123
110123
|
as: o.slots.basePopper,
|
|
110124
110124
|
open: r.length > 0 && i.open,
|
|
@@ -110191,7 +110191,7 @@ const Vje = Nr("div", {
|
|
|
110191
110191
|
slots: r
|
|
110192
110192
|
} = n, o = Bje({
|
|
110193
110193
|
classes: n.classes
|
|
110194
|
-
}), i = V.useRef(null), s = Ln(i, t), a = zn(), l =
|
|
110194
|
+
}), i = V.useRef(null), s = Ln(i, t), a = zn(), l = ft(a, Ds), u = (l == null ? void 0 : l.viewportInnerSize.height) ?? 0, p = Math.ceil(u / l.rowHeight), h = ft(a, E9), f = ft(a, mp), g = V.useMemo(() => f.filter((E) => E <= h).length, [h, f]), b = ft(a, oi), y = V.useMemo(() => b.slice(0, g), [b, g]), v = ft(a, wh), S = V.useCallback((E, T, k) => {
|
|
110195
110195
|
const I = lL(k, E, T, f, l);
|
|
110196
110196
|
return {
|
|
110197
110197
|
[k]: I
|
|
@@ -110283,7 +110283,7 @@ const Vje = Nr("div", {
|
|
|
110283
110283
|
variant: n = "circular-progress",
|
|
110284
110284
|
noRowsVariant: r = "circular-progress",
|
|
110285
110285
|
style: o
|
|
110286
|
-
} = e, i = et(e, zje), s = zn(), a =
|
|
110286
|
+
} = e, i = et(e, zje), s = zn(), a = ft(s, R9), l = Uje[a === 0 ? r : n];
|
|
110287
110287
|
return /* @__PURE__ */ G.jsx(_9, Y({
|
|
110288
110288
|
ref: t,
|
|
110289
110289
|
style: Y({}, l.style, o)
|
|
@@ -110358,7 +110358,7 @@ const Wje = Ye(WP)(({
|
|
|
110358
110358
|
estimated: r
|
|
110359
110359
|
}) => r ? `${e}–${t} of ${n !== -1 ? n : `more than ${r > t ? r : t}`}` : `${e}–${t} of ${n !== -1 ? n : `more than ${t}`}`, uL = /* @__PURE__ */ V.forwardRef(function(e, t) {
|
|
110360
110360
|
var n;
|
|
110361
|
-
const r = zn(), o = sn(), i =
|
|
110361
|
+
const r = zn(), o = sn(), i = ft(r, ws), s = ft(r, o1), a = ft(r, iX), {
|
|
110362
110362
|
paginationMode: l,
|
|
110363
110363
|
loading: u,
|
|
110364
110364
|
estimatedRowCount: p
|
|
@@ -110495,7 +110495,7 @@ const fJ = /* @__PURE__ */ V.forwardRef(function(e, t) {
|
|
|
110495
110495
|
onMouseLeave: I,
|
|
110496
110496
|
onMouseOut: N,
|
|
110497
110497
|
onMouseOver: $
|
|
110498
|
-
} = e, P = et(e, Jje), A = zn(), D = EX(), M = V.useRef(null), x = sn(), R = gp(A, x), _ =
|
|
110498
|
+
} = e, P = et(e, Jje), A = zn(), D = EX(), M = V.useRef(null), x = sn(), R = gp(A, x), _ = ft(A, xs), O = ft(A, Lm), B = ft(A, mp), H = ft(A, zi), F = Ln(M, t), U = A.current.getRowNode(o), X = g.hasScrollY ? g.scrollbarSize : 0, Q = g.columnsTotalWidth < g.viewportOuterSize.width, re = A.current.getRowMode(o) === Io.Edit, te = x.editMode === zu.Row, oe = y !== void 0, ce = oe && y >= h.left.length && y < b.firstColumnIndex, K = oe && y < p.length - h.right.length && y >= b.lastColumnIndex, ee = Xje(x.classes, {
|
|
110499
110499
|
root: ["row", r && "selected", te && "row--editable", re && "row--editing", v && "row--firstVisible", S && "row--lastVisible", w && "row--borderBottom", l === "auto" && "row--dynamicHeight"]
|
|
110500
110500
|
}), ae = D.hooks.useGridRowAriaAttributes();
|
|
110501
110501
|
V.useLayoutEffect(() => {
|
|
@@ -110528,7 +110528,7 @@ const fJ = /* @__PURE__ */ V.forwardRef(function(e, t) {
|
|
|
110528
110528
|
slots: ne,
|
|
110529
110529
|
slotProps: z,
|
|
110530
110530
|
disableColumnReorder: le
|
|
110531
|
-
} = x, ie = x.rowReordering, q =
|
|
110531
|
+
} = x, ie = x.rowReordering, q = ft(A, () => Y({}, A.current.unstable_getRowInternalSizes(o)), yK);
|
|
110532
110532
|
let Z = l;
|
|
110533
110533
|
Z === "auto" && q && (q.baseCenter ?? 0) > 0;
|
|
110534
110534
|
const se = V.useMemo(() => {
|
|
@@ -110742,7 +110742,7 @@ function tNe({
|
|
|
110742
110742
|
});
|
|
110743
110743
|
}
|
|
110744
110744
|
const nNe = () => V.useRef({}), rNe = () => {
|
|
110745
|
-
const e = ea(), t = sn(), n =
|
|
110745
|
+
const e = ea(), t = sn(), n = ft(e, oi), r = ft(e, ZD), o = ft(e, x8), i = ft(e, JPe);
|
|
110746
110746
|
return {
|
|
110747
110747
|
role: "grid",
|
|
110748
110748
|
"aria-colcount": n.length,
|
|
@@ -110750,7 +110750,7 @@ const nNe = () => V.useRef({}), rNe = () => {
|
|
|
110750
110750
|
"aria-multiselectable": WD(t)
|
|
110751
110751
|
};
|
|
110752
110752
|
}, oNe = () => {
|
|
110753
|
-
const e = ea(), t =
|
|
110753
|
+
const e = ea(), t = ft(e, y6), n = ft(e, x8);
|
|
110754
110754
|
return V.useCallback((r, o) => {
|
|
110755
110755
|
const i = {}, s = o + n + 2;
|
|
110756
110756
|
return i["aria-rowindex"] = s, e.current.isRowSelectable(r.id) && (i["aria-selected"] = t[r.id] !== void 0), i;
|
|
@@ -111594,7 +111594,7 @@ const bJ = ({
|
|
|
111594
111594
|
})), oX(r.pageSize, t), r;
|
|
111595
111595
|
}, LNe = (e, t) => {
|
|
111596
111596
|
var n, r;
|
|
111597
|
-
const o = fi(e, "useGridPaginationModel"), i =
|
|
111597
|
+
const o = fi(e, "useGridPaginationModel"), i = ft(e, y8), s = Math.floor(t.rowHeight * i);
|
|
111598
111598
|
e.current.registerControlState({
|
|
111599
111599
|
stateId: "paginationModel",
|
|
111600
111600
|
propModel: t.paginationModel,
|
|
@@ -112554,7 +112554,7 @@ const WNe = (e, t) => {
|
|
|
112554
112554
|
lr(e, "canStartEditing", v), _t(e, "columnHeaderKeyDown", f), _t(e, "headerFilterKeyDown", g), _t(e, "columnGroupHeaderKeyDown", b), _t(e, "cellKeyDown", y);
|
|
112555
112555
|
}, GNe = (e, t) => {
|
|
112556
112556
|
var n, r;
|
|
112557
|
-
const o = fi(e, "useGridRowCount"), i =
|
|
112557
|
+
const o = fi(e, "useGridRowCount"), i = ft(e, P9), s = ft(e, o1), a = ft(e, l4), l = ft(e, ws), u = Zu(() => ws(e).pageSize);
|
|
112558
112558
|
e.current.registerControlState({
|
|
112559
112559
|
stateId: "paginationRowCount",
|
|
112560
112560
|
propModel: t.rowCount,
|
|
@@ -112607,7 +112607,7 @@ const WNe = (e, t) => {
|
|
|
112607
112607
|
}, [e, i, b, s, l]);
|
|
112608
112608
|
}, qNe = (e, t) => {
|
|
112609
112609
|
var n, r;
|
|
112610
|
-
const o = fi(e, "useGridPaginationMeta"), i =
|
|
112610
|
+
const o = fi(e, "useGridPaginationMeta"), i = ft(e, l4);
|
|
112611
112611
|
e.current.registerControlState({
|
|
112612
112612
|
stateId: "paginationMeta",
|
|
112613
112613
|
propModel: t.paginationMeta,
|
|
@@ -114062,7 +114062,7 @@ function DB(e) {
|
|
|
114062
114062
|
return o;
|
|
114063
114063
|
}
|
|
114064
114064
|
const yFe = (e, t) => {
|
|
114065
|
-
const n = vo(), r = fi(e, "useGridScroll"), o = e.current.columnHeadersContainerRef, i = e.current.virtualScrollerRef, s =
|
|
114065
|
+
const n = vo(), r = fi(e, "useGridScroll"), o = e.current.columnHeadersContainerRef, i = e.current.virtualScrollerRef, s = ft(e, Nh), a = V.useCallback((p) => {
|
|
114066
114066
|
var h;
|
|
114067
114067
|
const f = Ds(e.current.state), g = R9(e), b = oi(e);
|
|
114068
114068
|
if (p.rowIndex != null && g === 0 || b.length === 0)
|
|
@@ -114155,7 +114155,7 @@ const q2 = {
|
|
|
114155
114155
|
dimensions: xFe
|
|
114156
114156
|
});
|
|
114157
114157
|
function SFe(e, t) {
|
|
114158
|
-
const n = fi(e, "useResizeContainer"), r = V.useRef(!1), o = V.useRef(q2), i =
|
|
114158
|
+
const n = fi(e, "useResizeContainer"), r = V.useRef(!1), o = V.useRef(q2), i = ft(e, Ds), s = ft(e, _m), a = ft(e, wh), l = ft(e, y8), u = Math.floor(t.rowHeight * l), p = Math.floor(t.columnHeaderHeight * l), h = Math.floor((t.columnGroupHeaderHeight ?? t.columnHeaderHeight) * l), f = Math.floor((t.headerFilterHeight ?? t.columnHeaderHeight) * l), g = EFe(E9(e), 6), b = QD(e, t), y = a.left.reduce((R, _) => R + _.computedWidth, 0), v = a.right.reduce((R, _) => R + _.computedWidth, 0), [S, C] = V.useState(), w = V.useMemo(() => CFe(C, t.resizeThrottleMs), [t.resizeThrottleMs]), E = V.useRef(), T = () => e.current.state.dimensions, k = Tt((R) => {
|
|
114159
114159
|
e.current.setState((_) => Y({}, _, {
|
|
114160
114160
|
dimensions: R
|
|
114161
114161
|
}));
|
|
@@ -114316,7 +114316,7 @@ function RFe(e) {
|
|
|
114316
114316
|
indexInSection: b,
|
|
114317
114317
|
sectionLength: y,
|
|
114318
114318
|
gridHasFiller: v
|
|
114319
|
-
} = e, S = sn(), C = V.useRef(null), w = zn(), E =
|
|
114319
|
+
} = e, S = sn(), C = V.useRef(null), w = zn(), E = ft(w, gX), T = n ? E[n] : {}, {
|
|
114320
114320
|
headerName: k = n ?? "",
|
|
114321
114321
|
description: I = "",
|
|
114322
114322
|
headerAlign: N = void 0
|
|
@@ -114404,7 +114404,7 @@ const XO = Ye("div", {
|
|
|
114404
114404
|
columnVisibility: p,
|
|
114405
114405
|
columnGroupsHeaderStructure: h,
|
|
114406
114406
|
hasOtherElementInTabSequence: f
|
|
114407
|
-
} = e, [g, b] = V.useState(""), [y, v] = V.useState(""), S = ea(), C = vo(), w = sn(), E =
|
|
114407
|
+
} = e, [g, b] = V.useState(""), [y, v] = V.useState(""), S = ea(), C = vo(), w = sn(), E = ft(S, Ds), T = ft(S, tL), k = ft(S, mX), I = ft(S, mp), N = ft(S, MLe), $ = ft(S, wh), P = ft(S, Ju), A = wX(I, N, $.left.length), D = E.columnsTotalWidth < E.viewportOuterSize.width;
|
|
114408
114408
|
V.useEffect(() => {
|
|
114409
114409
|
S.current.columnHeadersContainerRef.current.scrollLeft = 0;
|
|
114410
114410
|
}, [S]);
|
|
@@ -114928,7 +114928,7 @@ const _B = (e, t, n) => typeof e == "number" && e > 0 ? e : (process.env.NODE_EN
|
|
|
114928
114928
|
getRowHeight: n,
|
|
114929
114929
|
getRowSpacing: r,
|
|
114930
114930
|
getEstimatedRowHeight: o
|
|
114931
|
-
} = t, i = V.useRef(/* @__PURE__ */ Object.create(null)), s = V.useRef(-1), a = V.useRef(!1), l =
|
|
114931
|
+
} = t, i = V.useRef(/* @__PURE__ */ Object.create(null)), s = V.useRef(-1), a = V.useRef(!1), l = ft(e, y8), u = ft(e, di), p = ft(e, D9), h = ft(e, xs), f = gp(e, t), g = ft(e, jh), b = _B(t.rowHeight, TJ.rowHeight, ZFe), y = Math.floor(b * l), v = V.useCallback(() => {
|
|
114932
114932
|
var D, M;
|
|
114933
114933
|
a.current = !1;
|
|
114934
114934
|
const x = (O) => {
|
|
@@ -115283,7 +115283,7 @@ function FB(e) {
|
|
|
115283
115283
|
e.preventDefault(), e.stopImmediatePropagation();
|
|
115284
115284
|
}
|
|
115285
115285
|
function l$e(e) {
|
|
115286
|
-
const t = V.useRef(), n = () => tL(e), r =
|
|
115286
|
+
const t = V.useRef(), n = () => tL(e), r = ft(e, n);
|
|
115287
115287
|
return V.useEffect(() => {
|
|
115288
115288
|
t.current && r === !1 && (t.current.resolve(), t.current = void 0);
|
|
115289
115289
|
}), () => {
|
|
@@ -115643,7 +115643,7 @@ const pM = (e, t, n) => {
|
|
|
115643
115643
|
const {
|
|
115644
115644
|
range: n,
|
|
115645
115645
|
rows: r
|
|
115646
|
-
} = gp(e, t), o =
|
|
115646
|
+
} = gp(e, t), o = ft(e, Z0), i = ft(e, oi), s = Zu(() => Object.keys(e.current.state.rowSpanning.spannedCells).length > 0 ? {
|
|
115647
115647
|
firstRowIndex: 0,
|
|
115648
115648
|
lastRowIndex: Math.min(kJ - 1, Math.max(e.current.state.rows.dataRowIds.length - 1, 0))
|
|
115649
115649
|
} : P4), a = V.useRef(P4), l = V.useCallback(
|
|
@@ -115756,7 +115756,7 @@ const pM = (e, t, n) => {
|
|
|
115756
115756
|
width: 0,
|
|
115757
115757
|
height: 0
|
|
115758
115758
|
}), w$e = (e, t) => {
|
|
115759
|
-
const n =
|
|
115759
|
+
const n = ft(e, oi), r = gp(e, t), o = V.useRef(), i = V.useRef(null), s = t.rowsLoadingMode === "client" && !!t.onRowsScrollEnd, a = Tt(([g]) => {
|
|
115760
115760
|
var b;
|
|
115761
115761
|
const y = g.intersectionRatio;
|
|
115762
115762
|
if (g.isIntersecting && y === 1) {
|
|
@@ -115767,7 +115767,7 @@ const pM = (e, t, n) => {
|
|
|
115767
115767
|
};
|
|
115768
115768
|
e.current.publishEvent("rowsScrollEnd", S), (b = o.current) == null || b.disconnect(), i.current = null;
|
|
115769
115769
|
}
|
|
115770
|
-
}), l = e.current.virtualScrollerRef.current, u =
|
|
115770
|
+
}), l = e.current.virtualScrollerRef.current, u = ft(e, Ds), p = t.scrollEndThreshold - (u.hasScrollX ? u.scrollbarSize : 0);
|
|
115771
115771
|
V.useEffect(() => {
|
|
115772
115772
|
var g;
|
|
115773
115773
|
s && l && ((g = o.current) == null || g.disconnect(), o.current = new IntersectionObserver(a, {
|
|
@@ -115989,7 +115989,7 @@ function DJ(e) {
|
|
|
115989
115989
|
rowNode: i,
|
|
115990
115990
|
hideDescendantCount: s,
|
|
115991
115991
|
offsetMultiplier: a = 2
|
|
115992
|
-
} = e, l = Sa(), u = mL(), p = P$e(l), h =
|
|
115992
|
+
} = e, l = Sa(), u = mL(), p = P$e(l), h = ft(u, EDe)[i.id] ?? 0, f = i.childrenExpanded ? l.slots.treeDataCollapseIcon : l.slots.treeDataExpandIcon, g = (b) => {
|
|
115993
115993
|
u.current.setRowChildrenExpansion(n, !i.childrenExpanded), u.current.setCellFocus(n, r), b.stopPropagation();
|
|
115994
115994
|
};
|
|
115995
115995
|
return /* @__PURE__ */ G.jsxs(qt, {
|
|
@@ -116168,7 +116168,7 @@ function _J(e) {
|
|
|
116168
116168
|
} = e, o = Sa(), i = mL(), s = {
|
|
116169
116169
|
classes: o.classes,
|
|
116170
116170
|
isExpanded: r
|
|
116171
|
-
}, a = D$e(s), l =
|
|
116171
|
+
}, a = D$e(s), l = ft(i, gL), u = /* @__PURE__ */ V.isValidElement(l[n]), p = r ? o.slots.detailPanelCollapseIcon : o.slots.detailPanelExpandIcon;
|
|
116172
116172
|
return /* @__PURE__ */ G.jsx(o.slots.baseIconButton, Y({
|
|
116173
116173
|
size: "small",
|
|
116174
116174
|
tabIndex: -1,
|
|
@@ -116257,7 +116257,7 @@ const L$e = (e) => {
|
|
|
116257
116257
|
}, _n, n);
|
|
116258
116258
|
};
|
|
116259
116259
|
function jJ(e) {
|
|
116260
|
-
const t = zn(), n = Sa(), r =
|
|
116260
|
+
const t = zn(), n = Sa(), r = ft(t, xs), o = ft(t, Lm), i = ft(t, zi), s = e.row.__reorder__ || e.id, a = V.useMemo(() => !!n.rowReordering && !r.length && o === 1 && Object.keys(i).length === 0, [n.rowReordering, r, o, i]), l = {
|
|
116261
116261
|
isDraggable: a,
|
|
116262
116262
|
classes: n.classes
|
|
116263
116263
|
}, u = L$e(l), p = V.useCallback((f, g) => (b) => {
|
|
@@ -116368,7 +116368,7 @@ function NJ(e) {
|
|
|
116368
116368
|
buttonRef: i,
|
|
116369
116369
|
headerFilterMenuRef: s,
|
|
116370
116370
|
disabled: a = !1
|
|
116371
|
-
} = e, l = et(e, N$e), u = pr(), p = pr(), h = Sa(), f = zn(), g = !!(
|
|
116371
|
+
} = e, l = et(e, N$e), u = pr(), p = pr(), h = Sa(), f = zn(), g = !!(ft(f, JD) === o && s.current), b = (S) => {
|
|
116372
116372
|
s.current = S.currentTarget, f.current.showHeaderFilterMenu(o);
|
|
116373
116373
|
};
|
|
116374
116374
|
if (!h.slots.headerFilterMenu)
|
|
@@ -116490,7 +116490,7 @@ const B$e = ["colIndex", "height", "hasFocus", "width", "headerClassName", "colD
|
|
|
116490
116490
|
indexInSection: b,
|
|
116491
116491
|
sectionLength: y,
|
|
116492
116492
|
gridHasFiller: v
|
|
116493
|
-
} = e, S = et(e, B$e), C = ea(), w =
|
|
116493
|
+
} = e, S = et(e, B$e), C = ea(), w = ft(C, d2), E = Sa(), T = V.useRef(null), k = Ln(t, T), I = V.useRef(null), N = V.useRef(null), $ = ft(C, fX) === a.field, P = ft(C, JD) === a.field, A = V.useMemo(() => a.filterOperators ? a.filterOperators.filter((W) => W.value !== "isAnyOf") : [], [a.filterOperators]), D = ft(C, di), M = ft(C, kK), x = V.useMemo(() => {
|
|
116494
116494
|
if (!(D != null && D.items.length))
|
|
116495
116495
|
return !1;
|
|
116496
116496
|
const W = D.items.find((ne) => ne.field === a.field);
|
|
@@ -117307,7 +117307,7 @@ function oVe(e) {
|
|
|
117307
117307
|
rowNode: s,
|
|
117308
117308
|
hideDescendantCount: a,
|
|
117309
117309
|
offsetMultiplier: l = 2
|
|
117310
|
-
} = e, u = Sa(), p = T8(), h =
|
|
117310
|
+
} = e, u = Sa(), p = T8(), h = ft(p, (b) => b.rows.dataRowIdToModelLookup[r]), f = YJ(u);
|
|
117311
117311
|
let g = 0;
|
|
117312
117312
|
return h && (g = Math.max(((n = (t = u.unstable_dataSource) == null ? void 0 : t.getChildrenCount) == null ? void 0 : n.call(t, h)) ?? 0, 0)), /* @__PURE__ */ G.jsxs(qt, {
|
|
117313
117313
|
className: f.root,
|
|
@@ -117427,7 +117427,7 @@ const iVe = ["hideDescendantCount"], Rp = "dataSourceTreeData", sVe = (e, t) =>
|
|
|
117427
117427
|
});
|
|
117428
117428
|
}, lVe = (e, t) => {
|
|
117429
117429
|
var n;
|
|
117430
|
-
const r =
|
|
117430
|
+
const r = ft(e, r1), o = V.useCallback((b, y) => {
|
|
117431
117431
|
const v = wh(e);
|
|
117432
117432
|
if (!y.colIndex || v.left.length === 0 && v.right.length === 0)
|
|
117433
117433
|
return b;
|
|
@@ -117636,7 +117636,7 @@ function GB(e, t, n, r) {
|
|
|
117636
117636
|
};
|
|
117637
117637
|
}
|
|
117638
117638
|
const pVe = (e, t) => {
|
|
117639
|
-
const n =
|
|
117639
|
+
const n = ft(e, g0), r = ft(e, gL), o = V.useCallback((w, E) => {
|
|
117640
117640
|
if (w.field !== Kd || t.getDetailPanelContent == null)
|
|
117641
117641
|
return;
|
|
117642
117642
|
const T = r[w.id];
|
|
@@ -117749,7 +117749,7 @@ const fVe = (e) => {
|
|
|
117749
117749
|
rowDragging: ["row--dragging"]
|
|
117750
117750
|
}, _n, t);
|
|
117751
117751
|
}, mVe = (e, t) => {
|
|
117752
|
-
const n = fi(e, "useGridRowReorder"), r =
|
|
117752
|
+
const n = fi(e, "useGridRowReorder"), r = ft(e, xs), o = ft(e, Lm), i = V.useRef(null), s = V.useRef(null), a = V.useRef(), l = {
|
|
117753
117753
|
classes: t.classes
|
|
117754
117754
|
}, u = fVe(l), [p, h] = V.useState("");
|
|
117755
117755
|
V.useEffect(() => () => {
|
|
@@ -117839,7 +117839,7 @@ function yVe({
|
|
|
117839
117839
|
} : void 0;
|
|
117840
117840
|
}
|
|
117841
117841
|
const vVe = (e, t) => {
|
|
117842
|
-
const n =
|
|
117842
|
+
const n = ft(e, xs), r = ft(e, di), o = V.useRef({
|
|
117843
117843
|
firstRowToRender: 0,
|
|
117844
117844
|
lastRowToRender: 0
|
|
117845
117845
|
}), i = t.rowsLoadingMode !== "server", s = V.useCallback((u) => {
|
|
@@ -118125,7 +118125,7 @@ const IVe = (e) => Y({}, e, {
|
|
|
118125
118125
|
dataSource: oI
|
|
118126
118126
|
}), PVe = (e, t) => {
|
|
118127
118127
|
var n, r;
|
|
118128
|
-
const o = Zu(() => new RVe(e)).current, i =
|
|
118128
|
+
const o = Zu(() => new RVe(e)).current, i = ft(e, VK), s = V.useRef(0), a = t.unstable_onDataSourceError, [l, u] = V.useState(() => ZB(t.unstable_dataSourceCache)), p = V.useCallback(async (C) => {
|
|
118129
118129
|
var w;
|
|
118130
118130
|
const E = (w = t.unstable_dataSource) == null ? void 0 : w.getRows;
|
|
118131
118131
|
if (!E)
|
|
@@ -118269,7 +118269,7 @@ const IVe = (e) => Y({}, e, {
|
|
|
118269
118269
|
const t = ea(), {
|
|
118270
118270
|
headerGroupingMaxDepth: n,
|
|
118271
118271
|
hasOtherElementInTabSequence: r
|
|
118272
|
-
} = e, o =
|
|
118272
|
+
} = e, o = ft(t, yDe), i = xJ(Y({}, e, {
|
|
118273
118273
|
hasOtherElementInTabSequence: r || o !== null
|
|
118274
118274
|
})), {
|
|
118275
118275
|
getColumnsToRender: s,
|
|
@@ -118283,7 +118283,7 @@ const IVe = (e) => Y({}, e, {
|
|
|
118283
118283
|
t.current.register("private", {
|
|
118284
118284
|
headerFiltersElementRef: b
|
|
118285
118285
|
});
|
|
118286
|
-
const y = V.useRef(null), v = Sa(), S = NVe(v), C = !v.headerFilters, w =
|
|
118286
|
+
const y = V.useRef(null), v = Sa(), S = NVe(v), C = !v.headerFilters, w = ft(t, Ds), E = ft(t, di), T = w.columnsTotalWidth < w.viewportOuterSize.width, k = ft(t, bDe), I = V.useCallback(($) => {
|
|
118287
118287
|
const P = E == null ? void 0 : E.items.find((M) => M.field === $.field && M.operator !== "isAnyOf");
|
|
118288
118288
|
if (P != null)
|
|
118289
118289
|
return P;
|
|
@@ -118471,7 +118471,7 @@ function WVe({
|
|
|
118471
118471
|
}) {
|
|
118472
118472
|
const t = T8(), n = zVe(), {
|
|
118473
118473
|
setPanels: r
|
|
118474
|
-
} = e, o =
|
|
118474
|
+
} = e, o = ft(t, g0), i = ft(t, gL), s = ft(t, AJ), a = V.useCallback((l) => {
|
|
118475
118475
|
const u = i[l], p = t.current.getRowIndexRelativeToVisibleRows(l) !== void 0;
|
|
118476
118476
|
if (!/* @__PURE__ */ V.isValidElement(u) || !p)
|
|
118477
118477
|
return null;
|
|
@@ -118494,7 +118494,7 @@ function qVe({
|
|
|
118494
118494
|
position: e,
|
|
118495
118495
|
virtualScroller: t
|
|
118496
118496
|
}) {
|
|
118497
|
-
const n = GVe(), r = ea(), o =
|
|
118497
|
+
const n = GVe(), r = ea(), o = ft(r, Z0), i = ft(r, jh)[e], s = V.useMemo(() => ({
|
|
118498
118498
|
firstRowIndex: 0,
|
|
118499
118499
|
lastRowIndex: i.length,
|
|
118500
118500
|
firstColumnIndex: o.firstColumnIndex,
|
|
@@ -118567,7 +118567,7 @@ const YVe = {
|
|
|
118567
118567
|
} : {};
|
|
118568
118568
|
return Y({}, e, t);
|
|
118569
118569
|
}, oBe = (e) => {
|
|
118570
|
-
const t = T8(), n = Sa(), r = oNe(), o =
|
|
118570
|
+
const t = T8(), n = Sa(), r = oNe(), o = ft(t, P9), i = ft(t, TDe), s = ft(t, kDe);
|
|
118571
118571
|
return V.useCallback((a, l) => {
|
|
118572
118572
|
const u = r(a, l);
|
|
118573
118573
|
if (a === null || !(n.treeData || e) || a.type === "footer" || a.type === "pinnedRow")
|
|
@@ -120463,14 +120463,14 @@ const h2 = (e, t) => Un(e).add(t, "millisecond").toISOString(), up = (e, t) => U
|
|
|
120463
120463
|
]
|
|
120464
120464
|
}
|
|
120465
120465
|
) }) }), SBe = (e) => {
|
|
120466
|
-
const { onHomeClick: t } = e, n =
|
|
120466
|
+
const { onHomeClick: t } = e, n = ht(Oh), { isLeftPanelShown: r } = ht(Mn), [
|
|
120467
120467
|
o,
|
|
120468
120468
|
i,
|
|
120469
120469
|
s,
|
|
120470
120470
|
a,
|
|
120471
120471
|
l,
|
|
120472
120472
|
u
|
|
120473
|
-
] =
|
|
120473
|
+
] = ht((b) => [
|
|
120474
120474
|
b.selectedTabId,
|
|
120475
120475
|
b.addTab,
|
|
120476
120476
|
b.editTabTitle,
|
|
@@ -121587,7 +121587,7 @@ const aI = (e) => e <= My.ONE_MINUTE ? {
|
|
|
121587
121587
|
t,
|
|
121588
121588
|
r,
|
|
121589
121589
|
n
|
|
121590
|
-
), a =
|
|
121590
|
+
), a = ht.getState().editTabData;
|
|
121591
121591
|
a("classifiersFrameInfo", s.items), e({
|
|
121592
121592
|
classifiersFrameInfo: s.items,
|
|
121593
121593
|
loading: "done"
|
|
@@ -122245,7 +122245,7 @@ function DHe({ labels: e, tagValues: t, onChange: n }) {
|
|
|
122245
122245
|
});
|
|
122246
122246
|
}
|
|
122247
122247
|
function LHe({ setPanelShown: e, isPanelShown: t = !0 }) {
|
|
122248
|
-
const [n, r] = Fe(!1), [o, i] = Fe(!1), { startTime: s, duration: a, feed: l, tabTags: u, tagValues: p, endTime: h, timezone: f } =
|
|
122248
|
+
const [n, r] = Fe(!1), [o, i] = Fe(!1), { startTime: s, duration: a, feed: l, tabTags: u, tagValues: p, endTime: h, timezone: f } = ht(Mn), { getClassifiers: g, fetchLabels: b, tags: y, labels: v } = Uu(), [S, C, w, E, T] = ht((x) => [
|
|
122249
122249
|
x.loadingState,
|
|
122250
122250
|
x.newSiteInfo,
|
|
122251
122251
|
x.newFeeds,
|
|
@@ -122479,7 +122479,7 @@ function _He() {
|
|
|
122479
122479
|
duration: a,
|
|
122480
122480
|
startTime: l,
|
|
122481
122481
|
endTime: u
|
|
122482
|
-
} =
|
|
122482
|
+
} = ht(Mn), { data: p, totalRows: h, getClassifiers: f, fetchDetails: g, loading: b } = Uu(), [y, v] = Fe(0), [S, C] = Fe(100), [w, E] = Fe({ field: "", direction: "" }), [T, k] = ht((P) => [
|
|
122483
122483
|
P.editTabData,
|
|
122484
122484
|
P.siteFeeds
|
|
122485
122485
|
]);
|
|
@@ -124842,7 +124842,7 @@ function yp(e = "") {
|
|
|
124842
124842
|
Ap.BASE = `${e}/api/classification`, Ud.BASE = `${e}/api/action`, lI.BASE = `${e}/api/snapshots`, Wd.BASE = `${e}/api/detections_pixels`, Gd.BASE = `${e}/api/detections_geo`, ky.BASE = `${e}/api/top1`, LL.BASE = `${e}/api/search`, na.BASE = `${e}/api/info`, b0.BASE = `${e}/api/images`;
|
|
124843
124843
|
}
|
|
124844
124844
|
const vp = (e) => {
|
|
124845
|
-
const [t, n, r] =
|
|
124845
|
+
const [t, n, r] = ht(
|
|
124846
124846
|
(o) => [
|
|
124847
124847
|
o.getSitesFeeds,
|
|
124848
124848
|
o.getSiteInfo,
|
|
@@ -124853,7 +124853,7 @@ const vp = (e) => {
|
|
|
124853
124853
|
t({ deploymentId: e }), n({ deploymentId: e }), r({ deploymentId: e });
|
|
124854
124854
|
}, [e, t, n, r]);
|
|
124855
124855
|
}, NZe = (e) => {
|
|
124856
|
-
const { siteId: t, onHomeClick: n, baseUrl: r } = e, [o, i] = Fe(!0), [s] =
|
|
124856
|
+
const { siteId: t, onHomeClick: n, baseUrl: r } = e, [o, i] = Fe(!0), [s] = ht((l) => [l.editTabData]);
|
|
124857
124857
|
yp(r);
|
|
124858
124858
|
const { fetchTags: a } = Uu();
|
|
124859
124859
|
return Pe(() => {
|
|
@@ -129105,7 +129105,7 @@ const vH = "AIzaSyARRJwBmfqqfnNnLYFmUrhRtdUbiR37CVM", $m = ({
|
|
|
129105
129105
|
};
|
|
129106
129106
|
function xUe({ baseUrl: e = "" }) {
|
|
129107
129107
|
var D, M, x, R;
|
|
129108
|
-
const { selectedTableItemId: t, timezone: n, startTime: r, endTime: o } =
|
|
129108
|
+
const { selectedTableItemId: t, timezone: n, startTime: r, endTime: o } = ht(Mn), { siteFeeds: i } = ht(), {
|
|
129109
129109
|
getFeedImages: s,
|
|
129110
129110
|
feedImages: a,
|
|
129111
129111
|
objectImages: l,
|
|
@@ -129274,7 +129274,7 @@ function MUe() {
|
|
|
129274
129274
|
entityType: g,
|
|
129275
129275
|
operations: b,
|
|
129276
129276
|
isLeftPanelShown: y
|
|
129277
|
-
} =
|
|
129277
|
+
} = ht(Mn), {
|
|
129278
129278
|
getCargo: v,
|
|
129279
129279
|
getEntityTypes: S,
|
|
129280
129280
|
getOperationTypes: C,
|
|
@@ -129286,7 +129286,7 @@ function MUe() {
|
|
|
129286
129286
|
I,
|
|
129287
129287
|
N,
|
|
129288
129288
|
$
|
|
129289
|
-
] =
|
|
129289
|
+
] = ht((X) => [
|
|
129290
129290
|
X.loadingState,
|
|
129291
129291
|
X.newSiteInfo,
|
|
129292
129292
|
X.newFeeds,
|
|
@@ -129597,7 +129597,7 @@ function LUe() {
|
|
|
129597
129597
|
operations: l,
|
|
129598
129598
|
entityId: u,
|
|
129599
129599
|
entityType: p
|
|
129600
|
-
} =
|
|
129600
|
+
} = ht(Mn), { data: h, totalRows: f, getCargo: g, loading: b, getDetails: y, hasMore: v } = $L(), [S, C] = Fe(0), [w, E] = Fe(200), [T, k] = Fe([]), [I, N] = Fe([]), [$, P] = Fe(0), [A, D] = ht((ie) => [
|
|
129601
129601
|
ie.editTabData,
|
|
129602
129602
|
ie.newFeeds
|
|
129603
129603
|
]), [M, x] = Fe(""), [R, _] = Fe(
|
|
@@ -129967,7 +129967,7 @@ const m2 = (e) => {
|
|
|
129967
129967
|
}
|
|
129968
129968
|
);
|
|
129969
129969
|
}, UUe = (e) => {
|
|
129970
|
-
const { showSiteName: t = !0, title: n, onHomeClick: r, titleWidth: o } = e, i =
|
|
129970
|
+
const { showSiteName: t = !0, title: n, onHomeClick: r, titleWidth: o } = e, i = ht(Oh), { isLeftPanelShown: s } = ht(Mn), [
|
|
129971
129971
|
a,
|
|
129972
129972
|
l,
|
|
129973
129973
|
u,
|
|
@@ -129975,7 +129975,7 @@ const m2 = (e) => {
|
|
|
129975
129975
|
h,
|
|
129976
129976
|
f,
|
|
129977
129977
|
g
|
|
129978
|
-
] =
|
|
129978
|
+
] = ht((C) => [
|
|
129979
129979
|
C.selectedTabId,
|
|
129980
129980
|
C.addTab,
|
|
129981
129981
|
C.editTabTitle,
|
|
@@ -130010,7 +130010,7 @@ const m2 = (e) => {
|
|
|
130010
130010
|
}
|
|
130011
130011
|
);
|
|
130012
130012
|
}, FZe = (e) => {
|
|
130013
|
-
const { siteId: t, onHomeClick: n, baseUrl: r } = e, { isLeftPanelShown: o } =
|
|
130013
|
+
const { siteId: t, onHomeClick: n, baseUrl: r } = e, { isLeftPanelShown: o } = ht(Mn), [i] = ht((p) => [p.editTabData]);
|
|
130014
130014
|
yp(r), Pe(() => {
|
|
130015
130015
|
document.title = gs.CARGO;
|
|
130016
130016
|
}, []), vp(t), Pe(() => {
|
|
@@ -130147,7 +130147,7 @@ const Ri = Wl((e) => ({
|
|
|
130147
130147
|
isDetectionFailed: !1,
|
|
130148
130148
|
trailLoading: "done",
|
|
130149
130149
|
clearData: () => {
|
|
130150
|
-
const t =
|
|
130150
|
+
const t = ht.getState().selectedTabId;
|
|
130151
130151
|
e((n) => ({
|
|
130152
130152
|
data: [],
|
|
130153
130153
|
snapshotsData: {
|
|
@@ -130179,7 +130179,7 @@ const Ri = Wl((e) => ({
|
|
|
130179
130179
|
n,
|
|
130180
130180
|
o,
|
|
130181
130181
|
r
|
|
130182
|
-
), u = Array.isArray(l.items) ? l.items : [], p =
|
|
130182
|
+
), u = Array.isArray(l.items) ? l.items : [], p = ht.getState().selectedTabId, h = ht.getState().editTabData;
|
|
130183
130183
|
h("feedId", a), e((f) => ({
|
|
130184
130184
|
data: u,
|
|
130185
130185
|
snapshotsData: {
|
|
@@ -130213,7 +130213,7 @@ const Ri = Wl((e) => ({
|
|
|
130213
130213
|
confidence: ca(p.confidence),
|
|
130214
130214
|
color: T6(String(p.track_id)),
|
|
130215
130215
|
selected: !1
|
|
130216
|
-
})) : [], a =
|
|
130216
|
+
})) : [], a = ht.getState().selectedTabId, l = i.time_info.min_start_time, u = i.time_info.max_end_time;
|
|
130217
130217
|
e((p) => ({
|
|
130218
130218
|
frameDetails: s,
|
|
130219
130219
|
frameDetailsData: {
|
|
@@ -130232,7 +130232,7 @@ const Ri = Wl((e) => ({
|
|
|
130232
130232
|
getTopOne: async ({ requestBody: t }) => {
|
|
130233
130233
|
e({ detailsLoading: "pending", error: null });
|
|
130234
130234
|
try {
|
|
130235
|
-
const n = await DL.top1ControllerGetTop1Batch(t), r =
|
|
130235
|
+
const n = await DL.top1ControllerGetTop1Batch(t), r = ht.getState().editTabData;
|
|
130236
130236
|
r("topOne", n.items), e(() => ({
|
|
130237
130237
|
topOne: n.items,
|
|
130238
130238
|
detailsLoading: "done"
|
|
@@ -130266,7 +130266,7 @@ const Ri = Wl((e) => ({
|
|
|
130266
130266
|
const y = await b.blob();
|
|
130267
130267
|
return URL.createObjectURL(y);
|
|
130268
130268
|
}
|
|
130269
|
-
), p = await Promise.all(u), h =
|
|
130269
|
+
), p = await Promise.all(u), h = ht.getState().editTabData;
|
|
130270
130270
|
h("vehicleInfoImages", p), e(() => ({
|
|
130271
130271
|
vehicleInfoImages: p
|
|
130272
130272
|
}));
|
|
@@ -130287,7 +130287,7 @@ const Ri = Wl((e) => ({
|
|
|
130287
130287
|
t,
|
|
130288
130288
|
n,
|
|
130289
130289
|
r
|
|
130290
|
-
), i =
|
|
130290
|
+
), i = ht.getState().editTabData;
|
|
130291
130291
|
i("pixelGeo", o), e(() => ({
|
|
130292
130292
|
pixelGeo: o,
|
|
130293
130293
|
detailsLoading: "done"
|
|
@@ -130306,7 +130306,7 @@ const Ri = Wl((e) => ({
|
|
|
130306
130306
|
t,
|
|
130307
130307
|
n,
|
|
130308
130308
|
r
|
|
130309
|
-
), i =
|
|
130309
|
+
), i = ht.getState().editTabData;
|
|
130310
130310
|
i("geo", o), e(() => ({
|
|
130311
130311
|
geo: o,
|
|
130312
130312
|
detailsLoading: "done"
|
|
@@ -130332,7 +130332,7 @@ const Ri = Wl((e) => ({
|
|
|
130332
130332
|
t,
|
|
130333
130333
|
r,
|
|
130334
130334
|
n
|
|
130335
|
-
), l =
|
|
130335
|
+
), l = ht.getState().editTabData;
|
|
130336
130336
|
l("snapshots", a == null ? void 0 : a.items), e(() => ({
|
|
130337
130337
|
snapshots: a.items,
|
|
130338
130338
|
detailsLoading: "done"
|
|
@@ -130357,7 +130357,7 @@ const Ri = Wl((e) => ({
|
|
|
130357
130357
|
r,
|
|
130358
130358
|
n,
|
|
130359
130359
|
s
|
|
130360
|
-
), l =
|
|
130360
|
+
), l = ht.getState().editTabData;
|
|
130361
130361
|
l("classifierSummaryRight", a.items), e({
|
|
130362
130362
|
classifierSummary: a.items,
|
|
130363
130363
|
totalRows: a.total
|
|
@@ -130368,9 +130368,9 @@ const Ri = Wl((e) => ({
|
|
|
130368
130368
|
},
|
|
130369
130369
|
getDetectionsInfo: async ({ conboKey: t }) => {
|
|
130370
130370
|
e({ isDetectionFailed: !1 });
|
|
130371
|
-
const n =
|
|
130371
|
+
const n = ht.getState().selectedTabId;
|
|
130372
130372
|
try {
|
|
130373
|
-
const r =
|
|
130373
|
+
const r = ht.getState().editTabData, o = await hh.detectionsControllerGetDetectionsInfo(
|
|
130374
130374
|
t
|
|
130375
130375
|
);
|
|
130376
130376
|
r("feedId", o == null ? void 0 : o.assigned_feed), o.count === 0 ? e((i) => ({
|
|
@@ -130583,7 +130583,7 @@ const Ri = Wl((e) => ({
|
|
|
130583
130583
|
fovInfos: []
|
|
130584
130584
|
})),
|
|
130585
130585
|
clearQueryInfo: () => {
|
|
130586
|
-
const t =
|
|
130586
|
+
const t = ht.getState().editTabData;
|
|
130587
130587
|
t("tabFovInfo", null), e({
|
|
130588
130588
|
fovInfo: null
|
|
130589
130589
|
});
|
|
@@ -130605,7 +130605,7 @@ const Ri = Wl((e) => ({
|
|
|
130605
130605
|
try {
|
|
130606
130606
|
const n = await gh.queryInfoControllerGetFovByAssignedFeed(
|
|
130607
130607
|
t
|
|
130608
|
-
), r =
|
|
130608
|
+
), r = ht.getState().editTabData;
|
|
130609
130609
|
r("tabFovInfo", n), e(() => ({
|
|
130610
130610
|
fovInfo: n,
|
|
130611
130611
|
loading: "done"
|
|
@@ -130656,7 +130656,7 @@ const Ri = Wl((e) => ({
|
|
|
130656
130656
|
snapshots: s,
|
|
130657
130657
|
classifierSummaryRight: a,
|
|
130658
130658
|
classifiersFrameInfo: l
|
|
130659
|
-
} =
|
|
130659
|
+
} = ht(Mn), { detailsLoading: u, vehicleInfoImages: p } = Zl(), { kitsElements: h } = bs(), { loading: f } = x1(
|
|
130660
130660
|
"FetchVehicleInfoImages"
|
|
130661
130661
|
), g = n.find((D) => D.id === t) || null, b = qUe(), y = !!(g != null && g.conbo_key), v = f || u === "pending", S = J0(s, e), C = hn(
|
|
130662
130662
|
() => ({
|
|
@@ -130799,7 +130799,7 @@ const Ri = Wl((e) => ({
|
|
|
130799
130799
|
onTabIndexChange: r,
|
|
130800
130800
|
data: o
|
|
130801
130801
|
}) => {
|
|
130802
|
-
const { isDeepSearch: i } =
|
|
130802
|
+
const { isDeepSearch: i } = ht(Mn), [s] = ht((l) => [l.editTabData]), a = (l) => s("isDeepSearch", l.target.checked);
|
|
130803
130803
|
return /* @__PURE__ */ pe.jsxs(pe.Fragment, { children: [
|
|
130804
130804
|
e && /* @__PURE__ */ pe.jsx(tt, { mt: "10px", mb: "16px", children: /* @__PURE__ */ pe.jsx(
|
|
130805
130805
|
Gi,
|
|
@@ -130839,7 +130839,7 @@ function tWe({ isAdmin: e }) {
|
|
|
130839
130839
|
data: k,
|
|
130840
130840
|
displayFeed: I,
|
|
130841
130841
|
isLeftPanelShown: N
|
|
130842
|
-
} =
|
|
130842
|
+
} = ht(Mn), { getSnapshot: $ } = Zl(), { getClassifiersFilterKeys: P } = Uu(), [A, D, M, x, R] = ht((Be) => [
|
|
130843
130843
|
Be.loadingState,
|
|
130844
130844
|
Be.newSiteInfo,
|
|
130845
130845
|
Be.newFeeds,
|
|
@@ -131205,7 +131205,7 @@ const nWe = ({
|
|
|
131205
131205
|
getTotalItems: r,
|
|
131206
131206
|
getElementInSet: o
|
|
131207
131207
|
}) => {
|
|
131208
|
-
const { getTabValueLabelsAndSubLabels: i } = L8(), { timezone: s, isUtc: a } =
|
|
131208
|
+
const { getTabValueLabelsAndSubLabels: i } = L8(), { timezone: s, isUtc: a } = ht(Mn);
|
|
131209
131209
|
return { columns: hn(
|
|
131210
131210
|
() => [
|
|
131211
131211
|
{
|
|
@@ -131462,7 +131462,7 @@ const nWe = ({
|
|
|
131462
131462
|
geo: u,
|
|
131463
131463
|
snapshots: p,
|
|
131464
131464
|
classifierSummary: h
|
|
131465
|
-
} = Zl(), { classifiersFrameInfo: f } = Uu(), [g] =
|
|
131465
|
+
} = Zl(), { classifiersFrameInfo: f } = Uu(), [g] = ht((S) => [S.editTabData]), { shouldFetchCheckboxes: b } = ht(Mn), y = St(
|
|
131466
131466
|
async ({
|
|
131467
131467
|
requestBody: S,
|
|
131468
131468
|
conboKey: C,
|
|
@@ -131520,7 +131520,7 @@ const nWe = ({
|
|
|
131520
131520
|
setRightPanelData: v
|
|
131521
131521
|
};
|
|
131522
131522
|
}, iWe = () => {
|
|
131523
|
-
const { conboKey: e, trailState: t, currentSliderIndex: n, data: r } =
|
|
131523
|
+
const { conboKey: e, trailState: t, currentSliderIndex: n, data: r } = ht(Mn), { frameDetails: o, getTrailDetails: i, clearTrailDetailsData: s } = Zl();
|
|
131524
131524
|
Pe(() => {
|
|
131525
131525
|
var h;
|
|
131526
131526
|
const a = o == null ? void 0 : o.map((f) => f.conbo_key), l = (h = r[n]) == null ? void 0 : h.captureTime, u = kHe(o, l), p = RHe(o, l);
|
|
@@ -131556,7 +131556,7 @@ function AQ({ baseUrl: e = "", isImageAnalysis: t = !1 }) {
|
|
|
131556
131556
|
trailDetails: s,
|
|
131557
131557
|
clearTrailDetailsData: a,
|
|
131558
131558
|
trailLoading: l
|
|
131559
|
-
} = Zl(), [u, p] =
|
|
131559
|
+
} = Zl(), [u, p] = ht((Dt) => [Dt.editTabData, Dt.selectedTabId]), { getTabValueLabelsAndSubLabels: h } = L8(), {
|
|
131560
131560
|
isConboKeyExclusive: f,
|
|
131561
131561
|
conboKey: g,
|
|
131562
131562
|
shouldFetchCheckboxes: b,
|
|
@@ -131580,7 +131580,7 @@ function AQ({ baseUrl: e = "", isImageAnalysis: t = !1 }) {
|
|
|
131580
131580
|
tabFovInfo: _,
|
|
131581
131581
|
fov: O,
|
|
131582
131582
|
feedId: B
|
|
131583
|
-
} =
|
|
131583
|
+
} = ht(Mn), { topOneFilterKeys: H } = zL(), { classifiersFilterKeys: F } = Uu(), { getFovByAssignedFeed: U, fovInfo: X, clearQueryInfo: Q } = bs(), [re, te] = Fe([]), [oe, ce] = Fe(""), [K, ee] = Fe(
|
|
131584
131584
|
D1[0].value
|
|
131585
131585
|
), [ae, he] = Fe("0"), [W, ne] = Fe([]), [z, le] = Fe([]), [ie, q] = Fe(
|
|
131586
131586
|
null
|
|
@@ -131987,7 +131987,7 @@ function AQ({ baseUrl: e = "", isImageAnalysis: t = !1 }) {
|
|
|
131987
131987
|
] });
|
|
131988
131988
|
}
|
|
131989
131989
|
const _Q = () => {
|
|
131990
|
-
const { snapshotsData: e, frameDetailsData: t } = Zl(), [n] =
|
|
131990
|
+
const { snapshotsData: e, frameDetailsData: t } = Zl(), [n] = ht((i) => [i.editTabData]), { id: r, isNewTab: o } = ht(Mn);
|
|
131991
131991
|
Pe(() => {
|
|
131992
131992
|
var i;
|
|
131993
131993
|
if (o)
|
|
@@ -132004,13 +132004,13 @@ const _Q = () => {
|
|
|
132004
132004
|
clearData: r,
|
|
132005
132005
|
clearTrailDetailsData: o,
|
|
132006
132006
|
snapshotsData: i
|
|
132007
|
-
} = Zl(), [s] =
|
|
132007
|
+
} = Zl(), [s] = ht((f) => [f.editTabData]), {
|
|
132008
132008
|
feedId: a,
|
|
132009
132009
|
shouldClearData: l,
|
|
132010
132010
|
id: u,
|
|
132011
132011
|
currentSliderIndex: p,
|
|
132012
132012
|
shouldFetchFrameDetails: h
|
|
132013
|
-
} =
|
|
132013
|
+
} = ht(Mn);
|
|
132014
132014
|
return Pe(() => {
|
|
132015
132015
|
var f, g;
|
|
132016
132016
|
if (h) {
|
|
@@ -132044,7 +132044,7 @@ const _Q = () => {
|
|
|
132044
132044
|
u
|
|
132045
132045
|
]), _Q(), /* @__PURE__ */ pe.jsx(AQ, { baseUrl: e, isImageAnalysis: !0 });
|
|
132046
132046
|
}, aWe = (e) => {
|
|
132047
|
-
const { title: t, onHomeClick: n } = e, r =
|
|
132047
|
+
const { title: t, onHomeClick: n } = e, r = ht(Oh), { isLeftPanelShown: o } = ht(Mn), [
|
|
132048
132048
|
i,
|
|
132049
132049
|
s,
|
|
132050
132050
|
a,
|
|
@@ -132052,7 +132052,7 @@ const _Q = () => {
|
|
|
132052
132052
|
u,
|
|
132053
132053
|
p,
|
|
132054
132054
|
h
|
|
132055
|
-
] =
|
|
132055
|
+
] = ht((v) => [
|
|
132056
132056
|
v.selectedTabId,
|
|
132057
132057
|
v.addTab,
|
|
132058
132058
|
v.editTabTitle,
|
|
@@ -132086,7 +132086,7 @@ const _Q = () => {
|
|
|
132086
132086
|
}
|
|
132087
132087
|
);
|
|
132088
132088
|
}, $Ze = (e) => {
|
|
132089
|
-
const { siteId: t, onHomeClick: n, baseUrl: r, isAdmin: o = !1 } = e, { id: i, isLeftPanelShown: s } =
|
|
132089
|
+
const { siteId: t, onHomeClick: n, baseUrl: r, isAdmin: o = !1 } = e, { id: i, isLeftPanelShown: s } = ht(Mn), [a, l] = ht((v) => [
|
|
132090
132090
|
v.editTabData,
|
|
132091
132091
|
v.clearTabsData
|
|
132092
132092
|
]), { getKitsElements: u, kitsElements: p } = bs(), h = Jn(!0);
|
|
@@ -132231,7 +132231,7 @@ const _Q = () => {
|
|
|
132231
132231
|
snapshots: s,
|
|
132232
132232
|
classifierSummaryRight: a,
|
|
132233
132233
|
classifiersFrameInfo: l
|
|
132234
|
-
} =
|
|
132234
|
+
} = ht(Mn), { detailsLoading: u, vehicleInfoImages: p } = Zl(), { kitsElements: h } = bs(), { loading: f } = x1(
|
|
132235
132235
|
"FetchVehicleInfoImages"
|
|
132236
132236
|
), g = n.find((D) => D.id === t) || null, b = cWe(), y = !!(g != null && g.conbo_key), v = f || u === "pending", S = J0(s, e), C = hn(
|
|
132237
132237
|
() => ({
|
|
@@ -132318,7 +132318,7 @@ const _Q = () => {
|
|
|
132318
132318
|
}
|
|
132319
132319
|
};
|
|
132320
132320
|
function pWe() {
|
|
132321
|
-
const { conboKey: e, feed: t, isConboKeyExclusive: n, id: r, isUtc: o, isLeftPanelShown: i } =
|
|
132321
|
+
const { conboKey: e, feed: t, isConboKeyExclusive: n, id: r, isUtc: o, isLeftPanelShown: i } = ht(Mn), { getDetectionsInfo: s } = Zl(), [a, l, u, p, h] = ht((C) => [
|
|
132322
132322
|
C.loadingState,
|
|
132323
132323
|
C.editTabData,
|
|
132324
132324
|
C.setLoading,
|
|
@@ -132406,7 +132406,7 @@ const hWe = ({ baseUrl: e = "" }) => {
|
|
|
132406
132406
|
clearTrailDetailsData: s,
|
|
132407
132407
|
isDetectionFailed: a,
|
|
132408
132408
|
snapshotsData: l
|
|
132409
|
-
} = Zl(), [u] =
|
|
132409
|
+
} = Zl(), [u] = ht((C) => [C.editTabData]), {
|
|
132410
132410
|
shouldFetchData: p,
|
|
132411
132411
|
feedId: h,
|
|
132412
132412
|
id: f,
|
|
@@ -132414,7 +132414,7 @@ const hWe = ({ baseUrl: e = "" }) => {
|
|
|
132414
132414
|
shouldFetchFrameDetails: b,
|
|
132415
132415
|
isNewTab: y,
|
|
132416
132416
|
frameDetails: v
|
|
132417
|
-
} =
|
|
132417
|
+
} = ht(Mn), S = Jn(l == null ? void 0 : l[f]);
|
|
132418
132418
|
return Pe(() => {
|
|
132419
132419
|
var C, w, E, T;
|
|
132420
132420
|
!a && ((C = r == null ? void 0 : r[f]) != null && C.start_time) && o({
|
|
@@ -132458,7 +132458,7 @@ const hWe = ({ baseUrl: e = "" }) => {
|
|
|
132458
132458
|
v.length
|
|
132459
132459
|
]), _Q(), /* @__PURE__ */ pe.jsx(AQ, { baseUrl: e });
|
|
132460
132460
|
}, fWe = (e) => {
|
|
132461
|
-
const { showSiteName: t = !0, title: n, onHomeClick: r, titleWidth: o } = e, i =
|
|
132461
|
+
const { showSiteName: t = !0, title: n, onHomeClick: r, titleWidth: o } = e, i = ht(Oh), { isLeftPanelShown: s } = ht(Mn), [
|
|
132462
132462
|
a,
|
|
132463
132463
|
l,
|
|
132464
132464
|
u,
|
|
@@ -132466,7 +132466,7 @@ const hWe = ({ baseUrl: e = "" }) => {
|
|
|
132466
132466
|
h,
|
|
132467
132467
|
f,
|
|
132468
132468
|
g
|
|
132469
|
-
] =
|
|
132469
|
+
] = ht((C) => [
|
|
132470
132470
|
C.selectedTabId,
|
|
132471
132471
|
C.addTab,
|
|
132472
132472
|
C.editTabTitle,
|
|
@@ -132501,7 +132501,7 @@ const hWe = ({ baseUrl: e = "" }) => {
|
|
|
132501
132501
|
}
|
|
132502
132502
|
);
|
|
132503
132503
|
}, VZe = (e) => {
|
|
132504
|
-
const { siteId: t, onHomeClick: n, baseUrl: r } = e, { id: o, isLeftPanelShown: i } =
|
|
132504
|
+
const { siteId: t, onHomeClick: n, baseUrl: r } = e, { id: o, isLeftPanelShown: i } = ht(Mn), [s, a] = ht((b) => [
|
|
132505
132505
|
b.editTabData,
|
|
132506
132506
|
b.clearTabsData
|
|
132507
132507
|
]), l = Jn(!0), { getKitsElements: u } = bs();
|
|
@@ -132624,7 +132624,7 @@ function bWe({ baseUrl: e = "" }) {
|
|
|
132624
132624
|
geo: i,
|
|
132625
132625
|
snapshots: s,
|
|
132626
132626
|
classifierSummaryRight: a
|
|
132627
|
-
} =
|
|
132627
|
+
} = ht(Mn), { detailsLoading: l, vehicleInfoImages: u } = Zl(), { getTabValueLabelsAndSubLabels: p } = L8(), { loading: h } = x1(
|
|
132628
132628
|
"FetchVehicleInfoImages"
|
|
132629
132629
|
), [f, g] = Fe(!1);
|
|
132630
132630
|
Pe(() => {
|
|
@@ -132727,7 +132727,7 @@ const SH = {
|
|
|
132727
132727
|
height: "20px"
|
|
132728
132728
|
}
|
|
132729
132729
|
}, yWe = ({ params: e, setCenterCoordinates: t }) => {
|
|
132730
|
-
const { selectedTableItemId: n } =
|
|
132730
|
+
const { selectedTableItemId: n } = ht(Mn), r = {
|
|
132731
132731
|
lat: e == null ? void 0 : e.value[1],
|
|
132732
132732
|
lng: e == null ? void 0 : e.value[0]
|
|
132733
132733
|
}, o = n === (e == null ? void 0 : e.id) ? Yo : "#999999";
|
|
@@ -132759,7 +132759,7 @@ const vWe = ({
|
|
|
132759
132759
|
setCenterCoordinates: i,
|
|
132760
132760
|
disabled: s = !0
|
|
132761
132761
|
}) => {
|
|
132762
|
-
const { getTabValueLabelsAndSubLabels: a } = L8(), { timezone: l, isUtc: u } =
|
|
132762
|
+
const { getTabValueLabelsAndSubLabels: a } = L8(), { timezone: l, isUtc: u } = ht(Mn);
|
|
132763
132763
|
return { columns: hn(
|
|
132764
132764
|
() => [
|
|
132765
132765
|
{
|
|
@@ -132963,7 +132963,7 @@ const vWe = ({
|
|
|
132963
132963
|
loading: "done",
|
|
132964
132964
|
error: null,
|
|
132965
132965
|
clearData: () => e((t) => {
|
|
132966
|
-
const n =
|
|
132966
|
+
const n = ht.getState().selectedTabId, r = ht.getState().editTabData;
|
|
132967
132967
|
return r("entitySearchData", []), r("hasMoreEntitySearchData", !1), {
|
|
132968
132968
|
entitySearchData: {
|
|
132969
132969
|
...t.entitySearchData,
|
|
@@ -132972,7 +132972,7 @@ const vWe = ({
|
|
|
132972
132972
|
};
|
|
132973
132973
|
}),
|
|
132974
132974
|
getEntitySearchData: async ({ startTime: t, endTime: n, body: r, skip: o, take: i }) => {
|
|
132975
|
-
const s =
|
|
132975
|
+
const s = ht.getState().editTabData;
|
|
132976
132976
|
e(() => ({ loading: "pending", error: null }));
|
|
132977
132977
|
try {
|
|
132978
132978
|
const a = await eUe.searchControllerGetEntities(
|
|
@@ -132993,7 +132993,7 @@ const vWe = ({
|
|
|
132993
132993
|
}
|
|
132994
132994
|
);
|
|
132995
132995
|
s("entitySearchData", l), s("hasMoreEntitySearchData", a.details.hasMore);
|
|
132996
|
-
const u = Array.isArray(l) ? l : [], p =
|
|
132996
|
+
const u = Array.isArray(l) ? l : [], p = ht.getState().selectedTabId;
|
|
132997
132997
|
e((h) => ({
|
|
132998
132998
|
entitySearchData: {
|
|
132999
132999
|
...h.entitySearchData,
|
|
@@ -133025,7 +133025,7 @@ const vWe = ({
|
|
|
133025
133025
|
geo: l,
|
|
133026
133026
|
snapshots: u,
|
|
133027
133027
|
classifierSummary: p
|
|
133028
|
-
} = Zl(), { classifiersFrameInfo: h } = Uu(), [f] =
|
|
133028
|
+
} = Zl(), { classifiersFrameInfo: h } = Uu(), [f] = ht((y) => [y.editTabData]), g = St(
|
|
133029
133029
|
({
|
|
133030
133030
|
requestBody: y,
|
|
133031
133031
|
conboKey: v,
|
|
@@ -133072,7 +133072,7 @@ const vWe = ({
|
|
|
133072
133072
|
nr.extend(f2);
|
|
133073
133073
|
nr.extend($h);
|
|
133074
133074
|
function EWe() {
|
|
133075
|
-
const { getTabValueLabelsAndSubLabels: e } = L8(), { fetchEntityRightPanelData: t, setRightPanelData: n } = SWe(), [r, o, i] =
|
|
133075
|
+
const { getTabValueLabelsAndSubLabels: e } = L8(), { fetchEntityRightPanelData: t, setRightPanelData: n } = SWe(), [r, o, i] = ht((gt) => [gt.editTabData, gt.selectedTabId, gt.newFeeds]), {
|
|
133076
133076
|
conboKey: s,
|
|
133077
133077
|
title: a,
|
|
133078
133078
|
callDate: l,
|
|
@@ -133093,7 +133093,7 @@ function EWe() {
|
|
|
133093
133093
|
currentSliderIndex: I,
|
|
133094
133094
|
isGeoSearch: N,
|
|
133095
133095
|
polygonPath: $
|
|
133096
|
-
} =
|
|
133096
|
+
} = ht(Mn), { getEntitySearchData: P, loading: A, clearData: D } = Vh(), { topOneFilterKeys: M } = zL(), { classifiersFilterKeys: x } = Uu(), [R, _] = Fe([]), [O, B] = Fe(""), [H, F] = Fe(
|
|
133097
133097
|
D1[0].value
|
|
133098
133098
|
), [U, X] = Fe("0"), [Q, re] = Fe("50vh"), [te, oe] = Fe(null), [ce, K] = Fe(!1), [ee, ae] = Fe(C), [he, W] = Fe(ee), [ne, z] = Fe(
|
|
133099
133099
|
iz.filter((gt) => gt.label !== "FOV")
|
|
@@ -133482,7 +133482,7 @@ function EWe() {
|
|
|
133482
133482
|
] });
|
|
133483
133483
|
}
|
|
133484
133484
|
const kWe = () => {
|
|
133485
|
-
const { entitySearchData: e } = Vh(), [t] =
|
|
133485
|
+
const { entitySearchData: e } = Vh(), [t] = ht((o) => [o.editTabData]), { id: n, isNewTab: r } = ht(Mn);
|
|
133486
133486
|
return Pe(() => {
|
|
133487
133487
|
r ? t("entitySearchData", []) : t("entitySearchData", e[n] || []);
|
|
133488
133488
|
}, [t, r, n, e]), /* @__PURE__ */ pe.jsx(EWe, {});
|
|
@@ -133510,7 +133510,7 @@ function MWe({ isAdmin: e }) {
|
|
|
133510
133510
|
isDeepSearch: C,
|
|
133511
133511
|
isGeoSearch: w,
|
|
133512
133512
|
isLeftPanelShown: E
|
|
133513
|
-
} =
|
|
133513
|
+
} = ht(Mn), { getEntitySearchData: T, entitySearchData: k } = Vh(), { kitsElements: I } = bs(), [N, $, P, A, D] = ht((ue) => [
|
|
133514
133514
|
ue.loadingState,
|
|
133515
133515
|
ue.newSiteInfo,
|
|
133516
133516
|
ue.newFeeds,
|
|
@@ -133770,7 +133770,7 @@ function MWe({ isAdmin: e }) {
|
|
|
133770
133770
|
);
|
|
133771
133771
|
}
|
|
133772
133772
|
const OWe = (e) => {
|
|
133773
|
-
const { showSiteName: t = !0, title: n, onHomeClick: r } = e, o =
|
|
133773
|
+
const { showSiteName: t = !0, title: n, onHomeClick: r } = e, o = ht(Oh), { isLeftPanelShown: i } = ht(Mn), [
|
|
133774
133774
|
s,
|
|
133775
133775
|
a,
|
|
133776
133776
|
l,
|
|
@@ -133778,7 +133778,7 @@ const OWe = (e) => {
|
|
|
133778
133778
|
p,
|
|
133779
133779
|
h,
|
|
133780
133780
|
f
|
|
133781
|
-
] =
|
|
133781
|
+
] = ht((S) => [
|
|
133782
133782
|
S.selectedTabId,
|
|
133783
133783
|
S.addTab,
|
|
133784
133784
|
S.editTabTitle,
|
|
@@ -133812,7 +133812,7 @@ const OWe = (e) => {
|
|
|
133812
133812
|
}
|
|
133813
133813
|
);
|
|
133814
133814
|
}, BZe = (e) => {
|
|
133815
|
-
const { siteId: t, onHomeClick: n, baseUrl: r, isAdmin: o } = e, { id: i, isLeftPanelShown: s } =
|
|
133815
|
+
const { siteId: t, onHomeClick: n, baseUrl: r, isAdmin: o } = e, { id: i, isLeftPanelShown: s } = ht(Mn), [a] = ht((y) => [y.editTabData]), { getKitsElements: l, kitsElements: u } = bs(), p = Jn(!0);
|
|
133816
133816
|
yp(r), Pe(() => {
|
|
133817
133817
|
const y = u.map((S) => S.kit_id), v = [...new Set(y)];
|
|
133818
133818
|
a("infoKitsIds", v);
|
|
@@ -137936,14 +137936,14 @@ const sqe = (e, t) => {
|
|
|
137936
137936
|
loading: !1,
|
|
137937
137937
|
error: null,
|
|
137938
137938
|
clearData: () => {
|
|
137939
|
-
const t =
|
|
137939
|
+
const t = ht.getState().editTabData;
|
|
137940
137940
|
t("allReids", []), e({
|
|
137941
137941
|
loading: !1
|
|
137942
137942
|
});
|
|
137943
137943
|
},
|
|
137944
137944
|
findAllReids: async ({ conboKey: t, baseUrl: n }) => {
|
|
137945
137945
|
e(() => ({ loading: !0, error: null }));
|
|
137946
|
-
const r =
|
|
137946
|
+
const r = ht.getState().editTabData;
|
|
137947
137947
|
try {
|
|
137948
137948
|
const o = await lqe({ conboKey: t, baseUrl: n });
|
|
137949
137949
|
r("allReids", iqe(o)), e(() => ({
|
|
@@ -137962,7 +137962,7 @@ const sqe = (e, t) => {
|
|
|
137962
137962
|
conboMatchExlusiveValue: r,
|
|
137963
137963
|
conboMatchUtcValue: o,
|
|
137964
137964
|
conboMatchInputError: i
|
|
137965
|
-
} =
|
|
137965
|
+
} = ht(Mn), [s] = ht((y) => [y.editTabData]), a = qWe({
|
|
137966
137966
|
defaultValues: {
|
|
137967
137967
|
...NH.shape,
|
|
137968
137968
|
conboKey: n,
|
|
@@ -138380,7 +138380,7 @@ const sqe = (e, t) => {
|
|
|
138380
138380
|
loading: !1,
|
|
138381
138381
|
error: null,
|
|
138382
138382
|
clearDetectionsStore: () => {
|
|
138383
|
-
const t =
|
|
138383
|
+
const t = ht.getState().editTabData;
|
|
138384
138384
|
t("detectionsInfo", null), t("detectionsPixel", null), t("detectionsGeo", null), t("trailInfoPixel", []), t("trailInfoGeo", []), e(() => ({
|
|
138385
138385
|
loading: !1
|
|
138386
138386
|
}));
|
|
@@ -138394,7 +138394,7 @@ const sqe = (e, t) => {
|
|
|
138394
138394
|
endTime: s
|
|
138395
138395
|
}) => {
|
|
138396
138396
|
e(() => ({ loading: !0, error: null }));
|
|
138397
|
-
const a =
|
|
138397
|
+
const a = ht.getState().editTabData;
|
|
138398
138398
|
try {
|
|
138399
138399
|
const l = await hh.detectionsControllerGetDetections(
|
|
138400
138400
|
i,
|
|
@@ -138420,7 +138420,7 @@ const sqe = (e, t) => {
|
|
|
138420
138420
|
endTime: s
|
|
138421
138421
|
}) => {
|
|
138422
138422
|
e(() => ({ loading: !0, error: null }));
|
|
138423
|
-
const a =
|
|
138423
|
+
const a = ht.getState().editTabData;
|
|
138424
138424
|
try {
|
|
138425
138425
|
const l = await Fv.detectionsControllerGetDetections(
|
|
138426
138426
|
i,
|
|
@@ -138439,7 +138439,7 @@ const sqe = (e, t) => {
|
|
|
138439
138439
|
},
|
|
138440
138440
|
getTrailInfoPixel: async ({ requestBody: t, startTime: n, endTime: r }) => {
|
|
138441
138441
|
e(() => ({ loading: !0, error: null }));
|
|
138442
|
-
const o =
|
|
138442
|
+
const o = ht.getState().editTabData;
|
|
138443
138443
|
try {
|
|
138444
138444
|
const s = (await hh.detectionsControllerGetTrailDetails(
|
|
138445
138445
|
t,
|
|
@@ -138458,7 +138458,7 @@ const sqe = (e, t) => {
|
|
|
138458
138458
|
},
|
|
138459
138459
|
getTrailInfoGeo: async ({ requestBody: t, startTime: n, endTime: r }) => {
|
|
138460
138460
|
e(() => ({ loading: !0, error: null }));
|
|
138461
|
-
const o =
|
|
138461
|
+
const o = ht.getState().editTabData;
|
|
138462
138462
|
try {
|
|
138463
138463
|
const i = await Fv.detectionsControllerGetTrailDetails(
|
|
138464
138464
|
t,
|
|
@@ -138474,7 +138474,7 @@ const sqe = (e, t) => {
|
|
|
138474
138474
|
},
|
|
138475
138475
|
getDetectionsInfo: async ({ conboKey: t }) => {
|
|
138476
138476
|
e(() => ({ loading: !0, error: null }));
|
|
138477
|
-
const n =
|
|
138477
|
+
const n = ht.getState().editTabData;
|
|
138478
138478
|
try {
|
|
138479
138479
|
const r = await hh.detectionsControllerGetDetectionsInfo(
|
|
138480
138480
|
t
|
|
@@ -138494,7 +138494,7 @@ const sqe = (e, t) => {
|
|
|
138494
138494
|
}
|
|
138495
138495
|
}
|
|
138496
138496
|
})), uqe = ({ baseUrl: e }) => {
|
|
138497
|
-
const t = U9(), { findAllReids: n } = z9(), { getDetectionsInfo: r } = Um(), [o] =
|
|
138497
|
+
const t = U9(), { findAllReids: n } = z9(), { getDetectionsInfo: r } = Um(), [o] = ht((a) => [a.editTabData]), i = async (a) => {
|
|
138498
138498
|
try {
|
|
138499
138499
|
o("title", a.conboKey), o("color", "yellow"), await n(a), await r({ conboKey: a.conboKey }), o("color", "green");
|
|
138500
138500
|
} catch {
|
|
@@ -138507,14 +138507,14 @@ const sqe = (e, t) => {
|
|
|
138507
138507
|
onHomeClick: t,
|
|
138508
138508
|
isLoading: n
|
|
138509
138509
|
}) => {
|
|
138510
|
-
const r =
|
|
138510
|
+
const r = ht(Oh), { isLeftPanelShown: o } = ht(Mn), [
|
|
138511
138511
|
i,
|
|
138512
138512
|
s,
|
|
138513
138513
|
a,
|
|
138514
138514
|
l,
|
|
138515
138515
|
u,
|
|
138516
138516
|
p
|
|
138517
|
-
] =
|
|
138517
|
+
] = ht((y) => [
|
|
138518
138518
|
y.selectedTabId,
|
|
138519
138519
|
y.addTab,
|
|
138520
138520
|
y.editTabTitle,
|
|
@@ -138721,7 +138721,7 @@ const sqe = (e, t) => {
|
|
|
138721
138721
|
conboKey: u,
|
|
138722
138722
|
vehicleInfoImages: p,
|
|
138723
138723
|
rightPanelLoader: h
|
|
138724
|
-
} =
|
|
138724
|
+
} = ht(Mn), f = ($ = i == null ? void 0 : i.geometry) == null ? void 0 : $.coordinates, g = (P = o == null ? void 0 : o.geometry) == null ? void 0 : P.coordinates, b = J0(s, e), y = n != -1, v = hn(
|
|
138725
138725
|
() => ({
|
|
138726
138726
|
feedImages: b,
|
|
138727
138727
|
objectImages: p
|
|
@@ -138794,7 +138794,7 @@ const sqe = (e, t) => {
|
|
|
138794
138794
|
}
|
|
138795
138795
|
);
|
|
138796
138796
|
}, gqe = (e) => {
|
|
138797
|
-
const { isUtc: t, timezone: n } =
|
|
138797
|
+
const { isUtc: t, timezone: n } = ht(Mn);
|
|
138798
138798
|
return { columns: hn(
|
|
138799
138799
|
() => [
|
|
138800
138800
|
{
|
|
@@ -138891,7 +138891,7 @@ const sqe = (e, t) => {
|
|
|
138891
138891
|
onlyTime: !0,
|
|
138892
138892
|
timezone: t
|
|
138893
138893
|
})}`, Cqe = () => {
|
|
138894
|
-
const e = U9(), { allReids: t, detectionsInfo: n, selectedTableItemId: r, title: o } =
|
|
138894
|
+
const e = U9(), { allReids: t, detectionsInfo: n, selectedTableItemId: r, title: o } = ht(Mn), i = sqe(t, n), { fetchRightPanelData: s } = WL(), { loading: a } = z9(), [l, u] = ht((v) => [
|
|
138895
138895
|
v.editTabData,
|
|
138896
138896
|
v.newFeeds
|
|
138897
138897
|
]), p = St(
|
|
@@ -138934,15 +138934,21 @@ const sqe = (e, t) => {
|
|
|
138934
138934
|
/* @__PURE__ */ pe.jsx(tt, { children: /* @__PURE__ */ pe.jsx(Au, { tabsContent: b, tabs: y, tabsWidth: "40%" }) })
|
|
138935
138935
|
] });
|
|
138936
138936
|
}, HZe = (e) => {
|
|
138937
|
-
const { siteId: t, onHomeClick: n, baseUrl: r = "" } = e, { isLeftPanelShown: o } =
|
|
138937
|
+
const { siteId: t, onHomeClick: n, baseUrl: r = "" } = e, { isLeftPanelShown: o } = ht(Mn), { loading: i } = x1("FetchAllTabs"), { loading: s } = x1("FetchConfiguration"), { loading: a } = x1("FetchKitsElements"), {
|
|
138938
138938
|
onFetchKitsElements: l,
|
|
138939
138939
|
onFetchAllTabs: u,
|
|
138940
138940
|
onFetchConfiguration: p,
|
|
138941
138941
|
clearStore: h
|
|
138942
|
-
} = lee(), { clearDetectionsStore: f } = Um(), g = U9(), { clearData: b, loading: y } = z9();
|
|
138942
|
+
} = lee(), { clearDetectionsStore: f } = Um(), g = U9(), { clearData: b, loading: y } = z9(), [v] = ht((T) => [T.clearTabsData]);
|
|
138943
138943
|
if (yp(r), vp(t), Pe(() => (document.title = gs.CONBO_MATCH, u(), () => {
|
|
138944
|
-
h(), b(), f();
|
|
138945
|
-
}), [
|
|
138944
|
+
h(), b(), f(), v();
|
|
138945
|
+
}), [
|
|
138946
|
+
b,
|
|
138947
|
+
f,
|
|
138948
|
+
h,
|
|
138949
|
+
v,
|
|
138950
|
+
u
|
|
138951
|
+
]), Pe(() => {
|
|
138946
138952
|
g || (l({ siteId: t }), p({ deploymentId: t }));
|
|
138947
138953
|
}, [g]), i || a || s)
|
|
138948
138954
|
return /* @__PURE__ */ pe.jsx(
|
|
@@ -138957,22 +138963,22 @@ const sqe = (e, t) => {
|
|
|
138957
138963
|
);
|
|
138958
138964
|
if (!g)
|
|
138959
138965
|
return null;
|
|
138960
|
-
const
|
|
138966
|
+
const S = /* @__PURE__ */ pe.jsx(
|
|
138961
138967
|
dqe,
|
|
138962
138968
|
{
|
|
138963
138969
|
title: gs.CONBO_MATCH,
|
|
138964
138970
|
onHomeClick: n,
|
|
138965
138971
|
isLoading: y
|
|
138966
138972
|
}
|
|
138967
|
-
),
|
|
138973
|
+
), C = /* @__PURE__ */ pe.jsx(uqe, { baseUrl: r }), w = /* @__PURE__ */ pe.jsx(Cqe, {}), E = /* @__PURE__ */ pe.jsx(mqe, { baseUrl: r });
|
|
138968
138974
|
return /* @__PURE__ */ pe.jsx(
|
|
138969
138975
|
m2,
|
|
138970
138976
|
{
|
|
138971
138977
|
isLeftPanelShown: o,
|
|
138972
|
-
header:
|
|
138973
|
-
sidebarLeft:
|
|
138974
|
-
content:
|
|
138975
|
-
sidebarRight:
|
|
138978
|
+
header: S,
|
|
138979
|
+
sidebarLeft: C,
|
|
138980
|
+
content: w,
|
|
138981
|
+
sidebarRight: E,
|
|
138976
138982
|
baseUrl: r
|
|
138977
138983
|
}
|
|
138978
138984
|
);
|
|
@@ -139543,14 +139549,14 @@ const sqe = (e, t) => {
|
|
|
139543
139549
|
loading: !1,
|
|
139544
139550
|
error: null,
|
|
139545
139551
|
clearLatestSnapshots: () => {
|
|
139546
|
-
const t =
|
|
139552
|
+
const t = ht.getState().editTabData;
|
|
139547
139553
|
t("latestSnapshot", null), e(() => ({
|
|
139548
139554
|
latestSnapshots: [],
|
|
139549
139555
|
loading: !1
|
|
139550
139556
|
}));
|
|
139551
139557
|
},
|
|
139552
139558
|
clearImages: () => {
|
|
139553
|
-
const t =
|
|
139559
|
+
const t = ht.getState().editTabData;
|
|
139554
139560
|
t("imagesByKeys", []), e(() => ({
|
|
139555
139561
|
loading: !1
|
|
139556
139562
|
}));
|
|
@@ -139613,7 +139619,7 @@ const sqe = (e, t) => {
|
|
|
139613
139619
|
try {
|
|
139614
139620
|
const n = await E6.snapshotControllerGetLatestSnapshot(
|
|
139615
139621
|
t
|
|
139616
|
-
), r =
|
|
139622
|
+
), r = ht.getState().editTabData;
|
|
139617
139623
|
r("latestSnapshot", n), e(() => ({
|
|
139618
139624
|
latestSnapshot: n,
|
|
139619
139625
|
loading: !1
|
|
@@ -139623,7 +139629,7 @@ const sqe = (e, t) => {
|
|
|
139623
139629
|
}
|
|
139624
139630
|
},
|
|
139625
139631
|
getImagesByKeys: async ({ body: t }) => {
|
|
139626
|
-
const n =
|
|
139632
|
+
const n = ht.getState().editTabData;
|
|
139627
139633
|
e(() => ({ loading: !0, error: null }));
|
|
139628
139634
|
try {
|
|
139629
139635
|
const r = await FL.imagesControllerFindImagesByKeys(t);
|
|
@@ -139660,7 +139666,7 @@ const sqe = (e, t) => {
|
|
|
139660
139666
|
isError: o.innerError
|
|
139661
139667
|
};
|
|
139662
139668
|
})) || [], qqe = (e) => {
|
|
139663
|
-
const { getLatestSnapshots: t } = g2(), { getFovInfos: n } = bs(), [r] =
|
|
139669
|
+
const { getLatestSnapshots: t } = g2(), { getFovInfos: n } = bs(), [r] = ht((o) => [o.newFeeds]);
|
|
139664
139670
|
Pe(() => {
|
|
139665
139671
|
const o = r.map((s) => s.assigned_feed_id);
|
|
139666
139672
|
(async () => {
|
|
@@ -139676,7 +139682,7 @@ const sqe = (e, t) => {
|
|
|
139676
139682
|
baseUrl: t,
|
|
139677
139683
|
onHomeClick: n
|
|
139678
139684
|
}) => {
|
|
139679
|
-
const [r, o] = Fe(!1), [i, s] = Fe(!1), { latestSnapshots: a, clearLatestSnapshots: l } = g2(), { fovInfos: u, clearFovInfos: p } = bs(), [h, f] =
|
|
139685
|
+
const [r, o] = Fe(!1), [i, s] = Fe(!1), { latestSnapshots: a, clearLatestSnapshots: l } = g2(), { fovInfos: u, clearFovInfos: p } = bs(), [h, f] = ht((S) => [
|
|
139680
139686
|
S.deploymentConfiguration,
|
|
139681
139687
|
S.newFeeds
|
|
139682
139688
|
]);
|
|
@@ -139743,7 +139749,7 @@ const sqe = (e, t) => {
|
|
|
139743
139749
|
}
|
|
139744
139750
|
);
|
|
139745
139751
|
}, Zqe = ({ title: e, onHomeClick: t }) => {
|
|
139746
|
-
const n =
|
|
139752
|
+
const n = ht(Oh), { isLeftPanelShown: r } = ht(Mn), [
|
|
139747
139753
|
o,
|
|
139748
139754
|
i,
|
|
139749
139755
|
s,
|
|
@@ -139751,7 +139757,7 @@ const sqe = (e, t) => {
|
|
|
139751
139757
|
l,
|
|
139752
139758
|
u,
|
|
139753
139759
|
p
|
|
139754
|
-
] =
|
|
139760
|
+
] = ht((y) => [
|
|
139755
139761
|
y.selectedTabId,
|
|
139756
139762
|
y.addTab,
|
|
139757
139763
|
y.editTabTitle,
|
|
@@ -140097,7 +140103,7 @@ const sqe = (e, t) => {
|
|
|
140097
140103
|
styles: t || r
|
|
140098
140104
|
};
|
|
140099
140105
|
}, dYe = () => {
|
|
140100
|
-
const { fov: e, trailInfoPixel: t, trailInfoGeo: n, tabFovInfo: r } =
|
|
140106
|
+
const { fov: e, trailInfoPixel: t, trailInfoGeo: n, tabFovInfo: r } = ht(Mn), [o, i] = Fe([]), [s, a] = Fe([]);
|
|
140101
140107
|
return Pe(() => {
|
|
140102
140108
|
var l;
|
|
140103
140109
|
if (t.length && n.length) {
|
|
@@ -140127,7 +140133,7 @@ const sqe = (e, t) => {
|
|
|
140127
140133
|
geoCoordinates: s
|
|
140128
140134
|
};
|
|
140129
140135
|
}, pYe = () => {
|
|
140130
|
-
const { detectionsPixel: e, detectionsGeo: t, isNewSearch: n } =
|
|
140136
|
+
const { detectionsPixel: e, detectionsGeo: t, isNewSearch: n } = ht(Mn), { getTrailInfoPixel: r, getTrailInfoGeo: o } = Um(), { getLatestSnapshot: i } = g2(), { getFovByAssignedFeed: s } = bs(), [a] = ht((f) => [f.editTabData]), l = St(async () => {
|
|
140131
140137
|
if (e != null && e.items.length && n) {
|
|
140132
140138
|
const f = e.items[0].assigned_feed;
|
|
140133
140139
|
await s({
|
|
@@ -140180,7 +140186,7 @@ const sqe = (e, t) => {
|
|
|
140180
140186
|
p
|
|
140181
140187
|
]);
|
|
140182
140188
|
}, hYe = ({ baseUrl: e }) => {
|
|
140183
|
-
const { loading: t } = Um(), { pixelCoordinates: n, geoCoordinates: r } = dYe(), [o] =
|
|
140189
|
+
const { loading: t } = Um(), { pixelCoordinates: n, geoCoordinates: r } = dYe(), [o] = ht((g) => [g.editTabData]), { latestSnapshot: i, detectionsPixel: s, detectionsGeo: a, fov: l, showInfoText: u } = ht(Mn);
|
|
140184
140190
|
pYe();
|
|
140185
140191
|
const p = hn(
|
|
140186
140192
|
() => uQ(
|
|
@@ -140303,7 +140309,7 @@ const sqe = (e, t) => {
|
|
|
140303
140309
|
displayFeed: v,
|
|
140304
140310
|
isLeftPanelShown: S,
|
|
140305
140311
|
objectsLimit: C
|
|
140306
|
-
} =
|
|
140312
|
+
} = ht(Mn), { getDetectionsPixel: w, getDetectionsGeo: E } = Um(), [T, k, I, N, $] = ht((de) => [
|
|
140307
140313
|
de.loadingState,
|
|
140308
140314
|
de.newSiteInfo,
|
|
140309
140315
|
de.newFeeds,
|
|
@@ -140544,12 +140550,12 @@ const sqe = (e, t) => {
|
|
|
140544
140550
|
}
|
|
140545
140551
|
);
|
|
140546
140552
|
}, CYe = () => {
|
|
140547
|
-
const { clearDetectionsStore: e } = Um(), { clearLatestSnapshots: t } = g2(), [n] =
|
|
140553
|
+
const { clearDetectionsStore: e } = Um(), { clearLatestSnapshots: t } = g2(), [n] = ht((r) => [r.editTabData]);
|
|
140548
140554
|
Pe(() => () => {
|
|
140549
140555
|
e(), t(), n("objectsLimit", null), n("displayFeed", []), n("feed", []), n("startTime", /* @__PURE__ */ new Date()), n("endTime", /* @__PURE__ */ new Date()), n("fov", !1), n("showInfoText", !1);
|
|
140550
140556
|
}, [e, t, n]);
|
|
140551
140557
|
}, UZe = ({ siteId: e, onHomeClick: t, baseUrl: n }) => {
|
|
140552
|
-
const { isLeftPanelShown: r } =
|
|
140558
|
+
const { isLeftPanelShown: r } = ht(Mn);
|
|
140553
140559
|
return Pe(() => {
|
|
140554
140560
|
document.title = gs.HEAT_MAP;
|
|
140555
140561
|
}, []), CYe(), yp(n), vp(e), /* @__PURE__ */ pe.jsx(
|
|
@@ -140734,7 +140740,7 @@ const sqe = (e, t) => {
|
|
|
140734
140740
|
conboKey: l,
|
|
140735
140741
|
vehicleInfoImages: u,
|
|
140736
140742
|
rightPanelLoader: p
|
|
140737
|
-
} =
|
|
140743
|
+
} = ht(Mn), { kitsElements: h } = bs(), f = (N = o == null ? void 0 : o.geometry) == null ? void 0 : N.coordinates, g = ($ = r == null ? void 0 : r.geometry) == null ? void 0 : $.coordinates, b = J0(i, e), y = t != "", v = hn(
|
|
140738
140744
|
() => ({
|
|
140739
140745
|
feedImages: b,
|
|
140740
140746
|
objectImages: u
|
|
@@ -140811,7 +140817,7 @@ const sqe = (e, t) => {
|
|
|
140811
140817
|
localStartTime: t,
|
|
140812
140818
|
localEndTime: n
|
|
140813
140819
|
}) => {
|
|
140814
|
-
const [r, o] =
|
|
140820
|
+
const [r, o] = ht((a) => [
|
|
140815
140821
|
a.newSiteInfo,
|
|
140816
140822
|
a.editTabData
|
|
140817
140823
|
]), [i, s] = Fe(
|
|
@@ -140833,7 +140839,7 @@ const sqe = (e, t) => {
|
|
|
140833
140839
|
timezone: i
|
|
140834
140840
|
};
|
|
140835
140841
|
}, j8 = (e) => {
|
|
140836
|
-
const { startTime: t, endTime: n, feed: r, duration: o } =
|
|
140842
|
+
const { startTime: t, endTime: n, feed: r, duration: o } = ht(Mn), [i, s] = ht((te) => [
|
|
140837
140843
|
te.newFeeds,
|
|
140838
140844
|
te.editTabData
|
|
140839
140845
|
]), [a, l] = Fe(!1), [u, p] = Fe(!1), [h, f] = Fe(t), [g, b] = Fe(n), [y, v] = Fe(!1), [S, C] = Fe(""), [w, E] = Fe(""), [T, k] = Fe(""), [I, N] = Fe({}), { timezone: $ } = EYe({
|
|
@@ -140946,7 +140952,7 @@ const sqe = (e, t) => {
|
|
|
140946
140952
|
details: s,
|
|
140947
140953
|
feed: a,
|
|
140948
140954
|
shouldFetchEntityData: l
|
|
140949
|
-
} =
|
|
140955
|
+
} = ht(Mn), { kitsElements: u } = bs(), [p, h] = ht((E) => [
|
|
140950
140956
|
E.newFeeds,
|
|
140951
140957
|
E.editTabData
|
|
140952
140958
|
]), { localStartTime: f, timezone: g, checked: b, localEndTime: y } = j8(), { getEntitySearchData: v } = Vh(), S = Jn(null), C = n[Number(e)], w = St(async () => {
|
|
@@ -141169,7 +141175,7 @@ const sqe = (e, t) => {
|
|
|
141169
141175
|
}
|
|
141170
141176
|
);
|
|
141171
141177
|
}, gI = () => {
|
|
141172
|
-
const { feed: e, duration: t } =
|
|
141178
|
+
const { feed: e, duration: t } = ht(Mn), [n, r, o] = ht((g) => [
|
|
141173
141179
|
g.newFeeds,
|
|
141174
141180
|
g.editTabData,
|
|
141175
141181
|
g.setLoading
|
|
@@ -141223,7 +141229,7 @@ const sqe = (e, t) => {
|
|
|
141223
141229
|
handleImagesSearch: f
|
|
141224
141230
|
};
|
|
141225
141231
|
}, OYe = (e) => {
|
|
141226
|
-
const { startTime: t, endTime: n, infoKitsIds: r, entitySearchData: o } =
|
|
141232
|
+
const { startTime: t, endTime: n, infoKitsIds: r, entitySearchData: o } = ht(Mn), [i] = ht((f) => [f.editTabData]), { checked: s, setLocalStartTime: a, setLocalEndTime: l } = j8(), [u, p] = Fe(
|
|
141227
141233
|
[]
|
|
141228
141234
|
), h = r[Number(e)];
|
|
141229
141235
|
return Pe(() => {
|
|
@@ -141253,7 +141259,7 @@ function IYe({ isAdmin: e }) {
|
|
|
141253
141259
|
displayFeed: u,
|
|
141254
141260
|
isLeftPanelShown: p,
|
|
141255
141261
|
details: h
|
|
141256
|
-
} =
|
|
141262
|
+
} = ht(Mn), [f, g, b] = ht((B) => [
|
|
141257
141263
|
B.loadingState,
|
|
141258
141264
|
B.newSiteInfo,
|
|
141259
141265
|
B.newFeeds
|
|
@@ -141317,7 +141323,7 @@ function IYe({ isAdmin: e }) {
|
|
|
141317
141323
|
);
|
|
141318
141324
|
}
|
|
141319
141325
|
const PYe = ({ title: e, onHomeClick: t }) => {
|
|
141320
|
-
const n =
|
|
141326
|
+
const n = ht(Oh), { isLeftPanelShown: r } = ht(Mn), [
|
|
141321
141327
|
o,
|
|
141322
141328
|
i,
|
|
141323
141329
|
s,
|
|
@@ -141325,7 +141331,7 @@ const PYe = ({ title: e, onHomeClick: t }) => {
|
|
|
141325
141331
|
l,
|
|
141326
141332
|
u,
|
|
141327
141333
|
p
|
|
141328
|
-
] =
|
|
141334
|
+
] = ht((y) => [
|
|
141329
141335
|
y.selectedTabId,
|
|
141330
141336
|
y.addTab,
|
|
141331
141337
|
y.editTabTitle,
|
|
@@ -141650,7 +141656,7 @@ const PYe = ({ title: e, onHomeClick: t }) => {
|
|
|
141650
141656
|
details: h,
|
|
141651
141657
|
shouldFetchFrameDetails: f,
|
|
141652
141658
|
entityDeepSearchBody: g
|
|
141653
|
-
} =
|
|
141659
|
+
} = ht(Mn), [b, y] = ht((P) => [
|
|
141654
141660
|
P.loadingState,
|
|
141655
141661
|
P.editTabData
|
|
141656
141662
|
]), { loading: v } = Vh(), { fetchRightPanelData: S } = WL(), { handleImagesSearch: C } = gI(), { handleSearch: w } = gI(), E = hn(() => a.length && l.length ? XYe(a, l) : [], [a, l]), T = E == null ? void 0 : E.find((P) => (P == null ? void 0 : P.id) === n);
|
|
@@ -141721,7 +141727,7 @@ const PYe = ({ title: e, onHomeClick: t }) => {
|
|
|
141721
141727
|
)
|
|
141722
141728
|
] });
|
|
141723
141729
|
}, QYe = () => {
|
|
141724
|
-
const [e, t] =
|
|
141730
|
+
const [e, t] = ht((o) => [
|
|
141725
141731
|
o.editTabData,
|
|
141726
141732
|
o.clearTabsData
|
|
141727
141733
|
]), { clearData: n } = Vh(), { clearImages: r } = g2();
|
|
@@ -141740,7 +141746,7 @@ const PYe = ({ title: e, onHomeClick: t }) => {
|
|
|
141740
141746
|
baseUrl: n,
|
|
141741
141747
|
isAdmin: r = !1
|
|
141742
141748
|
}) => {
|
|
141743
|
-
const { id: o, isLeftPanelShown: i } =
|
|
141749
|
+
const { id: o, isLeftPanelShown: i } = ht(Mn), [s] = ht((b) => [b.editTabData]), { getKitsElements: a, kitsElements: l } = bs(), u = Jn(!0);
|
|
141744
141750
|
Pe(() => {
|
|
141745
141751
|
document.title = gs.SEARCH_TOOL;
|
|
141746
141752
|
}, []), yp(n), vp(e), QYe(), Pe(() => {
|
|
@@ -141787,10 +141793,10 @@ const PYe = ({ title: e, onHomeClick: t }) => {
|
|
|
141787
141793
|
description: "Displays all video streams from cameras, identifying delays and data errors."
|
|
141788
141794
|
}, lZe = {
|
|
141789
141795
|
title: "Heat Map",
|
|
141790
|
-
description: "
|
|
141796
|
+
description: "Compare and align the paths traveled by objects on the map with the corresponding camera footage."
|
|
141791
141797
|
}, cZe = {
|
|
141792
141798
|
title: "Search Tool",
|
|
141793
|
-
description: "
|
|
141799
|
+
description: "Analyze and review detected objects through the selected camera feed."
|
|
141794
141800
|
}, GZe = {
|
|
141795
141801
|
cargoApp: eZe,
|
|
141796
141802
|
classifiersApp: tZe,
|