@conboai/app.db.query 0.8.83 → 0.8.84

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.
@@ -141053,13 +141053,14 @@ const GGe = (e = [], t) => {
141053
141053
  onClick: s,
141054
141054
  shapeCoordinates: a,
141055
141055
  innerLoading: l,
141056
- isError: u
141056
+ isError: u,
141057
+ unit: p
141057
141058
  }) => {
141058
- const p = () => {
141059
+ const h = () => {
141059
141060
  !u && !l && s && s(r);
141060
141061
  };
141061
141062
  return /* @__PURE__ */ le.jsxs(Ke, { sx: uqe, children: [
141062
- /* @__PURE__ */ le.jsxs(Ke, { sx: dqe, onDoubleClick: p, children: [
141063
+ /* @__PURE__ */ le.jsxs(Ke, { sx: dqe, onDoubleClick: h, children: [
141063
141064
  i <= E5.FIFTEEN_SECONDS && /* @__PURE__ */ le.jsx(Dc, { title: "Delay", placement: ci.TOP, arrow: !0, children: /* @__PURE__ */ le.jsx(Ke, { sx: zee(i), children: /* @__PURE__ */ le.jsx(Qt, { children: EJ(i) }) }) }),
141064
141065
  l ? /* @__PURE__ */ le.jsx(Ke, { sx: kee, children: /* @__PURE__ */ le.jsx($l, {}) }) : /* @__PURE__ */ le.jsx(
141065
141066
  gqe,
@@ -141076,13 +141077,19 @@ const GGe = (e = [], t) => {
141076
141077
  /* @__PURE__ */ le.jsxs(Ke, { sx: Aee, children: [
141077
141078
  /* @__PURE__ */ le.jsxs(Ke, { sx: rC, children: [
141078
141079
  /* @__PURE__ */ le.jsx(Dc, { title: "Display name", placement: ci.TOP, arrow: !0, children: /* @__PURE__ */ le.jsx(Ke, { sx: Mh, children: /* @__PURE__ */ le.jsx(Qt, { sx: bh, children: t }) }) }),
141079
- /* @__PURE__ */ le.jsx(Dc, { title: "Camera name", placement: ci.TOP, arrow: !0, children: /* @__PURE__ */ le.jsx(Ke, { sx: Mh, children: /* @__PURE__ */ le.jsx(Qt, { sx: bh, children: n }) }) })
141080
+ /* @__PURE__ */ le.jsx(Dc, { title: "Camera name", placement: ci.TOP, arrow: !0, children: /* @__PURE__ */ le.jsx(Ke, { sx: Mh, children: /* @__PURE__ */ le.jsx(
141081
+ Qt,
141082
+ {
141083
+ sx: bh,
141084
+ children: `${r}/${n}`
141085
+ }
141086
+ ) }) })
141080
141087
  ] }),
141081
141088
  /* @__PURE__ */ le.jsxs(Ke, { sx: rC, children: [
141082
141089
  /* @__PURE__ */ le.jsx(Dc, { title: "Time", placement: ci.TOP, arrow: !0, children: /* @__PURE__ */ le.jsx(Ke, { sx: Mh, children: /* @__PURE__ */ le.jsx(Qt, { sx: bh, children: LJ(o) }) }) }),
141083
141090
  /* @__PURE__ */ le.jsxs(Ke, { sx: Mh, children: [
141084
- /* @__PURE__ */ le.jsx(Qt, { children: "Assign ID:" }),
141085
- /* @__PURE__ */ le.jsx(Qt, { sx: bh, children: r })
141091
+ /* @__PURE__ */ le.jsx(Qt, { children: "Unit:" }),
141092
+ /* @__PURE__ */ le.jsx(Qt, { sx: bh, children: p })
141086
141093
  ] })
141087
141094
  ] })
141088
141095
  ] })
@@ -141331,7 +141338,8 @@ const GGe = (e = [], t) => {
141331
141338
  delay: i.delay,
141332
141339
  innerLoading: i.innerLoading,
141333
141340
  isError: i.innerError,
141334
- regions: p
141341
+ regions: p,
141342
+ unit: a == null ? void 0 : a.unit_name
141335
141343
  };
141336
141344
  })) || [], Sqe = ({
141337
141345
  fov: e,
@@ -141364,7 +141372,8 @@ const GGe = (e = [], t) => {
141364
141372
  onClick: u,
141365
141373
  shapeCoordinates: g,
141366
141374
  innerLoading: f.innerLoading,
141367
- isError: f.isError
141375
+ isError: f.isError,
141376
+ unit: f.unit
141368
141377
  }
141369
141378
  );
141370
141379
  }) : /* @__PURE__ */ le.jsx(Lee, {}),
@@ -11,6 +11,7 @@ export type ImageItemType = {
11
11
  shapeCoordinates?: Shape[];
12
12
  innerLoading?: boolean;
13
13
  isError?: boolean;
14
+ unit: string;
14
15
  };
15
- declare const ImageItem: ({ url, displayName, name, feedId, captureTime, delay, onClick, shapeCoordinates, innerLoading, isError }: ImageItemType) => import("react/jsx-runtime").JSX.Element;
16
+ declare const ImageItem: ({ url, displayName, name, feedId, captureTime, delay, onClick, shapeCoordinates, innerLoading, isError, unit }: ImageItemType) => import("react/jsx-runtime").JSX.Element;
16
17
  export default ImageItem;
@@ -13,6 +13,7 @@ export type FeedType = {
13
13
  feed_name: string;
14
14
  run_id: number;
15
15
  updated_at: string;
16
+ unit_name: string;
16
17
  };
17
18
  export type FeedStreamsData = {
18
19
  latestSnapshots: Snapshot[];
@@ -39,4 +40,5 @@ export type ImageGridItemType = {
39
40
  isError?: boolean;
40
41
  fov?: Shape[];
41
42
  regions?: Shape[];
43
+ unit: string;
42
44
  };
@@ -27,5 +27,6 @@ export declare const generateFeedStreamsData: ({ latestSnapshots, fovInfos, base
27
27
  }[];
28
28
  styles: any;
29
29
  } | null)[] | undefined;
30
+ unit: string | undefined;
30
31
  }[];
31
32
  export declare const modifyShapes: ({ fov, regions, fovCondition, regionsCondition }: ModifyShapesType) => (import('@conboai/storybook.components').Shape | import('@conboai/storybook.components').Shape[])[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/app.db.query",
3
- "version": "0.8.83",
3
+ "version": "0.8.84",
4
4
  "type": "module",
5
5
  "main": "dist/app.db.query.js",
6
6
  "types": "dist/build/index.d.ts",