@burdenoff/fluidgrids-fe-sdk 2026.716.4 → 2026.716.6

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-L5PYR7BO.js';
1
+ export { WorkflowBuilder } from './chunk-6XXYVEIO.js';
2
2
  import './chunk-7VEOUEIN.js';
3
3
  import './chunk-Z54K22LP.js';
4
4
  import './chunk-OKX63SYW.js';
@@ -10,5 +10,5 @@ import './chunk-NAC4WYE5.js';
10
10
  import './chunk-5BDQNSP3.js';
11
11
  import './chunk-WWU2O2SR.js';
12
12
  import './chunk-XQP33UJR.js';
13
- //# sourceMappingURL=WorkflowBuilder-G3GS7NGX.js.map
14
- //# sourceMappingURL=WorkflowBuilder-G3GS7NGX.js.map
13
+ //# sourceMappingURL=WorkflowBuilder-H22NUK3Q.js.map
14
+ //# sourceMappingURL=WorkflowBuilder-H22NUK3Q.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"WorkflowBuilder-G3GS7NGX.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"WorkflowBuilder-H22NUK3Q.js"}
@@ -2245,7 +2245,9 @@ function getStoreNodeType(node, isInstalled) {
2245
2245
  function getStoreNodeAvailability(node, isInstalled) {
2246
2246
  const nodeType = getStoreNodeType(node, isInstalled);
2247
2247
  const isInternalBuiltin = !!nodeType && nodeType.startsWith("internal:");
2248
- const isRegistryBacked = !!nodeType && AVAILABLE_NODES.some((availableNode) => availableNode.type === nodeType);
2248
+ const isRegistryBacked = !!nodeType && AVAILABLE_NODES.some(
2249
+ (availableNode) => availableNode.type === nodeType && (availableNode.publishType === "BUILTIN" || availableNode.publishType === void 0)
2250
+ );
2249
2251
  const isPrebuilt = !isInstalled && (isInternalBuiltin || isRegistryBacked);
2250
2252
  return {
2251
2253
  nodeType,
@@ -13562,7 +13564,9 @@ var FlowBuilderPage = ({
13562
13564
  ] });
13563
13565
  };
13564
13566
  var LazyTemplateConfigurationModal2 = lazy(
13565
- () => import('./TemplateConfigurationModal-ZMCT3ZCH.js').then((m) => ({ default: m.TemplateConfigurationModal }))
13567
+ () => import('./TemplateConfigurationModal-ZMCT3ZCH.js').then(
13568
+ (m) => ({ default: m.TemplateConfigurationModal })
13569
+ )
13566
13570
  );
13567
13571
  function WorkflowItem({
13568
13572
  readonly = false
@@ -13607,6 +13611,10 @@ function WorkflowItem({
13607
13611
  },
13608
13612
  [installedAppIds]
13609
13613
  );
13614
+ const buildNodeCheckRef = useRef(buildNodeCheck);
13615
+ useEffect(() => {
13616
+ buildNodeCheckRef.current = buildNodeCheck;
13617
+ });
13610
13618
  const handleSharedConfirm = useCallback(async () => {
13611
13619
  if (!pendingSharedWorkflow) return;
13612
13620
  const nodesToInstall = (sharedNodeCheck?.missing ?? []).filter(
@@ -13762,7 +13770,7 @@ function WorkflowItem({
13762
13770
  }
13763
13771
  if (mounted) {
13764
13772
  if (requiredNodeTypes.length > 0) {
13765
- const nodeCheck = buildNodeCheck(requiredNodeTypes);
13773
+ const nodeCheck = buildNodeCheckRef.current(requiredNodeTypes);
13766
13774
  const needsConfig = nodeCheck.missing.length > 0 || nodeCheck.missingPaid.length > 0;
13767
13775
  if (needsConfig) {
13768
13776
  setPendingSharedWorkflow(sharedWorkflow);
@@ -13881,7 +13889,17 @@ function WorkflowItem({
13881
13889
  return () => {
13882
13890
  mounted = false;
13883
13891
  };
13884
- }, [id, version, createWorkflow, getWorkflow, newWorkflow, resetWorkflow, buildNodeCheck]);
13892
+ }, [
13893
+ id,
13894
+ version,
13895
+ createWorkflow,
13896
+ getWorkflow,
13897
+ newWorkflow,
13898
+ resetWorkflow
13899
+ // buildNodeCheckRef is intentionally omitted — it's a ref (stable by definition)
13900
+ // and including buildNodeCheck here caused infinite re-runs because installedAppIds
13901
+ // produces a new Set reference on every render.
13902
+ ]);
13885
13903
  if (isLoading) return /* @__PURE__ */ jsx("div", { children: "Loading..." });
13886
13904
  const sharedModalContent = pendingSharedWorkflow ? {
13887
13905
  definitionJson: { nodes: [], edges: [] },
@@ -13955,5 +13973,5 @@ function WorkflowBuilder() {
13955
13973
  }
13956
13974
 
13957
13975
  export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, FlowBuilderPage, FluidGridsProvider, TemplateCard, WorkflowBuilder, useFluidGridsContext, useImportWorkflowTemplate, useWorkflowTemplates };
13958
- //# sourceMappingURL=chunk-L5PYR7BO.js.map
13959
- //# sourceMappingURL=chunk-L5PYR7BO.js.map
13976
+ //# sourceMappingURL=chunk-6XXYVEIO.js.map
13977
+ //# sourceMappingURL=chunk-6XXYVEIO.js.map