@burdenoff/microfe-bigconsole 2026.924.2 → 2026.925.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/BigConsoleRoot.js +94 -84
- package/dist/bigconsole/BigConsoleRoot.js.map +1 -1
- package/dist/bigconsole/BigConsoleRoutes.js +137 -138
- package/dist/bigconsole/BigConsoleRoutes.js.map +1 -1
- package/dist/bigconsole/assistant/previewController.js +7 -7
- package/dist/bigconsole/components/DrilldownDashboardRenderer.js +17 -17
- package/dist/bigconsole/components/builder/inspector/DataBindingSection.js +32 -32
- package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js +52 -52
- package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js.map +1 -1
- package/dist/bigconsole/components/dashboard/DashboardCanvas.js +7 -7
- package/dist/bigconsole/components/dashboard/DashboardStatusPill.js +53 -0
- package/dist/bigconsole/components/dashboard/DashboardStatusPill.js.map +1 -0
- package/dist/bigconsole/components/dashboard/DashboardToolbar.js +60 -60
- package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js +21 -21
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +30 -30
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js +36 -36
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js +34 -34
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js +38 -38
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js.map +1 -1
- package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js +121 -121
- package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js.map +1 -1
- package/dist/bigconsole/components/dashboard/PublishToStoreDialog.js +22 -22
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.js +46 -46
- package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js +53 -53
- package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.js +1 -1
- package/dist/bigconsole/components/dashboard/WidgetPalette.js +47 -47
- package/dist/bigconsole/components/dashboard/index.js +1 -0
- package/dist/bigconsole/components/datasink/CacheTTLSelector.js +35 -35
- package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js +18 -18
- package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js +20 -20
- package/dist/bigconsole/components/datasink/DataSinkStatusBadge.js +30 -29
- package/dist/bigconsole/components/datasink/DataSinkStatusBadge.js.map +1 -1
- package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js +48 -48
- package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js +126 -114
- package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js.map +1 -1
- package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +35 -35
- package/dist/bigconsole/components/overview/DashboardGuide.js +214 -0
- package/dist/bigconsole/components/overview/DashboardGuide.js.map +1 -0
- package/dist/bigconsole/components/overview/DataHealthCard.js +97 -0
- package/dist/bigconsole/components/overview/DataHealthCard.js.map +1 -0
- package/dist/bigconsole/components/overview/OverviewQuickActions.js +32 -0
- package/dist/bigconsole/components/overview/OverviewQuickActions.js.map +1 -0
- package/dist/bigconsole/components/overview/OverviewStatCard.js +57 -0
- package/dist/bigconsole/components/overview/OverviewStatCard.js.map +1 -0
- package/dist/bigconsole/components/overview/RecentDashboardsPanel.js +107 -0
- package/dist/bigconsole/components/overview/RecentDashboardsPanel.js.map +1 -0
- package/dist/bigconsole/components/overview/dashboardGuideSteps.js +119 -0
- package/dist/bigconsole/components/overview/dashboardGuideSteps.js.map +1 -0
- package/dist/bigconsole/components/overview/index.js +8 -0
- package/dist/bigconsole/components/overview/overviewModel.js +119 -0
- package/dist/bigconsole/components/overview/overviewModel.js.map +1 -0
- package/dist/bigconsole/components/overview/useOverviewData.js +48 -0
- package/dist/bigconsole/components/overview/useOverviewData.js.map +1 -0
- package/dist/bigconsole/components/parser/DataSinkSelector.js +40 -40
- package/dist/bigconsole/components/parser/ImportParserDialog.js +127 -127
- package/dist/bigconsole/components/parser/ImportParserDialog.js.map +1 -1
- package/dist/bigconsole/components/parser/ParserSelector.js +51 -51
- package/dist/bigconsole/components/preview/AiPreviewContent.js +5 -5
- package/dist/bigconsole/components/preview/AiPreviewMiniPanel.js +32 -32
- package/dist/bigconsole/components/preview/AiPreviewPanel.js +37 -37
- package/dist/bigconsole/components/widgets/ActionConfigDialog.js +13 -13
- package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +70 -70
- package/dist/bigconsole/components/widgets/PropertiesPanel.js +28 -28
- package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js +25 -25
- package/dist/bigconsole/components/widgets/chart/ChartConfig.js +48 -48
- package/dist/bigconsole/components/widgets/comments/WidgetComments.js +46 -46
- package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +61 -61
- package/dist/bigconsole/components/widgets/form/FormWidget.js +36 -36
- package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +42 -42
- package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js +25 -25
- package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js +21 -21
- package/dist/bigconsole/components/widgets/list/ListConfig.js +30 -30
- package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +38 -38
- package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js +9 -9
- package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.js +9 -9
- package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +49 -49
- package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +39 -39
- package/dist/bigconsole/components/widgets/table/TableConfig.js +73 -73
- package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +64 -64
- package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.js +10 -10
- package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +68 -68
- package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js.map +1 -1
- package/dist/bigconsole/hooks/useDataSinkOperations.js +92 -89
- package/dist/bigconsole/hooks/useDataSinkOperations.js.map +1 -1
- package/dist/bigconsole/hooks/useImportDataSink.js +96 -91
- package/dist/bigconsole/hooks/useImportDataSink.js.map +1 -1
- package/dist/bigconsole/pages/AdminPage.js +136 -136
- package/dist/bigconsole/pages/DashboardBuilderPage.js +10 -10
- package/dist/bigconsole/pages/DashboardViewPage.js +61 -61
- package/dist/bigconsole/pages/DashboardViewPage.js.map +1 -1
- package/dist/bigconsole/pages/DashboardsPage.js +327 -348
- package/dist/bigconsole/pages/DashboardsPage.js.map +1 -1
- package/dist/bigconsole/pages/DataParsersPage.js +5 -5
- package/dist/bigconsole/pages/DataSinkBuilderPage.js +82 -80
- package/dist/bigconsole/pages/DataSinkBuilderPage.js.map +1 -1
- package/dist/bigconsole/pages/DataSinkViewPage.js +83 -83
- package/dist/bigconsole/pages/DataSinkViewPage.js.map +1 -1
- package/dist/bigconsole/pages/DataSinksPage.js +11 -11
- package/dist/bigconsole/pages/DataSourcesPage.js +5 -5
- package/dist/bigconsole/pages/InsightsPage.js +315 -315
- package/dist/bigconsole/pages/InsightsPage.js.map +1 -1
- package/dist/bigconsole/pages/OverviewPage.js +244 -0
- package/dist/bigconsole/pages/OverviewPage.js.map +1 -0
- package/dist/bigconsole/pages/ParserBuilderPage.js +5 -5
- package/dist/bigconsole/pages/ParserViewPage.js +98 -98
- package/dist/bigconsole/pages/ParserViewPage.js.map +1 -1
- package/dist/bigconsole/pages/PipelineBuilderPage.js +8 -8
- package/dist/bigconsole/pages/PipelineViewPage.js +46 -46
- package/dist/bigconsole/pages/PipelineViewPage.js.map +1 -1
- package/dist/bigconsole/pages/PipelinesPage.js +80 -80
- package/dist/bigconsole/pages/PipelinesPage.js.map +1 -1
- package/dist/bigconsole/pages/SettingsPage.js +70 -70
- package/dist/bigconsole/pages/WidgetDemoPage.js +42 -42
- package/dist/bigconsole/pages/WorkflowViewPage.js +200 -200
- package/dist/bigconsole/pages/WorkflowViewPage.js.map +1 -1
- package/dist/bigconsole/pages/WorkflowsPage.js +78 -78
- package/dist/bigconsole/pages/WorkflowsPage.js.map +1 -1
- package/dist/bigconsole/providers/BigConsoleQuotaProvider.js +36 -35
- package/dist/bigconsole/providers/BigConsoleQuotaProvider.js.map +1 -1
- package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.js +34 -34
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +79 -79
- package/dist/bigconsole/renderers/adapters/CustomRenderer.js +46 -46
- package/dist/bigconsole/utils/createDialogParam.js +14 -0
- package/dist/bigconsole/utils/createDialogParam.js.map +1 -0
- package/dist/bigconsole/utils/quota.js +51 -23
- package/dist/bigconsole/utils/quota.js.map +1 -1
- package/dist/generated/global-operations.js +1 -1
- package/dist/generated/wspace-operations.js +285 -222
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/shared/hooks/useTr.js +10 -7
- package/dist/shared/hooks/useTr.js.map +1 -1
- package/package.json +1 -1
- package/dist/bigconsole/pages/HomePage.js +0 -318
- package/dist/bigconsole/pages/HomePage.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { memo as e, useCallback as t } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
3
|
+
import { useI18n as i } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
4
4
|
//#region src/bigconsole/components/widgets/gauge/GaugeConfig.tsx
|
|
5
5
|
var a = [
|
|
6
6
|
{
|
|
@@ -16,7 +16,7 @@ var a = [
|
|
|
16
16
|
color: "success"
|
|
17
17
|
}
|
|
18
18
|
], o = e(function({ config: e, onChange: o }) {
|
|
19
|
-
let { t: s } =
|
|
19
|
+
let { t: s } = i(), c = t((t, n) => {
|
|
20
20
|
o({
|
|
21
21
|
...e,
|
|
22
22
|
[t]: n
|
|
@@ -37,97 +37,97 @@ var a = [
|
|
|
37
37
|
};
|
|
38
38
|
c("thresholds", r);
|
|
39
39
|
}, [e.thresholds, c]);
|
|
40
|
-
return /* @__PURE__ */
|
|
40
|
+
return /* @__PURE__ */ r("div", {
|
|
41
41
|
className: "min-w-0 space-y-form-gap",
|
|
42
42
|
children: [
|
|
43
|
-
/* @__PURE__ */
|
|
43
|
+
/* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("label", {
|
|
44
44
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
45
45
|
children: s("bigconsole.widget.config.gauge.gaugeType", "Gauge Type")
|
|
46
|
-
}), /* @__PURE__ */
|
|
46
|
+
}), /* @__PURE__ */ r("select", {
|
|
47
47
|
value: e.variant || "circular",
|
|
48
48
|
onChange: (e) => c("variant", e.target.value),
|
|
49
49
|
className: "\n w-full px-3 py-2\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 ",
|
|
50
|
-
children: [/* @__PURE__ */
|
|
50
|
+
children: [/* @__PURE__ */ n("option", {
|
|
51
51
|
value: "circular",
|
|
52
52
|
children: s("bigconsole.widget.config.gauge.variant.circular", "Circular")
|
|
53
|
-
}), /* @__PURE__ */
|
|
53
|
+
}), /* @__PURE__ */ n("option", {
|
|
54
54
|
value: "linear",
|
|
55
55
|
children: s("bigconsole.widget.config.gauge.variant.linear", "Linear")
|
|
56
56
|
})]
|
|
57
57
|
})] }),
|
|
58
|
-
/* @__PURE__ */
|
|
58
|
+
/* @__PURE__ */ r("div", {
|
|
59
59
|
className: "grid grid-cols-1 gap-3 sm:grid-cols-2",
|
|
60
|
-
children: [/* @__PURE__ */
|
|
60
|
+
children: [/* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("label", {
|
|
61
61
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
62
62
|
children: s("bigconsole.widget.config.gauge.minimum", "Minimum")
|
|
63
|
-
}), /* @__PURE__ */
|
|
63
|
+
}), /* @__PURE__ */ n("input", {
|
|
64
64
|
type: "number",
|
|
65
65
|
value: e.min ?? 0,
|
|
66
66
|
onChange: (e) => c("min", Number(e.target.value)),
|
|
67
67
|
className: "\n w-full px-3 py-2\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 "
|
|
68
|
-
})] }), /* @__PURE__ */
|
|
68
|
+
})] }), /* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("label", {
|
|
69
69
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
70
70
|
children: s("bigconsole.widget.config.gauge.maximum", "Maximum")
|
|
71
|
-
}), /* @__PURE__ */
|
|
71
|
+
}), /* @__PURE__ */ n("input", {
|
|
72
72
|
type: "number",
|
|
73
73
|
value: e.max ?? 100,
|
|
74
74
|
onChange: (e) => c("max", Number(e.target.value)),
|
|
75
75
|
className: "\n w-full px-3 py-2\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 "
|
|
76
76
|
})] })]
|
|
77
77
|
}),
|
|
78
|
-
/* @__PURE__ */
|
|
78
|
+
/* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("label", {
|
|
79
79
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
80
80
|
children: s("bigconsole.widget.config.gauge.unitLabel", "Unit Label")
|
|
81
|
-
}), /* @__PURE__ */
|
|
81
|
+
}), /* @__PURE__ */ n("input", {
|
|
82
82
|
type: "text",
|
|
83
83
|
value: e.unit || "",
|
|
84
84
|
onChange: (e) => c("unit", e.target.value),
|
|
85
85
|
placeholder: s("bigconsole.widget.config.gauge.unitPlaceholder", "e.g., %, ms, users"),
|
|
86
86
|
className: "\n w-full px-3 py-2\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 "
|
|
87
87
|
})] }),
|
|
88
|
-
/* @__PURE__ */
|
|
88
|
+
/* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("label", {
|
|
89
89
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
90
90
|
children: s("bigconsole.widget.config.gauge.valueFormat", "Value Format")
|
|
91
|
-
}), /* @__PURE__ */
|
|
91
|
+
}), /* @__PURE__ */ r("select", {
|
|
92
92
|
value: e.format || "number",
|
|
93
93
|
onChange: (e) => c("format", e.target.value),
|
|
94
94
|
className: "\n w-full px-3 py-2\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 ",
|
|
95
95
|
children: [
|
|
96
|
-
/* @__PURE__ */
|
|
96
|
+
/* @__PURE__ */ n("option", {
|
|
97
97
|
value: "number",
|
|
98
98
|
children: s("bigconsole.widget.config.gauge.format.number", "Number")
|
|
99
99
|
}),
|
|
100
|
-
/* @__PURE__ */
|
|
100
|
+
/* @__PURE__ */ n("option", {
|
|
101
101
|
value: "percentage",
|
|
102
102
|
children: s("bigconsole.widget.config.gauge.format.percentage", "Percentage")
|
|
103
103
|
}),
|
|
104
|
-
/* @__PURE__ */
|
|
104
|
+
/* @__PURE__ */ n("option", {
|
|
105
105
|
value: "currency",
|
|
106
106
|
children: s("bigconsole.widget.config.gauge.format.currency", "Currency")
|
|
107
107
|
})
|
|
108
108
|
]
|
|
109
109
|
})] }),
|
|
110
|
-
/* @__PURE__ */
|
|
111
|
-
/* @__PURE__ */
|
|
110
|
+
/* @__PURE__ */ r("div", { children: [
|
|
111
|
+
/* @__PURE__ */ n("label", {
|
|
112
112
|
className: "block text-sm font-medium text-text-primary mb-2",
|
|
113
113
|
children: s("bigconsole.widget.config.gauge.colorThresholds", "Color Thresholds")
|
|
114
114
|
}),
|
|
115
|
-
/* @__PURE__ */
|
|
115
|
+
/* @__PURE__ */ n("p", {
|
|
116
116
|
className: "text-xs text-text-secondary mb-3",
|
|
117
117
|
children: s("bigconsole.widget.config.gauge.colorThresholdsHelp", "Define color zones based on value ranges. Values up to each threshold will use that color.")
|
|
118
118
|
}),
|
|
119
|
-
/* @__PURE__ */
|
|
119
|
+
/* @__PURE__ */ r("div", {
|
|
120
120
|
className: "space-y-2",
|
|
121
121
|
children: [
|
|
122
|
-
/* @__PURE__ */
|
|
122
|
+
/* @__PURE__ */ r("div", {
|
|
123
123
|
className: "flex items-center gap-2",
|
|
124
124
|
children: [
|
|
125
|
-
/* @__PURE__ */
|
|
126
|
-
/* @__PURE__ */
|
|
125
|
+
/* @__PURE__ */ n("div", { className: "w-4 h-4 rounded bg-status-error-bg" }),
|
|
126
|
+
/* @__PURE__ */ n("span", {
|
|
127
127
|
className: "text-sm text-text-primary flex-1",
|
|
128
128
|
children: s("bigconsole.widget.config.gauge.threshold.danger", "Danger (Red)")
|
|
129
129
|
}),
|
|
130
|
-
/* @__PURE__ */
|
|
130
|
+
/* @__PURE__ */ n("input", {
|
|
131
131
|
type: "number",
|
|
132
132
|
value: e.thresholds?.[0]?.value ?? 33,
|
|
133
133
|
onChange: (e) => l(0, e.target.value),
|
|
@@ -135,15 +135,15 @@ var a = [
|
|
|
135
135
|
})
|
|
136
136
|
]
|
|
137
137
|
}),
|
|
138
|
-
/* @__PURE__ */
|
|
138
|
+
/* @__PURE__ */ r("div", {
|
|
139
139
|
className: "flex items-center gap-2",
|
|
140
140
|
children: [
|
|
141
|
-
/* @__PURE__ */
|
|
142
|
-
/* @__PURE__ */
|
|
141
|
+
/* @__PURE__ */ n("div", { className: "w-4 h-4 rounded bg-status-warning-bg" }),
|
|
142
|
+
/* @__PURE__ */ n("span", {
|
|
143
143
|
className: "text-sm text-text-primary flex-1",
|
|
144
144
|
children: s("bigconsole.widget.config.gauge.threshold.warning", "Warning (Yellow)")
|
|
145
145
|
}),
|
|
146
|
-
/* @__PURE__ */
|
|
146
|
+
/* @__PURE__ */ n("input", {
|
|
147
147
|
type: "number",
|
|
148
148
|
value: e.thresholds?.[1]?.value ?? 66,
|
|
149
149
|
onChange: (e) => l(1, e.target.value),
|
|
@@ -151,15 +151,15 @@ var a = [
|
|
|
151
151
|
})
|
|
152
152
|
]
|
|
153
153
|
}),
|
|
154
|
-
/* @__PURE__ */
|
|
154
|
+
/* @__PURE__ */ r("div", {
|
|
155
155
|
className: "flex items-center gap-2",
|
|
156
156
|
children: [
|
|
157
|
-
/* @__PURE__ */
|
|
158
|
-
/* @__PURE__ */
|
|
157
|
+
/* @__PURE__ */ n("div", { className: "w-4 h-4 rounded bg-status-success-bg" }),
|
|
158
|
+
/* @__PURE__ */ n("span", {
|
|
159
159
|
className: "text-sm text-text-primary flex-1",
|
|
160
160
|
children: s("bigconsole.widget.config.gauge.threshold.good", "Good (Green)")
|
|
161
161
|
}),
|
|
162
|
-
/* @__PURE__ */
|
|
162
|
+
/* @__PURE__ */ n("input", {
|
|
163
163
|
type: "number",
|
|
164
164
|
value: e.thresholds?.[2]?.value ?? 100,
|
|
165
165
|
onChange: (e) => l(2, e.target.value),
|
|
@@ -170,28 +170,28 @@ var a = [
|
|
|
170
170
|
]
|
|
171
171
|
})
|
|
172
172
|
] }),
|
|
173
|
-
/* @__PURE__ */
|
|
173
|
+
/* @__PURE__ */ r("div", {
|
|
174
174
|
role: "group",
|
|
175
175
|
"aria-label": "Display options",
|
|
176
176
|
className: "space-y-3 border-t border-[var(--color-border-subtle)] pt-form-gap",
|
|
177
177
|
children: [
|
|
178
|
-
/* @__PURE__ */
|
|
178
|
+
/* @__PURE__ */ n("p", {
|
|
179
179
|
className: "text-xs font-bold uppercase tracking-wider text-text-secondary",
|
|
180
180
|
children: "Display options"
|
|
181
181
|
}),
|
|
182
|
-
e.variant === "linear" && /* @__PURE__ */
|
|
182
|
+
e.variant === "linear" && /* @__PURE__ */ r("label", {
|
|
183
183
|
className: "flex items-center gap-3",
|
|
184
|
-
children: [/* @__PURE__ */
|
|
184
|
+
children: [/* @__PURE__ */ n("input", {
|
|
185
185
|
type: "checkbox",
|
|
186
186
|
checked: e.showZones === !0,
|
|
187
187
|
onChange: (e) => c("showZones", e.target.checked),
|
|
188
188
|
className: "\n w-4 h-4\n text-action-primary-bg\n bg-bg-surface\n border-border-default\n rounded\n focus:ring-action-primary-bg\n "
|
|
189
|
-
}), /* @__PURE__ */
|
|
189
|
+
}), /* @__PURE__ */ n("span", {
|
|
190
190
|
className: "text-sm text-text-primary",
|
|
191
191
|
children: s("bigconsole.widget.config.gauge.showZones", "Show color zones in background")
|
|
192
192
|
})]
|
|
193
193
|
}),
|
|
194
|
-
e.variant !== "linear" && /* @__PURE__ */
|
|
194
|
+
e.variant !== "linear" && /* @__PURE__ */ n("p", {
|
|
195
195
|
className: "text-xs text-text-secondary",
|
|
196
196
|
children: s("bigconsole.widget.config.gauge.noCircularOptions", "No display options for the circular gauge.")
|
|
197
197
|
})
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { memo as e, useCallback as t, useMemo as n } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
3
|
+
import { useI18n as a } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
4
4
|
//#region src/bigconsole/components/widgets/heatmap/HeatmapConfig.tsx
|
|
5
5
|
var o = "\n w-full px-3 py-2\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", s = e(function({ config: e, onChange: s }) {
|
|
6
|
-
let { t: c } =
|
|
6
|
+
let { t: c } = a(), l = n(() => [
|
|
7
7
|
{
|
|
8
8
|
value: "blue",
|
|
9
9
|
label: c("bigconsole.widget.config.heatmap.colorScheme.blue", "Blue")
|
|
@@ -22,62 +22,62 @@ var o = "\n w-full px-3 py-2\n text-sm text-text-primary\n bg-bg-surface\n b
|
|
|
22
22
|
[t]: n
|
|
23
23
|
});
|
|
24
24
|
}, [e, s]);
|
|
25
|
-
return /* @__PURE__ */
|
|
25
|
+
return /* @__PURE__ */ i("div", {
|
|
26
26
|
className: "min-w-0 space-y-form-gap",
|
|
27
27
|
children: [
|
|
28
|
-
/* @__PURE__ */
|
|
28
|
+
/* @__PURE__ */ i("div", { children: [/* @__PURE__ */ r("label", {
|
|
29
29
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
30
30
|
children: c("bigconsole.widget.config.heatmap.xAxisFieldLabel", "X-Axis Field")
|
|
31
|
-
}), /* @__PURE__ */
|
|
31
|
+
}), /* @__PURE__ */ r("input", {
|
|
32
32
|
type: "text",
|
|
33
33
|
value: e.xAxisField || "",
|
|
34
34
|
onChange: (e) => u("xAxisField", e.target.value),
|
|
35
35
|
placeholder: c("bigconsole.widget.config.heatmap.xAxisFieldPlaceholder", "e.g., hour, column"),
|
|
36
36
|
className: o
|
|
37
37
|
})] }),
|
|
38
|
-
/* @__PURE__ */
|
|
38
|
+
/* @__PURE__ */ i("div", { children: [/* @__PURE__ */ r("label", {
|
|
39
39
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
40
40
|
children: c("bigconsole.widget.config.heatmap.yAxisFieldLabel", "Y-Axis Field")
|
|
41
|
-
}), /* @__PURE__ */
|
|
41
|
+
}), /* @__PURE__ */ r("input", {
|
|
42
42
|
type: "text",
|
|
43
43
|
value: e.yAxisField || "",
|
|
44
44
|
onChange: (e) => u("yAxisField", e.target.value),
|
|
45
45
|
placeholder: c("bigconsole.widget.config.heatmap.yAxisFieldPlaceholder", "e.g., day, row"),
|
|
46
46
|
className: o
|
|
47
47
|
})] }),
|
|
48
|
-
/* @__PURE__ */
|
|
49
|
-
/* @__PURE__ */
|
|
48
|
+
/* @__PURE__ */ i("div", { children: [
|
|
49
|
+
/* @__PURE__ */ r("label", {
|
|
50
50
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
51
51
|
children: c("bigconsole.widget.config.heatmap.valueFieldLabel", "Value Field")
|
|
52
52
|
}),
|
|
53
|
-
/* @__PURE__ */
|
|
53
|
+
/* @__PURE__ */ r("input", {
|
|
54
54
|
type: "text",
|
|
55
55
|
value: e.valueField || "",
|
|
56
56
|
onChange: (e) => u("valueField", e.target.value),
|
|
57
57
|
placeholder: c("bigconsole.widget.config.heatmap.valueFieldPlaceholder", "e.g., tickets, count"),
|
|
58
58
|
className: o
|
|
59
59
|
}),
|
|
60
|
-
/* @__PURE__ */
|
|
60
|
+
/* @__PURE__ */ r("p", {
|
|
61
61
|
className: "mt-1 text-xs text-text-secondary",
|
|
62
62
|
children: c("bigconsole.widget.config.heatmap.valueFieldHelp", "Left empty, the widget reads the parser's rows / columns / cells output directly.")
|
|
63
63
|
})
|
|
64
64
|
] }),
|
|
65
|
-
/* @__PURE__ */
|
|
65
|
+
/* @__PURE__ */ i("div", { children: [/* @__PURE__ */ r("label", {
|
|
66
66
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
67
67
|
children: c("bigconsole.widget.config.heatmap.colorSchemeLabel", "Color Scheme")
|
|
68
|
-
}), /* @__PURE__ */
|
|
68
|
+
}), /* @__PURE__ */ r("select", {
|
|
69
69
|
value: e.colorScheme || "blue",
|
|
70
70
|
onChange: (e) => u("colorScheme", e.target.value),
|
|
71
71
|
className: o,
|
|
72
|
-
children: l.map((e) => /* @__PURE__ */
|
|
72
|
+
children: l.map((e) => /* @__PURE__ */ r("option", {
|
|
73
73
|
value: e.value,
|
|
74
74
|
children: e.label
|
|
75
75
|
}, e.value))
|
|
76
76
|
})] }),
|
|
77
|
-
/* @__PURE__ */
|
|
77
|
+
/* @__PURE__ */ i("div", { children: [/* @__PURE__ */ r("label", {
|
|
78
78
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
79
79
|
children: c("bigconsole.widget.config.heatmap.decimalPlacesLabel", "Decimal Places")
|
|
80
|
-
}), /* @__PURE__ */
|
|
80
|
+
}), /* @__PURE__ */ r("input", {
|
|
81
81
|
type: "number",
|
|
82
82
|
min: 0,
|
|
83
83
|
max: 6,
|
|
@@ -85,35 +85,35 @@ var o = "\n w-full px-3 py-2\n text-sm text-text-primary\n bg-bg-surface\n b
|
|
|
85
85
|
onChange: (e) => u("decimals", Number(e.target.value)),
|
|
86
86
|
className: o
|
|
87
87
|
})] }),
|
|
88
|
-
/* @__PURE__ */
|
|
88
|
+
/* @__PURE__ */ i("div", {
|
|
89
89
|
role: "group",
|
|
90
90
|
"aria-label": "Display options",
|
|
91
91
|
className: "space-y-3 border-t border-[var(--color-border-subtle)] pt-form-gap",
|
|
92
92
|
children: [
|
|
93
|
-
/* @__PURE__ */
|
|
93
|
+
/* @__PURE__ */ r("p", {
|
|
94
94
|
className: "text-xs font-bold uppercase tracking-wider text-text-secondary",
|
|
95
95
|
children: "Display options"
|
|
96
96
|
}),
|
|
97
|
-
/* @__PURE__ */
|
|
97
|
+
/* @__PURE__ */ i("label", {
|
|
98
98
|
className: "flex items-center gap-3",
|
|
99
|
-
children: [/* @__PURE__ */
|
|
99
|
+
children: [/* @__PURE__ */ r("input", {
|
|
100
100
|
type: "checkbox",
|
|
101
101
|
checked: e.showValues !== !1,
|
|
102
102
|
onChange: (e) => u("showValues", e.target.checked),
|
|
103
103
|
className: "\n w-4 h-4\n text-action-primary-bg\n bg-bg-surface\n border-border-default\n rounded\n focus:ring-action-primary-bg\n "
|
|
104
|
-
}), /* @__PURE__ */
|
|
104
|
+
}), /* @__PURE__ */ r("span", {
|
|
105
105
|
className: "text-sm text-text-primary",
|
|
106
106
|
children: c("bigconsole.widget.config.heatmap.showValues", "Show cell values")
|
|
107
107
|
})]
|
|
108
108
|
}),
|
|
109
|
-
/* @__PURE__ */
|
|
109
|
+
/* @__PURE__ */ i("label", {
|
|
110
110
|
className: "flex items-center gap-3",
|
|
111
|
-
children: [/* @__PURE__ */
|
|
111
|
+
children: [/* @__PURE__ */ r("input", {
|
|
112
112
|
type: "checkbox",
|
|
113
113
|
checked: e.showLegend !== !1,
|
|
114
114
|
onChange: (e) => u("showLegend", e.target.checked),
|
|
115
115
|
className: "\n w-4 h-4\n text-action-primary-bg\n bg-bg-surface\n border-border-default\n rounded\n focus:ring-action-primary-bg\n "
|
|
116
|
-
}), /* @__PURE__ */
|
|
116
|
+
}), /* @__PURE__ */ r("span", {
|
|
117
117
|
className: "text-sm text-text-primary",
|
|
118
118
|
children: c("bigconsole.widget.config.heatmap.showLegend", "Show color legend")
|
|
119
119
|
})]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { memo as e, useMemo as t } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
3
|
+
import { useI18n as i } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
4
4
|
//#region src/bigconsole/components/widgets/kanban/KanbanWidget.tsx
|
|
5
5
|
function a(e) {
|
|
6
6
|
switch (e) {
|
|
@@ -111,79 +111,79 @@ function f(e, t) {
|
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
113
|
var p = e(function({ widget: e, data: o, onClick: s }) {
|
|
114
|
-
let { t: c } =
|
|
114
|
+
let { t: c } = i(), l = e.config, { columns: u, tasks: d } = t(() => f(o, l), [o, l]), p = t(() => {
|
|
115
115
|
let e = {};
|
|
116
116
|
return u.forEach((t) => {
|
|
117
117
|
e[t.id] = d.filter((e) => e.column === t.id);
|
|
118
118
|
}), e;
|
|
119
119
|
}, [u, d]);
|
|
120
|
-
return u.length ? /* @__PURE__ */
|
|
120
|
+
return u.length ? /* @__PURE__ */ n("div", {
|
|
121
121
|
className: "flex h-full p-2 gap-2 overflow-x-auto",
|
|
122
122
|
children: u.map((e) => {
|
|
123
123
|
let t = p[e.id] || [];
|
|
124
|
-
return /* @__PURE__ */
|
|
124
|
+
return /* @__PURE__ */ r("div", {
|
|
125
125
|
className: "flex-shrink-0 w-48 flex flex-col bg-bg-sunken/50 rounded-lg",
|
|
126
|
-
children: [/* @__PURE__ */
|
|
126
|
+
children: [/* @__PURE__ */ r("div", {
|
|
127
127
|
className: "flex items-center gap-2 p-2 border-b border-border-default",
|
|
128
128
|
children: [
|
|
129
|
-
/* @__PURE__ */
|
|
129
|
+
/* @__PURE__ */ n("div", {
|
|
130
130
|
className: "w-2 h-2 rounded-full",
|
|
131
131
|
style: { backgroundColor: e.color || "var(--color-text-muted)" }
|
|
132
132
|
}),
|
|
133
|
-
/* @__PURE__ */
|
|
133
|
+
/* @__PURE__ */ n("span", {
|
|
134
134
|
className: "text-xs font-medium text-text-primary truncate",
|
|
135
135
|
children: e.title
|
|
136
136
|
}),
|
|
137
|
-
/* @__PURE__ */
|
|
137
|
+
/* @__PURE__ */ n("span", {
|
|
138
138
|
className: "ml-auto text-xs text-text-muted",
|
|
139
139
|
children: t.length
|
|
140
140
|
})
|
|
141
141
|
]
|
|
142
|
-
}), /* @__PURE__ */
|
|
142
|
+
}), /* @__PURE__ */ r("div", {
|
|
143
143
|
className: "flex-1 p-2 space-y-2 overflow-y-auto",
|
|
144
|
-
children: [t.map((e) => /* @__PURE__ */
|
|
144
|
+
children: [t.map((e) => /* @__PURE__ */ r("div", {
|
|
145
145
|
className: `
|
|
146
146
|
p-2 bg-bg-surface rounded border border-border-default
|
|
147
147
|
${s ? "cursor-pointer hover:border-action-primary-bg" : ""}
|
|
148
148
|
transition-colors
|
|
149
149
|
`,
|
|
150
150
|
onClick: () => s?.(e),
|
|
151
|
-
children: [/* @__PURE__ */
|
|
151
|
+
children: [/* @__PURE__ */ n("p", {
|
|
152
152
|
className: "text-xs font-medium text-text-primary line-clamp-2",
|
|
153
153
|
children: e.title
|
|
154
|
-
}), /* @__PURE__ */
|
|
154
|
+
}), /* @__PURE__ */ r("div", {
|
|
155
155
|
className: "flex items-center gap-1 mt-2 flex-wrap",
|
|
156
|
-
children: [e.priority && /* @__PURE__ */
|
|
156
|
+
children: [e.priority && /* @__PURE__ */ n("span", {
|
|
157
157
|
className: `px-1.5 py-0.5 text-[10px] rounded ${a(e.priority)}`,
|
|
158
158
|
children: e.priority
|
|
159
|
-
}), e.assignee && /* @__PURE__ */
|
|
159
|
+
}), e.assignee && /* @__PURE__ */ n("span", {
|
|
160
160
|
className: "px-1.5 py-0.5 text-[10px] rounded bg-action-primary-bg/10 text-action-primary-text",
|
|
161
161
|
children: e.assignee
|
|
162
162
|
})]
|
|
163
163
|
})]
|
|
164
|
-
}, e.id)), t.length === 0 && /* @__PURE__ */
|
|
164
|
+
}, e.id)), t.length === 0 && /* @__PURE__ */ n("p", {
|
|
165
165
|
className: "text-[10px] text-text-muted text-center py-4",
|
|
166
166
|
children: c("bigconsole.widget.kanban.noTasks", "No tasks")
|
|
167
167
|
})]
|
|
168
168
|
})]
|
|
169
169
|
}, e.id);
|
|
170
170
|
})
|
|
171
|
-
}) : /* @__PURE__ */
|
|
171
|
+
}) : /* @__PURE__ */ n("div", {
|
|
172
172
|
className: "flex items-center justify-center h-full text-text-secondary text-sm",
|
|
173
|
-
children: /* @__PURE__ */
|
|
173
|
+
children: /* @__PURE__ */ r("div", {
|
|
174
174
|
className: "text-center",
|
|
175
|
-
children: [/* @__PURE__ */
|
|
175
|
+
children: [/* @__PURE__ */ n("svg", {
|
|
176
176
|
className: "w-12 h-12 mx-auto mb-2 text-text-muted",
|
|
177
177
|
fill: "none",
|
|
178
178
|
stroke: "currentColor",
|
|
179
179
|
viewBox: "0 0 24 24",
|
|
180
|
-
children: /* @__PURE__ */
|
|
180
|
+
children: /* @__PURE__ */ n("path", {
|
|
181
181
|
strokeLinecap: "round",
|
|
182
182
|
strokeLinejoin: "round",
|
|
183
183
|
strokeWidth: 1.5,
|
|
184
184
|
d: "M9 17V7m0 10a2 2 0 01-2 2H5a2 2 0 01-2-2V7a2 2 0 012-2h2a2 2 0 012 2m0 10a2 2 0 002 2h2a2 2 0 002-2M9 7a2 2 0 012-2h2a2 2 0 012 2m0 10V7m0 10a2 2 0 002 2h2a2 2 0 002-2V7a2 2 0 00-2-2h-2a2 2 0 00-2 2"
|
|
185
185
|
})
|
|
186
|
-
}), /* @__PURE__ */
|
|
186
|
+
}), /* @__PURE__ */ n("p", { children: c("bigconsole.widget.kanban.emptyState", "No board data") })]
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
});
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { memo as e, useCallback as t } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
3
|
+
import { useI18n as i } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
4
4
|
//#region src/bigconsole/components/widgets/list/ListConfig.tsx
|
|
5
5
|
var a = e(function({ config: e, onChange: a }) {
|
|
6
|
-
let { t: o } =
|
|
6
|
+
let { t: o } = i(), s = t((t, n) => {
|
|
7
7
|
a({
|
|
8
8
|
...e,
|
|
9
9
|
[t]: n
|
|
10
10
|
});
|
|
11
11
|
}, [e, a]);
|
|
12
|
-
return /* @__PURE__ */
|
|
12
|
+
return /* @__PURE__ */ r("div", {
|
|
13
13
|
className: "min-w-0 space-y-form-gap",
|
|
14
14
|
children: [
|
|
15
|
-
/* @__PURE__ */
|
|
16
|
-
/* @__PURE__ */
|
|
15
|
+
/* @__PURE__ */ r("div", { children: [
|
|
16
|
+
/* @__PURE__ */ n("label", {
|
|
17
17
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
18
18
|
children: o("bigconsole.widget.config.list.maxItems.label", "Maximum Items to Display")
|
|
19
19
|
}),
|
|
20
|
-
/* @__PURE__ */
|
|
20
|
+
/* @__PURE__ */ n("input", {
|
|
21
21
|
type: "number",
|
|
22
22
|
value: e.maxItems ?? "",
|
|
23
23
|
onChange: (e) => s("maxItems", e.target.value ? Number(e.target.value) : void 0),
|
|
@@ -25,104 +25,104 @@ var a = e(function({ config: e, onChange: a }) {
|
|
|
25
25
|
placeholder: o("bigconsole.widget.config.list.maxItems.placeholder", "No limit"),
|
|
26
26
|
className: "\n w-full px-3 py-2\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 "
|
|
27
27
|
}),
|
|
28
|
-
/* @__PURE__ */
|
|
28
|
+
/* @__PURE__ */ n("p", {
|
|
29
29
|
className: "text-xs text-text-secondary mt-1",
|
|
30
30
|
children: o("bigconsole.widget.config.list.maxItems.help", "Leave empty to show all items")
|
|
31
31
|
})
|
|
32
32
|
] }),
|
|
33
|
-
/* @__PURE__ */
|
|
33
|
+
/* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("label", {
|
|
34
34
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
35
35
|
children: o("bigconsole.widget.config.list.titleField.label", "Title Field")
|
|
36
|
-
}), /* @__PURE__ */
|
|
36
|
+
}), /* @__PURE__ */ n("input", {
|
|
37
37
|
type: "text",
|
|
38
38
|
value: e.titleField || "",
|
|
39
39
|
onChange: (e) => s("titleField", e.target.value),
|
|
40
40
|
placeholder: o("bigconsole.widget.config.list.titleField.placeholder", "e.g., name, title"),
|
|
41
41
|
className: "\n w-full px-3 py-2\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 "
|
|
42
42
|
})] }),
|
|
43
|
-
/* @__PURE__ */
|
|
43
|
+
/* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("label", {
|
|
44
44
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
45
45
|
children: o("bigconsole.widget.config.list.subtitleField.label", "Subtitle Field")
|
|
46
|
-
}), /* @__PURE__ */
|
|
46
|
+
}), /* @__PURE__ */ n("input", {
|
|
47
47
|
type: "text",
|
|
48
48
|
value: e.subtitleField || "",
|
|
49
49
|
onChange: (e) => s("subtitleField", e.target.value),
|
|
50
50
|
placeholder: o("bigconsole.widget.config.list.subtitleField.placeholder", "e.g., description, email"),
|
|
51
51
|
className: "\n w-full px-3 py-2\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 "
|
|
52
52
|
})] }),
|
|
53
|
-
/* @__PURE__ */
|
|
53
|
+
/* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("label", {
|
|
54
54
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
55
55
|
children: o("bigconsole.widget.config.list.valueField.label", "Value Field (right side)")
|
|
56
|
-
}), /* @__PURE__ */
|
|
56
|
+
}), /* @__PURE__ */ n("input", {
|
|
57
57
|
type: "text",
|
|
58
58
|
value: e.valueField || "",
|
|
59
59
|
onChange: (e) => s("valueField", e.target.value),
|
|
60
60
|
placeholder: o("bigconsole.widget.config.list.valueField.placeholder", "e.g., amount, count"),
|
|
61
61
|
className: "\n w-full px-3 py-2\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 "
|
|
62
62
|
})] }),
|
|
63
|
-
/* @__PURE__ */
|
|
63
|
+
/* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("label", {
|
|
64
64
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
65
65
|
children: o("bigconsole.widget.config.list.badgeField.label", "Badge Field")
|
|
66
|
-
}), /* @__PURE__ */
|
|
66
|
+
}), /* @__PURE__ */ n("input", {
|
|
67
67
|
type: "text",
|
|
68
68
|
value: e.badgeField || "",
|
|
69
69
|
onChange: (e) => s("badgeField", e.target.value),
|
|
70
70
|
placeholder: o("bigconsole.widget.config.list.badgeField.placeholder", "e.g., status, type"),
|
|
71
71
|
className: "\n w-full px-3 py-2\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 "
|
|
72
72
|
})] }),
|
|
73
|
-
/* @__PURE__ */
|
|
73
|
+
/* @__PURE__ */ r("div", {
|
|
74
74
|
role: "group",
|
|
75
75
|
"aria-label": "Display options",
|
|
76
76
|
className: "space-y-3 border-t border-[var(--color-border-subtle)] pt-form-gap",
|
|
77
77
|
children: [
|
|
78
|
-
/* @__PURE__ */
|
|
78
|
+
/* @__PURE__ */ n("p", {
|
|
79
79
|
className: "text-xs font-bold uppercase tracking-wider text-text-secondary",
|
|
80
80
|
children: "Display options"
|
|
81
81
|
}),
|
|
82
|
-
/* @__PURE__ */
|
|
82
|
+
/* @__PURE__ */ r("label", {
|
|
83
83
|
className: "flex items-center gap-3",
|
|
84
|
-
children: [/* @__PURE__ */
|
|
84
|
+
children: [/* @__PURE__ */ n("input", {
|
|
85
85
|
type: "checkbox",
|
|
86
86
|
checked: e.showCount !== !1,
|
|
87
87
|
onChange: (e) => s("showCount", e.target.checked),
|
|
88
88
|
className: "\n w-4 h-4\n text-action-primary-bg\n bg-bg-surface\n border-border-default\n rounded\n focus:ring-action-primary-bg\n "
|
|
89
|
-
}), /* @__PURE__ */
|
|
89
|
+
}), /* @__PURE__ */ n("span", {
|
|
90
90
|
className: "text-sm text-text-primary",
|
|
91
91
|
children: o("bigconsole.widget.config.list.showCount", "Show item count")
|
|
92
92
|
})]
|
|
93
93
|
}),
|
|
94
|
-
/* @__PURE__ */
|
|
94
|
+
/* @__PURE__ */ r("label", {
|
|
95
95
|
className: "flex items-center gap-3",
|
|
96
|
-
children: [/* @__PURE__ */
|
|
96
|
+
children: [/* @__PURE__ */ n("input", {
|
|
97
97
|
type: "checkbox",
|
|
98
98
|
checked: e.showSearch === !0,
|
|
99
99
|
onChange: (e) => s("showSearch", e.target.checked),
|
|
100
100
|
className: "\n w-4 h-4\n text-action-primary-bg\n bg-bg-surface\n border-border-default\n rounded\n focus:ring-action-primary-bg\n "
|
|
101
|
-
}), /* @__PURE__ */
|
|
101
|
+
}), /* @__PURE__ */ n("span", {
|
|
102
102
|
className: "text-sm text-text-primary",
|
|
103
103
|
children: o("bigconsole.widget.config.list.showSearch", "Show search box")
|
|
104
104
|
})]
|
|
105
105
|
}),
|
|
106
|
-
/* @__PURE__ */
|
|
106
|
+
/* @__PURE__ */ r("label", {
|
|
107
107
|
className: "flex items-center gap-3",
|
|
108
|
-
children: [/* @__PURE__ */
|
|
108
|
+
children: [/* @__PURE__ */ n("input", {
|
|
109
109
|
type: "checkbox",
|
|
110
110
|
checked: e.showViewAll !== !1,
|
|
111
111
|
onChange: (e) => s("showViewAll", e.target.checked),
|
|
112
112
|
className: "\n w-4 h-4\n text-action-primary-bg\n bg-bg-surface\n border-border-default\n rounded\n focus:ring-action-primary-bg\n "
|
|
113
|
-
}), /* @__PURE__ */
|
|
113
|
+
}), /* @__PURE__ */ n("span", {
|
|
114
114
|
className: "text-sm text-text-primary",
|
|
115
115
|
children: o("bigconsole.widget.config.list.showViewAll", "Show \"View All\" link when truncated")
|
|
116
116
|
})]
|
|
117
117
|
}),
|
|
118
|
-
/* @__PURE__ */
|
|
118
|
+
/* @__PURE__ */ r("label", {
|
|
119
119
|
className: "flex items-center gap-3",
|
|
120
|
-
children: [/* @__PURE__ */
|
|
120
|
+
children: [/* @__PURE__ */ n("input", {
|
|
121
121
|
type: "checkbox",
|
|
122
122
|
checked: e.showIcon === !0,
|
|
123
123
|
onChange: (e) => s("showIcon", e.target.checked),
|
|
124
124
|
className: "\n w-4 h-4\n text-action-primary-bg\n bg-bg-surface\n border-border-default\n rounded\n focus:ring-action-primary-bg\n "
|
|
125
|
-
}), /* @__PURE__ */
|
|
125
|
+
}), /* @__PURE__ */ n("span", {
|
|
126
126
|
className: "text-sm text-text-primary",
|
|
127
127
|
children: o("bigconsole.widget.config.list.showIcon", "Show item icons")
|
|
128
128
|
})]
|