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