halo-pc 1.0.51 → 1.0.52

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 (287) hide show
  1. package/dist/assets/Article-BW8eAB0-.js +197 -0
  2. package/dist/assets/ArticleFooter-Bgcgo5ul.js +84 -0
  3. package/dist/assets/Autocomplete-04DZEjsg.js +54 -0
  4. package/dist/assets/Autocomplete-BlyjnHzg.js +53 -0
  5. package/dist/assets/Autocomplete-CMrWQUxn.js +27 -0
  6. package/dist/assets/CSharp-Bs-1EWWR.js +27 -0
  7. package/dist/assets/Calender-dOG_jl9u.js +10 -0
  8. package/dist/assets/Callback-BqGRGNtK.js +25 -0
  9. package/dist/assets/Cascader-CnequxoL.js +86 -0
  10. package/dist/assets/Cascader-IJ3jft2B.js +46 -0
  11. package/dist/assets/Checkbox-B43ESOxJ.js +27 -0
  12. package/dist/assets/Checkbox-DjvF4NCz.js +75 -0
  13. package/dist/assets/Code-50tqkJIE.js +41 -0
  14. package/dist/assets/Code-CDnAXHXb.js +4 -0
  15. package/dist/assets/Code-CPcLgZ92.js +30 -0
  16. package/dist/assets/Code-DrzngizU.js +59 -0
  17. package/dist/assets/Code.vue_vue_type_style_index_0_lang-CDxbuceH.js +64 -0
  18. package/dist/assets/Color--mRQSe4e.js +34 -0
  19. package/dist/assets/Color-CLRn-pIY.js +22 -0
  20. package/dist/assets/Column-BTaMkPuH.js +73 -0
  21. package/dist/assets/Comment-BHXA8N0K.js +105 -0
  22. package/dist/assets/Compare-BxyBlcHX.js +62 -0
  23. package/dist/assets/Compare-DydxjkYG.js +42 -0
  24. package/dist/assets/Copy-GxnvB2Sm.js +48 -0
  25. package/dist/assets/Custom-BxcKWpSP.js +54 -0
  26. package/dist/assets/DataExport-BcruPHEM.js +4 -0
  27. package/dist/assets/DataExport.vue_vue_type_script_setup_true_lang-C6tWZ8mB.js +113 -0
  28. package/dist/assets/DataImport-CdXvwlli.js +4 -0
  29. package/dist/assets/DataImport.vue_vue_type_script_setup_true_lang-D4OmNvny.js +177 -0
  30. package/dist/assets/Date-5U1z7UXl.js +27 -0
  31. package/dist/assets/Date-OfQxaoDL.js +42 -0
  32. package/dist/assets/DateRange-DEvme6Wz.js +62 -0
  33. package/dist/assets/DateRange-W7uK-0Q3.js +19 -0
  34. package/dist/assets/DateTime-ByF4OyPL.js +43 -0
  35. package/dist/assets/DateTime-C_l10Os6.js +27 -0
  36. package/dist/assets/DateTimeRange-GpUXpNlL.js +66 -0
  37. package/dist/assets/Daterange-D1OvMMvQ.js +62 -0
  38. package/dist/assets/Decimal-IkGfpE-p.js +36 -0
  39. package/dist/assets/Decimal-QPElgXM5.js +27 -0
  40. package/dist/assets/Delete-DifJD2iW.js +61 -0
  41. package/dist/assets/Detail-6p4Jgu5U.js +73 -0
  42. package/dist/assets/Dictionary-CvI_7FO8.js +60 -0
  43. package/dist/assets/Email-B-nUtHIg.js +53 -0
  44. package/dist/assets/Email-BsqMbKuf.js +19 -0
  45. package/dist/assets/File-CTboPD47.js +162 -0
  46. package/dist/assets/Image-CTKxOM9T.js +9 -0
  47. package/dist/assets/Index-BBRyKHV1.js +178 -0
  48. package/dist/assets/Index-BY6EHWPo.js +4 -0
  49. package/dist/assets/Index-Bdb8xf8A.js +75 -0
  50. package/dist/assets/Index-Br5wtQCU.js +4 -0
  51. package/dist/assets/Index-DDpdqPUT.js +4 -0
  52. package/dist/assets/Index-DGICr-zO.js +4 -0
  53. package/dist/assets/Index-Dat74cWT.js +4 -0
  54. package/dist/assets/Index-aTHMqHdZ.js +4 -0
  55. package/dist/assets/Index.vue_vue_type_script_setup_true_lang-CKXjZbZm.js +82 -0
  56. package/dist/assets/Index.vue_vue_type_script_setup_true_lang-c_kmud9W.js +68 -0
  57. package/dist/assets/Install-xTa0b51o.js +133 -0
  58. package/dist/assets/Int-BFP6vIcR.js +19 -0
  59. package/dist/assets/Int-CWb_A-nY.js +43 -0
  60. package/dist/assets/Int-CdT_UEOL.js +46 -0
  61. package/dist/assets/List-CNlfibdL.js +75 -0
  62. package/dist/assets/Maintaince-DoaN5v4p.js +19 -0
  63. package/dist/assets/Markdown-DInji1_q.js +37 -0
  64. package/dist/assets/Markdown-YEBerW7I.js +27 -0
  65. package/dist/assets/Month-B92uGMxO.js +43 -0
  66. package/dist/assets/Month-CCcnnqgz.js +27 -0
  67. package/dist/assets/Month-CbIVJc94.js +42 -0
  68. package/dist/assets/Normal-CWDfA3Bl.js +259 -0
  69. package/dist/assets/Paging-DQes1B_A.js +98 -0
  70. package/dist/assets/PagingHeader-BDGFzyvm.js +147 -0
  71. package/dist/assets/PagingRow-DSlSGiAV.js +72 -0
  72. package/dist/assets/Password-C06RyIsi.js +55 -0
  73. package/dist/assets/Password-Cqm5_jcE.js +24 -0
  74. package/dist/assets/Progress-C_S9K_bo.js +25 -0
  75. package/dist/assets/Progress-pdUnRwmC.js +34 -0
  76. package/dist/assets/Racebar-BTin0dPn.js +168 -0
  77. package/dist/assets/Radio-BXCq0-e0.js +27 -0
  78. package/dist/assets/Radio-GcyYOxn0.js +47 -0
  79. package/dist/assets/Rate-DJMyAd6-.js +34 -0
  80. package/dist/assets/Rate-DxB6xeV6.js +34 -0
  81. package/dist/assets/Register-BmxG2pD4.js +201 -0
  82. package/dist/assets/RichText-COdDClMp.js +121 -0
  83. package/dist/assets/RichText-MkjGGBqR.js +22 -0
  84. package/dist/assets/SearchForm-BgOPf7uG.js +4 -0
  85. package/dist/assets/SearchForm.vue_vue_type_style_index_0_lang-Cj6tbcvd.js +147 -0
  86. package/dist/assets/SearchHeader-nnRzvdrx.js +4 -0
  87. package/dist/assets/SearchHeader.vue_vue_type_style_index_0_lang-CHx_o3cL.js +69 -0
  88. package/dist/assets/Select-CV1JKkID.js +27 -0
  89. package/dist/assets/Select-DQTFln0r.js +85 -0
  90. package/dist/assets/Select-vBFgN0sw.js +122 -0
  91. package/dist/assets/Single-6DxzOqUa.js +321 -0
  92. package/dist/assets/Statistic-C9-x_5VI.js +78 -0
  93. package/dist/assets/Statistic-DOqjwV9b.js +157 -0
  94. package/dist/assets/Stock-B7mAFNC_.js +4 -0
  95. package/dist/assets/Stock-CDNRWrLy.js +30 -0
  96. package/dist/assets/Stock.vue_vue_type_style_index_0_lang-12CCzO2g.js +303 -0
  97. package/dist/assets/Switch-BY-0wSNs.js +27 -0
  98. package/dist/assets/Switch-Brwh143O.js +50 -0
  99. package/dist/assets/Table-BSbpncPe.js +225 -0
  100. package/dist/assets/Table-DH-ateim.js +274 -0
  101. package/dist/assets/Text-C-mzSg7d.js +4 -0
  102. package/dist/assets/Text-Du3Mfs9M.js +57 -0
  103. package/dist/assets/Text-ux7pj9CL.js +53 -0
  104. package/dist/assets/Text.vue_vue_type_style_index_0_lang-BsK-PxEq.js +57 -0
  105. package/dist/assets/TextLink-C2dFJ1xR.js +64 -0
  106. package/dist/assets/Textarea-6IWWDV6p.js +37 -0
  107. package/dist/assets/Textarea-DfMegvsQ.js +28 -0
  108. package/dist/assets/Time-BdsPTOwX.js +42 -0
  109. package/dist/assets/Timeline-BJE5-MDV.js +60 -0
  110. package/dist/assets/Tree-CPYvQpRc.js +295 -0
  111. package/dist/assets/Tree-uvDeFVk4.js +124 -0
  112. package/dist/assets/TreeNode-8P3FykA1.js +39 -0
  113. package/dist/assets/Tree_Old-h__WmqFA.js +11 -0
  114. package/dist/assets/Update-DyH-b15b.js +58 -0
  115. package/dist/assets/UpdateChild-BLL357Mm.js +91 -0
  116. package/dist/assets/Upload-BG5kTc46.js +70 -0
  117. package/dist/assets/Upload-z8n9VoPU.js +149 -0
  118. package/dist/assets/Year-DMCePo2k.js +46 -0
  119. package/dist/assets/Year-DQf2Vu7j.js +27 -0
  120. package/dist/assets/main-DDCxKbDF.js +12627 -0
  121. package/dist/main.css +1 -0
  122. package/dist/main.js +73 -0
  123. package/dist/vendor/clipboard-Ng1iAUpU.js +504 -0
  124. package/dist/vendor/clone-B9z63rns.js +136 -0
  125. package/dist/vendor/element-plus-BNctWhlD.js +540 -0
  126. package/dist/vendor/file-saver-ypit2jx5.js +76 -0
  127. package/dist/vendor/intro.js-BUb8U_EJ.js +2040 -0
  128. package/dist/vendor/liquidjs-CyjuyKnF.js +3397 -0
  129. package/dist/vendor/moment-CwOqp704.js +2589 -0
  130. package/dist/vendor/sprintf-js-CI46yikS.js +145 -0
  131. package/dist/vendor/underscore-CK1gjYcm.js +1073 -0
  132. package/dist/vendor/underscore.string-BevGGlfe.js +798 -0
  133. package/dist/vendor/util-deprecate-DyPMeoo2.js +33 -0
  134. package/esm/comp/business/Condition.vue.d.ts +5 -4
  135. package/esm/comp/business/Drawer.vue.d.ts +6 -6
  136. package/esm/comp/business/Feedback.vue.d.ts +3 -96
  137. package/esm/comp/business/Switch.vue.d.ts +2 -1
  138. package/esm/comp/common/Captcha.vue.d.ts +3 -6
  139. package/esm/comp/common/Debug.vue.d.ts +7 -11
  140. package/esm/comp/common/Editable.vue.d.ts +7 -11
  141. package/esm/comp/common/Loading.vue.d.ts +7 -11
  142. package/esm/comp/common/MouseContext.vue.d.ts +2 -1
  143. package/esm/comp/common/Particles.vue.d.ts +2 -1
  144. package/esm/comp/common/Resizer.vue.d.ts +10 -13
  145. package/esm/comp/common/Table.vue.d.ts +13 -22
  146. package/esm/comp/common/TableColumn.vue.d.ts +9 -13
  147. package/esm/comp/control/Autocomplete.vue.d.ts +4 -3
  148. package/esm/comp/control/Cascader.vue.d.ts +5 -6
  149. package/esm/comp/control/Checkbox.vue.d.ts +3 -2
  150. package/esm/comp/control/Code.vue.d.ts +4 -3
  151. package/esm/comp/control/Color.vue.d.ts +4 -3
  152. package/esm/comp/control/Compare.vue.d.ts +5 -6
  153. package/esm/comp/control/Date.vue.d.ts +4 -3
  154. package/esm/comp/control/DateRange.vue.d.ts +4 -3
  155. package/esm/comp/control/DateTime.vue.d.ts +4 -3
  156. package/esm/comp/control/DateTimeRange.vue.d.ts +4 -3
  157. package/esm/comp/control/Decimal.vue.d.ts +4 -3
  158. package/esm/comp/control/Email.vue.d.ts +4 -3
  159. package/esm/comp/control/Image.vue.d.ts +2 -1
  160. package/esm/comp/control/Index.vue.d.ts +5 -6
  161. package/esm/comp/control/Int.vue.d.ts +4 -3
  162. package/esm/comp/control/Markdown.vue.d.ts +4 -3
  163. package/esm/comp/control/Month.vue.d.ts +4 -3
  164. package/esm/comp/control/Password.vue.d.ts +4 -3
  165. package/esm/comp/control/Progress.vue.d.ts +4 -3
  166. package/esm/comp/control/Radio.vue.d.ts +4 -3
  167. package/esm/comp/control/Rate.vue.d.ts +4 -3
  168. package/esm/comp/control/RichText.vue.d.ts +5 -3
  169. package/esm/comp/control/Select.vue.d.ts +5 -6
  170. package/esm/comp/control/Switch.vue.d.ts +5 -4
  171. package/esm/comp/control/Text.vue.d.ts +4 -3
  172. package/esm/comp/control/Textarea.vue.d.ts +4 -3
  173. package/esm/comp/control/Time.vue.d.ts +4 -3
  174. package/esm/comp/control/Upload.vue.d.ts +5 -6
  175. package/esm/comp/control/Year.vue.d.ts +4 -3
  176. package/esm/comp/driver/Crud.vue.d.ts +11 -744
  177. package/esm/comp/driver/Index.vue.d.ts +8 -1416
  178. package/esm/comp/driver/Picker.vue.d.ts +7 -94
  179. package/esm/comp/global/HeaderTab.vue.d.ts +7 -11
  180. package/esm/comp/global/Menu.vue.d.ts +3 -261
  181. package/esm/comp/global/MenuItem.vue.d.ts +3 -185
  182. package/esm/comp/global/MissComponent.vue.d.ts +7 -11
  183. package/esm/comp/global/SideTab.vue.d.ts +8 -12
  184. package/esm/comp/global/Window.vue.d.ts +7 -8
  185. package/esm/comp/header/Breadcrumb.vue.d.ts +2 -1
  186. package/esm/comp/header/Changes.vue.d.ts +2 -1
  187. package/esm/comp/header/Hamburger.vue.d.ts +3 -2
  188. package/esm/comp/header/HeaderRight.vue.d.ts +3 -22
  189. package/esm/comp/header/Index.vue.d.ts +7 -11
  190. package/esm/comp/header/Log.vue.d.ts +2 -1
  191. package/esm/comp/header/Logo.vue.d.ts +3 -2
  192. package/esm/comp/header/Refresh.vue.d.ts +3 -2
  193. package/esm/comp/header/Setting.vue.d.ts +2 -1
  194. package/esm/comp/layout/Desktop.vue.d.ts +2 -110
  195. package/esm/comp/layout/Index.vue.d.ts +7 -469
  196. package/esm/comp/layout/Side.vue.d.ts +5 -6
  197. package/esm/comp/layout/Top.vue.d.ts +3 -355
  198. package/esm/comp/list/Calender.vue.d.ts +2 -1
  199. package/esm/comp/list/Racebar.vue.d.ts +3 -32
  200. package/esm/comp/list/Statistic.vue.d.ts +3 -32
  201. package/esm/comp/list/Stock.vue.d.ts +2 -3
  202. package/esm/comp/list/Timeline.vue.d.ts +2 -1
  203. package/esm/comp/list/Tree.vue.d.ts +3 -9
  204. package/esm/comp/page/Column.vue.d.ts +3 -2
  205. package/esm/comp/page/Custom.vue.d.ts +2 -1
  206. package/esm/comp/page/Delete.vue.d.ts +3 -2
  207. package/esm/comp/page/Index.vue.d.ts +2 -1
  208. package/esm/comp/page/List.vue.d.ts +3 -4
  209. package/esm/comp/page/Paging.vue.d.ts +3 -48
  210. package/esm/comp/page/Single.vue.d.ts +3 -2
  211. package/esm/comp/paging/Article.vue.d.ts +3 -33
  212. package/esm/comp/paging/Code.vue.d.ts +2 -1
  213. package/esm/comp/paging/DataExport.vue.d.ts +3 -4
  214. package/esm/comp/paging/DataImport.vue.d.ts +2 -1
  215. package/esm/comp/paging/File.vue.d.ts +2 -1
  216. package/esm/comp/paging/Index.vue.d.ts +3 -4
  217. package/esm/comp/paging/SearchForm.vue.d.ts +5 -7
  218. package/esm/comp/paging/SearchHeader.vue.d.ts +5 -6
  219. package/esm/comp/paging/Table.vue.d.ts +4 -563
  220. package/esm/comp/panel/Group.vue.d.ts +7 -11
  221. package/esm/comp/panel/Header.vue.d.ts +3 -2
  222. package/esm/comp/panel/Operation.vue.d.ts +10 -17
  223. package/esm/comp/panel/Panel.vue.d.ts +14 -15
  224. package/esm/comp/panel/Shrink.vue.d.ts +8 -12
  225. package/esm/comp/partial/ArticleFooter.vue.d.ts +5 -4
  226. package/esm/comp/partial/Detail.vue.d.ts +3 -2
  227. package/esm/comp/partial/PagingHeader.vue.d.ts +6 -5
  228. package/esm/comp/partial/PagingRow.vue.d.ts +5 -4
  229. package/esm/comp/partial/TreeNode.vue.d.ts +2 -1
  230. package/esm/comp/partial/Update.vue.d.ts +3 -2
  231. package/esm/comp/partial/UpdateChild.vue.d.ts +4 -3
  232. package/esm/comp/search/Autocomplete.vue.d.ts +4 -3
  233. package/esm/comp/search/Daterange.vue.d.ts +2 -1
  234. package/esm/comp/search/Index.vue.d.ts +4 -3
  235. package/esm/comp/search/Int.vue.d.ts +4 -3
  236. package/esm/comp/search/Month.vue.d.ts +4 -3
  237. package/esm/comp/search/Select.vue.d.ts +5 -6
  238. package/esm/comp/search/Text.vue.d.ts +7 -5
  239. package/esm/comp/single/Code.vue.d.ts +5 -4
  240. package/esm/comp/single/Comment.vue.d.ts +2 -1
  241. package/esm/comp/single/Index.vue.d.ts +7 -8
  242. package/esm/comp/single/Normal.vue.d.ts +5 -7
  243. package/esm/comp/single/Statistic.vue.d.ts +2 -1
  244. package/esm/comp/single/Stock.vue.d.ts +2 -1
  245. package/esm/comp/single/Table.vue.d.ts +5 -498
  246. package/esm/comp/single/Tree.vue.d.ts +3 -5
  247. package/esm/comp/single/Tree_Old.vue.d.ts +2 -1
  248. package/esm/comp/text/Autocomplete.vue.d.ts +2 -1
  249. package/esm/comp/text/CSharp.vue.d.ts +2 -1
  250. package/esm/comp/text/Cascader.vue.d.ts +5 -4
  251. package/esm/comp/text/Checkbox.vue.d.ts +2 -1
  252. package/esm/comp/text/Code.vue.d.ts +2 -1
  253. package/esm/comp/text/Color.vue.d.ts +2 -1
  254. package/esm/comp/text/Compare.vue.d.ts +2 -1
  255. package/esm/comp/text/Copy.vue.d.ts +9 -12
  256. package/esm/comp/text/Date.vue.d.ts +2 -1
  257. package/esm/comp/text/DateRange.vue.d.ts +2 -1
  258. package/esm/comp/text/DateTime.vue.d.ts +2 -1
  259. package/esm/comp/text/Decimal.vue.d.ts +2 -1
  260. package/esm/comp/text/Dictionary.vue.d.ts +5 -4
  261. package/esm/comp/text/Email.vue.d.ts +2 -1
  262. package/esm/comp/text/Index.vue.d.ts +4 -3
  263. package/esm/comp/text/Int.vue.d.ts +2 -1
  264. package/esm/comp/text/Markdown.vue.d.ts +2 -1
  265. package/esm/comp/text/Month.vue.d.ts +2 -1
  266. package/esm/comp/text/Password.vue.d.ts +2 -1
  267. package/esm/comp/text/Progress.vue.d.ts +2 -1
  268. package/esm/comp/text/Radio.vue.d.ts +2 -1
  269. package/esm/comp/text/Rate.vue.d.ts +4 -3
  270. package/esm/comp/text/RichText.vue.d.ts +2 -1
  271. package/esm/comp/text/Select.vue.d.ts +2 -1
  272. package/esm/comp/text/Switch.vue.d.ts +2 -1
  273. package/esm/comp/text/Text.vue.d.ts +2 -3
  274. package/esm/comp/text/TextLink.vue.d.ts +13 -15
  275. package/esm/comp/text/Textarea.vue.d.ts +2 -1
  276. package/esm/comp/text/Upload.vue.d.ts +2 -1
  277. package/esm/comp/text/Year.vue.d.ts +2 -1
  278. package/esm/view/help/401.vue.d.ts +2 -1
  279. package/esm/view/help/404.vue.d.ts +2 -1
  280. package/esm/view/help/Install.vue.d.ts +2 -3
  281. package/esm/view/help/Maintaince.vue.d.ts +2 -1
  282. package/esm/view/help/Upgrade.vue.d.ts +2 -1
  283. package/esm/view/sso/Callback.vue.d.ts +2 -1
  284. package/esm/view/sso/Index.vue.d.ts +2 -5
  285. package/esm/view/sso/Register.vue.d.ts +2 -33
  286. package/esm/vite.config.d.ts +1 -5
  287. package/package.json +17 -17
@@ -0,0 +1,147 @@
1
+ import { defineComponent as S, toRefs as q, ref as D, resolveComponent as y, createElementBlock as F, openBlock as m, Fragment as H, createElementVNode as l, createBlock as d, createCommentVNode as u, unref as e, withCtx as o, createTextVNode as c, toDisplayString as i, createVNode as b, createSlots as P } from "vue";
2
+ import "../vendor/underscore-CK1gjYcm.js";
3
+ import "../vendor/file-saver-ypit2jx5.js";
4
+ import "../vendor/clone-B9z63rns.js";
5
+ import "../vendor/underscore.string-BevGGlfe.js";
6
+ import "../vendor/moment-CwOqp704.js";
7
+ import { I as n } from "./main-DDCxKbDF.js";
8
+ const R = { class: "search-title" }, T = { class: "search-operation" }, Q = /* @__PURE__ */ S({
9
+ __name: "PagingHeader",
10
+ props: {
11
+ schema: {},
12
+ table: {},
13
+ next: {},
14
+ set: {},
15
+ layout: {},
16
+ selection: {},
17
+ url: {},
18
+ win: {}
19
+ },
20
+ emits: ["add", "remove", "copy", "show-import", "show-export", "succeed", "submit"],
21
+ setup(k, { emit: x }) {
22
+ let r = x, C = k, { schema: $, table: h, layout: j, next: p, set: v, selection: a } = q(C), f = D(!1), _ = () => {
23
+ f.value = !0, r("submit", () => {
24
+ f.value = !1;
25
+ });
26
+ }, w = (g) => {
27
+ r("add", g);
28
+ }, N = () => {
29
+ r("show-import");
30
+ }, V = () => {
31
+ r("show-export");
32
+ }, B = (g) => {
33
+ r("copy", g);
34
+ }, E = () => {
35
+ r("remove", a.value);
36
+ };
37
+ return (g, t) => {
38
+ const s = y("el-button"), I = y("el-popconfirm");
39
+ return m(), F(H, null, [
40
+ l("div", R, [
41
+ e(p).insert ? (m(), d(s, {
42
+ key: 0,
43
+ type: "primary",
44
+ class: "btn-insert",
45
+ onClick: e(w)
46
+ }, {
47
+ icon: o(() => [...t[1] || (t[1] = [
48
+ l("i", { class: "fa fa-plus" }, null, -1)
49
+ ])]),
50
+ default: o(() => [
51
+ c(" " + i(e(n).t("paging.add")), 1)
52
+ ]),
53
+ _: 1
54
+ }, 8, ["onClick"])) : u("", !0),
55
+ e(p).copy ? (m(), d(s, {
56
+ key: 1,
57
+ type: "primary",
58
+ disabled: !e(a).length,
59
+ onClick: t[0] || (t[0] = (z) => e(B)(e(a)))
60
+ }, {
61
+ icon: o(() => [...t[2] || (t[2] = [
62
+ l("i", { class: "fa fa-copy" }, null, -1)
63
+ ])]),
64
+ default: o(() => [
65
+ c(" " + i(e(n).t("common.copy")) + i(e(a).length ? "(" + e(a).length + ")" : ""), 1)
66
+ ]),
67
+ _: 1
68
+ }, 8, ["disabled"])) : u("", !0),
69
+ e(p).delete ? (m(), d(I, {
70
+ key: 2,
71
+ width: 180,
72
+ title: e(n).t("common.confirm_delete", ""),
73
+ "confirm-button-text": e(n).t("common.confirm"),
74
+ "cancel-button-text": e(n).t("common.cancel"),
75
+ onConfirm: e(E)
76
+ }, {
77
+ reference: o(() => [
78
+ b(s, {
79
+ type: "danger",
80
+ class: "btn-delete",
81
+ plain: "",
82
+ disabled: e(a).length == 0
83
+ }, {
84
+ icon: o(() => [...t[3] || (t[3] = [
85
+ l("i", { class: "fa fa-trash-alt" }, null, -1)
86
+ ])]),
87
+ default: o(() => [
88
+ c(" " + i(e(n).t("common.delete")) + "(" + i(e(a).length) + ") ", 1)
89
+ ]),
90
+ _: 1
91
+ }, 8, ["disabled"])
92
+ ]),
93
+ _: 1
94
+ }, 8, ["title", "confirm-button-text", "cancel-button-text", "onConfirm"])) : u("", !0)
95
+ ]),
96
+ l("div", T, [
97
+ b(s, {
98
+ type: "primary",
99
+ loading: e(f),
100
+ onClick: e(_)
101
+ }, P({
102
+ default: o(() => [
103
+ c(" " + i(e(n).t("paging.search")), 1)
104
+ ]),
105
+ _: 2
106
+ }, [
107
+ e(f) ? void 0 : {
108
+ name: "icon",
109
+ fn: o(() => [
110
+ t[4] || (t[4] = l("i", { class: "fa fa-search" }, null, -1))
111
+ ]),
112
+ key: "0"
113
+ }
114
+ ]), 1032, ["loading", "onClick"]),
115
+ e(p).import ? (m(), d(s, {
116
+ key: 0,
117
+ onClick: e(N)
118
+ }, {
119
+ icon: o(() => [...t[5] || (t[5] = [
120
+ l("i", { class: "fa fa-file-upload" }, null, -1)
121
+ ])]),
122
+ default: o(() => [
123
+ c(" " + i(e(n).t("paging.import")), 1)
124
+ ]),
125
+ _: 1
126
+ }, 8, ["onClick"])) : u("", !0),
127
+ e(p).export ? (m(), d(s, {
128
+ key: 1,
129
+ disabled: e(v)[e(h).name]?.length == 0,
130
+ onClick: e(V)
131
+ }, {
132
+ icon: o(() => [...t[6] || (t[6] = [
133
+ l("i", { class: "fa fa-share-square" }, null, -1)
134
+ ])]),
135
+ default: o(() => [
136
+ c(" " + i(e(n).t("paging.export")), 1)
137
+ ]),
138
+ _: 1
139
+ }, 8, ["disabled", "onClick"])) : u("", !0)
140
+ ])
141
+ ], 64);
142
+ };
143
+ }
144
+ });
145
+ export {
146
+ Q as default
147
+ };
@@ -0,0 +1,72 @@
1
+ import { defineComponent as x, toRefs as y, resolveComponent as _, createElementBlock as c, openBlock as r, createCommentVNode as p, createBlock as g, unref as e, withCtx as B, createElementVNode as R } from "vue";
2
+ import "../vendor/underscore-CK1gjYcm.js";
3
+ import "../vendor/file-saver-ypit2jx5.js";
4
+ import "../vendor/clone-B9z63rns.js";
5
+ import "../vendor/underscore.string-BevGGlfe.js";
6
+ import "../vendor/moment-CwOqp704.js";
7
+ import { I as a } from "./main-DDCxKbDF.js";
8
+ const E = { class: "paging-row" }, F = /* @__PURE__ */ x({
9
+ __name: "PagingRow",
10
+ props: {
11
+ table: {},
12
+ next: {},
13
+ set: {},
14
+ row: {}
15
+ },
16
+ emits: ["preview", "edit", "copy", "before-remove", "remove"],
17
+ setup(d, { emit: b }) {
18
+ let i = b, k = d, { table: I, next: l, set: N, row: m } = y(k), s = (o) => {
19
+ i("preview", m.value, o);
20
+ }, f = (o) => {
21
+ i("edit", m.value, o);
22
+ }, u = (o) => {
23
+ i("copy", m.value, o);
24
+ }, v = (o) => {
25
+ }, C = () => {
26
+ i("remove", [m.value]);
27
+ };
28
+ return (o, t) => {
29
+ const w = _("el-popconfirm");
30
+ return r(), c("div", E, [
31
+ e(l).detail ? (r(), c("i", {
32
+ key: 0,
33
+ class: "fa fa-search-plus btn-icon",
34
+ onClick: t[0] || (t[0] = //@ts-ignore
35
+ (...n) => e(s) && e(s)(...n))
36
+ })) : p("", !0),
37
+ e(l).update ? (r(), c("i", {
38
+ key: 1,
39
+ class: "fa fa-pencil btn-icon",
40
+ onClick: t[1] || (t[1] = //@ts-ignore
41
+ (...n) => e(f) && e(f)(...n))
42
+ })) : p("", !0),
43
+ e(l).copy ? (r(), c("i", {
44
+ key: 2,
45
+ class: "fa fa-copy btn-icon",
46
+ onClick: t[2] || (t[2] = //@ts-ignore
47
+ (...n) => e(u) && e(u)(...n))
48
+ })) : p("", !0),
49
+ e(l).delete ? (r(), g(w, {
50
+ key: 3,
51
+ title: e(a).t("common.confirm_delete", ""),
52
+ "confirm-button-text": e(a).t("common.confirm"),
53
+ "cancel-button-text": e(a).t("common.cancel"),
54
+ width: 180,
55
+ onConfirm: e(C)
56
+ }, {
57
+ reference: B(() => [
58
+ R("i", {
59
+ class: "fa fa-trash-alt btn-icon",
60
+ onClick: t[3] || (t[3] = //@ts-ignore
61
+ (...n) => e(v) && e(v)(...n))
62
+ })
63
+ ]),
64
+ _: 1
65
+ }, 8, ["title", "confirm-button-text", "cancel-button-text", "onConfirm"])) : p("", !0)
66
+ ]);
67
+ };
68
+ }
69
+ });
70
+ export {
71
+ F as default
72
+ };
@@ -0,0 +1,55 @@
1
+ import { defineComponent as w, toRefs as b, ref as V, onMounted as _, nextTick as x, computed as h, resolveComponent as y, createBlock as g, openBlock as k, unref as e, withKeys as v, isRef as C, createSlots as K, withCtx as B, createTextVNode as P, toDisplayString as R } from "vue";
2
+ const M = /* @__PURE__ */ w({
3
+ __name: "Password",
4
+ props: {
5
+ schema: {},
6
+ table: {},
7
+ field: {},
8
+ set: {},
9
+ row: {},
10
+ modelValue: {}
11
+ },
12
+ emits: ["submit", "change", "update:modelValue"],
13
+ setup(d, { emit: i }) {
14
+ let o = i, r = d, { table: S, field: a, set: T, modelValue: m } = b(r), s = V(!0), p = () => {
15
+ o("submit");
16
+ }, f = () => {
17
+ s.value = !1;
18
+ };
19
+ _(() => {
20
+ x(() => {
21
+ f();
22
+ });
23
+ });
24
+ let t = h({
25
+ get() {
26
+ return m.value;
27
+ },
28
+ set(l) {
29
+ o("update:modelValue", l), o("change", l);
30
+ }
31
+ });
32
+ return (l, n) => {
33
+ const c = y("el-input");
34
+ return k(), g(c, {
35
+ "show-password": "",
36
+ "auto-complete": "new-password",
37
+ disabled: e(s),
38
+ onKeyup: v(e(p), ["enter", "native"]),
39
+ modelValue: e(t),
40
+ "onUpdate:modelValue": n[0] || (n[0] = (u) => C(t) ? t.value = u : t = u)
41
+ }, K({ _: 2 }, [
42
+ e(a).suffix ? {
43
+ name: "append",
44
+ fn: B(() => [
45
+ P(R(e(a).suffix), 1)
46
+ ]),
47
+ key: "0"
48
+ } : void 0
49
+ ]), 1032, ["disabled", "onKeyup", "modelValue"]);
50
+ };
51
+ }
52
+ });
53
+ export {
54
+ M as default
55
+ };
@@ -0,0 +1,24 @@
1
+ import { defineComponent as m, toRefs as c, createElementBlock as o, openBlock as r, createTextVNode as l, createCommentVNode as u, toDisplayString as a, unref as e, Fragment as d } from "vue";
2
+ const w = /* @__PURE__ */ m({
3
+ __name: "Password",
4
+ props: {
5
+ schema: {},
6
+ table: {},
7
+ field: {},
8
+ set: {},
9
+ row: {},
10
+ modelValue: {}
11
+ },
12
+ setup(n) {
13
+ let s = n, { table: i, field: t, set: p, row: _, modelValue: f } = c(s);
14
+ return (x, V) => (r(), o("div", null, [
15
+ l(a(e(f)) + " ", 1),
16
+ e(t).suffix ? (r(), o(d, { key: 0 }, [
17
+ l(a(e(t).suffix), 1)
18
+ ], 64)) : u("", !0)
19
+ ]));
20
+ }
21
+ });
22
+ export {
23
+ w as default
24
+ };
@@ -0,0 +1,25 @@
1
+ import { defineComponent as a, toRefs as p, computed as r, resolveComponent as c, createBlock as m, openBlock as f, unref as s } from "vue";
2
+ const k = /* @__PURE__ */ a({
3
+ __name: "Progress",
4
+ props: {
5
+ schema: {},
6
+ table: {},
7
+ field: {},
8
+ set: {},
9
+ row: {},
10
+ modelValue: {}
11
+ },
12
+ setup(l) {
13
+ let o = l, { table: _, field: d, set: i, row: g, modelValue: e } = p(o), t = r(() => e.value ? parseInt(e.value) : e.value), n = r(() => t.value == 100 ? "success" : null);
14
+ return (v, b) => {
15
+ const u = c("el-progress");
16
+ return f(), m(u, {
17
+ percentage: s(t),
18
+ status: s(n)
19
+ }, null, 8, ["percentage", "status"]);
20
+ };
21
+ }
22
+ });
23
+ export {
24
+ k as default
25
+ };
@@ -0,0 +1,34 @@
1
+ import { defineComponent as i, toRefs as c, computed as f, resolveComponent as V, createBlock as _, openBlock as b, unref as d, isRef as g } from "vue";
2
+ const B = /* @__PURE__ */ i({
3
+ __name: "Progress",
4
+ props: {
5
+ schema: {},
6
+ table: {},
7
+ field: {},
8
+ set: {},
9
+ row: {},
10
+ modelValue: {}
11
+ },
12
+ emits: ["submit", "change", "update:modelValue"],
13
+ setup(s, { emit: m }) {
14
+ let o = m, n = s, { table: h, field: r, set: k, modelValue: u } = c(n), e = f({
15
+ get() {
16
+ return u.value;
17
+ },
18
+ set(l) {
19
+ o("update:modelValue", l), o("change", l);
20
+ }
21
+ });
22
+ return (l, t) => {
23
+ const p = V("el-slider");
24
+ return b(), _(p, {
25
+ disabled: d(r).control.readonly,
26
+ modelValue: d(e),
27
+ "onUpdate:modelValue": t[0] || (t[0] = (a) => g(e) ? e.value = a : e = a)
28
+ }, null, 8, ["disabled", "modelValue"]);
29
+ };
30
+ }
31
+ });
32
+ export {
33
+ B as default
34
+ };
@@ -0,0 +1,168 @@
1
+ import { defineComponent as E, toRefs as H, ref as y, onMounted as I, onUnmounted as M, createElementBlock as F, openBlock as N, createVNode as O, createElementVNode as V, unref as d, nextTick as P } from "vue";
2
+ import * as T from "echarts";
3
+ import { S as W, a as m, k as j } from "./main-DDCxKbDF.js";
4
+ import "../vendor/underscore-CK1gjYcm.js";
5
+ import "../vendor/file-saver-ypit2jx5.js";
6
+ import "../vendor/clone-B9z63rns.js";
7
+ import "../vendor/underscore.string-BevGGlfe.js";
8
+ import "../vendor/moment-CwOqp704.js";
9
+ import { _ as q } from "./SearchForm.vue_vue_type_style_index_0_lang-Cj6tbcvd.js";
10
+ const re = /* @__PURE__ */ E({
11
+ __name: "Racebar",
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(D, { expose: z, emit: G }) {
26
+ let w = D, { route: J, module: K, schema: A, table: R, layout: e, set: f, searchData: L } = H(w), h = y(), x = y(), b = y();
27
+ y({ width: null, height: null });
28
+ let n = null, S = null, s = [], i = 0, a, $ = W.config.sys, B = () => {
29
+ }, k = () => {
30
+ let l = m.dom.getHeight(b.value), g = m.dom.getHeight(x.value?.$el), p = m.dom.getWidth(b.value);
31
+ p && (h.value.style.width = Math.floor(p) + "px");
32
+ let v = l - g - 1;
33
+ v && (h.value.style.height = v + "px");
34
+ }, U = (l) => {
35
+ j.module.invokeResize(x.value, l), P(() => {
36
+ k(), n?.resize();
37
+ });
38
+ }, C = () => {
39
+ let l = m.array.distinct(f.value[R.value.name], (t) => t[e.value.legend]);
40
+ s = m.array.distinct(f.value[e.value.table], (t) => t[e.value.date]);
41
+ function g() {
42
+ let t = s[i], o = [];
43
+ for (let r = 0; r < l.length; ++r) {
44
+ let _ = l[r], u = f.value[e.value.table].find((c) => c[e.value.legend] == _ && c[e.value.date] == t);
45
+ u ? o.push(u[e.value.value]) : o.push(0);
46
+ }
47
+ return o;
48
+ }
49
+ let p = g();
50
+ a = {
51
+ title: { textStyle: { color: "#777" } },
52
+ tooltip: { axisPointer: { type: "shadow" } },
53
+ //表示显示图例
54
+ legend: { right: "2%", top: 10, textStyle: { color: "#777" } },
55
+ grid: { top: 35, bottom: 30, left: 120, right: 60 },
56
+ xAxis: {
57
+ //表示x轴是显示值的,值从 图表坐标值 中来
58
+ type: "value",
59
+ max: "dataMax",
60
+ axisLabel: { color: "#777" },
61
+ splitLine: { lineStyle: { color: "#eee" } }
62
+ },
63
+ yAxis: {
64
+ type: "category",
65
+ data: l,
66
+ inverse: !0,
67
+ animationDuration: 300,
68
+ animationDurationUpdate: 300,
69
+ axisLabel: {
70
+ show: !0,
71
+ color: null,
72
+ fontSize: 14,
73
+ formatter(t) {
74
+ return `{flag|${t}}`;
75
+ },
76
+ rich: { flag: { fontSize: 16, fontFamily: "Consolas" }, icon: { color: "red" } },
77
+ textStyle: {
78
+ color(t) {
79
+ return e.value.legends && e.value.legends[t] ? e.value.legends[t].color : "red";
80
+ }
81
+ }
82
+ }
83
+ },
84
+ series: [{
85
+ realtimeSort: !0,
86
+ name: e.value.title,
87
+ type: "bar",
88
+ data: p,
89
+ label: {
90
+ show: !0,
91
+ precision: 0,
92
+ //值动画精度
93
+ valueAnimation: !0,
94
+ //值动画,启用后bar值的变动会有动画
95
+ position: "right",
96
+ color: "#777",
97
+ fontFamily: "Consolas",
98
+ fontSize: 15
99
+ },
100
+ itemStyle: {
101
+ //设置当前y轴值对应的柱状图颜色
102
+ color(t) {
103
+ return e.value.legends && e.value.legends[t.name] ? e.value.legends[t.name].color : "red";
104
+ }
105
+ }
106
+ }],
107
+ animationDuration: 3e3,
108
+ animationDurationUpdate: 3e3,
109
+ animationEasing: "linear",
110
+ animationEasingUpdate: "linear",
111
+ //全局图形配置
112
+ graphic: {
113
+ //元素配置
114
+ elements: [{
115
+ type: "text",
116
+ right: 100,
117
+ bottom: 70,
118
+ style: {
119
+ text: s[i],
120
+ //当前显示的数据所在时间,后面更新
121
+ font: "bolder 35px monospace",
122
+ fill: "rgba(100, 100, 100, 0.6)"
123
+ },
124
+ z: 100
125
+ }]
126
+ }
127
+ }, $.theme == "dark" && (a.title.textStyle.color = "rgba(255,255,255,0.8)", a.legend.textStyle.color = "rgba(255,255,255,.72)", a.xAxis.axisLabel.color = "rgba(255,255,255,.72)", a.xAxis.splitLine.lineStyle.color = "rgba(110,117,130,0.2)", a.yAxis.axisLabel.color = "rgba(255,255,255,.72)", a.series[0].label.color = "rgba(255,255,255,.72)"), n.setOption(a), i++;
128
+ function v() {
129
+ let t = s[i], o = a.series[0].data;
130
+ for (let r = 0; r < o.length; ++r) {
131
+ let _ = l[r], u = f.value[e.value.table].find((c) => c[e.value.legend] == _ && c[e.value.date] == t);
132
+ u ? o[r] = u[e.value.value] : o[r] = 0;
133
+ }
134
+ a.graphic.elements[0].style.text = t, n.setOption(a);
135
+ }
136
+ S = setInterval(function() {
137
+ v(), i++, i == s.length && clearInterval(S);
138
+ }, 3e3);
139
+ };
140
+ return I(() => {
141
+ k(), n = T.init(h.value), C();
142
+ }), M(() => {
143
+ clearInterval(S), n.dispose();
144
+ }), z({ resize: U }), (l, g) => (N(), F("div", {
145
+ ref_key: "raceBarRef",
146
+ ref: b,
147
+ class: "race-bar-layout"
148
+ }, [
149
+ O(q, {
150
+ ref_key: "searchRef",
151
+ ref: x,
152
+ schema: d(A),
153
+ table: d(R),
154
+ layout: d(e),
155
+ "search-data": d(L),
156
+ onSearch: d(B)
157
+ }, null, 8, ["schema", "table", "layout", "search-data", "onSearch"]),
158
+ V("div", {
159
+ ref_key: "chartRef",
160
+ ref: h,
161
+ class: "race-bar"
162
+ }, null, 512)
163
+ ], 512));
164
+ }
165
+ });
166
+ export {
167
+ re as default
168
+ };
@@ -0,0 +1,27 @@
1
+ import { defineComponent as p, defineAsyncComponent as u, toRefs as c, createBlock as V, openBlock as b, unref as e, isRef as w } from "vue";
2
+ const x = /* @__PURE__ */ p({
3
+ __name: "Radio",
4
+ props: {
5
+ schema: {},
6
+ table: {},
7
+ field: {},
8
+ set: {},
9
+ row: {},
10
+ modelValue: {}
11
+ },
12
+ setup(a) {
13
+ let r = u(() => import("./Dictionary-CvI_7FO8.js")), s = a, { schema: m, table: n, field: d, set: i, row: f, modelValue: l } = c(s);
14
+ return (_, o) => (b(), V(e(r), {
15
+ schema: e(m),
16
+ table: e(n),
17
+ field: e(d),
18
+ set: e(i),
19
+ row: e(f),
20
+ modelValue: e(l),
21
+ "onUpdate:modelValue": o[0] || (o[0] = (t) => w(l) ? l.value = t : l = t)
22
+ }, null, 8, ["schema", "table", "field", "set", "row", "modelValue"]));
23
+ }
24
+ });
25
+ export {
26
+ x as default
27
+ };
@@ -0,0 +1,47 @@
1
+ import { defineComponent as g, toRefs as b, computed as x, resolveComponent as u, createBlock as m, openBlock as o, unref as a, isRef as h, withCtx as i, createElementBlock as v, Fragment as y, renderList as B, createTextVNode as C, toDisplayString as R } from "vue";
2
+ const E = /* @__PURE__ */ g({
3
+ __name: "Radio",
4
+ props: {
5
+ schema: {},
6
+ table: {},
7
+ field: {},
8
+ set: {},
9
+ row: {},
10
+ modelValue: {}
11
+ },
12
+ emits: ["submit", "change", "update:modelValue"],
13
+ setup(s, { emit: p }) {
14
+ let r = p, c = s, { table: k, field: d, set: w, modelValue: _ } = b(c), t = x({
15
+ get() {
16
+ return _.value;
17
+ },
18
+ set(l) {
19
+ r("update:modelValue", l), r("change", l);
20
+ }
21
+ });
22
+ return (l, n) => {
23
+ const f = u("el-radio"), V = u("el-radio-group");
24
+ return o(), m(V, {
25
+ modelValue: a(t),
26
+ "onUpdate:modelValue": n[0] || (n[0] = (e) => h(t) ? t.value = e : t = e)
27
+ }, {
28
+ default: i(() => [
29
+ (o(!0), v(y, null, B(a(d).control.data.data, (e) => (o(), m(f, {
30
+ disabled: a(d).control.readonly,
31
+ value: e.value,
32
+ key: e.value
33
+ }, {
34
+ default: i(() => [
35
+ C(R(e.text), 1)
36
+ ]),
37
+ _: 2
38
+ }, 1032, ["disabled", "value"]))), 128))
39
+ ]),
40
+ _: 1
41
+ }, 8, ["modelValue"]);
42
+ };
43
+ }
44
+ });
45
+ export {
46
+ E as default
47
+ };
@@ -0,0 +1,34 @@
1
+ import { defineComponent as i, toRefs as c, computed as f, resolveComponent as V, createBlock as _, openBlock as b, unref as u, isRef as g } from "vue";
2
+ const v = /* @__PURE__ */ i({
3
+ __name: "Rate",
4
+ props: {
5
+ schema: {},
6
+ table: {},
7
+ field: {},
8
+ set: {},
9
+ row: {},
10
+ modelValue: {}
11
+ },
12
+ emits: ["submit", "change", "update:modelValue"],
13
+ setup(r, { emit: d }) {
14
+ let t = d, m = r, { table: R, field: s, set: h, modelValue: o } = c(m), e = f({
15
+ get() {
16
+ return o.value ? parseInt(o.value) : null;
17
+ },
18
+ set(l) {
19
+ t("update:modelValue", l), t("change", l);
20
+ }
21
+ });
22
+ return (l, a) => {
23
+ const p = V("el-rate");
24
+ return b(), _(p, {
25
+ disabled: u(s).control.readonly,
26
+ modelValue: u(e),
27
+ "onUpdate:modelValue": a[0] || (a[0] = (n) => g(e) ? e.value = n : e = n)
28
+ }, null, 8, ["disabled", "modelValue"]);
29
+ };
30
+ }
31
+ });
32
+ export {
33
+ v as default
34
+ };
@@ -0,0 +1,34 @@
1
+ import { defineComponent as u, toRefs as s, computed as m, resolveComponent as c, createBlock as p, openBlock as d, unref as i } from "vue";
2
+ const V = /* @__PURE__ */ u({
3
+ __name: "Rate",
4
+ props: {
5
+ schema: {},
6
+ table: {},
7
+ field: {},
8
+ set: {},
9
+ row: {},
10
+ modelValue: {}
11
+ },
12
+ emits: ["submit", "change", "update:modelValue"],
13
+ setup(a, { emit: o }) {
14
+ let l = o, n = a, { table: f, field: _, set: b, modelValue: e } = s(n);
15
+ return m({
16
+ get() {
17
+ return e.value ? parseInt(e.value) : e;
18
+ },
19
+ set(t) {
20
+ l("update:modelValue", t), l("change", t);
21
+ }
22
+ }), (t, h) => {
23
+ const r = c("el-rate");
24
+ return d(), p(r, {
25
+ class: "detail-rate",
26
+ value: i(e),
27
+ disabled: ""
28
+ }, null, 8, ["value"]);
29
+ };
30
+ }
31
+ });
32
+ export {
33
+ V as default
34
+ };