@burdenoff/microfe-bigconsole 2026.1012.4 → 2026.1012.5

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 (129) hide show
  1. package/dist/bigconsole/BigConsoleRoutes.js +149 -140
  2. package/dist/bigconsole/assistant/assistantProduct.js +4 -1
  3. package/dist/bigconsole/assistant/displayCopy.d.ts +32 -0
  4. package/dist/bigconsole/assistant/pageContext.d.ts +14 -0
  5. package/dist/bigconsole/assistant/pageContext.js +6 -1
  6. package/dist/bigconsole/assistant/pageControls.d.ts +81 -0
  7. package/dist/bigconsole/assistant/pageControls.js +169 -0
  8. package/dist/bigconsole/assistant/previewControl.d.ts +16 -0
  9. package/dist/bigconsole/assistant/previewControl.js +10 -0
  10. package/dist/bigconsole/assistant/recordAdapters.js +27 -26
  11. package/dist/bigconsole/assistant/usePreviewControl.d.ts +2 -0
  12. package/dist/bigconsole/assistant/usePreviewControl.js +20 -0
  13. package/dist/bigconsole/components/builder/inspector/AppearanceSection.js +9 -9
  14. package/dist/bigconsole/components/builder/inspector/DataBindingSection.js +31 -31
  15. package/dist/bigconsole/components/common/SortBySelect.d.ts +11 -0
  16. package/dist/bigconsole/components/common/SortBySelect.js +29 -0
  17. package/dist/bigconsole/components/common/index.d.ts +1 -0
  18. package/dist/bigconsole/components/common/index.js +1 -0
  19. package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js +44 -44
  20. package/dist/bigconsole/components/dashboard/DashboardCanvas.js +36 -36
  21. package/dist/bigconsole/components/dashboard/DashboardToolbar.js +59 -59
  22. package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js +15 -15
  23. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +30 -30
  24. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js +41 -41
  25. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js +34 -34
  26. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js +34 -34
  27. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js +153 -153
  28. package/dist/bigconsole/components/dashboard/PublishToStoreDialog.js +21 -21
  29. package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.js +46 -46
  30. package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js +134 -134
  31. package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +101 -101
  32. package/dist/bigconsole/components/dashboard/TemplateInstallOptions.js +31 -31
  33. package/dist/bigconsole/components/dashboard/TemplateLayoutPreview.js +15 -15
  34. package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.js +1 -1
  35. package/dist/bigconsole/components/dashboard/WidgetPalette.js +46 -46
  36. package/dist/bigconsole/components/datasink/AlertExecutionHistory.js +37 -37
  37. package/dist/bigconsole/components/datasink/AlertRuleEditor.js +66 -66
  38. package/dist/bigconsole/components/datasink/CacheTTLSelector.js +35 -35
  39. package/dist/bigconsole/components/datasink/DataSinkCard.js +51 -50
  40. package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js +18 -18
  41. package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js +20 -20
  42. package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js +47 -47
  43. package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js +91 -91
  44. package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +35 -35
  45. package/dist/bigconsole/components/parser/DataSinkSelector.js +40 -40
  46. package/dist/bigconsole/components/parser/ImportParserDialog.js +120 -120
  47. package/dist/bigconsole/components/parser/ParserSelector.js +51 -51
  48. package/dist/bigconsole/components/pipeline/PipelineScopePicker.js +10 -10
  49. package/dist/bigconsole/components/preview/AiPreviewMiniPanel.js +77 -76
  50. package/dist/bigconsole/components/preview/AiPreviewPanel.js +96 -95
  51. package/dist/bigconsole/components/widgets/ActionConfigDialog.js +4 -4
  52. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +93 -93
  53. package/dist/bigconsole/components/widgets/PropertiesPanel.js +507 -499
  54. package/dist/bigconsole/components/widgets/advanced/AdvancedWidgetConfig.js +14 -14
  55. package/dist/bigconsole/components/widgets/advanced/AdvancedWidgets.js +68 -67
  56. package/dist/bigconsole/components/widgets/advanced/boxPlotDescription.d.ts +7 -0
  57. package/dist/bigconsole/components/widgets/advanced/boxPlotDescription.js +12 -0
  58. package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js +4 -4
  59. package/dist/bigconsole/components/widgets/chart/ChartConfig.js +48 -48
  60. package/dist/bigconsole/components/widgets/comments/WidgetComments.js +46 -46
  61. package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +61 -61
  62. package/dist/bigconsole/components/widgets/form/FormWidget.js +36 -36
  63. package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +42 -42
  64. package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js +25 -25
  65. package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js +4 -4
  66. package/dist/bigconsole/components/widgets/list/ListConfig.js +30 -30
  67. package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +38 -38
  68. package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js +9 -9
  69. package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.js +9 -9
  70. package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +49 -49
  71. package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +39 -39
  72. package/dist/bigconsole/components/widgets/table/TableConfig.js +73 -73
  73. package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +64 -64
  74. package/dist/bigconsole/components/workflow/WorkflowOpenGuard.js +15 -15
  75. package/dist/bigconsole/components/workflow/WorkflowSinkLinkForm.js +15 -15
  76. package/dist/bigconsole/constants/backendErrors.js +94 -0
  77. package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.js +10 -10
  78. package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +67 -67
  79. package/dist/bigconsole/hooks/useDashboardLayoutBaseline.d.ts +14 -0
  80. package/dist/bigconsole/hooks/useDashboardLayoutBaseline.js +32 -0
  81. package/dist/bigconsole/hooks/useDataSinkAlerts.d.ts +23 -0
  82. package/dist/bigconsole/hooks/useDataSinkAlerts.js +138 -113
  83. package/dist/bigconsole/hooks/useDrilldown.js +3 -3
  84. package/dist/bigconsole/hooks/useGlobalFilters.js +3 -3
  85. package/dist/bigconsole/pages/AdminPage.js +130 -130
  86. package/dist/bigconsole/pages/DashboardBuilderPage.js +72 -60
  87. package/dist/bigconsole/pages/DashboardViewPage.js +244 -221
  88. package/dist/bigconsole/pages/DashboardsPage.js +269 -221
  89. package/dist/bigconsole/pages/DataParsersPage.js +180 -157
  90. package/dist/bigconsole/pages/DataSinkAlertsPage.js +62 -55
  91. package/dist/bigconsole/pages/DataSinkBuilderPage.js +252 -234
  92. package/dist/bigconsole/pages/DataSinkViewPage.js +1 -1
  93. package/dist/bigconsole/pages/DataSinksPage.js +335 -299
  94. package/dist/bigconsole/pages/DataSourcesPage.js +5 -5
  95. package/dist/bigconsole/pages/InsightsPage.js +279 -265
  96. package/dist/bigconsole/pages/OverviewPage.js +47 -47
  97. package/dist/bigconsole/pages/ParserBuilderPage.js +229 -213
  98. package/dist/bigconsole/pages/ParserViewPage.js +97 -97
  99. package/dist/bigconsole/pages/PipelineBuilderPage.js +256 -214
  100. package/dist/bigconsole/pages/PipelineViewPage.js +146 -146
  101. package/dist/bigconsole/pages/PipelinesPage.js +107 -88
  102. package/dist/bigconsole/pages/SettingsPage.js +179 -173
  103. package/dist/bigconsole/pages/WidgetDemoPage.js +42 -42
  104. package/dist/bigconsole/pages/WorkflowViewPage.js +1 -1
  105. package/dist/bigconsole/pages/WorkflowsPage.js +141 -141
  106. package/dist/bigconsole/providers/BigConsoleQuotaProvider.js +12 -12
  107. package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.js +34 -34
  108. package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +69 -69
  109. package/dist/bigconsole/renderers/adapters/CustomRenderer.js +46 -46
  110. package/dist/bigconsole/store/widgetStore.d.ts +12 -0
  111. package/dist/bigconsole/store/widgetStore.js +3 -1
  112. package/dist/bigconsole/utils/backendError.d.ts +18 -0
  113. package/dist/bigconsole/utils/backendError.js +42 -0
  114. package/dist/bigconsole/utils/dashboardList.d.ts +28 -0
  115. package/dist/bigconsole/utils/dashboardList.js +15 -0
  116. package/dist/bigconsole/utils/dataSinkList.d.ts +15 -0
  117. package/dist/bigconsole/utils/dataSinkList.js +15 -0
  118. package/dist/bigconsole/utils/formDirty.d.ts +82 -0
  119. package/dist/bigconsole/utils/formDirty.js +21 -0
  120. package/dist/bigconsole/utils/insightsDraft.d.ts +29 -0
  121. package/dist/bigconsole/utils/insightsDraft.js +8 -0
  122. package/dist/bigconsole/utils/layoutBaseline.d.ts +130 -0
  123. package/dist/bigconsole/utils/layoutBaseline.js +96 -0
  124. package/dist/bigconsole/utils/listSort.d.ts +80 -0
  125. package/dist/bigconsole/utils/listSort.js +85 -0
  126. package/dist/bigconsole/utils/widgetFormDirty.d.ts +16 -0
  127. package/dist/bigconsole/utils/widgetFormDirty.js +13 -0
  128. package/dist/bigconsole/workflowOpen.js +15 -14
  129. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
1
  import { memo as e, useCallback as t, useEffect as n, useMemo as r, useState as i } from "react";
2
- import { jsx as a, jsxs as o } from "react/jsx-runtime";
3
- import { useI18n as s } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
2
+ import { useI18n as a } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
3
+ import { jsx as o, jsxs as s } from "react/jsx-runtime";
4
4
  //#region src/bigconsole/components/widgets/table/TableConfig.tsx
5
5
  var c = [
6
6
  {
@@ -75,7 +75,7 @@ var c = [
75
75
  labelDefault: "Neutral"
76
76
  }
77
77
  ], u = "px-2 py-1 text-xs text-text-primary bg-bg-surface border border-border-default rounded-md focus:outline-none focus:ring-2 focus:ring-action-primary-bg", d = e(function({ config: e, onChange: d }) {
78
- let { t: f } = s(), [p, m] = i(r(() => (e.columns || []).map((e) => typeof e == "string" ? {
78
+ let { t: f } = a(), [p, m] = i(r(() => (e.columns || []).map((e) => typeof e == "string" ? {
79
79
  field: e,
80
80
  header: e.charAt(0).toUpperCase() + e.slice(1).replace(/_/g, " ")
81
81
  } : e), []));
@@ -146,66 +146,66 @@ var c = [
146
146
  }, []), C = t((e) => {
147
147
  m((t) => t.filter((t, n) => n !== e));
148
148
  }, []);
149
- return /* @__PURE__ */ o("div", {
149
+ return /* @__PURE__ */ s("div", {
150
150
  className: "min-w-0 space-y-form-gap",
151
151
  children: [
152
- /* @__PURE__ */ o("div", { children: [/* @__PURE__ */ a("label", {
152
+ /* @__PURE__ */ s("div", { children: [/* @__PURE__ */ o("label", {
153
153
  className: "block text-sm font-medium text-text-primary mb-1",
154
154
  children: f("bigconsole.widget.config.table.pageSize.label", "Page Size")
155
- }), /* @__PURE__ */ o("select", {
155
+ }), /* @__PURE__ */ s("select", {
156
156
  value: e.pageSize || 10,
157
157
  onChange: (e) => h("pageSize", Number(e.target.value)),
158
158
  className: "\n w-full px-3 py-2\n text-sm text-text-primary\n bg-bg-surface\n border border-border-default\n rounded-md\n focus:outline-none focus:ring-2 focus:ring-action-primary-bg\n ",
159
159
  children: [
160
- /* @__PURE__ */ a("option", {
160
+ /* @__PURE__ */ o("option", {
161
161
  value: 10,
162
162
  children: f("bigconsole.widget.config.table.pageSize.rows", "{{count}} rows", { count: 10 })
163
163
  }),
164
- /* @__PURE__ */ a("option", {
164
+ /* @__PURE__ */ o("option", {
165
165
  value: 25,
166
166
  children: f("bigconsole.widget.config.table.pageSize.rows", "{{count}} rows", { count: 25 })
167
167
  }),
168
- /* @__PURE__ */ a("option", {
168
+ /* @__PURE__ */ o("option", {
169
169
  value: 50,
170
170
  children: f("bigconsole.widget.config.table.pageSize.rows", "{{count}} rows", { count: 50 })
171
171
  }),
172
- /* @__PURE__ */ a("option", {
172
+ /* @__PURE__ */ o("option", {
173
173
  value: 100,
174
174
  children: f("bigconsole.widget.config.table.pageSize.rows", "{{count}} rows", { count: 100 })
175
175
  })
176
176
  ]
177
177
  })] }),
178
- /* @__PURE__ */ o("div", { children: [/* @__PURE__ */ o("div", {
178
+ /* @__PURE__ */ s("div", { children: [/* @__PURE__ */ s("div", {
179
179
  className: "flex items-center justify-between mb-2",
180
- children: [/* @__PURE__ */ a("label", {
180
+ children: [/* @__PURE__ */ o("label", {
181
181
  className: "text-sm font-medium text-text-primary",
182
182
  children: f("bigconsole.widget.config.table.columns.label", "Columns")
183
- }), /* @__PURE__ */ a("button", {
183
+ }), /* @__PURE__ */ o("button", {
184
184
  type: "button",
185
185
  onClick: S,
186
186
  className: "\n text-sm text-action-primary-bg\n hover:text-action-primary-bgHover\n ",
187
187
  children: f("bigconsole.widget.config.table.columns.add", "+ Add Column")
188
188
  })]
189
- }), /* @__PURE__ */ o("div", {
189
+ }), /* @__PURE__ */ s("div", {
190
190
  className: "space-y-3",
191
- children: [p.map((e, t) => /* @__PURE__ */ o("div", {
191
+ children: [p.map((e, t) => /* @__PURE__ */ s("div", {
192
192
  className: "\n p-3\n bg-bg-sunken\n rounded-md\n space-y-2\n ",
193
193
  children: [
194
- /* @__PURE__ */ o("div", {
194
+ /* @__PURE__ */ s("div", {
195
195
  className: "flex items-center justify-between",
196
- children: [/* @__PURE__ */ a("span", {
196
+ children: [/* @__PURE__ */ o("span", {
197
197
  className: "text-xs text-text-secondary",
198
198
  children: f("bigconsole.widget.config.table.columns.columnN", "Column {{index}}", { index: t + 1 })
199
- }), /* @__PURE__ */ a("button", {
199
+ }), /* @__PURE__ */ o("button", {
200
200
  type: "button",
201
201
  onClick: () => C(t),
202
202
  className: "text-status-error-text hover:text-status-error-text/80",
203
- children: /* @__PURE__ */ a("svg", {
203
+ children: /* @__PURE__ */ o("svg", {
204
204
  className: "w-4 h-4",
205
205
  fill: "none",
206
206
  stroke: "currentColor",
207
207
  viewBox: "0 0 24 24",
208
- children: /* @__PURE__ */ a("path", {
208
+ children: /* @__PURE__ */ o("path", {
209
209
  strokeLinecap: "round",
210
210
  strokeLinejoin: "round",
211
211
  strokeWidth: 2,
@@ -214,15 +214,15 @@ var c = [
214
214
  })
215
215
  })]
216
216
  }),
217
- /* @__PURE__ */ o("div", {
217
+ /* @__PURE__ */ s("div", {
218
218
  className: "grid grid-cols-1 gap-2 sm:grid-cols-2",
219
- children: [/* @__PURE__ */ a("input", {
219
+ children: [/* @__PURE__ */ o("input", {
220
220
  type: "text",
221
221
  value: e.field || "",
222
222
  onChange: (e) => g(t, "field", e.target.value),
223
223
  placeholder: f("bigconsole.widget.config.table.column.fieldPlaceholder", "Field name"),
224
224
  className: "\n px-2 py-1\n text-sm text-text-primary\n bg-bg-surface\n border border-border-default\n rounded-md\n focus:outline-none focus:ring-2 focus:ring-action-primary-bg\n "
225
- }), /* @__PURE__ */ a("input", {
225
+ }), /* @__PURE__ */ o("input", {
226
226
  type: "text",
227
227
  value: e.header || "",
228
228
  onChange: (e) => g(t, "header", e.target.value),
@@ -230,120 +230,120 @@ var c = [
230
230
  className: "\n px-2 py-1\n text-sm text-text-primary\n bg-bg-surface\n border border-border-default\n rounded-md\n focus:outline-none focus:ring-2 focus:ring-action-primary-bg\n "
231
231
  })]
232
232
  }),
233
- /* @__PURE__ */ o("div", {
233
+ /* @__PURE__ */ s("div", {
234
234
  className: "grid grid-cols-1 gap-2 sm:grid-cols-2",
235
- children: [/* @__PURE__ */ o("select", {
235
+ children: [/* @__PURE__ */ s("select", {
236
236
  value: e.format || "text",
237
237
  onChange: (e) => g(t, "format", e.target.value),
238
238
  className: "\n px-2 py-1\n text-sm text-text-primary\n bg-bg-surface\n border border-border-default\n rounded-md\n focus:outline-none focus:ring-2 focus:ring-action-primary-bg\n ",
239
239
  children: [
240
- /* @__PURE__ */ a("option", {
240
+ /* @__PURE__ */ o("option", {
241
241
  value: "text",
242
242
  children: f("bigconsole.widget.config.table.format.text", "Text")
243
243
  }),
244
- /* @__PURE__ */ a("option", {
244
+ /* @__PURE__ */ o("option", {
245
245
  value: "number",
246
246
  children: f("bigconsole.widget.config.table.format.number", "Number")
247
247
  }),
248
- /* @__PURE__ */ a("option", {
248
+ /* @__PURE__ */ o("option", {
249
249
  value: "currency",
250
250
  children: f("bigconsole.widget.config.table.format.currency", "Currency")
251
251
  }),
252
- /* @__PURE__ */ a("option", {
252
+ /* @__PURE__ */ o("option", {
253
253
  value: "percentage",
254
254
  children: f("bigconsole.widget.config.table.format.percentage", "Percentage")
255
255
  }),
256
- /* @__PURE__ */ a("option", {
256
+ /* @__PURE__ */ o("option", {
257
257
  value: "date",
258
258
  children: f("bigconsole.widget.config.table.format.date", "Date")
259
259
  }),
260
- /* @__PURE__ */ a("option", {
260
+ /* @__PURE__ */ o("option", {
261
261
  value: "badge",
262
262
  children: f("bigconsole.widget.config.table.format.badge", "Badge")
263
263
  })
264
264
  ]
265
- }), /* @__PURE__ */ o("select", {
265
+ }), /* @__PURE__ */ s("select", {
266
266
  value: e.align || "left",
267
267
  onChange: (e) => g(t, "align", e.target.value),
268
268
  className: "\n px-2 py-1\n text-sm text-text-primary\n bg-bg-surface\n border border-border-default\n rounded-md\n focus:outline-none focus:ring-2 focus:ring-action-primary-bg\n ",
269
269
  children: [
270
- /* @__PURE__ */ a("option", {
270
+ /* @__PURE__ */ o("option", {
271
271
  value: "left",
272
272
  children: f("bigconsole.widget.config.table.align.left", "Left")
273
273
  }),
274
- /* @__PURE__ */ a("option", {
274
+ /* @__PURE__ */ o("option", {
275
275
  value: "center",
276
276
  children: f("bigconsole.widget.config.table.align.center", "Center")
277
277
  }),
278
- /* @__PURE__ */ a("option", {
278
+ /* @__PURE__ */ o("option", {
279
279
  value: "right",
280
280
  children: f("bigconsole.widget.config.table.align.right", "Right")
281
281
  })
282
282
  ]
283
283
  })]
284
284
  }),
285
- /* @__PURE__ */ o("div", {
285
+ /* @__PURE__ */ s("div", {
286
286
  className: "pt-2 border-t border-border-default/60",
287
287
  children: [
288
- /* @__PURE__ */ o("div", {
288
+ /* @__PURE__ */ s("div", {
289
289
  className: "flex items-center justify-between mb-1",
290
- children: [/* @__PURE__ */ a("span", {
290
+ children: [/* @__PURE__ */ o("span", {
291
291
  className: "text-xs font-medium text-text-secondary",
292
292
  children: f("bigconsole.widget.config.table.conditionalFormatting.title", "Conditional formatting")
293
- }), /* @__PURE__ */ a("button", {
293
+ }), /* @__PURE__ */ o("button", {
294
294
  type: "button",
295
295
  onClick: () => v(t),
296
296
  className: "text-xs text-action-primary-bg hover:text-action-primary-bgHover",
297
297
  children: f("bigconsole.widget.config.table.conditionalFormatting.addRule", "+ Add rule")
298
298
  })]
299
299
  }),
300
- (e.conditionalRules?.length ?? 0) === 0 && /* @__PURE__ */ a("p", {
300
+ (e.conditionalRules?.length ?? 0) === 0 && /* @__PURE__ */ o("p", {
301
301
  className: "text-xs text-text-secondary",
302
302
  children: f("bigconsole.widget.config.table.conditionalFormatting.noRules", "No rules — cell shows its plain value.")
303
303
  }),
304
- /* @__PURE__ */ a("div", {
304
+ /* @__PURE__ */ o("div", {
305
305
  className: "space-y-2",
306
306
  children: (e.conditionalRules ?? []).map((e, n) => {
307
307
  let r = e.operator === "between" || e.operator === "outside", i = e.style?.bgColor ?? e.style?.textColor ?? "danger";
308
- return /* @__PURE__ */ o("div", {
308
+ return /* @__PURE__ */ s("div", {
309
309
  className: "p-2 bg-bg-surface rounded-md border border-border-default space-y-2",
310
- children: [/* @__PURE__ */ o("div", {
310
+ children: [/* @__PURE__ */ s("div", {
311
311
  className: "flex items-center gap-2",
312
312
  children: [
313
- /* @__PURE__ */ a("select", {
313
+ /* @__PURE__ */ o("select", {
314
314
  value: e.operator,
315
315
  onChange: (e) => y(t, n, { operator: e.target.value }),
316
316
  className: `${u} flex-1`,
317
- children: c.map((e) => /* @__PURE__ */ a("option", {
317
+ children: c.map((e) => /* @__PURE__ */ o("option", {
318
318
  value: e.value,
319
319
  children: f(e.labelKey, e.labelDefault)
320
320
  }, e.value))
321
321
  }),
322
- /* @__PURE__ */ a("input", {
322
+ /* @__PURE__ */ o("input", {
323
323
  type: "text",
324
324
  value: e.value ?? "",
325
325
  onChange: (e) => y(t, n, { value: e.target.value }),
326
326
  placeholder: f("bigconsole.widget.config.table.rule.valuePlaceholder", "value"),
327
327
  className: `${u} w-20`
328
328
  }),
329
- r && /* @__PURE__ */ a("input", {
329
+ r && /* @__PURE__ */ o("input", {
330
330
  type: "text",
331
331
  value: e.value2 ?? "",
332
332
  onChange: (e) => y(t, n, { value2: e.target.value }),
333
333
  placeholder: f("bigconsole.widget.config.table.rule.value2Placeholder", "and"),
334
334
  className: `${u} w-20`
335
335
  }),
336
- /* @__PURE__ */ a("button", {
336
+ /* @__PURE__ */ o("button", {
337
337
  type: "button",
338
338
  onClick: () => x(t, n),
339
339
  className: "text-status-error-text hover:text-status-error-text/80",
340
340
  "aria-label": f("bigconsole.widget.config.table.rule.remove", "Remove rule"),
341
- children: /* @__PURE__ */ a("svg", {
341
+ children: /* @__PURE__ */ o("svg", {
342
342
  className: "w-3.5 h-3.5",
343
343
  fill: "none",
344
344
  stroke: "currentColor",
345
345
  viewBox: "0 0 24 24",
346
- children: /* @__PURE__ */ a("path", {
346
+ children: /* @__PURE__ */ o("path", {
347
347
  strokeLinecap: "round",
348
348
  strokeLinejoin: "round",
349
349
  strokeWidth: 2,
@@ -352,19 +352,19 @@ var c = [
352
352
  })
353
353
  })
354
354
  ]
355
- }), /* @__PURE__ */ o("div", {
355
+ }), /* @__PURE__ */ s("div", {
356
356
  className: "flex items-center gap-2",
357
- children: [/* @__PURE__ */ a("select", {
357
+ children: [/* @__PURE__ */ o("select", {
358
358
  value: i,
359
359
  onChange: (e) => b(t, n, e.target.value),
360
360
  className: `${u} flex-1`,
361
- children: l.map((e) => /* @__PURE__ */ a("option", {
361
+ children: l.map((e) => /* @__PURE__ */ o("option", {
362
362
  value: e.value,
363
363
  children: f(e.labelKey, e.labelDefault)
364
364
  }, e.value))
365
- }), /* @__PURE__ */ o("label", {
365
+ }), /* @__PURE__ */ s("label", {
366
366
  className: "flex items-center gap-1 text-xs text-text-primary",
367
- children: [/* @__PURE__ */ a("input", {
367
+ children: [/* @__PURE__ */ o("input", {
368
368
  type: "checkbox",
369
369
  checked: e.style?.bold === !0,
370
370
  onChange: (r) => y(t, n, { style: {
@@ -381,76 +381,76 @@ var c = [
381
381
  ]
382
382
  })
383
383
  ]
384
- }, t)), p.length === 0 && /* @__PURE__ */ a("p", {
384
+ }, t)), p.length === 0 && /* @__PURE__ */ o("p", {
385
385
  className: "text-sm text-text-secondary text-center py-4",
386
386
  children: f("bigconsole.widget.config.table.columns.empty", "No columns configured. Columns will be auto-generated from data.")
387
387
  })]
388
388
  })] }),
389
- /* @__PURE__ */ o("div", {
389
+ /* @__PURE__ */ s("div", {
390
390
  role: "group",
391
391
  "aria-label": "Display options",
392
392
  className: "space-y-3 border-t border-[var(--color-border-subtle)] pt-form-gap",
393
393
  children: [
394
- /* @__PURE__ */ a("p", {
394
+ /* @__PURE__ */ o("p", {
395
395
  className: "text-xs font-bold uppercase tracking-wider text-text-secondary",
396
396
  children: "Display options"
397
397
  }),
398
- /* @__PURE__ */ o("label", {
398
+ /* @__PURE__ */ s("label", {
399
399
  className: "flex items-center gap-3",
400
- children: [/* @__PURE__ */ a("input", {
400
+ children: [/* @__PURE__ */ o("input", {
401
401
  type: "checkbox",
402
402
  checked: e.showSearch !== !1,
403
403
  onChange: (e) => h("showSearch", e.target.checked),
404
404
  className: "\n w-4 h-4\n text-action-primary-bg\n bg-bg-surface\n border-border-default\n rounded\n focus:ring-action-primary-bg\n "
405
- }), /* @__PURE__ */ a("span", {
405
+ }), /* @__PURE__ */ o("span", {
406
406
  className: "text-sm text-text-primary",
407
407
  children: f("bigconsole.widget.config.table.showSearch", "Show search box")
408
408
  })]
409
409
  }),
410
- /* @__PURE__ */ o("label", {
410
+ /* @__PURE__ */ s("label", {
411
411
  className: "flex items-center gap-3",
412
- children: [/* @__PURE__ */ a("input", {
412
+ children: [/* @__PURE__ */ o("input", {
413
413
  type: "checkbox",
414
414
  checked: e.showPagination !== !1,
415
415
  onChange: (e) => h("showPagination", e.target.checked),
416
416
  className: "\n w-4 h-4\n text-action-primary-bg\n bg-bg-surface\n border-border-default\n rounded\n focus:ring-action-primary-bg\n "
417
- }), /* @__PURE__ */ a("span", {
417
+ }), /* @__PURE__ */ o("span", {
418
418
  className: "text-sm text-text-primary",
419
419
  children: f("bigconsole.widget.config.table.showPagination", "Show pagination")
420
420
  })]
421
421
  }),
422
- /* @__PURE__ */ o("label", {
422
+ /* @__PURE__ */ s("label", {
423
423
  className: "flex items-center gap-3",
424
- children: [/* @__PURE__ */ a("input", {
424
+ children: [/* @__PURE__ */ o("input", {
425
425
  type: "checkbox",
426
426
  checked: e.showExport !== !1,
427
427
  onChange: (e) => h("showExport", e.target.checked),
428
428
  className: "\n w-4 h-4\n text-action-primary-bg\n bg-bg-surface\n border-border-default\n rounded\n focus:ring-action-primary-bg\n "
429
- }), /* @__PURE__ */ a("span", {
429
+ }), /* @__PURE__ */ o("span", {
430
430
  className: "text-sm text-text-primary",
431
431
  children: f("bigconsole.widget.config.table.showExport", "Show export button")
432
432
  })]
433
433
  }),
434
- /* @__PURE__ */ o("label", {
434
+ /* @__PURE__ */ s("label", {
435
435
  className: "flex items-center gap-3",
436
- children: [/* @__PURE__ */ a("input", {
436
+ children: [/* @__PURE__ */ o("input", {
437
437
  type: "checkbox",
438
438
  checked: e.stickyHeader === !0,
439
439
  onChange: (e) => h("stickyHeader", e.target.checked),
440
440
  className: "\n w-4 h-4\n text-action-primary-bg\n bg-bg-surface\n border-border-default\n rounded\n focus:ring-action-primary-bg\n "
441
- }), /* @__PURE__ */ a("span", {
441
+ }), /* @__PURE__ */ o("span", {
442
442
  className: "text-sm text-text-primary",
443
443
  children: f("bigconsole.widget.config.table.stickyHeader", "Sticky header")
444
444
  })]
445
445
  }),
446
- /* @__PURE__ */ o("label", {
446
+ /* @__PURE__ */ s("label", {
447
447
  className: "flex items-center gap-3",
448
- children: [/* @__PURE__ */ a("input", {
448
+ children: [/* @__PURE__ */ o("input", {
449
449
  type: "checkbox",
450
450
  checked: e.stripedRows === !0,
451
451
  onChange: (e) => h("stripedRows", e.target.checked),
452
452
  className: "\n w-4 h-4\n text-action-primary-bg\n bg-bg-surface\n border-border-default\n rounded\n focus:ring-action-primary-bg\n "
453
- }), /* @__PURE__ */ a("span", {
453
+ }), /* @__PURE__ */ o("span", {
454
454
  className: "text-sm text-text-primary",
455
455
  children: f("bigconsole.widget.config.table.stripedRows", "Striped rows")
456
456
  })]