@para-ui/core 3.0.110-rc → 3.0.111-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 (118) hide show
  1. package/AutoBox/index.js +5 -5
  2. package/AutoTips/index.js +4 -4
  3. package/Breadcrumbs/index.js +7 -7
  4. package/Button/index.js +8 -8
  5. package/ButtonGroup/index.js +8 -8
  6. package/Carousel/index.js +4 -4
  7. package/Cascader/index.js +7 -7
  8. package/Checkbox/index.js +4 -4
  9. package/CheckboxGroup/index.js +4 -4
  10. package/Collapse/index.js +1 -1
  11. package/CollapseBox/index.js +4 -4
  12. package/CollapseLayout/index.js +6 -6
  13. package/ComboSelect/index.js +14 -14
  14. package/Container/index.js +1 -1
  15. package/DatePicker/index.js +10 -10
  16. package/Desktop/index.js +10 -10
  17. package/DragVerify/index.js +6 -6
  18. package/Drawer/index.js +8 -8
  19. package/Dropdown/index.js +3 -3
  20. package/DynamicMultiBox/index.js +15 -15
  21. package/Empty/index.js +3 -3
  22. package/Form/index.js +15 -15
  23. package/FormItem/index.js +15 -15
  24. package/FunctionModal/index.js +14 -14
  25. package/GlobalContext/index.js +3 -3
  26. package/Help/index.js +4 -4
  27. package/HelperText/index.js +1 -1
  28. package/InputLang/index.js +11 -11
  29. package/InputNumber/index.js +4 -4
  30. package/Label/index.js +4 -4
  31. package/Loading/index.js +1 -1
  32. package/Menu/index.js +5 -5
  33. package/Message/index.js +4 -4
  34. package/Modal/index.js +10 -10
  35. package/MultiBox/index.js +10 -10
  36. package/Notification/index.js +3 -3
  37. package/OperateBtn/index.js +9 -9
  38. package/PageHeader/index.js +9 -9
  39. package/Pagination/index.js +11 -11
  40. package/ParauiProvider/index.js +3 -3
  41. package/PasswordRules/index.js +3 -3
  42. package/PopConfirm/index.js +8 -8
  43. package/Popover/index.js +5 -5
  44. package/Progress/index.js +2 -2
  45. package/Querying/index.js +3 -3
  46. package/README.md +5 -0
  47. package/Radio/index.js +4 -4
  48. package/RadioGroup/index.js +4 -4
  49. package/Search/index.js +9 -9
  50. package/Select/index.js +11 -11
  51. package/SelectInput/index.js +11 -11
  52. package/Selector/index.js +11 -11
  53. package/SelectorPicker/index.js +12 -12
  54. package/SingleBox/index.js +10 -10
  55. package/Slider/index.js +6 -6
  56. package/Split/index.js +4 -4
  57. package/Status/index.js +1 -1
  58. package/Stepper/index.js +3 -3
  59. package/Switch/index.js +6 -6
  60. package/Table/index.js +12 -12
  61. package/Tabs/index.js +9 -9
  62. package/Tag/index.js +7 -7
  63. package/TextEditor/index.js +5 -5
  64. package/TextField/index.js +8 -8
  65. package/TimePicker/index.js +10 -10
  66. package/Timeline/index.js +4 -4
  67. package/Title/index.js +1 -1
  68. package/ToggleButton/index.js +9 -9
  69. package/Tooltip/index.js +4 -4
  70. package/Transfer/index.js +13 -13
  71. package/Tree/index.js +12 -12
  72. package/Upload/index.js +57 -37
  73. package/Upload/interface.d.ts +3 -0
  74. package/_verture/{closestPolyfill-313f3447.js → closestPolyfill-0ea0e7a5.js} +8 -8
  75. package/_verture/{closestPolyfill-7e70c935.js → closestPolyfill-230b7b1c.js} +8 -8
  76. package/_verture/{defineProperty-007b4d11.js → defineProperty-a3595bb4.js} +1 -1
  77. package/_verture/{defineProperty-95d6d645.js → defineProperty-d7016ad3.js} +1 -1
  78. package/_verture/{index-b7f5ad30.js → index-1e744dcd.js} +4 -4
  79. package/_verture/{index-ac4eaa20.js → index-4ee4e41a.js} +2 -2
  80. package/_verture/{index-e2df3f9b.js → index-59046762.js} +2 -2
  81. package/_verture/{index-ab34796f.js → index-66004ebf.js} +4 -4
  82. package/_verture/{intl-9d4bda01.js → intl-638e7f5e.js} +1 -1
  83. package/_verture/{intl-a16c7c49.js → intl-e0637ffc.js} +1 -1
  84. package/_verture/{modalContext-83902de0.js → modalContext-7312fb44.js} +4 -4
  85. package/_verture/{modalContext-d124bff9.js → modalContext-762c9eb8.js} +4 -4
  86. package/_verture/{slicedToArray-22a73a75.js → slicedToArray-cf682b7d.js} +1 -1
  87. package/_verture/{slicedToArray-961803cc.js → slicedToArray-e838a33c.js} +1 -1
  88. package/_verture/{toConsumableArray-e20b1735.js → toConsumableArray-037466a3.js} +1 -1
  89. package/_verture/{toConsumableArray-f1db7872.js → toConsumableArray-2f4549d3.js} +1 -1
  90. package/_verture/{utils-433dfcca.js → utils-1b82eac1.js} +1 -1
  91. package/_verture/{utils-f4164743.js → utils-cc6f5f94.js} +1 -1
  92. package/index.js +20 -20
  93. package/package.json +1 -1
  94. package/theme/theme-shrcb.css +22 -0
  95. package/theme/theme.css +22 -0
  96. package/umd/Upload.js +4 -4
  97. /package/_verture/{constant-64a81e13.js → constant-ce36e642.js} +0 -0
  98. /package/_verture/{constant-a33be099.js → constant-d26faf32.js} +0 -0
  99. /package/_verture/{index-7b934b9c.js → index-67a00291.js} +0 -0
  100. /package/_verture/{index-057472a5.js → index-a055cc71.js} +0 -0
  101. /package/_verture/{index-bb57454c.js → index-eefd3ff1.js} +0 -0
  102. /package/_verture/{index-d2c262a3.js → index-fe55d90e.js} +0 -0
  103. /package/_verture/{sortable.esm-3f8b15fe.js → sortable.esm-5dbbc690.js} +0 -0
  104. /package/_verture/{sortable.esm-489ff15a.js → sortable.esm-d3f0b100.js} +0 -0
  105. /package/_verture/{tslib.es6-95621291.js → tslib.es6-44149323.js} +0 -0
  106. /package/_verture/{tslib.es6-cb23b48d.js → tslib.es6-9e8a62ad.js} +0 -0
  107. /package/_verture/{typeof-040e44c6.js → typeof-c4ef74bc.js} +0 -0
  108. /package/_verture/{typeof-9fc6da0b.js → typeof-ef74f13b.js} +0 -0
  109. /package/_verture/{unsupportedIterableToArray-1bbbaa8f.js → unsupportedIterableToArray-6655197b.js} +0 -0
  110. /package/_verture/{unsupportedIterableToArray-4dda6653.js → unsupportedIterableToArray-bd7e0e01.js} +0 -0
  111. /package/_verture/{useFormatMessage-1c5880cc.js → useFormatMessage-8394ec71.js} +0 -0
  112. /package/_verture/{useFormatMessage-8b5da2a2.js → useFormatMessage-e3507273.js} +0 -0
  113. /package/_verture/{useGlobalProps-7a96e89d.js → useGlobalProps-929e5233.js} +0 -0
  114. /package/_verture/{useGlobalProps-e60d8857.js → useGlobalProps-c2be96c7.js} +0 -0
  115. /package/_verture/{usePopupContainer-9c266e60.js → usePopupContainer-6fa1cc58.js} +0 -0
  116. /package/_verture/{usePopupContainer-ba629e65.js → usePopupContainer-dde75227.js} +0 -0
  117. /package/_verture/{util-29d67f8d.js → util-8a7a5c8d.js} +0 -0
  118. /package/_verture/{util-2f73544c.js → util-9d3101fc.js} +0 -0
@@ -1,15 +1,15 @@
1
- import { _ as _slicedToArray } from '../_verture/slicedToArray-22a73a75.js';
1
+ import { _ as _slicedToArray } from '../_verture/slicedToArray-e838a33c.js';
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import { forwardRef, useState, useEffect, useImperativeHandle, useMemo } from 'react';
4
4
  import Label from '../Label/index.js';
5
5
  import { Toolbar, Editor } from '@wangeditor/editor-for-react';
6
6
  import { i18nChangeLanguage } from '@wangeditor/editor';
7
7
  import HelperText from '../HelperText/index.js';
8
- import { $ as $prefixCls } from '../_verture/constant-a33be099.js';
9
- import { u as useFormatMessage } from '../_verture/useFormatMessage-8b5da2a2.js';
8
+ import { $ as $prefixCls } from '../_verture/constant-d26faf32.js';
9
+ import { u as useFormatMessage } from '../_verture/useFormatMessage-8394ec71.js';
10
10
  import { UUID } from '@paraview/lib';
11
- import '../_verture/unsupportedIterableToArray-4dda6653.js';
12
- import '../_verture/tslib.es6-cb23b48d.js';
11
+ import '../_verture/unsupportedIterableToArray-6655197b.js';
12
+ import '../_verture/tslib.es6-9e8a62ad.js';
13
13
  import '../Help/index.js';
14
14
  import '../Tooltip/index.js';
15
15
  import 'rc-tooltip';
@@ -1,6 +1,6 @@
1
- import { _ as _typeof } from '../_verture/typeof-040e44c6.js';
2
- import { _ as _slicedToArray } from '../_verture/slicedToArray-22a73a75.js';
3
- import { _ as __rest } from '../_verture/tslib.es6-cb23b48d.js';
1
+ import { _ as _typeof } from '../_verture/typeof-ef74f13b.js';
2
+ import { _ as _slicedToArray } from '../_verture/slicedToArray-e838a33c.js';
3
+ import { _ as __rest } from '../_verture/tslib.es6-9e8a62ad.js';
4
4
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
5
5
  import { useState, useRef, useEffect, useMemo } from 'react';
6
6
  import Label from '../Label/index.js';
@@ -11,10 +11,10 @@ import CloseCircle from '@para-ui/icons/CloseCircle';
11
11
  import AutoTips from '../AutoTips/index.js';
12
12
  import { Loading } from '../Loading/index.js';
13
13
  import HelperText from '../HelperText/index.js';
14
- import { u as useGlobalProps } from '../_verture/useGlobalProps-7a96e89d.js';
15
- import { D as Dropdown } from '../_verture/index-ac4eaa20.js';
16
- import { $ as $prefixCls } from '../_verture/constant-a33be099.js';
17
- import '../_verture/unsupportedIterableToArray-4dda6653.js';
14
+ import { u as useGlobalProps } from '../_verture/useGlobalProps-c2be96c7.js';
15
+ import { D as Dropdown } from '../_verture/index-59046762.js';
16
+ import { $ as $prefixCls } from '../_verture/constant-d26faf32.js';
17
+ import '../_verture/unsupportedIterableToArray-6655197b.js';
18
18
  import '../Help/index.js';
19
19
  import '../Tooltip/index.js';
20
20
  import 'rc-tooltip';
@@ -24,7 +24,7 @@ import '@para-ui/icons/Help';
24
24
  import '@para-ui/icons/LoadingF';
25
25
  import '@para-ui/core/GlobalContext';
26
26
  import 'rc-dropdown';
27
- import '../_verture/usePopupContainer-ba629e65.js';
27
+ import '../_verture/usePopupContainer-6fa1cc58.js';
28
28
  import 'dayjs';
29
29
 
30
30
  // true:数值型的,false:非数值型
@@ -1,31 +1,31 @@
1
- import { _ as __rest } from '../_verture/tslib.es6-cb23b48d.js';
1
+ import { _ as __rest } from '../_verture/tslib.es6-9e8a62ad.js';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
  import React__default from 'react';
4
4
  import DatePicker from '../DatePicker/index.js';
5
5
  import 'rc-picker/es/generate/dayjs';
6
6
  import '../Button/index.js';
7
- import '../_verture/typeof-040e44c6.js';
8
- import '../_verture/slicedToArray-22a73a75.js';
9
- import '../_verture/unsupportedIterableToArray-4dda6653.js';
7
+ import '../_verture/typeof-ef74f13b.js';
8
+ import '../_verture/slicedToArray-e838a33c.js';
9
+ import '../_verture/unsupportedIterableToArray-6655197b.js';
10
10
  import 'clsx';
11
11
  import '@para-ui/icons/LoadingF';
12
12
  import '@para-ui/icons/Forbid';
13
13
  import '../Tooltip/index.js';
14
14
  import 'rc-tooltip';
15
15
  import 'rc-tooltip/lib/placements';
16
- import '../_verture/constant-a33be099.js';
16
+ import '../_verture/constant-d26faf32.js';
17
17
  import '@para-ui/icons/Down';
18
- import '../_verture/index-ac4eaa20.js';
18
+ import '../_verture/index-59046762.js';
19
19
  import 'rc-dropdown';
20
- import '../_verture/usePopupContainer-ba629e65.js';
20
+ import '../_verture/usePopupContainer-6fa1cc58.js';
21
21
  import 'dayjs';
22
22
  import '@paraview/lib';
23
- import '../_verture/useFormatMessage-8b5da2a2.js';
23
+ import '../_verture/useFormatMessage-8394ec71.js';
24
24
  import '@para-ui/core/GlobalContext';
25
25
  import '../Tag/index.js';
26
- import '../_verture/defineProperty-007b4d11.js';
26
+ import '../_verture/defineProperty-d7016ad3.js';
27
27
  import '@para-ui/icons/Close';
28
- import '../_verture/toConsumableArray-e20b1735.js';
28
+ import '../_verture/toConsumableArray-037466a3.js';
29
29
  import '../AutoTips/index.js';
30
30
  import '@para-ui/icons/Plus';
31
31
  import 'rc-picker';
package/Timeline/index.js CHANGED
@@ -1,10 +1,10 @@
1
- import { _ as _defineProperty } from '../_verture/defineProperty-007b4d11.js';
2
- import { _ as __rest } from '../_verture/tslib.es6-cb23b48d.js';
1
+ import { _ as _defineProperty } from '../_verture/defineProperty-d7016ad3.js';
2
+ import { _ as __rest } from '../_verture/tslib.es6-9e8a62ad.js';
3
3
  import { jsxs, jsx } from 'react/jsx-runtime';
4
4
  import React__default from 'react';
5
5
  import clsx from 'clsx';
6
- import { a as $rcPrefixCls, $ as $prefixCls } from '../_verture/constant-a33be099.js';
7
- import '../_verture/typeof-040e44c6.js';
6
+ import { a as $rcPrefixCls, $ as $prefixCls } from '../_verture/constant-d26faf32.js';
7
+ import '../_verture/typeof-ef74f13b.js';
8
8
 
9
9
  //TimelineItem
10
10
  var TimelineItem = function TimelineItem(props) {
package/Title/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import clsx from 'clsx';
3
- import { $ as $prefixCls } from '../_verture/constant-a33be099.js';
3
+ import { $ as $prefixCls } from '../_verture/constant-d26faf32.js';
4
4
 
5
5
  //标题
6
6
  var Title = function Title(props) {
@@ -1,26 +1,26 @@
1
- import { _ as _defineProperty } from '../_verture/defineProperty-007b4d11.js';
2
- import { _ as __rest } from '../_verture/tslib.es6-cb23b48d.js';
1
+ import { _ as _defineProperty } from '../_verture/defineProperty-d7016ad3.js';
2
+ import { _ as __rest } from '../_verture/tslib.es6-9e8a62ad.js';
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
  import { useRef } from 'react';
5
5
  import { Button } from '../Button/index.js';
6
6
  import { UUID } from '@paraview/lib';
7
7
  import clsx from 'clsx';
8
- import { $ as $prefixCls } from '../_verture/constant-a33be099.js';
8
+ import { $ as $prefixCls } from '../_verture/constant-d26faf32.js';
9
9
  import AutoTips from '../AutoTips/index.js';
10
- import '../_verture/typeof-040e44c6.js';
11
- import '../_verture/slicedToArray-22a73a75.js';
12
- import '../_verture/unsupportedIterableToArray-4dda6653.js';
10
+ import '../_verture/typeof-ef74f13b.js';
11
+ import '../_verture/slicedToArray-e838a33c.js';
12
+ import '../_verture/unsupportedIterableToArray-6655197b.js';
13
13
  import '@para-ui/icons/LoadingF';
14
14
  import '@para-ui/icons/Forbid';
15
15
  import '../Tooltip/index.js';
16
16
  import 'rc-tooltip';
17
17
  import 'rc-tooltip/lib/placements';
18
18
  import '@para-ui/icons/Down';
19
- import '../_verture/index-ac4eaa20.js';
19
+ import '../_verture/index-59046762.js';
20
20
  import 'rc-dropdown';
21
- import '../_verture/usePopupContainer-ba629e65.js';
21
+ import '../_verture/usePopupContainer-6fa1cc58.js';
22
22
  import 'dayjs';
23
- import '../_verture/useFormatMessage-8b5da2a2.js';
23
+ import '../_verture/useFormatMessage-8394ec71.js';
24
24
  import '@para-ui/core/GlobalContext';
25
25
 
26
26
  //切换按钮组
package/Tooltip/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import { _ as _slicedToArray } from '../_verture/slicedToArray-22a73a75.js';
2
- import { _ as __rest } from '../_verture/tslib.es6-cb23b48d.js';
1
+ import { _ as _slicedToArray } from '../_verture/slicedToArray-e838a33c.js';
2
+ import { _ as __rest } from '../_verture/tslib.es6-9e8a62ad.js';
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
  import React__default from 'react';
5
5
  import RcTooltip from 'rc-tooltip';
6
6
  import { placements } from 'rc-tooltip/lib/placements';
7
7
  import clsx from 'clsx';
8
- import { a as $rcPrefixCls, $ as $prefixCls } from '../_verture/constant-a33be099.js';
9
- import '../_verture/unsupportedIterableToArray-4dda6653.js';
8
+ import { a as $rcPrefixCls, $ as $prefixCls } from '../_verture/constant-d26faf32.js';
9
+ import '../_verture/unsupportedIterableToArray-6655197b.js';
10
10
 
11
11
  //自动调整位置
12
12
  var autoAdjustOverflowEnabled = {
package/Transfer/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as _toConsumableArray } from '../_verture/toConsumableArray-e20b1735.js';
2
- import { _ as _slicedToArray } from '../_verture/slicedToArray-22a73a75.js';
1
+ import { _ as _toConsumableArray } from '../_verture/toConsumableArray-037466a3.js';
2
+ import { _ as _slicedToArray } from '../_verture/slicedToArray-e838a33c.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';
@@ -8,25 +8,25 @@ import NavigateBefore from '@para-ui/icons/Left';
8
8
  import Right from '@para-ui/icons/Right';
9
9
  import ExpandLess from '@para-ui/icons/Up';
10
10
  import Down from '@para-ui/icons/Down';
11
- import { u as useFormatMessage } from '../_verture/useFormatMessage-8b5da2a2.js';
12
- import { $ as $prefixCls } from '../_verture/constant-a33be099.js';
11
+ import { u as useFormatMessage } from '../_verture/useFormatMessage-8394ec71.js';
12
+ import { $ as $prefixCls } from '../_verture/constant-d26faf32.js';
13
13
  import { Search } from '../Search/index.js';
14
14
  import SearchIcon from '@para-ui/icons/Search';
15
15
  import AutoTips from '../AutoTips/index.js';
16
16
  import Drag from '@para-ui/icons/Drag';
17
- import { S as Sortable } from '../_verture/sortable.esm-489ff15a.js';
18
- import { d as debounce } from '../_verture/utils-f4164743.js';
19
- import '../_verture/unsupportedIterableToArray-4dda6653.js';
20
- import '../_verture/typeof-040e44c6.js';
21
- import '../_verture/tslib.es6-cb23b48d.js';
17
+ import { S as Sortable } from '../_verture/sortable.esm-d3f0b100.js';
18
+ import { d as debounce } from '../_verture/utils-1b82eac1.js';
19
+ import '../_verture/unsupportedIterableToArray-6655197b.js';
20
+ import '../_verture/typeof-ef74f13b.js';
21
+ import '../_verture/tslib.es6-9e8a62ad.js';
22
22
  import '@para-ui/icons/LoadingF';
23
23
  import '@para-ui/icons/Forbid';
24
24
  import '../Tooltip/index.js';
25
25
  import 'rc-tooltip';
26
26
  import 'rc-tooltip/lib/placements';
27
- import '../_verture/index-ac4eaa20.js';
27
+ import '../_verture/index-59046762.js';
28
28
  import 'rc-dropdown';
29
- import '../_verture/usePopupContainer-ba629e65.js';
29
+ import '../_verture/usePopupContainer-6fa1cc58.js';
30
30
  import 'dayjs';
31
31
  import '@paraview/lib';
32
32
  import '@para-ui/core/GlobalContext';
@@ -39,8 +39,8 @@ import '@para-ui/icons/PreviewOpen';
39
39
  import '@para-ui/icons/CloseCircle';
40
40
  import '../Loading/index.js';
41
41
  import '../HelperText/index.js';
42
- import '../_verture/useGlobalProps-7a96e89d.js';
43
- import '../_verture/defineProperty-007b4d11.js';
42
+ import '../_verture/useGlobalProps-c2be96c7.js';
43
+ import '../_verture/defineProperty-d7016ad3.js';
44
44
 
45
45
  var en = {
46
46
  left: 'Left',
package/Tree/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import { T as Tree } from '../_verture/closestPolyfill-313f3447.js';
2
- export { T as default } from '../_verture/closestPolyfill-313f3447.js';
3
- import '../_verture/toConsumableArray-e20b1735.js';
4
- import '../_verture/unsupportedIterableToArray-4dda6653.js';
5
- import '../_verture/defineProperty-007b4d11.js';
6
- import '../_verture/typeof-040e44c6.js';
7
- import '../_verture/slicedToArray-22a73a75.js';
8
- import '../_verture/index-d2c262a3.js';
9
- import '../_verture/tslib.es6-cb23b48d.js';
1
+ import { T as Tree } from '../_verture/closestPolyfill-0ea0e7a5.js';
2
+ export { T as default } from '../_verture/closestPolyfill-0ea0e7a5.js';
3
+ import '../_verture/toConsumableArray-037466a3.js';
4
+ import '../_verture/unsupportedIterableToArray-6655197b.js';
5
+ import '../_verture/defineProperty-d7016ad3.js';
6
+ import '../_verture/typeof-ef74f13b.js';
7
+ import '../_verture/slicedToArray-e838a33c.js';
8
+ import '../_verture/index-67a00291.js';
9
+ import '../_verture/tslib.es6-9e8a62ad.js';
10
10
  import 'react/jsx-runtime';
11
11
  import 'react';
12
12
  import 'rc-tree';
@@ -20,7 +20,7 @@ import '../Help/index.js';
20
20
  import '../Tooltip/index.js';
21
21
  import 'rc-tooltip';
22
22
  import 'rc-tooltip/lib/placements';
23
- import '../_verture/constant-a33be099.js';
23
+ import '../_verture/constant-d26faf32.js';
24
24
  import '@para-ui/icons/Help';
25
25
  import 'react-dom';
26
26
  import '@para-ui/icons/EditFile';
@@ -28,10 +28,10 @@ import '@para-ui/icons/PlusCircle';
28
28
  import '@para-ui/icons/Delete';
29
29
  import '@para-ui/icons/Forbid';
30
30
  import '@paraview/lib';
31
- import '../_verture/useFormatMessage-8b5da2a2.js';
31
+ import '../_verture/useFormatMessage-8394ec71.js';
32
32
  import '@para-ui/core/GlobalContext';
33
33
  import '@para-ui/icons/MoreCircle';
34
34
  import '../Empty/index.js';
35
- import '../_verture/useGlobalProps-7a96e89d.js';
35
+ import '../_verture/useGlobalProps-c2be96c7.js';
36
36
  import '../Loading/index.js';
37
37
  import '../AutoTips/index.js';
package/Upload/index.js CHANGED
@@ -1,42 +1,42 @@
1
- import { _ as _defineProperty } from '../_verture/defineProperty-007b4d11.js';
2
- import { _ as _toConsumableArray } from '../_verture/toConsumableArray-e20b1735.js';
3
- import { _ as _slicedToArray } from '../_verture/slicedToArray-22a73a75.js';
4
- import { a as __awaiter, _ as __rest } from '../_verture/tslib.es6-cb23b48d.js';
1
+ import { _ as _defineProperty } from '../_verture/defineProperty-d7016ad3.js';
2
+ import { _ as _toConsumableArray } from '../_verture/toConsumableArray-037466a3.js';
3
+ import { _ as _slicedToArray } from '../_verture/slicedToArray-e838a33c.js';
4
+ import { a as __awaiter, _ as __rest } from '../_verture/tslib.es6-9e8a62ad.js';
5
5
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
6
6
  import { useState, useEffect, useRef, memo, forwardRef, useCallback, useImperativeHandle, useMemo } from 'react';
7
7
  import RcUpload from 'rc-upload';
8
8
  import UploadIcon from '@para-ui/icons/UploadFile';
9
9
  import LoadingIcon from '@para-ui/icons/Loading';
10
- import { _ as _typeof } from '../_verture/typeof-040e44c6.js';
11
- import { r as regenerator } from '../_verture/index-d2c262a3.js';
10
+ import { _ as _typeof } from '../_verture/typeof-ef74f13b.js';
11
+ import { r as regenerator } from '../_verture/index-67a00291.js';
12
12
  import Delete from '@para-ui/icons/Delete';
13
13
  import TextIcon from '@para-ui/icons/Text';
14
14
  import PhotoIcon from '@para-ui/icons/Photo';
15
15
  import clsx from 'clsx';
16
- import { $ as $prefixCls, a as $rcPrefixCls } from '../_verture/constant-a33be099.js';
16
+ import { $ as $prefixCls, a as $rcPrefixCls } from '../_verture/constant-d26faf32.js';
17
17
  import Forbid from '@para-ui/icons/Forbid';
18
18
  import { Button } from '../Button/index.js';
19
- import { u as useFormatMessage } from '../_verture/useFormatMessage-8b5da2a2.js';
19
+ import { u as useFormatMessage } from '../_verture/useFormatMessage-8394ec71.js';
20
20
  import EditOutline from '@para-ui/icons/EditOutline';
21
21
  import CloseIcon from '@para-ui/icons/Close';
22
+ import { Tooltip } from '../Tooltip/index.js';
22
23
  import { Slider } from '../Slider/index.js';
23
24
  import Cropper from 'react-easy-crop';
24
25
  import { Modal } from '../Modal/index.js';
25
- import '../_verture/unsupportedIterableToArray-4dda6653.js';
26
+ import '../_verture/unsupportedIterableToArray-6655197b.js';
26
27
  import '@para-ui/icons/LoadingF';
27
- import '../Tooltip/index.js';
28
- import 'rc-tooltip';
29
- import 'rc-tooltip/lib/placements';
30
28
  import '@para-ui/icons/Down';
31
- import '../_verture/index-ac4eaa20.js';
29
+ import '../_verture/index-59046762.js';
32
30
  import 'rc-dropdown';
33
- import '../_verture/usePopupContainer-ba629e65.js';
31
+ import '../_verture/usePopupContainer-6fa1cc58.js';
34
32
  import 'dayjs';
35
33
  import '@paraview/lib';
34
+ import 'rc-tooltip';
35
+ import 'rc-tooltip/lib/placements';
36
36
  import '@para-ui/core/GlobalContext';
37
37
  import 'rc-slider';
38
38
  import 'rc-dialog';
39
- import '../_verture/index-bb57454c.js';
39
+ import '../_verture/index-eefd3ff1.js';
40
40
  import 'react-dom';
41
41
  import '../AutoTips/index.js';
42
42
  import '@para-ui/icons/CheckCircleF';
@@ -299,7 +299,8 @@ var ImageUpload = function ImageUpload(props) {
299
299
  defaultImage = props.defaultImage,
300
300
  readonly = props.readonly,
301
301
  avatarProps = props.avatarProps,
302
- restProps = __rest(props, ["className", "style", "onStart", "onSuccess", "onError", "onProgress", "onRemove", "beforeUpload", "onChange", "defaultFileList", "fileList", "showUploadList", "maxCount", "children", "itemRender", "showUploadError", "stash", "uploading", "loading", "showLoading", "defaultImage", "readonly", "avatarProps"]);
302
+ disabledTooltip = props.disabledTooltip,
303
+ restProps = __rest(props, ["className", "style", "onStart", "onSuccess", "onError", "onProgress", "onRemove", "beforeUpload", "onChange", "defaultFileList", "fileList", "showUploadList", "maxCount", "children", "itemRender", "showUploadError", "stash", "uploading", "loading", "showLoading", "defaultImage", "readonly", "avatarProps", "disabledTooltip"]);
303
304
  var intl = useFormatMessage('Upload', localeJson);
304
305
  var _useState = useState(defaultFileList),
305
306
  _useState2 = _slicedToArray(_useState, 2),
@@ -611,27 +612,25 @@ var ImageUpload = function ImageUpload(props) {
611
612
  var borderRadiusStyle = borderRadius ? {
612
613
  borderRadius: borderRadius
613
614
  } : {};
614
- if (!showUploadList && avatar.imageUrl && !showLoading) {
615
- return jsxs("div", Object.assign({
616
- className: 'upload-img-wrapper',
615
+ var avatarUploadNode = jsxs("div", Object.assign({
616
+ className: 'upload-img-wrapper',
617
+ style: borderRadiusStyle
618
+ }, {
619
+ children: [jsx("img", {
620
+ src: avatar.imageUrl,
621
+ alt: (_a = avatar.imageName) !== null && _a !== void 0 ? _a : '',
617
622
  style: borderRadiusStyle
623
+ }), avatar.imageName && showPicName && jsx("span", Object.assign({
624
+ className: 'upload-img-wrapper-name'
618
625
  }, {
619
- children: [jsx("img", {
620
- src: avatar.imageUrl,
621
- alt: (_a = avatar.imageName) !== null && _a !== void 0 ? _a : '',
622
- style: borderRadiusStyle
623
- }), avatar.imageName && showPicName && jsx("span", Object.assign({
624
- className: "upload-img-wrapper-name"
625
- }, {
626
- children: avatar.imageName
627
- })), jsx("span", Object.assign({
628
- className: 'upload-img-wrapper-action'
629
- }, {
630
- children: jsx(EditOutline, {})
631
- }))]
632
- }));
633
- }
634
- return jsxs(Fragment, {
626
+ children: avatar.imageName
627
+ })), jsx("span", Object.assign({
628
+ className: 'upload-img-wrapper-action'
629
+ }, {
630
+ children: jsx(EditOutline, {})
631
+ }))]
632
+ }));
633
+ var uploadNode = jsxs(Fragment, {
635
634
  children: [showLoading ? jsx(LoadingIcon, {
636
635
  className: 'upload-image-loading'
637
636
  }) : jsx(UploadIcon, {
@@ -644,11 +643,28 @@ var ImageUpload = function ImageUpload(props) {
644
643
  }) : children
645
644
  }))]
646
645
  });
646
+ if (restProps.disabled && disabledTooltip && (disabledTooltip === null || disabledTooltip === void 0 ? void 0 : disabledTooltip.title)) return jsx(Tooltip, Object.assign({
647
+ followCursor: true
648
+ }, disabledTooltip || {}, {
649
+ disabled: true
650
+ }, {
651
+ children: jsx("div", Object.assign({
652
+ className: "upload-image-select-tooltip-wrapper"
653
+ }, {
654
+ children: uploadNode
655
+ }))
656
+ }));
657
+ if (!showUploadList && avatar.imageUrl && !showLoading) {
658
+ return avatarUploadNode;
659
+ }
660
+ return jsx(Fragment, {
661
+ children: uploadNode
662
+ });
647
663
  };
648
664
  //渲染上传控件
649
665
  var renderUploadSelector = function renderUploadSelector() {
650
666
  return jsxs("div", Object.assign({
651
- className: clsx(['upload-image-select', showLoading && 'upload-image-select-loading', isAvatar && 'is-avatar']),
667
+ className: clsx(['upload-image-select', restProps.disabled && 'upload-image-select-disabled', showLoading && 'upload-image-select-loading', isAvatar && 'is-avatar']),
652
668
  style: borderRadius ? {
653
669
  borderRadius: borderRadius
654
670
  } : {}
@@ -1222,7 +1238,8 @@ var InternalUpload = function InternalUpload(props) {
1222
1238
  _props$loading = props.loading,
1223
1239
  loading = _props$loading === void 0 ? false : _props$loading,
1224
1240
  dragArea = props.dragArea,
1225
- restProps = __rest(props, ["type", "className", "style", "onStart", "onSuccess", "onError", "onProgress", "onRemove", "beforeUpload", "onChange", "onDrop", "defaultFileList", "fileList", "showUploadList", "maxCount", "children", "itemRender", "showUploadError", "size", "stash", "uploading", "showLoading", "loading", "dragArea"]);
1241
+ disabledTooltip = props.disabledTooltip,
1242
+ restProps = __rest(props, ["type", "className", "style", "onStart", "onSuccess", "onError", "onProgress", "onRemove", "beforeUpload", "onChange", "onDrop", "defaultFileList", "fileList", "showUploadList", "maxCount", "children", "itemRender", "showUploadError", "size", "stash", "uploading", "showLoading", "loading", "dragArea", "disabledTooltip"]);
1226
1243
  var intl = useFormatMessage('Upload', localeJson);
1227
1244
  var _useState = useState(defaultFileList),
1228
1245
  _useState2 = _slicedToArray(_useState, 2),
@@ -1415,6 +1432,9 @@ var InternalUpload = function InternalUpload(props) {
1415
1432
  variant: 'outlined',
1416
1433
  size: size,
1417
1434
  startIcon: icon,
1435
+ toolTipTitle: (disabledTooltip === null || disabledTooltip === void 0 ? void 0 : disabledTooltip.title) || '',
1436
+ TooltipProps: disabledTooltip,
1437
+ disabled: restProps.disabled,
1418
1438
  className: clsx(showLoading && "".concat($prefixCls, "-button-loading"))
1419
1439
  }, {
1420
1440
  children: text
@@ -1,5 +1,6 @@
1
1
  import React, { ReactNode } from "react";
2
2
  import { RcFile as OriRcFile, Action, UploadRequestMethod, UploadRequestHeader, BeforeUploadFileType, UploadRequestOption } from 'rc-upload/lib/interface';
3
+ import { TooltipProps } from "../Tooltip";
3
4
  type UploadType = 'drag' | 'select';
4
5
  export type { BeforeUploadFileType };
5
6
  export interface RcFile extends OriRcFile {
@@ -59,6 +60,8 @@ export interface UploadProps<T = any> {
59
60
  className?: string;
60
61
  /**禁用*/
61
62
  disabled?: boolean;
63
+ /** 禁用提示 */
64
+ disabledTooltip?: TooltipProps;
62
65
  /**控件默认span*/
63
66
  component?: React.JSXElementConstructor<any>;
64
67
  /**上传地址*/
@@ -1,18 +1,18 @@
1
- import { _ as _toConsumableArray } from './toConsumableArray-e20b1735.js';
2
- import { _ as _defineProperty } from './defineProperty-007b4d11.js';
3
- import { _ as _slicedToArray } from './slicedToArray-22a73a75.js';
4
- import { r as regenerator } from './index-d2c262a3.js';
5
- import { _ as __rest, a as __awaiter } from './tslib.es6-cb23b48d.js';
1
+ import { _ as _toConsumableArray } from './toConsumableArray-037466a3.js';
2
+ import { _ as _defineProperty } from './defineProperty-d7016ad3.js';
3
+ import { _ as _slicedToArray } from './slicedToArray-e838a33c.js';
4
+ import { r as regenerator } from './index-67a00291.js';
5
+ import { _ as __rest, a as __awaiter } from './tslib.es6-9e8a62ad.js';
6
6
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
7
7
  import React__default, { isValidElement, cloneElement, useRef, useState, useImperativeHandle, useEffect, useMemo } from 'react';
8
8
  import RcTree from 'rc-tree';
9
9
  import clsx from 'clsx';
10
- import { _ as _typeof } from './typeof-040e44c6.js';
10
+ import { _ as _typeof } from './typeof-ef74f13b.js';
11
11
  import LoadingOutlined from '@para-ui/icons/LoadingF';
12
12
  import FileOutlined from '@para-ui/icons/Document';
13
13
  import SolidArrowDown from '@para-ui/icons/DownTriangleF';
14
14
  import { Radio } from '../Radio/index.js';
15
- import { $ as $prefixCls } from './constant-a33be099.js';
15
+ import { $ as $prefixCls } from './constant-d26faf32.js';
16
16
  import ReactDOM from 'react-dom';
17
17
  import EditOutlinedIcon from '@para-ui/icons/EditFile';
18
18
  import AddOutlinedIcon from '@para-ui/icons/PlusCircle';
@@ -20,7 +20,7 @@ import Delete from '@para-ui/icons/Delete';
20
20
  import Forbid from '@para-ui/icons/Forbid';
21
21
  import { Tooltip } from '../Tooltip/index.js';
22
22
  import { UUID, Request } from '@paraview/lib';
23
- import { u as useFormatMessage } from './useFormatMessage-8b5da2a2.js';
23
+ import { u as useFormatMessage } from './useFormatMessage-8394ec71.js';
24
24
  import MoreOutlinedIcon from '@para-ui/icons/MoreCircle';
25
25
  import Empty from '../Empty/index.js';
26
26
  import { Loading } from '../Loading/index.js';
@@ -1,18 +1,18 @@
1
- import { _ as _toConsumableArray } from './toConsumableArray-f1db7872.js';
2
- import { _ as _defineProperty } from './defineProperty-95d6d645.js';
3
- import { _ as _slicedToArray } from './slicedToArray-961803cc.js';
4
- import { r as regenerator } from './index-7b934b9c.js';
5
- import { _ as __rest, a as __awaiter } from './tslib.es6-95621291.js';
1
+ import { _ as _toConsumableArray } from './toConsumableArray-2f4549d3.js';
2
+ import { _ as _defineProperty } from './defineProperty-a3595bb4.js';
3
+ import { _ as _slicedToArray } from './slicedToArray-cf682b7d.js';
4
+ import { r as regenerator } from './index-fe55d90e.js';
5
+ import { _ as __rest, a as __awaiter } from './tslib.es6-44149323.js';
6
6
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
7
7
  import React__default, { isValidElement, cloneElement, useRef, useState, useImperativeHandle, useEffect, useMemo } from 'react';
8
8
  import RcTree from 'rc-tree';
9
9
  import clsx from 'clsx';
10
- import { _ as _typeof } from './typeof-9fc6da0b.js';
10
+ import { _ as _typeof } from './typeof-c4ef74bc.js';
11
11
  import LoadingOutlined from '@para-ui/icons/LoadingF';
12
12
  import FileOutlined from '@para-ui/icons/Document';
13
13
  import SolidArrowDown from '@para-ui/icons/DownTriangleF';
14
14
  import { Radio } from '../Radio/index.js';
15
- import { $ as $prefixCls } from './constant-64a81e13.js';
15
+ import { $ as $prefixCls } from './constant-ce36e642.js';
16
16
  import ReactDOM from 'react-dom';
17
17
  import EditOutlinedIcon from '@para-ui/icons/EditFile';
18
18
  import AddOutlinedIcon from '@para-ui/icons/PlusCircle';
@@ -20,7 +20,7 @@ import Delete from '@para-ui/icons/Delete';
20
20
  import Forbid from '@para-ui/icons/Forbid';
21
21
  import { Tooltip } from '../Tooltip/index.js';
22
22
  import { UUID, Request } from '@paraview/lib';
23
- import { u as useFormatMessage } from './useFormatMessage-1c5880cc.js';
23
+ import { u as useFormatMessage } from './useFormatMessage-e3507273.js';
24
24
  import MoreOutlinedIcon from '@para-ui/icons/MoreCircle';
25
25
  import Empty from '../Empty/index.js';
26
26
  import { Loading } from '../Loading/index.js';
@@ -1,4 +1,4 @@
1
- import { _ as _typeof } from './typeof-040e44c6.js';
1
+ import { _ as _typeof } from './typeof-c4ef74bc.js';
2
2
 
3
3
  function _toPrimitive(input, hint) {
4
4
  if (_typeof(input) !== "object" || input === null) return input;
@@ -1,4 +1,4 @@
1
- import { _ as _typeof } from './typeof-9fc6da0b.js';
1
+ import { _ as _typeof } from './typeof-ef74f13b.js';
2
2
 
3
3
  function _toPrimitive(input, hint) {
4
4
  if (_typeof(input) !== "object" || input === null) return input;
@@ -1,23 +1,23 @@
1
1
  import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import React__default from 'react';
3
- import { _ as _slicedToArray } from './slicedToArray-22a73a75.js';
3
+ import { _ as _slicedToArray } from './slicedToArray-e838a33c.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-040e44c6.js';
8
+ import { _ as _typeof } from './typeof-ef74f13b.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-8b5da2a2.js';
14
+ import { u as useFormatMessage } from './useFormatMessage-8394ec71.js';
15
15
  import { InputNumber } from '../InputNumber/index.js';
16
16
  import { ComboSelect } from '../ComboSelect/index.js';
17
17
  import HelperText from '../HelperText/index.js';
18
18
  import clsx from 'clsx';
19
19
  import Label from '../Label/index.js';
20
- import { $ as $prefixCls } from './constant-a33be099.js';
20
+ import { $ as $prefixCls } from './constant-d26faf32.js';
21
21
 
22
22
  var FormRadioGroup = function FormRadioGroup(props) {
23
23
  var defaultValue = props.defaultValue,
@@ -1,8 +1,8 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import React__default from 'react';
3
3
  import RcDropdown from 'rc-dropdown';
4
- import { a as $rcPrefixCls, $ as $prefixCls } from './constant-a33be099.js';
5
- import { g as getNearestOverflowAncestor, u as usePopupContainer } from './usePopupContainer-ba629e65.js';
4
+ import { a as $rcPrefixCls, $ as $prefixCls } from './constant-ce36e642.js';
5
+ import { g as getNearestOverflowAncestor, u as usePopupContainer } from './usePopupContainer-dde75227.js';
6
6
  import clsx from 'clsx';
7
7
  import dayjs from 'dayjs';
8
8
  import { UUID } from '@paraview/lib';
@@ -1,8 +1,8 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import React__default from 'react';
3
3
  import RcDropdown from 'rc-dropdown';
4
- import { a as $rcPrefixCls, $ as $prefixCls } from './constant-64a81e13.js';
5
- import { g as getNearestOverflowAncestor, u as usePopupContainer } from './usePopupContainer-9c266e60.js';
4
+ import { a as $rcPrefixCls, $ as $prefixCls } from './constant-d26faf32.js';
5
+ import { g as getNearestOverflowAncestor, u as usePopupContainer } from './usePopupContainer-6fa1cc58.js';
6
6
  import clsx from 'clsx';
7
7
  import dayjs from 'dayjs';
8
8
  import { UUID } from '@paraview/lib';
@@ -1,23 +1,23 @@
1
1
  import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import React__default from 'react';
3
- import { _ as _slicedToArray } from './slicedToArray-961803cc.js';
3
+ import { _ as _slicedToArray } from './slicedToArray-cf682b7d.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-9fc6da0b.js';
8
+ import { _ as _typeof } from './typeof-c4ef74bc.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-1c5880cc.js';
14
+ import { u as useFormatMessage } from './useFormatMessage-e3507273.js';
15
15
  import { InputNumber } from '../InputNumber/index.js';
16
16
  import { ComboSelect } from '../ComboSelect/index.js';
17
17
  import HelperText from '../HelperText/index.js';
18
18
  import clsx from 'clsx';
19
19
  import Label from '../Label/index.js';
20
- import { $ as $prefixCls } from './constant-64a81e13.js';
20
+ import { $ as $prefixCls } from './constant-ce36e642.js';
21
21
 
22
22
  var FormRadioGroup = function FormRadioGroup(props) {
23
23
  var defaultValue = props.defaultValue,