@burdenoff/microfe-bigconsole 2026.624.2 → 2026.625.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 (71) hide show
  1. package/dist/bigconsole/BigConsoleRoutes.js +93 -93
  2. package/dist/bigconsole/assistant/assistantApi.js +215 -0
  3. package/dist/bigconsole/assistant/assistantApi.js.map +1 -0
  4. package/dist/bigconsole/assistant/createSandboxAssistantTransport.js +119 -0
  5. package/dist/bigconsole/assistant/createSandboxAssistantTransport.js.map +1 -0
  6. package/dist/bigconsole/assistant/index.js +2 -0
  7. package/dist/bigconsole/assistant/pageContext.js +51 -0
  8. package/dist/bigconsole/assistant/pageContext.js.map +1 -0
  9. package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js +48 -48
  10. package/dist/bigconsole/components/dashboard/DashboardToolbar.js +52 -52
  11. package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js.map +1 -1
  12. package/dist/bigconsole/components/dashboard/ExportDashboardDialog.js +33 -33
  13. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js +179 -179
  14. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js.map +1 -1
  15. package/dist/bigconsole/components/dashboard/WidgetPalette.js +38 -38
  16. package/dist/bigconsole/components/datasink/DataSinkTableViewer.js +32 -32
  17. package/dist/bigconsole/components/datasink/ExportDataSinkDialog.js +31 -31
  18. package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js +98 -98
  19. package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js.map +1 -1
  20. package/dist/bigconsole/components/parser/ExportParserDialog.js +31 -31
  21. package/dist/bigconsole/components/parser/ImportParserDialog.js +162 -162
  22. package/dist/bigconsole/components/parser/ImportParserDialog.js.map +1 -1
  23. package/dist/bigconsole/components/widgets/ActionConfigDialog.js +79 -79
  24. package/dist/bigconsole/components/widgets/ActionConfigDialog.js.map +1 -1
  25. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js.map +1 -1
  26. package/dist/bigconsole/components/widgets/PropertiesPanel.js +307 -307
  27. package/dist/bigconsole/components/widgets/PropertiesPanel.js.map +1 -1
  28. package/dist/bigconsole/components/widgets/WidgetConfigDialog.js +222 -222
  29. package/dist/bigconsole/components/widgets/WidgetConfigDialog.js.map +1 -1
  30. package/dist/bigconsole/components/widgets/WidgetTypeSelector.js +23 -23
  31. package/dist/bigconsole/index.js +3 -0
  32. package/dist/bigconsole/pages/DashboardBuilderPage.js +74 -74
  33. package/dist/bigconsole/pages/DashboardBuilderPage.js.map +1 -1
  34. package/dist/bigconsole/pages/DashboardViewPage.js +168 -189
  35. package/dist/bigconsole/pages/DashboardViewPage.js.map +1 -1
  36. package/dist/bigconsole/pages/DashboardsPage.js +266 -310
  37. package/dist/bigconsole/pages/DashboardsPage.js.map +1 -1
  38. package/dist/bigconsole/pages/DataParsersPage.js +148 -194
  39. package/dist/bigconsole/pages/DataParsersPage.js.map +1 -1
  40. package/dist/bigconsole/pages/DataSinkBuilderPage.js +252 -246
  41. package/dist/bigconsole/pages/DataSinkBuilderPage.js.map +1 -1
  42. package/dist/bigconsole/pages/DataSinkViewPage.js +256 -231
  43. package/dist/bigconsole/pages/DataSinkViewPage.js.map +1 -1
  44. package/dist/bigconsole/pages/DataSinksPage.js +173 -219
  45. package/dist/bigconsole/pages/DataSinksPage.js.map +1 -1
  46. package/dist/bigconsole/pages/HomePage.js +125 -141
  47. package/dist/bigconsole/pages/HomePage.js.map +1 -1
  48. package/dist/bigconsole/pages/InsightsPage.js +159 -184
  49. package/dist/bigconsole/pages/InsightsPage.js.map +1 -1
  50. package/dist/bigconsole/pages/ParserBuilderPage.js +401 -393
  51. package/dist/bigconsole/pages/ParserBuilderPage.js.map +1 -1
  52. package/dist/bigconsole/pages/ParserViewPage.js +220 -201
  53. package/dist/bigconsole/pages/ParserViewPage.js.map +1 -1
  54. package/dist/bigconsole/pages/PipelineBuilderPage.js +212 -206
  55. package/dist/bigconsole/pages/PipelineBuilderPage.js.map +1 -1
  56. package/dist/bigconsole/pages/PipelineViewPage.js +204 -181
  57. package/dist/bigconsole/pages/PipelineViewPage.js.map +1 -1
  58. package/dist/bigconsole/pages/PipelinesPage.js +107 -150
  59. package/dist/bigconsole/pages/PipelinesPage.js.map +1 -1
  60. package/dist/bigconsole/pages/SettingsPage.js +184 -171
  61. package/dist/bigconsole/pages/SettingsPage.js.map +1 -1
  62. package/dist/bigconsole/pages/WidgetDemoPage.js +69 -81
  63. package/dist/bigconsole/pages/WidgetDemoPage.js.map +1 -1
  64. package/dist/bigconsole/pages/WorkflowViewPage.js +230 -216
  65. package/dist/bigconsole/pages/WorkflowViewPage.js.map +1 -1
  66. package/dist/bigconsole/pages/WorkflowsPage.js +106 -149
  67. package/dist/bigconsole/pages/WorkflowsPage.js.map +1 -1
  68. package/dist/generated/wspace-operations.js +87 -36
  69. package/dist/generated/wspace-operations.js.map +1 -1
  70. package/dist/index.js +3 -1
  71. package/package.json +6 -2
@@ -12,8 +12,8 @@ import te from "../parser/DataSinkSelector.js";
12
12
  import ne from "../parser/ParserSelector.js";
13
13
  import { memo as c, useCallback as l, useEffect as re, useMemo as ie, useState as u } from "react";
14
14
  import { Code as ae, CreditCard as d, ExternalLink as f, Layout as p, MessageSquare as oe } from "lucide-react";
15
- import { Fragment as se, jsx as m, jsxs as h } from "react/jsx-runtime";
16
- import { Button as g, Card as ce, CardDescription as le, CardHeader as ue, CardTitle as de, Dialog as fe, DialogContent as pe, DialogDescription as me, DialogFooter as he, DialogHeader as ge, DialogTitle as _e, Input as _, Label as v, Tabs as ve, TabsContent as y, TabsList as ye, TabsTrigger as be, Textarea as b } from "@burdenoff/fe-libs/ui";
15
+ import { Button as m, Card as se, CardDescription as ce, CardHeader as le, CardTitle as ue, Dialog as de, DialogContent as fe, DialogDescription as pe, DialogFooter as me, DialogHeader as he, DialogTitle as ge, Input as h, Label as g, Tabs as _e, TabsContent as _, TabsList as ve, TabsTrigger as ye, Textarea as v } from "@burdenoff/fe-libs/ui";
16
+ import { Fragment as be, jsx as y, jsxs as b } from "react/jsx-runtime";
17
17
  //#region src/bigconsole/components/widgets/WidgetConfigDialog.tsx
18
18
  var x = [
19
19
  "kpi_card_comparison",
@@ -34,7 +34,7 @@ var x = [
34
34
  "kanban",
35
35
  "timeline",
36
36
  "custom"
37
- ], xe = [
37
+ ], S = [
38
38
  {
39
39
  type: "BIGCONSOLE",
40
40
  name: "BigConsole Native",
@@ -63,7 +63,7 @@ var x = [
63
63
  icon: ae,
64
64
  supportedTypes: x
65
65
  }
66
- ], Se = [
66
+ ], xe = [
67
67
  {
68
68
  id: "ac-simple-text",
69
69
  name: "Simple Text Card",
@@ -158,7 +158,7 @@ var x = [
158
158
  }
159
159
  }
160
160
  ];
161
- function Ce(e) {
161
+ function Se(e) {
162
162
  switch (e) {
163
163
  case "metric_card":
164
164
  case "kpi_card_comparison": return a;
@@ -172,14 +172,14 @@ function Ce(e) {
172
172
  default: return null;
173
173
  }
174
174
  }
175
- var we = c(function({ renderer: e, template: t, onChange: n }) {
175
+ var Ce = c(function({ renderer: e, template: t, onChange: n }) {
176
176
  let [r, i] = u(null), [a, o] = u(() => {
177
177
  try {
178
178
  return t && typeof t == "object" ? JSON.stringify(t, null, 2) : "";
179
179
  } catch {
180
180
  return "";
181
181
  }
182
- }), s = ie(() => Se.filter((t) => t.renderer === e), [e]), ee = l((e) => {
182
+ }), s = ie(() => xe.filter((t) => t.renderer === e), [e]), ee = l((e) => {
183
183
  o(e);
184
184
  try {
185
185
  e.trim() && n(JSON.parse(e)), i(null);
@@ -194,35 +194,35 @@ var we = c(function({ renderer: e, template: t, onChange: n }) {
194
194
  o(JSON.stringify(t, null, 2)), i(null);
195
195
  } catch {}
196
196
  else t || o("");
197
- }, [t]), /* @__PURE__ */ h("div", {
197
+ }, [t]), /* @__PURE__ */ b("div", {
198
198
  className: "space-y-4",
199
199
  children: [
200
- s.length > 0 && /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m(v, {
200
+ s.length > 0 && /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y(g, {
201
201
  className: "mb-2",
202
202
  children: "Quick Start Templates"
203
- }), /* @__PURE__ */ m("div", {
203
+ }), /* @__PURE__ */ y("div", {
204
204
  className: "grid grid-cols-2 gap-2",
205
- children: s.map((e) => /* @__PURE__ */ m(ce, {
205
+ children: s.map((e) => /* @__PURE__ */ y(se, {
206
206
  className: "cursor-pointer hover:border-primary transition-colors",
207
207
  onClick: () => te(e),
208
- children: /* @__PURE__ */ h(ue, {
208
+ children: /* @__PURE__ */ b(le, {
209
209
  className: "p-3",
210
- children: [/* @__PURE__ */ m(de, {
210
+ children: [/* @__PURE__ */ y(ue, {
211
211
  className: "text-sm",
212
212
  children: e.name
213
- }), /* @__PURE__ */ m(le, {
213
+ }), /* @__PURE__ */ y(ce, {
214
214
  className: "text-xs",
215
215
  children: e.description
216
216
  })]
217
217
  })
218
218
  }, e.id))
219
219
  })] }),
220
- /* @__PURE__ */ h("div", { children: [
221
- /* @__PURE__ */ m(v, {
220
+ /* @__PURE__ */ b("div", { children: [
221
+ /* @__PURE__ */ y(g, {
222
222
  className: "mb-2",
223
223
  children: "Template JSON"
224
224
  }),
225
- /* @__PURE__ */ m(b, {
225
+ /* @__PURE__ */ y(v, {
226
226
  value: a,
227
227
  onChange: (e) => ee(e.target.value),
228
228
  placeholder: `Enter ${e} template JSON...`,
@@ -230,15 +230,15 @@ var we = c(function({ renderer: e, template: t, onChange: n }) {
230
230
  spellCheck: !1,
231
231
  className: `font-mono text-sm ${r ? "border-status-error-border focus-visible:ring-destructive" : ""}`
232
232
  }),
233
- r && /* @__PURE__ */ h("p", {
233
+ r && /* @__PURE__ */ b("p", {
234
234
  className: "mt-1 text-xs text-status-error-text",
235
235
  children: ["Invalid JSON: ", r]
236
236
  })
237
237
  ] }),
238
- /* @__PURE__ */ h("div", {
238
+ /* @__PURE__ */ b("div", {
239
239
  className: "flex items-center justify-between rounded-lg bg-bg-sunken p-3",
240
240
  children: [
241
- /* @__PURE__ */ h("p", {
241
+ /* @__PURE__ */ b("p", {
242
242
  className: "text-xs text-text-secondary",
243
243
  children: [
244
244
  e === "ADAPTIVE_CARD" && "Use Microsoft Adaptive Cards format with data binding.",
@@ -246,49 +246,49 @@ var we = c(function({ renderer: e, template: t, onChange: n }) {
246
246
  e === "CUSTOM" && "Specify componentName and props for your custom React component."
247
247
  ]
248
248
  }),
249
- e === "ADAPTIVE_CARD" && /* @__PURE__ */ m(g, {
249
+ e === "ADAPTIVE_CARD" && /* @__PURE__ */ y(m, {
250
250
  variant: "ghost",
251
251
  size: "sm",
252
252
  asChild: !0,
253
- children: /* @__PURE__ */ h("a", {
253
+ children: /* @__PURE__ */ b("a", {
254
254
  href: "https://adaptivecards.io/designer/",
255
255
  target: "_blank",
256
256
  rel: "noopener noreferrer",
257
- children: [/* @__PURE__ */ m(f, { className: "size-3.5" }), "Designer"]
257
+ children: [/* @__PURE__ */ y(f, { className: "size-3.5" }), "Designer"]
258
258
  })
259
259
  }),
260
- e === "BLOCKKIT" && /* @__PURE__ */ m(g, {
260
+ e === "BLOCKKIT" && /* @__PURE__ */ y(m, {
261
261
  variant: "ghost",
262
262
  size: "sm",
263
263
  asChild: !0,
264
- children: /* @__PURE__ */ h("a", {
264
+ children: /* @__PURE__ */ b("a", {
265
265
  href: "https://app.slack.com/block-kit-builder",
266
266
  target: "_blank",
267
267
  rel: "noopener noreferrer",
268
- children: [/* @__PURE__ */ m(f, { className: "size-3.5" }), "Builder"]
268
+ children: [/* @__PURE__ */ y(f, { className: "size-3.5" }), "Builder"]
269
269
  })
270
270
  })
271
271
  ]
272
272
  })
273
273
  ]
274
274
  });
275
- }), S = c(function({ isOpen: n, widget: r, preselectedType: i, preselectedDefinition: a, onClose: o, onSave: s, dashboardId: c, installedWidgets: ae }) {
276
- let d = !r, [f, p] = u(d ? i ? "general" : "type" : "general"), oe = e((e) => e.dataSinks), [x, S] = u(r?.type || i), [C, w] = u(r?.title || ""), [Te, T] = u(r?.description || ""), [Ee, E] = u(r?.refreshInterval ?? void 0), [D, O] = u(r?.config || {}), [k, A] = u(r?.renderer || "BIGCONSOLE"), [j, M] = u(r?.template || null), [N, P] = u(r?.config?.dataSourceType || "MOCK"), [F, I] = u(r?.config?.dataSinkKey || ""), [De, L] = u(r?.parserId || ""), [Oe, R] = u(r?.config?.endpointUrl || ""), [z, B] = u(r?.config?.httpMethod || "GET"), [V, H] = u(r?.config?.headers || ""), [U, W] = u(r?.config?.authType || "none"), [ke, G] = u(r?.config?.authValue || ""), [Ae, K] = u(r?.config?.requestBody || ""), [q, J] = u(r?.config?.dataPath || ""), [je, Y] = u(r?.config?.graphqlEndpoint || ""), [Me, X] = u(r?.config?.graphqlQuery || ""), [Z, Q] = u(r?.config?.graphqlVariables || ""), Ne = ie(() => x ? xe.filter((e) => e.supportedTypes.includes(x)) : xe, [x]);
275
+ }), C = c(function({ isOpen: n, widget: r, preselectedType: i, preselectedDefinition: a, onClose: o, onSave: s, dashboardId: c, installedWidgets: ae }) {
276
+ let d = !r, [f, p] = u(d ? i ? "general" : "type" : "general"), oe = e((e) => e.dataSinks), [x, C] = u(r?.type || i), [w, T] = u(r?.title || ""), [we, E] = u(r?.description || ""), [Te, D] = u(r?.refreshInterval ?? void 0), [O, k] = u(r?.config || {}), [A, j] = u(r?.renderer || "BIGCONSOLE"), [M, N] = u(r?.template || null), [P, F] = u(r?.config?.dataSourceType || "MOCK"), [I, L] = u(r?.config?.dataSinkKey || ""), [Ee, R] = u(r?.parserId || ""), [De, z] = u(r?.config?.endpointUrl || ""), [B, V] = u(r?.config?.httpMethod || "GET"), [H, U] = u(r?.config?.headers || ""), [W, G] = u(r?.config?.authType || "none"), [Oe, K] = u(r?.config?.authValue || ""), [ke, q] = u(r?.config?.requestBody || ""), [J, Y] = u(r?.config?.dataPath || ""), [Ae, X] = u(r?.config?.graphqlEndpoint || ""), [je, Z] = u(r?.config?.graphqlQuery || ""), [Me, Q] = u(r?.config?.graphqlVariables || ""), Ne = ie(() => x ? S.filter((e) => e.supportedTypes.includes(x)) : S, [x]);
277
277
  re(() => {
278
- x && !Ne.find((e) => e.type === k) && (A("BIGCONSOLE"), M(null));
278
+ x && !Ne.find((e) => e.type === A) && (j("BIGCONSOLE"), N(null));
279
279
  }, [
280
280
  x,
281
281
  Ne,
282
- k
282
+ A
283
283
  ]), re(() => {
284
284
  if (r) {
285
- S(r.type), w(r.title), T(r.description || ""), E(r.refreshInterval ?? void 0), O(r.config || {}), A(r.renderer || "BIGCONSOLE"), M(r.template || null);
285
+ C(r.type), T(r.title), E(r.description || ""), D(r.refreshInterval ?? void 0), k(r.config || {}), j(r.renderer || "BIGCONSOLE"), N(r.template || null);
286
286
  let e = r.config || {};
287
- P(e.dataSourceType || "MOCK"), I(e.dataSinkKey || ""), L(r.parserId || ""), R(e.endpointUrl || ""), B(e.httpMethod || "GET"), H(e.headers || ""), W(e.authType || "none"), G(e.authValue || ""), K(e.requestBody || ""), J(e.dataPath || ""), Y(e.graphqlEndpoint || ""), X(e.graphqlQuery || ""), Q(e.graphqlVariables || ""), p("general");
287
+ F(e.dataSourceType || "MOCK"), L(e.dataSinkKey || ""), R(r.parserId || ""), z(e.endpointUrl || ""), V(e.httpMethod || "GET"), U(e.headers || ""), G(e.authType || "none"), K(e.authValue || ""), q(e.requestBody || ""), Y(e.dataPath || ""), X(e.graphqlEndpoint || ""), Z(e.graphqlQuery || ""), Q(e.graphqlVariables || ""), p("general");
288
288
  } else if (i) {
289
289
  let e = a || t(i);
290
- S(i), w(e.name), T(""), E(void 0), O(e.defaultConfig || {}), A(e.category === "Installed" ? "CUSTOM" : "BIGCONSOLE"), M(null), P("MOCK"), I(""), L(""), R(""), B("GET"), H(""), W("none"), G(""), K(""), J(""), Y(""), X(""), Q(""), p("general");
291
- } else S(void 0), w(""), T(""), E(void 0), O({}), A("BIGCONSOLE"), M(null), P("MOCK"), I(""), L(""), R(""), B("GET"), H(""), W("none"), G(""), K(""), J(""), Y(""), X(""), Q(""), p("type");
290
+ C(i), T(e.name), E(""), D(void 0), k(e.defaultConfig || {}), j(e.category === "Installed" ? "CUSTOM" : "BIGCONSOLE"), N(null), F("MOCK"), L(""), R(""), z(""), V("GET"), U(""), G("none"), K(""), q(""), Y(""), X(""), Z(""), Q(""), p("general");
291
+ } else C(void 0), T(""), E(""), D(void 0), k({}), j("BIGCONSOLE"), N(null), F("MOCK"), L(""), R(""), z(""), V("GET"), U(""), G("none"), K(""), q(""), Y(""), X(""), Z(""), Q(""), p("type");
292
292
  }, [
293
293
  r,
294
294
  i,
@@ -296,80 +296,80 @@ var we = c(function({ renderer: e, template: t, onChange: n }) {
296
296
  n
297
297
  ]);
298
298
  let Pe = l((e, n) => {
299
- S(e);
299
+ C(e);
300
300
  let r = n || t(e);
301
- r && (w(r.name), O(r.defaultConfig || {}), r.category === "Installed" && A("CUSTOM"));
301
+ r && (T(r.name), k(r.defaultConfig || {}), r.category === "Installed" && j("CUSTOM"));
302
302
  }, []), Fe = l((e) => {
303
- if (A(e), e === "BIGCONSOLE") M(null);
303
+ if (j(e), e === "BIGCONSOLE") N(null);
304
304
  else {
305
- let t = Se.find((t) => t.renderer === e);
306
- M(t ? t.template : {});
305
+ let t = xe.find((t) => t.renderer === e);
306
+ N(t ? t.template : {});
307
307
  }
308
308
  }, []), Ie = l(() => {
309
309
  if (!x) return;
310
310
  let e;
311
- if (F) {
312
- for (let t of oe.values()) if (t.key === F) {
311
+ if (I) {
312
+ for (let t of oe.values()) if (t.key === I) {
313
313
  e = t.id;
314
314
  break;
315
315
  }
316
316
  }
317
317
  s({
318
318
  type: x,
319
- title: C,
320
- description: Te || void 0,
321
- refreshInterval: Ee,
319
+ title: w,
320
+ description: we || void 0,
321
+ refreshInterval: Te,
322
322
  config: {
323
- ...D,
324
- dataSourceType: N,
325
- dataSinkKey: F || void 0,
326
- ...N === "REST_API" ? {
327
- endpointUrl: Oe || void 0,
328
- httpMethod: z || "GET",
329
- headers: V || void 0,
330
- authType: U || "none",
331
- authValue: ke || void 0,
332
- requestBody: Ae || void 0,
333
- dataPath: q || void 0
323
+ ...O,
324
+ dataSourceType: P,
325
+ dataSinkKey: I || void 0,
326
+ ...P === "REST_API" ? {
327
+ endpointUrl: De || void 0,
328
+ httpMethod: B || "GET",
329
+ headers: H || void 0,
330
+ authType: W || "none",
331
+ authValue: Oe || void 0,
332
+ requestBody: ke || void 0,
333
+ dataPath: J || void 0
334
334
  } : {},
335
- ...N === "GRAPHQL" ? {
336
- graphqlEndpoint: je || void 0,
337
- graphqlQuery: Me || void 0,
338
- graphqlVariables: Z || void 0,
339
- headers: V || void 0,
340
- dataPath: q || void 0
335
+ ...P === "GRAPHQL" ? {
336
+ graphqlEndpoint: Ae || void 0,
337
+ graphqlQuery: je || void 0,
338
+ graphqlVariables: Me || void 0,
339
+ headers: H || void 0,
340
+ dataPath: J || void 0
341
341
  } : {}
342
342
  },
343
- renderer: k,
344
- template: k === "BIGCONSOLE" ? void 0 : j,
343
+ renderer: A,
344
+ template: A === "BIGCONSOLE" ? void 0 : M,
345
345
  dataSinkId: e || void 0,
346
- parserId: De || void 0
346
+ parserId: Ee || void 0
347
347
  }), o();
348
348
  }, [
349
349
  x,
350
- C,
350
+ w,
351
+ we,
351
352
  Te,
352
- Ee,
353
- D,
354
- k,
355
- j,
356
- N,
357
- F,
353
+ O,
354
+ A,
355
+ M,
356
+ P,
357
+ I,
358
358
  oe,
359
+ Ee,
359
360
  De,
361
+ B,
362
+ H,
363
+ W,
360
364
  Oe,
361
- z,
362
- V,
363
- U,
364
365
  ke,
366
+ J,
365
367
  Ae,
366
- q,
367
368
  je,
368
369
  Me,
369
- Z,
370
370
  s,
371
371
  o
372
- ]), Le = x ? t(x) : null, Re = x ? Ce(x) : null, ze = k !== "BIGCONSOLE", Be = k === "BIGCONSOLE" && Re, $ = ie(() => [
372
+ ]), Le = x ? t(x) : null, Re = x ? Se(x) : null, ze = A !== "BIGCONSOLE", Be = A === "BIGCONSOLE" && Re, $ = ie(() => [
373
373
  {
374
374
  id: "type",
375
375
  label: "Type",
@@ -395,10 +395,10 @@ var we = c(function({ renderer: e, template: t, onChange: n }) {
395
395
  ze,
396
396
  !0
397
397
  ]);
398
- return /* @__PURE__ */ m(fe, {
398
+ return /* @__PURE__ */ y(de, {
399
399
  open: n,
400
400
  onOpenChange: (e) => !e && o(),
401
- children: /* @__PURE__ */ h(pe, {
401
+ children: /* @__PURE__ */ b(fe, {
402
402
  style: {
403
403
  maxWidth: "520px",
404
404
  width: "95vw",
@@ -409,23 +409,23 @@ var we = c(function({ renderer: e, template: t, onChange: n }) {
409
409
  overflow: "hidden"
410
410
  },
411
411
  children: [
412
- /* @__PURE__ */ h(ge, {
412
+ /* @__PURE__ */ b(he, {
413
413
  style: {
414
414
  padding: "16px 16px 8px 16px",
415
415
  flexShrink: 0
416
416
  },
417
- children: [/* @__PURE__ */ m(_e, {
417
+ children: [/* @__PURE__ */ y(ge, {
418
418
  style: { fontSize: "16px" },
419
419
  children: d ? "Add Widget" : "Edit Widget"
420
- }), /* @__PURE__ */ m(me, {
420
+ }), /* @__PURE__ */ y(pe, {
421
421
  className: "text-xs",
422
- children: Le ? /* @__PURE__ */ h(se, { children: [Le.name, k !== "BIGCONSOLE" && /* @__PURE__ */ m("span", {
422
+ children: Le ? /* @__PURE__ */ b(be, { children: [Le.name, A !== "BIGCONSOLE" && /* @__PURE__ */ y("span", {
423
423
  className: "ml-2 px-1.5 py-0.5 text-xs bg-action-primary-bg/10 text-primary rounded",
424
- children: xe.find((e) => e.type === k)?.name
424
+ children: S.find((e) => e.type === A)?.name
425
425
  })] }) : "Configure the widget data source, appearance, and actions."
426
426
  })]
427
427
  }),
428
- /* @__PURE__ */ h(ve, {
428
+ /* @__PURE__ */ b(_e, {
429
429
  value: f,
430
430
  onValueChange: (e) => p(e),
431
431
  style: {
@@ -435,7 +435,7 @@ var we = c(function({ renderer: e, template: t, onChange: n }) {
435
435
  minHeight: 0,
436
436
  overflow: "hidden"
437
437
  },
438
- children: [/* @__PURE__ */ m(ye, {
438
+ children: [/* @__PURE__ */ y(ve, {
439
439
  style: {
440
440
  margin: "0 16px",
441
441
  width: "auto",
@@ -443,7 +443,7 @@ var we = c(function({ renderer: e, template: t, onChange: n }) {
443
443
  height: "32px",
444
444
  flexShrink: 0
445
445
  },
446
- children: $.map((e) => /* @__PURE__ */ m(be, {
446
+ children: $.map((e) => /* @__PURE__ */ y(ye, {
447
447
  value: e.id,
448
448
  disabled: e.id !== "type" && !x,
449
449
  style: {
@@ -452,7 +452,7 @@ var we = c(function({ renderer: e, template: t, onChange: n }) {
452
452
  },
453
453
  children: e.label
454
454
  }, e.id))
455
- }), /* @__PURE__ */ h("div", {
455
+ }), /* @__PURE__ */ b("div", {
456
456
  style: {
457
457
  flex: 1,
458
458
  minHeight: 0,
@@ -462,16 +462,16 @@ var we = c(function({ renderer: e, template: t, onChange: n }) {
462
462
  flexDirection: "column"
463
463
  },
464
464
  children: [
465
- /* @__PURE__ */ m(y, {
465
+ /* @__PURE__ */ y(_, {
466
466
  value: "type",
467
467
  style: {
468
468
  marginTop: 0,
469
469
  height: "100%",
470
470
  overflow: "hidden"
471
471
  },
472
- children: /* @__PURE__ */ m(ee, {
472
+ children: /* @__PURE__ */ y(ee, {
473
473
  selectedType: x,
474
- selectedRenderer: k,
474
+ selectedRenderer: A,
475
475
  onSelect: (e, t) => {
476
476
  Pe(e, t), p("general");
477
477
  },
@@ -479,7 +479,7 @@ var we = c(function({ renderer: e, template: t, onChange: n }) {
479
479
  installedWidgets: ae
480
480
  })
481
481
  }),
482
- /* @__PURE__ */ m(y, {
482
+ /* @__PURE__ */ y(_, {
483
483
  value: "general",
484
484
  style: {
485
485
  marginTop: 0,
@@ -488,56 +488,56 @@ var we = c(function({ renderer: e, template: t, onChange: n }) {
488
488
  padding: "12px 16px",
489
489
  minHeight: "300px"
490
490
  },
491
- children: /* @__PURE__ */ h("div", {
491
+ children: /* @__PURE__ */ b("div", {
492
492
  className: "space-y-4",
493
493
  children: [
494
- /* @__PURE__ */ h("div", {
494
+ /* @__PURE__ */ b("div", {
495
495
  className: "space-y-2",
496
- children: [/* @__PURE__ */ m(v, {
496
+ children: [/* @__PURE__ */ y(g, {
497
497
  htmlFor: "title",
498
498
  children: "Title"
499
- }), /* @__PURE__ */ m(_, {
499
+ }), /* @__PURE__ */ y(h, {
500
500
  id: "title",
501
- value: C,
502
- onChange: (e) => w(e.target.value),
501
+ value: w,
502
+ onChange: (e) => T(e.target.value),
503
503
  placeholder: "Widget title"
504
504
  })]
505
505
  }),
506
- /* @__PURE__ */ h("div", {
506
+ /* @__PURE__ */ b("div", {
507
507
  className: "space-y-2",
508
- children: [/* @__PURE__ */ m(v, {
508
+ children: [/* @__PURE__ */ y(g, {
509
509
  htmlFor: "description",
510
510
  children: "Description (optional)"
511
- }), /* @__PURE__ */ m(b, {
511
+ }), /* @__PURE__ */ y(v, {
512
512
  id: "description",
513
- value: Te,
514
- onChange: (e) => T(e.target.value),
513
+ value: we,
514
+ onChange: (e) => E(e.target.value),
515
515
  placeholder: "Brief description of this widget",
516
516
  rows: 2
517
517
  })]
518
518
  }),
519
- /* @__PURE__ */ h("div", {
519
+ /* @__PURE__ */ b("div", {
520
520
  className: "space-y-2",
521
- children: [/* @__PURE__ */ m(v, { children: "Renderer" }), /* @__PURE__ */ m("div", {
521
+ children: [/* @__PURE__ */ y(g, { children: "Renderer" }), /* @__PURE__ */ y("div", {
522
522
  className: "grid grid-cols-2 gap-2",
523
523
  children: Ne.map((e) => {
524
524
  let t = e.icon;
525
- return /* @__PURE__ */ m(ce, {
526
- className: `cursor-pointer transition-colors ${k === e.type ? "border-primary bg-action-primary-bg/5" : "hover:border-primary/50"}`,
525
+ return /* @__PURE__ */ y(se, {
526
+ className: `cursor-pointer transition-colors ${A === e.type ? "border-primary bg-action-primary-bg/5" : "hover:border-primary/50"}`,
527
527
  onClick: () => Fe(e.type),
528
- children: /* @__PURE__ */ m(ue, {
528
+ children: /* @__PURE__ */ y(le, {
529
529
  className: "p-3",
530
- children: /* @__PURE__ */ h("div", {
530
+ children: /* @__PURE__ */ b("div", {
531
531
  className: "flex items-start gap-3",
532
- children: [/* @__PURE__ */ m("div", {
533
- className: `p-2 rounded-md ${k === e.type ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-sunken"}`,
534
- children: /* @__PURE__ */ m(t, { className: "size-4" })
535
- }), /* @__PURE__ */ h("div", {
532
+ children: [/* @__PURE__ */ y("div", {
533
+ className: `p-2 rounded-md ${A === e.type ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-sunken"}`,
534
+ children: /* @__PURE__ */ y(t, { className: "size-4" })
535
+ }), /* @__PURE__ */ b("div", {
536
536
  className: "flex-1 min-w-0",
537
- children: [/* @__PURE__ */ m(de, {
537
+ children: [/* @__PURE__ */ y(ue, {
538
538
  className: "text-sm",
539
539
  children: e.name
540
- }), /* @__PURE__ */ m(le, {
540
+ }), /* @__PURE__ */ y(ce, {
541
541
  className: "text-xs line-clamp-2",
542
542
  children: e.description
543
543
  })]
@@ -548,16 +548,16 @@ var we = c(function({ renderer: e, template: t, onChange: n }) {
548
548
  })
549
549
  })]
550
550
  }),
551
- /* @__PURE__ */ h("div", {
551
+ /* @__PURE__ */ b("div", {
552
552
  className: "space-y-2",
553
- children: [/* @__PURE__ */ m(v, {
553
+ children: [/* @__PURE__ */ y(g, {
554
554
  htmlFor: "refresh",
555
555
  children: "Auto-Refresh Interval (seconds)"
556
- }), /* @__PURE__ */ m(_, {
556
+ }), /* @__PURE__ */ y(h, {
557
557
  id: "refresh",
558
558
  type: "number",
559
- value: Ee || "",
560
- onChange: (e) => E(e.target.value ? Number(e.target.value) : void 0),
559
+ value: Te || "",
560
+ onChange: (e) => D(e.target.value ? Number(e.target.value) : void 0),
561
561
  min: 0,
562
562
  placeholder: "No auto-refresh"
563
563
  })]
@@ -565,7 +565,7 @@ var we = c(function({ renderer: e, template: t, onChange: n }) {
565
565
  ]
566
566
  })
567
567
  }),
568
- /* @__PURE__ */ m(y, {
568
+ /* @__PURE__ */ y(_, {
569
569
  value: "renderer",
570
570
  style: {
571
571
  marginTop: 0,
@@ -574,13 +574,13 @@ var we = c(function({ renderer: e, template: t, onChange: n }) {
574
574
  padding: "12px 16px",
575
575
  minHeight: "300px"
576
576
  },
577
- children: /* @__PURE__ */ m(we, {
578
- renderer: k,
579
- template: j,
580
- onChange: M
577
+ children: /* @__PURE__ */ y(Ce, {
578
+ renderer: A,
579
+ template: M,
580
+ onChange: N
581
581
  })
582
582
  }),
583
- /* @__PURE__ */ m(y, {
583
+ /* @__PURE__ */ y(_, {
584
584
  value: "config",
585
585
  style: {
586
586
  marginTop: 0,
@@ -589,158 +589,158 @@ var we = c(function({ renderer: e, template: t, onChange: n }) {
589
589
  padding: "12px 16px",
590
590
  minHeight: "300px"
591
591
  },
592
- children: /* @__PURE__ */ h("div", {
592
+ children: /* @__PURE__ */ b("div", {
593
593
  className: "space-y-4",
594
- children: [/* @__PURE__ */ h("div", {
594
+ children: [/* @__PURE__ */ b("div", {
595
595
  className: "space-y-3 p-3 border border-border-subtle rounded-lg bg-bg-sunken/30",
596
596
  children: [
597
- /* @__PURE__ */ m("h4", {
597
+ /* @__PURE__ */ y("h4", {
598
598
  className: "text-sm font-medium",
599
599
  children: "Data Source"
600
600
  }),
601
- /* @__PURE__ */ h("div", {
601
+ /* @__PURE__ */ b("div", {
602
602
  className: "space-y-2",
603
- children: [/* @__PURE__ */ m(v, {
603
+ children: [/* @__PURE__ */ y(g, {
604
604
  htmlFor: "dataSourceType",
605
605
  children: "Source Type"
606
- }), /* @__PURE__ */ h("select", {
606
+ }), /* @__PURE__ */ b("select", {
607
607
  id: "dataSourceType",
608
- value: N,
609
- onChange: (e) => P(e.target.value),
608
+ value: P,
609
+ onChange: (e) => F(e.target.value),
610
610
  className: "w-full h-9 px-3 rounded-md border border-border-default bg-bg-surface text-sm",
611
611
  children: [
612
- /* @__PURE__ */ m("option", {
612
+ /* @__PURE__ */ y("option", {
613
613
  value: "MOCK",
614
614
  children: "Sample JSON"
615
615
  }),
616
- /* @__PURE__ */ m("option", {
616
+ /* @__PURE__ */ y("option", {
617
617
  value: "DATASINK",
618
618
  children: "DataSink"
619
619
  }),
620
- /* @__PURE__ */ m("option", {
620
+ /* @__PURE__ */ y("option", {
621
621
  value: "REST_API",
622
622
  children: "REST API"
623
623
  }),
624
- /* @__PURE__ */ m("option", {
624
+ /* @__PURE__ */ y("option", {
625
625
  value: "GRAPHQL",
626
626
  children: "GraphQL"
627
627
  })
628
628
  ]
629
629
  })]
630
630
  }),
631
- N === "DATASINK" && /* @__PURE__ */ h("div", {
631
+ P === "DATASINK" && /* @__PURE__ */ b("div", {
632
632
  className: "space-y-2",
633
- children: [/* @__PURE__ */ m(v, {
633
+ children: [/* @__PURE__ */ y(g, {
634
634
  htmlFor: "dataSinkKey",
635
635
  children: "DataSink"
636
- }), /* @__PURE__ */ m(te, {
637
- value: F || null,
638
- onChange: (e) => I(e || ""),
636
+ }), /* @__PURE__ */ y(te, {
637
+ value: I || null,
638
+ onChange: (e) => L(e || ""),
639
639
  placeholder: "Select a DataSink..."
640
640
  })]
641
641
  }),
642
- N === "REST_API" && /* @__PURE__ */ h("div", {
642
+ P === "REST_API" && /* @__PURE__ */ b("div", {
643
643
  className: "space-y-3",
644
644
  children: [
645
- /* @__PURE__ */ h("div", {
645
+ /* @__PURE__ */ b("div", {
646
646
  className: "space-y-2",
647
- children: [/* @__PURE__ */ m(v, { children: "Endpoint URL *" }), /* @__PURE__ */ m(_, {
648
- value: Oe,
649
- onChange: (e) => R(e.target.value),
647
+ children: [/* @__PURE__ */ y(g, { children: "Endpoint URL *" }), /* @__PURE__ */ y(h, {
648
+ value: De,
649
+ onChange: (e) => z(e.target.value),
650
650
  placeholder: "https://api.example.com/data"
651
651
  })]
652
652
  }),
653
- /* @__PURE__ */ h("div", {
653
+ /* @__PURE__ */ b("div", {
654
654
  className: "space-y-2",
655
- children: [/* @__PURE__ */ m(v, { children: "HTTP Method" }), /* @__PURE__ */ h("select", {
656
- value: z,
657
- onChange: (e) => B(e.target.value),
655
+ children: [/* @__PURE__ */ y(g, { children: "HTTP Method" }), /* @__PURE__ */ b("select", {
656
+ value: B,
657
+ onChange: (e) => V(e.target.value),
658
658
  className: "w-full h-9 px-3 rounded-md border border-border-default bg-bg-surface text-sm",
659
659
  children: [
660
- /* @__PURE__ */ m("option", {
660
+ /* @__PURE__ */ y("option", {
661
661
  value: "GET",
662
662
  children: "GET"
663
663
  }),
664
- /* @__PURE__ */ m("option", {
664
+ /* @__PURE__ */ y("option", {
665
665
  value: "POST",
666
666
  children: "POST"
667
667
  }),
668
- /* @__PURE__ */ m("option", {
668
+ /* @__PURE__ */ y("option", {
669
669
  value: "PUT",
670
670
  children: "PUT"
671
671
  }),
672
- /* @__PURE__ */ m("option", {
672
+ /* @__PURE__ */ y("option", {
673
673
  value: "DELETE",
674
674
  children: "DELETE"
675
675
  })
676
676
  ]
677
677
  })]
678
678
  }),
679
- /* @__PURE__ */ h("div", {
679
+ /* @__PURE__ */ b("div", {
680
680
  className: "space-y-2",
681
- children: [/* @__PURE__ */ m(v, { children: "Headers (JSON)" }), /* @__PURE__ */ m(b, {
682
- value: V,
683
- onChange: (e) => H(e.target.value),
681
+ children: [/* @__PURE__ */ y(g, { children: "Headers (JSON)" }), /* @__PURE__ */ y(v, {
682
+ value: H,
683
+ onChange: (e) => U(e.target.value),
684
684
  rows: 2,
685
685
  placeholder: "{\"Content-Type\": \"application/json\"}",
686
686
  className: "font-mono text-xs"
687
687
  })]
688
688
  }),
689
- /* @__PURE__ */ h("div", {
689
+ /* @__PURE__ */ b("div", {
690
690
  className: "space-y-2",
691
- children: [/* @__PURE__ */ m(v, { children: "Authentication" }), /* @__PURE__ */ h("select", {
692
- value: U,
693
- onChange: (e) => W(e.target.value),
691
+ children: [/* @__PURE__ */ y(g, { children: "Authentication" }), /* @__PURE__ */ b("select", {
692
+ value: W,
693
+ onChange: (e) => G(e.target.value),
694
694
  className: "w-full h-9 px-3 rounded-md border border-border-default bg-bg-surface text-sm",
695
695
  children: [
696
- /* @__PURE__ */ m("option", {
696
+ /* @__PURE__ */ y("option", {
697
697
  value: "none",
698
698
  children: "None"
699
699
  }),
700
- /* @__PURE__ */ m("option", {
700
+ /* @__PURE__ */ y("option", {
701
701
  value: "api_key",
702
702
  children: "API Key"
703
703
  }),
704
- /* @__PURE__ */ m("option", {
704
+ /* @__PURE__ */ y("option", {
705
705
  value: "bearer",
706
706
  children: "Bearer Token"
707
707
  }),
708
- /* @__PURE__ */ m("option", {
708
+ /* @__PURE__ */ y("option", {
709
709
  value: "basic",
710
710
  children: "Basic Auth"
711
711
  })
712
712
  ]
713
713
  })]
714
714
  }),
715
- U !== "none" && /* @__PURE__ */ h("div", {
715
+ W !== "none" && /* @__PURE__ */ b("div", {
716
716
  className: "space-y-2",
717
- children: [/* @__PURE__ */ m(v, { children: U === "basic" ? "Credentials (user:pass)" : "Token/Key" }), /* @__PURE__ */ m(_, {
717
+ children: [/* @__PURE__ */ y(g, { children: W === "basic" ? "Credentials (user:pass)" : "Token/Key" }), /* @__PURE__ */ y(h, {
718
718
  type: "password",
719
- value: ke,
720
- onChange: (e) => G(e.target.value),
721
- placeholder: U === "basic" ? "username:password" : "Enter token or API key"
719
+ value: Oe,
720
+ onChange: (e) => K(e.target.value),
721
+ placeholder: W === "basic" ? "username:password" : "Enter token or API key"
722
722
  })]
723
723
  }),
724
- (z === "POST" || z === "PUT") && /* @__PURE__ */ h("div", {
724
+ (B === "POST" || B === "PUT") && /* @__PURE__ */ b("div", {
725
725
  className: "space-y-2",
726
- children: [/* @__PURE__ */ m(v, { children: "Request Body (JSON)" }), /* @__PURE__ */ m(b, {
727
- value: Ae,
728
- onChange: (e) => K(e.target.value),
726
+ children: [/* @__PURE__ */ y(g, { children: "Request Body (JSON)" }), /* @__PURE__ */ y(v, {
727
+ value: ke,
728
+ onChange: (e) => q(e.target.value),
729
729
  rows: 3,
730
730
  placeholder: "{\"key\": \"value\"}",
731
731
  className: "font-mono text-xs"
732
732
  })]
733
733
  }),
734
- /* @__PURE__ */ h("div", {
734
+ /* @__PURE__ */ b("div", {
735
735
  className: "space-y-2",
736
736
  children: [
737
- /* @__PURE__ */ m(v, { children: "Data Path (optional)" }),
738
- /* @__PURE__ */ m(_, {
739
- value: q,
740
- onChange: (e) => J(e.target.value),
737
+ /* @__PURE__ */ y(g, { children: "Data Path (optional)" }),
738
+ /* @__PURE__ */ y(h, {
739
+ value: J,
740
+ onChange: (e) => Y(e.target.value),
741
741
  placeholder: "$.data.items or .data.items"
742
742
  }),
743
- /* @__PURE__ */ m("p", {
743
+ /* @__PURE__ */ y("p", {
744
744
  className: "text-xs text-text-secondary",
745
745
  children: "Extract data from response using JSONPath"
746
746
  })
@@ -748,57 +748,57 @@ var we = c(function({ renderer: e, template: t, onChange: n }) {
748
748
  })
749
749
  ]
750
750
  }),
751
- N === "GRAPHQL" && /* @__PURE__ */ h("div", {
751
+ P === "GRAPHQL" && /* @__PURE__ */ b("div", {
752
752
  className: "space-y-3",
753
753
  children: [
754
- /* @__PURE__ */ h("div", {
754
+ /* @__PURE__ */ b("div", {
755
755
  className: "space-y-2",
756
- children: [/* @__PURE__ */ m(v, { children: "GraphQL Endpoint *" }), /* @__PURE__ */ m(_, {
757
- value: je,
758
- onChange: (e) => Y(e.target.value),
756
+ children: [/* @__PURE__ */ y(g, { children: "GraphQL Endpoint *" }), /* @__PURE__ */ y(h, {
757
+ value: Ae,
758
+ onChange: (e) => X(e.target.value),
759
759
  placeholder: "https://api.example.com/graphql"
760
760
  })]
761
761
  }),
762
- /* @__PURE__ */ h("div", {
762
+ /* @__PURE__ */ b("div", {
763
763
  className: "space-y-2",
764
- children: [/* @__PURE__ */ m(v, { children: "Query *" }), /* @__PURE__ */ m(b, {
765
- value: Me,
766
- onChange: (e) => X(e.target.value),
764
+ children: [/* @__PURE__ */ y(g, { children: "Query *" }), /* @__PURE__ */ y(v, {
765
+ value: je,
766
+ onChange: (e) => Z(e.target.value),
767
767
  rows: 5,
768
768
  placeholder: "query GetData($limit: Int) {\n items(limit: $limit) {\n id\n name\n }\n}",
769
769
  className: "font-mono text-xs"
770
770
  })]
771
771
  }),
772
- /* @__PURE__ */ h("div", {
772
+ /* @__PURE__ */ b("div", {
773
773
  className: "space-y-2",
774
- children: [/* @__PURE__ */ m(v, { children: "Variables (JSON, optional)" }), /* @__PURE__ */ m(b, {
775
- value: Z,
774
+ children: [/* @__PURE__ */ y(g, { children: "Variables (JSON, optional)" }), /* @__PURE__ */ y(v, {
775
+ value: Me,
776
776
  onChange: (e) => Q(e.target.value),
777
777
  rows: 2,
778
778
  placeholder: "{\"limit\": 10}",
779
779
  className: "font-mono text-xs"
780
780
  })]
781
781
  }),
782
- /* @__PURE__ */ h("div", {
782
+ /* @__PURE__ */ b("div", {
783
783
  className: "space-y-2",
784
- children: [/* @__PURE__ */ m(v, { children: "Headers (JSON, optional)" }), /* @__PURE__ */ m(b, {
785
- value: V,
786
- onChange: (e) => H(e.target.value),
784
+ children: [/* @__PURE__ */ y(g, { children: "Headers (JSON, optional)" }), /* @__PURE__ */ y(v, {
785
+ value: H,
786
+ onChange: (e) => U(e.target.value),
787
787
  rows: 2,
788
788
  placeholder: "{\"Authorization\": \"Bearer token\"}",
789
789
  className: "font-mono text-xs"
790
790
  })]
791
791
  }),
792
- /* @__PURE__ */ h("div", {
792
+ /* @__PURE__ */ b("div", {
793
793
  className: "space-y-2",
794
794
  children: [
795
- /* @__PURE__ */ m(v, { children: "Data Path (optional)" }),
796
- /* @__PURE__ */ m(_, {
797
- value: q,
798
- onChange: (e) => J(e.target.value),
795
+ /* @__PURE__ */ y(g, { children: "Data Path (optional)" }),
796
+ /* @__PURE__ */ y(h, {
797
+ value: J,
798
+ onChange: (e) => Y(e.target.value),
799
799
  placeholder: ".data.items"
800
800
  }),
801
- /* @__PURE__ */ m("p", {
801
+ /* @__PURE__ */ y("p", {
802
802
  className: "text-xs text-text-secondary",
803
803
  children: "Extract data from GraphQL response"
804
804
  })
@@ -806,38 +806,38 @@ var we = c(function({ renderer: e, template: t, onChange: n }) {
806
806
  })
807
807
  ]
808
808
  }),
809
- c && /* @__PURE__ */ h("div", {
809
+ c && /* @__PURE__ */ b("div", {
810
810
  className: "space-y-2",
811
811
  children: [
812
- /* @__PURE__ */ m(v, {
812
+ /* @__PURE__ */ y(g, {
813
813
  htmlFor: "parserId",
814
814
  children: "Parser (optional)"
815
815
  }),
816
- /* @__PURE__ */ m(ne, {
816
+ /* @__PURE__ */ y(ne, {
817
817
  consoleId: c,
818
- value: De || null,
819
- onChange: (e) => L(e || ""),
820
- filterInputSinkKey: N === "DATASINK" ? F : void 0,
818
+ value: Ee || null,
819
+ onChange: (e) => R(e || ""),
820
+ filterInputSinkKey: P === "DATASINK" ? I : void 0,
821
821
  filterStatus: void 0,
822
822
  placeholder: "Select a parser..."
823
823
  }),
824
- /* @__PURE__ */ m("p", {
824
+ /* @__PURE__ */ y("p", {
825
825
  className: "text-xs text-text-secondary",
826
826
  children: "Transform data using a parser before display"
827
827
  })
828
828
  ]
829
829
  })
830
830
  ]
831
- }), Be && Re && /* @__PURE__ */ m(Re, {
832
- config: D,
833
- onChange: O
831
+ }), Be && Re && /* @__PURE__ */ y(Re, {
832
+ config: O,
833
+ onChange: k
834
834
  })]
835
835
  })
836
836
  })
837
837
  ]
838
838
  })]
839
839
  }),
840
- /* @__PURE__ */ h(he, {
840
+ /* @__PURE__ */ b(me, {
841
841
  style: {
842
842
  display: "flex",
843
843
  flexDirection: "row",
@@ -846,7 +846,7 @@ var we = c(function({ renderer: e, template: t, onChange: n }) {
846
846
  borderTop: "1px solid var(--border)",
847
847
  flexShrink: 0
848
848
  },
849
- children: [/* @__PURE__ */ m(g, {
849
+ children: [/* @__PURE__ */ y(m, {
850
850
  variant: "ghost",
851
851
  size: "sm",
852
852
  onClick: () => {
@@ -854,9 +854,9 @@ var we = c(function({ renderer: e, template: t, onChange: n }) {
854
854
  e > 0 ? p($[e - 1].id) : o();
855
855
  },
856
856
  children: f === $[0]?.id ? "Cancel" : "Back"
857
- }), /* @__PURE__ */ h("div", {
857
+ }), /* @__PURE__ */ b("div", {
858
858
  className: "flex gap-2",
859
- children: [f !== $[$.length - 1]?.id && x && /* @__PURE__ */ m(g, {
859
+ children: [f !== $[$.length - 1]?.id && x && /* @__PURE__ */ y(m, {
860
860
  variant: "outline",
861
861
  size: "sm",
862
862
  onClick: () => {
@@ -864,10 +864,10 @@ var we = c(function({ renderer: e, template: t, onChange: n }) {
864
864
  e < $.length - 1 && p($[e + 1].id);
865
865
  },
866
866
  children: "Next"
867
- }), /* @__PURE__ */ m(g, {
867
+ }), /* @__PURE__ */ y(m, {
868
868
  size: "sm",
869
869
  onClick: Ie,
870
- disabled: !x || !C.trim() || k !== "BIGCONSOLE" && !j,
870
+ disabled: !x || !w.trim() || A !== "BIGCONSOLE" && !M,
871
871
  children: d ? "Add Widget" : "Save"
872
872
  })]
873
873
  })]
@@ -877,6 +877,6 @@ var we = c(function({ renderer: e, template: t, onChange: n }) {
877
877
  });
878
878
  });
879
879
  //#endregion
880
- export { S as default };
880
+ export { C as default };
881
881
 
882
882
  //# sourceMappingURL=WidgetConfigDialog.js.map