@burdenoff/fluidgrids-fe-sdk 2026.718.1 → 2026.720.1
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/ExecutionDetailPage-6ASC7CJW.js +8 -0
- package/dist/{ExecutionDetailPage-R5WQJ3XX.js.map → ExecutionDetailPage-6ASC7CJW.js.map} +1 -1
- package/dist/ExecutionsListPage-OWOKDVXQ.js +8 -0
- package/dist/{ExecutionsListPage-I63SHREF.js.map → ExecutionsListPage-OWOKDVXQ.js.map} +1 -1
- package/dist/{WorkflowBuilder-TEBANNAC.js → WorkflowBuilder-COJQ2YBJ.js} +5 -5
- package/dist/{WorkflowBuilder-TEBANNAC.js.map → WorkflowBuilder-COJQ2YBJ.js.map} +1 -1
- package/dist/{blocks-7EN7SQRK.js → blocks-J3YIE73T.js} +4 -4
- package/dist/{blocks-7EN7SQRK.js.map → blocks-J3YIE73T.js.map} +1 -1
- package/dist/{chunk-H24I5TL6.js → chunk-52EJMXGS.js} +3 -3
- package/dist/{chunk-H24I5TL6.js.map → chunk-52EJMXGS.js.map} +1 -1
- package/dist/{chunk-JXH7PRTS.js → chunk-DVSO5MTE.js} +3 -3
- package/dist/{chunk-JXH7PRTS.js.map → chunk-DVSO5MTE.js.map} +1 -1
- package/dist/{chunk-6MZFOWEO.js → chunk-EQVBECAC.js} +2 -2
- package/dist/chunk-EQVBECAC.js.map +1 -0
- package/dist/{chunk-SWPT7IDI.js → chunk-JVARXRIW.js} +247 -78
- package/dist/chunk-JVARXRIW.js.map +1 -0
- package/dist/{chunk-UYPB5TWQ.js → chunk-PNOA7CQV.js} +5 -2
- package/dist/chunk-PNOA7CQV.js.map +1 -0
- package/dist/{chunk-OZ5RXLEP.js → chunk-S2Z7ZTGV.js} +4 -6
- package/dist/chunk-S2Z7ZTGV.js.map +1 -0
- package/dist/{global-operations-5FLHXHG3.js → global-operations-KVVOANLT.js} +3 -3
- package/dist/{global-operations-5FLHXHG3.js.map → global-operations-KVVOANLT.js.map} +1 -1
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/ExecutionDetailPage-R5WQJ3XX.js +0 -8
- package/dist/ExecutionsListPage-I63SHREF.js +0 -8
- package/dist/chunk-6MZFOWEO.js.map +0 -1
- package/dist/chunk-OZ5RXLEP.js.map +0 -1
- package/dist/chunk-SWPT7IDI.js.map +0 -1
- package/dist/chunk-UYPB5TWQ.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Dialog as Dialog$1, DialogContent as DialogContent$1, DialogHeader as DialogHeader$1, DialogTitle as DialogTitle$1, DialogDescription as DialogDescription$1, Input as Input$1, DialogFooter } from './chunk-MRVS73S2.js';
|
|
2
2
|
import { Badge as Badge$1, Button } from './chunk-DBOMRIP5.js';
|
|
3
|
-
import { refetchStoreNodes, registerWorkflowNodeTypes, ensureNodeConfigsLoaded, onNodeTypesUpdate, NODE_TYPES, getNodeMetadata, AVAILABLE_NODES, useSaveWorkflow, useNodeExecution, getNodeDetail, ConnectionSelector, createNodeWithDefaultData, NODE_CONFIGS, NODES_METADATA, isNodeConfigsInitialized, NODES, NodePropertyPanel } from './chunk-
|
|
3
|
+
import { refetchStoreNodes, registerWorkflowNodeTypes, ensureNodeConfigsLoaded, onNodeTypesUpdate, NODE_TYPES, getNodeMetadata, AVAILABLE_NODES, useSaveWorkflow, useNodeExecution, getNodeDetail, ConnectionSelector, createNodeWithDefaultData, NODE_CONFIGS, NODES_METADATA, isNodeConfigsInitialized, NODES, NodePropertyPanel } from './chunk-S2Z7ZTGV.js';
|
|
4
4
|
import { createGlobalStoreClient, setGlobalStoreClient, resetGlobalStoreClient, getGlobalStoreClient } from './chunk-BQXHJIER.js';
|
|
5
|
-
import { BrowseWorkflowTemplatesDocument, InstallWorkflowNodeDocument, InstallPurchasedNodeDocument, GetMyNodeInstallationsDocument, BrowseWorkflowNodesDocument, UninstallWorkflowNodeDocument, CreateStoreOrderDocument } from './chunk-
|
|
5
|
+
import { BrowseWorkflowTemplatesDocument, InstallWorkflowNodeDocument, InstallPurchasedNodeDocument, GetMyNodeInstallationsDocument, BrowseWorkflowNodesDocument, UninstallWorkflowNodeDocument, CreateStoreOrderDocument } from './chunk-PNOA7CQV.js';
|
|
6
6
|
import { useLazyWorkflowDefinition, useCreateWorkflow, useWorkflowVersions, useRestoreWorkflowVersion, useActivateWorkflow, useDeactivateWorkflow } from './chunk-OHIRHNRJ.js';
|
|
7
7
|
import { useFlowStore } from './chunk-KU64CCSV.js';
|
|
8
8
|
import { SdkPermissionButton, FLUIDGRIDS_PERMISSIONS } from './chunk-UIY2HBWA.js';
|
|
@@ -1386,11 +1386,14 @@ function useInstalledNodes() {
|
|
|
1386
1386
|
fetchPolicy: "cache-and-network"
|
|
1387
1387
|
});
|
|
1388
1388
|
const installations = data?.myStoreAppInstallations?.items || [];
|
|
1389
|
+
const activeInstallations = installations.filter(
|
|
1390
|
+
(item) => item.status === "ACTIVE"
|
|
1391
|
+
);
|
|
1389
1392
|
const installedAppIds = new Set(
|
|
1390
|
-
|
|
1393
|
+
activeInstallations.map((item) => item.productId)
|
|
1391
1394
|
);
|
|
1392
1395
|
const installationsMap = new Map(
|
|
1393
|
-
|
|
1396
|
+
activeInstallations.map((item) => [
|
|
1394
1397
|
item.productId,
|
|
1395
1398
|
{
|
|
1396
1399
|
installedVersion: item.version ?? void 0,
|
|
@@ -1399,10 +1402,14 @@ function useInstalledNodes() {
|
|
|
1399
1402
|
}
|
|
1400
1403
|
])
|
|
1401
1404
|
);
|
|
1405
|
+
const deprecatedInstallations = activeInstallations.filter(
|
|
1406
|
+
(item) => item.productStatus === "UNLISTED"
|
|
1407
|
+
);
|
|
1402
1408
|
return {
|
|
1403
1409
|
installations,
|
|
1404
1410
|
installedAppIds,
|
|
1405
1411
|
installationsMap,
|
|
1412
|
+
deprecatedInstallations,
|
|
1406
1413
|
installedNodeTypes: /* @__PURE__ */ new Set(),
|
|
1407
1414
|
totalCount: data?.myStoreAppInstallations?.total || 0,
|
|
1408
1415
|
loading,
|
|
@@ -2280,6 +2287,7 @@ function StoreNodeListItem({
|
|
|
2280
2287
|
isInstalled,
|
|
2281
2288
|
isPrebuilt,
|
|
2282
2289
|
hasUpdate,
|
|
2290
|
+
isDeprecated,
|
|
2283
2291
|
nodeType,
|
|
2284
2292
|
isDraggable,
|
|
2285
2293
|
onClick
|
|
@@ -2302,11 +2310,30 @@ function StoreNodeListItem({
|
|
|
2302
2310
|
className: "w-full flex items-center gap-3 px-2 py-2.5 rounded-md hover:bg-muted/60 transition-colors text-left group",
|
|
2303
2311
|
style: isDraggable ? { cursor: "grab" } : void 0,
|
|
2304
2312
|
children: [
|
|
2305
|
-
/* @__PURE__ */ jsx("div", { className: "size-9 shrink-0 rounded-lg bg-muted flex items-center justify-center overflow-hidden", children: icon ? /* @__PURE__ */ jsx(
|
|
2313
|
+
/* @__PURE__ */ jsx("div", { className: "relative size-9 shrink-0 rounded-lg bg-muted flex items-center justify-center overflow-hidden", children: icon ? /* @__PURE__ */ jsx(
|
|
2314
|
+
"img",
|
|
2315
|
+
{
|
|
2316
|
+
src: icon,
|
|
2317
|
+
alt: name,
|
|
2318
|
+
className: "w-full h-full object-cover"
|
|
2319
|
+
}
|
|
2320
|
+
) : /* @__PURE__ */ jsx("span", { className: "text-sm font-bold text-muted-foreground", children: name.charAt(0).toUpperCase() }) }),
|
|
2306
2321
|
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
2307
2322
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 flex-wrap", children: [
|
|
2308
2323
|
/* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-foreground group-hover:text-primary transition-colors truncate", children: name }),
|
|
2309
|
-
|
|
2324
|
+
isDeprecated && /* @__PURE__ */ jsx(
|
|
2325
|
+
"span",
|
|
2326
|
+
{
|
|
2327
|
+
title: "This node is no longer supported. Consider migrating to a newer alternative.",
|
|
2328
|
+
className: "shrink-0 inline-flex items-center gap-0.5 px-1.5 py-0.5 rounded text-[10px] font-semibold cursor-help",
|
|
2329
|
+
style: {
|
|
2330
|
+
background: "var(--color-status-warning-bgSubtle)",
|
|
2331
|
+
color: "var(--color-status-warning-text)"
|
|
2332
|
+
},
|
|
2333
|
+
children: "Deprecated"
|
|
2334
|
+
}
|
|
2335
|
+
),
|
|
2336
|
+
hasUpdate && !isDeprecated && /* @__PURE__ */ jsx(
|
|
2310
2337
|
"span",
|
|
2311
2338
|
{
|
|
2312
2339
|
className: "shrink-0 inline-flex items-center px-1.5 py-0.5 rounded text-[10px] font-semibold",
|
|
@@ -2317,7 +2344,7 @@ function StoreNodeListItem({
|
|
|
2317
2344
|
children: "Update"
|
|
2318
2345
|
}
|
|
2319
2346
|
),
|
|
2320
|
-
isInstalled && !hasUpdate && /* @__PURE__ */ jsxs(
|
|
2347
|
+
isInstalled && !hasUpdate && !isDeprecated && /* @__PURE__ */ jsxs(
|
|
2321
2348
|
"span",
|
|
2322
2349
|
{
|
|
2323
2350
|
className: "shrink-0 inline-flex items-center gap-0.5 px-1.5 py-0.5 rounded text-[10px] font-semibold",
|
|
@@ -2337,7 +2364,7 @@ function StoreNodeListItem({
|
|
|
2337
2364
|
]
|
|
2338
2365
|
}
|
|
2339
2366
|
),
|
|
2340
|
-
isPrebuilt && !isInstalled && !hasUpdate && /* @__PURE__ */ jsxs(
|
|
2367
|
+
isPrebuilt && !isInstalled && !hasUpdate && !isDeprecated && /* @__PURE__ */ jsxs(
|
|
2341
2368
|
"span",
|
|
2342
2369
|
{
|
|
2343
2370
|
className: "shrink-0 inline-flex items-center gap-0.5 px-1.5 py-0.5 rounded text-[10px] font-semibold",
|
|
@@ -2377,6 +2404,34 @@ function StoreNodeListItem({
|
|
|
2377
2404
|
}
|
|
2378
2405
|
);
|
|
2379
2406
|
}
|
|
2407
|
+
function deprecatedItemToProduct(item) {
|
|
2408
|
+
return {
|
|
2409
|
+
id: item.productId,
|
|
2410
|
+
name: item.productName ?? "Unknown Node",
|
|
2411
|
+
icon: item.productIcon ?? null,
|
|
2412
|
+
description: null,
|
|
2413
|
+
type: null,
|
|
2414
|
+
subType: null,
|
|
2415
|
+
slug: "",
|
|
2416
|
+
rating: null,
|
|
2417
|
+
reviewCount: null,
|
|
2418
|
+
downloads: null,
|
|
2419
|
+
price: null,
|
|
2420
|
+
pricingModel: "FREE",
|
|
2421
|
+
currency: null,
|
|
2422
|
+
featured: false,
|
|
2423
|
+
manifest: item.manifest ?? null,
|
|
2424
|
+
manifestVersion: item.version ?? null,
|
|
2425
|
+
authorName: null,
|
|
2426
|
+
license: null,
|
|
2427
|
+
compatibleProducts: null,
|
|
2428
|
+
requiredPermissions: null,
|
|
2429
|
+
integrationDeps: null,
|
|
2430
|
+
zipFileUrl: null,
|
|
2431
|
+
isPurchased: null,
|
|
2432
|
+
publisher: null
|
|
2433
|
+
};
|
|
2434
|
+
}
|
|
2380
2435
|
function StoreCategoryList({
|
|
2381
2436
|
searchTerm,
|
|
2382
2437
|
onSearchChange,
|
|
@@ -2384,6 +2439,7 @@ function StoreCategoryList({
|
|
|
2384
2439
|
onSelectNode
|
|
2385
2440
|
}) {
|
|
2386
2441
|
const isSearching = searchTerm.trim().length > 0;
|
|
2442
|
+
const [showDeprecated, setShowDeprecated] = useState(false);
|
|
2387
2443
|
const { products, loading, hasMore, fetchMore } = useStoreNodes({
|
|
2388
2444
|
filter: {
|
|
2389
2445
|
type: "NODE",
|
|
@@ -2391,7 +2447,10 @@ function StoreCategoryList({
|
|
|
2391
2447
|
search: isSearching ? searchTerm.trim() : void 0
|
|
2392
2448
|
}
|
|
2393
2449
|
});
|
|
2394
|
-
const { installedAppIds, installationsMap } = useInstalledNodes();
|
|
2450
|
+
const { installedAppIds, installationsMap, deprecatedInstallations } = useInstalledNodes();
|
|
2451
|
+
const filteredDeprecated = isSearching ? deprecatedInstallations.filter(
|
|
2452
|
+
(item) => (item.productName ?? "").toLowerCase().includes(searchTerm.trim().toLowerCase())
|
|
2453
|
+
) : deprecatedInstallations;
|
|
2395
2454
|
return /* @__PURE__ */ jsxs("div", { className: "flex flex-col h-full overflow-hidden", children: [
|
|
2396
2455
|
/* @__PURE__ */ jsx("div", { className: "px-3 pt-3 pb-2 shrink-0", children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
2397
2456
|
/* @__PURE__ */ jsx(
|
|
@@ -2405,7 +2464,10 @@ function StoreCategoryList({
|
|
|
2405
2464
|
Input$1,
|
|
2406
2465
|
{
|
|
2407
2466
|
value: searchTerm,
|
|
2408
|
-
onChange: (e) =>
|
|
2467
|
+
onChange: (e) => {
|
|
2468
|
+
onSearchChange(e.target.value);
|
|
2469
|
+
setShowDeprecated(false);
|
|
2470
|
+
},
|
|
2409
2471
|
placeholder: "Search nodes...",
|
|
2410
2472
|
className: "pl-8 text-sm h-9"
|
|
2411
2473
|
}
|
|
@@ -2420,44 +2482,59 @@ function StoreCategoryList({
|
|
|
2420
2482
|
)
|
|
2421
2483
|
] }) }),
|
|
2422
2484
|
isSearching ? (
|
|
2423
|
-
/* Search results */
|
|
2424
|
-
/* @__PURE__ */ jsx("div", { className: "flex-1 overflow-y-auto px-2 pb-2", children: loading && products.length === 0 ? /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center py-10", children: /* @__PURE__ */ jsx(
|
|
2485
|
+
/* Search results — deprecated nodes that match appear inline */
|
|
2486
|
+
/* @__PURE__ */ jsx("div", { className: "flex-1 overflow-y-auto px-2 pb-2", children: loading && products.length === 0 && filteredDeprecated.length === 0 ? /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center py-10", children: /* @__PURE__ */ jsx(
|
|
2425
2487
|
Icon,
|
|
2426
2488
|
{
|
|
2427
2489
|
icon: "mynaui:spinner",
|
|
2428
2490
|
className: "size-5 text-primary animate-spin"
|
|
2429
2491
|
}
|
|
2430
|
-
) }) : products.length === 0 ? /* @__PURE__ */ jsx("div", { className: "text-center py-10 px-4", children: /* @__PURE__ */ jsxs("p", { className: "text-sm text-muted-foreground", children: [
|
|
2492
|
+
) }) : products.length === 0 && filteredDeprecated.length === 0 ? /* @__PURE__ */ jsx("div", { className: "text-center py-10 px-4", children: /* @__PURE__ */ jsxs("p", { className: "text-sm text-muted-foreground", children: [
|
|
2431
2493
|
"No nodes found for \u201C",
|
|
2432
2494
|
searchTerm,
|
|
2433
2495
|
"\u201D"
|
|
2434
2496
|
] }) }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2435
2497
|
/* @__PURE__ */ jsxs("p", { className: "px-2 py-1.5 text-xs text-muted-foreground font-medium", children: [
|
|
2436
|
-
products.length,
|
|
2498
|
+
products.length + filteredDeprecated.length,
|
|
2437
2499
|
" result",
|
|
2438
|
-
products.length !== 1 ? "s" : ""
|
|
2500
|
+
products.length + filteredDeprecated.length !== 1 ? "s" : ""
|
|
2439
2501
|
] }),
|
|
2440
|
-
/* @__PURE__ */
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2502
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-0.5", children: [
|
|
2503
|
+
products.map((node) => {
|
|
2504
|
+
const installation = installationsMap.get(node.id);
|
|
2505
|
+
const isInstalled = installedAppIds.has(node.id);
|
|
2506
|
+
const hasUpdate = isInstalled && !!installation?.installedVersion && !!node.manifestVersion && installation.installedVersion !== node.manifestVersion;
|
|
2507
|
+
const { nodeType, isPrebuilt, isDraggable } = getStoreNodeAvailability(node, isInstalled);
|
|
2508
|
+
return /* @__PURE__ */ jsx(
|
|
2509
|
+
StoreNodeListItem,
|
|
2510
|
+
{
|
|
2511
|
+
name: node.name,
|
|
2512
|
+
description: node.description,
|
|
2513
|
+
icon: node.icon,
|
|
2514
|
+
isInstalled,
|
|
2515
|
+
isPrebuilt,
|
|
2516
|
+
hasUpdate,
|
|
2517
|
+
nodeType,
|
|
2518
|
+
isDraggable,
|
|
2519
|
+
onClick: () => onSelectNode(node)
|
|
2520
|
+
},
|
|
2521
|
+
node.id
|
|
2522
|
+
);
|
|
2523
|
+
}),
|
|
2524
|
+
filteredDeprecated.map((item) => /* @__PURE__ */ jsx(
|
|
2446
2525
|
StoreNodeListItem,
|
|
2447
2526
|
{
|
|
2448
|
-
name:
|
|
2449
|
-
description:
|
|
2450
|
-
icon:
|
|
2451
|
-
isInstalled,
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
isDraggable,
|
|
2456
|
-
onClick: () => onSelectNode(node)
|
|
2527
|
+
name: item.productName ?? "Unknown Node",
|
|
2528
|
+
description: null,
|
|
2529
|
+
icon: item.productIcon ?? void 0,
|
|
2530
|
+
isInstalled: true,
|
|
2531
|
+
hasUpdate: false,
|
|
2532
|
+
isDeprecated: true,
|
|
2533
|
+
onClick: () => onSelectNode(deprecatedItemToProduct(item))
|
|
2457
2534
|
},
|
|
2458
|
-
|
|
2459
|
-
)
|
|
2460
|
-
|
|
2535
|
+
item.productId
|
|
2536
|
+
))
|
|
2537
|
+
] }),
|
|
2461
2538
|
hasMore && /* @__PURE__ */ jsx(
|
|
2462
2539
|
"button",
|
|
2463
2540
|
{
|
|
@@ -2467,44 +2544,130 @@ function StoreCategoryList({
|
|
|
2467
2544
|
}
|
|
2468
2545
|
)
|
|
2469
2546
|
] }) })
|
|
2547
|
+
) : showDeprecated ? (
|
|
2548
|
+
/* Deprecated nodes list — shown when user drills into the Deprecated category */
|
|
2549
|
+
/* @__PURE__ */ jsxs("div", { className: "flex-1 overflow-y-auto px-2 pb-2", children: [
|
|
2550
|
+
/* @__PURE__ */ jsxs(
|
|
2551
|
+
"button",
|
|
2552
|
+
{
|
|
2553
|
+
onClick: () => setShowDeprecated(false),
|
|
2554
|
+
className: "flex items-center gap-1.5 text-xs text-muted-foreground hover:text-foreground transition-colors px-2 py-2",
|
|
2555
|
+
children: [
|
|
2556
|
+
/* @__PURE__ */ jsx(Icon, { icon: "mynaui:chevron-left", className: "size-3.5" }),
|
|
2557
|
+
"Back"
|
|
2558
|
+
]
|
|
2559
|
+
}
|
|
2560
|
+
),
|
|
2561
|
+
/* @__PURE__ */ jsxs("p", { className: "px-2 py-1 text-xs text-muted-foreground font-medium", children: [
|
|
2562
|
+
deprecatedInstallations.length,
|
|
2563
|
+
" deprecated node",
|
|
2564
|
+
deprecatedInstallations.length !== 1 ? "s" : ""
|
|
2565
|
+
] }),
|
|
2566
|
+
/* @__PURE__ */ jsx("div", { className: "flex flex-col gap-0.5", children: deprecatedInstallations.map((item) => /* @__PURE__ */ jsx(
|
|
2567
|
+
StoreNodeListItem,
|
|
2568
|
+
{
|
|
2569
|
+
name: item.productName ?? "Unknown Node",
|
|
2570
|
+
description: null,
|
|
2571
|
+
icon: item.productIcon ?? void 0,
|
|
2572
|
+
isInstalled: true,
|
|
2573
|
+
hasUpdate: false,
|
|
2574
|
+
isDeprecated: true,
|
|
2575
|
+
onClick: () => onSelectNode(deprecatedItemToProduct(item))
|
|
2576
|
+
},
|
|
2577
|
+
item.productId
|
|
2578
|
+
)) })
|
|
2579
|
+
] })
|
|
2470
2580
|
) : (
|
|
2471
|
-
/*
|
|
2472
|
-
/* @__PURE__ */ jsx("div", { className: "flex-1 overflow-y-auto px-2 pb-2", children: /* @__PURE__ */
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2581
|
+
/* Main category list */
|
|
2582
|
+
/* @__PURE__ */ jsx("div", { className: "flex-1 overflow-y-auto px-2 pb-2", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-0.5 pt-1", children: [
|
|
2583
|
+
STORE_CATEGORIES.map((cat) => /* @__PURE__ */ jsxs(
|
|
2584
|
+
"button",
|
|
2585
|
+
{
|
|
2586
|
+
onClick: () => onSelectCategory(cat),
|
|
2587
|
+
className: "w-full flex items-center gap-3 px-2 py-3 rounded-lg border border-transparent hover:border-default hover:bg-muted/60 transition-colors text-left group",
|
|
2588
|
+
children: [
|
|
2589
|
+
/* @__PURE__ */ jsx(
|
|
2590
|
+
"div",
|
|
2591
|
+
{
|
|
2592
|
+
className: "size-9 shrink-0 rounded-lg flex items-center justify-center",
|
|
2593
|
+
style: {
|
|
2594
|
+
backgroundColor: `color-mix(in oklab, var(${cat.color}) 16%, transparent)`
|
|
2595
|
+
},
|
|
2596
|
+
children: /* @__PURE__ */ jsx(
|
|
2597
|
+
Icon,
|
|
2598
|
+
{
|
|
2599
|
+
icon: cat.icon,
|
|
2600
|
+
className: "size-5",
|
|
2601
|
+
style: { color: `var(${cat.color})` }
|
|
2602
|
+
}
|
|
2603
|
+
)
|
|
2604
|
+
}
|
|
2605
|
+
),
|
|
2606
|
+
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
2607
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-foreground group-hover:text-primary transition-colors", children: cat.label }),
|
|
2608
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground truncate mt-0.5", children: cat.description })
|
|
2609
|
+
] }),
|
|
2610
|
+
/* @__PURE__ */ jsx(
|
|
2611
|
+
Icon,
|
|
2612
|
+
{
|
|
2613
|
+
icon: "mynaui:chevron-right",
|
|
2614
|
+
className: "size-4 shrink-0 text-foreground/40 group-hover:translate-x-0.5 transition-transform"
|
|
2615
|
+
}
|
|
2616
|
+
)
|
|
2617
|
+
]
|
|
2618
|
+
},
|
|
2619
|
+
cat.key
|
|
2620
|
+
)),
|
|
2621
|
+
deprecatedInstallations.length > 0 && /* @__PURE__ */ jsxs(
|
|
2622
|
+
"button",
|
|
2623
|
+
{
|
|
2624
|
+
onClick: () => setShowDeprecated(true),
|
|
2625
|
+
className: "w-full flex items-center gap-3 px-2 py-3 rounded-lg border border-transparent hover:border-default hover:bg-muted/60 transition-colors text-left group",
|
|
2626
|
+
children: [
|
|
2627
|
+
/* @__PURE__ */ jsx(
|
|
2628
|
+
"div",
|
|
2629
|
+
{
|
|
2630
|
+
className: "size-9 shrink-0 rounded-lg flex items-center justify-center",
|
|
2631
|
+
style: {
|
|
2632
|
+
backgroundColor: "var(--color-status-warning-bgSubtle, color-mix(in oklab, #f59e0b 16%, transparent))"
|
|
2633
|
+
},
|
|
2634
|
+
children: /* @__PURE__ */ jsx(
|
|
2635
|
+
Icon,
|
|
2636
|
+
{
|
|
2637
|
+
icon: "mynaui:circle-warning",
|
|
2638
|
+
className: "size-5",
|
|
2639
|
+
style: { color: "var(--color-status-warning-text, #d97706)" }
|
|
2640
|
+
}
|
|
2641
|
+
)
|
|
2642
|
+
}
|
|
2643
|
+
),
|
|
2644
|
+
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
2645
|
+
/* @__PURE__ */ jsx(
|
|
2646
|
+
"p",
|
|
2485
2647
|
{
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2648
|
+
className: "text-sm font-medium group-hover:text-primary transition-colors",
|
|
2649
|
+
style: { color: "var(--color-status-warning-text, #d97706)" },
|
|
2650
|
+
children: "Deprecated"
|
|
2489
2651
|
}
|
|
2490
|
-
)
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2652
|
+
),
|
|
2653
|
+
/* @__PURE__ */ jsxs("p", { className: "text-xs text-muted-foreground truncate mt-0.5", children: [
|
|
2654
|
+
deprecatedInstallations.length,
|
|
2655
|
+
" node",
|
|
2656
|
+
deprecatedInstallations.length !== 1 ? "s" : "",
|
|
2657
|
+
" no longer supported"
|
|
2658
|
+
] })
|
|
2659
|
+
] }),
|
|
2660
|
+
/* @__PURE__ */ jsx(
|
|
2661
|
+
Icon,
|
|
2662
|
+
{
|
|
2663
|
+
icon: "mynaui:chevron-right",
|
|
2664
|
+
className: "size-4 shrink-0 text-foreground/40 group-hover:translate-x-0.5 transition-transform"
|
|
2665
|
+
}
|
|
2666
|
+
)
|
|
2667
|
+
]
|
|
2668
|
+
}
|
|
2669
|
+
)
|
|
2670
|
+
] }) })
|
|
2508
2671
|
)
|
|
2509
2672
|
] });
|
|
2510
2673
|
}
|
|
@@ -3661,7 +3824,7 @@ function DesktopSidebarFragment({
|
|
|
3661
3824
|
);
|
|
3662
3825
|
if (nodesToInstall.length > 0) {
|
|
3663
3826
|
const { getGlobalStoreClient: getStore } = await import('./global-client-OW43ZRDR.js');
|
|
3664
|
-
const { InstallWorkflowNodeDocument: InstallWorkflowNodeDocument2 } = await import('./global-operations-
|
|
3827
|
+
const { InstallWorkflowNodeDocument: InstallWorkflowNodeDocument2 } = await import('./global-operations-KVVOANLT.js');
|
|
3665
3828
|
const { getFluidGridsConfig: getFluidGridsConfig3 } = await import('./config-E4E7M6IN.js');
|
|
3666
3829
|
const storeClient = getStore();
|
|
3667
3830
|
const cfg = getFluidGridsConfig3();
|
|
@@ -3760,7 +3923,7 @@ function DesktopSidebarFragment({
|
|
|
3760
3923
|
if (importResult?.success && importResult.workflow) {
|
|
3761
3924
|
try {
|
|
3762
3925
|
const { getGlobalStoreClient: getStoreClient } = await import('./global-client-OW43ZRDR.js');
|
|
3763
|
-
const { InstallWorkflowNodeDocument: InstallWorkflowNodeDocument2 } = await import('./global-operations-
|
|
3926
|
+
const { InstallWorkflowNodeDocument: InstallWorkflowNodeDocument2 } = await import('./global-operations-KVVOANLT.js');
|
|
3764
3927
|
const storeClient = getStoreClient();
|
|
3765
3928
|
if (storeClient) {
|
|
3766
3929
|
throwIfResultError(
|
|
@@ -3905,7 +4068,7 @@ function DesktopSidebarFragment({
|
|
|
3905
4068
|
if (nodes) {
|
|
3906
4069
|
const requiredNodeTypes = [];
|
|
3907
4070
|
try {
|
|
3908
|
-
const { NODE_CONFIGS: NODE_CONFIGS3, ensureNodeConfigsLoaded: ensureNodeConfigsLoaded2 } = await import('./blocks-
|
|
4071
|
+
const { NODE_CONFIGS: NODE_CONFIGS3, ensureNodeConfigsLoaded: ensureNodeConfigsLoaded2 } = await import('./blocks-J3YIE73T.js');
|
|
3909
4072
|
await ensureNodeConfigsLoaded2().catch(() => {
|
|
3910
4073
|
});
|
|
3911
4074
|
const workflowNodeTypes = [
|
|
@@ -3917,7 +4080,7 @@ function DesktopSidebarFragment({
|
|
|
3917
4080
|
(type) => !NODE_CONFIGS3.some((c) => c.type === type)
|
|
3918
4081
|
);
|
|
3919
4082
|
if (missingTypes.length > 0) {
|
|
3920
|
-
const { BrowseWorkflowNodesDocument: BrowseWorkflowNodesDocument2 } = await import('./global-operations-
|
|
4083
|
+
const { BrowseWorkflowNodesDocument: BrowseWorkflowNodesDocument2 } = await import('./global-operations-KVVOANLT.js');
|
|
3921
4084
|
const storeResult = await client.query({
|
|
3922
4085
|
query: BrowseWorkflowNodesDocument2,
|
|
3923
4086
|
variables: {
|
|
@@ -13412,7 +13575,13 @@ var FlowBuilder = ({ readOnly = false }) => {
|
|
|
13412
13575
|
/* @__PURE__ */ jsx(VersionHistoryPanel, {}),
|
|
13413
13576
|
/* @__PURE__ */ jsx(SaveFlowButton, {}),
|
|
13414
13577
|
/* @__PURE__ */ jsx(ActivateWorkflowButton, {}),
|
|
13415
|
-
/* @__PURE__ */ jsx(
|
|
13578
|
+
/* @__PURE__ */ jsx(
|
|
13579
|
+
RunWithViewRuns,
|
|
13580
|
+
{
|
|
13581
|
+
onViewRuns: handleViewRuns,
|
|
13582
|
+
canViewRuns: !!id
|
|
13583
|
+
}
|
|
13584
|
+
)
|
|
13416
13585
|
] }),
|
|
13417
13586
|
/* @__PURE__ */ jsx("div", { className: "lg:hidden", children: /* @__PURE__ */ jsxs(DropdownMenu, { children: [
|
|
13418
13587
|
/* @__PURE__ */ jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
@@ -13661,7 +13830,7 @@ function WorkflowItem({
|
|
|
13661
13830
|
setInstalling(true);
|
|
13662
13831
|
try {
|
|
13663
13832
|
const { getGlobalStoreClient: getGlobalStoreClient2 } = await import('./global-client-OW43ZRDR.js');
|
|
13664
|
-
const { InstallWorkflowNodeDocument: InstallWorkflowNodeDocument2 } = await import('./global-operations-
|
|
13833
|
+
const { InstallWorkflowNodeDocument: InstallWorkflowNodeDocument2 } = await import('./global-operations-KVVOANLT.js');
|
|
13665
13834
|
const { getFluidGridsConfig: getFluidGridsConfig2 } = await import('./config-E4E7M6IN.js');
|
|
13666
13835
|
const storeClient = getGlobalStoreClient2();
|
|
13667
13836
|
const cfg = getFluidGridsConfig2();
|
|
@@ -13741,7 +13910,7 @@ function WorkflowItem({
|
|
|
13741
13910
|
};
|
|
13742
13911
|
const requiredNodeTypes = [];
|
|
13743
13912
|
try {
|
|
13744
|
-
const { NODE_CONFIGS: NODE_CONFIGS3, ensureNodeConfigsLoaded: ensureNodeConfigsLoaded2 } = await import('./blocks-
|
|
13913
|
+
const { NODE_CONFIGS: NODE_CONFIGS3, ensureNodeConfigsLoaded: ensureNodeConfigsLoaded2 } = await import('./blocks-J3YIE73T.js');
|
|
13745
13914
|
await ensureNodeConfigsLoaded2().catch(() => {
|
|
13746
13915
|
});
|
|
13747
13916
|
const workflowNodeTypes = [
|
|
@@ -13754,7 +13923,7 @@ function WorkflowItem({
|
|
|
13754
13923
|
);
|
|
13755
13924
|
if (missingTypes.length > 0) {
|
|
13756
13925
|
const { getGlobalStoreClient: getGlobalStoreClient2 } = await import('./global-client-OW43ZRDR.js');
|
|
13757
|
-
const { BrowseWorkflowNodesDocument: BrowseWorkflowNodesDocument2 } = await import('./global-operations-
|
|
13926
|
+
const { BrowseWorkflowNodesDocument: BrowseWorkflowNodesDocument2 } = await import('./global-operations-KVVOANLT.js');
|
|
13758
13927
|
const storeClient = getGlobalStoreClient2();
|
|
13759
13928
|
if (storeClient) {
|
|
13760
13929
|
const storeResult = await storeClient.query({
|
|
@@ -14010,5 +14179,5 @@ function WorkflowBuilder() {
|
|
|
14010
14179
|
}
|
|
14011
14180
|
|
|
14012
14181
|
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, FlowBuilderPage, FluidGridsProvider, TemplateCard, WorkflowBuilder, useFluidGridsContext, useImportWorkflowTemplate, useWorkflowTemplates };
|
|
14013
|
-
//# sourceMappingURL=chunk-
|
|
14014
|
-
//# sourceMappingURL=chunk-
|
|
14182
|
+
//# sourceMappingURL=chunk-JVARXRIW.js.map
|
|
14183
|
+
//# sourceMappingURL=chunk-JVARXRIW.js.map
|