@cloud-app-dev/vidc 2.0.0-alpha.17 → 2.0.0-alpha.20
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/.fatherrc.js +11 -4
- package/es/AppRedirect/index.d.ts +1 -1
- package/es/DeviceSelect/index.js +1 -1
- package/es/HightLevel/index.js +1 -2
- package/es/InstanceHistory/index.d.ts +1 -1
- package/es/LoaderScript/index.js +7 -89
- package/es/LoaderScript/utils.d.ts +2 -0
- package/es/LoaderScript/utils.js +115 -1
- package/es/Picture/index.js +1 -1
- package/es/Picture/utils.js +1 -1
- package/es/UserSelect/index.js +1 -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 +1 -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 +1 -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/.fatherrc.js
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import nodePolyfills from 'rollup-plugin-node-polyfills';
|
|
2
|
-
|
|
3
1
|
export default {
|
|
4
2
|
target: 'browser',
|
|
5
3
|
esm: 'babel',
|
|
6
|
-
extraRollupPlugins: [nodePolyfills()],
|
|
7
|
-
lessInBabelMode: true, // babel 模式下做 less 编译
|
|
8
4
|
pkgs: [
|
|
9
5
|
// 组件依赖构建顺序, 例如 a组件依赖于b组件,那么需要先编译 b,在编译a,则 这里可以控制组件编译顺序
|
|
10
6
|
],
|
|
@@ -15,4 +11,15 @@ export default {
|
|
|
15
11
|
['import', { libraryName: 'ahooks', style: false, camel2DashComponentName: false, libraryDirectory: 'es' }, 'ahooks'],
|
|
16
12
|
['import', { libraryName: '@cloud-app-dev/map', style: false, camel2DashComponentName: false, libraryDirectory: 'es' }, 'map-components'],
|
|
17
13
|
],
|
|
14
|
+
lessInRollupMode: {
|
|
15
|
+
modifyVars: {
|
|
16
|
+
'@ant-prefix': 'cloudapp',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
lessInBabelMode: {
|
|
20
|
+
// babel 模式下做 less 编译
|
|
21
|
+
modifyVars: {
|
|
22
|
+
'@ant-prefix': 'cloudapp',
|
|
23
|
+
},
|
|
24
|
+
},
|
|
18
25
|
};
|
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
package/es/LoaderScript/index.js
CHANGED
|
@@ -10,14 +10,10 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
10
10
|
|
|
11
11
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
12
12
|
|
|
13
|
-
import { __asyncValues, __awaiter } from "tslib";
|
|
14
13
|
import React, { useEffect, useState } from 'react';
|
|
15
|
-
import { createAsyncIterable } from './utils';
|
|
16
|
-
import { nextTick, tryCatch } from '../utils';
|
|
14
|
+
import { createAsyncIterable, runAsyncIterable } from './utils';
|
|
17
15
|
|
|
18
16
|
function LoaderScripts(_ref) {
|
|
19
|
-
var _this = this;
|
|
20
|
-
|
|
21
17
|
var _ref$options = _ref.options,
|
|
22
18
|
options = _ref$options === void 0 ? [] : _ref$options,
|
|
23
19
|
children = _ref.children,
|
|
@@ -35,90 +31,12 @@ function LoaderScripts(_ref) {
|
|
|
35
31
|
return setInitStatus(true);
|
|
36
32
|
}
|
|
37
33
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
while (1) {
|
|
45
|
-
switch (_context.prev = _context.next) {
|
|
46
|
-
case 0:
|
|
47
|
-
_context.prev = 0;
|
|
48
|
-
asyncIter_1 = __asyncValues(asyncIter);
|
|
49
|
-
|
|
50
|
-
case 2:
|
|
51
|
-
_context.next = 4;
|
|
52
|
-
return asyncIter_1.next();
|
|
53
|
-
|
|
54
|
-
case 4:
|
|
55
|
-
asyncIter_1_1 = _context.sent;
|
|
56
|
-
|
|
57
|
-
if (asyncIter_1_1.done) {
|
|
58
|
-
_context.next = 10;
|
|
59
|
-
break;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
x = asyncIter_1_1.value;
|
|
63
|
-
console.log('加载完成!', options[x]);
|
|
64
|
-
|
|
65
|
-
case 8:
|
|
66
|
-
_context.next = 2;
|
|
67
|
-
break;
|
|
68
|
-
|
|
69
|
-
case 10:
|
|
70
|
-
_context.next = 15;
|
|
71
|
-
break;
|
|
72
|
-
|
|
73
|
-
case 12:
|
|
74
|
-
_context.prev = 12;
|
|
75
|
-
_context.t0 = _context["catch"](0);
|
|
76
|
-
e_1 = {
|
|
77
|
-
error: _context.t0
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
case 15:
|
|
81
|
-
_context.prev = 15;
|
|
82
|
-
_context.prev = 16;
|
|
83
|
-
|
|
84
|
-
if (!(asyncIter_1_1 && !asyncIter_1_1.done && (_a = asyncIter_1.return))) {
|
|
85
|
-
_context.next = 20;
|
|
86
|
-
break;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
_context.next = 20;
|
|
90
|
-
return _a.call(asyncIter_1);
|
|
91
|
-
|
|
92
|
-
case 20:
|
|
93
|
-
_context.prev = 20;
|
|
94
|
-
|
|
95
|
-
if (!e_1) {
|
|
96
|
-
_context.next = 23;
|
|
97
|
-
break;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
throw e_1.error;
|
|
101
|
-
|
|
102
|
-
case 23:
|
|
103
|
-
return _context.finish(20);
|
|
104
|
-
|
|
105
|
-
case 24:
|
|
106
|
-
return _context.finish(15);
|
|
107
|
-
|
|
108
|
-
case 25:
|
|
109
|
-
nextTick(function () {
|
|
110
|
-
return onLoadEnd ? onLoadEnd().then(function () {
|
|
111
|
-
return setInitStatus(true);
|
|
112
|
-
}) : setInitStatus(true);
|
|
113
|
-
});
|
|
114
|
-
|
|
115
|
-
case 26:
|
|
116
|
-
case "end":
|
|
117
|
-
return _context.stop();
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}, _callee, null, [[0, 12, 15, 25], [16,, 20, 24]]);
|
|
121
|
-
}));
|
|
34
|
+
runAsyncIterable(createAsyncIterable(options), function (option) {
|
|
35
|
+
return console.debug('LoaderScript -> Iterable加载完成!', option);
|
|
36
|
+
}, function () {
|
|
37
|
+
return onLoadEnd ? onLoadEnd().then(function () {
|
|
38
|
+
return setInitStatus(true);
|
|
39
|
+
}) : setInitStatus(true);
|
|
122
40
|
});
|
|
123
41
|
}, [options]);
|
|
124
42
|
return /*#__PURE__*/React.createElement(React.Fragment, null, !initStatus ? Spin : children);
|
|
@@ -10,3 +10,5 @@ export declare function createAsyncIterable(options: IOptionsLoader[]): {
|
|
|
10
10
|
}>;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
+
export declare function tryCatch(resolveFn: () => Promise<any>, rejectFn?: (e: unknown) => void): Promise<void>;
|
|
14
|
+
export declare function runAsyncIterable(Iterables: any, runtime?: (conf: any) => void, callback?: () => void): void;
|
package/es/LoaderScript/utils.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import _nextTick from "@cloud-app-dev/utils/es/nextTick";
|
|
2
|
+
|
|
1
3
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2
4
|
|
|
3
5
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
@@ -12,7 +14,7 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
|
|
|
12
14
|
|
|
13
15
|
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; }
|
|
14
16
|
|
|
15
|
-
import { __awaiter } from "tslib";
|
|
17
|
+
import { __asyncValues, __awaiter } from "tslib";
|
|
16
18
|
var global = window;
|
|
17
19
|
|
|
18
20
|
if (!global._LOADER_SCRIPT_URL) {
|
|
@@ -130,4 +132,116 @@ export function createAsyncIterable(options) {
|
|
|
130
132
|
}
|
|
131
133
|
};
|
|
132
134
|
});
|
|
135
|
+
}
|
|
136
|
+
export function tryCatch(resolveFn) {
|
|
137
|
+
var rejectFn = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : console.error;
|
|
138
|
+
return __awaiter(this, void 0, void 0, /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
139
|
+
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
140
|
+
while (1) {
|
|
141
|
+
switch (_context2.prev = _context2.next) {
|
|
142
|
+
case 0:
|
|
143
|
+
_context2.prev = 0;
|
|
144
|
+
_context2.next = 3;
|
|
145
|
+
return resolveFn();
|
|
146
|
+
|
|
147
|
+
case 3:
|
|
148
|
+
_context2.next = 8;
|
|
149
|
+
break;
|
|
150
|
+
|
|
151
|
+
case 5:
|
|
152
|
+
_context2.prev = 5;
|
|
153
|
+
_context2.t0 = _context2["catch"](0);
|
|
154
|
+
rejectFn(_context2.t0);
|
|
155
|
+
|
|
156
|
+
case 8:
|
|
157
|
+
case "end":
|
|
158
|
+
return _context2.stop();
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}, _callee2, null, [[0, 5]]);
|
|
162
|
+
}));
|
|
163
|
+
}
|
|
164
|
+
export function runAsyncIterable(Iterables, runtime, callback) {
|
|
165
|
+
var _this = this;
|
|
166
|
+
|
|
167
|
+
tryCatch(function () {
|
|
168
|
+
return __awaiter(_this, void 0, void 0, /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
|
169
|
+
var e_1, _a, Iterables_1, Iterables_1_1, x;
|
|
170
|
+
|
|
171
|
+
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
172
|
+
while (1) {
|
|
173
|
+
switch (_context3.prev = _context3.next) {
|
|
174
|
+
case 0:
|
|
175
|
+
_context3.prev = 0;
|
|
176
|
+
Iterables_1 = __asyncValues(Iterables);
|
|
177
|
+
|
|
178
|
+
case 2:
|
|
179
|
+
_context3.next = 4;
|
|
180
|
+
return Iterables_1.next();
|
|
181
|
+
|
|
182
|
+
case 4:
|
|
183
|
+
Iterables_1_1 = _context3.sent;
|
|
184
|
+
|
|
185
|
+
if (Iterables_1_1.done) {
|
|
186
|
+
_context3.next = 10;
|
|
187
|
+
break;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
x = Iterables_1_1.value;
|
|
191
|
+
runtime && runtime(Iterables[x]);
|
|
192
|
+
|
|
193
|
+
case 8:
|
|
194
|
+
_context3.next = 2;
|
|
195
|
+
break;
|
|
196
|
+
|
|
197
|
+
case 10:
|
|
198
|
+
_context3.next = 15;
|
|
199
|
+
break;
|
|
200
|
+
|
|
201
|
+
case 12:
|
|
202
|
+
_context3.prev = 12;
|
|
203
|
+
_context3.t0 = _context3["catch"](0);
|
|
204
|
+
e_1 = {
|
|
205
|
+
error: _context3.t0
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
case 15:
|
|
209
|
+
_context3.prev = 15;
|
|
210
|
+
_context3.prev = 16;
|
|
211
|
+
|
|
212
|
+
if (!(Iterables_1_1 && !Iterables_1_1.done && (_a = Iterables_1.return))) {
|
|
213
|
+
_context3.next = 20;
|
|
214
|
+
break;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
_context3.next = 20;
|
|
218
|
+
return _a.call(Iterables_1);
|
|
219
|
+
|
|
220
|
+
case 20:
|
|
221
|
+
_context3.prev = 20;
|
|
222
|
+
|
|
223
|
+
if (!e_1) {
|
|
224
|
+
_context3.next = 23;
|
|
225
|
+
break;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
throw e_1.error;
|
|
229
|
+
|
|
230
|
+
case 23:
|
|
231
|
+
return _context3.finish(20);
|
|
232
|
+
|
|
233
|
+
case 24:
|
|
234
|
+
return _context3.finish(15);
|
|
235
|
+
|
|
236
|
+
case 25:
|
|
237
|
+
callback && _nextTick(callback);
|
|
238
|
+
|
|
239
|
+
case 26:
|
|
240
|
+
case "end":
|
|
241
|
+
return _context3.stop();
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}, _callee3, null, [[0, 12, 15, 25], [16,, 20, 24]]);
|
|
245
|
+
}));
|
|
246
|
+
});
|
|
133
247
|
}
|
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';
|
|
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,7 @@ 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-es/intersectionWith';
|
|
29
|
-
import uniqBy from 'lodash-es/uniqBy';
|
|
30
|
-
import differenceWith from 'lodash-es/differenceWith';
|
|
27
|
+
import { uniq, intersectionWith, uniqBy, differenceWith } from 'lodash';
|
|
31
28
|
import IconFont from '../IconFont';
|
|
32
29
|
import useHttp from '../useHttp';
|
|
33
30
|
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';
|
|
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';
|
|
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';
|
|
23
23
|
import chroma from 'chroma-js';
|
|
24
24
|
import GroupSelectModalContent from './GroupSelectModalContent';
|
|
25
25
|
import IconFont from '../../IconFont';
|
|
@@ -23,8 +23,7 @@ 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-es/intersectionWith';
|
|
26
|
+
import { uniq, intersectionWith } from 'lodash';
|
|
28
27
|
import useHttp from '../../useHttp';
|
|
29
28
|
import { formatRenderGroup } from './utils';
|
|
30
29
|
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';
|
|
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';
|
|
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';
|
|
23
23
|
import chroma from 'chroma-js';
|
|
24
24
|
import UserSelectModalContent from './UserSelectModalContent';
|
|
25
25
|
import RefModal from '../../RefModal';
|
|
@@ -22,10 +22,7 @@ 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-es/intersectionWith';
|
|
27
|
-
import uniqBy from 'lodash-es/uniqBy';
|
|
28
|
-
import differenceWith from 'lodash-es/differenceWith';
|
|
25
|
+
import { uniq, uniqBy, differenceWith, intersectionWith } from 'lodash';
|
|
29
26
|
import useHttp from '../../useHttp';
|
|
30
27
|
var UserSelectModalContent = /*#__PURE__*/forwardRef(function UserSelectModalContent(_ref, ref) {
|
|
31
28
|
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';
|
|
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';
|
|
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';
|
|
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.20",
|
|
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",
|