@flowgram.ai/type-editor 0.1.0-alpha.12 → 0.1.0-alpha.14

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
@@ -9,6 +9,9 @@ var __decorateClass = (decorators, target, key, kind) => {
9
9
  return result;
10
10
  };
11
11
 
12
+ // src/index.ts
13
+ import "@douyinfe/semi-ui/lib/es/table";
14
+
12
15
  // src/types/type-editor.ts
13
16
  var TypeEditorColumnType = /* @__PURE__ */ ((TypeEditorColumnType2) => {
14
17
  TypeEditorColumnType2["Key"] = "key";
@@ -618,7 +621,7 @@ ShortcutsService = __decorateClass([
618
621
  ], ShortcutsService);
619
622
 
620
623
  // src/services/type-operation-service.ts
621
- import { isEqual } from "lodash";
624
+ import { isEqual } from "lodash-es";
622
625
  import { injectable as injectable4 } from "inversify";
623
626
  var TypeEditorOperationService = class {
624
627
  constructor() {
@@ -1251,7 +1254,7 @@ var useTypeTransform = () => {
1251
1254
 
1252
1255
  // src/components/type-selector/hooks/focus-item.ts
1253
1256
  import { useCallback as useCallback2, useImperativeHandle, useMemo as useMemo4, useState as useState3 } from "react";
1254
- import { noop } from "lodash";
1257
+ import { noop } from "lodash-es";
1255
1258
  var validatePos = (pos) => pos.x >= 0 && pos.y >= 0;
1256
1259
  var useFocusItemCascader = ({
1257
1260
  rootTypes,
@@ -3701,7 +3704,7 @@ var columnConfigs = [
3701
3704
 
3702
3705
  // src/components/type-editor/index.tsx
3703
3706
  import React41, { useImperativeHandle as useImperativeHandle2, useState as useState21 } from "react";
3704
- import { noop as noop2 } from "lodash";
3707
+ import { noop as noop2 } from "lodash-es";
3705
3708
  import { Space as Space6 } from "@douyinfe/semi-ui";
3706
3709
 
3707
3710
  // src/components/type-editor/type-editor.tsx
@@ -3713,7 +3716,7 @@ import { HTML5Backend } from "react-dnd-html5-backend";
3713
3716
  import { DndProvider } from "react-dnd";
3714
3717
  import { useCallback as useCallback9, useEffect as useEffect16, useMemo as useMemo19, useRef as useRef6, useState as useState19 } from "react";
3715
3718
  import React36 from "react";
3716
- import { isEqual as isEqual2 } from "lodash";
3719
+ import { isEqual as isEqual2 } from "lodash-es";
3717
3720
  import classNames6 from "classnames";
3718
3721
  import { Space as Space3 } from "@douyinfe/semi-ui";
3719
3722
 
@@ -3821,7 +3824,7 @@ var typeDefinitionConfig = {
3821
3824
  };
3822
3825
 
3823
3826
  // src/components/type-editor/mode/declare-assign.ts
3824
- import { set, get } from "lodash";
3827
+ import { set, get } from "lodash-es";
3825
3828
  var traverseIJsonSchema2 = (root, path, cb) => {
3826
3829
  if (root) {
3827
3830
  cb(root, path);
@@ -4765,7 +4768,7 @@ var UndoRedo = ({
4765
4768
 
4766
4769
  // src/components/type-editor/tools/create-by-data.tsx
4767
4770
  import React39, { useCallback as useCallback10, useMemo as useMemo20, useState as useState20 } from "react";
4768
- import { debounce } from "lodash";
4771
+ import { debounce } from "lodash-es";
4769
4772
  import { Button as Button2, Divider, Empty as Empty2, Modal, Space as Space4, TextArea } from "@douyinfe/semi-ui";
4770
4773
  import { IllustrationFailure, IllustrationFailureDark } from "@douyinfe/semi-illustrations";
4771
4774