@burdenoff/fluidgrids-fe-sdk 2026.1112.7 → 2026.1112.9
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-QGTFaVpx.js → AiStudioPage-DfoV1Olc.js} +5 -5
- package/dist/ApprovalInboxPage-Bb8H9ruw.js +1317 -0
- package/dist/{DataSinkDashboardPage-kyzcjpzL.js → DataSinkDashboardPage-Dt3xTBb8.js} +1 -1
- package/dist/{DataTablesPage-0U89KNBt.js → DataTablesPage-Zz23QZQp.js} +6 -4
- package/dist/Disclosure-DQiUKrqd.js +41 -0
- package/dist/{EntityTagPicker-dxfzv8aO.js → EntityTagPicker-CuZAMby_.js} +1 -1
- package/dist/{ExecutionDetailPage-D4Mdbzb2.js → ExecutionDetailPage-CcUxFexZ.js} +15 -14
- package/dist/{ExecutionsListPage-g_SPxAGX.js → ExecutionsListPage-JpByw6nA.js} +11 -9
- package/dist/{FailureTriagePanel-D4lJ4zqQ.js → FailureTriagePanel-BjatYyAa.js} +1 -1
- package/dist/{FluidGridsProvider-B1hgCbxG.js → FluidGridsProvider-TQ-aDPtn.js} +3 -3
- package/dist/{HistoryPage-C7NwkVNC.js → HistoryPage-s9pl5gyl.js} +2 -2
- package/dist/{InsightsPage-D9B_qW8e.js → InsightsPage-CtjJCky-.js} +4 -4
- package/dist/{MissingNodesInstallModal-BkkgeFeN.js → MissingNodesInstallModal-olEc52p2.js} +1 -1
- package/dist/{NodesPage-BEeUbIts.js → NodesPage-BSNpOUMX.js} +2 -2
- package/dist/OpenTemplateAsCodeButton-Dh3ee2OR.js +94 -0
- package/dist/PaidTemplateConfirm-DjmVi_m-.js +28 -0
- package/dist/{RunActionsMenu-DmO14hEE.js → RunActionsMenu-BE_1r3bF.js} +1 -50
- package/dist/{RunnersPage-CvAPHdfU.js → RunnersPage-CAt4YDhB.js} +2 -1
- package/dist/{SettingsPage-k21044-Z.js → SettingsPage-ywyjIAL8.js} +6 -6
- package/dist/{TagFilterSelect-CqhxcDjh.js → TagFilterSelect-DcusTt1p.js} +1 -1
- package/dist/{TaskQueuesPage-B86p51gH.js → TaskQueuesPage-C2dkenVF.js} +2 -2
- package/dist/TechnicalDetails-D4xGy201.js +19 -0
- package/dist/{TemplateCard-DanOe65C.js → TemplateCard--WYJZlA_.js} +293 -36
- package/dist/{TemplateConfigurationModal-CeMpPEhT.js → TemplateConfigurationModal-cd0-QVMZ.js} +20 -11
- package/dist/{TemplateDetailPanel-DnoA6mC3.js → TemplateDetailPanel-C-2JuXg6.js} +1 -1
- package/dist/TemplatePreview-BCnGjMuN.js +646 -0
- package/dist/{TemplatesPage-C7f2xq12.js → TemplatesPage-u7bXJYfv.js} +377 -138
- package/dist/{VariablesPage-BtoLjmUA.js → VariablesPage-CPL34WBc.js} +2 -358
- package/dist/{VersionDiffDialog-pLpG_I1r.js → VersionDiffDialog-c27yet_-.js} +1 -1
- package/dist/{WorkflowBuilder-Aslfa2vj.js → WorkflowBuilder-BWxBmBoP.js} +3 -3
- package/dist/{WorkflowBuilder-DY1_KJiV.js → WorkflowBuilder-DxAAPHsn.js} +8 -8
- package/dist/{WorkflowProposalCard-BjYAZH3q.js → WorkflowProposalCard-BvmJ5ea8.js} +1 -1
- package/dist/{WorkflowSearchRedirect-iPQBL6WO.js → WorkflowSearchRedirect-BGKduhfZ.js} +1 -1
- package/dist/{WorkflowShareDialog-DB-qJLB2.js → WorkflowShareDialog-BRwTF9QB.js} +1 -1
- package/dist/{WorkflowsList-rOxlI49U.js → WorkflowsList-Bocag4TX.js} +9 -8
- package/dist/{agentTools-B8gnHFVM.js → agentTools-JHtYGgd7.js} +3 -3
- package/dist/{api-JpNuowX4.js → api-Dw8nfVRD.js} +1 -1
- package/dist/{api-Dvitj1aT.js → api-m8hX_l2k.js} +1 -1
- package/dist/{canvasNoteTools-Cj7MvVDH.js → canvasNoteTools-B2ouyIbj.js} +2 -2
- package/dist/{HumanRequestCard-lbWDpWd7.js → channel-CZ70oI81.js} +5 -228
- package/dist/{code-editor-field-yJZEDJBi.js → code-editor-field-CWGZyNGM.js} +1 -1
- package/dist/executions.js +2 -2
- package/dist/{feature-flags-DM5myWaD.js → feature-flags-B_b8PJ6Z.js} +63 -3
- package/dist/flags.d.ts +1 -1
- package/dist/flags.js +1 -1
- package/dist/{flow-builder-dvqpKs8d.js → flow-builder-DzKPrW2r.js} +535 -313
- package/dist/{graphql-operation-types-z2oXfQvM.js → graphql-operation-types-DZVhCBEi.js} +250 -1
- package/dist/history.js +1 -1
- package/dist/{index-BcdtKBM-.d.ts → index-B4g88tCa.d.ts} +15 -1
- package/dist/{index-DNo9aFUT.d.ts → index-CGCAcRKo.d.ts} +32 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.js +38 -38
- package/dist/{node-detail-view-ZnJ3Hvvo.js → node-detail-view-DNilUGcx.js} +9 -9
- package/dist/{node-editor-tab-body-BuiIr7VD.js → node-editor-tab-body-XBedxkpN.js} +3 -3
- package/dist/{node-endpoint-configs-typvqw2c.js → node-endpoint-configs-BI7zc8eM.js} +1 -1
- package/dist/nodes.js +1 -1
- package/dist/observability.d.ts +1 -1
- package/dist/observability.js +2 -2
- package/dist/{popover-mexhIFP3.js → popover-BC4r84K0.js} +3 -3
- package/dist/{quick-config-panel-EV66lJOM.js → quick-config-panel-BPmrhIOb.js} +3 -3
- package/dist/{schedule-panel-BeLfDNFh.js → schedule-panel-DJN1TDQH.js} +8 -8
- package/dist/settings.js +1 -1
- package/dist/{sidebar-node-editor-D85Moj5d.js → sidebar-node-editor-DKdfcd2r.js} +3 -3
- package/dist/templates.js +2 -2
- package/dist/{useAgentDefinitions-Uy6nhpKN.js → useAgentDefinitions-B4sw7bLw.js} +1 -1
- package/dist/{useDurableParity-04-5PTk2.js → useDurableParity-B3h8jqP0.js} +2 -2
- package/dist/{useEntityTags-D5C0tdLs.js → useEntityTags-BpDeLhzV.js} +1 -1
- package/dist/{useExecutions-DJXtbA15.js → useExecutions-BbkBSYpS.js} +2 -2
- package/dist/{useObservability-Dfgh4yjv.js → useObservability-BASo2sA3.js} +1 -1
- package/dist/{useRunHistory-BZQ3t68Q.js → useRunHistory-C3Pv_SJW.js} +2 -2
- package/dist/useVariables-cI8uLwye.js +361 -0
- package/dist/useWorkflowCodeExport-k5Emm4ZS.js +226 -0
- package/dist/{useWorkflows-CP-d3ygY.js → useWorkflows-CRUlQBd3.js} +2 -2
- package/dist/workflow-builder.js +4 -4
- package/dist/workflow-code-transfer-Cshsgf2H.js +375 -0
- package/dist/workflow-host.d.ts +1 -1
- package/dist/workflow-host.js +1 -1
- package/dist/workflow-pages.d.ts +1 -1
- package/dist/workflow-pages.js +19 -19
- package/dist/workflow-transfer-CQnQC-ke.js +104 -0
- package/dist/workflows-list.js +1 -1
- package/package.json +1 -1
- package/dist/ApprovalInboxPage-QAJim81n.js +0 -559
- package/dist/QuotaExhaustedDialog-Bj7AG_0y.js +0 -55
- package/dist/TemplatePreview-DY4GxnfC.js +0 -231
- package/dist/useWorkflowCodeExport-D0zapXXm.js +0 -643
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as __exportAll } from "./rolldown-runtime-hDbaFkMy.js";
|
|
3
3
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
4
|
-
import { n as useDataSinks, t as useDataSinkData } from "./useObservability-
|
|
4
|
+
import { n as useDataSinks, t as useDataSinkData } from "./useObservability-BASo2sA3.js";
|
|
5
5
|
import { s as prettyJson, t as formatBytes } from "./utils-uaL5UVxb.js";
|
|
6
6
|
import { useEffect, useMemo, useState } from "react";
|
|
7
7
|
import { Icon } from "@iconify/react";
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as __exportAll } from "./rolldown-runtime-hDbaFkMy.js";
|
|
3
|
-
import { t as EntityTagPicker } from "./EntityTagPicker-
|
|
4
|
-
import { t as TagFilterSelect } from "./TagFilterSelect-
|
|
3
|
+
import { t as EntityTagPicker } from "./EntityTagPicker-CuZAMby_.js";
|
|
4
|
+
import { t as TagFilterSelect } from "./TagFilterSelect-DcusTt1p.js";
|
|
5
5
|
import { _ as throwIfResultError, m as describeOperationError, n as getFluidGridsClient } from "./client-C9XSzSXr.js";
|
|
6
|
-
import { a as useDataTableTagOverlay, n as tagLabel } from "./useEntityTags-
|
|
6
|
+
import { a as useDataTableTagOverlay, n as tagLabel } from "./useEntityTags-BpDeLhzV.js";
|
|
7
7
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
8
8
|
import { i as useOpenRequest, n as ACTION_PARAM_VALUES, r as useActionParam } from "./useActionParam-B0ebTZmg.js";
|
|
9
9
|
import { i as SdkPermissionButton, s as useFluidGridsPermission, t as FLUIDGRIDS_PERMISSIONS } from "./constants-dcxg6zG6.js";
|
|
10
10
|
import { t as FluidGridsDocsLink } from "./FluidGridsDocsLink-JxkBpOeb.js";
|
|
11
11
|
import { n as useNavigationV2 } from "./useNavigationV2-C2WeqN7d.js";
|
|
12
12
|
import { t as ConfirmActionDialog } from "./ConfirmActionDialog-D9Pir3bc.js";
|
|
13
|
-
import {
|
|
13
|
+
import { t as Disclosure } from "./Disclosure-DQiUKrqd.js";
|
|
14
|
+
import { t as RunActionsMenu } from "./RunActionsMenu-BE_1r3bF.js";
|
|
15
|
+
import { t as TechnicalDetails } from "./TechnicalDetails-D4xGy201.js";
|
|
14
16
|
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
15
17
|
import { useNavigate } from "react-router";
|
|
16
18
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useId, useState } from "react";
|
|
3
|
+
import { Icon } from "@iconify/react";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
// src/modules/executions/components/Disclosure.tsx
|
|
7
|
+
/**
|
|
8
|
+
* A one-button disclosure for the Runs pages (BOFF-11846): "More filters",
|
|
9
|
+
* "Show technical details". Local stand-in for BOFF-11841's shared "More
|
|
10
|
+
* options" / "Show technical details" pieces; `TechnicalDetails` and the Runs
|
|
11
|
+
* filters build on it.
|
|
12
|
+
*
|
|
13
|
+
* The content is rendered only while open (closed inputs are not focusable).
|
|
14
|
+
* Whatever the content edits lives in the Runs store, so closing never loses a
|
|
15
|
+
* value, and callers open it from the start when a value inside is set.
|
|
16
|
+
*/
|
|
17
|
+
function Disclosure({ closedLabel, openLabel, children, defaultOpen = false, className, "data-testid": testId }) {
|
|
18
|
+
const [open, setOpen] = useState(defaultOpen);
|
|
19
|
+
const panelId = useId();
|
|
20
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
21
|
+
className,
|
|
22
|
+
"data-testid": testId,
|
|
23
|
+
children: [/* @__PURE__ */ jsxs("button", {
|
|
24
|
+
type: "button",
|
|
25
|
+
onClick: () => setOpen((current) => !current),
|
|
26
|
+
"aria-expanded": open,
|
|
27
|
+
"aria-controls": panelId,
|
|
28
|
+
className: "inline-flex items-center gap-1 text-sm text-text-secondary hover:text-text-primary",
|
|
29
|
+
children: [/* @__PURE__ */ jsx(Icon, {
|
|
30
|
+
icon: open ? "mdi:chevron-down" : "mdi:chevron-right",
|
|
31
|
+
width: 16
|
|
32
|
+
}), open ? openLabel : closedLabel]
|
|
33
|
+
}), open && /* @__PURE__ */ jsx("div", {
|
|
34
|
+
id: panelId,
|
|
35
|
+
className: "mt-2",
|
|
36
|
+
children
|
|
37
|
+
})]
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { Disclosure as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { x as getFluidGridsConfig } from "./client-C9XSzSXr.js";
|
|
3
|
-
import { d as useUntagEntity, s as useEntityTags, u as useTagEntity } from "./useEntityTags-
|
|
3
|
+
import { d as useUntagEntity, s as useEntityTags, u as useTagEntity } from "./useEntityTags-BpDeLhzV.js";
|
|
4
4
|
import { useCallback, useEffect, useRef, useState } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import { TagBadge, TagsWidget } from "@burdenoff/fe-libs/tag";
|
|
@@ -1,32 +1,33 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as __exportAll } from "./rolldown-runtime-hDbaFkMy.js";
|
|
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-
|
|
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-B3h8jqP0.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
|
-
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-
|
|
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-TQ-aDPtn.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 {
|
|
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-
|
|
10
|
+
import { t as TechnicalDetails } from "./TechnicalDetails-D4xGy201.js";
|
|
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-BbkBSYpS.js";
|
|
12
|
+
import { t as RunActionsMenu } from "./RunActionsMenu-BE_1r3bF.js";
|
|
12
13
|
import { _ as throwIfResultError, m as describeOperationError, n as getFluidGridsClient, r as getFluidGridsClientSafe, x as getFluidGridsConfig } from "./client-C9XSzSXr.js";
|
|
13
|
-
import { Cn as RunLogsDocument,
|
|
14
|
+
import { Cn as RunLogsDocument, Qr as WorkflowRunHierarchyDocument, ft as ExplainRunDocument, o as AgentStepUpdatedDocument, pn as RunAiUsageDocument, s as AgentTraceDocument, xn as RunLogAppendedDocument } from "./graphql-operation-types-DZVhCBEi.js";
|
|
14
15
|
import { i as SdkPermissionButton, s as useFluidGridsPermission, t as FLUIDGRIDS_PERMISSIONS } from "./constants-dcxg6zG6.js";
|
|
15
|
-
import { t as EntityTagPicker } from "./EntityTagPicker-
|
|
16
|
-
import {
|
|
16
|
+
import { t as EntityTagPicker } from "./EntityTagPicker-CuZAMby_.js";
|
|
17
|
+
import { a as useRecipientLabel, n as ApprovalApprovers, t as channelLabel } from "./channel-CZ70oI81.js";
|
|
17
18
|
import { r as useRunHumanRequests } from "./useHumanRequests-ZiR0sSzS.js";
|
|
18
19
|
import { a as encodedPayloadBytes, f as EffectBadge, h as useRunPolicyDecisions, i as decodePayloads, l as formatBudgetUsd, n as checkCodecServerUrl, o as isEncodedPayload, r as containsEncodedPayload, t as CodecServerError } from "./codec-client-CJ95Rmqo.js";
|
|
19
|
-
import { n as useWorkflowProposal, o as canSaveRunAsTestCase, r as saveRunAsTestCase, t as WorkflowProposalCard } from "./WorkflowProposalCard-
|
|
20
|
+
import { n as useWorkflowProposal, o as canSaveRunAsTestCase, r as saveRunAsTestCase, t as WorkflowProposalCard } from "./WorkflowProposalCard-BvmJ5ea8.js";
|
|
20
21
|
import { t as AiCreditBalanceSlot } from "./aiCreditsBridge-BuE92tKo.js";
|
|
21
|
-
import { a as fetchRunFailureClusters, i as dismissRunFailureCluster, r as OPEN_STATUSES, t as BUCKET_LABELS } from "./FailureTriagePanel-
|
|
22
|
-
import { a as useDurableRunFields, i as useDeterminismStatus, n as SignalRunDialog, o as useRunStackTrace, r as terminateDurableRun, s as RunHistoryView, t as useRunHistory } from "./useRunHistory-
|
|
22
|
+
import { a as fetchRunFailureClusters, i as dismissRunFailureCluster, r as OPEN_STATUSES, t as BUCKET_LABELS } from "./FailureTriagePanel-BjatYyAa.js";
|
|
23
|
+
import { a as useDurableRunFields, i as useDeterminismStatus, n as SignalRunDialog, o as useRunStackTrace, r as terminateDurableRun, s as RunHistoryView, t as useRunHistory } from "./useRunHistory-C3Pv_SJW.js";
|
|
23
24
|
import { $P as VersioningBehavior, FI as WorkflowUpdateWaitFor, L as AgentStepKind, _I as WorkflowQueryRejectCondition, jd as ErrorType } from "./graphql-types-v6CTGwA0.js";
|
|
24
25
|
import { a as formatTokens, d as formatMicroUsd, o as modelLabel, r as aiCost } from "./ai-usage-bmUn-gJP.js";
|
|
25
|
-
import {
|
|
26
|
-
import { A as revokeSignalToken, B as updateActivityOptions, D as resetActivities, E as queryRun, N as sendRunUpdate, O as resetRun, R as unpauseActivities, S as fetchSignalTokens, V as upsertRunSearchAttributes, _ as fetchPauseRules, b as fetchRunUpdate, d as failActivityById, g as fetchCodecServerSettings, i as completeActivityById, k as resetRunToLastCleanTask, s as createSignalToken, v as fetchRunControlFields, w as pauseActivities, y as fetchRunHistoryArchive } from "./api-
|
|
27
|
-
import { a as fetchTaskQueueStats } from "./api-
|
|
26
|
+
import { _ as useWorkflowTestsEnabled, l as useDurableFunctionNodesEnabled, m as usePhaseCFlags, u as useDurableParityEnabled } from "./feature-flags-B_b8PJ6Z.js";
|
|
27
|
+
import { A as revokeSignalToken, B as updateActivityOptions, D as resetActivities, E as queryRun, N as sendRunUpdate, O as resetRun, R as unpauseActivities, S as fetchSignalTokens, V as upsertRunSearchAttributes, _ as fetchPauseRules, b as fetchRunUpdate, d as failActivityById, g as fetchCodecServerSettings, i as completeActivityById, k as resetRunToLastCleanTask, s as createSignalToken, v as fetchRunControlFields, w as pauseActivities, y as fetchRunHistoryArchive } from "./api-m8hX_l2k.js";
|
|
28
|
+
import { a as fetchTaskQueueStats } from "./api-Dw8nfVRD.js";
|
|
28
29
|
import { a as RUN_CONTROL_DIALOG_STYLE, c as parseJsonInput, i as NativeSelect, l as parseJsonObjectInput, n as JsonBlock, o as StatusPill, r as JsonField, s as newRunControlId, t as FieldError, u as useResource } from "./shared-CMfn30xT.js";
|
|
29
|
-
import { v as useWorkflowVersions } from "./useWorkflows-
|
|
30
|
+
import { v as useWorkflowVersions } from "./useWorkflows-CRUlQBd3.js";
|
|
30
31
|
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
31
32
|
import { Link, useNavigate, useParams, useSearchParams } from "react-router";
|
|
32
33
|
import { Icon } from "@iconify/react";
|
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as __exportAll } from "./rolldown-runtime-hDbaFkMy.js";
|
|
3
3
|
import { M as DEFAULT_EXECUTIONS_FILTER, N as useExecutionsStore, m as describeOperationError, n as getFluidGridsClient } from "./client-C9XSzSXr.js";
|
|
4
|
-
import { b as validateDateRange, c as EMPTY_SEARCH_FILTER, d as searchFilterConflicts, i as useExecutionStats, l as OPERATORS_BY_TYPE, o as useExecutionsWithStore, r as useExecutionActions, t as useAutoRefresh, u as buildSearchAttributeFilter } from "./useExecutions-
|
|
5
|
-
import {
|
|
4
|
+
import { b as validateDateRange, c as EMPTY_SEARCH_FILTER, d as searchFilterConflicts, i as useExecutionStats, l as OPERATORS_BY_TYPE, o as useExecutionsWithStore, r as useExecutionActions, t as useAutoRefresh, u as buildSearchAttributeFilter } from "./useExecutions-BbkBSYpS.js";
|
|
5
|
+
import { m as usePhaseCFlags, u as useDurableParityEnabled } from "./feature-flags-B_b8PJ6Z.js";
|
|
6
6
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
7
7
|
import { n as useFluidGridsPageControls } from "./pageControlsBridge-0pX9s-3k.js";
|
|
8
8
|
import { t as executionsControls } from "./pageControlSpecs-DZJ9K37m.js";
|
|
9
|
-
import { t as TagFilterSelect } from "./TagFilterSelect-
|
|
9
|
+
import { t as TagFilterSelect } from "./TagFilterSelect-DcusTt1p.js";
|
|
10
10
|
import { n as useNavigationV2 } from "./useNavigationV2-C2WeqN7d.js";
|
|
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-
|
|
12
|
-
import {
|
|
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-B3h8jqP0.js";
|
|
12
|
+
import { t as Disclosure } from "./Disclosure-DQiUKrqd.js";
|
|
13
13
|
import { n as formatRunVersion } from "./run-display-BycKYSU0.js";
|
|
14
|
-
import { dn as runDurationMs, ln as formatElapsedMs } from "./FluidGridsProvider-
|
|
14
|
+
import { dn as runDurationMs, ln as formatElapsedMs } from "./FluidGridsProvider-TQ-aDPtn.js";
|
|
15
15
|
import { r as useRunHumanRequests } from "./useHumanRequests-ZiR0sSzS.js";
|
|
16
16
|
import { n as runListLinkKey, t as runListFilterFromSearch } from "./run-list-links-eUhZB1ju.js";
|
|
17
|
-
import {
|
|
17
|
+
import { t as TechnicalDetails } from "./TechnicalDetails-D4xGy201.js";
|
|
18
|
+
import { t as RunActionsMenu } from "./RunActionsMenu-BE_1r3bF.js";
|
|
19
|
+
import { h as useWorkflowDefinitions } from "./useWorkflows-CRUlQBd3.js";
|
|
18
20
|
import { t as FluidGridsDocsLink } from "./FluidGridsDocsLink-JxkBpOeb.js";
|
|
19
21
|
import { s as useFluidGridsPermission, t as FLUIDGRIDS_PERMISSIONS } from "./constants-dcxg6zG6.js";
|
|
20
|
-
import { C as jsonArg, F as startBatchOperation, I as startBatchTerminate, P as startBatchExport, m as fetchBatchOperations, n as cancelBatchOperation, p as fetchBatchOperation, x as fetchSearchAttributes } from "./api-
|
|
22
|
+
import { C as jsonArg, F as startBatchOperation, I as startBatchTerminate, P as startBatchExport, m as fetchBatchOperations, n as cancelBatchOperation, p as fetchBatchOperation, x as fetchSearchAttributes } from "./api-m8hX_l2k.js";
|
|
21
23
|
import { a as RUN_CONTROL_DIALOG_STYLE, c as parseJsonInput, i as NativeSelect, o as StatusPill, r as JsonField, t as FieldError, u as useResource } from "./shared-CMfn30xT.js";
|
|
22
|
-
import { Cr as WorkflowBatchOperationUpdatedDocument } from "./graphql-operation-types-
|
|
24
|
+
import { Cr as WorkflowBatchOperationUpdatedDocument } from "./graphql-operation-types-DZVhCBEi.js";
|
|
23
25
|
import { $F as WorkflowBatchOperationType, vI as WorkflowResetType } from "./graphql-types-v6CTGwA0.js";
|
|
24
26
|
import { Fragment, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
25
27
|
import { useNavigate, useSearchParams } from "react-router";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
3
3
|
import { _ as throwIfResultError, n as getFluidGridsClient } from "./client-C9XSzSXr.js";
|
|
4
|
-
import { An as SetRunFailureTriageEnabledDocument, _n as RunFailureClustersDocument, et as DismissRunFailureClusterDocument, gt as FgTriageFailedRunsDocument, vn as RunFailureTriageSettingsDocument } from "./graphql-operation-types-
|
|
4
|
+
import { An as SetRunFailureTriageEnabledDocument, _n as RunFailureClustersDocument, et as DismissRunFailureClusterDocument, gt as FgTriageFailedRunsDocument, vn as RunFailureTriageSettingsDocument } from "./graphql-operation-types-DZVhCBEi.js";
|
|
5
5
|
import { qD as RunFailureClusterStatus } from "./graphql-types-v6CTGwA0.js";
|
|
6
6
|
import { useCallback, useEffect, useState } from "react";
|
|
7
7
|
import { Icon } from "@iconify/react";
|
|
@@ -4,12 +4,12 @@ import { C as resetFluidGridsConfig, E as validateTrustedOrigin, T as setFluidGr
|
|
|
4
4
|
import { i as getGlobalStoreClient, o as resetGlobalStoreClient, r as createGlobalStoreClient, s as setGlobalStoreClient, t as provideNodeRegistryRefresh } from "./node-registry-refresh-Dy0uRg9f.js";
|
|
5
5
|
import { A as nodeAccent, C as nodeAdaptersOf, D as NodeCard, E as resolveOutputHandles, H as useFlowStore, I as partitionStickyNotes, L as resolveStickyColor, N as DEFAULT_STICKY_COLOR, O as NodeCardBody, P as STICKY_COLORS, R as stickySurfaceStyle, T as resolveInputHandles, V as STICKY_NOTE_TYPE, W as isNodeTrigger, _ as LogicNodeCard, b as alignPlainOutputEdges, i as WAIT_FOR_SIGNAL_NODE_TYPE, j as NodeTypeIcon, k as NodeCardHeader, l as interfaceFields, m as readSignalName, n as synchronizeOperationUpdate, p as readCodeWorkflowState, r as CODE_WORKFLOW_NODE_TYPE, t as resolveOperationName, u as interfaceHandlers, v as InputHandles, w as outputHandlesSpacerHeight, x as hasNodeManifest, y as OutputHandles } from "./node-operation-selection-DAbS6jSY.js";
|
|
6
6
|
import { n as FluidGridsTranslationProvider, r as useTr, t as ENGLISH_FALLBACK_TRANSLATOR } from "./TranslationBridge-Da-TPgQm.js";
|
|
7
|
-
import {
|
|
8
|
-
import { Dn as SaveWorkflowDraftDocument, M as CreateWorkflowDefinitionDocument, Mt as NodePaletteEntriesDocument, Or as WorkflowDefinitionDocument, Yn as TriggerWorkflowDocument, ct as ExecutionDetailDocument, h as BuilderRunStatusDocument, jt as NodeManifestsDocument, m as BuilderRunNodeDetailsDocument, ot as EventRegistrationsDocument, st as ExecuteStepDocument, yn as RunFromNodeDocument, z as CreateWorkflowVersionDocument } from "./graphql-operation-types-
|
|
7
|
+
import { l as useDurableFunctionNodesEnabled } from "./feature-flags-B_b8PJ6Z.js";
|
|
8
|
+
import { Dn as SaveWorkflowDraftDocument, M as CreateWorkflowDefinitionDocument, Mt as NodePaletteEntriesDocument, Or as WorkflowDefinitionDocument, Yn as TriggerWorkflowDocument, ct as ExecutionDetailDocument, h as BuilderRunStatusDocument, jt as NodeManifestsDocument, m as BuilderRunNodeDetailsDocument, ot as EventRegistrationsDocument, st as ExecuteStepDocument, yn as RunFromNodeDocument, z as CreateWorkflowVersionDocument } from "./graphql-operation-types-DZVhCBEi.js";
|
|
9
9
|
import { a as collectExtensions, n as QUOTA_EXHAUSTED_CODE, o as errorCodesOf, r as RUNS_QUOTA_NAME, s as findQuotaRefusal } from "./quota-Cdt8yz7N.js";
|
|
10
10
|
import { i as emitRunStarted, n as emitRunFailed, r as emitRunLimitHit, s as emitWorkflowCreated } from "./fluidgridsEvents-Dm5CaHtr.js";
|
|
11
11
|
import { n as useFgAskable } from "./askAboutBridge-BV8m95kk.js";
|
|
12
|
-
import { t as fetchAllNodeEndpointConfigs } from "./node-endpoint-configs-
|
|
12
|
+
import { t as fetchAllNodeEndpointConfigs } from "./node-endpoint-configs-BI7zc8eM.js";
|
|
13
13
|
import { createContext, memo, useCallback, useContext, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
14
14
|
import { useNavigate, useParams } from "react-router";
|
|
15
15
|
import { ApolloProvider } from "@apollo/client/react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as __exportAll } from "./rolldown-runtime-hDbaFkMy.js";
|
|
3
|
-
import { d as useRestoreWorkflowVersion, h as useWorkflowDefinitions } from "./useWorkflows-
|
|
4
|
-
import { i as versionsOfWorkflow, t as VersionDiffDialog } from "./VersionDiffDialog-
|
|
3
|
+
import { d as useRestoreWorkflowVersion, h as useWorkflowDefinitions } from "./useWorkflows-CRUlQBd3.js";
|
|
4
|
+
import { i as versionsOfWorkflow, t as VersionDiffDialog } from "./VersionDiffDialog-c27yet_-.js";
|
|
5
5
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
6
6
|
import { x as getFluidGridsConfig } from "./client-C9XSzSXr.js";
|
|
7
7
|
import { n as useFluidGridsPageControls } from "./pageControlsBridge-0pX9s-3k.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as __exportAll } from "./rolldown-runtime-hDbaFkMy.js";
|
|
3
3
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
4
|
-
import { o as useRunReplayActions, r as useInsightsData } from "./useObservability-
|
|
4
|
+
import { o as useRunReplayActions, r as useInsightsData } from "./useObservability-BASo2sA3.js";
|
|
5
5
|
import { a as getTopFailingWorkflows, i as getTopFailingNodes, n as formatDuration, o as percentage, r as getFailureBreakdown } from "./utils-uaL5UVxb.js";
|
|
6
|
-
import { n as FailureTriagePanel } from "./FailureTriagePanel-
|
|
7
|
-
import {
|
|
6
|
+
import { n as FailureTriagePanel } from "./FailureTriagePanel-BjatYyAa.js";
|
|
7
|
+
import { c as useContinuousOptimisationEnabled } from "./feature-flags-B_b8PJ6Z.js";
|
|
8
8
|
import { i as SdkPermissionButton, s as useFluidGridsPermission, t as FLUIDGRIDS_PERMISSIONS } from "./constants-dcxg6zG6.js";
|
|
9
9
|
import { Cw as OptimisationSuggestionStatus, Sw as OptimisationKind, xw as OptimisationDismissReason } from "./graphql-types-v6CTGwA0.js";
|
|
10
10
|
import { _ as throwIfResultError, n as getFluidGridsClient } from "./client-C9XSzSXr.js";
|
|
11
|
-
import { $ as DismissOptimisationSuggestionDocument,
|
|
11
|
+
import { $ as DismissOptimisationSuggestionDocument, Di as WorkspaceAiUsageDocument, E as ContinuousOptimisationSettingsDocument, In as SnoozeOptimisationSuggestionDocument, Lt as OptimisationSuggestionsDocument, Wt as ProposeOptimisationDocument, at as ErrorAnalyticsDocument, ht as FgRunOptimisationScanDocument, kn as SetContinuousOptimisationEnabledDocument, qr as WorkflowProposalDocument } from "./graphql-operation-types-DZVhCBEi.js";
|
|
12
12
|
import { a as formatTokens, c as DISMISS_REASONS, f as monthlySavingLabel, i as aiSpendPeriod, l as evidenceFacts, p as shortRunId, r as aiCost, s as runsOfWorkflowPath, t as AI_SPEND_RANGE_DAYS, u as evidenceWindowDays } from "./ai-usage-bmUn-gJP.js";
|
|
13
13
|
import { i as utcDay, r as runListPath } from "./run-list-links-eUhZB1ju.js";
|
|
14
14
|
import { t as proposalCanvasPath } from "./useRequestedProposal-B7uPXfZB.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { a as DialogFooter, i as DialogDescription, l as DialogTitle, o as DialogHeader, r as DialogContent, t as Dialog } from "./dialog-Cjb4lB4D.js";
|
|
3
3
|
import { t as Button } from "./button-DG7y_FVJ.js";
|
|
4
|
-
import {
|
|
4
|
+
import { a as Badge } from "./TemplateCard--WYJZlA_.js";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { AlertTriangle, CheckCircle2, Download, ExternalLink, Loader2, Puzzle, ShoppingCart } from "lucide-react";
|
|
7
7
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as __exportAll } from "./rolldown-runtime-hDbaFkMy.js";
|
|
3
3
|
import { n as getFluidGridsClient } from "./client-C9XSzSXr.js";
|
|
4
|
-
import { t as fetchAllNodeEndpointConfigs } from "./node-endpoint-configs-
|
|
5
|
-
import { At as NodeManifestDocument, Ot as NodeEndpointConfigDocument, kt as NodeEndpointConfigsDocument } from "./graphql-operation-types-
|
|
4
|
+
import { t as fetchAllNodeEndpointConfigs } from "./node-endpoint-configs-BI7zc8eM.js";
|
|
5
|
+
import { At as NodeManifestDocument, Ot as NodeEndpointConfigDocument, kt as NodeEndpointConfigsDocument } from "./graphql-operation-types-DZVhCBEi.js";
|
|
6
6
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
7
7
|
import { t as PublishCustomNodeAction } from "./PublishCustomNodeAction-5XXnSA3H.js";
|
|
8
8
|
import { useCallback, useEffect, useMemo, useState } from "react";
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { h as usePhaseDFlags } from "./feature-flags-B_b8PJ6Z.js";
|
|
3
|
+
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
4
|
+
import { m as describeOperationError } from "./client-C9XSzSXr.js";
|
|
5
|
+
import { t as downloadBlob } from "./workflow-transfer-CQnQC-ke.js";
|
|
6
|
+
import { f as buildTemplateCodeDownload, p as readTemplateCode } from "./TemplateCard--WYJZlA_.js";
|
|
7
|
+
import { useState } from "react";
|
|
8
|
+
import { Icon } from "@iconify/react";
|
|
9
|
+
import { cn } from "@burdenoff/fe-libs/utils";
|
|
10
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { toast } from "sonner";
|
|
12
|
+
import { Button } from "@burdenoff/fe-libs/ui";
|
|
13
|
+
|
|
14
|
+
// src/components/OpenTemplateAsCodeButton.tsx
|
|
15
|
+
/**
|
|
16
|
+
* *Open as code* on a store template (BOFF-9907, PLAN-D D2): downloads the
|
|
17
|
+
* template's project files as a zip, so it can be opened in an editor and
|
|
18
|
+
* pushed with the FluidGrids CLI.
|
|
19
|
+
*
|
|
20
|
+
* Shown only while `fluidgrids.code-first` and `fluidgrids.code-templates`
|
|
21
|
+
* are on and the template carries usable code (`content.sources`); otherwise
|
|
22
|
+
* it renders nothing, so pages without the flags are exactly as before. The
|
|
23
|
+
* files come from the template itself: nothing is sent to the service.
|
|
24
|
+
*/
|
|
25
|
+
function OpenTemplateAsCodeButton(props) {
|
|
26
|
+
const { codeTemplates } = usePhaseDFlags();
|
|
27
|
+
if (!codeTemplates) return null;
|
|
28
|
+
const code = readTemplateCode(props.content);
|
|
29
|
+
if (!code) return null;
|
|
30
|
+
return /* @__PURE__ */ jsx(OpenTemplateAsCode, {
|
|
31
|
+
...props,
|
|
32
|
+
code
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* A header action row with *Open as code* beside `children` (the page's own
|
|
37
|
+
* action). Without the gate or usable code it renders `children` alone, with
|
|
38
|
+
* no wrapper element, so the page's DOM is exactly what it was before.
|
|
39
|
+
*/
|
|
40
|
+
function WithOpenTemplateAsCode({ templateName, content, ...rest }) {
|
|
41
|
+
const { codeTemplates } = usePhaseDFlags();
|
|
42
|
+
const code = codeTemplates && templateName !== null ? readTemplateCode(content) : null;
|
|
43
|
+
return /* @__PURE__ */ jsx(TemplateActionsRow, {
|
|
44
|
+
templateName: templateName ?? "",
|
|
45
|
+
code,
|
|
46
|
+
...rest
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* The row itself, once the gate and the code were read (exported for tests):
|
|
51
|
+
* `children` alone without code, else a wrapper holding both buttons.
|
|
52
|
+
*/
|
|
53
|
+
function TemplateActionsRow({ templateName, code, className, wrapperClassName, children }) {
|
|
54
|
+
if (!code) return /* @__PURE__ */ jsx(Fragment$1, { children });
|
|
55
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
56
|
+
className: wrapperClassName,
|
|
57
|
+
"data-testid": "fluidgrids-template-actions",
|
|
58
|
+
children: [/* @__PURE__ */ jsx(OpenTemplateAsCode, {
|
|
59
|
+
templateName,
|
|
60
|
+
code,
|
|
61
|
+
className
|
|
62
|
+
}), children]
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
/** The button itself, for a template whose code was read (exported for tests). */
|
|
66
|
+
function OpenTemplateAsCode({ templateName, code, className, save = downloadBlob }) {
|
|
67
|
+
const tr = useTr();
|
|
68
|
+
const [busy, setBusy] = useState(false);
|
|
69
|
+
const open = async () => {
|
|
70
|
+
setBusy(true);
|
|
71
|
+
try {
|
|
72
|
+
const { filename, blob } = await buildTemplateCodeDownload(templateName, code);
|
|
73
|
+
save(filename, blob);
|
|
74
|
+
} catch (error) {
|
|
75
|
+
toast.error(tr("fluidgrids.templates.openAsCode.failed", "The template code could not be downloaded"), { description: describeOperationError(error) });
|
|
76
|
+
} finally {
|
|
77
|
+
setBusy(false);
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
return /* @__PURE__ */ jsxs(Button, {
|
|
81
|
+
variant: "outline",
|
|
82
|
+
onClick: () => void open(),
|
|
83
|
+
disabled: busy,
|
|
84
|
+
className: cn("gap-2", className),
|
|
85
|
+
"data-testid": "fluidgrids-template-open-as-code",
|
|
86
|
+
title: tr("fluidgrids.templates.openAsCode.hint", "Download this template as a FluidGrids project ({{count}} files)", { count: String(code.files.length) }),
|
|
87
|
+
children: [/* @__PURE__ */ jsx(Icon, {
|
|
88
|
+
icon: "mynaui:code",
|
|
89
|
+
className: "size-4"
|
|
90
|
+
}), tr("fluidgrids.templates.openAsCode.button", "Open as code")]
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export { WithOpenTemplateAsCode as n, OpenTemplateAsCodeButton as t };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
3
|
+
import { n as formatTemplatePrice } from "./TemplateCard--WYJZlA_.js";
|
|
4
|
+
import { t as ConfirmActionDialog } from "./ConfirmActionDialog-D9Pir3bc.js";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
// src/modules/templates/components/PaidTemplateConfirm.tsx
|
|
8
|
+
function PaidTemplateConfirm({ template, onConfirm, onCancel }) {
|
|
9
|
+
const tr = useTr();
|
|
10
|
+
const price = template ? formatTemplatePrice(template.price, template.currency) : "";
|
|
11
|
+
return /* @__PURE__ */ jsx(ConfirmActionDialog, {
|
|
12
|
+
open: template !== null,
|
|
13
|
+
title: tr("fluidgrids.templates.templatesPage.paidConfirmTitle", "Use a paid template?"),
|
|
14
|
+
description: tr("fluidgrids.templates.templatesPage.paidConfirmDescription", "\"{{name}}\" costs {{price}}. Using it adds a copy to your workspace that you can change.", {
|
|
15
|
+
name: template?.name ?? "",
|
|
16
|
+
price
|
|
17
|
+
}),
|
|
18
|
+
confirmLabel: tr("fluidgrids.templates.templatesPage.paidConfirmAction", "Use for {{price}}", { price }),
|
|
19
|
+
cancelLabel: tr("fluidgrids.templates.templatesPage.paidConfirmCancel", "Not now"),
|
|
20
|
+
onConfirm,
|
|
21
|
+
onOpenChange: (open) => {
|
|
22
|
+
if (!open) onCancel();
|
|
23
|
+
},
|
|
24
|
+
"data-testid": "paid-template-confirm"
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { PaidTemplateConfirm as t };
|
|
@@ -1,59 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
3
|
-
import { useId, useState } from "react";
|
|
4
3
|
import { Icon } from "@iconify/react";
|
|
5
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
5
|
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger } from "@burdenoff/fe-libs/ui";
|
|
7
6
|
import { Button as Button$1 } from "@burdenoff/fe-libs/button";
|
|
8
7
|
|
|
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
8
|
// src/modules/executions/components/RunActionsMenu.tsx
|
|
58
9
|
/**
|
|
59
10
|
* The "⋯" menu of a run's or row's extra actions (BOFF-11846): Pause,
|
|
@@ -103,4 +54,4 @@ function RunActionsMenu({ items, toggles = [], label, "data-testid": testId = "r
|
|
|
103
54
|
})] });
|
|
104
55
|
}
|
|
105
56
|
|
|
106
|
-
export {
|
|
57
|
+
export { RunActionsMenu as t };
|
|
@@ -7,7 +7,8 @@ import { a as useRunners, i as useRunnerActions, r as runnerInstallCommand, t as
|
|
|
7
7
|
import { t as FluidGridsDocsLink } from "./FluidGridsDocsLink-JxkBpOeb.js";
|
|
8
8
|
import { t as ConfirmActionDialog } from "./ConfirmActionDialog-D9Pir3bc.js";
|
|
9
9
|
import { n as useNavigationV2 } from "./useNavigationV2-C2WeqN7d.js";
|
|
10
|
-
import {
|
|
10
|
+
import { t as RunActionsMenu } from "./RunActionsMenu-BE_1r3bF.js";
|
|
11
|
+
import { t as TechnicalDetails } from "./TechnicalDetails-D4xGy201.js";
|
|
11
12
|
import { useCallback, useRef, useState } from "react";
|
|
12
13
|
import { Icon } from "@iconify/react";
|
|
13
14
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -3,18 +3,18 @@ import { t as __exportAll } from "./rolldown-runtime-hDbaFkMy.js";
|
|
|
3
3
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
4
4
|
import { s as useFluidGridsPermission, t as FLUIDGRIDS_PERMISSIONS } from "./constants-dcxg6zG6.js";
|
|
5
5
|
import { n as useManagedAiPolicyAuthority } from "./ManagedAiPolicyAuthorityContext-CNkxIOZ1.js";
|
|
6
|
-
import { Et as ManagedAiWorkspacePolicyDocument, Hr as WorkflowNotificationSettingsDocument, ar as UpdateDurableHistoryCapsDocument, nt as DurableHistoryCapsDocument, or as UpdateManagedAiWorkspacePolicyDocument, ur as UpdateWorkflowNotificationSettingsDocument } from "./graphql-operation-types-
|
|
6
|
+
import { Et as ManagedAiWorkspacePolicyDocument, Hr as WorkflowNotificationSettingsDocument, ar as UpdateDurableHistoryCapsDocument, nt as DurableHistoryCapsDocument, or as UpdateManagedAiWorkspacePolicyDocument, ur as UpdateWorkflowNotificationSettingsDocument } from "./graphql-operation-types-DZVhCBEi.js";
|
|
7
7
|
import { c as budgetInputValue, d as withBudgetMode, f as EffectBadge, m as useActionPolicies, n as checkCodecServerUrl, p as effectLabel, s as BUDGET_DIMENSIONS, u as withBudgetLimit } from "./codec-client-CJ95Rmqo.js";
|
|
8
8
|
import { _ as throwIfResultError, m as describeOperationError, n as getFluidGridsClient, x as getFluidGridsConfig } from "./client-C9XSzSXr.js";
|
|
9
|
-
import {
|
|
10
|
-
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-
|
|
9
|
+
import { d as useFluidGridsFlag, m as usePhaseCFlags, t as FLUIDGRIDS_FLAGS, u as useDurableParityEnabled } from "./feature-flags-B_b8PJ6Z.js";
|
|
10
|
+
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-m8hX_l2k.js";
|
|
11
11
|
import { i as NativeSelect, o as StatusPill, t as FieldError, u as useResource } from "./shared-CMfn30xT.js";
|
|
12
12
|
import { EI as WorkflowSearchAttributeType } from "./graphql-types-v6CTGwA0.js";
|
|
13
13
|
import { H as useFlowStore } from "./node-operation-selection-DAbS6jSY.js";
|
|
14
|
-
import { Nt as useSaveStatusStore, rn as findSaveConflict } from "./FluidGridsProvider-
|
|
15
|
-
import { a as useLogStreamDestinations, i as useLogStreamDestinationActions } from "./useObservability-
|
|
14
|
+
import { Nt as useSaveStatusStore, rn as findSaveConflict } from "./FluidGridsProvider-TQ-aDPtn.js";
|
|
15
|
+
import { a as useLogStreamDestinations, i as useLogStreamDestinationActions } from "./useObservability-BASo2sA3.js";
|
|
16
16
|
import { n as useConnections } from "./useConnections-Cs7LCWEM.js";
|
|
17
|
-
import { Nt as useUpdateWorkflowDefinitionMutation, Rt as useWorkflowDefinitionQuery, Vt as useWorkflowDefinitionsQuery, n as useAgentDefinitions } from "./useAgentDefinitions-
|
|
17
|
+
import { Nt as useUpdateWorkflowDefinitionMutation, Rt as useWorkflowDefinitionQuery, Vt as useWorkflowDefinitionsQuery, n as useAgentDefinitions } from "./useAgentDefinitions-B4sw7bLw.js";
|
|
18
18
|
import { a as formToInput$2, i as emptyAgentForm, n as agentToForm, o as grantDays, r as describeRule, t as AgentFormError } from "./agent-form-Bfvm32j1.js";
|
|
19
19
|
import { i as getGlobalStoreClient } from "./node-registry-refresh-Dy0uRg9f.js";
|
|
20
20
|
import { t as FluidGridsDocsLink } from "./FluidGridsDocsLink-JxkBpOeb.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as useAvailableTags } from "./useEntityTags-
|
|
2
|
+
import { r as useAvailableTags } from "./useEntityTags-BpDeLhzV.js";
|
|
3
3
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -2,10 +2,10 @@
|
|
|
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 { m as describeOperationError } from "./client-C9XSzSXr.js";
|
|
5
|
-
import {
|
|
5
|
+
import { g as useSelfHostedWorkersEnabled } from "./feature-flags-B_b8PJ6Z.js";
|
|
6
6
|
import { s as useFluidGridsPermission, t as FLUIDGRIDS_PERMISSIONS } from "./constants-dcxg6zG6.js";
|
|
7
7
|
import { a as RUN_CONTROL_DIALOG_STYLE, i as NativeSelect, o as StatusPill, t as FieldError, u as useResource } from "./shared-CMfn30xT.js";
|
|
8
|
-
import { a as fetchTaskQueueStats, c as fetchWorkflowWorkers, d as updateTaskQueue, i as deleteWorkerToken, l as rotateWorkerToken, n as createWorkerToken, o as fetchTaskQueues, r as deleteTaskQueue, s as fetchWorkerTokens, t as createTaskQueue, u as setWorkerTokenConnectionAllowlist } from "./api-
|
|
8
|
+
import { a as fetchTaskQueueStats, c as fetchWorkflowWorkers, d as updateTaskQueue, i as deleteWorkerToken, l as rotateWorkerToken, n as createWorkerToken, o as fetchTaskQueues, r as deleteTaskQueue, s as fetchWorkerTokens, t as createTaskQueue, u as setWorkerTokenConnectionAllowlist } from "./api-Dw8nfVRD.js";
|
|
9
9
|
import { nI as WorkflowEnvironment } from "./graphql-types-v6CTGwA0.js";
|
|
10
10
|
import { useState } from "react";
|
|
11
11
|
import { Icon } from "@iconify/react";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
3
|
+
import { t as Disclosure } from "./Disclosure-DQiUKrqd.js";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
// src/modules/executions/components/TechnicalDetails.tsx
|
|
7
|
+
function TechnicalDetails({ children, defaultOpen, className, "data-testid": testId }) {
|
|
8
|
+
const tr = useTr();
|
|
9
|
+
return /* @__PURE__ */ jsx(Disclosure, {
|
|
10
|
+
closedLabel: tr("fluidgrids.executions.technicalDetails.show", "Show technical details"),
|
|
11
|
+
openLabel: tr("fluidgrids.executions.technicalDetails.hide", "Hide technical details"),
|
|
12
|
+
defaultOpen,
|
|
13
|
+
className,
|
|
14
|
+
"data-testid": testId,
|
|
15
|
+
children
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { TechnicalDetails as t };
|