@para-ui/core 3.0.92-alpha → 3.0.92-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.
Files changed (98) hide show
  1. package/AutoBox/index.js +5 -9
  2. package/AutoTips/index.js +4 -11
  3. package/Breadcrumbs/index.js +7 -11
  4. package/Button/index.js +8 -12
  5. package/ButtonGroup/index.js +8 -12
  6. package/Carousel/index.js +4 -8
  7. package/Cascader/index.js +7 -11
  8. package/Checkbox/index.js +4 -8
  9. package/CheckboxGroup/index.js +4 -8
  10. package/Collapse/index.js +1 -5
  11. package/CollapseBox/index.js +4 -8
  12. package/CollapseLayout/index.js +6 -10
  13. package/ColorPicker/index.js +0 -2
  14. package/ComboSelect/index.js +14 -18
  15. package/Container/index.js +1 -5
  16. package/DatePicker/index.js +10 -14
  17. package/Desktop/index.js +10 -14
  18. package/DragVerify/index.js +6 -10
  19. package/Drawer/index.js +8 -12
  20. package/Dropdown/index.js +3 -4
  21. package/DynamicMultiBox/index.js +15 -19
  22. package/Empty/index.js +3 -7
  23. package/Form/index.js +15 -16
  24. package/FormItem/index.js +15 -16
  25. package/FunctionModal/index.js +14 -15
  26. package/GlobalContext/index.js +3 -3
  27. package/Help/index.js +4 -8
  28. package/HelperText/index.js +1 -5
  29. package/InputLang/index.js +11 -15
  30. package/InputNumber/index.js +4 -8
  31. package/Label/index.js +4 -8
  32. package/Loading/index.js +1 -5
  33. package/Menu/index.js +5 -9
  34. package/Message/index.js +4 -8
  35. package/Modal/index.js +10 -17
  36. package/MultiBox/index.js +10 -14
  37. package/Notification/index.js +3 -7
  38. package/OperateBtn/index.js +9 -13
  39. package/PageHeader/index.js +9 -13
  40. package/Pagination/index.js +11 -15
  41. package/ParauiProvider/index.js +3 -10
  42. package/PasswordRules/index.js +3 -7
  43. package/PopConfirm/index.js +8 -12
  44. package/Popover/index.js +5 -9
  45. package/Progress/index.js +2 -6
  46. package/Querying/index.js +3 -7
  47. package/README.md +3 -3
  48. package/Radio/index.js +4 -8
  49. package/RadioGroup/index.js +4 -8
  50. package/Search/index.js +9 -13
  51. package/Select/index.js +11 -15
  52. package/SelectInput/index.js +11 -12
  53. package/Selector/index.js +11 -24
  54. package/SelectorPicker/index.js +12 -16
  55. package/SingleBox/index.js +10 -14
  56. package/Slider/index.js +6 -10
  57. package/Split/index.js +4 -8
  58. package/Status/index.js +1 -5
  59. package/Stepper/index.js +3 -7
  60. package/Switch/index.js +6 -10
  61. package/Table/index.js +12 -37
  62. package/Tabs/index.js +9 -13
  63. package/Tag/index.js +7 -11
  64. package/TextEditor/index.js +5 -12
  65. package/TextField/index.js +8 -12
  66. package/TimePicker/index.js +10 -11
  67. package/Timeline/index.js +4 -8
  68. package/Title/index.js +1 -5
  69. package/ToggleButton/index.js +9 -13
  70. package/Tooltip/index.js +4 -8
  71. package/Transfer/index.js +13 -17
  72. package/Tree/index.js +12 -13
  73. package/Upload/index.js +12 -28
  74. package/_verture/{index-1a55db55.js → closestPolyfill-1f8bf9f2.js} +8 -15
  75. package/_verture/{defineProperty-62acccfc.js → defineProperty-e729a320.js} +1 -1
  76. package/_verture/{index-0732ec3c.js → index-383f675d.js} +2 -6
  77. package/_verture/{index-8165c339.js → index-7549c845.js} +4 -11
  78. package/_verture/{intl-4a9f1b44.js → intl-0422b858.js} +1 -1
  79. package/_verture/{modalContext-5439180f.js → modalContext-596b8662.js} +4 -8
  80. package/_verture/{slicedToArray-76060636.js → slicedToArray-8aff58fe.js} +1 -1
  81. package/_verture/{toConsumableArray-81040c9e.js → toConsumableArray-9281dc38.js} +1 -1
  82. package/_verture/{utils-c9b9a157.js → utils-f01f50a9.js} +1 -1
  83. package/index.js +20 -22
  84. package/package.json +3 -1
  85. package/theme/theme-api.css +14167 -0
  86. package/_verture/index-a369ca3f.js +0 -4
  87. package/_verture/style-inject.es-300983ab.js +0 -28
  88. /package/_verture/{constant-66aa48a1.js → constant-a5bc0793.js} +0 -0
  89. /package/_verture/{index-65bbd1e4.js → index-4fd2b25a.js} +0 -0
  90. /package/_verture/{index-beef914f.js → index-59b0a520.js} +0 -0
  91. /package/_verture/{sortable.esm-49896035.js → sortable.esm-c9d2bc7d.js} +0 -0
  92. /package/_verture/{tslib.es6-55ed4bd2.js → tslib.es6-2834ab12.js} +0 -0
  93. /package/_verture/{typeof-498dd2b1.js → typeof-deea1bb6.js} +0 -0
  94. /package/_verture/{unsupportedIterableToArray-cb478f24.js → unsupportedIterableToArray-e38d5bd7.js} +0 -0
  95. /package/_verture/{useFormatMessage-703f8b20.js → useFormatMessage-2c1d843e.js} +0 -0
  96. /package/_verture/{useGlobalProps-1b846a65.js → useGlobalProps-846a80fb.js} +0 -0
  97. /package/_verture/{usePopupContainer-87febeb9.js → usePopupContainer-92beddef.js} +0 -0
  98. /package/_verture/{util-7e1fb1e2.js → util-a064dba3.js} +0 -0
@@ -1,24 +1,23 @@
1
1
  import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import React__default from 'react';
3
- import { _ as _slicedToArray } from './slicedToArray-76060636.js';
3
+ import { _ as _slicedToArray } from './slicedToArray-8aff58fe.js';
4
4
  import { TextField } from '../TextField/index.js';
5
5
  import { RadioGroup } from '../RadioGroup/index.js';
6
6
  import Select from '../Select/index.js';
7
7
  import { CheckboxGroup } from '../CheckboxGroup/index.js';
8
- import { _ as _typeof } from './typeof-498dd2b1.js';
8
+ import { _ as _typeof } from './typeof-deea1bb6.js';
9
9
  import { Switch } from '../Switch/index.js';
10
10
  import Delete from '@para-ui/icons/Delete';
11
11
  import ParaLinkGroup from '@para-ui/icons/LinkGroup';
12
12
  import AutoTips from '../AutoTips/index.js';
13
13
  import { Button } from '../Button/index.js';
14
- import { u as useFormatMessage } from './useFormatMessage-703f8b20.js';
15
- import { s as styleInject } from './style-inject.es-300983ab.js';
14
+ import { u as useFormatMessage } from './useFormatMessage-2c1d843e.js';
16
15
  import { InputNumber } from '../InputNumber/index.js';
17
16
  import { ComboSelect } from '../ComboSelect/index.js';
18
17
  import HelperText from '../HelperText/index.js';
19
18
  import clsx from 'clsx';
20
19
  import Label from '../Label/index.js';
21
- import { $ as $prefixCls } from './constant-66aa48a1.js';
20
+ import { $ as $prefixCls } from './constant-a5bc0793.js';
22
21
 
23
22
  var FormRadioGroup = function FormRadioGroup(props) {
24
23
  var defaultValue = props.defaultValue,
@@ -268,9 +267,6 @@ var localeJson = {
268
267
  en: en
269
268
  };
270
269
 
271
- var css_248z$1 = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.form-file {\n padding: 6px;\n font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;\n font-size: 14px;\n font-weight: 400;\n}\n.form-file .file-tips {\n min-height: 20px;\n position: relative;\n padding: 6px;\n}\n.form-file .file-tips .file-tips-item {\n position: relative;\n height: 20px;\n line-height: 16px;\n padding-right: 20px;\n}\n.form-file .file-tips .file-tips-item > [data-name=LinkGroup] {\n vertical-align: middle;\n margin-right: 9px;\n}\n.form-file .file-tips .file-tips-item .file-tips-context {\n display: inline-block;\n vertical-align: middle;\n width: calc(100% - 45px);\n color: rgba(46, 55, 67, 0.7);\n}\n.form-file .file-tips .file-tips-item > [data-name=Delete] {\n display: none;\n vertical-align: middle;\n cursor: pointer;\n position: absolute;\n right: 3px;\n top: 2px;\n}\n.form-file .file-tips .file-tips-item > [data-name=Delete]:hover {\n opacity: 0.8;\n}\n.form-file .file-tips .file-tips-item:hover {\n backgroundColor: #f5f5f5;\n}\n.form-file .file-tips .file-tips-item:hover > [data-name=Delete] {\n display: inline-block;\n}";
272
- styleInject(css_248z$1);
273
-
274
270
  /**
275
271
  * 文件组件
276
272
  */
@@ -629,9 +625,6 @@ var ErrorTips = function ErrorTips(props) {
629
625
  }, helperTextProps));
630
626
  };
631
627
 
632
- var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-v3-form-item {\n font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;\n font-size: 14px;\n font-weight: 400;\n}\n.paraui-v3-form-item .paraui-v3-text-field {\n display: block;\n}\n.paraui-v3-form-item.paraui-v3-form-item-checkGroup .form-label .form-labe-text, .paraui-v3-form-item.paraui-v3-form-item-radioGroup .form-label .form-labe-text {\n margin-bottom: 4px;\n}\n.paraui-v3-form-item .form-label {\n display: inline-block;\n}\n.paraui-v3-form-item .form-edit > div {\n padding: 0;\n width: 100%;\n}\n.paraui-v3-form-item .form-content-vertical {\n display: inline-block;\n width: 100%;\n}";
633
- styleInject(css_248z);
634
-
635
628
  var formInputTypeJson = {
636
629
  checkGroup: true,
637
630
  select: true,
@@ -1,4 +1,4 @@
1
- import { _ as _typeof } from './typeof-498dd2b1.js';
1
+ import { _ as _typeof } from './typeof-deea1bb6.js';
2
2
 
3
3
  function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
4
4
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
@@ -1,15 +1,11 @@
1
- import { _ as _toConsumableArray } from './toConsumableArray-81040c9e.js';
2
- import { _ as _slicedToArray } from './slicedToArray-76060636.js';
3
- import { r as regenerator } from './index-beef914f.js';
4
- import { a as __awaiter } from './tslib.es6-55ed4bd2.js';
1
+ import { _ as _toConsumableArray } from './toConsumableArray-9281dc38.js';
2
+ import { _ as _slicedToArray } from './slicedToArray-8aff58fe.js';
3
+ import { r as regenerator } from './index-59b0a520.js';
4
+ import { a as __awaiter } from './tslib.es6-2834ab12.js';
5
5
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
6
6
  import React__default from 'react';
7
7
  import { Modal } from '../Modal/index.js';
8
8
  import clsx from 'clsx';
9
- import { s as styleInject } from './style-inject.es-300983ab.js';
10
-
11
- var css_248z = ".function-modal-default [class*=makeStyles-md] {\n width: 440px;\n height: auto;\n max-height: initial;\n}";
12
- styleInject(css_248z);
13
9
 
14
10
  var FDialog = function FDialog(props) {
15
11
  var open = props.open,
@@ -1,4 +1,4 @@
1
- import { _ as _unsupportedIterableToArray } from './unsupportedIterableToArray-cb478f24.js';
1
+ import { _ as _unsupportedIterableToArray } from './unsupportedIterableToArray-e38d5bd7.js';
2
2
 
3
3
  function _arrayWithHoles(arr) {
4
4
  if (Array.isArray(arr)) return arr;
@@ -1,4 +1,4 @@
1
- import { a as _arrayLikeToArray, _ as _unsupportedIterableToArray } from './unsupportedIterableToArray-cb478f24.js';
1
+ import { a as _arrayLikeToArray, _ as _unsupportedIterableToArray } from './unsupportedIterableToArray-e38d5bd7.js';
2
2
 
3
3
  function _arrayWithoutHoles(arr) {
4
4
  if (Array.isArray(arr)) return _arrayLikeToArray(arr);
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty } from './defineProperty-62acccfc.js';
1
+ import { _ as _defineProperty } from './defineProperty-e729a320.js';
2
2
 
3
3
  //获取替换字段
4
4
  var getReplaceField = function getReplaceField(mode, repl, tableP, treeP) {
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-0732ec3c.js';
20
+ export { D as Dropdown } from './_verture/index-383f675d.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-8165c339.js';
26
- export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-5439180f.js';
24
+ export { F as FormItem } from './_verture/index-7549c845.js';
25
+ export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-596b8662.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,44 +68,43 @@ 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/index-1a55db55.js';
71
+ export { T as Tree } from './_verture/closestPolyfill-1f8bf9f2.js';
73
72
  export { default as Upload } from './Upload/index.js';
74
73
  export { default as locale } from './locale/index.js';
75
- import './_verture/slicedToArray-76060636.js';
76
- import './_verture/unsupportedIterableToArray-cb478f24.js';
74
+ import './_verture/slicedToArray-8aff58fe.js';
75
+ import './_verture/unsupportedIterableToArray-e38d5bd7.js';
77
76
  import 'react/jsx-runtime';
78
77
  import 'react';
79
78
  import 'react-dom';
80
79
  import '@paraview/lib';
81
- import './_verture/constant-66aa48a1.js';
80
+ import './_verture/constant-a5bc0793.js';
82
81
  import '@para-ui/icons/More';
83
- import './_verture/style-inject.es-300983ab.js';
84
- import './_verture/toConsumableArray-81040c9e.js';
82
+ import './_verture/toConsumableArray-9281dc38.js';
85
83
  import '@para-ui/icons/Return';
86
- import './_verture/useFormatMessage-703f8b20.js';
84
+ import './_verture/useFormatMessage-2c1d843e.js';
87
85
  import '@para-ui/core/GlobalContext';
88
- import './_verture/typeof-498dd2b1.js';
89
- import './_verture/tslib.es6-55ed4bd2.js';
86
+ import './_verture/typeof-deea1bb6.js';
87
+ import './_verture/tslib.es6-2834ab12.js';
90
88
  import 'clsx';
91
89
  import '@para-ui/icons/LoadingF';
92
90
  import '@para-ui/icons/Forbid';
93
91
  import '@para-ui/icons/Down';
94
- import './_verture/defineProperty-62acccfc.js';
92
+ import './_verture/defineProperty-e729a320.js';
95
93
  import 'react-slick';
96
- import './_verture/index-beef914f.js';
94
+ import './_verture/index-59b0a520.js';
97
95
  import 'rc-cascader';
98
96
  import '@para-ui/icons/Right';
99
97
  import '@para-ui/icons/Loading';
100
98
  import 'rc-collapse';
101
99
  import 'react-transition-group';
102
- import './_verture/util-7e1fb1e2.js';
100
+ import './_verture/util-a064dba3.js';
103
101
  import '@para-ui/icons/DoubleLeft';
104
102
  import '@para-ui/icons/DoubleRight';
105
103
  import '@para-ui/icons/Search';
106
104
  import '@para-ui/icons/Close';
107
105
  import '@para-ui/icons/CloseCircle';
108
- import './_verture/utils-c9b9a157.js';
109
- import './_verture/useGlobalProps-1b846a65.js';
106
+ import './_verture/utils-f01f50a9.js';
107
+ import './_verture/useGlobalProps-846a80fb.js';
110
108
  import 'rc-picker/es/generate/dayjs';
111
109
  import 'rc-picker';
112
110
  import '@para-ui/icons/Calendar';
@@ -117,16 +115,16 @@ import '@para-ui/icons/SortRight';
117
115
  import '@para-ui/icons/Check';
118
116
  import 'rc-drawer';
119
117
  import 'rc-dropdown';
120
- import './_verture/usePopupContainer-87febeb9.js';
118
+ import './_verture/usePopupContainer-92beddef.js';
121
119
  import 'dayjs';
122
120
  import '@para-ui/icons/Panel';
123
121
  import '@para-ui/icons/PlusCircleF';
124
122
  import '@para-ui/icons/Delete';
125
123
  import '@para-ui/icons/Drag';
126
- import './_verture/sortable.esm-49896035.js';
124
+ import './_verture/sortable.esm-c9d2bc7d.js';
127
125
  import '@para-ui/icons/LinkGroup';
128
- import './_verture/intl-4a9f1b44.js';
129
- import './_verture/index-65bbd1e4.js';
126
+ import './_verture/intl-0422b858.js';
127
+ import './_verture/index-4fd2b25a.js';
130
128
  import '@para-ui/icons/Help';
131
129
  import '@para-ui/icons/Application';
132
130
  import 'rc-input-number';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@para-ui/core",
3
3
  "private": false,
4
- "version": "3.0.92-alpha",
4
+ "version": "3.0.92-rc",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
7
7
  "description": "Powered by Para FED",
@@ -66,6 +66,7 @@
66
66
  "@babel/preset-typescript": "^7.18.6",
67
67
  "@para-snack/core": "^2.1.0",
68
68
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
69
+ "@rollup/plugin-alias": "^5.0.1",
69
70
  "@rollup/plugin-babel": "^5.3.1",
70
71
  "@rollup/plugin-commonjs": "^22.0.1",
71
72
  "@rollup/plugin-json": "^4.1.0",
@@ -92,6 +93,7 @@
92
93
  "monaco-editor-webpack-plugin": "^7.1.0",
93
94
  "postcss": "^8.4.14",
94
95
  "postcss-import": "^14.1.0",
96
+ "postcss-prefix-selector": "^1.16.0",
95
97
  "prettier": "^2.6.0",
96
98
  "react-app-polyfill": "^3.0.0",
97
99
  "react-copy-to-clipboard": "^5.0.3",