@burdenoff/microfe-integrations 2026.807.2 → 2026.810.2
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/dist/generated/wspace-operations.d.ts +36 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -1
- package/dist/generated/wspace-operations.js +98 -81
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/integrations/components/AddConnectionDialog.d.ts.map +1 -1
- package/dist/integrations/components/AddConnectionDialog.js +231 -201
- package/dist/integrations/components/AddConnectionDialog.js.map +1 -1
- package/dist/integrations/components/AuthMethodSelector.d.ts +17 -0
- package/dist/integrations/components/AuthMethodSelector.d.ts.map +1 -1
- package/dist/integrations/components/AuthMethodSelector.js +45 -36
- package/dist/integrations/components/AuthMethodSelector.js.map +1 -1
- package/dist/integrations/components/CredentialStorageSelector.d.ts.map +1 -1
- package/dist/integrations/components/CredentialStorageSelector.js +151 -59
- package/dist/integrations/components/CredentialStorageSelector.js.map +1 -1
- package/dist/integrations/components/SchemaForm.d.ts.map +1 -1
- package/dist/integrations/components/SchemaForm.js +100 -59
- package/dist/integrations/components/SchemaForm.js.map +1 -1
- package/dist/integrations/constants/permissions.d.ts +1 -0
- package/dist/integrations/constants/permissions.d.ts.map +1 -1
- package/dist/integrations/constants/permissions.js +2 -1
- package/dist/integrations/constants/permissions.js.map +1 -1
- package/dist/integrations/hooks/useCredentialVaults.d.ts +19 -0
- package/dist/integrations/hooks/useCredentialVaults.d.ts.map +1 -1
- package/dist/integrations/hooks/useCredentialVaults.js +43 -22
- package/dist/integrations/hooks/useCredentialVaults.js.map +1 -1
- package/dist/integrations/pages/ProviderDetail.d.ts.map +1 -1
- package/dist/integrations/pages/ProviderDetail.js +1 -1
- package/dist/integrations/pages/ProviderDetail.js.map +1 -1
- package/package.json +1 -1
|
@@ -7,151 +7,152 @@ import { useProvider as ne, useProviders as re } from "../hooks/useProviders.js"
|
|
|
7
7
|
import { useAuthenticateConnection as ie, useAuthenticateWithServiceAccount as ae, useCreateConnection as oe, useInitiateOAuth as se } from "../hooks/useConnections.js";
|
|
8
8
|
import { waitForOAuthPopupCompletion as ce } from "../utils/oauthPopup.js";
|
|
9
9
|
import { CredentialStorageSelector as le } from "./CredentialStorageSelector.js";
|
|
10
|
-
import {
|
|
10
|
+
import { AuthMethodNotice as ue, AuthMethodSelector as de } from "./AuthMethodSelector.js";
|
|
11
11
|
import { ProviderIcon as a } from "./ProviderIcon.js";
|
|
12
|
-
import { SchemaForm as
|
|
13
|
-
import { useCallback as
|
|
14
|
-
import { AlertCircle as
|
|
12
|
+
import { SchemaForm as fe, initialValuesFromSchema as pe, isSchemaComplete as me, parseFormSchema as he, visibleValues as ge } from "./SchemaForm.js";
|
|
13
|
+
import { useCallback as o, useEffect as s, useId as _e, useMemo as c, useRef as l, useState as u } from "react";
|
|
14
|
+
import { AlertCircle as d, Check as ve, CheckCircle2 as ye, ExternalLink as be, Info as xe, Link2 as Se, Loader2 as f, Search as Ce, Shield as p, X as we } from "lucide-react";
|
|
15
15
|
import { usePermissions as Te } from "@burdenoff/fe-libs/shared/providers/shell";
|
|
16
|
-
import { Fragment as
|
|
16
|
+
import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
17
17
|
import { IllustratedEmptyState as Ee } from "@burdenoff/fe-libs/ui";
|
|
18
18
|
//#region src/integrations/components/AddConnectionDialog.tsx
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
var De = 1100, Oe = 1101;
|
|
20
|
+
function _({ open: _, onClose: v, preselectedProviderId: y, onConnectionCreated: b }) {
|
|
21
|
+
let { apiGatewayUrl: x } = e(), { providers: S, loading: C } = re(), w = c(() => y ? (S ?? []).find((e) => e.id === y) ?? null : null, [S, y]), { provider: ke, loading: Ae } = ne(!C && y && !w ? y : ""), T = w ?? ke, je = !!y && !T && (C || Ae), { hasPermission: Me, isLoading: Ne } = Te(), Pe = !Ne && Me(n.CONNECTION_CREATE), { createConnection: Fe, loading: Ie } = oe(), { initiateOAuth: Le, loading: Re } = se(), { authenticateConnection: ze, loading: Be } = ie(), { authenticateWithServiceAccount: Ve, loading: He } = ae(), [Ue] = te({ fetchPolicy: "network-only" }), [E, D] = u(null), [O, k] = u(!y), [A, We] = u("connection"), [j, Ge] = u(""), [M, N] = u(""), [P, Ke] = u(""), [F, I] = u(null), [L, R] = u({}), [z, qe] = u({
|
|
21
22
|
mode: "managed",
|
|
22
23
|
vaultId: "",
|
|
23
24
|
secretId: "",
|
|
24
25
|
managedSecretName: ""
|
|
25
|
-
}), [
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}, [F, E?.id]),
|
|
29
|
-
if (!
|
|
26
|
+
}), [Je, B] = u(""), [V, H] = u(!1), [Ye, U] = u(!1), [, Xe] = u(null), W = l(null), G = l(null), Ze = l(null), Qe = _e(), K = (e) => `${Qe}-${e}`, q = c(() => (E?.authMethods ?? []).filter((e) => e.isEnabled), [E]), J = c(() => q.find((e) => e.key === F) ?? q[0] ?? null, [q, F]), Y = J?.flow ?? ee(E?.authType), $e = J?.authType ?? E?.authType, X = c(() => J?.defaultScopes?.length ? J.defaultScopes : E?.defaultScopes ?? [], [J, E]), Z = c(() => he(J?.configSchema ?? E?.configSchema), [J, E]);
|
|
27
|
+
s(() => {
|
|
28
|
+
R(pe(Z)), B("");
|
|
29
|
+
}, [F, E?.id]), s(() => {
|
|
30
|
+
if (!_) return;
|
|
30
31
|
let e = (e) => {
|
|
31
|
-
e.key === "Escape" &&
|
|
32
|
+
e.key === "Escape" && v();
|
|
32
33
|
};
|
|
33
34
|
return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
|
|
34
|
-
}, [
|
|
35
|
+
}, [_, v]), s(() => () => {
|
|
35
36
|
G.current?.(), W.current && !W.current.closed && W.current.close();
|
|
36
|
-
}, []),
|
|
37
|
-
|
|
37
|
+
}, []), s(() => {
|
|
38
|
+
_ && (We("connection"), Ge(""), N(""), Ke(""), I(null), R({}), qe({
|
|
38
39
|
mode: "managed",
|
|
39
40
|
vaultId: "",
|
|
40
41
|
secretId: "",
|
|
41
42
|
managedSecretName: ""
|
|
42
|
-
}),
|
|
43
|
-
}, [
|
|
44
|
-
|
|
43
|
+
}), B(""), H(!1), U(!1), Xe(null), y ? (k(!1), D(null)) : (k(!0), D(null)));
|
|
44
|
+
}, [_, y]), s(() => {
|
|
45
|
+
_ && y && T && !E && (D(T), N(`${T.name} Connection`), k(!1));
|
|
45
46
|
}, [
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
_,
|
|
48
|
+
y,
|
|
49
|
+
T,
|
|
49
50
|
E
|
|
50
|
-
]),
|
|
51
|
-
if (
|
|
52
|
-
let e = setTimeout(() =>
|
|
51
|
+
]), s(() => {
|
|
52
|
+
if (_ && O) {
|
|
53
|
+
let e = setTimeout(() => Ze.current?.focus(), 100);
|
|
53
54
|
return () => clearTimeout(e);
|
|
54
55
|
}
|
|
55
|
-
}, [
|
|
56
|
-
let Q =
|
|
57
|
-
let e = (
|
|
56
|
+
}, [_, O]);
|
|
57
|
+
let Q = c(() => {
|
|
58
|
+
let e = (S ?? []).filter((e) => e.pluginStatus === "installed" && e.isEnabled);
|
|
58
59
|
if (!j.trim()) return e;
|
|
59
60
|
let t = j.toLowerCase();
|
|
60
61
|
return e.filter((e) => e.name.toLowerCase().includes(t) || (e.description ?? "").toLowerCase().includes(t) || e.key.toLowerCase().includes(t));
|
|
61
|
-
}, [
|
|
62
|
+
}, [S, j]), et = c(() => {
|
|
62
63
|
let e = {};
|
|
63
64
|
return Q.forEach((t) => {
|
|
64
65
|
let n = t.category;
|
|
65
66
|
e[n] || (e[n] = []), e[n].push(t);
|
|
66
67
|
}), e;
|
|
67
|
-
}, [Q]),
|
|
68
|
-
D(e), N(`${e.name} Connection`), k(!1),
|
|
69
|
-
}, []), $ =
|
|
68
|
+
}, [Q]), tt = o((e) => {
|
|
69
|
+
D(e), N(`${e.name} Connection`), k(!1), B("");
|
|
70
|
+
}, []), $ = Ie || Re || Ye || Be || He, nt = o(async () => {
|
|
70
71
|
if (!E || !M.trim()) return;
|
|
71
72
|
let e = Y === "minted";
|
|
72
73
|
if (!e) {
|
|
73
|
-
if (!
|
|
74
|
-
|
|
74
|
+
if (!z.vaultId) {
|
|
75
|
+
B("Please select a vault for this connection");
|
|
75
76
|
return;
|
|
76
77
|
}
|
|
77
|
-
if (
|
|
78
|
-
|
|
78
|
+
if (z.mode === "existing" && !z.secretId) {
|
|
79
|
+
B("Please select an existing vault secret");
|
|
79
80
|
return;
|
|
80
81
|
}
|
|
81
82
|
}
|
|
82
|
-
if (Y === "oauth2" && Z && !
|
|
83
|
-
|
|
83
|
+
if (Y === "oauth2" && Z && !me(Z, L)) {
|
|
84
|
+
B("Please fill in all required fields");
|
|
84
85
|
return;
|
|
85
86
|
}
|
|
86
87
|
if (J && !J.isConfigured) {
|
|
87
|
-
|
|
88
|
+
B("This authentication method is not configured in this environment. Ask an administrator to add its credentials, or pick another method.");
|
|
88
89
|
return;
|
|
89
90
|
}
|
|
90
91
|
try {
|
|
91
|
-
|
|
92
|
-
let t = await
|
|
92
|
+
B("");
|
|
93
|
+
let t = await Fe({
|
|
93
94
|
name: M.trim(),
|
|
94
95
|
description: P.trim() || void 0,
|
|
95
96
|
providerId: E.id,
|
|
96
97
|
authMethodKey: F ?? void 0,
|
|
97
|
-
...Y === "oauth2" && Z ? { config:
|
|
98
|
+
...Y === "oauth2" && Z ? { config: ge(Z, L) } : {},
|
|
98
99
|
...e ? {} : {
|
|
99
|
-
vaultId:
|
|
100
|
-
credentialSecretId:
|
|
101
|
-
managedSecretName:
|
|
100
|
+
vaultId: z.vaultId,
|
|
101
|
+
credentialSecretId: z.mode === "existing" ? z.secretId : void 0,
|
|
102
|
+
managedSecretName: z.mode === "managed" && z.managedSecretName.trim() || void 0
|
|
102
103
|
}
|
|
103
104
|
});
|
|
104
105
|
if (!t) {
|
|
105
|
-
|
|
106
|
+
B("Failed to create connection");
|
|
106
107
|
return;
|
|
107
108
|
}
|
|
108
|
-
switch (
|
|
109
|
+
switch (Xe(t), Y) {
|
|
109
110
|
case "oauth2": {
|
|
110
|
-
let e = await
|
|
111
|
+
let e = await Le(t, x ? `${x}/integrations/oauth/callback` : "/integrations/oauth/callback", E.key);
|
|
111
112
|
if (e?.redirectUrl) {
|
|
112
113
|
let n = window.screenX + (window.innerWidth - 600) / 2, r = window.screenY + (window.innerHeight - 700) / 2, i = window.open(e.redirectUrl, "oauth_popup", `width=600,height=700,left=${n},top=${r},toolbar=no,menubar=no,scrollbars=yes,resizable=yes`);
|
|
113
114
|
if (!i) {
|
|
114
|
-
|
|
115
|
+
B("Popup was blocked. Please allow popups for this site and try again.");
|
|
115
116
|
return;
|
|
116
117
|
}
|
|
117
|
-
W.current = i,
|
|
118
|
+
W.current = i, U(!0), G.current?.(), G.current = ce({
|
|
118
119
|
connectionId: t,
|
|
119
120
|
popup: i,
|
|
120
121
|
fetchConnectionStatus: async () => {
|
|
121
|
-
let { data: e } = await
|
|
122
|
+
let { data: e } = await Ue({ variables: { id: t } });
|
|
122
123
|
return e?.getConnection ?? null;
|
|
123
124
|
},
|
|
124
125
|
onSuccess: () => {
|
|
125
|
-
|
|
126
|
+
H(!0), b?.(t);
|
|
126
127
|
},
|
|
127
|
-
onError:
|
|
128
|
+
onError: B,
|
|
128
129
|
onSettled: () => {
|
|
129
|
-
G.current = null, W.current = null,
|
|
130
|
+
G.current = null, W.current = null, U(!1);
|
|
130
131
|
}
|
|
131
132
|
});
|
|
132
133
|
return;
|
|
133
134
|
}
|
|
134
|
-
|
|
135
|
+
H(!0), b?.(t);
|
|
135
136
|
break;
|
|
136
137
|
}
|
|
137
138
|
case "minted":
|
|
138
|
-
|
|
139
|
+
$e === "service_account" && await Ve(t, X.length > 0 ? X : void 0), H(!0), b?.(t);
|
|
139
140
|
break;
|
|
140
141
|
default: {
|
|
141
|
-
if (Z && !
|
|
142
|
-
|
|
142
|
+
if (Z && !me(Z, L)) {
|
|
143
|
+
B("Please fill in all required fields");
|
|
143
144
|
return;
|
|
144
145
|
}
|
|
145
146
|
let e = {};
|
|
146
|
-
for (let [t, n] of Object.entries(
|
|
147
|
+
for (let [t, n] of Object.entries(ge(Z, L))) if (typeof n == "string") {
|
|
147
148
|
let r = n.trim();
|
|
148
149
|
r && (e[t] = r);
|
|
149
150
|
} else n != null && (e[t] = n);
|
|
150
|
-
await
|
|
151
|
+
await ze(t, F ?? void 0, e), H(!0), b?.(t);
|
|
151
152
|
}
|
|
152
153
|
}
|
|
153
154
|
} catch (e) {
|
|
154
|
-
|
|
155
|
+
B(e instanceof Error ? e.message : "Connection failed");
|
|
155
156
|
}
|
|
156
157
|
}, [
|
|
157
158
|
E,
|
|
@@ -159,20 +160,20 @@ function g({ open: g, onClose: _, preselectedProviderId: v, onConnectionCreated:
|
|
|
159
160
|
P,
|
|
160
161
|
F,
|
|
161
162
|
Y,
|
|
162
|
-
|
|
163
|
+
$e,
|
|
163
164
|
X,
|
|
164
165
|
Z,
|
|
165
|
-
|
|
166
|
+
L,
|
|
166
167
|
J,
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
168
|
+
Fe,
|
|
169
|
+
Le,
|
|
170
|
+
Ue,
|
|
171
|
+
ze,
|
|
172
|
+
Ve,
|
|
173
|
+
x,
|
|
172
174
|
b,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
]), et = [{
|
|
175
|
+
z
|
|
176
|
+
]), rt = [{
|
|
176
177
|
key: "connection",
|
|
177
178
|
label: "Connection",
|
|
178
179
|
icon: Se
|
|
@@ -181,137 +182,159 @@ function g({ open: g, onClose: _, preselectedProviderId: v, onConnectionCreated:
|
|
|
181
182
|
label: "Details",
|
|
182
183
|
icon: xe
|
|
183
184
|
}];
|
|
184
|
-
return
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
185
|
+
return _ ? !Pe && !Ne ? /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h("div", {
|
|
186
|
+
style: { zIndex: De },
|
|
187
|
+
className: "fixed inset-0 bg-bg-overlay animate-in fade-in-0 duration-200",
|
|
188
|
+
onClick: v
|
|
189
|
+
}), /* @__PURE__ */ g("div", {
|
|
188
190
|
role: "dialog",
|
|
189
191
|
"aria-modal": "true",
|
|
190
192
|
"aria-labelledby": "add-connection-denied-title",
|
|
191
|
-
|
|
193
|
+
style: { zIndex: Oe },
|
|
194
|
+
className: "fixed inset-x-4 top-1/2 mx-auto flex max-w-md -translate-y-1/2 flex-col items-center gap-4 rounded-xl border border-border-subtle bg-bg-surface p-8 shadow-2xl text-center",
|
|
192
195
|
children: [
|
|
193
|
-
/* @__PURE__ */
|
|
196
|
+
/* @__PURE__ */ h(p, {
|
|
194
197
|
size: 40,
|
|
195
198
|
className: "text-text-secondary"
|
|
196
199
|
}),
|
|
197
|
-
/* @__PURE__ */
|
|
200
|
+
/* @__PURE__ */ h("h2", {
|
|
198
201
|
id: "add-connection-denied-title",
|
|
199
202
|
className: "text-lg font-semibold text-text-primary",
|
|
200
203
|
children: "Access Denied"
|
|
201
204
|
}),
|
|
202
|
-
/* @__PURE__ */
|
|
205
|
+
/* @__PURE__ */ h("p", {
|
|
203
206
|
className: "text-sm text-text-secondary",
|
|
204
207
|
children: "You don't have permission to create connections."
|
|
205
208
|
}),
|
|
206
|
-
/* @__PURE__ */
|
|
209
|
+
/* @__PURE__ */ h("button", {
|
|
207
210
|
type: "button",
|
|
208
|
-
onClick:
|
|
211
|
+
onClick: v,
|
|
209
212
|
className: "px-4 py-2 text-sm font-medium rounded-md border border-border-subtle hover:bg-accent transition-colors",
|
|
210
213
|
children: "Close"
|
|
211
214
|
})
|
|
212
215
|
]
|
|
213
|
-
})] }) : /* @__PURE__ */
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
216
|
+
})] }) : /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h("div", {
|
|
217
|
+
style: { zIndex: De },
|
|
218
|
+
className: "fixed inset-0 bg-bg-overlay animate-in fade-in-0 duration-200",
|
|
219
|
+
onClick: v
|
|
220
|
+
}), /* @__PURE__ */ g("div", {
|
|
217
221
|
role: "dialog",
|
|
218
222
|
"aria-modal": "true",
|
|
219
223
|
"aria-labelledby": "add-connection-dialog-title",
|
|
220
|
-
|
|
221
|
-
|
|
224
|
+
style: { zIndex: Oe },
|
|
225
|
+
className: "fixed inset-x-4 top-4 bottom-4 mx-auto flex w-auto max-w-3xl flex-col overflow-hidden rounded-xl border border-border-subtle bg-bg-surface shadow-2xl animate-in fade-in-0 zoom-in-95 duration-200 sm:inset-x-6 sm:top-1/2 sm:bottom-auto sm:max-h-[min(90vh,56rem)] sm:w-full sm:-translate-y-1/2",
|
|
226
|
+
children: [/* @__PURE__ */ g("div", {
|
|
222
227
|
className: "flex items-center justify-between px-5 py-4 border-b border-border-subtle flex-shrink-0",
|
|
223
|
-
children: [/* @__PURE__ */
|
|
228
|
+
children: [/* @__PURE__ */ h("div", {
|
|
224
229
|
className: "flex items-center gap-3",
|
|
225
|
-
children: E && !O ? /* @__PURE__ */
|
|
230
|
+
children: E && !O ? /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(a, {
|
|
226
231
|
provider: E,
|
|
227
232
|
size: 32
|
|
228
|
-
}), /* @__PURE__ */
|
|
233
|
+
}), /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ g("h2", {
|
|
229
234
|
id: "add-connection-dialog-title",
|
|
230
235
|
className: "text-base font-semibold text-text-primary",
|
|
231
236
|
children: [E.name, " account"]
|
|
232
|
-
}), /* @__PURE__ */
|
|
237
|
+
}), /* @__PURE__ */ h("p", {
|
|
233
238
|
className: "text-xs text-text-secondary",
|
|
234
239
|
children: r(E.authType)
|
|
235
|
-
})] })] }) : /* @__PURE__ */
|
|
240
|
+
})] })] }) : /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("h2", {
|
|
236
241
|
id: "add-connection-dialog-title",
|
|
237
242
|
className: "text-base font-semibold text-text-primary",
|
|
238
243
|
children: "Add new credential"
|
|
239
|
-
}), /* @__PURE__ */
|
|
244
|
+
}), /* @__PURE__ */ h("p", {
|
|
240
245
|
className: "text-xs text-text-secondary",
|
|
241
246
|
children: "Select an app or service to connect to"
|
|
242
247
|
})] })
|
|
243
|
-
}), /* @__PURE__ */
|
|
248
|
+
}), /* @__PURE__ */ g("div", {
|
|
244
249
|
className: "flex items-center gap-2",
|
|
245
|
-
children: [
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
250
|
+
children: [
|
|
251
|
+
E && !O && !V && q.length > 1 && /* @__PURE__ */ g("div", {
|
|
252
|
+
className: "hidden items-center gap-2 sm:flex",
|
|
253
|
+
children: [/* @__PURE__ */ h("label", {
|
|
254
|
+
htmlFor: `${K("auth-method")}-auth-method`,
|
|
255
|
+
className: "text-xs font-medium text-text-secondary whitespace-nowrap",
|
|
256
|
+
children: "Method"
|
|
257
|
+
}), /* @__PURE__ */ h(de, {
|
|
258
|
+
methods: q,
|
|
259
|
+
selectedKey: F,
|
|
260
|
+
onSelect: I,
|
|
261
|
+
disabled: $,
|
|
262
|
+
idPrefix: K("auth-method"),
|
|
263
|
+
compact: !0
|
|
264
|
+
})]
|
|
265
|
+
}),
|
|
266
|
+
E && !O && !V && /* @__PURE__ */ g("button", {
|
|
267
|
+
type: "button",
|
|
268
|
+
onClick: nt,
|
|
269
|
+
disabled: $ || !M.trim(),
|
|
270
|
+
className: "inline-flex items-center gap-1.5 px-4 py-1.5 text-sm font-medium rounded-md bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg/90 transition-colors disabled:opacity-50",
|
|
271
|
+
children: [$ ? /* @__PURE__ */ h(f, {
|
|
272
|
+
size: 14,
|
|
273
|
+
className: "animate-spin"
|
|
274
|
+
}) : /* @__PURE__ */ h(ve, { size: 14 }), Ye ? "Waiting..." : "Save"]
|
|
275
|
+
}),
|
|
276
|
+
/* @__PURE__ */ h("button", {
|
|
277
|
+
type: "button",
|
|
278
|
+
onClick: v,
|
|
279
|
+
className: "p-1.5 rounded-md hover:bg-accent transition-colors text-text-secondary hover:text-text-primary",
|
|
280
|
+
"aria-label": "Close",
|
|
281
|
+
children: /* @__PURE__ */ h(we, { size: 20 })
|
|
282
|
+
})
|
|
283
|
+
]
|
|
261
284
|
})]
|
|
262
|
-
}), /* @__PURE__ */
|
|
285
|
+
}), /* @__PURE__ */ g("div", {
|
|
263
286
|
className: "flex flex-1 min-h-0 overflow-hidden",
|
|
264
287
|
children: [
|
|
265
|
-
O && !E && /* @__PURE__ */
|
|
288
|
+
O && !E && /* @__PURE__ */ g("div", {
|
|
266
289
|
className: "flex-1 p-5 overflow-y-auto",
|
|
267
290
|
children: [
|
|
268
|
-
/* @__PURE__ */
|
|
291
|
+
/* @__PURE__ */ h("p", {
|
|
269
292
|
className: "text-sm text-text-secondary mb-3",
|
|
270
293
|
children: "Select an app or service to connect to"
|
|
271
294
|
}),
|
|
272
|
-
/* @__PURE__ */
|
|
295
|
+
/* @__PURE__ */ g("div", {
|
|
273
296
|
className: "relative mb-4",
|
|
274
|
-
children: [/* @__PURE__ */
|
|
297
|
+
children: [/* @__PURE__ */ h(Ce, {
|
|
275
298
|
size: 16,
|
|
276
299
|
className: "absolute left-3 top-1/2 -translate-y-1/2 text-text-secondary"
|
|
277
|
-
}), /* @__PURE__ */
|
|
278
|
-
ref:
|
|
300
|
+
}), /* @__PURE__ */ h("input", {
|
|
301
|
+
ref: Ze,
|
|
279
302
|
type: "text",
|
|
280
303
|
value: j,
|
|
281
|
-
onChange: (e) =>
|
|
304
|
+
onChange: (e) => Ge(e.target.value),
|
|
282
305
|
placeholder: "Search providers...",
|
|
283
306
|
"aria-label": "Search providers",
|
|
284
307
|
className: "w-full pl-9 pr-3 py-2.5 border border-border-subtle rounded-md bg-bg-surface text-sm focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary"
|
|
285
308
|
})]
|
|
286
309
|
}),
|
|
287
|
-
|
|
310
|
+
C ? /* @__PURE__ */ h("div", {
|
|
288
311
|
className: "flex items-center justify-center py-8",
|
|
289
|
-
children: /* @__PURE__ */
|
|
312
|
+
children: /* @__PURE__ */ h(f, {
|
|
290
313
|
size: 24,
|
|
291
314
|
className: "animate-spin text-text-secondary"
|
|
292
315
|
})
|
|
293
|
-
}) : Q.length === 0 ? /* @__PURE__ */
|
|
316
|
+
}) : Q.length === 0 ? /* @__PURE__ */ h(Ee, {
|
|
294
317
|
illustration: j ? "empty-search" : "empty-data",
|
|
295
318
|
title: j ? "No matching providers" : "No providers available",
|
|
296
319
|
description: j ? `No installed provider matches “${j}”. Try a different term.` : "Install and enable a provider from the catalog to create a connection."
|
|
297
|
-
}) : /* @__PURE__ */
|
|
320
|
+
}) : /* @__PURE__ */ h("div", {
|
|
298
321
|
className: "max-h-[400px] overflow-y-auto space-y-1",
|
|
299
|
-
children: Object.entries(
|
|
322
|
+
children: Object.entries(et).map(([e, t]) => /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("div", {
|
|
300
323
|
className: "px-2 py-1.5 text-xs font-semibold text-text-secondary uppercase tracking-wider",
|
|
301
324
|
children: i(e)
|
|
302
|
-
}), t.map((e) => /* @__PURE__ */
|
|
325
|
+
}), t.map((e) => /* @__PURE__ */ g("button", {
|
|
303
326
|
type: "button",
|
|
304
|
-
onClick: () =>
|
|
327
|
+
onClick: () => tt(e),
|
|
305
328
|
className: "w-full flex items-center gap-3 px-3 py-2.5 rounded-md hover:bg-accent/50 transition-colors text-left",
|
|
306
|
-
children: [/* @__PURE__ */
|
|
329
|
+
children: [/* @__PURE__ */ h(a, {
|
|
307
330
|
provider: e,
|
|
308
331
|
size: 32
|
|
309
|
-
}), /* @__PURE__ */
|
|
332
|
+
}), /* @__PURE__ */ g("div", {
|
|
310
333
|
className: "flex-1 min-w-0",
|
|
311
|
-
children: [/* @__PURE__ */
|
|
334
|
+
children: [/* @__PURE__ */ h("div", {
|
|
312
335
|
className: "text-sm font-medium text-text-primary",
|
|
313
336
|
children: e.name
|
|
314
|
-
}), /* @__PURE__ */
|
|
337
|
+
}), /* @__PURE__ */ h("div", {
|
|
315
338
|
className: "text-xs text-text-secondary",
|
|
316
339
|
children: r(e.authType)
|
|
317
340
|
})]
|
|
@@ -320,38 +343,38 @@ function g({ open: g, onClose: _, preselectedProviderId: v, onConnectionCreated:
|
|
|
320
343
|
})
|
|
321
344
|
]
|
|
322
345
|
}),
|
|
323
|
-
!O && !E &&
|
|
346
|
+
!O && !E && je && /* @__PURE__ */ h("div", {
|
|
324
347
|
className: "flex-1 flex items-center justify-center",
|
|
325
|
-
children: /* @__PURE__ */
|
|
348
|
+
children: /* @__PURE__ */ h(f, {
|
|
326
349
|
size: 32,
|
|
327
350
|
className: "animate-spin text-text-secondary"
|
|
328
351
|
})
|
|
329
352
|
}),
|
|
330
|
-
!O && !E && !
|
|
353
|
+
!O && !E && !je && y && /* @__PURE__ */ g("div", {
|
|
331
354
|
className: "flex-1 flex flex-col items-center justify-center p-8 text-center",
|
|
332
|
-
children: [/* @__PURE__ */
|
|
355
|
+
children: [/* @__PURE__ */ h(d, {
|
|
333
356
|
size: 32,
|
|
334
357
|
className: "text-text-secondary mb-3"
|
|
335
|
-
}), /* @__PURE__ */
|
|
358
|
+
}), /* @__PURE__ */ h("p", {
|
|
336
359
|
className: "text-sm text-text-secondary",
|
|
337
360
|
children: "This provider isn't available."
|
|
338
361
|
})]
|
|
339
362
|
}),
|
|
340
|
-
|
|
363
|
+
V && E && /* @__PURE__ */ g("div", {
|
|
341
364
|
className: "flex-1 flex flex-col items-center justify-center p-8 text-center",
|
|
342
365
|
children: [
|
|
343
|
-
/* @__PURE__ */
|
|
366
|
+
/* @__PURE__ */ h("div", {
|
|
344
367
|
className: "p-3 rounded-full bg-status-success-bg-subtle mb-4",
|
|
345
|
-
children: /* @__PURE__ */
|
|
368
|
+
children: /* @__PURE__ */ h(ye, {
|
|
346
369
|
size: 48,
|
|
347
370
|
className: "text-status-success-text"
|
|
348
371
|
})
|
|
349
372
|
}),
|
|
350
|
-
/* @__PURE__ */
|
|
373
|
+
/* @__PURE__ */ h("h3", {
|
|
351
374
|
className: "text-lg font-semibold text-text-primary mb-1",
|
|
352
375
|
children: "Connection Created!"
|
|
353
376
|
}),
|
|
354
|
-
/* @__PURE__ */
|
|
377
|
+
/* @__PURE__ */ g("p", {
|
|
355
378
|
className: "text-sm text-text-secondary mb-6",
|
|
356
379
|
children: [
|
|
357
380
|
"Your ",
|
|
@@ -359,48 +382,48 @@ function g({ open: g, onClose: _, preselectedProviderId: v, onConnectionCreated:
|
|
|
359
382
|
" connection has been set up successfully."
|
|
360
383
|
]
|
|
361
384
|
}),
|
|
362
|
-
/* @__PURE__ */
|
|
385
|
+
/* @__PURE__ */ h("button", {
|
|
363
386
|
type: "button",
|
|
364
|
-
onClick:
|
|
387
|
+
onClick: v,
|
|
365
388
|
className: "px-4 py-2 text-sm font-medium rounded-md bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
|
|
366
389
|
children: "Close dialog"
|
|
367
390
|
})
|
|
368
391
|
]
|
|
369
392
|
}),
|
|
370
|
-
E && !O && !
|
|
393
|
+
E && !O && !V && /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h("div", {
|
|
371
394
|
className: "w-full border-b border-border-subtle sm:w-40 sm:border-b-0 sm:border-r flex-shrink-0 py-3 overflow-x-auto",
|
|
372
|
-
children:
|
|
395
|
+
children: rt.map((e) => {
|
|
373
396
|
let n = e.icon;
|
|
374
|
-
return /* @__PURE__ */
|
|
397
|
+
return /* @__PURE__ */ g("button", {
|
|
375
398
|
type: "button",
|
|
376
|
-
onClick: () =>
|
|
399
|
+
onClick: () => We(e.key),
|
|
377
400
|
className: t("flex min-w-max items-center gap-2 px-4 py-2 text-sm font-medium transition-colors sm:w-full", A === e.key ? "text-text-primary bg-accent/50 border-b-2 border-primary sm:border-b-0 sm:border-l-2" : "text-text-secondary hover:text-text-primary hover:bg-accent/30 border-b-2 border-transparent sm:border-b-0 sm:border-l-2"),
|
|
378
|
-
children: [/* @__PURE__ */
|
|
401
|
+
children: [/* @__PURE__ */ h(n, { size: 16 }), e.label]
|
|
379
402
|
}, e.key);
|
|
380
403
|
})
|
|
381
|
-
}), /* @__PURE__ */
|
|
404
|
+
}), /* @__PURE__ */ g("div", {
|
|
382
405
|
className: "flex-1 p-5 overflow-y-auto",
|
|
383
|
-
children: [A === "connection" && /* @__PURE__ */
|
|
406
|
+
children: [A === "connection" && /* @__PURE__ */ g("div", {
|
|
384
407
|
className: "space-y-5",
|
|
385
408
|
children: [
|
|
386
|
-
|
|
409
|
+
Je && /* @__PURE__ */ g("div", {
|
|
387
410
|
className: "flex items-center gap-2 px-3 py-2 rounded-md bg-status-error-bg/10 border border-status-error-border/20",
|
|
388
|
-
children: [/* @__PURE__ */
|
|
411
|
+
children: [/* @__PURE__ */ h(d, {
|
|
389
412
|
size: 16,
|
|
390
413
|
className: "text-status-error-text flex-shrink-0"
|
|
391
|
-
}), /* @__PURE__ */
|
|
414
|
+
}), /* @__PURE__ */ h("span", {
|
|
392
415
|
className: "text-sm text-status-error-text",
|
|
393
|
-
children:
|
|
416
|
+
children: Je
|
|
394
417
|
})]
|
|
395
418
|
}),
|
|
396
|
-
/* @__PURE__ */
|
|
419
|
+
/* @__PURE__ */ g("div", { children: [/* @__PURE__ */ g("label", {
|
|
397
420
|
htmlFor: K("conn-name"),
|
|
398
421
|
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
399
|
-
children: ["Connection Name ", /* @__PURE__ */
|
|
422
|
+
children: ["Connection Name ", /* @__PURE__ */ h("span", {
|
|
400
423
|
className: "text-status-error-text",
|
|
401
424
|
children: "*"
|
|
402
425
|
})]
|
|
403
|
-
}), /* @__PURE__ */
|
|
426
|
+
}), /* @__PURE__ */ h("input", {
|
|
404
427
|
id: K("conn-name"),
|
|
405
428
|
"aria-label": "Connection Name",
|
|
406
429
|
type: "text",
|
|
@@ -410,37 +433,37 @@ function g({ open: g, onClose: _, preselectedProviderId: v, onConnectionCreated:
|
|
|
410
433
|
disabled: $,
|
|
411
434
|
className: "w-full px-3 py-2 border border-border-subtle rounded-md bg-bg-surface text-sm focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary disabled:opacity-50"
|
|
412
435
|
})] }),
|
|
413
|
-
/* @__PURE__ */
|
|
436
|
+
/* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("label", {
|
|
414
437
|
htmlFor: K("conn-desc"),
|
|
415
438
|
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
416
439
|
children: "Description"
|
|
417
|
-
}), /* @__PURE__ */
|
|
440
|
+
}), /* @__PURE__ */ h("input", {
|
|
418
441
|
id: K("conn-desc"),
|
|
419
442
|
"aria-label": "Description",
|
|
420
443
|
type: "text",
|
|
421
444
|
value: P,
|
|
422
|
-
onChange: (e) =>
|
|
445
|
+
onChange: (e) => Ke(e.target.value),
|
|
423
446
|
placeholder: "Optional description",
|
|
424
447
|
disabled: $,
|
|
425
448
|
className: "w-full px-3 py-2 border border-border-subtle rounded-md bg-bg-surface text-sm focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary disabled:opacity-50"
|
|
426
449
|
})] }),
|
|
427
|
-
E.authType !== "service_account" && /* @__PURE__ */
|
|
428
|
-
value:
|
|
429
|
-
onChange:
|
|
450
|
+
E.authType !== "service_account" && /* @__PURE__ */ h(le, {
|
|
451
|
+
value: z,
|
|
452
|
+
onChange: qe,
|
|
430
453
|
providerAuthType: E.authType
|
|
431
454
|
}),
|
|
432
|
-
/* @__PURE__ */
|
|
455
|
+
/* @__PURE__ */ g("div", {
|
|
433
456
|
className: "rounded-md border border-border-subtle/50 bg-bg-surface p-4 space-y-3",
|
|
434
457
|
children: [
|
|
435
|
-
/* @__PURE__ */
|
|
458
|
+
/* @__PURE__ */ g("h3", {
|
|
436
459
|
className: "font-medium text-text-primary flex items-center gap-2 text-sm",
|
|
437
460
|
children: [
|
|
438
|
-
/* @__PURE__ */
|
|
461
|
+
/* @__PURE__ */ h(p, {
|
|
439
462
|
size: 16,
|
|
440
463
|
className: "text-primary"
|
|
441
464
|
}),
|
|
442
465
|
"Authentication",
|
|
443
|
-
q.length <= 1 && /* @__PURE__ */
|
|
466
|
+
q.length <= 1 && /* @__PURE__ */ g("span", {
|
|
444
467
|
className: "text-text-secondary font-normal",
|
|
445
468
|
children: [
|
|
446
469
|
"·",
|
|
@@ -450,25 +473,32 @@ function g({ open: g, onClose: _, preselectedProviderId: v, onConnectionCreated:
|
|
|
450
473
|
})
|
|
451
474
|
]
|
|
452
475
|
}),
|
|
453
|
-
/* @__PURE__ */
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
476
|
+
/* @__PURE__ */ h("div", {
|
|
477
|
+
className: "sm:hidden",
|
|
478
|
+
children: /* @__PURE__ */ h(de, {
|
|
479
|
+
methods: q,
|
|
480
|
+
selectedKey: F,
|
|
481
|
+
onSelect: I,
|
|
482
|
+
disabled: $,
|
|
483
|
+
idPrefix: K("auth-method-inline")
|
|
484
|
+
})
|
|
459
485
|
}),
|
|
460
|
-
|
|
486
|
+
/* @__PURE__ */ h("div", {
|
|
487
|
+
className: q.length > 1 ? "hidden space-y-2 sm:block" : "space-y-2",
|
|
488
|
+
children: /* @__PURE__ */ h(ue, { method: J })
|
|
489
|
+
}),
|
|
490
|
+
Y === "oauth2" && /* @__PURE__ */ g(m, { children: [Z && /* @__PURE__ */ h(fe, {
|
|
461
491
|
schema: Z,
|
|
462
|
-
values:
|
|
463
|
-
onChange:
|
|
492
|
+
values: L,
|
|
493
|
+
onChange: R,
|
|
464
494
|
disabled: $,
|
|
465
495
|
idPrefix: K("oauth-cfg")
|
|
466
|
-
}), /* @__PURE__ */
|
|
496
|
+
}), /* @__PURE__ */ g("div", {
|
|
467
497
|
className: "flex items-center gap-2 px-3 py-2 rounded-md bg-status-info-bg-subtle border border-border-default",
|
|
468
|
-
children: [/* @__PURE__ */
|
|
498
|
+
children: [/* @__PURE__ */ h(be, {
|
|
469
499
|
size: 14,
|
|
470
500
|
className: "text-status-info-text flex-shrink-0"
|
|
471
|
-
}), /* @__PURE__ */
|
|
501
|
+
}), /* @__PURE__ */ g("span", {
|
|
472
502
|
className: "text-xs text-status-info-text",
|
|
473
503
|
children: [
|
|
474
504
|
"A popup window will open for ",
|
|
@@ -477,31 +507,31 @@ function g({ open: g, onClose: _, preselectedProviderId: v, onConnectionCreated:
|
|
|
477
507
|
]
|
|
478
508
|
})]
|
|
479
509
|
})] }),
|
|
480
|
-
Y === "minted" && /* @__PURE__ */
|
|
510
|
+
Y === "minted" && /* @__PURE__ */ g("div", {
|
|
481
511
|
className: "flex items-center gap-2 px-3 py-2 rounded-md bg-status-info-bg-subtle border border-border-default",
|
|
482
|
-
children: [/* @__PURE__ */
|
|
512
|
+
children: [/* @__PURE__ */ h(p, {
|
|
483
513
|
size: 14,
|
|
484
514
|
className: "text-status-info-text flex-shrink-0"
|
|
485
|
-
}), /* @__PURE__ */
|
|
515
|
+
}), /* @__PURE__ */ h("span", {
|
|
486
516
|
className: "text-xs text-status-info-text",
|
|
487
517
|
children: "No credentials to enter — access is granted on your behalf and tokens are issued per use."
|
|
488
518
|
})]
|
|
489
519
|
}),
|
|
490
|
-
Y === "fields" && (Z ? /* @__PURE__ */
|
|
520
|
+
Y === "fields" && (Z ? /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h("p", {
|
|
491
521
|
className: "text-xs text-text-secondary",
|
|
492
522
|
children: "Secret values are stored encrypted and never shown again."
|
|
493
|
-
}), /* @__PURE__ */
|
|
523
|
+
}), /* @__PURE__ */ h(fe, {
|
|
494
524
|
schema: Z,
|
|
495
|
-
values:
|
|
496
|
-
onChange:
|
|
525
|
+
values: L,
|
|
526
|
+
onChange: R,
|
|
497
527
|
disabled: $,
|
|
498
528
|
idPrefix: K("cred")
|
|
499
|
-
})] }) : /* @__PURE__ */
|
|
529
|
+
})] }) : /* @__PURE__ */ g("div", {
|
|
500
530
|
className: "flex items-center gap-2 px-3 py-2 rounded-md bg-status-error-bg-subtle border border-border-default",
|
|
501
|
-
children: [/* @__PURE__ */
|
|
531
|
+
children: [/* @__PURE__ */ h(d, {
|
|
502
532
|
size: 16,
|
|
503
533
|
className: "text-status-error-text flex-shrink-0"
|
|
504
|
-
}), /* @__PURE__ */
|
|
534
|
+
}), /* @__PURE__ */ h("span", {
|
|
505
535
|
className: "text-sm text-status-error-text",
|
|
506
536
|
children: "This authentication method does not declare a configuration form."
|
|
507
537
|
})]
|
|
@@ -509,23 +539,23 @@ function g({ open: g, onClose: _, preselectedProviderId: v, onConnectionCreated:
|
|
|
509
539
|
]
|
|
510
540
|
})
|
|
511
541
|
]
|
|
512
|
-
}), A === "details" && /* @__PURE__ */
|
|
542
|
+
}), A === "details" && /* @__PURE__ */ g("div", {
|
|
513
543
|
className: "space-y-4",
|
|
514
|
-
children: [/* @__PURE__ */
|
|
544
|
+
children: [/* @__PURE__ */ h("h3", {
|
|
515
545
|
className: "text-sm font-semibold text-text-primary",
|
|
516
546
|
children: "Details"
|
|
517
|
-
}), /* @__PURE__ */
|
|
547
|
+
}), /* @__PURE__ */ g("div", {
|
|
518
548
|
className: "space-y-3",
|
|
519
549
|
children: [
|
|
520
|
-
/* @__PURE__ */
|
|
550
|
+
/* @__PURE__ */ g("div", {
|
|
521
551
|
className: "flex items-center gap-3 p-3 rounded-md border border-border-subtle",
|
|
522
|
-
children: [/* @__PURE__ */
|
|
552
|
+
children: [/* @__PURE__ */ h(a, {
|
|
523
553
|
provider: E,
|
|
524
554
|
size: 40
|
|
525
|
-
}), /* @__PURE__ */
|
|
555
|
+
}), /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("p", {
|
|
526
556
|
className: "text-sm font-medium text-text-primary",
|
|
527
557
|
children: E.name
|
|
528
|
-
}), /* @__PURE__ */
|
|
558
|
+
}), /* @__PURE__ */ g("p", {
|
|
529
559
|
className: "text-xs text-text-secondary",
|
|
530
560
|
children: [
|
|
531
561
|
r(E.authType),
|
|
@@ -535,27 +565,27 @@ function g({ open: g, onClose: _, preselectedProviderId: v, onConnectionCreated:
|
|
|
535
565
|
]
|
|
536
566
|
})] })]
|
|
537
567
|
}),
|
|
538
|
-
E.description && /* @__PURE__ */
|
|
568
|
+
E.description && /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("div", {
|
|
539
569
|
className: "text-xs font-medium text-text-secondary uppercase tracking-wider",
|
|
540
570
|
children: "Description"
|
|
541
|
-
}), /* @__PURE__ */
|
|
571
|
+
}), /* @__PURE__ */ h("p", {
|
|
542
572
|
className: "text-sm text-text-primary mt-1",
|
|
543
573
|
children: E.description
|
|
544
574
|
})] }),
|
|
545
|
-
E.website && /* @__PURE__ */
|
|
575
|
+
E.website && /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("div", {
|
|
546
576
|
className: "text-xs font-medium text-text-secondary uppercase tracking-wider",
|
|
547
577
|
children: "Website"
|
|
548
|
-
}), /* @__PURE__ */
|
|
578
|
+
}), /* @__PURE__ */ h("a", {
|
|
549
579
|
href: E.website,
|
|
550
580
|
target: "_blank",
|
|
551
581
|
rel: "noopener noreferrer",
|
|
552
582
|
className: "block text-sm text-primary hover:underline mt-1",
|
|
553
583
|
children: E.website
|
|
554
584
|
})] }),
|
|
555
|
-
E.docsUrl && /* @__PURE__ */
|
|
585
|
+
E.docsUrl && /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("div", {
|
|
556
586
|
className: "text-xs font-medium text-text-secondary uppercase tracking-wider",
|
|
557
587
|
children: "Documentation"
|
|
558
|
-
}), /* @__PURE__ */
|
|
588
|
+
}), /* @__PURE__ */ h("a", {
|
|
559
589
|
href: E.docsUrl,
|
|
560
590
|
target: "_blank",
|
|
561
591
|
rel: "noopener noreferrer",
|
|
@@ -571,6 +601,6 @@ function g({ open: g, onClose: _, preselectedProviderId: v, onConnectionCreated:
|
|
|
571
601
|
})] }) : null;
|
|
572
602
|
}
|
|
573
603
|
//#endregion
|
|
574
|
-
export {
|
|
604
|
+
export { _ as AddConnectionDialog };
|
|
575
605
|
|
|
576
606
|
//# sourceMappingURL=AddConnectionDialog.js.map
|