@para-ui/core 4.0.0-rc.5 → 4.0.0-rc.7

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 (99) hide show
  1. package/AutoTips/index.js +2 -2
  2. package/Button/index.js +1 -1
  3. package/Cascader/index.js +5 -4
  4. package/ComboSelect/index.js +27 -16
  5. package/ComboSelect/lang/en_US.d.ts +1 -0
  6. package/ComboSelect/lang/index.d.ts +2 -0
  7. package/ComboSelect/lang/zh_CN.d.ts +1 -0
  8. package/ComboSelect/utils.d.ts +6 -0
  9. package/DatePicker/index.js +3 -1
  10. package/DatePicker/util.d.ts +6 -6
  11. package/DynamicMultiBox/index.js +11 -562
  12. package/Form/index.js +9 -5
  13. package/FormItem/index.js +9 -5
  14. package/FunctionModal/index.js +2 -2
  15. package/Menu/index.js +1 -1
  16. package/OperateBtn/index.js +8 -6
  17. package/Pagination/index.js +1 -1
  18. package/QuickReply/QuickReplyCode/index.d.ts +10 -0
  19. package/QuickReply/index.d.ts +87 -0
  20. package/QuickReply/index.js +550 -0
  21. package/QuickReply/lang/en_US.d.ts +14 -0
  22. package/QuickReply/lang/index.d.ts +29 -0
  23. package/QuickReply/lang/zh_CN.d.ts +14 -0
  24. package/README.md +1 -0
  25. package/Select/index.js +4 -3
  26. package/Selector/index.js +3 -326
  27. package/SelectorPicker/index.js +7 -4
  28. package/Styles/theme.scss +1 -0
  29. package/Switch/index.js +2 -2
  30. package/Table/index.js +472 -410
  31. package/Tabs/index.js +3 -3
  32. package/Tag/index.js +84 -55
  33. package/TextEditor/index.js +3 -3
  34. package/TimePicker/index.js +3 -1
  35. package/Timeline/index.js +14 -20
  36. package/ToggleButton/index.js +25 -26
  37. package/Tooltip/index.js +26 -27
  38. package/Transfer/index.js +50 -45
  39. package/Tree/index.js +8 -4
  40. package/Upload/index.js +626 -409
  41. package/_verture/{index-f186b5e8.js → index-3156e3ef.js} +394 -312
  42. package/_verture/{index-0ced30f7.js → index-466a3496.js} +3 -18
  43. package/_verture/index-d6093d1c.js +559 -0
  44. package/_verture/index-d63bd287.js +327 -0
  45. package/_verture/{index-ef1235fb.js → index-f518e244.js} +1 -1
  46. package/_verture/{slicedToArray-8223a2ef.js → slicedToArray-75fa4188.js} +1 -1
  47. package/_verture/toConsumableArray-c7a8028f.js +19 -0
  48. package/_verture/{utils-46e99c9a.js → utils-c17b5265.js} +16 -1
  49. package/index.d.ts +2 -0
  50. package/index.js +15 -9
  51. package/locale/en-US.d.ts +14 -0
  52. package/locale/index.d.ts +28 -0
  53. package/locale/index.js +30 -2
  54. package/locale/zh-CN.d.ts +14 -0
  55. package/package.json +11 -10
  56. package/umd/AutoTips.js +1 -1
  57. package/umd/Breadcrumbs.js +1 -1
  58. package/umd/Button.js +1 -1
  59. package/umd/ButtonGroup.js +1 -1
  60. package/umd/Cascader.js +1 -1
  61. package/umd/ComboSelect.js +4 -4
  62. package/umd/CopyText.js +1 -1
  63. package/umd/DatePicker.js +7 -7
  64. package/umd/Descriptions.js +1 -1
  65. package/umd/Desktop.js +6 -6
  66. package/umd/Drawer.js +1 -1
  67. package/umd/DynamicMultiBox.js +4 -4
  68. package/umd/Form.js +4 -4
  69. package/umd/FormItem.js +4 -4
  70. package/umd/FunctionModal.js +1 -1
  71. package/umd/InputLang.js +1 -1
  72. package/umd/Menu.js +1 -1
  73. package/umd/Modal.js +7 -7
  74. package/umd/MultiBox.js +1 -1
  75. package/umd/OperateBtn.js +2 -2
  76. package/umd/PageHeader.js +6 -6
  77. package/umd/Pagination.js +2 -2
  78. package/umd/PopConfirm.js +1 -1
  79. package/umd/QuickReply.js +55 -0
  80. package/umd/Search.js +1 -1
  81. package/umd/Select.js +2 -2
  82. package/umd/SelectInput.js +2 -2
  83. package/umd/Selector.js +1 -1
  84. package/umd/SelectorPicker.js +2 -2
  85. package/umd/SingleBox.js +1 -1
  86. package/umd/Stepper.js +1 -1
  87. package/umd/Table.js +2 -2
  88. package/umd/Tabs.js +1 -1
  89. package/umd/Tag.js +1 -1
  90. package/umd/TextField.js +1 -1
  91. package/umd/TimePicker.js +7 -7
  92. package/umd/Title.js +1 -1
  93. package/umd/ToggleButton.js +5 -5
  94. package/umd/Transfer.js +1 -1
  95. package/umd/Tree.js +4 -4
  96. package/umd/Upload.js +1 -1
  97. package/umd/locale.js +1 -1
  98. /package/_verture/{modalContext-5df08980.js → modalContext-7b512b0c.js} +0 -0
  99. /package/_verture/{typeof-c310ee4a.js → typeof-b240b062.js} +0 -0
package/Tooltip/index.js CHANGED
@@ -9,12 +9,12 @@ import Forbid from '@para-ui/icons/Forbid';
9
9
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
10
10
 
11
11
  //自动调整位置
12
- const autoAdjustOverflowEnabled = {
12
+ var autoAdjustOverflowEnabled = {
13
13
  adjustX: 1,
14
14
  adjustY: 1
15
15
  };
16
16
  //非自动调整位置
17
- const autoAdjustOverflowDisabled = {
17
+ var autoAdjustOverflowDisabled = {
18
18
  adjustX: 0,
19
19
  adjustY: 0
20
20
  };
@@ -27,12 +27,12 @@ function getOverflowOptions(autoAdjustOverflow) {
27
27
  }
28
28
  //tooltip placement
29
29
  function getPlacements(config) {
30
- const {
31
- horizontalArrowShift = 16,
32
- verticalArrowShift = 8,
33
- autoAdjustOverflow
34
- } = config;
35
- const placementMap = {
30
+ var _config$horizontalArr = config.horizontalArrowShift,
31
+ horizontalArrowShift = _config$horizontalArr === void 0 ? 16 : _config$horizontalArr,
32
+ _config$verticalArrow = config.verticalArrowShift,
33
+ verticalArrowShift = _config$verticalArrow === void 0 ? 8 : _config$verticalArrow,
34
+ autoAdjustOverflow = config.autoAdjustOverflow;
35
+ var placementMap = {
36
36
  left: {
37
37
  points: ['cr', 'cl'],
38
38
  offset: [-8, 0]
@@ -82,7 +82,7 @@ function getPlacements(config) {
82
82
  offset: [-8, verticalArrowShift]
83
83
  }
84
84
  };
85
- Object.keys(placementMap).forEach(key => {
85
+ Object.keys(placementMap).forEach(function (key) {
86
86
  placementMap[key] = Object.assign(Object.assign({}, placements[key]), {
87
87
  offset: getAlignOffset(key).offset,
88
88
  overflow: getOverflowOptions(autoAdjustOverflow)
@@ -91,40 +91,39 @@ function getPlacements(config) {
91
91
  });
92
92
  return placementMap;
93
93
  }
94
- const splitObject = (obj, keys) => {
95
- const picked = {};
96
- const omitted = Object.assign({}, obj);
97
- keys.forEach(key => {
94
+ var splitObject = function splitObject(obj, keys) {
95
+ var picked = {};
96
+ var omitted = Object.assign({}, obj);
97
+ keys.forEach(function (key) {
98
98
  if (obj && key in obj) {
99
99
  picked[key] = obj[key];
100
100
  delete omitted[key];
101
101
  }
102
102
  });
103
103
  return {
104
- picked,
105
- omitted
104
+ picked: picked,
105
+ omitted: omitted
106
106
  };
107
107
  };
108
108
  //兼容禁用title
109
109
  function getDisabledCompatibleChildren(child) {
110
- const element = /*#__PURE__*/React__default.isValidElement(child) ? child : jsx("span", {
110
+ var element = /*#__PURE__*/React__default.isValidElement(child) ? child : jsx("span", {
111
111
  children: child
112
112
  });
113
113
  if (element.type === 'button' && element.props.disabled) {
114
- const {
115
- picked,
116
- omitted
117
- } = splitObject(element.props.style, ['position', 'left', 'right', 'top', 'bottom', 'float', 'display', 'zIndex']);
118
- const spanStyle = Object.assign(Object.assign({
114
+ var _splitObject = splitObject(element.props.style, ['position', 'left', 'right', 'top', 'bottom', 'float', 'display', 'zIndex']),
115
+ picked = _splitObject.picked,
116
+ omitted = _splitObject.omitted;
117
+ var spanStyle = Object.assign(Object.assign({
119
118
  display: 'inline-block'
120
119
  }, picked), {
121
120
  cursor: 'not-allowed',
122
121
  width: element.props.block ? '100%' : null
123
122
  });
124
- const buttonStyle = Object.assign(Object.assign({}, omitted), {
123
+ var buttonStyle = Object.assign(Object.assign({}, omitted), {
125
124
  pointerEvents: 'none'
126
125
  });
127
- const child = /*#__PURE__*/React__default.cloneElement(element, {
126
+ var _child = /*#__PURE__*/React__default.cloneElement(element, {
128
127
  style: buttonStyle,
129
128
  className: null
130
129
  });
@@ -132,14 +131,14 @@ function getDisabledCompatibleChildren(child) {
132
131
  style: spanStyle,
133
132
  className: clsx(element.props.className, "".concat($rcPrefixCls, "-tooltip-disabled-compatible-wrapper"))
134
133
  }, {
135
- children: child
134
+ children: _child
136
135
  }));
137
136
  }
138
137
  return element;
139
138
  }
140
139
  //映射placement
141
140
  function mapLegacyPlacement(place) {
142
- const legacyPlacement = {
141
+ var legacyPlacement = {
143
142
  'bottom-end': 'bottomRight',
144
143
  'bottom-start': 'bottomLeft',
145
144
  'left-end': 'leftBottom',
@@ -153,8 +152,8 @@ function mapLegacyPlacement(place) {
153
152
  }
154
153
  //浮层偏移量
155
154
  function getAlignOffset(place) {
156
- const mPlace = mapLegacyPlacement(place);
157
- const offsetMap = {
155
+ var mPlace = mapLegacyPlacement(place);
156
+ var offsetMap = {
158
157
  left: {
159
158
  offset: [-8, 0]
160
159
  },
package/Transfer/index.js CHANGED
@@ -8,12 +8,13 @@ import ExpandLess from '@para-ui/icons/Up';
8
8
  import Down from '@para-ui/icons/Down';
9
9
  import { u as useFormatMessage } from '../_verture/useFormatMessage-eb13cf56.js';
10
10
  import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
11
+ import { _ as _slicedToArray } from '../_verture/slicedToArray-75fa4188.js';
11
12
  import { Search } from '../Search/index.js';
12
13
  import SearchIcon from '@para-ui/icons/Search';
13
14
  import AutoTips from '../AutoTips/index.js';
14
15
  import Drag from '@para-ui/icons/Drag';
15
16
  import { S as Sortable } from '../_verture/sortable.esm-49896035.js';
16
- import { d as debounce } from '../_verture/utils-46e99c9a.js';
17
+ import { d as debounce } from '../_verture/utils-c17b5265.js';
17
18
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
18
19
  import '../_verture/tslib.es6-55ed4bd2.js';
19
20
  import '@para-ui/icons/LoadingF';
@@ -59,8 +60,8 @@ var zh = {
59
60
  };
60
61
 
61
62
  var localeJson = {
62
- zh,
63
- en
63
+ zh: zh,
64
+ en: en
64
65
  };
65
66
 
66
67
  var useClick = function useClick(callback, doubleCallback) {
@@ -88,32 +89,36 @@ var useClick = function useClick(callback, doubleCallback) {
88
89
  };
89
90
  };
90
91
 
91
- const Box = props => {
92
- const {
93
- title,
94
- data,
95
- onSearch,
96
- onchange,
97
- onMove,
98
- queryAll,
99
- inverse,
100
- direction,
101
- fluctuationPosition,
102
- fluctuationOrther,
103
- onEndSort,
104
- multiple,
105
- rightIcon,
106
- style,
107
- customKey
108
- } = props;
109
- const intl = useFormatMessage('Transfer', localeJson);
110
- const [checkCount, setCheckCount] = useState([]);
111
- const [disabledCount, setDisabledCount] = useState(0);
112
- const ref = useRef();
113
- useEffect(() => {
114
- const arr = [];
115
- let count = 0;
116
- data.forEach((item, index) => {
92
+ var Box = function Box(props) {
93
+ var title = props.title,
94
+ data = props.data,
95
+ onSearch = props.onSearch,
96
+ onchange = props.onchange,
97
+ onMove = props.onMove,
98
+ queryAll = props.queryAll,
99
+ inverse = props.inverse,
100
+ direction = props.direction,
101
+ fluctuationPosition = props.fluctuationPosition,
102
+ fluctuationOrther = props.fluctuationOrther,
103
+ onEndSort = props.onEndSort,
104
+ multiple = props.multiple,
105
+ rightIcon = props.rightIcon,
106
+ style = props.style,
107
+ customKey = props.customKey;
108
+ var intl = useFormatMessage('Transfer', localeJson);
109
+ var _useState = useState([]),
110
+ _useState2 = _slicedToArray(_useState, 2),
111
+ checkCount = _useState2[0],
112
+ setCheckCount = _useState2[1];
113
+ var _useState3 = useState(0),
114
+ _useState4 = _slicedToArray(_useState3, 2),
115
+ disabledCount = _useState4[0],
116
+ setDisabledCount = _useState4[1];
117
+ var ref = useRef();
118
+ useEffect(function () {
119
+ var arr = [];
120
+ var count = 0;
121
+ data.forEach(function (item, index) {
117
122
  if (item.checked && !item.hide) {
118
123
  arr.push(index);
119
124
  }
@@ -124,29 +129,29 @@ const Box = props => {
124
129
  setDisabledCount(count);
125
130
  setCheckCount(arr);
126
131
  }, [data]);
127
- useEffect(() => {
132
+ useEffect(function () {
128
133
  if (direction == 'right') {
129
134
  new Sortable(ref.current, {
130
135
  animation: 180,
131
136
  ghostClass: 'blue-background-class',
132
137
  dragClass: 'drag-item',
133
138
  easing: 'step-start',
134
- onEnd: evt => {
139
+ onEnd: function onEnd(evt) {
135
140
  onEndSort === null || onEndSort === void 0 ? void 0 : onEndSort(evt.oldIndex, evt.newIndex);
136
141
  }
137
142
  });
138
143
  }
139
144
  }, []);
140
- const handler = useClick((e, index, item) => {
145
+ var handler = useClick(function (e, index, item) {
141
146
  if (item.disabled) return;
142
147
  onchange(e, !item.checked, index, direction, multiple);
143
- }, (e, index, item) => {
148
+ }, function (e, index, item) {
144
149
  if (item === null || item === void 0 ? void 0 : item.disabled) return;
145
150
  onchange(e, true, index, direction, false);
146
151
  onMove(direction === 'right' ? 'left' : 'right');
147
152
  });
148
- const itemStyle = data => {
149
- const stlye = {};
153
+ var itemStyle = function itemStyle(data) {
154
+ var stlye = {};
150
155
  if (data === null || data === void 0 ? void 0 : data.tagColor) {
151
156
  stlye.borderLeft = "4px solid ".concat(data.tagColor);
152
157
  }
@@ -171,15 +176,15 @@ const Box = props => {
171
176
  showBtn: false,
172
177
  rightIcon: jsx(SearchIcon, {}),
173
178
  rightIconExist: true,
174
- onChange: val => {
179
+ onChange: function onChange(val) {
175
180
  onSearch(val, direction);
176
181
  },
177
- onClickRightIcon: val => {
182
+ onClickRightIcon: function onClickRightIcon(val) {
178
183
  onSearch(val, direction);
179
184
  },
180
- onEnter: event => {
185
+ onEnter: function onEnter(event) {
181
186
  var _a;
182
- const val = ((_a = event.target) === null || _a === void 0 ? void 0 : _a.value) || '';
187
+ var val = ((_a = event.target) === null || _a === void 0 ? void 0 : _a.value) || '';
183
188
  onSearch(val, direction);
184
189
  },
185
190
  allowClear: false
@@ -187,11 +192,11 @@ const Box = props => {
187
192
  className: "context",
188
193
  ref: ref
189
194
  }, {
190
- children: data.map((item, index) => {
195
+ children: data.map(function (item, index) {
191
196
  return jsxs("div", Object.assign({
192
197
  className: clsx('item', (item === null || item === void 0 ? void 0 : item.tagColor) && 'item-border', (item === null || item === void 0 ? void 0 : item.disabled) && 'item-disabled', (item === null || item === void 0 ? void 0 : item.checked) && 'item-checked', fluctuationPosition === index && 'item-fluctuation', fluctuationOrther === index && 'item-fluctuationOrther'),
193
198
  style: itemStyle(item),
194
- onClick: e => {
199
+ onClick: function onClick(e) {
195
200
  handler(e, index, item);
196
201
  }
197
202
  }, {
@@ -223,7 +228,7 @@ const Box = props => {
223
228
  children: [jsx(Button, Object.assign({
224
229
  variant: "text",
225
230
  className: "".concat(checkCount.length === data.length - disabledCount && data.length > 0 ? 'btn-on' : ''),
226
- onClick: () => {
231
+ onClick: function onClick() {
227
232
  queryAll(checkCount.length !== data.length - disabledCount, direction);
228
233
  }
229
234
  }, {
@@ -234,7 +239,7 @@ const Box = props => {
234
239
  variant: "text",
235
240
  className: "".concat(checkCount.length === 0 || checkCount.length === data.length - disabledCount ? 'btn-off' : ''),
236
241
  disabled: checkCount.length === 0 || checkCount.length === data.length - disabledCount,
237
- onClick: () => {
242
+ onClick: function onClick() {
238
243
  inverse(direction);
239
244
  }
240
245
  }, {
@@ -250,9 +255,9 @@ const Box = props => {
250
255
  }))]
251
256
  }));
252
257
  };
253
- const Sortablejs = Sortable;
258
+ var Sortablejs = Sortable;
254
259
 
255
- var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-transfer {\n display: flex;\n font-size: 14px;\n user-select: none;\n}\n.paraui-v4-transfer .blue-background-class {\n background-color: rgb(240, 245, 255);\n}\n.paraui-v4-transfer .drag-item {\n background: rgb(255, 255, 255) !important;\n box-shadow: rgba(212, 218, 227, 0.4);\n}\n.paraui-v4-transfer .box {\n border-radius: 4px;\n border: 1px solid rgb(212, 218, 227);\n overflow: hidden;\n}\n.paraui-v4-transfer .box .box-header {\n background: rgb(247, 248, 250);\n color: rgb(29, 33, 38);\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding-left: 10px;\n height: 36px;\n border-bottom: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-transfer .box .count {\n color: rgb(29, 33, 38);\n letter-spacing: 1px;\n}\n.paraui-v4-transfer .box .context {\n height: 400px;\n overflow: auto;\n scrollbar-base-color: red;\n margin-top: 4px;\n}\n.paraui-v4-transfer .box .context .item-fluctuation {\n animation: flucturation 0.4s forwards;\n}\n.paraui-v4-transfer .box .context .item-fluctuationOrther {\n animation: flucturationOrther 0.5s forwards;\n}\n.paraui-v4-transfer .box .context .item {\n padding: 0px 10px;\n height: 30px;\n display: flex;\n align-items: center;\n cursor: pointer;\n}\n.paraui-v4-transfer .box .context .item.item-checked:hover {\n background-color: rgb(247, 248, 250) !important;\n}\n.paraui-v4-transfer .box .context .item.item-checked > .item-label {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-transfer .box .context .item > .item-label {\n flex: 1;\n overflow: hidden;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-transfer .box .context .item:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-transfer .box .context .item.item-disabled:hover {\n background: inherit;\n cursor: no-drop;\n}\n.paraui-v4-transfer .box .context .item.item-disabled > .item-label {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-transfer .box .context .item .handle {\n margin-left: 8px;\n display: flex;\n align-content: center;\n}\n.paraui-v4-transfer .box .context .item .handle .handle-line {\n height: 12px;\n border-left: 1px solid rgb(212, 218, 227);\n margin: auto 10px auto 0;\n}\n.paraui-v4-transfer .box .context .item .handle svg {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-transfer .box .context .item .handle:hover svg {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-transfer .box .context .item-border {\n padding-left: 6px;\n}\n.paraui-v4-transfer .box .text-field-content {\n border: none;\n border-radius: 0;\n border-bottom: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-transfer .box .footer {\n display: flex;\n align-items: center;\n border-top: 1px solid rgb(212, 218, 227);\n height: 36px;\n justify-content: space-between;\n padding: 0 10px;\n}\n.paraui-v4-transfer .box .footer > div:nth-child(1) button {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-transfer .box .footer > div:nth-child(1) button:hover {\n color: rgb(87, 131, 235);\n}\n.paraui-v4-transfer .box .footer > div:nth-child(1) .btn-off {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-transfer .box .footer > div:nth-child(1) .btn-off:hover {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-transfer .box .footer > div:nth-child(1) > button {\n padding: 0;\n}\n.paraui-v4-transfer .box .footer > div:nth-child(1) > button:nth-child(2) {\n margin-left: 16px;\n}\n.paraui-v4-transfer ::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background: rgba(255, 255, 255, 0.5);\n}\n.paraui-v4-transfer .moveBtn {\n display: flex;\n height: 500px;\n flex-direction: column;\n justify-content: center;\n margin: 0 20px;\n}\n.paraui-v4-transfer .moveBtn > button {\n background-color: rgb(46, 101, 230);\n color: rgb(255, 255, 255);\n}\n.paraui-v4-transfer .moveBtn .btn-left {\n margin-top: 16px;\n}\n\n@keyframes flucturation {\n 0% {\n transform: translateY(0);\n }\n 100% {\n transform: translateY(36px);\n }\n}\n@keyframes flucturationOrther {\n 0% {\n transform: translateY(0);\n }\n 100% {\n transform: translateY(-36px);\n }\n}";
260
+ var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-transfer {\n display: flex;\n font-size: 14px;\n user-select: none;\n}\n.paraui-v4-transfer .blue-background-class {\n background-color: rgb(240, 245, 255);\n}\n.paraui-v4-transfer .drag-item {\n background: rgb(255, 255, 255) !important;\n box-shadow: rgba(212, 218, 227, 0.4);\n}\n.paraui-v4-transfer .box {\n border-radius: 4px;\n border: 1px solid rgb(212, 218, 227);\n overflow: hidden;\n}\n.paraui-v4-transfer .box .box-header {\n background: rgb(247, 248, 250);\n color: rgb(29, 33, 38);\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding-left: 10px;\n height: 36px;\n border-bottom: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-transfer .box .count {\n color: rgb(29, 33, 38);\n letter-spacing: 1px;\n}\n.paraui-v4-transfer .box .context {\n height: 400px;\n overflow: auto;\n margin-top: 4px;\n}\n.paraui-v4-transfer .box .context .item-fluctuation {\n animation: flucturation 0.4s forwards;\n}\n.paraui-v4-transfer .box .context .item-fluctuationOrther {\n animation: flucturationOrther 0.5s forwards;\n}\n.paraui-v4-transfer .box .context .item {\n padding: 0px 10px;\n height: 30px;\n display: flex;\n align-items: center;\n cursor: pointer;\n}\n.paraui-v4-transfer .box .context .item.item-checked:hover {\n background-color: rgb(247, 248, 250) !important;\n}\n.paraui-v4-transfer .box .context .item.item-checked > .item-label {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-transfer .box .context .item > .item-label {\n flex: 1;\n overflow: hidden;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-transfer .box .context .item:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-transfer .box .context .item.item-disabled:hover {\n background: inherit;\n cursor: no-drop;\n}\n.paraui-v4-transfer .box .context .item.item-disabled > .item-label {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-transfer .box .context .item .handle {\n margin-left: 8px;\n display: flex;\n align-content: center;\n}\n.paraui-v4-transfer .box .context .item .handle .handle-line {\n height: 12px;\n border-left: 1px solid rgb(212, 218, 227);\n margin: auto 10px auto 0;\n}\n.paraui-v4-transfer .box .context .item .handle svg {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-transfer .box .context .item .handle:hover svg {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-transfer .box .context .item-border {\n padding-left: 6px;\n}\n.paraui-v4-transfer .box .text-field-content {\n border: none;\n border-radius: 0;\n border-bottom: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-transfer .box .footer {\n display: flex;\n align-items: center;\n border-top: 1px solid rgb(212, 218, 227);\n height: 36px;\n justify-content: space-between;\n padding: 0 10px;\n}\n.paraui-v4-transfer .box .footer > div:nth-child(1) button {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-transfer .box .footer > div:nth-child(1) button:hover {\n color: rgb(87, 131, 235);\n}\n.paraui-v4-transfer .box .footer > div:nth-child(1) .btn-off {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-transfer .box .footer > div:nth-child(1) .btn-off:hover {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-transfer .box .footer > div:nth-child(1) > button {\n padding: 0;\n}\n.paraui-v4-transfer .box .footer > div:nth-child(1) > button:nth-child(2) {\n margin-left: 16px;\n}\n.paraui-v4-transfer ::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background: rgba(255, 255, 255, 0.5);\n}\n.paraui-v4-transfer .moveBtn {\n display: flex;\n height: 500px;\n flex-direction: column;\n justify-content: center;\n margin: 0 20px;\n}\n.paraui-v4-transfer .moveBtn > button {\n background-color: rgb(46, 101, 230);\n color: rgb(255, 255, 255);\n}\n.paraui-v4-transfer .moveBtn .btn-left {\n margin-top: 16px;\n}\n\n@keyframes flucturation {\n 0% {\n transform: translateY(0);\n }\n 100% {\n transform: translateY(36px);\n }\n}\n@keyframes flucturationOrther {\n 0% {\n transform: translateY(0);\n }\n 100% {\n transform: translateY(-36px);\n }\n}";
256
261
  styleInject(css_248z);
257
262
 
258
263
  const Transfer = props => {
package/Tree/index.js CHANGED
@@ -1,11 +1,16 @@
1
- import { T as Tree } from '../_verture/index-f186b5e8.js';
2
- export { T as default } from '../_verture/index-f186b5e8.js';
1
+ import { T as Tree } from '../_verture/index-3156e3ef.js';
2
+ export { T as default } from '../_verture/index-3156e3ef.js';
3
+ import '../_verture/toConsumableArray-c7a8028f.js';
4
+ import '../_verture/slicedToArray-75fa4188.js';
5
+ import '../_verture/defineProperty-1d116156.js';
6
+ import '../_verture/typeof-adeedc13.js';
7
+ import '../_verture/index-d63bd287.js';
8
+ import '../_verture/typeof-b240b062.js';
3
9
  import '../_verture/tslib.es6-55ed4bd2.js';
4
10
  import 'react/jsx-runtime';
5
11
  import 'react';
6
12
  import 'rc-tree';
7
13
  import 'clsx';
8
- import '../_verture/typeof-adeedc13.js';
9
14
  import '@para-ui/icons/LoadingF';
10
15
  import '@para-ui/icons/Document';
11
16
  import '@para-ui/icons/DownTriangleF';
@@ -19,7 +24,6 @@ import '../_verture/constant-5317fc89.js';
19
24
  import '@para-ui/icons/Forbid';
20
25
  import '../_verture/style-inject.es-300983ab.js';
21
26
  import '@para-ui/icons/Help';
22
- import '../_verture/slicedToArray-8223a2ef.js';
23
27
  import 'react-dom';
24
28
  import '@para-ui/icons/EditFile';
25
29
  import '@para-ui/icons/PlusCircle';