@burdenoff/microfe-bigconsole 2026.805.2 → 2026.805.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/dist/bigconsole/components/builder/inspector/DataBindingSection.js +109 -113
  2. package/dist/bigconsole/components/builder/inspector/DataBindingSection.js.map +1 -1
  3. package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js +115 -113
  4. package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js.map +1 -1
  5. package/dist/bigconsole/components/dashboard/DashboardCanvas.js +71 -62
  6. package/dist/bigconsole/components/dashboard/DashboardCanvas.js.map +1 -1
  7. package/dist/bigconsole/components/dashboard/DashboardToolbar.js +90 -89
  8. package/dist/bigconsole/components/dashboard/DashboardToolbar.js.map +1 -1
  9. package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js +56 -54
  10. package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js.map +1 -1
  11. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +126 -125
  12. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js.map +1 -1
  13. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js +151 -150
  14. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js.map +1 -1
  15. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js +77 -76
  16. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js.map +1 -1
  17. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js +97 -96
  18. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js.map +1 -1
  19. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js +172 -191
  20. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js.map +1 -1
  21. package/dist/bigconsole/components/dashboard/PublishToStoreDialog.js +75 -83
  22. package/dist/bigconsole/components/dashboard/PublishToStoreDialog.js.map +1 -1
  23. package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.js +151 -154
  24. package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.js.map +1 -1
  25. package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js +181 -190
  26. package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js.map +1 -1
  27. package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.js +1 -0
  28. package/dist/bigconsole/components/dashboard/WidgetPalette.js +110 -108
  29. package/dist/bigconsole/components/dashboard/WidgetPalette.js.map +1 -1
  30. package/dist/bigconsole/components/datasink/CacheTTLSelector.js +102 -103
  31. package/dist/bigconsole/components/datasink/CacheTTLSelector.js.map +1 -1
  32. package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js +36 -41
  33. package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js.map +1 -1
  34. package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js +38 -37
  35. package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js.map +1 -1
  36. package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js +113 -117
  37. package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js.map +1 -1
  38. package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js +182 -197
  39. package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js.map +1 -1
  40. package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +166 -168
  41. package/dist/bigconsole/components/datasink/RefreshTypeSelector.js.map +1 -1
  42. package/dist/bigconsole/components/parser/DataSinkSelector.js +87 -86
  43. package/dist/bigconsole/components/parser/DataSinkSelector.js.map +1 -1
  44. package/dist/bigconsole/components/parser/ImportParserDialog.js +196 -211
  45. package/dist/bigconsole/components/parser/ImportParserDialog.js.map +1 -1
  46. package/dist/bigconsole/components/parser/ParserSelector.js +130 -128
  47. package/dist/bigconsole/components/parser/ParserSelector.js.map +1 -1
  48. package/dist/bigconsole/components/preview/AiPreviewMiniPanel.js +66 -63
  49. package/dist/bigconsole/components/preview/AiPreviewMiniPanel.js.map +1 -1
  50. package/dist/bigconsole/components/preview/AiPreviewPanel.js +95 -91
  51. package/dist/bigconsole/components/preview/AiPreviewPanel.js.map +1 -1
  52. package/dist/bigconsole/components/widgets/ActionConfigDialog.js +222 -215
  53. package/dist/bigconsole/components/widgets/ActionConfigDialog.js.map +1 -1
  54. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +149 -145
  55. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js.map +1 -1
  56. package/dist/bigconsole/components/widgets/PropertiesPanel.js +504 -470
  57. package/dist/bigconsole/components/widgets/PropertiesPanel.js.map +1 -1
  58. package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js +44 -47
  59. package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js.map +1 -1
  60. package/dist/bigconsole/components/widgets/chart/ChartConfig.js +143 -142
  61. package/dist/bigconsole/components/widgets/chart/ChartConfig.js.map +1 -1
  62. package/dist/bigconsole/components/widgets/comments/WidgetComments.js +101 -88
  63. package/dist/bigconsole/components/widgets/comments/WidgetComments.js.map +1 -1
  64. package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +135 -134
  65. package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js.map +1 -1
  66. package/dist/bigconsole/components/widgets/form/FormWidget.js +167 -159
  67. package/dist/bigconsole/components/widgets/form/FormWidget.js.map +1 -1
  68. package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +69 -68
  69. package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js.map +1 -1
  70. package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js +64 -72
  71. package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js.map +1 -1
  72. package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js +60 -59
  73. package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js.map +1 -1
  74. package/dist/bigconsole/components/widgets/list/ListConfig.js +57 -56
  75. package/dist/bigconsole/components/widgets/list/ListConfig.js.map +1 -1
  76. package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +70 -69
  77. package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js.map +1 -1
  78. package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js +35 -34
  79. package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js.map +1 -1
  80. package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.js +20 -19
  81. package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.js.map +1 -1
  82. package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +178 -177
  83. package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js.map +1 -1
  84. package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +76 -75
  85. package/dist/bigconsole/components/widgets/progress/ProgressConfig.js.map +1 -1
  86. package/dist/bigconsole/components/widgets/table/TableConfig.js +183 -168
  87. package/dist/bigconsole/components/widgets/table/TableConfig.js.map +1 -1
  88. package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +187 -180
  89. package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js.map +1 -1
  90. package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.js +40 -38
  91. package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.js.map +1 -1
  92. package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +150 -148
  93. package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js.map +1 -1
  94. package/dist/bigconsole/pages/DashboardBuilderPage.js +181 -176
  95. package/dist/bigconsole/pages/DashboardBuilderPage.js.map +1 -1
  96. package/dist/bigconsole/pages/DashboardViewPage.js +196 -192
  97. package/dist/bigconsole/pages/DashboardViewPage.js.map +1 -1
  98. package/dist/bigconsole/pages/DashboardsPage.js +223 -219
  99. package/dist/bigconsole/pages/DashboardsPage.js.map +1 -1
  100. package/dist/bigconsole/pages/DataParsersPage.js +167 -170
  101. package/dist/bigconsole/pages/DataParsersPage.js.map +1 -1
  102. package/dist/bigconsole/pages/DataSinkBuilderPage.js +204 -189
  103. package/dist/bigconsole/pages/DataSinkBuilderPage.js.map +1 -1
  104. package/dist/bigconsole/pages/DataSinkViewPage.js +175 -169
  105. package/dist/bigconsole/pages/DataSinkViewPage.js.map +1 -1
  106. package/dist/bigconsole/pages/DataSourcesPage.js +8 -7
  107. package/dist/bigconsole/pages/DataSourcesPage.js.map +1 -1
  108. package/dist/bigconsole/pages/InsightsPage.js +238 -208
  109. package/dist/bigconsole/pages/InsightsPage.js.map +1 -1
  110. package/dist/bigconsole/pages/ParserBuilderPage.js +464 -412
  111. package/dist/bigconsole/pages/ParserBuilderPage.js.map +1 -1
  112. package/dist/bigconsole/pages/ParserViewPage.js +92 -90
  113. package/dist/bigconsole/pages/ParserViewPage.js.map +1 -1
  114. package/dist/bigconsole/pages/PipelineBuilderPage.js +221 -194
  115. package/dist/bigconsole/pages/PipelineBuilderPage.js.map +1 -1
  116. package/dist/bigconsole/pages/PipelineViewPage.js +181 -184
  117. package/dist/bigconsole/pages/PipelineViewPage.js.map +1 -1
  118. package/dist/bigconsole/pages/PipelinesPage.js +128 -127
  119. package/dist/bigconsole/pages/PipelinesPage.js.map +1 -1
  120. package/dist/bigconsole/pages/SettingsPage.js +177 -172
  121. package/dist/bigconsole/pages/SettingsPage.js.map +1 -1
  122. package/dist/bigconsole/pages/WidgetDemoPage.js +121 -83
  123. package/dist/bigconsole/pages/WidgetDemoPage.js.map +1 -1
  124. package/dist/bigconsole/pages/WorkflowViewPage.js +199 -193
  125. package/dist/bigconsole/pages/WorkflowViewPage.js.map +1 -1
  126. package/dist/bigconsole/pages/WorkflowsPage.js +129 -128
  127. package/dist/bigconsole/pages/WorkflowsPage.js.map +1 -1
  128. package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.js +111 -109
  129. package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.js.map +1 -1
  130. package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +127 -126
  131. package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js.map +1 -1
  132. package/dist/bigconsole/renderers/adapters/CustomRenderer.js +103 -103
  133. package/dist/bigconsole/renderers/adapters/CustomRenderer.js.map +1 -1
  134. package/package.json +2 -1
@@ -1,107 +1,53 @@
1
1
  import { BIGCONSOLE_PERMISSIONS as e } from "../../../constants/permissions.js";
2
- import { memo as t, useCallback as n, useEffect as r, useRef as i, useState as a } from "react";
3
- import { PermissionButton as ee } from "@burdenoff/fe-libs/shared/components";
4
- import { ChevronDown as te, ChevronRight as ne, Pencil as re, Plus as ie, Zap as ae } from "lucide-react";
5
- import { Button as oe, Checkbox as se, Dialog as ce, DialogContent as le, DialogDescription as ue, DialogFooter as de, DialogHeader as fe, DialogTitle as pe, Input as o, Select as s, SelectContent as c, SelectItem as l, SelectTrigger as u, SelectValue as d, Spinner as me, Textarea as he } from "@burdenoff/fe-libs/ui";
2
+ import { memo as t, useCallback as n, useEffect as r, useMemo as i, useRef as ee, useState as a } from "react";
3
+ import { PermissionButton as te } from "@burdenoff/fe-libs/shared/components";
4
+ import { ChevronDown as ne, ChevronRight as re, Pencil as ie, Plus as ae, Zap as oe } from "lucide-react";
5
+ import { useI18n as se } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
6
+ import { Button as ce, Checkbox as le, Dialog as ue, DialogContent as de, DialogDescription as fe, DialogFooter as pe, DialogHeader as me, DialogTitle as he, Input as o, Select as s, SelectContent as c, SelectItem as l, SelectTrigger as u, SelectValue as d, Spinner as ge, Textarea as _e } from "@burdenoff/fe-libs/ui";
6
7
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
7
8
  //#region src/bigconsole/components/widgets/ActionConfigDialog.tsx
8
- var ge = [{
9
- value: "WEBHOOK",
10
- label: "Call a webhook / my API",
11
- hint: "Sends an HTTP request to the URL below every time the button is clicked."
12
- }, {
13
- value: "EMIT",
14
- label: "Just emit an event (advanced)",
15
- hint: "Emits widget:<name>:clicked. Wire it up yourself in the Webhooks/Events section."
16
- }], _e = [
9
+ var ve = [
17
10
  "POST",
18
11
  "GET",
19
12
  "PUT",
20
13
  "PATCH",
21
14
  "DELETE"
22
- ], ve = [
15
+ ], ye = [
23
16
  {
24
17
  value: "PRIMARY",
25
- label: "Primary",
26
18
  color: "var(--color-action-primary-bg)"
27
19
  },
28
20
  {
29
21
  value: "SECONDARY",
30
- label: "Secondary",
31
22
  color: "var(--color-action-secondary-bg)"
32
23
  },
33
24
  {
34
25
  value: "SUCCESS",
35
- label: "Success",
36
26
  color: "var(--color-status-success-bg)"
37
27
  },
38
28
  {
39
29
  value: "WARNING",
40
- label: "Warning",
41
30
  color: "var(--color-status-warning-bg)"
42
31
  },
43
32
  {
44
33
  value: "DANGER",
45
- label: "Danger",
46
34
  color: "var(--color-action-danger-bg)"
47
35
  }
48
- ], ye = [
49
- {
50
- value: "",
51
- label: "No icon"
52
- },
53
- {
54
- value: "refresh",
55
- label: "Refresh"
56
- },
57
- {
58
- value: "download",
59
- label: "Download"
60
- },
61
- {
62
- value: "upload",
63
- label: "Upload"
64
- },
65
- {
66
- value: "trash",
67
- label: "Trash"
68
- },
69
- {
70
- value: "edit",
71
- label: "Edit"
72
- },
73
- {
74
- value: "plus",
75
- label: "Plus"
76
- },
77
- {
78
- value: "check",
79
- label: "Check"
80
- },
81
- {
82
- value: "eye",
83
- label: "View"
84
- },
85
- {
86
- value: "copy",
87
- label: "Copy"
88
- },
89
- {
90
- value: "share",
91
- label: "Share"
92
- },
93
- {
94
- value: "settings",
95
- label: "Settings"
96
- },
97
- {
98
- value: "filter",
99
- label: "Filter"
100
- },
101
- {
102
- value: "search",
103
- label: "Search"
104
- }
36
+ ], be = [
37
+ "",
38
+ "refresh",
39
+ "download",
40
+ "upload",
41
+ "trash",
42
+ "edit",
43
+ "plus",
44
+ "check",
45
+ "eye",
46
+ "copy",
47
+ "share",
48
+ "settings",
49
+ "filter",
50
+ "search"
105
51
  ];
106
52
  function m(e) {
107
53
  return e.trim().toLowerCase().replace(/[^a-z0-9]+/g, "_").replace(/^_+|_+$/g, "");
@@ -122,57 +68,105 @@ var h = {
122
68
  border: "1px solid var(--color-border)",
123
69
  boxShadow: "var(--shadow-elevation-3)",
124
70
  borderRadius: "var(--radius-button)"
125
- }, v = t(function({ isOpen: t, action: v, initialWebhook: y, isLoading: b = !1, saveError: be, onClose: xe, onSave: Se }) {
126
- let x = !!v, S = i(null), C = i(!1), [w, T] = a(""), [E, D] = a(""), [O, k] = a(!1), [A, j] = a("PRIMARY"), [M, N] = a(""), [P, F] = a("WEBHOOK"), [I, L] = a(""), [R, z] = a("POST"), [B, V] = a(!1), [H, U] = a(!1), [Ce, we] = a(!1), [W, G] = a(!1), [Te, K] = a("Confirm Action"), [Ee, q] = a("Are you sure you want to proceed?"), [J, Y] = a("Confirm"), [X, Z] = a("Cancel"), [Q, $] = a(null);
71
+ }, v = t(function({ isOpen: t, action: v, initialWebhook: y, isLoading: b = !1, saveError: xe, onClose: Se, onSave: Ce }) {
72
+ let { t: x } = se(), S = !!v, C = ee(null), w = ee(!1), [T, E] = a(""), [D, O] = a(""), [k, A] = a(!1), [j, M] = a("PRIMARY"), [N, P] = a(""), [F, I] = a("WEBHOOK"), [L, we] = a(""), [R, z] = a("POST"), [B, V] = a(!1), [H, U] = a(!1), [Te, Ee] = a(!1), [W, G] = a(!1), [K, q] = a(() => x("bigconsole.widget.actions.confirm.defaultTitle", "Confirm Action")), [J, Y] = a(() => x("bigconsole.widget.actions.confirm.defaultMessage", "Are you sure you want to proceed?")), [De, X] = a(() => x("bigconsole.widget.actions.confirm.defaultConfirmLabel", "Confirm")), [Oe, Z] = a(() => x("bigconsole.widget.actions.confirm.defaultCancelLabel", "Cancel")), [Q, $] = a(null), ke = i(() => [{
73
+ value: "WEBHOOK",
74
+ label: x("bigconsole.widget.actions.outcome.webhook.label", "Call a webhook / my API"),
75
+ hint: x("bigconsole.widget.actions.outcome.webhook.hint", "Sends an HTTP request to the URL below every time the button is clicked.")
76
+ }, {
77
+ value: "EMIT",
78
+ label: x("bigconsole.widget.actions.outcome.emit.label", "Just emit an event (advanced)"),
79
+ hint: x("bigconsole.widget.actions.outcome.emit.hint", "Emits widget:<name>:clicked. Wire it up yourself in the Webhooks/Events section.")
80
+ }], [x]), Ae = i(() => {
81
+ let e = {
82
+ PRIMARY: x("bigconsole.widget.actions.style.primary", "Primary"),
83
+ SECONDARY: x("bigconsole.widget.actions.style.secondary", "Secondary"),
84
+ SUCCESS: x("bigconsole.widget.actions.style.success", "Success"),
85
+ WARNING: x("bigconsole.widget.actions.style.warning", "Warning"),
86
+ DANGER: x("bigconsole.widget.actions.style.danger", "Danger"),
87
+ GHOST: x("bigconsole.widget.actions.style.ghost", "Ghost"),
88
+ LINK: x("bigconsole.widget.actions.style.link", "Link")
89
+ };
90
+ return ye.map((t) => ({
91
+ value: t.value,
92
+ label: e[t.value],
93
+ color: t.color
94
+ }));
95
+ }, [x]), je = i(() => {
96
+ let e = {
97
+ "": x("bigconsole.widget.actions.icon.none", "No icon"),
98
+ refresh: x("bigconsole.widget.actions.icon.refresh", "Refresh"),
99
+ download: x("bigconsole.widget.actions.icon.download", "Download"),
100
+ upload: x("bigconsole.widget.actions.icon.upload", "Upload"),
101
+ trash: x("bigconsole.widget.actions.icon.trash", "Trash"),
102
+ edit: x("bigconsole.widget.actions.icon.edit", "Edit"),
103
+ plus: x("bigconsole.widget.actions.icon.plus", "Plus"),
104
+ check: x("bigconsole.widget.actions.icon.check", "Check"),
105
+ eye: x("bigconsole.widget.actions.icon.eye", "View"),
106
+ copy: x("bigconsole.widget.actions.icon.copy", "Copy"),
107
+ share: x("bigconsole.widget.actions.icon.share", "Share"),
108
+ settings: x("bigconsole.widget.actions.icon.settings", "Settings"),
109
+ filter: x("bigconsole.widget.actions.icon.filter", "Filter"),
110
+ search: x("bigconsole.widget.actions.icon.search", "Search")
111
+ };
112
+ return be.map((t) => ({
113
+ value: t,
114
+ label: e[t]
115
+ }));
116
+ }, [x]);
127
117
  r(() => {
128
118
  if (!t) return;
129
- C.current = !1, L(""), z("POST"), v ? (T(v.label), D(v.name), k(!1), j(v.style), N(v.icon || ""), V(v.disabled), U(v.hidden), F("EMIT"), G(!!v.confirmation), v.confirmation ? (K(v.confirmation.title), q(v.confirmation.message), Y(v.confirmation.confirmLabel || "Confirm"), Z(v.confirmation.cancelLabel || "Cancel")) : (K("Confirm Action"), q("Are you sure you want to proceed?"), Y("Confirm"), Z("Cancel"))) : (T(""), D(""), k(!1), j("PRIMARY"), N(""), F("WEBHOOK"), V(!1), U(!1), G(!1), K("Confirm Action"), q("Are you sure you want to proceed?"), Y("Confirm"), Z("Cancel")), we(!1), $(null);
130
- let e = requestAnimationFrame(() => requestAnimationFrame(() => S.current?.focus()));
119
+ w.current = !1, we(""), z("POST"), v ? (E(v.label), O(v.name), A(!1), M(v.style), P(v.icon || ""), V(v.disabled), U(v.hidden), I("EMIT"), G(!!v.confirmation), v.confirmation ? (q(v.confirmation.title), Y(v.confirmation.message), X(v.confirmation.confirmLabel || x("bigconsole.widget.actions.confirm.defaultConfirmLabel", "Confirm")), Z(v.confirmation.cancelLabel || x("bigconsole.widget.actions.confirm.defaultCancelLabel", "Cancel"))) : (q(x("bigconsole.widget.actions.confirm.defaultTitle", "Confirm Action")), Y(x("bigconsole.widget.actions.confirm.defaultMessage", "Are you sure you want to proceed?")), X(x("bigconsole.widget.actions.confirm.defaultConfirmLabel", "Confirm")), Z(x("bigconsole.widget.actions.confirm.defaultCancelLabel", "Cancel")))) : (E(""), O(""), A(!1), M("PRIMARY"), P(""), I("WEBHOOK"), V(!1), U(!1), G(!1), q(x("bigconsole.widget.actions.confirm.defaultTitle", "Confirm Action")), Y(x("bigconsole.widget.actions.confirm.defaultMessage", "Are you sure you want to proceed?")), X(x("bigconsole.widget.actions.confirm.defaultConfirmLabel", "Confirm")), Z(x("bigconsole.widget.actions.confirm.defaultCancelLabel", "Cancel"))), Ee(!1), $(null);
120
+ let e = requestAnimationFrame(() => requestAnimationFrame(() => C.current?.focus()));
131
121
  return () => cancelAnimationFrame(e);
132
- }, [t, v]), r(() => {
133
- !t || !y || C.current || (F("WEBHOOK"), L(y.url), z(y.method));
122
+ }, [
123
+ t,
124
+ v,
125
+ x
126
+ ]), r(() => {
127
+ !t || !y || w.current || (I("WEBHOOK"), we(y.url), z(y.method));
134
128
  }, [t, y]);
135
- let De = n((e) => {
136
- T(e), O || D(m(e)), Q && $(null);
137
- }, [O, Q]), Oe = n((e) => {
129
+ let Me = n((e) => {
130
+ E(e), k || O(m(e)), Q && $(null);
131
+ }, [k, Q]), Ne = n((e) => {
138
132
  e.preventDefault();
139
- let t = w.trim();
133
+ let t = T.trim();
140
134
  if (!t) {
141
- $("Button label is required"), S.current?.focus();
135
+ $(x("bigconsole.widget.actions.validation.labelRequired", "Button label is required")), C.current?.focus();
142
136
  return;
143
137
  }
144
- let n = x && v ? v.name : m(O ? E : w) || m(w);
138
+ let n = S && v ? v.name : m(k ? D : T) || m(T);
145
139
  if (!n) {
146
- $("Enter a label using letters or numbers");
140
+ $(x("bigconsole.widget.actions.validation.labelLettersOrNumbers", "Enter a label using letters or numbers"));
147
141
  return;
148
142
  }
149
- if (P === "WEBHOOK") {
150
- let e = I.trim();
143
+ if (F === "WEBHOOK") {
144
+ let e = L.trim();
151
145
  if (!e) {
152
- $("Enter the URL to call when the button is clicked");
146
+ $(x("bigconsole.widget.actions.validation.urlRequired", "Enter the URL to call when the button is clicked"));
153
147
  return;
154
148
  }
155
149
  if (!/^https?:\/\//i.test(e)) {
156
- $("Webhook URL must start with http:// or https://");
150
+ $(x("bigconsole.widget.actions.validation.urlScheme", "Webhook URL must start with http:// or https://"));
157
151
  return;
158
152
  }
159
153
  }
160
154
  let r = W ? {
161
- title: Te.trim() || "Confirm Action",
162
- message: Ee.trim() || "Are you sure?",
163
- confirmLabel: J.trim() || "Confirm",
164
- cancelLabel: X.trim() || "Cancel"
165
- } : void 0, i = P === "WEBHOOK" ? {
166
- url: I.trim(),
155
+ title: K.trim() || x("bigconsole.widget.actions.confirm.defaultTitle", "Confirm Action"),
156
+ message: J.trim() || x("bigconsole.widget.actions.confirm.fallbackMessage", "Are you sure?"),
157
+ confirmLabel: De.trim() || x("bigconsole.widget.actions.confirm.defaultConfirmLabel", "Confirm"),
158
+ cancelLabel: Oe.trim() || x("bigconsole.widget.actions.confirm.defaultCancelLabel", "Cancel")
159
+ } : void 0, i = F === "WEBHOOK" ? {
160
+ url: L.trim(),
167
161
  method: R
168
162
  } : null;
169
- Se(x && v ? {
163
+ Ce(S && v ? {
170
164
  id: v.id,
171
165
  name: n,
172
166
  label: t,
173
167
  type: "BUTTON",
174
- style: A,
175
- icon: M || void 0,
168
+ style: j,
169
+ icon: N || void 0,
176
170
  confirmation: W ? r : null,
177
171
  disabled: B,
178
172
  hidden: H
@@ -180,41 +174,42 @@ var h = {
180
174
  name: n,
181
175
  label: t,
182
176
  type: "BUTTON",
183
- style: A,
184
- icon: M || void 0,
177
+ style: j,
178
+ icon: N || void 0,
185
179
  confirmation: r,
186
180
  disabled: B,
187
181
  hidden: H
188
182
  }, i);
189
183
  }, [
190
- w,
191
- E,
192
- O,
193
- P,
194
- I,
184
+ T,
185
+ D,
186
+ k,
187
+ F,
188
+ L,
195
189
  R,
196
- A,
197
- M,
190
+ j,
191
+ N,
198
192
  B,
199
193
  H,
200
194
  W,
201
- Te,
202
- Ee,
195
+ K,
203
196
  J,
204
- X,
205
- x,
197
+ De,
198
+ Oe,
199
+ S,
206
200
  v,
207
- Se
208
- ]), ke = (e) => ve.find((t) => t.value === e)?.color || "var(--color-action-primary-bg)", Ae = ge.find((e) => e.value === P);
209
- return /* @__PURE__ */ f(ce, {
201
+ Ce,
202
+ x
203
+ ]), Pe = (e) => Ae.find((t) => t.value === e)?.color || "var(--color-action-primary-bg)", Fe = ke.find((e) => e.value === F);
204
+ return /* @__PURE__ */ f(ue, {
210
205
  open: t,
211
- onOpenChange: (e) => !e && !b && xe(),
212
- children: /* @__PURE__ */ p(le, {
206
+ onOpenChange: (e) => !e && !b && Se(),
207
+ children: /* @__PURE__ */ p(de, {
213
208
  style: {
214
209
  maxWidth: "500px",
215
210
  padding: 0
216
211
  },
217
- children: [/* @__PURE__ */ f(fe, {
212
+ children: [/* @__PURE__ */ f(me, {
218
213
  style: { padding: "var(--space-pagePadding) var(--space-pagePadding) 0" },
219
214
  children: /* @__PURE__ */ p("div", {
220
215
  style: {
@@ -233,30 +228,30 @@ var h = {
233
228
  backgroundColor: "var(--color-action-primary-bg)",
234
229
  boxShadow: "var(--shadow-elevation-2)"
235
230
  },
236
- children: f(x ? re : ae, { style: {
231
+ children: f(S ? ie : oe, { style: {
237
232
  height: "var(--size-icon-lg)",
238
233
  width: "var(--size-icon-lg)",
239
234
  color: "var(--color-action-primary-text)"
240
235
  } })
241
- }), /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f(pe, {
236
+ }), /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f(he, {
242
237
  style: {
243
238
  fontSize: "var(--font-size-heading-h4)",
244
239
  fontWeight: "var(--font-weight-bold)",
245
240
  color: "var(--color-text-primary)",
246
241
  margin: 0
247
242
  },
248
- children: x ? "Edit Button" : "Add Button"
249
- }), /* @__PURE__ */ f(ue, {
243
+ children: S ? x("bigconsole.widget.actions.header.editTitle", "Edit Button") : x("bigconsole.widget.actions.header.addTitle", "Add Button")
244
+ }), /* @__PURE__ */ f(fe, {
250
245
  style: {
251
246
  fontSize: "var(--font-size-body-sm)",
252
247
  color: "var(--color-text-secondary)",
253
248
  margin: "var(--space-controlGap) 0 0 0"
254
249
  },
255
- children: x ? "Update the button and what it does" : "Add a button and choose what it does"
250
+ children: S ? x("bigconsole.widget.actions.header.editDescription", "Update the button and what it does") : x("bigconsole.widget.actions.header.addDescription", "Add a button and choose what it does")
256
251
  })] })]
257
252
  })
258
253
  }), /* @__PURE__ */ p("form", {
259
- onSubmit: Oe,
254
+ onSubmit: Ne,
260
255
  children: [/* @__PURE__ */ p("div", {
261
256
  style: {
262
257
  padding: "var(--space-pagePadding)",
@@ -264,7 +259,7 @@ var h = {
264
259
  overflowY: "auto"
265
260
  },
266
261
  children: [
267
- (Q || be) && /* @__PURE__ */ f("div", {
262
+ (Q || xe) && /* @__PURE__ */ f("div", {
268
263
  style: {
269
264
  padding: "var(--space-controlGap)",
270
265
  backgroundColor: "var(--color-status-error-bgSubtle)",
@@ -278,7 +273,7 @@ var h = {
278
273
  color: "var(--color-status-error-text)",
279
274
  margin: 0
280
275
  },
281
- children: Q || be
276
+ children: Q || xe
282
277
  })
283
278
  }),
284
279
  /* @__PURE__ */ p("div", {
@@ -286,16 +281,20 @@ var h = {
286
281
  children: [
287
282
  /* @__PURE__ */ p("label", {
288
283
  style: h,
289
- children: ["Button label ", /* @__PURE__ */ f("span", {
290
- style: { color: "var(--color-status-error-text)" },
291
- children: "*"
292
- })]
284
+ children: [
285
+ x("bigconsole.widget.actions.field.buttonLabel", "Button label"),
286
+ " ",
287
+ /* @__PURE__ */ f("span", {
288
+ style: { color: "var(--color-status-error-text)" },
289
+ children: "*"
290
+ })
291
+ ]
293
292
  }),
294
293
  /* @__PURE__ */ f(o, {
295
- ref: S,
296
- value: w,
297
- onChange: (e) => De(e.target.value),
298
- placeholder: "e.g., Refresh Data, Export CSV",
294
+ ref: C,
295
+ value: T,
296
+ onChange: (e) => Me(e.target.value),
297
+ placeholder: x("bigconsole.widget.actions.field.buttonLabelPlaceholder", "e.g., Refresh Data, Export CSV"),
299
298
  disabled: b,
300
299
  style: {
301
300
  height: "var(--size-controlHeight-md)",
@@ -304,7 +303,7 @@ var h = {
304
303
  }),
305
304
  /* @__PURE__ */ f("p", {
306
305
  style: g,
307
- children: "Text shown on the button"
306
+ children: x("bigconsole.widget.actions.field.buttonLabelHint", "Text shown on the button")
308
307
  })
309
308
  ]
310
309
  }),
@@ -317,10 +316,10 @@ var h = {
317
316
  },
318
317
  children: [/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
319
318
  style: h,
320
- children: "Style"
319
+ children: x("bigconsole.widget.actions.field.style", "Style")
321
320
  }), /* @__PURE__ */ p(s, {
322
- value: A,
323
- onValueChange: (e) => j(e),
321
+ value: j,
322
+ onValueChange: (e) => M(e),
324
323
  disabled: b,
325
324
  children: [/* @__PURE__ */ f(u, {
326
325
  style: {
@@ -330,30 +329,30 @@ var h = {
330
329
  children: /* @__PURE__ */ f(d, {})
331
330
  }), /* @__PURE__ */ f(c, {
332
331
  style: _,
333
- children: ve.map((e) => /* @__PURE__ */ f(l, {
332
+ children: Ae.map((e) => /* @__PURE__ */ f(l, {
334
333
  value: e.value,
335
334
  children: e.label
336
335
  }, e.value))
337
336
  })]
338
337
  })] }), /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
339
338
  style: h,
340
- children: "Icon"
339
+ children: x("bigconsole.widget.actions.field.icon", "Icon")
341
340
  }), /* @__PURE__ */ p(s, {
342
- value: M,
343
- onValueChange: N,
341
+ value: N,
342
+ onValueChange: P,
344
343
  disabled: b,
345
344
  children: [/* @__PURE__ */ f(u, {
346
345
  style: {
347
346
  height: "var(--size-controlHeight-md)",
348
347
  fontSize: "var(--font-size-body-sm)"
349
348
  },
350
- children: /* @__PURE__ */ f(d, { placeholder: "No icon" })
349
+ children: /* @__PURE__ */ f(d, { placeholder: x("bigconsole.widget.actions.icon.none", "No icon") })
351
350
  }), /* @__PURE__ */ f(c, {
352
351
  style: {
353
352
  ..._,
354
353
  maxHeight: "200px"
355
354
  },
356
- children: ye.map((e) => /* @__PURE__ */ f(l, {
355
+ children: je.map((e) => /* @__PURE__ */ f(l, {
357
356
  value: e.value || "none",
358
357
  children: e.label
359
358
  }, e.value || "none"))
@@ -375,7 +374,7 @@ var h = {
375
374
  fontSize: "var(--font-size-body-sm)",
376
375
  color: "var(--color-text-muted)"
377
376
  },
378
- children: "Preview:"
377
+ children: x("bigconsole.widget.actions.preview.label", "Preview:")
379
378
  }), /* @__PURE__ */ f("button", {
380
379
  type: "button",
381
380
  style: {
@@ -383,12 +382,12 @@ var h = {
383
382
  fontSize: "var(--font-size-body-sm)",
384
383
  fontWeight: "var(--font-weight-medium)",
385
384
  borderRadius: "var(--radius-button)",
386
- backgroundColor: ke(A),
385
+ backgroundColor: Pe(j),
387
386
  color: "var(--color-action-primary-text)",
388
387
  border: "none",
389
388
  cursor: "default"
390
389
  },
391
- children: w || "Button"
390
+ children: T || x("bigconsole.widget.actions.preview.buttonFallback", "Button")
392
391
  })]
393
392
  }),
394
393
  /* @__PURE__ */ p("div", {
@@ -396,12 +395,12 @@ var h = {
396
395
  children: [
397
396
  /* @__PURE__ */ f("label", {
398
397
  style: h,
399
- children: "When clicked"
398
+ children: x("bigconsole.widget.actions.field.whenClicked", "When clicked")
400
399
  }),
401
400
  /* @__PURE__ */ p(s, {
402
- value: P,
401
+ value: F,
403
402
  onValueChange: (e) => {
404
- C.current = !0, F(e);
403
+ w.current = !0, I(e);
405
404
  },
406
405
  disabled: b,
407
406
  children: [/* @__PURE__ */ f(u, {
@@ -412,19 +411,19 @@ var h = {
412
411
  children: /* @__PURE__ */ f(d, {})
413
412
  }), /* @__PURE__ */ f(c, {
414
413
  style: _,
415
- children: ge.map((e) => /* @__PURE__ */ f(l, {
414
+ children: ke.map((e) => /* @__PURE__ */ f(l, {
416
415
  value: e.value,
417
416
  children: e.label
418
417
  }, e.value))
419
418
  })]
420
419
  }),
421
- Ae && /* @__PURE__ */ f("p", {
420
+ Fe && /* @__PURE__ */ f("p", {
422
421
  style: g,
423
- children: Ae.hint
422
+ children: Fe.hint
424
423
  })
425
424
  ]
426
425
  }),
427
- P === "WEBHOOK" && /* @__PURE__ */ p("div", {
426
+ F === "WEBHOOK" && /* @__PURE__ */ p("div", {
428
427
  style: {
429
428
  marginBottom: "var(--space-formGap)",
430
429
  paddingLeft: "var(--space-formGap)",
@@ -436,16 +435,20 @@ var h = {
436
435
  children: [
437
436
  /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ p("label", {
438
437
  style: h,
439
- children: ["URL ", /* @__PURE__ */ f("span", {
440
- style: { color: "var(--color-status-error-text)" },
441
- children: "*"
442
- })]
438
+ children: [
439
+ x("bigconsole.widget.actions.webhook.urlLabel", "URL"),
440
+ " ",
441
+ /* @__PURE__ */ f("span", {
442
+ style: { color: "var(--color-status-error-text)" },
443
+ children: "*"
444
+ })
445
+ ]
443
446
  }), /* @__PURE__ */ f(o, {
444
- value: I,
447
+ value: L,
445
448
  onChange: (e) => {
446
- C.current = !0, L(e.target.value), Q && $(null);
449
+ w.current = !0, we(e.target.value), Q && $(null);
447
450
  },
448
- placeholder: "https://your-service.com/hook",
451
+ placeholder: x("bigconsole.widget.actions.webhook.urlPlaceholder", "https://your-service.com/hook"),
449
452
  disabled: b,
450
453
  style: {
451
454
  height: "var(--size-controlHeight-md)",
@@ -456,11 +459,11 @@ var h = {
456
459
  style: { maxWidth: "160px" },
457
460
  children: [/* @__PURE__ */ f("label", {
458
461
  style: h,
459
- children: "Method"
462
+ children: x("bigconsole.widget.actions.webhook.methodLabel", "Method")
460
463
  }), /* @__PURE__ */ p(s, {
461
464
  value: R,
462
465
  onValueChange: (e) => {
463
- C.current = !0, z(e);
466
+ w.current = !0, z(e);
464
467
  },
465
468
  disabled: b,
466
469
  children: [/* @__PURE__ */ f(u, {
@@ -471,7 +474,7 @@ var h = {
471
474
  children: /* @__PURE__ */ f(d, {})
472
475
  }), /* @__PURE__ */ f(c, {
473
476
  style: _,
474
- children: _e.map((e) => /* @__PURE__ */ f(l, {
477
+ children: ve.map((e) => /* @__PURE__ */ f(l, {
475
478
  value: e,
476
479
  children: e
477
480
  }, e))
@@ -480,20 +483,23 @@ var h = {
480
483
  }),
481
484
  /* @__PURE__ */ f("p", {
482
485
  style: g,
483
- children: "The widget's current data is sent as the request payload."
486
+ children: x("bigconsole.widget.actions.webhook.payloadHint", "The widget's current data is sent as the request payload.")
484
487
  }),
485
- /^http:\/\//i.test(I.trim()) && /* @__PURE__ */ p("p", {
488
+ /^http:\/\//i.test(L.trim()) && /* @__PURE__ */ p("p", {
486
489
  style: {
487
490
  ...g,
488
491
  color: "var(--color-status-warning-text)"
489
492
  },
490
493
  children: [
491
- "Warning: ",
494
+ x("bigconsole.widget.actions.webhook.insecureWarningPrefix", "Warning:"),
495
+ " ",
492
496
  /* @__PURE__ */ f("code", { children: "http://" }),
493
- " is unencrypted — the widget's data will be sent in plaintext. Use",
497
+ " ",
498
+ x("bigconsole.widget.actions.webhook.insecureWarningMiddle", "is unencrypted — the widget's data will be sent in plaintext. Use"),
494
499
  " ",
495
500
  /* @__PURE__ */ f("code", { children: "https://" }),
496
- " if it may contain anything sensitive."
501
+ " ",
502
+ x("bigconsole.widget.actions.webhook.insecureWarningSuffix", "if it may contain anything sensitive.")
497
503
  ]
498
504
  })
499
505
  ]
@@ -511,7 +517,7 @@ var h = {
511
517
  cursor: "pointer",
512
518
  marginBottom: "var(--space-formGap)"
513
519
  },
514
- children: [/* @__PURE__ */ f(se, {
520
+ children: [/* @__PURE__ */ f(le, {
515
521
  checked: W,
516
522
  onCheckedChange: (e) => G(e === !0),
517
523
  disabled: b
@@ -521,7 +527,7 @@ var h = {
521
527
  fontWeight: "var(--font-weight-semibold)",
522
528
  color: "var(--color-text-primary)"
523
529
  },
524
- children: "Ask for confirmation first"
530
+ children: x("bigconsole.widget.actions.confirm.toggleLabel", "Ask for confirmation first")
525
531
  })]
526
532
  }), W && /* @__PURE__ */ p("div", {
527
533
  style: {
@@ -540,10 +546,10 @@ var h = {
540
546
  color: "var(--color-text-secondary)",
541
547
  marginBottom: "var(--space-controlGap)"
542
548
  },
543
- children: "Dialog Title"
549
+ children: x("bigconsole.widget.actions.confirm.dialogTitleLabel", "Dialog Title")
544
550
  }), /* @__PURE__ */ f(o, {
545
- value: Te,
546
- onChange: (e) => K(e.target.value),
551
+ value: K,
552
+ onChange: (e) => q(e.target.value),
547
553
  disabled: b,
548
554
  style: {
549
555
  height: "var(--size-controlHeight-sm)",
@@ -558,10 +564,10 @@ var h = {
558
564
  color: "var(--color-text-secondary)",
559
565
  marginBottom: "var(--space-controlGap)"
560
566
  },
561
- children: "Message"
562
- }), /* @__PURE__ */ f(he, {
563
- value: Ee,
564
- onChange: (e) => q(e.target.value),
567
+ children: x("bigconsole.widget.actions.confirm.messageLabel", "Message")
568
+ }), /* @__PURE__ */ f(_e, {
569
+ value: J,
570
+ onChange: (e) => Y(e.target.value),
565
571
  rows: 2,
566
572
  disabled: b,
567
573
  style: {
@@ -583,10 +589,10 @@ var h = {
583
589
  color: "var(--color-text-secondary)",
584
590
  marginBottom: "var(--space-controlGap)"
585
591
  },
586
- children: "Confirm Button"
592
+ children: x("bigconsole.widget.actions.confirm.confirmButtonLabel", "Confirm Button")
587
593
  }), /* @__PURE__ */ f(o, {
588
- value: J,
589
- onChange: (e) => Y(e.target.value),
594
+ value: De,
595
+ onChange: (e) => X(e.target.value),
590
596
  disabled: b,
591
597
  style: {
592
598
  height: "var(--size-controlHeight-sm)",
@@ -600,9 +606,9 @@ var h = {
600
606
  color: "var(--color-text-secondary)",
601
607
  marginBottom: "var(--space-controlGap)"
602
608
  },
603
- children: "Cancel Button"
609
+ children: x("bigconsole.widget.actions.confirm.cancelButtonLabel", "Cancel Button")
604
610
  }), /* @__PURE__ */ f(o, {
605
- value: X,
611
+ value: Oe,
606
612
  onChange: (e) => Z(e.target.value),
607
613
  disabled: b,
608
614
  style: {
@@ -621,7 +627,7 @@ var h = {
621
627
  },
622
628
  children: [/* @__PURE__ */ p("button", {
623
629
  type: "button",
624
- onClick: () => we((e) => !e),
630
+ onClick: () => Ee((e) => !e),
625
631
  style: {
626
632
  display: "flex",
627
633
  alignItems: "center",
@@ -634,11 +640,11 @@ var h = {
634
640
  fontWeight: "var(--font-weight-semibold)",
635
641
  color: "var(--color-text-primary)"
636
642
  },
637
- children: [f(Ce ? te : ne, { style: {
643
+ children: [f(Te ? ne : re, { style: {
638
644
  height: "14px",
639
645
  width: "14px"
640
- } }), "Advanced"]
641
- }), Ce && /* @__PURE__ */ p("div", {
646
+ } }), x("bigconsole.widget.actions.advanced.toggle", "Advanced")]
647
+ }), Te && /* @__PURE__ */ p("div", {
642
648
  style: {
643
649
  marginTop: "var(--space-formGap)",
644
650
  display: "flex",
@@ -648,15 +654,15 @@ var h = {
648
654
  children: [/* @__PURE__ */ p("div", { children: [
649
655
  /* @__PURE__ */ f("label", {
650
656
  style: h,
651
- children: "Event name (id)"
657
+ children: x("bigconsole.widget.actions.advanced.eventNameLabel", "Event name (id)")
652
658
  }),
653
659
  /* @__PURE__ */ f(o, {
654
- value: x && v ? v.name : E,
660
+ value: S && v ? v.name : D,
655
661
  onChange: (e) => {
656
- D(e.target.value), k(!0);
662
+ O(e.target.value), A(!0);
657
663
  },
658
- placeholder: "auto from label",
659
- disabled: b || x,
664
+ placeholder: x("bigconsole.widget.actions.advanced.eventNamePlaceholder", "auto from label"),
665
+ disabled: b || S,
660
666
  style: {
661
667
  height: "var(--size-controlHeight-md)",
662
668
  fontSize: "var(--font-size-body-sm)",
@@ -666,15 +672,16 @@ var h = {
666
672
  /* @__PURE__ */ p("p", {
667
673
  style: g,
668
674
  children: [
669
- "Emits",
675
+ x("bigconsole.widget.actions.advanced.emitsPrefix", "Emits"),
670
676
  " ",
671
677
  /* @__PURE__ */ p("code", { children: [
672
678
  "widget:",
673
- x && v ? v.name : m(E || w) || "<name>",
679
+ S && v ? v.name : m(D || T) || "<name>",
674
680
  ":clicked"
675
681
  ] }),
676
- ". ",
677
- x ? "Fixed once created." : "Auto-derived from the label."
682
+ ".",
683
+ " ",
684
+ S ? x("bigconsole.widget.actions.advanced.emitsFixed", "Fixed once created.") : x("bigconsole.widget.actions.advanced.emitsAutoDerived", "Auto-derived from the label.")
678
685
  ]
679
686
  })
680
687
  ] }), /* @__PURE__ */ p("div", {
@@ -690,7 +697,7 @@ var h = {
690
697
  gap: "var(--space-controlGap)",
691
698
  cursor: "pointer"
692
699
  },
693
- children: [/* @__PURE__ */ f(se, {
700
+ children: [/* @__PURE__ */ f(le, {
694
701
  checked: B,
695
702
  onCheckedChange: (e) => V(e === !0),
696
703
  disabled: b
@@ -699,7 +706,7 @@ var h = {
699
706
  fontSize: "var(--font-size-body-sm)",
700
707
  color: "var(--color-text-primary)"
701
708
  },
702
- children: "Disabled"
709
+ children: x("bigconsole.widget.actions.advanced.disabled", "Disabled")
703
710
  })]
704
711
  }), /* @__PURE__ */ p("label", {
705
712
  style: {
@@ -708,7 +715,7 @@ var h = {
708
715
  gap: "var(--space-controlGap)",
709
716
  cursor: "pointer"
710
717
  },
711
- children: [/* @__PURE__ */ f(se, {
718
+ children: [/* @__PURE__ */ f(le, {
712
719
  checked: H,
713
720
  onCheckedChange: (e) => U(e === !0),
714
721
  disabled: b
@@ -717,14 +724,14 @@ var h = {
717
724
  fontSize: "var(--font-size-body-sm)",
718
725
  color: "var(--color-text-primary)"
719
726
  },
720
- children: "Hidden"
727
+ children: x("bigconsole.widget.actions.advanced.hidden", "Hidden")
721
728
  })]
722
729
  })]
723
730
  })]
724
731
  })]
725
732
  })
726
733
  ]
727
- }), /* @__PURE__ */ p(de, {
734
+ }), /* @__PURE__ */ p(pe, {
728
735
  style: {
729
736
  padding: "var(--space-formGap) var(--space-pagePadding)",
730
737
  borderTop: "1px solid var(--color-border)",
@@ -733,19 +740,19 @@ var h = {
733
740
  justifyContent: "flex-end",
734
741
  gap: "var(--space-controlGap)"
735
742
  },
736
- children: [/* @__PURE__ */ f(oe, {
743
+ children: [/* @__PURE__ */ f(ce, {
737
744
  type: "button",
738
745
  variant: "outline",
739
- onClick: xe,
746
+ onClick: Se,
740
747
  disabled: b,
741
748
  style: { height: "var(--size-controlHeight-md)" },
742
- children: "Cancel"
743
- }), /* @__PURE__ */ f(ee, {
744
- permission: x ? e.WIDGET_ACTION_UPDATE : e.WIDGET_ACTION_CREATE,
749
+ children: x("bigconsole.widget.actions.footer.cancel", "Cancel")
750
+ }), /* @__PURE__ */ f(te, {
751
+ permission: S ? e.WIDGET_ACTION_UPDATE : e.WIDGET_ACTION_CREATE,
745
752
  deniedBehavior: "disable",
746
- children: /* @__PURE__ */ f(oe, {
753
+ children: /* @__PURE__ */ f(ce, {
747
754
  type: "submit",
748
- disabled: b || !w.trim(),
755
+ disabled: b || !T.trim(),
749
756
  style: {
750
757
  height: "var(--size-controlHeight-md)",
751
758
  backgroundColor: "var(--color-action-primary-bg)"
@@ -756,20 +763,20 @@ var h = {
756
763
  alignItems: "center",
757
764
  gap: "var(--space-iconGap)"
758
765
  },
759
- children: [/* @__PURE__ */ f(me, { style: {
766
+ children: [/* @__PURE__ */ f(ge, { style: {
760
767
  height: "var(--size-icon-sm)",
761
768
  width: "var(--size-icon-sm)"
762
- } }), "Saving..."]
769
+ } }), x("bigconsole.widget.actions.footer.saving", "Saving...")]
763
770
  }) : /* @__PURE__ */ p("span", {
764
771
  style: {
765
772
  display: "flex",
766
773
  alignItems: "center",
767
774
  gap: "var(--space-iconGap)"
768
775
  },
769
- children: [f(x ? re : ie, { style: {
776
+ children: [f(S ? ie : ae, { style: {
770
777
  height: "var(--size-icon-sm)",
771
778
  width: "var(--size-icon-sm)"
772
- } }), x ? "Update Button" : "Add Button"]
779
+ } }), S ? x("bigconsole.widget.actions.footer.updateButton", "Update Button") : x("bigconsole.widget.actions.footer.addButton", "Add Button")]
773
780
  })
774
781
  })
775
782
  })]