@conboai/app.db.query 0.8.16 → 0.8.17

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.
@@ -1567,7 +1567,8 @@ const gX = [
1567
1567
  conboMatchUtcValue: !1,
1568
1568
  conboMatchExlusiveValue: !0,
1569
1569
  conboMatchInputError: "",
1570
- fov: !1
1570
+ fov: !1,
1571
+ tabFovInfo: null
1571
1572
  }, bX = {
1572
1573
  id: 0,
1573
1574
  name: "",
@@ -119137,7 +119138,7 @@ function cK({ baseUrl: e = "", isImageAnalysis: t = !1 }) {
119137
119138
  isNewSearch: M,
119138
119139
  isDeepSearch: C,
119139
119140
  isUtc: R,
119140
- fov: _
119141
+ tabFovInfo: _
119141
119142
  } = Ut(yr), { topOneFilterKeys: D } = iP(), { classifiersFilterKeys: V } = nu(), { getFovByAssignedFeed: $, fovInfo: N, clearQueryInfo: H } = Md(), [q, Z] = $e([]), [re, oe] = $e(""), [ne, le] = $e(
119142
119143
  bm[0].value
119143
119144
  ), [K, Q] = $e("0"), [se, he] = $e(
@@ -119290,9 +119291,9 @@ function cK({ baseUrl: e = "", isImageAnalysis: t = !1 }) {
119290
119291
  delay: F,
119291
119292
  getLabel: p
119292
119293
  });
119293
- if (N && N.pixel_points && Array.isArray(N.pixel_points.coordinates)) {
119294
+ if (_ && _.pixel_points && Array.isArray(_.pixel_points.coordinates)) {
119294
119295
  const Ft = new Array(
119295
- f_e(N.pixel_points.coordinates)
119296
+ f_e(_.pixel_points.coordinates)
119296
119297
  );
119297
119298
  ue([
119298
119299
  ...Tt,
@@ -119301,7 +119302,7 @@ function cK({ baseUrl: e = "", isImageAnalysis: t = !1 }) {
119301
119302
  }
119302
119303
  }, [
119303
119304
  Ne,
119304
- N,
119305
+ _,
119305
119306
  p,
119306
119307
  F,
119307
119308
  pt
@@ -119312,15 +119313,15 @@ function cK({ baseUrl: e = "", isImageAnalysis: t = !1 }) {
119312
119313
  }, [te]), Ie(() => () => {
119313
119314
  o(), a(), ie([]), he(null);
119314
119315
  }, [o, a]), Ie(() => {
119315
- _ && v.length ? $({
119316
- assignedFeedId: v[0].assigned_feed_id
119317
- }) : H();
119318
- }, [H, _, v, $]);
119316
+ N != null && N.pixel_points.coordinates.length && u("tabFovInfo", N);
119317
+ }, [u, N]);
119319
119318
  const fn = It(
119320
119319
  (Tt) => (Ft) => {
119321
- be((Jt) => Jt.map((Ot, ao) => (Ot.label === "FOV" && u("fov", Ft.target.checked), ao === Tt ? { ...Ot, value: Ft.target.checked } : Ot)));
119320
+ be((Jt) => Jt.map((Ot, ao) => (Ot.label === "FOV" && (u("fov", Ft.target.checked), Ft.target.checked && v.length ? $({
119321
+ assignedFeedId: v[0].assigned_feed_id
119322
+ }) : H()), ao === Tt ? { ...Ot, value: Ft.target.checked } : Ot)));
119322
119323
  },
119323
- [u]
119324
+ [u, v, $, H]
119324
119325
  );
119325
119326
  Ie(() => {
119326
119327
  Z(Ne);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/app.db.query",
3
- "version": "0.8.16",
3
+ "version": "0.8.17",
4
4
  "type": "module",
5
5
  "main": "dist/app.db.query.js",
6
6
  "types": "dist/build/index.d.ts",