@burdenoff/microfe-bigconsole 2026.1008.10 → 2026.1008.12

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 (131) hide show
  1. package/dist/bigconsole/BigConsoleRoutes.d.ts.map +1 -1
  2. package/dist/bigconsole/BigConsoleRoutes.js +136 -127
  3. package/dist/bigconsole/BigConsoleRoutes.js.map +1 -1
  4. package/dist/bigconsole/assistant/assistantProduct.d.ts.map +1 -1
  5. package/dist/bigconsole/assistant/assistantProduct.js +3 -1
  6. package/dist/bigconsole/assistant/assistantProduct.js.map +1 -1
  7. package/dist/bigconsole/components/builder/inspector/DataBindingSection.js +31 -31
  8. package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js +44 -44
  9. package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js.map +1 -1
  10. package/dist/bigconsole/components/dashboard/DashboardCanvas.js +36 -36
  11. package/dist/bigconsole/components/dashboard/DashboardCanvas.js.map +1 -1
  12. package/dist/bigconsole/components/dashboard/DashboardToolbar.js +59 -59
  13. package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js +15 -15
  14. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +30 -30
  15. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js +41 -41
  16. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js +34 -34
  17. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js +34 -34
  18. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js +110 -110
  19. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js.map +1 -1
  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 +91 -91
  23. package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js.map +1 -1
  24. package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +101 -101
  25. package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js.map +1 -1
  26. package/dist/bigconsole/components/dashboard/TemplateInstallOptions.js +31 -31
  27. package/dist/bigconsole/components/dashboard/TemplateLayoutPreview.js +15 -15
  28. package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.js +1 -1
  29. package/dist/bigconsole/components/dashboard/WidgetPalette.js +46 -46
  30. package/dist/bigconsole/components/datasink/AlertExecutionHistory.js +37 -37
  31. package/dist/bigconsole/components/datasink/AlertRuleEditor.js +66 -66
  32. package/dist/bigconsole/components/datasink/CacheTTLSelector.js +35 -35
  33. package/dist/bigconsole/components/datasink/DataSinkCard.js +29 -29
  34. package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js +18 -18
  35. package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js +20 -20
  36. package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js +47 -47
  37. package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js +91 -91
  38. package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +35 -35
  39. package/dist/bigconsole/components/parser/DataSinkSelector.js +40 -40
  40. package/dist/bigconsole/components/parser/ImportParserDialog.js +120 -120
  41. package/dist/bigconsole/components/parser/ImportParserDialog.js.map +1 -1
  42. package/dist/bigconsole/components/parser/ParserSelector.js +51 -51
  43. package/dist/bigconsole/components/pipeline/PipelineScopePicker.js +10 -10
  44. package/dist/bigconsole/components/preview/AiPreviewMiniPanel.js +27 -27
  45. package/dist/bigconsole/components/preview/AiPreviewPanel.js +30 -30
  46. package/dist/bigconsole/components/widgets/ActionConfigDialog.js +4 -4
  47. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +93 -93
  48. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js.map +1 -1
  49. package/dist/bigconsole/components/widgets/PropertiesPanel.d.ts.map +1 -1
  50. package/dist/bigconsole/components/widgets/PropertiesPanel.js +280 -273
  51. package/dist/bigconsole/components/widgets/PropertiesPanel.js.map +1 -1
  52. package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js +4 -4
  53. package/dist/bigconsole/components/widgets/chart/ChartConfig.js +48 -48
  54. package/dist/bigconsole/components/widgets/comments/WidgetComments.js +46 -46
  55. package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +61 -61
  56. package/dist/bigconsole/components/widgets/form/FormWidget.js +36 -36
  57. package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +42 -42
  58. package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js +25 -25
  59. package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js +4 -4
  60. package/dist/bigconsole/components/widgets/list/ListConfig.js +30 -30
  61. package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +38 -38
  62. package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js +9 -9
  63. package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.js +9 -9
  64. package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +49 -49
  65. package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +39 -39
  66. package/dist/bigconsole/components/widgets/table/TableConfig.js +73 -73
  67. package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +64 -64
  68. package/dist/bigconsole/components/workflow/WorkflowOpenGuard.js +15 -15
  69. package/dist/bigconsole/components/workflow/WorkflowSinkLinkForm.js +15 -15
  70. package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.js +9 -9
  71. package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +67 -67
  72. package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js.map +1 -1
  73. package/dist/bigconsole/hooks/useDashboardLayoutBaseline.d.ts +15 -0
  74. package/dist/bigconsole/hooks/useDashboardLayoutBaseline.d.ts.map +1 -0
  75. package/dist/bigconsole/hooks/useDashboardLayoutBaseline.js +34 -0
  76. package/dist/bigconsole/hooks/useDashboardLayoutBaseline.js.map +1 -0
  77. package/dist/bigconsole/hooks/useDrilldown.js +3 -3
  78. package/dist/bigconsole/hooks/useGlobalFilters.js +3 -3
  79. package/dist/bigconsole/pages/AdminPage.js +130 -130
  80. package/dist/bigconsole/pages/DashboardBuilderPage.d.ts.map +1 -1
  81. package/dist/bigconsole/pages/DashboardBuilderPage.js +72 -60
  82. package/dist/bigconsole/pages/DashboardBuilderPage.js.map +1 -1
  83. package/dist/bigconsole/pages/DashboardViewPage.js +1 -1
  84. package/dist/bigconsole/pages/DataSinkAlertsPage.d.ts.map +1 -1
  85. package/dist/bigconsole/pages/DataSinkAlertsPage.js +30 -23
  86. package/dist/bigconsole/pages/DataSinkAlertsPage.js.map +1 -1
  87. package/dist/bigconsole/pages/DataSinkBuilderPage.d.ts.map +1 -1
  88. package/dist/bigconsole/pages/DataSinkBuilderPage.js +272 -263
  89. package/dist/bigconsole/pages/DataSinkBuilderPage.js.map +1 -1
  90. package/dist/bigconsole/pages/DataSinkViewPage.js +1 -1
  91. package/dist/bigconsole/pages/DataSinksPage.js +1 -1
  92. package/dist/bigconsole/pages/DataSourcesPage.js +5 -5
  93. package/dist/bigconsole/pages/InsightsPage.js +181 -181
  94. package/dist/bigconsole/pages/InsightsPage.js.map +1 -1
  95. package/dist/bigconsole/pages/OverviewPage.js +47 -47
  96. package/dist/bigconsole/pages/OverviewPage.js.map +1 -1
  97. package/dist/bigconsole/pages/ParserBuilderPage.d.ts.map +1 -1
  98. package/dist/bigconsole/pages/ParserBuilderPage.js +227 -211
  99. package/dist/bigconsole/pages/ParserBuilderPage.js.map +1 -1
  100. package/dist/bigconsole/pages/ParserViewPage.js +97 -97
  101. package/dist/bigconsole/pages/PipelineBuilderPage.d.ts.map +1 -1
  102. package/dist/bigconsole/pages/PipelineBuilderPage.js +256 -214
  103. package/dist/bigconsole/pages/PipelineBuilderPage.js.map +1 -1
  104. package/dist/bigconsole/pages/PipelineViewPage.js +146 -146
  105. package/dist/bigconsole/pages/PipelinesPage.js +88 -88
  106. package/dist/bigconsole/pages/PipelinesPage.js.map +1 -1
  107. package/dist/bigconsole/pages/SettingsPage.d.ts.map +1 -1
  108. package/dist/bigconsole/pages/SettingsPage.js +179 -173
  109. package/dist/bigconsole/pages/SettingsPage.js.map +1 -1
  110. package/dist/bigconsole/pages/WidgetDemoPage.js +42 -42
  111. package/dist/bigconsole/pages/WorkflowViewPage.js +1 -1
  112. package/dist/bigconsole/pages/WorkflowsPage.js +141 -141
  113. package/dist/bigconsole/pages/WorkflowsPage.js.map +1 -1
  114. package/dist/bigconsole/providers/BigConsoleQuotaProvider.js +12 -12
  115. package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.js +34 -34
  116. package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +79 -79
  117. package/dist/bigconsole/renderers/adapters/CustomRenderer.js +46 -46
  118. package/dist/bigconsole/store/widgetStore.d.ts +12 -0
  119. package/dist/bigconsole/store/widgetStore.d.ts.map +1 -1
  120. package/dist/bigconsole/store/widgetStore.js +3 -1
  121. package/dist/bigconsole/store/widgetStore.js.map +1 -1
  122. package/dist/bigconsole/utils/formDirty.d.ts +83 -0
  123. package/dist/bigconsole/utils/formDirty.d.ts.map +1 -0
  124. package/dist/bigconsole/utils/formDirty.js +23 -0
  125. package/dist/bigconsole/utils/formDirty.js.map +1 -0
  126. package/dist/bigconsole/utils/layoutBaseline.d.ts +131 -0
  127. package/dist/bigconsole/utils/layoutBaseline.d.ts.map +1 -0
  128. package/dist/bigconsole/utils/layoutBaseline.js +98 -0
  129. package/dist/bigconsole/utils/layoutBaseline.js.map +1 -0
  130. package/dist/translations/en.d.ts.map +1 -1
  131. package/package.json +3 -3
@@ -5,9 +5,9 @@ import "../../../hooks/index.js";
5
5
  import i from "./EmbedTab.js";
6
6
  import { useShareRecipients as a } from "../../../hooks/useShareRecipients.js";
7
7
  import { useCallback as o, useEffect as s, useRef as c, useState as l } from "react";
8
- import { ResponsiveDialog as ee, ResponsiveDialogContent as u, ResponsiveDialogDescription as d, ResponsiveDialogTitle as te } from "@burdenoff/fe-libs/ui";
8
+ import { ResponsiveDialog as ee, ResponsiveDialogContent as u, ResponsiveDialogDescription as te, ResponsiveDialogTitle as ne } from "@burdenoff/fe-libs/ui";
9
+ import { useI18n as d } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
9
10
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
10
- import { useI18n as ne } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
11
11
  import { formatDistanceToNow as m } from "date-fns";
12
12
  //#region src/bigconsole/components/dashboard/ShareDialog/ShareDialog.tsx
13
13
  var h = {
@@ -54,23 +54,23 @@ function v(t) {
54
54
  returnFocusRef: i
55
55
  }, `${r?.id ?? ""}|${n ?? ""}|${t.dashboardId}`);
56
56
  }
57
- function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility: y, onVisibilityChange: b, canChangeVisibility: x = !0, returnFocusRef: S }) {
58
- let { t: C } = ne(), { shares: w, loading: T, error: ie, fetchShares: E, shareWithUser: D, shareWithGroup: O, updateShare: k, revokeShare: A, revokeAllShares: j } = r(), M = n(), [N, P] = l(""), [F, I] = l(null), [L, R] = l("VIEW"), [z, ae] = l(""), [B, V] = l(!1), [H, U] = l("people"), [W, G] = l(!1), [K, q] = l(null), [J, Y] = l(null), X = a(m, N), Z = t();
57
+ function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility: y, onVisibilityChange: b, canChangeVisibility: S = !0, returnFocusRef: C }) {
58
+ let { t: w } = d(), { shares: T, loading: E, error: re, fetchShares: D, shareWithUser: O, shareWithGroup: k, updateShare: A, revokeShare: j, revokeAllShares: M } = r(), N = n(), [P, F] = l(""), [I, L] = l(null), [R, z] = l("VIEW"), [B, ie] = l(""), [V, H] = l(!1), [U, W] = l("people"), [G, K] = l(!1), [q, J] = l(null), [Y, X] = l(null), Z = a(m, P), Q = t();
59
59
  s(() => {
60
60
  let e = !1;
61
61
  return Promise.resolve().then(() => {
62
- e || (I(null), P(""), Y(null));
62
+ e || (L(null), F(""), X(null));
63
63
  }), () => {
64
64
  e = !0;
65
65
  };
66
66
  }, [
67
- X.owner,
67
+ Z.owner,
68
68
  e,
69
69
  m
70
70
  ]), s(() => {
71
71
  if (m && e) {
72
- E(e);
73
- let t = new URL(`${Z}/dashboards/${encodeURIComponent(e)}`, window.location.origin), n = new URLSearchParams(window.location.search);
72
+ D(e);
73
+ let t = new URL(`${Q}/dashboards/${encodeURIComponent(e)}`, window.location.origin), n = new URLSearchParams(window.location.search);
74
74
  for (let e of [
75
75
  "org",
76
76
  "workspace",
@@ -80,69 +80,69 @@ function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility
80
80
  let r = n.get(e);
81
81
  r && t.searchParams.set(e, r);
82
82
  }
83
- X.workspaceId && t.searchParams.set("workspace", X.workspaceId), ae(t.toString());
83
+ Z.workspaceId && t.searchParams.set("workspace", Z.workspaceId), ie(t.toString());
84
84
  }
85
85
  }, [
86
86
  m,
87
87
  e,
88
- E,
89
- Z,
90
- X.workspaceId
88
+ D,
89
+ Q,
90
+ Z.workspaceId
91
91
  ]);
92
- let oe = o(async () => {
93
- if (!F || T || F.workspaceId !== X.workspaceId) return;
94
- Y(null), M("bigconsole.dashboard.share_clicked", {
92
+ let ae = o(async () => {
93
+ if (!I || E || I.workspaceId !== Z.workspaceId) return;
94
+ X(null), N("bigconsole.dashboard.share_clicked", {
95
95
  dashboardId: e,
96
- permission: L,
97
- recipientType: F.type
96
+ permission: R,
97
+ recipientType: I.type
98
98
  });
99
99
  let t = null;
100
- if (F.type === "USER" ? t = await D(e, F.id, L) : F.type === "GROUP" && (t = await O(e, F.id, L)), t && M("bigconsole.dashboard.shared", {
100
+ if (I.type === "USER" ? t = await O(e, I.id, R) : I.type === "GROUP" && (t = await k(e, I.id, R)), t && N("bigconsole.dashboard.shared", {
101
101
  dashboardId: e,
102
- permission: L,
103
- recipientType: F.type
102
+ permission: R,
103
+ recipientType: I.type
104
104
  }), !t) {
105
- Y(C("bigconsole.share.error.grantFailed", "Access could not be granted. Review the recipient and try again."));
105
+ X(w("bigconsole.share.error.grantFailed", "Access could not be granted. Review the recipient and try again."));
106
106
  return;
107
107
  }
108
- I(null), P("");
108
+ L(null), F("");
109
109
  }, [
110
- X.workspaceId,
111
- C,
112
- T,
110
+ Z.workspaceId,
111
+ w,
112
+ E,
113
113
  e,
114
- M,
115
- F,
116
- L,
117
- O,
118
- D
119
- ]), se = o(async (e, t) => {
120
- await k({
114
+ N,
115
+ I,
116
+ R,
117
+ k,
118
+ O
119
+ ]), oe = o(async (e, t) => {
120
+ await A({
121
121
  id: e,
122
122
  permission: t
123
123
  });
124
- }, [k]), Q = o(async (e) => {
125
- window.confirm("Are you sure you want to revoke this access?") && await A(e);
126
- }, [A]), ce = o(async () => {
127
- window.confirm("Are you sure you want to revoke all shared access?") && await j(e);
128
- }, [e, j]), le = o(async (e) => {
124
+ }, [A]), se = o(async (e) => {
125
+ window.confirm("Are you sure you want to revoke this access?") && await j(e);
126
+ }, [j]), ce = o(async () => {
127
+ window.confirm("Are you sure you want to revoke all shared access?") && await M(e);
128
+ }, [e, M]), le = o(async (e) => {
129
129
  if (!(!b || e === y)) {
130
- q(null), G(!0);
130
+ J(null), K(!0);
131
131
  try {
132
132
  await b(e);
133
133
  } catch (e) {
134
- q(e instanceof Error ? e.message : "Could not update general access.");
134
+ J(e instanceof Error ? e.message : "Could not update general access.");
135
135
  } finally {
136
- G(!1);
136
+ K(!1);
137
137
  }
138
138
  }
139
139
  }, [b, y]), ue = o(async () => {
140
140
  try {
141
- await navigator.clipboard.writeText(z), V(!0), setTimeout(() => V(!1), 2e3);
141
+ await navigator.clipboard.writeText(B), H(!0), setTimeout(() => H(!1), 2e3);
142
142
  } catch {
143
- Y(C("bigconsole.share.error.copyFailed", "The link could not be copied. Select the link and copy it manually."));
143
+ X(w("bigconsole.share.error.copyFailed", "The link could not be copied. Select the link and copy it manually."));
144
144
  }
145
- }, [z, C]), $ = X.results;
145
+ }, [B, w]), $ = Z.results;
146
146
  return m ? /* @__PURE__ */ f(ee, {
147
147
  open: m,
148
148
  onOpenChange: (e) => {
@@ -154,10 +154,10 @@ function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility
154
154
  className: "flex w-full flex-col gap-0 overflow-hidden rounded-card p-0 sm:w-[calc(100%-2rem)] sm:max-w-[520px]",
155
155
  onOpenAutoFocus: () => {
156
156
  let e = document.activeElement;
157
- e instanceof HTMLElement && e !== document.body && !e.closest("[role=dialog]") && (S.current = e);
157
+ e instanceof HTMLElement && e !== document.body && !e.closest("[role=dialog]") && (C.current = e);
158
158
  },
159
159
  onCloseAutoFocus: (e) => {
160
- e.preventDefault(), S.current?.isConnected && S.current.focus();
160
+ e.preventDefault(), C.current?.isConnected && C.current.focus();
161
161
  },
162
162
  style: {
163
163
  maxWidth: "520px",
@@ -176,7 +176,7 @@ function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility
176
176
  justifyContent: "space-between",
177
177
  backgroundColor: h.bgPrimary
178
178
  },
179
- children: [/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f(te, {
179
+ children: [/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f(ne, {
180
180
  style: {
181
181
  margin: 0,
182
182
  fontSize: "18px",
@@ -184,7 +184,7 @@ function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility
184
184
  color: h.textPrimary
185
185
  },
186
186
  children: "Share Dashboard"
187
- }), /* @__PURE__ */ f(d, {
187
+ }), /* @__PURE__ */ f(te, {
188
188
  style: {
189
189
  margin: "4px 0 0",
190
190
  fontSize: "13px",
@@ -193,7 +193,7 @@ function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility
193
193
  children: c
194
194
  })] }), /* @__PURE__ */ f("button", {
195
195
  type: "button",
196
- "aria-label": C("bigconsole.share.closeLabel", "Close share dialog"),
196
+ "aria-label": w("bigconsole.share.closeLabel", "Close share dialog"),
197
197
  onClick: v,
198
198
  style: {
199
199
  background: "none",
@@ -221,14 +221,14 @@ function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility
221
221
  children: ["people", "embed"].map((e) => /* @__PURE__ */ f("button", {
222
222
  type: "button",
223
223
  role: "tab",
224
- "aria-selected": H === e,
225
- onClick: () => U(e),
224
+ "aria-selected": U === e,
225
+ onClick: () => W(e),
226
226
  style: {
227
227
  padding: "10px 12px",
228
228
  background: "none",
229
229
  border: "none",
230
- borderBottom: `2px solid ${H === e ? h.actionPrimaryBg : "transparent"}`,
231
- color: H === e ? h.textPrimary : h.textSecondary,
230
+ borderBottom: `2px solid ${U === e ? h.actionPrimaryBg : "transparent"}`,
231
+ color: U === e ? h.textPrimary : h.textSecondary,
232
232
  fontSize: "13px",
233
233
  fontWeight: 600,
234
234
  cursor: "pointer"
@@ -236,7 +236,7 @@ function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility
236
236
  children: e === "people" ? "People" : "Publish to web"
237
237
  }, e))
238
238
  }),
239
- H === "embed" && /* @__PURE__ */ f("div", {
239
+ U === "embed" && /* @__PURE__ */ f("div", {
240
240
  className: "min-h-0 flex-1 overflow-y-auto",
241
241
  style: { backgroundColor: h.bgPrimary },
242
242
  children: /* @__PURE__ */ f(i, {
@@ -244,7 +244,7 @@ function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility
244
244
  colors: h
245
245
  })
246
246
  }),
247
- H === "people" && /* @__PURE__ */ p("div", {
247
+ U === "people" && /* @__PURE__ */ p("div", {
248
248
  className: "flex min-h-0 flex-1 flex-col gap-section-gap overflow-y-auto p-card-padding",
249
249
  style: { backgroundColor: h.bgPrimary },
250
250
  children: [
@@ -268,7 +268,7 @@ function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility
268
268
  "aria-label": "General access",
269
269
  "data-testid": "share-visibility",
270
270
  value: y,
271
- disabled: !x || W,
271
+ disabled: !S || G,
272
272
  onChange: (e) => void le(e.target.value),
273
273
  style: {
274
274
  padding: "10px 12px",
@@ -277,8 +277,8 @@ function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility
277
277
  fontSize: "13px",
278
278
  backgroundColor: h.bgPrimary,
279
279
  color: h.textPrimary,
280
- cursor: !x || W ? "not-allowed" : "pointer",
281
- opacity: !x || W ? .6 : 1
280
+ cursor: !S || G ? "not-allowed" : "pointer",
281
+ opacity: !S || G ? .6 : 1
282
282
  },
283
283
  children: g.map((e) => /* @__PURE__ */ f("option", {
284
284
  value: e.value,
@@ -292,7 +292,7 @@ function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility
292
292
  children: g.find((e) => e.value === y)?.description
293
293
  })]
294
294
  }),
295
- !x && /* @__PURE__ */ f("p", {
295
+ !S && /* @__PURE__ */ f("p", {
296
296
  style: {
297
297
  margin: "6px 0 0",
298
298
  fontSize: "11px",
@@ -300,13 +300,13 @@ function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility
300
300
  },
301
301
  children: "You don't have permission to change general access."
302
302
  }),
303
- K && /* @__PURE__ */ f("p", {
303
+ q && /* @__PURE__ */ f("p", {
304
304
  style: {
305
305
  margin: "6px 0 0",
306
306
  fontSize: "11px",
307
307
  color: h.statusErrorText
308
308
  },
309
- children: K
309
+ children: q
310
310
  })
311
311
  ]
312
312
  }),
@@ -325,7 +325,7 @@ function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility
325
325
  },
326
326
  children: [/* @__PURE__ */ f("input", {
327
327
  type: "text",
328
- value: z,
328
+ value: B,
329
329
  readOnly: !0,
330
330
  style: {
331
331
  flex: 1,
@@ -340,7 +340,7 @@ function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility
340
340
  onClick: ue,
341
341
  style: {
342
342
  padding: "10px 16px",
343
- backgroundColor: B ? h.statusSuccessBg : h.actionPrimaryBg,
343
+ backgroundColor: V ? h.statusSuccessBg : h.actionPrimaryBg,
344
344
  color: "var(--color-action-primary-text)",
345
345
  border: "none",
346
346
  borderRadius: "6px",
@@ -349,14 +349,14 @@ function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility
349
349
  fontWeight: 500,
350
350
  minWidth: "80px"
351
351
  },
352
- children: B ? "Copied!" : "Copy"
352
+ children: V ? "Copied!" : "Copy"
353
353
  })]
354
354
  })]
355
355
  }),
356
- (ie || J) && /* @__PURE__ */ f("p", {
356
+ (re || Y) && /* @__PURE__ */ f("p", {
357
357
  role: "alert",
358
358
  style: { color: h.statusErrorText },
359
- children: J || C("bigconsole.share.error.loadFailed", "Dashboard access could not be loaded or updated. Try again.")
359
+ children: Y || w("bigconsole.share.error.loadFailed", "Dashboard access could not be loaded or updated. Try again.")
360
360
  }),
361
361
  /* @__PURE__ */ p("section", {
362
362
  "aria-labelledby": "share-invite-heading",
@@ -373,31 +373,31 @@ function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility
373
373
  fontSize: "13px",
374
374
  marginBottom: "8px"
375
375
  },
376
- children: C("bigconsole.share.directory.scopeHint", "Only members and groups from the current workspace are listed.")
376
+ children: w("bigconsole.share.directory.scopeHint", "Only members and groups from the current workspace are listed.")
377
377
  }),
378
- X.loading && /* @__PURE__ */ f("p", {
378
+ Z.loading && /* @__PURE__ */ f("p", {
379
379
  role: "status",
380
- children: C("bigconsole.share.directory.loading", "Loading workspace recipients…")
380
+ children: w("bigconsole.share.directory.loading", "Loading workspace recipients…")
381
381
  }),
382
- X.error && /* @__PURE__ */ p("div", {
382
+ Z.error && /* @__PURE__ */ p("div", {
383
383
  role: "alert",
384
- children: [/* @__PURE__ */ f("p", { children: C("bigconsole.share.directory.loadFailed", "The workspace directory could not be loaded. Your access may not allow directory lookup.") }), /* @__PURE__ */ f("button", {
384
+ children: [/* @__PURE__ */ f("p", { children: w("bigconsole.share.directory.loadFailed", "The workspace directory could not be loaded. Your access may not allow directory lookup.") }), /* @__PURE__ */ f("button", {
385
385
  type: "button",
386
- onClick: X.retry,
387
- children: C("bigconsole.share.directory.retry", "Retry directory")
386
+ onClick: Z.retry,
387
+ children: w("bigconsole.share.directory.retry", "Retry directory")
388
388
  })]
389
389
  }),
390
- N && !F && !X.loading && !X.error && $.length === 0 && /* @__PURE__ */ f("p", {
390
+ P && !I && !Z.loading && !Z.error && $.length === 0 && /* @__PURE__ */ f("p", {
391
391
  role: "status",
392
- children: C("bigconsole.share.directory.empty", "No matching workspace members or groups.")
392
+ children: w("bigconsole.share.directory.empty", "No matching workspace members or groups.")
393
393
  }),
394
- X.hasMoreMembers && /* @__PURE__ */ f("button", {
394
+ Z.hasMoreMembers && /* @__PURE__ */ f("button", {
395
395
  type: "button",
396
- disabled: X.loading,
397
- onClick: X.loadMoreMembers,
398
- children: C("bigconsole.share.directory.loadMore", "Load more workspace members")
396
+ disabled: Z.loading,
397
+ onClick: Z.loadMoreMembers,
398
+ children: w("bigconsole.share.directory.loadMore", "Load more workspace members")
399
399
  }),
400
- X.hasMoreGroups && /* @__PURE__ */ f("p", { children: C("bigconsole.share.directory.moreGroups", "More groups match. Narrow your search to find a specific group.") }),
400
+ Z.hasMoreGroups && /* @__PURE__ */ f("p", { children: w("bigconsole.share.directory.moreGroups", "More groups match. Narrow your search to find a specific group.") }),
401
401
  /* @__PURE__ */ p("div", {
402
402
  style: {
403
403
  display: "flex",
@@ -413,12 +413,12 @@ function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility
413
413
  },
414
414
  children: [/* @__PURE__ */ f("input", {
415
415
  type: "text",
416
- value: F ? F.name : N,
416
+ value: I ? I.name : P,
417
417
  onChange: (e) => {
418
- P(e.target.value), I(null);
418
+ F(e.target.value), L(null);
419
419
  },
420
- "aria-label": C("bigconsole.share.directory.searchLabel", "Search workspace members and groups"),
421
- placeholder: C("bigconsole.share.directory.searchPlaceholder", "Search workspace members or groups..."),
420
+ "aria-label": w("bigconsole.share.directory.searchLabel", "Search workspace members and groups"),
421
+ placeholder: w("bigconsole.share.directory.searchPlaceholder", "Search workspace members or groups..."),
422
422
  style: {
423
423
  width: "100%",
424
424
  padding: "10px 12px",
@@ -428,7 +428,7 @@ function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility
428
428
  backgroundColor: h.bgPrimary,
429
429
  color: h.textPrimary
430
430
  }
431
- }), N && !F && $.length > 0 && /* @__PURE__ */ f("div", {
431
+ }), P && !I && $.length > 0 && /* @__PURE__ */ f("div", {
432
432
  style: {
433
433
  position: "absolute",
434
434
  top: "100%",
@@ -445,7 +445,7 @@ function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility
445
445
  },
446
446
  children: $.map((e) => /* @__PURE__ */ p("button", {
447
447
  type: "button",
448
- onClick: () => I(e),
448
+ onClick: () => L(e),
449
449
  style: {
450
450
  display: "block",
451
451
  width: "100%",
@@ -485,9 +485,9 @@ function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility
485
485
  })]
486
486
  }),
487
487
  /* @__PURE__ */ f("select", {
488
- "aria-label": C("bigconsole.share.permissionLabel", "Access permission"),
489
- value: L,
490
- onChange: (e) => R(e.target.value),
488
+ "aria-label": w("bigconsole.share.permissionLabel", "Access permission"),
489
+ value: R,
490
+ onChange: (e) => z(e.target.value),
491
491
  style: {
492
492
  padding: "10px 12px",
493
493
  border: `1px solid ${h.borderDefault}`,
@@ -502,15 +502,15 @@ function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility
502
502
  }, e.value))
503
503
  }),
504
504
  /* @__PURE__ */ f("button", {
505
- onClick: oe,
506
- disabled: !F || T || F.workspaceId !== X.workspaceId,
505
+ onClick: ae,
506
+ disabled: !I || E || I.workspaceId !== Z.workspaceId,
507
507
  style: {
508
508
  padding: "10px 16px",
509
- backgroundColor: F ? h.actionPrimaryBg : h.bgTertiary,
510
- color: F ? "var(--color-action-primary-text)" : h.textSecondary,
509
+ backgroundColor: I ? h.actionPrimaryBg : h.bgTertiary,
510
+ color: I ? "var(--color-action-primary-text)" : h.textSecondary,
511
511
  border: "none",
512
512
  borderRadius: "6px",
513
- cursor: F ? "pointer" : "not-allowed",
513
+ cursor: I ? "pointer" : "not-allowed",
514
514
  fontSize: "13px",
515
515
  fontWeight: 500
516
516
  },
@@ -537,10 +537,10 @@ function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility
537
537
  style: { color: h.textPrimary },
538
538
  children: [
539
539
  "People with access (",
540
- w.length,
540
+ T.length,
541
541
  ")"
542
542
  ]
543
- }), w.length > 0 && /* @__PURE__ */ f("button", {
543
+ }), T.length > 0 && /* @__PURE__ */ f("button", {
544
544
  onClick: ce,
545
545
  style: {
546
546
  padding: "4px 8px",
@@ -552,13 +552,13 @@ function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility
552
552
  },
553
553
  children: "Revoke All"
554
554
  })]
555
- }), T && w.length === 0 ? /* @__PURE__ */ f("p", {
555
+ }), E && T.length === 0 ? /* @__PURE__ */ f("p", {
556
556
  style: {
557
557
  color: h.textSecondary,
558
558
  fontSize: "13px"
559
559
  },
560
560
  children: "Loading..."
561
- }) : w.length === 0 ? /* @__PURE__ */ f("p", {
561
+ }) : T.length === 0 ? /* @__PURE__ */ f("p", {
562
562
  style: {
563
563
  color: h.textSecondary,
564
564
  fontSize: "13px"
@@ -570,10 +570,10 @@ function y({ dashboardId: e, dashboardName: c, isOpen: m, onClose: v, visibility
570
570
  flexDirection: "column",
571
571
  gap: "8px"
572
572
  },
573
- children: w.map((e) => /* @__PURE__ */ f(re, {
573
+ children: T.map((e) => /* @__PURE__ */ f(x, {
574
574
  share: e,
575
- onUpdatePermission: se,
576
- onRevoke: Q,
575
+ onUpdatePermission: oe,
576
+ onRevoke: se,
577
577
  colors: h
578
578
  }, e.id))
579
579
  })]
@@ -601,7 +601,7 @@ function b(e) {
601
601
  expired: !1
602
602
  };
603
603
  }
604
- function re({ share: e, onUpdatePermission: t, onRevoke: n, colors: r }) {
604
+ function x({ share: e, onUpdatePermission: t, onRevoke: n, colors: r }) {
605
605
  let i = b(e.expiresAt);
606
606
  return /* @__PURE__ */ p("div", {
607
607
  style: {