@qsxy/element-plus-react 1.0.0-next.15 → 1.0.0-next.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/dist/Button/Button.js +5 -3
  2. package/dist/Button/typings.d.ts +3 -1
  3. package/dist/ColorPicker/AlphaSlider.d.ts +0 -7
  4. package/dist/ColorPicker/AlphaSlider.js +0 -7
  5. package/dist/ColorPicker/HueSlider.d.ts +0 -7
  6. package/dist/ColorPicker/HueSlider.js +0 -7
  7. package/dist/ColorPicker/Predefine.d.ts +0 -7
  8. package/dist/ColorPicker/Predefine.js +0 -7
  9. package/dist/ColorPicker/SvPanel.d.ts +0 -7
  10. package/dist/ColorPicker/SvPanel.js +0 -7
  11. package/dist/DateTimePicker/DateTimePicker.d.ts +1 -1
  12. package/dist/Descriptions/Descriptions.d.ts +2 -2
  13. package/dist/Descriptions/Descriptions.js +7 -6
  14. package/dist/Descriptions/DescriptionsCell.d.ts +11 -12
  15. package/dist/Descriptions/DescriptionsCell.js +13 -6
  16. package/dist/Descriptions/DescriptionsItem.js +1 -1
  17. package/dist/Descriptions/DescriptionsRow.d.ts +2 -5
  18. package/dist/Descriptions/DescriptionsRow.js +11 -4
  19. package/dist/Dialog/Dialog.js +3 -1
  20. package/dist/Drawer/typings.d.ts +10 -10
  21. package/dist/Dropdown/Dropdown.js +7 -7
  22. package/dist/Dropdown/DropdownItem.js +1 -1
  23. package/dist/Dropdown/DropdownMenu.d.ts +5 -2
  24. package/dist/Dropdown/DropdownMenu.js +5 -3
  25. package/dist/Dropdown/typings.d.ts +3 -1
  26. package/dist/Empty/Empty.js +1 -1
  27. package/dist/Empty/ImgEmpty.js +5 -5
  28. package/dist/Form/Form.d.ts +9 -4
  29. package/dist/Form/Form.js +6 -4
  30. package/dist/Form/typings.d.ts +2 -2
  31. package/dist/MessageBox/MessageBox.js +6 -1
  32. package/dist/Notification/Notification.js +6 -3
  33. package/dist/Notification/index.d.ts +0 -8
  34. package/dist/Notification/index.js +0 -9
  35. package/dist/Notification/typings.d.ts +0 -2
  36. package/dist/Pagination/Options.js +2 -1
  37. package/dist/Popconfirm/Popconfirm.d.ts +3 -2
  38. package/dist/Popconfirm/Popconfirm.js +15 -8
  39. package/dist/Popconfirm/typings.d.ts +2 -1
  40. package/dist/Popover/Popover.js +7 -5
  41. package/dist/Popover/typings.d.ts +1 -1
  42. package/dist/Select/Option.js +1 -1
  43. package/dist/Select/OptionGroup.js +1 -1
  44. package/dist/Select/Select.d.ts +3 -15
  45. package/dist/Select/Select.js +3 -9
  46. package/dist/Select/SelectCore.js +52 -27
  47. package/dist/Select/index.d.ts +1 -0
  48. package/dist/Select/index.js +1 -0
  49. package/dist/Select/typings.d.ts +13 -1
  50. package/dist/Skeleton/typings.d.ts +2 -2
  51. package/dist/Table/TableColumn.js +2 -2
  52. package/dist/Table/TableHeaderCell.js +16 -16
  53. package/dist/Table/hooks/useSelection.d.ts +1 -1
  54. package/dist/Table/hooks/useTable.d.ts +0 -7
  55. package/dist/Table/hooks/useTable.js +1 -9
  56. package/dist/Table/typings.d.ts +1 -1
  57. package/dist/Tabs/TabPane.js +1 -1
  58. package/dist/Tabs/Tabs.d.ts +2 -2
  59. package/dist/Tabs/Tabs.js +8 -4
  60. package/dist/Tabs/typings.d.ts +2 -0
  61. package/dist/Tag/Tag.d.ts +1 -1
  62. package/dist/Tag/Tag.js +5 -5
  63. package/dist/Tag/typings.d.ts +1 -1
  64. package/dist/TimeLine/TimeLine.js +1 -0
  65. package/dist/TimeLine/TimeLineItem.js +1 -0
  66. package/dist/TimeLine/typings.d.ts +2 -2
  67. package/dist/TimePicker/useTimePicker.d.ts +0 -7
  68. package/dist/TimePicker/useTimePicker.js +1 -8
  69. package/dist/hooks/animationPropsUtils.d.ts +0 -4
  70. package/dist/hooks/animationPropsUtils.js +0 -4
  71. package/dist/hooks/popperPropsUtils.d.ts +0 -4
  72. package/dist/hooks/popperPropsUtils.js +0 -4
  73. package/dist/hooks/useChildrenInstance.d.ts +0 -4
  74. package/dist/hooks/useChildrenInstance.js +0 -4
  75. package/dist/index.css +1 -1
  76. package/dist/index.d.ts +1 -1
  77. package/dist/index.js +1 -1
  78. package/package.json +1 -1
  79. package/theme-chalk/index.scss +1 -1
  80. package/theme-chalk/skeleton/index.scss +120 -0
  81. package/theme-chalk/tabs/index.scss +3 -3
  82. package/theme-chalk/tag/index.scss +5 -162
  83. package/theme-chalk/time-line/_timeline-item.scss +1 -1
@@ -7,7 +7,7 @@ export type SelectRef = {
7
7
  inputInstance?: RefObject<InputRef>;
8
8
  searchInstance?: RefObject<InputRef>;
9
9
  popperInstRef: RefObject<PopperOptionRef>;
10
- label: string;
10
+ selectedLabel: string | string[];
11
11
  setLabel: (label: string) => void;
12
12
  getValue: () => ValueType;
13
13
  setValue: (value: ValueType) => void;
@@ -40,6 +40,8 @@ export interface SelectProps<V = ValueType> extends Omit<FormControlBaseProps<V>
40
40
  loadingText?: React.ReactElement | string;
41
41
  /** */
42
42
  max?: boolean;
43
+ /** 下拉菜单的内容是否有箭头 */
44
+ showArrow?: boolean;
43
45
  /** */
44
46
  required?: boolean;
45
47
  /** 表单校验错误提示 */
@@ -68,8 +70,18 @@ export interface SelectProps<V = ValueType> extends Omit<FormControlBaseProps<V>
68
70
  size?: TypeAttributes.Size;
69
71
  /** 是否追加到body下 */
70
72
  appendToBody?: boolean;
73
+ /** 标签类型 */
74
+ tagType?: TypeAttributes.Appearance;
75
+ /** 标签效果 */
76
+ tagEffect?: 'light' | 'dark' | 'plain';
71
77
  /** 选中值发生变化时触发 */
72
78
  onChange?: (value: ValueType, label?: string | (string | number)[]) => void;
79
+ /** 下拉框出现/隐藏时触发 */
80
+ onVisibleChange?: (visible: boolean) => void;
81
+ /** 多选模式下移除tag时触发/隐藏时触发 */
82
+ onRemoveTag?: (tagValue: any) => void;
83
+ /** 可清空的单选模式下用户点击清空按钮时触发 */
84
+ onClear?: () => void;
73
85
  /** 数据加载成功时调用 */
74
86
  onLoadSuccess?: (value: ValueType, label?: (string | number | undefined)[]) => void;
75
87
  }
@@ -1,9 +1,9 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { BaseProps, NativeProps } from '../types/common';
3
3
  export interface SkeletonProps extends BaseProps, NativeProps {
4
- /** 是否显示模态框(可控) */
4
+ /** 是否显示骨架屏(可控) */
5
5
  visible?: boolean;
6
- /** 默认是否显示模态框 */
6
+ /** 默认是否显示骨架屏 */
7
7
  defaultVisible?: boolean;
8
8
  /** 骨架屏段落数量 */
9
9
  rows?: number;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { useChildrenInstance } from "../hooks";
3
3
  var TableColumn = function TableColumn(props) {
4
- var getChildren = useChildrenInstance('TableColumn');
4
+ var getChildren = useChildrenInstance('ElTableColumn');
5
5
  if (props.children instanceof Function) {
6
6
  return /*#__PURE__*/React.createElement("div", null);
7
7
  } else {
@@ -9,5 +9,5 @@ var TableColumn = function TableColumn(props) {
9
9
  return /*#__PURE__*/React.createElement("div", null, columns);
10
10
  }
11
11
  };
12
- TableColumn.displayName = 'TableColumn';
12
+ TableColumn.displayName = 'ElTableColumn';
13
13
  export default TableColumn;
@@ -123,33 +123,33 @@ var TableHeaderCell = function TableHeaderCell(p) {
123
123
  /** 排序 */
124
124
  var handleSort = useCallback(function (_sort) {
125
125
  if (column.sortable === 'custom' && sortProp && _sort) {
126
- var _data = onSortChange === null || onSortChange === void 0 ? void 0 : onSortChange({
126
+ onSortChange === null || onSortChange === void 0 || onSortChange({
127
127
  column: column,
128
128
  prop: sortProp,
129
129
  order: _sort
130
130
  });
131
- if (_data && _data instanceof Array) {
132
- try {
133
- setData(mergeTreeData(initialData.current, treeNodes.current, treeProps, rowKey));
134
- } catch (error) {
135
- // eslint-disable-next-line no-console
136
- console.warn('warning: 返回的数据似乎有问题');
137
- }
138
- } else {
139
- // eslint-disable-next-line no-console
140
- console.warn('warning: 返回的数据格式有问题');
141
- }
131
+ // if (_data && _data instanceof Array) {
132
+ // try {
133
+ // setData(mergeTreeData(initialData.current, treeNodes.current, treeProps, rowKey));
134
+ // } catch (error) {
135
+ // // eslint-disable-next-line no-console
136
+ // console.warn('warning: 返回的数据似乎有问题');
137
+ // }
138
+ // } else {
139
+ // // eslint-disable-next-line no-console
140
+ // console.warn('warning: 返回的数据格式有问题');
141
+ // }
142
142
  } else if (column.sortMethod) {
143
- var _data2 = initialData.current.sort(function (a, b) {
143
+ var _data = initialData.current.sort(function (a, b) {
144
144
  return column.sortMethod(a, b);
145
145
  });
146
- setData(mergeTreeData(_data2, treeNodes.current, treeProps, rowKey));
146
+ setData(mergeTreeData(_data, treeNodes.current, treeProps, rowKey));
147
147
  } else if (isEmpty(_sort)) {
148
148
  // 没有排序,恢复到原始顺序
149
149
  setData(mergeTreeData(initialData.current, treeNodes.current, treeProps, rowKey));
150
150
  } else {
151
- var _data3 = sortBy(initialData.current, column.sortBy ? column.sortBy : column.prop || column.name);
152
- sortedData.current = _sort === 'descending' ? _data3.reverse() : _data3;
151
+ var _data2 = sortBy(initialData.current, column.sortBy ? column.sortBy : column.prop || column.name);
152
+ sortedData.current = _sort === 'descending' ? _data2.reverse() : _data2;
153
153
  setData(mergeTreeData(sortedData.current, treeNodes.current, treeProps, rowKey));
154
154
  }
155
155
  }, [column, sortProp, onSortChange, initialData, setData, treeNodes, treeProps, rowKey, sortedData]);
@@ -39,4 +39,4 @@ export declare const activeRow: <T>(payload: T) => Action;
39
39
  * @param payload
40
40
  * @returns
41
41
  */
42
- export declare const onCheck: <T>(payload: Pick<State<T>, "selection" | "isIndeterminate">) => Action;
42
+ export declare const onCheck: <T>(payload: Pick<State<T>, "isIndeterminate" | "selection">) => Action;
@@ -1,12 +1,5 @@
1
1
  import React from 'react';
2
2
  import { TableColumnCtx, TableColumnProps, TableProps, TableRefs, TreeNode } from '../typings';
3
- /**
4
- * @author Parker
5
- * @CreateTime 2022/9/11 12:24:23
6
- * @LastEditor Parker
7
- * @LastEditor Parker
8
- * @ModifyTime 2022/11/19 23:23:42
9
- */
10
3
  export declare const useTable: <T extends object>(props: TableProps<T>, refs: TableRefs, tableId: string) => {
11
4
  data: T[];
12
5
  setData: React.Dispatch<React.SetStateAction<T[]>>;
@@ -18,16 +18,8 @@ import { isNotEmpty } from "../../Util";
18
18
  import { useChildrenInstance } from "../../hooks";
19
19
  import { flatTreeData } from "../treeUtil";
20
20
  import { TableIdManager, getRowIdentity } from "../util";
21
-
22
- /**
23
- * @author Parker
24
- * @CreateTime 2022/9/11 12:24:23
25
- * @LastEditor Parker
26
- * @LastEditor Parker
27
- * @ModifyTime 2022/11/19 23:23:42
28
- */
29
21
  export var useTable = function useTable(props, refs, tableId) {
30
- var getChildren = useChildrenInstance('TableColumn');
22
+ var getChildren = useChildrenInstance('ElTableColumn');
31
23
  var _children = getChildren(props.children);
32
24
  var maxLevel = useRef(0);
33
25
  var flatColumns = useRef([]);
@@ -160,7 +160,7 @@ export interface TableEvents<T> {
160
160
  column: TableColumnCtx<T>;
161
161
  prop: string;
162
162
  order: 'ascending' | 'descending';
163
- }) => T[];
163
+ }) => void;
164
164
  /** column 的 key, 如果需要使用 filterChange 事件,则需要此属性标识是哪个 column 的筛选条件 */
165
165
  onFilterChange?: (filters: any) => void;
166
166
  /** 当表格的当前行发生变化的时候会触发该事件,如果要高亮当前行,请打开表格的 highlightCurrentRow 属性 */
@@ -66,5 +66,5 @@ var TabPane = /*#__PURE__*/forwardRef(function (props, ref) {
66
66
  return main;
67
67
  }
68
68
  });
69
- TabPane.displayName = 'TabPane';
69
+ TabPane.displayName = 'ElTabPane';
70
70
  export default TabPane;
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
1
+ import React from 'react';
2
2
  import { TabsProps } from './typings';
3
- declare const Tabs: FC<TabsProps>;
3
+ declare const Tabs: React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<HTMLDivElement>>;
4
4
  export default Tabs;
package/dist/Tabs/Tabs.js CHANGED
@@ -28,6 +28,7 @@ var Tabs = /*#__PURE__*/forwardRef(function (props, ref) {
28
28
  classPrefix = _props$classPrefix === void 0 ? 'tabs' : _props$classPrefix,
29
29
  children = props.children,
30
30
  onTabClick = props.onTabClick,
31
+ onTabChange = props.onTabChange,
31
32
  beforeLeave = props.beforeLeave,
32
33
  center = props.center,
33
34
  editable = props.editable,
@@ -82,7 +83,7 @@ var Tabs = /*#__PURE__*/forwardRef(function (props, ref) {
82
83
  // const [barStyle, setBarStyle] = useState<JSX.CSSProperties>({});
83
84
 
84
85
  /** 获取子组件 */
85
- var getTabPaneInstance = useChildrenInstance('TabPane');
86
+ var getTabPaneInstance = useChildrenInstance('ElTabPane');
86
87
 
87
88
  /** 获取TabPane组件中的配置数据 */
88
89
  var navs = useMemo(function () {
@@ -229,12 +230,15 @@ var Tabs = /*#__PURE__*/forwardRef(function (props, ref) {
229
230
  // [sizeName === 'offsetWidth' ? 'width' : 'height']: `${tabSize}px`,
230
231
  // transform: `translate${sizeDir}(${offset}px)`,
231
232
  // });
232
- }, [sizeName, children]);
233
+ }, [sizeName, e, children]);
233
234
 
234
235
  /** 激活标签页 */
235
236
  var changeCurrentName = useCallback(function (item) {
236
237
  var _item$closable;
237
238
  setActiveName(item === null || item === void 0 ? void 0 : item.name);
239
+ if (item !== null && item !== void 0 && item.name && activeName !== item.name) {
240
+ onTabChange === null || onTabChange === void 0 || onTabChange(item.name);
241
+ }
238
242
  onTabClick === null || onTabClick === void 0 || onTabClick({
239
243
  paneName: item === null || item === void 0 ? void 0 : item.name,
240
244
  active: item === null || item === void 0 ? void 0 : item.active,
@@ -242,7 +246,7 @@ var Tabs = /*#__PURE__*/forwardRef(function (props, ref) {
242
246
  isClosable: (_item$closable = item === null || item === void 0 ? void 0 : item.closable) !== null && _item$closable !== void 0 ? _item$closable : false,
243
247
  props: item.props
244
248
  });
245
- }, [onTabClick, setActiveName]);
249
+ }, [activeName, onTabChange, onTabClick, setActiveName]);
246
250
 
247
251
  /**
248
252
  * 点击标签页方法
@@ -371,5 +375,5 @@ var Tabs = /*#__PURE__*/forwardRef(function (props, ref) {
371
375
  ref: ref
372
376
  }, tabPosition === 'bottom' ? content : header, tabPosition === 'bottom' ? header : content));
373
377
  });
374
- Tabs.displayName = 'Tabs';
378
+ Tabs.displayName = 'ElTabs';
375
379
  export default Tabs;
@@ -35,6 +35,8 @@ export interface TabsProps extends BaseProps, NativeProps<'--el-tabs-header-heig
35
35
  onTabAdd?: () => void;
36
36
  /** 点击 tab 移除按钮时触发 */
37
37
  onTabRemove?: (name: TabPaneName | undefined) => void;
38
+ /** `activeName` 改变时触发 */
39
+ onTabChange?: (name: TabPaneName | undefined) => void;
38
40
  /** 鼠标右键点击 tab 时触发 */
39
41
  formatter?: (name: TabPaneName | undefined) => void;
40
42
  }
package/dist/Tag/Tag.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { TagProps } from './typings';
3
- declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLElement>>;
3
+ declare const Tag: React.MemoExoticComponent<React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLElement>>>;
4
4
  export default Tag;
package/dist/Tag/Tag.js CHANGED
@@ -15,18 +15,18 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
15
15
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
16
16
  import classNames from 'classnames';
17
17
  import { useComposeRef } from 'rc-util/lib/ref';
18
- import React, { forwardRef, useCallback, useRef } from 'react';
18
+ import React, { forwardRef, memo, useCallback, useRef } from 'react';
19
19
  import Icon from "../Icon/Icon";
20
20
  import Transition from "../Transition/Transition";
21
21
  import { partitionHTMLProps, useClassNames } from "../hooks";
22
- var Tag = /*#__PURE__*/forwardRef(function (props, ref) {
22
+ var Tag = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function (props, ref) {
23
23
  var _props$type = props.type,
24
24
  type = _props$type === void 0 ? 'primary' : _props$type,
25
25
  closable = props.closable,
26
26
  size = props.size,
27
27
  color = props.color,
28
- _props$theme = props.theme,
29
- theme = _props$theme === void 0 ? 'light' : _props$theme,
28
+ _props$effect = props.effect,
29
+ theme = _props$effect === void 0 ? 'light' : _props$effect,
30
30
  round = props.round,
31
31
  hit = props.hit,
32
32
  _props$classPrefix = props.classPrefix,
@@ -82,6 +82,6 @@ var Tag = /*#__PURE__*/forwardRef(function (props, ref) {
82
82
  className: e(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["close"]))),
83
83
  onClick: onCloseTag
84
84
  })));
85
- });
85
+ }));
86
86
  Tag.displayName = 'ElTag';
87
87
  export default Tag;
@@ -16,7 +16,7 @@ export interface TagProps extends Omit<TooltipBaseProps<HTMLSpanElement>, 'onCli
16
16
  /** 尺寸 */
17
17
  size?: TypeAttributes.Size;
18
18
  /** 主题 */
19
- theme?: 'dark' | 'light' | 'plain';
19
+ effect?: 'dark' | 'light' | 'plain';
20
20
  /** 点击 Tag 时触发的事件 */
21
21
  onClick?: (e?: React.MouseEvent<HTMLSpanElement>) => void;
22
22
  /** 关闭 Tag 时触发的事件 */
@@ -11,4 +11,5 @@ var TimeLine = function TimeLine(props) {
11
11
  style: props.style
12
12
  }, props.children);
13
13
  };
14
+ TimeLine.displayName = 'ElTimeLine';
14
15
  export default TimeLine;
@@ -67,4 +67,5 @@ var TimeLineItem = function TimeLineItem(props) {
67
67
  className: classNames(e(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["timestamp"]))), is(placement))
68
68
  }, timestamp)));
69
69
  };
70
+ TimeLineItem.displayName = 'ElTimeLineItem';
70
71
  export default TimeLineItem;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IconName } from '../Icon';
3
- import { BaseProps, NativeProps } from '../types/common';
3
+ import { BaseProps, NativeProps, TypeAttributes } from '../types/common';
4
4
  export type TimeLineProps = BaseProps & NativeProps<'--el-timeline-node-size-normal' | '--el-timeline-node-size-large' | '--el-timeline-timestamp-color' | '--el-timeline-content-color' | '--el-timeline-content-font-size-small' | '--el-timeline-content-font-size-large' | '--el-timeline-node-color'>;
5
5
  export type TimeLineItemProps = BaseProps & NativeProps & {
6
6
  /** 时间戳 */
@@ -12,7 +12,7 @@ export type TimeLineItemProps = BaseProps & NativeProps & {
12
12
  /** 时间戳位置 */
13
13
  placement?: 'top' | 'bottom';
14
14
  /** 节点类型 */
15
- type?: 'primary' | 'success' | 'warning' | 'error' | 'info';
15
+ type?: TypeAttributes.Appearance;
16
16
  /** 节点颜色 */
17
17
  color?: string;
18
18
  /** 节点尺寸 */
@@ -1,10 +1,3 @@
1
- /**
2
- * @author Element Plus
3
- * @CreateTime 2022/4/1 09:09:12
4
- * @LastEditor Parker
5
- * @ModifyTime 2022/4/6 14:44:01
6
- * @Description Element Plus 时间选择面板工具类,见https://github.com/element-plus/element-plus
7
- */
8
1
  import { Compare, DisabledHours, DisabledMinutes, DisabledSeconds, RoleType } from './typings';
9
2
  export declare const getTimeLists: (disabledHours: DisabledHours, disabledMinutes: DisabledMinutes, disabledSeconds: DisabledSeconds) => {
10
3
  getHoursList: (role: RoleType, compare?: Compare) => boolean[];
@@ -1,11 +1,4 @@
1
- /**
2
- * @author Element Plus
3
- * @CreateTime 2022/4/1 09:09:12
4
- * @LastEditor Parker
5
- * @ModifyTime 2022/4/6 14:44:01
6
- * @Description Element Plus 时间选择面板工具类,见https://github.com/element-plus/element-plus
7
- */
8
-
1
+ // Element Plus 时间选择面板工具类
9
2
  import filter from 'lodash/filter';
10
3
  var makeList = function makeList(total, method, methodFunc) {
11
4
  var arr = [];
@@ -2,10 +2,6 @@ import { TransitionProps } from '../Transition';
2
2
  export declare const animationAllProps: string[];
3
3
  /**
4
4
  * Returns an array of objects consisting of: props of html input element and rest.
5
- * @author Parker
6
- * @CreateTime 2022/4/8 17:46:40
7
- * @LastEditor Parker
8
- * @ModifyTime 2022/4/22 15:38:45
9
5
  * @param {object} props A ReactElement props object
10
6
  * @param {Object} [options={}]
11
7
  * @param {Array} [options.htmlProps] An array of html input props
@@ -5,10 +5,6 @@ export var animationAllProps = ['transitionAppear', 'unmountOnExit', 'beforeEnte
5
5
 
6
6
  /**
7
7
  * Returns an array of objects consisting of: props of html input element and rest.
8
- * @author Parker
9
- * @CreateTime 2022/4/8 17:46:40
10
- * @LastEditor Parker
11
- * @ModifyTime 2022/4/22 15:38:45
12
8
  * @param {object} props A ReactElement props object
13
9
  * @param {Object} [options={}]
14
10
  * @param {Array} [options.htmlProps] An array of html input props
@@ -2,10 +2,6 @@ import { PopperProps } from '../Popper';
2
2
  export declare const popperAllProps: string[];
3
3
  /**
4
4
  * Returns an array of objects consisting of: props of html input element and rest.
5
- * @author Parker
6
- * @CreateTime 2022/4/8 17:46:40
7
- * @LastEditor Parker
8
- * @ModifyTime 2025/2/22 11:48:08
9
5
  * @param {object} props A ReactElement props object
10
6
  * @param {Object} [options={}]
11
7
  * @param {Array} [options.htmlProps] An array of html input props
@@ -5,10 +5,6 @@ export var popperAllProps = ['popperInstRef', 'offset', 'placement', 'arrowOffse
5
5
 
6
6
  /**
7
7
  * Returns an array of objects consisting of: props of html input element and rest.
8
- * @author Parker
9
- * @CreateTime 2022/4/8 17:46:40
10
- * @LastEditor Parker
11
- * @ModifyTime 2025/2/22 11:48:08
12
8
  * @param {object} props A ReactElement props object
13
9
  * @param {Object} [options={}]
14
10
  * @param {Array} [options.htmlProps] An array of html input props
@@ -2,10 +2,6 @@ import React from 'react';
2
2
  import { ComponentChildren } from '../types/common';
3
3
  /**
4
4
  * 获取特定名称的子组件
5
- * @author Parker
6
- * @CreateTime 2022/3/30下午2:08:36
7
- * @LastEditor Parker
8
- * @ModifyTime 2022/9/23 14:44:20
9
5
  * @param componentChildren 子组件
10
6
  * @param compName 目标组件名称 (`displayName`属性)
11
7
  * @param virtualCompName 子组件中的需要继续乡下递归查找的组件名称(`displayName`属性)
@@ -7,10 +7,6 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
7
7
  import { Children, Fragment, useCallback, useRef } from 'react';
8
8
  /**
9
9
  * 获取特定名称的子组件
10
- * @author Parker
11
- * @CreateTime 2022/3/30下午2:08:36
12
- * @LastEditor Parker
13
- * @ModifyTime 2022/9/23 14:44:20
14
10
  * @param componentChildren 子组件
15
11
  * @param compName 目标组件名称 (`displayName`属性)
16
12
  * @param virtualCompName 子组件中的需要继续乡下递归查找的组件名称(`displayName`属性)