@conboai/app.db.query 0.9.47 → 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.
@@ -131741,74 +131741,82 @@ const Up = ({
131741
131741
  }
131742
131742
  );
131743
131743
  }, YWe = (e) => {
131744
- const { showSiteName: t = !0, title: n, onHomeClick: r, titleWidth: o } = e, i = Ke(Op), { isLeftPanelShown: s } = Ke($t), [
131745
- 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), [
131746
131751
  l,
131747
131752
  c,
131748
131753
  d,
131749
131754
  h,
131750
131755
  f,
131751
- m
131752
- ] = Ke((v) => [
131753
- v.selectedTabId,
131754
- v.addTab,
131755
- v.editTabTitle,
131756
- v.deleteTab,
131757
- v.selectTab,
131758
- v.editTabData,
131759
- v.deploymentConfiguration
131760
- ]), g = () => {
131761
- l(), f("isNewTab", !0), f("isUtc", !1), f("currentSliderIndex", 0);
131762
- }, y = (v) => {
131763
- f("isLeftPanelShown", v);
131764
- }, b = (v) => {
131765
- d(v);
131766
- }, C = (v) => {
131767
- 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);
131768
131774
  };
131769
131775
  return /* @__PURE__ */ te.jsx(
131770
131776
  Pp,
131771
131777
  {
131772
131778
  titleWidth: o,
131773
131779
  title: n,
131774
- siteName: t ? m == null ? void 0 : m.name : "",
131775
- selectedTabId: a,
131776
- tabs: i,
131780
+ siteName: t ? g == null ? void 0 : g.name : "",
131781
+ selectedTabId: l,
131782
+ tabs: s,
131777
131783
  onHomeClick: r,
131778
- leftPanelStatusValue: s,
131779
- onClickTab: C,
131780
- onAddTab: g,
131781
- onEditTab: c,
131782
- onDeleteTab: b,
131783
- onToggleLeftPanel: y
131784
+ leftPanelStatusValue: a,
131785
+ onClickTab: v,
131786
+ onAddTab: y,
131787
+ onEditTab: d,
131788
+ onDeleteTab: C,
131789
+ onToggleLeftPanel: b,
131790
+ UserComponent: i
131784
131791
  }
131785
131792
  );
131786
131793
  }, Get = (e) => {
131787
- 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]);
131788
131795
  ad(r), Se(() => {
131789
131796
  document.title = Ki.CARGO;
131790
131797
  }, []), ld(t), Se(() => {
131791
- const h = (/* @__PURE__ */ new Date()).toISOString();
131792
- return i("startTime", h), i("endTime", h), () => {
131793
- 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");
131794
131801
  };
131795
- }, [i]);
131796
- const s = /* @__PURE__ */ te.jsx(
131802
+ }, [s]);
131803
+ const a = /* @__PURE__ */ te.jsx(
131797
131804
  YWe,
131798
131805
  {
131799
131806
  title: Ki.CARGO,
131800
131807
  titleWidth: "182px",
131801
- onHomeClick: n
131808
+ onHomeClick: n,
131809
+ UserComponent: o
131802
131810
  }
131803
- ), 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 });
131804
131812
  return /* @__PURE__ */ te.jsx(
131805
131813
  Up,
131806
131814
  {
131807
- isLeftPanelShown: o,
131808
- header: s,
131809
- sidebarLeft: a,
131810
- content: l,
131811
- sidebarRight: c,
131815
+ isLeftPanelShown: i,
131816
+ header: a,
131817
+ sidebarLeft: l,
131818
+ content: c,
131819
+ sidebarRight: d,
131812
131820
  baseUrl: r
131813
131821
  }
131814
131822
  );
@@ -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.47",
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",