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,223 @@
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 "./index.css";
12
+ import TableUnits from "./table-util";
13
+ import SupportInputTypes from '../tmpl/control-type-supportor';
14
+ import HCDataSource from '../tmpl/hc-data-source';
15
+ import HcserviceV3 from "../tmpl/hcservice-v3";
16
+ import QueryTable from './query-table';
17
+ import CriteriaForm from "../form/criteria-form";
18
+ import ViewControl from "../controls/view-control";
19
+ ;
20
+ ;
21
+ class SelectTable extends React.PureComponent {
22
+ constructor() {
23
+ super(...arguments);
24
+ this.state = {
25
+ selectConfig: undefined,
26
+ columns: undefined,
27
+ queryKey: undefined,
28
+ loading: true,
29
+ criteriaData: undefined,
30
+ disableCols: undefined,
31
+ };
32
+ this.loadData = (selectConfig, criteriaData) => __awaiter(this, void 0, void 0, function* () {
33
+ this.setState({
34
+ loading: true,
35
+ });
36
+ const { defaultPageSize } = selectConfig;
37
+ let pageInfo = {
38
+ pageNo: 1,
39
+ pageSize: defaultPageSize ? defaultPageSize : 10,
40
+ virtualEndPageNo: undefined,
41
+ };
42
+ const { sourceId } = this.props;
43
+ /** 构建 dataSource **/
44
+ //构建过滤条件
45
+ let queryKey = yield HcserviceV3.requestLtmplQueryKey(sourceId, Object.assign(Object.assign({}, criteriaData), pageInfo));
46
+ this.setState({
47
+ queryKey,
48
+ criteriaData,
49
+ loading: false,
50
+ });
51
+ });
52
+ this.loadConfig = () => __awaiter(this, void 0, void 0, function* () {
53
+ const { sourceId } = this.props;
54
+ this.setState({
55
+ loading: true,
56
+ });
57
+ let selectConfig = yield HCDataSource.requestSelectConfig(sourceId);
58
+ /** 构建column **/
59
+ let columns = [];
60
+ let s = 0;
61
+ selectConfig.columns.forEach((item) => {
62
+ let column = {};
63
+ if (item.title != "操作") {
64
+ columns.push(column);
65
+ }
66
+ column['title'] = item.title;
67
+ column['dataIndex'] = item.id;
68
+ // column['ellipsis']= true;
69
+ s++;
70
+ let itemType = SupportInputTypes.getSupportControlType(item);
71
+ if (s < 10) {
72
+ TableUnits.sort(column, itemType);
73
+ }
74
+ //特殊列处理
75
+ //序号
76
+ if (item.title === "序号") {
77
+ //item.fixed='left';
78
+ column['render'] = (text, record, index) => (React.createElement("label", null, index + 1));
79
+ item['sorter'] = undefined;
80
+ }
81
+ else {
82
+ column['render'] = (text, record) => {
83
+ return React.createElement(ViewControl, { holderType: 'table', fieldConfig: item, value: record[item.id] });
84
+ };
85
+ }
86
+ });
87
+ this.setState({
88
+ columns,
89
+ selectConfig,
90
+ loading: false,
91
+ });
92
+ return selectConfig;
93
+ });
94
+ this.doSearch = (params_) => __awaiter(this, void 0, void 0, function* () {
95
+ const { selectConfig } = this.state;
96
+ let params = Object.assign({}, params_);
97
+ yield this.loadData(selectConfig, params);
98
+ });
99
+ // handleOk = () => {
100
+ // this.props.onOK(this.state.selectedRows);
101
+ // this.setState({
102
+ // selectedRows: [],
103
+ // queryKey: undefined,
104
+ // })
105
+ // }
106
+ // handleCancel = () => {
107
+ // this.setState({
108
+ // // selectedRows: [],//暂不置空
109
+ // queryKey: undefined,
110
+ // })
111
+ // this.props.onCancel();
112
+ //
113
+ // }
114
+ this.changeRowSelection = (selectedRows_, selectedDatas_, allRowKeys) => {
115
+ console.log('changeRowSelection:', allRowKeys);
116
+ let selectedRows_new;
117
+ let selectedDatas_new = [];
118
+ const { selectedRows, selectedDatas, onChange, maxSelectedRows } = this.props;
119
+ if (allRowKeys) {
120
+ let selectedKeys = [];
121
+ let selectedRows_1 = [];
122
+ if (maxSelectedRows != 1) {
123
+ selectedRows_1.push(...selectedRows);
124
+ }
125
+ //先追加
126
+ let contains = false;
127
+ for (let s1 of selectedRows_) {
128
+ contains = false;
129
+ for (let s2 of selectedRows_1) {
130
+ if (s1.code == s2.code) {
131
+ contains = true;
132
+ }
133
+ }
134
+ if (!contains) {
135
+ selectedRows_1.push(s1);
136
+ }
137
+ selectedKeys.push(s1.code);
138
+ }
139
+ //再删除
140
+ let selectedRows_2 = [];
141
+ selectedRows_2.push(...selectedRows_1);
142
+ for (let row of selectedRows_1) {
143
+ if (allRowKeys.includes(row.code) && !selectedKeys.includes(row.code)) {
144
+ for (let i in selectedRows_2) {
145
+ let s = selectedRows_2[i];
146
+ if (s.code == row.code) {
147
+ selectedRows_2.splice(Number(i), 1);
148
+ }
149
+ }
150
+ }
151
+ }
152
+ selectedRows_new = selectedRows_2;
153
+ }
154
+ else {
155
+ selectedRows_new = selectedRows_;
156
+ }
157
+ let selectedDatas_1 = [...selectedDatas, ...selectedDatas_];
158
+ for (let s of selectedRows_new) {
159
+ for (let d of selectedDatas_1) {
160
+ if (d.code == s.code) {
161
+ selectedDatas_new.push(d);
162
+ }
163
+ }
164
+ }
165
+ onChange(selectedRows_new, selectedDatas_new);
166
+ };
167
+ }
168
+ componentDidMount() {
169
+ return __awaiter(this, void 0, void 0, function* () {
170
+ const { sourceId } = this.props;
171
+ // if (sourceName && visible) {
172
+ // if (sourceName) {
173
+ yield this.loadData(yield this.loadConfig(), {});
174
+ // }
175
+ });
176
+ }
177
+ componentDidUpdate(prevProps) {
178
+ return __awaiter(this, void 0, void 0, function* () {
179
+ const {} = this.props;
180
+ const { selectConfig, criteriaData, queryKey, loading } = this.state;
181
+ const { exceptCodes: preExceptCodes, visible: preVisible } = prevProps;
182
+ let config = selectConfig;
183
+ //if (visible) {
184
+ if (!config) {
185
+ config = yield this.loadConfig();
186
+ }
187
+ if (!queryKey && !loading) {
188
+ yield this.loadData(config, criteriaData);
189
+ }
190
+ //}
191
+ });
192
+ }
193
+ render() {
194
+ let { maxSelectedRows, selectedRows, selectedDatas } = this.props;
195
+ let { queryKey, columns, selectConfig, criteriaData, loading } = this.state;
196
+ if (!selectConfig) {
197
+ return React.createElement(React.Fragment, null);
198
+ }
199
+ let { buttons, criterias, jumps, actions } = selectConfig;
200
+ let displayCriteriaCard = false;
201
+ if (buttons.includes('delete') || (buttons.includes('query') && criterias && criterias.length > 0) ||
202
+ (actions && actions.length > 0) || (jumps && jumps.length > 0)) {
203
+ displayCriteriaCard = true;
204
+ }
205
+ return (
206
+ // <Card
207
+ // // title={<SelectedRowsCard value={selectedRows} onChange={this.changeRowSelection}></SelectedRowsCard>}
208
+ // style={{width: 1100,maxWidth: 'calc(100vw - 60px)', maxHeight: 'calc(100vh - 50px)'}}
209
+ // // onOk={this.handleOk}
210
+ // >
211
+ React.createElement("div", { className: "actTable" },
212
+ React.createElement(CriteriaForm, { selectedRows: selectedRows, selectedDatas: selectedDatas, ltmplConfig: selectConfig, data: criteriaData, doSearch: this.doSearch, loading: loading }),
213
+ React.createElement(QueryTable, { maxSelectedRows: maxSelectedRows, selectedRows: selectedRows, columns: columns, defaultPageSize: selectConfig.defaultPageSize, queryKey: queryKey, onChangeRowSelection: this.changeRowSelection }))
214
+ // </Card>
215
+ );
216
+ }
217
+ }
218
+ SelectTable.defaultProps = {
219
+ maxSelectedRows: 1000,
220
+ selectedDatas: [],
221
+ };
222
+ export default SelectTable;
223
+ //# sourceMappingURL=select-table.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select-table.js","sourceRoot":"","sources":["../../../../src/components/table/select-table.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,aAAa,CAAA;AAEpB,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,iBAAiB,MAAM,gCAAgC,CAAC;AAC/D,OAAO,YAAY,MAAM,wBAAwB,CAAC;AAClD,OAAO,WAAW,MAAM,sBAAsB,CAAC;AAC/C,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,YAAY,MAAM,uBAAuB,CAAC;AACjD,OAAO,WAAW,MAAM,0BAA0B,CAAC;AAUlD,CAAC;AAQD,CAAC;AAEF,MAAM,WAAY,SAAQ,KAAK,CAAC,aAAgD;IAAhF;;QAKI,UAAK,GAAG;YACJ,YAAY,EAAE,SAAS;YACvB,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,SAAS;YACnB,OAAO,EAAE,IAAI;YACb,YAAY,EAAE,SAAS;YACvB,WAAW,EAAE,SAAS;SACzB,CAAA;QAED,aAAQ,GAAG,CAAO,YAA0B,EAAE,YAAoB,EAAE,EAAE;YAClE,IAAI,CAAC,QAAQ,CAAC;gBACV,OAAO,EAAE,IAAI;aAChB,CAAC,CAAA;YACF,MAAM,EAAC,eAAe,EAAC,GAAG,YAAY,CAAC;YACvC,IAAI,QAAQ,GAAG;gBACX,MAAM,EAAE,CAAC;gBACT,QAAQ,EAAE,eAAe,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE;gBAChD,gBAAgB,EAAE,SAAS;aAC9B,CAAA;YACD,MAAM,EAAC,QAAQ,EAAC,GAAG,IAAI,CAAC,KAAK,CAAC;YAC9B,qBAAqB;YACjB,QAAQ;YACZ,IAAI,QAAQ,GAAa,MAAM,WAAW,CAAC,oBAAoB,CAAC,QAAQ,kCAAM,YAAY,GAAK,QAAQ,EAAE,CA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AAY,GAAG;IAClB,eAAe,EAAE,IAAI;IACrB,aAAa,EAAC,EAAE;CACnB,CAAA;AAqNL,eAAe,WAAW,CAAC"}
@@ -0,0 +1,16 @@
1
+ import React from "react";
2
+ import { SelectedRow } from "../tmpl/interface";
3
+ import './pagination.css';
4
+ interface SelectedRowsCardProps {
5
+ value: SelectedRow[];
6
+ onChange?: (value: SelectedRow[]) => void;
7
+ }
8
+ interface SelectedRowsCardStat {
9
+ }
10
+ declare class SelectedRowsCard extends React.PureComponent<SelectedRowsCardProps, SelectedRowsCardStat> {
11
+ handleClose: (row: SelectedRow) => void;
12
+ renderTag: () => any[] | "";
13
+ render(): JSX.Element;
14
+ }
15
+ export default SelectedRowsCard;
16
+ //# sourceMappingURL=selected-rows-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selected-rows-card.d.ts","sourceRoot":"","sources":["../../../../src/components/table/selected-rows-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAW,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAExD,OAAO,kBAAkB,CAAC;AAE1B,UAAU,qBAAqB;IAC3B,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAE,KAAK,EAAE,WAAW,EAAE,KAAK,IAAI,CAAC;CAC9C;AAED,UAAU,oBAAoB;CAE7B;AAGD,cAAM,gBAAiB,SAAQ,KAAK,CAAC,aAAa,CAAC,qBAAqB,EAAE,oBAAoB,CAAC;IAE3F,WAAW,QAAM,WAAW,UAY3B;IAED,SAAS,mBAkBR;IAGD,MAAM;CAOT;AAED,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,47 @@
1
+ import React from "react";
2
+ import { Tag } from 'antd';
3
+ import './pagination.css';
4
+ ;
5
+ ;
6
+ class SelectedRowsCard extends React.PureComponent {
7
+ constructor() {
8
+ super(...arguments);
9
+ this.handleClose = (row) => {
10
+ const { onChange, value } = this.props;
11
+ if (onChange) {
12
+ const value_1 = [];
13
+ for (let v of value) {
14
+ if (v.code != row.code) {
15
+ value_1.push(v);
16
+ }
17
+ }
18
+ onChange(value_1);
19
+ }
20
+ };
21
+ this.renderTag = () => {
22
+ const { value } = this.props;
23
+ const tags = [];
24
+ if (value) {
25
+ value.forEach((v, index) => {
26
+ let title = (v.title instanceof Array) ? v.title[0] : v.title;
27
+ tags.push(React.createElement(Tag, { key: index, style: { fontSize: 14 }, color: "geekblue", closable: true, onClose: e => {
28
+ e.preventDefault();
29
+ this.handleClose(v);
30
+ } }, title && title.includes("@R@") ? title.split("@R@")[1] : v.title));
31
+ });
32
+ }
33
+ else {
34
+ return "";
35
+ }
36
+ return tags;
37
+ };
38
+ }
39
+ render() {
40
+ return React.createElement("div", null,
41
+ React.createElement("h3", null,
42
+ "\u67E5\u8BE2\u70B9\u9009\uFF1A",
43
+ this.renderTag()));
44
+ }
45
+ }
46
+ export default SelectedRowsCard;
47
+ //# sourceMappingURL=selected-rows-card.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selected-rows-card.js","sourceRoot":"","sources":["../../../../src/components/table/selected-rows-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAA+B,GAAG,EAAC,MAAM,MAAM,CAAC;AACvD,OAAO,kBAAkB,CAAC;AAKzB,CAAC;AAID,CAAC;AAGF,MAAM,gBAAiB,SAAQ,KAAK,CAAC,aAA0D;IAA/F;;QAEI,gBAAW,GAAC,CAAC,GAAe,EAAC,EAAE;YAC3B,MAAM,EAAC,QAAQ,EAAC,KAAK,EAAC,GAAC,IAAI,CAAC,KAAK,CAAC;YAClC,IAAG,QAAQ,EAAC;gBACR,MAAM,OAAO,GAAe,EAAE,CAAC;gBAChC,KAAI,IAAI,CAAC,IAAI,KAAK,EAAC;oBACf,IAAG,CAAC,CAAC,IAAI,IAAE,GAAG,CAAC,IAAI,EAAC;wBAChB,OAAO,CAAC,IAAI,CAAC,C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{ FormInstance } from "antd";
3
+ import { FieldConfig } from "../../tmpl/interface";
4
+ import '../pagination.css';
5
+ interface RestatProps {
6
+ onfinish: () => void;
7
+ fields: FieldConfig[];
8
+ value?: object;
9
+ sourceId: string;
10
+ }
11
+ interface RestatStat {
12
+ popoverVisible: boolean;
13
+ loading: boolean;
14
+ }
15
+ declare class Restat extends React.PureComponent<RestatProps, RestatStat> {
16
+ static defaultProps: {};
17
+ state: {
18
+ popoverVisible: boolean;
19
+ loading: boolean;
20
+ };
21
+ formRef: React.RefObject<FormInstance<any>>;
22
+ onRestat: (val: any) => Promise<void>;
23
+ render(): JSX.Element;
24
+ }
25
+ export default Restat;
26
+ //# sourceMappingURL=restat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"restat.d.ts","sourceRoot":"","sources":["../../../../../src/components/table/stat/restat.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAiC,YAAY,EAAsC,MAAM,MAAM,CAAC;AAEvG,OAAO,EAAC,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,mBAAmB,CAAC;AAG3B,UAAU,WAAW;IACjB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAC,MAAM,CAAC;CACnB;AAED,UAAU,UAAU;IAChB,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAC,OAAO,CAAC;CACnB;AAED,cAAM,MAAO,SAAQ,KAAK,CAAC,aAAa,CAAC,WAAW,EAAE,UAAU,CAAC;IAE7D,MAAM,CAAC,YAAY,KAAK;IACxB,KAAK;;;MAGJ;IACD,OAAO,qCAAmC;IAC1C,QAAQ,8BAUP;IAED,MAAM;CAqCT;AAED,eAAe,MAAM,CAAC"}
@@ -0,0 +1,61 @@
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, Form as AntdForm, Popover, Space, Tooltip } from "antd";
12
+ import { CalculatorOutlined, CloseOutlined } from "@ant-design/icons";
13
+ import '../pagination.css';
14
+ import FormItemGroup from "../../form/form-Item-group";
15
+ import HcserviceV3 from "../../tmpl/hcservice-v3";
16
+ ;
17
+ ;
18
+ class Restat extends React.PureComponent {
19
+ constructor() {
20
+ super(...arguments);
21
+ this.state = {
22
+ popoverVisible: false,
23
+ loading: false,
24
+ };
25
+ this.formRef = React.createRef();
26
+ this.onRestat = (val) => __awaiter(this, void 0, void 0, function* () {
27
+ const { sourceId, onfinish } = this.props;
28
+ this.setState({
29
+ loading: true,
30
+ });
31
+ yield HcserviceV3.increCalc(sourceId, val);
32
+ this.setState({
33
+ loading: false,
34
+ });
35
+ onfinish();
36
+ });
37
+ }
38
+ render() {
39
+ const { popoverVisible, loading } = this.state;
40
+ const { fields, value } = this.props;
41
+ return React.createElement(Popover, { visible: popoverVisible, content: React.createElement(Card, { loading: loading, style: { width: 1000 }, title: "重新统计", bodyStyle: { overflow: 'auto' }, extra: React.createElement(React.Fragment, null,
42
+ React.createElement(Space, { size: [8, 0] },
43
+ React.createElement(Button, { type: "primary", onClick: () => {
44
+ this.formRef.current.submit();
45
+ } }, "\u786E\u5B9A"),
46
+ React.createElement(Button, { onClick: () => {
47
+ this.setState({ popoverVisible: false });
48
+ } },
49
+ React.createElement(CloseOutlined, null)))) },
50
+ React.createElement(AntdForm, { labelWrap: true, ref: this.formRef, name: "control-hooks", onFinish: this.onRestat },
51
+ React.createElement(FormItemGroup, { nameAttr: 'id', fields: fields, valueMap: value }))), placement: "bottomLeft", trigger: "click" },
52
+ React.createElement(Tooltip, { title: '重新统计' },
53
+ React.createElement(Button, { onClick: () => {
54
+ this.setState({ popoverVisible: !popoverVisible });
55
+ } },
56
+ React.createElement(CalculatorOutlined, null))));
57
+ }
58
+ }
59
+ Restat.defaultProps = {};
60
+ export default Restat;
61
+ //# sourceMappingURL=restat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"restat.js","sourceRoot":"","sources":["../../../../../src/components/table/stat/restat.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,MAAM,EAAE,IAAI,EAAE,IAAI,IAAI,QAAQ,EAA4B,OAAO,EAAE,KAAK,EAAE,OAAO,EAAC,MAAM,MAAM,CAAC;AACvG,OAAO,EAAC,kBAAkB,EAAE,aAAa,EAAC,MAAM,mBAAmB,CAAA;AAEnE,OAAO,mBAAmB,CAAC;AAC3B,OAAO,aAAa,MAAM,4BAA4B,CAAC;AACvD,OAAO,WAAW,MAAM,yBAAyB,CAAC;AAMjD,CAAC;AAKD,CAAC;AAEF,MAAM,MAAO,SAAQ,KAAK,CAAC,aAAsC;IAAjE;;QAGI,UAAK,GAAG;YACJ,cAAc,EAAE,KAAK;YACrB,OAAO,EAAC,KAAK;SAChB,CAAA;QACD,YAAO,GAAG,KAAK,CAAC,SAAS,EAAgB,CAAC;QAC1C,aAAQ,GAAE,CAAO,GAAG,EAAE,EAAE;YACpB,MAAM,EAAC,QAAQ,EAAC,QAAQ,EAAC,GAAC,IAAI,CAAC,KAAK,CAAC;YACrC,IAAI,CAAC,QAAQ,CAAC;gBACV,OAAO,EAAC,IAAI;aACf,CAAC,CAAA;YACH,MAAM,WAAW,CAAC,SAAS,CAAC,QAAQ,EAAC,GAAG,CAAC,CAAC;YACzC,IAAI,CAAC,QAAQ,CAAC;gBACV,O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AAC,KAAK,EAAE,MAAM;gBAAE,oBAAC,MAAM,IAAC,OAAO,EAAE,GAAG,EAAE;wBAC1C,IAAI,CAAC,QAAQ,CAAC,EAAC,cAAc,EAAE,CAAC,cAAc,EAAC,CAAC,CAAC;oBACrD,CAAC;oBACG,oBAAC,kBAAkB,OAAE,CAChB,CAAU,CACb,CAAA;IACd,CAAC;;AAtDM,mBAAY,GAAG,EAAE,CAAA;AAyD5B,eAAe,MAAM,CAAC"}
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ sort(col: any, itemType: string): void;
3
+ };
4
+ export default _default;
5
+ //# sourceMappingURL=table-util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-util.d.ts","sourceRoot":"","sources":["../../../../src/components/table/table-util.tsx"],"names":[],"mappings":";6BAQwB,MAAM;;AAD9B,wBAyBC"}
@@ -1,25 +1,21 @@
1
- import moment from "moment";
2
- import Units from "../units";
3
- import {Badge, Tag} from "antd";
4
- import React from "react";
5
- import {EnumItem, FieldConfig} from "../tmpl/interface";
6
- import ViewControl from "../controls/view-control";
7
-
8
1
  export default {
9
- sort(col, itemType: string) {
10
- let colName=col['dataIndex'];
2
+ sort(col, itemType) {
3
+ let colName = col['dataIndex'];
11
4
  if (itemType === "decimal" || itemType === "int" || itemType === "float" || itemType === "double") { //排序b
12
5
  col["sorter"] = (a, b) => a[colName] - b[colName];
13
- } else if (itemType === "text" || itemType === "textarea" || itemType === "date" || itemType === "datetime") {
6
+ }
7
+ else if (itemType === "text" || itemType === "textarea" || itemType === "date" || itemType === "datetime") {
14
8
  col["sorter"] = (a, b) => a[colName] ? a[colName].localeCompare(b[colName], 'zh-CN') : -1;
15
- } else {
16
- col["sorter"] = (a, b) => { //排序
9
+ }
10
+ else {
11
+ col["sorter"] = (a, b) => {
17
12
  if (a[colName] && b[colName] && a[colName].localeCompare) {
18
13
  return a[colName] ? a[colName].localeCompare(b[colName], 'zh-CN') : -1;
19
- } else {
14
+ }
15
+ else {
20
16
  return 1;
21
17
  }
22
- }
18
+ };
23
19
  }
24
20
  col['defaultSortOrder'] = 'ascend';
25
21
  col['showSorterTooltip'] = false;
@@ -30,4 +26,5 @@ export default {
30
26
  // return <ViewControl fieldConfig={fieldConfig}/>
31
27
  // }
32
28
  // }
33
- }
29
+ };
30
+ //# sourceMappingURL=table-util.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-util.js","sourceRoot":"","sources":["../../../../src/components/table/table-util.tsx"],"names":[],"mappings":"AAOA,eAAe;IACX,IAAI,CAAC,GAAG,EAAE,QAAgB;QACtB,IAAI,OAAO,GAAC,GAAG,CAAC,WAAW,CAAC,CAAC;QAC7B,IAAI,QAAQ,KAAK,SAAS,IAAI,QAAQ,KAAK,KAAK,IAAI,QAAQ,KAAK,OAAO,IAAI,QAAQ,KAAK,QAAQ,EAAE,EAAE,KAAK;YACtG,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC;SACrD;aAAM,IAAI,QAAQ,KAAK,MAAM,IAAI,QAAQ,KAAK,UAAU,IAAI,QAAQ,KAAK,MAAM,IAAI,QAAQ,KAAK,UAAU,EAAE;YACzG,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;SAC7F;aAAM;YACH,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;gBACrB,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,aAAa,EAAE;oBACtD,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;iBAC1E;qBAAM;oBACH,OAAO,CAAC,CAAC;iBACZ;YACL,CAAC,CAAA;SACJ;QACD,GAAG,CAAC,kBAAkB,CAAC,GAAG,QAAQ,CAAC;QACnC,GAAG,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC;IACrC,CAAC;IACD,GAAG;IACH,6CAA6C;IAC7C,6CAA6C;IAC7C,0DAA0D;IAC1D,QAAQ;IACR,IAAI;CACP,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { FieldBase, FieldConfig } from "./interface";
2
+ declare function ControlTypeSupportor(): void;
3
+ declare namespace ControlTypeSupportor {
4
+ var isSupport: (type: string) => boolean;
5
+ var getSupportControlType: (fieldConfig: FieldBase) => string;
6
+ var getControlType: (fieldConfig: FieldConfig, fieldValue: any) => string;
7
+ }
8
+ export default ControlTypeSupportor;
9
+ //# sourceMappingURL=control-type-supportor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"control-type-supportor.d.ts","sourceRoot":"","sources":["../../../../src/components/tmpl/control-type-supportor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAyB,SAAS,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AA+D3E,iBAAS,oBAAoB,SAE5B;kBAFQ,oBAAoB;;;;;AAiC7B,eAAgB,oBAAoB,CAAC"}
@@ -1,7 +1,4 @@
1
- import {ColumnConfig, EnumItem, FieldBase, FieldConfig} from "./interface";
2
- import HCDataSource from "./hc-data-source";
3
-
4
- const SupportInputTypes:Set<string>=new Set<string>();
1
+ const SupportInputTypes = new Set();
5
2
  SupportInputTypes.add('date-YY');
6
3
  SupportInputTypes.add('daterange-YY');
7
4
  SupportInputTypes.add('date-M1');
@@ -15,15 +12,12 @@ SupportInputTypes.add('datetimerange-mm');
15
12
  SupportInputTypes.add('datetime');
16
13
  SupportInputTypes.add('datetimerange');
17
14
  SupportInputTypes.add('timestamp');
18
-
19
-
20
15
  SupportInputTypes.add('time-HH');
21
16
  SupportInputTypes.add('timerange-HH');
22
17
  SupportInputTypes.add('time-mm');
23
18
  SupportInputTypes.add('timerange-mm');
24
19
  SupportInputTypes.add('time');
25
20
  SupportInputTypes.add('timerange');
26
-
27
21
  SupportInputTypes.add('text');
28
22
  SupportInputTypes.add('textarea');
29
23
  SupportInputTypes.add('html');
@@ -40,16 +34,13 @@ SupportInputTypes.add('relation');
40
34
  SupportInputTypes.add('file');
41
35
  SupportInputTypes.add('picture');
42
36
  SupportInputTypes.add('chemstruc');
43
- SupportInputTypes.add('signature');//签名组件
44
-
37
+ SupportInputTypes.add('signature'); //签名组件
45
38
  SupportInputTypes.add('decimal');
46
39
  SupportInputTypes.add('float');
47
40
  SupportInputTypes.add('double');
48
41
  SupportInputTypes.add('int');
49
42
  SupportInputTypes.add('relselect');
50
43
  SupportInputTypes.add('refselect');
51
-
52
-
53
44
  SupportInputTypes.add('range');
54
45
  SupportInputTypes.add('intrange');
55
46
  SupportInputTypes.add('decimalrange');
@@ -59,39 +50,36 @@ SupportInputTypes.add('entity-select');
59
50
  SupportInputTypes.add('table-entity-select');
60
51
  SupportInputTypes.add('modal-entity-select');
61
52
  SupportInputTypes.add('color');
62
-
63
53
  SupportInputTypes.add('hidden');
64
- function ControlTypeSupportor(){
65
-
54
+ function ControlTypeSupportor() {
66
55
  }
67
- ControlTypeSupportor.isSupport=function(type:string):boolean {
68
- if(type){
56
+ ControlTypeSupportor.isSupport = function (type) {
57
+ if (type) {
69
58
  return SupportInputTypes.has(type);
70
- }else{
59
+ }
60
+ else {
71
61
  return false;
72
62
  }
73
-
74
63
  };
75
- ControlTypeSupportor.getSupportControlType=function(fieldConfig:FieldBase):string{
76
- if(this.isSupport(fieldConfig.extControlType)){
64
+ ControlTypeSupportor.getSupportControlType = function (fieldConfig) {
65
+ if (this.isSupport(fieldConfig.extControlType)) {
77
66
  return fieldConfig.extControlType;
78
- }else if(this.isSupport(fieldConfig.controlType)){
67
+ }
68
+ else if (this.isSupport(fieldConfig.controlType)) {
79
69
  return fieldConfig.controlType;
80
- }else{
70
+ }
71
+ else {
81
72
  return 'text';
82
73
  }
83
74
  };
84
-
85
- ControlTypeSupportor.getControlType=function(fieldConfig: FieldConfig, fieldValue: any) {
86
- let itemType: string;
75
+ ControlTypeSupportor.getControlType = function (fieldConfig, fieldValue) {
76
+ let itemType;
87
77
  itemType = this.getSupportControlType(fieldConfig);
88
78
  //对关系属性之文件进行特殊处理
89
79
  if (!!fieldValue && typeof (fieldValue) == 'string' && fieldValue.indexOf('@R@') === -1 && itemType === "relselect" && fieldValue.indexOf('download-files/') != -1) {
90
80
  itemType = "file";
91
81
  }
92
82
  return itemType;
93
- }
94
-
95
-
96
-
97
- export default ControlTypeSupportor;
83
+ };
84
+ export default ControlTypeSupportor;
85
+ //# sourceMappingURL=control-type-supportor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"control-type-supportor.js","sourceRoot":"","sources":["../../../../src/components/tmpl/control-type-supportor.tsx"],"names":[],"mappings":"AAGA,MAAM,iBAAiB,GAAa,IAAI,GAAG,EAAU,CAAC;AACtD,iBAAiB,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;AACjC,iBAAiB,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;AACtC,iBAAiB,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;AACjC,iBAAiB,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;AACtC,iBAAiB,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AAC9B,iBAAiB,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;AACnC,iBAAiB,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;AACrC,iBAAiB,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;AAC1C,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BAAqB,GAAC,UAAS,WAAqB;IACrE,IAAG,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,cAAc,CAAC,EAAC;QAC1C,OAAO,WAAW,CAAC,cAAc,CAAC;KACrC;SAAK,IAAG,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,WAAW,CAAC,EAAC;QAC7C,OAAO,WAAW,CAAC,WAAW,CAAC;KAClC;SAAI;QACD,OAAO,MAAM,CAAC;KACjB;AACL,CAAC,CAAC;AAEF,oBAAoB,CAAC,cAAc,GAAC,UAAS,WAAwB,EAAE,UAAe;IAClF,IAAI,QAAgB,CAAC;IACrB,QAAQ,GAAG,IAAI,CAAC,qBAAqB,CAAC,WAAW,CAAC,CAAC;IACnD,gBAAgB;IAChB,IAAI,CAAC,CAAC,UAAU,IAAI,OAAO,CAAC,UAAU,CAAC,IAAI,QAAQ,IAAI,UAAU,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,IAAI,QAAQ,KAAK,WAAW,IAAI,UAAU,CAAC,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,EAAE;QAChK,QAAQ,GAAG,MAAM,CAAC;KACrB;IACD,OAAO,QAAQ,CAAC;AACpB,CAAC,CAAA;AAID,eAAgB,oBAAoB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { DtmplConfig, EnumItem, LtmplConfigRes, SelectConfig, Level2Menu } from "../tmpl/interface";
2
+ declare function HCDataSource(): void;
3
+ declare namespace HCDataSource {
4
+ var requestLtmplConfig: (sourceId: string) => Promise<LtmplConfigRes>;
5
+ var requestL2LtmplConfig: (sourceId: string) => Promise<LtmplConfigRes>;
6
+ var requestSelectConfig: (sourceId: string) => Promise<SelectConfig>;
7
+ var requestDtmplConfig: (sourceId: string) => Promise<DtmplConfig>;
8
+ var getEnums: (mstrucId: string) => EnumItem[];
9
+ var getEnumOption: (mstrucId: string, enumValue: string) => EnumItem;
10
+ var getEnumValueColor: (mstrucId: string, enumValue: string) => string;
11
+ var requestBlocks: (l2MenuId: string, blockId: string) => Promise<any>;
12
+ var quickEntranceMenus: () => Promise<Level2Menu[]>;
13
+ var messageMenus: () => Promise<Level2Menu[]>;
14
+ var workbenchMenus: () => Promise<Level2Menu[]>;
15
+ var clear: (roles: string[]) => Promise<void>;
16
+ var clearOnly: () => Promise<void>;
17
+ }
18
+ export default HCDataSource;
19
+ //# sourceMappingURL=hc-data-source.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hc-data-source.d.ts","sourceRoot":"","sources":["../../../../src/components/tmpl/hc-data-source.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGH,WAAW,EACX,QAAQ,EAEK,cAAc,EAC3B,YAAY,EACD,UAAU,EACxB,MAAM,mBAAmB,CAAC;AA2E3B,iBAAS,YAAY,SAEpB;kBAFQ,YAAY;;;;;;;;;;;;;;;AAiJrB,eAAe,YAAY,CAAC"}