@conboai/app.db.query 0.9.75 → 0.9.76

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.
@@ -157921,103 +157921,105 @@ const l3t = ({
157921
157921
  deploymentId: e,
157922
157922
  onHomeClick: t,
157923
157923
  baseUrl: n = "",
157924
- links: r
157924
+ links: r,
157925
+ UserComponent: o
157925
157926
  }) => {
157926
- const { getClassifications: o } = sC(), {
157927
- feed: i,
157928
- isLeftPanelShown: s,
157929
- startTime: a,
157930
- endTime: l,
157931
- isSiteTimezone: c,
157932
- selectedClassifications: u,
157933
- selectedSeverities: h
157934
- } = Ge($t), [f, g] = Ge((O) => [
157935
- O.editTabData,
157936
- O.newSiteInfo
157937
- ]), { abortRequests: m, loading: y } = sC(), [b, T] = Ue(a), [M, C] = Ue(l), [D, N] = Ue(!1), [I, j] = Ue(
157927
+ const { getClassifications: i } = sC(), {
157928
+ feed: s,
157929
+ isLeftPanelShown: a,
157930
+ startTime: l,
157931
+ endTime: c,
157932
+ isSiteTimezone: u,
157933
+ selectedClassifications: h,
157934
+ selectedSeverities: f
157935
+ } = Ge($t), [g, m] = Ge((z) => [
157936
+ z.editTabData,
157937
+ z.newSiteInfo
157938
+ ]), { abortRequests: y, loading: b } = sC(), [T, M] = Ue(l), [C, D] = Ue(c), [N, I] = Ue(!1), [j, U] = Ue(
157938
157939
  Intl.DateTimeFormat().resolvedOptions().timeZone
157939
157940
  );
157940
157941
  je(() => {
157941
157942
  document.title = os.EVENT_LOG;
157942
157943
  }, []), je(() => {
157943
- T(a), C(l);
157944
- }, [a, l]), je(() => {
157945
- const O = c ? g.timezoneName : Intl.DateTimeFormat().resolvedOptions().timeZone;
157946
- j(O);
157947
- const z = Kr(b, O), E = Kr(M, O);
157948
- f("startTime", z), f("endTime", E), f("timezone", O);
157944
+ M(l), D(c);
157945
+ }, [l, c]), je(() => {
157946
+ const z = u ? m.timezoneName : Intl.DateTimeFormat().resolvedOptions().timeZone;
157947
+ U(z);
157948
+ const E = Kr(T, z), _ = Kr(C, z);
157949
+ g("startTime", E), g("endTime", _), g("timezone", z);
157949
157950
  }, [
157950
- c,
157951
- g.timezoneName,
157952
- M,
157953
- b,
157954
- f,
157955
- I
157951
+ u,
157952
+ m.timezoneName,
157953
+ C,
157954
+ T,
157955
+ g,
157956
+ j
157956
157957
  ]);
157957
- const { getEvents: U } = sC(), P = ct(async () => {
157958
- var z, E;
157959
- const O = ((E = (z = i == null ? void 0 : i[0]) == null ? void 0 : z.split("/")) == null ? void 0 : E[1]) || "";
157960
- f("shouldFetchData", !0), f("shouldFetchCheckboxes", !0), f("isRequestAborted", !1), f("shouldClearData", !0), f("isNewTab", !1), f("isNewSearch", !0), f("title", O), U({
157958
+ const { getEvents: P } = sC(), k = ct(async () => {
157959
+ var E, _;
157960
+ const z = ((_ = (E = s == null ? void 0 : s[0]) == null ? void 0 : E.split("/")) == null ? void 0 : _[1]) || "";
157961
+ g("shouldFetchData", !0), g("shouldFetchCheckboxes", !0), g("isRequestAborted", !1), g("shouldClearData", !0), g("isNewTab", !1), g("isNewSearch", !0), g("title", z), P({
157961
157962
  deploymentId: "bf78ee23-cb7e-4786-9cc6-f68fcf219086",
157962
- startTime: Ro(b, I),
157963
- endTime: Ro(M, I),
157964
- feedAssignedIdNameList: i,
157965
- classifications: u,
157966
- severities: h,
157963
+ startTime: Ro(T, j),
157964
+ endTime: Ro(C, j),
157965
+ feedAssignedIdNameList: s,
157966
+ classifications: h,
157967
+ severities: f,
157967
157968
  isEvent: !1,
157968
157969
  skip: 0,
157969
157970
  take: 1e4
157970
157971
  });
157971
157972
  }, [
157972
- f,
157973
- i,
157974
- U,
157975
- M,
157976
- b,
157977
- u,
157973
+ g,
157974
+ s,
157975
+ P,
157976
+ C,
157977
+ T,
157978
157978
  h,
157979
- I
157980
- ]), { abortModalProps: k } = pg(
157981
- m,
157982
- y === "pending",
157979
+ f,
157980
+ j
157981
+ ]), { abortModalProps: L } = pg(
157982
+ y,
157983
+ b === "pending",
157983
157984
  t
157984
157985
  );
157985
157986
  je(() => {
157986
- y !== "pending" && f("isAbortModalOpened", !1);
157987
- }, [f, y]), pd(n), fd(e), Xde(), je(() => {
157988
- Ge.getState().getSitesFeeds({ deploymentId: e }), o(e);
157989
- }, [e, o]);
157990
- const L = /* @__PURE__ */ Y.jsx(
157987
+ b !== "pending" && g("isAbortModalOpened", !1);
157988
+ }, [g, b]), pd(n), fd(e), Xde(), je(() => {
157989
+ Ge.getState().getSitesFeeds({ deploymentId: e }), i(e);
157990
+ }, [e, i]);
157991
+ const R = /* @__PURE__ */ Y.jsx(
157991
157992
  L0t,
157992
157993
  {
157993
157994
  title: os.EVENT_LOG,
157994
157995
  onHomeClick: t,
157995
- isLoading: y === "pending"
157996
+ isLoading: b === "pending",
157997
+ UserComponent: o
157996
157998
  }
157997
- ), R = /* @__PURE__ */ Y.jsx(
157999
+ ), A = /* @__PURE__ */ Y.jsx(
157998
158000
  B0t,
157999
158001
  {
158000
- search: P,
158001
- setChecked: N,
158002
- localEndTime: M,
158003
- localStartTime: b,
158004
- checked: D,
158005
- setLocalEndTime: C,
158006
- setLocalStartTime: T,
158007
- timezone: I,
158002
+ search: k,
158003
+ setChecked: I,
158004
+ localEndTime: C,
158005
+ localStartTime: T,
158006
+ checked: N,
158007
+ setLocalEndTime: D,
158008
+ setLocalStartTime: M,
158009
+ timezone: j,
158008
158010
  deploymentId: e
158009
158011
  }
158010
- ), A = /* @__PURE__ */ Y.jsx(z0t, { baseUrl: n, deploymentId: e }), w = /* @__PURE__ */ Y.jsx(_0t, { baseUrl: n, links: r });
158012
+ ), w = /* @__PURE__ */ Y.jsx(z0t, { baseUrl: n, deploymentId: e }), O = /* @__PURE__ */ Y.jsx(_0t, { baseUrl: n, links: r });
158011
158013
  return /* @__PURE__ */ Y.jsx(
158012
158014
  Qh,
158013
158015
  {
158014
- isLeftPanelShown: s,
158015
- header: L,
158016
- content: A,
158017
- sidebarLeft: R,
158018
- sidebarRight: w,
158016
+ isLeftPanelShown: a,
158017
+ header: R,
158018
+ content: w,
158019
+ sidebarLeft: A,
158020
+ sidebarRight: O,
158019
158021
  baseUrl: n,
158020
- abortModalProps: k
158022
+ abortModalProps: L
158021
158023
  }
158022
158024
  );
158023
158025
  }, $0t = (e) => {
@@ -1,3 +1,4 @@
1
+ import { FC } from 'react';
1
2
  import { Link } from '../../shared/RightLayout/RightLayout';
2
3
 
3
4
  type InputProps = {
@@ -5,6 +6,7 @@ type InputProps = {
5
6
  baseUrl?: string;
6
7
  onHomeClick?: () => void;
7
8
  links?: Link[];
9
+ UserComponent?: FC;
8
10
  };
9
- export declare const EventLog: ({ deploymentId, onHomeClick, baseUrl, links }: InputProps) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const EventLog: ({ deploymentId, onHomeClick, baseUrl, links, UserComponent }: InputProps) => import("react/jsx-runtime").JSX.Element;
10
12
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/app.db.query",
3
- "version": "0.9.75",
3
+ "version": "0.9.76",
4
4
  "type": "module",
5
5
  "main": "dist/app.db.query.js",
6
6
  "types": "dist/build/index.d.ts",