linkmore-design 1.0.49 → 1.0.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/dist/Button/style/index.d.ts +1 -1
  2. package/dist/CardTable/fns/index.d.ts +9 -0
  3. package/dist/CardTable/hooks/usePagination.d.ts +19 -0
  4. package/dist/CardTable/toolbar/TablePagination.d.ts +4 -0
  5. package/dist/CardTable/toolbar/ToolBarBottom.d.ts +3 -0
  6. package/dist/List/demos/basic.d.ts +2 -0
  7. package/dist/List/index.d.ts +2 -0
  8. package/dist/List/style/index.d.ts +1 -0
  9. package/dist/LmEditTable/DndContainer.d.ts +5 -0
  10. package/dist/LmEditTable/DragHandle.d.ts +4 -0
  11. package/dist/LmEditTable/EditTable.d.ts +31 -0
  12. package/dist/LmEditTable/demos/Editbasic.d.ts +2 -0
  13. package/dist/LmEditTable/demos/basic.d.ts +2 -0
  14. package/dist/LmEditTable/demos/formEditTable.d.ts +2 -0
  15. package/dist/LmEditTable/demos/hoverEdit.d.ts +2 -0
  16. package/dist/LmEditTable/index.d.ts +2 -0
  17. package/dist/LmEditTable/sortableBox.d.ts +5 -0
  18. package/dist/LmEditTable/sortableItem.d.ts +2 -0
  19. package/dist/LmEditTable/style/index.d.ts +1 -0
  20. package/dist/index.d.ts +2 -0
  21. package/dist/index.umd.js +3853 -689
  22. package/dist/index.umd.min.js +6 -6
  23. package/dist/message/hooks/useMessage.d.ts +7 -0
  24. package/dist/message/index.d.ts +63 -4
  25. package/es/Button/style/{style.css → index.css} +0 -0
  26. package/es/Button/style/index.d.ts +1 -1
  27. package/es/Button/style/index.js +1 -1
  28. package/es/ButtonTags/style/{style.css → index.css} +0 -0
  29. package/es/ButtonTags/style/index.js +1 -1
  30. package/es/CardTable/card/PictureTextColumn.js +11 -6
  31. package/es/CardTable/card/PictureTextRow.js +11 -6
  32. package/es/CardTable/fns/index.js +106 -0
  33. package/es/CardTable/hooks/usePagination.js +128 -0
  34. package/es/CardTable/index.js +3 -0
  35. package/{lib/CardTable/style/style.css → es/CardTable/style/index.css} +13 -1
  36. package/es/CardTable/style/index.js +1 -1
  37. package/es/CardTable/table/TableRoot.js +43 -64
  38. package/es/CardTable/table/TableWrapper.js +4 -0
  39. package/es/CardTable/toolbar/TablePagination.js +62 -0
  40. package/es/CardTable/toolbar/ToolBarBottom.js +47 -0
  41. package/es/Checkbox/style/{style.css → index.css} +0 -0
  42. package/es/Checkbox/style/index.js +1 -1
  43. package/es/CkFilter/style/{style.css → index.css} +0 -0
  44. package/es/CkFilter/style/index.js +1 -1
  45. package/es/CustomTableOption/columnsSort.js +5 -5
  46. package/es/CustomTableOption/filterSort.js +3 -3
  47. package/es/CustomTableOption/index.js +1 -2
  48. package/es/CustomerService/style/{style.css → index.css} +0 -0
  49. package/es/CustomerService/style/index.js +1 -1
  50. package/es/EditTable/style/{style.css → index.css} +0 -0
  51. package/es/EditTable/style/index.js +1 -1
  52. package/es/EnlargeImg/style/{style.css → index.css} +0 -0
  53. package/es/EnlargeImg/style/index.js +1 -1
  54. package/es/Filter/style/{style.css → index.css} +0 -0
  55. package/es/Filter/style/index.js +1 -1
  56. package/es/IconSelect/style/{style.css → index.css} +0 -0
  57. package/es/IconSelect/style/index.js +1 -1
  58. package/{lib/Input/style/style.css → es/Input/style/index.css} +21 -1
  59. package/es/Input/style/index.js +1 -1
  60. package/es/LeftTable/style/{style.css → index.css} +0 -0
  61. package/es/LeftTable/style/index.js +1 -1
  62. package/es/List/index.d.ts +2 -0
  63. package/es/List/index.js +3 -0
  64. package/es/List/style/index.css +505 -0
  65. package/es/List/style/index.d.ts +1 -0
  66. package/es/List/style/index.js +1 -0
  67. package/es/LmEditTable/DndContainer.d.ts +5 -0
  68. package/es/LmEditTable/DndContainer.js +35 -0
  69. package/es/LmEditTable/DragHandle.d.ts +4 -0
  70. package/es/LmEditTable/DragHandle.js +22 -0
  71. package/es/LmEditTable/EditTable.d.ts +31 -0
  72. package/es/LmEditTable/EditTable.js +892 -0
  73. package/es/LmEditTable/index.d.ts +2 -0
  74. package/es/LmEditTable/index.js +2 -0
  75. package/es/LmEditTable/sortableBox.d.ts +5 -0
  76. package/es/LmEditTable/sortableBox.js +13 -0
  77. package/es/LmEditTable/sortableItem.d.ts +2 -0
  78. package/es/LmEditTable/sortableItem.js +43 -0
  79. package/es/LmEditTable/style/index.css +574 -0
  80. package/es/LmEditTable/style/index.d.ts +1 -0
  81. package/es/LmEditTable/style/index.js +1 -0
  82. package/es/LmTable/Table.js +16 -6
  83. package/{lib/LmTable/style/style.css → es/LmTable/style/index.css} +6 -0
  84. package/es/LmTable/style/index.js +1 -1
  85. package/es/OldModal/style/{style.css → index.css} +0 -0
  86. package/es/OldModal/style/index.js +1 -1
  87. package/es/PopTable/style/{style.css → index.css} +0 -0
  88. package/es/PopTable/style/index.js +1 -1
  89. package/es/ProTable/style/{style.css → index.css} +0 -0
  90. package/es/ProTable/style/index.js +1 -1
  91. package/es/Radio/style/{style.css → index.css} +0 -0
  92. package/es/Radio/style/index.js +1 -1
  93. package/es/Select/style/index.css +3 -0
  94. package/es/TableRender/style/{style.css → index.css} +0 -0
  95. package/es/TableRender/style/index.js +1 -1
  96. package/es/UploadOss/style/{style.css → index.css} +0 -0
  97. package/es/UploadOss/style/index.js +1 -1
  98. package/es/VirtualList/style/{style.css → index.css} +0 -0
  99. package/es/VirtualList/style/index.js +1 -1
  100. package/es/index.d.ts +2 -0
  101. package/es/index.js +3 -1
  102. package/es/message/hooks/useMessage.d.ts +7 -0
  103. package/es/message/hooks/useMessage.js +83 -0
  104. package/es/message/index.d.ts +63 -4
  105. package/es/message/index.js +241 -12
  106. package/es/message/style/index.css +27 -1
  107. package/lib/Button/style/{style.css → index.css} +0 -0
  108. package/lib/Button/style/index.d.ts +1 -1
  109. package/lib/Button/style/index.js +1 -1
  110. package/lib/ButtonTags/style/{style.css → index.css} +0 -0
  111. package/lib/ButtonTags/style/index.js +1 -1
  112. package/lib/CardTable/card/PictureTextColumn.js +11 -6
  113. package/lib/CardTable/card/PictureTextRow.js +11 -6
  114. package/lib/CardTable/fns/index.js +106 -0
  115. package/lib/CardTable/hooks/usePagination.js +128 -0
  116. package/lib/CardTable/index.js +3 -0
  117. package/{es/CardTable/style/style.css → lib/CardTable/style/index.css} +13 -1
  118. package/lib/CardTable/style/index.js +1 -1
  119. package/lib/CardTable/table/TableRoot.js +43 -64
  120. package/lib/CardTable/table/TableWrapper.js +4 -0
  121. package/lib/CardTable/toolbar/TablePagination.js +62 -0
  122. package/lib/CardTable/toolbar/ToolBarBottom.js +47 -0
  123. package/lib/Checkbox/style/{style.css → index.css} +0 -0
  124. package/lib/Checkbox/style/index.js +1 -1
  125. package/lib/CkFilter/style/{style.css → index.css} +0 -0
  126. package/lib/CkFilter/style/index.js +1 -1
  127. package/lib/CustomTableOption/columnsSort.js +5 -5
  128. package/lib/CustomTableOption/filterSort.js +3 -3
  129. package/lib/CustomTableOption/index.js +1 -2
  130. package/lib/CustomerService/style/{style.css → index.css} +0 -0
  131. package/lib/CustomerService/style/index.js +1 -1
  132. package/lib/EditTable/style/{style.css → index.css} +0 -0
  133. package/lib/EditTable/style/index.js +1 -1
  134. package/lib/EnlargeImg/style/{style.css → index.css} +0 -0
  135. package/lib/EnlargeImg/style/index.js +1 -1
  136. package/lib/Filter/style/{style.css → index.css} +0 -0
  137. package/lib/Filter/style/index.js +1 -1
  138. package/lib/IconSelect/style/{style.css → index.css} +0 -0
  139. package/lib/IconSelect/style/index.js +1 -1
  140. package/{es/Input/style/style.css → lib/Input/style/index.css} +21 -1
  141. package/lib/Input/style/index.js +1 -1
  142. package/lib/LeftTable/style/{style.css → index.css} +0 -0
  143. package/lib/LeftTable/style/index.js +1 -1
  144. package/lib/List/index.d.ts +2 -0
  145. package/lib/List/index.js +15 -0
  146. package/lib/List/style/index.css +505 -0
  147. package/lib/List/style/index.d.ts +1 -0
  148. package/lib/List/style/index.js +3 -0
  149. package/lib/LmEditTable/DndContainer.d.ts +5 -0
  150. package/lib/LmEditTable/DndContainer.js +49 -0
  151. package/lib/LmEditTable/DragHandle.d.ts +4 -0
  152. package/lib/LmEditTable/DragHandle.js +37 -0
  153. package/lib/LmEditTable/EditTable.d.ts +31 -0
  154. package/lib/LmEditTable/EditTable.js +925 -0
  155. package/lib/LmEditTable/index.d.ts +2 -0
  156. package/lib/LmEditTable/index.js +13 -0
  157. package/lib/LmEditTable/sortableBox.d.ts +5 -0
  158. package/lib/LmEditTable/sortableBox.js +24 -0
  159. package/lib/LmEditTable/sortableItem.d.ts +2 -0
  160. package/lib/LmEditTable/sortableItem.js +55 -0
  161. package/lib/LmEditTable/style/index.css +574 -0
  162. package/lib/LmEditTable/style/index.d.ts +1 -0
  163. package/lib/LmEditTable/style/index.js +3 -0
  164. package/lib/LmTable/Table.js +16 -6
  165. package/{es/LmTable/style/style.css → lib/LmTable/style/index.css} +6 -0
  166. package/lib/LmTable/style/index.js +1 -1
  167. package/lib/OldModal/style/{style.css → index.css} +0 -0
  168. package/lib/OldModal/style/index.js +1 -1
  169. package/lib/PopTable/style/{style.css → index.css} +0 -0
  170. package/lib/PopTable/style/index.js +1 -1
  171. package/lib/ProTable/style/{style.css → index.css} +0 -0
  172. package/lib/ProTable/style/index.js +1 -1
  173. package/lib/Radio/style/{style.css → index.css} +0 -0
  174. package/lib/Radio/style/index.js +1 -1
  175. package/lib/Select/style/index.css +3 -0
  176. package/lib/TableRender/style/{style.css → index.css} +0 -0
  177. package/lib/TableRender/style/index.js +1 -1
  178. package/lib/UploadOss/style/{style.css → index.css} +0 -0
  179. package/lib/UploadOss/style/index.js +1 -1
  180. package/lib/VirtualList/style/{style.css → index.css} +0 -0
  181. package/lib/VirtualList/style/index.js +1 -1
  182. package/lib/index.d.ts +2 -0
  183. package/lib/index.js +17 -1
  184. package/lib/message/hooks/useMessage.d.ts +7 -0
  185. package/lib/message/hooks/useMessage.js +101 -0
  186. package/lib/message/index.d.ts +63 -4
  187. package/lib/message/index.js +262 -16
  188. package/lib/message/style/index.css +27 -1
  189. package/package.json +2 -1
@@ -0,0 +1,7 @@
1
+ import type { NoticeContent as RCNoticeContent, NotificationInstance as RCNotificationInstance } from 'rc-notification/lib/Notification';
2
+ import * as React from 'react';
3
+ import type { ArgsProps, MessageInstance } from '..';
4
+ export default function createUseMessage(getRcNotificationInstance: (args: ArgsProps, callback: (info: {
5
+ prefixCls: string;
6
+ instance: RCNotificationInstance;
7
+ }) => void) => void, getRCNoticeProps: (args: ArgsProps, prefixCls: string) => RCNoticeContent): () => [MessageInstance, React.ReactElement];
@@ -1,7 +1,66 @@
1
+ import type { NotificationInstance as RCNotificationInstance } from 'rc-notification/lib/Notification';
1
2
  import React from 'react';
2
- import { message } from 'antd';
3
- export interface IMessageProps {
4
- className?: string;
3
+ export declare function getKeyThenIncreaseKey(): number;
4
+ export interface ConfigOptions {
5
+ top?: number;
6
+ duration?: number;
7
+ prefixCls?: string;
8
+ getContainer?: () => HTMLElement;
9
+ transitionName?: string;
10
+ maxCount?: number;
11
+ rtl?: boolean;
12
+ }
13
+ export interface ThenableArgument {
14
+ (val: any): void;
15
+ }
16
+ export interface MessageType extends PromiseLike<any> {
17
+ (): void;
18
+ }
19
+ declare const typeToIcon: {
20
+ info: React.ForwardRefExoticComponent<Pick<import("@ant-design/icons/lib/components/AntdIcon").AntdIconProps, "max" | "required" | "type" | "data" | "default" | "high" | "low" | "key" | "id" | "media" | "height" | "width" | "start" | "open" | "name" | "color" | "content" | "rotate" | "translate" | "value" | "hidden" | "cite" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "acceptCharset" | "action" | "method" | "noValidate" | "target" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "async" | "disabled" | "multiple" | "size" | "manifest" | "wrap" | "src" | "accept" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "min" | "minLength" | "muted" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "spin" | "twoToneColor"> & React.RefAttributes<HTMLSpanElement>>;
21
+ success: React.ForwardRefExoticComponent<Pick<import("@ant-design/icons/lib/components/AntdIcon").AntdIconProps, "max" | "required" | "type" | "data" | "default" | "high" | "low" | "key" | "id" | "media" | "height" | "width" | "start" | "open" | "name" | "color" | "content" | "rotate" | "translate" | "value" | "hidden" | "cite" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "acceptCharset" | "action" | "method" | "noValidate" | "target" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "async" | "disabled" | "multiple" | "size" | "manifest" | "wrap" | "src" | "accept" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "min" | "minLength" | "muted" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "spin" | "twoToneColor"> & React.RefAttributes<HTMLSpanElement>>;
22
+ error: React.ForwardRefExoticComponent<Pick<import("@ant-design/icons/lib/components/AntdIcon").AntdIconProps, "max" | "required" | "type" | "data" | "default" | "high" | "low" | "key" | "id" | "media" | "height" | "width" | "start" | "open" | "name" | "color" | "content" | "rotate" | "translate" | "value" | "hidden" | "cite" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "acceptCharset" | "action" | "method" | "noValidate" | "target" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "async" | "disabled" | "multiple" | "size" | "manifest" | "wrap" | "src" | "accept" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "min" | "minLength" | "muted" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "spin" | "twoToneColor"> & React.RefAttributes<HTMLSpanElement>>;
23
+ warning: React.ForwardRefExoticComponent<Pick<import("@ant-design/icons/lib/components/AntdIcon").AntdIconProps, "max" | "required" | "type" | "data" | "default" | "high" | "low" | "key" | "id" | "media" | "height" | "width" | "start" | "open" | "name" | "color" | "content" | "rotate" | "translate" | "value" | "hidden" | "cite" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "acceptCharset" | "action" | "method" | "noValidate" | "target" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "async" | "disabled" | "multiple" | "size" | "manifest" | "wrap" | "src" | "accept" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "min" | "minLength" | "muted" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "spin" | "twoToneColor"> & React.RefAttributes<HTMLSpanElement>>;
24
+ loading: React.ForwardRefExoticComponent<Pick<import("@ant-design/icons/lib/components/AntdIcon").AntdIconProps, "max" | "required" | "type" | "data" | "default" | "high" | "low" | "key" | "id" | "media" | "height" | "width" | "start" | "open" | "name" | "color" | "content" | "rotate" | "translate" | "value" | "hidden" | "cite" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "acceptCharset" | "action" | "method" | "noValidate" | "target" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "async" | "disabled" | "multiple" | "size" | "manifest" | "wrap" | "src" | "accept" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "min" | "minLength" | "muted" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "spin" | "twoToneColor"> & React.RefAttributes<HTMLSpanElement>>;
25
+ };
26
+ export declare type NoticeType = keyof typeof typeToIcon;
27
+ export declare const typeList: ("info" | "success" | "error" | "warning" | "loading")[];
28
+ export interface ArgsProps {
29
+ content: any;
30
+ duration?: number;
31
+ type?: NoticeType;
32
+ prefixCls?: string;
33
+ rootPrefixCls?: string;
34
+ getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement;
35
+ onClose?: () => void;
36
+ icon?: React.ReactNode;
37
+ key?: string | number;
5
38
  style?: React.CSSProperties;
39
+ className?: string;
40
+ onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
41
+ /** 是否要显示进度条 */
42
+ progress?: boolean;
43
+ }
44
+ declare type ConfigContent = React.ReactNode;
45
+ declare type ConfigDuration = number | (() => void);
46
+ declare type JointContent = ConfigContent | ArgsProps;
47
+ export declare type ConfigOnClose = () => void;
48
+ export declare function attachTypeApi(originalApi: MessageApi, type: NoticeType): void;
49
+ export interface MessageInstance {
50
+ info(content: JointContent, duration?: ConfigDuration, onClose?: ConfigOnClose): MessageType;
51
+ success(content: JointContent, duration?: ConfigDuration, onClose?: ConfigOnClose): MessageType;
52
+ error(content: JointContent, duration?: ConfigDuration, onClose?: ConfigOnClose): MessageType;
53
+ warning(content: JointContent, duration?: ConfigDuration, onClose?: ConfigOnClose): MessageType;
54
+ loading(content: JointContent, duration?: ConfigDuration, onClose?: ConfigOnClose): MessageType;
55
+ open(args: ArgsProps): MessageType;
56
+ }
57
+ export interface MessageApi extends MessageInstance {
58
+ warn(content: JointContent, duration?: ConfigDuration, onClose?: ConfigOnClose): MessageType;
59
+ config(options: ConfigOptions): void;
60
+ destroy(messageKey?: React.Key): void;
61
+ useMessage(): [MessageInstance, React.ReactElement];
6
62
  }
7
- export default message;
63
+ /** @private test Only function. Not work on production */
64
+ export declare const getInstance: () => RCNotificationInstance;
65
+ declare const _default: MessageApi;
66
+ export default _default;
File without changes
@@ -1 +1 @@
1
- import './style.less';
1
+ import './index.less';
@@ -1 +1 @@
1
- import "./style.css";
1
+ import "./index.css";
File without changes
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./style.css");
3
+ require("./index.css");
@@ -28,11 +28,13 @@ var PictureTextColumn = function PictureTextColumn(_ref) {
28
28
  cell = _ref.cell,
29
29
  table = _ref.table,
30
30
  checked = _ref.checked;
31
- var state = table.state,
31
+ var cellKey = table.cellKey,
32
+ state = table.state,
32
33
  defaultConfig = table.defaultConfig,
33
34
  cellClick = table.cellClick,
34
35
  cellDoubleClick = table.cellDoubleClick,
35
- setSelectCells = table.setSelectCells;
36
+ toggleCheckboxKey = table.toggleCheckboxKey,
37
+ checkboxChange = table.checkboxChange;
36
38
  var trigger = state.checkboxConfig.trigger;
37
39
  var clickFlag = (0, _react.useRef)(null);
38
40
  var resetDefaultConfig = (0, _objectSpread2.default)({
@@ -46,8 +48,9 @@ var PictureTextColumn = function PictureTextColumn(_ref) {
46
48
  extend: null
47
49
  }, defaultConfig); // 复选框改变事件, 将复选数据保存到缓存中
48
50
 
49
- var onSelectChange = function onSelectChange(e) {
50
- setSelectCells === null || setSelectCells === void 0 ? void 0 : setSelectCells(e.target.checked, cell, index);
51
+ var onSelectChange = function onSelectChange(val) {
52
+ toggleCheckboxKey(cell[cellKey]);
53
+ checkboxChange === null || checkboxChange === void 0 ? void 0 : checkboxChange(val, cell, index);
51
54
  }; // 单元格单击事件
52
55
 
53
56
 
@@ -58,7 +61,7 @@ var PictureTextColumn = function PictureTextColumn(_ref) {
58
61
  cellClick === null || cellClick === void 0 ? void 0 : cellClick(cell, index);
59
62
 
60
63
  if (trigger === 'cell') {
61
- setSelectCells === null || setSelectCells === void 0 ? void 0 : setSelectCells(!checked, cell, index);
64
+ onSelectChange === null || onSelectChange === void 0 ? void 0 : onSelectChange(!checked);
62
65
  } // }, 200)
63
66
 
64
67
  }; // 单元格双击事件: 双击时避免单击事件触发自己实现
@@ -82,7 +85,9 @@ var PictureTextColumn = function PictureTextColumn(_ref) {
82
85
  }
83
86
  }, /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Checkbox, {
84
87
  checked: checked,
85
- onChange: onSelectChange
88
+ onChange: function onChange(e) {
89
+ return onSelectChange(e.target.checked);
90
+ }
86
91
  })), resetDefaultConfig.operate ? /*#__PURE__*/_react.default.createElement("div", {
87
92
  className: "PTC_operate"
88
93
  }, /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Dropdown, {
@@ -38,11 +38,13 @@ var PictureTextRow = function PictureTextRow(_ref) {
38
38
  cell = _ref.cell,
39
39
  table = _ref.table,
40
40
  checked = _ref.checked;
41
- var state = table.state,
41
+ var cellKey = table.cellKey,
42
+ state = table.state,
42
43
  defaultConfig = table.defaultConfig,
43
44
  cellClick = table.cellClick,
44
45
  cellDoubleClick = table.cellDoubleClick,
45
- setSelectCells = table.setSelectCells;
46
+ toggleCheckboxKey = table.toggleCheckboxKey,
47
+ checkboxChange = table.checkboxChange;
46
48
  var trigger = state.checkboxConfig.trigger;
47
49
  var resetDefaultConfig = (0, _objectSpread2.default)({
48
50
  checkbox: true,
@@ -98,8 +100,9 @@ var PictureTextRow = function PictureTextRow(_ref) {
98
100
  }
99
101
  }, defaultConfig); // 复选框改变事件, 将复选数据保存到缓存中
100
102
 
101
- var onSelctChange = function onSelctChange(e) {
102
- setSelectCells === null || setSelectCells === void 0 ? void 0 : setSelectCells(e.target.checked, cell, index);
103
+ var onSelctChange = function onSelctChange(val) {
104
+ toggleCheckboxKey(cell[cellKey]);
105
+ checkboxChange === null || checkboxChange === void 0 ? void 0 : checkboxChange(val, cell, index);
103
106
  }; // 单元格单击事件
104
107
 
105
108
 
@@ -107,7 +110,7 @@ var PictureTextRow = function PictureTextRow(_ref) {
107
110
  cellClick === null || cellClick === void 0 ? void 0 : cellClick(cell, index);
108
111
 
109
112
  if (trigger === 'cell') {
110
- setSelectCells === null || setSelectCells === void 0 ? void 0 : setSelectCells(!checked, cell, index);
113
+ onSelctChange === null || onSelctChange === void 0 ? void 0 : onSelctChange(!checked);
111
114
  }
112
115
  }; // 单元格双击事件: 双击时避免单击事件触发自己实现
113
116
 
@@ -131,7 +134,9 @@ var PictureTextRow = function PictureTextRow(_ref) {
131
134
  }
132
135
  }, /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Checkbox, {
133
136
  checked: checked,
134
- onChange: onSelctChange
137
+ onChange: function onChange() {
138
+ return onSelctChange(e.target.checked);
139
+ }
135
140
  })), /*#__PURE__*/_react.default.createElement("div", {
136
141
  className: "card_PTR_left"
137
142
  }, typeof resetDefaultConfig.imgurl === 'function' ? resetDefaultConfig.imgurl(cell, table) : /*#__PURE__*/_react.default.createElement(_image.default, {
@@ -0,0 +1,106 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.default = void 0;
9
+
10
+ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/toConsumableArray"));
11
+
12
+ // 操作方法集合
13
+ var setOptions = function setOptions(_ref) {
14
+ var state = _ref.state,
15
+ dispatch = _ref.dispatch,
16
+ props = _ref.props;
17
+ var checkboxConfig = state.checkboxConfig;
18
+ var dataSource = props.dataSource,
19
+ cellKey = props.cellKey;
20
+ var checkKeys = checkboxConfig.checkKeys,
21
+ checkValues = checkboxConfig.checkValues; // 设置选中的值: 第一个参数是数据的键,第二个参数是选中与否, 第三个参数控制是否重置
22
+ // 未做key是否属于数据源校验,用于分页时保存之前的选中状态
23
+
24
+ var setCheckboxKeys = function setCheckboxKeys(keys, checked, reset) {
25
+ var flag = typeof checked === 'boolean' ? checked : true;
26
+ var nKeys = keys,
27
+ nValues = [];
28
+
29
+ if (reset) {
30
+ nValues = (dataSource === null || dataSource === void 0 ? void 0 : dataSource.filter(function (v) {
31
+ return nKeys.includes(v[cellKey]);
32
+ })) || [];
33
+ dispatch({
34
+ type: 'changeCheckboxConfig',
35
+ checkboxConfig: {
36
+ checkKeys: nKeys,
37
+ checkValues: nValues
38
+ }
39
+ });
40
+ return;
41
+ }
42
+
43
+ if (flag) {
44
+ nKeys = Array.from(new Set([].concat((0, _toConsumableArray2.default)(checkKeys), (0, _toConsumableArray2.default)(keys))));
45
+ nValues = (dataSource === null || dataSource === void 0 ? void 0 : dataSource.filter(function (v) {
46
+ return nKeys.includes(v[cellKey]);
47
+ })) || [];
48
+ } else {
49
+ nKeys = checkKeys.filter(function (v) {
50
+ return !keys.includes(v);
51
+ });
52
+ nValues = checkValues.filter(function (v) {
53
+ return !keys.includes(v[cellKey]);
54
+ });
55
+ }
56
+
57
+ dispatch({
58
+ type: 'changeCheckboxConfig',
59
+ checkboxConfig: {
60
+ checkKeys: nKeys,
61
+ checkValues: nValues
62
+ }
63
+ });
64
+ }; // 切换选中状态: 单个切换/批量切换
65
+
66
+
67
+ var toggleCheckboxKey = function toggleCheckboxKey(k) {
68
+ var nKeys = [k],
69
+ isChecked = true,
70
+ reset = false; // 单个切换
71
+
72
+ if (!Array.isArray(k)) {
73
+ isChecked = !(checkKeys === null || checkKeys === void 0 ? void 0 : checkKeys.some(function (v) {
74
+ return v === k;
75
+ }));
76
+ } // 多个切换
77
+
78
+
79
+ if (Array.isArray(k)) {
80
+ var checkArr = checkKeys.filter(function (v) {
81
+ return !k.includes(v);
82
+ }); // 选中的值
83
+
84
+ var notCheckArr = k.filter(function (v) {
85
+ return !checkKeys.includes(v);
86
+ }); // 未选中的值
87
+
88
+ nKeys = [].concat((0, _toConsumableArray2.default)(notCheckArr), (0, _toConsumableArray2.default)(checkArr)); // 组合新值为选中状态
89
+
90
+ var nValues = dataSource === null || dataSource === void 0 ? void 0 : dataSource.filter(function (v) {
91
+ return nKeys.includes(v[cellKey]);
92
+ });
93
+ reset = true;
94
+ }
95
+
96
+ setCheckboxKeys(nKeys, isChecked, reset);
97
+ };
98
+
99
+ return {
100
+ setCheckboxKeys: setCheckboxKeys,
101
+ toggleCheckboxKey: toggleCheckboxKey
102
+ };
103
+ };
104
+
105
+ var _default = setOptions;
106
+ exports.default = _default;
@@ -0,0 +1,128 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.default = void 0;
9
+
10
+ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
11
+
12
+ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/toConsumableArray"));
13
+
14
+ var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
15
+
16
+ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/asyncToGenerator"));
17
+
18
+ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
19
+
20
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
21
+
22
+ var _react = require("react");
23
+
24
+ var _excluded = ["defaultPageSize", "defaultCurrent", "refreshDeps"];
25
+
26
+ var usePagination = function usePagination(service) {
27
+ var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
28
+ var _options$defaultPageS = options.defaultPageSize,
29
+ defaultPageSize = _options$defaultPageS === void 0 ? 20 : _options$defaultPageS,
30
+ _options$defaultCurre = options.defaultCurrent,
31
+ defaultCurrent = _options$defaultCurre === void 0 ? 1 : _options$defaultCurre,
32
+ _options$refreshDeps = options.refreshDeps,
33
+ refreshDeps = _options$refreshDeps === void 0 ? [] : _options$refreshDeps,
34
+ rest = (0, _objectWithoutProperties2.default)(options, _excluded);
35
+
36
+ var _useState = (0, _react.useState)({
37
+ loading: false,
38
+ data: {
39
+ pageIndex: defaultCurrent,
40
+ pageSize: defaultPageSize
41
+ }
42
+ }),
43
+ _useState2 = (0, _slicedToArray2.default)(_useState, 2),
44
+ result = _useState2[0],
45
+ setResult = _useState2[1];
46
+
47
+ var getRequest = (0, _react.useCallback)( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
48
+ var c,
49
+ p,
50
+ res,
51
+ _args = arguments;
52
+ return _regenerator.default.wrap(function _callee$(_context) {
53
+ while (1) {
54
+ switch (_context.prev = _context.next) {
55
+ case 0:
56
+ c = _args.length > 0 && _args[0] !== undefined ? _args[0] : defaultCurrent;
57
+ p = _args.length > 1 && _args[1] !== undefined ? _args[1] : defaultPageSize;
58
+ setResult(function (old) {
59
+ return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, old), {}, {
60
+ loading: true
61
+ });
62
+ });
63
+ _context.next = 5;
64
+ return service((0, _objectSpread2.default)({
65
+ current: c,
66
+ pageSize: p
67
+ }, rest));
68
+
69
+ case 5:
70
+ res = _context.sent;
71
+ setResult(function (old) {
72
+ return (0, _objectSpread2.default)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, old), res), {}, {
73
+ loading: false
74
+ });
75
+ });
76
+
77
+ case 7:
78
+ case "end":
79
+ return _context.stop();
80
+ }
81
+ }
82
+ }, _callee);
83
+ })), [service].concat((0, _toConsumableArray2.default)(refreshDeps)));
84
+
85
+ var _ref2 = (result === null || result === void 0 ? void 0 : result.data) || {},
86
+ _ref2$pageIndex = _ref2.pageIndex,
87
+ pageIndex = _ref2$pageIndex === void 0 ? 1 : _ref2$pageIndex,
88
+ _ref2$pageSize = _ref2.pageSize,
89
+ pageSize = _ref2$pageSize === void 0 ? defaultPageSize : _ref2$pageSize,
90
+ _ref2$totalCount = _ref2.totalCount,
91
+ totalCount = _ref2$totalCount === void 0 ? 0 : _ref2$totalCount; // 总页数
92
+
93
+
94
+ var totalPage = (0, _react.useMemo)(function () {
95
+ return Math.ceil(totalCount / pageSize);
96
+ }, [pageSize, totalCount]); // 分页改变触发
97
+
98
+ var onChange = function onChange(c, p) {
99
+ return getRequest(c, p);
100
+ }; // 手动重取数据, 不传入数据则触发刷新
101
+
102
+
103
+ var refetch = function refetch(_ref3) {
104
+ var _ref3$current = _ref3.current,
105
+ c = _ref3$current === void 0 ? pageIndex : _ref3$current,
106
+ _ref3$pageSize = _ref3.pageSize,
107
+ p = _ref3$pageSize === void 0 ? pageSize : _ref3$pageSize;
108
+ return getRequest(c, p);
109
+ }; // 初始化获取数据
110
+
111
+
112
+ (0, _react.useEffect)(function () {
113
+ getRequest(defaultCurrent, defaultPageSize);
114
+ }, [getRequest]);
115
+ return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, result), {}, {
116
+ refetch: refetch,
117
+ pagination: {
118
+ current: pageIndex,
119
+ pageSize: pageSize,
120
+ total: totalCount,
121
+ totalPage: totalPage,
122
+ onChange: onChange
123
+ }
124
+ });
125
+ };
126
+
127
+ var _default = usePagination;
128
+ exports.default = _default;
@@ -9,6 +9,9 @@ exports.default = void 0;
9
9
 
10
10
  var _LmCardTable = _interopRequireDefault(require("./LmCardTable"));
11
11
 
12
+ var _usePagination = _interopRequireDefault(require("./hooks/usePagination"));
13
+
14
+ _LmCardTable.default.usePagination = _usePagination.default;
12
15
  var _default = _LmCardTable.default; // export * from LmCardTable;
13
16
 
14
17
  exports.default = _default;
@@ -1,8 +1,10 @@
1
1
  .lm_card_table_wrapper {
2
2
  height: 100%;
3
+ display: flex;
4
+ flex-flow: column;
3
5
  }
4
6
  .lm_card_table_wrapper .lm_card_table_container {
5
- height: 100%;
7
+ flex: 1 1 0;
6
8
  overflow: auto;
7
9
  }
8
10
  .lm_card_table_wrapper .lm_card_table_container .lm_card_table .lm_card_table_body .lm_card_table_body_row {
@@ -22,6 +24,16 @@
22
24
  .lm_card_table_wrapper .lm_card_table_container .lm_card_table .lm_card_table_body .lm_card_table_body_row .lm_card_table_body_cell.cell_checked {
23
25
  border-color: var(--primary-color);
24
26
  }
27
+ .lm_card_table_wrapper .lm_card_table_toolbar_bottom {
28
+ display: flex;
29
+ align-items: center;
30
+ justify-content: space-between;
31
+ }
32
+ .lm_card_table_wrapper .lm_card_table_toolbar_bottom .lm_card_table_pagination {
33
+ display: flex;
34
+ align-items: center;
35
+ height: 48px;
36
+ }
25
37
  .card_PTC {
26
38
  height: 100%;
27
39
  }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./style.css");
3
+ require("./index.css");