@para-ui/core 4.0.51 → 4.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.
Files changed (46) hide show
  1. package/Cascader/index.js +4 -5
  2. package/ComboSelect/index.js +7 -8
  3. package/CycleSelector/index.js +1 -4
  4. package/DatePicker/index.js +1 -4
  5. package/DynamicMultiBox/index.js +2 -3
  6. package/Empty/index.js +1 -1
  7. package/Form/index.js +3 -4
  8. package/FormItem/index.js +3 -4
  9. package/Image/index.js +2 -3
  10. package/Prompt/index.d.ts +2 -0
  11. package/Prompt/index.js +6 -4
  12. package/README.md +13 -0
  13. package/Stepper/index.js +1 -1
  14. package/Table/index.js +1 -1
  15. package/Tabs/index.js +2 -2
  16. package/Tag/index.js +55 -87
  17. package/TimePicker/index.js +1 -4
  18. package/Timeline/index.js +1 -2
  19. package/ToggleButton/index.js +1 -2
  20. package/Tree/index.js +3 -4
  21. package/Upload/index.js +2 -3
  22. package/_verture/{Portal-f9bedb3a.js → Portal-42560ff0.js} +1 -2
  23. package/_verture/{defineProperty-6f62bb2a.js → defineProperty-f0e15205.js} +10 -2
  24. package/_verture/{index-972707a5.js → index-063009f8.js} +2 -3
  25. package/_verture/{index-6647cbf6.js → index-d728b0ce.js} +1 -2
  26. package/index.js +5 -6
  27. package/package.json +2 -2
  28. package/umd/Argv.js +1 -1
  29. package/umd/ComboSelect.js +2 -2
  30. package/umd/ContentBox.js +1 -1
  31. package/umd/CycleSelector.js +1 -1
  32. package/umd/DynamicMultiBox.js +2 -2
  33. package/umd/Empty.js +1 -1
  34. package/umd/Form.js +2 -2
  35. package/umd/FormItem.js +2 -2
  36. package/umd/Pagination.js +1 -1
  37. package/umd/Prompt.js +2 -2
  38. package/umd/QuickReply.js +1 -1
  39. package/umd/Select.js +1 -1
  40. package/umd/SelectInput.js +1 -1
  41. package/umd/Selector.js +1 -1
  42. package/umd/SelectorPicker.js +1 -1
  43. package/umd/Table.js +1 -1
  44. package/umd/Tree.js +1 -1
  45. package/_verture/typeof-adeedc13.js +0 -11
  46. /package/_verture/{index-bd0da612.js → index-f30ae73e.js} +0 -0
package/Tag/index.js CHANGED
@@ -4,9 +4,6 @@ import { useState, useRef, useEffect } from 'react';
4
4
  import Close from '@para-ui/icons/Close';
5
5
  import EditOutline from '@para-ui/icons/EditOutline';
6
6
  import clsx from 'clsx';
7
- import { _ as _toConsumableArray } from '../_verture/toConsumableArray-c7a8028f.js';
8
- import { _ as _typeof } from '../_verture/typeof-adeedc13.js';
9
- import { _ as _slicedToArray } from '../_verture/slicedToArray-75fa4188.js';
10
7
  import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
11
8
  import AutoTips from '../AutoTips/index.js';
12
9
  import { t as tinycolor } from '../_verture/tinycolor-ece3542d.js';
@@ -24,129 +21,102 @@ var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/1/12 上
24
21
  styleInject(css_248z);
25
22
 
26
23
  //tag group
27
- var TagGroup = function TagGroup(props) {
28
- var _useGlobalProps = useGlobalProps(props, 'TagGroup'),
29
- className = _useGlobalProps.className,
30
- _useGlobalProps$size = _useGlobalProps.size,
31
- size = _useGlobalProps$size === void 0 ? 'large' : _useGlobalProps$size,
32
- style = _useGlobalProps.style,
33
- defaultInputValue = _useGlobalProps.defaultInputValue,
34
- _useGlobalProps$incre = _useGlobalProps.increased,
35
- increased = _useGlobalProps$incre === void 0 ? false : _useGlobalProps$incre,
36
- increasedTag = _useGlobalProps.increasedTag,
37
- inputClassName = _useGlobalProps.inputClassName,
38
- inputWidth = _useGlobalProps.inputWidth,
39
- _useGlobalProps$margi = _useGlobalProps.marginBottom,
40
- marginBottom = _useGlobalProps$margi === void 0 ? '8px' : _useGlobalProps$margi,
41
- _useGlobalProps$margi2 = _useGlobalProps.marginRight,
42
- marginRight = _useGlobalProps$margi2 === void 0 ? '8px' : _useGlobalProps$margi2,
43
- onChange = _useGlobalProps.onChange;
44
- var _useState = useState([]),
45
- _useState2 = _slicedToArray(_useState, 2),
46
- inData = _useState2[0],
47
- setInData = _useState2[1]; //数据源
48
- var _useState3 = useState(defaultInputValue !== null && defaultInputValue !== void 0 ? defaultInputValue : ''),
49
- _useState4 = _slicedToArray(_useState3, 2),
50
- inputValue = _useState4[0],
51
- setInputValue = _useState4[1]; //input value
52
- var _useState5 = useState(false),
53
- _useState6 = _slicedToArray(_useState5, 2),
54
- inputVisible = _useState6[0],
55
- setInputVisible = _useState6[1]; //input visible
56
- var inputRef = useRef(); //input ref
57
- var _useState7 = useState(),
58
- _useState8 = _slicedToArray(_useState7, 2),
59
- increasedInputWidth = _useState8[0],
60
- setIncreasedInputWidth = _useState8[1]; //添加标签的最小宽
61
- useEffect(function () {
24
+ const TagGroup = props => {
25
+ const {
26
+ className,
27
+ size = 'large',
28
+ style,
29
+ defaultInputValue,
30
+ increased = false,
31
+ increasedTag,
32
+ inputClassName,
33
+ inputWidth,
34
+ marginBottom = '8px',
35
+ marginRight = '8px',
36
+ onChange
37
+ } = useGlobalProps(props, 'TagGroup');
38
+ const [inData, setInData] = useState([]); //数据源
39
+ const [inputValue, setInputValue] = useState(defaultInputValue !== null && defaultInputValue !== void 0 ? defaultInputValue : ''); //input value
40
+ const [inputVisible, setInputVisible] = useState(false); //input visible
41
+ const inputRef = useRef(); //input ref
42
+ const [increasedInputWidth, setIncreasedInputWidth] = useState(); //添加标签的最小宽
43
+ useEffect(() => {
62
44
  if (props.data) {
63
- var tArr = props.data;
45
+ let tArr = props.data;
64
46
  //Item[]
65
- var unObjType = tArr.some(function (v) {
66
- return ['string', 'number'].includes(_typeof(v));
67
- });
47
+ const unObjType = tArr.some(v => ['string', 'number'].includes(typeof v));
68
48
  if (unObjType) {
69
- tArr = tArr.map(function (_) {
70
- return {
71
- value: _,
72
- label: _
73
- };
74
- });
49
+ tArr = tArr.map(_ => ({
50
+ value: _,
51
+ label: _
52
+ }));
75
53
  }
76
- setInData(_toConsumableArray(tArr));
54
+ setInData([...tArr]);
77
55
  }
78
56
  }, [props.data]);
79
57
  //tag value
80
- var getTagGroupVal = function getTagGroupVal(data) {
81
- return data.map(function (_) {
82
- return _.value;
83
- });
58
+ const getTagGroupVal = data => {
59
+ return data.map(_ => _.value);
84
60
  };
85
61
  //show input
86
- var showInput = function showInput() {
62
+ const showInput = () => {
87
63
  setInputVisible(true);
88
- setTimeout(function () {
64
+ setTimeout(() => {
89
65
  var _a;
90
66
  (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.focus();
91
67
  });
92
68
  };
93
- var handleTagEdit = function handleTagEdit(value, idx) {
69
+ const handleTagEdit = (value, idx) => {
94
70
  inData[idx].value = value;
95
- setInData(_toConsumableArray(inData));
71
+ setInData([...inData]);
96
72
  onChange === null || onChange === void 0 ? void 0 : onChange(inData, getTagGroupVal(inData));
97
73
  };
98
74
  //input change
99
- var handleInputChange = function handleInputChange(e) {
75
+ const handleInputChange = e => {
100
76
  setInputValue(e.target.value);
101
77
  };
102
78
  //input confirm
103
- var handleInputConfirm = function handleInputConfirm() {
104
- var val = inputValue.trim();
79
+ const handleInputConfirm = () => {
80
+ const val = inputValue.trim();
105
81
  if (val !== '') {
106
82
  inData.push({
107
83
  value: val,
108
84
  label: val,
109
85
  closable: true
110
86
  });
111
- setInData(_toConsumableArray(inData));
87
+ setInData([...inData]);
112
88
  onChange === null || onChange === void 0 ? void 0 : onChange(inData, getTagGroupVal(inData));
113
89
  }
114
90
  setInputValue(defaultInputValue !== null && defaultInputValue !== void 0 ? defaultInputValue : '');
115
91
  setInputVisible(false);
116
92
  };
117
93
  //input enter
118
- var handleInputEnter = function handleInputEnter(e) {
94
+ const handleInputEnter = e => {
119
95
  if (e.keyCode === 13 || e.which === 13) {
120
96
  handleInputConfirm();
121
97
  }
122
98
  };
123
99
  //handle close
124
- var handleClose = function handleClose(item) {
125
- return function (e) {
126
- var idx = inData.findIndex(function (_) {
127
- return _.value === item.value;
128
- });
129
- if (idx > -1) {
130
- inData.splice(idx, 1);
131
- setInData(_toConsumableArray(inData));
132
- }
133
- if (item.onClose) item.onClose(e);
134
- onChange === null || onChange === void 0 ? void 0 : onChange(inData, getTagGroupVal(inData));
135
- };
100
+ const handleClose = item => e => {
101
+ const idx = inData.findIndex(_ => _.value === item.value);
102
+ if (idx > -1) {
103
+ inData.splice(idx, 1);
104
+ setInData([...inData]);
105
+ }
106
+ if (item.onClose) item.onClose(e);
107
+ onChange === null || onChange === void 0 ? void 0 : onChange(inData, getTagGroupVal(inData));
136
108
  };
137
109
  //渲染Tag组
138
- var renderTagGroup = function renderTagGroup() {
110
+ const renderTagGroup = () => {
139
111
  if (!(inData === null || inData === void 0 ? void 0 : inData.length)) return null;
140
- return inData.map(function (item, idx) {
112
+ return inData.map((item, idx) => {
141
113
  return jsx(Tag, Object.assign({
142
114
  marginBottom: marginBottom,
143
115
  marginRight: marginRight
144
116
  }, item, {
145
117
  size: size,
146
118
  visible: true,
147
- tagChange: function tagChange(value) {
148
- return handleTagEdit(value, idx);
149
- },
119
+ tagChange: value => handleTagEdit(value, idx),
150
120
  onClose: handleClose(item)
151
121
  }, {
152
122
  children: item.label
@@ -154,10 +124,10 @@ var TagGroup = function TagGroup(props) {
154
124
  });
155
125
  };
156
126
  //动态增加tag
157
- var renderNewInput = function renderNewInput() {
127
+ const renderNewInput = () => {
158
128
  var _a;
159
129
  if (inputVisible) {
160
- var inputCls = clsx('tag-group-input', {
130
+ const inputCls = clsx('tag-group-input', {
161
131
  'tag-group-input-large': size === 'large'
162
132
  }, inputClassName);
163
133
  return jsx("input", {
@@ -174,19 +144,17 @@ var TagGroup = function TagGroup(props) {
174
144
  onKeyDown: handleInputEnter
175
145
  });
176
146
  }
177
- var icon = jsx(Plus, {});
178
- var text = 'New Tag';
147
+ let icon = jsx(Plus, {});
148
+ let text = 'New Tag';
179
149
  if (increasedTag) {
180
150
  icon = increasedTag.icon || jsx(Plus, {});
181
151
  text = (_a = increasedTag.text) !== null && _a !== void 0 ? _a : 'New Tag';
182
152
  }
183
- var newCls = clsx('tag-group-new', {
153
+ const newCls = clsx('tag-group-new', {
184
154
  'tag-group-new-icon': !text
185
155
  }, 'tag-group-add-btn');
186
156
  return jsx(Tag, Object.assign({
187
- getWidth: function getWidth(width) {
188
- return setIncreasedInputWidth(width);
189
- },
157
+ getWidth: width => setIncreasedInputWidth(width),
190
158
  className: newCls,
191
159
  size: size,
192
160
  icon: icon,
@@ -24,13 +24,10 @@ import '@para-ui/icons/Forbid';
24
24
  import '../Tag/index.js';
25
25
  import '@para-ui/icons/Close';
26
26
  import '@para-ui/icons/EditOutline';
27
- import '../_verture/toConsumableArray-c7a8028f.js';
28
- import '../_verture/slicedToArray-75fa4188.js';
29
- import '../_verture/typeof-adeedc13.js';
30
27
  import '../_verture/tinycolor-ece3542d.js';
31
28
  import '../_verture/useGlobalProps-4ae1a007.js';
32
29
  import '@para-ui/icons/Plus';
33
- import '../_verture/defineProperty-6f62bb2a.js';
30
+ import '../_verture/defineProperty-f0e15205.js';
34
31
  import 'rc-picker';
35
32
  import '@para-ui/icons/CloseCircleF';
36
33
  import '@para-ui/icons/Calendar';
package/Timeline/index.js CHANGED
@@ -2,10 +2,9 @@ import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
2
2
  import { jsxs, jsx } from 'react/jsx-runtime';
3
3
  import React__default from 'react';
4
4
  import clsx from 'clsx';
5
- import { _ as _defineProperty } from '../_verture/defineProperty-6f62bb2a.js';
5
+ import { a as _defineProperty } from '../_verture/defineProperty-f0e15205.js';
6
6
  import { a as $rcPrefixCls, $ as $prefixCls } from '../_verture/constant-5317fc89.js';
7
7
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
8
- import '../_verture/typeof-adeedc13.js';
9
8
 
10
9
  //TimelineItem
11
10
  var TimelineItem = function TimelineItem(props) {
@@ -2,7 +2,7 @@ import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
  import { useRef } from 'react';
4
4
  import { Button } from '../Button/index.js';
5
- import { _ as _defineProperty } from '../_verture/defineProperty-6f62bb2a.js';
5
+ import { a as _defineProperty } from '../_verture/defineProperty-f0e15205.js';
6
6
  import { UUID } from '@paraview/lib';
7
7
  import clsx from 'clsx';
8
8
  import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
@@ -20,7 +20,6 @@ import '../_verture/usePopupContainer-635f66f4.js';
20
20
  import 'dayjs';
21
21
  import '../_verture/useFormatMessage-1fc7c957.js';
22
22
  import '../_verture/index-ca413216.js';
23
- import '../_verture/typeof-adeedc13.js';
24
23
 
25
24
  var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/23 上午9:50\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-toggle-button.toggle-button-outlined.paraui-v4-toggle-button-radio.paraui-v4-toggle-button-selected {\n border-color: rgb(46, 101, 230);\n color: rgb(255, 255, 255);\n background-color: rgb(46, 101, 230);\n}\n.paraui-v4-toggle-button.toggle-button-outlined.paraui-v4-toggle-button-radio.paraui-v4-toggle-button-selected:hover {\n border-color: rgb(46, 101, 230);\n}\n.paraui-v4-toggle-button.toggle-button-outlined.paraui-v4-toggle-button-radio:hover {\n border-color: rgb(87, 131, 235);\n}\n.paraui-v4-toggle-button.toggle-button-outlined.paraui-v4-toggle-button-radio[disabled] {\n color: rgb(161, 168, 179);\n background-color: rgb(255, 255, 255);\n border: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-toggle-button.toggle-button-outlined.paraui-v4-toggle-button-radio[disabled]:hover {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-toggle-button.toggle-button-outlined.paraui-v4-toggle-button-radio[disabled].paraui-v4-toggle-button-selected {\n color: rgb(92, 101, 115);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-toggle-button.toggle-button-outlined.paraui-v4-toggle-button-check::before {\n content: \" \";\n position: absolute;\n bottom: 0;\n right: 0;\n border: 8px solid rgb(212, 218, 227);\n border-top-color: transparent;\n border-left-color: transparent;\n}\n.paraui-v4-toggle-button.toggle-button-outlined.paraui-v4-toggle-button-check::after {\n content: \" \";\n width: 8px;\n height: 8px;\n background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAM5JREFUOE/NkQENwjAURFcFIAEHgIM5YCgAHCABFBAUAA5wABI2CTgABeUd+V06BqFkCeEnl6X9d7d/vy7rWK6jPvu9gfe+z9QnsHDOlV9NgHhk4gpxrvjJBogL+DtwATkG12QDxEvIG3AzcRmW/5gAgsaR+1S54peht+c8s7vxc7+OAFHCIVhBWkfLUm6VliazRsUGAzoy6YEz0LaDeItYMVrVWCJ/nVuUmHhArPuX1XoFTI4wJ8au+NYb/ziBCJZdJqoiPFfyBO+I/2twBz0qQBFvrubpAAAAAElFTkSuQmCC\");\n background-size: 8px 8px;\n background-repeat: no-repeat;\n position: absolute;\n bottom: 1px;\n right: 1px;\n}\n.paraui-v4-toggle-button.toggle-button-outlined.paraui-v4-toggle-button-check:hover {\n border-color: rgb(87, 131, 235);\n}\n.paraui-v4-toggle-button.toggle-button-outlined.paraui-v4-toggle-button-check:hover::before {\n border-color: rgb(87, 131, 235);\n border-top-color: transparent;\n border-left-color: transparent;\n}\n.paraui-v4-toggle-button.toggle-button-outlined.paraui-v4-toggle-button-check.paraui-v4-toggle-button-selected {\n border-color: rgb(46, 101, 230);\n color: rgb(46, 101, 230);\n}\n.paraui-v4-toggle-button.toggle-button-outlined.paraui-v4-toggle-button-check.paraui-v4-toggle-button-selected::before {\n border-color: rgb(46, 101, 230);\n border-top-color: transparent;\n border-left-color: transparent;\n}\n.paraui-v4-toggle-button.toggle-button-outlined.paraui-v4-toggle-button-check[disabled] {\n color: rgb(161, 168, 179);\n background-color: rgb(255, 255, 255);\n border: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-toggle-button.toggle-button-outlined.paraui-v4-toggle-button-check[disabled]::before {\n border-color: rgb(212, 218, 227);\n border-top-color: transparent;\n border-left-color: transparent;\n}\n.paraui-v4-toggle-button.toggle-button-outlined.paraui-v4-toggle-button-check[disabled]:hover {\n color: rgb(161, 168, 179);\n background-color: rgb(255, 255, 255);\n border: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-toggle-button.toggle-button-outlined.paraui-v4-toggle-button-check[disabled]:hover::before {\n border-color: rgb(212, 218, 227);\n border-top-color: transparent;\n border-left-color: transparent;\n}\n.paraui-v4-toggle-button.toggle-button-outlined.paraui-v4-toggle-button-check[disabled].paraui-v4-toggle-button-selected {\n color: rgb(92, 101, 115);\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-toggle-button.toggle-button-icon.paraui-v4-toggle-button-selected {\n border-color: rgb(46, 101, 230);\n color: rgb(255, 255, 255);\n background-color: rgb(46, 101, 230);\n}\n.paraui-v4-toggle-button.toggle-button-icon.paraui-v4-toggle-button-selected:hover {\n border-color: rgb(46, 101, 230);\n}\n.paraui-v4-toggle-button.toggle-button-icon[disabled].paraui-v4-toggle-button-selected {\n border-color: rgba(255, 255, 255, 0.5);\n}\n.paraui-v4-toggle-button.toggle-button-icon[disabled].paraui-v4-toggle-button-selected::before {\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1;\n content: \"\";\n background-color: rgba(255, 255, 255, 0.5);\n}\n.paraui-v4-toggle-button.toggle-button-text.paraui-v4-button-text {\n color: rgb(29, 33, 38);\n}\n.paraui-v4-toggle-button.toggle-button-text.paraui-v4-button-text:hover {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-toggle-button.toggle-button-text.paraui-v4-button-text:hover[disabled] {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-toggle-button.toggle-button-text.paraui-v4-toggle-button-selected {\n color: rgb(46, 101, 230);\n border: 0;\n font-weight: 700;\n}\n.paraui-v4-toggle-button.toggle-button-text.paraui-v4-toggle-button-selected:hover {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-toggle-button.toggle-button-text.paraui-v4-toggle-button-selected[disabled] {\n color: rgb(92, 101, 115);\n background-color: transparent;\n border: 0;\n}\n.paraui-v4-toggle-button.toggle-button-text.paraui-v4-toggle-button-selected[disabled]:hover {\n background-color: transparent;\n}\n.paraui-v4-toggle-button.toggle-button-text.paraui-v4-toggle-button-selected:first-child:before {\n display: none;\n}\n.paraui-v4-toggle-button.toggle-button-text.paraui-v4-toggle-button-selected::after {\n display: none;\n}\n.paraui-v4-toggle-button.toggle-button-text[disabled] {\n color: rgb(161, 168, 179);\n background-color: transparent;\n border: 0;\n}\n.paraui-v4-toggle-button.toggle-button-text[disabled]:hover {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-toggle-button-wrap {\n display: inline-block;\n}\n.paraui-v4-toggle-button .toggle-button-text {\n width: 100%;\n}\n.paraui-v4-toggle-button-disabled.paraui-v4-toggle-button {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-toggle-button-disabled.paraui-v4-toggle-button:hover {\n color: rgb(92, 101, 115);\n}\n\n.paraui-v4-togglebutton-group {\n display: flex;\n flex-flow: row wrap;\n}\n.paraui-v4-togglebutton-group .toggle-button-item {\n margin: 0 8px;\n}\n.paraui-v4-togglebutton-group-text .toggle-button-item .paraui-v4-toggle-button {\n margin: 0;\n padding: 0 16px;\n}\n.paraui-v4-togglebutton-group-text .toggle-button-item ~ .toggle-button-item .paraui-v4-toggle-button::before {\n position: absolute;\n left: 0;\n top: 50%;\n transform: translateY(-50%);\n content: \"\";\n width: 1px;\n height: 14px;\n background-color: rgb(212, 218, 227);\n}";
26
25
  styleInject(css_248z);
package/Tree/index.js CHANGED
@@ -1,9 +1,8 @@
1
- import { T as Tree } from '../_verture/index-6647cbf6.js';
2
- export { T as default } from '../_verture/index-6647cbf6.js';
1
+ import { T as Tree } from '../_verture/index-d728b0ce.js';
2
+ export { T as default } from '../_verture/index-d728b0ce.js';
3
3
  import '../_verture/toConsumableArray-c7a8028f.js';
4
4
  import '../_verture/slicedToArray-75fa4188.js';
5
- import '../_verture/defineProperty-6f62bb2a.js';
6
- import '../_verture/typeof-adeedc13.js';
5
+ import '../_verture/defineProperty-f0e15205.js';
7
6
  import '../_verture/index-8ac46bd9.js';
8
7
  import '../_verture/typeof-6ec38efd.js';
9
8
  import '../_verture/tslib.es6-55ed4bd2.js';
package/Upload/index.js CHANGED
@@ -6,7 +6,7 @@ import clsx from 'clsx';
6
6
  import UploadIcon from '@para-ui/icons/UploadFile';
7
7
  import LoadingIcon from '@para-ui/icons/Loading';
8
8
  import { _ as _toConsumableArray } from '../_verture/toConsumableArray-c7a8028f.js';
9
- import { _ as _typeof } from '../_verture/typeof-adeedc13.js';
9
+ import { _ as _typeof } from '../_verture/defineProperty-f0e15205.js';
10
10
  import { _ as _slicedToArray } from '../_verture/slicedToArray-75fa4188.js';
11
11
  import { r as regenerator } from '../_verture/index-8ac46bd9.js';
12
12
  import EditOutline from '@para-ui/icons/EditOutline';
@@ -36,9 +36,8 @@ import { Modal } from '../Modal/index.js';
36
36
  import '../_verture/typeof-6ec38efd.js';
37
37
  import 'rc-tooltip';
38
38
  import 'rc-tooltip/lib/placements';
39
- import '../_verture/Portal-f9bedb3a.js';
39
+ import '../_verture/Portal-42560ff0.js';
40
40
  import 'react-dom';
41
- import '../_verture/defineProperty-6f62bb2a.js';
42
41
  import 'rc-dialog';
43
42
  import 'rc-motion';
44
43
  import '@para-ui/icons/Sort';
@@ -1,9 +1,8 @@
1
1
  import { _ as _slicedToArray } from './slicedToArray-75fa4188.js';
2
2
  import * as React from 'react';
3
3
  import { createPortal } from 'react-dom';
4
- import { _ as _typeof } from './typeof-adeedc13.js';
4
+ import { a as _defineProperty, _ as _typeof } from './defineProperty-f0e15205.js';
5
5
  import { _ as _toConsumableArray } from './toConsumableArray-c7a8028f.js';
6
- import { _ as _defineProperty } from './defineProperty-6f62bb2a.js';
7
6
 
8
7
  function _extends() {
9
8
  _extends = Object.assign ? Object.assign.bind() : function (target) {
@@ -1,4 +1,12 @@
1
- import { _ as _typeof } from './typeof-adeedc13.js';
1
+ function _typeof(o) {
2
+ "@babel/helpers - typeof";
3
+
4
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
5
+ return typeof o;
6
+ } : function (o) {
7
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
8
+ }, _typeof(o);
9
+ }
2
10
 
3
11
  function toPrimitive(t, r) {
4
12
  if ("object" != _typeof(t) || !t) return t;
@@ -31,4 +39,4 @@ function _defineProperty(obj, key, value) {
31
39
  return obj;
32
40
  }
33
41
 
34
- export { _defineProperty as _, toPropertyKey as t };
42
+ export { _typeof as _, _defineProperty as a, toPropertyKey as t };
@@ -1,10 +1,9 @@
1
1
  import { _ as __rest } from './tslib.es6-55ed4bd2.js';
2
2
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
3
- import { c as clsx, _ as _objectSpread2, r as reactIs, s as supportRef, u as useComposeRef, w as warning, a as _extends, b as _objectWithoutProperties, d as wrapperRaf, e as useEvent$2, f as useLayoutEffect$3, g as composeRef, K as KeyCode, h as fillRef, P as Portal, i as warningOnce, j as useMergedState$2, k as canUseDom$1, l as useMemo$1, n as noteOnce } from './Portal-f9bedb3a.js';
3
+ import { c as clsx, _ as _objectSpread2, r as reactIs, s as supportRef, u as useComposeRef, w as warning, a as _extends, b as _objectWithoutProperties, d as wrapperRaf, e as useEvent$2, f as useLayoutEffect$3, g as composeRef, K as KeyCode, h as fillRef, P as Portal, i as warningOnce, j as useMergedState$2, k as canUseDom$1, l as useMemo$1, n as noteOnce } from './Portal-42560ff0.js';
4
4
  import { _ as _toConsumableArray, a as _iterableToArray } from './toConsumableArray-c7a8028f.js';
5
- import { t as toPropertyKey, _ as _defineProperty } from './defineProperty-6f62bb2a.js';
5
+ import { _ as _typeof$1, t as toPropertyKey, a as _defineProperty } from './defineProperty-f0e15205.js';
6
6
  import { _ as _slicedToArray, a as _arrayWithHoles, b as _unsupportedIterableToArray, c as _nonIterableRest } from './slicedToArray-75fa4188.js';
7
- import { _ as _typeof$1 } from './typeof-adeedc13.js';
8
7
  import * as React$4 from 'react';
9
8
  import React__default, { useState as useState$1, useMemo, useCallback, useRef, useEffect } from 'react';
10
9
  import ReactDOM, { unstable_batchedUpdates, flushSync } from 'react-dom';
@@ -1,5 +1,5 @@
1
1
  import { _ as _toConsumableArray } from './toConsumableArray-c7a8028f.js';
2
- import { _ as _defineProperty } from './defineProperty-6f62bb2a.js';
2
+ import { _ as _typeof, a as _defineProperty } from './defineProperty-f0e15205.js';
3
3
  import { _ as _slicedToArray } from './slicedToArray-75fa4188.js';
4
4
  import { r as regenerator } from './index-8ac46bd9.js';
5
5
  import { _ as __rest, a as __awaiter } from './tslib.es6-55ed4bd2.js';
@@ -7,7 +7,6 @@ import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
7
7
  import React__default, { isValidElement, cloneElement, useRef, useState, useImperativeHandle, useEffect, useMemo } from 'react';
8
8
  import RcTree from 'rc-tree';
9
9
  import clsx from 'clsx';
10
- import { _ as _typeof } from './typeof-adeedc13.js';
11
10
  import LoadingOutlined from '@para-ui/icons/LoadingF';
12
11
  import FileOutlined from '@para-ui/icons/Document';
13
12
  import SolidArrowDown from '@para-ui/icons/DownTriangleF';
package/index.js CHANGED
@@ -10,7 +10,7 @@ export { Button } from './Button/index.js';
10
10
  export { ButtonGroup } from './ButtonGroup/index.js';
11
11
  export { Card } from './Card/index.js';
12
12
  export { Carousel } from './Carousel/index.js';
13
- export { C as Cascader } from './_verture/index-972707a5.js';
13
+ export { C as Cascader } from './_verture/index-063009f8.js';
14
14
  export { Checkbox } from './Checkbox/index.js';
15
15
  export { CheckboxGroup } from './CheckboxGroup/index.js';
16
16
  export { default as CodeEditor, CompletionItemKind } from './CodeEditor/index.js';
@@ -32,7 +32,7 @@ export { D as Dropdown } from './_verture/index-bde7aabe.js';
32
32
  export { default as DynamicMultiBox } from './DynamicMultiBox/index.js';
33
33
  export { default as Empty } from './Empty/index.js';
34
34
  export { default as Form } from './Form/index.js';
35
- export { F as FormItem } from './_verture/index-bd0da612.js';
35
+ export { F as FormItem } from './_verture/index-f30ae73e.js';
36
36
  export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-8a48c400.js';
37
37
  export { G as GlobalContext, c as changeConfirmLocale, g as getConfirmLocale } from './_verture/index-ca413216.js';
38
38
  export { default as Help } from './Help/index.js';
@@ -87,7 +87,7 @@ export { Title } from './Title/index.js';
87
87
  export { ToggleButton, ToggleButtonGroup } from './ToggleButton/index.js';
88
88
  export { Tooltip } from './Tooltip/index.js';
89
89
  export { SSortablejs, Transfer } from './Transfer/index.js';
90
- export { T as Tree } from './_verture/index-6647cbf6.js';
90
+ export { T as Tree } from './_verture/index-d728b0ce.js';
91
91
  export { default as Upload } from './Upload/index.js';
92
92
  export { default as Utils, getDateYYYYMMddHHMM, isObject, pixelReplacement } from './Utils/index.js';
93
93
  export { default as locale } from './locale/index.js';
@@ -114,11 +114,10 @@ import '@para-ui/icons/LoadingF';
114
114
  import 'react-slick';
115
115
  import '@para-ui/icons/RightCircleF';
116
116
  import '@para-ui/icons/LeftCircleF';
117
- import './_verture/Portal-f9bedb3a.js';
117
+ import './_verture/Portal-42560ff0.js';
118
118
  import './_verture/slicedToArray-75fa4188.js';
119
- import './_verture/typeof-adeedc13.js';
119
+ import './_verture/defineProperty-f0e15205.js';
120
120
  import './_verture/toConsumableArray-c7a8028f.js';
121
- import './_verture/defineProperty-6f62bb2a.js';
122
121
  import 'rc-motion';
123
122
  import './_verture/typeof-6ec38efd.js';
124
123
  import 'rc-tree/lib/utils/conductUtil';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@para-ui/core",
3
3
  "private": false,
4
- "version": "4.0.51",
4
+ "version": "4.0.53",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
7
7
  "description": "Powered by Para FED",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@monaco-editor/react": "^4.6.0",
31
- "@paraview/lib": "3.0.4",
31
+ "@paraview/lib": "^3.0.5",
32
32
  "@wangeditor/editor": "^5.1.15",
33
33
  "@wangeditor/editor-for-react": "^1.0.5",
34
34
  "clsx": "1.1.1",