@burdenoff/fluidgrids-fe-sdk 2026.802.1 → 2026.803.2
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-FCY3S336.js +9 -0
- package/dist/{ExecutionDetailPage-SRCSHJGP.js.map → ExecutionDetailPage-FCY3S336.js.map} +1 -1
- package/dist/ExecutionsListPage-5S7FYMT3.js +8 -0
- package/dist/{ExecutionsListPage-U56HSEQP.js.map → ExecutionsListPage-5S7FYMT3.js.map} +1 -1
- package/dist/{WorkflowBuilder-CKIUXTSV.js → WorkflowBuilder-UVG6GJ6F.js} +7 -6
- package/dist/{WorkflowBuilder-CKIUXTSV.js.map → WorkflowBuilder-UVG6GJ6F.js.map} +1 -1
- package/dist/WorkflowsList-5DQBGMWK.js +11 -0
- package/dist/{WorkflowsList-5UZY4DET.js.map → WorkflowsList-5DQBGMWK.js.map} +1 -1
- package/dist/{blocks-XCVHRP3M.js → blocks-LFAFGFT4.js} +4 -4
- package/dist/{blocks-XCVHRP3M.js.map → blocks-LFAFGFT4.js.map} +1 -1
- package/dist/{chunk-4BTELH5D.js → chunk-3CIPVKE4.js} +4 -4
- package/dist/{chunk-4BTELH5D.js.map → chunk-3CIPVKE4.js.map} +1 -1
- package/dist/{chunk-GA7JCHR7.js → chunk-CCB7SLHT.js} +72 -7
- package/dist/chunk-CCB7SLHT.js.map +1 -0
- package/dist/{chunk-XGHVH42W.js → chunk-CN6MX457.js} +3 -3
- package/dist/chunk-CN6MX457.js.map +1 -0
- package/dist/chunk-F2CI6H7E.js +177 -0
- package/dist/chunk-F2CI6H7E.js.map +1 -0
- package/dist/{chunk-FKRA7YZ4.js → chunk-F5ACDIYR.js} +4 -4
- package/dist/{chunk-FKRA7YZ4.js.map → chunk-F5ACDIYR.js.map} +1 -1
- package/dist/{chunk-XEYNX7YJ.js → chunk-V5UEEB74.js} +151 -3
- package/dist/chunk-V5UEEB74.js.map +1 -0
- package/dist/{chunk-OXJRUVCR.js → chunk-WAVGHDYH.js} +3 -3
- package/dist/chunk-WAVGHDYH.js.map +1 -0
- package/dist/{chunk-5BVGOGM7.js → chunk-WWKY5CJ4.js} +120 -8
- package/dist/chunk-WWKY5CJ4.js.map +1 -0
- package/dist/{chunk-NMS2QUXG.js → chunk-WZBJIBUX.js} +3 -3
- package/dist/{chunk-NMS2QUXG.js.map → chunk-WZBJIBUX.js.map} +1 -1
- package/dist/index.d.ts +622 -73
- package/dist/index.js +37 -16
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/ExecutionDetailPage-SRCSHJGP.js +0 -9
- package/dist/ExecutionsListPage-U56HSEQP.js +0 -8
- package/dist/WorkflowsList-5UZY4DET.js +0 -10
- package/dist/chunk-5BVGOGM7.js.map +0 -1
- package/dist/chunk-GA7JCHR7.js.map +0 -1
- package/dist/chunk-OXJRUVCR.js.map +0 -1
- package/dist/chunk-XEYNX7YJ.js.map +0 -1
- package/dist/chunk-XGHVH42W.js.map +0 -1
|
@@ -1,13 +1,14 @@
|
|
|
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, useInsertNode, NODE_TYPE_DRAG_DATA_FORMAT, NODE_OPERATION_DRAG_DATA_FORMAT, useSaveWorkflow, STICKY_NOTE_TYPE, useNodeExecution, getNodeDetail, mergeStickyNotes, buildStickyNode, ConnectionSelector, nodeAccent, NodeTypeIcon, NODES_METADATA, isNodeConfigsInitialized, NODE_CONFIGS, isImageIcon, NODES, NodePropertyPanel, resolveInputHandles } from './chunk-
|
|
3
|
+
import { refetchStoreNodes, registerWorkflowNodeTypes, ensureNodeConfigsLoaded, onNodeTypesUpdate, NODE_TYPES, getNodeMetadata, AVAILABLE_NODES, useInsertNode, NODE_TYPE_DRAG_DATA_FORMAT, NODE_OPERATION_DRAG_DATA_FORMAT, useSaveWorkflow, STICKY_NOTE_TYPE, useNodeExecution, getNodeDetail, mergeStickyNotes, buildStickyNode, ConnectionSelector, nodeAccent, NodeTypeIcon, NODES_METADATA, isNodeConfigsInitialized, NODE_CONFIGS, isImageIcon, NODES, NodePropertyPanel, resolveInputHandles } from './chunk-CN6MX457.js';
|
|
4
4
|
import { createGlobalStoreClient, setGlobalStoreClient, resetGlobalStoreClient, getGlobalStoreClient } from './chunk-BQXHJIER.js';
|
|
5
5
|
import { BrowseWorkflowTemplatesDocument, InstallWorkflowNodeDocument, InstallPurchasedNodeDocument, GetMyNodeInstallationsDocument, BrowseWorkflowNodesDocument, UninstallWorkflowNodeDocument, CreateStoreOrderDocument } from './chunk-PNOA7CQV.js';
|
|
6
|
-
import {
|
|
6
|
+
import { useEntityTags, useTagEntity, useUntagEntity } from './chunk-F2CI6H7E.js';
|
|
7
|
+
import { useLazyWorkflowDefinition, useCreateWorkflow, useWorkflowVersions, useRestoreWorkflowVersion, useActivateWorkflow, useDeleteWorkflow, useDeactivateWorkflow } from './chunk-WZBJIBUX.js';
|
|
7
8
|
import { useFlowStore } from './chunk-ZM4SSEVI.js';
|
|
8
9
|
import { SdkPermissionButton, FLUIDGRIDS_PERMISSIONS } from './chunk-UIY2HBWA.js';
|
|
9
10
|
import { cn } from './chunk-3ZYUGTIT.js';
|
|
10
|
-
import { throwIfResultError, NodeSchemaIntrospectionDocument, EventRegistrationsDocument, NodeUsageStatusDocument, RemoveNodeFromWorkflowsDocument } from './chunk-
|
|
11
|
+
import { throwIfResultError, NodeSchemaIntrospectionDocument, EventRegistrationsDocument, NodeUsageStatusDocument, RemoveNodeFromWorkflowsDocument } from './chunk-V5UEEB74.js';
|
|
11
12
|
import { createFluidGridsClient, setFluidGridsClient, resetFluidGridsClient, getFluidGridsClient, getFluidGridsClientSafe } from './chunk-5BDQNSP3.js';
|
|
12
13
|
import { validateTrustedOrigin, setFluidGridsConfig, resetFluidGridsConfig, getFluidGridsConfig } from './chunk-WWU2O2SR.js';
|
|
13
14
|
import { deepClone, applyTemplateInputs } from './chunk-XQP33UJR.js';
|
|
@@ -39,6 +40,7 @@ import { nanoid } from 'nanoid/non-secure';
|
|
|
39
40
|
import CodeMirror from '@uiw/react-codemirror';
|
|
40
41
|
import { javascript } from '@codemirror/lang-javascript';
|
|
41
42
|
import { python } from '@codemirror/lang-python';
|
|
43
|
+
import { TagBadge, TagsWidget } from '@burdenoff/fe-libs/tag';
|
|
42
44
|
import { useActorProfiles, buildActorFallback } from '@burdenoff/fe-libs/shared';
|
|
43
45
|
import { ErrorBoundary } from '@burdenoff/fe-libs/shared/components';
|
|
44
46
|
|
|
@@ -4289,7 +4291,7 @@ function DesktopSidebarFragment({
|
|
|
4289
4291
|
if (nodes) {
|
|
4290
4292
|
const requiredNodeTypes = [];
|
|
4291
4293
|
try {
|
|
4292
|
-
const { NODE_CONFIGS: NODE_CONFIGS3, ensureNodeConfigsLoaded: ensureNodeConfigsLoaded2 } = await import('./blocks-
|
|
4294
|
+
const { NODE_CONFIGS: NODE_CONFIGS3, ensureNodeConfigsLoaded: ensureNodeConfigsLoaded2 } = await import('./blocks-LFAFGFT4.js');
|
|
4293
4295
|
await ensureNodeConfigsLoaded2().catch(() => {
|
|
4294
4296
|
});
|
|
4295
4297
|
const workflowNodeTypes = [
|
|
@@ -13903,6 +13905,108 @@ function QuickConfigPanelInner({
|
|
|
13903
13905
|
)
|
|
13904
13906
|
] });
|
|
13905
13907
|
}
|
|
13908
|
+
function toTagItem(assignment) {
|
|
13909
|
+
return {
|
|
13910
|
+
id: assignment.tagId,
|
|
13911
|
+
key: assignment.tagInfo?.key ?? assignment.tagId,
|
|
13912
|
+
label: assignment.tagInfo?.label ?? assignment.tagInfo?.key ?? "Tag",
|
|
13913
|
+
color: assignment.tagInfo?.color ?? null
|
|
13914
|
+
};
|
|
13915
|
+
}
|
|
13916
|
+
function EntityTagPicker({
|
|
13917
|
+
entityType,
|
|
13918
|
+
entityId,
|
|
13919
|
+
onDraftChange,
|
|
13920
|
+
readOnly = false,
|
|
13921
|
+
className
|
|
13922
|
+
}) {
|
|
13923
|
+
const draftMode = !entityId;
|
|
13924
|
+
const { workspaceId } = getFluidGridsConfig();
|
|
13925
|
+
const { tags: assignments, refetch } = useEntityTags(entityType, entityId);
|
|
13926
|
+
const tagEntity = useTagEntity();
|
|
13927
|
+
const untagEntity = useUntagEntity();
|
|
13928
|
+
const [current, setCurrent] = useState([]);
|
|
13929
|
+
const currentRef = useRef([]);
|
|
13930
|
+
const assignmentKey = assignments.map((a) => a.tagId).join("|");
|
|
13931
|
+
const syncedKey = useRef(null);
|
|
13932
|
+
useEffect(() => {
|
|
13933
|
+
if (draftMode || syncedKey.current === assignmentKey) return;
|
|
13934
|
+
syncedKey.current = assignmentKey;
|
|
13935
|
+
const synced = assignments.map(toTagItem);
|
|
13936
|
+
currentRef.current = synced;
|
|
13937
|
+
setCurrent(synced);
|
|
13938
|
+
}, [assignmentKey, assignments, draftMode]);
|
|
13939
|
+
const handleAdd = useCallback(
|
|
13940
|
+
async (tag) => {
|
|
13941
|
+
if (currentRef.current.some((t) => t.id === tag.id)) return;
|
|
13942
|
+
const next = [...currentRef.current, tag];
|
|
13943
|
+
currentRef.current = next;
|
|
13944
|
+
setCurrent(next);
|
|
13945
|
+
if (draftMode) {
|
|
13946
|
+
onDraftChange?.(next.map((t) => t.id));
|
|
13947
|
+
return;
|
|
13948
|
+
}
|
|
13949
|
+
try {
|
|
13950
|
+
await tagEntity(entityType, entityId, tag.id);
|
|
13951
|
+
await refetch();
|
|
13952
|
+
} catch {
|
|
13953
|
+
const rolledBack = currentRef.current.filter((t) => t.id !== tag.id);
|
|
13954
|
+
currentRef.current = rolledBack;
|
|
13955
|
+
setCurrent(rolledBack);
|
|
13956
|
+
}
|
|
13957
|
+
},
|
|
13958
|
+
[draftMode, entityId, entityType, onDraftChange, refetch, tagEntity]
|
|
13959
|
+
);
|
|
13960
|
+
const handleRemove = useCallback(
|
|
13961
|
+
async (tagId) => {
|
|
13962
|
+
const removed = currentRef.current.find((t) => t.id === tagId);
|
|
13963
|
+
const next = currentRef.current.filter((t) => t.id !== tagId);
|
|
13964
|
+
currentRef.current = next;
|
|
13965
|
+
setCurrent(next);
|
|
13966
|
+
if (draftMode) {
|
|
13967
|
+
onDraftChange?.(next.map((t) => t.id));
|
|
13968
|
+
return;
|
|
13969
|
+
}
|
|
13970
|
+
try {
|
|
13971
|
+
await untagEntity(entityType, entityId, tagId);
|
|
13972
|
+
await refetch();
|
|
13973
|
+
} catch {
|
|
13974
|
+
if (removed) {
|
|
13975
|
+
const rolledBack = [...currentRef.current, removed];
|
|
13976
|
+
currentRef.current = rolledBack;
|
|
13977
|
+
setCurrent(rolledBack);
|
|
13978
|
+
}
|
|
13979
|
+
}
|
|
13980
|
+
},
|
|
13981
|
+
[draftMode, entityId, entityType, onDraftChange, refetch, untagEntity]
|
|
13982
|
+
);
|
|
13983
|
+
if (readOnly) {
|
|
13984
|
+
if (current.length === 0) return null;
|
|
13985
|
+
return /* @__PURE__ */ jsx("div", { className: `flex flex-wrap items-center gap-1 ${className ?? ""}`, children: current.map((tag) => /* @__PURE__ */ jsx(
|
|
13986
|
+
TagBadge,
|
|
13987
|
+
{
|
|
13988
|
+
id: tag.id,
|
|
13989
|
+
label: tag.label,
|
|
13990
|
+
color: tag.color ?? void 0,
|
|
13991
|
+
size: "sm"
|
|
13992
|
+
},
|
|
13993
|
+
tag.id
|
|
13994
|
+
)) });
|
|
13995
|
+
}
|
|
13996
|
+
return /* @__PURE__ */ jsx(
|
|
13997
|
+
TagsWidget,
|
|
13998
|
+
{
|
|
13999
|
+
entityType,
|
|
14000
|
+
entityId: entityId ?? "",
|
|
14001
|
+
workspaceId: workspaceId || void 0,
|
|
14002
|
+
tags: current,
|
|
14003
|
+
onAdd: handleAdd,
|
|
14004
|
+
onRemove: handleRemove,
|
|
14005
|
+
syncGraphNotifications: !draftMode,
|
|
14006
|
+
className
|
|
14007
|
+
}
|
|
14008
|
+
);
|
|
14009
|
+
}
|
|
13906
14010
|
var STATUS_STYLES = {
|
|
13907
14011
|
DRAFT: { label: "Draft", variant: "secondary" },
|
|
13908
14012
|
ACTIVE: { label: "Active", variant: "default" },
|
|
@@ -14567,6 +14671,14 @@ var FlowBuilder = ({ readOnly = false }) => {
|
|
|
14567
14671
|
value: workflowAlias,
|
|
14568
14672
|
onChange: handleAliasChange
|
|
14569
14673
|
}
|
|
14674
|
+
),
|
|
14675
|
+
id && /* @__PURE__ */ jsx(
|
|
14676
|
+
EntityTagPicker,
|
|
14677
|
+
{
|
|
14678
|
+
entityType: "FLUIDGRIDS_WORKFLOW",
|
|
14679
|
+
entityId: id,
|
|
14680
|
+
className: "ml-2"
|
|
14681
|
+
}
|
|
14570
14682
|
)
|
|
14571
14683
|
] }),
|
|
14572
14684
|
name !== "" && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -14924,7 +15036,7 @@ function WorkflowItem({
|
|
|
14924
15036
|
};
|
|
14925
15037
|
const requiredNodeTypes = [];
|
|
14926
15038
|
try {
|
|
14927
|
-
const { NODE_CONFIGS: NODE_CONFIGS3, ensureNodeConfigsLoaded: ensureNodeConfigsLoaded2 } = await import('./blocks-
|
|
15039
|
+
const { NODE_CONFIGS: NODE_CONFIGS3, ensureNodeConfigsLoaded: ensureNodeConfigsLoaded2 } = await import('./blocks-LFAFGFT4.js');
|
|
14928
15040
|
await ensureNodeConfigsLoaded2().catch(() => {
|
|
14929
15041
|
});
|
|
14930
15042
|
const workflowNodeTypes = [
|
|
@@ -15221,6 +15333,6 @@ function WorkflowBuilder() {
|
|
|
15221
15333
|
);
|
|
15222
15334
|
}
|
|
15223
15335
|
|
|
15224
|
-
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, FlowBuilderPage, FluidGridsProvider, TemplateCard, WorkflowBuilder, useFluidGridsContext, useImportWorkflowTemplate, useWorkflowTemplates };
|
|
15225
|
-
//# sourceMappingURL=chunk-
|
|
15226
|
-
//# sourceMappingURL=chunk-
|
|
15336
|
+
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, EntityTagPicker, FlowBuilderPage, FluidGridsProvider, TemplateCard, WorkflowBuilder, useFluidGridsContext, useImportWorkflowTemplate, useWorkflowTemplates };
|
|
15337
|
+
//# sourceMappingURL=chunk-WWKY5CJ4.js.map
|
|
15338
|
+
//# sourceMappingURL=chunk-WWKY5CJ4.js.map
|