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

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 (102) hide show
  1. package/Button/index.js +1 -1
  2. package/ButtonGroup/index.js +1 -1
  3. package/Cascader/index.js +4 -5
  4. package/ComboSelect/index.js +14 -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/CopyText/index.js +8 -6
  9. package/DatePicker/index.js +2 -4
  10. package/Descriptions/index.js +1 -1
  11. package/Desktop/index.js +1 -1
  12. package/Drawer/index.js +1 -1
  13. package/Dropdown/index.js +1 -1
  14. package/DynamicMultiBox/index.js +6 -9
  15. package/Form/index.js +5 -9
  16. package/FormItem/index.js +5 -9
  17. package/FunctionModal/index.js +3 -3
  18. package/InputLang/index.js +1 -1
  19. package/Modal/index.js +1 -1
  20. package/MultiBox/index.js +1 -1
  21. package/OperateBtn/index.js +1 -1
  22. package/PageHeader/index.js +1 -1
  23. package/Pagination/index.js +1 -1
  24. package/PopConfirm/index.js +2 -2
  25. package/Popover/index.js +1 -1
  26. package/QuickReply/index.js +2 -2
  27. package/README.md +6 -105
  28. package/Search/index.d.ts +1 -1
  29. package/Search/index.js +5 -3
  30. package/Select/index.js +3 -2
  31. package/SelectInput/index.js +2 -2
  32. package/Selector/index.js +328 -5
  33. package/SelectorPicker/index.js +3 -4
  34. package/SingleBox/index.js +1 -1
  35. package/Switch/index.js +8 -8
  36. package/Table/index.js +411 -473
  37. package/Tabs/index.js +3 -3
  38. package/Tag/index.js +53 -82
  39. package/TextEditor/index.js +3 -3
  40. package/TextField/index.js +2 -2
  41. package/TimePicker/index.js +2 -4
  42. package/Timeline/index.js +20 -14
  43. package/ToggleButton/index.js +27 -26
  44. package/Tooltip/index.js +27 -26
  45. package/Transfer/index.js +45 -50
  46. package/Tree/index.js +4 -8
  47. package/Upload/index.js +409 -626
  48. package/_verture/{index-f518e244.js → index-00dc302a.js} +1 -1
  49. package/_verture/{index-da9097d3.js → index-389675ab.js} +1 -1
  50. package/_verture/{index-466a3496.js → index-9784b09c.js} +18 -3
  51. package/_verture/{index-3156e3ef.js → index-e3011376.js} +312 -394
  52. package/_verture/{slicedToArray-75fa4188.js → slicedToArray-8223a2ef.js} +1 -1
  53. package/index.js +8 -10
  54. package/locale/en-US.d.ts +1 -0
  55. package/locale/index.d.ts +2 -0
  56. package/locale/index.js +4 -2
  57. package/locale/zh-CN.d.ts +1 -0
  58. package/package.json +3 -2
  59. package/umd/AutoBox.js +1 -1
  60. package/umd/Breadcrumbs.js +1 -1
  61. package/umd/Button.js +1 -1
  62. package/umd/ButtonGroup.js +1 -1
  63. package/umd/ComboSelect.js +2 -2
  64. package/umd/CopyText.js +2 -2
  65. package/umd/DatePicker.js +1 -1
  66. package/umd/Descriptions.js +1 -1
  67. package/umd/Desktop.js +1 -1
  68. package/umd/Drawer.js +1 -1
  69. package/umd/Dropdown.js +1 -1
  70. package/umd/DynamicMultiBox.js +2 -2
  71. package/umd/Form.js +4 -4
  72. package/umd/FormItem.js +2 -2
  73. package/umd/FunctionModal.js +1 -1
  74. package/umd/InputLang.js +1 -1
  75. package/umd/Modal.js +1 -1
  76. package/umd/MultiBox.js +1 -1
  77. package/umd/OperateBtn.js +1 -1
  78. package/umd/PageHeader.js +1 -1
  79. package/umd/Pagination.js +2 -2
  80. package/umd/PopConfirm.js +1 -1
  81. package/umd/Popover.js +1 -1
  82. package/umd/QuickReply.js +1 -1
  83. package/umd/Search.js +2 -2
  84. package/umd/Select.js +2 -2
  85. package/umd/SelectInput.js +2 -2
  86. package/umd/Selector.js +2 -2
  87. package/umd/SelectorPicker.js +2 -2
  88. package/umd/SingleBox.js +1 -1
  89. package/umd/Switch.js +1 -1
  90. package/umd/Table.js +2 -2
  91. package/umd/Tabs.js +1 -1
  92. package/umd/TextField.js +1 -1
  93. package/umd/TimePicker.js +1 -1
  94. package/umd/ToggleButton.js +1 -1
  95. package/umd/Transfer.js +2 -2
  96. package/umd/Upload.js +1 -1
  97. package/umd/locale.js +1 -1
  98. package/_verture/index-d63bd287.js +0 -327
  99. package/_verture/toConsumableArray-c7a8028f.js +0 -19
  100. /package/_verture/{index-d6093d1c.js → index-28a6bc3a.js} +0 -0
  101. /package/_verture/{modalContext-7b512b0c.js → modalContext-ea977824.js} +0 -0
  102. /package/_verture/{typeof-b240b062.js → typeof-c310ee4a.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
- var autoAdjustOverflowEnabled = {
12
+ const autoAdjustOverflowEnabled = {
13
13
  adjustX: 1,
14
14
  adjustY: 1
15
15
  };
16
16
  //非自动调整位置
17
- var autoAdjustOverflowDisabled = {
17
+ const 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
- 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 = {
30
+ const {
31
+ horizontalArrowShift = 16,
32
+ verticalArrowShift = 8,
33
+ autoAdjustOverflow
34
+ } = config;
35
+ const 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(function (key) {
85
+ Object.keys(placementMap).forEach(key => {
86
86
  placementMap[key] = Object.assign(Object.assign({}, placements[key]), {
87
87
  offset: getAlignOffset(key).offset,
88
88
  overflow: getOverflowOptions(autoAdjustOverflow)
@@ -91,39 +91,40 @@ function getPlacements(config) {
91
91
  });
92
92
  return placementMap;
93
93
  }
94
- var splitObject = function splitObject(obj, keys) {
95
- var picked = {};
96
- var omitted = Object.assign({}, obj);
97
- keys.forEach(function (key) {
94
+ const splitObject = (obj, keys) => {
95
+ const picked = {};
96
+ const omitted = Object.assign({}, obj);
97
+ keys.forEach(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: picked,
105
- omitted: omitted
104
+ picked,
105
+ omitted
106
106
  };
107
107
  };
108
108
  //兼容禁用title
109
109
  function getDisabledCompatibleChildren(child) {
110
- var element = /*#__PURE__*/React__default.isValidElement(child) ? child : jsx("span", {
110
+ const 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
- 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({
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({
118
119
  display: 'inline-block'
119
120
  }, picked), {
120
121
  cursor: 'not-allowed',
121
122
  width: element.props.block ? '100%' : null
122
123
  });
123
- var buttonStyle = Object.assign(Object.assign({}, omitted), {
124
+ const buttonStyle = Object.assign(Object.assign({}, omitted), {
124
125
  pointerEvents: 'none'
125
126
  });
126
- var _child = /*#__PURE__*/React__default.cloneElement(element, {
127
+ const child = /*#__PURE__*/React__default.cloneElement(element, {
127
128
  style: buttonStyle,
128
129
  className: null
129
130
  });
@@ -131,14 +132,14 @@ function getDisabledCompatibleChildren(child) {
131
132
  style: spanStyle,
132
133
  className: clsx(element.props.className, "".concat($rcPrefixCls, "-tooltip-disabled-compatible-wrapper"))
133
134
  }, {
134
- children: _child
135
+ children: child
135
136
  }));
136
137
  }
137
138
  return element;
138
139
  }
139
140
  //映射placement
140
141
  function mapLegacyPlacement(place) {
141
- var legacyPlacement = {
142
+ const legacyPlacement = {
142
143
  'bottom-end': 'bottomRight',
143
144
  'bottom-start': 'bottomLeft',
144
145
  'left-end': 'leftBottom',
@@ -152,8 +153,8 @@ function mapLegacyPlacement(place) {
152
153
  }
153
154
  //浮层偏移量
154
155
  function getAlignOffset(place) {
155
- var mPlace = mapLegacyPlacement(place);
156
- var offsetMap = {
156
+ const mPlace = mapLegacyPlacement(place);
157
+ const offsetMap = {
157
158
  left: {
158
159
  offset: [-8, 0]
159
160
  },
package/Transfer/index.js CHANGED
@@ -8,7 +8,6 @@ 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';
12
11
  import { Search } from '../Search/index.js';
13
12
  import SearchIcon from '@para-ui/icons/Search';
14
13
  import AutoTips from '../AutoTips/index.js';
@@ -22,7 +21,7 @@ import '../Tooltip/index.js';
22
21
  import 'rc-tooltip';
23
22
  import 'rc-tooltip/lib/placements';
24
23
  import '@para-ui/icons/Forbid';
25
- import '../_verture/index-da9097d3.js';
24
+ import '../_verture/index-389675ab.js';
26
25
  import 'rc-dropdown';
27
26
  import '../_verture/usePopupContainer-635f66f4.js';
28
27
  import 'dayjs';
@@ -60,8 +59,8 @@ var zh = {
60
59
  };
61
60
 
62
61
  var localeJson = {
63
- zh: zh,
64
- en: en
62
+ zh,
63
+ en
65
64
  };
66
65
 
67
66
  var useClick = function useClick(callback, doubleCallback) {
@@ -89,36 +88,32 @@ var useClick = function useClick(callback, doubleCallback) {
89
88
  };
90
89
  };
91
90
 
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) {
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) => {
122
117
  if (item.checked && !item.hide) {
123
118
  arr.push(index);
124
119
  }
@@ -129,29 +124,29 @@ var Box = function Box(props) {
129
124
  setDisabledCount(count);
130
125
  setCheckCount(arr);
131
126
  }, [data]);
132
- useEffect(function () {
127
+ useEffect(() => {
133
128
  if (direction == 'right') {
134
129
  new Sortable(ref.current, {
135
130
  animation: 180,
136
131
  ghostClass: 'blue-background-class',
137
132
  dragClass: 'drag-item',
138
133
  easing: 'step-start',
139
- onEnd: function onEnd(evt) {
134
+ onEnd: evt => {
140
135
  onEndSort === null || onEndSort === void 0 ? void 0 : onEndSort(evt.oldIndex, evt.newIndex);
141
136
  }
142
137
  });
143
138
  }
144
139
  }, []);
145
- var handler = useClick(function (e, index, item) {
140
+ const handler = useClick((e, index, item) => {
146
141
  if (item.disabled) return;
147
142
  onchange(e, !item.checked, index, direction, multiple);
148
- }, function (e, index, item) {
143
+ }, (e, index, item) => {
149
144
  if (item === null || item === void 0 ? void 0 : item.disabled) return;
150
145
  onchange(e, true, index, direction, false);
151
146
  onMove(direction === 'right' ? 'left' : 'right');
152
147
  });
153
- var itemStyle = function itemStyle(data) {
154
- var stlye = {};
148
+ const itemStyle = data => {
149
+ const stlye = {};
155
150
  if (data === null || data === void 0 ? void 0 : data.tagColor) {
156
151
  stlye.borderLeft = "4px solid ".concat(data.tagColor);
157
152
  }
@@ -176,15 +171,15 @@ var Box = function Box(props) {
176
171
  showBtn: false,
177
172
  rightIcon: jsx(SearchIcon, {}),
178
173
  rightIconExist: true,
179
- onChange: function onChange(val) {
174
+ onChange: val => {
180
175
  onSearch(val, direction);
181
176
  },
182
- onClickRightIcon: function onClickRightIcon(val) {
177
+ onClickRightIcon: val => {
183
178
  onSearch(val, direction);
184
179
  },
185
- onEnter: function onEnter(event) {
180
+ onEnter: event => {
186
181
  var _a;
187
- var val = ((_a = event.target) === null || _a === void 0 ? void 0 : _a.value) || '';
182
+ const val = ((_a = event.target) === null || _a === void 0 ? void 0 : _a.value) || '';
188
183
  onSearch(val, direction);
189
184
  },
190
185
  allowClear: false
@@ -192,11 +187,11 @@ var Box = function Box(props) {
192
187
  className: "context",
193
188
  ref: ref
194
189
  }, {
195
- children: data.map(function (item, index) {
190
+ children: data.map((item, index) => {
196
191
  return jsxs("div", Object.assign({
197
192
  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'),
198
193
  style: itemStyle(item),
199
- onClick: function onClick(e) {
194
+ onClick: e => {
200
195
  handler(e, index, item);
201
196
  }
202
197
  }, {
@@ -228,7 +223,7 @@ var Box = function Box(props) {
228
223
  children: [jsx(Button, Object.assign({
229
224
  variant: "text",
230
225
  className: "".concat(checkCount.length === data.length - disabledCount && data.length > 0 ? 'btn-on' : ''),
231
- onClick: function onClick() {
226
+ onClick: () => {
232
227
  queryAll(checkCount.length !== data.length - disabledCount, direction);
233
228
  }
234
229
  }, {
@@ -239,7 +234,7 @@ var Box = function Box(props) {
239
234
  variant: "text",
240
235
  className: "".concat(checkCount.length === 0 || checkCount.length === data.length - disabledCount ? 'btn-off' : ''),
241
236
  disabled: checkCount.length === 0 || checkCount.length === data.length - disabledCount,
242
- onClick: function onClick() {
237
+ onClick: () => {
243
238
  inverse(direction);
244
239
  }
245
240
  }, {
@@ -255,9 +250,9 @@ var Box = function Box(props) {
255
250
  }))]
256
251
  }));
257
252
  };
258
- var Sortablejs = Sortable;
253
+ const Sortablejs = Sortable;
259
254
 
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}";
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 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 .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}";
261
256
  styleInject(css_248z);
262
257
 
263
258
  const Transfer = props => {
package/Tree/index.js CHANGED
@@ -1,16 +1,11 @@
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';
1
+ import { T as Tree } from '../_verture/index-e3011376.js';
2
+ export { T as default } from '../_verture/index-e3011376.js';
9
3
  import '../_verture/tslib.es6-55ed4bd2.js';
10
4
  import 'react/jsx-runtime';
11
5
  import 'react';
12
6
  import 'rc-tree';
13
7
  import 'clsx';
8
+ import '../_verture/typeof-adeedc13.js';
14
9
  import '@para-ui/icons/LoadingF';
15
10
  import '@para-ui/icons/Document';
16
11
  import '@para-ui/icons/DownTriangleF';
@@ -24,6 +19,7 @@ import '../_verture/constant-5317fc89.js';
24
19
  import '@para-ui/icons/Forbid';
25
20
  import '../_verture/style-inject.es-300983ab.js';
26
21
  import '@para-ui/icons/Help';
22
+ import '../_verture/slicedToArray-8223a2ef.js';
27
23
  import 'react-dom';
28
24
  import '@para-ui/icons/EditFile';
29
25
  import '@para-ui/icons/PlusCircle';