@burdenoff/fluidgrids-fe-sdk 2026.731.3 → 2026.731.4

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.
@@ -1,4 +1,4 @@
1
- export { WorkflowBuilder } from './chunk-UHUNDVWH.js';
1
+ export { WorkflowBuilder } from './chunk-BWUUCBIC.js';
2
2
  import './chunk-MRVS73S2.js';
3
3
  import './chunk-DBOMRIP5.js';
4
4
  import './chunk-TH764V3S.js';
@@ -12,5 +12,5 @@ import './chunk-IU65EQOS.js';
12
12
  import './chunk-5BDQNSP3.js';
13
13
  import './chunk-WWU2O2SR.js';
14
14
  import './chunk-XQP33UJR.js';
15
- //# sourceMappingURL=WorkflowBuilder-65FSMSCD.js.map
16
- //# sourceMappingURL=WorkflowBuilder-65FSMSCD.js.map
15
+ //# sourceMappingURL=WorkflowBuilder-734VD3ZO.js.map
16
+ //# sourceMappingURL=WorkflowBuilder-734VD3ZO.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"WorkflowBuilder-65FSMSCD.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"WorkflowBuilder-734VD3ZO.js"}
@@ -12,6 +12,7 @@ import { createFluidGridsClient, setFluidGridsClient, resetFluidGridsClient, get
12
12
  import { validateTrustedOrigin, setFluidGridsConfig, resetFluidGridsConfig, getFluidGridsConfig } from './chunk-WWU2O2SR.js';
13
13
  import { deepClone, applyTemplateInputs } from './chunk-XQP33UJR.js';
14
14
  import { useNavigate, useParams } from 'react-router-dom';
15
+ import { Icon } from '@iconify/react';
15
16
  import { useShallow, shallow } from 'zustand/shallow';
16
17
  import * as React3 from 'react';
17
18
  import React3__default, { createContext, forwardRef, lazy, memo, useMemo, useEffect, useContext, useState, useCallback, useRef, useLayoutEffect, Suspense, useDeferredValue } from 'react';
@@ -19,7 +20,6 @@ import { Handle, Position, getBezierPath, MarkerType, ReactFlowProvider, useReac
19
20
  import { produce } from 'immer';
20
21
  import { cn as cn$1 } from '@burdenoff/fe-libs/utils';
21
22
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
22
- import { Icon } from '@iconify/react';
23
23
  import { Card as Card$1, Badge, CardContent as CardContent$1, Button as Button$1, Input, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, Sheet, SheetTrigger, SheetContent, SheetHeader, SheetTitle, DropdownMenuItem, Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, Popover, PopoverTrigger, PopoverContent, Toaster, Tabs, TabsList, TabsTrigger, TabsContent, CardHeader as CardHeader$1, CardTitle as CardTitle$1, CardDescription as CardDescription$1, ScrollArea, TooltipProvider, Tooltip, TooltipTrigger, TooltipContent, Label, DropdownMenuLabel, DropdownMenuSeparator, Select, SelectTrigger, SelectValue, SelectContent, SelectItem, Textarea } from '@burdenoff/fe-libs/ui';
24
24
  import { isEmpty } from 'radash';
25
25
  import { gql } from '@apollo/client';
@@ -13925,7 +13925,19 @@ var FlowBuilderPage = ({
13925
13925
  });
13926
13926
  }, []);
13927
13927
  if (!isStoreReady) {
13928
- return /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ jsx("div", { className: "text-muted-foreground text-sm", children: "Loading workflow..." }) });
13928
+ return (
13929
+ // Same loading treatment as the Available Nodes panel.
13930
+ /* @__PURE__ */ jsx("div", { className: "flex h-full w-full items-center justify-center", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-2", children: [
13931
+ /* @__PURE__ */ jsx(
13932
+ Icon,
13933
+ {
13934
+ icon: "mynaui:spinner",
13935
+ className: "size-6 animate-spin text-primary"
13936
+ }
13937
+ ),
13938
+ /* @__PURE__ */ jsx("span", { className: "text-sm text-foreground/60", children: "Loading workflow..." })
13939
+ ] }) })
13940
+ );
13929
13941
  }
13930
13942
  return /* @__PURE__ */ jsxs(ReactFlowProvider, { children: [
13931
13943
  /* @__PURE__ */ jsx(IntegrationReturnHandler, {}),
@@ -14275,7 +14287,21 @@ function WorkflowItem({
14275
14287
  // and including buildNodeCheck here caused infinite re-runs because installedAppIds
14276
14288
  // produces a new Set reference on every render.
14277
14289
  ]);
14278
- if (isLoading) return /* @__PURE__ */ jsx("div", { children: "Loading..." });
14290
+ if (isLoading)
14291
+ return (
14292
+ // Same loading treatment as the Available Nodes panel, centered on the
14293
+ // full canvas area while the workflow definition is fetched.
14294
+ /* @__PURE__ */ jsx("div", { className: "flex h-full min-h-[60vh] w-full items-center justify-center", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-2", children: [
14295
+ /* @__PURE__ */ jsx(
14296
+ Icon,
14297
+ {
14298
+ icon: "mynaui:spinner",
14299
+ className: "size-6 animate-spin text-primary"
14300
+ }
14301
+ ),
14302
+ /* @__PURE__ */ jsx("span", { className: "text-sm text-foreground/60", children: "Loading workflow..." })
14303
+ ] }) })
14304
+ );
14279
14305
  const sharedModalContent = pendingSharedWorkflow ? {
14280
14306
  definitionJson: { nodes: [], edges: [] },
14281
14307
  requiredNodeTypes: sharedNodeCheck ? [
@@ -14348,5 +14374,5 @@ function WorkflowBuilder() {
14348
14374
  }
14349
14375
 
14350
14376
  export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, FlowBuilderPage, FluidGridsProvider, TemplateCard, WorkflowBuilder, useFluidGridsContext, useImportWorkflowTemplate, useWorkflowTemplates };
14351
- //# sourceMappingURL=chunk-UHUNDVWH.js.map
14352
- //# sourceMappingURL=chunk-UHUNDVWH.js.map
14377
+ //# sourceMappingURL=chunk-BWUUCBIC.js.map
14378
+ //# sourceMappingURL=chunk-BWUUCBIC.js.map