@burdenoff/fluidgrids-fe-sdk 2026.716.4 → 2026.716.5

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-KIJ5NGUZ.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-XXJCVCE4.js.map
14
+ //# sourceMappingURL=WorkflowBuilder-XXJCVCE4.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"WorkflowBuilder-G3GS7NGX.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"WorkflowBuilder-XXJCVCE4.js"}
@@ -13562,7 +13562,9 @@ var FlowBuilderPage = ({
13562
13562
  ] });
13563
13563
  };
13564
13564
  var LazyTemplateConfigurationModal2 = lazy(
13565
- () => import('./TemplateConfigurationModal-ZMCT3ZCH.js').then((m) => ({ default: m.TemplateConfigurationModal }))
13565
+ () => import('./TemplateConfigurationModal-ZMCT3ZCH.js').then(
13566
+ (m) => ({ default: m.TemplateConfigurationModal })
13567
+ )
13566
13568
  );
13567
13569
  function WorkflowItem({
13568
13570
  readonly = false
@@ -13607,6 +13609,10 @@ function WorkflowItem({
13607
13609
  },
13608
13610
  [installedAppIds]
13609
13611
  );
13612
+ const buildNodeCheckRef = useRef(buildNodeCheck);
13613
+ useEffect(() => {
13614
+ buildNodeCheckRef.current = buildNodeCheck;
13615
+ });
13610
13616
  const handleSharedConfirm = useCallback(async () => {
13611
13617
  if (!pendingSharedWorkflow) return;
13612
13618
  const nodesToInstall = (sharedNodeCheck?.missing ?? []).filter(
@@ -13762,7 +13768,7 @@ function WorkflowItem({
13762
13768
  }
13763
13769
  if (mounted) {
13764
13770
  if (requiredNodeTypes.length > 0) {
13765
- const nodeCheck = buildNodeCheck(requiredNodeTypes);
13771
+ const nodeCheck = buildNodeCheckRef.current(requiredNodeTypes);
13766
13772
  const needsConfig = nodeCheck.missing.length > 0 || nodeCheck.missingPaid.length > 0;
13767
13773
  if (needsConfig) {
13768
13774
  setPendingSharedWorkflow(sharedWorkflow);
@@ -13881,7 +13887,17 @@ function WorkflowItem({
13881
13887
  return () => {
13882
13888
  mounted = false;
13883
13889
  };
13884
- }, [id, version, createWorkflow, getWorkflow, newWorkflow, resetWorkflow, buildNodeCheck]);
13890
+ }, [
13891
+ id,
13892
+ version,
13893
+ createWorkflow,
13894
+ getWorkflow,
13895
+ newWorkflow,
13896
+ resetWorkflow
13897
+ // buildNodeCheckRef is intentionally omitted — it's a ref (stable by definition)
13898
+ // and including buildNodeCheck here caused infinite re-runs because installedAppIds
13899
+ // produces a new Set reference on every render.
13900
+ ]);
13885
13901
  if (isLoading) return /* @__PURE__ */ jsx("div", { children: "Loading..." });
13886
13902
  const sharedModalContent = pendingSharedWorkflow ? {
13887
13903
  definitionJson: { nodes: [], edges: [] },
@@ -13955,5 +13971,5 @@ function WorkflowBuilder() {
13955
13971
  }
13956
13972
 
13957
13973
  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
13974
+ //# sourceMappingURL=chunk-KIJ5NGUZ.js.map
13975
+ //# sourceMappingURL=chunk-KIJ5NGUZ.js.map