@para-ui/core 3.0.51 → 3.0.53
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 +2 -1
- package/AutoTips/index.js +2 -1
- package/Breadcrumbs/index.js +3 -2
- package/Button/index.js +2 -1
- package/ButtonGroup/index.js +2 -1
- package/Cascader/index.js +3 -2
- package/Checkbox/index.js +2 -1
- package/CheckboxGroup/index.js +2 -1
- package/CollapseBox/index.js +2 -1
- package/CollapseLayout/index.js +2 -1
- package/ComboSelect/index.js +4 -3
- package/DatePicker/index.js +3 -2
- package/Desktop/index.js +3 -2
- package/DragVerify/index.js +2 -1
- package/Drawer/index.js +2 -1
- package/DynamicMultiBox/index.js +4 -3
- package/Form/index.d.ts +8 -2
- package/Form/index.js +35 -19
- package/FormItem/index.js +5 -4
- package/FunctionModal/index.js +5 -4
- package/Help/index.js +2 -1
- package/InputLang/index.js +3 -2
- package/InputNumber/index.js +2 -1
- package/Label/index.js +2 -1
- package/Menu/index.js +3 -2
- package/Message/index.d.ts +26 -0
- package/Message/index.js +50 -8
- package/Modal/index.js +2 -1
- package/MultiBox/index.js +3 -2
- package/OperateBtn/index.js +2 -1
- package/PageHeader/index.js +3 -2
- package/Pagination/index.js +3 -2
- package/PopConfirm/index.js +2 -1
- package/Popover/index.js +2 -1
- package/README.md +9 -0
- package/Radio/index.js +2 -1
- package/RadioGroup/index.js +2 -1
- package/Search/index.js +2 -1
- package/Select/index.js +3 -2
- package/SelectInput/index.js +3 -2
- package/Selector/index.js +3 -2
- package/SelectorPicker/index.js +3 -2
- package/SingleBox/index.js +3 -2
- package/Slider/index.js +2 -1
- package/Split/index.js +2 -1
- package/Switch/index.js +2 -1
- package/Table/index.js +3 -2
- package/Tabs/index.js +2 -1
- package/Tag/index.js +3 -2
- package/TextEditor/index.js +2 -1
- package/TextField/index.d.ts +0 -2
- package/TextField/index.js +5 -6
- package/TimePicker/index.js +3 -2
- package/ToggleButton/index.js +2 -1
- package/Tooltip/index.js +2 -1
- package/Transfer/index.js +3 -2
- package/Tree/index.js +5 -4
- package/Upload/index.js +3 -2
- package/_verture/{index-5ca4181b.js → index-74f820ba.js} +2 -2
- package/_verture/{index-b30abb46.js → index-9fd86055.js} +1 -1
- package/_verture/{modalContext-f70ba993.js → modalContext-92bb0e16.js} +2 -2
- package/_verture/{slicedToArray-708dbb18.js → slicedToArray-76060636.js} +3 -16
- package/_verture/{toConsumableArray-57dd2e23.js → toConsumableArray-81040c9e.js} +1 -1
- package/_verture/unsupportedIterableToArray-cb478f24.js +16 -0
- package/index.js +7 -6
- package/package.json +1 -1
- package/umd/ComboSelect.js +1 -1
- package/umd/Desktop.js +1 -1
- package/umd/Drawer.js +4 -4
- package/umd/DynamicMultiBox.js +1 -1
- package/umd/Form.js +2 -2
- package/umd/FormItem.js +1 -1
- package/umd/InputLang.js +1 -1
- package/umd/Message.js +3 -3
- package/umd/MultiBox.js +1 -1
- package/umd/Pagination.js +1 -1
- package/umd/Search.js +1 -1
- package/umd/Selector.js +1 -1
- package/umd/SelectorPicker.js +1 -1
- package/umd/SingleBox.js +1 -1
- package/umd/Table.js +1 -1
- package/umd/TextField.js +1 -1
- package/umd/Transfer.js +1 -1
package/Transfer/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-
|
|
2
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
1
|
+
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-81040c9e.js';
|
|
2
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
|
|
3
3
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
4
4
|
import { useRef, useState, useEffect, useCallback } from 'react';
|
|
5
5
|
import clsx from 'clsx';
|
|
@@ -16,6 +16,7 @@ import AutoTips from '../AutoTips/index.js';
|
|
|
16
16
|
import Drag from '@para-ui/icons/Drag';
|
|
17
17
|
import { S as Sortable } from '../_verture/sortable.esm-49896035.js';
|
|
18
18
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
19
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
19
20
|
import '../_verture/typeof-498dd2b1.js';
|
|
20
21
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
21
22
|
import '@para-ui/icons/LoadingF';
|
package/Tree/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { T as Tree } from '../_verture/index-
|
|
2
|
-
export { T as default } from '../_verture/index-
|
|
3
|
-
import '../_verture/toConsumableArray-
|
|
4
|
-
import '../_verture/
|
|
1
|
+
import { T as Tree } from '../_verture/index-74f820ba.js';
|
|
2
|
+
export { T as default } from '../_verture/index-74f820ba.js';
|
|
3
|
+
import '../_verture/toConsumableArray-81040c9e.js';
|
|
4
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
5
5
|
import '../_verture/defineProperty-62acccfc.js';
|
|
6
6
|
import '../_verture/typeof-498dd2b1.js';
|
|
7
|
+
import '../_verture/slicedToArray-76060636.js';
|
|
7
8
|
import '../_verture/index-beef914f.js';
|
|
8
9
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
9
10
|
import 'react/jsx-runtime';
|
package/Upload/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-81040c9e.js';
|
|
3
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
|
|
4
4
|
import { a as __awaiter, _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
5
5
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
6
6
|
import { useState, useEffect, useRef, memo, forwardRef, useCallback, useImperativeHandle, useMemo } from 'react';
|
|
@@ -22,6 +22,7 @@ import { Button } from '../Button/index.js';
|
|
|
22
22
|
import { Slider } from '../Slider/index.js';
|
|
23
23
|
import Cropper from 'react-easy-crop';
|
|
24
24
|
import { Modal } from '../Modal/index.js';
|
|
25
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
25
26
|
import '@para-ui/core/GlobalContext';
|
|
26
27
|
import '@para-ui/icons/LoadingF';
|
|
27
28
|
import '../Tooltip/index.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-81040c9e.js';
|
|
2
2
|
import { _ as _defineProperty } from './defineProperty-62acccfc.js';
|
|
3
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
3
|
+
import { _ as _slicedToArray } from './slicedToArray-76060636.js';
|
|
4
4
|
import { r as regenerator } from './index-beef914f.js';
|
|
5
5
|
import { _ as __rest, a as __awaiter } from './tslib.es6-55ed4bd2.js';
|
|
6
6
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
3
|
+
import { _ as _slicedToArray } from './slicedToArray-76060636.js';
|
|
4
4
|
import { TextField } from '../TextField/index.js';
|
|
5
5
|
import { RadioGroup } from '../RadioGroup/index.js';
|
|
6
6
|
import Select from '../Select/index.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-81040c9e.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-76060636.js';
|
|
3
3
|
import { r as regenerator } from './index-beef914f.js';
|
|
4
4
|
import { a as __awaiter } from './tslib.es6-55ed4bd2.js';
|
|
5
5
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { _ as _unsupportedIterableToArray } from './unsupportedIterableToArray-cb478f24.js';
|
|
2
|
+
|
|
1
3
|
function _arrayWithHoles(arr) {
|
|
2
4
|
if (Array.isArray(arr)) return arr;
|
|
3
5
|
}
|
|
@@ -30,21 +32,6 @@ function _iterableToArrayLimit(arr, i) {
|
|
|
30
32
|
}
|
|
31
33
|
}
|
|
32
34
|
|
|
33
|
-
function _arrayLikeToArray(arr, len) {
|
|
34
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
35
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
36
|
-
return arr2;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
function _unsupportedIterableToArray(o, minLen) {
|
|
40
|
-
if (!o) return;
|
|
41
|
-
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
42
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
43
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
44
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
45
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
35
|
function _nonIterableRest() {
|
|
49
36
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
50
37
|
}
|
|
@@ -53,4 +40,4 @@ function _slicedToArray(arr, i) {
|
|
|
53
40
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
54
41
|
}
|
|
55
42
|
|
|
56
|
-
export { _slicedToArray as _
|
|
43
|
+
export { _slicedToArray as _ };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as _arrayLikeToArray,
|
|
1
|
+
import { a as _arrayLikeToArray, _ as _unsupportedIterableToArray } from './unsupportedIterableToArray-cb478f24.js';
|
|
2
2
|
|
|
3
3
|
function _arrayWithoutHoles(arr) {
|
|
4
4
|
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
function _arrayLikeToArray(arr, len) {
|
|
2
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
3
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
4
|
+
return arr2;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
8
|
+
if (!o) return;
|
|
9
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
10
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
11
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
12
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
13
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { _unsupportedIterableToArray as _, _arrayLikeToArray as a };
|
package/index.js
CHANGED
|
@@ -22,8 +22,8 @@ export { D as Dropdown } from './_verture/index-77f9e0fb.js';
|
|
|
22
22
|
export { default as DynamicMultiBox } from './DynamicMultiBox/index.js';
|
|
23
23
|
export { default as Empty } from './Empty/index.js';
|
|
24
24
|
export { default as Form } from './Form/index.js';
|
|
25
|
-
export { F as FormItem } from './_verture/index-
|
|
26
|
-
export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-
|
|
25
|
+
export { F as FormItem } from './_verture/index-9fd86055.js';
|
|
26
|
+
export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-92bb0e16.js';
|
|
27
27
|
export { default as GlobalContext, changeConfirmLocale, getConfirmLocale } from './GlobalContext/index.js';
|
|
28
28
|
export { default as Help } from './Help/index.js';
|
|
29
29
|
export { default as HelperText } from './HelperText/index.js';
|
|
@@ -32,7 +32,7 @@ export { InputNumber } from './InputNumber/index.js';
|
|
|
32
32
|
export { default as Label } from './Label/index.js';
|
|
33
33
|
export { Loading } from './Loading/index.js';
|
|
34
34
|
export { Menu } from './Menu/index.js';
|
|
35
|
-
export { default as Message } from './Message/index.js';
|
|
35
|
+
export { default as Message, MessageBar } from './Message/index.js';
|
|
36
36
|
export { Confirm, Modal } from './Modal/index.js';
|
|
37
37
|
export { MultiBox } from './MultiBox/index.js';
|
|
38
38
|
export { default as Notification } from './Notification/index.js';
|
|
@@ -69,9 +69,10 @@ export { Title } from './Title/index.js';
|
|
|
69
69
|
export { ToggleButton, ToggleButtonGroup } from './ToggleButton/index.js';
|
|
70
70
|
export { Tooltip } from './Tooltip/index.js';
|
|
71
71
|
export { SSortablejs, Transfer } from './Transfer/index.js';
|
|
72
|
-
export { T as Tree } from './_verture/index-
|
|
72
|
+
export { T as Tree } from './_verture/index-74f820ba.js';
|
|
73
73
|
export { default as Upload } from './Upload/index.js';
|
|
74
|
-
import './_verture/slicedToArray-
|
|
74
|
+
import './_verture/slicedToArray-76060636.js';
|
|
75
|
+
import './_verture/unsupportedIterableToArray-cb478f24.js';
|
|
75
76
|
import 'react/jsx-runtime';
|
|
76
77
|
import 'react';
|
|
77
78
|
import 'react-dom';
|
|
@@ -79,7 +80,7 @@ import '@paraview/lib';
|
|
|
79
80
|
import './_verture/constant-66aa48a1.js';
|
|
80
81
|
import '@para-ui/icons/More';
|
|
81
82
|
import './_verture/style-inject.es-300983ab.js';
|
|
82
|
-
import './_verture/toConsumableArray-
|
|
83
|
+
import './_verture/toConsumableArray-81040c9e.js';
|
|
83
84
|
import '@para-ui/icons/Return';
|
|
84
85
|
import './_verture/useFormatMessage-703f8b20.js';
|
|
85
86
|
import '@para-ui/core/GlobalContext';
|