@para-ui/core 4.0.6 → 4.0.7-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AutoBox/index.js +1 -1
- package/AutoTips/index.js +1 -1
- package/Breadcrumbs/index.js +1 -1
- package/Button/index.js +2 -2
- package/ButtonGroup/index.js +1 -1
- package/Carousel/index.js +1 -1
- package/Cascader/index.js +4 -4
- package/Checkbox/index.js +1 -1
- package/CheckboxGroup/index.js +1 -1
- package/ComboSelect/index.js +2 -2
- package/CopyText/index.js +1 -1
- package/CycleSelector/index.js +24 -8
- package/CycleSelector/lang/en_US.d.ts +1 -0
- package/CycleSelector/lang/index.d.ts +2 -0
- package/CycleSelector/lang/zh_CN.d.ts +1 -0
- package/DatePicker/index.js +2 -2
- package/Descriptions/index.d.ts +2 -0
- package/Descriptions/index.js +8 -3
- package/Desktop/index.js +1 -1
- package/DragVerify/index.js +1 -1
- package/Drawer/index.js +1 -1
- package/DynamicMultiBox/index.js +6 -6
- package/Form/index.js +3 -3
- package/FormItem/index.js +3 -3
- package/FunctionModal/index.js +3 -3
- package/GlobalContext/confirmLocale.d.ts +2 -4
- package/GlobalContext/index.js +5 -4
- package/Help/index.js +1 -1
- package/InputLang/index.js +1 -1
- package/InputNumber/index.js +1 -1
- package/Label/index.js +1 -1
- package/Menu/index.js +74 -24
- package/Menu/interface.d.ts +9 -0
- package/Modal/index.js +1 -1
- package/MultiBox/index.js +1 -1
- package/Notification/index.js +3 -3
- package/OperateBtn/index.js +1 -1
- package/PageHeader/index.js +1 -1
- package/Pagination/index.js +2 -2
- package/ParauiProvider/index.js +1 -1
- package/PopConfirm/index.js +1 -1
- package/Popover/index.js +1 -1
- package/Progress/index.js +1 -1
- package/QuickReply/index.js +3 -3
- package/README.md +9 -0
- package/Radio/index.js +1 -1
- package/RadioGroup/index.js +1 -1
- package/Search/index.js +1 -1
- package/Select/index.js +19 -2
- package/SelectInput/index.js +1 -1
- package/Selector/index.js +4 -4
- package/SelectorPicker/index.js +1 -1
- package/SingleBox/index.js +1 -1
- package/Slider/index.js +1 -1
- package/Stepper/index.js +1 -1
- package/Switch/index.js +1 -1
- package/Table/index.js +5 -4
- package/Table/interface.d.ts +2 -0
- package/Table/lang/en_US.d.ts +1 -1
- package/Table/lang/index.d.ts +1 -1
- package/Tabs/index.js +2 -2
- package/Tag/index.js +1 -1
- package/TextEditor/index.js +1 -1
- package/TextField/index.js +1 -1
- package/TimePicker/index.js +2 -2
- package/Timeline/index.js +1 -1
- package/Title/index.js +1 -1
- package/ToggleButton/index.js +1 -1
- package/Tooltip/index.js +1 -1
- package/Transfer/index.js +2 -2
- package/Tree/index.js +3 -3
- package/Upload/index.js +1 -1
- package/Utils/index.d.ts +2 -0
- package/Utils/index.js +10 -3
- package/_verture/defineProperty-6f62bb2a.js +34 -0
- package/_verture/{index-767e63dd.js → index-b08d8bf5.js} +1 -1
- package/_verture/{index-9784b09c.js → index-b33b6e81.js} +228 -119
- package/_verture/{index-28a6bc3a.js → index-e5429414.js} +1 -1
- package/_verture/{modalContext-8982647f.js → modalContext-25549697.js} +1 -1
- package/_verture/{sortable.esm-49896035.js → sortable.esm-76fe46a4.js} +597 -1029
- package/_verture/tslib.es6-fe0d4b4e.js +43 -0
- package/index.js +9 -9
- package/locale/en-US.d.ts +2 -1
- package/locale/index.d.ts +3 -1
- package/locale/index.js +8 -6
- package/locale/zh-CN.d.ts +1 -0
- package/package.json +11 -11
- package/umd/AutoBox.js +18 -18
- package/umd/AutoTips.js +18 -18
- package/umd/Badge.js +1 -1
- package/umd/Breadcrumbs.js +18 -18
- package/umd/Button.js +18 -18
- package/umd/ButtonGroup.js +18 -18
- package/umd/Carousel.js +13 -13
- package/umd/Cascader.js +18 -18
- package/umd/Checkbox.js +18 -18
- package/umd/CheckboxGroup.js +18 -18
- package/umd/Collapse.js +17 -17
- package/umd/CollapseBox.js +1 -1
- package/umd/CollapseLayout.js +8 -8
- package/umd/ColorPicker.js +1 -1
- package/umd/ComboSelect.js +18 -18
- package/umd/Container.js +1 -1
- package/umd/CopyText.js +18 -18
- package/umd/CycleSelector.js +18 -18
- package/umd/DatePicker.js +18 -18
- package/umd/Descriptions.js +18 -18
- package/umd/Desktop.js +18 -18
- package/umd/DragVerify.js +8 -8
- package/umd/Drawer.js +18 -18
- package/umd/Dropdown.js +8 -8
- package/umd/DynamicMultiBox.js +21 -21
- package/umd/Empty.js +1 -1
- package/umd/Form.js +18 -18
- package/umd/FormItem.js +18 -18
- package/umd/FunctionModal.js +18 -18
- package/umd/GlobalContext.js +1 -1
- package/umd/Help.js +18 -18
- package/umd/HelperText.js +1 -1
- package/umd/InputLang.js +18 -18
- package/umd/InputNumber.js +18 -18
- package/umd/Label.js +18 -18
- package/umd/Loading.js +8 -8
- package/umd/Menu.js +30 -16
- package/umd/Message.js +8 -8
- package/umd/Modal.js +18 -18
- package/umd/MultiBox.js +18 -18
- package/umd/Notification.js +17 -17
- package/umd/OperateBtn.js +18 -18
- package/umd/PageHeader.js +18 -18
- package/umd/Pagination.js +18 -18
- package/umd/ParauiProvider.js +1 -1
- package/umd/PasswordRules.js +8 -8
- package/umd/PopConfirm.js +18 -18
- package/umd/Popover.js +18 -18
- package/umd/Progress.js +13 -13
- package/umd/Prompt.js +8 -8
- package/umd/Querying.js +1 -1
- package/umd/QuickReply.js +21 -21
- package/umd/Radio.js +18 -18
- package/umd/RadioGroup.js +18 -18
- package/umd/Search.js +18 -18
- package/umd/Select.js +18 -18
- package/umd/SelectInput.js +18 -18
- package/umd/Selector.js +18 -18
- package/umd/SelectorPicker.js +18 -18
- package/umd/SingleBox.js +18 -18
- package/umd/Slider.js +8 -8
- package/umd/Status.js +8 -8
- package/umd/Stepper.js +18 -18
- package/umd/Switch.js +18 -18
- package/umd/Table.js +18 -18
- package/umd/Tabs.js +18 -18
- package/umd/Tag.js +18 -18
- package/umd/TextEditor.js +31 -31
- package/umd/TextField.js +18 -18
- package/umd/TimePicker.js +18 -18
- package/umd/Timeline.js +1 -1
- package/umd/Title.js +18 -18
- package/umd/ToggleButton.js +18 -18
- package/umd/Tooltip.js +18 -18
- package/umd/Transfer.js +20 -20
- package/umd/Tree.js +18 -18
- package/umd/Upload.js +19 -19
- package/umd/Utils.js +1 -1
- package/umd/locale.js +1 -1
- package/_verture/defineProperty-1d116156.js +0 -34
- package/_verture/tslib.es6-55ed4bd2.js +0 -38
- /package/_verture/{index-d795d1f0.js → index-6cd67e49.js} +0 -0
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
39
|
+
var e = new Error(message);
|
|
40
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export { __rest as _, __awaiter as a };
|
package/index.js
CHANGED
|
@@ -5,7 +5,7 @@ export { Breadcrumbs } from './Breadcrumbs/index.js';
|
|
|
5
5
|
export { Button } from './Button/index.js';
|
|
6
6
|
export { ButtonGroup } from './ButtonGroup/index.js';
|
|
7
7
|
export { Carousel } from './Carousel/index.js';
|
|
8
|
-
export { C as Cascader } from './_verture/index-
|
|
8
|
+
export { C as Cascader } from './_verture/index-b33b6e81.js';
|
|
9
9
|
export { Checkbox } from './Checkbox/index.js';
|
|
10
10
|
export { CheckboxGroup } from './CheckboxGroup/index.js';
|
|
11
11
|
export { Collapse } from './Collapse/index.js';
|
|
@@ -25,8 +25,8 @@ export { D as Dropdown } from './_verture/index-389675ab.js';
|
|
|
25
25
|
export { default as DynamicMultiBox } from './DynamicMultiBox/index.js';
|
|
26
26
|
export { default as Empty } from './Empty/index.js';
|
|
27
27
|
export { default as Form } from './Form/index.js';
|
|
28
|
-
export { F as FormItem } from './_verture/index-
|
|
29
|
-
export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-
|
|
28
|
+
export { F as FormItem } from './_verture/index-6cd67e49.js';
|
|
29
|
+
export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-25549697.js';
|
|
30
30
|
export { default as GlobalContext, changeConfirmLocale, getConfirmLocale } from './GlobalContext/index.js';
|
|
31
31
|
export { default as Help } from './Help/index.js';
|
|
32
32
|
export { default as HelperText } from './HelperText/index.js';
|
|
@@ -73,9 +73,9 @@ export { Title } from './Title/index.js';
|
|
|
73
73
|
export { ToggleButton, ToggleButtonGroup } from './ToggleButton/index.js';
|
|
74
74
|
export { Tooltip } from './Tooltip/index.js';
|
|
75
75
|
export { SSortablejs, Transfer } from './Transfer/index.js';
|
|
76
|
-
export { T as Tree } from './_verture/index-
|
|
76
|
+
export { T as Tree } from './_verture/index-b08d8bf5.js';
|
|
77
77
|
export { default as Upload } from './Upload/index.js';
|
|
78
|
-
export { default as Utils, getDateYYYYMMddHHMM } from './Utils/index.js';
|
|
78
|
+
export { default as Utils, getDateYYYYMMddHHMM, pixelReplacement } from './Utils/index.js';
|
|
79
79
|
export { default as locale } from './locale/index.js';
|
|
80
80
|
import 'react/jsx-runtime';
|
|
81
81
|
import 'react';
|
|
@@ -88,7 +88,7 @@ import 'clsx';
|
|
|
88
88
|
import '@para-ui/icons/Return';
|
|
89
89
|
import './_verture/useFormatMessage-eb13cf56.js';
|
|
90
90
|
import '@para-ui/core/GlobalContext';
|
|
91
|
-
import './_verture/tslib.es6-
|
|
91
|
+
import './_verture/tslib.es6-fe0d4b4e.js';
|
|
92
92
|
import '@para-ui/icons/LoadingF';
|
|
93
93
|
import '@para-ui/icons/Down';
|
|
94
94
|
import '@para-ui/icons/Forbid';
|
|
@@ -96,7 +96,7 @@ import 'react-slick';
|
|
|
96
96
|
import '@para-ui/icons/RightCircleF';
|
|
97
97
|
import '@para-ui/icons/LeftCircleF';
|
|
98
98
|
import './_verture/slicedToArray-8223a2ef.js';
|
|
99
|
-
import './_verture/defineProperty-
|
|
99
|
+
import './_verture/defineProperty-6f62bb2a.js';
|
|
100
100
|
import './_verture/typeof-adeedc13.js';
|
|
101
101
|
import 'rc-motion';
|
|
102
102
|
import './_verture/typeof-c310ee4a.js';
|
|
@@ -137,8 +137,8 @@ import '@para-ui/icons/Panel';
|
|
|
137
137
|
import '@para-ui/icons/PlusCircleF';
|
|
138
138
|
import '@para-ui/icons/Delete';
|
|
139
139
|
import '@para-ui/icons/Drag';
|
|
140
|
-
import './_verture/index-
|
|
141
|
-
import './_verture/sortable.esm-
|
|
140
|
+
import './_verture/index-e5429414.js';
|
|
141
|
+
import './_verture/sortable.esm-76fe46a4.js';
|
|
142
142
|
import '@para-ui/icons/LinkGroup';
|
|
143
143
|
import '@para-ui/icons/UploadFile';
|
|
144
144
|
import './_verture/intl-f2f27722.js';
|
package/locale/en-US.d.ts
CHANGED
|
@@ -98,6 +98,7 @@ declare const _default: {
|
|
|
98
98
|
cancel: string;
|
|
99
99
|
confirm: string;
|
|
100
100
|
next: string;
|
|
101
|
+
monthDay: string;
|
|
101
102
|
};
|
|
102
103
|
DatePicker: {
|
|
103
104
|
lang: {
|
|
@@ -230,8 +231,8 @@ declare const _default: {
|
|
|
230
231
|
};
|
|
231
232
|
Table: {
|
|
232
233
|
empty: string;
|
|
233
|
-
determine: string;
|
|
234
234
|
restoreDefault: string;
|
|
235
|
+
determine: string;
|
|
235
236
|
serial: string;
|
|
236
237
|
loadMore: string;
|
|
237
238
|
refresh: string;
|
package/locale/index.d.ts
CHANGED
|
@@ -99,6 +99,7 @@ declare const _default: {
|
|
|
99
99
|
cancel: string;
|
|
100
100
|
confirm: string;
|
|
101
101
|
next: string;
|
|
102
|
+
monthDay: string;
|
|
102
103
|
};
|
|
103
104
|
DatePicker: {
|
|
104
105
|
lang: {
|
|
@@ -231,8 +232,8 @@ declare const _default: {
|
|
|
231
232
|
};
|
|
232
233
|
Table: {
|
|
233
234
|
empty: string;
|
|
234
|
-
determine: string;
|
|
235
235
|
restoreDefault: string;
|
|
236
|
+
determine: string;
|
|
236
237
|
serial: string;
|
|
237
238
|
loadMore: string;
|
|
238
239
|
refresh: string;
|
|
@@ -373,6 +374,7 @@ declare const _default: {
|
|
|
373
374
|
cancel: string;
|
|
374
375
|
confirm: string;
|
|
375
376
|
next: string;
|
|
377
|
+
monthDay: string;
|
|
376
378
|
};
|
|
377
379
|
DatePicker: {
|
|
378
380
|
lang: {
|
package/locale/index.js
CHANGED
|
@@ -97,7 +97,8 @@ var enUS = {
|
|
|
97
97
|
"customCycle": "Custom cycle",
|
|
98
98
|
"cancel": "Cancel",
|
|
99
99
|
"confirm": "Confirm",
|
|
100
|
-
"next": "Next"
|
|
100
|
+
"next": "Next",
|
|
101
|
+
"monthDay": "`{month}th{day}st`"
|
|
101
102
|
},
|
|
102
103
|
"DatePicker": {
|
|
103
104
|
"lang": {
|
|
@@ -148,7 +149,7 @@ var enUS = {
|
|
|
148
149
|
"DynamicMultiBox": {
|
|
149
150
|
"add": "Newly Added",
|
|
150
151
|
"titleForm": "Form configuration (non mandatory)",
|
|
151
|
-
"default": "Restore
|
|
152
|
+
"default": "Restore Default",
|
|
152
153
|
"noData": "There are currently no other attributes available"
|
|
153
154
|
},
|
|
154
155
|
"Empty": {
|
|
@@ -177,7 +178,7 @@ var enUS = {
|
|
|
177
178
|
},
|
|
178
179
|
"Pagination": {
|
|
179
180
|
"total": "Total {total}",
|
|
180
|
-
"barPage": " /
|
|
181
|
+
"barPage": " / Page",
|
|
181
182
|
"prevPage": "Prev",
|
|
182
183
|
"nextPage": "Next",
|
|
183
184
|
"jumpTo": "Go to",
|
|
@@ -230,8 +231,8 @@ var enUS = {
|
|
|
230
231
|
},
|
|
231
232
|
"Table": {
|
|
232
233
|
"empty": "Empty",
|
|
233
|
-
"
|
|
234
|
-
"
|
|
234
|
+
"restoreDefault": "Restore Default",
|
|
235
|
+
"determine": "Confirm",
|
|
235
236
|
"serial": "Sort",
|
|
236
237
|
"loadMore": "Load more",
|
|
237
238
|
"refresh": "Refresh",
|
|
@@ -372,7 +373,8 @@ var zhCN = {
|
|
|
372
373
|
"customCycle": "自定义周期",
|
|
373
374
|
"cancel": "取 消",
|
|
374
375
|
"confirm": "确 定",
|
|
375
|
-
"next": "次后"
|
|
376
|
+
"next": "次后",
|
|
377
|
+
"monthDay": "`{month}月{day}日`"
|
|
376
378
|
},
|
|
377
379
|
"DatePicker": {
|
|
378
380
|
"lang": {
|
package/locale/zh-CN.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@para-ui/core",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.7-alpha",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"typings": "./index.d.ts",
|
|
7
7
|
"description": "Powered by Para FED",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@monaco-editor/react": "^4.6.0",
|
|
31
31
|
"monaco-editor": "^0.44.0",
|
|
32
|
-
"@para-ui/core": "4.0.
|
|
32
|
+
"@para-ui/core": "4.0.9",
|
|
33
33
|
"@paraview/lib": "^2.0.3",
|
|
34
34
|
"@wangeditor/editor": "^5.1.15",
|
|
35
35
|
"@wangeditor/editor-for-react": "^1.0.5",
|
|
@@ -55,13 +55,13 @@
|
|
|
55
55
|
"rc-tooltip": "5.1.1",
|
|
56
56
|
"rc-tree": "4.2.2",
|
|
57
57
|
"rc-upload": "4.3.1",
|
|
58
|
-
"react": "^
|
|
58
|
+
"react": "^18.2.0",
|
|
59
59
|
"react-color": "2.19.3",
|
|
60
|
-
"react-dom": "^
|
|
60
|
+
"react-dom": "^18.2.0",
|
|
61
61
|
"react-easy-crop": "4.1.4",
|
|
62
|
-
"react-intl
|
|
62
|
+
"react-intl": "^6.6.3",
|
|
63
63
|
"react-router-dom": "^5.3.0",
|
|
64
|
-
"react-slick": "0.
|
|
64
|
+
"react-slick": "0.30.2",
|
|
65
65
|
"react-sortablejs": "6.1.0",
|
|
66
66
|
"react-transition-group": "4.4.2",
|
|
67
67
|
"sortablejs": "^1.15.0",
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
"style-loader": "^1.1.3",
|
|
145
145
|
"stylelint": "^14.9.1",
|
|
146
146
|
"stylelint-config-prettier": "^9.0.2",
|
|
147
|
-
"stylelint-config-recess-order": "^
|
|
147
|
+
"stylelint-config-recess-order": "^3.1.0",
|
|
148
148
|
"stylelint-config-standard": "^25.0.0",
|
|
149
149
|
"stylelint-config-standard-scss": "^3.0.0",
|
|
150
150
|
"stylelint-prettier": "^2.0.0",
|
|
@@ -163,8 +163,8 @@
|
|
|
163
163
|
"@types/react": "17.0.44"
|
|
164
164
|
},
|
|
165
165
|
"peerDependencies": {
|
|
166
|
-
"@types/react": "^
|
|
167
|
-
"@types/react-dom": "^
|
|
166
|
+
"@types/react": "^18.2.69",
|
|
167
|
+
"@types/react-dom": "^18.2.69",
|
|
168
168
|
"clsx": "1.1.1",
|
|
169
169
|
"dayjs": "^1.11.3",
|
|
170
170
|
"rc-collapse": "3.1.2",
|
|
@@ -185,8 +185,8 @@
|
|
|
185
185
|
"rc-tooltip": "5.1.1",
|
|
186
186
|
"rc-tree": "4.2.2",
|
|
187
187
|
"rc-upload": "4.3.1",
|
|
188
|
-
"react": "^
|
|
189
|
-
"react-dom": "^
|
|
188
|
+
"react": "^18.2.0",
|
|
189
|
+
"react-dom": "^18.2.0"
|
|
190
190
|
},
|
|
191
191
|
"peerDependenciesMeta": {
|
|
192
192
|
"@types/react": {
|