@burdenoff/microfe-bigconsole 2026.924.1 → 2026.924.3

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 (128) hide show
  1. package/dist/bigconsole/BigConsoleRoutes.js +137 -138
  2. package/dist/bigconsole/BigConsoleRoutes.js.map +1 -1
  3. package/dist/bigconsole/assistant/previewController.js +10 -10
  4. package/dist/bigconsole/assistant/useAssistantPanelShowsPreview.js +25 -0
  5. package/dist/bigconsole/assistant/useAssistantPanelShowsPreview.js.map +1 -0
  6. package/dist/bigconsole/components/DrilldownDashboardRenderer.js +17 -17
  7. package/dist/bigconsole/components/builder/inspector/DataBindingSection.js +32 -32
  8. package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js +52 -52
  9. package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js.map +1 -1
  10. package/dist/bigconsole/components/dashboard/DashboardCanvas.js +7 -7
  11. package/dist/bigconsole/components/dashboard/DashboardStatusPill.js +53 -0
  12. package/dist/bigconsole/components/dashboard/DashboardStatusPill.js.map +1 -0
  13. package/dist/bigconsole/components/dashboard/DashboardToolbar.js +60 -60
  14. package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js +21 -21
  15. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +30 -30
  16. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js +36 -36
  17. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js +34 -34
  18. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js +38 -38
  19. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js.map +1 -1
  20. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js +121 -121
  21. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js.map +1 -1
  22. package/dist/bigconsole/components/dashboard/PublishToStoreDialog.js +22 -22
  23. package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.js +46 -46
  24. package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js +53 -53
  25. package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.js +1 -1
  26. package/dist/bigconsole/components/dashboard/WidgetPalette.js +47 -47
  27. package/dist/bigconsole/components/dashboard/index.js +1 -0
  28. package/dist/bigconsole/components/datasink/CacheTTLSelector.js +35 -35
  29. package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js +18 -18
  30. package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js +20 -20
  31. package/dist/bigconsole/components/datasink/DataSinkStatusBadge.js +30 -29
  32. package/dist/bigconsole/components/datasink/DataSinkStatusBadge.js.map +1 -1
  33. package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js +48 -48
  34. package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js +103 -103
  35. package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js.map +1 -1
  36. package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +35 -35
  37. package/dist/bigconsole/components/overview/DashboardGuide.js +214 -0
  38. package/dist/bigconsole/components/overview/DashboardGuide.js.map +1 -0
  39. package/dist/bigconsole/components/overview/DataHealthCard.js +97 -0
  40. package/dist/bigconsole/components/overview/DataHealthCard.js.map +1 -0
  41. package/dist/bigconsole/components/overview/OverviewQuickActions.js +32 -0
  42. package/dist/bigconsole/components/overview/OverviewQuickActions.js.map +1 -0
  43. package/dist/bigconsole/components/overview/OverviewStatCard.js +57 -0
  44. package/dist/bigconsole/components/overview/OverviewStatCard.js.map +1 -0
  45. package/dist/bigconsole/components/overview/RecentDashboardsPanel.js +107 -0
  46. package/dist/bigconsole/components/overview/RecentDashboardsPanel.js.map +1 -0
  47. package/dist/bigconsole/components/overview/dashboardGuideSteps.js +119 -0
  48. package/dist/bigconsole/components/overview/dashboardGuideSteps.js.map +1 -0
  49. package/dist/bigconsole/components/overview/index.js +8 -0
  50. package/dist/bigconsole/components/overview/overviewModel.js +119 -0
  51. package/dist/bigconsole/components/overview/overviewModel.js.map +1 -0
  52. package/dist/bigconsole/components/overview/useOverviewData.js +48 -0
  53. package/dist/bigconsole/components/overview/useOverviewData.js.map +1 -0
  54. package/dist/bigconsole/components/parser/DataSinkSelector.js +40 -40
  55. package/dist/bigconsole/components/parser/ImportParserDialog.js +127 -127
  56. package/dist/bigconsole/components/parser/ImportParserDialog.js.map +1 -1
  57. package/dist/bigconsole/components/parser/ParserSelector.js +51 -51
  58. package/dist/bigconsole/components/preview/AiPreviewContent.js +5 -5
  59. package/dist/bigconsole/components/preview/AiPreviewMiniPanel.js +62 -61
  60. package/dist/bigconsole/components/preview/AiPreviewMiniPanel.js.map +1 -1
  61. package/dist/bigconsole/components/preview/AiPreviewPanel.js +82 -81
  62. package/dist/bigconsole/components/preview/AiPreviewPanel.js.map +1 -1
  63. package/dist/bigconsole/components/widgets/ActionConfigDialog.js +13 -13
  64. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +70 -70
  65. package/dist/bigconsole/components/widgets/PropertiesPanel.js +28 -28
  66. package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js +25 -25
  67. package/dist/bigconsole/components/widgets/chart/ChartConfig.js +48 -48
  68. package/dist/bigconsole/components/widgets/comments/WidgetComments.js +46 -46
  69. package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +61 -61
  70. package/dist/bigconsole/components/widgets/form/FormWidget.js +36 -36
  71. package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +42 -42
  72. package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js +25 -25
  73. package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js +21 -21
  74. package/dist/bigconsole/components/widgets/list/ListConfig.js +30 -30
  75. package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +38 -38
  76. package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js +9 -9
  77. package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.js +9 -9
  78. package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +49 -49
  79. package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +39 -39
  80. package/dist/bigconsole/components/widgets/table/TableConfig.js +73 -73
  81. package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +64 -64
  82. package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.js +10 -10
  83. package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +68 -68
  84. package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js.map +1 -1
  85. package/dist/bigconsole/pages/AdminPage.js +136 -136
  86. package/dist/bigconsole/pages/DashboardBuilderPage.js +10 -10
  87. package/dist/bigconsole/pages/DashboardViewPage.js +61 -61
  88. package/dist/bigconsole/pages/DashboardViewPage.js.map +1 -1
  89. package/dist/bigconsole/pages/DashboardsPage.js +327 -348
  90. package/dist/bigconsole/pages/DashboardsPage.js.map +1 -1
  91. package/dist/bigconsole/pages/DataParsersPage.js +5 -5
  92. package/dist/bigconsole/pages/DataSinkBuilderPage.js +10 -10
  93. package/dist/bigconsole/pages/DataSinkBuilderPage.js.map +1 -1
  94. package/dist/bigconsole/pages/DataSinkViewPage.js +83 -83
  95. package/dist/bigconsole/pages/DataSinkViewPage.js.map +1 -1
  96. package/dist/bigconsole/pages/DataSinksPage.js +11 -11
  97. package/dist/bigconsole/pages/DataSourcesPage.js +5 -5
  98. package/dist/bigconsole/pages/InsightsPage.js +315 -315
  99. package/dist/bigconsole/pages/InsightsPage.js.map +1 -1
  100. package/dist/bigconsole/pages/OverviewPage.js +244 -0
  101. package/dist/bigconsole/pages/OverviewPage.js.map +1 -0
  102. package/dist/bigconsole/pages/ParserBuilderPage.js +5 -5
  103. package/dist/bigconsole/pages/ParserViewPage.js +98 -98
  104. package/dist/bigconsole/pages/ParserViewPage.js.map +1 -1
  105. package/dist/bigconsole/pages/PipelineBuilderPage.js +8 -8
  106. package/dist/bigconsole/pages/PipelineViewPage.js +46 -46
  107. package/dist/bigconsole/pages/PipelineViewPage.js.map +1 -1
  108. package/dist/bigconsole/pages/PipelinesPage.js +80 -80
  109. package/dist/bigconsole/pages/PipelinesPage.js.map +1 -1
  110. package/dist/bigconsole/pages/SettingsPage.js +70 -70
  111. package/dist/bigconsole/pages/WidgetDemoPage.js +42 -42
  112. package/dist/bigconsole/pages/WorkflowViewPage.js +200 -200
  113. package/dist/bigconsole/pages/WorkflowViewPage.js.map +1 -1
  114. package/dist/bigconsole/pages/WorkflowsPage.js +78 -78
  115. package/dist/bigconsole/pages/WorkflowsPage.js.map +1 -1
  116. package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.js +34 -34
  117. package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +79 -79
  118. package/dist/bigconsole/renderers/adapters/CustomRenderer.js +46 -46
  119. package/dist/bigconsole/utils/createDialogParam.js +14 -0
  120. package/dist/bigconsole/utils/createDialogParam.js.map +1 -0
  121. package/dist/generated/global-operations.js +1 -1
  122. package/dist/generated/wspace-operations.js +285 -222
  123. package/dist/generated/wspace-operations.js.map +1 -1
  124. package/dist/shared/hooks/useTr.js +10 -7
  125. package/dist/shared/hooks/useTr.js.map +1 -1
  126. package/package.json +1 -1
  127. package/dist/bigconsole/pages/HomePage.js +0 -318
  128. package/dist/bigconsole/pages/HomePage.js.map +0 -1
@@ -1,13 +1,13 @@
1
1
  import { Section as e, SectionStack as t } from "../common/Section.js";
2
2
  import "../common/index.js";
3
3
  import n from "../../hooks/useBigConsoleAnalytics.js";
4
- import r from "../../hooks/useImportDataSink.js";
4
+ import ee from "../../hooks/useImportDataSink.js";
5
5
  import "../../hooks/index.js";
6
- import { memo as i, useCallback as a, useEffect as o, useRef as s, useState as c } from "react";
7
- import { ArrowLeft as l, Check as ee, FileJson as u, Info as d, RefreshCw as te, Upload as f, XCircle as p } from "lucide-react";
8
- import { useI18n as m } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
9
- import { Badge as h, Button as g, Dialog as _, DialogContent as v, DialogDescription as y, DialogFooter as b, DialogHeader as ne, DialogTitle as re, Input as x, Label as S, Spinner as C } from "@burdenoff/fe-libs/ui";
10
- import { Fragment as w, jsx as T, jsxs as E } from "react/jsx-runtime";
6
+ import { memo as r, useCallback as i, useEffect as te, useRef as a, useState as o } from "react";
7
+ import { ArrowLeft as s, Check as c, FileJson as l, Info as u, RefreshCw as d, Upload as f, XCircle as p } from "lucide-react";
8
+ import { Badge as m, Button as h, Dialog as ne, DialogContent as g, DialogDescription as re, DialogFooter as _, DialogHeader as v, DialogTitle as y, Input as b, Label as x, Spinner as S } from "@burdenoff/fe-libs/ui";
9
+ import { Fragment as C, jsx as w, jsxs as T } from "react/jsx-runtime";
10
+ import { useI18n as E } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
11
11
  //#region src/bigconsole/components/datasink/ImportDataSinkDialog.tsx
12
12
  var D = [
13
13
  {
@@ -26,12 +26,12 @@ var D = [
26
26
  function O(e) {
27
27
  return e === "select" ? 0 : e === "complete" ? 2 : 1;
28
28
  }
29
- var k = i(function({ isOpen: i, onClose: k, onSuccess: A }) {
30
- let { t: j } = m(), [M, N] = c("select"), [, P] = c(null), [F, I] = c(null), [L, R] = c(""), [z, B] = c(""), V = s(null), { loading: H, error: U, validationResult: W, importResult: G, validateImport: K, importDataSink: q, extractDataSinkId: J, clearState: Y } = r(), X = n();
31
- o(() => {
32
- i && (N("select"), P(null), I(null), R(""), B(""), Y());
33
- }, [i, Y]);
34
- let ie = a(async (e) => {
29
+ var k = r(function({ isOpen: r, onClose: k, onSuccess: A }) {
30
+ let { t: j } = E(), [M, N] = o("select"), [, P] = o(null), [F, I] = o(null), [L, R] = o(""), [z, B] = o(""), V = a(null), { loading: H, error: U, validationResult: W, importResult: G, validateImport: K, importDataSink: q, extractDataSinkId: J, clearState: Y } = ee(), X = n();
31
+ te(() => {
32
+ r && (N("select"), P(null), I(null), R(""), B(""), Y());
33
+ }, [r, Y]);
34
+ let ie = i(async (e) => {
35
35
  let t = e.target.files?.[0];
36
36
  if (!t) return;
37
37
  if (!t.name.endsWith(".json")) {
@@ -48,14 +48,14 @@ var k = i(function({ isOpen: i, onClose: k, onSuccess: A }) {
48
48
  }, n.onerror = () => {
49
49
  alert(j("bigconsole.dataSinks.import.readFileError", "Failed to read file"));
50
50
  }, n.readAsText(t);
51
- }, [K, j]), ae = a((e) => {
51
+ }, [K, j]), ae = i((e) => {
52
52
  e.preventDefault();
53
53
  let t = e.dataTransfer.files?.[0];
54
54
  if (t) {
55
55
  let e = new DataTransfer();
56
56
  e.items.add(t), V.current && (V.current.files = e.files, V.current.dispatchEvent(new Event("change", { bubbles: !0 })));
57
57
  }
58
- }, []), oe = a(async () => {
58
+ }, []), oe = i(async () => {
59
59
  if (!F) return;
60
60
  N("importing");
61
61
  let e = {
@@ -77,32 +77,32 @@ var k = i(function({ isOpen: i, onClose: k, onSuccess: A }) {
77
77
  L,
78
78
  A
79
79
  ]), Z = !H && M !== "importing", Q = F ? J(F) : null, $ = O(M);
80
- return /* @__PURE__ */ T(_, {
81
- open: i,
80
+ return /* @__PURE__ */ w(ne, {
81
+ open: r,
82
82
  onOpenChange: (e) => !e && Z && k(),
83
- children: /* @__PURE__ */ E(v, {
83
+ children: /* @__PURE__ */ T(g, {
84
84
  className: "flex max-h-[85vh] flex-col sm:max-w-lg",
85
85
  children: [
86
- /* @__PURE__ */ E(ne, { children: [/* @__PURE__ */ E("div", {
86
+ /* @__PURE__ */ T(v, { children: [/* @__PURE__ */ T("div", {
87
87
  className: "flex items-center gap-3",
88
- children: [/* @__PURE__ */ T("div", {
88
+ children: [/* @__PURE__ */ w("div", {
89
89
  className: "flex size-10 items-center justify-center rounded-card bg-bg-accentSubtle",
90
- children: /* @__PURE__ */ T(f, { className: "size-5 text-text-link" })
91
- }), /* @__PURE__ */ T(re, { children: j("bigconsole.dataSinks.import.title", "Import DataSink") })]
92
- }), /* @__PURE__ */ T(y, { children: j("bigconsole.dataSinks.import.description", "Upload a DataSink export file to restore it into this workspace.") })] }),
93
- /* @__PURE__ */ T("ol", {
90
+ children: /* @__PURE__ */ w(f, { className: "size-5 text-text-link" })
91
+ }), /* @__PURE__ */ w(y, { children: j("bigconsole.dataSinks.import.title", "Import DataSink") })]
92
+ }), /* @__PURE__ */ w(re, { children: j("bigconsole.dataSinks.import.description", "Upload a DataSink export file to restore it into this workspace.") })] }),
93
+ /* @__PURE__ */ w("ol", {
94
94
  className: "flex flex-wrap items-center gap-x-icon-gap gap-y-1 text-xs",
95
95
  "aria-label": "Import progress",
96
- children: D.map((e, t) => /* @__PURE__ */ E("li", {
96
+ children: D.map((e, t) => /* @__PURE__ */ T("li", {
97
97
  "aria-current": t === $ ? "step" : void 0,
98
98
  className: `flex items-center gap-icon-gap ${t === $ ? "font-semibold text-text-primary" : "text-text-muted"}`,
99
99
  children: [
100
- /* @__PURE__ */ T("span", {
100
+ /* @__PURE__ */ w("span", {
101
101
  className: `inline-flex size-5 items-center justify-center rounded-pill text-[10px] ${t <= $ ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-sunken"}`,
102
102
  children: t + 1
103
103
  }),
104
104
  e.label,
105
- t < D.length - 1 && /* @__PURE__ */ T("span", {
105
+ t < D.length - 1 && /* @__PURE__ */ w("span", {
106
106
  "aria-hidden": "true",
107
107
  className: "text-text-muted",
108
108
  children: "›"
@@ -110,36 +110,36 @@ var k = i(function({ isOpen: i, onClose: k, onSuccess: A }) {
110
110
  ]
111
111
  }, e.id))
112
112
  }),
113
- /* @__PURE__ */ T("div", {
113
+ /* @__PURE__ */ w("div", {
114
114
  className: "min-w-0 flex-1 overflow-y-auto py-4",
115
- children: /* @__PURE__ */ E(t, { children: [
116
- M === "select" && /* @__PURE__ */ T(e, {
115
+ children: /* @__PURE__ */ T(t, { children: [
116
+ M === "select" && /* @__PURE__ */ w(e, {
117
117
  title: "Choose an export file",
118
118
  description: j("bigconsole.dataSinks.import.supportedFilesHint", "Only .json files exported from BigConsole are supported"),
119
119
  headingLevel: 3,
120
120
  bodyClassName: "mt-form-gap",
121
- children: /* @__PURE__ */ E("div", {
121
+ children: /* @__PURE__ */ T("div", {
122
122
  onDragOver: (e) => e.preventDefault(),
123
123
  onDrop: ae,
124
124
  className: "rounded-card border-2 border-dashed border-[var(--color-border-default)] p-8 text-center hover:border-[var(--color-action-primary-bg)] motion-safe:transition-colors",
125
125
  children: [
126
- /* @__PURE__ */ T(u, { className: "mx-auto mb-4 size-12 text-text-secondary" }),
127
- /* @__PURE__ */ T("p", {
126
+ /* @__PURE__ */ w(l, { className: "mx-auto mb-4 size-12 text-text-secondary" }),
127
+ /* @__PURE__ */ w("p", {
128
128
  className: "mb-2 text-sm",
129
129
  children: j("bigconsole.dataSinks.import.dropzoneText", "Drag and drop a DataSink export file here")
130
130
  }),
131
- /* @__PURE__ */ T("p", {
131
+ /* @__PURE__ */ w("p", {
132
132
  className: "mb-4 text-xs text-text-secondary",
133
133
  children: j("bigconsole.dataSinks.import.or", "or")
134
134
  }),
135
- /* @__PURE__ */ T("input", {
135
+ /* @__PURE__ */ w("input", {
136
136
  ref: V,
137
137
  type: "file",
138
138
  accept: ".json",
139
139
  onChange: ie,
140
140
  className: "hidden"
141
141
  }),
142
- /* @__PURE__ */ T(g, {
142
+ /* @__PURE__ */ w(h, {
143
143
  onClick: () => V.current?.click(),
144
144
  disabled: H,
145
145
  children: j("bigconsole.dataSinks.import.browseFiles", "Browse Files")
@@ -147,8 +147,8 @@ var k = i(function({ isOpen: i, onClose: k, onSuccess: A }) {
147
147
  ]
148
148
  })
149
149
  }),
150
- (M === "preview" || M === "importing") && W && /* @__PURE__ */ E(w, { children: [
151
- W.dataSinkInfo && /* @__PURE__ */ E(e, {
150
+ (M === "preview" || M === "importing") && W && /* @__PURE__ */ T(C, { children: [
151
+ W.dataSinkInfo && /* @__PURE__ */ T(e, {
152
152
  emphasis: "muted",
153
153
  padding: "compact",
154
154
  headingLevel: 3,
@@ -156,78 +156,78 @@ var k = i(function({ isOpen: i, onClose: k, onSuccess: A }) {
156
156
  description: "What this export file describes.",
157
157
  bodyClassName: "space-y-2",
158
158
  children: [
159
- /* @__PURE__ */ E("div", {
159
+ /* @__PURE__ */ T("div", {
160
160
  className: "flex items-center justify-between gap-icon-gap",
161
- children: [/* @__PURE__ */ T("span", {
161
+ children: [/* @__PURE__ */ w("span", {
162
162
  className: "text-sm text-text-secondary",
163
163
  children: j("bigconsole.dataSinks.import.nameLabel", "Name")
164
- }), /* @__PURE__ */ T("span", {
164
+ }), /* @__PURE__ */ w("span", {
165
165
  className: "min-w-0 truncate text-sm font-medium",
166
166
  children: W.dataSinkInfo.name || j("bigconsole.dataSinks.import.unnamed", "Unnamed")
167
167
  })]
168
168
  }),
169
- /* @__PURE__ */ E("div", {
169
+ /* @__PURE__ */ T("div", {
170
170
  className: "flex items-center justify-between gap-icon-gap",
171
- children: [/* @__PURE__ */ T("span", {
171
+ children: [/* @__PURE__ */ w("span", {
172
172
  className: "text-sm text-text-secondary",
173
173
  children: j("bigconsole.dataSinks.import.keyLabel", "Key")
174
- }), /* @__PURE__ */ T("span", {
174
+ }), /* @__PURE__ */ w("span", {
175
175
  className: "min-w-0 truncate font-mono text-xs",
176
176
  children: W.dataSinkInfo.key
177
177
  })]
178
178
  }),
179
- /* @__PURE__ */ E("div", {
179
+ /* @__PURE__ */ T("div", {
180
180
  className: "flex items-center justify-between gap-icon-gap",
181
- children: [/* @__PURE__ */ T("span", {
181
+ children: [/* @__PURE__ */ w("span", {
182
182
  className: "text-sm text-text-secondary",
183
183
  children: j("bigconsole.dataSinks.import.statusLabel", "Status")
184
- }), /* @__PURE__ */ T(h, {
184
+ }), /* @__PURE__ */ w(m, {
185
185
  variant: "secondary",
186
186
  children: W.dataSinkInfo.status
187
187
  })]
188
188
  }),
189
- /* @__PURE__ */ E("div", {
189
+ /* @__PURE__ */ T("div", {
190
190
  className: "flex items-center justify-between gap-icon-gap",
191
- children: [/* @__PURE__ */ T("span", {
191
+ children: [/* @__PURE__ */ w("span", {
192
192
  className: "text-sm text-text-secondary",
193
193
  children: j("bigconsole.dataSinks.import.setupStateLabel", "Setup State")
194
- }), /* @__PURE__ */ T(h, {
194
+ }), /* @__PURE__ */ w(m, {
195
195
  variant: "outline",
196
196
  children: W.dataSinkInfo.setupState
197
197
  })]
198
198
  }),
199
- W.dataSinkInfo.exportedFrom && /* @__PURE__ */ E("div", {
199
+ W.dataSinkInfo.exportedFrom && /* @__PURE__ */ T("div", {
200
200
  className: "flex items-center justify-between gap-icon-gap",
201
- children: [/* @__PURE__ */ T("span", {
201
+ children: [/* @__PURE__ */ w("span", {
202
202
  className: "text-sm text-text-secondary",
203
203
  children: j("bigconsole.dataSinks.import.sourceIdLabel", "Source ID")
204
- }), /* @__PURE__ */ T("span", {
204
+ }), /* @__PURE__ */ w("span", {
205
205
  className: "min-w-0 max-w-[180px] truncate font-mono text-xs text-text-secondary",
206
206
  children: W.dataSinkInfo.exportedFrom
207
207
  })]
208
208
  }),
209
- /* @__PURE__ */ E("div", {
209
+ /* @__PURE__ */ T("div", {
210
210
  className: "flex items-center justify-between gap-icon-gap",
211
- children: [/* @__PURE__ */ T("span", {
211
+ children: [/* @__PURE__ */ w("span", {
212
212
  className: "text-sm text-text-secondary",
213
213
  children: j("bigconsole.dataSinks.import.schemaVersionLabel", "Schema Version")
214
- }), /* @__PURE__ */ T("span", {
214
+ }), /* @__PURE__ */ w("span", {
215
215
  className: "text-xs text-text-secondary",
216
216
  children: W.dataSinkInfo.schemaVersion
217
217
  })]
218
218
  })
219
219
  ]
220
220
  }),
221
- W.errors.length > 0 && /* @__PURE__ */ T(e, {
221
+ W.errors.length > 0 && /* @__PURE__ */ w(e, {
222
222
  tone: "danger",
223
223
  padding: "compact",
224
224
  headingLevel: 3,
225
225
  title: j("bigconsole.dataSinks.import.errorsHeading", "Errors ({{count}})", { count: W.errors.length }),
226
- icon: /* @__PURE__ */ T(p, { className: "size-4" }),
227
- children: /* @__PURE__ */ T("ul", {
226
+ icon: /* @__PURE__ */ w(p, { className: "size-4" }),
227
+ children: /* @__PURE__ */ w("ul", {
228
228
  className: "space-y-1 text-xs text-status-error-text",
229
- children: W.errors.map((e, t) => /* @__PURE__ */ E("li", { children: [
230
- /* @__PURE__ */ E("span", {
229
+ children: W.errors.map((e, t) => /* @__PURE__ */ T("li", { children: [
230
+ /* @__PURE__ */ T("span", {
231
231
  className: "font-mono",
232
232
  children: [
233
233
  "[",
@@ -240,48 +240,48 @@ var k = i(function({ isOpen: i, onClose: k, onSuccess: A }) {
240
240
  ] }, t))
241
241
  })
242
242
  }),
243
- W.isValid && /* @__PURE__ */ E(e, {
243
+ W.isValid && /* @__PURE__ */ T(e, {
244
244
  title: j("bigconsole.dataSinks.import.optionsHeading", "Import Options"),
245
245
  description: "Rename the sink or give it a different key before importing.",
246
246
  headingLevel: 3,
247
247
  bodyClassName: "space-y-form-gap",
248
248
  children: [
249
- /* @__PURE__ */ T(e, {
249
+ /* @__PURE__ */ w(e, {
250
250
  tone: "info",
251
251
  emphasis: "muted",
252
252
  padding: "compact",
253
253
  headingLevel: 4,
254
- icon: /* @__PURE__ */ T(d, { className: "size-4" }),
254
+ icon: /* @__PURE__ */ w(u, { className: "size-4" }),
255
255
  title: Q ? j("bigconsole.dataSinks.import.checkExistingHeading", "Import will check for existing DataSink") : j("bigconsole.dataSinks.import.newWillBeCreatedHeading", "A new DataSink will be created"),
256
- children: /* @__PURE__ */ T("div", {
256
+ children: /* @__PURE__ */ w("div", {
257
257
  className: "text-xs text-[var(--color-status-info-text)]",
258
- children: Q ? /* @__PURE__ */ E(w, { children: [
259
- /* @__PURE__ */ E("p", { children: [
258
+ children: Q ? /* @__PURE__ */ T(C, { children: [
259
+ /* @__PURE__ */ T("p", { children: [
260
260
  j("bigconsole.dataSinks.import.ifOriginalExistsPrefix", "If the original DataSink (ID:"),
261
261
  " ",
262
- /* @__PURE__ */ E("code", {
262
+ /* @__PURE__ */ T("code", {
263
263
  className: "rounded-input bg-bg-surface px-1 font-mono",
264
264
  children: [Q.slice(0, 8), "..."]
265
265
  }),
266
266
  j("bigconsole.dataSinks.import.ifOriginalExistsSuffix", ") exists:")
267
267
  ] }),
268
- /* @__PURE__ */ E("ul", {
268
+ /* @__PURE__ */ T("ul", {
269
269
  className: "mt-1 list-inside list-disc space-y-0.5",
270
- children: [/* @__PURE__ */ T("li", { children: j("bigconsole.dataSinks.import.withChangesUpdate", "With changes → Update the existing DataSink") }), /* @__PURE__ */ T("li", { children: j("bigconsole.dataSinks.import.noChangesMessage", "No changes → Show \"already exists\" message") })]
270
+ children: [/* @__PURE__ */ w("li", { children: j("bigconsole.dataSinks.import.withChangesUpdate", "With changes → Update the existing DataSink") }), /* @__PURE__ */ w("li", { children: j("bigconsole.dataSinks.import.noChangesMessage", "No changes → Show \"already exists\" message") })]
271
271
  }),
272
- /* @__PURE__ */ T("p", {
272
+ /* @__PURE__ */ w("p", {
273
273
  className: "mt-1",
274
274
  children: j("bigconsole.dataSinks.import.ifNotExistsCreate", "If original doesn't exist → Create a new DataSink")
275
275
  })
276
- ] }) : /* @__PURE__ */ T("p", { children: j("bigconsole.dataSinks.import.newWillBeCreatedBody", "Import as a new DataSink with the specified configuration.") })
276
+ ] }) : /* @__PURE__ */ w("p", { children: j("bigconsole.dataSinks.import.newWillBeCreatedBody", "Import as a new DataSink with the specified configuration.") })
277
277
  })
278
278
  }),
279
- /* @__PURE__ */ E("div", {
279
+ /* @__PURE__ */ T("div", {
280
280
  className: "space-y-2",
281
- children: [/* @__PURE__ */ T(S, {
281
+ children: [/* @__PURE__ */ w(x, {
282
282
  htmlFor: "import-name",
283
283
  children: j("bigconsole.dataSinks.import.nameFieldLabel", "DataSink Name")
284
- }), /* @__PURE__ */ T(x, {
284
+ }), /* @__PURE__ */ w(b, {
285
285
  id: "import-name",
286
286
  type: "text",
287
287
  value: L,
@@ -290,14 +290,14 @@ var k = i(function({ isOpen: i, onClose: k, onSuccess: A }) {
290
290
  disabled: M === "importing"
291
291
  })]
292
292
  }),
293
- /* @__PURE__ */ E("div", {
293
+ /* @__PURE__ */ T("div", {
294
294
  className: "space-y-2",
295
295
  children: [
296
- /* @__PURE__ */ T(S, {
296
+ /* @__PURE__ */ w(x, {
297
297
  htmlFor: "import-key",
298
298
  children: j("bigconsole.dataSinks.import.keyFieldLabel", "DataSink Key")
299
299
  }),
300
- /* @__PURE__ */ T(x, {
300
+ /* @__PURE__ */ w(b, {
301
301
  id: "import-key",
302
302
  type: "text",
303
303
  value: z,
@@ -305,7 +305,7 @@ var k = i(function({ isOpen: i, onClose: k, onSuccess: A }) {
305
305
  placeholder: W.dataSinkInfo?.key || j("bigconsole.dataSinks.import.keyPlaceholder", "datasink-key"),
306
306
  disabled: M === "importing"
307
307
  }),
308
- /* @__PURE__ */ T("p", {
308
+ /* @__PURE__ */ w("p", {
309
309
  className: "text-xs text-text-secondary",
310
310
  children: j("bigconsole.dataSinks.import.keyHelp", "Use a unique key to avoid conflicts with existing DataSinks.")
311
311
  })
@@ -314,91 +314,91 @@ var k = i(function({ isOpen: i, onClose: k, onSuccess: A }) {
314
314
  ]
315
315
  })
316
316
  ] }),
317
- M === "complete" && G?.success && /* @__PURE__ */ E(w, { children: [
318
- G.alreadyExists && /* @__PURE__ */ T(e, {
317
+ M === "complete" && G?.success && /* @__PURE__ */ T(C, { children: [
318
+ G.alreadyExists && /* @__PURE__ */ w(e, {
319
319
  tone: "info",
320
320
  headingLevel: 3,
321
321
  title: j("bigconsole.dataSinks.import.alreadyExistsTitle", "DataSink Already Exists"),
322
- icon: /* @__PURE__ */ T(d, { className: "h-icon-sm w-icon-sm" }),
323
- children: /* @__PURE__ */ T("p", {
322
+ icon: /* @__PURE__ */ w(u, { className: "h-icon-sm w-icon-sm" }),
323
+ children: /* @__PURE__ */ w("p", {
324
324
  className: "text-sm text-text-secondary",
325
325
  children: j("bigconsole.dataSinks.import.alreadyExistsBody", "DataSink \"{{name}}\" already exists with the same data. No changes were made.", { name: G.dataSink?.name || G.dataSink?.key || "" })
326
326
  })
327
327
  }),
328
- G.originalUpdated && !G.alreadyExists && /* @__PURE__ */ T(e, {
328
+ G.originalUpdated && !G.alreadyExists && /* @__PURE__ */ w(e, {
329
329
  tone: "success",
330
330
  headingLevel: 3,
331
331
  title: j("bigconsole.dataSinks.import.updatedTitle", "DataSink Updated!"),
332
- icon: /* @__PURE__ */ T(te, { className: "h-icon-sm w-icon-sm" }),
333
- children: /* @__PURE__ */ T("p", {
332
+ icon: /* @__PURE__ */ w(d, { className: "h-icon-sm w-icon-sm" }),
333
+ children: /* @__PURE__ */ w("p", {
334
334
  className: "text-sm text-text-secondary",
335
335
  children: j("bigconsole.dataSinks.import.updatedBody", "DataSink \"{{name}}\" has been updated with the imported data.", { name: G.dataSink?.name || G.dataSink?.key || "" })
336
336
  })
337
337
  }),
338
- !G.originalUpdated && !G.alreadyExists && /* @__PURE__ */ T(e, {
338
+ !G.originalUpdated && !G.alreadyExists && /* @__PURE__ */ w(e, {
339
339
  tone: "success",
340
340
  headingLevel: 3,
341
341
  title: j("bigconsole.dataSinks.import.successTitle", "Import Successful!"),
342
- icon: /* @__PURE__ */ T(ee, { className: "h-icon-sm w-icon-sm" }),
343
- children: /* @__PURE__ */ T("p", {
342
+ icon: /* @__PURE__ */ w(c, { className: "h-icon-sm w-icon-sm" }),
343
+ children: /* @__PURE__ */ w("p", {
344
344
  className: "text-sm text-text-secondary",
345
345
  children: j("bigconsole.dataSinks.import.successBody", "DataSink \"{{name}}\" has been created.", { name: G.dataSink?.name || G.dataSink?.key || "" })
346
346
  })
347
347
  })
348
348
  ] }),
349
- U && /* @__PURE__ */ T(e, {
349
+ U && /* @__PURE__ */ w(e, {
350
350
  tone: "danger",
351
351
  padding: "compact",
352
352
  headingLevel: 3,
353
353
  title: "Import failed",
354
- children: /* @__PURE__ */ T("p", {
354
+ children: /* @__PURE__ */ w("p", {
355
355
  className: "text-sm text-status-error-text",
356
356
  children: U.message
357
357
  })
358
358
  }),
359
- G && !G.success && G.errorMessage && /* @__PURE__ */ T(e, {
359
+ G && !G.success && G.errorMessage && /* @__PURE__ */ w(e, {
360
360
  tone: "danger",
361
361
  padding: "compact",
362
362
  headingLevel: 3,
363
363
  title: "Import failed",
364
- children: /* @__PURE__ */ T("p", {
364
+ children: /* @__PURE__ */ w("p", {
365
365
  className: "text-sm text-status-error-text",
366
366
  children: G.errorMessage
367
367
  })
368
368
  })
369
369
  ] })
370
370
  }),
371
- /* @__PURE__ */ E(b, {
371
+ /* @__PURE__ */ T(_, {
372
372
  className: "flex flex-col-reverse gap-control-gap sm:flex-row sm:justify-between",
373
- children: [M === "preview" ? /* @__PURE__ */ E(g, {
373
+ children: [M === "preview" ? /* @__PURE__ */ T(h, {
374
374
  variant: "ghost",
375
375
  onClick: () => {
376
376
  N("select"), P(null), I(null), Y();
377
377
  },
378
378
  disabled: H,
379
- children: [/* @__PURE__ */ T(l, { className: "size-4" }), j("bigconsole.dataSinks.import.back", "Back")]
380
- }) : /* @__PURE__ */ T("span", {
379
+ children: [/* @__PURE__ */ w(s, { className: "size-4" }), j("bigconsole.dataSinks.import.back", "Back")]
380
+ }) : /* @__PURE__ */ w("span", {
381
381
  "aria-hidden": "true",
382
382
  className: "hidden sm:block"
383
- }), /* @__PURE__ */ E("div", {
383
+ }), /* @__PURE__ */ T("div", {
384
384
  className: "flex flex-wrap items-center gap-2",
385
385
  children: [
386
- M !== "complete" && /* @__PURE__ */ T(g, {
386
+ M !== "complete" && /* @__PURE__ */ w(h, {
387
387
  variant: "outline",
388
388
  onClick: k,
389
389
  disabled: !Z,
390
390
  children: j("bigconsole.dataSinks.import.cancel", "Cancel")
391
391
  }),
392
- M === "preview" && W?.isValid && /* @__PURE__ */ E(g, {
392
+ M === "preview" && W?.isValid && /* @__PURE__ */ T(h, {
393
393
  onClick: oe,
394
394
  disabled: H,
395
- children: [/* @__PURE__ */ T(f, { className: "size-4" }), j("bigconsole.dataSinks.import.importButton", "Import DataSink")]
395
+ children: [/* @__PURE__ */ w(f, { className: "size-4" }), j("bigconsole.dataSinks.import.importButton", "Import DataSink")]
396
396
  }),
397
- M === "importing" && /* @__PURE__ */ E("div", {
397
+ M === "importing" && /* @__PURE__ */ T("div", {
398
398
  className: "flex items-center gap-2 text-sm text-text-secondary",
399
- children: [/* @__PURE__ */ T(C, { className: "size-4" }), j("bigconsole.dataSinks.import.importing", "Importing...")]
399
+ children: [/* @__PURE__ */ w(S, { className: "size-4" }), j("bigconsole.dataSinks.import.importing", "Importing...")]
400
400
  }),
401
- M === "complete" && /* @__PURE__ */ T(g, {
401
+ M === "complete" && /* @__PURE__ */ w(h, {
402
402
  onClick: k,
403
403
  children: j("bigconsole.dataSinks.import.done", "Done")
404
404
  })