@flowgram.ai/renderer 0.4.6 → 0.4.8

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/esm/index.js CHANGED
@@ -433,7 +433,7 @@ import { ConfigEntity as ConfigEntity2 } from "@flowgram.ai/core";
433
433
  import { Compare, Rectangle as Rectangle2 } from "@flowgram.ai/utils";
434
434
 
435
435
  // src/utils/find-selected-nodes.ts
436
- import { uniq } from "lodash";
436
+ import { uniq } from "lodash-es";
437
437
  function getNodePath(node) {
438
438
  const path = [node];
439
439
  node = node.parent;
@@ -626,7 +626,7 @@ import { injectable } from "inversify";
626
626
  import { Disposable } from "@flowgram.ai/utils";
627
627
 
628
628
  // src/utils/element.ts
629
- import { isNil } from "lodash";
629
+ import { isNil } from "lodash-es";
630
630
  var isHidden = (dom) => {
631
631
  if (!dom || isNil(dom?.offsetParent)) {
632
632
  return true;
@@ -1042,7 +1042,7 @@ FlowNodesContentLayer = __decorateClass([
1042
1042
 
1043
1043
  // src/layers/flow-lines-layer.tsx
1044
1044
  import React8 from "react";
1045
- import { groupBy, throttle } from "lodash";
1045
+ import { groupBy, throttle } from "lodash-es";
1046
1046
  import { inject as inject4, injectable as injectable5 } from "inversify";
1047
1047
  import { domUtils as domUtils3 } from "@flowgram.ai/utils";
1048
1048
  import {
@@ -1084,7 +1084,7 @@ var StraightLine_default = StraightLine;
1084
1084
 
1085
1085
  // src/components/RoundedTurningLine.tsx
1086
1086
  import React5, { useMemo } from "react";
1087
- import { isNil as isNil2 } from "lodash";
1087
+ import { isNil as isNil2 } from "lodash-es";
1088
1088
  import { Point } from "@flowgram.ai/utils";
1089
1089
  import { useService as useService2 } from "@flowgram.ai/core";
1090
1090
 
@@ -1389,7 +1389,7 @@ FlowLinesLayer = __decorateClass([
1389
1389
 
1390
1390
  // src/layers/flow-labels-layer.tsx
1391
1391
  import React14 from "react";
1392
- import { throttle as throttle2 } from "lodash";
1392
+ import { throttle as throttle2 } from "lodash-es";
1393
1393
  import { inject as inject5, injectable as injectable6 } from "inversify";
1394
1394
  import { domUtils as domUtils4 } from "@flowgram.ai/utils";
1395
1395
  import {