@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.
Files changed (83) hide show
  1. package/AutoBox/index.js +2 -1
  2. package/AutoTips/index.js +2 -1
  3. package/Breadcrumbs/index.js +3 -2
  4. package/Button/index.js +2 -1
  5. package/ButtonGroup/index.js +2 -1
  6. package/Cascader/index.js +3 -2
  7. package/Checkbox/index.js +2 -1
  8. package/CheckboxGroup/index.js +2 -1
  9. package/CollapseBox/index.js +2 -1
  10. package/CollapseLayout/index.js +2 -1
  11. package/ComboSelect/index.js +4 -3
  12. package/DatePicker/index.js +3 -2
  13. package/Desktop/index.js +3 -2
  14. package/DragVerify/index.js +2 -1
  15. package/Drawer/index.js +2 -1
  16. package/DynamicMultiBox/index.js +4 -3
  17. package/Form/index.d.ts +8 -2
  18. package/Form/index.js +35 -19
  19. package/FormItem/index.js +5 -4
  20. package/FunctionModal/index.js +5 -4
  21. package/Help/index.js +2 -1
  22. package/InputLang/index.js +3 -2
  23. package/InputNumber/index.js +2 -1
  24. package/Label/index.js +2 -1
  25. package/Menu/index.js +3 -2
  26. package/Message/index.d.ts +26 -0
  27. package/Message/index.js +50 -8
  28. package/Modal/index.js +2 -1
  29. package/MultiBox/index.js +3 -2
  30. package/OperateBtn/index.js +2 -1
  31. package/PageHeader/index.js +3 -2
  32. package/Pagination/index.js +3 -2
  33. package/PopConfirm/index.js +2 -1
  34. package/Popover/index.js +2 -1
  35. package/README.md +9 -0
  36. package/Radio/index.js +2 -1
  37. package/RadioGroup/index.js +2 -1
  38. package/Search/index.js +2 -1
  39. package/Select/index.js +3 -2
  40. package/SelectInput/index.js +3 -2
  41. package/Selector/index.js +3 -2
  42. package/SelectorPicker/index.js +3 -2
  43. package/SingleBox/index.js +3 -2
  44. package/Slider/index.js +2 -1
  45. package/Split/index.js +2 -1
  46. package/Switch/index.js +2 -1
  47. package/Table/index.js +3 -2
  48. package/Tabs/index.js +2 -1
  49. package/Tag/index.js +3 -2
  50. package/TextEditor/index.js +2 -1
  51. package/TextField/index.d.ts +0 -2
  52. package/TextField/index.js +5 -6
  53. package/TimePicker/index.js +3 -2
  54. package/ToggleButton/index.js +2 -1
  55. package/Tooltip/index.js +2 -1
  56. package/Transfer/index.js +3 -2
  57. package/Tree/index.js +5 -4
  58. package/Upload/index.js +3 -2
  59. package/_verture/{index-5ca4181b.js → index-74f820ba.js} +2 -2
  60. package/_verture/{index-b30abb46.js → index-9fd86055.js} +1 -1
  61. package/_verture/{modalContext-f70ba993.js → modalContext-92bb0e16.js} +2 -2
  62. package/_verture/{slicedToArray-708dbb18.js → slicedToArray-76060636.js} +3 -16
  63. package/_verture/{toConsumableArray-57dd2e23.js → toConsumableArray-81040c9e.js} +1 -1
  64. package/_verture/unsupportedIterableToArray-cb478f24.js +16 -0
  65. package/index.js +7 -6
  66. package/package.json +1 -1
  67. package/umd/ComboSelect.js +1 -1
  68. package/umd/Desktop.js +1 -1
  69. package/umd/Drawer.js +4 -4
  70. package/umd/DynamicMultiBox.js +1 -1
  71. package/umd/Form.js +2 -2
  72. package/umd/FormItem.js +1 -1
  73. package/umd/InputLang.js +1 -1
  74. package/umd/Message.js +3 -3
  75. package/umd/MultiBox.js +1 -1
  76. package/umd/Pagination.js +1 -1
  77. package/umd/Search.js +1 -1
  78. package/umd/Selector.js +1 -1
  79. package/umd/SelectorPicker.js +1 -1
  80. package/umd/SingleBox.js +1 -1
  81. package/umd/Table.js +1 -1
  82. package/umd/TextField.js +1 -1
  83. package/umd/Transfer.js +1 -1
package/Transfer/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as _toConsumableArray } from '../_verture/toConsumableArray-57dd2e23.js';
2
- import { _ as _slicedToArray } from '../_verture/slicedToArray-708dbb18.js';
1
+ import { _ as _toConsumableArray } from '../_verture/toConsumableArray-81040c9e.js';
2
+ import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
3
3
  import { jsxs, jsx } from 'react/jsx-runtime';
4
4
  import { useRef, useState, useEffect, useCallback } from 'react';
5
5
  import clsx from 'clsx';
@@ -16,6 +16,7 @@ import AutoTips from '../AutoTips/index.js';
16
16
  import Drag from '@para-ui/icons/Drag';
17
17
  import { S as Sortable } from '../_verture/sortable.esm-49896035.js';
18
18
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
19
+ import '../_verture/unsupportedIterableToArray-cb478f24.js';
19
20
  import '../_verture/typeof-498dd2b1.js';
20
21
  import '../_verture/tslib.es6-55ed4bd2.js';
21
22
  import '@para-ui/icons/LoadingF';
package/Tree/index.js CHANGED
@@ -1,9 +1,10 @@
1
- import { T as Tree } from '../_verture/index-5ca4181b.js';
2
- export { T as default } from '../_verture/index-5ca4181b.js';
3
- import '../_verture/toConsumableArray-57dd2e23.js';
4
- import '../_verture/slicedToArray-708dbb18.js';
1
+ import { T as Tree } from '../_verture/index-74f820ba.js';
2
+ export { T as default } from '../_verture/index-74f820ba.js';
3
+ import '../_verture/toConsumableArray-81040c9e.js';
4
+ import '../_verture/unsupportedIterableToArray-cb478f24.js';
5
5
  import '../_verture/defineProperty-62acccfc.js';
6
6
  import '../_verture/typeof-498dd2b1.js';
7
+ import '../_verture/slicedToArray-76060636.js';
7
8
  import '../_verture/index-beef914f.js';
8
9
  import '../_verture/tslib.es6-55ed4bd2.js';
9
10
  import 'react/jsx-runtime';
package/Upload/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { _ as _defineProperty } from '../_verture/defineProperty-62acccfc.js';
2
- import { _ as _toConsumableArray } from '../_verture/toConsumableArray-57dd2e23.js';
3
- import { _ as _slicedToArray } from '../_verture/slicedToArray-708dbb18.js';
2
+ import { _ as _toConsumableArray } from '../_verture/toConsumableArray-81040c9e.js';
3
+ import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
4
4
  import { a as __awaiter, _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
5
5
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
6
6
  import { useState, useEffect, useRef, memo, forwardRef, useCallback, useImperativeHandle, useMemo } from 'react';
@@ -22,6 +22,7 @@ import { Button } from '../Button/index.js';
22
22
  import { Slider } from '../Slider/index.js';
23
23
  import Cropper from 'react-easy-crop';
24
24
  import { Modal } from '../Modal/index.js';
25
+ import '../_verture/unsupportedIterableToArray-cb478f24.js';
25
26
  import '@para-ui/core/GlobalContext';
26
27
  import '@para-ui/icons/LoadingF';
27
28
  import '../Tooltip/index.js';
@@ -1,6 +1,6 @@
1
- import { _ as _toConsumableArray } from './toConsumableArray-57dd2e23.js';
1
+ import { _ as _toConsumableArray } from './toConsumableArray-81040c9e.js';
2
2
  import { _ as _defineProperty } from './defineProperty-62acccfc.js';
3
- import { _ as _slicedToArray } from './slicedToArray-708dbb18.js';
3
+ import { _ as _slicedToArray } from './slicedToArray-76060636.js';
4
4
  import { r as regenerator } from './index-beef914f.js';
5
5
  import { _ as __rest, a as __awaiter } from './tslib.es6-55ed4bd2.js';
6
6
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
@@ -1,6 +1,6 @@
1
1
  import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import React__default from 'react';
3
- import { _ as _slicedToArray } from './slicedToArray-708dbb18.js';
3
+ import { _ as _slicedToArray } from './slicedToArray-76060636.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';
@@ -1,5 +1,5 @@
1
- import { _ as _toConsumableArray } from './toConsumableArray-57dd2e23.js';
2
- import { _ as _slicedToArray } from './slicedToArray-708dbb18.js';
1
+ import { _ as _toConsumableArray } from './toConsumableArray-81040c9e.js';
2
+ import { _ as _slicedToArray } from './slicedToArray-76060636.js';
3
3
  import { r as regenerator } from './index-beef914f.js';
4
4
  import { a as __awaiter } from './tslib.es6-55ed4bd2.js';
5
5
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
@@ -1,3 +1,5 @@
1
+ import { _ as _unsupportedIterableToArray } from './unsupportedIterableToArray-cb478f24.js';
2
+
1
3
  function _arrayWithHoles(arr) {
2
4
  if (Array.isArray(arr)) return arr;
3
5
  }
@@ -30,21 +32,6 @@ function _iterableToArrayLimit(arr, i) {
30
32
  }
31
33
  }
32
34
 
33
- function _arrayLikeToArray(arr, len) {
34
- if (len == null || len > arr.length) len = arr.length;
35
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
36
- return arr2;
37
- }
38
-
39
- function _unsupportedIterableToArray(o, minLen) {
40
- if (!o) return;
41
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
42
- var n = Object.prototype.toString.call(o).slice(8, -1);
43
- if (n === "Object" && o.constructor) n = o.constructor.name;
44
- if (n === "Map" || n === "Set") return Array.from(o);
45
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
46
- }
47
-
48
35
  function _nonIterableRest() {
49
36
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
50
37
  }
@@ -53,4 +40,4 @@ function _slicedToArray(arr, i) {
53
40
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
54
41
  }
55
42
 
56
- export { _slicedToArray as _, _arrayLikeToArray as a, _unsupportedIterableToArray as b };
43
+ export { _slicedToArray as _ };
@@ -1,4 +1,4 @@
1
- import { a as _arrayLikeToArray, b as _unsupportedIterableToArray } from './slicedToArray-708dbb18.js';
1
+ import { a as _arrayLikeToArray, _ as _unsupportedIterableToArray } from './unsupportedIterableToArray-cb478f24.js';
2
2
 
3
3
  function _arrayWithoutHoles(arr) {
4
4
  if (Array.isArray(arr)) return _arrayLikeToArray(arr);
@@ -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 };
package/index.js CHANGED
@@ -22,8 +22,8 @@ export { D as Dropdown } from './_verture/index-77f9e0fb.js';
22
22
  export { default as DynamicMultiBox } from './DynamicMultiBox/index.js';
23
23
  export { default as Empty } from './Empty/index.js';
24
24
  export { default as Form } from './Form/index.js';
25
- export { F as FormItem } from './_verture/index-b30abb46.js';
26
- export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-f70ba993.js';
25
+ export { F as FormItem } from './_verture/index-9fd86055.js';
26
+ export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-92bb0e16.js';
27
27
  export { default as GlobalContext, changeConfirmLocale, getConfirmLocale } from './GlobalContext/index.js';
28
28
  export { default as Help } from './Help/index.js';
29
29
  export { default as HelperText } from './HelperText/index.js';
@@ -32,7 +32,7 @@ export { InputNumber } from './InputNumber/index.js';
32
32
  export { default as Label } from './Label/index.js';
33
33
  export { Loading } from './Loading/index.js';
34
34
  export { Menu } from './Menu/index.js';
35
- export { default as Message } from './Message/index.js';
35
+ export { default as Message, MessageBar } from './Message/index.js';
36
36
  export { Confirm, Modal } from './Modal/index.js';
37
37
  export { MultiBox } from './MultiBox/index.js';
38
38
  export { default as Notification } from './Notification/index.js';
@@ -69,9 +69,10 @@ export { Title } from './Title/index.js';
69
69
  export { ToggleButton, ToggleButtonGroup } from './ToggleButton/index.js';
70
70
  export { Tooltip } from './Tooltip/index.js';
71
71
  export { SSortablejs, Transfer } from './Transfer/index.js';
72
- export { T as Tree } from './_verture/index-5ca4181b.js';
72
+ export { T as Tree } from './_verture/index-74f820ba.js';
73
73
  export { default as Upload } from './Upload/index.js';
74
- import './_verture/slicedToArray-708dbb18.js';
74
+ import './_verture/slicedToArray-76060636.js';
75
+ import './_verture/unsupportedIterableToArray-cb478f24.js';
75
76
  import 'react/jsx-runtime';
76
77
  import 'react';
77
78
  import 'react-dom';
@@ -79,7 +80,7 @@ import '@paraview/lib';
79
80
  import './_verture/constant-66aa48a1.js';
80
81
  import '@para-ui/icons/More';
81
82
  import './_verture/style-inject.es-300983ab.js';
82
- import './_verture/toConsumableArray-57dd2e23.js';
83
+ import './_verture/toConsumableArray-81040c9e.js';
83
84
  import '@para-ui/icons/Return';
84
85
  import './_verture/useFormatMessage-703f8b20.js';
85
86
  import '@para-ui/core/GlobalContext';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@para-ui/core",
3
3
  "private": false,
4
- "version": "3.0.51",
4
+ "version": "3.0.53",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
7
7
  "description": "Powered by Para FED",