@workflow/web 5.0.2 → 5.0.3

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.
Files changed (23) hide show
  1. package/build/client/assets/{arrow-up-right-CCSP9ily.js → arrow-up-right-ychoyK1y.js} +1 -1
  2. package/build/client/assets/{entry.client-DmlDFlyx.js → entry.client-GbcnkvKL.js} +7 -45
  3. package/build/client/assets/{highlighted-body-B3W2YXNL-QxC_q3zz.js → highlighted-body-B3W2YXNL-C53ps5L5.js} +2 -2
  4. package/build/client/assets/{home-D3lvKrxA.js → home-C3xDSPLC.js} +4 -4
  5. package/build/client/assets/{index-thGVuYbY.js → index-CRmVVsbP.js} +769 -330
  6. package/build/client/assets/{loader-circle-BV40-ex9.js → loader-circle-BaPqCMKN.js} +1 -1
  7. package/build/client/assets/{manifest-b2d18a63.js → manifest-4e8be598.js} +1 -1
  8. package/build/client/assets/{mermaid-3ZIDBTTL-DYqrMrvl.js → mermaid-3ZIDBTTL-COEB4Hc6.js} +62 -53
  9. package/build/client/assets/{root-cIgKV8UA.js → root-DixDz_si.js} +4 -4
  10. package/build/client/assets/{run-detail-xT6TzcQH.js → run-detail-CEQc0q3W.js} +4 -4
  11. package/build/client/assets/{workflow-graph-viewer-DDSZhqQ2.js → workflow-graph-viewer-B9ovZj-2.js} +2 -2
  12. package/build/client/assets/{zstd-browser-decoder-BbUG_G04.js → zstd-browser-decoder-D9w7uXpQ.js} +2 -2
  13. package/build/server/assets/{app-DtQP9zzZ.js → app-C8tzXy8V.js} +27938 -27420
  14. package/build/server/assets/{highlighted-body-B3W2YXNL-0R2gvzDD.js → highlighted-body-B3W2YXNL-B7OeHZjS.js} +6 -6
  15. package/build/server/assets/{index-xhDuD_-a.js → index-DB6rD0OI.js} +7 -7
  16. package/build/server/assets/{index-HeFIWQE6.js → index-oHATtR_7.js} +1 -1
  17. package/build/server/assets/{mermaid-3ZIDBTTL-Bubx0Bc0.js → mermaid-3ZIDBTTL-h6E4ztpF.js} +6 -6
  18. package/build/server/assets/{token-util-D-AD5yDZ.js → token-util-BIJWXlXW.js} +1 -1
  19. package/build/server/assets/{token-Dp-Ryz8o.js → token-zIvY_X5M.js} +1 -1
  20. package/build/server/assets/{wrapper-ikjqnRtL.js → wrapper-DiM8LB2q.js} +7 -7
  21. package/build/server/assets/{zstd-browser-decoder-uUOME713.js → zstd-browser-decoder-B2bHyQlS.js} +6 -6
  22. package/build/server/index.js +6 -6
  23. package/package.json +10 -10
@@ -1,4 +1,4 @@
1
- import { c as createLucideIcon } from "./mermaid-3ZIDBTTL-DYqrMrvl.js";
1
+ import { c as createLucideIcon } from "./mermaid-3ZIDBTTL-COEB4Hc6.js";
2
2
  /**
3
3
  * @license lucide-react v0.575.0 - ISC
4
4
  *
@@ -1,4 +1,4 @@
1
- import { a as requireReact, b as requireReactDom, m as matchRoutes, s as shouldHydrateRouteLoader, E as ErrorResponseImpl, N as NO_BODY_STATUS_CODES, R as ReactExports, i as isRouteErrorResponse, r as reactExports, c as invariant, u as useFogOFWarDiscovery, F as FrameworkContext, d as RemixErrorBoundary, e as RouterProvider, f as reactDomExports, g as decodeViaTurboStream, h as createClientRoutes, k as createRouter, l as getPatchRoutesOnNavigationFunction, n as getTurboStreamSingleFetchDataStrategy, o as createBrowserHistory, p as createClientRoutesWithHMRRevalidationOptOut, q as mapRouteProperties, t as hydrationRouteProperties, j as jsxRuntimeExports } from "./index-thGVuYbY.js";
1
+ import { a as requireReact, b as requireReactDom, m as matchRoutes, s as shouldHydrateRouteLoader, N as NO_BODY_STATUS_CODES, R as ReactExports, i as isRouteErrorResponse, r as reactExports, c as invariant, u as useFogOFWarDiscovery, F as FrameworkContext, d as RemixErrorBoundary, e as RouterProvider, f as reactDomExports, g as decodeViaTurboStream, h as createClientRoutes, k as createRouter, l as getPatchRoutesOnNavigationFunction, n as getTurboStreamSingleFetchDataStrategy, o as createBrowserHistory, p as createClientRoutesWithHMRRevalidationOptOut, q as mapRouteProperties, t as hydrationRouteProperties, j as jsxRuntimeExports } from "./index-CRmVVsbP.js";
2
2
  var client = { exports: {} };
3
3
  var reactDomClient_production = {};
4
4
  var scheduler = { exports: {} };
@@ -11458,41 +11458,6 @@ function RSCDefaultRootErrorBoundaryImpl({
11458
11458
  errorInstance.stack
11459
11459
  ), heyDeveloper);
11460
11460
  }
11461
- function deserializeErrors(errors) {
11462
- if (!errors) return null;
11463
- let entries = Object.entries(errors);
11464
- let serialized = {};
11465
- for (let [key, val] of entries) {
11466
- if (val && val.__type === "RouteErrorResponse") {
11467
- serialized[key] = new ErrorResponseImpl(
11468
- val.status,
11469
- val.statusText,
11470
- val.data,
11471
- val.internal === true
11472
- );
11473
- } else if (val && val.__type === "Error") {
11474
- if (val.__subType) {
11475
- let ErrorConstructor = window[val.__subType];
11476
- if (typeof ErrorConstructor === "function") {
11477
- try {
11478
- let error = new ErrorConstructor(val.message);
11479
- error.stack = val.stack;
11480
- serialized[key] = error;
11481
- } catch (e) {
11482
- }
11483
- }
11484
- }
11485
- if (serialized[key] == null) {
11486
- let error = new Error(val.message);
11487
- error.stack = val.stack;
11488
- serialized[key] = error;
11489
- }
11490
- } else {
11491
- serialized[key] = val;
11492
- }
11493
- }
11494
- return serialized;
11495
- }
11496
11461
  function getHydrationData({
11497
11462
  state,
11498
11463
  routes,
@@ -11555,7 +11520,7 @@ function initSsrInfo() {
11555
11520
  }
11556
11521
  function createHydratedRouter({
11557
11522
  getContext,
11558
- unstable_instrumentations
11523
+ instrumentations
11559
11524
  }) {
11560
11525
  var _a, _b;
11561
11526
  initSsrInfo();
@@ -11615,9 +11580,6 @@ function createHydratedRouter({
11615
11580
  basename: (_b = window.__reactRouterContext) == null ? void 0 : _b.basename,
11616
11581
  isSpaMode: ssrInfo.context.isSpaMode
11617
11582
  });
11618
- if (hydrationData && hydrationData.errors) {
11619
- hydrationData.errors = deserializeErrors(hydrationData.errors);
11620
- }
11621
11583
  }
11622
11584
  if (window.history.state && window.history.state.masked) {
11623
11585
  window.history.replaceState(
@@ -11632,10 +11594,10 @@ function createHydratedRouter({
11632
11594
  getContext,
11633
11595
  hydrationData,
11634
11596
  hydrationRouteProperties,
11635
- unstable_instrumentations,
11597
+ instrumentations,
11636
11598
  mapRouteProperties,
11637
11599
  future: {
11638
- middleware: ssrInfo.context.future.v8_middleware
11600
+ v8_passThroughRequests: ssrInfo.context.future.v8_passThroughRequests
11639
11601
  },
11640
11602
  dataStrategy: getTurboStreamSingleFetchDataStrategy(
11641
11603
  () => router2,
@@ -11643,7 +11605,7 @@ function createHydratedRouter({
11643
11605
  ssrInfo.routeModules,
11644
11606
  ssrInfo.context.ssr,
11645
11607
  ssrInfo.context.basename,
11646
- ssrInfo.context.future.unstable_trailingSlashAwareDataRequests
11608
+ ssrInfo.context.future.v8_trailingSlashAwareDataRequests
11647
11609
  ),
11648
11610
  patchRoutesOnNavigation: getPatchRoutesOnNavigationFunction(
11649
11611
  () => router2,
@@ -11669,7 +11631,7 @@ function HydratedRouter(props) {
11669
11631
  if (!router) {
11670
11632
  router = createHydratedRouter({
11671
11633
  getContext: props.getContext,
11672
- unstable_instrumentations: props.unstable_instrumentations
11634
+ instrumentations: props.instrumentations
11673
11635
  });
11674
11636
  }
11675
11637
  let [criticalCss, setCriticalCss] = reactExports.useState(
@@ -11724,7 +11686,7 @@ function HydratedRouter(props) {
11724
11686
  RouterProvider2,
11725
11687
  {
11726
11688
  router,
11727
- unstable_useTransitions: props.unstable_useTransitions,
11689
+ useTransitions: props.useTransitions,
11728
11690
  onError: props.onError
11729
11691
  }
11730
11692
  ))
@@ -1,5 +1,5 @@
1
- import { R, K as Ks, Q as Qe } from "./mermaid-3ZIDBTTL-DYqrMrvl.js";
2
- import { r as reactExports, j as jsxRuntimeExports } from "./index-thGVuYbY.js";
1
+ import { R, K as Ks, Q as Qe } from "./mermaid-3ZIDBTTL-COEB4Hc6.js";
2
+ import { r as reactExports, j as jsxRuntimeExports } from "./index-CRmVVsbP.js";
3
3
  var L = ({ code: s, language: t, raw: e, className: n, ...d$1 }) => {
4
4
  let { shikiTheme: l } = reactExports.useContext(R), o = Ks(), [m, i] = reactExports.useState(e);
5
5
  return reactExports.useEffect(() => {
@@ -1,7 +1,7 @@
1
- import { r as reactExports, j as jsxRuntimeExports, z as Link, R as ReactExports, f as reactDomExports, B as useSearchParams, A as useNavigate, C as useLocation, w as withComponentProps } from "./index-thGVuYbY.js";
2
- import { R as ResolveHookModal, S as Send, r as requireShim, u as unwrapOrThrow, W as WorkflowWebAPIError, f as fetchHookToken, a as Skeleton, b as RelativeTime, A as Alert, C as CircleAlert, c as AlertTitle, g as getErrorTitle, d as AlertDescription, e as getErrorMessage, h as CopyableText, D as DropdownMenu, i as DropdownMenuTrigger, E as Ellipsis, j as DropdownMenuContent, k as DropdownMenuItem, l as resumeHook, m as createCollection, n as hideOthers, o as ReactRemoveScroll, p as useDirection, q as ChevronUp, X, s as useControllableState$1, P as Primitive$1, t as composeEventHandlers$1, v as Presence, w as useSize, x as createContextScope$1, y as bulkCancelRuns, z as reenqueueRun, B as parseWorkflowName, F as StatusBadge, Z as Zap, G as CircleX, H as RunActionsDropdownItems, I as unwrapServerActionResult, J as WorkflowGraphViewer, T as Tabs, K as TabsList, L as TabsTrigger, M as TabsContent, N as ErrorBoundary } from "./workflow-graph-viewer-DDSZhqQ2.js";
3
- import { c as createLucideIcon, h as useToast, e as cn, i as fetchRuns, j as fetchHooks, k as getPaginationDisplay, T as Tooltip, a as TooltipTrigger, C as Check, l as Copy, b as TooltipContent, D as DEFAULT_PAGE_SIZE, B as Button, m as ChevronRight, n as fetchEvents, o as useCallbackRef, p as useComposedRefs, P as Primitive, A as Anchor, q as composeEventHandlers, s as useLayoutEffect2, v as Portal$2, w as useId, x as createPopperScope, y as DismissableLayer, z as createContextScope, E as createSlot, F as Content$1, G as useControllableState, H as Root2$1, V as VISUALLY_HIDDEN_STYLES, I as Arrow, J as ChevronDown, L as useComposedRefs$1, u as useServerConfig, M as BULK_CANCEL_MAX_RUN_IDS, t as toast, N as fetchRun, O as cva, U as Presence$1, W as createContext2, X as fetchWorkflowsManifest } from "./mermaid-3ZIDBTTL-DYqrMrvl.js";
4
- import { L as LoaderCircle } from "./loader-circle-BV40-ex9.js";
1
+ import { r as reactExports, j as jsxRuntimeExports, z as Link, R as ReactExports, f as reactDomExports, B as useSearchParams, A as useNavigate, C as useLocation, w as withComponentProps } from "./index-CRmVVsbP.js";
2
+ import { R as ResolveHookModal, S as Send, r as requireShim, u as unwrapOrThrow, W as WorkflowWebAPIError, f as fetchHookToken, a as Skeleton, b as RelativeTime, A as Alert, C as CircleAlert, c as AlertTitle, g as getErrorTitle, d as AlertDescription, e as getErrorMessage, h as CopyableText, D as DropdownMenu, i as DropdownMenuTrigger, E as Ellipsis, j as DropdownMenuContent, k as DropdownMenuItem, l as resumeHook, m as createCollection, n as hideOthers, o as ReactRemoveScroll, p as useDirection, q as ChevronUp, X, s as useControllableState$1, P as Primitive$1, t as composeEventHandlers$1, v as Presence, w as useSize, x as createContextScope$1, y as bulkCancelRuns, z as reenqueueRun, B as parseWorkflowName, F as StatusBadge, Z as Zap, G as CircleX, H as RunActionsDropdownItems, I as unwrapServerActionResult, J as WorkflowGraphViewer, T as Tabs, K as TabsList, L as TabsTrigger, M as TabsContent, N as ErrorBoundary } from "./workflow-graph-viewer-B9ovZj-2.js";
3
+ import { c as createLucideIcon, h as useToast, e as cn, i as fetchRuns, j as fetchHooks, k as getPaginationDisplay, T as Tooltip, a as TooltipTrigger, C as Check, l as Copy, b as TooltipContent, D as DEFAULT_PAGE_SIZE, B as Button, m as ChevronRight, n as fetchEvents, o as useCallbackRef, p as useComposedRefs, P as Primitive, A as Anchor, q as composeEventHandlers, s as useLayoutEffect2, v as Portal$2, w as useId, x as createPopperScope, y as DismissableLayer, z as createContextScope, E as createSlot, F as Content$1, G as useControllableState, H as Root2$1, V as VISUALLY_HIDDEN_STYLES, I as Arrow, J as ChevronDown, L as useComposedRefs$1, u as useServerConfig, M as BULK_CANCEL_MAX_RUN_IDS, t as toast, N as fetchRun, O as cva, U as Presence$1, W as createContext2, X as fetchWorkflowsManifest } from "./mermaid-3ZIDBTTL-COEB4Hc6.js";
4
+ import { L as LoaderCircle } from "./loader-circle-BaPqCMKN.js";
5
5
  /**
6
6
  * @license lucide-react v0.575.0 - ISC
7
7
  *