@para-ui/core 4.0.85 → 4.0.87
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/Cascader/index.js +6 -7
- package/ComboSelect/index.js +2 -3
- package/CycleSelector/index.js +1 -4
- package/DatePicker/index.js +1 -4
- package/DynamicMultiBox/index.js +2 -3
- package/FieldForm/index.js +4 -5
- package/Form/index.js +3 -4
- package/FormItem/index.js +3 -4
- package/Image/index.js +16 -16
- package/Menu/index.js +296 -348
- package/Message/index.js +5 -1
- package/README.md +6 -0
- package/Switch/index.js +2 -2
- package/Table/index.js +1 -2
- package/Tag/index.js +55 -87
- package/TextEditor/index.js +3 -3
- package/TimePicker/index.js +1 -4
- package/Timeline/index.js +1 -2
- package/ToggleButton/index.js +1 -2
- package/Tree/index.js +3 -4
- package/Upload/index.js +4 -5
- package/_verture/{Portal-502bb85e.js → Portal-274c5bd8.js} +2 -2
- package/_verture/{defineProperty-6f62bb2a.js → defineProperty-f0e15205.js} +10 -2
- package/_verture/{index-78f0f0e7.js → index-99b02582.js} +4 -5
- package/_verture/{index-1856bbeb.js → index-9e4b0e32.js} +1 -1
- package/_verture/{index-d068959c.js → index-dfb6ceb9.js} +1 -2
- package/_verture/{isEqual-30b6f859.js → isEqual-38aa74f9.js} +2 -2
- package/_verture/{useState-f2419d68.js → useState-05fc6660.js} +2 -3
- package/index.js +8 -9
- package/package.json +1 -1
- package/umd/Argv.js +1 -1
- package/umd/Menu.js +1 -1
- package/umd/Message.js +1 -1
- package/_verture/typeof-adeedc13.js +0 -11
- /package/_verture/{index-73a11529.js → index-0fafedf4.js} +0 -0
package/Cascader/index.js
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { C as Cascader } from '../_verture/index-
|
|
2
|
-
export { C as default } from '../_verture/index-
|
|
1
|
+
import { C as Cascader } from '../_verture/index-99b02582.js';
|
|
2
|
+
export { C as default } from '../_verture/index-99b02582.js';
|
|
3
3
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
|
-
import '../_verture/index-
|
|
6
|
-
import '../_verture/defineProperty-
|
|
7
|
-
import '../_verture/typeof-adeedc13.js';
|
|
5
|
+
import '../_verture/index-9e4b0e32.js';
|
|
6
|
+
import '../_verture/defineProperty-f0e15205.js';
|
|
8
7
|
import '../_verture/toConsumableArray-599cd94a.js';
|
|
9
8
|
import '../_verture/slicedToArray-61604a6c.js';
|
|
10
|
-
import '../_verture/Portal-
|
|
9
|
+
import '../_verture/Portal-274c5bd8.js';
|
|
11
10
|
import 'react';
|
|
12
11
|
import 'react-dom';
|
|
13
|
-
import '../_verture/useState-
|
|
12
|
+
import '../_verture/useState-05fc6660.js';
|
|
14
13
|
import '../_verture/typeof-6ec38efd.js';
|
|
15
14
|
import 'rc-motion';
|
|
16
15
|
import 'clsx';
|
package/ComboSelect/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import SearchIcon from '@para-ui/icons/Search';
|
|
|
6
6
|
import Close from '@para-ui/icons/Close';
|
|
7
7
|
import CloseCircleF from '@para-ui/icons/CloseCircleF';
|
|
8
8
|
import Table from '../Table/index.js';
|
|
9
|
-
import { T as Tree } from '../_verture/index-
|
|
9
|
+
import { T as Tree } from '../_verture/index-dfb6ceb9.js';
|
|
10
10
|
import { B as Button } from '../_verture/index-98ae8a30.js';
|
|
11
11
|
import { D as Dropdown } from '../_verture/index-bde7aabe.js';
|
|
12
12
|
import { Popover } from '../Popover/index.js';
|
|
@@ -24,7 +24,7 @@ import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
|
24
24
|
import { Search } from '../Search/index.js';
|
|
25
25
|
import LoadingOutlined from '@para-ui/icons/LoadingF';
|
|
26
26
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
27
|
-
import '../_verture/
|
|
27
|
+
import '../_verture/defineProperty-f0e15205.js';
|
|
28
28
|
import '../_verture/slicedToArray-61604a6c.js';
|
|
29
29
|
import '../Checkbox/index.js';
|
|
30
30
|
import '../Help/index.js';
|
|
@@ -37,7 +37,6 @@ import '@para-ui/icons/UpTriangleF';
|
|
|
37
37
|
import '@para-ui/icons/DownTriangleF';
|
|
38
38
|
import '@para-ui/icons/Panel';
|
|
39
39
|
import '../Empty/index.js';
|
|
40
|
-
import '../_verture/defineProperty-6f62bb2a.js';
|
|
41
40
|
import '../_verture/index-0f5ee6f7.js';
|
|
42
41
|
import '../_verture/sortable.esm-76fe46a4.js';
|
|
43
42
|
import '../Radio/index.js';
|
package/CycleSelector/index.js
CHANGED
|
@@ -19,9 +19,6 @@ import 'rc-picker/es/generate/dayjs';
|
|
|
19
19
|
import '../Tag/index.js';
|
|
20
20
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
21
21
|
import '@para-ui/icons/EditOutline';
|
|
22
|
-
import '../_verture/toConsumableArray-599cd94a.js';
|
|
23
|
-
import '../_verture/slicedToArray-61604a6c.js';
|
|
24
|
-
import '../_verture/typeof-adeedc13.js';
|
|
25
22
|
import '../AutoTips/index.js';
|
|
26
23
|
import '../Tooltip/index.js';
|
|
27
24
|
import 'rc-tooltip';
|
|
@@ -32,7 +29,7 @@ import '../_verture/useResizeObserver-edda059a.js';
|
|
|
32
29
|
import '../_verture/tinycolor-ece3542d.js';
|
|
33
30
|
import '../_verture/useGlobalProps-4ae1a007.js';
|
|
34
31
|
import '@para-ui/icons/Plus';
|
|
35
|
-
import '../_verture/defineProperty-
|
|
32
|
+
import '../_verture/defineProperty-f0e15205.js';
|
|
36
33
|
import 'rc-picker';
|
|
37
34
|
import '@para-ui/icons/CloseCircleF';
|
|
38
35
|
import '@para-ui/icons/Calendar';
|
package/DatePicker/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import dayjsGenerateConfig from 'rc-picker/es/generate/dayjs';
|
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import { B as Button } from '../_verture/index-98ae8a30.js';
|
|
4
4
|
import { Tag } from '../Tag/index.js';
|
|
5
|
-
import {
|
|
5
|
+
import { a as _defineProperty } from '../_verture/defineProperty-f0e15205.js';
|
|
6
6
|
import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
7
7
|
import React__default, { forwardRef, useImperativeHandle } from 'react';
|
|
8
8
|
import clsx from 'clsx';
|
|
@@ -35,9 +35,6 @@ import '@para-ui/icons/WarningCircleF';
|
|
|
35
35
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
36
36
|
import '@para-ui/icons/Close';
|
|
37
37
|
import '@para-ui/icons/EditOutline';
|
|
38
|
-
import '../_verture/toConsumableArray-599cd94a.js';
|
|
39
|
-
import '../_verture/slicedToArray-61604a6c.js';
|
|
40
|
-
import '../_verture/typeof-adeedc13.js';
|
|
41
38
|
import '../_verture/tinycolor-ece3542d.js';
|
|
42
39
|
import '../_verture/useGlobalProps-4ae1a007.js';
|
|
43
40
|
import '@para-ui/icons/Plus';
|
package/DynamicMultiBox/index.js
CHANGED
|
@@ -53,7 +53,7 @@ import '@para-ui/icons/Up';
|
|
|
53
53
|
import '../MultiBox/index.js';
|
|
54
54
|
import '@para-ui/icons/Internet';
|
|
55
55
|
import '../Table/index.js';
|
|
56
|
-
import '../_verture/
|
|
56
|
+
import '../_verture/defineProperty-f0e15205.js';
|
|
57
57
|
import '../_verture/slicedToArray-61604a6c.js';
|
|
58
58
|
import '../_verture/index-98ae8a30.js';
|
|
59
59
|
import '@para-ui/icons/CheckCircleF';
|
|
@@ -62,7 +62,6 @@ import '@para-ui/icons/WarningCircleF';
|
|
|
62
62
|
import '@para-ui/icons/ScreenF';
|
|
63
63
|
import '@para-ui/icons/UpTriangleF';
|
|
64
64
|
import '@para-ui/icons/DownTriangleF';
|
|
65
|
-
import '../_verture/defineProperty-6f62bb2a.js';
|
|
66
65
|
import '../Radio/index.js';
|
|
67
66
|
import '../OperateBtn/index.js';
|
|
68
67
|
import '@para-ui/icons/More';
|
|
@@ -75,7 +74,7 @@ import '@para-ui/icons/DoubleLeft';
|
|
|
75
74
|
import '@para-ui/icons/DoubleRight';
|
|
76
75
|
import '../ScrollBar/index.js';
|
|
77
76
|
import '../_verture/useResizeObserver-edda059a.js';
|
|
78
|
-
import '../_verture/index-
|
|
77
|
+
import '../_verture/index-dfb6ceb9.js';
|
|
79
78
|
import '../_verture/toConsumableArray-599cd94a.js';
|
|
80
79
|
import '../_verture/index-8ac46bd9.js';
|
|
81
80
|
import '../_verture/typeof-6ec38efd.js';
|
package/FieldForm/index.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
3
|
import React__default, { useRef, useState, useMemo as useMemo$2, useContext, useEffect, createContext, isValidElement, forwardRef, useImperativeHandle, memo, useLayoutEffect, Children, cloneElement } from 'react';
|
|
4
|
-
import { _ as _objectSpread2, d as warningOnce, b as _objectWithoutProperties, a as _extends, c as clsx, r as reactIs } from '../_verture/index-
|
|
5
|
-
import { _ as _typeof } from '../_verture/
|
|
4
|
+
import { _ as _objectSpread2, d as warningOnce, b as _objectWithoutProperties, a as _extends, c as clsx, r as reactIs } from '../_verture/index-9e4b0e32.js';
|
|
5
|
+
import { _ as _typeof, a as _defineProperty } from '../_verture/defineProperty-f0e15205.js';
|
|
6
6
|
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-599cd94a.js';
|
|
7
|
-
import { d as _toArray, g as _isNativeReflectConstruct, h as _setPrototypeOf, j as _getPrototypeOf, _ as _inherits, a as _createSuper, b as _classCallCheck, k as _assertThisInitialized, c as _createClass, t as toArray$4, e as interopRequireWildcard, i as interopRequireDefault, l as default_1$2, m as _default$2 } from '../_verture/useState-
|
|
8
|
-
import {
|
|
9
|
-
import { i as isEqual } from '../_verture/isEqual-30b6f859.js';
|
|
7
|
+
import { d as _toArray, g as _isNativeReflectConstruct, h as _setPrototypeOf, j as _getPrototypeOf, _ as _inherits, a as _createSuper, b as _classCallCheck, k as _assertThisInitialized, c as _createClass, t as toArray$4, e as interopRequireWildcard, i as interopRequireDefault, l as default_1$2, m as _default$2 } from '../_verture/useState-05fc6660.js';
|
|
8
|
+
import { i as isEqual } from '../_verture/isEqual-38aa74f9.js';
|
|
10
9
|
import { _ as _slicedToArray } from '../_verture/slicedToArray-61604a6c.js';
|
|
11
10
|
import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
12
11
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
package/Form/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { DeepClone } from '@paraview/lib';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
import { F as FormItem, l as localeJson, v as validate } from '../_verture/index-
|
|
4
|
+
import { F as FormItem, l as localeJson, v as validate } from '../_verture/index-0fafedf4.js';
|
|
5
5
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
6
6
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-1fc7c957.js';
|
|
7
7
|
import '../TextField/index.js';
|
|
@@ -56,12 +56,11 @@ import 'rc-input-number';
|
|
|
56
56
|
import '@para-ui/icons/Up';
|
|
57
57
|
import '../ComboSelect/index.js';
|
|
58
58
|
import '../Table/index.js';
|
|
59
|
-
import '../_verture/
|
|
59
|
+
import '../_verture/defineProperty-f0e15205.js';
|
|
60
60
|
import '@para-ui/icons/ScreenF';
|
|
61
61
|
import '@para-ui/icons/UpTriangleF';
|
|
62
62
|
import '@para-ui/icons/DownTriangleF';
|
|
63
63
|
import '@para-ui/icons/Panel';
|
|
64
|
-
import '../_verture/defineProperty-6f62bb2a.js';
|
|
65
64
|
import '../_verture/index-0f5ee6f7.js';
|
|
66
65
|
import '../_verture/sortable.esm-76fe46a4.js';
|
|
67
66
|
import '../OperateBtn/index.js';
|
|
@@ -75,7 +74,7 @@ import '@para-ui/icons/Right';
|
|
|
75
74
|
import '@para-ui/icons/DoubleLeft';
|
|
76
75
|
import '@para-ui/icons/DoubleRight';
|
|
77
76
|
import '../ScrollBar/index.js';
|
|
78
|
-
import '../_verture/index-
|
|
77
|
+
import '../_verture/index-dfb6ceb9.js';
|
|
79
78
|
import '../_verture/toConsumableArray-599cd94a.js';
|
|
80
79
|
import '../_verture/index-8ac46bd9.js';
|
|
81
80
|
import '../_verture/typeof-6ec38efd.js';
|
package/FormItem/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'react/jsx-runtime';
|
|
2
2
|
import 'react';
|
|
3
|
-
export { F as default } from '../_verture/index-
|
|
3
|
+
export { F as default } from '../_verture/index-0fafedf4.js';
|
|
4
4
|
import 'clsx';
|
|
5
5
|
import '../Label/index.js';
|
|
6
6
|
import '../_verture/constant-5317fc89.js';
|
|
@@ -56,12 +56,11 @@ import 'rc-input-number';
|
|
|
56
56
|
import '@para-ui/icons/Up';
|
|
57
57
|
import '../ComboSelect/index.js';
|
|
58
58
|
import '../Table/index.js';
|
|
59
|
-
import '../_verture/
|
|
59
|
+
import '../_verture/defineProperty-f0e15205.js';
|
|
60
60
|
import '@para-ui/icons/ScreenF';
|
|
61
61
|
import '@para-ui/icons/UpTriangleF';
|
|
62
62
|
import '@para-ui/icons/DownTriangleF';
|
|
63
63
|
import '@para-ui/icons/Panel';
|
|
64
|
-
import '../_verture/defineProperty-6f62bb2a.js';
|
|
65
64
|
import '../_verture/index-0f5ee6f7.js';
|
|
66
65
|
import '../_verture/sortable.esm-76fe46a4.js';
|
|
67
66
|
import '../OperateBtn/index.js';
|
|
@@ -75,7 +74,7 @@ import '@para-ui/icons/Right';
|
|
|
75
74
|
import '@para-ui/icons/DoubleLeft';
|
|
76
75
|
import '@para-ui/icons/DoubleRight';
|
|
77
76
|
import '../ScrollBar/index.js';
|
|
78
|
-
import '../_verture/index-
|
|
77
|
+
import '../_verture/index-dfb6ceb9.js';
|
|
79
78
|
import '../_verture/toConsumableArray-599cd94a.js';
|
|
80
79
|
import '../_verture/index-8ac46bd9.js';
|
|
81
80
|
import '../_verture/typeof-6ec38efd.js';
|
package/Image/index.js
CHANGED
|
@@ -2,14 +2,13 @@ import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default, { useState, useRef, useEffect, useContext, useMemo } from 'react';
|
|
5
|
-
import { _ as _objectSpread2, w as warning, c as clsx, b as _objectWithoutProperties, a as _extends } from '../_verture/index-
|
|
6
|
-
import {
|
|
5
|
+
import { _ as _objectSpread2, w as warning, c as clsx, b as _objectWithoutProperties, a as _extends } from '../_verture/index-9e4b0e32.js';
|
|
6
|
+
import { a as _defineProperty, _ as _typeof } from '../_verture/defineProperty-f0e15205.js';
|
|
7
7
|
import { _ as _slicedToArray } from '../_verture/slicedToArray-61604a6c.js';
|
|
8
|
-
import {
|
|
9
|
-
import { w as wrapperRaf, P as Portal, K as KeyCode, d as useMergedState } from '../_verture/Portal-502bb85e.js';
|
|
8
|
+
import { w as wrapperRaf, P as Portal, K as KeyCode, d as useMergedState } from '../_verture/Portal-274c5bd8.js';
|
|
10
9
|
import Dialog from 'rc-dialog';
|
|
11
10
|
import ReactDOM from 'react-dom';
|
|
12
|
-
import { i as isEqual } from '../_verture/isEqual-
|
|
11
|
+
import { i as isEqual } from '../_verture/isEqual-38aa74f9.js';
|
|
13
12
|
import CSSMotion from 'rc-motion';
|
|
14
13
|
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-599cd94a.js';
|
|
15
14
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
@@ -1330,7 +1329,7 @@ var ImageInternal = function ImageInternal(props) {
|
|
|
1330
1329
|
ImageInternal.PreviewGroup = Group;
|
|
1331
1330
|
ImageInternal.displayName = 'Image';
|
|
1332
1331
|
|
|
1333
|
-
|
|
1332
|
+
const icons = {
|
|
1334
1333
|
rotateLeft: jsx(TurnLeft, {
|
|
1335
1334
|
size: 'large'
|
|
1336
1335
|
}),
|
|
@@ -1355,21 +1354,22 @@ var icons = {
|
|
|
1355
1354
|
size: 'large'
|
|
1356
1355
|
})
|
|
1357
1356
|
};
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1357
|
+
const InternalPreviewGroup = _a => {
|
|
1358
|
+
var {
|
|
1359
|
+
previewPrefixCls: customizePrefixCls,
|
|
1360
|
+
preview,
|
|
1361
|
+
children = null
|
|
1362
|
+
} = _a,
|
|
1363
1363
|
props = __rest(_a, ["previewPrefixCls", "preview", "children"]);
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1364
|
+
const imagePrefixCls = "".concat($prefixCls, "-image");
|
|
1365
|
+
const previewPrefixCls = "".concat(imagePrefixCls, "-preview");
|
|
1366
|
+
const mergedPreview = React.useMemo(() => {
|
|
1367
1367
|
var _a;
|
|
1368
1368
|
if (preview === false) {
|
|
1369
1369
|
return preview;
|
|
1370
1370
|
}
|
|
1371
|
-
|
|
1372
|
-
|
|
1371
|
+
const _preview = typeof preview === 'object' ? preview : {};
|
|
1372
|
+
const mergedRootClassName = clsx((_a = _preview.rootClassName) !== null && _a !== void 0 ? _a : '');
|
|
1373
1373
|
return Object.assign(Object.assign({}, _preview), {
|
|
1374
1374
|
rootClassName: mergedRootClassName
|
|
1375
1375
|
});
|