@ccs-ui/rc-pro 2.4.7-beta.1 → 2.4.7-beta.11

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 (259) hide show
  1. package/docs-dist/404.html +2 -2
  2. package/docs-dist/{1080.145ad951.async.js → 6025.8fc7c55e.async.js} +224 -224
  3. package/docs-dist/atom__demos.018af23a.async.js +1 -0
  4. package/docs-dist/docs__rc-pro__atom___api__index.md.c5e40391.async.js +1 -0
  5. package/docs-dist/docs__rc-pro__atom___api__interfaces__AtomLoadingProps.md.ef6008b3.async.js +1 -0
  6. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomCountdownInstance.md.848197ad.async.js +1 -0
  7. package/docs-dist/{docs__rc-pro__atom___api__type-aliases__AtomResizeProps.md.8d06e954.async.js → docs__rc-pro__atom___api__type-aliases__AtomResizeProps.md.bf89a64a.async.js} +1 -1
  8. package/docs-dist/docs__rc-pro__index.md.25f3dfbd.async.js +1 -0
  9. package/docs-dist/docs__rc-pro__page-layout___api__index.md.c535e6b4.async.js +1 -0
  10. package/docs-dist/docs__rc-pro__page-layout___api__interfaces__KeepAliveTabsProps.md.eb8758c8.async.js +1 -0
  11. package/docs-dist/docs__rc-pro__page-layout___api__interfaces__SinglePageProps.md.998482de.async.js +1 -0
  12. package/docs-dist/docs__rc-pro__page-layout___api__type-aliases__MenuType.md.c1ce3b8d.async.js +1 -0
  13. package/docs-dist/guide/index.html +2 -2
  14. package/docs-dist/index.html +2 -2
  15. package/docs-dist/meta__docs.67dd31e4.async.js +176 -0
  16. package/docs-dist/{meta__packages.5b16e5e9.chunk.css → meta__packages.6918a5b3.chunk.css} +1 -1
  17. package/docs-dist/{meta__packages.cc6973b6.async.js → meta__packages.6de41e0e.async.js} +1523 -446
  18. package/docs-dist/{packages__rc-pro__src__layout-keep-alive__index.md.c96442ea.async.js → packages__rc-pro__src__page-layout__index.md.aea364ef.async.js} +1 -1
  19. package/docs-dist/packages__rc-pro__src__pro-table__index.md.038f16c9.async.js +27 -0
  20. package/docs-dist/plugins/index.html +2 -2
  21. package/docs-dist/preload_helper.5834d842.js +1 -0
  22. package/docs-dist/pro-table__demos.c20007f1.async.js +1 -0
  23. package/docs-dist/rc-pro/atom/_api/enumerations/DataEvent.md/index.html +2 -2
  24. package/docs-dist/rc-pro/atom/_api/index.md/index.html +2 -2
  25. package/docs-dist/rc-pro/atom/_api/interfaces/AtomCheckboxProps.md/index.html +2 -2
  26. package/docs-dist/rc-pro/atom/_api/interfaces/AtomEllipsisProps.md/index.html +2 -2
  27. package/docs-dist/rc-pro/atom/_api/interfaces/AtomFullScreenProps.md/index.html +2 -2
  28. package/docs-dist/rc-pro/{layout-keep-alive/_api/index.md → atom/_api/interfaces/AtomLoadingProps.md}/index.html +2 -2
  29. package/docs-dist/rc-pro/atom/_api/interfaces/AtomMultiStateProps.md/index.html +2 -2
  30. package/docs-dist/rc-pro/atom/_api/interfaces/ResizeSize.md/index.html +2 -2
  31. package/docs-dist/rc-pro/{layout-keep-alive/_api/interfaces/KeepAliveTabsProps.md → atom/_api/type-aliases/AtomCountdownInstance.md}/index.html +2 -2
  32. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomCountdownProps.md/index.html +2 -2
  33. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFilterInstance.md/index.html +2 -2
  34. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFilterProps.md/index.html +2 -2
  35. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFormItem.md/index.html +2 -2
  36. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFormItems.md/index.html +2 -2
  37. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomOperationProps.md/index.html +2 -2
  38. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomPageRequestProps.md/index.html +2 -2
  39. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomResizeProps.md/index.html +2 -2
  40. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomTitleProps.md/index.html +2 -2
  41. package/docs-dist/rc-pro/atom/_api/type-aliases/TableEventHandle.md/index.html +2 -2
  42. package/docs-dist/rc-pro/button/_api/index.md/index.html +2 -2
  43. package/docs-dist/rc-pro/button/_api/interfaces/ButtonGroupProps.md/index.html +2 -2
  44. package/docs-dist/rc-pro/button/_api/interfaces/DropdownProps.md/index.html +2 -2
  45. package/docs-dist/rc-pro/button/_api/interfaces/GroupButtonItem.md/index.html +2 -2
  46. package/docs-dist/rc-pro/button/_api/type-aliases/ButtonProps.md/index.html +2 -2
  47. package/docs-dist/rc-pro/button/_api/type-aliases/DropdownClick.md/index.html +2 -2
  48. package/docs-dist/rc-pro/button/_api/type-aliases/DropdownMenuItemType.md/index.html +2 -2
  49. package/docs-dist/rc-pro/button/_api/type-aliases/GroupClick.md/index.html +2 -2
  50. package/docs-dist/rc-pro/cascader/_api/index.md/index.html +2 -2
  51. package/docs-dist/rc-pro/cascader/_api/type-aliases/ApiCascaderProps.md/index.html +2 -2
  52. package/docs-dist/rc-pro/context/_api/index.md/index.html +2 -2
  53. package/docs-dist/rc-pro/context/_api/type-aliases/AppConfigType.md/index.html +2 -2
  54. package/docs-dist/rc-pro/context/_api/type-aliases/AppFieldNames.md/index.html +2 -2
  55. package/docs-dist/rc-pro/context/_api/type-aliases/FnContextType.md/index.html +2 -2
  56. package/docs-dist/rc-pro/context/_api/type-aliases/PageContextType.md/index.html +2 -2
  57. package/docs-dist/rc-pro/context/_api/type-aliases/PageFieldNames.md/index.html +2 -2
  58. package/docs-dist/rc-pro/date-picker/_api/index.md/index.html +2 -2
  59. package/docs-dist/rc-pro/date-picker/_api/type-aliases/DatePickerProps.md/index.html +2 -2
  60. package/docs-dist/rc-pro/date-picker/_api/type-aliases/RangePickerProps.md/index.html +2 -2
  61. package/docs-dist/rc-pro/dialog/_api/index.md/index.html +2 -2
  62. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogContextType.md/index.html +2 -2
  63. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogDrawer.md/index.html +2 -2
  64. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogInterface.md/index.html +2 -2
  65. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogModal.md/index.html +2 -2
  66. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogProps.md/index.html +2 -2
  67. package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogButtonsProps.md/index.html +2 -2
  68. package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogDrawerProps.md/index.html +2 -2
  69. package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogModalProps.md/index.html +2 -2
  70. package/docs-dist/rc-pro/dialog/_api/type-aliases/OkBtnProps.md/index.html +2 -2
  71. package/docs-dist/rc-pro/dialog/_api/type-aliases/OkEvent.md/index.html +2 -2
  72. package/docs-dist/rc-pro/dialog/_api/type-aliases/Service.md/index.html +2 -2
  73. package/docs-dist/rc-pro/editor/_api/index.md/index.html +2 -2
  74. package/docs-dist/rc-pro/editor/_api/type-aliases/EditorCodeProps.md/index.html +2 -2
  75. package/docs-dist/rc-pro/editor/_api/type-aliases/EditorRichProps.md/index.html +2 -2
  76. package/docs-dist/rc-pro/editor/_api/type-aliases/LexicalEditorBaseProps.md/index.html +2 -2
  77. package/docs-dist/rc-pro/editor/_api/type-aliases/RichImageUpload.md/index.html +2 -2
  78. package/docs-dist/rc-pro/form/_api/index.md/index.html +2 -2
  79. package/docs-dist/rc-pro/form/_api/type-aliases/FormItem.md/index.html +2 -2
  80. package/docs-dist/rc-pro/form/_api/type-aliases/FormItemChildren.md/index.html +2 -2
  81. package/docs-dist/rc-pro/form/_api/type-aliases/FormItemProps.md/index.html +2 -2
  82. package/docs-dist/rc-pro/form/_api/type-aliases/FormListProps.md/index.html +2 -2
  83. package/docs-dist/rc-pro/form/_api/type-aliases/ListItemBtnProps.md/index.html +2 -2
  84. package/docs-dist/rc-pro/form/_api/type-aliases/RenderItem.md/index.html +2 -2
  85. package/docs-dist/rc-pro/form/_api/type-aliases/RenderItemButton.md/index.html +2 -2
  86. package/docs-dist/rc-pro/form/_api/type-aliases/RenderItemProps.md/index.html +2 -2
  87. package/docs-dist/rc-pro/form/_api/type-aliases/RuleType.md/index.html +2 -2
  88. package/docs-dist/rc-pro/form/_api/type-aliases/ShowValidateEvent.md/index.html +2 -2
  89. package/docs-dist/rc-pro/index.html +2 -2
  90. package/docs-dist/rc-pro/index.md/index.html +2 -2
  91. package/docs-dist/rc-pro/{layout-keep-alive/_api/type-aliases/MenuType.md → page-layout/_api/index.md}/index.html +2 -2
  92. package/docs-dist/rc-pro/{layout-single-page/_api/index.md → page-layout/_api/interfaces/KeepAliveTabsProps.md}/index.html +2 -2
  93. package/docs-dist/rc-pro/page-layout/_api/interfaces/SinglePageProps.md/index.html +15 -0
  94. package/docs-dist/rc-pro/page-layout/_api/type-aliases/MenuType.md/index.html +15 -0
  95. package/docs-dist/rc-pro/pro-table/_api/index.md/index.html +2 -2
  96. package/docs-dist/rc-pro/pro-table/_api/interfaces/ProTableProps.md/index.html +2 -2
  97. package/docs-dist/rc-pro/pro-table/_api/interfaces/TableInstance.md/index.html +2 -2
  98. package/docs-dist/rc-pro/pro-table/_api/interfaces/TableProps.md/index.html +2 -2
  99. package/docs-dist/rc-pro/pro-table/_api/type-aliases/LeafVerify.md/index.html +2 -2
  100. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableColumn.md/index.html +2 -2
  101. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableColumns.md/index.html +2 -2
  102. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableData.md/index.html +2 -2
  103. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableFormItems.md/index.html +2 -2
  104. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableInstanceRef.md/index.html +2 -2
  105. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TreeInstance.md/index.html +2 -2
  106. package/docs-dist/rc-pro/pro-tabs/_api/index.md/index.html +2 -2
  107. package/docs-dist/rc-pro/pro-tabs/_api/interfaces/TabsChangeProps.md/index.html +2 -2
  108. package/docs-dist/rc-pro/pro-tabs/_api/interfaces/TabsContextType.md/index.html +2 -2
  109. package/docs-dist/rc-pro/pro-tabs/_api/type-aliases/TabProps.md/index.html +2 -2
  110. package/docs-dist/rc-pro/select/_api/index.md/index.html +2 -2
  111. package/docs-dist/rc-pro/select/_api/type-aliases/ApiSelectProps.md/index.html +2 -2
  112. package/docs-dist/rc-pro/select/_api/type-aliases/CacheType.md/index.html +2 -2
  113. package/docs-dist/rc-pro/select/_api/type-aliases/CustomizeSelectProps.md/index.html +2 -2
  114. package/docs-dist/rc-pro/select/_api/type-aliases/ModalSelectProps.md/index.html +2 -2
  115. package/docs-dist/rc-pro/select/_api/type-aliases/SelectChildrenProps.md/index.html +2 -2
  116. package/docs-dist/rc-pro/select/_api/type-aliases/SelectProps.md/index.html +2 -2
  117. package/docs-dist/rc-pro/upload/_api/index.md/index.html +2 -2
  118. package/docs-dist/rc-pro/upload/_api/interfaces/ImageInfo.md/index.html +2 -2
  119. package/docs-dist/rc-pro/upload/_api/type-aliases/FileUploadList.md/index.html +2 -2
  120. package/docs-dist/rc-pro/upload/_api/type-aliases/UploadImageProps.md/index.html +2 -2
  121. package/docs-dist/rc-pro/upload/_api/type-aliases/UploadProps.md/index.html +2 -2
  122. package/docs-dist/rc-pro/upload/_api/type-aliases/UploadRequest.md/index.html +2 -2
  123. package/docs-dist/rc-pro/water-mark/_api/index.md/index.html +2 -2
  124. package/docs-dist/rc-pro/water-mark/_api/type-aliases/WaterMarkProps.md/index.html +2 -2
  125. package/docs-dist/rc-pros/atom/index.html +2 -2
  126. package/docs-dist/rc-pros/auth/index.html +2 -2
  127. package/docs-dist/rc-pros/button/index.html +2 -2
  128. package/docs-dist/rc-pros/cascader/index.html +2 -2
  129. package/docs-dist/rc-pros/date-picker/index.html +2 -2
  130. package/docs-dist/rc-pros/dialog/index.html +2 -2
  131. package/docs-dist/rc-pros/editor/index.html +2 -2
  132. package/docs-dist/rc-pros/form/index.html +2 -2
  133. package/docs-dist/rc-pros/index.html +2 -2
  134. package/docs-dist/rc-pros/page-layout/index.html +15 -0
  135. package/docs-dist/rc-pros/pro-table/index.html +2 -2
  136. package/docs-dist/rc-pros/pro-tabs/index.html +2 -2
  137. package/docs-dist/rc-pros/result/index.html +2 -2
  138. package/docs-dist/rc-pros/select/index.html +2 -2
  139. package/docs-dist/rc-pros/time-picker/index.html +2 -2
  140. package/docs-dist/rc-pros/upload/index.html +2 -2
  141. package/docs-dist/rc-pros/water-mark/index.html +2 -2
  142. package/docs-dist/{umi.052a8ebd.js → umi.115ca78a.js} +53 -53
  143. package/docs-dist/utils/index.html +2 -2
  144. package/docs-dist/~demos/:id/index.html +2 -2
  145. package/docs-dist/~demos/atom-demo-base/index.html +2 -2
  146. package/docs-dist/~demos/atom-demo-ellipsis/index.html +2 -2
  147. package/docs-dist/~demos/atom-demo-filter/index.html +2 -2
  148. package/docs-dist/~demos/atom-demo-operation/index.html +2 -2
  149. package/docs-dist/~demos/atom-demo-state/index.html +2 -2
  150. package/docs-dist/~demos/auth-demo-basic/index.html +2 -2
  151. package/docs-dist/~demos/button-demo-button/index.html +2 -2
  152. package/docs-dist/~demos/button-demo-group/index.html +2 -2
  153. package/docs-dist/~demos/cascader-demo-basic/index.html +2 -2
  154. package/docs-dist/~demos/cascader-demo-cache/index.html +2 -2
  155. package/docs-dist/~demos/date-picker-demo-basic/index.html +2 -2
  156. package/docs-dist/~demos/date-picker-demo-range/index.html +2 -2
  157. package/docs-dist/~demos/dialog-demo-demos/index.html +2 -2
  158. package/docs-dist/~demos/dialog-demo-form/index.html +2 -2
  159. package/docs-dist/~demos/dialog-demo-prompt/index.html +2 -2
  160. package/docs-dist/~demos/editor-demo-demos/index.html +2 -2
  161. package/docs-dist/~demos/editor-demo-rich/index.html +2 -2
  162. package/docs-dist/~demos/form-demo-demos/index.html +2 -2
  163. package/docs-dist/~demos/packages-utils-src-demo-demos/index.html +2 -2
  164. package/docs-dist/~demos/pro-table-demo-basic/index.html +2 -2
  165. package/docs-dist/~demos/pro-table-demo-cascade/index.html +15 -0
  166. package/docs-dist/~demos/pro-table-demo-extra/index.html +15 -0
  167. package/docs-dist/~demos/pro-table-demo-filter/index.html +15 -0
  168. package/docs-dist/~demos/pro-table-demo-fixed/index.html +15 -0
  169. package/docs-dist/~demos/pro-table-demo-refresh/index.html +15 -0
  170. package/docs-dist/~demos/pro-table-demo-selection/index.html +15 -0
  171. package/docs-dist/~demos/pro-table-demo-show-depend/index.html +15 -0
  172. package/docs-dist/~demos/pro-table-demo-tree-async/index.html +15 -0
  173. package/docs-dist/~demos/pro-tabs-demo-basic/index.html +2 -2
  174. package/docs-dist/~demos/pro-tabs-demo-tab/index.html +2 -2
  175. package/docs-dist/~demos/result-demo-basic/index.html +2 -2
  176. package/docs-dist/~demos/select-demo-api/index.html +2 -2
  177. package/docs-dist/~demos/select-demo-basic/index.html +2 -2
  178. package/docs-dist/~demos/select-demo-customize/index.html +2 -2
  179. package/docs-dist/~demos/select-demo-customize-label/index.html +2 -2
  180. package/docs-dist/~demos/time-picker-demo-basic/index.html +2 -2
  181. package/docs-dist/~demos/upload-demo-basic/index.html +2 -2
  182. package/docs-dist/~demos/upload-demo-image/index.html +2 -2
  183. package/docs-dist/~demos/water-mark-demo-basic/index.html +2 -2
  184. package/es/atom/_api.d.ts +16 -2
  185. package/es/atom/_api.js +3 -1
  186. package/es/atom/count-down.d.ts +8 -12
  187. package/es/atom/count-down.js +13 -7
  188. package/es/atom/ellipsis.js +26 -3
  189. package/es/atom/index.d.ts +12 -6
  190. package/es/atom/index.js +4 -0
  191. package/es/atom/index.less +14 -0
  192. package/es/atom/loading.d.ts +6 -0
  193. package/es/{loading/index.js → atom/loading.js} +3 -4
  194. package/es/atom/operation.js +2 -2
  195. package/es/atom/resize-observer.d.ts +1 -3
  196. package/es/atom/resize-observer.js +18 -15
  197. package/es/ccs.d.ts +1 -3
  198. package/es/ccs.js +1 -3
  199. package/es/dialog/button.d.ts +1 -1
  200. package/es/index.d.ts +3 -5
  201. package/es/index.js +3 -6
  202. package/es/{layout-keep-alive → page-layout}/_api.d.ts +7 -0
  203. package/es/page-layout/index.d.ts +16 -0
  204. package/es/page-layout/index.js +23 -0
  205. package/es/page-layout/index.less +63 -0
  206. package/es/{layout-keep-alive → page-layout/keep-alive}/index.d.ts +1 -2
  207. package/es/{layout-keep-alive → page-layout/keep-alive}/index.js +3 -6
  208. package/es/{layout-keep-alive → page-layout/keep-alive}/page.js +11 -9
  209. package/es/{layout-single-page → page-layout/single-page}/index.d.ts +1 -2
  210. package/es/{layout-single-page → page-layout/single-page}/index.js +2 -3
  211. package/es/{layout-single-page → page-layout/single-page}/page.d.ts +1 -1
  212. package/es/{layout-single-page → page-layout/single-page}/page.js +10 -8
  213. package/es/pro-table/_utils.js +1 -1
  214. package/es/pro-table/table.js +1 -2
  215. package/es/table/index.js +16 -10
  216. package/package.json +1 -3
  217. package/docs-dist/atom__demos.634b9888.async.js +0 -1
  218. package/docs-dist/docs__rc-pro__atom___api__index.md.0c77e6cb.async.js +0 -1
  219. package/docs-dist/docs__rc-pro__index.md.1815af96.async.js +0 -1
  220. package/docs-dist/docs__rc-pro__layout-keep-alive___api__index.md.3b1ec665.async.js +0 -1
  221. package/docs-dist/docs__rc-pro__layout-keep-alive___api__interfaces__KeepAliveTabsProps.md.8861c03e.async.js +0 -1
  222. package/docs-dist/docs__rc-pro__layout-keep-alive___api__type-aliases__MenuType.md.a322e04c.async.js +0 -1
  223. package/docs-dist/docs__rc-pro__layout-single-page___api__index.md.8ed4f72f.async.js +0 -1
  224. package/docs-dist/docs__rc-pro__layout-single-page___api__interfaces__SinglePageProps.md.d396b5f1.async.js +0 -1
  225. package/docs-dist/docs__rc-pro__loading___api__index.md.7e626bac.async.js +0 -1
  226. package/docs-dist/docs__rc-pro__loading___api__interfaces__LoadingProps.md.cc583085.async.js +0 -1
  227. package/docs-dist/loading__demos.ef45e3bb.async.js +0 -1
  228. package/docs-dist/meta__docs.9484e17c.async.js +0 -176
  229. package/docs-dist/packages__rc-pro__src__layout-keep-alive__index.md.33be0665.chunk.css +0 -1
  230. package/docs-dist/packages__rc-pro__src__loading__index.md.33be0665.chunk.css +0 -1
  231. package/docs-dist/packages__rc-pro__src__loading__index.md.e9b4169f.async.js +0 -1
  232. package/docs-dist/packages__rc-pro__src__pro-table__index.md.3ea59efb.async.js +0 -27
  233. package/docs-dist/preload_helper.33755354.js +0 -1
  234. package/docs-dist/pro-table__demos.900f956a.async.js +0 -1
  235. package/docs-dist/rc-pro/layout-single-page/_api/interfaces/SinglePageProps.md/index.html +0 -15
  236. package/docs-dist/rc-pro/loading/_api/index.md/index.html +0 -15
  237. package/docs-dist/rc-pro/loading/_api/interfaces/LoadingProps.md/index.html +0 -15
  238. package/docs-dist/rc-pros/layout-keep-alive/index.html +0 -15
  239. package/docs-dist/rc-pros/loading/index.html +0 -15
  240. package/docs-dist/~demos/loading-demo-basic/index.html +0 -15
  241. package/es/interval-button/index.d.ts +0 -14
  242. package/es/interval-button/index.js +0 -129
  243. package/es/layout-keep-alive/index.less +0 -79
  244. package/es/layout-single-page/_api.d.ts +0 -8
  245. package/es/layout-single-page/_api.js +0 -1
  246. package/es/layout-single-page/index.less +0 -15
  247. package/es/loading/_api.d.ts +0 -11
  248. package/es/loading/_api.js +0 -1
  249. package/es/loading/index.d.ts +0 -7
  250. package/es/loading/index.less +0 -13
  251. /package/docs-dist/{docs__rc-pro__layout-keep-alive___api__index.md.33be0665.chunk.css → docs__rc-pro__atom___api__interfaces__AtomLoadingProps.md.33be0665.chunk.css} +0 -0
  252. /package/docs-dist/{docs__rc-pro__layout-keep-alive___api__interfaces__KeepAliveTabsProps.md.33be0665.chunk.css → docs__rc-pro__atom___api__type-aliases__AtomCountdownInstance.md.33be0665.chunk.css} +0 -0
  253. /package/docs-dist/{docs__rc-pro__layout-keep-alive___api__type-aliases__MenuType.md.33be0665.chunk.css → docs__rc-pro__page-layout___api__index.md.33be0665.chunk.css} +0 -0
  254. /package/docs-dist/{docs__rc-pro__layout-single-page___api__index.md.33be0665.chunk.css → docs__rc-pro__page-layout___api__interfaces__KeepAliveTabsProps.md.33be0665.chunk.css} +0 -0
  255. /package/docs-dist/{docs__rc-pro__layout-single-page___api__interfaces__SinglePageProps.md.33be0665.chunk.css → docs__rc-pro__page-layout___api__interfaces__SinglePageProps.md.33be0665.chunk.css} +0 -0
  256. /package/docs-dist/{docs__rc-pro__loading___api__index.md.33be0665.chunk.css → docs__rc-pro__page-layout___api__type-aliases__MenuType.md.33be0665.chunk.css} +0 -0
  257. /package/docs-dist/{docs__rc-pro__loading___api__interfaces__LoadingProps.md.33be0665.chunk.css → packages__rc-pro__src__page-layout__index.md.33be0665.chunk.css} +0 -0
  258. /package/es/{layout-keep-alive → page-layout}/_api.js +0 -0
  259. /package/es/{layout-keep-alive → page-layout/keep-alive}/page.d.ts +0 -0
@@ -1,25 +1,41 @@
1
- (self.webpackChunkccs_ui=self.webpackChunkccs_ui||[]).push([[56],{23803:function(h,n,e){"use strict";var v,o;e.r(n),e.d(n,{demos:function(){return wn}});var y=e(90228),_=e.n(y),m=e(87999),p=e.n(m),f=e(75271),c=e(3180),d=e(39203),s=e(28320),a=e(64723),i=e(85899),u=e.n(i),t=e(22126),r=e(32097),l=e(21827),P=e(26123),g=e(24887),C=e(13373),O=e(86638),E=e(70110),b=e(39142),k=e(56251),M=e(93238),x=e(41974),D=e(86763),I=e.n(D),B=e(68144),U=e(82187),A=e.n(U),L=e(64017),F=e(14306),S=e(81475),W=e(85289),T=e(65173),K=e(73799),N=e(89486),$=e.n(N),z=e(56973),j=e(12648),R=e(35030),w=e(22818),Y=e(50712),Z=e(97681),X=e(86247),ee=e(88686),te=e(31248),V=e(70896),Q=e(1444),q=e(81777),ie=e(24324),G=e(94127),re=e(60136),oe=e(52892),ne=e(19330),ae=e(68296),se=e(16652),le=e(80882),_e=e(72371),me=e(67889),fe=e(71973),ge=e(76098),Ee=e(48547),De=e(18437),xe=e(1130),Ie=e(29909),Be=e(98708),Ue=e(32813),je=e(10077),de=e(25922),pe=e(10436),Te=e(17888),Se=e.n(Te),Le=e(5791),We=e(60489),Ae=e(33553),H=e(80998),J=e.n(H),ce=e(73511),ve=e.n(ce),be=e(14894),Ce=e(96586),Fe=e(18237),ue=e(10495),ye=e(52653),He=e(9472),Ge=e(31939),Ve=e(73801),Qe=e(45484),Me=e(35119),he=e(75419),Pe=e(2369),Re=e.n(Pe),ke=e(32375),Ke=e(53056),qe=e(68240),sn=e(39445),zn=e(24605),Un=e(80932),ft=e(51561),ot=e(89020),st=e(24365),Hn=e(77511),An=e(48496),Vn=e(99696),Gn=e(49805),rt=e(34887),at=e(8689),Ln=e(37441),Bn=e(1775),rn=e(59881),Xn=e.n(rn),Sn=e(38751),kn=e(8435),Kn=e(5590),an=e(29175),Wn=e(47107),Fn=e(78608),Jn=e(71794),ht=e(72870),it=e(93325),ln=e(3833),Ye=e(94350),un=e(93261),dn=e(91721),cn=e(86954),_n=e(62376),mn=e(43449),pn=e(2534),fn=e(73541),vn=e(4683),hn=e(37293),gn=e(83857),en=e(50796),En=e(79579),nn=e(3460),Yn=e.n(nn),xn=e(1058),tn=e(85676),vt=e(84799),Pn=e(98143),Cn=e(65683),yn=e(2978),Dn=e(83844),bn=e(13273),Mn=e(14635),On=e(24181),Je=e(48666),jn=e(63552),In=e(26707),Rn=e(3034),lt=e(34073),Qn=e(79176),ut=e.n(Qn),gt=e(27741),dt=e(13343),qn=e(40815),Nn=e(85600),ct=e(7214),_t=e(69157),et=e(6145),mt=e(69838),Zn=e(54249),nt=e(56062),Tn=e(92523),$n=e(83346),pt=e(20509),tt=e(67764),wn={"atom-demo-base":{component:f.memo(f.lazy(function(){return e.e(9254).then(e.bind(e,5702))})),asset:{type:"BLOCK",id:"atom-demo-base",refAtomIds:["atom"],dependencies:{"index.tsx":{type:"FILE",value:e(77822).Z},"@ant-design/icons":{type:"NPM",value:"5.6.1"},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u57FA\u7840"},context:{"@ant-design/icons":c,"@ccs-ui/rc-pro":d,antd:s,react:v||(v=e.t(f,2))},renderOpts:{compile:function(){var Xe=p()(_()().mark(function we(){var Ne,Ze=arguments;return _()().wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Oe.next=2,e.e(9510).then(e.bind(e,59510));case 2:return Oe.abrupt("return",(Ne=Oe.sent).default.apply(Ne,Ze));case 3:case"end":return Oe.stop()}},we)}));function $e(){return Xe.apply(this,arguments)}return $e}()}},"atom-demo-state":{component:f.memo(f.lazy(function(){return e.e(9254).then(e.bind(e,29626))})),asset:{type:"BLOCK",id:"atom-demo-state",refAtomIds:["atom"],dependencies:{"index.tsx":{type:"FILE",value:e(20315).Z},antd:{type:"NPM",value:"5.27.3"},"../useComplexState.tsx":{type:"FILE",value:e(84109).Z},"immutability-helper":{type:"NPM",value:"3.1.1"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u590D\u6742\u72B6\u6001\u7BA1\u7406",description:"\u5BF9\u591A\u4E2A\u72B6\u6001\u8FDB\u884C\u7BA1\u7406\uFF0C\u6839\u636E\u5B57\u6BB5\u8DEF\u5F84\u66F4\u65B0\u503C"},context:{"../useComplexState.tsx":a,antd:s,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/useComplexState.tsx":a,"immutability-helper":i,react:v||(v=e.t(f,2))},renderOpts:{compile:function(){var Xe=p()(_()().mark(function we(){var Ne,Ze=arguments;return _()().wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Oe.next=2,e.e(9510).then(e.bind(e,59510));case 2:return Oe.abrupt("return",(Ne=Oe.sent).default.apply(Ne,Ze));case 3:case"end":return Oe.stop()}},we)}));function $e(){return Xe.apply(this,arguments)}return $e}()}},"atom-demo-ellipsis":{component:f.memo(f.lazy(function(){return e.e(9254).then(e.bind(e,6777))})),asset:{type:"BLOCK",id:"atom-demo-ellipsis",refAtomIds:["atom"],dependencies:{"index.tsx":{type:"FILE",value:e(5228).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u6587\u672C\u7F29\u7565"},context:{"@ccs-ui/rc-pro":d,antd:s},renderOpts:{compile:function(){var Xe=p()(_()().mark(function we(){var Ne,Ze=arguments;return _()().wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Oe.next=2,e.e(9510).then(e.bind(e,59510));case 2:return Oe.abrupt("return",(Ne=Oe.sent).default.apply(Ne,Ze));case 3:case"end":return Oe.stop()}},we)}));function $e(){return Xe.apply(this,arguments)}return $e}()}},"atom-demo-operation":{component:f.memo(f.lazy(function(){return e.e(9254).then(e.bind(e,41756))})),asset:{type:"BLOCK",id:"atom-demo-operation",refAtomIds:["atom"],dependencies:{"index.tsx":{type:"FILE",value:e(49958).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"},"../check.tsx":{type:"FILE",value:e(13924).Z},"@ant-design/icons":{type:"NPM",value:"5.6.1"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"},"..tsx":{type:"FILE",value:e(7169).Z},"./count-down.tsx":{type:"FILE",value:e(36483).Z},"./filter.tsx":{type:"FILE",value:e(24706).Z},"./usePageRequest.tsx":{type:"FILE",value:e(71754).Z},"./ellipsis.tsx":{type:"FILE",value:e(7122).Z},"./index.less":{type:"FILE",value:e(47285).Z},"./resize-observer.tsx":{type:"FILE",value:e(99021).Z},"./operation.tsx":{type:"FILE",value:e(63013).Z},"./title.tsx":{type:"FILE",value:e(92649).Z},"./useComplexState.tsx":{type:"FILE",value:e(84109).Z},"./full-screen.tsx":{type:"FILE",value:e(11361).Z},ahooks:{type:"NPM",value:"3.9.5"},"immutability-helper":{type:"NPM",value:"3.1.1"},"lodash.debounce":{type:"NPM",value:"4.0.8"},"@ccs-ui/utils":{type:"NPM",value:"0.1.7"},classnames:{type:"NPM",value:"2.5.1"},"./item.tsx":{type:"FILE",value:e(2379).Z},runes2:{type:"NPM",value:"1.1.4"},"../hooks/use-app.ts":{type:"FILE",value:e(57414).Z},"../hooks/use-insert-css.ts":{type:"FILE",value:e(5766).Z},"...ts":{type:"FILE",value:e(21460).Z},"../utils.ts":{type:"FILE",value:e(47704).Z},"./_api.ts":{type:"FILE",value:e(35759).Z},"insert-css":{type:"NPM",value:"2.0.0"},"../context.ts":{type:"FILE",value:e(45757).Z},"./aj-captcha.tsx":{type:"FILE",value:e(86893).Z},"./color-picker.tsx":{type:"FILE",value:e(12290).Z},"./button.tsx":{type:"FILE",value:e(80886).Z},"./dialog.tsx":{type:"FILE",value:e(43022).Z},"./cascader.tsx":{type:"FILE",value:e(57066).Z},"./date-picker.tsx":{type:"FILE",value:e(45645).Z},"./config.tsx":{type:"FILE",value:e(23456).Z},"./hooks/use-once-event.tsx":{type:"FILE",value:e(80659).Z},"./hooks/use-selection.ts":{type:"FILE",value:e(13853).Z},"./auth.tsx":{type:"FILE",value:e(93722).Z},"./editor.tsx":{type:"FILE",value:e(36878).Z},"./form.tsx":{type:"FILE",value:e(28013).Z},"./hooks/use-page.ts":{type:"FILE",value:e(38712).Z},"./hooks/use-tabs.tsx":{type:"FILE",value:e(67634).Z},"./hooks/use-window.ts":{type:"FILE",value:e(30960).Z},"./layout-keep-alive.tsx":{type:"FILE",value:e(12807).Z},"./result.tsx":{type:"FILE",value:e(58578).Z},"./ccs.ts":{type:"FILE",value:e(37846).Z},"./upload.tsx":{type:"FILE",value:e(27379).Z},"./interval-button.tsx":{type:"FILE",value:e(94729).Z},"./loading.tsx":{type:"FILE",value:e(58967).Z},"./time-picker.tsx":{type:"FILE",value:e(88225).Z},"./pro-table.tsx":{type:"FILE",value:e(82530).Z},"./layout-single-page.tsx":{type:"FILE",value:e(52847).Z},"./select.tsx":{type:"FILE",value:e(96440).Z},"./water-mark.tsx":{type:"FILE",value:e(79604).Z},"./table.tsx":{type:"FILE",value:e(56197).Z},"./status-tag.tsx":{type:"FILE",value:e(59609).Z},"./pro-tabs.tsx":{type:"FILE",value:e(4196).Z},"@ant-design/colors":{type:"NPM",value:"8.0.0"},"@ant-design/compatible":{type:"NPM",value:"5.1.4"},"./api.tsx":{type:"FILE",value:e(52504).Z},dayjs:{type:"NPM",value:"1.11.18"},"react-router":{type:"NPM",value:"6.3.0"},"react-router-dom":{type:"NPM",value:"6.3.0"},"tiny-pinyin":{type:"NPM",value:"1.3.2"},"./list.tsx":{type:"FILE",value:e(53019).Z},"./selection-alert.tsx":{type:"FILE",value:e(9267).Z},"./summary.tsx":{type:"FILE",value:e(98670).Z},"./drawer-footer.tsx":{type:"FILE",value:e(82759).Z},"./upload-image.tsx":{type:"FILE",value:e(87745).Z},"./hook.tsx":{type:"FILE",value:e(98314).Z},"./relative.tsx":{type:"FILE",value:e(62561).Z},"./context.ts":{type:"FILE",value:e(70052).Z},"../theme-dialog.ts":{type:"FILE",value:e(62576).Z},"./group.tsx":{type:"FILE",value:e(55736).Z},"react-resizable":{type:"NPM",value:"3.0.5"},"./dropdown.tsx":{type:"FILE",value:e(83450).Z},"./yaml.tsx":{type:"FILE",value:e(5093).Z},"./json.tsx":{type:"FILE",value:e(94975).Z},"./xml.tsx":{type:"FILE",value:e(26834).Z},"./sql.tsx":{type:"FILE",value:e(53986).Z},"./rich.tsx":{type:"FILE",value:e(88535).Z},"./javascript.tsx":{type:"FILE",value:e(85609).Z},"antd-img-crop":{type:"NPM",value:"4.25.0"},"@codemirror/lang-yaml":{type:"NPM",value:"6.1.2"},"./page.tsx":{type:"FILE",value:e(68321).Z},"@codemirror/lang-javascript":{type:"NPM",value:"6.2.4"},"./ modal.tsx":{type:"FILE",value:e(2431).Z},"./customize.tsx":{type:"FILE",value:e(5125).Z},"@codemirror/lang-sql":{type:"NPM",value:"6.10.0"},"@codemirror/lang-xml":{type:"NPM",value:"6.1.0"},"@codemirror/lang-json":{type:"NPM",value:"6.0.2"},"@lexical/link":{type:"NPM",value:"0.38.2"},"react-sortablejs":{type:"NPM",value:"6.1.4"},"react-dom":{type:"NPM",value:"18.3.1"},"@codemirror/language":{type:"NPM",value:"6.11.3"},"@lexical/list":{type:"NPM",value:"0.38.2"},"./code-base.tsx":{type:"FILE",value:e(46345).Z},"@codemirror/lint":{type:"NPM",value:"6.8.5"},"@lexical/rich-text":{type:"NPM",value:"0.38.2"},lexical:{type:"NPM",value:"0.38.2"},"react-custom-scrollbars":{type:"NPM",value:"4.2.1"},undefined:{type:"NPM"},"./usePatchElement.tsx":{type:"FILE",value:e(96602).Z},"./HookDrawer.tsx":{type:"FILE",value:e(95933).Z},"./HookModal.tsx":{type:"FILE",value:e(40656).Z},"./water-mark/_api.ts":{type:"FILE",value:e(96788).Z},"./button/_api.ts":{type:"FILE",value:e(45621).Z},"./cascader/_api.ts":{type:"FILE",value:e(20848).Z},"./context/_api.ts":{type:"FILE",value:e(51412).Z},"./date-picker/_api.ts":{type:"FILE",value:e(797).Z},"./dialog/_api.ts":{type:"FILE",value:e(35987).Z},"./editor/_api.ts":{type:"FILE",value:e(2142).Z},"./form/_api.ts":{type:"FILE",value:e(29060).Z},"./code.less":{type:"FILE",value:e(49960).Z},"../hooks/use-input-css.ts":{type:"FILE",value:e(63406).Z},"./pro-table/_api.ts":{type:"FILE",value:e(10753).Z},"./layout-keep-alive/_api.ts":{type:"FILE",value:e(27681).Z},"./layout-single-page/_api.ts":{type:"FILE",value:e(70313).Z},"./loading/_api.ts":{type:"FILE",value:e(23103).Z},"./select/_api.ts":{type:"FILE",value:e(42519).Z},"./pro-tabs/_api.ts":{type:"FILE",value:e(67190).Z},"./upload/_api.ts":{type:"FILE",value:e(86363).Z},"./theme.ts":{type:"FILE",value:e(91255).Z},"../lexical/plugins/image/ImageNode.tsx":{type:"FILE",value:e(87173).Z},"../lexical/plugins/init-html.tsx":{type:"FILE",value:e(1731).Z},"../lexical/base.tsx":{type:"FILE",value:e(37634).Z},"../lexical/base/styleConfig.ts":{type:"FILE",value:e(20466).Z},"./export.ts":{type:"FILE",value:e(82227).Z},"@lexical/html":{type:"NPM",value:"0.38.2"},"./tree.tsx":{type:"FILE",value:e(97683).Z},"./_utils.ts":{type:"FILE",value:e(52067).Z},"@lexical/react":{type:"NPM",value:"0.38.2"},"react-draggable":{type:"NPM",value:"4.5.0"},"./ImageComponent.tsx":{type:"FILE",value:e(74610).Z},"../../base/toolbar/upload.tsx":{type:"FILE",value:e(62989).Z},"./toolbar.tsx":{type:"FILE",value:e(49811).Z},"../plugins/image.tsx":{type:"FILE",value:e(95791).Z},"@lexical/selection":{type:"NPM",value:"0.38.2"},"@lexical/utils":{type:"NPM",value:"0.38.2"},"./code.tsx":{type:"FILE",value:e(58988).Z}},entry:"index.tsx",title:"\u64CD\u4F5C\u680F"},context:{"../check.tsx":t,"..tsx":r,"./count-down.tsx":l,"./filter.tsx":P,"./usePageRequest.tsx":g,"./ellipsis.tsx":C,"./index.less":O,"./resize-observer.tsx":E,"./operation.tsx":b,"./title.tsx":k,"./useComplexState.tsx":a,"./full-screen.tsx":M,"./item.tsx":L,"../hooks/use-app.ts":S,"../hooks/use-insert-css.ts":W,"...ts":d,"../utils.ts":T,"./_api.ts":K,"../context.ts":z,"./aj-captcha.tsx":j,"./color-picker.tsx":R,"./button.tsx":w,"./dialog.tsx":Y,"./cascader.tsx":Z,"./date-picker.tsx":X,"./config.tsx":ee,"./hooks/use-once-event.tsx":te,"./hooks/use-selection.ts":V,"./auth.tsx":Q,"./editor.tsx":q,"./form.tsx":ie,"./hooks/use-page.ts":G,"./hooks/use-tabs.tsx":re,"./hooks/use-window.ts":oe,"./layout-keep-alive.tsx":ne,"./result.tsx":ae,"./ccs.ts":se,"./upload.tsx":le,"./interval-button.tsx":_e,"./loading.tsx":me,"./time-picker.tsx":fe,"./pro-table.tsx":ge,"./layout-single-page.tsx":Ee,"./select.tsx":De,"./water-mark.tsx":xe,"./table.tsx":Ie,"./status-tag.tsx":Be,"./pro-tabs.tsx":Ue,"./api.tsx":pe,"./list.tsx":be,"./selection-alert.tsx":Fe,"./summary.tsx":ue,"./drawer-footer.tsx":ye,"./upload-image.tsx":He,"./hook.tsx":Ge,"./relative.tsx":Ve,"./context.ts":Qe,"../theme-dialog.ts":Me,"./group.tsx":he,"./dropdown.tsx":ke,"./yaml.tsx":Ke,"./json.tsx":qe,"./xml.tsx":sn,"./sql.tsx":zn,"./rich.tsx":Un,"./javascript.tsx":ft,"./page.tsx":Hn,"./ modal.tsx":Vn,"./customize.tsx":Gn,"./code-base.tsx":an,"./usePatchElement.tsx":ln,"./HookDrawer.tsx":Ye,"./HookModal.tsx":un,"./water-mark/_api.ts":dn,"./button/_api.ts":cn,"./cascader/_api.ts":_n,"./context/_api.ts":mn,"./date-picker/_api.ts":pn,"./dialog/_api.ts":fn,"./editor/_api.ts":vn,"./form/_api.ts":hn,"./code.less":gn,"../hooks/use-input-css.ts":en,"./pro-table/_api.ts":En,"./layout-keep-alive/_api.ts":nn,"./layout-single-page/_api.ts":xn,"./loading/_api.ts":tn,"./select/_api.ts":vt,"./pro-tabs/_api.ts":Pn,"./upload/_api.ts":Cn,"./theme.ts":yn,"../lexical/plugins/image/ImageNode.tsx":Dn,"../lexical/plugins/init-html.tsx":bn,"../lexical/base.tsx":Mn,"../lexical/base/styleConfig.ts":On,"./export.ts":Je,"./tree.tsx":In,"./_utils.ts":Rn,"./ImageComponent.tsx":qn,"../../base/toolbar/upload.tsx":et,"./toolbar.tsx":nt,"../plugins/image.tsx":Tn,"./code.tsx":tt,"@ccs-ui/rc-pro":d,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/check.tsx":t,"@ant-design/icons":c,antd:s,react:v||(v=e.t(f,2)),"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/index.tsx":r,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/count-down.tsx":l,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/filter.tsx":P,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/usePageRequest.tsx":g,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/ellipsis.tsx":C,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.less":O,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/resize-observer.tsx":E,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/operation.tsx":b,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/title.tsx":k,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/useComplexState.tsx":a,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/full-screen.tsx":M,ahooks:x,"immutability-helper":i,"lodash.debounce":D,"@ccs-ui/utils":B,classnames:U,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/item.tsx":L,runes2:F,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-app.ts":S,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-insert-css.ts":W,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/index.ts":d,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/utils.ts":T,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/_api.ts":K,"insert-css":N,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/index.ts":z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/aj-captcha/index.tsx":j,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/color-picker/index.tsx":R,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/button.tsx":w,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/index.tsx":Y,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/index.tsx":Z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/index.tsx":X,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/config.tsx":ee,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-once-event.tsx":te,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-selection.ts":V,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/auth/index.tsx":Q,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/index.tsx":q,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/form.tsx":ie,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-page.ts":G,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-tabs.tsx":re,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-window.ts":oe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/layout-keep-alive/index.tsx":ne,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/result/index.tsx":ae,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/ccs.ts":se,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/index.tsx":le,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/interval-button/index.tsx":_e,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/loading/index.tsx":me,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/time-picker/index.tsx":fe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/index.tsx":ge,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/layout-single-page/index.tsx":Ee,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/index.tsx":De,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/index.tsx":xe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/table.tsx":Ie,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/status-tag/index.tsx":Be,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/index.tsx":Ue,"@ant-design/colors":je,"@ant-design/compatible":de,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/api.tsx":pe,dayjs:Te,"react-router":Le,"antd/locale/zh_CN":We,"react-router-dom":Ae,"dayjs/plugin/customParseFormat":H,"tiny-pinyin":ce,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/list.tsx":be,"antd/es/config-provider":Ce,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/selection-alert.tsx":Fe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/summary.tsx":ue,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/drawer-footer.tsx":ye,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/upload-image.tsx":He,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/hook.tsx":Ge,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/relative.tsx":Ve,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/context.ts":Qe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/theme-dialog.ts":Me,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/group.tsx":he,"react-resizable":Pe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/dropdown.tsx":ke,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/yaml.tsx":Ke,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/json.tsx":qe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/xml.tsx":sn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/sql.tsx":zn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/index.tsx":Un,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/javascript.tsx":ft,"antd-img-crop":ot,"@codemirror/lang-yaml":st,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/layout-keep-alive/page.tsx":Hn,"@codemirror/lang-javascript":An,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/ modal.tsx":Vn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/customize.tsx":Gn,"@codemirror/lang-sql":rt,"@codemirror/lang-xml":at,"@codemirror/lang-json":Ln,"@lexical/link":Bn,"react-sortablejs":rn,"react-dom/client":o||(o=e.t(Sn,2)),"@codemirror/language":kn,"@lexical/list":Kn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code-base.tsx":an,"@codemirror/lint":Wn,"@lexical/rich-text":Fn,lexical:Jn,"react-custom-scrollbars":ht,"@uiw/react-codemirror":it,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/usePatchElement.tsx":ln,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookDrawer.tsx":Ye,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookModal.tsx":un,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/_api.ts":dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/_api.ts":cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/_api.ts":_n,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/_api.ts":mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/_api.ts":pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/_api.ts":fn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/_api.ts":vn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/_api.ts":hn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code.less":gn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-input-css.ts":en,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_api.ts":En,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/layout-keep-alive/_api.ts":nn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/layout-single-page/_api.ts":xn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/loading/_api.ts":tn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/_api.ts":vt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/_api.ts":Pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/_api.ts":Cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/theme.ts":yn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageNode.tsx":Dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/init-html.tsx":bn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.tsx":Mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/styleConfig.ts":On,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/export.ts":Je,"@lexical/html":jn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/tree.tsx":In,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_utils.ts":Rn,"@lexical/react/LexicalComposerContext":lt,"@ccs-ui/rc-pro/hooks/use-input-css":en,"react-draggable":Qn,"@lexical/react/LexicalComposer":gt,"@lexical/react/LexicalContentEditable":dt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageComponent.tsx":qn,"@lexical/react/LexicalErrorBoundary":Nn,"@lexical/react/LexicalHistoryPlugin":ct,"@lexical/react/LexicalLinkPlugin":_t,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/upload.tsx":et,"@lexical/react/LexicalOnChangePlugin":mt,"@lexical/react/LexicalRichTextPlugin":Zn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/index.tsx":nt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/index.tsx":Tn,"@ccs-ui/rc-pro/editor/rich/export":Je,"@lexical/selection":$n,"@lexical/utils":pt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/code.tsx":tt},renderOpts:{compile:function(){var Xe=p()(_()().mark(function we(){var Ne,Ze=arguments;return _()().wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Oe.next=2,e.e(9510).then(e.bind(e,59510));case 2:return Oe.abrupt("return",(Ne=Oe.sent).default.apply(Ne,Ze));case 3:case"end":return Oe.stop()}},we)}));function $e(){return Xe.apply(this,arguments)}return $e}()}},"atom-demo-filter":{component:f.memo(f.lazy(function(){return e.e(9254).then(e.bind(e,28254))})),asset:{type:"BLOCK",id:"atom-demo-filter",refAtomIds:["atom"],dependencies:{"index.tsx":{type:"FILE",value:e(51655).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u6761\u4EF6\u7B5B\u9009",description:"\u81EA\u9002\u5E94\u5BB9\u5668\uFF0C\u663E\u793A\u5C55\u5F00\u9009\u9879"},context:{"@ccs-ui/rc-pro":d,antd:s},renderOpts:{compile:function(){var Xe=p()(_()().mark(function we(){var Ne,Ze=arguments;return _()().wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Oe.next=2,e.e(9510).then(e.bind(e,59510));case 2:return Oe.abrupt("return",(Ne=Oe.sent).default.apply(Ne,Ze));case 3:case"end":return Oe.stop()}},we)}));function $e(){return Xe.apply(this,arguments)}return $e}()}}}},62708:function(h,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return f}});var v=e(90228),o=e.n(v),y=e(87999),_=e.n(y),m=e(75271),p=e(39203),f={"auth-demo-basic":{component:m.memo(m.lazy(function(){return e.e(3553).then(e.bind(e,1114))})),asset:{type:"BLOCK",id:"auth-demo-basic",refAtomIds:["auth"],dependencies:{"index.tsx":{type:"FILE",value:e(44403).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u57FA\u672C\u7528\u6CD5\u3002"},context:{"@ccs-ui/rc-pro":p},renderOpts:{compile:function(){var c=_()(o()().mark(function s(){var a,i=arguments;return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.e(9510).then(e.bind(e,59510));case 2:return t.abrupt("return",(a=t.sent).default.apply(a,i));case 3:case"end":return t.stop()}},s)}));function d(){return c.apply(this,arguments)}return d}()}}}},99350:function(h,n,e){"use strict";var v,o;e.r(n),e.d(n,{demos:function(){return Xe}});var y=e(90228),_=e.n(y),m=e(87999),p=e.n(m),f=e(75271),c=e(28320),d=e(668),s=e(3180),a=e(75419),i=e(39203),u=e(32375),t=e(12648),r=e(32097),l=e(93238),P=e(88686),g=e(97681),C=e(1444),O=e(24324),E=e(81777),b=e(50712),k=e(35030),M=e(86247),x=e(52892),D=e(48547),I=e(81475),B=e(72371),U=e(19330),A=e(94127),L=e(16652),F=e(18437),S=e(70896),W=e(98708),T=e(67889),K=e(71973),N=e(80882),$=e(29909),z=e(31248),j=e(1130),R=e(76098),w=e(32813),Y=e(68296),Z=e(60136),X=e(25922),ee=e(10077),te=e(41974),V=e(68144),Q=e(17888),q=e.n(Q),ie=e(10436),G=e(5791),re=e(82187),oe=e.n(re),ne=e(60489),ae=e(96586),se=e(73511),le=e.n(se),_e=e(80998),me=e.n(_e),fe=e(56973),ge=e(33553),Ee=e(14894),De=e(85899),xe=e.n(De),Ie=e(86638),Be=e(32272),Ue=e(2369),je=e.n(Ue),de=e(18237),pe=e(10495),Te=e(73801),Se=e(9472),Le=e(31939),We=e(35119),Ae=e(22818),H=e(45484),J=e(52653),ce=e(65173),ve=e(51561),be=e(53056),Ce=e(68240),Fe=e(39445),ue=e(80932),ye=e(24605),He=e(49805),Ge=e(99696),Ve=e(77511),Qe=e(8689),Me=e(48496),he=e(24365),Pe=e(34887),Re=e(37441),ke=e(1775),Ke=e(86763),qe=e.n(Ke),sn=e(8435),zn=e(5590),Un=e(59881),ft=e.n(Un),ot=e(89020),st=e(47107),Hn=e(78608),An=e(29175),Vn=e(38751),Gn=e(72870),rt=e(71794),at=e(93325),Ln=e(21827),Bn=e(24887),rn=e(13373),Xn=e(22126),Sn=e(26123),kn=e(39142),Kn=e(56251),an=e(64723),Wn=e(70110),Fn=e(85289),Jn=e(89486),ht=e.n(Jn),it=e(14306),ln=e(83857),Ye=e(50796),un=e(94350),dn=e(3833),cn=e(93261),_n=e(73799),mn=e(86954),pn=e(2534),fn=e(62376),vn=e(1058),hn=e(79579),gn=e(91721),en=e(85676),En=e(73541),nn=e(65683),Yn=e(84799),xn=e(37293),tn=e(3460),vt=e.n(tn),Pn=e(4683),Cn=e(98143),yn=e(43449),Dn=e(2978),bn=e(24181),Mn=e(13273),On=e(14635),Je=e(48666),jn=e(83844),In=e(3034),Rn=e(26707),lt=e(63552),Qn=e(34073),ut=e(79176),gt=e.n(ut),dt=e(27741),qn=e(13343),Nn=e(40815),ct=e(85600),_t=e(7214),et=e(69157),mt=e(69838),Zn=e(6145),nt=e(54249),Tn=e(92523),$n=e(56062),pt=e(83346),tt=e(20509),wn=e(67764),Xe={"button-demo-button":{component:f.memo(f.lazy(function(){return e.e(4219).then(e.bind(e,66412))})),asset:{type:"BLOCK",id:"button-demo-button",refAtomIds:["button"],dependencies:{"index.tsx":{type:"FILE",value:e(13703).Z},antd:{type:"NPM",value:"5.27.3"},"...tsx":{type:"FILE",value:e(49202).Z},"@ant-design/icons":{type:"NPM",value:"5.6.1"},react:{type:"NPM",value:"18.3.1"},"./group.tsx":{type:"FILE",value:e(55736).Z},"...ts":{type:"FILE",value:e(21460).Z},"./dropdown.tsx":{type:"FILE",value:e(83450).Z},"./aj-captcha.tsx":{type:"FILE",value:e(86893).Z},"./atom.tsx":{type:"FILE",value:e(7169).Z},"./atom/full-screen.tsx":{type:"FILE",value:e(11361).Z},"./config.tsx":{type:"FILE",value:e(23456).Z},"./cascader.tsx":{type:"FILE",value:e(57066).Z},"./auth.tsx":{type:"FILE",value:e(93722).Z},"./form.tsx":{type:"FILE",value:e(28013).Z},"./editor.tsx":{type:"FILE",value:e(36878).Z},"./dialog.tsx":{type:"FILE",value:e(43022).Z},"./color-picker.tsx":{type:"FILE",value:e(12290).Z},"./date-picker.tsx":{type:"FILE",value:e(45645).Z},"./hooks/use-window.ts":{type:"FILE",value:e(30960).Z},"./layout-single-page.tsx":{type:"FILE",value:e(52847).Z},"./hooks/use-app.ts":{type:"FILE",value:e(57414).Z},"./interval-button.tsx":{type:"FILE",value:e(94729).Z},"./layout-keep-alive.tsx":{type:"FILE",value:e(12807).Z},"./hooks/use-page.ts":{type:"FILE",value:e(38712).Z},"./ccs.ts":{type:"FILE",value:e(37846).Z},"./select.tsx":{type:"FILE",value:e(96440).Z},"./hooks/use-selection.ts":{type:"FILE",value:e(13853).Z},"./status-tag.tsx":{type:"FILE",value:e(59609).Z},"./loading.tsx":{type:"FILE",value:e(58967).Z},"./time-picker.tsx":{type:"FILE",value:e(88225).Z},"./upload.tsx":{type:"FILE",value:e(27379).Z},"./table.tsx":{type:"FILE",value:e(56197).Z},"./hooks/use-once-event.tsx":{type:"FILE",value:e(80659).Z},"./water-mark.tsx":{type:"FILE",value:e(79604).Z},"./pro-table.tsx":{type:"FILE",value:e(82530).Z},"./pro-tabs.tsx":{type:"FILE",value:e(4196).Z},"./result.tsx":{type:"FILE",value:e(58578).Z},"./hooks/use-tabs.tsx":{type:"FILE",value:e(67634).Z},"@ant-design/compatible":{type:"NPM",value:"5.1.4"},"@ant-design/colors":{type:"NPM",value:"8.0.0"},ahooks:{type:"NPM",value:"3.9.5"},"@ccs-ui/utils":{type:"NPM",value:"0.1.7"},dayjs:{type:"NPM",value:"1.11.18"},"./api.tsx":{type:"FILE",value:e(52504).Z},"react-router":{type:"NPM",value:"6.3.0"},classnames:{type:"NPM",value:"2.5.1"},"tiny-pinyin":{type:"NPM",value:"1.3.2"},"../context.ts":{type:"FILE",value:e(45757).Z},"react-router-dom":{type:"NPM",value:"6.3.0"},"./list.tsx":{type:"FILE",value:e(53019).Z},"immutability-helper":{type:"NPM",value:"3.1.1"},"./index.less":{type:"FILE",value:e(47285).Z},"./item.tsx":{type:"FILE",value:e(68666).Z},"react-resizable":{type:"NPM",value:"3.0.5"},"./selection-alert.tsx":{type:"FILE",value:e(9267).Z},"./summary.tsx":{type:"FILE",value:e(98670).Z},"./relative.tsx":{type:"FILE",value:e(62561).Z},"./upload-image.tsx":{type:"FILE",value:e(87745).Z},"./hook.tsx":{type:"FILE",value:e(98314).Z},"../theme-dialog.ts":{type:"FILE",value:e(62576).Z},"./button.tsx":{type:"FILE",value:e(80886).Z},"./context.ts":{type:"FILE",value:e(70052).Z},"./drawer-footer.tsx":{type:"FILE",value:e(82759).Z},"../utils.ts":{type:"FILE",value:e(47704).Z},"./javascript.tsx":{type:"FILE",value:e(85609).Z},"./yaml.tsx":{type:"FILE",value:e(5093).Z},"./json.tsx":{type:"FILE",value:e(94975).Z},"./xml.tsx":{type:"FILE",value:e(26834).Z},"./rich.tsx":{type:"FILE",value:e(88535).Z},"./sql.tsx":{type:"FILE",value:e(53986).Z},"./customize.tsx":{type:"FILE",value:e(5125).Z},"./ modal.tsx":{type:"FILE",value:e(2431).Z},"./page.tsx":{type:"FILE",value:e(68321).Z},"@codemirror/lang-xml":{type:"NPM",value:"6.1.0"},"@codemirror/lang-javascript":{type:"NPM",value:"6.2.4"},"@codemirror/lang-yaml":{type:"NPM",value:"6.1.2"},"@codemirror/lang-sql":{type:"NPM",value:"6.10.0"},"@codemirror/lang-json":{type:"NPM",value:"6.0.2"},"@lexical/link":{type:"NPM",value:"0.38.2"},"lodash.debounce":{type:"NPM",value:"4.0.8"},"@codemirror/language":{type:"NPM",value:"6.11.3"},"@lexical/list":{type:"NPM",value:"0.38.2"},"react-sortablejs":{type:"NPM",value:"6.1.4"},"antd-img-crop":{type:"NPM",value:"4.25.0"},"@codemirror/lint":{type:"NPM",value:"6.8.5"},"@lexical/rich-text":{type:"NPM",value:"0.38.2"},"./code-base.tsx":{type:"FILE",value:e(46345).Z},"react-dom":{type:"NPM",value:"18.3.1"},"react-custom-scrollbars":{type:"NPM",value:"4.2.1"},lexical:{type:"NPM",value:"0.38.2"},undefined:{type:"NPM"},"./count-down.tsx":{type:"FILE",value:e(36483).Z},"./usePageRequest.tsx":{type:"FILE",value:e(71754).Z},"./ellipsis.tsx":{type:"FILE",value:e(7122).Z},"./check.tsx":{type:"FILE",value:e(13924).Z},"./filter.tsx":{type:"FILE",value:e(24706).Z},"./operation.tsx":{type:"FILE",value:e(63013).Z},"./title.tsx":{type:"FILE",value:e(92649).Z},"./useComplexState.tsx":{type:"FILE",value:e(84109).Z},"./resize-observer.tsx":{type:"FILE",value:e(99021).Z},"../hooks/use-insert-css.ts":{type:"FILE",value:e(5766).Z},"insert-css":{type:"NPM",value:"2.0.0"},runes2:{type:"NPM",value:"1.1.4"},"./code.less":{type:"FILE",value:e(49960).Z},"../hooks/use-input-css.ts":{type:"FILE",value:e(63406).Z},"./HookDrawer.tsx":{type:"FILE",value:e(95933).Z},"./usePatchElement.tsx":{type:"FILE",value:e(96602).Z},"./HookModal.tsx":{type:"FILE",value:e(40656).Z},"./atom/_api.ts":{type:"FILE",value:e(35759).Z},"./button/_api.ts":{type:"FILE",value:e(45621).Z},"./date-picker/_api.ts":{type:"FILE",value:e(797).Z},"./cascader/_api.ts":{type:"FILE",value:e(20848).Z},"./layout-single-page/_api.ts":{type:"FILE",value:e(70313).Z},"./pro-table/_api.ts":{type:"FILE",value:e(10753).Z},"./water-mark/_api.ts":{type:"FILE",value:e(96788).Z},"./loading/_api.ts":{type:"FILE",value:e(23103).Z},"./dialog/_api.ts":{type:"FILE",value:e(35987).Z},"./upload/_api.ts":{type:"FILE",value:e(86363).Z},"./select/_api.ts":{type:"FILE",value:e(42519).Z},"./form/_api.ts":{type:"FILE",value:e(29060).Z},"./layout-keep-alive/_api.ts":{type:"FILE",value:e(27681).Z},"./editor/_api.ts":{type:"FILE",value:e(2142).Z},"./pro-tabs/_api.ts":{type:"FILE",value:e(67190).Z},"./context/_api.ts":{type:"FILE",value:e(51412).Z},"./theme.ts":{type:"FILE",value:e(91255).Z},"../lexical/base/styleConfig.ts":{type:"FILE",value:e(20466).Z},"../lexical/plugins/init-html.tsx":{type:"FILE",value:e(1731).Z},"../lexical/base.tsx":{type:"FILE",value:e(37634).Z},"./export.ts":{type:"FILE",value:e(82227).Z},"../lexical/plugins/image/ImageNode.tsx":{type:"FILE",value:e(87173).Z},"./_utils.ts":{type:"FILE",value:e(52067).Z},"./tree.tsx":{type:"FILE",value:e(97683).Z},"@lexical/html":{type:"NPM",value:"0.38.2"},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"},"@lexical/react":{type:"NPM",value:"0.38.2"},"react-draggable":{type:"NPM",value:"4.5.0"},"./ImageComponent.tsx":{type:"FILE",value:e(74610).Z},"../../base/toolbar/upload.tsx":{type:"FILE",value:e(62989).Z},"../plugins/image.tsx":{type:"FILE",value:e(95791).Z},"./toolbar.tsx":{type:"FILE",value:e(49811).Z},"@lexical/selection":{type:"NPM",value:"0.38.2"},"@lexical/utils":{type:"NPM",value:"0.38.2"},"./code.tsx":{type:"FILE",value:e(58988).Z}},entry:"index.tsx",title:"\u6743\u9650\u6309\u94AE",description:"\u6743\u9650\uFF1AButton\uFF0CDropdown"},context:{"...tsx":d,"./group.tsx":a,"...ts":i,"./dropdown.tsx":u,"./aj-captcha.tsx":t,"./atom.tsx":r,"./atom/full-screen.tsx":l,"./config.tsx":P,"./cascader.tsx":g,"./auth.tsx":C,"./form.tsx":O,"./editor.tsx":E,"./dialog.tsx":b,"./color-picker.tsx":k,"./date-picker.tsx":M,"./hooks/use-window.ts":x,"./layout-single-page.tsx":D,"./hooks/use-app.ts":I,"./interval-button.tsx":B,"./layout-keep-alive.tsx":U,"./hooks/use-page.ts":A,"./ccs.ts":L,"./select.tsx":F,"./hooks/use-selection.ts":S,"./status-tag.tsx":W,"./loading.tsx":T,"./time-picker.tsx":K,"./upload.tsx":N,"./table.tsx":$,"./hooks/use-once-event.tsx":z,"./water-mark.tsx":j,"./pro-table.tsx":R,"./pro-tabs.tsx":w,"./result.tsx":Y,"./hooks/use-tabs.tsx":Z,"./api.tsx":ie,"../context.ts":fe,"./list.tsx":Ee,"./index.less":Ie,"./item.tsx":Be,"./selection-alert.tsx":de,"./summary.tsx":pe,"./relative.tsx":Te,"./upload-image.tsx":Se,"./hook.tsx":Le,"../theme-dialog.ts":We,"./button.tsx":Ae,"./context.ts":H,"./drawer-footer.tsx":J,"../utils.ts":ce,"./javascript.tsx":ve,"./yaml.tsx":be,"./json.tsx":Ce,"./xml.tsx":Fe,"./rich.tsx":ue,"./sql.tsx":ye,"./customize.tsx":He,"./ modal.tsx":Ge,"./page.tsx":Ve,"./code-base.tsx":An,"./count-down.tsx":Ln,"./usePageRequest.tsx":Bn,"./ellipsis.tsx":rn,"./check.tsx":Xn,"./filter.tsx":Sn,"./operation.tsx":kn,"./title.tsx":Kn,"./useComplexState.tsx":an,"./resize-observer.tsx":Wn,"../hooks/use-insert-css.ts":Fn,"./code.less":ln,"../hooks/use-input-css.ts":Ye,"./HookDrawer.tsx":un,"./usePatchElement.tsx":dn,"./HookModal.tsx":cn,"./atom/_api.ts":_n,"./button/_api.ts":mn,"./date-picker/_api.ts":pn,"./cascader/_api.ts":fn,"./layout-single-page/_api.ts":vn,"./pro-table/_api.ts":hn,"./water-mark/_api.ts":gn,"./loading/_api.ts":en,"./dialog/_api.ts":En,"./upload/_api.ts":nn,"./select/_api.ts":Yn,"./form/_api.ts":xn,"./layout-keep-alive/_api.ts":tn,"./editor/_api.ts":Pn,"./pro-tabs/_api.ts":Cn,"./context/_api.ts":yn,"./theme.ts":Dn,"../lexical/base/styleConfig.ts":bn,"../lexical/plugins/init-html.tsx":Mn,"../lexical/base.tsx":On,"./export.ts":Je,"../lexical/plugins/image/ImageNode.tsx":jn,"./_utils.ts":In,"./tree.tsx":Rn,"./ImageComponent.tsx":Nn,"../../base/toolbar/upload.tsx":Zn,"../plugins/image.tsx":Tn,"./toolbar.tsx":$n,"./code.tsx":wn,antd:c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/index.tsx":d,"@ant-design/icons":s,react:v||(v=e.t(f,2)),"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/group.tsx":a,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/index.ts":i,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/dropdown.tsx":u,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/aj-captcha/index.tsx":t,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/index.tsx":r,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/full-screen.tsx":l,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/config.tsx":P,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/index.tsx":g,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/auth/index.tsx":C,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/form.tsx":O,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/index.tsx":E,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/index.tsx":b,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/color-picker/index.tsx":k,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/index.tsx":M,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-window.ts":x,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/layout-single-page/index.tsx":D,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-app.ts":I,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/interval-button/index.tsx":B,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/layout-keep-alive/index.tsx":U,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-page.ts":A,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/ccs.ts":L,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/index.tsx":F,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-selection.ts":S,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/status-tag/index.tsx":W,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/loading/index.tsx":T,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/time-picker/index.tsx":K,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/index.tsx":N,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/table.tsx":$,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-once-event.tsx":z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/index.tsx":j,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/index.tsx":R,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/index.tsx":w,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/result/index.tsx":Y,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-tabs.tsx":Z,"@ant-design/compatible":X,"@ant-design/colors":ee,ahooks:te,"@ccs-ui/utils":V,dayjs:Q,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/api.tsx":ie,"react-router":G,classnames:re,"antd/locale/zh_CN":ne,"antd/es/config-provider":ae,"tiny-pinyin":se,"dayjs/plugin/customParseFormat":_e,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/index.ts":fe,"react-router-dom":ge,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/list.tsx":Ee,"immutability-helper":De,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.less":Ie,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/item.tsx":Be,"react-resizable":Ue,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/selection-alert.tsx":de,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/summary.tsx":pe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/relative.tsx":Te,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/upload-image.tsx":Se,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/hook.tsx":Le,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/theme-dialog.ts":We,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/button.tsx":Ae,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/context.ts":H,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/drawer-footer.tsx":J,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/utils.ts":ce,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/javascript.tsx":ve,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/yaml.tsx":be,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/json.tsx":Ce,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/xml.tsx":Fe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/index.tsx":ue,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/sql.tsx":ye,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/customize.tsx":He,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/ modal.tsx":Ge,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/layout-keep-alive/page.tsx":Ve,"@codemirror/lang-xml":Qe,"@codemirror/lang-javascript":Me,"@codemirror/lang-yaml":he,"@codemirror/lang-sql":Pe,"@codemirror/lang-json":Re,"@lexical/link":ke,"lodash.debounce":Ke,"@codemirror/language":sn,"@lexical/list":zn,"react-sortablejs":Un,"antd-img-crop":ot,"@codemirror/lint":st,"@lexical/rich-text":Hn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code-base.tsx":An,"react-dom/client":o||(o=e.t(Vn,2)),"react-custom-scrollbars":Gn,lexical:rt,"@uiw/react-codemirror":at,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/count-down.tsx":Ln,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/usePageRequest.tsx":Bn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/ellipsis.tsx":rn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/check.tsx":Xn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/filter.tsx":Sn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/operation.tsx":kn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/title.tsx":Kn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/useComplexState.tsx":an,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/resize-observer.tsx":Wn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-insert-css.ts":Fn,"insert-css":Jn,runes2:it,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code.less":ln,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-input-css.ts":Ye,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookDrawer.tsx":un,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/usePatchElement.tsx":dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookModal.tsx":cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/_api.ts":_n,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/_api.ts":mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/_api.ts":pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/_api.ts":fn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/layout-single-page/_api.ts":vn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_api.ts":hn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/_api.ts":gn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/loading/_api.ts":en,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/_api.ts":En,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/_api.ts":nn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/_api.ts":Yn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/_api.ts":xn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/layout-keep-alive/_api.ts":tn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/_api.ts":Pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/_api.ts":Cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/_api.ts":yn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/theme.ts":Dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/styleConfig.ts":bn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/init-html.tsx":Mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.tsx":On,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/export.ts":Je,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageNode.tsx":jn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_utils.ts":In,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/tree.tsx":Rn,"@lexical/html":lt,"@ccs-ui/rc-pro":i,"@lexical/react/LexicalComposerContext":Qn,"@ccs-ui/rc-pro/hooks/use-input-css":Ye,"react-draggable":ut,"@lexical/react/LexicalComposer":dt,"@lexical/react/LexicalContentEditable":qn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageComponent.tsx":Nn,"@lexical/react/LexicalErrorBoundary":ct,"@lexical/react/LexicalHistoryPlugin":_t,"@lexical/react/LexicalLinkPlugin":et,"@lexical/react/LexicalOnChangePlugin":mt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/upload.tsx":Zn,"@lexical/react/LexicalRichTextPlugin":nt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/index.tsx":Tn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/index.tsx":$n,"@ccs-ui/rc-pro/editor/rich/export":Je,"@lexical/selection":pt,"@lexical/utils":tt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/code.tsx":wn},renderOpts:{compile:function(){var $e=p()(_()().mark(function Ne(){var Ze,on=arguments;return _()().wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:return ze.next=2,e.e(9510).then(e.bind(e,59510));case 2:return ze.abrupt("return",(Ze=ze.sent).default.apply(Ze,on));case 3:case"end":return ze.stop()}},Ne)}));function we(){return $e.apply(this,arguments)}return we}()}},"button-demo-group":{component:f.memo(f.lazy(function(){return e.e(4219).then(e.bind(e,87807))})),asset:{type:"BLOCK",id:"button-demo-group",refAtomIds:["button"],dependencies:{"index.tsx":{type:"FILE",value:e(17367).Z},"@ant-design/icons":{type:"NPM",value:"5.6.1"},antd:{type:"NPM",value:"5.27.3"},"...tsx":{type:"FILE",value:e(49202).Z},react:{type:"NPM",value:"18.3.1"},"./group.tsx":{type:"FILE",value:e(55736).Z},"./dropdown.tsx":{type:"FILE",value:e(83450).Z},"...ts":{type:"FILE",value:e(21460).Z},"./aj-captcha.tsx":{type:"FILE",value:e(86893).Z},"./atom.tsx":{type:"FILE",value:e(7169).Z},"./cascader.tsx":{type:"FILE",value:e(57066).Z},"./auth.tsx":{type:"FILE",value:e(93722).Z},"./atom/full-screen.tsx":{type:"FILE",value:e(11361).Z},"./config.tsx":{type:"FILE",value:e(23456).Z},"./dialog.tsx":{type:"FILE",value:e(43022).Z},"./date-picker.tsx":{type:"FILE",value:e(45645).Z},"./color-picker.tsx":{type:"FILE",value:e(12290).Z},"./hooks/use-once-event.tsx":{type:"FILE",value:e(80659).Z},"./form.tsx":{type:"FILE",value:e(28013).Z},"./hooks/use-tabs.tsx":{type:"FILE",value:e(67634).Z},"./hooks/use-app.ts":{type:"FILE",value:e(57414).Z},"./editor.tsx":{type:"FILE",value:e(36878).Z},"./hooks/use-page.ts":{type:"FILE",value:e(38712).Z},"./layout-keep-alive.tsx":{type:"FILE",value:e(12807).Z},"./pro-table.tsx":{type:"FILE",value:e(82530).Z},"./hooks/use-selection.ts":{type:"FILE",value:e(13853).Z},"./hooks/use-window.ts":{type:"FILE",value:e(30960).Z},"./interval-button.tsx":{type:"FILE",value:e(94729).Z},"./layout-single-page.tsx":{type:"FILE",value:e(52847).Z},"./status-tag.tsx":{type:"FILE",value:e(59609).Z},"./loading.tsx":{type:"FILE",value:e(58967).Z},"./time-picker.tsx":{type:"FILE",value:e(88225).Z},"./table.tsx":{type:"FILE",value:e(56197).Z},"./result.tsx":{type:"FILE",value:e(58578).Z},"./pro-tabs.tsx":{type:"FILE",value:e(4196).Z},"./select.tsx":{type:"FILE",value:e(96440).Z},"./upload.tsx":{type:"FILE",value:e(27379).Z},"./water-mark.tsx":{type:"FILE",value:e(79604).Z},"./ccs.ts":{type:"FILE",value:e(37846).Z},"@ant-design/compatible":{type:"NPM",value:"5.1.4"},"@ant-design/colors":{type:"NPM",value:"8.0.0"},ahooks:{type:"NPM",value:"3.9.5"},"@ccs-ui/utils":{type:"NPM",value:"0.1.7"},"react-router":{type:"NPM",value:"6.3.0"},dayjs:{type:"NPM",value:"1.11.18"},"./api.tsx":{type:"FILE",value:e(52504).Z},"../context.ts":{type:"FILE",value:e(45757).Z},"react-router-dom":{type:"NPM",value:"6.3.0"},"tiny-pinyin":{type:"NPM",value:"1.3.2"},classnames:{type:"NPM",value:"2.5.1"},"immutability-helper":{type:"NPM",value:"3.1.1"},"./index.less":{type:"FILE",value:e(47285).Z},"./list.tsx":{type:"FILE",value:e(53019).Z},"./item.tsx":{type:"FILE",value:e(68666).Z},"./summary.tsx":{type:"FILE",value:e(98670).Z},"./selection-alert.tsx":{type:"FILE",value:e(9267).Z},"react-resizable":{type:"NPM",value:"3.0.5"},"./hook.tsx":{type:"FILE",value:e(98314).Z},"./context.ts":{type:"FILE",value:e(70052).Z},"../theme-dialog.ts":{type:"FILE",value:e(62576).Z},"./button.tsx":{type:"FILE",value:e(80886).Z},"./drawer-footer.tsx":{type:"FILE",value:e(82759).Z},"./upload-image.tsx":{type:"FILE",value:e(87745).Z},"./relative.tsx":{type:"FILE",value:e(62561).Z},"./javascript.tsx":{type:"FILE",value:e(85609).Z},"./json.tsx":{type:"FILE",value:e(94975).Z},"../utils.ts":{type:"FILE",value:e(47704).Z},"./xml.tsx":{type:"FILE",value:e(26834).Z},"./yaml.tsx":{type:"FILE",value:e(5093).Z},"./sql.tsx":{type:"FILE",value:e(53986).Z},"./rich.tsx":{type:"FILE",value:e(88535).Z},"lodash.debounce":{type:"NPM",value:"4.0.8"},"./page.tsx":{type:"FILE",value:e(68321).Z},"@codemirror/lang-javascript":{type:"NPM",value:"6.2.4"},"./customize.tsx":{type:"FILE",value:e(5125).Z},"./ modal.tsx":{type:"FILE",value:e(2431).Z},"@codemirror/lang-json":{type:"NPM",value:"6.0.2"},"@codemirror/lang-xml":{type:"NPM",value:"6.1.0"},"@codemirror/lang-yaml":{type:"NPM",value:"6.1.2"},"@codemirror/lang-sql":{type:"NPM",value:"6.10.0"},"@lexical/link":{type:"NPM",value:"0.38.2"},"react-sortablejs":{type:"NPM",value:"6.1.4"},"@codemirror/language":{type:"NPM",value:"6.11.3"},"react-dom":{type:"NPM",value:"18.3.1"},"antd-img-crop":{type:"NPM",value:"4.25.0"},"@lexical/list":{type:"NPM",value:"0.38.2"},"./code-base.tsx":{type:"FILE",value:e(46345).Z},"@codemirror/lint":{type:"NPM",value:"6.8.5"},"@lexical/rich-text":{type:"NPM",value:"0.38.2"},"react-custom-scrollbars":{type:"NPM",value:"4.2.1"},"./count-down.tsx":{type:"FILE",value:e(36483).Z},"./filter.tsx":{type:"FILE",value:e(24706).Z},"./check.tsx":{type:"FILE",value:e(13924).Z},"./ellipsis.tsx":{type:"FILE",value:e(7122).Z},"./title.tsx":{type:"FILE",value:e(92649).Z},"./useComplexState.tsx":{type:"FILE",value:e(84109).Z},"./usePageRequest.tsx":{type:"FILE",value:e(71754).Z},"./operation.tsx":{type:"FILE",value:e(63013).Z},"./resize-observer.tsx":{type:"FILE",value:e(99021).Z},undefined:{type:"NPM"},lexical:{type:"NPM",value:"0.38.2"},"../hooks/use-insert-css.ts":{type:"FILE",value:e(5766).Z},"insert-css":{type:"NPM",value:"2.0.0"},"./usePatchElement.tsx":{type:"FILE",value:e(96602).Z},"./HookDrawer.tsx":{type:"FILE",value:e(95933).Z},"./HookModal.tsx":{type:"FILE",value:e(40656).Z},runes2:{type:"NPM",value:"1.1.4"},"./code.less":{type:"FILE",value:e(49960).Z},"../hooks/use-input-css.ts":{type:"FILE",value:e(63406).Z},"./atom/_api.ts":{type:"FILE",value:e(35759).Z},"./button/_api.ts":{type:"FILE",value:e(45621).Z},"./context/_api.ts":{type:"FILE",value:e(51412).Z},"./editor/_api.ts":{type:"FILE",value:e(2142).Z},"./cascader/_api.ts":{type:"FILE",value:e(20848).Z},"./layout-single-page/_api.ts":{type:"FILE",value:e(70313).Z},"./date-picker/_api.ts":{type:"FILE",value:e(797).Z},"./loading/_api.ts":{type:"FILE",value:e(23103).Z},"./form/_api.ts":{type:"FILE",value:e(29060).Z},"./layout-keep-alive/_api.ts":{type:"FILE",value:e(27681).Z},"./dialog/_api.ts":{type:"FILE",value:e(35987).Z},"./select/_api.ts":{type:"FILE",value:e(42519).Z},"./water-mark/_api.ts":{type:"FILE",value:e(96788).Z},"./pro-table/_api.ts":{type:"FILE",value:e(10753).Z},"./upload/_api.ts":{type:"FILE",value:e(86363).Z},"./pro-tabs/_api.ts":{type:"FILE",value:e(67190).Z},"../lexical/base.tsx":{type:"FILE",value:e(37634).Z},"../lexical/base/styleConfig.ts":{type:"FILE",value:e(20466).Z},"../lexical/plugins/init-html.tsx":{type:"FILE",value:e(1731).Z},"./theme.ts":{type:"FILE",value:e(91255).Z},"../lexical/plugins/image/ImageNode.tsx":{type:"FILE",value:e(87173).Z},"./export.ts":{type:"FILE",value:e(82227).Z},"./tree.tsx":{type:"FILE",value:e(97683).Z},"./_utils.ts":{type:"FILE",value:e(52067).Z},"react-draggable":{type:"NPM",value:"4.5.0"},"@lexical/html":{type:"NPM",value:"0.38.2"},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"},"@lexical/react":{type:"NPM",value:"0.38.2"},"./ImageComponent.tsx":{type:"FILE",value:e(74610).Z},"../../base/toolbar/upload.tsx":{type:"FILE",value:e(62989).Z},"./toolbar.tsx":{type:"FILE",value:e(49811).Z},"../plugins/image.tsx":{type:"FILE",value:e(95791).Z},"@lexical/selection":{type:"NPM",value:"0.38.2"},"@lexical/utils":{type:"NPM",value:"0.38.2"},"./code.tsx":{type:"FILE",value:e(58988).Z}},entry:"index.tsx",title:"\u6309\u94AE\u7EC4",description:"\u6309\u94AE\u7EC4\u3002"},context:{"...tsx":d,"./group.tsx":a,"./dropdown.tsx":u,"...ts":i,"./aj-captcha.tsx":t,"./atom.tsx":r,"./cascader.tsx":g,"./auth.tsx":C,"./atom/full-screen.tsx":l,"./config.tsx":P,"./dialog.tsx":b,"./date-picker.tsx":M,"./color-picker.tsx":k,"./hooks/use-once-event.tsx":z,"./form.tsx":O,"./hooks/use-tabs.tsx":Z,"./hooks/use-app.ts":I,"./editor.tsx":E,"./hooks/use-page.ts":A,"./layout-keep-alive.tsx":U,"./pro-table.tsx":R,"./hooks/use-selection.ts":S,"./hooks/use-window.ts":x,"./interval-button.tsx":B,"./layout-single-page.tsx":D,"./status-tag.tsx":W,"./loading.tsx":T,"./time-picker.tsx":K,"./table.tsx":$,"./result.tsx":Y,"./pro-tabs.tsx":w,"./select.tsx":F,"./upload.tsx":N,"./water-mark.tsx":j,"./ccs.ts":L,"./api.tsx":ie,"../context.ts":fe,"./index.less":Ie,"./list.tsx":Ee,"./item.tsx":Be,"./summary.tsx":pe,"./selection-alert.tsx":de,"./hook.tsx":Le,"./context.ts":H,"../theme-dialog.ts":We,"./button.tsx":Ae,"./drawer-footer.tsx":J,"./upload-image.tsx":Se,"./relative.tsx":Te,"./javascript.tsx":ve,"./json.tsx":Ce,"../utils.ts":ce,"./xml.tsx":Fe,"./yaml.tsx":be,"./sql.tsx":ye,"./rich.tsx":ue,"./page.tsx":Ve,"./customize.tsx":He,"./ modal.tsx":Ge,"./code-base.tsx":An,"./count-down.tsx":Ln,"./filter.tsx":Sn,"./check.tsx":Xn,"./ellipsis.tsx":rn,"./title.tsx":Kn,"./useComplexState.tsx":an,"./usePageRequest.tsx":Bn,"./operation.tsx":kn,"./resize-observer.tsx":Wn,"../hooks/use-insert-css.ts":Fn,"./usePatchElement.tsx":dn,"./HookDrawer.tsx":un,"./HookModal.tsx":cn,"./code.less":ln,"../hooks/use-input-css.ts":Ye,"./atom/_api.ts":_n,"./button/_api.ts":mn,"./context/_api.ts":yn,"./editor/_api.ts":Pn,"./cascader/_api.ts":fn,"./layout-single-page/_api.ts":vn,"./date-picker/_api.ts":pn,"./loading/_api.ts":en,"./form/_api.ts":xn,"./layout-keep-alive/_api.ts":tn,"./dialog/_api.ts":En,"./select/_api.ts":Yn,"./water-mark/_api.ts":gn,"./pro-table/_api.ts":hn,"./upload/_api.ts":nn,"./pro-tabs/_api.ts":Cn,"../lexical/base.tsx":On,"../lexical/base/styleConfig.ts":bn,"../lexical/plugins/init-html.tsx":Mn,"./theme.ts":Dn,"../lexical/plugins/image/ImageNode.tsx":jn,"./export.ts":Je,"./tree.tsx":Rn,"./_utils.ts":In,"./ImageComponent.tsx":Nn,"../../base/toolbar/upload.tsx":Zn,"./toolbar.tsx":$n,"../plugins/image.tsx":Tn,"./code.tsx":wn,"@ant-design/icons":s,antd:c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/index.tsx":d,react:v||(v=e.t(f,2)),"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/group.tsx":a,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/dropdown.tsx":u,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/index.ts":i,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/aj-captcha/index.tsx":t,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/index.tsx":r,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/index.tsx":g,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/auth/index.tsx":C,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/full-screen.tsx":l,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/config.tsx":P,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/index.tsx":b,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/index.tsx":M,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/color-picker/index.tsx":k,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-once-event.tsx":z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/form.tsx":O,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-tabs.tsx":Z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-app.ts":I,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/index.tsx":E,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-page.ts":A,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/layout-keep-alive/index.tsx":U,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/index.tsx":R,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-selection.ts":S,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-window.ts":x,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/interval-button/index.tsx":B,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/layout-single-page/index.tsx":D,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/status-tag/index.tsx":W,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/loading/index.tsx":T,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/time-picker/index.tsx":K,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/table.tsx":$,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/result/index.tsx":Y,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/index.tsx":w,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/index.tsx":F,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/index.tsx":N,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/index.tsx":j,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/ccs.ts":L,"@ant-design/compatible":X,"@ant-design/colors":ee,ahooks:te,"@ccs-ui/utils":V,"react-router":G,dayjs:Q,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/api.tsx":ie,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/index.ts":fe,"react-router-dom":ge,"antd/locale/zh_CN":ne,"dayjs/plugin/customParseFormat":_e,"antd/es/config-provider":ae,"tiny-pinyin":se,classnames:re,"immutability-helper":De,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.less":Ie,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/list.tsx":Ee,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/item.tsx":Be,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/summary.tsx":pe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/selection-alert.tsx":de,"react-resizable":Ue,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/hook.tsx":Le,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/context.ts":H,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/theme-dialog.ts":We,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/button.tsx":Ae,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/drawer-footer.tsx":J,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/upload-image.tsx":Se,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/relative.tsx":Te,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/javascript.tsx":ve,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/json.tsx":Ce,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/utils.ts":ce,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/xml.tsx":Fe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/yaml.tsx":be,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/sql.tsx":ye,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/index.tsx":ue,"lodash.debounce":Ke,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/layout-keep-alive/page.tsx":Ve,"@codemirror/lang-javascript":Me,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/customize.tsx":He,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/ modal.tsx":Ge,"@codemirror/lang-json":Re,"@codemirror/lang-xml":Qe,"@codemirror/lang-yaml":he,"@codemirror/lang-sql":Pe,"@lexical/link":ke,"react-sortablejs":Un,"@codemirror/language":sn,"react-dom/client":o||(o=e.t(Vn,2)),"antd-img-crop":ot,"@lexical/list":zn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code-base.tsx":An,"@codemirror/lint":st,"@lexical/rich-text":Hn,"react-custom-scrollbars":Gn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/count-down.tsx":Ln,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/filter.tsx":Sn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/check.tsx":Xn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/ellipsis.tsx":rn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/title.tsx":Kn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/useComplexState.tsx":an,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/usePageRequest.tsx":Bn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/operation.tsx":kn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/resize-observer.tsx":Wn,"@uiw/react-codemirror":at,lexical:rt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-insert-css.ts":Fn,"insert-css":Jn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/usePatchElement.tsx":dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookDrawer.tsx":un,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookModal.tsx":cn,runes2:it,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code.less":ln,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-input-css.ts":Ye,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/_api.ts":_n,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/_api.ts":mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/_api.ts":yn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/_api.ts":Pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/_api.ts":fn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/layout-single-page/_api.ts":vn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/_api.ts":pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/loading/_api.ts":en,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/_api.ts":xn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/layout-keep-alive/_api.ts":tn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/_api.ts":En,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/_api.ts":Yn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/_api.ts":gn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_api.ts":hn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/_api.ts":nn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/_api.ts":Cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.tsx":On,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/styleConfig.ts":bn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/init-html.tsx":Mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/theme.ts":Dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageNode.tsx":jn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/export.ts":Je,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/tree.tsx":Rn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_utils.ts":In,"react-draggable":ut,"@lexical/html":lt,"@ccs-ui/rc-pro":i,"@lexical/react/LexicalComposerContext":Qn,"@ccs-ui/rc-pro/hooks/use-input-css":Ye,"@lexical/react/LexicalComposer":dt,"@lexical/react/LexicalContentEditable":qn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageComponent.tsx":Nn,"@lexical/react/LexicalErrorBoundary":ct,"@lexical/react/LexicalHistoryPlugin":_t,"@lexical/react/LexicalLinkPlugin":et,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/upload.tsx":Zn,"@lexical/react/LexicalOnChangePlugin":mt,"@lexical/react/LexicalRichTextPlugin":nt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/index.tsx":$n,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/index.tsx":Tn,"@ccs-ui/rc-pro/editor/rich/export":Je,"@lexical/selection":pt,"@lexical/utils":tt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/code.tsx":wn},renderOpts:{compile:function(){var $e=p()(_()().mark(function Ne(){var Ze,on=arguments;return _()().wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:return ze.next=2,e.e(9510).then(e.bind(e,59510));case 2:return ze.abrupt("return",(Ze=ze.sent).default.apply(Ze,on));case 3:case"end":return ze.stop()}},Ne)}));function we(){return $e.apply(this,arguments)}return we}()}}}},32120:function(h,n,e){"use strict";var v;e.r(n),e.d(n,{demos:function(){return d}});var o=e(90228),y=e.n(o),_=e(87999),m=e.n(_),p=e(75271),f=e(39203),c=e(28320),d={"cascader-demo-basic":{component:p.memo(p.lazy(function(){return e.e(7681).then(e.bind(e,55867))})),asset:{type:"BLOCK",id:"cascader-demo-basic",refAtomIds:["cascader"],dependencies:{"index.tsx":{type:"FILE",value:e(20532).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u57FA\u672C\u7528\u6CD5\u3002"},context:{"@ccs-ui/rc-pro":f},renderOpts:{compile:function(){var s=m()(y()().mark(function i(){var u,t=arguments;return y()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,e.e(9510).then(e.bind(e,59510));case 2:return l.abrupt("return",(u=l.sent).default.apply(u,t));case 3:case"end":return l.stop()}},i)}));function a(){return s.apply(this,arguments)}return a}()}},"cascader-demo-cache":{component:p.memo(p.lazy(function(){return e.e(7681).then(e.bind(e,25868))})),asset:{type:"BLOCK",id:"cascader-demo-cache",refAtomIds:["cascader"],dependencies:{"index.tsx":{type:"FILE",value:e(75309).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u6570\u636E\u7F13\u5B58",description:"\u914D\u7F6Ecache\u5C5E\u6027\u540E\uFF0C\u5C06\u5F00\u542F\u6570\u636E\u7F13\u5B58"},context:{"@ccs-ui/rc-pro":f,antd:c,react:v||(v=e.t(p,2))},renderOpts:{compile:function(){var s=m()(y()().mark(function i(){var u,t=arguments;return y()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,e.e(9510).then(e.bind(e,59510));case 2:return l.abrupt("return",(u=l.sent).default.apply(u,t));case 3:case"end":return l.stop()}},i)}));function a(){return s.apply(this,arguments)}return a}()}}}},8218:function(h,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return c}});var v=e(90228),o=e.n(v),y=e(87999),_=e.n(y),m=e(75271),p=e(39203),f=e(28320),c={"date-picker-demo-basic":{component:m.memo(m.lazy(function(){return e.e(5003).then(e.bind(e,69306))})),asset:{type:"BLOCK",id:"date-picker-demo-basic",refAtomIds:["date-picker"],dependencies:{"index.tsx":{type:"FILE",value:e(29634).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u5E74\uFF0C\u6708\uFF0C\u65E5\uFF0C\u65F6\u95F4\uFF0C\u8F93\u5165\u8F93\u51FA\u5B57\u7B26\u4E32\uFF0C\u4E0D\u9700\u8981\u8F6C\u6362Dayjs\u7C7B\u578B\u3002"},context:{"@ccs-ui/rc-pro":p,antd:f},renderOpts:{compile:function(){var d=_()(o()().mark(function a(){var i,u=arguments;return o()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,e.e(9510).then(e.bind(e,59510));case 2:return r.abrupt("return",(i=r.sent).default.apply(i,u));case 3:case"end":return r.stop()}},a)}));function s(){return d.apply(this,arguments)}return s}()}},"date-picker-demo-range":{component:m.memo(m.lazy(function(){return e.e(5003).then(e.bind(e,1687))})),asset:{type:"BLOCK",id:"date-picker-demo-range",refAtomIds:["date-picker"],dependencies:{"index.tsx":{type:"FILE",value:e(49277).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u533A\u95F4\u9009\u62E9"},context:{"@ccs-ui/rc-pro":p,antd:f},renderOpts:{compile:function(){var d=_()(o()().mark(function a(){var i,u=arguments;return o()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,e.e(9510).then(e.bind(e,59510));case 2:return r.abrupt("return",(i=r.sent).default.apply(i,u));case 3:case"end":return r.stop()}},a)}));function s(){return d.apply(this,arguments)}return s}()}}}},98582:function(h,n,e){"use strict";var v;e.r(n),e.d(n,{demos:function(){return t}});var o=e(90228),y=e.n(o),_=e(87999),m=e.n(_),p=e(75271),f=e(39203),c=e(28320),d=e(97764),s=e(80429),a=e(38525),i=e(41974),u=e(99930),t={"dialog-demo-demos":{component:p.memo(p.lazy(function(){return e.e(447).then(e.bind(e,99699))})),asset:{type:"BLOCK",id:"dialog-demo-demos",refAtomIds:["dialog"],dependencies:{"index.tsx":{type:"FILE",value:e(4027).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"},antd:{type:"NPM",value:"5.27.3"},"./Basic.tsx":{type:"FILE",value:e(58254).Z},"./FormCustom.tsx":{type:"FILE",value:e(91015).Z},"./Cache.tsx":{type:"FILE",value:e(26260).Z},ahooks:{type:"NPM",value:"3.9.5"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx"},context:{"./Basic.tsx":d,"./FormCustom.tsx":s,"./Cache.tsx":a,"@ccs-ui/rc-pro":f,antd:c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/demos/Basic.tsx":d,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/demos/FormCustom.tsx":s,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/demos/Cache.tsx":a,ahooks:i,react:v||(v=e.t(p,2)),"antd/es/form/hooks/useFormInstance":u},renderOpts:{compile:function(){var r=m()(y()().mark(function P(){var g,C=arguments;return y()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,e.e(9510).then(e.bind(e,59510));case 2:return E.abrupt("return",(g=E.sent).default.apply(g,C));case 3:case"end":return E.stop()}},P)}));function l(){return r.apply(this,arguments)}return l}()}},"dialog-demo-form":{component:p.memo(p.lazy(function(){return e.e(447).then(e.bind(e,6068))})),asset:{type:"BLOCK",id:"dialog-demo-form",refAtomIds:["dialog"],dependencies:{"index.tsx":{type:"FILE",value:e(77697).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u96C6\u6210\u8868\u5355\uFF0C\u63A5\u53E3\u8BF7\u6C42",description:"\u7ED3\u5408Form\u8868\u5355,\u81EA\u52A8\u6536\u96C6\u8868\u5355\u7ED3\u679C\uFF0C\u81EA\u52A8\u8C03\u7528\u63A5\u53E3\uFF0C\u53CD\u9988\u7ED3\u679C\u3002Drawer \u540C modal"},context:{"@ccs-ui/rc-pro":f,antd:c},renderOpts:{compile:function(){var r=m()(y()().mark(function P(){var g,C=arguments;return y()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,e.e(9510).then(e.bind(e,59510));case 2:return E.abrupt("return",(g=E.sent).default.apply(g,C));case 3:case"end":return E.stop()}},P)}));function l(){return r.apply(this,arguments)}return l}()}},"dialog-demo-prompt":{component:p.memo(p.lazy(function(){return e.e(447).then(e.bind(e,90336))})),asset:{type:"BLOCK",id:"dialog-demo-prompt",refAtomIds:["dialog"],dependencies:{"index.tsx":{type:"FILE",value:e(24606).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u6D88\u606F\u53CD\u9988",description:"modal,message,notification,\u6D88\u606F\u63D0\u793A\uFF1A\u9002\u5E94\u4E3B\u9898\u53D8\u5316\u7684\u6D88\u606F\u63D0,\u65E0\u9700\u4F7F\u7528 contextHolder\u3002"},context:{"@ccs-ui/rc-pro":f,antd:c},renderOpts:{compile:function(){var r=m()(y()().mark(function P(){var g,C=arguments;return y()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,e.e(9510).then(e.bind(e,59510));case 2:return E.abrupt("return",(g=E.sent).default.apply(g,C));case 3:case"end":return E.stop()}},P)}));function l(){return r.apply(this,arguments)}return l}()}}}},17882:function(h,n,e){"use strict";var v;e.r(n),e.d(n,{demos:function(){return d}});var o=e(90228),y=e.n(o),_=e(87999),m=e.n(_),p=e(75271),f=e(39203),c=e(28320),d={"editor-demo-rich":{component:p.memo(p.lazy(function(){return e.e(3404).then(e.bind(e,36211))})),asset:{type:"BLOCK",id:"editor-demo-rich",refAtomIds:["editor"],dependencies:{"index.tsx":{type:"FILE",value:e(46912).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u5BCC\u6587\u672C\u7F16\u8F91\u5668",description:"\u5BCC\u6587\u672C\u7F16\u8F91\u3001\u56FE\u7247\u4E0A\u4F20\u3001\u6E90\u7801\u7F16\u8F91"},context:{"@ccs-ui/rc-pro":f,antd:c,react:v||(v=e.t(p,2))},renderOpts:{compile:function(){var s=m()(y()().mark(function i(){var u,t=arguments;return y()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,e.e(9510).then(e.bind(e,59510));case 2:return l.abrupt("return",(u=l.sent).default.apply(u,t));case 3:case"end":return l.stop()}},i)}));function a(){return s.apply(this,arguments)}return a}()}},"editor-demo-demos":{component:p.memo(p.lazy(function(){return e.e(3404).then(e.bind(e,85768))})),asset:{type:"BLOCK",id:"editor-demo-demos",refAtomIds:["editor"],dependencies:{"index.tsx":{type:"FILE",value:e(25232).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u4EE3\u7801\u7F16\u8F91\u5668"},context:{"@ccs-ui/rc-pro":f,antd:c,react:v||(v=e.t(p,2))},renderOpts:{compile:function(){var s=m()(y()().mark(function i(){var u,t=arguments;return y()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,e.e(9510).then(e.bind(e,59510));case 2:return l.abrupt("return",(u=l.sent).default.apply(u,t));case 3:case"end":return l.stop()}},i)}));function a(){return s.apply(this,arguments)}return a}()}}}},72913:function(h,n,e){"use strict";var v;e.r(n),e.d(n,{demos:function(){return d}});var o=e(90228),y=e.n(o),_=e(87999),m=e.n(_),p=e(75271),f=e(39203),c=e(28320),d={"form-demo-demos":{component:p.memo(p.lazy(function(){return e.e(6294).then(e.bind(e,7584))})),asset:{type:"BLOCK",id:"form-demo-demos",refAtomIds:["form"],dependencies:{"index.tsx":{type:"FILE",value:e(7570).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:`Form
2
- \u57FA\u672C\u7528\u6CD5`,description:"Antd\u8868\u5355\u7EC4\u4EF6\u6269\u5C55\uFF0C\u4F9D\u8D56\u5224\u65AD\uFF0C\u663E\u793A\uFF0C\u5D4C\u5957\u5217\u8868\uFF0C\u62D6\u62FD\u6392\u5E8F\uFF0C\u7B80\u5355\u6821\u9A8C\u89C4\u5219"},context:{"@ccs-ui/rc-pro":f,antd:c,react:v||(v=e.t(p,2))},renderOpts:{compile:function(){var s=m()(y()().mark(function i(){var u,t=arguments;return y()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,e.e(9510).then(e.bind(e,59510));case 2:return l.abrupt("return",(u=l.sent).default.apply(u,t));case 3:case"end":return l.stop()}},i)}));function a(){return s.apply(this,arguments)}return a}()}}}},66339:function(h,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return o}});var v=e(75271),o={}},35882:function(h,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return o}});var v=e(75271),o={}},64565:function(h,n,e){"use strict";var v;e.r(n),e.d(n,{demos:function(){return d}});var o=e(90228),y=e.n(o),_=e(87999),m=e.n(_),p=e(75271),f=e(39203),c=e(28320),d={"loading-demo-basic":{component:p.memo(p.lazy(function(){return e.e(7205).then(e.bind(e,62318))})),asset:{type:"BLOCK",id:"loading-demo-basic",refAtomIds:["loading"],dependencies:{"index.tsx":{type:"FILE",value:e(21148).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u57FA\u672C\u7528\u6CD5\u3002"},context:{"@ccs-ui/rc-pro":f,antd:c,react:v||(v=e.t(p,2))},renderOpts:{compile:function(){var s=m()(y()().mark(function i(){var u,t=arguments;return y()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,e.e(9510).then(e.bind(e,59510));case 2:return l.abrupt("return",(u=l.sent).default.apply(u,t));case 3:case"end":return l.stop()}},i)}));function a(){return s.apply(this,arguments)}return a}()}}}},10865:function(h,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return i}});var v=e(90228),o=e.n(v),y=e(87999),_=e.n(y),m=e(75271),p=e(3180),f=e(39203),c=e(28320),d=e(96757),s=e(17888),a=e.n(s),i={"pro-table-demo-basic":{component:m.memo(m.lazy(function(){return e.e(1888).then(e.bind(e,75994))})),asset:{type:"BLOCK",id:"pro-table-demo-basic",refAtomIds:["pro-table"],dependencies:{"index.tsx":{type:"FILE",value:e(7049).Z},"@ant-design/icons":{type:"NPM",value:"5.6.1"},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"},antd:{type:"NPM",value:"5.27.3"},"./service.ts":{type:"FILE",value:e(54331).Z},dayjs:{type:"NPM",value:"1.11.18"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u57FA\u7840\u67E5\u8BE2"},context:{"./service.ts":d,"@ant-design/icons":p,"@ccs-ui/rc-pro":f,antd:c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/service.ts":d,dayjs:s},renderOpts:{compile:function(){var u=_()(o()().mark(function r(){var l,P=arguments;return o()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.next=2,e.e(9510).then(e.bind(e,59510));case 2:return C.abrupt("return",(l=C.sent).default.apply(l,P));case 3:case"end":return C.stop()}},r)}));function t(){return u.apply(this,arguments)}return t}()}}}},70987:function(h,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return c}});var v=e(90228),o=e.n(v),y=e(87999),_=e.n(y),m=e(75271),p=e(39203),f=e(28320),c={"pro-tabs-demo-basic":{component:m.memo(m.lazy(function(){return e.e(3408).then(e.bind(e,35862))})),asset:{type:"BLOCK",id:"pro-tabs-demo-basic",refAtomIds:["pro-tabs"],dependencies:{"index.tsx":{type:"FILE",value:e(69045).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u4E3B\u754C\u9762\u7EDF\u4E00tab\u4F7F\u7528\u98CE\u683C"},context:{"@ccs-ui/rc-pro":p,antd:f},renderOpts:{compile:function(){var d=_()(o()().mark(function a(){var i,u=arguments;return o()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,e.e(9510).then(e.bind(e,59510));case 2:return r.abrupt("return",(i=r.sent).default.apply(i,u));case 3:case"end":return r.stop()}},a)}));function s(){return d.apply(this,arguments)}return s}()}},"pro-tabs-demo-tab":{component:m.memo(m.lazy(function(){return e.e(3408).then(e.bind(e,97153))})),asset:{type:"BLOCK",id:"pro-tabs-demo-tab",refAtomIds:["pro-tabs"],dependencies:{"index.tsx":{type:"FILE",value:e(37926).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"tab \u4EA4\u4E92",description:"tab\u9009\u4E2D\uFF0Ctab\u4E4B\u95F4\u4F20\u503C\uFF0Ctab\u6DFB\u52A0\uFF0Ctab\u79FB\u9664\uFF0Ctab\u7981\u7528"},context:{"@ccs-ui/rc-pro":p,antd:f},renderOpts:{compile:function(){var d=_()(o()().mark(function a(){var i,u=arguments;return o()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,e.e(9510).then(e.bind(e,59510));case 2:return r.abrupt("return",(i=r.sent).default.apply(i,u));case 3:case"end":return r.stop()}},a)}));function s(){return d.apply(this,arguments)}return s}()}}}},46670:function(h,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return f}});var v=e(90228),o=e.n(v),y=e(87999),_=e.n(y),m=e(75271),p=e(39203),f={"result-demo-basic":{component:m.memo(m.lazy(function(){return e.e(597).then(e.bind(e,16445))})),asset:{type:"BLOCK",id:"result-demo-basic",refAtomIds:["result"],dependencies:{"index.tsx":{type:"FILE",value:e(20003).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u57FA\u672C\u7528\u6CD5\u3002"},context:{"@ccs-ui/rc-pro":p},renderOpts:{compile:function(){var c=_()(o()().mark(function s(){var a,i=arguments;return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.e(9510).then(e.bind(e,59510));case 2:return t.abrupt("return",(a=t.sent).default.apply(a,i));case 3:case"end":return t.stop()}},s)}));function d(){return c.apply(this,arguments)}return d}()}}}},98693:function(h,n,e){"use strict";var v;e.r(n),e.d(n,{demos:function(){return a}});var o=e(90228),y=e.n(o),_=e(87999),m=e.n(_),p=e(75271),f=e(39203),c=e(28320),d=e(61809),s=e(41974),a={"select-demo-basic":{component:p.memo(p.lazy(function(){return e.e(6714).then(e.bind(e,98239))})),asset:{type:"BLOCK",id:"select-demo-basic",refAtomIds:["select"],dependencies:{"index.tsx":{type:"FILE",value:e(85467).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"}},entry:"index.tsx",title:`Antd Select
3
- \u57FA\u672C\u7528\u6CD5`,description:"\u6269\u5C55\uFF0C\u6DFB\u52A0\u9ED8\u8BA4\u914D\u7F6E(\u641C\u7D22\uFF0C\u6E05\u9664\uFF0C\u5360\u4F4D)\uFF0C\u652F\u6301\u62FC\u97F3\u5339\u914D\u9009\u9879\uFF0C\u6DFB\u52A0\u5168\u90E8\u9009\u4E2D\u3002"},context:{"@ccs-ui/rc-pro":f},renderOpts:{compile:function(){var i=m()(y()().mark(function t(){var r,l=arguments;return y()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,e.e(9510).then(e.bind(e,59510));case 2:return g.abrupt("return",(r=g.sent).default.apply(r,l));case 3:case"end":return g.stop()}},t)}));function u(){return i.apply(this,arguments)}return u}()}},"select-demo-api":{component:p.memo(p.lazy(function(){return e.e(6714).then(e.bind(e,81531))})),asset:{type:"BLOCK",id:"select-demo-api",refAtomIds:["select"],dependencies:{"index.tsx":{type:"FILE",value:e(54681).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"},"./service.ts":{type:"FILE",value:e(65358).Z}},entry:"index.tsx",title:"\u57FA\u4E8E\u63A5\u53E3",description:"\u4F20\u5165 request \u8BF7\u6C42\uFF0C\u4F7F\u7528\u63A5\u53E3\u6570\u636E\u3002\u53EF\u914D\u7F6Ecache\u7F13\u5B58\u63A5\u53E3\u6570\u636E"},context:{"./service.ts":d,"@ccs-ui/rc-pro":f,antd:c,react:v||(v=e.t(p,2)),"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/demos/service.ts":d},renderOpts:{compile:function(){var i=m()(y()().mark(function t(){var r,l=arguments;return y()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,e.e(9510).then(e.bind(e,59510));case 2:return g.abrupt("return",(r=g.sent).default.apply(r,l));case 3:case"end":return g.stop()}},t)}));function u(){return i.apply(this,arguments)}return u}()}},"select-demo-customize":{component:p.memo(p.lazy(function(){return e.e(6714).then(e.bind(e,88930))})),asset:{type:"BLOCK",id:"select-demo-customize",refAtomIds:["select"],dependencies:{"index.tsx":{type:"FILE",value:e(82668).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"},ahooks:{type:"NPM",value:"3.9.5"},antd:{type:"NPM",value:"5.27.3"},"./service.ts":{type:"FILE",value:e(65358).Z}},entry:"index.tsx",title:"\u81EA\u5B9A\u4E49\u9009\u62E9\u5668",description:`\u81EA\u5B9A\u4E49\u5F39\u6846\u5185\u5BB9\uFF0C\u7528\u4E8E\u8868\u683C\u9009\u62E9\u7B49\u573A\u666F;
1
+ (self.webpackChunkccs_ui=self.webpackChunkccs_ui||[]).push([[56],{23803:function(g,n,e){"use strict";var h,o;e.r(n),e.d(n,{demos:function(){return Zn}});var C=e(90228),p=e.n(C),_=e(87999),l=e.n(_),v=e(75271),i=e(3180),c=e(39203),r=e(28320),s=e(64723),d=e(85899),m=e.n(d),t=e(22126),u=e(32097),a=e(26123),y=e(13373),P=e(86638),M=e(21827),T=e(24887),f=e(70110),O=e(93238),L=e(56251),b=e(9889),E=e(39142),D=e(41974),x=e(68144),S=e(64017),I=e(82187),A=e.n(I),B=e(14306),F=e(65173),k=e(81475),W=e(73799),U=e(85289),K=e(89486),j=e.n(K),Z=e(56973),N=e(12648),w=e(86247),R=e(97681),z=e(35030),J=e(70896),H=e(1444),G=e(88686),te=e(50712),V=e(22818),Y=e(32813),q=e(16652),ne=e(81777),ae=e(60136),X=e(31248),re=e(68296),oe=e(94127),Q=e(52892),ie=e(18437),se=e(24324),le=e(71973),_e=e(80882),me=e(98708),fe=e(60301),ge=e(29909),Pe=e(1130),ye=e(88370),Ee=e(76098),Te=e(47797),Fe=e(10077),Ue=e(25922),pe=e(17888),de=e.n(pe),xe=e(10436),Ae=e(5791),Se=e(60489),Le=e(73511),je=e.n(Le),ke=e(96586),$=e(80998),ee=e.n($),ce=e(33553),ve=e(14894),Me=e(2369),be=e.n(Me),We=e(73801),ue=e(10495),De=e(18237),Qe=e(31939),He=e(35119),Ve=e(45484),qe=e(52653),Oe=e(9472),he=e(80932),Ce=e(24605),Re=e(32375),Be=e(39445),Ke=e(75419),Ge=e(51561),$n=e(53056),wn=e(68240),zn=e(49805),Hn=e(99696),tn=e(46619),nt=e(34887),tt=e(8689),ot=e(1775),st=e(24365),on=e(86763),Vn=e.n(on),Un=e(48496),An=e(37441),Ln=e(5590),Bn=e(8435),sn=e(59881),Gn=e.n(sn),Sn=e(89020),rn=e(29175),kn=e(38751),Kn=e(47107),Xn=e(78608),mt=e(93325),Wn=e(71794),an=e(86954),ln=e(62376),un=e(91721),dn=e(43449),cn=e(4683),_n=e(37293),mn=e(64637),pn=e(2534),fn=e(73541),vn=e(79579),hn=e(65683),gn=e(84799),En=e(98143),xn=e(3833),Pn=e(94350),Cn=e(93261),yn=e(83857),Je=e(50796),Jn=e(14635),bn=e(83844),Dn=e(24181),Mn=e(13273),en=e(48666),On=e(2978),In=e(26707),Ye=e(3034),Fn=e(63552),Yn=e(79176),rt=e.n(Yn),pt=e(34073),at=e(27741),it=e(13343),Qn=e(40815),lt=e(85600),jn=e(7214),ut=e(69157),qn=e(6145),dt=e(69838),ct=e(54249),Rn=e(92523),Tn=e(56062),Nn=e(83346),_t=e(20509),et=e(67764),Zn={"atom-demo-base":{component:v.memo(v.lazy(function(){return e.e(9254).then(e.bind(e,5702))})),asset:{type:"BLOCK",id:"atom-demo-base",refAtomIds:["atom"],dependencies:{"index.tsx":{type:"FILE",value:e(77822).Z},"@ant-design/icons":{type:"NPM",value:"5.6.1"},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u57FA\u7840"},context:{"@ant-design/icons":i,"@ccs-ui/rc-pro":c,antd:r,react:h||(h=e.t(v,2))},renderOpts:{compile:function(){var Xe=l()(p()().mark(function we(){var Ne,Ze=arguments;return p()().wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return Ie.next=2,e.e(9510).then(e.bind(e,59510));case 2:return Ie.abrupt("return",(Ne=Ie.sent).default.apply(Ne,Ze));case 3:case"end":return Ie.stop()}},we)}));function $e(){return Xe.apply(this,arguments)}return $e}()}},"atom-demo-state":{component:v.memo(v.lazy(function(){return e.e(9254).then(e.bind(e,29626))})),asset:{type:"BLOCK",id:"atom-demo-state",refAtomIds:["atom"],dependencies:{"index.tsx":{type:"FILE",value:e(20315).Z},antd:{type:"NPM",value:"5.27.3"},"../useComplexState.tsx":{type:"FILE",value:e(84109).Z},"immutability-helper":{type:"NPM",value:"3.1.1"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u590D\u6742\u72B6\u6001\u7BA1\u7406",description:"\u5BF9\u591A\u4E2A\u72B6\u6001\u8FDB\u884C\u7BA1\u7406\uFF0C\u6839\u636E\u5B57\u6BB5\u8DEF\u5F84\u66F4\u65B0\u503C"},context:{"../useComplexState.tsx":s,antd:r,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/useComplexState.tsx":s,"immutability-helper":d,react:h||(h=e.t(v,2))},renderOpts:{compile:function(){var Xe=l()(p()().mark(function we(){var Ne,Ze=arguments;return p()().wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return Ie.next=2,e.e(9510).then(e.bind(e,59510));case 2:return Ie.abrupt("return",(Ne=Ie.sent).default.apply(Ne,Ze));case 3:case"end":return Ie.stop()}},we)}));function $e(){return Xe.apply(this,arguments)}return $e}()}},"atom-demo-ellipsis":{component:v.memo(v.lazy(function(){return e.e(9254).then(e.bind(e,6777))})),asset:{type:"BLOCK",id:"atom-demo-ellipsis",refAtomIds:["atom"],dependencies:{"index.tsx":{type:"FILE",value:e(5228).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u6587\u672C\u7F29\u7565"},context:{"@ccs-ui/rc-pro":c,antd:r},renderOpts:{compile:function(){var Xe=l()(p()().mark(function we(){var Ne,Ze=arguments;return p()().wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return Ie.next=2,e.e(9510).then(e.bind(e,59510));case 2:return Ie.abrupt("return",(Ne=Ie.sent).default.apply(Ne,Ze));case 3:case"end":return Ie.stop()}},we)}));function $e(){return Xe.apply(this,arguments)}return $e}()}},"atom-demo-operation":{component:v.memo(v.lazy(function(){return e.e(9254).then(e.bind(e,41756))})),asset:{type:"BLOCK",id:"atom-demo-operation",refAtomIds:["atom"],dependencies:{"index.tsx":{type:"FILE",value:e(49958).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},"../check.tsx":{type:"FILE",value:e(13924).Z},"@ant-design/icons":{type:"NPM",value:"5.6.1"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"},"..tsx":{type:"FILE",value:e(7169).Z},"./filter.tsx":{type:"FILE",value:e(24706).Z},"./ellipsis.tsx":{type:"FILE",value:e(7122).Z},"./index.less":{type:"FILE",value:e(47285).Z},"./count-down.tsx":{type:"FILE",value:e(36483).Z},"./usePageRequest.tsx":{type:"FILE",value:e(71754).Z},"./resize-observer.tsx":{type:"FILE",value:e(99021).Z},"./full-screen.tsx":{type:"FILE",value:e(11361).Z},"./title.tsx":{type:"FILE",value:e(92649).Z},"./loading.tsx":{type:"FILE",value:e(91680).Z},"./useComplexState.tsx":{type:"FILE",value:e(84109).Z},"./operation.tsx":{type:"FILE",value:e(63013).Z},ahooks:{type:"NPM",value:"3.9.5"},"@ccs-ui/utils":{type:"NPM",value:"0.1.7"},"immutability-helper":{type:"NPM",value:"3.1.1"},"./item.tsx":{type:"FILE",value:e(2379).Z},classnames:{type:"NPM",value:"2.5.1"},runes2:{type:"NPM",value:"1.1.4"},"...ts":{type:"FILE",value:e(21460).Z},"../utils.ts":{type:"FILE",value:e(47704).Z},"../hooks/use-app.ts":{type:"FILE",value:e(57414).Z},"./_api.ts":{type:"FILE",value:e(35759).Z},"../hooks/use-insert-css.ts":{type:"FILE",value:e(5766).Z},"insert-css":{type:"NPM",value:"2.0.0"},"../context.ts":{type:"FILE",value:e(45757).Z},"./aj-captcha.tsx":{type:"FILE",value:e(86893).Z},"./date-picker.tsx":{type:"FILE",value:e(45645).Z},"./cascader.tsx":{type:"FILE",value:e(57066).Z},"./color-picker.tsx":{type:"FILE",value:e(12290).Z},"./hooks/use-selection.ts":{type:"FILE",value:e(13853).Z},"./auth.tsx":{type:"FILE",value:e(93722).Z},"./config.tsx":{type:"FILE",value:e(23456).Z},"./dialog.tsx":{type:"FILE",value:e(43022).Z},"./button.tsx":{type:"FILE",value:e(80886).Z},"./pro-tabs.tsx":{type:"FILE",value:e(4196).Z},"./ccs.ts":{type:"FILE",value:e(37846).Z},"./editor.tsx":{type:"FILE",value:e(36878).Z},"./hooks/use-tabs.tsx":{type:"FILE",value:e(67634).Z},"./hooks/use-once-event.tsx":{type:"FILE",value:e(80659).Z},"./result.tsx":{type:"FILE",value:e(58578).Z},"./hooks/use-page.ts":{type:"FILE",value:e(38712).Z},"./hooks/use-window.ts":{type:"FILE",value:e(30960).Z},"./select.tsx":{type:"FILE",value:e(96440).Z},"./form.tsx":{type:"FILE",value:e(28013).Z},"./time-picker.tsx":{type:"FILE",value:e(88225).Z},"./upload.tsx":{type:"FILE",value:e(27379).Z},"./status-tag.tsx":{type:"FILE",value:e(59609).Z},"./page-layout.tsx":{type:"FILE",value:e(63705).Z},"./table.tsx":{type:"FILE",value:e(56197).Z},"./water-mark.tsx":{type:"FILE",value:e(79604).Z},"./page-layout/single-page.tsx":{type:"FILE",value:e(76288).Z},"./pro-table.tsx":{type:"FILE",value:e(82530).Z},"./page-layout/keep-alive.tsx":{type:"FILE",value:e(42210).Z},"@ant-design/colors":{type:"NPM",value:"8.0.0"},"@ant-design/compatible":{type:"NPM",value:"5.1.4"},dayjs:{type:"NPM",value:"1.11.18"},"./api.tsx":{type:"FILE",value:e(52504).Z},"react-router":{type:"NPM",value:"6.3.0"},"tiny-pinyin":{type:"NPM",value:"1.3.2"},"react-router-dom":{type:"NPM",value:"6.3.0"},"./list.tsx":{type:"FILE",value:e(53019).Z},"react-resizable":{type:"NPM",value:"3.0.5"},"./relative.tsx":{type:"FILE",value:e(62561).Z},"./summary.tsx":{type:"FILE",value:e(98670).Z},"./selection-alert.tsx":{type:"FILE",value:e(9267).Z},"./hook.tsx":{type:"FILE",value:e(98314).Z},"../theme-dialog.ts":{type:"FILE",value:e(62576).Z},"./context.ts":{type:"FILE",value:e(70052).Z},"./drawer-footer.tsx":{type:"FILE",value:e(82759).Z},"./upload-image.tsx":{type:"FILE",value:e(87745).Z},"./rich.tsx":{type:"FILE",value:e(88535).Z},"./sql.tsx":{type:"FILE",value:e(53986).Z},"./dropdown.tsx":{type:"FILE",value:e(83450).Z},"./xml.tsx":{type:"FILE",value:e(26834).Z},"./group.tsx":{type:"FILE",value:e(55736).Z},"./javascript.tsx":{type:"FILE",value:e(85609).Z},"./yaml.tsx":{type:"FILE",value:e(5093).Z},"./json.tsx":{type:"FILE",value:e(94975).Z},"./customize.tsx":{type:"FILE",value:e(5125).Z},"./ modal.tsx":{type:"FILE",value:e(2431).Z},"./page.tsx":{type:"FILE",value:e(79172).Z},"@codemirror/lang-sql":{type:"NPM",value:"6.10.0"},"@codemirror/lang-xml":{type:"NPM",value:"6.1.0"},"@lexical/link":{type:"NPM",value:"0.38.2"},"@codemirror/lang-yaml":{type:"NPM",value:"6.1.2"},"lodash.debounce":{type:"NPM",value:"4.0.8"},"@codemirror/lang-javascript":{type:"NPM",value:"6.2.4"},"@codemirror/lang-json":{type:"NPM",value:"6.0.2"},"@lexical/list":{type:"NPM",value:"0.38.2"},"@codemirror/language":{type:"NPM",value:"6.11.3"},"react-sortablejs":{type:"NPM",value:"6.1.4"},"antd-img-crop":{type:"NPM",value:"4.25.0"},"./code-base.tsx":{type:"FILE",value:e(46345).Z},"react-dom":{type:"NPM",value:"18.3.1"},"@codemirror/lint":{type:"NPM",value:"6.8.5"},"@lexical/rich-text":{type:"NPM",value:"0.38.2"},undefined:{type:"NPM"},lexical:{type:"NPM",value:"0.38.2"},"./button/_api.ts":{type:"FILE",value:e(45621).Z},"./cascader/_api.ts":{type:"FILE",value:e(20848).Z},"./water-mark/_api.ts":{type:"FILE",value:e(96788).Z},"./context/_api.ts":{type:"FILE",value:e(51412).Z},"./editor/_api.ts":{type:"FILE",value:e(2142).Z},"./form/_api.ts":{type:"FILE",value:e(29060).Z},"./page-layout/_api.ts":{type:"FILE",value:e(98333).Z},"./date-picker/_api.ts":{type:"FILE",value:e(797).Z},"./dialog/_api.ts":{type:"FILE",value:e(35987).Z},"./pro-table/_api.ts":{type:"FILE",value:e(10753).Z},"./upload/_api.ts":{type:"FILE",value:e(86363).Z},"./select/_api.ts":{type:"FILE",value:e(42519).Z},"./pro-tabs/_api.ts":{type:"FILE",value:e(67190).Z},"./usePatchElement.tsx":{type:"FILE",value:e(96602).Z},"./HookDrawer.tsx":{type:"FILE",value:e(95933).Z},"./HookModal.tsx":{type:"FILE",value:e(40656).Z},"./code.less":{type:"FILE",value:e(49960).Z},"../hooks/use-input-css.ts":{type:"FILE",value:e(63406).Z},"../lexical/base.tsx":{type:"FILE",value:e(37634).Z},"../lexical/plugins/image/ImageNode.tsx":{type:"FILE",value:e(87173).Z},"../lexical/base/styleConfig.ts":{type:"FILE",value:e(20466).Z},"../lexical/plugins/init-html.tsx":{type:"FILE",value:e(1731).Z},"./export.ts":{type:"FILE",value:e(82227).Z},"./theme.ts":{type:"FILE",value:e(91255).Z},"./tree.tsx":{type:"FILE",value:e(97683).Z},"./_utils.ts":{type:"FILE",value:e(52067).Z},"@lexical/html":{type:"NPM",value:"0.38.2"},"react-draggable":{type:"NPM",value:"4.5.0"},"@lexical/react":{type:"NPM",value:"0.38.2"},"./ImageComponent.tsx":{type:"FILE",value:e(74610).Z},"../../base/toolbar/upload.tsx":{type:"FILE",value:e(62989).Z},"../plugins/image.tsx":{type:"FILE",value:e(95791).Z},"./toolbar.tsx":{type:"FILE",value:e(49811).Z},"@lexical/selection":{type:"NPM",value:"0.38.2"},"@lexical/utils":{type:"NPM",value:"0.38.2"},"./code.tsx":{type:"FILE",value:e(58988).Z}},entry:"index.tsx",title:"\u64CD\u4F5C\u680F"},context:{"../check.tsx":t,"..tsx":u,"./filter.tsx":a,"./ellipsis.tsx":y,"./index.less":P,"./count-down.tsx":M,"./usePageRequest.tsx":T,"./resize-observer.tsx":f,"./full-screen.tsx":O,"./title.tsx":L,"./loading.tsx":b,"./useComplexState.tsx":s,"./operation.tsx":E,"./item.tsx":S,"...ts":c,"../utils.ts":F,"../hooks/use-app.ts":k,"./_api.ts":W,"../hooks/use-insert-css.ts":U,"../context.ts":Z,"./aj-captcha.tsx":N,"./date-picker.tsx":w,"./cascader.tsx":R,"./color-picker.tsx":z,"./hooks/use-selection.ts":J,"./auth.tsx":H,"./config.tsx":G,"./dialog.tsx":te,"./button.tsx":V,"./pro-tabs.tsx":Y,"./ccs.ts":q,"./editor.tsx":ne,"./hooks/use-tabs.tsx":ae,"./hooks/use-once-event.tsx":X,"./result.tsx":re,"./hooks/use-page.ts":oe,"./hooks/use-window.ts":Q,"./select.tsx":ie,"./form.tsx":se,"./time-picker.tsx":le,"./upload.tsx":_e,"./status-tag.tsx":me,"./page-layout.tsx":fe,"./table.tsx":ge,"./water-mark.tsx":Pe,"./page-layout/single-page.tsx":ye,"./pro-table.tsx":Ee,"./page-layout/keep-alive.tsx":Te,"./api.tsx":xe,"./list.tsx":ve,"./relative.tsx":We,"./summary.tsx":ue,"./selection-alert.tsx":De,"./hook.tsx":Qe,"../theme-dialog.ts":He,"./context.ts":Ve,"./drawer-footer.tsx":qe,"./upload-image.tsx":Oe,"./rich.tsx":he,"./sql.tsx":Ce,"./dropdown.tsx":Re,"./xml.tsx":Be,"./group.tsx":Ke,"./javascript.tsx":Ge,"./yaml.tsx":$n,"./json.tsx":wn,"./customize.tsx":zn,"./ modal.tsx":Hn,"./page.tsx":tn,"./code-base.tsx":rn,"./button/_api.ts":an,"./cascader/_api.ts":ln,"./water-mark/_api.ts":un,"./context/_api.ts":dn,"./editor/_api.ts":cn,"./form/_api.ts":_n,"./page-layout/_api.ts":mn,"./date-picker/_api.ts":pn,"./dialog/_api.ts":fn,"./pro-table/_api.ts":vn,"./upload/_api.ts":hn,"./select/_api.ts":gn,"./pro-tabs/_api.ts":En,"./usePatchElement.tsx":xn,"./HookDrawer.tsx":Pn,"./HookModal.tsx":Cn,"./code.less":yn,"../hooks/use-input-css.ts":Je,"../lexical/base.tsx":Jn,"../lexical/plugins/image/ImageNode.tsx":bn,"../lexical/base/styleConfig.ts":Dn,"../lexical/plugins/init-html.tsx":Mn,"./export.ts":en,"./theme.ts":On,"./tree.tsx":In,"./_utils.ts":Ye,"./ImageComponent.tsx":Qn,"../../base/toolbar/upload.tsx":qn,"../plugins/image.tsx":Rn,"./toolbar.tsx":Tn,"./code.tsx":et,"@ccs-ui/rc-pro":c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/check.tsx":t,"@ant-design/icons":i,antd:r,react:h||(h=e.t(v,2)),"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/index.tsx":u,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/filter.tsx":a,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/ellipsis.tsx":y,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.less":P,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/count-down.tsx":M,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/usePageRequest.tsx":T,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/resize-observer.tsx":f,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/full-screen.tsx":O,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/title.tsx":L,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/loading.tsx":b,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/useComplexState.tsx":s,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/operation.tsx":E,ahooks:D,"@ccs-ui/utils":x,"immutability-helper":d,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/item.tsx":S,classnames:I,runes2:B,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/index.ts":c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/utils.ts":F,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-app.ts":k,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/_api.ts":W,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-insert-css.ts":U,"insert-css":K,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/index.ts":Z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/aj-captcha/index.tsx":N,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/index.tsx":w,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/index.tsx":R,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/color-picker/index.tsx":z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-selection.ts":J,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/auth/index.tsx":H,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/config.tsx":G,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/index.tsx":te,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/button.tsx":V,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/index.tsx":Y,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/ccs.ts":q,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/index.tsx":ne,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-tabs.tsx":ae,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-once-event.tsx":X,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/result/index.tsx":re,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-page.ts":oe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-window.ts":Q,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/index.tsx":ie,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/form.tsx":se,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/time-picker/index.tsx":le,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/index.tsx":_e,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/status-tag/index.tsx":me,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/index.tsx":fe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/table.tsx":ge,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/index.tsx":Pe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/single-page/index.tsx":ye,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/index.tsx":Ee,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/index.tsx":Te,"@ant-design/colors":Fe,"@ant-design/compatible":Ue,dayjs:pe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/api.tsx":xe,"react-router":Ae,"antd/locale/zh_CN":Se,"tiny-pinyin":Le,"antd/es/config-provider":ke,"dayjs/plugin/customParseFormat":$,"react-router-dom":ce,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/list.tsx":ve,"react-resizable":Me,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/relative.tsx":We,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/summary.tsx":ue,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/selection-alert.tsx":De,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/hook.tsx":Qe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/theme-dialog.ts":He,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/context.ts":Ve,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/drawer-footer.tsx":qe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/upload-image.tsx":Oe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/index.tsx":he,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/sql.tsx":Ce,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/dropdown.tsx":Re,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/xml.tsx":Be,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/group.tsx":Ke,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/javascript.tsx":Ge,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/yaml.tsx":$n,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/json.tsx":wn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/customize.tsx":zn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/ modal.tsx":Hn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/page.tsx":tn,"@codemirror/lang-sql":nt,"@codemirror/lang-xml":tt,"@lexical/link":ot,"@codemirror/lang-yaml":st,"lodash.debounce":on,"@codemirror/lang-javascript":Un,"@codemirror/lang-json":An,"@lexical/list":Ln,"@codemirror/language":Bn,"react-sortablejs":sn,"antd-img-crop":Sn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code-base.tsx":rn,"react-dom/client":o||(o=e.t(kn,2)),"@codemirror/lint":Kn,"@lexical/rich-text":Xn,"@uiw/react-codemirror":mt,lexical:Wn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/_api.ts":an,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/_api.ts":ln,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/_api.ts":un,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/_api.ts":dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/_api.ts":cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/_api.ts":_n,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/_api.ts":mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/_api.ts":pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/_api.ts":fn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_api.ts":vn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/_api.ts":hn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/_api.ts":gn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/_api.ts":En,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/usePatchElement.tsx":xn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookDrawer.tsx":Pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookModal.tsx":Cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code.less":yn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-input-css.ts":Je,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.tsx":Jn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageNode.tsx":bn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/styleConfig.ts":Dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/init-html.tsx":Mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/export.ts":en,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/theme.ts":On,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/tree.tsx":In,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_utils.ts":Ye,"@lexical/html":Fn,"react-draggable":Yn,"@lexical/react/LexicalComposerContext":pt,"@ccs-ui/rc-pro/hooks/use-input-css":Je,"@lexical/react/LexicalComposer":at,"@lexical/react/LexicalContentEditable":it,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageComponent.tsx":Qn,"@lexical/react/LexicalErrorBoundary":lt,"@lexical/react/LexicalHistoryPlugin":jn,"@lexical/react/LexicalLinkPlugin":ut,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/upload.tsx":qn,"@lexical/react/LexicalOnChangePlugin":dt,"@lexical/react/LexicalRichTextPlugin":ct,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/index.tsx":Rn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/index.tsx":Tn,"@ccs-ui/rc-pro/editor/rich/export":en,"@lexical/selection":Nn,"@lexical/utils":_t,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/code.tsx":et},renderOpts:{compile:function(){var Xe=l()(p()().mark(function we(){var Ne,Ze=arguments;return p()().wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return Ie.next=2,e.e(9510).then(e.bind(e,59510));case 2:return Ie.abrupt("return",(Ne=Ie.sent).default.apply(Ne,Ze));case 3:case"end":return Ie.stop()}},we)}));function $e(){return Xe.apply(this,arguments)}return $e}()}},"atom-demo-filter":{component:v.memo(v.lazy(function(){return e.e(9254).then(e.bind(e,28254))})),asset:{type:"BLOCK",id:"atom-demo-filter",refAtomIds:["atom"],dependencies:{"index.tsx":{type:"FILE",value:e(51655).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u6761\u4EF6\u7B5B\u9009",description:"\u81EA\u9002\u5E94\u5BB9\u5668\uFF0C\u663E\u793A\u5C55\u5F00\u9009\u9879"},context:{"@ccs-ui/rc-pro":c,antd:r},renderOpts:{compile:function(){var Xe=l()(p()().mark(function we(){var Ne,Ze=arguments;return p()().wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return Ie.next=2,e.e(9510).then(e.bind(e,59510));case 2:return Ie.abrupt("return",(Ne=Ie.sent).default.apply(Ne,Ze));case 3:case"end":return Ie.stop()}},we)}));function $e(){return Xe.apply(this,arguments)}return $e}()}}}},62708:function(g,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return v}});var h=e(90228),o=e.n(h),C=e(87999),p=e.n(C),_=e(75271),l=e(39203),v={"auth-demo-basic":{component:_.memo(_.lazy(function(){return e.e(3553).then(e.bind(e,1114))})),asset:{type:"BLOCK",id:"auth-demo-basic",refAtomIds:["auth"],dependencies:{"index.tsx":{type:"FILE",value:e(44403).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u57FA\u672C\u7528\u6CD5\u3002"},context:{"@ccs-ui/rc-pro":l},renderOpts:{compile:function(){var i=p()(o()().mark(function r(){var s,d=arguments;return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.e(9510).then(e.bind(e,59510));case 2:return t.abrupt("return",(s=t.sent).default.apply(s,d));case 3:case"end":return t.stop()}},r)}));function c(){return i.apply(this,arguments)}return c}()}}}},99350:function(g,n,e){"use strict";var h,o;e.r(n),e.d(n,{demos:function(){return Xe}});var C=e(90228),p=e.n(C),_=e(87999),l=e.n(_),v=e(75271),i=e(28320),c=e(668),r=e(3180),s=e(75419),d=e(39203),m=e(32375),t=e(12648),u=e(16652),a=e(32097),y=e(52892),P=e(1444),M=e(60301),T=e(35030),f=e(47797),O=e(98708),L=e(18437),b=e(88370),E=e(88686),D=e(29909),x=e(76098),S=e(86247),I=e(71973),A=e(32813),B=e(97681),F=e(50712),k=e(60136),W=e(80882),U=e(81777),K=e(68296),j=e(24324),Z=e(31248),N=e(1130),w=e(81475),R=e(94127),z=e(70896),J=e(10077),H=e(25922),G=e(41974),te=e(68144),V=e(17888),Y=e.n(V),q=e(5791),ne=e(10436),ae=e(82187),X=e.n(ae),re=e(80998),oe=e.n(re),Q=e(56973),ie=e(60489),se=e(96586),le=e(33553),_e=e(73511),me=e.n(_e),fe=e(85899),ge=e.n(fe),Pe=e(86638),ye=e(14894),Ee=e(32272),Te=e(2369),Fe=e.n(Te),Ue=e(18237),pe=e(10495),de=e(73801),xe=e(45484),Ae=e(9472),Se=e(52653),Le=e(31939),je=e(35119),ke=e(22818),$=e(46619),ee=e(51561),ce=e(65173),ve=e(68240),Me=e(80932),be=e(24605),We=e(39445),ue=e(53056),De=e(86763),Qe=e.n(De),He=e(49805),Ve=e(99696),qe=e(48496),Oe=e(37441),he=e(34887),Ce=e(1775),Re=e(89020),Be=e(8689),Ke=e(24365),Ge=e(59881),$n=e.n(Ge),wn=e(8435),zn=e(5590),Hn=e(38751),tn=e(29175),nt=e(47107),tt=e(78608),ot=e(71794),st=e(93325),on=e(22126),Vn=e(13373),Un=e(21827),An=e(70110),Ln=e(56251),Bn=e(9889),sn=e(64723),Gn=e(26123),Sn=e(85289),rn=e(24887),kn=e(93238),Kn=e(39142),Xn=e(89486),mt=e.n(Xn),Wn=e(86954),an=e(73799),ln=e(91721),un=e(37293),dn=e(62376),cn=e(43449),_n=e(73541),mn=e(2534),pn=e(4683),fn=e(98143),vn=e(64637),hn=e(79579),gn=e(84799),En=e(65683),xn=e(94350),Pn=e(93261),Cn=e(3833),yn=e(83857),Je=e(50796),Jn=e(14306),bn=e(3034),Dn=e(26707),Mn=e(14635),en=e(24181),On=e(83844),In=e(13273),Ye=e(48666),Fn=e(2978),Yn=e(63552),rt=e(79176),pt=e.n(rt),at=e(34073),it=e(27741),Qn=e(13343),lt=e(85600),jn=e(40815),ut=e(7214),qn=e(69157),dt=e(69838),ct=e(54249),Rn=e(6145),Tn=e(56062),Nn=e(92523),_t=e(83346),et=e(20509),Zn=e(67764),Xe={"button-demo-button":{component:v.memo(v.lazy(function(){return e.e(4219).then(e.bind(e,66412))})),asset:{type:"BLOCK",id:"button-demo-button",refAtomIds:["button"],dependencies:{"index.tsx":{type:"FILE",value:e(13703).Z},antd:{type:"NPM",value:"5.27.3"},"...tsx":{type:"FILE",value:e(49202).Z},"@ant-design/icons":{type:"NPM",value:"5.6.1"},react:{type:"NPM",value:"18.3.1"},"./group.tsx":{type:"FILE",value:e(55736).Z},"...ts":{type:"FILE",value:e(21460).Z},"./dropdown.tsx":{type:"FILE",value:e(83450).Z},"./aj-captcha.tsx":{type:"FILE",value:e(86893).Z},"./ccs.ts":{type:"FILE",value:e(37846).Z},"./atom.tsx":{type:"FILE",value:e(7169).Z},"./hooks/use-window.ts":{type:"FILE",value:e(30960).Z},"./auth.tsx":{type:"FILE",value:e(93722).Z},"./page-layout.tsx":{type:"FILE",value:e(63705).Z},"./color-picker.tsx":{type:"FILE",value:e(12290).Z},"./page-layout/keep-alive.tsx":{type:"FILE",value:e(42210).Z},"./status-tag.tsx":{type:"FILE",value:e(59609).Z},"./select.tsx":{type:"FILE",value:e(96440).Z},"./page-layout/single-page.tsx":{type:"FILE",value:e(76288).Z},"./config.tsx":{type:"FILE",value:e(23456).Z},"./table.tsx":{type:"FILE",value:e(56197).Z},"./pro-table.tsx":{type:"FILE",value:e(82530).Z},"./date-picker.tsx":{type:"FILE",value:e(45645).Z},"./time-picker.tsx":{type:"FILE",value:e(88225).Z},"./pro-tabs.tsx":{type:"FILE",value:e(4196).Z},"./cascader.tsx":{type:"FILE",value:e(57066).Z},"./dialog.tsx":{type:"FILE",value:e(43022).Z},"./hooks/use-tabs.tsx":{type:"FILE",value:e(67634).Z},"./upload.tsx":{type:"FILE",value:e(27379).Z},"./editor.tsx":{type:"FILE",value:e(36878).Z},"./result.tsx":{type:"FILE",value:e(58578).Z},"./form.tsx":{type:"FILE",value:e(28013).Z},"./hooks/use-once-event.tsx":{type:"FILE",value:e(80659).Z},"./water-mark.tsx":{type:"FILE",value:e(79604).Z},"./hooks/use-app.ts":{type:"FILE",value:e(57414).Z},"./hooks/use-page.ts":{type:"FILE",value:e(38712).Z},"./hooks/use-selection.ts":{type:"FILE",value:e(13853).Z},"@ant-design/colors":{type:"NPM",value:"8.0.0"},"@ant-design/compatible":{type:"NPM",value:"5.1.4"},ahooks:{type:"NPM",value:"3.9.5"},"@ccs-ui/utils":{type:"NPM",value:"0.1.7"},dayjs:{type:"NPM",value:"1.11.18"},"react-router":{type:"NPM",value:"6.3.0"},"./api.tsx":{type:"FILE",value:e(52504).Z},classnames:{type:"NPM",value:"2.5.1"},"../context.ts":{type:"FILE",value:e(45757).Z},"react-router-dom":{type:"NPM",value:"6.3.0"},"tiny-pinyin":{type:"NPM",value:"1.3.2"},"immutability-helper":{type:"NPM",value:"3.1.1"},"./index.less":{type:"FILE",value:e(47285).Z},"./list.tsx":{type:"FILE",value:e(53019).Z},"./item.tsx":{type:"FILE",value:e(68666).Z},"react-resizable":{type:"NPM",value:"3.0.5"},"./selection-alert.tsx":{type:"FILE",value:e(9267).Z},"./summary.tsx":{type:"FILE",value:e(98670).Z},"./relative.tsx":{type:"FILE",value:e(62561).Z},"./context.ts":{type:"FILE",value:e(70052).Z},"./upload-image.tsx":{type:"FILE",value:e(87745).Z},"./drawer-footer.tsx":{type:"FILE",value:e(82759).Z},"./hook.tsx":{type:"FILE",value:e(98314).Z},"../theme-dialog.ts":{type:"FILE",value:e(62576).Z},"./button.tsx":{type:"FILE",value:e(80886).Z},"./page.tsx":{type:"FILE",value:e(79172).Z},"./javascript.tsx":{type:"FILE",value:e(85609).Z},"../utils.ts":{type:"FILE",value:e(47704).Z},"./json.tsx":{type:"FILE",value:e(94975).Z},"./rich.tsx":{type:"FILE",value:e(88535).Z},"./sql.tsx":{type:"FILE",value:e(53986).Z},"./xml.tsx":{type:"FILE",value:e(26834).Z},"./yaml.tsx":{type:"FILE",value:e(5093).Z},"lodash.debounce":{type:"NPM",value:"4.0.8"},"./customize.tsx":{type:"FILE",value:e(5125).Z},"./ modal.tsx":{type:"FILE",value:e(2431).Z},"@codemirror/lang-javascript":{type:"NPM",value:"6.2.4"},"@codemirror/lang-json":{type:"NPM",value:"6.0.2"},"@codemirror/lang-sql":{type:"NPM",value:"6.10.0"},"@lexical/link":{type:"NPM",value:"0.38.2"},"antd-img-crop":{type:"NPM",value:"4.25.0"},"@codemirror/lang-xml":{type:"NPM",value:"6.1.0"},"@codemirror/lang-yaml":{type:"NPM",value:"6.1.2"},"react-sortablejs":{type:"NPM",value:"6.1.4"},"@codemirror/language":{type:"NPM",value:"6.11.3"},"@lexical/list":{type:"NPM",value:"0.38.2"},"react-dom":{type:"NPM",value:"18.3.1"},"./code-base.tsx":{type:"FILE",value:e(46345).Z},"@codemirror/lint":{type:"NPM",value:"6.8.5"},"@lexical/rich-text":{type:"NPM",value:"0.38.2"},lexical:{type:"NPM",value:"0.38.2"},undefined:{type:"NPM"},"./check.tsx":{type:"FILE",value:e(13924).Z},"./ellipsis.tsx":{type:"FILE",value:e(7122).Z},"./count-down.tsx":{type:"FILE",value:e(36483).Z},"./resize-observer.tsx":{type:"FILE",value:e(99021).Z},"./title.tsx":{type:"FILE",value:e(92649).Z},"./loading.tsx":{type:"FILE",value:e(91680).Z},"./useComplexState.tsx":{type:"FILE",value:e(84109).Z},"./filter.tsx":{type:"FILE",value:e(24706).Z},"../../hooks/use-insert-css.ts":{type:"FILE",value:e(5766).Z},"./usePageRequest.tsx":{type:"FILE",value:e(71754).Z},"./full-screen.tsx":{type:"FILE",value:e(11361).Z},"./operation.tsx":{type:"FILE",value:e(63013).Z},"insert-css":{type:"NPM",value:"2.0.0"},"./button/_api.ts":{type:"FILE",value:e(45621).Z},"./atom/_api.ts":{type:"FILE",value:e(35759).Z},"./water-mark/_api.ts":{type:"FILE",value:e(96788).Z},"./form/_api.ts":{type:"FILE",value:e(29060).Z},"./cascader/_api.ts":{type:"FILE",value:e(20848).Z},"./context/_api.ts":{type:"FILE",value:e(51412).Z},"./dialog/_api.ts":{type:"FILE",value:e(35987).Z},"./date-picker/_api.ts":{type:"FILE",value:e(797).Z},"./editor/_api.ts":{type:"FILE",value:e(2142).Z},"./pro-tabs/_api.ts":{type:"FILE",value:e(67190).Z},"./page-layout/_api.ts":{type:"FILE",value:e(98333).Z},"./pro-table/_api.ts":{type:"FILE",value:e(10753).Z},"./select/_api.ts":{type:"FILE",value:e(42519).Z},"./upload/_api.ts":{type:"FILE",value:e(86363).Z},"./HookDrawer.tsx":{type:"FILE",value:e(95933).Z},"./HookModal.tsx":{type:"FILE",value:e(40656).Z},"./usePatchElement.tsx":{type:"FILE",value:e(96602).Z},"./code.less":{type:"FILE",value:e(49960).Z},"../hooks/use-input-css.ts":{type:"FILE",value:e(63406).Z},runes2:{type:"NPM",value:"1.1.4"},"./_utils.ts":{type:"FILE",value:e(52067).Z},"./tree.tsx":{type:"FILE",value:e(97683).Z},"../lexical/base.tsx":{type:"FILE",value:e(37634).Z},"../lexical/base/styleConfig.ts":{type:"FILE",value:e(20466).Z},"../lexical/plugins/image/ImageNode.tsx":{type:"FILE",value:e(87173).Z},"../lexical/plugins/init-html.tsx":{type:"FILE",value:e(1731).Z},"./export.ts":{type:"FILE",value:e(82227).Z},"./theme.ts":{type:"FILE",value:e(91255).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},"@lexical/html":{type:"NPM",value:"0.38.2"},"react-draggable":{type:"NPM",value:"4.5.0"},"@lexical/react":{type:"NPM",value:"0.38.2"},"./ImageComponent.tsx":{type:"FILE",value:e(74610).Z},"../../base/toolbar/upload.tsx":{type:"FILE",value:e(62989).Z},"./toolbar.tsx":{type:"FILE",value:e(49811).Z},"../plugins/image.tsx":{type:"FILE",value:e(95791).Z},"@lexical/selection":{type:"NPM",value:"0.38.2"},"@lexical/utils":{type:"NPM",value:"0.38.2"},"./code.tsx":{type:"FILE",value:e(58988).Z}},entry:"index.tsx",title:"\u6743\u9650\u6309\u94AE",description:"\u6743\u9650\uFF1AButton\uFF0CDropdown"},context:{"...tsx":c,"./group.tsx":s,"...ts":d,"./dropdown.tsx":m,"./aj-captcha.tsx":t,"./ccs.ts":u,"./atom.tsx":a,"./hooks/use-window.ts":y,"./auth.tsx":P,"./page-layout.tsx":M,"./color-picker.tsx":T,"./page-layout/keep-alive.tsx":f,"./status-tag.tsx":O,"./select.tsx":L,"./page-layout/single-page.tsx":b,"./config.tsx":E,"./table.tsx":D,"./pro-table.tsx":x,"./date-picker.tsx":S,"./time-picker.tsx":I,"./pro-tabs.tsx":A,"./cascader.tsx":B,"./dialog.tsx":F,"./hooks/use-tabs.tsx":k,"./upload.tsx":W,"./editor.tsx":U,"./result.tsx":K,"./form.tsx":j,"./hooks/use-once-event.tsx":Z,"./water-mark.tsx":N,"./hooks/use-app.ts":w,"./hooks/use-page.ts":R,"./hooks/use-selection.ts":z,"./api.tsx":ne,"../context.ts":Q,"./index.less":Pe,"./list.tsx":ye,"./item.tsx":Ee,"./selection-alert.tsx":Ue,"./summary.tsx":pe,"./relative.tsx":de,"./context.ts":xe,"./upload-image.tsx":Ae,"./drawer-footer.tsx":Se,"./hook.tsx":Le,"../theme-dialog.ts":je,"./button.tsx":ke,"./page.tsx":$,"./javascript.tsx":ee,"../utils.ts":ce,"./json.tsx":ve,"./rich.tsx":Me,"./sql.tsx":be,"./xml.tsx":We,"./yaml.tsx":ue,"./customize.tsx":He,"./ modal.tsx":Ve,"./code-base.tsx":tn,"./check.tsx":on,"./ellipsis.tsx":Vn,"./count-down.tsx":Un,"./resize-observer.tsx":An,"./title.tsx":Ln,"./loading.tsx":Bn,"./useComplexState.tsx":sn,"./filter.tsx":Gn,"../../hooks/use-insert-css.ts":Sn,"./usePageRequest.tsx":rn,"./full-screen.tsx":kn,"./operation.tsx":Kn,"./button/_api.ts":Wn,"./atom/_api.ts":an,"./water-mark/_api.ts":ln,"./form/_api.ts":un,"./cascader/_api.ts":dn,"./context/_api.ts":cn,"./dialog/_api.ts":_n,"./date-picker/_api.ts":mn,"./editor/_api.ts":pn,"./pro-tabs/_api.ts":fn,"./page-layout/_api.ts":vn,"./pro-table/_api.ts":hn,"./select/_api.ts":gn,"./upload/_api.ts":En,"./HookDrawer.tsx":xn,"./HookModal.tsx":Pn,"./usePatchElement.tsx":Cn,"./code.less":yn,"../hooks/use-input-css.ts":Je,"./_utils.ts":bn,"./tree.tsx":Dn,"../lexical/base.tsx":Mn,"../lexical/base/styleConfig.ts":en,"../lexical/plugins/image/ImageNode.tsx":On,"../lexical/plugins/init-html.tsx":In,"./export.ts":Ye,"./theme.ts":Fn,"./ImageComponent.tsx":jn,"../../base/toolbar/upload.tsx":Rn,"./toolbar.tsx":Tn,"../plugins/image.tsx":Nn,"./code.tsx":Zn,antd:i,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/index.tsx":c,"@ant-design/icons":r,react:h||(h=e.t(v,2)),"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/group.tsx":s,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/index.ts":d,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/dropdown.tsx":m,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/aj-captcha/index.tsx":t,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/ccs.ts":u,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/index.tsx":a,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-window.ts":y,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/auth/index.tsx":P,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/index.tsx":M,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/color-picker/index.tsx":T,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/index.tsx":f,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/status-tag/index.tsx":O,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/index.tsx":L,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/single-page/index.tsx":b,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/config.tsx":E,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/table.tsx":D,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/index.tsx":x,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/index.tsx":S,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/time-picker/index.tsx":I,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/index.tsx":A,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/index.tsx":B,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/index.tsx":F,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-tabs.tsx":k,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/index.tsx":W,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/index.tsx":U,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/result/index.tsx":K,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/form.tsx":j,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-once-event.tsx":Z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/index.tsx":N,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-app.ts":w,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-page.ts":R,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-selection.ts":z,"@ant-design/colors":J,"@ant-design/compatible":H,ahooks:G,"@ccs-ui/utils":te,dayjs:V,"react-router":q,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/api.tsx":ne,classnames:ae,"dayjs/plugin/customParseFormat":re,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/index.ts":Q,"antd/locale/zh_CN":ie,"antd/es/config-provider":se,"react-router-dom":le,"tiny-pinyin":_e,"immutability-helper":fe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.less":Pe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/list.tsx":ye,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/item.tsx":Ee,"react-resizable":Te,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/selection-alert.tsx":Ue,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/summary.tsx":pe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/relative.tsx":de,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/context.ts":xe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/upload-image.tsx":Ae,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/drawer-footer.tsx":Se,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/hook.tsx":Le,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/theme-dialog.ts":je,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/button.tsx":ke,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/page.tsx":$,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/javascript.tsx":ee,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/utils.ts":ce,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/json.tsx":ve,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/index.tsx":Me,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/sql.tsx":be,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/xml.tsx":We,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/yaml.tsx":ue,"lodash.debounce":De,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/customize.tsx":He,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/ modal.tsx":Ve,"@codemirror/lang-javascript":qe,"@codemirror/lang-json":Oe,"@codemirror/lang-sql":he,"@lexical/link":Ce,"antd-img-crop":Re,"@codemirror/lang-xml":Be,"@codemirror/lang-yaml":Ke,"react-sortablejs":Ge,"@codemirror/language":wn,"@lexical/list":zn,"react-dom/client":o||(o=e.t(Hn,2)),"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code-base.tsx":tn,"@codemirror/lint":nt,"@lexical/rich-text":tt,lexical:ot,"@uiw/react-codemirror":st,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/check.tsx":on,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/ellipsis.tsx":Vn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/count-down.tsx":Un,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/resize-observer.tsx":An,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/title.tsx":Ln,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/loading.tsx":Bn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/useComplexState.tsx":sn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/filter.tsx":Gn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-insert-css.ts":Sn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/usePageRequest.tsx":rn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/full-screen.tsx":kn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/operation.tsx":Kn,"insert-css":Xn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/_api.ts":Wn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/_api.ts":an,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/_api.ts":ln,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/_api.ts":un,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/_api.ts":dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/_api.ts":cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/_api.ts":_n,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/_api.ts":mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/_api.ts":pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/_api.ts":fn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/_api.ts":vn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_api.ts":hn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/_api.ts":gn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/_api.ts":En,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookDrawer.tsx":xn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookModal.tsx":Pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/usePatchElement.tsx":Cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code.less":yn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-input-css.ts":Je,runes2:Jn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_utils.ts":bn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/tree.tsx":Dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.tsx":Mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/styleConfig.ts":en,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageNode.tsx":On,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/init-html.tsx":In,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/export.ts":Ye,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/theme.ts":Fn,"@ccs-ui/rc-pro":d,"@lexical/html":Yn,"react-draggable":rt,"@ccs-ui/rc-pro/hooks/use-input-css":Je,"@lexical/react/LexicalComposerContext":at,"@lexical/react/LexicalComposer":it,"@lexical/react/LexicalContentEditable":Qn,"@lexical/react/LexicalErrorBoundary":lt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageComponent.tsx":jn,"@lexical/react/LexicalHistoryPlugin":ut,"@lexical/react/LexicalLinkPlugin":qn,"@lexical/react/LexicalOnChangePlugin":dt,"@lexical/react/LexicalRichTextPlugin":ct,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/upload.tsx":Rn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/index.tsx":Tn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/index.tsx":Nn,"@ccs-ui/rc-pro/editor/rich/export":Ye,"@lexical/selection":_t,"@lexical/utils":et,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/code.tsx":Zn},renderOpts:{compile:function(){var $e=l()(p()().mark(function Ne(){var Ze,nn=arguments;return p()().wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:return ze.next=2,e.e(9510).then(e.bind(e,59510));case 2:return ze.abrupt("return",(Ze=ze.sent).default.apply(Ze,nn));case 3:case"end":return ze.stop()}},Ne)}));function we(){return $e.apply(this,arguments)}return we}()}},"button-demo-group":{component:v.memo(v.lazy(function(){return e.e(4219).then(e.bind(e,87807))})),asset:{type:"BLOCK",id:"button-demo-group",refAtomIds:["button"],dependencies:{"index.tsx":{type:"FILE",value:e(17367).Z},"@ant-design/icons":{type:"NPM",value:"5.6.1"},antd:{type:"NPM",value:"5.27.3"},"...tsx":{type:"FILE",value:e(49202).Z},react:{type:"NPM",value:"18.3.1"},"./group.tsx":{type:"FILE",value:e(55736).Z},"...ts":{type:"FILE",value:e(21460).Z},"./dropdown.tsx":{type:"FILE",value:e(83450).Z},"./color-picker.tsx":{type:"FILE",value:e(12290).Z},"./aj-captcha.tsx":{type:"FILE",value:e(86893).Z},"./atom.tsx":{type:"FILE",value:e(7169).Z},"./auth.tsx":{type:"FILE",value:e(93722).Z},"./cascader.tsx":{type:"FILE",value:e(57066).Z},"./hooks/use-tabs.tsx":{type:"FILE",value:e(67634).Z},"./config.tsx":{type:"FILE",value:e(23456).Z},"./ccs.ts":{type:"FILE",value:e(37846).Z},"./date-picker.tsx":{type:"FILE",value:e(45645).Z},"./hooks/use-window.ts":{type:"FILE",value:e(30960).Z},"./select.tsx":{type:"FILE",value:e(96440).Z},"./dialog.tsx":{type:"FILE",value:e(43022).Z},"./page-layout/single-page.tsx":{type:"FILE",value:e(76288).Z},"./pro-tabs.tsx":{type:"FILE",value:e(4196).Z},"./form.tsx":{type:"FILE",value:e(28013).Z},"./page-layout.tsx":{type:"FILE",value:e(63705).Z},"./pro-table.tsx":{type:"FILE",value:e(82530).Z},"./time-picker.tsx":{type:"FILE",value:e(88225).Z},"./hooks/use-app.ts":{type:"FILE",value:e(57414).Z},"./result.tsx":{type:"FILE",value:e(58578).Z},"./page-layout/keep-alive.tsx":{type:"FILE",value:e(42210).Z},"./hooks/use-once-event.tsx":{type:"FILE",value:e(80659).Z},"./status-tag.tsx":{type:"FILE",value:e(59609).Z},"./hooks/use-page.ts":{type:"FILE",value:e(38712).Z},"./water-mark.tsx":{type:"FILE",value:e(79604).Z},"./upload.tsx":{type:"FILE",value:e(27379).Z},"./hooks/use-selection.ts":{type:"FILE",value:e(13853).Z},"./table.tsx":{type:"FILE",value:e(56197).Z},"./editor.tsx":{type:"FILE",value:e(36878).Z},"@ant-design/colors":{type:"NPM",value:"8.0.0"},"@ant-design/compatible":{type:"NPM",value:"5.1.4"},"@ccs-ui/utils":{type:"NPM",value:"0.1.7"},ahooks:{type:"NPM",value:"3.9.5"},"./api.tsx":{type:"FILE",value:e(52504).Z},dayjs:{type:"NPM",value:"1.11.18"},"react-router":{type:"NPM",value:"6.3.0"},classnames:{type:"NPM",value:"2.5.1"},"../context.ts":{type:"FILE",value:e(45757).Z},"tiny-pinyin":{type:"NPM",value:"1.3.2"},"react-router-dom":{type:"NPM",value:"6.3.0"},"./index.less":{type:"FILE",value:e(47285).Z},"immutability-helper":{type:"NPM",value:"3.1.1"},"./item.tsx":{type:"FILE",value:e(68666).Z},"./list.tsx":{type:"FILE",value:e(53019).Z},"./relative.tsx":{type:"FILE",value:e(62561).Z},"react-resizable":{type:"NPM",value:"3.0.5"},"./summary.tsx":{type:"FILE",value:e(98670).Z},"./selection-alert.tsx":{type:"FILE",value:e(9267).Z},"../theme-dialog.ts":{type:"FILE",value:e(62576).Z},"./drawer-footer.tsx":{type:"FILE",value:e(82759).Z},"./hook.tsx":{type:"FILE",value:e(98314).Z},"./button.tsx":{type:"FILE",value:e(80886).Z},"./context.ts":{type:"FILE",value:e(70052).Z},"./upload-image.tsx":{type:"FILE",value:e(87745).Z},"./page.tsx":{type:"FILE",value:e(79172).Z},"../utils.ts":{type:"FILE",value:e(47704).Z},"lodash.debounce":{type:"NPM",value:"4.0.8"},"./rich.tsx":{type:"FILE",value:e(88535).Z},"./customize.tsx":{type:"FILE",value:e(5125).Z},"./sql.tsx":{type:"FILE",value:e(53986).Z},"./xml.tsx":{type:"FILE",value:e(26834).Z},"./javascript.tsx":{type:"FILE",value:e(85609).Z},"./ modal.tsx":{type:"FILE",value:e(2431).Z},"./json.tsx":{type:"FILE",value:e(94975).Z},"./yaml.tsx":{type:"FILE",value:e(5093).Z},"@codemirror/lang-sql":{type:"NPM",value:"6.10.0"},"@lexical/link":{type:"NPM",value:"0.38.2"},"@codemirror/lang-yaml":{type:"NPM",value:"6.1.2"},"@codemirror/lang-xml":{type:"NPM",value:"6.1.0"},"@codemirror/lang-javascript":{type:"NPM",value:"6.2.4"},"@codemirror/lang-json":{type:"NPM",value:"6.0.2"},"react-sortablejs":{type:"NPM",value:"6.1.4"},"react-dom":{type:"NPM",value:"18.3.1"},"@lexical/list":{type:"NPM",value:"0.38.2"},"@codemirror/language":{type:"NPM",value:"6.11.3"},"antd-img-crop":{type:"NPM",value:"4.25.0"},"./code-base.tsx":{type:"FILE",value:e(46345).Z},"@lexical/rich-text":{type:"NPM",value:"0.38.2"},"@codemirror/lint":{type:"NPM",value:"6.8.5"},lexical:{type:"NPM",value:"0.38.2"},undefined:{type:"NPM"},"./usePageRequest.tsx":{type:"FILE",value:e(71754).Z},"./full-screen.tsx":{type:"FILE",value:e(11361).Z},"./check.tsx":{type:"FILE",value:e(13924).Z},"./count-down.tsx":{type:"FILE",value:e(36483).Z},"./resize-observer.tsx":{type:"FILE",value:e(99021).Z},"./loading.tsx":{type:"FILE",value:e(91680).Z},"./operation.tsx":{type:"FILE",value:e(63013).Z},"./title.tsx":{type:"FILE",value:e(92649).Z},"./ellipsis.tsx":{type:"FILE",value:e(7122).Z},"./useComplexState.tsx":{type:"FILE",value:e(84109).Z},"./filter.tsx":{type:"FILE",value:e(24706).Z},"../../hooks/use-insert-css.ts":{type:"FILE",value:e(5766).Z},"./editor/_api.ts":{type:"FILE",value:e(2142).Z},"./water-mark/_api.ts":{type:"FILE",value:e(96788).Z},"./atom/_api.ts":{type:"FILE",value:e(35759).Z},"./form/_api.ts":{type:"FILE",value:e(29060).Z},"./button/_api.ts":{type:"FILE",value:e(45621).Z},"./page-layout/_api.ts":{type:"FILE",value:e(98333).Z},"insert-css":{type:"NPM",value:"2.0.0"},"./cascader/_api.ts":{type:"FILE",value:e(20848).Z},"./pro-table/_api.ts":{type:"FILE",value:e(10753).Z},"./date-picker/_api.ts":{type:"FILE",value:e(797).Z},"./dialog/_api.ts":{type:"FILE",value:e(35987).Z},"./pro-tabs/_api.ts":{type:"FILE",value:e(67190).Z},"./context/_api.ts":{type:"FILE",value:e(51412).Z},"./select/_api.ts":{type:"FILE",value:e(42519).Z},"./upload/_api.ts":{type:"FILE",value:e(86363).Z},"./HookModal.tsx":{type:"FILE",value:e(40656).Z},"./HookDrawer.tsx":{type:"FILE",value:e(95933).Z},"./usePatchElement.tsx":{type:"FILE",value:e(96602).Z},"./code.less":{type:"FILE",value:e(49960).Z},"../hooks/use-input-css.ts":{type:"FILE",value:e(63406).Z},runes2:{type:"NPM",value:"1.1.4"},"../lexical/base.tsx":{type:"FILE",value:e(37634).Z},"../lexical/plugins/image/ImageNode.tsx":{type:"FILE",value:e(87173).Z},"./theme.ts":{type:"FILE",value:e(91255).Z},"../lexical/base/styleConfig.ts":{type:"FILE",value:e(20466).Z},"../lexical/plugins/init-html.tsx":{type:"FILE",value:e(1731).Z},"./export.ts":{type:"FILE",value:e(82227).Z},"./_utils.ts":{type:"FILE",value:e(52067).Z},"./tree.tsx":{type:"FILE",value:e(97683).Z},"react-draggable":{type:"NPM",value:"4.5.0"},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},"@lexical/html":{type:"NPM",value:"0.38.2"},"@lexical/react":{type:"NPM",value:"0.38.2"},"./ImageComponent.tsx":{type:"FILE",value:e(74610).Z},"../../base/toolbar/upload.tsx":{type:"FILE",value:e(62989).Z},"./toolbar.tsx":{type:"FILE",value:e(49811).Z},"../plugins/image.tsx":{type:"FILE",value:e(95791).Z},"@lexical/selection":{type:"NPM",value:"0.38.2"},"@lexical/utils":{type:"NPM",value:"0.38.2"},"./code.tsx":{type:"FILE",value:e(58988).Z}},entry:"index.tsx",title:"\u6309\u94AE\u7EC4",description:"\u6309\u94AE\u7EC4\u3002"},context:{"...tsx":c,"./group.tsx":s,"...ts":d,"./dropdown.tsx":m,"./color-picker.tsx":T,"./aj-captcha.tsx":t,"./atom.tsx":a,"./auth.tsx":P,"./cascader.tsx":B,"./hooks/use-tabs.tsx":k,"./config.tsx":E,"./ccs.ts":u,"./date-picker.tsx":S,"./hooks/use-window.ts":y,"./select.tsx":L,"./dialog.tsx":F,"./page-layout/single-page.tsx":b,"./pro-tabs.tsx":A,"./form.tsx":j,"./page-layout.tsx":M,"./pro-table.tsx":x,"./time-picker.tsx":I,"./hooks/use-app.ts":w,"./result.tsx":K,"./page-layout/keep-alive.tsx":f,"./hooks/use-once-event.tsx":Z,"./status-tag.tsx":O,"./hooks/use-page.ts":R,"./water-mark.tsx":N,"./upload.tsx":W,"./hooks/use-selection.ts":z,"./table.tsx":D,"./editor.tsx":U,"./api.tsx":ne,"../context.ts":Q,"./index.less":Pe,"./item.tsx":Ee,"./list.tsx":ye,"./relative.tsx":de,"./summary.tsx":pe,"./selection-alert.tsx":Ue,"../theme-dialog.ts":je,"./drawer-footer.tsx":Se,"./hook.tsx":Le,"./button.tsx":ke,"./context.ts":xe,"./upload-image.tsx":Ae,"./page.tsx":$,"../utils.ts":ce,"./rich.tsx":Me,"./customize.tsx":He,"./sql.tsx":be,"./xml.tsx":We,"./javascript.tsx":ee,"./ modal.tsx":Ve,"./json.tsx":ve,"./yaml.tsx":ue,"./code-base.tsx":tn,"./usePageRequest.tsx":rn,"./full-screen.tsx":kn,"./check.tsx":on,"./count-down.tsx":Un,"./resize-observer.tsx":An,"./loading.tsx":Bn,"./operation.tsx":Kn,"./title.tsx":Ln,"./ellipsis.tsx":Vn,"./useComplexState.tsx":sn,"./filter.tsx":Gn,"../../hooks/use-insert-css.ts":Sn,"./editor/_api.ts":pn,"./water-mark/_api.ts":ln,"./atom/_api.ts":an,"./form/_api.ts":un,"./button/_api.ts":Wn,"./page-layout/_api.ts":vn,"./cascader/_api.ts":dn,"./pro-table/_api.ts":hn,"./date-picker/_api.ts":mn,"./dialog/_api.ts":_n,"./pro-tabs/_api.ts":fn,"./context/_api.ts":cn,"./select/_api.ts":gn,"./upload/_api.ts":En,"./HookModal.tsx":Pn,"./HookDrawer.tsx":xn,"./usePatchElement.tsx":Cn,"./code.less":yn,"../hooks/use-input-css.ts":Je,"../lexical/base.tsx":Mn,"../lexical/plugins/image/ImageNode.tsx":On,"./theme.ts":Fn,"../lexical/base/styleConfig.ts":en,"../lexical/plugins/init-html.tsx":In,"./export.ts":Ye,"./_utils.ts":bn,"./tree.tsx":Dn,"./ImageComponent.tsx":jn,"../../base/toolbar/upload.tsx":Rn,"./toolbar.tsx":Tn,"../plugins/image.tsx":Nn,"./code.tsx":Zn,"@ant-design/icons":r,antd:i,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/index.tsx":c,react:h||(h=e.t(v,2)),"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/group.tsx":s,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/index.ts":d,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/dropdown.tsx":m,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/color-picker/index.tsx":T,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/aj-captcha/index.tsx":t,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/index.tsx":a,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/auth/index.tsx":P,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/index.tsx":B,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-tabs.tsx":k,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/config.tsx":E,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/ccs.ts":u,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/index.tsx":S,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-window.ts":y,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/index.tsx":L,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/index.tsx":F,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/single-page/index.tsx":b,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/index.tsx":A,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/form.tsx":j,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/index.tsx":M,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/index.tsx":x,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/time-picker/index.tsx":I,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-app.ts":w,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/result/index.tsx":K,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/index.tsx":f,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-once-event.tsx":Z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/status-tag/index.tsx":O,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-page.ts":R,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/index.tsx":N,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/index.tsx":W,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-selection.ts":z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/table.tsx":D,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/index.tsx":U,"@ant-design/colors":J,"@ant-design/compatible":H,"@ccs-ui/utils":te,ahooks:G,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/api.tsx":ne,dayjs:V,"react-router":q,classnames:ae,"antd/locale/zh_CN":ie,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/index.ts":Q,"tiny-pinyin":_e,"react-router-dom":le,"dayjs/plugin/customParseFormat":re,"antd/es/config-provider":se,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.less":Pe,"immutability-helper":fe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/item.tsx":Ee,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/list.tsx":ye,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/relative.tsx":de,"react-resizable":Te,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/summary.tsx":pe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/selection-alert.tsx":Ue,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/theme-dialog.ts":je,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/drawer-footer.tsx":Se,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/hook.tsx":Le,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/button.tsx":ke,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/context.ts":xe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/upload-image.tsx":Ae,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/page.tsx":$,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/utils.ts":ce,"lodash.debounce":De,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/index.tsx":Me,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/customize.tsx":He,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/sql.tsx":be,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/xml.tsx":We,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/javascript.tsx":ee,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/ modal.tsx":Ve,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/json.tsx":ve,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/yaml.tsx":ue,"@codemirror/lang-sql":he,"@lexical/link":Ce,"@codemirror/lang-yaml":Ke,"@codemirror/lang-xml":Be,"@codemirror/lang-javascript":qe,"@codemirror/lang-json":Oe,"react-sortablejs":Ge,"react-dom/client":o||(o=e.t(Hn,2)),"@lexical/list":zn,"@codemirror/language":wn,"antd-img-crop":Re,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code-base.tsx":tn,"@lexical/rich-text":tt,"@codemirror/lint":nt,lexical:ot,"@uiw/react-codemirror":st,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/usePageRequest.tsx":rn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/full-screen.tsx":kn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/check.tsx":on,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/count-down.tsx":Un,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/resize-observer.tsx":An,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/loading.tsx":Bn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/operation.tsx":Kn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/title.tsx":Ln,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/ellipsis.tsx":Vn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/useComplexState.tsx":sn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/filter.tsx":Gn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-insert-css.ts":Sn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/_api.ts":pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/_api.ts":ln,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/_api.ts":an,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/_api.ts":un,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/_api.ts":Wn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/_api.ts":vn,"insert-css":Xn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/_api.ts":dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_api.ts":hn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/_api.ts":mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/_api.ts":_n,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/_api.ts":fn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/_api.ts":cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/_api.ts":gn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/_api.ts":En,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookModal.tsx":Pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookDrawer.tsx":xn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/usePatchElement.tsx":Cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code.less":yn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-input-css.ts":Je,runes2:Jn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.tsx":Mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageNode.tsx":On,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/theme.ts":Fn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/styleConfig.ts":en,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/init-html.tsx":In,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/export.ts":Ye,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_utils.ts":bn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/tree.tsx":Dn,"react-draggable":rt,"@ccs-ui/rc-pro":d,"@lexical/html":Yn,"@ccs-ui/rc-pro/hooks/use-input-css":Je,"@lexical/react/LexicalComposerContext":at,"@lexical/react/LexicalComposer":it,"@lexical/react/LexicalContentEditable":Qn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageComponent.tsx":jn,"@lexical/react/LexicalErrorBoundary":lt,"@lexical/react/LexicalHistoryPlugin":ut,"@lexical/react/LexicalLinkPlugin":qn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/upload.tsx":Rn,"@lexical/react/LexicalOnChangePlugin":dt,"@lexical/react/LexicalRichTextPlugin":ct,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/index.tsx":Tn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/index.tsx":Nn,"@ccs-ui/rc-pro/editor/rich/export":Ye,"@lexical/selection":_t,"@lexical/utils":et,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/code.tsx":Zn},renderOpts:{compile:function(){var $e=l()(p()().mark(function Ne(){var Ze,nn=arguments;return p()().wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:return ze.next=2,e.e(9510).then(e.bind(e,59510));case 2:return ze.abrupt("return",(Ze=ze.sent).default.apply(Ze,nn));case 3:case"end":return ze.stop()}},Ne)}));function we(){return $e.apply(this,arguments)}return we}()}}}},32120:function(g,n,e){"use strict";var h;e.r(n),e.d(n,{demos:function(){return c}});var o=e(90228),C=e.n(o),p=e(87999),_=e.n(p),l=e(75271),v=e(39203),i=e(28320),c={"cascader-demo-basic":{component:l.memo(l.lazy(function(){return e.e(7681).then(e.bind(e,55867))})),asset:{type:"BLOCK",id:"cascader-demo-basic",refAtomIds:["cascader"],dependencies:{"index.tsx":{type:"FILE",value:e(20532).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u57FA\u672C\u7528\u6CD5\u3002"},context:{"@ccs-ui/rc-pro":v},renderOpts:{compile:function(){var r=_()(C()().mark(function d(){var m,t=arguments;return C()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.e(9510).then(e.bind(e,59510));case 2:return a.abrupt("return",(m=a.sent).default.apply(m,t));case 3:case"end":return a.stop()}},d)}));function s(){return r.apply(this,arguments)}return s}()}},"cascader-demo-cache":{component:l.memo(l.lazy(function(){return e.e(7681).then(e.bind(e,25868))})),asset:{type:"BLOCK",id:"cascader-demo-cache",refAtomIds:["cascader"],dependencies:{"index.tsx":{type:"FILE",value:e(75309).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u6570\u636E\u7F13\u5B58",description:"\u914D\u7F6Ecache\u5C5E\u6027\u540E\uFF0C\u5C06\u5F00\u542F\u6570\u636E\u7F13\u5B58"},context:{"@ccs-ui/rc-pro":v,antd:i,react:h||(h=e.t(l,2))},renderOpts:{compile:function(){var r=_()(C()().mark(function d(){var m,t=arguments;return C()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.e(9510).then(e.bind(e,59510));case 2:return a.abrupt("return",(m=a.sent).default.apply(m,t));case 3:case"end":return a.stop()}},d)}));function s(){return r.apply(this,arguments)}return s}()}}}},8218:function(g,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return i}});var h=e(90228),o=e.n(h),C=e(87999),p=e.n(C),_=e(75271),l=e(39203),v=e(28320),i={"date-picker-demo-basic":{component:_.memo(_.lazy(function(){return e.e(5003).then(e.bind(e,69306))})),asset:{type:"BLOCK",id:"date-picker-demo-basic",refAtomIds:["date-picker"],dependencies:{"index.tsx":{type:"FILE",value:e(29634).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u5E74\uFF0C\u6708\uFF0C\u65E5\uFF0C\u65F6\u95F4\uFF0C\u8F93\u5165\u8F93\u51FA\u5B57\u7B26\u4E32\uFF0C\u4E0D\u9700\u8981\u8F6C\u6362Dayjs\u7C7B\u578B\u3002"},context:{"@ccs-ui/rc-pro":l,antd:v},renderOpts:{compile:function(){var c=p()(o()().mark(function s(){var d,m=arguments;return o()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,e.e(9510).then(e.bind(e,59510));case 2:return u.abrupt("return",(d=u.sent).default.apply(d,m));case 3:case"end":return u.stop()}},s)}));function r(){return c.apply(this,arguments)}return r}()}},"date-picker-demo-range":{component:_.memo(_.lazy(function(){return e.e(5003).then(e.bind(e,1687))})),asset:{type:"BLOCK",id:"date-picker-demo-range",refAtomIds:["date-picker"],dependencies:{"index.tsx":{type:"FILE",value:e(49277).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u533A\u95F4\u9009\u62E9"},context:{"@ccs-ui/rc-pro":l,antd:v},renderOpts:{compile:function(){var c=p()(o()().mark(function s(){var d,m=arguments;return o()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,e.e(9510).then(e.bind(e,59510));case 2:return u.abrupt("return",(d=u.sent).default.apply(d,m));case 3:case"end":return u.stop()}},s)}));function r(){return c.apply(this,arguments)}return r}()}}}},98582:function(g,n,e){"use strict";var h;e.r(n),e.d(n,{demos:function(){return t}});var o=e(90228),C=e.n(o),p=e(87999),_=e.n(p),l=e(75271),v=e(39203),i=e(28320),c=e(80429),r=e(97764),s=e(38525),d=e(41974),m=e(99930),t={"dialog-demo-demos":{component:l.memo(l.lazy(function(){return e.e(447).then(e.bind(e,99699))})),asset:{type:"BLOCK",id:"dialog-demo-demos",refAtomIds:["dialog"],dependencies:{"index.tsx":{type:"FILE",value:e(4027).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},antd:{type:"NPM",value:"5.27.3"},"./FormCustom.tsx":{type:"FILE",value:e(91015).Z},"./Basic.tsx":{type:"FILE",value:e(58254).Z},"./Cache.tsx":{type:"FILE",value:e(26260).Z},ahooks:{type:"NPM",value:"3.9.5"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx"},context:{"./FormCustom.tsx":c,"./Basic.tsx":r,"./Cache.tsx":s,"@ccs-ui/rc-pro":v,antd:i,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/demos/FormCustom.tsx":c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/demos/Basic.tsx":r,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/demos/Cache.tsx":s,ahooks:d,react:h||(h=e.t(l,2)),"antd/es/form/hooks/useFormInstance":m},renderOpts:{compile:function(){var u=_()(C()().mark(function y(){var P,M=arguments;return C()().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,e.e(9510).then(e.bind(e,59510));case 2:return f.abrupt("return",(P=f.sent).default.apply(P,M));case 3:case"end":return f.stop()}},y)}));function a(){return u.apply(this,arguments)}return a}()}},"dialog-demo-form":{component:l.memo(l.lazy(function(){return e.e(447).then(e.bind(e,6068))})),asset:{type:"BLOCK",id:"dialog-demo-form",refAtomIds:["dialog"],dependencies:{"index.tsx":{type:"FILE",value:e(77697).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u96C6\u6210\u8868\u5355\uFF0C\u63A5\u53E3\u8BF7\u6C42",description:"\u7ED3\u5408Form\u8868\u5355,\u81EA\u52A8\u6536\u96C6\u8868\u5355\u7ED3\u679C\uFF0C\u81EA\u52A8\u8C03\u7528\u63A5\u53E3\uFF0C\u53CD\u9988\u7ED3\u679C\u3002Drawer \u540C modal"},context:{"@ccs-ui/rc-pro":v,antd:i},renderOpts:{compile:function(){var u=_()(C()().mark(function y(){var P,M=arguments;return C()().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,e.e(9510).then(e.bind(e,59510));case 2:return f.abrupt("return",(P=f.sent).default.apply(P,M));case 3:case"end":return f.stop()}},y)}));function a(){return u.apply(this,arguments)}return a}()}},"dialog-demo-prompt":{component:l.memo(l.lazy(function(){return e.e(447).then(e.bind(e,90336))})),asset:{type:"BLOCK",id:"dialog-demo-prompt",refAtomIds:["dialog"],dependencies:{"index.tsx":{type:"FILE",value:e(24606).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u6D88\u606F\u53CD\u9988",description:"modal,message,notification,\u6D88\u606F\u63D0\u793A\uFF1A\u9002\u5E94\u4E3B\u9898\u53D8\u5316\u7684\u6D88\u606F\u63D0,\u65E0\u9700\u4F7F\u7528 contextHolder\u3002"},context:{"@ccs-ui/rc-pro":v,antd:i},renderOpts:{compile:function(){var u=_()(C()().mark(function y(){var P,M=arguments;return C()().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,e.e(9510).then(e.bind(e,59510));case 2:return f.abrupt("return",(P=f.sent).default.apply(P,M));case 3:case"end":return f.stop()}},y)}));function a(){return u.apply(this,arguments)}return a}()}}}},17882:function(g,n,e){"use strict";var h;e.r(n),e.d(n,{demos:function(){return c}});var o=e(90228),C=e.n(o),p=e(87999),_=e.n(p),l=e(75271),v=e(39203),i=e(28320),c={"editor-demo-rich":{component:l.memo(l.lazy(function(){return e.e(3404).then(e.bind(e,36211))})),asset:{type:"BLOCK",id:"editor-demo-rich",refAtomIds:["editor"],dependencies:{"index.tsx":{type:"FILE",value:e(46912).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u5BCC\u6587\u672C\u7F16\u8F91\u5668",description:"\u5BCC\u6587\u672C\u7F16\u8F91\u3001\u56FE\u7247\u4E0A\u4F20\u3001\u6E90\u7801\u7F16\u8F91"},context:{"@ccs-ui/rc-pro":v,antd:i,react:h||(h=e.t(l,2))},renderOpts:{compile:function(){var r=_()(C()().mark(function d(){var m,t=arguments;return C()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.e(9510).then(e.bind(e,59510));case 2:return a.abrupt("return",(m=a.sent).default.apply(m,t));case 3:case"end":return a.stop()}},d)}));function s(){return r.apply(this,arguments)}return s}()}},"editor-demo-demos":{component:l.memo(l.lazy(function(){return e.e(3404).then(e.bind(e,85768))})),asset:{type:"BLOCK",id:"editor-demo-demos",refAtomIds:["editor"],dependencies:{"index.tsx":{type:"FILE",value:e(25232).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u4EE3\u7801\u7F16\u8F91\u5668"},context:{"@ccs-ui/rc-pro":v,antd:i,react:h||(h=e.t(l,2))},renderOpts:{compile:function(){var r=_()(C()().mark(function d(){var m,t=arguments;return C()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.e(9510).then(e.bind(e,59510));case 2:return a.abrupt("return",(m=a.sent).default.apply(m,t));case 3:case"end":return a.stop()}},d)}));function s(){return r.apply(this,arguments)}return s}()}}}},72913:function(g,n,e){"use strict";var h;e.r(n),e.d(n,{demos:function(){return c}});var o=e(90228),C=e.n(o),p=e(87999),_=e.n(p),l=e(75271),v=e(39203),i=e(28320),c={"form-demo-demos":{component:l.memo(l.lazy(function(){return e.e(6294).then(e.bind(e,7584))})),asset:{type:"BLOCK",id:"form-demo-demos",refAtomIds:["form"],dependencies:{"index.tsx":{type:"FILE",value:e(7570).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:`Form
2
+ \u57FA\u672C\u7528\u6CD5`,description:"Antd\u8868\u5355\u7EC4\u4EF6\u6269\u5C55\uFF0C\u4F9D\u8D56\u5224\u65AD\uFF0C\u663E\u793A\uFF0C\u5D4C\u5957\u5217\u8868\uFF0C\u62D6\u62FD\u6392\u5E8F\uFF0C\u7B80\u5355\u6821\u9A8C\u89C4\u5219"},context:{"@ccs-ui/rc-pro":v,antd:i,react:h||(h=e.t(l,2))},renderOpts:{compile:function(){var r=_()(C()().mark(function d(){var m,t=arguments;return C()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.e(9510).then(e.bind(e,59510));case 2:return a.abrupt("return",(m=a.sent).default.apply(m,t));case 3:case"end":return a.stop()}},d)}));function s(){return r.apply(this,arguments)}return s}()}}}},66339:function(g,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return o}});var h=e(75271),o={}},85577:function(g,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return o}});var h=e(75271),o={}},10865:function(g,n,e){"use strict";var h;e.r(n),e.d(n,{demos:function(){return T}});var o=e(90228),C=e.n(o),p=e(87999),_=e.n(p),l=e(75271),v=e(3180),i=e(39203),c=e(28320),r=e(96757),s=e(17888),d=e.n(s),m=e(3675),t=e(61289),u=e(57898),a=e(94238),y=e(40011),P=e(33765),M=e(41974),T={"pro-table-demo-basic":{component:l.memo(l.lazy(function(){return e.e(1888).then(e.bind(e,75994))})),asset:{type:"BLOCK",id:"pro-table-demo-basic",refAtomIds:["pro-table"],dependencies:{"index.tsx":{type:"FILE",value:e(7049).Z},"@ant-design/icons":{type:"NPM",value:"5.6.1"},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},antd:{type:"NPM",value:"5.27.3"},"./service.ts":{type:"FILE",value:e(54331).Z},dayjs:{type:"NPM",value:"1.11.18"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u57FA\u7840\u67E5\u8BE2"},context:{"./service.ts":r,"@ant-design/icons":v,"@ccs-ui/rc-pro":i,antd:c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/service.ts":r,dayjs:s},renderOpts:{compile:function(){var f=_()(C()().mark(function L(){var b,E=arguments;return C()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,e.e(9510).then(e.bind(e,59510));case 2:return x.abrupt("return",(b=x.sent).default.apply(b,E));case 3:case"end":return x.stop()}},L)}));function O(){return f.apply(this,arguments)}return O}()}},"pro-table-demo-selection":{component:l.memo(l.lazy(function(){return e.e(1888).then(e.bind(e,41596))})),asset:{type:"BLOCK",id:"pro-table-demo-selection",refAtomIds:["pro-table"],dependencies:{"index.tsx":{type:"FILE",value:e(82691).Z},"@ant-design/icons":{type:"NPM",value:"5.6.1"},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},antd:{type:"NPM",value:"5.27.3"},"./service.ts":{type:"FILE",value:e(54331).Z},dayjs:{type:"NPM",value:"1.11.18"}},entry:"index.tsx",title:"\u9009\u4E2D\uFF0C\u6C47\u603B",description:"\u4F7F\u7528hooks\u83B7\u53D6\u9009\u4E2D\uFF0C\u663E\u793A\u9009\u4E2D\u4FE1\u606F\uFF1B\u6C47\u603B\u884C\u6570\u636E"},context:{"./service.ts":r,"@ant-design/icons":v,"@ccs-ui/rc-pro":i,antd:c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/service.ts":r,dayjs:s},renderOpts:{compile:function(){var f=_()(C()().mark(function L(){var b,E=arguments;return C()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,e.e(9510).then(e.bind(e,59510));case 2:return x.abrupt("return",(b=x.sent).default.apply(b,E));case 3:case"end":return x.stop()}},L)}));function O(){return f.apply(this,arguments)}return O}()}},"pro-table-demo-filter":{component:l.memo(l.lazy(function(){return e.e(1888).then(e.bind(e,71727))})),asset:{type:"BLOCK",id:"pro-table-demo-filter",refAtomIds:["pro-table"],dependencies:{"index.tsx":{type:"FILE",value:e(627).Z},"@ant-design/icons":{type:"NPM",value:"5.6.1"},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},antd:{type:"NPM",value:"5.27.3"},"./service.ts":{type:"FILE",value:e(54331).Z},dayjs:{type:"NPM",value:"1.11.18"}},entry:"index.tsx",title:"\u5217\u7B5B\u9009\u3001\u6392\u5E8F",description:`\u7B80\u5316\u5217\u7B5B\u9009\u3001\u6392\u5E8F\u529F\u80FD\uFF1B
3
+ \u8F93\u5165\u503C\u53EF\u63A7\u3001\u53EF\u91CD\u7F6E\uFF1B
4
+ \u7B5B\u9009\u3001\u6392\u5E8F\u5747\u4F7F\u7528\u8BF7\u6C42\u670D\u52A1\u7AEF API \u5B9E\u73B0\uFF1B
5
+ \u4F7F\u7528\u5217\u7B5B\u9009\u529F\u80FD\u5E94\u5C3D\u91CF\u4F7F\u7528\u7B80\u5355\u6761\u4EF6\u3001\u6BD4\u5982\u72B6\u6001\uFF0C\u6392\u5E8F\u7B49\uFF0C\u907F\u514D\u4F7F\u7528\u591A\u79CD\u7EC4\u5408\u6761\u4EF6\uFF1B
6
+ \u672C\u5730\u6A21\u62DF\u6570\u636E\u3001\u8BF7\u6253\u5F00\u63A7\u5236\u53F0\u67E5\u770B\u65E5\u5FD7`},context:{"./service.ts":r,"@ant-design/icons":v,"@ccs-ui/rc-pro":i,antd:c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/service.ts":r,dayjs:s},renderOpts:{compile:function(){var f=_()(C()().mark(function L(){var b,E=arguments;return C()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,e.e(9510).then(e.bind(e,59510));case 2:return x.abrupt("return",(b=x.sent).default.apply(b,E));case 3:case"end":return x.stop()}},L)}));function O(){return f.apply(this,arguments)}return O}()}},"pro-table-demo-refresh":{component:l.memo(l.lazy(function(){return e.e(1888).then(e.bind(e,51010))})),asset:{type:"BLOCK",id:"pro-table-demo-refresh",refAtomIds:["pro-table"],dependencies:{"index.tsx":{type:"FILE",value:e(60545).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"},"./service.ts":{type:"FILE",value:e(54331).Z},dayjs:{type:"NPM",value:"1.11.18"}},entry:"index.tsx",title:"\u6570\u636E\u5237\u65B0\u3001\u91CD\u7F6E",description:`\u5728\u4FEE\u6539\u6570\u636E\u5B8C\u6210\u540E\u3001\u53EF\u4EE5\u8C03\u7528\u7EC4\u4EF6 ref \u65B9\u6CD5\u3001\u5237\u65B0\u6570\u636E;
7
+ - onReload\uFF1A\u91CD\u8F7D\u6570\u636E\u3001\u4FDD\u7559\u67E5\u8BE2\u6761\u4EF6\u3001\u8FD4\u56DE\u5F53\u524D\u9875\u6570\u636E;
8
+ - onReset\uFF1A\u91CD\u7F6E\u6570\u636E\u3001\u67E5\u8BE2\u6761\u4EF6\u6062\u590D\u521D\u59CB\u72B6\u6001;
9
+ - onSearch\uFF1A\u540C\u67E5\u8BE2\u6309\u94AE\u3001\u4FDD\u7559\u67E5\u8BE2\u6761\u4EF6\uFF0C\u8FD4\u56DE\u7B2C\u4E00\u9875\u6570\u636E\u3002`},context:{"./service.ts":r,"@ccs-ui/rc-pro":i,antd:c,react:h||(h=e.t(l,2)),"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/service.ts":r,dayjs:s},renderOpts:{compile:function(){var f=_()(C()().mark(function L(){var b,E=arguments;return C()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,e.e(9510).then(e.bind(e,59510));case 2:return x.abrupt("return",(b=x.sent).default.apply(b,E));case 3:case"end":return x.stop()}},L)}));function O(){return f.apply(this,arguments)}return O}()}},"pro-table-demo-tree-async":{component:l.memo(l.lazy(function(){return e.e(1888).then(e.bind(e,91256))})),asset:{type:"BLOCK",id:"pro-table-demo-tree-async",refAtomIds:["pro-table"],dependencies:{"index.tsx":{type:"FILE",value:e(83758).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},react:{type:"NPM",value:"18.3.1"},"./service-tree.ts":{type:"FILE",value:e(64359).Z},"./tree-form.tsx":{type:"FILE",value:e(12136).Z},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u81EA\u52A8\u5F02\u6B65\u6811",description:`\u5C55\u5F00\u6570\u636E\u5F02\u6B65\u52A0\u8F7D\uFF1A
10
+ - asyncTree: { parentName: "\u7236\u7EA7\u5B57\u6BB5" }\u3002
11
+ - rowKey \u5FC5\u987B\u6B63\u786E\u3001\u6839\u636ErowKey\u503C\u52A0\u8F7D\u4E0B\u7EA7\u6570\u636E\u3002
12
+ - leafNode \u53F6\u5B50\u8282\u70B9\u5224\u65AD
13
+ \u7F16\u8F91\u6570\u636E\u5C40\u90E8\u5237\u65B0\uFF1A
14
+ - \u6839\u636E\u4E0A\u7EA7 ID,\u91CD\u8F7D\u4E0B\u7EA7\u6570\u636E
15
+ - \u5237\u65B0\u65B9\u6CD5\uFF1AproRef.current?.onPartialReload(\u7236\u7EA7ID)`},context:{"./service-tree.ts":m,"./tree-form.tsx":t,"@ccs-ui/rc-pro":i,react:h||(h=e.t(l,2)),"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/service-tree.ts":m,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/tree-form.tsx":t,antd:c},renderOpts:{compile:function(){var f=_()(C()().mark(function L(){var b,E=arguments;return C()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,e.e(9510).then(e.bind(e,59510));case 2:return x.abrupt("return",(b=x.sent).default.apply(b,E));case 3:case"end":return x.stop()}},L)}));function O(){return f.apply(this,arguments)}return O}()}},"pro-table-demo-fixed":{component:l.memo(l.lazy(function(){return e.e(1888).then(e.bind(e,81697))})),asset:{type:"BLOCK",id:"pro-table-demo-fixed",refAtomIds:["pro-table"],dependencies:{"index.tsx":{type:"FILE",value:e(46682).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"},"./service.ts":{type:"FILE",value:e(54331).Z},dayjs:{type:"NPM",value:"1.11.18"}},entry:"index.tsx",title:"\u56FA\u5B9A\u8868\u5934",description:`\u81EA\u9002\u5E94\u5BB9\u5668\u9AD8\u5EA6scroll: { y: "auto" };
16
+ \u81EA\u5B9A\u4E49\u9AD8\u5EA6\u4F20\u5165\u5177\u4F53\u6307scroll: { y: 500 }\u3002`},context:{"./service.ts":r,"@ccs-ui/rc-pro":i,antd:c,react:h||(h=e.t(l,2)),"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/service.ts":r,dayjs:s},renderOpts:{compile:function(){var f=_()(C()().mark(function L(){var b,E=arguments;return C()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,e.e(9510).then(e.bind(e,59510));case 2:return x.abrupt("return",(b=x.sent).default.apply(b,E));case 3:case"end":return x.stop()}},L)}));function O(){return f.apply(this,arguments)}return O}()}},"pro-table-demo-show-depend":{component:l.memo(l.lazy(function(){return e.e(1888).then(e.bind(e,13767))})),asset:{type:"BLOCK",id:"pro-table-demo-show-depend",refAtomIds:["pro-table"],dependencies:{"index.tsx":{type:"FILE",value:e(48962).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},antd:{type:"NPM",value:"5.27.3"},"./service.ts":{type:"FILE",value:e(54331).Z},dayjs:{type:"NPM",value:"1.11.18"}},entry:"index.tsx",title:"\u67E5\u8BE2\u6761\u4EF6\u663E\u793A\u4F9D\u8D56",description:`\u4E00\u822C\u7EA7\u8054\u9009\u62E9\u5F3A\u70C8\u5EFA\u8BAE\u4F7F\u7528 Cascader \u7EC4\u4EF6\u3001\u7531\u540E\u7AEF\u6784\u5EFA\u67E5\u8BE2\u6570\u636E\u3002
17
+ \u901A\u8FC7\u591A\u4E2A select \u7EC4\u4EF6\u6765\u6784\u5EFA\u7EA7\u8054\u53C2\u8003\u4E0A\u9762\u793A\u4F8B\uFF1A`},context:{"./service.ts":r,"@ccs-ui/rc-pro":i,antd:c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/service.ts":r,dayjs:s},renderOpts:{compile:function(){var f=_()(C()().mark(function L(){var b,E=arguments;return C()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,e.e(9510).then(e.bind(e,59510));case 2:return x.abrupt("return",(b=x.sent).default.apply(b,E));case 3:case"end":return x.stop()}},L)}));function O(){return f.apply(this,arguments)}return O}()}},"pro-table-demo-cascade":{component:l.memo(l.lazy(function(){return e.e(1888).then(e.bind(e,53315))})),asset:{type:"BLOCK",id:"pro-table-demo-cascade",refAtomIds:["pro-table"],dependencies:{"index.tsx":{type:"FILE",value:e(66842).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},"./service.ts":{type:"FILE",value:e(43421).Z},"./components/SelectParam1.tsx":{type:"FILE",value:e(84296).Z},"./components/SelectParam2.tsx":{type:"FILE",value:e(84005).Z},"./components/SelectParam3.tsx":{type:"FILE",value:e(38717).Z},dayjs:{type:"NPM",value:"1.11.18"},ahooks:{type:"NPM",value:"3.9.5"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u67E5\u8BE2\u6761\u4EF6\u8054\u52A8",description:`\u4E00\u822C\u7EA7\u8054\u9009\u62E9\u5F3A\u70C8\u5EFA\u8BAE\u4F7F\u7528 Cascader \u7EC4\u4EF6\u3001\u7531\u540E\u7AEF\u6784\u5EFA\u67E5\u8BE2\u6570\u636E\u3002
18
+ \u901A\u8FC7\u591A\u4E2A select \u7EC4\u4EF6\u6765\u6784\u5EFA\u7EA7\u8054\u53C2\u8003\u4E0A\u9762\u793A\u4F8B\uFF1A`},context:{"./service.ts":u,"./components/SelectParam1.tsx":a,"./components/SelectParam2.tsx":y,"./components/SelectParam3.tsx":P,"@ccs-ui/rc-pro":i,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/components/service.ts":u,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/components/SelectParam1.tsx":a,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/components/SelectParam2.tsx":y,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/components/SelectParam3.tsx":P,dayjs:s,ahooks:M,antd:c,react:h||(h=e.t(l,2))},renderOpts:{compile:function(){var f=_()(C()().mark(function L(){var b,E=arguments;return C()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,e.e(9510).then(e.bind(e,59510));case 2:return x.abrupt("return",(b=x.sent).default.apply(b,E));case 3:case"end":return x.stop()}},L)}));function O(){return f.apply(this,arguments)}return O}()}},"pro-table-demo-extra":{component:l.memo(l.lazy(function(){return e.e(1888).then(e.bind(e,39059))})),asset:{type:"BLOCK",id:"pro-table-demo-extra",refAtomIds:["pro-table"],dependencies:{"index.tsx":{type:"FILE",value:e(77470).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},antd:{type:"NPM",value:"5.27.3"},"./service.ts":{type:"FILE",value:e(54331).Z},dayjs:{type:"NPM",value:"1.11.18"}},entry:"index.tsx",title:"\u5C55\u5F00\u6761\u4EF6",description:"\u521D\u59CB\u5316\u5C55\u5F00\u67E5\u8BE2\u6761\u4EF6"},context:{"./service.ts":r,"@ccs-ui/rc-pro":i,antd:c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/service.ts":r,dayjs:s},renderOpts:{compile:function(){var f=_()(C()().mark(function L(){var b,E=arguments;return C()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,e.e(9510).then(e.bind(e,59510));case 2:return x.abrupt("return",(b=x.sent).default.apply(b,E));case 3:case"end":return x.stop()}},L)}));function O(){return f.apply(this,arguments)}return O}()}}}},70987:function(g,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return i}});var h=e(90228),o=e.n(h),C=e(87999),p=e.n(C),_=e(75271),l=e(39203),v=e(28320),i={"pro-tabs-demo-basic":{component:_.memo(_.lazy(function(){return e.e(3408).then(e.bind(e,35862))})),asset:{type:"BLOCK",id:"pro-tabs-demo-basic",refAtomIds:["pro-tabs"],dependencies:{"index.tsx":{type:"FILE",value:e(69045).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u4E3B\u754C\u9762\u7EDF\u4E00tab\u4F7F\u7528\u98CE\u683C"},context:{"@ccs-ui/rc-pro":l,antd:v},renderOpts:{compile:function(){var c=p()(o()().mark(function s(){var d,m=arguments;return o()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,e.e(9510).then(e.bind(e,59510));case 2:return u.abrupt("return",(d=u.sent).default.apply(d,m));case 3:case"end":return u.stop()}},s)}));function r(){return c.apply(this,arguments)}return r}()}},"pro-tabs-demo-tab":{component:_.memo(_.lazy(function(){return e.e(3408).then(e.bind(e,97153))})),asset:{type:"BLOCK",id:"pro-tabs-demo-tab",refAtomIds:["pro-tabs"],dependencies:{"index.tsx":{type:"FILE",value:e(37926).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"tab \u4EA4\u4E92",description:"tab\u9009\u4E2D\uFF0Ctab\u4E4B\u95F4\u4F20\u503C\uFF0Ctab\u6DFB\u52A0\uFF0Ctab\u79FB\u9664\uFF0Ctab\u7981\u7528"},context:{"@ccs-ui/rc-pro":l,antd:v},renderOpts:{compile:function(){var c=p()(o()().mark(function s(){var d,m=arguments;return o()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,e.e(9510).then(e.bind(e,59510));case 2:return u.abrupt("return",(d=u.sent).default.apply(d,m));case 3:case"end":return u.stop()}},s)}));function r(){return c.apply(this,arguments)}return r}()}}}},46670:function(g,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return v}});var h=e(90228),o=e.n(h),C=e(87999),p=e.n(C),_=e(75271),l=e(39203),v={"result-demo-basic":{component:_.memo(_.lazy(function(){return e.e(597).then(e.bind(e,16445))})),asset:{type:"BLOCK",id:"result-demo-basic",refAtomIds:["result"],dependencies:{"index.tsx":{type:"FILE",value:e(20003).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u57FA\u672C\u7528\u6CD5\u3002"},context:{"@ccs-ui/rc-pro":l},renderOpts:{compile:function(){var i=p()(o()().mark(function r(){var s,d=arguments;return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.e(9510).then(e.bind(e,59510));case 2:return t.abrupt("return",(s=t.sent).default.apply(s,d));case 3:case"end":return t.stop()}},r)}));function c(){return i.apply(this,arguments)}return c}()}}}},98693:function(g,n,e){"use strict";var h;e.r(n),e.d(n,{demos:function(){return s}});var o=e(90228),C=e.n(o),p=e(87999),_=e.n(p),l=e(75271),v=e(39203),i=e(28320),c=e(61809),r=e(41974),s={"select-demo-basic":{component:l.memo(l.lazy(function(){return e.e(6714).then(e.bind(e,98239))})),asset:{type:"BLOCK",id:"select-demo-basic",refAtomIds:["select"],dependencies:{"index.tsx":{type:"FILE",value:e(85467).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"}},entry:"index.tsx",title:`Antd Select
19
+ \u57FA\u672C\u7528\u6CD5`,description:"\u6269\u5C55\uFF0C\u6DFB\u52A0\u9ED8\u8BA4\u914D\u7F6E(\u641C\u7D22\uFF0C\u6E05\u9664\uFF0C\u5360\u4F4D)\uFF0C\u652F\u6301\u62FC\u97F3\u5339\u914D\u9009\u9879\uFF0C\u6DFB\u52A0\u5168\u90E8\u9009\u4E2D\u3002"},context:{"@ccs-ui/rc-pro":v},renderOpts:{compile:function(){var d=_()(C()().mark(function t(){var u,a=arguments;return C()().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.next=2,e.e(9510).then(e.bind(e,59510));case 2:return P.abrupt("return",(u=P.sent).default.apply(u,a));case 3:case"end":return P.stop()}},t)}));function m(){return d.apply(this,arguments)}return m}()}},"select-demo-api":{component:l.memo(l.lazy(function(){return e.e(6714).then(e.bind(e,81531))})),asset:{type:"BLOCK",id:"select-demo-api",refAtomIds:["select"],dependencies:{"index.tsx":{type:"FILE",value:e(54681).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"},"./service.ts":{type:"FILE",value:e(65358).Z}},entry:"index.tsx",title:"\u57FA\u4E8E\u63A5\u53E3",description:"\u4F20\u5165 request \u8BF7\u6C42\uFF0C\u4F7F\u7528\u63A5\u53E3\u6570\u636E\u3002\u53EF\u914D\u7F6Ecache\u7F13\u5B58\u63A5\u53E3\u6570\u636E"},context:{"./service.ts":c,"@ccs-ui/rc-pro":v,antd:i,react:h||(h=e.t(l,2)),"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/demos/service.ts":c},renderOpts:{compile:function(){var d=_()(C()().mark(function t(){var u,a=arguments;return C()().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.next=2,e.e(9510).then(e.bind(e,59510));case 2:return P.abrupt("return",(u=P.sent).default.apply(u,a));case 3:case"end":return P.stop()}},t)}));function m(){return d.apply(this,arguments)}return m}()}},"select-demo-customize":{component:l.memo(l.lazy(function(){return e.e(6714).then(e.bind(e,88930))})),asset:{type:"BLOCK",id:"select-demo-customize",refAtomIds:["select"],dependencies:{"index.tsx":{type:"FILE",value:e(82668).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},ahooks:{type:"NPM",value:"3.9.5"},antd:{type:"NPM",value:"5.27.3"},"./service.ts":{type:"FILE",value:e(65358).Z}},entry:"index.tsx",title:"\u81EA\u5B9A\u4E49\u9009\u62E9\u5668",description:`\u81EA\u5B9A\u4E49\u5F39\u6846\u5185\u5BB9\uFF0C\u7528\u4E8E\u8868\u683C\u9009\u62E9\u7B49\u573A\u666F;
4
20
  \u4F7F\u7528useTableSelection\u83B7\u53D6\u9009\u4E2D\u6570\u636E\uFF0C\u5904\u7406\u53D7\u63A7\u6570\u636E
5
21
  \u4F7F\u7528mode\u53C2\u6570\u5224\u65AD\u5355\u9009\u6216\u591A\u9009;
6
- \u4F7F\u7528\u53C2\u6570labelInValue\u8FD4\u56DE\u9009\u4E2D\u5BF9\u8C61\u6570\u636E`},context:{"./service.ts":d,"@ccs-ui/rc-pro":f,ahooks:s,antd:c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/demos/service.ts":d},renderOpts:{compile:function(){var i=m()(y()().mark(function t(){var r,l=arguments;return y()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,e.e(9510).then(e.bind(e,59510));case 2:return g.abrupt("return",(r=g.sent).default.apply(r,l));case 3:case"end":return g.stop()}},t)}));function u(){return i.apply(this,arguments)}return u}()}},"select-demo-customize-label":{component:p.memo(p.lazy(function(){return e.e(6714).then(e.bind(e,96672))})),asset:{type:"BLOCK",id:"select-demo-customize-label",refAtomIds:["select"],dependencies:{"index.tsx":{type:"FILE",value:e(20804).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"},antd:{type:"NPM",value:"5.27.3"},"./service.ts":{type:"FILE",value:e(65358).Z}},entry:"index.tsx",title:"\u81EA\u5B9A\u4E49\u9009\u4E2D\u8BE6\u60C5"},context:{"./service.ts":d,"@ccs-ui/rc-pro":f,antd:c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/demos/service.ts":d},renderOpts:{compile:function(){var i=m()(y()().mark(function t(){var r,l=arguments;return y()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,e.e(9510).then(e.bind(e,59510));case 2:return g.abrupt("return",(r=g.sent).default.apply(r,l));case 3:case"end":return g.stop()}},t)}));function u(){return i.apply(this,arguments)}return u}()}}}},21300:function(h,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return c}});var v=e(90228),o=e.n(v),y=e(87999),_=e.n(y),m=e(75271),p=e(39203),f=e(28320),c={"time-picker-demo-basic":{component:m.memo(m.lazy(function(){return e.e(9673).then(e.bind(e,64600))})),asset:{type:"BLOCK",id:"time-picker-demo-basic",refAtomIds:["time-picker"],dependencies:{"index.tsx":{type:"FILE",value:e(54516).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u5E74\uFF0C\u6708\uFF0C\u65E5\uFF0C\u65F6\u95F4\uFF0C\u8F93\u5165\u8F93\u51FA\u5B57\u7B26\u4E32\uFF0C\u4E0D\u9700\u8981\u8F6C\u6362Dayjs\u7C7B\u578B\u3002"},context:{"@ccs-ui/rc-pro":p,antd:f},renderOpts:{compile:function(){var d=_()(o()().mark(function a(){var i,u=arguments;return o()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,e.e(9510).then(e.bind(e,59510));case 2:return r.abrupt("return",(i=r.sent).default.apply(i,u));case 3:case"end":return r.stop()}},a)}));function s(){return d.apply(this,arguments)}return s}()}}}},67655:function(h,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return f}});var v=e(90228),o=e.n(v),y=e(87999),_=e.n(y),m=e(75271),p=e(39203),f={"upload-demo-basic":{component:m.memo(m.lazy(function(){return e.e(43).then(e.bind(e,90828))})),asset:{type:"BLOCK",id:"upload-demo-basic",refAtomIds:["upload"],dependencies:{"index.tsx":{type:"FILE",value:e(48615).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"}},entry:"index.tsx",title:"\u6587\u4EF6\u4E0A\u4F20"},context:{"@ccs-ui/rc-pro":p},renderOpts:{compile:function(){var c=_()(o()().mark(function s(){var a,i=arguments;return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.e(9510).then(e.bind(e,59510));case 2:return t.abrupt("return",(a=t.sent).default.apply(a,i));case 3:case"end":return t.stop()}},s)}));function d(){return c.apply(this,arguments)}return d}()}},"upload-demo-image":{component:m.memo(m.lazy(function(){return e.e(43).then(e.bind(e,22946))})),asset:{type:"BLOCK",id:"upload-demo-image",refAtomIds:["upload"],dependencies:{"index.tsx":{type:"FILE",value:e(52122).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"}},entry:"index.tsx",title:"\u56FE\u7247\u4E0A\u4F20"},context:{"@ccs-ui/rc-pro":p},renderOpts:{compile:function(){var c=_()(o()().mark(function s(){var a,i=arguments;return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.e(9510).then(e.bind(e,59510));case 2:return t.abrupt("return",(a=t.sent).default.apply(a,i));case 3:case"end":return t.stop()}},s)}));function d(){return c.apply(this,arguments)}return d}()}}}},82757:function(h,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return f}});var v=e(90228),o=e.n(v),y=e(87999),_=e.n(y),m=e(75271),p=e(39203),f={"water-mark-demo-basic":{component:m.memo(m.lazy(function(){return e.e(1592).then(e.bind(e,86608))})),asset:{type:"BLOCK",id:"water-mark-demo-basic",refAtomIds:["water-mark"],dependencies:{"index.tsx":{type:"FILE",value:e(7281).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.1"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u57FA\u672C\u7528\u6CD5\u3002"},context:{"@ccs-ui/rc-pro":p},renderOpts:{compile:function(){var c=_()(o()().mark(function s(){var a,i=arguments;return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.e(9510).then(e.bind(e,59510));case 2:return t.abrupt("return",(a=t.sent).default.apply(a,i));case 3:case"end":return t.stop()}},s)}));function d(){return c.apply(this,arguments)}return d}()}}}},57979:function(h,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return f}});var v=e(90228),o=e.n(v),y=e(87999),_=e.n(y),m=e(75271),p=e(68144),f={"packages-utils-src-demo-demos":{component:m.memo(m.lazy(function(){return e.e(2433).then(e.bind(e,91152))})),asset:{type:"BLOCK",id:"packages-utils-src-demo-demos",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:e(93474).Z},"@ccs-ui/utils":{type:"NPM",value:"0.1.7"}},entry:"index.tsx"},context:{"@ccs-ui/utils":p},renderOpts:{compile:function(){var c=_()(o()().mark(function s(){var a,i=arguments;return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.e(9510).then(e.bind(e,59510));case 2:return t.abrupt("return",(a=t.sent).default.apply(a,i));case 3:case"end":return t.stop()}},s)}));function d(){return c.apply(this,arguments)}return d}()}}}},12648:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return M}});var v=e(26068),o=e.n(v),y=e(15558),_=e.n(y),m=e(48305),p=e.n(m),f=e(79312),c=e(5864),d=e(15409),s=e(30627),a=e(3923),i=e(55387),u=e(16929),t=e(18529),r=e(18466),l=e(46960),P=e(75271),g=e(52676),C=u.Z.useToken;function O(x){var D=x.msg,I=(0,P.useState)(!0),B=p()(I,2),U=B[0],A=B[1];return(0,P.useEffect)(function(){D&&setTimeout(function(){A(!1)},1e3)},[]),U?D:""}function E(x){var D=x.bgImg,I=x.sliderImg,B=x.loadingImg,U=x.loadingValid,A=x.validErrorMsg,L=x.onValid,F=x.onCancel,S=x.onRefresh,W=(0,P.useRef)(null),T=(0,P.useRef)(null),K=(0,P.useRef)({start:!1,startX:0});(0,P.useEffect)(function(){K.current={start:!1,startX:0},W.current.style.left="0px",T.current.style.left="0px"},[I]);var N=function(R){if(R<0){W.current.style.left="0px",T.current.style.left="0px";return}var w=R>263?"263px":"".concat(R,"px");W.current.style.left=w,T.current.style.left=w};(0,i.Z)("mousedown",function(j){U||(K.current.startX||(K.current.startX=j.clientX),K.current.start=!0)},{target:W}),(0,i.Z)("mousemove",function(j){if(K.current.start){var R=j.clientX-K.current.startX;N(R)}},{target:document}),(0,i.Z)("mouseup",function(j){var R=j.clientX-K.current.startX;L({x:R,y:5},"sliding"),K.current.start=!1},{target:document});var $=C(),z=$.token;return(0,g.jsxs)(t.Z,{indicator:(0,g.jsx)(f.Z,{style:{fontSize:24}}),spinning:B,children:[(0,g.jsxs)("div",{className:"ccs-aj-body",style:{background:z.colorBgContainerDisabled},children:[(0,g.jsx)("img",{className:"ccs-aj-bg",src:D?"data:image/png;base64,".concat(D):void 0,width:310,height:155}),(0,g.jsx)("img",{ref:T,className:"ccs-aj-slider-img",style:{height:155},src:I?"data:image/png;base64,".concat(I):void 0}),(0,g.jsxs)("div",{className:"ccs-aj-btn",children:[(0,g.jsx)(r.ZP,{onClick:S,type:"text",icon:(0,g.jsx)(c.Z,{})}),(0,g.jsx)("div",{className:"ccs-aj-error",children:(0,g.jsx)(O,{msg:A},I)}),(0,g.jsx)(r.ZP,{onClick:F,type:"text",icon:(0,g.jsx)(d.Z,{})})]})]}),(0,g.jsxs)("div",{className:"ccs-aj-slider",style:{background:z.colorBgElevated},children:[(0,g.jsx)("div",{className:"ccs-aj-slider-track",style:{background:z.colorBgContainerDisabled},children:"\u6309\u4F4F\u6ED1\u5757\uFF0C\u62D6\u52A8\u5B8C\u6210\u4E0A\u65B9\u62FC\u56FE"}),(0,g.jsx)("div",{className:"ccs-aj-slider-bar",ref:W,style:{backgroundColor:z.colorBgBase,border:"1px solid ".concat(z.colorBorder)},children:U?(0,g.jsx)(f.Z,{}):(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(s.Z,{}),(0,g.jsx)(a.Z,{})]})})]})]})}function b(x){var D=x.bgImg,I=x.words,B=x.loadingImg,U=x.loadingValid,A=x.validErrorMsg,L=x.onValid,F=x.onCancel,S=x.onRefresh,W=(0,P.useRef)(null),T=(0,P.useState)([]),K=p()(T,2),N=K[0],$=K[1];(0,P.useEffect)(function(){$([])},[D]),(0,i.Z)("mouseup",function(R){$([].concat(_()(N),[{x:R.offsetX,y:R.offsetY}]))},{target:W}),(0,P.useEffect)(function(){N.length===(I==null?void 0:I.length)&&L(N,"wordSelect")},[N.length]);var z=C(),j=z.token;return(0,g.jsxs)(t.Z,{indicator:(0,g.jsx)(f.Z,{style:{fontSize:24}}),spinning:B||U,children:[(0,g.jsxs)("div",{className:"ccs-aj-body",style:{background:j.colorBgContainerDisabled},children:[(0,g.jsx)("img",{ref:W,className:"ccs-aj-bg",src:D?"data:image/png;base64,".concat(D):void 0,width:310,height:155}),N.map(function(R,w){return(0,g.jsx)("div",{className:"ccs-word-point",style:{left:R.x-13,top:R.y-13},children:w+1},R.x)}),(0,g.jsxs)("div",{className:"ccs-aj-btn",children:[(0,g.jsx)(r.ZP,{onClick:S,type:"text",icon:(0,g.jsx)(c.Z,{})}),(0,g.jsx)("div",{className:"ccs-aj-error",children:(0,g.jsx)(O,{msg:A},D)}),(0,g.jsx)(r.ZP,{onClick:F,type:"text",icon:(0,g.jsx)(d.Z,{})})]})]}),(0,g.jsxs)("div",{className:"ccs-aj-word-slider",style:{color:j.colorTextLabel,border:"1px solid ".concat(j.colorTextLabel)},children:["\u8BF7\u4F9D\u6B21\u70B9\u51FB\u3010",I==null?void 0:I.join(", "),"\u3011"]})]})}function k(x){var D=x.captchaType==="sliding"?"10px 10px 0 10px":10;return(0,g.jsx)(l.Z,{width:330,open:x.open,destroyOnHidden:!0,onCancel:x.onCancel,footer:null,closable:!1,maskClosable:!1,styles:{content:{padding:0},body:{padding:D},mask:{backgroundColor:"rgba(0, 0, 0, 0.25)"}},className:"ccs-aj-modal",style:{top:"calc(50vh - 200px)"},children:x.captchaType==="sliding"?(0,g.jsx)(E,o()({},x)):(0,g.jsx)(b,o()({},x))})}var M=k},73799:function(h,n,e){"use strict";e.r(n),e.d(n,{DataEvent:function(){return v}});var v=function(o){return o.Search="search",o.Reset="reset",o.Reload="reload",o.ChangePage="changePage",o.InitSearch="initSearch",o.FullScreen="fullScreen",o.ColumnFilter="columnFilter",o.SelectedRows="SelectedRows",o.Expand="Expand",o.PartialReload="PartialReload",o}({})},22126:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return l}});var v=e(26068),o=e.n(v),y=e(31759),_=e.n(y),m=e(48305),p=e.n(m),f=e(45186),c=e(42932),d=e(81465),s=e(69608),a=e(18466),i=e(75271),u=e(32097),t=e(52676),r=c.Z.Group;function l(P){var g=P.isAll,C=P.btnProps,O=P.options,E=O===void 0?[]:O,b=P.defaultCheckedKeys,k=b===void 0?[]:b,M=(0,i.useState)(k),x=p()(M,2),D=x[0],I=x[1],B=function(F){var S;I(F),(S=P.onChange)===null||S===void 0||S.call(P,F)},U=function(F){var S,W=F.target.checked?E.map(function(T){return _()(T)==="object"?T.value:T}):[];I(W),(S=P.onChange)===null||S===void 0||S.call(P,W)},A=function(){if(!(g===!1||!(E!=null&&E.length))){var F=E.length===D.length,S=D.length>0&&D.length<E.length;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.Z,{indeterminate:S,onChange:U,checked:F,children:"\u5168\u9009"}),(0,t.jsx)(d.Z,{style:{margin:"10px 0"}})]})}};return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(s.Z,{placement:P.placement,content:(0,t.jsxs)(t.Fragment,{children:[A(),(0,t.jsx)(r,{className:"".concat(u.classAtomPrefix,"-check"),options:E,value:D,onChange:B})]}),children:(0,t.jsx)(a.ZP,o()({type:"text",icon:(0,t.jsx)(f.Z,{})},C))})})}},21827:function(h,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(90228),_=e.n(y),m=e(87999),p=e.n(m),f=e(48305),c=e.n(f),d=e(67825),s=e.n(d),a=e(75250),i=e(18466),u=e(75271),t=e(52676),r=["num","cacheKey","disabledText","children"];function l(P){var g=P.num,C=g===void 0?60:g,O=P.cacheKey,E=P.disabledText,b=E===void 0?"":E,k=P.children,M=s()(P,r),x=(0,u.useState)(-1),D=c()(x,2),I=D[0],B=D[1],U=(0,u.useState)(null),A=c()(U,2),L=A[0],F=A[1],S=(0,u.useMemo)(function(){return O||window.location.host},[]);(0,u.useLayoutEffect)(function(){var K=function(){var N=p()(_()().mark(function $(){var z,j,R,w;return _()().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:return Z.next=2,localStorage.getItem(S);case 2:if(z=Z.sent,!z){Z.next=11;break}if(j=JSON.parse(z),R=new Date().getTime(),w=Math.round((R-j.time)/1e3),!(w<j.num)){Z.next=11;break}return B(j.num-w),F(1e3),Z.abrupt("return");case 11:B(C);case 12:case"end":return Z.stop()}},$)}));return function(){return N.apply(this,arguments)}}();K()},[]),(0,a.Z)(function(){if(I-1===0){F(null),B(C),S&&localStorage.removeItem(S);return}B(I-1)},L,{immediate:!0});var W=I!==0&&I!==C,T=function(){F(1e3),S&&localStorage.setItem(S,JSON.stringify({num:C,time:new Date().getTime()}))};return I===-1?null:(0,t.jsx)(i.ZP,o()(o()({},M),{},{onClick:M.onClick?M.onClick:T,disabled:M.disabled?!0:W,children:W?"".concat(I,"\u79D2").concat(b):k}))}n.default=l},13373:function(h,n,e){"use strict";e.r(n);var v=e(48305),o=e.n(v),y=e(60680),_=e(68144),m=e(57439),p=e(18466),f=e(8890),c=e(75271),d=e(14306),s=e(52676),a={visibility:"hidden",whiteSpace:"inherit",lineHeight:"inherit",fontSize:"inherit"},i=function(r){return r[r.INIT=99]="INIT",r[r.NO_ELLIPSIS=0]="NO_ELLIPSIS",r[r.MEASURE_WALKING=200]="MEASURE_WALKING",r[r.STABLE_ELLIPSIS=400]="STABLE_ELLIPSIS",r}(i||{}),u="...";function t(r){var l=r.content,P=r.rows,g=P===void 0?1:P,C=r.direction,O=C===void 0?"end":C,E=r.showTooltip,b=c.useRef(null),k=c.useRef(null),M=c.useState(i.INIT),x=o()(M,2),D=x[0],I=x[1],B=c.useMemo(function(){return(0,d.default)(l||"")},[l]),U=(0,c.useState)(0),A=o()(U,2),L=A[0],F=A[1],S=(0,c.useRef)({maxHeight:0,step:0});(0,c.useEffect)(function(){var T=B.length;if(D===i.INIT){var K,N=(((K=b.current)===null||K===void 0?void 0:K.offsetHeight)||0)*g;S.current.maxHeight=N,S.current.step=T,F(T),I(i.MEASURE_WALKING);return}if(D===i.MEASURE_WALKING){var $=Math.floor(S.current.step/2);S.current.step=$;var z=k.current;if(z.offsetHeight===z.scrollHeight){if(L===T){I(i.NO_ELLIPSIS);return}if($===0){I(i.STABLE_ELLIPSIS);return}F(function(j){return j+$})}else $===0&&F(function(j){return j-1}),F(function(j){return j-$})}},[D,L]);var W=function(){if(O==="start")return"".concat(u).concat(B.slice(B.length-L).join(""));if(O==="end")return"".concat(B.slice(0,L).join("")).concat(u);if(O==="middle"){var K=Math.floor(L/2);return"".concat(B.slice(0,K).join("")).concat(u).concat(B.slice(B.length-(L-K)).join(""))}};return D===i.NO_ELLIPSIS?l:D===i.STABLE_ELLIPSIS?E?(0,s.jsx)(m.Z,{zIndex:9999,rootClassName:"ccs-ellipsis-tootip",title:function(){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{style:{maxHeight:300,overflow:"auto"},children:l}),(0,s.jsx)("div",{style:{textAlign:"right"},children:(0,s.jsx)(p.ZP,{type:"link",onClick:function(){_.default.copy(l),f.ZP===null||f.ZP===void 0||f.ZP.info("\u590D\u5236\u6210\u529F")},icon:(0,s.jsx)(y.Z,{}),children:"\u590D\u5236"})})]})},placement:"bottomLeft",destroyOnHidden:!0,styles:{body:{whiteSpace:"normal"}},children:W()}):W():(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"ccs-ellipsis",children:[D===i.INIT&&(0,s.jsx)("div",{"aria-hidden":!0,ref:b,style:a,children:"\xA0"},"stable"),D===i.MEASURE_WALKING&&(0,s.jsx)("div",{ref:k,style:{maxHeight:S.current.maxHeight},className:"ccs-ellipsis-scroll",children:W()},"measure-walking")]})})}n.default=c.memo(t,function(r,l){return r.content===l.content})},26123:function(h,n,e){"use strict";e.r(n);var v=e(67825),o=e.n(v),y=e(26068),_=e.n(y),m=e(48305),p=e.n(m),f=e(68825),c=e(49115),d=e(80729),s=e(16929),a=e(18466),i=e(75271),u=e(32097),t=e(64276),r=e(32272),l=e(52676),P=["onFormat"];function g(C,O){var E=C.extra,b=C.style,k=C.className,M=C.expandForm,x=M===void 0?!1:M,D=C.formItems,I=D===void 0?[]:D,B=C.formInitValues,U=C.formItemLabelWidth,A=C.requestParam,L=C.onSearch,F="".concat(u.classAtomPrefix,"-filter"),S=d.Z.useForm(),W=p()(S,1),T=W[0],K=(0,i.useRef)(null),N=(0,i.useRef)(null),$=(0,i.useRef)(null),z=(0,i.useState)(!1),j=p()(z,2),R=j[0],w=j[1],Y=(0,i.useState)(!1),Z=p()(Y,2),X=Z[0],ee=Z[1],te=s.Z.useToken().token;function V(){var le=te.rootValue?"".concat((te.controlHeight/te.rootValue).toFixed(3),"rem"):te.controlHeight;return le}var Q=(0,i.useState)(V),q=p()(Q,2),ie=q[0],G=q[1];(0,i.useEffect)(function(){X&&x&&w(!0)},[X]);var re=function(){var _e=T.getFieldsValue();if(_e){var me=Object.keys(_e).filter(function(fe){return fe.startsWith("_")&&fe.endsWith("_")});me.length>0&&me.forEach(function(fe){return delete _e[fe]})}return Object.keys(_e).forEach(function(fe){if(_e[fe]!==void 0){var ge=I.find(function(Ee){return Ee.name===fe});ge!=null&&ge.onFormat&&(_e[fe]=ge.onFormat(_e[fe]))}}),_()(_()(_()({},A),B),_e)};(0,i.useImperativeHandle)(O,function(){return{getFormValues:re,form:T}});var oe=function(){var _e,me,fe,ge,Ee;if(!(!N.current||!K.current)){var De=ie;K.current.childNodes.forEach(function(je){De<je.clientHeight&&(De=je.clientHeight)}),De!==ie&&G(De);var xe=(_e=N.current)===null||_e===void 0||(_e=_e.getClientRects()[0])===null||_e===void 0?void 0:_e.top,Ie=(me=K.current)===null||me===void 0||(me=me.getClientRects()[0])===null||me===void 0?void 0:me.top,Be=(fe=$.current)===null||fe===void 0||(fe=fe.getClientRects()[0])===null||fe===void 0?void 0:fe.top;if(xe===Ie&&xe===Be&&(ee(!1),w(!1)),!R){var Ue=((ge=N.current)===null||ge===void 0||(ge=ge.getClientRects()[0])===null||ge===void 0?void 0:ge.top)!==((Ee=K.current)===null||Ee===void 0||(Ee=Ee.getClientRects()[0])===null||Ee===void 0?void 0:Ee.top);ee(Ue)}}};if((0,i.useEffect)(function(){oe()},[]),I.length===0)return null;var ne=function(_e){_e.width!==0&&oe()},ae=(0,l.jsxs)("div",{style:{textAlign:"right",flex:R&&X?"1 1 auto":"0 0 auto"},ref:$,children:[X&&(0,l.jsx)(a.ZP,{type:"link",icon:R?(0,l.jsx)(f.Z,{}):(0,l.jsx)(c.Z,{}),style:{padding:"4px 6px"},onClick:function(){return w(!R)},children:R?"\u6536\u8D77":"\u5C55\u5F00"}),(0,l.jsx)(a.ZP,{type:"primary",htmlType:"submit",children:"\u67E5\u8BE2"}),E]}),se={flexWrap:R?"wrap":"nowrap"};return(0,l.jsx)(r.default,{style:b,className:k,children:(I.length>0||L)&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(u.default.Resize,{targetRef:K,onResize:ne}),(0,l.jsxs)(d.Z,{initialValues:B,form:T,onFinish:L,layout:"inline",style:se,preserve:!1,children:[(0,l.jsx)("div",{style:{height:R?"auto":ie},className:"".concat(F,"-adaptation"),children:(0,l.jsxs)("div",{className:"".concat(F,"-").concat(R&&X?"expand":"collapse"),ref:K,children:[I.map(function(le){var _e=le.onFormat,me=o()(le,P);return(0,l.jsx)(t.Z.Item,_()(_()(_()({},me),U?{label:(0,l.jsx)("div",{style:{width:U},children:me.label})}:void 0),{},{className:"".concat(F,"-form-item"),children:me.value||me.children}),me.name)}),(0,l.jsx)("div",{style:{height:1},ref:N}),R&&ae]})}),!R&&ae]})]})})}n.default=i.forwardRef(g)},93238:function(h,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(48305),_=e.n(y),m=e(87887),p=e(67619),f=e(16929),c=e(18466),d=e(57439),s=e(75271),a=e(32097),i=e(52676);function u(t){var r=t.btnProps,l=t.parentHtmlId,P=(0,s.useState)(!1),g=_()(P,2),C=g[0],O=g[1],E=(0,s.useRef)(null),b=(0,s.useRef)(void 0),k=f.Z.useToken(),M=k.token;(0,s.useEffect)(function(){l&&(b.current=E.current.closest("#".concat(l))||void 0)},[]);var x=function(){if(b.current){var I=b.current||{},B=I.classList,U=I.style;C?(B==null||B.remove("".concat(a.classAtomPrefix,"-fullscreen")),U.backgroundColor="transparent"):(B==null||B.add("".concat(a.classAtomPrefix,"-fullscreen")),U.backgroundColor=M.colorBgContainer)}O(!C)};return(0,i.jsx)("span",{ref:E,children:C?(0,i.jsx)(c.ZP,o()({onClick:function(){return x()},icon:(0,i.jsx)(m.Z,{}),type:"text"},r)):(0,i.jsx)(d.Z,{title:"\u5168\u5C4F",destroyOnHidden:!0,children:(0,i.jsx)(c.ZP,o()({onClick:function(){return x()},icon:(0,i.jsx)(p.Z,{}),type:"text"},r))})})}n.default=u},32097:function(h,n,e){"use strict";e.r(n),e.d(n,{classAtomPrefix:function(){return i},default:function(){return t}});var v=e(22126),o=e(21827),y=e(13373),_=e(26123),m=e(93238),p=e(39142),f=e(70110),c=e(56251),d=e(64723),s=e(24887),a=e(52676),i="ccs-atom",u=function(){return(0,a.jsx)(a.Fragment,{})};u.Filter=_.default,u.Operation=p.default,u.Checkbox=v.default,u.FullScreen=m.default,u.Title=c.default,u.Resize=f.default,u.Countdown=o.default,u.Ellipsis=y.default,u.usePageRequest=s.default,u.useComplexState=d.default;var t=u},32272:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return c}});var v=e(26068),o=e.n(v),y=e(16929),_=e(82187),m=e.n(_),p=e(85289),f=e(52676);function c(d){var s=d.style,a=d.size,i=d.className,u=d.children,t=y.Z.useToken(),r=t.token;(0,p.useInsertCss)("atom-item",function(){return[".ccs-atom-item ~ .ccs-atom-item { border-top: 1px solid ".concat(r.colorBorderSecondary,"; }")]});var l=a==="small"?r.paddingSM:r.paddingMD;return(0,f.jsx)("div",{className:m()("ccs-atom-item",i),style:o()({background:r.colorBgContainer,padding:"".concat(r.paddingSM,"px ").concat(l,"px")},s),children:u})}},39142:function(h,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(55363),_=e(65351),m=e(15574),p=e(18466),f=e(57439),c=e(82187),d=e.n(c),s=e(32097),a=e(93238),i=e(32272),u=e(52676);function t(r){var l="".concat(s.classAtomPrefix,"-operation"),P=r.extraRight,g=r.extraLeft,C=r.size,O=r.parentHtmlId,E=r.style,b=r.className,k=r.onReset,M=r.onChangeSize;if(Object.values(r).filter(function(D){return D}).length===0)return null;var x=o()({},E);return g||(x.display="inline-block",x.padding=0),(0,u.jsxs)(i.default,{className:d()(l,b),style:x,children:[(0,u.jsx)("div",{className:"".concat(l,"-left"),children:g}),(0,u.jsxs)("div",{className:"".concat(l,"-right"),children:[P,C&&(0,u.jsx)(m.Z,{placement:"bottomRight",menu:{activeKey:C,items:[{key:"large",label:"\u9ED8\u8BA4"},{key:"middle",label:"\u4E2D\u7B49"},{key:"small",label:"\u7D27\u51D1"}],onClick:function(I){M==null||M(I.key)}},children:(0,u.jsx)(p.ZP,{icon:(0,u.jsx)(y.Z,{}),type:"text"})}),k&&(0,u.jsx)(f.Z,{title:"\u91CD\u7F6E",children:(0,u.jsx)(p.ZP,{onClick:k,icon:(0,u.jsx)(_.Z,{}),type:"text"})}),O!==void 0&&(0,u.jsx)(a.default,{parentHtmlId:"ccs-pro-table"})]})]})}n.default=t},70110:function(h,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(81992),_=e(21947),m=e(86763),p=e.n(m),f=e(75271),c=e(52676);function d(i){var u=i.onResize,t=i.wait,r=t===void 0?500:t,l=(0,f.useRef)(),P=(0,f.useRef)(null),g=(0,y.Z)(P),C=(0,f.useCallback)(p()(u,r),[]);return(0,f.useEffect)(function(){g&&(l.current&&C(g),l.current=g)},[g==null?void 0:g.height,g==null?void 0:g.width]),(0,c.jsx)("div",{ref:P})}function s(i){var u=i.wait,t=u===void 0?500:u,r=i.targetRef,l=i.onResize,P=(0,f.useRef)(),g=(0,y.Z)(r),C=(0,_.Z)(g,{wait:t});return(0,f.useEffect)(function(){C&&(P.current&&l(C),P.current=C)},[C]),null}function a(i){return i.targetRef?(0,c.jsx)(s,o()({},i)):(0,c.jsx)(d,o()({},i))}n.default=f.memo(a)},56251:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return p}});var v=e(26068),o=e.n(v),y=e(16929),_=e(32272),m=e(52676);function p(f){var c=f.children,d=f.style,s=f.className;if(!c)return null;var a=y.Z.useToken(),i=a.token;return(0,m.jsx)(_.default,{className:s,style:o()({fontSize:i.fontSizeHeading5,fontWeight:i.fontWeightStrong},d),children:c})}},64723:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return a}});var v=e(31759),o=e.n(v),y=e(48305),_=e.n(y),m=e(82092),p=e.n(m),f=e(85899),c=e.n(f),d=e(75271),s=function(u,t){for(var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"$set",l=u.split("."),P=p()({},r,t),g=l.length-1;g>=0;g--){var C=l[g];P=p()({},C,P)}return P};function a(i){var u=(0,d.useState)(i),t=_()(u,2),r=t[0],l=t[1],P=(0,d.useCallback)(function(E){if(typeof E=="function"){l(function(b){return c()(b,E(b))});return}l(function(b){return c()(b,E)})},[]),g=(0,d.useCallback)(function(E,b){l(function(k){if(typeof E=="string"){var M=E,x=b,D=s(M,x);return c()(k,D)}else if(o()(E)==="object"&&E!==null){var I=k,B=E;return Object.entries(B).forEach(function(U){var A=_()(U,2),L=A[0],F=A[1],S=s(L,F);I=c()(I,S)}),I}return k})},[]),C=(0,d.useCallback)(function(E,b,k){var M=s(E,Array.isArray(b)?b:[b],k||"$push");l(function(x){return c()(x,M)})},[]),O=(0,d.useCallback)(function(){l(i)},[i]);return{state:r,setRaw:P,setByPath:g,setArray:C,reset:O}}},24887:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return O}});var v=e(90228),o=e.n(v),y=e(82092),_=e.n(y),m=e(15558),p=e.n(m),f=e(26068),c=e.n(f),d=e(87999),s=e.n(d),a=e(48305),i=e.n(a),u=e(13443),t=e(75271),r=e(94127),l=e(81475),P=e(65173),g=e(73799);function C(E,b,k){for(;b.length>0;){var M=b.shift();b.length>0?(E[M]||(E[M]={}),C(E[M],b,k)):E[M]=k}}function O(E){var b=E.auth,k=E.rowKey,M=E.pagination,x=E.emptyDefaultOne,D=E.fieldNames,I=E.onEvent,B=E.getFormValues,U=E.onFilterOrder,A=E.onRequestCustom,L=E.request,F=(0,t.useState)({total:0,dataSource:[],pageSize:10,current:1}),S=i()(F,2),W=S[0],T=S[1],K=(0,r.default)(),N=K.onAuth,$=(0,l.useProTableFields)(),z=(0,t.useMemo)(function(){return b?N&&N(b):!0},[b]),j=(0,u.Z)(function(){var w=s()(o()().mark(function Y(Z){var X,ee,te,V,Q,q,ie,G,re,oe,ne,ae,se,le,_e,me,fe,ge,Ee,De,xe,Ie,Be,Ue=arguments;return o()().wrap(function(de){for(;;)switch(de.prev=de.next){case 0:if(X=Ue.length>1&&Ue[1]!==void 0?Ue[1]:1,ee=Ue.length>2&&Ue[2]!==void 0?Ue[2]:(M?M.defaultPageSize:10)||10,te=Ue.length>3?Ue[3]:void 0,!(!z||!L)){de.next=5;break}return de.abrupt("return");case 5:return de.next=7,B==null?void 0:B();case 7:if(de.t0=de.sent,de.t0){de.next=10;break}de.t0={};case 10:if(V=de.t0,Q=c()(c()({},$),D),q=Q.requestParam||{},ie=q.filters,G=ie===void 0?["filters"]:ie,re=q.pageNo,oe=re===void 0?["pageNo"]:re,ne=q.pageSize,ae=ne===void 0?["pageSize"]:ne,se=q.orderProps,le=se===void 0?["orderProps"]:se,_e=q.query,me={},_e&&_e.length>0?C(me,p()(_e),V):me=V,M!==!1&&(C(me,p()(oe),X),C(me,p()(ae),ee)),fe=(U==null?void 0:U())||{},ge=fe.filters,Ee=fe.orderProps,ge&&Object.keys(ge).length>0&&C(me,p()(G),ge),Ee&&Ee.length>0&&C(me,p()(le),Ee),!A){de.next=22;break}return A(Z,me.query||me,te),de.abrupt("return");case 22:return I==null||I(Z,{loading:!0,params:me}),T(function(pe){return c()(c()({},pe),{},{loading:!0})}),de.next=26,L(me);case 26:if(De=de.sent,I==null||I(Z,{loading:!1,params:me,data:De}),!De){de.next=38;break}if(xe=(0,P.getDataByNamePath)(De,Q.dataSource),x&&xe&&xe.length===0&&xe.push(_()({},k||"id","0")),Ie=(0,P.getDataByNamePath)(De,Q.total),!(Ie===void 0||xe===void 0)){de.next=36;break}return Be={dataSource:xe,pageSize:ee,current:X,total:Ie,loading:!1},T(Be),de.abrupt("return");case 36:return!xe.length&&X!==1?j(g.DataEvent.Reload,X-1):T({current:X,pageSize:ee,loading:!1,dataSource:xe,total:Ie||0}),de.abrupt("return");case 38:T(function(pe){return c()(c()({},pe),{},{loading:!1})});case 39:case"end":return de.stop()}},Y)}));return function(Y){return w.apply(this,arguments)}}()),R=(0,u.Z)(function(w){T(w)});return{data:W,isAuth:z,onRequest:j,onChangeData:R}}},1444:function(h,n,e){"use strict";e.r(n),e.d(n,{ModalConfirm:function(){return f}});var v=e(48305),o=e.n(v),y=e(46960),_=e(75271),m=e(94127),p=e(52676);function f(d){var s=d.modalRef,a=y.Z.useModal(),i=o()(a,2),u=i[0],t=i[1];return(0,_.useEffect)(function(){s.current=u},[]),(0,p.jsxs)(p.Fragment,{children:[" ",t]})}function c(d){var s=d.auth,a=d.children,i=(0,m.default)()||{},u=i.onAuth;return u&&s?u(s)?a:null:a}n.default=c},86954:function(h,n,e){"use strict";e.r(n)},32375:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return s}});var v=e(26068),o=e.n(v),y=e(67825),_=e.n(y),m=e(15574),p=e(75271),f=e(94127),c=e(52676),d=["auth","menus","children","onClick"];function s(a){var i=a.auth,u=a.menus,t=u===void 0?[]:u,r=a.children,l=a.onClick,P=_()(a,d),g=(0,f.default)()||{},C=g.onAuth,O=(0,p.useMemo)(function(){function b(k){var M=k.filter(function(x){if(!x.auth)return!0;var D=C&&C(x.auth);return!!D});return M.map(function(x){var D=Object.assign({},x);if(D.children){var I=b(D.children);D.children=I.length>0?I:null}return D}).filter(function(x){return x.children!==null})}return b(t)},[t.map(function(b){return b==null?void 0:b.key}).join(",")]),E=(0,p.useMemo)(function(){if(!i)return r;var b=C&&C(i);return b?r:(0,c.jsx)(c.Fragment,{})},[]);return O.filter(function(b){return b.type!=="divider"}).length?(0,c.jsx)(m.Z,o()(o()({},P),{},{menu:{items:O,onClick:l},children:E})):(0,c.jsx)(c.Fragment,{})}},75419:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return g}});var v=e(26068),o=e.n(v),y=e(67825),_=e.n(y),m=e(57499),p=e(887),f=e(8984),c=e(81465),d=e(18466),s=e(15574),a=e(75271),i=e(668),u=e(94127),t=e(52676),r=["auth","hidden"],l=["key","label","auth","confirm"],P=["key","label","disabled","auth","confirm"];function g(C){var O=C.size,E=C.isLink,b=C.showCount,k=C.moreIcon,M=C.moreText,x=C.items,D=x===void 0?[]:x,I=C.onClick,B=(0,u.default)()||{},U=B.onAuth,A=(0,a.useRef)(null),L=[];if(D.forEach(function(W){var T=W.auth,K=W.hidden,N=_()(W,r);U&&T&&!U(T)||K||L.push(N)}),!L||D.length===0)return null;var F=function(T){if(I){var K=D.find(function($){return $.key===T});if(K&&K.confirm){var N;(N=A.current)===null||N===void 0||N.confirm({title:"\u64CD\u4F5C\u786E\u8BA4",icon:(0,t.jsx)(m.Z,{}),centered:!0,content:K.confirm,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:function(){return I==null?void 0:I(T)}});return}I(T)}},S=L.splice(0,b||D.length);return E?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.Z,{split:(0,t.jsx)(c.Z,{type:"vertical",style:{margin:0}}),children:S==null?void 0:S.map(function(W){var T=W.key,K=W.label,N=W.auth,$=W.confirm,z=_()(W,l);return(0,t.jsx)(d.ZP,o()(o()({style:{padding:0}},z),{},{size:O,type:"link",onClick:function(){return F(T)},children:K}),T)})}),L.length>0&&(0,t.jsx)(s.Z,{menu:{items:L,onClick:function(T){return F(T.key)}},children:(0,t.jsx)(d.ZP,{type:"link",icon:M?null:k||(0,t.jsx)(p.Z,{}),size:"small",children:M})}),D.find(function(W){return!!W.confirm})?(0,t.jsx)(i.ModalConfirm,{modalRef:A}):null]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.Z,{wrap:!0,children:S==null?void 0:S.map(function(W,T){var K=W.key,N=W.label,$=W.disabled,z=W.auth,j=W.confirm,R=_()(W,P);return T===S.length-1&&L.length>0?(0,t.jsxs)(f.Z.Compact,{children:[(0,t.jsx)(d.ZP,o()(o()({},R),{},{size:O,onClick:function(){return F(K)},disabled:$,children:N})),(0,t.jsx)(s.Z,{menu:{items:L,onClick:function(Y){return F(Y.key)}},children:(0,t.jsx)(d.ZP,{icon:M?null:k||(0,t.jsx)(p.Z,{}),children:M})})]},K):(0,t.jsx)(d.ZP,o()(o()({},R),{},{size:O,disabled:$,onClick:function(){return F(K)},children:N}),K)})}),D.find(function(W){return!!W.confirm})?(0,t.jsx)(i.ModalConfirm,{modalRef:A}):null]})}},668:function(h,n,e){"use strict";e.r(n),e.d(n,{ModalConfirm:function(){return P}});var v=e(26068),o=e.n(v),y=e(67825),_=e.n(y),m=e(48305),p=e.n(m),f=e(57499),c=e(46960),d=e(18466),s=e(19152),a=e(75271),i=e(94127),u=e(32375),t=e(75419),r=e(52676),l=["auth","text","confirm","disabled","inputConfirm","onClick"];function P(C){var O=C.modalRef,E=c.Z.useModal(),b=p()(E,2),k=b[0],M=b[1];return(0,a.useEffect)(function(){O.current=k},[]),(0,r.jsxs)(r.Fragment,{children:[" ",M]})}function g(C){var O=C.auth,E=C.text,b=C.confirm,k=C.disabled,M=C.inputConfirm,x=C.onClick,D=_()(C,l),I=(0,i.default)()||{},B=I.onAuth,U=(0,a.useRef)(null),A=(0,a.useRef)(null),L=(0,r.jsxs)(d.ZP,o()(o()({},D),{},{onClick:function(W){if(x){if(b){var T;(T=U.current)===null||T===void 0||T.confirm({title:"\u64CD\u4F5C\u786E\u8BA4",icon:(0,r.jsx)(f.Z,{}),centered:!0,content:(0,r.jsxs)(r.Fragment,{children:[b,M&&(0,r.jsx)(s.Z,{ref:A,placeholder:"\u8BF7\u8F93\u5165",style:{marginTop:5},onFocus:function(){var N=document.getElementById("_inputConfirmError");N&&(N.innerHTML="")}})]}),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:function(){if(M)return new Promise(function(N,$){var z;if(((z=A.current)===null||z===void 0||(z=z.input)===null||z===void 0?void 0:z.value)===M)x(W),N(!0);else{var j=document.getElementById("_inputConfirmError");if(j)j.innerHTML="\u8F93\u5165\u9A8C\u8BC1\u5931\u8D25\uFF01";else{var R;(R=A.current)===null||R===void 0||(R=R.input)===null||R===void 0||(R=R.parentElement)===null||R===void 0||R.insertAdjacentHTML("beforeend",'<span id="_inputConfirmError" style="color:red">\u8F93\u5165\u9A8C\u8BC1\u5931\u8D25\uFF01</span>')}$(!1)}});x(W)}});return}x(W)}},disabled:k,children:[E,D.children]}));if(!O)return(0,r.jsxs)(r.Fragment,{children:[L,b?(0,r.jsx)(P,{modalRef:U}):null]});var F=B&&B(O);return(0,r.jsxs)(r.Fragment,{children:[F?L:(0,r.jsx)(r.Fragment,{}),b?(0,r.jsx)(P,{modalRef:U}):null]})}g.Group=t.default,g.Dropdown=u.default,n.default=g},62376:function(h,n,e){"use strict";e.r(n)},97681:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return E}});var v=e(26068),o=e.n(v),y=e(90228),_=e.n(y),m=e(87999),p=e.n(m),f=e(67825),c=e.n(f),d=e(15558),s=e.n(d),a=e(11048),i=e(11066),u=e(75271),t=e(65173),r=e(52676),l=["request","cache","fieldNames","defaultParams"];function P(b){return Array.isArray(b)?b:[b]}function g(){for(var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},k=arguments.length>1?arguments[1]:void 0,M=arguments.length>2?arguments[2]:void 0,x=arguments.length>3?arguments[3]:void 0,D=b,I=s()(k),B=s()(M),U=s()(x);I.length>0||B.length>0;){if(Array.isArray(D)){D.forEach(function(L){L.label=(0,t.getDataByNamePath)(L,I),L.value=(0,t.getDataByNamePath)(L,B),L.children=g((0,t.getDataByNamePath)(L,U),I,B,U)});break}I.shift(),U.shift();var A=B.shift();A&&(D=D[A])}return D}function C(b){var k=b.request,M=b.cache,x=b.fieldNames,D=b.defaultParams,I=D===void 0?{}:D,B=c()(b,l),U=s()(P((x==null?void 0:x.label)||["data","label"])),A=s()(P((x==null?void 0:x.value)||["data","value"])),L=s()(P((x==null?void 0:x.children)||["data","children"])),F=(0,a.Z)(function(){var N=p()(_()().mark(function $(z){var j;return _()().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(k){w.next=2;break}return w.abrupt("return",[]);case 2:return w.next=4,k(z);case 4:return j=w.sent,w.abrupt("return",g(j,U,A,L));case 6:case"end":return w.stop()}},$)}));return function($){return N.apply(this,arguments)}}(),o()({manual:!0},M||{})),S=F.loading,W=F.data,T=W===void 0?[]:W,K=F.run;return(0,u.useEffect)(function(){k&&K(I)},[JSON.stringify(I)]),(0,r.jsx)(i.Z,o()({options:T,loading:S,style:{width:"100%"}},B))}var O=function(){return(0,r.jsx)(r.Fragment,{})};O.Api=C;var E=O},16652:function(h,n,e){"use strict";e.r(n),e.d(n,{DataEvent:function(){return v.DataEvent}});var v=e(73799),o=e(3460),y=e.n(o),_={};for(var m in o)["default","DataEvent"].indexOf(m)<0&&(_[m]=function(p){return o[p]}.bind(0,m));e.d(n,_)},35030:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return g}});var v=e(26068),o=e.n(v),y=e(67825),_=e.n(y),m=e(48305),p=e.n(m),f=e(10077),c=e(60686),d=e(27947),s=e(81465),a=e(6052),i=e(91620),u=e(52676),t=["mode","children","onChange"];function r(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:f.presetPalettes;return Object.entries(C).map(function(O){var E=p()(O,2),b=E[0],k=E[1];return{label:b,colors:k,key:b}})}var l=r({blue:f.blue,red:f.red,green:f.green,cyan:f.cyan,orange:f.orange,magenta:f.magenta,gray:f.gray});l.forEach(function(C){C.colors=C.colors.slice(0,6)});function P(C){var O=C.mode,E=O===void 0?"single":O,b=C.children,k=C.onChange,M=_()(C,t),x=function(){var U=M.value;if(typeof U=="string")return U;if(Array.isArray(U))return"linear-gradient(".concat(U.map(function(A){return"".concat(A.color," ").concat(A.percent,"%")}).join(","),")")},D=function(U,A){var L=A.components,F=L.Picker,S=L.Presets;return(0,u.jsxs)(c.Z,{justify:"space-between",wrap:!1,style:{width:420},children:[(0,u.jsx)(d.Z,{span:12,children:(0,u.jsx)(S,{})}),(0,u.jsx)(s.Z,{type:"vertical",style:{height:"auto"}}),(0,u.jsxs)(d.Z,{flex:"auto",children:[(0,u.jsx)(F,{}),(0,u.jsx)("div",{style:{marginTop:10,color:"rgba(0,0,0,0.65)"},children:x()})]})]})},I=function(){if(!M.value)return(0,u.jsx)(a.default,{classNames:{popup:{root:"ccs-color-picker-select"}},placeholder:"\u8BF7\u9009\u62E9",popupRender:function(){return(0,u.jsx)(u.Fragment,{})}})};return(0,u.jsx)(i.Z,o()(o()({className:"ccs-color-picker",allowClear:!0,showText:!0,mode:E,onChange:function(U,A){if(k){var L=U.getColors();if(L.length>1){var F=L.map(function(S){return{color:S.color.toRgbString(),percent:S.percent}});k(F,A);return}if(L.length===1){k(U.toCssString(),A);return}}},onClear:function(){k&&k(void 0,"")},presets:l,panelRender:D},M),{},{children:b||I()}))}var g=P},88686:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return D},onDefaultFormat:function(){return M}});var v=e(26068),o=e.n(v),y=e(67825),_=e.n(y),m=e(48305),p=e.n(m),f=e(94129),c=e(8890),d=e(15771),s=e(46960),a=e(16929),i=e(96586),u=e(8033),t=e(34336),r=e(75271),l=e(56973),P=e(31939),g=e(35119),C=e(73801),O=e(52676),E=["theme","prefixCls"],b=["token","components"];function k(){var I=c.ZP.useMessage(),B=p()(I,2),U=B[0],A=B[1],L=d.ZP.useNotification(),F=p()(L,2),S=F[0],W=F[1],T=s.Z.useModal(),K=p()(T,2),N=K[0],$=K[1];return(0,r.useState)(function(){g.default.setConfig(U,S,N)}),(0,O.jsxs)(O.Fragment,{children:[A,W,$]})}function M(I){return I}function x(I){var B=I.children,U=I.theme,A=U===void 0?"light":U,L=I.isCompact,F=I.watermark,S=I.antConfig,W=I.fieldNames,T=r.useRef(null),K=A==="dark"?f.$_:f.uH,N=S||{},$=N.theme,z=N.prefixCls,j=z===void 0?"ant":z,R=_()(N,E),w=$||{},Y=w.token,Z=w.components,X=_()(w,b),ee=function(){var Q=A==="dark"?[a.Z.darkAlgorithm]:[a.Z.defaultAlgorithm];return L&&Q.push(a.Z.compactAlgorithm),Q},te=o()(o()({},K.token),Y);return A==="dark"&&(te.colorBgContainer="rgb(36, 37, 37)"),(0,O.jsx)(i.default,o()(o()({locale:t.default,prefixCls:j},R),{},{theme:o()(o()(o()({},K),X),{},{token:te,components:o()(o()({},K.components),Z),algorithm:ee()}),children:(0,O.jsxs)(l.AppConfigContext.Provider,{value:{theme:A,dialogHolderRef:T,fieldNames:W},children:[B,(0,O.jsx)(k,{}),(0,O.jsx)(P.DialogElementsHolder,{ref:T},"modal-drawer-holder"),(F==null?void 0:F.content)&&(0,O.jsx)(C.default,{content:F.content,fontColor:"rgba(0,0,0,.15)",zIndex:105})]})}))}function D(I){return(0,O.jsx)(u.Z,{style:{height:"100%"},children:(0,O.jsx)(x,o()({},I))})}},43449:function(h,n,e){"use strict";e.r(n)},56973:function(h,n,e){"use strict";e.r(n),e.d(n,{AppConfigContext:function(){return m},DrawerAndModalContext:function(){return o},PageContext:function(){return y},TabsContext:function(){return _}});var v=e(75271),o=(0,v.createContext)({}),y=(0,v.createContext)({}),_=v.createContext({}),m=v.createContext({})},2534:function(h,n,e){"use strict";e.r(n)},86247:function(h,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(67825),_=e.n(y),m=e(92167),p=e(17888),f=e.n(p),c=e(52676),d=["value","onChange"],s=["value","onChange"],a=[{label:"\u4ECA\u5929",value:[f()().startOf("day"),f()().endOf("day")]},{label:"\u6700\u8FD13\u5929",value:[f()().add(-3,"d"),f()()]},{label:"\u6700\u8FD17\u5929",value:[f()().add(-7,"d"),f()()]},{label:"\u6700\u8FD114\u5929",value:[f()().add(-14,"d"),f()()]},{label:"\u6700\u8FD130\u5929",value:[f()().add(-30,"d"),f()()]},{label:"\u6700\u8FD190\u5929",value:[f()().add(-90,"d"),f()()]}];function i(t){var r=t.value,l=t.onChange,P=_()(t,d),g=function(E,b){l&&l(b||void 0)},C=typeof r=="string"?f()(r):r;return(0,c.jsx)(m.default,o()({value:C,onChange:g},P))}function u(t){var r=t.value,l=t.onChange,P=_()(t,s),g=function(){if(Array.isArray(r)){var E=r[0]?f()(r[0]):void 0,b=r[1]?f()(r[1]):void 0;return[E,b]}return null},C=function(E,b){l&&l(b||void 0)};return(0,c.jsx)(m.default.RangePicker,o()({presets:P.picker==="date"||!P.picker?a:void 0,value:g(),onChange:C},P))}i.RangePicker=u,n.default=i},94350:function(h,n,e){"use strict";e.r(n);var v=e(90228),o=e.n(v),y=e(87999),_=e.n(y),m=e(67825),p=e.n(m),f=e(26068),c=e.n(f),d=e(48305),s=e.n(d),a=e(9228),i=e(82187),u=e.n(i),t=e(75271),r=e(85289),l=e(22818),P=e(45484),g=e(52653),C=e(24324),O=e(52676),E=["auth","form","content","extraBtn","className","rootStyle","getContainer","requestFieldNames","preventRequestHandle","contextParam","request","onClose","onOk"],b=function(M){var x=M.afterClose,D=M.config,I=M.dialogRef,B=(0,t.useState)(function(){return D.open===void 0?c()(c()({},D),{},{open:!0}):D}),U=s()(B,2),A=U[0],L=U[1],F=(0,t.useRef)(null),S=(0,t.useRef)(null),W=(0,t.useRef)(null);(0,r.useInsertCss)("dialog-drawer",function(ne){return[".".concat(ne,"-drawer .").concat(ne,"-drawer-extra >.").concat(ne,"-btn+.").concat(ne,"-btn {margin-inline-start: 8px;}"),".ccs-dialog-drawer .".concat(ne,"-drawer-footer{padding:0 !important;}")]});var T=function(){x()},K=A.auth,N=A.form,$=A.content,z=A.extraBtn,j=A.className,R=A.rootStyle,w=A.getContainer,Y=A.requestFieldNames,Z=A.preventRequestHandle,X=A.contextParam,ee=A.request,te=A.onClose,V=A.onOk,Q=p()(A,E),q=function(){var ne=_()(o()().mark(function ae(){return o()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:L(function(_e){return c()(c()({},_e),{},{open:!1})}),te&&te();case 2:case"end":return le.stop()}},ae)}));return function(){return ne.apply(this,arguments)}}();(0,t.useImperativeHandle)(I,function(){return{destroy:q,update:function(ae){L(function(se){return c()(c()({},se),ae)})}}});var ie=function(){var ae=document.body.querySelectorAll('[id*="_tab_content_"][data-display="true"]');if(ae.length>0)return ae[0]},G="getContainer"in A,re=A.styles||{};re.mask=c()({background:"rgba(0, 0, 0, 0.1)"},re.mask);var oe=(0,t.useMemo)(function(){return(0,O.jsx)(l.DialogButtonHolder,{auth:K,request:ee,onClose:q,onOk:V,formRef:W,extraBtn:z,formInitialValues:N==null?void 0:N.initialValues,buttonRef:F,preventRequestHandle:Z,requestFieldNames:Y})},[]);return(0,O.jsx)(a.Z,c()(c()({afterOpenChange:function(ae){!ae&&D.destroyOnClose!==!1&&D.destroyOnHidden!==!1&&T()},extra:oe,footer:(0,O.jsx)(g.FooterButtonHolder,{buttonRef:S})},Q),{},{onClose:q,className:u()("ccs-dialog-drawer",j),styles:re,rootStyle:c()(c()({},G?{}:{position:"absolute"}),R),getContainer:G?w:ie,children:(0,O.jsx)(P.DialogContentContext.Provider,{value:{formRef:W,buttonRef:F,contextParam:X,buttonType:"drawer",onOkCallBack:V,closeDialog:q,request:ee,drawerFooterRef:S,formInitialValues:(N==null?void 0:N.initialValues)||{}},children:N?(0,O.jsx)(C.default,{formRef:W,formProps:N,children:$}):$})}))};n.default=b},93261:function(h,n,e){"use strict";e.r(n);var v=e(90228),o=e.n(v),y=e(87999),_=e.n(y),m=e(67825),p=e.n(m),f=e(48305),c=e.n(f),d=e(26068),s=e.n(d),a=e(46960),i=e(82187),u=e.n(i),t=e(75271),r=e(79176),l=e.n(r),P=e(22818),g=e(45484),C=e(24324),O=e(52676),E=["auth","form","title","content","extraBtn","className","footer","contextParam","preventRequestHandle","requestFieldNames","onOk","request","onClose"],b=function(x){var D=x.modal,I=x.dragState,B=x.onDragState,U=(0,t.useRef)(null),A=function(F,S){var W,T=window.document.documentElement,K=T.clientWidth,N=T.clientHeight,$=(W=U.current)===null||W===void 0?void 0:W.getBoundingClientRect();$&&B(function(z){return s()(s()({},z),{},{bounds:{left:-$.left+S.x,right:K-($.right-S.x),top:-$.top+S.y,bottom:N-($.bottom-S.y)}})})};return(0,O.jsx)(l(),{nodeRef:U,disabled:I.disabled,bounds:I.bounds,onStart:A,children:(0,O.jsx)("div",{ref:U,children:D})})},k=function(x){var D=x.dialogRef,I=x.afterClose,B=x.config,U=(0,t.useState)(function(){return B.open===void 0?s()(s()({},B),{},{open:!0}):B}),A=c()(U,2),L=A[0],F=A[1],S=(0,t.useState)({disabled:!0,bounds:{left:0,top:0,bottom:0,right:0}}),W=c()(S,2),T=W[0],K=W[1],N=(0,t.useRef)(null),$=(0,t.useRef)(null),z=function(){var se;B.destroyOnClose!==!1&&B.destroyOnHidden!==!1&&I(),(se=L.afterClose)===null||se===void 0||se.call(L)},j=L.auth,R=L.form,w=L.title,Y=L.content,Z=L.extraBtn,X=L.className,ee=L.footer,te=L.contextParam,V=L.preventRequestHandle,Q=L.requestFieldNames,q=L.onOk,ie=L.request,G=L.onClose,re=p()(L,E),oe=function(){var ae=_()(o()().mark(function se(){return o()().wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:F(function(me){return s()(s()({},me),{},{open:!1})}),G&&G();case 2:case"end":return _e.stop()}},se)}));return function(){return ae.apply(this,arguments)}}();(0,t.useImperativeHandle)(D,function(){return{destroy:oe,update:function(se){F(function(le){return s()(s()({},le),se)})}}});var ne=(0,t.useMemo)(function(){return(0,O.jsx)(P.DialogButtonHolder,{auth:j,request:ie,onClose:oe,onOk:q,formRef:$,extraBtn:Z,formInitialValues:R==null?void 0:R.initialValues,buttonRef:N,preventRequestHandle:V,requestFieldNames:Q})},[]);return(0,O.jsx)(a.Z,s()(s()({onCancel:oe,afterClose:z},re),{},{className:u()("ccs-dialog-modal",X),footer:ee===null?null:ne,title:(0,O.jsx)("div",{style:{width:"100%",cursor:"move"},onMouseOver:function(){T.disabled&&K(function(se){return s()(s()({},se),{},{disabled:!1})})},onMouseOut:function(){K(function(se){return s()(s()({},se),{},{disabled:!0})})},children:w}),modalRender:function(se){return(0,O.jsx)(b,{modal:se,dragState:T,onDragState:K})},children:(0,O.jsx)(g.DialogContentContext.Provider,{value:{formRef:$,buttonRef:N,contextParam:te,buttonType:"modal",request:ie,onOkCallBack:q,closeDialog:oe,formInitialValues:(R==null?void 0:R.initialValues)||{}},children:R?(0,O.jsx)(C.default,{formRef:$,formProps:R,children:Y}):Y})}))};n.default=k},73541:function(h,n,e){"use strict";e.r(n)},22818:function(h,n,e){"use strict";e.r(n),e.d(n,{DialogButtonHolder:function(){return O},default:function(){return E}});var v=e(90228),o=e.n(v),y=e(26068),_=e.n(y),m=e(87999),p=e.n(m),f=e(31759),c=e.n(f),d=e(48305),s=e.n(d),a=e(68144),i=e(18466),u=e(80729),t=e(75271),r=e(50712),l=e(668),P=e(81475),g=e(65173),C=e(52676),O=function(k){var M=k.auth,x=k.extraBtn,D=k.formRef,I=k.request,B=k.onOk,U=k.onClose,A=k.buttonRef,L=k.requestFieldNames,F=k.formInitialValues,S=k.preventRequestHandle,W=(0,t.useState)(),T=s()(W,2),K=T[0],N=T[1],$=(0,t.useState)(!1),z=s()($,2),j=z[0],R=z[1],w=(0,P.useBaseFields)();(0,t.useImperativeHandle)(A,function(){return{onSetButtons:function(ee){N(ee)}}});var Y=function(ee,te){if(B){var V=B(ee,te);if(typeof V=="boolean"&&V===!1)return;if(c()(V)==="object"&&V.then){R(!0),V.then(function(Q){R(!1),Q!==!1&&U()});return}U()}else U()},Z=function(){var X=p()(o()().mark(function ee(){var te,V,Q,q;return o()().wrap(function(G){for(;;)switch(G.prev=G.next){case 0:if(V={},Q=(te=D.current)===null||te===void 0?void 0:te.formInstance,!Q){G.next=7;break}return G.next=5,Q.validateFields();case 5:q=G.sent,V=_()(_()({},F),q);case 7:if(!I){G.next=11;break}return R(!0),I(V).then(function(re){if(R(!1),S){Y(V,re);return}var oe=_()(_()({},w),L),ne=(0,g.getDataByNamePath)(re,oe.success),ae=(0,g.getDataByNamePath)(re,oe.msg);ne===oe.successTag&&Y(V,re),r.default.easyMessage({success:ne===oe.successTag,msg:ae})}).catch(function(re){R(!1),console.log("err",re)}),G.abrupt("return");case 11:Y(V);case 12:case"end":return G.stop()}},ee)}));return function(){return X.apply(this,arguments)}}();return K?(0,C.jsxs)(C.Fragment,{children:[x,K]}):(0,C.jsxs)(C.Fragment,{children:[x,(0,C.jsx)(i.ZP,{onClick:U,children:"\u53D6\u6D88"}),(0,C.jsx)(l.default,{auth:M,type:"primary",loading:j,onClick:Z,children:"\u786E\u5B9A"})]})};function E(b){var k=b.children,M=b.hideCancel,x=b.cancelText,D=b.onOk,I=b.okBtnProps,B=r.default.useInstance(),U=B.buttonRef,A=B.buttonType,L=B.formInitialValues,F=B.closeDialog,S=B.onOkCallBack,W=B.request,T=u.Z.useFormInstance();a.default.showWarning(!W,"\u4F7F\u7528\u4E86CcsDialog.Buttons\u81EA\u5B9A\u4E49\u6309\u94AE\u884C\u4E3A\uFF0Crequest\u8BF7\u6C42\u5C06\u4E0D\u4F1A\u6267\u884C\u3002");var K=function(){var $=p()(o()().mark(function z(){var j,R,w;return o()().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:if(j={},!T){Z.next=6;break}return Z.next=4,T.validateFields();case 4:R=Z.sent,j=_()(_()({},L),R);case 6:if(D){Z.next=10;break}return F(),S==null||S(j),Z.abrupt("return");case 10:if(w=D(j),w!==!1){Z.next=13;break}return Z.abrupt("return");case 13:if(!(c()(w)==="object"&&w.then)){Z.next=16;break}return w.then(function(X){X!==!1&&(F(),S==null||S(X))}),Z.abrupt("return");case 16:F(),S==null||S(w);case 18:case"end":return Z.stop()}},z)}));return function(){return $.apply(this,arguments)}}(),N=a.default.mergeProps({type:"primary",text:"\u786E\u5B9A"},I);return(0,t.useEffect)(function(){var $,z=(0,C.jsxs)(C.Fragment,{children:[!M&&(0,C.jsx)(i.ZP,{onClick:F,children:x||"\u53D6\u6D88"}),k,(I||D)&&(0,C.jsx)(l.default,_()(_()({},N),{},{onClick:K}))]});A==="modal"&&(z=(0,C.jsx)(C.Fragment,{children:z})),($=U.current)===null||$===void 0||$.onSetButtons(z)}),(0,C.jsx)(C.Fragment,{})}},45484:function(h,n,e){"use strict";e.r(n),e.d(n,{DialogContentContext:function(){return o},useDialogContext:function(){return y}});var v=e(75271),o=v.createContext({}),y=function(){var m=(0,v.useContext)(o);if(m===void 0)throw new Error("DialogContentContext not found");return m}},97764:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return f}});var v=e(50712),o=e(8984),y=e(18466),_=e(15574),m=e(52676),p=[{key:"bottom",label:"bottom"},{key:"left",label:"left"},{key:"top",label:"top"}];function f(){var c=v.default.useDialog(),d=c.openDrawer,s=c.openModal,a=function(){s({title:"Modal",content:(0,m.jsx)("div",{children:"CcsModal content..."}),footer:null})},i=function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"right";d({title:"Drawer",width:300,content:(0,m.jsx)("div",{children:"CcsDrawer content..."}),placement:l})},u=function(){d({title:"Drawer",content:(0,m.jsx)("div",{children:"CcsDrawer content..."}),width:"100%",height:"100%",getContainer:void 0})},t=function(l){i(l.key)};return(0,m.jsxs)(o.Z,{style:{padding:"0 16px"},children:[(0,m.jsx)(y.ZP,{onClick:a,children:"modal"}),(0,m.jsx)(_.Z.Button,{menu:{items:p,onClick:t},onClick:function(){return i()},children:"drawer"}),(0,m.jsx)(y.ZP,{onClick:u,children:"\u5168\u5C4Fdrawer"})]})}},38525:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return f}});var v=e(50712),o=e(6052),y=e(8984),_=e(18466),m=e(75271),p=e(52676);function f(){var c=v.default.useDialog(),d=c.openModal,s=c.openDrawer,a=(0,m.useRef)(),i=(0,m.useRef)();return(0,m.useEffect)(function(){a.current=d({title:"Modal",open:!1,destroyOnHidden:!1,width:300,content:(0,p.jsx)(o.default,{placeholder:"\u8BF7\u9009\u62E9",options:[{value:"jack",label:"Jack"},{value:"lucy",label:"Lucy"}]})}),i.current=s({title:"Modal",open:!1,destroyOnHidden:!1,width:300,content:(0,p.jsx)(o.default,{placeholder:"\u8BF7\u9009\u62E9",options:[{value:"jack",label:"Jack"},{value:"lucy",label:"Lucy"}]})})},[]),(0,p.jsxs)(y.Z,{style:{marginLeft:16},children:[(0,p.jsx)(_.ZP,{onClick:function(){var t;(t=a.current)===null||t===void 0||t.update({open:!0})},children:"modal"}),(0,p.jsx)(_.ZP,{onClick:function(){var t;(t=i.current)===null||t===void 0||t.update({open:!0})},children:"drawer"})]})}},80429:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return C}});var v=e(90228),o=e.n(v),y=e(87999),_=e.n(y),m=e(36075),p=e.n(m),f=e(50712),c=e(11048),d=e(80729),s=e(18466),a=e(19152),i=e(8984),u=e(99930),t=e(52676),r=d.Z.Item,l=function(E){return p()(E),new Promise(function(b){setTimeout(function(){b({success:!0,msg:"\u64CD\u4F5C\u5931\u8D25"})},500)})};function P(){var O=f.default.useInstance(),E=O.closeDialog,b=(0,c.Z)(l,{manual:!0}),k=b.runAsync,M=b.loading,x=(0,u.default)(),D=x.getFieldsValue,I=function(){var B=_()(o()().mark(function U(A){var L;return o()().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return S.next=2,k(A);case 2:return L=S.sent,f.default.easyMessage({success:L.success,msg:L.msg}),S.abrupt("return",L);case 5:case"end":return S.stop()}},U)}));return function(A){return B.apply(this,arguments)}}();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(f.default.Buttons,{onOk:I,okBtnProps:{loading:M,danger:!0,confirm:"\u786E\u5B9A\u4FDD\u5B58\uFF1F",text:"\u4FDD\u5B58"},children:[(0,t.jsx)(s.ZP,{onClick:function(){console.log("\u8868\u5355\u503C:",D())},children:"\u83B7\u53D6\u8868\u5355\u503C"}),(0,t.jsx)(s.ZP,{danger:!0,type:"dashed",onClick:E,children:"\u8FD4\u56DE"})]}),(0,t.jsx)(r,{label:"fieldA",name:"fieldA",children:(0,t.jsx)(a.Z,{})}),(0,t.jsx)(r,{label:"fieldB",name:"fieldB",children:(0,t.jsx)(a.Z,{})})]})}function g(){var O=f.default.useInstance(),E=O.formRef,b=O.closeDialog;function k(){return M.apply(this,arguments)}function M(){return M=_()(o()().mark(function x(){var D,I;return o()().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return U.next=2,E==null||(D=E.current)===null||D===void 0||(D=D.formInstance)===null||D===void 0?void 0:D.validateFields();case 2:I=U.sent,console.log("values",I),b();case 5:case"end":return U.stop()}},x)})),M.apply(this,arguments)}return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r,{label:"fieldA",name:"fieldA",children:(0,t.jsx)(a.Z,{})}),(0,t.jsx)(r,{label:"fieldB",name:"fieldB",children:(0,t.jsx)(a.Z,{})}),(0,t.jsx)(f.default.DrawerFooter,{children:(0,t.jsxs)(i.Z,{style:{padding:16},wrap:!0,children:[(0,t.jsx)(s.ZP,{type:"primary",children:"btn1"}),(0,t.jsx)(s.ZP,{type:"dashed",children:"btn1"}),(0,t.jsx)(s.ZP,{danger:!0,children:"btn2"}),(0,t.jsx)(s.ZP,{type:"link",children:"btn3"}),(0,t.jsx)(s.ZP,{children:"btn4"}),(0,t.jsx)(s.ZP,{children:"btn5"}),(0,t.jsx)(s.ZP,{children:"btn6"}),(0,t.jsx)(s.ZP,{children:"btn7"}),(0,t.jsx)(s.ZP,{children:"btn8"}),(0,t.jsx)(s.ZP,{onClick:function(){return b()},children:"\u53D6\u6D88"}),(0,t.jsx)(s.ZP,{onClick:k,type:"primary",children:"\u786E\u5B9A"})]})})]})}function C(){var O=f.default.useDialog(),E=O.openModal,b=O.openDrawer,k=function(){E({title:"Modal",form:{initialValues:{fieldA:"testa",fieldB:"testb"},labelCol:{span:6},wrapperCol:{span:16},style:{padding:10}},width:500,content:(0,t.jsx)(P,{}),styles:{body:{paddingBottom:0}},onOk:function(B){console.log("ok...",B)}})},M=function(){b({title:"Drawer",form:{initialValues:{fieldA:"testa",fieldB:"testb"},labelCol:{span:6},wrapperCol:{span:16}},width:500,content:(0,t.jsx)(P,{})})},x=function(){b({title:"Drawer",width:500,extra:void 0,form:{initialValues:{fieldA:"testa",fieldB:"testb"},labelCol:{span:6},wrapperCol:{span:16}},content:(0,t.jsx)(g,{})})};return(0,t.jsxs)(i.Z,{style:{padding:"0 16px"},children:[(0,t.jsx)(s.ZP,{onClick:k,children:"Modal custom form"}),(0,t.jsx)(s.ZP,{onClick:M,children:"Drawer custom form"}),(0,t.jsx)(s.ZP,{onClick:x,children:"Drawer \u591A\u6309\u94AE"})]})}},52653:function(h,n,e){"use strict";e.r(n),e.d(n,{FooterButtonHolder:function(){return p},default:function(){return f}});var v=e(48305),o=e.n(v),y=e(75271),_=e(50712),m=e(52676),p=function(d){var s=d.buttonRef,a=(0,y.useState)(),i=o()(a,2),u=i[0],t=i[1];return(0,y.useImperativeHandle)(s,function(){return{onSetButtons:function(l){t(l)}}}),(0,m.jsx)(m.Fragment,{children:u})};function f(c){var d=c.children,s=_.default.useInstance(),a=s.drawerFooterRef;return(0,y.useEffect)(function(){var i,u=(0,m.jsx)(m.Fragment,{children:d});a==null||(i=a.current)===null||i===void 0||i.onSetButtons(u)}),null}},24324:function(h,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(48305),_=e.n(y),m=e(80729),p=e(75271),f=e(52676),c=function(s){var a=s.formRef,i=s.children,u=s.formProps,t=m.Z.useForm(),r=_()(t,1),l=r[0];(0,p.useImperativeHandle)(a,function(){return{formInstance:l}});var P=u.layout==="horizontal"||!u.layout,g=P?{labelCol:{span:7},wrapperCol:{span:16}}:void 0;return(0,f.jsx)(m.Z,o()(o()(o()({form:l,preserve:!1},g),u),{},{children:i}))};n.default=c},31939:function(h,n,e){"use strict";e.r(n),e.d(n,{DialogElementsHolder:function(){return l},default:function(){return O}});var v=e(15558),o=e.n(v),y=e(48305),_=e.n(y),m=e(68144),p=e(86763),f=e.n(p),c=e(75271),d=e(38751),s=e(94127),a=e(81475),i=e(94350),u=e(93261),t=e(3833),r=e(52676),l=c.memo(c.forwardRef(function(E,b){var k=(0,t.default)(),M=_()(k,2),x=M[0],D=M[1];return c.useImperativeHandle(b,function(){return{patchElement:D}},[]),(0,r.jsx)(r.Fragment,{children:x})})),P=0,g=0,C=[];function O(){var E=c.useRef(null),b=c.useState([]),k=_()(b,2),M=k[0],x=k[1],D=(0,a.default)()||{},I=(0,s.default)(),B=I.dialogHolderRef||D.dialogHolderRef;c.useEffect(function(){if(M.length){var F=o()(M);F.forEach(function(S){S()}),x([])}},[M]);var U=c.useCallback(function(F){P+=1;var S=c.createRef(),W,T=(0,r.jsx)(u.default,{config:F,afterClose:function(){var R;(R=W)===null||R===void 0||R()},dialogRef:S},"modal-".concat(P)),K=E.current?E:B;if(K!=null&&K.current)W=K.current.patchElement(T);else{m.default.showWarning(!1,"\u672A\u4F7F\u7528CssAppConfig\u5168\u5C40\u914D\u7F6E\u3001\u4E5F\u672A\u5C06contextHolder\u63D2\u5165\u7EC4\u4EF6\u4E2D\uFF0C\u5C06\u65E0\u6CD5\u9002\u914Dantd\u4E3B\u9898\u914D\u7F6E\u548C\u83B7\u53D6context\u3002");var N=document.createElement("div");document.body.append(N);var $=(0,d.createRoot)(N);$.render((0,r.jsx)(r.Fragment,{children:T})),W=function(){setTimeout(function(){$.unmount()},500)}}W&&C.push(W);var z={destroy:function(){function R(){var w;(w=S.current)===null||w===void 0||w.destroy()}S.current?R():x(function(w){return[].concat(o()(w),[R])})},update:function(R){function w(){var Y;(Y=S.current)===null||Y===void 0||Y.update(R)}S.current?w():x(function(Y){return[].concat(o()(Y),[w])})}};return z},[]),A=c.useCallback(function(F){g+=1;var S=c.createRef(),W,T=(0,r.jsx)(i.default,{config:F,afterClose:function(){var w;(w=W)===null||w===void 0||w()},dialogRef:S},"drawer-".concat(g)),K=E.current?E:B;if(K!=null&&K.current){var N;W=(N=K.current)===null||N===void 0?void 0:N.patchElement(T)}else{m.default.showWarning(!1,"\u672A\u4F7F\u7528CssAppConfig\u5168\u5C40\u914D\u7F6E\u3001\u4E5F\u672A\u5C06contextHolder\u63D2\u5165\u7EC4\u4EF6\u4E2D\uFF0C\u5C06\u65E0\u6CD5\u9002\u914Dantd\u4E3B\u9898\u914D\u7F6E\u548C\u83B7\u53D6context\u3002");var $=document.createElement("div");document.body.append($);var z=(0,d.createRoot)($);z.render((0,r.jsx)(r.Fragment,{children:T})),W=function(){setTimeout(function(){z.unmount()},500)}}W&&C.push(W);var j={destroy:function(){function w(){var Y;(Y=S.current)===null||Y===void 0||Y.destroy()}S.current?w():x(function(Y){return[].concat(o()(Y),[w])})},update:function(w){function Y(){var Z;(Z=S.current)===null||Z===void 0||Z.update(w)}S.current?Y():x(function(Z){return[].concat(o()(Z),[Y])})}};return j},[]),L=c.useMemo(function(){return{openModal:f()(function(F){return U(F)},500,{leading:!0,trailing:!1}),openDrawer:f()(function(F){return A(F)},500,{leading:!0,trailing:!1})}},[]);return{openDrawer:L.openDrawer,openModal:L.openModal,contextHolder:(0,r.jsx)(l,{ref:E},"modal-holder")}}},50712:function(h,n,e){"use strict";e.r(n);var v=e(35119),o=e(22818),y=e(45484),_=e(52653),m=e(31939),p=v.default;p.Buttons=o.default,p.useDialog=m.default,p.useInstance=y.useDialogContext,p.DrawerFooter=_.default,n.default=p},3833:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return p}});var v=e(15558),o=e.n(v),y=e(48305),_=e.n(y),m=e(75271);function p(){var f=m.useState([]),c=_()(f,2),d=c[0],s=c[1],a=m.useCallback(function(i){return s(function(u){return[].concat(o()(u),[i])}),function(){s(function(u){return u.filter(function(t){return t!==i})})}},[]);return[d,a]}},4683:function(h,n,e){"use strict";e.r(n)},29175:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return u}});var v=e(26068),o=e.n(v),y=e(67825),_=e.n(y),m=e(93325),p=e(82187),f=e.n(p),c=e(81475),d=e(50796),s=e(83857),a=e(52676),i=["placeholder","height","variant","className","extensions","disabled","styles","size","theme"];function u(t){var r=t.placeholder,l=r===void 0?"\u8BF7\u8F93\u5165":r,P=t.height,g=P===void 0?150:P,C=t.variant,O=C===void 0?"outlined":C,E=t.className,b=t.extensions,k=b===void 0?[]:b,M=t.disabled,x=t.styles,D=t.size,I=D===void 0?"middle":D,B=t.theme,U=_()(t,i),A=(0,c.default)(),L=B||A.theme||"light",F=(0,d.default)({height:g,styles:x,variant:O,size:I}),S=F.styles.root,W=F.onActived;return(0,a.jsx)(m.default,o()(o()({onFocus:function(){return W(!0)},onBlur:function(){return W(!1)},style:S,readOnly:M,extensions:k,placeholder:l,theme:L},U),{},{className:f()("ccs-editor",E,{"ccs-editor-fill":O==="filled"&&L==="light"})}))}},81777:function(h,n,e){"use strict";e.r(n);var v=e(36075),o=e.n(v),y=e(51561),_=e(68240),m=e(80932),p=e(24605),f=e(39445),c=e(53056),d=e(52676);function s(a){return o()(a),(0,d.jsx)(d.Fragment,{})}s.Json=_.default,s.Js=y.default,s.Sql=p.default,s.Yaml=c.default,s.Xml=f.default,s.Rich=m.default,n.default=s},51561:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return p}});var v=e(26068),o=e.n(v),y=e(48496),_=e(29175),m=e(52676);function p(f){return(0,m.jsx)(_.default,o()(o()({},f),{},{extensions:[(0,y.javascript)({jsx:!0})]}))}},68240:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return d}});var v=e(26068),o=e.n(v),y=e(37441),_=e(8435),m=e(47107),p=e(29175),f=e(52676),c=(0,m.linter)(function(s){var a=[];return(0,_.syntaxTree)(s.state).cursor().iterate(function(i){i.name==="\u26A0"&&a.push({from:i.from,to:i.to,severity:"error",message:"JSON\u9519\u8BEF"})}),a});function d(s){return(0,f.jsx)(p.default,o()(o()({},s),{},{extensions:[(0,y.json)(),c]}))}},14635:function(h,n,e){"use strict";e.r(n),e.d(n,{EditorRichContext:function(){return P},default:function(){return g}});var v=e(26068),o=e.n(v),y=e(81475),_=e(50796),m=e(27741),p=e(13343),f=e(85600),c=e(7214),d=e(69157),s=e(69838),a=e(54249),i=e(75271),u=e(92523),t=e(86638),r=e(56062),l=e(52676),P=i.createContext({});function g(C){var O=C.disabled,E=C.height,b=E===void 0?150:E,k=C.styles,M=C.variant,x=M===void 0?"outlined":M,D=C.placeholder,I=D===void 0?"\u8BF7\u8F93\u5165":D,B=C.size,U=B===void 0?"middle":B,A=C.imageUpload,L=C.plugins,F=C.editorConfig,S=C.onChange,W=(0,y.default)(),T=W.theme||"light",K=(0,_.default)({height:b,styles:k,variant:x,size:U,theme:T}),N=K.styles,$=N.root,z=N.inner,j=N.toolbarStyles,R=N.placeholderStyles,w=N.background,Y=K.onActived;return(0,l.jsx)(P.Provider,{value:{imageUpload:A},children:(0,l.jsx)(m.LexicalComposer,{initialConfig:o()(o()({},F),{},{editable:!O,editorState:null}),children:(0,l.jsxs)("div",{className:"css-editor-rich",style:o()({background:w},$),children:[(0,l.jsx)(r.default,{disabled:O,style:j}),(0,l.jsxs)("div",{className:"editor-inner",style:z,children:[(0,l.jsx)(a.RichTextPlugin,{contentEditable:(0,l.jsx)(p.ContentEditable,{className:"editor-input","aria-placeholder":I,placeholder:(0,l.jsx)("div",{className:"editor-placeholder",style:R,children:I}),onFocus:function(){return Y(!0)},onBlur:function(){return Y(!1)}}),ErrorBoundary:f.LexicalErrorBoundary}),(0,l.jsx)(s.OnChangePlugin,{onChange:S}),(0,l.jsx)(u.default,{}),(0,l.jsx)(c.HistoryPlugin,{}),(0,l.jsx)(d.LinkPlugin,{}),L]})]})})})}},24181:function(h,n,e){"use strict";e.r(n),e.d(n,{parseAllowedColor:function(){return _},parseAllowedFontSize:function(){return y}});var v=8,o=72,y=function(p){var f=p.match(/^(\d+(?:\.\d+)?)px$/);if(f){var c=Number(f[1]);if(c>=v&&c<=o)return p}return""};function _(m){return/^rgb\(\d+, \d+, \d+\)$/.test(m)?m:""}},67764:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return s}});var v=e(48305),o=e.n(v),y=e(15409),_=e(89633),m=e(16929),p=e(19152),f=e(18466),c=e(75271),d=e(52676);function s(a){var i=a.onClose,u=a.onOk,t=a.code,r=(0,c.useState)(t),l=o()(r,2),P=l[0],g=l[1],C=m.Z.useToken(),O=C.token;return(0,d.jsx)("div",{className:"css-editor-code",style:{background:O.colorBgContainer},children:(0,d.jsxs)("div",{className:"css-editor-code-content",children:[(0,d.jsx)(p.Z.TextArea,{style:{height:"100%"},variant:"filled",value:P,onChange:function(b){return g(b.target.value)}}),(0,d.jsxs)("div",{className:"css-editor-code-btn",children:[(0,d.jsx)(f.ZP,{onClick:i,icon:(0,d.jsx)(y.Z,{}),size:"small",children:"\u8FD4\u56DE"}),(0,d.jsx)(f.ZP,{style:{marginLeft:10},icon:(0,d.jsx)(_.Z,{}),onClick:function(){return u(P)},size:"small",children:"\u4FDD\u5B58"})]})]})})}},56062:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return Z}});var v=e(48305),o=e.n(v),y=e(2593),_=e(65351),m=e(52608),p=e(22668),f=e(82348),c=e(12335),d=e(37101),s=e(76371),a=e(91319),i=e(37535),u=e(32791),t=e(86346),r=e(23455),l=e(14875),P=e(24799),g=e(48666),C=e(63552),O=e(1775),E=e(34073),b=e(83346),k=e(20509),M=e(80729),x=e(46960),D=e(19152),I=e(54999),B=e(57439),U=e(18466),A=e(81465),L=e(6052),F=e(9228),S=e(71794),W=e(75271),T=e(14635),K=e(32097),N=e(35030),$=e(85289),z=e(67764),j=e(6145),R=e(52676);function w(X){var ee=X.onCancel,te=X.onOk,V=M.Z.useForm(),Q=o()(V,1),q=Q[0];function ie(){q.validateFields().then(function(G){te(G),ee()})}return(0,R.jsx)(R.Fragment,{children:(0,R.jsx)(x.Z,{open:!0,destroyOnHidden:!0,onCancel:ee,onOk:ie,children:(0,R.jsxs)(M.Z,{form:q,initialValues:{url:"http://",target:"_self"},layout:"horizontal",labelCol:{span:6},wrapperCol:{span:15},children:[(0,R.jsx)(M.Z.Item,{label:"url",name:"url",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5"}],children:(0,R.jsx)(D.Z,{})}),(0,R.jsx)(M.Z.Item,{label:"\u8BF4\u660E",name:"title",children:(0,R.jsx)(D.Z,{})}),(0,R.jsx)(M.Z.Item,{label:"\u7C7B\u578B",name:"target",children:(0,R.jsx)(I.ZP.Group,{optionType:"button",options:[{label:"\u5185\u90E8\u94FE\u63A5",value:"_self"},{label:"\u5916\u90E8\u94FE\u63A5",value:"_blank"}]})})]})})})}var Y=[{label:"\u9ED8\u8BA4",value:"inherit"},{label:"\u5B8B\u4F53",value:"SimSun, serif"},{label:"\u9ED1\u4F53",value:"SimHei, sans-serif"},{label:"\u5FAE\u8F6F\u96C5\u9ED1",value:'"Microsoft YaHei", sans-serif'},{label:"Arial",value:"Arial, sans-serif"},{label:"Times New Roman",value:'"Times New Roman", serif'},{label:"Courier New",value:'"Courier New", monospace'},{label:"Georgia",value:"Georgia, serif"},{label:"Verdana",value:"Verdana, sans-serif"}];function Z(X){var ee=X.style,te=X.disabled,V=(0,E.useLexicalComposerContext)(),Q=o()(V,1),q=Q[0],ie=(0,W.useContext)(T.EditorRichContext),G=ie.imageUpload,re=K.default.useComplexState({canUndo:!1,canRedo:!1,isBold:!1,isItalic:!1,isUnderline:!1,isStrikethrough:!1,isUpload:!1,isLinkOpen:!1,isLink:!1,fontSize:"14px",fontFamily:"inherit",fontColor:void 0,bgColor:void 0,previewHtml:"",codeEdit:""}),oe=re.state,ne=re.setByPath,ae=oe.canRedo,se=oe.canUndo,le=oe.isBold,_e=oe.isItalic,me=oe.isUnderline,fe=oe.isStrikethrough,ge=oe.isUpload,Ee=oe.isLinkOpen,De=oe.isLink,xe=oe.fontSize,Ie=oe.fontFamily,Be=oe.fontColor,Ue=oe.bgColor,je=oe.previewHtml,de=oe.codeEdit,pe=(0,W.useCallback)(function(ue){q.update(function(){var ye=(0,S.$getSelection)();(0,S.$isRangeSelection)(ye)&&(0,b.$patchStyleText)(ye,ue)})},[q]),Te=(0,W.useCallback)(function(ue){pe({"font-size":ue}),ne("fontSize",ue)},[pe]),Se=(0,W.useCallback)(function(ue){pe({"font-family":ue}),ne("fontFamily",ue)},[pe]),Le=(0,W.useCallback)(function(ue){pe({color:ue}),ne("fontColor",ue)},[pe]),We=(0,W.useCallback)(function(ue){pe({"background-color":ue}),ne("bgColor",ue)},[pe]),Ae=function(ye){q.dispatchCommand(S.FORMAT_TEXT_COMMAND,ye)},H=function(ye){q.dispatchCommand(S.FORMAT_ELEMENT_COMMAND,ye)},J=[{label:12,value:"12px"},{label:14,value:"14px"},{label:16,value:"16px"},{label:18,value:"18px"},{label:20,value:"20px"},{label:24,value:"24px"},{label:28,value:"28px"},{label:38,value:"36px"},{label:48,value:"48px"},{label:72,value:"72px"}],ce=(0,W.useCallback)(function(){var ue=(0,S.$getSelection)();if((0,S.$isRangeSelection)(ue)){ne({isBold:ue.hasFormat("bold"),isItalic:ue.hasFormat("italic"),isUnderline:ue.hasFormat("underline"),isStrikethrough:ue.hasFormat("strikethrough"),fontSize:(0,b.$getSelectionStyleValueForProperty)(ue,"font-size","16px"),fontFamily:(0,b.$getSelectionStyleValueForProperty)(ue,"font-family","inherit"),fontColor:(0,b.$getSelectionStyleValueForProperty)(ue,"color","#000000"),bgColor:(0,b.$getSelectionStyleValueForProperty)(ue,"background-color",void 0)});var ye=ue.anchor.getNode().getParent();ne("isLink",(0,O.$isLinkNode)(ye))}},[]);(0,$.useInsertCss)("editor",function(ue){return[".ccs-rich-upload .".concat(ue,"-upload-wrapper.").concat(ue,"-upload-picture-card-wrapper .").concat(ue,"-upload.").concat(ue,"-upload-select{width:200px;height:200px;}"),".ccs-rich-upload .".concat(ue,"-upload-wrapper.").concat(ue,"-upload-picture-card-wrapper .").concat(ue,"-upload-list.").concat(ue,"-upload-list-picture-card .").concat(ue,"-upload-list-item-container{width:200px;height:200px;}")]}),(0,W.useEffect)(function(){return(0,k.mergeRegister)(q.registerUpdateListener(function(ue){var ye=ue.editorState;ye.read(function(){ce()},{editor:q})}),q.registerCommand(S.SELECTION_CHANGE_COMMAND,function(ue,ye){return ce(),!1},S.COMMAND_PRIORITY_LOW),q.registerCommand(S.CAN_UNDO_COMMAND,function(ue){return ne("canUndo",ue),!1},S.COMMAND_PRIORITY_LOW),q.registerCommand(S.CAN_REDO_COMMAND,function(ue){return ne("canRedo",ue),!1},S.COMMAND_PRIORITY_LOW))},[q,ce]);var ve=function(ye){q.dispatchCommand(O.TOGGLE_LINK_COMMAND,ye)},be=(0,W.useCallback)(function(){De?q.dispatchCommand(O.TOGGLE_LINK_COMMAND,null):ne("isLinkOpen",!0)},[q,De]),Ce=te,Fe=function(ye){q.update(function(){if(de!==ye){var He=new DOMParser,Ge=He.parseFromString(ye||"","text/html"),Ve=(0,C.$generateNodesFromDOM)(q,Ge);(0,S.$getRoot)().clear(),(0,S.$getRoot)().select(),(0,S.$insertNodes)(Ve)}ne("codeEdit","")})};return(0,R.jsxs)("div",{className:"ccs-editor-toolbar",style:ee,children:[(0,R.jsx)(B.Z,{title:"\u64A4\u9500",children:(0,R.jsx)(U.ZP,{disabled:!se||Ce,onClick:function(){q.dispatchCommand(S.UNDO_COMMAND,void 0)},icon:(0,R.jsx)(y.Z,{}),type:"text"})}),(0,R.jsx)(B.Z,{title:"\u91CD\u505A",children:(0,R.jsx)(U.ZP,{disabled:!ae||Ce,onClick:function(){q.dispatchCommand(S.REDO_COMMAND,void 0)},icon:(0,R.jsx)(_.Z,{}),type:"text"})}),(0,R.jsx)(A.Z,{type:"vertical"}),(0,R.jsx)(B.Z,{title:"\u52A0\u7C97",children:(0,R.jsx)(U.ZP,{disabled:Ce,onClick:function(){Ae("bold")},icon:(0,R.jsx)(m.Z,{}),type:le?"link":"text"})}),(0,R.jsx)(B.Z,{title:"\u659C\u4F53",children:(0,R.jsx)(U.ZP,{disabled:Ce,onClick:function(){Ae("italic")},icon:(0,R.jsx)(p.Z,{}),type:_e?"link":"text"})}),(0,R.jsx)(B.Z,{title:"\u4E0B\u5212\u7EBF",children:(0,R.jsx)(U.ZP,{disabled:Ce,onClick:function(){Ae("underline")},icon:(0,R.jsx)(f.Z,{}),type:me?"link":"text"})}),(0,R.jsx)(B.Z,{title:"\u5220\u9664\u7EBF",children:(0,R.jsx)(U.ZP,{disabled:Ce,onClick:function(){Ae("strikethrough")},icon:(0,R.jsx)(c.Z,{}),type:fe?"link":"text"})}),(0,R.jsx)(A.Z,{type:"vertical"}),(0,R.jsx)(B.Z,{title:"\u5DE6\u5BF9\u9F50",children:(0,R.jsx)(U.ZP,{disabled:Ce,onClick:function(){H("left")},icon:(0,R.jsx)(d.Z,{}),type:"text"})}),(0,R.jsx)(B.Z,{title:"\u4E2D\u95F4\u5BF9\u9F50",children:(0,R.jsx)(U.ZP,{disabled:Ce,onClick:function(){H("center")},icon:(0,R.jsx)(s.Z,{}),type:"text"})}),(0,R.jsx)(B.Z,{title:"\u53F3\u5BF9\u9F50",children:(0,R.jsx)(U.ZP,{disabled:Ce,onClick:function(){H("right")},icon:(0,R.jsx)(a.Z,{}),type:"text"})}),(0,R.jsx)(B.Z,{title:"\u4E24\u6BB5\u5BF9\u9F50",children:(0,R.jsx)(U.ZP,{disabled:Ce,onClick:function(){H("justify")},icon:(0,R.jsx)(i.Z,{}),type:"text"})}),(0,R.jsx)(B.Z,{title:"\u56FE\u7247\u4E0A\u4F20",children:(0,R.jsx)(U.ZP,{type:"text",disabled:Ce,icon:(0,R.jsx)(u.Z,{}),onClick:function(){return ne("isUpload",!0)}})}),(0,R.jsx)(B.Z,{title:De?"\u53D6\u6D88\u8D85\u94FE\u63A5":"\u6DFB\u52A0\u8D85\u94FE\u63A5",children:(0,R.jsx)(U.ZP,{type:"text",icon:De?(0,R.jsx)(t.Z,{}):(0,R.jsx)(r.Z,{}),onClick:function(){return be()},disabled:Ce})}),(0,R.jsx)(A.Z,{type:"vertical"}),(0,R.jsx)(N.default,{value:Be,onChange:function(ye){return Le(ye)},children:(0,R.jsx)(B.Z,{title:"\u5B57\u4F53\u989C\u8272",children:(0,R.jsx)(U.ZP,{disabled:Ce,style:{color:Be},icon:(0,R.jsx)(l.Z,{}),type:"text"})})}),(0,R.jsx)(N.default,{value:Ue,onChange:function(ye){return We(ye)},children:(0,R.jsx)(B.Z,{title:"\u80CC\u666F\u8272",children:(0,R.jsx)(U.ZP,{disabled:Ce,style:{color:Ue},icon:(0,R.jsx)(P.Z,{}),type:"text"})})}),(0,R.jsx)(A.Z,{type:"vertical"}),(0,R.jsx)(B.Z,{title:"\u5B57\u4F53",children:(0,R.jsx)(L.default,{value:Ie,options:Y,variant:"filled",size:"small",onChange:Se,style:{marginRight:6,width:80},popupMatchSelectWidth:200})}),(0,R.jsx)(B.Z,{title:"\u5B57\u4F53\u5927\u5C0F",children:(0,R.jsx)(L.default,{value:xe,options:J,variant:"filled",size:"small",onChange:Te})}),(0,R.jsx)(A.Z,{type:"vertical"}),(0,R.jsx)(U.ZP,{size:"small",type:"text",onClick:function(){q.read(function(){var ye=(0,g.$onGenerateHTML)(q);ne("codeEdit",ye)})},children:"\u6E90\u7801"}),(0,R.jsx)(U.ZP,{size:"small",type:"text",onClick:function(){q.read(function(){var ye=(0,g.$onGenerateHTML)(q);ne("previewHtml",ye)})},children:"\u9884\u89C8"}),ge&&(G==null?void 0:G.uploadRequest)&&(0,R.jsx)(j.default,{onCancel:function(){return ne("isUpload",!1)}}),Ee&&(0,R.jsx)(w,{onOk:ve,onCancel:function(){return ne("isLinkOpen",!1)}}),!!je&&(0,R.jsx)(F.Z,{title:"\u9884\u89C8",width:"100%",open:!0,onClose:function(){return ne("previewHtml","")},children:(0,R.jsx)("div",{dangerouslySetInnerHTML:{__html:je}})}),!!de&&(0,R.jsx)(z.default,{code:de,onOk:Fe,onClose:function(){return ne("codeEdit","")}})]})}},6145:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return k}});var v=e(26068),o=e.n(v),y=e(90228),_=e.n(y),m=e(87999),p=e.n(m),f=e(48305),c=e.n(f),d=e(64276),s=e(34073),a=e(80729),i=e(46960),u=e(54999),t=e(19152),r=e(71794),l=e(75271),P=e(14635),g=e(80882),C=e(92523),O=e(83844),E=e(52676),b=function(x){return x?typeof x=="number"?x+"px":x.endsWith("px")||x.endsWith("%")?x:parseInt(x)+"px":"100%"};function k(M){var x=M.imageProps,D=x===void 0?{urlType:"url"}:x,I=M.onCancel,B=(0,s.useLexicalComposerContext)(),U=c()(B,1),A=U[0],L=(0,l.useContext)(P.EditorRichContext),F=L.imageUpload;function S(){return D.src?D.urlType==="url"?{base64:void 0,url:D.src}:{base64:D.src,url:void 0}:{}}var W=(0,l.useState)(S),T=c()(W,2),K=T[0],N=T[1],$=a.Z.useForm(),z=c()($,1),j=z[0],R=(0,l.useRef)(null),w=function(){var Y=p()(_()().mark(function Z(){var X,ee,te,V,Q,q;return _()().wrap(function(G){for(;;)switch(G.prev=G.next){case 0:return G.next=2,j.validateFields();case 2:if(X=G.sent,ee=X.urlType,te=X.src,V=X.altText,Q=X.height,q=X.width,D.key===void 0){G.next=8;break}return A.update(function(){var re=(0,r.$getNodeByKey)(D.key);re&&(0,O.$isImageNode)(re)&&re.updateData({altText:V,height:b(Q),width:b(q),urlType:ee,src:te})}),I(),G.abrupt("return");case 8:A.dispatchCommand(C.INSERT_IMAGE_COMMAND,{altText:V||"",src:te,width:b(q),height:b(Q)}),I();case 10:case"end":return G.stop()}},Z)}));return function(){return Y.apply(this,arguments)}}();return(0,E.jsx)(E.Fragment,{children:(0,E.jsx)(i.Z,{open:!0,title:"\u56FE\u7247\u4E0A\u4F20",onCancel:I,rootClassName:"ccs-rich-upload",onOk:w,width:550,children:(0,E.jsxs)("div",{style:{display:"flex",gap:16,justifyContent:"center"},children:[(0,E.jsxs)(a.Z,{form:j,labelCol:{span:8},layout:"horizontal",initialValues:D,children:[(0,E.jsx)(a.Z.Item,{name:"urlType",label:"\u52A0\u8F7D\u7C7B\u578B",style:{marginBottom:16},children:(0,E.jsx)(u.ZP.Group,{optionType:"button",options:[{label:"\u94FE\u63A5",value:"url"},{label:"BASE64",value:"base64"}]})}),(0,E.jsx)(d.Z.Item,{name:"src",label:"\u56FE\u7247\u94FE\u63A5",style:{marginBottom:16},simpleRule:"input",children:(0,E.jsx)(t.Z.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u94FE\u63A5"})}),(0,E.jsx)(a.Z.Item,{name:"altText",label:"\u56FE\u7247\u540D\u79F0",style:{marginBottom:16},children:(0,E.jsx)(t.Z,{placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u540D\u79F0"})}),(0,E.jsx)(a.Z.Item,{name:"width",label:"\u56FE\u7247\u5BBD\u5EA6",style:{marginBottom:16},children:(0,E.jsx)(t.Z,{placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u5BBD\u5EA6"})}),(0,E.jsx)(a.Z.Item,{name:"height",label:"\u56FE\u7247\u9AD8\u5EA6",style:{marginBottom:0},children:(0,E.jsx)(t.Z,{placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u9AD8\u5EA6"})}),(0,E.jsx)(a.Z.Item,{shouldUpdate:function(Z,X){return Z.urlType!==X.urlType},children:function(Z){var X=Z.getFieldValue,ee=Z.setFieldValue,te=X("urlType"),V=X("src");return setTimeout(function(){if(te==="base64"){if(K.base64===V)return null;ee("src",K.base64)}if(te==="url"){if(K.url===V)return null;ee("src",K.url)}},1),null}})]}),(0,E.jsx)("div",{style:{flex:"0 0 200px"},children:(0,E.jsx)(g.default.Image,o()(o()({value:D.src},F),{},{onImageInfo:function(Z){var X="".concat((F==null?void 0:F.imageUrl)||"").concat(Z.url);N({base64:Z.base64,url:X});var ee=j.getFieldValue("urlType");j.setFieldValue("altText",Z.name),j.setFieldValue("src",ee==="url"?X:Z.base64)},onChange:function(Z){Z||(j.setFieldsValue({src:"",altText:"",width:"",height:""}),N({}))}}))}),(0,E.jsx)("img",{style:{position:"fixed",visibility:"hidden",top:0,left:0},onLoad:function(){var Z,X;return j.setFieldsValue({width:"".concat((Z=R.current)===null||Z===void 0?void 0:Z.width,"px"),height:"".concat((X=R.current)===null||X===void 0?void 0:X.height,"px")})},ref:R,src:K.base64})]})})})}},40815:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return p}});var v=e(48305),o=e.n(v),y=e(75271),_=e(6145),m=e(52676);function p(f){var c=f.src,d=f.altText,s=f.nodeKey,a=f.width,i=f.height,u=(0,y.useState)(!1),t=o()(u,2),r=t[0],l=t[1],P=function(){l(!0)};return(0,m.jsxs)(m.Fragment,{children:[r&&(0,m.jsx)(_.default,{imageProps:{key:s,src:c,altText:d,width:a,height:i,urlType:c!=null&&c.startsWith("data:image")?"base64":"url"},onCancel:function(){return l(!1)}}),(0,m.jsx)("img",{style:{width:a,height:i},onClick:P,alt:d,src:c,draggable:"false"})]})}},83844:function(h,n,e){"use strict";e.r(n),e.d(n,{$createImageNode:function(){return g},$isImageNode:function(){return O},ImageNode:function(){return P}});var v=e(25298),o=e.n(v),y=e(17069),_=e.n(y),m=e(62657),p=e.n(m),f=e(21742),c=e.n(f),d=e(83136),s=e.n(d),a=e(82092),i=e.n(a),u=e(71794),t=e(75271),r=e(52676),l=t.lazy(function(){return Promise.resolve().then(e.bind(e,40815))}),P=function(E){c()(k,E);var b=s()(k);function k(M,x,D,I,B){var U;return o()(this,k),U=b.call(this,B),i()(p()(U),"__src",void 0),i()(p()(U),"__altText",void 0),i()(p()(U),"__width",void 0),i()(p()(U),"__height",void 0),U.__src=M,U.__altText=x,U.__width=D||"inherit",U.__height=I||"inherit",U}return _()(k,[{key:"exportJSON",value:function(){return{altText:this.__altText,height:this.__height,src:this.__src,width:this.__width,type:"image",version:1}}},{key:"exportDOM",value:function(){var x=document.createElement("img");return x.setAttribute("src",this.__src),x.setAttribute("alt",this.__altText),this.__width&&x.setAttribute("width",this.__width.toString()),this.__height&&x.setAttribute("height",this.__height.toString()),{element:x}}},{key:"createDOM",value:function(x){var D=document.createElement("span"),I=x.theme,B=I.image;return B!==void 0&&(D.className=B),D}},{key:"updateDOM",value:function(){return!1}},{key:"updateData",value:function(x){var D=this.getWritable();D.__width=x.width,D.__height=x.height,D.__src=x.src,D.__altText=x.altText}},{key:"decorate",value:function(){return(0,r.jsx)(t.Suspense,{fallback:null,children:(0,r.jsx)(l,{src:this.__src,altText:this.__altText,width:this.__width,height:this.__height,nodeKey:this.getKey()})})}}],[{key:"getType",value:function(){return"image"}},{key:"clone",value:function(x){return new k(x.__src,x.__altText,x.__width,x.__height,x.__key)}},{key:"importJSON",value:function(x){var D=x.altText,I=x.height,B=x.width,U=x.src;return new k(U,D,B,I)}},{key:"importDOM",value:function(){return{img:function(){return{conversion:C,priority:0}}}}}]),k}(u.DecoratorNode);function g(E){var b=E.altText,k=E.height,M=E.src,x=E.width;return new P(M,b,x,k)}function C(E){if(E instanceof HTMLImageElement){var b=E.alt,k=E.src,M=E.width,x=E.height,D=g({altText:b,height:x,src:k,width:M});return{node:D}}return null}function O(E){return E instanceof P}},92523:function(h,n,e){"use strict";e.r(n),e.d(n,{INSERT_IMAGE_COMMAND:function(){return f},UPDATE_IMAGE_COMMAND:function(){return c},default:function(){return d}});var v=e(48305),o=e.n(v),y=e(34073),_=e(71794),m=e(75271),p=e(83844),f=(0,_.createCommand)("INSERT_IMAGE_COMMAND"),c=(0,_.createCommand)("UPDATE_IMAGE_COMMAND");function d(){var s=(0,y.useLexicalComposerContext)(),a=o()(s,1),i=a[0];return(0,m.useEffect)(function(){i.registerCommand(f,function(u){var t=(0,p.$createImageNode)(u);return(0,_.$insertNodes)([t]),!0},_.COMMAND_PRIORITY_EDITOR)},[i]),null}},13273:function(h,n,e){"use strict";e.r(n);var v=e(48305),o=e.n(v),y=e(63552),_=e(34073),m=e(71794),p=e(75271),f=function(d){var s=d.value,a=(0,_.useLexicalComposerContext)(),i=o()(a,1),u=i[0];return(0,p.useEffect)(function(){u.update(function(){var t=(0,y.$generateHtmlFromNodes)(u,null);if(s!==t){var r=new DOMParser,l=r.parseFromString(s||"","text/html"),P=(0,y.$generateNodesFromDOM)(u,l);(0,m.$getRoot)().clear(),(0,m.$getRoot)().select(),(0,m.$insertNodes)(P)}})},[u,s]),null};n.default=f},48666:function(h,n,e){"use strict";e.r(n),e.d(n,{$onGenerateHTML:function(){return f}});var v=e(1775),o=e(5590),y=e(78608),_=e(71794),m=e(83844);function p(c){return c.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}function f(c){var d="";function s(a){if((0,_.$isTextNode)(a)){var i=p(a.getTextContent());return a.hasFormat("bold")&&(i="<strong>".concat(i,"</strong>")),a.hasFormat("italic")&&(i="<em>".concat(i,"</em>")),a.hasFormat("underline")&&(i="<u>".concat(i,"</u>")),a.hasFormat("strikethrough")&&(i="<s>".concat(i,"</s>")),a.hasFormat("code")&&(i="<code>".concat(i,"</code>")),i}if((0,m.$isImageNode)(a)){var u=a.__width,t=a.__height,r=a.__altText,l=a.__src;return typeof u=="number"&&(u="".concat(u,"px")),typeof t=="number"&&(t="".concat(t,"px")),'<img src="'.concat(l,'" alt="').concat(r,'" width="').concat(u,'" height="').concat(t,'" />')}if((0,_.$isElementNode)(a)){var P,g=a.getChildren(),C=g.map(function(M){return s(M)}).join(""),O=((P=a.getFormatType)===null||P===void 0?void 0:P.call(a))||"",E=O?' style="text-align: '.concat(O,';"'):"";if((0,_.$isParagraphNode)(a))return"<p".concat(E,">").concat(C,`</p>
7
- `);if((0,y.$isHeadingNode)(a)){var b=a.getTag();return"<".concat(b).concat(E,">").concat(C,"</").concat(b,`>
8
- `)}if((0,y.$isQuoteNode)(a))return"<blockquote".concat(E,">").concat(C,`</blockquote>
9
- `);if((0,o.$isListNode)(a)){var k=a.getListType()==="bullet"?"ul":"ol";return"<".concat(k,">").concat(C,"</").concat(k,`>
10
- `)}return(0,o.$isListItemNode)(a)?"<li".concat(E,">").concat(C,`</li>
11
- `):(0,v.$isLinkNode)(a)?'<a href="'.concat(a.__url,'""').concat(a.__target==="_blank"?' target="_blank"':"").concat(a.__title?' title="'.concat(a.__title,'"'):"",">").concat(C,"</a>"):a.getType()==="root"?C:"<div".concat(E,">").concat(C,`</div>
12
- `)}return""}return c.getEditorState().read(function(){var a=(0,_.$getRoot)();d=s(a)}),d}},80932:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return D}});var v=e(67825),o=e.n(v),y=e(26068),_=e.n(y),m=e(48305),p=e.n(m),f=e(15558),c=e.n(f),d=e(1775),s=e(5590),a=e(78608),i=e(71794),u=e(14635),t=e(24181),r=e(83844),l=e(13273),P=e(48666),g=e(2978),C=e(52676),O=["value","onChange"],E=function(B,U){var A=U.exportDOM(B);if(A&&(0,i.isHTMLElement)(A.element))for(var L=0,F=[A.element].concat(c()(A.element.querySelectorAll("[style],[class]")));L<F.length;L++){var S=F[L];S.removeAttribute("class"),S.removeAttribute("style")}return A},b=new Map([[i.ParagraphNode,E],[i.TextNode,E]]),k=function(B){var U="",A=(0,t.parseAllowedFontSize)(B.style.fontSize),L=(0,t.parseAllowedColor)(B.style.backgroundColor),F=(0,t.parseAllowedColor)(B.style.color);return A!==""&&A!=="15px"&&(U+="font-size: ".concat(A,";")),L!==""&&L!=="rgb(255, 255, 255)"&&(U+="background-color: ".concat(L,";")),F!==""&&F!=="rgb(0, 0, 0)"&&(U+="color: ".concat(F,";")),U},M=function(){for(var B={},U=function(){var S=p()(L[A],2),W=S[0],T=S[1];B[W]=function(K){var N=T(K);return N?_()(_()({},N),{},{conversion:function(z){var j=N.conversion(z);if(j===null||j.forChild===void 0||j.after!==void 0||j.node!==null)return j;var R=k(z);if(R){var w=j.forChild;return _()(_()({},j),{},{forChild:function(Z,X){var ee=w(Z,X);return(0,i.$isTextNode)(ee)&&ee.setStyle(ee.getStyle()+R),ee}})}return j}}):null}},A=0,L=Object.entries(i.TextNode.importDOM()||{});A<L.length;A++)U();return B},x={html:{export:b,import:M()},namespace:"EditorRich",nodes:[i.ParagraphNode,i.TextNode,r.ImageNode,a.HeadingNode,a.QuoteNode,s.ListNode,s.ListItemNode,d.LinkNode],onError:function(B){throw B},theme:g.default};function D(I){var B=I.value,U=I.onChange,A=o()(I,O),L=function(S,W){S.read(function(){var T=(0,P.$onGenerateHTML)(W);return U==null?void 0:U(T)})};return(0,C.jsx)(u.default,_()(_()({editorConfig:x},A),{},{onChange:L,plugins:(0,C.jsx)(l.default,{value:B})}))}},2978:function(h,n,e){"use strict";e.r(n),n.default={code:"editor-code",heading:{h1:"editor-heading-h1",h2:"editor-heading-h2",h3:"editor-heading-h3",h4:"editor-heading-h4",h5:"editor-heading-h5"},image:"editor-image",link:"editor-link",list:{listitem:"editor-listitem",nested:{listitem:"editor-nested-listitem"},ol:"editor-list-ol",ul:"editor-list-ul"},paragraph:"editor-paragraph",placeholder:"editor-placeholder",quote:"editor-quote",text:{bold:"editor-text-bold",code:"editor-text-code",hashtag:"editor-text-hashtag",italic:"editor-text-italic",overflowed:"editor-text-overflowed",strikethrough:"editor-text-strikethrough",underline:"editor-text-underline",underlineStrikethrough:"editor-text-underlinetrikethrough"},ltr:"editor-ltr",rtl:"editor-rtl"}},24605:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return p}});var v=e(26068),o=e.n(v),y=e(34887),_=e(29175),m=e(52676);function p(f){return(0,m.jsx)(_.default,o()(o()({},f),{},{extensions:[(0,y.sql)()]}))}},39445:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return p}});var v=e(26068),o=e.n(v),y=e(8689),_=e(29175),m=e(52676);function p(f){return(0,m.jsx)(_.default,o()(o()({},f),{},{extensions:[(0,y.xml)()]}))}},53056:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return p}});var v=e(26068),o=e.n(v),y=e(24365),_=e(29175),m=e(52676);function p(f){return(0,m.jsx)(_.default,o()(o()({},f),{},{extensions:[(0,y.yaml)()]}))}},37293:function(h,n,e){"use strict";e.r(n)},64276:function(h,n,e){"use strict";e.d(n,{Z:function(){return m}});var v=e(64017),o=e(14894),y=e(52676);function _(){return(0,y.jsx)(y.Fragment,{})}_.Item=v.default,_.List=o.default;var m=_},64017:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return r}});var v=e(26068),o=e.n(v),y=e(48305),_=e.n(y),m=e(67825),p=e.n(m),f=e(19842),c=e(80729),d=e(75271),s=e(65173),a=e(52676),i=["mb","name","rules","children","simpleRule","isGroupName","showValidate","shouldUpdateNames","style"],u=function(P){var g=P.name,C=P.getFieldsValue,O=P.setFieldValue,E=P.getFieldValue,b=P.names,k=E(g);return(0,d.useEffect)(function(){var M=C(!0),x=[];if(b.forEach(function(I){x.push((0,s.getDataByNamePath)(M,I))}),x.filter(function(I){return I!==void 0}).length>0){O(g,x);return}var D=(0,s.getDataByNamePath)(M,g);Array.isArray(D)&&b.forEach(function(I,B){O(I,D[B])})},[]),(0,f.Z)(function(){setTimeout(function(){b.forEach(function(M,x){O(M,Array.isArray(k)?k[x]:void 0)})},1)},[k]),null};function t(l,P){var g=typeof P!="string"?"":P;return l==="select"?{required:!0,message:"\u8BF7\u9009\u62E9".concat(g)}:l==="input"?{required:!0,message:"\u8BF7\u8F93\u5165".concat(g)}:l==="email"?{required:!0,message:"".concat(g||"\u90AE\u7BB1","\u975E\u6CD5"),pattern:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/}:l==="phone"?{required:!0,message:"".concat(g||"\u7535\u8BDD\u53F7\u7801","\u975E\u6CD5"),pattern:/^1[3-9]\d{9}$/}:l==="idcard"?function(){return{validator:function(O,E){return(0,s.isValidCard)(E)?Promise.resolve():Promise.reject(new Error("".concat(g||"\u8EAB\u4EFD\u8BC1\u53F7\u7801","\u975E\u6CD5")))}}}:l==="url"?function(){return{validator:function(O,E){return(0,s.isUrl)(E)?Promise.resolve():Promise.reject(new Error("".concat(g||"URL","\u975E\u6CD5")))}}}:l instanceof RegExp?{required:!0,message:"".concat(g||"\u5185\u5BB9","\u975E\u6CD5"),pattern:l}:{required:!0}}function r(l){var P,g=l.mb,C=l.name,O=l.rules,E=l.children,b=l.simpleRule,k=l.isGroupName,M=l.showValidate,x=l.shouldUpdateNames,D=l.style,I=p()(l,i),B=k&&Array.isArray(C)&&C.length>0,U=(0,d.useState)(B?"_".concat(C==null||(P=C.join("And"))===null||P===void 0?void 0:P.replace(/[^a-zA-Z]/g,""),"_"):C),A=_()(U,1),L=A[0],F=(0,d.useMemo)(function(){var T=O||[];return b&&(Array.isArray(b)?b.forEach(function(K){return T.push(t(K,I.label))}):T.push(t(b,I.label))),T},[b,O]),S=(0,d.useMemo)(function(){var T={};return g!==void 0&&(T.marginBottom=g),o()(o()({},T),D)},[]),W=B?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.Z.Item,{noStyle:!0,shouldUpdate:function(K,N){return(0,s.getDataByNamePath)(K,L)!==(0,s.getDataByNamePath)(N,L)},children:function(K){var N=K.getFieldsValue,$=K.setFieldValue,z=K.getFieldValue;return(0,a.jsx)(u,{getFieldsValue:N,setFieldValue:$,getFieldValue:z,names:C,name:L})}}),C.map(function(T,K){return(0,a.jsx)(r,{noStyle:!0,name:T,hidden:!0},K)})]}):null;return x?(0,a.jsx)(c.Z.Item,{noStyle:!0,shouldUpdate:function(K,N){return Array.isArray(x)?x.some(function($){return(0,s.getDataByNamePath)(K,$)!==(0,s.getDataByNamePath)(N,$)}):!1},children:function(K){var N=x.map(function($){return K.getFieldValue($)});return M&&!M(N)?null:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(c.Z.Item,o()(o()({rules:F,name:L,style:S},I),{},{children:[d.isValidElement(E)&&d.cloneElement(E,{changes:N}),typeof E=="function"&&E(o()(o()({},K),{},{changes:N}))]})),W]})}}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.Z.Item,o()(o()({name:L,rules:F,style:S},I),{},{children:E})),W]})}},14894:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return M}});var v=e(26068),o=e.n(v),y=e(90228),_=e.n(y),m=e(87999),p=e.n(m),f=e(67825),c=e.n(f),d=e(84816),s=e(64341),a=e(17114),i=e(16929),u=e(80729),t=e(18466),r=e(82187),l=e.n(r),P=e(75271),g=e(59881),C=e.n(g),O=e(52676),E=["name","max","min","addBtn","label","isDrag","renderItem"],b=["key"],k=["className","style"];function M(x){var D=x.name,I=x.max,B=x.min,U=x.addBtn,A=U===void 0?"\u6DFB\u52A0\u9879":U,L=x.label,F=x.isDrag,S=x.renderItem,W=c()(x,E),T=i.Z.useToken(),K=T.token.colorTextDescription,N=(0,O.jsx)(u.Z.List,{name:D,rules:[{validator:function(){var $=p()(_()().mark(function j(R,w){return _()().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:if(!(B!==void 0&&(!w||w.length<B))){Z.next=2;break}return Z.abrupt("return",Promise.reject(new Error("\u9009\u9879\u4E0D\u80FD\u5C11\u4E8E".concat(B,"\u4E2A"))));case 2:if(!(I!==void 0&&(!w||w.length>I))){Z.next=4;break}return Z.abrupt("return",Promise.reject(new Error("\u9009\u9879\u4E0D\u80FD\u5927\u4E8E".concat(I,"\u4E2A"))));case 4:case"end":return Z.stop()}},j)}));function z(j,R){return $.apply(this,arguments)}return z}()}],children:function(z,j,R){var w=j.add,Y=j.remove,Z=j.move,X=R.errors,ee=z.map(function(te){var V=te.key,Q=c()(te,b);return(0,O.jsx)(P.Fragment,{children:S({remove:Y,nameIndex:Q.name,RemoveButtom:function(ie){return(0,O.jsx)(t.ZP,o()({onClick:function(){return Y(Q.name)},type:"text",icon:(0,O.jsx)(d.Z,{style:{color:K}})},ie))},DragButtom:function(ie){var G=ie.className,re=ie.style,oe=c()(ie,k);return(0,O.jsx)(t.ZP,o()(o()({type:"text",icon:(0,O.jsx)(s.Z,{style:{color:K}})},oe),{},{className:l()("ccs-drag-handle-btn",G),style:o()({cursor:"move"},re)}))}})},V)});return(0,O.jsxs)(O.Fragment,{children:[F?(0,O.jsx)(g.ReactSortable,{handle:".ccs-drag-handle-btn",list:z,onEnd:function(V){var Q=V.oldIndex,q=V.newIndex;Q!==void 0&&q!==void 0&&Z(Q,q)},setList:function(){},animation:200,ghostClass:"ccs-form-drag-ghost",chosenClass:"ccs-form-drag-chosen",children:ee}):ee,P.isValidElement(A)?P.cloneElement(A,{onClick:function(){return w({})}}):(0,O.jsx)(t.ZP,{type:"dashed",onClick:function(){return w({})},icon:(0,O.jsx)(a.Z,{}),children:A}),(0,O.jsx)(u.Z.ErrorList,{errors:X})]})}});return L?(0,O.jsx)(u.Z.Item,o()(o()({label:L},W),{},{children:N})):N}},81475:function(h,n,e){"use strict";e.r(n),e.d(n,{useBaseFields:function(){return f},useProTableFields:function(){return p}});var v=e(26068),o=e.n(v),y=e(75271),_=e(56973),m=function(){var d=(0,y.useContext)(_.AppConfigContext);if(d===void 0)throw new Error("AppConfigContext not found \u672A\u5168\u5C40\u4F7F\u7528 CcsAppConfig");return d},p=function(){var d,s=(0,y.useContext)(_.AppConfigContext)||{};return o()({dataSource:["data","result"],total:["data","totalNum"],requestParam:{pageNo:["pageNo"],pageSize:["pageSize"],filters:["filters"],orderProps:["orderProps"],query:["query"]}},s==null||(d=s.fieldNames)===null||d===void 0?void 0:d.page)},f=function(){var d,s=(0,y.useContext)(_.AppConfigContext)||{};return o()({success:["success"],successTag:!0,msg:["msg"],data:["data"]},s==null||(d=s.fieldNames)===null||d===void 0?void 0:d.base)};n.default=m},50796:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return f}});var v=e(26068),o=e.n(v),y=e(48305),_=e.n(y),m=e(16929),p=e(75271);function f(c){var d=c.height,s=c.styles,a=c.variant,i=a===void 0?"outlined":a,u=c.size,t=u===void 0?"middle":u,r=c.theme,l=(0,p.useState)(!1),P=_()(l,2),g=P[0],C=P[1],O=m.Z.useToken(),E=O.token,b=(0,p.useMemo)(function(){var k,M,x,D,I,B,U,A,L={small:{paddingBlock:((k=E.Input)===null||k===void 0?void 0:k.paddingBlock)||0,paddingInline:((M=E.Input)===null||M===void 0?void 0:M.paddingInline)||7},middle:{paddingBlock:((x=E.Input)===null||x===void 0?void 0:x.paddingBlock)||4,paddingInline:((D=E.Input)===null||D===void 0?void 0:D.paddingInline)||11},large:{paddingBlock:((I=E.Input)===null||I===void 0?void 0:I.paddingBlock)||7,paddingInline:((B=E.Input)===null||B===void 0?void 0:B.paddingInline)||11}},F={overflow:"hidden",borderRadius:E.borderRadius,borderColor:g?((U=E.Input)===null||U===void 0?void 0:U.hoverBorderColor)||E.colorInfoHover:E.colorBorder,borderWidth:E.lineWidth,borderStyle:E.lineType,boxShadow:g?((A=E.Input)===null||A===void 0?void 0:A.activeShadow)||E.boxShadowTertiary:"none"};i==="filled"&&(F.background=E.colorFillTertiary,F.borderColor="transparent"),i==="borderless"&&(F.borderColor="transparent"),i==="underlined"&&(F.borderColor="transparent transparent ".concat(E.colorBorder," transparent"),F.borderRadius=0);var S={padding:"".concat(L[t].paddingBlock,"px ").concat(L[t].paddingInline,"px")};d&&(F.height=typeof d=="number"?"".concat(d,"px"):d,F.overflow="hidden");var W={borderBottom:"".concat(E.lineWidth,"px ").concat(E.lineType," ").concat(i==="outlined"?E.colorBorder:"transparent")},T={top:L[t].paddingBlock,left:L[t].paddingInline,color:E.colorTextPlaceholder};return{root:o()(o()({},F),s==null?void 0:s.root),inner:o()(o()({},S),s==null?void 0:s.inner),background:E.colorBgContainer,toolbarStyles:W,placeholderStyles:T}},[i,g,s,r]);return{styles:b,onActived:C}}},85289:function(h,n,e){"use strict";e.r(n),e.d(n,{useInsertCss:function(){return p}});var v=e(89486),o=e.n(v),y=e(75271),_=e(81475),m={};function p(f,c){var d=(0,_.default)()||{},s=d.antConfig,a=(s==null?void 0:s.prefixCls)||"ant";(0,y.useEffect)(function(){if(!m[f]){m[f]=!0;var i=c(a)||[];(0,v.insertCss)(i.join(""))}},[])}},31248:function(h,n,e){"use strict";e.r(n);var v=e(75271),o=function(_){var m=(0,v.useRef)(!1),p=function(){if(!m.current){for(var c=arguments.length,d=new Array(c),s=0;s<c;s++)d[s]=arguments[s];_(d),m.current=!0}};return p};n.default=o},94127:function(h,n,e){"use strict";e.r(n);var v=e(75271),o=e(56973),y=function(){var m=(0,v.useContext)(o.PageContext);if(m===void 0)throw new Error("PageContext not found");return m};n.default=y},70896:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return r}});var v=e(26068),o=e.n(v),y=e(48305),_=e.n(y),m=e(67825),p=e.n(m),f=e(31759),c=e.n(f),d=e(13443),s=e(19842),a=e(75271),i=["value","type","defaultRows","keyField","onChangeRows","onChange"];function u(l,P){var g=l!=null?l:[],C=P!=null?P:[];return Array.isArray(g)||(g=[g]),JSON.stringify(g)!==JSON.stringify(C)}function t(l,P){return l===void 0?l:Array.isArray(l)?l.map(function(g){return c()(g)==="object"?g[P]:g}):c()(l)==="object"?l[P]:[l]}function r(l){var P=l||{},g=P.value,C=P.type,O=C===void 0?"checkbox":C,E=P.defaultRows,b=P.keyField,k=b===void 0?"key":b,M=P.onChangeRows,x=P.onChange,D=p()(P,i),I=(0,a.useState)({}),B=_()(I,2),U=B[1],A=(0,a.useRef)({selectedRowKeys:t(g,k),selectedRows:E,info:{type:"none"}}),L=O==="checkbox",F=(0,d.Z)(function(){var T=A.current,K=T.selectedRowKeys,N=K===void 0?[]:K,$=T.selectedRows,z=$===void 0?[]:$;L?x==null||x(N,z):x==null||x(N[0],z[0]),M==null||M(z||[]),x||U({})});(0,a.useEffect)(function(){E&&!A.current.selectedRows&&(A.current.selectedRows=E,M&&M(E),U({}))},[E]),(0,s.Z)(function(){var T=t(g,k);if(u(T,A.current.selectedRowKeys)){var K,N=(K=A.current.selectedRows)===null||K===void 0?void 0:K.filter(function(){var $,z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return($=T||[])===null||$===void 0?void 0:$.includes(z[k])});A.current={selectedRowKeys:T===void 0&&L?[]:T,selectedRows:N,info:{type:"none"}},U({})}},[g]);var S=(0,d.Z)(function(T,K,N){A.current={selectedRowKeys:T,selectedRows:K,info:N},E&&E.length>0&&K.forEach(function($,z){if(!$){var j=E.find(function(R){return R[k]===T[z]});j&&(K[z]=j)}}),F()}),W=(0,d.Z)(function(T){if(!T)A.current={selectedRowKeys:[],selectedRows:[],info:{type:"none"}};else{var K=A.current,N=K.selectedRowKeys,$=N===void 0?[]:N,z=K.selectedRows,j=z===void 0?[]:z,R=j.filter(function(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Y[k]!==T}),w=$.filter(function(Y){return Y!==T});A.current={selectedRowKeys:w,selectedRows:R,info:{type:"none"}}}F()});return o()(o()(o()({},A.current),{},{onChange:S,onClear:W,type:O},D),{},{onClearByProTable:W})}},60136:function(h,n,e){"use strict";e.r(n);var v=e(75271),o=e(56973),y=function(){var m=(0,v.useContext)(o.TabsContext);if(m===void 0)throw new Error("TabsContext not found");return m};n.default=y},52892:function(h,n,e){"use strict";e.r(n);var v=e(75271),o=e(56973),y=function(){var m=(0,v.useContext)(o.DrawerAndModalContext);if(m===void 0)throw new Error("DrawerAndModalContext not found");return m};n.default=y},39203:function(h,n,e){"use strict";e.r(n),e.d(n,{CcsAjCaptcha:function(){return v.default},CcsAppConfig:function(){return c.default},CcsAtom:function(){return o.default},CcsAuth:function(){return _.default},CcsButton:function(){return m.default},CcsCascader:function(){return p.default},CcsColorPicker:function(){return f.default},CcsDatePicker:function(){return d.default},CcsDialog:function(){return s.default},CcsEditor:function(){return a.default},CcsForm:function(){return i.Z},CcsFullScreenButton:function(){return y.default},CcsIntervalButton:function(){return C.default},CcsKeepAliveTabs:function(){return O.default},CcsLoading:function(){return b.default},CcsProTable:function(){return k.default},CcsProTabs:function(){return M.default},CcsResult:function(){return x.default},CcsSelect:function(){return D.default},CcsSinglePage:function(){return E.default},CcsStatusTag:function(){return I.default},CcsTable:function(){return B.Z},CcsTimePicker:function(){return U.default},CcsUpload:function(){return A.default},CcsWaterMark:function(){return L.default},useAppConfig:function(){return u.default},useCcsOnceEvent:function(){return t.default},useCcsPage:function(){return r.default},useCcsTabs:function(){return P.default},useCcsWindow:function(){return g.default},useTableSelection:function(){return l.default}});var v=e(12648),o=e(32097),y=e(93238),_=e(1444),m=e(668),p=e(97681),f=e(35030),c=e(88686),d=e(86247),s=e(50712),a=e(81777),i=e(64276),u=e(81475),t=e(31248),r=e(94127),l=e(70896),P=e(60136),g=e(52892),C=e(72371),O=e(19330),E=e(48547),b=e(67889),k=e(76098),M=e(32813),x=e(68296),D=e(18437),I=e(98708),B=e(73946),U=e(71973),A=e(80882),L=e(1130),F=e(16652);n.default=F},72371:function(h,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(90228),_=e.n(y),m=e(87999),p=e.n(m),f=e(48305),c=e.n(f),d=e(67825),s=e.n(d),a=e(75250),i=e(18466),u=e(75271),t=e(52676),r=["num","cacheKey","disabledText","children"];function l(P,g){var C=P.num,O=C===void 0?60:C,E=P.cacheKey,b=P.disabledText,k=P.children,M=s()(P,r),x=(0,u.useState)(-1),D=c()(x,2),I=D[0],B=D[1],U=(0,u.useState)(null),A=c()(U,2),L=A[0],F=A[1],S=(0,u.useMemo)(function(){return E||window.location.host},[]);(0,u.useLayoutEffect)(function(){var K=function(){var N=p()(_()().mark(function $(){var z,j,R,w;return _()().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:return Z.next=2,localStorage.getItem(S);case 2:if(z=Z.sent,!z){Z.next=11;break}if(j=JSON.parse(z),R=new Date().getTime(),w=Math.round((R-j.time)/1e3),!(w<j.num)){Z.next=11;break}return B(j.num-w),F(1e3),Z.abrupt("return");case 11:B(O);case 12:case"end":return Z.stop()}},$)}));return function(){return N.apply(this,arguments)}}();K()},[]),(0,a.Z)(function(){if(I-1===0){F(null),B(O),S&&localStorage.removeItem(S);return}B(I-1)},L,{immediate:!0});var W=I!==0&&I!==O,T=function(){F(1e3),S&&localStorage.setItem(S,JSON.stringify({num:O,time:new Date().getTime()}))};return(0,u.useImperativeHandle)(g,function(){return{onStart:T}}),I===-1?null:(0,t.jsx)(i.ZP,o()(o()({type:"primary"},M),{},{onClick:M.onClick?M.onClick:T,disabled:M.disabled?!0:W,children:W?"".concat(I,"\u79D2").concat(b):"".concat(k)}))}n.default=(0,u.forwardRef)(l)},3460:function(){},19330:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return z},findMenusByUrl:function(){return N}});var v=e(82092),o=e.n(v),y=e(26068),_=e.n(y),m=e(90228),p=e.n(m),f=e(87999),c=e.n(f),d=e(15558),s=e.n(d),a=e(31759),i=e.n(a),u=e(335),t=e.n(u),r=e(34443),l=e(68144),P=e(37208),g=e(19842),C=e(13443),O=e(15574),E=e(18466),b=e(50068),k=e(82187),M=e.n(k),x=e(85899),D=e.n(x),I=e(75271),B=e(5791),U=e(81475),A=e(68296),L=e(85289),F=e(77511),S=e(52676),W=[{key:"1",label:"\u5173\u95ED\u5176\u4ED6\u6807\u7B7E"},{key:"2",label:"\u5173\u95ED\u6240\u6709\u6807\u7B7E"}],T=[];function K(j,R){if(Array.isArray(j)){var w=t()(j),Y;try{for(w.s();!(Y=w.n()).done;){var Z=Y.value,X=K(Z,R);if(X)return X}}catch(q){w.e(q)}finally{w.f()}}else if(i()(j)==="object"&&j!==null){if(j.key===R&&(!j.children||j.children.length===0))return j;if(j.children&&j.children.length>0){var ee=t()(j.children),te;try{for(ee.s();!(te=ee.n()).done;){var V=te.value,Q=K(V,R);if(Q)return Q}}catch(q){ee.e(q)}finally{ee.f()}}}return null}function N(j,R){var w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(Array.isArray(j)){var Y=t()(j),Z;try{for(Y.s();!(Z=Y.n()).done;){var X=Z.value,ee=N(X,R,w);if(ee)return ee}}catch(re){Y.e(re)}finally{Y.f()}}else if(i()(j)==="object"&&j!==null){var te;if(j.url===R||(te=j.url)!==null&&te!==void 0&&te.includes("?")&&j.url.split("?")[0]===R)return[].concat(s()(w),[j]);if(j.children&&j.children.length>0){var V=[].concat(s()(w),[j]),Q=t()(j.children),q;try{for(Q.s();!(q=Q.n()).done;){var ie=q.value,G=N(ie,R,V);if(G)return G}}catch(re){Q.e(re)}finally{Q.f()}}}return null}function $(j){var R=j.maxLen,w=R===void 0?10:R,Y=j.appName,Z=j.history,X=j.menuItems,ee=X===void 0?[]:X,te=j.className,V=(0,I.useRef)([]),Q=(0,B.useLocation)(),q=Q.pathname,ie=(0,B.useOutlet)(),G=(0,P.Z)(),re=(0,U.default)(),oe=re.theme,ne=oe==="dark";(0,L.useInsertCss)("keep-alive",function(de){return[".ccs-tabs-auto-height > .".concat(de,`-tabs-content-holder,
13
- .ccs-tabs-auto-height > .`).concat(de,"-tabs-content-holder > .").concat(de,`-tabs-content,
14
- .ccs-tabs-auto-height > .`).concat(de,"-tabs-content-holder > .").concat(de,`-tabs-content > div,
15
- .ccs-tabs-auto-height> .`).concat(de,"-tabs-content-holder> .").concat(de,"-tabs-content> div> .ccs-pl { height: 100%;}"),".ccs-keep-alive-nav .".concat(de,"-tabs-tab {border: 0 !important;border-radius: 0 !important;}"),".ccs-keep-alive-nav .".concat(de,"-tabs-tab-active {background-color: #f0f2f5 !important;}"),".ccs-keep-alive .dark .ccs-keep-alive-nav .".concat(de,"-tabs-tab-active {background-color: #2b2c2c !important;} ")]}),V.current.length>=w&&(V.current=V.current.slice(1)),(0,g.Z)(function(){V.current.forEach(function(de){var pe,Te=K(ee,de.menuKey);de.urlAuthList=(Te==null||(pe=Te.btnAuth)===null||pe===void 0?void 0:pe.map(function(Se){return Se.code}))||[]}),G()},[ee]);var ae=(0,I.useMemo)(function(){var de=N(ee,q)||[],pe=de==null?void 0:de.at(-1);setTimeout(function(){document.title="".concat((pe==null?void 0:pe.label)||(pe==null?void 0:pe.url)," - ").concat(Y)},10);var Te=function(){var Le=c()(p()().mark(function We(){var Ae;return p()().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:if(T.length){J.next=7;break}return J.next=3,l.default.getStroage("_ROUTE_HISTORY");case 3:if(J.t0=J.sent,J.t0){J.next=6;break}J.t0=[];case 6:T=J.t0;case 7:Ae=T.findIndex(function(ce){return ce.pathName===q}),Ae>-1&&T.splice(Ae,1),T.unshift({pathName:q,menuName:(pe==null?void 0:pe.label)||"",time:new Date}),l.default.setStroage("_ROUTE_HISTORY",T);case 11:case"end":return J.stop()}},We)}));return function(){return Le.apply(this,arguments)}}();pe&&Te();var Se=de.map(function(Le){return{key:Le.key,title:Le.label}});return Se.unshift({key:"-1",title:"\u9996\u9875"}),_()(_()({},pe),{},{breadcrumb:Se})},[q]),se=Q.key,le=V.current.findIndex(function(de){return de.pageLocation.pathname===q});if(le>-1){var _e=V.current[le];_e.pageLocation.search!==Q.search||l.default.jsonStringify(_e.pageLocation.state)!==l.default.jsonStringify(Q.state)?V.current=D()(V.current,o()({},le,{key:{$set:Q.key},pageLocation:{$set:Q}})):se=_e.pageLocation.key}else{var me=ae||{},fe=me.btnAuth,ge=fe===void 0?[]:fe,Ee=me.breadcrumb,De=Ee===void 0?[]:Ee,xe=ae.key!==void 0;V.current=D()(V.current,{$push:[{key:Q.key,label:(ae==null?void 0:ae.label)||"\u672A\u77E5",outlet:xe?ie:(0,S.jsx)(A.default.Page404,{title:"\u672A\u77E5\u9875\u9762"}),urlAuthList:ge.map(function(de){return de.code}),breadcrumb:xe?De:[],pageLocation:Q,menuKey:(ae==null?void 0:ae.key)||""}]})}var Ie=(0,I.useCallback)(function(de){var pe=V.current.find(function(Ae){return Ae.key===de});if(pe){var Te=pe.pageLocation,Se=Te.pathname,Le=Te.state,We=Te.search;Z.push("".concat(Se).concat(We),Le)}},[]),Be=(0,C.Z)(function(de){var pe=V.current.findIndex(function(Se){return Se.key===de}),Te=V.current[pe];if(pe>=0){if(V.current=D()(V.current,{$splice:[[pe,1]]}),Te.key!==de){G();return}if(V.current.length===0){Z.push("/");return}if(pe===V.current.length){Ie(V.current[pe-1].key);return}Ie(V.current[pe].key)}}),Ue=(0,I.useCallback)(function(de){de==="1"?(V.current=V.current.filter(function(pe){return pe.key===q}),G()):(V.current=[],Z.push("/"))},[]),je=(0,S.jsx)(O.Z,{menu:{items:W,onClick:function(pe){Ue(pe.key)}},placement:"bottomRight",children:(0,S.jsx)(E.ZP,{icon:(0,S.jsx)(r.Z,{}),type:"text"})});return(0,S.jsxs)("div",{className:M()(te,"ccs-keep-alive"),children:[(0,S.jsx)(b.Z,{id:"keep-alive-tabs",hideAdd:!0,size:"small",onChange:Ie,className:M()("ccs-keep-alive-tabs",o()({},"dark",ne)),activeKey:se,type:"editable-card",onEdit:function(pe){return Be(pe)},items:V.current,tabBarExtraContent:V.current.length>2?je:null,tabBarStyle:{margin:0},renderTabBar:function(pe,Te){return(0,S.jsx)(Te,_()(_()({},pe),{},{className:"ccs-keep-alive-nav"}))}}),V.current.map(function(de){var pe=de.key,Te=de.urlAuthList,Se=de.outlet,Le=de.breadcrumb,We=de.pageLocation;return(0,S.jsx)(F.default,{active:We.pathname===q,location:We,onDestroy:Be,urlAuthList:Te,breadcrumb:Le,children:Se},pe)})]})}var z=$},77511:function(h,n,e){"use strict";e.r(n);var v=e(74973),o=e(82187),y=e.n(o),_=e(75271),m=e(72870),p=e(56973),f=e(31939),c=e(52676);function d(s){var a=s.children,i=s.active,u=s.urlAuthList,t=s.onDestroy,r=s.breadcrumb,l=s.location,P="_tab_content_".concat(l.key),g=(0,_.useRef)(null);return(0,c.jsx)(p.PageContext.Provider,{value:{id:P,dialogHolderRef:g,isActive:i,location:l,onDestroy:t,onAuth:function(O){return u.includes(O)}},children:(0,c.jsx)("div",{id:P,style:{display:i?"block":"none"},className:"ccs-tab-item","data-display":i,children:(0,c.jsxs)(m.default,{autoHide:!0,className:y()("ccs-sticky-scroll",{"route-avtive":i}),children:[(0,c.jsx)(v.Z,{items:r,className:"ccs-breadcrumb"}),a,(0,c.jsx)(f.DialogElementsHolder,{ref:g},"modal-drawer-holder")]})})})}n.default=(0,_.memo)(d,function(s,a){return s.active===a.active&&s.urlAuthList.join(",")===a.urlAuthList.join(",")})},1058:function(h,n,e){"use strict";e.r(n)},48547:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return i}});var v=e(75271),o=e(5791),y=e(19330),_=e(68296),m=e(74973),p=e(72870),f=e(56973),c=e(31939),d=e(52676),s=(0,v.memo)(function(u){var t=(0,v.useRef)(u.location),r=u.children,l=u.urlAuthList,P=l===void 0?[]:l,g=u.breadcrumb,C=g===void 0?[]:g,O=(0,v.useRef)(null);return(0,d.jsx)(f.PageContext.Provider,{value:{id:"",isActive:!0,dialogHolderRef:O,location:t.current,onDestroy:function(){console.error("\u5355\u9875\u6A21\u5F0F\u4E0D\u652F\u6301")},onAuth:function(b){return P.includes(b)}},children:(0,d.jsxs)(p.default,{autoHide:!0,className:"ccs-sticky-scroll",children:[(0,d.jsx)(m.Z,{items:C,className:"ccs-breadcrumb",style:u.breadcrumbStyle}),r,(0,d.jsx)(c.DialogElementsHolder,{ref:O},"modal-drawer-holder")]})})});function a(u){var t=u.appName,r=u.menuItems,l=r===void 0?[]:r,P=u.breadcrumbStyle,g=u.children,C=(0,o.useLocation)(),O=C.pathname,E=(0,o.useOutlet)(),b=(0,v.useMemo)(function(){var k,M=(0,y.findMenusByUrl)(l,O)||[],x=M==null?void 0:M.at(-1);if(x){setTimeout(function(){document.title="".concat((x==null?void 0:x.label)||(x==null?void 0:x.url)," - ").concat(t)},10);var D=M.map(function(I){return{key:I.key,title:I.label}});return D.unshift({key:"-1",title:"\u9996\u9875"}),{auth:((k=x.btnAuth)===null||k===void 0?void 0:k.map(function(I){return I.code}))||[],breadcrumb:D,menu:x}}},[O,l]);return(0,d.jsx)(d.Fragment,{children:b!=null&&b.auth?(0,d.jsx)(s,{location:C,urlAuthList:b.auth,breadcrumb:b.breadcrumb,breadcrumbStyle:P,children:(0,d.jsxs)(d.Fragment,{children:[E,g]})}):(0,d.jsx)(_.default.Page404,{style:{flex:"auto"},subTitle:"\u9875\u9762\u4E0D\u5B58\u5728"})})}var i=a},85676:function(h,n,e){"use strict";e.r(n)},67889:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return p}});var v=e(79312),o=e(8984),y=e(18529),_=e(52676),m=function(c){var d=c.loading,s=c.loadingTip;return d?(0,_.jsx)("div",{className:"ccs-loading",children:(0,_.jsx)("div",{className:"ccs-loading-content ",children:(0,_.jsxs)(o.Z,{children:[(0,_.jsx)(y.Z,{indicator:(0,_.jsx)(v.Z,{style:{fontSize:24}})}),s]})})}):null},p=m},79579:function(h,n,e){"use strict";e.r(n)},3034:function(h,n,e){"use strict";e.r(n),e.d(n,{getAllChildrenId:function(){return m},getDataById:function(){return _},getShowDpends:function(){return f},isComponent:function(){return p},onTableInModalOrDrawer:function(){return o},onTableInTabItem:function(){return y}});var v=e(75271),o=function c(d,s){var a,i,u,t,r=d.parentNode;return r?(a=r.classList)!==null&&a!==void 0&&a.contains("ccs-drawer-content")||(i=r.classList)!==null&&i!==void 0&&i.contains("".concat(s,"-drawer-body"))?{getContainer:function(){return r},isInDialog:!0}:(u=r.classList)!==null&&u!==void 0&&u.contains("".concat(s,"-modal"))||(t=r.classList)!==null&&t!==void 0&&t.contains("".concat(s,"-drawer"))?{offsetHeader:0,isInDialog:!0}:c(r,s):!1},y=function c(d){var s,a=d.parentNode;return a?(s=a.classList)!==null&&s!==void 0&&s.contains("ccs-sticky-scroll")?{getContainer:function(){return d}}:c(a):!1},_=function c(d,s,a){if(Array.isArray(d))for(var i=0;i<d.length;i+=1){if(d[i][s]===a)return d[i];if(d[i].children){var u=c(d[i].children,s,a);if(u)return u}}},m=function c(d,s){return d.reduce(function(a,i){return a.push(i[s]),i.children&&Array.isArray(i.children)?a.concat(c(i.children,s)):a},[])},p=function(d,s){if(!v.isValidElement(d))return!1;var a=d==null?void 0:d.type;return typeof a=="string"?!1:(a==null?void 0:a.displayName)===s},f=function c(d,s,a){var i=s.showDepends;if(i){var u=d.filter(function(t){return i.some(function(r){return r&&r.name===t.name})})||[];return u.forEach(function(t){return t!=null&&t.showDepends?(t.showDepends.forEach(function(r){return a.push(r)}),c(d,t,a)):!1}),a}return a}},96757:function(h,n,e){"use strict";e.r(n),e.d(n,{queryWorker:function(){return y}});var v=e(17888),o=e.n(v);function y(_){return console.log("\u8BF7\u6C42\u53C2\u6570\uFF1A",_),new Promise(function(m){setTimeout(function(){m({success:!0,msg:"",data:{pageNo:1,pageSize:10,hasNext:!1,totalNum:100,result:Array(_.pageSize).fill("").map(function(p,f){return{loginId:f,workerName:"workerName-".concat(f),loginCode:"-",orgName:"-",state:Math.round(Math.random()),mobile:"-",email:"-",sex:Math.round(Math.random()),birthday:o()().format("YYYY-MM-DD"),createTime:o()().format("YYYY-MM-DD HH:mm"),num:1}})}})},500)})}},76098:function(h,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(27783),_=e(18237),m=e(10495),p=e(29909),f=e(52676),c=function(a){return(0,f.jsx)(p.default,o()({},a))},d=function(a){return(0,f.jsx)(p.default,o()({},a))};c.Tree=d,c.SelectionAlert=_.default,c.Summary=m.default,n.default=c},18237:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return s}});var v=e(26068),o=e.n(v),y=e(38913),_=e(16929),m=e(8984),p=e(16254),f=e(18466),c=e(75271),d=e(52676);function s(a){var i=a.data,u=a.color,t=a.style,r=a.className,l=a.fieldNames,P=l===void 0?{key:"key",label:"label"}:l,g=a.onClear,C=_.Z.useToken(),O=C.token;if(!(!i||i.length===0)){var E="".concat(O.paddingSM,"px");return(0,d.jsxs)(m.Z,{size:4,wrap:!0,style:o()({padding:"0 ".concat(E," ").concat(E," ").concat(E)},t),className:r,children:[i.map(function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,d.jsx)(p.Z,{color:u,closable:!0,onClose:function(M){g(b[P.key]),M.preventDefault()},children:b[P.label||"name"]},b[P.key||"key"])}),i.length>1&&(0,d.jsx)(f.ZP,{size:"small",onClick:function(k){g(),k.preventDefault()},icon:(0,d.jsx)(y.Z,{}),danger:!0,type:"text",children:"\u6E05\u7A7A"})]})}}},10495:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return _}});var v=e(16708),o=e(52676),y=-1;function _(m){var p=m.data,f=p===void 0?{}:p,c=m.columns,d=m.hasRowSelection;y=-1;var s=function a(i){return i.map(function(u){return u.children&&u.children.length>0?a(u.children):(y+=1,(0,o.jsx)(v.Z.Summary.Cell,{index:0,children:f[u.dataIndex]},y))})};return d&&(y+=1),(0,o.jsx)(v.Z.Summary,{fixed:!0,children:(0,o.jsxs)(v.Z.Summary.Row,{children:[d&&(0,o.jsx)(v.Z.Summary.Cell,{index:y}),s(c)]})})}},29909:function(h,n,e){"use strict";e.r(n),e.d(n,{classPrefix:function(){return D}});var v=e(82092),o=e.n(v),y=e(31759),_=e.n(y),m=e(26068),p=e.n(m),f=e(48305),c=e.n(f),d=e(19842),s=e(16929),a=e(37426),i=e(12203),u=e(82187),t=e.n(u),r=e(75271),l=e(81475),P=e(32097),g=e(73799),C=e(24887),O=e(85289),E=e(73946),b=e(3034),k=e(27783),M=e(26707),x=e(52676),D="ccs-pl";function I(U){var A={filters:{},orderProps:[],columnOptions:[],columnShowKeys:[]};return U==null||U.forEach(function(L){L.dataIndex&&L.title&&A.columnOptions.push({label:L.title,value:L.dataIndex}),L.hidden!==!0&&A.columnShowKeys.push(L.dataIndex),L.sorter&&L.defaultSortOrder!==void 0&&A.orderProps.push({prop:L.dataIndex,ascending:L.defaultSortOrder==="ascend"}),L.filters&&L.defaultFilteredValue!==void 0&&(A.filters[L.dataIndex]=L.defaultFilteredValue)}),A}var B=function(A){var L,F,S=A.init,W=A.auth,T=A.table,K=A.styles,N=K===void 0?{}:K,$=A.proRef,z=A.toolbar,j=A.children,R=A.className,w=A.expandForm,Y=A.formItems,Z=Y===void 0?[]:Y,X=A.leafNode,ee=A.bordered,te=A.parentFieldName,V=A.formInitValues,Q=V===void 0?{}:V,q=A.onEvent,ie=(0,r.useContext)(i.E_);(0,O.useInsertCss)("table",function(Me){return[".ccs-pl .".concat(Me,"-table-title {padding: 0 !important;} ")]});var G=T||{},re=G.requestParam,oe=re===void 0?{}:re,ne=G.columns,ae=G.rowKey,se=G.request,le=(0,r.useRef)(!1),_e=(0,r.useMemo)(function(){return I(ne)},[]),me=(0,r.useRef)(_e),fe=(0,r.useRef)(null),ge=(0,r.useRef)(null),Ee=(0,r.useRef)(),De=(0,r.useRef)(null),xe=(0,r.useRef)(null),Ie=(0,r.useState)((T==null?void 0:T.size)||"middle"),Be=c()(Ie,2),Ue=Be[0],je=Be[1],de=(0,l.default)(),pe=de.theme,Te=s.Z.useToken(),Se=Te.token,Le=(0,C.default)({auth:W,rowKey:ae,pagination:T==null?void 0:T.pagination,fieldNames:(L=A.table)===null||L===void 0?void 0:L.fieldNames,emptyDefaultOne:T==null?void 0:T.emptyDefaultOne,onFilterOrder:function(){return me.current},onEvent:q,getFormValues:function(){var he;return(he=De.current)===null||he===void 0?void 0:he.getFormValues()},request:se,onRequestCustom:te?function(){for(var Me,he=arguments.length,Pe=new Array(he),Re=0;Re<he;Re++)Pe[Re]=arguments[Re];return(Me=xe.current)===null||Me===void 0?void 0:Me.onRequestTree.apply(Me,Pe)}:void 0}),We=Le.isAuth,Ae=Le.data,H=Le.onRequest,J=Le.onChangeData,ce=function(he){var Pe,Re,ke=(0,b.getDataById)(Ae.dataSource||[],ae,he);if(!ke){H(g.DataEvent.Search);return}var Ke=(0,b.getAllChildrenId)(ke.children||[],ae);(Pe=xe.current)===null||Pe===void 0||Pe.onExpandKeys(Ke),(Re=xe.current)===null||Re===void 0||Re.onRequestTree(g.DataEvent.PartialReload,{},ke)};(0,r.useEffect)(function(){var Me=(0,b.onTableInModalOrDrawer)(fe.current,ie.getPrefixCls());if(Me){le.current=Me,T!=null&&T.size||je("small");return}var he=(0,b.onTableInTabItem)(fe.current);if(he){le.current=he;return}},[]),(0,d.Z)(function(){je((T==null?void 0:T.size)||"middle")},[T==null?void 0:T.size]),(0,r.useEffect)(function(){S!==!1&&se&&H(g.DataEvent.InitSearch)},[Object.keys(oe||{}).toString(),Object.values(oe||{}).toString()]);var ve=function(){var he,Pe;T==null||(he=T.rowSelection)===null||he===void 0||(Pe=he.onClearByProTable)===null||Pe===void 0||Pe.call(he),H(g.DataEvent.Search)},be=function(){var he,Pe,Re;T==null||(he=T.rowSelection)===null||he===void 0||(Pe=he.onClearByProTable)===null||Pe===void 0||Pe.call(he),(Re=De.current)===null||Re===void 0||Re.form.resetFields(),ne==null||ne.forEach(function(ke){(ke.filterDropdown||ke.filters)&&(ke.filteredValue=ke.defaultFilteredValue||[]),ke.sorter&&(ke.sortOrder=ke.defaultSortOrder)}),me.current=_e,H(g.DataEvent.Reset)},Ce=function(){var he,Pe;T==null||(he=T.rowSelection)===null||he===void 0||(Pe=he.onClearByProTable)===null||Pe===void 0||Pe.call(he),H(g.DataEvent.Reload,Ae.current,Ae.pageSize)};(0,r.useImperativeHandle)($,function(){var Me;return{data:Ae,getFormValues:(Me=De.current)===null||Me===void 0?void 0:Me.getFormValues,onSearch:ve,onReload:Ce,onPartialReload:function(Pe){ce(Pe)},onReset:be,onChangeData:J}});var Fe=function(he,Pe,Re){if(Pe&&(ne==null||ne.forEach(function(Ke){(Ke.filterDropdown||Ke.filters)&&(Ke.filteredValue=Pe[Ke.dataIndex])}),me.current=p()(p()({},me.current),{},{filters:Pe})),Re){ne==null||ne.forEach(function(Ke){if(Ke.sorter){if(Array.isArray(Re)){var qe=Re.find(function(sn){return sn.field===Ke.dataIndex});qe&&(Ke.sortOrder=qe==null?void 0:qe.order);return}if(Re.field===Ke.dataIndex){Ke.sortOrder=Re.order;return}Ke.sortOrder=void 0}});var ke=[];Array.isArray(Re)?Re.forEach(function(Ke){ke.push({prop:Ke.field,ascending:Ke.order==="ascend"})}):Re.order&&ke.push({prop:Re.field,ascending:Re.order==="ascend"}),me.current=p()(p()({},me.current),{},{orderProps:ke})}H(g.DataEvent.ChangePage,he.current||0,he.pageSize||10)},ue=function(){if(!T)return null;if(!We)return(0,x.jsx)(a.Z,{style:{margin:0,padding:"32px 0",color:"red",background:"#fff"},image:a.Z.PRESENTED_IMAGE_DEFAULT,description:"\u6CA1\u6709\u6570\u636E\u8BF7\u6C42\u6743\u9650"});if(_()(le.current)==="object"&&"getContainer"in le.current){var he=le.current.getContainer(),Pe=window.getComputedStyle(he),Re=Pe.paddingTop;Re&&(le.current=p()(p()({},le.current),{},{offsetHeader:-parseInt(Re.replace("px",""))}))}return te?(0,x.jsx)(M.default,{data:Ae,table:T,leafNode:X,treeRef:xe,tableRef:Ee,tableContentRef:fe,tableRowSize:Ue,sticky:le.current||!0,parentFieldName:te,setData:J,onEvent:q}):(0,x.jsx)(E.Z,p()(p()({data:Ae,tableRef:Ee,tableContentRef:fe,onChange:Fe,sticky:le.current||!0},T),{},{size:Ue,columns:ne,showSorterTooltip:!0,showNumber:A.showNumber,loading:T.loading||Ae.loading||!1,onEvent:q}))},ye=(T==null||(F=T.scroll)===null||F===void 0?void 0:F.y)==="auto",He=(0,r.useMemo)(function(){var Me=N.root||{},he=N.table||{};return he.overflow="unset",ee&&(Me.border="1px solid ".concat(Se.colorBorderSecondary),Me.borderRadius=4),ye&&(Me.overflow="hidden",Me.height="100%",he.overflow="hidden"),{root:Me,table:he}},[]),Ge=function(){var he;if(ye&&((he=fe.current)===null||he===void 0?void 0:he.clientHeight)!==0){var Pe;(Pe=Ee.current)===null||Pe===void 0||Pe.onFixedThead()}},Ve=(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(P.default.FullScreen,{parentHtmlId:"ccs-pro-table"}),(0,x.jsx)(P.default.Checkbox,{options:_e.columnOptions,defaultCheckedKeys:_e.columnShowKeys,placement:"bottomRight",onChange:function(he){var Pe,Re=_e.columnShowKeys.filter(function(ke){return!he.includes(ke)});(Pe=Ee.current)===null||Pe===void 0||Pe.onColumnFilter(Re)}})]}),Qe=T!=null&&T.hideOperation?(0,x.jsx)(P.default.Operation,{extraLeft:z,extraRight:Ve}):(0,x.jsx)(P.default.Operation,{extraLeft:z,extraRight:Ve,onChangeSize:function(he){return je(he)},size:Ue,onReset:be,columns:ne,tableRef:Ee,style:{marginLeft:z?0:8}});return(0,x.jsxs)(x.Fragment,{children:[ye&&(0,x.jsx)(P.default.Resize,{targetRef:fe,onResize:Ge}),(0,x.jsxs)("div",{id:"ccs-pro-table",className:t()(D,R,o()({},"dark-table",pe==="dark")),style:He.root,ref:ge,children:[(0,x.jsx)(P.default.Title,{children:A.title}),(0,x.jsx)(P.default.Filter,{ref:De,extra:z?void 0:Qe,formItems:Z,expandForm:w,formInitValues:Q,formItemLabelWidth:A.formItemLabelWidth,onSearch:ve,requestParam:T==null?void 0:T.requestParam}),z&&Qe,(0,x.jsxs)("div",{className:"".concat(D,"-table-content"),style:He.table,ref:fe,children:[ue(),j]})]})]})};n.default=B},26707:function(h,n,e){"use strict";e.r(n);var v=e(90228),o=e.n(v),y=e(15558),_=e.n(y),m=e(87999),p=e.n(m),f=e(26068),c=e.n(f),d=e(48305),s=e.n(d),a=e(68144),i=e(75271),u=e(73946),t=e(73799),r=e(81475),l=e(65173),P=e(52676),g=function(O){var E=O.data,b=O.table,k=O.sticky,M=O.treeRef,x=O.tableRef,D=O.leafNode,I=O.tableRowSize,B=O.tableContentRef,U=O.parentFieldName,A=O.setData,L=O.onEvent,F=(0,i.useState)([]),S=s()(F,2),W=S[0],T=S[1],K=b,N=K.rowKey,$=K.expandable,z=K.columns,j=K.request,R=($==null?void 0:$.childrenColumnName)||"children",w=(0,r.useBaseFields)(),Y=c()(c()({},w),O.fieldNames),Z=function(){var te=p()(o()().mark(function V(Q){var q,ie,G,re,oe,ne=arguments;return o()().wrap(function(se){for(;;)switch(se.prev=se.next){case 0:if(q=ne.length>1&&ne[1]!==void 0?ne[1]:{},ie=ne.length>2?ne[2]:void 0,G=q,ie&&(G[U]=ie[N]),L==null||L(Q,{loading:!0,params:G}),A(function(le){return c()(c()({},le),{},{loading:!0})}),se.t0=j,!se.t0){se.next=11;break}return se.next=10,j(G);case 10:se.t0=se.sent;case 11:re=se.t0,L==null||L(Q,{loading:!0,params:G,data:re}),re?(oe=(0,l.getDataByNamePath)(re,Y.data),D&&oe&&Array.isArray(oe)&&oe.forEach(function(le){if(typeof D=="string"&&!le[D]){le.children=[];return}typeof D=="function"&&!D(le)&&(le.children=[])}),ie?(ie[R]=oe,A(function(le){return c()(c()({},le),{},{dataSource:_()(le.dataSource||[]),loading:!1})})):(T([]),A({loading:!1,dataSource:oe}))):A(function(le){return c()(c()({},le),{},{loading:!1})});case 14:case"end":return se.stop()}},V)}));return function(Q){return te.apply(this,arguments)}}();(0,i.useImperativeHandle)(M,function(){return{onRequestTree:Z,onExpandKeys:function(V){T(W.filter(function(Q){return!V.includes(Q)}))}}});var X=function(V,Q){if(!N||(N&&Q[N])===void 0){a.default.showLogWarning("rowKey\u672A\u4F20\u5165\u6216\u4F20\u5165rowKey\u4E0D\u6B63\u786E");return}var q=Q[N];if(V){var ie;if(W.push(q),((ie=Q[R])===null||ie===void 0?void 0:ie.length)>0)return;Z(t.DataEvent.Expand,{},Q)}else T(W.filter(function(G){return G!==q}))},ee=c()(c()({sticky:k},b),{},{onExpand:X,expandedRowKeys:W});return(0,P.jsx)(u.Z,c()(c()({data:E,tableRef:x,tableContentRef:B},ee),{},{size:I,columns:z,showSorterTooltip:!0,loading:ee.loading||E.loading||!1}))};n.default=g},98143:function(h,n,e){"use strict";e.r(n)},32813:function(h,n,e){"use strict";e.r(n);var v=e(48305),o=e.n(v),y=e(68144),_=e(19842),m=e(16929),p=e(85899),f=e.n(p),c=e(75271),d=e(56973),s=e(52676),a=function(u){var t=u.children,r=(t==null?void 0:t.props)||{},l=r.items,P=l===void 0?[]:l,g=r.activeKey,C=r.defaultActiveKey,O=r.onChange,E=(0,c.useState)("ccs-tabs-".concat(y.default.getUUID(5))),b=o()(E,1),k=b[0],M=(0,c.useState)(function(){return{activeKey:C||(P[0]||{}).key,items:P||[],options:{}}}),x=o()(M,2),D=x[0],I=x[1];(0,_.Z)(function(){I(f()(D,{items:{$set:P}}))},[P==null?void 0:P.map(function(W){return W.key}).join(",")]);var B=m.Z.useToken(),U=B.token,A={items:D.items,className:"ccs-tabs",id:k,tabBarStyle:{margin:0,paddingLeft:16,backgroundColor:U.colorBgContainer}};g||(A.activeKey=D.activeKey,A.onChange=function(W){I(f()(D,{activeKey:{$set:W}})),O&&O(W)});var L=function(T){var K=T.activeKey,N=T.enableKeys,$=N===void 0?[]:N,z=T.disableKeys,j=z===void 0?[]:z,R=T.options,w={};if(K&&(w.activeKey={$set:K},O&&O(K)),$.length||j.length){var Y,Z={};(Y=D.items)===null||Y===void 0||Y.forEach(function(X,ee){$.includes(X.key)?Z[ee]={disabled:{$set:!1}}:j.includes(X.key)&&(Z[ee]={disabled:{$set:!0}})}),w.items=Z}R&&(w.options={$set:R}),I(f()(D,w))},F=function(T){var K,N=T;typeof T=="string"&&(N=[T]);var $=[];(K=D.items)===null||K===void 0||K.forEach(function(z,j){N.includes(z.key)&&$.push([j,1])}),I(f()(D,{items:{$splice:$}}))},S=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],K=arguments.length>1?arguments[1]:void 0,N=Array.isArray(T),$={items:{$push:N?T:[T]}};K&&($.activeKey={$set:K||D.activeKey}),I(f()(D,$))};return t?(0,s.jsx)(d.TabsContext.Provider,{value:{tabsId:k,activeKey:D.activeKey,options:D.options,onTabChange:L,onRemoveTabs:F,onAddTabs:S},children:(0,c.cloneElement)(t,A)}):(0,s.jsx)(s.Fragment,{})};n.default=a},68296:function(h,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(28344),_=e(52676),m=function(t){return(0,_.jsx)(y.ZP,o()({},t))},p=function(t){return(0,_.jsx)(m,o()(o()({title:"\u64CD\u4F5C\u6210\u529F"},t),{},{status:"success"}))},f=function(t){return(0,_.jsx)(m,o()(o()({title:"\u64CD\u4F5C\u8BE6\u60C5"},t),{},{status:"info"}))},c=function(t){return(0,_.jsx)(m,o()(o()({title:"\u64CD\u4F5C\u63D0\u9192"},t),{},{status:"warning"}))},d=function(t){return(0,_.jsx)(m,o()(o()({title:"\u64CD\u4F5C\u5931\u8D25"},t),{},{status:"error"}))},s=function(t){return(0,_.jsx)(m,o()(o()({title:"403"},t),{},{status:"403"}))},a=function(t){return(0,_.jsx)(m,o()(o()({title:"404"},t),{},{status:"404"}))},i=function(t){return(0,_.jsx)(m,o()(o()({title:"500"},t),{},{status:"500"}))};m.Success=p,m.Info=f,m.Warning=c,m.Error=d,m.Page403=s,m.Page404=a,m.Page500=i,n.default=m},99696:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return l}});var v=e(26068),o=e.n(v),y=e(31759),_=e.n(y),m=e(48305),p=e.n(m),f=e(67825),c=e.n(f),d=e(79312),s=e(97022),a=e(6052),i=e(46960),u=e(75271),t=e(52676),r=["style","mode","modal","value","children","labelInValue","onChange"];function l(P){var g=P.style,C=P.mode,O=P.modal,E=P.value,b=P.children,k=P.labelInValue,M=P.onChange,x=c()(P,r),D=(0,u.useState)(!1),I=p()(D,2),B=I[0],U=I[1],A=function(){U(!0)},L=(0,u.useState)(void 0),F=p()(L,2),S=F[0],W=F[1],T=(0,u.useState)(!1),K=p()(T,2),N=K[0],$=K[1],z=(0,u.useState)(E),j=p()(z,2),R=j[0],w=j[1],Y=(0,u.useState)(void 0),Z=p()(Y,2),X=Z[0],ee=Z[1],te=function(re){re==null||re.stopPropagation(),U(!1)},V={value:R,mode:C,onClose:te,onLoading:$,onChangeLabel:W,onChange:function(re,oe){w(k?oe:re)},onChangeOptions:ee},Q=function(){M==null||M(R),U(!1)},q=function(){w(E),U(!1)},ie=function(){if(!(E===void 0||Array.isArray(E)&&E.length===0)){if(S)return S;if(Array.isArray(E))return E.map(function(oe){var ne;return _()(oe)==="object"?oe[((ne=x.fieldNames)===null||ne===void 0?void 0:ne.value)||"value"]:oe});if(_()(E)==="object"){var re;return E[((re=x.fieldNames)===null||re===void 0?void 0:re.value)||"value"]}return E}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.default,o()(o()({allowClear:!0,suffixIcon:N?(0,t.jsx)(d.Z,{}):(0,t.jsx)(s.Z,{}),open:!1,popupRender:function(){return(0,t.jsx)("div",{})},value:N?void 0:ie(),onClick:A,placeholder:"\u8BF7\u9009\u62E9"},x),{},{mode:S?void 0:C,style:g,options:X,onChange:function(re){w(re),M==null||M(re)}})),(0,t.jsx)(i.Z,o()(o()({open:B,onCancel:q,styles:{body:{padding:0}},forceRender:!0,onOk:Q},O),{},{children:b&&(typeof b=="function"?b(V):u.cloneElement(b,V))}))]})}},84799:function(h,n,e){"use strict";e.r(n)},10436:function(h,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(90228),_=e.n(y),m=e(87999),p=e.n(m),f=e(67825),c=e.n(f),d=e(11048),s=e(75271),a=e(18437),i=e(52676),u=["request","cache","defaultParams"];function t(r){var l=r.request,P=r.cache,g=r.defaultParams,C=g===void 0?{}:g,O=c()(r,u),E=(0,d.Z)(function(){var D=p()(_()().mark(function I(B){return _()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:if(l){A.next=2;break}return A.abrupt("return",[]);case 2:return A.next=4,l(B);case 4:return A.abrupt("return",A.sent);case 5:case"end":return A.stop()}},I)}));return function(I){return D.apply(this,arguments)}}(),o()({manual:!0},P||{})),b=E.loading,k=E.data,M=k===void 0?[]:k,x=E.run;return(0,s.useEffect)(function(){l&&x(C)},[JSON.stringify(C)]),(0,i.jsx)(a.default,o()({options:M,loading:b},O))}n.default=t},49805:function(h,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(31759),_=e.n(y),m=e(48305),p=e.n(m),f=e(67825),c=e.n(f),d=e(79312),s=e(97022),a=e(6052),i=e(75271),u=e(52676),t=["value","style","mode","children","contentWidth","labelInValue","onChange"];function r(l){var P=l.value,g=l.style,C=l.mode,O=l.children,E=l.contentWidth,b=l.labelInValue,k=l.onChange,M=c()(l,t),x=(0,i.useState)(!0),D=p()(x,2),I=D[0],B=D[1],U=(0,i.useRef)(null),A=(0,i.useState)(void 0),L=p()(A,2),F=L[0],S=L[1],W=(0,i.useState)(!1),T=p()(W,2),K=T[0],N=T[1],$=(0,i.useState)(void 0),z=p()($,2),j=z[0],R=z[1],w=function(te){te==null||te.stopPropagation(),B(!1)},Y={value:P,onClose:w,onChange:function(te,V){k==null||k(b?V:te),C||B(!1)},onLoading:N,onChangeLabel:S,mode:C,onChangeOptions:R},Z=(0,i.useMemo)(function(){return(0,u.jsx)("div",{style:{display:"none"},ref:U,children:O&&(typeof O=="function"?O(Y):i.cloneElement(O,Y))})},[P]);(0,i.useEffect)(function(){B(!1)},[]),(0,i.useEffect)(function(){I&&U.current&&U.current.style.display==="none"&&(U.current.style.display="block")},[I]);var X=function(){if(!(P===void 0||Array.isArray(P)&&P.length===0)){if(F)return F;if(Array.isArray(P))return P.map(function(V){var Q;return _()(V)==="object"?V[((Q=M.fieldNames)===null||Q===void 0?void 0:Q.value)||"value"]:V});if(_()(P)==="object"){var te;return P[((te=M.fieldNames)===null||te===void 0?void 0:te.value)||"value"]}return P}};return(0,u.jsx)(u.Fragment,{children:(0,u.jsx)(a.default,o()(o()({open:I,onOpenChange:B,allowClear:!0,defaultActiveFirstOption:!0,suffixIcon:K?(0,u.jsx)(d.Z,{}):(0,u.jsx)(s.Z,{}),placeholder:"\u8BF7\u9009\u62E9"},M),{},{popupMatchSelectWidth:E,popupRender:function(){return Z},mode:F?void 0:C,value:K?void 0:X(),style:o()({},g),onChange:k,options:j}))})}n.default=r},61809:function(h,n,e){"use strict";e.r(n),e.d(n,{onRequest:function(){return v},onRequestDefault:function(){return o},onRequestList:function(){return _},onRequestPage:function(){return y}});function v(){return new Promise(function(m){setTimeout(function(){m({msg:"",success:!0,data:[{id:"1",name:"\u9009\u9879\u4E00"},{id:"2",name:"\u9009\u9879\u4E8C"},{id:"3",name:"\u9009\u9879\u4E09"}]})},1e3)})}function o(){return new Promise(function(m){setTimeout(function(){m([{value:"1",label:"\u9009\u9879\u4E00"},{value:"2",label:"\u9009\u9879\u4E8C"},{value:"3",label:"\u9009\u9879\u4E09"}])},1e3)})}function y(m){var p=m.pageNo;return new Promise(function(f){setTimeout(function(){f({data:{totalNum:20,result:Array(10).fill("").map(function(c,d){var s=(p-1)*10+d+1;return{id:s.toString(),name:"\u9009\u9879".concat(s)}})}})},1e3)})}function _(m){return new Promise(function(p){setTimeout(function(){p({data:Array.isArray(m)?m.map(function(f){return{id:f,name:"\u9009\u9879".concat(f)}}):[{id:m,name:"\u9009\u9879".concat(m)}]})},1500)})}},18437:function(h,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(15558),_=e.n(y),m=e(67825),p=e.n(m),f=e(6052),c=e(75271),d=e(73511),s=e.n(d),a=e(65173),i=e(99696),u=e(10436),t=e(49805),r=e(52676),l=["showAll","fieldNames","options"];function P(C){return Array.isArray(C)?C:[C]}function g(C){var O=C.showAll,E=C.fieldNames,b=C.options,k=b===void 0?[]:b,M=p()(C,l),x=_()(P((E==null?void 0:E.label)||["label"])),D=_()(P((E==null?void 0:E.value)||["value"])),I=function(A,L){var F="".concat(L==null?void 0:L.label).concat(L==null?void 0:L.value),S=s().convertToPinyin(F,"",!0).toLocaleUpperCase();return!!(F.includes(A)||S.includes(A.toLocaleUpperCase()))},B=(0,c.useMemo)(function(){for(var U=k||[];x.length>0||D.length>0;){if(Array.isArray(U)){U.forEach(function(L){L.label=(0,a.getDataByNamePath)(L,x),L.value=(0,a.getDataByNamePath)(L,D)});break}x.shift();var A=D.shift();A&&U!==void 0&&(U=U[A])}return O&&Array.isArray(U)&&U.length>0&&U.unshift(typeof O=="boolean"?{label:"\u5168\u90E8",value:""}:O),U},[k]);return(0,r.jsx)(f.default,o()({options:B,filterOption:I,placeholder:"\u8BF7\u9009\u62E9",allowClear:!0,showSearch:!0},M))}g.Api=u.default,g.Customize=t.default,g.Modal=i.default,n.default=g},98708:function(h,n,e){"use strict";e.r(n);var v=e(16254),o=e(60561),y=e(52676);function _(m){var p=m.value,f=m.options,c=f===void 0?[]:f;if(p===void 0||p==="")return p;var d=c.find(function(i){return i.value===p});if(!d)return p;var s=d.label,a=d.tag;return a&&a[0]==="tag"?(0,y.jsx)(v.Z,{color:a[1],children:s}):a&&a[0]==="badge"?(0,y.jsx)(o.Z,{status:a[1],text:s}):s}n.default=_},73946:function(h,n,e){"use strict";e.d(n,{Z:function(){return b}});var v=e(31759),o=e.n(v),y=e(26068),_=e.n(y),m=e(67825),p=e.n(m),f=e(37208),c=e(37401),d=e(16929),s=e(16708),a=e(12203),i=e(75271),u=e(2369),t=e(32097),r=e(73799),l=e(60136),P=e(52676),g=["onResize","width"],C=["data","style","scroll","rowKey","columns","tableRef","pagination","rowSelection","tableContentRef"],O=function(M){var x=M.onResize,D=M.width,I=p()(M,g);return!D||typeof D!="number"?(0,P.jsx)("th",_()({},I)):(0,P.jsx)(u.Resizable,{width:D,height:0,handle:(0,P.jsx)("span",{className:"react-resizable-handle",onClick:function(U){U.stopPropagation()}}),onResize:x,draggableOpts:{enableUserSelectHack:!1},children:(0,P.jsx)("th",_()({},I))})},E=function(M){var x=M.data,D=M.style,I=M.scroll,B=M.rowKey,U=M.columns,A=M.tableRef,L=M.pagination,F=M.rowSelection,S=M.tableContentRef,W=p()(M,C),T=(0,f.Z)(),K=x||{},N=K.dataSource,$=N===void 0?[]:N,z=K.pageSize,j=z===void 0?10:z,R=K.current,w=R===void 0?1:R,Y=K.total,Z=Y===void 0?0:Y,X=(0,l.default)(),ee=(0,i.useContext)(a.E_),te=(0,c.Z)(function(){var ne;if((I==null?void 0:I.y)==="auto"){var ae=S==null?void 0:S.current;if(X!=null&&X.tabsId){var se=document.getElementById(X==null?void 0:X.tabsId);se&&se.classList.add("ccs-tabs-auto-height")}if(ae){var le=(ne=S.current)===null||ne===void 0?void 0:ne.clientHeight,_e=ee.getPrefixCls(),me=ae.getElementsByClassName("".concat(_e,"-table"))[0],fe=[],ge=void 0;me.childNodes.forEach(function(xe){xe.classList.contains("".concat(_e,"-table-container"))?xe.childNodes.forEach(function(Ie){Ie.classList.contains("".concat(_e,"-table-body"))?ge=Ie:fe.push(Ie.clientHeight||0)}):fe.push(xe.clientHeight||0)});var Ee=ae.getElementsByClassName("".concat(_e,"-pagination"));if(Ee&&Ee.length>0&&fe.push(Ee[0].clientHeight),ge){var De=le-fe.reduce(function(xe,Ie){return xe+Ie},0);ge.style.height="".concat(De,"px")}}}},{wait:500,leading:!0}),V=te.run;(0,i.useEffect)(function(){V()},[Z]),(0,i.useImperativeHandle)(A,function(){return{onColumnFilter:function(ae){var se;U==null||U.forEach(function(le){le.hidden=ae.includes(le.dataIndex)}),(se=M.onEvent)===null||se===void 0||se.call(M,r.DataEvent.ColumnFilter,ae),T()},onFixedThead:V}});var Q=function(ae){return function(se,le){var _e=le.size,me=U==null?void 0:U.find(function(fe){return fe.dataIndex===ae});me.width=_e.width,T()}},q=function(){var ae=U==null?void 0:U.filter(function(se){return!se.hidden});return ae==null||ae.forEach(function(se){if(se.ellipsis&&!se.render){if(typeof se.ellipsis=="boolean")return;var le={};typeof se.ellipsis=="number"&&(le={rows:se.ellipsis}),o()(se.ellipsis)==="object"&&(le=se.ellipsis),se.ellipsis=!1,se.render=function(_e){return(0,P.jsx)(t.default.Ellipsis,_()({content:_e,showTooltip:!0},le))}}se.onHeaderCell=function(_e){return{width:_e.width,onResize:Q(se.dataIndex)}}}),W.showNumber&&(ae==null||ae.unshift({title:"\u5E8F\u53F7",ellipsis:!0,width:60,render:function(le,_e,me){return me+1+((w||1)-1)*(j||10)}})),ae},ie=d.Z.useToken(),G=ie.token,re=function(ae,se){return se||0},oe=q();return(0,P.jsx)("div",{className:"ccs-table-card",style:_()(_()({},D),{},{background:G.colorBgContainer}),children:(0,P.jsx)(s.Z,_()(_()({rowKey:B||re,dataSource:$,sortDirections:["ascend","descend"],pagination:L===!1?!1:_()({total:Z,pageSize:j,current:w,showSizeChanger:!0,showQuickJumper:!0,showTotal:function(){return"\u5171".concat(Z,"\u6761\u8BB0\u5F55")},pageSizeOptions:["10","20","30","50","100"],size:W.size==="small"?"small":"default",simple:W.size==="small",className:"ccs-table-pagination"},L),rowSelection:F?_()(_()({},F),{},{columnWidth:60}):void 0,columns:oe,components:{header:{cell:O}}},W),{},{size:W.size||"middle",scroll:I,summary:W!=null&&W.summary?function(ne){var ae;return(ae=W.summary)===null||ae===void 0?void 0:ae.call(W,ne,oe||[])}:void 0}))})},b=E},35119:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return u}});var v=e(25298),o=e.n(v),y=e(17069),_=e.n(y),m=e(82092),p=e.n(m),f=e(8890),c=e(46960),d=e(15771),s=e(86763),a=e.n(s),i,u=function(){function t(){o()(this,t)}return _()(t,null,[{key:"setConfig",value:function(l,P,g){this.message=l,this.notice=P,this.modal=g}},{key:"easyMessage",value:function(l,P,g){var C,O=(C=this.message)!==null&&C!==void 0?C:f.ZP;l!=null&&l.success?O.success(P||"\u64CD\u4F5C\u6210\u529F"):O.error(g||(l==null?void 0:l.msg)||"\u64CD\u4F5C\u5931\u8D25")}},{key:"confirm",value:function(){var l=this,P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return new Promise(function(g){var C,O=(C=l.modal)!==null&&C!==void 0?C:c.Z;O.confirm({title:"\u64CD\u4F5C\u786E\u8BA4",content:P,okText:"\u786E\u5B9A",okType:"danger",cancelText:"\u53D6\u6D88",centered:!0,onOk:function(){g(!0)},onCancel:function(){g(!1)}})})}}]),t}();i=u,p()(u,"message",f.ZP),p()(u,"notice",d.ZP),p()(u,"modal",c.Z),p()(u,"easyConfirm",a()(i.confirm,500,{leading:!0,trailing:!1}))},71973:function(h,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(67825),_=e.n(y),m=e(38443),p=e(17888),f=e.n(p),c=e(80998),d=e.n(c),s=e(52676),a=["value","onChange"],i=["value","onChange"];f().extend(d());function u(r){var l=r.value,P=r.onChange,g=_()(r,a),C=function(b,k){P&&P(k)},O=typeof l=="string"?f()(l,"HH:mm:ss"):l;return(0,s.jsx)(m.Z,o()({value:O,onChange:C},g))}function t(r){var l=r.value,P=r.onChange,g=_()(r,i),C=function(){return Array.isArray(l)?[f()(l[0],"HH:mm:ss"),f()(l[1],"HH:mm:ss")]:null},O=function(b,k){P&&P(k)};return(0,s.jsx)(m.Z.RangePicker,o()({value:C(),onChange:O},g))}u.RangePicker=t,n.default=u},65683:function(h,n,e){"use strict";e.r(n)},80882:function(h,n,e){"use strict";e.r(n),e.d(n,{uploadDefaultFlies:function(){return b}});var v=e(26068),o=e.n(v),y=e(90228),_=e.n(y),m=e(87999),p=e.n(m),f=e(48305),c=e.n(f),d=e(67825),s=e.n(d),a=e(31759),i=e.n(a),u=e(98868),t=e(8890),r=e(62477),l=e(18466),P=e(75271),g=e(50712),C=e(9472),O=e(52676),E=["value","uploadText","maxCount","maxFileSize","fileDownloadUrl","uploadRequest","onChange"];function b(M,x){return Array.isArray(M)?M.map(function(D){if(typeof D=="string")return{uid:D,name:D,url:"".concat(x).concat(D),fileId:D};if(i()(D)==="object")return{uid:D.fileId,name:D.name,url:"".concat(x).concat(D.fileId),fileId:D.fileId}}).filter(function(D){return D}):typeof M=="string"?[{uid:M,name:M,url:"".concat(x).concat(M),fileId:M}]:[]}function k(M){var x=M.value,D=M.uploadText,I=M.maxCount,B=I===void 0?1:I,U=M.maxFileSize,A=U===void 0?10:U,L=M.fileDownloadUrl,F=L===void 0?"":L,S=M.uploadRequest,W=M.onChange,T=s()(M,E),K=(0,P.useState)(function(){return b(x,F)}),N=c()(K,2),$=N[0],z=N[1],j=function(Z){var X=Z.fileList;if(z(X),!!W&&!X.find(function(V){return V.status==="uploading"}))if(B===1){var ee,te;W(((ee=X[0])===null||ee===void 0||(ee=ee.response)===null||ee===void 0?void 0:ee.data)||((te=X[0])===null||te===void 0?void 0:te.fileId))}else W(X.map(function(V){var Q;return((Q=V.response)===null||Q===void 0?void 0:Q.data)||V.fileId}).filter(function(V){return V!==void 0}))},R=function(Z){var X=Z.size/1024/1024<A;return X||t.ZP.error("\u6587\u4EF6\u4E0D\u80FD\u5927\u4E8E".concat(A,"MB!")),X},w=function(){var Y=p()(_()().mark(function Z(X){var ee,te,V,Q;return _()().wrap(function(ie){for(;;)switch(ie.prev=ie.next){case 0:return ee=X.file,te=X.onSuccess,V=X.onError,ie.next=3,S(ee);case 3:Q=ie.sent,Q.success&&te&&te(Q),!Q.success&&V&&(g.default.message.error(Q.msg||"\u4E0A\u4F20\u5931\u8D25"),V({status:500,name:"\u51FA\u9519\u4E86",message:Q.msg||"\u4E0A\u4F20\u5931\u8D25"}));case 6:case"end":return ie.stop()}},Z)}));return function(X){return Y.apply(this,arguments)}}();return(0,O.jsx)(r.Z,o()(o()({customRequest:w,name:"fileName",onChange:j,beforeUpload:R,fileList:$,maxCount:B},T),{},{children:(0,O.jsx)(l.ZP,{icon:(0,O.jsx)(u.Z,{}),disabled:$.length>=B,children:D})}))}k.Image=C.ImageUpload,n.default=k},9472:function(h,n,e){"use strict";e.r(n),e.d(n,{ImageUpload:function(){return E}});var v=e(26068),o=e.n(v),y=e(90228),_=e.n(y),m=e(87999),p=e.n(m),f=e(48305),c=e.n(f),d=e(67825),s=e.n(d),a=e(17114),i=e(8890),u=e(62477),t=e(89020),r=e(75271),l=e(50712),P=e(80882),g=e(52676),C=["uploadText","maxCount","maxFileSize","crop","value","fileDownloadUrl","uploadRequest","onChange","onImageInfo","accept"],O=function(k){return new Promise(function(M,x){var D=new FileReader;D.readAsDataURL(k),D.onload=function(){return M(D.result)},D.onerror=function(I){return x(I)}})};function E(b){var k=b.uploadText,M=k===void 0?"\u4E0A\u4F20":k,x=b.maxCount,D=x===void 0?1:x,I=b.maxFileSize,B=I===void 0?10:I,U=b.crop,A=b.value,L=b.fileDownloadUrl,F=L===void 0?"":L,S=b.uploadRequest,W=b.onChange,T=b.onImageInfo,K=b.accept,N=K===void 0?"image/*":K,$=s()(b,C),z=(0,r.useState)(function(){return(0,P.uploadDefaultFlies)(A,F)}),j=c()(z,2),R=j[0],w=j[1],Y=l.default.useDialog(),Z=Y.openModal,X=function(ie){var G=ie.fileList;if(G.forEach(function(oe){!oe.fileId&&oe.response&&(oe.fileId=oe.response.data)}),w(G),!!W&&!G.find(function(oe){return oe.status==="uploading"}))if(D===1){var re;W((re=G[0])===null||re===void 0?void 0:re.fileId)}else W(G.filter(function(oe){return!!oe.fileId}).map(function(oe){return oe.fileId}))},ee=function(ie){var G=ie.size/1024/1024<B,re=ie.type==="image/jpeg"||ie.type==="image/png";return re?(G||i.ZP.error("\u56FE\u7247\u4E0D\u80FD\u5927\u4E8E".concat(B,"MB!")),G):(i.ZP.error("\u8BF7\u9009\u62E9\u56FE\u7247\uFF01"),u.Z.LIST_IGNORE)},te=function(){var q=p()(_()().mark(function ie(G){return _()().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:if(G.preview){oe.next=8;break}if(!G.originFileObj){oe.next=7;break}return oe.next=4,O(G.originFileObj);case 4:G.preview=oe.sent,oe.next=8;break;case 7:G.preview="".concat(F).concat(G.fileId);case 8:Z({title:G.name||G.url.substring(G.url.lastIndexOf("/")+1),content:(0,g.jsx)("img",{alt:G.name,style:{width:"100%"},src:G.preview}),footer:null});case 9:case"end":return oe.stop()}},ie)}));return function(G){return q.apply(this,arguments)}}(),V=function(){var q=p()(_()().mark(function ie(G){var re,oe,ne,ae,se,le,_e,me;return _()().wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return re=G.file,oe=G.onSuccess,ne=G.onError,ge.next=3,S(re);case 3:if(ae=ge.sent,!(ae.success&&oe)){ge.next=11;break}return oe(ae),ge.next=8,O(re);case 8:se=ge.sent,le=re,_e=le.name,me=le.type,T==null||T({base64:se,name:_e,type:me,url:ae.data});case 11:!ae.success&&ne&&(l.default.message.error(ae.msg||"\u4E0A\u4F20\u5931\u8D25"),ne({status:500,name:"\u51FA\u9519\u4E86",message:ae.msg||"\u4E0A\u4F20\u5931\u8D25"}));case 12:case"end":return ge.stop()}},ie)}));return function(G){return q.apply(this,arguments)}}(),Q=(0,g.jsx)(u.Z,o()(o()({customRequest:V,name:"fileName",onChange:X,beforeUpload:ee,fileList:R,maxCount:D,listType:"picture-card",onPreview:te,accept:N},$),{},{children:R.length<D&&(0,g.jsxs)("div",{children:[(0,g.jsx)(a.Z,{}),(0,g.jsx)("div",{style:{marginTop:8},children:M})]})}));return(0,g.jsx)(g.Fragment,{children:U?(0,g.jsx)(t.default,{minZoom:.5,rotationSlider:!0,children:Q}):Q})}},65173:function(h,n,e){"use strict";e.r(n),e.d(n,{extractBirthday:function(){return a},extractGender:function(){return i},getDataByNamePath:function(){return t},isUrl:function(){return u},isValidCard:function(){return s}});var v=e(31759),o=e.n(v),y=e(15558),_=e.n(y),m=/^[1-9]\d{5}(19|20)\d{2}(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])\d{3}[\dXx]$/,p=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2],f=["1","0","X","9","8","7","6","5","4","3","2"];function c(r){return m.test(r)}function d(r){for(var l=r.toUpperCase(),P=0,g=0;g<17;g++)P+=parseInt(l[g],10)*p[g];var C=P%11,O=f[C];return l[17]===O}function s(r){return r.length!==18||!c(r)?!1:d(r)}function a(r){if(!s(r))return null;var l=r.substring(6,10),P=r.substring(10,12),g=r.substring(12,14);return"".concat(l,"-").concat(P,"-").concat(g)}function i(r){if(!s(r))return null;var l=parseInt(r.substring(16,17),10);return l%2===1?1:0}function u(r){return/^https?:\/\/.+/.test(r)}function t(r,l){if(!(!r||!l)){if(typeof l=="string")return r[l];var P=_()(l),g=P.shift(),C=r[g];return o()(C)==="object"&&P.length>0?t(C,P):C}}},91721:function(h,n,e){"use strict";e.r(n)},1130:function(h,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(48305),_=e.n(y),m=e(96586),p=e(82187),f=e.n(p),c=e(75271),d=e(73801),s=e(52676),a=function(t){if(!t)return 1;var r=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/r},i=function(t){var r=t.children,l=t.style,P=t.className,g=t.markStyle,C=t.markClassName,O=t.zIndex,E=O===void 0?9:O,b=t.gapX,k=b===void 0?212:b,M=t.gapY,x=M===void 0?222:M,D=t.width,I=D===void 0?120:D,B=t.height,U=B===void 0?64:B,A=t.rotate,L=A===void 0?-22:A,F=t.image,S=t.content,W=t.offsetLeft,T=t.offsetTop,K=t.fontStyle,N=K===void 0?"normal":K,$=t.fontWeight,z=$===void 0?"normal":$,j=t.fontColor,R=j===void 0?"rgba(0,0,0,.15)":j,w=t.fontSize,Y=w===void 0?16:w,Z=t.fontFamily,X=Z===void 0?"sans-serif":Z,ee=t.prefixCls,te=(0,c.useContext)(m.default.ConfigContext),V=te.getPrefixCls,Q=V("pro-layout-watermark",ee),q=f()("".concat(Q,"-wrapper"),P),ie=f()(Q,C),G=(0,c.useState)(""),re=_()(G,2),oe=re[0],ne=re[1];return(0,c.useEffect)(function(){var ae=document.createElement("canvas"),se=ae.getContext("2d"),le=a(se),_e="".concat((k+I)*le,"px"),me="".concat((x+U)*le,"px"),fe=W||k/2,ge=T||x/2;if(ae.setAttribute("width",_e),ae.setAttribute("height",me),se){se.translate(fe*le,ge*le),se.rotate(Math.PI/180*Number(L));var Ee=I*le,De=U*le;if(F){var xe=new Image;xe.crossOrigin="anonymous",xe.referrerPolicy="no-referrer",xe.src=F,xe.onload=function(){se.drawImage(xe,0,0,Ee,De),ne(ae.toDataURL())}}else if(S){var Ie=Number(Y)*le;se.font="".concat(N," normal ").concat(z," ").concat(Ie,"px/").concat(De,"px ").concat(X),se.fillStyle=R,se.fillText(S,0,0),ne(ae.toDataURL())}}else console.error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas")},[k,x,W,T,L,N,z,I,U,X,R,F,S,Y]),(0,s.jsxs)("div",{style:o()({position:"relative"},l),className:q,children:[r,oe&&(0,s.jsx)("div",{className:ie,style:o()({zIndex:E,position:"absolute",left:0,top:0,width:"100%",height:"100%",backgroundSize:"".concat(k+I,"px"),pointerEvents:"none",backgroundRepeat:"repeat",backgroundImage:"url('".concat(oe,"')")},g)})]})};i.Relative=d.default,n.default=i},73801:function(h,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(48305),_=e.n(y),m=e(96586),p=e(82187),f=e.n(p),c=e(75271),d=e(52676),s=function(u){if(!u)return 1;var t=u.backingStorePixelRatio||u.webkitBackingStorePixelRatio||u.mozBackingStorePixelRatio||u.msBackingStorePixelRatio||u.oBackingStorePixelRatio||u.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t},a=function(u){var t=u.markStyle,r=u.markClassName,l=u.zIndex,P=l===void 0?9:l,g=u.gapX,C=g===void 0?212:g,O=u.gapY,E=O===void 0?222:O,b=u.width,k=b===void 0?120:b,M=u.height,x=M===void 0?64:M,D=u.rotate,I=D===void 0?-22:D,B=u.image,U=u.content,A=u.offsetLeft,L=u.offsetTop,F=u.fontStyle,S=F===void 0?"normal":F,W=u.fontWeight,T=W===void 0?"normal":W,K=u.fontColor,N=K===void 0?"rgba(0,0,0,.15)":K,$=u.fontSize,z=$===void 0?16:$,j=u.fontFamily,R=j===void 0?"sans-serif":j,w=u.prefixCls,Y=(0,c.useContext)(m.default.ConfigContext),Z=Y.getPrefixCls,X=Z("pro-layout-watermark",w),ee=f()(X,r),te=(0,c.useState)(""),V=_()(te,2),Q=V[0],q=V[1];return(0,c.useEffect)(function(){var ie=document.createElement("canvas"),G=ie.getContext("2d"),re=s(G),oe="".concat((C+k)*re,"px"),ne="".concat((E+x)*re,"px"),ae=A||C/2,se=L||E/2;if(ie.setAttribute("width",oe),ie.setAttribute("height",ne),G){G.translate(ae*re,se*re),G.rotate(Math.PI/180*Number(I));var le=k*re,_e=x*re;if(B){var me=new Image;me.crossOrigin="anonymous",me.referrerPolicy="no-referrer",me.src=B,me.onload=function(){G.drawImage(me,0,0,le,_e),q(ie.toDataURL())}}else if(U){var fe=Number(z)*re;G.font="".concat(S," normal ").concat(T," ").concat(fe,"px/").concat(_e,"px ").concat(R),G.fillStyle=N,G.fillText(U,0,0),q(ie.toDataURL())}}else console.error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas")},[C,E,A,L,I,S,T,k,x,R,N,B,U,z]),(0,d.jsx)(d.Fragment,{children:Q&&(0,d.jsx)("div",{className:ee,style:o()({zIndex:P,position:"fixed",left:0,top:0,width:"100%",height:"100%",backgroundSize:"".concat(C+k,"px"),pointerEvents:"none",backgroundRepeat:"repeat",backgroundImage:"url('".concat(Q,"')")},t)})})};n.default=a},68144:function(h,n,e){"use strict";e.r(n),e.d(n,{default:function(){return Ae}});var v={};e.r(v),e.d(v,{aesDecrypt:function(){return Ee},aesEncrypt:function(){return ge},antPath:function(){return xe},base64ToJson:function(){return re},copy:function(){return _e},dayjs:function(){return V},dayjsFmt:function(){return ae},findNodesByDFS:function(){return Te},getArrayIds:function(){return $},getByJsonPath:function(){return Se},getNodeForge:function(){return Le},getStroage:function(){return R},getTimeId:function(){return N},getUUID:function(){return Be},isBrowser:function(){return te},isDev:function(){return z},isEmpty:function(){return Q},isFunction:function(){return j},isMobile:function(){return T},isNil:function(){return le},isNode:function(){return ee},isNotEmpty:function(){return q},jsonParse:function(){return oe},jsonStringify:function(){return G},jsonToBase64:function(){return ie},mergeProp:function(){return je},mergeProps:function(){return Ue},objIsEmpty:function(){return se},onArraySum:function(){return K},onFormartFileSize:function(){return W},onLoopData:function(){return pe},onPopoverPosition:function(){return de},onRelativeTime:function(){return F},onTextEllipsis:function(){return S},onTreeFlat:function(){return Ie},removeStroage:function(){return Y},rsaDecrypt:function(){return fe},rsaEncrypt:function(){return me},rsaEncryptForge:function(){return We},setStroage:function(){return w},sha256Encrypt:function(){return De},showLogWarning:function(){return Z},showWarning:function(){return X},stringToHex:function(){return ne}});var o=e(31759),y=e.n(o),_=e(44651),m=e.n(_),p=e(874),f=e.n(p),c=e(25778),d=e.n(c),s=e(17888),a=e.n(s),i=e(56e3),u=e.n(i),t=e(39396),r=e.n(t),l=e(87),P=e.n(l),g=e(58667),C=e(27859),O=e(21764),E=e(95170),b=e.n(E),k=e(4293),M=e.n(k),x=e(52041),D=e.n(x),I=e(52408),B=e(92054),U=e.n(B),A=e(15588),L=e(14224);a().locale(u()),a().extend(P()),a().extend(r());function F(H){return H?a()(H).calendar(null,{sameDay:"H:mm",nextDay:"M\u6708D\u65E5 H:mm",nextWeek:"M\u6708D\u65E5 H:mm",lastDay:"[\u6628\u5929] H:mm",lastWeek:"dddd H:mm",sameElse:"M\u6708D\u65E5 H:mm"}):""}F.description="\u663E\u793A\u76F8\u5BF9\u65F6\u95F4";function S(H,J){return!H||H.length<J?H:"".concat(H.substring(0,J-10),"...").concat(H.substring(H.length-10))}S.description="\u6587\u5B57\u4E2D\u90E8\u7701\u7565";function W(H){if(H<500)return"".concat(H,"Byte");if(H<1024)return"".concat((H/1024).toFixed(1),"KB");var J=Math.floor(H/1024);return J<1024?"".concat(J,"KB"):(J=H/1024/1024,"".concat(J.toFixed(2),"MB"))}W.description="\u6587\u4EF6\u5927\u5C0F\u683C\u5F0F\u5316";function T(){var H=navigator.userAgent,J=["Mobile","Android","iPhone","iPad","Windows Phone"];return J.some(function(ce){return H.includes(ce)})}T.description="\u79FB\u52A8\u7AEF\uFF1F";function K(H,J){return H.reduce(function(ce,ve){return D()(ce)&&D()(ve)&&J?ce[J]+ve[J]:ce+ve},0)}K.description="\u6C42\u548C";var N=function(){return new Date().getTime()};N.description="\u83B7\u53D6\u5F53\u524D\u65F6\u95F4\u6233";var $=function(J){return Array.from({length:J},function(ce,ve){return ve})};$.description="\u751F\u6210\u6570\u7EC4";function z(){return!1}z.description="\u5F00\u53D1\u73AF\u5883\uFF1F";function j(H){return typeof H=="function"}j.description="\u662F\u51FD\u6570\uFF1F";function R(H){return b().getItem(H)}R.description="\u83B7\u53D6stroage";function w(H,J){b().setItem(H,J)}w.description="\u8BBE\u7F6Estroage";function Y(H){return b().removeItem(H)}Y.description="\u5220\u9664stroage";function Z(H){}Z.description="\u5F00\u53D1\u73AF\u5883\u629B\u51FA\u5F02\u5E38\u4FE1\u606F";function X(H,J){(0,A.ZP)(H,J)}X.description="\u5F00\u53D1\u73AF\u5883\u629B\u8B66\u544A";function ee(){return typeof L!="undefined"&&L.versions!==null&&L.versions.node!==null}ee.description="nodejs \u73AF\u5883";function te(){return typeof window!="undefined"&&typeof window.document!="undefined"&&!ee}te.description="\u6D4F\u89C8\u5668\u73AF\u5883";function V(H){return a()(H)}V.description="\u683C\u5F0F\u5316\u6210dayjs";var Q=function(J){return M()(J)};Q.description="\u7A7A\u5224\u65AD";var q=function(J){return!Q(J)};q.description="\u975E\u7A7A";function ie(H){try{var J=JSON.stringify(H);return g.DS.encode(J)}catch(ce){return""}}ie.description="json\u8F6Cbase64";function G(H){if(!H)return"";try{return y()(H)==="object"?JSON.stringify(H):H}catch(J){return""}}G.description="json\u8F6Cstring";function re(H){try{var J=g.DS.decode(H);return JSON.parse(J)}catch(ce){return null}}re.description="base64\u8F6Cjson";function oe(H){try{return JSON.parse(H)}catch(J){return H}}oe.description="\u683C\u5F0F\u5316\u6210json";function ne(H){if(H==="")return"";for(var J=[],ce=0;ce<H.length;ce+=1)J.push(H.charCodeAt(ce).toString(16));return J.join("").toUpperCase()}ne.description="\u5B57\u7B26\u4E32\u8F6Cbase64";function ae(H,J){if(H)return J&&(a()(),a()(H).format(J)),a()(H)}ae.description="\u5B57\u7B26\u4E32\u8F6Cdayjs";function se(H){return H?Object.keys(H).length===0:!0}se.description="\u7A7A\u5BF9\u8C61\u5224\u65AD";function le(H){return typeof H=="string"?H.trim()==="":Array.isArray(H)?H.length===0:D()(H)?Object.keys(H).length===0:H==null}le.description="\u5224\u65AD\u503C\u4E0D\u4E3A\u7A7A";function _e(H){if(H)return f()(H)}_e.description="\u590D\u5236\u6587\u5B57";function me(H,J){var ce=new C.Z;return ce.setPublicKey(J),ce.encrypt(H)||""}me.description="RSA\u52A0\u5BC6";function fe(H,J){var ce=new C.Z;return ce.setPublicKey(J),ce.decrypt(H)||""}fe.description="RSA\u89E3\u5BC6";function ge(H,J){return d().AES.encrypt(d().enc.Utf8.parse(H),d().enc.Utf8.parse(J),{mode:d().mode.ECB,padding:d().pad.Pkcs7}).toString()}ge.description="AES\u52A0\u5BC6";function Ee(H,J){return d().AES.decrypt(H,d().enc.Utf8.parse(J),{mode:d().mode.ECB,padding:d().pad.Pkcs7}).toString(d().enc.Utf8)}Ee.description="AES\u89E3\u5BC6";function De(H,J){return d().HmacSHA256(d().enc.Utf8.parse(H),J).toString(d().enc.Hex)}De.description="HmacSHA256";function xe(H,J){var ce=new(m());return ce.match(H,J)}xe.description="\u5224\u65AD\u662F\u5426\u7B26\u5408ant path\u98CE\u683C\u5339\u914D\u5730\u5740";function Ie(H){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"children";return H.reduce(function(ce,ve){return ce.push(ve),ve[J]?ce.concat(Ie(ve[J])):ce},[])}Ie.description="\u6811\u5F62\u6570\u636E\u6241\u5E73\u5316";function Be(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0,1,2],ce=["1234567890","abcdefghijklmnopqrstuvwxyz","ABCDEFGHIJKLMNOPQRSTUVWXYZ"],ve=ce.join("");if(Array.isArray(J)){var be=J.map(function(Fe){return ce[Fe]}).join("");be&&(ve=be)}else ve=ce[J];var Ce=(0,I.kP)(ve,H);return Ce()}Be.description="\u751F\u6210uuid";function Ue(){for(var H={},J=arguments.length,ce=new Array(J),ve=0;ve<J;ve++)ce[ve]=arguments[ve];return ce.forEach(function(be){be&&Object.keys(be).forEach(function(Ce){be[Ce]!==void 0&&(H[Ce]=be[Ce])})}),H}function je(H){for(var J=arguments.length,ce=new Array(J>1?J-1:0),ve=1;ve<J;ve++)ce[ve-1]=arguments[ve];for(var be=ce.length-1;be>=0;be-=1)if(ce[be]!==void 0)return ce[be];return H}Ue.description="\u5408\u5E76props",je.description="\u5408\u5E76prop";function de(H,J,ce){var ve={},be=H.clientHeight,Ce=H.clientWidth;return Ce/2>ce&&be/2>J&&(ve={left:ce,top:J,maxHeight:be-J-16}),Ce/2>ce&&be/2<J&&(ve={left:ce,bottom:be-J,maxHeight:J-16}),Ce/2<ce&&be/2>J&&(ve={right:Ce-ce,top:J,maxHeight:be-J-16}),Ce/2<ce&&be/2<J&&(ve={right:Ce-ce,bottom:be-J,maxHeight:J-16}),ve}de.description="\u5224\u65AD\u76EE\u6807\u5BF9\u8BDD\u6846\u51FA\u73B0\u7684\u4F4D\u7F6E";function pe(H,J){for(var ce=H.data,ve=H.key,be=H.fieldKey,Ce=be===void 0?"key":be,Fe=0;Fe<ce.length;Fe++){var ue;if(ce[Fe][Ce]===ve)return J(ce[Fe],Fe,ce);var ye=(ue=ce[Fe])===null||ue===void 0?void 0:ue.children;ye&&pe({data:ye,key:ve,fieldKey:Ce},J)}}pe.description="\u67E5\u627E\u6811\u5F62\u8282\u70B9";function Te(H,J){var ce=[];return H.forEach(function(ve){J(ve)&&ce.push(ve),ve.children&&ve.children.length>0&&(ce=ce.concat(Te(ve.children,J)))}),ce}Te.description="\u6DF1\u5EA6\u4F18\u5148\u641C\u7D22\uFF08\u9012\u5F52\uFF09\u83B7\u53D6\u7B26\u5408\u6761\u4EF6\u7684\u8282\u70B9";function Se(H,J){return(0,O.j)({json:H,path:J})}Se.description="\u6839\u636Ejson path \u83B7\u53D6\u6570\u636E";function Le(){return U()}Le.description="\u751F\u6210node-forge\u5B9E\u4F8B";function We(H,J){var ce=U().pki.publicKeyFromPem(J),ve=ce.encrypt(H,"RSAES-PKCS1-V1_5",{md:U().md.sha256.create()});return U().util.encode64(ve)}We.description="\u57FA\u4E8Enode-forge\u5B9E\u73B0rsa\u52A0\u5BC6";var Ae=v},83857:function(h,n,e){"use strict";e.r(n)},86638:function(h,n,e){"use strict";e.r(n)},27783:function(){"use strict"},587:function(h,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"\u57FA\u4E8E\u5355\u4E00\u804C\u8D23\u8BBE\u8BA1\u7684\u539F\u5B50\u7EC4\u4EF6",paraId:0,tocIndex:0}]},63953:function(h,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"\u81EA\u52A8\u83B7\u53D6\u7CFB\u7EDF\u6309\u94AE\u6743\u9650\u6570\u636E\uFF0C\u901A\u8FC7\u6743\u9650 key \u63A7\u5236\u663E\u9690\u5185\u5BB9",paraId:0,tocIndex:0},{value:"\u53C2\u6570",paraId:1,tocIndex:4},{value:"\u8BF4\u660E",paraId:1,tocIndex:4},{value:"\u7C7B\u578B",paraId:1,tocIndex:4},{value:"\u9ED8\u8BA4\u503C",paraId:1,tocIndex:4},{value:"auth",paraId:1,tocIndex:4},{value:"api \u6743\u9650\u6807\u8BC6",paraId:1,tocIndex:4},{value:"string",paraId:1,tocIndex:4},{value:"-",paraId:1,tocIndex:4}]},21025:function(h,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"\u81EA\u52A8\u83B7\u53D6\u7CFB\u7EDF\u6309\u94AE\u6743\u9650\u6570\u636E\uFF0C\u901A\u8FC7\u6743\u9650 key \u63A7\u5236\u663E\u9690\u5185\u5BB9",paraId:0,tocIndex:0},{value:"ButtonProps",paraId:1,tocIndex:4},{value:"CcsButton.Group",paraId:2,tocIndex:4},{value:"CcsButton.Dropdown",paraId:3,tocIndex:4},{value:"\u66F4\u591A...",paraId:4,tocIndex:4}]},61519:function(h,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"\u6570\u636E\u6765\u6E90\u4E8E\u63A5\u53E3\u7684 Cascader \u7EC4\u4EF6\uFF0C\u5C01\u88C5\u6570\u636E\u8BF7\u6C42\u903B\u8F91",paraId:0,tocIndex:0},{value:"CascaderProps",paraId:1,tocIndex:4}]},18284:function(h,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"\u65F6\u95F4\u9009\u62E9\u7EC4\u4EF6\uFF0C\u8F93\u5165\u8F93\u51FA\u65F6\u95F4\u5B57\u7B26\u4E32",paraId:0,tocIndex:0},{value:"DatePickerProps",paraId:1,tocIndex:4},{value:"RangePickerProps",paraId:2,tocIndex:4}]},91941:function(h,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"\u96C6\u6210 Modal\u3001Drawer\u3001Message\u3001Notification \u9002\u5E94\u4E3B\u9898\u53D8\u5316\u7684\u9759\u6001\u65B9\u6CD5",paraId:0,tocIndex:0},{value:"\u4F7F\u7528\u9759\u6001\u65B9\u6CD5\u65F6\uFF0C\u9700\u4F7F\u7528CcsAppConfig\u7EC4\u4EF6\u3002\u53EA\u9700\u5728\u5E94\u7528\u5916\u56F4\u5305\u88F9\u4E00\u6B21\u5373\u53EF\u5168\u5C40\u751F\u6548\u3002",paraId:1,tocIndex:0},{value:"\u4E3B\u8981\u529F\u80FD\uFF1A",paraId:2,tocIndex:0},{value:"\u9759\u6001\u65B9\u6CD5\u6253\u5F00\u5BF9\u8BDD\u6846\uFF0C\u652F\u6301\u83B7\u53D6 context \u4E0A\u4E0B\u6587",paraId:3,tocIndex:0},{value:"\u81EA\u52A8\u6536\u96C6\u8868\u5355\u4FE1\u606F\uFF0C\u8C03\u7528\u63A5\u53E3\u5904\u7406\u3001\u7ED3\u679C\u53CD\u9988",paraId:3,tocIndex:0},{value:"\u5982\u4F7F\u7528\u5BF9\u8BDD\u6846\u81EA\u52A8\u8C03\u7528\u63A5\u53E3\uFF0C\u53CD\u9988\u7ED3\u679C\u9700\u6307\u5B9A\u63A5\u53E3\u8FD4\u56DE\u89C4\u8303\uFF0C\u5168\u5C40\u914D\u7F6E\u4E00\u6B21\u5373\u53EF\u3002",paraId:4,tocIndex:4},{value:`<CcsAppConfig
22
+ \u4F7F\u7528\u53C2\u6570labelInValue\u8FD4\u56DE\u9009\u4E2D\u5BF9\u8C61\u6570\u636E`},context:{"./service.ts":c,"@ccs-ui/rc-pro":v,ahooks:r,antd:i,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/demos/service.ts":c},renderOpts:{compile:function(){var d=_()(C()().mark(function t(){var u,a=arguments;return C()().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.next=2,e.e(9510).then(e.bind(e,59510));case 2:return P.abrupt("return",(u=P.sent).default.apply(u,a));case 3:case"end":return P.stop()}},t)}));function m(){return d.apply(this,arguments)}return m}()}},"select-demo-customize-label":{component:l.memo(l.lazy(function(){return e.e(6714).then(e.bind(e,96672))})),asset:{type:"BLOCK",id:"select-demo-customize-label",refAtomIds:["select"],dependencies:{"index.tsx":{type:"FILE",value:e(20804).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},antd:{type:"NPM",value:"5.27.3"},"./service.ts":{type:"FILE",value:e(65358).Z}},entry:"index.tsx",title:"\u81EA\u5B9A\u4E49\u9009\u4E2D\u8BE6\u60C5"},context:{"./service.ts":c,"@ccs-ui/rc-pro":v,antd:i,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/demos/service.ts":c},renderOpts:{compile:function(){var d=_()(C()().mark(function t(){var u,a=arguments;return C()().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.next=2,e.e(9510).then(e.bind(e,59510));case 2:return P.abrupt("return",(u=P.sent).default.apply(u,a));case 3:case"end":return P.stop()}},t)}));function m(){return d.apply(this,arguments)}return m}()}}}},21300:function(g,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return i}});var h=e(90228),o=e.n(h),C=e(87999),p=e.n(C),_=e(75271),l=e(39203),v=e(28320),i={"time-picker-demo-basic":{component:_.memo(_.lazy(function(){return e.e(9673).then(e.bind(e,64600))})),asset:{type:"BLOCK",id:"time-picker-demo-basic",refAtomIds:["time-picker"],dependencies:{"index.tsx":{type:"FILE",value:e(54516).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u5E74\uFF0C\u6708\uFF0C\u65E5\uFF0C\u65F6\u95F4\uFF0C\u8F93\u5165\u8F93\u51FA\u5B57\u7B26\u4E32\uFF0C\u4E0D\u9700\u8981\u8F6C\u6362Dayjs\u7C7B\u578B\u3002"},context:{"@ccs-ui/rc-pro":l,antd:v},renderOpts:{compile:function(){var c=p()(o()().mark(function s(){var d,m=arguments;return o()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,e.e(9510).then(e.bind(e,59510));case 2:return u.abrupt("return",(d=u.sent).default.apply(d,m));case 3:case"end":return u.stop()}},s)}));function r(){return c.apply(this,arguments)}return r}()}}}},67655:function(g,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return v}});var h=e(90228),o=e.n(h),C=e(87999),p=e.n(C),_=e(75271),l=e(39203),v={"upload-demo-basic":{component:_.memo(_.lazy(function(){return e.e(43).then(e.bind(e,90828))})),asset:{type:"BLOCK",id:"upload-demo-basic",refAtomIds:["upload"],dependencies:{"index.tsx":{type:"FILE",value:e(48615).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"}},entry:"index.tsx",title:"\u6587\u4EF6\u4E0A\u4F20"},context:{"@ccs-ui/rc-pro":l},renderOpts:{compile:function(){var i=p()(o()().mark(function r(){var s,d=arguments;return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.e(9510).then(e.bind(e,59510));case 2:return t.abrupt("return",(s=t.sent).default.apply(s,d));case 3:case"end":return t.stop()}},r)}));function c(){return i.apply(this,arguments)}return c}()}},"upload-demo-image":{component:_.memo(_.lazy(function(){return e.e(43).then(e.bind(e,22946))})),asset:{type:"BLOCK",id:"upload-demo-image",refAtomIds:["upload"],dependencies:{"index.tsx":{type:"FILE",value:e(52122).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"}},entry:"index.tsx",title:"\u56FE\u7247\u4E0A\u4F20"},context:{"@ccs-ui/rc-pro":l},renderOpts:{compile:function(){var i=p()(o()().mark(function r(){var s,d=arguments;return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.e(9510).then(e.bind(e,59510));case 2:return t.abrupt("return",(s=t.sent).default.apply(s,d));case 3:case"end":return t.stop()}},r)}));function c(){return i.apply(this,arguments)}return c}()}}}},82757:function(g,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return v}});var h=e(90228),o=e.n(h),C=e(87999),p=e.n(C),_=e(75271),l=e(39203),v={"water-mark-demo-basic":{component:_.memo(_.lazy(function(){return e.e(1592).then(e.bind(e,86608))})),asset:{type:"BLOCK",id:"water-mark-demo-basic",refAtomIds:["water-mark"],dependencies:{"index.tsx":{type:"FILE",value:e(7281).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.7-beta.11"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u57FA\u672C\u7528\u6CD5\u3002"},context:{"@ccs-ui/rc-pro":l},renderOpts:{compile:function(){var i=p()(o()().mark(function r(){var s,d=arguments;return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.e(9510).then(e.bind(e,59510));case 2:return t.abrupt("return",(s=t.sent).default.apply(s,d));case 3:case"end":return t.stop()}},r)}));function c(){return i.apply(this,arguments)}return c}()}}}},57979:function(g,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return v}});var h=e(90228),o=e.n(h),C=e(87999),p=e.n(C),_=e(75271),l=e(68144),v={"packages-utils-src-demo-demos":{component:_.memo(_.lazy(function(){return e.e(2433).then(e.bind(e,91152))})),asset:{type:"BLOCK",id:"packages-utils-src-demo-demos",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:e(93474).Z},"@ccs-ui/utils":{type:"NPM",value:"0.1.7"}},entry:"index.tsx"},context:{"@ccs-ui/utils":l},renderOpts:{compile:function(){var i=p()(o()().mark(function r(){var s,d=arguments;return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.e(9510).then(e.bind(e,59510));case 2:return t.abrupt("return",(s=t.sent).default.apply(s,d));case 3:case"end":return t.stop()}},r)}));function c(){return i.apply(this,arguments)}return c}()}}}},12648:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return b}});var h=e(26068),o=e.n(h),C=e(15558),p=e.n(C),_=e(48305),l=e.n(_),v=e(79312),i=e(5864),c=e(15409),r=e(30627),s=e(3923),d=e(55387),m=e(16929),t=e(18529),u=e(18466),a=e(46960),y=e(75271),P=e(52676),M=m.Z.useToken;function T(E){var D=E.msg,x=(0,y.useState)(!0),S=l()(x,2),I=S[0],A=S[1];return(0,y.useEffect)(function(){D&&setTimeout(function(){A(!1)},1e3)},[]),I?D:""}function f(E){var D=E.bgImg,x=E.sliderImg,S=E.loadingImg,I=E.loadingValid,A=E.validErrorMsg,B=E.onValid,F=E.onCancel,k=E.onRefresh,W=(0,y.useRef)(null),U=(0,y.useRef)(null),K=(0,y.useRef)({start:!1,startX:0});(0,y.useEffect)(function(){K.current={start:!1,startX:0},W.current.style.left="0px",U.current.style.left="0px"},[x]);var j=function(R){if(R<0){W.current.style.left="0px",U.current.style.left="0px";return}var z=R>263?"263px":"".concat(R,"px");W.current.style.left=z,U.current.style.left=z};(0,d.Z)("mousedown",function(w){I||(K.current.startX||(K.current.startX=w.clientX),K.current.start=!0)},{target:W}),(0,d.Z)("mousemove",function(w){if(K.current.start){var R=w.clientX-K.current.startX;j(R)}},{target:document}),(0,d.Z)("mouseup",function(w){var R=w.clientX-K.current.startX;B({x:R,y:5},"sliding"),K.current.start=!1},{target:document});var Z=M(),N=Z.token;return(0,P.jsxs)(t.Z,{indicator:(0,P.jsx)(v.Z,{style:{fontSize:24}}),spinning:S,children:[(0,P.jsxs)("div",{className:"ccs-aj-body",style:{background:N.colorBgContainerDisabled},children:[(0,P.jsx)("img",{className:"ccs-aj-bg",src:D?"data:image/png;base64,".concat(D):void 0,width:310,height:155}),(0,P.jsx)("img",{ref:U,className:"ccs-aj-slider-img",style:{height:155},src:x?"data:image/png;base64,".concat(x):void 0}),(0,P.jsxs)("div",{className:"ccs-aj-btn",children:[(0,P.jsx)(u.ZP,{onClick:k,type:"text",icon:(0,P.jsx)(i.Z,{})}),(0,P.jsx)("div",{className:"ccs-aj-error",children:(0,P.jsx)(T,{msg:A},x)}),(0,P.jsx)(u.ZP,{onClick:F,type:"text",icon:(0,P.jsx)(c.Z,{})})]})]}),(0,P.jsxs)("div",{className:"ccs-aj-slider",style:{background:N.colorBgElevated},children:[(0,P.jsx)("div",{className:"ccs-aj-slider-track",style:{background:N.colorBgContainerDisabled},children:"\u6309\u4F4F\u6ED1\u5757\uFF0C\u62D6\u52A8\u5B8C\u6210\u4E0A\u65B9\u62FC\u56FE"}),(0,P.jsx)("div",{className:"ccs-aj-slider-bar",ref:W,style:{backgroundColor:N.colorBgBase,border:"1px solid ".concat(N.colorBorder)},children:I?(0,P.jsx)(v.Z,{}):(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(r.Z,{}),(0,P.jsx)(s.Z,{})]})})]})]})}function O(E){var D=E.bgImg,x=E.words,S=E.loadingImg,I=E.loadingValid,A=E.validErrorMsg,B=E.onValid,F=E.onCancel,k=E.onRefresh,W=(0,y.useRef)(null),U=(0,y.useState)([]),K=l()(U,2),j=K[0],Z=K[1];(0,y.useEffect)(function(){Z([])},[D]),(0,d.Z)("mouseup",function(R){Z([].concat(p()(j),[{x:R.offsetX,y:R.offsetY}]))},{target:W}),(0,y.useEffect)(function(){j.length===(x==null?void 0:x.length)&&B(j,"wordSelect")},[j.length]);var N=M(),w=N.token;return(0,P.jsxs)(t.Z,{indicator:(0,P.jsx)(v.Z,{style:{fontSize:24}}),spinning:S||I,children:[(0,P.jsxs)("div",{className:"ccs-aj-body",style:{background:w.colorBgContainerDisabled},children:[(0,P.jsx)("img",{ref:W,className:"ccs-aj-bg",src:D?"data:image/png;base64,".concat(D):void 0,width:310,height:155}),j.map(function(R,z){return(0,P.jsx)("div",{className:"ccs-word-point",style:{left:R.x-13,top:R.y-13},children:z+1},R.x)}),(0,P.jsxs)("div",{className:"ccs-aj-btn",children:[(0,P.jsx)(u.ZP,{onClick:k,type:"text",icon:(0,P.jsx)(i.Z,{})}),(0,P.jsx)("div",{className:"ccs-aj-error",children:(0,P.jsx)(T,{msg:A},D)}),(0,P.jsx)(u.ZP,{onClick:F,type:"text",icon:(0,P.jsx)(c.Z,{})})]})]}),(0,P.jsxs)("div",{className:"ccs-aj-word-slider",style:{color:w.colorTextLabel,border:"1px solid ".concat(w.colorTextLabel)},children:["\u8BF7\u4F9D\u6B21\u70B9\u51FB\u3010",x==null?void 0:x.join(", "),"\u3011"]})]})}function L(E){var D=E.captchaType==="sliding"?"10px 10px 0 10px":10;return(0,P.jsx)(a.Z,{width:330,open:E.open,destroyOnHidden:!0,onCancel:E.onCancel,footer:null,closable:!1,maskClosable:!1,styles:{content:{padding:0},body:{padding:D},mask:{backgroundColor:"rgba(0, 0, 0, 0.25)"}},className:"ccs-aj-modal",style:{top:"calc(50vh - 200px)"},children:E.captchaType==="sliding"?(0,P.jsx)(f,o()({},E)):(0,P.jsx)(O,o()({},E))})}var b=L},73799:function(g,n,e){"use strict";e.r(n),e.d(n,{DataEvent:function(){return h}});var h=function(o){return o.Search="search",o.Reset="reset",o.Reload="reload",o.ChangePage="changePage",o.InitSearch="initSearch",o.FullScreen="fullScreen",o.ColumnFilter="columnFilter",o.SelectedRows="SelectedRows",o.Expand="Expand",o.PartialReload="PartialReload",o}({})},22126:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return a}});var h=e(26068),o=e.n(h),C=e(31759),p=e.n(C),_=e(48305),l=e.n(_),v=e(45186),i=e(42932),c=e(81465),r=e(69608),s=e(18466),d=e(75271),m=e(32097),t=e(52676),u=i.Z.Group;function a(y){var P=y.isAll,M=y.btnProps,T=y.options,f=T===void 0?[]:T,O=y.defaultCheckedKeys,L=O===void 0?[]:O,b=(0,d.useState)(L),E=l()(b,2),D=E[0],x=E[1],S=function(F){var k;x(F),(k=y.onChange)===null||k===void 0||k.call(y,F)},I=function(F){var k,W=F.target.checked?f.map(function(U){return p()(U)==="object"?U.value:U}):[];x(W),(k=y.onChange)===null||k===void 0||k.call(y,W)},A=function(){if(!(P===!1||!(f!=null&&f.length))){var F=f.length===D.length,k=D.length>0&&D.length<f.length;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.Z,{indeterminate:k,onChange:I,checked:F,children:"\u5168\u9009"}),(0,t.jsx)(c.Z,{style:{margin:"10px 0"}})]})}};return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(r.Z,{placement:y.placement,content:(0,t.jsxs)(t.Fragment,{children:[A(),(0,t.jsx)(u,{className:"".concat(m.classAtomPrefix,"-check"),options:f,value:D,onChange:S})]}),children:(0,t.jsx)(s.ZP,o()({type:"text",icon:(0,t.jsx)(v.Z,{})},M))})})}},21827:function(g,n,e){"use strict";e.r(n);var h=e(26068),o=e.n(h),C=e(90228),p=e.n(C),_=e(87999),l=e.n(_),v=e(48305),i=e.n(v),c=e(67825),r=e.n(c),s=e(75250),d=e(18466),m=e(75271),t=e(52676),u=["num","cacheKey","disabledText","children"];function a(y,P){var M=y.num,T=M===void 0?60:M,f=y.cacheKey,O=y.disabledText,L=y.children,b=r()(y,u),E=(0,m.useState)(-1),D=i()(E,2),x=D[0],S=D[1],I=(0,m.useState)(null),A=i()(I,2),B=A[0],F=A[1],k=(0,m.useMemo)(function(){return f||window.location.host},[]);(0,m.useLayoutEffect)(function(){var K=function(){var j=l()(p()().mark(function Z(){var N,w,R,z;return p()().wrap(function(H){for(;;)switch(H.prev=H.next){case 0:return H.next=2,localStorage.getItem(k);case 2:if(N=H.sent,!N){H.next=11;break}if(w=JSON.parse(N),R=new Date().getTime(),z=Math.round((R-w.time)/1e3),!(z<w.num)){H.next=11;break}return S(w.num-z),F(1e3),H.abrupt("return");case 11:S(T);case 12:case"end":return H.stop()}},Z)}));return function(){return j.apply(this,arguments)}}();K()},[]),(0,s.Z)(function(){if(x-1===0){F(null),S(T),k&&localStorage.removeItem(k);return}S(x-1)},B,{immediate:!0});var W=x!==0&&x!==T,U=function(){F(1e3),k&&localStorage.setItem(k,JSON.stringify({num:T,time:new Date().getTime()}))};return(0,m.useImperativeHandle)(P,function(){return{onStart:U}}),x===-1?null:(0,t.jsx)(d.ZP,o()(o()({type:"primary"},b),{},{onClick:b.onClick?b.onClick:U,disabled:b.disabled?!0:W,children:W?"".concat(x,"\u79D2").concat(O):"".concat(L)}))}n.default=(0,m.forwardRef)(a)},13373:function(g,n,e){"use strict";e.r(n);var h=e(48305),o=e.n(h),C=e(60680),p=e(68144),_=e(57439),l=e(18466),v=e(8890),i=e(75271),c=e(14306),r=e(32097),s=e(52676),d={visibility:"hidden",whiteSpace:"inherit",lineHeight:"inherit",fontSize:"inherit"},m=function(a){return a[a.INIT=99]="INIT",a[a.NO_ELLIPSIS=0]="NO_ELLIPSIS",a[a.MEASURE_WALKING=200]="MEASURE_WALKING",a[a.STABLE_ELLIPSIS=400]="STABLE_ELLIPSIS",a[a.NULL=-1]="NULL",a}(m||{}),t="...";function u(a){var y=a.content,P=a.rows,M=P===void 0?1:P,T=a.direction,f=T===void 0?"end":T,O=a.showTooltip,L=i.useRef(null),b=i.useRef(null),E=i.useState(m.INIT),D=o()(E,2),x=D[0],S=D[1],I=i.useMemo(function(){return(0,c.default)(y||"")},[y]),A=(0,i.useState)(0),B=o()(A,2),F=B[0],k=B[1],W=(0,i.useRef)({maxHeight:0,step:0});(0,i.useEffect)(function(){var j=I.length;if(x===m.INIT){var Z,N,w=(((Z=L.current)===null||Z===void 0?void 0:Z.offsetHeight)||0)*M;if(((N=L.current)===null||N===void 0?void 0:N.offsetHeight)===0){S(m.NULL);return}W.current.maxHeight=w,W.current.step=j,k(j),S(m.MEASURE_WALKING);return}if(x===m.MEASURE_WALKING){var R=Math.floor(W.current.step/2);W.current.step=R;var z=b.current;if(z.offsetHeight===z.scrollHeight){if(F===j){S(m.NO_ELLIPSIS);return}if(R===0){S(m.STABLE_ELLIPSIS);return}k(function(J){return J+R})}else{if(R===0){k(function(J){return J-1}),S(m.STABLE_ELLIPSIS);return}k(function(J){return J-R})}}},[x,F]);var U=function(){if(F===0)return".";if(f==="start")return"".concat(t).concat(I.slice(I.length-F).join(""));if(f==="end")return"".concat(I.slice(0,F).join("")).concat(t);if(f==="middle"){var Z=Math.floor(F/2);return"".concat(I.slice(0,Z).join("")).concat(t).concat(I.slice(I.length-(F-Z)).join(""))}};if(x===m.NO_ELLIPSIS)return y;if(x===m.STABLE_ELLIPSIS)return O?(0,s.jsx)(_.Z,{zIndex:9999,rootClassName:"ccs-ellipsis-tootip",title:function(){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{style:{maxHeight:300,overflow:"auto"},children:y}),(0,s.jsx)("div",{style:{textAlign:"right"},children:(0,s.jsx)(l.ZP,{type:"link",onClick:function(){p.default.copy(y),v.ZP===null||v.ZP===void 0||v.ZP.info("\u590D\u5236\u6210\u529F")},icon:(0,s.jsx)(C.Z,{}),children:"\u590D\u5236"})})]})},placement:"bottomLeft",destroyOnHidden:!0,styles:{body:{whiteSpace:"normal"}},children:U()}):U();var K=function(Z){Z.height===0||Z.width};return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"ccs-ellipsis",children:[x===m.INIT&&(0,s.jsx)("div",{"aria-hidden":!0,ref:L,style:d,children:"\xA0"},"stable"),x===m.MEASURE_WALKING&&(0,s.jsx)("div",{ref:b,style:{maxHeight:W.current.maxHeight},className:"ccs-ellipsis-scroll",children:U()},"measure-walking"),x===m.NULL&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{ref:b,children:"\xA0"}),(0,s.jsx)(r.default.Resize,{targetRef:b,onResize:K})]})]})})}n.default=i.memo(u,function(a,y){return a.content===y.content})},26123:function(g,n,e){"use strict";e.r(n);var h=e(67825),o=e.n(h),C=e(26068),p=e.n(C),_=e(48305),l=e.n(_),v=e(68825),i=e(49115),c=e(80729),r=e(16929),s=e(18466),d=e(75271),m=e(32097),t=e(64276),u=e(32272),a=e(52676),y=["onFormat"];function P(M,T){var f=M.extra,O=M.style,L=M.className,b=M.expandForm,E=b===void 0?!1:b,D=M.formItems,x=D===void 0?[]:D,S=M.formInitValues,I=M.formItemLabelWidth,A=M.requestParam,B=M.onSearch,F="".concat(m.classAtomPrefix,"-filter"),k=c.Z.useForm(),W=l()(k,1),U=W[0],K=(0,d.useRef)(null),j=(0,d.useRef)(null),Z=(0,d.useRef)(null),N=(0,d.useState)(!1),w=l()(N,2),R=w[0],z=w[1],J=(0,d.useState)(!1),H=l()(J,2),G=H[0],te=H[1],V=r.Z.useToken().token;function Y(){var le=V.rootValue?"".concat((V.controlHeight/V.rootValue).toFixed(3),"rem"):V.controlHeight;return le}var q=(0,d.useState)(Y),ne=l()(q,2),ae=ne[0],X=ne[1];(0,d.useEffect)(function(){G&&E&&z(!0)},[G]);var re=function(){var _e=U.getFieldsValue();if(_e){var me=Object.keys(_e).filter(function(fe){return fe.startsWith("_")&&fe.endsWith("_")});me.length>0&&me.forEach(function(fe){return delete _e[fe]})}return Object.keys(_e).forEach(function(fe){if(_e[fe]!==void 0){var ge=x.find(function(Pe){return Pe.name===fe});ge!=null&&ge.onFormat&&(_e[fe]=ge.onFormat(_e[fe]))}}),p()(p()(p()({},A),S),_e)};(0,d.useImperativeHandle)(T,function(){return{getFormValues:re,form:U}});var oe=function(){var _e,me,fe,ge,Pe;if(!(!j.current||!K.current)){var ye=ae;K.current.childNodes.forEach(function(pe){ye<pe.clientHeight&&(ye=pe.clientHeight)}),ye!==ae&&X(ye);var Ee=(_e=j.current)===null||_e===void 0||(_e=_e.getClientRects()[0])===null||_e===void 0?void 0:_e.top,Te=(me=K.current)===null||me===void 0||(me=me.getClientRects()[0])===null||me===void 0?void 0:me.top,Fe=(fe=Z.current)===null||fe===void 0||(fe=fe.getClientRects()[0])===null||fe===void 0?void 0:fe.top;if(Ee===Te&&Ee===Fe&&(te(!1),z(!1)),!R){var Ue=((ge=j.current)===null||ge===void 0||(ge=ge.getClientRects()[0])===null||ge===void 0?void 0:ge.top)!==((Pe=K.current)===null||Pe===void 0||(Pe=Pe.getClientRects()[0])===null||Pe===void 0?void 0:Pe.top);te(Ue)}}};if((0,d.useEffect)(function(){oe()},[]),x.length===0)return null;var Q=function(_e){_e.width!==0&&oe()},ie=(0,a.jsxs)("div",{style:{textAlign:"right",flex:R&&G?"1 1 auto":"0 0 auto"},ref:Z,children:[G&&(0,a.jsx)(s.ZP,{type:"link",icon:R?(0,a.jsx)(v.Z,{}):(0,a.jsx)(i.Z,{}),style:{padding:"4px 6px"},onClick:function(){return z(!R)},children:R?"\u6536\u8D77":"\u5C55\u5F00"}),(0,a.jsx)(s.ZP,{type:"primary",htmlType:"submit",children:"\u67E5\u8BE2"}),f]}),se={flexWrap:R?"wrap":"nowrap"};return(0,a.jsx)(u.default,{style:O,className:L,children:(x.length>0||B)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m.default.Resize,{targetRef:K,onResize:Q}),(0,a.jsxs)(c.Z,{initialValues:S,form:U,onFinish:B,layout:"inline",style:se,preserve:!1,children:[(0,a.jsx)("div",{style:{height:R?"auto":ae},className:"".concat(F,"-adaptation"),children:(0,a.jsxs)("div",{className:"".concat(F,"-").concat(R&&G?"expand":"collapse"),ref:K,children:[x.map(function(le){var _e=le.onFormat,me=o()(le,y);return(0,a.jsx)(t.Z.Item,p()(p()(p()({},me),I?{label:(0,a.jsx)("div",{style:{width:I},children:me.label})}:void 0),{},{className:"".concat(F,"-form-item"),children:me.value||me.children}),me.name)}),(0,a.jsx)("div",{style:{height:1},ref:j}),R&&ie]})}),!R&&ie]})]})})}n.default=d.forwardRef(P)},93238:function(g,n,e){"use strict";e.r(n);var h=e(26068),o=e.n(h),C=e(48305),p=e.n(C),_=e(87887),l=e(67619),v=e(16929),i=e(18466),c=e(57439),r=e(75271),s=e(32097),d=e(52676);function m(t){var u=t.btnProps,a=t.parentHtmlId,y=(0,r.useState)(!1),P=p()(y,2),M=P[0],T=P[1],f=(0,r.useRef)(null),O=(0,r.useRef)(void 0),L=v.Z.useToken(),b=L.token;(0,r.useEffect)(function(){a&&(O.current=f.current.closest("#".concat(a))||void 0)},[]);var E=function(){if(O.current){var x=O.current||{},S=x.classList,I=x.style;M?(S==null||S.remove("".concat(s.classAtomPrefix,"-fullscreen")),I.backgroundColor="transparent"):(S==null||S.add("".concat(s.classAtomPrefix,"-fullscreen")),I.backgroundColor=b.colorBgContainer)}T(!M)};return(0,d.jsx)("span",{ref:f,children:M?(0,d.jsx)(i.ZP,o()({onClick:function(){return E()},icon:(0,d.jsx)(_.Z,{}),type:"text"},u)):(0,d.jsx)(c.Z,{title:"\u5168\u5C4F",destroyOnHidden:!0,children:(0,d.jsx)(i.ZP,o()({onClick:function(){return E()},icon:(0,d.jsx)(l.Z,{}),type:"text"},u))})})}n.default=m},32097:function(g,n,e){"use strict";e.r(n),e.d(n,{classAtomPrefix:function(){return m},default:function(){return u}});var h=e(22126),o=e(21827),C=e(13373),p=e(26123),_=e(93238),l=e(9889),v=e(39142),i=e(70110),c=e(56251),r=e(64723),s=e(24887),d=e(52676),m="ccs-atom",t=function(){return(0,d.jsx)(d.Fragment,{})};t.Filter=p.default,t.Operation=v.default,t.Checkbox=h.default,t.FullScreen=_.default,t.Title=c.default,t.Resize=i.default,t.Countdown=o.default,t.Ellipsis=C.default,t.usePageRequest=s.default,t.useComplexState=r.default,t.Loading=l.default;var u=t},32272:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return i}});var h=e(26068),o=e.n(h),C=e(16929),p=e(82187),_=e.n(p),l=e(85289),v=e(52676);function i(c){var r=c.style,s=c.size,d=c.className,m=c.children,t=C.Z.useToken(),u=t.token;(0,l.useInsertCss)("atom-item",function(){return[".ccs-atom-item ~ .ccs-atom-item { border-top: 1px solid ".concat(u.colorBorderSecondary,"; }")]});var a=s==="small"?u.paddingSM:u.paddingMD;return(0,v.jsx)("div",{className:_()("ccs-atom-item",d),style:o()({background:u.colorBgContainer,padding:"".concat(u.paddingSM,"px ").concat(a,"px")},r),children:m})}},9889:function(g,n,e){"use strict";e.r(n);var h=e(79312),o=e(8984),C=e(18529),p=e(52676),_=function(v){var i=v.loading,c=v.loadingTip;return i?(0,p.jsx)("div",{className:"ccs-loading",children:(0,p.jsx)("div",{className:"ccs-loading-content ",children:(0,p.jsxs)(o.Z,{children:[(0,p.jsx)(C.Z,{indicator:(0,p.jsx)(h.Z,{style:{fontSize:24}})}),c]})})}):null};n.default=_},39142:function(g,n,e){"use strict";e.r(n);var h=e(26068),o=e.n(h),C=e(55363),p=e(65351),_=e(15574),l=e(18466),v=e(57439),i=e(82187),c=e.n(i),r=e(32097),s=e(93238),d=e(32272),m=e(52676);function t(u){var a="".concat(r.classAtomPrefix,"-operation"),y=u.extraRight,P=u.extraLeft,M=u.size,T=u.parentHtmlId,f=u.style,O=u.className,L=u.onReset,b=u.onChangeSize;if(Object.values(u).filter(function(D){return D}).length===0)return null;var E=o()({},f);return P||(E.display="inline-block",E.padding=0),(0,m.jsxs)(d.default,{className:c()(a,O),style:E,children:[(0,m.jsx)("div",{className:"".concat(a,"-left"),children:P}),(0,m.jsxs)("div",{className:"".concat(a,"-right"),children:[y,M&&(0,m.jsx)(_.Z,{placement:"bottomRight",menu:{activeKey:M,items:[{key:"large",label:"\u9ED8\u8BA4"},{key:"middle",label:"\u4E2D\u7B49"},{key:"small",label:"\u7D27\u51D1"}],onClick:function(x){b==null||b(x.key)}},children:(0,m.jsx)(l.ZP,{icon:(0,m.jsx)(C.Z,{}),type:"text"})}),L&&(0,m.jsx)(v.Z,{title:"\u91CD\u7F6E",children:(0,m.jsx)(l.ZP,{onClick:L,icon:(0,m.jsx)(p.Z,{}),type:"text"})}),T!==void 0&&(0,m.jsx)(s.default,{parentHtmlId:"ccs-pro-table"})]})]})}n.default=t},70110:function(g,n,e){"use strict";e.r(n);var h=e(26068),o=e.n(h),C=e(81992),p=e(21947),_=e(75271),l=e(52676);function v(r){var s=r.onResize,d=r.option,m=(0,_.useRef)(),t=(0,_.useRef)(null),u=(0,C.Z)(t),a=(0,p.Z)(u,o()({wait:500,leading:!1,trailing:!0},d));return(0,_.useEffect)(function(){a&&(m.current&&s(a),m.current=a)},[a]),(0,l.jsx)("div",{ref:t})}function i(r){var s=r.option,d=r.targetRef,m=r.onResize,t=(0,_.useRef)(),u=(0,C.Z)(d),a=(0,p.Z)(u,o()({wait:500,leading:!1,trailing:!0},s));return(0,_.useEffect)(function(){a&&(t.current&&m(a),t.current=a)},[a]),null}function c(r){return r.targetRef?(0,l.jsx)(i,o()({},r)):(0,l.jsx)(v,o()({},r))}n.default=c},56251:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return l}});var h=e(26068),o=e.n(h),C=e(16929),p=e(32272),_=e(52676);function l(v){var i=v.children,c=v.style,r=v.className;if(!i)return null;var s=C.Z.useToken(),d=s.token;return(0,_.jsx)(p.default,{className:r,style:o()({fontSize:d.fontSizeHeading5,fontWeight:d.fontWeightStrong},c),children:i})}},64723:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return s}});var h=e(31759),o=e.n(h),C=e(48305),p=e.n(C),_=e(82092),l=e.n(_),v=e(85899),i=e.n(v),c=e(75271),r=function(m,t){for(var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"$set",a=m.split("."),y=l()({},u,t),P=a.length-1;P>=0;P--){var M=a[P];y=l()({},M,y)}return y};function s(d){var m=(0,c.useState)(d),t=p()(m,2),u=t[0],a=t[1],y=(0,c.useCallback)(function(f){if(typeof f=="function"){a(function(O){return i()(O,f(O))});return}a(function(O){return i()(O,f)})},[]),P=(0,c.useCallback)(function(f,O){a(function(L){if(typeof f=="string"){var b=f,E=O,D=r(b,E);return i()(L,D)}else if(o()(f)==="object"&&f!==null){var x=L,S=f;return Object.entries(S).forEach(function(I){var A=p()(I,2),B=A[0],F=A[1],k=r(B,F);x=i()(x,k)}),x}return L})},[]),M=(0,c.useCallback)(function(f,O,L){var b=r(f,Array.isArray(O)?O:[O],L||"$push");a(function(E){return i()(E,b)})},[]),T=(0,c.useCallback)(function(){a(d)},[d]);return{state:u,setRaw:y,setByPath:P,setArray:M,reset:T}}},24887:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return T}});var h=e(90228),o=e.n(h),C=e(82092),p=e.n(C),_=e(15558),l=e.n(_),v=e(26068),i=e.n(v),c=e(87999),r=e.n(c),s=e(48305),d=e.n(s),m=e(13443),t=e(75271),u=e(94127),a=e(81475),y=e(65173),P=e(73799);function M(f,O,L){for(;O.length>0;){var b=O.shift();O.length>0?(f[b]||(f[b]={}),M(f[b],O,L)):f[b]=L}}function T(f){var O=f.auth,L=f.rowKey,b=f.pagination,E=f.emptyDefaultOne,D=f.fieldNames,x=f.onEvent,S=f.getFormValues,I=f.onFilterOrder,A=f.onRequestCustom,B=f.request,F=(0,t.useState)({total:0,dataSource:[],pageSize:10,current:1}),k=d()(F,2),W=k[0],U=k[1],K=(0,u.default)(),j=K.onAuth,Z=(0,a.useProTableFields)(),N=(0,t.useMemo)(function(){return O?j&&j(O):!0},[O]),w=(0,m.Z)(function(){var z=r()(o()().mark(function J(H){var G,te,V,Y,q,ne,ae,X,re,oe,Q,ie,se,le,_e,me,fe,ge,Pe,ye,Ee,Te,Fe,Ue=arguments;return o()().wrap(function(de){for(;;)switch(de.prev=de.next){case 0:if(G=Ue.length>1&&Ue[1]!==void 0?Ue[1]:1,te=Ue.length>2&&Ue[2]!==void 0?Ue[2]:(b?b.defaultPageSize:10)||10,V=Ue.length>3?Ue[3]:void 0,!(!N||!B)){de.next=5;break}return de.abrupt("return");case 5:return de.next=7,S==null?void 0:S();case 7:if(de.t0=de.sent,de.t0){de.next=10;break}de.t0={};case 10:if(Y=de.t0,q=i()(i()({},Z),D),ne=q.requestParam||{},ae=ne.filters,X=ae===void 0?["filters"]:ae,re=ne.pageNo,oe=re===void 0?["pageNo"]:re,Q=ne.pageSize,ie=Q===void 0?["pageSize"]:Q,se=ne.orderProps,le=se===void 0?["orderProps"]:se,_e=ne.query,me={},_e&&_e.length>0?M(me,l()(_e),Y):me=Y,b!==!1&&(M(me,l()(oe),G),M(me,l()(ie),te)),fe=(I==null?void 0:I())||{},ge=fe.filters,Pe=fe.orderProps,ge&&Object.keys(ge).length>0&&M(me,l()(X),ge),Pe&&Pe.length>0&&M(me,l()(le),Pe),!A){de.next=22;break}return A(H,me.query||me,V),de.abrupt("return");case 22:return x==null||x(H,{loading:!0,params:me}),U(function(xe){return i()(i()({},xe),{},{loading:!0})}),de.next=26,B(me);case 26:if(ye=de.sent,x==null||x(H,{loading:!1,params:me,data:ye}),!ye){de.next=38;break}if(Ee=(0,y.getDataByNamePath)(ye,q.dataSource),E&&Ee&&Ee.length===0&&Ee.push(p()({},L||"id","0")),Te=(0,y.getDataByNamePath)(ye,q.total),!(Te===void 0||Ee===void 0)){de.next=36;break}return Fe={dataSource:Ee,pageSize:te,current:G,total:Te,loading:!1},U(Fe),de.abrupt("return");case 36:return!Ee.length&&G!==1?w(P.DataEvent.Reload,G-1):U({current:G,pageSize:te,loading:!1,dataSource:Ee,total:Te||0}),de.abrupt("return");case 38:U(function(xe){return i()(i()({},xe),{},{loading:!1})});case 39:case"end":return de.stop()}},J)}));return function(J){return z.apply(this,arguments)}}()),R=(0,m.Z)(function(z){U(z)});return{data:W,isAuth:N,onRequest:w,onChangeData:R}}},1444:function(g,n,e){"use strict";e.r(n),e.d(n,{ModalConfirm:function(){return v}});var h=e(48305),o=e.n(h),C=e(46960),p=e(75271),_=e(94127),l=e(52676);function v(c){var r=c.modalRef,s=C.Z.useModal(),d=o()(s,2),m=d[0],t=d[1];return(0,p.useEffect)(function(){r.current=m},[]),(0,l.jsxs)(l.Fragment,{children:[" ",t]})}function i(c){var r=c.auth,s=c.children,d=(0,_.default)()||{},m=d.onAuth;return m&&r?m(r)?s:null:s}n.default=i},86954:function(g,n,e){"use strict";e.r(n)},32375:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return r}});var h=e(26068),o=e.n(h),C=e(67825),p=e.n(C),_=e(15574),l=e(75271),v=e(94127),i=e(52676),c=["auth","menus","children","onClick"];function r(s){var d=s.auth,m=s.menus,t=m===void 0?[]:m,u=s.children,a=s.onClick,y=p()(s,c),P=(0,v.default)()||{},M=P.onAuth,T=(0,l.useMemo)(function(){function O(L){var b=L.filter(function(E){if(!E.auth)return!0;var D=M&&M(E.auth);return!!D});return b.map(function(E){var D=Object.assign({},E);if(D.children){var x=O(D.children);D.children=x.length>0?x:null}return D}).filter(function(E){return E.children!==null})}return O(t)},[t.map(function(O){return O==null?void 0:O.key}).join(",")]),f=(0,l.useMemo)(function(){if(!d)return u;var O=M&&M(d);return O?u:(0,i.jsx)(i.Fragment,{})},[]);return T.filter(function(O){return O.type!=="divider"}).length?(0,i.jsx)(_.Z,o()(o()({},y),{},{menu:{items:T,onClick:a},children:f})):(0,i.jsx)(i.Fragment,{})}},75419:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return P}});var h=e(26068),o=e.n(h),C=e(67825),p=e.n(C),_=e(57499),l=e(887),v=e(8984),i=e(81465),c=e(18466),r=e(15574),s=e(75271),d=e(668),m=e(94127),t=e(52676),u=["auth","hidden"],a=["key","label","auth","confirm"],y=["key","label","disabled","auth","confirm"];function P(M){var T=M.size,f=M.isLink,O=M.showCount,L=M.moreIcon,b=M.moreText,E=M.items,D=E===void 0?[]:E,x=M.onClick,S=(0,m.default)()||{},I=S.onAuth,A=(0,s.useRef)(null),B=[];if(D.forEach(function(W){var U=W.auth,K=W.hidden,j=p()(W,u);I&&U&&!I(U)||K||B.push(j)}),!B||D.length===0)return null;var F=function(U){if(x){var K=D.find(function(Z){return Z.key===U});if(K&&K.confirm){var j;(j=A.current)===null||j===void 0||j.confirm({title:"\u64CD\u4F5C\u786E\u8BA4",icon:(0,t.jsx)(_.Z,{}),centered:!0,content:K.confirm,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:function(){return x==null?void 0:x(U)}});return}x(U)}},k=B.splice(0,O||D.length);return f?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(v.Z,{split:(0,t.jsx)(i.Z,{type:"vertical",style:{margin:0}}),children:k==null?void 0:k.map(function(W){var U=W.key,K=W.label,j=W.auth,Z=W.confirm,N=p()(W,a);return(0,t.jsx)(c.ZP,o()(o()({style:{padding:0}},N),{},{size:T,type:"link",onClick:function(){return F(U)},children:K}),U)})}),B.length>0&&(0,t.jsx)(r.Z,{menu:{items:B,onClick:function(U){return F(U.key)}},children:(0,t.jsx)(c.ZP,{type:"link",icon:b?null:L||(0,t.jsx)(l.Z,{}),size:"small",children:b})}),D.find(function(W){return!!W.confirm})?(0,t.jsx)(d.ModalConfirm,{modalRef:A}):null]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(v.Z,{wrap:!0,children:k==null?void 0:k.map(function(W,U){var K=W.key,j=W.label,Z=W.disabled,N=W.auth,w=W.confirm,R=p()(W,y);return U===k.length-1&&B.length>0?(0,t.jsxs)(v.Z.Compact,{children:[(0,t.jsx)(c.ZP,o()(o()({},R),{},{size:T,onClick:function(){return F(K)},disabled:Z,children:j})),(0,t.jsx)(r.Z,{menu:{items:B,onClick:function(J){return F(J.key)}},children:(0,t.jsx)(c.ZP,{icon:b?null:L||(0,t.jsx)(l.Z,{}),children:b})})]},K):(0,t.jsx)(c.ZP,o()(o()({},R),{},{size:T,disabled:Z,onClick:function(){return F(K)},children:j}),K)})}),D.find(function(W){return!!W.confirm})?(0,t.jsx)(d.ModalConfirm,{modalRef:A}):null]})}},668:function(g,n,e){"use strict";e.r(n),e.d(n,{ModalConfirm:function(){return y}});var h=e(26068),o=e.n(h),C=e(67825),p=e.n(C),_=e(48305),l=e.n(_),v=e(57499),i=e(46960),c=e(18466),r=e(19152),s=e(75271),d=e(94127),m=e(32375),t=e(75419),u=e(52676),a=["auth","text","confirm","disabled","inputConfirm","onClick"];function y(M){var T=M.modalRef,f=i.Z.useModal(),O=l()(f,2),L=O[0],b=O[1];return(0,s.useEffect)(function(){T.current=L},[]),(0,u.jsxs)(u.Fragment,{children:[" ",b]})}function P(M){var T=M.auth,f=M.text,O=M.confirm,L=M.disabled,b=M.inputConfirm,E=M.onClick,D=p()(M,a),x=(0,d.default)()||{},S=x.onAuth,I=(0,s.useRef)(null),A=(0,s.useRef)(null),B=(0,u.jsxs)(c.ZP,o()(o()({},D),{},{onClick:function(W){if(E){if(O){var U;(U=I.current)===null||U===void 0||U.confirm({title:"\u64CD\u4F5C\u786E\u8BA4",icon:(0,u.jsx)(v.Z,{}),centered:!0,content:(0,u.jsxs)(u.Fragment,{children:[O,b&&(0,u.jsx)(r.Z,{ref:A,placeholder:"\u8BF7\u8F93\u5165",style:{marginTop:5},onFocus:function(){var j=document.getElementById("_inputConfirmError");j&&(j.innerHTML="")}})]}),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:function(){if(b)return new Promise(function(j,Z){var N;if(((N=A.current)===null||N===void 0||(N=N.input)===null||N===void 0?void 0:N.value)===b)E(W),j(!0);else{var w=document.getElementById("_inputConfirmError");if(w)w.innerHTML="\u8F93\u5165\u9A8C\u8BC1\u5931\u8D25\uFF01";else{var R;(R=A.current)===null||R===void 0||(R=R.input)===null||R===void 0||(R=R.parentElement)===null||R===void 0||R.insertAdjacentHTML("beforeend",'<span id="_inputConfirmError" style="color:red">\u8F93\u5165\u9A8C\u8BC1\u5931\u8D25\uFF01</span>')}Z(!1)}});E(W)}});return}E(W)}},disabled:L,children:[f,D.children]}));if(!T)return(0,u.jsxs)(u.Fragment,{children:[B,O?(0,u.jsx)(y,{modalRef:I}):null]});var F=S&&S(T);return(0,u.jsxs)(u.Fragment,{children:[F?B:(0,u.jsx)(u.Fragment,{}),O?(0,u.jsx)(y,{modalRef:I}):null]})}P.Group=t.default,P.Dropdown=m.default,n.default=P},62376:function(g,n,e){"use strict";e.r(n)},97681:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return f}});var h=e(26068),o=e.n(h),C=e(90228),p=e.n(C),_=e(87999),l=e.n(_),v=e(67825),i=e.n(v),c=e(15558),r=e.n(c),s=e(11048),d=e(11066),m=e(75271),t=e(65173),u=e(52676),a=["request","cache","fieldNames","defaultParams"];function y(O){return Array.isArray(O)?O:[O]}function P(){for(var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=arguments.length>1?arguments[1]:void 0,b=arguments.length>2?arguments[2]:void 0,E=arguments.length>3?arguments[3]:void 0,D=O,x=r()(L),S=r()(b),I=r()(E);x.length>0||S.length>0;){if(Array.isArray(D)){D.forEach(function(B){B.label=(0,t.getDataByNamePath)(B,x),B.value=(0,t.getDataByNamePath)(B,S),B.children=P((0,t.getDataByNamePath)(B,I),x,S,I)});break}x.shift(),I.shift();var A=S.shift();A&&(D=D[A])}return D}function M(O){var L=O.request,b=O.cache,E=O.fieldNames,D=O.defaultParams,x=D===void 0?{}:D,S=i()(O,a),I=r()(y((E==null?void 0:E.label)||["data","label"])),A=r()(y((E==null?void 0:E.value)||["data","value"])),B=r()(y((E==null?void 0:E.children)||["data","children"])),F=(0,s.Z)(function(){var j=l()(p()().mark(function Z(N){var w;return p()().wrap(function(z){for(;;)switch(z.prev=z.next){case 0:if(L){z.next=2;break}return z.abrupt("return",[]);case 2:return z.next=4,L(N);case 4:return w=z.sent,z.abrupt("return",P(w,I,A,B));case 6:case"end":return z.stop()}},Z)}));return function(Z){return j.apply(this,arguments)}}(),o()({manual:!0},b||{})),k=F.loading,W=F.data,U=W===void 0?[]:W,K=F.run;return(0,m.useEffect)(function(){L&&K(x)},[JSON.stringify(x)]),(0,u.jsx)(d.Z,o()({options:U,loading:k,style:{width:"100%"}},S))}var T=function(){return(0,u.jsx)(u.Fragment,{})};T.Api=M;var f=T},16652:function(g,n,e){"use strict";e.r(n),e.d(n,{DataEvent:function(){return h.DataEvent}});var h=e(73799)},35030:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return P}});var h=e(26068),o=e.n(h),C=e(67825),p=e.n(C),_=e(48305),l=e.n(_),v=e(10077),i=e(60686),c=e(27947),r=e(81465),s=e(6052),d=e(91620),m=e(52676),t=["mode","children","onChange"];function u(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:v.presetPalettes;return Object.entries(M).map(function(T){var f=l()(T,2),O=f[0],L=f[1];return{label:O,colors:L,key:O}})}var a=u({blue:v.blue,red:v.red,green:v.green,cyan:v.cyan,orange:v.orange,magenta:v.magenta,gray:v.gray});a.forEach(function(M){M.colors=M.colors.slice(0,6)});function y(M){var T=M.mode,f=T===void 0?"single":T,O=M.children,L=M.onChange,b=p()(M,t),E=function(){var I=b.value;if(typeof I=="string")return I;if(Array.isArray(I))return"linear-gradient(".concat(I.map(function(A){return"".concat(A.color," ").concat(A.percent,"%")}).join(","),")")},D=function(I,A){var B=A.components,F=B.Picker,k=B.Presets;return(0,m.jsxs)(i.Z,{justify:"space-between",wrap:!1,style:{width:420},children:[(0,m.jsx)(c.Z,{span:12,children:(0,m.jsx)(k,{})}),(0,m.jsx)(r.Z,{type:"vertical",style:{height:"auto"}}),(0,m.jsxs)(c.Z,{flex:"auto",children:[(0,m.jsx)(F,{}),(0,m.jsx)("div",{style:{marginTop:10,color:"rgba(0,0,0,0.65)"},children:E()})]})]})},x=function(){if(!b.value)return(0,m.jsx)(s.default,{classNames:{popup:{root:"ccs-color-picker-select"}},placeholder:"\u8BF7\u9009\u62E9",popupRender:function(){return(0,m.jsx)(m.Fragment,{})}})};return(0,m.jsx)(d.Z,o()(o()({className:"ccs-color-picker",allowClear:!0,showText:!0,mode:f,onChange:function(I,A){if(L){var B=I.getColors();if(B.length>1){var F=B.map(function(k){return{color:k.color.toRgbString(),percent:k.percent}});L(F,A);return}if(B.length===1){L(I.toCssString(),A);return}}},onClear:function(){L&&L(void 0,"")},presets:a,panelRender:D},b),{},{children:O||x()}))}var P=y},88686:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return D},onDefaultFormat:function(){return b}});var h=e(26068),o=e.n(h),C=e(67825),p=e.n(C),_=e(48305),l=e.n(_),v=e(94129),i=e(8890),c=e(15771),r=e(46960),s=e(16929),d=e(96586),m=e(8033),t=e(34336),u=e(75271),a=e(56973),y=e(31939),P=e(35119),M=e(73801),T=e(52676),f=["theme","prefixCls"],O=["token","components"];function L(){var x=i.ZP.useMessage(),S=l()(x,2),I=S[0],A=S[1],B=c.ZP.useNotification(),F=l()(B,2),k=F[0],W=F[1],U=r.Z.useModal(),K=l()(U,2),j=K[0],Z=K[1];return(0,u.useState)(function(){P.default.setConfig(I,k,j)}),(0,T.jsxs)(T.Fragment,{children:[A,W,Z]})}function b(x){return x}function E(x){var S=x.children,I=x.theme,A=I===void 0?"light":I,B=x.isCompact,F=x.watermark,k=x.antConfig,W=x.fieldNames,U=u.useRef(null),K=A==="dark"?v.$_:v.uH,j=k||{},Z=j.theme,N=j.prefixCls,w=N===void 0?"ant":N,R=p()(j,f),z=Z||{},J=z.token,H=z.components,G=p()(z,O),te=function(){var q=A==="dark"?[s.Z.darkAlgorithm]:[s.Z.defaultAlgorithm];return B&&q.push(s.Z.compactAlgorithm),q},V=o()(o()({},K.token),J);return A==="dark"&&(V.colorBgContainer="rgb(36, 37, 37)"),(0,T.jsx)(d.default,o()(o()({locale:t.default,prefixCls:w},R),{},{theme:o()(o()(o()({},K),G),{},{token:V,components:o()(o()({},K.components),H),algorithm:te()}),children:(0,T.jsxs)(a.AppConfigContext.Provider,{value:{theme:A,dialogHolderRef:U,fieldNames:W},children:[S,(0,T.jsx)(L,{}),(0,T.jsx)(y.DialogElementsHolder,{ref:U},"modal-drawer-holder"),(F==null?void 0:F.content)&&(0,T.jsx)(M.default,{content:F.content,fontColor:"rgba(0,0,0,.15)",zIndex:105})]})}))}function D(x){return(0,T.jsx)(m.Z,{style:{height:"100%"},children:(0,T.jsx)(E,o()({},x))})}},43449:function(g,n,e){"use strict";e.r(n)},56973:function(g,n,e){"use strict";e.r(n),e.d(n,{AppConfigContext:function(){return _},DrawerAndModalContext:function(){return o},PageContext:function(){return C},TabsContext:function(){return p}});var h=e(75271),o=(0,h.createContext)({}),C=(0,h.createContext)({}),p=h.createContext({}),_=h.createContext({})},2534:function(g,n,e){"use strict";e.r(n)},86247:function(g,n,e){"use strict";e.r(n);var h=e(26068),o=e.n(h),C=e(67825),p=e.n(C),_=e(92167),l=e(17888),v=e.n(l),i=e(52676),c=["value","onChange"],r=["value","onChange"],s=[{label:"\u4ECA\u5929",value:[v()().startOf("day"),v()().endOf("day")]},{label:"\u6700\u8FD13\u5929",value:[v()().add(-3,"d"),v()()]},{label:"\u6700\u8FD17\u5929",value:[v()().add(-7,"d"),v()()]},{label:"\u6700\u8FD114\u5929",value:[v()().add(-14,"d"),v()()]},{label:"\u6700\u8FD130\u5929",value:[v()().add(-30,"d"),v()()]},{label:"\u6700\u8FD190\u5929",value:[v()().add(-90,"d"),v()()]}];function d(t){var u=t.value,a=t.onChange,y=p()(t,c),P=function(f,O){a&&a(O||void 0)},M=typeof u=="string"?v()(u):u;return(0,i.jsx)(_.default,o()({value:M,onChange:P},y))}function m(t){var u=t.value,a=t.onChange,y=p()(t,r),P=function(){if(Array.isArray(u)){var f=u[0]?v()(u[0]):void 0,O=u[1]?v()(u[1]):void 0;return[f,O]}return null},M=function(f,O){a&&a(O||void 0)};return(0,i.jsx)(_.default.RangePicker,o()({presets:y.picker==="date"||!y.picker?s:void 0,value:P(),onChange:M},y))}d.RangePicker=m,n.default=d},94350:function(g,n,e){"use strict";e.r(n);var h=e(90228),o=e.n(h),C=e(87999),p=e.n(C),_=e(67825),l=e.n(_),v=e(26068),i=e.n(v),c=e(48305),r=e.n(c),s=e(9228),d=e(82187),m=e.n(d),t=e(75271),u=e(85289),a=e(22818),y=e(45484),P=e(52653),M=e(24324),T=e(52676),f=["auth","form","content","extraBtn","className","rootStyle","getContainer","requestFieldNames","preventRequestHandle","contextParam","request","onClose","onOk"],O=function(b){var E=b.afterClose,D=b.config,x=b.dialogRef,S=(0,t.useState)(function(){return D.open===void 0?i()(i()({},D),{},{open:!0}):D}),I=r()(S,2),A=I[0],B=I[1],F=(0,t.useRef)(null),k=(0,t.useRef)(null),W=(0,t.useRef)(null);(0,u.useInsertCss)("dialog-drawer",function(Q){return[".".concat(Q,"-drawer .").concat(Q,"-drawer-extra >.").concat(Q,"-btn+.").concat(Q,"-btn {margin-inline-start: 8px;}"),".ccs-dialog-drawer .".concat(Q,"-drawer-footer{padding:0 !important;}")]});var U=function(){E()},K=A.auth,j=A.form,Z=A.content,N=A.extraBtn,w=A.className,R=A.rootStyle,z=A.getContainer,J=A.requestFieldNames,H=A.preventRequestHandle,G=A.contextParam,te=A.request,V=A.onClose,Y=A.onOk,q=l()(A,f),ne=function(){var Q=p()(o()().mark(function ie(){return o()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:B(function(_e){return i()(i()({},_e),{},{open:!1})}),V&&V();case 2:case"end":return le.stop()}},ie)}));return function(){return Q.apply(this,arguments)}}();(0,t.useImperativeHandle)(x,function(){return{destroy:ne,update:function(ie){B(function(se){return i()(i()({},se),ie)})}}});var ae=function(){var ie=document.body.querySelectorAll('[id*="_tab_content_"][data-display="true"]');if(ie.length>0)return ie[0]},X="getContainer"in A,re=A.styles||{};re.mask=i()({background:"rgba(0, 0, 0, 0.1)"},re.mask);var oe=(0,t.useMemo)(function(){return(0,T.jsx)(a.DialogButtonHolder,{auth:K,request:te,onClose:ne,onOk:Y,formRef:W,extraBtn:N,formInitialValues:j==null?void 0:j.initialValues,buttonRef:F,preventRequestHandle:H,requestFieldNames:J})},[]);return(0,T.jsx)(s.Z,i()(i()({afterOpenChange:function(ie){!ie&&D.destroyOnClose!==!1&&D.destroyOnHidden!==!1&&U()},extra:oe,footer:(0,T.jsx)(P.FooterButtonHolder,{buttonRef:k})},q),{},{onClose:ne,className:m()("ccs-dialog-drawer",w),styles:re,rootStyle:i()(i()({},X?{}:{position:"absolute"}),R),getContainer:X?z:ae,children:(0,T.jsx)(y.DialogContentContext.Provider,{value:{formRef:W,buttonRef:F,contextParam:G,buttonType:"drawer",onOkCallBack:Y,closeDialog:ne,request:te,drawerFooterRef:k,formInitialValues:(j==null?void 0:j.initialValues)||{}},children:j?(0,T.jsx)(M.default,{formRef:W,formProps:j,children:Z}):Z})}))};n.default=O},93261:function(g,n,e){"use strict";e.r(n);var h=e(90228),o=e.n(h),C=e(87999),p=e.n(C),_=e(67825),l=e.n(_),v=e(48305),i=e.n(v),c=e(26068),r=e.n(c),s=e(46960),d=e(82187),m=e.n(d),t=e(75271),u=e(79176),a=e.n(u),y=e(22818),P=e(45484),M=e(24324),T=e(52676),f=["auth","form","title","content","extraBtn","className","footer","contextParam","preventRequestHandle","requestFieldNames","onOk","request","onClose"],O=function(E){var D=E.modal,x=E.dragState,S=E.onDragState,I=(0,t.useRef)(null),A=function(F,k){var W,U=window.document.documentElement,K=U.clientWidth,j=U.clientHeight,Z=(W=I.current)===null||W===void 0?void 0:W.getBoundingClientRect();Z&&S(function(N){return r()(r()({},N),{},{bounds:{left:-Z.left+k.x,right:K-(Z.right-k.x),top:-Z.top+k.y,bottom:j-(Z.bottom-k.y)}})})};return(0,T.jsx)(a(),{nodeRef:I,disabled:x.disabled,bounds:x.bounds,onStart:A,children:(0,T.jsx)("div",{ref:I,children:D})})},L=function(E){var D=E.dialogRef,x=E.afterClose,S=E.config,I=(0,t.useState)(function(){return S.open===void 0?r()(r()({},S),{},{open:!0}):S}),A=i()(I,2),B=A[0],F=A[1],k=(0,t.useState)({disabled:!0,bounds:{left:0,top:0,bottom:0,right:0}}),W=i()(k,2),U=W[0],K=W[1],j=(0,t.useRef)(null),Z=(0,t.useRef)(null),N=function(){var se;S.destroyOnClose!==!1&&S.destroyOnHidden!==!1&&x(),(se=B.afterClose)===null||se===void 0||se.call(B)},w=B.auth,R=B.form,z=B.title,J=B.content,H=B.extraBtn,G=B.className,te=B.footer,V=B.contextParam,Y=B.preventRequestHandle,q=B.requestFieldNames,ne=B.onOk,ae=B.request,X=B.onClose,re=l()(B,f),oe=function(){var ie=p()(o()().mark(function se(){return o()().wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:F(function(me){return r()(r()({},me),{},{open:!1})}),X&&X();case 2:case"end":return _e.stop()}},se)}));return function(){return ie.apply(this,arguments)}}();(0,t.useImperativeHandle)(D,function(){return{destroy:oe,update:function(se){F(function(le){return r()(r()({},le),se)})}}});var Q=(0,t.useMemo)(function(){return(0,T.jsx)(y.DialogButtonHolder,{auth:w,request:ae,onClose:oe,onOk:ne,formRef:Z,extraBtn:H,formInitialValues:R==null?void 0:R.initialValues,buttonRef:j,preventRequestHandle:Y,requestFieldNames:q})},[]);return(0,T.jsx)(s.Z,r()(r()({onCancel:oe,afterClose:N},re),{},{className:m()("ccs-dialog-modal",G),footer:te===null?null:Q,title:(0,T.jsx)("div",{style:{width:"100%",cursor:"move"},onMouseOver:function(){U.disabled&&K(function(se){return r()(r()({},se),{},{disabled:!1})})},onMouseOut:function(){K(function(se){return r()(r()({},se),{},{disabled:!0})})},children:z}),modalRender:function(se){return(0,T.jsx)(O,{modal:se,dragState:U,onDragState:K})},children:(0,T.jsx)(P.DialogContentContext.Provider,{value:{formRef:Z,buttonRef:j,contextParam:V,buttonType:"modal",request:ae,onOkCallBack:ne,closeDialog:oe,formInitialValues:(R==null?void 0:R.initialValues)||{}},children:R?(0,T.jsx)(M.default,{formRef:Z,formProps:R,children:J}):J})}))};n.default=L},73541:function(g,n,e){"use strict";e.r(n)},22818:function(g,n,e){"use strict";e.r(n),e.d(n,{DialogButtonHolder:function(){return T},default:function(){return f}});var h=e(90228),o=e.n(h),C=e(26068),p=e.n(C),_=e(87999),l=e.n(_),v=e(31759),i=e.n(v),c=e(48305),r=e.n(c),s=e(68144),d=e(18466),m=e(80729),t=e(75271),u=e(50712),a=e(668),y=e(81475),P=e(65173),M=e(52676),T=function(L){var b=L.auth,E=L.extraBtn,D=L.formRef,x=L.request,S=L.onOk,I=L.onClose,A=L.buttonRef,B=L.requestFieldNames,F=L.formInitialValues,k=L.preventRequestHandle,W=(0,t.useState)(),U=r()(W,2),K=U[0],j=U[1],Z=(0,t.useState)(!1),N=r()(Z,2),w=N[0],R=N[1],z=(0,y.useBaseFields)();(0,t.useImperativeHandle)(A,function(){return{onSetButtons:function(te){j(te)}}});var J=function(te,V){if(S){var Y=S(te,V);if(typeof Y=="boolean"&&Y===!1)return;if(i()(Y)==="object"&&Y.then){R(!0),Y.then(function(q){R(!1),q!==!1&&I()});return}I()}else I()},H=function(){var G=l()(o()().mark(function te(){var V,Y,q,ne;return o()().wrap(function(X){for(;;)switch(X.prev=X.next){case 0:if(Y={},q=(V=D.current)===null||V===void 0?void 0:V.formInstance,!q){X.next=7;break}return X.next=5,q.validateFields();case 5:ne=X.sent,Y=p()(p()({},F),ne);case 7:if(!x){X.next=11;break}return R(!0),x(Y).then(function(re){if(R(!1),k){J(Y,re);return}var oe=p()(p()({},z),B),Q=(0,P.getDataByNamePath)(re,oe.success),ie=(0,P.getDataByNamePath)(re,oe.msg);Q===oe.successTag&&J(Y,re),u.default.easyMessage({success:Q===oe.successTag,msg:ie})}).catch(function(re){R(!1),console.log("err",re)}),X.abrupt("return");case 11:J(Y);case 12:case"end":return X.stop()}},te)}));return function(){return G.apply(this,arguments)}}();return K?(0,M.jsxs)(M.Fragment,{children:[E,K]}):(0,M.jsxs)(M.Fragment,{children:[E,(0,M.jsx)(d.ZP,{onClick:I,children:"\u53D6\u6D88"}),(0,M.jsx)(a.default,{auth:b,type:"primary",loading:w,onClick:H,children:"\u786E\u5B9A"})]})};function f(O){var L=O.children,b=O.hideCancel,E=O.cancelText,D=O.onOk,x=O.okBtnProps,S=u.default.useInstance(),I=S.buttonRef,A=S.buttonType,B=S.formInitialValues,F=S.closeDialog,k=S.onOkCallBack,W=S.request,U=m.Z.useFormInstance();s.default.showWarning(!W,"\u4F7F\u7528\u4E86CcsDialog.Buttons\u81EA\u5B9A\u4E49\u6309\u94AE\u884C\u4E3A\uFF0Crequest\u8BF7\u6C42\u5C06\u4E0D\u4F1A\u6267\u884C\u3002");var K=function(){var Z=l()(o()().mark(function N(){var w,R,z;return o()().wrap(function(H){for(;;)switch(H.prev=H.next){case 0:if(w={},!U){H.next=6;break}return H.next=4,U.validateFields();case 4:R=H.sent,w=p()(p()({},B),R);case 6:if(D){H.next=10;break}return F(),k==null||k(w),H.abrupt("return");case 10:if(z=D(w),z!==!1){H.next=13;break}return H.abrupt("return");case 13:if(!(i()(z)==="object"&&z.then)){H.next=16;break}return z.then(function(G){G!==!1&&(F(),k==null||k(G))}),H.abrupt("return");case 16:F(),k==null||k(z);case 18:case"end":return H.stop()}},N)}));return function(){return Z.apply(this,arguments)}}(),j=s.default.mergeProps({type:"primary",text:"\u786E\u5B9A"},x);return(0,t.useEffect)(function(){var Z,N=(0,M.jsxs)(M.Fragment,{children:[!b&&(0,M.jsx)(d.ZP,{onClick:F,children:E||"\u53D6\u6D88"}),L,(x||D)&&(0,M.jsx)(a.default,p()(p()({},j),{},{onClick:K}))]});A==="modal"&&(N=(0,M.jsx)(M.Fragment,{children:N})),(Z=I.current)===null||Z===void 0||Z.onSetButtons(N)}),(0,M.jsx)(M.Fragment,{})}},45484:function(g,n,e){"use strict";e.r(n),e.d(n,{DialogContentContext:function(){return o},useDialogContext:function(){return C}});var h=e(75271),o=h.createContext({}),C=function(){var _=(0,h.useContext)(o);if(_===void 0)throw new Error("DialogContentContext not found");return _}},97764:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return v}});var h=e(50712),o=e(8984),C=e(18466),p=e(15574),_=e(52676),l=[{key:"bottom",label:"bottom"},{key:"left",label:"left"},{key:"top",label:"top"}];function v(){var i=h.default.useDialog(),c=i.openDrawer,r=i.openModal,s=function(){r({title:"Modal",content:(0,_.jsx)("div",{children:"CcsModal content..."}),footer:null})},d=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"right";c({title:"Drawer",width:300,content:(0,_.jsx)("div",{children:"CcsDrawer content..."}),placement:a})},m=function(){c({title:"Drawer",content:(0,_.jsx)("div",{children:"CcsDrawer content..."}),width:"100%",height:"100%",getContainer:void 0})},t=function(a){d(a.key)};return(0,_.jsxs)(o.Z,{style:{padding:"0 16px"},children:[(0,_.jsx)(C.ZP,{onClick:s,children:"modal"}),(0,_.jsx)(p.Z.Button,{menu:{items:l,onClick:t},onClick:function(){return d()},children:"drawer"}),(0,_.jsx)(C.ZP,{onClick:m,children:"\u5168\u5C4Fdrawer"})]})}},38525:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return v}});var h=e(50712),o=e(6052),C=e(8984),p=e(18466),_=e(75271),l=e(52676);function v(){var i=h.default.useDialog(),c=i.openModal,r=i.openDrawer,s=(0,_.useRef)(),d=(0,_.useRef)();return(0,_.useEffect)(function(){s.current=c({title:"Modal",open:!1,destroyOnHidden:!1,width:300,content:(0,l.jsx)(o.default,{placeholder:"\u8BF7\u9009\u62E9",options:[{value:"jack",label:"Jack"},{value:"lucy",label:"Lucy"}]})}),d.current=r({title:"Modal",open:!1,destroyOnHidden:!1,width:300,content:(0,l.jsx)(o.default,{placeholder:"\u8BF7\u9009\u62E9",options:[{value:"jack",label:"Jack"},{value:"lucy",label:"Lucy"}]})})},[]),(0,l.jsxs)(C.Z,{style:{marginLeft:16},children:[(0,l.jsx)(p.ZP,{onClick:function(){var t;(t=s.current)===null||t===void 0||t.update({open:!0})},children:"modal"}),(0,l.jsx)(p.ZP,{onClick:function(){var t;(t=d.current)===null||t===void 0||t.update({open:!0})},children:"drawer"})]})}},80429:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return M}});var h=e(90228),o=e.n(h),C=e(87999),p=e.n(C),_=e(36075),l=e.n(_),v=e(50712),i=e(11048),c=e(80729),r=e(18466),s=e(19152),d=e(8984),m=e(99930),t=e(52676),u=c.Z.Item,a=function(f){return l()(f),new Promise(function(O){setTimeout(function(){O({success:!0,msg:"\u64CD\u4F5C\u5931\u8D25"})},500)})};function y(){var T=v.default.useInstance(),f=T.closeDialog,O=(0,i.Z)(a,{manual:!0}),L=O.runAsync,b=O.loading,E=(0,m.default)(),D=E.getFieldsValue,x=function(){var S=p()(o()().mark(function I(A){var B;return o()().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return k.next=2,L(A);case 2:return B=k.sent,v.default.easyMessage({success:B.success,msg:B.msg}),k.abrupt("return",B);case 5:case"end":return k.stop()}},I)}));return function(A){return S.apply(this,arguments)}}();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(v.default.Buttons,{onOk:x,okBtnProps:{loading:b,danger:!0,confirm:"\u786E\u5B9A\u4FDD\u5B58\uFF1F",text:"\u4FDD\u5B58"},children:[(0,t.jsx)(r.ZP,{onClick:function(){console.log("\u8868\u5355\u503C:",D())},children:"\u83B7\u53D6\u8868\u5355\u503C"}),(0,t.jsx)(r.ZP,{danger:!0,type:"dashed",onClick:f,children:"\u8FD4\u56DE"})]}),(0,t.jsx)(u,{label:"fieldA",name:"fieldA",children:(0,t.jsx)(s.Z,{})}),(0,t.jsx)(u,{label:"fieldB",name:"fieldB",children:(0,t.jsx)(s.Z,{})})]})}function P(){var T=v.default.useInstance(),f=T.formRef,O=T.closeDialog;function L(){return b.apply(this,arguments)}function b(){return b=p()(o()().mark(function E(){var D,x;return o()().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.next=2,f==null||(D=f.current)===null||D===void 0||(D=D.formInstance)===null||D===void 0?void 0:D.validateFields();case 2:x=I.sent,console.log("values",x),O();case 5:case"end":return I.stop()}},E)})),b.apply(this,arguments)}return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u,{label:"fieldA",name:"fieldA",children:(0,t.jsx)(s.Z,{})}),(0,t.jsx)(u,{label:"fieldB",name:"fieldB",children:(0,t.jsx)(s.Z,{})}),(0,t.jsx)(v.default.DrawerFooter,{children:(0,t.jsxs)(d.Z,{style:{padding:16},wrap:!0,children:[(0,t.jsx)(r.ZP,{type:"primary",children:"btn1"}),(0,t.jsx)(r.ZP,{type:"dashed",children:"btn1"}),(0,t.jsx)(r.ZP,{danger:!0,children:"btn2"}),(0,t.jsx)(r.ZP,{type:"link",children:"btn3"}),(0,t.jsx)(r.ZP,{children:"btn4"}),(0,t.jsx)(r.ZP,{children:"btn5"}),(0,t.jsx)(r.ZP,{children:"btn6"}),(0,t.jsx)(r.ZP,{children:"btn7"}),(0,t.jsx)(r.ZP,{children:"btn8"}),(0,t.jsx)(r.ZP,{onClick:function(){return O()},children:"\u53D6\u6D88"}),(0,t.jsx)(r.ZP,{onClick:L,type:"primary",children:"\u786E\u5B9A"})]})})]})}function M(){var T=v.default.useDialog(),f=T.openModal,O=T.openDrawer,L=function(){f({title:"Modal",form:{initialValues:{fieldA:"testa",fieldB:"testb"},labelCol:{span:6},wrapperCol:{span:16},style:{padding:10}},width:500,content:(0,t.jsx)(y,{}),styles:{body:{paddingBottom:0}},onOk:function(S){console.log("ok...",S)}})},b=function(){O({title:"Drawer",form:{initialValues:{fieldA:"testa",fieldB:"testb"},labelCol:{span:6},wrapperCol:{span:16}},width:500,content:(0,t.jsx)(y,{})})},E=function(){O({title:"Drawer",width:500,extra:void 0,form:{initialValues:{fieldA:"testa",fieldB:"testb"},labelCol:{span:6},wrapperCol:{span:16}},content:(0,t.jsx)(P,{})})};return(0,t.jsxs)(d.Z,{style:{padding:"0 16px"},children:[(0,t.jsx)(r.ZP,{onClick:L,children:"Modal custom form"}),(0,t.jsx)(r.ZP,{onClick:b,children:"Drawer custom form"}),(0,t.jsx)(r.ZP,{onClick:E,children:"Drawer \u591A\u6309\u94AE"})]})}},52653:function(g,n,e){"use strict";e.r(n),e.d(n,{FooterButtonHolder:function(){return l},default:function(){return v}});var h=e(48305),o=e.n(h),C=e(75271),p=e(50712),_=e(52676),l=function(c){var r=c.buttonRef,s=(0,C.useState)(),d=o()(s,2),m=d[0],t=d[1];return(0,C.useImperativeHandle)(r,function(){return{onSetButtons:function(a){t(a)}}}),(0,_.jsx)(_.Fragment,{children:m})};function v(i){var c=i.children,r=p.default.useInstance(),s=r.drawerFooterRef;return(0,C.useEffect)(function(){var d,m=(0,_.jsx)(_.Fragment,{children:c});s==null||(d=s.current)===null||d===void 0||d.onSetButtons(m)}),null}},24324:function(g,n,e){"use strict";e.r(n);var h=e(26068),o=e.n(h),C=e(48305),p=e.n(C),_=e(80729),l=e(75271),v=e(52676),i=function(r){var s=r.formRef,d=r.children,m=r.formProps,t=_.Z.useForm(),u=p()(t,1),a=u[0];(0,l.useImperativeHandle)(s,function(){return{formInstance:a}});var y=m.layout==="horizontal"||!m.layout,P=y?{labelCol:{span:7},wrapperCol:{span:16}}:void 0;return(0,v.jsx)(_.Z,o()(o()(o()({form:a,preserve:!1},P),m),{},{children:d}))};n.default=i},31939:function(g,n,e){"use strict";e.r(n),e.d(n,{DialogElementsHolder:function(){return a},default:function(){return T}});var h=e(15558),o=e.n(h),C=e(48305),p=e.n(C),_=e(68144),l=e(86763),v=e.n(l),i=e(75271),c=e(38751),r=e(94127),s=e(81475),d=e(94350),m=e(93261),t=e(3833),u=e(52676),a=i.memo(i.forwardRef(function(f,O){var L=(0,t.default)(),b=p()(L,2),E=b[0],D=b[1];return i.useImperativeHandle(O,function(){return{patchElement:D}},[]),(0,u.jsx)(u.Fragment,{children:E})})),y=0,P=0,M=[];function T(){var f=i.useRef(null),O=i.useState([]),L=p()(O,2),b=L[0],E=L[1],D=(0,s.default)()||{},x=(0,r.default)(),S=x.dialogHolderRef||D.dialogHolderRef;i.useEffect(function(){if(b.length){var F=o()(b);F.forEach(function(k){k()}),E([])}},[b]);var I=i.useCallback(function(F){y+=1;var k=i.createRef(),W,U=(0,u.jsx)(m.default,{config:F,afterClose:function(){var R;(R=W)===null||R===void 0||R()},dialogRef:k},"modal-".concat(y)),K=f.current?f:S;if(K!=null&&K.current)W=K.current.patchElement(U);else{_.default.showWarning(!1,"\u672A\u4F7F\u7528CssAppConfig\u5168\u5C40\u914D\u7F6E\u3001\u4E5F\u672A\u5C06contextHolder\u63D2\u5165\u7EC4\u4EF6\u4E2D\uFF0C\u5C06\u65E0\u6CD5\u9002\u914Dantd\u4E3B\u9898\u914D\u7F6E\u548C\u83B7\u53D6context\u3002");var j=document.createElement("div");document.body.append(j);var Z=(0,c.createRoot)(j);Z.render((0,u.jsx)(u.Fragment,{children:U})),W=function(){setTimeout(function(){Z.unmount()},500)}}W&&M.push(W);var N={destroy:function(){function R(){var z;(z=k.current)===null||z===void 0||z.destroy()}k.current?R():E(function(z){return[].concat(o()(z),[R])})},update:function(R){function z(){var J;(J=k.current)===null||J===void 0||J.update(R)}k.current?z():E(function(J){return[].concat(o()(J),[z])})}};return N},[]),A=i.useCallback(function(F){P+=1;var k=i.createRef(),W,U=(0,u.jsx)(d.default,{config:F,afterClose:function(){var z;(z=W)===null||z===void 0||z()},dialogRef:k},"drawer-".concat(P)),K=f.current?f:S;if(K!=null&&K.current){var j;W=(j=K.current)===null||j===void 0?void 0:j.patchElement(U)}else{_.default.showWarning(!1,"\u672A\u4F7F\u7528CssAppConfig\u5168\u5C40\u914D\u7F6E\u3001\u4E5F\u672A\u5C06contextHolder\u63D2\u5165\u7EC4\u4EF6\u4E2D\uFF0C\u5C06\u65E0\u6CD5\u9002\u914Dantd\u4E3B\u9898\u914D\u7F6E\u548C\u83B7\u53D6context\u3002");var Z=document.createElement("div");document.body.append(Z);var N=(0,c.createRoot)(Z);N.render((0,u.jsx)(u.Fragment,{children:U})),W=function(){setTimeout(function(){N.unmount()},500)}}W&&M.push(W);var w={destroy:function(){function z(){var J;(J=k.current)===null||J===void 0||J.destroy()}k.current?z():E(function(J){return[].concat(o()(J),[z])})},update:function(z){function J(){var H;(H=k.current)===null||H===void 0||H.update(z)}k.current?J():E(function(H){return[].concat(o()(H),[J])})}};return w},[]),B=i.useMemo(function(){return{openModal:v()(function(F){return I(F)},500,{leading:!0,trailing:!1}),openDrawer:v()(function(F){return A(F)},500,{leading:!0,trailing:!1})}},[]);return{openDrawer:B.openDrawer,openModal:B.openModal,contextHolder:(0,u.jsx)(a,{ref:f},"modal-holder")}}},50712:function(g,n,e){"use strict";e.r(n);var h=e(35119),o=e(22818),C=e(45484),p=e(52653),_=e(31939),l=h.default;l.Buttons=o.default,l.useDialog=_.default,l.useInstance=C.useDialogContext,l.DrawerFooter=p.default,n.default=l},3833:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return l}});var h=e(15558),o=e.n(h),C=e(48305),p=e.n(C),_=e(75271);function l(){var v=_.useState([]),i=p()(v,2),c=i[0],r=i[1],s=_.useCallback(function(d){return r(function(m){return[].concat(o()(m),[d])}),function(){r(function(m){return m.filter(function(t){return t!==d})})}},[]);return[c,s]}},4683:function(g,n,e){"use strict";e.r(n)},29175:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return m}});var h=e(26068),o=e.n(h),C=e(67825),p=e.n(C),_=e(93325),l=e(82187),v=e.n(l),i=e(81475),c=e(50796),r=e(83857),s=e(52676),d=["placeholder","height","variant","className","extensions","disabled","styles","size","theme"];function m(t){var u=t.placeholder,a=u===void 0?"\u8BF7\u8F93\u5165":u,y=t.height,P=y===void 0?150:y,M=t.variant,T=M===void 0?"outlined":M,f=t.className,O=t.extensions,L=O===void 0?[]:O,b=t.disabled,E=t.styles,D=t.size,x=D===void 0?"middle":D,S=t.theme,I=p()(t,d),A=(0,i.default)(),B=S||A.theme||"light",F=(0,c.default)({height:P,styles:E,variant:T,size:x}),k=F.styles.root,W=F.onActived;return(0,s.jsx)(_.default,o()(o()({onFocus:function(){return W(!0)},onBlur:function(){return W(!1)},style:k,readOnly:b,extensions:L,placeholder:a,theme:B},I),{},{className:v()("ccs-editor",f,{"ccs-editor-fill":T==="filled"&&B==="light"})}))}},81777:function(g,n,e){"use strict";e.r(n);var h=e(36075),o=e.n(h),C=e(51561),p=e(68240),_=e(80932),l=e(24605),v=e(39445),i=e(53056),c=e(52676);function r(s){return o()(s),(0,c.jsx)(c.Fragment,{})}r.Json=p.default,r.Js=C.default,r.Sql=l.default,r.Yaml=i.default,r.Xml=v.default,r.Rich=_.default,n.default=r},51561:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return l}});var h=e(26068),o=e.n(h),C=e(48496),p=e(29175),_=e(52676);function l(v){return(0,_.jsx)(p.default,o()(o()({},v),{},{extensions:[(0,C.javascript)({jsx:!0})]}))}},68240:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return c}});var h=e(26068),o=e.n(h),C=e(37441),p=e(8435),_=e(47107),l=e(29175),v=e(52676),i=(0,_.linter)(function(r){var s=[];return(0,p.syntaxTree)(r.state).cursor().iterate(function(d){d.name==="\u26A0"&&s.push({from:d.from,to:d.to,severity:"error",message:"JSON\u9519\u8BEF"})}),s});function c(r){return(0,v.jsx)(l.default,o()(o()({},r),{},{extensions:[(0,C.json)(),i]}))}},14635:function(g,n,e){"use strict";e.r(n),e.d(n,{EditorRichContext:function(){return y},default:function(){return P}});var h=e(26068),o=e.n(h),C=e(81475),p=e(50796),_=e(27741),l=e(13343),v=e(85600),i=e(7214),c=e(69157),r=e(69838),s=e(54249),d=e(75271),m=e(92523),t=e(86638),u=e(56062),a=e(52676),y=d.createContext({});function P(M){var T=M.disabled,f=M.height,O=f===void 0?150:f,L=M.styles,b=M.variant,E=b===void 0?"outlined":b,D=M.placeholder,x=D===void 0?"\u8BF7\u8F93\u5165":D,S=M.size,I=S===void 0?"middle":S,A=M.imageUpload,B=M.plugins,F=M.editorConfig,k=M.onChange,W=(0,C.default)(),U=W.theme||"light",K=(0,p.default)({height:O,styles:L,variant:E,size:I,theme:U}),j=K.styles,Z=j.root,N=j.inner,w=j.toolbarStyles,R=j.placeholderStyles,z=j.background,J=K.onActived;return(0,a.jsx)(y.Provider,{value:{imageUpload:A},children:(0,a.jsx)(_.LexicalComposer,{initialConfig:o()(o()({},F),{},{editable:!T,editorState:null}),children:(0,a.jsxs)("div",{className:"css-editor-rich",style:o()({background:z},Z),children:[(0,a.jsx)(u.default,{disabled:T,style:w}),(0,a.jsxs)("div",{className:"editor-inner",style:N,children:[(0,a.jsx)(s.RichTextPlugin,{contentEditable:(0,a.jsx)(l.ContentEditable,{className:"editor-input","aria-placeholder":x,placeholder:(0,a.jsx)("div",{className:"editor-placeholder",style:R,children:x}),onFocus:function(){return J(!0)},onBlur:function(){return J(!1)}}),ErrorBoundary:v.LexicalErrorBoundary}),(0,a.jsx)(r.OnChangePlugin,{onChange:k}),(0,a.jsx)(m.default,{}),(0,a.jsx)(i.HistoryPlugin,{}),(0,a.jsx)(c.LinkPlugin,{}),B]})]})})})}},24181:function(g,n,e){"use strict";e.r(n),e.d(n,{parseAllowedColor:function(){return p},parseAllowedFontSize:function(){return C}});var h=8,o=72,C=function(l){var v=l.match(/^(\d+(?:\.\d+)?)px$/);if(v){var i=Number(v[1]);if(i>=h&&i<=o)return l}return""};function p(_){return/^rgb\(\d+, \d+, \d+\)$/.test(_)?_:""}},67764:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return r}});var h=e(48305),o=e.n(h),C=e(15409),p=e(89633),_=e(16929),l=e(19152),v=e(18466),i=e(75271),c=e(52676);function r(s){var d=s.onClose,m=s.onOk,t=s.code,u=(0,i.useState)(t),a=o()(u,2),y=a[0],P=a[1],M=_.Z.useToken(),T=M.token;return(0,c.jsx)("div",{className:"css-editor-code",style:{background:T.colorBgContainer},children:(0,c.jsxs)("div",{className:"css-editor-code-content",children:[(0,c.jsx)(l.Z.TextArea,{style:{height:"100%"},variant:"filled",value:y,onChange:function(O){return P(O.target.value)}}),(0,c.jsxs)("div",{className:"css-editor-code-btn",children:[(0,c.jsx)(v.ZP,{onClick:d,icon:(0,c.jsx)(C.Z,{}),size:"small",children:"\u8FD4\u56DE"}),(0,c.jsx)(v.ZP,{style:{marginLeft:10},icon:(0,c.jsx)(p.Z,{}),onClick:function(){return m(y)},size:"small",children:"\u4FDD\u5B58"})]})]})})}},56062:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return H}});var h=e(48305),o=e.n(h),C=e(2593),p=e(65351),_=e(52608),l=e(22668),v=e(82348),i=e(12335),c=e(37101),r=e(76371),s=e(91319),d=e(37535),m=e(32791),t=e(86346),u=e(23455),a=e(14875),y=e(24799),P=e(48666),M=e(63552),T=e(1775),f=e(34073),O=e(83346),L=e(20509),b=e(80729),E=e(46960),D=e(19152),x=e(54999),S=e(57439),I=e(18466),A=e(81465),B=e(6052),F=e(9228),k=e(71794),W=e(75271),U=e(14635),K=e(32097),j=e(35030),Z=e(85289),N=e(67764),w=e(6145),R=e(52676);function z(G){var te=G.onCancel,V=G.onOk,Y=b.Z.useForm(),q=o()(Y,1),ne=q[0];function ae(){ne.validateFields().then(function(X){V(X),te()})}return(0,R.jsx)(R.Fragment,{children:(0,R.jsx)(E.Z,{open:!0,destroyOnHidden:!0,onCancel:te,onOk:ae,children:(0,R.jsxs)(b.Z,{form:ne,initialValues:{url:"http://",target:"_self"},layout:"horizontal",labelCol:{span:6},wrapperCol:{span:15},children:[(0,R.jsx)(b.Z.Item,{label:"url",name:"url",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5"}],children:(0,R.jsx)(D.Z,{})}),(0,R.jsx)(b.Z.Item,{label:"\u8BF4\u660E",name:"title",children:(0,R.jsx)(D.Z,{})}),(0,R.jsx)(b.Z.Item,{label:"\u7C7B\u578B",name:"target",children:(0,R.jsx)(x.ZP.Group,{optionType:"button",options:[{label:"\u5185\u90E8\u94FE\u63A5",value:"_self"},{label:"\u5916\u90E8\u94FE\u63A5",value:"_blank"}]})})]})})})}var J=[{label:"\u9ED8\u8BA4",value:"inherit"},{label:"\u5B8B\u4F53",value:"SimSun, serif"},{label:"\u9ED1\u4F53",value:"SimHei, sans-serif"},{label:"\u5FAE\u8F6F\u96C5\u9ED1",value:'"Microsoft YaHei", sans-serif'},{label:"Arial",value:"Arial, sans-serif"},{label:"Times New Roman",value:'"Times New Roman", serif'},{label:"Courier New",value:'"Courier New", monospace'},{label:"Georgia",value:"Georgia, serif"},{label:"Verdana",value:"Verdana, sans-serif"}];function H(G){var te=G.style,V=G.disabled,Y=(0,f.useLexicalComposerContext)(),q=o()(Y,1),ne=q[0],ae=(0,W.useContext)(U.EditorRichContext),X=ae.imageUpload,re=K.default.useComplexState({canUndo:!1,canRedo:!1,isBold:!1,isItalic:!1,isUnderline:!1,isStrikethrough:!1,isUpload:!1,isLinkOpen:!1,isLink:!1,fontSize:"14px",fontFamily:"inherit",fontColor:void 0,bgColor:void 0,previewHtml:"",codeEdit:""}),oe=re.state,Q=re.setByPath,ie=oe.canRedo,se=oe.canUndo,le=oe.isBold,_e=oe.isItalic,me=oe.isUnderline,fe=oe.isStrikethrough,ge=oe.isUpload,Pe=oe.isLinkOpen,ye=oe.isLink,Ee=oe.fontSize,Te=oe.fontFamily,Fe=oe.fontColor,Ue=oe.bgColor,pe=oe.previewHtml,de=oe.codeEdit,xe=(0,W.useCallback)(function(ue){ne.update(function(){var De=(0,k.$getSelection)();(0,k.$isRangeSelection)(De)&&(0,O.$patchStyleText)(De,ue)})},[ne]),Ae=(0,W.useCallback)(function(ue){xe({"font-size":ue}),Q("fontSize",ue)},[xe]),Se=(0,W.useCallback)(function(ue){xe({"font-family":ue}),Q("fontFamily",ue)},[xe]),Le=(0,W.useCallback)(function(ue){xe({color:ue}),Q("fontColor",ue)},[xe]),je=(0,W.useCallback)(function(ue){xe({"background-color":ue}),Q("bgColor",ue)},[xe]),ke=function(De){ne.dispatchCommand(k.FORMAT_TEXT_COMMAND,De)},$=function(De){ne.dispatchCommand(k.FORMAT_ELEMENT_COMMAND,De)},ee=[{label:12,value:"12px"},{label:14,value:"14px"},{label:16,value:"16px"},{label:18,value:"18px"},{label:20,value:"20px"},{label:24,value:"24px"},{label:28,value:"28px"},{label:38,value:"36px"},{label:48,value:"48px"},{label:72,value:"72px"}],ce=(0,W.useCallback)(function(){var ue=(0,k.$getSelection)();if((0,k.$isRangeSelection)(ue)){Q({isBold:ue.hasFormat("bold"),isItalic:ue.hasFormat("italic"),isUnderline:ue.hasFormat("underline"),isStrikethrough:ue.hasFormat("strikethrough"),fontSize:(0,O.$getSelectionStyleValueForProperty)(ue,"font-size","16px"),fontFamily:(0,O.$getSelectionStyleValueForProperty)(ue,"font-family","inherit"),fontColor:(0,O.$getSelectionStyleValueForProperty)(ue,"color","#000000"),bgColor:(0,O.$getSelectionStyleValueForProperty)(ue,"background-color",void 0)});var De=ue.anchor.getNode().getParent();Q("isLink",(0,T.$isLinkNode)(De))}},[]);(0,Z.useInsertCss)("editor",function(ue){return[".ccs-rich-upload .".concat(ue,"-upload-wrapper.").concat(ue,"-upload-picture-card-wrapper .").concat(ue,"-upload.").concat(ue,"-upload-select{width:200px;height:200px;}"),".ccs-rich-upload .".concat(ue,"-upload-wrapper.").concat(ue,"-upload-picture-card-wrapper .").concat(ue,"-upload-list.").concat(ue,"-upload-list-picture-card .").concat(ue,"-upload-list-item-container{width:200px;height:200px;}")]}),(0,W.useEffect)(function(){return(0,L.mergeRegister)(ne.registerUpdateListener(function(ue){var De=ue.editorState;De.read(function(){ce()},{editor:ne})}),ne.registerCommand(k.SELECTION_CHANGE_COMMAND,function(ue,De){return ce(),!1},k.COMMAND_PRIORITY_LOW),ne.registerCommand(k.CAN_UNDO_COMMAND,function(ue){return Q("canUndo",ue),!1},k.COMMAND_PRIORITY_LOW),ne.registerCommand(k.CAN_REDO_COMMAND,function(ue){return Q("canRedo",ue),!1},k.COMMAND_PRIORITY_LOW))},[ne,ce]);var ve=function(De){ne.dispatchCommand(T.TOGGLE_LINK_COMMAND,De)},Me=(0,W.useCallback)(function(){ye?ne.dispatchCommand(T.TOGGLE_LINK_COMMAND,null):Q("isLinkOpen",!0)},[ne,ye]),be=V,We=function(De){ne.update(function(){if(de!==De){var Qe=new DOMParser,He=Qe.parseFromString(De||"","text/html"),Ve=(0,M.$generateNodesFromDOM)(ne,He);(0,k.$getRoot)().clear(),(0,k.$getRoot)().select(),(0,k.$insertNodes)(Ve)}Q("codeEdit","")})};return(0,R.jsxs)("div",{className:"ccs-editor-toolbar",style:te,children:[(0,R.jsx)(S.Z,{title:"\u64A4\u9500",children:(0,R.jsx)(I.ZP,{disabled:!se||be,onClick:function(){ne.dispatchCommand(k.UNDO_COMMAND,void 0)},icon:(0,R.jsx)(C.Z,{}),type:"text"})}),(0,R.jsx)(S.Z,{title:"\u91CD\u505A",children:(0,R.jsx)(I.ZP,{disabled:!ie||be,onClick:function(){ne.dispatchCommand(k.REDO_COMMAND,void 0)},icon:(0,R.jsx)(p.Z,{}),type:"text"})}),(0,R.jsx)(A.Z,{type:"vertical"}),(0,R.jsx)(S.Z,{title:"\u52A0\u7C97",children:(0,R.jsx)(I.ZP,{disabled:be,onClick:function(){ke("bold")},icon:(0,R.jsx)(_.Z,{}),type:le?"link":"text"})}),(0,R.jsx)(S.Z,{title:"\u659C\u4F53",children:(0,R.jsx)(I.ZP,{disabled:be,onClick:function(){ke("italic")},icon:(0,R.jsx)(l.Z,{}),type:_e?"link":"text"})}),(0,R.jsx)(S.Z,{title:"\u4E0B\u5212\u7EBF",children:(0,R.jsx)(I.ZP,{disabled:be,onClick:function(){ke("underline")},icon:(0,R.jsx)(v.Z,{}),type:me?"link":"text"})}),(0,R.jsx)(S.Z,{title:"\u5220\u9664\u7EBF",children:(0,R.jsx)(I.ZP,{disabled:be,onClick:function(){ke("strikethrough")},icon:(0,R.jsx)(i.Z,{}),type:fe?"link":"text"})}),(0,R.jsx)(A.Z,{type:"vertical"}),(0,R.jsx)(S.Z,{title:"\u5DE6\u5BF9\u9F50",children:(0,R.jsx)(I.ZP,{disabled:be,onClick:function(){$("left")},icon:(0,R.jsx)(c.Z,{}),type:"text"})}),(0,R.jsx)(S.Z,{title:"\u4E2D\u95F4\u5BF9\u9F50",children:(0,R.jsx)(I.ZP,{disabled:be,onClick:function(){$("center")},icon:(0,R.jsx)(r.Z,{}),type:"text"})}),(0,R.jsx)(S.Z,{title:"\u53F3\u5BF9\u9F50",children:(0,R.jsx)(I.ZP,{disabled:be,onClick:function(){$("right")},icon:(0,R.jsx)(s.Z,{}),type:"text"})}),(0,R.jsx)(S.Z,{title:"\u4E24\u6BB5\u5BF9\u9F50",children:(0,R.jsx)(I.ZP,{disabled:be,onClick:function(){$("justify")},icon:(0,R.jsx)(d.Z,{}),type:"text"})}),(0,R.jsx)(S.Z,{title:"\u56FE\u7247\u4E0A\u4F20",children:(0,R.jsx)(I.ZP,{type:"text",disabled:be,icon:(0,R.jsx)(m.Z,{}),onClick:function(){return Q("isUpload",!0)}})}),(0,R.jsx)(S.Z,{title:ye?"\u53D6\u6D88\u8D85\u94FE\u63A5":"\u6DFB\u52A0\u8D85\u94FE\u63A5",children:(0,R.jsx)(I.ZP,{type:"text",icon:ye?(0,R.jsx)(t.Z,{}):(0,R.jsx)(u.Z,{}),onClick:function(){return Me()},disabled:be})}),(0,R.jsx)(A.Z,{type:"vertical"}),(0,R.jsx)(j.default,{value:Fe,onChange:function(De){return Le(De)},children:(0,R.jsx)(S.Z,{title:"\u5B57\u4F53\u989C\u8272",children:(0,R.jsx)(I.ZP,{disabled:be,style:{color:Fe},icon:(0,R.jsx)(a.Z,{}),type:"text"})})}),(0,R.jsx)(j.default,{value:Ue,onChange:function(De){return je(De)},children:(0,R.jsx)(S.Z,{title:"\u80CC\u666F\u8272",children:(0,R.jsx)(I.ZP,{disabled:be,style:{color:Ue},icon:(0,R.jsx)(y.Z,{}),type:"text"})})}),(0,R.jsx)(A.Z,{type:"vertical"}),(0,R.jsx)(S.Z,{title:"\u5B57\u4F53",children:(0,R.jsx)(B.default,{value:Te,options:J,variant:"filled",size:"small",onChange:Se,style:{marginRight:6,width:80},popupMatchSelectWidth:200})}),(0,R.jsx)(S.Z,{title:"\u5B57\u4F53\u5927\u5C0F",children:(0,R.jsx)(B.default,{value:Ee,options:ee,variant:"filled",size:"small",onChange:Ae})}),(0,R.jsx)(A.Z,{type:"vertical"}),(0,R.jsx)(I.ZP,{size:"small",type:"text",onClick:function(){ne.read(function(){var De=(0,P.$onGenerateHTML)(ne);Q("codeEdit",De)})},children:"\u6E90\u7801"}),(0,R.jsx)(I.ZP,{size:"small",type:"text",onClick:function(){ne.read(function(){var De=(0,P.$onGenerateHTML)(ne);Q("previewHtml",De)})},children:"\u9884\u89C8"}),ge&&(X==null?void 0:X.uploadRequest)&&(0,R.jsx)(w.default,{onCancel:function(){return Q("isUpload",!1)}}),Pe&&(0,R.jsx)(z,{onOk:ve,onCancel:function(){return Q("isLinkOpen",!1)}}),!!pe&&(0,R.jsx)(F.Z,{title:"\u9884\u89C8",width:"100%",open:!0,onClose:function(){return Q("previewHtml","")},children:(0,R.jsx)("div",{dangerouslySetInnerHTML:{__html:pe}})}),!!de&&(0,R.jsx)(N.default,{code:de,onOk:We,onClose:function(){return Q("codeEdit","")}})]})}},6145:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return L}});var h=e(26068),o=e.n(h),C=e(90228),p=e.n(C),_=e(87999),l=e.n(_),v=e(48305),i=e.n(v),c=e(64276),r=e(34073),s=e(80729),d=e(46960),m=e(54999),t=e(19152),u=e(71794),a=e(75271),y=e(14635),P=e(80882),M=e(92523),T=e(83844),f=e(52676),O=function(E){return E?typeof E=="number"?E+"px":E.endsWith("px")||E.endsWith("%")?E:parseInt(E)+"px":"100%"};function L(b){var E=b.imageProps,D=E===void 0?{urlType:"url"}:E,x=b.onCancel,S=(0,r.useLexicalComposerContext)(),I=i()(S,1),A=I[0],B=(0,a.useContext)(y.EditorRichContext),F=B.imageUpload;function k(){return D.src?D.urlType==="url"?{base64:void 0,url:D.src}:{base64:D.src,url:void 0}:{}}var W=(0,a.useState)(k),U=i()(W,2),K=U[0],j=U[1],Z=s.Z.useForm(),N=i()(Z,1),w=N[0],R=(0,a.useRef)(null),z=function(){var J=l()(p()().mark(function H(){var G,te,V,Y,q,ne;return p()().wrap(function(X){for(;;)switch(X.prev=X.next){case 0:return X.next=2,w.validateFields();case 2:if(G=X.sent,te=G.urlType,V=G.src,Y=G.altText,q=G.height,ne=G.width,D.key===void 0){X.next=8;break}return A.update(function(){var re=(0,u.$getNodeByKey)(D.key);re&&(0,T.$isImageNode)(re)&&re.updateData({altText:Y,height:O(q),width:O(ne),urlType:te,src:V})}),x(),X.abrupt("return");case 8:A.dispatchCommand(M.INSERT_IMAGE_COMMAND,{altText:Y||"",src:V,width:O(ne),height:O(q)}),x();case 10:case"end":return X.stop()}},H)}));return function(){return J.apply(this,arguments)}}();return(0,f.jsx)(f.Fragment,{children:(0,f.jsx)(d.Z,{open:!0,title:"\u56FE\u7247\u4E0A\u4F20",onCancel:x,rootClassName:"ccs-rich-upload",onOk:z,width:550,children:(0,f.jsxs)("div",{style:{display:"flex",gap:16,justifyContent:"center"},children:[(0,f.jsxs)(s.Z,{form:w,labelCol:{span:8},layout:"horizontal",initialValues:D,children:[(0,f.jsx)(s.Z.Item,{name:"urlType",label:"\u52A0\u8F7D\u7C7B\u578B",style:{marginBottom:16},children:(0,f.jsx)(m.ZP.Group,{optionType:"button",options:[{label:"\u94FE\u63A5",value:"url"},{label:"BASE64",value:"base64"}]})}),(0,f.jsx)(c.Z.Item,{name:"src",label:"\u56FE\u7247\u94FE\u63A5",style:{marginBottom:16},simpleRule:"input",children:(0,f.jsx)(t.Z.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u94FE\u63A5"})}),(0,f.jsx)(s.Z.Item,{name:"altText",label:"\u56FE\u7247\u540D\u79F0",style:{marginBottom:16},children:(0,f.jsx)(t.Z,{placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u540D\u79F0"})}),(0,f.jsx)(s.Z.Item,{name:"width",label:"\u56FE\u7247\u5BBD\u5EA6",style:{marginBottom:16},children:(0,f.jsx)(t.Z,{placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u5BBD\u5EA6"})}),(0,f.jsx)(s.Z.Item,{name:"height",label:"\u56FE\u7247\u9AD8\u5EA6",style:{marginBottom:0},children:(0,f.jsx)(t.Z,{placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u9AD8\u5EA6"})}),(0,f.jsx)(s.Z.Item,{shouldUpdate:function(H,G){return H.urlType!==G.urlType},children:function(H){var G=H.getFieldValue,te=H.setFieldValue,V=G("urlType"),Y=G("src");return setTimeout(function(){if(V==="base64"){if(K.base64===Y)return null;te("src",K.base64)}if(V==="url"){if(K.url===Y)return null;te("src",K.url)}},1),null}})]}),(0,f.jsx)("div",{style:{flex:"0 0 200px"},children:(0,f.jsx)(P.default.Image,o()(o()({value:D.src},F),{},{onImageInfo:function(H){var G="".concat((F==null?void 0:F.imageUrl)||"").concat(H.url);j({base64:H.base64,url:G});var te=w.getFieldValue("urlType");w.setFieldValue("altText",H.name),w.setFieldValue("src",te==="url"?G:H.base64)},onChange:function(H){H||(w.setFieldsValue({src:"",altText:"",width:"",height:""}),j({}))}}))}),(0,f.jsx)("img",{style:{position:"fixed",visibility:"hidden",top:0,left:0},onLoad:function(){var H,G;return w.setFieldsValue({width:"".concat((H=R.current)===null||H===void 0?void 0:H.width,"px"),height:"".concat((G=R.current)===null||G===void 0?void 0:G.height,"px")})},ref:R,src:K.base64})]})})})}},40815:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return l}});var h=e(48305),o=e.n(h),C=e(75271),p=e(6145),_=e(52676);function l(v){var i=v.src,c=v.altText,r=v.nodeKey,s=v.width,d=v.height,m=(0,C.useState)(!1),t=o()(m,2),u=t[0],a=t[1],y=function(){a(!0)};return(0,_.jsxs)(_.Fragment,{children:[u&&(0,_.jsx)(p.default,{imageProps:{key:r,src:i,altText:c,width:s,height:d,urlType:i!=null&&i.startsWith("data:image")?"base64":"url"},onCancel:function(){return a(!1)}}),(0,_.jsx)("img",{style:{width:s,height:d},onClick:y,alt:c,src:i,draggable:"false"})]})}},83844:function(g,n,e){"use strict";e.r(n),e.d(n,{$createImageNode:function(){return P},$isImageNode:function(){return T},ImageNode:function(){return y}});var h=e(25298),o=e.n(h),C=e(17069),p=e.n(C),_=e(62657),l=e.n(_),v=e(21742),i=e.n(v),c=e(83136),r=e.n(c),s=e(82092),d=e.n(s),m=e(71794),t=e(75271),u=e(52676),a=t.lazy(function(){return Promise.resolve().then(e.bind(e,40815))}),y=function(f){i()(L,f);var O=r()(L);function L(b,E,D,x,S){var I;return o()(this,L),I=O.call(this,S),d()(l()(I),"__src",void 0),d()(l()(I),"__altText",void 0),d()(l()(I),"__width",void 0),d()(l()(I),"__height",void 0),I.__src=b,I.__altText=E,I.__width=D||"inherit",I.__height=x||"inherit",I}return p()(L,[{key:"exportJSON",value:function(){return{altText:this.__altText,height:this.__height,src:this.__src,width:this.__width,type:"image",version:1}}},{key:"exportDOM",value:function(){var E=document.createElement("img");return E.setAttribute("src",this.__src),E.setAttribute("alt",this.__altText),this.__width&&E.setAttribute("width",this.__width.toString()),this.__height&&E.setAttribute("height",this.__height.toString()),{element:E}}},{key:"createDOM",value:function(E){var D=document.createElement("span"),x=E.theme,S=x.image;return S!==void 0&&(D.className=S),D}},{key:"updateDOM",value:function(){return!1}},{key:"updateData",value:function(E){var D=this.getWritable();D.__width=E.width,D.__height=E.height,D.__src=E.src,D.__altText=E.altText}},{key:"decorate",value:function(){return(0,u.jsx)(t.Suspense,{fallback:null,children:(0,u.jsx)(a,{src:this.__src,altText:this.__altText,width:this.__width,height:this.__height,nodeKey:this.getKey()})})}}],[{key:"getType",value:function(){return"image"}},{key:"clone",value:function(E){return new L(E.__src,E.__altText,E.__width,E.__height,E.__key)}},{key:"importJSON",value:function(E){var D=E.altText,x=E.height,S=E.width,I=E.src;return new L(I,D,S,x)}},{key:"importDOM",value:function(){return{img:function(){return{conversion:M,priority:0}}}}}]),L}(m.DecoratorNode);function P(f){var O=f.altText,L=f.height,b=f.src,E=f.width;return new y(b,O,E,L)}function M(f){if(f instanceof HTMLImageElement){var O=f.alt,L=f.src,b=f.width,E=f.height,D=P({altText:O,height:E,src:L,width:b});return{node:D}}return null}function T(f){return f instanceof y}},92523:function(g,n,e){"use strict";e.r(n),e.d(n,{INSERT_IMAGE_COMMAND:function(){return v},UPDATE_IMAGE_COMMAND:function(){return i},default:function(){return c}});var h=e(48305),o=e.n(h),C=e(34073),p=e(71794),_=e(75271),l=e(83844),v=(0,p.createCommand)("INSERT_IMAGE_COMMAND"),i=(0,p.createCommand)("UPDATE_IMAGE_COMMAND");function c(){var r=(0,C.useLexicalComposerContext)(),s=o()(r,1),d=s[0];return(0,_.useEffect)(function(){d.registerCommand(v,function(m){var t=(0,l.$createImageNode)(m);return(0,p.$insertNodes)([t]),!0},p.COMMAND_PRIORITY_EDITOR)},[d]),null}},13273:function(g,n,e){"use strict";e.r(n);var h=e(48305),o=e.n(h),C=e(63552),p=e(34073),_=e(71794),l=e(75271),v=function(c){var r=c.value,s=(0,p.useLexicalComposerContext)(),d=o()(s,1),m=d[0];return(0,l.useEffect)(function(){m.update(function(){var t=(0,C.$generateHtmlFromNodes)(m,null);if(r!==t){var u=new DOMParser,a=u.parseFromString(r||"","text/html"),y=(0,C.$generateNodesFromDOM)(m,a);(0,_.$getRoot)().clear(),(0,_.$getRoot)().select(),(0,_.$insertNodes)(y)}})},[m,r]),null};n.default=v},48666:function(g,n,e){"use strict";e.r(n),e.d(n,{$onGenerateHTML:function(){return v}});var h=e(1775),o=e(5590),C=e(78608),p=e(71794),_=e(83844);function l(i){return i.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}function v(i){var c="";function r(s){if((0,p.$isTextNode)(s)){var d=l(s.getTextContent());return s.hasFormat("bold")&&(d="<strong>".concat(d,"</strong>")),s.hasFormat("italic")&&(d="<em>".concat(d,"</em>")),s.hasFormat("underline")&&(d="<u>".concat(d,"</u>")),s.hasFormat("strikethrough")&&(d="<s>".concat(d,"</s>")),s.hasFormat("code")&&(d="<code>".concat(d,"</code>")),d}if((0,_.$isImageNode)(s)){var m=s.__width,t=s.__height,u=s.__altText,a=s.__src;return typeof m=="number"&&(m="".concat(m,"px")),typeof t=="number"&&(t="".concat(t,"px")),'<img src="'.concat(a,'" alt="').concat(u,'" width="').concat(m,'" height="').concat(t,'" />')}if((0,p.$isElementNode)(s)){var y,P=s.getChildren(),M=P.map(function(b){return r(b)}).join(""),T=((y=s.getFormatType)===null||y===void 0?void 0:y.call(s))||"",f=T?' style="text-align: '.concat(T,';"'):"";if((0,p.$isParagraphNode)(s))return"<p".concat(f,">").concat(M,`</p>
23
+ `);if((0,C.$isHeadingNode)(s)){var O=s.getTag();return"<".concat(O).concat(f,">").concat(M,"</").concat(O,`>
24
+ `)}if((0,C.$isQuoteNode)(s))return"<blockquote".concat(f,">").concat(M,`</blockquote>
25
+ `);if((0,o.$isListNode)(s)){var L=s.getListType()==="bullet"?"ul":"ol";return"<".concat(L,">").concat(M,"</").concat(L,`>
26
+ `)}return(0,o.$isListItemNode)(s)?"<li".concat(f,">").concat(M,`</li>
27
+ `):(0,h.$isLinkNode)(s)?'<a href="'.concat(s.__url,'""').concat(s.__target==="_blank"?' target="_blank"':"").concat(s.__title?' title="'.concat(s.__title,'"'):"",">").concat(M,"</a>"):s.getType()==="root"?M:"<div".concat(f,">").concat(M,`</div>
28
+ `)}return""}return i.getEditorState().read(function(){var s=(0,p.$getRoot)();c=r(s)}),c}},80932:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return D}});var h=e(67825),o=e.n(h),C=e(26068),p=e.n(C),_=e(48305),l=e.n(_),v=e(15558),i=e.n(v),c=e(1775),r=e(5590),s=e(78608),d=e(71794),m=e(14635),t=e(24181),u=e(83844),a=e(13273),y=e(48666),P=e(2978),M=e(52676),T=["value","onChange"],f=function(S,I){var A=I.exportDOM(S);if(A&&(0,d.isHTMLElement)(A.element))for(var B=0,F=[A.element].concat(i()(A.element.querySelectorAll("[style],[class]")));B<F.length;B++){var k=F[B];k.removeAttribute("class"),k.removeAttribute("style")}return A},O=new Map([[d.ParagraphNode,f],[d.TextNode,f]]),L=function(S){var I="",A=(0,t.parseAllowedFontSize)(S.style.fontSize),B=(0,t.parseAllowedColor)(S.style.backgroundColor),F=(0,t.parseAllowedColor)(S.style.color);return A!==""&&A!=="15px"&&(I+="font-size: ".concat(A,";")),B!==""&&B!=="rgb(255, 255, 255)"&&(I+="background-color: ".concat(B,";")),F!==""&&F!=="rgb(0, 0, 0)"&&(I+="color: ".concat(F,";")),I},b=function(){for(var S={},I=function(){var k=l()(B[A],2),W=k[0],U=k[1];S[W]=function(K){var j=U(K);return j?p()(p()({},j),{},{conversion:function(N){var w=j.conversion(N);if(w===null||w.forChild===void 0||w.after!==void 0||w.node!==null)return w;var R=L(N);if(R){var z=w.forChild;return p()(p()({},w),{},{forChild:function(H,G){var te=z(H,G);return(0,d.$isTextNode)(te)&&te.setStyle(te.getStyle()+R),te}})}return w}}):null}},A=0,B=Object.entries(d.TextNode.importDOM()||{});A<B.length;A++)I();return S},E={html:{export:O,import:b()},namespace:"EditorRich",nodes:[d.ParagraphNode,d.TextNode,u.ImageNode,s.HeadingNode,s.QuoteNode,r.ListNode,r.ListItemNode,c.LinkNode],onError:function(S){throw S},theme:P.default};function D(x){var S=x.value,I=x.onChange,A=o()(x,T),B=function(k,W){k.read(function(){var U=(0,y.$onGenerateHTML)(W);return I==null?void 0:I(U)})};return(0,M.jsx)(m.default,p()(p()({editorConfig:E},A),{},{onChange:B,plugins:(0,M.jsx)(a.default,{value:S})}))}},2978:function(g,n,e){"use strict";e.r(n),n.default={code:"editor-code",heading:{h1:"editor-heading-h1",h2:"editor-heading-h2",h3:"editor-heading-h3",h4:"editor-heading-h4",h5:"editor-heading-h5"},image:"editor-image",link:"editor-link",list:{listitem:"editor-listitem",nested:{listitem:"editor-nested-listitem"},ol:"editor-list-ol",ul:"editor-list-ul"},paragraph:"editor-paragraph",placeholder:"editor-placeholder",quote:"editor-quote",text:{bold:"editor-text-bold",code:"editor-text-code",hashtag:"editor-text-hashtag",italic:"editor-text-italic",overflowed:"editor-text-overflowed",strikethrough:"editor-text-strikethrough",underline:"editor-text-underline",underlineStrikethrough:"editor-text-underlinetrikethrough"},ltr:"editor-ltr",rtl:"editor-rtl"}},24605:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return l}});var h=e(26068),o=e.n(h),C=e(34887),p=e(29175),_=e(52676);function l(v){return(0,_.jsx)(p.default,o()(o()({},v),{},{extensions:[(0,C.sql)()]}))}},39445:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return l}});var h=e(26068),o=e.n(h),C=e(8689),p=e(29175),_=e(52676);function l(v){return(0,_.jsx)(p.default,o()(o()({},v),{},{extensions:[(0,C.xml)()]}))}},53056:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return l}});var h=e(26068),o=e.n(h),C=e(24365),p=e(29175),_=e(52676);function l(v){return(0,_.jsx)(p.default,o()(o()({},v),{},{extensions:[(0,C.yaml)()]}))}},37293:function(g,n,e){"use strict";e.r(n)},64276:function(g,n,e){"use strict";e.d(n,{Z:function(){return _}});var h=e(64017),o=e(14894),C=e(52676);function p(){return(0,C.jsx)(C.Fragment,{})}p.Item=h.default,p.List=o.default;var _=p},64017:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return u}});var h=e(26068),o=e.n(h),C=e(48305),p=e.n(C),_=e(67825),l=e.n(_),v=e(19842),i=e(80729),c=e(75271),r=e(65173),s=e(52676),d=["mb","name","rules","children","simpleRule","isGroupName","showValidate","shouldUpdateNames","style"],m=function(y){var P=y.name,M=y.getFieldsValue,T=y.setFieldValue,f=y.getFieldValue,O=y.names,L=f(P);return(0,c.useEffect)(function(){var b=M(!0),E=[];if(O.forEach(function(x){E.push((0,r.getDataByNamePath)(b,x))}),E.filter(function(x){return x!==void 0}).length>0){T(P,E);return}var D=(0,r.getDataByNamePath)(b,P);Array.isArray(D)&&O.forEach(function(x,S){T(x,D[S])})},[]),(0,v.Z)(function(){setTimeout(function(){O.forEach(function(b,E){T(b,Array.isArray(L)?L[E]:void 0)})},1)},[L]),null};function t(a,y){var P=typeof y!="string"?"":y;return a==="select"?{required:!0,message:"\u8BF7\u9009\u62E9".concat(P)}:a==="input"?{required:!0,message:"\u8BF7\u8F93\u5165".concat(P)}:a==="email"?{required:!0,message:"".concat(P||"\u90AE\u7BB1","\u975E\u6CD5"),pattern:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/}:a==="phone"?{required:!0,message:"".concat(P||"\u7535\u8BDD\u53F7\u7801","\u975E\u6CD5"),pattern:/^1[3-9]\d{9}$/}:a==="idcard"?function(){return{validator:function(T,f){return(0,r.isValidCard)(f)?Promise.resolve():Promise.reject(new Error("".concat(P||"\u8EAB\u4EFD\u8BC1\u53F7\u7801","\u975E\u6CD5")))}}}:a==="url"?function(){return{validator:function(T,f){return(0,r.isUrl)(f)?Promise.resolve():Promise.reject(new Error("".concat(P||"URL","\u975E\u6CD5")))}}}:a instanceof RegExp?{required:!0,message:"".concat(P||"\u5185\u5BB9","\u975E\u6CD5"),pattern:a}:{required:!0}}function u(a){var y,P=a.mb,M=a.name,T=a.rules,f=a.children,O=a.simpleRule,L=a.isGroupName,b=a.showValidate,E=a.shouldUpdateNames,D=a.style,x=l()(a,d),S=L&&Array.isArray(M)&&M.length>0,I=(0,c.useState)(S?"_".concat(M==null||(y=M.join("And"))===null||y===void 0?void 0:y.replace(/[^a-zA-Z]/g,""),"_"):M),A=p()(I,1),B=A[0],F=(0,c.useMemo)(function(){var U=T||[];return O&&(Array.isArray(O)?O.forEach(function(K){return U.push(t(K,x.label))}):U.push(t(O,x.label))),U},[O,T]),k=(0,c.useMemo)(function(){var U={};return P!==void 0&&(U.marginBottom=P),o()(o()({},U),D)},[]),W=S?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.Z.Item,{noStyle:!0,shouldUpdate:function(K,j){return(0,r.getDataByNamePath)(K,B)!==(0,r.getDataByNamePath)(j,B)},children:function(K){var j=K.getFieldsValue,Z=K.setFieldValue,N=K.getFieldValue;return(0,s.jsx)(m,{getFieldsValue:j,setFieldValue:Z,getFieldValue:N,names:M,name:B})}}),M.map(function(U,K){return(0,s.jsx)(u,{noStyle:!0,name:U,hidden:!0},K)})]}):null;return E?(0,s.jsx)(i.Z.Item,{noStyle:!0,shouldUpdate:function(K,j){return Array.isArray(E)?E.some(function(Z){return(0,r.getDataByNamePath)(K,Z)!==(0,r.getDataByNamePath)(j,Z)}):!1},children:function(K){var j=E.map(function(Z){return K.getFieldValue(Z)});return b&&!b(j)?null:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(i.Z.Item,o()(o()({rules:F,name:B,style:k},x),{},{children:[c.isValidElement(f)&&c.cloneElement(f,{changes:j}),typeof f=="function"&&f(o()(o()({},K),{},{changes:j}))]})),W]})}}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.Z.Item,o()(o()({name:B,rules:F,style:k},x),{},{children:f})),W]})}},14894:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return b}});var h=e(26068),o=e.n(h),C=e(90228),p=e.n(C),_=e(87999),l=e.n(_),v=e(67825),i=e.n(v),c=e(84816),r=e(64341),s=e(17114),d=e(16929),m=e(80729),t=e(18466),u=e(82187),a=e.n(u),y=e(75271),P=e(59881),M=e.n(P),T=e(52676),f=["name","max","min","addBtn","label","isDrag","renderItem"],O=["key"],L=["className","style"];function b(E){var D=E.name,x=E.max,S=E.min,I=E.addBtn,A=I===void 0?"\u6DFB\u52A0\u9879":I,B=E.label,F=E.isDrag,k=E.renderItem,W=i()(E,f),U=d.Z.useToken(),K=U.token.colorTextDescription,j=(0,T.jsx)(m.Z.List,{name:D,rules:[{validator:function(){var Z=l()(p()().mark(function w(R,z){return p()().wrap(function(H){for(;;)switch(H.prev=H.next){case 0:if(!(S!==void 0&&(!z||z.length<S))){H.next=2;break}return H.abrupt("return",Promise.reject(new Error("\u9009\u9879\u4E0D\u80FD\u5C11\u4E8E".concat(S,"\u4E2A"))));case 2:if(!(x!==void 0&&(!z||z.length>x))){H.next=4;break}return H.abrupt("return",Promise.reject(new Error("\u9009\u9879\u4E0D\u80FD\u5927\u4E8E".concat(x,"\u4E2A"))));case 4:case"end":return H.stop()}},w)}));function N(w,R){return Z.apply(this,arguments)}return N}()}],children:function(N,w,R){var z=w.add,J=w.remove,H=w.move,G=R.errors,te=N.map(function(V){var Y=V.key,q=i()(V,O);return(0,T.jsx)(y.Fragment,{children:k({remove:J,nameIndex:q.name,RemoveButtom:function(ae){return(0,T.jsx)(t.ZP,o()({onClick:function(){return J(q.name)},type:"text",icon:(0,T.jsx)(c.Z,{style:{color:K}})},ae))},DragButtom:function(ae){var X=ae.className,re=ae.style,oe=i()(ae,L);return(0,T.jsx)(t.ZP,o()(o()({type:"text",icon:(0,T.jsx)(r.Z,{style:{color:K}})},oe),{},{className:a()("ccs-drag-handle-btn",X),style:o()({cursor:"move"},re)}))}})},Y)});return(0,T.jsxs)(T.Fragment,{children:[F?(0,T.jsx)(P.ReactSortable,{handle:".ccs-drag-handle-btn",list:N,onEnd:function(Y){var q=Y.oldIndex,ne=Y.newIndex;q!==void 0&&ne!==void 0&&H(q,ne)},setList:function(){},animation:200,ghostClass:"ccs-form-drag-ghost",chosenClass:"ccs-form-drag-chosen",children:te}):te,y.isValidElement(A)?y.cloneElement(A,{onClick:function(){return z({})}}):(0,T.jsx)(t.ZP,{type:"dashed",onClick:function(){return z({})},icon:(0,T.jsx)(s.Z,{}),children:A}),(0,T.jsx)(m.Z.ErrorList,{errors:G})]})}});return B?(0,T.jsx)(m.Z.Item,o()(o()({label:B},W),{},{children:j})):j}},81475:function(g,n,e){"use strict";e.r(n),e.d(n,{useBaseFields:function(){return v},useProTableFields:function(){return l}});var h=e(26068),o=e.n(h),C=e(75271),p=e(56973),_=function(){var c=(0,C.useContext)(p.AppConfigContext);if(c===void 0)throw new Error("AppConfigContext not found \u672A\u5168\u5C40\u4F7F\u7528 CcsAppConfig");return c},l=function(){var c,r=(0,C.useContext)(p.AppConfigContext)||{};return o()({dataSource:["data","result"],total:["data","totalNum"],requestParam:{pageNo:["pageNo"],pageSize:["pageSize"],filters:["filters"],orderProps:["orderProps"],query:["query"]}},r==null||(c=r.fieldNames)===null||c===void 0?void 0:c.page)},v=function(){var c,r=(0,C.useContext)(p.AppConfigContext)||{};return o()({success:["success"],successTag:!0,msg:["msg"],data:["data"]},r==null||(c=r.fieldNames)===null||c===void 0?void 0:c.base)};n.default=_},50796:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return v}});var h=e(26068),o=e.n(h),C=e(48305),p=e.n(C),_=e(16929),l=e(75271);function v(i){var c=i.height,r=i.styles,s=i.variant,d=s===void 0?"outlined":s,m=i.size,t=m===void 0?"middle":m,u=i.theme,a=(0,l.useState)(!1),y=p()(a,2),P=y[0],M=y[1],T=_.Z.useToken(),f=T.token,O=(0,l.useMemo)(function(){var L,b,E,D,x,S,I,A,B={small:{paddingBlock:((L=f.Input)===null||L===void 0?void 0:L.paddingBlock)||0,paddingInline:((b=f.Input)===null||b===void 0?void 0:b.paddingInline)||7},middle:{paddingBlock:((E=f.Input)===null||E===void 0?void 0:E.paddingBlock)||4,paddingInline:((D=f.Input)===null||D===void 0?void 0:D.paddingInline)||11},large:{paddingBlock:((x=f.Input)===null||x===void 0?void 0:x.paddingBlock)||7,paddingInline:((S=f.Input)===null||S===void 0?void 0:S.paddingInline)||11}},F={overflow:"hidden",borderRadius:f.borderRadius,borderColor:P?((I=f.Input)===null||I===void 0?void 0:I.hoverBorderColor)||f.colorInfoHover:f.colorBorder,borderWidth:f.lineWidth,borderStyle:f.lineType,boxShadow:P?((A=f.Input)===null||A===void 0?void 0:A.activeShadow)||f.boxShadowTertiary:"none"};d==="filled"&&(F.background=f.colorFillTertiary,F.borderColor="transparent"),d==="borderless"&&(F.borderColor="transparent"),d==="underlined"&&(F.borderColor="transparent transparent ".concat(f.colorBorder," transparent"),F.borderRadius=0);var k={padding:"".concat(B[t].paddingBlock,"px ").concat(B[t].paddingInline,"px")};c&&(F.height=typeof c=="number"?"".concat(c,"px"):c,F.overflow="hidden");var W={borderBottom:"".concat(f.lineWidth,"px ").concat(f.lineType," ").concat(d==="outlined"?f.colorBorder:"transparent")},U={top:B[t].paddingBlock,left:B[t].paddingInline,color:f.colorTextPlaceholder};return{root:o()(o()({},F),r==null?void 0:r.root),inner:o()(o()({},k),r==null?void 0:r.inner),background:f.colorBgContainer,toolbarStyles:W,placeholderStyles:U}},[d,P,r,u]);return{styles:O,onActived:M}}},85289:function(g,n,e){"use strict";e.r(n),e.d(n,{useInsertCss:function(){return l}});var h=e(89486),o=e.n(h),C=e(75271),p=e(81475),_={};function l(v,i){var c=(0,p.default)()||{},r=c.antConfig,s=(r==null?void 0:r.prefixCls)||"ant";(0,C.useEffect)(function(){if(!_[v]){_[v]=!0;var d=i(s)||[];(0,h.insertCss)(d.join(""))}},[])}},31248:function(g,n,e){"use strict";e.r(n);var h=e(75271),o=function(p){var _=(0,h.useRef)(!1),l=function(){if(!_.current){for(var i=arguments.length,c=new Array(i),r=0;r<i;r++)c[r]=arguments[r];p(c),_.current=!0}};return l};n.default=o},94127:function(g,n,e){"use strict";e.r(n);var h=e(75271),o=e(56973),C=function(){var _=(0,h.useContext)(o.PageContext);if(_===void 0)throw new Error("PageContext not found");return _};n.default=C},70896:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return u}});var h=e(26068),o=e.n(h),C=e(48305),p=e.n(C),_=e(67825),l=e.n(_),v=e(31759),i=e.n(v),c=e(13443),r=e(19842),s=e(75271),d=["value","type","defaultRows","keyField","onChangeRows","onChange"];function m(a,y){var P=a!=null?a:[],M=y!=null?y:[];return Array.isArray(P)||(P=[P]),JSON.stringify(P)!==JSON.stringify(M)}function t(a,y){return a===void 0?a:Array.isArray(a)?a.map(function(P){return i()(P)==="object"?P[y]:P}):i()(a)==="object"?a[y]:[a]}function u(a){var y=a||{},P=y.value,M=y.type,T=M===void 0?"checkbox":M,f=y.defaultRows,O=y.keyField,L=O===void 0?"key":O,b=y.onChangeRows,E=y.onChange,D=l()(y,d),x=(0,s.useState)({}),S=p()(x,2),I=S[1],A=(0,s.useRef)({selectedRowKeys:t(P,L),selectedRows:f,info:{type:"none"}}),B=T==="checkbox",F=(0,c.Z)(function(){var U=A.current,K=U.selectedRowKeys,j=K===void 0?[]:K,Z=U.selectedRows,N=Z===void 0?[]:Z;B?E==null||E(j,N):E==null||E(j[0],N[0]),b==null||b(N||[]),E||I({})});(0,s.useEffect)(function(){f&&!A.current.selectedRows&&(A.current.selectedRows=f,b&&b(f),I({}))},[f]),(0,r.Z)(function(){var U=t(P,L);if(m(U,A.current.selectedRowKeys)){var K,j=(K=A.current.selectedRows)===null||K===void 0?void 0:K.filter(function(){var Z,N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(Z=U||[])===null||Z===void 0?void 0:Z.includes(N[L])});A.current={selectedRowKeys:U===void 0&&B?[]:U,selectedRows:j,info:{type:"none"}},I({})}},[P]);var k=(0,c.Z)(function(U,K,j){A.current={selectedRowKeys:U,selectedRows:K,info:j},f&&f.length>0&&K.forEach(function(Z,N){if(!Z){var w=f.find(function(R){return R[L]===U[N]});w&&(K[N]=w)}}),F()}),W=(0,c.Z)(function(U){if(!U)A.current={selectedRowKeys:[],selectedRows:[],info:{type:"none"}};else{var K=A.current,j=K.selectedRowKeys,Z=j===void 0?[]:j,N=K.selectedRows,w=N===void 0?[]:N,R=w.filter(function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return J[L]!==U}),z=Z.filter(function(J){return J!==U});A.current={selectedRowKeys:z,selectedRows:R,info:{type:"none"}}}F()});return o()(o()(o()({},A.current),{},{onChange:k,onClear:W,type:T},D),{},{onClearByProTable:W})}},60136:function(g,n,e){"use strict";e.r(n);var h=e(75271),o=e(56973),C=function(){var _=(0,h.useContext)(o.TabsContext);if(_===void 0)throw new Error("TabsContext not found");return _};n.default=C},52892:function(g,n,e){"use strict";e.r(n);var h=e(75271),o=e(56973),C=function(){var _=(0,h.useContext)(o.DrawerAndModalContext);if(_===void 0)throw new Error("DrawerAndModalContext not found");return _};n.default=C},39203:function(g,n,e){"use strict";e.r(n),e.d(n,{CcsAjCaptcha:function(){return h.default},CcsAppConfig:function(){return v.default},CcsAtom:function(){return o.default},CcsAuth:function(){return C.default},CcsButton:function(){return p.default},CcsCascader:function(){return _.default},CcsColorPicker:function(){return l.default},CcsDatePicker:function(){return i.default},CcsDialog:function(){return c.default},CcsEditor:function(){return r.default},CcsForm:function(){return s.Z},CcsKeepAliveTabs:function(){return M.default},CcsPageLayout:function(){return P.default},CcsProTable:function(){return f.default},CcsProTabs:function(){return O.default},CcsResult:function(){return L.default},CcsSelect:function(){return b.default},CcsSinglePage:function(){return T.default},CcsStatusTag:function(){return E.default},CcsTable:function(){return D.Z},CcsTimePicker:function(){return x.default},CcsUpload:function(){return S.default},CcsWaterMark:function(){return I.default},useAppConfig:function(){return d.default},useCcsOnceEvent:function(){return m.default},useCcsPage:function(){return t.default},useCcsTabs:function(){return a.default},useCcsWindow:function(){return y.default},useTableSelection:function(){return u.default}});var h=e(12648),o=e(32097),C=e(1444),p=e(668),_=e(97681),l=e(35030),v=e(88686),i=e(86247),c=e(50712),r=e(81777),s=e(64276),d=e(81475),m=e(31248),t=e(94127),u=e(70896),a=e(60136),y=e(52892),P=e(60301),M=e(47797),T=e(88370),f=e(76098),O=e(32813),L=e(68296),b=e(18437),E=e(98708),D=e(73946),x=e(71973),S=e(80882),I=e(1130),A=e(16652);n.default=A},64637:function(g,n,e){"use strict";e.r(n)},60301:function(g,n,e){"use strict";e.r(n),e.d(n,{classAtomPrefix:function(){return p},default:function(){return l}});var h=e(47797),o=e(88370),C=e(52676),p="ccs-atom",_=function(){return(0,C.jsx)(C.Fragment,{})};_.Multi=h.default,_.Single=o.default;var l=_},47797:function(g,n,e){"use strict";e.r(n),e.d(n,{findMenusByUrl:function(){return j}});var h=e(82092),o=e.n(h),C=e(26068),p=e.n(C),_=e(90228),l=e.n(_),v=e(87999),i=e.n(v),c=e(15558),r=e.n(c),s=e(31759),d=e.n(s),m=e(335),t=e.n(m),u=e(34443),a=e(68144),y=e(37208),P=e(19842),M=e(13443),T=e(15574),f=e(18466),O=e(50068),L=e(82187),b=e.n(L),E=e(85899),D=e.n(E),x=e(75271),S=e(5791),I=e(81475),A=e(68296),B=e(85289),F=e(46619),k=e(52676),W=[{key:"1",label:"\u5173\u95ED\u5176\u4ED6\u6807\u7B7E"},{key:"2",label:"\u5173\u95ED\u6240\u6709\u6807\u7B7E"}],U=[];function K(N,w){if(Array.isArray(N)){var R=t()(N),z;try{for(R.s();!(z=R.n()).done;){var J=z.value,H=K(J,w);if(H)return H}}catch(q){R.e(q)}finally{R.f()}}else if(d()(N)==="object"&&N!==null){if(N.key===w&&(!N.children||N.children.length===0))return N;if(N.children&&N.children.length>0){var G=t()(N.children),te;try{for(G.s();!(te=G.n()).done;){var V=te.value,Y=K(V,w);if(Y)return Y}}catch(q){G.e(q)}finally{G.f()}}}return null}function j(N,w){var R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(Array.isArray(N)){var z=t()(N),J;try{for(z.s();!(J=z.n()).done;){var H=J.value,G=j(H,w,R);if(G)return G}}catch(X){z.e(X)}finally{z.f()}}else if(d()(N)==="object"&&N!==null){var te;if(N.url===w||(te=N.url)!==null&&te!==void 0&&te.includes("?")&&N.url.split("?")[0]===w)return[].concat(r()(R),[N]);if(N.children&&N.children.length>0){var V=[].concat(r()(R),[N]),Y=t()(N.children),q;try{for(Y.s();!(q=Y.n()).done;){var ne=q.value,ae=j(ne,w,V);if(ae)return ae}}catch(X){Y.e(X)}finally{Y.f()}}}return null}function Z(N){var w=N.maxLen,R=w===void 0?10:w,z=N.appName,J=N.history,H=N.menuItems,G=H===void 0?[]:H,te=N.className,V=(0,x.useRef)([]),Y=(0,S.useLocation)(),q=Y.pathname,ne=(0,S.useOutlet)(),ae=(0,y.Z)(),X=(0,I.default)(),re=X.theme,oe=re==="dark";(0,B.useInsertCss)("keep-alive",function(pe){return[".ccs-tabs-auto-height > .".concat(pe,`-tabs-content-holder,
29
+ .ccs-tabs-auto-height > .`).concat(pe,"-tabs-content-holder > .").concat(pe,`-tabs-content,
30
+ .ccs-tabs-auto-height > .`).concat(pe,"-tabs-content-holder > .").concat(pe,`-tabs-content > div,
31
+ .ccs-tabs-auto-height> .`).concat(pe,"-tabs-content-holder> .").concat(pe,"-tabs-content> div> .ccs-pl { height: 100%;}"),".ccs-keep-alive-nav .".concat(pe,"-tabs-tab {border: 0 !important;border-radius: 0 !important;}"),".ccs-keep-alive-nav .".concat(pe,"-tabs-tab-active {background-color: #f0f2f5 !important;}"),".ccs-keep-alive .dark .ccs-keep-alive-nav .".concat(pe,"-tabs-tab-active {background-color: #2b2c2c !important;} ")]}),V.current.length>=R&&(V.current=V.current.slice(1)),(0,P.Z)(function(){V.current.forEach(function(pe){var de,xe=K(G,pe.menuKey);pe.urlAuthList=(xe==null||(de=xe.btnAuth)===null||de===void 0?void 0:de.map(function(Ae){return Ae.code}))||[]}),ae()},[G]);var Q=(0,x.useMemo)(function(){var pe=j(G,q)||[],de=pe==null?void 0:pe.at(-1);setTimeout(function(){document.title="".concat((de==null?void 0:de.label)||(de==null?void 0:de.url)," - ").concat(z)},10);var xe=function(){var Se=i()(l()().mark(function Le(){var je;return l()().wrap(function($){for(;;)switch($.prev=$.next){case 0:if(U.length){$.next=7;break}return $.next=3,a.default.getStroage("_ROUTE_HISTORY");case 3:if($.t0=$.sent,$.t0){$.next=6;break}$.t0=[];case 6:U=$.t0;case 7:je=U.findIndex(function(ee){return ee.pathName===q}),je>-1&&U.splice(je,1),U.unshift({pathName:q,menuName:(de==null?void 0:de.label)||"",time:new Date}),a.default.setStroage("_ROUTE_HISTORY",U);case 11:case"end":return $.stop()}},Le)}));return function(){return Se.apply(this,arguments)}}();de&&xe();var Ae=pe.map(function(Se){return{key:Se.key,title:Se.label}});return Ae.unshift({key:"-1",title:"\u9996\u9875"}),p()(p()({},de),{},{breadcrumb:Ae})},[q]),ie=Y.key,se=V.current.findIndex(function(pe){return pe.pageLocation.pathname===q});if(se>-1){var le=V.current[se];le.pageLocation.search!==Y.search||a.default.jsonStringify(le.pageLocation.state)!==a.default.jsonStringify(Y.state)?V.current=D()(V.current,o()({},se,{key:{$set:Y.key},pageLocation:{$set:Y}})):ie=le.pageLocation.key}else{var _e=Q||{},me=_e.btnAuth,fe=me===void 0?[]:me,ge=_e.breadcrumb,Pe=ge===void 0?[]:ge,ye=Q.key!==void 0;V.current=D()(V.current,{$push:[{key:Y.key,label:(Q==null?void 0:Q.label)||"\u672A\u77E5",outlet:ye?ne:(0,k.jsx)(A.default.Page404,{}),urlAuthList:fe.map(function(pe){return pe.code}),breadcrumb:ye?Pe:[],pageLocation:Y,menuKey:(Q==null?void 0:Q.key)||""}]})}var Ee=(0,x.useCallback)(function(pe){var de=V.current.find(function(je){return je.key===pe});if(de){var xe=de.pageLocation,Ae=xe.pathname,Se=xe.state,Le=xe.search;J.push("".concat(Ae).concat(Le),Se)}},[]),Te=(0,M.Z)(function(pe){var de=V.current.findIndex(function(Ae){return Ae.key===pe}),xe=V.current[de];if(de>=0){if(V.current=D()(V.current,{$splice:[[de,1]]}),xe.key!==pe){ae();return}if(V.current.length===0){J.push("/");return}if(de===V.current.length){Ee(V.current[de-1].key);return}Ee(V.current[de].key)}}),Fe=(0,x.useCallback)(function(pe){pe==="1"?(V.current=V.current.filter(function(de){return de.key===q}),ae()):(V.current=[],J.push("/"))},[]),Ue=(0,k.jsx)(T.Z,{menu:{items:W,onClick:function(de){Fe(de.key)}},placement:"bottomRight",children:(0,k.jsx)(f.ZP,{icon:(0,k.jsx)(u.Z,{}),type:"text"})});return(0,k.jsxs)("div",{className:b()(te,"ccs-keep-alive"),children:[(0,k.jsx)(O.Z,{id:"keep-alive-tabs",hideAdd:!0,size:"small",onChange:Ee,className:b()("ccs-keep-alive-tabs",o()({},"dark",oe)),activeKey:ie,type:"editable-card",onEdit:function(de){return Te(de)},items:V.current,tabBarExtraContent:V.current.length>2?Ue:null,tabBarStyle:{margin:0},renderTabBar:function(de,xe){return(0,k.jsx)(xe,p()(p()({},de),{},{className:"ccs-keep-alive-nav"}))}}),V.current.map(function(pe){var de=pe.key,xe=pe.urlAuthList,Ae=pe.outlet,Se=pe.breadcrumb,Le=pe.pageLocation;return(0,k.jsx)(F.default,{active:Le.pathname===q,location:Le,onDestroy:Te,urlAuthList:xe,breadcrumb:Se,children:Ae},de)})]})}n.default=Z},46619:function(g,n,e){"use strict";e.r(n);var h=e(74973),o=e(82187),C=e.n(o),p=e(75271),_=e(56973),l=e(31939),v=e(52676);function i(c){var r=c.children,s=c.active,d=c.urlAuthList,m=c.onDestroy,t=c.breadcrumb,u=c.location,a="_tab_content_".concat(u.key),y=(0,p.useRef)(null);return(0,v.jsx)(_.PageContext.Provider,{value:{id:a,dialogHolderRef:y,isActive:s,location:u,onDestroy:m,onAuth:function(M){return d.includes(M)}},children:(0,v.jsx)("div",{id:a,style:{display:s?"block":"none"},className:"ccs-tab-item","data-display":s,children:(0,v.jsxs)("div",{className:C()("ccs-layout-page",{"page-avtive":s}),children:[(0,v.jsx)("div",{className:"page-top"}),(0,v.jsx)(h.Z,{items:t,className:"ccs-breadcrumb"}),r,(0,v.jsx)(l.DialogElementsHolder,{ref:y},"modal-drawer-holder"),(0,v.jsx)("div",{className:"page-bottom"})]})})})}n.default=(0,p.memo)(i,function(c,r){return c.active===r.active&&c.urlAuthList.join(",")===r.urlAuthList.join(",")})},88370:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return s}});var h=e(75271),o=e(5791),C=e(68296),p=e(47797),_=e(74973),l=e(56973),v=e(31939),i=e(52676),c=(0,h.memo)(function(d){var m=(0,h.useRef)(d.location),t=d.children,u=d.urlAuthList,a=u===void 0?[]:u,y=d.breadcrumb,P=y===void 0?[]:y,M=(0,h.useRef)(null);return(0,i.jsx)(l.PageContext.Provider,{value:{id:"",isActive:!0,dialogHolderRef:M,location:m.current,onDestroy:function(){console.error("\u5355\u9875\u6A21\u5F0F\u4E0D\u652F\u6301")},onAuth:function(f){return a.includes(f)}},children:(0,i.jsxs)("div",{className:"ccs-layout-page single-page",children:[(0,i.jsx)("div",{className:"page-top"}),(0,i.jsx)(_.Z,{items:P,className:"ccs-breadcrumb",style:d.breadcrumbStyle}),t,(0,i.jsx)(v.DialogElementsHolder,{ref:M},"modal-drawer-holder"),(0,i.jsx)("div",{className:"page-bottom"})]})})});function r(d){var m=d.appName,t=d.menuItems,u=t===void 0?[]:t,a=d.breadcrumbStyle,y=d.children,P=(0,o.useLocation)(),M=P.pathname,T=(0,o.useOutlet)(),f=(0,h.useMemo)(function(){var O,L=(0,p.findMenusByUrl)(u,M)||[],b=L==null?void 0:L.at(-1);if(b){setTimeout(function(){document.title="".concat((b==null?void 0:b.label)||(b==null?void 0:b.url)," - ").concat(m)},10);var E=L.map(function(D){return{key:D.key,title:D.label}});return E.unshift({key:"-1",title:"\u9996\u9875"}),{auth:((O=b.btnAuth)===null||O===void 0?void 0:O.map(function(D){return D.code}))||[],breadcrumb:E,menu:b}}},[M,u]);return(0,i.jsx)(i.Fragment,{children:f!=null&&f.auth?(0,i.jsx)(c,{location:P,urlAuthList:f.auth,breadcrumb:f.breadcrumb,breadcrumbStyle:a,children:(0,i.jsxs)(i.Fragment,{children:[T,y]})}):(0,i.jsx)(C.default.Page404,{style:{flex:"auto"},subTitle:"\u9875\u9762\u4E0D\u5B58\u5728"})})}var s=r},79579:function(g,n,e){"use strict";e.r(n)},3034:function(g,n,e){"use strict";e.r(n),e.d(n,{getAllChildrenId:function(){return _},getDataById:function(){return p},getShowDpends:function(){return v},isComponent:function(){return l},onTableInModalOrDrawer:function(){return o},onTableInTabItem:function(){return C}});var h=e(75271),o=function i(c,r){var s,d,m,t,u=c.parentNode;return u?(s=u.classList)!==null&&s!==void 0&&s.contains("ccs-drawer-content")||(d=u.classList)!==null&&d!==void 0&&d.contains("".concat(r,"-drawer-body"))?{getContainer:function(){return u},isInDialog:!0}:(m=u.classList)!==null&&m!==void 0&&m.contains("".concat(r,"-modal"))||(t=u.classList)!==null&&t!==void 0&&t.contains("".concat(r,"-drawer"))?{offsetHeader:0,isInDialog:!0}:i(u,r):!1},C=function i(c){var r,s=c.parentNode;return s?(r=s.classList)!==null&&r!==void 0&&r.contains("ccs-route-page")?{getContainer:function(){return c}}:i(s):!1},p=function i(c,r,s){if(Array.isArray(c))for(var d=0;d<c.length;d+=1){if(c[d][r]===s)return c[d];if(c[d].children){var m=i(c[d].children,r,s);if(m)return m}}},_=function i(c,r){return c.reduce(function(s,d){return s.push(d[r]),d.children&&Array.isArray(d.children)?s.concat(i(d.children,r)):s},[])},l=function(c,r){if(!h.isValidElement(c))return!1;var s=c==null?void 0:c.type;return typeof s=="string"?!1:(s==null?void 0:s.displayName)===r},v=function i(c,r,s){var d=r.showDepends;if(d){var m=c.filter(function(t){return d.some(function(u){return u&&u.name===t.name})})||[];return m.forEach(function(t){return t!=null&&t.showDepends?(t.showDepends.forEach(function(u){return s.push(u)}),i(c,t,s)):!1}),s}return s}},94238:function(g,n,e){"use strict";e.r(n);var h=e(26068),o=e.n(h),C=e(90228),p=e.n(C),_=e(87999),l=e.n(_),v=e(67825),i=e.n(v),c=e(11048),r=e(6052),s=e(57898),d=e(52676),m=["onChange"],t=r.default.Option,u=function(y){var P=y.onChange,M=i()(y,m),T=function(D){P&&P(D)};console.log("restProps",M);var f=(0,c.Z)(l()(p()().mark(function E(){var D;return p()().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return S.next=2,(0,s.queryParam1)();case 2:return D=S.sent,S.abrupt("return",D.data);case 4:case"end":return S.stop()}},E)}))),O=f.loading,L=f.data,b=L===void 0?[]:L;return(0,d.jsx)(r.default,o()(o()({},o()({allowClear:!0,placeholder:"\u8BF7\u9009\u62E9",style:{width:"100%"},onChange:T,loading:O},M)),{},{children:b.map(function(E){return(0,d.jsx)(t,{value:E.key,children:E.name},E.key)})}))};n.default=u},40011:function(g,n,e){"use strict";e.r(n);var h=e(26068),o=e.n(h),C=e(90228),p=e.n(C),_=e(87999),l=e.n(_),v=e(67825),i=e.n(v),c=e(11048),r=e(6052),s=e(75271),d=e(57898),m=e(52676),t=["changes","onChange"],u=r.default.Option,a=function(P){var M=P.changes,T=M===void 0?[]:M,f=P.onChange,O=i()(P,t),L=function(F){f&&f(F)},b=T[0],E=(0,c.Z)(function(){var B=l()(p()().mark(function F(k){var W;return p()().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return K.next=2,(0,d.queryParam2)(k);case 2:return W=K.sent,K.abrupt("return",W.data);case 4:case"end":return K.stop()}},F)}));return function(F){return B.apply(this,arguments)}}(),{manual:!0}),D=E.loading,x=E.data,S=x===void 0?[]:x,I=E.mutate,A=E.run;return(0,s.useEffect)(function(){S.length&&I([]),O.value&&f&&f(void 0),b&&A({param1:b})},[b]),(0,m.jsx)(r.default,o()(o()({},o()({allowClear:!0,placeholder:"\u8BF7\u9009\u62E9",style:{width:"100%"},onChange:L,loading:D,notFoundContent:b?"\u8BF7\u9009\u62E9":"\u8BF7\u9009\u62E9\u6761\u4EF61"},O)),{},{children:S.map(function(B){return(0,m.jsx)(u,{value:B.key,children:B.name},B.key)})}))};n.default=a},33765:function(g,n,e){"use strict";e.r(n);var h=e(26068),o=e.n(h),C=e(90228),p=e.n(C),_=e(87999),l=e.n(_),v=e(67825),i=e.n(v),c=e(11048),r=e(6052),s=e(75271),d=e(57898),m=e(52676),t=["changes","onChange"],u=r.default.Option,a=function(P){var M=P.changes,T=M===void 0?[]:M,f=P.onChange,O=i()(P,t),L=function(F){f&&f(F)},b=T[0],E=(0,c.Z)(function(){var B=l()(p()().mark(function F(k){var W;return p()().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return K.next=2,(0,d.queryParam3)(k);case 2:return W=K.sent,K.abrupt("return",W.data);case 4:case"end":return K.stop()}},F)}));return function(F){return B.apply(this,arguments)}}(),{manual:!0}),D=E.loading,x=E.data,S=x===void 0?[]:x,I=E.mutate,A=E.run;return(0,s.useEffect)(function(){S.length&&I([]),O.value&&f&&f(void 0),b&&A({param2:b})},[b]),(0,m.jsx)(r.default,o()(o()({},o()(o()({allowClear:!0,placeholder:"\u8BF7\u9009\u62E9",style:{width:"100%"},onChange:L,loading:D,notFoundContent:b?"\u8BF7\u9009\u62E9":"\u8BF7\u9009\u62E9\u6761\u4EF62"},O),{},{adad:{asdasda:1,abav:2}})),{},{children:S.map(function(B){return(0,m.jsx)(u,{value:B.key,children:B.name},B.key)})}))};n.default=a},57898:function(g,n,e){"use strict";e.r(n),e.d(n,{queryParam1:function(){return h},queryParam2:function(){return o},queryParam3:function(){return C}});var h=function(){return new Promise(function(_){setTimeout(function(){_({msg:"",success:!0,data:[{name:"\u91CD\u5E86",key:"1"},{name:"\u56DB\u5DDD",key:"2"},{name:"\u5317\u4EAC",key:"3"},{name:"\u4E0A\u6D77",key:"4"},{name:"\u5E7F\u5DDE",key:"5"}]})},1e3)})},o=function(_){return new Promise(function(l){console.log("param",_),setTimeout(function(){l({msg:"",success:!0,data:[{name:"\u533A\u53BF1",key:"1"},{name:"\u533A\u53BF2",key:"2"},{name:"\u533A\u53BF3",key:"3"},{name:"\u533A\u53BF4",key:"4"},{name:"\u533A\u53BF5",key:"5"}]})},1e3)})},C=function(_){return new Promise(function(l){console.log("param",_),setTimeout(function(){l({msg:"",success:!0,data:[{name:"\u57CE\u95471",key:"1"},{name:"\u57CE\u95472",key:"2"},{name:"\u57CE\u95473",key:"3"},{name:"\u57CE\u95474",key:"4"},{name:"\u57CE\u95475",key:"5"}]})},1e3)})}},3675:function(g,n,e){"use strict";e.r(n),e.d(n,{query:function(){return p},update:function(){return _}});var h={},o=[],C=function(v){for(var i=[],c=0;c<5;c+=1){var r="".concat(v,"-").concat(c);h[r]?i.push(h[r]):i.push({id:r,name:"\u540D\u79F0-".concat(r),parentId:v})}var s=o.filter(function(d){return d.parentId===v});return s&&s.forEach(function(d){var m="".concat(v,"-").concat(i.length);i.push({id:m,name:h[m]?h[m].name:d.name,parentId:v})}),i},p=function(v){return new Promise(function(i){setTimeout(function(){i({success:!0,data:C(v.parentId)})},1e3)})},_=function(v){return new Promise(function(i){v.id?h[v.id]=v:o.push(v),setTimeout(function(){i({msg:"",success:!0,data:""})},1e3)})}},96757:function(g,n,e){"use strict";e.r(n),e.d(n,{queryWorker:function(){return C}});var h=e(17888),o=e.n(h);function C(p){return console.log("\u8BF7\u6C42\u53C2\u6570\uFF1A",p),new Promise(function(_){setTimeout(function(){_({success:!0,msg:"",data:{pageNo:1,pageSize:10,hasNext:!1,totalNum:100,result:Array(p.pageSize).fill("").map(function(l,v){return{loginId:v,workerName:"workerName-".concat(v),loginCode:"-",orgName:"-",state:Math.round(Math.random()),mobile:"-",email:"-",sex:Math.round(Math.random()),birthday:o()().format("YYYY-MM-DD"),createTime:o()().format("YYYY-MM-DD HH:mm"),num:1}})}})},500)})}},61289:function(g,n,e){"use strict";e.r(n);var h=e(80729),o=e(19152),C=e(52676),p=h.Z.Item,_=function(){return(0,C.jsx)(C.Fragment,{children:(0,C.jsx)(p,{label:"\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u540D\u79F0"}],children:(0,C.jsx)(o.Z,{placeholder:"\u8BF7\u8F93\u5165"})})})};n.default=_},76098:function(g,n,e){"use strict";e.r(n);var h=e(26068),o=e.n(h),C=e(27783),p=e(18237),_=e(10495),l=e(29909),v=e(52676),i=function(s){return(0,v.jsx)(l.default,o()({},s))},c=function(s){return(0,v.jsx)(l.default,o()({},s))};i.Tree=c,i.SelectionAlert=p.default,i.Summary=_.default,n.default=i},18237:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return r}});var h=e(26068),o=e.n(h),C=e(38913),p=e(16929),_=e(8984),l=e(16254),v=e(18466),i=e(75271),c=e(52676);function r(s){var d=s.data,m=s.color,t=s.style,u=s.className,a=s.fieldNames,y=a===void 0?{key:"key",label:"label"}:a,P=s.onClear,M=p.Z.useToken(),T=M.token;if(!(!d||d.length===0)){var f="".concat(T.paddingSM,"px");return(0,c.jsxs)(_.Z,{size:4,wrap:!0,style:o()({padding:"0 ".concat(f," ").concat(f," ").concat(f)},t),className:u,children:[d.map(function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,c.jsx)(l.Z,{color:m,closable:!0,onClose:function(b){P(O[y.key]),b.preventDefault()},children:O[y.label||"name"]},O[y.key||"key"])}),d.length>1&&(0,c.jsx)(v.ZP,{size:"small",onClick:function(L){P(),L.preventDefault()},icon:(0,c.jsx)(C.Z,{}),danger:!0,type:"text",children:"\u6E05\u7A7A"})]})}}},10495:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return p}});var h=e(16708),o=e(52676),C=-1;function p(_){var l=_.data,v=l===void 0?{}:l,i=_.columns,c=_.hasRowSelection;C=-1;var r=function s(d){return d.map(function(m){return m.children&&m.children.length>0?s(m.children):(C+=1,(0,o.jsx)(h.Z.Summary.Cell,{index:0,children:v[m.dataIndex]},C))})};return c&&(C+=1),(0,o.jsx)(h.Z.Summary,{fixed:!0,children:(0,o.jsxs)(h.Z.Summary.Row,{children:[c&&(0,o.jsx)(h.Z.Summary.Cell,{index:C}),r(i)]})})}},29909:function(g,n,e){"use strict";e.r(n),e.d(n,{classPrefix:function(){return D}});var h=e(82092),o=e.n(h),C=e(31759),p=e.n(C),_=e(26068),l=e.n(_),v=e(48305),i=e.n(v),c=e(19842),r=e(16929),s=e(37426),d=e(12203),m=e(82187),t=e.n(m),u=e(75271),a=e(81475),y=e(32097),P=e(73799),M=e(24887),T=e(85289),f=e(73946),O=e(3034),L=e(27783),b=e(26707),E=e(52676),D="ccs-pl";function x(I){var A={filters:{},orderProps:[],columnOptions:[],columnShowKeys:[]};return I==null||I.forEach(function(B){B.dataIndex&&B.title&&A.columnOptions.push({label:B.title,value:B.dataIndex}),B.hidden!==!0&&A.columnShowKeys.push(B.dataIndex),B.sorter&&B.defaultSortOrder!==void 0&&A.orderProps.push({prop:B.dataIndex,ascending:B.defaultSortOrder==="ascend"}),B.filters&&B.defaultFilteredValue!==void 0&&(A.filters[B.dataIndex]=B.defaultFilteredValue)}),A}var S=function(A){var B,F,k=A.init,W=A.auth,U=A.table,K=A.styles,j=K===void 0?{}:K,Z=A.proRef,N=A.toolbar,w=A.children,R=A.className,z=A.expandForm,J=A.formItems,H=J===void 0?[]:J,G=A.leafNode,te=A.bordered,V=A.parentFieldName,Y=A.formInitValues,q=Y===void 0?{}:Y,ne=A.onEvent,ae=(0,u.useContext)(d.E_);(0,T.useInsertCss)("table",function(Oe){return[".ccs-pl .".concat(Oe,"-table-title {padding: 0 !important;} ")]});var X=U||{},re=X.requestParam,oe=re===void 0?{}:re,Q=X.columns,ie=X.rowKey,se=X.request,le=(0,u.useRef)(!1),_e=(0,u.useMemo)(function(){return x(Q)},[]),me=(0,u.useRef)(_e),fe=(0,u.useRef)(null),ge=(0,u.useRef)(null),Pe=(0,u.useRef)(),ye=(0,u.useRef)(null),Ee=(0,u.useRef)(null),Te=(0,u.useState)((U==null?void 0:U.size)||"middle"),Fe=i()(Te,2),Ue=Fe[0],pe=Fe[1],de=(0,a.default)(),xe=de.theme,Ae=r.Z.useToken(),Se=Ae.token,Le=(0,M.default)({auth:W,rowKey:ie,pagination:U==null?void 0:U.pagination,fieldNames:(B=A.table)===null||B===void 0?void 0:B.fieldNames,emptyDefaultOne:U==null?void 0:U.emptyDefaultOne,onFilterOrder:function(){return me.current},onEvent:ne,getFormValues:function(){var he;return(he=ye.current)===null||he===void 0?void 0:he.getFormValues()},request:se,onRequestCustom:V?function(){for(var Oe,he=arguments.length,Ce=new Array(he),Re=0;Re<he;Re++)Ce[Re]=arguments[Re];return(Oe=Ee.current)===null||Oe===void 0?void 0:Oe.onRequestTree.apply(Oe,Ce)}:void 0}),je=Le.isAuth,ke=Le.data,$=Le.onRequest,ee=Le.onChangeData,ce=function(he){var Ce,Re,Be=(0,O.getDataById)(ke.dataSource||[],ie,he);if(!Be){$(P.DataEvent.Search);return}var Ke=(0,O.getAllChildrenId)(Be.children||[],ie);(Ce=Ee.current)===null||Ce===void 0||Ce.onExpandKeys(Ke),(Re=Ee.current)===null||Re===void 0||Re.onRequestTree(P.DataEvent.PartialReload,{},Be)};(0,u.useEffect)(function(){var Oe=(0,O.onTableInModalOrDrawer)(fe.current,ae.getPrefixCls());if(Oe){le.current=Oe,U!=null&&U.size||pe("small");return}var he=(0,O.onTableInTabItem)(fe.current);if(he){le.current=he;return}},[]),(0,c.Z)(function(){pe((U==null?void 0:U.size)||"middle")},[U==null?void 0:U.size]),(0,u.useEffect)(function(){k!==!1&&se&&$(P.DataEvent.InitSearch)},[Object.keys(oe||{}).toString(),Object.values(oe||{}).toString()]);var ve=function(){var he,Ce;U==null||(he=U.rowSelection)===null||he===void 0||(Ce=he.onClearByProTable)===null||Ce===void 0||Ce.call(he),$(P.DataEvent.Search)},Me=function(){var he,Ce,Re;U==null||(he=U.rowSelection)===null||he===void 0||(Ce=he.onClearByProTable)===null||Ce===void 0||Ce.call(he),(Re=ye.current)===null||Re===void 0||Re.form.resetFields(),Q==null||Q.forEach(function(Be){(Be.filterDropdown||Be.filters)&&(Be.filteredValue=Be.defaultFilteredValue||[]),Be.sorter&&(Be.sortOrder=Be.defaultSortOrder)}),me.current=_e,$(P.DataEvent.Reset)},be=function(){var he,Ce;U==null||(he=U.rowSelection)===null||he===void 0||(Ce=he.onClearByProTable)===null||Ce===void 0||Ce.call(he),$(P.DataEvent.Reload,ke.current,ke.pageSize)};(0,u.useImperativeHandle)(Z,function(){var Oe;return{data:ke,getFormValues:(Oe=ye.current)===null||Oe===void 0?void 0:Oe.getFormValues,onSearch:ve,onReload:be,onPartialReload:function(Ce){ce(Ce)},onReset:Me,onChangeData:ee}});var We=function(he,Ce,Re){if(Ce&&(Q==null||Q.forEach(function(Ke){(Ke.filterDropdown||Ke.filters)&&(Ke.filteredValue=Ce[Ke.dataIndex])}),me.current=l()(l()({},me.current),{},{filters:Ce})),Re){Q==null||Q.forEach(function(Ke){if(Ke.sorter){if(Array.isArray(Re)){var Ge=Re.find(function($n){return $n.field===Ke.dataIndex});Ge&&(Ke.sortOrder=Ge==null?void 0:Ge.order);return}if(Re.field===Ke.dataIndex){Ke.sortOrder=Re.order;return}Ke.sortOrder=void 0}});var Be=[];Array.isArray(Re)?Re.forEach(function(Ke){Be.push({prop:Ke.field,ascending:Ke.order==="ascend"})}):Re.order&&Be.push({prop:Re.field,ascending:Re.order==="ascend"}),me.current=l()(l()({},me.current),{},{orderProps:Be})}$(P.DataEvent.ChangePage,he.current||0,he.pageSize||10)},ue=function(){if(!U)return null;if(!je)return(0,E.jsx)(s.Z,{style:{margin:0,padding:"32px 0",color:"red",background:"#fff"},image:s.Z.PRESENTED_IMAGE_DEFAULT,description:"\u6CA1\u6709\u6570\u636E\u8BF7\u6C42\u6743\u9650"});if(p()(le.current)==="object"&&"getContainer"in le.current){var he=le.current.getContainer(),Ce=window.getComputedStyle(he),Re=Ce.paddingTop;Re&&(le.current=l()(l()({},le.current),{},{offsetHeader:-parseInt(Re.replace("px",""))}))}return V?(0,E.jsx)(b.default,{data:ke,table:U,leafNode:G,treeRef:Ee,tableRef:Pe,tableContentRef:fe,tableRowSize:Ue,sticky:le.current||!0,parentFieldName:V,setData:ee,onEvent:ne}):(0,E.jsx)(f.Z,l()(l()({data:ke,tableRef:Pe,tableContentRef:fe,onChange:We,sticky:le.current||!0},U),{},{size:Ue,columns:Q,showSorterTooltip:!0,showNumber:A.showNumber,loading:U.loading||ke.loading||!1,onEvent:ne}))},De=(U==null||(F=U.scroll)===null||F===void 0?void 0:F.y)==="auto",Qe=(0,u.useMemo)(function(){var Oe=j.root||{},he=j.table||{};return he.overflow="unset",te&&(Oe.border="1px solid ".concat(Se.colorBorderSecondary),Oe.borderRadius=4),De&&(Oe.overflow="hidden",Oe.height="100%",he.overflow="hidden"),{root:Oe,table:he}},[]),He=function(){var he;if(De&&((he=fe.current)===null||he===void 0?void 0:he.clientHeight)!==0){var Ce;(Ce=Pe.current)===null||Ce===void 0||Ce.onFixedThead()}},Ve=(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(y.default.FullScreen,{parentHtmlId:"ccs-pro-table"}),(0,E.jsx)(y.default.Checkbox,{options:_e.columnOptions,defaultCheckedKeys:_e.columnShowKeys,placement:"bottomRight",onChange:function(he){var Ce,Re=_e.columnShowKeys.filter(function(Be){return!he.includes(Be)});(Ce=Pe.current)===null||Ce===void 0||Ce.onColumnFilter(Re)}})]}),qe=U!=null&&U.hideOperation?(0,E.jsx)(y.default.Operation,{extraLeft:N}):(0,E.jsx)(y.default.Operation,{extraLeft:N,extraRight:Ve,onChangeSize:function(he){return pe(he)},size:Ue,onReset:Me,columns:Q,tableRef:Pe,style:{marginLeft:N?0:8}});return(0,E.jsxs)(E.Fragment,{children:[De&&(0,E.jsx)(y.default.Resize,{targetRef:fe,onResize:He}),(0,E.jsxs)("div",{id:"ccs-pro-table",className:t()(D,R,o()({},"dark-table",xe==="dark")),style:Qe.root,ref:ge,children:[(0,E.jsx)(y.default.Title,{children:A.title}),(0,E.jsx)(y.default.Filter,{ref:ye,extra:N?void 0:qe,formItems:H,expandForm:z,formInitValues:q,formItemLabelWidth:A.formItemLabelWidth,onSearch:ve,requestParam:U==null?void 0:U.requestParam}),N&&qe,(0,E.jsxs)("div",{className:"".concat(D,"-table-content"),style:Qe.table,ref:fe,children:[ue(),w]})]})]})};n.default=S},26707:function(g,n,e){"use strict";e.r(n);var h=e(90228),o=e.n(h),C=e(15558),p=e.n(C),_=e(87999),l=e.n(_),v=e(26068),i=e.n(v),c=e(48305),r=e.n(c),s=e(68144),d=e(75271),m=e(73946),t=e(73799),u=e(81475),a=e(65173),y=e(52676),P=function(T){var f=T.data,O=T.table,L=T.sticky,b=T.treeRef,E=T.tableRef,D=T.leafNode,x=T.tableRowSize,S=T.tableContentRef,I=T.parentFieldName,A=T.setData,B=T.onEvent,F=(0,d.useState)([]),k=r()(F,2),W=k[0],U=k[1],K=O,j=K.rowKey,Z=K.expandable,N=K.columns,w=K.request,R=(Z==null?void 0:Z.childrenColumnName)||"children",z=(0,u.useBaseFields)(),J=i()(i()({},z),T.fieldNames),H=function(){var V=l()(o()().mark(function Y(q){var ne,ae,X,re,oe,Q=arguments;return o()().wrap(function(se){for(;;)switch(se.prev=se.next){case 0:if(ne=Q.length>1&&Q[1]!==void 0?Q[1]:{},ae=Q.length>2?Q[2]:void 0,X=ne,ae&&(X[I]=ae[j]),B==null||B(q,{loading:!0,params:X}),A(function(le){return i()(i()({},le),{},{loading:!0})}),se.t0=w,!se.t0){se.next=11;break}return se.next=10,w(X);case 10:se.t0=se.sent;case 11:re=se.t0,B==null||B(q,{loading:!0,params:X,data:re}),re?(oe=(0,a.getDataByNamePath)(re,J.data),D&&oe&&Array.isArray(oe)&&oe.forEach(function(le){if(typeof D=="string"&&!le[D]){le.children=[];return}typeof D=="function"&&!D(le)&&(le.children=[])}),ae?(ae[R]=oe,A(function(le){return i()(i()({},le),{},{dataSource:p()(le.dataSource||[]),loading:!1})})):(U([]),A({loading:!1,dataSource:oe}))):A(function(le){return i()(i()({},le),{},{loading:!1})});case 14:case"end":return se.stop()}},Y)}));return function(q){return V.apply(this,arguments)}}();(0,d.useImperativeHandle)(b,function(){return{onRequestTree:H,onExpandKeys:function(Y){U(W.filter(function(q){return!Y.includes(q)}))}}});var G=function(Y,q){if(!j||(j&&q[j])===void 0){s.default.showLogWarning("rowKey\u672A\u4F20\u5165\u6216\u4F20\u5165rowKey\u4E0D\u6B63\u786E");return}var ne=q[j];if(Y){var ae;if(W.push(ne),((ae=q[R])===null||ae===void 0?void 0:ae.length)>0)return;H(t.DataEvent.Expand,{},q)}else U(W.filter(function(X){return X!==ne}))},te=i()(i()({sticky:L},O),{},{onExpand:G,expandedRowKeys:W});return(0,y.jsx)(m.Z,i()(i()({data:f,tableRef:E,tableContentRef:S},te),{},{size:x,columns:N,showSorterTooltip:!0,loading:te.loading||f.loading||!1}))};n.default=P},98143:function(g,n,e){"use strict";e.r(n)},32813:function(g,n,e){"use strict";e.r(n);var h=e(48305),o=e.n(h),C=e(68144),p=e(19842),_=e(16929),l=e(85899),v=e.n(l),i=e(75271),c=e(56973),r=e(52676),s=function(m){var t=m.children,u=(t==null?void 0:t.props)||{},a=u.items,y=a===void 0?[]:a,P=u.activeKey,M=u.defaultActiveKey,T=u.onChange,f=(0,i.useState)("ccs-tabs-".concat(C.default.getUUID(5))),O=o()(f,1),L=O[0],b=(0,i.useState)(function(){return{activeKey:M||(y[0]||{}).key,items:y||[],options:{}}}),E=o()(b,2),D=E[0],x=E[1];(0,p.Z)(function(){x(v()(D,{items:{$set:y}}))},[y==null?void 0:y.map(function(W){return W.key}).join(",")]);var S=_.Z.useToken(),I=S.token,A={items:D.items,className:"ccs-tabs",id:L,tabBarStyle:{margin:0,paddingLeft:16,backgroundColor:I.colorBgContainer}};P||(A.activeKey=D.activeKey,A.onChange=function(W){x(v()(D,{activeKey:{$set:W}})),T&&T(W)});var B=function(U){var K=U.activeKey,j=U.enableKeys,Z=j===void 0?[]:j,N=U.disableKeys,w=N===void 0?[]:N,R=U.options,z={};if(K&&(z.activeKey={$set:K},T&&T(K)),Z.length||w.length){var J,H={};(J=D.items)===null||J===void 0||J.forEach(function(G,te){Z.includes(G.key)?H[te]={disabled:{$set:!1}}:w.includes(G.key)&&(H[te]={disabled:{$set:!0}})}),z.items=H}R&&(z.options={$set:R}),x(v()(D,z))},F=function(U){var K,j=U;typeof U=="string"&&(j=[U]);var Z=[];(K=D.items)===null||K===void 0||K.forEach(function(N,w){j.includes(N.key)&&Z.push([w,1])}),x(v()(D,{items:{$splice:Z}}))},k=function(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],K=arguments.length>1?arguments[1]:void 0,j=Array.isArray(U),Z={items:{$push:j?U:[U]}};K&&(Z.activeKey={$set:K||D.activeKey}),x(v()(D,Z))};return t?(0,r.jsx)(c.TabsContext.Provider,{value:{tabsId:L,activeKey:D.activeKey,options:D.options,onTabChange:B,onRemoveTabs:F,onAddTabs:k},children:(0,i.cloneElement)(t,A)}):(0,r.jsx)(r.Fragment,{})};n.default=s},68296:function(g,n,e){"use strict";e.r(n);var h=e(26068),o=e.n(h),C=e(28344),p=e(52676),_=function(t){return(0,p.jsx)(C.ZP,o()({},t))},l=function(t){return(0,p.jsx)(_,o()(o()({title:"\u64CD\u4F5C\u6210\u529F"},t),{},{status:"success"}))},v=function(t){return(0,p.jsx)(_,o()(o()({title:"\u64CD\u4F5C\u8BE6\u60C5"},t),{},{status:"info"}))},i=function(t){return(0,p.jsx)(_,o()(o()({title:"\u64CD\u4F5C\u63D0\u9192"},t),{},{status:"warning"}))},c=function(t){return(0,p.jsx)(_,o()(o()({title:"\u64CD\u4F5C\u5931\u8D25"},t),{},{status:"error"}))},r=function(t){return(0,p.jsx)(_,o()(o()({title:"403"},t),{},{status:"403"}))},s=function(t){return(0,p.jsx)(_,o()(o()({title:"404"},t),{},{status:"404"}))},d=function(t){return(0,p.jsx)(_,o()(o()({title:"500"},t),{},{status:"500"}))};_.Success=l,_.Info=v,_.Warning=i,_.Error=c,_.Page403=r,_.Page404=s,_.Page500=d,n.default=_},99696:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return a}});var h=e(26068),o=e.n(h),C=e(31759),p=e.n(C),_=e(48305),l=e.n(_),v=e(67825),i=e.n(v),c=e(79312),r=e(97022),s=e(6052),d=e(46960),m=e(75271),t=e(52676),u=["style","mode","modal","value","children","labelInValue","onChange"];function a(y){var P=y.style,M=y.mode,T=y.modal,f=y.value,O=y.children,L=y.labelInValue,b=y.onChange,E=i()(y,u),D=(0,m.useState)(!1),x=l()(D,2),S=x[0],I=x[1],A=function(){I(!0)},B=(0,m.useState)(void 0),F=l()(B,2),k=F[0],W=F[1],U=(0,m.useState)(!1),K=l()(U,2),j=K[0],Z=K[1],N=(0,m.useState)(f),w=l()(N,2),R=w[0],z=w[1],J=(0,m.useState)(void 0),H=l()(J,2),G=H[0],te=H[1],V=function(re){re==null||re.stopPropagation(),I(!1)},Y={value:R,mode:M,onClose:V,onLoading:Z,onChangeLabel:W,onChange:function(re,oe){z(L?oe:re)},onChangeOptions:te},q=function(){b==null||b(R),I(!1)},ne=function(){z(f),I(!1)},ae=function(){if(!(f===void 0||Array.isArray(f)&&f.length===0)){if(k)return k;if(Array.isArray(f))return f.map(function(oe){var Q;return p()(oe)==="object"?oe[((Q=E.fieldNames)===null||Q===void 0?void 0:Q.value)||"value"]:oe});if(p()(f)==="object"){var re;return f[((re=E.fieldNames)===null||re===void 0?void 0:re.value)||"value"]}return f}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.default,o()(o()({allowClear:!0,suffixIcon:j?(0,t.jsx)(c.Z,{}):(0,t.jsx)(r.Z,{}),open:!1,popupRender:function(){return(0,t.jsx)("div",{})},value:j?void 0:ae(),onClick:A,placeholder:"\u8BF7\u9009\u62E9"},E),{},{mode:k?void 0:M,style:P,options:G,onChange:function(re){z(re),b==null||b(re)}})),(0,t.jsx)(d.Z,o()(o()({open:S,onCancel:ne,styles:{body:{padding:0}},forceRender:!0,onOk:q},T),{},{children:O&&(typeof O=="function"?O(Y):m.cloneElement(O,Y))}))]})}},84799:function(g,n,e){"use strict";e.r(n)},10436:function(g,n,e){"use strict";e.r(n);var h=e(26068),o=e.n(h),C=e(90228),p=e.n(C),_=e(87999),l=e.n(_),v=e(67825),i=e.n(v),c=e(11048),r=e(75271),s=e(18437),d=e(52676),m=["request","cache","defaultParams"];function t(u){var a=u.request,y=u.cache,P=u.defaultParams,M=P===void 0?{}:P,T=i()(u,m),f=(0,c.Z)(function(){var D=l()(p()().mark(function x(S){return p()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:if(a){A.next=2;break}return A.abrupt("return",[]);case 2:return A.next=4,a(S);case 4:return A.abrupt("return",A.sent);case 5:case"end":return A.stop()}},x)}));return function(x){return D.apply(this,arguments)}}(),o()({manual:!0},y||{})),O=f.loading,L=f.data,b=L===void 0?[]:L,E=f.run;return(0,r.useEffect)(function(){a&&E(M)},[JSON.stringify(M)]),(0,d.jsx)(s.default,o()({options:b,loading:O},T))}n.default=t},49805:function(g,n,e){"use strict";e.r(n);var h=e(26068),o=e.n(h),C=e(31759),p=e.n(C),_=e(48305),l=e.n(_),v=e(67825),i=e.n(v),c=e(79312),r=e(97022),s=e(6052),d=e(75271),m=e(52676),t=["value","style","mode","children","contentWidth","labelInValue","onChange"];function u(a){var y=a.value,P=a.style,M=a.mode,T=a.children,f=a.contentWidth,O=a.labelInValue,L=a.onChange,b=i()(a,t),E=(0,d.useState)(!0),D=l()(E,2),x=D[0],S=D[1],I=(0,d.useRef)(null),A=(0,d.useState)(void 0),B=l()(A,2),F=B[0],k=B[1],W=(0,d.useState)(!1),U=l()(W,2),K=U[0],j=U[1],Z=(0,d.useState)(void 0),N=l()(Z,2),w=N[0],R=N[1],z=function(V){V==null||V.stopPropagation(),S(!1)},J={value:y,onClose:z,onChange:function(V,Y){L==null||L(O?Y:V),M||S(!1)},onLoading:j,onChangeLabel:k,mode:M,onChangeOptions:R},H=(0,d.useMemo)(function(){return(0,m.jsx)("div",{style:{display:"none"},ref:I,children:T&&(typeof T=="function"?T(J):d.cloneElement(T,J))})},[y]);(0,d.useEffect)(function(){S(!1)},[]),(0,d.useEffect)(function(){x&&I.current&&I.current.style.display==="none"&&(I.current.style.display="block")},[x]);var G=function(){if(!(y===void 0||Array.isArray(y)&&y.length===0)){if(F)return F;if(Array.isArray(y))return y.map(function(Y){var q;return p()(Y)==="object"?Y[((q=b.fieldNames)===null||q===void 0?void 0:q.value)||"value"]:Y});if(p()(y)==="object"){var V;return y[((V=b.fieldNames)===null||V===void 0?void 0:V.value)||"value"]}return y}};return(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(s.default,o()(o()({open:x,onOpenChange:S,allowClear:!0,defaultActiveFirstOption:!0,suffixIcon:K?(0,m.jsx)(c.Z,{}):(0,m.jsx)(r.Z,{}),placeholder:"\u8BF7\u9009\u62E9"},b),{},{popupMatchSelectWidth:f,popupRender:function(){return H},mode:F?void 0:M,value:K?void 0:G(),style:o()({},P),onChange:L,options:w}))})}n.default=u},61809:function(g,n,e){"use strict";e.r(n),e.d(n,{onRequest:function(){return h},onRequestDefault:function(){return o},onRequestList:function(){return p},onRequestPage:function(){return C}});function h(){return new Promise(function(_){setTimeout(function(){_({msg:"",success:!0,data:[{id:"1",name:"\u9009\u9879\u4E00"},{id:"2",name:"\u9009\u9879\u4E8C"},{id:"3",name:"\u9009\u9879\u4E09"}]})},1e3)})}function o(){return new Promise(function(_){setTimeout(function(){_([{value:"1",label:"\u9009\u9879\u4E00"},{value:"2",label:"\u9009\u9879\u4E8C"},{value:"3",label:"\u9009\u9879\u4E09"}])},1e3)})}function C(_){var l=_.pageNo;return new Promise(function(v){setTimeout(function(){v({data:{totalNum:20,result:Array(10).fill("").map(function(i,c){var r=(l-1)*10+c+1;return{id:r.toString(),name:"\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879".concat(r)}})}})},1e3)})}function p(_){return new Promise(function(l){setTimeout(function(){l({data:Array.isArray(_)?_.map(function(v){return{id:v,name:"\u9009\u9879".concat(v)}}):[{id:_,name:"\u9009\u9879".concat(_)}]})},1500)})}},18437:function(g,n,e){"use strict";e.r(n);var h=e(26068),o=e.n(h),C=e(15558),p=e.n(C),_=e(67825),l=e.n(_),v=e(6052),i=e(75271),c=e(73511),r=e.n(c),s=e(65173),d=e(99696),m=e(10436),t=e(49805),u=e(52676),a=["showAll","fieldNames","options"];function y(M){return Array.isArray(M)?M:[M]}function P(M){var T=M.showAll,f=M.fieldNames,O=M.options,L=O===void 0?[]:O,b=l()(M,a),E=p()(y((f==null?void 0:f.label)||["label"])),D=p()(y((f==null?void 0:f.value)||["value"])),x=function(A,B){var F="".concat(B==null?void 0:B.label).concat(B==null?void 0:B.value),k=r().convertToPinyin(F,"",!0).toLocaleUpperCase();return!!(F.includes(A)||k.includes(A.toLocaleUpperCase()))},S=(0,i.useMemo)(function(){for(var I=L||[];E.length>0||D.length>0;){if(Array.isArray(I)){I.forEach(function(B){B.label=(0,s.getDataByNamePath)(B,E),B.value=(0,s.getDataByNamePath)(B,D)});break}E.shift();var A=D.shift();A&&I!==void 0&&(I=I[A])}return T&&Array.isArray(I)&&I.length>0&&I.unshift(typeof T=="boolean"?{label:"\u5168\u90E8",value:""}:T),I},[L]);return(0,u.jsx)(v.default,o()({options:S,filterOption:x,placeholder:"\u8BF7\u9009\u62E9",allowClear:!0,showSearch:!0},b))}P.Api=m.default,P.Customize=t.default,P.Modal=d.default,n.default=P},98708:function(g,n,e){"use strict";e.r(n);var h=e(16254),o=e(60561),C=e(52676);function p(_){var l=_.value,v=_.options,i=v===void 0?[]:v;if(l===void 0||l==="")return l;var c=i.find(function(d){return d.value===l});if(!c)return l;var r=c.label,s=c.tag;return s&&s[0]==="tag"?(0,C.jsx)(h.Z,{color:s[1],children:r}):s&&s[0]==="badge"?(0,C.jsx)(o.Z,{status:s[1],text:r}):r}n.default=p},73946:function(g,n,e){"use strict";e.d(n,{Z:function(){return O}});var h=e(31759),o=e.n(h),C=e(26068),p=e.n(C),_=e(67825),l=e.n(_),v=e(37208),i=e(37401),c=e(16929),r=e(16708),s=e(12203),d=e(75271),m=e(2369),t=e(32097),u=e(73799),a=e(60136),y=e(52676),P=["onResize","width"],M=["data","style","scroll","rowKey","columns","tableRef","pagination","rowSelection","tableContentRef"],T=function(b){var E=b.onResize,D=b.width,x=l()(b,P);return!D||typeof D!="number"?(0,y.jsx)("th",p()({},x)):(0,y.jsx)(m.Resizable,{width:D,height:0,handle:(0,y.jsx)("span",{className:"react-resizable-handle",onClick:function(I){I.stopPropagation()}}),onResize:E,draggableOpts:{enableUserSelectHack:!1},children:(0,y.jsx)("th",p()({},x))})},f=function(b){var E=b.data,D=b.style,x=b.scroll,S=b.rowKey,I=b.columns,A=b.tableRef,B=b.pagination,F=b.rowSelection,k=b.tableContentRef,W=l()(b,M),U=(0,v.Z)(),K=E||{},j=K.dataSource,Z=j===void 0?[]:j,N=K.pageSize,w=N===void 0?10:N,R=K.current,z=R===void 0?1:R,J=K.total,H=J===void 0?0:J,G=(0,a.default)(),te=(0,d.useContext)(s.E_),V=(0,i.Z)(function(){var Q;if((x==null?void 0:x.y)==="auto"){var ie=k==null?void 0:k.current;if(G!=null&&G.tabsId){var se=document.getElementById(G==null?void 0:G.tabsId);se&&se.classList.add("ccs-tabs-auto-height")}if(ie){var le=(Q=k.current)===null||Q===void 0?void 0:Q.clientHeight,_e=te.getPrefixCls(),me=ie.getElementsByClassName("".concat(_e,"-table"))[0],fe=[],ge=void 0;me.childNodes.forEach(function(Ee){Ee.classList.contains("".concat(_e,"-table-container"))?Ee.childNodes.forEach(function(Te){Te.classList.contains("".concat(_e,"-table-body"))?ge=Te:fe.push(Te.clientHeight||0)}):fe.push(Ee.clientHeight||0)});var Pe=ie.getElementsByClassName("".concat(_e,"-pagination"));if(Pe&&Pe.length>0&&fe.push(Pe[0].clientHeight),ge){var ye=le-fe.reduce(function(Ee,Te){return Ee+Te},0);ge.style.height="".concat(ye,"px")}}}},{wait:500,leading:!0}),Y=V.run;(0,d.useEffect)(function(){Y()},[H]),(0,d.useImperativeHandle)(A,function(){return{onColumnFilter:function(ie){var se;I==null||I.forEach(function(le){le.hidden=ie.includes(le.dataIndex)}),(se=b.onEvent)===null||se===void 0||se.call(b,u.DataEvent.ColumnFilter,ie),U()},onFixedThead:Y}});var q=function(ie){return function(se,le){var _e=le.size,me=I==null?void 0:I.find(function(fe){return fe.dataIndex===ie});me.width=_e.width,U()}},ne=function(){var ie=I==null?void 0:I.filter(function(se){return!se.hidden});return ie==null||ie.forEach(function(se){if(se.ellipsis&&typeof se.ellipsis!="boolean"&&!se.render){var le={};typeof se.ellipsis=="number"&&(le={rows:se.ellipsis}),o()(se.ellipsis)==="object"&&(le=se.ellipsis),se.ellipsis=!1,se.render=function(_e){return(0,y.jsx)(t.default.Ellipsis,p()({content:_e,showTooltip:!0},le))}}se.width!==void 0&&(se.onHeaderCell=function(_e){return{width:_e.width,onResize:q(se.dataIndex)}})}),W.showNumber&&(ie==null||ie.unshift({title:"\u5E8F\u53F7",ellipsis:!0,width:60,render:function(le,_e,me){return me+1+((z||1)-1)*(w||10)}})),ie},ae=c.Z.useToken(),X=ae.token,re=function(ie,se){return se||0},oe=ne();return(0,y.jsx)("div",{className:"ccs-table-card",style:p()(p()({},D),{},{background:X.colorBgContainer}),children:(0,y.jsx)(r.Z,p()(p()({rowKey:S||re,dataSource:Z,sortDirections:["ascend","descend"],pagination:B===!1?!1:p()({total:H,pageSize:w,current:z,showSizeChanger:!0,showQuickJumper:!0,showTotal:function(){return"\u5171".concat(H,"\u6761\u8BB0\u5F55")},pageSizeOptions:["10","20","30","50","100"],size:W.size==="small"?"small":"default",simple:W.size==="small",className:"ccs-table-pagination",style:{borderTop:"1px solid ".concat(X.colorBorderSecondary)}},B),rowSelection:F?p()(p()({},F),{},{columnWidth:60}):void 0,columns:oe,components:{header:{cell:T}}},W),{},{size:W.size||"middle",scroll:x,summary:W!=null&&W.summary?function(Q){var ie;return(ie=W.summary)===null||ie===void 0?void 0:ie.call(W,Q,oe||[])}:void 0}))})},O=f},35119:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return m}});var h=e(25298),o=e.n(h),C=e(17069),p=e.n(C),_=e(82092),l=e.n(_),v=e(8890),i=e(46960),c=e(15771),r=e(86763),s=e.n(r),d,m=function(){function t(){o()(this,t)}return p()(t,null,[{key:"setConfig",value:function(a,y,P){this.message=a,this.notice=y,this.modal=P}},{key:"easyMessage",value:function(a,y,P){var M,T=(M=this.message)!==null&&M!==void 0?M:v.ZP;a!=null&&a.success?T.success(y||"\u64CD\u4F5C\u6210\u529F"):T.error(P||(a==null?void 0:a.msg)||"\u64CD\u4F5C\u5931\u8D25")}},{key:"confirm",value:function(){var a=this,y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return new Promise(function(P){var M,T=(M=a.modal)!==null&&M!==void 0?M:i.Z;T.confirm({title:"\u64CD\u4F5C\u786E\u8BA4",content:y,okText:"\u786E\u5B9A",okType:"danger",cancelText:"\u53D6\u6D88",centered:!0,onOk:function(){P(!0)},onCancel:function(){P(!1)}})})}}]),t}();d=m,l()(m,"message",v.ZP),l()(m,"notice",c.ZP),l()(m,"modal",i.Z),l()(m,"easyConfirm",s()(d.confirm,500,{leading:!0,trailing:!1}))},71973:function(g,n,e){"use strict";e.r(n);var h=e(26068),o=e.n(h),C=e(67825),p=e.n(C),_=e(38443),l=e(17888),v=e.n(l),i=e(80998),c=e.n(i),r=e(52676),s=["value","onChange"],d=["value","onChange"];v().extend(c());function m(u){var a=u.value,y=u.onChange,P=p()(u,s),M=function(O,L){y&&y(L)},T=typeof a=="string"?v()(a,"HH:mm:ss"):a;return(0,r.jsx)(_.Z,o()({value:T,onChange:M},P))}function t(u){var a=u.value,y=u.onChange,P=p()(u,d),M=function(){return Array.isArray(a)?[v()(a[0],"HH:mm:ss"),v()(a[1],"HH:mm:ss")]:null},T=function(O,L){y&&y(L)};return(0,r.jsx)(_.Z.RangePicker,o()({value:M(),onChange:T},P))}m.RangePicker=t,n.default=m},65683:function(g,n,e){"use strict";e.r(n)},80882:function(g,n,e){"use strict";e.r(n),e.d(n,{uploadDefaultFlies:function(){return O}});var h=e(26068),o=e.n(h),C=e(90228),p=e.n(C),_=e(87999),l=e.n(_),v=e(48305),i=e.n(v),c=e(67825),r=e.n(c),s=e(31759),d=e.n(s),m=e(98868),t=e(8890),u=e(62477),a=e(18466),y=e(75271),P=e(50712),M=e(9472),T=e(52676),f=["value","uploadText","maxCount","maxFileSize","fileDownloadUrl","uploadRequest","onChange"];function O(b,E){return Array.isArray(b)?b.map(function(D){if(typeof D=="string")return{uid:D,name:D,url:"".concat(E).concat(D),fileId:D};if(d()(D)==="object")return{uid:D.fileId,name:D.name,url:"".concat(E).concat(D.fileId),fileId:D.fileId}}).filter(function(D){return D}):typeof b=="string"?[{uid:b,name:b,url:"".concat(E).concat(b),fileId:b}]:[]}function L(b){var E=b.value,D=b.uploadText,x=b.maxCount,S=x===void 0?1:x,I=b.maxFileSize,A=I===void 0?10:I,B=b.fileDownloadUrl,F=B===void 0?"":B,k=b.uploadRequest,W=b.onChange,U=r()(b,f),K=(0,y.useState)(function(){return O(E,F)}),j=i()(K,2),Z=j[0],N=j[1],w=function(H){var G=H.fileList;if(N(G),!!W&&!G.find(function(Y){return Y.status==="uploading"}))if(S===1){var te,V;W(((te=G[0])===null||te===void 0||(te=te.response)===null||te===void 0?void 0:te.data)||((V=G[0])===null||V===void 0?void 0:V.fileId))}else W(G.map(function(Y){var q;return((q=Y.response)===null||q===void 0?void 0:q.data)||Y.fileId}).filter(function(Y){return Y!==void 0}))},R=function(H){var G=H.size/1024/1024<A;return G||t.ZP.error("\u6587\u4EF6\u4E0D\u80FD\u5927\u4E8E".concat(A,"MB!")),G},z=function(){var J=l()(p()().mark(function H(G){var te,V,Y,q;return p()().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:return te=G.file,V=G.onSuccess,Y=G.onError,ae.next=3,k(te);case 3:q=ae.sent,q.success&&V&&V(q),!q.success&&Y&&(P.default.message.error(q.msg||"\u4E0A\u4F20\u5931\u8D25"),Y({status:500,name:"\u51FA\u9519\u4E86",message:q.msg||"\u4E0A\u4F20\u5931\u8D25"}));case 6:case"end":return ae.stop()}},H)}));return function(G){return J.apply(this,arguments)}}();return(0,T.jsx)(u.Z,o()(o()({customRequest:z,name:"fileName",onChange:w,beforeUpload:R,fileList:Z,maxCount:S},U),{},{children:(0,T.jsx)(a.ZP,{icon:(0,T.jsx)(m.Z,{}),disabled:Z.length>=S,children:D})}))}L.Image=M.ImageUpload,n.default=L},9472:function(g,n,e){"use strict";e.r(n),e.d(n,{ImageUpload:function(){return f}});var h=e(26068),o=e.n(h),C=e(90228),p=e.n(C),_=e(87999),l=e.n(_),v=e(48305),i=e.n(v),c=e(67825),r=e.n(c),s=e(17114),d=e(8890),m=e(62477),t=e(89020),u=e(75271),a=e(50712),y=e(80882),P=e(52676),M=["uploadText","maxCount","maxFileSize","crop","value","fileDownloadUrl","uploadRequest","onChange","onImageInfo","accept"],T=function(L){return new Promise(function(b,E){var D=new FileReader;D.readAsDataURL(L),D.onload=function(){return b(D.result)},D.onerror=function(x){return E(x)}})};function f(O){var L=O.uploadText,b=L===void 0?"\u4E0A\u4F20":L,E=O.maxCount,D=E===void 0?1:E,x=O.maxFileSize,S=x===void 0?10:x,I=O.crop,A=O.value,B=O.fileDownloadUrl,F=B===void 0?"":B,k=O.uploadRequest,W=O.onChange,U=O.onImageInfo,K=O.accept,j=K===void 0?"image/*":K,Z=r()(O,M),N=(0,u.useState)(function(){return(0,y.uploadDefaultFlies)(A,F)}),w=i()(N,2),R=w[0],z=w[1],J=a.default.useDialog(),H=J.openModal,G=function(ae){var X=ae.fileList;if(X.forEach(function(oe){!oe.fileId&&oe.response&&(oe.fileId=oe.response.data)}),z(X),!!W&&!X.find(function(oe){return oe.status==="uploading"}))if(D===1){var re;W((re=X[0])===null||re===void 0?void 0:re.fileId)}else W(X.filter(function(oe){return!!oe.fileId}).map(function(oe){return oe.fileId}))},te=function(ae){var X=ae.size/1024/1024<S,re=ae.type==="image/jpeg"||ae.type==="image/png";return re?(X||d.ZP.error("\u56FE\u7247\u4E0D\u80FD\u5927\u4E8E".concat(S,"MB!")),X):(d.ZP.error("\u8BF7\u9009\u62E9\u56FE\u7247\uFF01"),m.Z.LIST_IGNORE)},V=function(){var ne=l()(p()().mark(function ae(X){return p()().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:if(X.preview){oe.next=8;break}if(!X.originFileObj){oe.next=7;break}return oe.next=4,T(X.originFileObj);case 4:X.preview=oe.sent,oe.next=8;break;case 7:X.preview="".concat(F).concat(X.fileId);case 8:H({title:X.name||X.url.substring(X.url.lastIndexOf("/")+1),content:(0,P.jsx)("img",{alt:X.name,style:{width:"100%"},src:X.preview}),footer:null});case 9:case"end":return oe.stop()}},ae)}));return function(X){return ne.apply(this,arguments)}}(),Y=function(){var ne=l()(p()().mark(function ae(X){var re,oe,Q,ie,se,le,_e,me;return p()().wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return re=X.file,oe=X.onSuccess,Q=X.onError,ge.next=3,k(re);case 3:if(ie=ge.sent,!(ie.success&&oe)){ge.next=11;break}return oe(ie),ge.next=8,T(re);case 8:se=ge.sent,le=re,_e=le.name,me=le.type,U==null||U({base64:se,name:_e,type:me,url:ie.data});case 11:!ie.success&&Q&&(a.default.message.error(ie.msg||"\u4E0A\u4F20\u5931\u8D25"),Q({status:500,name:"\u51FA\u9519\u4E86",message:ie.msg||"\u4E0A\u4F20\u5931\u8D25"}));case 12:case"end":return ge.stop()}},ae)}));return function(X){return ne.apply(this,arguments)}}(),q=(0,P.jsx)(m.Z,o()(o()({customRequest:Y,name:"fileName",onChange:G,beforeUpload:te,fileList:R,maxCount:D,listType:"picture-card",onPreview:V,accept:j},Z),{},{children:R.length<D&&(0,P.jsxs)("div",{children:[(0,P.jsx)(s.Z,{}),(0,P.jsx)("div",{style:{marginTop:8},children:b})]})}));return(0,P.jsx)(P.Fragment,{children:I?(0,P.jsx)(t.default,{minZoom:.5,rotationSlider:!0,children:q}):q})}},65173:function(g,n,e){"use strict";e.r(n),e.d(n,{extractBirthday:function(){return s},extractGender:function(){return d},getDataByNamePath:function(){return t},isUrl:function(){return m},isValidCard:function(){return r}});var h=e(31759),o=e.n(h),C=e(15558),p=e.n(C),_=/^[1-9]\d{5}(19|20)\d{2}(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])\d{3}[\dXx]$/,l=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2],v=["1","0","X","9","8","7","6","5","4","3","2"];function i(u){return _.test(u)}function c(u){for(var a=u.toUpperCase(),y=0,P=0;P<17;P++)y+=parseInt(a[P],10)*l[P];var M=y%11,T=v[M];return a[17]===T}function r(u){return u.length!==18||!i(u)?!1:c(u)}function s(u){if(!r(u))return null;var a=u.substring(6,10),y=u.substring(10,12),P=u.substring(12,14);return"".concat(a,"-").concat(y,"-").concat(P)}function d(u){if(!r(u))return null;var a=parseInt(u.substring(16,17),10);return a%2===1?1:0}function m(u){return/^https?:\/\/.+/.test(u)}function t(u,a){if(!(!u||!a)){if(typeof a=="string")return u[a];var y=p()(a),P=y.shift(),M=u[P];return o()(M)==="object"&&y.length>0?t(M,y):M}}},91721:function(g,n,e){"use strict";e.r(n)},1130:function(g,n,e){"use strict";e.r(n);var h=e(26068),o=e.n(h),C=e(48305),p=e.n(C),_=e(96586),l=e(82187),v=e.n(l),i=e(75271),c=e(73801),r=e(52676),s=function(t){if(!t)return 1;var u=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/u},d=function(t){var u=t.children,a=t.style,y=t.className,P=t.markStyle,M=t.markClassName,T=t.zIndex,f=T===void 0?9:T,O=t.gapX,L=O===void 0?212:O,b=t.gapY,E=b===void 0?222:b,D=t.width,x=D===void 0?120:D,S=t.height,I=S===void 0?64:S,A=t.rotate,B=A===void 0?-22:A,F=t.image,k=t.content,W=t.offsetLeft,U=t.offsetTop,K=t.fontStyle,j=K===void 0?"normal":K,Z=t.fontWeight,N=Z===void 0?"normal":Z,w=t.fontColor,R=w===void 0?"rgba(0,0,0,.15)":w,z=t.fontSize,J=z===void 0?16:z,H=t.fontFamily,G=H===void 0?"sans-serif":H,te=t.prefixCls,V=(0,i.useContext)(_.default.ConfigContext),Y=V.getPrefixCls,q=Y("pro-layout-watermark",te),ne=v()("".concat(q,"-wrapper"),y),ae=v()(q,M),X=(0,i.useState)(""),re=p()(X,2),oe=re[0],Q=re[1];return(0,i.useEffect)(function(){var ie=document.createElement("canvas"),se=ie.getContext("2d"),le=s(se),_e="".concat((L+x)*le,"px"),me="".concat((E+I)*le,"px"),fe=W||L/2,ge=U||E/2;if(ie.setAttribute("width",_e),ie.setAttribute("height",me),se){se.translate(fe*le,ge*le),se.rotate(Math.PI/180*Number(B));var Pe=x*le,ye=I*le;if(F){var Ee=new Image;Ee.crossOrigin="anonymous",Ee.referrerPolicy="no-referrer",Ee.src=F,Ee.onload=function(){se.drawImage(Ee,0,0,Pe,ye),Q(ie.toDataURL())}}else if(k){var Te=Number(J)*le;se.font="".concat(j," normal ").concat(N," ").concat(Te,"px/").concat(ye,"px ").concat(G),se.fillStyle=R,se.fillText(k,0,0),Q(ie.toDataURL())}}else console.error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas")},[L,E,W,U,B,j,N,x,I,G,R,F,k,J]),(0,r.jsxs)("div",{style:o()({position:"relative"},a),className:ne,children:[u,oe&&(0,r.jsx)("div",{className:ae,style:o()({zIndex:f,position:"absolute",left:0,top:0,width:"100%",height:"100%",backgroundSize:"".concat(L+x,"px"),pointerEvents:"none",backgroundRepeat:"repeat",backgroundImage:"url('".concat(oe,"')")},P)})]})};d.Relative=c.default,n.default=d},73801:function(g,n,e){"use strict";e.r(n);var h=e(26068),o=e.n(h),C=e(48305),p=e.n(C),_=e(96586),l=e(82187),v=e.n(l),i=e(75271),c=e(52676),r=function(m){if(!m)return 1;var t=m.backingStorePixelRatio||m.webkitBackingStorePixelRatio||m.mozBackingStorePixelRatio||m.msBackingStorePixelRatio||m.oBackingStorePixelRatio||m.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t},s=function(m){var t=m.markStyle,u=m.markClassName,a=m.zIndex,y=a===void 0?9:a,P=m.gapX,M=P===void 0?212:P,T=m.gapY,f=T===void 0?222:T,O=m.width,L=O===void 0?120:O,b=m.height,E=b===void 0?64:b,D=m.rotate,x=D===void 0?-22:D,S=m.image,I=m.content,A=m.offsetLeft,B=m.offsetTop,F=m.fontStyle,k=F===void 0?"normal":F,W=m.fontWeight,U=W===void 0?"normal":W,K=m.fontColor,j=K===void 0?"rgba(0,0,0,.15)":K,Z=m.fontSize,N=Z===void 0?16:Z,w=m.fontFamily,R=w===void 0?"sans-serif":w,z=m.prefixCls,J=(0,i.useContext)(_.default.ConfigContext),H=J.getPrefixCls,G=H("pro-layout-watermark",z),te=v()(G,u),V=(0,i.useState)(""),Y=p()(V,2),q=Y[0],ne=Y[1];return(0,i.useEffect)(function(){var ae=document.createElement("canvas"),X=ae.getContext("2d"),re=r(X),oe="".concat((M+L)*re,"px"),Q="".concat((f+E)*re,"px"),ie=A||M/2,se=B||f/2;if(ae.setAttribute("width",oe),ae.setAttribute("height",Q),X){X.translate(ie*re,se*re),X.rotate(Math.PI/180*Number(x));var le=L*re,_e=E*re;if(S){var me=new Image;me.crossOrigin="anonymous",me.referrerPolicy="no-referrer",me.src=S,me.onload=function(){X.drawImage(me,0,0,le,_e),ne(ae.toDataURL())}}else if(I){var fe=Number(N)*re;X.font="".concat(k," normal ").concat(U," ").concat(fe,"px/").concat(_e,"px ").concat(R),X.fillStyle=j,X.fillText(I,0,0),ne(ae.toDataURL())}}else console.error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas")},[M,f,A,B,x,k,U,L,E,R,j,S,I,N]),(0,c.jsx)(c.Fragment,{children:q&&(0,c.jsx)("div",{className:te,style:o()({zIndex:y,position:"fixed",left:0,top:0,width:"100%",height:"100%",backgroundSize:"".concat(M+L,"px"),pointerEvents:"none",backgroundRepeat:"repeat",backgroundImage:"url('".concat(q,"')")},t)})})};n.default=s},68144:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return ke}});var h={};e.r(h),e.d(h,{aesDecrypt:function(){return Pe},aesEncrypt:function(){return ge},antPath:function(){return Ee},base64ToJson:function(){return re},copy:function(){return _e},dayjs:function(){return Y},dayjsFmt:function(){return ie},findNodesByDFS:function(){return Ae},getArrayIds:function(){return Z},getByJsonPath:function(){return Se},getNodeForge:function(){return Le},getStroage:function(){return R},getTimeId:function(){return j},getUUID:function(){return Fe},isBrowser:function(){return V},isDev:function(){return N},isEmpty:function(){return q},isFunction:function(){return w},isMobile:function(){return U},isNil:function(){return le},isNode:function(){return te},isNotEmpty:function(){return ne},jsonParse:function(){return oe},jsonStringify:function(){return X},jsonToBase64:function(){return ae},mergeProp:function(){return pe},mergeProps:function(){return Ue},objIsEmpty:function(){return se},onArraySum:function(){return K},onFormartFileSize:function(){return W},onLoopData:function(){return xe},onPopoverPosition:function(){return de},onRelativeTime:function(){return F},onTextEllipsis:function(){return k},onTreeFlat:function(){return Te},removeStroage:function(){return J},rsaDecrypt:function(){return fe},rsaEncrypt:function(){return me},rsaEncryptForge:function(){return je},setStroage:function(){return z},sha256Encrypt:function(){return ye},showLogWarning:function(){return H},showWarning:function(){return G},stringToHex:function(){return Q}});var o=e(31759),C=e.n(o),p=e(44651),_=e.n(p),l=e(874),v=e.n(l),i=e(25778),c=e.n(i),r=e(17888),s=e.n(r),d=e(56e3),m=e.n(d),t=e(39396),u=e.n(t),a=e(87),y=e.n(a),P=e(58667),M=e(27859),T=e(21764),f=e(95170),O=e.n(f),L=e(4293),b=e.n(L),E=e(52041),D=e.n(E),x=e(52408),S=e(92054),I=e.n(S),A=e(15588),B=e(14224);s().locale(m()),s().extend(y()),s().extend(u());function F($){return $?s()($).calendar(null,{sameDay:"H:mm",nextDay:"M\u6708D\u65E5 H:mm",nextWeek:"M\u6708D\u65E5 H:mm",lastDay:"[\u6628\u5929] H:mm",lastWeek:"dddd H:mm",sameElse:"M\u6708D\u65E5 H:mm"}):""}F.description="\u663E\u793A\u76F8\u5BF9\u65F6\u95F4";function k($,ee){return!$||$.length<ee?$:"".concat($.substring(0,ee-10),"...").concat($.substring($.length-10))}k.description="\u6587\u5B57\u4E2D\u90E8\u7701\u7565";function W($){if($<500)return"".concat($,"Byte");if($<1024)return"".concat(($/1024).toFixed(1),"KB");var ee=Math.floor($/1024);return ee<1024?"".concat(ee,"KB"):(ee=$/1024/1024,"".concat(ee.toFixed(2),"MB"))}W.description="\u6587\u4EF6\u5927\u5C0F\u683C\u5F0F\u5316";function U(){var $=navigator.userAgent,ee=["Mobile","Android","iPhone","iPad","Windows Phone"];return ee.some(function(ce){return $.includes(ce)})}U.description="\u79FB\u52A8\u7AEF\uFF1F";function K($,ee){return $.reduce(function(ce,ve){return D()(ce)&&D()(ve)&&ee?ce[ee]+ve[ee]:ce+ve},0)}K.description="\u6C42\u548C";var j=function(){return new Date().getTime()};j.description="\u83B7\u53D6\u5F53\u524D\u65F6\u95F4\u6233";var Z=function(ee){return Array.from({length:ee},function(ce,ve){return ve})};Z.description="\u751F\u6210\u6570\u7EC4";function N(){return!1}N.description="\u5F00\u53D1\u73AF\u5883\uFF1F";function w($){return typeof $=="function"}w.description="\u662F\u51FD\u6570\uFF1F";function R($){return O().getItem($)}R.description="\u83B7\u53D6stroage";function z($,ee){O().setItem($,ee)}z.description="\u8BBE\u7F6Estroage";function J($){return O().removeItem($)}J.description="\u5220\u9664stroage";function H($){}H.description="\u5F00\u53D1\u73AF\u5883\u629B\u51FA\u5F02\u5E38\u4FE1\u606F";function G($,ee){(0,A.ZP)($,ee)}G.description="\u5F00\u53D1\u73AF\u5883\u629B\u8B66\u544A";function te(){return typeof B!="undefined"&&B.versions!==null&&B.versions.node!==null}te.description="nodejs \u73AF\u5883";function V(){return typeof window!="undefined"&&typeof window.document!="undefined"&&!te}V.description="\u6D4F\u89C8\u5668\u73AF\u5883";function Y($){return s()($)}Y.description="\u683C\u5F0F\u5316\u6210dayjs";var q=function(ee){return b()(ee)};q.description="\u7A7A\u5224\u65AD";var ne=function(ee){return!q(ee)};ne.description="\u975E\u7A7A";function ae($){try{var ee=JSON.stringify($);return P.DS.encode(ee)}catch(ce){return""}}ae.description="json\u8F6Cbase64";function X($){if(!$)return"";try{return C()($)==="object"?JSON.stringify($):$}catch(ee){return""}}X.description="json\u8F6Cstring";function re($){try{var ee=P.DS.decode($);return JSON.parse(ee)}catch(ce){return null}}re.description="base64\u8F6Cjson";function oe($){try{return JSON.parse($)}catch(ee){return $}}oe.description="\u683C\u5F0F\u5316\u6210json";function Q($){if($==="")return"";for(var ee=[],ce=0;ce<$.length;ce+=1)ee.push($.charCodeAt(ce).toString(16));return ee.join("").toUpperCase()}Q.description="\u5B57\u7B26\u4E32\u8F6Cbase64";function ie($,ee){if($)return ee&&(s()(),s()($).format(ee)),s()($)}ie.description="\u5B57\u7B26\u4E32\u8F6Cdayjs";function se($){return $?Object.keys($).length===0:!0}se.description="\u7A7A\u5BF9\u8C61\u5224\u65AD";function le($){return typeof $=="string"?$.trim()==="":Array.isArray($)?$.length===0:D()($)?Object.keys($).length===0:$==null}le.description="\u5224\u65AD\u503C\u4E0D\u4E3A\u7A7A";function _e($){if($)return v()($)}_e.description="\u590D\u5236\u6587\u5B57";function me($,ee){var ce=new M.Z;return ce.setPublicKey(ee),ce.encrypt($)||""}me.description="RSA\u52A0\u5BC6";function fe($,ee){var ce=new M.Z;return ce.setPublicKey(ee),ce.decrypt($)||""}fe.description="RSA\u89E3\u5BC6";function ge($,ee){return c().AES.encrypt(c().enc.Utf8.parse($),c().enc.Utf8.parse(ee),{mode:c().mode.ECB,padding:c().pad.Pkcs7}).toString()}ge.description="AES\u52A0\u5BC6";function Pe($,ee){return c().AES.decrypt($,c().enc.Utf8.parse(ee),{mode:c().mode.ECB,padding:c().pad.Pkcs7}).toString(c().enc.Utf8)}Pe.description="AES\u89E3\u5BC6";function ye($,ee){return c().HmacSHA256(c().enc.Utf8.parse($),ee).toString(c().enc.Hex)}ye.description="HmacSHA256";function Ee($,ee){var ce=new(_());return ce.match($,ee)}Ee.description="\u5224\u65AD\u662F\u5426\u7B26\u5408ant path\u98CE\u683C\u5339\u914D\u5730\u5740";function Te($){var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"children";return $.reduce(function(ce,ve){return ce.push(ve),ve[ee]?ce.concat(Te(ve[ee])):ce},[])}Te.description="\u6811\u5F62\u6570\u636E\u6241\u5E73\u5316";function Fe(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0,1,2],ce=["1234567890","abcdefghijklmnopqrstuvwxyz","ABCDEFGHIJKLMNOPQRSTUVWXYZ"],ve=ce.join("");if(Array.isArray(ee)){var Me=ee.map(function(We){return ce[We]}).join("");Me&&(ve=Me)}else ve=ce[ee];var be=(0,x.kP)(ve,$);return be()}Fe.description="\u751F\u6210uuid";function Ue(){for(var $={},ee=arguments.length,ce=new Array(ee),ve=0;ve<ee;ve++)ce[ve]=arguments[ve];return ce.forEach(function(Me){Me&&Object.keys(Me).forEach(function(be){Me[be]!==void 0&&($[be]=Me[be])})}),$}function pe($){for(var ee=arguments.length,ce=new Array(ee>1?ee-1:0),ve=1;ve<ee;ve++)ce[ve-1]=arguments[ve];for(var Me=ce.length-1;Me>=0;Me-=1)if(ce[Me]!==void 0)return ce[Me];return $}Ue.description="\u5408\u5E76props",pe.description="\u5408\u5E76prop";function de($,ee,ce){var ve={},Me=$.clientHeight,be=$.clientWidth;return be/2>ce&&Me/2>ee&&(ve={left:ce,top:ee,maxHeight:Me-ee-16}),be/2>ce&&Me/2<ee&&(ve={left:ce,bottom:Me-ee,maxHeight:ee-16}),be/2<ce&&Me/2>ee&&(ve={right:be-ce,top:ee,maxHeight:Me-ee-16}),be/2<ce&&Me/2<ee&&(ve={right:be-ce,bottom:Me-ee,maxHeight:ee-16}),ve}de.description="\u5224\u65AD\u76EE\u6807\u5BF9\u8BDD\u6846\u51FA\u73B0\u7684\u4F4D\u7F6E";function xe($,ee){for(var ce=$.data,ve=$.key,Me=$.fieldKey,be=Me===void 0?"key":Me,We=0;We<ce.length;We++){var ue;if(ce[We][be]===ve)return ee(ce[We],We,ce);var De=(ue=ce[We])===null||ue===void 0?void 0:ue.children;De&&xe({data:De,key:ve,fieldKey:be},ee)}}xe.description="\u67E5\u627E\u6811\u5F62\u8282\u70B9";function Ae($,ee){var ce=[];return $.forEach(function(ve){ee(ve)&&ce.push(ve),ve.children&&ve.children.length>0&&(ce=ce.concat(Ae(ve.children,ee)))}),ce}Ae.description="\u6DF1\u5EA6\u4F18\u5148\u641C\u7D22\uFF08\u9012\u5F52\uFF09\u83B7\u53D6\u7B26\u5408\u6761\u4EF6\u7684\u8282\u70B9";function Se($,ee){return(0,T.j)({json:$,path:ee})}Se.description="\u6839\u636Ejson path \u83B7\u53D6\u6570\u636E";function Le(){return I()}Le.description="\u751F\u6210node-forge\u5B9E\u4F8B";function je($,ee){var ce=I().pki.publicKeyFromPem(ee),ve=ce.encrypt($,"RSAES-PKCS1-V1_5",{md:I().md.sha256.create()});return I().util.encode64(ve)}je.description="\u57FA\u4E8Enode-forge\u5B9E\u73B0rsa\u52A0\u5BC6";var ke=h},83857:function(g,n,e){"use strict";e.r(n)},86638:function(g,n,e){"use strict";e.r(n)},27783:function(){"use strict"},587:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return h}});const h=[{value:"\u57FA\u4E8E\u5355\u4E00\u804C\u8D23\u8BBE\u8BA1\u7684\u539F\u5B50\u7EC4\u4EF6",paraId:0,tocIndex:0}]},63953:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return h}});const h=[{value:"\u81EA\u52A8\u83B7\u53D6\u7CFB\u7EDF\u6309\u94AE\u6743\u9650\u6570\u636E\uFF0C\u901A\u8FC7\u6743\u9650 key \u63A7\u5236\u663E\u9690\u5185\u5BB9",paraId:0,tocIndex:0},{value:"\u53C2\u6570",paraId:1,tocIndex:4},{value:"\u8BF4\u660E",paraId:1,tocIndex:4},{value:"\u7C7B\u578B",paraId:1,tocIndex:4},{value:"\u9ED8\u8BA4\u503C",paraId:1,tocIndex:4},{value:"auth",paraId:1,tocIndex:4},{value:"api \u6743\u9650\u6807\u8BC6",paraId:1,tocIndex:4},{value:"string",paraId:1,tocIndex:4},{value:"-",paraId:1,tocIndex:4}]},21025:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return h}});const h=[{value:"\u81EA\u52A8\u83B7\u53D6\u7CFB\u7EDF\u6309\u94AE\u6743\u9650\u6570\u636E\uFF0C\u901A\u8FC7\u6743\u9650 key \u63A7\u5236\u663E\u9690\u5185\u5BB9",paraId:0,tocIndex:0},{value:"ButtonProps",paraId:1,tocIndex:4},{value:"CcsButton.Group",paraId:2,tocIndex:4},{value:"CcsButton.Dropdown",paraId:3,tocIndex:4},{value:"\u66F4\u591A...",paraId:4,tocIndex:4}]},61519:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return h}});const h=[{value:"\u6570\u636E\u6765\u6E90\u4E8E\u63A5\u53E3\u7684 Cascader \u7EC4\u4EF6\uFF0C\u5C01\u88C5\u6570\u636E\u8BF7\u6C42\u903B\u8F91",paraId:0,tocIndex:0},{value:"CascaderProps",paraId:1,tocIndex:4}]},18284:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return h}});const h=[{value:"\u65F6\u95F4\u9009\u62E9\u7EC4\u4EF6\uFF0C\u8F93\u5165\u8F93\u51FA\u65F6\u95F4\u5B57\u7B26\u4E32",paraId:0,tocIndex:0},{value:"DatePickerProps",paraId:1,tocIndex:4},{value:"RangePickerProps",paraId:2,tocIndex:4}]},91941:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return h}});const h=[{value:"\u96C6\u6210 Modal\u3001Drawer\u3001Message\u3001Notification \u9002\u5E94\u4E3B\u9898\u53D8\u5316\u7684\u9759\u6001\u65B9\u6CD5",paraId:0,tocIndex:0},{value:"\u4F7F\u7528\u9759\u6001\u65B9\u6CD5\u65F6\uFF0C\u9700\u4F7F\u7528CcsAppConfig\u7EC4\u4EF6\u3002\u53EA\u9700\u5728\u5E94\u7528\u5916\u56F4\u5305\u88F9\u4E00\u6B21\u5373\u53EF\u5168\u5C40\u751F\u6548\u3002",paraId:1,tocIndex:0},{value:"\u4E3B\u8981\u529F\u80FD\uFF1A",paraId:2,tocIndex:0},{value:"\u9759\u6001\u65B9\u6CD5\u6253\u5F00\u5BF9\u8BDD\u6846\uFF0C\u652F\u6301\u83B7\u53D6 context \u4E0A\u4E0B\u6587",paraId:3,tocIndex:0},{value:"\u81EA\u52A8\u6536\u96C6\u8868\u5355\u4FE1\u606F\uFF0C\u8C03\u7528\u63A5\u53E3\u5904\u7406\u3001\u7ED3\u679C\u53CD\u9988",paraId:3,tocIndex:0},{value:"\u5982\u4F7F\u7528\u5BF9\u8BDD\u6846\u81EA\u52A8\u8C03\u7528\u63A5\u53E3\uFF0C\u53CD\u9988\u7ED3\u679C\u9700\u6307\u5B9A\u63A5\u53E3\u8FD4\u56DE\u89C4\u8303\uFF0C\u5168\u5C40\u914D\u7F6E\u4E00\u6B21\u5373\u53EF\u3002",paraId:4,tocIndex:4},{value:`<CcsAppConfig
16
32
  fieldNames={{
17
33
  dialog: { success: ['success'], successTag: true, msg: ['msg'] },
18
34
  }}
19
35
  >
20
36
  <Outlet />
21
37
  </CcsAppConfig>
22
- `,paraId:5,tocIndex:4},{value:"DialogProps",paraId:6,tocIndex:5},{value:"CcsDialog.useInstance",paraId:7,tocIndex:5},{value:"\u66F4\u591A",paraId:8,tocIndex:5}]},80537:function(h,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"\u5BCC\u6587\u672C\u7F16\u8F91\u5668\uFF0C\u4EE3\u7801\u7F16\u8F91\u5668",paraId:0,tocIndex:0},{value:"EditorCodeProps",paraId:1,tocIndex:4},{value:"EditorRichProps",paraId:2,tocIndex:4}]},84062:function(h,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"Antd Form \u7EC4\u4EF6\u6269\u5C55\uFF0C\u5236\u5B9A\u8868\u5355\u7B80\u5355\u6821\u9A8C\u89C4\u5219\uFF0C\u4F9D\u8D56\u66F4\u65B0\uFF0C\u4F9D\u8D56\u663E\u793A\uFF0C\u7B80\u5316\u6570\u7EC4\u5BF9\u8C61\u8868\u5355\u3002",paraId:0,tocIndex:0},{value:"FormItemProps",paraId:1,tocIndex:3},{value:"FormListProps",paraId:2,tocIndex:3},{value:"\u66F4\u591A",paraId:3,tocIndex:3}]},56475:function(h,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"ccs-ui@rc-pro",paraId:0,tocIndex:0},{value:" \u4E3A Web \u5E94\u7528\u63D0\u4F9B\u4E86\u4E30\u5BCC\u7684\u4F01\u4E1A\u7EA7 UI \u7EC4\u4EF6\u3002",paraId:0,tocIndex:0},{value:"umijs",paraId:1,tocIndex:1},{value:" \u57FA\u7840\u6846\u67B6",paraId:1,tocIndex:1},{value:"ahooks",paraId:1,tocIndex:1},{value:" \u4E00\u5957\u9AD8\u8D28\u91CF\u53EF\u9760\u7684 React Hooks \u5E93\u3001\u4F7F\u4F60\u7684\u4EE3\u7801\u66F4\u52A0\u4F18\u96C5",paraId:1,tocIndex:1},{value:"ant design",paraId:1,tocIndex:1},{value:" \u57FA\u7840\u7EC4\u4EF6\u5E93",paraId:1,tocIndex:1},{value:"lodash",paraId:1,tocIndex:1},{value:" \u9AD8\u6027\u80FD\u7684 JavaScript \u5B9E\u7528\u5DE5\u5177\u5E93",paraId:1,tocIndex:1},{value:"\u793E\u533A\u7CBE\u9009\u7EC4\u4EF6",paraId:1,tocIndex:1}]},66521:function(h,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"\u4F20\u5165\u7CFB\u7EDF\u83DC\u5355\u6570\u636E\uFF0C\u6309\u94AE\u6743\u9650\u6570\u636E\u3002\u5B9E\u73B0\u9762\u5305\u5C51\uFF0C\u8DEF\u7531\u7F13\u5B58\uFF0C\u8DEF\u7531\u6743\u9650\u6821\u9A8C\uFF0C\u6309\u94AE\u6743\u9650\u6821\u9A8C\u7B49\u529F\u80FD",paraId:0,tocIndex:0},{value:`/**
38
+ `,paraId:5,tocIndex:4},{value:"DialogProps",paraId:6,tocIndex:5},{value:"CcsDialog.useInstance",paraId:7,tocIndex:5},{value:"\u66F4\u591A",paraId:8,tocIndex:5}]},80537:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return h}});const h=[{value:"\u5BCC\u6587\u672C\u7F16\u8F91\u5668\uFF0C\u4EE3\u7801\u7F16\u8F91\u5668",paraId:0,tocIndex:0},{value:"EditorCodeProps",paraId:1,tocIndex:4},{value:"EditorRichProps",paraId:2,tocIndex:4}]},84062:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return h}});const h=[{value:"Antd Form \u7EC4\u4EF6\u6269\u5C55\uFF0C\u5236\u5B9A\u8868\u5355\u7B80\u5355\u6821\u9A8C\u89C4\u5219\uFF0C\u4F9D\u8D56\u66F4\u65B0\uFF0C\u4F9D\u8D56\u663E\u793A\uFF0C\u7B80\u5316\u6570\u7EC4\u5BF9\u8C61\u8868\u5355\u3002",paraId:0,tocIndex:0},{value:"FormItemProps",paraId:1,tocIndex:3},{value:"FormListProps",paraId:2,tocIndex:3},{value:"\u66F4\u591A",paraId:3,tocIndex:3}]},56475:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return h}});const h=[{value:"ccs-ui@rc-pro",paraId:0,tocIndex:0},{value:" \u4E3A Web \u5E94\u7528\u63D0\u4F9B\u4E86\u4E30\u5BCC\u7684\u4F01\u4E1A\u7EA7 UI \u7EC4\u4EF6\u3002",paraId:0,tocIndex:0},{value:"umijs",paraId:1,tocIndex:1},{value:" \u57FA\u7840\u6846\u67B6",paraId:1,tocIndex:1},{value:"ahooks",paraId:1,tocIndex:1},{value:" \u4E00\u5957\u9AD8\u8D28\u91CF\u53EF\u9760\u7684 React Hooks \u5E93\u3001\u4F7F\u4F60\u7684\u4EE3\u7801\u66F4\u52A0\u4F18\u96C5",paraId:1,tocIndex:1},{value:"ant design",paraId:1,tocIndex:1},{value:" \u57FA\u7840\u7EC4\u4EF6\u5E93",paraId:1,tocIndex:1},{value:"lodash",paraId:1,tocIndex:1},{value:" \u9AD8\u6027\u80FD\u7684 JavaScript \u5B9E\u7528\u5DE5\u5177\u5E93",paraId:1,tocIndex:1},{value:"\u793E\u533A\u7CBE\u9009\u7EC4\u4EF6",paraId:1,tocIndex:1}]},46155:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return h}});const h=[{value:"\u4F20\u5165\u7CFB\u7EDF\u83DC\u5355\u6570\u636E\uFF0C\u6309\u94AE\u6743\u9650\u6570\u636E\u3002\u5B9E\u73B0\u9762\u5305\u5C51\uFF0C\u8DEF\u7531\u7F13\u5B58\uFF0C\u8DEF\u7531\u6743\u9650\u6821\u9A8C\uFF0C\u6309\u94AE\u6743\u9650\u6821\u9A8C\u7B49\u529F\u80FD",paraId:0,tocIndex:0},{value:`/**
23
39
  * useCcsPage \u83B7\u53D6\u5F53\u524D\u8DEF\u7531\u4FE1\u606F
24
40
  * location: history Location
25
41
  * isActive: \u524D\u9875\u9762\u662F\u5426\u9009\u4E2D
@@ -33,7 +49,7 @@ const { location, isActive, onDestroy, onAuth } = useCcsPage();
33
49
  * onAuth: \u4F20\u5165\u6743\u9650\u7F16\u7801\uFF0C\u5224\u65AD\u662F\u5426\u62E5\u6709\u6309\u94AE\u6743\u9650
34
50
  */
35
51
  const { location, onAuth } = useCcsPage();
36
- `,paraId:2,tocIndex:2},{value:"KeepAliveTabsProps",paraId:3,tocIndex:3},{value:"SinglePageProps",paraId:4,tocIndex:3},{value:"MenuType",paraId:5,tocIndex:3}]},56858:function(h,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"\u76F8\u5BF9\u4F4D\u7F6E loading\uFF0C\u4E0D\u5D4C\u5957\u7EC4\u4EF6",paraId:0,tocIndex:0},{value:"LoadingProps",paraId:1,tocIndex:3}]},8674:function(h,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"\u4F01\u4E1A\u7EA7 Table \u7EC4\u4EF6\uFF0C\u96C6\u67E5\u8BE2\uFF0C\u6570\u636E\u5C55\u793A\u4E00\u4F53\u3002",paraId:0,tocIndex:0},{value:"\u6307\u5B9Atable\u63A5\u53E3\u8BF7\u6C42\u5B57\u6BB5\u548C\u8FD4\u56DE\u5B57\u6BB5",paraId:1,tocIndex:3},{value:`<CcsAppConfig
52
+ `,paraId:2,tocIndex:2},{value:"KeepAliveTabsProps",paraId:3,tocIndex:3},{value:"SinglePageProps",paraId:4,tocIndex:3},{value:"MenuType",paraId:5,tocIndex:3}]},8674:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return h}});const h=[{value:"\u4F01\u4E1A\u7EA7 Table \u7EC4\u4EF6\uFF0C\u96C6\u67E5\u8BE2\uFF0C\u6570\u636E\u5C55\u793A\u4E00\u4F53\u3002",paraId:0,tocIndex:0},{value:"\u6307\u5B9Atable\u63A5\u53E3\u8BF7\u6C42\u5B57\u6BB5\u548C\u8FD4\u56DE\u5B57\u6BB5",paraId:1,tocIndex:11},{value:`<CcsAppConfig
37
53
  fieldNames={{
38
54
  proTable: {
39
55
  dataSource: ['data', 'result'],
@@ -53,14 +69,14 @@ const { location, onAuth } = useCcsPage();
53
69
  >
54
70
  <Outlet />
55
71
  </CcsAppConfig>
56
- `,paraId:2,tocIndex:3},{value:"ProTableProps",paraId:3,tocIndex:4},{value:"table ref \u5B9E\u4F8B",paraId:4,tocIndex:4},{value:"table \u5217\u914D\u7F6E",paraId:5,tocIndex:4},{value:"\u66F4\u591A",paraId:6,tocIndex:4}]},62890:function(h,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"\u57FA\u4E8E antd Tabs \u7EC4\u4EF6\uFF0C\u56FA\u5B9A\u754C\u9762\u98CE\u683C\uFF0Ctab \u95F4\u4F7F\u7528 hooks \u8FDB\u884C\u4EA4\u4E92",paraId:0,tocIndex:0},{value:"useCcsTabs",paraId:1,tocIndex:4},{value:"\u66F4\u591A...",paraId:2,tocIndex:4}]},11222:function(h,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"\u7ED3\u679C\u9875",paraId:0,tocIndex:0},{value:`\u53C2\u8003
57
- `,paraId:1,tocIndex:4},{value:"Antd Result",paraId:1,tocIndex:4}]},23002:function(h,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"Antd Select \u7EC4\u4EF6\u6269\u5C55\uFF0C\u6DFB\u52A0\u9ED8\u8BA4\u914D\u7F6E\uFF0C\u57FA\u4E8E\u63A5\u53E3\u9009\u62E9\uFF0C\u81EA\u5B9A\u4E49\u5F39\u6846\u9009\u62E9\u3002",paraId:0,tocIndex:0},{value:"SelectProps",paraId:1,tocIndex:6},{value:"ApiSelectProps",paraId:2,tocIndex:6},{value:"SelectChildrenProps",paraId:3,tocIndex:6},{value:"CustomizeSelectProps",paraId:4,tocIndex:6},{value:"\u66F4\u591A",paraId:5,tocIndex:6}]},4439:function(h,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"\u65F6\u95F4\u9009\u62E9\u7EC4\u4EF6\uFF0C\u8F93\u5165\u8F93\u51FA\u65F6\u95F4\u5B57\u7B26\u4E32",paraId:0,tocIndex:0},{value:"\u901A\u7528\u5C5E\u6027\u7EE7\u627F ",paraId:1,tocIndex:3},{value:"Ant TimePicker",paraId:1,tocIndex:3}]},79810:function(h,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"\u7B80\u5316\u6587\u4EF6\uFF0C\u56FE\u7247\u4E0A\u4F20\u903B\u8F91",paraId:0,tocIndex:0},{value:"UploadProps",paraId:1,tocIndex:4},{value:"UploadImageProps",paraId:2,tocIndex:4},{value:"\u66F4\u591A",paraId:3,tocIndex:4}]},15373:function(h,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"\u6C34\u5370\u7EC4\u4EF6",paraId:0,tocIndex:0},{value:"WaterMarkProps",paraId:1,tocIndex:3}]},75021:function(h,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:`import CcsUtils from '@ccs-ui/utils';
72
+ `,paraId:2,tocIndex:11},{value:"ProTableProps",paraId:3,tocIndex:12},{value:"table ref \u5B9E\u4F8B",paraId:4,tocIndex:12},{value:"table \u5217\u914D\u7F6E",paraId:5,tocIndex:12},{value:"\u66F4\u591A",paraId:6,tocIndex:12}]},62890:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return h}});const h=[{value:"\u57FA\u4E8E antd Tabs \u7EC4\u4EF6\uFF0C\u56FA\u5B9A\u754C\u9762\u98CE\u683C\uFF0Ctab \u95F4\u4F7F\u7528 hooks \u8FDB\u884C\u4EA4\u4E92",paraId:0,tocIndex:0},{value:"useCcsTabs",paraId:1,tocIndex:4},{value:"\u66F4\u591A...",paraId:2,tocIndex:4}]},11222:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return h}});const h=[{value:"\u7ED3\u679C\u9875",paraId:0,tocIndex:0},{value:`\u53C2\u8003
73
+ `,paraId:1,tocIndex:4},{value:"Antd Result",paraId:1,tocIndex:4}]},23002:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return h}});const h=[{value:"Antd Select \u7EC4\u4EF6\u6269\u5C55\uFF0C\u6DFB\u52A0\u9ED8\u8BA4\u914D\u7F6E\uFF0C\u57FA\u4E8E\u63A5\u53E3\u9009\u62E9\uFF0C\u81EA\u5B9A\u4E49\u5F39\u6846\u9009\u62E9\u3002",paraId:0,tocIndex:0},{value:"SelectProps",paraId:1,tocIndex:6},{value:"ApiSelectProps",paraId:2,tocIndex:6},{value:"SelectChildrenProps",paraId:3,tocIndex:6},{value:"CustomizeSelectProps",paraId:4,tocIndex:6},{value:"\u66F4\u591A",paraId:5,tocIndex:6}]},4439:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return h}});const h=[{value:"\u65F6\u95F4\u9009\u62E9\u7EC4\u4EF6\uFF0C\u8F93\u5165\u8F93\u51FA\u65F6\u95F4\u5B57\u7B26\u4E32",paraId:0,tocIndex:0},{value:"\u901A\u7528\u5C5E\u6027\u7EE7\u627F ",paraId:1,tocIndex:3},{value:"Ant TimePicker",paraId:1,tocIndex:3}]},79810:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return h}});const h=[{value:"\u7B80\u5316\u6587\u4EF6\uFF0C\u56FE\u7247\u4E0A\u4F20\u903B\u8F91",paraId:0,tocIndex:0},{value:"UploadProps",paraId:1,tocIndex:4},{value:"UploadImageProps",paraId:2,tocIndex:4},{value:"\u66F4\u591A",paraId:3,tocIndex:4}]},15373:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return h}});const h=[{value:"\u6C34\u5370\u7EC4\u4EF6",paraId:0,tocIndex:0},{value:"WaterMarkProps",paraId:1,tocIndex:3}]},75021:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return h}});const h=[{value:`import CcsUtils from '@ccs-ui/utils';
58
74
 
59
75
  // \u5DE5\u5177\u7C7B\u8C03\u7528
60
76
  CcsUtils.aesDecrypt();
61
77
  CcsUtils.aesEncrypt();
62
78
  CcsUtils.???();
63
- `,paraId:0}]},86893:function(h,n){"use strict";n.Z=`import {
79
+ `,paraId:0}]},86893:function(g,n){"use strict";n.Z=`import {
64
80
  CloseOutlined,
65
81
  LeftOutlined,
66
82
  LoadingOutlined,
@@ -372,7 +388,8 @@ if (process.env.NODE_ENV !== 'production') {
372
388
  }
373
389
 
374
390
  export default AjCaptcha;
375
- `},35759:function(h,n){"use strict";n.Z=`import {
391
+ `},35759:function(g,n){"use strict";n.Z=`import { DebounceOptions } from 'ahooks/lib/useDebounce/debounceOptions';
392
+ import {
376
393
  ButtonProps,
377
394
  FormInstance,
378
395
  FormProps,
@@ -545,8 +562,8 @@ export type AtomResizeProps = {
545
562
  targetRef?: React.RefObject<HTMLDivElement>;
546
563
  /** \u56DE\u8C03\u65B9\u6CD5 */
547
564
  onResize: (size: ResizeSize) => void;
548
- /** \u9632\u6296\u65F6\u95F4 */
549
- wait?: number;
565
+ /** \u9632\u6296\u53C2\u6570 */
566
+ option?: DebounceOptions;
550
567
  };
551
568
 
552
569
  export type AtomCountdownProps = ButtonProps & {
@@ -558,6 +575,10 @@ export type AtomCountdownProps = ButtonProps & {
558
575
  cacheKey?: string;
559
576
  };
560
577
 
578
+ export type AtomCountdownInstance = {
579
+ onStart: () => void;
580
+ };
581
+
561
582
  export interface AtomEllipsisProps {
562
583
  /** \u6587\u672C\u5185\u5BB9 */
563
584
  content: string;
@@ -573,7 +594,18 @@ export interface AtomMultiStateProps<T> {
573
594
  InitialState: Partial<T>;
574
595
  options: {};
575
596
  }
576
- `},13924:function(h,n){"use strict";n.Z=`import { SettingOutlined } from '@ant-design/icons';
597
+
598
+ /** loading \u7EC4\u4EF6\u53C2\u6570 */
599
+ export interface AtomLoadingProps {
600
+ /**
601
+ * loading \u72B6\u6001
602
+ * @default false
603
+ */
604
+ loading?: boolean;
605
+ /** loading \u6587\u5B57\u8BF4\u660E */
606
+ loadingTip?: ReactNode;
607
+ }
608
+ `},13924:function(g,n){"use strict";n.Z=`import { SettingOutlined } from '@ant-design/icons';
577
609
  import { Button, Checkbox, CheckboxProps, Divider, Popover } from 'antd';
578
610
  import { useState } from 'react';
579
611
  import { classAtomPrefix } from '.';
@@ -644,10 +676,17 @@ export default function AtomCheckbox(props: AtomCheckboxProps) {
644
676
  </>
645
677
  );
646
678
  }
647
- `},36483:function(h,n){"use strict";n.Z=`import { useInterval } from 'ahooks';
679
+ `},36483:function(g,n){"use strict";n.Z=`import { useInterval } from 'ahooks';
648
680
  import { Button } from 'antd';
649
- import { useLayoutEffect, useMemo, useState } from 'react';
650
- import { AtomCountdownProps } from './_api';
681
+ import {
682
+ ForwardedRef,
683
+ forwardRef,
684
+ useImperativeHandle,
685
+ useLayoutEffect,
686
+ useMemo,
687
+ useState,
688
+ } from 'react';
689
+ import { AtomCountdownInstance, AtomCountdownProps } from './_api';
651
690
 
652
691
  /**
653
692
  * \u5012\u8BA1\u65F6\u6309\u94AE\u7EC4\u4EF6
@@ -655,13 +694,16 @@ import { AtomCountdownProps } from './_api';
655
694
  * @param IntervalInstance
656
695
  * @returns
657
696
  */
658
- function AtomCountdown({
659
- num = 60,
660
- cacheKey,
661
- disabledText = '',
662
- children,
663
- ...restProps
664
- }: AtomCountdownProps) {
697
+ function AtomCountdown(
698
+ {
699
+ num = 60,
700
+ cacheKey,
701
+ disabledText,
702
+ children,
703
+ ...restProps
704
+ }: AtomCountdownProps,
705
+ ref: ForwardedRef<AtomCountdownInstance>,
706
+ ) {
665
707
  const [count, setCount] = useState(-1);
666
708
  const [codeInterval, setCodeInterval] = useState<any>(null);
667
709
 
@@ -718,13 +760,18 @@ function AtomCountdown({
718
760
  }
719
761
  };
720
762
 
763
+ useImperativeHandle(ref, () => ({
764
+ onStart: onStart,
765
+ }));
766
+
721
767
  return count === -1 ? null : (
722
768
  <Button
769
+ type="primary"
723
770
  {...restProps}
724
771
  onClick={restProps.onClick ? restProps.onClick : onStart}
725
772
  disabled={restProps.disabled ? true : disabled}
726
773
  >
727
- {disabled ? \`\${count}\u79D2\${disabledText}\` : children}
774
+ {disabled ? \`\${count}\u79D2\${disabledText}\` : \`\${children}\`}
728
775
  </Button>
729
776
  );
730
777
  }
@@ -733,16 +780,17 @@ if (process.env.NODE_ENV !== 'production') {
733
780
  AtomCountdown.displayName = 'AtomCountdown';
734
781
  }
735
782
 
736
- export default AtomCountdown;
737
- `},77822:function(h,n){"use strict";n.Z=`import { SendOutlined } from '@ant-design/icons';
783
+ export default forwardRef(AtomCountdown);
784
+ `},77822:function(g,n){"use strict";n.Z=`import { SendOutlined } from '@ant-design/icons';
738
785
  import { CcsAtom } from '@ccs-ui/rc-pro';
739
- import { Divider } from 'antd';
786
+ import { Button, Divider } from 'antd';
740
787
  import { useState } from 'react';
741
788
 
742
789
  const plainOptions = ['Apple', 'Pear', 'Orange'];
743
790
 
744
791
  export default () => {
745
792
  const [size, setSize] = useState('');
793
+ const [loading, setLoading] = useState(false);
746
794
 
747
795
  return (
748
796
  <div id="ccs-pro-table">
@@ -769,8 +817,20 @@ export default () => {
769
817
  >
770
818
  \u5012\u8BA1\u65F6\u6309\u94AE
771
819
  </CcsAtom.Countdown>
820
+ <Button
821
+ type="text"
822
+ onClick={() => {
823
+ setLoading(true);
824
+ setTimeout(() => {
825
+ setLoading(false);
826
+ }, 2000);
827
+ }}
828
+ >
829
+ \u5F00\u542FLoading
830
+ </Button>
831
+ <CcsAtom.Loading loading={loading} />
772
832
  <Divider orientation="left" plain>
773
- \u591A\u72B6\u6001\u7BA1\u7406,\u6839\u636E\u5BF9\u8C61\u8DEF\u5F84\u66F4\u65B0\u503C
833
+ \u5BB9\u5668\u5C3A\u5BF8\u53D8\u5316\u9632\u6296
774
834
  </Divider>
775
835
  <div style={{ color: 'gray', fontSize: 12, marginLeft: 16 }}>
776
836
  {size || '\u62D6\u62FD\u6D4F\u89C8\u5668\u53D8\u66F4\u5C3A\u5BF8'}
@@ -784,7 +844,7 @@ export default () => {
784
844
  </div>
785
845
  );
786
846
  };
787
- `},5228:function(h,n){"use strict";n.Z=`import CCS, { CcsAtom, CcsProTable } from '@ccs-ui/rc-pro';
847
+ `},5228:function(g,n){"use strict";n.Z=`import CCS, { CcsAtom, CcsProTable } from '@ccs-ui/rc-pro';
788
848
  import { Divider } from 'antd';
789
849
 
790
850
  const fieldname = \`\u94F8\u9B42\u624E\u6839\uFF0C\u65B9\u80FD\u884C\u7A33\u81F4\u8FDC\u3002\u5E74\u8F7B\u5E72\u90E8\u6295\u8EAB\u4E61\u6751\u5168\u9762\u632F\u5174\uFF0C\u9996\u8981\u7684\u662F\u89E3\u51B3\u201C\u4E3A\u8C01\u5E72\u4E8B\u3001\u5982\u4F55\u5E72\u4E8B\u201D\u7684\u6839\u672C\u95EE\u9898\u3002\u4E61\u6751\u5DE5\u4F5C\u76F4\u9762\u57FA\u5C42\u7FA4\u4F17\uFF0C\u60C5\u51B5\u9519\u7EFC\u590D\u6742\u3002\u82E5\u7406\u8BBA\u6B66\u88C5\u4E0D\u6DF1\u3001\u653F\u7B56\u628A\u63E1\u4E0D\u51C6\uFF0C\u884C\u52A8\u4FBF\u4F1A\u504F\u79BB\u822A\u5411\uFF1B\u82E5\u7FA4\u4F17\u611F\u60C5\u4E0D\u591F\u6DF1\u539A\uFF0C\u5DE5\u4F5C\u5C31\u53EF\u80FD\u9677\u5165\u201C\u81EA\u8BF4\u81EA\u8BDD\u201D\u6216\u201C\u6C34\u571F\u4E0D\u670D\u201D\u7684\u56F0\u5883\u3002\u5FC5\u987B\u628A\u5F3A\u5316\u601D\u60F3\u6DEC\u70BC\u548C\u653F\u6CBB\u5386\u7EC3\u6446\u5728\u9996\u4F4D\uFF0C\u5F15\u5BFC\u5E74\u8F7B\u5E72\u90E8\u6DF1\u5165\u5B66\u4E60\u8D2F\u5F7B\u4E60\u8FD1\u5E73\u65B0\u65F6\u4EE3\u4E2D\u56FD\u7279\u8272\u793E\u4F1A\u4E3B\u4E49\u601D\u60F3\uFF0C\u7279\u522B\u662F\u4E60\u8FD1\u5E73\u603B\u4E66\u8BB0\u5173\u4E8E\u201C\u4E09\u519C\u201D\u5DE5\u4F5C\u91CD\u8981\u8BBA\u8FF0\uFF0C\u5728\u52E4\u5B66\u5584\u601D\u4E2D\u4E0D\u65AD\u575A\u5B9A\u7406\u60F3\u4FE1\u5FF5\uFF0C\u786E\u4FDD\u4E61\u6751\u5DE5\u4F5C\u59CB\u7EC8\u6CBF\u7740\u6B63\u786E\u65B9\u5411\u524D\u8FDB\u3002\u8BA9\u7406\u8BBA\u5B66\u4E60\u7684\u201C\u6DF1\u5EA6\u201D\u8F6C\u5316\u4E3A\u670D\u52A1\u7FA4\u4F17\u7684\u201C\u6E29\u5EA6\u201D\uFF0C\u63A8\u52A8\u5E74\u8F7B\u5E72\u90E8\u6C89\u5230\u7530\u95F4\u5730\u5934\u3001\u519C\u5BB6\u9662\u843D\uFF0C\u4E0E\u519C\u6C11\u7FA4\u4F17\u540C\u5750\u4E00\u6761\u677F\u51F3\u3001\u540C\u5E72\u4E00\u573A\u519C\u6D3B\uFF0C\u5728\u503E\u542C\u6C11\u58F0\u3001\u611F\u77E5\u6C11\u60C5\u4E2D\u589E\u8FDB\u7406\u89E3\u3001\u5EFA\u7ACB\u4FE1\u4EFB\uFF0C\u771F\u6B63\u628A\u6839\u624E\u5728\u6CE5\u571F\u91CC\u3001\u624E\u5728\u767E\u59D3\u4E2D\`;
@@ -883,7 +943,7 @@ export default () => {
883
943
  </>
884
944
  );
885
945
  };
886
- `},51655:function(h,n){"use strict";n.Z=`import CCS, { CcsAtom, CcsDatePicker } from '@ccs-ui/rc-pro';
946
+ `},51655:function(g,n){"use strict";n.Z=`import CCS, { CcsAtom, CcsDatePicker } from '@ccs-ui/rc-pro';
887
947
  import { DatePicker, Input, InputNumber, Select } from 'antd';
888
948
 
889
949
  export default () => {
@@ -945,7 +1005,7 @@ export default () => {
945
1005
  />
946
1006
  );
947
1007
  };
948
- `},49958:function(h,n){"use strict";n.Z=`import { CcsAtom, CcsButton } from '@ccs-ui/rc-pro';
1008
+ `},49958:function(g,n){"use strict";n.Z=`import { CcsAtom, CcsButton } from '@ccs-ui/rc-pro';
949
1009
  import ProCheckbox from '../check';
950
1010
 
951
1011
  export default () => {
@@ -982,7 +1042,7 @@ export default () => {
982
1042
  </div>
983
1043
  );
984
1044
  };
985
- `},20315:function(h,n){"use strict";n.Z=`import { Button, Space } from 'antd';
1045
+ `},20315:function(g,n){"use strict";n.Z=`import { Button, Space } from 'antd';
986
1046
  import useComplexState from '../useComplexState';
987
1047
 
988
1048
  export default () => {
@@ -995,7 +1055,7 @@ export default () => {
995
1055
  return (
996
1056
  <div style={{ color: 'gray', fontSize: 14, marginLeft: 16 }}>
997
1057
  <div style={{ marginBottom: 10 }}>{JSON.stringify(state)}</div>
998
- <Space>
1058
+ <Space wrap>
999
1059
  <Button onClick={() => setByPath('data.value', 2)}>
1000
1060
  \u66F4\u65B0 data.value
1001
1061
  </Button>
@@ -1024,12 +1084,13 @@ export default () => {
1024
1084
  </div>
1025
1085
  );
1026
1086
  };
1027
- `},7122:function(h,n){"use strict";n.Z=`import { CopyOutlined } from '@ant-design/icons';
1087
+ `},7122:function(g,n){"use strict";n.Z=`import { CopyOutlined } from '@ant-design/icons';
1028
1088
  import CcsUtils from '@ccs-ui/utils';
1029
1089
  import { Button, message, Tooltip } from 'antd';
1030
1090
  import React, { useEffect, useRef, useState } from 'react';
1031
1091
  import runes from 'runes2';
1032
- import { AtomEllipsisProps } from './_api';
1092
+ import { CcsAtom } from '..';
1093
+ import { AtomEllipsisProps, AtomResizeProps } from './_api';
1033
1094
 
1034
1095
  const measureStyle: React.CSSProperties = {
1035
1096
  visibility: 'hidden',
@@ -1043,6 +1104,7 @@ enum MEASURE_STATUS {
1043
1104
  NO_ELLIPSIS = 0, // \u6CA1\u6709\u7701\u7565\u53F7
1044
1105
  MEASURE_WALKING = 200, // \u6D4B\u91CF\u7701\u7565\u53F7
1045
1106
  STABLE_ELLIPSIS = 400, // \u7A33\u5B9A\u7701\u7565\u53F7
1107
+ NULL = -1, //
1046
1108
  }
1047
1109
 
1048
1110
  const ELLIPSIS_TEXT = '...';
@@ -1079,6 +1141,12 @@ function AtomEllipsis({
1079
1141
  // \u8BBE\u7F6E\u6700\u5927\u663E\u793A\u9AD8\u5EA6\uFF0C\u9632\u6B62\u6570\u636E\u6296\u52A8
1080
1142
  if (status === MEASURE_STATUS.INIT) {
1081
1143
  const maxHeight = (singleRowRef.current?.offsetHeight || 0) * rows;
1144
+
1145
+ if (singleRowRef.current?.offsetHeight === 0) {
1146
+ setStatus(MEASURE_STATUS.NULL);
1147
+ return;
1148
+ }
1149
+
1082
1150
  dataRef.current.maxHeight = maxHeight;
1083
1151
  dataRef.current.step = chatLength;
1084
1152
 
@@ -1115,6 +1183,8 @@ function AtomEllipsis({
1115
1183
  // \u51CF\u5C11\u91CF\u4E3A0\uFF0C\u6D4B\u91CF\u7ED3\u675F
1116
1184
  if (newStepNum === 0) {
1117
1185
  setIndexNumber((state) => state - 1);
1186
+ setStatus(MEASURE_STATUS.STABLE_ELLIPSIS);
1187
+ return;
1118
1188
  }
1119
1189
  // \u4E8C\u5206\u51CF\u5C11
1120
1190
  setIndexNumber((state) => state - newStepNum);
@@ -1124,6 +1194,8 @@ function AtomEllipsis({
1124
1194
 
1125
1195
  // \u5B57\u7B26\u62FC\u63A5
1126
1196
  const renderContent = () => {
1197
+ if (indexNumber === 0) return '.';
1198
+
1127
1199
  if (direction === 'start') {
1128
1200
  return \`\${ELLIPSIS_TEXT}\${contentChars
1129
1201
  .slice(contentChars.length - indexNumber)
@@ -1186,6 +1258,13 @@ function AtomEllipsis({
1186
1258
  );
1187
1259
  }
1188
1260
 
1261
+ const onResize: AtomResizeProps['onResize'] = (e) => {
1262
+ if (e.height === 0 || e.width === 0) {
1263
+ return;
1264
+ }
1265
+ // setStatus(MEASURE_STATUS.INIT);
1266
+ };
1267
+
1189
1268
  return (
1190
1269
  <>
1191
1270
  <div className="ccs-ellipsis">
@@ -1204,6 +1283,12 @@ function AtomEllipsis({
1204
1283
  {renderContent()}
1205
1284
  </div>
1206
1285
  )}
1286
+ {status === MEASURE_STATUS.NULL && (
1287
+ <>
1288
+ <div ref={walkingContentRef}>{'\\u00A0'}</div>
1289
+ <CcsAtom.Resize targetRef={walkingContentRef} onResize={onResize} />
1290
+ </>
1291
+ )}
1207
1292
  </div>
1208
1293
  </>
1209
1294
  );
@@ -1214,7 +1299,7 @@ if (process.env.NODE_ENV !== 'production') {
1214
1299
  }
1215
1300
 
1216
1301
  export default React.memo(AtomEllipsis, (l, n) => l.content === n.content);
1217
- `},24706:function(h,n){"use strict";n.Z=`import { DownOutlined, UpOutlined } from '@ant-design/icons';
1302
+ `},24706:function(g,n){"use strict";n.Z=`import { DownOutlined, UpOutlined } from '@ant-design/icons';
1218
1303
  import { Button, Form, theme } from 'antd';
1219
1304
  import React, {
1220
1305
  CSSProperties,
@@ -1443,7 +1528,7 @@ if (process.env.NODE_ENV !== 'production') {
1443
1528
  }
1444
1529
 
1445
1530
  export default React.forwardRef(AtomFilter);
1446
- `},11361:function(h,n){"use strict";n.Z=`import { FullscreenExitOutlined, FullscreenOutlined } from '@ant-design/icons';
1531
+ `},11361:function(g,n){"use strict";n.Z=`import { FullscreenExitOutlined, FullscreenOutlined } from '@ant-design/icons';
1447
1532
  import { Button, theme, Tooltip } from 'antd';
1448
1533
  import { useEffect, useRef, useState } from 'react';
1449
1534
  import { classAtomPrefix } from '.';
@@ -1504,12 +1589,13 @@ if (process.env.NODE_ENV !== 'production') {
1504
1589
  }
1505
1590
 
1506
1591
  export default AtomFullScreen;
1507
- `},7169:function(h,n){"use strict";n.Z=`import AtomCheckbox from './check';
1592
+ `},7169:function(g,n){"use strict";n.Z=`import AtomCheckbox from './check';
1508
1593
  import AtomCountdown from './count-down';
1509
1594
  import AtomEllipsis from './ellipsis';
1510
1595
  import AtomFilter from './filter';
1511
1596
  import AtomFullScreen from './full-screen';
1512
1597
  import './index.less';
1598
+ import AtomLoading from './loading';
1513
1599
  import AtomOperation from './operation';
1514
1600
  import AtomResize from './resize-observer';
1515
1601
  import AtomTitle from './title';
@@ -1553,12 +1639,15 @@ Atom.usePageRequest = usePageRequest;
1553
1639
  /** \u591A\u72B6\u6001\u7BA1\u7406 */
1554
1640
  Atom.useComplexState = useComplexState;
1555
1641
 
1642
+ /** \u76F8\u5BF9loading */
1643
+ Atom.Loading = AtomLoading;
1644
+
1556
1645
  if (process.env.NODE_ENV !== 'production') {
1557
1646
  Atom.displayName = 'CcsAtom';
1558
1647
  }
1559
1648
 
1560
1649
  export default Atom;
1561
- `},68666:function(h,n){"use strict";n.Z=`import { theme as antTheme } from 'antd';
1650
+ `},68666:function(g,n){"use strict";n.Z=`import { theme as antTheme } from 'antd';
1562
1651
  import { SizeType } from 'antd/es/config-provider/SizeContext';
1563
1652
  import classNames from 'classnames';
1564
1653
  import { PropsWithChildren, PropsWithCss } from '../ccs';
@@ -1596,12 +1685,34 @@ export default function AtomItem({
1596
1685
  </div>
1597
1686
  );
1598
1687
  }
1599
- `},63013:function(h,n){"use strict";n.Z=`import { ColumnHeightOutlined, RedoOutlined } from '@ant-design/icons';
1688
+ `},91680:function(g,n){"use strict";n.Z=`import { LoadingOutlined } from '@ant-design/icons';
1689
+ import { Space, Spin } from 'antd';
1690
+ import { AtomLoadingProps } from './_api';
1691
+
1692
+ const AtomLoading = ({ loading, loadingTip }: AtomLoadingProps) => {
1693
+ return loading ? (
1694
+ <div className="ccs-loading">
1695
+ <div className="ccs-loading-content ">
1696
+ <Space>
1697
+ <Spin indicator={<LoadingOutlined style={{ fontSize: 24 }} />} />
1698
+ {loadingTip}
1699
+ </Space>
1700
+ </div>
1701
+ </div>
1702
+ ) : null;
1703
+ };
1704
+
1705
+ if (process.env.NODE_ENV !== 'production') {
1706
+ AtomLoading.displayName = 'AtomLoading';
1707
+ }
1708
+
1709
+ export default AtomLoading;
1710
+ `},63013:function(g,n){"use strict";n.Z=`import { ColumnHeightOutlined, RedoOutlined } from '@ant-design/icons';
1600
1711
  import { Button, Dropdown, Tooltip } from 'antd';
1601
1712
  import classNames from 'classnames';
1602
1713
  import { classAtomPrefix } from '.';
1603
- import { CcsFullScreenButton } from '..';
1604
1714
  import { AtomOperationProps } from './_api';
1715
+ import AtomFullScreen from './full-screen';
1605
1716
  import ProBaseItem from './item';
1606
1717
 
1607
1718
  function AtomOperation<T>(props: AtomOperationProps<T>) {
@@ -1655,7 +1766,7 @@ function AtomOperation<T>(props: AtomOperationProps<T>) {
1655
1766
  </Tooltip>
1656
1767
  )}
1657
1768
  {parentHtmlId !== undefined && (
1658
- <CcsFullScreenButton parentHtmlId="ccs-pro-table" />
1769
+ <AtomFullScreen parentHtmlId="ccs-pro-table" />
1659
1770
  )}
1660
1771
  </div>
1661
1772
  </ProBaseItem>
@@ -1667,44 +1778,53 @@ if (process.env.NODE_ENV !== 'production') {
1667
1778
  }
1668
1779
 
1669
1780
  export default AtomOperation;
1670
- `},99021:function(h,n){"use strict";n.Z=`import { useDebounce, useSize } from 'ahooks';
1671
- import _debounce from 'lodash.debounce';
1672
- import React, { useCallback, useEffect, useRef } from 'react';
1781
+ `},99021:function(g,n){"use strict";n.Z=`import { useDebounce, useSize } from 'ahooks';
1782
+ import { useEffect, useRef } from 'react';
1673
1783
  import { AtomResizeProps, ResizeSize } from './_api';
1674
1784
 
1675
1785
  function ResizeObserver({
1676
1786
  onResize,
1677
- wait = 500,
1787
+ option,
1678
1788
  }: Omit<AtomResizeProps, 'targetRef'>) {
1679
1789
  const sizeRef = useRef<ResizeSize>();
1680
1790
  const ref = useRef<HTMLDivElement>(null);
1681
1791
  const size = useSize(ref);
1682
1792
 
1683
1793
  // \u76D1\u542C\u5BB9\u5668\u5C3A\u5BF8\u53D8\u5316
1684
- const handleOnResize = useCallback(_debounce(onResize, wait), []);
1794
+ const debouncedValue = useDebounce(size, {
1795
+ wait: 500,
1796
+ leading: false,
1797
+ trailing: true,
1798
+ ...option,
1799
+ });
1685
1800
 
1686
1801
  useEffect(() => {
1687
- if (size) {
1802
+ if (debouncedValue) {
1688
1803
  // \u907F\u514D\u9996\u6B21\u89E6\u53D1\u56DE\u8C03
1689
1804
  if (sizeRef.current) {
1690
- handleOnResize(size);
1805
+ onResize(debouncedValue);
1691
1806
  }
1692
- sizeRef.current = size;
1807
+ sizeRef.current = debouncedValue;
1693
1808
  }
1694
- }, [size?.height, size?.width]);
1809
+ }, [debouncedValue]);
1695
1810
 
1696
1811
  return <div ref={ref} />;
1697
1812
  }
1698
1813
 
1699
1814
  /** \u76D1\u542C\u5BB9\u5668\u5C3A\u5BF8\u53D8\u5316\uFF0C\u9632\u6296 */
1700
1815
  function ResizeObserverTarget({
1701
- wait = 500,
1816
+ option,
1702
1817
  targetRef,
1703
1818
  onResize,
1704
1819
  }: AtomResizeProps) {
1705
1820
  const sizeRef = useRef<ResizeSize>();
1706
1821
  const size = useSize(targetRef);
1707
- const debouncedValue = useDebounce(size, { wait });
1822
+ const debouncedValue = useDebounce(size, {
1823
+ wait: 500,
1824
+ leading: false,
1825
+ trailing: true,
1826
+ ...option,
1827
+ });
1708
1828
 
1709
1829
  useEffect(() => {
1710
1830
  if (debouncedValue) {
@@ -1731,8 +1851,8 @@ if (process.env.NODE_ENV !== 'production') {
1731
1851
  AtomResize.displayName = 'AtomResize';
1732
1852
  }
1733
1853
 
1734
- export default React.memo(AtomResize);
1735
- `},92649:function(h,n){"use strict";n.Z=`import { theme } from 'antd';
1854
+ export default AtomResize;
1855
+ `},92649:function(g,n){"use strict";n.Z=`import { theme } from 'antd';
1736
1856
  import { AtomTitleProps } from './_api';
1737
1857
  import ProBaseItem from './item';
1738
1858
 
@@ -1758,7 +1878,7 @@ export default function AtomTitle({
1758
1878
  </ProBaseItem>
1759
1879
  );
1760
1880
  }
1761
- `},84109:function(h,n){"use strict";n.Z=`import update, { Spec } from 'immutability-helper';
1881
+ `},84109:function(g,n){"use strict";n.Z=`import update, { Spec } from 'immutability-helper';
1762
1882
  import { useCallback, useState } from 'react';
1763
1883
 
1764
1884
  type Paths<T> = T extends object
@@ -1894,7 +2014,7 @@ export default function useComplexState<T>(
1894
2014
  reset,
1895
2015
  };
1896
2016
  }
1897
- `},71754:function(h,n){"use strict";n.Z=`import { useMemoizedFn } from 'ahooks';
2017
+ `},71754:function(g,n){"use strict";n.Z=`import { useMemoizedFn } from 'ahooks';
1898
2018
  import { useMemo, useState } from 'react';
1899
2019
  import CCS, { useCcsPage } from '..';
1900
2020
  import { RecordType } from '../ccs';
@@ -2064,7 +2184,7 @@ export default function usePageRequest<RecordType>({
2064
2184
 
2065
2185
  return { data, isAuth, onRequest, onChangeData };
2066
2186
  }
2067
- `},44403:function(h,n){"use strict";n.Z=`import { CcsAuth } from '@ccs-ui/rc-pro';
2187
+ `},44403:function(g,n){"use strict";n.Z=`import { CcsAuth } from '@ccs-ui/rc-pro';
2068
2188
 
2069
2189
  export default function Basic() {
2070
2190
  return (
@@ -2075,7 +2195,7 @@ export default function Basic() {
2075
2195
  </CcsAuth>
2076
2196
  );
2077
2197
  }
2078
- `},93722:function(h,n){"use strict";n.Z=`import { Modal } from 'antd';
2198
+ `},93722:function(g,n){"use strict";n.Z=`import { Modal } from 'antd';
2079
2199
  import { ReactElement, useEffect } from 'react';
2080
2200
  import { useCcsPage } from '..';
2081
2201
 
@@ -2121,7 +2241,7 @@ if (process.env.NODE_ENV !== 'production') {
2121
2241
  }
2122
2242
 
2123
2243
  export default CcsAuth;
2124
- `},45621:function(h,n){"use strict";n.Z=`import { ButtonProps as AntButtonProps } from 'antd';
2244
+ `},45621:function(g,n){"use strict";n.Z=`import { ButtonProps as AntButtonProps } from 'antd';
2125
2245
  import { ItemType } from 'antd/es/menu/interface';
2126
2246
  import { DropDownProps as AntDropDownProps } from 'antd/lib/dropdown';
2127
2247
  import { MenuInfo } from 'rc-menu/lib/interface';
@@ -2203,7 +2323,7 @@ export interface ButtonGroupProps {
2203
2323
  /** \u70B9\u51FB\u4E8B\u4EF6 */
2204
2324
  onClick?: GroupClick;
2205
2325
  }
2206
- `},13703:function(h,n){"use strict";n.Z=`import { Button, Space } from 'antd';
2326
+ `},13703:function(g,n){"use strict";n.Z=`import { Button, Space } from 'antd';
2207
2327
  import CcsButton from '..';
2208
2328
 
2209
2329
  export default function Basic() {
@@ -2249,7 +2369,7 @@ export default function Basic() {
2249
2369
  </Space>
2250
2370
  );
2251
2371
  }
2252
- `},17367:function(h,n){"use strict";n.Z=`import { DownOutlined, PlusOutlined } from '@ant-design/icons';
2372
+ `},17367:function(g,n){"use strict";n.Z=`import { DownOutlined, PlusOutlined } from '@ant-design/icons';
2253
2373
  import { ButtonProps, Space } from 'antd';
2254
2374
  import CcsButton from '..';
2255
2375
  import { GroupButtonItem } from '../_api';
@@ -2329,7 +2449,7 @@ export default function Basic() {
2329
2449
  </Space>
2330
2450
  );
2331
2451
  }
2332
- `},83450:function(h,n){"use strict";n.Z=`import { Dropdown } from 'antd';
2452
+ `},83450:function(g,n){"use strict";n.Z=`import { Dropdown } from 'antd';
2333
2453
  import React, { useMemo } from 'react';
2334
2454
  import { useCcsPage } from '..';
2335
2455
  import { DropdownMenuItemType, DropdownProps } from './_api';
@@ -2397,7 +2517,7 @@ export default function CssButtonDropdown({
2397
2517
  <></>
2398
2518
  );
2399
2519
  }
2400
- `},55736:function(h,n){"use strict";n.Z=`/* eslint-disable @typescript-eslint/no-unused-vars */
2520
+ `},55736:function(g,n){"use strict";n.Z=`/* eslint-disable @typescript-eslint/no-unused-vars */
2401
2521
  import { EllipsisOutlined, ExclamationCircleOutlined } from '@ant-design/icons';
2402
2522
  import { Button, Divider, Dropdown, Space } from 'antd';
2403
2523
  import { ModalStaticFunctions } from 'antd/es/modal/confirm';
@@ -2556,7 +2676,7 @@ export default function CssButtonGroup({
2556
2676
  </>
2557
2677
  );
2558
2678
  }
2559
- `},49202:function(h,n){"use strict";n.Z=`import { ExclamationCircleOutlined } from '@ant-design/icons';
2679
+ `},49202:function(g,n){"use strict";n.Z=`import { ExclamationCircleOutlined } from '@ant-design/icons';
2560
2680
  import { Button, Input, InputRef, Modal } from 'antd';
2561
2681
  import { ModalStaticFunctions } from 'antd/es/modal/confirm';
2562
2682
  import { useEffect, useRef } from 'react';
@@ -2696,7 +2816,7 @@ CcsButton.Group = CssButtonGroup;
2696
2816
  CcsButton.Dropdown = CssButtonDropdown;
2697
2817
 
2698
2818
  export default CcsButton;
2699
- `},20848:function(h,n){"use strict";n.Z=`import { CascaderProps as AntCascaderProps } from 'antd';
2819
+ `},20848:function(g,n){"use strict";n.Z=`import { CascaderProps as AntCascaderProps } from 'antd';
2700
2820
  import { NamePath } from 'antd/es/form/interface';
2701
2821
  import { CacheType } from '../ccs';
2702
2822
 
@@ -2713,7 +2833,7 @@ export type ApiCascaderProps = Omit<AntCascaderProps, 'fieldNames'> & {
2713
2833
  /** \u67E5\u8BE2\u8BF7\u6C42 */
2714
2834
  request?: (params?: any) => Promise<any>;
2715
2835
  };
2716
- `},20532:function(h,n){"use strict";n.Z=`import { CcsCascader } from '@ccs-ui/rc-pro';
2836
+ `},20532:function(g,n){"use strict";n.Z=`import { CcsCascader } from '@ccs-ui/rc-pro';
2717
2837
 
2718
2838
  function onQuery() {
2719
2839
  return new Promise((resolve) => {
@@ -2757,7 +2877,7 @@ export default () => {
2757
2877
  />
2758
2878
  );
2759
2879
  };
2760
- `},75309:function(h,n){"use strict";n.Z=`import { CcsCascader } from '@ccs-ui/rc-pro';
2880
+ `},75309:function(g,n){"use strict";n.Z=`import { CcsCascader } from '@ccs-ui/rc-pro';
2761
2881
  import { Button, Space } from 'antd';
2762
2882
  import { useState } from 'react';
2763
2883
 
@@ -2815,7 +2935,7 @@ export default () => {
2815
2935
  </Space>
2816
2936
  );
2817
2937
  };
2818
- `},57066:function(h,n){"use strict";n.Z=`import ApiCascader from './api';
2938
+ `},57066:function(g,n){"use strict";n.Z=`import ApiCascader from './api';
2819
2939
 
2820
2940
  const CcsCascader = () => <></>;
2821
2941
 
@@ -2827,7 +2947,7 @@ if (process.env.NODE_ENV !== 'production') {
2827
2947
  CcsCascader.Api = ApiCascader;
2828
2948
 
2829
2949
  export default CcsCascader;
2830
- `},37846:function(h,n){"use strict";n.Z=`import { CSSProperties, ReactElement, ReactNode } from 'react';
2950
+ `},37846:function(g,n){"use strict";n.Z=`import { CSSProperties, ReactElement, ReactNode } from 'react';
2831
2951
 
2832
2952
  // \u4EFB\u610F\u53C2\u6570\u7C7B\u578B
2833
2953
  type RecordType = Record<string, any>;
@@ -2882,15 +3002,13 @@ export * from './date-picker/_api';
2882
3002
  export * from './dialog/_api';
2883
3003
  export * from './editor/_api';
2884
3004
  export * from './form/_api';
2885
- export * from './layout-keep-alive/_api';
2886
- export * from './layout-single-page/_api';
2887
- export * from './loading/_api';
3005
+ export * from './page-layout/_api';
2888
3006
  export * from './pro-table/_api';
2889
3007
  export * from './pro-tabs/_api';
2890
3008
  export * from './select/_api';
2891
3009
  export * from './upload/_api';
2892
3010
  export * from './water-mark/_api';
2893
- `},12290:function(h,n){"use strict";n.Z=`import {
3011
+ `},12290:function(g,n){"use strict";n.Z=`import {
2894
3012
  blue,
2895
3013
  cyan,
2896
3014
  gray,
@@ -3020,7 +3138,7 @@ if (process.env.NODE_ENV !== 'production') {
3020
3138
  }
3021
3139
 
3022
3140
  export default CcsColorPicker;
3023
- `},23456:function(h,n){"use strict";n.Z=`import { darkTheme, defaultTheme } from '@ant-design/compatible';
3141
+ `},23456:function(g,n){"use strict";n.Z=`import { darkTheme, defaultTheme } from '@ant-design/compatible';
3024
3142
  import {
3025
3143
  theme as antTheme,
3026
3144
  App,
@@ -3158,7 +3276,7 @@ export default function CssAppConfig(props: AppConfigProps) {
3158
3276
  </App>
3159
3277
  );
3160
3278
  }
3161
- `},51412:function(h,n){"use strict";n.Z=`import { ConfigProviderProps } from 'antd';
3279
+ `},51412:function(g,n){"use strict";n.Z=`import { ConfigProviderProps } from 'antd';
3162
3280
  import { Store } from 'antd/es/form/interface';
3163
3281
  import React from 'react';
3164
3282
  import { Location } from 'react-router';
@@ -3262,7 +3380,7 @@ export type AppConfigType = {
3262
3380
  */
3263
3381
  fieldNames?: AppFieldNames;
3264
3382
  };
3265
- `},45757:function(h,n){"use strict";n.Z=`import React, { createContext } from 'react';
3383
+ `},45757:function(g,n){"use strict";n.Z=`import React, { createContext } from 'react';
3266
3384
  import { TabsContextType } from '../pro-tabs/_api';
3267
3385
  import { AppConfigType, FnContextType, PageContextType } from './_api';
3268
3386
 
@@ -3276,7 +3394,7 @@ const TabsContext = React.createContext({} as TabsContextType);
3276
3394
  const AppConfigContext = React.createContext<AppConfigType>({} as any);
3277
3395
 
3278
3396
  export { AppConfigContext, DrawerAndModalContext, PageContext, TabsContext };
3279
- `},797:function(h,n){"use strict";n.Z=`import { DatePickerProps as AntdDatePickerProps } from 'antd';
3397
+ `},797:function(g,n){"use strict";n.Z=`import { DatePickerProps as AntdDatePickerProps } from 'antd';
3280
3398
  import { RangePickerProps as AntdRangePickerProps } from 'antd/es/date-picker';
3281
3399
 
3282
3400
  /**
@@ -3297,7 +3415,7 @@ export type RangePickerProps = {
3297
3415
  picker?: 'year' | 'month' | 'date';
3298
3416
  onChange?: (e: [string, string]) => void;
3299
3417
  } & Omit<AntdRangePickerProps, 'value' | 'onChange'>;
3300
- `},29634:function(h,n){"use strict";n.Z=`import { CcsDatePicker } from '@ccs-ui/rc-pro';
3418
+ `},29634:function(g,n){"use strict";n.Z=`import { CcsDatePicker } from '@ccs-ui/rc-pro';
3301
3419
  import { Form } from 'antd';
3302
3420
 
3303
3421
  export default () => {
@@ -3328,7 +3446,7 @@ export default () => {
3328
3446
  </Form>
3329
3447
  );
3330
3448
  };
3331
- `},49277:function(h,n){"use strict";n.Z=`import { CcsDatePicker } from '@ccs-ui/rc-pro';
3449
+ `},49277:function(g,n){"use strict";n.Z=`import { CcsDatePicker } from '@ccs-ui/rc-pro';
3332
3450
  import { Form } from 'antd';
3333
3451
 
3334
3452
  export default () => {
@@ -3368,7 +3486,7 @@ export default () => {
3368
3486
  </Form>
3369
3487
  );
3370
3488
  };
3371
- `},45645:function(h,n){"use strict";n.Z=`import {
3489
+ `},45645:function(g,n){"use strict";n.Z=`import {
3372
3490
  DatePickerProps as AntdDatePickerProps,
3373
3491
  DatePicker,
3374
3492
  TimeRangePickerProps,
@@ -3435,7 +3553,7 @@ if (process.env.NODE_ENV !== 'production') {
3435
3553
  }
3436
3554
 
3437
3555
  export default CcsDatePicker;
3438
- `},95933:function(h,n){"use strict";n.Z=`import { Drawer } from 'antd';
3556
+ `},95933:function(g,n){"use strict";n.Z=`import { Drawer } from 'antd';
3439
3557
  import classNames from 'classnames';
3440
3558
  import { useImperativeHandle, useMemo, useRef, useState } from 'react';
3441
3559
  import { useInsertCss } from '../hooks/use-insert-css';
@@ -3591,7 +3709,7 @@ const HookDrawer = <TParams, TData>(
3591
3709
  };
3592
3710
 
3593
3711
  export default HookDrawer;
3594
- `},40656:function(h,n){"use strict";n.Z=`import { Modal } from 'antd';
3712
+ `},40656:function(g,n){"use strict";n.Z=`import { Modal } from 'antd';
3595
3713
  import classNames from 'classnames';
3596
3714
  import React, {
3597
3715
  Dispatch,
@@ -3792,7 +3910,7 @@ const HookModal = <TParams, TData>(
3792
3910
  };
3793
3911
 
3794
3912
  export default HookModal;
3795
- `},35987:function(h,n){"use strict";n.Z=`import { DrawerProps, FormProps, ModalFuncProps } from 'antd';
3913
+ `},35987:function(g,n){"use strict";n.Z=`import { DrawerProps, FormProps, ModalFuncProps } from 'antd';
3796
3914
  import { Store } from 'antd/es/form/interface';
3797
3915
  import { ReactNode, RefObject } from 'react';
3798
3916
  import CCS from '..';
@@ -3930,7 +4048,7 @@ export interface DialogContextType<T = Store> {
3930
4048
  /** \u786E\u5B9A\u56DE\u8C03 */
3931
4049
  onOkCallBack: OkEvent<any, any> | undefined;
3932
4050
  }
3933
- `},80886:function(h,n){"use strict";n.Z=`import CcsUtils from '@ccs-ui/utils';
4051
+ `},80886:function(g,n){"use strict";n.Z=`import CcsUtils from '@ccs-ui/utils';
3934
4052
  import { Button, Form, FormProps } from 'antd';
3935
4053
  import React, {
3936
4054
  RefObject,
@@ -4179,7 +4297,7 @@ export default function CcsDialogButtons<TParams>({
4179
4297
 
4180
4298
  return <></>;
4181
4299
  }
4182
- `},70052:function(h,n){"use strict";n.Z=`import { Store } from 'antd/es/form/interface';
4300
+ `},70052:function(g,n){"use strict";n.Z=`import { Store } from 'antd/es/form/interface';
4183
4301
  import React, { useContext } from 'react';
4184
4302
  import { DialogContextType } from './_api';
4185
4303
 
@@ -4197,7 +4315,7 @@ const useDialogContext = <T = Store>() => {
4197
4315
  };
4198
4316
 
4199
4317
  export { DialogContentContext, useDialogContext };
4200
- `},58254:function(h,n){"use strict";n.Z=`import { CcsDialog } from '@ccs-ui/rc-pro';
4318
+ `},58254:function(g,n){"use strict";n.Z=`import { CcsDialog } from '@ccs-ui/rc-pro';
4201
4319
  import { Button, DrawerProps, Dropdown, MenuProps, Space } from 'antd';
4202
4320
 
4203
4321
  const items = [
@@ -4253,7 +4371,7 @@ export default function DialogBasic() {
4253
4371
  </Space>
4254
4372
  );
4255
4373
  }
4256
- `},26260:function(h,n){"use strict";n.Z=`import { CcsDialog } from '@ccs-ui/rc-pro';
4374
+ `},26260:function(g,n){"use strict";n.Z=`import { CcsDialog } from '@ccs-ui/rc-pro';
4257
4375
  import { DialogDrawer, DialogModal } from '@ccs-ui/rc-pro/dialog/_api';
4258
4376
  import { Button, Select, Space } from 'antd';
4259
4377
  import { useEffect, useRef } from 'react';
@@ -4316,7 +4434,7 @@ export default function DialogCache() {
4316
4434
  </Space>
4317
4435
  );
4318
4436
  }
4319
- `},77697:function(h,n){"use strict";n.Z=`import { CcsDialog } from '@ccs-ui/rc-pro';
4437
+ `},77697:function(g,n){"use strict";n.Z=`import { CcsDialog } from '@ccs-ui/rc-pro';
4320
4438
  import { Button, Form, Input, Space } from 'antd';
4321
4439
 
4322
4440
  const FormItem = Form.Item;
@@ -4431,7 +4549,7 @@ export default function DialogForm() {
4431
4549
  </Space>
4432
4550
  );
4433
4551
  }
4434
- `},91015:function(h,n){"use strict";n.Z=`import { CcsDialog } from '@ccs-ui/rc-pro';
4552
+ `},91015:function(g,n){"use strict";n.Z=`import { CcsDialog } from '@ccs-ui/rc-pro';
4435
4553
  import { useRequest } from 'ahooks';
4436
4554
  import { Button, Form, Input, Space } from 'antd';
4437
4555
  import useFormInstance from 'antd/es/form/hooks/useFormInstance';
@@ -4596,7 +4714,7 @@ export default function DialogFormCustom() {
4596
4714
  </Space>
4597
4715
  );
4598
4716
  }
4599
- `},24606:function(h,n){"use strict";n.Z=`import { CcsAppConfig, CcsDialog } from '@ccs-ui/rc-pro';
4717
+ `},24606:function(g,n){"use strict";n.Z=`import { CcsAppConfig, CcsDialog } from '@ccs-ui/rc-pro';
4600
4718
  import { Button } from 'antd';
4601
4719
 
4602
4720
  const mp = {
@@ -4658,7 +4776,7 @@ export default function DialogPrompt() {
4658
4776
  </CcsAppConfig>
4659
4777
  );
4660
4778
  }
4661
- `},4027:function(h,n){"use strict";n.Z=`import { CcsAppConfig } from '@ccs-ui/rc-pro';
4779
+ `},4027:function(g,n){"use strict";n.Z=`import { CcsAppConfig } from '@ccs-ui/rc-pro';
4662
4780
  import { Divider } from 'antd';
4663
4781
  import Basic from './Basic';
4664
4782
  import Cache from './Cache';
@@ -4684,7 +4802,7 @@ export default () => {
4684
4802
  </CcsAppConfig>
4685
4803
  );
4686
4804
  };
4687
- `},82759:function(h,n){"use strict";n.Z=`import { RefObject, useEffect, useImperativeHandle, useState } from 'react';
4805
+ `},82759:function(g,n){"use strict";n.Z=`import { RefObject, useEffect, useImperativeHandle, useState } from 'react';
4688
4806
  import CcsDialog from '.';
4689
4807
  import { DialogButtonsProps } from './_api';
4690
4808
  import { DialogButtonRef } from './button';
@@ -4717,7 +4835,7 @@ export default function CcsDrawerFooter({ children }: DialogButtonsProps) {
4717
4835
 
4718
4836
  return null;
4719
4837
  }
4720
- `},28013:function(h,n){"use strict";n.Z=`import { Form, FormInstance, FormProps } from 'antd';
4838
+ `},28013:function(g,n){"use strict";n.Z=`import { Form, FormInstance, FormProps } from 'antd';
4721
4839
  import React, { ReactNode, useImperativeHandle } from 'react';
4722
4840
 
4723
4841
  type PropsType<TParams> = {
@@ -4761,7 +4879,7 @@ const DialogForm = <TParams,>({
4761
4879
  };
4762
4880
 
4763
4881
  export default DialogForm;
4764
- `},98314:function(h,n){"use strict";n.Z=`/* eslint-disable @typescript-eslint/ban-types */
4882
+ `},98314:function(g,n){"use strict";n.Z=`/* eslint-disable @typescript-eslint/ban-types */
4765
4883
  import CcsUtils from '@ccs-ui/utils';
4766
4884
  import _debounce from 'lodash.debounce';
4767
4885
  import React from 'react';
@@ -5048,7 +5166,7 @@ export default function useCcsDialog(): CcsDialogType {
5048
5166
  contextHolder: <DialogElementsHolder key="modal-holder" ref={holderRef} />,
5049
5167
  };
5050
5168
  }
5051
- `},43022:function(h,n){"use strict";n.Z=`import ThemeDialog from '../theme-dialog';
5169
+ `},43022:function(g,n){"use strict";n.Z=`import ThemeDialog from '../theme-dialog';
5052
5170
  import { DialogInterface } from './_api';
5053
5171
  import CcsDialogButtons from './button';
5054
5172
  import { useDialogContext } from './context';
@@ -5075,7 +5193,7 @@ if (process.env.NODE_ENV !== 'production') {
5075
5193
  }
5076
5194
 
5077
5195
  export default CcsDialog;
5078
- `},96602:function(h,n){"use strict";n.Z=`/* eslint-disable @typescript-eslint/ban-types */
5196
+ `},96602:function(g,n){"use strict";n.Z=`/* eslint-disable @typescript-eslint/ban-types */
5079
5197
  import * as React from 'react';
5080
5198
 
5081
5199
  export default function usePatchElement(): [
@@ -5099,7 +5217,7 @@ export default function usePatchElement(): [
5099
5217
 
5100
5218
  return [elements, patchElement];
5101
5219
  }
5102
- `},2142:function(h,n){"use strict";n.Z=`import { InitialConfigType } from '@lexical/react/LexicalComposer';
5220
+ `},2142:function(g,n){"use strict";n.Z=`import { InitialConfigType } from '@lexical/react/LexicalComposer';
5103
5221
  import { ReactCodeMirrorProps } from '@uiw/react-codemirror';
5104
5222
  import { InputProps } from 'antd';
5105
5223
  import { EditorState, LexicalEditor } from 'lexical';
@@ -5166,7 +5284,7 @@ export type EditorRichProps = Omit<
5166
5284
  /** \u4E3B\u9898 */
5167
5285
  theme?: AppConfigType['theme'];
5168
5286
  };
5169
- `},46345:function(h,n){"use strict";n.Z=`import CodeMirror from '@uiw/react-codemirror';
5287
+ `},46345:function(g,n){"use strict";n.Z=`import CodeMirror from '@uiw/react-codemirror';
5170
5288
  import classNames from 'classnames';
5171
5289
  import useAppConfig from '../hooks/use-app';
5172
5290
  import useInputCss from '../hooks/use-input-css';
@@ -5211,7 +5329,7 @@ export default function BaseCodeMirror({
5211
5329
  />
5212
5330
  );
5213
5331
  }
5214
- `},49960:function(h,n){"use strict";n.Z=`.ccs-editor {
5332
+ `},49960:function(g,n){"use strict";n.Z=`.ccs-editor {
5215
5333
  .cm-editor {
5216
5334
  height: 100%;
5217
5335
  outline: none !important;
@@ -5227,7 +5345,7 @@ export default function BaseCodeMirror({
5227
5345
  background: transparent;
5228
5346
  }
5229
5347
  }
5230
- `},25232:function(h,n){"use strict";n.Z=`import { CcsEditor } from '@ccs-ui/rc-pro';
5348
+ `},25232:function(g,n){"use strict";n.Z=`import { CcsEditor } from '@ccs-ui/rc-pro';
5231
5349
  import { Radio } from 'antd';
5232
5350
  import { Variant } from 'antd/es/config-provider';
5233
5351
  import { useState } from 'react';
@@ -5305,7 +5423,7 @@ export default () => {
5305
5423
  </>
5306
5424
  );
5307
5425
  };
5308
- `},46912:function(h,n){"use strict";n.Z=`import { CcsEditor } from '@ccs-ui/rc-pro';
5426
+ `},46912:function(g,n){"use strict";n.Z=`import { CcsEditor } from '@ccs-ui/rc-pro';
5309
5427
  import { Radio } from 'antd';
5310
5428
  import { Variant } from 'antd/es/config-provider';
5311
5429
  import { useState } from 'react';
@@ -5355,7 +5473,7 @@ export default () => {
5355
5473
  </>
5356
5474
  );
5357
5475
  };
5358
- `},36878:function(h,n){"use strict";n.Z=`import JavaScriptEditor from './javascript';
5476
+ `},36878:function(g,n){"use strict";n.Z=`import JavaScriptEditor from './javascript';
5359
5477
  import JsonEditor from './json';
5360
5478
  import EditorRich from './rich';
5361
5479
  import SqlEditor from './sql';
@@ -5389,13 +5507,13 @@ if (process.env.NODE_ENV !== 'production') {
5389
5507
  Editor.Rich = EditorRich;
5390
5508
 
5391
5509
  export default Editor;
5392
- `},85609:function(h,n){"use strict";n.Z=`import { javascript } from '@codemirror/lang-javascript';
5510
+ `},85609:function(g,n){"use strict";n.Z=`import { javascript } from '@codemirror/lang-javascript';
5393
5511
  import { EditorCodeProps } from './_api';
5394
5512
  import BaseEditor from './code-base';
5395
5513
  export default function JavaScriptEditor(props: EditorCodeProps) {
5396
5514
  return <BaseEditor {...props} extensions={[javascript({ jsx: true })]} />;
5397
5515
  }
5398
- `},94975:function(h,n){"use strict";n.Z=`import { json } from '@codemirror/lang-json';
5516
+ `},94975:function(g,n){"use strict";n.Z=`import { json } from '@codemirror/lang-json';
5399
5517
  import { syntaxTree } from '@codemirror/language';
5400
5518
  import { Diagnostic, linter } from '@codemirror/lint';
5401
5519
  import { EditorCodeProps } from './_api';
@@ -5420,7 +5538,7 @@ const regexpLinter = linter((view) => {
5420
5538
  export default function JsonEditor(props: EditorCodeProps) {
5421
5539
  return <BaseEditor {...props} extensions={[json(), regexpLinter]} />;
5422
5540
  }
5423
- `},47285:function(h,n){"use strict";n.Z=`.css-editor-rich {
5541
+ `},47285:function(g,n){"use strict";n.Z=`.css-editor-rich {
5424
5542
  display: flex;
5425
5543
  flex-direction: column;
5426
5544
  position: relative;
@@ -5724,7 +5842,7 @@ export default function JsonEditor(props: EditorCodeProps) {
5724
5842
  top: 4px;
5725
5843
  }
5726
5844
  }
5727
- `},37634:function(h,n){"use strict";n.Z=`import { useAppConfig } from '@ccs-ui/rc-pro';
5845
+ `},37634:function(g,n){"use strict";n.Z=`import { useAppConfig } from '@ccs-ui/rc-pro';
5728
5846
  import useInputCss from '@ccs-ui/rc-pro/hooks/use-input-css';
5729
5847
  import { LexicalComposer } from '@lexical/react/LexicalComposer';
5730
5848
  import { ContentEditable } from '@lexical/react/LexicalContentEditable';
@@ -5807,7 +5925,7 @@ export default function LexicalEditorBase({
5807
5925
  </EditorRichContext.Provider>
5808
5926
  );
5809
5927
  }
5810
- `},20466:function(h,n){"use strict";n.Z=`const MIN_ALLOWED_FONT_SIZE = 8;
5928
+ `},20466:function(g,n){"use strict";n.Z=`const MIN_ALLOWED_FONT_SIZE = 8;
5811
5929
  const MAX_ALLOWED_FONT_SIZE = 72;
5812
5930
 
5813
5931
  export const parseAllowedFontSize = (input: string): string => {
@@ -5824,7 +5942,7 @@ export const parseAllowedFontSize = (input: string): string => {
5824
5942
  export function parseAllowedColor(input: string) {
5825
5943
  return /^rgb\\(\\d+, \\d+, \\d+\\)$/.test(input) ? input : '';
5826
5944
  }
5827
- `},58988:function(h,n){"use strict";n.Z=`import { CheckOutlined, CloseOutlined } from '@ant-design/icons';
5945
+ `},58988:function(g,n){"use strict";n.Z=`import { CheckOutlined, CloseOutlined } from '@ant-design/icons';
5828
5946
  import { Button, Input, theme } from 'antd';
5829
5947
  import { useState } from 'react';
5830
5948
 
@@ -5869,7 +5987,7 @@ export default function CodeEdit({
5869
5987
  </div>
5870
5988
  );
5871
5989
  }
5872
- `},49811:function(h,n){"use strict";n.Z=`import {
5990
+ `},49811:function(g,n){"use strict";n.Z=`import {
5873
5991
  AlignCenterOutlined,
5874
5992
  AlignLeftOutlined,
5875
5993
  AlignRightOutlined,
@@ -6461,7 +6579,7 @@ export default function ToolbarPlugin({ style, disabled }: PropsType) {
6461
6579
  </div>
6462
6580
  );
6463
6581
  }
6464
- `},62989:function(h,n){"use strict";n.Z=`import { CcsForm } from '@ccs-ui/rc-pro';
6582
+ `},62989:function(g,n){"use strict";n.Z=`import { CcsForm } from '@ccs-ui/rc-pro';
6465
6583
  import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext';
6466
6584
  import { Form, Input, Modal, Radio } from 'antd';
6467
6585
  import { $getNodeByKey } from 'lexical';
@@ -6678,7 +6796,7 @@ export default function UploadModal({
6678
6796
  </>
6679
6797
  );
6680
6798
  }
6681
- `},74610:function(h,n){"use strict";n.Z=`import { useState } from 'react';
6799
+ `},74610:function(g,n){"use strict";n.Z=`import { useState } from 'react';
6682
6800
  import UploadModal from '../../base/toolbar/upload';
6683
6801
  import { ImageNodeType } from './ImageNode';
6684
6802
 
@@ -6720,7 +6838,7 @@ export default function ImageComponent({
6720
6838
  </>
6721
6839
  );
6722
6840
  }
6723
- `},87173:function(h,n){"use strict";n.Z=`import { DecoratorNode, LexicalNode } from 'lexical';
6841
+ `},87173:function(g,n){"use strict";n.Z=`import { DecoratorNode, LexicalNode } from 'lexical';
6724
6842
  import * as React from 'react';
6725
6843
  import { Suspense } from 'react';
6726
6844
 
@@ -6888,7 +7006,7 @@ function convertImageElement(domNode: ImageNodeType) {
6888
7006
  export function $isImageNode(node: LexicalNode) {
6889
7007
  return node instanceof ImageNode;
6890
7008
  }
6891
- `},95791:function(h,n){"use strict";n.Z=`import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext';
7009
+ `},95791:function(g,n){"use strict";n.Z=`import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext';
6892
7010
  import { $insertNodes, COMMAND_PRIORITY_EDITOR, createCommand } from 'lexical';
6893
7011
  import { useEffect } from 'react';
6894
7012
  import { $createImageNode } from './ImageNode';
@@ -6915,7 +7033,7 @@ export default function PluginImage() {
6915
7033
 
6916
7034
  return null;
6917
7035
  }
6918
- `},1731:function(h,n){"use strict";n.Z=`import { $generateHtmlFromNodes, $generateNodesFromDOM } from '@lexical/html';
7036
+ `},1731:function(g,n){"use strict";n.Z=`import { $generateHtmlFromNodes, $generateNodesFromDOM } from '@lexical/html';
6919
7037
  import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext';
6920
7038
  import { $getRoot, $insertNodes } from 'lexical';
6921
7039
  import { useEffect } from 'react';
@@ -6948,7 +7066,7 @@ const PluginInitHtml = ({ value }: { value?: string }) => {
6948
7066
  };
6949
7067
 
6950
7068
  export default PluginInitHtml;
6951
- `},82227:function(h,n){"use strict";n.Z=`import { $isLinkNode } from '@lexical/link';
7069
+ `},82227:function(g,n){"use strict";n.Z=`import { $isLinkNode } from '@lexical/link';
6952
7070
  import { $isListItemNode, $isListNode } from '@lexical/list';
6953
7071
  import { $isHeadingNode, $isQuoteNode } from '@lexical/rich-text';
6954
7072
  import {
@@ -7076,7 +7194,7 @@ export function $onGenerateHTML(editor: LexicalEditor): string {
7076
7194
 
7077
7195
  return html;
7078
7196
  }
7079
- `},88535:function(h,n){"use strict";n.Z=`import { LinkNode } from '@lexical/link';
7197
+ `},88535:function(g,n){"use strict";n.Z=`import { LinkNode } from '@lexical/link';
7080
7198
  import { ListItemNode, ListNode } from '@lexical/list';
7081
7199
  import { InitialConfigType } from '@lexical/react/LexicalComposer';
7082
7200
  import { HeadingNode, QuoteNode } from '@lexical/rich-text';
@@ -7246,7 +7364,7 @@ export default function EditorRich({
7246
7364
  />
7247
7365
  );
7248
7366
  }
7249
- `},91255:function(h,n){"use strict";n.Z=`export default {
7367
+ `},91255:function(g,n){"use strict";n.Z=`export default {
7250
7368
  code: 'editor-code',
7251
7369
  heading: {
7252
7370
  h1: 'editor-heading-h1',
@@ -7284,28 +7402,28 @@ export default function EditorRich({
7284
7402
  ltr: 'editor-ltr',
7285
7403
  rtl: 'editor-rtl',
7286
7404
  };
7287
- `},53986:function(h,n){"use strict";n.Z=`import { sql } from '@codemirror/lang-sql';
7405
+ `},53986:function(g,n){"use strict";n.Z=`import { sql } from '@codemirror/lang-sql';
7288
7406
  import { EditorCodeProps } from './_api';
7289
7407
  import BaseEditor from './code-base';
7290
7408
 
7291
7409
  export default function SqlEditor(props: EditorCodeProps) {
7292
7410
  return <BaseEditor {...props} extensions={[sql()]} />;
7293
7411
  }
7294
- `},26834:function(h,n){"use strict";n.Z=`import { xml } from '@codemirror/lang-xml';
7412
+ `},26834:function(g,n){"use strict";n.Z=`import { xml } from '@codemirror/lang-xml';
7295
7413
  import { EditorCodeProps } from './_api';
7296
7414
  import BaseEditor from './code-base';
7297
7415
 
7298
7416
  export default function XmlEditor(props: EditorCodeProps) {
7299
7417
  return <BaseEditor {...props} extensions={[xml()]} />;
7300
7418
  }
7301
- `},5093:function(h,n){"use strict";n.Z=`import { yaml } from '@codemirror/lang-yaml';
7419
+ `},5093:function(g,n){"use strict";n.Z=`import { yaml } from '@codemirror/lang-yaml';
7302
7420
  import { EditorCodeProps } from './_api';
7303
7421
  import BaseEditor from './code-base';
7304
7422
 
7305
7423
  export default function YamlEditor(props: EditorCodeProps) {
7306
7424
  return <BaseEditor {...props} extensions={[yaml()]} />;
7307
7425
  }
7308
- `},29060:function(h,n){"use strict";n.Z=`import {
7426
+ `},29060:function(g,n){"use strict";n.Z=`import {
7309
7427
  FormItemProps as AntdFormItemProps,
7310
7428
  ButtonProps,
7311
7429
  Form,
@@ -7406,7 +7524,7 @@ export type FormListProps = PropsWithCss & {
7406
7524
 
7407
7525
  /** \u5217\u8868\u9879\u5220\u9664\u6309\u94AE */
7408
7526
  export type ListItemBtnProps = Omit<ButtonProps, 'onClick'> & {};
7409
- `},7570:function(h,n){"use strict";n.Z=`import { CcsDatePicker, CcsForm } from '@ccs-ui/rc-pro';
7527
+ `},7570:function(g,n){"use strict";n.Z=`import { CcsDatePicker, CcsForm } from '@ccs-ui/rc-pro';
7410
7528
  import { Button, Form, Input, Select, Space } from 'antd';
7411
7529
  import { useEffect } from 'react';
7412
7530
  import { FormItemChildren } from '../_api';
@@ -7535,7 +7653,7 @@ export default function DemoApp() {
7535
7653
  </>
7536
7654
  );
7537
7655
  }
7538
- `},2379:function(h,n){"use strict";n.Z=`import { useUpdateEffect } from 'ahooks';
7656
+ `},2379:function(g,n){"use strict";n.Z=`import { useUpdateEffect } from 'ahooks';
7539
7657
  import { Form } from 'antd';
7540
7658
  import { FormInstance, Rule } from 'antd/es/form';
7541
7659
  import { NamePath } from 'antd/es/form/interface';
@@ -7791,7 +7909,7 @@ export default function FormItem({
7791
7909
  </>
7792
7910
  );
7793
7911
  }
7794
- `},53019:function(h,n){"use strict";n.Z=`import {
7912
+ `},53019:function(g,n){"use strict";n.Z=`import {
7795
7913
  DragOutlined,
7796
7914
  MinusCircleOutlined,
7797
7915
  PlusOutlined,
@@ -7921,7 +8039,7 @@ export default function FormList({
7921
8039
 
7922
8040
  return renderList;
7923
8041
  }
7924
- `},57414:function(h,n){"use strict";n.Z=`import { useContext } from 'react';
8042
+ `},57414:function(g,n){"use strict";n.Z=`import { useContext } from 'react';
7925
8043
  import { AppConfigContext } from '../context';
7926
8044
 
7927
8045
  /**
@@ -7964,7 +8082,7 @@ export const useBaseFields = () => {
7964
8082
  };
7965
8083
 
7966
8084
  export default useAppConfig;
7967
- `},63406:function(h,n){"use strict";n.Z=`import { theme as antTheme } from 'antd';
8085
+ `},63406:function(g,n){"use strict";n.Z=`import { theme as antTheme } from 'antd';
7968
8086
  import { InputProps } from 'antd/lib';
7969
8087
  import { CSSProperties, useMemo, useState } from 'react';
7970
8088
  import { AppConfigType, EditorStyles } from '../ccs';
@@ -8076,7 +8194,7 @@ export default function useInputCss({
8076
8194
  onActived: setActived,
8077
8195
  } as InputCssResult;
8078
8196
  }
8079
- `},5766:function(h,n){"use strict";n.Z=`import { insertCss } from 'insert-css';
8197
+ `},5766:function(g,n){"use strict";n.Z=`import { insertCss } from 'insert-css';
8080
8198
  import { useEffect } from 'react';
8081
8199
  import useAppConfig from './use-app';
8082
8200
 
@@ -8099,7 +8217,7 @@ export function useInsertCss(
8099
8217
  insertCss(csss.join(''));
8100
8218
  }, []);
8101
8219
  }
8102
- `},80659:function(h,n){"use strict";n.Z=`/* eslint-disable @typescript-eslint/ban-types */
8220
+ `},80659:function(g,n){"use strict";n.Z=`/* eslint-disable @typescript-eslint/ban-types */
8103
8221
  import { useRef } from 'react';
8104
8222
 
8105
8223
  const useOnceEvent = (fn: (...params: any) => void) => {
@@ -8116,7 +8234,7 @@ const useOnceEvent = (fn: (...params: any) => void) => {
8116
8234
  };
8117
8235
 
8118
8236
  export default useOnceEvent;
8119
- `},38712:function(h,n){"use strict";n.Z=`import { useContext } from 'react';
8237
+ `},38712:function(g,n){"use strict";n.Z=`import { useContext } from 'react';
8120
8238
  import { PageContext } from '../context';
8121
8239
 
8122
8240
  const usePage = () => {
@@ -8128,7 +8246,7 @@ const usePage = () => {
8128
8246
  };
8129
8247
 
8130
8248
  export default usePage;
8131
- `},13853:function(h,n){"use strict";n.Z=`import { useMemoizedFn, useUpdateEffect } from 'ahooks';
8249
+ `},13853:function(g,n){"use strict";n.Z=`import { useMemoizedFn, useUpdateEffect } from 'ahooks';
8132
8250
  import { SelectProps } from 'antd';
8133
8251
  import { RowSelectMethod, TableRowSelection } from 'antd/es/table/interface';
8134
8252
  import React, { useEffect, useRef, useState } from 'react';
@@ -8302,7 +8420,7 @@ export default function useTableSelection<T = any>(
8302
8420
  onClearByProTable: onClear,
8303
8421
  };
8304
8422
  }
8305
- `},67634:function(h,n){"use strict";n.Z=`import { useContext } from 'react';
8423
+ `},67634:function(g,n){"use strict";n.Z=`import { useContext } from 'react';
8306
8424
  import { TabsContext } from '../context';
8307
8425
 
8308
8426
  const useTabs = () => {
@@ -8314,7 +8432,7 @@ const useTabs = () => {
8314
8432
  };
8315
8433
 
8316
8434
  export default useTabs;
8317
- `},30960:function(h,n){"use strict";n.Z=`import { Store } from 'antd/es/form/interface';
8435
+ `},30960:function(g,n){"use strict";n.Z=`import { Store } from 'antd/es/form/interface';
8318
8436
  import { useContext } from 'react';
8319
8437
  import { FnContextType } from '../ccs';
8320
8438
  import { DrawerAndModalContext } from '../context';
@@ -8332,9 +8450,8 @@ const useCcsWindow = <T = Store>() => {
8332
8450
  };
8333
8451
 
8334
8452
  export default useCcsWindow;
8335
- `},21460:function(h,n){"use strict";n.Z=`export { default as CcsAjCaptcha } from './aj-captcha';
8453
+ `},21460:function(g,n){"use strict";n.Z=`export { default as CcsAjCaptcha } from './aj-captcha';
8336
8454
  export { default as CcsAtom } from './atom';
8337
- export { default as CcsFullScreenButton } from './atom/full-screen';
8338
8455
  export { default as CcsAuth } from './auth';
8339
8456
  export { default as CcsButton } from './button';
8340
8457
  export { default as CcsCascader } from './cascader';
@@ -8343,7 +8460,6 @@ export { default as CcsAppConfig } from './config';
8343
8460
  export { default as CcsDatePicker } from './date-picker';
8344
8461
  export { default as CcsDialog } from './dialog';
8345
8462
  export { default as CcsEditor } from './editor';
8346
- // export { default as CcsEllipsis } from './ellipsis';
8347
8463
  export { default as CcsForm } from './form';
8348
8464
  export { default as useAppConfig } from './hooks/use-app';
8349
8465
  export { default as useCcsOnceEvent } from './hooks/use-once-event';
@@ -8351,10 +8467,9 @@ export { default as useCcsPage } from './hooks/use-page';
8351
8467
  export { default as useTableSelection } from './hooks/use-selection';
8352
8468
  export { default as useCcsTabs } from './hooks/use-tabs';
8353
8469
  export { default as useCcsWindow } from './hooks/use-window';
8354
- export { default as CcsIntervalButton } from './interval-button';
8355
- export { default as CcsKeepAliveTabs } from './layout-keep-alive';
8356
- export { default as CcsSinglePage } from './layout-single-page';
8357
- export { default as CcsLoading } from './loading';
8470
+ export { default as CcsPageLayout } from './page-layout';
8471
+ export { default as CcsKeepAliveTabs } from './page-layout/keep-alive';
8472
+ export { default as CcsSinglePage } from './page-layout/single-page';
8358
8473
  export { default as CcsProTable } from './pro-table';
8359
8474
  export { default as CcsProTabs } from './pro-tabs';
8360
8475
  export { default as CcsResult } from './result';
@@ -8366,124 +8481,9 @@ export { default as CcsUpload } from './upload';
8366
8481
  export { default as CcsWaterMark } from './water-mark';
8367
8482
  import * as CCS from './ccs';
8368
8483
  export default CCS;
8369
- `},94729:function(h,n){"use strict";n.Z=`import { useInterval } from 'ahooks';
8370
- import { Button, ButtonProps } from 'antd';
8371
- import {
8372
- ForwardedRef,
8373
- forwardRef,
8374
- useImperativeHandle,
8375
- useLayoutEffect,
8376
- useMemo,
8377
- useState,
8378
- } from 'react';
8379
-
8380
- type CcsIntervalButton = ButtonProps & {
8381
- /** \u8BA1\u65F6\u6570 */
8382
- num?: number;
8383
- /** \u5305\u542B\u5B57\u7B26\u4E32\`num\`\u7684\u6587\u672C\u5185\u5BB9 */
8384
- disabledText?: string;
8385
- /** \u7F13\u5B58key */
8386
- cacheKey?: string;
8387
- };
8388
-
8389
- export type IntervalBtnInstance = {
8390
- onStart: () => void;
8391
- };
8392
-
8393
- /**
8394
- * \u5012\u8BA1\u65F6\u6309\u94AE\u7EC4\u4EF6
8395
- * @param PropsType
8396
- * @param IntervalInstance
8397
- * @returns
8398
- */
8399
- function IntervalButton(
8400
- {
8401
- num = 60,
8402
- cacheKey,
8403
- disabledText,
8404
- children,
8405
- ...restProps
8406
- }: CcsIntervalButton,
8407
- ref: ForwardedRef<IntervalBtnInstance>,
8408
- ) {
8409
- const [count, setCount] = useState(-1);
8410
- const [codeInterval, setCodeInterval] = useState<any>(null);
8411
-
8412
- const key = useMemo(() => {
8413
- return cacheKey || window.location.host;
8414
- }, []);
8415
-
8416
- // \u5224\u65AD\u662F\u5426\u6709\u672A\u5B8C\u6210\u7684\u5012\u8BA1\u65F6
8417
- useLayoutEffect(() => {
8418
- const initNum = async () => {
8419
- const s: any = await localStorage.getItem(key);
8420
- if (s) {
8421
- const his = JSON.parse(s);
8422
- const currentTime = new Date().getTime();
8423
- const time = Math.round((currentTime - his.time) / 1000);
8424
- if (time < his.num) {
8425
- setCount(his.num - time);
8426
- setCodeInterval(1000);
8427
- return;
8428
- }
8429
- }
8430
- setCount(num);
8431
- };
8432
-
8433
- initNum();
8434
- }, []);
8435
-
8436
- // ahooks useInterval
8437
- useInterval(
8438
- () => {
8439
- if (count - 1 === 0) {
8440
- setCodeInterval(null);
8441
- setCount(num);
8442
- if (key) localStorage.removeItem(key);
8443
- return;
8444
- }
8445
-
8446
- setCount(count - 1);
8447
- },
8448
- codeInterval,
8449
- { immediate: true },
8450
- );
8451
-
8452
- const disabled = count !== 0 && count !== num;
8453
-
8454
- // \u5F00\u59CB\u8BA1\u65F6
8455
- const onStart = () => {
8456
- setCodeInterval(1000);
8457
- if (key) {
8458
- localStorage.setItem(
8459
- key,
8460
- JSON.stringify({ num, time: new Date().getTime() }),
8461
- );
8462
- }
8463
- };
8464
-
8465
- useImperativeHandle(ref, () => ({
8466
- onStart: onStart,
8467
- }));
8468
-
8469
- return count === -1 ? null : (
8470
- <Button
8471
- type="primary"
8472
- {...restProps}
8473
- onClick={restProps.onClick ? restProps.onClick : onStart}
8474
- disabled={restProps.disabled ? true : disabled}
8475
- >
8476
- {disabled ? \`\${count}\u79D2\${disabledText}\` : \`\${children}\`}
8477
- </Button>
8478
- );
8479
- }
8484
+ `},98333:function(g,n){"use strict";n.Z=`import { CSSProperties, ReactNode } from 'react';
8480
8485
 
8481
- if (process.env.NODE_ENV !== 'production') {
8482
- IntervalButton.displayName = 'CcsIntervalButton';
8483
- }
8484
-
8485
- export default forwardRef(IntervalButton);
8486
- `},27681:function(h,n){"use strict";n.Z=`// \u7CFB\u7EDF\u83DC\u5355\u5C5E\u6027
8486
+ // \u7CFB\u7EDF\u83DC\u5355\u5C5E\u6027
8487
8487
  export type MenuType = {
8488
8488
  key: string;
8489
8489
  /** \u83DC\u5355\u540D\u79F0 */
@@ -8506,7 +8506,37 @@ export interface KeepAliveTabsProps {
8506
8506
  className?: string;
8507
8507
  history: any;
8508
8508
  }
8509
- `},12807:function(h,n){"use strict";n.Z=`import { MoreOutlined } from '@ant-design/icons';
8509
+
8510
+ // \u7F13\u5B58\u7EC4\u4EF6\u5C5E\u6027
8511
+ export interface SinglePageProps {
8512
+ appName: string;
8513
+ menuItems: MenuType[];
8514
+ breadcrumbStyle?: CSSProperties;
8515
+ children?: ReactNode;
8516
+ }
8517
+ `},63705:function(g,n){"use strict";n.Z=`import './index.less';
8518
+ import KeepAliveTabs from './keep-alive';
8519
+ import SinglePage from './single-page';
8520
+
8521
+ export const classAtomPrefix = 'ccs-atom';
8522
+
8523
+ /**
8524
+ * \u9875\u9762\u5E03\u5C40\u7EC4\u4EF6
8525
+ */
8526
+ const CcsPageLayout = () => <></>;
8527
+
8528
+ /** \u591A\u9875\u7F13\u5B58 */
8529
+ CcsPageLayout.Multi = KeepAliveTabs;
8530
+
8531
+ /** \u5355\u9875 */
8532
+ CcsPageLayout.Single = SinglePage;
8533
+
8534
+ if (process.env.NODE_ENV !== 'production') {
8535
+ CcsPageLayout.displayName = 'CcsPageLayout';
8536
+ }
8537
+
8538
+ export default CcsPageLayout;
8539
+ `},42210:function(g,n){"use strict";n.Z=`import { MoreOutlined } from '@ant-design/icons';
8510
8540
  import CcsUtils from '@ccs-ui/utils';
8511
8541
  import { useMemoizedFn, useUpdate, useUpdateEffect } from 'ahooks';
8512
8542
  import { BreadcrumbProps, Button, Dropdown, MenuProps, Tabs } from 'antd';
@@ -8521,10 +8551,9 @@ import {
8521
8551
  } from 'react';
8522
8552
  import { Location, useLocation } from 'react-router';
8523
8553
  import { useOutlet } from 'react-router-dom';
8524
- import CCS, { CcsResult, useAppConfig } from '..';
8525
- import { useInsertCss } from '../hooks/use-insert-css';
8526
- import { KeepAliveTabsProps, MenuType } from './_api';
8527
- import './index.less';
8554
+ import CCS, { CcsResult, useAppConfig } from '../..';
8555
+ import { useInsertCss } from '../../hooks/use-insert-css';
8556
+ import { KeepAliveTabsProps, MenuType } from '../_api';
8528
8557
  import Page from './page';
8529
8558
 
8530
8559
  export type CacheRouter = {
@@ -8736,7 +8765,7 @@ function KeepAliveTabs({
8736
8765
  {
8737
8766
  key: location.key,
8738
8767
  label: curMenu?.label || '\u672A\u77E5',
8739
- outlet: isMenu ? outlet : <CcsResult.Page404 title="\u672A\u77E5\u9875\u9762" />,
8768
+ outlet: isMenu ? outlet : <CcsResult.Page404 />,
8740
8769
  urlAuthList: btnAuth.map((b) => b.code),
8741
8770
  breadcrumb: isMenu ? breadcrumb : [],
8742
8771
  pageLocation: location,
@@ -8858,14 +8887,13 @@ if (process.env.NODE_ENV !== 'production') {
8858
8887
  }
8859
8888
 
8860
8889
  export default KeepAliveTabs;
8861
- `},68321:function(h,n){"use strict";n.Z=`import { Breadcrumb } from 'antd';
8890
+ `},79172:function(g,n){"use strict";n.Z=`import { Breadcrumb } from 'antd';
8862
8891
  import classNames from 'classnames';
8863
8892
  import { memo, useRef } from 'react';
8864
- import Scrollbars from 'react-custom-scrollbars';
8865
8893
  import { Location } from 'react-router';
8866
8894
  import { CacheRouter } from '.';
8867
- import { PageContext } from '../context';
8868
- import { DialogElementsHolder, ElementsHolderRef } from '../dialog/hook';
8895
+ import { PageContext } from '../../context';
8896
+ import { DialogElementsHolder, ElementsHolderRef } from '../../dialog/hook';
8869
8897
 
8870
8898
  export type CachePageProps = Pick<
8871
8899
  CacheRouter,
@@ -8902,19 +8930,20 @@ function CachePage(props: CachePageProps) {
8902
8930
  className="ccs-tab-item"
8903
8931
  data-display={active}
8904
8932
  >
8905
- <Scrollbars
8906
- autoHide
8907
- className={classNames('ccs-sticky-scroll', {
8908
- 'route-avtive': active,
8933
+ <div
8934
+ className={classNames('ccs-layout-page', {
8935
+ 'page-avtive': active,
8909
8936
  })}
8910
8937
  >
8938
+ <div className="page-top"></div>
8911
8939
  <Breadcrumb items={breadcrumb} className="ccs-breadcrumb" />
8912
8940
  {children}
8913
8941
  <DialogElementsHolder
8914
8942
  key="modal-drawer-holder"
8915
8943
  ref={dialogHolderRef}
8916
8944
  />
8917
- </Scrollbars>
8945
+ <div className="page-bottom"></div>
8946
+ </div>
8918
8947
  </div>
8919
8948
  </PageContext.Provider>
8920
8949
  );
@@ -8926,24 +8955,13 @@ export default memo(
8926
8955
  l.active === n.active &&
8927
8956
  l.urlAuthList.join(',') === n.urlAuthList.join(','),
8928
8957
  );
8929
- `},70313:function(h,n){"use strict";n.Z=`import { CSSProperties, ReactNode } from 'react';
8930
- import { MenuType } from '../layout-keep-alive/_api';
8931
-
8932
- // \u7F13\u5B58\u7EC4\u4EF6\u5C5E\u6027
8933
- export interface SinglePageProps {
8934
- appName: string;
8935
- menuItems: MenuType[];
8936
- breadcrumbStyle?: CSSProperties;
8937
- children?: ReactNode;
8938
- }
8939
- `},52847:function(h,n){"use strict";n.Z=`import { BreadcrumbProps } from 'antd';
8958
+ `},76288:function(g,n){"use strict";n.Z=`import { BreadcrumbProps } from 'antd';
8940
8959
  import { useMemo } from 'react';
8941
8960
  import { useLocation } from 'react-router';
8942
8961
  import { useOutlet } from 'react-router-dom';
8943
- import { findMenusByUrl } from '../layout-keep-alive';
8944
- import CcsResult from '../result';
8945
- import { SinglePageProps } from './_api';
8946
- import './index.less';
8962
+ import CcsResult from '../../result';
8963
+ import { SinglePageProps } from '../_api';
8964
+ import { findMenusByUrl } from '../keep-alive';
8947
8965
  import Page from './page';
8948
8966
 
8949
8967
  function SinglePage({
@@ -9007,76 +9025,18 @@ if (process.env.NODE_ENV !== 'production') {
9007
9025
  }
9008
9026
 
9009
9027
  export default SinglePage;
9010
- `},23103:function(h,n){"use strict";n.Z=`import { ReactNode } from 'react';
9011
-
9012
- /** loading \u7EC4\u4EF6\u53C2\u6570 */
9013
- export interface LoadingProps {
9014
- /**
9015
- * loading \u72B6\u6001
9016
- * @default false
9017
- */
9018
- loading?: boolean;
9019
- /** loading \u6587\u5B57\u8BF4\u660E */
9020
- loadingTip?: ReactNode;
9021
- }
9022
- `},21148:function(h,n){"use strict";n.Z=`import { CcsLoading } from '@ccs-ui/rc-pro';
9023
- import { Button } from 'antd';
9024
- import { useState } from 'react';
9025
-
9026
- export default () => {
9027
- const [loading, setLoading] = useState(false);
9028
-
9029
- return (
9030
- <>
9031
- <Button
9032
- onClick={() => {
9033
- setLoading(true);
9034
- setTimeout(() => {
9035
- setLoading(false);
9036
- }, 1500);
9037
- }}
9038
- >
9039
- \u5F00\u542FLoading
9040
- </Button>
9041
- <CcsLoading loading={loading} />
9042
- </>
9043
- );
9044
- };
9045
- `},58967:function(h,n){"use strict";n.Z=`import { LoadingOutlined } from '@ant-design/icons';
9046
- import { Space, Spin } from 'antd';
9047
- import { LoadingProps } from './_api';
9048
- import './index.less';
9049
-
9050
- const Loading = ({ loading, loadingTip }: LoadingProps) => {
9051
- return loading ? (
9052
- <div className="ccs-loading">
9053
- <div className="ccs-loading-content ">
9054
- <Space>
9055
- <Spin indicator={<LoadingOutlined style={{ fontSize: 24 }} />} />
9056
- {loadingTip}
9057
- </Space>
9058
- </div>
9059
- </div>
9060
- ) : null;
9061
- };
9062
-
9063
- if (process.env.NODE_ENV !== 'production') {
9064
- Loading.displayName = 'CcsLoading';
9065
- }
9066
-
9067
- export default Loading;
9068
- `},10753:function(h,n){"use strict";n.Z=`import { TableProps as AntdTableProps, PaginationProps } from 'antd';
9069
- import { ColumnGroupType, ColumnType } from 'antd/es/table';
9070
- import { CSSProperties, MutableRefObject, ReactNode } from 'react';
9071
- import {
9072
- AtomEllipsisProps,
9073
- AtomFilterProps,
9074
- AtomFormItems,
9075
- AtomPageRequestProps,
9076
- DataEvent,
9077
- PropsWithCss,
9078
- PropsWithNodeChildren,
9079
- } from '../ccs';
9028
+ `},10753:function(g,n){"use strict";n.Z=`import { TableProps as AntdTableProps, PaginationProps } from 'antd';
9029
+ import { ColumnGroupType, ColumnType } from 'antd/es/table';
9030
+ import { CSSProperties, MutableRefObject, ReactNode } from 'react';
9031
+ import {
9032
+ AtomEllipsisProps,
9033
+ AtomFilterProps,
9034
+ AtomFormItems,
9035
+ AtomPageRequestProps,
9036
+ DataEvent,
9037
+ PropsWithCss,
9038
+ PropsWithNodeChildren,
9039
+ } from '../ccs';
9080
9040
 
9081
9041
  /** table \u5217\u5C5E\u6027 */
9082
9042
  export type TableColumn<RecordType = any> = (
@@ -9193,7 +9153,7 @@ export type TreeInstance<T> = {
9193
9153
  onRequestTree: (eventType: DataEvent, query: any, record: T | any) => void;
9194
9154
  onExpandKeys: (ids: string[]) => void;
9195
9155
  };
9196
- `},52067:function(h,n){"use strict";n.Z=`import { TableSticky } from 'rc-table/lib/interface';
9156
+ `},52067:function(g,n){"use strict";n.Z=`import { TableSticky } from 'rc-table/lib/interface';
9197
9157
  import React, { ReactNode } from 'react';
9198
9158
  import CCS from '..';
9199
9159
 
@@ -9235,7 +9195,7 @@ const onTableInTabItem = (node: any): boolean | TableSticky => {
9235
9195
 
9236
9196
  if (
9237
9197
  // \u901A\u8FC7\u6307\u5B9Adom\u5438\u9876
9238
- parent.classList?.contains('ccs-sticky-scroll')
9198
+ parent.classList?.contains('ccs-route-page')
9239
9199
  ) {
9240
9200
  return { getContainer: () => node };
9241
9201
  }
@@ -9309,7 +9269,7 @@ export {
9309
9269
  onTableInModalOrDrawer,
9310
9270
  onTableInTabItem,
9311
9271
  };
9312
- `},7049:function(h,n){"use strict";n.Z=`import { PlusOutlined } from '@ant-design/icons';
9272
+ `},7049:function(g,n){"use strict";n.Z=`import { PlusOutlined } from '@ant-design/icons';
9313
9273
  import CCS, { CcsButton, CcsDatePicker, CcsProTable } from '@ccs-ui/rc-pro';
9314
9274
  import { Badge, DatePicker, Input, InputNumber, Select } from 'antd';
9315
9275
  import { queryWorker, TableDataType } from './service';
@@ -9485,6 +9445,7 @@ export default function Basic() {
9485
9445
  formItems={formItems}
9486
9446
  formInitValues={{ workerName: 'Hong' }}
9487
9447
  toolbar={toolbar}
9448
+ showNumber
9488
9449
  table={{
9489
9450
  requestParam: { a: 1 },
9490
9451
  request: queryWorker,
@@ -9496,55 +9457,1171 @@ export default function Basic() {
9496
9457
  </>
9497
9458
  );
9498
9459
  }
9499
- `},54331:function(h,n){"use strict";n.Z=`import dayjs from 'dayjs';
9460
+ `},66842:function(g,n){"use strict";n.Z=`import CCS, { CcsProTable } from '@ccs-ui/rc-pro';
9461
+ import SelectParam1 from './components/SelectParam1';
9462
+ import SelectParam2 from './components/SelectParam2';
9463
+ import SelectParam3 from './components/SelectParam3';
9464
+ import { queryWorker, TableDataType } from './service';
9500
9465
 
9501
- export type TableDataType = {
9502
- loginId: number;
9503
- workerName: string;
9504
- loginCode: string;
9505
- orgName: string;
9506
- state: number;
9507
- mobile: string;
9508
- email: string;
9509
- sex: number;
9510
- birthday: string;
9511
- createTime: string;
9512
- num: number;
9466
+ export default () => {
9467
+ const formItems: CCS.TableFormItems = [
9468
+ {
9469
+ label: '\u6761\u4EF61',
9470
+ name: 'param1',
9471
+ children: <SelectParam1 />,
9472
+ },
9473
+ {
9474
+ label: '\u6761\u4EF62',
9475
+ name: 'param2',
9476
+ children: <SelectParam2 />,
9477
+ shouldUpdateNames: ['param1'],
9478
+ },
9479
+ {
9480
+ label: '\u6761\u4EF63',
9481
+ name: 'param3',
9482
+ children: <SelectParam3 />,
9483
+ shouldUpdateNames: ['param2'],
9484
+ },
9485
+ {
9486
+ label: '\u6761\u4EF64',
9487
+ name: 'param4',
9488
+ children: <SelectParam3 />,
9489
+ shouldUpdateNames: ['param2'],
9490
+ },
9491
+ ];
9492
+
9493
+ const columns: CCS.TableColumns<TableDataType> = [
9494
+ {
9495
+ title: '\u7528\u6237\u540D',
9496
+ dataIndex: 'workerName',
9497
+ ellipsis: true,
9498
+ },
9499
+ { title: '\u8D26\u53F7', dataIndex: 'loginCode', ellipsis: true },
9500
+ { title: '\u7EC4\u7EC7', dataIndex: 'orgName', ellipsis: true },
9501
+ ];
9502
+
9503
+ return (
9504
+ <div style={{ height: '100vh ' }}>
9505
+ <CcsProTable<TableDataType>
9506
+ expandForm
9507
+ formItems={formItems}
9508
+ table={{
9509
+ request: queryWorker,
9510
+ rowKey: 'loginId',
9511
+ columns,
9512
+ }}
9513
+ />
9514
+ </div>
9515
+ );
9513
9516
  };
9517
+ `},84296:function(g,n){"use strict";n.Z=`import { useRequest } from 'ahooks';
9518
+ import { Select } from 'antd';
9519
+ import { FC } from 'react';
9520
+ import { queryParam1 } from './service';
9514
9521
 
9515
- export function queryWorker(e: any) {
9516
- console.log('\u8BF7\u6C42\u53C2\u6570\uFF1A', e);
9517
- return new Promise<any>((resolve) => {
9522
+ const { Option } = Select;
9523
+
9524
+ export type StateProps = {
9525
+ onChange?: Function;
9526
+ };
9527
+
9528
+ export type ValueType = {
9529
+ key: string;
9530
+ name: string;
9531
+ };
9532
+
9533
+ const SelectParam1: FC<StateProps> = ({ onChange, ...restProps }) => {
9534
+ const handleChange = (e: any) => {
9535
+ if (onChange) onChange(e);
9536
+ };
9537
+
9538
+ console.log('restProps', restProps);
9539
+
9540
+ // \u8BF7\u6C42\u6570\u636E
9541
+ const { loading, data = [] } = useRequest<ValueType[], any>(async () => {
9542
+ const result = await queryParam1();
9543
+ return result.data;
9544
+ });
9545
+
9546
+ return (
9547
+ <Select
9548
+ {...{
9549
+ allowClear: true,
9550
+ placeholder: '\u8BF7\u9009\u62E9',
9551
+ style: { width: '100%' },
9552
+ onChange: handleChange,
9553
+ loading,
9554
+ ...restProps,
9555
+ }}
9556
+ >
9557
+ {data.map((item) => (
9558
+ <Option key={item.key} value={item.key}>
9559
+ {item.name}
9560
+ </Option>
9561
+ ))}
9562
+ </Select>
9563
+ );
9564
+ };
9565
+
9566
+ export default SelectParam1;
9567
+ `},84005:function(g,n){"use strict";n.Z=`import { FormItemChildren } from '@ccs-ui/rc-pro/ccs';
9568
+ import { useRequest } from 'ahooks';
9569
+ import { Select } from 'antd';
9570
+ import { FC, useEffect } from 'react';
9571
+ import { queryParam2 } from './service';
9572
+
9573
+ const { Option } = Select;
9574
+
9575
+ type ValueType = {
9576
+ key: string;
9577
+ name: string;
9578
+ };
9579
+
9580
+ const SelectParam2: FC<FormItemChildren> = ({
9581
+ changes = [],
9582
+ onChange,
9583
+ ...restProps
9584
+ }) => {
9585
+ const handleChange = (e: any) => {
9586
+ if (onChange) onChange(e);
9587
+ };
9588
+
9589
+ // \u4F9D\u8D56\u7684\u6761\u4EF61\u7684\u503C
9590
+ const param1 = changes[0];
9591
+
9592
+ // \u8BF7\u6C42\u6570\u636E
9593
+ const {
9594
+ loading,
9595
+ data = [],
9596
+ mutate,
9597
+ run,
9598
+ } = useRequest<ValueType[], any>(
9599
+ async (params) => {
9600
+ const result = await queryParam2(params);
9601
+ return result.data;
9602
+ },
9603
+ // \u521D\u59CB\u4E0D\u52A0\u8F7D\u6570\u636E
9604
+ { manual: true },
9605
+ );
9606
+
9607
+ useEffect(() => {
9608
+ // \u6E05\u7A7A\u9009\u62E9\u6570\u636E\u3001\u5DF2\u9009\u4E2D\u7684\u503C
9609
+ if (data.length) mutate([]);
9610
+ if (restProps.value && onChange) onChange(undefined);
9611
+ // \u8BF7\u6C42\u63A5\u53E3
9612
+ if (param1) run({ param1 });
9613
+ }, [param1]);
9614
+
9615
+ return (
9616
+ <Select
9617
+ {...{
9618
+ allowClear: true,
9619
+ placeholder: '\u8BF7\u9009\u62E9',
9620
+ style: { width: '100%' },
9621
+ onChange: handleChange,
9622
+ loading,
9623
+ notFoundContent: !param1 ? '\u8BF7\u9009\u62E9\u6761\u4EF61' : '\u8BF7\u9009\u62E9',
9624
+ ...restProps,
9625
+ }}
9626
+ >
9627
+ {data.map((item) => (
9628
+ <Option key={item.key} value={item.key}>
9629
+ {item.name}
9630
+ </Option>
9631
+ ))}
9632
+ </Select>
9633
+ );
9634
+ };
9635
+
9636
+ export default SelectParam2;
9637
+ `},38717:function(g,n){"use strict";n.Z=`import { FormItemChildren } from '@ccs-ui/rc-pro/ccs';
9638
+ import { useRequest } from 'ahooks';
9639
+ import { Select } from 'antd';
9640
+ import { FC, useEffect } from 'react';
9641
+ import { queryParam3 } from './service';
9642
+
9643
+ const { Option } = Select;
9644
+
9645
+ export type StateProps = {
9646
+ /** \u4F9D\u8D56\u6761\u4EF6 */
9647
+ param2?: string;
9648
+ value?: string;
9649
+ onChange?: Function;
9650
+ };
9651
+
9652
+ type ValueType = {
9653
+ key: string;
9654
+ name: string;
9655
+ };
9656
+
9657
+ const SelectParam3: FC<FormItemChildren> = ({
9658
+ changes = [],
9659
+ onChange,
9660
+ ...restProps
9661
+ }) => {
9662
+ const handleChange = (e: any) => {
9663
+ if (onChange) onChange(e);
9664
+ };
9665
+
9666
+ // \u4F9D\u8D56\u7684\u6761\u4EF62\u7684\u503C
9667
+ const param2 = changes[0];
9668
+
9669
+ // \u8BF7\u6C42\u6570\u636E
9670
+ const {
9671
+ loading,
9672
+ data = [],
9673
+ mutate,
9674
+ run,
9675
+ } = useRequest<ValueType[], any>(
9676
+ async (params) => {
9677
+ const result = await queryParam3(params);
9678
+ return result.data;
9679
+ },
9680
+ // \u521D\u59CB\u4E0D\u52A0\u8F7D\u6570\u636E
9681
+ { manual: true },
9682
+ );
9683
+
9684
+ useEffect(() => {
9685
+ // \u6E05\u7A7A\u9009\u62E9\u6570\u636E\u3001\u5DF2\u9009\u4E2D\u7684\u503C
9686
+ if (data.length) mutate([]);
9687
+ if (restProps.value && onChange) onChange(undefined);
9688
+ // \u8BF7\u6C42\u63A5\u53E3
9689
+ if (param2) run({ param2 });
9690
+ }, [param2]);
9691
+
9692
+ return (
9693
+ <Select
9694
+ {...{
9695
+ allowClear: true,
9696
+ placeholder: '\u8BF7\u9009\u62E9',
9697
+ style: { width: '100%' },
9698
+ onChange: handleChange,
9699
+ loading,
9700
+ notFoundContent: !param2 ? '\u8BF7\u9009\u62E9\u6761\u4EF62' : '\u8BF7\u9009\u62E9',
9701
+ ...restProps,
9702
+ adad: { asdasda: 1, abav: 2 },
9703
+ }}
9704
+ >
9705
+ {data.map((item) => (
9706
+ <Option key={item.key} value={item.key}>
9707
+ {item.name}
9708
+ </Option>
9709
+ ))}
9710
+ </Select>
9711
+ );
9712
+ };
9713
+
9714
+ export default SelectParam3;
9715
+ `},43421:function(g,n){"use strict";n.Z=`export const queryParam1 = () =>
9716
+ new Promise<any>((resolve) => {
9518
9717
  setTimeout(() => {
9519
9718
  resolve({
9719
+ msg: '',
9520
9720
  success: true,
9721
+ data: [
9722
+ {
9723
+ name: '\u91CD\u5E86',
9724
+ key: '1',
9725
+ },
9726
+ {
9727
+ name: '\u56DB\u5DDD',
9728
+ key: '2',
9729
+ },
9730
+ {
9731
+ name: '\u5317\u4EAC',
9732
+ key: '3',
9733
+ },
9734
+ {
9735
+ name: '\u4E0A\u6D77',
9736
+ key: '4',
9737
+ },
9738
+ {
9739
+ name: '\u5E7F\u5DDE',
9740
+ key: '5',
9741
+ },
9742
+ ],
9743
+ });
9744
+ }, 1000);
9745
+ });
9746
+
9747
+ export const queryParam2 = (param: any) =>
9748
+ new Promise<any>((resolve) => {
9749
+ console.log('param', param);
9750
+ setTimeout(() => {
9751
+ resolve({
9521
9752
  msg: '',
9522
- data: {
9523
- pageNo: 1,
9524
- pageSize: 10,
9525
- hasNext: false,
9526
- totalNum: 100,
9527
- result: Array(e.pageSize)
9528
- .fill('')
9529
- .map((item, index) => ({
9530
- loginId: index,
9531
- workerName: \`workerName-\${index}\`,
9532
- loginCode: '-',
9533
- orgName: '-',
9534
- state: Math.round(Math.random()),
9535
- mobile: '-',
9536
- email: '-',
9537
- sex: Math.round(Math.random()),
9538
- birthday: dayjs().format('YYYY-MM-DD'),
9539
- createTime: dayjs().format('YYYY-MM-DD HH:mm'),
9540
- num: 1,
9541
- })),
9542
- },
9753
+ success: true,
9754
+ data: [
9755
+ {
9756
+ name: '\u533A\u53BF1',
9757
+ key: '1',
9758
+ },
9759
+ {
9760
+ name: '\u533A\u53BF2',
9761
+ key: '2',
9762
+ },
9763
+ {
9764
+ name: '\u533A\u53BF3',
9765
+ key: '3',
9766
+ },
9767
+ {
9768
+ name: '\u533A\u53BF4',
9769
+ key: '4',
9770
+ },
9771
+ {
9772
+ name: '\u533A\u53BF5',
9773
+ key: '5',
9774
+ },
9775
+ ],
9543
9776
  });
9544
- }, 500);
9777
+ }, 1000);
9545
9778
  });
9546
- }
9547
- `},82530:function(h,n){"use strict";n.Z=`import { ProTableProps } from './_api';
9779
+
9780
+ export const queryParam3 = (param: any) =>
9781
+ new Promise<any>((resolve) => {
9782
+ console.log('param', param);
9783
+ setTimeout(() => {
9784
+ resolve({
9785
+ msg: '',
9786
+ success: true,
9787
+ data: [
9788
+ {
9789
+ name: '\u57CE\u95471',
9790
+ key: '1',
9791
+ },
9792
+ {
9793
+ name: '\u57CE\u95472',
9794
+ key: '2',
9795
+ },
9796
+ {
9797
+ name: '\u57CE\u95473',
9798
+ key: '3',
9799
+ },
9800
+ {
9801
+ name: '\u57CE\u95474',
9802
+ key: '4',
9803
+ },
9804
+ {
9805
+ name: '\u57CE\u95475',
9806
+ key: '5',
9807
+ },
9808
+ ],
9809
+ });
9810
+ }, 1000);
9811
+ });
9812
+ `},77470:function(g,n){"use strict";n.Z=`import CCS, { CcsProTable } from '@ccs-ui/rc-pro';
9813
+ import { Input } from 'antd';
9814
+ import { queryWorker, TableDataType } from './service';
9815
+
9816
+ export default function TableExtra() {
9817
+ const formItems: CCS.TableFormItems = [
9818
+ {
9819
+ label: '\u7528\u6237',
9820
+ name: 'workerName',
9821
+ children: <Input placeholder="\u8BF7\u8F93\u5165" />,
9822
+ },
9823
+ {
9824
+ label: '\u8D26\u53F7',
9825
+ name: 'loginCode',
9826
+ children: <Input placeholder="\u8BF7\u8F93\u5165" />,
9827
+ },
9828
+ {
9829
+ label: '\u8D26\u53F71',
9830
+ name: 'loginCode2',
9831
+ children: <Input placeholder="\u8BF7\u8F93\u5165" />,
9832
+ },
9833
+ {
9834
+ label: '\u8D26\u53F72',
9835
+ name: 'loginCode3',
9836
+ children: <Input placeholder="\u8BF7\u8F93\u5165" />,
9837
+ },
9838
+ {
9839
+ label: '\u8D26\u53F73',
9840
+ name: 'loginCode4',
9841
+ children: <Input placeholder="\u8BF7\u8F93\u5165" />,
9842
+ },
9843
+ ];
9844
+
9845
+ const columns: CCS.TableColumns<TableDataType> = [
9846
+ {
9847
+ title: '\u7528\u6237\u540D',
9848
+ dataIndex: 'workerName',
9849
+ },
9850
+ {
9851
+ title: '\u8D26\u53F7',
9852
+ dataIndex: 'loginCode',
9853
+ sorter: true,
9854
+ },
9855
+ { title: '\u7EC4\u7EC7', dataIndex: 'orgName' },
9856
+ ];
9857
+
9858
+ return (
9859
+ <CcsProTable<TableDataType>
9860
+ formItems={formItems}
9861
+ expandForm
9862
+ table={{
9863
+ request: queryWorker,
9864
+ rowKey: 'loginId',
9865
+ columns,
9866
+ }}
9867
+ />
9868
+ );
9869
+ }
9870
+ `},627:function(g,n){"use strict";n.Z=`import { SearchOutlined } from '@ant-design/icons';
9871
+ import CCS, { CcsProTable } from '@ccs-ui/rc-pro';
9872
+ import { Button, Input } from 'antd';
9873
+ import { queryWorker } from './service';
9874
+
9875
+ export default () => {
9876
+ const formItems: CCS.TableFormItems = [
9877
+ {
9878
+ label: '\u7528\u6237',
9879
+ name: 'workerName',
9880
+ children: <Input placeholder="\u8BF7\u8F93\u5165" />,
9881
+ },
9882
+ {
9883
+ label: '\u8D26\u53F7',
9884
+ name: 'loginCode',
9885
+ children: <Input placeholder="\u8BF7\u8F93\u5165" />,
9886
+ },
9887
+ ];
9888
+
9889
+ // \u81EA\u5B9A\u4E49\u7B5B\u9009\u3001\u5C3D\u91CF\u907F\u514D\u4F7F\u7528\u81EA\u5B9A\u4E49\u8D5B\u9009
9890
+ const getColumnSearchProps = (dataIndex: string) => ({
9891
+ filterDropdown: ({ setSelectedKeys, selectedKeys, confirm }: any) => (
9892
+ <div style={{ padding: 8 }}>
9893
+ <Input
9894
+ placeholder={\`Search \${dataIndex}\`}
9895
+ value={selectedKeys[0]}
9896
+ onChange={(e) => {
9897
+ // \u66FF\u6362\u7B2C\u4E00\u4E2A\u6570\u7EC4\u503C
9898
+ selectedKeys.splice(0, 1, e.target.value);
9899
+ setSelectedKeys(selectedKeys);
9900
+ }}
9901
+ style={{ marginBottom: 8, display: 'block' }}
9902
+ />
9903
+ <Input
9904
+ placeholder={\`Search \${dataIndex}\`}
9905
+ value={selectedKeys[1]}
9906
+ onChange={(e) => {
9907
+ // \u66FF\u6362\u7B2C\u4E8C\u4E2A\u6570\u7EC4\u503C
9908
+ selectedKeys.splice(1, 1, e.target.value);
9909
+ setSelectedKeys(selectedKeys);
9910
+ }}
9911
+ style={{ marginBottom: 8, display: 'block' }}
9912
+ />
9913
+ <Button
9914
+ type="primary"
9915
+ onClick={() => {
9916
+ // \u6DFB\u52A0\u65F6\u95F4\u5F53\u968F\u673A\u6570
9917
+ if (selectedKeys[0] === '' && selectedKeys[1] === '') {
9918
+ setSelectedKeys([]);
9919
+ } else {
9920
+ setSelectedKeys([
9921
+ selectedKeys[0],
9922
+ selectedKeys[1],
9923
+ new Date().getTime(),
9924
+ ]);
9925
+ }
9926
+ confirm();
9927
+ }}
9928
+ icon={<SearchOutlined />}
9929
+ size="small"
9930
+ style={{ width: 90 }}
9931
+ >
9932
+ Search
9933
+ </Button>
9934
+ </div>
9935
+ ),
9936
+ filterIcon: (filtered: any) => (
9937
+ <SearchOutlined style={{ color: filtered ? '#1890ff' : undefined }} />
9938
+ ),
9939
+ });
9940
+
9941
+ const columns: CCS.TableColumns<any> = [
9942
+ {
9943
+ title: '\u7528\u6237\u540D',
9944
+ dataIndex: 'workerName',
9945
+ filters: [
9946
+ { text: 'Joe', value: 'Joe' },
9947
+ { text: 'Jim', value: 'Jim' },
9948
+ ],
9949
+ sorter: { multiple: 1 },
9950
+ defaultSortOrder: 'ascend',
9951
+ defaultFilteredValue: ['Joe', 'Jim'],
9952
+ },
9953
+ {
9954
+ title: '\u8D26\u53F7',
9955
+ dataIndex: 'loginCode',
9956
+ sorter: { multiple: 2 },
9957
+ defaultSortOrder: 'ascend',
9958
+ },
9959
+
9960
+ { title: '\u7EC4\u7EC7', dataIndex: 'orgName', ...getColumnSearchProps('orgName') },
9961
+ ];
9962
+
9963
+ return (
9964
+ <CcsProTable
9965
+ toolbar={<Button type="primary">\u65B0\u589E</Button>}
9966
+ formItems={formItems}
9967
+ table={{
9968
+ request: queryWorker,
9969
+ rowKey: 'loginId',
9970
+ columns,
9971
+ }}
9972
+ />
9973
+ );
9974
+ };
9975
+ `},46682:function(g,n){"use strict";n.Z=`import CCS, { CcsButton, CcsProTable } from '@ccs-ui/rc-pro';
9976
+ import { DatePicker, Input, InputNumber, Select, Table } from 'antd';
9977
+ import { useRef } from 'react';
9978
+ import { queryWorker } from './service';
9979
+
9980
+ export default () => {
9981
+ const ref = useRef<CCS.TableInstance>(null);
9982
+ const formItems: CCS.TableFormItems = [
9983
+ {
9984
+ label: '\u7528\u6237',
9985
+ name: 'workerName',
9986
+ children: <Input placeholder="\u8BF7\u8F93\u5165" allowClear />,
9987
+ },
9988
+ {
9989
+ label: '\u8D26\u53F7',
9990
+ name: 'loginCode',
9991
+ children: <Input placeholder="\u8BF7\u8F93\u5165" />,
9992
+ },
9993
+ {
9994
+ label: '\u72B6\u6001',
9995
+ name: 'state',
9996
+ children: (
9997
+ <Select
9998
+ style={{ width: 100 }}
9999
+ placeholder="\u8BF7\u9009\u62E9"
10000
+ options={[
10001
+ { value: '1', label: '\u6709\u6548' },
10002
+ { value: '0', label: '\u65E0\u6548' },
10003
+ ]}
10004
+ />
10005
+ ),
10006
+ },
10007
+ {
10008
+ label: '\u7535\u8BDD',
10009
+ name: 'mobile',
10010
+ children: <InputNumber style={{ width: 100 }} placeholder="\u8BF7\u8F93\u5165" />,
10011
+ },
10012
+ {
10013
+ label: '\u89D2\u8272',
10014
+ name: 'roleId',
10015
+ children: <Select options={[]} style={{ width: 100 }} />,
10016
+ depends: ['state', 'mobile'],
10017
+ },
10018
+ {
10019
+ label: '\u521B\u5EFA\u65F6\u95F4',
10020
+ name: 'createTime',
10021
+ children: <DatePicker style={{ width: 160 }} />,
10022
+ },
10023
+ ];
10024
+
10025
+ const columns = [
10026
+ {
10027
+ title: '\u7528\u6237\u540D',
10028
+ dataIndex: 'workerName',
10029
+ ellipsis: true,
10030
+ },
10031
+ { title: '\u8D26\u53F7', dataIndex: 'loginCode', ellipsis: true },
10032
+ { title: '\u7535\u8BDD', dataIndex: 'mobile', ellipsis: true },
10033
+ ];
10034
+
10035
+ const toolbar = (
10036
+ <CcsButton.Group
10037
+ items={[
10038
+ { label: '\u65B0\u589E', key: 'add', type: 'primary' },
10039
+ { label: '\u4FEE\u6539', key: 'update' },
10040
+ { label: '\u5220\u9664', key: 'del' },
10041
+ { label: '\u89E3\u9501', key: 'unlock' },
10042
+ { label: '\u5BA1\u6838', key: 'audit' },
10043
+ { label: '\u901A\u77E5', key: 'notice' },
10044
+ { label: '\u6253\u5361', key: 'ding', danger: true },
10045
+ ]}
10046
+ />
10047
+ );
10048
+
10049
+ return (
10050
+ <div
10051
+ style={{
10052
+ height: 560,
10053
+ display: 'flex',
10054
+ flexDirection: 'column',
10055
+ background: '#f5f5f5',
10056
+ padding: 10,
10057
+ }}
10058
+ >
10059
+ <CcsProTable
10060
+ proRef={ref}
10061
+ toolbar={toolbar}
10062
+ formItems={formItems}
10063
+ table={{
10064
+ request: queryWorker,
10065
+ rowKey: 'loginId',
10066
+ columns,
10067
+ scroll: { y: 'auto' },
10068
+ summary() {
10069
+ return (
10070
+ <Table.Summary fixed>
10071
+ <Table.Summary.Row>
10072
+ <Table.Summary.Cell index={0}>\u5408\u8BA1</Table.Summary.Cell>
10073
+ <Table.Summary.Cell index={1}></Table.Summary.Cell>
10074
+ <Table.Summary.Cell index={2}></Table.Summary.Cell>
10075
+ <Table.Summary.Cell index={3}></Table.Summary.Cell>
10076
+ <Table.Summary.Cell index={4}></Table.Summary.Cell>
10077
+ </Table.Summary.Row>
10078
+ </Table.Summary>
10079
+ );
10080
+ },
10081
+ }}
10082
+ />
10083
+ </div>
10084
+ );
10085
+ };
10086
+ `},60545:function(g,n){"use strict";n.Z=`import CCS, { CcsProTable } from '@ccs-ui/rc-pro';
10087
+ import { Button, Input, Space } from 'antd';
10088
+ import { useRef } from 'react';
10089
+ import { queryWorker } from './service';
10090
+
10091
+ export default () => {
10092
+ const ref = useRef<CCS.TableInstance>();
10093
+ const formItems: CCS.TableFormItems = [
10094
+ {
10095
+ label: '\u7528\u6237',
10096
+ name: 'workerName',
10097
+ children: <Input placeholder="\u8BF7\u8F93\u5165" />,
10098
+ },
10099
+ ];
10100
+
10101
+ const columns = [
10102
+ {
10103
+ title: '\u7528\u6237\u540D',
10104
+ dataIndex: 'workerName',
10105
+ ellipsis: true,
10106
+ },
10107
+ { title: '\u8D26\u53F7', dataIndex: 'loginCode', ellipsis: true },
10108
+ { title: '\u7EC4\u7EC7', dataIndex: 'orgName', ellipsis: true },
10109
+ ];
10110
+
10111
+ const toolbar = (
10112
+ <Space>
10113
+ <Button type="primary" onClick={() => ref.current?.onReload()}>
10114
+ \u91CD\u8F7D
10115
+ </Button>
10116
+ <Button onClick={() => ref.current?.onReset()}>\u91CD\u7F6E</Button>
10117
+ </Space>
10118
+ );
10119
+ return (
10120
+ <CcsProTable
10121
+ proRef={ref}
10122
+ toolbar={toolbar}
10123
+ formItems={formItems}
10124
+ table={{
10125
+ request: queryWorker,
10126
+ rowKey: 'loginId',
10127
+ columns,
10128
+ }}
10129
+ />
10130
+ );
10131
+ };
10132
+ `},82691:function(g,n){"use strict";n.Z=`import { PlusOutlined } from '@ant-design/icons';
10133
+ import CCS, { CcsButton, CcsProTable, useTableSelection } from '@ccs-ui/rc-pro';
10134
+ import { Badge, DatePicker, Input, InputNumber, Select } from 'antd';
10135
+ import { queryWorker, TableDataType } from './service';
10136
+
10137
+ export default function Basic() {
10138
+ // \u9009\u62E9\u6570\u636E
10139
+ const {
10140
+ selectedRows = [],
10141
+ onClear,
10142
+ ...rowSelection
10143
+ } = useTableSelection({ keyField: 'loginId' });
10144
+
10145
+ const formItems: CCS.TableFormItems = [
10146
+ {
10147
+ label: '\u7528\u6237',
10148
+ name: 'workerName',
10149
+ children: <Input placeholder="\u8BF7\u8F93\u5165" allowClear />,
10150
+ },
10151
+ {
10152
+ label: '\u8D26\u53F7',
10153
+ name: 'loginCode',
10154
+ children: <Input placeholder="\u8BF7\u8F93\u5165" />,
10155
+ },
10156
+ {
10157
+ label: '\u72B6\u6001',
10158
+ name: 'state',
10159
+ children: (
10160
+ <Select
10161
+ style={{ width: 100 }}
10162
+ placeholder="\u8BF7\u9009\u62E9"
10163
+ options={[
10164
+ { value: '1', label: '\u6709\u6548' },
10165
+ { value: '0', label: '\u65E0\u6548' },
10166
+ ]}
10167
+ />
10168
+ ),
10169
+ },
10170
+ {
10171
+ label: '\u7535\u8BDD',
10172
+ name: 'mobile',
10173
+ children: <InputNumber style={{ width: 100 }} placeholder="\u8BF7\u8F93\u5165" />,
10174
+ },
10175
+ {
10176
+ label: '\u89D2\u8272',
10177
+ name: 'roleId',
10178
+ children: <Select options={[]} style={{ width: 100 }} />,
10179
+ depends: ['state', 'mobile'],
10180
+ },
10181
+ {
10182
+ label: '\u521B\u5EFA\u65F6\u95F4',
10183
+ name: 'createTime',
10184
+ children: <DatePicker style={{ width: 160 }} />,
10185
+ },
10186
+ ];
10187
+
10188
+ const toolbar = (
10189
+ <CcsButton.Group
10190
+ showCount={3}
10191
+ items={[
10192
+ {
10193
+ key: '0',
10194
+ label: '\u65B0\u589E',
10195
+ auth: 'sys:user:create',
10196
+ type: 'primary',
10197
+ icon: <PlusOutlined />,
10198
+ },
10199
+ {
10200
+ key: '1',
10201
+ label: \`\u6279\u91CF\u5220\u9664\`,
10202
+ auth: 'sys:user:multi:delete',
10203
+ },
10204
+ {
10205
+ key: '2',
10206
+ label: '\u5176\u4ED6\u64CD\u4F5C\u4E00',
10207
+ danger: true,
10208
+ disabled: selectedRows.length === 0,
10209
+ },
10210
+ ]}
10211
+ onClick={(key) => {
10212
+ console.log('dropdown click', key);
10213
+ }}
10214
+ />
10215
+ );
10216
+
10217
+ const columns: CCS.TableColumns<TableDataType> = [
10218
+ {
10219
+ title: '\u7528\u6237\u540D',
10220
+ dataIndex: 'workerName',
10221
+ ellipsis: { rows: 1, direction: 'middle' },
10222
+ width: 200,
10223
+ },
10224
+ {
10225
+ title: '\u57FA\u7840\u4FE1\u606F',
10226
+ children: [
10227
+ { title: '\u8D26\u53F7', dataIndex: 'loginCode', ellipsis: true, sorter: true },
10228
+ { title: '\u767B\u5F55\u6B21\u6570', dataIndex: 'num' },
10229
+ {
10230
+ title: '\u6027\u522B',
10231
+ dataIndex: 'sex',
10232
+ ellipsis: true,
10233
+ render(val: number) {
10234
+ return val === 0 ? '\u5973' : '\u7537';
10235
+ },
10236
+ },
10237
+ ],
10238
+ },
10239
+
10240
+ {
10241
+ title: '\u7EC4\u7EC7',
10242
+ dataIndex: 'orgName',
10243
+ ellipsis: true,
10244
+ filters: [
10245
+ { text: 'Joe', value: 'Joe' },
10246
+ { text: 'Jim', value: 'Jim' },
10247
+ ],
10248
+ filterMultiple: false,
10249
+ },
10250
+ {
10251
+ title: '\u72B6\u6001',
10252
+ dataIndex: 'state',
10253
+ ellipsis: true,
10254
+ render(val: string) {
10255
+ return (
10256
+ <Badge
10257
+ status={val === '0' ? 'error' : 'success'}
10258
+ text={val === '0' ? '\u5931\u6548' : '\u6709\u6548'}
10259
+ />
10260
+ );
10261
+ },
10262
+ },
10263
+ { title: '\u7535\u8BDD', dataIndex: 'mobile', ellipsis: true },
10264
+ { title: '\u90AE\u7BB1', dataIndex: 'email', ellipsis: true },
10265
+ {
10266
+ title: '\u751F\u65E5',
10267
+ dataIndex: 'birthday',
10268
+ width: 100,
10269
+ render(val: string) {
10270
+ return val && val.substring(0, 10);
10271
+ },
10272
+ },
10273
+ { title: '\u521B\u5EFA\u65F6\u95F4', dataIndex: 'createTime', width: 160 },
10274
+ {
10275
+ title: '\u64CD\u4F5C',
10276
+ fixed: 'right' as 'right',
10277
+ width: 160,
10278
+ render: (_, record) => (
10279
+ <CcsButton.Group
10280
+ isLink
10281
+ showCount={2}
10282
+ items={[
10283
+ {
10284
+ key: '0',
10285
+ label: '\u7F16\u8F91',
10286
+ auth: 'sys:user:update',
10287
+ },
10288
+ {
10289
+ key: '1',
10290
+ label: '\u5173\u8054\u89D2\u8272',
10291
+ auth: 'sys:user:role:list',
10292
+ disabled: record.state === 0,
10293
+ },
10294
+ {
10295
+ key: '2',
10296
+ label: '\u6743\u9650\u67E5\u770B',
10297
+ auth: 'sys:user:menu:tree',
10298
+ disabled: record.state === 0,
10299
+ },
10300
+ ]}
10301
+ onClick={(key) => {
10302
+ console.log('111', key);
10303
+ }}
10304
+ />
10305
+ ),
10306
+ },
10307
+ ];
10308
+
10309
+ // \u9009\u4E2D\u9879\u63D0\u793A\u4FE1\u606F
10310
+ const renderTitle = () => (
10311
+ <CcsProTable.SelectionAlert
10312
+ data={selectedRows}
10313
+ fieldNames={{ key: 'loginId', label: 'workerName' }}
10314
+ onClear={onClear}
10315
+ color="processing"
10316
+ />
10317
+ );
10318
+
10319
+ return (
10320
+ <>
10321
+ <CcsProTable<TableDataType>
10322
+ title="\u6807\u9898"
10323
+ formItems={formItems}
10324
+ formInitValues={{ workerName: 'Hong' }}
10325
+ toolbar={toolbar}
10326
+ table={{
10327
+ title: renderTitle,
10328
+ request: queryWorker,
10329
+ rowKey: 'loginId',
10330
+ columns,
10331
+ scroll: { x: 1300 },
10332
+ rowSelection,
10333
+ summary: (data, columns) => {
10334
+ // \u6C47\u603B\u6570\u636E
10335
+ const summaryData = {
10336
+ workerName: '\u5408\u8BA1',
10337
+ num: data.reduce((d, c) => {
10338
+ return d + c.num;
10339
+ }, 0),
10340
+ };
10341
+ return (
10342
+ <CcsProTable.Summary
10343
+ data={summaryData}
10344
+ columns={columns}
10345
+ hasRowSelection={true}
10346
+ />
10347
+ );
10348
+ },
10349
+ }}
10350
+ />
10351
+ </>
10352
+ );
10353
+ }
10354
+ `},64359:function(g,n){"use strict";n.Z=`const updateData: any = {};
10355
+ const addData: DataType[] = [];
10356
+
10357
+ // \u751F\u6210\u6570\u636E\u65B9\u6CD5
10358
+ const getData = (parentId: string) => {
10359
+ const data = [];
10360
+ for (let i = 0; i < 5; i += 1) {
10361
+ const id = \`\${parentId}-\${i}\`;
10362
+ if (updateData[id]) {
10363
+ data.push(updateData[id]);
10364
+ } else {
10365
+ data.push({ id, name: \`\u540D\u79F0-\${id}\`, parentId });
10366
+ }
10367
+ }
10368
+ const add = addData.filter((a) => a.parentId === parentId);
10369
+ if (add) {
10370
+ add.forEach((a: DataType) => {
10371
+ const addId = \`\${parentId}-\${data.length}\`;
10372
+ data.push({
10373
+ id: addId,
10374
+ name: updateData[addId] ? updateData[addId].name : a.name,
10375
+ parentId,
10376
+ });
10377
+ });
10378
+ }
10379
+ return data;
10380
+ };
10381
+
10382
+ // \u67E5\u8BE2
10383
+ export const query = (e: { parentId: string }) => {
10384
+ return new Promise<{ success: boolean; data: any[] }>((resolve) => {
10385
+ setTimeout(() => {
10386
+ resolve({
10387
+ success: true,
10388
+ data: getData(e.parentId),
10389
+ });
10390
+ }, 1000);
10391
+ });
10392
+ };
10393
+
10394
+ // \u66F4\u65B0
10395
+ export const update = (value: DataType) =>
10396
+ new Promise<any>((resolve) => {
10397
+ if (value.id) {
10398
+ // \u66F4\u65B0
10399
+ updateData[value.id as string] = value;
10400
+ } else {
10401
+ // \u65B0\u589E
10402
+ addData.push(value);
10403
+ }
10404
+ setTimeout(() => {
10405
+ resolve({
10406
+ msg: '',
10407
+ success: true,
10408
+ data: '',
10409
+ });
10410
+ }, 1000);
10411
+ });
10412
+
10413
+ export type DataType = {
10414
+ id?: string;
10415
+ name?: string;
10416
+ parentId: string;
10417
+ };
10418
+ `},54331:function(g,n){"use strict";n.Z=`import dayjs from 'dayjs';
10419
+
10420
+ export type TableDataType = {
10421
+ loginId: number;
10422
+ workerName: string;
10423
+ loginCode: string;
10424
+ orgName: string;
10425
+ state: number;
10426
+ mobile: string;
10427
+ email: string;
10428
+ sex: number;
10429
+ birthday: string;
10430
+ createTime: string;
10431
+ num: number;
10432
+ };
10433
+
10434
+ export function queryWorker(e: any) {
10435
+ console.log('\u8BF7\u6C42\u53C2\u6570\uFF1A', e);
10436
+ return new Promise<any>((resolve) => {
10437
+ setTimeout(() => {
10438
+ resolve({
10439
+ success: true,
10440
+ msg: '',
10441
+ data: {
10442
+ pageNo: 1,
10443
+ pageSize: 10,
10444
+ hasNext: false,
10445
+ totalNum: 100,
10446
+ result: Array(e.pageSize)
10447
+ .fill('')
10448
+ .map((item, index) => ({
10449
+ loginId: index,
10450
+ workerName: \`workerName-\${index}\`,
10451
+ loginCode: '-',
10452
+ orgName: '-',
10453
+ state: Math.round(Math.random()),
10454
+ mobile: '-',
10455
+ email: '-',
10456
+ sex: Math.round(Math.random()),
10457
+ birthday: dayjs().format('YYYY-MM-DD'),
10458
+ createTime: dayjs().format('YYYY-MM-DD HH:mm'),
10459
+ num: 1,
10460
+ })),
10461
+ },
10462
+ });
10463
+ }, 500);
10464
+ });
10465
+ }
10466
+ `},48962:function(g,n){"use strict";n.Z=`import CCS, { CcsProTable } from '@ccs-ui/rc-pro';
10467
+ import { Input, Select } from 'antd';
10468
+ import { queryWorker, TableDataType } from './service';
10469
+
10470
+ export default () => {
10471
+ const formItems: CCS.TableFormItems = [
10472
+ {
10473
+ label: '\u6761\u4EF61',
10474
+ name: 'param1',
10475
+ children: (
10476
+ <Select style={{ width: '100%' }} placeholder="\u8BF7\u9009\u62E9" allowClear>
10477
+ <Select.Option value={1}>\u9009\u9879\u4E00</Select.Option>
10478
+ <Select.Option value={2}>\u9009\u9879\u4E8C</Select.Option>
10479
+ <Select.Option value={3}>\u9009\u9879\u4E09</Select.Option>
10480
+ </Select>
10481
+ ),
10482
+ },
10483
+ {
10484
+ label: '\u6761\u4EF62',
10485
+ name: 'param2',
10486
+ children: (
10487
+ <Select style={{ width: '100%' }} placeholder="\u8BF7\u9009\u62E9" allowClear>
10488
+ <Select.Option value={1}>\u9009\u9879\u4E00</Select.Option>
10489
+ <Select.Option value={2}>\u9009\u9879\u4E8C</Select.Option>
10490
+ <Select.Option value={3}>\u9009\u9879\u4E09</Select.Option>
10491
+ </Select>
10492
+ ),
10493
+ shouldUpdateNames: ['param1'],
10494
+ showValidate: (e) => e[0] === 1,
10495
+ },
10496
+ {
10497
+ label: '\u6761\u4EF63',
10498
+ name: 'param3',
10499
+ children: (
10500
+ <Select style={{ width: '100%' }} placeholder="\u8BF7\u9009\u62E9" allowClear>
10501
+ <Select.Option value={1}>\u9009\u9879\u4E00</Select.Option>
10502
+ <Select.Option value={2}>\u9009\u9879\u4E8C</Select.Option>
10503
+ <Select.Option value={3}>\u9009\u9879\u4E09</Select.Option>
10504
+ </Select>
10505
+ ),
10506
+ shouldUpdateNames: ['param2'],
10507
+ showValidate: (e) => e[0] === 2,
10508
+ },
10509
+ {
10510
+ label: '\u6761\u4EF64',
10511
+ name: 'param4',
10512
+ children: <Input placeholder="\u8BF7\u8F93\u5165" />,
10513
+ },
10514
+ ];
10515
+
10516
+ const columns: CCS.TableColumns<TableDataType> = [
10517
+ {
10518
+ title: '\u7528\u6237\u540D',
10519
+ dataIndex: 'workerName',
10520
+ ellipsis: true,
10521
+ },
10522
+ { title: '\u8D26\u53F7', dataIndex: 'loginCode', ellipsis: true },
10523
+ { title: '\u7EC4\u7EC7', dataIndex: 'orgName', ellipsis: true },
10524
+ ];
10525
+
10526
+ return (
10527
+ <>
10528
+ <CcsProTable<TableDataType>
10529
+ formItems={formItems}
10530
+ table={{
10531
+ request: queryWorker,
10532
+ rowKey: 'loginId',
10533
+ columns,
10534
+ }}
10535
+ />
10536
+ </>
10537
+ );
10538
+ };
10539
+ `},83758:function(g,n){"use strict";n.Z=`import CCS, { CcsButton, CcsDialog, CcsProTable } from '@ccs-ui/rc-pro';
10540
+ import { useRef } from 'react';
10541
+ import { DataType, query, update } from './service-tree';
10542
+ import TreeForm from './tree-form';
10543
+
10544
+ export default () => {
10545
+ const proRef = useRef<CCS.TableInstance>(null);
10546
+ const { openModal } = CcsDialog.useDialog();
10547
+
10548
+ const onShow = (value: DataType) => {
10549
+ openModal({
10550
+ title: value.id ? '\u4FEE\u6539' : '\u65B0\u589E',
10551
+ content: <TreeForm />,
10552
+ form: { initialValues: value },
10553
+ request: update,
10554
+ onOk() {
10555
+ proRef.current?.onPartialReload(value.id as string);
10556
+ },
10557
+ });
10558
+ };
10559
+
10560
+ const columns: CCS.TableColumns<DataType> = [
10561
+ {
10562
+ title: 'id',
10563
+ dataIndex: 'id',
10564
+ hidden: true,
10565
+ },
10566
+ {
10567
+ title: '\u540D\u79F0',
10568
+ dataIndex: 'name',
10569
+ },
10570
+ {
10571
+ title: '\u64CD\u4F5C',
10572
+ width: 220,
10573
+ render: (_, record) => (
10574
+ <CcsButton.Group
10575
+ isLink
10576
+ onClick={(e) => {
10577
+ if (e === 'edit') onShow(record);
10578
+ if (e === 'addChild') onShow({ parentId: record.id as string });
10579
+ }}
10580
+ items={[
10581
+ { label: '\u7F16\u8F91', key: 'edit' },
10582
+ { label: '\u65B0\u589E\u4E0B\u7EA7', key: 'addChild' },
10583
+ ]}
10584
+ />
10585
+ ),
10586
+ },
10587
+ ];
10588
+
10589
+ return (
10590
+ <CcsProTable.Tree<DataType>
10591
+ proRef={proRef}
10592
+ parentFieldName="parentId"
10593
+ leafNode={(e) => e.id!.split('-').length === 4}
10594
+ table={{
10595
+ request: query,
10596
+ requestParam: { parentId: '1' },
10597
+ rowKey: 'id',
10598
+ columns,
10599
+ pagination: false,
10600
+ }}
10601
+ />
10602
+ );
10603
+ };
10604
+ `},12136:function(g,n){"use strict";n.Z=`import { Form, Input } from 'antd';
10605
+ import { FC } from 'react';
10606
+
10607
+ const FormItem = Form.Item;
10608
+
10609
+ const TreeForm: FC = () => {
10610
+ return (
10611
+ <>
10612
+ <FormItem
10613
+ label="\u540D\u79F0"
10614
+ name="name"
10615
+ rules={[{ required: true, message: '\u540D\u79F0' }]}
10616
+ >
10617
+ <Input placeholder="\u8BF7\u8F93\u5165" />
10618
+ </FormItem>
10619
+ </>
10620
+ );
10621
+ };
10622
+
10623
+ export default TreeForm;
10624
+ `},82530:function(g,n){"use strict";n.Z=`import { ProTableProps } from './_api';
9548
10625
  import './index.less';
9549
10626
  import SelectionAlert from './selection-alert';
9550
10627
  import TableSummary from './summary';
@@ -9591,7 +10668,7 @@ if (process.env.NODE_ENV !== 'production') {
9591
10668
  }
9592
10669
 
9593
10670
  export default ProTable;
9594
- `},9267:function(h,n){"use strict";n.Z=`import { DeleteOutlined } from '@ant-design/icons';
10671
+ `},9267:function(g,n){"use strict";n.Z=`import { DeleteOutlined } from '@ant-design/icons';
9595
10672
  import { Button, Space, Tag, TagProps, theme } from 'antd';
9596
10673
  import React, { CSSProperties } from 'react';
9597
10674
 
@@ -9661,7 +10738,7 @@ export default function SelectionAlert({
9661
10738
  </Space>
9662
10739
  );
9663
10740
  }
9664
- `},98670:function(h,n){"use strict";n.Z=`import { Table } from 'antd';
10741
+ `},98670:function(g,n){"use strict";n.Z=`import { Table } from 'antd';
9665
10742
  import { ReactNode } from 'react';
9666
10743
  import CCS from '..';
9667
10744
 
@@ -9707,7 +10784,7 @@ export default function TableSummary({
9707
10784
  </Table.Summary>
9708
10785
  );
9709
10786
  }
9710
- `},56197:function(h,n){"use strict";n.Z=`import { useUpdateEffect } from 'ahooks';
10787
+ `},56197:function(g,n){"use strict";n.Z=`import { useUpdateEffect } from 'ahooks';
9711
10788
  import { theme as antTheme, Empty, TableProps } from 'antd';
9712
10789
  import { ConfigContext } from 'antd/es/config-provider';
9713
10790
  import { CheckboxOptionType } from 'antd/lib';
@@ -10158,7 +11235,7 @@ const InternalProTable = <RecordType extends object = any>(
10158
11235
 
10159
11236
  // table \u64CD\u4F5C\u6309\u94AE
10160
11237
  const renderTableOperation = table?.hideOperation ? (
10161
- <CcsAtom.Operation extraLeft={toolbar} extraRight={extraOper} />
11238
+ <CcsAtom.Operation extraLeft={toolbar} />
10162
11239
  ) : (
10163
11240
  <CcsAtom.Operation
10164
11241
  extraLeft={toolbar}
@@ -10211,7 +11288,7 @@ const InternalProTable = <RecordType extends object = any>(
10211
11288
  };
10212
11289
 
10213
11290
  export default InternalProTable;
10214
- `},97683:function(h,n){"use strict";n.Z=`import CcsUtils from '@ccs-ui/utils';
11291
+ `},97683:function(g,n){"use strict";n.Z=`import CcsUtils from '@ccs-ui/utils';
10215
11292
  import { TableProps } from 'antd';
10216
11293
  import { TableSticky } from 'rc-table/lib/interface';
10217
11294
  import { RefObject, useImperativeHandle, useState } from 'react';
@@ -10362,7 +11439,7 @@ const TableTree = <T extends object = any>(props: TreeTableProps<T>) => {
10362
11439
  };
10363
11440
 
10364
11441
  export default TableTree;
10365
- `},67190:function(h,n){"use strict";n.Z=`import { TabPaneProps } from 'antd';
11442
+ `},67190:function(g,n){"use strict";n.Z=`import { TabPaneProps } from 'antd';
10366
11443
 
10367
11444
  /** onTabChange \u53C2\u6570 */
10368
11445
  export interface TabsChangeProps {
@@ -10399,7 +11476,7 @@ export interface TabsContextType {
10399
11476
  /** \u6539\u53D8tab\u95F4\u4F20\u9012\u7684\u53C2\u6570 */
10400
11477
  onTabChange: (tab: TabsChangeProps) => void;
10401
11478
  }
10402
- `},69045:function(h,n){"use strict";n.Z=`import { CcsProTabs } from '@ccs-ui/rc-pro';
11479
+ `},69045:function(g,n){"use strict";n.Z=`import { CcsProTabs } from '@ccs-ui/rc-pro';
10403
11480
  import { Tabs } from 'antd';
10404
11481
 
10405
11482
  const items = [
@@ -10429,7 +11506,7 @@ export default function Basic() {
10429
11506
  </>
10430
11507
  );
10431
11508
  }
10432
- `},37926:function(h,n){"use strict";n.Z=`import { CcsProTabs, useCcsTabs } from '@ccs-ui/rc-pro';
11509
+ `},37926:function(g,n){"use strict";n.Z=`import { CcsProTabs, useCcsTabs } from '@ccs-ui/rc-pro';
10433
11510
  import { Button, Card, Space, Tabs } from 'antd';
10434
11511
 
10435
11512
  let tabId = 3;
@@ -10502,7 +11579,7 @@ export default () => (
10502
11579
  />
10503
11580
  </CcsProTabs>
10504
11581
  );
10505
- `},4196:function(h,n){"use strict";n.Z=`import CcsUtils from '@ccs-ui/utils';
11582
+ `},4196:function(g,n){"use strict";n.Z=`import CcsUtils from '@ccs-ui/utils';
10506
11583
  import { useUpdateEffect } from 'ahooks';
10507
11584
  import { TabsProps, theme as antTheme } from 'antd';
10508
11585
  import update, { Spec } from 'immutability-helper';
@@ -10647,7 +11724,7 @@ if (process.env.NODE_ENV !== 'production') {
10647
11724
  }
10648
11725
 
10649
11726
  export default ProTabs;
10650
- `},20003:function(h,n){"use strict";n.Z=`import { CcsResult } from '@ccs-ui/rc-pro';
11727
+ `},20003:function(g,n){"use strict";n.Z=`import { CcsResult } from '@ccs-ui/rc-pro';
10651
11728
 
10652
11729
  export default () => {
10653
11730
  return (
@@ -10665,7 +11742,7 @@ export default () => {
10665
11742
  </>
10666
11743
  );
10667
11744
  };
10668
- `},58578:function(h,n){"use strict";n.Z=`import { Result } from 'antd';
11745
+ `},58578:function(g,n){"use strict";n.Z=`import { Result } from 'antd';
10669
11746
  import { ResultProps } from 'antd/es/result';
10670
11747
 
10671
11748
  const InternalResult = (props: ResultProps) => <Result {...props} />;
@@ -10720,7 +11797,7 @@ InternalResult.Page404 = Result404;
10720
11797
  InternalResult.Page500 = Result500;
10721
11798
 
10722
11799
  export default InternalResult;
10723
- `},2431:function(h,n){"use strict";n.Z=`import { LoadingOutlined, SelectOutlined } from '@ant-design/icons';
11800
+ `},2431:function(g,n){"use strict";n.Z=`import { LoadingOutlined, SelectOutlined } from '@ant-design/icons';
10724
11801
  import { Modal, Select } from 'antd';
10725
11802
  import React, { useState } from 'react';
10726
11803
  import { ModalSelectProps, SelectChildrenProps } from './_api';
@@ -10836,7 +11913,7 @@ export default function ModalSelect({
10836
11913
  </>
10837
11914
  );
10838
11915
  }
10839
- `},42519:function(h,n){"use strict";n.Z=`import { SelectProps as AntSelectProps, ModalProps } from 'antd';
11916
+ `},42519:function(g,n){"use strict";n.Z=`import { SelectProps as AntSelectProps, ModalProps } from 'antd';
10840
11917
  import { NamePath } from 'antd/es/form/interface';
10841
11918
  import { ReactElement, ReactNode } from 'react';
10842
11919
 
@@ -10897,7 +11974,7 @@ export type ModalSelectProps = Omit<AntSelectProps, 'children' | 'title'> & {
10897
11974
  /** \u81EA\u5B9A\u4E49\u5185\u5BB9 */
10898
11975
  children?: ReactElement | ((props: SelectChildrenProps) => ReactNode);
10899
11976
  };
10900
- `},52504:function(h,n){"use strict";n.Z=`import { useRequest } from 'ahooks';
11977
+ `},52504:function(g,n){"use strict";n.Z=`import { useRequest } from 'ahooks';
10901
11978
  import { useEffect } from 'react';
10902
11979
  import InternalSelect from '.';
10903
11980
  import { ApiSelectProps } from './_api';
@@ -10937,7 +12014,7 @@ function ApiSelect({
10937
12014
  }
10938
12015
 
10939
12016
  export default ApiSelect;
10940
- `},5125:function(h,n){"use strict";n.Z=`import { LoadingOutlined, SelectOutlined } from '@ant-design/icons';
12017
+ `},5125:function(g,n){"use strict";n.Z=`import { LoadingOutlined, SelectOutlined } from '@ant-design/icons';
10941
12018
  import { Select } from 'antd';
10942
12019
  import React, { useEffect, useMemo, useRef, useState } from 'react';
10943
12020
  import { CustomizeSelectProps, SelectChildrenProps } from './_api';
@@ -11058,7 +12135,7 @@ function SelectIndex({
11058
12135
  }
11059
12136
 
11060
12137
  export default SelectIndex;
11061
- `},54681:function(h,n){"use strict";n.Z=`import { CcsSelect } from '@ccs-ui/rc-pro';
12138
+ `},54681:function(g,n){"use strict";n.Z=`import { CcsSelect } from '@ccs-ui/rc-pro';
11062
12139
  import { Button, Space } from 'antd';
11063
12140
  import { useState } from 'react';
11064
12141
  import { onRequest } from './service';
@@ -11103,7 +12180,7 @@ export default () => {
11103
12180
  </>
11104
12181
  );
11105
12182
  };
11106
- `},85467:function(h,n){"use strict";n.Z=`import { CcsSelect } from '@ccs-ui/rc-pro';
12183
+ `},85467:function(g,n){"use strict";n.Z=`import { CcsSelect } from '@ccs-ui/rc-pro';
11107
12184
 
11108
12185
  export default () => {
11109
12186
  return (
@@ -11121,7 +12198,7 @@ export default () => {
11121
12198
  </>
11122
12199
  );
11123
12200
  };
11124
- `},20804:function(h,n){"use strict";n.Z=`import CCS, { CcsProTable, CcsSelect, useTableSelection } from '@ccs-ui/rc-pro';
12201
+ `},20804:function(g,n){"use strict";n.Z=`import CCS, { CcsProTable, CcsSelect, useTableSelection } from '@ccs-ui/rc-pro';
11125
12202
  import { Form, Space } from 'antd';
11126
12203
  import { onRequestPage, RecordType } from './service';
11127
12204
 
@@ -11197,7 +12274,7 @@ export default () => {
11197
12274
  </Space>
11198
12275
  );
11199
12276
  };
11200
- `},82668:function(h,n){"use strict";n.Z=`import CCS, { CcsProTable, CcsSelect, useTableSelection } from '@ccs-ui/rc-pro';
12277
+ `},82668:function(g,n){"use strict";n.Z=`import CCS, { CcsProTable, CcsSelect, useTableSelection } from '@ccs-ui/rc-pro';
11201
12278
  import { useRequest } from 'ahooks';
11202
12279
  import { Form, Space } from 'antd';
11203
12280
  import { onRequestList, onRequestPage, RecordType } from './service';
@@ -11333,7 +12410,7 @@ export default () => {
11333
12410
  </Space>
11334
12411
  );
11335
12412
  };
11336
- `},65358:function(h,n){"use strict";n.Z=`export type RecordType = { id: string; name: string };
12413
+ `},65358:function(g,n){"use strict";n.Z=`export type RecordType = { id: string; name: string };
11337
12414
 
11338
12415
  export function onRequest() {
11339
12416
  return new Promise<any>((resolve) => {
@@ -11378,7 +12455,7 @@ export function onRequestPage({ pageNo }: { pageNo: number }) {
11378
12455
  const id = (pageNo - 1) * 10 + index + 1;
11379
12456
  return {
11380
12457
  id: id.toString(),
11381
- name: \`\u9009\u9879\${id}\`,
12458
+ name: \`\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\${id}\`,
11382
12459
  };
11383
12460
  }),
11384
12461
  },
@@ -11399,7 +12476,7 @@ export function onRequestList(value: string | string[]) {
11399
12476
  }, 1500);
11400
12477
  });
11401
12478
  }
11402
- `},96440:function(h,n){"use strict";n.Z=`import { Select } from 'antd';
12479
+ `},96440:function(g,n){"use strict";n.Z=`import { Select } from 'antd';
11403
12480
  import { useMemo } from 'react';
11404
12481
  import pinyin from 'tiny-pinyin';
11405
12482
  import { getDataByNamePath } from '../utils';
@@ -11494,7 +12571,7 @@ InternalSelect.Customize = CustomizeSelect;
11494
12571
  InternalSelect.Modal = ModalSelect;
11495
12572
 
11496
12573
  export default InternalSelect;
11497
- `},59609:function(h,n){"use strict";n.Z=`import { Badge, Tag } from 'antd';
12574
+ `},59609:function(g,n){"use strict";n.Z=`import { Badge, Tag } from 'antd';
11498
12575
 
11499
12576
  export type CcsStatusTagProps = {
11500
12577
  value: any;
@@ -11523,7 +12600,7 @@ if (process.env.NODE_ENV !== 'production') {
11523
12600
  }
11524
12601
 
11525
12602
  export default StatusTag;
11526
- `},62576:function(h,n){"use strict";n.Z=`import { message, Modal, notification } from 'antd';
12603
+ `},62576:function(g,n){"use strict";n.Z=`import { message, Modal, notification } from 'antd';
11527
12604
  import { MessageInstance } from 'antd/es/message/interface';
11528
12605
  import { HookAPI } from 'antd/es/modal/useModal';
11529
12606
  import { NotificationInstance } from 'antd/es/notification/interface';
@@ -11602,7 +12679,7 @@ export default class ThemeDialog {
11602
12679
  },
11603
12680
  );
11604
12681
  }
11605
- `},54516:function(h,n){"use strict";n.Z=`import { CcsTimePicker } from '@ccs-ui/rc-pro';
12682
+ `},54516:function(g,n){"use strict";n.Z=`import { CcsTimePicker } from '@ccs-ui/rc-pro';
11606
12683
  import { Space } from 'antd';
11607
12684
 
11608
12685
  export default () => {
@@ -11625,7 +12702,7 @@ export default () => {
11625
12702
  </Space>
11626
12703
  );
11627
12704
  };
11628
- `},88225:function(h,n){"use strict";n.Z=`import { TimePicker, TimePickerProps } from 'antd';
12705
+ `},88225:function(g,n){"use strict";n.Z=`import { TimePicker, TimePickerProps } from 'antd';
11629
12706
  import { RangePickerProps } from 'antd/es/date-picker';
11630
12707
  import dayjs from 'dayjs';
11631
12708
  import customParseFormat from 'dayjs/plugin/customParseFormat';
@@ -11683,7 +12760,7 @@ function RangePicker({ value, onChange, ...restProps }: CcsRangePickerProps) {
11683
12760
  CcsTimePicker.RangePicker = RangePicker;
11684
12761
 
11685
12762
  export default CcsTimePicker;
11686
- `},86363:function(h,n){"use strict";n.Z=`import {
12763
+ `},86363:function(g,n){"use strict";n.Z=`import {
11687
12764
  UploadProps as AntUploadProps,
11688
12765
  UploadChangeParam,
11689
12766
  } from 'antd/es/upload';
@@ -11752,7 +12829,7 @@ export type UploadImageProps = UploadProps & {
11752
12829
  /** \u83B7\u53D6base64\u6570\u636E */
11753
12830
  onImageInfo?: (info: ImageInfo) => void;
11754
12831
  };
11755
- `},48615:function(h,n){"use strict";n.Z=`import { CcsUpload } from '@ccs-ui/rc-pro';
12832
+ `},48615:function(g,n){"use strict";n.Z=`import { CcsUpload } from '@ccs-ui/rc-pro';
11756
12833
 
11757
12834
  const uploadRequest = () => {
11758
12835
  return new Promise<any>((resolve) => {
@@ -11774,7 +12851,7 @@ export default function Basic() {
11774
12851
  />
11775
12852
  );
11776
12853
  }
11777
- `},52122:function(h,n){"use strict";n.Z=`import { CcsUpload } from '@ccs-ui/rc-pro';
12854
+ `},52122:function(g,n){"use strict";n.Z=`import { CcsUpload } from '@ccs-ui/rc-pro';
11778
12855
 
11779
12856
  const uploadRequest = () => {
11780
12857
  return new Promise<any>((resolve) => {
@@ -11796,7 +12873,7 @@ export default function Basic() {
11796
12873
  />
11797
12874
  );
11798
12875
  }
11799
- `},27379:function(h,n){"use strict";n.Z=`import { UploadOutlined } from '@ant-design/icons';
12876
+ `},27379:function(g,n){"use strict";n.Z=`import { UploadOutlined } from '@ant-design/icons';
11800
12877
  import { UploadProps as AntUploadProps, Button, Upload, message } from 'antd';
11801
12878
  import { useState } from 'react';
11802
12879
  import CcsDialog from '../dialog';
@@ -11939,7 +13016,7 @@ if (process.env.NODE_ENV !== 'production') {
11939
13016
  }
11940
13017
 
11941
13018
  export default CustomUpload;
11942
- `},87745:function(h,n){"use strict";n.Z=`import { PlusOutlined } from '@ant-design/icons';
13019
+ `},87745:function(g,n){"use strict";n.Z=`import { PlusOutlined } from '@ant-design/icons';
11943
13020
  import { message, Upload, UploadProps } from 'antd';
11944
13021
  import ImgCrop from 'antd-img-crop';
11945
13022
  import { RcFile, UploadFile } from 'antd/es/upload/interface';
@@ -12090,7 +13167,7 @@ export function ImageUpload({
12090
13167
  </>
12091
13168
  );
12092
13169
  }
12093
- `},47704:function(h,n){"use strict";n.Z=`import { NamePath } from 'antd/es/form/interface';
13170
+ `},47704:function(g,n){"use strict";n.Z=`import { NamePath } from 'antd/es/form/interface';
12094
13171
 
12095
13172
  // \u8EAB\u4EFD\u8BC1\u53F7\u7801\u6B63\u5219\u8868\u8FBE\u5F0F\uFF08\u7ED3\u6784\u6821\u9A8C\uFF09
12096
13173
  const idCardRegex =
@@ -12181,7 +13258,7 @@ export function getDataByNamePath(data: any, name: NamePath) {
12181
13258
  }
12182
13259
  return newData;
12183
13260
  }
12184
- `},96788:function(h,n){"use strict";n.Z=`import { PropsWithCss, PropsWithNodeChildren } from '../ccs';
13261
+ `},96788:function(g,n){"use strict";n.Z=`import { PropsWithCss, PropsWithNodeChildren } from '../ccs';
12185
13262
 
12186
13263
  export type WaterMarkProps = PropsWithNodeChildren &
12187
13264
  PropsWithCss & {
@@ -12237,7 +13314,7 @@ export type WaterMarkProps = PropsWithNodeChildren &
12237
13314
  */
12238
13315
  fontSize?: number | string;
12239
13316
  };
12240
- `},7281:function(h,n){"use strict";n.Z=`import { CcsWaterMark } from '@ccs-ui/rc-pro';
13317
+ `},7281:function(g,n){"use strict";n.Z=`import { CcsWaterMark } from '@ccs-ui/rc-pro';
12241
13318
 
12242
13319
  export default () => {
12243
13320
  return (
@@ -12265,7 +13342,7 @@ export default () => {
12265
13342
  </>
12266
13343
  );
12267
13344
  };
12268
- `},79604:function(h,n){"use strict";n.Z=`import { ConfigProvider } from 'antd';
13345
+ `},79604:function(g,n){"use strict";n.Z=`import { ConfigProvider } from 'antd';
12269
13346
  import classNames from 'classnames';
12270
13347
  import { useContext, useEffect, useState } from 'react';
12271
13348
  import { WaterMarkProps } from './_api';
@@ -12424,7 +13501,7 @@ if (process.env.NODE_ENV !== 'production') {
12424
13501
  WaterMarkComponent.Relative = WaterMarkRelative;
12425
13502
 
12426
13503
  export default WaterMarkComponent;
12427
- `},62561:function(h,n){"use strict";n.Z=`import { ConfigProvider } from 'antd';
13504
+ `},62561:function(g,n){"use strict";n.Z=`import { ConfigProvider } from 'antd';
12428
13505
  import classNames from 'classnames';
12429
13506
  import { useContext, useEffect, useState } from 'react';
12430
13507
  import { WaterMarkProps } from './_api';
@@ -12564,7 +13641,7 @@ const WaterMarkRelative = (props: WaterMarkProps) => {
12564
13641
  };
12565
13642
 
12566
13643
  export default WaterMarkRelative;
12567
- `},93474:function(h,n){"use strict";n.Z=`import CcsUtils from '@ccs-ui/utils';
13644
+ `},93474:function(g,n){"use strict";n.Z=`import CcsUtils from '@ccs-ui/utils';
12568
13645
 
12569
13646
  export default function DemoIndex() {
12570
13647
  const items = Object.getOwnPropertyNames(CcsUtils)