@pointcloud/pcloud-components 0.1.20 → 0.1.21
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/README.md +17 -3
- package/dist/esm/AdvancedFilter/FormFilter.d.ts +1 -2
- package/dist/esm/AdvancedFilter/index.js +3 -3
- package/dist/esm/AdvancedFilter/styles/index.less +146 -146
- package/dist/esm/AuthComponent/index.d.ts +1 -2
- package/dist/esm/ColorPicker/index.d.ts +10 -11
- package/dist/esm/ColorPicker/index.js +4 -4
- package/dist/esm/ColorPicker/index.less +18 -18
- package/dist/esm/ConfigProvider/index.d.ts +1 -1
- package/dist/esm/DCascader/index.js +2 -3
- package/dist/esm/DForm/DItem/itemsRender.d.ts +29 -29
- package/dist/esm/DForm/index.d.ts +2 -1
- package/dist/esm/DForm/index.js +1 -2
- package/dist/esm/DForm/index.less +45 -44
- package/dist/esm/DInput/index.js +4 -4
- package/dist/esm/DModal/index.d.ts +1 -2
- package/dist/esm/DModal/styles/index.less +27 -27
- package/dist/esm/DSelect/index.d.ts +1 -2
- package/dist/esm/DSelect/index.js +1 -1
- package/dist/esm/DTable/index.js +8 -8
- package/dist/esm/DTreeSelect/index.d.ts +1 -11
- package/dist/esm/DTreeSelect/index.js +1 -9
- package/dist/esm/DUpload/helper.d.ts +1 -1
- package/dist/esm/DUpload/helper.js +48 -48
- package/dist/esm/DUpload/index.d.ts +1 -1
- package/dist/esm/DUpload/index.js +8 -8
- package/dist/esm/ErrorBoundary/index.d.ts +1 -2
- package/dist/esm/InfiniteScrollList/index.d.ts +1 -1
- package/dist/esm/InfiniteScrollList/index.js +50 -44
- package/dist/esm/LabelValue/index.d.ts +1 -1
- package/dist/esm/LabelValue/index.js +7 -3
- package/dist/esm/LabelValue/interface.d.ts +12 -3
- package/dist/esm/Loading/index.js +1 -1
- package/dist/esm/Loading/interface.d.ts +8 -3
- package/dist/esm/Loading/loading.d.ts +1 -2
- package/dist/esm/Loading/loading.js +32 -11
- package/dist/esm/ModalForm/index.d.ts +1 -1
- package/dist/esm/ModalForm/index.js +1 -1
- package/dist/esm/NoData/index.d.ts +1 -2
- package/dist/esm/PictureCard/index.d.ts +1 -1
- package/dist/esm/PictureCard/index.js +1 -2
- package/dist/esm/RndDrag/index.d.ts +5 -0
- package/dist/esm/RndDrag/index.js +26 -0
- package/dist/esm/ScrollNumber/index.d.ts +1 -2
- package/dist/esm/WordCloud/index.d.ts +1 -2
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.js +2 -1
- package/dist/umd/pcloud-components.min.css +1 -1
- package/dist/umd/pcloud-components.min.js +1 -1
- package/package.json +106 -105
- package/dist/cjs/AdvancedFilter/FormFilter.d.ts +0 -5
- package/dist/cjs/AdvancedFilter/FormFilter.js +0 -158
- package/dist/cjs/AdvancedFilter/demos/demo1.d.ts +0 -3
- package/dist/cjs/AdvancedFilter/demos/demo1.js +0 -56
- package/dist/cjs/AdvancedFilter/demos/demo2.d.ts +0 -3
- package/dist/cjs/AdvancedFilter/demos/demo2.js +0 -63
- package/dist/cjs/AdvancedFilter/demos/demo3.d.ts +0 -3
- package/dist/cjs/AdvancedFilter/demos/demo3.js +0 -113
- package/dist/cjs/AdvancedFilter/index.d.ts +0 -5
- package/dist/cjs/AdvancedFilter/index.js +0 -114
- package/dist/cjs/AdvancedFilter/interface.d.ts +0 -97
- package/dist/cjs/AdvancedFilter/interface.js +0 -17
- package/dist/cjs/AdvancedFilter/styles/index.less +0 -115
- package/dist/cjs/ErrorBoundary/index.d.ts +0 -6
- package/dist/cjs/ErrorBoundary/index.js +0 -45
- package/dist/cjs/ErrorBoundary/index.less +0 -42
- package/dist/cjs/LabelValue/demos/demo1.d.ts +0 -3
- package/dist/cjs/LabelValue/demos/demo1.js +0 -35
- package/dist/cjs/LabelValue/demos/demo2.d.ts +0 -3
- package/dist/cjs/LabelValue/demos/demo2.js +0 -36
- package/dist/cjs/LabelValue/demos/demo3.d.ts +0 -3
- package/dist/cjs/LabelValue/demos/demo3.js +0 -36
- package/dist/cjs/LabelValue/index.d.ts +0 -16
- package/dist/cjs/LabelValue/index.js +0 -50
- package/dist/cjs/LabelValue/interface.d.ts +0 -29
- package/dist/cjs/LabelValue/interface.js +0 -17
- package/dist/cjs/LabelValue/styles/index.less +0 -18
- package/dist/cjs/index.d.ts +0 -4
- package/dist/cjs/index.js +0 -38
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
|
2
2
|
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
|
3
3
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
4
|
-
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
5
4
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
5
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
6
6
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
7
7
|
import { BackTop, Divider, List, Spin } from 'antd';
|
|
8
8
|
import React, { useCallback, useEffect, useRef, useState, useContext } from 'react';
|
|
@@ -13,7 +13,7 @@ import "./styles/index.less";
|
|
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
14
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
15
|
var InfiniteScrollList = function InfiniteScrollList(props) {
|
|
16
|
-
var _listData$
|
|
16
|
+
var _listData$data, _listData$data2;
|
|
17
17
|
var loadMore = props.loadMore,
|
|
18
18
|
_props$initialParams = props.initialParams,
|
|
19
19
|
initialParams = _props$initialParams === void 0 ? {} : _props$initialParams,
|
|
@@ -35,6 +35,11 @@ var InfiniteScrollList = function InfiniteScrollList(props) {
|
|
|
35
35
|
getPrefixCls = _useContext.getPrefixCls;
|
|
36
36
|
var classname = getPrefixCls('infinite-scroll-wrapper');
|
|
37
37
|
var wrapperClass = classNames(_defineProperty({}, "".concat(prefixCls, "-infinite-scroll-wrapper"), !!prefixCls), classname, className);
|
|
38
|
+
var pageParamsRef = useRef(_objectSpread({
|
|
39
|
+
current: 1,
|
|
40
|
+
size: 10
|
|
41
|
+
}, initialParams));
|
|
42
|
+
var loadingRef = useRef(false);
|
|
38
43
|
var scrollRef = useRef(null);
|
|
39
44
|
var _useState = useState({
|
|
40
45
|
total: 0,
|
|
@@ -43,76 +48,77 @@ var InfiniteScrollList = function InfiniteScrollList(props) {
|
|
|
43
48
|
_useState2 = _slicedToArray(_useState, 2),
|
|
44
49
|
listData = _useState2[0],
|
|
45
50
|
setListData = _useState2[1];
|
|
46
|
-
var _useState3 = useState(false),
|
|
47
|
-
_useState4 = _slicedToArray(_useState3, 2),
|
|
48
|
-
isLoading = _useState4[0],
|
|
49
|
-
setIsLoading = _useState4[1];
|
|
50
|
-
var _useState5 = useState(_objectSpread({
|
|
51
|
-
current: 1,
|
|
52
|
-
size: 10
|
|
53
|
-
}, initialParams)),
|
|
54
|
-
_useState6 = _slicedToArray(_useState5, 2),
|
|
55
|
-
pageParams = _useState6[0],
|
|
56
|
-
setPageParams = _useState6[1];
|
|
57
51
|
var handleLoadMore = useCallback( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
58
|
-
var
|
|
52
|
+
var _yield$loadMore, data, total, records;
|
|
59
53
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
60
54
|
while (1) switch (_context.prev = _context.next) {
|
|
61
55
|
case 0:
|
|
62
|
-
if (!
|
|
56
|
+
if (!loadingRef.current) {
|
|
63
57
|
_context.next = 2;
|
|
64
58
|
break;
|
|
65
59
|
}
|
|
66
60
|
return _context.abrupt("return");
|
|
67
61
|
case 2:
|
|
68
|
-
|
|
62
|
+
loadingRef.current = true;
|
|
69
63
|
_context.prev = 3;
|
|
70
64
|
_context.next = 6;
|
|
71
|
-
return loadMore(_objectSpread({},
|
|
65
|
+
return loadMore(_objectSpread({}, pageParamsRef.current));
|
|
72
66
|
case 6:
|
|
73
67
|
_yield$loadMore = _context.sent;
|
|
74
68
|
data = _yield$loadMore.data;
|
|
75
|
-
total = data.total, records = data.records;
|
|
76
|
-
if (
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
69
|
+
total = data.total, records = data.records; // 初始参数重置时不拼接数据
|
|
70
|
+
if (pageParamsRef.current.current === 1) {
|
|
71
|
+
setListData({
|
|
72
|
+
total: total,
|
|
73
|
+
data: total > 0 ? _toConsumableArray(records) : []
|
|
74
|
+
});
|
|
75
|
+
} else {
|
|
76
|
+
setListData(function (prevData) {
|
|
77
|
+
return {
|
|
78
|
+
total: total,
|
|
79
|
+
data: total > 0 ? [].concat(_toConsumableArray(prevData.data), _toConsumableArray(records || [])) : []
|
|
80
|
+
};
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
|
-
|
|
84
|
-
return {
|
|
85
|
-
total: total,
|
|
86
|
-
data: total > 0 ? [].concat(_toConsumableArray(prevData.data), _toConsumableArray(records || [])) : []
|
|
87
|
-
};
|
|
88
|
-
});
|
|
89
|
-
setIsLoading(false);
|
|
83
|
+
loadingRef.current = false;
|
|
90
84
|
_context.next = 17;
|
|
91
85
|
break;
|
|
92
|
-
case
|
|
93
|
-
_context.prev =
|
|
86
|
+
case 13:
|
|
87
|
+
_context.prev = 13;
|
|
94
88
|
_context.t0 = _context["catch"](3);
|
|
95
|
-
|
|
89
|
+
loadingRef.current = false;
|
|
90
|
+
setListData({
|
|
91
|
+
total: 0,
|
|
92
|
+
data: []
|
|
93
|
+
});
|
|
96
94
|
case 17:
|
|
97
95
|
_context.prev = 17;
|
|
98
|
-
|
|
96
|
+
loadingRef.current = false;
|
|
99
97
|
return _context.finish(17);
|
|
100
98
|
case 20:
|
|
101
99
|
case "end":
|
|
102
100
|
return _context.stop();
|
|
103
101
|
}
|
|
104
|
-
}, _callee, null, [[3,
|
|
105
|
-
})), [loadMore
|
|
102
|
+
}, _callee, null, [[3, 13, 17, 20]]);
|
|
103
|
+
})), [loadMore]);
|
|
104
|
+
useEffect(function () {
|
|
105
|
+
if (listData.total > 0 && listData.data.length < listData.total) {
|
|
106
|
+
pageParamsRef.current = _objectSpread(_objectSpread({}, pageParamsRef.current), {}, {
|
|
107
|
+
current: pageParamsRef.current.current + 1
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
}, [listData]);
|
|
106
111
|
useEffect(function () {
|
|
107
|
-
if (Reflect.ownKeys(initialParams).length > 0
|
|
112
|
+
if (Reflect.ownKeys(initialParams).length > 0) {
|
|
108
113
|
var _scrollRef$current;
|
|
109
|
-
scrollRef === null || scrollRef === void 0
|
|
114
|
+
scrollRef === null || scrollRef === void 0 || (_scrollRef$current = scrollRef.current) === null || _scrollRef$current === void 0 || _scrollRef$current.scrollTo({
|
|
110
115
|
top: 0,
|
|
111
116
|
behavior: 'smooth'
|
|
112
117
|
});
|
|
113
|
-
|
|
114
|
-
current: 1
|
|
115
|
-
|
|
118
|
+
pageParamsRef.current = _objectSpread({
|
|
119
|
+
current: 1,
|
|
120
|
+
size: 10
|
|
121
|
+
}, initialParams);
|
|
116
122
|
}
|
|
117
123
|
handleLoadMore();
|
|
118
124
|
}, [initialParams]);
|
|
@@ -125,11 +131,11 @@ var InfiniteScrollList = function InfiniteScrollList(props) {
|
|
|
125
131
|
overflowY: 'auto'
|
|
126
132
|
},
|
|
127
133
|
children: [/*#__PURE__*/_jsx(InfiniteScroll, {
|
|
128
|
-
className: "".concat(wrapperClass, " ").concat(className
|
|
134
|
+
className: "".concat(wrapperClass, " ").concat(className),
|
|
129
135
|
scrollableTarget: containerId,
|
|
130
|
-
dataLength:
|
|
136
|
+
dataLength: (_listData$data = listData.data) === null || _listData$data === void 0 ? void 0 : _listData$data.length,
|
|
131
137
|
next: handleLoadMore,
|
|
132
|
-
hasMore: (
|
|
138
|
+
hasMore: ((_listData$data2 = listData.data) === null || _listData$data2 === void 0 ? void 0 : _listData$data2.length) < listData.total,
|
|
133
139
|
loader: /*#__PURE__*/_jsx("div", {
|
|
134
140
|
style: {
|
|
135
141
|
textAlign: 'center'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ILabelValueProps } from './interface';
|
|
3
3
|
import './styles/index.less';
|
|
4
|
-
declare function LabelValue({ label, value, emptyValue, className, noWrap, noColon }: ILabelValueProps): JSX.Element;
|
|
4
|
+
declare function LabelValue({ label, value, emptyValue, className, noWrap, noColon, formatter, style }: ILabelValueProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
declare namespace LabelValue {
|
|
6
6
|
var defaultProps: {
|
|
7
7
|
className: string;
|
|
@@ -11,21 +11,25 @@ function LabelValue(_ref) {
|
|
|
11
11
|
emptyValue = _ref.emptyValue,
|
|
12
12
|
className = _ref.className,
|
|
13
13
|
noWrap = _ref.noWrap,
|
|
14
|
-
noColon = _ref.noColon
|
|
14
|
+
noColon = _ref.noColon,
|
|
15
|
+
formatter = _ref.formatter,
|
|
16
|
+
style = _ref.style;
|
|
15
17
|
var _useContext = useContext(ConfigContext),
|
|
16
18
|
prefixCls = _useContext.prefixCls,
|
|
17
19
|
getPrefixCls = _useContext.getPrefixCls;
|
|
18
20
|
var classname = getPrefixCls('label-value');
|
|
19
21
|
var wrapperClass = classNames(_defineProperty({}, "".concat(prefixCls, "-label-value"), !!prefixCls), classname, className);
|
|
22
|
+
var title = typeof value === 'string' ? value : undefined;
|
|
20
23
|
return /*#__PURE__*/_jsxs("div", {
|
|
24
|
+
style: style,
|
|
21
25
|
className: wrapperClass,
|
|
22
26
|
children: [/*#__PURE__*/_jsxs("span", {
|
|
23
27
|
className: "".concat(defaultPrefixCls, "-label"),
|
|
24
28
|
children: [label, noColon ? '' : ':']
|
|
25
29
|
}), /*#__PURE__*/_jsx("span", {
|
|
26
|
-
title:
|
|
30
|
+
title: title,
|
|
27
31
|
className: "".concat(noWrap ? "".concat(defaultPrefixCls, "-value no-wrap") : "".concat(defaultPrefixCls, "-value")),
|
|
28
|
-
children: value
|
|
32
|
+
children: formatter && typeof formatter === 'function' ? formatter(value) : value || emptyValue
|
|
29
33
|
})]
|
|
30
34
|
});
|
|
31
35
|
}
|
|
@@ -1,21 +1,30 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export interface ILabelValueProps {
|
|
2
3
|
/**
|
|
3
4
|
* @description 文字标签
|
|
4
5
|
*/
|
|
5
|
-
label: string |
|
|
6
|
+
label: string | React.ReactNode;
|
|
6
7
|
/**
|
|
7
8
|
* @description 文字标签值
|
|
8
9
|
*/
|
|
9
|
-
value?: string |
|
|
10
|
+
value?: string | React.ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* @description 格式化value值
|
|
13
|
+
*/
|
|
14
|
+
formatter?: (v?: any) => string | React.ReactNode;
|
|
10
15
|
/**
|
|
11
16
|
* @description 文字标签值为空时的值
|
|
12
17
|
* @default -
|
|
13
18
|
*/
|
|
14
|
-
emptyValue?: string |
|
|
19
|
+
emptyValue?: string | React.ReactNode;
|
|
15
20
|
/**
|
|
16
21
|
* @description 类名
|
|
17
22
|
*/
|
|
18
23
|
className?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @description 样式
|
|
26
|
+
*/
|
|
27
|
+
style?: React.CSSProperties;
|
|
19
28
|
/**
|
|
20
29
|
* @description 是否不换行
|
|
21
30
|
* @default false
|
|
@@ -11,7 +11,7 @@ export default {
|
|
|
11
11
|
close: function close() {
|
|
12
12
|
if (loadingInstance) {
|
|
13
13
|
var _loadingInstance;
|
|
14
|
-
(_loadingInstance = loadingInstance) === null || _loadingInstance === void 0
|
|
14
|
+
(_loadingInstance = loadingInstance) === null || _loadingInstance === void 0 || _loadingInstance.destroy();
|
|
15
15
|
loadingInstance = null;
|
|
16
16
|
}
|
|
17
17
|
},
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
import { SpinProps } from 'antd';
|
|
2
2
|
import React, { ReactInstance } from 'react';
|
|
3
|
-
export interface LoadingInstanceProps extends SpinProps {
|
|
3
|
+
export interface LoadingInstanceProps extends Omit<SpinProps, 'delay'> {
|
|
4
4
|
/**
|
|
5
5
|
* @description 加载框容器
|
|
6
6
|
* @default body
|
|
7
7
|
*/
|
|
8
8
|
container?: ReactInstance | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* @description 延迟显示加载框毫秒
|
|
11
|
+
* @default 0
|
|
12
|
+
*/
|
|
13
|
+
delay?: number;
|
|
9
14
|
}
|
|
10
15
|
export interface ILoadingProps {
|
|
11
|
-
open: (
|
|
16
|
+
open: (_param: LoadingInstanceProps) => React.ReactNode;
|
|
12
17
|
close: () => void;
|
|
13
|
-
getInstance: () => React.
|
|
18
|
+
getInstance: () => React.ReactNode;
|
|
14
19
|
}
|
|
15
20
|
export declare type LoadingProps = ILoadingProps;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { LoadingInstanceProps } from './interface';
|
|
3
2
|
import './styles/index.less';
|
|
4
|
-
declare function Loading(props: LoadingInstanceProps): JSX.Element;
|
|
3
|
+
declare function Loading(props: LoadingInstanceProps): import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
declare namespace Loading {
|
|
6
5
|
var newInstance: (args: LoadingInstanceProps) => {
|
|
7
6
|
destroy(): void;
|
|
@@ -1,45 +1,66 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
|
-
import
|
|
2
|
+
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
5
|
+
var _excluded = ["delay"],
|
|
6
|
+
_excluded2 = ["container"];
|
|
7
7
|
import { Spin } from 'antd';
|
|
8
8
|
import classNames from 'classnames';
|
|
9
|
+
import { useContext, useEffect, useState } from 'react';
|
|
10
|
+
import ReactDOM from 'react-dom';
|
|
9
11
|
import { ConfigContext } from "../ConfigProvider";
|
|
10
12
|
import "./styles/index.less";
|
|
13
|
+
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
11
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
15
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
16
|
function Loading(props) {
|
|
14
|
-
var
|
|
15
|
-
|
|
17
|
+
var delay = props.delay,
|
|
18
|
+
other = _objectWithoutProperties(props, _excluded);
|
|
16
19
|
var _useContext = useContext(ConfigContext),
|
|
17
20
|
prefixCls = _useContext.prefixCls,
|
|
18
21
|
getPrefixCls = _useContext.getPrefixCls;
|
|
19
22
|
var classname = getPrefixCls('loading');
|
|
20
23
|
var wrapperClass = classNames(_defineProperty({}, "".concat(prefixCls, "-loading"), !!prefixCls), classname);
|
|
24
|
+
var _useState = useState(false),
|
|
25
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
26
|
+
visible = _useState2[0],
|
|
27
|
+
setVisible = _useState2[1];
|
|
21
28
|
useEffect(function () {
|
|
22
29
|
document.body.style.overflow = 'hidden';
|
|
23
30
|
return function () {
|
|
24
31
|
document.body.style.overflow = '';
|
|
25
32
|
};
|
|
26
33
|
}, []);
|
|
34
|
+
useEffect(function () {
|
|
35
|
+
var timer = setTimeout(function () {
|
|
36
|
+
return setVisible(true);
|
|
37
|
+
}, delay || 0);
|
|
38
|
+
return function () {
|
|
39
|
+
clearTimeout(timer);
|
|
40
|
+
};
|
|
41
|
+
}, [delay]);
|
|
42
|
+
if (!visible) return /*#__PURE__*/_jsx(_Fragment, {});
|
|
27
43
|
return /*#__PURE__*/_jsxs("div", {
|
|
28
44
|
className: wrapperClass,
|
|
29
45
|
children: [/*#__PURE__*/_jsx("div", {
|
|
30
46
|
className: "mask"
|
|
31
47
|
}), /*#__PURE__*/_jsx("div", {
|
|
32
48
|
className: "loading",
|
|
33
|
-
children: /*#__PURE__*/_jsx(Spin, {
|
|
34
|
-
|
|
35
|
-
|
|
49
|
+
children: /*#__PURE__*/_jsx(Spin, _objectSpread(_objectSpread({}, other), {}, {
|
|
50
|
+
children: /*#__PURE__*/_jsx("div", {
|
|
51
|
+
style: {
|
|
52
|
+
opacity: 0
|
|
53
|
+
},
|
|
54
|
+
children: other.tip
|
|
55
|
+
})
|
|
56
|
+
}))
|
|
36
57
|
})]
|
|
37
58
|
});
|
|
38
59
|
}
|
|
39
60
|
Loading.newInstance = function newNotificationInstance(args) {
|
|
40
61
|
var _ref = args || {},
|
|
41
62
|
container = _ref.container,
|
|
42
|
-
otherProps = _objectWithoutProperties(_ref,
|
|
63
|
+
otherProps = _objectWithoutProperties(_ref, _excluded2);
|
|
43
64
|
var div = document.createElement('div');
|
|
44
65
|
// eslint-disable-next-line react/no-find-dom-node
|
|
45
66
|
var element = ReactDOM.findDOMNode(container);
|
|
@@ -54,7 +75,7 @@ Loading.newInstance = function newNotificationInstance(args) {
|
|
|
54
75
|
destroy: function destroy() {
|
|
55
76
|
ReactDOM.unmountComponentAtNode(div);
|
|
56
77
|
if (element) {
|
|
57
|
-
element === null || element === void 0
|
|
78
|
+
element === null || element === void 0 || element.removeChild(div);
|
|
58
79
|
} else {
|
|
59
80
|
document.body.removeChild(div);
|
|
60
81
|
}
|
|
@@ -7,5 +7,5 @@ export declare type ModalFormProps = {
|
|
|
7
7
|
formProps: DFormProps;
|
|
8
8
|
children?: React.ReactNode;
|
|
9
9
|
};
|
|
10
|
-
declare const _default: (props: ModalFormProps) => JSX.Element;
|
|
10
|
+
declare const _default: (props: ModalFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export default _default;
|
|
@@ -19,7 +19,7 @@ export default (function (props) {
|
|
|
19
19
|
} : {};
|
|
20
20
|
var handleOk = function handleOk() {
|
|
21
21
|
form.validateFields().then(function (values) {
|
|
22
|
-
onOk === null || onOk === void 0
|
|
22
|
+
onOk === null || onOk === void 0 || onOk(values);
|
|
23
23
|
});
|
|
24
24
|
};
|
|
25
25
|
return /*#__PURE__*/_jsxs(DModal, _objectSpread(_objectSpread(_objectSpread({
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { INoDataProps } from './interface';
|
|
3
2
|
import './styles/index.less';
|
|
4
|
-
declare const NoData: (props: INoDataProps) => JSX.Element;
|
|
3
|
+
declare const NoData: (props: INoDataProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
export default NoData;
|
|
@@ -11,6 +11,6 @@ interface IPictureCardProps extends Omit<ImageProps, 'src' | 'width'> {
|
|
|
11
11
|
hoverable?: boolean;
|
|
12
12
|
bordered?: boolean;
|
|
13
13
|
}
|
|
14
|
-
declare const PictureCard: (props: IPictureCardProps) => JSX.Element;
|
|
14
|
+
declare const PictureCard: (props: IPictureCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export declare type PictureCardProps = IPictureCardProps;
|
|
16
16
|
export default PictureCard;
|
|
@@ -10,7 +10,6 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
10
10
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
11
11
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
12
|
var PictureCard = function PictureCard(props) {
|
|
13
|
-
var _classNames2;
|
|
14
13
|
var className = props.className,
|
|
15
14
|
_props$layout = props.layout,
|
|
16
15
|
layout = _props$layout === void 0 ? 'vertical' : _props$layout,
|
|
@@ -28,7 +27,7 @@ var PictureCard = function PictureCard(props) {
|
|
|
28
27
|
prefixCls = _useContext.prefixCls,
|
|
29
28
|
getPrefixCls = _useContext.getPrefixCls;
|
|
30
29
|
var classname = getPrefixCls('picture-card');
|
|
31
|
-
var wrapperClass = classNames(_defineProperty({}, "".concat(prefixCls, "-picture-card"), !!prefixCls), (
|
|
30
|
+
var wrapperClass = classNames(_defineProperty({}, "".concat(prefixCls, "-picture-card"), !!prefixCls), _defineProperty(_defineProperty({}, "".concat(classname, "-hoverable"), hoverable), "".concat(classname, "-bordered"), bordered), classname, className, layout);
|
|
32
31
|
var _useState = useState(false),
|
|
33
32
|
_useState2 = _slicedToArray(_useState, 2),
|
|
34
33
|
visible = _useState2[0],
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Props } from 'react-rnd';
|
|
2
|
+
declare const RndDrag: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default RndDrag;
|
|
4
|
+
export type { Props as RndDragProps } from 'react-rnd';
|
|
5
|
+
export type { DraggableData, Position, Grid, RndDragCallback, RndDragEvent, RndResizeStartCallback, HandleStyles } from 'react-rnd';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
4
|
+
var _excluded = ["children", "className"];
|
|
5
|
+
import { Rnd } from 'react-rnd';
|
|
6
|
+
import { useContext } from 'react';
|
|
7
|
+
import classNames from 'classnames';
|
|
8
|
+
import { ConfigContext } from "../ConfigProvider";
|
|
9
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
+
var RndDrag = function RndDrag(props) {
|
|
11
|
+
var children = props.children,
|
|
12
|
+
className = props.className,
|
|
13
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
14
|
+
var _useContext = useContext(ConfigContext),
|
|
15
|
+
prefixCls = _useContext.prefixCls,
|
|
16
|
+
getPrefixCls = _useContext.getPrefixCls;
|
|
17
|
+
var classname = getPrefixCls('rnd-drag');
|
|
18
|
+
var wrapperClass = classNames(_defineProperty({}, "".concat(prefixCls, "-rnd-drag"), !!prefixCls), classname, className);
|
|
19
|
+
return /*#__PURE__*/_jsx(Rnd, _objectSpread(_objectSpread({
|
|
20
|
+
className: wrapperClass,
|
|
21
|
+
bounds: "parent"
|
|
22
|
+
}, rest), {}, {
|
|
23
|
+
children: children
|
|
24
|
+
}));
|
|
25
|
+
};
|
|
26
|
+
export default RndDrag;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CountUpProps as ICountUpProps } from 'react-countup';
|
|
3
2
|
declare const ScrollNumber: {
|
|
4
|
-
(props: ICountUpProps): JSX.Element;
|
|
3
|
+
(props: ICountUpProps): import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
useCountUp: (props: import("react-countup/build/useCountUp").UseCountUpProps) => import("react-countup/build/types").CountUpApi;
|
|
6
5
|
};
|
|
7
6
|
export declare type ScrollNumberProps = ICountUpProps;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Props } from 'react-wordcloud';
|
|
3
2
|
export declare type WordCloudProps = Props & {
|
|
4
3
|
className?: string;
|
|
5
4
|
};
|
|
6
|
-
declare const WordCloud: (props: WordCloudProps) => JSX.Element;
|
|
5
|
+
declare const WordCloud: (props: WordCloudProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
export default WordCloud;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -38,3 +38,5 @@ export type { WordCloudProps } from './WordCloud';
|
|
|
38
38
|
export { default as WordCloud } from './WordCloud';
|
|
39
39
|
export type { InfiniteScrollListProps } from './InfiniteScrollList';
|
|
40
40
|
export { default as InfiniteScrollList } from './InfiniteScrollList';
|
|
41
|
+
export { default as RndDrag } from './RndDrag';
|
|
42
|
+
export type { RndDragProps, DraggableData, Position, Grid, RndDragCallback, RndDragEvent, RndResizeStartCallback, HandleStyles } from './RndDrag';
|
package/dist/esm/index.js
CHANGED
|
@@ -18,4 +18,5 @@ export { default as ModalForm } from "./ModalForm";
|
|
|
18
18
|
export { default as ColorPicker } from "./ColorPicker";
|
|
19
19
|
export { default as ScrollNumber } from "./ScrollNumber";
|
|
20
20
|
export { default as WordCloud } from "./WordCloud";
|
|
21
|
-
export { default as InfiniteScrollList } from "./InfiniteScrollList";
|
|
21
|
+
export { default as InfiniteScrollList } from "./InfiniteScrollList";
|
|
22
|
+
export { default as RndDrag } from "./RndDrag";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.pui-label-value{display:inline-flex}.pui-label-value span:first-child{max-width:120px;padding-right:4px;white-space:nowrap}.pui-label-value span:last-child{flex:1 1}.pui-label-value span:last-child.no-wrap{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pui-search-filter{align-items:center;background-color:#fff;margin-top:10px;width:100%}.pui-search-filter span.ant-collapse-header-text{cursor:auto!important;display:inline-block;width:100%}.pui-search-filter .ant-collapse-content-box{padding:0}.pui-search-filter .search-header{display:flex;width:100%}.pui-search-filter .search-header .left{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:no-wrap}.pui-search-filter .search-header .left :global .ant-radio-wrapper:first-child{border-left:1px solid #d9d9d9;border-radius:5px 0 0 5px}.pui-search-filter .search-header .left :global .ant-radio-wrapper:last-child{border-radius:0 5px 5px 0}.pui-search-filter .search-header .left :global .ant-radio-wrapper{border:1px solid #d9d9d9;border-left-color:#fff;margin-right:0;padding:4px 6px}.pui-search-filter .search-header .left :global .ant-radio-wrapper .ant-radio{display:none}.pui-search-filter .search-header .left :global .ant-radio-wrapper:hover{color:#1890ff}.pui-search-filter .search-header .left :global .ant-radio-wrapper-checked{background:#fff;border:1px solid #1890ff;border-left:1px solid #1890ff!important;color:#1890ff;z-index:1}.pui-search-filter .search-header .right{display:flex;justify-content:center}.pui-search-filter .search-header .right .input{border-radius:4px;width:200px}.pui-search-filter .search-header .right .button{background-color:#ff7e00;border-radius:4px;color:#fff;margin-left:10px}.pui-search-filter .search-header .right .button:active,.pui-search-filter .search-header .right .button:focus,.pui-search-filter .search-header .right .button:hover{border-color:transparent}.pui-search-filter .search-header .right .button .icon{margin-left:8px;transition:transform .4s}.pui-search-filter .search-header .right .button .icon.down{transform:rotate(180deg)}.pui-search-filter .search-header .right .button .icon.up{transform:rotate(0deg)}.pui-search-filter .title{align-items:center;border-bottom:1px solid #f0f0f0;display:flex;font-weight:700;margin:0 10px;padding-bottom:10px}.pui-search-filter .title span.icon{background-color:#ff7e00;border-radius:2px;height:16px;margin-right:6px;width:4px}.pui-search-filter .search-content .filter-row{display:flex;flex-wrap:wrap;padding:10px;width:100%}.pui-search-filter .search-content .filter-col{height:30px;line-height:30px;margin-bottom:10px}.pui-search-filter .search-content .filter-col .ant-picker{width:100%}.pui-search-filter .search-content .search-btn{justify-content:center}.pui-search-filter .search-content .search-btn>button{margin:0 5px}.pui-error-boundary{align-items:center;background-color:#dd7f7f;border-radius:10px;display:flex;flex-direction:column;justify-content:center;margin:20px;padding:15px;width:auto}.pui-error-boundary .error-text{margin-top:20px}.pui-error-boundary .error-refresh{background-color:#4593ef;border-radius:5px;color:#fff;cursor:pointer;font-weight:700;height:40px;line-height:40px;text-align:center;width:140px}.pui-error-boundary .errorDetiles .detilesLink{color:blue}.pui-error-boundary .errorDetiles .errordetails{background-color:#ccc6be;border:1px solid #777;border-radius:5px;color:#777;font-size:80%;padding:10px}.pui-picture-card{display:inline-block;padding:10px;transition:box-shadow .3s linear}.pui-picture-card .info{margin-top:10px}.pui-picture-card-bordered{border:1px solid rgba(0,0,0,.06)}.pui-picture-card-hoverable:hover{border-color:transparent;box-shadow:0 1px 2px -2px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.12),0 5px 12px 4px rgba(0,0,0,.09);cursor:pointer}.pui-picture-card.horizontal{display:flex;justify-content:space-around}.pui-loading .mask{height:100%;left:0;overflow:hidden;position:fixed;top:0;width:100%;z-index:100000}.pui-loading .loading{background:#fff;border-radius:10px;box-shadow:3px 3px 3px rgba(0,0,0,.2);padding:20px;z-index:100001}.pui-loading .loading,.pui-nodata{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.pui-nodata .not-data-image{display:block;height:100px}.pui-nodata .no-data-text{color:#000;display:inline-block;font-size:14px;font-weight:400;margin-top:5px;opacity:.65;text-align:center;width:100%}.pui-cascader-dropdown .ant-cascader-menu::-webkit-scrollbar{height:8px;width:8px}.pui-cascader-dropdown .ant-cascader-menu::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5);border-radius:8px}.pui-cascader-dropdown .ant-cascader-menu::-webkit-scrollbar-track{border-radius:2px}.pui-cascader-dropdown .ant-cascader-menu::-webkit-scrollbar-corner{background-color:#f1f1f1}.pui-tree-select-dropdown .ant-select-tree-node-content-wrapper{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pui-tree-select-dropdown .ant-select-tree-node-content-wrapper .ant-select-tree-title{overflow:hidden}.pui-upload .preview .ant-upload-list-item-actions a[target=_blank][rel="noopener noreferrer"]{opacity:1!important;pointer-events:auto!important}.pui-upload .ant-upload-list.ant-upload-list-picture-card .ant-upload-span .ant-upload-list-item-thumbnail{height:46px}.pui-upload .ant-upload-list.ant-upload-list-picture-card .ant-upload-span .ant-upload-list-item-name{display:inline;display:initial;position:absolute}.pui-table .ant-spin-container,.pui-table .ant-spin-nested-loading,.pui-table .ant-table,.pui-table .ant-table-container{height:100%;width:100%}.pui-table .ant-table-body{max-height:calc(100% - 56px);max-width:100%;min-height:calc(100% - 56px);min-width:100%;overflow-y:auto!important;position:absolute}.pui-table .ant-table-body .ant-table-tbody>tr>td.ant-table-cell.d-table-cell-wrap{white-space:normal}.pui-table .ant-table-body::-webkit-scrollbar{height:8px;width:4px}.pui-table .ant-table-body::-webkit-scrollbar-thumb{background-color:#0084ff}.pui-table .ant-table-body::-webkit-scrollbar-track{background-color:#f1f1f1;border-radius:2px}.pui-table .ant-table-body::-webkit-scrollbar-corner{background-color:#f1f1f1}.pui-table .ant-spin-nested-loading>div>.ant-spin{max-height:none}.pui-table .ant-pagination-total-text span{color:#40a9ff;font-weight:700}.pui-table.height-on-page .ant-table{height:calc(100% - 56px)}.pui-form .form-wrapper>.ant-form-item{margin-bottom:24px;margin-right:0;min-height:32px}.pui-form .ant-input-number,.pui-form .ant-picker{width:100%}.pui-form.ant-form-horizontal .ant-form-item-label{min-width:80px}.pui-form.ant-form-inline .form-wrapper,.pui-form.ant-form-inline.inlineVertical .form-wrapper{align-items:flex-end;display:flex;flex-wrap:wrap;height:min-content}.pui-form.ant-form-inline .form-wrapper>.ant-form-item,.pui-form.ant-form-inline.inlineVertical .form-wrapper>.ant-form-item{padding-right:16px}.pui-form.ant-form-inline.inlineVertical .ant-form-item-row{flex-direction:column}.pui-form.ant-form-inline.inlineVertical .ant-form-item-row .ant-form-item-label{text-align:left}.pui-modal-container .ant-modal-wrap .ant-modal{height:100%;max-width:none}.pui-modal-container .ant-modal-wrap .ant-modal .ant-modal-content{height:100%;width:100%}.pui-absolute-modal-container .ant-modal-wrap{position:fixed}.pui-relative-modal-container .ant-modal-wrap{position:absolute}.pui-color-picker .sketch-picker{box-shadow:none!important;padding:0!important}.trigger{border:5px solid #fff;border-radius:2px;box-shadow:0 0 2px #000;cursor:pointer;display:inline-block;height:26px;width:60px}.pui-infinite-scroll-wrapper .ant-list .ant-row{margin-right:0!important}.scroll-container{position:relative}.scroll-container .backtop{right:50px}.scroll-container .up{background:#007aff;border-radius:3px;color:#fff;text-align:center}
|
|
1
|
+
.pui-label-value{display:inline-flex}.pui-label-value span:first-child{max-width:120px;padding-right:4px;white-space:nowrap}.pui-label-value span:last-child{flex:1 1}.pui-label-value span:last-child.no-wrap{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pui-search-filter{align-items:center;background-color:#fff;margin-top:10px;width:100%}.pui-search-filter span.ant-collapse-header-text{cursor:auto!important;display:inline-block;width:100%}.pui-search-filter .ant-collapse-content-box{padding:0}.pui-search-filter .search-header{display:flex;width:100%}.pui-search-filter .search-header .left{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:no-wrap}.pui-search-filter .search-header .left :global .ant-radio-wrapper:first-child{border-left:1px solid #d9d9d9;border-radius:5px 0 0 5px}.pui-search-filter .search-header .left :global .ant-radio-wrapper:last-child{border-radius:0 5px 5px 0}.pui-search-filter .search-header .left :global .ant-radio-wrapper{border:1px solid #d9d9d9;border-left-color:#fff;margin-right:0;padding:4px 6px}.pui-search-filter .search-header .left :global .ant-radio-wrapper .ant-radio{display:none}.pui-search-filter .search-header .left :global .ant-radio-wrapper:hover{color:#1890ff}.pui-search-filter .search-header .left :global .ant-radio-wrapper-checked{background:#fff;border:1px solid #1890ff;border-left:1px solid #1890ff!important;color:#1890ff;z-index:1}.pui-search-filter .search-header .right{display:flex;justify-content:center}.pui-search-filter .search-header .right .input{border-radius:4px;width:200px}.pui-search-filter .search-header .right .button{background-color:#ff7e00;border-radius:4px;color:#fff;margin-left:10px}.pui-search-filter .search-header .right .button:active,.pui-search-filter .search-header .right .button:focus,.pui-search-filter .search-header .right .button:hover{border-color:transparent}.pui-search-filter .search-header .right .button .icon{margin-left:8px;transition:transform .4s}.pui-search-filter .search-header .right .button .icon.down{transform:rotate(180deg)}.pui-search-filter .search-header .right .button .icon.up{transform:rotate(0deg)}.pui-search-filter .title{align-items:center;border-bottom:1px solid #f0f0f0;display:flex;font-weight:700;margin:0 10px;padding-bottom:10px}.pui-search-filter .title span.icon{background-color:#ff7e00;border-radius:2px;height:16px;margin-right:6px;width:4px}.pui-search-filter .search-content .filter-row{display:flex;flex-wrap:wrap;padding:10px;width:100%}.pui-search-filter .search-content .filter-col{height:30px;line-height:30px;margin-bottom:10px}.pui-search-filter .search-content .filter-col .ant-picker{width:100%}.pui-search-filter .search-content .search-btn{justify-content:center}.pui-search-filter .search-content .search-btn>button{margin:0 5px}.pui-error-boundary{align-items:center;background-color:#dd7f7f;border-radius:10px;display:flex;flex-direction:column;justify-content:center;margin:20px;padding:15px;width:auto}.pui-error-boundary .error-text{margin-top:20px}.pui-error-boundary .error-refresh{background-color:#4593ef;border-radius:5px;color:#fff;cursor:pointer;font-weight:700;height:40px;line-height:40px;text-align:center;width:140px}.pui-error-boundary .errorDetiles .detilesLink{color:blue}.pui-error-boundary .errorDetiles .errordetails{background-color:#ccc6be;border:1px solid #777;border-radius:5px;color:#777;font-size:80%;padding:10px}.pui-picture-card{display:inline-block;padding:10px;transition:box-shadow .3s linear}.pui-picture-card .info{margin-top:10px}.pui-picture-card-bordered{border:1px solid rgba(0,0,0,.06)}.pui-picture-card-hoverable:hover{border-color:transparent;box-shadow:0 1px 2px -2px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.12),0 5px 12px 4px rgba(0,0,0,.09);cursor:pointer}.pui-picture-card.horizontal{display:flex;justify-content:space-around}.pui-loading .mask{height:100%;left:0;overflow:hidden;position:fixed;top:0;width:100%;z-index:100000}.pui-loading .loading{background:#fff;border-radius:10px;box-shadow:3px 3px 3px rgba(0,0,0,.2);padding:20px;z-index:100001}.pui-loading .loading,.pui-nodata{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.pui-nodata .not-data-image{display:block;height:100px}.pui-nodata .no-data-text{color:#000;display:inline-block;font-size:14px;font-weight:400;margin-top:5px;opacity:.65;text-align:center;width:100%}.pui-cascader-dropdown .ant-cascader-menu::-webkit-scrollbar{height:8px;width:8px}.pui-cascader-dropdown .ant-cascader-menu::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5);border-radius:8px}.pui-cascader-dropdown .ant-cascader-menu::-webkit-scrollbar-track{border-radius:2px}.pui-cascader-dropdown .ant-cascader-menu::-webkit-scrollbar-corner{background-color:#f1f1f1}.pui-tree-select-dropdown .ant-select-tree-node-content-wrapper{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pui-tree-select-dropdown .ant-select-tree-node-content-wrapper .ant-select-tree-title{overflow:hidden}.pui-upload .preview .ant-upload-list-item-actions a[target=_blank][rel="noopener noreferrer"]{opacity:1!important;pointer-events:auto!important}.pui-upload .ant-upload-list.ant-upload-list-picture-card .ant-upload-span .ant-upload-list-item-thumbnail{height:46px}.pui-upload .ant-upload-list.ant-upload-list-picture-card .ant-upload-span .ant-upload-list-item-name{display:inline;display:initial;position:absolute}.pui-table .ant-spin-container,.pui-table .ant-spin-nested-loading,.pui-table .ant-table,.pui-table .ant-table-container{height:100%;width:100%}.pui-table .ant-table-body{max-height:calc(100% - 56px);max-width:100%;min-height:calc(100% - 56px);min-width:100%;overflow-y:auto!important;position:absolute}.pui-table .ant-table-body .ant-table-tbody>tr>td.ant-table-cell.d-table-cell-wrap{white-space:normal}.pui-table .ant-table-body::-webkit-scrollbar{height:8px;width:4px}.pui-table .ant-table-body::-webkit-scrollbar-thumb{background-color:#0084ff}.pui-table .ant-table-body::-webkit-scrollbar-track{background-color:#f1f1f1;border-radius:2px}.pui-table .ant-table-body::-webkit-scrollbar-corner{background-color:#f1f1f1}.pui-table .ant-spin-nested-loading>div>.ant-spin{max-height:none}.pui-table .ant-pagination-total-text span{color:#40a9ff;font-weight:700}.pui-table.height-on-page .ant-table{height:calc(100% - 56px)}.pui-form .form-wrapper>.ant-form-item{margin-bottom:24px;margin-right:0;min-height:32px}.pui-form .ant-input-number,.pui-form .ant-picker{width:100%}.pui-form.ant-form-horizontal .form-wrapper>.ant-form-item:last-child,.pui-form.ant-form-vertical .form-wrapper>.ant-form-item:last-child{margin-bottom:0}.pui-form.ant-form-horizontal .ant-form-item-label{min-width:80px}.pui-form.ant-form-inline .form-wrapper,.pui-form.ant-form-inline.inlineVertical .form-wrapper{align-items:flex-end;display:flex;flex-wrap:wrap;height:min-content}.pui-form.ant-form-inline .form-wrapper>.ant-form-item,.pui-form.ant-form-inline.inlineVertical .form-wrapper>.ant-form-item{padding-right:16px}.pui-form.ant-form-inline.inlineVertical .ant-form-item-row{flex-direction:column}.pui-form.ant-form-inline.inlineVertical .ant-form-item-row .ant-form-item-label{text-align:left}.pui-modal-container .ant-modal-wrap .ant-modal{height:100%;max-width:none}.pui-modal-container .ant-modal-wrap .ant-modal .ant-modal-content{height:100%;width:100%}.pui-absolute-modal-container .ant-modal-wrap{position:fixed}.pui-relative-modal-container .ant-modal-wrap{position:absolute}.pui-color-picker .sketch-picker{box-shadow:none!important;padding:0!important}.trigger{border:5px solid #fff;border-radius:2px;box-shadow:0 0 2px #000;cursor:pointer;display:inline-block;height:26px;width:60px}.pui-infinite-scroll-wrapper .ant-list .ant-row{margin-right:0!important}.scroll-container{position:relative}.scroll-container .backtop{right:50px}.scroll-container .up{background:#007aff;border-radius:3px;color:#fff;text-align:center}
|