@para-ui/core 3.0.71 → 3.0.73
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/ComboSelect/index.js +1 -0
- package/DynamicMultiBox/index.js +1 -0
- package/Form/index.js +2 -1
- package/FormItem/index.js +2 -1
- package/README.md +11 -0
- package/Table/index.js +111 -11
- package/Table/interface.d.ts +5 -1
- package/Table/lang/en_US.d.ts +3 -0
- package/Table/lang/index.d.ts +6 -0
- package/Table/lang/zh_CN.d.ts +3 -0
- package/Table/tablePaginationInterface.d.ts +18 -4
- package/TextField/index.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/umd/ComboSelect.js +4 -4
- package/umd/Desktop.js +1 -1
- package/umd/DynamicMultiBox.js +5 -5
- package/umd/Form.js +4 -4
- package/umd/FormItem.js +4 -4
- package/umd/InputLang.js +1 -1
- package/umd/MultiBox.js +1 -1
- package/umd/Pagination.js +1 -1
- package/umd/Search.js +1 -1
- package/umd/Selector.js +1 -1
- package/umd/SelectorPicker.js +1 -1
- package/umd/SingleBox.js +1 -1
- package/umd/Table.js +4 -4
- package/umd/TextField.js +1 -1
- package/umd/Transfer.js +1 -1
- /package/_verture/{index-0e4acd9d.js → index-30d224cd.js} +0 -0
package/ComboSelect/index.js
CHANGED
|
@@ -40,6 +40,7 @@ import '../Radio/index.js';
|
|
|
40
40
|
import '../Empty/index.js';
|
|
41
41
|
import '../OperateBtn/index.js';
|
|
42
42
|
import '@para-ui/icons/More';
|
|
43
|
+
import '@para-ui/icons/Refresh';
|
|
43
44
|
import '../Pagination/index.js';
|
|
44
45
|
import '../TextField/index.js';
|
|
45
46
|
import '@para-ui/icons/PreviewClose';
|
package/DynamicMultiBox/index.js
CHANGED
|
@@ -67,6 +67,7 @@ import '@para-ui/icons/DownTriangleF';
|
|
|
67
67
|
import '../Radio/index.js';
|
|
68
68
|
import '../OperateBtn/index.js';
|
|
69
69
|
import '@para-ui/icons/More';
|
|
70
|
+
import '@para-ui/icons/Refresh';
|
|
70
71
|
import '../Pagination/index.js';
|
|
71
72
|
import '@para-ui/icons/DoubleLeft';
|
|
72
73
|
import '@para-ui/icons/Left';
|
package/Form/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
|
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
import { DeepClone } from '@paraview/lib';
|
|
5
5
|
import React__default from 'react';
|
|
6
|
-
import { F as FormItem, v as validate } from '../_verture/index-
|
|
6
|
+
import { F as FormItem, v as validate } from '../_verture/index-30d224cd.js';
|
|
7
7
|
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
8
8
|
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
9
9
|
import '../TextField/index.js';
|
|
@@ -63,6 +63,7 @@ import '@para-ui/icons/DownTriangleF';
|
|
|
63
63
|
import '@para-ui/icons/Panel';
|
|
64
64
|
import '../OperateBtn/index.js';
|
|
65
65
|
import '@para-ui/icons/More';
|
|
66
|
+
import '@para-ui/icons/Refresh';
|
|
66
67
|
import '../Pagination/index.js';
|
|
67
68
|
import '@para-ui/icons/DoubleLeft';
|
|
68
69
|
import '@para-ui/icons/Left';
|
package/FormItem/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'react/jsx-runtime';
|
|
2
2
|
import 'react';
|
|
3
|
-
export { F as default } from '../_verture/index-
|
|
3
|
+
export { F as default } from '../_verture/index-30d224cd.js';
|
|
4
4
|
import 'clsx';
|
|
5
5
|
import '../Label/index.js';
|
|
6
6
|
import '../_verture/constant-66aa48a1.js';
|
|
@@ -63,6 +63,7 @@ import '@para-ui/icons/DownTriangleF';
|
|
|
63
63
|
import '@para-ui/icons/Panel';
|
|
64
64
|
import '../OperateBtn/index.js';
|
|
65
65
|
import '@para-ui/icons/More';
|
|
66
|
+
import '@para-ui/icons/Refresh';
|
|
66
67
|
import '../Pagination/index.js';
|
|
67
68
|
import '@para-ui/icons/DoubleLeft';
|
|
68
69
|
import '@para-ui/icons/Left';
|
package/README.md
CHANGED
package/Table/index.js
CHANGED
|
@@ -22,6 +22,7 @@ import { Radio } from '../Radio/index.js';
|
|
|
22
22
|
import Empty from '../Empty/index.js';
|
|
23
23
|
import OperateBtn from '../OperateBtn/index.js';
|
|
24
24
|
import Down from '@para-ui/icons/Down';
|
|
25
|
+
import Refresh from '@para-ui/icons/Refresh';
|
|
25
26
|
import { Pagination } from '../Pagination/index.js';
|
|
26
27
|
import { Loading } from '../Loading/index.js';
|
|
27
28
|
import { u as useGlobalProps } from '../_verture/useGlobalProps-1b846a65.js';
|
|
@@ -335,7 +336,10 @@ var en = {
|
|
|
335
336
|
determine: 'Ok',
|
|
336
337
|
restoreDefault: 'Restore default',
|
|
337
338
|
serial: 'Sort',
|
|
338
|
-
loadMore: 'Load more'
|
|
339
|
+
loadMore: 'Load more',
|
|
340
|
+
refresh: 'Refresh',
|
|
341
|
+
selectNum: 'Selected {num} items',
|
|
342
|
+
selectAll: 'Select All'
|
|
339
343
|
};
|
|
340
344
|
|
|
341
345
|
var zh = {
|
|
@@ -343,7 +347,10 @@ var zh = {
|
|
|
343
347
|
determine: '确定',
|
|
344
348
|
restoreDefault: '恢复默认',
|
|
345
349
|
serial: '序号',
|
|
346
|
-
loadMore: '加载更多'
|
|
350
|
+
loadMore: '加载更多',
|
|
351
|
+
refresh: '刷新',
|
|
352
|
+
selectNum: '已选{num}项',
|
|
353
|
+
selectAll: '全选'
|
|
347
354
|
};
|
|
348
355
|
|
|
349
356
|
var localeJson = {
|
|
@@ -1580,7 +1587,48 @@ var TableHead = function TableHead(props) {
|
|
|
1580
1587
|
rowsPerPage = props.rowsPerPage,
|
|
1581
1588
|
currentRowsPerPage = props.currentRowsPerPage,
|
|
1582
1589
|
changePage = props.changePage,
|
|
1583
|
-
changeRowsPerPage = props.changeRowsPerPage
|
|
1590
|
+
changeRowsPerPage = props.changeRowsPerPage,
|
|
1591
|
+
refreshInside = props.refreshInside,
|
|
1592
|
+
checkCount = props.checkCount,
|
|
1593
|
+
onRefresh = props.onRefresh,
|
|
1594
|
+
selectAll = props.selectAll,
|
|
1595
|
+
selectStatus = props.selectStatus,
|
|
1596
|
+
_props$checkNumber = props.checkNumber,
|
|
1597
|
+
checkNumber = _props$checkNumber === void 0 ? 0 : _props$checkNumber;
|
|
1598
|
+
var intl = useFormatMessage('Table', localeJson);
|
|
1599
|
+
var _useState = useState(false),
|
|
1600
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
1601
|
+
indeterminate = _useState2[0],
|
|
1602
|
+
setIndeterminate = _useState2[1]; // 半选中
|
|
1603
|
+
var _useState3 = useState(false),
|
|
1604
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
1605
|
+
checked = _useState4[0],
|
|
1606
|
+
setChecked = _useState4[1]; // 选中
|
|
1607
|
+
useEffect(function () {
|
|
1608
|
+
// 全选
|
|
1609
|
+
if (selectStatus === 'all') {
|
|
1610
|
+
setChecked(true);
|
|
1611
|
+
setIndeterminate(false);
|
|
1612
|
+
}
|
|
1613
|
+
// 半选
|
|
1614
|
+
if (selectStatus === 'half') {
|
|
1615
|
+
setChecked(false);
|
|
1616
|
+
setIndeterminate(true);
|
|
1617
|
+
}
|
|
1618
|
+
// 不选
|
|
1619
|
+
if (selectStatus === 'not') {
|
|
1620
|
+
setChecked(false);
|
|
1621
|
+
setIndeterminate(false);
|
|
1622
|
+
}
|
|
1623
|
+
}, [selectStatus]);
|
|
1624
|
+
/**
|
|
1625
|
+
* 全选 / 全不选
|
|
1626
|
+
* @param event 操作元素
|
|
1627
|
+
* @param bol 选中 / 不选中
|
|
1628
|
+
*/
|
|
1629
|
+
var onSelectAll = function onSelectAll(event, bol) {
|
|
1630
|
+
if (selectAll) selectAll(event, bol);
|
|
1631
|
+
};
|
|
1584
1632
|
// 改变页面
|
|
1585
1633
|
var changePageCom = function changePageCom(num) {
|
|
1586
1634
|
changePage && changePage(num);
|
|
@@ -1589,10 +1637,43 @@ var TableHead = function TableHead(props) {
|
|
|
1589
1637
|
var changeRowsPerPageCom = function changeRowsPerPageCom(num) {
|
|
1590
1638
|
changeRowsPerPage && changeRowsPerPage(num);
|
|
1591
1639
|
};
|
|
1592
|
-
|
|
1593
|
-
|
|
1640
|
+
// 刷新
|
|
1641
|
+
var clickRefresh = function clickRefresh() {
|
|
1642
|
+
onRefresh && onRefresh();
|
|
1643
|
+
};
|
|
1644
|
+
// 处理分页右侧
|
|
1645
|
+
var handlePaginationRight = function handlePaginationRight() {
|
|
1646
|
+
if (!checkCount) return null;
|
|
1647
|
+
return jsxs("div", Object.assign({
|
|
1648
|
+
className: 'table-pagination-right'
|
|
1649
|
+
}, {
|
|
1650
|
+
children: [jsx(Checkbox, {
|
|
1651
|
+
indeterminate: indeterminate,
|
|
1652
|
+
checked: checked,
|
|
1653
|
+
onChange: onSelectAll
|
|
1654
|
+
}), jsx("span", Object.assign({
|
|
1655
|
+
className: 'all-select'
|
|
1656
|
+
}, {
|
|
1657
|
+
children: intl('selectAll')
|
|
1658
|
+
})), jsx("span", {
|
|
1659
|
+
className: 'line'
|
|
1660
|
+
}), jsxs("span", Object.assign({
|
|
1661
|
+
className: 'check-number'
|
|
1662
|
+
}, {
|
|
1663
|
+
children: [checkNumber, " / ", currentRowsPerPage]
|
|
1664
|
+
}))]
|
|
1665
|
+
}));
|
|
1666
|
+
};
|
|
1667
|
+
// 处理样式
|
|
1668
|
+
var handleClass = function handleClass() {
|
|
1669
|
+
var str = 'table-pagination';
|
|
1670
|
+
return str;
|
|
1671
|
+
};
|
|
1672
|
+
return jsxs("div", Object.assign({
|
|
1673
|
+
className: handleClass()
|
|
1594
1674
|
}, {
|
|
1595
|
-
children: jsx(Pagination, {
|
|
1675
|
+
children: [handlePaginationRight(), jsx(Pagination, {
|
|
1676
|
+
className: 'table-pagination-com',
|
|
1596
1677
|
type: paginationType,
|
|
1597
1678
|
autoType: autoPagination,
|
|
1598
1679
|
flippingArrow: flippingArrow,
|
|
@@ -1605,7 +1686,14 @@ var TableHead = function TableHead(props) {
|
|
|
1605
1686
|
getPopupContainer: function getPopupContainer() {
|
|
1606
1687
|
return document.body;
|
|
1607
1688
|
}
|
|
1608
|
-
})
|
|
1689
|
+
}), refreshInside && jsx(Button.IconButton, Object.assign({
|
|
1690
|
+
className: 'refresh-btn',
|
|
1691
|
+
variant: "outlined",
|
|
1692
|
+
size: "medium",
|
|
1693
|
+
onClick: clickRefresh
|
|
1694
|
+
}, {
|
|
1695
|
+
children: jsx(Refresh, {})
|
|
1696
|
+
}))]
|
|
1609
1697
|
}));
|
|
1610
1698
|
};
|
|
1611
1699
|
|
|
@@ -1655,7 +1743,7 @@ var TableElement = function TableElement(props) {
|
|
|
1655
1743
|
}));
|
|
1656
1744
|
};
|
|
1657
1745
|
|
|
1658
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\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 position: relative;\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-no-data > .table-container > table .paraui-v3-empty {\n overflow: hidden;\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 position: sticky;\n bottom: 0;\n z-index: 10;\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 position: relative;\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 tr.more-table-row td:first-child {\n padding-left: 8px;\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 .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}\n.paraui-v3-filter-popover.paraui-v3-filter-popover-default > .component-popover-content {\n width: 200px;\n}";
|
|
1746
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\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 position: relative;\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-no-data > .table-container > table .paraui-v3-empty {\n overflow: hidden;\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 position: sticky;\n bottom: 0;\n z-index: 10;\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 position: relative;\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 tr.more-table-row td:first-child {\n padding-left: 8px;\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}\n.paraui-v3-table > .table-pagination .table-pagination-right {\n display: flex;\n height: 32px;\n align-items: center;\n color: rgba(46, 55, 67, 0.7);\n line-height: 32px;\n padding-left: 16px;\n}\n.paraui-v3-table > .table-pagination .table-pagination-right .all-select {\n margin-left: 12px;\n}\n.paraui-v3-table > .table-pagination .table-pagination-right .line {\n width: 1px;\n height: 12px;\n background-color: rgba(171, 176, 185, 0.2);\n margin: 0 12px;\n}\n.paraui-v3-table > .table-pagination .table-pagination-right .check-number {\n width: 65px;\n display: inline-block;\n}\n.paraui-v3-table > .table-pagination .table-pagination-com {\n flex: 1;\n justify-content: flex-end;\n}\n.paraui-v3-table > .table-pagination .refresh-btn {\n margin-left: 16px;\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 .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}\n.paraui-v3-filter-popover.paraui-v3-filter-popover-default > .component-popover-content {\n width: 200px;\n}";
|
|
1659
1747
|
styleInject(css_248z);
|
|
1660
1748
|
|
|
1661
1749
|
var Table = function Table(propsInit) {
|
|
@@ -1756,7 +1844,11 @@ var Table = function Table(propsInit) {
|
|
|
1756
1844
|
rowClassMapping = props.rowClassMapping,
|
|
1757
1845
|
getPopupContainer = props.getPopupContainer,
|
|
1758
1846
|
onSort = props.onSort,
|
|
1759
|
-
onError = props.onError
|
|
1847
|
+
onError = props.onError,
|
|
1848
|
+
_props$refreshInside = props.refreshInside,
|
|
1849
|
+
refreshInside = _props$refreshInside === void 0 ? props.url ? true : false : _props$refreshInside,
|
|
1850
|
+
_props$checkCount = props.checkCount,
|
|
1851
|
+
checkCount = _props$checkCount === void 0 ? props.check ? true : false : _props$checkCount;
|
|
1760
1852
|
var intl = useFormatMessage('Table', localeJson);
|
|
1761
1853
|
var dayNum = props.expirationTime ? props.expirationTime === 0 ? 100000000 : props.expirationTime : 7; // 过期天数
|
|
1762
1854
|
var _useState = useState(props.page !== undefined ? props.page : 1),
|
|
@@ -2931,9 +3023,17 @@ var Table = function Table(propsInit) {
|
|
|
2931
3023
|
currentRowsPerPage: sizeCom,
|
|
2932
3024
|
rowsPerPage: sizeArrCom,
|
|
2933
3025
|
changePage: changePage,
|
|
2934
|
-
changeRowsPerPage: changeRowsPerPage
|
|
3026
|
+
changeRowsPerPage: changeRowsPerPage,
|
|
3027
|
+
refreshInside: refreshInside,
|
|
3028
|
+
checkCount: checkCount,
|
|
3029
|
+
onRefresh: function onRefresh() {
|
|
3030
|
+
return setRefreshCom(Math.random());
|
|
3031
|
+
},
|
|
3032
|
+
selectStatus: headSelectStatus,
|
|
3033
|
+
selectAll: setAllCheck,
|
|
3034
|
+
checkNumber: Object.keys(checkJson).length
|
|
2935
3035
|
});
|
|
2936
|
-
}, [total, pageCom, sizeCom, sizeArrCom, pagination, loadMore, autoPagination, paginationType, flippingArrow]);
|
|
3036
|
+
}, [total, pageCom, sizeCom, sizeArrCom, pagination, loadMore, autoPagination, paginationType, flippingArrow, refreshInside, checkCount, headSelectStatus, rowData, checkJson, disabledJson]);
|
|
2937
3037
|
// 表格内容滚动
|
|
2938
3038
|
var tableBoxScroll = function tableBoxScroll(e) {
|
|
2939
3039
|
var dom = tableRef.current;
|
package/Table/interface.d.ts
CHANGED
|
@@ -116,7 +116,7 @@ export interface TableHeadBodyPublicProps {
|
|
|
116
116
|
headData?: HeadDataProps[];
|
|
117
117
|
/** 是否嵌套 */
|
|
118
118
|
expandable?: Function;
|
|
119
|
-
/**
|
|
119
|
+
/** 是否开启复选框 */
|
|
120
120
|
check?: boolean;
|
|
121
121
|
/** 是否开启单选 */
|
|
122
122
|
radio?: boolean;
|
|
@@ -159,6 +159,8 @@ export interface TableProps extends TableHeadBodyPublicProps {
|
|
|
159
159
|
emptyProps?: EmptyProps;
|
|
160
160
|
/** 刷新表格 */
|
|
161
161
|
refresh?: any;
|
|
162
|
+
/** 内置刷新 */
|
|
163
|
+
refreshInside?: boolean;
|
|
162
164
|
/** 请求地址 */
|
|
163
165
|
url?: string;
|
|
164
166
|
/** 请求上下文 */
|
|
@@ -191,6 +193,8 @@ export interface TableProps extends TableHeadBodyPublicProps {
|
|
|
191
193
|
requestCallback?: (data: any, cb: (data: any) => void) => void;
|
|
192
194
|
/** 默认复选框选中值 */
|
|
193
195
|
checkDefaultValue?: any[];
|
|
196
|
+
/** 显示已选条数 */
|
|
197
|
+
checkCount?: boolean;
|
|
194
198
|
/** 设置复选框选中值 */
|
|
195
199
|
setCheck?: (arr: any, data: any) => void;
|
|
196
200
|
/** 默认单选选中值 */
|
package/Table/lang/en_US.d.ts
CHANGED
package/Table/lang/index.d.ts
CHANGED
|
@@ -5,6 +5,9 @@ declare const _default: {
|
|
|
5
5
|
restoreDefault: string;
|
|
6
6
|
serial: string;
|
|
7
7
|
loadMore: string;
|
|
8
|
+
refresh: string;
|
|
9
|
+
selectNum: string;
|
|
10
|
+
selectAll: string;
|
|
8
11
|
};
|
|
9
12
|
en: {
|
|
10
13
|
empty: string;
|
|
@@ -12,6 +15,9 @@ declare const _default: {
|
|
|
12
15
|
restoreDefault: string;
|
|
13
16
|
serial: string;
|
|
14
17
|
loadMore: string;
|
|
18
|
+
refresh: string;
|
|
19
|
+
selectNum: string;
|
|
20
|
+
selectAll: string;
|
|
15
21
|
};
|
|
16
22
|
};
|
|
17
23
|
export default _default;
|
package/Table/lang/zh_CN.d.ts
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @author linhd
|
|
3
|
-
* @date 2021/8/6 11:07
|
|
4
|
-
* @description 表格分页参数
|
|
5
|
-
*/
|
|
2
|
+
* @author linhd
|
|
3
|
+
* @date 2021/8/6 11:07
|
|
4
|
+
* @description 表格分页参数
|
|
5
|
+
*/
|
|
6
6
|
import { PaginationFlippingArrow, PaginationLayout } from "../Pagination";
|
|
7
|
+
import React from "react";
|
|
8
|
+
import { SelectStatus } from "./interface";
|
|
7
9
|
/** 表格分页参数 */
|
|
8
10
|
export interface TablePaginationProps {
|
|
11
|
+
/** 内置刷新 */
|
|
12
|
+
refreshInside?: boolean;
|
|
13
|
+
/** 显示已选条数 */
|
|
14
|
+
checkCount?: boolean;
|
|
9
15
|
/** 自适应分页,根据外容器大小,改变分页模式 */
|
|
10
16
|
autoPagination?: boolean;
|
|
11
17
|
/** 分页模式 */
|
|
@@ -24,4 +30,12 @@ export interface TablePaginationProps {
|
|
|
24
30
|
changePage?: (num?: number) => void;
|
|
25
31
|
/** 改变每页行数 */
|
|
26
32
|
changeRowsPerPage?: (num: number) => void;
|
|
33
|
+
/** 刷新表格 */
|
|
34
|
+
onRefresh?: () => void;
|
|
35
|
+
/** 全选事件 */
|
|
36
|
+
selectAll?: (event: React.ChangeEvent<HTMLInputElement>, checked: boolean) => void;
|
|
37
|
+
/** 选中状态 */
|
|
38
|
+
selectStatus?: SelectStatus;
|
|
39
|
+
/** 选中个数 */
|
|
40
|
+
checkNumber?: number;
|
|
27
41
|
}
|
package/TextField/index.js
CHANGED
|
@@ -480,7 +480,7 @@ var TextField = function TextField(props) {
|
|
|
480
480
|
children: [jsxs("div", Object.assign({
|
|
481
481
|
className: "text-field-content-within-input"
|
|
482
482
|
}, {
|
|
483
|
-
children: [renderInputDom(),
|
|
483
|
+
children: [renderInputDom(), !handValue() && jsx("span", Object.assign({
|
|
484
484
|
className: "text-field-label-placeholder",
|
|
485
485
|
onClick: clickPlaceholder
|
|
486
486
|
}, {
|
package/index.js
CHANGED
|
@@ -22,7 +22,7 @@ export { D as Dropdown } from './_verture/index-77f9e0fb.js';
|
|
|
22
22
|
export { default as DynamicMultiBox } from './DynamicMultiBox/index.js';
|
|
23
23
|
export { default as Empty } from './Empty/index.js';
|
|
24
24
|
export { default as Form } from './Form/index.js';
|
|
25
|
-
export { F as FormItem } from './_verture/index-
|
|
25
|
+
export { F as FormItem } from './_verture/index-30d224cd.js';
|
|
26
26
|
export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-626629cf.js';
|
|
27
27
|
export { default as GlobalContext, changeConfirmLocale, getConfirmLocale } from './GlobalContext/index.js';
|
|
28
28
|
export { default as Help } from './Help/index.js';
|