aldehyde 0.0.2 → 0.0.3

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 (505) hide show
  1. package/dist/aldehyde.js +1 -1
  2. package/dist/chemstruc-graph.js +1 -1
  3. package/dist/html-editor-draft.js +1 -1
  4. package/dist/index.html +1 -1
  5. package/dist/signature.js +1 -1
  6. package/lib/public/programConfig.json +10 -0
  7. package/lib/src/components/chart/antd/chart-utils.d.ts +7 -0
  8. package/lib/src/components/chart/antd/chart-utils.d.ts.map +1 -0
  9. package/lib/src/components/chart/antd/chart-utils.js +46 -0
  10. package/lib/src/components/chart/antd/chart-utils.js.map +1 -0
  11. package/lib/src/components/chart/antd/column-chart-sub.d.ts +7 -0
  12. package/lib/src/components/chart/antd/column-chart-sub.d.ts.map +1 -0
  13. package/lib/src/components/chart/antd/column-chart-sub.js +50 -0
  14. package/lib/src/components/chart/antd/column-chart-sub.js.map +1 -0
  15. package/lib/src/components/chart/antd/line-chart-sub.d.ts +7 -0
  16. package/lib/src/components/chart/antd/line-chart-sub.d.ts.map +1 -0
  17. package/lib/src/components/chart/antd/line-chart-sub.js +49 -0
  18. package/lib/src/components/chart/antd/line-chart-sub.js.map +1 -0
  19. package/lib/src/components/chart/antd/pie-chart-sub.d.ts +7 -0
  20. package/lib/src/components/chart/antd/pie-chart-sub.d.ts.map +1 -0
  21. package/lib/src/components/chart/antd/pie-chart-sub.js +37 -0
  22. package/lib/src/components/chart/antd/pie-chart-sub.js.map +1 -0
  23. package/lib/src/components/chart/antd/statview-d2-chart.d.ts +17 -0
  24. package/lib/src/components/chart/antd/statview-d2-chart.d.ts.map +1 -0
  25. package/lib/src/components/chart/antd/statview-d2-chart.js +108 -0
  26. package/lib/src/components/chart/antd/statview-d2-chart.js.map +1 -0
  27. package/lib/src/components/chart/statview-l2-chart.d.ts +23 -0
  28. package/lib/src/components/chart/statview-l2-chart.d.ts.map +1 -0
  29. package/lib/src/components/chart/statview-l2-chart.js +64 -0
  30. package/lib/src/components/chart/statview-l2-chart.js.map +1 -0
  31. package/lib/src/components/controls/action/index.d.ts +47 -0
  32. package/lib/src/components/controls/action/index.d.ts.map +1 -0
  33. package/lib/src/components/controls/action/index.js +165 -0
  34. package/lib/src/components/controls/action/index.js.map +1 -0
  35. package/lib/src/components/controls/action/utils.d.ts +9 -0
  36. package/lib/src/components/controls/action/utils.d.ts.map +1 -0
  37. package/{src/components/controls/action/utils.tsx → lib/src/components/controls/action/utils.js} +41 -53
  38. package/lib/src/components/controls/action/utils.js.map +1 -0
  39. package/lib/src/components/controls/auto-complete/index.d.ts +7 -0
  40. package/lib/src/components/controls/auto-complete/index.d.ts.map +1 -0
  41. package/lib/src/components/controls/auto-complete/index.js +53 -0
  42. package/lib/src/components/controls/auto-complete/index.js.map +1 -0
  43. package/lib/src/components/controls/chemstruc/graph.d.ts +31 -0
  44. package/lib/src/components/controls/chemstruc/graph.d.ts.map +1 -0
  45. package/lib/src/components/controls/chemstruc/graph.js +121 -0
  46. package/lib/src/components/controls/chemstruc/graph.js.map +1 -0
  47. package/lib/src/components/controls/collapse-card/index.d.ts +20 -0
  48. package/lib/src/components/controls/collapse-card/index.d.ts.map +1 -0
  49. package/lib/src/components/controls/collapse-card/index.js +63 -0
  50. package/lib/src/components/controls/collapse-card/index.js.map +1 -0
  51. package/lib/src/components/controls/color-picker/index.d.ts +19 -0
  52. package/lib/src/components/controls/color-picker/index.d.ts.map +1 -0
  53. package/lib/src/components/controls/color-picker/index.js +61 -0
  54. package/lib/src/components/controls/color-picker/index.js.map +1 -0
  55. package/lib/src/components/controls/cquery/cquick-button.d.ts +20 -0
  56. package/lib/src/components/controls/cquery/cquick-button.d.ts.map +1 -0
  57. package/lib/src/components/controls/cquery/cquick-button.js +67 -0
  58. package/lib/src/components/controls/cquery/cquick-button.js.map +1 -0
  59. package/lib/src/components/controls/date-picker/index.d.ts +7 -0
  60. package/lib/src/components/controls/date-picker/index.d.ts.map +1 -0
  61. package/lib/src/components/controls/date-picker/index.js +91 -0
  62. package/lib/src/components/controls/date-picker/index.js.map +1 -0
  63. package/lib/src/components/controls/entity-select/entity-select.d.ts +53 -0
  64. package/lib/src/components/controls/entity-select/entity-select.d.ts.map +1 -0
  65. package/lib/src/components/controls/entity-select/entity-select.js +227 -0
  66. package/lib/src/components/controls/entity-select/entity-select.js.map +1 -0
  67. package/lib/src/components/controls/entity-select/popover-entity-select.d.ts +20 -0
  68. package/lib/src/components/controls/entity-select/popover-entity-select.d.ts.map +1 -0
  69. package/lib/src/components/controls/entity-select/popover-entity-select.js +80 -0
  70. package/lib/src/components/controls/entity-select/popover-entity-select.js.map +1 -0
  71. package/lib/src/components/controls/entry-control.d.ts +11 -0
  72. package/lib/src/components/controls/entry-control.d.ts.map +1 -0
  73. package/lib/src/components/controls/entry-control.js +171 -0
  74. package/lib/src/components/controls/entry-control.js.map +1 -0
  75. package/lib/src/components/controls/enum-badge/index.d.ts +7 -0
  76. package/lib/src/components/controls/enum-badge/index.d.ts.map +1 -0
  77. package/lib/src/components/controls/enum-badge/index.js +14 -0
  78. package/lib/src/components/controls/enum-badge/index.js.map +1 -0
  79. package/lib/src/components/controls/enum-tag/index.d.ts +7 -0
  80. package/lib/src/components/controls/enum-tag/index.d.ts.map +1 -0
  81. package/lib/src/components/controls/enum-tag/index.js +18 -0
  82. package/lib/src/components/controls/enum-tag/index.js.map +1 -0
  83. package/lib/src/components/controls/file-view/drawer-file-view.d.ts +18 -0
  84. package/lib/src/components/controls/file-view/drawer-file-view.d.ts.map +1 -0
  85. package/lib/src/components/controls/file-view/drawer-file-view.js +51 -0
  86. package/lib/src/components/controls/file-view/drawer-file-view.js.map +1 -0
  87. package/lib/src/components/controls/file-view/index.d.ts +23 -0
  88. package/lib/src/components/controls/file-view/index.d.ts.map +1 -0
  89. package/lib/src/components/controls/file-view/index.js +130 -0
  90. package/lib/src/components/controls/file-view/index.js.map +1 -0
  91. package/lib/src/components/controls/html-editor/draft.d.ts +22 -0
  92. package/lib/src/components/controls/html-editor/draft.d.ts.map +1 -0
  93. package/lib/src/components/controls/html-editor/draft.js +122 -0
  94. package/lib/src/components/controls/html-editor/draft.js.map +1 -0
  95. package/lib/src/components/controls/input-number/index.d.ts +7 -0
  96. package/lib/src/components/controls/input-number/index.d.ts.map +1 -0
  97. package/lib/src/components/controls/input-number/index.js +67 -0
  98. package/lib/src/components/controls/input-number/index.js.map +1 -0
  99. package/lib/src/components/controls/input-range/index.d.ts +7 -0
  100. package/lib/src/components/controls/input-range/index.d.ts.map +1 -0
  101. package/lib/src/components/controls/input-range/index.js +28 -0
  102. package/lib/src/components/controls/input-range/index.js.map +1 -0
  103. package/lib/src/components/controls/progress/index.d.ts +7 -0
  104. package/lib/src/components/controls/progress/index.d.ts.map +1 -0
  105. package/lib/src/components/controls/progress/index.js +45 -0
  106. package/lib/src/components/controls/progress/index.js.map +1 -0
  107. package/lib/src/components/controls/relation-existion/index.d.ts +20 -0
  108. package/lib/src/components/controls/relation-existion/index.d.ts.map +1 -0
  109. package/lib/src/components/controls/relation-existion/index.js +75 -0
  110. package/lib/src/components/controls/relation-existion/index.js.map +1 -0
  111. package/lib/src/components/controls/rfield/index.d.ts +29 -0
  112. package/lib/src/components/controls/rfield/index.d.ts.map +1 -0
  113. package/lib/src/components/controls/rfield/index.js +130 -0
  114. package/lib/src/components/controls/rfield/index.js.map +1 -0
  115. package/lib/src/components/controls/signature/index.d.ts +31 -0
  116. package/lib/src/components/controls/signature/index.d.ts.map +1 -0
  117. package/lib/src/components/controls/signature/index.js +129 -0
  118. package/lib/src/components/controls/signature/index.js.map +1 -0
  119. package/lib/src/components/controls/steps/index.d.ts +7 -0
  120. package/lib/src/components/controls/steps/index.d.ts.map +1 -0
  121. package/lib/src/components/controls/steps/index.js +42 -0
  122. package/lib/src/components/controls/steps/index.js.map +1 -0
  123. package/lib/src/components/controls/text/ellipsis-text.d.ts +22 -0
  124. package/lib/src/components/controls/text/ellipsis-text.d.ts.map +1 -0
  125. package/lib/src/components/controls/text/ellipsis-text.js +46 -0
  126. package/lib/src/components/controls/text/ellipsis-text.js.map +1 -0
  127. package/lib/src/components/controls/upload/index.d.ts +15 -0
  128. package/lib/src/components/controls/upload/index.d.ts.map +1 -0
  129. package/lib/src/components/controls/upload/index.js +100 -0
  130. package/lib/src/components/controls/upload/index.js.map +1 -0
  131. package/lib/src/components/controls/view-control.d.ts +10 -0
  132. package/lib/src/components/controls/view-control.d.ts.map +1 -0
  133. package/lib/src/components/controls/view-control.js +150 -0
  134. package/lib/src/components/controls/view-control.js.map +1 -0
  135. package/lib/src/components/detail/button/cquery-button-bar.d.ts +16 -0
  136. package/lib/src/components/detail/button/cquery-button-bar.d.ts.map +1 -0
  137. package/lib/src/components/detail/button/cquery-button-bar.js +75 -0
  138. package/lib/src/components/detail/button/cquery-button-bar.js.map +1 -0
  139. package/lib/src/components/detail/button/submit-button-bar.d.ts +19 -0
  140. package/lib/src/components/detail/button/submit-button-bar.d.ts.map +1 -0
  141. package/lib/src/components/detail/button/submit-button-bar.js +99 -0
  142. package/lib/src/components/detail/button/submit-button-bar.js.map +1 -0
  143. package/lib/src/components/detail/edit/dtmpl-edit.d.ts +48 -0
  144. package/lib/src/components/detail/edit/dtmpl-edit.d.ts.map +1 -0
  145. package/lib/src/components/detail/edit/dtmpl-edit.js +190 -0
  146. package/lib/src/components/detail/edit/dtmpl-edit.js.map +1 -0
  147. package/lib/src/components/detail/edit/fields-edit-card.d.ts +39 -0
  148. package/lib/src/components/detail/edit/fields-edit-card.d.ts.map +1 -0
  149. package/lib/src/components/detail/edit/fields-edit-card.js +64 -0
  150. package/lib/src/components/detail/edit/fields-edit-card.js.map +1 -0
  151. package/lib/src/components/detail/edit/modal-dtmpl-edit.d.ts +51 -0
  152. package/lib/src/components/detail/edit/modal-dtmpl-edit.d.ts.map +1 -0
  153. package/lib/src/components/detail/edit/modal-dtmpl-edit.js +168 -0
  154. package/lib/src/components/detail/edit/modal-dtmpl-edit.js.map +1 -0
  155. package/lib/src/components/detail/edit/modal-row-edit.d.ts +31 -0
  156. package/lib/src/components/detail/edit/modal-row-edit.d.ts.map +1 -0
  157. package/lib/src/components/detail/edit/modal-row-edit.js +56 -0
  158. package/lib/src/components/detail/edit/modal-row-edit.js.map +1 -0
  159. package/lib/src/components/detail/edit/post-result/index.d.ts +17 -0
  160. package/lib/src/components/detail/edit/post-result/index.d.ts.map +1 -0
  161. package/lib/src/components/detail/edit/post-result/index.js +28 -0
  162. package/lib/src/components/detail/edit/post-result/index.js.map +1 -0
  163. package/lib/src/components/detail/edit/row-edit-card.d.ts +42 -0
  164. package/lib/src/components/detail/edit/row-edit-card.d.ts.map +1 -0
  165. package/lib/src/components/detail/edit/row-edit-card.js +84 -0
  166. package/lib/src/components/detail/edit/row-edit-card.js.map +1 -0
  167. package/lib/src/components/detail/edit/row-editor.d.ts +31 -0
  168. package/lib/src/components/detail/edit/row-editor.d.ts.map +1 -0
  169. package/lib/src/components/detail/edit/row-editor.js +55 -0
  170. package/lib/src/components/detail/edit/row-editor.js.map +1 -0
  171. package/lib/src/components/detail/rightbar/index.d.ts +20 -0
  172. package/lib/src/components/detail/rightbar/index.d.ts.map +1 -0
  173. package/lib/src/components/detail/rightbar/index.js +51 -0
  174. package/lib/src/components/detail/rightbar/index.js.map +1 -0
  175. package/lib/src/components/detail/view/act-dtmpl-view.d.ts +46 -0
  176. package/lib/src/components/detail/view/act-dtmpl-view.d.ts.map +1 -0
  177. package/lib/src/components/detail/view/act-dtmpl-view.js +110 -0
  178. package/lib/src/components/detail/view/act-dtmpl-view.js.map +1 -0
  179. package/lib/src/components/detail/view/dtmpl-view.d.ts +42 -0
  180. package/lib/src/components/detail/view/dtmpl-view.d.ts.map +1 -0
  181. package/lib/src/components/detail/view/dtmpl-view.js +111 -0
  182. package/lib/src/components/detail/view/dtmpl-view.js.map +1 -0
  183. package/lib/src/components/detail/view/field-view-group.d.ts +17 -0
  184. package/lib/src/components/detail/view/field-view-group.d.ts.map +1 -0
  185. package/lib/src/components/detail/view/field-view-group.js +51 -0
  186. package/lib/src/components/detail/view/field-view-group.js.map +1 -0
  187. package/lib/src/components/detail/view/modal-dtmpl-view.d.ts +27 -0
  188. package/lib/src/components/detail/view/modal-dtmpl-view.d.ts.map +1 -0
  189. package/lib/src/components/detail/view/modal-dtmpl-view.js +32 -0
  190. package/lib/src/components/detail/view/modal-dtmpl-view.js.map +1 -0
  191. package/lib/src/components/detail/view/snapshot-timeline.d.ts +32 -0
  192. package/lib/src/components/detail/view/snapshot-timeline.d.ts.map +1 -0
  193. package/lib/src/components/detail/view/snapshot-timeline.js +90 -0
  194. package/lib/src/components/detail/view/snapshot-timeline.js.map +1 -0
  195. package/lib/src/components/exportor/export-frame.d.ts +50 -0
  196. package/lib/src/components/exportor/export-frame.d.ts.map +1 -0
  197. package/lib/src/components/exportor/export-frame.js +140 -0
  198. package/lib/src/components/exportor/export-frame.js.map +1 -0
  199. package/lib/src/components/exportor/index.d.ts +16 -0
  200. package/lib/src/components/exportor/index.d.ts.map +1 -0
  201. package/lib/src/components/exportor/index.js +44 -0
  202. package/lib/src/components/exportor/index.js.map +1 -0
  203. package/lib/src/components/form/criteria-form.d.ts +19 -0
  204. package/lib/src/components/form/criteria-form.d.ts.map +1 -0
  205. package/lib/src/components/form/criteria-form.js +167 -0
  206. package/lib/src/components/form/criteria-form.js.map +1 -0
  207. package/lib/src/components/form/dtmpl-form.d.ts +37 -0
  208. package/lib/src/components/form/dtmpl-form.d.ts.map +1 -0
  209. package/lib/src/components/form/dtmpl-form.js +213 -0
  210. package/lib/src/components/form/dtmpl-form.js.map +1 -0
  211. package/lib/src/components/form/field-group-form.d.ts +21 -0
  212. package/lib/src/components/form/field-group-form.d.ts.map +1 -0
  213. package/lib/src/components/form/field-group-form.js +58 -0
  214. package/lib/src/components/form/field-group-form.js.map +1 -0
  215. package/lib/src/components/form/fields-form.d.ts +20 -0
  216. package/lib/src/components/form/fields-form.d.ts.map +1 -0
  217. package/lib/src/components/form/fields-form.js +39 -0
  218. package/lib/src/components/form/fields-form.js.map +1 -0
  219. package/lib/src/components/form/form-Item-group.d.ts +22 -0
  220. package/lib/src/components/form/form-Item-group.d.ts.map +1 -0
  221. package/lib/src/components/form/form-Item-group.js +60 -0
  222. package/lib/src/components/form/form-Item-group.js.map +1 -0
  223. package/lib/src/components/import/excel-import.d.ts +48 -0
  224. package/lib/src/components/import/excel-import.d.ts.map +1 -0
  225. package/lib/src/components/import/excel-import.js +234 -0
  226. package/lib/src/components/import/excel-import.js.map +1 -0
  227. package/lib/src/components/layout/MainPage.d.ts +32 -0
  228. package/lib/src/components/layout/MainPage.d.ts.map +1 -0
  229. package/lib/src/components/layout/MainPage.js +202 -0
  230. package/lib/src/components/layout/MainPage.js.map +1 -0
  231. package/lib/src/components/layout/header/index.d.ts +16 -0
  232. package/lib/src/components/layout/header/index.d.ts.map +1 -0
  233. package/lib/src/components/layout/header/index.js +37 -0
  234. package/lib/src/components/layout/header/index.js.map +1 -0
  235. package/lib/src/components/layout/menu/block.d.ts +9 -0
  236. package/lib/src/components/layout/menu/block.d.ts.map +1 -0
  237. package/lib/src/components/layout/menu/block.js +48 -0
  238. package/lib/src/components/layout/menu/block.js.map +1 -0
  239. package/lib/src/components/layout/menu/l2menu-message-bar.d.ts +24 -0
  240. package/lib/src/components/layout/menu/l2menu-message-bar.d.ts.map +1 -0
  241. package/lib/src/components/layout/menu/l2menu-message-bar.js +97 -0
  242. package/lib/src/components/layout/menu/l2menu-message-bar.js.map +1 -0
  243. package/lib/src/components/layout/menu/l2menu-quick-bar.d.ts +30 -0
  244. package/lib/src/components/layout/menu/l2menu-quick-bar.d.ts.map +1 -0
  245. package/lib/src/components/layout/menu/l2menu-quick-bar.js +94 -0
  246. package/lib/src/components/layout/menu/l2menu-quick-bar.js.map +1 -0
  247. package/lib/src/components/layout/menu/menu-2layers.d.ts +9 -0
  248. package/lib/src/components/layout/menu/menu-2layers.d.ts.map +1 -0
  249. package/lib/src/components/layout/menu/menu-2layers.js +63 -0
  250. package/lib/src/components/layout/menu/menu-2layers.js.map +1 -0
  251. package/lib/src/components/layout/menu/menu-render.d.ts +8 -0
  252. package/lib/src/components/layout/menu/menu-render.d.ts.map +1 -0
  253. package/lib/src/components/layout/menu/menu-render.js +44 -0
  254. package/lib/src/components/layout/menu/menu-render.js.map +1 -0
  255. package/lib/src/components/layout/menu/reset-password.d.ts +25 -0
  256. package/lib/src/components/layout/menu/reset-password.d.ts.map +1 -0
  257. package/lib/src/components/layout/menu/reset-password.js +113 -0
  258. package/lib/src/components/layout/menu/reset-password.js.map +1 -0
  259. package/lib/src/components/layout/menu/user-bar.d.ts +19 -0
  260. package/lib/src/components/layout/menu/user-bar.d.ts.map +1 -0
  261. package/lib/src/components/layout/menu/user-bar.js +61 -0
  262. package/lib/src/components/layout/menu/user-bar.js.map +1 -0
  263. package/lib/src/components/layout/menu/userinfo-bar.d.ts +18 -0
  264. package/lib/src/components/layout/menu/userinfo-bar.d.ts.map +1 -0
  265. package/lib/src/components/layout/menu/userinfo-bar.js +50 -0
  266. package/lib/src/components/layout/menu/userinfo-bar.js.map +1 -0
  267. package/lib/src/components/layout/sidebar/index.d.ts +12 -0
  268. package/lib/src/components/layout/sidebar/index.d.ts.map +1 -0
  269. package/lib/src/components/layout/sidebar/index.js +19 -0
  270. package/lib/src/components/layout/sidebar/index.js.map +1 -0
  271. package/lib/src/components/module/dtmpl-page.d.ts +19 -0
  272. package/lib/src/components/module/dtmpl-page.d.ts.map +1 -0
  273. package/lib/src/components/module/dtmpl-page.js +46 -0
  274. package/lib/src/components/module/dtmpl-page.js.map +1 -0
  275. package/lib/src/components/module/ltmpl-page.d.ts +34 -0
  276. package/lib/src/components/module/ltmpl-page.d.ts.map +1 -0
  277. package/lib/src/components/module/ltmpl-page.js +154 -0
  278. package/lib/src/components/module/ltmpl-page.js.map +1 -0
  279. package/lib/src/components/routable/dtmpl-route.d.ts +17 -0
  280. package/lib/src/components/routable/dtmpl-route.d.ts.map +1 -0
  281. package/lib/src/components/routable/dtmpl-route.js +77 -0
  282. package/lib/src/components/routable/dtmpl-route.js.map +1 -0
  283. package/lib/src/components/routable/import-route.d.ts +13 -0
  284. package/lib/src/components/routable/import-route.d.ts.map +1 -0
  285. package/lib/src/components/routable/import-route.js +29 -0
  286. package/lib/src/components/routable/import-route.js.map +1 -0
  287. package/lib/src/components/routable/ltmpl-route.d.ts +25 -0
  288. package/lib/src/components/routable/ltmpl-route.d.ts.map +1 -0
  289. package/lib/src/components/routable/ltmpl-route.js +145 -0
  290. package/lib/src/components/routable/ltmpl-route.js.map +1 -0
  291. package/lib/src/components/table/act-table.d.ts +76 -0
  292. package/lib/src/components/table/act-table.d.ts.map +1 -0
  293. package/lib/src/components/table/act-table.js +454 -0
  294. package/lib/src/components/table/act-table.js.map +1 -0
  295. package/lib/src/components/table/column/column-selector.d.ts +26 -0
  296. package/lib/src/components/table/column/column-selector.d.ts.map +1 -0
  297. package/lib/src/components/table/column/column-selector.js +59 -0
  298. package/lib/src/components/table/column/column-selector.js.map +1 -0
  299. package/lib/src/components/table/l2-act-table.d.ts +23 -0
  300. package/lib/src/components/table/l2-act-table.d.ts.map +1 -0
  301. package/lib/src/components/table/l2-act-table.js +80 -0
  302. package/lib/src/components/table/l2-act-table.js.map +1 -0
  303. package/lib/src/components/table/modal-select-table.d.ts +41 -0
  304. package/lib/src/components/table/modal-select-table.d.ts.map +1 -0
  305. package/lib/src/components/table/modal-select-table.js +208 -0
  306. package/lib/src/components/table/modal-select-table.js.map +1 -0
  307. package/lib/src/components/table/pagination.d.ts +17 -0
  308. package/lib/src/components/table/pagination.d.ts.map +1 -0
  309. package/lib/src/components/table/pagination.js +40 -0
  310. package/lib/src/components/table/pagination.js.map +1 -0
  311. package/lib/src/components/table/query-table.d.ts +65 -0
  312. package/lib/src/components/table/query-table.d.ts.map +1 -0
  313. package/lib/src/components/table/query-table.js +257 -0
  314. package/lib/src/components/table/query-table.js.map +1 -0
  315. package/lib/src/components/table/relation-table.d.ts +61 -0
  316. package/lib/src/components/table/relation-table.d.ts.map +1 -0
  317. package/lib/src/components/table/relation-table.js +444 -0
  318. package/lib/src/components/table/relation-table.js.map +1 -0
  319. package/lib/src/components/table/select-table.d.ts +40 -0
  320. package/lib/src/components/table/select-table.d.ts.map +1 -0
  321. package/lib/src/components/table/select-table.js +223 -0
  322. package/lib/src/components/table/select-table.js.map +1 -0
  323. package/lib/src/components/table/selected-rows-card.d.ts +16 -0
  324. package/lib/src/components/table/selected-rows-card.d.ts.map +1 -0
  325. package/lib/src/components/table/selected-rows-card.js +47 -0
  326. package/lib/src/components/table/selected-rows-card.js.map +1 -0
  327. package/lib/src/components/table/stat/restat.d.ts +26 -0
  328. package/lib/src/components/table/stat/restat.d.ts.map +1 -0
  329. package/lib/src/components/table/stat/restat.js +61 -0
  330. package/lib/src/components/table/stat/restat.js.map +1 -0
  331. package/lib/src/components/table/table-util.d.ts +5 -0
  332. package/lib/src/components/table/table-util.d.ts.map +1 -0
  333. package/{src/components/table/table-util.tsx → lib/src/components/table/table-util.js} +12 -15
  334. package/lib/src/components/table/table-util.js.map +1 -0
  335. package/lib/src/components/tmpl/control-type-supportor.d.ts +9 -0
  336. package/lib/src/components/tmpl/control-type-supportor.d.ts.map +1 -0
  337. package/{src/components/tmpl/control-type-supportor.tsx → lib/src/components/tmpl/control-type-supportor.js} +18 -30
  338. package/lib/src/components/tmpl/control-type-supportor.js.map +1 -0
  339. package/lib/src/components/tmpl/hc-data-source.d.ts +19 -0
  340. package/lib/src/components/tmpl/hc-data-source.d.ts.map +1 -0
  341. package/lib/src/components/tmpl/hc-data-source.js +230 -0
  342. package/lib/src/components/tmpl/hc-data-source.js.map +1 -0
  343. package/lib/src/components/tmpl/hcservice-v3.d.ts +53 -0
  344. package/lib/src/components/tmpl/hcservice-v3.d.ts.map +1 -0
  345. package/lib/src/components/tmpl/hcservice-v3.js +639 -0
  346. package/lib/src/components/tmpl/hcservice-v3.js.map +1 -0
  347. package/{src/components/tmpl/interface.tsx → lib/src/components/tmpl/interface.d.ts} +73 -147
  348. package/lib/src/components/tmpl/interface.d.ts.map +1 -0
  349. package/lib/src/components/tmpl/interface.js +4 -0
  350. package/lib/src/components/tmpl/interface.js.map +1 -0
  351. package/lib/src/components/tmpl/tmpl-config-analysis.d.ts +7 -0
  352. package/lib/src/components/tmpl/tmpl-config-analysis.d.ts.map +1 -0
  353. package/lib/src/components/tmpl/tmpl-config-analysis.js +106 -0
  354. package/lib/src/components/tmpl/tmpl-config-analysis.js.map +1 -0
  355. package/lib/src/components/units/index.d.ts +58 -0
  356. package/lib/src/components/units/index.d.ts.map +1 -0
  357. package/{src/components/units/index.tsx → lib/src/components/units/index.js} +149 -150
  358. package/lib/src/components/units/index.js.map +1 -0
  359. package/lib/src/components/welcome/quick-entrance.d.ts +20 -0
  360. package/lib/src/components/welcome/quick-entrance.d.ts.map +1 -0
  361. package/lib/src/components/welcome/quick-entrance.js +79 -0
  362. package/lib/src/components/welcome/quick-entrance.js.map +1 -0
  363. package/lib/src/components/welcome/workbench.d.ts +20 -0
  364. package/lib/src/components/welcome/workbench.d.ts.map +1 -0
  365. package/lib/src/components/welcome/workbench.js +78 -0
  366. package/lib/src/components/welcome/workbench.js.map +1 -0
  367. package/lib/src/index.d.ts +4 -0
  368. package/lib/src/index.d.ts.map +1 -0
  369. package/lib/src/index.js +4 -0
  370. package/lib/src/index.js.map +1 -0
  371. package/package.json +27 -9
  372. package/dist/css/chemstruc-graph-87868f791bf92fb80db9.css +0 -29
  373. package/dist/css/main-2e6725ec1b56da516cee.css +0 -256
  374. package/src/components/chart/antd/Chart.js +0 -32
  375. package/src/components/chart/antd/Chart10000.js +0 -90
  376. package/src/components/chart/antd/Max2DimLineChart.js +0 -128
  377. package/src/components/chart/antd/PieChart1.js +0 -54
  378. package/src/components/chart/antd/PieChart2.js +0 -56
  379. package/src/components/chart/antd/chart-utils.tsx +0 -50
  380. package/src/components/chart/antd/column-chart-sub.tsx +0 -67
  381. package/src/components/chart/antd/line-chart-sub.tsx +0 -65
  382. package/src/components/chart/antd/pie-chart-sub.tsx +0 -54
  383. package/src/components/chart/antd/statview-d2-chart.tsx +0 -125
  384. package/src/components/chart/statview-l2-chart.tsx +0 -69
  385. package/src/components/controls/action/index.css +0 -9
  386. package/src/components/controls/action/index.tsx +0 -228
  387. package/src/components/controls/auto-complete/index.tsx +0 -80
  388. package/src/components/controls/cascader/index.js +0 -97
  389. package/src/components/controls/chemstruc/graph.tsx +0 -150
  390. package/src/components/controls/chemstruc/index.css +0 -28
  391. package/src/components/controls/collapse-card/index.css +0 -9
  392. package/src/components/controls/collapse-card/index.tsx +0 -59
  393. package/src/components/controls/color-picker/index.css +0 -27
  394. package/src/components/controls/color-picker/index.tsx +0 -88
  395. package/src/components/controls/cquery/cquick-button.tsx +0 -117
  396. package/src/components/controls/date-picker/index.tsx +0 -141
  397. package/src/components/controls/entity-select/entity-select.tsx +0 -277
  398. package/src/components/controls/entity-select/index.css +0 -6
  399. package/src/components/controls/entity-select/popover-entity-select.tsx +0 -112
  400. package/src/components/controls/entry-control.tsx +0 -240
  401. package/src/components/controls/enum-badge/index.tsx +0 -28
  402. package/src/components/controls/enum-tag/index.tsx +0 -30
  403. package/src/components/controls/file-view/drawer-file-view.tsx +0 -69
  404. package/src/components/controls/file-view/index.tsx +0 -145
  405. package/src/components/controls/html-editor/draft.tsx +0 -161
  406. package/src/components/controls/html-editor/tinymce.js +0 -55
  407. package/src/components/controls/input-number/index.tsx +0 -101
  408. package/src/components/controls/input-range/index.tsx +0 -48
  409. package/src/components/controls/password-setter/index.css +0 -3
  410. package/src/components/controls/password-setter/index.js +0 -70
  411. package/src/components/controls/progress/index.tsx +0 -61
  412. package/src/components/controls/relation-existion/index.css +0 -4
  413. package/src/components/controls/relation-existion/index.tsx +0 -108
  414. package/src/components/controls/rfield/index.css +0 -4
  415. package/src/components/controls/rfield/index.tsx +0 -161
  416. package/src/components/controls/signature/index.tsx +0 -162
  417. package/src/components/controls/steps/index.tsx +0 -58
  418. package/src/components/controls/text/ellipsis-text.tsx +0 -70
  419. package/src/components/controls/upload/index.tsx +0 -122
  420. package/src/components/controls/view-control.tsx +0 -177
  421. package/src/components/detail/button/cquery-button-bar.tsx +0 -112
  422. package/src/components/detail/button/index.css +0 -43
  423. package/src/components/detail/button/submit-button-bar.tsx +0 -151
  424. package/src/components/detail/dtmpl.css +0 -53
  425. package/src/components/detail/edit/dtmpl-edit.tsx +0 -218
  426. package/src/components/detail/edit/fields-edit-card.tsx +0 -103
  427. package/src/components/detail/edit/modal-dtmpl-edit.tsx +0 -198
  428. package/src/components/detail/edit/modal-row-edit.tsx +0 -72
  429. package/src/components/detail/edit/post-result/index.tsx +0 -52
  430. package/src/components/detail/edit/row-edit-card.tsx +0 -125
  431. package/src/components/detail/edit/row-editor.tsx +0 -71
  432. package/src/components/detail/rightbar/index.css +0 -35
  433. package/src/components/detail/rightbar/index.tsx +0 -76
  434. package/src/components/detail/view/act-dtmpl-view.tsx +0 -155
  435. package/src/components/detail/view/dtmpl-view.tsx +0 -143
  436. package/src/components/detail/view/field-view-group.tsx +0 -73
  437. package/src/components/detail/view/modal-dtmpl-view.tsx +0 -56
  438. package/src/components/detail/view/snapshot-timeline.tsx +0 -130
  439. package/src/components/exportor/export-frame.css +0 -3
  440. package/src/components/exportor/export-frame.tsx +0 -194
  441. package/src/components/exportor/index.tsx +0 -60
  442. package/src/components/form/criteria-form.tsx +0 -241
  443. package/src/components/form/dtmpl-form.css +0 -4
  444. package/src/components/form/dtmpl-form.tsx +0 -272
  445. package/src/components/form/field-group-form.tsx +0 -75
  446. package/src/components/form/fields-form.tsx +0 -51
  447. package/src/components/form/form-Item-group.tsx +0 -99
  448. package/src/components/form/index.css +0 -13
  449. package/src/components/import/excel-import.tsx +0 -316
  450. package/src/components/import/index.css +0 -54
  451. package/src/components/import/template-builder.js +0 -474
  452. package/src/components/import/template.css +0 -51
  453. package/src/components/layout/MainPage.tsx +0 -230
  454. package/src/components/layout/footer/index.css +0 -6
  455. package/src/components/layout/footer/index.js +0 -17
  456. package/src/components/layout/header/index.css +0 -86
  457. package/src/components/layout/header/index.tsx +0 -58
  458. package/src/components/layout/menu/block.tsx +0 -88
  459. package/src/components/layout/menu/l2menu-message-bar.tsx +0 -118
  460. package/src/components/layout/menu/l2menu-quick-bar.tsx +0 -132
  461. package/src/components/layout/menu/menu-2layers.tsx +0 -92
  462. package/src/components/layout/menu/menu-render.tsx +0 -49
  463. package/src/components/layout/menu/reset-password.tsx +0 -185
  464. package/src/components/layout/menu/user-bar.tsx +0 -97
  465. package/src/components/layout/menu/userinfo-bar.tsx +0 -70
  466. package/src/components/layout/sidebar/index.css +0 -26
  467. package/src/components/layout/sidebar/index.tsx +0 -38
  468. package/src/components/login.js +0 -137
  469. package/src/components/module/criteria-page.tsx +0 -175
  470. package/src/components/module/dtmpl-page.tsx +0 -70
  471. package/src/components/module/ltmpl-page.tsx +0 -181
  472. package/src/components/routable/dtmpl-route.tsx +0 -96
  473. package/src/components/routable/import-route.tsx +0 -28
  474. package/src/components/routable/ltmpl-route.tsx +0 -158
  475. package/src/components/table/act-table.tsx +0 -635
  476. package/src/components/table/column/column-selector.tsx +0 -79
  477. package/src/components/table/column/index.css +0 -14
  478. package/src/components/table/index.css +0 -45
  479. package/src/components/table/l2-act-table.tsx +0 -85
  480. package/src/components/table/modal-select-table.tsx +0 -248
  481. package/src/components/table/pagination.css +0 -15
  482. package/src/components/table/pagination.tsx +0 -72
  483. package/src/components/table/query-table.tsx +0 -331
  484. package/src/components/table/relation-table.tsx +0 -600
  485. package/src/components/table/select-table.tsx +0 -247
  486. package/src/components/table/selected-rows-card.tsx +0 -62
  487. package/src/components/table/stat/restat.tsx +0 -79
  488. package/src/components/tmpl/hc-data-source.tsx +0 -230
  489. package/src/components/tmpl/hcservice-v3.tsx +0 -624
  490. package/src/components/tmpl/superagent.js +0 -93
  491. package/src/components/tmpl/tmpl-config-analysis.tsx +0 -111
  492. package/src/components/units/EncryptUtils.js +0 -38
  493. package/src/components/units/image.d.ts +0 -8
  494. package/src/components/units/logo.png +0 -0
  495. package/src/components/units/storage.js +0 -3
  496. package/src/components/welcome/HCWelcome.js +0 -232
  497. package/src/components/welcome/index.css +0 -13
  498. package/src/components/welcome/logo.png +0 -0
  499. package/src/components/welcome/quick-entrance.tsx +0 -77
  500. package/src/components/welcome/workbench.tsx +0 -76
  501. package/src/index.js +0 -5
  502. package/src/style/common.css +0 -79
  503. package/src/style/coverstyle.css +0 -49
  504. package/src/style/transstyle.css +0 -24
  505. package/tsconfig.json +0 -106
@@ -0,0 +1,17 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,28 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/detail/edit/post-result/index.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAkB,MAAM,OAAO,CAAA;AACtC,OAAO,EAAC,MAAM,EAAE,KAAK,EAAE,MAAM,EAAC,MAAM,MAAM,CAAA;AAczC,CAAC;AAEF,MAAM,UAAU,GAA8B,CAAC,EAAiC,EAAE,EAAE;QAArC,EAAC,YAAY,GAAC,SAAS,OAAU,EAAN,KAAK,cAAhC,gBAAiC,CAAD;IAE3E,MAAM,EAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,EAAC,GAAG,KAAK,CAAC;IACxF,OAAO,CACH,oBAAC,KAAK,IACF,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAC7B,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,KAAK,EACf,cAAc,QACd,MAAM,EAAE,EAAE,EACV,SAAS,EAAE,EAAC,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAC,EAC1C,KAAK,EAAE,GAAG,EACV,YAAY,EAAE,IAAI;QAElB,oBAAC,MAAM,IAAC,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EACzE,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,CAAC,KAAK,IAAI,SAAS,IAAI,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;oBACrD,oBAAC,MAAM,IAAC,GAAG,EAAC,SAAS,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,EAAE,IACvC,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CACrC,CAAC,CAAC,CAAC,SAAS;gBACrB,MAAM,IAAI,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"}
@@ -0,0 +1,42 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,84 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"row-edit-card.js","sourceRoot":"","sources":["../../../../../src/components/detail/edit/row-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BAAE,oBAAC,KAAK,IAAC,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;oBAEvB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC;oBAEhB,SAAS,CAAA,CAAC,CAAA,EAAE,CAAA,CAAC,CAAE,oBAAC,OAAO,IAAC,SAAS,EAAC,KAAK,EAAC,KAAK,EAAC,gCAAO;wBACjD,oBAAC,MAAM,IAAC,IAAI,EAAE,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"}
@@ -0,0 +1,31 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,55 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"row-editor.js","sourceRoot":"","sources":["../../../../../src/components/detail/edit/row-editor.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,MAAM,EAAgB,OAAO,EAAE,OAAO,EAAC,MAAM,MAAM,CAAA;AAG3D,OAAO,WAAW,MAAM,iBAAiB,CAAA;AAezC,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,KAAK,CAAC,aAA6C;IAA1F;;QACI,YAAO,GAAG,KAAK,CAAC,SAAS,EAAgB,CAAC;QAI1C,UAAK,GAAG;YACJ,cAAc,EAAE,KAAK;SACxB,CAAA;QASD,kBAAkB;QAClB,kCAAkC;QAClC,8CAA8C;QAC9C,QAAQ;QACR,IAAI;QAEJ,SAAI,GAAG,CAAC,KAAK,EAAC,SAAe,IAAI,EAAE,EAAE;YACjC,IAAG,MAAM,EAAC;gBACN,IAAI,CAAC,QAAQ,CAAC,EAAC,cAAc,EAAC,KAAK,EAAC,CAAC,CAAC;aACzC;YAEF,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC1B,CAAC,CAAA;IAuBL,CAAC;IA1CS,iBAAiB;;QAEvB,CAAC;KAAA;IAEK,kBAAkB;;QACxB,CAAC;KAAA;IAiBD,MAAM;QACF,MAAM,EAAC,cAAc,EAAC,GAAC,IAAI,CAAC,KAAK,CAAC;QAClC,MAAM,EAAC,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,gBAAgB,EAAE,SAAS,EAAC,WAAW,EAAC,GAAG,IAAI,CAAC,KAAK,CAAC;QACpG,OAAO,oBAAC,OAAO,IAAE,oBAAoB,EAAE,IAAI,EAAE,SAAS,EAAC,YAAY,EAAC,OAAO,EAAE,cAAc,EAC3E,OAAO,EAAE,oBAAC,WAAW,IAAC,gBAAgB,EAAE,gBAAgB,EAAE,SAAS,EAAE,SAAS,EACxD,QAAQ,EAAE,GAAE,EAAE;oBACV,IAAI,CAAC,QAAQ,CAAC,EAAC,cAAc,EAAC,KAAK,EAAC,CAAC,CAAC;gBAAA,CAAC,EACvC,IAAI,EAAE,IAAI,CAAC,IAAI,GAAgB,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"}
@@ -0,0 +1,20 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,51 @@
1
+ import React from 'react';
2
+ import './index.css';
3
+ import { Affix } from "antd";
4
+ export default class RightBar extends React.PureComponent {
5
+ constructor() {
6
+ super(...arguments);
7
+ this.scrollToAnchor = (anchor) => {
8
+ if (anchor) {
9
+ let anchorElement = document.getElementById(this.props.parentId + anchor.id);
10
+ if (anchorElement) {
11
+ anchorElement.scrollIntoView({ behavior: "smooth", block: "end" });
12
+ }
13
+ }
14
+ };
15
+ this.scroll = (e) => {
16
+ e.preventDefault();
17
+ e.stopPropagation();
18
+ const list = document.getElementsByClassName("rightBar")[0];
19
+ if (list) {
20
+ const ul = list.getElementsByTagName("ul")[0];
21
+ ul.style.marginTop = "";
22
+ }
23
+ };
24
+ }
25
+ render() {
26
+ const { dtmplConfig, positionRight } = this.props;
27
+ const cardList = [];
28
+ if (dtmplConfig) {
29
+ dtmplConfig.groups.forEach(g => {
30
+ cardList.push({
31
+ title: g.title,
32
+ id: g.id,
33
+ });
34
+ });
35
+ }
36
+ if (dtmplConfig && dtmplConfig.premises && dtmplConfig.premises.length > 0) {
37
+ cardList.push({
38
+ id: dtmplConfig.premises[0].id, title: '默认字段',
39
+ });
40
+ }
41
+ // @ts-ignore
42
+ return (cardList && cardList.length > 3 ?
43
+ React.createElement(Affix, { style: { position: 'absolute', top: 60, right: positionRight, }, offsetTop: 80 },
44
+ React.createElement("div", { className: 'rightBar', onScroll: this.scroll },
45
+ React.createElement("ul", null, cardList ? cardList.map((item, index) => React.createElement("li", { onClick: () => this.scrollToAnchor(item), key: index }, item.title)) : ""))) : "");
46
+ }
47
+ }
48
+ RightBar.defaultProps = {
49
+ positionRight: 15,
50
+ };
51
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/detail/rightbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,aAAa,CAAA;AAEpB,OAAO,EAAC,KAAK,EAAS,MAAM,MAAM,CAAC;AAanC,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,KAAK,CAAC,aAA2C;IAAvF;;QAKI,mBAAc,GAAG,CAAC,MAAgB,EAAE,EAAE;YAClC,IAAI,MAAM,EAAE;gBACR,IAAI,aAAa,GAAG,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAC,MAAM,CAAC,EAAE,CAAC,CAAC;gBAC3E,IAAI,aAAa,EAAE;oBACf,aAAa,CAAC,cAAc,CAAC,EAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAC,CAAC,CAAA;iBACnE;aACJ;QACL,CAAC,CAAA;QACD,WAAM,GAAG,CAAC,CAAC,EAAE,EAAE;YACX,CAAC,CAAC,cAAc,EAAE,CAAA;YAClB,CAAC,CAAC,eAAe,EAAE,CAAA;YACnB,MAAM,IAAI,GAAG,QAAQ,CAAC,sBAAsB,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAA;YAC3D,IAA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CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,KAAK,IAAG,IAAI,CAAC,KAAK,CAAM,CAE9E,CAAC,CAAC,CAAC,EAAE,CAET,CACH,CACF,CAAA,CAAC,CAAA,EAAE,CACd,CAAA;IACL,CAAC;;AAxDM,qBAAY,GAAG;IAClB,aAAa,EAAC,EAAE;CACnB,CAAA"}
@@ -0,0 +1,46 @@
1
+ import React from 'react';
2
+ import { DtmplBaseProps, DtmplConfig, DtmplData } from "../../tmpl/interface";
3
+ import '../dtmpl.css';
4
+ export interface ActDtmplViewProps extends DtmplBaseProps {
5
+ versionId?: number;
6
+ }
7
+ export interface ActDtmplViewStat {
8
+ loading: boolean;
9
+ dtmplConfig: DtmplConfig;
10
+ dtmplData: DtmplData;
11
+ premisesTitle: string;
12
+ snapshotVisible: boolean;
13
+ layout: object;
14
+ refreshCode: string;
15
+ }
16
+ declare class ActDtmplView extends React.PureComponent<ActDtmplViewProps, ActDtmplViewStat> {
17
+ static defaultProps: {
18
+ showRightNav: boolean;
19
+ rightBarPositionRight: number;
20
+ };
21
+ state: {
22
+ loading: boolean;
23
+ dtmplConfig: any;
24
+ snapshotVisible: boolean;
25
+ dtmplData: any;
26
+ premisesTitle: string;
27
+ layout: {
28
+ labelCol: {
29
+ span: number;
30
+ };
31
+ wrapperCol: {
32
+ span: number;
33
+ };
34
+ };
35
+ refreshCode: any;
36
+ };
37
+ componentDidMount(): Promise<void>;
38
+ doRefresh: () => Promise<void>;
39
+ goEdit: () => void;
40
+ showSnapshot: () => void;
41
+ onSnapshotClose: () => void;
42
+ toSnapshot: () => void;
43
+ render(): JSX.Element;
44
+ }
45
+ export default ActDtmplView;
46
+ //# sourceMappingURL=act-dtmpl-view.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"act-dtmpl-view.d.ts","sourceRoot":"","sources":["../../../../../src/components/detail/view/act-dtmpl-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAC,cAAc,EAAE,WAAW,EAAE,SAAS,EAAC,MAAM,sBAAsB,CAAC;AAI5E,OAAO,cAAc,CAAC;AAMtB,MAAM,WAAW,iBAAkB,SAAQ,cAAc;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,gBAAgB;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,WAAW,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,OAAO,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,cAAM,YAAa,SAAQ,KAAK,CAAC,aAAa,CAAC,iBAAiB,EAAE,gBAAgB,CAAC;IAC/E,MAAM,CAAC,YAAY;;;MAGlB;IAED,KAAK;;;;;;;;;;;;;;;MAWJ;IAEK,iBAAiB;IAuBvB,SAAS,sBAIP;IAEF,MAAM,aAGL;IAED,YAAY,aAOX;IAED,eAAe,aAOd;IAGD,UAAU,aAET;IAED,MAAM;CAgDT;AAGD,eAAe,YAAY,CAAC"}
@@ -0,0 +1,110 @@
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, Tooltip } from 'antd';
12
+ import { ReloadOutlined, ScheduleOutlined, EditOutlined } from '@ant-design/icons';
13
+ import HCDataSource from "../../tmpl/hc-data-source";
14
+ import '../dtmpl.css';
15
+ import SnapshotTimeline from "./snapshot-timeline";
16
+ import DtmplView from "./dtmpl-view";
17
+ import Units from '../../units';
18
+ ;
19
+ ;
20
+ class ActDtmplView extends React.PureComponent {
21
+ constructor() {
22
+ super(...arguments);
23
+ this.state = {
24
+ loading: true,
25
+ dtmplConfig: undefined,
26
+ snapshotVisible: false,
27
+ dtmplData: undefined,
28
+ premisesTitle: "默认字段",
29
+ layout: {
30
+ labelCol: { span: 8 },
31
+ wrapperCol: { span: 16 },
32
+ },
33
+ refreshCode: undefined
34
+ };
35
+ // async componentDidUpdate(prevProps) {
36
+ // const {sourceName, sourceId, code, versionId} = this.props;
37
+ // const {code: preCode, versionId: preVersionId} = prevProps;
38
+ // if (code != preCode || (versionId && versionId != prevProps)) {
39
+ // await this.loadData();
40
+ // }
41
+ // }
42
+ //
43
+ // const layout = {
44
+ // labelCol: {span: 8},
45
+ // wrapperCol: {span: 16},
46
+ // };
47
+ this.doRefresh = () => __awaiter(this, void 0, void 0, function* () {
48
+ this.setState({
49
+ refreshCode: Units.getRandomNum(6)
50
+ });
51
+ });
52
+ this.goEdit = () => {
53
+ const { goDtmpl, code } = this.props;
54
+ goDtmpl(code);
55
+ };
56
+ this.showSnapshot = () => {
57
+ this.setState({
58
+ snapshotVisible: true,
59
+ });
60
+ };
61
+ this.onSnapshotClose = () => {
62
+ this.setState({
63
+ snapshotVisible: false,
64
+ });
65
+ };
66
+ this.toSnapshot = () => {
67
+ };
68
+ }
69
+ componentDidMount() {
70
+ return __awaiter(this, void 0, void 0, function* () {
71
+ const { sourceId, code, versionId } = this.props;
72
+ let dtmplConfig = yield HCDataSource.requestDtmplConfig(sourceId);
73
+ this.setState({
74
+ dtmplConfig,
75
+ });
76
+ });
77
+ }
78
+ render() {
79
+ const { showRightNav, rightBarPositionRight, code, sourceId, goDtmpl } = this.props;
80
+ const { dtmplConfig, premisesTitle, loading, dtmplData, layout, snapshotVisible, refreshCode } = this.state;
81
+ const buttons = dtmplConfig ? dtmplConfig.buttons : undefined;
82
+ const premises = dtmplConfig ? dtmplConfig.premises : undefined;
83
+ let showRightNav_ = showRightNav;
84
+ if (dtmplConfig && dtmplConfig.groups.length < 4) {
85
+ showRightNav_ = false;
86
+ }
87
+ return (React.createElement("div", { className: `detailPage ${showRightNav_ ? 'showRightNav' : 'noRightNav'}` },
88
+ React.createElement(Card, { bordered: false, key: "detailTitle", className: "hoverable pageHeader" },
89
+ React.createElement("h3", null,
90
+ '详情',
91
+ React.createElement("div", { className: "fr" },
92
+ buttons && buttons.includes("dtmplEdit") && goDtmpl && !dtmplConfig.editAction ?
93
+ React.createElement(Button, { className: "hoverbig", onClick: this.goEdit },
94
+ React.createElement(EditOutlined, null)) : "",
95
+ buttons && buttons.includes("history") ?
96
+ React.createElement(Tooltip, { title: "\u6570\u636E\u5FEB\u7167" },
97
+ React.createElement(Button, { className: "hoverbig", onClick: this.showSnapshot },
98
+ React.createElement(ScheduleOutlined, null))) : "",
99
+ React.createElement(Button, { className: "hoverbig", title: "\u5237\u65B0", onClick: this.doRefresh },
100
+ React.createElement(ReloadOutlined, null)),
101
+ React.createElement(SnapshotTimeline, { dtmplConfig: dtmplConfig, code: code, onClose: this.onSnapshotClose, showSnapshot: this.toSnapshot, sourceId: sourceId, visible: snapshotVisible })))),
102
+ React.createElement(DtmplView, { refreshCode: refreshCode, showRightNav: showRightNav_, rightBarPositionRight: rightBarPositionRight, dtmplConfig: dtmplConfig, sourceId: sourceId, code: code })));
103
+ }
104
+ }
105
+ ActDtmplView.defaultProps = {
106
+ showRightNav: true,
107
+ rightBarPositionRight: 15,
108
+ };
109
+ export default ActDtmplView;
110
+ //# sourceMappingURL=act-dtmpl-view.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"act-dtmpl-view.js","sourceRoot":"","sources":["../../../../../src/components/detail/view/act-dtmpl-view.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAC,MAAM,E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5B,CAAA;AA2HL,eAAe,YAAY,CAAC"}
@@ -0,0 +1,42 @@
1
+ import React from 'react';
2
+ import { DtmplBaseProps, DtmplConfig, DtmplData } from "../../tmpl/interface";
3
+ import '../dtmpl.css';
4
+ export interface DtmplViewProps extends DtmplBaseProps {
5
+ versionId?: number;
6
+ dtmplConfig: DtmplConfig;
7
+ refreshCode?: string;
8
+ }
9
+ export interface DtmplViewStat {
10
+ id?: string;
11
+ loading: boolean;
12
+ dtmplData: DtmplData;
13
+ premisesTitle: string;
14
+ layout: object;
15
+ }
16
+ declare class DtmplView extends React.PureComponent<DtmplViewProps, DtmplViewStat> {
17
+ static defaultProps: {
18
+ showRightNav: boolean;
19
+ };
20
+ state: {
21
+ loading: boolean;
22
+ id: string;
23
+ snapshotVisible: boolean;
24
+ dtmplData: any;
25
+ premisesTitle: string;
26
+ layout: {
27
+ labelCol: {
28
+ span: number;
29
+ };
30
+ wrapperCol: {
31
+ span: number;
32
+ };
33
+ };
34
+ };
35
+ componentDidMount(): Promise<void>;
36
+ componentDidUpdate(prevProps: any): Promise<void>;
37
+ loadData: () => Promise<void>;
38
+ fieldGroupList: () => JSX.Element[];
39
+ render(): JSX.Element;
40
+ }
41
+ export default DtmplView;
42
+ //# sourceMappingURL=dtmpl-view.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dtmpl-view.d.ts","sourceRoot":"","sources":["../../../../../src/components/detail/view/dtmpl-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAC,cAAc,EAAE,WAAW,EAAE,SAAS,EAAmB,MAAM,sBAAsB,CAAC;AAK9F,OAAO,cAAc,CAAC;AAMtB,MAAM,WAAW,cAAe,SAAQ,cAAc;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,WAAW,CAAC;IACzB,WAAW,CAAC,EAAC,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,aAAa;IAC1B,EAAE,CAAC,EAAC,MAAM,CAAC;IACX,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,SAAS,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,cAAM,SAAU,SAAQ,KAAK,CAAC,aAAa,CAAC,cAAc,EAAE,aAAa,CAAC;IACtE,MAAM,CAAC,YAAY;;MAElB;IAED,KAAK;;;;;;;;;;;;;;MAUJ;IAEK,iBAAiB;IAIjB,kBAAkB,CAAC,SAAS,KAAA;IAQlC,QAAQ,sBAWP;IAED,cAAc,sBAqCb;IAED,MAAM;CA8BT;AAGD,eAAe,SAAS,CAAC"}