@para-ui/core 3.0.8 → 3.0.9

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/AutoTips/index.js CHANGED
@@ -9,7 +9,7 @@ import 'rc-tooltip';
9
9
  import 'rc-tooltip/lib/placements';
10
10
  import 'clsx';
11
11
 
12
- var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2021/11/1 20:28\n* @description 文字隐藏...\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-auto-tips {\n max-width: 100%;\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.paraui-v3-auto-tips > .auto-tips-content {\n display: inline;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.paraui-v3-auto-tips-tooltip > div {\n max-height: calc(100vh - 25px);\n overflow: auto;\n}";
12
+ var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2021/11/1 20:28\n* @description 文字隐藏...\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-auto-tips {\n max-width: 100%;\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.paraui-v3-auto-tips > .auto-tips-content {\n display: inline;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.paraui-v3-auto-tips-tooltip .component-tooltip-inner {\n max-height: calc(100vh - 25px);\n overflow: auto;\n}";
13
13
  styleInject(css_248z);
14
14
 
15
15
  var AutoTips = function AutoTips(props) {
@@ -8,7 +8,7 @@ import SearchIcon from '@para-ui/icons/Search';
8
8
  import CloseIcon from '@para-ui/icons/Close';
9
9
  import CloseCircle from '@para-ui/icons/CloseCircle';
10
10
  import Table from '../Table/index.js';
11
- import { T as Tree } from '../_verture/index-e0508c99.js';
11
+ import { T as Tree } from '../_verture/index-22d72b71.js';
12
12
  import { Button } from '../Button/index.js';
13
13
  import { Dropdown } from '../Dropdown/index.js';
14
14
  import { Popover } from '../Popover/index.js';
package/Form/index.js CHANGED
@@ -3,7 +3,7 @@ import { _ as _slicedToArray } from '../_verture/slicedToArray-d7722f4b.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-2a854dc1.js';
6
+ import { F as FormItem, v as validate } from '../_verture/index-f8c1bdf2.js';
7
7
  import { $ as $prefixCls } from '../_verture/constant-bf34e6fa.js';
8
8
  import '../TextField/index.js';
9
9
  import '../_verture/typeof-498dd2b1.js';
@@ -66,7 +66,7 @@ import '@para-ui/icons/DoubleLeft';
66
66
  import '@para-ui/icons/DoubleRight';
67
67
  import '@para-ui/icons/Left';
68
68
  import '@para-ui/icons/Right';
69
- import '../_verture/index-e0508c99.js';
69
+ import '../_verture/index-22d72b71.js';
70
70
  import 'rc-tree';
71
71
  import '@para-ui/icons/Document';
72
72
  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-2a854dc1.js';
3
+ export { F as default } from '../_verture/index-f8c1bdf2.js';
4
4
  import 'clsx';
5
5
  import '../Label/index.js';
6
6
  import '../_verture/constant-bf34e6fa.js';
@@ -66,7 +66,7 @@ import '@para-ui/icons/DoubleLeft';
66
66
  import '@para-ui/icons/DoubleRight';
67
67
  import '@para-ui/icons/Left';
68
68
  import '@para-ui/icons/Right';
69
- import '../_verture/index-e0508c99.js';
69
+ import '../_verture/index-22d72b71.js';
70
70
  import 'rc-tree';
71
71
  import '@para-ui/icons/Document';
72
72
  import 'react-dom';
@@ -1,5 +1,5 @@
1
- import { u as useModal } from '../_verture/modalContext-44a724b5.js';
2
- export { F as FunctionModalProvider, u as default, a as useClose } from '../_verture/modalContext-44a724b5.js';
1
+ import { u as useModal } from '../_verture/modalContext-ccfddd8f.js';
2
+ export { F as FunctionModalProvider, u as default, a as useClose } from '../_verture/modalContext-ccfddd8f.js';
3
3
  import '../_verture/toConsumableArray-f8047a75.js';
4
4
  import '../_verture/slicedToArray-d7722f4b.js';
5
5
  import '../_verture/index-342379c6.js';
package/README.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 版本: 3.0.9
2
+
3
+ para-ui/core@3.0.9 发布
4
+ 【表格-Table】
5
+ 1. 新增拖拽列, 可以拖动列,改变宽度
6
+ 2. 通过 dragColumn 参数来控制是否有拖动列,默认是true,可拖动
7
+ 3. 单选框,复选框,操作列序列化,嵌套标志,这几列不可拖动
8
+ 4. lineWidth 可以设置拖动的最小宽度,默认80
9
+ 【文字提示-Tooltip】修改箭头样式,在火狐浏览器显示不正常
10
+
1
11
  ## 版本: 3.0.8
2
12
 
3
13
  para-ui/core@3.0.8 发布
package/Table/index.js CHANGED
@@ -4,9 +4,10 @@ import { _ as _slicedToArray } from '../_verture/slicedToArray-d7722f4b.js';
4
4
  import { r as regenerator } from '../_verture/index-342379c6.js';
5
5
  import { _ as __rest, a as __awaiter } from '../_verture/tslib.es6-55ed4bd2.js';
6
6
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
7
- import { useState, useEffect, useMemo, useCallback, Fragment as Fragment$1, useRef } from 'react';
7
+ import { useRef, useState, useEffect, useMemo, useCallback, Fragment as Fragment$1 } from 'react';
8
8
  import { Get, Post, DeepClone, GetBrowserClass, ArrayToObject, Cancel } from '@paraview/lib';
9
9
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
10
+ import { $ as $prefixCls } from '../_verture/constant-bf34e6fa.js';
10
11
  import { Popover } from '../Popover/index.js';
11
12
  import { Checkbox } from '../Checkbox/index.js';
12
13
  import { Button } from '../Button/index.js';
@@ -16,7 +17,6 @@ import SolidArrowUp from '@para-ui/icons/UpTriangleF';
16
17
  import SolidArrowDown from '@para-ui/icons/DownTriangleF';
17
18
  import Panel from '@para-ui/icons/Panel';
18
19
  import { u as useFormatMessage } from '../_verture/useFormatMessage-f4452258.js';
19
- import { $ as $prefixCls } from '../_verture/constant-bf34e6fa.js';
20
20
  import { _ as _defineProperty } from '../_verture/defineProperty-0590dc61.js';
21
21
  import { Radio } from '../Radio/index.js';
22
22
  import Empty from '../Empty/index.js';
@@ -172,6 +172,25 @@ var setLocalStorageSelectHead = function setLocalStorageSelectHead(key, val) {
172
172
  headJson[key] = val;
173
173
  window.localStorage.setItem('_paraui_table_head', JSON.stringify(headJson));
174
174
  };
175
+ /**
176
+ * 查找元素
177
+ * @param el 当前元素
178
+ * @param selector 查找元素class
179
+ */
180
+
181
+ var closest = function closest(el, selector) {
182
+ var matchesSelector = el.matches || el.webkitMatchesSelector || el.mozMatchesSelector || el.msMatchesSelector;
183
+
184
+ while (el) {
185
+ if (matchesSelector.call(el, selector)) {
186
+ break;
187
+ }
188
+
189
+ el = el.parentElement;
190
+ }
191
+
192
+ return el;
193
+ };
175
194
 
176
195
  var css_248z$7 = ".table-head-element {\n display: table-header-group;\n}";
177
196
  styleInject(css_248z$7);
@@ -219,26 +238,135 @@ var TrElement = function TrElement(props) {
219
238
  }));
220
239
  };
221
240
 
222
- var css_248z$5 = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.th-element {\n letter-spacing: 0.01071em;\n line-height: 1.43;\n padding: 0;\n font-weight: 700;\n font-size: 14px;\n background-color: rgb(248, 249, 251);\n border-bottom: 1px solid rgba(171, 176, 185, 0.12);\n height: 100%;\n}\n.th-element:first-child {\n border-top-left-radius: 4px;\n}\n.th-element:last-child {\n border-top-right-radius: 4px;\n}\n.th-element:hover {\n background-color: rgb(237, 241, 249);\n}\n.th-element.table-operate.table-operate-small {\n width: 112px;\n}\n.th-element.table-operate.table-operate-small > .table-header-box {\n width: 112px;\n}";
241
+ var css_248z$5 = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.th-element {\n letter-spacing: 0.01071em;\n line-height: 1.43;\n padding: 0;\n font-weight: 700;\n font-size: 14px;\n background-color: rgb(248, 249, 251);\n border-bottom: 1px solid rgba(171, 176, 185, 0.12);\n height: 100%;\n}\n.th-element.th-element-draggable {\n position: relative;\n}\n.th-element:first-child {\n border-top-left-radius: 4px;\n}\n.th-element:last-child {\n border-top-right-radius: 4px;\n}\n.th-element:hover {\n background-color: rgb(237, 241, 249);\n}\n.th-element.table-operate.table-operate-small {\n width: 112px;\n}\n.th-element.table-operate.table-operate-small > .table-header-box {\n width: 112px;\n}\n.th-element > .th-element-draggable-box {\n width: 6px;\n height: 100%;\n position: absolute;\n right: 0;\n top: 0;\n}\n.th-element:hover > .th-element-draggable-box {\n background-color: rgba(54, 102, 214, 0.2);\n cursor: ew-resize;\n}";
223
242
  styleInject(css_248z$5);
224
243
 
225
244
  var ThElement = function ThElement(props) {
226
245
  var className = props.className,
227
246
  style = props.style,
228
247
  children = props.children,
229
- otherProps = __rest(props, ["className", "style", "children"]);
248
+ draggable = props.draggable,
249
+ _props$lineWidth = props.lineWidth,
250
+ lineWidth = _props$lineWidth === void 0 ? 80 : _props$lineWidth,
251
+ headCell = props.headCell,
252
+ onDragDown = props.onDragDown,
253
+ otherProps = __rest(props, ["className", "style", "children", "draggable", "lineWidth", "headCell", "onDragDown"]);
254
+
255
+ var domRef = useRef(null);
256
+ var constData = useRef({
257
+ startX: 0,
258
+ moveX: 0,
259
+ table: null,
260
+ tableContainer: null,
261
+ lineDom: null,
262
+ th: null
263
+ }); // 处理最小宽度
264
+
265
+ var handMinWidth = function handMinWidth(e) {
266
+ var minWidth = lineWidth; // 自身设置列宽度小于默认列宽度,最小取自身的
267
+
268
+ if (headCell === null || headCell === void 0 ? void 0 : headCell.width) {
269
+ var width = getStringInNumber(headCell.width);
270
+ if (width < minWidth) minWidth = width;
271
+ }
272
+
273
+ var thWidth = constData.current.th.offsetWidth; // th宽度
274
+
275
+ var moveX = e.clientX - constData.current.startX; // 移动的位置
276
+
277
+ var handWidth = thWidth + moveX;
278
+ var initX = constData.current.th.offsetLeft + thWidth;
279
+ var left = initX + moveX; // 移动以后的宽度小于最小宽度,取最小宽度
280
+
281
+ if (handWidth < minWidth) {
282
+ // 超出大小限制
283
+ handWidth = minWidth;
284
+ left = constData.current.th.offsetLeft + handWidth;
285
+ }
286
+
287
+ return {
288
+ width: handWidth,
289
+ left: left // 定位线居左距离
290
+
291
+ };
292
+ }; // 鼠标移动事件
293
+
294
+
295
+ var mousemove = function mousemove(e) {
296
+ var result = handMinWidth(e);
297
+ constData.current.lineDom.style.left = result.left + 'px';
298
+ }; // 鼠标抬起
299
+
300
+
301
+ var mouseup = function mouseup(e) {
302
+ var _a, _b;
303
+
304
+ var dom = domRef.current;
305
+ var result = handMinWidth(e);
306
+ dom.style.width = result.width + 'px';
307
+ (_a = constData.current.tableContainer) === null || _a === void 0 ? void 0 : _a.removeChild(constData.current.lineDom);
308
+ (_b = constData.current.table) === null || _b === void 0 ? void 0 : _b.classList.remove("".concat($prefixCls, "-table-draggable"));
309
+ onDragDown && onDragDown(result);
310
+ window.removeEventListener('mousemove', mousemove);
311
+ window.removeEventListener('mouseup', mouseup);
312
+ }; // 鼠标按下
313
+
314
+
315
+ var onMouseDown = function onMouseDown(e) {
316
+ var _a;
317
+
318
+ constData.current.startX = e.clientX;
319
+ constData.current.table = closest(domRef.current, ".".concat($prefixCls, "-table"));
320
+ constData.current.tableContainer = closest(domRef.current, ".".concat($prefixCls, "-table .table-container"));
321
+ constData.current.th = closest(domRef.current, 'th');
322
+ (_a = constData.current.table) === null || _a === void 0 ? void 0 : _a.classList.add("".concat($prefixCls, "-table-draggable"));
323
+ appendLine();
324
+ window.addEventListener('mousemove', mousemove);
325
+ window.addEventListener('mouseup', mouseup);
326
+ };
327
+ /** 添加定位线 */
328
+
329
+
330
+ var appendLine = function appendLine() {
331
+ if (!constData.current.tableContainer || !constData.current.th) return;
332
+ var tableDom = closest(domRef.current, ".".concat($prefixCls, "-table .table-container table"));
333
+ var tableContainerHeight = constData.current.tableContainer.offsetHeight;
334
+ var tableDomHeight = tableDom.offsetHeight;
335
+ var div = document.createElement('div');
336
+ div.setAttribute('class', 'table-pos-line'); // 定位线高度
337
+
338
+ div.style.height = (tableDomHeight > tableContainerHeight ? tableContainerHeight : tableDomHeight) + 'px'; // 定位线的居左距离
339
+
340
+ div.style.left = constData.current.th.offsetLeft + constData.current.th.offsetWidth + 'px';
341
+ constData.current.lineDom = div;
342
+ constData.current.tableContainer.appendChild(div);
343
+ };
344
+ /** 拖动元素 */
345
+
346
+
347
+ var handDrag = function handDrag() {
348
+ if (!draggable) return null;
349
+ return jsx("div", {
350
+ className: "th-element-draggable-box",
351
+ onMouseDown: onMouseDown
352
+ });
353
+ }; // 处理className
354
+
230
355
 
231
356
  var handClass = function handClass() {
232
357
  var str = 'th-element';
358
+ if (draggable) str += ' th-element-draggable';
233
359
  if (className) str += ' ' + className;
234
360
  return str;
235
361
  };
236
362
 
237
- return jsx("th", Object.assign({
363
+ return jsxs("th", Object.assign({
238
364
  className: handClass(),
239
365
  style: style
240
366
  }, otherProps, {
241
- children: children
367
+ ref: domRef
368
+ }, {
369
+ children: [children, handDrag()]
242
370
  }));
243
371
  };
244
372
 
@@ -287,7 +415,11 @@ var TableHead$1 = function TableHead(props) {
287
415
  fixedTable = props.fixedTable,
288
416
  fixedColumn = props.fixedColumn,
289
417
  posFixed = props.posFixed,
290
- beyondText = props.beyondText;
418
+ beyondText = props.beyondText,
419
+ lineWidth = props.lineWidth,
420
+ dragColumn = props.dragColumn,
421
+ changeColumnWidth = props.changeColumnWidth,
422
+ headDataConfig = props.headDataConfig;
291
423
 
292
424
  var _useState = useState(false),
293
425
  _useState2 = _slicedToArray(_useState, 2),
@@ -556,7 +688,8 @@ var TableHead$1 = function TableHead(props) {
556
688
 
557
689
  return jsx(ThElement, Object.assign({
558
690
  align: "center",
559
- className: handCls()
691
+ className: handCls(),
692
+ draggable: false
560
693
  }, {
561
694
  children: jsx("div", Object.assign({
562
695
  className: "table-header-box"
@@ -589,7 +722,8 @@ var TableHead$1 = function TableHead(props) {
589
722
 
590
723
  return jsx(ThElement, Object.assign({
591
724
  align: "center",
592
- className: handCls()
725
+ className: handCls(),
726
+ draggable: false
593
727
  }, {
594
728
  children: jsx("div", {
595
729
  className: "table-header-box"
@@ -616,7 +750,8 @@ var TableHead$1 = function TableHead(props) {
616
750
 
617
751
  return jsx(ThElement, Object.assign({
618
752
  align: "center",
619
- className: handCls()
753
+ className: handCls(),
754
+ draggable: false
620
755
  }, {
621
756
  children: jsx("div", {
622
757
  className: "table-header-box"
@@ -672,6 +807,22 @@ var TableHead$1 = function TableHead(props) {
672
807
  }))]
673
808
  }))]
674
809
  }));
810
+ }; // 表格列拖拽放下
811
+
812
+
813
+ var onDragDown = function onDragDown(headCell) {
814
+ return function (result) {
815
+ changeColumnWidth && changeColumnWidth(headCell, result);
816
+ };
817
+ }; // 获取宽度
818
+
819
+
820
+ var getWidth = function getWidth(item) {
821
+ var w = item.width || '';
822
+ var name = item.name || '';
823
+ var wDrag = headDataConfig[name] && headDataConfig[name].width;
824
+ if (wDrag) w = wDrag + 'px';
825
+ return w;
675
826
  }; // 内容列memo
676
827
 
677
828
 
@@ -706,7 +857,7 @@ var TableHead$1 = function TableHead(props) {
706
857
 
707
858
  var handStyle = function handStyle(item) {
708
859
  var json = {
709
- width: item.width
860
+ width: getWidth(item)
710
861
  };
711
862
 
712
863
  if (fixedColumn && item.fixed && item.width) {
@@ -740,13 +891,25 @@ var TableHead$1 = function TableHead(props) {
740
891
  })
741
892
  }))
742
893
  }));
894
+ }; // 处理拖拽
895
+
896
+
897
+ var handDrag = function handDrag(item) {
898
+ if (item.name === 'table-serial-number') return false; // 序号不拖拽
899
+
900
+ if (dragColumn && item.drag !== false) return true;
901
+ return false;
743
902
  };
744
903
 
745
904
  return headData.map(function (headCell, index) {
746
905
  return jsx(ThElement, Object.assign({
747
906
  className: handCls(headCell),
748
907
  align: headCell.align || align,
749
- style: handStyle(headCell)
908
+ style: handStyle(headCell),
909
+ draggable: handDrag(headCell),
910
+ headCell: headCell,
911
+ onDragDown: onDragDown(headCell),
912
+ lineWidth: lineWidth
750
913
  }, {
751
914
  children: jsxs("div", Object.assign({
752
915
  className: handCellClass(headCell)
@@ -779,7 +942,7 @@ var TableHead$1 = function TableHead(props) {
779
942
  }))
780
943
  }), headCell.name || index);
781
944
  });
782
- }, [headData, sortTable, filter, orderFieldArr, orderTypeArr, align, filterHead, selectFilterCom, beyondText, selectFilter, fixedColumn]); // 操作栏memo
945
+ }, [headData, sortTable, filter, orderFieldArr, orderTypeArr, align, filterHead, selectFilterCom, beyondText, selectFilter, fixedColumn, lineWidth, dragColumn, changeColumnWidth, headDataConfig]); // 操作栏memo
783
946
 
784
947
  var TableOperateMemo = useMemo(function () {
785
948
  if (operate) {
@@ -813,7 +976,8 @@ var TableHead$1 = function TableHead(props) {
813
976
  return jsx(ThElement, Object.assign({
814
977
  align: operate.align || align,
815
978
  style: handStyle(),
816
- className: handCls()
979
+ className: handCls(),
980
+ draggable: false
817
981
  }, {
818
982
  children: jsx("div", Object.assign({
819
983
  className: "table-header-box"
@@ -895,7 +1059,8 @@ var TableHead$1 = function TableHead(props) {
895
1059
  children: jsx(ThElement, Object.assign({
896
1060
  align: "center",
897
1061
  className: handCls(),
898
- onClick: clickShowColums
1062
+ onClick: clickShowColums,
1063
+ draggable: false
899
1064
  }, {
900
1065
  children: jsx("div", Object.assign({
901
1066
  className: "table-header-box"
@@ -1637,7 +1802,7 @@ var TableElement = function TableElement(props) {
1637
1802
  }));
1638
1803
  };
1639
1804
 
1640
- var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-table {\n width: 100%;\n height: 100%;\n overflow: auto;\n background-color: white;\n font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;\n font-size: 14px;\n font-weight: 400;\n}\n.paraui-v3-table.paraui-v3-table-fixed-table > .table-contain > table {\n table-layout: fixed;\n}\n.paraui-v3-table.paraui-v3-table-fixed-cloumn > .table-contain > table .table-checkbox {\n left: 0;\n}\n.paraui-v3-table.paraui-v3-table-fixed-cloumn > .table-contain > table .table-radio {\n left: 0;\n}\n.paraui-v3-table.paraui-v3-table-fixed-cloumn > .table-contain > table .table-expandable {\n left: 0;\n}\n.paraui-v3-table.paraui-v3-table-fixed-cloumn.paraui-v3-table-radio.paraui-v3-table-check .table-radio {\n left: 48px;\n}\n.paraui-v3-table.paraui-v3-table-fixed-cloumn.paraui-v3-table-expandable.paraui-v3-table-check .table-expandable {\n left: 48px;\n}\n.paraui-v3-table.paraui-v3-table-fixed-cloumn.paraui-v3-table-expandable.paraui-v3-table-check.paraui-v3-table-radio .table-expandable {\n left: 80px;\n}\n.paraui-v3-table.paraui-v3-table-no-data > .table-container > table {\n height: 100%;\n}\n.paraui-v3-table.paraui-v3-table-load.paraui-v3-table-no-data > .table-container > table {\n height: auto;\n}\n.paraui-v3-table.paraui-v3-table-pagination > .table-contain {\n height: calc(100% - 60px);\n}\n.paraui-v3-table.paraui-v3-table-pagination.table-load-more > .table-contain {\n height: 100%;\n}\n.paraui-v3-table.paraui-v3-table-load-more.paraui-v3-table-pagination > .table-contain {\n height: 100%;\n}\n.paraui-v3-table > .table-contain {\n height: 100%;\n position: relative;\n}\n.paraui-v3-table > .table-contain > table {\n height: auto;\n}\n.paraui-v3-table > .table-contain > table .table-checkbox > label {\n vertical-align: middle;\n}\n.paraui-v3-table > .table-contain > table .table-checkbox .table-header-box {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.paraui-v3-table > .table-contain > table .table-radio > label {\n vertical-align: middle;\n}\n.paraui-v3-table > .table-contain > table .table-radio .table-header-box {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.paraui-v3-table > .table-contain > table .table-expandable > svg {\n vertical-align: middle;\n}\n.paraui-v3-table > .table-contain > table > .table-head {\n width: 100%;\n white-space: nowrap;\n}\n.paraui-v3-table > .table-contain > table > .table-head > tr th {\n height: 50px;\n}\n.paraui-v3-table > .table-contain > table > .table-head.table-head-scroll tr th {\n max-width: 240px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-serial-number .table-header-box .table-header-title {\n padding-right: 0;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box {\n height: 49px;\n line-height: 49px;\n position: relative;\n padding: 0 8px;\n display: flex;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-title {\n max-width: 100%;\n padding-right: 8px;\n display: flex;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-title > .table-header-title-label {\n width: 100%;\n color: rgba(46, 55, 67, 0.7);\n font-weight: 700;\n font-size: 14px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-sort-svg {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-sort-svg > span {\n width: 20px;\n height: 20px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n border-radius: 2px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-sort-svg > span:hover {\n background-color: rgb(227, 234, 247);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-sort-svg > span:hover > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-sort-svg > span > svg {\n font-size: 12px;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-sort-svg > span > .up-svg {\n position: relative;\n top: 2px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-sort-svg > span > .down-svg {\n position: relative;\n top: -3px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-filter {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-filter > span {\n width: 20px;\n height: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n cursor: pointer;\n border-radius: 2px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-filter > span:hover {\n background-color: rgb(227, 234, 247);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-filter > span:hover > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-filter > span > svg {\n font-size: 14px;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-filter.table-header-filter-show > span > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-filter.table-header-filter-select > span > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-filter.table-header-filter-select > span:after {\n position: absolute;\n width: 4px;\n height: 4px;\n border-radius: 50%;\n background-color: rgb(235, 96, 84);\n content: \"\";\n right: 3px;\n top: 2px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box.table-header-box-sort > .table-header-title {\n max-width: calc(100% - 20px);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box.table-header-box-filter > .table-header-title {\n max-width: calc(100% - 20px);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box.table-header-box-sort.table-header-box-filter > .table-header-title {\n max-width: calc(100% - 40px);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box.table-header-box-sort-asc > .table-sort-svg > span > .up-svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box.table-header-box-sort-desc > .table-sort-svg > span > .down-svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-head .show-colums {\n width: 56px;\n cursor: pointer;\n border-left: 1px solid rgba(171, 176, 185, 0.12);\n right: 0;\n}\n.paraui-v3-table > .table-contain > table > .table-head .show-colums .table-header-box {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 55px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .show-colums .table-header-box > svg {\n font-size: 24px;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-table > .table-contain > table > .table-head .show-colums .table-header-box:hover > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-head.table-head-no-btn tr th:first-child .table-header-box {\n padding-left: 16px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-head-btn {\n width: 32px;\n padding: 0;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-head-btn > .table-header-box {\n width: 32px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-head-btn:first-child {\n width: 48px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-head-btn:first-child > .table-header-box {\n width: 48px;\n}\n.paraui-v3-table > .table-contain > table > .table-body {\n width: 100%;\n}\n.paraui-v3-table > .table-contain > table > .table-body.table-body-scroll tr td {\n max-width: 240px;\n}\n.paraui-v3-table > .table-contain > table > .table-body tr {\n height: 56px;\n}\n.paraui-v3-table > .table-contain > table > .table-body tr td {\n background-color: white;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-table > .table-contain > table > .table-body tr:nth-of-type(2n) td {\n background-color: rgb(249, 250, 251);\n}\n.paraui-v3-table > .table-contain > table > .table-body tr:hover td {\n background-color: rgb(237, 241, 249);\n}\n.paraui-v3-table > .table-contain > table > .table-body tr .table-expandable > svg {\n transition: all 0.3s;\n cursor: pointer;\n font-size: 16px;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-table > .table-contain > table > .table-body tr .table-expandable > svg:hover {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-body tr .table-expandable > .expand {\n transform: rotate(180deg);\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-body .more-table-row {\n cursor: pointer;\n}\n.paraui-v3-table > .table-contain > table > .table-body .more-table-row .more-btn {\n color: rgb(54, 102, 214);\n font-size: 14px;\n}\n.paraui-v3-table > .table-contain > table > .table-body .more-table-row > .td-element {\n bottom: 0;\n background: white;\n box-shadow: 4px -4px 8px 0px rgba(171, 176, 185, 0.12);\n}\n.paraui-v3-table > .table-contain > table > .table-body.table-body-no-btn tr td:first-child {\n padding-left: 16px;\n}\n.paraui-v3-table > .table-contain > table > .table-body.table-body-no-btn > .table-no-data > td:first-child {\n padding: 0;\n}\n.paraui-v3-table > .table-contain > table > .table-body .table-body-btn {\n width: 32px;\n padding: 0;\n}\n.paraui-v3-table > .table-contain > table > .table-body .table-body-btn:first-child {\n width: 48px;\n}\n.paraui-v3-table > .table-contain > table > .table-body > .table-no-data {\n height: calc(100% - 50px);\n}\n.paraui-v3-table > .table-contain > table > .table-body > .table-no-data:hover td {\n background-color: white;\n}\n.paraui-v3-table > .table-contain > table > .table-body > .table-no-data > td {\n padding: 56px 0 0 0;\n}\n.paraui-v3-table > .table-pagination {\n width: 100%;\n height: 60px;\n padding-right: 10px;\n display: flex;\n align-items: flex-end;\n justify-content: flex-end;\n}\n\n.paraui-v3-table-show-colums-popover > .component-popover-content {\n width: 200px;\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-box {\n padding-top: 8px;\n max-height: 224px;\n overflow-y: auto;\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-box > .show-colums-select-item {\n height: 36px;\n line-height: 36px;\n cursor: pointer;\n display: flex;\n padding: 0 4px;\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-box > .show-colums-select-item > label {\n width: 32px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-box > .show-colums-select-item > span {\n color: rgb(46, 55, 67);\n font-size: 14px;\n display: inline-block;\n width: calc(100% - 32px);\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-box > .show-colums-select-item:hover > span {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-box > .show-colums-select-item:hover > label .checkbox-box-inner {\n border-color: rgb(54, 102, 214);\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-box > .show-colums-select-item.show-colums-select-item-select > span {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-box > .show-colums-select-item.show-colums-select-item-select > label .checkbox-box-inner {\n border-color: rgb(54, 102, 214);\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-footer {\n height: 45px;\n border-top: 1px solid rgba(171, 176, 185, 0.2);\n text-align: center;\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-footer > button {\n width: 100%;\n height: 100%;\n border: 0;\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-footer > button > span {\n font-size: 14px;\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-footer > button > span > span {\n margin-right: 5px;\n color: rgb(46, 55, 67);\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-footer > button > span > span svg {\n font-size: 14px;\n color: rgb(46, 55, 67);\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-footer > button:hover > span > span svg {\n color: rgb(54, 102, 214);\n}\n\n.paraui-v3-filter-popover > .component-popover-content {\n width: 200px;\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-box {\n padding-top: 8px;\n max-height: 224px;\n overflow-y: auto;\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-box > .filter-select-item {\n height: 36px;\n line-height: 36px;\n cursor: pointer;\n display: flex;\n padding: 0 4px;\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-box > .filter-select-item > label {\n width: 32px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-box > .filter-select-item > span {\n color: rgb(46, 55, 67);\n font-size: 14px;\n display: inline-block;\n width: calc(100% - 32px);\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-box > .filter-select-item:hover > span {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-box > .filter-select-item:hover > label .checkbox-box-inner {\n border-color: rgb(54, 102, 214);\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-box > .filter-select-item.filter-select-item-select > span {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-box > .filter-select-item.filter-select-item-select > label .checkbox-box-inner {\n border-color: rgb(54, 102, 214);\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-footer {\n height: 45px;\n border-top: 1px solid rgba(171, 176, 185, 0.2);\n text-align: center;\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-footer > button {\n width: 50%;\n height: 100%;\n border: 0;\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-footer > button > span {\n font-size: 14px;\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-footer > button > span > span {\n margin-right: 5px;\n color: rgb(46, 55, 67);\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-footer > button > span > span svg {\n font-size: 14px;\n color: rgb(46, 55, 67);\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-footer > button:hover > span > span svg {\n color: rgb(54, 102, 214);\n}";
1805
+ var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-table {\n width: 100%;\n height: 100%;\n overflow: auto;\n background-color: white;\n font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;\n font-size: 14px;\n font-weight: 400;\n}\n.paraui-v3-table.paraui-v3-table-draggable * {\n user-select: none !important;\n}\n.paraui-v3-table.paraui-v3-table-fixed-table > .table-contain > table {\n table-layout: fixed;\n}\n.paraui-v3-table.paraui-v3-table-fixed-cloumn > .table-contain > table .table-checkbox {\n left: 0;\n}\n.paraui-v3-table.paraui-v3-table-fixed-cloumn > .table-contain > table .table-radio {\n left: 0;\n}\n.paraui-v3-table.paraui-v3-table-fixed-cloumn > .table-contain > table .table-expandable {\n left: 0;\n}\n.paraui-v3-table.paraui-v3-table-fixed-cloumn.paraui-v3-table-radio.paraui-v3-table-check .table-radio {\n left: 48px;\n}\n.paraui-v3-table.paraui-v3-table-fixed-cloumn.paraui-v3-table-expandable.paraui-v3-table-check .table-expandable {\n left: 48px;\n}\n.paraui-v3-table.paraui-v3-table-fixed-cloumn.paraui-v3-table-expandable.paraui-v3-table-check.paraui-v3-table-radio .table-expandable {\n left: 80px;\n}\n.paraui-v3-table.paraui-v3-table-no-data > .table-container > table {\n height: 100%;\n}\n.paraui-v3-table.paraui-v3-table-load.paraui-v3-table-no-data > .table-container > table {\n height: auto;\n}\n.paraui-v3-table.paraui-v3-table-pagination > .table-contain {\n height: calc(100% - 60px);\n}\n.paraui-v3-table.paraui-v3-table-pagination.table-load-more > .table-contain {\n height: 100%;\n}\n.paraui-v3-table.paraui-v3-table-load-more.paraui-v3-table-pagination > .table-contain {\n height: 100%;\n}\n.paraui-v3-table > .table-contain {\n height: 100%;\n position: relative;\n}\n.paraui-v3-table > .table-contain > table {\n height: auto;\n}\n.paraui-v3-table > .table-contain > table .table-checkbox > label {\n vertical-align: middle;\n}\n.paraui-v3-table > .table-contain > table .table-checkbox .table-header-box {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.paraui-v3-table > .table-contain > table .table-radio > label {\n vertical-align: middle;\n}\n.paraui-v3-table > .table-contain > table .table-radio .table-header-box {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.paraui-v3-table > .table-contain > table .table-expandable > svg {\n vertical-align: middle;\n}\n.paraui-v3-table > .table-contain > table > .table-head {\n width: 100%;\n white-space: nowrap;\n}\n.paraui-v3-table > .table-contain > table > .table-head > tr th {\n height: 50px;\n}\n.paraui-v3-table > .table-contain > table > .table-head.table-head-scroll tr th {\n max-width: 240px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-serial-number .table-header-box .table-header-title {\n padding-right: 0;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box {\n height: 49px;\n line-height: 49px;\n position: relative;\n padding: 0 8px;\n display: flex;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-title {\n max-width: 100%;\n display: flex;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-title > .table-header-title-label {\n width: 100%;\n color: rgba(46, 55, 67, 0.7);\n font-weight: 700;\n font-size: 14px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-sort-svg {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-sort-svg > span {\n width: 20px;\n height: 20px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n border-radius: 2px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-sort-svg > span:hover {\n background-color: rgb(227, 234, 247);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-sort-svg > span:hover > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-sort-svg > span > svg {\n font-size: 12px;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-sort-svg > span > .up-svg {\n position: relative;\n top: 2px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-sort-svg > span > .down-svg {\n position: relative;\n top: -3px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-filter {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-filter > span {\n width: 20px;\n height: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n cursor: pointer;\n border-radius: 2px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-filter > span:hover {\n background-color: rgb(227, 234, 247);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-filter > span:hover > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-filter > span > svg {\n font-size: 14px;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-filter.table-header-filter-show > span > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-filter.table-header-filter-select > span > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-filter.table-header-filter-select > span:after {\n position: absolute;\n width: 4px;\n height: 4px;\n border-radius: 50%;\n background-color: rgb(235, 96, 84);\n content: \"\";\n right: 3px;\n top: 2px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box.table-header-box-sort > .table-header-title {\n padding-right: 8px;\n max-width: calc(100% - 20px);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box.table-header-box-filter > .table-header-title {\n padding-right: 8px;\n max-width: calc(100% - 20px);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box.table-header-box-sort.table-header-box-filter > .table-header-title {\n max-width: calc(100% - 40px);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box.table-header-box-sort-asc > .table-sort-svg > span > .up-svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box.table-header-box-sort-desc > .table-sort-svg > span > .down-svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-head .show-colums {\n width: 56px;\n cursor: pointer;\n border-left: 1px solid rgba(171, 176, 185, 0.12);\n right: 0;\n}\n.paraui-v3-table > .table-contain > table > .table-head .show-colums .table-header-box {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 55px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .show-colums .table-header-box > svg {\n font-size: 24px;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-table > .table-contain > table > .table-head .show-colums .table-header-box:hover > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-head.table-head-no-btn tr th:first-child .table-header-box {\n padding-left: 16px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-head-btn {\n width: 32px;\n padding: 0;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-head-btn > .table-header-box {\n width: 32px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-head-btn:first-child {\n width: 48px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-head-btn:first-child > .table-header-box {\n width: 48px;\n}\n.paraui-v3-table > .table-contain > table > .table-body {\n width: 100%;\n}\n.paraui-v3-table > .table-contain > table > .table-body.table-body-scroll tr td {\n max-width: 240px;\n}\n.paraui-v3-table > .table-contain > table > .table-body tr {\n height: 56px;\n}\n.paraui-v3-table > .table-contain > table > .table-body tr td {\n background-color: white;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-table > .table-contain > table > .table-body tr:nth-of-type(2n) td {\n background-color: rgb(249, 250, 251);\n}\n.paraui-v3-table > .table-contain > table > .table-body tr:hover td {\n background-color: rgb(237, 241, 249);\n}\n.paraui-v3-table > .table-contain > table > .table-body tr .table-expandable > svg {\n transition: all 0.3s;\n cursor: pointer;\n font-size: 16px;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-table > .table-contain > table > .table-body tr .table-expandable > svg:hover {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-body tr .table-expandable > .expand {\n transform: rotate(180deg);\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-body .more-table-row {\n cursor: pointer;\n}\n.paraui-v3-table > .table-contain > table > .table-body .more-table-row .more-btn {\n color: rgb(54, 102, 214);\n font-size: 14px;\n}\n.paraui-v3-table > .table-contain > table > .table-body .more-table-row > .td-element {\n bottom: 0;\n background: white;\n box-shadow: 4px -4px 8px 0px rgba(171, 176, 185, 0.12);\n}\n.paraui-v3-table > .table-contain > table > .table-body.table-body-no-btn tr td:first-child {\n padding-left: 16px;\n}\n.paraui-v3-table > .table-contain > table > .table-body.table-body-no-btn > .table-no-data > td:first-child {\n padding: 0;\n}\n.paraui-v3-table > .table-contain > table > .table-body .table-body-btn {\n width: 32px;\n padding: 0;\n}\n.paraui-v3-table > .table-contain > table > .table-body .table-body-btn:first-child {\n width: 48px;\n}\n.paraui-v3-table > .table-contain > table > .table-body > .table-no-data {\n height: calc(100% - 50px);\n}\n.paraui-v3-table > .table-contain > table > .table-body > .table-no-data:hover td {\n background-color: white;\n}\n.paraui-v3-table > .table-contain > table > .table-body > .table-no-data > td {\n padding: 56px 0 0 0;\n}\n.paraui-v3-table > .table-contain > .table-pos-line {\n position: absolute;\n top: 0;\n width: 1px;\n background-color: rgb(54, 102, 214);\n z-index: 1000;\n}\n.paraui-v3-table > .table-pagination {\n width: 100%;\n height: 60px;\n padding-right: 10px;\n display: flex;\n align-items: flex-end;\n justify-content: flex-end;\n}\n\n.paraui-v3-table-show-colums-popover > .component-popover-content {\n width: 200px;\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-box {\n padding-top: 8px;\n max-height: 224px;\n overflow-y: auto;\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-box > .show-colums-select-item {\n height: 36px;\n line-height: 36px;\n cursor: pointer;\n display: flex;\n padding: 0 4px;\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-box > .show-colums-select-item > label {\n width: 32px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-box > .show-colums-select-item > span {\n color: rgb(46, 55, 67);\n font-size: 14px;\n display: inline-block;\n width: calc(100% - 32px);\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-box > .show-colums-select-item:hover > span {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-box > .show-colums-select-item:hover > label .checkbox-box-inner {\n border-color: rgb(54, 102, 214);\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-box > .show-colums-select-item.show-colums-select-item-select > span {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-box > .show-colums-select-item.show-colums-select-item-select > label .checkbox-box-inner {\n border-color: rgb(54, 102, 214);\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-footer {\n height: 45px;\n border-top: 1px solid rgba(171, 176, 185, 0.2);\n text-align: center;\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-footer > button {\n width: 100%;\n height: 100%;\n border: 0;\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-footer > button > span {\n font-size: 14px;\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-footer > button > span > span {\n margin-right: 5px;\n color: rgb(46, 55, 67);\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-footer > button > span > span svg {\n font-size: 14px;\n color: rgb(46, 55, 67);\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-footer > button:hover > span > span svg {\n color: rgb(54, 102, 214);\n}\n\n.paraui-v3-filter-popover > .component-popover-content {\n width: 200px;\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-box {\n padding-top: 8px;\n max-height: 224px;\n overflow-y: auto;\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-box > .filter-select-item {\n height: 36px;\n line-height: 36px;\n cursor: pointer;\n display: flex;\n padding: 0 4px;\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-box > .filter-select-item > label {\n width: 32px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-box > .filter-select-item > span {\n color: rgb(46, 55, 67);\n font-size: 14px;\n display: inline-block;\n width: calc(100% - 32px);\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-box > .filter-select-item:hover > span {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-box > .filter-select-item:hover > label .checkbox-box-inner {\n border-color: rgb(54, 102, 214);\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-box > .filter-select-item.filter-select-item-select > span {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-box > .filter-select-item.filter-select-item-select > label .checkbox-box-inner {\n border-color: rgb(54, 102, 214);\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-footer {\n height: 45px;\n border-top: 1px solid rgba(171, 176, 185, 0.2);\n text-align: center;\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-footer > button {\n width: 50%;\n height: 100%;\n border: 0;\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-footer > button > span {\n font-size: 14px;\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-footer > button > span > span {\n margin-right: 5px;\n color: rgb(46, 55, 67);\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-footer > button > span > span svg {\n font-size: 14px;\n color: rgb(46, 55, 67);\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-footer > button:hover > span > span svg {\n color: rgb(54, 102, 214);\n}";
1641
1806
  styleInject(css_248z);
1642
1807
 
1643
1808
  var Table = function Table(propsInit) {
@@ -1704,6 +1869,8 @@ var Table = function Table(propsInit) {
1704
1869
  fixedTable = _props$fixedTable === void 0 ? true : _props$fixedTable,
1705
1870
  _props$fixedColumn = props.fixedColumn,
1706
1871
  fixedColumn = _props$fixedColumn === void 0 ? true : _props$fixedColumn,
1872
+ _props$dragColumn = props.dragColumn,
1873
+ dragColumn = _props$dragColumn === void 0 ? true : _props$dragColumn,
1707
1874
  formatter = props.formatter,
1708
1875
  _props$lineHeight = props.lineHeight,
1709
1876
  lineHeight = _props$lineHeight === void 0 ? 56 : _props$lineHeight,
@@ -1728,7 +1895,7 @@ var Table = function Table(propsInit) {
1728
1895
  beyondText = _props$beyondText === void 0 ? true : _props$beyondText,
1729
1896
  loading = props.loading;
1730
1897
  var intl = useFormatMessage('Table', localeJson);
1731
- var dayNum = props.expirationTime ? props.expirationTime : 7; // 过期天数
1898
+ var dayNum = props.expirationTime ? props.expirationTime === 0 ? 100000000 : props.expirationTime : 7; // 过期天数
1732
1899
 
1733
1900
  var _useState = useState(props.page !== undefined ? props.page : 1),
1734
1901
  _useState2 = _slicedToArray(_useState, 2),
@@ -1861,14 +2028,22 @@ var Table = function Table(propsInit) {
1861
2028
  var _useState45 = useState({}),
1862
2029
  _useState46 = _slicedToArray(_useState45, 2),
1863
2030
  posFixed = _useState46[0],
1864
- setPosFixed = _useState46[1];
2031
+ setPosFixed = _useState46[1]; // 固定位置
2032
+
2033
+
2034
+ var _useState47 = useState({}),
2035
+ _useState48 = _slicedToArray(_useState47, 2),
2036
+ headDataConfig = _useState48[0],
2037
+ setHeadDataConfig = _useState48[1]; // 表头配置
2038
+
1865
2039
 
1866
2040
  var containerRef = useRef(); // 表格内容高度
1867
2041
 
1868
2042
  var tableRef = useRef(); // 表格
1869
2043
 
1870
2044
  var constData = useRef({
1871
- page: props.page !== undefined ? props.page : 1
2045
+ page: props.page !== undefined ? props.page : 1,
2046
+ headDataConfig: {}
1872
2047
  }); // 存储常量
1873
2048
 
1874
2049
  constData.current.loadMoreUrl = loadMore && url; // 用来判断加载更多请求是否放在表格里面
@@ -2128,33 +2303,8 @@ var Table = function Table(propsInit) {
2128
2303
  target: containerRef.current
2129
2304
  });
2130
2305
  });
2131
- /** 处理序号 */
2132
-
2133
- var handSerial = function handSerial(arr) {
2134
- var defaultVal = {
2135
- label: intl({
2136
- id: 'serial'
2137
- }),
2138
- selected: true,
2139
- width: props.radio || props.check || props.expandable ? 45 : 55,
2140
- fixed: 'left',
2141
- className: 'table-serial-number',
2142
- render: function render(row, item, val, index, rowIndex) {
2143
- return Number(rowIndex) + 1;
2144
- }
2145
- };
2146
-
2147
- if (props.serialNumber) {
2148
- if (typeof props.serialNumber === 'boolean') {
2149
- arr.unshift(defaultVal);
2150
- } else {
2151
- arr.unshift(Object.assign(Object.assign({}, defaultVal), props.serialNumber));
2152
- }
2153
- }
2154
- };
2155
2306
  /** 设置size */
2156
2307
 
2157
-
2158
2308
  var handSize = function handSize(num) {
2159
2309
  constData.current.size = num;
2160
2310
  setSizeCom(num);
@@ -2189,26 +2339,39 @@ var Table = function Table(propsInit) {
2189
2339
  var json = getLocalStorageSelectHead(getTableHeadKey(), dayNum);
2190
2340
  return json;
2191
2341
  };
2192
- /** 设置本地表格列 */
2342
+ /**
2343
+ * 设置本地表格列
2344
+ *
2345
+ * */
2193
2346
 
2194
2347
 
2195
- var setLocalStorageHeadCom = function setLocalStorageHeadCom(headArr) {
2348
+ var setLocalStorageHeadCom = function setLocalStorageHeadCom(obj) {
2196
2349
  if (props.rememberColumns === false) return;
2197
- var selectHeadJson = ArrayToObject('name', headArr);
2350
+ var localStorageData = getLocalStorageHeadCom();
2198
2351
  var json = {
2199
- headName: {},
2352
+ headName: localStorageData.headName || {},
2353
+ headDataConfig: localStorageData.headDataConfig || {},
2200
2354
  storageTime: new Date().getTime(),
2201
2355
  validity: dayNum * (60 * 60 * 24)
2202
- };
2356
+ }; // 设置固定列
2203
2357
 
2204
- for (var i = 0, l = showHeadList.length; i < l; i++) {
2205
- var item = showHeadList[i];
2206
- var name = item.name || '';
2207
- json.headName[name] = false;
2358
+ if (obj.setFixed) {
2359
+ var selectHeadJson = ArrayToObject('name', obj.headArr || []);
2360
+
2361
+ for (var i = 0, l = showHeadList.length; i < l; i++) {
2362
+ var item = showHeadList[i];
2363
+ var name = item.name || '';
2364
+ json.headName[name] = false;
2208
2365
 
2209
- if (selectHeadJson[name]) {
2210
- json.headName[name] = true;
2366
+ if (selectHeadJson[name]) {
2367
+ json.headName[name] = true;
2368
+ }
2211
2369
  }
2370
+ } // 设置拖动列
2371
+
2372
+
2373
+ if (obj.setDrag) {
2374
+ json.headDataConfig = obj.headDataConfig || {};
2212
2375
  }
2213
2376
 
2214
2377
  setLocalStorageSelectHead(getTableHeadKey(), json);
@@ -2246,6 +2409,32 @@ var Table = function Table(propsInit) {
2246
2409
  }
2247
2410
  }
2248
2411
  };
2412
+ /** 处理序号 */
2413
+
2414
+
2415
+ var handSerial = function handSerial(arr) {
2416
+ var defaultVal = {
2417
+ label: intl({
2418
+ id: 'serial'
2419
+ }),
2420
+ selected: true,
2421
+ width: props.radio || props.check || props.expandable ? 45 : 55,
2422
+ fixed: 'left',
2423
+ className: 'table-serial-number',
2424
+ name: 'table-serial-number',
2425
+ render: function render(row, item, val, index, rowIndex) {
2426
+ return Number(rowIndex) + 1;
2427
+ }
2428
+ };
2429
+
2430
+ if (props.serialNumber) {
2431
+ if (typeof props.serialNumber === 'boolean') {
2432
+ arr.unshift(defaultVal);
2433
+ } else {
2434
+ arr.unshift(Object.assign(Object.assign({}, defaultVal), props.serialNumber));
2435
+ }
2436
+ }
2437
+ };
2249
2438
  /**
2250
2439
  * 初始化设置表头
2251
2440
  * @param arr {(HeadDataProps | HeadDataReqProps)[]} 表头数据
@@ -2260,14 +2449,16 @@ var Table = function Table(propsInit) {
2260
2449
 
2261
2450
  var json = {};
2262
2451
  var localHead = getLocalStorageHeadCom();
2452
+ constData.current.headDataConfig = localHead.headDataConfig || {};
2263
2453
 
2264
2454
  for (var i = 0, l = arr.length; i < l; i++) {
2265
2455
  var item = arr[i];
2266
- if (typeof item.width === 'number') item.width += 'px';
2456
+ var name = item.name || '';
2457
+ if (typeof item.width === 'number') item.width = item.width + 'px';
2267
2458
  if (!bol) item.orderNum = i;
2268
2459
  handHeadShow(item, headShowArr, localHead);
2269
2460
  headArr.push(item);
2270
- json[item.name] = item;
2461
+ json[name] = item;
2271
2462
  }
2272
2463
 
2273
2464
  if (bol) {
@@ -2283,8 +2474,11 @@ var Table = function Table(propsInit) {
2283
2474
 
2284
2475
  handHeadDataCom(headShowArr); // 处理显示列宽度
2285
2476
 
2286
- setHeadDataCom(headShowArr);
2287
- setShowHeadList(headArr);
2477
+ setHeadDataCom(headShowArr); // 表格当前显示列 集合本地数据
2478
+
2479
+ setShowHeadList(headArr); // 显示列下拉值 所有头部的配置
2480
+
2481
+ setHeadDataConfig(Object.assign({}, constData.current.headDataConfig));
2288
2482
  constData.current.headDataJson = json;
2289
2483
  }; // 计算左边的差量
2290
2484
 
@@ -2340,6 +2534,15 @@ var Table = function Table(propsInit) {
2340
2534
  }
2341
2535
 
2342
2536
  return rightNum;
2537
+ }; // 获取宽度
2538
+
2539
+
2540
+ var getWidth = function getWidth(item) {
2541
+ var w = item.width || '';
2542
+ var name = item.name || '';
2543
+ var wDrag = constData.current.headDataConfig[name] && constData.current.headDataConfig[name].width;
2544
+ if (wDrag) w = wDrag;
2545
+ return w;
2343
2546
  };
2344
2547
  /**
2345
2548
  * 处理显示列宽度
@@ -2367,19 +2570,22 @@ var Table = function Table(propsInit) {
2367
2570
  for (var i = 0, l = arr.length; i < l; i++) {
2368
2571
  var item = arr[i];
2369
2572
  var itemWidth = 0;
2573
+ var handW = getWidth(item); // 获取宽度,有拖动过后宽度,就用拖动的
2370
2574
 
2371
- if (item.width) {
2372
- itemWidth = getStringInNumber(item.width);
2575
+ if (handW) {
2576
+ itemWidth = getStringInNumber(handW);
2373
2577
  tableMinWidth += itemWidth;
2374
2578
  } else {
2375
2579
  tableMinWidth += lineWidth;
2376
2580
  }
2377
2581
 
2378
2582
  if (item.fixed === 'left' && item.width) {
2583
+ // 固定列必须具有宽度
2379
2584
  leftArr.push(item);
2380
2585
  }
2381
2586
 
2382
2587
  if (item.fixed === 'right' && item.width) {
2588
+ // 固定列必须具有宽度
2383
2589
  rightArr.push(item);
2384
2590
  }
2385
2591
  }
@@ -2393,7 +2599,10 @@ var Table = function Table(propsInit) {
2393
2599
  var _item = leftArr[_i];
2394
2600
 
2395
2601
  if (_item.width) {
2396
- var _itemWidth = getStringInNumber(_item.width);
2602
+ var _handW = getWidth(_item); // 获取宽度,有拖动过后宽度,就用拖动的
2603
+
2604
+
2605
+ var _itemWidth = getStringInNumber(_handW);
2397
2606
 
2398
2607
  _item.paraui_left_width = leftOps;
2399
2608
  leftOps += _itemWidth; // 最后一个
@@ -2416,7 +2625,10 @@ var Table = function Table(propsInit) {
2416
2625
  var _item2 = rightArr[_i2];
2417
2626
 
2418
2627
  if (_item2.width) {
2419
- var _itemWidth2 = getStringInNumber(_item2.width);
2628
+ var _handW2 = getWidth(_item2); // 获取宽度,有拖动过后宽度,就用拖动的
2629
+
2630
+
2631
+ var _itemWidth2 = getStringInNumber(_handW2);
2420
2632
 
2421
2633
  _item2.paraui_right_width = rightOps;
2422
2634
  rightOps += _itemWidth2; // 最后一个
@@ -2430,8 +2642,9 @@ var Table = function Table(propsInit) {
2430
2642
  }
2431
2643
  }
2432
2644
 
2433
- setTableMinWidth(tableMinWidth);
2434
- setPosFixed(posJson);
2645
+ setTableMinWidth(tableMinWidth); // 表格最小宽度
2646
+
2647
+ setPosFixed(posJson); // 定位信息
2435
2648
  };
2436
2649
  /**
2437
2650
  * 处理过滤请求数据
@@ -2773,13 +2986,20 @@ var Table = function Table(propsInit) {
2773
2986
  handCheckValue({});
2774
2987
  }
2775
2988
  };
2776
- /** 改变选择列 */
2989
+ /**
2990
+ * 改变选择列
2991
+ * @param arr {HeadDataProps[]} 当前显示列
2992
+ * */
2777
2993
 
2778
2994
 
2779
2995
  var changeSelectHead = function changeSelectHead(arr, item) {
2780
2996
  handHeadDataCom(arr);
2781
- setHeadDataCom(arr);
2782
- setLocalStorageHeadCom(arr);
2997
+ setHeadDataCom(arr); // 本地记住选择列
2998
+
2999
+ setLocalStorageHeadCom({
3000
+ setFixed: true,
3001
+ headArr: arr
3002
+ });
2783
3003
  onClickColumns && onClickColumns(arr, item);
2784
3004
  };
2785
3005
  /**
@@ -2792,6 +3012,9 @@ var Table = function Table(propsInit) {
2792
3012
 
2793
3013
  var changeShowList = function changeShowList(headShowArr, bol, item) {
2794
3014
  if (bol) {
3015
+ constData.current.headDataConfig = {};
3016
+ setHeadDataConfig({}); // 重置拖拽列
3017
+
2795
3018
  var arr = [];
2796
3019
 
2797
3020
  var arrShow = _toConsumableArray(showHeadList);
@@ -2828,6 +3051,24 @@ var Table = function Table(propsInit) {
2828
3051
  constData.current.selectFilterCom = DeepClone(val);
2829
3052
  setSelectFilterCom(DeepClone(val));
2830
3053
  handPage(1);
3054
+ };
3055
+ /** 改变拖拽列width */
3056
+
3057
+
3058
+ var changeColumnWidth = function changeColumnWidth(headCell, result) {
3059
+ var name = headCell.name || '';
3060
+ constData.current.headDataConfig[name] = {
3061
+ width: result.width
3062
+ };
3063
+ setHeadDataConfig(Object.assign({}, constData.current.headDataConfig)); // 设置表格列配置,被拖动的width
3064
+
3065
+ handHeadDataCom(_toConsumableArray(headData)); // 重新计算表格的最小宽度
3066
+ // 本地记住拖动列宽度
3067
+
3068
+ setLocalStorageHeadCom({
3069
+ headDataConfig: constData.current.headDataConfig,
3070
+ setDrag: true
3071
+ });
2831
3072
  }; // 表格头部memo
2832
3073
 
2833
3074
 
@@ -2855,9 +3096,13 @@ var Table = function Table(propsInit) {
2855
3096
  fixedTable: fixedTable,
2856
3097
  fixedColumn: fixedColumn,
2857
3098
  posFixed: posFixed,
2858
- beyondText: beyondText
3099
+ beyondText: beyondText,
3100
+ lineWidth: lineWidth,
3101
+ dragColumn: dragColumn,
3102
+ headDataConfig: headDataConfig,
3103
+ changeColumnWidth: changeColumnWidth
2859
3104
  });
2860
- }, [totalDataJson, showColumns, rowKey, rowData, checkJson, disabledJson, orderTypeArr, orderFieldArr, sortTable, filter, expandable, check, headSelectStatus, radio, align, showHeadList, headDataCom, selectFilterCom, operate, onClickColumns, sortTableRadio, fixedTable, posFixed, beyondText, fixedColumn]); // 表格内容memo
3105
+ }, [totalDataJson, showColumns, rowKey, rowData, checkJson, disabledJson, orderTypeArr, orderFieldArr, sortTable, filter, expandable, check, headSelectStatus, radio, align, showHeadList, headDataCom, selectFilterCom, operate, onClickColumns, sortTableRadio, fixedTable, posFixed, beyondText, fixedColumn, lineWidth, dragColumn, headDataConfig]); // 表格内容memo
2861
3106
 
2862
3107
  var TableBodyMemo = useMemo(function () {
2863
3108
  return jsx(TableBody, {
@@ -2950,6 +3195,7 @@ var Table = function Table(propsInit) {
2950
3195
  if (loadMore) str += " ".concat($prefixCls, "-table-load-more");
2951
3196
  if (fixedTable) str += " ".concat($prefixCls, "-table-fixed-table");
2952
3197
  if (fixedColumn) str += " ".concat($prefixCls, "-table-fixed-cloumn");
3198
+ if (dragColumn) str += " ".concat($prefixCls, "-table-drag-column");
2953
3199
  if (check) str += " ".concat($prefixCls, "-table-check");
2954
3200
  if (radio) str += " ".concat($prefixCls, "-table-radio");
2955
3201
  if (expandable) str += " ".concat($prefixCls, "-table-expandable");
@@ -28,6 +28,8 @@ export interface HeadDataProps {
28
28
  name?: string;
29
29
  /** 显示名 */
30
30
  label?: string;
31
+ /** 是否拖拽列 */
32
+ drag?: boolean;
31
33
  /** 是否排序 */
32
34
  sort?: boolean;
33
35
  /** 渲染函数 (跟表格tableCell参数互斥) */
@@ -70,7 +72,7 @@ export interface HeadDataReqProps {
70
72
  selectedFlag?: boolean;
71
73
  [name: string]: any;
72
74
  }
73
- /** 固定列位置信息 */
75
+ /** 固定列/拖拽 位置信息 */
74
76
  export interface PosFixedProps {
75
77
  /** 是否存在左边定位 */
76
78
  leftBol?: boolean;
@@ -118,7 +120,7 @@ export interface TableProps extends TableHeadBodyPublicProps {
118
120
  style?: React.CSSProperties;
119
121
  /** 表格唯一id,用来存储数据做索引 */
120
122
  tableKey?: string;
121
- /** 过期时间/ 单位天 默认7天 */
123
+ /** 过期时间/ 单位天 默认7天 0表示永久 */
122
124
  expirationTime?: number;
123
125
  /** 记住列,默认记住 */
124
126
  rememberColumns?: boolean;
@@ -172,6 +174,8 @@ export interface TableProps extends TableHeadBodyPublicProps {
172
174
  beyondText?: boolean;
173
175
  /** 是否显示序号 true显示 HeadDataProps配置详情,跟配置列一样 */
174
176
  serialNumber?: boolean | HeadDataProps;
177
+ /** 是否拖动列 */
178
+ dragColumn?: boolean;
175
179
  /** 是否过滤 */
176
180
  filter?: boolean;
177
181
  /** 排序 多个/单个 */
@@ -237,6 +241,8 @@ export interface HeadLocalStorageItem {
237
241
  /** true显示,false在下拉里面 */
238
242
  [name: string]: boolean;
239
243
  };
244
+ /** 拖拽记住的列信息 */
245
+ headDataConfig: HeadDataConfigProps;
240
246
  /** 存储时间 */
241
247
  storageTime: number;
242
248
  /** 过期时间 */
@@ -246,3 +252,16 @@ export interface HeadLocalStorageItem {
246
252
  export interface HeadLocalStorage {
247
253
  [name: string]: HeadLocalStorageItem;
248
254
  }
255
+ /** 表格头部配置 */
256
+ export interface HeadDataConfigProps {
257
+ [name: string]: {
258
+ width?: number;
259
+ };
260
+ }
261
+ /** 设置本地数据 */
262
+ export interface SetLocalStorageProps {
263
+ headArr?: HeadDataProps[];
264
+ headDataConfig?: HeadDataConfigProps;
265
+ setFixed?: boolean;
266
+ setDrag?: boolean;
267
+ }
@@ -4,9 +4,14 @@
4
4
  * @description 表格头部参数
5
5
  */
6
6
  import React from 'react';
7
- import { TableHeadBodyPublicProps, SelectStatus } from './interface';
7
+ import { TableHeadBodyPublicProps, SelectStatus, HeadDataProps } from './interface';
8
+ import { DragResultProps } from "./thElement";
8
9
  /** 表格头部参数 */
9
10
  export interface TableHeadProps extends TableHeadBodyPublicProps {
11
+ /** 是否拖动列 */
12
+ dragColumn?: boolean;
13
+ /** 表格每列没设置宽度的默认宽度, 默认80 */
14
+ lineWidth?: number;
10
15
  /** 排序触发事件 property: 属性名 */
11
16
  onRequestSort?: (event: React.MouseEvent<unknown>, property: string) => void;
12
17
  /** 全选事件 */
@@ -21,6 +26,10 @@ export interface TableHeadProps extends TableHeadBodyPublicProps {
21
26
  changeShowList: (headShowArr: any, bol?: boolean, item?: any) => void;
22
27
  /** 过滤值 */
23
28
  selectFilter: any;
29
+ /** 表格列配置 */
30
+ headDataConfig: HeadDataProps;
24
31
  /** 改变过滤 */
25
32
  changeFilter?: (val: any) => void;
33
+ /** 改变拖拽列width */
34
+ changeColumnWidth?: (headCell: HeadDataProps, result: DragResultProps) => void;
26
35
  }
@@ -4,11 +4,24 @@
4
4
  * @description 表格th元素
5
5
  */
6
6
  import React, { FunctionComponent } from "react";
7
+ import { HeadDataProps } from "../interface";
7
8
  import './index.scss';
9
+ export interface DragResultProps {
10
+ width: number;
11
+ left: number;
12
+ }
8
13
  export interface ThElementProps {
9
14
  className?: string;
10
15
  style?: React.CSSProperties;
11
16
  children?: any;
17
+ /** 是否拖动 */
18
+ draggable?: boolean;
19
+ /** 表格每列没设置宽度的默认宽度, 默认80 */
20
+ lineWidth?: number;
21
+ /** 表格列配置 */
22
+ headCell?: HeadDataProps;
23
+ /** 拖动放下事件 */
24
+ onDragDown?: (result: DragResultProps) => void;
12
25
  [name: string]: any;
13
26
  }
14
27
  export declare const ThElement: FunctionComponent<ThElementProps>;
package/Table/util.d.ts CHANGED
@@ -26,3 +26,9 @@ export declare const getLocalStorageSelectHead: (key: string, num: number) => He
26
26
  * @param val {HeadLocalStorageItem} 保存值
27
27
  * */
28
28
  export declare const setLocalStorageSelectHead: (key: string, val: HeadLocalStorageItem) => void;
29
+ /**
30
+ * 查找元素
31
+ * @param el 当前元素
32
+ * @param selector 查找元素class
33
+ */
34
+ export declare const closest: (el: any, selector: any) => any;
package/Tooltip/index.js CHANGED
@@ -209,7 +209,7 @@ function getAlignOffset(place) {
209
209
  return offsetMap[mPlace];
210
210
  }
211
211
 
212
- var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/5/25 下午7:17\n* @description\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-tooltip {\n color: rgb(255, 255, 255);\n font-size: 14px;\n line-height: 1.5715;\n position: absolute;\n z-index: 1500;\n display: block;\n width: max-content;\n max-width: 250px;\n visibility: visible;\n}\n.paraui-v3-tooltip .component-tooltip-content {\n position: relative;\n}\n.paraui-v3-tooltip.component-tooltip-hidden {\n display: none;\n}\n.paraui-v3-tooltip.paraui-v3-tooltip-hide-arrow .component-tooltip-arrow {\n display: none;\n}\n.paraui-v3-tooltip .component-tooltip-inner {\n min-width: 30px;\n min-height: 32px;\n padding: 5px 12px;\n color: rgb(255, 255, 255);\n text-align: left;\n text-decoration: none;\n word-wrap: break-word;\n background-color: rgba(46, 55, 67, 0.7);\n border-radius: 4px;\n line-height: 22px;\n}\n.paraui-v3-tooltip .component-tooltip-arrow {\n position: absolute;\n z-index: 2;\n display: block;\n width: 22px;\n height: 22px;\n overflow: hidden;\n background: transparent;\n pointer-events: none;\n}\n.paraui-v3-tooltip .component-tooltip-arrow-content {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: block;\n width: 11.3137085px;\n height: 11.3137085px;\n margin: auto;\n background-color: transparent;\n content: \"\";\n border-radius: 0 0 4px;\n pointer-events: none;\n}\n.paraui-v3-tooltip .component-tooltip-arrow-content::before {\n position: absolute;\n top: -11.3137085px;\n left: -11.3137085px;\n width: 33.9411255px;\n height: 33.9411255px;\n background: rgba(46, 55, 67, 0.7) -10px -10px no-repeat;\n content: \"\";\n -webkit-clip-path: path(\"M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z\");\n}\n.paraui-v3-tooltip.component-tooltip-placement-top .component-tooltip-arrow, .paraui-v3-tooltip.component-tooltip-placement-topLeft .component-tooltip-arrow, .paraui-v3-tooltip.component-tooltip-placement-topRight .component-tooltip-arrow {\n bottom: 0;\n transform: translateY(100%);\n}\n.paraui-v3-tooltip.component-tooltip-placement-top .component-tooltip-arrow-content, .paraui-v3-tooltip.component-tooltip-placement-topLeft .component-tooltip-arrow-content, .paraui-v3-tooltip.component-tooltip-placement-topRight .component-tooltip-arrow-content {\n box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);\n transform: translateY(-11px) rotate(45deg);\n}\n.paraui-v3-tooltip.component-tooltip-placement-top .component-tooltip-arrow {\n left: 50%;\n transform: translateY(100%) translateX(-50%);\n}\n.paraui-v3-tooltip.component-tooltip-placement-topLeft .component-tooltip-arrow {\n left: 13px;\n}\n.paraui-v3-tooltip.component-tooltip-placement-topRight .component-tooltip-arrow {\n right: 13px;\n}\n.paraui-v3-tooltip.component-tooltip-placement-right .component-tooltip-arrow, .paraui-v3-tooltip.component-tooltip-placement-rightTop .component-tooltip-arrow, .paraui-v3-tooltip.component-tooltip-placement-rightBottom .component-tooltip-arrow {\n left: 0;\n transform: translateX(-100%);\n}\n.paraui-v3-tooltip.component-tooltip-placement-right .component-tooltip-arrow-content, .paraui-v3-tooltip.component-tooltip-placement-rightTop .component-tooltip-arrow-content, .paraui-v3-tooltip.component-tooltip-placement-rightBottom .component-tooltip-arrow-content {\n box-shadow: -3px 3px 7px rgba(0, 0, 0, 0.07);\n transform: translateX(11px) rotate(135deg);\n}\n.paraui-v3-tooltip.component-tooltip-placement-right .component-tooltip-arrow {\n top: 50%;\n transform: translateX(-100%) translateY(-50%);\n}\n.paraui-v3-tooltip.component-tooltip-placement-rightTop .component-tooltip-arrow {\n top: 5px;\n}\n.paraui-v3-tooltip.component-tooltip-placement-rightBottom .component-tooltip-arrow {\n bottom: 5px;\n}\n.paraui-v3-tooltip.component-tooltip-placement-left .component-tooltip-arrow, .paraui-v3-tooltip.component-tooltip-placement-leftTop .component-tooltip-arrow, .paraui-v3-tooltip.component-tooltip-placement-leftBottom .component-tooltip-arrow {\n right: 0;\n transform: translateX(100%);\n}\n.paraui-v3-tooltip.component-tooltip-placement-left .component-tooltip-arrow-content, .paraui-v3-tooltip.component-tooltip-placement-leftTop .component-tooltip-arrow-content, .paraui-v3-tooltip.component-tooltip-placement-leftBottom .component-tooltip-arrow-content {\n box-shadow: 3px -3px 7px rgba(0, 0, 0, 0.07);\n transform: translateX(-11px) rotate(315deg);\n}\n.paraui-v3-tooltip.component-tooltip-placement-left .component-tooltip-arrow {\n top: 50%;\n transform: translateX(100%) translateY(-50%);\n}\n.paraui-v3-tooltip.component-tooltip-placement-leftTop .component-tooltip-arrow {\n top: 5px;\n}\n.paraui-v3-tooltip.component-tooltip-placement-leftBottom .component-tooltip-arrow {\n bottom: 5px;\n}\n.paraui-v3-tooltip.component-tooltip-placement-bottom .component-tooltip-arrow, .paraui-v3-tooltip.component-tooltip-placement-bottomLeft .component-tooltip-arrow, .paraui-v3-tooltip.component-tooltip-placement-bottomRight .component-tooltip-arrow {\n top: 0;\n transform: translateY(-100%);\n}\n.paraui-v3-tooltip.component-tooltip-placement-bottom .component-tooltip-arrow-content, .paraui-v3-tooltip.component-tooltip-placement-bottomLeft .component-tooltip-arrow-content, .paraui-v3-tooltip.component-tooltip-placement-bottomRight .component-tooltip-arrow-content {\n box-shadow: -3px -3px 7px rgba(0, 0, 0, 0.07);\n transform: translateY(11px) rotate(225deg);\n}\n.paraui-v3-tooltip.component-tooltip-placement-bottom .component-tooltip-arrow {\n left: 50%;\n transform: translateY(-100%) translateX(-50%);\n}\n.paraui-v3-tooltip.component-tooltip-placement-bottomLeft .component-tooltip-arrow {\n left: 13px;\n}\n.paraui-v3-tooltip.component-tooltip-placement-bottomRight .component-tooltip-arrow {\n right: 13px;\n}\n\n.component-tooltip-zoom-big-fast-enter,\n.component-tooltip-zoom-big-fast-appear {\n animation-duration: 0.1s;\n animation-fill-mode: both;\n animation-play-state: paused;\n}\n\n.component-tooltip-zoom-big-fast-leave {\n animation-duration: 0.1s;\n animation-fill-mode: both;\n animation-play-state: paused;\n}\n\n.component-tooltip-zoom-big-fast-enter.component-tooltip-zoom-big-fast-enter-active,\n.component-tooltip-zoom-big-fast-appear.component-tooltip-zoom-big-fast-appear-active {\n animation-name: componentTooltipZoomBigIn;\n animation-play-state: running;\n}\n\n.component-tooltip-zoom-big-fast-leave.component-tooltip-zoom-big-fast-leave-active {\n animation-name: componentTooltipZoomBigOut;\n animation-play-state: running;\n pointer-events: none;\n}\n\n.component-tooltip-zoom-big-fast-enter,\n.component-tooltip-zoom-big-fast-appear {\n transform: scale(0);\n opacity: 0;\n animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n\n.component-tooltip-zoom-big-fast-enter-prepare,\n.component-tooltip-zoom-big-fast-appear-prepare {\n transform: none;\n}\n\n.component-tooltip-zoom-big-fast-leave {\n animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n\n@keyframes componentTooltipZoomBigIn {\n 0% {\n transform: scale(0.8);\n opacity: 0;\n }\n 100% {\n transform: scale(1);\n opacity: 1;\n }\n}\n@keyframes componentTooltipZoomBigOut {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0.8);\n opacity: 0;\n }\n}";
212
+ var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/5/25 下午7:17\n* @description\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-tooltip {\n color: rgb(255, 255, 255);\n font-size: 14px;\n line-height: 1.5715;\n position: absolute;\n z-index: 1500;\n display: block;\n width: max-content;\n max-width: 250px;\n visibility: visible;\n}\n.paraui-v3-tooltip .component-tooltip-content {\n position: relative;\n}\n.paraui-v3-tooltip.component-tooltip-hidden {\n display: none;\n}\n.paraui-v3-tooltip.paraui-v3-tooltip-hide-arrow .component-tooltip-arrow {\n display: none;\n}\n.paraui-v3-tooltip .component-tooltip-inner {\n min-width: 30px;\n min-height: 32px;\n padding: 5px 12px;\n color: rgb(255, 255, 255);\n text-align: left;\n text-decoration: none;\n word-wrap: break-word;\n background-color: rgba(46, 55, 67, 0.7);\n border-radius: 4px;\n line-height: 22px;\n}\n.paraui-v3-tooltip .component-tooltip-arrow {\n position: absolute;\n z-index: 2;\n display: block;\n width: 22px;\n height: 22px;\n overflow: hidden;\n background: transparent;\n pointer-events: none;\n}\n.paraui-v3-tooltip .component-tooltip-arrow-content {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: block;\n width: 11.3137085px;\n height: 11.3137085px;\n margin: auto;\n content: \"\";\n border-radius: 0 0 2px;\n pointer-events: none;\n background: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-tooltip .component-tooltip-arrow-content::before {\n position: absolute;\n top: -11.3137085px;\n left: -11.3137085px;\n width: 33.9411255px;\n height: 33.9411255px;\n background-repeat: no-repeat;\n background-position: -10px -10px;\n content: \"\";\n clip-path: path(\"M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z\");\n}\n.paraui-v3-tooltip.component-tooltip-placement-top .component-tooltip-arrow, .paraui-v3-tooltip.component-tooltip-placement-topLeft .component-tooltip-arrow, .paraui-v3-tooltip.component-tooltip-placement-topRight .component-tooltip-arrow {\n bottom: 0;\n transform: translateY(100%);\n}\n.paraui-v3-tooltip.component-tooltip-placement-top .component-tooltip-arrow-content, .paraui-v3-tooltip.component-tooltip-placement-topLeft .component-tooltip-arrow-content, .paraui-v3-tooltip.component-tooltip-placement-topRight .component-tooltip-arrow-content {\n box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);\n transform: translateY(-11px) rotate(45deg);\n}\n.paraui-v3-tooltip.component-tooltip-placement-top .component-tooltip-arrow {\n left: 50%;\n transform: translateY(100%) translateX(-50%);\n}\n.paraui-v3-tooltip.component-tooltip-placement-topLeft .component-tooltip-arrow {\n left: 13px;\n}\n.paraui-v3-tooltip.component-tooltip-placement-topRight .component-tooltip-arrow {\n right: 13px;\n}\n.paraui-v3-tooltip.component-tooltip-placement-right .component-tooltip-arrow, .paraui-v3-tooltip.component-tooltip-placement-rightTop .component-tooltip-arrow, .paraui-v3-tooltip.component-tooltip-placement-rightBottom .component-tooltip-arrow {\n left: 0;\n transform: translateX(-100%);\n}\n.paraui-v3-tooltip.component-tooltip-placement-right .component-tooltip-arrow-content, .paraui-v3-tooltip.component-tooltip-placement-rightTop .component-tooltip-arrow-content, .paraui-v3-tooltip.component-tooltip-placement-rightBottom .component-tooltip-arrow-content {\n box-shadow: -3px 3px 7px rgba(0, 0, 0, 0.07);\n transform: translateX(11px) rotate(135deg);\n}\n.paraui-v3-tooltip.component-tooltip-placement-right .component-tooltip-arrow {\n top: 50%;\n transform: translateX(-100%) translateY(-50%);\n}\n.paraui-v3-tooltip.component-tooltip-placement-rightTop .component-tooltip-arrow {\n top: 5px;\n}\n.paraui-v3-tooltip.component-tooltip-placement-rightBottom .component-tooltip-arrow {\n bottom: 5px;\n}\n.paraui-v3-tooltip.component-tooltip-placement-left .component-tooltip-arrow, .paraui-v3-tooltip.component-tooltip-placement-leftTop .component-tooltip-arrow, .paraui-v3-tooltip.component-tooltip-placement-leftBottom .component-tooltip-arrow {\n right: 0;\n transform: translateX(100%);\n}\n.paraui-v3-tooltip.component-tooltip-placement-left .component-tooltip-arrow-content, .paraui-v3-tooltip.component-tooltip-placement-leftTop .component-tooltip-arrow-content, .paraui-v3-tooltip.component-tooltip-placement-leftBottom .component-tooltip-arrow-content {\n box-shadow: 3px -3px 7px rgba(0, 0, 0, 0.07);\n transform: translateX(-11px) rotate(315deg);\n}\n.paraui-v3-tooltip.component-tooltip-placement-left .component-tooltip-arrow {\n top: 50%;\n transform: translateX(100%) translateY(-50%);\n}\n.paraui-v3-tooltip.component-tooltip-placement-leftTop .component-tooltip-arrow {\n top: 5px;\n}\n.paraui-v3-tooltip.component-tooltip-placement-leftBottom .component-tooltip-arrow {\n bottom: 5px;\n}\n.paraui-v3-tooltip.component-tooltip-placement-bottom .component-tooltip-arrow, .paraui-v3-tooltip.component-tooltip-placement-bottomLeft .component-tooltip-arrow, .paraui-v3-tooltip.component-tooltip-placement-bottomRight .component-tooltip-arrow {\n top: 0;\n transform: translateY(-100%);\n}\n.paraui-v3-tooltip.component-tooltip-placement-bottom .component-tooltip-arrow-content, .paraui-v3-tooltip.component-tooltip-placement-bottomLeft .component-tooltip-arrow-content, .paraui-v3-tooltip.component-tooltip-placement-bottomRight .component-tooltip-arrow-content {\n box-shadow: -3px -3px 7px rgba(0, 0, 0, 0.07);\n transform: translateY(11px) rotate(225deg);\n}\n.paraui-v3-tooltip.component-tooltip-placement-bottom .component-tooltip-arrow {\n left: 50%;\n transform: translateY(-100%) translateX(-50%);\n}\n.paraui-v3-tooltip.component-tooltip-placement-bottomLeft .component-tooltip-arrow {\n left: 13px;\n}\n.paraui-v3-tooltip.component-tooltip-placement-bottomRight .component-tooltip-arrow {\n right: 13px;\n}\n\n.component-tooltip-zoom-big-fast-enter,\n.component-tooltip-zoom-big-fast-appear {\n animation-duration: 0.1s;\n animation-fill-mode: both;\n animation-play-state: paused;\n}\n\n.component-tooltip-zoom-big-fast-leave {\n animation-duration: 0.1s;\n animation-fill-mode: both;\n animation-play-state: paused;\n}\n\n.component-tooltip-zoom-big-fast-enter.component-tooltip-zoom-big-fast-enter-active,\n.component-tooltip-zoom-big-fast-appear.component-tooltip-zoom-big-fast-appear-active {\n animation-name: componentTooltipZoomBigIn;\n animation-play-state: running;\n}\n\n.component-tooltip-zoom-big-fast-leave.component-tooltip-zoom-big-fast-leave-active {\n animation-name: componentTooltipZoomBigOut;\n animation-play-state: running;\n pointer-events: none;\n}\n\n.component-tooltip-zoom-big-fast-enter,\n.component-tooltip-zoom-big-fast-appear {\n transform: scale(0);\n opacity: 0;\n animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n\n.component-tooltip-zoom-big-fast-enter-prepare,\n.component-tooltip-zoom-big-fast-appear-prepare {\n transform: none;\n}\n\n.component-tooltip-zoom-big-fast-leave {\n animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n\n@keyframes componentTooltipZoomBigIn {\n 0% {\n transform: scale(0.8);\n opacity: 0;\n }\n 100% {\n transform: scale(1);\n opacity: 1;\n }\n}\n@keyframes componentTooltipZoomBigOut {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0.8);\n opacity: 0;\n }\n}";
213
213
  styleInject(css_248z);
214
214
 
215
215
  var Tooltip = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
package/Tree/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { T as Tree } from '../_verture/index-e0508c99.js';
2
- export { T as default } from '../_verture/index-e0508c99.js';
1
+ import { T as Tree } from '../_verture/index-22d72b71.js';
2
+ export { T as default } from '../_verture/index-22d72b71.js';
3
3
  import '../_verture/toConsumableArray-f8047a75.js';
4
4
  import '../_verture/slicedToArray-d7722f4b.js';
5
5
  import '../_verture/defineProperty-0590dc61.js';
package/index.js CHANGED
@@ -20,8 +20,8 @@ export { Drawer } from './Drawer/index.js';
20
20
  export { Dropdown } from './Dropdown/index.js';
21
21
  export { default as Empty } from './Empty/index.js';
22
22
  export { default as Form } from './Form/index.js';
23
- export { F as FormItem } from './_verture/index-2a854dc1.js';
24
- export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-44a724b5.js';
23
+ export { F as FormItem } from './_verture/index-f8c1bdf2.js';
24
+ export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-ccfddd8f.js';
25
25
  export { default as GlobalContext, changeConfirmLocale, getConfirmLocale } from './GlobalContext/index.js';
26
26
  export { default as Help } from './Help/index.js';
27
27
  export { default as HelperText } from './HelperText/index.js';
@@ -66,7 +66,7 @@ export { Title } from './Title/index.js';
66
66
  export { ToggleButton, ToggleButtonGroup } from './ToggleButton/index.js';
67
67
  export { Tooltip } from './Tooltip/index.js';
68
68
  export { Transfer } from './Transfer/index.js';
69
- export { T as Tree } from './_verture/index-e0508c99.js';
69
+ export { T as Tree } from './_verture/index-22d72b71.js';
70
70
  export { default as Upload } from './Upload/index.js';
71
71
  import './_verture/slicedToArray-d7722f4b.js';
72
72
  import 'react/jsx-runtime';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@para-ui/core",
3
3
  "private": false,
4
- "version": "3.0.8",
4
+ "version": "3.0.9",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
7
7
  "description": "Powered by Para FED",