@conboai/app.db.query 0.9.46 → 0.9.48

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.
@@ -122049,17 +122049,19 @@ const uVe = async ({
122049
122049
  ]
122050
122050
  }
122051
122051
  ),
122052
- r && /* @__PURE__ */ te.jsx(Ve, { display: "flex", alignItems: "center", paddingRight: "24px", children: /* @__PURE__ */ te.jsx(
122053
- At,
122054
- {
122055
- color: qo,
122056
- fontWeight: "400",
122057
- fontSize: "16px",
122058
- lineHeight: "16px",
122059
- children: r
122060
- }
122061
- ) }),
122062
- g && /* @__PURE__ */ te.jsx(Ve, { mr: "12px", children: /* @__PURE__ */ te.jsx(g, {}) })
122052
+ /* @__PURE__ */ te.jsxs(Ve, { display: "flex", gap: "10px", pr: "12px", children: [
122053
+ r && /* @__PURE__ */ te.jsx(Ve, { display: "flex", alignItems: "center", children: /* @__PURE__ */ te.jsx(
122054
+ At,
122055
+ {
122056
+ color: qo,
122057
+ fontWeight: "400",
122058
+ fontSize: "16px",
122059
+ lineHeight: "16px",
122060
+ children: r
122061
+ }
122062
+ ) }),
122063
+ g && /* @__PURE__ */ te.jsx(Ve, { children: /* @__PURE__ */ te.jsx(g, {}) })
122064
+ ] })
122063
122065
  ]
122064
122066
  }
122065
122067
  ) }) }), pVe = (e) => {
@@ -131739,74 +131741,82 @@ const Up = ({
131739
131741
  }
131740
131742
  );
131741
131743
  }, YWe = (e) => {
131742
- const { showSiteName: t = !0, title: n, onHomeClick: r, titleWidth: o } = e, i = Ke(Op), { isLeftPanelShown: s } = Ke($t), [
131743
- a,
131744
+ const {
131745
+ showSiteName: t = !0,
131746
+ title: n,
131747
+ onHomeClick: r,
131748
+ titleWidth: o,
131749
+ UserComponent: i
131750
+ } = e, s = Ke(Op), { isLeftPanelShown: a } = Ke($t), [
131744
131751
  l,
131745
131752
  c,
131746
131753
  d,
131747
131754
  h,
131748
131755
  f,
131749
- m
131750
- ] = Ke((v) => [
131751
- v.selectedTabId,
131752
- v.addTab,
131753
- v.editTabTitle,
131754
- v.deleteTab,
131755
- v.selectTab,
131756
- v.editTabData,
131757
- v.deploymentConfiguration
131758
- ]), g = () => {
131759
- l(), f("isNewTab", !0), f("isUtc", !1), f("currentSliderIndex", 0);
131760
- }, y = (v) => {
131761
- f("isLeftPanelShown", v);
131762
- }, b = (v) => {
131763
- d(v);
131764
- }, C = (v) => {
131765
- h(v);
131756
+ m,
131757
+ g
131758
+ ] = Ke((x) => [
131759
+ x.selectedTabId,
131760
+ x.addTab,
131761
+ x.editTabTitle,
131762
+ x.deleteTab,
131763
+ x.selectTab,
131764
+ x.editTabData,
131765
+ x.deploymentConfiguration
131766
+ ]), y = () => {
131767
+ c(), m("isNewTab", !0), m("isUtc", !1), m("currentSliderIndex", 0);
131768
+ }, b = (x) => {
131769
+ m("isLeftPanelShown", x);
131770
+ }, C = (x) => {
131771
+ h(x);
131772
+ }, v = (x) => {
131773
+ f(x);
131766
131774
  };
131767
131775
  return /* @__PURE__ */ te.jsx(
131768
131776
  Pp,
131769
131777
  {
131770
131778
  titleWidth: o,
131771
131779
  title: n,
131772
- siteName: t ? m == null ? void 0 : m.name : "",
131773
- selectedTabId: a,
131774
- tabs: i,
131780
+ siteName: t ? g == null ? void 0 : g.name : "",
131781
+ selectedTabId: l,
131782
+ tabs: s,
131775
131783
  onHomeClick: r,
131776
- leftPanelStatusValue: s,
131777
- onClickTab: C,
131778
- onAddTab: g,
131779
- onEditTab: c,
131780
- onDeleteTab: b,
131781
- onToggleLeftPanel: y
131784
+ leftPanelStatusValue: a,
131785
+ onClickTab: v,
131786
+ onAddTab: y,
131787
+ onEditTab: d,
131788
+ onDeleteTab: C,
131789
+ onToggleLeftPanel: b,
131790
+ UserComponent: i
131782
131791
  }
131783
131792
  );
131784
131793
  }, Get = (e) => {
131785
- const { siteId: t, onHomeClick: n, baseUrl: r } = e, { isLeftPanelShown: o } = Ke($t), [i] = Ke((d) => [d.editTabData]);
131794
+ const { siteId: t, onHomeClick: n, baseUrl: r, UserComponent: o } = e, { isLeftPanelShown: i } = Ke($t), [s] = Ke((h) => [h.editTabData]);
131786
131795
  ad(r), Se(() => {
131787
131796
  document.title = Ki.CARGO;
131788
131797
  }, []), ld(t), Se(() => {
131789
- const h = (/* @__PURE__ */ new Date()).toISOString();
131790
- return i("startTime", h), i("endTime", h), () => {
131791
- i("feed", []), i("startTime", h), i("endTime", h), i("selectedTableItemId", -1), i("color", "white");
131798
+ const f = (/* @__PURE__ */ new Date()).toISOString();
131799
+ return s("startTime", f), s("endTime", f), () => {
131800
+ s("feed", []), s("startTime", f), s("endTime", f), s("selectedTableItemId", -1), s("color", "white");
131792
131801
  };
131793
- }, [i]);
131794
- const s = /* @__PURE__ */ te.jsx(
131802
+ }, [s]);
131803
+ const a = /* @__PURE__ */ te.jsx(
131795
131804
  YWe,
131796
131805
  {
131797
131806
  title: Ki.CARGO,
131798
131807
  titleWidth: "182px",
131799
- onHomeClick: n
131808
+ onHomeClick: n,
131809
+ UserComponent: o
131800
131810
  }
131801
- ), a = /* @__PURE__ */ te.jsx(xWe, {}), l = /* @__PURE__ */ te.jsx(wWe, {}), c = /* @__PURE__ */ te.jsx(fWe, { baseUrl: r });
131811
+ ), l = /* @__PURE__ */ te.jsx(xWe, {}), c = /* @__PURE__ */ te.jsx(wWe, {}), d = /* @__PURE__ */ te.jsx(fWe, { baseUrl: r });
131802
131812
  return /* @__PURE__ */ te.jsx(
131803
131813
  Up,
131804
131814
  {
131805
- isLeftPanelShown: o,
131806
- header: s,
131807
- sidebarLeft: a,
131808
- content: l,
131809
- sidebarRight: c,
131815
+ isLeftPanelShown: i,
131816
+ header: a,
131817
+ sidebarLeft: l,
131818
+ content: c,
131819
+ sidebarRight: d,
131810
131820
  baseUrl: r
131811
131821
  }
131812
131822
  );
@@ -142959,17 +142969,19 @@ const pZe = (e = [], t) => {
142959
142969
  ]
142960
142970
  }
142961
142971
  ),
142962
- t && /* @__PURE__ */ te.jsx(Ve, { display: "flex", alignItems: "center", paddingRight: "24px", children: /* @__PURE__ */ te.jsx(
142963
- At,
142964
- {
142965
- color: qo,
142966
- fontWeight: "400",
142967
- fontSize: "16px",
142968
- lineHeight: "16px",
142969
- children: t
142970
- }
142971
- ) }),
142972
- i && /* @__PURE__ */ te.jsx(Ve, { mr: "12px", children: /* @__PURE__ */ te.jsx(i, {}) })
142972
+ /* @__PURE__ */ te.jsxs(Ve, { display: "flex", gap: "10px", pr: "12px", children: [
142973
+ t && /* @__PURE__ */ te.jsx(Ve, { display: "flex", alignItems: "center", paddingRight: "24px", children: /* @__PURE__ */ te.jsx(
142974
+ At,
142975
+ {
142976
+ color: qo,
142977
+ fontWeight: "400",
142978
+ fontSize: "16px",
142979
+ lineHeight: "16px",
142980
+ children: t
142981
+ }
142982
+ ) }),
142983
+ i && /* @__PURE__ */ te.jsx(Ve, { children: /* @__PURE__ */ te.jsx(i, {}) })
142984
+ ] })
142973
142985
  ]
142974
142986
  }
142975
142987
  ) }) }), wZe = {
@@ -1,7 +1,10 @@
1
+ import { FC } from 'react';
2
+
1
3
  type InputProps = {
2
4
  siteId: string;
3
5
  baseUrl?: string;
4
6
  onHomeClick?: () => void;
7
+ UserComponent?: FC;
5
8
  };
6
9
  export declare const Cargo: (props: InputProps) => import("react/jsx-runtime").JSX.Element;
7
10
  export default Cargo;
@@ -1,8 +1,11 @@
1
+ import { FC } from 'react';
2
+
1
3
  type InputType = {
2
4
  title?: string;
3
5
  showSiteName?: boolean;
4
6
  titleWidth?: string;
5
7
  onHomeClick?: () => void;
8
+ UserComponent?: FC;
6
9
  };
7
10
  export declare const CargoHeader: (props: InputType) => import("react/jsx-runtime").JSX.Element;
8
11
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/app.db.query",
3
- "version": "0.9.46",
3
+ "version": "0.9.48",
4
4
  "type": "module",
5
5
  "main": "dist/app.db.query.js",
6
6
  "types": "dist/build/index.d.ts",