@hiver/connector-admin 0.0.10-beta.65 → 0.0.10-beta.66
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.
- package/{hooks-C2NvK7qV.js → hooks-BMordTJA.js} +1 -1
- package/{index-kwSJ0hBr.js → index-8LTjq0u_.js} +2 -2
- package/{index-BWy9cqMZ.js → index-AFTEfAWY.js} +12 -12
- package/{index-BC3bCA5Y.js → index-B-POqaqi.js} +1 -1
- package/{index-2JGNkOkN.js → index-Buvd-U5J.js} +7 -7
- package/{index-RXU7HzKd.js → index-CDszcO7B.js} +1 -1
- package/{index-BvFuYUJR.js → index-CSwgX5by.js} +3 -3
- package/{index-BPgSYJrR.js → index-ECVJ7Y4U.js} +3 -3
- package/{index-CWp0K3yS.js → index-xC5SsqBd.js} +4 -4
- package/index.es.js +1 -1
- package/index.umd.js +1 -1
- package/package.json +1 -1
- package/{showMessage-OkFjc0xn.js → showMessage-DKUItBOK.js} +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { s as p, B as d, b1 as f, b2 as A, b3 as h, A as u, aH as w, aI as l, j as e } from "./index-
|
|
1
|
+
import { s as p, B as d, b1 as f, b2 as A, b3 as h, A as u, aH as w, aI as l, j as e } from "./index-Buvd-U5J.js";
|
|
2
2
|
import { useEffect as r } from "react";
|
|
3
|
-
import { u as m, a as c } from "./hooks-
|
|
3
|
+
import { u as m, a as c } from "./hooks-BMordTJA.js";
|
|
4
4
|
import { d as S, e as x } from "./selectors-BZXXKPzK.js";
|
|
5
5
|
const T = p(d)`
|
|
6
6
|
position: fixed;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { s as c, b as o, o as f, j as t, i as j, T as d, w as y, u as S, x as b, y as
|
|
1
|
+
import { s as c, b as o, o as f, j as t, i as j, T as d, w as y, u as S, x as b, y as T, z as v, D as I, R as E, A as C } from "./index-Buvd-U5J.js";
|
|
2
2
|
import { useState as D, useEffect as P } from "react";
|
|
3
|
-
import { a as h, u as k } from "./hooks-
|
|
4
|
-
import { C as L, d as B, e as M, f as R, g as N, T as _ } from "./showMessage-
|
|
5
|
-
import { c as Z, b as W } from "./index-
|
|
3
|
+
import { a as h, u as k } from "./hooks-BMordTJA.js";
|
|
4
|
+
import { C as L, d as B, e as M, f as R, g as N, T as _ } from "./showMessage-DKUItBOK.js";
|
|
5
|
+
import { c as Z, b as W } from "./index-ECVJ7Y4U.js";
|
|
6
6
|
const q = "{{connector}} features", F = "Following are the list of features that you will find in this connector", O = "Request new Feature", $ = c(o)`
|
|
7
7
|
width: 100%;
|
|
8
8
|
height: ${(s) => s.height ? s.height : "72px"};
|
|
@@ -11,7 +11,7 @@ const q = "{{connector}} features", F = "Following are the list of features that
|
|
|
11
11
|
border: 1px solid ${f.palette.gray.gray6};
|
|
12
12
|
border-radius: 8px;
|
|
13
13
|
box-sizing: border-box;
|
|
14
|
-
`, z = () => /* @__PURE__ */ t.jsx(o, { gap: "12px", children: Array(3).fill(0).map((s, a) => /* @__PURE__ */ t.jsxs($, { children: [
|
|
14
|
+
`, z = () => /* @__PURE__ */ t.jsx(o, { marginTop: "28px", gap: "12px", children: Array(3).fill(0).map((s, a) => /* @__PURE__ */ t.jsxs($, { children: [
|
|
15
15
|
/* @__PURE__ */ t.jsx(L, { variant: "rounded", width: "862px", height: "10px", animation: "wave" }),
|
|
16
16
|
/* @__PURE__ */ t.jsx(L, { variant: "rounded", width: "862px", height: "10px", animation: "wave" })
|
|
17
17
|
] }, a)) }), U = c(o)`
|
|
@@ -23,7 +23,7 @@ const q = "{{connector}} features", F = "Following are the list of features that
|
|
|
23
23
|
color: ${f.palette.purple.primary} !important;
|
|
24
24
|
border: 1px solid ${f.palette.purple.primary} !important;
|
|
25
25
|
}
|
|
26
|
-
`, V = ({ connectorName: s, connectorType: a, apiList: x, isLoading: m = !1, isEdit:
|
|
26
|
+
`, V = ({ connectorName: s, connectorType: a, apiList: x, isLoading: m = !1, isEdit: g = !1 }) => {
|
|
27
27
|
const r = q.replace("{{connector}}", s ?? ""), [n, l] = D(!1), i = () => {
|
|
28
28
|
l(!0);
|
|
29
29
|
};
|
|
@@ -34,7 +34,7 @@ const q = "{{connector}} features", F = "Following are the list of features that
|
|
|
34
34
|
/* @__PURE__ */ t.jsx(d, { variant: "h2", children: r }),
|
|
35
35
|
/* @__PURE__ */ t.jsx(d, { variant: "body1", marginBottom: "20px", children: F })
|
|
36
36
|
] }),
|
|
37
|
-
|
|
37
|
+
g ? /* @__PURE__ */ t.jsx(
|
|
38
38
|
G,
|
|
39
39
|
{
|
|
40
40
|
color: "tertiary",
|
|
@@ -76,13 +76,13 @@ const q = "{{connector}} features", F = "Following are the list of features that
|
|
|
76
76
|
margin: 0;
|
|
77
77
|
}
|
|
78
78
|
`, st = () => {
|
|
79
|
-
const s = S(), a = h(B), x = h(M), m = h(R),
|
|
79
|
+
const s = S(), a = h(B), x = h(M), m = h(R), g = h(N), r = k(), { id: n = "" } = b(), [l] = T(), i = l.get("isEdit") === "true", p = (a == null ? void 0 : a[n]) || null;
|
|
80
80
|
P(() => {
|
|
81
|
-
r(i ?
|
|
81
|
+
r(i ? v(n) : I(n));
|
|
82
82
|
}, [i, r, n]);
|
|
83
|
-
const w = (
|
|
84
|
-
|
|
85
|
-
}, e = i ? p : x, A = m === C.LOADING ||
|
|
83
|
+
const w = (u) => {
|
|
84
|
+
u == null || u.stopPropagation(), s(E.BASEPATH);
|
|
85
|
+
}, e = i ? p : x, A = m === C.LOADING || g === C.LOADING;
|
|
86
86
|
return /* @__PURE__ */ t.jsxs(Q, { "data-testid": "connector-config", children: [
|
|
87
87
|
/* @__PURE__ */ t.jsx(_, { title: "Back", placement: "bottom", children: /* @__PURE__ */ t.jsx(J, { onClick: w, children: /* @__PURE__ */ t.jsx("img", { src: H }) }) }),
|
|
88
88
|
e ? /* @__PURE__ */ t.jsx(W, { isConfigSettingsPage: !0, connector: e, isEdit: i }) : null,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as o, B as s, T as u, M as m, u as S, a as b, R as C, S as d, j as i, C as B, b as v, c as j, O as k } from "./index-
|
|
1
|
+
import { s as o, B as s, T as u, M as m, u as S, a as b, R as C, S as d, j as i, C as B, b as v, c as j, O as k } from "./index-Buvd-U5J.js";
|
|
2
2
|
import { useContext as E, useEffect as O } from "react";
|
|
3
3
|
const T = o(s)`
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -30651,35 +30651,35 @@ const kk = (e) => ck(
|
|
|
30651
30651
|
{
|
|
30652
30652
|
path: qt.BASEPATH,
|
|
30653
30653
|
lazy: async () => {
|
|
30654
|
-
const { ConnectorView: t } = await import("./index-
|
|
30654
|
+
const { ConnectorView: t } = await import("./index-B-POqaqi.js");
|
|
30655
30655
|
return { Component: t };
|
|
30656
30656
|
},
|
|
30657
30657
|
children: [
|
|
30658
30658
|
{
|
|
30659
30659
|
index: !0,
|
|
30660
30660
|
lazy: async () => {
|
|
30661
|
-
const { Dashboard: t } = await import("./index-
|
|
30661
|
+
const { Dashboard: t } = await import("./index-xC5SsqBd.js");
|
|
30662
30662
|
return { Component: t };
|
|
30663
30663
|
}
|
|
30664
30664
|
},
|
|
30665
30665
|
{
|
|
30666
30666
|
path: qt.DASHBOARD,
|
|
30667
30667
|
lazy: async () => {
|
|
30668
|
-
const { Dashboard: t } = await import("./index-
|
|
30668
|
+
const { Dashboard: t } = await import("./index-xC5SsqBd.js");
|
|
30669
30669
|
return { Component: t };
|
|
30670
30670
|
}
|
|
30671
30671
|
},
|
|
30672
30672
|
{
|
|
30673
30673
|
path: qt.AGENT,
|
|
30674
30674
|
lazy: async () => {
|
|
30675
|
-
const { Agent: t } = await import("./index-
|
|
30675
|
+
const { Agent: t } = await import("./index-CDszcO7B.js");
|
|
30676
30676
|
return { Component: t };
|
|
30677
30677
|
}
|
|
30678
30678
|
},
|
|
30679
30679
|
{
|
|
30680
30680
|
path: `${qt.API_VIEW}/:id`,
|
|
30681
30681
|
lazy: async () => {
|
|
30682
|
-
const { ConnectorConfig: t } = await import("./index-
|
|
30682
|
+
const { ConnectorConfig: t } = await import("./index-AFTEfAWY.js");
|
|
30683
30683
|
return { Component: t };
|
|
30684
30684
|
}
|
|
30685
30685
|
}
|
|
@@ -30688,14 +30688,14 @@ const kk = (e) => ck(
|
|
|
30688
30688
|
{
|
|
30689
30689
|
path: `${qt.CONNECTOR_SETTINGS}/:id`,
|
|
30690
30690
|
lazy: async () => {
|
|
30691
|
-
const { Settings: t } = await import("./index-
|
|
30691
|
+
const { Settings: t } = await import("./index-CSwgX5by.js");
|
|
30692
30692
|
return { Component: t };
|
|
30693
30693
|
}
|
|
30694
30694
|
},
|
|
30695
30695
|
{
|
|
30696
30696
|
path: qt.AUTH_SUCCESS,
|
|
30697
30697
|
lazy: async () => {
|
|
30698
|
-
const { AuthSuccess: t } = await import("./index-
|
|
30698
|
+
const { AuthSuccess: t } = await import("./index-8LTjq0u_.js");
|
|
30699
30699
|
return { Component: t };
|
|
30700
30700
|
}
|
|
30701
30701
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as g, b as C, B as I, M as r, j as A, m as v, T as B, n as t, p as u, H as d, q as e, r as s, t as w, v as b } from "./index-
|
|
1
|
+
import { s as g, b as C, B as I, M as r, j as A, m as v, T as B, n as t, p as u, H as d, q as e, r as s, t as w, v as b } from "./index-Buvd-U5J.js";
|
|
2
2
|
import { useContext as X } from "react";
|
|
3
3
|
const W = g(C)`
|
|
4
4
|
width: 100%;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { s as X, b as j, o as je, T as pe, u as Ot, j as C, an as Vn, ao as G, ap as Mt, aq as ct, ar as Tn, B as z, as as Wn, w as Rn, at as Nn, au as Xn, av as Se, aw as Zn, i as kt, ax as $, ay as wn, az as Hn, aA as dt, aB as gt, aC as Pn, A as ze, aD as Ln, x as Dn, y as On, aE as Mn, aF as kn, z as Jn, D as Yn, aG as Le, R as he, aH as jn, aI as bt, aJ as zn, aK as Un } from "./index-
|
|
1
|
+
import { s as X, b as j, o as je, T as pe, u as Ot, j as C, an as Vn, ao as G, ap as Mt, aq as ct, ar as Tn, B as z, as as Wn, w as Rn, at as Nn, au as Xn, av as Se, aw as Zn, i as kt, ax as $, ay as wn, az as Hn, aA as dt, aB as gt, aC as Pn, A as ze, aD as Ln, x as Dn, y as On, aE as Mn, aF as kn, z as Jn, D as Yn, aG as Le, R as he, aH as jn, aI as bt, aJ as zn, aK as Un } from "./index-Buvd-U5J.js";
|
|
2
2
|
import * as W from "react";
|
|
3
3
|
import Qn, { useState as J, useCallback as L, useLayoutEffect as _n, useRef as te, useMemo as me, createContext as Kn, useContext as $n, Component as qn, Fragment as Ue, useEffect as ne, forwardRef as ei, useReducer as ti } from "react";
|
|
4
4
|
import { createPortal as ni } from "react-dom";
|
|
5
|
-
import { T as pt, C as It, A as ii, d as ui, e as ri, f as ai, g as oi, k as mt, S as li, m as si } from "./showMessage-
|
|
6
|
-
import { u as et, a as ce } from "./hooks-
|
|
5
|
+
import { T as pt, C as It, A as ii, d as ui, e as ri, f as ai, g as oi, k as mt, S as li, m as si } from "./showMessage-DKUItBOK.js";
|
|
6
|
+
import { u as et, a as ce } from "./hooks-BMordTJA.js";
|
|
7
7
|
import { s as ci, a as di, b as gi, c as bi } from "./selectors-BZXXKPzK.js";
|
|
8
8
|
const pi = X(j)`
|
|
9
9
|
margin-bottom: 36px;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { E as S2, F as l2, G as c2, J as a0, _ as s, K as bA, N as YA, s as D, P as d, Q as ZA, U as wA, j as I, V as q, W as C, X as NA, Y as f2, Z as AA, $ as W2, a0 as m2, a1 as s0, a2 as F2, a3 as mA, a4 as V2, a5 as jA, w as D2, a6 as u2, a7 as c0, a8 as K2, a9 as i0, aa as $2, ab as l0, ac as Y2, ad as d0, ae as f0, af as D0, ag as u0, ah as w0, ai as p0, B as UA, o as MA, T as LA, b as T, i as g2, u as v0, A as d2, aj as M0, R as qA, ak as L0, al as P0, am as U0 } from "./index-
|
|
1
|
+
import { E as S2, F as l2, G as c2, J as a0, _ as s, K as bA, N as YA, s as D, P as d, Q as ZA, U as wA, j as I, V as q, W as C, X as NA, Y as f2, Z as AA, $ as W2, a0 as m2, a1 as s0, a2 as F2, a3 as mA, a4 as V2, a5 as jA, w as D2, a6 as u2, a7 as c0, a8 as K2, a9 as i0, aa as $2, ab as l0, ac as Y2, ad as d0, ae as f0, af as D0, ag as u0, ah as w0, ai as p0, B as UA, o as MA, T as LA, b as T, i as g2, u as v0, A as d2, aj as M0, R as qA, ak as L0, al as P0, am as U0 } from "./index-Buvd-U5J.js";
|
|
2
2
|
import * as L from "react";
|
|
3
3
|
import { useState as RA, useEffect as h2 } from "react";
|
|
4
|
-
import { a as HA, u as _2 } from "./hooks-
|
|
5
|
-
import { P as A0, h as F0, T as H2, A as h0, i as x0, j as O0, f as m0, k as b2, l as H0, I as b0, E as Y0, m as C0 } from "./showMessage-
|
|
4
|
+
import { a as HA, u as _2 } from "./hooks-BMordTJA.js";
|
|
5
|
+
import { P as A0, h as F0, T as H2, A as h0, i as x0, j as O0, f as m0, k as b2, l as H0, I as b0, E as Y0, m as C0 } from "./showMessage-DKUItBOK.js";
|
|
6
6
|
const N0 = (A) => {
|
|
7
7
|
const g = L.useRef({});
|
|
8
8
|
return L.useEffect(() => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { s as e, o as n, j as t, u as H, f as _, L as v, A as E, d as A, e as T, g as S, h as N, R as g, I as D, b, B as h, T as d, i as w, k as R, l as I } from "./index-
|
|
1
|
+
import { s as e, o as n, j as t, u as H, f as _, L as v, A as E, d as A, e as T, g as S, h as N, R as g, I as D, b, B as h, T as d, i as w, k as R, l as I } from "./index-Buvd-U5J.js";
|
|
2
2
|
import { useEffect as m, useState as M } from "react";
|
|
3
|
-
import { E as O, a as B, R as f, C as V, b as $, c as U } from "./index-
|
|
4
|
-
import { u as j, a as l } from "./hooks-
|
|
5
|
-
import { C as x, s as y, a as W, b as P, c as Z, d as q } from "./showMessage-
|
|
3
|
+
import { E as O, a as B, R as f, C as V, b as $, c as U } from "./index-ECVJ7Y4U.js";
|
|
4
|
+
import { u as j, a as l } from "./hooks-BMordTJA.js";
|
|
5
|
+
import { C as x, s as y, a as W, b as P, c as Z, d as q } from "./showMessage-DKUItBOK.js";
|
|
6
6
|
const z = e("li")`
|
|
7
7
|
width: 252px;
|
|
8
8
|
height: 187px;
|
package/index.es.js
CHANGED
package/index.umd.js
CHANGED
|
@@ -3554,7 +3554,7 @@ Take a look at the reducer(s) handling this action type: ${f.type}.
|
|
|
3554
3554
|
border: 1px solid ${ae.palette.gray.gray6};
|
|
3555
3555
|
border-radius: 8px;
|
|
3556
3556
|
box-sizing: border-box;
|
|
3557
|
-
`,Uj=()=>w.jsx(PA,{gap:"12px",children:Array(3).fill(0).map((A,e)=>w.jsxs(Nj,{children:[w.jsx(k2,{variant:"rounded",width:"862px",height:"10px",animation:"wave"}),w.jsx(k2,{variant:"rounded",width:"862px",height:"10px",animation:"wave"})]},e))}),Sj=H(PA)`
|
|
3557
|
+
`,Uj=()=>w.jsx(PA,{marginTop:"28px",gap:"12px",children:Array(3).fill(0).map((A,e)=>w.jsxs(Nj,{children:[w.jsx(k2,{variant:"rounded",width:"862px",height:"10px",animation:"wave"}),w.jsx(k2,{variant:"rounded",width:"862px",height:"10px",animation:"wave"})]},e))}),Sj=H(PA)`
|
|
3558
3558
|
width: 100%;
|
|
3559
3559
|
`,Rj=H(vt)`
|
|
3560
3560
|
height: 32px;
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aL as Zo, aM as Yt, N as dt, K as vt, Y as ze, j as P, s as F, a6 as Qo, P as Fe, ai as Gt, ah as Kt, _ as w, Q as mt, U as Me, aN as Zt, w as Jo, V as Ce, W as n, X as ht, aO as er, aP as Qt, aQ as tr, a8 as or, aR as pt, ac as xo, $ as Ct, aS as Jt, aT as rr, an as Oo, ap as eo, Z as To, af as nr, aU as ar, aV as ot, F as ir, E as sr, G as to, aW as lr, aX as oo, aY as rt, aZ as pr, a_ as cr, B as Po, a$ as fr, b as ur, b0 as _e } from "./index-
|
|
1
|
+
import { aL as Zo, aM as Yt, N as dt, K as vt, Y as ze, j as P, s as F, a6 as Qo, P as Fe, ai as Gt, ah as Kt, _ as w, Q as mt, U as Me, aN as Zt, w as Jo, V as Ce, W as n, X as ht, aO as er, aP as Qt, aQ as tr, a8 as or, aR as pt, ac as xo, $ as Ct, aS as Jt, aT as rr, an as Oo, ap as eo, Z as To, af as nr, aU as ar, aV as ot, F as ir, E as sr, G as to, aW as lr, aX as oo, aY as rt, aZ as pr, a_ as cr, B as Po, a$ as fr, b as ur, b0 as _e } from "./index-Buvd-U5J.js";
|
|
2
2
|
import * as M from "react";
|
|
3
3
|
import dr from "react";
|
|
4
4
|
function vr(e, t = 0, o = 1) {
|