@conboai/app.db.query 0.8.65 → 0.8.67
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 +221 -167
- package/dist/apps/ConboKeySearch/ConboKeySearch.d.ts +3 -2
- package/dist/apps/ConboKeySearch/components/AppLeftBar/AppLeftBar.d.ts +5 -1
- package/dist/apps/conbo-match/components/app-sidebar-left/app-sidebar-left.d.ts +3 -1
- package/dist/apps/conbo-match/components/conbo-match-root/conbo-match-root.d.ts +3 -2
- package/dist/apps/conbo-match/components/sidebar-left-filter/sidebar-left-filter.d.ts +3 -1
- package/package.json +1 -1
package/dist/app.db.query.js
CHANGED
|
@@ -122754,7 +122754,7 @@ function PJ(e) {
|
|
|
122754
122754
|
return `${l}${s}:${u} min`;
|
|
122755
122755
|
}
|
|
122756
122756
|
function UJ(e) {
|
|
122757
|
-
return $n(e).format("DD/MM/YYYY, HH:mm");
|
|
122757
|
+
return $n(e).format("DD/MM/YYYY, HH:mm:ss");
|
|
122758
122758
|
}
|
|
122759
122759
|
const yBe = (e) => {
|
|
122760
122760
|
const t = new Date(e), n = /* @__PURE__ */ new Date(), r = t.getTime() - n.getTime();
|
|
@@ -129707,15 +129707,16 @@ const E$ = "AIzaSyARRJwBmfqqfnNnLYFmUrhRtdUbiR37CVM", Cg = ({
|
|
|
129707
129707
|
textToCopy: t = "",
|
|
129708
129708
|
children: n,
|
|
129709
129709
|
showHeader: r = !0,
|
|
129710
|
-
links: o
|
|
129710
|
+
links: o,
|
|
129711
|
+
linkValue: i
|
|
129711
129712
|
}) => {
|
|
129712
|
-
const [
|
|
129713
|
-
|
|
129714
|
-
},
|
|
129715
|
-
|
|
129716
|
-
},
|
|
129717
|
-
Os.info(`Conbo key ${
|
|
129718
|
-
},
|
|
129713
|
+
const [s, a] = Ue(null), l = (f) => {
|
|
129714
|
+
a(f.currentTarget);
|
|
129715
|
+
}, u = () => {
|
|
129716
|
+
a(null);
|
|
129717
|
+
}, p = (f) => {
|
|
129718
|
+
Os.info(`Conbo key ${f} copied to clipboard!`), navigator.clipboard.writeText(f);
|
|
129719
|
+
}, h = {
|
|
129719
129720
|
width: "20px",
|
|
129720
129721
|
padding: 0,
|
|
129721
129722
|
minWidth: "20px",
|
|
@@ -129752,15 +129753,15 @@ const E$ = "AIzaSyARRJwBmfqqfnNnLYFmUrhRtdUbiR37CVM", Cg = ({
|
|
|
129752
129753
|
Km,
|
|
129753
129754
|
{
|
|
129754
129755
|
variant: "text",
|
|
129755
|
-
onClick: () =>
|
|
129756
|
-
sx:
|
|
129756
|
+
onClick: () => p(t),
|
|
129757
|
+
sx: h,
|
|
129757
129758
|
children: /* @__PURE__ */ se.jsx(cr, { icon: "copy", fill: "#939496" })
|
|
129758
129759
|
}
|
|
129759
129760
|
)
|
|
129760
129761
|
]
|
|
129761
129762
|
}
|
|
129762
129763
|
),
|
|
129763
|
-
!!(o != null && o.length) && /* @__PURE__ */ se.jsx(Xe, { height: "24px", children: /* @__PURE__ */ se.jsx(ug, { onClick:
|
|
129764
|
+
!!(o != null && o.length) && /* @__PURE__ */ se.jsx(Xe, { height: "24px", children: /* @__PURE__ */ se.jsx(ug, { onClick: l, sx: pQe, children: /* @__PURE__ */ se.jsx(hQe, {}) }) })
|
|
129764
129765
|
]
|
|
129765
129766
|
}
|
|
129766
129767
|
),
|
|
@@ -129776,13 +129777,21 @@ const E$ = "AIzaSyARRJwBmfqqfnNnLYFmUrhRtdUbiR37CVM", Cg = ({
|
|
|
129776
129777
|
/* @__PURE__ */ se.jsx(
|
|
129777
129778
|
yQe,
|
|
129778
129779
|
{
|
|
129779
|
-
onClose:
|
|
129780
|
-
anchorEl:
|
|
129781
|
-
open: !!
|
|
129782
|
-
children: /* @__PURE__ */ se.jsx(Xe, { sx: uQe, children: o == null ? void 0 : o.map((
|
|
129783
|
-
|
|
129784
|
-
|
|
129785
|
-
|
|
129780
|
+
onClose: u,
|
|
129781
|
+
anchorEl: s,
|
|
129782
|
+
open: !!s,
|
|
129783
|
+
children: /* @__PURE__ */ se.jsx(Xe, { sx: uQe, children: o == null ? void 0 : o.map((f) => /* @__PURE__ */ se.jsx(
|
|
129784
|
+
Ode,
|
|
129785
|
+
{
|
|
129786
|
+
onClick: () => f.navigator(i),
|
|
129787
|
+
sx: dQe,
|
|
129788
|
+
children: /* @__PURE__ */ se.jsxs(Xe, { display: "flex", gap: "4px", children: [
|
|
129789
|
+
f.text,
|
|
129790
|
+
/* @__PURE__ */ se.jsx(MQe, {})
|
|
129791
|
+
] })
|
|
129792
|
+
},
|
|
129793
|
+
f.id
|
|
129794
|
+
)) })
|
|
129786
129795
|
}
|
|
129787
129796
|
)
|
|
129788
129797
|
] });
|
|
@@ -131517,6 +131526,7 @@ const Ii = Wl((e) => ({
|
|
|
131517
131526
|
subtitle: `Conbo key: ${y == null ? void 0 : y.conbo_key}`,
|
|
131518
131527
|
showHeader: b,
|
|
131519
131528
|
links: t,
|
|
131529
|
+
linkValue: y == null ? void 0 : y.conbo_key,
|
|
131520
131530
|
children: b && /* @__PURE__ */ se.jsxs(se.Fragment, { children: [
|
|
131521
131531
|
/* @__PURE__ */ se.jsx(
|
|
131522
131532
|
ta,
|
|
@@ -133540,57 +133550,56 @@ const tee = () => {
|
|
|
133540
133550
|
backgroundColor: Zo
|
|
133541
133551
|
}
|
|
133542
133552
|
};
|
|
133543
|
-
function PHe(
|
|
133544
|
-
|
|
133545
|
-
|
|
133546
|
-
|
|
133547
|
-
|
|
133548
|
-
x
|
|
133549
|
-
|
|
133550
|
-
|
|
133553
|
+
function PHe({
|
|
133554
|
+
inputValue: e,
|
|
133555
|
+
shouldSearchAutomatically: t
|
|
133556
|
+
}) {
|
|
133557
|
+
const { conboKey: n, isConboKeyExclusive: r, id: o, isUtc: i, isLeftPanelShown: s } = ut(yn), { getDetectionsInfo: a, isValidationError: l } = Kl(), [u, p, h, f] = ut(
|
|
133558
|
+
(x) => [
|
|
133559
|
+
x.loadingState,
|
|
133560
|
+
x.editTabData,
|
|
133561
|
+
x.setLoading,
|
|
133562
|
+
x.editTabTitle
|
|
133563
|
+
]
|
|
133564
|
+
), m = u === "pending";
|
|
133551
133565
|
Oe(() => {
|
|
133552
|
-
|
|
133553
|
-
}, [
|
|
133566
|
+
p("confidence", 0);
|
|
133567
|
+
}, [p]);
|
|
133554
133568
|
const y = vt(async () => {
|
|
133555
133569
|
try {
|
|
133556
|
-
|
|
133570
|
+
h("pending"), p("color", "yellow"), p("callDate", /* @__PURE__ */ new Date()), p("selectedTableItemId", -1), await a({ conboKey: n }), p("shouldClearData", !0), p("isNewTab", !1), p("shouldFetchFrameDetails", !0), p("color", "green"), p("currentSliderIndex", 0), p("isNewSearch", !0), p("title", n), f(o, n), h("done");
|
|
133557
133571
|
} catch {
|
|
133558
|
-
|
|
133572
|
+
p("color", "red"), h("done");
|
|
133559
133573
|
}
|
|
133560
|
-
}, [
|
|
133561
|
-
|
|
133562
|
-
|
|
133563
|
-
|
|
133564
|
-
|
|
133565
|
-
|
|
133566
|
-
t,
|
|
133567
|
-
r,
|
|
133568
|
-
h
|
|
133569
|
-
]), M = () => y(), b = (x) => {
|
|
133570
|
-
u("isUtc", x.target.checked);
|
|
133574
|
+
}, [n, a, h, p, f, o]);
|
|
133575
|
+
Oe(() => {
|
|
133576
|
+
t && y();
|
|
133577
|
+
}, [y, t]);
|
|
133578
|
+
const M = () => y(), b = (x) => {
|
|
133579
|
+
p("isUtc", x.target.checked);
|
|
133571
133580
|
}, N = (x) => {
|
|
133572
|
-
const T = x.target.value.trim();
|
|
133573
|
-
|
|
133574
|
-
}, v = (x) =>
|
|
133581
|
+
const T = x.target.value.trim(), D = String(e).trim();
|
|
133582
|
+
p("conboKey", D || T);
|
|
133583
|
+
}, v = (x) => p("isConboKeyExclusive", x.target.checked);
|
|
133575
133584
|
return /* @__PURE__ */ se.jsxs(
|
|
133576
133585
|
Z0,
|
|
133577
133586
|
{
|
|
133578
133587
|
onSearchClick: M,
|
|
133579
133588
|
isAutoSearchDisabled: !0,
|
|
133580
|
-
tooltipTile:
|
|
133581
|
-
isSearchButtonDisabled: m || !
|
|
133589
|
+
tooltipTile: n ? "" : "Conbo key is required",
|
|
133590
|
+
isSearchButtonDisabled: m || !n,
|
|
133582
133591
|
withAutoSearch: !1,
|
|
133583
|
-
isLeftPanelShown:
|
|
133592
|
+
isLeftPanelShown: s,
|
|
133584
133593
|
children: [
|
|
133585
133594
|
/* @__PURE__ */ se.jsxs(Xe, { sx: RHe, children: [
|
|
133586
133595
|
/* @__PURE__ */ se.jsx(
|
|
133587
133596
|
Wi,
|
|
133588
133597
|
{
|
|
133589
133598
|
leftLabel: "Local time",
|
|
133590
|
-
leftLabelsDisabled:
|
|
133591
|
-
rightLabelDisabled: !
|
|
133599
|
+
leftLabelsDisabled: i,
|
|
133600
|
+
rightLabelDisabled: !i,
|
|
133592
133601
|
rightLabel: "UTC",
|
|
133593
|
-
checked:
|
|
133602
|
+
checked: i,
|
|
133594
133603
|
sx: ag,
|
|
133595
133604
|
onChange: b
|
|
133596
133605
|
}
|
|
@@ -133601,20 +133610,20 @@ function PHe() {
|
|
|
133601
133610
|
IN,
|
|
133602
133611
|
{
|
|
133603
133612
|
label: "Conbo key",
|
|
133604
|
-
value:
|
|
133613
|
+
value: n,
|
|
133605
133614
|
onChange: N,
|
|
133606
133615
|
placeholder: "00000-000-000-00000",
|
|
133607
|
-
error:
|
|
133616
|
+
error: l
|
|
133608
133617
|
}
|
|
133609
133618
|
),
|
|
133610
|
-
|
|
133619
|
+
l && /* @__PURE__ */ se.jsx(nz, { error: !0, children: "Incorrect format" })
|
|
133611
133620
|
] })
|
|
133612
133621
|
] }),
|
|
133613
133622
|
/* @__PURE__ */ se.jsx(Xe, { mt: "10px", children: /* @__PURE__ */ se.jsx(
|
|
133614
133623
|
Wi,
|
|
133615
133624
|
{
|
|
133616
133625
|
leftLabel: "Exlusive",
|
|
133617
|
-
checked:
|
|
133626
|
+
checked: r,
|
|
133618
133627
|
sx: ag,
|
|
133619
133628
|
onChange: v
|
|
133620
133629
|
}
|
|
@@ -133727,36 +133736,48 @@ const UHe = ({ baseUrl: e = "" }) => {
|
|
|
133727
133736
|
onToggleLeftPanel: M
|
|
133728
133737
|
}
|
|
133729
133738
|
);
|
|
133730
|
-
}, IKe = (
|
|
133731
|
-
|
|
133732
|
-
|
|
133733
|
-
|
|
133734
|
-
|
|
133739
|
+
}, IKe = ({
|
|
133740
|
+
siteId: e,
|
|
133741
|
+
onHomeClick: t,
|
|
133742
|
+
baseUrl: n,
|
|
133743
|
+
inputValue: r = "",
|
|
133744
|
+
shouldSearchAutomatically: o
|
|
133745
|
+
}) => {
|
|
133746
|
+
const { id: i, isLeftPanelShown: s } = ut(yn), [a, l] = ut((M) => [
|
|
133747
|
+
M.editTabData,
|
|
133748
|
+
M.clearTabsData
|
|
133749
|
+
]), u = Xn(!0), { getKitsElements: p } = Gi();
|
|
133735
133750
|
Oe(() => {
|
|
133736
133751
|
document.title = xs.CONBO_KEY_SEARCH;
|
|
133737
|
-
}, []), Tp(
|
|
133738
|
-
|
|
133739
|
-
}, [
|
|
133740
|
-
|
|
133741
|
-
}), [
|
|
133742
|
-
const
|
|
133752
|
+
}, []), Tp(n), wp(e), Oe(() => {
|
|
133753
|
+
u.current && p({ siteId: e });
|
|
133754
|
+
}, [p, e, i]), Oe(() => (a("conboKey", ""), a("isConboKeyExclusive", !0), a("trailState", Pc.NO_TRAIL), a("fov", !1), () => {
|
|
133755
|
+
a("conboKey", ""), a("isConboKeyExclusive", !0), a("trailState", Pc.NO_TRAIL), a("color", "white"), a("isNewSearch", !1), a("isNoResultsState", !1), a("fov", !1), l();
|
|
133756
|
+
}), [l, a]);
|
|
133757
|
+
const h = /* @__PURE__ */ se.jsx(
|
|
133743
133758
|
_He,
|
|
133744
133759
|
{
|
|
133745
133760
|
title: xs.CONBO_KEY_SEARCH,
|
|
133746
133761
|
titleWidth: "165px",
|
|
133747
133762
|
showSiteName: !1,
|
|
133748
|
-
onHomeClick:
|
|
133763
|
+
onHomeClick: t
|
|
133764
|
+
}
|
|
133765
|
+
), f = /* @__PURE__ */ se.jsx(
|
|
133766
|
+
PHe,
|
|
133767
|
+
{
|
|
133768
|
+
inputValue: r,
|
|
133769
|
+
shouldSearchAutomatically: o
|
|
133749
133770
|
}
|
|
133750
|
-
),
|
|
133771
|
+
), m = /* @__PURE__ */ se.jsx(UHe, { baseUrl: n }), y = /* @__PURE__ */ se.jsx(LHe, { baseUrl: n });
|
|
133751
133772
|
return /* @__PURE__ */ se.jsx(
|
|
133752
133773
|
wg,
|
|
133753
133774
|
{
|
|
133754
|
-
isLeftPanelShown:
|
|
133755
|
-
header:
|
|
133756
|
-
sidebarLeft:
|
|
133757
|
-
content:
|
|
133758
|
-
sidebarRight:
|
|
133759
|
-
baseUrl:
|
|
133775
|
+
isLeftPanelShown: s,
|
|
133776
|
+
header: h,
|
|
133777
|
+
sidebarLeft: f,
|
|
133778
|
+
content: m,
|
|
133779
|
+
sidebarRight: y,
|
|
133780
|
+
baseUrl: n
|
|
133760
133781
|
}
|
|
133761
133782
|
);
|
|
133762
133783
|
}, FHe = ({
|
|
@@ -139246,38 +139267,43 @@ const AGe = async ({
|
|
|
139246
139267
|
}
|
|
139247
139268
|
})), EGe = ({
|
|
139248
139269
|
onSubmit: e,
|
|
139249
|
-
baseUrl: t
|
|
139270
|
+
baseUrl: t,
|
|
139271
|
+
inputValue: n,
|
|
139272
|
+
shouldSearchAutomatically: r
|
|
139250
139273
|
}) => {
|
|
139251
139274
|
const {
|
|
139252
|
-
conboMatchInputValue:
|
|
139253
|
-
conboMatchExlusiveValue:
|
|
139254
|
-
conboMatchUtcValue:
|
|
139255
|
-
conboMatchInputError:
|
|
139256
|
-
} = ut(yn), [
|
|
139275
|
+
conboMatchInputValue: o,
|
|
139276
|
+
conboMatchExlusiveValue: i,
|
|
139277
|
+
conboMatchUtcValue: s,
|
|
139278
|
+
conboMatchInputError: a
|
|
139279
|
+
} = ut(yn), [l] = ut((N) => [N.editTabData]), u = MWe({
|
|
139257
139280
|
defaultValues: {
|
|
139258
139281
|
...J$.shape,
|
|
139259
|
-
conboKey: n,
|
|
139260
|
-
keyExclusive:
|
|
139261
|
-
isUtc:
|
|
139282
|
+
conboKey: String(n) || o,
|
|
139283
|
+
keyExclusive: i,
|
|
139284
|
+
isUtc: s
|
|
139262
139285
|
},
|
|
139263
139286
|
resolver: CWe(J$.schema()),
|
|
139264
139287
|
mode: "all",
|
|
139265
139288
|
reValidateMode: "onSubmit"
|
|
139266
|
-
}), { loading:
|
|
139289
|
+
}), { loading: p } = qN(), { control: h, handleSubmit: f, formState: m, setValue: y } = u, { errors: M } = m;
|
|
139267
139290
|
Oe(() => {
|
|
139268
|
-
|
|
139291
|
+
y("conboKey", String(n) || o), y("keyExclusive", i), y("isUtc", s);
|
|
139269
139292
|
}, [
|
|
139270
|
-
n,
|
|
139271
|
-
r,
|
|
139272
139293
|
o,
|
|
139273
|
-
|
|
139294
|
+
i,
|
|
139295
|
+
s,
|
|
139296
|
+
y,
|
|
139297
|
+
n
|
|
139274
139298
|
]);
|
|
139275
|
-
const
|
|
139276
|
-
(async () => await
|
|
139277
|
-
e == null || e({ conboKey:
|
|
139299
|
+
const b = vt(() => {
|
|
139300
|
+
(async () => await f(() => {
|
|
139301
|
+
e == null || e({ conboKey: o, baseUrl: t });
|
|
139278
139302
|
})())();
|
|
139279
|
-
};
|
|
139280
|
-
return
|
|
139303
|
+
}, [t, o, f, e]);
|
|
139304
|
+
return Oe(() => {
|
|
139305
|
+
r && b();
|
|
139306
|
+
}, [b, r]), /* @__PURE__ */ se.jsxs(
|
|
139281
139307
|
Xe,
|
|
139282
139308
|
{
|
|
139283
139309
|
display: "flex",
|
|
@@ -139292,18 +139318,18 @@ const AGe = async ({
|
|
|
139292
139318
|
F$,
|
|
139293
139319
|
{
|
|
139294
139320
|
name: ps.isUtc,
|
|
139295
|
-
control:
|
|
139296
|
-
render: ({ field:
|
|
139321
|
+
control: h,
|
|
139322
|
+
render: ({ field: N }) => /* @__PURE__ */ se.jsx(
|
|
139297
139323
|
Wi,
|
|
139298
139324
|
{
|
|
139299
|
-
...
|
|
139325
|
+
...N,
|
|
139300
139326
|
leftLabel: $4[ps.isUtc].label,
|
|
139301
139327
|
sx: NWe,
|
|
139302
|
-
onChange: (
|
|
139303
|
-
const
|
|
139304
|
-
|
|
139328
|
+
onChange: (v) => {
|
|
139329
|
+
const x = v.target.checked;
|
|
139330
|
+
N.onChange(x), l("isUtc", x), l("conboMatchUtcValue", x);
|
|
139305
139331
|
},
|
|
139306
|
-
checked: !!
|
|
139332
|
+
checked: !!N.value,
|
|
139307
139333
|
disabled: !1
|
|
139308
139334
|
}
|
|
139309
139335
|
)
|
|
@@ -139315,30 +139341,30 @@ const AGe = async ({
|
|
|
139315
139341
|
F$,
|
|
139316
139342
|
{
|
|
139317
139343
|
name: ps.conboKey,
|
|
139318
|
-
control:
|
|
139319
|
-
render: ({ field:
|
|
139344
|
+
control: h,
|
|
139345
|
+
render: ({ field: N }) => /* @__PURE__ */ se.jsx(
|
|
139320
139346
|
IN,
|
|
139321
139347
|
{
|
|
139322
|
-
...
|
|
139323
|
-
value:
|
|
139348
|
+
...N,
|
|
139349
|
+
value: N.value || "",
|
|
139324
139350
|
onBlur: () => {
|
|
139325
|
-
var
|
|
139326
|
-
const
|
|
139327
|
-
|
|
139351
|
+
var x;
|
|
139352
|
+
const v = ((x = M.conboKey) == null ? void 0 : x.message) || "";
|
|
139353
|
+
v !== a && l("conboMatchInputError", v);
|
|
139328
139354
|
},
|
|
139329
|
-
onChange: (
|
|
139330
|
-
|
|
139355
|
+
onChange: (v) => {
|
|
139356
|
+
N.onChange(v), l("conboMatchInputValue", v.target.value);
|
|
139331
139357
|
},
|
|
139332
139358
|
id: ps.conboKey,
|
|
139333
139359
|
label: $4[ps.conboKey].label,
|
|
139334
139360
|
placeholder: $4[ps.conboKey].placeholder,
|
|
139335
|
-
error: !!
|
|
139336
|
-
disabled:
|
|
139361
|
+
error: !!a,
|
|
139362
|
+
disabled: p
|
|
139337
139363
|
}
|
|
139338
139364
|
)
|
|
139339
139365
|
}
|
|
139340
139366
|
),
|
|
139341
|
-
|
|
139367
|
+
a && /* @__PURE__ */ se.jsx(nz, { error: !0, children: a })
|
|
139342
139368
|
] }) })
|
|
139343
139369
|
] }),
|
|
139344
139370
|
/* @__PURE__ */ se.jsxs(Xe, { sx: wWe, marginTop: "auto", children: [
|
|
@@ -139346,15 +139372,15 @@ const AGe = async ({
|
|
|
139346
139372
|
/* @__PURE__ */ se.jsx(
|
|
139347
139373
|
Oc,
|
|
139348
139374
|
{
|
|
139349
|
-
title:
|
|
139375
|
+
title: o ? "" : "Conbo key is required",
|
|
139350
139376
|
placement: fi.TOP,
|
|
139351
139377
|
arrow: !0,
|
|
139352
139378
|
children: /* @__PURE__ */ se.jsx(Xe, { sx: { px: "20px" }, children: /* @__PURE__ */ se.jsx(
|
|
139353
139379
|
Gr,
|
|
139354
139380
|
{
|
|
139355
139381
|
size: "full",
|
|
139356
|
-
onClick:
|
|
139357
|
-
disabled:
|
|
139382
|
+
onClick: b,
|
|
139383
|
+
disabled: p || !o,
|
|
139358
139384
|
children: "Search"
|
|
139359
139385
|
}
|
|
139360
139386
|
) })
|
|
@@ -139804,34 +139830,46 @@ const AGe = async ({
|
|
|
139804
139830
|
const n = ut.getState().editTabData, { abortController: r } = t();
|
|
139805
139831
|
r && (r.abort(), e({ abortController: null, loading: !1 }), n("isRequestAborted", !0));
|
|
139806
139832
|
}
|
|
139807
|
-
})), LGe = ({
|
|
139808
|
-
|
|
139809
|
-
|
|
139833
|
+
})), LGe = ({
|
|
139834
|
+
baseUrl: e,
|
|
139835
|
+
inputValue: t,
|
|
139836
|
+
shouldSearchAutomatically: n
|
|
139837
|
+
}) => {
|
|
139838
|
+
const r = ZN(), { findAllReids: o } = qN(), { getDetectionsInfo: i, abortDetectionsRequests: s } = X0(), { isRequestAborted: a, shouldFetchData: l, conboMatchInputValue: u } = ut(yn), [p] = ut((y) => [y.editTabData]), h = vt(
|
|
139839
|
+
async (y) => {
|
|
139810
139840
|
try {
|
|
139811
|
-
|
|
139841
|
+
p("title", y.conboKey), p("color", "yellow"), await o(y), p("color", "green"), p("shouldFetchData", !0), p("isNewSearch", !0), a && p("isRequestAborted", !1);
|
|
139812
139842
|
} catch {
|
|
139813
|
-
|
|
139843
|
+
p("color", "red");
|
|
139814
139844
|
}
|
|
139815
139845
|
},
|
|
139816
|
-
[
|
|
139817
|
-
),
|
|
139818
|
-
await
|
|
139819
|
-
}, [e,
|
|
139846
|
+
[p, o, a]
|
|
139847
|
+
), f = vt(async () => {
|
|
139848
|
+
await i({ conboKey: u, baseUrl: e });
|
|
139849
|
+
}, [e, u, i]);
|
|
139820
139850
|
Oe(() => {
|
|
139821
139851
|
try {
|
|
139822
|
-
!
|
|
139852
|
+
!a && l ? (f(), p("shouldFetchData", !1), p("color", "green")) : (s(), p("color", "white"));
|
|
139823
139853
|
} catch {
|
|
139824
|
-
|
|
139854
|
+
p("color", "red");
|
|
139825
139855
|
}
|
|
139826
139856
|
}, [
|
|
139827
|
-
l,
|
|
139828
139857
|
p,
|
|
139829
|
-
|
|
139858
|
+
f,
|
|
139830
139859
|
i,
|
|
139831
|
-
|
|
139860
|
+
a,
|
|
139861
|
+
l
|
|
139832
139862
|
]);
|
|
139833
|
-
const
|
|
139834
|
-
return /* @__PURE__ */ se.jsx(Xe, { position: "relative", height: "100%", display:
|
|
139863
|
+
const m = r != null && r.isLeftPanelShown ? "flex" : "none";
|
|
139864
|
+
return /* @__PURE__ */ se.jsx(Xe, { position: "relative", height: "100%", display: m, children: /* @__PURE__ */ se.jsx(
|
|
139865
|
+
EGe,
|
|
139866
|
+
{
|
|
139867
|
+
onSubmit: h,
|
|
139868
|
+
baseUrl: e,
|
|
139869
|
+
inputValue: t,
|
|
139870
|
+
shouldSearchAutomatically: n
|
|
139871
|
+
}
|
|
139872
|
+
) });
|
|
139835
139873
|
}, RGe = ({
|
|
139836
139874
|
title: e,
|
|
139837
139875
|
onHomeClick: t,
|
|
@@ -140350,28 +140388,34 @@ const AGe = async ({
|
|
|
140350
140388
|
t
|
|
140351
140389
|
])
|
|
140352
140390
|
};
|
|
140353
|
-
}, jKe = (
|
|
140354
|
-
|
|
140355
|
-
|
|
140356
|
-
|
|
140357
|
-
|
|
140358
|
-
|
|
140359
|
-
|
|
140360
|
-
|
|
140361
|
-
|
|
140362
|
-
|
|
140363
|
-
|
|
140364
|
-
|
|
140391
|
+
}, jKe = ({
|
|
140392
|
+
siteId: e,
|
|
140393
|
+
onHomeClick: t,
|
|
140394
|
+
baseUrl: n = "",
|
|
140395
|
+
inputValue: r = "",
|
|
140396
|
+
shouldSearchAutomatically: o
|
|
140397
|
+
}) => {
|
|
140398
|
+
const { isLeftPanelShown: i, isAbortModalOpened: s } = ut(yn), { loading: a } = jm("FetchAllTabs"), { loading: l } = jm("FetchConfiguration"), { loading: u } = jm("FetchKitsElements"), {
|
|
140399
|
+
onFetchKitsElements: p,
|
|
140400
|
+
onFetchAllTabs: h,
|
|
140401
|
+
onFetchConfiguration: f,
|
|
140402
|
+
clearStore: m
|
|
140403
|
+
} = jee(), { clearDetectionsStore: y } = X0(), M = ZN(), { clearData: b, loading: N, abortReidRequests: v } = qN(), [x, T] = ut((I) => [
|
|
140404
|
+
I.clearTabsData,
|
|
140405
|
+
I.editTabData
|
|
140406
|
+
]), { handleTabActions: D } = HGe(t);
|
|
140407
|
+
if (Tp(n), wp(e), Oe(() => (document.title = xs.CONBO_MATCH, h(), () => {
|
|
140408
|
+
m(), b(), y(), x(), T("selectedDeletedItems", []);
|
|
140365
140409
|
}), [
|
|
140366
|
-
|
|
140410
|
+
b,
|
|
140411
|
+
y,
|
|
140367
140412
|
m,
|
|
140368
|
-
f,
|
|
140369
|
-
v,
|
|
140370
140413
|
x,
|
|
140371
|
-
|
|
140414
|
+
T,
|
|
140415
|
+
h
|
|
140372
140416
|
]), Oe(() => {
|
|
140373
|
-
|
|
140374
|
-
}, [
|
|
140417
|
+
M || (p({ siteId: e }), f({ deploymentId: e }));
|
|
140418
|
+
}, [f, p, M, e]), a || u || l)
|
|
140375
140419
|
return /* @__PURE__ */ se.jsx(
|
|
140376
140420
|
Xe,
|
|
140377
140421
|
{
|
|
@@ -140382,37 +140426,44 @@ const AGe = async ({
|
|
|
140382
140426
|
children: /* @__PURE__ */ se.jsx(Mp, {})
|
|
140383
140427
|
}
|
|
140384
140428
|
);
|
|
140385
|
-
if (!
|
|
140429
|
+
if (!M)
|
|
140386
140430
|
return null;
|
|
140387
|
-
const
|
|
140431
|
+
const w = /* @__PURE__ */ se.jsx(
|
|
140388
140432
|
RGe,
|
|
140389
140433
|
{
|
|
140390
140434
|
title: xs.CONBO_MATCH,
|
|
140391
|
-
onHomeClick:
|
|
140392
|
-
isLoading:
|
|
140435
|
+
onHomeClick: t,
|
|
140436
|
+
isLoading: N
|
|
140393
140437
|
}
|
|
140394
|
-
),
|
|
140395
|
-
|
|
140438
|
+
), j = /* @__PURE__ */ se.jsx(
|
|
140439
|
+
LGe,
|
|
140440
|
+
{
|
|
140441
|
+
baseUrl: n,
|
|
140442
|
+
inputValue: r,
|
|
140443
|
+
shouldSearchAutomatically: o
|
|
140444
|
+
}
|
|
140445
|
+
), P = /* @__PURE__ */ se.jsx(QGe, {}), _ = /* @__PURE__ */ se.jsx(FGe, { baseUrl: n }), z = {
|
|
140446
|
+
open: s && N,
|
|
140396
140447
|
title: "Leave the page?",
|
|
140397
140448
|
message: `Search result is currently being loaded. If you open a new tab, the ongoing search will be canceled.
|
|
140398
140449
|
Are you sure you want to continue?`,
|
|
140399
140450
|
onClose: () => {
|
|
140400
|
-
|
|
140451
|
+
T("isAbortModalOpened", !1);
|
|
140401
140452
|
},
|
|
140402
140453
|
onContinue: () => {
|
|
140403
|
-
|
|
140454
|
+
v(), T("color", "white"), T("isAbortModalOpened", !1), D();
|
|
140404
140455
|
}
|
|
140405
140456
|
};
|
|
140406
140457
|
return /* @__PURE__ */ se.jsx(
|
|
140407
140458
|
wg,
|
|
140408
140459
|
{
|
|
140409
|
-
isLeftPanelShown:
|
|
140410
|
-
header:
|
|
140411
|
-
sidebarLeft:
|
|
140412
|
-
content:
|
|
140413
|
-
sidebarRight:
|
|
140414
|
-
baseUrl:
|
|
140415
|
-
abortModalProps:
|
|
140460
|
+
isLeftPanelShown: i,
|
|
140461
|
+
header: w,
|
|
140462
|
+
sidebarLeft: j,
|
|
140463
|
+
content: P,
|
|
140464
|
+
sidebarRight: _,
|
|
140465
|
+
baseUrl: n,
|
|
140466
|
+
abortModalProps: z
|
|
140416
140467
|
}
|
|
140417
140468
|
);
|
|
140418
140469
|
}, WGe = ({
|
|
@@ -142348,10 +142399,13 @@ const Wqe = ({
|
|
|
142348
142399
|
}
|
|
142349
142400
|
);
|
|
142350
142401
|
}, tZe = () => {
|
|
142351
|
-
const { clearDetectionsStore: e } = X0(), { clearLatestSnapshots: t } = qh(), [n] = ut((
|
|
142402
|
+
const { clearDetectionsStore: e } = X0(), { clearLatestSnapshots: t } = qh(), [n, r] = ut((o) => [
|
|
142403
|
+
o.editTabData,
|
|
142404
|
+
o.clearTabsData
|
|
142405
|
+
]);
|
|
142352
142406
|
Oe(() => () => {
|
|
142353
|
-
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), n("selectedTableItemId", -1), n("isNewSearch", !1), n("tabFovInfo", null);
|
|
142354
|
-
}, [e, t, n]);
|
|
142407
|
+
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), n("selectedTableItemId", -1), n("isNewSearch", !1), n("tabFovInfo", null), r();
|
|
142408
|
+
}, [e, t, r, n]);
|
|
142355
142409
|
}, P7 = () => ({
|
|
142356
142410
|
topOneColumnDefs: [
|
|
142357
142411
|
{ headerName: "Count", field: "count" },
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
type InputProps = {
|
|
2
2
|
siteId: string;
|
|
3
3
|
baseUrl?: string;
|
|
4
|
-
isAdmin?: boolean;
|
|
5
4
|
onHomeClick?: () => void;
|
|
5
|
+
inputValue?: string | number;
|
|
6
|
+
shouldSearchAutomatically?: boolean;
|
|
6
7
|
};
|
|
7
|
-
export declare const ConboKeySearch: (
|
|
8
|
+
export declare const ConboKeySearch: ({ siteId, onHomeClick, baseUrl, inputValue, shouldSearchAutomatically }: InputProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
export default ConboKeySearch;
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
type AppLeftBarProps = {
|
|
2
|
+
inputValue?: string | number;
|
|
3
|
+
shouldSearchAutomatically?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare function AppLeftBar({ inputValue, shouldSearchAutomatically }: AppLeftBarProps): import("react/jsx-runtime").JSX.Element;
|
|
2
6
|
export default AppLeftBar;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
type AppSidebarLeftProps = {
|
|
2
2
|
baseUrl?: string;
|
|
3
|
+
inputValue?: string | number;
|
|
4
|
+
shouldSearchAutomatically?: boolean;
|
|
3
5
|
};
|
|
4
|
-
export declare const AppSidebarLeft: ({ baseUrl }: AppSidebarLeftProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const AppSidebarLeft: ({ baseUrl, inputValue, shouldSearchAutomatically }: AppSidebarLeftProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
7
|
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
type InputProps = {
|
|
2
2
|
siteId: string;
|
|
3
3
|
baseUrl?: string;
|
|
4
|
-
isAdmin?: boolean;
|
|
5
4
|
onHomeClick?: () => void;
|
|
5
|
+
inputValue?: string | number;
|
|
6
|
+
shouldSearchAutomatically?: boolean;
|
|
6
7
|
};
|
|
7
|
-
export declare const ConboMatchRoot: (
|
|
8
|
+
export declare const ConboMatchRoot: ({ siteId, onHomeClick, baseUrl, inputValue, shouldSearchAutomatically }: InputProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
8
9
|
export {};
|
|
@@ -9,6 +9,8 @@ type SidebarLeftFilterInput = {
|
|
|
9
9
|
baseUrl?: string;
|
|
10
10
|
}) => void;
|
|
11
11
|
baseUrl?: string;
|
|
12
|
+
inputValue?: string | number;
|
|
13
|
+
shouldSearchAutomatically?: boolean;
|
|
12
14
|
};
|
|
13
|
-
export declare const SidebarLeftFilter: ({ onSubmit, baseUrl }: SidebarLeftFilterInput) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const SidebarLeftFilter: ({ onSubmit, baseUrl, inputValue, shouldSearchAutomatically }: SidebarLeftFilterInput) => import("react/jsx-runtime").JSX.Element;
|
|
14
16
|
export {};
|