aldehyde 0.1.3 → 0.1.4

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 (461) hide show
  1. package/lib/login/index.css +0 -1
  2. package/package.json +2 -2
  3. package/src/aldehyde/controls/cquery/cquick-button.tsx +2 -17
  4. package/src/aldehyde/index.tsx +0 -3
  5. package/src/aldehyde/units/index.tsx +14 -0
  6. package/dist/bundle.0f01596e1e84d10b8bf2.js +0 -2
  7. package/dist/bundle.0f01596e1e84d10b8bf2.js.LICENSE.txt +0 -122
  8. package/dist/bundle.2a04acb7ce8764934edb.js +0 -1
  9. package/dist/bundle.30500c2afe2c2c45acf6.js +0 -2
  10. package/dist/bundle.30500c2afe2c2c45acf6.js.LICENSE.txt +0 -17
  11. package/dist/bundle.53f2485b907e007e5782.js +0 -2
  12. package/dist/bundle.53f2485b907e007e5782.js.LICENSE.txt +0 -5
  13. package/dist/bundle.7a7aa9bf0933d82c416d.js +0 -1
  14. package/dist/bundle.7ed5a8e47d06d7301945.js +0 -1
  15. package/dist/bundle.9ca5093d1fc9c8298519.js +0 -1
  16. package/dist/bundle.a2469e87c8ecb696ca29.js +0 -2
  17. package/dist/bundle.a2469e87c8ecb696ca29.js.LICENSE.txt +0 -43
  18. package/dist/bundle.a25841069e0a603e5e3d.js +0 -1
  19. package/dist/bundle.b2d721b5b57471802e74.js +0 -1
  20. package/dist/bundle.be9a8465528cb86c29f8.js +0 -1
  21. package/dist/bundle.c09dd9933f9d77879825.js +0 -1
  22. package/dist/bundle.cac31c728de49f12bac4.js +0 -1
  23. package/dist/bundle.e5c8b85d867994f256ca.js +0 -1
  24. package/dist/bundle.fac79e21e934e1941ef8.js +0 -1
  25. package/dist/css/163-24392163d3c7b54ea806.css +0 -11
  26. package/dist/css/290-5e8e152675ab7d201c00.css +0 -886
  27. package/dist/css/main-cd12907a3d8559605f72.css +0 -27274
  28. package/dist/images/development-30de07a0.png +0 -0
  29. package/dist/images/header01-e798000c.jpg +0 -0
  30. package/dist/images/header02-a5f1ecbc.jpg +0 -0
  31. package/dist/images/logo-06f6a5d8.png +0 -0
  32. package/dist/images/logo-54b328b7.png +0 -0
  33. package/dist/images/pain-point-8f02421e.png +0 -0
  34. package/dist/images/target-13a5b4b9.png +0 -0
  35. package/dist/images/time-cost-cb40d2c2.png +0 -0
  36. package/dist/images/time-prograss-44b86b36.png +0 -0
  37. package/dist/index.html +0 -4
  38. package/lib/chart/antd/Chart.d.ts +0 -10
  39. package/lib/chart/antd/Chart.d.ts.map +0 -1
  40. package/lib/chart/antd/Chart.js +0 -31
  41. package/lib/chart/antd/Chart.js.map +0 -1
  42. package/lib/chart/antd/Chart10000.d.ts +0 -11
  43. package/lib/chart/antd/Chart10000.d.ts.map +0 -1
  44. package/lib/chart/antd/Chart10000.js +0 -72
  45. package/lib/chart/antd/Chart10000.js.map +0 -1
  46. package/lib/chart/antd/Max2DimLineChart.d.ts +0 -15
  47. package/lib/chart/antd/Max2DimLineChart.d.ts.map +0 -1
  48. package/lib/chart/antd/Max2DimLineChart.js +0 -126
  49. package/lib/chart/antd/Max2DimLineChart.js.map +0 -1
  50. package/lib/chart/antd/PieChart1.d.ts +0 -4
  51. package/lib/chart/antd/PieChart1.d.ts.map +0 -1
  52. package/lib/chart/antd/PieChart1.js +0 -54
  53. package/lib/chart/antd/PieChart1.js.map +0 -1
  54. package/lib/chart/antd/PieChart2.d.ts +0 -7
  55. package/lib/chart/antd/PieChart2.d.ts.map +0 -1
  56. package/lib/chart/antd/PieChart2.js +0 -56
  57. package/lib/chart/antd/PieChart2.js.map +0 -1
  58. package/lib/chart/antd/chart-utils.d.ts +0 -7
  59. package/lib/chart/antd/chart-utils.d.ts.map +0 -1
  60. package/lib/chart/antd/chart-utils.js +0 -46
  61. package/lib/chart/antd/chart-utils.js.map +0 -1
  62. package/lib/chart/antd/column-chart-sub.d.ts +0 -7
  63. package/lib/chart/antd/column-chart-sub.d.ts.map +0 -1
  64. package/lib/chart/antd/column-chart-sub.js +0 -50
  65. package/lib/chart/antd/column-chart-sub.js.map +0 -1
  66. package/lib/chart/antd/line-chart-sub.d.ts +0 -7
  67. package/lib/chart/antd/line-chart-sub.d.ts.map +0 -1
  68. package/lib/chart/antd/line-chart-sub.js +0 -49
  69. package/lib/chart/antd/line-chart-sub.js.map +0 -1
  70. package/lib/chart/antd/pie-chart-sub.d.ts +0 -7
  71. package/lib/chart/antd/pie-chart-sub.d.ts.map +0 -1
  72. package/lib/chart/antd/pie-chart-sub.js +0 -37
  73. package/lib/chart/antd/pie-chart-sub.js.map +0 -1
  74. package/lib/chart/antd/statview-d2-chart.d.ts +0 -17
  75. package/lib/chart/antd/statview-d2-chart.d.ts.map +0 -1
  76. package/lib/chart/antd/statview-d2-chart.js +0 -108
  77. package/lib/chart/antd/statview-d2-chart.js.map +0 -1
  78. package/lib/chart/statview-l2-chart.d.ts +0 -23
  79. package/lib/chart/statview-l2-chart.d.ts.map +0 -1
  80. package/lib/chart/statview-l2-chart.js +0 -64
  81. package/lib/chart/statview-l2-chart.js.map +0 -1
  82. package/lib/controls/action/index.d.ts +0 -47
  83. package/lib/controls/action/index.d.ts.map +0 -1
  84. package/lib/controls/action/index.js +0 -165
  85. package/lib/controls/action/index.js.map +0 -1
  86. package/lib/controls/action/utils.d.ts +0 -9
  87. package/lib/controls/action/utils.d.ts.map +0 -1
  88. package/lib/controls/action/utils.js +0 -110
  89. package/lib/controls/action/utils.js.map +0 -1
  90. package/lib/controls/auto-complete/index.d.ts +0 -7
  91. package/lib/controls/auto-complete/index.d.ts.map +0 -1
  92. package/lib/controls/auto-complete/index.js +0 -53
  93. package/lib/controls/auto-complete/index.js.map +0 -1
  94. package/lib/controls/cascader/index.d.ts +0 -14
  95. package/lib/controls/cascader/index.d.ts.map +0 -1
  96. package/lib/controls/cascader/index.js +0 -88
  97. package/lib/controls/cascader/index.js.map +0 -1
  98. package/lib/controls/chemstruc/graph.d.ts +0 -31
  99. package/lib/controls/chemstruc/graph.d.ts.map +0 -1
  100. package/lib/controls/chemstruc/graph.js +0 -121
  101. package/lib/controls/chemstruc/graph.js.map +0 -1
  102. package/lib/controls/collapse-card/index.d.ts +0 -20
  103. package/lib/controls/collapse-card/index.d.ts.map +0 -1
  104. package/lib/controls/collapse-card/index.js +0 -63
  105. package/lib/controls/collapse-card/index.js.map +0 -1
  106. package/lib/controls/color-picker/index.d.ts +0 -19
  107. package/lib/controls/color-picker/index.d.ts.map +0 -1
  108. package/lib/controls/color-picker/index.js +0 -61
  109. package/lib/controls/color-picker/index.js.map +0 -1
  110. package/lib/controls/cquery/cquick-button.d.ts +0 -20
  111. package/lib/controls/cquery/cquick-button.d.ts.map +0 -1
  112. package/lib/controls/cquery/cquick-button.js +0 -69
  113. package/lib/controls/cquery/cquick-button.js.map +0 -1
  114. package/lib/controls/date-picker/index.d.ts +0 -7
  115. package/lib/controls/date-picker/index.d.ts.map +0 -1
  116. package/lib/controls/date-picker/index.js +0 -91
  117. package/lib/controls/date-picker/index.js.map +0 -1
  118. package/lib/controls/entity-select/entity-select.d.ts +0 -53
  119. package/lib/controls/entity-select/entity-select.d.ts.map +0 -1
  120. package/lib/controls/entity-select/entity-select.js +0 -227
  121. package/lib/controls/entity-select/entity-select.js.map +0 -1
  122. package/lib/controls/entity-select/popover-entity-select.d.ts +0 -20
  123. package/lib/controls/entity-select/popover-entity-select.d.ts.map +0 -1
  124. package/lib/controls/entity-select/popover-entity-select.js +0 -80
  125. package/lib/controls/entity-select/popover-entity-select.js.map +0 -1
  126. package/lib/controls/entry-control.d.ts +0 -11
  127. package/lib/controls/entry-control.d.ts.map +0 -1
  128. package/lib/controls/entry-control.js +0 -171
  129. package/lib/controls/entry-control.js.map +0 -1
  130. package/lib/controls/enum-badge/index.d.ts +0 -7
  131. package/lib/controls/enum-badge/index.d.ts.map +0 -1
  132. package/lib/controls/enum-badge/index.js +0 -14
  133. package/lib/controls/enum-badge/index.js.map +0 -1
  134. package/lib/controls/enum-tag/index.d.ts +0 -7
  135. package/lib/controls/enum-tag/index.d.ts.map +0 -1
  136. package/lib/controls/enum-tag/index.js +0 -18
  137. package/lib/controls/enum-tag/index.js.map +0 -1
  138. package/lib/controls/file-view/drawer-file-view.d.ts +0 -18
  139. package/lib/controls/file-view/drawer-file-view.d.ts.map +0 -1
  140. package/lib/controls/file-view/drawer-file-view.js +0 -51
  141. package/lib/controls/file-view/drawer-file-view.js.map +0 -1
  142. package/lib/controls/file-view/index.d.ts +0 -23
  143. package/lib/controls/file-view/index.d.ts.map +0 -1
  144. package/lib/controls/file-view/index.js +0 -130
  145. package/lib/controls/file-view/index.js.map +0 -1
  146. package/lib/controls/html-editor/draft.d.ts +0 -22
  147. package/lib/controls/html-editor/draft.d.ts.map +0 -1
  148. package/lib/controls/html-editor/draft.js +0 -122
  149. package/lib/controls/html-editor/draft.js.map +0 -1
  150. package/lib/controls/html-editor/tinymce.d.ts +0 -13
  151. package/lib/controls/html-editor/tinymce.d.ts.map +0 -1
  152. package/lib/controls/html-editor/tinymce.js +0 -46
  153. package/lib/controls/html-editor/tinymce.js.map +0 -1
  154. package/lib/controls/input-number/index.d.ts +0 -7
  155. package/lib/controls/input-number/index.d.ts.map +0 -1
  156. package/lib/controls/input-number/index.js +0 -67
  157. package/lib/controls/input-number/index.js.map +0 -1
  158. package/lib/controls/input-range/index.d.ts +0 -7
  159. package/lib/controls/input-range/index.d.ts.map +0 -1
  160. package/lib/controls/input-range/index.js +0 -28
  161. package/lib/controls/input-range/index.js.map +0 -1
  162. package/lib/controls/password-setter/index.d.ts +0 -9
  163. package/lib/controls/password-setter/index.d.ts.map +0 -1
  164. package/lib/controls/password-setter/index.js +0 -51
  165. package/lib/controls/password-setter/index.js.map +0 -1
  166. package/lib/controls/progress/index.d.ts +0 -7
  167. package/lib/controls/progress/index.d.ts.map +0 -1
  168. package/lib/controls/progress/index.js +0 -45
  169. package/lib/controls/progress/index.js.map +0 -1
  170. package/lib/controls/relation-existion/index.d.ts +0 -20
  171. package/lib/controls/relation-existion/index.d.ts.map +0 -1
  172. package/lib/controls/relation-existion/index.js +0 -75
  173. package/lib/controls/relation-existion/index.js.map +0 -1
  174. package/lib/controls/rfield/index.d.ts +0 -29
  175. package/lib/controls/rfield/index.d.ts.map +0 -1
  176. package/lib/controls/rfield/index.js +0 -130
  177. package/lib/controls/rfield/index.js.map +0 -1
  178. package/lib/controls/signature/index.d.ts +0 -31
  179. package/lib/controls/signature/index.d.ts.map +0 -1
  180. package/lib/controls/signature/index.js +0 -129
  181. package/lib/controls/signature/index.js.map +0 -1
  182. package/lib/controls/steps/index.d.ts +0 -7
  183. package/lib/controls/steps/index.d.ts.map +0 -1
  184. package/lib/controls/steps/index.js +0 -42
  185. package/lib/controls/steps/index.js.map +0 -1
  186. package/lib/controls/text/ellipsis-text.d.ts +0 -22
  187. package/lib/controls/text/ellipsis-text.d.ts.map +0 -1
  188. package/lib/controls/text/ellipsis-text.js +0 -46
  189. package/lib/controls/text/ellipsis-text.js.map +0 -1
  190. package/lib/controls/upload/index.d.ts +0 -15
  191. package/lib/controls/upload/index.d.ts.map +0 -1
  192. package/lib/controls/upload/index.js +0 -100
  193. package/lib/controls/upload/index.js.map +0 -1
  194. package/lib/controls/view-control.d.ts +0 -10
  195. package/lib/controls/view-control.d.ts.map +0 -1
  196. package/lib/controls/view-control.js +0 -150
  197. package/lib/controls/view-control.js.map +0 -1
  198. package/lib/detail/button/cquery-button-bar.d.ts +0 -16
  199. package/lib/detail/button/cquery-button-bar.d.ts.map +0 -1
  200. package/lib/detail/button/cquery-button-bar.js +0 -75
  201. package/lib/detail/button/cquery-button-bar.js.map +0 -1
  202. package/lib/detail/button/submit-button-bar.d.ts +0 -19
  203. package/lib/detail/button/submit-button-bar.d.ts.map +0 -1
  204. package/lib/detail/button/submit-button-bar.js +0 -99
  205. package/lib/detail/button/submit-button-bar.js.map +0 -1
  206. package/lib/detail/edit/dtmpl-edit.d.ts +0 -48
  207. package/lib/detail/edit/dtmpl-edit.d.ts.map +0 -1
  208. package/lib/detail/edit/dtmpl-edit.js +0 -190
  209. package/lib/detail/edit/dtmpl-edit.js.map +0 -1
  210. package/lib/detail/edit/fields-edit-card.d.ts +0 -39
  211. package/lib/detail/edit/fields-edit-card.d.ts.map +0 -1
  212. package/lib/detail/edit/fields-edit-card.js +0 -64
  213. package/lib/detail/edit/fields-edit-card.js.map +0 -1
  214. package/lib/detail/edit/modal-dtmpl-edit.d.ts +0 -51
  215. package/lib/detail/edit/modal-dtmpl-edit.d.ts.map +0 -1
  216. package/lib/detail/edit/modal-dtmpl-edit.js +0 -168
  217. package/lib/detail/edit/modal-dtmpl-edit.js.map +0 -1
  218. package/lib/detail/edit/modal-row-edit.d.ts +0 -31
  219. package/lib/detail/edit/modal-row-edit.d.ts.map +0 -1
  220. package/lib/detail/edit/modal-row-edit.js +0 -56
  221. package/lib/detail/edit/modal-row-edit.js.map +0 -1
  222. package/lib/detail/edit/post-result/index.d.ts +0 -17
  223. package/lib/detail/edit/post-result/index.d.ts.map +0 -1
  224. package/lib/detail/edit/post-result/index.js +0 -28
  225. package/lib/detail/edit/post-result/index.js.map +0 -1
  226. package/lib/detail/edit/row-edit-card.d.ts +0 -42
  227. package/lib/detail/edit/row-edit-card.d.ts.map +0 -1
  228. package/lib/detail/edit/row-edit-card.js +0 -84
  229. package/lib/detail/edit/row-edit-card.js.map +0 -1
  230. package/lib/detail/edit/row-editor.d.ts +0 -31
  231. package/lib/detail/edit/row-editor.d.ts.map +0 -1
  232. package/lib/detail/edit/row-editor.js +0 -55
  233. package/lib/detail/edit/row-editor.js.map +0 -1
  234. package/lib/detail/rightbar/index.d.ts +0 -20
  235. package/lib/detail/rightbar/index.d.ts.map +0 -1
  236. package/lib/detail/rightbar/index.js +0 -51
  237. package/lib/detail/rightbar/index.js.map +0 -1
  238. package/lib/detail/view/act-dtmpl-view.d.ts +0 -46
  239. package/lib/detail/view/act-dtmpl-view.d.ts.map +0 -1
  240. package/lib/detail/view/act-dtmpl-view.js +0 -110
  241. package/lib/detail/view/act-dtmpl-view.js.map +0 -1
  242. package/lib/detail/view/dtmpl-view.d.ts +0 -42
  243. package/lib/detail/view/dtmpl-view.d.ts.map +0 -1
  244. package/lib/detail/view/dtmpl-view.js +0 -111
  245. package/lib/detail/view/dtmpl-view.js.map +0 -1
  246. package/lib/detail/view/field-view-group.d.ts +0 -17
  247. package/lib/detail/view/field-view-group.d.ts.map +0 -1
  248. package/lib/detail/view/field-view-group.js +0 -51
  249. package/lib/detail/view/field-view-group.js.map +0 -1
  250. package/lib/detail/view/modal-dtmpl-view.d.ts +0 -27
  251. package/lib/detail/view/modal-dtmpl-view.d.ts.map +0 -1
  252. package/lib/detail/view/modal-dtmpl-view.js +0 -32
  253. package/lib/detail/view/modal-dtmpl-view.js.map +0 -1
  254. package/lib/detail/view/snapshot-timeline.d.ts +0 -32
  255. package/lib/detail/view/snapshot-timeline.d.ts.map +0 -1
  256. package/lib/detail/view/snapshot-timeline.js +0 -90
  257. package/lib/detail/view/snapshot-timeline.js.map +0 -1
  258. package/lib/exportor/export-frame.d.ts +0 -50
  259. package/lib/exportor/export-frame.d.ts.map +0 -1
  260. package/lib/exportor/export-frame.js +0 -140
  261. package/lib/exportor/export-frame.js.map +0 -1
  262. package/lib/exportor/index.d.ts +0 -16
  263. package/lib/exportor/index.d.ts.map +0 -1
  264. package/lib/exportor/index.js +0 -44
  265. package/lib/exportor/index.js.map +0 -1
  266. package/lib/form/criteria-form.d.ts +0 -19
  267. package/lib/form/criteria-form.d.ts.map +0 -1
  268. package/lib/form/criteria-form.js +0 -167
  269. package/lib/form/criteria-form.js.map +0 -1
  270. package/lib/form/dtmpl-form.d.ts +0 -37
  271. package/lib/form/dtmpl-form.d.ts.map +0 -1
  272. package/lib/form/dtmpl-form.js +0 -213
  273. package/lib/form/dtmpl-form.js.map +0 -1
  274. package/lib/form/field-group-form.d.ts +0 -21
  275. package/lib/form/field-group-form.d.ts.map +0 -1
  276. package/lib/form/field-group-form.js +0 -58
  277. package/lib/form/field-group-form.js.map +0 -1
  278. package/lib/form/fields-form.d.ts +0 -20
  279. package/lib/form/fields-form.d.ts.map +0 -1
  280. package/lib/form/fields-form.js +0 -39
  281. package/lib/form/fields-form.js.map +0 -1
  282. package/lib/form/form-Item-group.d.ts +0 -22
  283. package/lib/form/form-Item-group.d.ts.map +0 -1
  284. package/lib/form/form-Item-group.js +0 -60
  285. package/lib/form/form-Item-group.js.map +0 -1
  286. package/lib/import/excel-import.d.ts +0 -48
  287. package/lib/import/excel-import.d.ts.map +0 -1
  288. package/lib/import/excel-import.js +0 -234
  289. package/lib/import/excel-import.js.map +0 -1
  290. package/lib/import/template-builder.d.ts +0 -29
  291. package/lib/import/template-builder.d.ts.map +0 -1
  292. package/lib/import/template-builder.js +0 -426
  293. package/lib/import/template-builder.js.map +0 -1
  294. package/lib/index.d.ts +0 -25
  295. package/lib/index.d.ts.map +0 -1
  296. package/lib/index.js +0 -24
  297. package/lib/index.js.map +0 -1
  298. package/lib/layout/MainPage.d.ts +0 -32
  299. package/lib/layout/MainPage.d.ts.map +0 -1
  300. package/lib/layout/MainPage.js +0 -202
  301. package/lib/layout/MainPage.js.map +0 -1
  302. package/lib/layout/footer/index.d.ts +0 -7
  303. package/lib/layout/footer/index.d.ts.map +0 -1
  304. package/lib/layout/footer/index.js +0 -11
  305. package/lib/layout/footer/index.js.map +0 -1
  306. package/lib/layout/header/index.d.ts +0 -15
  307. package/lib/layout/header/index.d.ts.map +0 -1
  308. package/lib/layout/header/index.js +0 -36
  309. package/lib/layout/header/index.js.map +0 -1
  310. package/lib/layout/menu/block.d.ts +0 -9
  311. package/lib/layout/menu/block.d.ts.map +0 -1
  312. package/lib/layout/menu/block.js +0 -48
  313. package/lib/layout/menu/block.js.map +0 -1
  314. package/lib/layout/menu/l2menu-message-bar.d.ts +0 -24
  315. package/lib/layout/menu/l2menu-message-bar.d.ts.map +0 -1
  316. package/lib/layout/menu/l2menu-message-bar.js +0 -97
  317. package/lib/layout/menu/l2menu-message-bar.js.map +0 -1
  318. package/lib/layout/menu/l2menu-quick-bar.d.ts +0 -30
  319. package/lib/layout/menu/l2menu-quick-bar.d.ts.map +0 -1
  320. package/lib/layout/menu/l2menu-quick-bar.js +0 -94
  321. package/lib/layout/menu/l2menu-quick-bar.js.map +0 -1
  322. package/lib/layout/menu/menu-2layers.d.ts +0 -9
  323. package/lib/layout/menu/menu-2layers.d.ts.map +0 -1
  324. package/lib/layout/menu/menu-2layers.js +0 -63
  325. package/lib/layout/menu/menu-2layers.js.map +0 -1
  326. package/lib/layout/menu/menu-render.d.ts +0 -8
  327. package/lib/layout/menu/menu-render.d.ts.map +0 -1
  328. package/lib/layout/menu/menu-render.js +0 -44
  329. package/lib/layout/menu/menu-render.js.map +0 -1
  330. package/lib/layout/menu/reset-password.d.ts +0 -25
  331. package/lib/layout/menu/reset-password.d.ts.map +0 -1
  332. package/lib/layout/menu/reset-password.js +0 -113
  333. package/lib/layout/menu/reset-password.js.map +0 -1
  334. package/lib/layout/menu/user-bar.d.ts +0 -19
  335. package/lib/layout/menu/user-bar.d.ts.map +0 -1
  336. package/lib/layout/menu/user-bar.js +0 -61
  337. package/lib/layout/menu/user-bar.js.map +0 -1
  338. package/lib/layout/menu/userinfo-bar.d.ts +0 -18
  339. package/lib/layout/menu/userinfo-bar.d.ts.map +0 -1
  340. package/lib/layout/menu/userinfo-bar.js +0 -50
  341. package/lib/layout/menu/userinfo-bar.js.map +0 -1
  342. package/lib/layout/sidebar/index.d.ts +0 -12
  343. package/lib/layout/sidebar/index.d.ts.map +0 -1
  344. package/lib/layout/sidebar/index.js +0 -19
  345. package/lib/layout/sidebar/index.js.map +0 -1
  346. package/lib/login/login.d.ts +0 -21
  347. package/lib/login/login.d.ts.map +0 -1
  348. package/lib/login/login.js +0 -98
  349. package/lib/login/login.js.map +0 -1
  350. package/lib/module/dtmpl-page.d.ts +0 -19
  351. package/lib/module/dtmpl-page.d.ts.map +0 -1
  352. package/lib/module/dtmpl-page.js +0 -46
  353. package/lib/module/dtmpl-page.js.map +0 -1
  354. package/lib/module/ltmpl-page.d.ts +0 -34
  355. package/lib/module/ltmpl-page.d.ts.map +0 -1
  356. package/lib/module/ltmpl-page.js +0 -154
  357. package/lib/module/ltmpl-page.js.map +0 -1
  358. package/lib/routable/dtmpl-route.d.ts +0 -17
  359. package/lib/routable/dtmpl-route.d.ts.map +0 -1
  360. package/lib/routable/dtmpl-route.js +0 -77
  361. package/lib/routable/dtmpl-route.js.map +0 -1
  362. package/lib/routable/import-route.d.ts +0 -13
  363. package/lib/routable/import-route.d.ts.map +0 -1
  364. package/lib/routable/import-route.js +0 -29
  365. package/lib/routable/import-route.js.map +0 -1
  366. package/lib/routable/ltmpl-route.d.ts +0 -25
  367. package/lib/routable/ltmpl-route.d.ts.map +0 -1
  368. package/lib/routable/ltmpl-route.js +0 -145
  369. package/lib/routable/ltmpl-route.js.map +0 -1
  370. package/lib/table/act-table.d.ts +0 -76
  371. package/lib/table/act-table.d.ts.map +0 -1
  372. package/lib/table/act-table.js +0 -454
  373. package/lib/table/act-table.js.map +0 -1
  374. package/lib/table/column/column-selector.d.ts +0 -26
  375. package/lib/table/column/column-selector.d.ts.map +0 -1
  376. package/lib/table/column/column-selector.js +0 -61
  377. package/lib/table/column/column-selector.js.map +0 -1
  378. package/lib/table/l2-act-table.d.ts +0 -23
  379. package/lib/table/l2-act-table.d.ts.map +0 -1
  380. package/lib/table/l2-act-table.js +0 -80
  381. package/lib/table/l2-act-table.js.map +0 -1
  382. package/lib/table/modal-select-table.d.ts +0 -41
  383. package/lib/table/modal-select-table.d.ts.map +0 -1
  384. package/lib/table/modal-select-table.js +0 -208
  385. package/lib/table/modal-select-table.js.map +0 -1
  386. package/lib/table/pagination.d.ts +0 -17
  387. package/lib/table/pagination.d.ts.map +0 -1
  388. package/lib/table/pagination.js +0 -40
  389. package/lib/table/pagination.js.map +0 -1
  390. package/lib/table/query-table.d.ts +0 -65
  391. package/lib/table/query-table.d.ts.map +0 -1
  392. package/lib/table/query-table.js +0 -257
  393. package/lib/table/query-table.js.map +0 -1
  394. package/lib/table/relation-table.d.ts +0 -61
  395. package/lib/table/relation-table.d.ts.map +0 -1
  396. package/lib/table/relation-table.js +0 -444
  397. package/lib/table/relation-table.js.map +0 -1
  398. package/lib/table/select-table.d.ts +0 -40
  399. package/lib/table/select-table.d.ts.map +0 -1
  400. package/lib/table/select-table.js +0 -223
  401. package/lib/table/select-table.js.map +0 -1
  402. package/lib/table/selected-rows-card.d.ts +0 -16
  403. package/lib/table/selected-rows-card.d.ts.map +0 -1
  404. package/lib/table/selected-rows-card.js +0 -47
  405. package/lib/table/selected-rows-card.js.map +0 -1
  406. package/lib/table/stat/restat.d.ts +0 -26
  407. package/lib/table/stat/restat.d.ts.map +0 -1
  408. package/lib/table/stat/restat.js +0 -61
  409. package/lib/table/stat/restat.js.map +0 -1
  410. package/lib/table/table-util.d.ts +0 -5
  411. package/lib/table/table-util.d.ts.map +0 -1
  412. package/lib/table/table-util.js +0 -30
  413. package/lib/table/table-util.js.map +0 -1
  414. package/lib/tmpl/control-type-supportor.d.ts +0 -9
  415. package/lib/tmpl/control-type-supportor.d.ts.map +0 -1
  416. package/lib/tmpl/control-type-supportor.js +0 -85
  417. package/lib/tmpl/control-type-supportor.js.map +0 -1
  418. package/lib/tmpl/hc-data-source.d.ts +0 -19
  419. package/lib/tmpl/hc-data-source.d.ts.map +0 -1
  420. package/lib/tmpl/hc-data-source.js +0 -230
  421. package/lib/tmpl/hc-data-source.js.map +0 -1
  422. package/lib/tmpl/hcservice-v3.d.ts +0 -53
  423. package/lib/tmpl/hcservice-v3.d.ts.map +0 -1
  424. package/lib/tmpl/hcservice-v3.js +0 -639
  425. package/lib/tmpl/hcservice-v3.js.map +0 -1
  426. package/lib/tmpl/interface.d.ts +0 -234
  427. package/lib/tmpl/interface.d.ts.map +0 -1
  428. package/lib/tmpl/interface.js +0 -4
  429. package/lib/tmpl/interface.js.map +0 -1
  430. package/lib/tmpl/superagent.d.ts +0 -9
  431. package/lib/tmpl/superagent.d.ts.map +0 -1
  432. package/lib/tmpl/superagent.js +0 -94
  433. package/lib/tmpl/superagent.js.map +0 -1
  434. package/lib/tmpl/tmpl-config-analysis.d.ts +0 -7
  435. package/lib/tmpl/tmpl-config-analysis.d.ts.map +0 -1
  436. package/lib/tmpl/tmpl-config-analysis.js +0 -106
  437. package/lib/tmpl/tmpl-config-analysis.js.map +0 -1
  438. package/lib/units/EncryptUtils.d.ts +0 -7
  439. package/lib/units/EncryptUtils.d.ts.map +0 -1
  440. package/lib/units/EncryptUtils.js +0 -30
  441. package/lib/units/EncryptUtils.js.map +0 -1
  442. package/lib/units/index.d.ts +0 -63
  443. package/lib/units/index.d.ts.map +0 -1
  444. package/lib/units/index.js +0 -550
  445. package/lib/units/index.js.map +0 -1
  446. package/lib/units/storage.d.ts +0 -3
  447. package/lib/units/storage.d.ts.map +0 -1
  448. package/lib/units/storage.js +0 -2
  449. package/lib/units/storage.js.map +0 -1
  450. package/lib/welcome/HCWelcome.d.ts +0 -18
  451. package/lib/welcome/HCWelcome.d.ts.map +0 -1
  452. package/lib/welcome/HCWelcome.js +0 -202
  453. package/lib/welcome/HCWelcome.js.map +0 -1
  454. package/lib/welcome/quick-entrance.d.ts +0 -20
  455. package/lib/welcome/quick-entrance.d.ts.map +0 -1
  456. package/lib/welcome/quick-entrance.js +0 -79
  457. package/lib/welcome/quick-entrance.js.map +0 -1
  458. package/lib/welcome/workbench.d.ts +0 -20
  459. package/lib/welcome/workbench.d.ts.map +0 -1
  460. package/lib/welcome/workbench.js +0 -78
  461. package/lib/welcome/workbench.js.map +0 -1
@@ -1,122 +0,0 @@
1
- /*
2
- object-assign
3
- (c) Sindre Sorhus
4
- @license MIT
5
- */
6
-
7
- /*
8
- object-assign
9
- (c) Sindre Sorhus
10
- @license MIT
11
- */
12
-
13
- /*!
14
- Copyright (c) 2017 Jed Watson.
15
- Licensed under the MIT License (MIT), see
16
- http://jedwatson.github.io/classnames
17
- */
18
-
19
- /*!
20
- Copyright (c) 2018 Jed Watson.
21
- Licensed under the MIT License (MIT), see
22
- http://jedwatson.github.io/classnames
23
- */
24
-
25
- /*!
26
- * Determine if an object is a Buffer
27
- *
28
- * @author Feross Aboukhadijeh <https://feross.org>
29
- * @license MIT
30
- */
31
-
32
- /*!
33
- * The buffer module from node.js, for the browser.
34
- *
35
- * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
36
- * @license MIT
37
- */
38
-
39
- /*! *****************************************************************************
40
- Copyright (c) Microsoft Corporation.
41
-
42
- Permission to use, copy, modify, and/or distribute this software for any
43
- purpose with or without fee is hereby granted.
44
-
45
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
46
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
47
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
48
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
49
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
50
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
51
- PERFORMANCE OF THIS SOFTWARE.
52
- ***************************************************************************** */
53
-
54
- /*! http://mths.be/fromcodepoint v0.1.0 by @mathias */
55
-
56
- /**
57
- * @fileOverview
58
- * @name asn1-1.0.js
59
- * @author Kenji Urushima kenji.urushima@gmail.com
60
- * @version asn1 1.0.13 (2017-Jun-02)
61
- * @since jsrsasign 2.1
62
- * @license <a href="https://kjur.github.io/jsrsasign/license/">MIT License</a>
63
- */
64
-
65
- /** @license React v0.20.2
66
- * scheduler.production.min.js
67
- *
68
- * Copyright (c) Facebook, Inc. and its affiliates.
69
- *
70
- * This source code is licensed under the MIT license found in the
71
- * LICENSE file in the root directory of this source tree.
72
- */
73
-
74
- /** @license React v16.13.1
75
- * react-is.production.min.js
76
- *
77
- * Copyright (c) Facebook, Inc. and its affiliates.
78
- *
79
- * This source code is licensed under the MIT license found in the
80
- * LICENSE file in the root directory of this source tree.
81
- */
82
-
83
- /** @license React v17.0.0
84
- * react-dom.production.min.js
85
- *
86
- * Copyright (c) Facebook, Inc. and its affiliates.
87
- *
88
- * This source code is licensed under the MIT license found in the
89
- * LICENSE file in the root directory of this source tree.
90
- */
91
-
92
- /** @license React v17.0.2
93
- * react.production.min.js
94
- *
95
- * Copyright (c) Facebook, Inc. and its affiliates.
96
- *
97
- * This source code is licensed under the MIT license found in the
98
- * LICENSE file in the root directory of this source tree.
99
- */
100
-
101
- /** @preserve
102
- * Counter block mode compatible with Dr Brian Gladman fileenc.c
103
- * derived from CryptoJS.mode.CTR
104
- * Jan Hruby jhruby.web@gmail.com
105
- */
106
-
107
- /** @preserve
108
- (c) 2012 by Cédric Mesnil. All rights reserved.
109
-
110
- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
111
-
112
- - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
113
- - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
114
-
115
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
116
- */
117
-
118
- //! moment.js
119
-
120
- //! moment.js locale configuration
121
-
122
- //!\ DECLARE ALIAS AFTER assign prototype !
@@ -1 +0,0 @@
1
- (self.webpackChunkaldehyde=self.webpackChunkaldehyde||[]).push([[768],{67154:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},95318:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},80037:function(e,t,l){"use strict";var a=l(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(l(5584)).default;t.default=r},5584:function(e,t,l){"use strict";var a=l(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(l(67154)),n=a(l(85369)),o=a(l(15704)),c={lang:(0,r.default)({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},n.default),timePickerLocale:(0,r.default)({},o.default)};c.lang.ok="确定";var i=c;t.default=i},82925:function(e,t,l){"use strict";var a=l(95318);t.Z=void 0;var r=a(l(74219)),n=a(l(5584)),o=a(l(15704)),c=a(l(80037)),i="${label}不是一个有效的${type}",u={locale:"zh-cn",Pagination:r.default,DatePicker:n.default,TimePicker:o.default,Calendar:c.default,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckall:"全选",filterSearchPlaceholder:"在筛选项中搜索",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开"},PageHeader:{back:"返回"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:i,method:i,array:i,object:i,number:i,date:i,boolean:i,integer:i,float:i,regexp:i,email:i,url:i,hex:i},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"}};t.Z=u},15704:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]}},48187:function(e,t,l){"use strict";l.r(t);var a=l(90237),r=l(65337),n=l(39576),o=l(61378),c=l(69905),i=l(67294),u=l(91256),d=l(82925),s=l(30381),f=l.n(s);l(83839),f().locale("zh-cn");var p=function(e){(0,n.Z)(f,e);var t,l,s=(t=f,l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,a=(0,c.Z)(t);if(l){var r=(0,c.Z)(this).constructor;e=Reflect.construct(a,arguments,r)}else e=a.apply(this,arguments);return(0,o.Z)(this,e)});function f(){return(0,a.Z)(this,f),s.apply(this,arguments)}return(0,r.Z)(f,[{key:"render",value:function(){return i.createElement(u.ZP,{locale:d.Z},this.props.children)}}]),f}(i.Component);t.default=p},74219:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"}},85369:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",yearFormat:"YYYY年",dayFormat:"D日",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH时mm分ss秒",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪"}}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see bundle.30500c2afe2c2c45acf6.js.LICENSE.txt */
2
- (self.webpackChunkaldehyde=self.webpackChunkaldehyde||[]).push([[958],{13237:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return M}});var i=n(84322),o=n.n(i),r=n(59755),a=n(90237),s=n(65337),c=n(95225),h=n(39576),l=n(61378),u=n(69905),d=n(15274),f=n(67294),p=n(62462),v=n(71577),m=n(50146),_=n(75443),y=n(71230),g=n(15746),x=n(58877),w=n.n(x),b=n(1413),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M957.6 507.4L603.2 158.2a7.9 7.9 0 00-11.2 0L353.3 393.4a8.03 8.03 0 00-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 00-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8V860c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6 40.4 39.8a7.9 7.9 0 0011.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0011.2 0l238.7-235.2c3.4-3 3.4-8 .3-11.2zM389.8 796.2H229.6l134.4-133 80.1 78.9-54.3 54.1zm154.8-62.1L373.2 565.2l68.6-67.6 171.4 168.9-68.6 67.6zM713.1 658L450.3 399.1 597.6 254l262.8 259-147.3 145z"}}]},name:"highlight",theme:"outlined"},C=n(41390),E=function(t,e){return f.createElement(C.Z,(0,b.Z)((0,b.Z)({},t),{},{ref:e,icon:P}))};E.displayName="HighlightOutlined";var k=f.forwardRef(E),D=n(82561);var M=function(t){(0,h.Z)(x,t);var e,n,i=(e=x,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,i=(0,u.Z)(e);if(n){var o=(0,u.Z)(this).constructor;t=Reflect.construct(i,arguments,o)}else t=i.apply(this,arguments);return(0,l.Z)(this,t)});function x(){var t;(0,a.Z)(this,x);for(var e=arguments.length,n=new Array(e),s=0;s<e;s++)n[s]=arguments[s];return t=i.call.apply(i,[this].concat(n)),(0,d.Z)((0,c.Z)(t),"state",{modalVisible:!1,molFileLoaded:!1,molFile:void 0,trimmedDataURL:void 0}),(0,d.Z)((0,c.Z)(t),"signCanvas",void 0),(0,d.Z)((0,c.Z)(t),"loadData",(0,r.Z)(o().mark((function e(){var n,i,r;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=t.props.value)){e.next=13;break}if(1!=(i=JSON.parse(n)).valid){e.next=10;break}if(!/^image\/png;base64/.test(i.base.type)){e.next=8;break}return e.next=7,D.Z.loadFileTxt(i.base.path);case 7:r=e.sent;case 8:e.next=11;break;case 10:r="new"==i.valid?i.body:void 0;case 11:console.log("file:",r),t.setState({trimmedDataURL:r});case 13:case"end":return e.stop()}}),e)})))),(0,d.Z)((0,c.Z)(t),"saveMolfile",(0,r.Z)(o().mark((function e(){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.signCanvas.getTrimmedCanvas().toDataURL("image/png"),console.log("DataURL value:",n),t.triggerChange(n),t.setState({modalVisible:!1,trimmedDataURL:n});case 4:case"end":return e.stop()}}),e)})))),(0,d.Z)((0,c.Z)(t),"triggerChange",(function(e){var n=t.props.onChange;n&&n(JSON.stringify({valid:"new",body:e,suffix:"image/png;base64",fileName:"signature.png"}))})),(0,d.Z)((0,c.Z)(t),"showView",(0,r.Z)(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.signCanvas.clear(),t.signCanvas.fromDataURL(t.state.trimmedDataURL),t.setState({modalVisible:!0});case 3:case"end":return e.stop()}}),e)})))),(0,d.Z)((0,c.Z)(t),"onCancel",(function(){t.setState({modalVisible:!1})})),(0,d.Z)((0,c.Z)(t),"onClear",(function(){t.signCanvas.clear()})),t}return(0,s.Z)(x,[{key:"componentDidMount",value:function(){this.loadData()}},{key:"render",value:function(){var t=this,e=this.props,n=e.id,i=e.disabled,o=e.viewOrEdit,r=(e.value,this.state),a=(r.molFile,r.trimmedDataURL);return f.createElement("span",{id:n},a?f.createElement(p.Z,{width:90,src:a,preview:{src:a}}):"","edit"==o?f.createElement(v.Z,{onClick:this.showView},f.createElement(k,null),"编 辑"):"",f.createElement(m.Z,{closable:!1,visible:this.state.modalVisible,forceRender:!0,centered:!0,style:{maxWidth:"calc(100vw - 62px)",maxHeight:"calc(100vw - 50px)"},width:900,onCancel:function(){t.onCancel()},footer:i?[f.createElement(v.Z,{key:1,onClick:function(){t.onCancel()}},"取消")]:[f.createElement(v.Z,{key:1,onClick:function(){t.onClear()}},"清除"),f.createElement(_.Z,{key:2,placement:"top",title:"确定要取消本次编辑的数据吗?",onConfirm:this.onCancel,okText:"确定",cancelText:"取消"},f.createElement(v.Z,null,"取消")),f.createElement(v.Z,{key:3,onClick:function(){t.saveMolfile()},type:"primary"},"确定")],bodyStyle:{width:"900px"}},f.createElement(y.Z,{style:{height:"430px",border:"1px solid #00f",maxWidth:"860px",maxHeight:"calc(100vw - 80px)"}},f.createElement(g.Z,{key:1,span:24,style:{height:"400px"}},f.createElement(w(),{ref:function(e){t.signCanvas=e},penColor:"#000",canvasProps:{width:860,height:400,className:"sigCanvas"}})))))}}]),x}(f.PureComponent);(0,d.Z)(M,"defaultProps",{viewOrEdit:"view"})},58877:function(t,e,n){var i,o,r,a;t.exports=(i=n(45697),o=n(67294),r=n(21518),a=n(41400),function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return t[i].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function o(t,e){var n={};for(var i in t)e.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}Object.defineProperty(e,"__esModule",{value:!0});var s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},c=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),h=i(n(1)),l=n(2),u=i(l),d=i(n(3)),f=i(n(4)),p=function(t){function e(){var t,n,i;r(this,e);for(var s=arguments.length,c=Array(s),h=0;h<s;h++)c[h]=arguments[h];return n=i=a(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(c))),i._sigPad=null,i._excludeOurProps=function(){var t=i.props;return t.canvasProps,t.clearOnResize,o(t,["canvasProps","clearOnResize"])},i.getCanvas=function(){return i._canvas},i.getTrimmedCanvas=function(){var t=document.createElement("canvas");return t.width=i._canvas.width,t.height=i._canvas.height,t.getContext("2d").drawImage(i._canvas,0,0),(0,f.default)(t)},i.getSignaturePad=function(){return i._sigPad},i._checkClearOnResize=function(){i.props.clearOnResize&&i._resizeCanvas()},i._resizeCanvas=function(){var t=i.props.canvasProps||{},e=t.width,n=t.height;if(!e||!n){var o=i._canvas,r=Math.max(window.devicePixelRatio||1,1);e||(o.width=o.offsetWidth*r),n||(o.height=o.offsetHeight*r),o.getContext("2d").scale(r,r),i.clear()}},i.on=function(){return window.addEventListener("resize",i._checkClearOnResize),i._sigPad.on()},i.off=function(){return window.removeEventListener("resize",i._checkClearOnResize),i._sigPad.off()},i.clear=function(){return i._sigPad.clear()},i.isEmpty=function(){return i._sigPad.isEmpty()},i.fromDataURL=function(t,e){return i._sigPad.fromDataURL(t,e)},i.toDataURL=function(t,e){return i._sigPad.toDataURL(t,e)},i.fromData=function(t){return i._sigPad.fromData(t)},i.toData=function(){return i._sigPad.toData()},a(i,n)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),c(e,[{key:"componentDidMount",value:function(){this._sigPad=new d.default(this._canvas,this._excludeOurProps()),this._resizeCanvas(),this.on()}},{key:"componentWillUnmount",value:function(){this.off()}},{key:"componentDidUpdate",value:function(){Object.assign(this._sigPad,this._excludeOurProps())}},{key:"render",value:function(){var t=this,e=this.props.canvasProps;return u.default.createElement("canvas",s({ref:function(e){t._canvas=e}},e))}}]),e}(l.Component);p.propTypes={velocityFilterWeight:h.default.number,minWidth:h.default.number,maxWidth:h.default.number,minDistance:h.default.number,dotSize:h.default.oneOfType([h.default.number,h.default.func]),penColor:h.default.string,throttle:h.default.number,onEnd:h.default.func,onBegin:h.default.func,canvasProps:h.default.object,clearOnResize:h.default.bool},p.defaultProps={clearOnResize:!0},e.default=p},function(t,e){t.exports=i},function(t,e){t.exports=o},function(t,e){t.exports=r},function(t,e){t.exports=a}]))},41400:function(t){t.exports=function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return t[i].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e){"use strict";function n(t,e,n,i){return function(t,e,n,i){return{red:i[4*(n*e+t)],green:i[4*(n*e+t)+1],blue:i[4*(n*e+t)+2],alpha:i[4*(n*e+t)+3]}}(t,e,n,i).alpha}function i(t,e,i,o){for(var r=t?1:-1,a=t?0:i-1;t?a<i:a>-1;a+=r)for(var s=0;s<e;s++)if(n(s,a,e,o))return a;return null}function o(t,e,i,o){for(var r=t?1:-1,a=t?0:e-1;t?a<e:a>-1;a+=r)for(var s=0;s<i;s++)if(n(a,s,e,o))return a;return null}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.getContext("2d"),n=t.width,r=t.height,a=e.getImageData(0,0,n,r).data,s=i(!0,n,r,a),c=i(!1,n,r,a),h=o(!0,n,r,a),l=o(!1,n,r,a)-h+1,u=c-s+1,d=e.getImageData(h,s,l,u);return t.width=l,t.height=u,e.clearRect(0,0,l,u),e.putImageData(d,0,0),t}}])},21518:function(t,e,n){"use strict";function i(t,e,n){this.x=t,this.y=e,this.time=n||(new Date).getTime()}function o(t,e,n,i){this.startPoint=t,this.control1=e,this.control2=n,this.endPoint=i}function r(t,e){var n=this,i=e||{};this.velocityFilterWeight=i.velocityFilterWeight||.7,this.minWidth=i.minWidth||.5,this.maxWidth=i.maxWidth||2.5,this.throttle="throttle"in i?i.throttle:16,this.minDistance="minDistance"in i?i.minDistance:5,this.throttle?this._strokeMoveUpdate=function(t,e,n){var i,o,r,a=null,s=0;n||(n={});var c=function(){s=!1===n.leading?0:Date.now(),a=null,r=t.apply(i,o),a||(i=o=null)};return function(){var h=Date.now();s||!1!==n.leading||(s=h);var l=e-(h-s);return i=this,o=arguments,l<=0||l>e?(a&&(clearTimeout(a),a=null),s=h,r=t.apply(i,o),a||(i=o=null)):a||!1===n.trailing||(a=setTimeout(c,l)),r}}(r.prototype._strokeUpdate,this.throttle):this._strokeMoveUpdate=r.prototype._strokeUpdate,this.dotSize=i.dotSize||function(){return(this.minWidth+this.maxWidth)/2},this.penColor=i.penColor||"black",this.backgroundColor=i.backgroundColor||"rgba(0,0,0,0)",this.onBegin=i.onBegin,this.onEnd=i.onEnd,this._canvas=t,this._ctx=t.getContext("2d"),this.clear(),this._handleMouseDown=function(t){1===t.which&&(n._mouseButtonDown=!0,n._strokeBegin(t))},this._handleMouseMove=function(t){n._mouseButtonDown&&n._strokeMoveUpdate(t)},this._handleMouseUp=function(t){1===t.which&&n._mouseButtonDown&&(n._mouseButtonDown=!1,n._strokeEnd(t))},this._handleTouchStart=function(t){if(1===t.targetTouches.length){var e=t.changedTouches[0];n._strokeBegin(e)}},this._handleTouchMove=function(t){t.preventDefault();var e=t.targetTouches[0];n._strokeMoveUpdate(e)},this._handleTouchEnd=function(t){t.target===n._canvas&&(t.preventDefault(),n._strokeEnd(t))},this.on()}n.r(e),i.prototype.velocityFrom=function(t){return this.time!==t.time?this.distanceTo(t)/(this.time-t.time):1},i.prototype.distanceTo=function(t){return Math.sqrt(Math.pow(this.x-t.x,2)+Math.pow(this.y-t.y,2))},i.prototype.equals=function(t){return this.x===t.x&&this.y===t.y&&this.time===t.time},o.prototype.length=function(){for(var t=0,e=void 0,n=void 0,i=0;i<=10;i+=1){var o=i/10,r=this._point(o,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),a=this._point(o,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y);if(i>0){var s=r-e,c=a-n;t+=Math.sqrt(s*s+c*c)}e=r,n=a}return t},o.prototype._point=function(t,e,n,i,o){return e*(1-t)*(1-t)*(1-t)+3*n*(1-t)*(1-t)*t+3*i*(1-t)*t*t+o*t*t*t},r.prototype.clear=function(){var t=this._ctx,e=this._canvas;t.fillStyle=this.backgroundColor,t.clearRect(0,0,e.width,e.height),t.fillRect(0,0,e.width,e.height),this._data=[],this._reset(),this._isEmpty=!0},r.prototype.fromDataURL=function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=new Image,o=n.ratio||window.devicePixelRatio||1,r=n.width||this._canvas.width/o,a=n.height||this._canvas.height/o;this._reset(),i.src=t,i.onload=function(){e._ctx.drawImage(i,0,0,r,a)},this._isEmpty=!1},r.prototype.toDataURL=function(t){var e;if("image/svg+xml"===t)return this._toSVG();for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return(e=this._canvas).toDataURL.apply(e,[t].concat(i))},r.prototype.on=function(){this._handleMouseEvents(),this._handleTouchEvents()},r.prototype.off=function(){this._canvas.removeEventListener("mousedown",this._handleMouseDown),this._canvas.removeEventListener("mousemove",this._handleMouseMove),document.removeEventListener("mouseup",this._handleMouseUp),this._canvas.removeEventListener("touchstart",this._handleTouchStart),this._canvas.removeEventListener("touchmove",this._handleTouchMove),this._canvas.removeEventListener("touchend",this._handleTouchEnd)},r.prototype.isEmpty=function(){return this._isEmpty},r.prototype._strokeBegin=function(t){this._data.push([]),this._reset(),this._strokeUpdate(t),"function"==typeof this.onBegin&&this.onBegin(t)},r.prototype._strokeUpdate=function(t){var e=t.clientX,n=t.clientY,i=this._createPoint(e,n),o=this._data[this._data.length-1],r=o&&o[o.length-1],a=r&&i.distanceTo(r)<this.minDistance;if(!r||!a){var s=this._addPoint(i),c=s.curve,h=s.widths;c&&h&&this._drawCurve(c,h.start,h.end),this._data[this._data.length-1].push({x:i.x,y:i.y,time:i.time,color:this.penColor})}},r.prototype._strokeEnd=function(t){var e=this.points.length>2,n=this.points[0];if(!e&&n&&this._drawDot(n),n){var i=this._data[this._data.length-1],o=i[i.length-1];n.equals(o)||i.push({x:n.x,y:n.y,time:n.time,color:this.penColor})}"function"==typeof this.onEnd&&this.onEnd(t)},r.prototype._handleMouseEvents=function(){this._mouseButtonDown=!1,this._canvas.addEventListener("mousedown",this._handleMouseDown),this._canvas.addEventListener("mousemove",this._handleMouseMove),document.addEventListener("mouseup",this._handleMouseUp)},r.prototype._handleTouchEvents=function(){this._canvas.style.msTouchAction="none",this._canvas.style.touchAction="none",this._canvas.addEventListener("touchstart",this._handleTouchStart),this._canvas.addEventListener("touchmove",this._handleTouchMove),this._canvas.addEventListener("touchend",this._handleTouchEnd)},r.prototype._reset=function(){this.points=[],this._lastVelocity=0,this._lastWidth=(this.minWidth+this.maxWidth)/2,this._ctx.fillStyle=this.penColor},r.prototype._createPoint=function(t,e,n){var o=this._canvas.getBoundingClientRect();return new i(t-o.left,e-o.top,n||(new Date).getTime())},r.prototype._addPoint=function(t){var e=this.points;if(e.push(t),e.length>2){3===e.length&&e.unshift(e[0]);var n=this._calculateCurveControlPoints(e[0],e[1],e[2]).c2,i=this._calculateCurveControlPoints(e[1],e[2],e[3]).c1,r=new o(e[1],n,i,e[2]),a=this._calculateCurveWidths(r);return e.shift(),{curve:r,widths:a}}return{}},r.prototype._calculateCurveControlPoints=function(t,e,n){var o=t.x-e.x,r=t.y-e.y,a=e.x-n.x,s=e.y-n.y,c=(t.x+e.x)/2,h=(t.y+e.y)/2,l=(e.x+n.x)/2,u=(e.y+n.y)/2,d=Math.sqrt(o*o+r*r),f=Math.sqrt(a*a+s*s),p=f/(d+f),v=l+(c-l)*p,m=u+(h-u)*p,_=e.x-v,y=e.y-m;return{c1:new i(c+_,h+y),c2:new i(l+_,u+y)}},r.prototype._calculateCurveWidths=function(t){var e=t.startPoint,n=t.endPoint,i={start:null,end:null},o=this.velocityFilterWeight*n.velocityFrom(e)+(1-this.velocityFilterWeight)*this._lastVelocity,r=this._strokeWidth(o);return i.start=this._lastWidth,i.end=r,this._lastVelocity=o,this._lastWidth=r,i},r.prototype._strokeWidth=function(t){return Math.max(this.maxWidth/(t+1),this.minWidth)},r.prototype._drawPoint=function(t,e,n){var i=this._ctx;i.moveTo(t,e),i.arc(t,e,n,0,2*Math.PI,!1),this._isEmpty=!1},r.prototype._drawCurve=function(t,e,n){var i=this._ctx,o=n-e,r=Math.floor(t.length());i.beginPath();for(var a=0;a<r;a+=1){var s=a/r,c=s*s,h=c*s,l=1-s,u=l*l,d=u*l,f=d*t.startPoint.x;f+=3*u*s*t.control1.x,f+=3*l*c*t.control2.x,f+=h*t.endPoint.x;var p=d*t.startPoint.y;p+=3*u*s*t.control1.y,p+=3*l*c*t.control2.y,p+=h*t.endPoint.y;var v=e+h*o;this._drawPoint(f,p,v)}i.closePath(),i.fill()},r.prototype._drawDot=function(t){var e=this._ctx,n="function"==typeof this.dotSize?this.dotSize():this.dotSize;e.beginPath(),this._drawPoint(t.x,t.y,n),e.closePath(),e.fill()},r.prototype._fromData=function(t,e,n){for(var o=0;o<t.length;o+=1){var r=t[o];if(r.length>1)for(var a=0;a<r.length;a+=1){var s=r[a],c=new i(s.x,s.y,s.time),h=s.color;if(0===a)this.penColor=h,this._reset(),this._addPoint(c);else if(a!==r.length-1){var l=this._addPoint(c),u=l.curve,d=l.widths;u&&d&&e(u,d,h)}}else this._reset(),n(r[0])}},r.prototype._toSVG=function(){var t=this,e=this._data,n=this._canvas,i=Math.max(window.devicePixelRatio||1,1),o=n.width/i,r=n.height/i,a=document.createElementNS("http://www.w3.org/2000/svg","svg");a.setAttributeNS(null,"width",n.width),a.setAttributeNS(null,"height",n.height),this._fromData(e,(function(t,e,n){var i=document.createElement("path");if(!(isNaN(t.control1.x)||isNaN(t.control1.y)||isNaN(t.control2.x)||isNaN(t.control2.y))){var o="M "+t.startPoint.x.toFixed(3)+","+t.startPoint.y.toFixed(3)+" C "+t.control1.x.toFixed(3)+","+t.control1.y.toFixed(3)+" "+t.control2.x.toFixed(3)+","+t.control2.y.toFixed(3)+" "+t.endPoint.x.toFixed(3)+","+t.endPoint.y.toFixed(3);i.setAttribute("d",o),i.setAttribute("stroke-width",(2.25*e.end).toFixed(3)),i.setAttribute("stroke",n),i.setAttribute("fill","none"),i.setAttribute("stroke-linecap","round"),a.appendChild(i)}}),(function(e){var n=document.createElement("circle"),i="function"==typeof t.dotSize?t.dotSize():t.dotSize;n.setAttribute("r",i),n.setAttribute("cx",e.x),n.setAttribute("cy",e.y),n.setAttribute("fill",e.color),a.appendChild(n)}));var s='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 '+o+" "+r+'" width="'+o+'" height="'+r+'">',c=a.innerHTML;if(void 0===c){var h=document.createElement("dummy"),l=a.childNodes;h.innerHTML="";for(var u=0;u<l.length;u+=1)h.appendChild(l[u].cloneNode(!0));c=h.innerHTML}return"data:image/svg+xml;base64,"+btoa(s+c+"</svg>")},r.prototype.fromData=function(t){var e=this;this.clear(),this._fromData(t,(function(t,n){return e._drawCurve(t,n.start,n.end)}),(function(t){return e._drawDot(t)})),this._data=t},r.prototype.toData=function(){return this._data},e.default=r}}]);
@@ -1,17 +0,0 @@
1
- /*!
2
- * Signature Pad v2.3.2
3
- * https://github.com/szimek/signature_pad
4
- *
5
- * Copyright 2017 Szymon Nowak
6
- * Released under the MIT license
7
- *
8
- * The main idea and some parts of the code (e.g. drawing variable width Bézier curve) are taken from:
9
- * http://corner.squareup.com/2012/07/smoother-signatures.html
10
- *
11
- * Implementation of interpolation using cubic Bézier curves is taken from:
12
- * http://benknowscode.wordpress.com/2012/09/14/path-interpolation-using-cubic-bezier-and-control-point-estimation-in-javascript
13
- *
14
- * Algorithm for approximated length of a Bézier curve is taken from:
15
- * http://www.lemoda.net/maths/bezier-length/index.html
16
- *
17
- */