@cloud-app-dev/vidc 2.0.0-alpha.18 → 2.0.0-alpha.19

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.
@@ -10,7 +10,7 @@ interface AppRedirectProps {
10
10
  * @description 重定向路径
11
11
  * @description -
12
12
  */
13
- to: H.LocationDescriptor<any>;
13
+ to: H.Location;
14
14
  }
15
15
  declare function AppRedirect({ path, to }: AppRedirectProps): JSX.Element;
16
16
  export default AppRedirect;
@@ -22,7 +22,7 @@ import React, { useCallback, useEffect, useMemo, useState } from 'react';
22
22
  import TreeMode from '../Tree';
23
23
  import DynamicDeviceList from '../List/DynamicDeviceList';
24
24
  import DeviceList from '../List/DeviceList';
25
- import { uniq, uniqBy } from 'lodash-es';
25
+ import { uniq, uniqBy } from 'lodash';
26
26
  import TreeType from './TreeType';
27
27
  import "./index.css";
28
28
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import replace from 'lodash-es/replace';
3
- import escapeRegExp from 'lodash-es/escapeRegExp';
2
+ import replace from 'lodash/replace';
3
+ import escapeRegExp from 'lodash/escapeRegExp';
4
4
  import "./index.css";
5
5
 
6
6
  function HighLevel(_ref) {
@@ -1,3 +1,3 @@
1
1
  import type { History } from 'history';
2
- declare const InstanceHistory: History<unknown>;
2
+ declare const InstanceHistory: History;
3
3
  export default InstanceHistory;
@@ -23,7 +23,7 @@ import Tools from './component/Tools';
23
23
  import DrawRect from './component/DrawRect';
24
24
  import WheelScale from './component/WheelScale';
25
25
  import DefaultRects from './component/DefaultRects';
26
- import isFunction from 'lodash-es/isFunction';
26
+ import isFunction from 'lodash/isFunction';
27
27
  import "./index.css";
28
28
 
29
29
  function Picture(_a) {
@@ -1,4 +1,4 @@
1
- import cloneDeep from 'lodash-es/cloneDeep';
1
+ import cloneDeep from 'lodash/cloneDeep';
2
2
  export function customContextMenu(e) {
3
3
  e.preventDefault();
4
4
  return false;
@@ -24,10 +24,10 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
24
24
  import React, { useCallback, useMemo, useState, useImperativeHandle } from 'react';
25
25
  import api from '../Api';
26
26
  import TreeMode from '../Tree';
27
- import uniq from 'lodash-es/uniq';
28
- import intersectionWith from 'lodash-es/intersectionWith';
29
- import uniqBy from 'lodash-es/uniqBy';
30
- import differenceWith from 'lodash-es/differenceWith';
27
+ import uniq from 'lodash/uniq';
28
+ import intersectionWith from 'lodash/intersectionWith';
29
+ import uniqBy from 'lodash/uniqBy';
30
+ import differenceWith from 'lodash/differenceWith';
31
31
  import IconFont from '../IconFont';
32
32
  import useHttp from '../useHttp';
33
33
  import ListExt from '../List/ListExt';
@@ -19,7 +19,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
19
19
 
20
20
  import { __awaiter } from "tslib";
21
21
  import React, { useCallback, useMemo, useRef, useState, useEffect } from 'react';
22
- import replace from 'lodash-es/replace';
22
+ import replace from 'lodash/replace';
23
23
  import chroma from 'chroma-js';
24
24
  import UserSelectModalContent from './UserSelectModalContent';
25
25
  import RefModal from '../../RefModal';
@@ -25,7 +25,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
25
25
 
26
26
  import React, { useCallback, useEffect, useState } from 'react';
27
27
  import Box from '../../Box';
28
- import cloneDeep from 'lodash-es/cloneDeep';
28
+ import cloneDeep from 'lodash/cloneDeep';
29
29
 
30
30
  function FormAuth(_ref) {
31
31
  var form = _ref.form,
@@ -19,7 +19,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
19
19
 
20
20
  import { __awaiter } from "tslib";
21
21
  import React, { useCallback, useMemo, useRef, useState, useEffect } from 'react';
22
- import replace from 'lodash-es/replace';
22
+ import replace from 'lodash/replace';
23
23
  import chroma from 'chroma-js';
24
24
  import GroupSelectModalContent from './GroupSelectModalContent';
25
25
  import IconFont from '../../IconFont';
@@ -23,8 +23,8 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
23
23
  import React, { useCallback, useMemo, useState, useImperativeHandle } from 'react';
24
24
  import api from '../../Api';
25
25
  import TreeMode from '../../Tree';
26
- import uniq from 'lodash-es/uniq';
27
- import intersectionWith from 'lodash-es/intersectionWith';
26
+ import uniq from 'lodash/uniq';
27
+ import intersectionWith from 'lodash/intersectionWith';
28
28
  import useHttp from '../../useHttp';
29
29
  import { formatRenderGroup } from './utils';
30
30
  import GroupList from './GroupList';
@@ -21,7 +21,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
21
21
 
22
22
  import { __awaiter } from "tslib";
23
23
  import React, { useCallback, useMemo, useRef, useState, useEffect } from 'react';
24
- import replace from 'lodash-es/replace';
24
+ import replace from 'lodash/replace';
25
25
  import chroma from 'chroma-js';
26
26
  import GroupSelectModalContent from './GroupSelectModalContent';
27
27
  import { formatRenderGroup, ToUpperNumberString } from './utils';
@@ -21,7 +21,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
21
21
 
22
22
  import { __awaiter } from "tslib";
23
23
  import React, { useCallback, useMemo, useRef, useState, useEffect } from 'react';
24
- import replace from 'lodash-es/replace';
24
+ import replace from 'lodash/replace';
25
25
  import chroma from 'chroma-js';
26
26
  import UserSelectModalContent from './UserSelectModalContent';
27
27
  import GroupSelectModalContent from './GroupSelectModalContent';
@@ -19,7 +19,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
19
19
 
20
20
  import { __awaiter } from "tslib";
21
21
  import React, { useCallback, useMemo, useRef, useState, useEffect } from 'react';
22
- import replace from 'lodash-es/replace';
22
+ import replace from 'lodash/replace';
23
23
  import chroma from 'chroma-js';
24
24
  import UserSelectModalContent from './UserSelectModalContent';
25
25
  import RefModal from '../../RefModal';
@@ -22,10 +22,10 @@ import React, { useCallback, useMemo, useState, forwardRef, useImperativeHandle
22
22
  import api from '../../Api';
23
23
  import TreeMode from '../../Tree';
24
24
  import List from '../../List/ListExt';
25
- import uniq from 'lodash-es/uniq';
26
- import intersectionWith from 'lodash-es/intersectionWith';
27
- import uniqBy from 'lodash-es/uniqBy';
28
- import differenceWith from 'lodash-es/differenceWith';
25
+ import uniq from 'lodash/uniq';
26
+ import intersectionWith from 'lodash/intersectionWith';
27
+ import uniqBy from 'lodash/uniqBy';
28
+ import differenceWith from 'lodash/differenceWith';
29
29
  import useHttp from '../../useHttp';
30
30
  var UserSelectModalContent = /*#__PURE__*/forwardRef(function UserSelectModalContent(_ref, ref) {
31
31
  var selectUsers = _ref.selectUsers;
@@ -17,7 +17,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
17
17
 
18
18
  import React, { useCallback, useEffect, useMemo, useState } from 'react';
19
19
  import { UserSetOptions } from '../Nodes/Constants';
20
- import cloneDeep from 'lodash-es/cloneDeep';
20
+ import cloneDeep from 'lodash/cloneDeep';
21
21
  import UsersHandleType from './UsersHandleType';
22
22
  import UserSelect from './UserSelect';
23
23
  import UserAndGroupSelect from './UserAndGroupSelect';
@@ -33,7 +33,7 @@ import ApproverForm from './Form/Approver';
33
33
  import ConditionForm from './Form/Condition';
34
34
  import NotifierForm from './Form/Notifier';
35
35
  import { TemplateConfig1 } from './template';
36
- import cloneDeep from 'lodash-es/cloneDeep';
36
+ import cloneDeep from 'lodash/cloneDeep';
37
37
  import EndNode from './Nodes/End';
38
38
  import Render from './Nodes/Render';
39
39
  import Tools from './Tools';
@@ -10,7 +10,7 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
10
10
 
11
11
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
12
12
 
13
- import cloneDeep from 'lodash-es/cloneDeep';
13
+ import cloneDeep from 'lodash/cloneDeep';
14
14
  import { getNodeById } from './XML/utils';
15
15
  export function getJAVATaskData(data) {
16
16
  var _a;
@@ -1,3 +1,3 @@
1
1
  import type { History } from 'history';
2
- declare function useHistory(): History<unknown>;
2
+ declare function useHistory(): History;
3
3
  export default useHistory;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "private": false,
3
3
  "name": "@cloud-app-dev/vidc",
4
4
  "description": "Video Image Data Componennts",
5
- "version": "2.0.0-alpha.18",
5
+ "version": "2.0.0-alpha.19",
6
6
  "scripts": {
7
7
  "start": "dumi dev",
8
8
  "docs:build": "dumi build",
@@ -35,15 +35,15 @@
35
35
  "chroma-js": "^2.1.2",
36
36
  "fetch-like-axios": "^0.0.5",
37
37
  "immer": "^9.0.5",
38
- "lodash-es": "^4.17.21",
38
+ "lodash": "^4.17.21",
39
39
  "rc-queue-anim": "^2.0.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@cloud-app-dev/utils": "^3.0.3",
43
43
  "@types/add-dom-event-listener": "^1.1.0",
44
44
  "@types/chroma-js": "^2.1.3",
45
- "@types/lodash-es": "^4.17.5",
46
45
  "@types/node": "^17.0.5",
46
+ "@types/lodash": "^4.14.178",
47
47
  "@umijs/test": "^3.0.5",
48
48
  "antd": "^4.17.0",
49
49
  "babel-plugin-import": "^1.13.3",