@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.
- package/dist/bigconsole/asof/AsOfControl.js +2 -2
- package/dist/bigconsole/components/dashboard/DashboardCommentsDrawer.js +107 -106
- package/dist/bigconsole/components/dashboard/DashboardGalleryCard.d.ts +34 -0
- package/dist/bigconsole/components/dashboard/DashboardGalleryCard.js +123 -0
- package/dist/bigconsole/components/dashboard/DashboardReviewDialog.js +1 -1
- package/dist/bigconsole/components/dashboard/DashboardStatusPill.js +19 -35
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +119 -116
- package/dist/bigconsole/components/dashboard/LiveCanvasToggle.js +1 -1
- package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js +172 -170
- package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +210 -208
- package/dist/bigconsole/components/dashboard/TemplateInstallOptions.js +97 -97
- package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.js +1 -0
- package/dist/bigconsole/components/datasink/AlertExecutionHistory.js +92 -92
- package/dist/bigconsole/components/datasink/AlertRuleEditor.js +149 -149
- package/dist/bigconsole/components/datasink/AnomalyDetectorPanel.js +54 -54
- package/dist/bigconsole/components/datasink/DataSinkStatusBadge.js +30 -37
- package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js +4 -4
- package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +130 -129
- package/dist/bigconsole/components/datasink/SetupStateBadge.js +24 -33
- package/dist/bigconsole/components/datasink/SinkWorkflowLinkForm.js +38 -38
- package/dist/bigconsole/components/explore/CreateQueryWidget.js +57 -56
- package/dist/bigconsole/components/explore/SqlDraftEditor.js +140 -140
- package/dist/bigconsole/components/explore/VisualBuilder.js +85 -84
- package/dist/bigconsole/components/explore/queryAccess/GrantsPanel.js +168 -167
- package/dist/bigconsole/components/explore/queryAccess/QueryAccessAdmin.js +2 -2
- package/dist/bigconsole/components/explore/queryAccess/RelationEditor.js +118 -117
- package/dist/bigconsole/components/insights/BoardLintPanel.js +2 -2
- package/dist/bigconsole/components/insights/OutlierSpottingDialog.js +123 -123
- package/dist/bigconsole/components/kpi-change/KpiChangePanel.js +2 -2
- package/dist/bigconsole/components/narrative/NarrativePanel.js +1 -1
- package/dist/bigconsole/components/overview/DataHealthCard.js +3 -0
- package/dist/bigconsole/components/overview/RecentDashboardsPanel.js +3 -0
- package/dist/bigconsole/components/parser/ParserStatusBadge.js +25 -28
- package/dist/bigconsole/components/pipeline/PipelineScopePicker.js +23 -22
- package/dist/bigconsole/components/pipeline/PipelineStatusBadge.js +15 -26
- package/dist/bigconsole/components/reconcile/KpiReconcileDialog.js +24 -24
- package/dist/bigconsole/components/settings/WidgetCatalogSection.js +1 -1
- package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +188 -187
- package/dist/bigconsole/components/widgets/FilterNotAppliedNotice.js +1 -1
- package/dist/bigconsole/components/widgets/UnsupportedDataSourceNotice.js +1 -1
- package/dist/bigconsole/components/widgets/WidgetCompareView.js +3 -1
- package/dist/bigconsole/components/widgets/WidgetHeader.js +1 -1
- package/dist/bigconsole/components/widgets/advanced/AdvancedWidgetConfig.js +45 -44
- package/dist/bigconsole/components/widgets/chart/ChartConfig.js +151 -147
- package/dist/bigconsole/components/widgets/chart/ReferenceLinesEditor.js +48 -47
- package/dist/bigconsole/components/widgets/comments/WidgetComments.js +1 -1
- package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +139 -138
- package/dist/bigconsole/components/widgets/form/FormWidget.js +149 -148
- package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +80 -77
- package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js +58 -56
- package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +75 -73
- package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +86 -85
- package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +80 -77
- package/dist/bigconsole/components/widgets/retention/RetentionView.js +1 -1
- package/dist/bigconsole/components/widgets/table/TableConfig.js +214 -211
- package/dist/bigconsole/components/widgets/table/TablePagination.js +59 -58
- package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +140 -138
- package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.js +74 -66
- package/dist/bigconsole/components/workflow/WorkflowSinkLinkForm.js +48 -48
- package/dist/bigconsole/components/workflow/WorkflowStatusBadge.js +28 -37
- package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +69 -69
- package/dist/bigconsole/hooks/useDashboardListQuery.d.ts +22 -0
- package/dist/bigconsole/hooks/useDashboardListQuery.js +39 -0
- package/dist/bigconsole/pages/AdminPage.js +147 -146
- package/dist/bigconsole/pages/DashboardViewPage.js +2 -0
- package/dist/bigconsole/pages/DashboardsPage.js +638 -855
- package/dist/bigconsole/pages/DataParsersPage.js +5 -0
- package/dist/bigconsole/pages/DataSinkBuilderPage.js +4 -1
- package/dist/bigconsole/pages/DataSinkViewPage.js +263 -261
- package/dist/bigconsole/pages/DataSinksPage.js +210 -186
- package/dist/bigconsole/pages/InsightsPage.js +386 -383
- package/dist/bigconsole/pages/ParserBuilderPage.js +413 -413
- package/dist/bigconsole/pages/ParserViewPage.js +2 -0
- package/dist/bigconsole/pages/PipelineBuilderPage.js +279 -276
- package/dist/bigconsole/pages/PipelineViewPage.js +3 -0
- package/dist/bigconsole/pages/PipelinesPage.js +198 -165
- package/dist/bigconsole/pages/SettingsPage.js +160 -160
- package/dist/bigconsole/pages/WidgetDemoPage.js +2 -0
- package/dist/bigconsole/pages/WorkflowViewPage.js +5 -0
- package/dist/bigconsole/pages/WorkflowsPage.js +144 -123
- package/dist/bigconsole/providers/BigConsoleQuotaProvider.js +1 -1
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +123 -122
- package/dist/bigconsole/utils/dashboardGallery.d.ts +84 -0
- package/dist/bigconsole/utils/dashboardGallery.js +93 -0
- package/dist/bigconsole/utils/statusTone.d.ts +17 -0
- package/dist/bigconsole/utils/statusTone.js +44 -0
- package/package.json +4 -4
|
@@ -1,81 +1,82 @@
|
|
|
1
1
|
import { memo as e, useCallback as t } from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemedSelect as n } from "@burdenoff/fe-libs/ui";
|
|
3
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
3
4
|
// src/bigconsole/components/widgets/table/TablePagination.tsx
|
|
4
|
-
var
|
|
5
|
+
var a = e(function({ pagination: e, onPageChange: a, onPageSizeChange: o, pageSizeOptions: s = [
|
|
5
6
|
10,
|
|
6
7
|
25,
|
|
7
8
|
50,
|
|
8
9
|
100
|
|
9
10
|
] }) {
|
|
10
|
-
let { page:
|
|
11
|
-
|
|
12
|
-
}, [
|
|
13
|
-
|
|
11
|
+
let { page: c, pageSize: l, totalItems: u } = e, d = Math.ceil(u / l), f = c * l + 1, p = Math.min((c + 1) * l, u), m = t(() => {
|
|
12
|
+
c > 0 && a(c - 1);
|
|
13
|
+
}, [c, a]), h = t(() => {
|
|
14
|
+
c < d - 1 && a(c + 1);
|
|
14
15
|
}, [
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
]),
|
|
19
|
-
|
|
20
|
-
}, [
|
|
21
|
-
|
|
22
|
-
}, [
|
|
23
|
-
|
|
24
|
-
}, [
|
|
25
|
-
return
|
|
16
|
+
c,
|
|
17
|
+
d,
|
|
18
|
+
a
|
|
19
|
+
]), g = t(() => {
|
|
20
|
+
a(0);
|
|
21
|
+
}, [a]), _ = t(() => {
|
|
22
|
+
a(d - 1);
|
|
23
|
+
}, [d, a]), v = t((e) => {
|
|
24
|
+
o(Number(e.target.value)), a(0);
|
|
25
|
+
}, [o, a]);
|
|
26
|
+
return u === 0 ? null : /* @__PURE__ */ i("div", {
|
|
26
27
|
className: "\n flex items-center justify-between\n px-4 py-3\n border-t border-border-default\n bg-bg-surface\n ",
|
|
27
|
-
children: [/* @__PURE__ */
|
|
28
|
+
children: [/* @__PURE__ */ i("div", {
|
|
28
29
|
className: "text-sm text-text-secondary",
|
|
29
30
|
children: [
|
|
30
31
|
"Showing ",
|
|
31
|
-
/* @__PURE__ */
|
|
32
|
+
/* @__PURE__ */ r("span", {
|
|
32
33
|
className: "font-medium",
|
|
33
|
-
children:
|
|
34
|
+
children: f
|
|
34
35
|
}),
|
|
35
36
|
" to ",
|
|
36
|
-
/* @__PURE__ */
|
|
37
|
+
/* @__PURE__ */ r("span", {
|
|
37
38
|
className: "font-medium",
|
|
38
|
-
children:
|
|
39
|
+
children: p
|
|
39
40
|
}),
|
|
40
41
|
" of",
|
|
41
42
|
" ",
|
|
42
|
-
/* @__PURE__ */
|
|
43
|
+
/* @__PURE__ */ r("span", {
|
|
43
44
|
className: "font-medium",
|
|
44
|
-
children:
|
|
45
|
+
children: u
|
|
45
46
|
}),
|
|
46
47
|
" results"
|
|
47
48
|
]
|
|
48
|
-
}), /* @__PURE__ */
|
|
49
|
+
}), /* @__PURE__ */ i("div", {
|
|
49
50
|
className: "flex items-center gap-4",
|
|
50
|
-
children: [/* @__PURE__ */
|
|
51
|
+
children: [/* @__PURE__ */ i("div", {
|
|
51
52
|
className: "flex items-center gap-2",
|
|
52
|
-
children: [/* @__PURE__ */
|
|
53
|
+
children: [/* @__PURE__ */ r("span", {
|
|
53
54
|
className: "text-sm text-text-secondary",
|
|
54
55
|
children: "Show:"
|
|
55
|
-
}), /* @__PURE__ */ n
|
|
56
|
-
value:
|
|
57
|
-
onChange:
|
|
56
|
+
}), /* @__PURE__ */ r(n, {
|
|
57
|
+
value: l,
|
|
58
|
+
onChange: v,
|
|
58
59
|
className: "\n px-2 py-1\n text-sm text-text-primary\n bg-bg-surface\n border border-border-default\n rounded-md\n focus:outline-none focus:ring-2 focus:ring-action-primary-bg\n ",
|
|
59
|
-
children:
|
|
60
|
+
children: s.map((e) => /* @__PURE__ */ r("option", {
|
|
60
61
|
value: e,
|
|
61
62
|
children: e
|
|
62
63
|
}, e))
|
|
63
64
|
})]
|
|
64
|
-
}), /* @__PURE__ */
|
|
65
|
+
}), /* @__PURE__ */ i("div", {
|
|
65
66
|
className: "flex items-center gap-1",
|
|
66
67
|
children: [
|
|
67
|
-
/* @__PURE__ */
|
|
68
|
+
/* @__PURE__ */ r("button", {
|
|
68
69
|
type: "button",
|
|
69
|
-
onClick:
|
|
70
|
-
disabled:
|
|
70
|
+
onClick: g,
|
|
71
|
+
disabled: c === 0,
|
|
71
72
|
className: "\n p-1.5 rounded-md\n text-text-secondary\n hover:text-text-primary\n hover:bg-bg-sunken\n disabled:opacity-50 disabled:cursor-not-allowed\n transition-colors\n ",
|
|
72
73
|
title: "First page",
|
|
73
|
-
children: /* @__PURE__ */
|
|
74
|
+
children: /* @__PURE__ */ r("svg", {
|
|
74
75
|
className: "w-4 h-4",
|
|
75
76
|
fill: "none",
|
|
76
77
|
stroke: "currentColor",
|
|
77
78
|
viewBox: "0 0 24 24",
|
|
78
|
-
children: /* @__PURE__ */
|
|
79
|
+
children: /* @__PURE__ */ r("path", {
|
|
79
80
|
strokeLinecap: "round",
|
|
80
81
|
strokeLinejoin: "round",
|
|
81
82
|
strokeWidth: 2,
|
|
@@ -83,18 +84,18 @@ var i = e(function({ pagination: e, onPageChange: i, onPageSizeChange: a, pageSi
|
|
|
83
84
|
})
|
|
84
85
|
})
|
|
85
86
|
}),
|
|
86
|
-
/* @__PURE__ */
|
|
87
|
+
/* @__PURE__ */ r("button", {
|
|
87
88
|
type: "button",
|
|
88
|
-
onClick:
|
|
89
|
-
disabled:
|
|
89
|
+
onClick: m,
|
|
90
|
+
disabled: c === 0,
|
|
90
91
|
className: "\n p-1.5 rounded-md\n text-text-secondary\n hover:text-text-primary\n hover:bg-bg-sunken\n disabled:opacity-50 disabled:cursor-not-allowed\n transition-colors\n ",
|
|
91
92
|
title: "Previous page",
|
|
92
|
-
children: /* @__PURE__ */
|
|
93
|
+
children: /* @__PURE__ */ r("svg", {
|
|
93
94
|
className: "w-4 h-4",
|
|
94
95
|
fill: "none",
|
|
95
96
|
stroke: "currentColor",
|
|
96
97
|
viewBox: "0 0 24 24",
|
|
97
|
-
children: /* @__PURE__ */
|
|
98
|
+
children: /* @__PURE__ */ r("path", {
|
|
98
99
|
strokeLinecap: "round",
|
|
99
100
|
strokeLinejoin: "round",
|
|
100
101
|
strokeWidth: 2,
|
|
@@ -102,33 +103,33 @@ var i = e(function({ pagination: e, onPageChange: i, onPageSizeChange: a, pageSi
|
|
|
102
103
|
})
|
|
103
104
|
})
|
|
104
105
|
}),
|
|
105
|
-
/* @__PURE__ */
|
|
106
|
+
/* @__PURE__ */ i("span", {
|
|
106
107
|
className: "px-3 text-sm text-text-primary",
|
|
107
108
|
children: [
|
|
108
109
|
"Page ",
|
|
109
|
-
/* @__PURE__ */
|
|
110
|
+
/* @__PURE__ */ r("span", {
|
|
110
111
|
className: "font-medium",
|
|
111
|
-
children:
|
|
112
|
+
children: c + 1
|
|
112
113
|
}),
|
|
113
114
|
" of ",
|
|
114
|
-
/* @__PURE__ */
|
|
115
|
+
/* @__PURE__ */ r("span", {
|
|
115
116
|
className: "font-medium",
|
|
116
|
-
children:
|
|
117
|
+
children: d
|
|
117
118
|
})
|
|
118
119
|
]
|
|
119
120
|
}),
|
|
120
|
-
/* @__PURE__ */
|
|
121
|
+
/* @__PURE__ */ r("button", {
|
|
121
122
|
type: "button",
|
|
122
|
-
onClick:
|
|
123
|
-
disabled:
|
|
123
|
+
onClick: h,
|
|
124
|
+
disabled: c >= d - 1,
|
|
124
125
|
className: "\n p-1.5 rounded-md\n text-text-secondary\n hover:text-text-primary\n hover:bg-bg-sunken\n disabled:opacity-50 disabled:cursor-not-allowed\n transition-colors\n ",
|
|
125
126
|
title: "Next page",
|
|
126
|
-
children: /* @__PURE__ */
|
|
127
|
+
children: /* @__PURE__ */ r("svg", {
|
|
127
128
|
className: "w-4 h-4",
|
|
128
129
|
fill: "none",
|
|
129
130
|
stroke: "currentColor",
|
|
130
131
|
viewBox: "0 0 24 24",
|
|
131
|
-
children: /* @__PURE__ */
|
|
132
|
+
children: /* @__PURE__ */ r("path", {
|
|
132
133
|
strokeLinecap: "round",
|
|
133
134
|
strokeLinejoin: "round",
|
|
134
135
|
strokeWidth: 2,
|
|
@@ -136,18 +137,18 @@ var i = e(function({ pagination: e, onPageChange: i, onPageSizeChange: a, pageSi
|
|
|
136
137
|
})
|
|
137
138
|
})
|
|
138
139
|
}),
|
|
139
|
-
/* @__PURE__ */
|
|
140
|
+
/* @__PURE__ */ r("button", {
|
|
140
141
|
type: "button",
|
|
141
|
-
onClick:
|
|
142
|
-
disabled:
|
|
142
|
+
onClick: _,
|
|
143
|
+
disabled: c >= d - 1,
|
|
143
144
|
className: "\n p-1.5 rounded-md\n text-text-secondary\n hover:text-text-primary\n hover:bg-bg-sunken\n disabled:opacity-50 disabled:cursor-not-allowed\n transition-colors\n ",
|
|
144
145
|
title: "Last page",
|
|
145
|
-
children: /* @__PURE__ */
|
|
146
|
+
children: /* @__PURE__ */ r("svg", {
|
|
146
147
|
className: "w-4 h-4",
|
|
147
148
|
fill: "none",
|
|
148
149
|
stroke: "currentColor",
|
|
149
150
|
viewBox: "0 0 24 24",
|
|
150
|
-
children: /* @__PURE__ */
|
|
151
|
+
children: /* @__PURE__ */ r("path", {
|
|
151
152
|
strokeLinecap: "round",
|
|
152
153
|
strokeLinejoin: "round",
|
|
153
154
|
strokeWidth: 2,
|
|
@@ -160,4 +161,4 @@ var i = e(function({ pagination: e, onPageChange: i, onPageSizeChange: a, pageSi
|
|
|
160
161
|
})]
|
|
161
162
|
});
|
|
162
163
|
});
|
|
163
|
-
export {
|
|
164
|
+
export { a as TablePagination, a as default };
|