halo-pc 1.0.3 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (302) hide show
  1. package/dist/Article-7pMF1N-k.js +192 -0
  2. package/dist/ArticleFooter-BAf1rKUX.js +78 -0
  3. package/dist/Autocomplete-CEjjKXwo.js +27 -0
  4. package/dist/Autocomplete-DqKo5NiJ.js +49 -0
  5. package/dist/Autocomplete-K5ipzchR.js +48 -0
  6. package/dist/CSharp-DatSqpip.js +27 -0
  7. package/dist/Calender-B1HoFiQg.js +10 -0
  8. package/dist/Callback-PyCjejiv.js +20 -0
  9. package/dist/Cascader-B9lLRKjA.js +80 -0
  10. package/dist/Cascader-BNvlqc5t.js +41 -0
  11. package/dist/Checkbox-B6IkMrWB.js +27 -0
  12. package/dist/Checkbox-CYpA0Abh.js +69 -0
  13. package/dist/Code-BdK547kD.js +4 -0
  14. package/dist/Code-DfFF-84i.js +36 -0
  15. package/dist/Code-LFQVJotC.js +54 -0
  16. package/dist/Code-SZuIImtp.js +28 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-nX113anq.js +59 -0
  18. package/dist/Color-CfXtJFUo.js +22 -0
  19. package/dist/Color-Da69pnQg.js +34 -0
  20. package/dist/Column-DVjYrrr7.js +67 -0
  21. package/dist/Comment-Do7Mjpjr.js +98 -0
  22. package/dist/Compare-C_iDn27Q.js +56 -0
  23. package/dist/Compare-CrX3yfD4.js +26 -0
  24. package/dist/Copy-_sbdQvHJ.js +43 -0
  25. package/dist/Custom-DarpQFG8.js +49 -0
  26. package/dist/DataExport-I9iG4oEo.js +4 -0
  27. package/dist/DataExport.vue_vue_type_script_setup_true_lang-BgKetUGv.js +108 -0
  28. package/dist/DataImport-2KtOy-of.js +4 -0
  29. package/dist/DataImport.vue_vue_type_script_setup_true_lang-DgzKdC2g.js +170 -0
  30. package/dist/Date-BeHsQ2Ow.js +36 -0
  31. package/dist/Date-PERpDDy_.js +27 -0
  32. package/dist/DateRange-BaxHMjcx.js +57 -0
  33. package/dist/DateRange-DrYK_l0Y.js +19 -0
  34. package/dist/DateTime-B7gHENiu.js +27 -0
  35. package/dist/DateTime-BfNjKDfI.js +37 -0
  36. package/dist/DateTimeRange-yI9Y2qgC.js +61 -0
  37. package/dist/Daterange-DqvBvK-B.js +57 -0
  38. package/dist/Decimal-AXwMeqBW.js +27 -0
  39. package/dist/Decimal-C38-N54B.js +36 -0
  40. package/dist/Delete-BY3vAVWa.js +55 -0
  41. package/dist/Detail-aWACqVnM.js +68 -0
  42. package/dist/Dictionary-DpQuFYQ5.js +55 -0
  43. package/dist/Email-BKW9GRcH.js +19 -0
  44. package/dist/Email-ME_MU94C.js +47 -0
  45. package/dist/File--NsXL6XX.js +155 -0
  46. package/dist/Image-CuwfJLKW.js +9 -0
  47. package/dist/Index-BNOFdDjW.js +70 -0
  48. package/dist/Index-B_a_HzsB.js +4 -0
  49. package/dist/Index-CQ9S2R9b.js +4 -0
  50. package/dist/Index-C_HCipwv.js +4 -0
  51. package/dist/Index-Cewv4-Ik.js +168 -0
  52. package/dist/Index-Cj79dCuO.js +4 -0
  53. package/dist/Index-Cx2J_P37.js +4 -0
  54. package/dist/Index-DA2wAurY.js +4 -0
  55. package/dist/Index.vue_vue_type_script_setup_true_lang-B-sM48XO.js +36 -0
  56. package/dist/Index.vue_vue_type_script_setup_true_lang-D6_VOLX-.js +65 -0
  57. package/dist/Index.vue_vue_type_script_setup_true_lang-DjiARPz7.js +77 -0
  58. package/dist/Index.vue_vue_type_style_index_0_lang-DApNHvNX.js +109 -0
  59. package/dist/Install-BWdNbtVx.js +128 -0
  60. package/dist/Int-B-t8edhd.js +19 -0
  61. package/dist/Int-C-0RMDmy.js +37 -0
  62. package/dist/Int-nmVkFRqG.js +41 -0
  63. package/dist/List-BjdY1rMk.js +72 -0
  64. package/dist/Maintaince-DzYzyrAc.js +15 -0
  65. package/dist/Markdown-BzMP3m7o.js +37 -0
  66. package/dist/Markdown-DD6ufwhM.js +27 -0
  67. package/dist/Month-B_SzKf02.js +36 -0
  68. package/dist/Month-BqbTFGgo.js +27 -0
  69. package/dist/Month-DfemgHac.js +37 -0
  70. package/dist/Normal-f4HN1ciI.js +252 -0
  71. package/dist/Paging-BMPtLi8P.js +90 -0
  72. package/dist/PagingHeader-CBXHiUXR.js +140 -0
  73. package/dist/PagingRow-tny-wHwu.js +66 -0
  74. package/dist/Password-DuyYEgzR.js +55 -0
  75. package/dist/Password-yHtlY-Qa.js +24 -0
  76. package/dist/Progress-C3D821AQ.js +34 -0
  77. package/dist/Progress-CKVzMO-W.js +25 -0
  78. package/dist/QueryApi-CbP5cCyH.js +13 -0
  79. package/dist/Racebar-Bou-XNCm.js +162 -0
  80. package/dist/Radio-BmikzeCv.js +27 -0
  81. package/dist/Radio-DkcBKBvX.js +47 -0
  82. package/dist/Rate-B7jKTFKT.js +34 -0
  83. package/dist/Rate-BmC4gw_0.js +34 -0
  84. package/dist/Register-CgbRZH9W.js +196 -0
  85. package/dist/RichText-BeK3zZam.js +101 -0
  86. package/dist/RichText-Bk0Msyhl.js +22 -0
  87. package/dist/SearchFooter-C4PeAkaR.js +4 -0
  88. package/dist/SearchFooter.vue_vue_type_style_index_0_lang-BaO7vJ-n.js +55 -0
  89. package/dist/SearchForm-C7fZiQaW.js +4 -0
  90. package/dist/SearchForm.vue_vue_type_style_index_0_lang-BumSLQVy.js +145 -0
  91. package/dist/Select-C1-NVZdG.js +80 -0
  92. package/dist/Select-DR5fQH0d.js +111 -0
  93. package/dist/Select-DlbQvxQu.js +27 -0
  94. package/dist/Single-BLRyJKB-.js +319 -0
  95. package/dist/Statistic-BOtmYiRA.js +157 -0
  96. package/dist/Statistic-CTxHNeof.js +76 -0
  97. package/dist/Stock-BqQ6lM5B.js +28 -0
  98. package/dist/Stock-Dnwof0R1.js +4 -0
  99. package/dist/Stock.vue_vue_type_style_index_0_lang-Az2jx3JN.js +298 -0
  100. package/dist/Switch-DhFaku5L.js +50 -0
  101. package/dist/Switch-DuMBV0AX.js +27 -0
  102. package/dist/Table-Be-rPXr_.js +316 -0
  103. package/dist/Table-RMVT0hlE.js +236 -0
  104. package/dist/Text-BRRmmXYV.js +52 -0
  105. package/dist/Text-DKpPIUcY.js +51 -0
  106. package/dist/Text-DSXRKFPa.js +4 -0
  107. package/dist/Text.vue_vue_type_style_index_0_lang-CeDusQl6.js +52 -0
  108. package/dist/TextLink-BZW-y_FS.js +62 -0
  109. package/dist/Textarea-3ypOGE1S.js +28 -0
  110. package/dist/Textarea-D9TgF9ig.js +37 -0
  111. package/dist/Time-BcQzBDX-.js +36 -0
  112. package/dist/Timeline-CLezCcgQ.js +53 -0
  113. package/dist/Tree-B6RBRT1y.js +293 -0
  114. package/dist/Tree-CLpCeirT.js +117 -0
  115. package/dist/TreeNode-C16N8jqm.js +34 -0
  116. package/dist/Tree_Old-h__WmqFA.js +11 -0
  117. package/dist/Update-Dc3Tdkn0.js +63 -0
  118. package/dist/UpdateChild-B2A3hP6m.js +85 -0
  119. package/dist/Upload-DvWyjK3a.js +143 -0
  120. package/dist/Upload-SEu1V1yX.js +67 -0
  121. package/dist/UploadApi-Bs507D0w.js +13 -0
  122. package/dist/Year-1ug2_a1g.js +40 -0
  123. package/dist/Year-DKxOQNyS.js +27 -0
  124. package/dist/main-QtNG6p7a.js +16673 -0
  125. package/dist/main.js +116 -0
  126. package/dist/style.css +1 -0
  127. package/dist/vendor-@intlify-BISCQg1h.js +2189 -0
  128. package/dist/vendor-@vue-aVYGocXp.js +93 -0
  129. package/dist/vendor-clipboard-DjQPoCBJ.js +501 -0
  130. package/dist/vendor-element-plus-Z7vJFrsh.js +456 -0
  131. package/dist/vendor-intro.js-DwWqhM1v.js +1695 -0
  132. package/dist/vendor-pinia-yrN6kSxh.js +861 -0
  133. package/dist/vendor-vue-demi-CIhrFbpB.js +17 -0
  134. package/dist/vendor-vue-i18n-C3KH15Qn.js +1670 -0
  135. package/esm/coms/business/HaCondition.vue.d.ts +18 -0
  136. package/esm/coms/business/HaCrud.vue.d.ts +29 -0
  137. package/esm/coms/business/HaDrawer.vue.d.ts +24 -0
  138. package/esm/coms/business/HaDriver.vue.d.ts +52 -0
  139. package/esm/coms/business/HaFeedback.vue.d.ts +8 -0
  140. package/esm/coms/business/HaForm.vue.d.ts +23 -0
  141. package/esm/coms/business/HaSwitch.vue.d.ts +24 -0
  142. package/esm/coms/business/HaWelcome.vue.d.ts +8 -0
  143. package/esm/coms/business/index.d.ts +124 -0
  144. package/esm/coms/commons/HaCaptcha.vue.d.ts +14 -0
  145. package/esm/coms/commons/HaDebug.vue.d.ts +9 -0
  146. package/esm/coms/commons/HaEditable.vue.d.ts +13 -0
  147. package/esm/coms/commons/HaLoading.vue.d.ts +33 -0
  148. package/esm/coms/commons/HaMouseContext.vue.d.ts +2 -0
  149. package/esm/coms/commons/HaParticles.vue.d.ts +2 -0
  150. package/esm/coms/commons/HaResizer.vue.d.ts +26 -0
  151. package/esm/coms/commons/HaSpinner.vue.d.ts +20 -0
  152. package/esm/coms/commons/HaTable.vue.d.ts +34 -0
  153. package/esm/coms/commons/HaTableColumn.vue.d.ts +31 -0
  154. package/esm/coms/commons/index.d.ts +32 -0
  155. package/esm/coms/controls/Autocomplete.vue.d.ts +24 -0
  156. package/esm/coms/controls/Cascader.vue.d.ts +24 -0
  157. package/esm/coms/controls/Checkbox.vue.d.ts +22 -0
  158. package/esm/coms/controls/Code.vue.d.ts +24 -0
  159. package/esm/coms/controls/Color.vue.d.ts +24 -0
  160. package/esm/coms/controls/Compare.vue.d.ts +24 -0
  161. package/esm/coms/controls/Date.vue.d.ts +24 -0
  162. package/esm/coms/controls/DateRange.vue.d.ts +24 -0
  163. package/esm/coms/controls/DateTime.vue.d.ts +24 -0
  164. package/esm/coms/controls/DateTimeRange.vue.d.ts +24 -0
  165. package/esm/coms/controls/Decimal.vue.d.ts +24 -0
  166. package/esm/coms/controls/Email.vue.d.ts +24 -0
  167. package/esm/coms/controls/Image.vue.d.ts +2 -0
  168. package/esm/coms/controls/Index.vue.d.ts +22 -0
  169. package/esm/coms/controls/Int.vue.d.ts +24 -0
  170. package/esm/coms/controls/Markdown.vue.d.ts +24 -0
  171. package/esm/coms/controls/Month.vue.d.ts +24 -0
  172. package/esm/coms/controls/Password.vue.d.ts +24 -0
  173. package/esm/coms/controls/Progress.vue.d.ts +24 -0
  174. package/esm/coms/controls/Radio.vue.d.ts +24 -0
  175. package/esm/coms/controls/Rate.vue.d.ts +24 -0
  176. package/esm/coms/controls/RichText.vue.d.ts +22 -0
  177. package/esm/coms/controls/Select.vue.d.ts +24 -0
  178. package/esm/coms/controls/Switch.vue.d.ts +24 -0
  179. package/esm/coms/controls/Text.vue.d.ts +26 -0
  180. package/esm/coms/controls/Textarea.vue.d.ts +24 -0
  181. package/esm/coms/controls/Time.vue.d.ts +24 -0
  182. package/esm/coms/controls/Upload.vue.d.ts +24 -0
  183. package/esm/coms/controls/Year.vue.d.ts +24 -0
  184. package/esm/coms/controls/index.d.ts +26 -0
  185. package/esm/coms/globals/HaHeaderTab.vue.d.ts +19 -0
  186. package/esm/coms/globals/HaHeaderTabs.vue.d.ts +17 -0
  187. package/esm/coms/globals/HaMenu.vue.d.ts +77 -0
  188. package/esm/coms/globals/HaMenuItem.vue.d.ts +76 -0
  189. package/esm/coms/globals/HaMissComponent.vue.d.ts +9 -0
  190. package/esm/coms/globals/HaSideTab.vue.d.ts +21 -0
  191. package/esm/coms/globals/HaSideTabs.vue.d.ts +17 -0
  192. package/esm/coms/globals/HaWindow.vue.d.ts +66 -0
  193. package/esm/coms/globals/index.d.ts +70 -0
  194. package/esm/coms/headers/Breadcrumb.vue.d.ts +2 -0
  195. package/esm/coms/headers/Debugger.vue.d.ts +2 -0
  196. package/esm/coms/headers/Hamburger.vue.d.ts +18 -0
  197. package/esm/coms/headers/HeaderRight.vue.d.ts +2 -0
  198. package/esm/coms/headers/Index.vue.d.ts +6 -0
  199. package/esm/coms/headers/Log.vue.d.ts +2 -0
  200. package/esm/coms/headers/Logo.vue.d.ts +6 -0
  201. package/esm/coms/headers/Refresh.vue.d.ts +6 -0
  202. package/esm/coms/headers/Setting.vue.d.ts +8 -0
  203. package/esm/coms/headers/index.d.ts +3 -0
  204. package/esm/coms/index.d.ts +11 -0
  205. package/esm/coms/layouts/Desktop.vue.d.ts +2 -0
  206. package/esm/coms/layouts/Index.vue.d.ts +2 -0
  207. package/esm/coms/layouts/Side.vue.d.ts +2 -0
  208. package/esm/coms/layouts/Top.vue.d.ts +2 -0
  209. package/esm/coms/layouts/index.d.ts +7 -0
  210. package/esm/coms/lists/Calender.vue.d.ts +2 -0
  211. package/esm/coms/lists/Racebar.vue.d.ts +18 -0
  212. package/esm/coms/lists/Statistic.vue.d.ts +18 -0
  213. package/esm/coms/lists/Stock.vue.d.ts +12 -0
  214. package/esm/coms/lists/Timeline.vue.d.ts +12 -0
  215. package/esm/coms/lists/Tree.vue.d.ts +26 -0
  216. package/esm/coms/lists/index.d.ts +15 -0
  217. package/esm/coms/pages/Column.vue.d.ts +22 -0
  218. package/esm/coms/pages/Custom.vue.d.ts +25 -0
  219. package/esm/coms/pages/Delete.vue.d.ts +20 -0
  220. package/esm/coms/pages/Index.vue.d.ts +2 -0
  221. package/esm/coms/pages/List.vue.d.ts +24 -0
  222. package/esm/coms/pages/Paging.vue.d.ts +24 -0
  223. package/esm/coms/pages/Single.vue.d.ts +28 -0
  224. package/esm/coms/pages/index.d.ts +146 -0
  225. package/esm/coms/pagings/Article.vue.d.ts +27 -0
  226. package/esm/coms/pagings/Code.vue.d.ts +12 -0
  227. package/esm/coms/pagings/DataExport.vue.d.ts +33 -0
  228. package/esm/coms/pagings/DataImport.vue.d.ts +18 -0
  229. package/esm/coms/pagings/File.vue.d.ts +12 -0
  230. package/esm/coms/pagings/Index.vue.d.ts +33 -0
  231. package/esm/coms/pagings/SearchFooter.vue.d.ts +122 -0
  232. package/esm/coms/pagings/SearchForm.vue.d.ts +72 -0
  233. package/esm/coms/pagings/Table.vue.d.ts +31 -0
  234. package/esm/coms/pagings/index.d.ts +11 -0
  235. package/esm/coms/panels/HaGroup.vue.d.ts +9 -0
  236. package/esm/coms/panels/HaHeader.vue.d.ts +16 -0
  237. package/esm/coms/panels/HaOperation.vue.d.ts +22 -0
  238. package/esm/coms/panels/HaPanel.vue.d.ts +30 -0
  239. package/esm/coms/panels/HaShrink.vue.d.ts +48 -0
  240. package/esm/coms/panels/index.d.ts +13 -0
  241. package/esm/coms/partials/ArticleFooter.vue.d.ts +24 -0
  242. package/esm/coms/partials/Detail.vue.d.ts +20 -0
  243. package/esm/coms/partials/PagingHeader.vue.d.ts +28 -0
  244. package/esm/coms/partials/PagingRow.vue.d.ts +24 -0
  245. package/esm/coms/partials/TreeNode.vue.d.ts +12 -0
  246. package/esm/coms/partials/Update.vue.d.ts +20 -0
  247. package/esm/coms/partials/UpdateChild.vue.d.ts +22 -0
  248. package/esm/coms/partials/index.d.ts +135 -0
  249. package/esm/coms/searches/Autocomplete.vue.d.ts +24 -0
  250. package/esm/coms/searches/Daterange.vue.d.ts +22 -0
  251. package/esm/coms/searches/Index.vue.d.ts +18 -0
  252. package/esm/coms/searches/Int.vue.d.ts +24 -0
  253. package/esm/coms/searches/Month.vue.d.ts +24 -0
  254. package/esm/coms/searches/Select.vue.d.ts +24 -0
  255. package/esm/coms/searches/Text.vue.d.ts +24 -0
  256. package/esm/coms/searches/index.d.ts +7 -0
  257. package/esm/coms/singles/Code.vue.d.ts +18 -0
  258. package/esm/coms/singles/Comment.vue.d.ts +12 -0
  259. package/esm/coms/singles/Index.vue.d.ts +25 -0
  260. package/esm/coms/singles/Normal.vue.d.ts +21 -0
  261. package/esm/coms/singles/Statistic.vue.d.ts +12 -0
  262. package/esm/coms/singles/Stock.vue.d.ts +12 -0
  263. package/esm/coms/singles/Table.vue.d.ts +22 -0
  264. package/esm/coms/singles/Tree.vue.d.ts +14 -0
  265. package/esm/coms/singles/Tree_Old.vue.d.ts +2 -0
  266. package/esm/coms/singles/index.d.ts +15 -0
  267. package/esm/coms/texts/Autocomplete.vue.d.ts +16 -0
  268. package/esm/coms/texts/CSharp.vue.d.ts +16 -0
  269. package/esm/coms/texts/Cascader.vue.d.ts +22 -0
  270. package/esm/coms/texts/Checkbox.vue.d.ts +16 -0
  271. package/esm/coms/texts/Code.vue.d.ts +16 -0
  272. package/esm/coms/texts/Color.vue.d.ts +16 -0
  273. package/esm/coms/texts/Compare.vue.d.ts +16 -0
  274. package/esm/coms/texts/Copy.vue.d.ts +24 -0
  275. package/esm/coms/texts/Date.vue.d.ts +16 -0
  276. package/esm/coms/texts/DateRange.vue.d.ts +16 -0
  277. package/esm/coms/texts/DateTime.vue.d.ts +16 -0
  278. package/esm/coms/texts/Decimal.vue.d.ts +16 -0
  279. package/esm/coms/texts/Dictionary.vue.d.ts +24 -0
  280. package/esm/coms/texts/Email.vue.d.ts +16 -0
  281. package/esm/coms/texts/Index.vue.d.ts +22 -0
  282. package/esm/coms/texts/Int.vue.d.ts +16 -0
  283. package/esm/coms/texts/Markdown.vue.d.ts +16 -0
  284. package/esm/coms/texts/Month.vue.d.ts +16 -0
  285. package/esm/coms/texts/Password.vue.d.ts +16 -0
  286. package/esm/coms/texts/Progress.vue.d.ts +16 -0
  287. package/esm/coms/texts/Radio.vue.d.ts +16 -0
  288. package/esm/coms/texts/Rate.vue.d.ts +24 -0
  289. package/esm/coms/texts/RichText.vue.d.ts +16 -0
  290. package/esm/coms/texts/Select.vue.d.ts +16 -0
  291. package/esm/coms/texts/Switch.vue.d.ts +16 -0
  292. package/esm/coms/texts/Text.vue.d.ts +16 -0
  293. package/esm/coms/texts/TextLink.vue.d.ts +29 -0
  294. package/esm/coms/texts/Textarea.vue.d.ts +16 -0
  295. package/esm/coms/texts/Upload.vue.d.ts +16 -0
  296. package/esm/coms/texts/Year.vue.d.ts +16 -0
  297. package/esm/main.d.ts +6 -2
  298. package/esm/plugins/PcMessager.d.ts +35 -0
  299. package/esm/plugins/index.d.ts +2 -0
  300. package/esm/services/index.d.ts +1 -2
  301. package/esm/stores/index.d.ts +2 -1
  302. package/package.json +2 -1
@@ -0,0 +1,319 @@
1
+ import { defineComponent as Be, toRefs as De, ref as u, computed as Y, watch as Le, resolveComponent as f, openBlock as d, createElementBlock as M, normalizeClass as Pe, unref as e, createElementVNode as m, createVNode as h, withCtx as s, withModifiers as Ke, createBlock as g, isRef as Z, Fragment as ee, renderList as le, toDisplayString as S, createCommentVNode as B, resolveDynamicComponent as Ne, normalizeStyle as qe, createTextVNode as te, nextTick as ae } from "vue";
2
+ import { u as je, e as Fe, I as q, h as Ie, K as Me, j as Oe, m as oe, o as Ae, d as ue } from "./main-QtNG6p7a.js";
3
+ import { _ as Ge } from "./Index.vue_vue_type_style_index_0_lang-DApNHvNX.js";
4
+ import { _ as re } from "./Index.vue_vue_type_script_setup_true_lang-D6_VOLX-.js";
5
+ const He = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class: "row-title" }, We = /* @__PURE__ */ m("i", { class: "fa fa-close" }, null, -1), Xe = [
6
+ We
7
+ ], Ye = /* @__PURE__ */ m("i", { class: "fa fa-question-circle icon-question" }, null, -1), Ze = { class: "el-drawer__title" }, el = ["href"], rl = /* @__PURE__ */ Be({
8
+ __name: "Single",
9
+ props: {
10
+ base: {},
11
+ route: {},
12
+ url: {}
13
+ },
14
+ emits: ["navigate", "load", "succeed", "close"],
15
+ setup(ne, { expose: se, emit: ie }) {
16
+ let D = ie, de = ne, { url: me, base: O, route: z } = De(de), p = u(), b = u(), v = u(), r = u(), y = u(), L = u(), c = u({ table: null, layout: null }), w = u(), P = u([]), ve = u(), E = u(), x = u(), j = u(), C = u(), K = u(), { t_module: ce, $t_table: fe } = je(), pe = Fe(), i = u({ page: null, url: null, visible: !1, appendToBody: !1 }), k = u(!1), F = u(), R = u(), be = (l) => !0, ye = (l) => {
17
+ let t = q.getPath(me.value), a = q.getPath(l);
18
+ return t != a;
19
+ }, _e = () => {
20
+ Ee();
21
+ }, he = (l, t) => {
22
+ A("copy", l, t);
23
+ }, ge = (l, t) => {
24
+ A("update", l, t);
25
+ }, we = () => {
26
+ i.value.visible = !1;
27
+ }, A = (l, t, a) => {
28
+ let n = Ce(l, t);
29
+ a.ctrlKey ? D("navigate", n) : (i.value.appendToBody = a.altKey, i.value.page = l, i.value.url = n, i.value.visible = !0);
30
+ }, Ce = (l, t = null) => {
31
+ let a = `${b.value[l].route}`;
32
+ if (t != null) {
33
+ let n = t[y.value.key.name];
34
+ a += `?id=${n}`;
35
+ }
36
+ return a;
37
+ }, ke = (l, t, a) => {
38
+ (a.ctrlKey || k.value) && (F.value = l, R.value = Me.clone(t), k.value = !0, R.value.fields.forEach((n) => {
39
+ n.control.textualize = !1;
40
+ }));
41
+ }, G = (l) => {
42
+ i.value.visible = !1, D("succeed", W.value, l);
43
+ }, Se = () => {
44
+ D("close");
45
+ }, H = (l, t, a, n, T) => {
46
+ }, J = (l, t) => {
47
+ if (t) {
48
+ L.value = y.value.layouts.find((a) => a.type == l);
49
+ return;
50
+ }
51
+ c.value.layout = c.value.table.layouts.find((a) => a.type == l);
52
+ }, xe = (l) => {
53
+ let t = r.value.find((a) => a.name == l);
54
+ c.value.table = t, c.value.layout = t.layouts[0];
55
+ }, Re = (l) => {
56
+ let t = Object.keys(l)[0], a = t.substring(1, t.indexOf("]"));
57
+ r.value.find((T) => T.name == a).main || (w.value = a);
58
+ }, Te = (l, t = null, a = null) => {
59
+ ae(() => {
60
+ E.value.validate((n, T) => {
61
+ if (!n)
62
+ return Re(T), a && a(!1), !1;
63
+ let $ = p.value.type == "Update" ? b.value.update.route : b.value.insert.route;
64
+ t && t($, v.value), Oe.post($, v.value).then(({ data: U, message: V }) => {
65
+ E.value.clearValidate(), oe.success(V), G(v.value);
66
+ }).catch(({ code: U, data: V, message: X }) => {
67
+ if (U != "ValidateError")
68
+ return;
69
+ P.value = V;
70
+ let N = V.find((_) => _.table !== y.value.name);
71
+ if (N) {
72
+ let _ = r.value.find((o) => o.name == N.table);
73
+ _ && (w.value = _.name);
74
+ }
75
+ ae(() => {
76
+ E.value.clearValidate(), E.value.validate((_, o) => {
77
+ _ || (a && a(!1), P.value = []);
78
+ });
79
+ });
80
+ }).finally(() => {
81
+ a && a();
82
+ });
83
+ });
84
+ });
85
+ }, Q = (l) => {
86
+ var a, n;
87
+ let t = ce(l.module.type, l.module.name);
88
+ Ae.setTitle(t, l.module.env), p.value = l.module, b.value = l.next, v.value = ue.expandSet(l.schema, l.set), r.value = ue.expandSchema(l.schema), y.value = (a = r.value) == null ? void 0 : a[0], L.value = y.value.layouts[0], ((n = r.value) == null ? void 0 : n.length) > 1 && (w.value = r.value[1].name, c.value.table = r.value[1], c.value.layout = r.value[1].layouts[0]);
89
+ }, Ve = (l) => {
90
+ x.value && x.value.resize && x.value.resize(l), C.value && C.value.resize && C.value.resize(l);
91
+ }, ze = (l, t) => {
92
+ if (l == "ctrlS") {
93
+ if (p.value.type == "Detail") {
94
+ if (!K.value || !K.value.keyboard)
95
+ return !1;
96
+ K.value.keyboard(l, t);
97
+ return;
98
+ }
99
+ I(t);
100
+ }
101
+ }, Ee = () => {
102
+ let l = q.getUrl(z.value.path, z.value.query);
103
+ D("load", l, !1, (t) => {
104
+ });
105
+ };
106
+ (() => {
107
+ Q(O.value.data);
108
+ })();
109
+ let I = (l) => {
110
+ if (!j.value.submit) {
111
+ oe.notify("提示", "请在子组件暴露submit方法来实现快捷提交", "warning");
112
+ return;
113
+ }
114
+ j.value.submit(l);
115
+ }, $e = Y(() => {
116
+ let l = `/${y.value.name}/update`, t = p.value.type == "Detail" ? "detail" : "update";
117
+ return pe.getComponent(l, "partial", t);
118
+ }), W = Y(() => p.value.type.toLowerCase());
119
+ return Le(() => O.value, (l) => {
120
+ Q(l.data), x.value.update && x.value.update(l.data), C.value && C.value.update && C.value.update(l.data);
121
+ }), se({ shouldLoad: be, shouldSpin: ye, keyboard: ze, refresh: _e, resize: Ve }), (l, t) => {
122
+ const a = f("el-tooltip"), n = f("el-tab-pane"), T = f("el-tabs"), $ = f("el-form"), U = f("el-scrollbar"), V = f("el-popover"), X = f("el-form-item"), N = f("el-card"), _ = f("el-drawer");
123
+ return d(), M("div", {
124
+ ref_key: "singleRef",
125
+ ref: ve,
126
+ class: Pe(["ha-single-page", { [e(W) + "-page"]: !0, editing: e(k) }])
127
+ }, [
128
+ m("div", He, [
129
+ h(U, { class: "main-scroller" }, {
130
+ default: s(() => [
131
+ h($, {
132
+ ref_key: "formRef",
133
+ ref: E,
134
+ model: e(v),
135
+ onSubmit: t[3] || (t[3] = Ke(() => {
136
+ }, ["prevent"]))
137
+ }, {
138
+ default: s(() => [
139
+ h(re, {
140
+ ref_key: "mainRef",
141
+ ref: x,
142
+ module: e(p),
143
+ schema: e(r),
144
+ table: e(y),
145
+ layout: e(L),
146
+ next: e(b),
147
+ set: e(v),
148
+ route: e(z),
149
+ "validate-errors": e(P),
150
+ onChange: e(H),
151
+ onLayoutChange: t[0] || (t[0] = (o) => e(J)(o, !0)),
152
+ onSubmit: e(I)
153
+ }, null, 8, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onChange", "onSubmit"]),
154
+ e(r).length > 1 ? (d(), g(T, {
155
+ key: 0,
156
+ type: "border-card",
157
+ onTabChange: e(xe),
158
+ modelValue: e(w),
159
+ "onUpdate:modelValue": t[1] || (t[1] = (o) => Z(w) ? w.value = o : w = o)
160
+ }, {
161
+ default: s(() => [
162
+ (d(!0), M(ee, null, le(e(r).filter((o, Ue) => Ue > 0), (o) => (d(), g(n, {
163
+ name: o.name,
164
+ key: o.name
165
+ }, {
166
+ label: s(() => [
167
+ h(a, {
168
+ placement: "top",
169
+ content: o.tooltip,
170
+ disabled: !o.tooltip
171
+ }, {
172
+ default: s(() => [
173
+ m("div", null, S(e(fe)(o.table)), 1)
174
+ ]),
175
+ _: 2
176
+ }, 1032, ["content", "disabled"])
177
+ ]),
178
+ _: 2
179
+ }, 1032, ["name"]))), 128))
180
+ ]),
181
+ _: 1
182
+ }, 8, ["onTabChange", "modelValue"])) : B("", !0),
183
+ e(c).table ? (d(), g(re, {
184
+ key: 1,
185
+ ref_key: "childRef",
186
+ ref: C,
187
+ module: e(p),
188
+ schema: e(r),
189
+ table: e(c).table,
190
+ layout: e(c).layout,
191
+ next: e(b),
192
+ set: e(v),
193
+ route: e(z),
194
+ "validate-errors": e(P),
195
+ onRowEdit: e(ke),
196
+ onChange: e(H),
197
+ onLayoutChange: t[2] || (t[2] = (o) => e(J)(o, !1)),
198
+ onSubmit: e(I)
199
+ }, null, 8, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onRowEdit", "onChange", "onSubmit"])) : B("", !0)
200
+ ]),
201
+ _: 1
202
+ }, 8, ["model"])
203
+ ]),
204
+ _: 1
205
+ }),
206
+ (d(), g(Ne(e($e)), {
207
+ ref_key: "updateRef",
208
+ ref: j,
209
+ class: "main-footer",
210
+ schema: e(r),
211
+ table: e(y),
212
+ layout: e(L),
213
+ next: e(b),
214
+ set: e(v),
215
+ route: e(z),
216
+ onCopy: e(he),
217
+ onEdit: e(ge),
218
+ onSubmit: e(Te),
219
+ onClose: e(Se)
220
+ }, null, 40, ["schema", "table", "layout", "next", "set", "route", "onCopy", "onEdit", "onSubmit", "onClose"]))
221
+ ]),
222
+ e(k) ? (d(), g(N, {
223
+ key: 0,
224
+ class: "side-form"
225
+ }, {
226
+ header: s(() => [
227
+ m("div", Je, [
228
+ m("div", Qe, S(l.t("common.modify")) + " " + S(e(F)[e(R).show[0].name]), 1),
229
+ m("div", {
230
+ class: "row-close",
231
+ onClick: t[4] || (t[4] = (o) => Z(k) ? k.value = !1 : k = !1)
232
+ }, Xe)
233
+ ])
234
+ ]),
235
+ default: s(() => [
236
+ h(U, null, {
237
+ default: s(() => [
238
+ h($, {
239
+ size: "small",
240
+ "label-width": "80px"
241
+ }, {
242
+ default: s(() => [
243
+ (d(!0), M(ee, null, le(e(R).show, (o) => (d(), g(X, {
244
+ style: qe(o.control.height ? `height: ${o.control.height}px;` : ""),
245
+ rules: o.rules
246
+ }, {
247
+ label: s(() => [
248
+ te(S(l.t_field(e(R).name, o.name)) + " ", 1),
249
+ o.control.tooltip ? (d(), g(V, {
250
+ key: 0,
251
+ trigger: "hover",
252
+ placement: "top",
253
+ width: "auto",
254
+ title: o.control.tooltip.title
255
+ }, {
256
+ reference: s(() => [
257
+ Ye
258
+ ]),
259
+ default: s(() => [
260
+ m("pre", null, S(o.control.tooltip.content), 1)
261
+ ]),
262
+ _: 2
263
+ }, 1032, ["title"])) : B("", !0)
264
+ ]),
265
+ default: s(() => [
266
+ h(Ge, {
267
+ schema: e(r),
268
+ table: e(R),
269
+ field: o,
270
+ set: e(v),
271
+ row: e(F)
272
+ }, null, 8, ["schema", "table", "field", "set", "row"])
273
+ ]),
274
+ _: 2
275
+ }, 1032, ["style", "rules"]))), 256))
276
+ ]),
277
+ _: 1
278
+ })
279
+ ]),
280
+ _: 1
281
+ })
282
+ ]),
283
+ _: 1
284
+ })) : B("", !0),
285
+ e(i).page ? (d(), g(_, {
286
+ key: 1,
287
+ "destroy-on-close": "",
288
+ "append-to-body": e(i).appendToBody,
289
+ size: `${e(p).width ?? "60%"}`,
290
+ modelValue: e(i).visible,
291
+ "onUpdate:modelValue": t[5] || (t[5] = (o) => e(i).visible = o)
292
+ }, {
293
+ header: s(() => [
294
+ m("div", Ze, [
295
+ te(S(e(b)[e(i).page].title) + " ", 1),
296
+ m("a", {
297
+ class: "drawer-copy",
298
+ href: `${e(q).getToUrl(e(i).url)}`
299
+ }, S(l.t("common.link")), 9, el)
300
+ ])
301
+ ]),
302
+ default: s(() => [
303
+ h(e(Ie), {
304
+ ref_key: "pageRef",
305
+ ref: K,
306
+ url: e(i).url,
307
+ onSucceed: e(G),
308
+ onClose: e(we)
309
+ }, null, 8, ["url", "onSucceed", "onClose"])
310
+ ]),
311
+ _: 1
312
+ }, 8, ["append-to-body", "size", "modelValue"])) : B("", !0)
313
+ ], 2);
314
+ };
315
+ }
316
+ });
317
+ export {
318
+ rl as default
319
+ };
@@ -0,0 +1,157 @@
1
+ import { defineComponent as j, toRefs as q, ref as n, onMounted as G, watch as M, openBlock as O, createElementBlock as I, createVNode as J, unref as i, createElementVNode as K, normalizeStyle as P, nextTick as m } from "vue";
2
+ import { H as Q, d as U, r as W, m as X, V as Y } from "./main-QtNG6p7a.js";
3
+ import { _ as Z } from "./SearchForm.vue_vue_type_style_index_0_lang-BumSLQVy.js";
4
+ const re = /* @__PURE__ */ j({
5
+ __name: "Statistic",
6
+ props: {
7
+ searchData: {},
8
+ route: {},
9
+ module: {},
10
+ schema: {},
11
+ table: {},
12
+ layout: {},
13
+ next: {},
14
+ set: {}
15
+ },
16
+ emits: ["search"],
17
+ setup(A, { expose: C, emit: F }) {
18
+ let H = F, z = A, { route: V, module: B, schema: x, table: y, layout: a, next: ee, set: u, searchData: p } = q(z), g = Q(), s = null, v = null, b = n(), d = n(), S = n(), k = n(), T = (t) => {
19
+ D("search");
20
+ }, D = (t, e = null) => {
21
+ H(t, (r) => {
22
+ m(() => {
23
+ f(), e && e(r);
24
+ });
25
+ });
26
+ }, f = () => {
27
+ let t = W.distinct(u.value[a.value.table], (l) => l[a.value.date]), e = {
28
+ title: { text: B.value.title, left: "center", textStyle: { color: "#777" } },
29
+ //标题
30
+ tooltip: { trigger: "axis" },
31
+ //提示
32
+ legend: { data: [], right: "2%", textStyle: { color: "#777" } },
33
+ //图例
34
+ grid: { left: "2%", right: "3%", containLabel: !0 },
35
+ //网格
36
+ //x轴
37
+ xAxis: {
38
+ data: [],
39
+ //X坐标轴数据
40
+ boundaryGap: !1,
41
+ //移除边界
42
+ axisTick: { show: !1 },
43
+ //不显示坐标轴刻度
44
+ axisLabel: { color: "#777" },
45
+ axisLine: { show: !1 }
46
+ //隐藏x坐标轴线
47
+ },
48
+ //y轴
49
+ yAxis: {
50
+ type: "value",
51
+ axisTick: { show: !1 },
52
+ //不显示坐标轴刻度
53
+ axisLabel: { color: "#777" },
54
+ splitLine: { lineStyle: { color: "#eee" } },
55
+ axisLine: { show: !1 }
56
+ //隐藏y坐标轴线
57
+ },
58
+ //坐标
59
+ series: []
60
+ };
61
+ g.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)");
62
+ let r = a.value.fields.find((l) => l.group && l.name != a.value.date), L = y.value.fields.find((l) => l.name == r.name).control.data.data;
63
+ for (let l = 0; l < L.length; l++) {
64
+ let o = L[l];
65
+ o.color || X.error("颜色字段不能为空");
66
+ let c = {
67
+ name: o.text,
68
+ type: "line",
69
+ lineStyle: { color: o.color, width: 1 },
70
+ itemStyle: { color: o.color },
71
+ //点样式
72
+ smooth: !0,
73
+ data: [],
74
+ areaStyle: {
75
+ color: {
76
+ type: "linear",
77
+ x: 0,
78
+ y: 0,
79
+ x2: 1,
80
+ y2: 0,
81
+ colorStops: [
82
+ { offset: 0, color: o.color },
83
+ // 0% 处的颜色
84
+ { offset: 1, color: "#fff" }
85
+ // 100% 处的颜色
86
+ ],
87
+ global: !1
88
+ }
89
+ }
90
+ };
91
+ g.theme == "dark" && (c.areaStyle.color = {
92
+ type: "linear",
93
+ x: 0,
94
+ y: 0,
95
+ x2: 0,
96
+ y2: 1,
97
+ colorStops: [
98
+ { offset: 0, color: o.color },
99
+ // 0% 处的颜色
100
+ { offset: 1, color: "#354052" }
101
+ // 100% 处的颜色
102
+ ],
103
+ global: !0
104
+ });
105
+ for (let h = 0; h < t.length; h++) {
106
+ let $ = t[h], w = u.value[a.value.table].find((R) => R[r.name] == o.value && R[a.value.date] == $);
107
+ w == null ? c.data.push(null) : c.data.push(w[a.value.value]);
108
+ }
109
+ e.series.push(c), e.legend.data.push(o.text);
110
+ }
111
+ e.xAxis.data.push(...t), s.setOption(e);
112
+ }, _ = () => {
113
+ var r;
114
+ let t = Y.getHeight([(r = d.value) == null ? void 0 : r.$el]), e = k.value.getBoundingClientRect();
115
+ b.value = e.height - t - 10 - 1;
116
+ }, E = (t) => {
117
+ d.value.resize(t), m(() => {
118
+ _(), s == null || s.resize();
119
+ });
120
+ }, N = () => {
121
+ _(), m(() => {
122
+ s = v.init(S.value), f();
123
+ });
124
+ };
125
+ return G(() => {
126
+ p.value = U.getConditionForm(x.value, V.value.query.condition), import("echarts").then((t) => {
127
+ v = t, N();
128
+ });
129
+ }), M(() => a.value, (t, e) => {
130
+ f();
131
+ }), C({ resize: E }), (t, e) => (O(), I("div", {
132
+ ref_key: "statisticRef",
133
+ ref: k,
134
+ class: "ha-statistic-layout"
135
+ }, [
136
+ J(Z, {
137
+ ref_key: "searchRef",
138
+ ref: d,
139
+ schema: i(x),
140
+ table: i(y),
141
+ layout: i(a),
142
+ set: i(u),
143
+ "search-data": i(p),
144
+ onChange: i(T)
145
+ }, null, 8, ["schema", "table", "layout", "set", "search-data", "onChange"]),
146
+ K("div", {
147
+ ref_key: "chartRef",
148
+ ref: S,
149
+ class: "chart",
150
+ style: P({ height: i(b) + "px" })
151
+ }, null, 4)
152
+ ], 512));
153
+ }
154
+ });
155
+ export {
156
+ re as default
157
+ };
@@ -0,0 +1,76 @@
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
+ },
14
+ setup(p) {
15
+ let c = p, { schema: E, table: a, layout: l, set: n } = f(c), t = {
16
+ plotOptions: {
17
+ series: { animation: !1 }
18
+ //禁用载入动画
19
+ },
20
+ chart: {
21
+ type: "spline",
22
+ marginRight: 10
23
+ },
24
+ title: {
25
+ text: null
26
+ },
27
+ xAxis: {
28
+ name: null,
29
+ categories: []
30
+ },
31
+ yAxis: {
32
+ title: {
33
+ text: null
34
+ }
35
+ },
36
+ tooltip: {
37
+ shared: !0
38
+ },
39
+ series: []
40
+ }, m = () => {
41
+ let s = l.value.fields.find((e) => e.group);
42
+ t.xAxis.name = s.name, t.xAxis.categories = n.value[a.value.name].map((e) => e[s.name]);
43
+ let o = [];
44
+ l.value.fields.forEach((e) => {
45
+ if (!e.group) {
46
+ let r = a.value.fields.find((i) => i.name == e.name), u = {
47
+ name: r.label,
48
+ tooltip: {
49
+ valueSuffix: " ms"
50
+ },
51
+ data: []
52
+ };
53
+ n.value[a.value.name].forEach((i) => {
54
+ u.data.push(parseFloat(i[r.name]));
55
+ }), o.push(u);
56
+ }
57
+ }), t.series = o, t.yAxis.title.text = l.value.value;
58
+ }, d = () => {
59
+ m();
60
+ };
61
+ return x(() => {
62
+ d();
63
+ }), (s, o) => {
64
+ const e = v("Highcharts");
65
+ return _(), g("div", b, [
66
+ y(e, {
67
+ class: "chart",
68
+ options: A(t)
69
+ }, null, 8, ["options"])
70
+ ]);
71
+ };
72
+ }
73
+ });
74
+ export {
75
+ k as default
76
+ };
@@ -0,0 +1,28 @@
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-Az2jx3JN.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
+ },
15
+ setup(t) {
16
+ let a = t, { schema: o, table: s, layout: l, next: r, set: n } = m(a);
17
+ return (f, i) => (u(), p(_, {
18
+ schema: e(o),
19
+ table: e(s),
20
+ layout: e(l),
21
+ next: e(r),
22
+ set: e(n)
23
+ }, null, 8, ["schema", "table", "layout", "next", "set"]));
24
+ }
25
+ });
26
+ export {
27
+ b as default
28
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./Stock.vue_vue_type_style_index_0_lang-Az2jx3JN.js";
2
+ export {
3
+ f as default
4
+ };