@burdenoff/fluidgrids-fe-sdk 2026.1113.4 → 2026.1113.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/{AiStudioPage-DmgLQG62.js → AiStudioPage-DzvEkuoS.js} +6 -6
- package/dist/{ApprovalInboxPage-BsJX4osU.js → ApprovalInboxPage-CbkmOXaq.js} +9 -9
- package/dist/{DataSinkDashboardPage-iBalc66y.js → DataSinkDashboardPage-DYuBqD2Y.js} +15 -15
- package/dist/{DataTablesPage-BBvABuxE.js → DataTablesPage-DR6BesNp.js} +18 -18
- package/dist/{Disclosure-DQiUKrqd.js → Disclosure-CsxDspR7.js} +7 -3
- package/dist/{ExecutionDetailPage-D1E_Rf3U.js → ExecutionDetailPage-D40dK9iB.js} +133 -133
- package/dist/{ExecutionsListPage-LsqVMwck.js → ExecutionsListPage-C-dujSS3.js} +141 -107
- package/dist/{FailureTriagePanel-CM-vmvbA.js → FailureTriagePanel-DA91XKVj.js} +3 -3
- package/dist/{FluidGridsProvider-BgP5c-hH.js → FluidGridsProvider-gB2POEu6.js} +1 -1
- package/dist/{HistoryPage-BTAkQ7O1.js → HistoryPage-8lQ6xf5Q.js} +12 -12
- package/dist/{InsightsPage-CVSoyuat.js → InsightsPage-YC1Bpqiz.js} +30 -30
- package/dist/{NodesPage-C5Dq-ru-.js → NodesPage-DeBc3zix.js} +10 -10
- package/dist/{PaidTemplateConfirm-DfFrr1pk.js → PaidTemplateConfirm-BadoJJPx.js} +1 -1
- package/dist/{QuotaExhaustedDialog-BHZm4tQy.js → QuotaExhaustedDialog-BBK3aX_0.js} +1 -1
- package/dist/{RunActionsMenu-BE_1r3bF.js → RunActionsMenu-BZY4NreS.js} +8 -6
- package/dist/{RunnersPage-DHeuUDil.js → RunnersPage-BXODCbq0.js} +2 -2
- package/dist/{SettingsPage-DPWog4BR.js → SettingsPage-BfBa-qSk.js} +72 -72
- package/dist/{TaskQueuesPage-BwnNad_J.js → TaskQueuesPage-DsGNGmGN.js} +15 -15
- package/dist/{TechnicalDetails-D4xGy201.js → TechnicalDetails-r5JXr1jZ.js} +1 -1
- package/dist/{TemplateCard-trfaDJLe.js → TemplateCard-lKGodHU8.js} +2 -2
- package/dist/{TemplatePreview-BuEMVZiI.js → TemplatePreview-CwJfGqoH.js} +5 -5
- package/dist/{TemplatesPage-UISz_6vU.js → TemplatesPage-mRzYPtOC.js} +20 -20
- package/dist/{VariablesPage-CgUBKhAe.js → VariablesPage-8yuyDzCH.js} +8 -8
- package/dist/{WorkflowBuilder-Cmj59UU-.js → WorkflowBuilder-DKqz8W6n.js} +3 -3
- package/dist/{WorkflowBuilder-nnSlI7Fd.js → WorkflowBuilder-DtSOvYST.js} +6 -6
- package/dist/{WorkflowProposalCard-zCdUpCk8.js → WorkflowProposalCard-SmRv_Egf.js} +1 -1
- package/dist/{WorkflowSearchRedirect-pEIU2nvw.js → WorkflowSearchRedirect-mX-YNhkj.js} +1 -1
- package/dist/{WorkflowsList-B6ASopzn.js → WorkflowsList-DBKQLEUU.js} +7 -7
- package/dist/{agentTools-7CFfwySg.js → agentTools-Dle04WMj.js} +1 -1
- package/dist/{api-BqA-f-AD.js → api-CEnNq15C.js} +1 -1
- package/dist/{api-BZVyX5d2.js → api-DKfMt0IX.js} +1 -1
- package/dist/{app-BJUvugPM.js → app-BIsCEL65.js} +5 -5
- package/dist/{canvasNoteTools-BikeF-pN.js → canvasNoteTools-Bror30X8.js} +1 -1
- package/dist/executions.js +2 -2
- package/dist/{flow-builder-CksAvhgV.js → flow-builder-CErj7Fgi.js} +21 -21
- package/dist/history.js +1 -1
- package/dist/index.js +72 -72
- package/dist/{logs-panel-DtG93ocy.js → logs-panel-2L4TLGcG.js} +10 -10
- package/dist/{node-detail-view-BgmxkGJe.js → node-detail-view-BqGpYHEE.js} +6 -6
- package/dist/{node-editor-tab-body-2Y-lqY4_.js → node-editor-tab-body-f2EIl5lh.js} +2 -2
- package/dist/nodes.js +1 -1
- package/dist/observability.js +2 -2
- package/dist/{popover-DL7fSPgH.js → popover-3Vs4f1Uy.js} +2 -2
- package/dist/{quick-config-panel-nmIRDTFB.js → quick-config-panel-Aja-lh3W.js} +3 -3
- package/dist/{schedule-panel-Bk5MJumG.js → schedule-panel-DCzLeJvi.js} +6 -6
- package/dist/settings.js +1 -1
- package/dist/{shared-Ctl9ZHo1.js → shared-C0LCTtyh.js} +3 -3
- package/dist/{sidebar-node-editor-BnUjER8A.js → sidebar-node-editor-CWdejdLi.js} +3 -3
- package/dist/templates.js +2 -2
- package/dist/{useAgentDefinitions-BmyWUoyo.js → useAgentDefinitions-DoMEv0kS.js} +1 -1
- package/dist/{useDurableParity-AowXKgBZ.js → useDurableParity-9mQYNpiP.js} +1 -1
- package/dist/{useExecutions-BemEN_Zb.js → useExecutions-BvldyVgF.js} +1 -1
- package/dist/{useGlobalStoreClient-BmjWfAjc.js → useGlobalStoreClient-CpTRykJx.js} +1 -1
- package/dist/{useObservability-BGrwZS5X.js → useObservability-Cps9Y9a3.js} +1 -1
- package/dist/{useRunHistory-GzyLco45.js → useRunHistory-DoxQsQIm.js} +9 -9
- package/dist/{useWorkflowCodeExport-ej7y3Gi3.js → useWorkflowCodeExport-BLl0hv2J.js} +1 -1
- package/dist/{useWorkflows-DwDzP-AD.js → useWorkflows-Z4M64JlD.js} +1 -1
- package/dist/workflow-builder.js +4 -4
- package/dist/workflow-pages.js +19 -19
- package/dist/workflows-list.js +1 -1
- package/package.json +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as __exportAll } from "./rolldown-runtime-hDbaFkMy.js";
|
|
3
3
|
import { t as ThemeProvider } from "./theme-provider-B3mIuz2d.js";
|
|
4
|
-
import { a as useAiWorkflowTemplates, i as enrichDraftNodes, n as AI_DRAFT_MAX_PROMPT_LENGTH, r as draftToCanvas, t as FlowBuilderPage } from "./flow-builder-
|
|
5
|
-
import { T as buildOperationSeed, ht as classifyCreateRefusal, mt as builderPathOf, u as ensureNodeTypesLoaded } from "./FluidGridsProvider-
|
|
4
|
+
import { a as useAiWorkflowTemplates, i as enrichDraftNodes, n as AI_DRAFT_MAX_PROMPT_LENGTH, r as draftToCanvas, t as FlowBuilderPage } from "./flow-builder-CErj7Fgi.js";
|
|
5
|
+
import { T as buildOperationSeed, ht as classifyCreateRefusal, mt as builderPathOf, u as ensureNodeTypesLoaded } from "./FluidGridsProvider-gB2POEu6.js";
|
|
6
6
|
import { n as getFluidGridsClient } from "./client-Ctl4jmY3.js";
|
|
7
7
|
import { o as throwIfResultError } from "./errors-xPZ-IbQd.js";
|
|
8
8
|
import { a as notifyFluidGridsAiCreditsUpdated, t as AiCreditBalanceSlot } from "./aiCreditsBridge-BuE92tKo.js";
|
|
9
|
-
import { n as useCreateWorkflow } from "./useWorkflows-
|
|
9
|
+
import { n as useCreateWorkflow } from "./useWorkflows-Z4M64JlD.js";
|
|
10
10
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
11
11
|
import { t as BILLING_PLANS_PATH } from "./quota-Cdt8yz7N.js";
|
|
12
|
-
import { c as CreateWorkflowRefusalDialog } from "./useWorkflowCodeExport-
|
|
12
|
+
import { c as CreateWorkflowRefusalDialog } from "./useWorkflowCodeExport-BLl0hv2J.js";
|
|
13
13
|
import { s as useFluidGridsPermission, t as FLUIDGRIDS_PERMISSIONS } from "./constants-dcxg6zG6.js";
|
|
14
14
|
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
15
15
|
import { useNavigate } from "react-router";
|
|
@@ -898,7 +898,7 @@ function AiStudioPage() {
|
|
|
898
898
|
]);
|
|
899
899
|
const showExamples = phase === "idle" && !requestRef.current;
|
|
900
900
|
return /* @__PURE__ */ jsxs("div", {
|
|
901
|
-
className: "min-h-full bg-
|
|
901
|
+
className: "min-h-full bg-surface-canvas p-4 sm:p-6",
|
|
902
902
|
"data-testid": "ai-studio-page",
|
|
903
903
|
children: [
|
|
904
904
|
/* @__PURE__ */ jsxs("header", {
|
|
@@ -1120,7 +1120,7 @@ function AiStudioPage() {
|
|
|
1120
1120
|
className: "flex flex-col gap-4",
|
|
1121
1121
|
children: [
|
|
1122
1122
|
/* @__PURE__ */ jsx("div", {
|
|
1123
|
-
className: "relative h-[360px] w-full overflow-hidden rounded-lg border border-border-
|
|
1123
|
+
className: "relative h-[360px] w-full overflow-hidden rounded-lg border border-border-default sm:h-[440px]",
|
|
1124
1124
|
children: draft && current ? /* @__PURE__ */ jsx(DraftCanvas, {
|
|
1125
1125
|
generationId: current.id,
|
|
1126
1126
|
name: draft.name,
|
|
@@ -5,7 +5,7 @@ import { n as useNavigationV2 } from "./useNavigationV2-C2WeqN7d.js";
|
|
|
5
5
|
import { o as throwIfResultError, r as isForbiddenError, t as describeOperationError } from "./errors-xPZ-IbQd.js";
|
|
6
6
|
import { a as useRecipientLabel, i as notAnswerableText, n as ApprovalApprovers, r as answeredToastText, t as channelLabel } from "./channel-DtF1n_ab.js";
|
|
7
7
|
import { n as useRespondToHumanRequest, t as usePendingHumanRequests } from "./useHumanRequests-DwG2tQ3f.js";
|
|
8
|
-
import { t as TechnicalDetails } from "./TechnicalDetails-
|
|
8
|
+
import { t as TechnicalDetails } from "./TechnicalDetails-r5JXr1jZ.js";
|
|
9
9
|
import { t as FluidGridsDocsLink } from "./FluidGridsDocsLink-JxkBpOeb.js";
|
|
10
10
|
import { n as getFluidGridsClient } from "./client-Ctl4jmY3.js";
|
|
11
11
|
import { r as nodeDisplayTitle, t as buildNodeDisplayMap } from "./run-display-BycKYSU0.js";
|
|
@@ -149,7 +149,7 @@ function FormControls({ requestId, fields, values, onChange }) {
|
|
|
149
149
|
}) : type === "dropdown" || type === "select" ? /* @__PURE__ */ jsxs("select", {
|
|
150
150
|
id,
|
|
151
151
|
"aria-required": required,
|
|
152
|
-
className: "w-full rounded-md border border-border-
|
|
152
|
+
className: "w-full rounded-md border border-border-default bg-surface-canvas px-3 py-2 text-sm text-text-primary",
|
|
153
153
|
value: values[field.name] ?? "",
|
|
154
154
|
onChange: (event) => onChange(field.name, event.target.value),
|
|
155
155
|
children: [/* @__PURE__ */ jsx("option", {
|
|
@@ -293,7 +293,7 @@ function HumanRequestCard({ request, onAnswered, workflowName, stepName }) {
|
|
|
293
293
|
};
|
|
294
294
|
const recipient = useRecipientLabel(request, request.channel === "IN_APP" ? tr("fluidgrids.humanResponse.anyMember", "any workspace member") : "");
|
|
295
295
|
return /* @__PURE__ */ jsxs(Card, {
|
|
296
|
-
className: "border border-border-
|
|
296
|
+
className: "border border-border-default bg-surface",
|
|
297
297
|
"data-testid": "human-request-card",
|
|
298
298
|
"data-request-id": request.id,
|
|
299
299
|
children: [/* @__PURE__ */ jsxs(CardHeader, {
|
|
@@ -853,7 +853,7 @@ function PlainToolCall({ call }) {
|
|
|
853
853
|
const tr = useTr();
|
|
854
854
|
const summary = summarizeToolArguments(call.argsJson);
|
|
855
855
|
return /* @__PURE__ */ jsxs("div", {
|
|
856
|
-
className: "rounded-md border border-border-
|
|
856
|
+
className: "rounded-md border border-border-default bg-surface-canvas p-3",
|
|
857
857
|
"data-testid": "tool-approval-call",
|
|
858
858
|
children: [/* @__PURE__ */ jsx("p", {
|
|
859
859
|
className: "text-sm font-medium text-text-primary",
|
|
@@ -879,7 +879,7 @@ function PlainToolCall({ call }) {
|
|
|
879
879
|
/** Today's call block: the raw tool name and its JSON arguments. */
|
|
880
880
|
function RawToolCall({ call }) {
|
|
881
881
|
return /* @__PURE__ */ jsxs("div", {
|
|
882
|
-
className: "rounded-md border border-border-
|
|
882
|
+
className: "rounded-md border border-border-default bg-surface-canvas p-3",
|
|
883
883
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
884
884
|
className: "mb-1 flex items-center gap-2",
|
|
885
885
|
children: [/* @__PURE__ */ jsx(Icon, {
|
|
@@ -923,7 +923,7 @@ function ToolApprovalCard({ request, onDecided, workflowName, stepName }) {
|
|
|
923
923
|
};
|
|
924
924
|
const deniedTooltip = tr("fluidgrids.toolApproval.decideDeniedTooltip", "You don't have permission to decide tool approvals");
|
|
925
925
|
return /* @__PURE__ */ jsxs(Card, {
|
|
926
|
-
className: "border border-border-
|
|
926
|
+
className: "border border-border-default bg-surface",
|
|
927
927
|
"data-testid": "tool-approval-card",
|
|
928
928
|
"data-request-id": request.id,
|
|
929
929
|
children: [
|
|
@@ -1125,7 +1125,7 @@ function HumanRequestsSection({ items, totalCount, offset, onOffsetChange, onAns
|
|
|
1125
1125
|
function ToolApprovalsNoAccess() {
|
|
1126
1126
|
const tr = useTr();
|
|
1127
1127
|
return /* @__PURE__ */ jsx(Card, {
|
|
1128
|
-
className: "mb-6 border border-border-
|
|
1128
|
+
className: "mb-6 border border-border-default bg-surface",
|
|
1129
1129
|
"data-testid": "tool-approval-no-access",
|
|
1130
1130
|
children: /* @__PURE__ */ jsxs(CardContent, {
|
|
1131
1131
|
className: "flex items-start gap-3 py-4",
|
|
@@ -1147,7 +1147,7 @@ function ToolApprovalsNoAccess() {
|
|
|
1147
1147
|
function ApprovalsEmptyState({ plain }) {
|
|
1148
1148
|
const tr = useTr();
|
|
1149
1149
|
return /* @__PURE__ */ jsx(Card, {
|
|
1150
|
-
className: "border border-border-
|
|
1150
|
+
className: "border border-border-default bg-surface",
|
|
1151
1151
|
"data-tour": "fluidgrids-approvals-empty",
|
|
1152
1152
|
children: /* @__PURE__ */ jsxs(CardContent, {
|
|
1153
1153
|
className: "flex flex-col items-center gap-2 py-10 text-center",
|
|
@@ -1241,7 +1241,7 @@ function ApprovalInboxPage() {
|
|
|
1241
1241
|
};
|
|
1242
1242
|
};
|
|
1243
1243
|
return /* @__PURE__ */ jsxs("div", {
|
|
1244
|
-
className: "p-4 sm:p-6 bg-
|
|
1244
|
+
className: "p-4 sm:p-6 bg-surface-canvas min-h-screen",
|
|
1245
1245
|
children: [
|
|
1246
1246
|
/* @__PURE__ */ jsxs("div", {
|
|
1247
1247
|
className: "flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 mb-6",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { t as __exportAll } from "./rolldown-runtime-hDbaFkMy.js";
|
|
3
3
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
4
4
|
import { n as useNavigationV2 } from "./useNavigationV2-C2WeqN7d.js";
|
|
5
|
-
import { n as useDataSinks, t as useDataSinkData } from "./useObservability-
|
|
5
|
+
import { n as useDataSinks, t as useDataSinkData } from "./useObservability-Cps9Y9a3.js";
|
|
6
6
|
import { c as prettyJson, r as formatTimestamp, t as formatBytes } from "./utils-C0dtnN4R.js";
|
|
7
7
|
import { useEffect, useMemo, useState } from "react";
|
|
8
8
|
import { Icon } from "@iconify/react";
|
|
@@ -38,17 +38,17 @@ function DataPreview({ value }) {
|
|
|
38
38
|
if (rows.length > 0) {
|
|
39
39
|
const keys = [...new Set(rows.flatMap((row) => Object.keys(row)))].slice(0, 12);
|
|
40
40
|
return /* @__PURE__ */ jsxs("div", {
|
|
41
|
-
className: "overflow-x-auto rounded-lg border border-border-
|
|
41
|
+
className: "overflow-x-auto rounded-lg border border-border-default",
|
|
42
42
|
children: [/* @__PURE__ */ jsxs("table", {
|
|
43
43
|
className: "min-w-full text-left text-sm",
|
|
44
44
|
children: [/* @__PURE__ */ jsx("thead", {
|
|
45
|
-
className: "bg-
|
|
45
|
+
className: "bg-surface-sunken text-xs uppercase text-text-secondary",
|
|
46
46
|
children: /* @__PURE__ */ jsx("tr", { children: keys.map((key) => /* @__PURE__ */ jsx("th", {
|
|
47
47
|
className: "whitespace-nowrap px-3 py-2 font-medium",
|
|
48
48
|
children: key
|
|
49
49
|
}, key)) })
|
|
50
50
|
}), /* @__PURE__ */ jsx("tbody", {
|
|
51
|
-
className: "divide-y divide-border-
|
|
51
|
+
className: "divide-y divide-border-default",
|
|
52
52
|
children: rows.slice(0, 50).map((row, index) => /* @__PURE__ */ jsx("tr", {
|
|
53
53
|
className: "text-text-primary",
|
|
54
54
|
children: keys.map((key) => /* @__PURE__ */ jsx("td", {
|
|
@@ -58,14 +58,14 @@ function DataPreview({ value }) {
|
|
|
58
58
|
}, index))
|
|
59
59
|
})]
|
|
60
60
|
}), rows.length > 50 && /* @__PURE__ */ jsx("p", {
|
|
61
|
-
className: "border-t border-border-
|
|
61
|
+
className: "border-t border-border-default px-3 py-2 text-xs text-text-secondary",
|
|
62
62
|
children: tr("fluidgrids.dataSinks.previewLimit", "Showing the first 50 rows")
|
|
63
63
|
})]
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
return /* @__PURE__ */ jsx("pre", {
|
|
68
|
-
className: "max-h-[28rem] overflow-auto rounded-lg border border-border-
|
|
68
|
+
className: "max-h-[28rem] overflow-auto rounded-lg border border-border-default bg-surface-canvas p-4 text-xs text-text-primary",
|
|
69
69
|
children: prettyJson(value)
|
|
70
70
|
});
|
|
71
71
|
}
|
|
@@ -74,7 +74,7 @@ function SinkCard({ sink, selected, onSelect }) {
|
|
|
74
74
|
return /* @__PURE__ */ jsxs("button", {
|
|
75
75
|
type: "button",
|
|
76
76
|
onClick: onSelect,
|
|
77
|
-
className: `w-full rounded-lg border p-4 text-left transition-colors ${selected ? "border-action-primary-bg bg-action-primary-bg/10" : "border-border-
|
|
77
|
+
className: `w-full rounded-lg border p-4 text-left transition-colors ${selected ? "border-action-primary-bg bg-action-primary-bg/10" : "border-border-default bg-surface hover:border-action-primary-bg/60"}`,
|
|
78
78
|
"aria-pressed": selected,
|
|
79
79
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
80
80
|
className: "flex items-start justify-between gap-3",
|
|
@@ -88,7 +88,7 @@ function SinkCard({ sink, selected, onSelect }) {
|
|
|
88
88
|
children: sink.key
|
|
89
89
|
})]
|
|
90
90
|
}), /* @__PURE__ */ jsx("span", {
|
|
91
|
-
className: "shrink-0 rounded-full bg-
|
|
91
|
+
className: "shrink-0 rounded-full bg-surface-sunken px-2 py-0.5 text-xs text-text-secondary",
|
|
92
92
|
children: sink.status
|
|
93
93
|
})]
|
|
94
94
|
}), /* @__PURE__ */ jsxs("div", {
|
|
@@ -117,7 +117,7 @@ function DataSinkDashboardPage() {
|
|
|
117
117
|
const totalBytes = sinks.reduce((total, sink) => total + sink.sizeBytes, 0);
|
|
118
118
|
const selectedUpdatedAt = formatTimestamp(selectedSink?.lastRefreshedAt);
|
|
119
119
|
return /* @__PURE__ */ jsxs("div", {
|
|
120
|
-
className: "min-h-screen bg-
|
|
120
|
+
className: "min-h-screen bg-surface-canvas p-4 sm:p-6",
|
|
121
121
|
children: [
|
|
122
122
|
/* @__PURE__ */ jsxs("header", {
|
|
123
123
|
className: "mb-6 flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",
|
|
@@ -151,7 +151,7 @@ function DataSinkDashboardPage() {
|
|
|
151
151
|
"data-tour": "fluidgrids-data-sinks-stats",
|
|
152
152
|
children: [
|
|
153
153
|
/* @__PURE__ */ jsxs("div", {
|
|
154
|
-
className: "rounded-xl border border-border-
|
|
154
|
+
className: "rounded-xl border border-border-default bg-surface p-4",
|
|
155
155
|
children: [/* @__PURE__ */ jsx("p", {
|
|
156
156
|
className: "text-sm text-text-secondary",
|
|
157
157
|
children: tr("fluidgrids.dataSinks.totalSinks", "DataSinks")
|
|
@@ -161,7 +161,7 @@ function DataSinkDashboardPage() {
|
|
|
161
161
|
})]
|
|
162
162
|
}),
|
|
163
163
|
/* @__PURE__ */ jsxs("div", {
|
|
164
|
-
className: "rounded-xl border border-border-
|
|
164
|
+
className: "rounded-xl border border-border-default bg-surface p-4",
|
|
165
165
|
children: [/* @__PURE__ */ jsx("p", {
|
|
166
166
|
className: "text-sm text-text-secondary",
|
|
167
167
|
children: tr("fluidgrids.dataSinks.activeSinks", "Active sinks")
|
|
@@ -171,7 +171,7 @@ function DataSinkDashboardPage() {
|
|
|
171
171
|
})]
|
|
172
172
|
}),
|
|
173
173
|
/* @__PURE__ */ jsxs("div", {
|
|
174
|
-
className: "rounded-xl border border-border-
|
|
174
|
+
className: "rounded-xl border border-border-default bg-surface p-4",
|
|
175
175
|
children: [/* @__PURE__ */ jsx("p", {
|
|
176
176
|
className: "text-sm text-text-secondary",
|
|
177
177
|
children: tr("fluidgrids.dataSinks.totalStorage", "Visible storage")
|
|
@@ -204,7 +204,7 @@ function DataSinkDashboardPage() {
|
|
|
204
204
|
children: tr("fluidgrids.dataSinks.loading", "Loading DataSinks…")
|
|
205
205
|
}),
|
|
206
206
|
!loading && sinks.length === 0 && /* @__PURE__ */ jsx("div", {
|
|
207
|
-
className: "rounded-lg border border-dashed border-border-
|
|
207
|
+
className: "rounded-lg border border-dashed border-border-default p-6 text-center text-sm text-text-secondary",
|
|
208
208
|
children: v2 ? tr("fluidgrids.dataSinks.emptyAll", "No data sinks found.") : tr("fluidgrids.dataSinks.empty", "No active DataSinks found.")
|
|
209
209
|
}),
|
|
210
210
|
sinks.map((sink) => /* @__PURE__ */ jsx(SinkCard, {
|
|
@@ -214,7 +214,7 @@ function DataSinkDashboardPage() {
|
|
|
214
214
|
}, sink.id))
|
|
215
215
|
]
|
|
216
216
|
}), /* @__PURE__ */ jsxs("main", {
|
|
217
|
-
className: "min-w-0 rounded-xl border border-border-
|
|
217
|
+
className: "min-w-0 rounded-xl border border-border-default bg-surface p-5",
|
|
218
218
|
"data-tour": "fluidgrids-data-sinks-preview",
|
|
219
219
|
children: [!selectedSink && /* @__PURE__ */ jsxs("div", {
|
|
220
220
|
className: "flex min-h-64 flex-col items-center justify-center text-center",
|
|
@@ -268,7 +268,7 @@ function DataSinkDashboardPage() {
|
|
|
268
268
|
className: "mb-4 rounded-lg border border-status-error-border bg-status-error-bg-subtle p-3 text-sm text-status-error-text",
|
|
269
269
|
children: dataError.message
|
|
270
270
|
}),
|
|
271
|
-
dataLoading && !sinkData && /* @__PURE__ */ jsx("div", { className: "h-64 animate-pulse rounded-lg bg-
|
|
271
|
+
dataLoading && !sinkData && /* @__PURE__ */ jsx("div", { className: "h-64 animate-pulse rounded-lg bg-surface-canvas" }),
|
|
272
272
|
!dataLoading && sinkData && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs("div", {
|
|
273
273
|
className: "mb-4 flex flex-wrap gap-3 text-xs text-text-secondary",
|
|
274
274
|
children: [
|
|
@@ -11,9 +11,9 @@ import { n as getFluidGridsClient } from "./client-Ctl4jmY3.js";
|
|
|
11
11
|
import { t as FluidGridsDocsLink } from "./FluidGridsDocsLink-JxkBpOeb.js";
|
|
12
12
|
import { n as useNavigationV2 } from "./useNavigationV2-C2WeqN7d.js";
|
|
13
13
|
import { t as ConfirmActionDialog } from "./ConfirmActionDialog-D9Pir3bc.js";
|
|
14
|
-
import { t as Disclosure } from "./Disclosure-
|
|
15
|
-
import { t as RunActionsMenu } from "./RunActionsMenu-
|
|
16
|
-
import { t as TechnicalDetails } from "./TechnicalDetails-
|
|
14
|
+
import { t as Disclosure } from "./Disclosure-CsxDspR7.js";
|
|
15
|
+
import { t as RunActionsMenu } from "./RunActionsMenu-BZY4NreS.js";
|
|
16
|
+
import { t as TechnicalDetails } from "./TechnicalDetails-r5JXr1jZ.js";
|
|
17
17
|
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
18
18
|
import { useNavigate } from "react-router";
|
|
19
19
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -975,7 +975,7 @@ function RowsPanelHeaderV2({ table, total, importProgress, exporting, deletingRo
|
|
|
975
975
|
onCheckedChange: onSelectModeChange
|
|
976
976
|
}] : [];
|
|
977
977
|
return /* @__PURE__ */ jsxs(CardHeader, {
|
|
978
|
-
className: "gap-4 border-b border-border-
|
|
978
|
+
className: "gap-4 border-b border-border-default p-4 sm:p-5",
|
|
979
979
|
children: [
|
|
980
980
|
/* @__PURE__ */ jsxs("div", {
|
|
981
981
|
className: "flex flex-wrap items-start justify-between gap-3",
|
|
@@ -1448,7 +1448,7 @@ function ColumnEditor({ column, index, canRemove, onRename, onChange, onRemove }
|
|
|
1448
1448
|
const tr = useTr();
|
|
1449
1449
|
const kinds = column.type === "JSON" ? [...EVERYDAY_KINDS, "JSON"] : EVERYDAY_KINDS;
|
|
1450
1450
|
return /* @__PURE__ */ jsxs("div", {
|
|
1451
|
-
className: "space-y-2 rounded-md border border-border-
|
|
1451
|
+
className: "space-y-2 rounded-md border border-border-default p-3",
|
|
1452
1452
|
"data-testid": "column-editor",
|
|
1453
1453
|
children: [
|
|
1454
1454
|
/* @__PURE__ */ jsxs("div", {
|
|
@@ -1483,7 +1483,7 @@ function ColumnEditor({ column, index, canRemove, onRename, onChange, onRemove }
|
|
|
1483
1483
|
}),
|
|
1484
1484
|
/* @__PURE__ */ jsx("button", {
|
|
1485
1485
|
type: "button",
|
|
1486
|
-
className: "justify-self-end rounded p-2 text-text-secondary hover:bg-
|
|
1486
|
+
className: "justify-self-end rounded p-2 text-text-secondary hover:bg-surface-sunken hover:text-text-primary disabled:opacity-40",
|
|
1487
1487
|
onClick: () => onRemove(column.uid),
|
|
1488
1488
|
disabled: !canRemove,
|
|
1489
1489
|
title: tr("fluidgrids.dataTables.removeColumn", "Remove column"),
|
|
@@ -1685,7 +1685,7 @@ function TableFormDialog({ open, table, onOpenChange, onSaved }) {
|
|
|
1685
1685
|
}), /* @__PURE__ */ jsx("div", {
|
|
1686
1686
|
className: "space-y-2",
|
|
1687
1687
|
children: columns.map((column, index) => /* @__PURE__ */ jsxs("div", {
|
|
1688
|
-
className: "grid gap-2 rounded-md border border-border-
|
|
1688
|
+
className: "grid gap-2 rounded-md border border-border-default p-3 sm:grid-cols-[1fr_1fr_8rem_auto] sm:items-end",
|
|
1689
1689
|
children: [
|
|
1690
1690
|
/* @__PURE__ */ jsxs("div", {
|
|
1691
1691
|
className: "space-y-1",
|
|
@@ -1736,7 +1736,7 @@ function TableFormDialog({ open, table, onOpenChange, onSaved }) {
|
|
|
1736
1736
|
}), tr("fluidgrids.dataTables.required", "Required")]
|
|
1737
1737
|
}), /* @__PURE__ */ jsx("button", {
|
|
1738
1738
|
type: "button",
|
|
1739
|
-
className: "rounded p-1 text-text-secondary hover:bg-
|
|
1739
|
+
className: "rounded p-1 text-text-secondary hover:bg-surface-sunken hover:text-text-primary disabled:opacity-40",
|
|
1740
1740
|
onClick: () => setColumns((current) => current.filter((_, columnIndex) => columnIndex !== index)),
|
|
1741
1741
|
disabled: columns.length === 1,
|
|
1742
1742
|
title: tr("fluidgrids.dataTables.removeColumn", "Remove column"),
|
|
@@ -2062,7 +2062,7 @@ function TableRowsPanel({ table, onTableChanged, onEditTable, onDeleteTable, del
|
|
|
2062
2062
|
setRowDialogOpen(true);
|
|
2063
2063
|
}, []);
|
|
2064
2064
|
return /* @__PURE__ */ jsxs(Card, {
|
|
2065
|
-
className: "min-w-0 border-border-
|
|
2065
|
+
className: "min-w-0 border-border-default",
|
|
2066
2066
|
children: [
|
|
2067
2067
|
v2 && /* @__PURE__ */ jsx("input", {
|
|
2068
2068
|
ref: fileInputRef,
|
|
@@ -2100,7 +2100,7 @@ function TableRowsPanel({ table, onTableChanged, onEditTable, onDeleteTable, del
|
|
|
2100
2100
|
onDeleteSelected: handleDeleteRows,
|
|
2101
2101
|
onTagsChanged
|
|
2102
2102
|
}) : /* @__PURE__ */ jsxs(CardHeader, {
|
|
2103
|
-
className: "gap-4 border-b border-border-
|
|
2103
|
+
className: "gap-4 border-b border-border-default p-4 sm:p-5",
|
|
2104
2104
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
2105
2105
|
className: "flex flex-wrap items-start justify-between gap-3",
|
|
2106
2106
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
@@ -2262,7 +2262,7 @@ function TableRowsPanel({ table, onTableChanged, onEditTable, onDeleteTable, del
|
|
|
2262
2262
|
className: "p-0",
|
|
2263
2263
|
children: [
|
|
2264
2264
|
error && /* @__PURE__ */ jsx("div", {
|
|
2265
|
-
className: "m-4 rounded-md border border-border-
|
|
2265
|
+
className: "m-4 rounded-md border border-border-default bg-surface p-3 text-sm text-text-secondary",
|
|
2266
2266
|
children: v2 ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("p", { children: tr("fluidgrids.dataTables.rowsLoadFailed", "We couldn't load the rows. Try again in a moment.") }), /* @__PURE__ */ jsx(TechnicalDetails, {
|
|
2267
2267
|
className: "mt-2",
|
|
2268
2268
|
children: /* @__PURE__ */ jsx("code", {
|
|
@@ -2392,7 +2392,7 @@ function TableRowsPanel({ table, onTableChanged, onEditTable, onDeleteTable, del
|
|
|
2392
2392
|
] })] })
|
|
2393
2393
|
}),
|
|
2394
2394
|
total > 0 && /* @__PURE__ */ jsxs("div", {
|
|
2395
|
-
className: "flex flex-wrap items-center justify-between gap-3 border-t border-border-
|
|
2395
|
+
className: "flex flex-wrap items-center justify-between gap-3 border-t border-border-default px-4 py-3 text-xs text-text-secondary",
|
|
2396
2396
|
children: [/* @__PURE__ */ jsx("span", {
|
|
2397
2397
|
"aria-live": "polite",
|
|
2398
2398
|
children: tr("fluidgrids.dataTables.showingRange", `Showing ${range.from}–${range.to} of ${total}`)
|
|
@@ -2568,7 +2568,7 @@ function DataTablesPage() {
|
|
|
2568
2568
|
setSearch(searchInput);
|
|
2569
2569
|
}, [searchInput]);
|
|
2570
2570
|
return /* @__PURE__ */ jsxs("div", {
|
|
2571
|
-
className: "min-h-screen bg-
|
|
2571
|
+
className: "min-h-screen bg-surface-canvas p-4 pb-24 sm:p-6 sm:pb-24",
|
|
2572
2572
|
children: [
|
|
2573
2573
|
/* @__PURE__ */ jsxs("div", {
|
|
2574
2574
|
className: "mx-auto flex max-w-[1500px] flex-col gap-5",
|
|
@@ -2667,10 +2667,10 @@ function DataTablesPage() {
|
|
|
2667
2667
|
className: "grid gap-5 xl:grid-cols-[minmax(16rem,22rem)_minmax(0,1fr)]",
|
|
2668
2668
|
children: [
|
|
2669
2669
|
/* @__PURE__ */ jsxs(Card, {
|
|
2670
|
-
className: "h-fit border-border-
|
|
2670
|
+
className: "h-fit border-border-default",
|
|
2671
2671
|
"data-tour": "fluidgrids-data-tables-list",
|
|
2672
2672
|
children: [/* @__PURE__ */ jsxs(CardHeader, {
|
|
2673
|
-
className: "gap-3 border-b border-border-
|
|
2673
|
+
className: "gap-3 border-b border-border-default p-4",
|
|
2674
2674
|
children: [
|
|
2675
2675
|
/* @__PURE__ */ jsxs("div", {
|
|
2676
2676
|
className: "flex items-center justify-between gap-2",
|
|
@@ -2755,7 +2755,7 @@ function DataTablesPage() {
|
|
|
2755
2755
|
!loading && tables.map((table) => /* @__PURE__ */ jsxs("button", {
|
|
2756
2756
|
type: "button",
|
|
2757
2757
|
onClick: () => setSelectedId(table.id),
|
|
2758
|
-
className: `mb-1 flex w-full items-start justify-between gap-3 rounded-md px-3 py-3 text-left transition-colors ${selectedId === table.id ? "bg-
|
|
2758
|
+
className: `mb-1 flex w-full items-start justify-between gap-3 rounded-md px-3 py-3 text-left transition-colors ${selectedId === table.id ? "bg-surface-sunken text-text-primary" : "text-text-secondary hover:bg-surface-sunken hover:text-text-primary"}`,
|
|
2759
2759
|
children: [/* @__PURE__ */ jsxs("span", {
|
|
2760
2760
|
className: "min-w-0",
|
|
2761
2761
|
children: [
|
|
@@ -2795,7 +2795,7 @@ function DataTablesPage() {
|
|
|
2795
2795
|
})]
|
|
2796
2796
|
}),
|
|
2797
2797
|
error && !selectedTable && /* @__PURE__ */ jsx(Card, {
|
|
2798
|
-
className: "border-border-
|
|
2798
|
+
className: "border-border-default",
|
|
2799
2799
|
children: /* @__PURE__ */ jsxs(CardContent, {
|
|
2800
2800
|
className: "p-6 text-sm text-text-secondary",
|
|
2801
2801
|
children: [v2 ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("p", { children: tr("fluidgrids.dataTables.loadFailed", "We couldn't load your tables. Try again in a moment.") }), /* @__PURE__ */ jsx(TechnicalDetails, {
|
|
@@ -2816,7 +2816,7 @@ function DataTablesPage() {
|
|
|
2816
2816
|
})
|
|
2817
2817
|
}),
|
|
2818
2818
|
!error && !selectedTable && !loading && !(v2 && tables.length === 0 && tagFilter === "") && /* @__PURE__ */ jsx(Card, {
|
|
2819
|
-
className: "border-border-
|
|
2819
|
+
className: "border-border-default",
|
|
2820
2820
|
children: /* @__PURE__ */ jsxs(CardContent, {
|
|
2821
2821
|
className: "flex min-h-[22rem] flex-col items-center justify-center p-6 text-center",
|
|
2822
2822
|
children: [
|
|
@@ -13,8 +13,11 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
13
13
|
* The content is rendered only while open (closed inputs are not focusable).
|
|
14
14
|
* Whatever the content edits lives in the Runs store, so closing never loses a
|
|
15
15
|
* value, and callers open it from the start when a value inside is set.
|
|
16
|
+
* Content that keeps unsaved state of its own (a half-built condition, a value
|
|
17
|
+
* still being typed) goes in `keptContent` instead: it stays mounted, hidden,
|
|
18
|
+
* while the disclosure is closed.
|
|
16
19
|
*/
|
|
17
|
-
function Disclosure({ closedLabel, openLabel, children, defaultOpen = false, className, "data-testid": testId }) {
|
|
20
|
+
function Disclosure({ closedLabel, openLabel, children, keptContent, defaultOpen = false, className, "data-testid": testId }) {
|
|
18
21
|
const [open, setOpen] = useState(defaultOpen);
|
|
19
22
|
const panelId = useId();
|
|
20
23
|
return /* @__PURE__ */ jsxs("div", {
|
|
@@ -30,10 +33,11 @@ function Disclosure({ closedLabel, openLabel, children, defaultOpen = false, cla
|
|
|
30
33
|
icon: open ? "mdi:chevron-down" : "mdi:chevron-right",
|
|
31
34
|
width: 16
|
|
32
35
|
}), open ? openLabel : closedLabel]
|
|
33
|
-
}), open && /* @__PURE__ */
|
|
36
|
+
}), (open || keptContent !== void 0) && /* @__PURE__ */ jsxs("div", {
|
|
34
37
|
id: panelId,
|
|
35
38
|
className: "mt-2",
|
|
36
|
-
|
|
39
|
+
hidden: !open,
|
|
40
|
+
children: [open && children, keptContent]
|
|
37
41
|
})]
|
|
38
42
|
});
|
|
39
43
|
}
|