aldehyde 0.0.3 → 0.0.6

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 (501) hide show
  1. package/package.json +6 -6
  2. package/src/components/chart/antd/Chart.js +32 -0
  3. package/src/components/chart/antd/Chart10000.js +90 -0
  4. package/src/components/chart/antd/Max2DimLineChart.js +128 -0
  5. package/src/components/chart/antd/PieChart1.js +54 -0
  6. package/src/components/chart/antd/PieChart2.js +56 -0
  7. package/src/components/chart/antd/chart-utils.tsx +50 -0
  8. package/src/components/chart/antd/column-chart-sub.tsx +67 -0
  9. package/src/components/chart/antd/line-chart-sub.tsx +65 -0
  10. package/src/components/chart/antd/pie-chart-sub.tsx +54 -0
  11. package/src/components/chart/antd/statview-d2-chart.tsx +125 -0
  12. package/src/components/chart/statview-l2-chart.tsx +69 -0
  13. package/src/components/controls/action/index.css +9 -0
  14. package/src/components/controls/action/index.tsx +228 -0
  15. package/{lib/src/components/controls/action/utils.js → src/components/controls/action/utils.tsx} +53 -41
  16. package/src/components/controls/auto-complete/index.tsx +80 -0
  17. package/src/components/controls/cascader/index.js +97 -0
  18. package/src/components/controls/chemstruc/graph.tsx +150 -0
  19. package/src/components/controls/chemstruc/index.css +28 -0
  20. package/src/components/controls/collapse-card/index.css +9 -0
  21. package/src/components/controls/collapse-card/index.tsx +59 -0
  22. package/src/components/controls/color-picker/index.css +27 -0
  23. package/src/components/controls/color-picker/index.tsx +88 -0
  24. package/src/components/controls/cquery/cquick-button.tsx +117 -0
  25. package/src/components/controls/date-picker/index.tsx +141 -0
  26. package/src/components/controls/entity-select/entity-select.tsx +277 -0
  27. package/src/components/controls/entity-select/index.css +6 -0
  28. package/src/components/controls/entity-select/popover-entity-select.tsx +112 -0
  29. package/src/components/controls/entry-control.tsx +240 -0
  30. package/src/components/controls/enum-badge/index.tsx +28 -0
  31. package/src/components/controls/enum-tag/index.tsx +30 -0
  32. package/src/components/controls/file-view/drawer-file-view.tsx +69 -0
  33. package/src/components/controls/file-view/index.tsx +145 -0
  34. package/src/components/controls/html-editor/draft.tsx +161 -0
  35. package/src/components/controls/html-editor/tinymce.js +55 -0
  36. package/src/components/controls/input-number/index.tsx +101 -0
  37. package/src/components/controls/input-range/index.tsx +48 -0
  38. package/src/components/controls/password-setter/index.css +3 -0
  39. package/src/components/controls/password-setter/index.js +70 -0
  40. package/src/components/controls/progress/index.tsx +61 -0
  41. package/src/components/controls/relation-existion/index.css +4 -0
  42. package/src/components/controls/relation-existion/index.tsx +108 -0
  43. package/src/components/controls/rfield/index.css +4 -0
  44. package/src/components/controls/rfield/index.tsx +161 -0
  45. package/src/components/controls/signature/index.tsx +162 -0
  46. package/src/components/controls/steps/index.tsx +58 -0
  47. package/src/components/controls/text/ellipsis-text.tsx +70 -0
  48. package/src/components/controls/upload/index.tsx +122 -0
  49. package/src/components/controls/view-control.tsx +177 -0
  50. package/src/components/detail/button/cquery-button-bar.tsx +112 -0
  51. package/src/components/detail/button/index.css +43 -0
  52. package/src/components/detail/button/submit-button-bar.tsx +151 -0
  53. package/src/components/detail/dtmpl.css +53 -0
  54. package/src/components/detail/edit/dtmpl-edit.tsx +218 -0
  55. package/src/components/detail/edit/fields-edit-card.tsx +103 -0
  56. package/src/components/detail/edit/modal-dtmpl-edit.tsx +198 -0
  57. package/src/components/detail/edit/modal-row-edit.tsx +72 -0
  58. package/src/components/detail/edit/post-result/index.tsx +52 -0
  59. package/src/components/detail/edit/row-edit-card.tsx +125 -0
  60. package/src/components/detail/edit/row-editor.tsx +71 -0
  61. package/src/components/detail/rightbar/index.css +35 -0
  62. package/src/components/detail/rightbar/index.tsx +76 -0
  63. package/src/components/detail/view/act-dtmpl-view.tsx +155 -0
  64. package/src/components/detail/view/dtmpl-view.tsx +143 -0
  65. package/src/components/detail/view/field-view-group.tsx +73 -0
  66. package/src/components/detail/view/modal-dtmpl-view.tsx +56 -0
  67. package/src/components/detail/view/snapshot-timeline.tsx +130 -0
  68. package/src/components/exportor/export-frame.css +3 -0
  69. package/src/components/exportor/export-frame.tsx +194 -0
  70. package/src/components/exportor/index.tsx +60 -0
  71. package/src/components/form/criteria-form.tsx +241 -0
  72. package/src/components/form/dtmpl-form.css +4 -0
  73. package/src/components/form/dtmpl-form.tsx +272 -0
  74. package/src/components/form/field-group-form.tsx +75 -0
  75. package/src/components/form/fields-form.tsx +51 -0
  76. package/src/components/form/form-Item-group.tsx +99 -0
  77. package/src/components/form/index.css +13 -0
  78. package/src/components/import/excel-import.tsx +316 -0
  79. package/src/components/import/index.css +54 -0
  80. package/src/components/import/template-builder.js +474 -0
  81. package/src/components/import/template.css +51 -0
  82. package/src/components/layout/MainPage.tsx +230 -0
  83. package/src/components/layout/footer/index.css +6 -0
  84. package/src/components/layout/footer/index.js +17 -0
  85. package/src/components/layout/header/index.css +86 -0
  86. package/src/components/layout/header/index.tsx +58 -0
  87. package/src/components/layout/menu/block.tsx +88 -0
  88. package/src/components/layout/menu/l2menu-message-bar.tsx +118 -0
  89. package/src/components/layout/menu/l2menu-quick-bar.tsx +132 -0
  90. package/src/components/layout/menu/menu-2layers.tsx +92 -0
  91. package/src/components/layout/menu/menu-render.tsx +49 -0
  92. package/src/components/layout/menu/reset-password.tsx +185 -0
  93. package/src/components/layout/menu/user-bar.tsx +97 -0
  94. package/src/components/layout/menu/userinfo-bar.tsx +70 -0
  95. package/src/components/layout/sidebar/index.css +26 -0
  96. package/src/components/layout/sidebar/index.tsx +38 -0
  97. package/src/components/login.js +137 -0
  98. package/src/components/module/dtmpl-page.tsx +70 -0
  99. package/src/components/module/ltmpl-page.tsx +181 -0
  100. package/src/components/routable/dtmpl-route.tsx +96 -0
  101. package/src/components/routable/import-route.tsx +28 -0
  102. package/src/components/routable/ltmpl-route.tsx +158 -0
  103. package/src/components/table/act-table.tsx +635 -0
  104. package/src/components/table/column/column-selector.tsx +79 -0
  105. package/src/components/table/column/index.css +14 -0
  106. package/src/components/table/index.css +45 -0
  107. package/src/components/table/l2-act-table.tsx +85 -0
  108. package/src/components/table/modal-select-table.tsx +248 -0
  109. package/src/components/table/pagination.css +15 -0
  110. package/src/components/table/pagination.tsx +72 -0
  111. package/src/components/table/query-table.tsx +331 -0
  112. package/src/components/table/relation-table.tsx +600 -0
  113. package/src/components/table/select-table.tsx +247 -0
  114. package/src/components/table/selected-rows-card.tsx +62 -0
  115. package/src/components/table/stat/restat.tsx +79 -0
  116. package/{lib/src/components/table/table-util.js → src/components/table/table-util.tsx} +15 -12
  117. package/{lib/src/components/tmpl/control-type-supportor.js → src/components/tmpl/control-type-supportor.tsx} +30 -18
  118. package/src/components/tmpl/hc-data-source.tsx +230 -0
  119. package/src/components/tmpl/hcservice-v3.tsx +624 -0
  120. package/{lib/src/components/tmpl/interface.d.ts → src/components/tmpl/interface.tsx} +147 -73
  121. package/src/components/tmpl/superagent.js +93 -0
  122. package/src/components/tmpl/tmpl-config-analysis.tsx +111 -0
  123. package/src/components/units/EncryptUtils.js +38 -0
  124. package/src/components/units/image.d.ts +8 -0
  125. package/{lib/src/components/units/index.js → src/components/units/index.tsx} +150 -149
  126. package/{dist/images/logo-06f6a5d8.png → src/components/units/logo.png} +0 -0
  127. package/src/components/units/storage.js +3 -0
  128. package/src/components/welcome/HCWelcome.js +232 -0
  129. package/src/components/welcome/index.css +13 -0
  130. package/src/components/welcome/logo.png +0 -0
  131. package/src/components/welcome/quick-entrance.tsx +77 -0
  132. package/src/components/welcome/workbench.tsx +76 -0
  133. package/src/index.tsx +5 -0
  134. package/src/style/common.css +79 -0
  135. package/src/style/coverstyle.css +49 -0
  136. package/src/style/transstyle.css +24 -0
  137. package/dist/aldehyde.js +0 -1
  138. package/dist/chemstruc-graph.js +0 -1
  139. package/dist/html-editor-draft.js +0 -1
  140. package/dist/index.html +0 -4
  141. package/dist/signature.js +0 -1
  142. package/lib/public/programConfig.json +0 -10
  143. package/lib/src/components/chart/antd/chart-utils.d.ts +0 -7
  144. package/lib/src/components/chart/antd/chart-utils.d.ts.map +0 -1
  145. package/lib/src/components/chart/antd/chart-utils.js +0 -46
  146. package/lib/src/components/chart/antd/chart-utils.js.map +0 -1
  147. package/lib/src/components/chart/antd/column-chart-sub.d.ts +0 -7
  148. package/lib/src/components/chart/antd/column-chart-sub.d.ts.map +0 -1
  149. package/lib/src/components/chart/antd/column-chart-sub.js +0 -50
  150. package/lib/src/components/chart/antd/column-chart-sub.js.map +0 -1
  151. package/lib/src/components/chart/antd/line-chart-sub.d.ts +0 -7
  152. package/lib/src/components/chart/antd/line-chart-sub.d.ts.map +0 -1
  153. package/lib/src/components/chart/antd/line-chart-sub.js +0 -49
  154. package/lib/src/components/chart/antd/line-chart-sub.js.map +0 -1
  155. package/lib/src/components/chart/antd/pie-chart-sub.d.ts +0 -7
  156. package/lib/src/components/chart/antd/pie-chart-sub.d.ts.map +0 -1
  157. package/lib/src/components/chart/antd/pie-chart-sub.js +0 -37
  158. package/lib/src/components/chart/antd/pie-chart-sub.js.map +0 -1
  159. package/lib/src/components/chart/antd/statview-d2-chart.d.ts +0 -17
  160. package/lib/src/components/chart/antd/statview-d2-chart.d.ts.map +0 -1
  161. package/lib/src/components/chart/antd/statview-d2-chart.js +0 -108
  162. package/lib/src/components/chart/antd/statview-d2-chart.js.map +0 -1
  163. package/lib/src/components/chart/statview-l2-chart.d.ts +0 -23
  164. package/lib/src/components/chart/statview-l2-chart.d.ts.map +0 -1
  165. package/lib/src/components/chart/statview-l2-chart.js +0 -64
  166. package/lib/src/components/chart/statview-l2-chart.js.map +0 -1
  167. package/lib/src/components/controls/action/index.d.ts +0 -47
  168. package/lib/src/components/controls/action/index.d.ts.map +0 -1
  169. package/lib/src/components/controls/action/index.js +0 -165
  170. package/lib/src/components/controls/action/index.js.map +0 -1
  171. package/lib/src/components/controls/action/utils.d.ts +0 -9
  172. package/lib/src/components/controls/action/utils.d.ts.map +0 -1
  173. package/lib/src/components/controls/action/utils.js.map +0 -1
  174. package/lib/src/components/controls/auto-complete/index.d.ts +0 -7
  175. package/lib/src/components/controls/auto-complete/index.d.ts.map +0 -1
  176. package/lib/src/components/controls/auto-complete/index.js +0 -53
  177. package/lib/src/components/controls/auto-complete/index.js.map +0 -1
  178. package/lib/src/components/controls/chemstruc/graph.d.ts +0 -31
  179. package/lib/src/components/controls/chemstruc/graph.d.ts.map +0 -1
  180. package/lib/src/components/controls/chemstruc/graph.js +0 -121
  181. package/lib/src/components/controls/chemstruc/graph.js.map +0 -1
  182. package/lib/src/components/controls/collapse-card/index.d.ts +0 -20
  183. package/lib/src/components/controls/collapse-card/index.d.ts.map +0 -1
  184. package/lib/src/components/controls/collapse-card/index.js +0 -63
  185. package/lib/src/components/controls/collapse-card/index.js.map +0 -1
  186. package/lib/src/components/controls/color-picker/index.d.ts +0 -19
  187. package/lib/src/components/controls/color-picker/index.d.ts.map +0 -1
  188. package/lib/src/components/controls/color-picker/index.js +0 -61
  189. package/lib/src/components/controls/color-picker/index.js.map +0 -1
  190. package/lib/src/components/controls/cquery/cquick-button.d.ts +0 -20
  191. package/lib/src/components/controls/cquery/cquick-button.d.ts.map +0 -1
  192. package/lib/src/components/controls/cquery/cquick-button.js +0 -67
  193. package/lib/src/components/controls/cquery/cquick-button.js.map +0 -1
  194. package/lib/src/components/controls/date-picker/index.d.ts +0 -7
  195. package/lib/src/components/controls/date-picker/index.d.ts.map +0 -1
  196. package/lib/src/components/controls/date-picker/index.js +0 -91
  197. package/lib/src/components/controls/date-picker/index.js.map +0 -1
  198. package/lib/src/components/controls/entity-select/entity-select.d.ts +0 -53
  199. package/lib/src/components/controls/entity-select/entity-select.d.ts.map +0 -1
  200. package/lib/src/components/controls/entity-select/entity-select.js +0 -227
  201. package/lib/src/components/controls/entity-select/entity-select.js.map +0 -1
  202. package/lib/src/components/controls/entity-select/popover-entity-select.d.ts +0 -20
  203. package/lib/src/components/controls/entity-select/popover-entity-select.d.ts.map +0 -1
  204. package/lib/src/components/controls/entity-select/popover-entity-select.js +0 -80
  205. package/lib/src/components/controls/entity-select/popover-entity-select.js.map +0 -1
  206. package/lib/src/components/controls/entry-control.d.ts +0 -11
  207. package/lib/src/components/controls/entry-control.d.ts.map +0 -1
  208. package/lib/src/components/controls/entry-control.js +0 -171
  209. package/lib/src/components/controls/entry-control.js.map +0 -1
  210. package/lib/src/components/controls/enum-badge/index.d.ts +0 -7
  211. package/lib/src/components/controls/enum-badge/index.d.ts.map +0 -1
  212. package/lib/src/components/controls/enum-badge/index.js +0 -14
  213. package/lib/src/components/controls/enum-badge/index.js.map +0 -1
  214. package/lib/src/components/controls/enum-tag/index.d.ts +0 -7
  215. package/lib/src/components/controls/enum-tag/index.d.ts.map +0 -1
  216. package/lib/src/components/controls/enum-tag/index.js +0 -18
  217. package/lib/src/components/controls/enum-tag/index.js.map +0 -1
  218. package/lib/src/components/controls/file-view/drawer-file-view.d.ts +0 -18
  219. package/lib/src/components/controls/file-view/drawer-file-view.d.ts.map +0 -1
  220. package/lib/src/components/controls/file-view/drawer-file-view.js +0 -51
  221. package/lib/src/components/controls/file-view/drawer-file-view.js.map +0 -1
  222. package/lib/src/components/controls/file-view/index.d.ts +0 -23
  223. package/lib/src/components/controls/file-view/index.d.ts.map +0 -1
  224. package/lib/src/components/controls/file-view/index.js +0 -130
  225. package/lib/src/components/controls/file-view/index.js.map +0 -1
  226. package/lib/src/components/controls/html-editor/draft.d.ts +0 -22
  227. package/lib/src/components/controls/html-editor/draft.d.ts.map +0 -1
  228. package/lib/src/components/controls/html-editor/draft.js +0 -122
  229. package/lib/src/components/controls/html-editor/draft.js.map +0 -1
  230. package/lib/src/components/controls/input-number/index.d.ts +0 -7
  231. package/lib/src/components/controls/input-number/index.d.ts.map +0 -1
  232. package/lib/src/components/controls/input-number/index.js +0 -67
  233. package/lib/src/components/controls/input-number/index.js.map +0 -1
  234. package/lib/src/components/controls/input-range/index.d.ts +0 -7
  235. package/lib/src/components/controls/input-range/index.d.ts.map +0 -1
  236. package/lib/src/components/controls/input-range/index.js +0 -28
  237. package/lib/src/components/controls/input-range/index.js.map +0 -1
  238. package/lib/src/components/controls/progress/index.d.ts +0 -7
  239. package/lib/src/components/controls/progress/index.d.ts.map +0 -1
  240. package/lib/src/components/controls/progress/index.js +0 -45
  241. package/lib/src/components/controls/progress/index.js.map +0 -1
  242. package/lib/src/components/controls/relation-existion/index.d.ts +0 -20
  243. package/lib/src/components/controls/relation-existion/index.d.ts.map +0 -1
  244. package/lib/src/components/controls/relation-existion/index.js +0 -75
  245. package/lib/src/components/controls/relation-existion/index.js.map +0 -1
  246. package/lib/src/components/controls/rfield/index.d.ts +0 -29
  247. package/lib/src/components/controls/rfield/index.d.ts.map +0 -1
  248. package/lib/src/components/controls/rfield/index.js +0 -130
  249. package/lib/src/components/controls/rfield/index.js.map +0 -1
  250. package/lib/src/components/controls/signature/index.d.ts +0 -31
  251. package/lib/src/components/controls/signature/index.d.ts.map +0 -1
  252. package/lib/src/components/controls/signature/index.js +0 -129
  253. package/lib/src/components/controls/signature/index.js.map +0 -1
  254. package/lib/src/components/controls/steps/index.d.ts +0 -7
  255. package/lib/src/components/controls/steps/index.d.ts.map +0 -1
  256. package/lib/src/components/controls/steps/index.js +0 -42
  257. package/lib/src/components/controls/steps/index.js.map +0 -1
  258. package/lib/src/components/controls/text/ellipsis-text.d.ts +0 -22
  259. package/lib/src/components/controls/text/ellipsis-text.d.ts.map +0 -1
  260. package/lib/src/components/controls/text/ellipsis-text.js +0 -46
  261. package/lib/src/components/controls/text/ellipsis-text.js.map +0 -1
  262. package/lib/src/components/controls/upload/index.d.ts +0 -15
  263. package/lib/src/components/controls/upload/index.d.ts.map +0 -1
  264. package/lib/src/components/controls/upload/index.js +0 -100
  265. package/lib/src/components/controls/upload/index.js.map +0 -1
  266. package/lib/src/components/controls/view-control.d.ts +0 -10
  267. package/lib/src/components/controls/view-control.d.ts.map +0 -1
  268. package/lib/src/components/controls/view-control.js +0 -150
  269. package/lib/src/components/controls/view-control.js.map +0 -1
  270. package/lib/src/components/detail/button/cquery-button-bar.d.ts +0 -16
  271. package/lib/src/components/detail/button/cquery-button-bar.d.ts.map +0 -1
  272. package/lib/src/components/detail/button/cquery-button-bar.js +0 -75
  273. package/lib/src/components/detail/button/cquery-button-bar.js.map +0 -1
  274. package/lib/src/components/detail/button/submit-button-bar.d.ts +0 -19
  275. package/lib/src/components/detail/button/submit-button-bar.d.ts.map +0 -1
  276. package/lib/src/components/detail/button/submit-button-bar.js +0 -99
  277. package/lib/src/components/detail/button/submit-button-bar.js.map +0 -1
  278. package/lib/src/components/detail/edit/dtmpl-edit.d.ts +0 -48
  279. package/lib/src/components/detail/edit/dtmpl-edit.d.ts.map +0 -1
  280. package/lib/src/components/detail/edit/dtmpl-edit.js +0 -190
  281. package/lib/src/components/detail/edit/dtmpl-edit.js.map +0 -1
  282. package/lib/src/components/detail/edit/fields-edit-card.d.ts +0 -39
  283. package/lib/src/components/detail/edit/fields-edit-card.d.ts.map +0 -1
  284. package/lib/src/components/detail/edit/fields-edit-card.js +0 -64
  285. package/lib/src/components/detail/edit/fields-edit-card.js.map +0 -1
  286. package/lib/src/components/detail/edit/modal-dtmpl-edit.d.ts +0 -51
  287. package/lib/src/components/detail/edit/modal-dtmpl-edit.d.ts.map +0 -1
  288. package/lib/src/components/detail/edit/modal-dtmpl-edit.js +0 -168
  289. package/lib/src/components/detail/edit/modal-dtmpl-edit.js.map +0 -1
  290. package/lib/src/components/detail/edit/modal-row-edit.d.ts +0 -31
  291. package/lib/src/components/detail/edit/modal-row-edit.d.ts.map +0 -1
  292. package/lib/src/components/detail/edit/modal-row-edit.js +0 -56
  293. package/lib/src/components/detail/edit/modal-row-edit.js.map +0 -1
  294. package/lib/src/components/detail/edit/post-result/index.d.ts +0 -17
  295. package/lib/src/components/detail/edit/post-result/index.d.ts.map +0 -1
  296. package/lib/src/components/detail/edit/post-result/index.js +0 -28
  297. package/lib/src/components/detail/edit/post-result/index.js.map +0 -1
  298. package/lib/src/components/detail/edit/row-edit-card.d.ts +0 -42
  299. package/lib/src/components/detail/edit/row-edit-card.d.ts.map +0 -1
  300. package/lib/src/components/detail/edit/row-edit-card.js +0 -84
  301. package/lib/src/components/detail/edit/row-edit-card.js.map +0 -1
  302. package/lib/src/components/detail/edit/row-editor.d.ts +0 -31
  303. package/lib/src/components/detail/edit/row-editor.d.ts.map +0 -1
  304. package/lib/src/components/detail/edit/row-editor.js +0 -55
  305. package/lib/src/components/detail/edit/row-editor.js.map +0 -1
  306. package/lib/src/components/detail/rightbar/index.d.ts +0 -20
  307. package/lib/src/components/detail/rightbar/index.d.ts.map +0 -1
  308. package/lib/src/components/detail/rightbar/index.js +0 -51
  309. package/lib/src/components/detail/rightbar/index.js.map +0 -1
  310. package/lib/src/components/detail/view/act-dtmpl-view.d.ts +0 -46
  311. package/lib/src/components/detail/view/act-dtmpl-view.d.ts.map +0 -1
  312. package/lib/src/components/detail/view/act-dtmpl-view.js +0 -110
  313. package/lib/src/components/detail/view/act-dtmpl-view.js.map +0 -1
  314. package/lib/src/components/detail/view/dtmpl-view.d.ts +0 -42
  315. package/lib/src/components/detail/view/dtmpl-view.d.ts.map +0 -1
  316. package/lib/src/components/detail/view/dtmpl-view.js +0 -111
  317. package/lib/src/components/detail/view/dtmpl-view.js.map +0 -1
  318. package/lib/src/components/detail/view/field-view-group.d.ts +0 -17
  319. package/lib/src/components/detail/view/field-view-group.d.ts.map +0 -1
  320. package/lib/src/components/detail/view/field-view-group.js +0 -51
  321. package/lib/src/components/detail/view/field-view-group.js.map +0 -1
  322. package/lib/src/components/detail/view/modal-dtmpl-view.d.ts +0 -27
  323. package/lib/src/components/detail/view/modal-dtmpl-view.d.ts.map +0 -1
  324. package/lib/src/components/detail/view/modal-dtmpl-view.js +0 -32
  325. package/lib/src/components/detail/view/modal-dtmpl-view.js.map +0 -1
  326. package/lib/src/components/detail/view/snapshot-timeline.d.ts +0 -32
  327. package/lib/src/components/detail/view/snapshot-timeline.d.ts.map +0 -1
  328. package/lib/src/components/detail/view/snapshot-timeline.js +0 -90
  329. package/lib/src/components/detail/view/snapshot-timeline.js.map +0 -1
  330. package/lib/src/components/exportor/export-frame.d.ts +0 -50
  331. package/lib/src/components/exportor/export-frame.d.ts.map +0 -1
  332. package/lib/src/components/exportor/export-frame.js +0 -140
  333. package/lib/src/components/exportor/export-frame.js.map +0 -1
  334. package/lib/src/components/exportor/index.d.ts +0 -16
  335. package/lib/src/components/exportor/index.d.ts.map +0 -1
  336. package/lib/src/components/exportor/index.js +0 -44
  337. package/lib/src/components/exportor/index.js.map +0 -1
  338. package/lib/src/components/form/criteria-form.d.ts +0 -19
  339. package/lib/src/components/form/criteria-form.d.ts.map +0 -1
  340. package/lib/src/components/form/criteria-form.js +0 -167
  341. package/lib/src/components/form/criteria-form.js.map +0 -1
  342. package/lib/src/components/form/dtmpl-form.d.ts +0 -37
  343. package/lib/src/components/form/dtmpl-form.d.ts.map +0 -1
  344. package/lib/src/components/form/dtmpl-form.js +0 -213
  345. package/lib/src/components/form/dtmpl-form.js.map +0 -1
  346. package/lib/src/components/form/field-group-form.d.ts +0 -21
  347. package/lib/src/components/form/field-group-form.d.ts.map +0 -1
  348. package/lib/src/components/form/field-group-form.js +0 -58
  349. package/lib/src/components/form/field-group-form.js.map +0 -1
  350. package/lib/src/components/form/fields-form.d.ts +0 -20
  351. package/lib/src/components/form/fields-form.d.ts.map +0 -1
  352. package/lib/src/components/form/fields-form.js +0 -39
  353. package/lib/src/components/form/fields-form.js.map +0 -1
  354. package/lib/src/components/form/form-Item-group.d.ts +0 -22
  355. package/lib/src/components/form/form-Item-group.d.ts.map +0 -1
  356. package/lib/src/components/form/form-Item-group.js +0 -60
  357. package/lib/src/components/form/form-Item-group.js.map +0 -1
  358. package/lib/src/components/import/excel-import.d.ts +0 -48
  359. package/lib/src/components/import/excel-import.d.ts.map +0 -1
  360. package/lib/src/components/import/excel-import.js +0 -234
  361. package/lib/src/components/import/excel-import.js.map +0 -1
  362. package/lib/src/components/layout/MainPage.d.ts +0 -32
  363. package/lib/src/components/layout/MainPage.d.ts.map +0 -1
  364. package/lib/src/components/layout/MainPage.js +0 -202
  365. package/lib/src/components/layout/MainPage.js.map +0 -1
  366. package/lib/src/components/layout/header/index.d.ts +0 -16
  367. package/lib/src/components/layout/header/index.d.ts.map +0 -1
  368. package/lib/src/components/layout/header/index.js +0 -37
  369. package/lib/src/components/layout/header/index.js.map +0 -1
  370. package/lib/src/components/layout/menu/block.d.ts +0 -9
  371. package/lib/src/components/layout/menu/block.d.ts.map +0 -1
  372. package/lib/src/components/layout/menu/block.js +0 -48
  373. package/lib/src/components/layout/menu/block.js.map +0 -1
  374. package/lib/src/components/layout/menu/l2menu-message-bar.d.ts +0 -24
  375. package/lib/src/components/layout/menu/l2menu-message-bar.d.ts.map +0 -1
  376. package/lib/src/components/layout/menu/l2menu-message-bar.js +0 -97
  377. package/lib/src/components/layout/menu/l2menu-message-bar.js.map +0 -1
  378. package/lib/src/components/layout/menu/l2menu-quick-bar.d.ts +0 -30
  379. package/lib/src/components/layout/menu/l2menu-quick-bar.d.ts.map +0 -1
  380. package/lib/src/components/layout/menu/l2menu-quick-bar.js +0 -94
  381. package/lib/src/components/layout/menu/l2menu-quick-bar.js.map +0 -1
  382. package/lib/src/components/layout/menu/menu-2layers.d.ts +0 -9
  383. package/lib/src/components/layout/menu/menu-2layers.d.ts.map +0 -1
  384. package/lib/src/components/layout/menu/menu-2layers.js +0 -63
  385. package/lib/src/components/layout/menu/menu-2layers.js.map +0 -1
  386. package/lib/src/components/layout/menu/menu-render.d.ts +0 -8
  387. package/lib/src/components/layout/menu/menu-render.d.ts.map +0 -1
  388. package/lib/src/components/layout/menu/menu-render.js +0 -44
  389. package/lib/src/components/layout/menu/menu-render.js.map +0 -1
  390. package/lib/src/components/layout/menu/reset-password.d.ts +0 -25
  391. package/lib/src/components/layout/menu/reset-password.d.ts.map +0 -1
  392. package/lib/src/components/layout/menu/reset-password.js +0 -113
  393. package/lib/src/components/layout/menu/reset-password.js.map +0 -1
  394. package/lib/src/components/layout/menu/user-bar.d.ts +0 -19
  395. package/lib/src/components/layout/menu/user-bar.d.ts.map +0 -1
  396. package/lib/src/components/layout/menu/user-bar.js +0 -61
  397. package/lib/src/components/layout/menu/user-bar.js.map +0 -1
  398. package/lib/src/components/layout/menu/userinfo-bar.d.ts +0 -18
  399. package/lib/src/components/layout/menu/userinfo-bar.d.ts.map +0 -1
  400. package/lib/src/components/layout/menu/userinfo-bar.js +0 -50
  401. package/lib/src/components/layout/menu/userinfo-bar.js.map +0 -1
  402. package/lib/src/components/layout/sidebar/index.d.ts +0 -12
  403. package/lib/src/components/layout/sidebar/index.d.ts.map +0 -1
  404. package/lib/src/components/layout/sidebar/index.js +0 -19
  405. package/lib/src/components/layout/sidebar/index.js.map +0 -1
  406. package/lib/src/components/module/dtmpl-page.d.ts +0 -19
  407. package/lib/src/components/module/dtmpl-page.d.ts.map +0 -1
  408. package/lib/src/components/module/dtmpl-page.js +0 -46
  409. package/lib/src/components/module/dtmpl-page.js.map +0 -1
  410. package/lib/src/components/module/ltmpl-page.d.ts +0 -34
  411. package/lib/src/components/module/ltmpl-page.d.ts.map +0 -1
  412. package/lib/src/components/module/ltmpl-page.js +0 -154
  413. package/lib/src/components/module/ltmpl-page.js.map +0 -1
  414. package/lib/src/components/routable/dtmpl-route.d.ts +0 -17
  415. package/lib/src/components/routable/dtmpl-route.d.ts.map +0 -1
  416. package/lib/src/components/routable/dtmpl-route.js +0 -77
  417. package/lib/src/components/routable/dtmpl-route.js.map +0 -1
  418. package/lib/src/components/routable/import-route.d.ts +0 -13
  419. package/lib/src/components/routable/import-route.d.ts.map +0 -1
  420. package/lib/src/components/routable/import-route.js +0 -29
  421. package/lib/src/components/routable/import-route.js.map +0 -1
  422. package/lib/src/components/routable/ltmpl-route.d.ts +0 -25
  423. package/lib/src/components/routable/ltmpl-route.d.ts.map +0 -1
  424. package/lib/src/components/routable/ltmpl-route.js +0 -145
  425. package/lib/src/components/routable/ltmpl-route.js.map +0 -1
  426. package/lib/src/components/table/act-table.d.ts +0 -76
  427. package/lib/src/components/table/act-table.d.ts.map +0 -1
  428. package/lib/src/components/table/act-table.js +0 -454
  429. package/lib/src/components/table/act-table.js.map +0 -1
  430. package/lib/src/components/table/column/column-selector.d.ts +0 -26
  431. package/lib/src/components/table/column/column-selector.d.ts.map +0 -1
  432. package/lib/src/components/table/column/column-selector.js +0 -59
  433. package/lib/src/components/table/column/column-selector.js.map +0 -1
  434. package/lib/src/components/table/l2-act-table.d.ts +0 -23
  435. package/lib/src/components/table/l2-act-table.d.ts.map +0 -1
  436. package/lib/src/components/table/l2-act-table.js +0 -80
  437. package/lib/src/components/table/l2-act-table.js.map +0 -1
  438. package/lib/src/components/table/modal-select-table.d.ts +0 -41
  439. package/lib/src/components/table/modal-select-table.d.ts.map +0 -1
  440. package/lib/src/components/table/modal-select-table.js +0 -208
  441. package/lib/src/components/table/modal-select-table.js.map +0 -1
  442. package/lib/src/components/table/pagination.d.ts +0 -17
  443. package/lib/src/components/table/pagination.d.ts.map +0 -1
  444. package/lib/src/components/table/pagination.js +0 -40
  445. package/lib/src/components/table/pagination.js.map +0 -1
  446. package/lib/src/components/table/query-table.d.ts +0 -65
  447. package/lib/src/components/table/query-table.d.ts.map +0 -1
  448. package/lib/src/components/table/query-table.js +0 -257
  449. package/lib/src/components/table/query-table.js.map +0 -1
  450. package/lib/src/components/table/relation-table.d.ts +0 -61
  451. package/lib/src/components/table/relation-table.d.ts.map +0 -1
  452. package/lib/src/components/table/relation-table.js +0 -444
  453. package/lib/src/components/table/relation-table.js.map +0 -1
  454. package/lib/src/components/table/select-table.d.ts +0 -40
  455. package/lib/src/components/table/select-table.d.ts.map +0 -1
  456. package/lib/src/components/table/select-table.js +0 -223
  457. package/lib/src/components/table/select-table.js.map +0 -1
  458. package/lib/src/components/table/selected-rows-card.d.ts +0 -16
  459. package/lib/src/components/table/selected-rows-card.d.ts.map +0 -1
  460. package/lib/src/components/table/selected-rows-card.js +0 -47
  461. package/lib/src/components/table/selected-rows-card.js.map +0 -1
  462. package/lib/src/components/table/stat/restat.d.ts +0 -26
  463. package/lib/src/components/table/stat/restat.d.ts.map +0 -1
  464. package/lib/src/components/table/stat/restat.js +0 -61
  465. package/lib/src/components/table/stat/restat.js.map +0 -1
  466. package/lib/src/components/table/table-util.d.ts +0 -5
  467. package/lib/src/components/table/table-util.d.ts.map +0 -1
  468. package/lib/src/components/table/table-util.js.map +0 -1
  469. package/lib/src/components/tmpl/control-type-supportor.d.ts +0 -9
  470. package/lib/src/components/tmpl/control-type-supportor.d.ts.map +0 -1
  471. package/lib/src/components/tmpl/control-type-supportor.js.map +0 -1
  472. package/lib/src/components/tmpl/hc-data-source.d.ts +0 -19
  473. package/lib/src/components/tmpl/hc-data-source.d.ts.map +0 -1
  474. package/lib/src/components/tmpl/hc-data-source.js +0 -230
  475. package/lib/src/components/tmpl/hc-data-source.js.map +0 -1
  476. package/lib/src/components/tmpl/hcservice-v3.d.ts +0 -53
  477. package/lib/src/components/tmpl/hcservice-v3.d.ts.map +0 -1
  478. package/lib/src/components/tmpl/hcservice-v3.js +0 -639
  479. package/lib/src/components/tmpl/hcservice-v3.js.map +0 -1
  480. package/lib/src/components/tmpl/interface.d.ts.map +0 -1
  481. package/lib/src/components/tmpl/interface.js +0 -4
  482. package/lib/src/components/tmpl/interface.js.map +0 -1
  483. package/lib/src/components/tmpl/tmpl-config-analysis.d.ts +0 -7
  484. package/lib/src/components/tmpl/tmpl-config-analysis.d.ts.map +0 -1
  485. package/lib/src/components/tmpl/tmpl-config-analysis.js +0 -106
  486. package/lib/src/components/tmpl/tmpl-config-analysis.js.map +0 -1
  487. package/lib/src/components/units/index.d.ts +0 -58
  488. package/lib/src/components/units/index.d.ts.map +0 -1
  489. package/lib/src/components/units/index.js.map +0 -1
  490. package/lib/src/components/welcome/quick-entrance.d.ts +0 -20
  491. package/lib/src/components/welcome/quick-entrance.d.ts.map +0 -1
  492. package/lib/src/components/welcome/quick-entrance.js +0 -79
  493. package/lib/src/components/welcome/quick-entrance.js.map +0 -1
  494. package/lib/src/components/welcome/workbench.d.ts +0 -20
  495. package/lib/src/components/welcome/workbench.d.ts.map +0 -1
  496. package/lib/src/components/welcome/workbench.js +0 -78
  497. package/lib/src/components/welcome/workbench.js.map +0 -1
  498. package/lib/src/index.d.ts +0 -4
  499. package/lib/src/index.d.ts.map +0 -1
  500. package/lib/src/index.js +0 -4
  501. package/lib/src/index.js.map +0 -1
@@ -1,168 +0,0 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
- import React from 'react';
11
- import { Button, Modal, Popconfirm } from 'antd';
12
- import DtmplForm from '../../form/dtmpl-form';
13
- import HCDataSource from "../../tmpl/hc-data-source";
14
- import Units from "../../units";
15
- import HcserviceV3 from "../../tmpl/hcservice-v3";
16
- import Action from "../../controls/action";
17
- export default class ModalDtmplEdit extends React.PureComponent {
18
- constructor() {
19
- super(...arguments);
20
- this.formRef = React.createRef();
21
- this.autoSaveTimer = -1000000000000000;
22
- this.autoSaveInterval = undefined;
23
- this.onClickBody = (e) => {
24
- // console.log(e);
25
- console.log("点击了我" + this.autoSaveTimer);
26
- this.autoSaveTimer = 0;
27
- };
28
- this.state = {
29
- id: 'modelDtmplEdit' + Units.getRandomNum(6),
30
- dtmplConfig: undefined,
31
- loading: true,
32
- serial: 1,
33
- dtmplData: undefined,
34
- };
35
- this.loadConfigData = () => __awaiter(this, void 0, void 0, function* () {
36
- const { sourceId, visible } = this.props;
37
- this.setState({
38
- loading: true,
39
- });
40
- const dtmplConfig = yield HCDataSource.requestDtmplConfig(sourceId);
41
- if (dtmplConfig.authSaveInterval && dtmplConfig.authSaveInterval > 0) {
42
- if (this.autoSaveInterval) {
43
- clearInterval(this.autoSaveInterval);
44
- }
45
- this.autoSaveInterval = setInterval(() => {
46
- if (this.autoSaveTimer >= dtmplConfig.authSaveInterval) {
47
- console.log('执行自动保存');
48
- this.autoSaveTimer = -1000000000000000;
49
- this.doSubmit(undefined);
50
- }
51
- else {
52
- this.autoSaveTimer = this.autoSaveTimer + 1;
53
- }
54
- }, 1000);
55
- }
56
- yield this.loadData(dtmplConfig);
57
- this.setState({
58
- dtmplConfig,
59
- loading: false,
60
- });
61
- });
62
- this.loadData = (dtmplConfig) => __awaiter(this, void 0, void 0, function* () {
63
- const { sourceId, code, defaultDtmplData, visible } = this.props;
64
- if (!visible) {
65
- return;
66
- }
67
- if (code) {
68
- this.setState({
69
- loading: true,
70
- });
71
- const dtmplData_ = yield HcserviceV3.requestDtmplData(sourceId, code, null);
72
- this.setState({
73
- dtmplData: dtmplData_,
74
- // changedGroupData:new Map<number,DtmplData[]>(),
75
- loading: false,
76
- });
77
- }
78
- else if (defaultDtmplData) {
79
- this.setState({
80
- dtmplData: defaultDtmplData,
81
- loading: false,
82
- });
83
- }
84
- else {
85
- this.setState({
86
- dtmplData: { code: undefined, title: undefined, fieldMap: {}, arrayMap: {} },
87
- loading: false,
88
- });
89
- }
90
- setTimeout(() => this.onValuesChange(), 300);
91
- });
92
- this.onValuesChange = () => {
93
- this.setState({
94
- serial: this.state.serial + 1
95
- });
96
- };
97
- this.doSubmit = (actionId, codes, params) => {
98
- const { mainCode } = this.props;
99
- if (actionId) {
100
- this.formRef.current.setFieldsValue({ 'actionId': actionId });
101
- }
102
- if (mainCode) {
103
- this.formRef.current.setFieldsValue({ 'mainCode': mainCode });
104
- }
105
- if (params) {
106
- this.formRef.current.setFieldsValue(params);
107
- }
108
- this.formRef.current.submit();
109
- };
110
- this.getFooter = () => {
111
- const { onCancel } = this.props;
112
- const { dtmplData, serial } = this.state;
113
- const footerButtons = [];
114
- footerButtons.unshift(React.createElement(Popconfirm, { key: "ok", placement: "topLeft", title: "确定要保存修改吗?", onConfirm: () => this.doSubmit(), okText: "\u786E\u5B9A", cancelText: "\u53D6\u6D88" },
115
- React.createElement(Button, { type: 'primary' }, "\u4FDD \u5B58")));
116
- const { dtmplConfig } = this.state;
117
- //处理action
118
- if (dtmplConfig) {
119
- dtmplConfig.actions.forEach((ac, index) => {
120
- footerButtons.unshift(React.createElement(Action, { hiddenType: 'disabled', serial: serial, key: ac.id, formRef: this.formRef, actionConfig: ac, doAction: this.doSubmit }));
121
- });
122
- }
123
- footerButtons.unshift(React.createElement(Popconfirm, { key: "back", placement: "topLeft", title: "确定要取消本次修改内容吗?", onConfirm: onCancel, okText: "\u786E\u5B9A", cancelText: "\u53D6\u6D88" },
124
- React.createElement(Button, null, "\u53D6 \u6D88")));
125
- return footerButtons;
126
- };
127
- }
128
- componentDidMount() {
129
- return __awaiter(this, void 0, void 0, function* () {
130
- yield this.loadConfigData();
131
- });
132
- }
133
- componentDidUpdate(prevProps) {
134
- return __awaiter(this, void 0, void 0, function* () {
135
- const { dtmplConfig } = this.state;
136
- if (prevProps && prevProps != this.props) {
137
- yield this.loadData(dtmplConfig);
138
- }
139
- // if(this.formRef.current){
140
- // this.formRef.current.resetFields();
141
- // }
142
- });
143
- }
144
- componentWillUnmount() {
145
- if (this.autoSaveInterval) {
146
- clearInterval(this.autoSaveInterval);
147
- }
148
- }
149
- render() {
150
- const { height, onOk, onCancel, code, sourceId, visible, mainCode } = this.props;
151
- const { dtmplConfig, id, dtmplData } = this.state;
152
- return React.createElement(Modal, { visible: visible, width: 1250, title: dtmplConfig ? dtmplConfig.title : "", bodyStyle: { height: height, overflow: 'auto' }, destroyOnClose: true, centered: true, onCancel: onCancel, footer: this.getFooter() },
153
- visible,
154
- " ",
155
- React.createElement("div", { onClick: this.onClickBody },
156
- React.createElement(DtmplForm, { parentId: id, dtmplConfig: dtmplConfig, formRef: this.formRef, sourceId: sourceId, onFinish: onOk, showConfirm: false, dtmplData: dtmplData, onValuesChange: this.onValuesChange })));
157
- }
158
- }
159
- ModalDtmplEdit.defaultProps = {
160
- showConfirm: true,
161
- height: 500,
162
- //antd modal
163
- forceRender: true,
164
- style: { maxWidth: 'calc(100vw - 60px)', maxHeight: 'calc(100vh - 50px)' },
165
- okText: "确定",
166
- cancelText: "取消",
167
- };
168
- //# sourceMappingURL=modal-dtmpl-edit.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"modal-dtmpl-edit.js","sourceRoot":"","sources":["../../../../../src/components/detail/edit/modal-dtmpl-edit.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,MAAM,EAAgB,KAAK,EAAE,UAAU,EAAC,MAAM,MAAM,CAAA;AAE5D,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAC9C,OAAO,YAAY,MAAM,2BAA2B,CAAC;AACrD,OAAO,KAAK,MAAM,aAAa,CAAC;AAChC,OAAO,WAAW,MAAM,yBAAyB,CAAC;AAClD,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAkB3C,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,KAAK,CAAC,aAAiD;IAAnG;;QACI,YAAO,GAAG,KAAK,CAAC,SAAS,EAAgB,CAAC;QAC1C,kBAAa,GAAG,CAAC,gBAAgB,CAAC;QAClC,qBAAgB,GAAC,SAAS,CAAC;QAC3B,gBAAW,GAAG,CAAC,CAAC,EAAE,EAAE;YAChB,mBAAmB;YACnB,OAAO,CAAC,GAAG,CAAC,MAAM,GAAG,IAAI,CAAC,aAAa,CAAC,CAAC;YACzC,IAAI,CAAC,aAAa,GAAG,CAAC,CAAC;QAC3B,CAAC,CAAA;QAWD,UAAK,GAAG;YACJ,EAAE,EAAC,gBAAgB,GAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC;YACzC,WAAW,EAAE,SAAS;YACtB,OAAO,EAAE,IAAI;YACb,MAAM,EAAC,CAAC;YACR,SAAS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,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,IAAI,CAAC,SAAS,EAAE;YAEvB,OAAO;;YAAE,6BAAK,OAAO,EAAE,IAAI,CAAC,WAAW;gBAEpC,oBAAC,SAAS,IAAC,QAAQ,EAAE,EAAE,EAAE,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EACjF,QAAQ,EAAE,IAAI,EACd,WAAW,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,cAAc,EAAE,IAAI,CAAC,cAAc,GAAI,CAE1F,CACF,CAAA;IAEZ,CAAC;;AAjKM,2BAAY,GAAG;IAClB,WAAW,EAAE,IAAI;IACjB,MAAM,EAAE,GAAG;IACX,YAAY;IACZ,WAAW,EAAE,IAAI;IACjB,KAAK,EAAE,EAAC,QAAQ,EAAE,oBAAoB,EAAE,SAAS,EAAE,oBAAoB,EAAC;IACxE,MAAM,EAAE,IAAI;IACZ,UAAU,EAAE,IAAI;CAEnB,CAAA"}
@@ -1,31 +0,0 @@
1
- import React from 'react';
2
- import { FormInstance } from 'antd';
3
- import { DtmplData, FieldGroupConfig } from "../../tmpl/interface";
4
- interface ModalRowEditorProps {
5
- height?: any;
6
- visible: boolean;
7
- onOk: (value: DtmplData) => void;
8
- onCancel: () => void;
9
- fieldGroupConfig: FieldGroupConfig;
10
- dtmplData?: DtmplData;
11
- }
12
- interface ModalRowEditorState {
13
- }
14
- export default class ModalRowEdit extends React.PureComponent<ModalRowEditorProps, ModalRowEditorState> {
15
- formRef: React.RefObject<FormInstance<any>>;
16
- static defaultProps: {
17
- forceRender: boolean;
18
- style: {
19
- maxWidth: string;
20
- maxHeight: string;
21
- };
22
- };
23
- state: {};
24
- componentDidMount(): Promise<void>;
25
- componentDidUpdate(): Promise<void>;
26
- onOk: () => void;
27
- getTitle: () => string;
28
- render(): JSX.Element;
29
- }
30
- export {};
31
- //# sourceMappingURL=modal-row-edit.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"modal-row-edit.d.ts","sourceRoot":"","sources":["../../../../../src/components/detail/edit/modal-row-edit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,YAAY,EAAQ,MAAM,MAAM,CAAA;AACxC,OAAO,EAAC,SAAS,EAAE,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AAGjE,UAAU,mBAAmB;IACzB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IACjC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,SAAS,CAAC,EAAE,SAAS,CAAC;CACzB;AAED,UAAU,mBAAmB;CAC5B;AAED,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,KAAK,CAAC,aAAa,CAAC,mBAAmB,EAAE,mBAAmB,CAAC;IACnG,OAAO,qCAAmC;IAC1C,MAAM,CAAC,YAAY;;;;;;MAGlB;IACD,KAAK,KAAK;IAEJ,iBAAiB;IAGjB,kBAAkB;IAMxB,IAAI,aAEH;IAED,QAAQ,eAUP;IAED,MAAM;CAqBT"}
@@ -1,56 +0,0 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
- import React from 'react';
11
- import { Modal } from 'antd';
12
- import FieldGroupForm from '../../form/field-group-form';
13
- export default class ModalRowEdit extends React.PureComponent {
14
- constructor() {
15
- super(...arguments);
16
- this.formRef = React.createRef();
17
- this.state = {};
18
- this.onOk = () => {
19
- this.formRef.current.submit();
20
- };
21
- this.getTitle = () => {
22
- const { fieldGroupConfig, dtmplData } = this.props;
23
- let title = "";
24
- title = fieldGroupConfig.title;
25
- if (dtmplData) {
26
- title = title + "【行编辑】";
27
- }
28
- else {
29
- title = title + "【新建一行】";
30
- }
31
- return title;
32
- };
33
- }
34
- componentDidMount() {
35
- return __awaiter(this, void 0, void 0, function* () {
36
- });
37
- }
38
- componentDidUpdate() {
39
- return __awaiter(this, void 0, void 0, function* () {
40
- if (this.formRef.current) {
41
- this.formRef.current.resetFields();
42
- }
43
- });
44
- }
45
- render() {
46
- const { height, onOk, onCancel, fieldGroupConfig, visible, dtmplData } = this.props;
47
- const {} = this.state;
48
- return React.createElement(Modal, { visible: visible, width: 1150, title: this.getTitle(), bodyStyle: { overflow: 'auto' }, destroyOnClose: true, centered: true, okText: '确定', cancelText: '取消', onOk: this.onOk, onCancel: onCancel },
49
- React.createElement(FieldGroupForm, { fieldGroupConfig: fieldGroupConfig, formRef: this.formRef, onFinish: onOk, dtmplData: dtmplData }));
50
- }
51
- }
52
- ModalRowEdit.defaultProps = {
53
- forceRender: true,
54
- style: { maxWidth: 'calc(100vw - 60px)', maxHeight: 'calc(100vh - 50px)' },
55
- };
56
- //# sourceMappingURL=modal-row-edit.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"modal-row-edit.js","sourceRoot":"","sources":["../../../../../src/components/detail/edit/modal-row-edit.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAe,KAAK,EAAC,MAAM,MAAM,CAAA;AAExC,OAAO,cAAc,MAAM,6BAA6B,CAAC;AAczD,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,KAAK,CAAC,aAAuD;IAAvG;;QACI,YAAO,GAAG,KAAK,CAAC,SAAS,EAAgB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,gBAAgB,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EACzD,QAAQ,EAAE,IAAI,EACd,SAAS,EAAE,SAAS,GAAI,CACpC,CAAA;IACZ,CAAC;;AAlDM,yBAAY,GAAG;IAClB,WAAW,EAAE,IAAI;IACjB,KAAK,EAAE,EAAC,QAAQ,EAAE,oBAAoB,EAAE,SAAS,EAAE,oBAAoB,EAAC;CAC3E,CAAA"}
@@ -1,17 +0,0 @@
1
- import React, { ReactNode } from 'react';
2
- import { AddOrUpdate, SaveJumpType } from "../../../tmpl/interface";
3
- import { ResultStatusType } from "antd/lib/result";
4
- interface PostResultProps {
5
- title?: ReactNode;
6
- subtitle?: ReactNode;
7
- visible: boolean;
8
- jumpTypes: SaveJumpType[];
9
- addOrUpdate: AddOrUpdate;
10
- resultStatus?: ResultStatusType;
11
- goAdd: () => void;
12
- goEdit: () => void;
13
- goList: () => void;
14
- }
15
- declare const PostResult: React.FC<PostResultProps>;
16
- export default PostResult;
17
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/detail/edit/post-result/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAC,SAAS,EAAC,MAAM,OAAO,CAAA;AAEtC,OAAO,EAAC,WAAW,EAAE,YAAY,EAAC,MAAM,yBAAyB,CAAC;AAClE,OAAO,EAAC,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AAEjD,UAAU,eAAe;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,YAAY,EAAE,CAAC;IAC1B,WAAW,EAAE,WAAW,CAAC;IACzB,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAgCzC,CAAA;AAED,eAAe,UAAU,CAAC"}
@@ -1,28 +0,0 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
12
- import React from 'react';
13
- import { Button, Modal, Result } from 'antd';
14
- ;
15
- const PostResult = (_a) => {
16
- var { resultStatus = 'success' } = _a, props = __rest(_a, ["resultStatus"]);
17
- const { title, visible, subtitle, goAdd, goEdit, goList, jumpTypes, addOrUpdate } = props;
18
- return (React.createElement(Modal, { title: title ? title : "保存提示", visible: visible, closable: false, destroyOnClose: true, footer: [], bodyStyle: { height: 430, overflow: 'auto' }, width: 560, maskClosable: true },
19
- React.createElement(Result, { status: resultStatus, title: resultStatus === "success" ? "保存成功" : "保存失败", subTitle: subtitle, extra: [goAdd && jumpTypes && jumpTypes.includes('add') ?
20
- React.createElement(Button, { key: "goOnAdd", onClick: () => goAdd() }, addOrUpdate === "update" ? "转添加" : "继续添加") : undefined,
21
- goEdit && jumpTypes && jumpTypes.includes('edit') ?
22
- React.createElement(Button, { type: "primary", key: "goOnEdit", onClick: () => goEdit() }, addOrUpdate === "update" ? "继续编辑" : "编辑实体") : "",
23
- goList && jumpTypes && jumpTypes.includes('list') ?
24
- React.createElement(Button, { type: "primary", key: "onBackList", onClick: () => goList() }, "\u8FD4\u56DE\u5217\u8868") : ""
25
- ] })));
26
- };
27
- export default PostResult;
28
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version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AI,SAAS,IAAI,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;oBAC/C,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,GAAG,EAAC,UAAU,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,EAAE,IACxD,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CACtC,CAAC,CAAC,CAAC,EAAE;gBAClB,MAAM,IAAI,SAAS,IAAI,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;oBAC/C,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,GAAG,EAAC,YAAY,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,EAAE,+BAEtD,CAAC,CAAC,CAAC,EAAE;aACrB,GACC,CACN,CACX,CAAA;AACL,CAAC,CAAA;AAED,eAAe,UAAU,CAAC"}
@@ -1,42 +0,0 @@
1
- import React from 'react';
2
- import { FormInstance } from 'antd';
3
- import { DtmplData, FieldGroupConfig } from "../../tmpl/interface";
4
- import { ButtonType } from "antd/es/button";
5
- interface RowEditCardProps {
6
- height?: any;
7
- onCancel?: () => void;
8
- onOk: (value: DtmplData, hidden: boolean) => void;
9
- fieldGroupConfig: FieldGroupConfig;
10
- dtmplData?: DtmplData;
11
- okButtonType?: ButtonType;
12
- okDanger?: boolean;
13
- needConfirm?: boolean;
14
- }
15
- interface RowEditCardState {
16
- isAdded: boolean;
17
- }
18
- export default class RowEditCard extends React.PureComponent<RowEditCardProps, RowEditCardState> {
19
- formRef: React.RefObject<FormInstance<any>>;
20
- static defaultProps: {
21
- forceRender: boolean;
22
- style: {
23
- maxWidth: string;
24
- maxHeight: string;
25
- };
26
- needConfirm: boolean;
27
- okButtonType: string;
28
- okDanger: boolean;
29
- };
30
- state: {
31
- isAdded: boolean;
32
- };
33
- componentDidMount(): Promise<void>;
34
- componentDidUpdate(): Promise<void>;
35
- reset: () => void;
36
- onOk: () => void;
37
- add: () => void;
38
- getTitle: () => string;
39
- render(): JSX.Element;
40
- }
41
- export {};
42
- //# sourceMappingURL=row-edit-card.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"row-edit-card.d.ts","sourceRoot":"","sources":["../../../../../src/components/detail/edit/row-edit-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAe,YAAY,EAAsC,MAAM,MAAM,CAAA;AAEpF,OAAO,EAAC,SAAS,EAAE,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AAEjE,OAAO,EAAC,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAE1C,UAAU,gBAAgB;IACtB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,IAAI,EAAE,CAAC,KAAK,EAAE,SAAS,EAAC,MAAM,EAAC,OAAO,KAAK,IAAI,CAAC;IAChD,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,YAAY,CAAC,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,UAAU,gBAAgB;IACtB,OAAO,EAAC,OAAO,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,KAAK,CAAC,aAAa,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAC5F,OAAO,qCAAmC;IAC1C,MAAM,CAAC,YAAY;;;;;;;;;MAMlB;IACD,KAAK;;MAEJ;IAEK,iBAAiB;IAIjB,kBAAkB;IAIxB,KAAK,aAIJ;IAED,IAAI,aAIH;IACD,GAAG,aAGF;IAED,QAAQ,eAUP;IAED,MAAM;CAqDT"}
@@ -1,84 +0,0 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
- import React from 'react';
11
- import { Button, Card, Popconfirm, Space, Tooltip } from 'antd';
12
- import { CloseOutlined } from '@ant-design/icons';
13
- import FieldGroupForm from '../../form/field-group-form';
14
- export default class RowEditCard extends React.PureComponent {
15
- constructor() {
16
- super(...arguments);
17
- this.formRef = React.createRef();
18
- this.state = {
19
- isAdded: false,
20
- };
21
- this.reset = () => {
22
- // if (this.formRef.current) {
23
- // this.formRef.current.resetFields();
24
- // }
25
- };
26
- this.onOk = () => {
27
- this.setState({ isAdded: false });
28
- this.formRef.current.submit();
29
- };
30
- this.add = () => {
31
- this.setState({ isAdded: true });
32
- this.formRef.current.submit();
33
- };
34
- this.getTitle = () => {
35
- const { fieldGroupConfig, dtmplData } = this.props;
36
- let title = "";
37
- title = fieldGroupConfig.title;
38
- if (dtmplData) {
39
- title = title + "【行编辑】";
40
- }
41
- else {
42
- title = title + "【新建一行】";
43
- }
44
- return title;
45
- };
46
- }
47
- componentDidMount() {
48
- return __awaiter(this, void 0, void 0, function* () {
49
- });
50
- }
51
- componentDidUpdate() {
52
- return __awaiter(this, void 0, void 0, function* () {
53
- //this.reset();
54
- });
55
- }
56
- render() {
57
- const { height, onOk, fieldGroupConfig, dtmplData, onCancel, okButtonType, needConfirm, okDanger } = this.props;
58
- const { isAdded } = this.state;
59
- function okButton(onOk) {
60
- return needConfirm ? okDanger ?
61
- React.createElement(Popconfirm, { placement: "rightBottom", title: `确定要执行提交吗?`, onConfirm: onOk, okText: "\u786E\u5B9A", cancelText: "\u53D6\u6D88", okType: 'danger' },
62
- React.createElement(Button, { type: okButtonType, danger: true, size: "small" }, "\u786E\u5B9A")) :
63
- React.createElement(Popconfirm, { placement: "rightBottom", title: `确定要执行提交吗?`, onConfirm: onOk, okText: "\u786E\u5B9A", cancelText: "\u53D6\u6D88" },
64
- React.createElement(Button, { size: "small", type: okButtonType }, "\u786E\u5B9A")) :
65
- React.createElement(Button, { type: okButtonType, size: "small", onClick: onOk }, "\u786E\u5B9A");
66
- }
67
- return React.createElement(Card, { style: { width: 1000 }, title: this.getTitle(), bodyStyle: { overflow: 'auto' }, extra: React.createElement(React.Fragment, null,
68
- React.createElement(Space, { size: [8, 0] },
69
- okButton(this.onOk),
70
- dtmplData ? "" : React.createElement(Tooltip, { placement: "top", title: "\u53EF\u8FDE\u7EED\u6DFB\u52A0" },
71
- React.createElement(Button, { type: 'primary', size: 'small', onClick: this.add }, "\u6DFB\u52A0")),
72
- onCancel ? React.createElement(Button, { onClick: onCancel },
73
- React.createElement(CloseOutlined, null)) : "")) },
74
- React.createElement(FieldGroupForm, { fieldGroupConfig: fieldGroupConfig, formRef: this.formRef, onFinish: (value) => onOk(value, !isAdded), dtmplData: dtmplData }));
75
- }
76
- }
77
- RowEditCard.defaultProps = {
78
- forceRender: true,
79
- style: { maxWidth: 'calc(100vw - 60px)', maxHeight: 'calc(100vh - 50px)' },
80
- needConfirm: false,
81
- okButtonType: 'primary',
82
- okDanger: false,
83
- };
84
- //# sourceMappingURL=row-edit-card.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"row-edit-card.js","sourceRoot":"","sources":["../../../../../src/components/detail/edit/row-edit-card.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,MAAM,EAAE,IAAI,EAAgB,UAAU,EAAW,KAAK,EAAE,OAAO,EAAC,MAAM,MAAM,CAAA;AACpF,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAA;AAE/C,OAAO,cAAc,MAAM,6BAA6B,CAAC;AAkBzD,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E,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,CAAC,GAAG,mBAAa,CAChE;oBAGb,QAAQ,CAAC,CAAC,CAAC,oBAAC,MAAM,IAAC,OAAO,EAAE,QAAQ;wBAAE,oBAAC,aAAa,OAAE,CAAS,CAAC,CAAC,CAAC,EAAE,CACjE,CAAG;YAEX,oBAAC,cAAc,IAAC,gBAAgB,EAAE,gBAAgB,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EACzD,QAAQ,EAAE,CAAC,KAAK,EAAC,EAAE,CAAA,IAAI,CAAC,KAAK,EAAC,CAAC,OAAO,CAAC,EACvC,SAAS,EAAE,SAAS,GAAI,CACrC,CAAA;IACX,CAAC;;AAlGM,wBAAY,GAAG;IAClB,WAAW,EAAE,IAAI;IACjB,KAAK,EAAE,EAAC,QAAQ,EAAE,oBAAoB,EAAE,SAAS,EAAE,oBAAoB,EAAC;IACxE,WAAW,EAAE,KAAK;IAClB,YAAY,EAAE,SAAS;IACvB,QAAQ,EAAE,KAAK;CAClB,CAAA"}
@@ -1,31 +0,0 @@
1
- import React from 'react';
2
- import { FormInstance } from 'antd';
3
- import { DtmplData, FieldGroupConfig } from "../../tmpl/interface";
4
- import { RenderFunction } from "antd/lib/tooltip";
5
- interface RowEditorProps {
6
- buttonTitle?: string;
7
- buttonIcon: React.ReactNode;
8
- tooltipTitle?: React.ReactNode | RenderFunction;
9
- fieldGroupConfig: FieldGroupConfig;
10
- dtmplData?: DtmplData;
11
- onOk: (value: DtmplData) => void;
12
- buttonStyle?: object;
13
- }
14
- interface RowEditorState {
15
- popoverVisible: boolean;
16
- }
17
- export default class RowEditor extends React.PureComponent<RowEditorProps, RowEditorState> {
18
- formRef: React.RefObject<FormInstance<any>>;
19
- static defaultProps: {
20
- buttonIcon: any;
21
- };
22
- state: {
23
- popoverVisible: boolean;
24
- };
25
- componentDidMount(): Promise<void>;
26
- componentDidUpdate(): Promise<void>;
27
- onOk: (value: any, hidden?: boolean) => void;
28
- render(): JSX.Element;
29
- }
30
- export {};
31
- //# sourceMappingURL=row-editor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"row-editor.d.ts","sourceRoot":"","sources":["../../../../../src/components/detail/edit/row-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAS,YAAY,EAAmB,MAAM,MAAM,CAAA;AAC3D,OAAO,EAAC,SAAS,EAAE,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAEhD,UAAU,cAAc;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,cAAc,CAAC;IAChD,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,IAAI,EAAC,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IAChC,WAAW,CAAC,EAAC,MAAM,CAAC;CACvB;AAED,UAAU,cAAc;IACpB,cAAc,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,KAAK,CAAC,aAAa,CAAC,cAAc,EAAE,cAAc,CAAC;IACtF,OAAO,qCAAmC;IAC1C,MAAM,CAAC,YAAY;;MAElB;IACD,KAAK;;MAEJ;IAEK,iBAAiB;IAIjB,kBAAkB;IASxB,IAAI,wBAAiB,OAAO,UAM3B;IAGD,MAAM;CAoBT"}
@@ -1,55 +0,0 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
- import React from 'react';
11
- import { Button, Popover, Tooltip } from 'antd';
12
- import RowEditCard from './row-edit-card';
13
- export default class RowEditor extends React.PureComponent {
14
- constructor() {
15
- super(...arguments);
16
- this.formRef = React.createRef();
17
- this.state = {
18
- popoverVisible: false,
19
- };
20
- // reset = () => {
21
- // if (this.formRef.current) {
22
- // this.formRef.current.resetFields();
23
- // }
24
- // }
25
- this.onOk = (value, hidden = true) => {
26
- if (hidden) {
27
- this.setState({ popoverVisible: false });
28
- }
29
- this.props.onOk(value);
30
- };
31
- }
32
- componentDidMount() {
33
- return __awaiter(this, void 0, void 0, function* () {
34
- });
35
- }
36
- componentDidUpdate() {
37
- return __awaiter(this, void 0, void 0, function* () {
38
- });
39
- }
40
- render() {
41
- const { popoverVisible } = this.state;
42
- const { buttonIcon, buttonTitle, tooltipTitle, fieldGroupConfig, dtmplData, buttonStyle } = this.props;
43
- return React.createElement(Popover, { destroyTooltipOnHide: true, placement: "leftBottom", visible: popoverVisible, content: React.createElement(RowEditCard, { fieldGroupConfig: fieldGroupConfig, dtmplData: dtmplData, onCancel: () => {
44
- this.setState({ popoverVisible: false });
45
- }, onOk: this.onOk }), trigger: "click" },
46
- React.createElement(Tooltip, { placement: "left", title: tooltipTitle },
47
- React.createElement(Button, { style: buttonStyle, type: 'primary', icon: buttonIcon, size: "small", onClick: () => {
48
- this.setState({ popoverVisible: !popoverVisible });
49
- } }, buttonTitle ? buttonTitle : "")));
50
- }
51
- }
52
- RowEditor.defaultProps = {
53
- buttonIcon: undefined
54
- };
55
- //# sourceMappingURL=row-editor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"row-editor.js","sourceRoot":"","sources":["../../../../../src/components/detail/edit/row-editor.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,KAAK,MAAM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AAgB,EAAE,OAAO,EAAC,OAAO;YACtF,oBAAC,OAAO,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,YAAY;gBACzC,oBAAC,MAAM,IACH,KAAK,EAAE,WAAW,EAClB,IAAI,EAAC,SAAS,EACd,IAAI,EAAE,UAAU,EAChB,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,GAAG,EAAE;wBACV,IAAI,CAAC,QAAQ,CAAC,EAAC,cAAc,EAAC,CAAC,cAAc,EAAC,CAAC,CAAC;oBACpD,CAAC,IACH,WAAW,CAAA,CAAC,CAAA,WAAW,CAAA,CAAC,CAAA,EAAE,CAAU,CAAU,CAAU,CAAA;IACtE,CAAC;;AA/CM,sBAAY,GAAG;IAClB,UAAU,EAAC,SAAS;CACvB,CAAA"}
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- import './index.css';
3
- import { DtmplConfig, TmplBase } from "../../tmpl/interface";
4
- interface RightBarProps {
5
- parentId: string;
6
- dtmplConfig: DtmplConfig;
7
- positionRight?: number;
8
- }
9
- interface RightBarState {
10
- }
11
- export default class RightBar extends React.PureComponent<RightBarProps, RightBarState> {
12
- static defaultProps: {
13
- positionRight: number;
14
- };
15
- scrollToAnchor: (anchor: TmplBase) => void;
16
- scroll: (e: any) => void;
17
- render(): "" | JSX.Element;
18
- }
19
- export {};
20
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/detail/rightbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,aAAa,CAAA;AACpB,OAAO,EAAC,WAAW,EAAE,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAG3D,UAAU,aAAa;IACnB,QAAQ,EAAC,MAAM,CAAC;IAChB,WAAW,EAAE,WAAW,CAAC;IACzB,aAAa,CAAC,EAAC,MAAM,CAAA;CACxB;AAGD,UAAU,aAAa;CAEtB;AAED,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,KAAK,CAAC,aAAa,CAAC,aAAa,EAAE,aAAa,CAAC;IAEnF,MAAM,CAAC,YAAY;;MAElB;IACD,cAAc,WAAY,QAAQ,UAOjC;IACD,MAAM,mBAQL;IAED,MAAM;CAoCT"}