@para-ui/core 3.0.24 → 3.0.26
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/AutoBox/index.js +1 -1
- package/Breadcrumbs/index.js +1 -1
- package/Button/index.js +2 -2
- package/ButtonGroup/index.js +2 -2
- package/ComboSelect/index.js +2 -2
- package/DatePicker/index.js +18 -62
- package/DatePicker/util.d.ts +1 -0
- package/Desktop/index.js +2 -2
- package/Drawer/index.js +2 -2
- package/Dropdown/index.js +2 -2
- package/Form/index.js +3 -3
- package/FormItem/index.js +3 -3
- package/FunctionModal/index.js +4 -4
- package/InputLang/index.js +2 -2
- package/Menu/index.js +54 -10
- package/Menu/interface.d.ts +2 -0
- package/Modal/index.js +2 -2
- package/MultiBox/index.js +2 -2
- package/OperateBtn/index.js +2 -2
- package/PageHeader/index.js +53 -10
- package/PageHeader/interface.d.ts +2 -0
- package/Pagination/index.js +2 -2
- package/PasswordRules/index.d.ts +46 -0
- package/PasswordRules/index.js +131 -0
- package/PopConfirm/index.js +2 -2
- package/Popover/index.js +1 -1
- package/README.md +27 -0
- package/Search/index.js +2 -2
- package/Select/index.js +2 -2
- package/SelectInput/index.js +2 -2
- package/Selector/index.js +2 -2
- package/SelectorPicker/index.js +2 -2
- package/SingleBox/index.js +2 -2
- package/Table/index.js +25 -16
- package/Tabs/index.js +2 -2
- package/TextField/index.js +2 -2
- package/TimePicker/index.js +2 -2
- package/ToggleButton/index.js +2 -2
- package/Transfer/index.js +2 -2
- package/Upload/index.js +2 -2
- package/_verture/{index-cef53318.js → index-57346075.js} +1 -1
- package/_verture/{index-ffd2b2cb.js → index-bbed73a3.js} +44 -16
- package/_verture/{modalContext-ba1b0528.js → modalContext-d646d9db.js} +0 -0
- package/_verture/{usePopupContainer-7bbd7720.js → usePopupContainer-b8ab7cab.js} +13 -3
- package/index.d.ts +2 -0
- package/index.js +6 -4
- package/package.json +1 -1
package/Pagination/index.js
CHANGED
|
@@ -25,9 +25,9 @@ import '../Tooltip/index.js';
|
|
|
25
25
|
import 'rc-tooltip';
|
|
26
26
|
import 'rc-tooltip/lib/placements';
|
|
27
27
|
import '@para-ui/icons/Help';
|
|
28
|
-
import '../_verture/index-
|
|
28
|
+
import '../_verture/index-bbed73a3.js';
|
|
29
29
|
import 'rc-dropdown';
|
|
30
|
-
import '../_verture/usePopupContainer-
|
|
30
|
+
import '../_verture/usePopupContainer-b8ab7cab.js';
|
|
31
31
|
import 'dayjs';
|
|
32
32
|
import '@paraview/lib';
|
|
33
33
|
import '@para-ui/icons/Close';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author linhd
|
|
3
|
+
* @date 2022/11/29 10:33 AM
|
|
4
|
+
* @description 密码规则
|
|
5
|
+
*/
|
|
6
|
+
import React, { FunctionComponent, ReactNode } from 'react';
|
|
7
|
+
import './index.scss';
|
|
8
|
+
export interface PasswordRulesConfigItemProps {
|
|
9
|
+
/** 文案 */
|
|
10
|
+
label?: ReactNode;
|
|
11
|
+
/** 正则 正则表达式 */
|
|
12
|
+
reg?: any;
|
|
13
|
+
/** 自定义校验方法
|
|
14
|
+
* item: 当前项配置
|
|
15
|
+
* value: 校验值
|
|
16
|
+
* 返回值:
|
|
17
|
+
* boolean: 表示是否校验通过,true通过
|
|
18
|
+
* ReactNode: 校验失败,当前显示的文本
|
|
19
|
+
*/
|
|
20
|
+
validator?: (item: PasswordRulesConfigItemProps, value: string) => boolean | ReactNode;
|
|
21
|
+
[name: string]: any;
|
|
22
|
+
}
|
|
23
|
+
export interface PasswordRulesConfigProps {
|
|
24
|
+
/** 标题 */
|
|
25
|
+
title?: ReactNode;
|
|
26
|
+
/** 渲染类型 图标 / 序列,默认图标 */
|
|
27
|
+
type?: 'icon' | 'order';
|
|
28
|
+
/** 规则列表 */
|
|
29
|
+
list?: PasswordRulesConfigItemProps[];
|
|
30
|
+
[name: string]: any;
|
|
31
|
+
}
|
|
32
|
+
export interface PasswordRulesProps {
|
|
33
|
+
/** 样式class */
|
|
34
|
+
className?: string;
|
|
35
|
+
/** style */
|
|
36
|
+
style?: React.CSSProperties;
|
|
37
|
+
/** 是否带有边框阴影 */
|
|
38
|
+
boxShadow?: boolean;
|
|
39
|
+
/** 需要校验的值 */
|
|
40
|
+
value?: string;
|
|
41
|
+
/** 配置 */
|
|
42
|
+
config?: PasswordRulesConfigProps | PasswordRulesConfigProps[];
|
|
43
|
+
[name: string]: any;
|
|
44
|
+
}
|
|
45
|
+
declare const PasswordRules: FunctionComponent<PasswordRulesProps>;
|
|
46
|
+
export default PasswordRules;
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
import { $ as $prefixCls } from '../_verture/constant-bf34e6fa.js';
|
|
3
|
+
import CheckCircle from '@para-ui/icons/CheckCircle';
|
|
4
|
+
import CompleteIcon from '@para-ui/icons/CheckCircleF';
|
|
5
|
+
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
6
|
+
|
|
7
|
+
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.paraui-v3-password-rules {\n padding: 14px 16px;\n line-height: 1.43;\n}\n.paraui-v3-password-rules > .password-rules-item:first-child > .password-rules-item-title {\n margin-top: 0px;\n}\n.paraui-v3-password-rules > .password-rules-item > .password-rules-item-title {\n font-size: 14px;\n color: rgb(46, 55, 67);\n font-weight: 700;\n margin-bottom: 6px;\n margin-top: 10px;\n}\n.paraui-v3-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail {\n display: flex;\n margin-bottom: 6px;\n}\n.paraui-v3-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail:last-child {\n margin-bottom: 0;\n}\n.paraui-v3-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail > .item-flag {\n min-width: 24px;\n}\n.paraui-v3-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail > .item-label {\n flex: 1;\n font-size: 14px;\n color: rgb(46, 55, 67);\n}\n.paraui-v3-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-icon > .item-flag {\n margin-top: 0px;\n line-height: 1;\n}\n.paraui-v3-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-icon > .item-flag svg {\n font-size: 16px;\n color: rgba(46, 55, 67, 0.7);\n margin-top: 2px;\n}\n.paraui-v3-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-order > .item-flag {\n margin-top: -1px;\n}\n.paraui-v3-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-success.rules-item-detail-icon > .item-flag svg {\n color: rgb(83, 195, 27);\n}\n.paraui-v3-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-error.rules-item-detail-order > .item-flag {\n color: rgb(235, 96, 84);\n}\n.paraui-v3-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-error.rules-item-detail-order > .item-label {\n color: rgb(235, 96, 84);\n}\n.paraui-v3-password-rules.paraui-v3-password-rules-box-shadow {\n box-shadow: 0px 2px 8px 0px rgba(171, 176, 185, 0.4);\n border-radius: 4px;\n}";
|
|
8
|
+
styleInject(css_248z);
|
|
9
|
+
|
|
10
|
+
var PasswordRules = function PasswordRules(props) {
|
|
11
|
+
var className = props.className,
|
|
12
|
+
style = props.style,
|
|
13
|
+
_props$boxShadow = props.boxShadow,
|
|
14
|
+
boxShadow = _props$boxShadow === void 0 ? false : _props$boxShadow,
|
|
15
|
+
value = props.value,
|
|
16
|
+
config = props.config;
|
|
17
|
+
|
|
18
|
+
var handConfig = function handConfig() {
|
|
19
|
+
if (!config) return [];
|
|
20
|
+
return config instanceof Array ? config : [config];
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
var configCom = handConfig();
|
|
24
|
+
/** 处理每一项 */
|
|
25
|
+
|
|
26
|
+
var handContentItem = function handContentItem(item) {
|
|
27
|
+
var list = item.list || [];
|
|
28
|
+
var type = item.type || 'icon';
|
|
29
|
+
|
|
30
|
+
var handRuleItem = function handRuleItem(listItem, inx) {
|
|
31
|
+
// 判断校验
|
|
32
|
+
var result;
|
|
33
|
+
|
|
34
|
+
if (value !== undefined) {
|
|
35
|
+
// 正则
|
|
36
|
+
if (listItem.reg) {
|
|
37
|
+
try {
|
|
38
|
+
result = listItem.reg.test(value);
|
|
39
|
+
} catch (e) {
|
|
40
|
+
console.log(e);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
if (listItem.validator) {
|
|
45
|
+
result = listItem.validator(listItem, value);
|
|
46
|
+
}
|
|
47
|
+
} // 处理标志
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
var handFlag = function handFlag() {
|
|
51
|
+
if (type === 'order') {
|
|
52
|
+
return inx + 1 + '、';
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
if (result === true) return jsx(CompleteIcon, {}); // 成功
|
|
56
|
+
|
|
57
|
+
return jsx(CheckCircle, {});
|
|
58
|
+
}; // 处理内容
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
var handLabel = function handLabel() {
|
|
62
|
+
if (typeof result !== "boolean" && result) return result;
|
|
63
|
+
return listItem.label;
|
|
64
|
+
}; // 处理样式
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
var handClassRulesItem = function handClassRulesItem() {
|
|
68
|
+
var str = 'rules-item-detail';
|
|
69
|
+
str += ' rules-item-detail-' + type;
|
|
70
|
+
|
|
71
|
+
if (typeof result === "boolean" && result) {
|
|
72
|
+
str += ' rules-item-detail-success';
|
|
73
|
+
} else {
|
|
74
|
+
if (result !== undefined) str += ' rules-item-detail-error';
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return str;
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
return jsxs("div", Object.assign({
|
|
81
|
+
className: handClassRulesItem()
|
|
82
|
+
}, {
|
|
83
|
+
children: [jsx("span", Object.assign({
|
|
84
|
+
className: "item-flag"
|
|
85
|
+
}, {
|
|
86
|
+
children: handFlag()
|
|
87
|
+
})), jsx("span", Object.assign({
|
|
88
|
+
className: "item-label"
|
|
89
|
+
}, {
|
|
90
|
+
children: handLabel()
|
|
91
|
+
}))]
|
|
92
|
+
}), inx);
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
return jsx("div", Object.assign({
|
|
96
|
+
className: "password-rules-item-content"
|
|
97
|
+
}, {
|
|
98
|
+
children: list.map(function (listItem, index) {
|
|
99
|
+
return handRuleItem(listItem, index);
|
|
100
|
+
})
|
|
101
|
+
}));
|
|
102
|
+
};
|
|
103
|
+
/** 处理className */
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
var handClass = function handClass() {
|
|
107
|
+
var str = $prefixCls + '-password-rules';
|
|
108
|
+
if (className) str += ' ' + className;
|
|
109
|
+
if (boxShadow) str += ' ' + $prefixCls + '-password-rules-box-shadow';
|
|
110
|
+
return str;
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
return jsx("div", Object.assign({
|
|
114
|
+
className: handClass(),
|
|
115
|
+
style: style
|
|
116
|
+
}, {
|
|
117
|
+
children: configCom.map(function (item, index) {
|
|
118
|
+
return jsxs("div", Object.assign({
|
|
119
|
+
className: 'password-rules-item'
|
|
120
|
+
}, {
|
|
121
|
+
children: [jsx("div", Object.assign({
|
|
122
|
+
className: "password-rules-item-title"
|
|
123
|
+
}, {
|
|
124
|
+
children: item.title
|
|
125
|
+
})), handContentItem(item)]
|
|
126
|
+
}), index);
|
|
127
|
+
})
|
|
128
|
+
}));
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
export { PasswordRules as default };
|
package/PopConfirm/index.js
CHANGED
|
@@ -11,13 +11,13 @@ import { Tooltip } from '../Tooltip/index.js';
|
|
|
11
11
|
import clsx from 'clsx';
|
|
12
12
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-f4452258.js';
|
|
13
13
|
import { $ as $prefixCls } from '../_verture/constant-bf34e6fa.js';
|
|
14
|
-
import { u as usePopupContainer } from '../_verture/usePopupContainer-
|
|
14
|
+
import { u as usePopupContainer } from '../_verture/usePopupContainer-b8ab7cab.js';
|
|
15
15
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
16
16
|
import '../_verture/typeof-498dd2b1.js';
|
|
17
17
|
import '@para-ui/icons/LoadingF';
|
|
18
18
|
import '@para-ui/icons/Forbid';
|
|
19
19
|
import '@para-ui/icons/Down';
|
|
20
|
-
import '../_verture/index-
|
|
20
|
+
import '../_verture/index-bbed73a3.js';
|
|
21
21
|
import 'rc-dropdown';
|
|
22
22
|
import 'dayjs';
|
|
23
23
|
import '@paraview/lib';
|
package/Popover/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
|
3
3
|
import React__default from 'react';
|
|
4
4
|
import { Tooltip } from '../Tooltip/index.js';
|
|
5
5
|
import { $ as $prefixCls, a as $rcPrefixCls } from '../_verture/constant-bf34e6fa.js';
|
|
6
|
-
import { u as usePopupContainer } from '../_verture/usePopupContainer-
|
|
6
|
+
import { u as usePopupContainer } from '../_verture/usePopupContainer-b8ab7cab.js';
|
|
7
7
|
import clsx from 'clsx';
|
|
8
8
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
9
9
|
import '../_verture/slicedToArray-d7722f4b.js';
|
package/README.md
CHANGED
|
@@ -1,4 +1,28 @@
|
|
|
1
|
+
## 版本: 3.0.26
|
|
2
|
+
|
|
3
|
+
para-ui/core@3.0.26 发布
|
|
4
|
+
【表格-Table】修复该表格本地过滤清空错误
|
|
5
|
+
【菜单-Menu】菜单最后一级增加a标签右键模式
|
|
6
|
+
【页头-PageHeader】菜单最后一级增加a标签右键模式
|
|
7
|
+
|
|
8
|
+
## 版本: 3.0.25
|
|
9
|
+
|
|
10
|
+
para-ui/core@3.0.25 发布
|
|
11
|
+
【表单-Form】修复表单组件输入框多行文本,下间距有空隙
|
|
12
|
+
【表格-Table】修复表格加载更多,滚动以后被遮挡,设置zIndex为100
|
|
13
|
+
【密码规则-PasswordRules】新增密码规则
|
|
14
|
+
【日期选择框-DatePicker
|
|
15
|
+
时间选择框-TimePicker
|
|
16
|
+
下拉框-Select
|
|
17
|
+
下拉选择器-SelectorPicker
|
|
18
|
+
下拉输入-SelectInput
|
|
19
|
+
组合选择器-ComboSelect
|
|
20
|
+
气泡确认框-PopConfirm
|
|
21
|
+
弹出框-Popover
|
|
22
|
+
】默认挂载容器须同时满足overflow属性和出现滚动条,否则挂载到body
|
|
23
|
+
|
|
1
24
|
## 版本: 3.0.24
|
|
25
|
+
|
|
2
26
|
para-ui/core@3.0.24 发布
|
|
3
27
|
【下拉选择器-SelectPicker】修改单选,选择不消失
|
|
4
28
|
【下拉选择器-SelectPicker】修复最大宽高限制,修复placeholder超出问题
|
|
@@ -11,6 +35,7 @@
|
|
|
11
35
|
【下拉浮层-Dropdown】增加isolationPopupOnHide属性用于隔离dom污染
|
|
12
36
|
|
|
13
37
|
## 版本: 3.0.23
|
|
38
|
+
|
|
14
39
|
para-ui/core@3.0.23 发布
|
|
15
40
|
【组合选择器-ComboSelect】修改组合选择器,未监听onChange,onClear事件,导致外部数据不是最新值
|
|
16
41
|
【表格-Table】新增defaultSortValue默认排序值,defaultFilterValue默认过滤值,只在第一次渲染表格生效
|
|
@@ -21,6 +46,7 @@
|
|
|
21
46
|
【数字输入框-InputNumber】禁用的时候去除左右空白
|
|
22
47
|
|
|
23
48
|
## 版本: 3.0.22
|
|
49
|
+
|
|
24
50
|
para-ui/core@3.0.22 发布
|
|
25
51
|
【选择器-Selector】增加selectRenderItem,selectRender自定义选中项渲染
|
|
26
52
|
【状态-Status】增加状态组件
|
|
@@ -33,6 +59,7 @@
|
|
|
33
59
|
【滑动输入条-Slider】修改禁用时色值,调整数值内边距
|
|
34
60
|
|
|
35
61
|
## 版本: 3.0.21
|
|
62
|
+
|
|
36
63
|
para-ui/core@3.0.21 发布
|
|
37
64
|
【穿梭框-Transfer】优化穿梭框,修改onChange返回值,增加render方法
|
|
38
65
|
【搜索框-Search】修改内置按钮,无按钮文字,图标间距
|
package/Search/index.js
CHANGED
|
@@ -25,9 +25,9 @@ import '@para-ui/icons/LoadingF';
|
|
|
25
25
|
import '../HelperText/index.js';
|
|
26
26
|
import '../_verture/useGlobalProps-af9a2af6.js';
|
|
27
27
|
import '@para-ui/core/GlobalContext';
|
|
28
|
-
import '../_verture/index-
|
|
28
|
+
import '../_verture/index-bbed73a3.js';
|
|
29
29
|
import 'rc-dropdown';
|
|
30
|
-
import '../_verture/usePopupContainer-
|
|
30
|
+
import '../_verture/usePopupContainer-b8ab7cab.js';
|
|
31
31
|
import 'dayjs';
|
|
32
32
|
import '@para-ui/icons/Forbid';
|
|
33
33
|
import '@para-ui/icons/Down';
|
package/Select/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
|
6
6
|
import React__default, { useRef, useState, useEffect, useMemo } from 'react';
|
|
7
7
|
import Empty from '../Empty/index.js';
|
|
8
8
|
import Label from '../Label/index.js';
|
|
9
|
-
import { D as Dropdown } from '../_verture/index-
|
|
9
|
+
import { D as Dropdown } from '../_verture/index-bbed73a3.js';
|
|
10
10
|
import { UUID, DeepClone } from '@paraview/lib';
|
|
11
11
|
import GlobalContext from '@para-ui/core/GlobalContext';
|
|
12
12
|
import CloseIcon from '@para-ui/icons/Close';
|
|
@@ -30,7 +30,7 @@ import 'rc-tooltip';
|
|
|
30
30
|
import 'rc-tooltip/lib/placements';
|
|
31
31
|
import '@para-ui/icons/Help';
|
|
32
32
|
import 'rc-dropdown';
|
|
33
|
-
import '../_verture/usePopupContainer-
|
|
33
|
+
import '../_verture/usePopupContainer-b8ab7cab.js';
|
|
34
34
|
import 'dayjs';
|
|
35
35
|
import '@para-ui/icons/LoadingF';
|
|
36
36
|
|
package/SelectInput/index.js
CHANGED
|
@@ -19,9 +19,9 @@ import '../Tooltip/index.js';
|
|
|
19
19
|
import 'rc-tooltip';
|
|
20
20
|
import 'rc-tooltip/lib/placements';
|
|
21
21
|
import '@para-ui/icons/Help';
|
|
22
|
-
import '../_verture/index-
|
|
22
|
+
import '../_verture/index-bbed73a3.js';
|
|
23
23
|
import 'rc-dropdown';
|
|
24
|
-
import '../_verture/usePopupContainer-
|
|
24
|
+
import '../_verture/usePopupContainer-b8ab7cab.js';
|
|
25
25
|
import 'dayjs';
|
|
26
26
|
import '@paraview/lib';
|
|
27
27
|
import '@para-ui/icons/Close';
|
package/Selector/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import 'rc-tooltip';
|
|
|
27
27
|
import 'rc-tooltip/lib/placements';
|
|
28
28
|
import 'clsx';
|
|
29
29
|
import '@para-ui/icons/Help';
|
|
30
|
-
import '../_verture/usePopupContainer-
|
|
30
|
+
import '../_verture/usePopupContainer-b8ab7cab.js';
|
|
31
31
|
import '@para-ui/icons/LoadingF';
|
|
32
32
|
import '@para-ui/core/GlobalContext';
|
|
33
33
|
import '../TextField/index.js';
|
|
@@ -36,7 +36,7 @@ import '@para-ui/icons/PreviewClose';
|
|
|
36
36
|
import '@para-ui/icons/PreviewOpen';
|
|
37
37
|
import '@para-ui/icons/CloseCircle';
|
|
38
38
|
import '../HelperText/index.js';
|
|
39
|
-
import '../_verture/index-
|
|
39
|
+
import '../_verture/index-bbed73a3.js';
|
|
40
40
|
import 'rc-dropdown';
|
|
41
41
|
import 'dayjs';
|
|
42
42
|
import '../Button/index.js';
|
package/SelectorPicker/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { useState, useRef, Fragment as Fragment$1 } from 'react';
|
|
|
6
6
|
import clsx from 'clsx';
|
|
7
7
|
import HelperText from '../HelperText/index.js';
|
|
8
8
|
import Label from '../Label/index.js';
|
|
9
|
-
import { D as Dropdown } from '../_verture/index-
|
|
9
|
+
import { D as Dropdown } from '../_verture/index-bbed73a3.js';
|
|
10
10
|
import Selector, { handFieldConfig } from '../Selector/index.js';
|
|
11
11
|
import AutoTips from '../AutoTips/index.js';
|
|
12
12
|
import CloseCircle from '@para-ui/icons/CloseCircle';
|
|
@@ -21,7 +21,7 @@ import 'rc-tooltip';
|
|
|
21
21
|
import 'rc-tooltip/lib/placements';
|
|
22
22
|
import '@para-ui/icons/Help';
|
|
23
23
|
import 'rc-dropdown';
|
|
24
|
-
import '../_verture/usePopupContainer-
|
|
24
|
+
import '../_verture/usePopupContainer-b8ab7cab.js';
|
|
25
25
|
import 'dayjs';
|
|
26
26
|
import '@paraview/lib';
|
|
27
27
|
import '../_verture/index-342379c6.js';
|
package/SingleBox/index.js
CHANGED
|
@@ -25,9 +25,9 @@ import '../Loading/index.js';
|
|
|
25
25
|
import '@para-ui/icons/LoadingF';
|
|
26
26
|
import '../_verture/useGlobalProps-af9a2af6.js';
|
|
27
27
|
import '@para-ui/core/GlobalContext';
|
|
28
|
-
import '../_verture/index-
|
|
28
|
+
import '../_verture/index-bbed73a3.js';
|
|
29
29
|
import 'rc-dropdown';
|
|
30
|
-
import '../_verture/usePopupContainer-
|
|
30
|
+
import '../_verture/usePopupContainer-b8ab7cab.js';
|
|
31
31
|
import 'dayjs';
|
|
32
32
|
import '../Help/index.js';
|
|
33
33
|
import '@para-ui/icons/Help';
|
package/Table/index.js
CHANGED
|
@@ -29,13 +29,13 @@ import '../Tooltip/index.js';
|
|
|
29
29
|
import 'rc-tooltip';
|
|
30
30
|
import 'rc-tooltip/lib/placements';
|
|
31
31
|
import 'clsx';
|
|
32
|
-
import '../_verture/usePopupContainer-
|
|
32
|
+
import '../_verture/usePopupContainer-b8ab7cab.js';
|
|
33
33
|
import '../Label/index.js';
|
|
34
34
|
import '../Help/index.js';
|
|
35
35
|
import '@para-ui/icons/Help';
|
|
36
36
|
import '@para-ui/icons/LoadingF';
|
|
37
37
|
import '@para-ui/icons/Forbid';
|
|
38
|
-
import '../_verture/index-
|
|
38
|
+
import '../_verture/index-bbed73a3.js';
|
|
39
39
|
import 'rc-dropdown';
|
|
40
40
|
import 'dayjs';
|
|
41
41
|
import '@para-ui/core/GlobalContext';
|
|
@@ -1812,7 +1812,7 @@ var TableElement = function TableElement(props) {
|
|
|
1812
1812
|
}));
|
|
1813
1813
|
};
|
|
1814
1814
|
|
|
1815
|
-
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}\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}";
|
|
1815
|
+
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}\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 z-index: 100;\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 {\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}";
|
|
1816
1816
|
styleInject(css_248z);
|
|
1817
1817
|
|
|
1818
1818
|
var Table = function Table(propsInit) {
|
|
@@ -2130,9 +2130,9 @@ var Table = function Table(propsInit) {
|
|
|
2130
2130
|
|
|
2131
2131
|
useEffect(function () {
|
|
2132
2132
|
if (data) {
|
|
2133
|
-
var
|
|
2133
|
+
var dataHand = handLocalData();
|
|
2134
|
+
var handTotalDataJson = ArrayToObject(rowKey, dataHand);
|
|
2134
2135
|
setTotalDataJson(handTotalDataJson);
|
|
2135
|
-
constData.current.data = data;
|
|
2136
2136
|
setRefreshCom(Math.random());
|
|
2137
2137
|
}
|
|
2138
2138
|
}, [data]);
|
|
@@ -2215,14 +2215,7 @@ var Table = function Table(propsInit) {
|
|
|
2215
2215
|
}
|
|
2216
2216
|
|
|
2217
2217
|
if (constData.current.data) {
|
|
2218
|
-
var dataT =
|
|
2219
|
-
|
|
2220
|
-
if (constData.current.data instanceof Array) {
|
|
2221
|
-
dataT = constData.current.data;
|
|
2222
|
-
} else {
|
|
2223
|
-
dataT = constData.current.data.list;
|
|
2224
|
-
}
|
|
2225
|
-
|
|
2218
|
+
var dataT = handLocalData();
|
|
2226
2219
|
dataT = filterSearchData(dataT); // 过滤数据
|
|
2227
2220
|
|
|
2228
2221
|
if (pagination) {
|
|
@@ -2321,8 +2314,24 @@ var Table = function Table(propsInit) {
|
|
|
2321
2314
|
target: containerRef.current
|
|
2322
2315
|
});
|
|
2323
2316
|
});
|
|
2317
|
+
/** 处理本地data */
|
|
2318
|
+
|
|
2319
|
+
var handLocalData = function handLocalData() {
|
|
2320
|
+
var _a;
|
|
2321
|
+
|
|
2322
|
+
var dataT = [];
|
|
2323
|
+
|
|
2324
|
+
if (constData.current.data instanceof Array) {
|
|
2325
|
+
dataT = constData.current.data;
|
|
2326
|
+
} else {
|
|
2327
|
+
dataT = (_a = constData.current.data) === null || _a === void 0 ? void 0 : _a.list;
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2330
|
+
return dataT;
|
|
2331
|
+
};
|
|
2324
2332
|
/** 本地数据过滤搜索数据 */
|
|
2325
2333
|
|
|
2334
|
+
|
|
2326
2335
|
var filterSearchData = function filterSearchData(arr) {
|
|
2327
2336
|
var filterKeys = Object.keys(constData.current.selectFilterCom || {});
|
|
2328
2337
|
var handArr = [];
|
|
@@ -2344,7 +2353,7 @@ var Table = function Table(propsInit) {
|
|
|
2344
2353
|
var filterVal = constData.current.selectFilterCom[name];
|
|
2345
2354
|
var val = item[name]; // 不满足当前过滤的数据,过滤掉
|
|
2346
2355
|
|
|
2347
|
-
if (filterVal.indexOf(val) === -1) {
|
|
2356
|
+
if (filterVal.length > 0 && filterVal.indexOf(val) === -1) {
|
|
2348
2357
|
bol = false;
|
|
2349
2358
|
continue;
|
|
2350
2359
|
}
|
|
@@ -2364,7 +2373,7 @@ var Table = function Table(propsInit) {
|
|
|
2364
2373
|
/** 处理本地搜索, 返回true满足搜索条件 */
|
|
2365
2374
|
|
|
2366
2375
|
|
|
2367
|
-
var handLocalSearch = function handLocalSearch(
|
|
2376
|
+
var handLocalSearch = function handLocalSearch(item) {
|
|
2368
2377
|
var searchKey;
|
|
2369
2378
|
|
|
2370
2379
|
if (constData.current.search && typeof constData.current.search !== "string" && constData.current.search.searchKey) {
|
|
@@ -2374,7 +2383,7 @@ var Table = function Table(propsInit) {
|
|
|
2374
2383
|
if (searchKey !== undefined && constData.current.searchKeyName && constData.current.searchKeyName.length > 0) {
|
|
2375
2384
|
for (var i = 0, l = constData.current.searchKeyName.length; i < l; i++) {
|
|
2376
2385
|
var name = constData.current.searchKeyName[i];
|
|
2377
|
-
var nameVal =
|
|
2386
|
+
var nameVal = item[name];
|
|
2378
2387
|
|
|
2379
2388
|
if (nameVal.indexOf(searchKey) !== -1) {
|
|
2380
2389
|
// 存在一项就满足
|
package/Tabs/index.js
CHANGED
|
@@ -25,9 +25,9 @@ import '../Tooltip/index.js';
|
|
|
25
25
|
import 'rc-tooltip';
|
|
26
26
|
import 'rc-tooltip/lib/placements';
|
|
27
27
|
import '@para-ui/icons/Down';
|
|
28
|
-
import '../_verture/index-
|
|
28
|
+
import '../_verture/index-bbed73a3.js';
|
|
29
29
|
import 'rc-dropdown';
|
|
30
|
-
import '../_verture/usePopupContainer-
|
|
30
|
+
import '../_verture/usePopupContainer-b8ab7cab.js';
|
|
31
31
|
import 'dayjs';
|
|
32
32
|
import '@paraview/lib';
|
|
33
33
|
import '@para-ui/core/GlobalContext';
|
package/TextField/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import AutoTips from '../AutoTips/index.js';
|
|
|
12
12
|
import { Loading } from '../Loading/index.js';
|
|
13
13
|
import HelperText from '../HelperText/index.js';
|
|
14
14
|
import { u as useGlobalProps } from '../_verture/useGlobalProps-af9a2af6.js';
|
|
15
|
-
import { D as Dropdown } from '../_verture/index-
|
|
15
|
+
import { D as Dropdown } from '../_verture/index-bbed73a3.js';
|
|
16
16
|
import { $ as $prefixCls } from '../_verture/constant-bf34e6fa.js';
|
|
17
17
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
18
18
|
import '../Help/index.js';
|
|
@@ -24,7 +24,7 @@ import '@para-ui/icons/Help';
|
|
|
24
24
|
import '@para-ui/icons/LoadingF';
|
|
25
25
|
import '@para-ui/core/GlobalContext';
|
|
26
26
|
import 'rc-dropdown';
|
|
27
|
-
import '../_verture/usePopupContainer-
|
|
27
|
+
import '../_verture/usePopupContainer-b8ab7cab.js';
|
|
28
28
|
import 'dayjs';
|
|
29
29
|
|
|
30
30
|
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-v3-text-field {\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 display: inline-block;\n width: 100%;\n}\n.paraui-v3-text-field > .text-field-content {\n border: 1px solid;\n border-radius: 4px;\n border-color: rgba(171, 176, 185, 0.4);\n display: flex;\n width: 100%;\n position: relative;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v3-text-field > .text-field-content:hover {\n border-color: rgb(54, 102, 214);\n}\n.paraui-v3-text-field > .text-field-content > .text-field-content-before {\n color: rgb(46, 55, 67);\n padding: 0 12px;\n border-right: 1px solid rgba(171, 176, 185, 0.4);\n background-color: rgba(171, 176, 185, 0.12);\n border-bottom-left-radius: 4px;\n border-top-left-radius: 4px;\n white-space: nowrap;\n display: flex;\n align-items: center;\n}\n.paraui-v3-text-field > .text-field-content > .text-field-content-before svg {\n font-size: 20px;\n}\n.paraui-v3-text-field > .text-field-content > .text-field-content-within {\n position: relative;\n display: flex;\n flex-grow: 1;\n}\n.paraui-v3-text-field > .text-field-content > .text-field-content-within > .clean-up-icon {\n display: flex;\n height: 100%;\n align-items: center;\n margin-right: 12px;\n cursor: pointer;\n}\n.paraui-v3-text-field > .text-field-content > .text-field-content-within > .clean-up-icon svg {\n color: rgba(46, 55, 67, 0.7);\n font-size: 16px;\n}\n.paraui-v3-text-field > .text-field-content > .text-field-content-within > .clean-up-icon:hover svg {\n color: rgba(54, 102, 214, 0.8);\n}\n.paraui-v3-text-field > .text-field-content > .text-field-content-within > .right-icon {\n display: flex;\n height: 100%;\n align-items: center;\n margin-right: 12px;\n cursor: pointer;\n color: rgba(46, 55, 67, 0.7);\n position: relative;\n z-index: 1;\n}\n.paraui-v3-text-field > .text-field-content > .text-field-content-within > .right-icon.right-icon-password:hover svg {\n color: rgba(54, 102, 214, 0.8);\n}\n.paraui-v3-text-field > .text-field-content > .text-field-content-within > .right-icon svg {\n color: rgba(46, 55, 67, 0.7);\n font-size: 20px;\n}\n.paraui-v3-text-field > .text-field-content > .text-field-content-within > .length-limit {\n display: flex;\n height: 100%;\n align-items: center;\n margin-right: 12px;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-text-field > .text-field-content > .text-field-content-within > .text-field-content-within-input {\n width: 100%;\n line-height: 0;\n position: relative;\n}\n.paraui-v3-text-field > .text-field-content > .text-field-content-within > .text-field-content-within-input input::-webkit-outer-spin-button,\n.paraui-v3-text-field > .text-field-content > .text-field-content-within > .text-field-content-within-input input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n}\n.paraui-v3-text-field > .text-field-content > .text-field-content-within > .text-field-content-within-input input[type=number] {\n -moz-appearance: textfield;\n}\n.paraui-v3-text-field > .text-field-content > .text-field-content-within > .text-field-content-within-input > input {\n width: 100%;\n height: 100%;\n}\n.paraui-v3-text-field > .text-field-content > .text-field-content-within > .text-field-content-within-input > textarea {\n width: 100% !important;\n padding: 12px;\n resize: none;\n}\n.paraui-v3-text-field > .text-field-content > .text-field-content-within > .text-field-content-within-input > input, .paraui-v3-text-field > .text-field-content > .text-field-content-within > .text-field-content-within-input > textarea {\n font-size: 14px;\n color: rgb(46, 55, 67);\n border: 0;\n border-radius: 4px;\n background: transparent;\n}\n.paraui-v3-text-field > .text-field-content > .text-field-content-within > .text-field-content-within-input > input::-ms-clear, .paraui-v3-text-field > .text-field-content > .text-field-content-within > .text-field-content-within-input > textarea::-ms-clear {\n display: none;\n}\n.paraui-v3-text-field > .text-field-content > .text-field-content-within > .text-field-content-within-input > input::-ms-reveal, .paraui-v3-text-field > .text-field-content > .text-field-content-within > .text-field-content-within-input > textarea::-ms-reveal {\n display: none;\n}\n.paraui-v3-text-field > .text-field-content > .text-field-content-within > .text-field-content-within-input > input:disabled, .paraui-v3-text-field > .text-field-content > .text-field-content-within > .text-field-content-within-input > textarea:disabled {\n background-color: transparent;\n}\n.paraui-v3-text-field > .text-field-content > .text-field-content-within > .text-field-content-within-input > .text-field-label-placeholder {\n width: 100%;\n position: absolute;\n left: 0;\n top: 0;\n height: 100%;\n padding: 0 12px;\n color: rgba(46, 55, 67, 0.4);\n cursor: text;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n text-align: left;\n}\n.paraui-v3-text-field > .text-field-content > .text-field-content-within > .text-field-content-within-input > .text-field-label-placeholder > .text-field-required {\n margin-left: 2px;\n color: rgb(235, 96, 84);\n}\n.paraui-v3-text-field > .text-field-content > .text-field-content-after {\n color: rgb(46, 55, 67);\n padding: 0 12px;\n border-left: 1px solid rgba(171, 176, 185, 0.4);\n background-color: rgba(171, 176, 185, 0.12);\n border-bottom-right-radius: 4px;\n border-top-right-radius: 4px;\n white-space: nowrap;\n display: flex;\n align-items: center;\n}\n.paraui-v3-text-field > .text-field-content > .text-field-content-after svg {\n font-size: 20px;\n}\n.paraui-v3-text-field.paraui-v3-text-field-multiline > .text-field-content .text-field-content-within > .clean-up-icon {\n display: none;\n}\n.paraui-v3-text-field.paraui-v3-text-field-multiline > .text-field-content .text-field-content-within > .length-limit {\n position: absolute;\n height: 22px;\n bottom: 0;\n border-radius: 4px;\n width: calc(100% - 12px);\n background: white;\n justify-content: flex-end;\n padding-bottom: 8px;\n margin-right: 0;\n}\n.paraui-v3-text-field.paraui-v3-text-field-multiline > .text-field-content .text-field-content-within > .text-field-content-within-input > .text-field-label-placeholder {\n padding-top: 12px;\n line-height: 1;\n height: calc(100% - 24px);\n}\n.paraui-v3-text-field.paraui-v3-text-field-disabled > .text-field-content {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-v3-text-field.paraui-v3-text-field-disabled > .text-field-content:hover {\n border-color: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-text-field.paraui-v3-text-field-disabled > .text-field-content > .text-field-content-before {\n background-color: transparent;\n}\n.paraui-v3-text-field.paraui-v3-text-field-disabled > .text-field-content > .text-field-content-within > .text-field-content-within-input > .text-field-label-placeholder {\n cursor: not-allowed;\n}\n.paraui-v3-text-field.paraui-v3-text-field-disabled > .text-field-content > .text-field-content-within > .text-field-content-within-input > input, .paraui-v3-text-field.paraui-v3-text-field-disabled > .text-field-content > .text-field-content-within > .text-field-content-within-input > textarea {\n cursor: not-allowed;\n}\n.paraui-v3-text-field.paraui-v3-text-field-disabled > .text-field-content > .text-field-content-after {\n background-color: transparent;\n}\n.paraui-v3-text-field.paraui-v3-text-field-disabled.paraui-v3-text-field-multiline > .text-field-content .text-field-content-within > .length-limit {\n background-color: transparent;\n}\n.paraui-v3-text-field.paraui-v3-text-field-error > .text-field-content {\n border-color: rgb(235, 96, 84) !important;\n}\n.paraui-v3-text-field.paraui-v3-text-field-error > .text-field-content:hover {\n border-color: rgb(235, 96, 84);\n}\n.paraui-v3-text-field.paraui-v3-text-field-limit > .text-field-content {\n border-color: rgb(235, 96, 84) !important;\n}\n.paraui-v3-text-field.paraui-v3-text-field-limit > .text-field-content:hover {\n border-color: rgb(235, 96, 84) !important;\n}\n.paraui-v3-text-field.paraui-v3-text-field-limit-length > .text-field-content > .text-field-content-within > .text-field-content-within-input > textarea {\n padding-bottom: 25px;\n}\n.paraui-v3-text-field.paraui-v3-text-field-focus > .text-field-content {\n border-color: rgb(54, 102, 214);\n}\n.paraui-v3-text-field.paraui-v3-text-field-small > .text-field-content {\n height: 28px;\n}\n.paraui-v3-text-field.paraui-v3-text-field-small > .text-field-content > .text-field-content-before {\n line-height: 26px;\n}\n.paraui-v3-text-field.paraui-v3-text-field-small > .text-field-content > .text-field-content-within > .text-field-content-within-input {\n height: 26px;\n}\n.paraui-v3-text-field.paraui-v3-text-field-small > .text-field-content > .text-field-content-within > .text-field-content-within-input > input {\n padding: 6px 12px;\n}\n.paraui-v3-text-field.paraui-v3-text-field-small > .text-field-content > .text-field-content-within > .text-field-content-within-input > .text-field-label-placeholder {\n line-height: 26px;\n}\n.paraui-v3-text-field.paraui-v3-text-field-small > .text-field-content .text-field-content-after {\n line-height: 26px;\n}\n.paraui-v3-text-field.paraui-v3-text-field-medium > .text-field-content {\n height: 32px;\n}\n.paraui-v3-text-field.paraui-v3-text-field-medium > .text-field-content > .text-field-content-before {\n line-height: 30px;\n}\n.paraui-v3-text-field.paraui-v3-text-field-medium > .text-field-content > .text-field-content-within > .text-field-content-within-input {\n height: 30px;\n}\n.paraui-v3-text-field.paraui-v3-text-field-medium > .text-field-content > .text-field-content-within > .text-field-content-within-input > input {\n padding: 8px 12px;\n}\n.paraui-v3-text-field.paraui-v3-text-field-medium > .text-field-content > .text-field-content-within > .text-field-content-within-input > .text-field-label-placeholder {\n line-height: 30px;\n}\n.paraui-v3-text-field.paraui-v3-text-field-medium > .text-field-content .text-field-content-after {\n line-height: 30px;\n}\n.paraui-v3-text-field.paraui-v3-text-field-large > .text-field-content {\n height: 36px;\n}\n.paraui-v3-text-field.paraui-v3-text-field-large > .text-field-content > .text-field-content-before {\n line-height: 34px;\n}\n.paraui-v3-text-field.paraui-v3-text-field-large > .text-field-content > .text-field-content-within > .text-field-content-within-input {\n height: 34px;\n}\n.paraui-v3-text-field.paraui-v3-text-field-large > .text-field-content > .text-field-content-within > .text-field-content-within-input > input {\n padding: 10px 12px;\n}\n.paraui-v3-text-field.paraui-v3-text-field-large > .text-field-content > .text-field-content-within > .text-field-content-within-input > .text-field-label-placeholder {\n line-height: 34px;\n}\n.paraui-v3-text-field.paraui-v3-text-field-large > .text-field-content .text-field-content-after {\n line-height: 34px;\n}\n.paraui-v3-text-field.paraui-v3-text-field-resize > .text-field-content > .text-field-content-within > .text-field-content-within-input > textarea {\n resize: both;\n}\n\n.paraui-v3-text-field-select.component-dropdown > .text-field-select-content {\n max-height: 300px;\n overflow: auto;\n}\n.paraui-v3-text-field-select.component-dropdown > .text-field-select-content > .text-field-select-content-item {\n display: flex;\n cursor: pointer;\n color: rgb(46, 55, 67);\n padding: 0 12px;\n}\n.paraui-v3-text-field-select.component-dropdown > .text-field-select-content > .text-field-select-content-item:hover {\n background-color: rgba(171, 176, 185, 0.12);\n color: rgb(54, 102, 214);\n}\n.paraui-v3-text-field-select.component-dropdown > .text-field-select-content > .text-field-select-content-item.text-field-select-content-item-keydown {\n background-color: rgba(171, 176, 185, 0.12);\n color: rgb(54, 102, 214);\n}\n.paraui-v3-text-field-select.component-dropdown > .text-field-select-content.text-field-select-content-loading {\n height: 100px;\n position: relative;\n overflow: hidden;\n}\n.paraui-v3-text-field-select.component-dropdown.paraui-v3-text-field-select-small > .text-field-select-content > .text-field-select-content-item {\n line-height: 28px;\n}\n.paraui-v3-text-field-select.component-dropdown.paraui-v3-text-field-select-medium > .text-field-select-content > .text-field-select-content-item {\n line-height: 32px;\n}\n.paraui-v3-text-field-select.component-dropdown.paraui-v3-text-field-select-large > .text-field-select-content > .text-field-select-content-item {\n line-height: 36px;\n}\n.paraui-v3-text-field-select.paraui-v3-text-field-select-data.component-tooltip {\n padding: 8px 0;\n}";
|
package/TimePicker/index.js
CHANGED
|
@@ -15,9 +15,9 @@ import 'rc-tooltip/lib/placements';
|
|
|
15
15
|
import '../_verture/constant-bf34e6fa.js';
|
|
16
16
|
import '../_verture/style-inject.es-300983ab.js';
|
|
17
17
|
import '@para-ui/icons/Down';
|
|
18
|
-
import '../_verture/index-
|
|
18
|
+
import '../_verture/index-bbed73a3.js';
|
|
19
19
|
import 'rc-dropdown';
|
|
20
|
-
import '../_verture/usePopupContainer-
|
|
20
|
+
import '../_verture/usePopupContainer-b8ab7cab.js';
|
|
21
21
|
import 'dayjs';
|
|
22
22
|
import '@paraview/lib';
|
|
23
23
|
import '../_verture/useFormatMessage-f4452258.js';
|
package/ToggleButton/index.js
CHANGED
|
@@ -13,9 +13,9 @@ import '../_verture/typeof-498dd2b1.js';
|
|
|
13
13
|
import '@para-ui/icons/LoadingF';
|
|
14
14
|
import '@para-ui/icons/Forbid';
|
|
15
15
|
import '@para-ui/icons/Down';
|
|
16
|
-
import '../_verture/index-
|
|
16
|
+
import '../_verture/index-bbed73a3.js';
|
|
17
17
|
import 'rc-dropdown';
|
|
18
|
-
import '../_verture/usePopupContainer-
|
|
18
|
+
import '../_verture/usePopupContainer-b8ab7cab.js';
|
|
19
19
|
import 'dayjs';
|
|
20
20
|
import '../_verture/useFormatMessage-f4452258.js';
|
|
21
21
|
import '@para-ui/core/GlobalContext';
|