@burdenoff/microfe-integrations 2026.1023.1 → 2026.1102.1

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 (75) hide show
  1. package/dist/generated/global-types.d.ts +5717 -1663
  2. package/dist/generated/global-types.d.ts.map +1 -1
  3. package/dist/generated/wspace-operations.d.ts +458 -0
  4. package/dist/generated/wspace-operations.d.ts.map +1 -1
  5. package/dist/generated/wspace-operations.js +219 -84
  6. package/dist/generated/wspace-operations.js.map +1 -1
  7. package/dist/generated/wspace-types.d.ts +77665 -31967
  8. package/dist/generated/wspace-types.d.ts.map +1 -1
  9. package/dist/generated/wspace-types.js +16 -0
  10. package/dist/generated/wspace-types.js.map +1 -0
  11. package/dist/integrations/IntegrationsAdminRoutes.d.ts.map +1 -1
  12. package/dist/integrations/IntegrationsAdminRoutes.js +13 -9
  13. package/dist/integrations/IntegrationsAdminRoutes.js.map +1 -1
  14. package/dist/integrations/IntegrationsUserRoutes.d.ts.map +1 -1
  15. package/dist/integrations/IntegrationsUserRoutes.js +16 -12
  16. package/dist/integrations/IntegrationsUserRoutes.js.map +1 -1
  17. package/dist/integrations/components/AddConnectionDialog.d.ts.map +1 -1
  18. package/dist/integrations/components/AddConnectionDialog.js +11 -9
  19. package/dist/integrations/components/AddConnectionDialog.js.map +1 -1
  20. package/dist/integrations/components/ConnectionCard.d.ts.map +1 -1
  21. package/dist/integrations/components/ConnectionCard.js +71 -48
  22. package/dist/integrations/components/ConnectionCard.js.map +1 -1
  23. package/dist/integrations/components/ConnectionSharing.d.ts +18 -0
  24. package/dist/integrations/components/ConnectionSharing.d.ts.map +1 -0
  25. package/dist/integrations/components/ConnectionSharing.js +33 -0
  26. package/dist/integrations/components/ConnectionSharing.js.map +1 -0
  27. package/dist/integrations/components/ConnectorSubmissionCard.d.ts +16 -0
  28. package/dist/integrations/components/ConnectorSubmissionCard.d.ts.map +1 -0
  29. package/dist/integrations/components/ConnectorSubmissionCard.js +192 -0
  30. package/dist/integrations/components/ConnectorSubmissionCard.js.map +1 -0
  31. package/dist/integrations/components/ConnectorSubmissionPager.d.ts +22 -0
  32. package/dist/integrations/components/ConnectorSubmissionPager.d.ts.map +1 -0
  33. package/dist/integrations/components/ConnectorSubmissionPager.js +36 -0
  34. package/dist/integrations/components/ConnectorSubmissionPager.js.map +1 -0
  35. package/dist/integrations/constants/permissions.d.ts +1 -0
  36. package/dist/integrations/constants/permissions.d.ts.map +1 -1
  37. package/dist/integrations/constants/permissions.js +1 -0
  38. package/dist/integrations/constants/permissions.js.map +1 -1
  39. package/dist/integrations/hooks/useConnections.d.ts +3 -0
  40. package/dist/integrations/hooks/useConnections.d.ts.map +1 -1
  41. package/dist/integrations/hooks/useConnections.js.map +1 -1
  42. package/dist/integrations/hooks/useConnectorSubmissions.d.ts +47 -0
  43. package/dist/integrations/hooks/useConnectorSubmissions.d.ts.map +1 -0
  44. package/dist/integrations/hooks/useConnectorSubmissions.js +80 -0
  45. package/dist/integrations/hooks/useConnectorSubmissions.js.map +1 -0
  46. package/dist/integrations/pages/ConnectionDetail.d.ts.map +1 -1
  47. package/dist/integrations/pages/ConnectionDetail.js +283 -261
  48. package/dist/integrations/pages/ConnectionDetail.js.map +1 -1
  49. package/dist/integrations/pages/ConnectionsList.d.ts.map +1 -1
  50. package/dist/integrations/pages/ConnectionsList.js +197 -161
  51. package/dist/integrations/pages/ConnectionsList.js.map +1 -1
  52. package/dist/integrations/pages/ConnectorReviewQueuePage.d.ts +7 -0
  53. package/dist/integrations/pages/ConnectorReviewQueuePage.d.ts.map +1 -0
  54. package/dist/integrations/pages/ConnectorReviewQueuePage.js +201 -0
  55. package/dist/integrations/pages/ConnectorReviewQueuePage.js.map +1 -0
  56. package/dist/integrations/pages/ConnectorSubmissionsPage.d.ts +6 -0
  57. package/dist/integrations/pages/ConnectorSubmissionsPage.d.ts.map +1 -0
  58. package/dist/integrations/pages/ConnectorSubmissionsPage.js +576 -0
  59. package/dist/integrations/pages/ConnectorSubmissionsPage.js.map +1 -0
  60. package/dist/integrations/pages/ProviderCatalog.d.ts.map +1 -1
  61. package/dist/integrations/pages/ProviderCatalog.js +157 -145
  62. package/dist/integrations/pages/ProviderCatalog.js.map +1 -1
  63. package/dist/integrations/pages/ProviderDetail.d.ts.map +1 -1
  64. package/dist/integrations/pages/ProviderDetail.js +15 -8
  65. package/dist/integrations/pages/ProviderDetail.js.map +1 -1
  66. package/dist/integrations/providers/IntegrationsProvider.d.ts.map +1 -1
  67. package/dist/integrations/providers/IntegrationsProvider.js +19 -18
  68. package/dist/integrations/providers/IntegrationsProvider.js.map +1 -1
  69. package/dist/integrations/types/index.d.ts +18 -0
  70. package/dist/integrations/types/index.d.ts.map +1 -1
  71. package/dist/integrations/utils/mappers.d.ts +3 -1
  72. package/dist/integrations/utils/mappers.d.ts.map +1 -1
  73. package/dist/integrations/utils/mappers.js +16 -3
  74. package/dist/integrations/utils/mappers.js.map +1 -1
  75. package/package.json +2 -2
@@ -1,206 +1,218 @@
1
1
  import { useIntegrations as e } from "../providers/IntegrationsProvider.js";
2
2
  import { useTr as t } from "../hooks/useTr.js";
3
3
  import { INTEGRATION_PERMISSIONS as n } from "../constants/permissions.js";
4
- import { AddConnectionDialog as ee } from "../components/AddConnectionDialog.js";
5
- import { joinPath as r } from "../utils/navigation.js";
6
- import { cn as i } from "../utils/cn.js";
7
- import { useIntegrationsStore as a } from "../store/integrationsStore.js";
8
- import { useProviders as o } from "../hooks/useProviders.js";
9
- import { ProviderCard as s } from "../components/ProviderCard.js";
10
- import { AUTH_TYPE_OPTIONS as c, PLUGIN_STATUS_OPTIONS as l, PROVIDER_CATEGORIES as u } from "../utils/constants.js";
11
- import { useMemo as te, useState as d } from "react";
12
- import { AlertCircle as ne, ArrowLeft as re, Filter as f, Grid3x3 as p, List as m, RefreshCw as h, Search as g, Store as _, X as v } from "lucide-react";
13
- import { usePermissions as y } from "@burdenoff/fe-libs/shared/providers/shell";
14
- import { jsx as b, jsxs as x } from "react/jsx-runtime";
15
- import { Button as S, EmphasisPanel as C, IllustratedEmptyState as ie, PagePurpose as ae } from "@burdenoff/fe-libs/ui";
4
+ import { AddConnectionDialog as r } from "../components/AddConnectionDialog.js";
5
+ import { joinPath as i } from "../utils/navigation.js";
6
+ import { cn as a } from "../utils/cn.js";
7
+ import { useIntegrationsStore as o } from "../store/integrationsStore.js";
8
+ import { useProviders as ee } from "../hooks/useProviders.js";
9
+ import { ProviderCard as te } from "../components/ProviderCard.js";
10
+ import { AUTH_TYPE_OPTIONS as s, PLUGIN_STATUS_OPTIONS as c, PROVIDER_CATEGORIES as l } from "../utils/constants.js";
11
+ import { useMemo as ne, useState as u } from "react";
12
+ import { AlertCircle as d, ArrowLeft as f, ClipboardCheck as p, Filter as m, Grid3x3 as h, List as g, RefreshCw as _, Search as re, Store as v, Upload as y, X as b } from "lucide-react";
13
+ import { usePermissions as ie } from "@burdenoff/fe-libs/shared/providers/shell";
14
+ import { jsx as x, jsxs as S } from "react/jsx-runtime";
15
+ import { Button as C, EmphasisPanel as w, IllustratedEmptyState as ae, PagePurpose as oe } from "@burdenoff/fe-libs/ui";
16
16
  //#region src/integrations/pages/ProviderCatalog.tsx
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 } = a(), { providers: I, loading: L, error: R, refetch: z } = o(), { hasPermission: B, isLoading: V } = y(), H = !V && B(n.CONNECTION_CREATE), U = !V && B(n.PROVIDER_CREATE), [W, G] = d(!1), [K, q] = d("all"), J = te(() => {
19
- let e = I ?? [];
20
- if (A.search) {
21
- let t = A.search.toLowerCase();
17
+ function T({ showCreateProviderButton: T = !1 }) {
18
+ let { basePath: E = "/", navigate: D, onProviderSelect: se } = e(), O = t(), { viewMode: k, setViewMode: A, providerFilter: j, updateProviderFilter: M, addConnectionDialogOpen: N, addConnectionProviderId: P, openAddConnectionDialog: F, closeAddConnectionDialog: I } = o(), { providers: L, loading: R, error: z, refetch: B } = ee(), { hasPermission: V, isLoading: H } = ie(), U = !H && V(n.CONNECTION_CREATE), W = !H && V(n.PROVIDER_CREATE), [G, ce] = u(!1), [K, q] = u("all"), J = ne(() => {
19
+ let e = L ?? [];
20
+ if (j.search) {
21
+ let t = j.search.toLowerCase();
22
22
  e = e.filter((e) => e.name.toLowerCase().includes(t) || e.description.toLowerCase().includes(t) || e.key.toLowerCase().includes(t));
23
23
  }
24
- return A.category !== "all" && (e = e.filter((e) => e.category === A.category)), A.pluginStatus !== "all" && (e = e.filter((e) => e.pluginStatus === A.pluginStatus)), K !== "all" && (e = e.filter((e) => e.authType === K)), e.sort((e, t) => e.displayOrder - t.displayOrder);
24
+ return j.category !== "all" && (e = e.filter((e) => e.category === j.category)), j.pluginStatus !== "all" && (e = e.filter((e) => e.pluginStatus === j.pluginStatus)), K !== "all" && (e = e.filter((e) => e.authType === K)), e.sort((e, t) => e.displayOrder - t.displayOrder);
25
25
  }, [
26
- I,
27
- A,
26
+ L,
27
+ j,
28
28
  K
29
- ]), Y = A.search || A.category !== "all" || A.pluginStatus !== "all" || K !== "all", X = () => {
30
- j({
29
+ ]), Y = j.search || j.category !== "all" || j.pluginStatus !== "all" || K !== "all", X = () => {
30
+ M({
31
31
  search: "",
32
32
  category: "all",
33
33
  pluginStatus: "all"
34
34
  }), q("all");
35
- }, se = (e) => {
36
- oe?.(e), E?.(r(T, `providers/${e.id}`));
37
- }, ce = (e) => {
38
- P(e.id);
39
- }, Z = (e) => e === "all" ? D("integrations.providerCatalog.filters.category.all", "All Categories") : D(`integrations.category.${e}`, e), Q = (e) => e === "all" ? D("integrations.providerCatalog.filters.authType.all", "All Auth Types") : D(`integrations.authType.${e}`, e), $ = (e) => e === "all" ? D("integrations.providerCatalog.filters.pluginStatus.all", "All Statuses") : D(`integrations.pluginStatus.${e}`, e);
40
- return /* @__PURE__ */ x("div", {
35
+ }, le = (e) => {
36
+ se?.(e), D?.(i(E, `providers/${e.id}`));
37
+ }, ue = (e) => {
38
+ F(e.id);
39
+ }, Z = (e) => e === "all" ? O("integrations.providerCatalog.filters.category.all", "All Categories") : O(`integrations.category.${e}`, e), Q = (e) => e === "all" ? O("integrations.providerCatalog.filters.authType.all", "All Auth Types") : O(`integrations.authType.${e}`, e), $ = (e) => e === "all" ? O("integrations.providerCatalog.filters.pluginStatus.all", "All Statuses") : O(`integrations.pluginStatus.${e}`, e);
40
+ return /* @__PURE__ */ S("div", {
41
41
  className: "space-y-6 p-6 max-w-7xl mx-auto",
42
42
  children: [
43
- /* @__PURE__ */ b("div", {
43
+ /* @__PURE__ */ x("div", {
44
44
  className: "rounded-xl border border-border-seam bg-accent-wash p-6",
45
45
  "data-tour": "integrations-providers-header",
46
- children: /* @__PURE__ */ x("div", {
47
- className: "flex items-center gap-4",
46
+ children: /* @__PURE__ */ S("div", {
47
+ className: "flex flex-wrap items-center gap-4",
48
48
  children: [
49
- /* @__PURE__ */ b(S, {
49
+ /* @__PURE__ */ x(C, {
50
50
  variant: "ghost",
51
51
  size: "icon",
52
- onClick: () => E?.(T),
53
- "aria-label": D("integrations.providerCatalog.actions.backAriaLabel", "Back to overview"),
54
- children: /* @__PURE__ */ b(re, { size: 20 })
52
+ onClick: () => D?.(E),
53
+ "aria-label": O("integrations.providerCatalog.actions.backAriaLabel", "Back to overview"),
54
+ children: /* @__PURE__ */ x(f, { size: 20 })
55
55
  }),
56
- /* @__PURE__ */ b("div", {
56
+ /* @__PURE__ */ x("div", {
57
57
  className: "p-2.5 rounded-lg bg-action-primary-bg/10",
58
- children: /* @__PURE__ */ b(_, {
58
+ children: /* @__PURE__ */ x(v, {
59
59
  size: 24,
60
60
  className: "text-primary"
61
61
  })
62
62
  }),
63
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("h1", {
63
+ /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("h1", {
64
64
  className: "text-2xl sm:text-3xl font-bold text-text-primary",
65
- children: D("integrations.providerCatalog.title", "Provider Catalog")
66
- }), /* @__PURE__ */ b("p", {
65
+ children: O("integrations.providerCatalog.title", "Provider Catalog")
66
+ }), /* @__PURE__ */ x("p", {
67
67
  className: "text-sm text-text-secondary mt-0.5",
68
- children: D("integrations.providerCatalog.subtitle", "Browse, install, and manage integration providers")
68
+ children: O("integrations.providerCatalog.subtitle", "Browse, install, and manage integration providers")
69
69
  })] }),
70
- w && U && /* @__PURE__ */ x(S, {
70
+ T && W && /* @__PURE__ */ S("div", {
71
+ className: "ml-auto flex flex-wrap gap-2",
72
+ children: [/* @__PURE__ */ S(C, {
73
+ variant: "ghost",
74
+ onClick: () => D?.(i(E, "connector-reviews")),
75
+ children: [/* @__PURE__ */ x(p, { size: 16 }), O("integrations.providerCatalog.actions.connectorReviews", "Connector reviews")]
76
+ }), /* @__PURE__ */ S(C, {
77
+ onClick: () => D?.(i(E, "providers/new")),
78
+ children: [/* @__PURE__ */ x(v, { size: 16 }), O("integrations.providerCatalog.actions.addProvider", "Add Provider")]
79
+ })]
80
+ }),
81
+ !T && /* @__PURE__ */ S(C, {
82
+ variant: "ghost",
71
83
  className: "ml-auto",
72
- onClick: () => E?.(r(T, "providers/new")),
73
- children: [/* @__PURE__ */ b(_, { size: 16 }), D("integrations.providerCatalog.actions.addProvider", "Add Provider")]
84
+ onClick: () => D?.(i(E, "developer/connectors")),
85
+ children: [/* @__PURE__ */ x(y, { size: 16 }), O("integrations.providerCatalog.actions.publishConnector", "Publish a connector")]
74
86
  })
75
87
  ]
76
88
  })
77
89
  }),
78
- /* @__PURE__ */ b(ae, {
79
- icon: /* @__PURE__ */ b(_, { size: 16 }),
80
- children: D("integrations.providerCatalog.purpose", "A provider is a definition of an external service the platform knows how to talk to (Slack, GitHub, Google Drive, and so on). Browse the catalog to find one, see how it authenticates and what features it supports, then connect it to start using it in your workspace.")
90
+ /* @__PURE__ */ x(oe, {
91
+ icon: /* @__PURE__ */ x(v, { size: 16 }),
92
+ children: O("integrations.providerCatalog.purpose", "A provider is a definition of an external service the platform knows how to talk to (Slack, GitHub, Google Drive, and so on). Browse the catalog to find one, see how it authenticates and what features it supports, then connect it to start using it in your workspace.")
81
93
  }),
82
- /* @__PURE__ */ x("div", {
94
+ /* @__PURE__ */ S("div", {
83
95
  className: "space-y-4",
84
- children: [/* @__PURE__ */ x("div", {
96
+ children: [/* @__PURE__ */ S("div", {
85
97
  className: "flex flex-col sm:flex-row gap-3",
86
98
  children: [
87
- /* @__PURE__ */ x("div", {
99
+ /* @__PURE__ */ S("div", {
88
100
  className: "flex-1 relative group",
89
101
  "data-tour": "integrations-providers-search",
90
- children: [/* @__PURE__ */ b(g, {
102
+ children: [/* @__PURE__ */ x(re, {
91
103
  size: 18,
92
104
  className: "absolute left-3 top-1/2 -translate-y-1/2 text-text-secondary group-focus-within:text-primary transition-colors"
93
- }), /* @__PURE__ */ b("input", {
105
+ }), /* @__PURE__ */ x("input", {
94
106
  type: "text",
95
- placeholder: D("integrations.providerCatalog.search.placeholder", "Search providers by name, description, or key..."),
96
- value: A.search,
97
- onChange: (e) => j({ search: e.target.value }),
107
+ placeholder: O("integrations.providerCatalog.search.placeholder", "Search providers by name, description, or key..."),
108
+ value: j.search,
109
+ onChange: (e) => M({ search: e.target.value }),
98
110
  className: "w-full pl-10 pr-4 py-2.5 border border-border-subtle rounded-lg bg-bg-surface text-sm focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary transition-all",
99
- "aria-label": D("integrations.providerCatalog.search.ariaLabel", "Search providers")
111
+ "aria-label": O("integrations.providerCatalog.search.ariaLabel", "Search providers")
100
112
  })]
101
113
  }),
102
- /* @__PURE__ */ x("button", {
114
+ /* @__PURE__ */ S("button", {
103
115
  type: "button",
104
- onClick: () => G(!W),
105
- className: i("inline-flex items-center gap-2 px-4 py-2.5 rounded-lg border text-sm font-medium transition-all", W || Y ? "bg-action-primary-bg text-action-primary-text border-primary" : "bg-bg-surface text-text-primary border-border-subtle hover:bg-accent"),
116
+ onClick: () => ce(!G),
117
+ className: a("inline-flex items-center gap-2 px-4 py-2.5 rounded-lg border text-sm font-medium transition-all", G || Y ? "bg-action-primary-bg text-action-primary-text border-primary" : "bg-bg-surface text-text-primary border-border-subtle hover:bg-accent"),
106
118
  children: [
107
- /* @__PURE__ */ b(f, { size: 16 }),
108
- W ? D("integrations.providerCatalog.filters.hide", "Hide") : D("integrations.providerCatalog.filters.show", "Filter"),
109
- Y && /* @__PURE__ */ b("span", {
119
+ /* @__PURE__ */ x(m, { size: 16 }),
120
+ G ? O("integrations.providerCatalog.filters.hide", "Hide") : O("integrations.providerCatalog.filters.show", "Filter"),
121
+ Y && /* @__PURE__ */ x("span", {
110
122
  className: "ml-1 px-1.5 py-0.5 text-xs rounded-full bg-primary-foreground/20",
111
123
  children: [
112
- A.category !== "all",
113
- A.pluginStatus !== "all",
124
+ j.category !== "all",
125
+ j.pluginStatus !== "all",
114
126
  K !== "all"
115
127
  ].filter(Boolean).length
116
128
  })
117
129
  ]
118
130
  }),
119
- /* @__PURE__ */ x("div", {
131
+ /* @__PURE__ */ S("div", {
120
132
  className: "flex items-center border border-border-subtle rounded-lg overflow-hidden",
121
- children: [/* @__PURE__ */ b("button", {
133
+ children: [/* @__PURE__ */ x("button", {
122
134
  type: "button",
123
- onClick: () => k("grid"),
124
- className: i("p-2.5 transition-colors", O === "grid" ? "bg-action-primary-bg text-action-primary-text" : "hover:bg-accent"),
125
- "aria-label": D("integrations.providerCatalog.view.gridAriaLabel", "Grid view"),
126
- children: /* @__PURE__ */ b(p, { size: 16 })
127
- }), /* @__PURE__ */ b("button", {
135
+ onClick: () => A("grid"),
136
+ className: a("p-2.5 transition-colors", k === "grid" ? "bg-action-primary-bg text-action-primary-text" : "hover:bg-accent"),
137
+ "aria-label": O("integrations.providerCatalog.view.gridAriaLabel", "Grid view"),
138
+ children: /* @__PURE__ */ x(h, { size: 16 })
139
+ }), /* @__PURE__ */ x("button", {
128
140
  type: "button",
129
- onClick: () => k("list"),
130
- className: i("p-2.5 transition-colors", O === "list" ? "bg-action-primary-bg text-action-primary-text" : "hover:bg-accent"),
131
- "aria-label": D("integrations.providerCatalog.view.listAriaLabel", "List view"),
132
- children: /* @__PURE__ */ b(m, { size: 16 })
141
+ onClick: () => A("list"),
142
+ className: a("p-2.5 transition-colors", k === "list" ? "bg-action-primary-bg text-action-primary-text" : "hover:bg-accent"),
143
+ "aria-label": O("integrations.providerCatalog.view.listAriaLabel", "List view"),
144
+ children: /* @__PURE__ */ x(g, { size: 16 })
133
145
  })]
134
146
  })
135
147
  ]
136
- }), W && /* @__PURE__ */ x("div", {
148
+ }), G && /* @__PURE__ */ S("div", {
137
149
  className: "rounded-xl border border-border-seam bg-bg-surface p-5 animate-in slide-in-from-top-2 duration-200",
138
- children: [/* @__PURE__ */ x("div", {
150
+ children: [/* @__PURE__ */ S("div", {
139
151
  className: "flex items-center justify-between mb-4",
140
- children: [/* @__PURE__ */ x("h3", {
152
+ children: [/* @__PURE__ */ S("h3", {
141
153
  className: "font-semibold text-text-primary flex items-center gap-2",
142
- children: [/* @__PURE__ */ b(f, {
154
+ children: [/* @__PURE__ */ x(m, {
143
155
  size: 16,
144
156
  className: "text-primary"
145
- }), D("integrations.providerCatalog.filters.panelTitle", "Filters")]
146
- }), Y && /* @__PURE__ */ x("button", {
157
+ }), O("integrations.providerCatalog.filters.panelTitle", "Filters")]
158
+ }), Y && /* @__PURE__ */ S("button", {
147
159
  type: "button",
148
160
  onClick: X,
149
161
  className: "text-sm text-text-secondary hover:text-status-error-text transition-colors flex items-center gap-1",
150
- children: [/* @__PURE__ */ b(v, { size: 14 }), D("integrations.providerCatalog.filters.clearAll", "Clear All")]
162
+ children: [/* @__PURE__ */ x(b, { size: 14 }), O("integrations.providerCatalog.filters.clearAll", "Clear All")]
151
163
  })]
152
- }), /* @__PURE__ */ x("div", {
164
+ }), /* @__PURE__ */ S("div", {
153
165
  className: "grid grid-cols-1 sm:grid-cols-3 gap-4",
154
166
  children: [
155
- /* @__PURE__ */ x("div", {
167
+ /* @__PURE__ */ S("div", {
156
168
  className: "space-y-2",
157
- children: [/* @__PURE__ */ b("label", {
169
+ children: [/* @__PURE__ */ x("label", {
158
170
  className: "block text-sm font-medium text-text-primary",
159
- children: D("integrations.providerCatalog.filters.category.label", "Category")
160
- }), /* @__PURE__ */ x("select", {
161
- value: A.category,
162
- onChange: (e) => j({ category: e.target.value }),
171
+ children: O("integrations.providerCatalog.filters.category.label", "Category")
172
+ }), /* @__PURE__ */ S("select", {
173
+ value: j.category,
174
+ onChange: (e) => M({ category: e.target.value }),
163
175
  className: "w-full px-3 py-2 border border-border-subtle rounded-lg bg-bg-surface text-sm focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary scheme-normal dark:scheme-dark [&_option]:bg-bg-surface [&_option]:text-text-primary",
164
- children: [/* @__PURE__ */ b("option", {
176
+ children: [/* @__PURE__ */ x("option", {
165
177
  value: "all",
166
178
  children: Z("all")
167
- }), u.map((e) => /* @__PURE__ */ b("option", {
179
+ }), l.map((e) => /* @__PURE__ */ x("option", {
168
180
  value: e.value,
169
181
  children: Z(e.value)
170
182
  }, e.value))]
171
183
  })]
172
184
  }),
173
- /* @__PURE__ */ x("div", {
185
+ /* @__PURE__ */ S("div", {
174
186
  className: "space-y-2",
175
- children: [/* @__PURE__ */ b("label", {
187
+ children: [/* @__PURE__ */ x("label", {
176
188
  className: "block text-sm font-medium text-text-primary",
177
- children: D("integrations.providerCatalog.filters.authType.label", "Auth Type")
178
- }), /* @__PURE__ */ x("select", {
189
+ children: O("integrations.providerCatalog.filters.authType.label", "Auth Type")
190
+ }), /* @__PURE__ */ S("select", {
179
191
  value: K,
180
192
  onChange: (e) => q(e.target.value),
181
193
  className: "w-full px-3 py-2 border border-border-subtle rounded-lg bg-bg-surface text-sm focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary scheme-normal dark:scheme-dark [&_option]:bg-bg-surface [&_option]:text-text-primary",
182
- children: [/* @__PURE__ */ b("option", {
194
+ children: [/* @__PURE__ */ x("option", {
183
195
  value: "all",
184
196
  children: Q("all")
185
- }), c.map((e) => /* @__PURE__ */ b("option", {
197
+ }), s.map((e) => /* @__PURE__ */ x("option", {
186
198
  value: e.value,
187
199
  children: Q(e.value)
188
200
  }, e.value))]
189
201
  })]
190
202
  }),
191
- /* @__PURE__ */ x("div", {
203
+ /* @__PURE__ */ S("div", {
192
204
  className: "space-y-2",
193
- children: [/* @__PURE__ */ b("label", {
205
+ children: [/* @__PURE__ */ x("label", {
194
206
  className: "block text-sm font-medium text-text-primary",
195
- children: D("integrations.providerCatalog.filters.pluginStatus.label", "Plugin Status")
196
- }), /* @__PURE__ */ x("select", {
197
- value: A.pluginStatus,
198
- onChange: (e) => j({ pluginStatus: e.target.value }),
207
+ children: O("integrations.providerCatalog.filters.pluginStatus.label", "Plugin Status")
208
+ }), /* @__PURE__ */ S("select", {
209
+ value: j.pluginStatus,
210
+ onChange: (e) => M({ pluginStatus: e.target.value }),
199
211
  className: "w-full px-3 py-2 border border-border-subtle rounded-lg bg-bg-surface text-sm focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary scheme-normal dark:scheme-dark [&_option]:bg-bg-surface [&_option]:text-text-primary",
200
- children: [/* @__PURE__ */ b("option", {
212
+ children: [/* @__PURE__ */ x("option", {
201
213
  value: "all",
202
214
  children: $("all")
203
- }), l.map((e) => /* @__PURE__ */ b("option", {
215
+ }), c.map((e) => /* @__PURE__ */ x("option", {
204
216
  value: e.value,
205
217
  children: $(e.value)
206
218
  }, e.value))]
@@ -210,33 +222,33 @@ function w({ showCreateProviderButton: w = !1 }) {
210
222
  })]
211
223
  })]
212
224
  }),
213
- R && /* @__PURE__ */ x("div", {
225
+ z && /* @__PURE__ */ S("div", {
214
226
  className: "rounded-xl border border-border-default bg-status-error-bg-subtle p-5 flex items-start gap-4",
215
- children: [/* @__PURE__ */ b(ne, {
227
+ children: [/* @__PURE__ */ x(d, {
216
228
  size: 24,
217
229
  className: "text-status-error-text flex-shrink-0"
218
- }), /* @__PURE__ */ x("div", {
230
+ }), /* @__PURE__ */ S("div", {
219
231
  className: "flex-1",
220
232
  children: [
221
- /* @__PURE__ */ b("h3", {
233
+ /* @__PURE__ */ x("h3", {
222
234
  className: "font-semibold text-status-error-text mb-1",
223
- children: D("integrations.providerCatalog.error.title", "Error loading providers")
235
+ children: O("integrations.providerCatalog.error.title", "Error loading providers")
224
236
  }),
225
- /* @__PURE__ */ b("p", {
237
+ /* @__PURE__ */ x("p", {
226
238
  className: "text-sm text-status-error-text mb-3",
227
- children: R.message
239
+ children: z.message
228
240
  }),
229
- /* @__PURE__ */ x("button", {
241
+ /* @__PURE__ */ S("button", {
230
242
  type: "button",
231
- onClick: () => z(),
243
+ onClick: () => B(),
232
244
  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",
233
- children: [/* @__PURE__ */ b(h, { size: 14 }), D("integrations.providerCatalog.error.retry", "Try Again")]
245
+ children: [/* @__PURE__ */ x(_, { size: 14 }), O("integrations.providerCatalog.error.retry", "Try Again")]
234
246
  })
235
247
  ]
236
248
  })]
237
249
  }),
238
- L && /* @__PURE__ */ b("div", {
239
- className: i(O === "grid" ? "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4" : "space-y-3"),
250
+ R && /* @__PURE__ */ x("div", {
251
+ className: a(k === "grid" ? "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4" : "space-y-3"),
240
252
  children: [...[
241
253
  ,
242
254
  ,
@@ -244,30 +256,30 @@ function w({ showCreateProviderButton: w = !1 }) {
244
256
  ,
245
257
  ,
246
258
  ,
247
- ]].map((e, t) => /* @__PURE__ */ x("div", {
259
+ ]].map((e, t) => /* @__PURE__ */ S("div", {
248
260
  className: "rounded-xl border border-border-seam bg-bg-surface p-5",
249
- children: [/* @__PURE__ */ x("div", {
261
+ children: [/* @__PURE__ */ S("div", {
250
262
  className: "flex items-start gap-3",
251
- children: [/* @__PURE__ */ b("div", { className: "size-12 bg-bg-sunken rounded-xl animate-vc-shimmer" }), /* @__PURE__ */ x("div", {
263
+ children: [/* @__PURE__ */ x("div", { className: "size-12 bg-bg-sunken rounded-xl animate-vc-shimmer" }), /* @__PURE__ */ S("div", {
252
264
  className: "flex-1 space-y-2",
253
- children: [/* @__PURE__ */ b("div", { className: "h-4 w-3/4 bg-bg-sunken rounded animate-vc-shimmer" }), /* @__PURE__ */ b("div", { className: "h-3 w-full bg-bg-sunken rounded animate-vc-shimmer" })]
265
+ children: [/* @__PURE__ */ x("div", { className: "h-4 w-3/4 bg-bg-sunken rounded animate-vc-shimmer" }), /* @__PURE__ */ x("div", { className: "h-3 w-full bg-bg-sunken rounded animate-vc-shimmer" })]
254
266
  })]
255
- }), /* @__PURE__ */ x("div", {
267
+ }), /* @__PURE__ */ S("div", {
256
268
  className: "flex gap-2 mt-4",
257
- children: [/* @__PURE__ */ b("div", { className: "h-5 w-16 bg-bg-sunken rounded-full animate-vc-shimmer" }), /* @__PURE__ */ b("div", { className: "h-5 w-20 bg-bg-sunken rounded-full animate-vc-shimmer" })]
269
+ children: [/* @__PURE__ */ x("div", { className: "h-5 w-16 bg-bg-sunken rounded-full animate-vc-shimmer" }), /* @__PURE__ */ x("div", { className: "h-5 w-20 bg-bg-sunken rounded-full animate-vc-shimmer" })]
258
270
  })]
259
271
  }, t))
260
272
  }),
261
- !L && !R && /* @__PURE__ */ x(C, {
273
+ !R && !z && /* @__PURE__ */ S(w, {
262
274
  className: "overflow-hidden p-0",
263
- children: [/* @__PURE__ */ x("div", {
275
+ children: [/* @__PURE__ */ S("div", {
264
276
  className: "flex items-center gap-2 p-5 border-b border-border-seam",
265
- children: [/* @__PURE__ */ b(_, {
277
+ children: [/* @__PURE__ */ x(v, {
266
278
  size: 18,
267
279
  className: "text-primary"
268
- }), /* @__PURE__ */ x("h2", {
280
+ }), /* @__PURE__ */ S("h2", {
269
281
  className: "font-semibold text-text-primary",
270
- children: [D("integrations.providerCatalog.results.title", "Available Providers"), J.length > 0 && /* @__PURE__ */ x("span", {
282
+ children: [O("integrations.providerCatalog.results.title", "Available Providers"), J.length > 0 && /* @__PURE__ */ S("span", {
271
283
  className: "ml-2 text-sm font-normal text-text-secondary tabular-nums",
272
284
  children: [
273
285
  "(",
@@ -276,37 +288,37 @@ function w({ showCreateProviderButton: w = !1 }) {
276
288
  ]
277
289
  })]
278
290
  })]
279
- }), J.length > 0 ? /* @__PURE__ */ b("div", {
280
- className: i("p-5", O === "grid" ? "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4" : "space-y-3"),
281
- children: J.map((e, t) => /* @__PURE__ */ b("div", {
291
+ }), J.length > 0 ? /* @__PURE__ */ x("div", {
292
+ className: a("p-5", k === "grid" ? "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4" : "space-y-3"),
293
+ children: J.map((e, t) => /* @__PURE__ */ x("div", {
282
294
  style: { animationDelay: `${t * 30}ms` },
283
- children: /* @__PURE__ */ b(s, {
295
+ children: /* @__PURE__ */ x(te, {
284
296
  provider: e,
285
- displayMode: O,
286
- onClick: se,
287
- onConnect: H ? ce : void 0
297
+ displayMode: k,
298
+ onClick: le,
299
+ onConnect: U ? ue : void 0
288
300
  })
289
301
  }, e.id))
290
- }) : /* @__PURE__ */ b(ie, {
302
+ }) : /* @__PURE__ */ x(ae, {
291
303
  illustration: Y ? "empty-search" : "empty-data",
292
- title: Y ? D("integrations.providerCatalog.empty.filteredTitle", "No matching providers") : D("integrations.providerCatalog.empty.title", "No providers available"),
293
- description: Y ? D("integrations.providerCatalog.empty.filteredDescription", "Try adjusting your search or filters.") : D("integrations.providerCatalog.empty.description", "Integration providers will appear here once configured."),
294
- action: Y ? /* @__PURE__ */ x(S, {
304
+ title: Y ? O("integrations.providerCatalog.empty.filteredTitle", "No matching providers") : O("integrations.providerCatalog.empty.title", "No providers available"),
305
+ description: Y ? O("integrations.providerCatalog.empty.filteredDescription", "Try adjusting your search or filters.") : O("integrations.providerCatalog.empty.description", "Integration providers will appear here once configured."),
306
+ action: Y ? /* @__PURE__ */ S(C, {
295
307
  variant: "outline",
296
308
  onClick: X,
297
- children: [/* @__PURE__ */ b(v, { size: 14 }), D("integrations.providerCatalog.empty.clearFilters", "Clear Filters")]
309
+ children: [/* @__PURE__ */ x(b, { size: 14 }), O("integrations.providerCatalog.empty.clearFilters", "Clear Filters")]
298
310
  }) : void 0
299
311
  })]
300
312
  }),
301
- /* @__PURE__ */ b(ee, {
302
- open: M,
303
- onClose: F,
304
- preselectedProviderId: N
313
+ /* @__PURE__ */ x(r, {
314
+ open: N,
315
+ onClose: I,
316
+ preselectedProviderId: P
305
317
  })
306
318
  ]
307
319
  });
308
320
  }
309
321
  //#endregion
310
- export { w as ProviderCatalog };
322
+ export { T as ProviderCatalog };
311
323
 
312
324
  //# sourceMappingURL=ProviderCatalog.js.map