@teamix/pro 1.5.0-beta.1 → 1.5.1-aplha.0

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 (425) hide show
  1. package/dist/pro.css +1 -1
  2. package/dist/pro.js +84670 -60159
  3. package/dist/pro.min.css +1 -1
  4. package/dist/pro.min.js +1 -1
  5. package/dist/pro.min.js.LICENSE.txt +11 -0
  6. package/es/actions/dialog-component.js +1 -7
  7. package/es/actions/dialog-form.js +5 -3
  8. package/es/actions/dialog.js +1 -1
  9. package/es/actions/index.js +66 -32
  10. package/es/actions/request.js +2 -2
  11. package/es/card/card-container.js +9 -9
  12. package/es/card/divider.js +2 -6
  13. package/es/card/index.js +16 -10
  14. package/es/card/selectable.js +2 -6
  15. package/es/card/tab.js +2 -6
  16. package/es/form/Components/Editable/index.js +1 -1
  17. package/es/form/Components/FormGroup/index.js +5 -3
  18. package/es/form/Components/LightFilter/index.js +8 -2
  19. package/es/form/Components/ProField/index.js +2 -6
  20. package/es/form/Components/Text/index.js +2 -6
  21. package/es/form/Filter/AdvancedFilter.js +18 -15
  22. package/es/form/Filter/LightFilter.js +13 -10
  23. package/es/form/Filter/SimpleFilter.js +10 -6
  24. package/es/form/Filter/index.js +7 -10
  25. package/es/form/Filter/index2.js +21 -17
  26. package/es/form/Filter/layout.scss +1 -1
  27. package/es/form/ProForm/addCascadeEffect.js +225 -0
  28. package/es/form/ProForm/index.js +12 -7
  29. package/es/form/ProForm/useFormDisplayValues.js +1 -1
  30. package/es/form/SchemaForm/reactions.js +2 -1
  31. package/es/form/utils.js +8 -1
  32. package/es/index.js +2 -1
  33. package/es/info/components/InfoGroup/index.js +2 -6
  34. package/es/info/components/InfoValueItem/index.js +23 -21
  35. package/es/info/components/tableInfo/index.js +5 -4
  36. package/es/info/index.js +8 -5
  37. package/es/nocode/index.js +2 -2
  38. package/es/nocode/pages/index.js +4 -3
  39. package/es/nocode/pages/playground.js +3 -7
  40. package/es/nocode/pages/renderer.js +4 -8
  41. package/es/nocode/playground.js +2 -6
  42. package/es/page-header/index.js +12 -7
  43. package/es/sidebar/components/sidebar-container/index.js +23 -11
  44. package/es/sidebar/components/sidebar-container/index.scss +21 -14
  45. package/es/sidebar/components/tree/index.js +26 -12
  46. package/es/sidebar/components/tree-node/components/HoverTooltip/index.js +2 -6
  47. package/es/sidebar/components/tree-node/components/IconAction/index.js +4 -2
  48. package/es/sidebar/components/tree-node/index.js +22 -19
  49. package/es/sidebar/index.js +3 -5
  50. package/es/sidebar/utils/index.js +11 -11
  51. package/es/table/components/Layout/index.js +14 -10
  52. package/es/table/components/Pagination/index.js +10 -14
  53. package/es/table/components/QuickAction/index.js +4 -2
  54. package/es/table/components/ToolBar/DensityIcon.js +3 -3
  55. package/es/table/components/ToolBar/FilterColumnIcon.js +2 -0
  56. package/es/table/components/ToolBar/FullScreenIcon.js +6 -57
  57. package/es/table/components/ToolBar/RefreshIcon.js +2 -1
  58. package/es/table/components/ToolBar/index.js +98 -19
  59. package/es/table/components/ToolBar/index.scss +22 -2
  60. package/es/table/index.js +38 -28
  61. package/es/table/utils/columnRender.js +27 -25
  62. package/es/table/utils/genProColumnToColumn.js +1 -1
  63. package/es/table/utils/index.js +2 -2
  64. package/es/table/utils/pureColumnRender.js +4 -2
  65. package/es/table/utils/pureGenProColumnToColumn.js +1 -1
  66. package/es/templates/List/index.js +4 -8
  67. package/es/templates/index.js +2 -1
  68. package/es/timeline/ProTimeLineItem/index.js +2 -6
  69. package/es/timeline/index.js +3 -7
  70. package/es/utils/message.js +3 -7
  71. package/lib/actions/dialog-component.js +1 -7
  72. package/lib/actions/dialog-form.js +5 -3
  73. package/lib/actions/dialog.js +1 -1
  74. package/lib/actions/index.js +65 -32
  75. package/lib/card/card-container.js +5 -7
  76. package/lib/card/divider.js +2 -6
  77. package/lib/card/index.js +16 -9
  78. package/lib/card/selectable.js +2 -6
  79. package/lib/card/tab.js +2 -6
  80. package/lib/form/Components/Editable/index.js +1 -1
  81. package/lib/form/Components/FormGroup/index.js +5 -3
  82. package/lib/form/Components/LightFilter/index.js +8 -2
  83. package/lib/form/Components/ProField/index.js +2 -6
  84. package/lib/form/Components/Text/index.js +2 -6
  85. package/lib/form/Filter/AdvancedFilter.js +17 -14
  86. package/lib/form/Filter/LightFilter.js +12 -9
  87. package/lib/form/Filter/SimpleFilter.js +8 -5
  88. package/lib/form/Filter/index.js +6 -9
  89. package/lib/form/Filter/index2.js +21 -17
  90. package/lib/form/Filter/layout.scss +1 -1
  91. package/lib/form/ProForm/addCascadeEffect.js +235 -0
  92. package/lib/form/ProForm/index.js +13 -7
  93. package/lib/form/typing.js +1 -5
  94. package/lib/form/utils.js +7 -0
  95. package/lib/index.js +2 -1
  96. package/lib/info/components/InfoGroup/index.js +2 -6
  97. package/lib/info/components/InfoValueItem/index.js +23 -21
  98. package/lib/info/components/tableInfo/index.js +5 -4
  99. package/lib/info/index.js +8 -5
  100. package/lib/info/typing.js +1 -5
  101. package/lib/nocode/pages/index.js +2 -2
  102. package/lib/nocode/pages/playground.js +3 -7
  103. package/lib/nocode/pages/renderer.js +4 -8
  104. package/lib/nocode/playground.js +2 -6
  105. package/lib/page-header/index.js +12 -6
  106. package/lib/sidebar/components/sidebar-container/index.js +23 -11
  107. package/lib/sidebar/components/sidebar-container/index.scss +21 -14
  108. package/lib/sidebar/components/tree/index.js +26 -12
  109. package/lib/sidebar/components/tree-node/components/HoverTooltip/index.js +2 -6
  110. package/lib/sidebar/components/tree-node/components/IconAction/index.js +4 -2
  111. package/lib/sidebar/components/tree-node/index.js +22 -19
  112. package/lib/sidebar/index.js +3 -5
  113. package/lib/sidebar/typing.js +1 -5
  114. package/lib/sidebar/utils/index.js +11 -11
  115. package/lib/table/components/Layout/index.js +15 -11
  116. package/lib/table/components/Pagination/index.js +10 -14
  117. package/lib/table/components/QuickAction/index.js +4 -2
  118. package/lib/table/components/ToolBar/DensityIcon.js +3 -3
  119. package/lib/table/components/ToolBar/FilterColumnIcon.js +2 -0
  120. package/lib/table/components/ToolBar/FullScreenIcon.js +9 -63
  121. package/lib/table/components/ToolBar/RefreshIcon.js +2 -1
  122. package/lib/table/components/ToolBar/index.js +107 -18
  123. package/lib/table/components/ToolBar/index.scss +22 -2
  124. package/lib/table/index.js +39 -29
  125. package/lib/table/typing.js +1 -5
  126. package/lib/table/utils/columnRender.js +27 -25
  127. package/lib/table/utils/pureColumnRender.js +3 -1
  128. package/lib/templates/List/index.js +4 -8
  129. package/lib/timeline/ProTimeLineItem/index.js +2 -6
  130. package/lib/timeline/index.js +3 -7
  131. package/lib/timeline/typing.js +1 -5
  132. package/lib/utils/message.js +3 -7
  133. package/package.json +1 -1
  134. package/es/actions/base.d.ts +0 -24
  135. package/es/actions/confirm.d.ts +0 -7
  136. package/es/actions/danger-confirm.d.ts +0 -7
  137. package/es/actions/danger-pop-confirm.d.ts +0 -5
  138. package/es/actions/dialog-component.d.ts +0 -10
  139. package/es/actions/dialog-form.d.ts +0 -29
  140. package/es/actions/dialog-info.d.ts +0 -9
  141. package/es/actions/dialog-table.d.ts +0 -9
  142. package/es/actions/dialog.d.ts +0 -40
  143. package/es/actions/drawer-form.d.ts +0 -6
  144. package/es/actions/drawer-info.d.ts +0 -6
  145. package/es/actions/drawer-table.d.ts +0 -6
  146. package/es/actions/drawer.d.ts +0 -6
  147. package/es/actions/error.d.ts +0 -7
  148. package/es/actions/index.d.ts +0 -107
  149. package/es/actions/link.d.ts +0 -8
  150. package/es/actions/notice.d.ts +0 -7
  151. package/es/actions/pop-confirm.d.ts +0 -9
  152. package/es/actions/request.d.ts +0 -9
  153. package/es/actions/utils.d.ts +0 -1
  154. package/es/card/card-container.d.ts +0 -18
  155. package/es/card/divider.d.ts +0 -6
  156. package/es/card/index.d.ts +0 -109
  157. package/es/card/selectable.d.ts +0 -13
  158. package/es/card/tab.d.ts +0 -6
  159. package/es/card/utils.d.ts +0 -9
  160. package/es/field/index.d.ts +0 -3
  161. package/es/form/Components/Editable/index.d.ts +0 -20
  162. package/es/form/Components/FormGroup/index.d.ts +0 -13
  163. package/es/form/Components/LightFilter/componentMap.d.ts +0 -3
  164. package/es/form/Components/LightFilter/index.d.ts +0 -17
  165. package/es/form/Components/ProField/index.d.ts +0 -2
  166. package/es/form/Components/ProField/mapDateFormat.d.ts +0 -3
  167. package/es/form/Components/Text/index.d.ts +0 -7
  168. package/es/form/Filter/AdvancedFilter.d.ts +0 -7
  169. package/es/form/Filter/Layout.d.ts +0 -5
  170. package/es/form/Filter/LightFilter.d.ts +0 -7
  171. package/es/form/Filter/SimpleFilter.d.ts +0 -7
  172. package/es/form/Filter/index.d.ts +0 -9
  173. package/es/form/Filter/index2.d.ts +0 -13
  174. package/es/form/Filter/useBindUrl.d.ts +0 -2
  175. package/es/form/Filter/useSpecialProps.d.ts +0 -6
  176. package/es/form/ProForm/customComponent.d.ts +0 -3
  177. package/es/form/ProForm/index.d.ts +0 -5
  178. package/es/form/ProForm/useAutoLayout.d.ts +0 -9
  179. package/es/form/ProForm/useAutoSubmit.d.ts +0 -6
  180. package/es/form/ProForm/useFieldRequest.d.ts +0 -5
  181. package/es/form/ProForm/useFormDisplayValues.d.ts +0 -4
  182. package/es/form/ProForm/useInitialRequest.d.ts +0 -6
  183. package/es/form/SchemaForm/adapterComponent.d.ts +0 -5
  184. package/es/form/SchemaForm/adapterDecorator.d.ts +0 -6
  185. package/es/form/SchemaForm/adapterType.d.ts +0 -5
  186. package/es/form/SchemaForm/index.d.ts +0 -4
  187. package/es/form/SchemaForm/initializeArrayCards.d.ts +0 -3
  188. package/es/form/SchemaForm/initializeArrayCollapse.d.ts +0 -3
  189. package/es/form/SchemaForm/initializeArrayItems.d.ts +0 -3
  190. package/es/form/SchemaForm/initializeArrayTable.d.ts +0 -3
  191. package/es/form/SchemaForm/initializeDataSource.d.ts +0 -15
  192. package/es/form/SchemaForm/initializeFormButton.d.ts +0 -3
  193. package/es/form/SchemaForm/initializeFormCollapse.d.ts +0 -3
  194. package/es/form/SchemaForm/initializeFormGroup.d.ts +0 -3
  195. package/es/form/SchemaForm/initializeFormStep.d.ts +0 -5
  196. package/es/form/SchemaForm/initializeFormTab.d.ts +0 -3
  197. package/es/form/SchemaForm/initializeReactions.d.ts +0 -2
  198. package/es/form/SchemaForm/initializeRequest.d.ts +0 -11
  199. package/es/form/SchemaForm/initializeRules.d.ts +0 -11
  200. package/es/form/SchemaForm/initializeSelectTable.d.ts +0 -3
  201. package/es/form/SchemaForm/reactions.d.ts +0 -6
  202. package/es/form/docs/ActionResponse.d.ts +0 -7
  203. package/es/form/fieldTypeMap.d.ts +0 -7
  204. package/es/form/index.d.ts +0 -125
  205. package/es/form/locales/validate.d.ts +0 -159
  206. package/es/form/schemaNameMap.d.ts +0 -5
  207. package/es/form/typing.d.ts +0 -172
  208. package/es/form/utils.d.ts +0 -55
  209. package/es/form/warning.d.ts +0 -3
  210. package/es/hooks/index.d.ts +0 -2
  211. package/es/index-without-icon.d.ts +0 -32
  212. package/es/index.d.ts +0 -32
  213. package/es/info/components/InfoGroup/index.d.ts +0 -5
  214. package/es/info/components/InfoValueItem/index.d.ts +0 -5
  215. package/es/info/components/ProInfoItem/index.d.ts +0 -5
  216. package/es/info/components/baseInfo/index.d.ts +0 -8
  217. package/es/info/components/headerInfo/index.d.ts +0 -8
  218. package/es/info/components/tableInfo/index.d.ts +0 -7
  219. package/es/info/index.d.ts +0 -10
  220. package/es/info/typing.d.ts +0 -218
  221. package/es/info/utils/index.d.ts +0 -20
  222. package/es/info/utils/layout.d.ts +0 -2
  223. package/es/info/utils/utils.d.ts +0 -1
  224. package/es/layout/index.d.ts +0 -2
  225. package/es/nocode/configurators/Card.d.ts +0 -3
  226. package/es/nocode/configurators/PageHeader.d.ts +0 -3
  227. package/es/nocode/configurators/ProTable.d.ts +0 -3
  228. package/es/nocode/configurators/common.d.ts +0 -280
  229. package/es/nocode/configurators/index.d.ts +0 -15
  230. package/es/nocode/configurators/map.d.ts +0 -2
  231. package/es/nocode/index.d.ts +0 -8
  232. package/es/nocode/pages/editor.d.ts +0 -12
  233. package/es/nocode/pages/index.d.ts +0 -14
  234. package/es/nocode/pages/playground.d.ts +0 -11
  235. package/es/nocode/pages/renderer.d.ts +0 -10
  236. package/es/nocode/playground.d.ts +0 -14
  237. package/es/page-container/index.d.ts +0 -3
  238. package/es/page-header/index.d.ts +0 -74
  239. package/es/sidebar/components/sidebar-container/index.d.ts +0 -5
  240. package/es/sidebar/components/tree/index.d.ts +0 -6
  241. package/es/sidebar/components/tree-node/components/HoverTooltip/index.d.ts +0 -15
  242. package/es/sidebar/components/tree-node/components/IconAction/index.d.ts +0 -12
  243. package/es/sidebar/components/tree-node/components/IconSwitch/index.d.ts +0 -23
  244. package/es/sidebar/components/tree-node/index.d.ts +0 -7
  245. package/es/sidebar/index.d.ts +0 -7
  246. package/es/sidebar/typing.d.ts +0 -137
  247. package/es/sidebar/utils/action-ref.d.ts +0 -3
  248. package/es/sidebar/utils/index.d.ts +0 -361
  249. package/es/skeleton/index.d.ts +0 -3
  250. package/es/table/components/EmptyContent/index.d.ts +0 -2
  251. package/es/table/components/Filter/index.d.ts +0 -9
  252. package/es/table/components/Layout/index.d.ts +0 -5
  253. package/es/table/components/Pagination/index.d.ts +0 -7
  254. package/es/table/components/QuickAction/index.d.ts +0 -10
  255. package/es/table/components/ToolBar/DensityIcon.d.ts +0 -4
  256. package/es/table/components/ToolBar/FilterColumnIcon.d.ts +0 -4
  257. package/es/table/components/ToolBar/FullScreenIcon.d.ts +0 -4
  258. package/es/table/components/ToolBar/Fullscreen.d.ts +0 -10
  259. package/es/table/components/ToolBar/RefreshIcon.d.ts +0 -4
  260. package/es/table/components/ToolBar/index.d.ts +0 -5
  261. package/es/table/index.d.ts +0 -5
  262. package/es/table/typing.d.ts +0 -299
  263. package/es/table/utils/columnRender.d.ts +0 -13
  264. package/es/table/utils/genProColumnToColumn.d.ts +0 -13
  265. package/es/table/utils/getTableProps.d.ts +0 -2
  266. package/es/table/utils/getTableSortIcons.d.ts +0 -3
  267. package/es/table/utils/index.d.ts +0 -19
  268. package/es/table/utils/pureColumnRender.d.ts +0 -9
  269. package/es/table/utils/pureGenProColumnToColumn.d.ts +0 -7
  270. package/es/table/utils/useTableSelection.d.ts +0 -3
  271. package/es/templates/Detail/index.d.ts +0 -2
  272. package/es/templates/Form/index.d.ts +0 -2
  273. package/es/templates/List/index.d.ts +0 -9
  274. package/es/templates/index.d.ts +0 -3
  275. package/es/timeline/ProTimeLineItem/index.d.ts +0 -5
  276. package/es/timeline/index.d.ts +0 -10
  277. package/es/timeline/typing.d.ts +0 -106
  278. package/es/utils/index.d.ts +0 -3
  279. package/es/utils/message.d.ts +0 -3
  280. package/lib/actions/base.d.ts +0 -24
  281. package/lib/actions/confirm.d.ts +0 -7
  282. package/lib/actions/danger-confirm.d.ts +0 -7
  283. package/lib/actions/danger-pop-confirm.d.ts +0 -5
  284. package/lib/actions/dialog-component.d.ts +0 -10
  285. package/lib/actions/dialog-form.d.ts +0 -29
  286. package/lib/actions/dialog-info.d.ts +0 -9
  287. package/lib/actions/dialog-table.d.ts +0 -9
  288. package/lib/actions/dialog.d.ts +0 -40
  289. package/lib/actions/drawer-form.d.ts +0 -6
  290. package/lib/actions/drawer-info.d.ts +0 -6
  291. package/lib/actions/drawer-table.d.ts +0 -6
  292. package/lib/actions/drawer.d.ts +0 -6
  293. package/lib/actions/error.d.ts +0 -7
  294. package/lib/actions/index.d.ts +0 -107
  295. package/lib/actions/link.d.ts +0 -8
  296. package/lib/actions/notice.d.ts +0 -7
  297. package/lib/actions/pop-confirm.d.ts +0 -9
  298. package/lib/actions/request.d.ts +0 -9
  299. package/lib/actions/utils.d.ts +0 -1
  300. package/lib/card/card-container.d.ts +0 -18
  301. package/lib/card/divider.d.ts +0 -6
  302. package/lib/card/index.d.ts +0 -109
  303. package/lib/card/selectable.d.ts +0 -13
  304. package/lib/card/tab.d.ts +0 -6
  305. package/lib/card/utils.d.ts +0 -9
  306. package/lib/field/index.d.ts +0 -3
  307. package/lib/form/Components/Editable/index.d.ts +0 -20
  308. package/lib/form/Components/FormGroup/index.d.ts +0 -13
  309. package/lib/form/Components/LightFilter/componentMap.d.ts +0 -3
  310. package/lib/form/Components/LightFilter/index.d.ts +0 -17
  311. package/lib/form/Components/ProField/index.d.ts +0 -2
  312. package/lib/form/Components/ProField/mapDateFormat.d.ts +0 -3
  313. package/lib/form/Components/Text/index.d.ts +0 -7
  314. package/lib/form/Filter/AdvancedFilter.d.ts +0 -7
  315. package/lib/form/Filter/Layout.d.ts +0 -5
  316. package/lib/form/Filter/LightFilter.d.ts +0 -7
  317. package/lib/form/Filter/SimpleFilter.d.ts +0 -7
  318. package/lib/form/Filter/index.d.ts +0 -9
  319. package/lib/form/Filter/index2.d.ts +0 -13
  320. package/lib/form/Filter/useBindUrl.d.ts +0 -2
  321. package/lib/form/Filter/useSpecialProps.d.ts +0 -6
  322. package/lib/form/ProForm/customComponent.d.ts +0 -3
  323. package/lib/form/ProForm/index.d.ts +0 -5
  324. package/lib/form/ProForm/useAutoLayout.d.ts +0 -9
  325. package/lib/form/ProForm/useAutoSubmit.d.ts +0 -6
  326. package/lib/form/ProForm/useFieldRequest.d.ts +0 -5
  327. package/lib/form/ProForm/useFormDisplayValues.d.ts +0 -4
  328. package/lib/form/ProForm/useInitialRequest.d.ts +0 -6
  329. package/lib/form/SchemaForm/adapterComponent.d.ts +0 -5
  330. package/lib/form/SchemaForm/adapterDecorator.d.ts +0 -6
  331. package/lib/form/SchemaForm/adapterType.d.ts +0 -5
  332. package/lib/form/SchemaForm/index.d.ts +0 -4
  333. package/lib/form/SchemaForm/initializeArrayCards.d.ts +0 -3
  334. package/lib/form/SchemaForm/initializeArrayCollapse.d.ts +0 -3
  335. package/lib/form/SchemaForm/initializeArrayItems.d.ts +0 -3
  336. package/lib/form/SchemaForm/initializeArrayTable.d.ts +0 -3
  337. package/lib/form/SchemaForm/initializeDataSource.d.ts +0 -15
  338. package/lib/form/SchemaForm/initializeFormButton.d.ts +0 -3
  339. package/lib/form/SchemaForm/initializeFormCollapse.d.ts +0 -3
  340. package/lib/form/SchemaForm/initializeFormGroup.d.ts +0 -3
  341. package/lib/form/SchemaForm/initializeFormStep.d.ts +0 -5
  342. package/lib/form/SchemaForm/initializeFormTab.d.ts +0 -3
  343. package/lib/form/SchemaForm/initializeReactions.d.ts +0 -2
  344. package/lib/form/SchemaForm/initializeRequest.d.ts +0 -11
  345. package/lib/form/SchemaForm/initializeRules.d.ts +0 -11
  346. package/lib/form/SchemaForm/initializeSelectTable.d.ts +0 -3
  347. package/lib/form/SchemaForm/reactions.d.ts +0 -6
  348. package/lib/form/docs/ActionResponse.d.ts +0 -7
  349. package/lib/form/fieldTypeMap.d.ts +0 -7
  350. package/lib/form/index.d.ts +0 -125
  351. package/lib/form/locales/validate.d.ts +0 -159
  352. package/lib/form/schemaNameMap.d.ts +0 -5
  353. package/lib/form/typing.d.ts +0 -172
  354. package/lib/form/utils.d.ts +0 -55
  355. package/lib/form/warning.d.ts +0 -3
  356. package/lib/hooks/index.d.ts +0 -2
  357. package/lib/index-without-icon.d.ts +0 -32
  358. package/lib/index.d.ts +0 -32
  359. package/lib/info/components/InfoGroup/index.d.ts +0 -5
  360. package/lib/info/components/InfoValueItem/index.d.ts +0 -5
  361. package/lib/info/components/ProInfoItem/index.d.ts +0 -5
  362. package/lib/info/components/baseInfo/index.d.ts +0 -8
  363. package/lib/info/components/headerInfo/index.d.ts +0 -8
  364. package/lib/info/components/tableInfo/index.d.ts +0 -7
  365. package/lib/info/index.d.ts +0 -10
  366. package/lib/info/typing.d.ts +0 -218
  367. package/lib/info/utils/index.d.ts +0 -20
  368. package/lib/info/utils/layout.d.ts +0 -2
  369. package/lib/info/utils/utils.d.ts +0 -1
  370. package/lib/layout/index.d.ts +0 -2
  371. package/lib/nocode/configurators/Card.d.ts +0 -3
  372. package/lib/nocode/configurators/PageHeader.d.ts +0 -3
  373. package/lib/nocode/configurators/ProTable.d.ts +0 -3
  374. package/lib/nocode/configurators/common.d.ts +0 -280
  375. package/lib/nocode/configurators/index.d.ts +0 -15
  376. package/lib/nocode/configurators/map.d.ts +0 -2
  377. package/lib/nocode/index.d.ts +0 -8
  378. package/lib/nocode/pages/editor.d.ts +0 -12
  379. package/lib/nocode/pages/index.d.ts +0 -14
  380. package/lib/nocode/pages/playground.d.ts +0 -11
  381. package/lib/nocode/pages/renderer.d.ts +0 -10
  382. package/lib/nocode/playground.d.ts +0 -14
  383. package/lib/page-container/index.d.ts +0 -3
  384. package/lib/page-header/index.d.ts +0 -74
  385. package/lib/sidebar/components/sidebar-container/index.d.ts +0 -5
  386. package/lib/sidebar/components/tree/index.d.ts +0 -6
  387. package/lib/sidebar/components/tree-node/components/HoverTooltip/index.d.ts +0 -15
  388. package/lib/sidebar/components/tree-node/components/IconAction/index.d.ts +0 -12
  389. package/lib/sidebar/components/tree-node/components/IconSwitch/index.d.ts +0 -23
  390. package/lib/sidebar/components/tree-node/index.d.ts +0 -7
  391. package/lib/sidebar/index.d.ts +0 -7
  392. package/lib/sidebar/typing.d.ts +0 -137
  393. package/lib/sidebar/utils/action-ref.d.ts +0 -3
  394. package/lib/sidebar/utils/index.d.ts +0 -361
  395. package/lib/skeleton/index.d.ts +0 -3
  396. package/lib/table/components/EmptyContent/index.d.ts +0 -2
  397. package/lib/table/components/Filter/index.d.ts +0 -9
  398. package/lib/table/components/Layout/index.d.ts +0 -5
  399. package/lib/table/components/Pagination/index.d.ts +0 -7
  400. package/lib/table/components/QuickAction/index.d.ts +0 -10
  401. package/lib/table/components/ToolBar/DensityIcon.d.ts +0 -4
  402. package/lib/table/components/ToolBar/FilterColumnIcon.d.ts +0 -4
  403. package/lib/table/components/ToolBar/FullScreenIcon.d.ts +0 -4
  404. package/lib/table/components/ToolBar/Fullscreen.d.ts +0 -10
  405. package/lib/table/components/ToolBar/RefreshIcon.d.ts +0 -4
  406. package/lib/table/components/ToolBar/index.d.ts +0 -5
  407. package/lib/table/index.d.ts +0 -5
  408. package/lib/table/typing.d.ts +0 -299
  409. package/lib/table/utils/columnRender.d.ts +0 -13
  410. package/lib/table/utils/genProColumnToColumn.d.ts +0 -13
  411. package/lib/table/utils/getTableProps.d.ts +0 -2
  412. package/lib/table/utils/getTableSortIcons.d.ts +0 -3
  413. package/lib/table/utils/index.d.ts +0 -19
  414. package/lib/table/utils/pureColumnRender.d.ts +0 -9
  415. package/lib/table/utils/pureGenProColumnToColumn.d.ts +0 -7
  416. package/lib/table/utils/useTableSelection.d.ts +0 -3
  417. package/lib/templates/Detail/index.d.ts +0 -2
  418. package/lib/templates/Form/index.d.ts +0 -2
  419. package/lib/templates/List/index.d.ts +0 -9
  420. package/lib/templates/index.d.ts +0 -3
  421. package/lib/timeline/ProTimeLineItem/index.d.ts +0 -5
  422. package/lib/timeline/index.d.ts +0 -10
  423. package/lib/timeline/typing.d.ts +0 -106
  424. package/lib/utils/index.d.ts +0 -3
  425. package/lib/utils/message.d.ts +0 -3
@@ -1,280 +0,0 @@
1
- export declare function array(title: string, name: string, fields: any[], main?: string, arrayTitle?: string): {
2
- title: string;
3
- children: {
4
- name: string;
5
- title: string | undefined;
6
- component: string;
7
- items: {
8
- type: string;
9
- decorator: string;
10
- children: ({
11
- component: string;
12
- children: {
13
- component: string;
14
- }[];
15
- name?: undefined;
16
- type?: undefined;
17
- title?: undefined;
18
- reactions?: undefined;
19
- } | {
20
- name: string;
21
- component: string;
22
- type: string;
23
- title: string;
24
- reactions: {
25
- dependencies: string[];
26
- fulfill: {
27
- schema: {
28
- title: string;
29
- };
30
- };
31
- };
32
- children: {
33
- name: string;
34
- component: string;
35
- props: {
36
- layout: string;
37
- labelAlign: string;
38
- colon: boolean;
39
- labelCol: number;
40
- wrapperCol: number;
41
- };
42
- children: any[];
43
- }[];
44
- } | {
45
- component: string;
46
- children?: undefined;
47
- name?: undefined;
48
- type?: undefined;
49
- title?: undefined;
50
- reactions?: undefined;
51
- })[];
52
- };
53
- children: {
54
- component: string;
55
- props: {
56
- title: string;
57
- };
58
- }[];
59
- }[];
60
- };
61
- export declare function actions(props?: {
62
- title?: string;
63
- name?: string;
64
- arrayTitle?: string;
65
- }): {
66
- title: string;
67
- children: {
68
- name: string;
69
- title: string | undefined;
70
- component: string;
71
- items: {
72
- type: string;
73
- decorator: string;
74
- children: ({
75
- component: string;
76
- children: {
77
- component: string;
78
- }[];
79
- name?: undefined;
80
- type?: undefined;
81
- title?: undefined;
82
- reactions?: undefined;
83
- } | {
84
- name: string;
85
- component: string;
86
- type: string;
87
- title: string;
88
- reactions: {
89
- dependencies: string[];
90
- fulfill: {
91
- schema: {
92
- title: string;
93
- };
94
- };
95
- };
96
- children: {
97
- name: string;
98
- component: string;
99
- props: {
100
- layout: string;
101
- labelAlign: string;
102
- colon: boolean;
103
- labelCol: number;
104
- wrapperCol: number;
105
- };
106
- children: any[];
107
- }[];
108
- } | {
109
- component: string;
110
- children?: undefined;
111
- name?: undefined;
112
- type?: undefined;
113
- title?: undefined;
114
- reactions?: undefined;
115
- })[];
116
- };
117
- children: {
118
- component: string;
119
- props: {
120
- title: string;
121
- };
122
- }[];
123
- }[];
124
- };
125
- export declare function actionGroup(title: string, name: string): {
126
- title: string;
127
- name: string;
128
- type: string;
129
- children: {
130
- component: string;
131
- children: ({
132
- title: string;
133
- children: {
134
- name: string;
135
- title: string | undefined;
136
- component: string;
137
- items: {
138
- type: string;
139
- decorator: string;
140
- children: ({
141
- component: string;
142
- children: {
143
- component: string;
144
- }[];
145
- name?: undefined;
146
- type?: undefined;
147
- title?: undefined;
148
- reactions?: undefined;
149
- } | {
150
- name: string;
151
- component: string;
152
- type: string;
153
- title: string;
154
- reactions: {
155
- dependencies: string[];
156
- fulfill: {
157
- schema: {
158
- title: string;
159
- };
160
- };
161
- };
162
- children: {
163
- name: string;
164
- component: string;
165
- props: {
166
- layout: string;
167
- labelAlign: string;
168
- colon: boolean;
169
- labelCol: number;
170
- wrapperCol: number;
171
- };
172
- children: any[];
173
- }[];
174
- } | {
175
- component: string;
176
- children?: undefined;
177
- name?: undefined;
178
- type?: undefined;
179
- title?: undefined;
180
- reactions?: undefined;
181
- })[];
182
- };
183
- children: {
184
- component: string;
185
- props: {
186
- title: string;
187
- };
188
- }[];
189
- }[];
190
- } | {
191
- title: string;
192
- children: ({
193
- name: string;
194
- title: string;
195
- component: string;
196
- dataSource: {
197
- label: string;
198
- value: string;
199
- }[];
200
- default: string;
201
- } | {
202
- name: string;
203
- title: string;
204
- component: string;
205
- default: number;
206
- dataSource?: undefined;
207
- } | {
208
- name: string;
209
- title: string;
210
- component: string;
211
- default: string;
212
- dataSource?: undefined;
213
- })[];
214
- })[];
215
- }[];
216
- };
217
- export declare function filter(name: string): {
218
- name: string;
219
- type: string;
220
- children: {
221
- title: string;
222
- children: {
223
- name: string;
224
- title: string | undefined;
225
- component: string;
226
- items: {
227
- type: string;
228
- decorator: string;
229
- children: ({
230
- component: string;
231
- children: {
232
- component: string;
233
- }[];
234
- name?: undefined;
235
- type?: undefined;
236
- title?: undefined;
237
- reactions?: undefined;
238
- } | {
239
- name: string;
240
- component: string;
241
- type: string;
242
- title: string;
243
- reactions: {
244
- dependencies: string[];
245
- fulfill: {
246
- schema: {
247
- title: string;
248
- };
249
- };
250
- };
251
- children: {
252
- name: string;
253
- component: string;
254
- props: {
255
- layout: string;
256
- labelAlign: string;
257
- colon: boolean;
258
- labelCol: number;
259
- wrapperCol: number;
260
- };
261
- children: any[];
262
- }[];
263
- } | {
264
- component: string;
265
- children?: undefined;
266
- name?: undefined;
267
- type?: undefined;
268
- title?: undefined;
269
- reactions?: undefined;
270
- })[];
271
- };
272
- children: {
273
- component: string;
274
- props: {
275
- title: string;
276
- };
277
- }[];
278
- }[];
279
- }[];
280
- };
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- export declare type ConfiguratorSchema = any[];
3
- export interface Configurator<T = any> {
4
- schema: ConfiguratorSchema;
5
- initialValues?: T;
6
- defaultValues?: T;
7
- }
8
- export declare type ConfiguratorMap = {
9
- [key: string]: Configurator;
10
- };
11
- export interface ConfiguratorProps<T = any> {
12
- initialValues?: T;
13
- onValuesChange?: (values: T) => void;
14
- }
15
- export declare const initConfigurator: <T>(schema: ConfiguratorSchema, defaultInitialValues?: T, defaultValues?: T) => React.FC<ConfiguratorProps<T>>;
@@ -1,2 +0,0 @@
1
- import { ConfiguratorMap } from '.';
2
- export declare const ComponentConfiguratorMap: ConfiguratorMap;
@@ -1,8 +0,0 @@
1
- import './index.scss';
2
- import PageContainer from '../page-container';
3
- export { PageContainer };
4
- export type { PageProps } from '../page-container';
5
- export * from './configurators';
6
- export * from './configurators/map';
7
- export * from './pages';
8
- export * from './playground';
@@ -1,12 +0,0 @@
1
- import { Field } from '@alicloudfe/components';
2
- import { ConfiguratorMap } from '../configurators';
3
- import { PageMap, PageType, PageDefaultInitialValues } from '.';
4
- export interface PageEditorProps {
5
- type: PageType;
6
- initialValues?: any;
7
- field?: Field;
8
- configuratorMap?: ConfiguratorMap;
9
- pageMap?: PageMap;
10
- pageDefaultInitialValues?: PageDefaultInitialValues;
11
- }
12
- export declare const PageEditor: (props: PageEditorProps) => JSX.Element;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { PageProps } from '../../page-container';
3
- export * from './editor';
4
- export * from './playground';
5
- export * from './renderer';
6
- export declare type PageType = 'LIST' | 'DETAIL' | 'FORM' | string;
7
- export declare type PageMap = {
8
- [key in PageType]: React.FC<PageProps>;
9
- };
10
- export declare const PageMap: PageMap;
11
- export declare type PageDefaultInitialValues = {
12
- [key in PageType]: any;
13
- };
14
- export declare const PageDefaultInitialValues: PageDefaultInitialValues;
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import { PageProps } from '../../page-container';
3
- import { ConfiguratorMap } from '../configurators';
4
- interface PagePlayGroundProps<T = any> {
5
- initialValues: T;
6
- page: React.FC<PageProps<T>>;
7
- onValuesChange?: (values: any) => void;
8
- configuratorMap?: ConfiguratorMap;
9
- }
10
- export declare const PagePlayground: (props: PagePlayGroundProps) => JSX.Element;
11
- export {};
@@ -1,10 +0,0 @@
1
- import { PageProps } from '../../page-container';
2
- import { PageMap } from '.';
3
- export interface PageRendererProps<T = any> extends PageProps<T> {
4
- type?: any;
5
- error?: any;
6
- title?: string;
7
- pageMap?: PageMap;
8
- }
9
- export declare const PageRenderer: (props: PageRendererProps) => JSX.Element;
10
- export default PageRenderer;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { Configurator } from './configurators';
3
- export interface PlayGroundLayoutProps {
4
- component: React.ReactNode;
5
- configurator: React.ReactNode;
6
- tools?: React.ReactNode;
7
- }
8
- export declare const PlayGroundLayout: (props: PlayGroundLayoutProps) => JSX.Element;
9
- export interface PlayGround<T = any> {
10
- component: React.FC<T>;
11
- configurator: Configurator;
12
- initialValues: T;
13
- }
14
- export declare const PlayGround: <T extends {}>(props: PlayGround<T>) => JSX.Element;
@@ -1,3 +0,0 @@
1
- import ProPageContainer from '@teamix/pro-page-container';
2
- export * from '@teamix/pro-page-container';
3
- export default ProPageContainer;
@@ -1,74 +0,0 @@
1
- import React from 'react';
2
- import { ItemProps } from '@alicloudfe/components/types/breadcrumb';
3
- import { LinkPath } from '@teamix/utils';
4
- import { CapsuleTabType, ProTagItem } from '../field';
5
- import { ProActionGroupProps } from '../actions';
6
- import { ProInfoProps } from '../info';
7
- import './index.scss';
8
- export interface ProPageHeaderBreadcrumbItem extends ItemProps {
9
- /**
10
- * @deprecated 建议使用 children 代替
11
- */
12
- text?: string;
13
- }
14
- export declare type ProPageHeaderTagItem = ProTagItem;
15
- declare type Color = 'blue' | 'green' | 'orange' | 'red' | 'yellow' | string;
16
- export declare type ProPageHeaderDataItem = {
17
- title: string;
18
- num: number;
19
- color?: Color;
20
- } & React.HTMLAttributes<HTMLElement>;
21
- export declare type ProPageHeaderProps = {
22
- /** 标题 */
23
- title?: React.ReactNode;
24
- /** 标题说明 */
25
- titleTooltip?: React.ReactNode;
26
- /** 描述 */
27
- description?: React.ReactNode;
28
- /** 图标 */
29
- icon?: React.ReactNode;
30
- /** 图标颜色 */
31
- iconColor?: Color;
32
- /** 图标背景类型 */
33
- iconBackgroundType?: 'circle' | 'square';
34
- /** 图标背景色 */
35
- iconBackgroundColor?: Color;
36
- /** 返回按钮配置 */
37
- goback?: boolean | LinkPath | ((e: React.MouseEvent) => void);
38
- /** 背景图 */
39
- image?: string;
40
- /** 加载中 */
41
- loading?: boolean;
42
- /** 面包屑配置 */
43
- breadcrumb?: ProPageHeaderBreadcrumbItem[];
44
- /** 额外信息区配置 */
45
- extra?: ProActionGroupProps | React.ReactNode;
46
- /** 操作区配置 */
47
- operation?: ProActionGroupProps | React.ReactNode;
48
- /** 标签组 */
49
- tags?: ProPageHeaderTagItem[];
50
- /** 数据概览项 */
51
- data?: ProPageHeaderDataItem[];
52
- /** 底部详情 */
53
- info?: ProInfoProps | React.ReactNode;
54
- /** 切换 tabs */
55
- tabs?: CapsuleTabType;
56
- } & Omit<React.HTMLAttributes<HTMLElement>, 'title'>;
57
- declare const ProPageHeader: React.FC<ProPageHeaderProps>;
58
- export default ProPageHeader;
59
- /**
60
- * @deprecated 建议使用 ProPageHeaderBreadcrumbItem 代替
61
- */
62
- export declare type BreadcrumbItem = ProPageHeaderBreadcrumbItem;
63
- /**
64
- * @deprecated 建议使用 ProPageHeaderTagItem 代替
65
- */
66
- export declare type TagItem = ProPageHeaderTagItem;
67
- /**
68
- * @deprecated 建议使用 ProPageHeaderDataItem 代替
69
- */
70
- export declare type DataItem = ProPageHeaderDataItem;
71
- /**
72
- * @deprecated 建议使用 ProPageHeaderProps 代替
73
- */
74
- export declare type PageHeaderProps = ProPageHeaderProps;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { ProSidebarContainerProps } from '../../typing';
3
- import './index.scss';
4
- declare const ProSidebarContainer: React.FC<ProSidebarContainerProps>;
5
- export default ProSidebarContainer;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import { ProSidebarTreeProps } from '../../typing';
3
- import './index.scss';
4
- import '../tree-node/index.scss';
5
- declare const ProSidebarTree: React.FC<ProSidebarTreeProps>;
6
- export default ProSidebarTree;
@@ -1,15 +0,0 @@
1
- import { TooltipProps } from '@alicloudfe/components/types/balloon';
2
- import React from 'react';
3
- import './index.scss';
4
- export declare type ProHoverTooltipProps = {
5
- /** 触发器 */
6
- trigger?: React.ReactNode;
7
- /** 显示隐藏 */
8
- visible?: boolean;
9
- /** tooltip */
10
- tooltip?: React.ReactNode;
11
- /** tooltip 配置 */
12
- tooltipProps?: TooltipProps;
13
- } & React.HTMLAttributes<HTMLElement>;
14
- declare const ProHoverTooltip: React.FC<ProHoverTooltipProps>;
15
- export default ProHoverTooltip;
@@ -1,12 +0,0 @@
1
- import { ProActionConfig } from '../../../../..';
2
- import React from 'react';
3
- import './index.scss';
4
- export declare type ProIconActionProps = {
5
- trigger: React.ReactNode;
6
- icon: React.ReactNode;
7
- action: ProActionConfig;
8
- visible?: boolean;
9
- tooltip?: React.ReactNode;
10
- };
11
- declare const ProIconAction: React.FC<ProIconActionProps>;
12
- export default ProIconAction;
@@ -1,23 +0,0 @@
1
- import { TooltipProps } from '@alicloudfe/components/types/balloon';
2
- import React from 'react';
3
- import './index.scss';
4
- export declare type ProIconSwitch = {
5
- /** 默认状态 */
6
- visible?: boolean;
7
- /** tooltip 显示隐藏 */
8
- tooltipVisible?: boolean;
9
- /** 未激活状态下的icon */
10
- icon?: React.ReactNode;
11
- /** 激活状态下的 icon */
12
- activeIcon?: React.ReactNode;
13
- /** tooltip */
14
- tooltip?: React.ReactNode;
15
- /** cancelTooltip */
16
- cancelTooltip?: React.ReactNode;
17
- /** tooltip 配置 */
18
- tooltipProps?: TooltipProps;
19
- /** 状态改变的回调 */
20
- onChange?: (state: boolean) => void;
21
- };
22
- declare const ProIconSwitch: React.FC<ProIconSwitch>;
23
- export default ProIconSwitch;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { ProSidebarDataSource, ProSidebarDataSourceItem } from '../../typing';
3
- import { ProSidebarProps } from '../..';
4
- declare const ProSideBarTreeNode: React.FC<ProSidebarDataSourceItem>;
5
- export declare function renderTreeNode(data: ProSidebarDataSource): JSX.Element[];
6
- export declare function renderTreeNodeDependenceValue(data: ProSidebarDataSource, onBeforeRenderNodeEvent: ProSidebarProps['onBeforeRenderNodeEvent'], checkedKeys: any[], selectedKeys: any[], allData?: ProSidebarDataSource): JSX.Element[];
7
- export default ProSideBarTreeNode;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import './index.scss';
3
- import { ProSidebarProps } from './typing';
4
- export * from './typing';
5
- export * from './utils';
6
- declare const ProSidebar: React.FC<ProSidebarProps>;
7
- export default ProSidebar;
@@ -1,137 +0,0 @@
1
- /// <reference types="react" />
2
- import { MessageProps } from '@alifd/next/types/message';
3
- import { NodeProps, TreeProps } from '@alifd/next/types/tree';
4
- import { CommonRequestConfig } from '@teamix/utils';
5
- import { ProTagItem } from '../field';
6
- import { ProActionConfig, ProCardProps, ProFieldProps, ProFieldRenderProps, ProFieldType } from '..';
7
- /** ProSidebar 定义 */
8
- export declare type ProSidebarProps = {
9
- /** 数据源 */
10
- dataSource?: ProSidebarDataSource;
11
- /** 点击的节点 */
12
- selectedKeys?: TreeProps['selectedKeys'];
13
- /** 选中的节点 */
14
- checkedKeys?: TreeProps['checkedKeys'];
15
- /** 节点点击回调 */
16
- onSelect?: TreeProps['onSelect'];
17
- /** 节点选中回调 */
18
- onCheck?: TreeProps['onCheck'];
19
- /** 树配置 */
20
- treeProps?: TreeProps;
21
- /** 卡片配置 */
22
- cardProps?: ProCardProps;
23
- /** 显示数量 */
24
- showExtraNumber?: boolean;
25
- /** actionRef */
26
- actionRef?: React.MutableRefObject<ProSidebarActionType | undefined>;
27
- /** 渲染树节点之前的回调 dataSource 变动时调用 */
28
- beforeRenderNode?: (item: ProSidebarDataSourceItem, level: number, dataSource: ProSidebarDataSource) => ProSidebarDataSourceItem;
29
- /** 监听渲染树节点之前的事件 当节点状态改变、dataSource 变动时调用 */
30
- onBeforeRenderNodeEvent?: (item: ProSidebarDataSourceItem, checkedKeys: TreeProps['checkedKeys'], selectedKeys: TreeProps['selectedKeys'], dataSource: ProSidebarDataSource) => ProSidebarDataSourceItem;
31
- } & Omit<React.HTMLAttributes<HTMLElement>, 'onSelect'> & Omit<ProSidebarContainerProps, 'onSelect'> & ProSidebarRequestProps;
32
- /** 数据源定义 */
33
- export declare type ProSidebarDataSource = ProSidebarDataSourceItem[];
34
- export declare type ProSidebarDataSourceItem = {
35
- /** 展示值 */
36
- label?: string;
37
- /** 绑定值 */
38
- value?: any;
39
- /** 标签 */
40
- tag?: ProTagItem;
41
- /** 右侧操作、状态区 */
42
- extra?: ProSidebarExtraProps;
43
- /** 子项 */
44
- children?: ProSidebarDataSourceItem[];
45
- /** label 类型 对应 ProFieldType */
46
- valueType?: ProFieldType;
47
- /** 渲染 label 的 render 对应 ProFieldRenderProps */
48
- render?: ProFieldRenderProps;
49
- /** ProField 的其他配置项 */
50
- fieldProps?: ProFieldProps;
51
- /** TreeNode 的其他配置项 */
52
- treeNodeProps?: ProFieldProps;
53
- } & NodeProps;
54
- /** 单项 extra 配置项 */
55
- export declare type ProSidebarExtraProps = React.ReactNode | (ProSidebarExtraPropsItem | React.ReactNode)[];
56
- export declare type ProSidebarExtraPropsItem = {
57
- /** 相应功能项 */
58
- type: 'action' | 'iconSwitch' | 'iconAction' | 'custom';
59
- /** action 相应配置 */
60
- action: ProActionConfig;
61
- /** 相应配置 */
62
- props: any;
63
- /** 是否 hover 显示 */
64
- hover?: boolean;
65
- /** 自定义渲染 仅在 custom 有效 */
66
- trigger?: any;
67
- };
68
- /** sidebar 容器定义 */
69
- export declare type ProSidebarContainerProps = {
70
- children?: React.ReactNode;
71
- /** 搜索输入提示 */
72
- searchPlaceholder?: string;
73
- /** 搜索输入其他参数 ProField 参数 */
74
- searchProps?: ProFieldProps;
75
- /** 是否展示搜索框 */
76
- showSearch?: boolean;
77
- /** 自定义搜索 */
78
- customSearch?: React.ReactNode;
79
- /** 搜索框变化的回调函数 */
80
- searchOnChange?: (value: any) => void;
81
- /** 通知提示消息区域 */
82
- message?: React.ReactNode;
83
- /** 自定义消息通知区域 */
84
- customMessage?: React.ReactNode;
85
- /** 消息通知区域的其他参数 */
86
- messageProps?: MessageProps;
87
- /** 滚动区域 仅在使用 ProPageContainer 时有效 */
88
- scrollArea?: 'all' | 'tree';
89
- /** 是否显示展开全部 */
90
- showExpandAll?: boolean;
91
- /** 是否显示展开层级 */
92
- showExpandLevel?: boolean;
93
- /** 展开全部变化回调 */
94
- onExpandAllChange?: (state: boolean) => void;
95
- /** 展开层级变化回调 */
96
- onExpandLevelChange?: (state: number) => void;
97
- /** 展开层级 层级 */
98
- expandLevel?: number;
99
- /** 列表 or tree */
100
- isTree?: boolean;
101
- } & ProCardProps;
102
- /** ProSidebarTree 内容定义 */
103
- export declare type ProSidebarTreeProps = {
104
- dataSource?: ProSidebarDataSource;
105
- /** 搜索过滤关键词 */
106
- searchKey?: string;
107
- /** 显示数量 */
108
- showExtraNumber?: ProSidebarProps['showExtraNumber'];
109
- /** actionRef */
110
- actionRef: React.MutableRefObject<ProSidebarActionType | undefined>;
111
- /** 渲染树节点之前的回调 */
112
- onBeforeRenderNodeEvent?: ProSidebarProps['onBeforeRenderNodeEvent'];
113
- /** 渲染树节点之前的回调 dataSource 变动时调用 */
114
- beforeRenderNode?: ProSidebarProps['beforeRenderNode'];
115
- /** 展开全部 */
116
- expandAll?: boolean;
117
- /** 展开节点层级 */
118
- expandLevel?: number;
119
- /** dataSource 变化的回调 */
120
- onDataSourceChange?: (dataSource: ProSidebarDataSource) => void;
121
- } & TreeProps;
122
- /** ProSidebarTreeNode 内容定义 */
123
- export declare type ProSidebarTreeNodeProps = {
124
- dataSource?: ProSidebarDataSource;
125
- };
126
- /** ProSidebar ActionRef 定义 */
127
- export declare type ProSidebarActionType = {
128
- /** 设置树节点 */
129
- setTreeNode?: (treeNode: ProSidebarDataSourceItem) => void;
130
- /** 刷新 */
131
- refresh?: () => void;
132
- };
133
- /** ProSidebar 请求相关定义 */
134
- export declare type ProSidebarRequestProps = {
135
- /** 请求地址 */
136
- url?: string;
137
- } & Omit<CommonRequestConfig, 'url'>;