@burdenoff/fluidgrids-fe-sdk 2026.1112.6 → 2026.1112.7
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-BSLdKT0H.js → AiStudioPage-QGTFaVpx.js} +1 -1
- package/dist/ConfirmActionDialog-D9Pir3bc.js +30 -0
- package/dist/DataTablesPage-0U89KNBt.js +2880 -0
- package/dist/{ExecutionDetailPage-B9eEep77.js → ExecutionDetailPage-D4Mdbzb2.js} +2 -1
- package/dist/{ExecutionsListPage-DuuPSVEj.js → ExecutionsListPage-g_SPxAGX.js} +2 -1
- package/dist/RunActionsMenu-DmO14hEE.js +106 -0
- package/dist/RunnersPage-CvAPHdfU.js +673 -0
- package/dist/{TemplatePreview-BFMsDQif.js → TemplatePreview-DY4GxnfC.js} +1 -1
- package/dist/{WorkflowBuilder-D9W8hQTO.js → WorkflowBuilder-Aslfa2vj.js} +1 -1
- package/dist/{WorkflowBuilder-B8PtcT0Q.js → WorkflowBuilder-DY1_KJiV.js} +1 -1
- package/dist/{agentTools-DlPHMfhA.js → agentTools-B8gnHFVM.js} +1 -1
- package/dist/{canvasNoteTools-CkAsMSvt.js → canvasNoteTools-Cj7MvVDH.js} +1 -1
- package/dist/executions.js +2 -2
- package/dist/{flow-builder-DUkCKl-S.js → flow-builder-dvqpKs8d.js} +5 -5
- package/dist/{index-u-kM0seP.d.ts → index-DNo9aFUT.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +13 -13
- package/dist/{node-detail-view-ApMQwQRQ.js → node-detail-view-ZnJ3Hvvo.js} +2 -2
- package/dist/{node-editor-tab-body-DIcmar84.js → node-editor-tab-body-BuiIr7VD.js} +1 -1
- package/dist/observability.d.ts +1 -1
- package/dist/{popover-DOeSGQOG.js → popover-mexhIFP3.js} +3 -0
- package/dist/{quick-config-panel-Pm5nkZVr.js → quick-config-panel-EV66lJOM.js} +2 -2
- package/dist/{schedule-panel-Dizqz9eA.js → schedule-panel-BeLfDNFh.js} +1 -1
- package/dist/{sidebar-node-editor-BNub2vUq.js → sidebar-node-editor-D85Moj5d.js} +2 -2
- package/dist/templates.js +1 -1
- package/dist/{useDurableParity-Cb9nOdE8.js → useDurableParity-04-5PTk2.js} +3 -101
- package/dist/workflow-builder.js +2 -2
- package/dist/workflow-pages.d.ts +1 -1
- package/dist/workflow-pages.js +7 -7
- package/package.json +1 -1
- package/dist/DataTablesPage-Dm-dzVPD.js +0 -1698
- package/dist/RunnersPage-D9Bgod_d.js +0 -467
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as __exportAll } from "./rolldown-runtime-hDbaFkMy.js";
|
|
3
|
-
import { c as
|
|
3
|
+
import { c as errorAdvice, d as NodeStatusBadge, i as useRunPending, l as needsReconnect, n as useDurableParityRunFields, o as ConfirmStopRunDialog, r as useRunMetadata, t as setRunVersioningOverride, u as ExecutionStatusBadge } from "./useDurableParity-04-5PTk2.js";
|
|
4
4
|
import { n as formatRunVersion, r as nodeDisplayTitle, t as buildNodeDisplayMap } from "./run-display-BycKYSU0.js";
|
|
5
5
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
6
6
|
import { s as isAgentNodeType } from "./agent-form-Bfvm32j1.js";
|
|
7
7
|
import { An as runSignalTargets, Dn as durableInterfaceOf, I as describeRunError, L as describeRunStep, Tn as canSignalRun, dn as runDurationMs, ln as formatElapsedMs, un as nodeStateDurationMs } from "./FluidGridsProvider-B1hgCbxG.js";
|
|
8
8
|
import { n as useFgAskable, r as useFgAskableSelection } from "./askAboutBridge-BV8m95kk.js";
|
|
9
9
|
import { n as useNavigationV2 } from "./useNavigationV2-C2WeqN7d.js";
|
|
10
|
+
import { n as TechnicalDetails, t as RunActionsMenu } from "./RunActionsMenu-DmO14hEE.js";
|
|
10
11
|
import { _ as shortRunId, g as runChainLinks, h as parseMetadataDefinition, m as overrideRequestOf, n as useExecution, p as callbackTone, r as useExecutionActions, s as buildRetryTriggerInput, t as useAutoRefresh } from "./useExecutions-DJXtbA15.js";
|
|
11
12
|
import { _ as throwIfResultError, m as describeOperationError, n as getFluidGridsClient, r as getFluidGridsClientSafe, x as getFluidGridsConfig } from "./client-C9XSzSXr.js";
|
|
12
13
|
import { Cn as RunLogsDocument, Zr as WorkflowRunHierarchyDocument, ft as ExplainRunDocument, o as AgentStepUpdatedDocument, pn as RunAiUsageDocument, s as AgentTraceDocument, xn as RunLogAppendedDocument } from "./graphql-operation-types-z2oXfQvM.js";
|
|
@@ -8,7 +8,8 @@ import { n as useFluidGridsPageControls } from "./pageControlsBridge-0pX9s-3k.js
|
|
|
8
8
|
import { t as executionsControls } from "./pageControlSpecs-DZJ9K37m.js";
|
|
9
9
|
import { t as TagFilterSelect } from "./TagFilterSelect-CqhxcDjh.js";
|
|
10
10
|
import { n as useNavigationV2 } from "./useNavigationV2-C2WeqN7d.js";
|
|
11
|
-
import { a as useRunStatusCounts, c as
|
|
11
|
+
import { a as useRunStatusCounts, c as errorAdvice, f as runStatusLabels, o as ConfirmStopRunDialog, p as RUN_STATUS_CONFIG, s as ADVICE_ERROR_TYPES, u as ExecutionStatusBadge } from "./useDurableParity-04-5PTk2.js";
|
|
12
|
+
import { n as TechnicalDetails, r as Disclosure, t as RunActionsMenu } from "./RunActionsMenu-DmO14hEE.js";
|
|
12
13
|
import { n as formatRunVersion } from "./run-display-BycKYSU0.js";
|
|
13
14
|
import { dn as runDurationMs, ln as formatElapsedMs } from "./FluidGridsProvider-B1hgCbxG.js";
|
|
14
15
|
import { r as useRunHumanRequests } from "./useHumanRequests-ZiR0sSzS.js";
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
3
|
+
import { useId, useState } from "react";
|
|
4
|
+
import { Icon } from "@iconify/react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger } from "@burdenoff/fe-libs/ui";
|
|
7
|
+
import { Button as Button$1 } from "@burdenoff/fe-libs/button";
|
|
8
|
+
|
|
9
|
+
// src/modules/executions/components/Disclosure.tsx
|
|
10
|
+
/**
|
|
11
|
+
* A one-button disclosure for the Runs pages (BOFF-11846): "More filters",
|
|
12
|
+
* "Show technical details". Local stand-in for BOFF-11841's shared "More
|
|
13
|
+
* options" / "Show technical details" pieces; `TechnicalDetails` and the Runs
|
|
14
|
+
* filters build on it.
|
|
15
|
+
*
|
|
16
|
+
* The content is rendered only while open (closed inputs are not focusable).
|
|
17
|
+
* Whatever the content edits lives in the Runs store, so closing never loses a
|
|
18
|
+
* value, and callers open it from the start when a value inside is set.
|
|
19
|
+
*/
|
|
20
|
+
function Disclosure({ closedLabel, openLabel, children, defaultOpen = false, className, "data-testid": testId }) {
|
|
21
|
+
const [open, setOpen] = useState(defaultOpen);
|
|
22
|
+
const panelId = useId();
|
|
23
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
24
|
+
className,
|
|
25
|
+
"data-testid": testId,
|
|
26
|
+
children: [/* @__PURE__ */ jsxs("button", {
|
|
27
|
+
type: "button",
|
|
28
|
+
onClick: () => setOpen((current) => !current),
|
|
29
|
+
"aria-expanded": open,
|
|
30
|
+
"aria-controls": panelId,
|
|
31
|
+
className: "inline-flex items-center gap-1 text-sm text-text-secondary hover:text-text-primary",
|
|
32
|
+
children: [/* @__PURE__ */ jsx(Icon, {
|
|
33
|
+
icon: open ? "mdi:chevron-down" : "mdi:chevron-right",
|
|
34
|
+
width: 16
|
|
35
|
+
}), open ? openLabel : closedLabel]
|
|
36
|
+
}), open && /* @__PURE__ */ jsx("div", {
|
|
37
|
+
id: panelId,
|
|
38
|
+
className: "mt-2",
|
|
39
|
+
children
|
|
40
|
+
})]
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// src/modules/executions/components/TechnicalDetails.tsx
|
|
45
|
+
function TechnicalDetails({ children, defaultOpen, className, "data-testid": testId }) {
|
|
46
|
+
const tr = useTr();
|
|
47
|
+
return /* @__PURE__ */ jsx(Disclosure, {
|
|
48
|
+
closedLabel: tr("fluidgrids.executions.technicalDetails.show", "Show technical details"),
|
|
49
|
+
openLabel: tr("fluidgrids.executions.technicalDetails.hide", "Hide technical details"),
|
|
50
|
+
defaultOpen,
|
|
51
|
+
className,
|
|
52
|
+
"data-testid": testId,
|
|
53
|
+
children
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// src/modules/executions/components/RunActionsMenu.tsx
|
|
58
|
+
/**
|
|
59
|
+
* The "⋯" menu of a run's or row's extra actions (BOFF-11846): Pause,
|
|
60
|
+
* Terminate, Test again, Open in editor, Live updates. A local stand-in for
|
|
61
|
+
* the shared "More" menu BOFF-11841 will provide, built on fe-libs' dropdown
|
|
62
|
+
* menu; the props are plain data so that component can replace it.
|
|
63
|
+
*/
|
|
64
|
+
function RunActionsMenu({ items, toggles = [], label, "data-testid": testId = "run-actions-menu" }) {
|
|
65
|
+
const tr = useTr();
|
|
66
|
+
if (items.length === 0 && toggles.length === 0) return null;
|
|
67
|
+
const triggerLabel = label ?? tr("fluidgrids.executions.executionDetail.moreActions", "More actions");
|
|
68
|
+
return /* @__PURE__ */ jsxs(DropdownMenu, { children: [/* @__PURE__ */ jsx(DropdownMenuTrigger, {
|
|
69
|
+
asChild: true,
|
|
70
|
+
children: /* @__PURE__ */ jsx(Button$1, {
|
|
71
|
+
variant: "outline",
|
|
72
|
+
size: "sm",
|
|
73
|
+
"aria-label": triggerLabel,
|
|
74
|
+
title: triggerLabel,
|
|
75
|
+
"data-testid": testId,
|
|
76
|
+
children: /* @__PURE__ */ jsx(Icon, {
|
|
77
|
+
icon: "mdi:dots-horizontal",
|
|
78
|
+
width: 18
|
|
79
|
+
})
|
|
80
|
+
})
|
|
81
|
+
}), /* @__PURE__ */ jsxs(DropdownMenuContent, {
|
|
82
|
+
align: "end",
|
|
83
|
+
children: [
|
|
84
|
+
items.map((item) => /* @__PURE__ */ jsxs(DropdownMenuItem, {
|
|
85
|
+
disabled: item.disabled,
|
|
86
|
+
onSelect: item.onSelect,
|
|
87
|
+
"data-testid": `${testId}-${item.id}`,
|
|
88
|
+
className: item.destructive ? "text-[var(--color-status-error-text)]" : "",
|
|
89
|
+
children: [item.icon && /* @__PURE__ */ jsx(Icon, {
|
|
90
|
+
icon: item.icon,
|
|
91
|
+
width: 16,
|
|
92
|
+
className: "mr-2"
|
|
93
|
+
}), item.label]
|
|
94
|
+
}, item.id)),
|
|
95
|
+
items.length > 0 && toggles.length > 0 && /* @__PURE__ */ jsx(DropdownMenuSeparator, {}),
|
|
96
|
+
toggles.map((toggle) => /* @__PURE__ */ jsx(DropdownMenuCheckboxItem, {
|
|
97
|
+
checked: toggle.checked,
|
|
98
|
+
onCheckedChange: toggle.onCheckedChange,
|
|
99
|
+
"data-testid": `${testId}-${toggle.id}`,
|
|
100
|
+
children: toggle.label
|
|
101
|
+
}, toggle.id))
|
|
102
|
+
]
|
|
103
|
+
})] });
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export { TechnicalDetails as n, Disclosure as r, RunActionsMenu as t };
|