@para-ui/core 3.0.71 → 3.0.72-rc
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 +5 -9
- package/AutoTips/index.js +4 -11
- package/Breadcrumbs/index.js +7 -11
- package/Button/index.js +8 -12
- package/ButtonGroup/index.js +8 -12
- package/Carousel/index.js +4 -8
- package/Cascader/index.js +7 -11
- package/Checkbox/index.js +4 -8
- package/CheckboxGroup/index.js +4 -8
- package/Collapse/index.js +1 -5
- package/CollapseBox/index.js +4 -8
- package/CollapseLayout/index.js +6 -10
- package/ColorPicker/index.js +0 -2
- package/ComboSelect/index.js +14 -17
- package/Container/index.js +1 -5
- package/DatePicker/index.js +10 -14
- package/Desktop/index.js +10 -14
- package/DragVerify/index.js +6 -10
- package/Drawer/index.js +8 -12
- package/Dropdown/index.js +3 -4
- package/DynamicMultiBox/index.js +15 -18
- package/Empty/index.js +3 -7
- package/Form/index.js +15 -15
- package/FormItem/index.js +15 -15
- package/FunctionModal/index.js +14 -15
- package/GlobalContext/index.js +3 -3
- package/Help/index.js +4 -8
- package/HelperText/index.js +1 -5
- package/InputLang/index.js +11 -15
- package/InputNumber/index.js +4 -8
- package/Label/index.js +4 -8
- package/Loading/index.js +1 -5
- package/Menu/index.js +5 -9
- package/Message/index.js +4 -8
- package/Modal/index.js +10 -17
- package/MultiBox/index.js +10 -14
- package/Notification/index.js +3 -7
- package/OperateBtn/index.js +9 -13
- package/PageHeader/index.js +9 -13
- package/Pagination/index.js +11 -15
- package/ParauiProvider/index.js +3 -7
- package/PasswordRules/index.js +3 -7
- package/PopConfirm/index.js +8 -12
- package/Popover/index.js +5 -9
- package/Progress/index.js +2 -6
- package/Querying/index.js +3 -7
- package/README.md +6 -0
- package/Radio/index.js +4 -8
- package/RadioGroup/index.js +4 -8
- package/Search/index.js +9 -13
- package/Select/index.js +11 -15
- package/SelectInput/index.js +11 -12
- package/Selector/index.js +11 -24
- package/SelectorPicker/index.js +12 -16
- package/SingleBox/index.js +10 -14
- package/Slider/index.js +6 -10
- package/Split/index.js +4 -8
- package/Status/index.js +1 -5
- package/Stepper/index.js +3 -7
- package/Styles/theme/theme-api.scss +75 -0
- package/Styles/theme/theme-default.scss +74 -0
- package/Styles/theme/theme-shrcb.scss +80 -0
- package/Styles/theme.scss +1 -69
- package/Switch/index.js +6 -10
- package/Table/index.js +131 -47
- package/Table/interface.d.ts +5 -1
- package/Table/lang/en_US.d.ts +2 -0
- package/Table/lang/index.d.ts +4 -0
- package/Table/lang/zh_CN.d.ts +2 -0
- package/Table/tablePaginationInterface.d.ts +18 -4
- package/Tabs/index.js +9 -13
- package/Tag/index.js +7 -11
- package/TextEditor/index.js +4 -11
- package/TextField/index.js +9 -13
- package/TimePicker/index.js +10 -11
- package/Timeline/index.js +4 -8
- package/Title/index.js +1 -5
- package/ToggleButton/index.js +9 -13
- package/Tooltip/index.js +4 -8
- package/Transfer/index.js +11 -15
- package/Tree/index.js +12 -13
- package/Upload/index.js +12 -28
- package/_verture/closestPolyfill-0dd70e2e.js +1354 -0
- package/_verture/{index-50cefeaf.js → closestPolyfill-ff50844a.js} +8 -15
- package/_verture/constant-85ee4f45.js +10 -0
- package/_verture/{defineProperty-62acccfc.js → defineProperty-2f1bfe7d.js} +1 -1
- package/_verture/defineProperty-93ea0466.js +34 -0
- package/_verture/{index-0e4acd9d.js → index-21824ddf.js} +3 -10
- package/_verture/{index-77f9e0fb.js → index-4564c0c7.js} +2 -6
- package/_verture/index-591c3a22.js +232 -0
- package/_verture/index-5b263b69.js +704 -0
- package/_verture/index-5f07188e.js +16 -0
- package/_verture/index-b8e101aa.js +340 -0
- package/_verture/{intl-4a9f1b44.js → intl-4d7ac94e.js} +1 -1
- package/_verture/intl-87e31346.js +81 -0
- package/_verture/{modalContext-626629cf.js → modalContext-0ec028ad.js} +4 -8
- package/_verture/modalContext-431cede2.js +197 -0
- package/_verture/{slicedToArray-76060636.js → slicedToArray-027c5b89.js} +1 -1
- package/_verture/slicedToArray-9945769e.js +43 -0
- package/_verture/sortable.esm-3fc13bda.js +3791 -0
- package/_verture/{toConsumableArray-81040c9e.js → toConsumableArray-12ff604e.js} +1 -1
- package/_verture/toConsumableArray-7a5c2339.js +19 -0
- package/_verture/tslib.es6-d8895ced.js +38 -0
- package/_verture/typeof-b5a7cf93.js +11 -0
- package/_verture/unsupportedIterableToArray-44d023ab.js +16 -0
- package/_verture/useFormatMessage-f4ee3aac.js +20 -0
- package/_verture/useGlobalProps-3f837a7e.js +11 -0
- package/_verture/usePopupContainer-a76ba26f.js +68 -0
- package/_verture/util-a7033b75.js +18 -0
- package/index.d.ts +2 -0
- package/index.js +20 -21
- package/locale/en-US.d.ts +165 -0
- package/locale/index.d.ts +331 -0
- package/locale/index.js +336 -0
- package/locale/zh-CN.d.ts +165 -0
- package/package.json +2 -1
- package/theme/theme-shrcb.css +14566 -0
- package/theme/theme.css +14962 -0
- package/umd/Breadcrumbs.js +1 -1
- package/umd/Button.js +1 -1
- package/umd/ButtonGroup.js +1 -1
- package/umd/Checkbox.js +1 -1
- package/umd/CheckboxGroup.js +1 -1
- package/umd/CollapseLayout.js +3 -3
- package/umd/ComboSelect.js +4 -4
- package/umd/DatePicker.js +1 -1
- package/umd/Desktop.js +2 -2
- package/umd/DragVerify.js +1 -1
- package/umd/Drawer.js +1 -1
- package/umd/DynamicMultiBox.js +5 -5
- package/umd/Empty.js +1 -1
- package/umd/Form.js +4 -4
- package/umd/FormItem.js +4 -4
- package/umd/FunctionModal.js +1 -1
- package/umd/Help.js +1 -1
- package/umd/InputLang.js +2 -2
- package/umd/InputNumber.js +1 -1
- package/umd/Label.js +1 -1
- package/umd/Menu.js +3 -3
- package/umd/Message.js +1 -1
- package/umd/Modal.js +1 -1
- package/umd/MultiBox.js +2 -2
- package/umd/Notification.js +1 -1
- package/umd/OperateBtn.js +1 -1
- package/umd/PageHeader.js +7 -7
- package/umd/Pagination.js +2 -2
- package/umd/PopConfirm.js +1 -1
- package/umd/Progress.js +1 -1
- package/umd/Radio.js +1 -1
- package/umd/RadioGroup.js +1 -1
- package/umd/Search.js +2 -2
- package/umd/Select.js +1 -1
- package/umd/SelectInput.js +1 -1
- package/umd/Selector.js +2 -2
- package/umd/SelectorPicker.js +2 -2
- package/umd/SingleBox.js +2 -2
- package/umd/Slider.js +1 -1
- package/umd/Stepper.js +4 -4
- package/umd/Switch.js +4 -4
- package/umd/Table.js +4 -4
- package/umd/Tabs.js +1 -1
- package/umd/Tag.js +1 -1
- package/umd/TextEditor.js +1 -1
- package/umd/TextField.js +2 -2
- package/umd/TimePicker.js +1 -1
- package/umd/Timeline.js +1 -1
- package/umd/Title.js +1 -1
- package/umd/ToggleButton.js +1 -1
- package/umd/Transfer.js +2 -2
- package/umd/Tree.js +1 -1
- package/umd/Upload.js +1 -1
- package/umd/locale.js +1 -0
- package/_verture/index-a369ca3f.js +0 -4
- package/_verture/style-inject.es-300983ab.js +0 -28
- /package/_verture/{constant-66aa48a1.js → constant-229e471b.js} +0 -0
- /package/_verture/{index-beef914f.js → index-0cfdb984.js} +0 -0
- /package/_verture/{index-e2881a53.js → index-43739f6a.js} +0 -0
- /package/_verture/{sortable.esm-49896035.js → sortable.esm-3c131c88.js} +0 -0
- /package/_verture/{tslib.es6-55ed4bd2.js → tslib.es6-1df6c864.js} +0 -0
- /package/_verture/{typeof-498dd2b1.js → typeof-15d17668.js} +0 -0
- /package/_verture/{unsupportedIterableToArray-cb478f24.js → unsupportedIterableToArray-167a0b24.js} +0 -0
- /package/_verture/{useFormatMessage-703f8b20.js → useFormatMessage-3ee722eb.js} +0 -0
- /package/_verture/{useGlobalProps-1b846a65.js → useGlobalProps-3ebaed11.js} +0 -0
- /package/_verture/{usePopupContainer-87febeb9.js → usePopupContainer-5c7f0ec0.js} +0 -0
- /package/_verture/{util-7e1fb1e2.js → util-79d9bee2.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as _arrayLikeToArray, _ as _unsupportedIterableToArray } from './unsupportedIterableToArray-
|
|
1
|
+
import { a as _arrayLikeToArray, _ as _unsupportedIterableToArray } from './unsupportedIterableToArray-44d023ab.js';
|
|
2
2
|
|
|
3
3
|
function _arrayWithoutHoles(arr) {
|
|
4
4
|
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { a as _arrayLikeToArray, _ as _unsupportedIterableToArray } from './unsupportedIterableToArray-167a0b24.js';
|
|
2
|
+
|
|
3
|
+
function _arrayWithoutHoles(arr) {
|
|
4
|
+
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
function _iterableToArray(iter) {
|
|
8
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
function _nonIterableSpread() {
|
|
12
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function _toConsumableArray(arr) {
|
|
16
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { _toConsumableArray as _ };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation.
|
|
3
|
+
|
|
4
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
+
purpose with or without fee is hereby granted.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
|
|
16
|
+
function __rest(s, e) {
|
|
17
|
+
var t = {};
|
|
18
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
19
|
+
t[p] = s[p];
|
|
20
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
21
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
22
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
23
|
+
t[p[i]] = s[p[i]];
|
|
24
|
+
}
|
|
25
|
+
return t;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export { __rest as _, __awaiter as a };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
function _typeof(obj) {
|
|
2
|
+
"@babel/helpers - typeof";
|
|
3
|
+
|
|
4
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
5
|
+
return typeof obj;
|
|
6
|
+
} : function (obj) {
|
|
7
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
8
|
+
}, _typeof(obj);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { _typeof as _ };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
function _arrayLikeToArray(arr, len) {
|
|
2
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
3
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
4
|
+
return arr2;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
8
|
+
if (!o) return;
|
|
9
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
10
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
11
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
12
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
13
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { _unsupportedIterableToArray as _, _arrayLikeToArray as a };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import GlobalContext from '@para-ui/core/GlobalContext';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @author linhd
|
|
6
|
+
* @date 2022/3/15 4:03 PM
|
|
7
|
+
* @description 国际化钩子
|
|
8
|
+
*/
|
|
9
|
+
var useFormatMessage = function useFormatMessage(comName, defI18nData) {
|
|
10
|
+
var _React$useContext = React__default.useContext(GlobalContext),
|
|
11
|
+
intlFormat = _React$useContext.intlFormat;
|
|
12
|
+
defI18nData.zh_CN = defI18nData.zh;
|
|
13
|
+
defI18nData['zh-CN'] = defI18nData.zh;
|
|
14
|
+
defI18nData.en_US = defI18nData.en;
|
|
15
|
+
defI18nData['en-US'] = defI18nData.en;
|
|
16
|
+
var intl = intlFormat && intlFormat(comName, defI18nData);
|
|
17
|
+
return intl;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export { useFormatMessage as u };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import GlobalContext from '@para-ui/core/GlobalContext';
|
|
3
|
+
|
|
4
|
+
function useGlobalProps(comProps, comName) {
|
|
5
|
+
var _React$useContext = React__default.useContext(GlobalContext),
|
|
6
|
+
componentsProps = _React$useContext.componentsProps;
|
|
7
|
+
var globalProps = componentsProps && componentsProps[comName];
|
|
8
|
+
return Object.assign(Object.assign({}, globalProps), comProps);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { useGlobalProps as u };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @author Hanz
|
|
5
|
+
* @date 2022/10/9 10:12 AM
|
|
6
|
+
* @description 查找最近的祖先滚动容器
|
|
7
|
+
*/
|
|
8
|
+
//判断是否滚动元素
|
|
9
|
+
function isOverflowElement(element) {
|
|
10
|
+
var _window$getComputedSt = window.getComputedStyle(element),
|
|
11
|
+
overflow = _window$getComputedSt.overflow,
|
|
12
|
+
overflowX = _window$getComputedSt.overflowX,
|
|
13
|
+
overflowY = _window$getComputedSt.overflowY;
|
|
14
|
+
return /auto|scroll|overlay/.test(overflow + overflowY + overflowX);
|
|
15
|
+
}
|
|
16
|
+
//最近的祖先滚动元素
|
|
17
|
+
function getNearestOverflowAncestor(node) {
|
|
18
|
+
var _a, _b;
|
|
19
|
+
var parentNode = node.parentNode || node.ownerDocument;
|
|
20
|
+
var nodeName = ((_a = parentNode === null || parentNode === void 0 ? void 0 : parentNode.nodeName) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '';
|
|
21
|
+
if (['html', 'body', '#document'].includes(nodeName)) {
|
|
22
|
+
return (_b = node === null || node === void 0 ? void 0 : node.ownerDocument) === null || _b === void 0 ? void 0 : _b.body;
|
|
23
|
+
}
|
|
24
|
+
if (parentNode instanceof window.HTMLElement && isOverflowElement(parentNode)) {
|
|
25
|
+
return parentNode;
|
|
26
|
+
}
|
|
27
|
+
return getNearestOverflowAncestor(parentNode);
|
|
28
|
+
}
|
|
29
|
+
//渲染容器
|
|
30
|
+
function usePopupContainer(wrapRef, customizeContainer) {
|
|
31
|
+
var popupRef = React__default.useRef();
|
|
32
|
+
//浮层渲染容器
|
|
33
|
+
var getPopupContainer = function getPopupContainer(triggerNode) {
|
|
34
|
+
var _a, _b, _c, _d;
|
|
35
|
+
var container;
|
|
36
|
+
if (!customizeContainer) {
|
|
37
|
+
var rootNode = (_b = (_a = wrapRef.current) === null || _a === void 0 ? void 0 : _a.getRootDomNode) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
38
|
+
if (rootNode) {
|
|
39
|
+
container = getNearestOverflowAncestor(rootNode);
|
|
40
|
+
var scrollHeight = container.scrollHeight;
|
|
41
|
+
var clientHeight = container.clientHeight;
|
|
42
|
+
if (scrollHeight <= clientHeight) {
|
|
43
|
+
container = document.body;
|
|
44
|
+
}
|
|
45
|
+
} else {
|
|
46
|
+
container = document.body;
|
|
47
|
+
}
|
|
48
|
+
var nodeName = (_c = container.nodeName) === null || _c === void 0 ? void 0 : _c.toLowerCase();
|
|
49
|
+
if (nodeName !== 'body') {
|
|
50
|
+
if (((_d = window.getComputedStyle(container)) === null || _d === void 0 ? void 0 : _d.position) === 'static') {
|
|
51
|
+
container.style.position = 'relative';
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
popupRef.current = container;
|
|
55
|
+
} else {
|
|
56
|
+
container = customizeContainer(triggerNode) || document.body;
|
|
57
|
+
}
|
|
58
|
+
return container;
|
|
59
|
+
};
|
|
60
|
+
React__default.useEffect(function () {
|
|
61
|
+
return function () {
|
|
62
|
+
if (popupRef.current) popupRef.current.style.position = '';
|
|
63
|
+
};
|
|
64
|
+
}, []);
|
|
65
|
+
return getPopupContainer;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export { getNearestOverflowAncestor as g, usePopupContainer as u };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
function getTransitionProps(props, options) {
|
|
2
|
+
var timeout = props.timeout,
|
|
3
|
+
_props$style = props.style,
|
|
4
|
+
style = _props$style === void 0 ? {} : _props$style;
|
|
5
|
+
return {
|
|
6
|
+
duration: style.transitionDuration || typeof timeout === 'number' ? timeout : timeout[options.mode] || 0,
|
|
7
|
+
delay: style.transitionDelay
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
function getAutoHeightDuration(height) {
|
|
11
|
+
if (!height) {
|
|
12
|
+
return 0;
|
|
13
|
+
}
|
|
14
|
+
var constant = height / 36;
|
|
15
|
+
return Math.round((4 + 15 * Math.pow(constant, 0.25) + constant / 5) * 10);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export { getAutoHeightDuration as a, getTransitionProps as g };
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -11,19 +11,18 @@ export { Collapse } from './Collapse/index.js';
|
|
|
11
11
|
export { default as CollapseBox } from './CollapseBox/index.js';
|
|
12
12
|
export { default as CollapseLayout } from './CollapseLayout/index.js';
|
|
13
13
|
export { ChromePicker, SketchPicker as ColorPicker, CompactPicker, SwatchesPicker } from 'react-color';
|
|
14
|
-
import './_verture/index-a369ca3f.js';
|
|
15
14
|
export { ComboSelect } from './ComboSelect/index.js';
|
|
16
15
|
export { Container } from './Container/index.js';
|
|
17
16
|
export { default as DatePicker } from './DatePicker/index.js';
|
|
18
17
|
export { Desktop } from './Desktop/index.js';
|
|
19
18
|
export { DragVerify } from './DragVerify/index.js';
|
|
20
19
|
export { Drawer } from './Drawer/index.js';
|
|
21
|
-
export { D as Dropdown } from './_verture/index-
|
|
20
|
+
export { D as Dropdown } from './_verture/index-4564c0c7.js';
|
|
22
21
|
export { default as DynamicMultiBox } from './DynamicMultiBox/index.js';
|
|
23
22
|
export { default as Empty } from './Empty/index.js';
|
|
24
23
|
export { default as Form } from './Form/index.js';
|
|
25
|
-
export { F as FormItem } from './_verture/index-
|
|
26
|
-
export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-
|
|
24
|
+
export { F as FormItem } from './_verture/index-5b263b69.js';
|
|
25
|
+
export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-0ec028ad.js';
|
|
27
26
|
export { default as GlobalContext, changeConfirmLocale, getConfirmLocale } from './GlobalContext/index.js';
|
|
28
27
|
export { default as Help } from './Help/index.js';
|
|
29
28
|
export { default as HelperText } from './HelperText/index.js';
|
|
@@ -69,42 +68,42 @@ export { Title } from './Title/index.js';
|
|
|
69
68
|
export { ToggleButton, ToggleButtonGroup } from './ToggleButton/index.js';
|
|
70
69
|
export { Tooltip } from './Tooltip/index.js';
|
|
71
70
|
export { SSortablejs, Transfer } from './Transfer/index.js';
|
|
72
|
-
export { T as Tree } from './_verture/
|
|
71
|
+
export { T as Tree } from './_verture/closestPolyfill-ff50844a.js';
|
|
73
72
|
export { default as Upload } from './Upload/index.js';
|
|
74
|
-
|
|
75
|
-
import './_verture/
|
|
73
|
+
export { default as locale } from './locale/index.js';
|
|
74
|
+
import './_verture/slicedToArray-027c5b89.js';
|
|
75
|
+
import './_verture/unsupportedIterableToArray-167a0b24.js';
|
|
76
76
|
import 'react/jsx-runtime';
|
|
77
77
|
import 'react';
|
|
78
78
|
import 'react-dom';
|
|
79
79
|
import '@paraview/lib';
|
|
80
|
-
import './_verture/constant-
|
|
80
|
+
import './_verture/constant-85ee4f45.js';
|
|
81
81
|
import '@para-ui/icons/More';
|
|
82
|
-
import './_verture/
|
|
83
|
-
import './_verture/toConsumableArray-81040c9e.js';
|
|
82
|
+
import './_verture/toConsumableArray-7a5c2339.js';
|
|
84
83
|
import '@para-ui/icons/Return';
|
|
85
|
-
import './_verture/useFormatMessage-
|
|
84
|
+
import './_verture/useFormatMessage-f4ee3aac.js';
|
|
86
85
|
import '@para-ui/core/GlobalContext';
|
|
87
|
-
import './_verture/typeof-
|
|
88
|
-
import './_verture/tslib.es6-
|
|
86
|
+
import './_verture/typeof-15d17668.js';
|
|
87
|
+
import './_verture/tslib.es6-1df6c864.js';
|
|
89
88
|
import 'clsx';
|
|
90
89
|
import '@para-ui/icons/LoadingF';
|
|
91
90
|
import '@para-ui/icons/Forbid';
|
|
92
91
|
import '@para-ui/icons/Down';
|
|
93
|
-
import './_verture/defineProperty-
|
|
92
|
+
import './_verture/defineProperty-93ea0466.js';
|
|
94
93
|
import 'react-slick';
|
|
95
|
-
import './_verture/index-
|
|
94
|
+
import './_verture/index-b8e101aa.js';
|
|
96
95
|
import 'rc-cascader';
|
|
97
96
|
import '@para-ui/icons/Right';
|
|
98
97
|
import '@para-ui/icons/Loading';
|
|
99
98
|
import 'rc-collapse';
|
|
100
99
|
import 'react-transition-group';
|
|
101
|
-
import './_verture/util-
|
|
100
|
+
import './_verture/util-a7033b75.js';
|
|
102
101
|
import '@para-ui/icons/DoubleLeft';
|
|
103
102
|
import '@para-ui/icons/DoubleRight';
|
|
104
103
|
import '@para-ui/icons/Search';
|
|
105
104
|
import '@para-ui/icons/Close';
|
|
106
105
|
import '@para-ui/icons/CloseCircle';
|
|
107
|
-
import './_verture/useGlobalProps-
|
|
106
|
+
import './_verture/useGlobalProps-3f837a7e.js';
|
|
108
107
|
import 'rc-picker/es/generate/dayjs';
|
|
109
108
|
import 'rc-picker';
|
|
110
109
|
import '@para-ui/icons/Calendar';
|
|
@@ -115,16 +114,16 @@ import '@para-ui/icons/SortRight';
|
|
|
115
114
|
import '@para-ui/icons/Check';
|
|
116
115
|
import 'rc-drawer';
|
|
117
116
|
import 'rc-dropdown';
|
|
118
|
-
import './_verture/usePopupContainer-
|
|
117
|
+
import './_verture/usePopupContainer-5c7f0ec0.js';
|
|
119
118
|
import 'dayjs';
|
|
120
119
|
import '@para-ui/icons/Panel';
|
|
121
120
|
import '@para-ui/icons/PlusCircleF';
|
|
122
121
|
import '@para-ui/icons/Delete';
|
|
123
122
|
import '@para-ui/icons/Drag';
|
|
124
|
-
import './_verture/sortable.esm-
|
|
123
|
+
import './_verture/sortable.esm-3c131c88.js';
|
|
125
124
|
import '@para-ui/icons/LinkGroup';
|
|
126
|
-
import './_verture/intl-
|
|
127
|
-
import './_verture/index-
|
|
125
|
+
import './_verture/intl-4d7ac94e.js';
|
|
126
|
+
import './_verture/index-5f07188e.js';
|
|
128
127
|
import '@para-ui/icons/Help';
|
|
129
128
|
import '@para-ui/icons/Application';
|
|
130
129
|
import 'rc-input-number';
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
Breadcrumbs: {
|
|
3
|
+
back: string;
|
|
4
|
+
};
|
|
5
|
+
Button: {
|
|
6
|
+
moreActions: string;
|
|
7
|
+
};
|
|
8
|
+
Cascader: {
|
|
9
|
+
placeholder: string;
|
|
10
|
+
};
|
|
11
|
+
ComboSelect: {
|
|
12
|
+
searchPlaceholder: string;
|
|
13
|
+
cancel: string;
|
|
14
|
+
ok: string;
|
|
15
|
+
fullPath: string;
|
|
16
|
+
pleaseSelect: string;
|
|
17
|
+
selected: string;
|
|
18
|
+
};
|
|
19
|
+
DatePicker: {
|
|
20
|
+
lang: {
|
|
21
|
+
placeholder: string;
|
|
22
|
+
yearPlaceholder: string;
|
|
23
|
+
quarterPlaceholder: string;
|
|
24
|
+
monthPlaceholder: string;
|
|
25
|
+
weekPlaceholder: string;
|
|
26
|
+
rangePlaceholder: string;
|
|
27
|
+
rangeYearPlaceholder: string;
|
|
28
|
+
rangeMonthPlaceholder: string;
|
|
29
|
+
rangeWeekPlaceholder: string;
|
|
30
|
+
today: string;
|
|
31
|
+
now: string;
|
|
32
|
+
ok: string;
|
|
33
|
+
};
|
|
34
|
+
timePickerLocale: {};
|
|
35
|
+
placeholder: string;
|
|
36
|
+
yearPlaceholder: string;
|
|
37
|
+
quarterPlaceholder: string;
|
|
38
|
+
monthPlaceholder: string;
|
|
39
|
+
weekPlaceholder: string;
|
|
40
|
+
rangePlaceholder: string;
|
|
41
|
+
rangeYearPlaceholder: string;
|
|
42
|
+
rangeMonthPlaceholder: string;
|
|
43
|
+
rangeWeekPlaceholder: string;
|
|
44
|
+
today: string;
|
|
45
|
+
now: string;
|
|
46
|
+
ok: string;
|
|
47
|
+
};
|
|
48
|
+
DragVerify: {
|
|
49
|
+
tryAgain: string;
|
|
50
|
+
swipe: string;
|
|
51
|
+
};
|
|
52
|
+
Drawer: {
|
|
53
|
+
cancel: string;
|
|
54
|
+
ok: string;
|
|
55
|
+
};
|
|
56
|
+
DynamicMultiBox: {
|
|
57
|
+
add: string;
|
|
58
|
+
titleForm: string;
|
|
59
|
+
default: string;
|
|
60
|
+
noData: string;
|
|
61
|
+
};
|
|
62
|
+
Empty: {
|
|
63
|
+
noData: string;
|
|
64
|
+
click: string;
|
|
65
|
+
refresh: string;
|
|
66
|
+
};
|
|
67
|
+
FormItem: {
|
|
68
|
+
choseFile: string;
|
|
69
|
+
unEmpty: string;
|
|
70
|
+
maxLength: string;
|
|
71
|
+
minLength: string;
|
|
72
|
+
unRule: string;
|
|
73
|
+
minValue: string;
|
|
74
|
+
maxValue: string;
|
|
75
|
+
};
|
|
76
|
+
Modal: {
|
|
77
|
+
cancel: string;
|
|
78
|
+
ok: string;
|
|
79
|
+
};
|
|
80
|
+
MultiBox: {
|
|
81
|
+
add: string;
|
|
82
|
+
};
|
|
83
|
+
OperateBtn: {
|
|
84
|
+
more: string;
|
|
85
|
+
};
|
|
86
|
+
Pagination: {
|
|
87
|
+
total: string;
|
|
88
|
+
linePerPage: string;
|
|
89
|
+
currentPage: string;
|
|
90
|
+
jumpTo: string;
|
|
91
|
+
page: string;
|
|
92
|
+
};
|
|
93
|
+
PopConfirm: {
|
|
94
|
+
cancel: string;
|
|
95
|
+
ok: string;
|
|
96
|
+
};
|
|
97
|
+
Querying: {
|
|
98
|
+
querying: string;
|
|
99
|
+
};
|
|
100
|
+
Select: {
|
|
101
|
+
searchPlaceholder: string;
|
|
102
|
+
selected: string;
|
|
103
|
+
};
|
|
104
|
+
Selector: {
|
|
105
|
+
root: string;
|
|
106
|
+
selectAll: string;
|
|
107
|
+
seeMore: string;
|
|
108
|
+
selected: string;
|
|
109
|
+
pleaseEnter: string;
|
|
110
|
+
searchResult: string;
|
|
111
|
+
detail: string;
|
|
112
|
+
child: string;
|
|
113
|
+
};
|
|
114
|
+
SelectorPicker: {
|
|
115
|
+
selected: string;
|
|
116
|
+
select: string;
|
|
117
|
+
};
|
|
118
|
+
SingleBox: {
|
|
119
|
+
add: string;
|
|
120
|
+
};
|
|
121
|
+
Table: {
|
|
122
|
+
empty: string;
|
|
123
|
+
determine: string;
|
|
124
|
+
restoreDefault: string;
|
|
125
|
+
serial: string;
|
|
126
|
+
loadMore: string;
|
|
127
|
+
refresh: string;
|
|
128
|
+
selectNum: string;
|
|
129
|
+
selectAll: string;
|
|
130
|
+
};
|
|
131
|
+
Tabs: {
|
|
132
|
+
confirmDelete: string;
|
|
133
|
+
};
|
|
134
|
+
TextEditor: {
|
|
135
|
+
please: string;
|
|
136
|
+
};
|
|
137
|
+
Transfer: {
|
|
138
|
+
left: string;
|
|
139
|
+
right: string;
|
|
140
|
+
allCheck: string;
|
|
141
|
+
inVertCheck: string;
|
|
142
|
+
searchPlaceholder: string;
|
|
143
|
+
leftBtnTips: string;
|
|
144
|
+
rightBtnTips: string;
|
|
145
|
+
};
|
|
146
|
+
Tree: {
|
|
147
|
+
loadMore: string;
|
|
148
|
+
add: string;
|
|
149
|
+
edit: string;
|
|
150
|
+
disabled: string;
|
|
151
|
+
delete: string;
|
|
152
|
+
};
|
|
153
|
+
Upload: {
|
|
154
|
+
uploadError: string;
|
|
155
|
+
uploading: string;
|
|
156
|
+
clickUploadFile: string;
|
|
157
|
+
dragFileUpload: string;
|
|
158
|
+
add: string;
|
|
159
|
+
edit: string;
|
|
160
|
+
disabled: string;
|
|
161
|
+
delete: string;
|
|
162
|
+
editImage: string;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
export default _default;
|