@burdenoff/microfe-bigconsole 2026.924.1 → 2026.924.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bigconsole/BigConsoleRoutes.js +137 -138
- package/dist/bigconsole/BigConsoleRoutes.js.map +1 -1
- package/dist/bigconsole/assistant/previewController.js +10 -10
- package/dist/bigconsole/assistant/useAssistantPanelShowsPreview.js +25 -0
- package/dist/bigconsole/assistant/useAssistantPanelShowsPreview.js.map +1 -0
- 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 +103 -103
- 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 +62 -61
- package/dist/bigconsole/components/preview/AiPreviewMiniPanel.js.map +1 -1
- package/dist/bigconsole/components/preview/AiPreviewPanel.js +82 -81
- package/dist/bigconsole/components/preview/AiPreviewPanel.js.map +1 -1
- 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/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 +10 -10
- 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/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/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,12 +1,12 @@
|
|
|
1
1
|
import { parseCsv as e } from "../../utils/csv.js";
|
|
2
2
|
import { memo as t, useCallback as n, useEffect as r, useRef as i, useState as a } from "react";
|
|
3
3
|
import { AlertTriangle as o, ArrowRight as s, FileUp as c, Loader2 as l, Upload as u, Workflow as d } from "lucide-react";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { Button as f, Dialog as p, DialogContent as m, DialogDescription as h, DialogFooter as g, DialogHeader as _, DialogTitle as v } from "@burdenoff/fe-libs/ui";
|
|
5
|
+
import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
|
|
6
|
+
import { useI18n as S } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
7
7
|
//#region src/bigconsole/components/datasink/ImportDataGuideDialog.tsx
|
|
8
8
|
var C = 6, w = 1e7, T = 5e4, E = t(function({ isOpen: t, dataSinkName: E, hasExistingData: D, onClose: O, onGoToWorkflows: k, onImportCsv: A }) {
|
|
9
|
-
let { t: j } =
|
|
9
|
+
let { t: j } = S(), M = i(null), N = i(0), [P, F] = a(null), [I, L] = a(null), [R, z] = a(null), [B, V] = a(null), [H, U] = a(!1), W = n(() => {
|
|
10
10
|
N.current += 1, F(null), L(null), z(null), V(null), U(!1);
|
|
11
11
|
}, []);
|
|
12
12
|
r(() => {
|
|
@@ -53,71 +53,71 @@ var C = 6, w = 1e7, T = 5e4, E = t(function({ isOpen: t, dataSinkName: E, hasExi
|
|
|
53
53
|
O,
|
|
54
54
|
j
|
|
55
55
|
]), q = n(() => M.current?.click(), []), J = I?.columns.slice(0, C) ?? [], Y = I ? I.columns.length - J.length : 0;
|
|
56
|
-
return /* @__PURE__ */
|
|
56
|
+
return /* @__PURE__ */ b(p, {
|
|
57
57
|
open: t,
|
|
58
58
|
onOpenChange: (e) => !e && !H && O(),
|
|
59
|
-
children: /* @__PURE__ */
|
|
59
|
+
children: /* @__PURE__ */ x(m, {
|
|
60
60
|
className: "sm:max-w-lg",
|
|
61
61
|
children: [
|
|
62
|
-
/* @__PURE__ */
|
|
62
|
+
/* @__PURE__ */ x(_, { children: [/* @__PURE__ */ x("div", {
|
|
63
63
|
className: "flex items-center gap-3",
|
|
64
|
-
children: [/* @__PURE__ */
|
|
64
|
+
children: [/* @__PURE__ */ b("div", {
|
|
65
65
|
className: "flex size-10 items-center justify-center rounded-lg bg-action-primary-bg/10",
|
|
66
|
-
children: /* @__PURE__ */
|
|
67
|
-
}), /* @__PURE__ */
|
|
68
|
-
}), /* @__PURE__ */
|
|
69
|
-
/* @__PURE__ */
|
|
66
|
+
children: /* @__PURE__ */ b(u, { className: "size-5 text-action-primary-bg" })
|
|
67
|
+
}), /* @__PURE__ */ b(v, { children: j("bigconsole.dataSinks.importGuide.title", "Import data") })]
|
|
68
|
+
}), /* @__PURE__ */ b(h, { children: E ? j("bigconsole.dataSinks.importGuide.descriptionNamed", "Add data to “{{name}}”", { name: E }) : j("bigconsole.dataSinks.importGuide.description", "Add data to this data sink") })] }),
|
|
69
|
+
/* @__PURE__ */ x("div", {
|
|
70
70
|
className: "py-2 space-y-5",
|
|
71
71
|
children: [
|
|
72
|
-
/* @__PURE__ */
|
|
72
|
+
/* @__PURE__ */ x("section", {
|
|
73
73
|
className: "space-y-3",
|
|
74
|
-
children: [/* @__PURE__ */
|
|
74
|
+
children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("h3", {
|
|
75
75
|
className: "text-sm font-semibold text-text-primary",
|
|
76
76
|
children: j("bigconsole.dataSinks.importGuide.buildWorkflowHeading", "Build a workflow")
|
|
77
|
-
}), /* @__PURE__ */
|
|
77
|
+
}), /* @__PURE__ */ b("p", {
|
|
78
78
|
className: "text-sm text-text-secondary leading-relaxed",
|
|
79
79
|
children: j("bigconsole.dataSinks.importGuide.buildWorkflowBody", "The recommended way to keep this data sink up to date — build a repeatable, scheduled pipeline that fetches from your source (an API, database, or app) and writes into this data sink on every run.")
|
|
80
|
-
})] }), /* @__PURE__ */
|
|
80
|
+
})] }), /* @__PURE__ */ x(f, {
|
|
81
81
|
variant: "default",
|
|
82
82
|
onClick: k,
|
|
83
83
|
disabled: H,
|
|
84
84
|
className: "w-full",
|
|
85
85
|
children: [
|
|
86
|
-
/* @__PURE__ */
|
|
86
|
+
/* @__PURE__ */ b(d, { className: "size-4" }),
|
|
87
87
|
j("bigconsole.dataSinks.importGuide.goToWorkflows", "Go to Workflows"),
|
|
88
|
-
/* @__PURE__ */
|
|
88
|
+
/* @__PURE__ */ b(s, { className: "size-4" })
|
|
89
89
|
]
|
|
90
90
|
})]
|
|
91
91
|
}),
|
|
92
|
-
A && /* @__PURE__ */
|
|
92
|
+
A && /* @__PURE__ */ x("div", {
|
|
93
93
|
className: "flex items-center gap-3",
|
|
94
94
|
children: [
|
|
95
|
-
/* @__PURE__ */
|
|
96
|
-
/* @__PURE__ */
|
|
95
|
+
/* @__PURE__ */ b("span", { className: "h-px flex-1 bg-border-subtle" }),
|
|
96
|
+
/* @__PURE__ */ b("span", {
|
|
97
97
|
className: "text-xs font-medium uppercase tracking-wide text-text-tertiary",
|
|
98
98
|
children: j("bigconsole.dataSinks.importGuide.or", "Or")
|
|
99
99
|
}),
|
|
100
|
-
/* @__PURE__ */
|
|
100
|
+
/* @__PURE__ */ b("span", { className: "h-px flex-1 bg-border-subtle" })
|
|
101
101
|
]
|
|
102
102
|
}),
|
|
103
|
-
A && /* @__PURE__ */
|
|
103
|
+
A && /* @__PURE__ */ x("section", {
|
|
104
104
|
className: "space-y-3",
|
|
105
105
|
children: [
|
|
106
|
-
/* @__PURE__ */
|
|
106
|
+
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("h3", {
|
|
107
107
|
className: "text-sm font-semibold text-text-primary",
|
|
108
108
|
children: j("bigconsole.dataSinks.importGuide.uploadCsvHeading", "Upload a CSV file")
|
|
109
|
-
}), /* @__PURE__ */
|
|
109
|
+
}), /* @__PURE__ */ b("p", {
|
|
110
110
|
className: "text-sm text-text-secondary leading-relaxed",
|
|
111
111
|
children: j("bigconsole.dataSinks.importGuide.uploadCsvBody", "For a quick, one-off import, upload a spreadsheet export and it becomes available to your dashboards right away.")
|
|
112
112
|
})] }),
|
|
113
|
-
D && /* @__PURE__ */
|
|
113
|
+
D && /* @__PURE__ */ x("div", {
|
|
114
114
|
className: "flex items-start gap-2 rounded-lg border border-status-warning-border bg-status-warning-bg px-3 py-2",
|
|
115
|
-
children: [/* @__PURE__ */
|
|
115
|
+
children: [/* @__PURE__ */ b(o, { className: "size-4 shrink-0 text-status-warning-text mt-0.5" }), /* @__PURE__ */ b("p", {
|
|
116
116
|
className: "text-sm text-status-warning-text",
|
|
117
117
|
children: j("bigconsole.dataSinks.importGuide.hasExistingDataWarning", "This data sink already has data — importing a CSV will replace it.")
|
|
118
118
|
})]
|
|
119
119
|
}),
|
|
120
|
-
/* @__PURE__ */
|
|
120
|
+
/* @__PURE__ */ b("input", {
|
|
121
121
|
ref: M,
|
|
122
122
|
type: "file",
|
|
123
123
|
accept: ".csv,text/csv",
|
|
@@ -125,39 +125,39 @@ var C = 6, w = 1e7, T = 5e4, E = t(function({ isOpen: t, dataSinkName: E, hasExi
|
|
|
125
125
|
onChange: G,
|
|
126
126
|
"aria-label": j("bigconsole.dataSinks.importGuide.fileInputAriaLabel", "Choose a CSV file to import")
|
|
127
127
|
}),
|
|
128
|
-
!I && /* @__PURE__ */
|
|
128
|
+
!I && /* @__PURE__ */ x("button", {
|
|
129
129
|
type: "button",
|
|
130
130
|
onClick: q,
|
|
131
131
|
className: "flex w-full flex-col items-center justify-center gap-2 rounded-lg border border-dashed border-border-default bg-bg-sunken px-4 py-6 text-center transition-colors hover:border-action-primary-bg hover:bg-action-primary-bg/5",
|
|
132
132
|
children: [
|
|
133
|
-
/* @__PURE__ */
|
|
134
|
-
/* @__PURE__ */
|
|
133
|
+
/* @__PURE__ */ b(c, { className: "size-6 text-text-tertiary" }),
|
|
134
|
+
/* @__PURE__ */ b("span", {
|
|
135
135
|
className: "text-sm font-medium text-text-primary",
|
|
136
136
|
children: P ? j("bigconsole.dataSinks.importGuide.chooseDifferentCsv", "Choose a different CSV file") : j("bigconsole.dataSinks.importGuide.chooseCsv", "Choose a CSV file")
|
|
137
137
|
}),
|
|
138
|
-
/* @__PURE__ */
|
|
138
|
+
/* @__PURE__ */ b("span", {
|
|
139
139
|
className: "text-xs text-text-tertiary",
|
|
140
140
|
children: j("bigconsole.dataSinks.importGuide.firstRowHint", "The first row is used as column names.")
|
|
141
141
|
})
|
|
142
142
|
]
|
|
143
143
|
}),
|
|
144
|
-
R && /* @__PURE__ */
|
|
144
|
+
R && /* @__PURE__ */ b("div", {
|
|
145
145
|
className: "rounded-lg border border-status-error-border bg-status-error-bg px-3 py-2",
|
|
146
|
-
children: /* @__PURE__ */
|
|
146
|
+
children: /* @__PURE__ */ b("p", {
|
|
147
147
|
className: "text-sm text-status-error-text",
|
|
148
148
|
children: R
|
|
149
149
|
})
|
|
150
150
|
}),
|
|
151
|
-
I && /* @__PURE__ */
|
|
151
|
+
I && /* @__PURE__ */ x("div", {
|
|
152
152
|
className: "space-y-3 rounded-lg border border-border-default bg-bg-sunken p-4",
|
|
153
153
|
children: [
|
|
154
|
-
/* @__PURE__ */
|
|
154
|
+
/* @__PURE__ */ x("div", {
|
|
155
155
|
className: "flex items-center justify-between gap-3",
|
|
156
|
-
children: [/* @__PURE__ */
|
|
156
|
+
children: [/* @__PURE__ */ b("span", {
|
|
157
157
|
className: "truncate text-sm font-medium text-text-primary",
|
|
158
158
|
title: P ?? void 0,
|
|
159
159
|
children: P
|
|
160
|
-
}), /* @__PURE__ */
|
|
160
|
+
}), /* @__PURE__ */ b("button", {
|
|
161
161
|
type: "button",
|
|
162
162
|
onClick: q,
|
|
163
163
|
disabled: H,
|
|
@@ -165,12 +165,12 @@ var C = 6, w = 1e7, T = 5e4, E = t(function({ isOpen: t, dataSinkName: E, hasExi
|
|
|
165
165
|
children: j("bigconsole.dataSinks.importGuide.changeFile", "Change file")
|
|
166
166
|
})]
|
|
167
167
|
}),
|
|
168
|
-
/* @__PURE__ */
|
|
168
|
+
/* @__PURE__ */ x("p", {
|
|
169
169
|
className: "text-sm text-text-secondary",
|
|
170
170
|
children: [
|
|
171
171
|
j("bigconsole.dataSinks.importGuide.readyToImportPrefix", "Ready to import"),
|
|
172
172
|
" ",
|
|
173
|
-
/* @__PURE__ */
|
|
173
|
+
/* @__PURE__ */ b("strong", {
|
|
174
174
|
className: "text-text-primary",
|
|
175
175
|
children: I.rows.length
|
|
176
176
|
}),
|
|
@@ -178,7 +178,7 @@ var C = 6, w = 1e7, T = 5e4, E = t(function({ isOpen: t, dataSinkName: E, hasExi
|
|
|
178
178
|
I.rows.length === 1 ? j("bigconsole.dataSinks.importGuide.rowSingular", "row") : j("bigconsole.dataSinks.importGuide.rowPlural", "rows"),
|
|
179
179
|
" ",
|
|
180
180
|
"× ",
|
|
181
|
-
/* @__PURE__ */
|
|
181
|
+
/* @__PURE__ */ b("strong", {
|
|
182
182
|
className: "text-text-primary",
|
|
183
183
|
children: I.columns.length
|
|
184
184
|
}),
|
|
@@ -187,25 +187,25 @@ var C = 6, w = 1e7, T = 5e4, E = t(function({ isOpen: t, dataSinkName: E, hasExi
|
|
|
187
187
|
"."
|
|
188
188
|
]
|
|
189
189
|
}),
|
|
190
|
-
/* @__PURE__ */
|
|
190
|
+
/* @__PURE__ */ x("div", {
|
|
191
191
|
className: "flex flex-wrap gap-1.5",
|
|
192
|
-
children: [J.map((e) => /* @__PURE__ */
|
|
192
|
+
children: [J.map((e) => /* @__PURE__ */ b("span", {
|
|
193
193
|
className: "rounded-full bg-bg-surface px-2 py-0.5 text-xs text-text-secondary border border-border-subtle",
|
|
194
194
|
children: e
|
|
195
|
-
}, e)), Y > 0 && /* @__PURE__ */
|
|
195
|
+
}, e)), Y > 0 && /* @__PURE__ */ b("span", {
|
|
196
196
|
className: "rounded-full px-2 py-0.5 text-xs text-text-tertiary",
|
|
197
197
|
children: j("bigconsole.dataSinks.importGuide.moreColumns", "+{{count}} more", { count: Y })
|
|
198
198
|
})]
|
|
199
199
|
}),
|
|
200
|
-
B && /* @__PURE__ */
|
|
200
|
+
B && /* @__PURE__ */ b("p", {
|
|
201
201
|
className: "text-sm text-status-error-text",
|
|
202
202
|
children: B
|
|
203
203
|
}),
|
|
204
|
-
/* @__PURE__ */
|
|
204
|
+
/* @__PURE__ */ b(f, {
|
|
205
205
|
onClick: K,
|
|
206
206
|
disabled: H,
|
|
207
207
|
className: "w-full",
|
|
208
|
-
children: H ? /* @__PURE__ */
|
|
208
|
+
children: H ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(l, { className: "size-4 animate-spin" }), j("bigconsole.dataSinks.importGuide.importing", "Importing…")] }) : /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(u, { className: "size-4" }), I.rows.length === 1 ? j("bigconsole.dataSinks.importGuide.importRowSingular", "Import {{count}} row", { count: I.rows.length }) : j("bigconsole.dataSinks.importGuide.importRowPlural", "Import {{count}} rows", { count: I.rows.length })] })
|
|
209
209
|
})
|
|
210
210
|
]
|
|
211
211
|
})
|
|
@@ -213,7 +213,7 @@ var C = 6, w = 1e7, T = 5e4, E = t(function({ isOpen: t, dataSinkName: E, hasExi
|
|
|
213
213
|
})
|
|
214
214
|
]
|
|
215
215
|
}),
|
|
216
|
-
/* @__PURE__ */
|
|
216
|
+
/* @__PURE__ */ b(g, { children: /* @__PURE__ */ b(f, {
|
|
217
217
|
variant: "outline",
|
|
218
218
|
onClick: O,
|
|
219
219
|
disabled: H,
|