@hiver/connector-admin 0.0.10-beta.8 → 1.0.0
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/app/connectors/index.d.ts +1 -1
- package/app/connectors/index.d.ts.map +1 -1
- package/app/connectors/pages/api-view/__tests__/connector-config.test.d.ts.map +1 -0
- package/app/connectors/pages/api-view/index.d.ts.map +1 -0
- package/app/connectors/pages/api-view/style.d.ts.map +1 -0
- package/app/connectors/pages/auth-success/index.d.ts.map +1 -1
- package/app/connectors/pages/connector-view/agent/styles.d.ts +2 -2
- package/app/connectors/pages/connector-view/agent/styles.d.ts.map +1 -1
- package/app/connectors/pages/connector-view/dashboard/index.d.ts.map +1 -1
- package/app/connectors/pages/connector-view/dashboard/styles.d.ts +1 -16
- package/app/connectors/pages/connector-view/dashboard/styles.d.ts.map +1 -1
- package/app/connectors/pages/connector-view/index.d.ts.map +1 -1
- package/app/connectors/pages/connector-view/style.d.ts +5 -0
- package/app/connectors/pages/connector-view/style.d.ts.map +1 -0
- package/app/connectors/pages/settings/index.d.ts.map +1 -1
- package/app/connectors/pages/settings/styles.d.ts +2 -3
- package/app/connectors/pages/settings/styles.d.ts.map +1 -1
- package/app/connectors/pages/upgrade-page/index.d.ts +7 -0
- package/app/connectors/pages/upgrade-page/index.d.ts.map +1 -0
- package/app/connectors/pages/upgrade-page/style.d.ts +16 -0
- package/app/connectors/pages/upgrade-page/style.d.ts.map +1 -0
- package/app/connectors/provider.d.ts +3 -6
- package/app/connectors/provider.d.ts.map +1 -1
- package/app/connectors/router.d.ts +3 -2
- package/app/connectors/router.d.ts.map +1 -1
- package/app/style.d.ts +5 -0
- package/app/style.d.ts.map +1 -0
- package/components/layouts/sidebar/index.d.ts.map +1 -1
- package/components/layouts/sidebar/styles.d.ts.map +1 -1
- package/components/ui/bread-crumbs/index.d.ts +6 -2
- package/components/ui/bread-crumbs/index.d.ts.map +1 -1
- package/components/ui/bread-crumbs/styles.d.ts.map +1 -1
- package/components/ui/form/index.d.ts +7 -1
- package/components/ui/form/index.d.ts.map +1 -1
- package/components/ui/form/styles.d.ts.map +1 -1
- package/components/ui/form-fields/index.d.ts +4 -0
- package/components/ui/form-fields/index.d.ts.map +1 -1
- package/components/ui/form-fields/styles.d.ts.map +1 -1
- package/constants/bread-crumbs.d.ts +0 -2
- package/constants/bread-crumbs.d.ts.map +1 -1
- package/constants/gainsight.d.ts +23 -0
- package/constants/gainsight.d.ts.map +1 -0
- package/constants/global-constants.d.ts +13 -0
- package/constants/global-constants.d.ts.map +1 -0
- package/constants/modal.d.ts +1 -1
- package/constants/modal.d.ts.map +1 -1
- package/constants/router-paths.d.ts +1 -1
- package/constants/sidebar.d.ts +3 -0
- package/constants/sidebar.d.ts.map +1 -1
- package/context/index.d.ts +5 -2
- package/context/index.d.ts.map +1 -1
- package/context/main-app-provider/index.d.ts +2 -5
- package/context/main-app-provider/index.d.ts.map +1 -1
- package/features/agent/components/agent-landing/index.d.ts +2 -1
- package/features/agent/components/agent-landing/index.d.ts.map +1 -1
- package/features/agent/components/agent-landing/styles.d.ts +4 -4
- package/features/agent/components/agent-landing/styles.d.ts.map +1 -1
- package/features/agent/constants/index.d.ts +2 -0
- package/features/agent/constants/index.d.ts.map +1 -1
- package/features/api-library/components/api-library/index.d.ts +11 -0
- package/features/api-library/components/api-library/index.d.ts.map +1 -0
- package/features/api-library/components/api-library/styles.d.ts +5 -0
- package/features/api-library/components/api-library/styles.d.ts.map +1 -0
- package/features/api-library/components/api-library-skeleton/index.d.ts.map +1 -0
- package/features/{connector-library → api-library}/components/api-library-skeleton/styles.d.ts +3 -1
- package/features/api-library/components/api-library-skeleton/styles.d.ts.map +1 -0
- package/features/api-library/constants/api-library.d.ts +4 -0
- package/features/api-library/constants/api-library.d.ts.map +1 -0
- package/features/auth/api/index.d.ts +0 -1
- package/features/auth/api/index.d.ts.map +1 -1
- package/features/auth/components/api-executor/index.d.ts +3 -1
- package/features/auth/components/api-executor/index.d.ts.map +1 -1
- package/features/auth/components/auth-form/index.d.ts.map +1 -1
- package/features/auth/components/auth-form/styles.d.ts +2 -1
- package/features/auth/components/auth-form/styles.d.ts.map +1 -1
- package/features/auth/components/auth-form-skeleton/index.d.ts +2 -0
- package/features/auth/components/auth-form-skeleton/index.d.ts.map +1 -0
- package/features/auth/constants/api.d.ts +0 -1
- package/features/auth/constants/api.d.ts.map +1 -1
- package/features/auth/constants/form-config.d.ts.map +1 -1
- package/features/auth/constants/index.d.ts +7 -2
- package/features/auth/constants/index.d.ts.map +1 -1
- package/features/auth/store/initial-state.d.ts +0 -3
- package/features/auth/store/initial-state.d.ts.map +1 -1
- package/features/auth/store/selectors.d.ts +0 -3
- package/features/auth/store/selectors.d.ts.map +1 -1
- package/features/auth/store/slice.d.ts +5 -17
- package/features/auth/store/slice.d.ts.map +1 -1
- package/features/auth/types/form.d.ts +2 -1
- package/features/auth/types/form.d.ts.map +1 -1
- package/features/auth/types/request.d.ts +4 -3
- package/features/auth/types/request.d.ts.map +1 -1
- package/features/auth/utils/index.d.ts.map +1 -1
- package/features/connector-library/api/index.d.ts +1 -2
- package/features/connector-library/api/index.d.ts.map +1 -1
- package/features/connector-library/components/custom-connector-card-item/index.d.ts +11 -0
- package/features/connector-library/components/custom-connector-card-item/index.d.ts.map +1 -0
- package/features/connector-library/components/custom-connector-card-item/styles.d.ts +11 -0
- package/features/connector-library/components/custom-connector-card-item/styles.d.ts.map +1 -0
- package/features/connector-library/components/custom-connector-card-list/__tests__/custom-connector-card.test.d.ts.map +1 -0
- package/features/connector-library/components/custom-connector-card-list/index.d.ts +3 -0
- package/features/connector-library/components/custom-connector-card-list/index.d.ts.map +1 -0
- package/features/connector-library/components/custom-connector-card-list/style.d.ts.map +1 -0
- package/features/connector-library/components/custom-connector-enabled-modal/index.d.ts +9 -0
- package/features/connector-library/components/custom-connector-enabled-modal/index.d.ts.map +1 -0
- package/features/connector-library/components/custom-connector-enabled-modal/styles.d.ts +5 -0
- package/features/connector-library/components/custom-connector-enabled-modal/styles.d.ts.map +1 -0
- package/features/connector-library/constants/api.d.ts +1 -2
- package/features/connector-library/constants/api.d.ts.map +1 -1
- package/features/connector-library/store/initial-state.d.ts +4 -10
- package/features/connector-library/store/initial-state.d.ts.map +1 -1
- package/features/connector-library/store/selectors.d.ts +2 -8
- package/features/connector-library/store/selectors.d.ts.map +1 -1
- package/features/connector-library/store/slice.d.ts +10 -36
- package/features/connector-library/store/slice.d.ts.map +1 -1
- package/features/request-new-connector/components/request-new-card/index.d.ts.map +1 -1
- package/features/request-new-connector/components/request-new-card/styles.d.ts +0 -11
- package/features/request-new-connector/components/request-new-card/styles.d.ts.map +1 -1
- package/features/request-new-connector/components/request-new-modal/index.d.ts +1 -1
- package/features/request-new-connector/components/request-new-modal/index.d.ts.map +1 -1
- package/features/request-new-connector/components/request-new-modal/request-panel.d.ts +1 -0
- package/features/request-new-connector/components/request-new-modal/request-panel.d.ts.map +1 -1
- package/features/request-new-connector/components/request-new-modal/styles.d.ts +3 -1
- package/features/request-new-connector/components/request-new-modal/styles.d.ts.map +1 -1
- package/features/request-new-connector/components/request-new-modal/submitted-panel.d.ts.map +1 -1
- package/features/request-new-connector/constants/index.d.ts +1 -1
- package/features/request-new-connector/constants/index.d.ts.map +1 -1
- package/features/request-new-connector/types/index.d.ts +2 -2
- package/features/request-new-connector/types/index.d.ts.map +1 -1
- package/features/template-library/api/index.d.ts +7 -0
- package/features/template-library/api/index.d.ts.map +1 -0
- package/features/template-library/components/library-card-list/__tests__/library-card-list.test.d.ts.map +1 -0
- package/features/template-library/components/library-card-list/index.d.ts.map +1 -0
- package/features/{connector-library → template-library}/components/library-card-list/styles.d.ts +0 -2
- package/features/template-library/components/library-card-list/styles.d.ts.map +1 -0
- package/features/template-library/components/library-card-skeleton/index.d.ts.map +1 -0
- package/features/template-library/components/library-card-skeleton/styles.d.ts.map +1 -0
- package/features/template-library/components/library-edit-list/index.d.ts.map +1 -0
- package/features/template-library/components/library-edit-list/styles.d.ts.map +1 -0
- package/features/template-library/constants/api.d.ts +3 -0
- package/features/template-library/constants/api.d.ts.map +1 -0
- package/features/template-library/constants/content-page.d.ts.map +1 -0
- package/features/template-library/store/initial-state.d.ts +15 -0
- package/features/template-library/store/initial-state.d.ts.map +1 -0
- package/features/template-library/store/selectors.d.ts +9 -0
- package/features/template-library/store/selectors.d.ts.map +1 -0
- package/features/template-library/store/slice.d.ts +41 -0
- package/features/template-library/store/slice.d.ts.map +1 -0
- package/features/toast-message/constants/toast.d.ts +2 -0
- package/features/toast-message/constants/toast.d.ts.map +1 -1
- package/features/toast-message/showMessage.d.ts.map +1 -1
- package/gainsight-7AZqfBvZ.js +25 -0
- package/hooks-CjAK86gy.js +6 -0
- package/index-BAHDqKss.js +29 -0
- package/index-BluFU4Qp.js +81 -0
- package/{index-m1nx1YPE.js → index-BnVEsSdV.js} +1712 -1532
- package/index-BqGsuBlL.js +31966 -0
- package/index-DKo2NU-Y.js +104 -0
- package/{index-CQYnmtXy.js → index-Dt3uzcNe.js} +1779 -1443
- package/index-iNlSCq_d.js +190 -0
- package/index.es.js +5 -5
- package/index.umd.js +1497 -476
- package/main.d.ts +1 -0
- package/main.d.ts.map +1 -1
- package/package.json +1 -1
- package/selectors-BZXXKPzK.js +9 -0
- package/showMessage-CQ6TNMXe.js +2648 -0
- package/store/hooks.d.ts +2 -0
- package/store/hooks.d.ts.map +1 -1
- package/store/index.d.ts +4 -0
- package/store/index.d.ts.map +1 -1
- package/store/request-connector-api/initial-state.d.ts +1 -1
- package/store/request-connector-api/slice.d.ts +1 -1
- package/testing/mocks/handlers/auth.d.ts.map +1 -1
- package/testing/mocks/handlers/connector-template.d.ts +1 -0
- package/testing/mocks/handlers/connector-template.d.ts.map +1 -1
- package/testing/setup-store.d.ts +2 -0
- package/testing/setup-store.d.ts.map +1 -1
- package/types/common.d.ts +4 -0
- package/types/common.d.ts.map +1 -1
- package/types/connector.d.ts +10 -6
- package/types/connector.d.ts.map +1 -1
- package/types/router.d.ts +18 -0
- package/types/router.d.ts.map +1 -1
- package/utils/index.d.ts +12 -0
- package/utils/index.d.ts.map +1 -1
- package/app/connectors/pages/settings/connector-config/__tests__/connector-config.test.d.ts.map +0 -1
- package/app/connectors/pages/settings/connector-config/index.d.ts.map +0 -1
- package/app/connectors/pages/settings/connector-config/style.d.ts.map +0 -1
- package/features/auth/utils/type-guards.d.ts +0 -8
- package/features/auth/utils/type-guards.d.ts.map +0 -1
- package/features/connector-library/components/api-library/index.d.ts +0 -7
- package/features/connector-library/components/api-library/index.d.ts.map +0 -1
- package/features/connector-library/components/api-library/styles.d.ts +0 -4
- package/features/connector-library/components/api-library/styles.d.ts.map +0 -1
- package/features/connector-library/components/api-library-skeleton/index.d.ts.map +0 -1
- package/features/connector-library/components/api-library-skeleton/styles.d.ts.map +0 -1
- package/features/connector-library/components/connector-enabled-modal/index.d.ts +0 -9
- package/features/connector-library/components/connector-enabled-modal/index.d.ts.map +0 -1
- package/features/connector-library/components/connector-enabled-modal/styles.d.ts +0 -4
- package/features/connector-library/components/connector-enabled-modal/styles.d.ts.map +0 -1
- package/features/connector-library/components/library-card-list/__tests__/library-card-list.test.d.ts.map +0 -1
- package/features/connector-library/components/library-card-list/index.d.ts.map +0 -1
- package/features/connector-library/components/library-card-list/styles.d.ts.map +0 -1
- package/features/connector-library/components/library-card-skeleton/index.d.ts.map +0 -1
- package/features/connector-library/components/library-card-skeleton/styles.d.ts.map +0 -1
- package/features/connector-library/components/library-edit-list/index.d.ts.map +0 -1
- package/features/connector-library/components/library-edit-list/styles.d.ts.map +0 -1
- package/features/connector-library/constants/api-library.d.ts +0 -3
- package/features/connector-library/constants/api-library.d.ts.map +0 -1
- package/features/connector-library/constants/content-page.d.ts.map +0 -1
- package/features/connector-library/types/connector.d.ts +0 -13
- package/features/connector-library/types/connector.d.ts.map +0 -1
- package/features/request-new-connector/components/custom-connector-card/__tests__/custom-connector-card.test.d.ts.map +0 -1
- package/features/request-new-connector/components/custom-connector-card/index.d.ts +0 -10
- package/features/request-new-connector/components/custom-connector-card/index.d.ts.map +0 -1
- package/features/request-new-connector/components/custom-connector-card/style.d.ts.map +0 -1
- package/index-B4vTJgTz.js +0 -66
- package/index-BD6d8j8c.js +0 -68
- package/index-EHBDsMzm.js +0 -67
- package/index-X3arshLk.js +0 -711
- package/index-sfSOXkkP.js +0 -30265
- package/styled-ui-components-D4lUYZ75.js +0 -2253
- /package/app/connectors/pages/{settings/connector-config → api-view}/__tests__/connector-config.test.d.ts +0 -0
- /package/app/connectors/pages/{settings/connector-config → api-view}/index.d.ts +0 -0
- /package/app/connectors/pages/{settings/connector-config → api-view}/style.d.ts +0 -0
- /package/features/{connector-library → api-library}/components/api-library-skeleton/index.d.ts +0 -0
- /package/features/{request-new-connector/components/custom-connector-card → connector-library/components/custom-connector-card-list}/__tests__/custom-connector-card.test.d.ts +0 -0
- /package/features/{request-new-connector/components/custom-connector-card → connector-library/components/custom-connector-card-list}/style.d.ts +0 -0
- /package/features/{connector-library → template-library}/components/library-card-list/__tests__/library-card-list.test.d.ts +0 -0
- /package/features/{connector-library → template-library}/components/library-card-list/index.d.ts +0 -0
- /package/features/{connector-library → template-library}/components/library-card-skeleton/index.d.ts +0 -0
- /package/features/{connector-library → template-library}/components/library-card-skeleton/styles.d.ts +0 -0
- /package/features/{connector-library → template-library}/components/library-edit-list/index.d.ts +0 -0
- /package/features/{connector-library → template-library}/components/library-edit-list/styles.d.ts +0 -0
- /package/features/{connector-library → template-library}/constants/content-page.d.ts +0 -0
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { s as e, o as n, j as t, M as f, u as H, f as T, L as S, A as N, d as R, e as D, g as I, h as B, R as M, I as O, b as w, B as C, T as h, i as g, k as V, l as U } from "./index-BqGsuBlL.js";
|
|
2
|
+
import { useContext as j, useEffect as y, useState as m } from "react";
|
|
3
|
+
import { E as W, a as $, R as Z, C as G, b as P, c as q } from "./index-Dt3uzcNe.js";
|
|
4
|
+
import { G as E } from "./gainsight-7AZqfBvZ.js";
|
|
5
|
+
import { u as F, a as d } from "./hooks-CjAK86gy.js";
|
|
6
|
+
import { C as b, s as _, a as z, b as X, c as A, d as Y } from "./showMessage-CQ6TNMXe.js";
|
|
7
|
+
const K = e("li")`
|
|
8
|
+
width: 252px;
|
|
9
|
+
height: 187px;
|
|
10
|
+
border: 1px solid ${n.palette.gray.gray6};
|
|
11
|
+
border-radius: 8px;
|
|
12
|
+
padding: 24px;
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
`, Q = () => /* @__PURE__ */ t.jsx(t.Fragment, { children: Array(4).fill(0).map((a, r) => /* @__PURE__ */ t.jsxs(K, { "data-testid": "connector-library-loading", children: [
|
|
15
|
+
/* @__PURE__ */ t.jsx(b, { variant: "rounded", width: 53, height: 43, animation: "wave" }),
|
|
16
|
+
/* @__PURE__ */ t.jsx(
|
|
17
|
+
b,
|
|
18
|
+
{
|
|
19
|
+
variant: "rectangular",
|
|
20
|
+
width: 180,
|
|
21
|
+
height: 28,
|
|
22
|
+
animation: "wave",
|
|
23
|
+
margin: "12px 0px 10px 0px"
|
|
24
|
+
}
|
|
25
|
+
),
|
|
26
|
+
/* @__PURE__ */ t.jsx(b, { variant: "rectangular", width: 204, height: 40, animation: "wave" })
|
|
27
|
+
] }, r)) }), J = () => {
|
|
28
|
+
const { sendTrackingEvent: a } = j(f), r = H(), o = F(), l = d(_), c = d(z), L = d(X);
|
|
29
|
+
y(() => {
|
|
30
|
+
o(T());
|
|
31
|
+
}, [o]);
|
|
32
|
+
const u = (s, i) => {
|
|
33
|
+
var p;
|
|
34
|
+
s == null || s.stopPropagation();
|
|
35
|
+
const k = (p = c == null ? void 0 : c[i]) == null ? void 0 : p.name;
|
|
36
|
+
a(E.LIBRARY_CARD_CLICKED, { connector_name: k }), r(`${M.BASEPATH}${M.API_VIEW}/${i}`);
|
|
37
|
+
};
|
|
38
|
+
return /* @__PURE__ */ t.jsx(S, { "data-testid": "connector-library", component: "ul", children: L === N.LOADING ? /* @__PURE__ */ t.jsx(Q, {}) : /* @__PURE__ */ t.jsx(t.Fragment, { children: l.map((s) => {
|
|
39
|
+
const i = c == null ? void 0 : c[s];
|
|
40
|
+
return i ? /* @__PURE__ */ t.jsxs(R, { onClick: (k) => u(k, s), component: "li", children: [
|
|
41
|
+
/* @__PURE__ */ t.jsx(D, { children: /* @__PURE__ */ t.jsx("img", { src: i.logo ?? "", alt: i.name }) }),
|
|
42
|
+
/* @__PURE__ */ t.jsx(I, { variant: "h2", children: i.name }),
|
|
43
|
+
/* @__PURE__ */ t.jsx(B, { variant: "body1", color: "rgba(108, 123, 148, 1)", children: i.description })
|
|
44
|
+
] }, s) : null;
|
|
45
|
+
}) }) });
|
|
46
|
+
}, t2 = e(O)`
|
|
47
|
+
width: 203px;
|
|
48
|
+
height: 161px;
|
|
49
|
+
`, e2 = e(w)`
|
|
50
|
+
padding: 18px 30px;
|
|
51
|
+
box-sizing: border-box;
|
|
52
|
+
width: 873px;
|
|
53
|
+
height: 196px;
|
|
54
|
+
border-radius: 12px;
|
|
55
|
+
box-shadow: 0 0 10px 0 rgba(239, 241, 244, 1);
|
|
56
|
+
margin-bottom: 32px;
|
|
57
|
+
`, o2 = e(C)`
|
|
58
|
+
padding: 12.3px 0 12.3px 0;
|
|
59
|
+
box-sizing: border-box;
|
|
60
|
+
width: 531px;
|
|
61
|
+
height: 136px;
|
|
62
|
+
`, r2 = e(h)`
|
|
63
|
+
font-size: 18px;
|
|
64
|
+
line-height: 32px;
|
|
65
|
+
`, n2 = e(h)`
|
|
66
|
+
font-size: 14px;
|
|
67
|
+
line-height: 20px;
|
|
68
|
+
margin-top: 4px;
|
|
69
|
+
margin-bottom: 24px;
|
|
70
|
+
`, a2 = e(w)`
|
|
71
|
+
width: 466px;
|
|
72
|
+
height: 36px;
|
|
73
|
+
& .create-own__btn {
|
|
74
|
+
pointer-events: none;
|
|
75
|
+
}
|
|
76
|
+
`, s2 = e(g)`
|
|
77
|
+
height: 36px;
|
|
78
|
+
width: 201px;
|
|
79
|
+
text-transform: none;
|
|
80
|
+
color: ${n.palette.gray.black};
|
|
81
|
+
border: 1px solid ${n.palette.gray.gray5};
|
|
82
|
+
white-space: pre;
|
|
83
|
+
background: ${n.palette.gray.white};
|
|
84
|
+
box-shadow: none;
|
|
85
|
+
&:hover {
|
|
86
|
+
background-color: #e3e9ff !important;
|
|
87
|
+
color: ${n.palette.purple.primary} !important;
|
|
88
|
+
border: 1px solid ${n.palette.purple.primary} !important;
|
|
89
|
+
}
|
|
90
|
+
`, i2 = e(g)`
|
|
91
|
+
width: 253px;
|
|
92
|
+
height: 36px;
|
|
93
|
+
text-transform: none;
|
|
94
|
+
box-shadow: none;
|
|
95
|
+
color: ${n.palette.gray.black};
|
|
96
|
+
border: 1px solid ${n.palette.gray.gray5};
|
|
97
|
+
`, c2 = "data:image/svg+xml,%3csvg%20width='203'%20height='161'%20viewBox='0%200%20203%20161'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M134.44%2040.6862H200.644V81.0609C200.644%2082.3432%20199.604%2083.3826%20198.322%2083.3826H136.761C135.479%2083.3826%20134.44%2082.3432%20134.44%2081.0609V40.6862Z'%20fill='%23FFF3D2'%20stroke='black'%20stroke-width='0.515937'/%3e%3cpath%20d='M139.145%2051.9976H184.951'%20stroke='black'%20stroke-width='0.515937'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M139.145%2057.9141H163.002'%20stroke='black'%20stroke-width='0.515937'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M139.145%2054.479H161.475'%20stroke='black'%20stroke-width='0.515937'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M166.246%2054.479H177.889'%20stroke='black'%20stroke-width='0.515937'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M184.951%2054.479H196.594'%20stroke='black'%20stroke-width='0.515937'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M139.145%2060.3955H161.475'%20stroke='black'%20stroke-width='0.515937'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M166.246%2060.3955H177.889'%20stroke='black'%20stroke-width='0.515937'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M184.951%2060.3955H196.594'%20stroke='black'%20stroke-width='0.515937'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M139.145%2065.9312H161.475'%20stroke='black'%20stroke-width='0.515937'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M166.246%2065.9312H177.889'%20stroke='black'%20stroke-width='0.515937'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M184.951%2065.9312H196.594'%20stroke='black'%20stroke-width='0.515937'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M152.887%2068.4111H169.873'%20stroke='black'%20stroke-width='0.515937'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M173.5%2068.4111H182.47'%20stroke='black'%20stroke-width='0.515937'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M187.623%2068.4111H196.594'%20stroke='black'%20stroke-width='0.515937'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M152.887%2071.4648H169.873'%20stroke='black'%20stroke-width='0.515937'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M173.5%2071.4648H182.47'%20stroke='black'%20stroke-width='0.515937'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M187.623%2071.4648H196.594'%20stroke='black'%20stroke-width='0.515937'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M139.145%2074.7104H184.951'%20stroke='black'%20stroke-width='0.515937'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M139.145%2077.5732H161.475'%20stroke='black'%20stroke-width='0.515937'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M166.246%2077.5732H177.889'%20stroke='black'%20stroke-width='0.515937'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M184.951%2077.5732H196.594'%20stroke='black'%20stroke-width='0.515937'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M139.145%2048.0682L141.244%2047.0352V47.3343L139.476%2048.1817L141.244%2049.0264V49.3255L139.145%2048.2925V48.0682Z'%20fill='black'%20stroke='black'%20stroke-width='0.257969'%20stroke-miterlimit='10'/%3e%3cpath%20d='M142.58%2049.5166L143.823%2046.272H144.107L142.867%2049.5166H142.58Z'%20fill='black'%20stroke='black'%20stroke-width='0.257969'%20stroke-miterlimit='10'/%3e%3cpath%20d='M147.351%2048.298L145.252%2049.3255V49.0264L147.035%2048.1817L145.252%2047.3343V47.0352L147.351%2048.0626V48.298Z'%20fill='black'%20stroke='black'%20stroke-width='0.257969'%20stroke-miterlimit='10'/%3e%3cpath%20d='M134.44%2036.6129C134.44%2035.3306%20135.479%2034.2912%20136.761%2034.2912H198.322C199.604%2034.2912%20200.644%2035.3306%20200.644%2036.6129V41.8992H134.44V36.6129Z'%20fill='%23FFF3D2'%20stroke='black'%20stroke-width='0.515937'/%3e%3cpath%20d='M84.8145%20109.638C86.1501%20109.161%20116.217%20103.239%20131.083%20100.337C131.083%20123.114%20142.173%20150.302%20142.173%20150.302C118.223%20149.149%2082.9326%20147.55%2080.6392%20150.035C80.5633%20150.532%2080.5215%20150.648%2080.5215%20150.302C80.5215%20150.208%2080.5613%20150.119%2080.6392%20150.035C81.1921%20146.416%2083.5564%20122.604%2084.8145%20109.638Z'%20fill='url(%23paint0_linear_825_75539)'%20stroke='black'%20stroke-width='0.515937'/%3e%3cpath%20d='M76.3154%2088.9624C69.4521%2074.2578%2078.1207%2057.0011%2094.0146%2053.7281C107.786%2050.8921%20121.205%2059.9098%20123.781%2073.7324L130.06%20107.418L87.6866%20113.325L76.3154%2088.9624Z'%20fill='%23FDDDE3'%20stroke='black'%20stroke-width='0.515937'/%3e%3cpath%20d='M103.673%20117.1L99.0852%2052.8911C118.429%2052.4444%20137.811%2071.5367%20146.627%2083.1324L178.149%20117.1L202.302%2068.9265C190.053%20126.275%20175.905%20122.981%20163.824%20124.792C155.458%20126.046%20147.891%20133.714%20140.155%20130.291C132.41%20126.863%20126.497%20118.236%20123.88%20112.707L103.673%20117.1Z'%20fill='url(%23paint1_linear_825_75539)'%20stroke='black'%20stroke-width='0.515937'/%3e%3cpath%20d='M114.271%2083.252C118.069%2094.4661%20126.122%20117.402%20127.957%20119.432'%20stroke='black'%20stroke-width='0.515937'/%3e%3cpath%20d='M88.8366%2059.1996L88.5032%2055.6683C90.8018%2054.0956%2095.157%2053.2487%2097.3347%2053.2487L97.6605%2058.51C97.7972%2060.7169%2096.2841%2062.6861%2094.1164%2063.1225C91.541%2063.641%2089.0835%2061.815%2088.8366%2059.1996Z'%20fill='%23FDF4FF'%20stroke='black'%20stroke-width='0.515937'/%3e%3ccircle%20cx='90.0554'%20cy='38.6592'%20r='12.0025'%20transform='rotate(-9.60054%2090.0554%2038.6592)'%20fill='%23FFFAED'%20stroke='%23201F37'%20stroke-width='0.515937'/%3e%3cpath%20d='M117.281%2031.7576C118.056%2036.3379%20115.028%2040.6624%20110.527%2041.4237C106.027%2042.1849%20101.745%2039.0968%20100.971%2034.5165C100.196%2029.9362%20103.224%2025.6117%20107.724%2024.8505C112.224%2024.0892%20116.506%2027.1773%20117.281%2031.7576Z'%20fill='%23201F37'%20stroke='%23201F37'%20stroke-width='0.515937'/%3e%3cpath%20d='M128.781%2031.0289C129.321%2034.2267%20127.168%2037.2574%20123.97%2037.7983C120.772%2038.3392%20117.741%2036.1854%20117.201%2032.9877C116.66%2029.7899%20118.813%2026.7592%20122.011%2026.2183C125.209%2025.6774%20128.24%2027.8312%20128.781%2031.0289Z'%20fill='%23201F37'%20stroke='%23201F37'%20stroke-width='0.515937'/%3e%3cpath%20d='M97.4644%2029.099L97.4645%2029.0991L97.4646%2029.0991L97.4656%2029.0999C99.5687%2030.6855%20101.029%2032.5735%20101.624%2035.0232C102.206%2037.4236%20101.967%2040.396%20100.633%2044.2C97.0722%2042.5358%2095.3166%2039.089%2094.454%2035.981C94.0138%2034.3948%2093.8101%2032.9096%2093.7166%2031.8204C93.6699%2031.2762%2093.6508%2030.8317%2093.6433%2030.5241C93.6396%2030.3703%2093.6388%2030.2508%2093.6389%2030.1701C93.6389%2030.1298%2093.6392%2030.0992%2093.6395%2030.0789L93.6398%2030.0563L93.6399%2030.051L93.64%2030.0498L93.64%2030.0496L93.64%2030.0496L93.6527%2029.5251L93.2295%2029.8353C89.9675%2032.227%2086.3841%2033.2217%2083.6098%2033.6171C82.2235%2033.8147%2081.0421%2033.8622%2080.2084%2033.8604C79.7917%2033.8595%2079.4621%2033.8463%2079.2375%2033.8334C79.2049%2033.8315%2079.1744%2033.8296%2079.1463%2033.8278C79.297%2032.2501%2080.1017%2031.0286%2081.1387%2030.0646C82.2337%2029.0467%2083.5744%2028.3285%2084.6439%2027.7971L84.6439%2027.7971L84.6456%2027.7963C87.9792%2026.1097%2091.1784%2026.4316%2093.5559%2027.1816C94.7449%2027.5567%2095.725%2028.038%2096.4074%2028.4254C96.7484%2028.6189%2097.0144%2028.7887%2097.1944%2028.9095C97.2844%2028.9699%2097.3529%2029.0179%2097.3983%2029.0506C97.4211%2029.0669%2097.4381%2029.0794%2097.4491%2029.0876L97.4613%2029.0967L97.464%2029.0987L97.4644%2029.099Z'%20fill='%23201F37'%20stroke='%23201F37'%20stroke-width='0.515937'/%3e%3cpath%20d='M49.7793%2025.6441C38.7904%2071.8993%2052.3973%20102.244%2076.0571%20110.591C68.28%20116.031%2051.457%20127.928%2048.6609%20135.993C13.8995%2097.0535%2013.2644%2059.5648%2016.3826%2040.2703C16.8253%2037.531%2017.8828%2037.3708%2018.5499%2035.7568C18.7278%2035.3264%2018.8812%2034.8795%2019.126%2034.4833C22.4046%2029.1798%2026.7689%2032.5735%2027.9472%2035.2739C31.8576%2029.5295%2037.1796%2032.3979%2039.3518%2034.5502C39.7174%2029.9047%2040.8543%2026.1622%2042.0702%2023.4391C43.5299%2020.1698%2048.1259%2017.3074%2049.5283%2020.6017C50.1803%2022.1334%2050.0744%2024.2096%2049.7793%2025.6441Z'%20fill='%23FFFAED'/%3e%3cpath%20d='M76.0571%20110.591L76.1429%20110.347L76.6162%20110.514L76.2049%20110.802L76.0571%20110.591ZM49.7793%2025.6441L50.0321%2025.6961L50.0302%2025.7037L49.7793%2025.6441ZM49.5283%2020.6017L49.2909%2020.7027L49.2909%2020.7027L49.5283%2020.6017ZM42.0702%2023.4391L41.8346%2023.3339L41.8346%2023.3339L42.0702%2023.4391ZM39.3518%2034.5502L39.609%2034.5704L39.5654%2035.1249L39.1703%2034.7334L39.3518%2034.5502ZM19.126%2034.4833L19.3455%2034.619L19.126%2034.4833ZM48.6609%20135.993L48.9046%20136.078L48.7608%20136.493L48.4684%20136.165L48.6609%20135.993ZM37.6395%2039.2931C37.6428%2039.1507%2037.7609%2039.0379%2037.9033%2039.0411C38.0458%2039.0444%2038.1586%2039.1625%2038.1553%2039.305L37.6395%2039.2931ZM30.1805%2048.8777L30.0769%2049.114L30.1805%2048.8777ZM27.3439%2046.3067L27.1067%2046.4081L27.3439%2046.3067ZM18.5499%2035.7568L18.7883%2035.8553L18.5499%2035.7568ZM16.3826%2040.2703L16.128%2040.2291L16.3826%2040.2703ZM26.5292%2042.2931C26.5926%2042.1655%2026.7474%2042.1134%2026.875%2042.1768C27.0026%2042.2401%2027.0547%2042.395%2026.9913%2042.5226L26.5292%2042.2931ZM75.9712%20110.834C52.1217%20102.421%2038.5283%2071.8867%2049.5283%2025.5845L50.0302%2025.7037C39.0526%2071.9119%2052.673%20102.068%2076.1429%20110.347L75.9712%20110.834ZM49.5266%2025.5921C49.8176%2024.1774%2049.9126%2022.1633%2049.2909%2020.7027L49.7656%2020.5006C50.448%2022.1036%2050.3311%2024.2417%2050.0319%2025.6961L49.5266%2025.5921ZM42.3057%2023.5442C41.1011%2026.242%2039.9721%2029.9558%2039.609%2034.5704L39.0947%2034.53C39.4627%2029.8535%2040.6074%2026.0823%2041.8346%2023.3339L42.3057%2023.5442ZM39.1703%2034.7334C38.1094%2033.6824%2036.2853%2032.4653%2034.2685%2032.2066C33.2651%2032.078%2032.2155%2032.1864%2031.1825%2032.6685C30.1489%2033.1508%2029.1168%2034.0142%2028.1604%2035.419L27.734%2035.1287C28.7328%2033.6614%2029.8323%2032.7292%2030.9643%2032.2009C32.0969%2031.6725%2033.2467%2031.5555%2034.3341%2031.6949C36.499%2031.9725%2038.422%2033.2658%2039.5334%2034.3669L39.1703%2034.7334ZM27.7108%2035.377C27.1446%2034.0794%2025.8087%2032.6188%2024.2462%2032.123C23.4736%2031.8778%2022.6487%2031.8688%2021.8245%2032.2263C20.997%2032.5853%2020.1458%2033.3243%2019.3455%2034.619L18.9066%2034.3477C19.7456%2032.9906%2020.6694%2032.165%2021.6192%2031.753C22.5721%2031.3396%2023.5268%2031.3534%2024.4023%2031.6312C26.1362%2032.1815%2027.5716%2033.768%2028.1836%2035.1707L27.7108%2035.377ZM48.4171%20135.909C49.1331%20133.844%2050.7363%20131.557%2052.8354%20129.214C54.9383%20126.868%2057.5562%20124.446%2060.3248%20122.11C65.8621%20117.439%2072.0208%20113.099%2075.9092%20110.379L76.2049%20110.802C72.3162%20113.522%2066.175%20117.851%2060.6575%20122.505C57.8987%20124.832%2055.3005%20127.236%2053.2196%20129.559C51.1349%20131.885%2049.5867%20134.11%2048.9046%20136.078L48.4171%20135.909ZM38.1553%2039.305C38.1378%2040.0649%2037.9191%2041.1752%2037.5382%2042.3741C37.1562%2043.5765%2036.6053%2044.886%2035.9123%2046.0449C35.2214%2047.2002%2034.3772%2048.2258%2033.4001%2048.8358C32.411%2049.4534%2031.2841%2049.6437%2030.0769%2049.114L30.2842%2048.6415C31.313%2049.0929%2032.2603%2048.9392%2033.1269%2048.3982C34.0055%2047.8496%2034.7985%2046.902%2035.4695%2045.7801C36.1383%2044.6618%2036.674%2043.3901%2037.0465%2042.2178C37.42%2041.042%2037.6236%2039.9842%2037.6395%2039.2931L38.1553%2039.305ZM27.1067%2046.4081C26.338%2044.611%2026.0684%2041.1708%2027.6984%2035.2059L28.196%2035.3419C26.5771%2041.2663%2026.8808%2044.568%2027.5811%2046.2052L27.1067%2046.4081ZM18.7883%2035.8553C18.4408%2036.6961%2017.9736%2037.1886%2017.5944%2037.738C17.2128%2038.2912%2016.8524%2038.9802%2016.6373%2040.3114L16.128%2040.2291C16.3555%2038.821%2016.7453%2038.0603%2017.1698%2037.445C17.5968%2036.8261%2017.9919%2036.4315%2018.3115%2035.6582L18.7883%2035.8553ZM16.6373%2040.3114C13.5288%2059.5457%2014.1539%2096.9511%2048.8533%20135.822L48.4684%20136.165C13.6451%2097.1559%2013%2059.5839%2016.128%2040.2291L16.6373%2040.3114ZM26.9913%2042.5226C26.491%2043.5304%2025.6794%2044.5018%2024.7179%2045.243C23.7573%2045.9834%2022.6296%2046.5071%2021.4932%2046.5923C20.3469%2046.6783%2019.2055%2046.316%2018.2494%2045.3113C17.3009%2044.3148%2016.55%2042.7033%2016.1286%2040.3151L16.6367%2040.2254C17.0484%2042.5584%2017.7705%2044.0598%2018.6231%2044.9556C19.4679%2045.8432%2020.4556%2046.1527%2021.4546%2046.0778C22.4635%2046.0021%2023.4975%2045.5323%2024.4029%2044.8343C25.3074%2044.1372%2026.0663%2043.2254%2026.5292%2042.2931L26.9913%2042.5226ZM30.0769%2049.114C28.8644%2048.5819%2027.6502%2047.6786%2027.1067%2046.4081L27.5811%2046.2052C28.0525%2047.3073%2029.1336%2048.1366%2030.2842%2048.6415L30.0769%2049.114ZM19.3455%2034.619C19.1151%2034.9915%2018.9746%2035.4048%2018.7883%2035.8553L18.3115%2035.6582C18.4811%2035.248%2018.6472%2034.7674%2018.9066%2034.3477L19.3455%2034.619ZM49.2909%2020.7027C48.9687%2019.9458%2048.4804%2019.571%2047.921%2019.4474C47.3462%2019.3204%2046.6553%2019.4498%2045.931%2019.7923C44.481%2020.4779%2043.0109%2021.9649%2042.3057%2023.5442L41.8346%2023.3339C42.5892%2021.644%2044.147%2020.0651%2045.7105%2019.3258C46.4929%2018.9559%2047.3052%2018.783%2048.0323%2018.9436C48.7746%2019.1077%2049.3867%2019.6104%2049.7656%2020.5006L49.2909%2020.7027Z'%20fill='black'/%3e%3cpath%20d='M32.5275%2052.5876L43.5219%2050.2106C43.7895%2046.8093%2043.1728%2039.782%2037.9496%2040.2355C36.5175%2040.1229%2033.0229%2041.5669%2032.5834%2047.1521L32.3449%2048.8216L32.5275%2052.5876Z'%20fill='%23FFFAED'/%3e%3cpath%20d='M53.2205%2087.8757L71.6226%2066.928C77.3128%2061.0075%2084.3419%2056.9964%2087.0536%2056.2732L92.1721%20116.617L82.6442%20118.312L82.6442%20108.326C62.3994%20136.111%2056.3502%20145.411%2035.5522%20140.528C14.7542%20135.645%2010.3629%2085.0332%2012.2412%2057.0124L50.881%2058.8137L53.2205%2087.8757Z'%20fill='url(%23paint2_linear_825_75539)'%20stroke='black'%20stroke-width='0.515937'/%3e%3cpath%20d='M53.0977%2087.6064L56.7712%20118.157'%20stroke='%23252435'%20stroke-width='0.515937'/%3e%3cpath%20d='M198.796%2092.4902L129.953%2093.0343C128.558%2093.0453%20127.315%2093.9189%20126.833%2095.228L107.751%20147.003L191.044%20147.003L202.098%2096.5616C202.559%2094.4592%20200.948%2092.4731%20198.796%2092.4902Z'%20fill='%23201F37'%20stroke='black'%20stroke-width='0.515937'/%3e%3cpath%20d='M82.668%20109.639V99.7412'%20stroke='black'%20stroke-width='0.515937'/%3e%3ccircle%20cx='162.072'%20cy='123.314'%20r='5.18087'%20fill='white'%20stroke='black'%20stroke-width='0.515937'/%3e%3cpath%20d='M31.9336%2097.6216C33.0722%20102.221%2036.6299%20112.039%2041.7517%20114.518'%20stroke='black'%20stroke-width='0.515937'/%3e%3crect%20x='12.0771'%20y='8.11547'%20width='47.1998'%20height='31.286'%20transform='rotate(12.1011%2012.0771%208.11547)'%20fill='white'%20stroke='black'%20stroke-width='0.541546'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.2852%209.4458L32.3779%2029.4524L56.4037%2018.8982M7.29028%2037.8183L27.3233%2031.1968'%20stroke='black'%20stroke-width='0.541546'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M35.6855%2032.7266L50.4164%2047.2644'%20stroke='black'%20stroke-width='0.541546'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_825_75539'%20x1='111.347'%20y1='100.337'%20x2='111.347'%20y2='150.501'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%236068DB'/%3e%3cstop%20offset='1'%20stop-color='%23BCC0FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_825_75539'%20x1='151.013'%20y1='56.6362'%20x2='145.396'%20y2='131.702'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFD361'/%3e%3cstop%20offset='1'%20stop-color='%23FFE8AC'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_825_75539'%20x1='54.6736'%20y1='53.8501'%20x2='48.0704'%20y2='142.087'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFD058'/%3e%3cstop%20offset='1'%20stop-color='%23FFE8AC'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", l2 = ({ setModalState: a }) => {
|
|
98
|
+
const r = (o) => {
|
|
99
|
+
o == null || o.stopPropagation(), a(!0);
|
|
100
|
+
};
|
|
101
|
+
return /* @__PURE__ */ t.jsxs(
|
|
102
|
+
e2,
|
|
103
|
+
{
|
|
104
|
+
direction: "row",
|
|
105
|
+
justifyContent: "space-between",
|
|
106
|
+
"data-testid": "connector-not-available-request-new",
|
|
107
|
+
children: [
|
|
108
|
+
/* @__PURE__ */ t.jsxs(o2, { children: [
|
|
109
|
+
/* @__PURE__ */ t.jsx(r2, { variant: "h1", color: n.palette.gray.black, children: W }),
|
|
110
|
+
/* @__PURE__ */ t.jsx(n2, { variant: "body1", color: n.palette.gray.gray2, children: $ }),
|
|
111
|
+
/* @__PURE__ */ t.jsxs(a2, { direction: "row", justifyContent: "space-between", children: [
|
|
112
|
+
/* @__PURE__ */ t.jsx(s2, { variant: "contained", onClick: r, children: Z }),
|
|
113
|
+
/* @__PURE__ */ t.jsx(i2, { variant: "outlined", className: "create-own__btn", children: G })
|
|
114
|
+
] })
|
|
115
|
+
] }),
|
|
116
|
+
/* @__PURE__ */ t.jsx(t2, { children: /* @__PURE__ */ t.jsx("img", { src: c2 }) })
|
|
117
|
+
]
|
|
118
|
+
}
|
|
119
|
+
);
|
|
120
|
+
}, d2 = () => {
|
|
121
|
+
const a = d(A), r = d(Y);
|
|
122
|
+
return /* @__PURE__ */ t.jsx(C, { "data-testid": "connector-custom-card", children: a.map((o) => {
|
|
123
|
+
if (!(r != null && r[o])) return null;
|
|
124
|
+
const { id: l } = r[o];
|
|
125
|
+
return l ? /* @__PURE__ */ t.jsx(
|
|
126
|
+
P,
|
|
127
|
+
{
|
|
128
|
+
connector: r[o],
|
|
129
|
+
isConfigSettingsPage: !1,
|
|
130
|
+
isConnectorCard: !0
|
|
131
|
+
},
|
|
132
|
+
o
|
|
133
|
+
) : null;
|
|
134
|
+
}) });
|
|
135
|
+
}, p2 = "Custom Connectors", h2 = "Connectors help you get a better customer context and key actions right into your inbox", k2 = "Library", C2 = "Use these pre-built connectors to get started without any hassle. Authenticate and access them from the right panel of Hiver.", L2 = e(C)`
|
|
136
|
+
padding: 14px 0px 0 32px;
|
|
137
|
+
box-sizing: border-box;
|
|
138
|
+
`, u2 = e(w)`
|
|
139
|
+
align-items: center;
|
|
140
|
+
justify-content: space-between;
|
|
141
|
+
flex-direction: row;
|
|
142
|
+
`, x2 = e(h)`
|
|
143
|
+
line-height: 28px;
|
|
144
|
+
font-size: 16px;
|
|
145
|
+
`, b2 = e(h)`
|
|
146
|
+
font-size: 14px;
|
|
147
|
+
line-height: 20px;
|
|
148
|
+
margin-top: 7px;
|
|
149
|
+
margin-bottom: 24px;
|
|
150
|
+
`, w2 = e(h)`
|
|
151
|
+
margin-bottom: 4px;
|
|
152
|
+
`, g2 = e(h)`
|
|
153
|
+
margin-bottom: 20px;
|
|
154
|
+
`, E2 = () => {
|
|
155
|
+
const a = F(), [r, o] = m(!1), [l, c] = m(!1), L = d(A), u = d(_), s = !!L.length, i = !!u.length, { sendTrackingEvent: k } = j(f);
|
|
156
|
+
y(() => {
|
|
157
|
+
a(V()), a(U());
|
|
158
|
+
}, [a]);
|
|
159
|
+
const p = (x) => {
|
|
160
|
+
o(x), c(!1), k(E.REQUEST_NEW_CLICKED);
|
|
161
|
+
}, v = (x) => {
|
|
162
|
+
c(x), o(!1);
|
|
163
|
+
};
|
|
164
|
+
return /* @__PURE__ */ t.jsxs(L2, { "data-testid": "connector-dashboard", children: [
|
|
165
|
+
/* @__PURE__ */ t.jsxs(u2, { children: [
|
|
166
|
+
/* @__PURE__ */ t.jsx(x2, { variant: "h2", children: p2 }),
|
|
167
|
+
s ? /* @__PURE__ */ t.jsx(g, { "data-testid": "connector-available-request-new", onClick: () => p(!0), children: Z }) : null
|
|
168
|
+
] }),
|
|
169
|
+
/* @__PURE__ */ t.jsx(b2, { variant: "body1", color: "rgba(108, 123, 148, 1)", children: h2 }),
|
|
170
|
+
s ? /* @__PURE__ */ t.jsx(d2, {}) : /* @__PURE__ */ t.jsx(l2, { setModalState: p }),
|
|
171
|
+
/* @__PURE__ */ t.jsxs(C, { marginTop: "32px", children: [
|
|
172
|
+
i ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
173
|
+
/* @__PURE__ */ t.jsx(w2, { variant: "h2", children: k2 }),
|
|
174
|
+
/* @__PURE__ */ t.jsx(g2, { variant: "body1", color: n.palette.gray.gray3, children: C2 })
|
|
175
|
+
] }) : null,
|
|
176
|
+
/* @__PURE__ */ t.jsx(J, {})
|
|
177
|
+
] }),
|
|
178
|
+
/* @__PURE__ */ t.jsx(
|
|
179
|
+
q,
|
|
180
|
+
{
|
|
181
|
+
shown: l || r,
|
|
182
|
+
setShown: l ? v : p,
|
|
183
|
+
isApi: l
|
|
184
|
+
}
|
|
185
|
+
)
|
|
186
|
+
] });
|
|
187
|
+
};
|
|
188
|
+
export {
|
|
189
|
+
E2 as Dashboard
|
|
190
|
+
};
|
package/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b1 as e, b2 as o, b3 as t, b4 as a } from "./index-BqGsuBlL.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
e as ConnectorsApp,
|
|
4
|
+
o as setAppConfig,
|
|
5
|
+
t as setAppUgId,
|
|
6
|
+
a as setAppUserId
|
|
7
7
|
};
|