aldehyde 0.0.4 → 0.0.5

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,61 +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 { Dropdown, Menu, Modal } from 'antd';
12
- import { UserOutlined, LogoutOutlined, ClearOutlined } from '@ant-design/icons';
13
- import 'antd/dist/antd.css';
14
- import HcserviceV3 from '../../tmpl/hcservice-v3';
15
- import HCDataSource from "../../tmpl/hc-data-source";
16
- import UserInfoBar from "./userinfo-bar";
17
- import ResetPassword from "./reset-password";
18
- const confirm = Modal.confirm;
19
- class UserBar extends React.PureComponent {
20
- constructor() {
21
- super(...arguments);
22
- this.state = {
23
- id: undefined,
24
- name: undefined,
25
- roles: [],
26
- };
27
- this.cleanCache = () => {
28
- let { roles } = this.state;
29
- HCDataSource.clear(roles);
30
- };
31
- }
32
- componentDidMount() {
33
- return __awaiter(this, void 0, void 0, function* () {
34
- let userInfo = yield HcserviceV3.getUser();
35
- this.setState(Object.assign({}, userInfo));
36
- });
37
- }
38
- render() {
39
- const { name } = this.state;
40
- const menu = (React.createElement(Menu, null,
41
- React.createElement(Menu.Item, null,
42
- React.createElement(UserInfoBar, null)),
43
- React.createElement(Menu.Item, null,
44
- React.createElement(ResetPassword, null)),
45
- React.createElement(Menu.Item, null,
46
- React.createElement("span", { onClick: this.cleanCache },
47
- React.createElement(ClearOutlined, null),
48
- "\u6E05\u7A7A\u7F13\u5B58"),
49
- React.createElement(Menu.Item, null,
50
- React.createElement("span", { onClick: HcserviceV3.logout },
51
- React.createElement(LogoutOutlined, null),
52
- "\u9000\u51FA\u767B\u5F55")))));
53
- return (React.createElement(React.Fragment, null,
54
- React.createElement(Dropdown, { overlay: menu, placement: "bottomCenter", trigger: ['click'] },
55
- React.createElement("div", { className: "userLogin" },
56
- React.createElement(UserOutlined, null),
57
- React.createElement("span", null, name)))));
58
- }
59
- }
60
- export default UserBar;
61
- //# sourceMappingURL=user-bar.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user-bar.js","sourceRoot":"","sources":["../../../../../src/components/layout/menu/user-bar.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAC,QAAQ,EAAE,IAAI,EAAE,KAAK,EAA6C,MAAM,MAAM,CAAC;AACvF,OAAO,EAAC,YAAY,EAAC,cAAc,EAAC,aAAa,EAA8B,MAAM,mBAAmB,CAAC;AACzG,OAAO,oBAAoB,CAAC;AAE5B,OAAO,WAAW,MAAM,yBAAyB,CAAC;AAClD,OAAO,YAAY,MAAM,2BAA2B,CAAC;AACrD,OAAO,WAAW,MAAM,gBAAgB,CAAA;AACxC,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC;AAY9B,MAAM,OAAQ,SAAQ,KAAK,CAAC,aAAyC;IAArE;;QACI,UAAK,GAAC;YACH,EAAE,EAAC,SAAS;YACZ,IAAI,EAAC,SAAS;YACb,KAAK,EAAC,EAAE;SACX,CAAA;QASD,eAAU,GAAC,GAAE,EAAE;YACX,IAAI,EAAC,KAAK,EAAC,GAAC,IAAI,CAAC,KAAK,CAAC;YACvB,YAAY,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QAC9B,CAAC,CAAA;IAwDL,CAAC;IAlES,iBAAiB;;YACnB,IAAI,QAAQ,GAAG,MAAM,WAAW,CAAC,OAAO,EAAE,CAAC;YAC3C,IAAI,CAAC,QAAQ,mBACN,QAAQ,EACb,CAAC;QACP,CAAC;KAAA;IAQD,MAAM;QACF,MAAM,EAAC,IAAI,EAAC,GAAG,IAAI,CAAC,KAAK,CAAC;QAE1B,MAAM,IAAI,GAAG,CACT,oBAAC,IAAI;YAQD,oBAAC,IAAI,CAAC,IAAI;gBACF,oBAAC,WAAW,OAAG,CACX;YACZ,oBAAC,IAAI,CAAC,IAAI;gBACN,oBAAC,aAAa,OAAiB,CACvB;YACZ,oBAAC,IAAI,CAAC,IAAI;gBAaN,8BAAM,OAAO,EAAE,IAAI,CAAC,UAAU;oBAAE,oBAAC,aAAa,OAAG;+CAAW;gBAC5D,oBAAC,IAAI,CAAC,IAAI;oBACN,8BAAM,OAAO,EAAE,WAAW,CAAC,MAAM;wBAAE,oBAAC,cAAc,OAAE;mDAAW,CACvD,CACJ,CACT,CACV,CAAC;QACF,OAAO,CACH;YACI,oBAAC,QAAQ,IAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAC,cAAc,EAAC,OAAO,EAAE,CAAC,OAAO,CAAC;gBAChE,6BAAK,SAAS,EAAC,WAAW;oBAKtB,oBAAC,YAAY,OAAE;oBACf,kCAAO,IAAI,CAAQ,CACjB,CACC,CACZ,CACN,CAAC;IACN,CAAC;CACJ;AAED,eAAe,OAAO,CAAC"}
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import 'antd/dist/antd.css';
3
- interface UserInfoBarProps {
4
- }
5
- interface UserInfoBarState {
6
- showDraw: boolean;
7
- }
8
- declare class UserInfoBar extends React.PureComponent<UserInfoBarProps, UserInfoBarState> {
9
- state: {
10
- showDraw: boolean;
11
- };
12
- componentDidMount(): Promise<void>;
13
- showDraw: () => void;
14
- closeDrawer: () => void;
15
- render(): JSX.Element;
16
- }
17
- export default UserInfoBar;
18
- //# sourceMappingURL=userinfo-bar.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"userinfo-bar.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/menu/userinfo-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,oBAAoB,CAAC;AAQ5B,UAAU,gBAAgB;CAEzB;AAED,UAAU,gBAAgB;IACtB,QAAQ,EAAC,OAAO,CAAC;CACpB;AAGD,cAAM,WAAY,SAAQ,KAAK,CAAC,aAAa,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAC7E,KAAK;;MAEJ;IAEK,iBAAiB;IAGvB,QAAQ,aAIP;IAED,WAAW,aAIV;IAED,MAAM;CA2BT;AAED,eAAe,WAAW,CAAC"}
@@ -1,50 +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 { Drawer, Space, Button } from 'antd';
12
- import 'antd/dist/antd.css';
13
- import { SolutionOutlined } from '@ant-design/icons';
14
- import DtmplPage from "./../../module/dtmpl-page";
15
- class UserInfoBar extends React.PureComponent {
16
- constructor() {
17
- super(...arguments);
18
- this.state = {
19
- showDraw: false,
20
- };
21
- this.showDraw = () => {
22
- this.setState({
23
- showDraw: true
24
- });
25
- };
26
- this.closeDrawer = () => {
27
- this.setState({
28
- showDraw: false
29
- });
30
- };
31
- }
32
- componentDidMount() {
33
- return __awaiter(this, void 0, void 0, function* () {
34
- });
35
- }
36
- render() {
37
- const { showDraw } = this.state;
38
- return (React.createElement(React.Fragment, null,
39
- React.createElement("span", { onClick: this.showDraw },
40
- React.createElement(SolutionOutlined, null),
41
- "\u4E2A\u4EBA\u4FE1\u606F"),
42
- React.createElement(Drawer, { placement: 'left', title: "\u4E2A\u4EBA\u4FE1\u606F", closable: true, mask: false, onClose: this.closeDrawer, visible: showDraw, width: 'calc(100% - 280px)', style: {
43
- maxWidth: 1960,
44
- }, extra: React.createElement(Space, null,
45
- React.createElement(Button, { onClick: this.closeDrawer }, "\u5173\u95ED")) },
46
- React.createElement(DtmplPage, { sourceId: '0', code: "userCode" }))));
47
- }
48
- }
49
- export default UserInfoBar;
50
- //# sourceMappingURL=userinfo-bar.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"userinfo-bar.js","sourceRoot":"","sources":["../../../../../src/components/layout/menu/userinfo-bar.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAA0C,MAAM,EAAE,KAAK,EAAC,MAAM,EAAC,MAAM,MAAM,CAAA;AAElF,OAAO,oBAAoB,CAAC;AAI5B,OAAO,EAAuD,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AACzG,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAYlD,MAAM,WAAY,SAAQ,KAAK,CAAC,aAAiD;IAAjF;;QACI,UAAK,GAAC;YACF,QAAQ,EAAC,KAAK;SACjB,CAAA;QAKD,aAAQ,GAAC,GAAE,EAAE;YACT,IAAI,CAAC,QAAQ,CAAC;gBACV,QAAQ,EAAC,IAAI;aAChB,CAAC,CAAA;QACN,CAAC,CAAA;QAED,gBAAW,GAAC,GAAE,EAAE;YACZ,IAAI,CAAC,QAAQ,CAAC;gBACV,QAAQ,EAAC,KAAK;aACjB,CAAC,CAAA;QACN,CAAC,CAAA;IA6BL,CAAC;IA1CS,iBAAiB;;QAEvB,CAAC;KAAA;IAaD,MAAM;QACF,MAAM,EAAC,QAAQ,EAAC,GAAG,IAAI,CAAC,KAAK,CAAC;QAC9B,OAAO,CACH;YACI,8BAAM,OAAO,EAAE,IAAI,CAAC,QAAQ;gBAAE,oBAAC,gBAAgB,OAAG;2CAAW;YAC7D,oBAAC,MAAM,IACH,SAAS,EAAE,MAAM,EACjB,KAAK,EAAC,0BAAM,EACZ,QAAQ,EAAE,IAAI,EACd,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,IAAI,CAAC,WAAW,EACzB,OAAO,EAAE,QAAQ,EACjB,KAAK,EAAE,oBAAoB,EAC3B,KAAK,EAAE;oBACH,QAAQ,EAAE,IAAI;iBACjB,EACD,KAAK,EACD,oBAAC,KAAK;oBACF,oBAAC,MAAM,IAAC,OAAO,EAAE,IAAI,CAAC,WAAW,mBAAa,CAC1C;gBAGb,oBAAC,SAAS,IAAC,QAAQ,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,GAAc,CAClD,CACV,CACN,CAAC;IACN,CAAC;CACJ;AAED,eAAe,WAAW,CAAC"}
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import './index.css';
3
- import { Menu2layersProps } from "../menu/menu-2layers";
4
- interface NavLeftProps extends Menu2layersProps {
5
- }
6
- interface NavLeftState {
7
- }
8
- declare class NavLeft extends React.PureComponent<NavLeftProps, NavLeftState> {
9
- render(): JSX.Element;
10
- }
11
- export default NavLeft;
12
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/sidebar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,aAAa,CAAA;AAEpB,OAAoB,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AAInE,UAAU,YAAa,SAAQ,gBAAgB;CAE9C;AAED,UAAU,YAAY;CAErB;AAED,cAAM,OAAQ,SAAQ,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,YAAY,CAAC;IAEjE,MAAM;CAkBT;AAED,eAAe,OAAO,CAAA"}
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- import './index.css';
3
- import Units from '../../units';
4
- import Menu2layers from "../menu/menu-2layers";
5
- import Scrollbars from 'react-custom-scrollbars';
6
- import { Image } from 'antd';
7
- import logo from '../../../../public/logo.png';
8
- class NavLeft extends React.PureComponent {
9
- render() {
10
- let { collapsed } = this.props;
11
- return (React.createElement("div", null,
12
- React.createElement(Scrollbars, { style: { height: 'calc(100vh)' }, autoHide: true, autoHideTimeout: 1000 },
13
- React.createElement("div", { className: collapsed ? "logonly" : "logo" },
14
- React.createElement("a", { href: "#/home" }, collapsed ? React.createElement(Image, { src: logo }) : React.createElement("h1", null, Units.programName_NavLeft()))),
15
- React.createElement(Menu2layers, Object.assign({}, this.props)))));
16
- }
17
- }
18
- export default NavLeft;
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/layout/sidebar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,aAAa,CAAA;AACpB,OAAO,KAAK,MAAM,aAAa,CAAC;AAChC,OAAO,WAA+B,MAAM,sBAAsB,CAAC;AACnE,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAC,KAAK,EAAS,MAAM,MAAM,CAAC;AACnC,OAAO,IAAI,MAAM,6BAA6B,CAAC;AAS/C,MAAM,OAAQ,SAAQ,KAAK,CAAC,aAAyC;IAEjE,MAAM;QACF,IAAI,EAAC,SAAS,EAAC,GAAC,IAAI,CAAC,KAAK,CAAA;QAC1B,OAAO,CACH;YACI,oBAAC,UAAU,IAAC,KAAK,EAAE,EAAC,MAAM,EAAE,aAAa,EAAC,EAAE,QAAQ,QAAC,eAAe,EAAE,IAAI;gBACtE,6BAAK,SAAS,EAAE,SAAS,CAAA,CAAC,CAAA,SAAS,CAAC,CAAC,CAAA,MAAM;oBACvC,2BAAG,IAAI,EAAC,QAAQ,IACX,SAAS,CAAA,CAAC,CAAA,oBAAC,KAAK,IACb,GAAG,EAAE,IAAI,GACX,CAAC,CAAC,CAAA,gCAAK,KAAK,CAAC,mBAAmB,EAAE,CAAM,CAC1C,CACF;gBACN,oBAAC,WAAW,oBAAK,IAAI,CAAC,KAAK,EAAgB,CAClC,CACX,CAET,CAAA;IACL,CAAC;CACJ;AAED,eAAe,OAAO,CAAA"}
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- export interface DtmplPageProps {
3
- sourceId?: string;
4
- code?: string;
5
- mainCode?: string;
6
- }
7
- export interface DtmplPageState {
8
- showDtmplEdit: boolean;
9
- }
10
- declare class DtmplPage extends React.PureComponent<DtmplPageProps, DtmplPageState> {
11
- state: {
12
- showDtmplEdit: boolean;
13
- };
14
- goDtmpl: () => void;
15
- handleDtmplEdit: (code: string) => void;
16
- render(): JSX.Element;
17
- }
18
- export default DtmplPage;
19
- //# sourceMappingURL=dtmpl-page.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dtmpl-page.d.ts","sourceRoot":"","sources":["../../../../src/components/module/dtmpl-page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAazB,MAAM,WAAW,cAAc;IAC3B,QAAQ,CAAC,EAAC,MAAM,CAAC;IACjB,IAAI,CAAC,EAAC,MAAM,CAAC;IACb,QAAQ,CAAC,EAAC,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,cAAc;IAC3B,aAAa,EAAC,OAAO,CAAC;CACzB;AAED,cAAM,SAAU,SAAQ,KAAK,CAAC,aAAa,CAAC,cAAc,EAAE,cAAc,CAAC;IAEvE,KAAK;;MAEJ;IAaD,OAAO,aAIN;IAED,eAAe,SAAW,MAAM,UAI/B;IAED,MAAM;CAcT;AAED,eAAe,SAAS,CAAC"}
@@ -1,46 +0,0 @@
1
- import React from 'react';
2
- import ModalDtmplEdit from "../detail/edit/modal-dtmpl-edit";
3
- import ActDtmplView from "../detail/view/act-dtmpl-view";
4
- ;
5
- ;
6
- class DtmplPage extends React.PureComponent {
7
- constructor() {
8
- super(...arguments);
9
- this.state = {
10
- showDtmplEdit: false,
11
- };
12
- // async componentDidMount() {
13
- // this.loadDtmplConfig();
14
- // }
15
- //
16
- // async componentDidUpdate(prevProps) {
17
- // const { sourceId} = this.props;
18
- // if(!prevProps || prevProps.sourceId!=sourceId){
19
- // this.loadDtmplConfig();
20
- // }
21
- // }
22
- this.goDtmpl = () => {
23
- this.setState({
24
- showDtmplEdit: true,
25
- });
26
- };
27
- this.handleDtmplEdit = (code) => {
28
- this.setState({
29
- showDtmplEdit: false,
30
- });
31
- };
32
- }
33
- render() {
34
- const { showDtmplEdit } = this.state;
35
- const { sourceId, code, mainCode } = this.props;
36
- return React.createElement(React.Fragment, null,
37
- React.createElement(ActDtmplView, { goDtmpl: this.goDtmpl, sourceId: sourceId, code: code, mainCode: mainCode }),
38
- React.createElement(ModalDtmplEdit, { visible: showDtmplEdit, onCancel: () => {
39
- this.setState({
40
- showDtmplEdit: false,
41
- });
42
- }, sourceId: sourceId, code: code, onOk: this.handleDtmplEdit }));
43
- }
44
- }
45
- export default DtmplPage;
46
- //# sourceMappingURL=dtmpl-page.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dtmpl-page.js","sourceRoot":"","sources":["../../../../src/components/module/dtmpl-page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,OAAO,cAAc,MAAM,iCAAiC,CAAC;AAE7D,OAAO,YAAY,MAAM,+BAA+B,CAAC;AAQxD,CAAC;AAID,CAAC;AAEF,MAAM,SAAU,SAAQ,KAAK,CAAC,aAA6C;IAA3E;;QAEI,UAAK,GAAG;YACJ,aAAa,EAAC,KAAK;SACtB,CAAA;QAED,8BAA8B;QAC9B,8BAA8B;QAC9B,IAAI;QACJ,EAAE;QACF,wCAAwC;QACxC,sCAAsC;QACtC,sDAAsD;QACtD,kCAAkC;QAClC,QAAQ;QACR,IAAI;QAEJ,YAAO,GAAC,GAAE,EAAE;YACR,IAAI,CAAC,QAAQ,CAAC;gBACV,aAAa,EAAC,IAAI;aACrB,CAAC,CAAA;QACN,CAAC,CAAA;QAED,oBAAe,GAAI,CAAC,IAAY,EAAE,EAAE;YAChC,IAAI,CAAC,QAAQ,CAAC;gBACV,aAAa,EAAC,KAAK;aACtB,CAAC,CAAA;QACN,CAAC,CAAA;IAgBL,CAAC;IAdG,MAAM;QACF,MAAM,EAAC,aAAa,EAAC,GAAG,IAAI,CAAC,KAAK,CAAC;QACnC,MAAM,EAAE,QAAQ,EAAC,IAAI,EAAC,QAAQ,EAAC,GAAG,IAAI,CAAC,KAAK,CAAC;QACzC,OAAO;YACH,oBAAC,YAAY,IAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,GAAiB;YACpG,oBAAC,cAAc,IAAC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,GAAE,EAAE;oBAClD,IAAI,CAAC,QAAQ,CAAC;wBACV,aAAa,EAAC,KAAK;qBACtB,CAAC,CAAA;gBAAA,CAAC,EACS,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,IAAI,CAAC,eAAe,GAAI,CACjD,CAAA;IACb,CAAC;CACJ;AAED,eAAe,SAAS,CAAC"}
@@ -1,34 +0,0 @@
1
- import React from 'react';
2
- import { LtmplConfigRes } from '../tmpl/interface';
3
- export interface LtmplPageProps {
4
- sourceId: string;
5
- mainCode?: string;
6
- }
7
- export interface LtmplPageState {
8
- ltmplConfigRes: LtmplConfigRes;
9
- criteriaData: object;
10
- showDtmplView: boolean;
11
- selectedCode: string;
12
- showDtmplEdit: boolean;
13
- }
14
- declare class LtmplPage extends React.PureComponent<LtmplPageProps, LtmplPageState> {
15
- state: {
16
- ltmplConfigRes: any;
17
- criteriaData: any;
18
- showDtmplView: boolean;
19
- showDtmplEdit: boolean;
20
- selectedCode: any;
21
- };
22
- componentDidMount(): Promise<void>;
23
- componentDidUpdate(prevProps: any): Promise<void>;
24
- loadLtmplConfig: () => Promise<void>;
25
- toCriteriaData: (values: object) => {};
26
- showView: (code: string) => void;
27
- doEdit: (code: string, mode: string) => void;
28
- doCreate: () => void;
29
- doSearch: (params_: any) => void;
30
- handleDtmplEdit: (code: string) => void;
31
- render(): JSX.Element;
32
- }
33
- export default LtmplPage;
34
- //# sourceMappingURL=ltmpl-page.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ltmpl-page.d.ts","sourceRoot":"","sources":["../../../../src/components/module/ltmpl-page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAY,cAAc,EAAC,MAAM,mBAAmB,CAAC;AAW5D,MAAM,WAAW,cAAc;IAC3B,QAAQ,EAAC,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAC,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,cAAc;IAC3B,cAAc,EAAC,cAAc,CAAC;IAC9B,YAAY,EAAC,MAAM,CAAC;IACpB,aAAa,EAAC,OAAO,CAAC;IACtB,YAAY,EAAC,MAAM,CAAC;IACpB,aAAa,EAAC,OAAO,CAAC;CACzB;AAED,cAAM,SAAU,SAAQ,KAAK,CAAC,aAAa,CAAC,cAAc,EAAE,cAAc,CAAC;IAEvE,KAAK;;;;;;MAMJ;IAEK,iBAAiB;IAIjB,kBAAkB,CAAC,SAAS,KAAA;IASlC,eAAe,sBAed;IACD,cAAc,WAAY,MAAM,QAS/B;IAkBD,QAAQ,SAAU,MAAM,UAOvB;IAED,MAAM,SAAU,MAAM,QAAM,MAAM,UAKjC;IAID,QAAQ,aAKP;IAED,QAAQ,yBAiBP;IAED,eAAe,SAAW,MAAM,UAK/B;IAGD,MAAM;CAkCT;AAED,eAAe,SAAS,CAAC"}
@@ -1,154 +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 Units from "../units";
12
- import ActTable from '../table/act-table';
13
- // import StatActTable from '../table/stat-act-table'
14
- import HCDataSource from "../tmpl/hc-data-source";
15
- import ModalDtmplView from "../detail/view/modal-dtmpl-view";
16
- import ModalDtmplEdit from "../detail/edit/modal-dtmpl-edit";
17
- ;
18
- ;
19
- class LtmplPage extends React.PureComponent {
20
- constructor() {
21
- super(...arguments);
22
- this.state = {
23
- ltmplConfigRes: undefined,
24
- criteriaData: undefined,
25
- showDtmplView: false,
26
- showDtmplEdit: false,
27
- selectedCode: undefined,
28
- };
29
- this.loadLtmplConfig = () => __awaiter(this, void 0, void 0, function* () {
30
- const { sourceId } = this.props;
31
- let ltmplConfigRes = yield HCDataSource.requestLtmplConfig(sourceId);
32
- let criteriaData;
33
- //提取 过滤条件的默认值
34
- if (ltmplConfigRes) {
35
- let defaultCriteriaValue = ltmplConfigRes.ltmplConfig.defaultCriteriaValue;
36
- if (defaultCriteriaValue) {
37
- criteriaData = this.toCriteriaData(defaultCriteriaValue);
38
- }
39
- }
40
- this.setState({
41
- ltmplConfigRes, criteriaData
42
- });
43
- });
44
- this.toCriteriaData = (values) => {
45
- let criteriaData = {};
46
- if (values) {
47
- for (let key in values) {
48
- criteriaData[key] = Units.configParamTrans(values[key]);
49
- }
50
- }
51
- criteriaData['sequence'] = Units.getRandomNum(6);
52
- return criteriaData;
53
- };
54
- // async componentDidUpdate(prevProps) {
55
- // const {location} = this.props;
56
- // const { sourceId} = this.props.match.params;
57
- // let { sourceId: preSourceId} = prevProps.match.params;
58
- // let {location: preLocation} = prevProps;
59
- //
60
- // if ( !sourceId ||
61
- // ( !preSourceId && this.state.ltmplConfigRes)
62
- // || (location.pathname == preLocation.pathname && location.search == preLocation.search)
63
- // ) {
64
- // return;
65
- // }
66
- // this.loadData();
67
- // }
68
- this.showView = (code) => {
69
- // const { sourceId} = this.props.match.params;
70
- // this.onRoute(`/${sourceId}/detail-view?code=${code}&menuId=${this.getMenuId()}`);
71
- this.setState({
72
- selectedCode: code,
73
- showDtmplView: true,
74
- });
75
- };
76
- this.doEdit = (code, mode) => {
77
- this.setState({
78
- selectedCode: code,
79
- showDtmplEdit: true,
80
- });
81
- };
82
- this.doCreate = () => {
83
- this.setState({
84
- selectedCode: null,
85
- showDtmplEdit: true,
86
- });
87
- };
88
- this.doSearch = (params_) => {
89
- const { sourceId, mainCode } = this.props;
90
- //const oldfliter = history.location.search.slice(1);
91
- let params = Object.assign({}, params_);
92
- //追加过滤条件,hiddenColIds,innerQueryKey
93
- if (mainCode) {
94
- params['mainCode'] = mainCode;
95
- }
96
- params['sourceId'] = sourceId;
97
- // const criteriaData = Units.transQueryParamsToStr(params);
98
- // let flag = true;
99
- //if (newfliter && oldfliter != newfliter) { //查询条件更新时
100
- this.setState({
101
- criteriaData: this.toCriteriaData(params)
102
- });
103
- };
104
- this.handleDtmplEdit = (code) => {
105
- this.doSearch(this.state.criteriaData);
106
- this.setState({
107
- showDtmplEdit: false,
108
- });
109
- };
110
- }
111
- componentDidMount() {
112
- return __awaiter(this, void 0, void 0, function* () {
113
- this.loadLtmplConfig();
114
- });
115
- }
116
- componentDidUpdate(prevProps) {
117
- return __awaiter(this, void 0, void 0, function* () {
118
- const { sourceId, mainCode } = this.props;
119
- if (!prevProps || prevProps.sourceId != sourceId) {
120
- this.loadLtmplConfig();
121
- }
122
- else if (mainCode && prevProps.mainCode != mainCode) { //此处处理有效,但不高效
123
- this.loadLtmplConfig();
124
- }
125
- });
126
- }
127
- render() {
128
- const { ltmplConfigRes, criteriaData, showDtmplView, selectedCode, showDtmplEdit } = this.state;
129
- const { sourceId, mainCode } = this.props;
130
- if (!ltmplConfigRes) {
131
- return React.createElement(React.Fragment, null);
132
- }
133
- else {
134
- const { buttons } = ltmplConfigRes.ltmplConfig;
135
- return React.createElement(React.Fragment, null,
136
- React.createElement(ActTable, { mainCode: mainCode, showView: this.showView, doSearch: this.doSearch, doEdit: this.doEdit, doCreate: this.doCreate, sourceId: sourceId, criteriaData: criteriaData, ltmplConfig: ltmplConfigRes.ltmplConfig }),
137
- buttons.includes('detail') ?
138
- React.createElement(ModalDtmplView, { visible: showDtmplView, onCancel: () => {
139
- this.setState({
140
- showDtmplView: false,
141
- });
142
- }, sourceId: sourceId, code: selectedCode }, " ") : "",
143
- buttons.includes('dtmplEdit') || buttons.includes('dtmplAdd') ?
144
- React.createElement(ModalDtmplEdit, { visible: showDtmplEdit, onCancel: () => {
145
- this.setState({
146
- showDtmplEdit: false,
147
- });
148
- }, sourceId: sourceId, code: selectedCode, onOk: this.handleDtmplEdit })
149
- : "");
150
- }
151
- }
152
- }
153
- export default LtmplPage;
154
- //# sourceMappingURL=ltmpl-page.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ltmpl-page.js","sourceRoot":"","sources":["../../../../src/components/module/ltmpl-page.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,MAAM,UAAU,CAAC;AAC7B,OAAO,QAAQ,MAAM,oBAAoB,CAAA;AACzC,qDAAqD;AACrD,OAAO,YAAY,MAAM,wBAAwB,CAAC;AAClD,OAAO,cAAc,MAAM,iCAAiC,CAAC;AAC7D,OAAO,cAAc,MAAM,iCAAiC,CAAC;AAQ5D,CAAC;AAQD,CAAC;AAEF,MAAM,SAAU,SAAQ,KAAK,CAAC,aAA6C;IAA3E;;QAEI,UAAK,GAAG;YACJ,cAAc,EAA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,EAClB,IAAI,EAAE,YAAY,QAAoB,CAAC,CAAC,CAAC,EAAE;gBAC9D,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAC;oBAC5D,oBAAC,cAAc,IAAC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,GAAE,EAAE;4BAClD,IAAI,CAAC,QAAQ,CAAC;gCACV,aAAa,EAAC,KAAK;6BACtB,CAAC,CAAA;wBAAA,CAAC,EACH,QAAQ,EAAE,QAAQ,EACN,IAAI,EAAE,YAAY,EAClB,IAAI,EAAE,IAAI,CAAC,eAAe,GAAI;oBAC9C,CAAC,CAAC,EAAE,CACP,CAAA;SACR;IAEL,CAAC;CACJ;AAED,eAAe,SAAS,CAAC"}
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import { RouterCompProps } from '../tmpl/interface';
3
- export interface DtmplRouteProps extends RouterCompProps {
4
- }
5
- export interface DtmplRoutePropsStat {
6
- }
7
- declare class DtmplRoute extends React.PureComponent<DtmplRouteProps, DtmplRoutePropsStat> {
8
- getMenuId: () => string;
9
- goBackToLtmpl: () => void;
10
- goDtmpl: (code: string) => void;
11
- getMainCode: () => any;
12
- getCode: () => any;
13
- getMode: () => any;
14
- render(): JSX.Element;
15
- }
16
- export default DtmplRoute;
17
- //# sourceMappingURL=dtmpl-route.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dtmpl-route.d.ts","sourceRoot":"","sources":["../../../../src/components/routable/dtmpl-route.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAQ,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAMnD,MAAM,WAAW,eAAgB,SAAQ,eAAe;CAEvD;AAED,MAAM,WAAW,mBAAmB;CAEnC;AAED,cAAM,UAAW,SAAQ,KAAK,CAAC,aAAa,CAAC,eAAe,EAAE,mBAAmB,CAAC;IAE9E,SAAS,eAMR;IAED,aAAa,aASZ;IAED,OAAO,SAAO,MAAM,UAWnB;IAED,WAAW,YAQV;IAED,OAAO,YAIN;IAED,OAAO,YAIN;IAED,MAAM;CAoBT;AAED,eAAe,UAAU,CAAC"}
@@ -1,77 +0,0 @@
1
- import React from 'react';
2
- import Units from "../units";
3
- import DtmplEdit from "../detail/edit/dtmpl-edit";
4
- import ActDtmplView from '../detail/view/act-dtmpl-view';
5
- ;
6
- ;
7
- class DtmplRoute extends React.PureComponent {
8
- constructor() {
9
- super(...arguments);
10
- this.getMenuId = () => {
11
- const { location } = this.props;
12
- console.log("this.props.match.params", this.props);
13
- var searchParams = new URLSearchParams(location.search);
14
- let menuId = searchParams.get('menuId');
15
- return menuId;
16
- };
17
- this.goBackToLtmpl = () => {
18
- const { sourceId, } = this.props.match.params;
19
- let url = `/${sourceId}/act-table?menuId=${this.getMenuId()}`;
20
- let mainCode = this.getMainCode();
21
- if (mainCode) {
22
- url = url + `&mainCode=${mainCode}`;
23
- }
24
- this.props.history.push(url);
25
- };
26
- this.goDtmpl = (code) => {
27
- const { sourceId, } = this.props.match.params;
28
- let url = `/${sourceId}/detail-edit?menuId=${this.getMenuId()}`;
29
- if (code) {
30
- url = url + `&code=${code}`;
31
- }
32
- let mainCode = this.getMainCode();
33
- if (mainCode) {
34
- url = url + `&mainCode=${mainCode}`;
35
- }
36
- this.props.history.push(url);
37
- };
38
- this.getMainCode = () => {
39
- const { location } = this.props;
40
- let params = Units.transQueryStrToParams(location.search);
41
- if ('mainCode' in params) {
42
- return params['mainCode'];
43
- }
44
- else {
45
- return undefined;
46
- }
47
- };
48
- this.getCode = () => {
49
- const { location } = this.props;
50
- let params = Units.transQueryStrToParams(location.search);
51
- return params['code'];
52
- };
53
- this.getMode = () => {
54
- const { location } = this.props;
55
- let params = Units.transQueryStrToParams(location.search);
56
- return this.getCode() ? params['mode'] : "add";
57
- };
58
- }
59
- render() {
60
- const { location, match } = this.props;
61
- const { sourceId, } = match.params;
62
- // console.log("this.props.match.params",match);
63
- if (!location) {
64
- return React.createElement(React.Fragment, null);
65
- }
66
- let params = Units.transQueryStrToParams(location.search);
67
- let versionId = params['versionId'];
68
- if (location.pathname.endsWith("detail-view")) {
69
- return (React.createElement(ActDtmplView, { goDtmpl: this.goDtmpl, sourceId: sourceId, versionId: versionId, code: this.getCode(), mainCode: this.getMainCode() }));
70
- }
71
- else {
72
- return (React.createElement(DtmplEdit, { addOrUpdate: this.getMode(), sourceId: sourceId, code: this.getCode(), mainCode: this.getMainCode(), goBackToLtmpl: this.goBackToLtmpl, goDtmpl: this.goDtmpl }));
73
- }
74
- }
75
- }
76
- export default DtmplRoute;
77
- //# sourceMappingURL=dtmpl-route.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dtmpl-route.js","sourceRoot":"","sources":["../../../../src/components/routable/dtmpl-route.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,MAAM,UAAU,CAAC;AAC7B,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAClD,OAAO,YAAY,MAAM,+BAA+B,CAAA;AAKvD,CAAC;AAID,CAAC;AAEF,MAAM,UAAW,SAAQ,KAAK,CAAC,aAAmD;IAAlF;;QAEI,cAAS,GAAC,GAAE,EAAE;YACV,MAAM,EAAC,QAAQ,EAAC,GAAG,IAAI,CAAC,KAAK,CAAC;YAC9B,OAAO,CAAC,GAAG,CAAC,yBAAyB,EAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAClD,IAAI,YAAY,GAAG,IAAI,eAAe,CAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;YACzD,IAAI,MAAM,GAAG,YAAY,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;YACxC,OAAO,MAAM,CAAC;QAClB,CAAC,CAAA;QAED,kBAAa,GAAC,GAAE,EAAE;YACd,MAAM,EAAE,QAAQ,GAAE,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC;Y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,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE,aAAa,EAAE,IAAI,CAAC,aAAa,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,GAAc,CACzL,CAAC;SACL;IAEL,CAAC;CACJ;AAED,eAAe,UAAU,CAAC"}
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import { RouterCompProps } from '../tmpl/interface';
3
- export interface ImportRouteProps extends RouterCompProps {
4
- }
5
- interface ImportRoutePropsStat {
6
- }
7
- declare class ExcelImportRoute extends React.PureComponent<ImportRouteProps, ImportRoutePropsStat> {
8
- state: {};
9
- componentDidMount(): Promise<void>;
10
- render(): JSX.Element;
11
- }
12
- export default ExcelImportRoute;
13
- //# sourceMappingURL=import-route.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"import-route.d.ts","sourceRoot":"","sources":["../../../../src/components/routable/import-route.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAGlD,MAAM,WAAW,gBAAiB,SAAQ,eAAe;CAExD;AACD,UAAU,oBAAoB;CAE7B;AAED,cAAM,gBAAiB,SAAQ,KAAK,CAAC,aAAa,CAAC,gBAAgB,EAAE,oBAAoB,CAAC;IAEtF,KAAK,KAAK;IAEJ,iBAAiB;IAKvB,MAAM;CAKT;AACD,eAAe,gBAAgB,CAAC"}
@@ -1,29 +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 ExcelImport from '../import/excel-import';
12
- ;
13
- class ExcelImportRoute extends React.PureComponent {
14
- constructor() {
15
- super(...arguments);
16
- this.state = {};
17
- }
18
- componentDidMount() {
19
- return __awaiter(this, void 0, void 0, function* () {
20
- });
21
- }
22
- render() {
23
- const { location, match, history } = this.props;
24
- const { sourceId } = match.params;
25
- return React.createElement(ExcelImport, { sourceId: sourceId });
26
- }
27
- }
28
- export default ExcelImportRoute;
29
- //# sourceMappingURL=import-route.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"import-route.js","sourceRoot":"","sources":["../../../../src/components/routable/import-route.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,WAAW,MAAM,wBAAwB,CAAA;AAI/C,CAAC;AAKF,MAAM,gBAAiB,SAAQ,KAAK,CAAC,aAAqD;IAA1F;;QAEI,UAAK,GAAG,EAAE,CAAA;IAYd,CAAC;IAVS,iBAAiB;;QAEvB,CAAC;KAAA;IAGD,MAAM;QACF,MAAM,EAAC,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAC,GAAG,IAAI,CAAC,KAAK,CAAC;QAC9C,MAAM,EAAE,QAAQ,EAAC,GAAG,KAAK,CAAC,MAAM,CAAC;QAClC,OAAO,oBAAC,WAAW,IAAE,QAAQ,EAAE,QAAQ,GAAgB,CAAA;IAC1D,CAAC;CACJ;AACD,eAAe,gBAAgB,CAAC"}