@flowgram.ai/type-editor 0.1.0-alpha.13 → 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 +6 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/index.js +16 -16
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/esm/index.js
CHANGED
|
@@ -621,7 +621,7 @@ ShortcutsService = __decorateClass([
|
|
|
621
621
|
], ShortcutsService);
|
|
622
622
|
|
|
623
623
|
// src/services/type-operation-service.ts
|
|
624
|
-
import { isEqual } from "lodash";
|
|
624
|
+
import { isEqual } from "lodash-es";
|
|
625
625
|
import { injectable as injectable4 } from "inversify";
|
|
626
626
|
var TypeEditorOperationService = class {
|
|
627
627
|
constructor() {
|
|
@@ -1254,7 +1254,7 @@ var useTypeTransform = () => {
|
|
|
1254
1254
|
|
|
1255
1255
|
// src/components/type-selector/hooks/focus-item.ts
|
|
1256
1256
|
import { useCallback as useCallback2, useImperativeHandle, useMemo as useMemo4, useState as useState3 } from "react";
|
|
1257
|
-
import { noop } from "lodash";
|
|
1257
|
+
import { noop } from "lodash-es";
|
|
1258
1258
|
var validatePos = (pos) => pos.x >= 0 && pos.y >= 0;
|
|
1259
1259
|
var useFocusItemCascader = ({
|
|
1260
1260
|
rootTypes,
|
|
@@ -3704,7 +3704,7 @@ var columnConfigs = [
|
|
|
3704
3704
|
|
|
3705
3705
|
// src/components/type-editor/index.tsx
|
|
3706
3706
|
import React41, { useImperativeHandle as useImperativeHandle2, useState as useState21 } from "react";
|
|
3707
|
-
import { noop as noop2 } from "lodash";
|
|
3707
|
+
import { noop as noop2 } from "lodash-es";
|
|
3708
3708
|
import { Space as Space6 } from "@douyinfe/semi-ui";
|
|
3709
3709
|
|
|
3710
3710
|
// src/components/type-editor/type-editor.tsx
|
|
@@ -3716,7 +3716,7 @@ import { HTML5Backend } from "react-dnd-html5-backend";
|
|
|
3716
3716
|
import { DndProvider } from "react-dnd";
|
|
3717
3717
|
import { useCallback as useCallback9, useEffect as useEffect16, useMemo as useMemo19, useRef as useRef6, useState as useState19 } from "react";
|
|
3718
3718
|
import React36 from "react";
|
|
3719
|
-
import { isEqual as isEqual2 } from "lodash";
|
|
3719
|
+
import { isEqual as isEqual2 } from "lodash-es";
|
|
3720
3720
|
import classNames6 from "classnames";
|
|
3721
3721
|
import { Space as Space3 } from "@douyinfe/semi-ui";
|
|
3722
3722
|
|
|
@@ -3824,7 +3824,7 @@ var typeDefinitionConfig = {
|
|
|
3824
3824
|
};
|
|
3825
3825
|
|
|
3826
3826
|
// src/components/type-editor/mode/declare-assign.ts
|
|
3827
|
-
import { set, get } from "lodash";
|
|
3827
|
+
import { set, get } from "lodash-es";
|
|
3828
3828
|
var traverseIJsonSchema2 = (root, path, cb) => {
|
|
3829
3829
|
if (root) {
|
|
3830
3830
|
cb(root, path);
|
|
@@ -4768,7 +4768,7 @@ var UndoRedo = ({
|
|
|
4768
4768
|
|
|
4769
4769
|
// src/components/type-editor/tools/create-by-data.tsx
|
|
4770
4770
|
import React39, { useCallback as useCallback10, useMemo as useMemo20, useState as useState20 } from "react";
|
|
4771
|
-
import { debounce } from "lodash";
|
|
4771
|
+
import { debounce } from "lodash-es";
|
|
4772
4772
|
import { Button as Button2, Divider, Empty as Empty2, Modal, Space as Space4, TextArea } from "@douyinfe/semi-ui";
|
|
4773
4773
|
import { IllustrationFailure, IllustrationFailureDark } from "@douyinfe/semi-illustrations";
|
|
4774
4774
|
|