@conboai/app.db.query 0.8.4 → 0.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/app.db.query.js
CHANGED
|
@@ -113095,7 +113095,7 @@ const qNe = (e, t, n) => {
|
|
|
113095
113095
|
item: t,
|
|
113096
113096
|
getLabel: n
|
|
113097
113097
|
}) => {
|
|
113098
|
-
const r = e.id ? `${t.id} ` : "", o = e.confidence ? `${t.confidence}%` : "", i = e.type ?
|
|
113098
|
+
const r = e.id ? `${t.id} ` : "", o = e.confidence ? `${t.confidence}%` : "", i = e.type ? n(t.tag_id, t.value).tagValueSubLabel : "";
|
|
113099
113099
|
return `${r}${i}${o}`;
|
|
113100
113100
|
}, KK = ({
|
|
113101
113101
|
data: e,
|
|
@@ -115716,31 +115716,21 @@ const B$ = {
|
|
|
115716
115716
|
} = e, o = r ? qAe(t, n) : YAe(t, n);
|
|
115717
115717
|
return /* @__PURE__ */ Se.jsx("div", { children: o });
|
|
115718
115718
|
}, d0 = () => {
|
|
115719
|
-
const { kitsElements: e } = u0()
|
|
115720
|
-
(r, o) => {
|
|
115721
|
-
var s, a;
|
|
115722
|
-
const i = (s = e.find(
|
|
115723
|
-
(c) => c.kit_id === r
|
|
115724
|
-
)) == null ? void 0 : s.labels;
|
|
115725
|
-
return (a = i == null ? void 0 : i.find((c) => c.id === o)) == null ? void 0 : a.name;
|
|
115726
|
-
},
|
|
115727
|
-
[e]
|
|
115728
|
-
), n = wt(
|
|
115729
|
-
(r, o) => {
|
|
115730
|
-
var c, u;
|
|
115731
|
-
const i = e.find(
|
|
115732
|
-
(h) => h.tag_id === r
|
|
115733
|
-
), s = (i == null ? void 0 : i.name) || "";
|
|
115734
|
-
return {
|
|
115735
|
-
tagValueLabel: ((u = (c = i == null ? void 0 : i.labels) == null ? void 0 : c.find((h) => h.id === o)) == null ? void 0 : u.name) || "",
|
|
115736
|
-
tagValueSubLabel: s
|
|
115737
|
-
};
|
|
115738
|
-
},
|
|
115739
|
-
[e]
|
|
115740
|
-
);
|
|
115719
|
+
const { kitsElements: e } = u0();
|
|
115741
115720
|
return {
|
|
115742
|
-
|
|
115743
|
-
|
|
115721
|
+
getTabValueLabelsAndSubLabels: wt(
|
|
115722
|
+
(n, r) => {
|
|
115723
|
+
var a, c;
|
|
115724
|
+
const o = e.find(
|
|
115725
|
+
(u) => u.tag_id === n
|
|
115726
|
+
), i = (o == null ? void 0 : o.name) || "";
|
|
115727
|
+
return {
|
|
115728
|
+
tagValueLabel: ((c = (a = o == null ? void 0 : o.labels) == null ? void 0 : a.find((u) => u.id === r)) == null ? void 0 : c.name) || "",
|
|
115729
|
+
tagValueSubLabel: i
|
|
115730
|
+
};
|
|
115731
|
+
},
|
|
115732
|
+
[e]
|
|
115733
|
+
)
|
|
115744
115734
|
};
|
|
115745
115735
|
};
|
|
115746
115736
|
Bn.extend(Wh);
|
|
@@ -115752,7 +115742,7 @@ const ZFe = ({
|
|
|
115752
115742
|
getTotalItems: r,
|
|
115753
115743
|
getElementInSet: o
|
|
115754
115744
|
}) => {
|
|
115755
|
-
const {
|
|
115745
|
+
const { getTabValueLabelsAndSubLabels: i } = d0(), { timezone: s, isUtc: a } = qt(xr);
|
|
115756
115746
|
return { columns: pn(
|
|
115757
115747
|
() => [
|
|
115758
115748
|
{
|
|
@@ -115817,7 +115807,7 @@ const ZFe = ({
|
|
|
115817
115807
|
field: "value",
|
|
115818
115808
|
headerName: "Type",
|
|
115819
115809
|
flex: 2,
|
|
115820
|
-
valueGetter: (u, h) => i(h == null ? void 0 : h.
|
|
115810
|
+
valueGetter: (u, h) => i(h == null ? void 0 : h.tag_id, u).tagValueLabel
|
|
115821
115811
|
},
|
|
115822
115812
|
{
|
|
115823
115813
|
field: "startTime",
|
|
@@ -119823,7 +119813,7 @@ function tje({ baseUrl: e = "", isImageAnalysis: t = !1 }) {
|
|
|
119823
119813
|
trailDetails: s,
|
|
119824
119814
|
clearTrailDetailsData: a,
|
|
119825
119815
|
trailLoading: c
|
|
119826
|
-
} = sc(), [u, h] = qt((rt) => [rt.editTabData, rt.selectedTabId]), {
|
|
119816
|
+
} = sc(), [u, h] = qt((rt) => [rt.editTabData, rt.selectedTabId]), { getTabValueLabelsAndSubLabels: p } = d0(), {
|
|
119827
119817
|
isConboKeyExclusive: m,
|
|
119828
119818
|
conboKey: b,
|
|
119829
119819
|
shouldFetchCheckboxes: g,
|
|
@@ -120475,7 +120465,7 @@ const sje = ({
|
|
|
120475
120465
|
getTotalItems: r,
|
|
120476
120466
|
getElementInSet: o
|
|
120477
120467
|
}) => {
|
|
120478
|
-
const {
|
|
120468
|
+
const { getTabValueLabelsAndSubLabels: i } = d0(), { timezone: s, isUtc: a } = qt(xr);
|
|
120479
120469
|
return { columns: pn(() => [
|
|
120480
120470
|
{
|
|
120481
120471
|
field: "selected",
|
|
@@ -120539,7 +120529,7 @@ const sje = ({
|
|
|
120539
120529
|
field: "value",
|
|
120540
120530
|
headerName: "Type",
|
|
120541
120531
|
flex: 2,
|
|
120542
|
-
valueGetter: (h, p) => i(p == null ? void 0 : p.
|
|
120532
|
+
valueGetter: (h, p) => i(p == null ? void 0 : p.tag_id, h).tagValueLabel
|
|
120543
120533
|
},
|
|
120544
120534
|
{
|
|
120545
120535
|
field: "startTime",
|
|
@@ -120654,7 +120644,7 @@ function cje({ baseUrl: e = "" }) {
|
|
|
120654
120644
|
trailDetails: i,
|
|
120655
120645
|
clearTrailDetailsData: s,
|
|
120656
120646
|
trailLoading: a
|
|
120657
|
-
} = sc(), [c, u] = qt((_e) => [_e.editTabData, _e.selectedTabId]), {
|
|
120647
|
+
} = sc(), [c, u] = qt((_e) => [_e.editTabData, _e.selectedTabId]), { getTabValueLabelsAndSubLabels: h } = d0(), {
|
|
120658
120648
|
isConboKeyExclusive: p,
|
|
120659
120649
|
conboKey: m,
|
|
120660
120650
|
shouldFetchCheckboxes: b,
|
|
@@ -120678,11 +120668,18 @@ function cje({ baseUrl: e = "" }) {
|
|
|
120678
120668
|
null
|
|
120679
120669
|
), [K, ee] = $e(!1), [ne, oe] = $e({
|
|
120680
120670
|
width: "50%"
|
|
120681
|
-
}), [re, ae] = $e(
|
|
120671
|
+
}), [re, ae] = $e(
|
|
120672
|
+
y
|
|
120673
|
+
), [X, J] = $e(
|
|
120674
|
+
re
|
|
120675
|
+
), [se, he] = $e(wM), [W, te] = $e(
|
|
120682
120676
|
[]
|
|
120683
120677
|
), [z, le] = $e(g), [Q, Z] = $e(!1), q = Hn(
|
|
120684
120678
|
/* @__PURE__ */ new Map()
|
|
120685
|
-
), ie = Hn(!1), [
|
|
120679
|
+
), ie = Hn(!1), [
|
|
120680
|
+
ce,
|
|
120681
|
+
ve
|
|
120682
|
+
] = $e(0), [me, ue] = $e([]), { fetchRightPanelData: pe, setRightPanelData: fe } = AD(), ye = Hn(!1), we = Hn(0), Te = Hn(0), Ee = pn(
|
|
120686
120683
|
() => F > 0 ? `+${F} ms` : `${F} ms`,
|
|
120687
120684
|
[F]
|
|
120688
120685
|
), Re = pn(() => {
|
|
@@ -120889,10 +120886,9 @@ function cje({ baseUrl: e = "" }) {
|
|
|
120889
120886
|
K,
|
|
120890
120887
|
Q
|
|
120891
120888
|
]
|
|
120892
|
-
), xt = pn(
|
|
120893
|
-
|
|
120894
|
-
|
|
120895
|
-
), Tt = pn(() => lje(), []), cn = pn(() => fD(P), [P]), on = wt((_e) => $(_e), []), en = wt((_e) => {
|
|
120889
|
+
), xt = pn(() => aje({ gridProps: ft }), [
|
|
120890
|
+
ft
|
|
120891
|
+
]), Tt = pn(() => lje(), []), cn = pn(() => fD(P), [P]), on = wt((_e) => $(_e), []), en = wt((_e) => {
|
|
120896
120892
|
R(_e.target.value);
|
|
120897
120893
|
}, []), kn = wt((_e) => {
|
|
120898
120894
|
I(_e.target.value);
|
|
@@ -121399,7 +121395,7 @@ const gje = ({
|
|
|
121399
121395
|
setCenterCoordinates: i,
|
|
121400
121396
|
disabled: s = !0
|
|
121401
121397
|
}) => {
|
|
121402
|
-
const {
|
|
121398
|
+
const { getTabValueLabelsAndSubLabels: a } = d0(), { timezone: c, isUtc: u } = qt(xr);
|
|
121403
121399
|
return { columns: pn(
|
|
121404
121400
|
() => [
|
|
121405
121401
|
{
|
|
@@ -121469,7 +121465,7 @@ const gje = ({
|
|
|
121469
121465
|
flex: 2,
|
|
121470
121466
|
sortable: !s,
|
|
121471
121467
|
disableColumnMenu: s,
|
|
121472
|
-
valueGetter: (p, m) => a(m == null ? void 0 : m.
|
|
121468
|
+
valueGetter: (p, m) => a(m == null ? void 0 : m.tag_id, p).tagValueLabel
|
|
121473
121469
|
},
|
|
121474
121470
|
{
|
|
121475
121471
|
field: "start_time",
|
|
@@ -121651,7 +121647,7 @@ const gje = ({
|
|
|
121651
121647
|
Bn.extend(Wh);
|
|
121652
121648
|
Bn.extend(Dd);
|
|
121653
121649
|
function xje() {
|
|
121654
|
-
const e = "AIzaSyARRJwBmfqqfnNnLYFmUrhRtdUbiR37CVM", {
|
|
121650
|
+
const e = "AIzaSyARRJwBmfqqfnNnLYFmUrhRtdUbiR37CVM", { getTabValueLabelsAndSubLabels: t } = d0(), { fetchEntityRightPanelData: n, setRightPanelData: r } = AD(), [o, i, s] = qt((xe) => [xe.editTabData, xe.selectedTabId, xe.newFeeds]), {
|
|
121655
121651
|
conboKey: a,
|
|
121656
121652
|
title: c,
|
|
121657
121653
|
callDate: u,
|
|
@@ -43,7 +43,7 @@ export declare const useColumnDefs: ({ handleCheckBoxChange, handleSelectAllClic
|
|
|
43
43
|
flex: number;
|
|
44
44
|
sortable: boolean;
|
|
45
45
|
disableColumnMenu: boolean;
|
|
46
|
-
valueGetter: (params: any, value: any) => string
|
|
46
|
+
valueGetter: (params: any, value: any) => string;
|
|
47
47
|
filterable?: undefined;
|
|
48
48
|
maxWidth?: undefined;
|
|
49
49
|
renderHeader?: undefined;
|
|
@@ -36,7 +36,7 @@ export declare const useColumnDefs: ({ handleCheckBoxChange, handleSelectAllClic
|
|
|
36
36
|
field: string;
|
|
37
37
|
headerName: string;
|
|
38
38
|
flex: number;
|
|
39
|
-
valueGetter: (params: any, value: any) => string
|
|
39
|
+
valueGetter: (params: any, value: any) => string;
|
|
40
40
|
disableColumnMenu?: undefined;
|
|
41
41
|
filterable?: undefined;
|
|
42
42
|
maxWidth?: undefined;
|