@hiver/connector-admin 0.0.10-beta.6 → 0.0.10-beta.8

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.
Files changed (28) hide show
  1. package/app/connectors/pages/connector-view/agent/index.d.ts.map +1 -1
  2. package/app/connectors/pages/connector-view/agent/styles.d.ts +4 -0
  3. package/app/connectors/pages/connector-view/agent/styles.d.ts.map +1 -0
  4. package/components/layouts/sidebar/styles.d.ts.map +1 -1
  5. package/features/agent/components/agent-landing/index.d.ts +2 -0
  6. package/features/agent/components/agent-landing/index.d.ts.map +1 -0
  7. package/features/agent/components/agent-landing/styles.d.ts +8 -0
  8. package/features/agent/components/agent-landing/styles.d.ts.map +1 -0
  9. package/features/agent/constants/index.d.ts +4 -0
  10. package/features/agent/constants/index.d.ts.map +1 -0
  11. package/features/connector-library/store/slice.d.ts +1 -1
  12. package/features/connector-library/store/slice.d.ts.map +1 -1
  13. package/{index-Dg3cJo5F.js → index-B4vTJgTz.js} +4 -3
  14. package/{index-C86xoZ7b.js → index-BD6d8j8c.js} +3 -3
  15. package/{index-DZZYWPGR.js → index-CQYnmtXy.js} +3 -3
  16. package/index-EHBDsMzm.js +67 -0
  17. package/{index-CJK1Pw2S.js → index-X3arshLk.js} +2 -2
  18. package/{index-CacMNgFo.js → index-m1nx1YPE.js} +2 -2
  19. package/{index-D6XGLhpi.js → index-sfSOXkkP.js} +250 -256
  20. package/index.es.js +1 -1
  21. package/index.umd.js +267 -215
  22. package/package.json +1 -1
  23. package/{styled-ui-components-CexO92WR.js → styled-ui-components-D4lUYZ75.js} +1 -1
  24. package/features/connector-library/utils/type-guards.d.ts +0 -8
  25. package/features/connector-library/utils/type-guards.d.ts.map +0 -1
  26. package/features/request-new-connector/utils/type-guards.d.ts +0 -3
  27. package/features/request-new-connector/utils/type-guards.d.ts.map +0 -1
  28. package/index-DCLS6Mxx.js +0 -5
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/connector-view/agent/index.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,+CAEjB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/connector-view/agent/index.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK,+CAMjB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { StyledComponent } from '@emotion/styled';
2
+ import { BoxProps } from '@hiver/hiver-ui-kit';
3
+ export declare const ContentParentWrapper: StyledComponent<BoxProps>;
4
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/connector-view/agent/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEpD,eAAO,MAAM,oBAAoB,EAAE,eAAe,CAAC,QAAQ,CAK1D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/sidebar/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAErE,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,CAMhD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,QAAQ,CAMpD,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,eAAe,CAGhE,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,QAAQ,CAqBpD,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/sidebar/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAErE,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,CAMhD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,QAAQ,CAMpD,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,eAAe,CAGhE,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,QAAQ,CAsBpD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const AgentLanding: () => import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/agent/components/agent-landing/index.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY,+CAoBxB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { StyledComponent } from '@emotion/styled';
2
+ import { BoxProps } from '@hiver/hiver-ui-kit';
3
+ export declare const AgentWrapper: StyledComponent<BoxProps>;
4
+ export declare const ViewWrapper: StyledComponent<BoxProps>;
5
+ export declare const MessageWrapper: StyledComponent<BoxProps>;
6
+ export declare const ImageWrapper: StyledComponent<BoxProps>;
7
+ export declare const Chip: StyledComponent<BoxProps>;
8
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/agent/components/agent-landing/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEpD,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,QAAQ,CAMlD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,QAAQ,CAKjD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,QAAQ,CAcpD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,QAAQ,CASlD,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,eAAe,CAAC,QAAQ,CAY1C,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare const AGENT_PAGE_HEADING = "Customising connectors on the agent\u2019s panel";
2
+ export declare const AGENT_PAGE_DESCRIPTION = "Configure your Connectors in the right panel, add your cards and name them how you want the agents to see and update them.";
3
+ export declare const COMING_SOON = "Coming Soon";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/agent/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,qDAAgD,CAAC;AAChF,eAAO,MAAM,sBAAsB,+HAC2F,CAAC;AAC/H,eAAO,MAAM,WAAW,gBAAgB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { PayloadAction } from '@reduxjs/toolkit';
2
2
  import { ConnectorState } from './initial-state';
3
- import { selectConnectorTemplateList, selectConnectorTemplates, selectCurrentTemplateData } from './selectors';
4
3
  import { IConnectorDetails } from '../../../types/connector';
4
+ import { selectConnectorTemplateList, selectConnectorTemplates, selectCurrentTemplateData } from './selectors';
5
5
  import { IConnectorStruct, IConnectorTemplate } from '../types/connector';
6
6
  interface ICurrentDashboard {
7
7
  currentDashboard: string;
@@ -1 +1 @@
1
- {"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/store/slice.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAItD,OAAO,EAAE,cAAc,EAAgB,MAAM,iBAAiB,CAAC;AAO/D,OAAO,EAAE,2BAA2B,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AAC/G,OAAO,E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O,MAAM,qBAAqB;4CAIU,cAAc,UAAU,aAAa,CAAC,iBAAiB,CAAC;;qGA+DlG,CAAC;AAIH,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;EAiB3B,CAAC;AAEH,QAAA,MAAM,yBAAyB;;YAER,MAAM;iBAAW,OAAO;;;QAAxB,MAAM;aAAW,OAAO;;;;;;;;;;EAI9C,CAAC;AAEF,QAAA,MAAM,eAAe;;;;;;;;;;;;;;EAkBnB,CAAC;AAEH,QAAA,MAAM,oBAAoB;;;2BASkB,iBAAiB;;;;;;;;;;EAE3D,CAAC;;AAEH,wBAA6C;AAC7C,eAAO,MAAM,OAAO;4CAhIwB,cAAc,UAAU,aAAa,CAAC,iBAAiB,CAAC;;sBAgIhD,CAAC;AACrD,OAAO,EACL,uBAAuB,EACvB,eAAe,EACf,oBAAoB,EACpB,2BAA2B,EAC3B,wBAAwB,EACxB,yBAAyB,EACzB,yBAAyB,EAC1B,CAAC"}
@@ -1,4 +1,4 @@
1
- import { s as o, B as n, T as g, M as f, u as b, j as t, C as u, S as m, a as C, O as j } from "./index-D6XGLhpi.js";
1
+ import { s as o, B as n, T as g, M as f, u, j as t, C as b, S as m, a as C, O as j } from "./index-sfSOXkkP.js";
2
2
  import { useContext as S } from "react";
3
3
  const B = o(n)`
4
4
  box-sizing: border-box;
@@ -29,6 +29,7 @@ const B = o(n)`
29
29
  color: #6f7c90;
30
30
  font-size: 13px;
31
31
  line-height: 24px;
32
+ cursor: pointer;
32
33
  &.active {
33
34
  font-size: 14px;
34
35
  background-color: rgba(246, 248, 252, 1);
@@ -37,7 +38,7 @@ const B = o(n)`
37
38
  }
38
39
  }
39
40
  `, z = ({ sidebarOptions: s = [] }) => {
40
- const { currentSideBar: a, setCurrentSideBar: c } = S(f), d = b(), p = (i, e, r) => {
41
+ const { currentSideBar: a, setCurrentSideBar: c } = S(f), d = u(), p = (i, e, r) => {
41
42
  i.stopPropagation(), c(r), d(e);
42
43
  }, x = () => /* @__PURE__ */ t.jsx(k, { children: s.map(({ id: i, value: e, route: r }) => {
43
44
  const h = a === e;
@@ -53,7 +54,7 @@ const B = o(n)`
53
54
  );
54
55
  }) });
55
56
  return /* @__PURE__ */ t.jsx(B, { "data-testid": "sideBarParent", children: /* @__PURE__ */ t.jsxs(O, { children: [
56
- /* @__PURE__ */ t.jsx(v, { variant: "h3", "data-testid": "custom-connector-heading", children: u }),
57
+ /* @__PURE__ */ t.jsx(v, { variant: "h3", "data-testid": "custom-connector-heading", children: b }),
57
58
  x()
58
59
  ] }) });
59
60
  }, y = () => /* @__PURE__ */ t.jsxs(m, { direction: "row", alignItems: "stretch", sx: { minHeight: "100vh" }, children: [
@@ -1,6 +1,6 @@
1
- import { s as c, S as e, I as f, L as A, j as t, a3 as I, Q as r, T as p, U as S, W as m, u as b } from "./index-D6XGLhpi.js";
2
- import { m as v } from "./index-CJK1Pw2S.js";
3
- import { C as h, d as w, a as y, e as T, f as P, g as k, T as B } from "./styled-ui-components-CexO92WR.js";
1
+ import { s as c, S as e, I as f, L as A, j as t, a3 as I, Q as r, T as p, U as S, W as m, u as b } from "./index-sfSOXkkP.js";
2
+ import { m as v } from "./index-X3arshLk.js";
3
+ import { C as h, d as w, a as y, e as T, f as P, g as k, T as B } from "./styled-ui-components-D4lUYZ75.js";
4
4
  import { useRef as E } from "react";
5
5
  const M = c(e)`
6
6
  margin: 43px 0 0 229px;
@@ -1,8 +1,8 @@
1
- import { c as Q2, j as I, b as R2, d as L2, e as c2, f as B0, _ as w, g as jA, h as qA, s as r, i as d, k as RA, l as wA, m as V, P as C, n as ZA, o as gA, p as Z2, q as N2, r as I0, t as P2, v as mA, w as X2, x as zA, I as U2, y as d2, A as E0, z as y2, D as e0, E as o0, F as t0, G as r0, H as n0, J as a0, K as s0, L as K, T as b, B as nA, u as i0, N as H2, Q as PA, R as c0, U as b2, V as l0, W as T2, X as d0, S as k, Y as OA, Z as f0, $ as D0, a0 as w0, a1 as p0, a2 as u0 } from "./index-D6XGLhpi.js";
1
+ import { c as Q2, j as I, b as R2, d as L2, e as c2, f as B0, _ as w, g as jA, h as qA, s as r, i as d, k as RA, l as wA, m as V, P as C, n as ZA, o as gA, p as Z2, q as N2, r as I0, t as P2, v as mA, w as X2, x as zA, I as U2, y as d2, A as E0, z as y2, D as e0, E as o0, F as t0, G as r0, H as n0, J as a0, K as s0, L as K, T as b, B as nA, u as i0, N as H2, Q as PA, R as c0, U as b2, V as l0, W as T2, X as d0, S as k, Y as OA, Z as f0, $ as D0, a0 as w0, a1 as p0, a2 as u0 } from "./index-sfSOXkkP.js";
2
2
  import * as u from "react";
3
3
  import { useEffect as g2, useState as LA } from "react";
4
- import { S as v0, E as M0, a as L0, R as S2, C as P0, b as x0, c as F0, T as h0, d as U0, e as H0, f as b0, g as m0, h as O0, i as k0, j as Y0, k as N0, l as G2, m as X0 } from "./index-CJK1Pw2S.js";
5
- import { P as W2, C as x2, s as y0, a as T0, b as G0, T as V0, c as K0 } from "./styled-ui-components-CexO92WR.js";
4
+ import { S as v0, E as M0, a as L0, R as S2, C as P0, b as x0, c as F0, T as h0, d as U0, e as H0, f as b0, g as m0, h as O0, i as k0, j as Y0, k as N0, l as G2, m as X0 } from "./index-X3arshLk.js";
5
+ import { P as W2, C as x2, s as y0, a as T0, b as G0, T as V0, c as K0 } from "./styled-ui-components-D4lUYZ75.js";
6
6
  const J0 = (A) => {
7
7
  const g = u.useRef({});
8
8
  return u.useEffect(() => {