halo-pc 1.0.49 → 1.0.51

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 (495) hide show
  1. package/esm/{@types/CreatePcOptions.d.ts → @type/PcOptions.d.ts} +4 -1
  2. package/esm/@type/index.d.ts +7 -0
  3. package/esm/{coms → comp}/business/@types/index.d.ts +0 -1
  4. package/esm/{coms → comp}/business/Drawer.vue.d.ts +3 -1
  5. package/esm/comp/business/Feedback.vue.d.ts +98 -0
  6. package/esm/{coms → comp}/business/index.d.ts +2 -3
  7. package/esm/{coms/commons → comp/common}/Captcha.vue.d.ts +5 -1
  8. package/esm/{coms/commons → comp/common}/Table.vue.d.ts +6 -3
  9. package/esm/comp/common/index.d.ts +4 -0
  10. package/esm/{coms/controls → comp/control}/Cascader.vue.d.ts +3 -1
  11. package/esm/{coms/controls → comp/control}/Compare.vue.d.ts +3 -1
  12. package/esm/{coms/controls → comp/control}/Index.vue.d.ts +3 -1
  13. package/esm/{coms/controls → comp/control}/RichText.vue.d.ts +1 -1
  14. package/esm/{coms/controls → comp/control}/Select.vue.d.ts +3 -1
  15. package/esm/{coms/controls → comp/control}/Upload.vue.d.ts +3 -1
  16. package/esm/comp/driver/Crud.vue.d.ts +766 -0
  17. package/esm/comp/driver/Index.vue.d.ts +1438 -0
  18. package/esm/comp/driver/Picker.vue.d.ts +108 -0
  19. package/esm/comp/driver/index.d.ts +4 -0
  20. package/esm/{coms/globals → comp/global}/@types/WindowOptions.d.ts +1 -1
  21. package/esm/comp/global/HeaderTab.vue.d.ts +17 -0
  22. package/esm/comp/global/Menu.vue.d.ts +336 -0
  23. package/esm/comp/global/MenuItem.vue.d.ts +259 -0
  24. package/esm/comp/global/Window.vue.d.ts +32 -0
  25. package/esm/comp/global/index.d.ts +7 -0
  26. package/esm/{coms/headers → comp/header}/@types/ChangeProps.d.ts +1 -1
  27. package/esm/{coms/headers → comp/header}/@types/HeaderProps.d.ts +0 -1
  28. package/esm/{coms/headers → comp/header}/@types/index.d.ts +0 -1
  29. package/esm/comp/header/HeaderRight.vue.d.ts +28 -0
  30. package/esm/comp/index.d.ts +12 -0
  31. package/esm/comp/layout/@types/DesktopDialog.d.ts +48 -0
  32. package/esm/comp/layout/@types/index.d.ts +2 -0
  33. package/esm/comp/layout/Desktop.vue.d.ts +111 -0
  34. package/esm/comp/layout/Index.vue.d.ts +491 -0
  35. package/esm/comp/layout/Side.vue.d.ts +25 -0
  36. package/esm/comp/layout/Top.vue.d.ts +358 -0
  37. package/esm/{coms/lists → comp/list}/@types/ListProps.d.ts +1 -1
  38. package/esm/comp/list/Racebar.vue.d.ts +39 -0
  39. package/esm/comp/list/Statistic.vue.d.ts +39 -0
  40. package/esm/{coms/lists → comp/list}/Stock.vue.d.ts +3 -1
  41. package/esm/{coms/lists → comp/list}/Tree.vue.d.ts +11 -4
  42. package/esm/{coms/pages → comp/page}/Column.vue.d.ts +1 -1
  43. package/esm/{coms/pages → comp/page}/Custom.vue.d.ts +5 -5
  44. package/esm/{coms/pages → comp/page}/List.vue.d.ts +7 -5
  45. package/esm/comp/page/Paging.vue.d.ts +63 -0
  46. package/esm/{coms/pages → comp/page}/Single.vue.d.ts +4 -4
  47. package/esm/{coms/pagings → comp/paging}/@types/PagingProps.d.ts +1 -1
  48. package/esm/{coms/pagings → comp/paging}/@types/SearchHeaderProps.d.ts +1 -1
  49. package/esm/comp/paging/Article.vue.d.ts +50 -0
  50. package/esm/{coms/pagings → comp/paging}/DataExport.vue.d.ts +3 -1
  51. package/esm/{coms/pagings → comp/paging}/Index.vue.d.ts +6 -4
  52. package/esm/{coms/pagings → comp/paging}/SearchForm.vue.d.ts +5 -2
  53. package/esm/{coms/pagings → comp/paging}/SearchHeader.vue.d.ts +7 -2
  54. package/esm/comp/paging/Table.vue.d.ts +584 -0
  55. package/esm/{coms/panels → comp/panel}/Operation.vue.d.ts +3 -1
  56. package/esm/{coms/panels → comp/panel}/Panel.vue.d.ts +1 -1
  57. package/esm/{coms/partials → comp/partial}/@types/PagingHeaderProps.d.ts +1 -1
  58. package/esm/{coms/searches → comp/search}/Select.vue.d.ts +3 -1
  59. package/esm/comp/single/@types/SingleEmit.d.ts +13 -0
  60. package/esm/{coms/singles → comp/single}/@types/SingleProps.d.ts +1 -1
  61. package/esm/{coms/singles → comp/single}/@types/index.d.ts +1 -0
  62. package/esm/{coms/singles → comp/single}/Index.vue.d.ts +4 -2
  63. package/esm/{coms/singles → comp/single}/Normal.vue.d.ts +5 -2
  64. package/esm/comp/single/Table.vue.d.ts +505 -0
  65. package/esm/{coms/singles → comp/single}/Tree.vue.d.ts +5 -2
  66. package/esm/{coms/texts → comp/text}/Autocomplete.vue.d.ts +1 -1
  67. package/esm/{coms/texts → comp/text}/CSharp.vue.d.ts +1 -1
  68. package/esm/{coms/texts → comp/text}/Cascader.vue.d.ts +1 -1
  69. package/esm/{coms/texts → comp/text}/Checkbox.vue.d.ts +1 -1
  70. package/esm/{coms/texts → comp/text}/Code.vue.d.ts +1 -1
  71. package/esm/{coms/texts → comp/text}/Color.vue.d.ts +1 -1
  72. package/esm/{coms/texts → comp/text}/Compare.vue.d.ts +1 -1
  73. package/esm/{coms/texts → comp/text}/Copy.vue.d.ts +1 -1
  74. package/esm/{coms/texts → comp/text}/Date.vue.d.ts +1 -1
  75. package/esm/{coms/texts → comp/text}/DateRange.vue.d.ts +1 -1
  76. package/esm/{coms/texts → comp/text}/DateTime.vue.d.ts +1 -1
  77. package/esm/{coms/texts → comp/text}/Decimal.vue.d.ts +1 -1
  78. package/esm/{coms/texts → comp/text}/Dictionary.vue.d.ts +1 -1
  79. package/esm/{coms/texts → comp/text}/Email.vue.d.ts +1 -1
  80. package/esm/{coms/texts → comp/text}/Index.vue.d.ts +1 -1
  81. package/esm/{coms/texts → comp/text}/Int.vue.d.ts +1 -1
  82. package/esm/{coms/texts → comp/text}/Markdown.vue.d.ts +1 -1
  83. package/esm/{coms/texts → comp/text}/Month.vue.d.ts +1 -1
  84. package/esm/{coms/texts → comp/text}/Password.vue.d.ts +1 -1
  85. package/esm/{coms/texts → comp/text}/Progress.vue.d.ts +1 -1
  86. package/esm/{coms/texts → comp/text}/Radio.vue.d.ts +1 -1
  87. package/esm/comp/text/Rate.vue.d.ts +14 -0
  88. package/esm/{coms/texts → comp/text}/RichText.vue.d.ts +1 -1
  89. package/esm/{coms/texts → comp/text}/Select.vue.d.ts +1 -1
  90. package/esm/{coms/texts → comp/text}/Switch.vue.d.ts +1 -1
  91. package/esm/{coms/texts → comp/text}/Text.vue.d.ts +4 -2
  92. package/esm/{coms/texts → comp/text}/TextLink.vue.d.ts +1 -1
  93. package/esm/{coms/texts → comp/text}/Textarea.vue.d.ts +1 -1
  94. package/esm/{coms/texts → comp/text}/Upload.vue.d.ts +1 -1
  95. package/esm/{coms/texts → comp/text}/Year.vue.d.ts +1 -1
  96. package/esm/{drivers → driver}/index.d.ts +1 -1
  97. package/esm/{drivers/messengers → driver/messenger}/PcMessenger.d.ts +2 -2
  98. package/esm/factory/Drivers.d.ts +6 -0
  99. package/esm/factory/Factories.d.ts +6 -0
  100. package/esm/factory/I18ns.d.ts +6 -0
  101. package/esm/factory/Repos.d.ts +11 -0
  102. package/esm/factory/Svcs.d.ts +46 -0
  103. package/esm/factory/Utilities.d.ts +3 -0
  104. package/esm/factory/Utils.d.ts +6 -0
  105. package/esm/factory/index.d.ts +7 -0
  106. package/esm/main.d.ts +3 -7
  107. package/esm/{api/UploadApi.d.ts → repo/UploadRepo.d.ts} +2 -2
  108. package/esm/repo/index.d.ts +1 -0
  109. package/esm/{svcs → svc}/ComponentSvc.d.ts +1 -1
  110. package/esm/{svcs → svc}/ControlSvc.d.ts +1 -1
  111. package/esm/{svcs → svc}/ModuleSvc.d.ts +1 -1
  112. package/esm/{svcs → svc}/PageSvc.d.ts +1 -1
  113. package/esm/{svcs → svc}/RouterSvc.d.ts +1 -1
  114. package/esm/svc/index.d.ts +8 -0
  115. package/esm/{views/helps → view/help}/Install.vue.d.ts +3 -1
  116. package/esm/{views/logins → view/sso}/Index.vue.d.ts +5 -1
  117. package/esm/view/sso/Register.vue.d.ts +34 -0
  118. package/package.json +17 -17
  119. package/dist/Article-B4W1yDus.js +0 -200
  120. package/dist/ArticleFooter-BZmGzE4z.js +0 -85
  121. package/dist/Autocomplete-B691jOqv.js +0 -55
  122. package/dist/Autocomplete-CLYzsHIy.js +0 -54
  123. package/dist/Autocomplete-DXKXgbu8.js +0 -27
  124. package/dist/CSharp-Bu5b_AQ5.js +0 -27
  125. package/dist/Calender-Df0eBgXW.js +0 -10
  126. package/dist/Callback-Bk7xDeWh.js +0 -26
  127. package/dist/Cascader-Bn5tdkyk.js +0 -47
  128. package/dist/Cascader-CCv6R_xq.js +0 -87
  129. package/dist/Checkbox-DJTNEds9.js +0 -27
  130. package/dist/Checkbox-l-dw3I-D.js +0 -76
  131. package/dist/Code-BIJ8L9XB.js +0 -4
  132. package/dist/Code-CC0_bYUf.js +0 -60
  133. package/dist/Code-DSskK7CQ.js +0 -42
  134. package/dist/Code-DzZ4UNYj.js +0 -30
  135. package/dist/Code.vue_vue_type_style_index_0_lang-B69Ar-BV.js +0 -65
  136. package/dist/Color-CfXtJFUo.js +0 -22
  137. package/dist/Color-Da69pnQg.js +0 -34
  138. package/dist/Column-Ct-WeomE.js +0 -75
  139. package/dist/Comment-WXfnUXm0.js +0 -106
  140. package/dist/Compare-C7wrM-XA.js +0 -43
  141. package/dist/Compare-slAZvFE_.js +0 -63
  142. package/dist/Copy-Djf4freJ.js +0 -49
  143. package/dist/Custom-D-E5y5Vg.js +0 -55
  144. package/dist/DataExport-TrGLjcqQ.js +0 -4
  145. package/dist/DataExport.vue_vue_type_script_setup_true_lang-BRI71FyH.js +0 -114
  146. package/dist/DataImport-rcDmGVKS.js +0 -4
  147. package/dist/DataImport.vue_vue_type_script_setup_true_lang-BajrFerF.js +0 -178
  148. package/dist/Date-7EWMEODI.js +0 -27
  149. package/dist/Date-Dc2vK9Yv.js +0 -43
  150. package/dist/DateRange-DrYK_l0Y.js +0 -19
  151. package/dist/DateRange-Uli5eOZ5.js +0 -63
  152. package/dist/DateTime-C-XhFPb0.js +0 -27
  153. package/dist/DateTime-DfUXtsBX.js +0 -44
  154. package/dist/DateTimeRange-CnITxfZ9.js +0 -67
  155. package/dist/Daterange-CPJSBRvr.js +0 -63
  156. package/dist/Decimal-BtQpSIJR.js +0 -27
  157. package/dist/Decimal-C38-N54B.js +0 -36
  158. package/dist/Delete-r-qTGBEE.js +0 -62
  159. package/dist/Detail-D77pFe-2.js +0 -75
  160. package/dist/Dictionary-ICeLwv7E.js +0 -61
  161. package/dist/Email-BKW9GRcH.js +0 -19
  162. package/dist/Email-BanDj216.js +0 -54
  163. package/dist/File-BrXieip7.js +0 -164
  164. package/dist/Image-D_5kTXKm.js +0 -9
  165. package/dist/Index-BMBm5j5X.js +0 -4
  166. package/dist/Index-BQmAD1mw.js +0 -4
  167. package/dist/Index-Bov1OTEP.js +0 -4
  168. package/dist/Index-Ceu5HCjk.js +0 -4
  169. package/dist/Index-CsxTOaw6.js +0 -76
  170. package/dist/Index-Ddz9mcly.js +0 -4
  171. package/dist/Index-DhShUw_y.js +0 -4
  172. package/dist/Index-wHW-zG4G.js +0 -179
  173. package/dist/Index.vue_vue_type_script_setup_true_lang-BlpCvZBC.js +0 -86
  174. package/dist/Index.vue_vue_type_script_setup_true_lang-C_KWQFHN.js +0 -72
  175. package/dist/Install-DhWWbGRi.js +0 -135
  176. package/dist/Int-B-t8edhd.js +0 -19
  177. package/dist/Int-BELzPmec.js +0 -47
  178. package/dist/Int-BZkW-0JA.js +0 -44
  179. package/dist/List-9r5PDoSS.js +0 -77
  180. package/dist/Maintaince-CMitKNaf.js +0 -20
  181. package/dist/Markdown-BzMP3m7o.js +0 -37
  182. package/dist/Markdown-C8urG88V.js +0 -27
  183. package/dist/Month-BNp70T17.js +0 -44
  184. package/dist/Month-CK5GNwwH.js +0 -27
  185. package/dist/Month-D4gy17OL.js +0 -43
  186. package/dist/Normal-Cvx8228I.js +0 -266
  187. package/dist/Paging-B3l_nJHf.js +0 -100
  188. package/dist/PagingHeader-CYOKAeGS.js +0 -149
  189. package/dist/PagingRow-vv6z6G0t.js +0 -73
  190. package/dist/Password-DuyYEgzR.js +0 -55
  191. package/dist/Password-yHtlY-Qa.js +0 -24
  192. package/dist/Progress-C3D821AQ.js +0 -34
  193. package/dist/Progress-CKVzMO-W.js +0 -25
  194. package/dist/Racebar-B4Q4oVfM.js +0 -170
  195. package/dist/Radio-DA8B5Rlh.js +0 -27
  196. package/dist/Radio-DkcBKBvX.js +0 -47
  197. package/dist/Rate-B7jKTFKT.js +0 -34
  198. package/dist/Rate-BmC4gw_0.js +0 -34
  199. package/dist/Register-BaFqs8vX.js +0 -202
  200. package/dist/RichText-Bk0Msyhl.js +0 -22
  201. package/dist/RichText-TV3ZnykX.js +0 -47
  202. package/dist/SearchForm-zVUHuxiR.js +0 -4
  203. package/dist/SearchForm.vue_vue_type_style_index_0_lang-BvwtZSIf.js +0 -148
  204. package/dist/SearchHeader-Dqr5IKuO.js +0 -4
  205. package/dist/SearchHeader.vue_vue_type_style_index_0_lang-DjpC03Al.js +0 -60
  206. package/dist/Select-51pxexYZ.js +0 -27
  207. package/dist/Select-BvRI4zbF.js +0 -123
  208. package/dist/Select-CUvvvGNn.js +0 -86
  209. package/dist/Single-BtAJSJLK.js +0 -325
  210. package/dist/Statistic-CQ2oA1vm.js +0 -159
  211. package/dist/Statistic-Dxa-CZ8G.js +0 -78
  212. package/dist/Stock-DF5yBa1X.js +0 -4
  213. package/dist/Stock-DylT7df9.js +0 -30
  214. package/dist/Stock.vue_vue_type_style_index_0_lang-BpgVbCj-.js +0 -304
  215. package/dist/Switch-CGcPpvTj.js +0 -27
  216. package/dist/Switch-DhFaku5L.js +0 -50
  217. package/dist/Table-1R7b4wsF.js +0 -247
  218. package/dist/Table-BlciJJMu.js +0 -323
  219. package/dist/Text-Bx46Fcln.js +0 -58
  220. package/dist/Text-CA8i8QjK.js +0 -4
  221. package/dist/Text-Dv_w46l8.js +0 -54
  222. package/dist/Text.vue_vue_type_style_index_0_lang-CfmQxBpy.js +0 -59
  223. package/dist/TextLink-CQj0ytVR.js +0 -65
  224. package/dist/Textarea-D6VcTq4G.js +0 -28
  225. package/dist/Textarea-D9TgF9ig.js +0 -37
  226. package/dist/Time-WN0VMSgh.js +0 -43
  227. package/dist/Timeline-DckHQQHw.js +0 -61
  228. package/dist/Tree-BWxBxlZN.js +0 -125
  229. package/dist/Tree-DHwhhXMP.js +0 -298
  230. package/dist/TreeNode-CeXU-uB1.js +0 -43
  231. package/dist/Tree_Old-h__WmqFA.js +0 -11
  232. package/dist/Update-Ct44IN2J.js +0 -70
  233. package/dist/UpdateChild-Bo6yZ12Y.js +0 -92
  234. package/dist/Upload-CfRc8s-c.js +0 -71
  235. package/dist/Upload-Dui004Aq.js +0 -150
  236. package/dist/Year-CgsNE-M5.js +0 -27
  237. package/dist/Year-oJxibej6.js +0 -47
  238. package/dist/assets/clipboard-DjQPoCBJ.js +0 -501
  239. package/dist/assets/clone-BZn0cTAu.js +0 -134
  240. package/dist/assets/element-plus-CT-3dawQ.js +0 -497
  241. package/dist/assets/file-saver-CwlpTZSc.js +0 -74
  242. package/dist/assets/intro.js-Cg1adLK7.js +0 -1142
  243. package/dist/assets/liquidjs-BfOWWjtJ.js +0 -2907
  244. package/dist/assets/moment-h96o7c8I.js +0 -2578
  245. package/dist/assets/sprintf-js-BPTdvBYM.js +0 -148
  246. package/dist/assets/underscore-B0BCaBxV.js +0 -1070
  247. package/dist/assets/underscore.string-DVXD2SZo.js +0 -425
  248. package/dist/assets/util-deprecate-Dzun97re.js +0 -28
  249. package/dist/main-BJRpvr2g.js +0 -10974
  250. package/dist/main.js +0 -166
  251. package/dist/style.css +0 -1
  252. package/esm/@types/index.d.ts +0 -1
  253. package/esm/api/QueryApi.d.ts +0 -10
  254. package/esm/api/index.d.ts +0 -3
  255. package/esm/coms/business/@types/CrudProps.d.ts +0 -22
  256. package/esm/coms/business/@types/DriverProps.d.ts +0 -58
  257. package/esm/coms/business/@types/FormProps.d.ts +0 -5
  258. package/esm/coms/business/Crud.vue.d.ts +0 -22
  259. package/esm/coms/business/Driver.vue.d.ts +0 -38
  260. package/esm/coms/business/Feedback.vue.d.ts +0 -8
  261. package/esm/coms/business/Form.vue.d.ts +0 -18
  262. package/esm/coms/business/Welcome.vue.d.ts +0 -8
  263. package/esm/coms/business/types/CrudProps.d.ts +0 -22
  264. package/esm/coms/business/types/DrawerProps.d.ts +0 -14
  265. package/esm/coms/business/types/DriverProps.d.ts +0 -63
  266. package/esm/coms/business/types/FormProps.d.ts +0 -18
  267. package/esm/coms/business/types/index.d.ts +0 -5
  268. package/esm/coms/commons/@types/TableProps.d.ts +0 -21
  269. package/esm/coms/commons/@types/index.d.ts +0 -1
  270. package/esm/coms/commons/Spinner.vue.d.ts +0 -20
  271. package/esm/coms/commons/index.d.ts +0 -7
  272. package/esm/coms/commons/types/TableProps.d.ts +0 -22
  273. package/esm/coms/commons/types/index.d.ts +0 -2
  274. package/esm/coms/controls/types/ControlProps.d.ts +0 -26
  275. package/esm/coms/controls/types/index.d.ts +0 -2
  276. package/esm/coms/drivers/@types/CrudProps.d.ts +0 -21
  277. package/esm/coms/drivers/@types/DriverBaseProps.d.ts +0 -13
  278. package/esm/coms/drivers/@types/DriverEmit.d.ts +0 -17
  279. package/esm/coms/drivers/@types/DriverFormProps.d.ts +0 -14
  280. package/esm/coms/drivers/@types/DriverKindEmit.d.ts +0 -17
  281. package/esm/coms/drivers/@types/DriverProps.d.ts +0 -28
  282. package/esm/coms/drivers/@types/KindFormProps.d.ts +0 -16
  283. package/esm/coms/drivers/@types/KindProps.d.ts +0 -20
  284. package/esm/coms/drivers/@types/index.d.ts +0 -5
  285. package/esm/coms/drivers/Crud.vue.d.ts +0 -30
  286. package/esm/coms/drivers/Index.vue.d.ts +0 -115
  287. package/esm/coms/drivers/Kind.vue.d.ts +0 -34
  288. package/esm/coms/drivers/index.d.ts +0 -5
  289. package/esm/coms/globals/HeaderTab.vue.d.ts +0 -27
  290. package/esm/coms/globals/HeaderTabs.vue.d.ts +0 -24
  291. package/esm/coms/globals/Menu.vue.d.ts +0 -77
  292. package/esm/coms/globals/MenuItem.vue.d.ts +0 -76
  293. package/esm/coms/globals/SideTabs.vue.d.ts +0 -25
  294. package/esm/coms/globals/Window.vue.d.ts +0 -68
  295. package/esm/coms/globals/index.d.ts +0 -9
  296. package/esm/coms/globals/types/WindowOptions.d.ts +0 -38
  297. package/esm/coms/globals/types/WindowProps.d.ts +0 -27
  298. package/esm/coms/globals/types/index.d.ts +0 -3
  299. package/esm/coms/headers/@types/TipsProps.d.ts +0 -10
  300. package/esm/coms/headers/Debugger.vue.d.ts +0 -2
  301. package/esm/coms/headers/HeaderRight.vue.d.ts +0 -8
  302. package/esm/coms/headers/Tips.vue.d.ts +0 -3
  303. package/esm/coms/index.d.ts +0 -12
  304. package/esm/coms/layouts/@types/index.d.ts +0 -1
  305. package/esm/coms/layouts/Desktop.vue.d.ts +0 -2
  306. package/esm/coms/layouts/Index.vue.d.ts +0 -28
  307. package/esm/coms/layouts/Side.vue.d.ts +0 -23
  308. package/esm/coms/layouts/Top.vue.d.ts +0 -5
  309. package/esm/coms/layouts/types/ITaskBar.d.ts +0 -6
  310. package/esm/coms/layouts/types/index.d.ts +0 -2
  311. package/esm/coms/lists/Racebar.vue.d.ts +0 -9
  312. package/esm/coms/lists/Statistic.vue.d.ts +0 -9
  313. package/esm/coms/lists/types/ListProps.d.ts +0 -15
  314. package/esm/coms/lists/types/index.d.ts +0 -2
  315. package/esm/coms/pages/@types/KeyboardType.d.ts +0 -8
  316. package/esm/coms/pages/Paging.vue.d.ts +0 -17
  317. package/esm/coms/pages/types/ColumnPageProps.d.ts +0 -11
  318. package/esm/coms/pages/types/CustomPageProps.d.ts +0 -11
  319. package/esm/coms/pages/types/DeletePageProps.d.ts +0 -15
  320. package/esm/coms/pages/types/KeyboardType.d.ts +0 -8
  321. package/esm/coms/pages/types/ListPageProps.d.ts +0 -15
  322. package/esm/coms/pages/types/PageEmit.d.ts +0 -22
  323. package/esm/coms/pages/types/PageProps.d.ts +0 -14
  324. package/esm/coms/pages/types/PagingPageProps.d.ts +0 -15
  325. package/esm/coms/pages/types/SchemaProps.d.ts +0 -30
  326. package/esm/coms/pages/types/SinglePageProps.d.ts +0 -15
  327. package/esm/coms/pages/types/index.d.ts +0 -11
  328. package/esm/coms/pagings/@types/SearchFooterProps.d.ts +0 -10
  329. package/esm/coms/pagings/Article.vue.d.ts +0 -19
  330. package/esm/coms/pagings/SearchFooter.vue.d.ts +0 -19
  331. package/esm/coms/pagings/Table.vue.d.ts +0 -24
  332. package/esm/coms/pagings/types/PagingProps.d.ts +0 -11
  333. package/esm/coms/pagings/types/index.d.ts +0 -2
  334. package/esm/coms/panels/types/OperationProps.d.ts +0 -10
  335. package/esm/coms/panels/types/index.d.ts +0 -2
  336. package/esm/coms/partials/types/ArticleFooterEmit.d.ts +0 -26
  337. package/esm/coms/partials/types/DetailEmit.d.ts +0 -18
  338. package/esm/coms/partials/types/DetailProps.d.ts +0 -22
  339. package/esm/coms/partials/types/PagingHeaderEmit.d.ts +0 -34
  340. package/esm/coms/partials/types/PagingHeaderProps.d.ts +0 -30
  341. package/esm/coms/partials/types/PagingRowEmit.d.ts +0 -26
  342. package/esm/coms/partials/types/PagingRowProps.d.ts +0 -22
  343. package/esm/coms/partials/types/TreeNodeProps.d.ts +0 -22
  344. package/esm/coms/partials/types/UpdateChildEmit.d.ts +0 -22
  345. package/esm/coms/partials/types/UpdateChildProps.d.ts +0 -22
  346. package/esm/coms/partials/types/UpdateEmit.d.ts +0 -14
  347. package/esm/coms/partials/types/UpdateProps.d.ts +0 -22
  348. package/esm/coms/partials/types/index.d.ts +0 -13
  349. package/esm/coms/searches/types/SearchProps.d.ts +0 -10
  350. package/esm/coms/searches/types/index.d.ts +0 -2
  351. package/esm/coms/singles/Table.vue.d.ts +0 -13
  352. package/esm/coms/singles/types/SingleProps.d.ts +0 -15
  353. package/esm/coms/singles/types/index.d.ts +0 -2
  354. package/esm/coms/texts/Rate.vue.d.ts +0 -14
  355. package/esm/plugins/PcMessenger.d.ts +0 -35
  356. package/esm/plugins/index.d.ts +0 -4
  357. package/esm/repos/QueryApi.d.ts +0 -10
  358. package/esm/repos/UploadApi.d.ts +0 -9
  359. package/esm/repos/index.d.ts +0 -1
  360. package/esm/svcs/PcI18nSvc.d.ts +0 -15
  361. package/esm/svcs/StandardSvc.d.ts +0 -40
  362. package/esm/svcs/Svcs.d.ts +0 -11
  363. package/esm/svcs/WindowSvc.d.ts +0 -26
  364. package/esm/svcs/index.d.ts +0 -24
  365. package/esm/types/CreatePcOptions.d.ts +0 -15
  366. package/esm/types/index.d.ts +0 -2
  367. package/esm/views/logins/Register.vue.d.ts +0 -2
  368. package/esm/views/sso/Callback.vue.d.ts +0 -2
  369. package/esm/views/sso/Index.vue.d.ts +0 -2
  370. package/esm/views/sso/Register.vue.d.ts +0 -2
  371. /package/esm/{coms → comp}/business/@types/DrawerProps.d.ts +0 -0
  372. /package/esm/{coms → comp}/business/Condition.vue.d.ts +0 -0
  373. /package/esm/{coms → comp}/business/Switch.vue.d.ts +0 -0
  374. /package/esm/{coms/commons → comp/common}/Debug.vue.d.ts +0 -0
  375. /package/esm/{coms/commons → comp/common}/Editable.vue.d.ts +0 -0
  376. /package/esm/{coms/commons → comp/common}/Loading.vue.d.ts +0 -0
  377. /package/esm/{coms/commons → comp/common}/MouseContext.vue.d.ts +0 -0
  378. /package/esm/{coms/commons → comp/common}/Particles.vue.d.ts +0 -0
  379. /package/esm/{coms/commons → comp/common}/Resizer.vue.d.ts +0 -0
  380. /package/esm/{coms/commons → comp/common}/TableColumn.vue.d.ts +0 -0
  381. /package/esm/{coms/controls → comp/control}/@types/ControlProps.d.ts +0 -0
  382. /package/esm/{coms/controls → comp/control}/@types/index.d.ts +0 -0
  383. /package/esm/{coms/controls → comp/control}/Autocomplete.vue.d.ts +0 -0
  384. /package/esm/{coms/controls → comp/control}/Checkbox.vue.d.ts +0 -0
  385. /package/esm/{coms/controls → comp/control}/Code.vue.d.ts +0 -0
  386. /package/esm/{coms/controls → comp/control}/Color.vue.d.ts +0 -0
  387. /package/esm/{coms/controls → comp/control}/Date.vue.d.ts +0 -0
  388. /package/esm/{coms/controls → comp/control}/DateRange.vue.d.ts +0 -0
  389. /package/esm/{coms/controls → comp/control}/DateTime.vue.d.ts +0 -0
  390. /package/esm/{coms/controls → comp/control}/DateTimeRange.vue.d.ts +0 -0
  391. /package/esm/{coms/controls → comp/control}/Decimal.vue.d.ts +0 -0
  392. /package/esm/{coms/controls → comp/control}/Email.vue.d.ts +0 -0
  393. /package/esm/{coms/controls → comp/control}/Image.vue.d.ts +0 -0
  394. /package/esm/{coms/controls → comp/control}/Int.vue.d.ts +0 -0
  395. /package/esm/{coms/controls → comp/control}/Markdown.vue.d.ts +0 -0
  396. /package/esm/{coms/controls → comp/control}/Month.vue.d.ts +0 -0
  397. /package/esm/{coms/controls → comp/control}/Password.vue.d.ts +0 -0
  398. /package/esm/{coms/controls → comp/control}/Progress.vue.d.ts +0 -0
  399. /package/esm/{coms/controls → comp/control}/Radio.vue.d.ts +0 -0
  400. /package/esm/{coms/controls → comp/control}/Rate.vue.d.ts +0 -0
  401. /package/esm/{coms/controls → comp/control}/Switch.vue.d.ts +0 -0
  402. /package/esm/{coms/controls → comp/control}/Text.vue.d.ts +0 -0
  403. /package/esm/{coms/controls → comp/control}/Textarea.vue.d.ts +0 -0
  404. /package/esm/{coms/controls → comp/control}/Time.vue.d.ts +0 -0
  405. /package/esm/{coms/controls → comp/control}/Year.vue.d.ts +0 -0
  406. /package/esm/{coms/controls → comp/control}/index.d.ts +0 -0
  407. /package/esm/{coms/globals → comp/global}/@types/WindowEmit.d.ts +0 -0
  408. /package/esm/{coms/globals → comp/global}/@types/WindowProps.d.ts +0 -0
  409. /package/esm/{coms/globals → comp/global}/@types/index.d.ts +0 -0
  410. /package/esm/{coms/globals → comp/global}/MissComponent.vue.d.ts +0 -0
  411. /package/esm/{coms/globals → comp/global}/SideTab.vue.d.ts +0 -0
  412. /package/esm/{coms/headers → comp/header}/Breadcrumb.vue.d.ts +0 -0
  413. /package/esm/{coms/headers → comp/header}/Changes.vue.d.ts +0 -0
  414. /package/esm/{coms/headers → comp/header}/Hamburger.vue.d.ts +0 -0
  415. /package/esm/{coms/headers → comp/header}/Index.vue.d.ts +0 -0
  416. /package/esm/{coms/headers → comp/header}/Log.vue.d.ts +0 -0
  417. /package/esm/{coms/headers → comp/header}/Logo.vue.d.ts +0 -0
  418. /package/esm/{coms/headers → comp/header}/Refresh.vue.d.ts +0 -0
  419. /package/esm/{coms/headers → comp/header}/Setting.vue.d.ts +0 -0
  420. /package/esm/{coms/headers → comp/header}/index.d.ts +0 -0
  421. /package/esm/{coms/layouts → comp/layout}/@types/ITaskBar.d.ts +0 -0
  422. /package/esm/{coms/layouts → comp/layout}/index.d.ts +0 -0
  423. /package/esm/{coms/lists → comp/list}/@types/index.d.ts +0 -0
  424. /package/esm/{coms/lists → comp/list}/Calender.vue.d.ts +0 -0
  425. /package/esm/{coms/lists → comp/list}/Timeline.vue.d.ts +0 -0
  426. /package/esm/{coms/lists → comp/list}/index.d.ts +0 -0
  427. /package/esm/{coms/pages → comp/page}/@types/ColumnPageProps.d.ts +0 -0
  428. /package/esm/{coms/pages → comp/page}/@types/CustomPageProps.d.ts +0 -0
  429. /package/esm/{coms/pages → comp/page}/@types/DeletePageProps.d.ts +0 -0
  430. /package/esm/{coms/pages → comp/page}/@types/ListPageProps.d.ts +0 -0
  431. /package/esm/{coms/pages → comp/page}/@types/PageEmit.d.ts +0 -0
  432. /package/esm/{coms/pages → comp/page}/@types/PageProps.d.ts +0 -0
  433. /package/esm/{coms/pages → comp/page}/@types/PagingPageProps.d.ts +0 -0
  434. /package/esm/{coms/pages → comp/page}/@types/SchemaProps.d.ts +0 -0
  435. /package/esm/{coms/pages → comp/page}/@types/SinglePageProps.d.ts +0 -0
  436. /package/esm/{coms/pages → comp/page}/@types/index.d.ts +0 -0
  437. /package/esm/{coms/pages → comp/page}/Delete.vue.d.ts +0 -0
  438. /package/esm/{coms/pages → comp/page}/Index.vue.d.ts +0 -0
  439. /package/esm/{coms/pages → comp/page}/index.d.ts +0 -0
  440. /package/esm/{coms/pagings → comp/paging}/@types/SearchFormProps.d.ts +0 -0
  441. /package/esm/{coms/pagings → comp/paging}/@types/index.d.ts +0 -0
  442. /package/esm/{coms/pagings → comp/paging}/Code.vue.d.ts +0 -0
  443. /package/esm/{coms/pagings → comp/paging}/DataImport.vue.d.ts +0 -0
  444. /package/esm/{coms/pagings → comp/paging}/File.vue.d.ts +0 -0
  445. /package/esm/{coms/pagings → comp/paging}/index.d.ts +0 -0
  446. /package/esm/{coms/panels → comp/panel}/@types/OperationProps.d.ts +0 -0
  447. /package/esm/{coms/panels → comp/panel}/@types/index.d.ts +0 -0
  448. /package/esm/{coms/panels → comp/panel}/Group.vue.d.ts +0 -0
  449. /package/esm/{coms/panels → comp/panel}/Header.vue.d.ts +0 -0
  450. /package/esm/{coms/panels → comp/panel}/Shrink.vue.d.ts +0 -0
  451. /package/esm/{coms/panels → comp/panel}/index.d.ts +0 -0
  452. /package/esm/{coms/partials → comp/partial}/@types/ArticleFooterEmit.d.ts +0 -0
  453. /package/esm/{coms/partials → comp/partial}/@types/DetailEmit.d.ts +0 -0
  454. /package/esm/{coms/partials → comp/partial}/@types/DetailProps.d.ts +0 -0
  455. /package/esm/{coms/partials → comp/partial}/@types/PagingHeaderEmit.d.ts +0 -0
  456. /package/esm/{coms/partials → comp/partial}/@types/PagingRowEmit.d.ts +0 -0
  457. /package/esm/{coms/partials → comp/partial}/@types/PagingRowProps.d.ts +0 -0
  458. /package/esm/{coms/partials → comp/partial}/@types/TreeNodeProps.d.ts +0 -0
  459. /package/esm/{coms/partials → comp/partial}/@types/UpdateChildEmit.d.ts +0 -0
  460. /package/esm/{coms/partials → comp/partial}/@types/UpdateChildProps.d.ts +0 -0
  461. /package/esm/{coms/partials → comp/partial}/@types/UpdateEmit.d.ts +0 -0
  462. /package/esm/{coms/partials → comp/partial}/@types/UpdateProps.d.ts +0 -0
  463. /package/esm/{coms/partials → comp/partial}/@types/index.d.ts +0 -0
  464. /package/esm/{coms/partials → comp/partial}/ArticleFooter.vue.d.ts +0 -0
  465. /package/esm/{coms/partials → comp/partial}/Detail.vue.d.ts +0 -0
  466. /package/esm/{coms/partials → comp/partial}/PagingHeader.vue.d.ts +0 -0
  467. /package/esm/{coms/partials → comp/partial}/PagingRow.vue.d.ts +0 -0
  468. /package/esm/{coms/partials → comp/partial}/TreeNode.vue.d.ts +0 -0
  469. /package/esm/{coms/partials → comp/partial}/Update.vue.d.ts +0 -0
  470. /package/esm/{coms/partials → comp/partial}/UpdateChild.vue.d.ts +0 -0
  471. /package/esm/{coms/partials → comp/partial}/index.d.ts +0 -0
  472. /package/esm/{coms/searches → comp/search}/@types/SearchProps.d.ts +0 -0
  473. /package/esm/{coms/searches → comp/search}/@types/index.d.ts +0 -0
  474. /package/esm/{coms/searches → comp/search}/Autocomplete.vue.d.ts +0 -0
  475. /package/esm/{coms/searches → comp/search}/Daterange.vue.d.ts +0 -0
  476. /package/esm/{coms/searches → comp/search}/Index.vue.d.ts +0 -0
  477. /package/esm/{coms/searches → comp/search}/Int.vue.d.ts +0 -0
  478. /package/esm/{coms/searches → comp/search}/Month.vue.d.ts +0 -0
  479. /package/esm/{coms/searches → comp/search}/Text.vue.d.ts +0 -0
  480. /package/esm/{coms/searches → comp/search}/index.d.ts +0 -0
  481. /package/esm/{coms/singles → comp/single}/Code.vue.d.ts +0 -0
  482. /package/esm/{coms/singles → comp/single}/Comment.vue.d.ts +0 -0
  483. /package/esm/{coms/singles → comp/single}/Statistic.vue.d.ts +0 -0
  484. /package/esm/{coms/singles → comp/single}/Stock.vue.d.ts +0 -0
  485. /package/esm/{coms/singles → comp/single}/Tree_Old.vue.d.ts +0 -0
  486. /package/esm/{coms/singles → comp/single}/index.d.ts +0 -0
  487. /package/esm/{drivers/messengers → driver/messenger}/index.d.ts +0 -0
  488. /package/esm/{svcs → svc}/AppSvc.d.ts +0 -0
  489. /package/esm/{svcs → svc}/LayoutSvc.d.ts +0 -0
  490. /package/esm/{svcs → svc}/UploadSvc.d.ts +0 -0
  491. /package/esm/{views/helps → view/help}/401.vue.d.ts +0 -0
  492. /package/esm/{views/helps → view/help}/404.vue.d.ts +0 -0
  493. /package/esm/{views/helps → view/help}/Maintaince.vue.d.ts +0 -0
  494. /package/esm/{views/helps → view/help}/Upgrade.vue.d.ts +0 -0
  495. /package/esm/{views/logins → view/sso}/Callback.vue.d.ts +0 -0
@@ -1,86 +0,0 @@
1
- import { defineComponent as R, toRefs as S, ref as i, computed as I, resolveComponent as p, openBlock as r, createBlock as c, unref as t, withKeys as M, withModifiers as N, isRef as F, withCtx as f, createElementBlock as h, Fragment as L, renderList as U, createElementVNode as j, toDisplayString as v, createCommentVNode as q } from "vue";
2
- import { I as _, D as z } from "./main-BJRpvr2g.js";
3
- import "./assets/liquidjs-BfOWWjtJ.js";
4
- import "./assets/underscore-B0BCaBxV.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/clone-BZn0cTAu.js";
7
- import "./assets/underscore.string-DVXD2SZo.js";
8
- import "./assets/moment-h96o7c8I.js";
9
- const A = { class: "option-text" }, G = {
10
- key: 0,
11
- class: "option-suffix"
12
- }, $ = /* @__PURE__ */ R({
13
- __name: "Select",
14
- props: {
15
- schema: {},
16
- table: {},
17
- field: {},
18
- searchData: {},
19
- modelValue: { type: [String, Boolean] }
20
- },
21
- emits: ["change", "submit", "update:modelValue"],
22
- setup(x, { emit: b }) {
23
- let s = b, g = x, { schema: H, table: y, field: a, searchData: V, modelValue: k } = S(g), C = i(!1), m = i(), d = i(a.value.control.data.data), w = () => {
24
- s("submit");
25
- }, D = () => {
26
- }, B = (l) => {
27
- m.value = l, E();
28
- }, E = () => {
29
- let l = { text: m.value, conditions: [] };
30
- a.value.control.data.conditions.forEach((o) => {
31
- let u = V.value[o.table][o.field];
32
- l.conditions.push({ name: o.name, value: u });
33
- }), z.http.post(a.value.control.data.route, l).then(({ data: o }) => {
34
- d.value = o;
35
- }).finally(() => {
36
- C.value = !1;
37
- });
38
- }, n = I({
39
- get() {
40
- return k.value;
41
- },
42
- set(l) {
43
- s("update:modelValue", l), s("change", l);
44
- }
45
- });
46
- return (l, o) => {
47
- const u = p("el-option"), K = p("el-select");
48
- return r(), c(K, {
49
- ref: "selectRef",
50
- filterable: "",
51
- remote: "",
52
- "reserve-keyword": "",
53
- clearable: "",
54
- "default-first-option": "",
55
- "remote-show-suffix": "",
56
- placeholder: t(_).t("common.please_choose") + t(_).field(t(y).name, t(a).name),
57
- multiple: t(a).control.multiple,
58
- "loading-text": "加载中",
59
- "remote-method": t(B),
60
- disabled: t(a).control.readonly,
61
- onKeyup: M(N(t(w), ["alt"]), ["enter", "native"]),
62
- onChange: t(D),
63
- modelValue: t(n),
64
- "onUpdate:modelValue": o[0] || (o[0] = (e) => F(n) ? n.value = e : n = e)
65
- }, {
66
- default: f(() => [
67
- (r(!0), h(L, null, U(t(d), (e, J) => (r(), c(u, {
68
- label: e.text + (e.suffix ? "(" + e.suffix + ")" : ""),
69
- value: e.value,
70
- key: e.value
71
- }, {
72
- default: f(() => [
73
- j("span", A, v(e.text), 1),
74
- e.suffix ? (r(), h("span", G, "(" + v(e.suffix) + ")", 1)) : q("", !0)
75
- ]),
76
- _: 2
77
- }, 1032, ["label", "value"]))), 128))
78
- ]),
79
- _: 1
80
- }, 8, ["placeholder", "multiple", "remote-method", "disabled", "onKeyup", "onChange", "modelValue"]);
81
- };
82
- }
83
- });
84
- export {
85
- $ as default
86
- };
@@ -1,325 +0,0 @@
1
- import { defineComponent as $e, toRefs as De, ref as r, computed as te, watch as Ke, resolveComponent as f, openBlock as d, createElementBlock as A, normalizeClass as Be, unref as e, createElementVNode as m, createVNode as _, withCtx as s, withModifiers as Le, createBlock as h, isRef as ae, Fragment as oe, renderList as re, toDisplayString as R, createCommentVNode as $, resolveDynamicComponent as Ne, normalizeStyle as Pe, createTextVNode as ue, nextTick as ne } from "vue";
2
- import { c as qe, I as D, b as je, U as K, a as Fe, D as j, m as se, R as G, K as Ie } from "./main-BJRpvr2g.js";
3
- import "./assets/liquidjs-BfOWWjtJ.js";
4
- import "./assets/underscore-B0BCaBxV.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/clone-BZn0cTAu.js";
7
- import "./assets/underscore.string-DVXD2SZo.js";
8
- import "./assets/moment-h96o7c8I.js";
9
- import { _ as ie } from "./Index.vue_vue_type_script_setup_true_lang-C_KWQFHN.js";
10
- const Me = { class: "ha-main-form" }, Oe = { class: "row-header" }, Ae = { class: "row-title" }, Ge = { class: "el-drawer__title" }, He = ["href"], ol = /* @__PURE__ */ $e({
11
- __name: "Single",
12
- props: {
13
- base: {},
14
- route: {},
15
- url: {},
16
- win: {}
17
- },
18
- emits: ["navigate", "load", "succeed", "close"],
19
- setup(de, { expose: me, emit: pe }) {
20
- let B = pe, ve = de, { url: F, base: H, route: T } = De(ve), c = r(), b = r(), p = r(), u = r(), y = r(), L = r(), v = r({ table: null, layout: null }), w = r(), N = r([]), fe = r(), V = r(), P = r(), I = r(), E = r(), J = r(), i = r({ page: null, url: null, visible: !1, appendToBody: !1 }), C = r(!1), M = r(), x = r(), ce = (l) => !0, be = (l) => {
21
- let t = K.url.getPath(F.value), a = K.url.getPath(l);
22
- return t != a;
23
- }, ye = () => {
24
- Ee();
25
- }, ge = (l, t) => {
26
- Q("copy", l, t);
27
- }, _e = (l, t) => {
28
- Q("update", l, t);
29
- }, he = () => {
30
- i.value.visible = !1;
31
- }, Q = (l, t, a) => {
32
- let n = we(l, t);
33
- a.ctrlKey ? B("navigate", n) : (i.value.appendToBody = a.altKey, i.value.page = l, i.value.url = n, i.value.visible = !0);
34
- }, we = (l, t = null) => {
35
- let a = `${b.value[l].route}`;
36
- if (t != null) {
37
- let n = t[y.value.key.name];
38
- a += `?id=${n}`;
39
- }
40
- return a;
41
- }, Ce = (l, t, a) => {
42
- (a.ctrlKey || C.value) && (M.value = l, x.value = K.object.clone(t), C.value = !0, x.value.fields.forEach((n) => {
43
- n.control.textualize = !1;
44
- }));
45
- }, W = (l) => {
46
- i.value.visible = !1, B("succeed", ee.value, l);
47
- }, Re = () => {
48
- B("close");
49
- }, X = (l, t, a, n, k) => {
50
- }, Y = (l, t) => {
51
- if (t) {
52
- L.value = y.value.layouts.find((a) => a.type == l);
53
- return;
54
- }
55
- v.value.layout = v.value.table.layouts.find((a) => a.type == l);
56
- }, xe = (l) => {
57
- let t = u.value.find((a) => a.name == l);
58
- v.value.table = t, v.value.layout = t.layouts[0];
59
- }, ke = (l) => {
60
- let t = Object.keys(l)[0], a = t.substring(1, t.indexOf("]"));
61
- u.value.find((k) => k.name == a).main || (w.value = a);
62
- }, Se = (l, t = null, a = null) => {
63
- ne(() => {
64
- V.value.validate((n, k) => {
65
- if (n == !1)
66
- return ke(k), a != null && a(!1), !1;
67
- let U = c.value.type == "Update" ? b.value.update.route : b.value.insert.route;
68
- t && t(U, p.value), j.http.post(U, p.value).then(({ data: z, message: S }) => {
69
- V.value.clearValidate(), j.messenger.success(S), W(p.value);
70
- }).catch(({ code: z, data: S, message: le }) => {
71
- if (z != "ValidateError")
72
- return;
73
- N.value = S;
74
- let q = S.find((g) => g.table !== y.value.name);
75
- if (q) {
76
- let g = u.value.find((o) => o.name == q.table);
77
- g && (w.value = g.name);
78
- }
79
- ne(() => {
80
- V.value.clearValidate(), V.value.validate((g, o) => {
81
- g || (a && a(!1), N.value = []);
82
- });
83
- });
84
- }).finally(() => {
85
- a && a();
86
- });
87
- });
88
- });
89
- }, Z = (l) => {
90
- var a, n;
91
- let t = D.module(l.module.type, l.module.name);
92
- j.i18n.setTitle(t, l.module.env), c.value = l.module, b.value = l.next, p.value = se.expandSet(l.schema, l.set), u.value = se.expandSchema(l.schema, l.set), y.value = (a = u.value) == null ? void 0 : a[0], L.value = y.value.layouts[0], ((n = u.value) == null ? void 0 : n.length) > 1 && (w.value = u.value[1].name, v.value.table = u.value[1], v.value.layout = u.value[1].layouts[0]);
93
- }, Te = (l) => {
94
- G.module.triggerResize(P.value, l), G.module.triggerResize(E.value, l);
95
- }, Ve = (l, t) => {
96
- if (l == Ie.ctrlS) {
97
- if (c.value.type == "Detail") {
98
- G.module.triggerKeyboard(J.value, l, t);
99
- return;
100
- }
101
- O(t);
102
- }
103
- }, Ee = () => {
104
- let l = K.url.getUrl(T.value.path, T.value.query);
105
- B("load", l, !1, (t) => {
106
- });
107
- };
108
- (() => {
109
- Z(H.value.data);
110
- })();
111
- let O = (l) => {
112
- if (!I.value.submit) {
113
- j.messenger.notify("提示", "请在子组件暴露submit方法来实现快捷提交", "warning");
114
- return;
115
- }
116
- I.value.submit(l);
117
- }, Ue = te(() => {
118
- let l = `/${y.value.name}/update`, t = c.value.type == "Detail" ? "detail" : "update";
119
- return qe.getComponent(l, "partial", t);
120
- }), ee = te(() => c.value.type.toLowerCase());
121
- return Ke(() => H.value, (l) => {
122
- Z(l.data), P.value.update && P.value.update(l.data), E.value && E.value.update && E.value.update(l.data);
123
- }), me({ shouldLoad: ce, shouldSpin: be, onKeyboard: Ve, onRefresh: ye, onResize: Te }), (l, t) => {
124
- const a = f("el-tooltip"), n = f("el-tab-pane"), k = f("el-tabs"), U = f("el-form"), z = f("el-scrollbar"), S = f("el-popover"), le = f("el-form-item"), q = f("el-card"), g = f("el-drawer");
125
- return d(), A("div", {
126
- ref_key: "singleRef",
127
- ref: fe,
128
- class: Be(["ha-single-page", { [e(ee) + "-page"]: !0, editing: e(C) }])
129
- }, [
130
- m("div", Me, [
131
- _(z, { class: "main-scroller" }, {
132
- default: s(() => [
133
- _(U, {
134
- ref_key: "formRef",
135
- ref: V,
136
- model: e(p),
137
- onSubmit: t[3] || (t[3] = Le(() => {
138
- }, ["prevent"]))
139
- }, {
140
- default: s(() => [
141
- _(ie, {
142
- ref_key: "mainRef",
143
- ref: P,
144
- url: e(F),
145
- module: e(c),
146
- schema: e(u),
147
- table: e(y),
148
- layout: e(L),
149
- next: e(b),
150
- set: e(p),
151
- route: e(T),
152
- "validate-errors": e(N),
153
- onChange: e(X),
154
- onLayoutChange: t[0] || (t[0] = (o) => e(Y)(o, !0)),
155
- onSubmit: e(O)
156
- }, null, 8, ["url", "module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onChange", "onSubmit"]),
157
- e(u).length > 1 ? (d(), h(k, {
158
- key: 0,
159
- type: "border-card",
160
- onTabChange: e(xe),
161
- modelValue: e(w),
162
- "onUpdate:modelValue": t[1] || (t[1] = (o) => ae(w) ? w.value = o : w = o)
163
- }, {
164
- default: s(() => [
165
- (d(!0), A(oe, null, re(e(u).filter((o, ze) => ze > 0), (o) => (d(), h(n, {
166
- name: o.name,
167
- key: o.name
168
- }, {
169
- label: s(() => [
170
- _(a, {
171
- placement: "top",
172
- content: o.tooltip,
173
- disabled: !o.tooltip
174
- }, {
175
- default: s(() => [
176
- m("div", null, R(e(D).table(o.table)), 1)
177
- ]),
178
- _: 2
179
- }, 1032, ["content", "disabled"])
180
- ]),
181
- _: 2
182
- }, 1032, ["name"]))), 128))
183
- ]),
184
- _: 1
185
- }, 8, ["onTabChange", "modelValue"])) : $("", !0),
186
- e(v).table ? (d(), h(ie, {
187
- key: 1,
188
- ref_key: "childRef",
189
- ref: E,
190
- url: e(F),
191
- module: e(c),
192
- schema: e(u),
193
- table: e(v).table,
194
- layout: e(v).layout,
195
- next: e(b),
196
- set: e(p),
197
- route: e(T),
198
- "validate-errors": e(N),
199
- onRowEdit: e(Ce),
200
- onChange: e(X),
201
- onLayoutChange: t[2] || (t[2] = (o) => e(Y)(o, !1)),
202
- onSubmit: e(O)
203
- }, null, 8, ["url", "module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onRowEdit", "onChange", "onSubmit"])) : $("", !0)
204
- ]),
205
- _: 1
206
- }, 8, ["model"])
207
- ]),
208
- _: 1
209
- }),
210
- (d(), h(Ne(e(Ue)), {
211
- ref_key: "updateRef",
212
- ref: I,
213
- class: "main-footer",
214
- schema: e(u),
215
- table: e(y),
216
- layout: e(L),
217
- next: e(b),
218
- set: e(p),
219
- route: e(T),
220
- onCopy: e(ge),
221
- onEdit: e(_e),
222
- onSubmit: e(Se),
223
- onClose: e(Re)
224
- }, null, 40, ["schema", "table", "layout", "next", "set", "route", "onCopy", "onEdit", "onSubmit", "onClose"]))
225
- ]),
226
- e(C) ? (d(), h(q, {
227
- key: 0,
228
- class: "side-form"
229
- }, {
230
- header: s(() => [
231
- m("div", Oe, [
232
- m("div", Ae, R(e(D).t("common.modify")) + " " + R(e(M)[e(x).show[0].name]), 1),
233
- m("div", {
234
- class: "row-close",
235
- onClick: t[4] || (t[4] = (o) => ae(C) ? C.value = !1 : C = !1)
236
- }, t[6] || (t[6] = [
237
- m("i", { class: "fa fa-close" }, null, -1)
238
- ]))
239
- ])
240
- ]),
241
- default: s(() => [
242
- _(z, null, {
243
- default: s(() => [
244
- _(U, {
245
- size: "small",
246
- "label-width": "80px"
247
- }, {
248
- default: s(() => [
249
- (d(!0), A(oe, null, re(e(x).show, (o) => (d(), h(le, {
250
- style: Pe(o.control.height ? `height: ${o.control.height}px;` : ""),
251
- rules: o.rules
252
- }, {
253
- label: s(() => [
254
- ue(R(e(D).field(e(x).name, o.name)) + " ", 1),
255
- o.control.tooltip ? (d(), h(S, {
256
- key: 0,
257
- trigger: "hover",
258
- placement: "top",
259
- width: "auto",
260
- title: o.control.tooltip.title
261
- }, {
262
- reference: s(() => t[7] || (t[7] = [
263
- m("i", { class: "fa fa-question-circle icon-question" }, null, -1)
264
- ])),
265
- default: s(() => [
266
- m("pre", null, R(o.control.tooltip.content), 1)
267
- ]),
268
- _: 2
269
- }, 1032, ["title"])) : $("", !0)
270
- ]),
271
- default: s(() => [
272
- _(je, {
273
- schema: e(u),
274
- table: e(x),
275
- field: o,
276
- set: e(p),
277
- row: e(M)
278
- }, null, 8, ["schema", "table", "field", "set", "row"])
279
- ]),
280
- _: 2
281
- }, 1032, ["style", "rules"]))), 256))
282
- ]),
283
- _: 1
284
- })
285
- ]),
286
- _: 1
287
- })
288
- ]),
289
- _: 1
290
- })) : $("", !0),
291
- e(i).page ? (d(), h(g, {
292
- key: 1,
293
- "destroy-on-close": "",
294
- "append-to-body": e(i).appendToBody,
295
- size: `${e(c).width ?? "60%"}`,
296
- modelValue: e(i).visible,
297
- "onUpdate:modelValue": t[5] || (t[5] = (o) => e(i).visible = o)
298
- }, {
299
- header: s(() => [
300
- m("div", Ge, [
301
- ue(R(e(b)[e(i).page].title) + " ", 1),
302
- m("a", {
303
- class: "drawer-copy",
304
- href: `${e(K).url.getToUrl(e(i).url)}`
305
- }, R(e(D).t("common.link")), 9, He)
306
- ])
307
- ]),
308
- default: s(() => [
309
- _(e(Fe), {
310
- ref_key: "pageRef",
311
- ref: J,
312
- url: e(i).url,
313
- onSucceed: e(W),
314
- onClose: e(he)
315
- }, null, 8, ["url", "onSucceed", "onClose"])
316
- ]),
317
- _: 1
318
- }, 8, ["append-to-body", "size", "modelValue"])) : $("", !0)
319
- ], 2);
320
- };
321
- }
322
- });
323
- export {
324
- ol as default
325
- };
@@ -1,159 +0,0 @@
1
- import { defineComponent as q, toRefs as G, ref as c, onMounted as M, watch as O, openBlock as I, createElementBlock as J, createVNode as K, unref as i, createElementVNode as P, normalizeStyle as Q, nextTick as L } from "vue";
2
- import { S as W, m as X, D as C, U as A, R as Y } from "./main-BJRpvr2g.js";
3
- import "./assets/liquidjs-BfOWWjtJ.js";
4
- import "./assets/underscore-B0BCaBxV.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/clone-BZn0cTAu.js";
7
- import "./assets/underscore.string-DVXD2SZo.js";
8
- import "./assets/moment-h96o7c8I.js";
9
- import { _ as Z } from "./SearchForm.vue_vue_type_style_index_0_lang-BvwtZSIf.js";
10
- const de = /* @__PURE__ */ q({
11
- __name: "Statistic",
12
- props: {
13
- searchData: {},
14
- route: {},
15
- module: {},
16
- schema: {},
17
- table: {},
18
- layout: {},
19
- next: {},
20
- set: {},
21
- url: {},
22
- win: {}
23
- },
24
- emits: ["search"],
25
- setup(F, { expose: z, emit: D }) {
26
- let H = D, B = F, { route: E, module: T, schema: m, table: y, layout: l, next: ee, set: u, searchData: p } = G(B), s = null, g = null, x = c(), d = c(), v = c(), S = c(), b = W.config.sys, V = (t) => {
27
- N("search");
28
- }, N = (t, e = null) => {
29
- H(t, (r) => {
30
- L(() => {
31
- f(), e == null || e(r);
32
- });
33
- });
34
- }, f = () => {
35
- let t = A.array.distinct(u.value[l.value.table], (a) => a[l.value.date]), e = {
36
- title: { text: T.value.title, left: "center", textStyle: { color: "#777" } },
37
- //标题
38
- tooltip: { trigger: "axis" },
39
- //提示
40
- legend: { data: [], right: "2%", textStyle: { color: "#777" } },
41
- //图例
42
- grid: { left: "2%", right: "3%", containLabel: !0 },
43
- //网格
44
- //x轴
45
- xAxis: {
46
- data: [],
47
- //X坐标轴数据
48
- boundaryGap: !1,
49
- //移除边界
50
- axisTick: { show: !1 },
51
- //不显示坐标轴刻度
52
- axisLabel: { color: "#777" },
53
- axisLine: { show: !1 }
54
- //隐藏x坐标轴线
55
- },
56
- //y轴
57
- yAxis: {
58
- type: "value",
59
- axisTick: { show: !1 },
60
- //不显示坐标轴刻度
61
- axisLabel: { color: "#777" },
62
- splitLine: { lineStyle: { color: "#eee" } },
63
- axisLine: { show: !1 }
64
- //隐藏y坐标轴线
65
- },
66
- //坐标
67
- series: []
68
- };
69
- b.theme == "dark" && (e.title.textStyle.color = "rgba(255,255,255,0.8)", e.legend.textStyle.color = "rgba(255,255,255,.72)", e.xAxis.axisLabel.color = "rgba(255,255,255,.72)", e.yAxis.splitLine.lineStyle.color = "rgba(110,117,130,0.2)", e.yAxis.axisLabel.color = "rgba(255,255,255,.72)");
70
- let r = l.value.fields.find((a) => a.group && a.name != l.value.date), k = y.value.fields.find((a) => a.name == r.name).control.data.data;
71
- for (let a = 0; a < k.length; a++) {
72
- let o = k[a];
73
- o.color || C.messenger.error("颜色字段不能为空");
74
- let n = {
75
- name: o.text,
76
- type: "line",
77
- lineStyle: { color: o.color, width: 1 },
78
- itemStyle: { color: o.color },
79
- //点样式
80
- smooth: !0,
81
- data: [],
82
- areaStyle: {
83
- color: {
84
- type: "linear",
85
- x: 0,
86
- y: 0,
87
- x2: 1,
88
- y2: 0,
89
- colorStops: [
90
- { offset: 0, color: o.color },
91
- // 0% 处的颜色
92
- { offset: 1, color: "#fff" }
93
- // 100% 处的颜色
94
- ],
95
- global: !1
96
- }
97
- }
98
- };
99
- b.theme == "dark" && (n.areaStyle.color = {
100
- type: "linear",
101
- x: 0,
102
- y: 0,
103
- x2: 0,
104
- y2: 1,
105
- colorStops: [
106
- { offset: 0, color: o.color },
107
- // 0% 处的颜色
108
- { offset: 1, color: "#354052" }
109
- // 100% 处的颜色
110
- ],
111
- global: !0
112
- });
113
- for (let h = 0; h < t.length; h++) {
114
- let j = t[h], R = u.value[l.value.table].find((_) => _[r.name] == o.value && _[l.value.date] == j);
115
- R == null ? n.data.push(null) : n.data.push(R[l.value.value]);
116
- }
117
- e.series.push(n), e.legend.data.push(o.text);
118
- }
119
- e.xAxis.data.push(...t), s.setOption(e);
120
- }, w = async () => {
121
- var r;
122
- let t = A.dom.getHeight([(r = d.value) == null ? void 0 : r.$el]), e = S.value.getBoundingClientRect();
123
- x.value = e.height - t - 10 - 1, await L();
124
- }, U = async (t) => {
125
- Y.module.triggerResize(d.value, t), await w(), s == null || s.resize();
126
- }, $ = async () => {
127
- await w(), s = g.init(v.value), f();
128
- };
129
- return M(async () => {
130
- p.value = X.getConditionForm(m.value, E.value.query.condition), g = await C.cdn.getECharts(), await $();
131
- }), O(() => l.value, (t, e) => {
132
- f();
133
- }), z({ onResize: U }), (t, e) => (I(), J("div", {
134
- ref_key: "statisticRef",
135
- ref: S,
136
- class: "ha-statistic-layout"
137
- }, [
138
- K(Z, {
139
- ref_key: "searchRef",
140
- ref: d,
141
- schema: i(m),
142
- table: i(y),
143
- layout: i(l),
144
- set: i(u),
145
- "search-data": i(p),
146
- onChange: i(V)
147
- }, null, 8, ["schema", "table", "layout", "set", "search-data", "onChange"]),
148
- P("div", {
149
- ref_key: "chartRef",
150
- ref: v,
151
- class: "chart",
152
- style: Q({ height: i(x) + "px" })
153
- }, null, 4)
154
- ], 512));
155
- }
156
- });
157
- export {
158
- de as default
159
- };
@@ -1,78 +0,0 @@
1
- import { defineComponent as h, toRefs as f, onMounted as x, resolveComponent as v, openBlock as _, createElementBlock as g, createVNode as y, unref as A } from "vue";
2
- const b = { class: "ha-statistic-layout" }, k = /* @__PURE__ */ h({
3
- __name: "Statistic",
4
- props: {
5
- route: {},
6
- validateErrors: {},
7
- module: {},
8
- schema: {},
9
- table: {},
10
- layout: {},
11
- next: {},
12
- set: {},
13
- url: {},
14
- win: {}
15
- },
16
- setup(p) {
17
- let c = p, { schema: E, table: a, layout: l, set: n } = f(c), t = {
18
- plotOptions: {
19
- series: { animation: !1 }
20
- //禁用载入动画
21
- },
22
- chart: {
23
- type: "spline",
24
- marginRight: 10
25
- },
26
- title: {
27
- text: null
28
- },
29
- xAxis: {
30
- name: null,
31
- categories: []
32
- },
33
- yAxis: {
34
- title: {
35
- text: null
36
- }
37
- },
38
- tooltip: {
39
- shared: !0
40
- },
41
- series: []
42
- }, m = () => {
43
- let s = l.value.fields.find((e) => e.group);
44
- t.xAxis.name = s.name, t.xAxis.categories = n.value[a.value.name].map((e) => e[s.name]);
45
- let i = [];
46
- l.value.fields.forEach((e) => {
47
- if (!e.group) {
48
- let r = a.value.fields.find((o) => o.name == e.name), u = {
49
- name: r.label,
50
- tooltip: {
51
- valueSuffix: " ms"
52
- },
53
- data: []
54
- };
55
- n.value[a.value.name].forEach((o) => {
56
- u.data.push(parseFloat(o[r.name]));
57
- }), i.push(u);
58
- }
59
- }), t.series = i, t.yAxis.title.text = l.value.value;
60
- }, d = () => {
61
- m();
62
- };
63
- return x(() => {
64
- d();
65
- }), (s, i) => {
66
- const e = v("Highcharts");
67
- return _(), g("div", b, [
68
- y(e, {
69
- class: "chart",
70
- options: A(t)
71
- }, null, 8, ["options"])
72
- ]);
73
- };
74
- }
75
- });
76
- export {
77
- k as default
78
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./Stock.vue_vue_type_style_index_0_lang-BpgVbCj-.js";
2
- export {
3
- f as default
4
- };
@@ -1,30 +0,0 @@
1
- import { defineComponent as c, toRefs as m, openBlock as u, createBlock as p, unref as e } from "vue";
2
- import { _ } from "./Stock.vue_vue_type_style_index_0_lang-BpgVbCj-.js";
3
- const b = /* @__PURE__ */ c({
4
- __name: "Stock",
5
- props: {
6
- route: {},
7
- validateErrors: {},
8
- module: {},
9
- schema: {},
10
- table: {},
11
- layout: {},
12
- next: {},
13
- set: {},
14
- url: {},
15
- win: {}
16
- },
17
- setup(t) {
18
- let a = t, { schema: o, table: l, layout: r, next: s, set: n } = m(a);
19
- return (f, i) => (u(), p(_, {
20
- schema: e(o),
21
- table: e(l),
22
- layout: e(r),
23
- next: e(s),
24
- set: e(n)
25
- }, null, 8, ["schema", "table", "layout", "next", "set"]));
26
- }
27
- });
28
- export {
29
- b as default
30
- };