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,36 @@
1
+ import { defineComponent as v, toRefs as h, ref as i, openBlock as V, createBlock as y, unref as n, normalizeStyle as x, isRef as F } from "vue";
2
+ import { R } from "./main-QtNG6p7a.js";
3
+ const B = /* @__PURE__ */ v({
4
+ __name: "Code",
5
+ props: {
6
+ schema: {},
7
+ table: {},
8
+ field: {},
9
+ set: {},
10
+ row: {},
11
+ modelValue: {}
12
+ },
13
+ setup(s) {
14
+ let f = s, { table: g, field: t, set: _, row: d, modelValue: a } = h(f), o = i(), r = i({ language: null, readonly: !0, lineNumbers: "off" }), m = () => t.value.control.height ? `height: ${t.value.control.height}px` : "min-height: 200px;", c = (e) => e ? g.value.fields.find((u) => u.name == e) : null, p = (e) => {
15
+ let l = c(e);
16
+ return l ? d.value[l.name] : null;
17
+ };
18
+ return (() => {
19
+ if (o.value = m(), t.value.control.languageField == null)
20
+ r.value.language = t.value.control.language;
21
+ else {
22
+ let e = p(t.value.control.languageField);
23
+ e && (r.value.language = e);
24
+ }
25
+ })(), (e, l) => (V(), y(n(R), {
26
+ class: "text-code",
27
+ config: n(r),
28
+ style: x(n(o)),
29
+ modelValue: n(a),
30
+ "onUpdate:modelValue": l[0] || (l[0] = (u) => F(a) ? a.value = u : a = u)
31
+ }, null, 8, ["config", "style", "modelValue"]));
32
+ }
33
+ });
34
+ export {
35
+ B as default
36
+ };
@@ -0,0 +1,54 @@
1
+ import { defineComponent as b, toRefs as h, ref as F, computed as T, watch as R, openBlock as _, createBlock as w, unref as n, isRef as N } from "vue";
2
+ import { R as k } from "./main-QtNG6p7a.js";
3
+ const C = /* @__PURE__ */ b({
4
+ __name: "Code",
5
+ props: {
6
+ schema: {},
7
+ table: {},
8
+ field: {},
9
+ set: {},
10
+ row: {},
11
+ modelValue: {}
12
+ },
13
+ emits: ["submit", "change", "update:modelValue"],
14
+ setup(d, { emit: g }) {
15
+ let c = g, f = d, { table: s, field: a, set: x, row: i, modelValue: p } = h(f), o = F({ language: null, scrollTop: 0, lineNumbers: null, schema: null, category: null }), v = (e) => {
16
+ let l = m(a.value.control.scrollTop);
17
+ l && (i.value[l.name] = e);
18
+ }, V = () => {
19
+ let e = r(a.value.control.scrollTop);
20
+ if (e && (o.value.scrollTop = parseInt(e)), o.value.lineNumbers = a.value.control.lineNumbers, a.value.control.languageField == null)
21
+ o.value.language = a.value.control.language;
22
+ else {
23
+ let l = r(a.value.control.languageField);
24
+ l && (o.value.language = l);
25
+ }
26
+ a.value.control.schema && (o.value.schema = a.value.control.schema, o.value.category = `${s.value.name}.${a.value.name}`);
27
+ }, r = (e) => {
28
+ let l = m(e);
29
+ return l ? i.value[l.name] : null;
30
+ }, m = (e) => e ? s.value.fields.find((u) => u.name == e) : null;
31
+ V();
32
+ let t = T({
33
+ get() {
34
+ return p.value ?? "";
35
+ },
36
+ set(e) {
37
+ c("update:modelValue", e), c("change", e);
38
+ }
39
+ });
40
+ return R(() => r(a.value.control.languageField), (e, l) => {
41
+ o.value.language = e;
42
+ }), (e, l) => (_(), w(n(k), {
43
+ class: "control-code",
44
+ border: "",
45
+ config: n(o),
46
+ onScroll: n(v),
47
+ modelValue: n(t),
48
+ "onUpdate:modelValue": l[0] || (l[0] = (u) => N(t) ? t.value = u : t = u)
49
+ }, null, 8, ["config", "onScroll", "modelValue"]));
50
+ }
51
+ });
52
+ export {
53
+ C as default
54
+ };
@@ -0,0 +1,28 @@
1
+ import { defineComponent as r, toRefs as u, openBlock as p, createBlock as _, unref as e } from "vue";
2
+ import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-nX113anq.js";
3
+ const b = /* @__PURE__ */ r({
4
+ __name: "Code",
5
+ props: {
6
+ searchData: {},
7
+ module: {},
8
+ schema: {},
9
+ table: {},
10
+ layout: {},
11
+ next: {},
12
+ set: {}
13
+ },
14
+ setup(t) {
15
+ let a = t, { module: o, schema: l, table: s, layout: m, next: n, set: c } = u(a);
16
+ return (d, h) => (p(), _(f, {
17
+ module: e(o),
18
+ schema: e(l),
19
+ table: e(s),
20
+ layout: e(m),
21
+ next: e(n),
22
+ set: e(c)
23
+ }, null, 8, ["module", "schema", "table", "layout", "next", "set"]));
24
+ }
25
+ });
26
+ export {
27
+ b as default
28
+ };
@@ -0,0 +1,59 @@
1
+ import { defineComponent as C, toRefs as h, ref as d, onMounted as b, resolveComponent as m, openBlock as n, createElementBlock as u, createVNode as i, unref as e, isRef as k, withCtx as p, Fragment as c, renderList as R, createBlock as B, createTextVNode as f, toDisplayString as _, createCommentVNode as E } from "vue";
2
+ import { R as L } from "./main-QtNG6p7a.js";
3
+ import { Q as N } from "./QueryApi-CbP5cCyH.js";
4
+ const Q = { class: "ha-code-layout" }, q = /* @__PURE__ */ C({
5
+ __name: "Code",
6
+ props: {
7
+ route: {},
8
+ validateErrors: {},
9
+ module: {},
10
+ schema: {},
11
+ table: {},
12
+ layout: {},
13
+ next: {},
14
+ set: {}
15
+ },
16
+ emits: ["submit", "change"],
17
+ setup(g, { emit: U }) {
18
+ let V = g, { module: w, schema: A, table: D, layout: l, next: F, set: M } = h(V), r = d({}), t = d(), v = () => {
19
+ t.value = l.value.languages[0];
20
+ };
21
+ return b(() => {
22
+ v(), N.loadCodeLanguage().then((s) => {
23
+ s.forEach((a) => {
24
+ r.value[a.text] = a.suffix;
25
+ });
26
+ });
27
+ }), (s, a) => {
28
+ const x = m("el-radio"), y = m("el-radio-group");
29
+ return n(), u("div", Q, [
30
+ i(y, {
31
+ modelValue: e(t),
32
+ "onUpdate:modelValue": a[0] || (a[0] = (o) => k(t) ? t.value = o : t = o)
33
+ }, {
34
+ default: p(() => [
35
+ (n(!0), u(c, null, R(e(l).languages, (o) => (n(), B(x, { value: o }, {
36
+ default: p(() => [
37
+ f(_(o) + " ", 1),
38
+ e(r)[o] ? (n(), u(c, { key: 0 }, [
39
+ f("(" + _(e(r)[o]) + ")", 1)
40
+ ], 64)) : E("", !0)
41
+ ]),
42
+ _: 2
43
+ }, 1032, ["value"]))), 256))
44
+ ]),
45
+ _: 1
46
+ }, 8, ["modelValue"]),
47
+ i(e(L), {
48
+ border: "",
49
+ config: { language: e(r)[e(t)] },
50
+ modelValue: e(l).codes[e(t)],
51
+ "onUpdate:modelValue": a[1] || (a[1] = (o) => e(l).codes[e(t)] = o)
52
+ }, null, 8, ["config", "modelValue"])
53
+ ]);
54
+ };
55
+ }
56
+ });
57
+ export {
58
+ q as _
59
+ };
@@ -0,0 +1,22 @@
1
+ import { defineComponent as r, toRefs as a, openBlock as s, createElementBlock as n, normalizeStyle as c, unref as o, toDisplayString as m } from "vue";
2
+ const y = /* @__PURE__ */ r({
3
+ __name: "Color",
4
+ props: {
5
+ schema: {},
6
+ table: {},
7
+ field: {},
8
+ set: {},
9
+ row: {},
10
+ modelValue: {}
11
+ },
12
+ setup(t) {
13
+ let l = t, { table: p, field: i, set: f, row: d, modelValue: e } = a(l);
14
+ return (u, _) => (s(), n("div", {
15
+ class: "text-color",
16
+ style: c({ color: o(e) })
17
+ }, m(o(e)), 5));
18
+ }
19
+ });
20
+ export {
21
+ y as default
22
+ };
@@ -0,0 +1,34 @@
1
+ import { defineComponent as c, toRefs as i, computed as f, resolveComponent as _, openBlock as V, createBlock as b, unref as d, isRef as k } from "vue";
2
+ const x = /* @__PURE__ */ c({
3
+ __name: "Color",
4
+ props: {
5
+ schema: {},
6
+ table: {},
7
+ field: {},
8
+ set: {},
9
+ row: {},
10
+ modelValue: {}
11
+ },
12
+ emits: ["submit", "change", "update:modelValue"],
13
+ setup(m, { emit: r }) {
14
+ let o = r, n = m, { table: g, field: u, set: C, modelValue: s } = i(n), e = f({
15
+ get() {
16
+ return s.value;
17
+ },
18
+ set(l) {
19
+ o("update:modelValue", l), o("change", l);
20
+ }
21
+ });
22
+ return (l, t) => {
23
+ const p = _("el-color-picker");
24
+ return V(), b(p, {
25
+ disabled: d(u).readonly,
26
+ modelValue: d(e),
27
+ "onUpdate:modelValue": t[0] || (t[0] = (a) => k(e) ? e.value = a : e = a)
28
+ }, null, 8, ["disabled", "modelValue"]);
29
+ };
30
+ }
31
+ });
32
+ export {
33
+ x as default
34
+ };
@@ -0,0 +1,67 @@
1
+ import { defineComponent as M, toRefs as S, onMounted as b, computed as h, openBlock as l, createBlock as f, unref as e, withCtx as k, createElementBlock as o, Fragment as D, renderList as E, normalizeClass as L, createCommentVNode as u, createElementVNode as a, toDisplayString as i, resolveDynamicComponent as F, createVNode as H, createTextVNode as s } from "vue";
2
+ import { c as I, I as C, z as P, x as R } from "./main-QtNG6p7a.js";
3
+ import "vue-router";
4
+ import "./vendor-intro.js-DwWqhM1v.js";
5
+ const T = {
6
+ key: 0,
7
+ class: "menus"
8
+ }, $ = ["onClick"], j = { class: "title" }, q = {
9
+ key: 1,
10
+ class: "column-empty"
11
+ }, A = /* @__PURE__ */ a("br", null, null, -1), G = /* @__PURE__ */ a("br", null, null, -1), X = /* @__PURE__ */ M({
12
+ __name: "Column",
13
+ props: {
14
+ url: {},
15
+ view: {}
16
+ },
17
+ emits: ["loaded", "navigate"],
18
+ setup(x, { expose: y, emit: g }) {
19
+ let c = g, w = x, { url: m, view: d } = S(w), B = I(), N = (t) => !0, U = (t) => !0, V = () => {
20
+ p();
21
+ }, p = () => {
22
+ c("loaded", r.value.title);
23
+ }, z = (t) => {
24
+ let v = C.getUrl(t.url, { m: t.id });
25
+ c("navigate", v);
26
+ };
27
+ b(() => {
28
+ p();
29
+ });
30
+ let r = h(() => B.getMenuByUrl(m.value)), _ = h(() => C.getPath(m.value));
31
+ return y({ shouldLoad: N, shouldSpin: U, refresh: V }), (t, v) => (l(), f(e(P), null, {
32
+ default: k(() => [
33
+ e(r) ? (l(), o("div", T, [
34
+ (l(!0), o(D, null, E(e(r).children, (n) => (l(), o("div", {
35
+ class: "menu",
36
+ key: n.id,
37
+ onClick: (J) => e(z)(n)
38
+ }, [
39
+ n.icon ? (l(), o("i", {
40
+ key: 0,
41
+ class: L(n.icon)
42
+ }, null, 2)) : u("", !0),
43
+ a("div", j, i(n.title), 1)
44
+ ], 8, $))), 128))
45
+ ])) : u("", !0),
46
+ (l(), f(F(e(d)))),
47
+ (!e(r) || e(r).children == 0) && !e(d) ? (l(), o("div", q, [
48
+ H(e(R), null, {
49
+ default: k(() => [
50
+ s(" 此栏目页不存在子菜单或自定义部分视图,无内容可展示 ")
51
+ ]),
52
+ _: 1
53
+ }),
54
+ s(" 可考虑以下任一选项:"),
55
+ A,
56
+ s(" 1. 在 src/views 中实现自定义页面:" + i(e(_)), 1),
57
+ G,
58
+ s(" 2. 在 src/components/partials 中实现自定义首页部分视图:" + i(e(_)), 1)
59
+ ])) : u("", !0)
60
+ ]),
61
+ _: 1
62
+ }));
63
+ }
64
+ });
65
+ export {
66
+ X as default
67
+ };
@@ -0,0 +1,98 @@
1
+ import { defineComponent as E, toRefs as N, ref as S, computed as y, resolveComponent as u, openBlock as m, createElementBlock as p, createElementVNode as t, createVNode as v, createTextVNode as a, toDisplayString as l, unref as e, withCtx as b, Fragment as j, renderList as B, createBlock as T, createCommentVNode as q } from "vue";
2
+ import { I as D } from "./main-QtNG6p7a.js";
3
+ const F = { class: "ha-comment-layout" }, L = { class: "comment-add" }, M = { class: "add-footer" }, R = { class: "footer-title" }, U = /* @__PURE__ */ t("i", { class: "el-icon-s-comment" }, null, -1), $ = { class: "comment-user" }, A = { class: "avatar" }, G = /* @__PURE__ */ t("img", {
4
+ src: "https://upload.jianshu.io/users/upload_avatars/2859365/cce8943353eb.jpeg?imageMogr2/auto-orient/strip|imageView2/1/w/80/h/80/format/webp",
5
+ alt: ""
6
+ }, null, -1), H = { class: "comment-body" }, J = { class: "comment-time" }, K = { class: "comment-content" }, O = /* @__PURE__ */ t("div", { class: "content-footer" }, [
7
+ /* @__PURE__ */ t("span", null, [
8
+ /* @__PURE__ */ t("i", { class: "fa fa-thumbs-up" }),
9
+ /* @__PURE__ */ a("20")
10
+ ]),
11
+ /* @__PURE__ */ t("span", null, [
12
+ /* @__PURE__ */ t("i", { class: "el-icon-s-comment" }),
13
+ /* @__PURE__ */ a("回复")
14
+ ])
15
+ ], -1), P = { class: "comment-footer" }, Z = /* @__PURE__ */ E({
16
+ __name: "Comment",
17
+ props: {
18
+ route: {},
19
+ validateErrors: {},
20
+ module: {},
21
+ schema: {},
22
+ table: {},
23
+ layout: {},
24
+ next: {},
25
+ set: {}
26
+ },
27
+ setup(C) {
28
+ let x = C, { schema: Q, table: r, layout: o, set: _, validateErrors: W } = N(x), c = S(1), k = (n) => {
29
+ c.value = n;
30
+ }, w = y(() => {
31
+ let n = (c.value - 1) * o.value.pageSize, i = c.value * o.value.pageSize - 1;
32
+ return _.value[r.value.name].filter((f, d) => d >= n && d <= i);
33
+ }), h = y(() => r.value.fields.find((i) => i.name == o.value.userId));
34
+ return (n, i) => {
35
+ const g = u("el-input"), f = u("el-button"), d = u("router-link"), I = u("el-pagination");
36
+ return m(), p("div", F, [
37
+ t("div", L, [
38
+ v(g, { type: "textarea" }),
39
+ t("div", M, [
40
+ t("div", R, [
41
+ U,
42
+ a("全部评论 (" + l(e(_)[e(r).name].length) + ")", 1)
43
+ ]),
44
+ v(f, {
45
+ type: "primary",
46
+ class: "btn-comment",
47
+ icon: "el-icon-s-promotion"
48
+ }, {
49
+ default: b(() => [
50
+ a("评论")
51
+ ]),
52
+ _: 1
53
+ })
54
+ ])
55
+ ]),
56
+ (m(!0), p(j, null, B(e(w), (s, z) => (m(), p("div", {
57
+ class: "comment",
58
+ key: z
59
+ }, [
60
+ t("div", $, [
61
+ t("div", A, [
62
+ G,
63
+ a(" " + l(s[e(o).avatar]), 1)
64
+ ])
65
+ ]),
66
+ t("div", H, [
67
+ e(h) ? (m(), T(d, {
68
+ key: 0,
69
+ class: "comment-name",
70
+ to: e(D).getUrl("/sys_user/detail", { id: s[e(o).userId], m: n.$route.query.m })
71
+ }, {
72
+ default: b(() => [
73
+ a(l(e(h).control.data.data.find((V) => V.value == s[e(o).userId]).text), 1)
74
+ ]),
75
+ _: 2
76
+ }, 1032, ["to"])) : q("", !0),
77
+ t("div", J, l(s[e(o).commentTime]), 1),
78
+ t("div", K, l(s[e(o).content]), 1),
79
+ O
80
+ ])
81
+ ]))), 128)),
82
+ t("div", P, [
83
+ v(I, {
84
+ background: "",
85
+ layout: "total, prev, pager, next, jumper",
86
+ "current-page": e(c),
87
+ "page-size": e(o).pageSize,
88
+ total: e(_)[e(r).name].length,
89
+ onCurrentChange: e(k)
90
+ }, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
91
+ ])
92
+ ]);
93
+ };
94
+ }
95
+ });
96
+ export {
97
+ Z as default
98
+ };
@@ -0,0 +1,56 @@
1
+ import { defineComponent as b, toRefs as k, ref as h, computed as S, watch as v, openBlock as w, createElementBlock as B, normalizeStyle as D, unref as R, nextTick as W } from "vue";
2
+ import { J as z } from "./main-QtNG6p7a.js";
3
+ const T = /* @__PURE__ */ b({
4
+ __name: "Compare",
5
+ props: {
6
+ schema: {},
7
+ table: {},
8
+ field: {},
9
+ set: {},
10
+ row: {},
11
+ modelValue: {}
12
+ },
13
+ emits: ["submit", "change", "update:modelValue"],
14
+ setup(V, { emit: E }) {
15
+ let m = E, M = V, { table: y, field: o, set: J, row: n, modelValue: c } = k(M), r = null, f = null, g = null, l = null, t = null, p = h(), s = h(), _ = (e) => {
16
+ s.value = C(), W(() => {
17
+ let a = n.value[d.value.name], i = o.value.control.language;
18
+ f = e.editor.createModel(c.value, i), g = e.editor.createModel(a, i), r = e.editor.createDiffEditor(p.value, {
19
+ originalEditable: !0,
20
+ automaticLayout: !0,
21
+ renderSideBySide: !o.value.control.inline
22
+ //是否启用行内模式
23
+ }), r.setModel({ original: f, modified: g }), l = r.getOriginalEditor(), l.onDidChangeModelContent((x) => {
24
+ let u = l.getValue();
25
+ m("update:modelValue", u), m("change", u);
26
+ }), t = r.getModifiedEditor(), t.onDidChangeModelContent((x) => {
27
+ let u = t.getValue();
28
+ n.value[d.value.name] = u;
29
+ });
30
+ });
31
+ }, C = () => o.value.control.height ? `height: ${o.value.control.height}px` : "min-height: 200px;";
32
+ z.init().then((e) => {
33
+ _(e);
34
+ });
35
+ let d = S(() => y.value.fields.find((a) => a.name == o.value.control.compareWith));
36
+ return v(() => c.value, (e, a) => {
37
+ if (!l)
38
+ return;
39
+ let i = l.getValue();
40
+ e != i && l.setValue(e ?? "");
41
+ }), v(() => n.value[d.value.name], (e, a) => {
42
+ if (!t)
43
+ return;
44
+ let i = t.getValue();
45
+ e != i && t.setValue(e ?? "");
46
+ }), (e, a) => (w(), B("div", {
47
+ ref_key: "compareRef",
48
+ ref: p,
49
+ class: "control-compare",
50
+ style: D(R(s))
51
+ }, null, 4));
52
+ }
53
+ });
54
+ export {
55
+ T as default
56
+ };
@@ -0,0 +1,26 @@
1
+ import { defineComponent as d, toRefs as i, computed as l, unref as a, openBlock as f, createElementBlock as v, normalizeClass as _, createCommentVNode as C } from "vue";
2
+ import { J as x } from "./main-QtNG6p7a.js";
3
+ const V = /* @__PURE__ */ d({
4
+ __name: "Compare",
5
+ props: {
6
+ schema: {},
7
+ table: {},
8
+ field: {},
9
+ set: {},
10
+ row: {},
11
+ modelValue: {}
12
+ },
13
+ setup(o) {
14
+ let r = o, { table: e, field: t, set: m, row: n, modelValue: u } = i(r), s = e.value.name + "-" + t.value.name + "-" + m.value[e.value.name].indexOf(n.value);
15
+ x.init().then((p) => {
16
+ });
17
+ let c = l(() => u || "");
18
+ return l(() => t.value.control.type.toLowerCase()), (p, h) => a(c) ? (f(), v("div", {
19
+ key: 0,
20
+ class: _(`text-compare ${a(s)}`)
21
+ }, null, 2)) : C("", !0);
22
+ }
23
+ });
24
+ export {
25
+ V as default
26
+ };
@@ -0,0 +1,43 @@
1
+ import { defineComponent as y, toRefs as _, computed as g, unref as l, renderSlot as n, openBlock as v, createElementBlock as b, createElementVNode as c } from "vue";
2
+ import { m as a } from "./main-QtNG6p7a.js";
3
+ import { C } from "./vendor-clipboard-DjQPoCBJ.js";
4
+ const k = {
5
+ key: 1,
6
+ class: "copy-container"
7
+ }, J = /* @__PURE__ */ c("img", {
8
+ src: "/default/images/clippy.svg",
9
+ alt: "复制文本"
10
+ }, null, -1), h = [
11
+ J
12
+ ], E = /* @__PURE__ */ y({
13
+ __name: "Copy",
14
+ props: {
15
+ schema: {},
16
+ table: {},
17
+ field: {},
18
+ set: {},
19
+ row: {},
20
+ modelValue: {}
21
+ },
22
+ setup(p) {
23
+ let u = p, { table: w, field: r, set: N, row: S, modelValue: i } = _(u), d = (e) => JSON.stringify(JSON.parse(e), null, 2), m = () => o.value && r.value.control.type == "Json" ? d(o.value).replace(/"/g, "'") : o.value, s = () => {
24
+ let e = new C(".btn-copy", { text: () => m() });
25
+ e.on("success", function(t) {
26
+ a.success("复制成功"), e.destroy();
27
+ }), e.on("error", function(t) {
28
+ a.error("复制失败"), e.destroy();
29
+ });
30
+ }, o = g(() => i.value);
31
+ return (e, t) => l(r).control.copy ? (v(), b("div", k, [
32
+ c("i", {
33
+ class: "btn-copy",
34
+ onClick: t[0] || (t[0] = //@ts-ignore
35
+ (...f) => l(s) && l(s)(...f))
36
+ }, h),
37
+ n(e.$slots, "default")
38
+ ])) : n(e.$slots, "default", { key: 0 });
39
+ }
40
+ });
41
+ export {
42
+ E as default
43
+ };
@@ -0,0 +1,49 @@
1
+ import { defineComponent as x, toRefs as w, ref as z, openBlock as n, createBlock as s, KeepAlive as L, resolveDynamicComponent as R, unref as o } from "vue";
2
+ import { c as B, u as I, I as N, m as S } from "./main-QtNG6p7a.js";
3
+ const D = /* @__PURE__ */ x({
4
+ __name: "Custom",
5
+ props: {
6
+ url: {},
7
+ view: {}
8
+ },
9
+ emits: ["loaded", "navigate"],
10
+ setup(u, { expose: i, emit: f }) {
11
+ let a = f, m = u, { url: d, view: v } = w(m), t = z();
12
+ B();
13
+ let { t: p } = I(), c = (e, r) => {
14
+ if (!t.value || !t.value.keyboard)
15
+ return !1;
16
+ t.value.keyboard(e, r);
17
+ }, h = (e) => !0, g = (e) => !0, _ = () => {
18
+ var r;
19
+ let e = (r = t.value) == null ? void 0 : r.refresh;
20
+ if (!e) {
21
+ let l = N.getPath(d.value);
22
+ S.notify(p("common.tips"), `要实现自定义刷新功能,请在组件 ${l} 内部定义并暴露refresh方法即可`, "warning");
23
+ return;
24
+ }
25
+ e();
26
+ }, b = (e) => {
27
+ var l;
28
+ let r = (l = t.value) == null ? void 0 : l.beforeClose;
29
+ r && r(e);
30
+ }, k = (e) => {
31
+ t.value && t.value.resize && t.value.resize(e);
32
+ }, y = (e) => {
33
+ a("loaded", e);
34
+ }, C = (e) => {
35
+ a("navigate", e);
36
+ };
37
+ return i({ shouldLoad: h, shouldSpin: g, refresh: _, beforeClose: b, keyboard: c, resize: k }), (e, r) => (n(), s(L, null, [
38
+ (n(), s(R(o(v)), {
39
+ ref_key: "customRef",
40
+ ref: t,
41
+ onLoaded: o(y),
42
+ onNavigate: o(C)
43
+ }, null, 40, ["onLoaded", "onNavigate"]))
44
+ ], 1024));
45
+ }
46
+ });
47
+ export {
48
+ D as default
49
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./DataExport.vue_vue_type_script_setup_true_lang-BgKetUGv.js";
2
+ export {
3
+ f as default
4
+ };