@burdenoff/microfe-bigconsole 2026.1012.3 → 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 (158) hide show
  1. package/dist/bigconsole/BigConsoleRoutes.js +149 -140
  2. package/dist/bigconsole/assistant/assistantApi.js +5 -5
  3. package/dist/bigconsole/assistant/assistantProduct.js +4 -1
  4. package/dist/bigconsole/assistant/displayCopy.d.ts +32 -0
  5. package/dist/bigconsole/assistant/pageContext.d.ts +14 -0
  6. package/dist/bigconsole/assistant/pageContext.js +6 -1
  7. package/dist/bigconsole/assistant/pageControls.d.ts +81 -0
  8. package/dist/bigconsole/assistant/pageControls.js +169 -0
  9. package/dist/bigconsole/assistant/previewControl.d.ts +16 -0
  10. package/dist/bigconsole/assistant/previewControl.js +10 -0
  11. package/dist/bigconsole/assistant/recordAdapters.js +27 -26
  12. package/dist/bigconsole/assistant/usePreviewControl.d.ts +2 -0
  13. package/dist/bigconsole/assistant/usePreviewControl.js +20 -0
  14. package/dist/bigconsole/components/builder/inspector/AppearanceSection.js +33 -18
  15. package/dist/bigconsole/components/builder/inspector/DataBindingSection.js +31 -31
  16. package/dist/bigconsole/components/common/SortBySelect.d.ts +11 -0
  17. package/dist/bigconsole/components/common/SortBySelect.js +29 -0
  18. package/dist/bigconsole/components/common/index.d.ts +1 -0
  19. package/dist/bigconsole/components/common/index.js +1 -0
  20. package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js +44 -44
  21. package/dist/bigconsole/components/dashboard/DashboardCanvas.js +36 -36
  22. package/dist/bigconsole/components/dashboard/DashboardToolbar.js +59 -59
  23. package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js +15 -15
  24. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +30 -30
  25. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js +41 -41
  26. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js +34 -34
  27. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js +34 -34
  28. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js +153 -153
  29. package/dist/bigconsole/components/dashboard/PublishToStoreDialog.js +21 -21
  30. package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.js +46 -46
  31. package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js +134 -134
  32. package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +101 -101
  33. package/dist/bigconsole/components/dashboard/TemplateInstallOptions.js +31 -31
  34. package/dist/bigconsole/components/dashboard/TemplateLayoutPreview.js +15 -15
  35. package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.js +1 -1
  36. package/dist/bigconsole/components/dashboard/WidgetPalette.js +154 -150
  37. package/dist/bigconsole/components/datasink/AlertExecutionHistory.js +37 -37
  38. package/dist/bigconsole/components/datasink/AlertRuleEditor.js +66 -66
  39. package/dist/bigconsole/components/datasink/CacheTTLSelector.js +35 -35
  40. package/dist/bigconsole/components/datasink/DataSinkCard.js +51 -50
  41. package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js +18 -18
  42. package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js +20 -20
  43. package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js +47 -47
  44. package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js +91 -91
  45. package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +35 -35
  46. package/dist/bigconsole/components/embed/renderer-manifest.js +12 -0
  47. package/dist/bigconsole/components/parser/DataSinkSelector.js +40 -40
  48. package/dist/bigconsole/components/parser/ImportParserDialog.js +120 -120
  49. package/dist/bigconsole/components/parser/ParserSelector.js +51 -51
  50. package/dist/bigconsole/components/pipeline/PipelineScopePicker.js +10 -10
  51. package/dist/bigconsole/components/preview/AiPreviewMiniPanel.js +77 -76
  52. package/dist/bigconsole/components/preview/AiPreviewPanel.js +96 -95
  53. package/dist/bigconsole/components/widgets/ActionConfigDialog.js +4 -4
  54. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +93 -93
  55. package/dist/bigconsole/components/widgets/PropertiesPanel.js +507 -499
  56. package/dist/bigconsole/components/widgets/WidgetRegistry.js +122 -1
  57. package/dist/bigconsole/components/widgets/WidgetWrapper.js +227 -224
  58. package/dist/bigconsole/components/widgets/advanced/AdvancedWidgetConfig.d.ts +10 -0
  59. package/dist/bigconsole/components/widgets/advanced/AdvancedWidgetConfig.js +113 -0
  60. package/dist/bigconsole/components/widgets/advanced/AdvancedWidgets.d.ts +10 -0
  61. package/dist/bigconsole/components/widgets/advanced/AdvancedWidgets.js +187 -0
  62. package/dist/bigconsole/components/widgets/advanced/boxPlotDescription.d.ts +7 -0
  63. package/dist/bigconsole/components/widgets/advanced/boxPlotDescription.js +12 -0
  64. package/dist/bigconsole/components/widgets/advanced/data.d.ts +36 -0
  65. package/dist/bigconsole/components/widgets/advanced/data.js +113 -0
  66. package/dist/bigconsole/components/widgets/advanced/mapData.d.ts +10 -0
  67. package/dist/bigconsole/components/widgets/advanced/mapData.js +22 -0
  68. package/dist/bigconsole/components/widgets/advanced/waterfallData.d.ts +15 -0
  69. package/dist/bigconsole/components/widgets/advanced/waterfallData.js +28 -0
  70. package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js +4 -4
  71. package/dist/bigconsole/components/widgets/chart/ChartConfig.js +48 -48
  72. package/dist/bigconsole/components/widgets/chart/charts/WaterfallChart.js +34 -37
  73. package/dist/bigconsole/components/widgets/comments/WidgetComments.js +46 -46
  74. package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +61 -61
  75. package/dist/bigconsole/components/widgets/form/FormWidget.js +36 -36
  76. package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +42 -42
  77. package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js +25 -25
  78. package/dist/bigconsole/components/widgets/index.js +1 -1
  79. package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js +4 -4
  80. package/dist/bigconsole/components/widgets/list/ListConfig.js +30 -30
  81. package/dist/bigconsole/components/widgets/map-widget/MapWidget.d.ts +2 -0
  82. package/dist/bigconsole/components/widgets/map-widget/MapWidget.js +64 -63
  83. package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +38 -38
  84. package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js +9 -9
  85. package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.js +9 -9
  86. package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +49 -49
  87. package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +39 -39
  88. package/dist/bigconsole/components/widgets/table/TableConfig.js +73 -73
  89. package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +64 -64
  90. package/dist/bigconsole/components/workflow/WorkflowOpenGuard.js +15 -15
  91. package/dist/bigconsole/components/workflow/WorkflowSinkLinkForm.js +15 -15
  92. package/dist/bigconsole/constants/backendErrors.js +94 -0
  93. package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.js +10 -10
  94. package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +67 -67
  95. package/dist/bigconsole/graphql/widgetCapabilities.d.ts +7 -0
  96. package/dist/bigconsole/graphql/widgetCapabilities.js +37 -0
  97. package/dist/bigconsole/hooks/useDashboardLayoutBaseline.d.ts +14 -0
  98. package/dist/bigconsole/hooks/useDashboardLayoutBaseline.js +32 -0
  99. package/dist/bigconsole/hooks/useDataSinkAlerts.d.ts +23 -0
  100. package/dist/bigconsole/hooks/useDataSinkAlerts.js +138 -113
  101. package/dist/bigconsole/hooks/useDrilldown.js +3 -3
  102. package/dist/bigconsole/hooks/useGlobalFilters.js +3 -3
  103. package/dist/bigconsole/hooks/useWidgetCatalog.js +46 -41
  104. package/dist/bigconsole/hooks/useWidgetOperations.js +113 -88
  105. package/dist/bigconsole/pages/AdminPage.js +130 -130
  106. package/dist/bigconsole/pages/DashboardBuilderPage.js +72 -60
  107. package/dist/bigconsole/pages/DashboardViewPage.js +244 -221
  108. package/dist/bigconsole/pages/DashboardsPage.js +269 -221
  109. package/dist/bigconsole/pages/DataParsersPage.js +180 -157
  110. package/dist/bigconsole/pages/DataSinkAlertsPage.js +62 -55
  111. package/dist/bigconsole/pages/DataSinkBuilderPage.js +252 -234
  112. package/dist/bigconsole/pages/DataSinkViewPage.js +1 -1
  113. package/dist/bigconsole/pages/DataSinksPage.js +335 -299
  114. package/dist/bigconsole/pages/DataSourcesPage.js +5 -5
  115. package/dist/bigconsole/pages/InsightsPage.js +279 -265
  116. package/dist/bigconsole/pages/OverviewPage.js +47 -47
  117. package/dist/bigconsole/pages/ParserBuilderPage.js +229 -213
  118. package/dist/bigconsole/pages/ParserViewPage.js +97 -97
  119. package/dist/bigconsole/pages/PipelineBuilderPage.js +256 -214
  120. package/dist/bigconsole/pages/PipelineViewPage.js +146 -146
  121. package/dist/bigconsole/pages/PipelinesPage.js +107 -88
  122. package/dist/bigconsole/pages/SettingsPage.js +179 -173
  123. package/dist/bigconsole/pages/WidgetDemoPage.js +42 -42
  124. package/dist/bigconsole/pages/WorkflowViewPage.js +1 -1
  125. package/dist/bigconsole/pages/WorkflowsPage.js +141 -141
  126. package/dist/bigconsole/providers/BigConsoleQuotaProvider.js +12 -12
  127. package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.js +34 -34
  128. package/dist/bigconsole/renderers/adapters/BigConsoleRenderer.js +8 -5
  129. package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +69 -69
  130. package/dist/bigconsole/renderers/adapters/CustomRenderer.js +46 -46
  131. package/dist/bigconsole/store/widgetStore.d.ts +12 -0
  132. package/dist/bigconsole/store/widgetStore.js +3 -1
  133. package/dist/bigconsole/types/index.d.ts +1 -1
  134. package/dist/bigconsole/utils/advancedWidgetCapabilities.d.ts +14 -0
  135. package/dist/bigconsole/utils/advancedWidgetCapabilities.js +36 -0
  136. package/dist/bigconsole/utils/backendError.d.ts +18 -0
  137. package/dist/bigconsole/utils/backendError.js +42 -0
  138. package/dist/bigconsole/utils/dashboardList.d.ts +28 -0
  139. package/dist/bigconsole/utils/dashboardList.js +15 -0
  140. package/dist/bigconsole/utils/dataSinkList.d.ts +15 -0
  141. package/dist/bigconsole/utils/dataSinkList.js +15 -0
  142. package/dist/bigconsole/utils/formDirty.d.ts +82 -0
  143. package/dist/bigconsole/utils/formDirty.js +21 -0
  144. package/dist/bigconsole/utils/insightsDraft.d.ts +29 -0
  145. package/dist/bigconsole/utils/insightsDraft.js +8 -0
  146. package/dist/bigconsole/utils/layoutBaseline.d.ts +130 -0
  147. package/dist/bigconsole/utils/layoutBaseline.js +96 -0
  148. package/dist/bigconsole/utils/listSort.d.ts +80 -0
  149. package/dist/bigconsole/utils/listSort.js +85 -0
  150. package/dist/bigconsole/utils/widgetFormDirty.d.ts +16 -0
  151. package/dist/bigconsole/utils/widgetFormDirty.js +13 -0
  152. package/dist/bigconsole/utils/widgetTypeMapping.d.ts +1 -1
  153. package/dist/bigconsole/utils/widgetTypeMapping.js +13 -2
  154. package/dist/bigconsole/workflowOpen.js +15 -14
  155. package/dist/generated/wspace-operations.d.ts +61 -2
  156. package/dist/generated/wspace-operations.js +44 -18
  157. package/dist/generated/wspace-types.d.ts +34 -3
  158. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
1
  import { useEffect as e, useMemo as t, useState as n } from "react";
2
- import { jsx as r, jsxs as i } from "react/jsx-runtime";
3
- import { useI18n as a } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
2
+ import { useI18n as r } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
3
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
4
4
  //#region src/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.tsx
5
5
  var o = (e) => ({
6
6
  bgPrimary: e ? "#1f2937" : "#ffffff",
@@ -17,7 +17,7 @@ var o = (e) => ({
17
17
  backdropBg: "rgba(0, 0, 0, 0.5)"
18
18
  });
19
19
  function s({ filter: s, onSave: c, onClose: l }) {
20
- let { t: u } = a(), [d, f] = n(!1), [p, m] = n(!1), [h, g] = n(s?.name || ""), [_, v] = n(s?.type || "CATEGORY"), [y, b] = n(s?.isRequired || !1), [x, S] = n(s?.config?.options || [{
20
+ let { t: u } = r(), [d, f] = n(!1), [p, m] = n(!1), [h, g] = n(s?.name || ""), [_, v] = n(s?.type || "CATEGORY"), [y, b] = n(s?.isRequired || !1), [x, S] = n(s?.config?.options || [{
21
21
  value: "",
22
22
  label: ""
23
23
  }]), [C, w] = n(typeof s?.config?.field == "string" ? s.config.field : ""), [T, E] = n(s?.config?.placeholder || ""), [D, O] = n(!1);
@@ -88,7 +88,7 @@ function s({ filter: s, onSave: c, onClose: l }) {
88
88
  f(!1);
89
89
  }
90
90
  }, I = h.trim() !== "" && (_ !== "CATEGORY" || x.some((e) => e.value && e.label));
91
- return /* @__PURE__ */ r("div", {
91
+ return /* @__PURE__ */ i("div", {
92
92
  style: {
93
93
  position: "fixed",
94
94
  top: 0,
@@ -105,7 +105,7 @@ function s({ filter: s, onSave: c, onClose: l }) {
105
105
  isolation: "isolate"
106
106
  },
107
107
  onClick: l,
108
- children: /* @__PURE__ */ i("div", {
108
+ children: /* @__PURE__ */ a("div", {
109
109
  style: {
110
110
  width: "100%",
111
111
  maxWidth: "min(480px, calc(100vw - 2rem))",
@@ -118,7 +118,7 @@ function s({ filter: s, onSave: c, onClose: l }) {
118
118
  },
119
119
  onClick: (e) => e.stopPropagation(),
120
120
  children: [
121
- /* @__PURE__ */ i("div", {
121
+ /* @__PURE__ */ a("div", {
122
122
  style: {
123
123
  padding: "16px 20px",
124
124
  borderBottom: `1px solid ${k.borderDefault}`,
@@ -127,7 +127,7 @@ function s({ filter: s, onSave: c, onClose: l }) {
127
127
  justifyContent: "space-between",
128
128
  backgroundColor: k.bgPrimary
129
129
  },
130
- children: [/* @__PURE__ */ r("h3", {
130
+ children: [/* @__PURE__ */ i("h3", {
131
131
  style: {
132
132
  margin: 0,
133
133
  fontSize: "16px",
@@ -135,7 +135,7 @@ function s({ filter: s, onSave: c, onClose: l }) {
135
135
  color: k.textPrimary
136
136
  },
137
137
  children: A ? u("bigconsole.filters.editor.title.edit", "Edit Filter") : u("bigconsole.filters.editor.title.add", "Add Filter")
138
- }), /* @__PURE__ */ r("button", {
138
+ }), /* @__PURE__ */ i("button", {
139
139
  onClick: l,
140
140
  style: {
141
141
  background: "none",
@@ -148,7 +148,7 @@ function s({ filter: s, onSave: c, onClose: l }) {
148
148
  children: "×"
149
149
  })]
150
150
  }),
151
- /* @__PURE__ */ i("div", {
151
+ /* @__PURE__ */ a("div", {
152
152
  style: {
153
153
  padding: "20px",
154
154
  overflowY: "auto",
@@ -156,9 +156,9 @@ function s({ filter: s, onSave: c, onClose: l }) {
156
156
  backgroundColor: k.bgPrimary
157
157
  },
158
158
  children: [
159
- /* @__PURE__ */ i("div", {
159
+ /* @__PURE__ */ a("div", {
160
160
  style: { marginBottom: "16px" },
161
- children: [/* @__PURE__ */ r("label", {
161
+ children: [/* @__PURE__ */ i("label", {
162
162
  style: {
163
163
  display: "block",
164
164
  marginBottom: "6px",
@@ -167,7 +167,7 @@ function s({ filter: s, onSave: c, onClose: l }) {
167
167
  color: k.textPrimary
168
168
  },
169
169
  children: u("bigconsole.filters.editor.field.name.label", "Filter Name *")
170
- }), /* @__PURE__ */ r("input", {
170
+ }), /* @__PURE__ */ i("input", {
171
171
  type: "text",
172
172
  value: h,
173
173
  onChange: (e) => g(e.target.value),
@@ -184,35 +184,35 @@ function s({ filter: s, onSave: c, onClose: l }) {
184
184
  }
185
185
  })]
186
186
  }),
187
- /* @__PURE__ */ i("div", {
187
+ /* @__PURE__ */ a("div", {
188
188
  style: { marginBottom: "16px" },
189
189
  children: [
190
- /* @__PURE__ */ r("label", {
190
+ /* @__PURE__ */ i("label", {
191
191
  htmlFor: "global-filter-data-field",
192
192
  className: "mb-2 block text-sm font-medium text-text-primary",
193
193
  children: u("bigconsole.filters.editor.dataField", "Data field (optional)")
194
194
  }),
195
- /* @__PURE__ */ r("input", {
195
+ /* @__PURE__ */ i("input", {
196
196
  id: "global-filter-data-field",
197
197
  value: C,
198
198
  onChange: (e) => w(e.target.value),
199
199
  className: "w-full rounded-button border border-border-subtle bg-bg-surface px-3 py-2 text-text-primary",
200
200
  placeholder: u("bigconsole.filters.editor.dataFieldPlaceholder", "e.g., region, country, cohort")
201
201
  }),
202
- /* @__PURE__ */ r("p", {
202
+ /* @__PURE__ */ i("p", {
203
203
  className: "mt-1 text-xs text-text-secondary",
204
204
  children: u("bigconsole.filters.editor.dataFieldHelp", "Match a field in the parser output. Leave blank to use automatic matching.")
205
205
  })
206
206
  ]
207
207
  }),
208
- p && /* @__PURE__ */ r("p", {
208
+ p && /* @__PURE__ */ i("p", {
209
209
  role: "alert",
210
210
  className: "mb-3 text-sm text-status-error-text",
211
211
  children: u("bigconsole.filters.editor.saveError", "The filter could not be saved. Your changes are still here; try again.")
212
212
  }),
213
- !A && /* @__PURE__ */ i("div", {
213
+ !A && /* @__PURE__ */ a("div", {
214
214
  style: { marginBottom: "16px" },
215
- children: [/* @__PURE__ */ r("label", {
215
+ children: [/* @__PURE__ */ i("label", {
216
216
  style: {
217
217
  display: "block",
218
218
  marginBottom: "8px",
@@ -221,13 +221,13 @@ function s({ filter: s, onSave: c, onClose: l }) {
221
221
  color: k.textPrimary
222
222
  },
223
223
  children: u("bigconsole.filters.editor.field.type.label", "Filter Type *")
224
- }), /* @__PURE__ */ r("div", {
224
+ }), /* @__PURE__ */ i("div", {
225
225
  style: {
226
226
  display: "grid",
227
227
  gridTemplateColumns: "repeat(2, 1fr)",
228
228
  gap: "10px"
229
229
  },
230
- children: j.map((e) => /* @__PURE__ */ i("button", {
230
+ children: j.map((e) => /* @__PURE__ */ a("button", {
231
231
  onClick: () => v(e.value),
232
232
  type: "button",
233
233
  style: {
@@ -240,14 +240,14 @@ function s({ filter: s, onSave: c, onClose: l }) {
240
240
  transition: "all 0.2s ease",
241
241
  minHeight: "60px"
242
242
  },
243
- children: [/* @__PURE__ */ r("div", {
243
+ children: [/* @__PURE__ */ i("div", {
244
244
  style: {
245
245
  fontWeight: 500,
246
246
  fontSize: "13px",
247
247
  color: k.textPrimary
248
248
  },
249
249
  children: e.label
250
- }), /* @__PURE__ */ r("div", {
250
+ }), /* @__PURE__ */ i("div", {
251
251
  style: {
252
252
  fontSize: "11px",
253
253
  color: k.textSecondary,
@@ -259,9 +259,9 @@ function s({ filter: s, onSave: c, onClose: l }) {
259
259
  }, e.value))
260
260
  })]
261
261
  }),
262
- _ === "CATEGORY" && /* @__PURE__ */ i("div", {
262
+ _ === "CATEGORY" && /* @__PURE__ */ a("div", {
263
263
  style: { marginBottom: "16px" },
264
- children: [/* @__PURE__ */ r("label", {
264
+ children: [/* @__PURE__ */ i("label", {
265
265
  style: {
266
266
  display: "block",
267
267
  marginBottom: "8px",
@@ -270,20 +270,20 @@ function s({ filter: s, onSave: c, onClose: l }) {
270
270
  color: k.textPrimary
271
271
  },
272
272
  children: u("bigconsole.filters.editor.field.options.label", "Options")
273
- }), /* @__PURE__ */ i("div", {
273
+ }), /* @__PURE__ */ a("div", {
274
274
  style: {
275
275
  display: "flex",
276
276
  flexDirection: "column",
277
277
  gap: "8px"
278
278
  },
279
- children: [x.map((e, t) => /* @__PURE__ */ i("div", {
279
+ children: [x.map((e, t) => /* @__PURE__ */ a("div", {
280
280
  style: {
281
281
  display: "flex",
282
282
  gap: "8px",
283
283
  alignItems: "center"
284
284
  },
285
285
  children: [
286
- /* @__PURE__ */ r("input", {
286
+ /* @__PURE__ */ i("input", {
287
287
  type: "text",
288
288
  value: e.value,
289
289
  onChange: (e) => P(t, "value", e.target.value),
@@ -299,7 +299,7 @@ function s({ filter: s, onSave: c, onClose: l }) {
299
299
  color: k.textPrimary
300
300
  }
301
301
  }),
302
- /* @__PURE__ */ r("input", {
302
+ /* @__PURE__ */ i("input", {
303
303
  type: "text",
304
304
  value: e.label,
305
305
  onChange: (e) => P(t, "label", e.target.value),
@@ -315,7 +315,7 @@ function s({ filter: s, onSave: c, onClose: l }) {
315
315
  color: k.textPrimary
316
316
  }
317
317
  }),
318
- x.length > 1 && /* @__PURE__ */ r("button", {
318
+ x.length > 1 && /* @__PURE__ */ i("button", {
319
319
  type: "button",
320
320
  onClick: () => N(t),
321
321
  style: {
@@ -330,7 +330,7 @@ function s({ filter: s, onSave: c, onClose: l }) {
330
330
  children: u("bigconsole.filters.editor.field.options.remove", "Remove")
331
331
  })
332
332
  ]
333
- }, t)), /* @__PURE__ */ r("button", {
333
+ }, t)), /* @__PURE__ */ i("button", {
334
334
  type: "button",
335
335
  onClick: M,
336
336
  style: {
@@ -346,9 +346,9 @@ function s({ filter: s, onSave: c, onClose: l }) {
346
346
  })]
347
347
  })]
348
348
  }),
349
- (_ === "TEXT_SEARCH" || _ === "CATEGORY") && /* @__PURE__ */ i("div", {
349
+ (_ === "TEXT_SEARCH" || _ === "CATEGORY") && /* @__PURE__ */ a("div", {
350
350
  style: { marginBottom: "16px" },
351
- children: [/* @__PURE__ */ r("label", {
351
+ children: [/* @__PURE__ */ i("label", {
352
352
  style: {
353
353
  display: "block",
354
354
  marginBottom: "8px",
@@ -357,7 +357,7 @@ function s({ filter: s, onSave: c, onClose: l }) {
357
357
  color: k.textPrimary
358
358
  },
359
359
  children: u("bigconsole.filters.editor.field.placeholder.label", "Placeholder Text")
360
- }), /* @__PURE__ */ r("input", {
360
+ }), /* @__PURE__ */ i("input", {
361
361
  type: "text",
362
362
  value: T,
363
363
  onChange: (e) => E(e.target.value),
@@ -374,16 +374,16 @@ function s({ filter: s, onSave: c, onClose: l }) {
374
374
  }
375
375
  })]
376
376
  }),
377
- /* @__PURE__ */ r("div", {
377
+ /* @__PURE__ */ i("div", {
378
378
  style: { marginBottom: "16px" },
379
- children: /* @__PURE__ */ i("label", {
379
+ children: /* @__PURE__ */ a("label", {
380
380
  style: {
381
381
  display: "flex",
382
382
  alignItems: "center",
383
383
  gap: "8px",
384
384
  cursor: "pointer"
385
385
  },
386
- children: [/* @__PURE__ */ r("input", {
386
+ children: [/* @__PURE__ */ i("input", {
387
387
  type: "checkbox",
388
388
  checked: y,
389
389
  onChange: (e) => b(e.target.checked),
@@ -391,7 +391,7 @@ function s({ filter: s, onSave: c, onClose: l }) {
391
391
  width: "16px",
392
392
  height: "16px"
393
393
  }
394
- }), /* @__PURE__ */ r("span", {
394
+ }), /* @__PURE__ */ i("span", {
395
395
  style: {
396
396
  fontSize: "13px",
397
397
  color: k.textPrimary
@@ -402,7 +402,7 @@ function s({ filter: s, onSave: c, onClose: l }) {
402
402
  })
403
403
  ]
404
404
  }),
405
- /* @__PURE__ */ i("div", {
405
+ /* @__PURE__ */ a("div", {
406
406
  style: {
407
407
  padding: "16px 20px",
408
408
  borderTop: `1px solid ${k.borderDefault}`,
@@ -411,7 +411,7 @@ function s({ filter: s, onSave: c, onClose: l }) {
411
411
  gap: "12px",
412
412
  backgroundColor: k.bgPrimary
413
413
  },
414
- children: [/* @__PURE__ */ r("button", {
414
+ children: [/* @__PURE__ */ i("button", {
415
415
  type: "button",
416
416
  onClick: l,
417
417
  style: {
@@ -424,7 +424,7 @@ function s({ filter: s, onSave: c, onClose: l }) {
424
424
  color: k.textSecondary
425
425
  },
426
426
  children: u("bigconsole.filters.editor.action.cancel", "Cancel")
427
- }), /* @__PURE__ */ r("button", {
427
+ }), /* @__PURE__ */ i("button", {
428
428
  type: "button",
429
429
  onClick: F,
430
430
  disabled: !I || d,
@@ -1,10 +1,10 @@
1
1
  import { SEMANTIC_COLORS as e } from "../../../utils/semanticTokens.js";
2
2
  import { useEffect as t, useRef as n, useState as r } from "react";
3
- import { jsx as i, jsxs as a } from "react/jsx-runtime";
4
- import { useI18n as o } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
3
+ import { useI18n as i } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
4
+ import { jsx as a, jsxs as o } from "react/jsx-runtime";
5
5
  //#region src/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.tsx
6
6
  function s({ presets: s, activePresetId: c, onApplyPreset: l, onSavePreset: u, onDeletePreset: d, disabled: f = !1 }) {
7
- let { t: p } = o(), [m, h] = r(!1), [g, _] = r(!1), [v, y] = r(""), [b, x] = r(""), S = n(null), C = s.find((e) => e.id === c);
7
+ let { t: p } = i(), [m, h] = r(!1), [g, _] = r(!1), [v, y] = r(""), [b, x] = r(""), S = n(null), C = s.find((e) => e.id === c);
8
8
  t(() => {
9
9
  function e(e) {
10
10
  S.current && !S.current.contains(e.target) && (h(!1), _(!1));
@@ -16,13 +16,13 @@ function s({ presets: s, activePresetId: c, onApplyPreset: l, onSavePreset: u, o
16
16
  }, T = (e, t) => {
17
17
  e.stopPropagation(), window.confirm(p("bigconsole.filters.presets.deleteConfirm", "Are you sure you want to delete this preset?")) && d(t);
18
18
  };
19
- return /* @__PURE__ */ a("div", {
19
+ return /* @__PURE__ */ o("div", {
20
20
  ref: S,
21
21
  style: {
22
22
  position: "relative",
23
23
  display: "inline-block"
24
24
  },
25
- children: [/* @__PURE__ */ a("button", {
25
+ children: [/* @__PURE__ */ o("button", {
26
26
  onClick: () => !f && h(!m),
27
27
  disabled: f,
28
28
  style: {
@@ -42,13 +42,13 @@ function s({ presets: s, activePresetId: c, onApplyPreset: l, onSavePreset: u, o
42
42
  maxWidth: "100%",
43
43
  justifyContent: "space-between"
44
44
  },
45
- children: [/* @__PURE__ */ a("span", {
45
+ children: [/* @__PURE__ */ o("span", {
46
46
  style: {
47
47
  display: "flex",
48
48
  alignItems: "center",
49
49
  gap: "6px"
50
50
  },
51
- children: [/* @__PURE__ */ a("svg", {
51
+ children: [/* @__PURE__ */ o("svg", {
52
52
  width: "14",
53
53
  height: "14",
54
54
  viewBox: "0 0 24 24",
@@ -56,12 +56,12 @@ function s({ presets: s, activePresetId: c, onApplyPreset: l, onSavePreset: u, o
56
56
  stroke: "currentColor",
57
57
  strokeWidth: "2",
58
58
  children: [
59
- /* @__PURE__ */ i("path", { d: "M19 21H5a2 2 0 01-2-2V5a2 2 0 012-2h11l5 5v11a2 2 0 01-2 2z" }),
60
- /* @__PURE__ */ i("polyline", { points: "17,21 17,13 7,13 7,21" }),
61
- /* @__PURE__ */ i("polyline", { points: "7,3 7,8 15,8" })
59
+ /* @__PURE__ */ a("path", { d: "M19 21H5a2 2 0 01-2-2V5a2 2 0 012-2h11l5 5v11a2 2 0 01-2 2z" }),
60
+ /* @__PURE__ */ a("polyline", { points: "17,21 17,13 7,13 7,21" }),
61
+ /* @__PURE__ */ a("polyline", { points: "7,3 7,8 15,8" })
62
62
  ]
63
63
  }), C ? C.name : p("bigconsole.filters.presets.buttonLabel", "Presets")]
64
- }), /* @__PURE__ */ i("svg", {
64
+ }), /* @__PURE__ */ a("svg", {
65
65
  width: "12",
66
66
  height: "12",
67
67
  viewBox: "0 0 24 24",
@@ -72,9 +72,9 @@ function s({ presets: s, activePresetId: c, onApplyPreset: l, onSavePreset: u, o
72
72
  transform: m ? "rotate(180deg)" : "rotate(0deg)",
73
73
  transition: "transform 0.2s ease"
74
74
  },
75
- children: /* @__PURE__ */ i("polyline", { points: "6,9 12,15 18,9" })
75
+ children: /* @__PURE__ */ a("polyline", { points: "6,9 12,15 18,9" })
76
76
  })]
77
- }), m && /* @__PURE__ */ a("div", {
77
+ }), m && /* @__PURE__ */ o("div", {
78
78
  style: {
79
79
  position: "absolute",
80
80
  top: "100%",
@@ -90,7 +90,7 @@ function s({ presets: s, activePresetId: c, onApplyPreset: l, onSavePreset: u, o
90
90
  overflow: "hidden"
91
91
  },
92
92
  children: [
93
- /* @__PURE__ */ a("div", {
93
+ /* @__PURE__ */ o("div", {
94
94
  style: {
95
95
  padding: "12px 16px",
96
96
  borderBottom: `1px solid ${e.borderDefault}`,
@@ -99,14 +99,14 @@ function s({ presets: s, activePresetId: c, onApplyPreset: l, onSavePreset: u, o
99
99
  justifyContent: "space-between",
100
100
  alignItems: "center"
101
101
  },
102
- children: [/* @__PURE__ */ i("span", {
102
+ children: [/* @__PURE__ */ a("span", {
103
103
  style: {
104
104
  fontWeight: 600,
105
105
  fontSize: "13px",
106
106
  color: e.textPrimary
107
107
  },
108
108
  children: p("bigconsole.filters.presets.header", "Filter Presets")
109
- }), /* @__PURE__ */ i("button", {
109
+ }), /* @__PURE__ */ a("button", {
110
110
  onClick: () => _(!0),
111
111
  style: {
112
112
  padding: "4px 10px",
@@ -121,14 +121,14 @@ function s({ presets: s, activePresetId: c, onApplyPreset: l, onSavePreset: u, o
121
121
  children: p("bigconsole.filters.presets.saveCurrent", "+ Save Current")
122
122
  })]
123
123
  }),
124
- g && /* @__PURE__ */ a("div", {
124
+ g && /* @__PURE__ */ o("div", {
125
125
  style: {
126
126
  padding: "12px 16px",
127
127
  borderBottom: `1px solid ${e.borderDefault}`,
128
128
  backgroundColor: e.bgSecondary
129
129
  },
130
130
  children: [
131
- /* @__PURE__ */ i("input", {
131
+ /* @__PURE__ */ a("input", {
132
132
  type: "text",
133
133
  value: v,
134
134
  onChange: (e) => y(e.target.value),
@@ -146,7 +146,7 @@ function s({ presets: s, activePresetId: c, onApplyPreset: l, onSavePreset: u, o
146
146
  color: e.textPrimary
147
147
  }
148
148
  }),
149
- /* @__PURE__ */ i("input", {
149
+ /* @__PURE__ */ a("input", {
150
150
  type: "text",
151
151
  value: b,
152
152
  onChange: (e) => x(e.target.value),
@@ -163,13 +163,13 @@ function s({ presets: s, activePresetId: c, onApplyPreset: l, onSavePreset: u, o
163
163
  color: e.textPrimary
164
164
  }
165
165
  }),
166
- /* @__PURE__ */ a("div", {
166
+ /* @__PURE__ */ o("div", {
167
167
  style: {
168
168
  display: "flex",
169
169
  gap: "8px",
170
170
  justifyContent: "flex-end"
171
171
  },
172
- children: [/* @__PURE__ */ i("button", {
172
+ children: [/* @__PURE__ */ a("button", {
173
173
  onClick: () => {
174
174
  _(!1), y(""), x("");
175
175
  },
@@ -183,7 +183,7 @@ function s({ presets: s, activePresetId: c, onApplyPreset: l, onSavePreset: u, o
183
183
  color: e.textSecondary
184
184
  },
185
185
  children: p("bigconsole.filters.presets.cancel", "Cancel")
186
- }), /* @__PURE__ */ i("button", {
186
+ }), /* @__PURE__ */ a("button", {
187
187
  onClick: w,
188
188
  disabled: !v.trim(),
189
189
  style: {
@@ -201,12 +201,12 @@ function s({ presets: s, activePresetId: c, onApplyPreset: l, onSavePreset: u, o
201
201
  })
202
202
  ]
203
203
  }),
204
- /* @__PURE__ */ a("div", {
204
+ /* @__PURE__ */ o("div", {
205
205
  style: {
206
206
  maxHeight: "300px",
207
207
  overflowY: "auto"
208
208
  },
209
- children: [s.map((t) => /* @__PURE__ */ a("div", {
209
+ children: [s.map((t) => /* @__PURE__ */ o("div", {
210
210
  onClick: () => {
211
211
  l(t.id), h(!1);
212
212
  },
@@ -227,9 +227,9 @@ function s({ presets: s, activePresetId: c, onApplyPreset: l, onSavePreset: u, o
227
227
  c !== t.id && (e.currentTarget.style.backgroundColor = "transparent");
228
228
  },
229
229
  children: [
230
- /* @__PURE__ */ a("div", {
230
+ /* @__PURE__ */ o("div", {
231
231
  style: { flex: 1 },
232
- children: [/* @__PURE__ */ a("div", {
232
+ children: [/* @__PURE__ */ o("div", {
233
233
  style: {
234
234
  fontSize: "13px",
235
235
  fontWeight: 500,
@@ -238,7 +238,7 @@ function s({ presets: s, activePresetId: c, onApplyPreset: l, onSavePreset: u, o
238
238
  alignItems: "center",
239
239
  gap: "6px"
240
240
  },
241
- children: [t.name, t.isDefault && /* @__PURE__ */ i("span", {
241
+ children: [t.name, t.isDefault && /* @__PURE__ */ a("span", {
242
242
  style: {
243
243
  fontSize: "10px",
244
244
  padding: "2px 6px",
@@ -248,7 +248,7 @@ function s({ presets: s, activePresetId: c, onApplyPreset: l, onSavePreset: u, o
248
248
  },
249
249
  children: p("bigconsole.filters.presets.defaultBadge", "Default")
250
250
  })]
251
- }), t.description && /* @__PURE__ */ i("div", {
251
+ }), t.description && /* @__PURE__ */ a("div", {
252
252
  style: {
253
253
  fontSize: "11px",
254
254
  color: e.textTertiary,
@@ -257,7 +257,7 @@ function s({ presets: s, activePresetId: c, onApplyPreset: l, onSavePreset: u, o
257
257
  children: t.description
258
258
  })]
259
259
  }),
260
- !t.isDefault && !t.id.startsWith("preset-last") && !t.id.startsWith("preset-this") && /* @__PURE__ */ i("button", {
260
+ !t.isDefault && !t.id.startsWith("preset-last") && !t.id.startsWith("preset-this") && /* @__PURE__ */ a("button", {
261
261
  onClick: (e) => T(e, t.id),
262
262
  style: {
263
263
  padding: "4px",
@@ -277,17 +277,17 @@ function s({ presets: s, activePresetId: c, onApplyPreset: l, onSavePreset: u, o
277
277
  t.currentTarget.style.backgroundColor = "transparent", t.currentTarget.style.color = e.textTertiary;
278
278
  },
279
279
  title: p("bigconsole.filters.presets.deletePresetTitle", "Delete preset"),
280
- children: /* @__PURE__ */ a("svg", {
280
+ children: /* @__PURE__ */ o("svg", {
281
281
  width: "14",
282
282
  height: "14",
283
283
  viewBox: "0 0 24 24",
284
284
  fill: "none",
285
285
  stroke: "currentColor",
286
286
  strokeWidth: "2",
287
- children: [/* @__PURE__ */ i("polyline", { points: "3,6 5,6 21,6" }), /* @__PURE__ */ i("path", { d: "M19,6v14a2,2,0,01-2,2H7a2,2,0,01-2-2V6m3,0V4a2,2,0,012-2h4a2,2,0,012,2v2" })]
287
+ children: [/* @__PURE__ */ a("polyline", { points: "3,6 5,6 21,6" }), /* @__PURE__ */ a("path", { d: "M19,6v14a2,2,0,01-2,2H7a2,2,0,01-2-2V6m3,0V4a2,2,0,012-2h4a2,2,0,012,2v2" })]
288
288
  })
289
289
  }),
290
- c === t.id && /* @__PURE__ */ i("svg", {
290
+ c === t.id && /* @__PURE__ */ a("svg", {
291
291
  width: "16",
292
292
  height: "16",
293
293
  viewBox: "0 0 24 24",
@@ -295,10 +295,10 @@ function s({ presets: s, activePresetId: c, onApplyPreset: l, onSavePreset: u, o
295
295
  stroke: e.actionPrimaryBg,
296
296
  strokeWidth: "3",
297
297
  style: { marginLeft: "8px" },
298
- children: /* @__PURE__ */ i("polyline", { points: "20,6 9,17 4,12" })
298
+ children: /* @__PURE__ */ a("polyline", { points: "20,6 9,17 4,12" })
299
299
  })
300
300
  ]
301
- }, t.id)), s.length === 0 && /* @__PURE__ */ i("div", {
301
+ }, t.id)), s.length === 0 && /* @__PURE__ */ a("div", {
302
302
  style: {
303
303
  padding: "20px 16px",
304
304
  textAlign: "center",