@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.
- package/es/AppRedirect/index.d.ts +1 -1
- package/es/DeviceSelect/index.js +1 -1
- package/es/HightLevel/index.js +2 -2
- package/es/InstanceHistory/index.d.ts +1 -1
- package/es/Picture/index.js +1 -1
- package/es/Picture/utils.js +1 -1
- package/es/UserSelect/index.js +4 -4
- package/es/WorkerFlow/Form/EmptyUserSet.js +1 -1
- package/es/WorkerFlow/Form/FormAuth.js +1 -1
- package/es/WorkerFlow/Form/GroupSelect.js +1 -1
- package/es/WorkerFlow/Form/GroupSelectModalContent.js +2 -2
- package/es/WorkerFlow/Form/LevelGroupSelect.js +1 -1
- package/es/WorkerFlow/Form/UserAndGroupSelect.js +1 -1
- package/es/WorkerFlow/Form/UserSelect.js +1 -1
- package/es/WorkerFlow/Form/UserSelectModalContent.js +4 -4
- package/es/WorkerFlow/Form/UserSet.js +1 -1
- package/es/WorkerFlow/index.js +1 -1
- package/es/WorkerFlow/utils.js +1 -1
- package/es/useHistory/index.d.ts +1 -1
- package/package.json +3 -3
package/es/DeviceSelect/index.js
CHANGED
|
@@ -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
|
|
25
|
+
import { uniq, uniqBy } from 'lodash';
|
|
26
26
|
import TreeType from './TreeType';
|
|
27
27
|
import "./index.css";
|
|
28
28
|
|
package/es/HightLevel/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import replace from 'lodash
|
|
3
|
-
import escapeRegExp from 'lodash
|
|
2
|
+
import replace from 'lodash/replace';
|
|
3
|
+
import escapeRegExp from 'lodash/escapeRegExp';
|
|
4
4
|
import "./index.css";
|
|
5
5
|
|
|
6
6
|
function HighLevel(_ref) {
|
package/es/Picture/index.js
CHANGED
|
@@ -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
|
|
26
|
+
import isFunction from 'lodash/isFunction';
|
|
27
27
|
import "./index.css";
|
|
28
28
|
|
|
29
29
|
function Picture(_a) {
|
package/es/Picture/utils.js
CHANGED
package/es/UserSelect/index.js
CHANGED
|
@@ -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
|
|
28
|
-
import intersectionWith from 'lodash
|
|
29
|
-
import uniqBy from 'lodash
|
|
30
|
-
import differenceWith from 'lodash
|
|
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
|
|
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
|
|
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
|
|
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
|
|
27
|
-
import intersectionWith from 'lodash
|
|
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
|
|
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
|
|
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
|
|
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
|
|
26
|
-
import intersectionWith from 'lodash
|
|
27
|
-
import uniqBy from 'lodash
|
|
28
|
-
import differenceWith from 'lodash
|
|
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
|
|
20
|
+
import cloneDeep from 'lodash/cloneDeep';
|
|
21
21
|
import UsersHandleType from './UsersHandleType';
|
|
22
22
|
import UserSelect from './UserSelect';
|
|
23
23
|
import UserAndGroupSelect from './UserAndGroupSelect';
|
package/es/WorkerFlow/index.js
CHANGED
|
@@ -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
|
|
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';
|
package/es/WorkerFlow/utils.js
CHANGED
|
@@ -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
|
|
13
|
+
import cloneDeep from 'lodash/cloneDeep';
|
|
14
14
|
import { getNodeById } from './XML/utils';
|
|
15
15
|
export function getJAVATaskData(data) {
|
|
16
16
|
var _a;
|
package/es/useHistory/index.d.ts
CHANGED
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.
|
|
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
|
|
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",
|