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