@para-ui/core 3.0.77 → 3.0.78
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/Checkbox/index.js +1 -1
- package/CheckboxGroup/index.js +1 -1
- package/ComboSelect/index.js +4 -2
- package/DynamicMultiBox/index.js +1 -1
- package/Form/index.js +2 -2
- package/FormItem/index.js +2 -2
- package/Label/index.d.ts +1 -0
- package/Label/index.js +13 -6
- package/README.md +8 -0
- package/Radio/index.js +1 -1
- package/RadioGroup/index.js +1 -1
- package/Select/index.js +1 -1
- package/SelectInput/index.js +1 -1
- package/SelectorPicker/index.js +1 -1
- package/TextEditor/index.js +1 -1
- package/Tree/index.js +2 -2
- package/index.js +2 -2
- package/package.json +1 -1
- package/umd/Checkbox.js +3 -3
- package/umd/CheckboxGroup.js +1 -1
- package/umd/ComboSelect.js +4 -4
- package/umd/DatePicker.js +1 -1
- package/umd/Desktop.js +4 -4
- package/umd/DynamicMultiBox.js +1 -1
- package/umd/Form.js +4 -4
- package/umd/FormItem.js +4 -4
- package/umd/InputLang.js +1 -1
- package/umd/InputNumber.js +4 -4
- package/umd/Label.js +4 -4
- package/umd/MultiBox.js +6 -6
- package/umd/Pagination.js +4 -4
- package/umd/Radio.js +3 -3
- package/umd/RadioGroup.js +4 -4
- package/umd/Search.js +5 -5
- package/umd/Select.js +4 -4
- package/umd/SelectInput.js +3 -3
- package/umd/Selector.js +4 -4
- package/umd/SelectorPicker.js +4 -4
- package/umd/SingleBox.js +4 -4
- package/umd/Switch.js +1 -1
- package/umd/Table.js +1 -1
- package/umd/TextEditor.js +1 -1
- package/umd/TextField.js +1 -1
- package/umd/TimePicker.js +1 -1
- package/umd/Transfer.js +1 -1
- package/umd/Tree.js +4 -4
- /package/_verture/{index-22571b89.js → index-5a05b4a8.js} +0 -0
- /package/_verture/{index-e7fd3a50.js → index-e56d852b.js} +0 -0
package/Checkbox/index.js
CHANGED
|
@@ -5,8 +5,8 @@ import Label from '../Label/index.js';
|
|
|
5
5
|
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
6
6
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
7
7
|
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
8
|
-
import '../Help/index.js';
|
|
9
8
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
9
|
+
import '../Help/index.js';
|
|
10
10
|
import '../Tooltip/index.js';
|
|
11
11
|
import 'rc-tooltip';
|
|
12
12
|
import 'rc-tooltip/lib/placements';
|
package/CheckboxGroup/index.js
CHANGED
|
@@ -8,8 +8,8 @@ import { DeepClone } from '@paraview/lib';
|
|
|
8
8
|
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
9
9
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
10
10
|
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
11
|
-
import '../Help/index.js';
|
|
12
11
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
12
|
+
import '../Help/index.js';
|
|
13
13
|
import '../Tooltip/index.js';
|
|
14
14
|
import 'rc-tooltip';
|
|
15
15
|
import 'rc-tooltip/lib/placements';
|
package/ComboSelect/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import SearchIcon from '@para-ui/icons/Search';
|
|
|
10
10
|
import CloseIcon from '@para-ui/icons/Close';
|
|
11
11
|
import CloseCircle from '@para-ui/icons/CloseCircle';
|
|
12
12
|
import Table from '../Table/index.js';
|
|
13
|
-
import { T as Tree } from '../_verture/index-
|
|
13
|
+
import { T as Tree } from '../_verture/index-5a05b4a8.js';
|
|
14
14
|
import { Button } from '../Button/index.js';
|
|
15
15
|
import { D as Dropdown } from '../_verture/index-77f9e0fb.js';
|
|
16
16
|
import { Popover } from '../Popover/index.js';
|
|
@@ -859,7 +859,9 @@ var ComboSelect = function ComboSelect(props) {
|
|
|
859
859
|
checkDefaultValue: checkKeys,
|
|
860
860
|
radioDefaultValue: checkKeys[0],
|
|
861
861
|
refresh: refresh !== null && refresh !== void 0 ? refresh : inRefresh,
|
|
862
|
-
autoSize: false
|
|
862
|
+
autoSize: false,
|
|
863
|
+
refreshInside: false,
|
|
864
|
+
checkCount: false
|
|
863
865
|
}))
|
|
864
866
|
}));
|
|
865
867
|
}, [checkKeys, refresh, params, inRefresh, open]);
|
package/DynamicMultiBox/index.js
CHANGED
|
@@ -74,7 +74,7 @@ import '@para-ui/icons/Left';
|
|
|
74
74
|
import 'rc-pagination';
|
|
75
75
|
import '@para-ui/icons/Right';
|
|
76
76
|
import '@para-ui/icons/DoubleRight';
|
|
77
|
-
import '../_verture/index-
|
|
77
|
+
import '../_verture/index-5a05b4a8.js';
|
|
78
78
|
import 'rc-tree';
|
|
79
79
|
import '@para-ui/icons/Document';
|
|
80
80
|
import 'react-dom';
|
package/Form/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
|
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
import { DeepClone } from '@paraview/lib';
|
|
5
5
|
import React__default from 'react';
|
|
6
|
-
import { F as FormItem, v as validate } from '../_verture/index-
|
|
6
|
+
import { F as FormItem, v as validate } from '../_verture/index-e56d852b.js';
|
|
7
7
|
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
8
8
|
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
9
9
|
import '../TextField/index.js';
|
|
@@ -70,7 +70,7 @@ import '@para-ui/icons/Left';
|
|
|
70
70
|
import 'rc-pagination';
|
|
71
71
|
import '@para-ui/icons/Right';
|
|
72
72
|
import '@para-ui/icons/DoubleRight';
|
|
73
|
-
import '../_verture/index-
|
|
73
|
+
import '../_verture/index-5a05b4a8.js';
|
|
74
74
|
import 'rc-tree';
|
|
75
75
|
import '@para-ui/icons/Document';
|
|
76
76
|
import 'react-dom';
|
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-e56d852b.js';
|
|
4
4
|
import 'clsx';
|
|
5
5
|
import '../Label/index.js';
|
|
6
6
|
import '../_verture/constant-66aa48a1.js';
|
|
@@ -70,7 +70,7 @@ import '@para-ui/icons/Left';
|
|
|
70
70
|
import 'rc-pagination';
|
|
71
71
|
import '@para-ui/icons/Right';
|
|
72
72
|
import '@para-ui/icons/DoubleRight';
|
|
73
|
-
import '../_verture/index-
|
|
73
|
+
import '../_verture/index-5a05b4a8.js';
|
|
74
74
|
import 'rc-tree';
|
|
75
75
|
import '@para-ui/icons/Document';
|
|
76
76
|
import 'react-dom';
|
package/Label/index.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ export interface LabelProps extends LabelTooltipProps {
|
|
|
31
31
|
label?: ReactNode;
|
|
32
32
|
/** 标题提示,可用来自定义 */
|
|
33
33
|
labelSign?: ReactNode;
|
|
34
|
+
onClick?: (e: React.MouseEvent<HTMLLabelElement>) => void;
|
|
34
35
|
[name: string]: any;
|
|
35
36
|
}
|
|
36
37
|
declare const Label: FunctionComponent<LabelProps>;
|
package/Label/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
1
2
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
3
|
import Help from '../Help/index.js';
|
|
3
4
|
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
4
5
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
5
|
-
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
6
6
|
import '../Tooltip/index.js';
|
|
7
7
|
import '../_verture/slicedToArray-76060636.js';
|
|
8
8
|
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
@@ -28,7 +28,9 @@ var Label = function Label(props) {
|
|
|
28
28
|
tooltipType = _props$tooltipType === void 0 ? 'icon' : _props$tooltipType,
|
|
29
29
|
placement = props.placement,
|
|
30
30
|
arrow = props.arrow,
|
|
31
|
-
tooltipIcon = props.tooltipIcon
|
|
31
|
+
tooltipIcon = props.tooltipIcon,
|
|
32
|
+
onClick = props.onClick,
|
|
33
|
+
othersProps = __rest(props, ["className", "helpClassName", "style", "label", "labelSign", "required", "tooltip", "tooltipType", "placement", "arrow", "tooltipIcon", "onClick"]);
|
|
32
34
|
// 处理class
|
|
33
35
|
var handClass = function handClass() {
|
|
34
36
|
var str = $prefixCls + '-label';
|
|
@@ -37,10 +39,14 @@ var Label = function Label(props) {
|
|
|
37
39
|
if (className) str += ' ' + className;
|
|
38
40
|
return str;
|
|
39
41
|
};
|
|
42
|
+
var onClickCom = function onClickCom(e) {
|
|
43
|
+
onClick && onClick(e);
|
|
44
|
+
};
|
|
40
45
|
return jsxs(Fragment, {
|
|
41
46
|
children: [tooltipType === 'icon' && jsxs("label", Object.assign({
|
|
42
47
|
className: handClass(),
|
|
43
|
-
style: style
|
|
48
|
+
style: style,
|
|
49
|
+
onClick: onClickCom
|
|
44
50
|
}, {
|
|
45
51
|
children: [jsx(Fragment, {
|
|
46
52
|
children: label
|
|
@@ -55,7 +61,7 @@ var Label = function Label(props) {
|
|
|
55
61
|
placement: placement,
|
|
56
62
|
arrow: arrow,
|
|
57
63
|
className: helpClassName
|
|
58
|
-
}, {
|
|
64
|
+
}, othersProps, {
|
|
59
65
|
children: tooltipIcon
|
|
60
66
|
}))]
|
|
61
67
|
})), tooltipType === 'line' && jsx(Help, Object.assign({
|
|
@@ -63,10 +69,11 @@ var Label = function Label(props) {
|
|
|
63
69
|
placement: placement,
|
|
64
70
|
arrow: arrow,
|
|
65
71
|
className: helpClassName
|
|
66
|
-
}, {
|
|
72
|
+
}, othersProps, {
|
|
67
73
|
children: jsxs("label", Object.assign({
|
|
68
74
|
className: handClass(),
|
|
69
|
-
style: style
|
|
75
|
+
style: style,
|
|
76
|
+
onClick: onClickCom
|
|
70
77
|
}, {
|
|
71
78
|
children: [jsx(Fragment, {
|
|
72
79
|
children: label
|
package/README.md
CHANGED
package/Radio/index.js
CHANGED
|
@@ -5,8 +5,8 @@ import Label from '../Label/index.js';
|
|
|
5
5
|
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
6
6
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
7
7
|
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
8
|
-
import '../Help/index.js';
|
|
9
8
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
9
|
+
import '../Help/index.js';
|
|
10
10
|
import '../Tooltip/index.js';
|
|
11
11
|
import 'rc-tooltip';
|
|
12
12
|
import 'rc-tooltip/lib/placements';
|
package/RadioGroup/index.js
CHANGED
|
@@ -7,8 +7,8 @@ import HelperText from '../HelperText/index.js';
|
|
|
7
7
|
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
8
8
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
9
9
|
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
10
|
-
import '../Help/index.js';
|
|
11
10
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
11
|
+
import '../Help/index.js';
|
|
12
12
|
import '../Tooltip/index.js';
|
|
13
13
|
import 'rc-tooltip';
|
|
14
14
|
import 'rc-tooltip/lib/placements';
|
package/Select/index.js
CHANGED
|
@@ -24,8 +24,8 @@ import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
|
24
24
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
25
25
|
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
26
26
|
import 'clsx';
|
|
27
|
-
import '../Help/index.js';
|
|
28
27
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
28
|
+
import '../Help/index.js';
|
|
29
29
|
import '../Tooltip/index.js';
|
|
30
30
|
import 'rc-tooltip';
|
|
31
31
|
import 'rc-tooltip/lib/placements';
|
package/SelectInput/index.js
CHANGED
|
@@ -14,8 +14,8 @@ import '@para-ui/core/GlobalContext';
|
|
|
14
14
|
import '../_verture/useGlobalProps-1b846a65.js';
|
|
15
15
|
import '../_verture/style-inject.es-300983ab.js';
|
|
16
16
|
import '../Label/index.js';
|
|
17
|
-
import '../Help/index.js';
|
|
18
17
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
18
|
+
import '../Help/index.js';
|
|
19
19
|
import '../Tooltip/index.js';
|
|
20
20
|
import 'rc-tooltip';
|
|
21
21
|
import 'rc-tooltip/lib/placements';
|
package/SelectorPicker/index.js
CHANGED
|
@@ -18,8 +18,8 @@ import { u as useFormatMessage } from '../_verture/useFormatMessage-703f8b20.js'
|
|
|
18
18
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
19
19
|
import '../_verture/typeof-498dd2b1.js';
|
|
20
20
|
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
21
|
-
import '../Help/index.js';
|
|
22
21
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
22
|
+
import '../Help/index.js';
|
|
23
23
|
import '../Tooltip/index.js';
|
|
24
24
|
import 'rc-tooltip';
|
|
25
25
|
import 'rc-tooltip/lib/placements';
|
package/TextEditor/index.js
CHANGED
|
@@ -9,8 +9,8 @@ import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
|
9
9
|
import { UUID } from '@paraview/lib';
|
|
10
10
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
11
11
|
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
12
|
-
import '../Help/index.js';
|
|
13
12
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
13
|
+
import '../Help/index.js';
|
|
14
14
|
import '../Tooltip/index.js';
|
|
15
15
|
import 'rc-tooltip';
|
|
16
16
|
import 'rc-tooltip/lib/placements';
|
package/Tree/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Tree } from '../_verture/index-
|
|
2
|
-
export { T as default } from '../_verture/index-
|
|
1
|
+
import { T as Tree } from '../_verture/index-5a05b4a8.js';
|
|
2
|
+
export { T as default } from '../_verture/index-5a05b4a8.js';
|
|
3
3
|
import '../_verture/toConsumableArray-81040c9e.js';
|
|
4
4
|
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
5
5
|
import '../_verture/defineProperty-62acccfc.js';
|
package/index.js
CHANGED
|
@@ -22,7 +22,7 @@ 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-
|
|
25
|
+
export { F as FormItem } from './_verture/index-e56d852b.js';
|
|
26
26
|
export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-20780c9a.js';
|
|
27
27
|
export { default as GlobalContext, changeConfirmLocale, getConfirmLocale } from './GlobalContext/index.js';
|
|
28
28
|
export { default as Help } from './Help/index.js';
|
|
@@ -69,7 +69,7 @@ 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-5a05b4a8.js';
|
|
73
73
|
export { default as Upload } from './Upload/index.js';
|
|
74
74
|
export { default as locale } from './locale/index.js';
|
|
75
75
|
import './_verture/slicedToArray-76060636.js';
|