@workflow/web 5.0.0-beta.26 → 5.0.0-beta.28
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/build/client/assets/{encryption-g14N5vQl.js → encryption-BQTnudEZ.js} +1 -1
- package/build/client/assets/{entry.client-DOJDY_4b.js → entry.client-DQZ2hM2V.js} +24 -24
- package/build/client/assets/{highlighted-body-B3W2YXNL-QrddlyZu.js → highlighted-body-B3W2YXNL-CQ-a-eYE.js} +1 -1
- package/build/client/assets/{home-BNApVOct.js → home-DuZRFOMe.js} +1698 -234
- package/build/client/assets/{index-B6-SzLmT.js → index-ConSkUmc.js} +0 -2
- package/build/client/assets/{index-C7C6cDW5.js → index-HqNj_XIX.js} +10 -10
- package/build/client/assets/{manifest-379f050f.js → manifest-bb838d97.js} +1 -1
- package/build/client/assets/{mermaid-3ZIDBTTL-Cg-Mp5Kj.js → mermaid-3ZIDBTTL-QcES6x1o.js} +767 -279
- package/build/client/assets/root-BT69a3LD.css +1 -0
- package/build/client/assets/{root-BsPxYsbK.js → root-BiHTsCtP.js} +1 -1
- package/build/client/assets/{run-detail-sr7StYc6.js → run-detail-DSpZ5dnN.js} +925 -759
- package/build/client/assets/server-build-BkKXPNcO.css +1 -0
- package/build/client/assets/{workflow-graph-viewer-CcCwLmnF.js → workflow-graph-viewer-CyKfZJOQ.js} +227 -220
- package/build/client/assets/{zstd-browser-decoder-OOeWOMJw.js → zstd-browser-decoder-BigjGoI1.js} +2 -2
- package/build/server/assets/{app-DQ35jFT1.js → app-Cl6-bhGd.js} +43 -43
- package/build/server/assets/{highlighted-body-B3W2YXNL-DUlvgLoF.js → highlighted-body-B3W2YXNL-Daljn6fi.js} +4 -4
- package/build/server/assets/index-B_N7SdQh.js +115 -0
- package/build/server/assets/{index-BafExO0s.js → index-BfLBLRRi.js} +10 -10
- package/build/server/assets/{mermaid-3ZIDBTTL-BdnRYE9a.js → mermaid-3ZIDBTTL-xnUhfFrD.js} +4 -4
- package/build/server/assets/{server-build-0CazaFkH.js → server-build-D5Nuwxaw.js} +40483 -37602
- package/build/server/assets/{token-DK_R23fr.js → token-DDgfwjzz.js} +2 -2
- package/build/server/assets/{token-util-CaJAmsYa.js → token-util-CthtfGuG.js} +2 -2
- package/build/server/assets/{zstd-browser-decoder-pCjqxVHM.js → zstd-browser-decoder-zp5ZpR7T.js} +5 -5
- package/build/server/index.js +1 -1
- package/package.json +11 -9
- package/build/client/assets/root-F_dqJDC7.css +0 -1
- package/build/client/assets/server-build-DVBDkRDS.css +0 -1
- package/build/server/assets/index-BgRt1-Z6.js +0 -100
package/build/client/assets/{workflow-graph-viewer-CcCwLmnF.js → workflow-graph-viewer-CyKfZJOQ.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { c as createLucideIcon,
|
|
4
|
+
import { c as createLucideIcon, H as ChevronDown, W as cn, e as cn$1, M as cva, b2 as composeRefs, I as useComposedRefs, b3 as useFloating, b4 as offset, b5 as shift, b6 as limitShift, b7 as flip, b8 as size, b9 as arrow, ba as hide, bb as autoUpdate, C as ChevronRight, bc as cancelRun$1, bd as reenqueueRun$1, be as wakeUpRun$1, bf as resumeHook$1, bg as fetchHookToken$1, bh as recreateRun$1, T as Tooltip, a as TooltipTrigger, b as TooltipContent, x as createContextScope$1, n as useComposedRefs$1, y as createSlot, aa as formatDuration, B as Button, t as toast, s as useId$1, P as Primitive$1, o as composeEventHandlers$1, E as useControllableState$1, m as useCallbackRef$2, N as Presence$1 } from "./mermaid-3ZIDBTTL-QcES6x1o.js";
|
|
5
5
|
import { r as reactExports, j as jsxRuntimeExports, f as reactDomExports, R as ReactExports, I as React, G as ReactDOM, a as requireReact, g as getDefaultExportFromCjs } from "./index-BXZSIDEp.js";
|
|
6
|
-
import { V as VERCEL_403_ERROR_MESSAGE } from "./index-
|
|
6
|
+
import { V as VERCEL_403_ERROR_MESSAGE } from "./index-ConSkUmc.js";
|
|
7
7
|
function parseName(tag, name) {
|
|
8
8
|
if (typeof name !== "string") {
|
|
9
9
|
return null;
|
|
@@ -42,7 +42,7 @@ function parseStepName(name) {
|
|
|
42
42
|
* This source code is licensed under the ISC license.
|
|
43
43
|
* See the LICENSE file in the root directory of this source tree.
|
|
44
44
|
*/
|
|
45
|
-
const __iconNode$
|
|
45
|
+
const __iconNode$f = [
|
|
46
46
|
["path", { d: "M6.87 6.87a8 8 0 1 0 11.26 11.26", key: "3on8tj" }],
|
|
47
47
|
["path", { d: "M19.9 14.25a8 8 0 0 0-9.15-9.15", key: "15ghsc" }],
|
|
48
48
|
["path", { d: "m22 6-3-3", key: "1opdir" }],
|
|
@@ -50,31 +50,15 @@ const __iconNode$h = [
|
|
|
50
50
|
["path", { d: "m2 2 20 20", key: "1ooewy" }],
|
|
51
51
|
["path", { d: "M4 4 2 6", key: "1ycko6" }]
|
|
52
52
|
];
|
|
53
|
-
const AlarmClockOff = createLucideIcon("alarm-clock-off", __iconNode$
|
|
53
|
+
const AlarmClockOff = createLucideIcon("alarm-clock-off", __iconNode$f);
|
|
54
54
|
/**
|
|
55
55
|
* @license lucide-react v0.575.0 - ISC
|
|
56
56
|
*
|
|
57
57
|
* This source code is licensed under the ISC license.
|
|
58
58
|
* See the LICENSE file in the root directory of this source tree.
|
|
59
59
|
*/
|
|
60
|
-
const __iconNode$
|
|
61
|
-
const Check = createLucideIcon("check", __iconNode$
|
|
62
|
-
/**
|
|
63
|
-
* @license lucide-react v0.575.0 - ISC
|
|
64
|
-
*
|
|
65
|
-
* This source code is licensed under the ISC license.
|
|
66
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
67
|
-
*/
|
|
68
|
-
const __iconNode$f = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
69
|
-
const ChevronDown = createLucideIcon("chevron-down", __iconNode$f);
|
|
70
|
-
/**
|
|
71
|
-
* @license lucide-react v0.575.0 - ISC
|
|
72
|
-
*
|
|
73
|
-
* This source code is licensed under the ISC license.
|
|
74
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
75
|
-
*/
|
|
76
|
-
const __iconNode$e = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
77
|
-
const ChevronRight = createLucideIcon("chevron-right", __iconNode$e);
|
|
60
|
+
const __iconNode$e = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
61
|
+
const Check = createLucideIcon("check", __iconNode$e);
|
|
78
62
|
/**
|
|
79
63
|
* @license lucide-react v0.575.0 - ISC
|
|
80
64
|
*
|
|
@@ -5527,6 +5511,175 @@ const DropdownMenuSeparator = reactExports.forwardRef(({ className, ...props },
|
|
|
5527
5511
|
}
|
|
5528
5512
|
));
|
|
5529
5513
|
DropdownMenuSeparator.displayName = Separator2.displayName;
|
|
5514
|
+
var shim = { exports: {} };
|
|
5515
|
+
var useSyncExternalStoreShim_production = {};
|
|
5516
|
+
/**
|
|
5517
|
+
* @license React
|
|
5518
|
+
* use-sync-external-store-shim.production.js
|
|
5519
|
+
*
|
|
5520
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
5521
|
+
*
|
|
5522
|
+
* This source code is licensed under the MIT license found in the
|
|
5523
|
+
* LICENSE file in the root directory of this source tree.
|
|
5524
|
+
*/
|
|
5525
|
+
var hasRequiredUseSyncExternalStoreShim_production;
|
|
5526
|
+
function requireUseSyncExternalStoreShim_production() {
|
|
5527
|
+
if (hasRequiredUseSyncExternalStoreShim_production) return useSyncExternalStoreShim_production;
|
|
5528
|
+
hasRequiredUseSyncExternalStoreShim_production = 1;
|
|
5529
|
+
var React2 = requireReact();
|
|
5530
|
+
function is(x, y) {
|
|
5531
|
+
return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
|
|
5532
|
+
}
|
|
5533
|
+
var objectIs = "function" === typeof Object.is ? Object.is : is, useState = React2.useState, useEffect = React2.useEffect, useLayoutEffect = React2.useLayoutEffect, useDebugValue2 = React2.useDebugValue;
|
|
5534
|
+
function useSyncExternalStore$2(subscribe, getSnapshot) {
|
|
5535
|
+
var value = getSnapshot(), _useState = useState({ inst: { value, getSnapshot } }), inst = _useState[0].inst, forceUpdate = _useState[1];
|
|
5536
|
+
useLayoutEffect(
|
|
5537
|
+
function() {
|
|
5538
|
+
inst.value = value;
|
|
5539
|
+
inst.getSnapshot = getSnapshot;
|
|
5540
|
+
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
5541
|
+
},
|
|
5542
|
+
[subscribe, value, getSnapshot]
|
|
5543
|
+
);
|
|
5544
|
+
useEffect(
|
|
5545
|
+
function() {
|
|
5546
|
+
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
5547
|
+
return subscribe(function() {
|
|
5548
|
+
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
5549
|
+
});
|
|
5550
|
+
},
|
|
5551
|
+
[subscribe]
|
|
5552
|
+
);
|
|
5553
|
+
useDebugValue2(value);
|
|
5554
|
+
return value;
|
|
5555
|
+
}
|
|
5556
|
+
function checkIfSnapshotChanged(inst) {
|
|
5557
|
+
var latestGetSnapshot = inst.getSnapshot;
|
|
5558
|
+
inst = inst.value;
|
|
5559
|
+
try {
|
|
5560
|
+
var nextValue = latestGetSnapshot();
|
|
5561
|
+
return !objectIs(inst, nextValue);
|
|
5562
|
+
} catch (error) {
|
|
5563
|
+
return true;
|
|
5564
|
+
}
|
|
5565
|
+
}
|
|
5566
|
+
function useSyncExternalStore$1(subscribe, getSnapshot) {
|
|
5567
|
+
return getSnapshot();
|
|
5568
|
+
}
|
|
5569
|
+
var shim2 = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
|
|
5570
|
+
useSyncExternalStoreShim_production.useSyncExternalStore = void 0 !== React2.useSyncExternalStore ? React2.useSyncExternalStore : shim2;
|
|
5571
|
+
return useSyncExternalStoreShim_production;
|
|
5572
|
+
}
|
|
5573
|
+
var hasRequiredShim;
|
|
5574
|
+
function requireShim() {
|
|
5575
|
+
if (hasRequiredShim) return shim.exports;
|
|
5576
|
+
hasRequiredShim = 1;
|
|
5577
|
+
{
|
|
5578
|
+
shim.exports = requireUseSyncExternalStoreShim_production();
|
|
5579
|
+
}
|
|
5580
|
+
return shim.exports;
|
|
5581
|
+
}
|
|
5582
|
+
const OBSERVABILITY_UPGRADE_REQUIRED_CODE = "observability-upgrade-required";
|
|
5583
|
+
const OBSERVABILITY_UPGRADE_REQUIRED_MESSAGE = "This workflow observability data is outside your current plan window. Upgrade Observability Plus to view up to 30 days of workflow data.";
|
|
5584
|
+
const OBSERVABILITY_UPGRADE_REQUIRED_TITLE = "Upgrade Observability Plus";
|
|
5585
|
+
class WorkflowWebAPIError extends Error {
|
|
5586
|
+
constructor(message2, options) {
|
|
5587
|
+
super(message2, { cause: options == null ? void 0 : options.cause });
|
|
5588
|
+
__publicField(this, "request");
|
|
5589
|
+
__publicField(this, "layer");
|
|
5590
|
+
this.name = "WorkflowWebAPIError";
|
|
5591
|
+
this.request = options == null ? void 0 : options.request;
|
|
5592
|
+
this.layer = options == null ? void 0 : options.layer;
|
|
5593
|
+
if ((options == null ? void 0 : options.cause) instanceof Error) {
|
|
5594
|
+
this.stack = `${this.stack}
|
|
5595
|
+
Caused by: ${options.cause.stack}`;
|
|
5596
|
+
}
|
|
5597
|
+
}
|
|
5598
|
+
}
|
|
5599
|
+
function createWorkflowAPIError(serverError) {
|
|
5600
|
+
return new WorkflowWebAPIError(serverError.message, {
|
|
5601
|
+
cause: serverError.cause,
|
|
5602
|
+
request: serverError.request,
|
|
5603
|
+
layer: serverError.layer
|
|
5604
|
+
});
|
|
5605
|
+
}
|
|
5606
|
+
function isObservabilityUpgradeRequired(error) {
|
|
5607
|
+
var _a, _b;
|
|
5608
|
+
return error instanceof WorkflowWebAPIError && ((_a = error.request) == null ? void 0 : _a.status) === 402 && ((_b = error.request) == null ? void 0 : _b.code) === OBSERVABILITY_UPGRADE_REQUIRED_CODE;
|
|
5609
|
+
}
|
|
5610
|
+
function getErrorTitle(error, fallback) {
|
|
5611
|
+
if (isObservabilityUpgradeRequired(error)) {
|
|
5612
|
+
return OBSERVABILITY_UPGRADE_REQUIRED_TITLE;
|
|
5613
|
+
}
|
|
5614
|
+
return fallback;
|
|
5615
|
+
}
|
|
5616
|
+
const getErrorMessage = (error) => {
|
|
5617
|
+
var _a;
|
|
5618
|
+
if (isObservabilityUpgradeRequired(error)) {
|
|
5619
|
+
return OBSERVABILITY_UPGRADE_REQUIRED_MESSAGE;
|
|
5620
|
+
}
|
|
5621
|
+
if ("layer" in error && error.layer) {
|
|
5622
|
+
if (error instanceof WorkflowWebAPIError) {
|
|
5623
|
+
if (((_a = error.request) == null ? void 0 : _a.status) === 403) {
|
|
5624
|
+
return VERCEL_403_ERROR_MESSAGE;
|
|
5625
|
+
}
|
|
5626
|
+
}
|
|
5627
|
+
return error.message;
|
|
5628
|
+
}
|
|
5629
|
+
return error instanceof Error ? error.message : "An error occurred";
|
|
5630
|
+
};
|
|
5631
|
+
async function unwrapServerActionResult(promise) {
|
|
5632
|
+
let result;
|
|
5633
|
+
try {
|
|
5634
|
+
result = await promise;
|
|
5635
|
+
} catch (error) {
|
|
5636
|
+
result = {
|
|
5637
|
+
success: false,
|
|
5638
|
+
error
|
|
5639
|
+
};
|
|
5640
|
+
}
|
|
5641
|
+
if (!result.success) {
|
|
5642
|
+
if (!result.error) {
|
|
5643
|
+
return {
|
|
5644
|
+
error: new WorkflowWebAPIError("Unknown error occurred", {
|
|
5645
|
+
layer: "client"
|
|
5646
|
+
}),
|
|
5647
|
+
result: null
|
|
5648
|
+
};
|
|
5649
|
+
}
|
|
5650
|
+
return {
|
|
5651
|
+
error: createWorkflowAPIError(result.error),
|
|
5652
|
+
result: null
|
|
5653
|
+
};
|
|
5654
|
+
}
|
|
5655
|
+
return { error: null, result: result.data };
|
|
5656
|
+
}
|
|
5657
|
+
async function unwrapOrThrow(promise) {
|
|
5658
|
+
const { error, result } = await unwrapServerActionResult(promise);
|
|
5659
|
+
if (error) throw error;
|
|
5660
|
+
return result;
|
|
5661
|
+
}
|
|
5662
|
+
async function cancelRun(env, runId) {
|
|
5663
|
+
await unwrapOrThrow(cancelRun$1(env, runId));
|
|
5664
|
+
}
|
|
5665
|
+
async function recreateRun(env, runId) {
|
|
5666
|
+
return unwrapOrThrow(recreateRun$1(env, runId));
|
|
5667
|
+
}
|
|
5668
|
+
async function reenqueueRun(env, runId) {
|
|
5669
|
+
await unwrapOrThrow(reenqueueRun$1(env, runId));
|
|
5670
|
+
}
|
|
5671
|
+
async function wakeUpRun(env, runId, options) {
|
|
5672
|
+
return unwrapOrThrow(wakeUpRun$1(env, runId, options));
|
|
5673
|
+
}
|
|
5674
|
+
async function resumeHook(env, token, payload) {
|
|
5675
|
+
return unwrapOrThrow(resumeHook$1(env, token, payload));
|
|
5676
|
+
}
|
|
5677
|
+
async function fetchHookToken(env, runId, hookId) {
|
|
5678
|
+
const { token } = await unwrapOrThrow(
|
|
5679
|
+
fetchHookToken$1(env, runId, hookId)
|
|
5680
|
+
);
|
|
5681
|
+
return token;
|
|
5682
|
+
}
|
|
5530
5683
|
function CopyableText({
|
|
5531
5684
|
text,
|
|
5532
5685
|
children: children2,
|
|
@@ -5621,85 +5774,6 @@ function Skeleton({
|
|
|
5621
5774
|
}
|
|
5622
5775
|
);
|
|
5623
5776
|
}
|
|
5624
|
-
class WorkflowWebAPIError extends Error {
|
|
5625
|
-
constructor(message2, options) {
|
|
5626
|
-
super(message2, { cause: options == null ? void 0 : options.cause });
|
|
5627
|
-
__publicField(this, "request");
|
|
5628
|
-
__publicField(this, "layer");
|
|
5629
|
-
this.name = "WorkflowWebAPIError";
|
|
5630
|
-
this.request = options == null ? void 0 : options.request;
|
|
5631
|
-
this.layer = options == null ? void 0 : options.layer;
|
|
5632
|
-
if ((options == null ? void 0 : options.cause) instanceof Error) {
|
|
5633
|
-
this.stack = `${this.stack}
|
|
5634
|
-
Caused by: ${options.cause.stack}`;
|
|
5635
|
-
}
|
|
5636
|
-
}
|
|
5637
|
-
}
|
|
5638
|
-
function createWorkflowAPIError(serverError) {
|
|
5639
|
-
return new WorkflowWebAPIError(serverError.message, {
|
|
5640
|
-
cause: serverError.cause,
|
|
5641
|
-
request: serverError.request,
|
|
5642
|
-
layer: serverError.layer
|
|
5643
|
-
});
|
|
5644
|
-
}
|
|
5645
|
-
const getErrorMessage = (error) => {
|
|
5646
|
-
var _a;
|
|
5647
|
-
if ("layer" in error && error.layer) {
|
|
5648
|
-
if (error instanceof WorkflowWebAPIError) {
|
|
5649
|
-
if (((_a = error.request) == null ? void 0 : _a.status) === 403) {
|
|
5650
|
-
return VERCEL_403_ERROR_MESSAGE;
|
|
5651
|
-
}
|
|
5652
|
-
}
|
|
5653
|
-
return error.message;
|
|
5654
|
-
}
|
|
5655
|
-
return error instanceof Error ? error.message : "An error occurred";
|
|
5656
|
-
};
|
|
5657
|
-
async function unwrapServerActionResult(promise) {
|
|
5658
|
-
let result;
|
|
5659
|
-
try {
|
|
5660
|
-
result = await promise;
|
|
5661
|
-
} catch (error) {
|
|
5662
|
-
result = {
|
|
5663
|
-
success: false,
|
|
5664
|
-
error
|
|
5665
|
-
};
|
|
5666
|
-
}
|
|
5667
|
-
if (!result.success) {
|
|
5668
|
-
if (!result.error) {
|
|
5669
|
-
return {
|
|
5670
|
-
error: new WorkflowWebAPIError("Unknown error occurred", {
|
|
5671
|
-
layer: "client"
|
|
5672
|
-
}),
|
|
5673
|
-
result: null
|
|
5674
|
-
};
|
|
5675
|
-
}
|
|
5676
|
-
return {
|
|
5677
|
-
error: createWorkflowAPIError(result.error),
|
|
5678
|
-
result: null
|
|
5679
|
-
};
|
|
5680
|
-
}
|
|
5681
|
-
return { error: null, result: result.data };
|
|
5682
|
-
}
|
|
5683
|
-
async function unwrapOrThrow(promise) {
|
|
5684
|
-
const { error, result } = await unwrapServerActionResult(promise);
|
|
5685
|
-
if (error) throw error;
|
|
5686
|
-
return result;
|
|
5687
|
-
}
|
|
5688
|
-
async function cancelRun(env, runId) {
|
|
5689
|
-
await unwrapOrThrow(cancelRun$1(env, runId));
|
|
5690
|
-
}
|
|
5691
|
-
async function recreateRun(env, runId) {
|
|
5692
|
-
return unwrapOrThrow(recreateRun$1(env, runId));
|
|
5693
|
-
}
|
|
5694
|
-
async function reenqueueRun(env, runId) {
|
|
5695
|
-
await unwrapOrThrow(reenqueueRun$1(env, runId));
|
|
5696
|
-
}
|
|
5697
|
-
async function wakeUpRun(env, runId, options) {
|
|
5698
|
-
return unwrapOrThrow(wakeUpRun$1(env, runId, options));
|
|
5699
|
-
}
|
|
5700
|
-
async function resumeHook(env, token, payload) {
|
|
5701
|
-
return unwrapOrThrow(resumeHook$1(env, token, payload));
|
|
5702
|
-
}
|
|
5703
5777
|
function createCollection(name) {
|
|
5704
5778
|
const PROVIDER_NAME = name + "CollectionProvider";
|
|
5705
5779
|
const [createCollectionContext, createCollectionScope2] = createContextScope$1(PROVIDER_NAME);
|
|
@@ -11926,74 +12000,6 @@ function XYResizer({ domNode, nodeId, getStoreItems, onChange, onEnd }) {
|
|
|
11926
12000
|
}
|
|
11927
12001
|
var withSelector = { exports: {} };
|
|
11928
12002
|
var withSelector_production = {};
|
|
11929
|
-
var shim = { exports: {} };
|
|
11930
|
-
var useSyncExternalStoreShim_production = {};
|
|
11931
|
-
/**
|
|
11932
|
-
* @license React
|
|
11933
|
-
* use-sync-external-store-shim.production.js
|
|
11934
|
-
*
|
|
11935
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
11936
|
-
*
|
|
11937
|
-
* This source code is licensed under the MIT license found in the
|
|
11938
|
-
* LICENSE file in the root directory of this source tree.
|
|
11939
|
-
*/
|
|
11940
|
-
var hasRequiredUseSyncExternalStoreShim_production;
|
|
11941
|
-
function requireUseSyncExternalStoreShim_production() {
|
|
11942
|
-
if (hasRequiredUseSyncExternalStoreShim_production) return useSyncExternalStoreShim_production;
|
|
11943
|
-
hasRequiredUseSyncExternalStoreShim_production = 1;
|
|
11944
|
-
var React2 = requireReact();
|
|
11945
|
-
function is(x, y) {
|
|
11946
|
-
return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
|
|
11947
|
-
}
|
|
11948
|
-
var objectIs = "function" === typeof Object.is ? Object.is : is, useState = React2.useState, useEffect = React2.useEffect, useLayoutEffect = React2.useLayoutEffect, useDebugValue2 = React2.useDebugValue;
|
|
11949
|
-
function useSyncExternalStore$2(subscribe, getSnapshot) {
|
|
11950
|
-
var value = getSnapshot(), _useState = useState({ inst: { value, getSnapshot } }), inst = _useState[0].inst, forceUpdate = _useState[1];
|
|
11951
|
-
useLayoutEffect(
|
|
11952
|
-
function() {
|
|
11953
|
-
inst.value = value;
|
|
11954
|
-
inst.getSnapshot = getSnapshot;
|
|
11955
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
11956
|
-
},
|
|
11957
|
-
[subscribe, value, getSnapshot]
|
|
11958
|
-
);
|
|
11959
|
-
useEffect(
|
|
11960
|
-
function() {
|
|
11961
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
11962
|
-
return subscribe(function() {
|
|
11963
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
11964
|
-
});
|
|
11965
|
-
},
|
|
11966
|
-
[subscribe]
|
|
11967
|
-
);
|
|
11968
|
-
useDebugValue2(value);
|
|
11969
|
-
return value;
|
|
11970
|
-
}
|
|
11971
|
-
function checkIfSnapshotChanged(inst) {
|
|
11972
|
-
var latestGetSnapshot = inst.getSnapshot;
|
|
11973
|
-
inst = inst.value;
|
|
11974
|
-
try {
|
|
11975
|
-
var nextValue = latestGetSnapshot();
|
|
11976
|
-
return !objectIs(inst, nextValue);
|
|
11977
|
-
} catch (error) {
|
|
11978
|
-
return true;
|
|
11979
|
-
}
|
|
11980
|
-
}
|
|
11981
|
-
function useSyncExternalStore$1(subscribe, getSnapshot) {
|
|
11982
|
-
return getSnapshot();
|
|
11983
|
-
}
|
|
11984
|
-
var shim2 = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
|
|
11985
|
-
useSyncExternalStoreShim_production.useSyncExternalStore = void 0 !== React2.useSyncExternalStore ? React2.useSyncExternalStore : shim2;
|
|
11986
|
-
return useSyncExternalStoreShim_production;
|
|
11987
|
-
}
|
|
11988
|
-
var hasRequiredShim;
|
|
11989
|
-
function requireShim() {
|
|
11990
|
-
if (hasRequiredShim) return shim.exports;
|
|
11991
|
-
hasRequiredShim = 1;
|
|
11992
|
-
{
|
|
11993
|
-
shim.exports = requireUseSyncExternalStoreShim_production();
|
|
11994
|
-
}
|
|
11995
|
-
return shim.exports;
|
|
11996
|
-
}
|
|
11997
12003
|
/**
|
|
11998
12004
|
* @license React
|
|
11999
12005
|
* use-sync-external-store-shim/with-selector.production.js
|
|
@@ -16111,66 +16117,67 @@ function WorkflowGraphViewer({ workflow }) {
|
|
|
16111
16117
|
) });
|
|
16112
16118
|
}
|
|
16113
16119
|
export {
|
|
16114
|
-
|
|
16120
|
+
useEscapeKeydown as $,
|
|
16115
16121
|
Alert as A,
|
|
16116
|
-
|
|
16117
|
-
|
|
16122
|
+
cancelRun as B,
|
|
16123
|
+
Check as C,
|
|
16118
16124
|
DropdownMenu as D,
|
|
16119
16125
|
Ellipsis as E,
|
|
16120
|
-
|
|
16121
|
-
|
|
16122
|
-
|
|
16123
|
-
|
|
16124
|
-
|
|
16125
|
-
|
|
16126
|
-
|
|
16127
|
-
|
|
16128
|
-
|
|
16129
|
-
|
|
16126
|
+
reenqueueRun as F,
|
|
16127
|
+
parseWorkflowName as G,
|
|
16128
|
+
StatusBadge as H,
|
|
16129
|
+
CircleX as I,
|
|
16130
|
+
RunActionsDropdownItems as J,
|
|
16131
|
+
unwrapServerActionResult as K,
|
|
16132
|
+
WorkflowGraphViewer as L,
|
|
16133
|
+
TabsList as M,
|
|
16134
|
+
TabsTrigger as N,
|
|
16135
|
+
TabsContent as O,
|
|
16130
16136
|
Primitive as P,
|
|
16131
|
-
|
|
16137
|
+
ErrorBoundary as Q,
|
|
16132
16138
|
ResolveHookModal as R,
|
|
16133
16139
|
Send as S,
|
|
16134
16140
|
Tabs as T,
|
|
16135
|
-
|
|
16136
|
-
|
|
16141
|
+
parseStepName as U,
|
|
16142
|
+
ErrorCard as V,
|
|
16137
16143
|
WorkflowWebAPIError as W,
|
|
16138
16144
|
X,
|
|
16139
|
-
|
|
16145
|
+
format as Y,
|
|
16140
16146
|
Zap as Z,
|
|
16141
|
-
|
|
16142
|
-
|
|
16143
|
-
|
|
16144
|
-
|
|
16145
|
-
|
|
16146
|
-
|
|
16147
|
-
|
|
16148
|
-
|
|
16149
|
-
|
|
16150
|
-
|
|
16151
|
-
|
|
16152
|
-
|
|
16153
|
-
|
|
16154
|
-
|
|
16155
|
-
|
|
16156
|
-
|
|
16157
|
-
|
|
16158
|
-
|
|
16159
|
-
|
|
16160
|
-
|
|
16161
|
-
|
|
16162
|
-
|
|
16163
|
-
|
|
16164
|
-
|
|
16165
|
-
|
|
16166
|
-
|
|
16167
|
-
|
|
16168
|
-
|
|
16169
|
-
|
|
16147
|
+
Circle as _,
|
|
16148
|
+
Copy as a,
|
|
16149
|
+
useCallbackRef$1 as a0,
|
|
16150
|
+
useLayoutEffect2 as a1,
|
|
16151
|
+
useId as a2,
|
|
16152
|
+
createContext2 as a3,
|
|
16153
|
+
useFocusGuards as a4,
|
|
16154
|
+
LAYOUT as a5,
|
|
16155
|
+
wakeUpRun as a6,
|
|
16156
|
+
RunActionsButtons as a7,
|
|
16157
|
+
recreateRun as a8,
|
|
16158
|
+
Skeleton as b,
|
|
16159
|
+
RelativeTime as c,
|
|
16160
|
+
CircleAlert as d,
|
|
16161
|
+
AlertTitle as e,
|
|
16162
|
+
fetchHookToken as f,
|
|
16163
|
+
getErrorTitle as g,
|
|
16164
|
+
AlertDescription as h,
|
|
16165
|
+
getErrorMessage as i,
|
|
16166
|
+
CopyableText as j,
|
|
16167
|
+
DropdownMenuTrigger as k,
|
|
16168
|
+
DropdownMenuContent as l,
|
|
16169
|
+
DropdownMenuItem as m,
|
|
16170
|
+
resumeHook as n,
|
|
16171
|
+
createCollection as o,
|
|
16172
|
+
hideOthers as p,
|
|
16173
|
+
ReactRemoveScroll as q,
|
|
16174
|
+
requireShim as r,
|
|
16175
|
+
useDirection as s,
|
|
16176
|
+
ChevronUp as t,
|
|
16170
16177
|
unwrapOrThrow as u,
|
|
16171
|
-
|
|
16172
|
-
|
|
16173
|
-
|
|
16174
|
-
|
|
16175
|
-
|
|
16178
|
+
useControllableState as v,
|
|
16179
|
+
composeEventHandlers as w,
|
|
16180
|
+
Presence as x,
|
|
16181
|
+
useSize as y,
|
|
16182
|
+
createContextScope as z
|
|
16176
16183
|
};
|
package/build/client/assets/{zstd-browser-decoder-OOeWOMJw.js → zstd-browser-decoder-BigjGoI1.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerZstdDecoder, _ as __vitePreload } from "./mermaid-3ZIDBTTL-
|
|
1
|
+
import { r as registerZstdDecoder, _ as __vitePreload } from "./mermaid-3ZIDBTTL-QcES6x1o.js";
|
|
2
2
|
import "./index-BXZSIDEp.js";
|
|
3
3
|
let registered = false;
|
|
4
4
|
let modulePromise;
|
|
@@ -15,7 +15,7 @@ function ensureZstdDecoderRegistered() {
|
|
|
15
15
|
registered = true;
|
|
16
16
|
registerZstdDecoder(async (payload) => {
|
|
17
17
|
const { decompressBytes } = await __vitePreload(async () => {
|
|
18
|
-
const { decompressBytes: decompressBytes2 } = await import("./index-
|
|
18
|
+
const { decompressBytes: decompressBytes2 } = await import("./index-HqNj_XIX.js");
|
|
19
19
|
return { decompressBytes: decompressBytes2 };
|
|
20
20
|
}, true ? [] : void 0);
|
|
21
21
|
const wasmModule = await loadWasmModule();
|