aldehyde 0.2.97 → 0.2.99

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 (389) hide show
  1. package/LICENSE +1 -1
  2. package/lib/controls/action/index.d.ts +16 -7
  3. package/lib/controls/action/index.d.ts.map +1 -1
  4. package/lib/controls/action/index.js +64 -48
  5. package/lib/controls/action/index.js.map +1 -1
  6. package/lib/controls/action/utils.d.ts +1 -1
  7. package/lib/controls/action/utils.d.ts.map +1 -1
  8. package/lib/controls/action/utils.js +6 -4
  9. package/lib/controls/action/utils.js.map +1 -1
  10. package/lib/controls/auto-complete/index.d.ts +1 -1
  11. package/lib/controls/auto-complete/index.d.ts.map +1 -1
  12. package/lib/controls/auto-complete/index.js +12 -6
  13. package/lib/controls/auto-complete/index.js.map +1 -1
  14. package/lib/controls/chemstruc/graph.d.ts +13 -4
  15. package/lib/controls/chemstruc/graph.d.ts.map +1 -1
  16. package/lib/controls/chemstruc/graph.js +40 -27
  17. package/lib/controls/chemstruc/graph.js.map +1 -1
  18. package/lib/controls/color-picker/index.d.ts +11 -2
  19. package/lib/controls/color-picker/index.d.ts.map +1 -1
  20. package/lib/controls/color-picker/index.js +23 -19
  21. package/lib/controls/color-picker/index.js.map +1 -1
  22. package/lib/controls/cquery/cquick-button.d.ts +11 -2
  23. package/lib/controls/cquery/cquick-button.d.ts.map +1 -1
  24. package/lib/controls/cquery/cquick-button.js +30 -28
  25. package/lib/controls/cquery/cquick-button.js.map +1 -1
  26. package/lib/controls/entity-select/entity-select.d.ts +12 -3
  27. package/lib/controls/entity-select/entity-select.d.ts.map +1 -1
  28. package/lib/controls/entity-select/entity-select.js +66 -64
  29. package/lib/controls/entity-select/entity-select.js.map +1 -1
  30. package/lib/controls/entity-select/lab-tree-select.d.ts +11 -2
  31. package/lib/controls/entity-select/lab-tree-select.d.ts.map +1 -1
  32. package/lib/controls/entity-select/lab-tree-select.js +26 -21
  33. package/lib/controls/entity-select/lab-tree-select.js.map +1 -1
  34. package/lib/controls/entity-select/popover-entity-select.d.ts +11 -2
  35. package/lib/controls/entity-select/popover-entity-select.d.ts.map +1 -1
  36. package/lib/controls/entity-select/popover-entity-select.js +30 -26
  37. package/lib/controls/entity-select/popover-entity-select.js.map +1 -1
  38. package/lib/controls/entry-control.d.ts +1 -1
  39. package/lib/controls/entry-control.d.ts.map +1 -1
  40. package/lib/controls/entry-control.js +152 -98
  41. package/lib/controls/entry-control.js.map +1 -1
  42. package/lib/controls/html-editor/tinymce.d.ts.map +1 -1
  43. package/lib/controls/input-number/index.d.ts +1 -1
  44. package/lib/controls/input-number/index.d.ts.map +1 -1
  45. package/lib/controls/input-number/index.js +31 -23
  46. package/lib/controls/input-number/index.js.map +1 -1
  47. package/lib/controls/input-range/index.d.ts +1 -1
  48. package/lib/controls/input-range/index.d.ts.map +1 -1
  49. package/lib/controls/input-range/index.js +9 -8
  50. package/lib/controls/input-range/index.js.map +1 -1
  51. package/lib/controls/password-setter/index.d.ts +9 -3
  52. package/lib/controls/password-setter/index.d.ts.map +1 -1
  53. package/lib/controls/password-setter/index.js +22 -14
  54. package/lib/controls/password-setter/index.js.map +1 -1
  55. package/lib/controls/progress/index.d.ts +1 -1
  56. package/lib/controls/progress/index.d.ts.map +1 -1
  57. package/lib/controls/progress/index.js +13 -6
  58. package/lib/controls/progress/index.js.map +1 -1
  59. package/lib/controls/relation-existion/index.d.ts +11 -2
  60. package/lib/controls/relation-existion/index.d.ts.map +1 -1
  61. package/lib/controls/relation-existion/index.js +30 -18
  62. package/lib/controls/relation-existion/index.js.map +1 -1
  63. package/lib/controls/rfield/index.d.ts +11 -2
  64. package/lib/controls/rfield/index.d.ts.map +1 -1
  65. package/lib/controls/rfield/index.js +33 -35
  66. package/lib/controls/rfield/index.js.map +1 -1
  67. package/lib/controls/signature/index.d.ts +10 -1
  68. package/lib/controls/signature/index.d.ts.map +1 -1
  69. package/lib/controls/signature/index.js +56 -31
  70. package/lib/controls/signature/index.js.map +1 -1
  71. package/lib/controls/steps/index.d.ts +1 -1
  72. package/lib/controls/steps/index.d.ts.map +1 -1
  73. package/lib/controls/steps/index.js +8 -6
  74. package/lib/controls/steps/index.js.map +1 -1
  75. package/lib/controls/text/ellipsis-text.d.ts +9 -0
  76. package/lib/controls/text/ellipsis-text.d.ts.map +1 -1
  77. package/lib/controls/text/ellipsis-text.js +13 -11
  78. package/lib/controls/text/ellipsis-text.js.map +1 -1
  79. package/lib/controls/upload/index.d.ts +10 -1
  80. package/lib/controls/upload/index.d.ts.map +1 -1
  81. package/lib/controls/upload/index.js +30 -21
  82. package/lib/controls/upload/index.js.map +1 -1
  83. package/lib/controls/view-control.d.ts +1 -1
  84. package/lib/controls/view-control.d.ts.map +1 -1
  85. package/lib/controls/view-control.js +118 -85
  86. package/lib/controls/view-control.js.map +1 -1
  87. package/lib/custom-page/def-custom-page.d.ts +5 -6
  88. package/lib/custom-page/def-custom-page.d.ts.map +1 -1
  89. package/lib/custom-page/def-custom-page.js +13 -12
  90. package/lib/custom-page/def-custom-page.js.map +1 -1
  91. package/lib/custom-page/dtmpl-custom-edit-modal-page.d.ts +10 -1
  92. package/lib/custom-page/dtmpl-custom-edit-modal-page.d.ts.map +1 -1
  93. package/lib/custom-page/dtmpl-custom-edit-modal-page.js +19 -7
  94. package/lib/custom-page/dtmpl-custom-edit-modal-page.js.map +1 -1
  95. package/lib/detail/button/bottom-submit-button-bar.d.ts +11 -2
  96. package/lib/detail/button/bottom-submit-button-bar.d.ts.map +1 -1
  97. package/lib/detail/button/bottom-submit-button-bar.js +20 -12
  98. package/lib/detail/button/bottom-submit-button-bar.js.map +1 -1
  99. package/lib/detail/button/cquery-button-bar.d.ts +12 -3
  100. package/lib/detail/button/cquery-button-bar.d.ts.map +1 -1
  101. package/lib/detail/button/cquery-button-bar.js +22 -18
  102. package/lib/detail/button/cquery-button-bar.js.map +1 -1
  103. package/lib/detail/button/fix-right-submit-button-bar.d.ts +11 -2
  104. package/lib/detail/button/fix-right-submit-button-bar.d.ts.map +1 -1
  105. package/lib/detail/button/fix-right-submit-button-bar.js +28 -23
  106. package/lib/detail/button/fix-right-submit-button-bar.js.map +1 -1
  107. package/lib/detail/edit/fields-edit-card.d.ts +11 -2
  108. package/lib/detail/edit/fields-edit-card.d.ts.map +1 -1
  109. package/lib/detail/edit/fields-edit-card.js +18 -19
  110. package/lib/detail/edit/fields-edit-card.js.map +1 -1
  111. package/lib/detail/edit/modal-row-edit.d.ts +11 -2
  112. package/lib/detail/edit/modal-row-edit.d.ts.map +1 -1
  113. package/lib/detail/edit/modal-row-edit.js +14 -11
  114. package/lib/detail/edit/modal-row-edit.js.map +1 -1
  115. package/lib/detail/edit/post-result/index.d.ts +1 -1
  116. package/lib/detail/edit/post-result/index.d.ts.map +1 -1
  117. package/lib/detail/edit/post-result/index.js +17 -12
  118. package/lib/detail/edit/post-result/index.js.map +1 -1
  119. package/lib/detail/edit/row-edit-card.d.ts +11 -2
  120. package/lib/detail/edit/row-edit-card.d.ts.map +1 -1
  121. package/lib/detail/edit/row-edit-card.js +23 -23
  122. package/lib/detail/edit/row-edit-card.js.map +1 -1
  123. package/lib/detail/rightbar/index.d.ts +12 -3
  124. package/lib/detail/rightbar/index.d.ts.map +1 -1
  125. package/lib/detail/rightbar/index.js +16 -9
  126. package/lib/detail/rightbar/index.js.map +1 -1
  127. package/lib/detail/view/act-dtmpl-view.d.ts +11 -2
  128. package/lib/detail/view/act-dtmpl-view.d.ts.map +1 -1
  129. package/lib/detail/view/act-dtmpl-view.js +26 -25
  130. package/lib/detail/view/act-dtmpl-view.js.map +1 -1
  131. package/lib/detail/view/dtmpl-view.d.ts +2 -2
  132. package/lib/detail/view/dtmpl-view.d.ts.map +1 -1
  133. package/lib/detail/view/dtmpl-view.js +40 -40
  134. package/lib/detail/view/dtmpl-view.js.map +1 -1
  135. package/lib/detail/view/modal-dtmpl-view.d.ts +10 -1
  136. package/lib/detail/view/modal-dtmpl-view.d.ts.map +1 -1
  137. package/lib/detail/view/modal-dtmpl-view.js +11 -8
  138. package/lib/detail/view/modal-dtmpl-view.js.map +1 -1
  139. package/lib/detail/view/snapshot-timeline.d.ts +11 -2
  140. package/lib/detail/view/snapshot-timeline.d.ts.map +1 -1
  141. package/lib/detail/view/snapshot-timeline.js +18 -16
  142. package/lib/detail/view/snapshot-timeline.js.map +1 -1
  143. package/lib/exportor/export-frame.d.ts +11 -2
  144. package/lib/exportor/export-frame.d.ts.map +1 -1
  145. package/lib/exportor/export-frame.js +41 -42
  146. package/lib/exportor/export-frame.js.map +1 -1
  147. package/lib/form/criteria-form.d.ts +2 -2
  148. package/lib/form/criteria-form.d.ts.map +1 -1
  149. package/lib/form/criteria-form.js +58 -45
  150. package/lib/form/criteria-form.js.map +1 -1
  151. package/lib/form/dtmpl-form.d.ts +11 -2
  152. package/lib/form/dtmpl-form.d.ts.map +1 -1
  153. package/lib/form/dtmpl-form.js +76 -61
  154. package/lib/form/dtmpl-form.js.map +1 -1
  155. package/lib/form/field-group-form.d.ts +12 -3
  156. package/lib/form/field-group-form.d.ts.map +1 -1
  157. package/lib/form/field-group-form.js +26 -18
  158. package/lib/form/field-group-form.js.map +1 -1
  159. package/lib/form/form-Item-group.d.ts +10 -1
  160. package/lib/form/form-Item-group.d.ts.map +1 -1
  161. package/lib/form/form-Item-group.js +43 -26
  162. package/lib/form/form-Item-group.js.map +1 -1
  163. package/lib/import/excel-import.d.ts +12 -3
  164. package/lib/import/excel-import.d.ts.map +1 -1
  165. package/lib/import/excel-import.js +69 -55
  166. package/lib/import/excel-import.js.map +1 -1
  167. package/lib/index.d.ts +42 -39
  168. package/lib/index.d.ts.map +1 -1
  169. package/lib/index.js +43 -39
  170. package/lib/index.js.map +1 -1
  171. package/lib/layout/MainPage.d.ts +1 -1
  172. package/lib/layout/MainPage.d.ts.map +1 -1
  173. package/lib/layout/MainPage.js +46 -36
  174. package/lib/layout/MainPage.js.map +1 -1
  175. package/lib/layout/footer/index.d.ts.map +1 -1
  176. package/lib/layout/header/index.d.ts +1 -1
  177. package/lib/layout/header/index.d.ts.map +1 -1
  178. package/lib/layout/header/index.js +16 -14
  179. package/lib/layout/header/index.js.map +1 -1
  180. package/lib/layout/menu/l2menu-quick-bar.d.ts +11 -2
  181. package/lib/layout/menu/l2menu-quick-bar.d.ts.map +1 -1
  182. package/lib/layout/menu/l2menu-quick-bar.js +24 -19
  183. package/lib/layout/menu/l2menu-quick-bar.js.map +1 -1
  184. package/lib/layout/menu/reset-password.d.ts +12 -3
  185. package/lib/layout/menu/reset-password.d.ts.map +1 -1
  186. package/lib/layout/menu/reset-password.js +52 -36
  187. package/lib/layout/menu/reset-password.js.map +1 -1
  188. package/lib/layout/menu/user-bar.d.ts +12 -3
  189. package/lib/layout/menu/user-bar.d.ts.map +1 -1
  190. package/lib/layout/menu/user-bar.js +72 -42
  191. package/lib/layout/menu/user-bar.js.map +1 -1
  192. package/lib/layout/menu/userinfo-bar.d.ts +10 -1
  193. package/lib/layout/menu/userinfo-bar.d.ts.map +1 -1
  194. package/lib/layout/menu/userinfo-bar.js +11 -10
  195. package/lib/layout/menu/userinfo-bar.js.map +1 -1
  196. package/lib/layout/sidebar/index.css +15 -4
  197. package/lib/layout/sidebar/index.d.ts +2 -2
  198. package/lib/layout/sidebar/index.d.ts.map +1 -1
  199. package/lib/layout/sidebar/index.js +19 -13
  200. package/lib/layout/sidebar/index.js.map +1 -1
  201. package/lib/locale/LocaleButton.d.ts +4 -0
  202. package/lib/locale/LocaleButton.d.ts.map +1 -0
  203. package/lib/locale/LocaleButton.js +24 -0
  204. package/lib/locale/LocaleButton.js.map +1 -0
  205. package/lib/locale/LocaleProvider.d.ts +13 -0
  206. package/lib/locale/LocaleProvider.d.ts.map +1 -0
  207. package/lib/locale/LocaleProvider.js +135 -0
  208. package/lib/locale/LocaleProvider.js.map +1 -0
  209. package/lib/locale/langMp.d.ts +16 -0
  210. package/lib/locale/langMp.d.ts.map +1 -0
  211. package/lib/locale/langMp.js +29 -0
  212. package/lib/locale/langMp.js.map +1 -0
  213. package/lib/locale/translate.d.ts +3 -0
  214. package/lib/locale/translate.d.ts.map +1 -0
  215. package/lib/locale/translate.js +74 -0
  216. package/lib/locale/translate.js.map +1 -0
  217. package/lib/locale/useLocale.d.ts +14 -0
  218. package/lib/locale/useLocale.d.ts.map +1 -0
  219. package/lib/locale/useLocale.js +34 -0
  220. package/lib/locale/useLocale.js.map +1 -0
  221. package/lib/login/login.d.ts +13 -3
  222. package/lib/login/login.d.ts.map +1 -1
  223. package/lib/login/login.js +38 -25
  224. package/lib/login/login.js.map +1 -1
  225. package/lib/login/router-login.d.ts +2 -2
  226. package/lib/login/router-login.d.ts.map +1 -1
  227. package/lib/login/router-login.js +33 -19
  228. package/lib/login/router-login.js.map +1 -1
  229. package/lib/module/dtmpl-edit-card.d.ts +11 -2
  230. package/lib/module/dtmpl-edit-card.d.ts.map +1 -1
  231. package/lib/module/dtmpl-edit-card.js +21 -13
  232. package/lib/module/dtmpl-edit-card.js.map +1 -1
  233. package/lib/module/dtmpl-edit-page.d.ts +12 -3
  234. package/lib/module/dtmpl-edit-page.d.ts.map +1 -1
  235. package/lib/module/dtmpl-edit-page.js +42 -31
  236. package/lib/module/dtmpl-edit-page.js.map +1 -1
  237. package/lib/module/ltmpl-modal.d.ts +10 -1
  238. package/lib/module/ltmpl-modal.d.ts.map +1 -1
  239. package/lib/module/ltmpl-modal.js +15 -8
  240. package/lib/module/ltmpl-modal.js.map +1 -1
  241. package/lib/module/ltmpl-table.d.ts +11 -2
  242. package/lib/module/ltmpl-table.d.ts.map +1 -1
  243. package/lib/module/ltmpl-table.js +39 -39
  244. package/lib/module/ltmpl-table.js.map +1 -1
  245. package/lib/table/act-table.d.ts +12 -3
  246. package/lib/table/act-table.d.ts.map +1 -1
  247. package/lib/table/act-table.js +256 -205
  248. package/lib/table/act-table.js.map +1 -1
  249. package/lib/table/control-table-x-axis-wrapper.d.ts +5 -0
  250. package/lib/table/control-table-x-axis-wrapper.d.ts.map +1 -0
  251. package/lib/table/control-table-x-axis-wrapper.js +60 -0
  252. package/lib/table/control-table-x-axis-wrapper.js.map +1 -0
  253. package/lib/table/l2-act-table.d.ts +1 -1
  254. package/lib/table/pagination.d.ts +11 -2
  255. package/lib/table/pagination.d.ts.map +1 -1
  256. package/lib/table/pagination.js +13 -12
  257. package/lib/table/pagination.js.map +1 -1
  258. package/lib/table/query-table.d.ts.map +1 -1
  259. package/lib/table/query-table.js +2 -1
  260. package/lib/table/query-table.js.map +1 -1
  261. package/lib/table/relation-table.d.ts +13 -4
  262. package/lib/table/relation-table.d.ts.map +1 -1
  263. package/lib/table/relation-table.js +117 -108
  264. package/lib/table/relation-table.js.map +1 -1
  265. package/lib/table/selected-rows-card.d.ts +10 -1
  266. package/lib/table/selected-rows-card.d.ts.map +1 -1
  267. package/lib/table/selected-rows-card.js +10 -9
  268. package/lib/table/selected-rows-card.js.map +1 -1
  269. package/lib/table/stat/restat.d.ts +10 -1
  270. package/lib/table/stat/restat.d.ts.map +1 -1
  271. package/lib/table/stat/restat.js +10 -9
  272. package/lib/table/stat/restat.js.map +1 -1
  273. package/lib/tmpl/hc-data-source.d.ts.map +1 -1
  274. package/lib/tmpl/hc-data-source.js +21 -14
  275. package/lib/tmpl/hc-data-source.js.map +1 -1
  276. package/lib/tmpl/hcservice-v3.d.ts +2 -0
  277. package/lib/tmpl/hcservice-v3.d.ts.map +1 -1
  278. package/lib/tmpl/hcservice-v3.js +127 -100
  279. package/lib/tmpl/hcservice-v3.js.map +1 -1
  280. package/lib/tmpl/model-struc-v3.d.ts.map +1 -1
  281. package/lib/tmpl/model-struc-v3.js +19 -18
  282. package/lib/tmpl/model-struc-v3.js.map +1 -1
  283. package/lib/tmpl/superagent.d.ts +2 -2
  284. package/lib/tmpl/superagent.d.ts.map +1 -1
  285. package/lib/tmpl/superagent.js +28 -23
  286. package/lib/tmpl/superagent.js.map +1 -1
  287. package/lib/tree/act-tree.d.ts +10 -1
  288. package/lib/tree/act-tree.d.ts.map +1 -1
  289. package/lib/tree/act-tree.js +26 -20
  290. package/lib/tree/act-tree.js.map +1 -1
  291. package/lib/tree/tmpl-tree.d.ts +11 -2
  292. package/lib/tree/tmpl-tree.d.ts.map +1 -1
  293. package/lib/tree/tmpl-tree.js +76 -58
  294. package/lib/tree/tmpl-tree.js.map +1 -1
  295. package/lib/units/index.d.ts.map +1 -1
  296. package/lib/welcome/HCWelcome.js +7 -23
  297. package/lib/welcome/HCWelcome.js.map +1 -1
  298. package/lib/welcome/HCWelcome1.d.ts +4 -0
  299. package/lib/welcome/HCWelcome1.d.ts.map +1 -0
  300. package/lib/welcome/HCWelcome1.js +192 -0
  301. package/lib/welcome/HCWelcome1.js.map +1 -0
  302. package/lib/welcome/quick-entrance.d.ts +12 -3
  303. package/lib/welcome/quick-entrance.d.ts.map +1 -1
  304. package/lib/welcome/quick-entrance.js +21 -17
  305. package/lib/welcome/quick-entrance.js.map +1 -1
  306. package/lib/welcome/workbench.d.ts +12 -3
  307. package/lib/welcome/workbench.d.ts.map +1 -1
  308. package/lib/welcome/workbench.js +23 -19
  309. package/lib/welcome/workbench.js.map +1 -1
  310. package/package.json +1 -1
  311. package/src/aldehyde/controls/action/index.tsx +328 -221
  312. package/src/aldehyde/controls/action/utils.tsx +6 -4
  313. package/src/aldehyde/controls/auto-complete/index.tsx +64 -60
  314. package/src/aldehyde/controls/chemstruc/graph.tsx +175 -139
  315. package/src/aldehyde/controls/color-picker/index.tsx +107 -78
  316. package/src/aldehyde/controls/cquery/cquick-button.tsx +129 -89
  317. package/src/aldehyde/controls/entity-select/entity-select.tsx +643 -521
  318. package/src/aldehyde/controls/entity-select/lab-tree-select.tsx +140 -131
  319. package/src/aldehyde/controls/entity-select/popover-entity-select.tsx +178 -133
  320. package/src/aldehyde/controls/entry-control.tsx +373 -248
  321. package/src/aldehyde/controls/input-number/index.tsx +131 -86
  322. package/src/aldehyde/controls/input-range/index.tsx +51 -40
  323. package/src/aldehyde/controls/password-setter/index.js +81 -63
  324. package/src/aldehyde/controls/progress/index.tsx +59 -46
  325. package/src/aldehyde/controls/relation-existion/index.tsx +125 -87
  326. package/src/aldehyde/controls/rfield/index.tsx +178 -151
  327. package/src/aldehyde/controls/signature/index.tsx +215 -151
  328. package/src/aldehyde/controls/steps/index.tsx +44 -42
  329. package/src/aldehyde/controls/text/ellipsis-text.tsx +79 -53
  330. package/src/aldehyde/controls/upload/index.tsx +125 -109
  331. package/src/aldehyde/controls/view-control.tsx +250 -188
  332. package/src/aldehyde/custom-page/def-custom-page.tsx +17 -0
  333. package/src/aldehyde/custom-page/dtmpl-custom-edit-modal-page.tsx +75 -66
  334. package/src/aldehyde/detail/button/bottom-submit-button-bar.tsx +79 -43
  335. package/src/aldehyde/detail/button/cquery-button-bar.tsx +129 -98
  336. package/src/aldehyde/detail/button/fix-right-submit-button-bar.tsx +161 -113
  337. package/src/aldehyde/detail/edit/fields-edit-card.tsx +124 -87
  338. package/src/aldehyde/detail/edit/modal-row-edit.tsx +81 -60
  339. package/src/aldehyde/detail/edit/post-result/index.tsx +80 -47
  340. package/src/aldehyde/detail/edit/row-edit-card.tsx +158 -107
  341. package/src/aldehyde/detail/rightbar/index.tsx +79 -63
  342. package/src/aldehyde/detail/view/act-dtmpl-view.tsx +177 -124
  343. package/src/aldehyde/detail/view/dtmpl-view.tsx +284 -178
  344. package/src/aldehyde/detail/view/modal-dtmpl-view.tsx +67 -54
  345. package/src/aldehyde/detail/view/snapshot-timeline.tsx +143 -110
  346. package/src/aldehyde/exportor/export-frame.tsx +258 -200
  347. package/src/aldehyde/form/criteria-form.tsx +309 -201
  348. package/src/aldehyde/form/dtmpl-form.tsx +460 -305
  349. package/src/aldehyde/form/field-group-form.tsx +87 -66
  350. package/src/aldehyde/form/form-Item-group.tsx +190 -132
  351. package/src/aldehyde/import/excel-import.tsx +414 -331
  352. package/src/aldehyde/index.tsx +90 -45
  353. package/src/aldehyde/layout/MainPage.tsx +280 -245
  354. package/src/aldehyde/layout/header/index.tsx +59 -53
  355. package/src/aldehyde/layout/menu/l2menu-quick-bar.tsx +137 -118
  356. package/src/aldehyde/layout/menu/reset-password.tsx +213 -162
  357. package/src/aldehyde/layout/menu/user-bar.tsx +216 -147
  358. package/src/aldehyde/layout/menu/userinfo-bar.tsx +58 -41
  359. package/src/aldehyde/layout/sidebar/index.css +15 -4
  360. package/src/aldehyde/layout/sidebar/index.tsx +66 -38
  361. package/src/aldehyde/locale/LocaleButton.tsx +31 -0
  362. package/src/aldehyde/locale/LocaleProvider.tsx +165 -0
  363. package/src/aldehyde/locale/langMp.ts +33 -0
  364. package/src/aldehyde/locale/translate.ts +78 -0
  365. package/src/aldehyde/locale/useLocale.ts +50 -0
  366. package/src/aldehyde/login/login.tsx +192 -141
  367. package/src/aldehyde/login/router-login.tsx +54 -21
  368. package/src/aldehyde/module/dtmpl-edit-card.tsx +225 -160
  369. package/src/aldehyde/module/dtmpl-edit-page.tsx +334 -212
  370. package/src/aldehyde/module/ltmpl-modal.tsx +57 -53
  371. package/src/aldehyde/module/ltmpl-table.tsx +329 -240
  372. package/src/aldehyde/table/act-table.tsx +1226 -794
  373. package/src/aldehyde/table/control-table-x-axis-wrapper.tsx +52 -0
  374. package/src/aldehyde/table/pagination.tsx +66 -59
  375. package/src/aldehyde/table/query-table.tsx +2 -1
  376. package/src/aldehyde/table/relation-table.tsx +781 -571
  377. package/src/aldehyde/table/selected-rows-card.tsx +61 -48
  378. package/src/aldehyde/table/stat/restat.tsx +112 -69
  379. package/src/aldehyde/tmpl/hc-data-source.tsx +381 -296
  380. package/src/aldehyde/tmpl/hcservice-v3.tsx +991 -796
  381. package/src/aldehyde/tmpl/model-struc-v3.tsx +95 -91
  382. package/src/aldehyde/tmpl/superagent.js +148 -142
  383. package/src/aldehyde/tree/act-tree.tsx +206 -138
  384. package/src/aldehyde/tree/tmpl-tree.tsx +611 -353
  385. package/src/aldehyde/welcome/HCWelcome.js +78 -110
  386. package/src/aldehyde/welcome/HCWelcome1.js +260 -0
  387. package/src/aldehyde/welcome/quick-entrance.tsx +82 -71
  388. package/src/aldehyde/welcome/workbench.tsx +83 -68
  389. package/src/aldehyde/custom-page/def-custom-page.js +0 -18
@@ -1,54 +1,90 @@
1
- import React from 'react'
2
- import './index.css'
3
- import {TmplBase} from "../../../aldehyde/tmpl/interface";
4
- import {Button, Card, Col, Row, Space} from "antd";
5
- import {SaveOutlined} from '@ant-design/icons';
1
+ import React from "react";
2
+ import "./index.css";
3
+ import { TmplBase } from "../../../aldehyde/tmpl/interface";
4
+ import { Button, Card, Col, Row, Space } from "antd";
5
+ import { SaveOutlined } from "@ant-design/icons";
6
6
  import Action from "../../controls/action";
7
- import {SubmitButtonProps} from "./submit-button-bar";
8
-
9
- interface BottomSubmitButtonBarProps extends SubmitButtonProps {
10
-
11
- }
7
+ import { SubmitButtonProps } from "./submit-button-bar";
8
+ import { LocaleContext } from "../../locale/LocaleProvider";
12
9
 
10
+ interface BottomSubmitButtonBarProps extends SubmitButtonProps {}
13
11
 
14
12
  interface BottomSubmitButtonState {
15
- // stateSerial:number
13
+ // stateSerial:number
16
14
  }
17
15
 
18
- class BottomSubmitButtonBar extends React.PureComponent<BottomSubmitButtonBarProps, BottomSubmitButtonState> {
16
+ class BottomSubmitButtonBar extends React.PureComponent<
17
+ BottomSubmitButtonBarProps,
18
+ BottomSubmitButtonState
19
+ > {
20
+ state = {
21
+ // stateSerial:0,
22
+ };
23
+ static contextType = LocaleContext;
24
+ context: React.ContextType<typeof LocaleContext>;
19
25
 
20
- state = {
21
- // stateSerial:0,
22
- }
26
+ render() {
27
+ const {} = this.state;
28
+ const {
29
+ dtmplConfig,
30
+ position,
31
+ doSubmit,
32
+ formRef,
33
+ serial,
34
+ serverKey,
35
+ dtmplData,
36
+ } = this.props;
37
+ const { buttons, actions } = dtmplConfig;
38
+ const { translate } = this.context;
23
39
 
24
- render() {
25
- const {} = this.state;
26
- const {dtmplConfig,position, doSubmit, formRef, serial, serverKey,dtmplData} = this.props
27
- const {buttons, actions} = dtmplConfig;
28
-
29
- return (<Card bordered={false}>
30
- <Row align={'middle'} justify={position=='bottomLeft'?'start':position=='bottomRight'?'end':'center'}>
31
-
32
- <Space>
33
- {buttons.includes('dtmplSave') ?
34
- <Col >
35
- <Button
36
- onClick={() => doSubmit()}
37
- type='primary'
38
- icon={<SaveOutlined/>}
39
- key="btn" block
40
- >保 存</Button></Col> : null}
41
- {actions ? actions.map((item, index) => {
42
- return <Col ><Action serverKey={serverKey} serial={serial} key={item.id} data={[dtmplData]}
43
- formRef={formRef} actionConfig={item} doAction={doSubmit}></Action></Col>
44
- }
45
- ) : ""}
46
- </Space>
47
- </Row>
48
- </Card>
49
- )
50
- }
40
+ return (
41
+ <Card bordered={false}>
42
+ <Row
43
+ align={"middle"}
44
+ justify={
45
+ position == "bottomLeft"
46
+ ? "start"
47
+ : position == "bottomRight"
48
+ ? "end"
49
+ : "center"
50
+ }
51
+ >
52
+ <Space>
53
+ {buttons.includes("dtmplSave") ? (
54
+ <Col>
55
+ <Button
56
+ onClick={() => doSubmit()}
57
+ type="primary"
58
+ icon={<SaveOutlined />}
59
+ key="btn"
60
+ block
61
+ >
62
+ {translate("${保存}")}
63
+ </Button>
64
+ </Col>
65
+ ) : null}
66
+ {actions
67
+ ? actions.map((item, index) => {
68
+ return (
69
+ <Col>
70
+ <Action
71
+ serverKey={serverKey}
72
+ serial={serial}
73
+ key={item.id}
74
+ data={[dtmplData]}
75
+ formRef={formRef}
76
+ actionConfig={item}
77
+ doAction={doSubmit}
78
+ ></Action>
79
+ </Col>
80
+ );
81
+ })
82
+ : ""}
83
+ </Space>
84
+ </Row>
85
+ </Card>
86
+ );
87
+ }
51
88
  }
52
89
 
53
90
  export default BottomSubmitButtonBar;
54
-
@@ -1,113 +1,144 @@
1
- import React, {RefObject} from 'react'
2
- import './index.css'
3
- import {ActionConfig, ButtonName, CQueryConfig, DtmplConfig, DtmplData, TmplBase} from "../../tmpl/interface";
4
- import {Affix, Button, Popconfirm, Popover,Space} from "antd";
5
- import {LeftOutlined, SaveOutlined} from '@ant-design/icons';
1
+ import React, { RefObject } from "react";
2
+ import "./index.css";
3
+ import {
4
+ ActionConfig,
5
+ ButtonName,
6
+ CQueryConfig,
7
+ DtmplConfig,
8
+ DtmplData,
9
+ TmplBase,
10
+ } from "../../tmpl/interface";
11
+ import { Affix, Button, Popconfirm, Popover, Space } from "antd";
12
+ import { LeftOutlined, SaveOutlined } from "@ant-design/icons";
6
13
  import CquickButton from "../../controls/cquery/cquick-button";
14
+ import { LocaleContext } from "../../locale/LocaleProvider";
7
15
 
8
16
  interface CqueryButtonBarProps {
9
- serverKey?:string,
10
- dtmplConfig: DtmplConfig,
11
- mainCode:string,
17
+ serverKey?: string;
18
+ dtmplConfig: DtmplConfig;
19
+ mainCode: string;
12
20
  }
13
21
 
14
-
15
22
  interface CqueryButtonBarState {
16
- // stateSerial:number
23
+ // stateSerial:number
17
24
  }
18
25
 
19
- class CqueryButtonBar extends React.PureComponent<CqueryButtonBarProps, CqueryButtonBarState> {
20
-
21
- state={
22
- // stateSerial:0,
26
+ class CqueryButtonBar extends React.PureComponent<
27
+ CqueryButtonBarProps,
28
+ CqueryButtonBarState
29
+ > {
30
+ state = {
31
+ // stateSerial:0,
32
+ };
33
+ static contextType = LocaleContext;
34
+ context: React.ContextType<typeof LocaleContext>;
35
+
36
+ calcOffsetBottom = (cQuerys: CQueryConfig[]) => {
37
+ if (cQuerys.length >= 3) {
38
+ return 120;
39
+ } else if (cQuerys.length == 2) {
40
+ return 86;
41
+ } else {
42
+ return 80;
23
43
  }
24
-
25
- calcOffsetBottom = (cQuerys: CQueryConfig[]) => {
26
-
27
- if (cQuerys.length>=3) {
28
- return 120;
29
- } else if (cQuerys.length==2){
30
- return 86;
31
- }else{
32
- return 80;
33
- }
44
+ };
45
+
46
+ // async componentDidMount() {
47
+ // console.log("SubmitButtonBar this.loadData()");
48
+ //
49
+ // console.log("SubmitButtonBar this.loadData()1");
50
+ // // if(code!=preCode || (!code && preCode)){
51
+ // // await this.loadData();
52
+ // // }else{
53
+ // // formRef.current.resetFields();
54
+ // // }
55
+ // }
56
+
57
+ // loadData = async () => {
58
+ // console.log("SubmitButtonBar this.loadData()2");
59
+ // this.setState({
60
+ // stateSerial: this.state.stateSerial + 1,
61
+ // })
62
+ // }
63
+
64
+ render() {
65
+ const {} = this.state;
66
+ const { dtmplConfig, mainCode, serverKey } = this.props;
67
+ const { translate } = this.context;
68
+
69
+ if (!dtmplConfig) {
70
+ return null;
34
71
  }
35
72
 
36
- // async componentDidMount() {
37
- // console.log("SubmitButtonBar this.loadData()");
38
- //
39
- // console.log("SubmitButtonBar this.loadData()1");
40
- // // if(code!=preCode || (!code && preCode)){
41
- // // await this.loadData();
42
- // // }else{
43
- // // formRef.current.resetFields();
44
- // // }
45
- // }
46
-
47
- // loadData = async () => {
48
- // console.log("SubmitButtonBar this.loadData()2");
49
- // this.setState({
50
- // stateSerial: this.state.stateSerial + 1,
51
- // })
52
- // }
53
-
54
- render() {
55
- const {}=this.state;
56
- const {dtmplConfig,mainCode,serverKey} = this.props
57
-
58
- if(!dtmplConfig){
59
- return null;
60
- }
61
-
62
- const {buttons, cQuerys} = dtmplConfig;
63
- const cardList: TmplBase[] = [];
64
-
65
- let content
66
- if (cQuerys && cQuerys.length > 3) {
67
- content = (
68
- <div style={{width:'100px'}} className="btns">
69
- <Space direction="vertical">
70
- {cQuerys.map((item, index) => {
71
- if (index > 2) {
72
- return <CquickButton serverKey={serverKey} block={true} key={item.id} mainCode={mainCode} cQueryConfig={item} ></CquickButton>
73
- }
74
- })
75
- }
76
- </Space>
77
-
78
- </div>
79
- );
80
- }
81
- //offsetBottom={this.calcOffsetBottom(cQuerys)}
82
- return (
83
- (cQuerys && cQuerys.length>0 && mainCode)?<Affix style={{position: 'absolute',top:180, right: 10, maxHeight: 90}}
84
- offsetTop={300} >
85
- <div className={'submitButtonBar'} >
86
- <ul>
87
- {
88
- cQuerys ? cQuerys.map((item, index) => {
89
- if (index < 3) {
90
- return <li key={index}>
91
- <CquickButton serverKey={serverKey} type={'text'} block={true} key={item.id} mainCode={mainCode} cQueryConfig={item} ></CquickButton>
92
- </li>
93
- }
94
- }
95
- ) : ""
96
- }
97
- {//处理后面的
98
- cQuerys && cQuerys.length > 2 ?
99
- <Popover placement="leftTop" content={content} trigger="hover">
100
- <Button block >
101
- <LeftOutlined/>{'更多'}
102
- </Button>
103
- </Popover> : ""
104
- }
105
- </ul>
106
- </div>
107
- </Affix>:""
108
- )
73
+ const { buttons, cQuerys } = dtmplConfig;
74
+ const cardList: TmplBase[] = [];
75
+
76
+ let content;
77
+ if (cQuerys && cQuerys.length > 3) {
78
+ content = (
79
+ <div style={{ width: "100px" }} className="btns">
80
+ <Space direction="vertical">
81
+ {cQuerys.map((item, index) => {
82
+ if (index > 2) {
83
+ return (
84
+ <CquickButton
85
+ serverKey={serverKey}
86
+ block={true}
87
+ key={item.id}
88
+ mainCode={mainCode}
89
+ cQueryConfig={item}
90
+ ></CquickButton>
91
+ );
92
+ }
93
+ })}
94
+ </Space>
95
+ </div>
96
+ );
109
97
  }
98
+ //offsetBottom={this.calcOffsetBottom(cQuerys)}
99
+ return cQuerys && cQuerys.length > 0 && mainCode ? (
100
+ <Affix
101
+ style={{ position: "absolute", top: 180, right: 10, maxHeight: 90 }}
102
+ offsetTop={300}
103
+ >
104
+ <div className={"submitButtonBar"}>
105
+ <ul>
106
+ {cQuerys
107
+ ? cQuerys.map((item, index) => {
108
+ if (index < 3) {
109
+ return (
110
+ <li key={index}>
111
+ <CquickButton
112
+ serverKey={serverKey}
113
+ type={"text"}
114
+ block={true}
115
+ key={item.id}
116
+ mainCode={mainCode}
117
+ cQueryConfig={item}
118
+ ></CquickButton>
119
+ </li>
120
+ );
121
+ }
122
+ })
123
+ : ""}
124
+ {//处理后面的
125
+ cQuerys && cQuerys.length > 2 ? (
126
+ <Popover placement="leftTop" content={content} trigger="hover">
127
+ <Button block>
128
+ <LeftOutlined />
129
+ {translate("${更多}")}
130
+ </Button>
131
+ </Popover>
132
+ ) : (
133
+ ""
134
+ )}
135
+ </ul>
136
+ </div>
137
+ </Affix>
138
+ ) : (
139
+ ""
140
+ );
141
+ }
110
142
  }
111
143
 
112
144
  export default CqueryButtonBar;
113
-
@@ -1,130 +1,178 @@
1
- import React, {RefObject} from 'react'
2
- import './index.css'
3
- import {ActionConfig, ButtonName, DtmplConfig, TmplBase} from "../../../aldehyde/tmpl/interface";
4
- import {Affix, Button, Popconfirm, Popover} from "antd";
5
- import {LeftOutlined, SaveOutlined} from '@ant-design/icons';
1
+ import React, { RefObject } from "react";
2
+ import "./index.css";
3
+ import {
4
+ ActionConfig,
5
+ ButtonName,
6
+ DtmplConfig,
7
+ TmplBase,
8
+ } from "../../../aldehyde/tmpl/interface";
9
+ import { Affix, Button, Popconfirm, Popover } from "antd";
10
+ import { LeftOutlined, SaveOutlined } from "@ant-design/icons";
6
11
  import Action from "../../controls/action";
7
- import {SubmitButtonProps} from "./submit-button-bar";
8
-
9
- interface FixRightSubmitButtonProps extends SubmitButtonProps{
10
-
11
- }
12
+ import { SubmitButtonProps } from "./submit-button-bar";
13
+ import { LocaleContext } from "../../locale/LocaleProvider";
12
14
 
15
+ interface FixRightSubmitButtonProps extends SubmitButtonProps {}
13
16
 
14
17
  interface FixRightSubmitButtonState {
15
- // stateSerial:number
18
+ // stateSerial:number
16
19
  }
17
20
 
18
- class FixRightSubmitButtonBar extends React.PureComponent<FixRightSubmitButtonProps, FixRightSubmitButtonState> {
21
+ class FixRightSubmitButtonBar extends React.PureComponent<
22
+ FixRightSubmitButtonProps,
23
+ FixRightSubmitButtonState
24
+ > {
25
+ state = {
26
+ // stateSerial:0,
27
+ };
28
+ static contextType = LocaleContext;
29
+ context: React.ContextType<typeof LocaleContext>;
19
30
 
20
- state={
21
- // stateSerial:0,
31
+ calcOffsetBottom = (buttons: ButtonName[], actions: ActionConfig[]) => {
32
+ let buttonSize: number = 0;
33
+ if (actions) {
34
+ buttonSize = buttonSize + actions.length;
22
35
  }
23
-
24
- calcOffsetBottom = (buttons: ButtonName[], actions: ActionConfig[]) => {
25
- let buttonSize:number=0;
26
- if(actions ){
27
- buttonSize=buttonSize+actions.length;
28
- }
29
- if((buttons && buttons.includes('dtmplSave')) ){
30
- buttonSize=buttonSize+1;
31
- }
32
- if (buttonSize>=3) {
33
- return 120;
34
- } else if (buttonSize==2){
35
- return 86;
36
- }else{
37
- return 80;
38
- }
36
+ if (buttons && buttons.includes("dtmplSave")) {
37
+ buttonSize = buttonSize + 1;
39
38
  }
39
+ if (buttonSize >= 3) {
40
+ return 120;
41
+ } else if (buttonSize == 2) {
42
+ return 86;
43
+ } else {
44
+ return 80;
45
+ }
46
+ };
40
47
 
41
- render() {
42
- const {}=this.state;
43
- const {dtmplConfig, doSubmit,formRef,serial,serverKey,dtmplData} = this.props
44
- const {buttons, actions} = dtmplConfig;
45
- const cardList: TmplBase[] = [];
46
-
47
- //console.log(" submit-button-bar serial:",serial);
48
- // console.log(" submit-button-bar stateSerial:",stateSerial);
49
-
50
- if (dtmplConfig.premises && dtmplConfig.premises.length > 0) {
51
- cardList.push({
52
- id: '1', title: '默认字段',
53
- });
54
- }
55
- dtmplConfig.groups.forEach(g => {
56
- cardList.push({
57
- title: g.title,
58
- id: g.id,
59
- });
60
- })
48
+ render() {
49
+ const {} = this.state;
50
+ const {
51
+ dtmplConfig,
52
+ doSubmit,
53
+ formRef,
54
+ serial,
55
+ serverKey,
56
+ dtmplData,
57
+ } = this.props;
58
+ const { buttons, actions } = dtmplConfig;
59
+ const cardList: TmplBase[] = [];
60
+ const { translate } = this.context;
61
61
 
62
- let content
63
- if (actions && actions.length > 1) {
64
- content = (
65
- <div className="btns">
66
- {actions.map((item, index) => {
67
- if (index > 1) {
68
- // return <Popconfirm key={item.id} placement="top" title={"确定要保存修改并执行此操作吗?"}
69
- // onConfirm={() => doSubmit(item.id)} okText="确定" cancelText="取消">
70
- // <Button
71
- // type="primary"
72
- // >{item.title}</Button>
73
- // </Popconfirm>
74
- return <Action serverKey={serverKey} data={[dtmplData]} iconType={'icon-title'} hiddenType={'disabled'} buttonType={'primary'} serial={serial} key={item.id} formRef={formRef} actionConfig={item} doAction={doSubmit}></Action>
75
- }
76
- })
77
- }
78
- </div>
79
- );
80
- }
62
+ //console.log(" submit-button-bar serial:",serial);
63
+ // console.log(" submit-button-bar stateSerial:",stateSerial);
81
64
 
65
+ if (dtmplConfig.premises && dtmplConfig.premises.length > 0) {
66
+ cardList.push({
67
+ id: "1",
68
+ title: translate("${默认字段}"),
69
+ });
70
+ }
71
+ dtmplConfig.groups.forEach((g) => {
72
+ cardList.push({
73
+ title: g.title,
74
+ id: g.id,
75
+ });
76
+ });
82
77
 
83
- return (
84
- <Affix
85
- //style={{position: 'absolute', right: 10, maxHeight: 100}}
86
- // offsetBottom={this.calcOffsetBottom(buttons, actions)}>
87
- style={{position: 'absolute',bottom:60,right: 15,}} offsetBottom={this.calcOffsetBottom(buttons, actions)}
88
- >
89
- <div className={'submitButtonBar'} >
90
- <ul>
91
- {buttons.includes('dtmplSave') ? <li key={100}>
92
- <Button
93
- onClick={() => doSubmit()}
94
- type='primary'
95
- icon={<SaveOutlined/>}
96
- key="btn" block
97
- >保 存</Button>
98
- </li> : ""
99
- }
100
- {//处理前两个
101
- actions ? actions.map((item, index) => {
102
- if (index < 2) {
103
- return <li key={index}>
104
- {/*<Popconfirm placement="left" title={"确定要保存修改并执行此操作吗?"} onConfirm={() => doSubmit(item.id)} okText="确定" cancelText="取消">*/}
105
- {/*<Button block*/}
106
- {/* type={'primary'}>{item.title}</Button>*/}
107
- {/*</Popconfirm>*/}
108
- <Action data={[dtmplData]} serverKey={serverKey} hiddenType={'disabled'} buttonType={'primary-block'} serial={serial} key={item.id} formRef={formRef} actionConfig={item} doAction={doSubmit}></Action>
109
- </li>
110
- }
111
- }
112
- ) : ""
113
- }
114
- {//处理后面的
115
- actions && actions.length > 2 ?
116
- <Popover placement="leftTop" content={content} trigger="hover">
117
- <Button block>
118
- <LeftOutlined/>{'更多'}
119
- </Button>
120
- </Popover> : ""
121
- }
122
- </ul>
123
- </div>
124
- </Affix>
125
- )
78
+ let content;
79
+ if (actions && actions.length > 1) {
80
+ content = (
81
+ <div className="btns">
82
+ {actions.map((item, index) => {
83
+ if (index > 1) {
84
+ // return <Popconfirm key={item.id} placement="top" title={"确定要保存修改并执行此操作吗?"}
85
+ // onConfirm={() => doSubmit(item.id)} okText="确定" cancelText="取消">
86
+ // <Button
87
+ // type="primary"
88
+ // >{item.title}</Button>
89
+ // </Popconfirm>
90
+ return (
91
+ <Action
92
+ serverKey={serverKey}
93
+ data={[dtmplData]}
94
+ iconType={"icon-title"}
95
+ hiddenType={"disabled"}
96
+ buttonType={"primary"}
97
+ serial={serial}
98
+ key={item.id}
99
+ formRef={formRef}
100
+ actionConfig={item}
101
+ doAction={doSubmit}
102
+ ></Action>
103
+ );
104
+ }
105
+ })}
106
+ </div>
107
+ );
126
108
  }
109
+
110
+ return (
111
+ <Affix
112
+ //style={{position: 'absolute', right: 10, maxHeight: 100}}
113
+ // offsetBottom={this.calcOffsetBottom(buttons, actions)}>
114
+ style={{ position: "absolute", bottom: 60, right: 15 }}
115
+ offsetBottom={this.calcOffsetBottom(buttons, actions)}
116
+ >
117
+ <div className={"submitButtonBar"}>
118
+ <ul>
119
+ {buttons.includes("dtmplSave") ? (
120
+ <li key={100}>
121
+ <Button
122
+ onClick={() => doSubmit()}
123
+ type="primary"
124
+ icon={<SaveOutlined />}
125
+ key="btn"
126
+ block
127
+ >
128
+ 保 存
129
+ </Button>
130
+ </li>
131
+ ) : (
132
+ ""
133
+ )}
134
+ {//处理前两个
135
+ actions
136
+ ? actions.map((item, index) => {
137
+ if (index < 2) {
138
+ return (
139
+ <li key={index}>
140
+ {/*<Popconfirm placement="left" title={"确定要保存修改并执行此操作吗?"} onConfirm={() => doSubmit(item.id)} okText="确定" cancelText="取消">*/}
141
+ {/*<Button block*/}
142
+ {/* type={'primary'}>{item.title}</Button>*/}
143
+ {/*</Popconfirm>*/}
144
+ <Action
145
+ data={[dtmplData]}
146
+ serverKey={serverKey}
147
+ hiddenType={"disabled"}
148
+ buttonType={"primary-block"}
149
+ serial={serial}
150
+ key={item.id}
151
+ formRef={formRef}
152
+ actionConfig={item}
153
+ doAction={doSubmit}
154
+ ></Action>
155
+ </li>
156
+ );
157
+ }
158
+ })
159
+ : ""}
160
+ {//处理后面的
161
+ actions && actions.length > 2 ? (
162
+ <Popover placement="leftTop" content={content} trigger="hover">
163
+ <Button block>
164
+ <LeftOutlined />
165
+ {translate("${更多}")}
166
+ </Button>
167
+ </Popover>
168
+ ) : (
169
+ ""
170
+ )}
171
+ </ul>
172
+ </div>
173
+ </Affix>
174
+ );
175
+ }
127
176
  }
128
177
 
129
178
  export default FixRightSubmitButtonBar;
130
-