@burdenoff/microfe-bigconsole 2026.1123.7 → 2026.1124.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/dist/bigconsole/asof/AsOfControl.js +2 -2
  2. package/dist/bigconsole/components/dashboard/DashboardCommentsDrawer.js +107 -106
  3. package/dist/bigconsole/components/dashboard/DashboardGalleryCard.d.ts +34 -0
  4. package/dist/bigconsole/components/dashboard/DashboardGalleryCard.js +123 -0
  5. package/dist/bigconsole/components/dashboard/DashboardReviewDialog.js +1 -1
  6. package/dist/bigconsole/components/dashboard/DashboardStatusPill.js +19 -35
  7. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +119 -116
  8. package/dist/bigconsole/components/dashboard/LiveCanvasToggle.js +1 -1
  9. package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.d.ts +0 -1
  10. package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js +172 -170
  11. package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +210 -208
  12. package/dist/bigconsole/components/dashboard/TemplateInstallOptions.js +97 -97
  13. package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.js +1 -0
  14. package/dist/bigconsole/components/datasink/AlertExecutionHistory.js +92 -92
  15. package/dist/bigconsole/components/datasink/AlertRuleEditor.js +149 -149
  16. package/dist/bigconsole/components/datasink/AnomalyDetectorPanel.js +54 -54
  17. package/dist/bigconsole/components/datasink/DataSinkStatusBadge.js +30 -37
  18. package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js +4 -4
  19. package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +130 -129
  20. package/dist/bigconsole/components/datasink/SetupStateBadge.js +24 -33
  21. package/dist/bigconsole/components/datasink/SinkWorkflowLinkForm.js +38 -38
  22. package/dist/bigconsole/components/explore/CreateQueryWidget.js +57 -56
  23. package/dist/bigconsole/components/explore/SqlDraftEditor.js +140 -140
  24. package/dist/bigconsole/components/explore/VisualBuilder.js +85 -84
  25. package/dist/bigconsole/components/explore/queryAccess/GrantsPanel.js +168 -167
  26. package/dist/bigconsole/components/explore/queryAccess/QueryAccessAdmin.js +2 -2
  27. package/dist/bigconsole/components/explore/queryAccess/RelationEditor.js +118 -117
  28. package/dist/bigconsole/components/insights/BoardLintPanel.js +2 -2
  29. package/dist/bigconsole/components/insights/OutlierSpottingDialog.js +123 -123
  30. package/dist/bigconsole/components/kpi-change/KpiChangePanel.js +2 -2
  31. package/dist/bigconsole/components/narrative/NarrativePanel.js +1 -1
  32. package/dist/bigconsole/components/overview/DataHealthCard.js +3 -0
  33. package/dist/bigconsole/components/overview/RecentDashboardsPanel.js +3 -0
  34. package/dist/bigconsole/components/parser/ParserStatusBadge.js +25 -28
  35. package/dist/bigconsole/components/pipeline/PipelineScopePicker.js +23 -22
  36. package/dist/bigconsole/components/pipeline/PipelineStatusBadge.js +15 -26
  37. package/dist/bigconsole/components/reconcile/KpiReconcileDialog.js +24 -24
  38. package/dist/bigconsole/components/settings/WidgetCatalogSection.js +1 -1
  39. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +188 -187
  40. package/dist/bigconsole/components/widgets/FilterNotAppliedNotice.js +1 -1
  41. package/dist/bigconsole/components/widgets/UnsupportedDataSourceNotice.js +1 -1
  42. package/dist/bigconsole/components/widgets/WidgetCompareView.js +3 -1
  43. package/dist/bigconsole/components/widgets/WidgetHeader.js +1 -1
  44. package/dist/bigconsole/components/widgets/advanced/AdvancedWidgetConfig.js +45 -44
  45. package/dist/bigconsole/components/widgets/chart/ChartConfig.js +151 -147
  46. package/dist/bigconsole/components/widgets/chart/ReferenceLinesEditor.js +48 -47
  47. package/dist/bigconsole/components/widgets/comments/WidgetComments.js +1 -1
  48. package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +139 -138
  49. package/dist/bigconsole/components/widgets/form/FormWidget.js +149 -148
  50. package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +80 -77
  51. package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js +58 -56
  52. package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +75 -73
  53. package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +86 -85
  54. package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +80 -77
  55. package/dist/bigconsole/components/widgets/retention/RetentionView.js +1 -1
  56. package/dist/bigconsole/components/widgets/table/TableConfig.js +214 -211
  57. package/dist/bigconsole/components/widgets/table/TablePagination.js +59 -58
  58. package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +140 -138
  59. package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.js +74 -66
  60. package/dist/bigconsole/components/workflow/WorkflowSinkLinkForm.js +48 -48
  61. package/dist/bigconsole/components/workflow/WorkflowStatusBadge.js +28 -37
  62. package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +69 -69
  63. package/dist/bigconsole/hooks/useDashboardListQuery.d.ts +22 -0
  64. package/dist/bigconsole/hooks/useDashboardListQuery.js +39 -0
  65. package/dist/bigconsole/pages/AdminPage.js +147 -146
  66. package/dist/bigconsole/pages/DashboardViewPage.js +2 -0
  67. package/dist/bigconsole/pages/DashboardsPage.js +638 -855
  68. package/dist/bigconsole/pages/DataParsersPage.js +5 -0
  69. package/dist/bigconsole/pages/DataSinkBuilderPage.js +4 -1
  70. package/dist/bigconsole/pages/DataSinkViewPage.js +263 -261
  71. package/dist/bigconsole/pages/DataSinksPage.js +210 -186
  72. package/dist/bigconsole/pages/InsightsPage.js +386 -383
  73. package/dist/bigconsole/pages/ParserBuilderPage.js +413 -413
  74. package/dist/bigconsole/pages/ParserViewPage.js +2 -0
  75. package/dist/bigconsole/pages/PipelineBuilderPage.js +279 -276
  76. package/dist/bigconsole/pages/PipelineViewPage.js +3 -0
  77. package/dist/bigconsole/pages/PipelinesPage.js +198 -165
  78. package/dist/bigconsole/pages/SettingsPage.js +160 -160
  79. package/dist/bigconsole/pages/WidgetDemoPage.js +2 -0
  80. package/dist/bigconsole/pages/WorkflowViewPage.js +5 -0
  81. package/dist/bigconsole/pages/WorkflowsPage.js +144 -123
  82. package/dist/bigconsole/providers/BigConsoleQuotaProvider.js +1 -1
  83. package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +123 -122
  84. package/dist/bigconsole/utils/dashboardGallery.d.ts +84 -0
  85. package/dist/bigconsole/utils/dashboardGallery.js +93 -0
  86. package/dist/bigconsole/utils/statusTone.d.ts +17 -0
  87. package/dist/bigconsole/utils/statusTone.js +44 -0
  88. package/package.json +4 -4
@@ -1,30 +1,19 @@
1
- import { memo as e } from "react";
2
- import { jsx as t } from "react/jsx-runtime";
1
+ import { PIPELINE_STATUS_TONE as e, statusToneClasses as t } from "../../utils/statusTone.js";
2
+ import { memo as n } from "react";
3
+ import { jsx as r } from "react/jsx-runtime";
3
4
  // src/bigconsole/components/pipeline/PipelineStatusBadge.tsx
4
- var n = {
5
- draft: {
6
- label: "Draft",
7
- className: "bg-bg-sunken text-text-secondary border-[var(--color-border-subtle)]"
8
- },
9
- active: {
10
- label: "Active",
11
- className: "bg-[var(--color-status-success-bgSubtle)] text-status-success-text border-[var(--color-status-success-border)]"
12
- },
13
- inactive: {
14
- label: "Inactive",
15
- className: "bg-[var(--color-status-warning-bgSubtle)] text-[var(--color-status-warning-text)] border-[var(--color-status-warning-border)]"
16
- },
17
- error: {
18
- label: "Error",
19
- className: "bg-[var(--color-status-error-bgSubtle)] text-status-error-text border-[var(--color-status-error-border)]"
20
- }
21
- }, r = e(function({ status: e, size: r = "md" }) {
22
- let i = n[e] || n.draft;
23
- return /* @__PURE__ */ t("span", {
5
+ var i = {
6
+ draft: "Draft",
7
+ active: "Active",
8
+ inactive: "Inactive",
9
+ error: "Error"
10
+ }, a = n(function({ status: n, size: a = "md" }) {
11
+ let o = i[n] ?? i.draft;
12
+ return /* @__PURE__ */ r("span", {
24
13
  "data-testid": "pipeline-status-badge",
25
- "data-status": e,
26
- className: `inline-flex shrink-0 items-center whitespace-nowrap rounded-pill border font-medium ${r === "sm" ? "px-2 py-0.5 text-xs" : "px-2.5 py-1 text-sm"} ${i.className}`,
27
- children: i.label
14
+ "data-status": n,
15
+ className: `inline-flex shrink-0 items-center whitespace-nowrap rounded-pill border font-medium ${a === "sm" ? "px-2 py-0.5 text-xs" : "px-2.5 py-1 text-sm"} ${t(e, n)}`,
16
+ children: o
28
17
  });
29
18
  });
30
- export { r as PipelineStatusBadge, r as default };
19
+ export { a as PipelineStatusBadge, a as default };
@@ -6,11 +6,11 @@ import "../common/index.js";
6
6
  import { applySuggestions as o, assistantFocus as s, browserTimezone as c, buildInput as l, currencyFromConfig as u, loadSavedSide as d, missingForRun as f, previousMonth as p, restoreSavedSide as m, saveDraft as h, swapSides as g } from "./reconcileModel.js";
7
7
  import { memo as _, useCallback as v, useEffect as y, useMemo as b, useRef as x, useState as S } from "react";
8
8
  import { ArrowLeftRight as C, CheckCircle as w, Loader2 as T, MessageSquare as E, Play as D, ShieldAlert as O, XCircle as k } from "lucide-react";
9
- import { Button as A, ResponsiveDialog as ee, ResponsiveDialogContent as te, ResponsiveDialogDescription as ne, ResponsiveDialogHeader as re, ResponsiveDialogTitle as ie } from "@burdenoff/fe-libs/ui";
9
+ import { Button as A, ResponsiveDialog as ee, ResponsiveDialogContent as te, ResponsiveDialogDescription as ne, ResponsiveDialogHeader as re, ResponsiveDialogTitle as ie, ThemedSelect as ae } from "@burdenoff/fe-libs/ui";
10
10
  import { useI18n as j } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
11
- import { useApolloClient as ae, useQuery as M } from "@apollo/client/react";
12
- import { Fragment as oe, jsx as N, jsxs as P } from "react/jsx-runtime";
13
- import { askAssistantAbout as se } from "@burdenoff/fe-libs/shared/assistant/askAbout/useAskable";
11
+ import { useApolloClient as oe, useQuery as M } from "@apollo/client/react";
12
+ import { Fragment as se, jsx as N, jsxs as P } from "react/jsx-runtime";
13
+ import { askAssistantAbout as ce } from "@burdenoff/fe-libs/shared/assistant/askAbout/useAskable";
14
14
  // src/bigconsole/components/reconcile/KpiReconcileDialog.tsx
15
15
  var F = 50, I = {
16
16
  width: "100%",
@@ -81,7 +81,7 @@ var U = _(function({ side: e, role: n, disabled: r, onChange: a }) {
81
81
  htmlFor: t,
82
82
  style: L,
83
83
  children: n
84
- }), /* @__PURE__ */ P("select", {
84
+ }), /* @__PURE__ */ P(ae, {
85
85
  id: t,
86
86
  value: i,
87
87
  disabled: r || u,
@@ -175,7 +175,7 @@ var U = _(function({ side: e, role: n, disabled: r, onChange: a }) {
175
175
  ]
176
176
  });
177
177
  }), W = _(function({ input: e, group: t, leftTitle: r, rightTitle: a }) {
178
- let { t: o } = j(), s = ae(), { workspaceId: c } = i(), l = M(n, {
178
+ let { t: o } = j(), s = oe(), { workspaceId: c } = i(), l = M(n, {
179
179
  variables: {
180
180
  input: e,
181
181
  group: t,
@@ -315,7 +315,7 @@ var U = _(function({ side: e, role: n, disabled: r, onChange: a }) {
315
315
  }) : null
316
316
  ]
317
317
  });
318
- }), ce = _(function({ result: e, input: t, onAsk: n }) {
318
+ }), le = _(function({ result: e, input: t, onAsk: n }) {
319
319
  let { t: r } = j(), [i, o] = S(null);
320
320
  if (e.status !== "OK" || !e.left || !e.right) return /* @__PURE__ */ N(a, {
321
321
  headingLevel: 3,
@@ -459,13 +459,13 @@ var U = _(function({ side: e, role: n, disabled: r, onChange: a }) {
459
459
  ]
460
460
  });
461
461
  }), G = _(function({ open: t, onClose: n, widget: a }) {
462
- let { t: o } = j(), _ = ae(), { workspaceId: y } = i(), w = u(a.config), [E, O] = S(() => ({
462
+ let { t: o } = j(), _ = oe(), { workspaceId: y } = i(), w = u(a.config), [E, O] = S(() => ({
463
463
  left: V(a.id, a.title, w),
464
464
  right: V("", "", w),
465
465
  month: p(/* @__PURE__ */ new Date()),
466
466
  timezone: c(),
467
467
  cutoffWindowDays: 0
468
- })), [k, F] = S(""), [H, W] = S(!1), [G, K] = S(null), [q, J] = S(null), le = x(null), Y = M(e, {
468
+ })), [k, F] = S(""), [H, W] = S(!1), [G, K] = S(null), [q, J] = S(null), ue = x(null), Y = M(e, {
469
469
  variables: {
470
470
  search: k.trim() || null,
471
471
  first: 50
@@ -473,7 +473,7 @@ var U = _(function({ side: e, role: n, disabled: r, onChange: a }) {
473
473
  skip: !t,
474
474
  fetchPolicy: "cache-and-network",
475
475
  context: z(y)
476
- }), X = (Y.data?.kpiReconcilableCards ?? []).filter((e) => e.widgetId !== a.id), ue = v((e) => {
476
+ }), X = (Y.data?.kpiReconcilableCards ?? []).filter((e) => e.widgetId !== a.id), de = v((e) => {
477
477
  let t = X.find((t) => t.widgetId === e);
478
478
  if (!t) return;
479
479
  let n = B();
@@ -500,7 +500,7 @@ var U = _(function({ side: e, role: n, disabled: r, onChange: a }) {
500
500
  ...n,
501
501
  [e]: t
502
502
  })), J(null);
503
- }, []), de = b(() => Z("left"), [Z]), fe = b(() => Z("right"), [Z]), Q = f(E), $ = v(async (e) => {
503
+ }, []), fe = b(() => Z("left"), [Z]), pe = b(() => Z("right"), [Z]), Q = f(E), $ = v(async (e) => {
504
504
  let t = l(e);
505
505
  if (t) {
506
506
  W(!0), K(null);
@@ -522,20 +522,20 @@ var U = _(function({ side: e, role: n, disabled: r, onChange: a }) {
522
522
  W(!1);
523
523
  }
524
524
  }
525
- }, [_, y]), pe = v(() => {
525
+ }, [_, y]), me = v(() => {
526
526
  let e = g(E);
527
527
  O(e), q && $(e);
528
528
  }, [
529
529
  E,
530
530
  q,
531
531
  $
532
- ]), me = v(() => {
532
+ ]), he = v(() => {
533
533
  if (!q) return;
534
534
  let e = s(q.input, {
535
535
  left: q.data.left?.title ?? E.left.title,
536
536
  right: q.data.right?.title ?? E.right.title
537
537
  }, q.data.gap?.display ?? null);
538
- se(e, le.current) || K(o("bigconsole.reconcile.noAssistant", "The assistant is not available on this page."));
538
+ ce(e, ue.current) || K(o("bigconsole.reconcile.noAssistant", "The assistant is not available on this page."));
539
539
  }, [
540
540
  q,
541
541
  E.left.title,
@@ -552,7 +552,7 @@ var U = _(function({ side: e, role: n, disabled: r, onChange: a }) {
552
552
  className: "shrink-0",
553
553
  children: [/* @__PURE__ */ N(ie, { children: o("bigconsole.reconcile.title", "Reconcile “{{title}}”", { title: a.title }) }), /* @__PURE__ */ N(ne, { children: o("bigconsole.reconcile.description", "Compare this card with another card for one month, match records on a shared key, and see which records explain the difference. Neither dashboard is changed.") })]
554
554
  }), /* @__PURE__ */ P("div", {
555
- ref: le,
555
+ ref: ue,
556
556
  className: "min-h-0 flex-1 space-y-4 overflow-y-auto py-4",
557
557
  children: [
558
558
  /* @__PURE__ */ P("div", {
@@ -573,10 +573,10 @@ var U = _(function({ side: e, role: n, disabled: r, onChange: a }) {
573
573
  htmlFor: "reconcile-card",
574
574
  style: L,
575
575
  children: o("bigconsole.reconcile.compareWith", "Compare with")
576
- }), /* @__PURE__ */ P("select", {
576
+ }), /* @__PURE__ */ P(ae, {
577
577
  id: "reconcile-card",
578
578
  value: E.left.widgetId === a.id ? E.right.widgetId : E.left.widgetId,
579
- onChange: (e) => ue(e.target.value),
579
+ onChange: (e) => de(e.target.value),
580
580
  disabled: H,
581
581
  style: I,
582
582
  "data-testid": "reconcile-card-select",
@@ -651,7 +651,7 @@ var U = _(function({ side: e, role: n, disabled: r, onChange: a }) {
651
651
  })] })
652
652
  ]
653
653
  }),
654
- E.left.widgetId && E.right.widgetId ? /* @__PURE__ */ P(oe, { children: [
654
+ E.left.widgetId && E.right.widgetId ? /* @__PURE__ */ P(se, { children: [
655
655
  /* @__PURE__ */ P("div", {
656
656
  className: "flex items-center justify-between gap-2",
657
657
  children: [/* @__PURE__ */ N("p", {
@@ -664,7 +664,7 @@ var U = _(function({ side: e, role: n, disabled: r, onChange: a }) {
664
664
  }), /* @__PURE__ */ P(A, {
665
665
  variant: "outline",
666
666
  size: "sm",
667
- onClick: pe,
667
+ onClick: me,
668
668
  disabled: H,
669
669
  "data-testid": "reconcile-swap",
670
670
  children: [/* @__PURE__ */ N(C, {
@@ -677,13 +677,13 @@ var U = _(function({ side: e, role: n, disabled: r, onChange: a }) {
677
677
  side: E.left,
678
678
  role: "left",
679
679
  disabled: H,
680
- onChange: de
680
+ onChange: fe
681
681
  }, `l-${E.left.widgetId}`),
682
682
  /* @__PURE__ */ N(U, {
683
683
  side: E.right,
684
684
  role: "right",
685
685
  disabled: H,
686
- onChange: fe
686
+ onChange: pe
687
687
  }, `r-${E.right.widgetId}`)
688
688
  ] }) : null,
689
689
  /* @__PURE__ */ P("div", {
@@ -710,14 +710,14 @@ var U = _(function({ side: e, role: n, disabled: r, onChange: a }) {
710
710
  "data-testid": "reconcile-error",
711
711
  children: G
712
712
  }) : null,
713
- q ? /* @__PURE__ */ N(ce, {
713
+ q ? /* @__PURE__ */ N(le, {
714
714
  result: q.data,
715
715
  input: q.input,
716
- onAsk: me
716
+ onAsk: he
717
717
  }) : null
718
718
  ]
719
719
  })]
720
720
  })
721
721
  });
722
722
  });
723
- export { G as KpiReconcileDialog, G as default, ce as ResultView, U as SideMapping };
723
+ export { G as KpiReconcileDialog, G as default, le as ResultView, U as SideMapping };
@@ -188,7 +188,7 @@ var _ = "px-3 py-2 text-left align-middle text-body-sm", v = "px-3 py-2 text-lef
188
188
  className: "text-text-secondary",
189
189
  children: k(t.status)
190
190
  }), t.installedInWorkspace && /* @__PURE__ */ h("span", {
191
- className: "ml-2 rounded-pill bg-status-success-bg px-2 py-0.5 text-xs text-status-success-text",
191
+ className: "ml-2 rounded-pill border border-[var(--color-status-success-border)] bg-[var(--color-status-success-bgSubtle)] text-[var(--color-status-success-text)] px-2 py-0.5 text-xs",
192
192
  children: e("bigconsole.settings.widgetCatalog.installed", "Installed")
193
193
  })]
194
194
  }),