@para-ui/core 3.0.51 → 3.0.53
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 +2 -1
- package/AutoTips/index.js +2 -1
- package/Breadcrumbs/index.js +3 -2
- package/Button/index.js +2 -1
- package/ButtonGroup/index.js +2 -1
- package/Cascader/index.js +3 -2
- package/Checkbox/index.js +2 -1
- package/CheckboxGroup/index.js +2 -1
- package/CollapseBox/index.js +2 -1
- package/CollapseLayout/index.js +2 -1
- package/ComboSelect/index.js +4 -3
- package/DatePicker/index.js +3 -2
- package/Desktop/index.js +3 -2
- package/DragVerify/index.js +2 -1
- package/Drawer/index.js +2 -1
- package/DynamicMultiBox/index.js +4 -3
- package/Form/index.d.ts +8 -2
- package/Form/index.js +35 -19
- package/FormItem/index.js +5 -4
- package/FunctionModal/index.js +5 -4
- package/Help/index.js +2 -1
- package/InputLang/index.js +3 -2
- package/InputNumber/index.js +2 -1
- package/Label/index.js +2 -1
- package/Menu/index.js +3 -2
- package/Message/index.d.ts +26 -0
- package/Message/index.js +50 -8
- package/Modal/index.js +2 -1
- package/MultiBox/index.js +3 -2
- package/OperateBtn/index.js +2 -1
- package/PageHeader/index.js +3 -2
- package/Pagination/index.js +3 -2
- package/PopConfirm/index.js +2 -1
- package/Popover/index.js +2 -1
- package/README.md +9 -0
- package/Radio/index.js +2 -1
- package/RadioGroup/index.js +2 -1
- package/Search/index.js +2 -1
- package/Select/index.js +3 -2
- package/SelectInput/index.js +3 -2
- package/Selector/index.js +3 -2
- package/SelectorPicker/index.js +3 -2
- package/SingleBox/index.js +3 -2
- package/Slider/index.js +2 -1
- package/Split/index.js +2 -1
- package/Switch/index.js +2 -1
- package/Table/index.js +3 -2
- package/Tabs/index.js +2 -1
- package/Tag/index.js +3 -2
- package/TextEditor/index.js +2 -1
- package/TextField/index.d.ts +0 -2
- package/TextField/index.js +5 -6
- package/TimePicker/index.js +3 -2
- package/ToggleButton/index.js +2 -1
- package/Tooltip/index.js +2 -1
- package/Transfer/index.js +3 -2
- package/Tree/index.js +5 -4
- package/Upload/index.js +3 -2
- package/_verture/{index-5ca4181b.js → index-74f820ba.js} +2 -2
- package/_verture/{index-b30abb46.js → index-9fd86055.js} +1 -1
- package/_verture/{modalContext-f70ba993.js → modalContext-92bb0e16.js} +2 -2
- package/_verture/{slicedToArray-708dbb18.js → slicedToArray-76060636.js} +3 -16
- package/_verture/{toConsumableArray-57dd2e23.js → toConsumableArray-81040c9e.js} +1 -1
- package/_verture/unsupportedIterableToArray-cb478f24.js +16 -0
- package/index.js +7 -6
- package/package.json +1 -1
- package/umd/ComboSelect.js +1 -1
- package/umd/Desktop.js +1 -1
- package/umd/Drawer.js +4 -4
- package/umd/DynamicMultiBox.js +1 -1
- package/umd/Form.js +2 -2
- package/umd/FormItem.js +1 -1
- package/umd/InputLang.js +1 -1
- package/umd/Message.js +3 -3
- package/umd/MultiBox.js +1 -1
- package/umd/Pagination.js +1 -1
- package/umd/Search.js +1 -1
- package/umd/Selector.js +1 -1
- package/umd/SelectorPicker.js +1 -1
- package/umd/SingleBox.js +1 -1
- package/umd/Table.js +1 -1
- package/umd/TextField.js +1 -1
- package/umd/Transfer.js +1 -1
package/Message/index.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { _ as _typeof } from '../_verture/typeof-498dd2b1.js';
|
|
2
|
+
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-81040c9e.js';
|
|
2
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
|
+
import { useEffect } from 'react';
|
|
3
5
|
import ReactDOM from 'react-dom';
|
|
4
6
|
import WarningCircleF from '@para-ui/icons/WarningCircleF';
|
|
5
7
|
import CompleteIcon from '@para-ui/icons/CheckCircleF';
|
|
@@ -7,8 +9,9 @@ import CloseIcon from '@para-ui/icons/Close';
|
|
|
7
9
|
import CloseCircleFilled from '@para-ui/icons/CloseCircleF';
|
|
8
10
|
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
9
11
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
12
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
10
13
|
|
|
11
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/1 下午5:48\n* @description\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-v3-message-box {\n position: fixed;\n top: 3%;\n left: 0;\n z-index: 9999;\n text-align: center;\n width: 100%;\n pointer-events: none;\n
|
|
14
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/1 下午5:48\n* @description\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-v3-message-box {\n /*从上到下进入*/\n /*从上到下*/\n}\n.paraui-v3-message-box--message-float {\n position: fixed;\n top: 3%;\n left: 0;\n z-index: 9999;\n text-align: center;\n width: 100%;\n pointer-events: none;\n}\n.paraui-v3-message-box .msg-item .msg-wrapper {\n position: relative;\n display: inline-block;\n margin: 10px auto;\n min-height: 44px;\n padding: 12px 16px;\n border-radius: 4px;\n font-size: 14px;\n text-align: left;\n}\n.paraui-v3-message-box .msg-item .msg-icon {\n position: absolute;\n top: 15px;\n left: 16px;\n line-height: 0;\n}\n.paraui-v3-message-box .msg-item .msg-icon svg {\n font-size: 14px;\n color: currentColor;\n}\n.paraui-v3-message-box .msg-item .msg-text {\n display: inline-block;\n max-width: 60vw;\n word-wrap: break-word;\n margin-right: 32px;\n margin-left: 22px;\n line-height: 20px;\n word-break: break-all;\n}\n.paraui-v3-message-box .msg-item .msg-text--title {\n font-weight: 700;\n}\n.paraui-v3-message-box .msg-item .msg-text--noicon {\n margin-left: 0;\n}\n.paraui-v3-message-box .msg-item .msg-text .msg-desc {\n display: block;\n margin-top: 8px;\n font-weight: 400;\n word-wrap: break-word;\n}\n.paraui-v3-message-box .msg-item .msg-close {\n position: absolute;\n right: 16px;\n top: 15px;\n cursor: pointer;\n line-height: 0;\n pointer-events: auto;\n}\n.paraui-v3-message-box .msg-item .msg-close svg {\n font-size: 14px;\n color: currentColor;\n}\n.paraui-v3-message-box .msg-item-fill .msg-wrapper {\n width: 100%;\n}\n.paraui-v3-message-box .msg-info {\n background-color: rgb(243, 246, 252);\n color: rgb(54, 102, 214);\n}\n.paraui-v3-message-box .msg-info .msg-close {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-message-box .msg-warn {\n background-color: rgb(254, 249, 245);\n color: rgb(255, 161, 80);\n}\n.paraui-v3-message-box .msg-warn .msg-close {\n color: rgb(255, 161, 80);\n}\n.paraui-v3-message-box .msg-error {\n background-color: rgb(253, 246, 245);\n color: rgb(235, 96, 84);\n}\n.paraui-v3-message-box .msg-error .msg-close {\n color: rgb(235, 96, 84);\n}\n.paraui-v3-message-box .msg-success {\n background-color: rgb(245, 251, 242);\n color: rgb(83, 195, 27);\n}\n.paraui-v3-message-box .msg-success .msg-close {\n color: rgb(83, 195, 27);\n}\n.paraui-v3-message-box .message-fadeInDown {\n animation-duration: 0.5s;\n animation-name: messageFadeInDown;\n}\n@keyframes messageFadeInDown {\n from {\n opacity: 0;\n transform: translate(0, -50px); /* 标准语法 */\n }\n to {\n opacity: 1;\n transform: translate(0, 0); /* 标准语法 */\n }\n}";
|
|
12
15
|
styleInject(css_248z);
|
|
13
16
|
|
|
14
17
|
//图标map
|
|
@@ -34,7 +37,7 @@ var template = function template(_ref) {
|
|
|
34
37
|
hideIcon = _ref.hideIcon;
|
|
35
38
|
var item = document.createElement('div');
|
|
36
39
|
item.className = "msg-item";
|
|
37
|
-
item.id = id;
|
|
40
|
+
item.id = id || "";
|
|
38
41
|
item.innerHTML = "<div class=\"msg-wrapper message-fadeInDown msg-".concat(type, "\">\n ").concat(icon ? "<div class=\"msg-icon\"></div>" : '', "\n <div class=\"msg-text\"></div>\n ").concat(close ? "<div class=\"msg-close\"></div>" : '', "\n </div>\n ");
|
|
39
42
|
var msgBox = item.querySelector('.msg-text');
|
|
40
43
|
if (!msgBox) return item;
|
|
@@ -61,8 +64,38 @@ var template = function template(_ref) {
|
|
|
61
64
|
});
|
|
62
65
|
return item;
|
|
63
66
|
};
|
|
67
|
+
var MessageBar = function MessageBar(props) {
|
|
68
|
+
var className = props.className,
|
|
69
|
+
style = props.style,
|
|
70
|
+
type = props.type;
|
|
71
|
+
var pId = createParentId();
|
|
72
|
+
var mId = getMsgId();
|
|
73
|
+
var cls = getParentClassName(props.className || "");
|
|
74
|
+
if (className) cls += " ".concat(className);
|
|
75
|
+
useEffect(function () {
|
|
76
|
+
var parent = document.getElementById(pId);
|
|
77
|
+
renderContent(parent, Object.assign(Object.assign({}, props), {
|
|
78
|
+
id: mId,
|
|
79
|
+
icon: iconMapping[type]
|
|
80
|
+
}), 0, false, true);
|
|
81
|
+
return function () {
|
|
82
|
+
var hasNode = document.querySelector("#".concat(mId));
|
|
83
|
+
if (hasNode) {
|
|
84
|
+
parent === null || parent === void 0 ? void 0 : parent.removeChild(hasNode);
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
}, _toConsumableArray(Object.values(props)));
|
|
88
|
+
return jsx("div", {
|
|
89
|
+
id: pId,
|
|
90
|
+
className: cls,
|
|
91
|
+
style: style
|
|
92
|
+
});
|
|
93
|
+
};
|
|
94
|
+
var createParentId = function createParentId() {
|
|
95
|
+
return "msgbox_" + String(Math.random() * 100000 | 0 + new Date().getTime());
|
|
96
|
+
};
|
|
64
97
|
//消息box id
|
|
65
|
-
var parentId =
|
|
98
|
+
var parentId = createParentId();
|
|
66
99
|
//message mountNode
|
|
67
100
|
var index = (function () {
|
|
68
101
|
return jsx("div", {
|
|
@@ -71,7 +104,7 @@ var index = (function () {
|
|
|
71
104
|
});
|
|
72
105
|
});
|
|
73
106
|
//渲染msg 内容
|
|
74
|
-
var renderContent = function renderContent(box, _ref2, removeTime, autoClose) {
|
|
107
|
+
var renderContent = function renderContent(box, _ref2, removeTime, autoClose, fill) {
|
|
75
108
|
var icon = _ref2.icon,
|
|
76
109
|
text = _ref2.text,
|
|
77
110
|
id = _ref2.id,
|
|
@@ -90,6 +123,7 @@ var renderContent = function renderContent(box, _ref2, removeTime, autoClose) {
|
|
|
90
123
|
desc: desc,
|
|
91
124
|
hideIcon: hideIcon
|
|
92
125
|
});
|
|
126
|
+
if (fill && item) item.classList.add("msg-item-fill");
|
|
93
127
|
box === null || box === void 0 ? void 0 : box.appendChild(item);
|
|
94
128
|
var iconDom = document.querySelector("#".concat(id, " .msg-icon"));
|
|
95
129
|
if (iconDom && icon && !hideIcon) ReactDOM.render(icon, iconDom);
|
|
@@ -115,7 +149,8 @@ var Msg = function Msg(config, removeTime, type, parentId) {
|
|
|
115
149
|
close,
|
|
116
150
|
hideIcon = false,
|
|
117
151
|
maxCount = (_a = getMsgConf().maxCount) !== null && _a !== void 0 ? _a : Infinity,
|
|
118
|
-
duration = (_b = getMsgConf().duration) !== null && _b !== void 0 ? _b : removeTime
|
|
152
|
+
duration = (_b = getMsgConf().duration) !== null && _b !== void 0 ? _b : removeTime,
|
|
153
|
+
className = '';
|
|
119
154
|
var autoClose = !isNaN(duration) && duration > 0;
|
|
120
155
|
if (typeof config === "string") text = config;else if (_typeof(config) === "object") {
|
|
121
156
|
text = config.text || '';
|
|
@@ -132,8 +167,9 @@ var Msg = function Msg(config, removeTime, type, parentId) {
|
|
|
132
167
|
parent.id = parentId;
|
|
133
168
|
document.body.appendChild(parent);
|
|
134
169
|
}
|
|
135
|
-
parent.className =
|
|
136
|
-
|
|
170
|
+
parent.className = getParentClassName(className);
|
|
171
|
+
parent.className += ' ' + "".concat($prefixCls, "-message-box--message-float");
|
|
172
|
+
var id = getMsgId();
|
|
137
173
|
renderContent(parent, {
|
|
138
174
|
id: id,
|
|
139
175
|
text: text,
|
|
@@ -146,6 +182,12 @@ var Msg = function Msg(config, removeTime, type, parentId) {
|
|
|
146
182
|
}, duration, autoClose);
|
|
147
183
|
dropEleWhenExceedLimit(parent, maxCount);
|
|
148
184
|
};
|
|
185
|
+
var getParentClassName = function getParentClassName(className) {
|
|
186
|
+
return "".concat($prefixCls, "-message-box").concat(className ? ' ' + className : '');
|
|
187
|
+
};
|
|
188
|
+
var getMsgId = function getMsgId() {
|
|
189
|
+
return 'msgitem_' + String(Math.random() * 100000 | 0 + new Date().getTime());
|
|
190
|
+
};
|
|
149
191
|
//超出maxCount 删除之前元素
|
|
150
192
|
var dropEleWhenExceedLimit = function dropEleWhenExceedLimit(parent, maxCount) {
|
|
151
193
|
var _a, _b;
|
|
@@ -201,4 +243,4 @@ var Message = {
|
|
|
201
243
|
}
|
|
202
244
|
};
|
|
203
245
|
|
|
204
|
-
export { Message, index as default };
|
|
246
|
+
export { Message, MessageBar, index as default };
|
package/Modal/index.js
CHANGED
|
@@ -18,7 +18,8 @@ import WarningCircleF from '@para-ui/icons/WarningCircleF';
|
|
|
18
18
|
import { UUID } from '@paraview/lib';
|
|
19
19
|
import { getConfirmLocale } from '@para-ui/core/GlobalContext';
|
|
20
20
|
import '../_verture/typeof-498dd2b1.js';
|
|
21
|
-
import '../_verture/slicedToArray-
|
|
21
|
+
import '../_verture/slicedToArray-76060636.js';
|
|
22
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
22
23
|
import '@para-ui/icons/LoadingF';
|
|
23
24
|
import '@para-ui/icons/Forbid';
|
|
24
25
|
import '../Tooltip/index.js';
|
package/MultiBox/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as _typeof } from '../_verture/typeof-498dd2b1.js';
|
|
2
|
-
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-
|
|
3
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
2
|
+
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-81040c9e.js';
|
|
3
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
|
|
4
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
5
|
import { useState, useEffect } from 'react';
|
|
6
6
|
import { TextField } from '../TextField/index.js';
|
|
@@ -11,6 +11,7 @@ import PlusCircleF from '@para-ui/icons/PlusCircleF';
|
|
|
11
11
|
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
12
12
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-703f8b20.js';
|
|
13
13
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
14
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
14
15
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
15
16
|
import '@paraview/lib';
|
|
16
17
|
import '@para-ui/icons/PreviewClose';
|
package/OperateBtn/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
1
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
|
|
2
2
|
import { r as regenerator } from '../_verture/index-beef914f.js';
|
|
3
3
|
import { a as __awaiter } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
4
4
|
import { jsxs, jsx, Fragment as Fragment$1 } from 'react/jsx-runtime';
|
|
@@ -9,6 +9,7 @@ import { Popover } from '../Popover/index.js';
|
|
|
9
9
|
import AutoTips from '../AutoTips/index.js';
|
|
10
10
|
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
11
11
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
12
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
12
13
|
import '../_verture/typeof-498dd2b1.js';
|
|
13
14
|
import 'clsx';
|
|
14
15
|
import '@para-ui/icons/LoadingF';
|
package/PageHeader/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { useState, useEffect, useMemo, useCallback, useRef } from 'react';
|
|
3
|
-
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-
|
|
4
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
3
|
+
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-81040c9e.js';
|
|
4
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
|
|
5
5
|
import { Popover } from '../Popover/index.js';
|
|
6
6
|
import Down from '@para-ui/icons/Down';
|
|
7
7
|
import * as iconList from '@para-ui/icons';
|
|
@@ -10,6 +10,7 @@ import { UUID, DeepClone } from '@paraview/lib';
|
|
|
10
10
|
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
11
11
|
import { Button } from '../Button/index.js';
|
|
12
12
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
13
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
13
14
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
14
15
|
import '../Tooltip/index.js';
|
|
15
16
|
import 'rc-tooltip';
|
package/Pagination/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
1
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
|
|
2
2
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
3
3
|
import React__default, { useState, useRef, useEffect, useMemo } from 'react';
|
|
4
4
|
import GlobalContext from '@para-ui/core/GlobalContext';
|
|
@@ -12,6 +12,7 @@ import NavigateBefore from '@para-ui/icons/Left';
|
|
|
12
12
|
import PaginationCom from 'rc-pagination';
|
|
13
13
|
import Right from '@para-ui/icons/Right';
|
|
14
14
|
import DoubleRight from '@para-ui/icons/DoubleRight';
|
|
15
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
15
16
|
import '../_verture/typeof-498dd2b1.js';
|
|
16
17
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
17
18
|
import '../Label/index.js';
|
|
@@ -35,7 +36,7 @@ import 'rc-dropdown';
|
|
|
35
36
|
import '../_verture/usePopupContainer-87febeb9.js';
|
|
36
37
|
import 'dayjs';
|
|
37
38
|
import '../_verture/defineProperty-62acccfc.js';
|
|
38
|
-
import '../_verture/toConsumableArray-
|
|
39
|
+
import '../_verture/toConsumableArray-81040c9e.js';
|
|
39
40
|
import '../Empty/index.js';
|
|
40
41
|
import '@para-ui/icons/Close';
|
|
41
42
|
import '@para-ui/icons/Down';
|
package/PopConfirm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
1
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
|
|
2
2
|
import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
3
3
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
4
4
|
import React__default, { useState, useEffect } from 'react';
|
|
@@ -13,6 +13,7 @@ import { u as useFormatMessage } from '../_verture/useFormatMessage-703f8b20.js'
|
|
|
13
13
|
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
14
14
|
import { u as usePopupContainer } from '../_verture/usePopupContainer-87febeb9.js';
|
|
15
15
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
16
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
16
17
|
import '../_verture/typeof-498dd2b1.js';
|
|
17
18
|
import '@para-ui/icons/LoadingF';
|
|
18
19
|
import '@para-ui/icons/Forbid';
|
package/Popover/index.js
CHANGED
|
@@ -6,7 +6,8 @@ import { $ as $prefixCls, a as $rcPrefixCls } from '../_verture/constant-66aa48a
|
|
|
6
6
|
import { u as usePopupContainer } from '../_verture/usePopupContainer-87febeb9.js';
|
|
7
7
|
import clsx from 'clsx';
|
|
8
8
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
9
|
-
import '../_verture/slicedToArray-
|
|
9
|
+
import '../_verture/slicedToArray-76060636.js';
|
|
10
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
10
11
|
import 'rc-tooltip';
|
|
11
12
|
import 'rc-tooltip/lib/placements';
|
|
12
13
|
|
package/README.md
CHANGED
package/Radio/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
1
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { useState, useEffect } from 'react';
|
|
4
4
|
import Label from '../Label/index.js';
|
|
5
5
|
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
6
6
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
7
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
7
8
|
import '../Help/index.js';
|
|
8
9
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
9
10
|
import '../Tooltip/index.js';
|
package/RadioGroup/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
1
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
|
|
2
2
|
import { useState, useEffect, createElement } from 'react';
|
|
3
3
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
4
4
|
import { Radio } from '../Radio/index.js';
|
|
@@ -6,6 +6,7 @@ import Label from '../Label/index.js';
|
|
|
6
6
|
import HelperText from '../HelperText/index.js';
|
|
7
7
|
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
8
8
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
9
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
9
10
|
import '../Help/index.js';
|
|
10
11
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
11
12
|
import '../Tooltip/index.js';
|
package/Search/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
1
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { useState, useEffect } from 'react';
|
|
4
4
|
import { TextField } from '../TextField/index.js';
|
|
@@ -6,6 +6,7 @@ import { Button } from '../Button/index.js';
|
|
|
6
6
|
import SearchIcon from '@para-ui/icons/Search';
|
|
7
7
|
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
8
8
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
9
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
9
10
|
import '../_verture/typeof-498dd2b1.js';
|
|
10
11
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
11
12
|
import '../Label/index.js';
|
package/Select/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as _defineProperty } from '../_verture/defineProperty-62acccfc.js';
|
|
2
|
-
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-
|
|
2
|
+
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-81040c9e.js';
|
|
3
3
|
import { _ as _typeof } from '../_verture/typeof-498dd2b1.js';
|
|
4
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
4
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
|
|
5
5
|
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';
|
|
@@ -22,6 +22,7 @@ import HelperText from '../HelperText/index.js';
|
|
|
22
22
|
import { u as useGlobalProps } from '../_verture/useGlobalProps-1b846a65.js';
|
|
23
23
|
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
24
24
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
25
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
25
26
|
import 'clsx';
|
|
26
27
|
import '../Help/index.js';
|
|
27
28
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
package/SelectInput/index.js
CHANGED
|
@@ -3,8 +3,9 @@ import Select from '../Select/index.js';
|
|
|
3
3
|
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
4
4
|
import '../_verture/defineProperty-62acccfc.js';
|
|
5
5
|
import '../_verture/typeof-498dd2b1.js';
|
|
6
|
-
import '../_verture/toConsumableArray-
|
|
7
|
-
import '../_verture/
|
|
6
|
+
import '../_verture/toConsumableArray-81040c9e.js';
|
|
7
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
8
|
+
import '../_verture/slicedToArray-76060636.js';
|
|
8
9
|
import 'react';
|
|
9
10
|
import '../Empty/index.js';
|
|
10
11
|
import 'clsx';
|
package/Selector/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-
|
|
2
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
1
|
+
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-81040c9e.js';
|
|
2
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
|
|
3
3
|
import { r as regenerator } from '../_verture/index-beef914f.js';
|
|
4
4
|
import { a as __awaiter, _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
5
5
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
@@ -20,6 +20,7 @@ import SearchIcon from '@para-ui/icons/Search';
|
|
|
20
20
|
import Refresh from '@para-ui/icons/Refresh';
|
|
21
21
|
import { ArrayToObject, Get, Post, Cancel } from '@paraview/lib';
|
|
22
22
|
import { u as useGlobalProps } from '../_verture/useGlobalProps-1b846a65.js';
|
|
23
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
23
24
|
import '../Label/index.js';
|
|
24
25
|
import '../Help/index.js';
|
|
25
26
|
import '../Tooltip/index.js';
|
package/SelectorPicker/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as _defineProperty } from '../_verture/defineProperty-62acccfc.js';
|
|
2
|
-
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-
|
|
3
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
2
|
+
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-81040c9e.js';
|
|
3
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
|
|
4
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
5
|
import { useState, useRef, useEffect } from 'react';
|
|
6
6
|
import clsx from 'clsx';
|
|
@@ -17,6 +17,7 @@ import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
|
17
17
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-703f8b20.js';
|
|
18
18
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
19
19
|
import '../_verture/typeof-498dd2b1.js';
|
|
20
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
20
21
|
import '../Help/index.js';
|
|
21
22
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
22
23
|
import '../Tooltip/index.js';
|
package/SingleBox/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as _typeof } from '../_verture/typeof-498dd2b1.js';
|
|
2
|
-
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-
|
|
3
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
2
|
+
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-81040c9e.js';
|
|
3
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
|
|
4
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
5
|
import { useState, useEffect } from 'react';
|
|
6
6
|
import { TextField } from '../TextField/index.js';
|
|
@@ -11,6 +11,7 @@ import Delete from '@para-ui/icons/Delete';
|
|
|
11
11
|
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
12
12
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-703f8b20.js';
|
|
13
13
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
14
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
14
15
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
15
16
|
import '@paraview/lib';
|
|
16
17
|
import '@para-ui/icons/PreviewClose';
|
package/Slider/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _defineProperty } from '../_verture/defineProperty-62acccfc.js';
|
|
2
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
2
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
|
|
3
3
|
import { _ as _typeof } from '../_verture/typeof-498dd2b1.js';
|
|
4
4
|
import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -8,6 +8,7 @@ import RcSlider, { Range, SliderTooltip, Handle } from 'rc-slider';
|
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import { $ as $prefixCls, a as $rcPrefixCls } from '../_verture/constant-66aa48a1.js';
|
|
10
10
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
11
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
11
12
|
|
|
12
13
|
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/4 下午2:58\n* @description\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-v3-slider {\n position: relative;\n height: 8px;\n padding: 0;\n width: 100%;\n border-radius: 4px;\n touch-action: none;\n box-sizing: border-box;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.paraui-v3-slider .component-slider-rail {\n position: absolute;\n width: 100%;\n background-color: rgba(171, 176, 185, 0.2);\n height: 8px;\n border-radius: 4px;\n}\n.paraui-v3-slider .component-slider-track {\n position: absolute;\n left: 0;\n height: 8px;\n border-radius: 4px;\n background-color: rgb(54, 102, 214);\n}\n.paraui-v3-slider .component-slider-handle {\n position: absolute;\n width: 16px;\n height: 16px;\n cursor: pointer;\n margin-top: -4px;\n border-radius: 50%;\n border: solid 2px rgb(54, 102, 214);\n background-color: rgb(255, 255, 255);\n touch-action: pan-x;\n}\n.paraui-v3-slider .component-slider-handle-dragging {\n border-color: rgb(54, 102, 214);\n box-shadow: 0 0 5px rgba(54, 102, 214, 0.2);\n outline: 2px solid rgba(54, 102, 214, 0.2);\n}\n.paraui-v3-slider .component-slider-handle:focus {\n outline: none;\n}\n.paraui-v3-slider .component-slider-handle-click-focused:focus {\n border-color: rgb(54, 102, 214);\n box-shadow: unset;\n}\n.paraui-v3-slider .component-slider-handle:hover {\n border-color: rgb(54, 102, 214);\n}\n.paraui-v3-slider .component-slider-handle:active {\n border-color: rgb(54, 102, 214);\n box-shadow: 0 0 5px rgba(54, 102, 214, 0.2);\n outline: 2px solid rgba(54, 102, 214, 0.2);\n cursor: grabbing;\n}\n.paraui-v3-slider .component-slider-mark {\n position: absolute;\n top: 18px;\n left: 0;\n width: 100%;\n font-size: 12px;\n}\n.paraui-v3-slider .component-slider-mark-text {\n position: absolute;\n display: inline-block;\n vertical-align: middle;\n text-align: center;\n cursor: pointer;\n color: #999;\n}\n.paraui-v3-slider .component-slider-mark-text-active {\n color: #666;\n}\n.paraui-v3-slider .component-slider-step {\n position: absolute;\n width: 100%;\n height: 8px;\n background: transparent;\n}\n.paraui-v3-slider .component-slider-dot {\n position: absolute;\n bottom: -2px;\n margin-left: -4px;\n width: 12px;\n height: 12px;\n border: solid 2px rgba(171, 176, 185, 0.4);\n background-color: rgb(255, 255, 255);\n cursor: pointer;\n border-radius: 50%;\n vertical-align: middle;\n}\n.paraui-v3-slider .component-slider-dot-active {\n border-color: rgb(54, 102, 214);\n}\n.paraui-v3-slider .component-slider-dot-reverse {\n margin-right: -4px;\n}\n.paraui-v3-slider.component-slider-disabled {\n background-color: rgba(171, 176, 185, 0.2);\n}\n.paraui-v3-slider.component-slider-disabled .component-slider-track {\n background-color: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-slider.component-slider-disabled .component-slider-handle, .paraui-v3-slider.component-slider-disabled .component-slider-dot {\n border-color: #ccc;\n box-shadow: none;\n background-color: rgb(255, 255, 255);\n cursor: not-allowed;\n}\n.paraui-v3-slider.component-slider-disabled .component-slider-mark-text, .paraui-v3-slider.component-slider-disabled .component-slider-dot {\n cursor: not-allowed !important;\n}\n.paraui-v3-slider.component-slider-vertical {\n width: 14px;\n height: 100%;\n padding: 0 5px;\n}\n.paraui-v3-slider.component-slider-vertical .component-slider-rail {\n height: 100%;\n width: 4px;\n}\n.paraui-v3-slider.component-slider-vertical .component-slider-track {\n left: 5px;\n bottom: 0;\n width: 4px;\n}\n.paraui-v3-slider.component-slider-vertical .component-slider-handle {\n margin-left: -6px;\n touch-action: pan-y;\n}\n.paraui-v3-slider.component-slider-vertical .component-slider-mark {\n top: 0;\n left: 18px;\n height: 100%;\n}\n.paraui-v3-slider.component-slider-vertical .component-slider-step {\n height: 100%;\n width: 4px;\n}\n.paraui-v3-slider.component-slider-vertical .component-slider-dot {\n left: 0px;\n margin-bottom: -4px;\n}\n.paraui-v3-slider.component-slider-vertical .component-slider-dot:first-child {\n margin-bottom: -4px;\n}\n.paraui-v3-slider.component-slider-vertical .component-slider-dot:last-child {\n margin-bottom: -4px;\n}\n\n.component-slider-tooltip {\n position: absolute;\n display: block;\n left: -9999px;\n top: -9999px;\n max-width: 250px;\n z-index: 1500;\n visibility: visible;\n box-sizing: border-box;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.component-slider-tooltip-hidden {\n display: none;\n}\n.component-slider-tooltip-inner {\n min-width: 24px;\n font-size: 14px;\n line-height: 1;\n color: rgba(46, 55, 67, 0.7);\n text-align: center;\n text-decoration: none;\n background-color: transparent;\n border-radius: 6px;\n white-space: nowrap;\n box-shadow: none;\n}\n.component-slider-tooltip-arrow {\n display: none;\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.component-slider-tooltip-placement-top .component-slider-tooltip-arrow {\n bottom: 4px;\n left: 50%;\n margin-left: -4px;\n border-width: 4px 4px 0;\n border-top-color: #6c6c6c;\n}\n.component-slider-tooltip-zoom-down-enter, .component-slider-tooltip-zoom-down-appear {\n animation-duration: 0.3s;\n animation-fill-mode: both;\n display: block !important;\n animation-play-state: paused;\n}\n.component-slider-tooltip-zoom-down-leave {\n animation-duration: 0.3s;\n animation-fill-mode: both;\n display: block !important;\n animation-play-state: paused;\n}\n.component-slider-tooltip-zoom-down-enter.component-slider-tooltip-zoom-down-enter-active, .component-slider-tooltip-zoom-down-appear.component-slider-tooltip-zoom-down-appear-active {\n animation-name: sliderTooltipZoomDownIn;\n animation-play-state: running;\n}\n.component-slider-tooltip-zoom-down-leave.component-slider-tooltip-zoom-down-leave-active {\n animation-name: sliderTooltipZoomDownOut;\n animation-play-state: running;\n}\n.component-slider-tooltip-zoom-down-enter, .component-slider-tooltip-zoom-down-appear {\n transform: scale(0, 0);\n animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);\n}\n.component-slider-tooltip-zoom-down-leave {\n animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n}\n@keyframes sliderTooltipZoomDownIn {\n 0% {\n opacity: 0;\n transform-origin: 50% 100%;\n transform: scale(0, 0);\n }\n 100% {\n transform-origin: 50% 100%;\n transform: scale(1, 1);\n }\n}\n@keyframes sliderTooltipZoomDownOut {\n 0% {\n transform-origin: 50% 100%;\n transform: scale(1, 1);\n }\n 100% {\n opacity: 0;\n transform-origin: 50% 100%;\n transform: scale(0, 0);\n }\n}";
|
|
13
14
|
styleInject(css_248z);
|
package/Split/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { _ as _typeof } from '../_verture/typeof-498dd2b1.js';
|
|
2
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
2
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
|
|
3
3
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
6
6
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
7
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
7
8
|
|
|
8
9
|
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-v3-split {\n display: flex;\n min-height: 200px;\n -webkit-user-select: none;\n user-select: none;\n}\n.paraui-v3-split .split-left {\n background-color: #ffffff;\n position: relative;\n min-width: 201px;\n}\n.paraui-v3-split .split-left .split-separator {\n display: flex;\n justify-content: center;\n align-items: center;\n position: absolute;\n top: 0;\n right: 0;\n width: 6px;\n height: 100%;\n background-color: white;\n box-shadow: 0 0 2px rgba(0, 0, 0, 0.35);\n cursor: col-resize;\n}\n.paraui-v3-split .split-left .split-separator i {\n display: inline-block;\n height: 14px;\n width: 1px;\n background-color: #e9e9e9;\n margin: 0 1px;\n}\n.paraui-v3-split .split-left .split-left-content {\n padding: 20px 34px 20px 20px;\n}\n.paraui-v3-split .split-right {\n background-color: #ffffff;\n flex: 1;\n}\n.paraui-v3-split .split-right-content {\n padding: 20px;\n}";
|
|
9
10
|
styleInject(css_248z);
|
package/Switch/index.js
CHANGED
|
@@ -10,7 +10,8 @@ import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
|
10
10
|
import '../_verture/typeof-498dd2b1.js';
|
|
11
11
|
import '../Help/index.js';
|
|
12
12
|
import '../Tooltip/index.js';
|
|
13
|
-
import '../_verture/slicedToArray-
|
|
13
|
+
import '../_verture/slicedToArray-76060636.js';
|
|
14
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
14
15
|
import 'react';
|
|
15
16
|
import 'rc-tooltip';
|
|
16
17
|
import 'rc-tooltip/lib/placements';
|
package/Table/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-
|
|
1
|
+
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-81040c9e.js';
|
|
2
2
|
import { _ as _typeof } from '../_verture/typeof-498dd2b1.js';
|
|
3
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
3
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
|
|
4
4
|
import { r as regenerator } from '../_verture/index-beef914f.js';
|
|
5
5
|
import { _ as __rest, a as __awaiter } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
6
6
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -25,6 +25,7 @@ import Down from '@para-ui/icons/Down';
|
|
|
25
25
|
import { Pagination } from '../Pagination/index.js';
|
|
26
26
|
import { Loading } from '../Loading/index.js';
|
|
27
27
|
import { u as useGlobalProps } from '../_verture/useGlobalProps-1b846a65.js';
|
|
28
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
28
29
|
import '../Tooltip/index.js';
|
|
29
30
|
import 'rc-tooltip';
|
|
30
31
|
import 'rc-tooltip/lib/placements';
|
package/Tabs/index.js
CHANGED
|
@@ -13,7 +13,8 @@ import { u as useFormatMessage } from '../_verture/useFormatMessage-703f8b20.js'
|
|
|
13
13
|
import { a as $rcPrefixCls, $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
14
14
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
15
15
|
import '../_verture/typeof-498dd2b1.js';
|
|
16
|
-
import '../_verture/slicedToArray-
|
|
16
|
+
import '../_verture/slicedToArray-76060636.js';
|
|
17
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
17
18
|
import '@para-ui/icons/CheckCircleF';
|
|
18
19
|
import '@para-ui/icons/WarningCircle';
|
|
19
20
|
import '@para-ui/icons/CloseCircleF';
|
package/Tag/index.js
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { _ as _defineProperty } from '../_verture/defineProperty-62acccfc.js';
|
|
2
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
2
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
|
|
3
3
|
import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
4
4
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
import { useState, useRef, useEffect } from 'react';
|
|
6
6
|
import CloseIcon from '@para-ui/icons/Close';
|
|
7
7
|
import clsx from 'clsx';
|
|
8
|
-
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-
|
|
8
|
+
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-81040c9e.js';
|
|
9
9
|
import { _ as _typeof } from '../_verture/typeof-498dd2b1.js';
|
|
10
10
|
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
11
11
|
import AutoTips from '../AutoTips/index.js';
|
|
12
12
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
13
13
|
import Plus from '@para-ui/icons/Plus';
|
|
14
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
14
15
|
import '../Tooltip/index.js';
|
|
15
16
|
import 'rc-tooltip';
|
|
16
17
|
import 'rc-tooltip/lib/placements';
|
package/TextEditor/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
1
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import { forwardRef, useState, useEffect, useImperativeHandle, useMemo } from 'react';
|
|
4
4
|
import Label from '../Label/index.js';
|
|
@@ -8,6 +8,7 @@ import HelperText from '../HelperText/index.js';
|
|
|
8
8
|
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
9
9
|
import { UUID } from '@paraview/lib';
|
|
10
10
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
11
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
11
12
|
import '../Help/index.js';
|
|
12
13
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
13
14
|
import '../Tooltip/index.js';
|
package/TextField/index.d.ts
CHANGED
package/TextField/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _typeof } from '../_verture/typeof-498dd2b1.js';
|
|
2
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
2
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
|
|
3
3
|
import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
4
4
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
5
5
|
import { useState, useRef, useEffect, useMemo } from 'react';
|
|
@@ -15,6 +15,7 @@ import { u as useGlobalProps } from '../_verture/useGlobalProps-1b846a65.js';
|
|
|
15
15
|
import { D as Dropdown } from '../_verture/index-77f9e0fb.js';
|
|
16
16
|
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
17
17
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
18
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
18
19
|
import '../Help/index.js';
|
|
19
20
|
import '../Tooltip/index.js';
|
|
20
21
|
import 'rc-tooltip';
|
|
@@ -67,8 +68,6 @@ var TextField = function TextField(props) {
|
|
|
67
68
|
addonAfter = _a$addonAfter === void 0 ? '' : _a$addonAfter;
|
|
68
69
|
_a.defaultValue;
|
|
69
70
|
var value = _a.value,
|
|
70
|
-
_a$autoFocus = _a.autoFocus,
|
|
71
|
-
autoFocus = _a$autoFocus === void 0 ? false : _a$autoFocus,
|
|
72
71
|
_a$type = _a.type,
|
|
73
72
|
type = _a$type === void 0 ? 'text' : _a$type,
|
|
74
73
|
onClickIcon = _a.onClickIcon,
|
|
@@ -96,7 +95,7 @@ var TextField = function TextField(props) {
|
|
|
96
95
|
onClickAddonAfter = _a.onClickAddonAfter,
|
|
97
96
|
onSelect = _a.onSelect,
|
|
98
97
|
onClear = _a.onClear,
|
|
99
|
-
otherProps = __rest(_a, ["className", "style", "size", "labelMode", "placeholder", "label", "labelTooltip", "disabled", "multiline", "required", "labelSign", "rows", "error", "hideErrorDom", "helperText", "addonBefore", "addonAfter", "defaultValue", "value", "
|
|
98
|
+
otherProps = __rest(_a, ["className", "style", "size", "labelMode", "placeholder", "label", "labelTooltip", "disabled", "multiline", "required", "labelSign", "rows", "error", "hideErrorDom", "helperText", "addonBefore", "addonAfter", "defaultValue", "value", "type", "onClickIcon", "rightIcon", "showRightIcon", "allowClear", "limitLength", "fetchSuggestions", "selectPopoverClass", "renderSelectItem", "showSelectName", "resize", "searchEmpty", "onBlur", "onFocus", "onChange", "onKeydown", "onKeyUp", "onEnter", "onClickAddonBefore", "onClickAddonAfter", "onSelect", "onClear"]);
|
|
100
99
|
var _useState = useState('text-field-select-content-' + UUID()),
|
|
101
100
|
_useState2 = _slicedToArray(_useState, 1),
|
|
102
101
|
classSearchOne = _useState2[0]; // 唯一class
|
|
@@ -489,7 +488,7 @@ var TextField = function TextField(props) {
|
|
|
489
488
|
}))]
|
|
490
489
|
})), clearRender(), limitMemo, rightIconMemo]
|
|
491
490
|
}));
|
|
492
|
-
}, [showText, isFocus,
|
|
491
|
+
}, [showText, isFocus, typeCom, valueCom, limitMemo, rightIconMemo, labelMode, placeholder, label, disabled, multiline, rows, otherProps, onChange, fetchSuggestions, onClickIcon, allowClear, onClear]);
|
|
493
492
|
// 搜索下拉内容
|
|
494
493
|
var selectContentMemo = useMemo(function () {
|
|
495
494
|
var handSelectContentClass = function handSelectContentClass() {
|
|
@@ -536,7 +535,7 @@ var TextField = function TextField(props) {
|
|
|
536
535
|
}, {
|
|
537
536
|
children: contentMemo
|
|
538
537
|
}));
|
|
539
|
-
}, [showText, isFocus,
|
|
538
|
+
}, [showText, isFocus, typeCom, valueCom, limitMemo, rightIconMemo, labelMode, placeholder, label, disabled, multiline, rows, otherProps, onChange, fetchSuggestions, onSelect, selectPosDom, open, selectPopoverClass, size, onClickIcon, selectData, allowClear, onClear]);
|
|
540
539
|
// 外标题
|
|
541
540
|
var outSideMemo = useMemo(function () {
|
|
542
541
|
var showTag = Boolean(required || labelSign || label);
|
package/TimePicker/index.js
CHANGED
|
@@ -5,7 +5,8 @@ import DatePicker from '../DatePicker/index.js';
|
|
|
5
5
|
import 'rc-picker/es/generate/dayjs';
|
|
6
6
|
import '../Button/index.js';
|
|
7
7
|
import '../_verture/typeof-498dd2b1.js';
|
|
8
|
-
import '../_verture/slicedToArray-
|
|
8
|
+
import '../_verture/slicedToArray-76060636.js';
|
|
9
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
9
10
|
import 'clsx';
|
|
10
11
|
import '@para-ui/icons/LoadingF';
|
|
11
12
|
import '@para-ui/icons/Forbid';
|
|
@@ -25,7 +26,7 @@ import '@para-ui/core/GlobalContext';
|
|
|
25
26
|
import '../Tag/index.js';
|
|
26
27
|
import '../_verture/defineProperty-62acccfc.js';
|
|
27
28
|
import '@para-ui/icons/Close';
|
|
28
|
-
import '../_verture/toConsumableArray-
|
|
29
|
+
import '../_verture/toConsumableArray-81040c9e.js';
|
|
29
30
|
import '../AutoTips/index.js';
|
|
30
31
|
import '@para-ui/icons/Plus';
|
|
31
32
|
import 'rc-picker';
|
package/ToggleButton/index.js
CHANGED
|
@@ -9,7 +9,8 @@ import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
|
9
9
|
import AutoTips from '../AutoTips/index.js';
|
|
10
10
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
11
11
|
import '../_verture/typeof-498dd2b1.js';
|
|
12
|
-
import '../_verture/slicedToArray-
|
|
12
|
+
import '../_verture/slicedToArray-76060636.js';
|
|
13
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
13
14
|
import '@para-ui/icons/LoadingF';
|
|
14
15
|
import '@para-ui/icons/Forbid';
|
|
15
16
|
import '../Tooltip/index.js';
|
package/Tooltip/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
1
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
|
|
2
2
|
import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
import React__default from 'react';
|
|
@@ -7,6 +7,7 @@ import { placements } from 'rc-tooltip/lib/placements';
|
|
|
7
7
|
import clsx from 'clsx';
|
|
8
8
|
import { a as $rcPrefixCls, $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
9
9
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
10
|
+
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
10
11
|
|
|
11
12
|
//自动调整位置
|
|
12
13
|
var autoAdjustOverflowEnabled = {
|