@para-ui/core 4.0.0-rc → 4.0.0-rc.2

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 (266) hide show
  1. package/AutoBox/index.d.ts +1 -1
  2. package/AutoBox/index.js +12 -12
  3. package/AutoTips/autoTipsMultiline/index.d.ts +1 -1
  4. package/AutoTips/index.d.ts +2 -2
  5. package/AutoTips/index.js +15 -21
  6. package/Badge/index.d.ts +23 -0
  7. package/Badge/index.js +54 -0
  8. package/Breadcrumbs/index.js +8 -8
  9. package/Button/SplitButton.d.ts +1 -1
  10. package/Button/index.d.ts +1 -1
  11. package/Button/index.js +8 -38
  12. package/Carousel/index.d.ts +6 -6
  13. package/Carousel/index.js +5 -5
  14. package/Cascader/Cascader.d.ts +10 -10
  15. package/Cascader/OptionList/Column.d.ts +3 -3
  16. package/Cascader/OptionList/index.d.ts +2 -2
  17. package/Cascader/index.d.ts +1 -1
  18. package/Cascader/index.js +4 -2
  19. package/Cascader/lang/en_US.d.ts +5 -0
  20. package/Cascader/lang/index.d.ts +11 -0
  21. package/Cascader/lang/zh_CN.d.ts +5 -0
  22. package/Cascader/utils/treeUtil.d.ts +1 -1
  23. package/Checkbox/index.d.ts +1 -1
  24. package/Checkbox/index.js +5 -5
  25. package/CheckboxGroup/index.d.ts +2 -2
  26. package/CheckboxGroup/index.js +4 -4
  27. package/Collapse/index.js +5 -5
  28. package/CollapseBox/index.js +12 -20
  29. package/CollapseLayout/index.js +21 -21
  30. package/ColorPicker/index.js +2 -2
  31. package/ComboSelect/index.js +43 -52
  32. package/ComboSelect/interface.d.ts +3 -3
  33. package/Container/index.d.ts +3 -3
  34. package/Container/index.js +56 -56
  35. package/CopyText/index.d.ts +2 -2
  36. package/CopyText/index.js +3 -3
  37. package/DatePicker/generatePicker/index.d.ts +22 -22
  38. package/DatePicker/index.js +10 -9
  39. package/DatePicker/util.d.ts +1 -1
  40. package/Descriptions/index.d.ts +38 -0
  41. package/Descriptions/index.js +23 -0
  42. package/Desktop/index.d.ts +1 -1
  43. package/Desktop/index.js +18 -13
  44. package/DragVerify/index.d.ts +1 -1
  45. package/DragVerify/index.js +13 -13
  46. package/Drawer/index.js +40 -38
  47. package/Drawer/interface.d.ts +4 -6
  48. package/Dropdown/index.d.ts +1 -1
  49. package/DynamicMultiBox/formItem.d.ts +1 -1
  50. package/DynamicMultiBox/index.d.ts +1 -1
  51. package/DynamicMultiBox/index.js +38 -35
  52. package/DynamicMultiBox/interface.d.ts +8 -8
  53. package/DynamicMultiBox/rowForm.d.ts +3 -1
  54. package/Empty/index.d.ts +1 -1
  55. package/Empty/index.js +3 -3
  56. package/Form/index.d.ts +12 -13
  57. package/Form/index.js +10 -8
  58. package/FormItem/compoments/defaultCompoments/index.d.ts +4 -4
  59. package/FormItem/compoments/formCheckboxGroup/index.d.ts +1 -1
  60. package/FormItem/compoments/formFile/index.d.ts +2 -2
  61. package/FormItem/compoments/formRadioGroup/index.d.ts +1 -1
  62. package/FormItem/compoments/formSelect/index.d.ts +7 -7
  63. package/FormItem/errorTips.d.ts +3 -3
  64. package/FormItem/index.d.ts +5 -5
  65. package/FormItem/index.js +3 -2
  66. package/FormItem/lang/en_US.d.ts +10 -0
  67. package/FormItem/lang/index.d.ts +21 -0
  68. package/FormItem/lang/zh_CN.d.ts +10 -0
  69. package/FormItem/validateFunction.d.ts +1 -1
  70. package/FunctionModal/dialog.d.ts +26 -26
  71. package/FunctionModal/index.d.ts +6 -6
  72. package/FunctionModal/index.js +9 -10
  73. package/FunctionModal/modalContext.d.ts +3 -3
  74. package/GlobalContext/componentsProps.d.ts +7 -7
  75. package/GlobalContext/confirmLocale.d.ts +1 -2
  76. package/GlobalContext/index.d.ts +2 -2
  77. package/GlobalContext/index.js +3 -2
  78. package/GlobalContext/useFormatMessage.d.ts +1 -1
  79. package/Help/index.js +2 -2
  80. package/HelperText/index.js +1 -1
  81. package/InputLang/index.d.ts +2 -2
  82. package/InputLang/index.js +8 -8
  83. package/InputNumber/index.d.ts +4 -2
  84. package/InputNumber/index.js +27 -15
  85. package/Label/index.js +2 -2
  86. package/Loading/index.js +1 -1
  87. package/Menu/index.js +17 -17
  88. package/Menu/interface.d.ts +1 -1
  89. package/Message/index.js +13 -13
  90. package/Modal/Confirm/index.d.ts +3 -3
  91. package/Modal/index.d.ts +1 -1
  92. package/Modal/index.js +20 -17
  93. package/Modal/lang/index.d.ts +8 -0
  94. package/MultiBox/index.d.ts +2 -2
  95. package/MultiBox/index.js +4 -4
  96. package/Notification/index.js +2 -2
  97. package/OperateBtn/index.d.ts +2 -2
  98. package/OperateBtn/index.js +49 -49
  99. package/PageHeader/index.js +45 -34
  100. package/PageHeader/interface.d.ts +1 -1
  101. package/Pagination/index.d.ts +1 -1
  102. package/Pagination/index.js +19 -19
  103. package/PasswordRules/index.js +8 -8
  104. package/PopConfirm/index.js +8 -7
  105. package/Progress/Line.d.ts +10 -10
  106. package/Progress/Steps.d.ts +2 -2
  107. package/Progress/index.d.ts +12 -12
  108. package/Progress/index.js +43 -42
  109. package/Progress/utils.d.ts +4 -4
  110. package/Querying/index.d.ts +1 -1
  111. package/Querying/index.js +3 -3
  112. package/README.md +7 -0
  113. package/Radio/index.d.ts +1 -1
  114. package/Radio/index.js +5 -5
  115. package/RadioGroup/index.d.ts +2 -2
  116. package/RadioGroup/index.js +4 -4
  117. package/Search/index.js +1 -1
  118. package/Select/index.d.ts +3 -3
  119. package/Select/index.js +43 -43
  120. package/SelectInput/index.js +2 -2
  121. package/Selector/index.js +26 -34
  122. package/Selector/interface.d.ts +6 -6
  123. package/SelectorPicker/index.d.ts +4 -4
  124. package/SelectorPicker/index.js +10 -10
  125. package/SingleBox/index.d.ts +2 -2
  126. package/SingleBox/index.js +4 -4
  127. package/Slider/index.js +1 -1
  128. package/Slider/interface.d.ts +1 -1
  129. package/Status/index.d.ts +4 -4
  130. package/Status/index.js +6 -7
  131. package/Stepper/index.d.ts +5 -5
  132. package/Stepper/index.js +23 -23
  133. package/Styles/theme.scss +1 -0
  134. package/Switch/index.d.ts +7 -7
  135. package/Switch/index.js +38 -21
  136. package/Switch/lang/en_US.d.ts +4 -0
  137. package/Switch/lang/index.d.ts +9 -0
  138. package/Switch/lang/zh_CN.d.ts +4 -0
  139. package/Table/index.js +35 -35
  140. package/Table/interface.d.ts +4 -4
  141. package/Table/tableBodyElement/index.d.ts +1 -1
  142. package/Table/tableBodyInterface.d.ts +2 -2
  143. package/Table/tableContainer/index.d.ts +1 -1
  144. package/Table/tableElement/index.d.ts +1 -1
  145. package/Table/tableHeadElement/index.d.ts +1 -1
  146. package/Table/tableHeadInterface.d.ts +1 -1
  147. package/Table/tablePaginationInterface.d.ts +6 -6
  148. package/Table/tdElement/index.d.ts +1 -1
  149. package/Table/thElement/index.d.ts +2 -2
  150. package/Table/trElement/index.d.ts +1 -1
  151. package/Table/util.d.ts +1 -1
  152. package/Tabs/index.d.ts +1 -1
  153. package/Tabs/index.js +27 -19
  154. package/Tag/TagGroup.d.ts +5 -5
  155. package/Tag/index.d.ts +7 -7
  156. package/Tag/index.js +25 -25
  157. package/TextEditor/index.d.ts +2 -2
  158. package/TextEditor/index.js +45 -27
  159. package/TextEditor/lang/en_US.d.ts +4 -0
  160. package/TextEditor/lang/index.d.ts +9 -0
  161. package/TextEditor/lang/zh_CN.d.ts +4 -0
  162. package/TextField/index.d.ts +1 -1
  163. package/TextField/index.js +19 -16
  164. package/TimePicker/index.d.ts +1 -1
  165. package/TimePicker/index.js +2 -2
  166. package/Timeline/TimelineItem.d.ts +1 -1
  167. package/Timeline/index.d.ts +5 -5
  168. package/Timeline/index.js +14 -14
  169. package/Title/index.d.ts +4 -4
  170. package/Title/index.js +3 -3
  171. package/ToggleButton/ToggleButtonGroup.d.ts +1 -1
  172. package/ToggleButton/index.d.ts +5 -1
  173. package/ToggleButton/index.js +18 -11
  174. package/Transfer/box.d.ts +6 -6
  175. package/Transfer/index.js +22 -25
  176. package/Tree/OperateBar/index.d.ts +4 -4
  177. package/Tree/Tree.d.ts +2 -2
  178. package/Tree/index.js +2 -2
  179. package/Tree/interface.d.ts +4 -4
  180. package/Tree/utils/tools.d.ts +1 -1
  181. package/Upload/Dragger/index.d.ts +2 -2
  182. package/Upload/ErroTip/index.d.ts +1 -1
  183. package/Upload/index.d.ts +2 -2
  184. package/Upload/index.js +10 -11
  185. package/Upload/interface.d.ts +1 -1
  186. package/_verture/{index-8469865e.js → index-024bbc9b.js} +3 -3
  187. package/_verture/{index-19947788.js → index-05f7bf11.js} +3 -1
  188. package/_verture/{index-e1b800aa.js → index-50f56891.js} +49 -25
  189. package/_verture/{index-1c8d3e94.js → index-649b450f.js} +102 -48
  190. package/_verture/{index-47297a40.js → index-692e29c1.js} +53 -46
  191. package/_verture/{modalContext-670eab09.js → modalContext-11c51a45.js} +25 -25
  192. package/index.d.ts +4 -0
  193. package/index.js +14 -11
  194. package/locale/en-US.d.ts +19 -0
  195. package/locale/index.d.ts +38 -0
  196. package/locale/index.js +40 -2
  197. package/locale/zh-CN.d.ts +19 -0
  198. package/package.json +4 -2
  199. package/umd/AutoBox.js +1 -1
  200. package/umd/AutoTips.js +1 -1
  201. package/umd/Badge.js +1 -0
  202. package/umd/Breadcrumbs.js +1 -1
  203. package/umd/Button.js +2 -2
  204. package/umd/ButtonGroup.js +2 -2
  205. package/umd/Cascader.js +4 -4
  206. package/umd/Checkbox.js +2 -2
  207. package/umd/CheckboxGroup.js +2 -2
  208. package/umd/Collapse.js +5 -5
  209. package/umd/CollapseBox.js +1 -1
  210. package/umd/CollapseLayout.js +4 -4
  211. package/umd/ColorPicker.js +1 -1
  212. package/umd/ComboSelect.js +4 -4
  213. package/umd/CopyText.js +2 -2
  214. package/umd/DatePicker.js +2 -2
  215. package/umd/Descriptions.js +1 -0
  216. package/umd/Desktop.js +2 -2
  217. package/umd/DragVerify.js +4 -4
  218. package/umd/Drawer.js +2 -2
  219. package/umd/DynamicMultiBox.js +4 -4
  220. package/umd/Empty.js +1 -1
  221. package/umd/Form.js +4 -4
  222. package/umd/FormItem.js +4 -4
  223. package/umd/FunctionModal.js +4 -4
  224. package/umd/GlobalContext.js +1 -1
  225. package/umd/Help.js +2 -2
  226. package/umd/HelperText.js +1 -1
  227. package/umd/InputLang.js +2 -2
  228. package/umd/InputNumber.js +4 -4
  229. package/umd/Label.js +2 -2
  230. package/umd/Loading.js +1 -1
  231. package/umd/Menu.js +3 -3
  232. package/umd/Message.js +2 -2
  233. package/umd/Modal.js +4 -4
  234. package/umd/MultiBox.js +7 -7
  235. package/umd/Notification.js +2 -2
  236. package/umd/OperateBtn.js +4 -4
  237. package/umd/PageHeader.js +4 -4
  238. package/umd/Pagination.js +2 -2
  239. package/umd/PasswordRules.js +4 -4
  240. package/umd/PopConfirm.js +2 -2
  241. package/umd/Progress.js +3 -3
  242. package/umd/Querying.js +1 -1
  243. package/umd/Radio.js +2 -2
  244. package/umd/RadioGroup.js +2 -2
  245. package/umd/Search.js +7 -7
  246. package/umd/Select.js +2 -2
  247. package/umd/SelectInput.js +2 -2
  248. package/umd/Selector.js +2 -2
  249. package/umd/SelectorPicker.js +2 -2
  250. package/umd/SingleBox.js +2 -2
  251. package/umd/Slider.js +1 -1
  252. package/umd/Status.js +2 -2
  253. package/umd/Stepper.js +1 -1
  254. package/umd/Switch.js +5 -5
  255. package/umd/Table.js +6 -6
  256. package/umd/Tabs.js +6 -6
  257. package/umd/Tag.js +1 -1
  258. package/umd/TextEditor.js +3 -3
  259. package/umd/TextField.js +7 -7
  260. package/umd/TimePicker.js +2 -2
  261. package/umd/Title.js +7 -7
  262. package/umd/ToggleButton.js +4 -4
  263. package/umd/Transfer.js +3 -3
  264. package/umd/Tree.js +2 -2
  265. package/umd/Upload.js +2 -2
  266. package/umd/locale.js +1 -1
@@ -4,7 +4,7 @@
4
4
  * @description 超出自适应盒子
5
5
  */
6
6
  import React, { FunctionComponent, ReactNode } from 'react';
7
- import { TooltipPlacement } from "../Tooltip/interface";
7
+ import { TooltipPlacement } from '../Tooltip/interface';
8
8
  import './index.scss';
9
9
  export interface AutoBoxProps {
10
10
  /** 样式class */
package/AutoBox/index.js CHANGED
@@ -26,7 +26,7 @@ var Protal = function Protal(props) {
26
26
  styleCom = _useState2[0],
27
27
  setStyleCom = _useState2[1];
28
28
  var constData = useRef({
29
- uuid: $prefixCls + '-protal-box-content-' + UUID()
29
+ uuid: "".concat($prefixCls, "-protal-box-content-").concat(UUID())
30
30
  });
31
31
  var domRef = useRef();
32
32
  var contentRef = useRef();
@@ -56,7 +56,7 @@ var Protal = function Protal(props) {
56
56
  /** 全局监听点击事件 */
57
57
  var clickFunc = function clickFunc(e) {
58
58
  if (!constData.current) return;
59
- var bol = closest(e.target, '.' + constData.current.uuid); // 是否存在下拉当中
59
+ var bol = closest(e.target, ".".concat(constData.current.uuid)); // 是否存在下拉当中
60
60
  if (!bol) onClose && onClose();
61
61
  };
62
62
  /** 处理内容的定位样式 */
@@ -83,8 +83,8 @@ var Protal = function Protal(props) {
83
83
  };
84
84
  /** 处理className */
85
85
  var handClass = function handClass() {
86
- var str = $prefixCls + '-protal-box';
87
- if (className) str += ' ' + className;
86
+ var str = "".concat($prefixCls, "-protal-box");
87
+ if (className) str += " ".concat(className);
88
88
  return str;
89
89
  };
90
90
  var handContent = function handContent() {
@@ -95,7 +95,7 @@ var Protal = function Protal(props) {
95
95
  children: [jsx("div", {
96
96
  className: "protal-mask"
97
97
  }), jsx("div", Object.assign({
98
- className: 'protal-content ' + constData.current.uuid,
98
+ className: "protal-content ".concat(constData.current.uuid),
99
99
  style: styleCom,
100
100
  ref: contentRef
101
101
  }, {
@@ -150,16 +150,16 @@ var AutoBox = function AutoBox(props) {
150
150
  useEffect(function () {
151
151
  if (props.showNum !== undefined) return;
152
152
  changeSize();
153
- window.addEventListener("resize", changeSize);
153
+ window.addEventListener('resize', changeSize);
154
154
  return function () {
155
- window.removeEventListener("resize", changeSize);
155
+ window.removeEventListener('resize', changeSize);
156
156
  clearTimeout(timer.timer);
157
157
  };
158
158
  }, [list]);
159
159
  useEffect(function () {
160
160
  if (showNum !== undefined) {
161
161
  setMorePos(showNum);
162
- window.removeEventListener("resize", changeSize);
162
+ window.removeEventListener('resize', changeSize);
163
163
  }
164
164
  }, [showNum]);
165
165
  useEffect(function () {
@@ -209,14 +209,14 @@ var AutoBox = function AutoBox(props) {
209
209
  };
210
210
  // 处理class
211
211
  var handClass = function handClass() {
212
- var str = $prefixCls + '-auto-box';
213
- if (className) str += ' ' + className;
212
+ var str = "".concat($prefixCls, "-auto-box");
213
+ if (className) str += " ".concat(className);
214
214
  return str;
215
215
  };
216
216
  // 处理handClassPopover
217
217
  var handClassPopover = function handClassPopover() {
218
- var str = $prefixCls + '-auto-box-popover';
219
- if (popoverClassName) str += ' ' + popoverClassName;
218
+ var str = "".concat($prefixCls, "-auto-box-popover");
219
+ if (popoverClassName) str += " ".concat(popoverClassName);
220
220
  return str;
221
221
  };
222
222
  // 处理更多内容
@@ -4,7 +4,7 @@
4
4
  * @description 超出多行显示
5
5
  */
6
6
  import { FunctionComponent } from 'react';
7
- import { AutoTipsProps } from "../index";
7
+ import { AutoTipsProps } from '../index';
8
8
  import './index.scss';
9
9
  export interface AutoTipsMultilineProps extends Omit<AutoTipsProps, 'children'> {
10
10
  /** 内容 */
@@ -4,7 +4,7 @@
4
4
  * @description 超出...
5
5
  */
6
6
  import React, { FunctionComponent, ReactNode } from 'react';
7
- import AutoTipsMultiline from "./autoTipsMultiline";
7
+ import AutoTipsMultiline from './autoTipsMultiline';
8
8
  import './index.scss';
9
9
  export interface AutoTipsProps {
10
10
  /** 样式class */
@@ -18,7 +18,7 @@ export interface AutoTipsProps {
18
18
  /** 显示文字还是元素 */
19
19
  beyondText?: boolean;
20
20
  /** 定位方向 */
21
- placement?: "top-start" | "bottom-end" | "bottom-start" | "bottom" | "left-end" | "left-start" | "left" | "right-end" | "right-start" | "right" | "top-end" | "top" | undefined;
21
+ placement?: 'top-start' | 'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top' | undefined;
22
22
  /** 提示最大宽度 */
23
23
  tipMaxWidth?: number | string;
24
24
  /** interactive */
package/AutoTips/index.js CHANGED
@@ -20,15 +20,15 @@ var AutoTipsMultiline = function AutoTipsMultiline(props) {
20
20
  _props$arrow = props.arrow,
21
21
  arrow = _props$arrow === void 0 ? false : _props$arrow,
22
22
  _props$placement = props.placement,
23
- placement = _props$placement === void 0 ? "bottom-start" : _props$placement,
23
+ placement = _props$placement === void 0 ? 'bottom-start' : _props$placement,
24
24
  _props$tips = props.tips,
25
25
  tips = _props$tips === void 0 ? '' : _props$tips,
26
26
  _props$className = props.className,
27
27
  className = _props$className === void 0 ? '' : _props$className,
28
28
  _props$interactive = props.interactive,
29
- interactive = _props$interactive === void 0 ? true : _props$interactive,
30
- tipMaxWidth = props.tipMaxWidth,
31
- _props$line = props.line,
29
+ interactive = _props$interactive === void 0 ? true : _props$interactive;
30
+ props.tipMaxWidth;
31
+ var _props$line = props.line,
32
32
  line = _props$line === void 0 ? 2 : _props$line,
33
33
  refresh = props.refresh,
34
34
  style = props.style;
@@ -117,20 +117,15 @@ var AutoTipsMultiline = function AutoTipsMultiline(props) {
117
117
  // 判断浏览器是否是safari
118
118
  var isSafari = function isSafari() {
119
119
  var userAgent = navigator.userAgent;
120
- if (userAgent.indexOf("Safari") > -1) {
120
+ if (userAgent.indexOf('Safari') > -1) {
121
121
  return true;
122
122
  }
123
123
  };
124
- // 处理最大宽度
125
- var handMaxWidth = function handMaxWidth() {
126
- if (tipMaxWidth) return tipMaxWidth;
127
- return boxRef && boxRef.current ? boxRef.current.offsetWidth : 0;
128
- };
129
124
  // 处理class
130
125
  var handClass = function handClass() {
131
- var str = $prefixCls + '-auto-tips-multiline';
132
- if (isSafari()) str += ' ' + $prefixCls + '-auto-tips-multiline-safari';
133
- if (className) str += ' ' + className;
126
+ var str = "".concat($prefixCls, "-auto-tips-multiline");
127
+ if (isSafari()) str += " ".concat($prefixCls, "-auto-tips-multiline-safari");
128
+ if (className) str += " ".concat(className);
134
129
  return str;
135
130
  };
136
131
  return jsx("div", Object.assign({
@@ -144,8 +139,7 @@ var AutoTipsMultiline = function AutoTipsMultiline(props) {
144
139
  placement: placement,
145
140
  interactive: interactive,
146
141
  boundariesElement: 'viewport',
147
- overlayClassName: $prefixCls + '-auto-tips-multiline-tooltip',
148
- maxWidth: handMaxWidth()
142
+ overlayClassName: "".concat($prefixCls, "-auto-tips-multiline-tooltip")
149
143
  }, {
150
144
  children: jsxs("div", Object.assign({
151
145
  className: "auto-tips-multiline-content-box"
@@ -176,7 +170,7 @@ var AutoTips = function AutoTips(props) {
176
170
  _props$arrow = props.arrow,
177
171
  arrow = _props$arrow === void 0 ? false : _props$arrow,
178
172
  _props$placement = props.placement,
179
- placement = _props$placement === void 0 ? "bottom-start" : _props$placement,
173
+ placement = _props$placement === void 0 ? 'bottom-start' : _props$placement,
180
174
  _props$tips = props.tips,
181
175
  tips = _props$tips === void 0 ? '' : _props$tips,
182
176
  _props$className = props.className,
@@ -233,15 +227,15 @@ var AutoTips = function AutoTips(props) {
233
227
  // 判断浏览器是否是safari
234
228
  var isSafari = function isSafari() {
235
229
  var userAgent = navigator.userAgent;
236
- if (userAgent.indexOf("Safari") > -1) {
230
+ if (userAgent.indexOf('Safari') > -1) {
237
231
  return true;
238
232
  }
239
233
  };
240
234
  // 处理class
241
235
  var handClass = function handClass() {
242
- var str = $prefixCls + '-auto-tips';
243
- if (isSafari()) str += ' ' + $prefixCls + '-auto-tips-safari';
244
- if (className) str += ' ' + className;
236
+ var str = "".concat($prefixCls, "-auto-tips");
237
+ if (isSafari()) str += " ".concat($prefixCls, "-auto-tips-safari");
238
+ if (className) str += " ".concat(className);
245
239
  return str;
246
240
  };
247
241
  return jsx("div", Object.assign({
@@ -256,7 +250,7 @@ var AutoTips = function AutoTips(props) {
256
250
  placement: placement,
257
251
  interactive: interactive,
258
252
  boundariesElement: 'viewport',
259
- overlayClassName: $prefixCls + '-auto-tips-tooltip',
253
+ overlayClassName: "".concat($prefixCls, "-auto-tips-tooltip"),
260
254
  maxWidth: tipMaxWidth
261
255
  }, {
262
256
  children: jsx("div", Object.assign({
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @author linhd
3
+ * @date 2023/10/23 14:19
4
+ * @description 消息角标
5
+ */
6
+ import React, { FunctionComponent, ReactNode } from 'react';
7
+ import './index.scss';
8
+ export interface BadgeProps {
9
+ /** 样式class */
10
+ className?: string;
11
+ /** style */
12
+ style?: React.CSSProperties;
13
+ /** 内容 */
14
+ children?: ReactNode;
15
+ /** 标记内容, 不传为圆点类型 */
16
+ sign?: ReactNode;
17
+ /** 背景色 */
18
+ backgroundColor?: string;
19
+ /** 文字色 */
20
+ color?: string;
21
+ }
22
+ export declare const Badge: FunctionComponent<BadgeProps>;
23
+ export default Badge;
package/Badge/index.js ADDED
@@ -0,0 +1,54 @@
1
+ import { _ as _typeof } from '../_verture/typeof-adeedc13.js';
2
+ import { jsxs, jsx } from 'react/jsx-runtime';
3
+ import { $ as $prefixCls } from '../_verture/constant-0d9802f7.js';
4
+ import clsx from 'clsx';
5
+ import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
6
+
7
+ var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-badge {\n display: inline-block;\n line-height: 1;\n position: relative;\n}\n.paraui-v4-badge > .pos-box {\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(50%, -50%);\n transform-origin: 100% 0%;\n height: 16px;\n display: inline-block;\n background-color: rgb(244, 66, 66);\n color: rgb(255, 255, 255);\n}\n.paraui-v4-badge > .pos-box.dot {\n border-radius: 50%;\n width: 8px;\n height: 8px;\n}\n.paraui-v4-badge > .pos-box.number, .paraui-v4-badge > .pos-box.text {\n border-radius: 8px;\n font-size: 12px;\n min-width: 16px;\n text-align: center;\n line-height: 16px;\n padding: 0 4px;\n max-width: 60px;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.paraui-v4-badge > .pos-box.number > span, .paraui-v4-badge > .pos-box.text > span {\n transform: scale(0.83);\n display: inline-block;\n}";
8
+ styleInject(css_248z);
9
+
10
+ var Badge = function Badge(props) {
11
+ var className = props.className,
12
+ style = props.style,
13
+ children = props.children,
14
+ sign = props.sign,
15
+ backgroundColor = props.backgroundColor,
16
+ color = props.color;
17
+ // 判断数据类型
18
+ var handleType = function handleType() {
19
+ var type = _typeof(sign);
20
+ if (type === 'undefined') return 'dot';
21
+ if (type === 'number') return 'number';
22
+ return 'text';
23
+ };
24
+ var type = handleType();
25
+ // 标记内容
26
+ var handleSign = function handleSign() {
27
+ return jsxs("span", Object.assign({
28
+ className: "pos-box ".concat(type),
29
+ style: {
30
+ backgroundColor: backgroundColor,
31
+ color: color
32
+ }
33
+ }, {
34
+ children: [type === 'number' && jsx("span", {
35
+ children: handleNumber()
36
+ }), type === 'text' && jsx("span", {
37
+ children: sign
38
+ })]
39
+ }));
40
+ };
41
+ // 处理number
42
+ var handleNumber = function handleNumber() {
43
+ if (Number(sign) > 999) return '999+';
44
+ return sign;
45
+ };
46
+ return jsxs("span", Object.assign({
47
+ className: clsx("".concat($prefixCls, "-badge"), "".concat($prefixCls, "-badge-").concat(type), className),
48
+ style: style
49
+ }, {
50
+ children: [children, handleSign()]
51
+ }));
52
+ };
53
+
54
+ export { Badge, Badge as default };
@@ -82,10 +82,10 @@ var Breadcrumbs = function Breadcrumbs(props) {
82
82
  constData.current.isShrink = isShrink;
83
83
  constData.current.minNum = minNum;
84
84
  useEffect(function () {
85
- window.addEventListener("resize", winResize);
85
+ window.addEventListener('resize', winResize);
86
86
  return function () {
87
87
  clearTimeout(constData.current.timer);
88
- window.removeEventListener("resize", winResize);
88
+ window.removeEventListener('resize', winResize);
89
89
  };
90
90
  }, []);
91
91
  useEffect(function () {
@@ -114,7 +114,7 @@ var Breadcrumbs = function Breadcrumbs(props) {
114
114
  };
115
115
  /** 去除遮罩 */
116
116
  var hideMask = function hideMask() {
117
- boxRef.current.classList.remove($prefixCls + '-breadcrumbs-calculation');
117
+ boxRef.current.classList.remove("".concat($prefixCls, "-breadcrumbs-calculation"));
118
118
  };
119
119
  var changeSize = function changeSize(bol) {
120
120
  if (!constData.current.isShrink) return hideMask();
@@ -133,7 +133,7 @@ var Breadcrumbs = function Breadcrumbs(props) {
133
133
  // 面包屑数组长度必须大于最少显示数
134
134
  if (constData.current.hidePos === props.list.length - constData.current.minNum - 1) return hideMask();
135
135
  // 隐藏到最小显示数,停止
136
- boxRef.current.classList.add($prefixCls + '-breadcrumbs-calculation');
136
+ boxRef.current.classList.add("".concat($prefixCls, "-breadcrumbs-calculation"));
137
137
  constData.current.timer = setTimeout(function () {
138
138
  var boxWidth = boxRef.current.clientWidth;
139
139
  var listWidth = boxRef.current.querySelector('.breadcrumbs-list').clientWidth;
@@ -178,15 +178,15 @@ var Breadcrumbs = function Breadcrumbs(props) {
178
178
  };
179
179
  // 处理弹出框className
180
180
  var popoverHandClass = function popoverHandClass() {
181
- var str = $prefixCls + '-breadcrumbs-popover';
182
- if (popoverClassName) str += ' ' + popoverClassName;
181
+ var str = "".concat($prefixCls, "-breadcrumbs-popover");
182
+ if (popoverClassName) str += " ".concat(popoverClassName);
183
183
  return str;
184
184
  };
185
185
  // 处理className
186
186
  var handClass = function handClass() {
187
- var str = $prefixCls + '-breadcrumbs';
187
+ var str = "".concat($prefixCls, "-breadcrumbs");
188
188
  if (isShrink) str += " ".concat($prefixCls, "-breadcrumbs-shrink");
189
- if (className) str += ' ' + className;
189
+ if (className) str += " ".concat(className);
190
190
  return str;
191
191
  };
192
192
  return jsxs("div", Object.assign({
@@ -7,7 +7,7 @@ import React from 'react';
7
7
  import { ButtonProps } from '../Button';
8
8
  import { Placement } from '../Dropdown';
9
9
  import { AutoTipsProps } from '../AutoTips';
10
- import { TooltipProps } from "../Tooltip";
10
+ import { TooltipProps } from '../Tooltip';
11
11
  import './index.scss';
12
12
  interface Option {
13
13
  /**
package/Button/index.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  */
6
6
  import React, { FunctionComponent } from 'react';
7
7
  import { TooltipProps } from '../Tooltip';
8
- import SplitButton from "./SplitButton";
8
+ import SplitButton from './SplitButton';
9
9
  import './index.scss';
10
10
  export interface ButtonProps extends React.ButtonHTMLAttributes<any> {
11
11
  variant?: 'contained' | 'outlined' | 'text';
package/Button/index.js CHANGED
@@ -5,7 +5,6 @@ import { jsx, jsxs } from 'react/jsx-runtime';
5
5
  import { useRef, useState, useEffect } from 'react';
6
6
  import clsx from 'clsx';
7
7
  import LoadingOutlined from '@para-ui/icons/LoadingF';
8
- import Forbid from '@para-ui/icons/Forbid';
9
8
  import { Tooltip } from '../Tooltip/index.js';
10
9
  import Down from '@para-ui/icons/Down';
11
10
  import { $ as $prefixCls } from '../_verture/constant-0d9802f7.js';
@@ -16,6 +15,7 @@ import AutoTips from '../AutoTips/index.js';
16
15
  import '../_verture/unsupportedIterableToArray-cb478f24.js';
17
16
  import 'rc-tooltip';
18
17
  import 'rc-tooltip/lib/placements';
18
+ import '@para-ui/icons/Forbid';
19
19
  import 'rc-dropdown';
20
20
  import '../_verture/usePopupContainer-87febeb9.js';
21
21
  import 'dayjs';
@@ -35,7 +35,7 @@ var localeJson = {
35
35
  en: en
36
36
  };
37
37
 
38
- var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/21 下午5:16\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n@keyframes buttonLoadingSpin {\n 0% {\n transform: rotate(0);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.paraui-v4-button {\n border: 0;\n cursor: pointer;\n display: inline-flex;\n outline: 0;\n position: relative;\n align-items: center;\n user-select: none;\n vertical-align: middle;\n justify-content: center;\n text-decoration: none;\n background-color: transparent;\n appearance: none;\n -webkit-tap-highlight-color: transparent;\n padding: 0 10px;\n line-height: 1.5715;\n border-radius: 4px;\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 white-space: nowrap;\n color: rgb(255, 255, 255);\n box-sizing: border-box;\n letter-spacing: 0.02857em;\n transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n}\n.paraui-v4-button .button-label {\n width: 100%;\n display: inherit;\n align-items: inherit;\n justify-content: inherit;\n}\n.paraui-v4-button .button-icon {\n display: inherit;\n margin-right: 4px;\n}\n.paraui-v4-button .button-icon svg {\n color: inherit;\n font-weight: 500;\n}\n.paraui-v4-button .button-icon-end {\n margin-right: 0;\n margin-left: 4px;\n}\n.paraui-v4-button .button-icon-loading {\n animation: buttonLoadingSpin 1s infinite linear;\n}\n.paraui-v4-button-loading {\n pointer-events: none;\n}\n.paraui-v4-button-contained {\n color: rgb(255, 255, 255);\n background-color: rgb(46, 101, 230);\n}\n.paraui-v4-button-contained:hover {\n background-color: rgb(87, 131, 235);\n}\n.paraui-v4-button-contained.paraui-v4-button-link-disabled {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-button-contained.paraui-v4-button-link-disabled:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-contained[disabled] {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-button-contained[disabled]:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-contained.paraui-v4-button-dangerous {\n background-color: rgb(244, 66, 66);\n}\n.paraui-v4-button-contained.paraui-v4-button-dangerous:hover {\n background-color: rgb(246, 103, 103);\n}\n.paraui-v4-button-outlined {\n color: rgb(29, 33, 38);\n background-color: rgb(255, 255, 255);\n border: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-button-outlined:hover {\n color: rgb(46, 101, 230);\n border-color: rgb(87, 131, 235);\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-button-outlined.paraui-v4-button-link-disabled {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-button-outlined.paraui-v4-button-link-disabled:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-outlined[disabled] {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-button-outlined[disabled]:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-outlined.paraui-v4-button-dangerous {\n color: rgb(244, 66, 66);\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-button-outlined.paraui-v4-button-dangerous:hover {\n color: rgb(244, 66, 66);\n border-color: rgb(246, 103, 103);\n}\n.paraui-v4-button-text {\n color: rgb(46, 101, 230);\n background-color: transparent;\n border: none;\n}\n.paraui-v4-button-text:hover {\n color: rgb(87, 131, 235);\n background-color: transparent;\n}\n.paraui-v4-button-text.paraui-v4-button-link-disabled {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-button-text.paraui-v4-button-link-disabled:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-text[disabled] {\n color: rgb(29, 33, 38);\n background-color: transparent;\n border: none;\n cursor: not-allowed;\n}\n.paraui-v4-button-text[disabled]:hover {\n background-color: transparent;\n}\n.paraui-v4-button-text.paraui-v4-button-dangerous {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-button-text.paraui-v4-button-dangerous:hover {\n color: rgb(246, 103, 103);\n}\n.paraui-v4-button-large {\n height: 32px;\n}\n.paraui-v4-button-medium {\n height: 28px;\n}\n.paraui-v4-button-small {\n height: 28px;\n}\n.paraui-v4-button--disabled {\n display: inline-block;\n cursor: not-allowed;\n}\n.paraui-v4-button--disabled button {\n pointer-events: none;\n}\n\n.paraui-v4-icon-button {\n flex: 0 0 auto;\n overflow: visible;\n text-align: center;\n transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n padding: 0;\n border-radius: 4px;\n}\n.paraui-v4-icon-button-loading {\n pointer-events: none;\n}\n.paraui-v4-icon-button-loading .button-loading-icon {\n display: inline-flex;\n animation: buttonLoadingSpin 1s infinite linear;\n}\n.paraui-v4-icon-button svg {\n color: inherit;\n font-size: 16px;\n}\n.paraui-v4-icon-button-contained {\n color: rgb(255, 255, 255);\n background-color: rgb(46, 101, 230);\n}\n.paraui-v4-icon-button-contained:hover {\n background-color: rgb(87, 131, 235);\n box-shadow: none;\n}\n.paraui-v4-icon-button-contained.paraui-v4-button-link-disabled {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-icon-button-contained.paraui-v4-button-link-disabled:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-icon-button-contained[disabled] {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-icon-button-contained[disabled]:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-icon-button-contained.paraui-v4-icon-button-dangerous {\n background-color: rgb(244, 66, 66);\n}\n.paraui-v4-icon-button-contained.paraui-v4-icon-button-dangerous:hover {\n background-color: rgb(246, 103, 103);\n}\n.paraui-v4-icon-button-outlined {\n color: rgb(29, 33, 38);\n background-color: rgb(255, 255, 255);\n border: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-icon-button-outlined:hover {\n color: rgb(46, 101, 230);\n border-color: rgb(87, 131, 235);\n box-shadow: none;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-icon-button-outlined.paraui-v4-button-link-disabled {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-icon-button-outlined.paraui-v4-button-link-disabled:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-icon-button-outlined[disabled] {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-icon-button-outlined[disabled]:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-icon-button-outlined.paraui-v4-icon-button-dangerous {\n color: rgb(244, 66, 66);\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-icon-button-outlined.paraui-v4-icon-button-dangerous:hover {\n color: rgb(244, 66, 66);\n border-color: rgb(246, 103, 103);\n}\n.paraui-v4-icon-button-text {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-icon-button-text:hover {\n color: rgb(87, 131, 235);\n background-color: transparent;\n}\n.paraui-v4-icon-button-text.paraui-v4-button-link-disabled {\n pointer-events: none;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-icon-button-text.paraui-v4-button-link-disabled:hover {\n background-color: transparent;\n}\n.paraui-v4-icon-button-text[disabled] {\n color: rgb(161, 168, 179);\n pointer-events: none;\n}\n.paraui-v4-icon-button-text[disabled]:hover {\n background-color: transparent;\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-dangerous {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-dangerous:hover {\n color: rgb(246, 103, 103);\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-large {\n width: auto;\n height: auto;\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-large svg {\n font-size: 24px;\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-medium {\n width: auto;\n height: auto;\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-medium svg {\n font-size: 20px;\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-small {\n width: auto;\n height: auto;\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-small svg {\n font-size: 20px;\n}\n.paraui-v4-icon-button-activate {\n color: rgb(29, 33, 38);\n background-color: rgb(255, 255, 255);\n border: 1px solid rgb(212, 218, 227);\n color: rgb(46, 101, 230);\n border-color: rgb(46, 101, 230);\n box-shadow: none;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-icon-button-activate.paraui-v4-button-link-disabled {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-icon-button-activate.paraui-v4-button-link-disabled:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-icon-button-activate[disabled] {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-icon-button-activate[disabled]:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-icon-button-activate.paraui-v4-icon-button-dangerous {\n color: rgb(244, 66, 66);\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-icon-button-activate.paraui-v4-icon-button-dangerous:hover {\n color: rgb(244, 66, 66);\n border-color: rgb(246, 103, 103);\n}\n.paraui-v4-icon-button-large {\n width: 32px;\n height: 32px;\n}\n.paraui-v4-icon-button-medium {\n width: 28px;\n height: 28px;\n}\n.paraui-v4-icon-button-small {\n width: 28px;\n height: 28px;\n}\n\n.paraui-v4-button-split {\n display: inline-block;\n}\n.paraui-v4-button-split .paraui-v4-button-split--active {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-button-split-list {\n padding: 4px 0;\n border-radius: 4px;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-button-split-list ul .split-li {\n padding: 8px 10px;\n color: rgb(29, 33, 38);\n font-size: 14px;\n line-height: 1;\n cursor: pointer;\n transition: background-color 0.3s, color 0.3s;\n white-space: nowrap;\n}\n.paraui-v4-button-split-list ul .split-li:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-split-list ul .split-li.split-li--active {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-button-split-list ul .split-li.split-li--active:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-split-list ul .split-li.split-li--hover:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-split-list ul .split-li.split-li--disabled {\n color: rgb(161, 168, 179);\n cursor: not-allowed;\n}\n.paraui-v4-button-split-list ul .split-li.split-li--disabled:hover {\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-button-split-list ul .split-li-group:not(:first-child) {\n position: relative;\n margin-top: 8px;\n}\n.paraui-v4-button-split-list ul .split-li-group:not(:first-child):before {\n content: \"\";\n position: absolute;\n top: -4px;\n left: 8px;\n right: 8px;\n border-top: 1px solid rgb(234, 236, 241);\n}";
38
+ var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/21 下午5:16\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n@keyframes buttonLoadingSpin {\n 0% {\n transform: rotate(0);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.paraui-v4-button {\n border: 0;\n cursor: pointer;\n display: inline-flex;\n outline: 0;\n position: relative;\n align-items: center;\n user-select: none;\n vertical-align: middle;\n justify-content: center;\n text-decoration: none;\n background-color: transparent;\n appearance: none;\n -webkit-tap-highlight-color: transparent;\n padding: 0 10px;\n line-height: 1.5715;\n border-radius: 4px;\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 white-space: nowrap;\n color: rgb(255, 255, 255);\n box-sizing: border-box;\n letter-spacing: 0.02857em;\n transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n}\n.paraui-v4-button .button-label {\n width: 100%;\n display: inherit;\n align-items: inherit;\n justify-content: inherit;\n}\n.paraui-v4-button .button-icon {\n display: inherit;\n margin-right: 4px;\n}\n.paraui-v4-button .button-icon svg {\n color: inherit;\n font-weight: 500;\n}\n.paraui-v4-button .button-icon-end {\n margin-right: 0;\n margin-left: 4px;\n}\n.paraui-v4-button .button-icon-loading {\n animation: buttonLoadingSpin 1s infinite linear;\n}\n.paraui-v4-button-loading {\n pointer-events: none;\n}\n.paraui-v4-button-contained {\n color: rgb(255, 255, 255);\n background-color: rgb(46, 101, 230);\n}\n.paraui-v4-button-contained:hover {\n background-color: rgb(87, 131, 235);\n}\n.paraui-v4-button-contained.paraui-v4-button-link-disabled {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-button-contained.paraui-v4-button-link-disabled:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-contained[disabled] {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-button-contained[disabled]:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-contained.paraui-v4-button-dangerous {\n background-color: rgb(244, 66, 66);\n}\n.paraui-v4-button-contained.paraui-v4-button-dangerous:hover {\n background-color: rgb(246, 103, 103);\n}\n.paraui-v4-button-outlined {\n color: rgb(29, 33, 38);\n background-color: rgb(255, 255, 255);\n border: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-button-outlined:hover {\n color: rgb(46, 101, 230);\n border-color: rgb(87, 131, 235);\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-button-outlined.paraui-v4-button-link-disabled {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-button-outlined.paraui-v4-button-link-disabled:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-outlined[disabled] {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-button-outlined[disabled]:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-outlined.paraui-v4-button-dangerous {\n color: rgb(244, 66, 66);\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-button-outlined.paraui-v4-button-dangerous:hover {\n color: rgb(244, 66, 66);\n border-color: rgb(246, 103, 103);\n}\n.paraui-v4-button-text {\n color: rgb(46, 101, 230);\n background-color: transparent;\n border: none;\n padding: unset;\n margin: 0 10px;\n}\n.paraui-v4-button-text:hover {\n color: rgb(87, 131, 235);\n background-color: transparent;\n}\n.paraui-v4-button-text.paraui-v4-button-link-disabled {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-button-text.paraui-v4-button-link-disabled:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-text[disabled] {\n color: rgb(29, 33, 38);\n background-color: transparent;\n border: none;\n cursor: not-allowed;\n}\n.paraui-v4-button-text[disabled]:hover {\n background-color: transparent;\n}\n.paraui-v4-button-text.paraui-v4-button-dangerous {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-button-text.paraui-v4-button-dangerous:hover {\n color: rgb(246, 103, 103);\n}\n.paraui-v4-button-large {\n height: 32px;\n}\n.paraui-v4-button-medium {\n height: 28px;\n}\n.paraui-v4-button-small {\n height: 28px;\n}\n.paraui-v4-button--disabled {\n display: inline-block;\n cursor: not-allowed;\n}\n.paraui-v4-button--disabled button {\n pointer-events: none;\n}\n\n.paraui-v4-icon-button {\n flex: 0 0 auto;\n overflow: visible;\n text-align: center;\n transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n padding: 0;\n border-radius: 4px;\n}\n.paraui-v4-icon-button-loading {\n pointer-events: none;\n}\n.paraui-v4-icon-button-loading .button-loading-icon {\n display: inline-flex;\n animation: buttonLoadingSpin 1s infinite linear;\n}\n.paraui-v4-icon-button svg {\n color: inherit;\n font-size: 16px;\n}\n.paraui-v4-icon-button-contained {\n color: rgb(255, 255, 255);\n background-color: rgb(46, 101, 230);\n}\n.paraui-v4-icon-button-contained:hover {\n background-color: rgb(87, 131, 235);\n box-shadow: none;\n}\n.paraui-v4-icon-button-contained.paraui-v4-button-link-disabled {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-icon-button-contained.paraui-v4-button-link-disabled:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-icon-button-contained[disabled] {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-icon-button-contained[disabled]:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-icon-button-contained.paraui-v4-icon-button-dangerous {\n background-color: rgb(244, 66, 66);\n}\n.paraui-v4-icon-button-contained.paraui-v4-icon-button-dangerous:hover {\n background-color: rgb(246, 103, 103);\n}\n.paraui-v4-icon-button-outlined {\n color: rgb(29, 33, 38);\n background-color: rgb(255, 255, 255);\n border: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-icon-button-outlined:hover {\n color: rgb(46, 101, 230);\n border-color: rgb(87, 131, 235);\n box-shadow: none;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-icon-button-outlined.paraui-v4-button-link-disabled {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-icon-button-outlined.paraui-v4-button-link-disabled:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-icon-button-outlined[disabled] {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-icon-button-outlined[disabled]:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-icon-button-outlined.paraui-v4-icon-button-dangerous {\n color: rgb(244, 66, 66);\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-icon-button-outlined.paraui-v4-icon-button-dangerous:hover {\n color: rgb(244, 66, 66);\n border-color: rgb(246, 103, 103);\n}\n.paraui-v4-icon-button-text {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-icon-button-text:hover {\n color: rgb(87, 131, 235);\n background-color: transparent;\n}\n.paraui-v4-icon-button-text.paraui-v4-button-link-disabled {\n pointer-events: none;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-icon-button-text.paraui-v4-button-link-disabled:hover {\n background-color: transparent;\n}\n.paraui-v4-icon-button-text[disabled] {\n color: rgb(161, 168, 179);\n pointer-events: none;\n}\n.paraui-v4-icon-button-text[disabled]:hover {\n background-color: transparent;\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-dangerous {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-dangerous:hover {\n color: rgb(246, 103, 103);\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-large {\n width: auto;\n height: auto;\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-large svg {\n font-size: 24px;\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-medium {\n width: auto;\n height: auto;\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-medium svg {\n font-size: 20px;\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-small {\n width: auto;\n height: auto;\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-small svg {\n font-size: 20px;\n}\n.paraui-v4-icon-button-activate {\n color: rgb(29, 33, 38);\n background-color: rgb(255, 255, 255);\n border: 1px solid rgb(212, 218, 227);\n color: rgb(46, 101, 230);\n border-color: rgb(46, 101, 230);\n box-shadow: none;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-icon-button-activate.paraui-v4-button-link-disabled {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-icon-button-activate.paraui-v4-button-link-disabled:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-icon-button-activate[disabled] {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-icon-button-activate[disabled]:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-icon-button-activate.paraui-v4-icon-button-dangerous {\n color: rgb(244, 66, 66);\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-icon-button-activate.paraui-v4-icon-button-dangerous:hover {\n color: rgb(244, 66, 66);\n border-color: rgb(246, 103, 103);\n}\n.paraui-v4-icon-button-large {\n width: 32px;\n height: 32px;\n}\n.paraui-v4-icon-button-medium {\n width: 28px;\n height: 28px;\n}\n.paraui-v4-icon-button-small {\n width: 28px;\n height: 28px;\n}\n\n.paraui-v4-button-split {\n display: inline-block;\n}\n.paraui-v4-button-split .paraui-v4-button-split--active {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-button-split-list {\n padding: 4px 0;\n border-radius: 4px;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-button-split-list ul .split-li {\n padding: 8px 10px;\n color: rgb(29, 33, 38);\n font-size: 14px;\n line-height: 1;\n cursor: pointer;\n transition: background-color 0.3s, color 0.3s;\n white-space: nowrap;\n}\n.paraui-v4-button-split-list ul .split-li:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-split-list ul .split-li.split-li--active {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-button-split-list ul .split-li.split-li--active:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-split-list ul .split-li.split-li--hover:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-split-list ul .split-li.split-li--disabled {\n color: rgb(161, 168, 179);\n cursor: not-allowed;\n}\n.paraui-v4-button-split-list ul .split-li.split-li--disabled:hover {\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-button-split-list ul .split-li-group:not(:first-child) {\n position: relative;\n margin-top: 8px;\n}\n.paraui-v4-button-split-list ul .split-li-group:not(:first-child):before {\n content: \"\";\n position: absolute;\n top: -4px;\n left: 8px;\n right: 8px;\n border-top: 1px solid rgb(234, 236, 241);\n}";
39
39
  styleInject(css_248z);
40
40
 
41
41
  //分体式按钮
@@ -153,7 +153,7 @@ function SplitButton(props) {
153
153
  if (variant) {
154
154
  return jsx(Button.IconButton, Object.assign({
155
155
  variant: variant,
156
- size: "small",
156
+ size: 'small',
157
157
  disabled: disabled
158
158
  }, buttonProps, {
159
159
  children: buttonText !== null && buttonText !== void 0 ? buttonText : intl({
@@ -163,7 +163,7 @@ function SplitButton(props) {
163
163
  }
164
164
  return jsx(Button.IconButton, Object.assign({
165
165
  variant: 'text',
166
- size: "small",
166
+ size: 'small',
167
167
  disabled: disabled
168
168
  }, buttonProps, {
169
169
  children: buttonText !== null && buttonText !== void 0 ? buttonText : intl({
@@ -257,22 +257,6 @@ var InternalButton = function InternalButton(props) {
257
257
  }));
258
258
  return null;
259
259
  };
260
- //tooltip title
261
- var generateTooltipTitle = function generateTooltipTitle() {
262
- if (disabled && toolTipTitle) {
263
- var svgObj = {
264
- marginRight: '4px',
265
- fontSize: '11px',
266
- color: 'inherit'
267
- };
268
- return jsxs("span", {
269
- children: [jsx(Forbid, {
270
- style: svgObj
271
- }), toolTipTitle]
272
- });
273
- }
274
- return toolTipTitle;
275
- };
276
260
  //按钮
277
261
  var renderButton = function renderButton() {
278
262
  if (isLinkBtn) {
@@ -307,7 +291,8 @@ var InternalButton = function InternalButton(props) {
307
291
  arrow: false,
308
292
  placement: 'bottomLeft'
309
293
  }, TooltipProps, {
310
- title: generateTooltipTitle()
294
+ disabled: disabled,
295
+ title: toolTipTitle
311
296
  }, {
312
297
  children: jsx("span", Object.assign({
313
298
  className: "".concat($prefixCls, "-button--disabled")
@@ -345,22 +330,6 @@ var IconButton = function IconButton(props) {
345
330
  var makeCls = function makeCls() {
346
331
  return clsx("".concat($prefixCls, "-button ").concat($prefixCls, "-icon-button"), className, "".concat($prefixCls, "-icon-button-").concat(variant), "".concat($prefixCls, "-icon-button-").concat(size), hasLoading && "".concat($prefixCls, "-icon-button-loading"), danger && !disabled && "".concat($prefixCls, "-icon-button-dangerous"), isLinkBtn && "".concat($prefixCls, "-button-link"), isLinkBtn && disabled && "".concat($prefixCls, "-button-link-disabled"));
347
332
  };
348
- //tooltip title
349
- var generateTooltipTitle = function generateTooltipTitle() {
350
- if (disabled && toolTipTitle) {
351
- var svgObj = {
352
- marginRight: '4px',
353
- fontSize: '11px',
354
- color: 'inherit'
355
- };
356
- return jsxs("span", {
357
- children: [jsx(Forbid, {
358
- style: svgObj
359
- }), toolTipTitle]
360
- });
361
- }
362
- return toolTipTitle;
363
- };
364
333
  //渲染图标
365
334
  var renderIcon = function renderIcon() {
366
335
  if (!hasLoading) return children;
@@ -402,7 +371,8 @@ var IconButton = function IconButton(props) {
402
371
  arrow: false,
403
372
  placement: 'bottomLeft'
404
373
  }, TooltipProps, {
405
- title: generateTooltipTitle()
374
+ disabled: disabled,
375
+ title: toolTipTitle
406
376
  }, {
407
377
  children: disabled ? jsx("span", Object.assign({
408
378
  className: "".concat($prefixCls, "-button--disabled")
@@ -3,12 +3,12 @@
3
3
  * @date 2022/2/28 上午11:02
4
4
  * @description Carousel
5
5
  */
6
- import React from "react";
7
- import { Settings } from "react-slick";
8
- import "./index.scss";
9
- export type CarouselEffect = "scrollx" | "fade";
10
- export type DotPosition = "top" | "bottom" | "left" | "right";
11
- export interface CarouselProps extends Omit<Settings, "dots" | "dotsClass"> {
6
+ import React from 'react';
7
+ import { Settings } from 'react-slick';
8
+ import './index.scss';
9
+ export type CarouselEffect = 'scrollx' | 'fade';
10
+ export type DotPosition = 'top' | 'bottom' | 'left' | 'right';
11
+ export interface CarouselProps extends Omit<Settings, 'dots' | 'dotsClass'> {
12
12
  /** 动画效果函数 */
13
13
  effect?: CarouselEffect;
14
14
  /** style */
package/Carousel/index.js CHANGED
@@ -22,7 +22,7 @@ var Carousel = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
22
22
  _props$draggable = props.draggable,
23
23
  draggable = _props$draggable === void 0 ? false : _props$draggable,
24
24
  _props$dotPosition = props.dotPosition,
25
- dotPosition = _props$dotPosition === void 0 ? "bottom" : _props$dotPosition,
25
+ dotPosition = _props$dotPosition === void 0 ? 'bottom' : _props$dotPosition,
26
26
  className = props.className,
27
27
  restProps = __rest(props, ["dots", "arrows", "draggable", "dotPosition", "className"]);
28
28
  var slickRef = React__default.useRef();
@@ -51,16 +51,16 @@ var Carousel = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
51
51
  }, [props.children]);
52
52
  var newProps = Object.assign({}, restProps);
53
53
  //动画效果
54
- if (newProps.effect === "fade") {
54
+ if (newProps.effect === 'fade') {
55
55
  newProps.fade = true;
56
56
  }
57
57
  var prefixCls = "".concat($prefixCls, "-carousel");
58
- var dotsClass = "slick-dots";
59
- newProps.vertical = dotPosition === "left" || dotPosition === "right";
58
+ var dotsClass = 'slick-dots';
59
+ newProps.vertical = dotPosition === 'left' || dotPosition === 'right';
60
60
  //启用dots
61
61
  var enableDots = !!dots;
62
62
  //dots cls
63
- var dsClass = clsx(dotsClass, "".concat(dotsClass, "-").concat(dotPosition), typeof dots === "boolean" ? false : dots === null || dots === void 0 ? void 0 : dots.className);
63
+ var dsClass = clsx(dotsClass, "".concat(dotsClass, "-").concat(dotPosition), typeof dots === 'boolean' ? false : dots === null || dots === void 0 ? void 0 : dots.className);
64
64
  //组件cls
65
65
  var cls = clsx(prefixCls, className, _defineProperty({}, "".concat(prefixCls, "-vertical"), newProps.vertical));
66
66
  return jsx("div", Object.assign({
@@ -1,9 +1,9 @@
1
- import type { BuildInPlacements } from "@rc-component/trigger/lib/interface";
2
- import type { BaseSelectPropsWithoutPrivate, BaseSelectRef } from "rc-select";
3
- import type { Placement } from "rc-select/lib/BaseSelect";
4
- import * as React from "react";
5
- import { SHOW_CHILD, SHOW_PARENT } from "./utils/commonUtil";
6
- import { TooltipProps } from "../../src/Tooltip";
1
+ import type { BuildInPlacements } from '@rc-component/trigger/lib/interface';
2
+ import type { BaseSelectPropsWithoutPrivate, BaseSelectRef } from 'rc-select';
3
+ import type { Placement } from 'rc-select/lib/BaseSelect';
4
+ import * as React from 'react';
5
+ import { SHOW_CHILD, SHOW_PARENT } from './utils/commonUtil';
6
+ import { TooltipProps } from '../../src/Tooltip';
7
7
  export interface ShowSearchType<OptionType extends BaseOptionType = DefaultOptionType> {
8
8
  filter?: (inputValue: string, options: OptionType[], fieldNames: FieldNames) => boolean;
9
9
  render?: (inputValue: string, path: OptionType[], prefixCls: string, fieldNames: FieldNames) => React.ReactNode;
@@ -33,7 +33,7 @@ export interface DefaultOptionType extends BaseOptionType {
33
33
  disableCheckbox?: boolean;
34
34
  disableTitle?: string;
35
35
  }
36
- interface BaseCascaderProps<OptionType extends BaseOptionType = DefaultOptionType> extends Omit<BaseSelectPropsWithoutPrivate, "tokenSeparators" | "labelInValue" | "mode" | "showSearch"> {
36
+ interface BaseCascaderProps<OptionType extends BaseOptionType = DefaultOptionType> extends Omit<BaseSelectPropsWithoutPrivate, 'tokenSeparators' | 'labelInValue' | 'mode' | 'showSearch'> {
37
37
  id?: string;
38
38
  prefixCls?: string;
39
39
  fieldNames?: FieldNames;
@@ -44,7 +44,7 @@ interface BaseCascaderProps<OptionType extends BaseOptionType = DefaultOptionTyp
44
44
  displayRender?: (label: string[], selectedOptions?: OptionType[]) => React.ReactNode;
45
45
  checkable?: boolean | React.ReactNode;
46
46
  showCheckedStrategy?: ShowCheckedStrategy;
47
- expandTrigger?: "hover" | "click";
47
+ expandTrigger?: 'hover' | 'click';
48
48
  options?: OptionType[];
49
49
  optionsTitle?: Array<string | null>;
50
50
  /** @private Internal usage. Do not use in your production. */
@@ -85,10 +85,10 @@ export interface MultipleCascaderProps<OptionType extends BaseOptionType = Defau
85
85
  onChange?: OnMultipleChange<OptionType>;
86
86
  }
87
87
  export type CascaderProps<OptionType extends BaseOptionType = DefaultOptionType> = SingleCascaderProps<OptionType> | MultipleCascaderProps<OptionType>;
88
- export type InternalCascaderProps<OptionType extends BaseOptionType = DefaultOptionType> = Omit<SingleCascaderProps<OptionType> | MultipleCascaderProps<OptionType>, "onChange"> & {
88
+ export type InternalCascaderProps<OptionType extends BaseOptionType = DefaultOptionType> = Omit<SingleCascaderProps<OptionType> | MultipleCascaderProps<OptionType>, 'onChange'> & {
89
89
  onChange?: (value: SingleValueType | SingleValueType[], selectOptions: OptionType[] | OptionType[][]) => void;
90
90
  };
91
- export type CascaderRef = Omit<BaseSelectRef, "scrollTo">;
91
+ export type CascaderRef = Omit<BaseSelectRef, 'scrollTo'>;
92
92
  declare const Cascader: (<OptionType extends BaseOptionType | DefaultOptionType = DefaultOptionType>(props: React.PropsWithChildren<CascaderProps<OptionType>> & {
93
93
  ref?: React.Ref<BaseSelectRef> | undefined;
94
94
  }) => React.ReactElement) & {
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
- import type { DefaultOptionType, SingleValueType } from "../Cascader";
1
+ import * as React from 'react';
2
+ import type { DefaultOptionType, SingleValueType } from '../Cascader';
3
3
  export declare const FIX_LABEL = "__cascader_fix_label__";
4
4
  export interface ColumnProps {
5
5
  prefixCls: string;
@@ -18,4 +18,4 @@ export interface ColumnProps {
18
18
  searchValue?: string;
19
19
  titleIndex?: number;
20
20
  }
21
- export default function Column({ prefixCls, options, multiple, activeValue, prevValuePath, titleIndex, onToggleOpen, onSelect, onActive, checkedSet, loadingKeys, isSelectable, searchValue, }: ColumnProps): JSX.Element;
21
+ export default function Column({ prefixCls, options, multiple, activeValue, prevValuePath, titleIndex, onToggleOpen, onSelect, onActive, checkedSet, loadingKeys, isSelectable, searchValue }: ColumnProps): JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { RefOptionListProps } from "rc-select/lib/OptionList";
2
- import * as React from "react";
1
+ import type { RefOptionListProps } from 'rc-select/lib/OptionList';
2
+ import * as React from 'react';
3
3
  declare const RefOptionList: React.ForwardRefExoticComponent<React.RefAttributes<RefOptionListProps>>;
4
4
  export default RefOptionList;