@para-ui/core 3.0.37 → 3.0.39
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/AutoBox/index.js +1 -1
- package/AutoTips/index.js +1 -1
- package/Breadcrumbs/index.js +2 -2
- package/Button/index.js +1 -1
- package/ButtonGroup/index.js +1 -1
- package/Cascader/index.js +16 -20
- package/Checkbox/index.js +1 -1
- package/CheckboxGroup/index.js +1 -1
- package/CollapseBox/index.js +1 -1
- package/CollapseLayout/index.js +1 -1
- package/ComboSelect/index.js +4 -4
- package/DatePicker/index.js +2 -2
- package/Desktop/index.js +2 -2
- package/DragVerify/index.d.ts +50 -0
- package/DragVerify/index.js +264 -0
- package/DragVerify/lang/en_US.d.ts +5 -0
- package/DragVerify/lang/index.d.ts +11 -0
- package/DragVerify/lang/zh_CN.d.ts +5 -0
- package/Drawer/index.js +4 -2
- package/DynamicMultiBox/formItem.d.ts +14 -0
- package/DynamicMultiBox/index.d.ts +5 -0
- package/DynamicMultiBox/index.js +1312 -0
- package/DynamicMultiBox/interface.d.ts +161 -0
- package/DynamicMultiBox/rowForm.d.ts +24 -0
- package/Form/index.js +5 -5
- package/FormItem/index.js +5 -5
- package/FunctionModal/index.js +5 -5
- package/Help/index.js +1 -1
- package/InputLang/index.js +2 -2
- package/InputNumber/index.js +1 -1
- package/Label/index.js +1 -1
- package/Menu/index.js +2 -2
- package/Modal/index.js +1 -1
- package/MultiBox/index.js +2 -2
- package/OperateBtn/index.js +43 -45
- package/PageHeader/index.js +2 -2
- package/Pagination/index.js +2 -2
- package/PopConfirm/index.js +1 -1
- package/Popover/index.js +2 -2
- package/README.md +13 -0
- package/Radio/index.js +1 -1
- package/RadioGroup/index.js +1 -1
- package/Search/index.js +1 -1
- package/Select/index.js +2 -2
- package/SelectInput/index.js +2 -2
- package/Selector/index.js +290 -306
- package/SelectorPicker/index.js +3 -3
- package/SingleBox/index.js +2 -2
- package/Slider/index.js +1 -1
- package/Split/index.js +1 -1
- package/Switch/index.js +1 -1
- package/Table/index.js +48 -50
- package/Table/interface.d.ts +1 -1
- package/Tabs/index.js +1 -1
- package/Tag/index.js +2 -2
- package/TextEditor/index.js +1 -1
- package/TextField/index.js +1 -1
- package/TimePicker/index.js +2 -2
- package/ToggleButton/index.js +1 -1
- package/Tooltip/index.js +1 -1
- package/Transfer/index.js +3 -3022
- package/Tree/index.js +5 -5
- package/Upload/index.js +345 -361
- package/_verture/{index-06fea29b.js → index-beef914f.js} +3 -9
- package/_verture/{index-c62ad493.js → index-c2a6ba28.js} +1 -1
- package/_verture/{index-257f53f9.js → index-da441266.js} +162 -168
- package/_verture/{modalContext-c749e1c6.js → modalContext-44e0b3ea.js} +28 -30
- package/_verture/{slicedToArray-77980792.js → slicedToArray-708dbb18.js} +2 -6
- package/_verture/sortable.esm-49896035.js +3791 -0
- package/_verture/{toConsumableArray-87c7d895.js → toConsumableArray-57dd2e23.js} +1 -1
- package/index.d.ts +4 -0
- package/index.js +11 -8
- package/package.json +3 -2
- package/umd/AutoBox.js +7 -7
- package/umd/AutoTips.js +3 -3
- package/umd/Breadcrumbs.js +7 -7
- package/umd/Button.js +6 -6
- package/umd/ButtonGroup.js +6 -6
- package/umd/Carousel.js +1 -1
- package/umd/Cascader.js +6 -6
- package/umd/Checkbox.js +6 -6
- package/umd/CheckboxGroup.js +6 -6
- package/umd/Collapse.js +3 -3
- package/umd/CollapseLayout.js +1 -1
- package/umd/ColorPicker.js +1 -1
- package/umd/ComboSelect.js +5 -5
- package/umd/Container.js +1 -1
- package/umd/DatePicker.js +6 -6
- package/umd/Desktop.js +7 -7
- package/umd/DragVerify.js +29 -0
- package/umd/Drawer.js +7 -7
- package/umd/Dropdown.js +3 -3
- package/umd/DynamicMultiBox.js +54 -0
- package/umd/Empty.js +2 -2
- package/umd/Form.js +5 -5
- package/umd/FormItem.js +5 -5
- package/umd/FunctionModal.js +5 -5
- package/umd/Help.js +6 -6
- package/umd/InputLang.js +7 -7
- package/umd/InputNumber.js +7 -7
- package/umd/Label.js +5 -5
- package/umd/Loading.js +1 -1
- package/umd/Menu.js +2 -2
- package/umd/Message.js +2 -2
- package/umd/Modal.js +5 -5
- package/umd/MultiBox.js +7 -7
- package/umd/Notification.js +3 -3
- package/umd/OperateBtn.js +7 -7
- package/umd/PageHeader.js +7 -7
- package/umd/Pagination.js +6 -6
- package/umd/ParauiProvider.js +1 -1
- package/umd/PasswordRules.js +1 -1
- package/umd/PopConfirm.js +7 -7
- package/umd/Popover.js +3 -3
- package/umd/Progress.js +1 -1
- package/umd/Querying.js +1 -1
- package/umd/Radio.js +5 -5
- package/umd/RadioGroup.js +6 -6
- package/umd/Search.js +7 -7
- package/umd/Select.js +5 -5
- package/umd/SelectInput.js +5 -5
- package/umd/Selector.js +6 -6
- package/umd/SelectorPicker.js +5 -5
- package/umd/SingleBox.js +7 -7
- package/umd/Slider.js +3 -3
- package/umd/Stepper.js +1 -1
- package/umd/Switch.js +5 -5
- package/umd/Table.js +5 -5
- package/umd/Tabs.js +6 -6
- package/umd/Tag.js +6 -6
- package/umd/TextEditor.js +19 -19
- package/umd/TextField.js +7 -7
- package/umd/TimePicker.js +6 -6
- package/umd/ToggleButton.js +7 -7
- package/umd/Tooltip.js +3 -3
- package/umd/Transfer.js +7 -7
- package/umd/Tree.js +7 -7
- package/umd/Upload.js +8 -8
package/SelectorPicker/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as _defineProperty } from '../_verture/defineProperty-62acccfc.js';
|
|
2
|
-
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-
|
|
3
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
2
|
+
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-57dd2e23.js';
|
|
3
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-708dbb18.js';
|
|
4
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
5
|
import { useState, useRef, useEffect } from 'react';
|
|
6
6
|
import clsx from 'clsx';
|
|
@@ -27,7 +27,7 @@ import 'rc-dropdown';
|
|
|
27
27
|
import '../_verture/usePopupContainer-87febeb9.js';
|
|
28
28
|
import 'dayjs';
|
|
29
29
|
import '@paraview/lib';
|
|
30
|
-
import '../_verture/index-
|
|
30
|
+
import '../_verture/index-beef914f.js';
|
|
31
31
|
import '../Radio/index.js';
|
|
32
32
|
import '../Checkbox/index.js';
|
|
33
33
|
import '../Loading/index.js';
|
package/SingleBox/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as _typeof } from '../_verture/typeof-498dd2b1.js';
|
|
2
|
-
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-
|
|
3
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
2
|
+
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-57dd2e23.js';
|
|
3
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-708dbb18.js';
|
|
4
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
5
|
import { useState, useEffect } from 'react';
|
|
6
6
|
import { TextField } from '../TextField/index.js';
|
package/Slider/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _defineProperty } from '../_verture/defineProperty-62acccfc.js';
|
|
2
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
2
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-708dbb18.js';
|
|
3
3
|
import { _ as _typeof } from '../_verture/typeof-498dd2b1.js';
|
|
4
4
|
import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
package/Split/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _typeof } from '../_verture/typeof-498dd2b1.js';
|
|
2
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
2
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-708dbb18.js';
|
|
3
3
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
package/Switch/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
|
10
10
|
import '../_verture/typeof-498dd2b1.js';
|
|
11
11
|
import '../Help/index.js';
|
|
12
12
|
import '../Tooltip/index.js';
|
|
13
|
-
import '../_verture/slicedToArray-
|
|
13
|
+
import '../_verture/slicedToArray-708dbb18.js';
|
|
14
14
|
import 'react';
|
|
15
15
|
import 'rc-tooltip';
|
|
16
16
|
import 'rc-tooltip/lib/placements';
|
package/Table/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-
|
|
1
|
+
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-57dd2e23.js';
|
|
2
2
|
import { _ as _typeof } from '../_verture/typeof-498dd2b1.js';
|
|
3
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
4
|
-
import { r as regenerator } from '../_verture/index-
|
|
3
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-708dbb18.js';
|
|
4
|
+
import { r as regenerator } from '../_verture/index-beef914f.js';
|
|
5
5
|
import { _ as __rest, a as __awaiter } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
6
6
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
import { useRef, useState, useEffect, useMemo, useCallback, Fragment as Fragment$1 } from 'react';
|
|
@@ -682,7 +682,7 @@ var TableHead$1 = function TableHead(props) {
|
|
|
682
682
|
// 自定义渲染过滤
|
|
683
683
|
return filterHead.filterRender({
|
|
684
684
|
filterValue: filterValue,
|
|
685
|
-
|
|
685
|
+
selectFilter: selectFilterCom,
|
|
686
686
|
filterHead: filterHead,
|
|
687
687
|
setFilter: filterCustomConfirm
|
|
688
688
|
});
|
|
@@ -2446,53 +2446,51 @@ var Table = function Table(propsInit) {
|
|
|
2446
2446
|
return __awaiter(void 0, void 0, void 0, /*#__PURE__*/regenerator.mark(function _callee() {
|
|
2447
2447
|
var _yield$requestFunc, data, err;
|
|
2448
2448
|
return regenerator.wrap(function _callee$(_context) {
|
|
2449
|
-
while (1) {
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2449
|
+
while (1) switch (_context.prev = _context.next) {
|
|
2450
|
+
case 0:
|
|
2451
|
+
obj.uuid = reqId;
|
|
2452
|
+
if (props.loading === undefined) setLoadState(true);
|
|
2453
|
+
_context.next = 4;
|
|
2454
|
+
return requestFunc(obj);
|
|
2455
|
+
case 4:
|
|
2456
|
+
_yield$requestFunc = _context.sent;
|
|
2457
|
+
data = _yield$requestFunc.data;
|
|
2458
|
+
err = _yield$requestFunc.err;
|
|
2459
|
+
if (!constData.current.isDestroy) {
|
|
2460
|
+
_context.next = 9;
|
|
2461
|
+
break;
|
|
2462
|
+
}
|
|
2463
|
+
return _context.abrupt("return");
|
|
2464
|
+
case 9:
|
|
2465
|
+
if (!err) {
|
|
2466
|
+
_context.next = 13;
|
|
2467
|
+
break;
|
|
2468
|
+
}
|
|
2469
|
+
if (props.loading === undefined) setLoadState(false);
|
|
2470
|
+
// cancel的接口不清除上次展示的数据
|
|
2471
|
+
if (!err.__CANCEL__) {
|
|
2472
|
+
setRowData([]);
|
|
2473
|
+
setTotal(0);
|
|
2474
|
+
setRowDataJson({});
|
|
2475
|
+
}
|
|
2476
|
+
return _context.abrupt("return", false);
|
|
2477
|
+
case 13:
|
|
2478
|
+
if (requestCallback) {
|
|
2479
|
+
requestCallback(data, function (handData) {
|
|
2480
|
+
if (handData) {
|
|
2481
|
+
if (handData.data) handData = handData.data;
|
|
2482
|
+
handReqData(handData);
|
|
2483
|
+
if (props.loading === undefined) setLoadState(false);
|
|
2484
|
+
}
|
|
2485
|
+
});
|
|
2486
|
+
} else {
|
|
2487
|
+
if (data.data) data = data.data;
|
|
2488
|
+
handReqData(data);
|
|
2470
2489
|
if (props.loading === undefined) setLoadState(false);
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
setRowDataJson({});
|
|
2476
|
-
}
|
|
2477
|
-
return _context.abrupt("return", false);
|
|
2478
|
-
case 13:
|
|
2479
|
-
if (requestCallback) {
|
|
2480
|
-
requestCallback(data, function (handData) {
|
|
2481
|
-
if (handData) {
|
|
2482
|
-
if (handData.data) handData = handData.data;
|
|
2483
|
-
handReqData(handData);
|
|
2484
|
-
if (props.loading === undefined) setLoadState(false);
|
|
2485
|
-
}
|
|
2486
|
-
});
|
|
2487
|
-
} else {
|
|
2488
|
-
if (data.data) data = data.data;
|
|
2489
|
-
handReqData(data);
|
|
2490
|
-
if (props.loading === undefined) setLoadState(false);
|
|
2491
|
-
}
|
|
2492
|
-
case 14:
|
|
2493
|
-
case "end":
|
|
2494
|
-
return _context.stop();
|
|
2495
|
-
}
|
|
2490
|
+
}
|
|
2491
|
+
case 14:
|
|
2492
|
+
case "end":
|
|
2493
|
+
return _context.stop();
|
|
2496
2494
|
}
|
|
2497
2495
|
}, _callee);
|
|
2498
2496
|
}));
|
package/Table/interface.d.ts
CHANGED
package/Tabs/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import { u as useFormatMessage } from '../_verture/useFormatMessage-703f8b20.js'
|
|
|
13
13
|
import { a as $rcPrefixCls, $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
14
14
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
15
15
|
import '../_verture/typeof-498dd2b1.js';
|
|
16
|
-
import '../_verture/slicedToArray-
|
|
16
|
+
import '../_verture/slicedToArray-708dbb18.js';
|
|
17
17
|
import '@para-ui/icons/CheckCircleF';
|
|
18
18
|
import '@para-ui/icons/WarningCircle';
|
|
19
19
|
import '@para-ui/icons/CloseCircleF';
|
package/Tag/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { _ as _defineProperty } from '../_verture/defineProperty-62acccfc.js';
|
|
2
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
2
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-708dbb18.js';
|
|
3
3
|
import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
4
4
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
import { useState, useRef, useEffect } from 'react';
|
|
6
6
|
import CloseIcon from '@para-ui/icons/Close';
|
|
7
7
|
import clsx from 'clsx';
|
|
8
|
-
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-
|
|
8
|
+
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-57dd2e23.js';
|
|
9
9
|
import { _ as _typeof } from '../_verture/typeof-498dd2b1.js';
|
|
10
10
|
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
11
11
|
import AutoTips from '../AutoTips/index.js';
|
package/TextEditor/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
1
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-708dbb18.js';
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import { forwardRef, useState, useEffect, useImperativeHandle, useMemo } from 'react';
|
|
4
4
|
import Label from '../Label/index.js';
|
package/TextField/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _typeof } from '../_verture/typeof-498dd2b1.js';
|
|
2
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
2
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-708dbb18.js';
|
|
3
3
|
import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
4
4
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
5
5
|
import { useState, useRef, useEffect, useMemo } from 'react';
|
package/TimePicker/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import DatePicker from '../DatePicker/index.js';
|
|
|
5
5
|
import 'rc-picker/es/generate/dayjs';
|
|
6
6
|
import '../Button/index.js';
|
|
7
7
|
import '../_verture/typeof-498dd2b1.js';
|
|
8
|
-
import '../_verture/slicedToArray-
|
|
8
|
+
import '../_verture/slicedToArray-708dbb18.js';
|
|
9
9
|
import 'clsx';
|
|
10
10
|
import '@para-ui/icons/LoadingF';
|
|
11
11
|
import '@para-ui/icons/Forbid';
|
|
@@ -25,7 +25,7 @@ import '@para-ui/core/GlobalContext';
|
|
|
25
25
|
import '../Tag/index.js';
|
|
26
26
|
import '../_verture/defineProperty-62acccfc.js';
|
|
27
27
|
import '@para-ui/icons/Close';
|
|
28
|
-
import '../_verture/toConsumableArray-
|
|
28
|
+
import '../_verture/toConsumableArray-57dd2e23.js';
|
|
29
29
|
import '../AutoTips/index.js';
|
|
30
30
|
import '@para-ui/icons/Plus';
|
|
31
31
|
import 'rc-picker';
|
package/ToggleButton/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _defineProperty } from '../_verture/defineProperty-62acccfc.js';
|
|
2
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
2
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-708dbb18.js';
|
|
3
3
|
import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
4
4
|
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
import { useState, useRef, useLayoutEffect } from 'react';
|
package/Tooltip/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
1
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-708dbb18.js';
|
|
2
2
|
import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
import React__default from 'react';
|