@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
@@ -5,123 +5,124 @@ import { BOOTSTRAP_RETRY_DELAY_MS as n } from "../constants.js";
5
5
  import { useBigConsole as r } from "../context/BigConsoleContext.js";
6
6
  import "../context/index.js";
7
7
  import { BIGCONSOLE_PERMISSIONS as i } from "../../constants/permissions.js";
8
- import { isNative as a, nativeCopyText as o, nativeNotify as s, nativeToast as c } from "../../utils/nativeBridge.js";
9
- import ee from "../components/workflow/WorkflowStatusBadge.js";
10
- import te from "../components/workflow/WorkflowDeleteDialog.js";
11
- import { memo as l, useCallback as u, useEffect as ne, useState as d } from "react";
12
- import { useParams as re } from "react-router";
13
- import { AccessDenied as f, PermissionButton as p } from "@burdenoff/fe-libs/shared/components";
8
+ import { isNative as a, nativeCopyText as o, nativeNotify as s, nativeToast as ee } from "../../utils/nativeBridge.js";
9
+ import te from "../components/workflow/WorkflowStatusBadge.js";
10
+ import c from "../components/workflow/WorkflowDeleteDialog.js";
11
+ import { memo as l, useCallback as u, useEffect as d, useState as f } from "react";
12
+ import { useParams as ne } from "react-router";
13
+ import { AccessDenied as re, PermissionButton as p } from "@burdenoff/fe-libs/shared/components";
14
14
  import { usePermissions as m } from "@burdenoff/fe-libs/shared/providers/shell";
15
- import { GlassCard as h, IllustratedEmptyState as g, NextSteps as _, PagePurpose as v } from "@burdenoff/fe-libs/ui";
16
- import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
17
- import { WorkflowBuilder as S } from "@burdenoff/fluidgrids-fe-sdk";
18
- import { formatDistanceToNow as C } from "date-fns";
15
+ import { useI18n as h } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
16
+ import { GlassCard as ie, IllustratedEmptyState as g, NextSteps as ae, PagePurpose as oe } from "@burdenoff/fe-libs/ui";
17
+ import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
18
+ import { WorkflowBuilder as b } from "@burdenoff/fluidgrids-fe-sdk";
19
+ import { formatDistanceToNow as x } from "date-fns";
19
20
  //#region src/bigconsole/pages/WorkflowViewPage.tsx
20
- var w = ({ className: e }) => /* @__PURE__ */ b("svg", {
21
+ var S = ({ className: e }) => /* @__PURE__ */ v("svg", {
21
22
  className: e,
22
23
  fill: "none",
23
24
  stroke: "currentColor",
24
25
  viewBox: "0 0 24 24",
25
- children: /* @__PURE__ */ b("path", {
26
+ children: /* @__PURE__ */ v("path", {
26
27
  strokeLinecap: "round",
27
28
  strokeLinejoin: "round",
28
29
  strokeWidth: 2,
29
30
  d: "M15 19l-7-7 7-7"
30
31
  })
31
- }), T = ({ className: e }) => /* @__PURE__ */ b("svg", {
32
+ }), C = ({ className: e }) => /* @__PURE__ */ v("svg", {
32
33
  className: e,
33
34
  fill: "none",
34
35
  stroke: "currentColor",
35
36
  viewBox: "0 0 24 24",
36
- children: /* @__PURE__ */ b("path", {
37
+ children: /* @__PURE__ */ v("path", {
37
38
  strokeLinecap: "round",
38
39
  strokeLinejoin: "round",
39
40
  strokeWidth: 2,
40
41
  d: "M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"
41
42
  })
42
- }), ie = ({ className: e }) => /* @__PURE__ */ b("svg", {
43
+ }), se = ({ className: e }) => /* @__PURE__ */ v("svg", {
43
44
  className: e,
44
45
  fill: "none",
45
46
  stroke: "currentColor",
46
47
  viewBox: "0 0 24 24",
47
- children: /* @__PURE__ */ b("path", {
48
+ children: /* @__PURE__ */ v("path", {
48
49
  strokeLinecap: "round",
49
50
  strokeLinejoin: "round",
50
51
  strokeWidth: 2,
51
52
  d: "M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"
52
53
  })
53
- }), ae = ({ className: e }) => /* @__PURE__ */ x("svg", {
54
+ }), ce = ({ className: e }) => /* @__PURE__ */ y("svg", {
54
55
  className: e,
55
56
  fill: "none",
56
57
  stroke: "currentColor",
57
58
  viewBox: "0 0 24 24",
58
- children: [/* @__PURE__ */ b("path", {
59
+ children: [/* @__PURE__ */ v("path", {
59
60
  strokeLinecap: "round",
60
61
  strokeLinejoin: "round",
61
62
  strokeWidth: 2,
62
63
  d: "M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z"
63
- }), /* @__PURE__ */ b("path", {
64
+ }), /* @__PURE__ */ v("path", {
64
65
  strokeLinecap: "round",
65
66
  strokeLinejoin: "round",
66
67
  strokeWidth: 2,
67
68
  d: "M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
68
69
  })]
69
- }), oe = ({ className: e }) => /* @__PURE__ */ b("svg", {
70
+ }), le = ({ className: e }) => /* @__PURE__ */ v("svg", {
70
71
  className: e,
71
72
  fill: "none",
72
73
  stroke: "currentColor",
73
74
  viewBox: "0 0 24 24",
74
- children: /* @__PURE__ */ b("path", {
75
+ children: /* @__PURE__ */ v("path", {
75
76
  strokeLinecap: "round",
76
77
  strokeLinejoin: "round",
77
78
  strokeWidth: 2,
78
79
  d: "M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"
79
80
  })
80
- }), se = ({ className: e }) => /* @__PURE__ */ b("svg", {
81
+ }), ue = ({ className: e }) => /* @__PURE__ */ v("svg", {
81
82
  className: e,
82
83
  fill: "none",
83
84
  stroke: "currentColor",
84
85
  viewBox: "0 0 24 24",
85
- children: /* @__PURE__ */ b("path", {
86
+ children: /* @__PURE__ */ v("path", {
86
87
  strokeLinecap: "round",
87
88
  strokeLinejoin: "round",
88
89
  strokeWidth: 2,
89
90
  d: "M5 13l4 4L19 7"
90
91
  })
91
- }), ce = ({ className: e }) => /* @__PURE__ */ b("svg", {
92
+ }), de = ({ className: e }) => /* @__PURE__ */ v("svg", {
92
93
  className: e,
93
94
  fill: "none",
94
95
  stroke: "currentColor",
95
96
  viewBox: "0 0 24 24",
96
- children: /* @__PURE__ */ b("path", {
97
+ children: /* @__PURE__ */ v("path", {
97
98
  strokeLinecap: "round",
98
99
  strokeLinejoin: "round",
99
100
  strokeWidth: 2,
100
101
  d: "M4 7v10c0 2.21 3.582 4 8 4s8-1.79 8-4V7M4 7c0 2.21 3.582 4 8 4s8-1.79 8-4M4 7c0-2.21 3.582-4 8-4s8 1.79 8 4"
101
102
  })
102
- }), le = ({ className: e }) => /* @__PURE__ */ b("svg", {
103
+ }), fe = ({ className: e }) => /* @__PURE__ */ v("svg", {
103
104
  className: e,
104
105
  fill: "none",
105
106
  stroke: "currentColor",
106
107
  viewBox: "0 0 24 24",
107
- children: /* @__PURE__ */ b("path", {
108
+ children: /* @__PURE__ */ v("path", {
108
109
  strokeLinecap: "round",
109
110
  strokeLinejoin: "round",
110
111
  strokeWidth: 2,
111
112
  d: "M19 9l-7 7-7-7"
112
113
  })
113
- }), E = l(function() {
114
- let l = e(), { workflowId: E } = re(), { apiGatewayUrl: ue, authToken: de, workspaceId: fe } = r(), { hasPermission: D, isLoading: pe } = m(), O = D(i.WORKFLOW_READ), k = D(i.WORKFLOW_UPDATE);
115
- D(i.WORKFLOW_DELETE);
116
- let A = D(i.WORKFLOW_EXECUTE), [j, M] = d(null), [N, P] = d(!1), [, F] = d(!1), [I, L] = d(!1), [R, z] = d(!1), [B, V] = d(!1), [me, H] = d(!1), [U, W] = d(null), { loading: he, error: G, fetchWorkflow: K, deleteWorkflow: q, executeWorkflow: J, pollWorkflowExecution: Y } = t({ skipFetch: !0 });
117
- ne(() => {
118
- if (!E) {
114
+ }), w = l(function() {
115
+ let l = e(), { t: w } = h(), { workflowId: T } = ne(), { apiGatewayUrl: pe, authToken: me, workspaceId: he } = r(), { hasPermission: E, isLoading: D } = m(), O = E(i.WORKFLOW_READ), k = E(i.WORKFLOW_UPDATE);
116
+ E(i.WORKFLOW_DELETE);
117
+ let A = E(i.WORKFLOW_EXECUTE), [j, M] = f(null), [N, P] = f(!1), [, F] = f(!1), [I, L] = f(!1), [R, z] = f(!1), [B, V] = f(!1), [ge, H] = f(!1), [U, W] = f(null), { loading: _e, error: G, fetchWorkflow: K, deleteWorkflow: q, executeWorkflow: J, pollWorkflowExecution: Y } = t({ skipFetch: !0 });
118
+ d(() => {
119
+ if (!T) {
119
120
  H(!0);
120
121
  return;
121
122
  }
122
123
  let e = !1, t = async (r) => {
123
124
  try {
124
- let i = await K(E);
125
+ let i = await K(T);
125
126
  if (e) return;
126
127
  i ? (M(i), H(!0)) : r === 0 ? setTimeout(() => {
127
128
  e || t(1);
@@ -133,16 +134,16 @@ var w = ({ className: e }) => /* @__PURE__ */ b("svg", {
133
134
  return t(0), () => {
134
135
  e = !0;
135
136
  };
136
- }, [E, K]);
137
+ }, [T, K]);
137
138
  let X = u(() => {
138
139
  l("/workflows");
139
140
  }, [l]), Z = u(() => {
140
- l(`/workflows/${E}/edit`);
141
- }, [l, E]), ge = u(async () => {
142
- if (E) {
141
+ l(`/workflows/${T}/edit`);
142
+ }, [l, T]), ve = u(async () => {
143
+ if (T) {
143
144
  F(!0);
144
145
  try {
145
- await q(E) ? (a() && s("success"), l("/workflows")) : a() && s("error");
146
+ await q(T) ? (a() && s("success"), l("/workflows")) : a() && s("error");
146
147
  } catch {
147
148
  a() && s("error");
148
149
  } finally {
@@ -150,15 +151,15 @@ var w = ({ className: e }) => /* @__PURE__ */ b("svg", {
150
151
  }
151
152
  }
152
153
  }, [
153
- E,
154
+ T,
154
155
  q,
155
156
  l
156
157
  ]), Q = u(async () => {
157
- if (!E) return;
158
+ if (!T) return;
158
159
  L(!0), W(null);
159
160
  let e = Date.now();
160
161
  try {
161
- let t = await J(E);
162
+ let t = await J(T);
162
163
  if (t) {
163
164
  let n = Date.now() - e;
164
165
  t.externalWorkflowId ? (W({
@@ -166,11 +167,11 @@ var w = ({ className: e }) => /* @__PURE__ */ b("svg", {
166
167
  output: {
167
168
  externalWorkflowId: t.externalWorkflowId,
168
169
  executionCount: t.executionCount,
169
- status: "Triggered — polling for completion..."
170
+ status: w("bigconsole.workflows.view.executionTriggeredPolling", "Triggered — polling for completion...")
170
171
  },
171
172
  error: null,
172
173
  executionTimeMs: n
173
- }), Y(E, {
174
+ }), Y(T, {
174
175
  intervalMs: 3e3,
175
176
  timeoutMs: 12e4,
176
177
  onProgress: (e) => {
@@ -181,7 +182,7 @@ var w = ({ className: e }) => /* @__PURE__ */ b("svg", {
181
182
  ...n,
182
183
  output: {
183
184
  ...n.output || {},
184
- status: t.status === "error" ? "Failed" : "Completed",
185
+ status: t.status === "error" ? w("bigconsole.workflows.view.executionStatusFailed", "Failed") : w("bigconsole.workflows.view.executionStatusCompleted", "Completed"),
185
186
  executionCount: t.executionCount,
186
187
  lastExecutedAt: t.lastExecutedAt
187
188
  },
@@ -192,273 +193,282 @@ var w = ({ className: e }) => /* @__PURE__ */ b("svg", {
192
193
  output: {
193
194
  executionCount: t.executionCount,
194
195
  lastExecutedAt: t.lastExecutedAt,
195
- status: "Completed"
196
+ status: w("bigconsole.workflows.view.executionStatusCompleted", "Completed")
196
197
  },
197
198
  error: null,
198
199
  executionTimeMs: n
199
200
  });
200
- let r = await K(E);
201
+ let r = await K(T);
201
202
  r && M(r);
202
203
  }
203
204
  } catch (t) {
204
205
  W({
205
206
  success: !1,
206
207
  output: null,
207
- error: t instanceof Error ? t.message : "Execution failed",
208
+ error: t instanceof Error ? t.message : w("bigconsole.workflows.errors.executionFailed", "Execution failed"),
208
209
  executionTimeMs: Date.now() - e
209
210
  });
210
211
  } finally {
211
212
  L(!1);
212
213
  }
213
214
  }, [
214
- E,
215
+ T,
215
216
  J,
216
217
  K,
217
- Y
218
- ]), _e = u(async () => {
218
+ Y,
219
+ w
220
+ ]), ye = u(async () => {
219
221
  if (j?.webhookUrl) try {
220
- await o(j.webhookUrl), z(!0), a() && c("Webhook copied"), setTimeout(() => z(!1), 2e3);
222
+ await o(j.webhookUrl), z(!0), a() && ee(w("bigconsole.workflows.view.webhookCopiedToast", "Webhook copied")), setTimeout(() => z(!1), 2e3);
221
223
  } catch {}
222
- }, [j?.webhookUrl]), ve = u((e) => {
224
+ }, [j?.webhookUrl, w]), be = u((e) => {
223
225
  l(`/datasinks/${e}`);
224
226
  }, [l]);
225
- if (!me || he && !j || pe) return /* @__PURE__ */ b("div", {
227
+ if (!ge || _e && !j || D) return /* @__PURE__ */ v("div", {
226
228
  className: "p-6 flex items-center justify-center min-h-[400px]",
227
- children: /* @__PURE__ */ x("svg", {
229
+ children: /* @__PURE__ */ y("svg", {
228
230
  className: "w-8 h-8 text-action-primary-bg animate-spin",
229
231
  fill: "none",
230
232
  viewBox: "0 0 24 24",
231
- children: [/* @__PURE__ */ b("circle", {
233
+ children: [/* @__PURE__ */ v("circle", {
232
234
  className: "opacity-25",
233
235
  cx: "12",
234
236
  cy: "12",
235
237
  r: "10",
236
238
  stroke: "currentColor",
237
239
  strokeWidth: "4"
238
- }), /* @__PURE__ */ b("path", {
240
+ }), /* @__PURE__ */ v("path", {
239
241
  className: "opacity-75",
240
242
  fill: "currentColor",
241
243
  d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
242
244
  })]
243
245
  })
244
246
  });
245
- if (!O) return /* @__PURE__ */ b(f, {
246
- title: "Access Denied",
247
- description: "You don't have permission to view this workflow."
247
+ if (!O) return /* @__PURE__ */ v(re, {
248
+ title: w("bigconsole.workflows.errors.accessDeniedTitle", "Access Denied"),
249
+ description: w("bigconsole.workflows.errors.accessDeniedViewDescription", "You don't have permission to view this workflow.")
248
250
  });
249
- if (G || !j) return /* @__PURE__ */ x("div", {
251
+ if (G || !j) return /* @__PURE__ */ y("div", {
250
252
  className: "p-6",
251
- children: [/* @__PURE__ */ x("button", {
253
+ children: [/* @__PURE__ */ y("button", {
252
254
  type: "button",
253
255
  onClick: X,
254
256
  className: "inline-flex items-center gap-1 text-sm text-text-secondary hover:text-text-primary mb-4",
255
- children: [/* @__PURE__ */ b(w, { className: "w-4 h-4" }), "Back to Workflows"]
256
- }), /* @__PURE__ */ b(g, {
257
+ children: [/* @__PURE__ */ v(S, { className: "w-4 h-4" }), w("bigconsole.workflows.view.backToWorkflows", "Back to Workflows")]
258
+ }), /* @__PURE__ */ v(g, {
257
259
  illustration: "empty-data",
258
- title: "Workflow not found",
259
- description: G?.message || "The workflow you are looking for does not exist."
260
+ title: w("bigconsole.workflows.view.notFoundTitle", "Workflow not found"),
261
+ description: G?.message || w("bigconsole.workflows.view.notFoundDescription", "The workflow you are looking for does not exist.")
260
262
  })]
261
263
  });
262
- let $ = j.dataSinkLinks?.length || 0, ye = [
264
+ let $ = j.dataSinkLinks?.length || 0, xe = [
263
265
  ...A ? [{
264
266
  id: "execute",
265
- label: "Run the workflow",
266
- description: "Trigger an execution to pull fresh data now.",
267
+ label: w("bigconsole.workflows.view.nextStepExecuteLabel", "Run the workflow"),
268
+ description: w("bigconsole.workflows.view.nextStepExecuteDescription", "Trigger an execution to pull fresh data now."),
267
269
  onClick: Q
268
270
  }] : [],
269
271
  {
270
272
  id: "design",
271
- label: "Inspect the design",
272
- description: "Expand the read-only preview to see each step.",
273
+ label: w("bigconsole.workflows.view.nextStepDesignLabel", "Inspect the design"),
274
+ description: w("bigconsole.workflows.view.nextStepDesignDescription", "Expand the read-only preview to see each step."),
273
275
  onClick: () => V(!0)
274
276
  },
275
277
  ...k ? [{
276
278
  id: "edit",
277
- label: "Edit in the builder",
278
- description: "Open the FluidGrids visual builder to change the flow.",
279
+ label: w("bigconsole.workflows.view.nextStepEditLabel", "Edit in the builder"),
280
+ description: w("bigconsole.workflows.view.nextStepEditDescription", "Open the FluidGrids visual builder to change the flow."),
279
281
  onClick: Z
280
282
  }] : [],
281
283
  {
282
284
  id: "sinks",
283
- label: "Check the linked data sinks",
284
- description: "See where this workflow writes its output.",
285
+ label: w("bigconsole.workflows.view.nextStepSinksLabel", "Check the linked data sinks"),
286
+ description: w("bigconsole.workflows.view.nextStepSinksDescription", "See where this workflow writes its output."),
285
287
  onClick: () => l("/datasinks")
286
288
  }
287
289
  ];
288
- return /* @__PURE__ */ x("div", {
290
+ return /* @__PURE__ */ y("div", {
289
291
  className: "p-6 max-w-5xl mx-auto",
290
292
  children: [
291
- /* @__PURE__ */ x("div", {
293
+ /* @__PURE__ */ y("div", {
292
294
  className: "mb-8",
293
- children: [/* @__PURE__ */ x("button", {
295
+ children: [/* @__PURE__ */ y("button", {
294
296
  type: "button",
295
297
  onClick: X,
296
298
  className: "inline-flex items-center gap-1 text-sm text-text-secondary hover:text-text-primary mb-4",
297
- children: [/* @__PURE__ */ b(w, { className: "w-4 h-4" }), "Back to Workflows"]
298
- }), /* @__PURE__ */ x("div", {
299
+ children: [/* @__PURE__ */ v(S, { className: "w-4 h-4" }), w("bigconsole.workflows.view.backToWorkflows", "Back to Workflows")]
300
+ }), /* @__PURE__ */ y("div", {
299
301
  className: "flex items-start justify-between",
300
- children: [/* @__PURE__ */ x("div", { children: [
301
- /* @__PURE__ */ x("div", {
302
+ children: [/* @__PURE__ */ y("div", { children: [
303
+ /* @__PURE__ */ y("div", {
302
304
  className: "flex items-center gap-3 mb-2",
303
- children: [/* @__PURE__ */ b("h1", {
305
+ children: [/* @__PURE__ */ v("h1", {
304
306
  className: "text-2xl font-bold text-text-primary",
305
307
  children: j.name
306
- }), /* @__PURE__ */ b(ee, { status: j.status })]
308
+ }), /* @__PURE__ */ v(te, { status: j.status })]
307
309
  }),
308
- /* @__PURE__ */ b("p", {
310
+ /* @__PURE__ */ v("p", {
309
311
  className: "text-sm text-text-secondary font-mono",
310
312
  children: j.key
311
313
  }),
312
- j.externalWorkflowId && /* @__PURE__ */ x("p", {
314
+ j.externalWorkflowId && /* @__PURE__ */ y("p", {
313
315
  className: "text-xs text-text-tertiary mt-1",
314
- children: ["FluidGrids ID: ", /* @__PURE__ */ b("span", {
315
- className: "font-mono",
316
- children: j.externalWorkflowId
317
- })]
316
+ children: [
317
+ w("bigconsole.workflows.view.fluidGridsIdLabel", "FluidGrids ID:"),
318
+ " ",
319
+ /* @__PURE__ */ v("span", {
320
+ className: "font-mono",
321
+ children: j.externalWorkflowId
322
+ })
323
+ ]
318
324
  })
319
- ] }), /* @__PURE__ */ x("div", {
325
+ ] }), /* @__PURE__ */ y("div", {
320
326
  className: "flex items-center gap-2",
321
327
  children: [
322
- /* @__PURE__ */ b(p, {
328
+ /* @__PURE__ */ v(p, {
323
329
  permission: i.WORKFLOW_EXECUTE,
324
330
  deniedBehavior: "disable",
325
- children: /* @__PURE__ */ x("button", {
331
+ children: /* @__PURE__ */ y("button", {
326
332
  type: "button",
327
333
  onClick: Q,
328
334
  disabled: I,
329
335
  className: "inline-flex items-center gap-2 px-4 py-2 text-sm font-medium text-white bg-status-success-bg hover:bg-status-success-bg/90 rounded-md transition-colors disabled:opacity-50",
330
- children: [/* @__PURE__ */ b(ae, { className: "w-4 h-4" }), I ? "Executing..." : "Execute"]
336
+ children: [/* @__PURE__ */ v(ce, { className: "w-4 h-4" }), I ? w("bigconsole.workflows.actions.executing", "Executing...") : w("bigconsole.workflows.actions.execute", "Execute")]
331
337
  })
332
338
  }),
333
- /* @__PURE__ */ b(p, {
339
+ /* @__PURE__ */ v(p, {
334
340
  permission: i.WORKFLOW_UPDATE,
335
341
  deniedBehavior: "disable",
336
- children: /* @__PURE__ */ x("button", {
342
+ children: /* @__PURE__ */ y("button", {
337
343
  type: "button",
338
344
  onClick: Z,
339
345
  className: "inline-flex items-center gap-2 px-4 py-2 text-sm font-medium text-text-primary bg-bg-sunken hover:bg-border-default rounded-md transition-colors",
340
- children: [/* @__PURE__ */ b(T, { className: "w-4 h-4" }), "Edit"]
346
+ children: [/* @__PURE__ */ v(C, { className: "w-4 h-4" }), w("bigconsole.workflows.actions.edit", "Edit")]
341
347
  })
342
348
  }),
343
- /* @__PURE__ */ b(p, {
349
+ /* @__PURE__ */ v(p, {
344
350
  permission: i.WORKFLOW_DELETE,
345
351
  deniedBehavior: "hide",
346
- children: /* @__PURE__ */ x("button", {
352
+ children: /* @__PURE__ */ y("button", {
347
353
  type: "button",
348
354
  onClick: () => P(!0),
349
355
  className: "inline-flex items-center gap-2 px-4 py-2 text-sm font-medium text-status-error-text bg-status-error-bg/10 hover:bg-status-error-bg/20 rounded-md transition-colors",
350
- children: [/* @__PURE__ */ b(ie, { className: "w-4 h-4" }), "Delete"]
356
+ children: [/* @__PURE__ */ v(se, { className: "w-4 h-4" }), w("bigconsole.workflows.actions.delete", "Delete")]
351
357
  })
352
358
  })
353
359
  ]
354
360
  })]
355
361
  })]
356
362
  }),
357
- /* @__PURE__ */ b(v, {
363
+ /* @__PURE__ */ v(oe, {
358
364
  className: "mb-6",
359
- children: "A workflow is the visual ETL job that feeds this BigConsole — it fetches, transforms, and delivers data into linked data sinks. From here you can run it on demand, inspect its design and execution history, copy its webhook trigger, and edit it in the visual builder."
365
+ children: w("bigconsole.workflows.view.purpose", "A workflow is the visual ETL job that feeds this BigConsole — it fetches, transforms, and delivers data into linked data sinks. From here you can run it on demand, inspect its design and execution history, copy its webhook trigger, and edit it in the visual builder.")
360
366
  }),
361
- /* @__PURE__ */ b(_, {
367
+ /* @__PURE__ */ v(ae, {
362
368
  storageKey: "bigconsole-workflow-view",
363
- steps: ye
369
+ steps: xe
364
370
  }),
365
- U && /* @__PURE__ */ x("div", {
371
+ U && /* @__PURE__ */ y("div", {
366
372
  className: `mb-6 p-4 rounded-lg border ${U.success ? "bg-status-success-bg/10 border-status-success-border/20" : "bg-status-error-bg/10 border-status-error-border/20"}`,
367
373
  children: [
368
- /* @__PURE__ */ x("div", {
374
+ /* @__PURE__ */ y("div", {
369
375
  className: "flex items-center justify-between mb-2",
370
- children: [/* @__PURE__ */ b("h3", {
376
+ children: [/* @__PURE__ */ v("h3", {
371
377
  className: "text-sm font-semibold text-text-primary",
372
- children: U.success ? "Execution Triggered" : "Execution Failed"
373
- }), /* @__PURE__ */ x("span", {
378
+ children: U.success ? w("bigconsole.workflows.view.executionResultTriggered", "Execution Triggered") : w("bigconsole.workflows.view.executionResultFailed", "Execution Failed")
379
+ }), /* @__PURE__ */ y("span", {
374
380
  className: "text-xs text-text-secondary",
375
381
  children: [U.executionTimeMs, "ms"]
376
382
  })]
377
383
  }),
378
- U.error ? /* @__PURE__ */ b("p", {
384
+ U.error ? /* @__PURE__ */ v("p", {
379
385
  className: "text-sm text-status-error-text",
380
386
  children: U.error
381
- }) : /* @__PURE__ */ b("pre", {
387
+ }) : /* @__PURE__ */ v("pre", {
382
388
  className: "text-xs text-text-secondary font-mono bg-bg-sunken p-2 rounded overflow-auto max-h-[200px]",
383
389
  children: JSON.stringify(U.output, null, 2)
384
390
  }),
385
- U.runId && /* @__PURE__ */ x("p", {
391
+ U.runId && /* @__PURE__ */ y("p", {
386
392
  className: "text-xs text-text-tertiary mt-2",
387
- children: ["Run ID: ", /* @__PURE__ */ b("span", {
388
- className: "font-mono",
389
- children: U.runId
390
- })]
393
+ children: [
394
+ w("bigconsole.workflows.view.runIdLabel", "Run ID:"),
395
+ " ",
396
+ /* @__PURE__ */ v("span", {
397
+ className: "font-mono",
398
+ children: U.runId
399
+ })
400
+ ]
391
401
  })
392
402
  ]
393
403
  }),
394
- /* @__PURE__ */ x("div", {
404
+ /* @__PURE__ */ y("div", {
395
405
  className: "grid grid-cols-1 md:grid-cols-2 gap-6 mb-8",
396
- children: [/* @__PURE__ */ x("div", {
406
+ children: [/* @__PURE__ */ y("div", {
397
407
  className: "bg-bg-surface border border-border-default rounded-lg p-4",
398
- children: [/* @__PURE__ */ b("h3", {
408
+ children: [/* @__PURE__ */ v("h3", {
399
409
  className: "text-sm font-medium text-text-secondary mb-2",
400
- children: "Description"
401
- }), /* @__PURE__ */ b("p", {
410
+ children: w("bigconsole.workflows.view.descriptionLabel", "Description")
411
+ }), /* @__PURE__ */ v("p", {
402
412
  className: "text-sm text-text-primary",
403
- children: j.description || "No description"
413
+ children: j.description || w("bigconsole.workflows.view.noDescription", "No description")
404
414
  })]
405
- }), /* @__PURE__ */ x(h, {
415
+ }), /* @__PURE__ */ y(ie, {
406
416
  treatment: "glass",
407
417
  glow: !0,
408
418
  className: "p-4",
409
- children: [/* @__PURE__ */ b("h3", {
419
+ children: [/* @__PURE__ */ v("h3", {
410
420
  className: "text-sm font-medium text-text-secondary mb-2",
411
- children: "Execution Stats"
412
- }), /* @__PURE__ */ x("div", {
421
+ children: w("bigconsole.workflows.view.executionStatsLabel", "Execution Stats")
422
+ }), /* @__PURE__ */ y("div", {
413
423
  className: "grid grid-cols-2 gap-4",
414
- children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
424
+ children: [/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
415
425
  className: "text-2xl font-bold text-text-primary",
416
426
  children: j.executionCount
417
- }), /* @__PURE__ */ b("p", {
427
+ }), /* @__PURE__ */ v("p", {
418
428
  className: "text-xs text-text-secondary",
419
- children: "Total Executions"
420
- })] }), /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
429
+ children: w("bigconsole.workflows.view.totalExecutionsLabel", "Total Executions")
430
+ })] }), /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
421
431
  className: "text-sm font-medium text-text-primary",
422
- children: j.lastExecutedAt ? C(new Date(j.lastExecutedAt), { addSuffix: !0 }) : "Never"
423
- }), /* @__PURE__ */ b("p", {
432
+ children: j.lastExecutedAt ? x(new Date(j.lastExecutedAt), { addSuffix: !0 }) : w("bigconsole.workflows.view.never", "Never")
433
+ }), /* @__PURE__ */ v("p", {
424
434
  className: "text-xs text-text-secondary",
425
- children: "Last Executed"
435
+ children: w("bigconsole.workflows.view.lastExecutedLabel", "Last Executed")
426
436
  })] })]
427
437
  })]
428
438
  })]
429
439
  }),
430
- j.webhookUrl && /* @__PURE__ */ x("div", {
440
+ j.webhookUrl && /* @__PURE__ */ y("div", {
431
441
  className: "bg-bg-surface border border-border-default rounded-lg p-4 mb-8",
432
- children: [/* @__PURE__ */ b("h3", {
442
+ children: [/* @__PURE__ */ v("h3", {
433
443
  className: "text-sm font-medium text-text-secondary mb-2",
434
- children: "Webhook URL"
435
- }), /* @__PURE__ */ x("div", {
444
+ children: w("bigconsole.workflows.view.webhookUrlLabel", "Webhook URL")
445
+ }), /* @__PURE__ */ y("div", {
436
446
  className: "flex items-center gap-2",
437
- children: [/* @__PURE__ */ b("code", {
447
+ children: [/* @__PURE__ */ v("code", {
438
448
  className: "flex-1 text-sm text-text-primary font-mono bg-bg-sunken px-3 py-2 rounded overflow-auto",
439
449
  children: j.webhookUrl
440
- }), /* @__PURE__ */ b("button", {
450
+ }), /* @__PURE__ */ v("button", {
441
451
  type: "button",
442
- onClick: _e,
452
+ onClick: ye,
443
453
  className: "flex items-center gap-1 px-3 py-2 text-sm text-text-secondary hover:text-text-primary transition-colors",
444
- children: R ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(se, { className: "w-4 h-4 text-status-success-text" }), "Copied!"] }) : /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(oe, { className: "w-4 h-4" }), "Copy"] })
454
+ children: R ? /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(ue, { className: "w-4 h-4 text-status-success-text" }), w("bigconsole.workflows.actions.copied", "Copied!")] }) : /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(le, { className: "w-4 h-4" }), w("bigconsole.workflows.actions.copy", "Copy")] })
445
455
  })]
446
456
  })]
447
457
  }),
448
- j.externalWorkflowId && /* @__PURE__ */ x("div", {
458
+ j.externalWorkflowId && /* @__PURE__ */ y("div", {
449
459
  className: "bg-bg-surface border border-border-default rounded-lg mb-8 overflow-hidden",
450
- children: [/* @__PURE__ */ x("button", {
460
+ children: [/* @__PURE__ */ y("button", {
451
461
  type: "button",
452
462
  onClick: () => V((e) => !e),
453
463
  className: "w-full flex items-center justify-between px-4 py-3 text-sm font-medium text-text-primary hover:bg-bg-sunken transition-colors",
454
- children: [/* @__PURE__ */ b("span", { children: "Workflow Design Preview" }), /* @__PURE__ */ b(le, { className: `w-4 h-4 text-text-secondary transition-transform ${B ? "rotate-180" : ""}` })]
455
- }), B && /* @__PURE__ */ b("div", {
464
+ children: [/* @__PURE__ */ v("span", { children: w("bigconsole.workflows.view.designPreviewTitle", "Workflow Design Preview") }), /* @__PURE__ */ v(fe, { className: `w-4 h-4 text-text-secondary transition-transform ${B ? "rotate-180" : ""}` })]
465
+ }), B && /* @__PURE__ */ v("div", {
456
466
  className: "border-t border-border-default",
457
467
  style: { height: "450px" },
458
- children: /* @__PURE__ */ b(S, {
459
- apiGatewayUrl: ue,
460
- workspaceId: fe || "default",
461
- authToken: de,
468
+ children: /* @__PURE__ */ v(b, {
469
+ apiGatewayUrl: pe,
470
+ workspaceId: he || "default",
471
+ authToken: me,
462
472
  workflowId: j.externalWorkflowId,
463
473
  readonly: !0,
464
474
  hideHeader: !0,
@@ -466,102 +476,98 @@ var w = ({ className: e }) => /* @__PURE__ */ b("svg", {
466
476
  })
467
477
  })]
468
478
  }),
469
- /* @__PURE__ */ x("div", {
479
+ /* @__PURE__ */ y("div", {
470
480
  className: "bg-bg-surface border border-border-default rounded-lg p-4 mb-8",
471
- children: [/* @__PURE__ */ x("h3", {
481
+ children: [/* @__PURE__ */ v("h3", {
472
482
  className: "text-sm font-medium text-text-secondary mb-4",
473
- children: [
474
- "Linked DataSinks (",
475
- $,
476
- ")"
477
- ]
478
- }), $ === 0 ? /* @__PURE__ */ b(g, {
483
+ children: w("bigconsole.workflows.view.linkedDataSinksTitle", "Linked DataSinks ({{count}})", { count: $ })
484
+ }), $ === 0 ? /* @__PURE__ */ v(g, {
479
485
  illustration: "empty-generic",
480
- title: "No data sinks linked",
481
- description: "This workflow has no data sinks linked yet — its output isn't being stored."
482
- }) : /* @__PURE__ */ b("div", {
486
+ title: w("bigconsole.workflows.view.noDataSinksTitle", "No data sinks linked"),
487
+ description: w("bigconsole.workflows.view.noDataSinksDescription", "This workflow has no data sinks linked yet — its output isn't being stored.")
488
+ }) : /* @__PURE__ */ v("div", {
483
489
  className: "space-y-2",
484
- children: j.dataSinkLinks?.map((e) => /* @__PURE__ */ x("div", {
490
+ children: j.dataSinkLinks?.map((e) => /* @__PURE__ */ y("div", {
485
491
  className: "flex items-center justify-between px-3 py-2 bg-bg-sunken rounded-md",
486
- children: [/* @__PURE__ */ x("div", {
492
+ children: [/* @__PURE__ */ y("div", {
487
493
  className: "flex items-center gap-3",
488
- children: [/* @__PURE__ */ b(ce, { className: "w-4 h-4 text-text-secondary" }), /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
494
+ children: [/* @__PURE__ */ v(de, { className: "w-4 h-4 text-text-secondary" }), /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
489
495
  className: "text-sm font-medium text-text-primary",
490
496
  children: e.dataSink?.name || e.dataSink?.key || e.dataSinkId
491
- }), e.dataSink?.key && /* @__PURE__ */ b("p", {
497
+ }), e.dataSink?.key && /* @__PURE__ */ v("p", {
492
498
  className: "text-xs text-text-secondary font-mono",
493
499
  children: e.dataSink.key
494
500
  })] })]
495
- }), /* @__PURE__ */ x("div", {
501
+ }), /* @__PURE__ */ y("div", {
496
502
  className: "flex items-center gap-4",
497
- children: [/* @__PURE__ */ x("div", {
503
+ children: [/* @__PURE__ */ y("div", {
498
504
  className: "flex items-center gap-2",
499
- children: [e.isEnabled ? /* @__PURE__ */ b("span", {
505
+ children: [e.isEnabled ? /* @__PURE__ */ v("span", {
500
506
  className: "text-xs text-status-success-text",
501
- children: "Enabled"
502
- }) : /* @__PURE__ */ b("span", {
507
+ children: w("bigconsole.workflows.view.dataSinkEnabled", "Enabled")
508
+ }) : /* @__PURE__ */ v("span", {
503
509
  className: "text-xs text-text-secondary",
504
- children: "Disabled"
505
- }), /* @__PURE__ */ x("span", {
510
+ children: w("bigconsole.workflows.view.dataSinkDisabled", "Disabled")
511
+ }), /* @__PURE__ */ v("span", {
506
512
  className: "text-xs text-text-secondary",
507
- children: ["Priority: ", e.priority]
513
+ children: w("bigconsole.workflows.view.dataSinkPriority", "Priority: {{priority}}", { priority: e.priority })
508
514
  })]
509
- }), e.dataSink && /* @__PURE__ */ b("button", {
515
+ }), e.dataSink && /* @__PURE__ */ v("button", {
510
516
  type: "button",
511
- onClick: () => ve(e.dataSinkId),
517
+ onClick: () => be(e.dataSinkId),
512
518
  className: "text-xs text-action-primary-bg hover:underline",
513
- children: "View"
519
+ children: w("bigconsole.workflows.actions.view", "View")
514
520
  })]
515
521
  })]
516
522
  }, e.id))
517
523
  })]
518
524
  }),
519
- /* @__PURE__ */ x("div", {
525
+ /* @__PURE__ */ y("div", {
520
526
  className: "grid grid-cols-1 md:grid-cols-2 gap-6",
521
- children: [/* @__PURE__ */ x("div", {
527
+ children: [/* @__PURE__ */ y("div", {
522
528
  className: "bg-bg-surface border border-border-default rounded-lg p-4",
523
529
  children: [
524
- /* @__PURE__ */ b("h3", {
530
+ /* @__PURE__ */ v("h3", {
525
531
  className: "text-sm font-medium text-text-secondary mb-2",
526
- children: "Created"
532
+ children: w("bigconsole.workflows.view.createdLabel", "Created")
527
533
  }),
528
- /* @__PURE__ */ b("p", {
534
+ /* @__PURE__ */ v("p", {
529
535
  className: "text-sm text-text-primary",
530
- children: C(new Date(j.createdAt), { addSuffix: !0 })
536
+ children: x(new Date(j.createdAt), { addSuffix: !0 })
531
537
  }),
532
- /* @__PURE__ */ x("p", {
538
+ /* @__PURE__ */ v("p", {
533
539
  className: "text-xs text-text-secondary",
534
- children: ["by ", j.createdBy]
540
+ children: w("bigconsole.workflows.view.byAuthor", "by {{author}}", { author: j.createdBy })
535
541
  })
536
542
  ]
537
- }), /* @__PURE__ */ x("div", {
543
+ }), /* @__PURE__ */ y("div", {
538
544
  className: "bg-bg-surface border border-border-default rounded-lg p-4",
539
545
  children: [
540
- /* @__PURE__ */ b("h3", {
546
+ /* @__PURE__ */ v("h3", {
541
547
  className: "text-sm font-medium text-text-secondary mb-2",
542
- children: "Last Updated"
548
+ children: w("bigconsole.workflows.view.lastUpdatedLabel", "Last Updated")
543
549
  }),
544
- /* @__PURE__ */ b("p", {
550
+ /* @__PURE__ */ v("p", {
545
551
  className: "text-sm text-text-primary",
546
- children: C(new Date(j.updatedAt), { addSuffix: !0 })
552
+ children: x(new Date(j.updatedAt), { addSuffix: !0 })
547
553
  }),
548
- /* @__PURE__ */ x("p", {
554
+ /* @__PURE__ */ v("p", {
549
555
  className: "text-xs text-text-secondary",
550
- children: ["by ", j.updatedBy || j.createdBy]
556
+ children: w("bigconsole.workflows.view.byAuthor", "by {{author}}", { author: j.updatedBy || j.createdBy })
551
557
  })
552
558
  ]
553
559
  })]
554
560
  }),
555
- j && /* @__PURE__ */ b(te, {
561
+ j && /* @__PURE__ */ v(c, {
556
562
  workflow: j,
557
563
  isOpen: N,
558
564
  onClose: () => P(!1),
559
- onConfirm: ge
565
+ onConfirm: ve
560
566
  })
561
567
  ]
562
568
  });
563
569
  });
564
570
  //#endregion
565
- export { E as WorkflowViewPage };
571
+ export { w as WorkflowViewPage };
566
572
 
567
573
  //# sourceMappingURL=WorkflowViewPage.js.map