@burdenoff/microfe-integrations 2026.930.1 → 2026.930.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.
Files changed (70) hide show
  1. package/dist/generated/wspace-operations.d.ts +0 -137
  2. package/dist/generated/wspace-operations.d.ts.map +1 -1
  3. package/dist/generated/wspace-operations.js +73 -142
  4. package/dist/generated/wspace-operations.js.map +1 -1
  5. package/dist/integrations/ConnectSourceDialog.js +10 -10
  6. package/dist/integrations/components/AddConnectionDialog.d.ts +15 -3
  7. package/dist/integrations/components/AddConnectionDialog.d.ts.map +1 -1
  8. package/dist/integrations/components/AddConnectionDialog.js +53 -631
  9. package/dist/integrations/components/AddConnectionDialog.js.map +1 -1
  10. package/dist/integrations/components/AuthMethodsEditor.d.ts.map +1 -1
  11. package/dist/integrations/components/AuthMethodsEditor.js +69 -68
  12. package/dist/integrations/components/AuthMethodsEditor.js.map +1 -1
  13. package/dist/integrations/components/ConnectionCard.js +28 -28
  14. package/dist/integrations/components/ConnectionCard.js.map +1 -1
  15. package/dist/integrations/components/ProviderCard.js +29 -29
  16. package/dist/integrations/components/ProviderCard.js.map +1 -1
  17. package/dist/integrations/hooks/useConnections.js +91 -102
  18. package/dist/integrations/hooks/useConnections.js.map +1 -1
  19. package/dist/integrations/hooks/useLogs.js +4 -4
  20. package/dist/integrations/hooks/useProviders.js +36 -36
  21. package/dist/integrations/pages/AddConnectionWizard.d.ts.map +1 -1
  22. package/dist/integrations/pages/AddConnectionWizard.js +281 -277
  23. package/dist/integrations/pages/AddConnectionWizard.js.map +1 -1
  24. package/dist/integrations/pages/ConnectionDetail.js +24 -24
  25. package/dist/integrations/pages/ConnectionDetail.js.map +1 -1
  26. package/dist/integrations/pages/ConnectionsList.js +7 -7
  27. package/dist/integrations/pages/ConnectionsList.js.map +1 -1
  28. package/dist/integrations/pages/IntegrationsOverview.js +34 -34
  29. package/dist/integrations/pages/ProviderCatalog.js +4 -4
  30. package/dist/integrations/pages/ProviderDetail.js +110 -110
  31. package/dist/integrations/pages/ProviderDetail.js.map +1 -1
  32. package/dist/integrations/translations/en.d.ts +18 -0
  33. package/dist/integrations/translations/en.d.ts.map +1 -1
  34. package/dist/integrations/utils/appearance.d.ts +0 -3
  35. package/dist/integrations/utils/appearance.d.ts.map +1 -1
  36. package/dist/integrations/utils/appearance.js +1 -20
  37. package/dist/integrations/utils/appearance.js.map +1 -1
  38. package/dist/integrations/utils/integrationsHelpers.js +1 -4
  39. package/dist/integrations/utils/integrationsHelpers.js.map +1 -1
  40. package/package.json +2 -2
  41. package/dist/integrations/assets/brands/bigconsole.js +0 -6
  42. package/dist/integrations/assets/brands/bigconsole.js.map +0 -1
  43. package/dist/integrations/assets/brands/burdenoff.js +0 -6
  44. package/dist/integrations/assets/brands/burdenoff.js.map +0 -1
  45. package/dist/integrations/components/AuthMethodSelector.d.ts +0 -30
  46. package/dist/integrations/components/AuthMethodSelector.d.ts.map +0 -1
  47. package/dist/integrations/components/AuthMethodSelector.js +0 -66
  48. package/dist/integrations/components/AuthMethodSelector.js.map +0 -1
  49. package/dist/integrations/components/CredentialStorageSelector.d.ts +0 -16
  50. package/dist/integrations/components/CredentialStorageSelector.d.ts.map +0 -1
  51. package/dist/integrations/components/CredentialStorageSelector.js +0 -262
  52. package/dist/integrations/components/CredentialStorageSelector.js.map +0 -1
  53. package/dist/integrations/components/ProviderIcon.d.ts +0 -25
  54. package/dist/integrations/components/ProviderIcon.d.ts.map +0 -1
  55. package/dist/integrations/components/ProviderIcon.js +0 -166
  56. package/dist/integrations/components/ProviderIcon.js.map +0 -1
  57. package/dist/integrations/components/SchemaForm.d.ts +0 -60
  58. package/dist/integrations/components/SchemaForm.d.ts.map +0 -1
  59. package/dist/integrations/components/SchemaForm.js +0 -235
  60. package/dist/integrations/components/SchemaForm.js.map +0 -1
  61. package/dist/integrations/hooks/useCredentialVaults.d.ts +0 -40
  62. package/dist/integrations/hooks/useCredentialVaults.d.ts.map +0 -1
  63. package/dist/integrations/hooks/useCredentialVaults.js +0 -98
  64. package/dist/integrations/hooks/useCredentialVaults.js.map +0 -1
  65. package/dist/integrations/utils/oauthPopup.d.ts +0 -16
  66. package/dist/integrations/utils/oauthPopup.d.ts.map +0 -1
  67. package/dist/integrations/utils/oauthPopup.js +0 -62
  68. package/dist/integrations/utils/oauthPopup.js.map +0 -1
  69. package/dist/node_modules/@iconify/react/dist/iconify.js +0 -1005
  70. package/dist/node_modules/@iconify/react/dist/iconify.js.map +0 -1
@@ -4,8 +4,8 @@ import { cn as n } from "../utils/cn.js";
4
4
  import { INTEGRATION_PERMISSIONS as r } from "../constants/permissions.js";
5
5
  import { useIntegrationsStore as ee } from "../store/integrationsStore.js";
6
6
  import { joinPath as i } from "../utils/navigation.js";
7
- import { useProviders as a } from "../hooks/useProviders.js";
8
- import { AddConnectionDialog as o } from "../components/AddConnectionDialog.js";
7
+ import { AddConnectionDialog as a } from "../components/AddConnectionDialog.js";
8
+ import { useProviders as o } from "../hooks/useProviders.js";
9
9
  import { ProviderCard as s } from "../components/ProviderCard.js";
10
10
  import { AUTH_TYPE_OPTIONS as c, PLUGIN_STATUS_OPTIONS as l, PROVIDER_CATEGORIES as u } from "../utils/constants.js";
11
11
  import { useMemo as te, useState as d } from "react";
@@ -15,7 +15,7 @@ import { jsx as b, jsxs as x } from "react/jsx-runtime";
15
15
  import { Button as S, EmphasisPanel as C, IllustratedEmptyState as ie, PagePurpose as ae } from "@burdenoff/fe-libs/ui";
16
16
  //#region src/integrations/pages/ProviderCatalog.tsx
17
17
  function w({ showCreateProviderButton: w = !1 }) {
18
- let { basePath: T = "/", navigate: E, onProviderSelect: oe } = e(), D = t(), { viewMode: O, setViewMode: k, providerFilter: A, updateProviderFilter: j, addConnectionDialogOpen: M, addConnectionProviderId: N, openAddConnectionDialog: P, closeAddConnectionDialog: F } = ee(), { providers: I, loading: L, error: R, refetch: z } = a(), { hasPermission: B, isLoading: V } = y(), H = !V && B(r.CONNECTION_CREATE), U = !V && B(r.PROVIDER_CREATE), [W, G] = d(!1), [K, q] = d("all"), J = te(() => {
18
+ let { basePath: T = "/", navigate: E, onProviderSelect: oe } = e(), D = t(), { viewMode: O, setViewMode: k, providerFilter: A, updateProviderFilter: j, addConnectionDialogOpen: M, addConnectionProviderId: N, openAddConnectionDialog: P, closeAddConnectionDialog: F } = ee(), { providers: I, loading: L, error: R, refetch: z } = o(), { hasPermission: B, isLoading: V } = y(), H = !V && B(r.CONNECTION_CREATE), U = !V && B(r.PROVIDER_CREATE), [W, G] = d(!1), [K, q] = d("all"), J = te(() => {
19
19
  let e = I ?? [];
20
20
  if (A.search) {
21
21
  let t = A.search.toLowerCase();
@@ -298,7 +298,7 @@ function w({ showCreateProviderButton: w = !1 }) {
298
298
  }) : void 0
299
299
  })]
300
300
  }),
301
- /* @__PURE__ */ b(o, {
301
+ /* @__PURE__ */ b(a, {
302
302
  open: M,
303
303
  onClose: F,
304
304
  preselectedProviderId: N
@@ -4,65 +4,65 @@ import { cn as t } from "../utils/cn.js";
4
4
  import { INTEGRATION_PERMISSIONS as n } from "../constants/permissions.js";
5
5
  import { useIntegrationsStore as r } from "../store/integrationsStore.js";
6
6
  import { joinPath as i } from "../utils/navigation.js";
7
- import { useAuthTypeLabel as a, useCategoryLabel as te } from "../hooks/useLabel.js";
8
- import { useDisableProvider as ne, useEnableProvider as re, useProvider as ie, useUninstallPlugin as ae } from "../hooks/useProviders.js";
9
- import { useConnectionsByProvider as oe } from "../hooks/useConnections.js";
10
- import { ProviderIcon as o } from "../components/ProviderIcon.js";
11
- import { AddConnectionDialog as s } from "../components/AddConnectionDialog.js";
12
- import { ConnectionCard as c } from "../components/ConnectionCard.js";
13
- import { ConfirmDialog as l } from "../components/ConfirmDialog.js";
14
- import { useState as u } from "react";
15
- import { AlertCircle as d, ArrowLeft as f, BookOpen as p, Download as m, ExternalLink as h, Link2 as se, Loader2 as g, Package as _, Pencil as ce, Plus as v, Power as le, RefreshCw as ue, Shield as de, Star as fe, Trash2 as y } from "lucide-react";
7
+ import { AddConnectionDialog as a } from "../components/AddConnectionDialog.js";
8
+ import { useDisableProvider as o, useEnableProvider as te, useProvider as ne, useUninstallPlugin as re } from "../hooks/useProviders.js";
9
+ import { useConnectionsByProvider as ie } from "../hooks/useConnections.js";
10
+ import { useAuthTypeLabel as ae, useCategoryLabel as oe } from "../hooks/useLabel.js";
11
+ import { ConnectionCard as s } from "../components/ConnectionCard.js";
12
+ import { ConfirmDialog as c } from "../components/ConfirmDialog.js";
13
+ import { useState as l } from "react";
14
+ import { AlertCircle as u, ArrowLeft as d, BookOpen as f, Download as p, ExternalLink as m, Link2 as se, Loader2 as h, Package as g, Pencil as ce, Plus as _, Power as le, RefreshCw as ue, Shield as de, Star as fe, Trash2 as v } from "lucide-react";
16
15
  import { useParams as pe } from "react-router";
17
16
  import { usePermissions as me } from "@burdenoff/fe-libs/shared/providers/shell";
18
- import { jsx as b, jsxs as x } from "react/jsx-runtime";
17
+ import { jsx as y, jsxs as b } from "react/jsx-runtime";
18
+ import { ProviderIcon as x } from "@burdenoff/fe-libs/connections";
19
19
  import { Button as S, CTAOverflowMenu as C, EmphasisPanel as w, GlassCard as T, IllustratedEmptyState as E, NextSteps as D, PagePurpose as O, ShowMore as k } from "@burdenoff/fe-libs/ui";
20
20
  //#region src/integrations/pages/ProviderDetail.tsx
21
21
  function A() {
22
- let { providerId: A } = pe(), { adminMode: j = !1, basePath: M = "/", navigate: N, onConnectionSelect: P } = e(), F = ee(), I = te(), L = a(), { addConnectionDialogOpen: R, addConnectionProviderId: z, openAddConnectionDialog: he, closeAddConnectionDialog: ge } = r(), { provider: B, loading: _e, error: V, refetch: H } = ie(A ?? ""), { connections: U, loading: W } = oe(A ?? ""), { enableProvider: ve, loading: ye } = re(), { disableProvider: be, loading: xe } = ne(), { uninstallPlugin: Se, loading: G } = ae(), { hasPermission: K, isLoading: q } = me(), [Ce, J] = u(!1), Y = !q && K(n.CONNECTION_CREATE), we = j && !q && K(n.PROVIDER_CREATE), X = j && !q && K(n.PROVIDER_UPDATE), Te = j && !q && K(n.PROVIDER_DELETE), Ee = _e && !B, Z = ye || xe || G;
23
- if (Ee) return /* @__PURE__ */ x("div", {
22
+ let { providerId: A } = pe(), { adminMode: j = !1, basePath: M = "/", navigate: N, onConnectionSelect: P } = e(), F = ee(), I = oe(), L = ae(), { addConnectionDialogOpen: R, addConnectionProviderId: z, openAddConnectionDialog: he, closeAddConnectionDialog: ge } = r(), { provider: B, loading: _e, error: V, refetch: H } = ne(A ?? ""), { connections: U, loading: W } = ie(A ?? ""), { enableProvider: ve, loading: ye } = te(), { disableProvider: be, loading: xe } = o(), { uninstallPlugin: Se, loading: G } = re(), { hasPermission: K, isLoading: q } = me(), [Ce, J] = l(!1), Y = !q && K(n.CONNECTION_CREATE), we = j && !q && K(n.PROVIDER_CREATE), X = j && !q && K(n.PROVIDER_UPDATE), Te = j && !q && K(n.PROVIDER_DELETE), Ee = _e && !B, Z = ye || xe || G;
23
+ if (Ee) return /* @__PURE__ */ b("div", {
24
24
  className: "flex flex-col items-center justify-center py-20",
25
- children: [/* @__PURE__ */ x("div", {
25
+ children: [/* @__PURE__ */ b("div", {
26
26
  className: "relative",
27
- children: [/* @__PURE__ */ b("div", { className: "absolute inset-0 bg-action-primary-bg/20 rounded-full blur-xl motion-safe:animate-vc-glow-pulse" }), /* @__PURE__ */ b(g, {
27
+ children: [/* @__PURE__ */ y("div", { className: "absolute inset-0 bg-action-primary-bg/20 rounded-full blur-xl motion-safe:animate-vc-glow-pulse" }), /* @__PURE__ */ y(h, {
28
28
  size: 48,
29
29
  className: "relative animate-spin text-primary"
30
30
  })]
31
- }), /* @__PURE__ */ b("span", {
31
+ }), /* @__PURE__ */ y("span", {
32
32
  className: "mt-6 text-sm font-medium text-text-secondary",
33
33
  children: F("integrations.providerDetail.loading", "Loading provider details…")
34
34
  })]
35
35
  });
36
- if (V || !B) return /* @__PURE__ */ b("div", {
36
+ if (V || !B) return /* @__PURE__ */ y("div", {
37
37
  className: "p-6 max-w-4xl mx-auto",
38
- children: /* @__PURE__ */ x("div", {
38
+ children: /* @__PURE__ */ b("div", {
39
39
  className: "rounded-xl border border-border-default bg-status-error-bg-subtle p-6 flex items-start gap-4",
40
- children: [/* @__PURE__ */ b(d, {
40
+ children: [/* @__PURE__ */ y(u, {
41
41
  size: 24,
42
42
  className: "text-status-error-text flex-shrink-0"
43
- }), /* @__PURE__ */ x("div", {
43
+ }), /* @__PURE__ */ b("div", {
44
44
  className: "flex-1",
45
45
  children: [
46
- /* @__PURE__ */ b("h3", {
46
+ /* @__PURE__ */ y("h3", {
47
47
  className: "font-semibold text-status-error-text mb-1",
48
48
  children: F("integrations.providerDetail.error.title", "Provider not found")
49
49
  }),
50
- /* @__PURE__ */ b("p", {
50
+ /* @__PURE__ */ y("p", {
51
51
  className: "text-sm text-status-error-text mb-3",
52
52
  children: V?.message || F("integrations.providerDetail.error.description", "The requested provider could not be loaded.")
53
53
  }),
54
- /* @__PURE__ */ x("div", {
54
+ /* @__PURE__ */ b("div", {
55
55
  className: "flex gap-2",
56
- children: [/* @__PURE__ */ x("button", {
56
+ children: [/* @__PURE__ */ b("button", {
57
57
  type: "button",
58
58
  onClick: () => H(),
59
59
  className: "inline-flex items-center gap-2 px-3 py-1.5 text-sm font-medium rounded-lg bg-status-error-bg-subtle text-status-error-text hover:bg-status-error-bg-subtle/80 transition-colors",
60
- children: [/* @__PURE__ */ b(ue, { size: 14 }), F("integrations.providerDetail.error.retry", "Try Again")]
61
- }), /* @__PURE__ */ x("button", {
60
+ children: [/* @__PURE__ */ y(ue, { size: 14 }), F("integrations.providerDetail.error.retry", "Try Again")]
61
+ }), /* @__PURE__ */ b("button", {
62
62
  type: "button",
63
63
  onClick: () => N?.(i(M, "providers")),
64
64
  className: "inline-flex items-center gap-2 px-3 py-1.5 text-sm font-medium rounded-lg border border-border-subtle hover:bg-accent transition-colors",
65
- children: [/* @__PURE__ */ b(f, { size: 14 }), F("integrations.providerDetail.error.back", "Back to Catalog")]
65
+ children: [/* @__PURE__ */ y(d, { size: 14 }), F("integrations.providerDetail.error.back", "Back to Catalog")]
66
66
  })]
67
67
  })
68
68
  ]
@@ -86,7 +86,7 @@ function A() {
86
86
  id: "connect",
87
87
  label: F("integrations.providerDetail.nextSteps.connect.label", "Connect {{provider}}", { provider: B.name }),
88
88
  description: F("integrations.providerDetail.nextSteps.connect.description", "Authenticate once to create a reusable connection to {{provider}}.", { provider: B.name }),
89
- icon: /* @__PURE__ */ b(v, { size: 16 }),
89
+ icon: /* @__PURE__ */ y(_, { size: 16 }),
90
90
  onClick: Q,
91
91
  done: Me
92
92
  }] : [],
@@ -94,207 +94,207 @@ function A() {
94
94
  id: "docs",
95
95
  label: F("integrations.providerDetail.nextSteps.docs.label", "Read the provider documentation"),
96
96
  description: F("integrations.providerDetail.nextSteps.docs.description", "Learn how {{provider}} works and what credentials you will need.", { provider: B.name }),
97
- icon: /* @__PURE__ */ b(p, { size: 16 }),
97
+ icon: /* @__PURE__ */ y(f, { size: 16 }),
98
98
  href: B.docsUrl
99
99
  }] : [],
100
100
  {
101
101
  id: "browse",
102
102
  label: F("integrations.providerDetail.nextSteps.browse.label", "Browse other providers"),
103
103
  description: F("integrations.providerDetail.nextSteps.browse.description", "Return to the catalog to discover more services you can integrate."),
104
- icon: /* @__PURE__ */ b(_, { size: 16 }),
104
+ icon: /* @__PURE__ */ y(g, { size: 16 }),
105
105
  onClick: () => N?.(i(M, "providers"))
106
106
  }
107
107
  ];
108
- return /* @__PURE__ */ x("div", {
108
+ return /* @__PURE__ */ b("div", {
109
109
  className: "space-y-6 p-6 max-w-5xl mx-auto",
110
110
  children: [
111
- /* @__PURE__ */ b("div", {
111
+ /* @__PURE__ */ y("div", {
112
112
  className: "rounded-xl border border-border-seam bg-accent-wash p-6",
113
- children: /* @__PURE__ */ x("div", {
113
+ children: /* @__PURE__ */ b("div", {
114
114
  className: "flex items-center gap-4",
115
115
  children: [
116
- /* @__PURE__ */ b(S, {
116
+ /* @__PURE__ */ y(S, {
117
117
  variant: "ghost",
118
118
  size: "icon",
119
119
  onClick: () => N?.(i(M, "providers")),
120
120
  "aria-label": F("integrations.providerDetail.actions.backAriaLabel", "Back to catalog"),
121
- children: /* @__PURE__ */ b(f, { size: 20 })
121
+ children: /* @__PURE__ */ y(d, { size: 20 })
122
122
  }),
123
- /* @__PURE__ */ b(o, {
123
+ /* @__PURE__ */ y(x, {
124
124
  provider: B,
125
125
  size: 56
126
126
  }),
127
- /* @__PURE__ */ x("div", {
127
+ /* @__PURE__ */ b("div", {
128
128
  className: "flex-1",
129
- children: [/* @__PURE__ */ x("div", {
129
+ children: [/* @__PURE__ */ b("div", {
130
130
  className: "flex items-center gap-3",
131
- children: [/* @__PURE__ */ b("h1", {
131
+ children: [/* @__PURE__ */ y("h1", {
132
132
  className: "text-2xl sm:text-3xl font-bold text-text-primary",
133
133
  children: B.name
134
- }), B.isBuiltIn && /* @__PURE__ */ b("span", {
134
+ }), B.isBuiltIn && /* @__PURE__ */ y("span", {
135
135
  className: "text-xs px-2 py-0.5 rounded-full bg-status-info-bg-subtle text-status-info-text border border-border-default",
136
136
  children: F("integrations.providerDetail.builtIn", "Built-in")
137
137
  })]
138
- }), /* @__PURE__ */ b("p", {
138
+ }), /* @__PURE__ */ y("p", {
139
139
  className: "text-sm text-text-secondary mt-1",
140
140
  children: B.description
141
141
  })]
142
142
  }),
143
- Y && B.pluginStatus === "installed" && B.isEnabled && /* @__PURE__ */ x(S, {
143
+ Y && B.pluginStatus === "installed" && B.isEnabled && /* @__PURE__ */ b(S, {
144
144
  onClick: Q,
145
- children: [/* @__PURE__ */ b(v, { size: 16 }), F("integrations.providerDetail.actions.createConnection", "Create Connection")]
145
+ children: [/* @__PURE__ */ y(_, { size: 16 }), F("integrations.providerDetail.actions.createConnection", "Create Connection")]
146
146
  })
147
147
  ]
148
148
  })
149
149
  }),
150
- /* @__PURE__ */ b(O, {
151
- icon: /* @__PURE__ */ b(_, { size: 16 }),
150
+ /* @__PURE__ */ y(O, {
151
+ icon: /* @__PURE__ */ y(g, { size: 16 }),
152
152
  children: F("integrations.providerDetail.purpose", "This is the {{provider}} provider — the platform's blueprint for talking to {{provider}}. Here you can see how it authenticates, which features and scopes it supports, and the connections your workspace has created with it. Create a connection to start using {{provider}} in your apps.", { provider: B.name })
153
153
  }),
154
- ($ || B.docsUrl) && /* @__PURE__ */ b(D, {
154
+ ($ || B.docsUrl) && /* @__PURE__ */ y(D, {
155
155
  storageKey: "integrations-provider-detail",
156
156
  steps: Ne
157
157
  }),
158
- /* @__PURE__ */ x("div", {
158
+ /* @__PURE__ */ b("div", {
159
159
  className: "grid grid-cols-1 md:grid-cols-2 gap-4",
160
- children: [/* @__PURE__ */ x(T, {
160
+ children: [/* @__PURE__ */ b(T, {
161
161
  className: "border-border-seam p-5 space-y-4",
162
- children: [/* @__PURE__ */ x("h2", {
162
+ children: [/* @__PURE__ */ b("h2", {
163
163
  className: "font-semibold text-text-primary flex items-center gap-2",
164
- children: [/* @__PURE__ */ b(_, {
164
+ children: [/* @__PURE__ */ y(g, {
165
165
  size: 18,
166
166
  className: "text-primary"
167
167
  }), F("integrations.providerDetail.sections.providerDetails", "Provider Details")]
168
- }), /* @__PURE__ */ x("div", {
168
+ }), /* @__PURE__ */ b("div", {
169
169
  className: "space-y-3",
170
170
  children: [
171
- /* @__PURE__ */ x("div", {
171
+ /* @__PURE__ */ b("div", {
172
172
  className: "flex items-center justify-between py-2 border-b border-border-seam",
173
- children: [/* @__PURE__ */ b("span", {
173
+ children: [/* @__PURE__ */ y("span", {
174
174
  className: "text-sm text-text-secondary",
175
175
  children: F("integrations.providerDetail.sections.category", "Category")
176
- }), /* @__PURE__ */ b("span", {
176
+ }), /* @__PURE__ */ y("span", {
177
177
  className: "text-sm font-medium text-text-primary",
178
178
  children: F(`integrations.category.${B.category}`, I(B.category))
179
179
  })]
180
180
  }),
181
- /* @__PURE__ */ x("div", {
181
+ /* @__PURE__ */ b("div", {
182
182
  className: "flex items-center justify-between py-2 border-b border-border-seam",
183
- children: [/* @__PURE__ */ b("span", {
183
+ children: [/* @__PURE__ */ y("span", {
184
184
  className: "text-sm text-text-secondary",
185
185
  children: F("integrations.providerDetail.sections.authType", "Auth Type")
186
- }), /* @__PURE__ */ b("span", {
186
+ }), /* @__PURE__ */ y("span", {
187
187
  className: "text-sm font-medium text-text-primary",
188
188
  children: F(`integrations.authType.${B.authType}`, L(B.authType))
189
189
  })]
190
190
  }),
191
- /* @__PURE__ */ x("div", {
191
+ /* @__PURE__ */ b("div", {
192
192
  className: "flex items-center justify-between py-2 border-b border-border-seam",
193
- children: [/* @__PURE__ */ b("span", {
193
+ children: [/* @__PURE__ */ y("span", {
194
194
  className: "text-sm text-text-secondary",
195
195
  children: F("integrations.providerDetail.sections.pluginVersion", "Plugin Version")
196
- }), /* @__PURE__ */ b("span", {
196
+ }), /* @__PURE__ */ y("span", {
197
197
  className: "text-sm font-mono text-text-primary",
198
198
  children: B.pluginVersion
199
199
  })]
200
200
  }),
201
- /* @__PURE__ */ x("div", {
201
+ /* @__PURE__ */ b("div", {
202
202
  className: "flex items-center justify-between py-2 border-b border-border-seam",
203
- children: [/* @__PURE__ */ b("span", {
203
+ children: [/* @__PURE__ */ y("span", {
204
204
  className: "text-sm text-text-secondary",
205
205
  children: F("integrations.providerDetail.sections.author", "Author")
206
- }), /* @__PURE__ */ b("span", {
206
+ }), /* @__PURE__ */ y("span", {
207
207
  className: "text-sm font-medium text-text-primary",
208
208
  children: B.pluginAuthor || "-"
209
209
  })]
210
210
  }),
211
- /* @__PURE__ */ x("div", {
211
+ /* @__PURE__ */ b("div", {
212
212
  className: "flex items-center justify-between py-2 border-b border-border-seam",
213
- children: [/* @__PURE__ */ b("span", {
213
+ children: [/* @__PURE__ */ y("span", {
214
214
  className: "text-sm text-text-secondary",
215
215
  children: F("integrations.providerDetail.sections.connections", "Connections")
216
- }), /* @__PURE__ */ b("span", {
216
+ }), /* @__PURE__ */ y("span", {
217
217
  className: "text-sm font-medium text-text-primary",
218
218
  children: B.connectionCount
219
219
  })]
220
220
  }),
221
- /* @__PURE__ */ x("div", {
221
+ /* @__PURE__ */ b("div", {
222
222
  className: "flex items-center justify-between py-2",
223
- children: [/* @__PURE__ */ b("span", {
223
+ children: [/* @__PURE__ */ y("span", {
224
224
  className: "text-sm text-text-secondary",
225
225
  children: F("integrations.providerDetail.sections.status", "Status")
226
- }), /* @__PURE__ */ b("span", {
226
+ }), /* @__PURE__ */ y("span", {
227
227
  className: t("text-sm font-medium px-2 py-0.5 rounded-full", B.isEnabled ? "text-status-success-text bg-status-success-bg-subtle" : "text-text-secondary bg-bg-sunken"),
228
228
  children: B.isEnabled ? F("integrations.providerDetail.sections.enabled", "Enabled") : F("integrations.providerDetail.sections.disabled", "Disabled")
229
229
  })]
230
230
  })
231
231
  ]
232
232
  })]
233
- }), /* @__PURE__ */ x("div", {
233
+ }), /* @__PURE__ */ b("div", {
234
234
  className: "space-y-4",
235
235
  children: [
236
- /* @__PURE__ */ x(T, {
236
+ /* @__PURE__ */ b(T, {
237
237
  className: "border-border-seam p-5",
238
- children: [/* @__PURE__ */ x("h2", {
238
+ children: [/* @__PURE__ */ b("h2", {
239
239
  className: "font-semibold text-text-primary flex items-center gap-2 mb-3",
240
- children: [/* @__PURE__ */ b(fe, {
240
+ children: [/* @__PURE__ */ y(fe, {
241
241
  size: 18,
242
242
  className: "text-primary"
243
243
  }), F("integrations.providerDetail.sections.supportedFeatures", "Supported Features")]
244
- }), B.supportedFeatures.length > 0 ? /* @__PURE__ */ b(k, {
244
+ }), B.supportedFeatures.length > 0 ? /* @__PURE__ */ y(k, {
245
245
  collapsedHeight: 88,
246
246
  label: "Show all features",
247
- children: /* @__PURE__ */ b("div", {
247
+ children: /* @__PURE__ */ y("div", {
248
248
  className: "flex flex-wrap gap-2",
249
- children: B.supportedFeatures.map((e) => /* @__PURE__ */ b("span", {
249
+ children: B.supportedFeatures.map((e) => /* @__PURE__ */ y("span", {
250
250
  className: "text-xs px-2.5 py-1 rounded-full bg-bg-sunken text-text-secondary",
251
251
  children: e
252
252
  }, e))
253
253
  })
254
- }) : /* @__PURE__ */ b("p", {
254
+ }) : /* @__PURE__ */ y("p", {
255
255
  className: "text-sm text-text-secondary",
256
256
  children: F("integrations.providerDetail.sections.noFeatures", "No specific features listed.")
257
257
  })]
258
258
  }),
259
- /* @__PURE__ */ x(T, {
259
+ /* @__PURE__ */ b(T, {
260
260
  className: "border-border-seam p-5",
261
- children: [/* @__PURE__ */ x("h2", {
261
+ children: [/* @__PURE__ */ b("h2", {
262
262
  className: "font-semibold text-text-primary flex items-center gap-2 mb-3",
263
- children: [/* @__PURE__ */ b(h, {
263
+ children: [/* @__PURE__ */ y(m, {
264
264
  size: 18,
265
265
  className: "text-primary"
266
266
  }), F("integrations.providerDetail.sections.links", "Links")]
267
- }), /* @__PURE__ */ x("div", {
267
+ }), /* @__PURE__ */ b("div", {
268
268
  className: "space-y-2",
269
- children: [B.website && /* @__PURE__ */ x("a", {
269
+ children: [B.website && /* @__PURE__ */ b("a", {
270
270
  href: B.website,
271
271
  target: "_blank",
272
272
  rel: "noopener noreferrer",
273
273
  className: "flex items-center gap-2 text-sm text-primary hover:underline",
274
- children: [/* @__PURE__ */ b(h, { size: 14 }), F("integrations.providerDetail.sections.website", "Website")]
275
- }), B.docsUrl && /* @__PURE__ */ x("a", {
274
+ children: [/* @__PURE__ */ y(m, { size: 14 }), F("integrations.providerDetail.sections.website", "Website")]
275
+ }), B.docsUrl && /* @__PURE__ */ b("a", {
276
276
  href: B.docsUrl,
277
277
  target: "_blank",
278
278
  rel: "noopener noreferrer",
279
279
  className: "flex items-center gap-2 text-sm text-primary hover:underline",
280
- children: [/* @__PURE__ */ b(p, { size: 14 }), F("integrations.providerDetail.sections.documentation", "Documentation")]
280
+ children: [/* @__PURE__ */ y(f, { size: 14 }), F("integrations.providerDetail.sections.documentation", "Documentation")]
281
281
  })]
282
282
  })]
283
283
  }),
284
- j && /* @__PURE__ */ x(T, {
284
+ j && /* @__PURE__ */ b(T, {
285
285
  className: "border-border-seam p-5",
286
- children: [/* @__PURE__ */ x("h2", {
286
+ children: [/* @__PURE__ */ b("h2", {
287
287
  className: "font-semibold text-text-primary flex items-center gap-2 mb-3",
288
- children: [/* @__PURE__ */ b(de, {
288
+ children: [/* @__PURE__ */ y(de, {
289
289
  size: 18,
290
290
  className: "text-primary"
291
291
  }), F("integrations.providerDetail.sections.pluginManagement", "Plugin Management")]
292
- }), /* @__PURE__ */ b(C, {
292
+ }), /* @__PURE__ */ y(C, {
293
293
  align: "start",
294
294
  primary: X ? {
295
295
  label: F("integrations.providerDetail.actions.edit", "Edit"),
296
296
  onSelect: je,
297
- icon: /* @__PURE__ */ b(ce, { size: 14 })
297
+ icon: /* @__PURE__ */ y(ce, { size: 14 })
298
298
  } : void 0,
299
299
  actions: [
300
300
  ...X && B.pluginStatus === "installed" ? [{
@@ -303,17 +303,17 @@ function A() {
303
303
  Oe();
304
304
  },
305
305
  disabled: Z,
306
- icon: /* @__PURE__ */ b(le, { size: 14 })
306
+ icon: /* @__PURE__ */ y(le, { size: 14 })
307
307
  }] : [],
308
308
  ...we && B.pluginStatus === "available" ? [{
309
309
  label: F("integrations.providerDetail.actions.installPlugin", "Install Plugin"),
310
310
  onSelect: () => {},
311
- icon: /* @__PURE__ */ b(m, { size: 14 })
311
+ icon: /* @__PURE__ */ y(p, { size: 14 })
312
312
  }] : [],
313
313
  ...X && B.pluginStatus === "update_available" ? [{
314
314
  label: F("integrations.providerDetail.actions.updateAvailable", "Update Available"),
315
315
  onSelect: () => {},
316
- icon: /* @__PURE__ */ b(m, { size: 14 })
316
+ icon: /* @__PURE__ */ y(p, { size: 14 })
317
317
  }] : [],
318
318
  ...Te && B.pluginStatus === "installed" ? [{
319
319
  label: F("integrations.providerDetail.actions.uninstall", "Uninstall"),
@@ -322,7 +322,7 @@ function A() {
322
322
  },
323
323
  intent: "destructive",
324
324
  disabled: Z || B.isBuiltIn,
325
- icon: /* @__PURE__ */ b(y, { size: 14 })
325
+ icon: /* @__PURE__ */ y(v, { size: 14 })
326
326
  }] : []
327
327
  ]
328
328
  })]
@@ -330,45 +330,45 @@ function A() {
330
330
  ]
331
331
  })]
332
332
  }),
333
- /* @__PURE__ */ x(w, {
333
+ /* @__PURE__ */ b(w, {
334
334
  className: "overflow-hidden p-0",
335
335
  children: [
336
- /* @__PURE__ */ x("div", {
336
+ /* @__PURE__ */ b("div", {
337
337
  className: "flex items-center justify-between p-5 border-b border-border-seam",
338
- children: [/* @__PURE__ */ x("div", {
338
+ children: [/* @__PURE__ */ b("div", {
339
339
  className: "flex items-center gap-2",
340
- children: [/* @__PURE__ */ b(se, {
340
+ children: [/* @__PURE__ */ y(se, {
341
341
  size: 18,
342
342
  className: "text-primary"
343
- }), /* @__PURE__ */ b("h2", {
343
+ }), /* @__PURE__ */ y("h2", {
344
344
  className: "font-semibold text-text-primary",
345
345
  children: F("integrations.providerDetail.connectionsCount", "Connections ({{count}})", { count: (U ?? []).length })
346
346
  })]
347
- }), Y && B.pluginStatus === "installed" && B.isEnabled && /* @__PURE__ */ x(S, {
347
+ }), Y && B.pluginStatus === "installed" && B.isEnabled && /* @__PURE__ */ b(S, {
348
348
  size: "sm",
349
349
  onClick: Q,
350
- children: [/* @__PURE__ */ b(v, { size: 14 }), F("integrations.providerDetail.actions.add", "Add")]
350
+ children: [/* @__PURE__ */ y(_, { size: 14 }), F("integrations.providerDetail.actions.add", "Add")]
351
351
  })]
352
352
  }),
353
- W && /* @__PURE__ */ b("div", {
353
+ W && /* @__PURE__ */ y("div", {
354
354
  className: "flex items-center justify-center py-12",
355
- children: /* @__PURE__ */ b(g, {
355
+ children: /* @__PURE__ */ y(h, {
356
356
  size: 24,
357
357
  className: "animate-spin text-text-secondary"
358
358
  })
359
359
  }),
360
- !W && (U ?? []).length === 0 && /* @__PURE__ */ b(E, {
360
+ !W && (U ?? []).length === 0 && /* @__PURE__ */ y(E, {
361
361
  illustration: "empty-data",
362
362
  title: F("integrations.providerDetail.noConnections.title", "No connections yet"),
363
363
  description: F("integrations.providerDetail.noConnections.description", "Create a connection to start using {{provider}} in your workspace.", { provider: B.name }),
364
- action: $ ? /* @__PURE__ */ x(S, {
364
+ action: $ ? /* @__PURE__ */ b(S, {
365
365
  onClick: Q,
366
- children: [/* @__PURE__ */ b(v, { size: 16 }), F("integrations.providerDetail.actions.createConnection", "Create Connection")]
366
+ children: [/* @__PURE__ */ y(_, { size: 16 }), F("integrations.providerDetail.actions.createConnection", "Create Connection")]
367
367
  }) : void 0
368
368
  }),
369
- !W && (U ?? []).length > 0 && /* @__PURE__ */ b("div", {
369
+ !W && (U ?? []).length > 0 && /* @__PURE__ */ y("div", {
370
370
  className: "p-4 space-y-3",
371
- children: (U ?? []).map((e) => /* @__PURE__ */ b(c, {
371
+ children: (U ?? []).map((e) => /* @__PURE__ */ y(s, {
372
372
  connection: e,
373
373
  displayMode: "list",
374
374
  onClick: De
@@ -376,7 +376,7 @@ function A() {
376
376
  })
377
377
  ]
378
378
  }),
379
- /* @__PURE__ */ b(s, {
379
+ /* @__PURE__ */ y(a, {
380
380
  open: R,
381
381
  onClose: ge,
382
382
  preselectedProviderId: z,
@@ -384,7 +384,7 @@ function A() {
384
384
  H();
385
385
  }
386
386
  }),
387
- /* @__PURE__ */ b(l, {
387
+ /* @__PURE__ */ y(c, {
388
388
  open: Ce,
389
389
  title: F("integrations.providerDetail.uninstallDialog.title", "Uninstall {{provider}}", { provider: B.name }),
390
390
  description: F("integrations.providerDetail.uninstallDialog.description", "Existing active connections must be removed first. This action is only available in admin mode."),
@@ -392,7 +392,7 @@ function A() {
392
392
  cancelLabel: F("integrations.common.cancel", "Cancel"),
393
393
  destructive: !0,
394
394
  loading: G,
395
- icon: /* @__PURE__ */ b(y, { size: 20 }),
395
+ icon: /* @__PURE__ */ y(v, { size: 20 }),
396
396
  onConfirm: Ae,
397
397
  onCancel: () => J(!1)
398
398
  })