@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
|
@@ -8,14 +8,14 @@ import { i as isAutonomyLevel, o as useAutonomyLevelCopy, t as AUTONOMY_LEVELS }
|
|
|
8
8
|
import { n as getFluidGridsClient } from "./client-Ctl4jmY3.js";
|
|
9
9
|
import { o as throwIfResultError, t as describeOperationError } from "./errors-xPZ-IbQd.js";
|
|
10
10
|
import { d as useFluidGridsFlag, m as usePhaseCFlags, t as FLUIDGRIDS_FLAGS, u as useDurableParityEnabled } from "./feature-flags-B_b8PJ6Z.js";
|
|
11
|
-
import { M as saveCodecServerSettings, _ as fetchPauseRules, a as createPauseRule, c as deletePauseRule, f as fetchArchiveSettings, g as fetchCodecServerSettings, j as saveArchiveSettings, l as deleteSearchAttribute, o as createSearchAttribute, r as clearArchiveSettings, x as fetchSearchAttributes } from "./api-
|
|
12
|
-
import { i as NativeSelect, o as StatusPill, t as FieldError, u as useResource } from "./shared-
|
|
11
|
+
import { M as saveCodecServerSettings, _ as fetchPauseRules, a as createPauseRule, c as deletePauseRule, f as fetchArchiveSettings, g as fetchCodecServerSettings, j as saveArchiveSettings, l as deleteSearchAttribute, o as createSearchAttribute, r as clearArchiveSettings, x as fetchSearchAttributes } from "./api-CEnNq15C.js";
|
|
12
|
+
import { i as NativeSelect, o as StatusPill, t as FieldError, u as useResource } from "./shared-C0LCTtyh.js";
|
|
13
13
|
import { OI as WorkflowSearchAttributeType } from "./graphql-types-C5Tr6508.js";
|
|
14
14
|
import { M as useFlowStore } from "./node-operation-selection-Czeeb2D4.js";
|
|
15
|
-
import { Ut as findSaveConflict, yt as useSaveStatusStore } from "./FluidGridsProvider-
|
|
16
|
-
import { a as useLogStreamDestinations, i as useLogStreamDestinationActions } from "./useObservability-
|
|
15
|
+
import { Ut as findSaveConflict, yt as useSaveStatusStore } from "./FluidGridsProvider-gB2POEu6.js";
|
|
16
|
+
import { a as useLogStreamDestinations, i as useLogStreamDestinationActions } from "./useObservability-Cps9Y9a3.js";
|
|
17
17
|
import { n as useConnections } from "./useConnections-BlB0gbOB.js";
|
|
18
|
-
import { Nt as useUpdateWorkflowDefinitionMutation, Rt as useWorkflowDefinitionQuery, Vt as useWorkflowDefinitionsQuery, n as useAgentDefinitions } from "./useAgentDefinitions-
|
|
18
|
+
import { Nt as useUpdateWorkflowDefinitionMutation, Rt as useWorkflowDefinitionQuery, Vt as useWorkflowDefinitionsQuery, n as useAgentDefinitions } from "./useAgentDefinitions-DoMEv0kS.js";
|
|
19
19
|
import { a as formToInput$2, i as emptyAgentForm, n as agentToForm, o as grantDays, r as describeRule, t as AgentFormError } from "./agent-form-D0uLvzx4.js";
|
|
20
20
|
import { r as getFluidGridsConfig } from "./config-X97zrIvn.js";
|
|
21
21
|
import { n as getGlobalStoreClient } from "./global-client-DP_Wxe5t.js";
|
|
@@ -994,7 +994,7 @@ function needsAllowFallback(draft, others) {
|
|
|
994
994
|
* approve or decline actions a REQUIRE_APPROVAL policy is holding. The server enforces every
|
|
995
995
|
* rule; changing a policy or deciding an approval needs workflow publish rights.
|
|
996
996
|
*/
|
|
997
|
-
const FIELD$1 = "rounded-md border border-border-
|
|
997
|
+
const FIELD$1 = "rounded-md border border-border-default bg-surface px-2 py-1.5 text-sm text-text-primary";
|
|
998
998
|
function errorMessage$2(err) {
|
|
999
999
|
if (err instanceof PolicyFormError) return err.message;
|
|
1000
1000
|
return describeOperationError(err);
|
|
@@ -1002,7 +1002,7 @@ function errorMessage$2(err) {
|
|
|
1002
1002
|
function DryRunSummary({ result }) {
|
|
1003
1003
|
const tr = useTr();
|
|
1004
1004
|
return /* @__PURE__ */ jsxs("div", {
|
|
1005
|
-
className: "rounded-md border border-border-
|
|
1005
|
+
className: "rounded-md border border-border-default bg-surface p-3 space-y-3",
|
|
1006
1006
|
"data-testid": "action-policy-dry-run",
|
|
1007
1007
|
children: [/* @__PURE__ */ jsx("p", {
|
|
1008
1008
|
className: "text-sm text-text-primary",
|
|
@@ -1043,19 +1043,19 @@ function DryRunSummary({ result }) {
|
|
|
1043
1043
|
})
|
|
1044
1044
|
]
|
|
1045
1045
|
}) }), /* @__PURE__ */ jsx("tbody", { children: result.rows.map((row) => /* @__PURE__ */ jsxs("tr", {
|
|
1046
|
-
className: "border-t border-border-
|
|
1046
|
+
className: "border-t border-border-default text-text-primary",
|
|
1047
1047
|
children: [
|
|
1048
1048
|
/* @__PURE__ */ jsxs("td", {
|
|
1049
1049
|
className: "py-1 pr-2",
|
|
1050
1050
|
children: [/* @__PURE__ */ jsx("div", { children: row.workflowKey }), /* @__PURE__ */ jsx("div", {
|
|
1051
|
-
className: "text-text-
|
|
1051
|
+
className: "text-text-muted",
|
|
1052
1052
|
children: new Date(row.runCreatedAt).toLocaleString()
|
|
1053
1053
|
})]
|
|
1054
1054
|
}),
|
|
1055
1055
|
/* @__PURE__ */ jsxs("td", {
|
|
1056
1056
|
className: "py-1 pr-2",
|
|
1057
1057
|
children: [/* @__PURE__ */ jsx("div", { children: row.nodeId }), /* @__PURE__ */ jsxs("div", {
|
|
1058
|
-
className: "font-mono text-text-
|
|
1058
|
+
className: "font-mono text-text-muted",
|
|
1059
1059
|
children: [row.nodeType, row.operation ? ` · ${row.operation}` : ""]
|
|
1060
1060
|
})]
|
|
1061
1061
|
}),
|
|
@@ -1070,7 +1070,7 @@ function DryRunSummary({ result }) {
|
|
|
1070
1070
|
/* @__PURE__ */ jsxs("td", {
|
|
1071
1071
|
className: "py-1",
|
|
1072
1072
|
children: [/* @__PURE__ */ jsx(EffectBadge, { effect: row.effect }), row.policyName ? /* @__PURE__ */ jsx("div", {
|
|
1073
|
-
className: "text-text-
|
|
1073
|
+
className: "text-text-muted",
|
|
1074
1074
|
children: row.policyName
|
|
1075
1075
|
}) : null]
|
|
1076
1076
|
})
|
|
@@ -1122,7 +1122,7 @@ function PolicyEditor({ initial, conditionEditable, storedCondition, others, onC
|
|
|
1122
1122
|
} : row)
|
|
1123
1123
|
}));
|
|
1124
1124
|
return /* @__PURE__ */ jsxs("div", {
|
|
1125
|
-
className: "rounded-lg border border-border-
|
|
1125
|
+
className: "rounded-lg border border-border-default bg-surface-canvas p-4 space-y-4",
|
|
1126
1126
|
"data-testid": "action-policy-editor",
|
|
1127
1127
|
children: [
|
|
1128
1128
|
/* @__PURE__ */ jsxs("div", {
|
|
@@ -1263,7 +1263,7 @@ function PolicyEditor({ initial, conditionEditable, storedCondition, others, onC
|
|
|
1263
1263
|
}), environment]
|
|
1264
1264
|
}, environment)),
|
|
1265
1265
|
/* @__PURE__ */ jsx("span", {
|
|
1266
|
-
className: "text-xs text-text-
|
|
1266
|
+
className: "text-xs text-text-muted",
|
|
1267
1267
|
children: tr("fluidgrids.actionPolicies.environmentsHelp", "None checked applies in every environment. Test runs are DEV; triggered and API runs are PROD.")
|
|
1268
1268
|
})
|
|
1269
1269
|
]
|
|
@@ -1445,7 +1445,7 @@ function ApprovalsList({ approvals, onDecide }) {
|
|
|
1445
1445
|
]
|
|
1446
1446
|
}),
|
|
1447
1447
|
/* @__PURE__ */ jsxs("div", {
|
|
1448
|
-
className: "font-mono text-[10px] text-text-
|
|
1448
|
+
className: "font-mono text-[10px] text-text-muted",
|
|
1449
1449
|
children: [
|
|
1450
1450
|
tr("fluidgrids.actionPolicies.payload", "Payload"),
|
|
1451
1451
|
" ",
|
|
@@ -1568,7 +1568,7 @@ function ActionPoliciesTab() {
|
|
|
1568
1568
|
"data-testid": "action-policies-empty",
|
|
1569
1569
|
children: tr("fluidgrids.actionPolicies.empty", "No policies yet. Every action runs as its workflow says.")
|
|
1570
1570
|
}) : /* @__PURE__ */ jsx("ul", {
|
|
1571
|
-
className: "divide-y divide-border-
|
|
1571
|
+
className: "divide-y divide-border-default rounded-lg border border-border-default",
|
|
1572
1572
|
children: policies.map((policy) => /* @__PURE__ */ jsxs("li", {
|
|
1573
1573
|
className: "flex flex-col gap-2 p-3 sm:flex-row sm:items-center sm:justify-between",
|
|
1574
1574
|
"data-testid": "action-policy-row",
|
|
@@ -1589,7 +1589,7 @@ function ActionPoliciesTab() {
|
|
|
1589
1589
|
}),
|
|
1590
1590
|
!policy.enabled ? /* @__PURE__ */ jsx(Badge, {
|
|
1591
1591
|
variant: "outline",
|
|
1592
|
-
className: "text-xs text-text-
|
|
1592
|
+
className: "text-xs text-text-muted",
|
|
1593
1593
|
children: tr("fluidgrids.actionPolicies.disabled", "Disabled")
|
|
1594
1594
|
}) : null
|
|
1595
1595
|
]
|
|
@@ -1916,7 +1916,7 @@ function ManagedAiPolicyForm({ policy, loading, error, workspaceWideRequired, ca
|
|
|
1916
1916
|
}
|
|
1917
1917
|
};
|
|
1918
1918
|
return /* @__PURE__ */ jsxs("section", {
|
|
1919
|
-
className: "space-y-4 rounded-lg border border-border-default bg-
|
|
1919
|
+
className: "space-y-4 rounded-lg border border-border-default bg-surface p-5",
|
|
1920
1920
|
"aria-label": tr("fluidgrids.settings.managedAi.title", "Managed AI"),
|
|
1921
1921
|
children: [
|
|
1922
1922
|
/* @__PURE__ */ jsx("h2", {
|
|
@@ -2136,7 +2136,7 @@ function RunBudgetSettings({ budget, disabled, onChange }) {
|
|
|
2136
2136
|
disabled: disabled || !limit,
|
|
2137
2137
|
children: [/* @__PURE__ */ jsx(SelectTrigger, {
|
|
2138
2138
|
"aria-label": tr("fluidgrids.settings.execution.budget.modeLabelFor", "{{limit}}: when reached", { limit: label }),
|
|
2139
|
-
className: "w-[150px] bg-
|
|
2139
|
+
className: "w-[150px] bg-surface border-border-default",
|
|
2140
2140
|
children: /* @__PURE__ */ jsx(SelectValue, {})
|
|
2141
2141
|
}), /* @__PURE__ */ jsxs(SelectContent, { children: [/* @__PURE__ */ jsx(SelectItem, {
|
|
2142
2142
|
value: "HARD",
|
|
@@ -2224,7 +2224,7 @@ function AutonomyLevelSetting({ value, disabled, onChange }) {
|
|
|
2224
2224
|
"data-level": option.value ?? "none",
|
|
2225
2225
|
onClick: () => onChange(option.value),
|
|
2226
2226
|
onKeyDown: (event) => handleKeyDown(event, index),
|
|
2227
|
-
className: cn("flex items-start gap-3 rounded-lg border p-3 text-left transition-colors disabled:cursor-not-allowed disabled:opacity-60", selected ? "border-primary bg-primary/5" : "border-border-
|
|
2227
|
+
className: cn("flex items-start gap-3 rounded-lg border p-3 text-left transition-colors disabled:cursor-not-allowed disabled:opacity-60", selected ? "border-primary bg-primary/5" : "border-border-default hover:bg-surface-sunken"),
|
|
2228
2228
|
children: [/* @__PURE__ */ jsx(Icon, {
|
|
2229
2229
|
icon: selected ? "mdi:radiobox-marked" : "mdi:radiobox-blank",
|
|
2230
2230
|
width: 16,
|
|
@@ -2570,7 +2570,7 @@ function DurableHistoryCapsCard({ canEdit }) {
|
|
|
2570
2570
|
};
|
|
2571
2571
|
return /* @__PURE__ */ jsxs("section", {
|
|
2572
2572
|
"data-testid": "durable-history-caps",
|
|
2573
|
-
className: "mt-8 border-t border-border-
|
|
2573
|
+
className: "mt-8 border-t border-border-default pt-6",
|
|
2574
2574
|
children: [
|
|
2575
2575
|
/* @__PURE__ */ jsx("h3", {
|
|
2576
2576
|
className: "text-sm font-semibold text-text-primary",
|
|
@@ -2589,7 +2589,7 @@ function DurableHistoryCapsCard({ canEdit }) {
|
|
|
2589
2589
|
error
|
|
2590
2590
|
]
|
|
2591
2591
|
}) : /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs("div", {
|
|
2592
|
-
className: "divide-y divide-border-
|
|
2592
|
+
className: "divide-y divide-border-default",
|
|
2593
2593
|
children: [/* @__PURE__ */ jsx(SettingRow, {
|
|
2594
2594
|
label: tr("fluidgrids.settings.historyCaps.eventsLabel", "Events per run"),
|
|
2595
2595
|
description: tr("fluidgrids.settings.historyCaps.eventsDescription", "{{min}} to {{max}}; the run is told to continue as new at 80%.", {
|
|
@@ -2708,7 +2708,7 @@ function RunDataTab() {
|
|
|
2708
2708
|
"data-testid": "run-data-settings",
|
|
2709
2709
|
children: [
|
|
2710
2710
|
/* @__PURE__ */ jsxs("div", {
|
|
2711
|
-
className: "flex items-start gap-2 p-3 rounded-lg bg-
|
|
2711
|
+
className: "flex items-start gap-2 p-3 rounded-lg bg-surface border border-border-default mb-6",
|
|
2712
2712
|
children: [/* @__PURE__ */ jsx(Icon, {
|
|
2713
2713
|
icon: "mdi:database-clock-outline",
|
|
2714
2714
|
width: 18,
|
|
@@ -2724,7 +2724,7 @@ function RunDataTab() {
|
|
|
2724
2724
|
children: tr("fluidgrids.settings.runData.readOnly", "You can see these settings but not change them: changing them needs permission to delete workflows.")
|
|
2725
2725
|
}),
|
|
2726
2726
|
/* @__PURE__ */ jsxs("div", {
|
|
2727
|
-
className: "divide-y divide-border-
|
|
2727
|
+
className: "divide-y divide-border-default",
|
|
2728
2728
|
children: [
|
|
2729
2729
|
/* @__PURE__ */ jsx(SettingRow, {
|
|
2730
2730
|
label: tr("fluidgrids.settings.runData.saveSuccessfulLabel", "Keep data of successful runs"),
|
|
@@ -2991,7 +2991,7 @@ function WorkflowNotificationsTab({ workflowKey }) {
|
|
|
2991
2991
|
"data-testid": "workflow-notifications-settings",
|
|
2992
2992
|
children: [
|
|
2993
2993
|
/* @__PURE__ */ jsxs("div", {
|
|
2994
|
-
className: "mb-6 flex items-start gap-2 rounded-lg border border-border-
|
|
2994
|
+
className: "mb-6 flex items-start gap-2 rounded-lg border border-border-default bg-surface p-3",
|
|
2995
2995
|
children: [/* @__PURE__ */ jsx(Icon, {
|
|
2996
2996
|
icon: "mdi:bell-outline",
|
|
2997
2997
|
width: 18,
|
|
@@ -3014,7 +3014,7 @@ function WorkflowNotificationsTab({ workflowKey }) {
|
|
|
3014
3014
|
}), tr("fluidgrids.settings.workflowNotifications.eventsTitle", "Notify when")]
|
|
3015
3015
|
}),
|
|
3016
3016
|
/* @__PURE__ */ jsxs("div", {
|
|
3017
|
-
className: "mb-6 divide-y divide-border-
|
|
3017
|
+
className: "mb-6 divide-y divide-border-default",
|
|
3018
3018
|
children: [
|
|
3019
3019
|
/* @__PURE__ */ jsx(SettingRow, {
|
|
3020
3020
|
label: failureLabel,
|
|
@@ -3046,7 +3046,7 @@ function WorkflowNotificationsTab({ workflowKey }) {
|
|
|
3046
3046
|
}), tr("fluidgrids.settings.workflowNotifications.channelsTitle", "Channels")]
|
|
3047
3047
|
}),
|
|
3048
3048
|
/* @__PURE__ */ jsxs("div", {
|
|
3049
|
-
className: "mb-6 divide-y divide-border-
|
|
3049
|
+
className: "mb-6 divide-y divide-border-default",
|
|
3050
3050
|
children: [
|
|
3051
3051
|
/* @__PURE__ */ jsx(SettingRow, {
|
|
3052
3052
|
label: inAppLabel,
|
|
@@ -3139,7 +3139,7 @@ function RunControlTab({ flags }) {
|
|
|
3139
3139
|
}
|
|
3140
3140
|
function Card$1({ icon, title, description, children, testId }) {
|
|
3141
3141
|
return /* @__PURE__ */ jsxs("section", {
|
|
3142
|
-
className: "rounded-lg border border-border-
|
|
3142
|
+
className: "rounded-lg border border-border-default bg-surface p-4 sm:p-6",
|
|
3143
3143
|
"data-testid": testId,
|
|
3144
3144
|
children: [
|
|
3145
3145
|
/* @__PURE__ */ jsxs("div", {
|
|
@@ -3220,7 +3220,7 @@ function PauseRulesCard() {
|
|
|
3220
3220
|
children: tr("fluidgrids.settings.pauseRules.empty", "No pause rules.")
|
|
3221
3221
|
}),
|
|
3222
3222
|
rules.data && rules.data.length > 0 && /* @__PURE__ */ jsx("ul", {
|
|
3223
|
-
className: "mb-4 divide-y divide-border-
|
|
3223
|
+
className: "mb-4 divide-y divide-border-default rounded-md border border-border-default",
|
|
3224
3224
|
children: rules.data.map((rule) => /* @__PURE__ */ jsxs("li", {
|
|
3225
3225
|
className: "flex flex-wrap items-center gap-3 px-3 py-2 text-sm",
|
|
3226
3226
|
"data-testid": `pause-rule-${rule.id}`,
|
|
@@ -3390,7 +3390,7 @@ function SearchAttributeDefinitionsCard() {
|
|
|
3390
3390
|
children: [
|
|
3391
3391
|
/* @__PURE__ */ jsx(FieldError, { message: definitions.error }),
|
|
3392
3392
|
definitions.data && definitions.data.length > 0 && /* @__PURE__ */ jsx("ul", {
|
|
3393
|
-
className: "mb-4 divide-y divide-border-
|
|
3393
|
+
className: "mb-4 divide-y divide-border-default rounded-md border border-border-default",
|
|
3394
3394
|
children: definitions.data.map((definition) => /* @__PURE__ */ jsxs("li", {
|
|
3395
3395
|
className: "flex flex-wrap items-center gap-3 px-3 py-2 text-sm",
|
|
3396
3396
|
"data-testid": `search-attribute-${definition.name}`,
|
|
@@ -3891,14 +3891,14 @@ function LogStreamingTab() {
|
|
|
3891
3891
|
function LogStreamingDisabledNotice() {
|
|
3892
3892
|
const tr = useTr();
|
|
3893
3893
|
return /* @__PURE__ */ jsx(Card, {
|
|
3894
|
-
className: "bg-
|
|
3894
|
+
className: "bg-surface border-border-default",
|
|
3895
3895
|
"data-testid": "log-streaming-disabled",
|
|
3896
3896
|
children: /* @__PURE__ */ jsxs(CardContent, {
|
|
3897
3897
|
className: "flex items-start gap-3 p-6",
|
|
3898
3898
|
children: [/* @__PURE__ */ jsx(Icon, {
|
|
3899
3899
|
icon: "mdi:transit-connection-variant",
|
|
3900
3900
|
width: 20,
|
|
3901
|
-
className: "mt-0.5 shrink-0 text-text-
|
|
3901
|
+
className: "mt-0.5 shrink-0 text-text-muted",
|
|
3902
3902
|
"aria-hidden": "true"
|
|
3903
3903
|
}), /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("h2", {
|
|
3904
3904
|
className: "text-base font-semibold text-text-primary",
|
|
@@ -4019,7 +4019,7 @@ function LogStreamingSettings() {
|
|
|
4019
4019
|
})]
|
|
4020
4020
|
}),
|
|
4021
4021
|
showForm && /* @__PURE__ */ jsxs(Card, {
|
|
4022
|
-
className: "border-border-
|
|
4022
|
+
className: "border-border-default bg-surface",
|
|
4023
4023
|
children: [/* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsxs("div", {
|
|
4024
4024
|
className: "flex items-center justify-between gap-3",
|
|
4025
4025
|
children: [/* @__PURE__ */ jsx("h3", {
|
|
@@ -4066,7 +4066,7 @@ function LogStreamingSettings() {
|
|
|
4066
4066
|
provider: event.target.value,
|
|
4067
4067
|
endpoint: ""
|
|
4068
4068
|
})),
|
|
4069
|
-
className: "w-full rounded-md border border-border-
|
|
4069
|
+
className: "w-full rounded-md border border-border-default bg-surface-canvas px-3 py-2 text-sm text-text-primary",
|
|
4070
4070
|
children: PROVIDERS.map((provider) => /* @__PURE__ */ jsx("option", {
|
|
4071
4071
|
value: provider,
|
|
4072
4072
|
children: provider
|
|
@@ -4119,7 +4119,7 @@ function LogStreamingSettings() {
|
|
|
4119
4119
|
...current,
|
|
4120
4120
|
configText: event.target.value
|
|
4121
4121
|
})),
|
|
4122
|
-
className: "min-h-24 w-full rounded-md border border-border-
|
|
4122
|
+
className: "min-h-24 w-full rounded-md border border-border-default bg-surface-canvas px-3 py-2 font-mono text-xs text-text-primary",
|
|
4123
4123
|
spellCheck: false
|
|
4124
4124
|
})]
|
|
4125
4125
|
}),
|
|
@@ -4136,7 +4136,7 @@ function LogStreamingSettings() {
|
|
|
4136
4136
|
type: "checkbox",
|
|
4137
4137
|
checked: form.eventFilters.includes(event),
|
|
4138
4138
|
onChange: () => toggleEvent(event),
|
|
4139
|
-
className: "size-4 rounded border-border-
|
|
4139
|
+
className: "size-4 rounded border-border-default accent-action-primary-bg"
|
|
4140
4140
|
}), eventLabel(event)]
|
|
4141
4141
|
}, event))
|
|
4142
4142
|
})]
|
|
@@ -4150,7 +4150,7 @@ function LogStreamingSettings() {
|
|
|
4150
4150
|
...current,
|
|
4151
4151
|
isEnabled: event.target.checked
|
|
4152
4152
|
})),
|
|
4153
|
-
className: "size-4 rounded border-border-
|
|
4153
|
+
className: "size-4 rounded border-border-default accent-action-primary-bg"
|
|
4154
4154
|
}), tr("fluidgrids.settings.logStreaming.enabled", "Destination enabled")]
|
|
4155
4155
|
}),
|
|
4156
4156
|
/* @__PURE__ */ jsxs("div", {
|
|
@@ -4173,11 +4173,11 @@ function LogStreamingSettings() {
|
|
|
4173
4173
|
className: "space-y-3",
|
|
4174
4174
|
children: [
|
|
4175
4175
|
loading && destinations.length === 0 && /* @__PURE__ */ jsx("div", {
|
|
4176
|
-
className: "rounded-lg border border-border-
|
|
4176
|
+
className: "rounded-lg border border-border-default bg-surface p-6 text-sm text-text-secondary",
|
|
4177
4177
|
children: tr("fluidgrids.settings.logStreaming.loading", "Loading destinations…")
|
|
4178
4178
|
}),
|
|
4179
4179
|
!loading && destinations.length === 0 && /* @__PURE__ */ jsxs("div", {
|
|
4180
|
-
className: "rounded-lg border border-dashed border-border-
|
|
4180
|
+
className: "rounded-lg border border-dashed border-border-default bg-surface p-8 text-center",
|
|
4181
4181
|
children: [
|
|
4182
4182
|
/* @__PURE__ */ jsx(Icon, {
|
|
4183
4183
|
icon: "mdi:transit-connection-variant",
|
|
@@ -4195,7 +4195,7 @@ function LogStreamingSettings() {
|
|
|
4195
4195
|
]
|
|
4196
4196
|
}),
|
|
4197
4197
|
destinations.map((destination) => /* @__PURE__ */ jsx(Card, {
|
|
4198
|
-
className: "border-border-
|
|
4198
|
+
className: "border-border-default bg-surface",
|
|
4199
4199
|
children: /* @__PURE__ */ jsxs(CardContent, {
|
|
4200
4200
|
className: "flex flex-col gap-4 p-4 sm:flex-row sm:items-center sm:justify-between",
|
|
4201
4201
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
@@ -4209,7 +4209,7 @@ function LogStreamingSettings() {
|
|
|
4209
4209
|
children: destination.name
|
|
4210
4210
|
}),
|
|
4211
4211
|
/* @__PURE__ */ jsx("span", {
|
|
4212
|
-
className: "rounded-full bg-
|
|
4212
|
+
className: "rounded-full bg-surface-sunken px-2 py-0.5 text-xs text-text-secondary",
|
|
4213
4213
|
children: destination.provider
|
|
4214
4214
|
}),
|
|
4215
4215
|
/* @__PURE__ */ jsx("span", {
|
|
@@ -4321,7 +4321,7 @@ function AgentEditor({ initial, onCancel, onSave }) {
|
|
|
4321
4321
|
}
|
|
4322
4322
|
};
|
|
4323
4323
|
return /* @__PURE__ */ jsxs("div", {
|
|
4324
|
-
className: "rounded-lg border border-border-
|
|
4324
|
+
className: "rounded-lg border border-border-default bg-surface-canvas p-4 space-y-4",
|
|
4325
4325
|
"data-testid": "agent-definition-editor",
|
|
4326
4326
|
children: [
|
|
4327
4327
|
/* @__PURE__ */ jsxs("div", {
|
|
@@ -4447,7 +4447,7 @@ function AgentEditor({ initial, onCancel, onSave }) {
|
|
|
4447
4447
|
}),
|
|
4448
4448
|
/* @__PURE__ */ jsx("span", { children: connection.name }),
|
|
4449
4449
|
/* @__PURE__ */ jsx("span", {
|
|
4450
|
-
className: "text-xs text-text-
|
|
4450
|
+
className: "text-xs text-text-muted",
|
|
4451
4451
|
children: connection.provider?.name ?? connection.providerId
|
|
4452
4452
|
})
|
|
4453
4453
|
]
|
|
@@ -4642,7 +4642,7 @@ function AgentsTab() {
|
|
|
4642
4642
|
}) : /* @__PURE__ */ jsx("ul", {
|
|
4643
4643
|
className: "space-y-3",
|
|
4644
4644
|
children: agents.map((agent) => /* @__PURE__ */ jsxs("li", {
|
|
4645
|
-
className: "rounded-lg border border-border-
|
|
4645
|
+
className: "rounded-lg border border-border-default bg-surface p-3 space-y-2",
|
|
4646
4646
|
"data-testid": `agent-definition-${agent.id}`,
|
|
4647
4647
|
children: [
|
|
4648
4648
|
/* @__PURE__ */ jsxs("div", {
|
|
@@ -4694,7 +4694,7 @@ function AgentsTab() {
|
|
|
4694
4694
|
children: agent.toolAllowlist.length > 0 ? agent.toolAllowlist.map(describeRule).join(" · ") : tr("fluidgrids.agents.noTools", "No tools allowed")
|
|
4695
4695
|
}),
|
|
4696
4696
|
/* @__PURE__ */ jsx("div", {
|
|
4697
|
-
className: "text-xs text-text-
|
|
4697
|
+
className: "text-xs text-text-muted",
|
|
4698
4698
|
children: tr("fluidgrids.agents.connectionCount", "{{count}} connections in scope", { count: agent.connectionScope.length })
|
|
4699
4699
|
}),
|
|
4700
4700
|
/* @__PURE__ */ jsx(AgentGrants, {
|
|
@@ -5201,13 +5201,13 @@ function useMcpTokens() {
|
|
|
5201
5201
|
* the call log, where calls held by a REQUIRE_APPROVAL action policy are approved or declined.
|
|
5202
5202
|
* Every call an external agent makes passes the workspace's action policies and is recorded.
|
|
5203
5203
|
*/
|
|
5204
|
-
const FIELD = "rounded-md border border-border-
|
|
5205
|
-
const CARD = "rounded-lg border border-border-
|
|
5204
|
+
const FIELD = "rounded-md border border-border-default bg-surface px-2 py-1.5 text-sm text-text-primary";
|
|
5205
|
+
const CARD = "rounded-lg border border-border-default bg-surface-canvas p-4 space-y-3";
|
|
5206
5206
|
const TONE_CLASSES = {
|
|
5207
5207
|
success: "bg-status-success-bg-subtle text-status-success-text border-status-success-border",
|
|
5208
5208
|
warning: "bg-status-warning-bg-subtle text-status-warning-text border-status-warning-border",
|
|
5209
5209
|
danger: "bg-status-error-bg-subtle text-status-error-text border-status-error-border",
|
|
5210
|
-
neutral: "bg-
|
|
5210
|
+
neutral: "bg-surface text-text-secondary border-border-default"
|
|
5211
5211
|
};
|
|
5212
5212
|
function errorMessage(err) {
|
|
5213
5213
|
return err instanceof McpFormError ? err.message : describeOperationError(err);
|
|
@@ -5273,7 +5273,7 @@ function ConnectorToolForm({ onSave }) {
|
|
|
5273
5273
|
}
|
|
5274
5274
|
};
|
|
5275
5275
|
return /* @__PURE__ */ jsxs("div", {
|
|
5276
|
-
className: "space-y-2 border-t border-border-
|
|
5276
|
+
className: "space-y-2 border-t border-border-default pt-3",
|
|
5277
5277
|
"data-testid": "mcp-connector-form",
|
|
5278
5278
|
children: [
|
|
5279
5279
|
/* @__PURE__ */ jsx("p", {
|
|
@@ -5508,7 +5508,7 @@ function TokenSection({ toolNames, versions }) {
|
|
|
5508
5508
|
children: tr("fluidgrids.mcp.tokens.create", "Create token")
|
|
5509
5509
|
}),
|
|
5510
5510
|
/* @__PURE__ */ jsxs("ul", {
|
|
5511
|
-
className: "divide-y divide-border-
|
|
5511
|
+
className: "divide-y divide-border-default",
|
|
5512
5512
|
children: [tokens.keys.map((key) => /* @__PURE__ */ jsxs("li", {
|
|
5513
5513
|
className: "flex flex-wrap items-center justify-between gap-2 py-2",
|
|
5514
5514
|
children: [/* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsxs("p", {
|
|
@@ -5545,7 +5545,7 @@ function TokenSection({ toolNames, versions }) {
|
|
|
5545
5545
|
function CallRow({ call, onDecide }) {
|
|
5546
5546
|
const tr = useTr();
|
|
5547
5547
|
return /* @__PURE__ */ jsxs("tr", {
|
|
5548
|
-
className: "border-t border-border-
|
|
5548
|
+
className: "border-t border-border-default align-top",
|
|
5549
5549
|
"data-testid": "mcp-call-row",
|
|
5550
5550
|
children: [
|
|
5551
5551
|
/* @__PURE__ */ jsx("td", {
|
|
@@ -5757,7 +5757,7 @@ function McpGatewayTab({ workflowKey }) {
|
|
|
5757
5757
|
className: "flex flex-wrap items-center gap-2",
|
|
5758
5758
|
children: [
|
|
5759
5759
|
/* @__PURE__ */ jsxs("code", {
|
|
5760
|
-
className: "rounded bg-
|
|
5760
|
+
className: "rounded bg-surface px-2 py-1 text-xs text-text-primary break-all",
|
|
5761
5761
|
"data-testid": "mcp-endpoint-url",
|
|
5762
5762
|
children: ["POST ", url]
|
|
5763
5763
|
}),
|
|
@@ -5777,7 +5777,7 @@ function McpGatewayTab({ workflowKey }) {
|
|
|
5777
5777
|
]
|
|
5778
5778
|
}),
|
|
5779
5779
|
workflowKey && /* @__PURE__ */ jsxs("div", {
|
|
5780
|
-
className: "flex items-center gap-2 border-t border-border-
|
|
5780
|
+
className: "flex items-center gap-2 border-t border-border-default pt-3",
|
|
5781
5781
|
children: [/* @__PURE__ */ jsx(Switch, {
|
|
5782
5782
|
id: "mcp-this-workflow",
|
|
5783
5783
|
checked: thisWorkflowTool?.enabled ?? false,
|
|
@@ -5806,7 +5806,7 @@ function McpGatewayTab({ workflowKey }) {
|
|
|
5806
5806
|
children: tr("fluidgrids.mcp.tools.help", "A workflow tool runs the workflow's active version; its arguments are the fields its \"When Executed by Another Workflow\" trigger declares. Changes reach clients when you publish.")
|
|
5807
5807
|
}),
|
|
5808
5808
|
/* @__PURE__ */ jsxs("ul", {
|
|
5809
|
-
className: "divide-y divide-border-
|
|
5809
|
+
className: "divide-y divide-border-default",
|
|
5810
5810
|
"data-testid": "mcp-tools",
|
|
5811
5811
|
children: [mcp.tools.map((tool) => /* @__PURE__ */ jsxs("li", {
|
|
5812
5812
|
className: "flex flex-wrap items-center justify-between gap-2 py-2",
|
|
@@ -5875,7 +5875,7 @@ function McpGatewayTab({ workflowKey }) {
|
|
|
5875
5875
|
})]
|
|
5876
5876
|
}),
|
|
5877
5877
|
/* @__PURE__ */ jsx("ul", {
|
|
5878
|
-
className: "divide-y divide-border-
|
|
5878
|
+
className: "divide-y divide-border-default",
|
|
5879
5879
|
"data-testid": "mcp-versions",
|
|
5880
5880
|
children: mcp.toolSets.map((set) => /* @__PURE__ */ jsxs("li", {
|
|
5881
5881
|
className: "flex flex-wrap items-center justify-between gap-2 py-2",
|
|
@@ -6035,7 +6035,7 @@ function CopyButton({ value, label }) {
|
|
|
6035
6035
|
asChild: true,
|
|
6036
6036
|
children: /* @__PURE__ */ jsx("button", {
|
|
6037
6037
|
onClick: handleCopy,
|
|
6038
|
-
className: "p-1.5 rounded hover:bg-
|
|
6038
|
+
className: "p-1.5 rounded hover:bg-surface-sunken text-text-secondary hover:text-text-primary transition-colors",
|
|
6039
6039
|
children: /* @__PURE__ */ jsx(Icon, {
|
|
6040
6040
|
icon: "mdi:content-copy",
|
|
6041
6041
|
width: 16
|
|
@@ -6053,7 +6053,7 @@ function GeneralTab() {
|
|
|
6053
6053
|
const autosaveEnabled = useSaveStatusStore((s) => s.autosaveEnabled);
|
|
6054
6054
|
const setAutosaveEnabled = useSaveStatusStore((s) => s.actions.setAutosaveEnabled);
|
|
6055
6055
|
return /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx(ReadOnlyBanner, {}), /* @__PURE__ */ jsxs("div", {
|
|
6056
|
-
className: "divide-y divide-border-
|
|
6056
|
+
className: "divide-y divide-border-default",
|
|
6057
6057
|
children: [
|
|
6058
6058
|
/* @__PURE__ */ jsx(SettingRow, {
|
|
6059
6059
|
label: tr("fluidgrids.settings.general.workspaceNameLabel", "Workspace Name"),
|
|
@@ -6061,7 +6061,7 @@ function GeneralTab() {
|
|
|
6061
6061
|
children: /* @__PURE__ */ jsx(Input, {
|
|
6062
6062
|
value: settings.workspaceName,
|
|
6063
6063
|
readOnly: true,
|
|
6064
|
-
className: "w-[250px] bg-
|
|
6064
|
+
className: "w-[250px] bg-surface border-border-default text-text-primary cursor-default"
|
|
6065
6065
|
})
|
|
6066
6066
|
}),
|
|
6067
6067
|
/* @__PURE__ */ jsx(SettingRow, {
|
|
@@ -6070,7 +6070,7 @@ function GeneralTab() {
|
|
|
6070
6070
|
children: /* @__PURE__ */ jsx(Input, {
|
|
6071
6071
|
value: settings.defaultWorkflowPrefix,
|
|
6072
6072
|
readOnly: true,
|
|
6073
|
-
className: "w-[120px] bg-
|
|
6073
|
+
className: "w-[120px] bg-surface border-border-default text-text-primary cursor-default"
|
|
6074
6074
|
})
|
|
6075
6075
|
}),
|
|
6076
6076
|
/* @__PURE__ */ jsx(SettingRow, {
|
|
@@ -6176,7 +6176,7 @@ function ExecutionTab({ workflowKey }) {
|
|
|
6176
6176
|
children: tr("fluidgrids.settings.execution.noWorkflowContextBanner", "No workflow selected — open Settings from a specific workflow to edit its execution settings.")
|
|
6177
6177
|
})]
|
|
6178
6178
|
}), /* @__PURE__ */ jsx("div", {
|
|
6179
|
-
className: "divide-y divide-border-
|
|
6179
|
+
className: "divide-y divide-border-default",
|
|
6180
6180
|
children: /* @__PURE__ */ jsx(SettingRow, {
|
|
6181
6181
|
label: tr("fluidgrids.settings.execution.defaultTimeoutLabel", "Default Timeout"),
|
|
6182
6182
|
description: tr("fluidgrids.settings.execution.noWorkflowContextDescription", "Open this page from a specific workflow to edit its execution settings."),
|
|
@@ -6185,7 +6185,7 @@ function ExecutionTab({ workflowKey }) {
|
|
|
6185
6185
|
children: [/* @__PURE__ */ jsx(Input, {
|
|
6186
6186
|
value: settings.defaultTimeoutSeconds,
|
|
6187
6187
|
readOnly: true,
|
|
6188
|
-
className: "w-[100px] bg-
|
|
6188
|
+
className: "w-[100px] bg-surface border-border-default text-text-primary text-right cursor-default"
|
|
6189
6189
|
}), /* @__PURE__ */ jsx("span", {
|
|
6190
6190
|
className: "text-xs text-text-secondary",
|
|
6191
6191
|
children: tr("fluidgrids.settings.execution.defaultTimeoutUnit", "seconds")
|
|
@@ -6196,7 +6196,7 @@ function ExecutionTab({ workflowKey }) {
|
|
|
6196
6196
|
}
|
|
6197
6197
|
return /* @__PURE__ */ jsxs("div", { children: [
|
|
6198
6198
|
/* @__PURE__ */ jsxs("div", {
|
|
6199
|
-
className: "divide-y divide-border-
|
|
6199
|
+
className: "divide-y divide-border-default",
|
|
6200
6200
|
children: [
|
|
6201
6201
|
/* @__PURE__ */ jsx(SettingRow, {
|
|
6202
6202
|
label: tr("fluidgrids.settings.execution.defaultTimeoutLabel", "Timeout"),
|
|
@@ -6274,7 +6274,7 @@ function ExecutionTab({ workflowKey }) {
|
|
|
6274
6274
|
onError: e.target.value
|
|
6275
6275
|
})),
|
|
6276
6276
|
disabled: locked,
|
|
6277
|
-
className: "w-[160px] rounded-md border border-border-
|
|
6277
|
+
className: "w-[160px] rounded-md border border-border-default bg-surface px-2 py-1.5 text-sm text-text-primary",
|
|
6278
6278
|
children: [
|
|
6279
6279
|
/* @__PURE__ */ jsx("option", {
|
|
6280
6280
|
value: "stop",
|
|
@@ -6304,7 +6304,7 @@ function ExecutionTab({ workflowKey }) {
|
|
|
6304
6304
|
})),
|
|
6305
6305
|
disabled: locked || otherWorkflowsLoading,
|
|
6306
6306
|
children: [/* @__PURE__ */ jsx(SelectTrigger, {
|
|
6307
|
-
className: "w-[220px] bg-
|
|
6307
|
+
className: "w-[220px] bg-surface border-border-default",
|
|
6308
6308
|
children: /* @__PURE__ */ jsx(SelectValue, { placeholder: tr("fluidgrids.settings.execution.errorWorkflowPlaceholder", "None") })
|
|
6309
6309
|
}), /* @__PURE__ */ jsxs(SelectContent, { children: [/* @__PURE__ */ jsx(SelectItem, {
|
|
6310
6310
|
value: "__none__",
|
|
@@ -6355,7 +6355,7 @@ function ExecutionTab({ workflowKey }) {
|
|
|
6355
6355
|
disabled: locked,
|
|
6356
6356
|
children: [/* @__PURE__ */ jsx(SelectTrigger, {
|
|
6357
6357
|
"aria-label": tr(row.labelKey, row.label),
|
|
6358
|
-
className: "w-[220px] bg-
|
|
6358
|
+
className: "w-[220px] bg-surface border-border-default",
|
|
6359
6359
|
children: /* @__PURE__ */ jsx(SelectValue, {})
|
|
6360
6360
|
}), /* @__PURE__ */ jsxs(SelectContent, { children: [
|
|
6361
6361
|
/* @__PURE__ */ jsx(SelectItem, {
|
|
@@ -6481,7 +6481,7 @@ function ApiTab() {
|
|
|
6481
6481
|
className: "space-y-4",
|
|
6482
6482
|
children: [
|
|
6483
6483
|
/* @__PURE__ */ jsx(Card, {
|
|
6484
|
-
className: "border border-border-
|
|
6484
|
+
className: "border border-border-default bg-surface",
|
|
6485
6485
|
children: /* @__PURE__ */ jsxs(CardHeader, {
|
|
6486
6486
|
className: "pb-3",
|
|
6487
6487
|
children: [
|
|
@@ -6501,7 +6501,7 @@ function ApiTab() {
|
|
|
6501
6501
|
children: tr("fluidgrids.settings.api.gatewayUrlDescription", "Base URL for workflow API operations. Use this to trigger, list, and manage workflows programmatically.")
|
|
6502
6502
|
}),
|
|
6503
6503
|
/* @__PURE__ */ jsxs("div", {
|
|
6504
|
-
className: "flex items-center gap-2 rounded-lg bg-
|
|
6504
|
+
className: "flex items-center gap-2 rounded-lg bg-surface-sunken px-3 py-2 border border-border-default",
|
|
6505
6505
|
children: [/* @__PURE__ */ jsx("code", {
|
|
6506
6506
|
className: "text-sm text-text-primary flex-1 truncate",
|
|
6507
6507
|
children: settings.gatewayUrl
|
|
@@ -6514,7 +6514,7 @@ function ApiTab() {
|
|
|
6514
6514
|
})
|
|
6515
6515
|
}),
|
|
6516
6516
|
/* @__PURE__ */ jsx(Card, {
|
|
6517
|
-
className: "border border-border-
|
|
6517
|
+
className: "border border-border-default bg-surface",
|
|
6518
6518
|
children: /* @__PURE__ */ jsxs(CardHeader, {
|
|
6519
6519
|
className: "pb-3",
|
|
6520
6520
|
children: [
|
|
@@ -6543,7 +6543,7 @@ function ApiTab() {
|
|
|
6543
6543
|
]
|
|
6544
6544
|
}),
|
|
6545
6545
|
/* @__PURE__ */ jsxs("div", {
|
|
6546
|
-
className: "flex items-center gap-2 rounded-lg bg-
|
|
6546
|
+
className: "flex items-center gap-2 rounded-lg bg-surface-sunken px-3 py-2 border border-border-default",
|
|
6547
6547
|
children: [/* @__PURE__ */ jsx("code", {
|
|
6548
6548
|
className: "text-sm text-text-primary flex-1 truncate",
|
|
6549
6549
|
children: settings.webhookUrlFormat
|
|
@@ -6556,7 +6556,7 @@ function ApiTab() {
|
|
|
6556
6556
|
})
|
|
6557
6557
|
}),
|
|
6558
6558
|
/* @__PURE__ */ jsx(Card, {
|
|
6559
|
-
className: "border border-border-
|
|
6559
|
+
className: "border border-border-default bg-surface",
|
|
6560
6560
|
children: /* @__PURE__ */ jsxs(CardHeader, {
|
|
6561
6561
|
className: "pb-3",
|
|
6562
6562
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
@@ -6570,7 +6570,7 @@ function ApiTab() {
|
|
|
6570
6570
|
children: tr("fluidgrids.settings.api.curlExampleTitle", "Example: Trigger via cURL")
|
|
6571
6571
|
})]
|
|
6572
6572
|
}), /* @__PURE__ */ jsxs("div", {
|
|
6573
|
-
className: "relative rounded-lg bg-
|
|
6573
|
+
className: "relative rounded-lg bg-surface-sunken px-3 py-2 border border-border-default",
|
|
6574
6574
|
children: [/* @__PURE__ */ jsx("pre", {
|
|
6575
6575
|
className: "text-xs text-text-primary overflow-x-auto whitespace-pre-wrap",
|
|
6576
6576
|
children: `curl -X POST "${settings.webhookUrlFormat}" \\
|
|
@@ -6602,7 +6602,7 @@ function SettingsPage({ workflowKey: workflowKeyProp } = {}) {
|
|
|
6602
6602
|
const runControlSettings = hasRunControlSettings(phaseC);
|
|
6603
6603
|
const visibleTab = !logStreamsEnabled && activeTab === "log-streaming" || !runControlSettings && activeTab === "run-control" ? "general" : activeTab;
|
|
6604
6604
|
return /* @__PURE__ */ jsxs("div", {
|
|
6605
|
-
className: "p-4 sm:p-6 bg-
|
|
6605
|
+
className: "p-4 sm:p-6 bg-surface-canvas min-h-screen",
|
|
6606
6606
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
6607
6607
|
className: "flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 mb-6",
|
|
6608
6608
|
"data-tour": "fluidgrids-settings-header",
|
|
@@ -6634,7 +6634,7 @@ function SettingsPage({ workflowKey: workflowKeyProp } = {}) {
|
|
|
6634
6634
|
className: "w-full",
|
|
6635
6635
|
children: [
|
|
6636
6636
|
/* @__PURE__ */ jsxs(TabsList, {
|
|
6637
|
-
className: "mb-6 h-auto max-w-full flex-wrap justify-start border border-border-
|
|
6637
|
+
className: "mb-6 h-auto max-w-full flex-wrap justify-start border border-border-default bg-surface",
|
|
6638
6638
|
"data-tour": "fluidgrids-settings-tabs",
|
|
6639
6639
|
children: [
|
|
6640
6640
|
/* @__PURE__ */ jsxs(TabsTrigger, {
|