@para-ui/core 4.0.33 → 4.0.38

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.
Files changed (143) hide show
  1. package/Anchor/anchorMenu/index.d.ts +16 -0
  2. package/Anchor/index.d.ts +4 -0
  3. package/Anchor/index.js +394 -0
  4. package/Anchor/lang/en_US.d.ts +4 -0
  5. package/Anchor/lang/index.d.ts +9 -0
  6. package/Anchor/lang/zh_CN.d.ts +4 -0
  7. package/Anchor/type.d.ts +42 -0
  8. package/Argv/batchEdit/index.d.ts +18 -0
  9. package/Argv/dataGenerator/config.d.ts +16 -0
  10. package/Argv/dataGenerator/index.d.ts +24 -0
  11. package/Argv/index.d.ts +36 -0
  12. package/Argv/index.js +738 -0
  13. package/Argv/lang/en_US.d.ts +15 -0
  14. package/Argv/lang/index.d.ts +31 -0
  15. package/Argv/lang/zh_CN.d.ts +15 -0
  16. package/AutoBox/index.js +1 -1
  17. package/AutoButton/index.js +1 -1
  18. package/AutoTips/index.js +1 -1
  19. package/Breadcrumbs/index.js +1 -1
  20. package/Button/index.d.ts +2 -2
  21. package/Button/index.js +4 -4
  22. package/ButtonGroup/index.d.ts +4 -0
  23. package/ButtonGroup/index.js +53 -37
  24. package/Card/index.js +3 -3
  25. package/Carousel/index.js +1 -1
  26. package/Cascader/index.js +3 -3
  27. package/Checkbox/index.js +1 -1
  28. package/CheckboxGroup/index.js +1 -1
  29. package/ComboSelect/index.js +2 -2
  30. package/CopyText/index.js +1 -1
  31. package/CycleSelector/index.js +1 -1
  32. package/DatePicker/index.js +1 -1
  33. package/Descriptions/index.js +1 -1
  34. package/Desktop/index.js +1 -1
  35. package/DragVerify/index.js +1 -1
  36. package/Drawer/index.js +1 -1
  37. package/DynamicMultiBox/index.js +2 -2
  38. package/Form/index.js +3 -3
  39. package/FormItem/index.js +3 -3
  40. package/FunctionModal/index.js +3 -3
  41. package/Help/index.js +1 -1
  42. package/Image/index.js +1 -1
  43. package/InputCode/index.js +1 -1
  44. package/InputLang/index.js +1 -1
  45. package/InputNumber/index.js +1 -1
  46. package/Label/index.js +1 -1
  47. package/Menu/index.js +1 -1
  48. package/Modal/index.js +1 -1
  49. package/MultiBox/index.js +1 -1
  50. package/OperateBtn/index.js +1 -1
  51. package/PageHeader/index.js +1 -1
  52. package/Pagination/index.js +1 -1
  53. package/PopConfirm/index.js +1 -1
  54. package/PopMenu/index.js +1 -1
  55. package/Popover/index.js +1 -1
  56. package/Progress/index.js +1 -1
  57. package/Querying/index.js +4 -4
  58. package/QuickReply/index.js +1 -1
  59. package/README.md +32 -0
  60. package/Radio/index.js +1 -1
  61. package/RadioGroup/index.js +1 -1
  62. package/RangeInput/index.js +1 -1
  63. package/Search/index.js +1 -1
  64. package/Select/index.js +3 -3
  65. package/SelectInput/index.js +1 -1
  66. package/Selector/index.js +53 -41
  67. package/Selector/interface.d.ts +2 -1
  68. package/SelectorPicker/index.js +1 -1
  69. package/SingleBox/index.js +1 -1
  70. package/Slider/index.js +1 -1
  71. package/Stepper/index.js +1 -1
  72. package/Switch/index.js +1 -1
  73. package/Table/index.js +6 -3
  74. package/Tabs/index.js +1 -1
  75. package/Tag/index.js +1 -1
  76. package/TextEditor/index.js +1 -1
  77. package/TextField/index.js +1 -1
  78. package/TimePicker/index.js +1 -1
  79. package/Timeline/index.js +1 -1
  80. package/Title/index.js +1 -1
  81. package/ToggleButton/ToggleButtonGroup.d.ts +4 -2
  82. package/ToggleButton/index.d.ts +4 -3
  83. package/ToggleButton/index.js +27 -11
  84. package/Tooltip/index.js +1 -1
  85. package/Transfer/index.js +1 -1
  86. package/Tree/index.js +3 -3
  87. package/Upload/index.js +79 -23
  88. package/Upload/interface.d.ts +4 -0
  89. package/Upload/util.d.ts +32 -0
  90. package/Utils/index.d.ts +7 -0
  91. package/Utils/index.js +10 -1
  92. package/Utils/type.d.ts +1 -0
  93. package/_verture/{index-8752ccab.js → index-63345bd4.js} +1 -1
  94. package/_verture/{index-567b5779.js → index-77fff5bd.js} +1 -1
  95. package/_verture/{modalContext-10f0c5aa.js → modalContext-205db1f4.js} +1 -1
  96. package/_verture/{tslib.es6-55ed4bd2.js → tslib.es6-f43aa41d.js} +1 -1
  97. package/index.d.ts +4 -0
  98. package/index.js +21 -16
  99. package/locale/en-US.d.ts +17 -0
  100. package/locale/index.d.ts +34 -0
  101. package/locale/index.js +34 -0
  102. package/locale/zh-CN.d.ts +17 -0
  103. package/package.json +6 -4
  104. package/umd/Anchor.js +43 -0
  105. package/umd/Argv.js +43 -0
  106. package/umd/AutoButton.js +1 -1
  107. package/umd/Button.js +1 -1
  108. package/umd/ButtonGroup.js +5 -5
  109. package/umd/ComboSelect.js +2 -2
  110. package/umd/CopyText.js +3 -3
  111. package/umd/CycleSelector.js +3 -3
  112. package/umd/DatePicker.js +1 -1
  113. package/umd/Descriptions.js +1 -1
  114. package/umd/Desktop.js +3 -3
  115. package/umd/Drawer.js +1 -1
  116. package/umd/DynamicMultiBox.js +3 -3
  117. package/umd/Form.js +2 -2
  118. package/umd/FormItem.js +3 -3
  119. package/umd/FunctionModal.js +1 -1
  120. package/umd/InputCode.js +3 -3
  121. package/umd/InputLang.js +3 -3
  122. package/umd/Message.js +15 -16
  123. package/umd/Modal.js +1 -1
  124. package/umd/MultiBox.js +3 -3
  125. package/umd/OperateBtn.js +1 -1
  126. package/umd/PageHeader.js +1 -1
  127. package/umd/Pagination.js +3 -3
  128. package/umd/PopConfirm.js +1 -1
  129. package/umd/QuickReply.js +3 -3
  130. package/umd/Search.js +3 -3
  131. package/umd/Selector.js +4 -4
  132. package/umd/SelectorPicker.js +6 -6
  133. package/umd/SingleBox.js +3 -3
  134. package/umd/Table.js +3 -3
  135. package/umd/Tabs.js +1 -1
  136. package/umd/TextField.js +2 -2
  137. package/umd/TimePicker.js +1 -1
  138. package/umd/ToggleButton.js +6 -6
  139. package/umd/Transfer.js +2 -2
  140. package/umd/Upload.js +2 -2
  141. package/umd/Utils.js +1 -1
  142. package/umd/locale.js +1 -1
  143. /package/_verture/{index-e229330e.js → index-cf52327b.js} +0 -0
package/locale/index.d.ts CHANGED
@@ -1,5 +1,22 @@
1
1
  declare const _default: {
2
2
  enUS: {
3
+ Anchor: {
4
+ pleaseEnter: string;
5
+ };
6
+ Argv: {
7
+ environmentVariable: string;
8
+ pleaseEnterKey: string;
9
+ pleaseEnterValue: string;
10
+ add: string;
11
+ batchEdit: string;
12
+ ok: string;
13
+ formatErrorJson: string;
14
+ formatErrorArrayJson: string;
15
+ pleaseEnter: string;
16
+ pleaseSelect: string;
17
+ formatError: string;
18
+ required: string;
19
+ };
3
20
  AutoButton: {
4
21
  more: string;
5
22
  };
@@ -289,6 +306,23 @@ declare const _default: {
289
306
  };
290
307
  };
291
308
  zhCN: {
309
+ Anchor: {
310
+ pleaseEnter: string;
311
+ };
312
+ Argv: {
313
+ environmentVariable: string;
314
+ pleaseEnterKey: string;
315
+ pleaseEnterValue: string;
316
+ add: string;
317
+ batchEdit: string;
318
+ ok: string;
319
+ formatErrorJson: string;
320
+ formatErrorArrayJson: string;
321
+ pleaseEnter: string;
322
+ pleaseSelect: string;
323
+ formatError: string;
324
+ required: string;
325
+ };
292
326
  AutoButton: {
293
327
  more: string;
294
328
  };
package/locale/index.js CHANGED
@@ -1,4 +1,21 @@
1
1
  var enUS = {
2
+ "Anchor": {
3
+ "pleaseEnter": "Please enter"
4
+ },
5
+ "Argv": {
6
+ "environmentVariable": "Environment Variable",
7
+ "pleaseEnterKey": "Please enter key",
8
+ "pleaseEnterValue": "Please enter value",
9
+ "add": "Add",
10
+ "batchEdit": "Batch Edit",
11
+ "ok": "OK",
12
+ "formatErrorJson": "Format error, please enter valid JSON",
13
+ "formatErrorArrayJson": "Format error, please enter a valid JSON array",
14
+ "pleaseEnter": "Please enter",
15
+ "pleaseSelect": "Please select",
16
+ "formatError": "Format error",
17
+ "required": "Required, cannot be empty"
18
+ },
2
19
  "AutoButton": {
3
20
  "more": "More"
4
21
  },
@@ -289,6 +306,23 @@ var enUS = {
289
306
  };
290
307
 
291
308
  var zhCN = {
309
+ "Anchor": {
310
+ "pleaseEnter": "请输入"
311
+ },
312
+ "Argv": {
313
+ "environmentVariable": "环境变量",
314
+ "pleaseEnterKey": "请输入key",
315
+ "pleaseEnterValue": "请输入value",
316
+ "add": "新增",
317
+ "batchEdit": "批量编辑",
318
+ "ok": "确定",
319
+ "formatErrorJson": "格式有误,请输入正确的JSON",
320
+ "formatErrorArrayJson": "格式有误,请输入正确的JSON数组",
321
+ "pleaseEnter": "请输入",
322
+ "pleaseSelect": "请选择",
323
+ "formatError": "格式错误",
324
+ "required": "必填项,不能为空"
325
+ },
292
326
  "AutoButton": {
293
327
  "more": "更多"
294
328
  },
package/locale/zh-CN.d.ts CHANGED
@@ -1,4 +1,21 @@
1
1
  declare const _default: {
2
+ Anchor: {
3
+ pleaseEnter: string;
4
+ };
5
+ Argv: {
6
+ environmentVariable: string;
7
+ pleaseEnterKey: string;
8
+ pleaseEnterValue: string;
9
+ add: string;
10
+ batchEdit: string;
11
+ ok: string;
12
+ formatErrorJson: string;
13
+ formatErrorArrayJson: string;
14
+ pleaseEnter: string;
15
+ pleaseSelect: string;
16
+ formatError: string;
17
+ required: string;
18
+ };
2
19
  AutoButton: {
3
20
  more: string;
4
21
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@para-ui/core",
3
3
  "private": false,
4
- "version": "4.0.33",
4
+ "version": "4.0.38",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
7
7
  "description": "Powered by Para FED",
@@ -27,11 +27,12 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@monaco-editor/react": "^4.6.0",
30
- "@paraview/lib": "^2.0.3",
30
+ "@paraview/lib": "^3.0.4",
31
31
  "@wangeditor/editor": "^5.1.15",
32
32
  "@wangeditor/editor-for-react": "^1.0.5",
33
33
  "clsx": "1.1.1",
34
34
  "dayjs": "^1.11.3",
35
+ "marked": "^14.1.2",
35
36
  "monaco-editor": "^0.44.0",
36
37
  "prettier": "^2.6.0",
37
38
  "rc-cascader": "^3.8.0",
@@ -40,6 +41,7 @@
40
41
  "rc-dialog": "8.9.0",
41
42
  "rc-drawer": "6.1.3",
42
43
  "rc-dropdown": "3.6.2",
44
+ "rc-image": "^7.5.1",
43
45
  "rc-input-number": "7.3.4",
44
46
  "rc-motion": "2.4.4",
45
47
  "rc-notification": "4.5.7",
@@ -62,8 +64,7 @@
62
64
  "react-sortablejs": "6.1.0",
63
65
  "react-transition-group": "4.4.2",
64
66
  "sortablejs": "^1.15.0",
65
- "sucrase": "^3.34.0",
66
- "rc-image": "^7.5.1"
67
+ "sucrase": "^3.34.0"
67
68
  },
68
69
  "devDependencies": {
69
70
  "@babel/core": "^7.18.6",
@@ -125,6 +126,7 @@
125
126
  "postcss": "^8.4.13",
126
127
  "postcss-import": "^14.1.0",
127
128
  "prettier": "^2.6.0",
129
+ "raw-loader": "^4.0.2",
128
130
  "rc-select": "14.8.0",
129
131
  "rc-trigger": "^5.3.4",
130
132
  "react-app-polyfill": "^3.0.0",