@burdenoff/microfe-bigconsole 2026.1011.10 → 2026.1012.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/README.md +19 -0
  2. package/dist/bigconsole/BigConsoleRoot.js +88 -82
  3. package/dist/bigconsole/BigConsoleRoutes.js +163 -136
  4. package/dist/bigconsole/assistant/assistantProduct.js +1 -4
  5. package/dist/bigconsole/assistant/pageContext.d.ts +0 -14
  6. package/dist/bigconsole/assistant/pageContext.js +1 -6
  7. package/dist/bigconsole/assistant/recordAdapters.js +26 -27
  8. package/dist/bigconsole/components/builder/inspector/DataBindingSection.js +31 -31
  9. package/dist/bigconsole/components/common/index.d.ts +0 -1
  10. package/dist/bigconsole/components/common/index.js +0 -1
  11. package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js +44 -44
  12. package/dist/bigconsole/components/dashboard/DashboardCanvas.js +36 -36
  13. package/dist/bigconsole/components/dashboard/DashboardToolbar.js +59 -59
  14. package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js +58 -57
  15. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +30 -30
  16. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js +41 -41
  17. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js +34 -34
  18. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js +34 -34
  19. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js +110 -110
  20. package/dist/bigconsole/components/dashboard/PublishToStoreDialog.js +21 -21
  21. package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.js +46 -46
  22. package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js +164 -173
  23. package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +101 -101
  24. package/dist/bigconsole/components/dashboard/TemplateInstallOptions.js +31 -31
  25. package/dist/bigconsole/components/dashboard/TemplateLayoutPreview.js +15 -15
  26. package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.js +1 -1
  27. package/dist/bigconsole/components/dashboard/WidgetPalette.js +165 -163
  28. package/dist/bigconsole/components/datasink/AlertExecutionHistory.js +37 -37
  29. package/dist/bigconsole/components/datasink/AlertRuleEditor.js +66 -66
  30. package/dist/bigconsole/components/datasink/CacheTTLSelector.js +35 -35
  31. package/dist/bigconsole/components/datasink/DataSinkCard.js +50 -51
  32. package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js +18 -18
  33. package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js +20 -20
  34. package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js +47 -47
  35. package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js +91 -91
  36. package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +35 -35
  37. package/dist/bigconsole/components/parser/DataSinkSelector.js +40 -40
  38. package/dist/bigconsole/components/parser/ImportParserDialog.js +120 -120
  39. package/dist/bigconsole/components/parser/ParserSelector.js +51 -51
  40. package/dist/bigconsole/components/pipeline/PipelineScopePicker.js +10 -10
  41. package/dist/bigconsole/components/preview/AiPreviewMiniPanel.js +76 -77
  42. package/dist/bigconsole/components/preview/AiPreviewPanel.js +95 -96
  43. package/dist/bigconsole/components/widgets/ActionConfigDialog.js +4 -4
  44. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +93 -93
  45. package/dist/bigconsole/components/widgets/PropertiesPanel.js +499 -507
  46. package/dist/bigconsole/components/widgets/WidgetRegistry.js +0 -1
  47. package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js +4 -4
  48. package/dist/bigconsole/components/widgets/chart/ChartConfig.js +48 -48
  49. package/dist/bigconsole/components/widgets/comments/WidgetComments.js +46 -46
  50. package/dist/bigconsole/components/widgets/custom/CustomWidget.js +73 -131
  51. package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +61 -61
  52. package/dist/bigconsole/components/widgets/form/FormWidget.js +36 -36
  53. package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +42 -42
  54. package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js +25 -25
  55. package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.d.ts +28 -9
  56. package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.js +115 -42
  57. package/dist/bigconsole/components/widgets/iframe-widget/framePolicy.d.ts +20 -0
  58. package/dist/bigconsole/components/widgets/iframe-widget/framePolicy.js +10 -0
  59. package/dist/bigconsole/components/widgets/iframe-widget/index.d.ts +2 -1
  60. package/dist/bigconsole/components/widgets/iframe-widget/index.js +3 -2
  61. package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js +4 -4
  62. package/dist/bigconsole/components/widgets/list/ListConfig.js +30 -30
  63. package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +38 -38
  64. package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js +9 -9
  65. package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.js +9 -9
  66. package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +49 -49
  67. package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +39 -39
  68. package/dist/bigconsole/components/widgets/table/TableConfig.js +73 -73
  69. package/dist/bigconsole/components/widgets/text-widget/TextWidget.js +110 -27
  70. package/dist/bigconsole/components/widgets/text-widget/textData.d.ts +6 -0
  71. package/dist/bigconsole/components/widgets/text-widget/textData.js +17 -14
  72. package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +64 -64
  73. package/dist/bigconsole/components/workflow/WorkflowOpenGuard.js +15 -15
  74. package/dist/bigconsole/components/workflow/WorkflowSinkLinkForm.js +15 -15
  75. package/dist/bigconsole/context/BigConsoleContext.d.ts +10 -0
  76. package/dist/bigconsole/context/BigConsoleContext.js +47 -30
  77. package/dist/bigconsole/context/index.d.ts +1 -1
  78. package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.js +58 -49
  79. package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +74 -72
  80. package/dist/bigconsole/customWidget/proposalPreview.d.ts +5 -0
  81. package/dist/bigconsole/customWidget/proposalPreview.js +31 -0
  82. package/dist/bigconsole/hooks/useDataSinkAlerts.d.ts +0 -23
  83. package/dist/bigconsole/hooks/useDataSinkAlerts.js +113 -138
  84. package/dist/bigconsole/hooks/useDataSinkOperations.d.ts +7 -0
  85. package/dist/bigconsole/hooks/useDataSinkOperations.js +109 -98
  86. package/dist/bigconsole/hooks/useDataSinkSubscription.js +0 -1
  87. package/dist/bigconsole/hooks/useDrilldown.js +68 -67
  88. package/dist/bigconsole/hooks/useExportDataSink.js +1 -1
  89. package/dist/bigconsole/hooks/useGlobalFilters.js +3 -3
  90. package/dist/bigconsole/hooks/useImportDataSink.js +102 -90
  91. package/dist/bigconsole/pages/AdminPage.js +130 -130
  92. package/dist/bigconsole/pages/DashboardBuilderPage.js +60 -72
  93. package/dist/bigconsole/pages/DashboardViewPage.js +235 -258
  94. package/dist/bigconsole/pages/DashboardsPage.js +221 -269
  95. package/dist/bigconsole/pages/DataParsersPage.js +157 -180
  96. package/dist/bigconsole/pages/DataSinkAlertsPage.js +55 -62
  97. package/dist/bigconsole/pages/DataSinkBuilderPage.js +318 -295
  98. package/dist/bigconsole/pages/DataSinkViewPage.js +256 -255
  99. package/dist/bigconsole/pages/DataSinksPage.js +216 -251
  100. package/dist/bigconsole/pages/DataSourcesPage.js +5 -5
  101. package/dist/bigconsole/pages/InsightsPage.js +265 -279
  102. package/dist/bigconsole/pages/OverviewPage.js +47 -47
  103. package/dist/bigconsole/pages/ParserBuilderPage.js +213 -229
  104. package/dist/bigconsole/pages/ParserViewPage.js +97 -97
  105. package/dist/bigconsole/pages/PipelineBuilderPage.js +214 -256
  106. package/dist/bigconsole/pages/PipelineViewPage.js +146 -146
  107. package/dist/bigconsole/pages/PipelinesPage.js +88 -107
  108. package/dist/bigconsole/pages/SettingsPage.js +173 -179
  109. package/dist/bigconsole/pages/WidgetDemoPage.js +42 -42
  110. package/dist/bigconsole/pages/WorkflowViewPage.js +1 -1
  111. package/dist/bigconsole/pages/WorkflowsPage.js +141 -141
  112. package/dist/bigconsole/providers/BigConsoleQuotaProvider.js +12 -12
  113. package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.js +235 -122
  114. package/dist/bigconsole/renderers/adapters/BlockKitRenderer.d.ts +6 -1
  115. package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +151 -151
  116. package/dist/bigconsole/renderers/adapters/CustomRenderer.js +46 -46
  117. package/dist/bigconsole/renderers/adapters/adaptiveCardContent.d.ts +29 -0
  118. package/dist/bigconsole/renderers/adapters/adaptiveCardContent.js +51 -0
  119. package/dist/bigconsole/store/widgetStore.d.ts +0 -12
  120. package/dist/bigconsole/store/widgetStore.js +1 -3
  121. package/dist/bigconsole/types/index.d.ts +17 -2
  122. package/dist/bigconsole/utils/backendError.d.ts +0 -18
  123. package/dist/bigconsole/utils/dataSinkPayload.d.ts +48 -0
  124. package/dist/bigconsole/utils/dataSinkPayload.js +38 -0
  125. package/dist/bigconsole/utils/index.d.ts +2 -0
  126. package/dist/bigconsole/utils/safeUrl.d.ts +79 -0
  127. package/dist/bigconsole/utils/safeUrl.js +93 -0
  128. package/dist/bigconsole/utils/sanitizeHtml.d.ts +16 -0
  129. package/dist/bigconsole/utils/sanitizeHtml.js +67 -0
  130. package/dist/bigconsole/workflowOpen.js +14 -15
  131. package/dist/generated/wspace-operations.d.ts +138 -8
  132. package/dist/generated/wspace-operations.js +281 -240
  133. package/dist/node_modules/dompurify/dist/purify.es.js +800 -0
  134. package/package.json +9 -5
  135. package/dist/bigconsole/assistant/displayCopy.d.ts +0 -32
  136. package/dist/bigconsole/assistant/pageControls.d.ts +0 -81
  137. package/dist/bigconsole/assistant/pageControls.js +0 -169
  138. package/dist/bigconsole/assistant/previewControl.d.ts +0 -16
  139. package/dist/bigconsole/assistant/previewControl.js +0 -10
  140. package/dist/bigconsole/assistant/usePreviewControl.d.ts +0 -2
  141. package/dist/bigconsole/assistant/usePreviewControl.js +0 -20
  142. package/dist/bigconsole/components/common/SortBySelect.d.ts +0 -11
  143. package/dist/bigconsole/components/common/SortBySelect.js +0 -29
  144. package/dist/bigconsole/constants/backendErrors.js +0 -94
  145. package/dist/bigconsole/hooks/useDashboardLayoutBaseline.d.ts +0 -14
  146. package/dist/bigconsole/hooks/useDashboardLayoutBaseline.js +0 -32
  147. package/dist/bigconsole/utils/backendError.js +0 -42
  148. package/dist/bigconsole/utils/dashboardList.d.ts +0 -28
  149. package/dist/bigconsole/utils/dashboardList.js +0 -15
  150. package/dist/bigconsole/utils/dataSinkList.d.ts +0 -15
  151. package/dist/bigconsole/utils/dataSinkList.js +0 -15
  152. package/dist/bigconsole/utils/formDirty.d.ts +0 -82
  153. package/dist/bigconsole/utils/formDirty.js +0 -21
  154. package/dist/bigconsole/utils/insightsDraft.d.ts +0 -29
  155. package/dist/bigconsole/utils/insightsDraft.js +0 -8
  156. package/dist/bigconsole/utils/layoutBaseline.d.ts +0 -130
  157. package/dist/bigconsole/utils/layoutBaseline.js +0 -96
  158. package/dist/bigconsole/utils/listSort.d.ts +0 -80
  159. package/dist/bigconsole/utils/listSort.js +0 -85
  160. package/dist/bigconsole/utils/widgetFormDirty.d.ts +0 -16
  161. package/dist/bigconsole/utils/widgetFormDirty.js +0 -13
@@ -8,35 +8,26 @@ import { WorkflowOpenGuard as a } from "./components/workflow/WorkflowOpenGuard.
8
8
  import { Suspense as o, lazy as s, memo as c, useEffect as l, useMemo as u, useRef as d, useState as f } from "react";
9
9
  import { Navigate as p, Route as m, Routes as h, useParams as g } from "react-router";
10
10
  import { Spinner as _ } from "@burdenoff/fe-libs/ui";
11
- import { useUnsavedChanges as v } from "@burdenoff/fe-libs/shared/hooks";
12
- import { useI18n as y } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
13
- import { useApolloClient as b } from "@apollo/client/react";
14
- import { jsx as x, jsxs as S } from "react/jsx-runtime";
15
- import { ExecutionDetailPage as C, ExecutionsListPage as w, HistoryPage as T, NodesPage as E, SettingsPage as D, TemplatesPage as O, WorkflowBuilderPage as k } from "@burdenoff/fluidgrids-fe-sdk";
11
+ import { useApolloClient as v } from "@apollo/client/react";
12
+ import { jsx as y, jsxs as b } from "react/jsx-runtime";
13
+ import { ExecutionDetailPage as x, ExecutionsListPage as S, HistoryPage as C, NodesPage as w, SettingsPage as T, TemplatesPage as E, WorkflowBuilderPage as D } from "@burdenoff/fluidgrids-fe-sdk";
16
14
  //#region src/bigconsole/BigConsoleRoutes.tsx
17
- var A = c(function() {
18
- let { t: e } = y();
19
- return v({
20
- id: "workflow-editor",
21
- label: e("bigconsole.assistant.unsaved.workflowEditor", "the workflow editor"),
22
- dirty: !0
23
- }), /* @__PURE__ */ x(k, {});
24
- }), j = s(() => import("./pages/OverviewPage.js")), M = s(() => import("./pages/DashboardsPage.js")), N = s(() => import("./pages/DashboardViewPage.js")), ee = s(() => import("./pages/DashboardBuilderPage.js")), P = s(() => import("./pages/DataSourcesPage.js")), F = s(() => import("./pages/InsightsPage.js")), I = s(() => import("./pages/SettingsPage.js")), L = s(() => import("./pages/WidgetDemoPage.js")), R = s(() => import("./pages/WorkflowsPage.js").then((e) => ({ default: e.WorkflowsPage }))), z = s(() => import("./pages/WorkflowViewPage.js").then((e) => ({ default: e.WorkflowViewPage }))), B = s(() => import("./pages/DataSinksPage.js")), V = s(() => import("./pages/DataSinkViewPage.js")), H = s(() => import("./pages/DataSinkAlertsPage.js")), U = s(() => import("./pages/DataSinkBuilderPage.js")), W = s(() => import("./pages/DataParsersPage.js")), G = s(() => import("./pages/ParserViewPage.js")), K = s(() => import("./pages/ParserBuilderPage.js")), q = s(() => import("./pages/PipelinesPage.js")), J = s(() => import("./pages/PipelineViewPage.js")), Y = s(() => import("./pages/PipelineBuilderPage.js"));
25
- function X() {
26
- return /* @__PURE__ */ x("div", {
15
+ var O = s(() => import("./pages/OverviewPage.js")), k = s(() => import("./pages/DashboardsPage.js")), A = s(() => import("./pages/DashboardViewPage.js")), j = s(() => import("./pages/DashboardBuilderPage.js")), M = s(() => import("./pages/DataSourcesPage.js")), N = s(() => import("./pages/InsightsPage.js")), P = s(() => import("./pages/SettingsPage.js")), F = s(() => import("./pages/WidgetDemoPage.js")), I = s(() => import("./pages/WorkflowsPage.js").then((e) => ({ default: e.WorkflowsPage }))), L = s(() => import("./pages/WorkflowViewPage.js").then((e) => ({ default: e.WorkflowViewPage }))), R = s(() => import("./pages/DataSinksPage.js")), z = s(() => import("./pages/DataSinkViewPage.js")), B = s(() => import("./pages/DataSinkAlertsPage.js")), V = s(() => import("./pages/DataSinkBuilderPage.js")), H = s(() => import("./pages/DataParsersPage.js")), U = s(() => import("./pages/ParserViewPage.js")), W = s(() => import("./pages/ParserBuilderPage.js")), G = s(() => import("./pages/PipelinesPage.js")), K = s(() => import("./pages/PipelineViewPage.js")), q = s(() => import("./pages/PipelineBuilderPage.js"));
16
+ function J() {
17
+ return /* @__PURE__ */ y("div", {
27
18
  className: "flex items-center justify-center min-h-[400px]",
28
- children: /* @__PURE__ */ x(_, { className: "h-8 w-8" })
19
+ children: /* @__PURE__ */ y(_, { className: "h-8 w-8" })
29
20
  });
30
21
  }
31
- var Z = () => `/workflows/workflow/${crypto.randomUUID()}/v1`;
32
- function Q() {
33
- return /* @__PURE__ */ x(p, {
34
- to: u(() => Z(), []),
22
+ var Y = () => `/workflows/workflow/${crypto.randomUUID()}/v1`;
23
+ function X() {
24
+ return /* @__PURE__ */ y(p, {
25
+ to: u(() => Y(), []),
35
26
  replace: !0,
36
27
  state: i
37
28
  });
38
29
  }
39
- var te = c(function() {
30
+ var Z = c(function() {
40
31
  let { workflowId: t } = g(), i = e(), { fetchWorkflow: a } = n({ skipFetch: !0 }), [o, s] = f(null), c = d(0);
41
32
  return l(() => {
42
33
  if (!t) {
@@ -60,23 +51,23 @@ var te = c(function() {
60
51
  t,
61
52
  a,
62
53
  i
63
- ]), o ? /* @__PURE__ */ S("div", {
54
+ ]), o ? /* @__PURE__ */ b("div", {
64
55
  className: "p-6 flex flex-col items-center justify-center min-h-[400px] text-center gap-4",
65
- children: [/* @__PURE__ */ x("p", {
56
+ children: [/* @__PURE__ */ y("p", {
66
57
  className: "text-sm text-text-secondary",
67
58
  children: o
68
- }), /* @__PURE__ */ x("button", {
59
+ }), /* @__PURE__ */ y("button", {
69
60
  type: "button",
70
61
  onClick: () => i("/workflows"),
71
62
  className: "px-4 py-2 text-sm font-medium text-text-primary bg-bg-sunken hover:bg-border-default rounded-md transition-colors",
72
63
  children: "Back to Workflows"
73
64
  })]
74
- }) : /* @__PURE__ */ x("div", {
65
+ }) : /* @__PURE__ */ y("div", {
75
66
  className: "flex items-center justify-center min-h-[400px]",
76
- children: /* @__PURE__ */ x(_, { className: "h-8 w-8" })
67
+ children: /* @__PURE__ */ y(_, { className: "h-8 w-8" })
77
68
  });
78
- }), ne = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i, $ = c(function() {
79
- let { id: n, version: i } = g(), o = e(), s = b(), c = !!n && ne.test(n), [u, p] = f(null), [m, h] = f(null), [v, y] = f(0), C = d(0);
69
+ }), Q = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i, $ = c(function() {
70
+ let { id: n, version: i } = g(), o = e(), s = v(), c = !!n && Q.test(n), [u, p] = f(null), [m, h] = f(null), [x, S] = f(0), C = d(0);
80
71
  return l(() => {
81
72
  if (!n || !c) return;
82
73
  C.current = 0;
@@ -104,223 +95,259 @@ var te = c(function() {
104
95
  i,
105
96
  s,
106
97
  o,
107
- v
108
- ]), !c || u === n ? /* @__PURE__ */ x(a, {
98
+ x
99
+ ]), !c || u === n ? /* @__PURE__ */ y(a, {
109
100
  workflowKey: n ?? "",
110
- children: /* @__PURE__ */ x(A, {})
111
- }) : m === n ? /* @__PURE__ */ S("div", {
101
+ children: /* @__PURE__ */ y(D, {})
102
+ }) : m === n ? /* @__PURE__ */ b("div", {
112
103
  className: "p-6 flex flex-col items-center justify-center min-h-[400px] text-center gap-4",
113
- children: [/* @__PURE__ */ x("p", {
104
+ children: [/* @__PURE__ */ y("p", {
114
105
  className: "text-sm text-text-secondary",
115
106
  children: "Couldn't load this workflow. Please try again."
116
- }), /* @__PURE__ */ S("div", {
107
+ }), /* @__PURE__ */ b("div", {
117
108
  className: "flex items-center gap-2",
118
- children: [/* @__PURE__ */ x("button", {
109
+ children: [/* @__PURE__ */ y("button", {
119
110
  type: "button",
120
111
  onClick: () => {
121
- h(null), y((e) => e + 1);
112
+ h(null), S((e) => e + 1);
122
113
  },
123
114
  className: "px-4 py-2 text-sm font-medium text-action-primary-fg bg-action-primary-bg hover:bg-action-primary-bgHover rounded-md transition-colors",
124
115
  children: "Try again"
125
- }), /* @__PURE__ */ x("button", {
116
+ }), /* @__PURE__ */ y("button", {
126
117
  type: "button",
127
118
  onClick: () => o("/workflows"),
128
119
  className: "px-4 py-2 text-sm font-medium text-text-primary bg-bg-sunken hover:bg-border-default rounded-md transition-colors",
129
120
  children: "Back to Workflows"
130
121
  })]
131
122
  })]
132
- }) : /* @__PURE__ */ x("div", {
123
+ }) : /* @__PURE__ */ y("div", {
133
124
  className: "flex items-center justify-center min-h-[400px]",
134
- children: /* @__PURE__ */ x(_, { className: "h-8 w-8" })
125
+ children: /* @__PURE__ */ y(_, { className: "h-8 w-8" })
135
126
  });
136
127
  });
137
- function re(e) {
138
- return e.routePage === "workflow-feeds" ? /* @__PURE__ */ x(o, {
139
- fallback: /* @__PURE__ */ x(X, {}),
140
- children: /* @__PURE__ */ x(R, {})
141
- }) : e.routePage === "workflow-detail" ? /* @__PURE__ */ x(o, {
142
- fallback: /* @__PURE__ */ x(X, {}),
143
- children: /* @__PURE__ */ x(z, {})
144
- }) : /* @__PURE__ */ x(o, {
145
- fallback: /* @__PURE__ */ x(X, {}),
146
- children: /* @__PURE__ */ S(h, { children: [
147
- /* @__PURE__ */ x(m, {
128
+ function ee(e) {
129
+ if (e.routePage === "workflow-feeds") return /* @__PURE__ */ y(o, {
130
+ fallback: /* @__PURE__ */ y(J, {}),
131
+ children: /* @__PURE__ */ y(I, {})
132
+ });
133
+ if (e.routePage === "workflow-detail") return /* @__PURE__ */ y(o, {
134
+ fallback: /* @__PURE__ */ y(J, {}),
135
+ children: /* @__PURE__ */ y(L, {})
136
+ });
137
+ if (e.dashboardOnly) {
138
+ let t = `${(e.basePath ?? "/bigconsole").replace(/\/$/, "")}/dashboards`;
139
+ return /* @__PURE__ */ y(o, {
140
+ fallback: /* @__PURE__ */ y(J, {}),
141
+ children: /* @__PURE__ */ b(h, { children: [
142
+ /* @__PURE__ */ y(m, {
143
+ path: "/",
144
+ element: /* @__PURE__ */ y(p, {
145
+ to: t,
146
+ replace: !0
147
+ })
148
+ }),
149
+ /* @__PURE__ */ y(m, {
150
+ path: "/dashboards",
151
+ element: /* @__PURE__ */ y(k, {})
152
+ }),
153
+ /* @__PURE__ */ y(m, {
154
+ path: "/dashboards/:dashboardId",
155
+ element: /* @__PURE__ */ y(A, {})
156
+ }),
157
+ /* @__PURE__ */ y(m, {
158
+ path: "/dashboards/:dashboardId/builder",
159
+ element: /* @__PURE__ */ y(j, {})
160
+ }),
161
+ /* @__PURE__ */ y(m, {
162
+ path: "*",
163
+ element: /* @__PURE__ */ y(p, {
164
+ to: t,
165
+ replace: !0
166
+ })
167
+ })
168
+ ] })
169
+ });
170
+ }
171
+ return /* @__PURE__ */ y(o, {
172
+ fallback: /* @__PURE__ */ y(J, {}),
173
+ children: /* @__PURE__ */ b(h, { children: [
174
+ /* @__PURE__ */ y(m, {
148
175
  path: "/",
149
- element: /* @__PURE__ */ x(j, {})
176
+ element: /* @__PURE__ */ y(O, {})
150
177
  }),
151
- /* @__PURE__ */ x(m, {
178
+ /* @__PURE__ */ y(m, {
152
179
  path: "/dashboards",
153
- element: /* @__PURE__ */ x(M, {})
180
+ element: /* @__PURE__ */ y(k, {})
154
181
  }),
155
- /* @__PURE__ */ x(m, {
182
+ /* @__PURE__ */ y(m, {
156
183
  path: "/dashboards/:dashboardId",
157
- element: /* @__PURE__ */ x(N, {})
184
+ element: /* @__PURE__ */ y(A, {})
158
185
  }),
159
- /* @__PURE__ */ x(m, {
186
+ /* @__PURE__ */ y(m, {
160
187
  path: "/dashboards/:dashboardId/builder",
161
- element: /* @__PURE__ */ x(ee, {})
188
+ element: /* @__PURE__ */ y(j, {})
162
189
  }),
163
- /* @__PURE__ */ x(m, {
190
+ /* @__PURE__ */ y(m, {
164
191
  path: "/datasources",
165
- element: /* @__PURE__ */ x(P, {})
192
+ element: /* @__PURE__ */ y(M, {})
166
193
  }),
167
- /* @__PURE__ */ x(m, {
194
+ /* @__PURE__ */ y(m, {
168
195
  path: "/insights",
169
- element: /* @__PURE__ */ x(F, {})
196
+ element: /* @__PURE__ */ y(N, {})
170
197
  }),
171
- /* @__PURE__ */ x(m, {
198
+ /* @__PURE__ */ y(m, {
172
199
  path: "/settings",
173
- element: /* @__PURE__ */ x(I, {})
200
+ element: /* @__PURE__ */ y(P, {})
174
201
  }),
175
- /* @__PURE__ */ x(m, {
202
+ /* @__PURE__ */ y(m, {
176
203
  path: "/widgets/demo",
177
- element: /* @__PURE__ */ x(L, {})
204
+ element: /* @__PURE__ */ y(F, {})
178
205
  }),
179
- /* @__PURE__ */ x(m, {
206
+ /* @__PURE__ */ y(m, {
180
207
  path: "/datasinks",
181
- element: /* @__PURE__ */ x(B, {})
208
+ element: /* @__PURE__ */ y(R, {})
182
209
  }),
183
- /* @__PURE__ */ x(m, {
210
+ /* @__PURE__ */ y(m, {
184
211
  path: "/datasinks/new",
185
- element: /* @__PURE__ */ x(U, {})
212
+ element: /* @__PURE__ */ y(V, {})
186
213
  }),
187
- /* @__PURE__ */ x(m, {
214
+ /* @__PURE__ */ y(m, {
188
215
  path: "/datasinks/:dataSinkId",
189
- element: /* @__PURE__ */ x(V, {})
216
+ element: /* @__PURE__ */ y(z, {})
190
217
  }),
191
- /* @__PURE__ */ x(m, {
218
+ /* @__PURE__ */ y(m, {
192
219
  path: "/datasinks/:dataSinkId/edit",
193
- element: /* @__PURE__ */ x(U, {})
220
+ element: /* @__PURE__ */ y(V, {})
194
221
  }),
195
- /* @__PURE__ */ x(m, {
222
+ /* @__PURE__ */ y(m, {
196
223
  path: "/datasinks/:dataSinkId/alerts",
197
- element: /* @__PURE__ */ x(H, {})
224
+ element: /* @__PURE__ */ y(B, {})
198
225
  }),
199
- /* @__PURE__ */ x(m, {
226
+ /* @__PURE__ */ y(m, {
200
227
  path: "/parsers",
201
- element: /* @__PURE__ */ x(W, {})
228
+ element: /* @__PURE__ */ y(H, {})
202
229
  }),
203
- /* @__PURE__ */ x(m, {
230
+ /* @__PURE__ */ y(m, {
204
231
  path: "/parsers/new",
205
- element: /* @__PURE__ */ x(K, {})
232
+ element: /* @__PURE__ */ y(W, {})
206
233
  }),
207
- /* @__PURE__ */ x(m, {
234
+ /* @__PURE__ */ y(m, {
208
235
  path: "/parsers/:parserId",
209
- element: /* @__PURE__ */ x(G, {})
236
+ element: /* @__PURE__ */ y(U, {})
210
237
  }),
211
- /* @__PURE__ */ x(m, {
238
+ /* @__PURE__ */ y(m, {
212
239
  path: "/parsers/:parserId/edit",
213
- element: /* @__PURE__ */ x(K, {})
240
+ element: /* @__PURE__ */ y(W, {})
214
241
  }),
215
- /* @__PURE__ */ x(m, {
242
+ /* @__PURE__ */ y(m, {
216
243
  path: "/dashboards/:consoleId/parsers",
217
- element: /* @__PURE__ */ x(W, {})
244
+ element: /* @__PURE__ */ y(H, {})
218
245
  }),
219
- /* @__PURE__ */ x(m, {
246
+ /* @__PURE__ */ y(m, {
220
247
  path: "/dashboards/:consoleId/parsers/new",
221
- element: /* @__PURE__ */ x(K, {})
248
+ element: /* @__PURE__ */ y(W, {})
222
249
  }),
223
- /* @__PURE__ */ x(m, {
250
+ /* @__PURE__ */ y(m, {
224
251
  path: "/dashboards/:consoleId/parsers/:parserId",
225
- element: /* @__PURE__ */ x(G, {})
252
+ element: /* @__PURE__ */ y(U, {})
226
253
  }),
227
- /* @__PURE__ */ x(m, {
254
+ /* @__PURE__ */ y(m, {
228
255
  path: "/dashboards/:consoleId/parsers/:parserId/edit",
229
- element: /* @__PURE__ */ x(K, {})
256
+ element: /* @__PURE__ */ y(W, {})
230
257
  }),
231
- /* @__PURE__ */ x(m, {
258
+ /* @__PURE__ */ y(m, {
232
259
  path: "/workflows",
233
- element: /* @__PURE__ */ x(R, {})
260
+ element: /* @__PURE__ */ y(I, {})
234
261
  }),
235
- /* @__PURE__ */ x(m, {
262
+ /* @__PURE__ */ y(m, {
236
263
  path: "/workflows/feeds",
237
- element: /* @__PURE__ */ x(R, {})
264
+ element: /* @__PURE__ */ y(I, {})
238
265
  }),
239
- /* @__PURE__ */ x(m, {
266
+ /* @__PURE__ */ y(m, {
240
267
  path: "/workflows/details/:workflowId",
241
- element: /* @__PURE__ */ x(z, {})
268
+ element: /* @__PURE__ */ y(L, {})
242
269
  }),
243
- /* @__PURE__ */ x(m, {
270
+ /* @__PURE__ */ y(m, {
244
271
  path: "/workflows/list",
245
- element: /* @__PURE__ */ x(R, {})
272
+ element: /* @__PURE__ */ y(I, {})
246
273
  }),
247
- /* @__PURE__ */ x(m, {
274
+ /* @__PURE__ */ y(m, {
248
275
  path: "/workflows/new",
249
- element: /* @__PURE__ */ x(Q, {})
276
+ element: /* @__PURE__ */ y(X, {})
250
277
  }),
251
- /* @__PURE__ */ x(m, {
278
+ /* @__PURE__ */ y(m, {
252
279
  path: "/workflows/builder",
253
- element: /* @__PURE__ */ x(A, {})
280
+ element: /* @__PURE__ */ y(D, {})
254
281
  }),
255
- /* @__PURE__ */ x(m, {
282
+ /* @__PURE__ */ y(m, {
256
283
  path: "/workflows/builder/:id/:version",
257
- element: /* @__PURE__ */ x($, {})
284
+ element: /* @__PURE__ */ y($, {})
258
285
  }),
259
- /* @__PURE__ */ x(m, {
286
+ /* @__PURE__ */ y(m, {
260
287
  path: "/workflows/workflow/:id/:version",
261
- element: /* @__PURE__ */ x($, {})
288
+ element: /* @__PURE__ */ y($, {})
262
289
  }),
263
- /* @__PURE__ */ x(m, {
290
+ /* @__PURE__ */ y(m, {
264
291
  path: "/workflows/runs",
265
- element: /* @__PURE__ */ x(w, {})
292
+ element: /* @__PURE__ */ y(S, {})
266
293
  }),
267
- /* @__PURE__ */ x(m, {
294
+ /* @__PURE__ */ y(m, {
268
295
  path: "/workflows/runs/:runId",
269
- element: /* @__PURE__ */ x(C, {})
296
+ element: /* @__PURE__ */ y(x, {})
270
297
  }),
271
- /* @__PURE__ */ x(m, {
298
+ /* @__PURE__ */ y(m, {
272
299
  path: "/workflows/history",
273
- element: /* @__PURE__ */ x(T, {})
300
+ element: /* @__PURE__ */ y(C, {})
274
301
  }),
275
- /* @__PURE__ */ x(m, {
302
+ /* @__PURE__ */ y(m, {
276
303
  path: "/workflows/templates",
277
- element: /* @__PURE__ */ x(O, {})
304
+ element: /* @__PURE__ */ y(E, {})
278
305
  }),
279
- /* @__PURE__ */ x(m, {
306
+ /* @__PURE__ */ y(m, {
280
307
  path: "/workflows/nodes",
281
- element: /* @__PURE__ */ x(E, {})
308
+ element: /* @__PURE__ */ y(w, {})
282
309
  }),
283
- /* @__PURE__ */ x(m, {
310
+ /* @__PURE__ */ y(m, {
284
311
  path: "/workflows/settings",
285
- element: /* @__PURE__ */ x(D, {})
312
+ element: /* @__PURE__ */ y(T, {})
286
313
  }),
287
- /* @__PURE__ */ x(m, {
314
+ /* @__PURE__ */ y(m, {
288
315
  path: "/workflows/:workflowId",
289
- element: /* @__PURE__ */ x(z, {})
316
+ element: /* @__PURE__ */ y(L, {})
290
317
  }),
291
- /* @__PURE__ */ x(m, {
318
+ /* @__PURE__ */ y(m, {
292
319
  path: "/workflows/:workflowId/edit",
293
- element: /* @__PURE__ */ x(te, {})
320
+ element: /* @__PURE__ */ y(Z, {})
294
321
  }),
295
- /* @__PURE__ */ x(m, {
322
+ /* @__PURE__ */ y(m, {
296
323
  path: "/workflow/:id/:version",
297
- element: /* @__PURE__ */ x($, {})
324
+ element: /* @__PURE__ */ y($, {})
298
325
  }),
299
- /* @__PURE__ */ x(m, {
326
+ /* @__PURE__ */ y(m, {
300
327
  path: "/list",
301
- element: /* @__PURE__ */ x(p, {
328
+ element: /* @__PURE__ */ y(p, {
302
329
  to: "/bigconsole/workflows/list",
303
330
  replace: !0
304
331
  })
305
332
  }),
306
- /* @__PURE__ */ x(m, {
333
+ /* @__PURE__ */ y(m, {
307
334
  path: "/pipelines",
308
- element: /* @__PURE__ */ x(q, {})
335
+ element: /* @__PURE__ */ y(G, {})
309
336
  }),
310
- /* @__PURE__ */ x(m, {
337
+ /* @__PURE__ */ y(m, {
311
338
  path: "/pipelines/new",
312
- element: /* @__PURE__ */ x(Y, {})
339
+ element: /* @__PURE__ */ y(q, {})
313
340
  }),
314
- /* @__PURE__ */ x(m, {
341
+ /* @__PURE__ */ y(m, {
315
342
  path: "/pipelines/:pipelineId",
316
- element: /* @__PURE__ */ x(J, {})
343
+ element: /* @__PURE__ */ y(K, {})
317
344
  }),
318
- /* @__PURE__ */ x(m, {
345
+ /* @__PURE__ */ y(m, {
319
346
  path: "/pipelines/:pipelineId/edit",
320
- element: /* @__PURE__ */ x(Y, {})
347
+ element: /* @__PURE__ */ y(q, {})
321
348
  })
322
349
  ] })
323
350
  });
324
351
  }
325
352
  //#endregion
326
- export { re as BigConsoleRoutes, Z as newWorkflowPath };
353
+ export { ee as BigConsoleRoutes, Y as newWorkflowPath };
@@ -77,10 +77,7 @@ var o = {
77
77
  }
78
78
  }
79
79
  ],
80
- records: i,
81
- uiCatalogue: !0,
82
- uiOffers: !0,
83
- leaveGuard: !0
80
+ records: i
84
81
  },
85
82
  reportTurnTimings: !0,
86
83
  writeApproval: "proposal-v1"
@@ -39,20 +39,6 @@ export type PageContext = {
39
39
  timestamp: string;
40
40
  };
41
41
  export declare function gatherPageContext(): PageContext;
42
- /**
43
- * Route segment → human label.
44
- *
45
- * ★ Every top-level segment BigConsole routes to (`BigConsoleRoutes.tsx`),
46
- * except `/list`, which only redirects. Anything missing falls through to a
47
- * title-cased segment, which is right far more often than a wrong
48
- * label would be — and a wrong answer here is worse than none, because the panel
49
- * states it as fact.
50
- *
51
- * Each label is also seeded as `bigconsole.assistant.page.<slug>`
52
- * (`displayCopy.ts`) so the panel can SHOW it translated; the English here is
53
- * what the model is told.
54
- */
55
- export declare const BIGCONSOLE_PAGE_LABELS: Readonly<Record<string, string>>;
56
42
  /**
57
43
  * A human label for where the user is right now, for the shared panel.
58
44
  *
@@ -18,14 +18,9 @@ var n = "Home", r = {
18
18
  home: n,
19
19
  dashboards: "Dashboards",
20
20
  datasinks: "Data sinks",
21
- datasources: "Data sources",
22
- insights: "Insights",
23
21
  parsers: "Parsers",
24
22
  pipelines: "Pipelines",
25
- settings: "Settings",
26
- widgets: "Widgets",
27
- workflows: "Workflows",
28
- workflow: "Workflows"
23
+ workflows: "Workflows"
29
24
  };
30
25
  function i() {
31
26
  let { currentPage: e } = t(), i = e.split("/").filter(Boolean), a = (i[0] === "bigconsole" ? i[1] : i[0]) ?? "";
@@ -1,20 +1,19 @@
1
1
  import { getStoredWorkspaceId as e, graphqlFetch as t } from "@burdenoff/fe-libs/shared/graphql";
2
- import { normaliseRecordName as n } from "@burdenoff/fe-libs/shared/assistant/uiActions/recordNames";
3
- var r = "\n query AssistantFindDashboards($search: String, $first: Int) {\n listDashboards(search: $search, first: $first, includeArchived: false) {\n edges { node { id name workspaceId } }\n }\n }\n", i = "\n query AssistantFindDataSinks($search: String, $first: Int) {\n listDataSinks(search: $search, first: $first) {\n edges { node { id name key workspaceId deletedAt } }\n }\n }\n", a = {
2
+ var n = "\n query AssistantFindDashboards($search: String, $first: Int) {\n listDashboards(search: $search, first: $first, includeArchived: false) {\n edges { node { id name workspaceId } }\n }\n }\n", r = "\n query AssistantFindDataSinks($search: String, $first: Int) {\n listDataSinks(search: $search, first: $first) {\n edges { node { id name key workspaceId deletedAt } }\n }\n }\n", i = {
4
3
  graphqlFetch: t,
5
4
  getWorkspaceId: e
6
- }, o = n, s = (e) => [...new Set(e.split(" ").filter((e) => e.length > 0))].sort((e, t) => [...t].length - [...e].length), c = "and", l = (e) => {
7
- let t = e.filter((e) => [...e].length >= 3), n = [...t.filter((e) => e !== c), ...t.filter((e) => e === c)];
8
- return n.length > 0 ? n : e.filter((e) => [...e].length === 2);
5
+ }, a = (e) => e.normalize("NFKC").toLowerCase().replace(/[^\p{L}\p{N}\s]/gu, " ").replace(/\s+/g, " ").trim(), o = (e) => [...new Set(e.split(" ").filter((e) => e.length > 0))].sort((e, t) => [...t].length - [...e].length), s = (e) => {
6
+ let t = e.filter((e) => [...e].length >= 3);
7
+ return t.length > 0 ? t : e.filter((e) => [...e].length === 2);
9
8
  };
10
- async function u(e, t, n, r, i, a, c) {
9
+ async function c(e, t, n, r, i, c, l) {
11
10
  let u = e.getWorkspaceId();
12
11
  if (!u) return [];
13
- let d = o(i), f = s(d);
12
+ let d = a(i), f = o(d);
14
13
  if (f.length === 0) return [];
15
- let [p, m] = l(f), h = async (i) => {
16
- if (a.aborted) return null;
17
- let o = await e.graphqlFetch({
14
+ let [p, m] = s(f), h = async (i) => {
15
+ if (c.aborted) return null;
16
+ let a = await e.graphqlFetch({
18
17
  gateway: "workspace",
19
18
  query: t,
20
19
  operationName: n,
@@ -25,35 +24,35 @@ async function u(e, t, n, r, i, a, c) {
25
24
  workspaceToken: !0,
26
25
  workspaceId: u,
27
26
  organizationId: !0,
28
- signal: a,
27
+ signal: c,
29
28
  suppressGlobalErrorEvent: !0
30
29
  });
31
- if (o.errors?.length) return null;
32
- let s = o.data?.[r]?.edges;
33
- if (!Array.isArray(s)) return null;
34
- let l = [];
35
- for (let e of s) {
30
+ if (a.errors?.length) return null;
31
+ let o = a.data?.[r]?.edges;
32
+ if (!Array.isArray(o)) return null;
33
+ let s = [];
34
+ for (let e of o) {
36
35
  let t = e?.node;
37
36
  if (!t || typeof t.id != "string" || t.id.length === 0 || typeof t.workspaceId == "string" && t.workspaceId !== u) continue;
38
- let n = c(t);
39
- n !== null && l.push({
37
+ let n = l(t);
38
+ n !== null && s.push({
40
39
  params: { id: t.id },
41
40
  name: n
42
41
  });
43
42
  }
44
43
  return {
45
- rows: s.length,
46
- matches: l
44
+ rows: o.length,
45
+ matches: s
47
46
  };
48
- }, g = (e) => h(e).catch(() => null), _ = (e) => o(e.name) === d, [v, y] = await Promise.all([h(d), p !== void 0 && p !== d ? g(p) : null]);
47
+ }, g = (e) => h(e).catch(() => null), _ = (e) => a(e.name) === d, [v, y] = await Promise.all([h(d), p !== void 0 && p !== d ? g(p) : null]);
49
48
  if (v === null) return [];
50
49
  let b = [...v.matches], x = (e) => {
51
50
  for (let t of e?.matches ?? []) _(t) && !b.some((e) => e.params.id === t.params.id) && b.push(t);
52
51
  };
53
52
  return x(y), y !== null && y.rows >= 10 && !b.some(_) && m !== void 0 && e.getWorkspaceId() === u && x(await g(m)), b;
54
53
  }
55
- var d = (e) => typeof e == "string" && e.trim().length > 0 ? e.trim() : null;
56
- function f(e = a) {
54
+ var l = (e) => typeof e == "string" && e.trim().length > 0 ? e.trim() : null;
55
+ function u(e = i) {
57
56
  return [{
58
57
  id: "bigconsole-dashboard",
59
58
  nouns: ["dashboard", "dashboards"],
@@ -62,7 +61,7 @@ function f(e = a) {
62
61
  fallback: "dashboard"
63
62
  },
64
63
  entityRouteId: "bigconsole-dashboard",
65
- find: (t, n) => u(e, r, "AssistantFindDashboards", "listDashboards", t, n, (e) => d(e.name))
64
+ find: (t, r) => c(e, n, "AssistantFindDashboards", "listDashboards", t, r, (e) => l(e.name))
66
65
  }, {
67
66
  id: "bigconsole-datasink",
68
67
  nouns: [
@@ -78,9 +77,9 @@ function f(e = a) {
78
77
  fallback: "data source"
79
78
  },
80
79
  entityRouteId: "bigconsole-datasink",
81
- find: (t, n) => u(e, i, "AssistantFindDataSinks", "listDataSinks", t, n, (e) => e.deletedAt ? null : d(e.name) ?? d(e.key))
80
+ find: (t, n) => c(e, r, "AssistantFindDataSinks", "listDataSinks", t, n, (e) => e.deletedAt ? null : l(e.name) ?? l(e.key))
82
81
  }];
83
82
  }
84
- var p = f();
83
+ var d = u();
85
84
  //#endregion
86
- export { p as BIGCONSOLE_RECORD_ADAPTERS };
85
+ export { d as BIGCONSOLE_RECORD_ADAPTERS };