halo-pc 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (404) hide show
  1. package/dist/Article-Cr0paCOd.js +192 -0
  2. package/dist/Autocomplete-BissS2A3.js +48 -0
  3. package/dist/{Autocomplete-A0m1RW7z.js → Autocomplete-BomWDDWr.js} +1 -1
  4. package/dist/Autocomplete-_O3g7SYt.js +49 -0
  5. package/dist/{CSharp-Bwl97exE.js → CSharp-Chv8lll5.js} +1 -1
  6. package/dist/{Calender-C3vbVYIN.js → Calender-CcXM5xUM.js} +1 -1
  7. package/dist/Callback-D-HauKTc.js +20 -0
  8. package/dist/Cascader-C_YYvlMe.js +80 -0
  9. package/dist/Cascader-Cjin8BPz.js +41 -0
  10. package/dist/{Checkbox-BJS0a1NT.js → Checkbox-DGJtHqmU.js} +1 -1
  11. package/dist/Code-B-kH_AEs.js +4 -0
  12. package/dist/Code-CXhbCjHw.js +54 -0
  13. package/dist/Code-DD8gAydz.js +36 -0
  14. package/dist/{Code-9I77CMRV.js → Code-UnNJwSVi.js} +1 -1
  15. package/dist/Code.vue_vue_type_style_index_0_lang-C1J-SoAM.js +59 -0
  16. package/dist/Column-Ba3n9lah.js +67 -0
  17. package/dist/Comment-DulAeabk.js +98 -0
  18. package/dist/Compare-CmlD1ECo.js +56 -0
  19. package/dist/Compare-PyNusYx3.js +26 -0
  20. package/dist/Copy-DtwoucC7.js +43 -0
  21. package/dist/Custom-BV_EaF7f.js +47 -0
  22. package/dist/{DataExport-BHh7NvbT.js → DataExport-p-XTQ4Bo.js} +1 -1
  23. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-C9t5j7Gi.js → DataExport.vue_vue_type_script_setup_true_lang-DYlu1ZpK.js} +35 -39
  24. package/dist/{DataImport-CtBsCyNb.js → DataImport-CiRRckYq.js} +1 -1
  25. package/dist/DataImport.vue_vue_type_script_setup_true_lang-CVb_SvzU.js +172 -0
  26. package/dist/{Date-IV1FwqTW.js → Date-DhXOp3UZ.js} +1 -1
  27. package/dist/{DateRange-IWmDLSuy.js → DateRange-Dk12_9EG.js} +10 -14
  28. package/dist/{DateTime-Di6sr-tq.js → DateTime-Cfp17-qg.js} +1 -1
  29. package/dist/{DateTimeRange-BNUGYgWf.js → DateTimeRange-DyL2IsZP.js} +10 -14
  30. package/dist/{Daterange-rrlMT4tD.js → Daterange-BDtHZQMV.js} +14 -18
  31. package/dist/{Decimal-D9TVQqyS.js → Decimal-BaFrJUjb.js} +1 -1
  32. package/dist/Delete-thdB3rVm.js +55 -0
  33. package/dist/{Detail-HAblGKTY.js → Detail-rwzyud9y.js} +18 -22
  34. package/dist/Dictionary-BgfQMBi8.js +55 -0
  35. package/dist/{File-MF1QgEQX.js → File-Dv9NexiC.js} +51 -55
  36. package/dist/{Image-Dps_vfcZ.js → Image-fiCxDDah.js} +1 -1
  37. package/dist/{Index-C_mfWEwr.js → Index-BVv4l4ck.js} +1 -1
  38. package/dist/{Index-DupYRMRj.js → Index-BgoXQ1Wl.js} +52 -56
  39. package/dist/{Index-7cTFT9Xb.js → Index-C6T9VjbG.js} +15 -19
  40. package/dist/Index-Ch9KV-2J.js +4 -0
  41. package/dist/{Index-XBFHPLbK.js → Index-DCPI1-65.js} +1 -1
  42. package/dist/Index-auePVeWT.js +4 -0
  43. package/dist/{Index-hgpg_5ma.js → Index-iBPC-KXy.js} +1 -1
  44. package/dist/{Index.vue_vue_type_script_setup_true_lang-yOf2ubuo.js → Index.vue_vue_type_script_setup_true_lang-D0QapFN1.js} +11 -15
  45. package/dist/{Index.vue_vue_type_script_setup_true_lang-C1Bw7evJ.js → Index.vue_vue_type_script_setup_true_lang-DMLN7fuC.js} +10 -14
  46. package/dist/{Index.vue_vue_type_style_index_0_lang-DBERwM_v.js → Index.vue_vue_type_style_index_0_lang-QhW1-B80.js} +24 -28
  47. package/dist/{Install-A9qs4Vg-.js → Install-B7lphLHl.js} +14 -18
  48. package/dist/{Int-B3L54Gcc.js → Int-B_GYg_-a.js} +12 -16
  49. package/dist/List-BMEZrjDr.js +72 -0
  50. package/dist/Maintaince-aqCw0DHb.js +14 -0
  51. package/dist/{Markdown-wcGRlabe.js → Markdown-B9rSQoSk.js} +1 -1
  52. package/dist/{Month-C1tCQKvO.js → Month-QXiAbCWq.js} +1 -1
  53. package/dist/{Normal-HoU_elKy.js → Normal-BkJ7zUcf.js} +81 -85
  54. package/dist/Paging-C17Ky2Ym.js +93 -0
  55. package/dist/QueryApi-rH-MUOz4.js +13 -0
  56. package/dist/{Racebar-BXuP1N9F.js → Racebar-B64iqDpa.js} +40 -44
  57. package/dist/{Radio-D6W9guyM.js → Radio-DT6DYkMm.js} +1 -1
  58. package/dist/Register-Br4Ho5_h.js +196 -0
  59. package/dist/RichText-B7mZvV3h.js +41 -0
  60. package/dist/{SearchFooter-D3-9GTr1.js → SearchFooter-CJhcsVwS.js} +1 -1
  61. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-DP32ZjvQ.js → SearchFooter.vue_vue_type_style_index_0_lang-4pj5BIPU.js} +20 -20
  62. package/dist/{SearchForm-rWozLa4B.js → SearchForm-B0Mhg7mY.js} +1 -1
  63. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-F2we6KP-.js → SearchForm.vue_vue_type_style_index_0_lang-Cpk8lxSg.js} +33 -37
  64. package/dist/{Select-CAmBUDp3.js → Select-BqGycr7D.js} +33 -37
  65. package/dist/{Select-64nQiHNA.js → Select-C6waLN_p.js} +17 -21
  66. package/dist/{Select-qCdhL7vC.js → Select-DOv6YMyd.js} +1 -1
  67. package/dist/{Single-Bnrt5Hxb.js → Single-BsVcYImb.js} +112 -116
  68. package/dist/{Statistic-BTbwlH9l.js → Statistic-cTv7XwZm.js} +46 -50
  69. package/dist/{Stock-Br_02hsI.js → Stock-4ne0C_6C.js} +1 -1
  70. package/dist/{Stock-DbExd680.js → Stock-BmagKP2Z.js} +1 -1
  71. package/dist/{Stock.vue_vue_type_style_index_0_lang-MTvhmHlz.js → Stock.vue_vue_type_style_index_0_lang-7J7U50Do.js} +36 -40
  72. package/dist/{Switch-J2GIv4Wa.js → Switch-D2U2T-VY.js} +1 -1
  73. package/dist/{Table-DjBx2UGm.js → Table-ByVJNMIs.js} +106 -112
  74. package/dist/{Table-X4vTHlpm.js → Table-DpGjoJJ8.js} +92 -96
  75. package/dist/Text-D7hTUYqZ.js +4 -0
  76. package/dist/Text.vue_vue_type_style_index_0_lang-D3BX2I3_.js +52 -0
  77. package/dist/TextLink-BVdiz7C8.js +59 -0
  78. package/dist/{Textarea-Dw_qLc3Y.js → Textarea-DqfHJ-pT.js} +1 -1
  79. package/dist/{Timeline-DaaRGmGd.js → Timeline-BdFiDkbs.js} +13 -17
  80. package/dist/Tree-CqO-oS4J.js +117 -0
  81. package/dist/Tree-IdYR7KBj.js +293 -0
  82. package/dist/TreeNode-DtiaVE46.js +34 -0
  83. package/dist/{Update-PffbXMXH.js → Update-BLUslZO8.js} +12 -16
  84. package/dist/Upload-BLKrxNpk.js +2519 -0
  85. package/dist/Upload-Dy80NqjS.js +67 -0
  86. package/dist/{UploadApi-D2W_aGKA.js → UploadApi-Cjo168Xz.js} +3 -8
  87. package/dist/{Year-Dr5ST0Pk.js → Year-DxuRORBQ.js} +1 -1
  88. package/dist/main-CsvsIylY.js +28890 -0
  89. package/dist/main.js +117 -111
  90. package/dist/style.css +1 -1
  91. package/dist/vendor-@monaco-editor-B50UdwzE.js +92 -0
  92. package/dist/{vendor-crypto-js-ftX_aBC-.js → vendor-crypto-js-YOeWQTUw.js} +3 -1
  93. package/dist/{vendor-underscore-DVTek3G4.js → vendor-underscore-D6LmOFb9.js} +0 -3
  94. package/dist/vendor-xlsx-js-style-DIFxrP6P.js +11862 -0
  95. package/esm/components/business/HoCondition.vue.d.ts +18 -0
  96. package/esm/components/business/HoCrud.vue.d.ts +29 -0
  97. package/esm/components/business/HoDrawer.vue.d.ts +24 -0
  98. package/esm/components/business/HoDriver.vue.d.ts +52 -0
  99. package/esm/components/business/HoFeedback.vue.d.ts +8 -0
  100. package/esm/components/business/HoForm.vue.d.ts +23 -0
  101. package/esm/components/business/HoSwitch.vue.d.ts +24 -0
  102. package/esm/components/business/HoWelcome.vue.d.ts +8 -0
  103. package/esm/components/business/index.d.ts +8 -8
  104. package/esm/components/controls/Text.vue.d.ts +1 -1
  105. package/esm/components/index.d.ts +8 -8
  106. package/esm/components/lists/Tree.vue.d.ts +1 -1
  107. package/esm/components/lists/index.d.ts +1 -1
  108. package/esm/components/pages/Single.vue.d.ts +1 -1
  109. package/esm/components/pagings/Article.vue.d.ts +1 -1
  110. package/esm/components/pagings/DataExport.vue.d.ts +1 -1
  111. package/esm/components/pagings/DataImport.vue.d.ts +1 -1
  112. package/esm/components/pagings/Index.vue.d.ts +4 -4
  113. package/esm/components/pagings/SearchFooter.vue.d.ts +1 -1
  114. package/esm/components/pagings/Table.vue.d.ts +3 -3
  115. package/esm/components/pagings/index.d.ts +1 -1
  116. package/esm/components/partials/Detail.vue.d.ts +1 -1
  117. package/esm/components/partials/Update.vue.d.ts +1 -1
  118. package/esm/components/singles/index.d.ts +1 -1
  119. package/esm/components/texts/Autocomplete.vue.d.ts +1 -1
  120. package/esm/components/texts/CSharp.vue.d.ts +1 -1
  121. package/esm/components/texts/Cascader.vue.d.ts +1 -1
  122. package/esm/components/texts/Checkbox.vue.d.ts +1 -1
  123. package/esm/components/texts/Code.vue.d.ts +1 -1
  124. package/esm/components/texts/Color.vue.d.ts +1 -1
  125. package/esm/components/texts/Compare.vue.d.ts +1 -1
  126. package/esm/components/texts/Copy.vue.d.ts +1 -1
  127. package/esm/components/texts/Date.vue.d.ts +1 -1
  128. package/esm/components/texts/DateRange.vue.d.ts +1 -1
  129. package/esm/components/texts/DateTime.vue.d.ts +1 -1
  130. package/esm/components/texts/Decimal.vue.d.ts +1 -1
  131. package/esm/components/texts/Dictionary.vue.d.ts +1 -1
  132. package/esm/components/texts/Email.vue.d.ts +1 -1
  133. package/esm/components/texts/Index.vue.d.ts +1 -1
  134. package/esm/components/texts/Int.vue.d.ts +1 -1
  135. package/esm/components/texts/Markdown.vue.d.ts +1 -1
  136. package/esm/components/texts/Month.vue.d.ts +1 -1
  137. package/esm/components/texts/Password.vue.d.ts +1 -1
  138. package/esm/components/texts/Progress.vue.d.ts +1 -1
  139. package/esm/components/texts/Radio.vue.d.ts +1 -1
  140. package/esm/components/texts/Rate.vue.d.ts +1 -1
  141. package/esm/components/texts/RichText.vue.d.ts +1 -1
  142. package/esm/components/texts/Select.vue.d.ts +1 -1
  143. package/esm/components/texts/Switch.vue.d.ts +1 -1
  144. package/esm/components/texts/Text.vue.d.ts +1 -1
  145. package/esm/components/texts/TextLink.vue.d.ts +1 -1
  146. package/esm/components/texts/Textarea.vue.d.ts +1 -1
  147. package/esm/components/texts/Upload.vue.d.ts +1 -1
  148. package/esm/components/texts/Year.vue.d.ts +1 -1
  149. package/esm/coms/business/HaCrud.vue.d.ts +1 -1
  150. package/esm/coms/business/HaDrawer.vue.d.ts +1 -1
  151. package/esm/coms/business/HaDriver.vue.d.ts +1 -1
  152. package/esm/coms/business/HaForm.vue.d.ts +1 -1
  153. package/esm/coms/commons/HaTable.vue.d.ts +1 -1
  154. package/esm/coms/controls/Autocomplete.vue.d.ts +1 -1
  155. package/esm/coms/controls/Cascader.vue.d.ts +1 -1
  156. package/esm/coms/controls/Checkbox.vue.d.ts +1 -1
  157. package/esm/coms/controls/Code.vue.d.ts +1 -1
  158. package/esm/coms/controls/RichText.vue.d.ts +7 -9
  159. package/esm/coms/lists/Racebar.vue.d.ts +1 -1
  160. package/esm/coms/lists/Statistic.vue.d.ts +1 -1
  161. package/esm/coms/lists/Stock.vue.d.ts +1 -1
  162. package/esm/coms/lists/Timeline.vue.d.ts +1 -1
  163. package/esm/coms/lists/Tree.vue.d.ts +1 -1
  164. package/esm/coms/pages/Column.vue.d.ts +1 -1
  165. package/esm/coms/pages/Custom.vue.d.ts +1 -1
  166. package/esm/coms/pages/Delete.vue.d.ts +1 -1
  167. package/esm/coms/pages/List.vue.d.ts +1 -1
  168. package/esm/coms/pages/Paging.vue.d.ts +1 -1
  169. package/esm/coms/pages/Single.vue.d.ts +1 -1
  170. package/esm/coms/pagings/Article.vue.d.ts +1 -1
  171. package/esm/coms/pagings/Code.vue.d.ts +1 -1
  172. package/esm/coms/pagings/File.vue.d.ts +1 -1
  173. package/esm/coms/pagings/Index.vue.d.ts +1 -1
  174. package/esm/coms/pagings/Table.vue.d.ts +1 -1
  175. package/esm/coms/panels/HaOperation.vue.d.ts +1 -1
  176. package/esm/coms/singles/Code.vue.d.ts +1 -1
  177. package/esm/coms/singles/Comment.vue.d.ts +1 -1
  178. package/esm/coms/singles/Index.vue.d.ts +1 -1
  179. package/esm/coms/singles/Normal.vue.d.ts +1 -1
  180. package/esm/coms/singles/Statistic.vue.d.ts +1 -1
  181. package/esm/coms/singles/Stock.vue.d.ts +1 -1
  182. package/esm/coms/singles/Table.vue.d.ts +1 -1
  183. package/esm/coms/singles/Tree.vue.d.ts +1 -1
  184. package/esm/drivers/IDriver.d.ts +10 -0
  185. package/esm/drivers/cdns/Cdn.d.ts +14 -0
  186. package/esm/drivers/cdns/CdnFactory.d.ts +11 -0
  187. package/esm/drivers/cdns/ICdn.d.ts +34 -0
  188. package/esm/drivers/cdns/implements/BootCdn.d.ts +12 -0
  189. package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +13 -0
  190. package/esm/drivers/cdns/implements/LocalCdn.d.ts +12 -0
  191. package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +16 -0
  192. package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +10 -0
  193. package/esm/drivers/cdns/index.d.ts +0 -0
  194. package/esm/drivers/driver-helper.d.ts +46 -0
  195. package/esm/drivers/encoders/Encoder.d.ts +11 -0
  196. package/esm/drivers/encoders/EncoderFactory.d.ts +16 -0
  197. package/esm/drivers/encoders/IEncoder.d.ts +22 -0
  198. package/esm/drivers/encoders/implement/Base64Encoder.d.ts +11 -0
  199. package/esm/drivers/encoders/index.d.ts +0 -0
  200. package/esm/drivers/excels/ExcelFactory.d.ts +11 -0
  201. package/esm/drivers/excels/IExcel.d.ts +18 -0
  202. package/esm/drivers/excels/implements/XlsxExcel.d.ts +10 -0
  203. package/esm/drivers/excels/index.d.ts +2 -0
  204. package/esm/drivers/explainers/Explainer.d.ts +4 -0
  205. package/esm/drivers/explainers/ExplainerFactory.d.ts +1 -0
  206. package/esm/drivers/explainers/IExplainer.d.ts +3 -0
  207. package/esm/drivers/explainers/implement/JsonExplainer.d.ts +4 -0
  208. package/esm/drivers/explainers/index.d.ts +0 -0
  209. package/esm/drivers/features/FeatureFactory.d.ts +11 -0
  210. package/esm/drivers/features/IFeature.d.ts +23 -0
  211. package/esm/drivers/features/implements/ExpressionFeature.d.ts +12 -0
  212. package/esm/drivers/features/implements/I18NFeature.d.ts +12 -0
  213. package/esm/drivers/features/implements/SortFeature.d.ts +13 -0
  214. package/esm/drivers/features/index.d.ts +2 -0
  215. package/esm/drivers/hashers/Hasher.d.ts +10 -0
  216. package/esm/drivers/hashers/HasherFactory.d.ts +13 -0
  217. package/esm/drivers/hashers/IHasher.d.ts +19 -0
  218. package/esm/drivers/hashers/implement/Md5Hasher.d.ts +10 -0
  219. package/esm/drivers/hashers/implement/Sha256Hasher.d.ts +10 -0
  220. package/esm/drivers/hashers/index.d.ts +2 -0
  221. package/esm/drivers/index.d.ts +9 -0
  222. package/esm/drivers/providers/IProvider.d.ts +47 -0
  223. package/esm/drivers/providers/ProviderFactory.d.ts +11 -0
  224. package/esm/drivers/providers/implements/IndexedDbProvider.d.ts +55 -0
  225. package/esm/drivers/providers/index.d.ts +2 -0
  226. package/esm/drivers/requesters/IRequester.d.ts +20 -0
  227. package/esm/drivers/requesters/Requester.d.ts +12 -0
  228. package/esm/drivers/requesters/RequesterFactory.d.ts +18 -0
  229. package/esm/drivers/requesters/entities/HttpRequest.d.ts +34 -0
  230. package/esm/drivers/requesters/entities/HttpResponse.d.ts +19 -0
  231. package/esm/drivers/requesters/implements/DefaultRequester.d.ts +12 -0
  232. package/esm/drivers/requesters/implements/MkRequester.d.ts +40 -0
  233. package/esm/drivers/requesters/index.d.ts +5 -0
  234. package/esm/drivers/signers/ISigner.d.ts +33 -0
  235. package/esm/drivers/signers/SignerFactory.d.ts +11 -0
  236. package/esm/drivers/signers/implements/DefaultSigner.d.ts +18 -0
  237. package/esm/drivers/signers/index.d.ts +2 -0
  238. package/esm/drivers/ssos/ISso.d.ts +41 -0
  239. package/esm/drivers/ssos/SsoFactory.d.ts +11 -0
  240. package/esm/drivers/ssos/implements/AnonymousSso.d.ts +18 -0
  241. package/esm/drivers/ssos/implements/BearerSso.d.ts +22 -0
  242. package/esm/drivers/ssos/implements/NioSso.d.ts +23 -0
  243. package/esm/drivers/ssos/implements/SecretSso.d.ts +18 -0
  244. package/esm/drivers/ssos/implements/WeiXinSso.d.ts +20 -0
  245. package/esm/drivers/ssos/index.d.ts +2 -0
  246. package/esm/main.d.ts +5 -4
  247. package/esm/plugins/PcMessenger.d.ts +35 -0
  248. package/esm/plugins/index.d.ts +2 -2
  249. package/esm/repos/index.d.ts +1 -0
  250. package/esm/sdks/commons/HaCode.vue.d.ts +40 -0
  251. package/esm/sdks/commons/HaCol.vue.d.ts +9 -0
  252. package/esm/sdks/commons/HaCompare.vue.d.ts +40 -0
  253. package/esm/sdks/commons/HaContainer.vue.d.ts +21 -0
  254. package/esm/sdks/commons/HaEmpty.vue.d.ts +24 -0
  255. package/esm/sdks/commons/HaProgress.vue.d.ts +8 -0
  256. package/esm/sdks/commons/HaRow.vue.d.ts +19 -0
  257. package/esm/sdks/commons/HaTable.vue.d.ts +1 -1
  258. package/esm/sdks/commons/HoCaptcha.vue.d.ts +14 -0
  259. package/esm/sdks/commons/HoCode.vue.d.ts +39 -0
  260. package/esm/sdks/commons/HoCol.vue.d.ts +9 -0
  261. package/esm/sdks/commons/HoCompare.vue.d.ts +40 -0
  262. package/esm/sdks/commons/HoContainer.vue.d.ts +21 -0
  263. package/esm/sdks/commons/HoDebug.vue.d.ts +9 -0
  264. package/esm/sdks/commons/HoEditable.vue.d.ts +13 -0
  265. package/esm/sdks/commons/HoEmpty.vue.d.ts +24 -0
  266. package/esm/sdks/commons/HoLoading.vue.d.ts +33 -0
  267. package/esm/sdks/commons/HoMouseContext.vue.d.ts +2 -0
  268. package/esm/sdks/commons/HoParticles.vue.d.ts +2 -0
  269. package/esm/sdks/commons/HoProgress.vue.d.ts +8 -0
  270. package/esm/sdks/commons/HoResizer.vue.d.ts +26 -0
  271. package/esm/sdks/commons/HoRow.vue.d.ts +19 -0
  272. package/esm/sdks/commons/HoSpinner.vue.d.ts +20 -0
  273. package/esm/sdks/commons/HoTable.vue.d.ts +34 -0
  274. package/esm/sdks/commons/HoTableColumn.vue.d.ts +31 -0
  275. package/esm/sdks/commons/index.d.ts +59 -1
  276. package/esm/sdks/globals/HaWindow.vue.d.ts +4 -4
  277. package/esm/sdks/globals/HoHeaderTab.vue.d.ts +19 -0
  278. package/esm/sdks/globals/HoHeaderTabs.vue.d.ts +17 -0
  279. package/esm/sdks/globals/HoMenu.vue.d.ts +77 -0
  280. package/esm/sdks/globals/HoMenuItem.vue.d.ts +76 -0
  281. package/esm/sdks/globals/HoMissComponent.vue.d.ts +9 -0
  282. package/esm/sdks/globals/HoSideTab.vue.d.ts +21 -0
  283. package/esm/sdks/globals/HoSideTabs.vue.d.ts +17 -0
  284. package/esm/sdks/globals/HoWindow.vue.d.ts +66 -0
  285. package/esm/sdks/globals/index.d.ts +0 -4
  286. package/esm/sdks/helpers/array-helper.d.ts +97 -0
  287. package/esm/sdks/helpers/component-helper.d.ts +10 -0
  288. package/esm/sdks/helpers/cookie-helper.d.ts +6 -0
  289. package/esm/sdks/helpers/dictionary-helper.d.ts +18 -0
  290. package/esm/sdks/helpers/dom-helper.d.ts +74 -0
  291. package/esm/sdks/helpers/encrypt-helper.d.ts +18 -0
  292. package/esm/sdks/helpers/event-helper.d.ts +30 -0
  293. package/esm/sdks/helpers/file-helper.d.ts +22 -0
  294. package/esm/sdks/helpers/html-helper.d.ts +10 -0
  295. package/esm/sdks/helpers/i18n-helper.d.ts +14 -0
  296. package/esm/sdks/helpers/image-helper.d.ts +10 -0
  297. package/esm/sdks/helpers/index.d.ts +26 -0
  298. package/esm/sdks/helpers/json-helper.d.ts +31 -0
  299. package/esm/sdks/helpers/math-helper.d.ts +42 -0
  300. package/esm/sdks/helpers/micro-helper.d.ts +10 -0
  301. package/esm/sdks/helpers/mount-helper.d.ts +14 -0
  302. package/esm/sdks/helpers/object-helper.d.ts +34 -0
  303. package/esm/sdks/helpers/script-helper.d.ts +31 -0
  304. package/esm/sdks/helpers/scroll-helper.d.ts +14 -0
  305. package/esm/sdks/helpers/sign-helper.d.ts +14 -0
  306. package/esm/sdks/helpers/storage-helper.d.ts +34 -0
  307. package/esm/sdks/helpers/string-helper.d.ts +94 -0
  308. package/esm/sdks/helpers/task-helper.d.ts +26 -0
  309. package/esm/sdks/helpers/time-helper.d.ts +62 -0
  310. package/esm/sdks/helpers/tree-helper.d.ts +54 -0
  311. package/esm/sdks/helpers/type-helper.d.ts +26 -0
  312. package/esm/sdks/helpers/url-helper.d.ts +96 -0
  313. package/esm/sdks/index.d.ts +7 -4
  314. package/esm/sdks/panels/HoGroup.vue.d.ts +9 -0
  315. package/esm/sdks/panels/HoHeader.vue.d.ts +16 -0
  316. package/esm/sdks/panels/HoOperation.vue.d.ts +22 -0
  317. package/esm/sdks/panels/HoPanel.vue.d.ts +30 -0
  318. package/esm/sdks/panels/HoShrink.vue.d.ts +48 -0
  319. package/esm/sdks/stores/window.d.ts +25 -0
  320. package/esm/sdks/thirds/index.d.ts +8 -0
  321. package/esm/sdks/utilities/AffixUtility.d.ts +9 -0
  322. package/esm/sdks/utilities/EventUtility.d.ts +30 -0
  323. package/esm/sdks/utilities/KeyboardUtility.d.ts +73 -0
  324. package/esm/sdks/utilities/MouseUtility.d.ts +24 -0
  325. package/esm/sdks/utilities/index.d.ts +4 -0
  326. package/esm/services/HttpService.d.ts +22 -0
  327. package/esm/services/MessageService.d.ts +8 -9
  328. package/esm/services/SettingService.d.ts +5 -0
  329. package/esm/services/index.d.ts +4 -1
  330. package/esm/servs/AppServ.d.ts +36 -0
  331. package/esm/servs/ComponentServ.d.ts +35 -0
  332. package/esm/servs/ControlServ.d.ts +42 -0
  333. package/esm/servs/I18nServ.d.ts +79 -0
  334. package/esm/servs/LayoutServ.d.ts +18 -0
  335. package/esm/servs/PageServ.d.ts +38 -0
  336. package/esm/servs/RouterServ.d.ts +23 -0
  337. package/esm/servs/StandardServ.d.ts +34 -0
  338. package/esm/servs/UploadServ.d.ts +10 -0
  339. package/esm/servs/WindowServ.d.ts +27 -0
  340. package/esm/servs/index.d.ts +17 -0
  341. package/esm/stores/app.d.ts +44 -0
  342. package/esm/stores/component.d.ts +30 -0
  343. package/esm/stores/config.d.ts +55 -0
  344. package/esm/stores/driver.d.ts +37 -0
  345. package/esm/stores/i18n.d.ts +67 -0
  346. package/esm/stores/index.d.ts +7 -2
  347. package/esm/stores/layout.d.ts +13 -0
  348. package/esm/stores/log.d.ts +20 -0
  349. package/esm/stores/router.d.ts +20 -0
  350. package/esm/stores/setting.d.ts +43 -0
  351. package/esm/stores/socket.d.ts +27 -0
  352. package/esm/stores/user.d.ts +40 -0
  353. package/esm/svcs/AppSvc.d.ts +46 -0
  354. package/esm/svcs/ComponentSvc.d.ts +35 -0
  355. package/esm/svcs/ControlSvc.d.ts +42 -0
  356. package/esm/svcs/I18nSvc.d.ts +79 -0
  357. package/esm/svcs/LayoutSvc.d.ts +18 -0
  358. package/esm/svcs/PageSvc.d.ts +38 -0
  359. package/esm/svcs/RouterSvc.d.ts +23 -0
  360. package/esm/svcs/StandardSvc.d.ts +34 -0
  361. package/esm/svcs/UploadSvc.d.ts +10 -0
  362. package/esm/svcs/WindowSvc.d.ts +27 -0
  363. package/esm/svcs/index.d.ts +21 -0
  364. package/package.json +5 -7
  365. package/dist/Article-BbJTCOkX.js +0 -196
  366. package/dist/Autocomplete-C3d_yunJ.js +0 -52
  367. package/dist/Autocomplete-H0_xgWsN.js +0 -53
  368. package/dist/Callback-oU2ap8v9.js +0 -24
  369. package/dist/Cascader-ClSabtOx.js +0 -45
  370. package/dist/Cascader-DRErYyH6.js +0 -84
  371. package/dist/Code-B2DrYXDa.js +0 -58
  372. package/dist/Code-BgqGTky1.js +0 -40
  373. package/dist/Code-Cv1pm18C.js +0 -4
  374. package/dist/Code.vue_vue_type_style_index_0_lang-IHZepbsi.js +0 -63
  375. package/dist/Column-Dgs0SdWX.js +0 -71
  376. package/dist/Comment-Cy6lpmqk.js +0 -102
  377. package/dist/Compare-5cTiHEdo.js +0 -30
  378. package/dist/Compare-CWeuLw9n.js +0 -60
  379. package/dist/Copy-C6WEtRhC.js +0 -47
  380. package/dist/Custom-QDHQJoxC.js +0 -53
  381. package/dist/DataImport.vue_vue_type_script_setup_true_lang-bI0HP38b.js +0 -174
  382. package/dist/Delete-B-k4PTWk.js +0 -59
  383. package/dist/Dictionary-BUmany6B.js +0 -59
  384. package/dist/Index-Cgets8DK.js +0 -4
  385. package/dist/Index-DGnHsBz4.js +0 -4
  386. package/dist/List-Om6OdbbR.js +0 -76
  387. package/dist/Maintaince-CrfEX-5B.js +0 -19
  388. package/dist/Paging-C_StoYuZ.js +0 -94
  389. package/dist/QueryApi-BrYyIwqV.js +0 -18
  390. package/dist/Register-DGhIjRDD.js +0 -200
  391. package/dist/RichText-B3Br1uzj.js +0 -105
  392. package/dist/Text-BFZc81F2.js +0 -4
  393. package/dist/Text.vue_vue_type_style_index_0_lang-Cw7QQbFk.js +0 -56
  394. package/dist/TextLink-C_lFWaZv.js +0 -66
  395. package/dist/Tree-CDD2Nd6q.js +0 -121
  396. package/dist/Tree-Cmp10DWw.js +0 -297
  397. package/dist/TreeNode-BM8-GyIc.js +0 -38
  398. package/dist/Upload-F6HXe76H.js +0 -71
  399. package/dist/Upload-kwwpaDe6.js +0 -147
  400. package/dist/main-B8RC13GR.js +0 -6528
  401. package/dist/vendor-@monaco-editor-DKC4UNw_.js +0 -258
  402. package/esm/services/ServiceFactory.d.ts +0 -3
  403. package/esm/types/PcOptions.d.ts +0 -18
  404. package/esm/types/index.d.ts +0 -2
@@ -1,17 +1,13 @@
1
- import { defineComponent as k, ref as m, onMounted as C, resolveComponent as r, openBlock as p, createBlock as f, unref as l, withCtx as t, createTextVNode as c, createVNode as a, createElementBlock as v, Fragment as M, renderList as N, createElementVNode as h, toDisplayString as x, createCommentVNode as B } from "vue";
2
- import "./vendor-@monaco-editor-DKC4UNw_.js";
3
- import "./vendor-moment-h96o7c8I.js";
4
- import "xlsx-js-style";
5
- import { o as T, h as U } from "./main-B8RC13GR.js";
6
- import "./vendor-crypto-js-ftX_aBC-.js";
1
+ import { defineComponent as k, ref as m, onMounted as C, resolveComponent as r, openBlock as d, createBlock as f, unref as l, withCtx as t, createTextVNode as c, createVNode as a, createElementBlock as v, Fragment as M, renderList as N, createElementVNode as B, toDisplayString as x, createCommentVNode as T } from "vue";
2
+ import { o as U, N as w } from "./main-CsvsIylY.js";
7
3
  import "vue-router";
8
4
  import "./vendor-intro.js-CZkClzQO.js";
9
- const w = { class: "option-text" }, E = {
5
+ const E = { class: "option-text" }, O = {
10
6
  key: 0,
11
7
  class: "option-suffix"
12
- }, A = /* @__PURE__ */ k({
8
+ }, I = /* @__PURE__ */ k({
13
9
  __name: "Install",
14
- setup(O) {
10
+ setup(R) {
15
11
  let o = m({ name: null, type: "SqlServer", conn: null }), u = m(!1), i = m(), y = m([
16
12
  { value: "SqlServer", text: "SqlServer" },
17
13
  { value: "MySql", text: "MySql" },
@@ -23,7 +19,7 @@ const w = { class: "option-text" }, E = {
23
19
  u.value = !0, i.value.validate((_, n) => {
24
20
  if (!_)
25
21
  return u.value = !1, !1;
26
- U.post("/app/install", o.value).then(({ data: d }) => {
22
+ w.post("/app/install", o.value).then(({ data: p }) => {
27
23
  }).finally(() => {
28
24
  u.value = !1;
29
25
  });
@@ -31,8 +27,8 @@ const w = { class: "option-text" }, E = {
31
27
  };
32
28
  return C(() => {
33
29
  }), (_, n) => {
34
- const d = r("el-input"), s = r("el-form-item"), S = r("el-option"), g = r("el-select"), q = r("el-button"), b = r("el-form");
35
- return p(), f(l(T), {
30
+ const p = r("el-input"), s = r("el-form-item"), S = r("el-option"), g = r("el-select"), q = r("el-button"), b = r("el-form");
31
+ return d(), f(l(U), {
36
32
  class: "ha-install",
37
33
  title: "数据库信息"
38
34
  }, {
@@ -53,7 +49,7 @@ const w = { class: "option-text" }, E = {
53
49
  rules: [{ required: !0, message: "数据库名不能为空" }]
54
50
  }, {
55
51
  default: t(() => [
56
- a(d, {
52
+ a(p, {
57
53
  type: "text",
58
54
  modelValue: l(o).name,
59
55
  "onUpdate:modelValue": n[0] || (n[0] = (e) => l(o).name = e)
@@ -72,14 +68,14 @@ const w = { class: "option-text" }, E = {
72
68
  "onUpdate:modelValue": n[1] || (n[1] = (e) => l(o).type = e)
73
69
  }, {
74
70
  default: t(() => [
75
- (p(!0), v(M, null, N(l(y), (e) => (p(), f(S, {
71
+ (d(!0), v(M, null, N(l(y), (e) => (d(), f(S, {
76
72
  value: e.value,
77
73
  label: e.text + (e.value ? "(" + e.value + ")" : ""),
78
74
  key: `${e.value}`
79
75
  }, {
80
76
  default: t(() => [
81
- h("span", w, x(e.text), 1),
82
- e.value ? (p(), v("span", E, "(" + x(e.value) + ")", 1)) : B("", !0)
77
+ B("span", E, x(e.text), 1),
78
+ e.value ? (d(), v("span", O, "(" + x(e.value) + ")", 1)) : T("", !0)
83
79
  ]),
84
80
  _: 2
85
81
  }, 1032, ["value", "label"]))), 128))
@@ -95,7 +91,7 @@ const w = { class: "option-text" }, E = {
95
91
  rules: [{ required: !0, message: "数据库连接串不能为空" }]
96
92
  }, {
97
93
  default: t(() => [
98
- a(d, {
94
+ a(p, {
99
95
  type: "textarea",
100
96
  modelValue: l(o).conn,
101
97
  "onUpdate:modelValue": n[2] || (n[2] = (e) => l(o).conn = e)
@@ -128,5 +124,5 @@ const w = { class: "option-text" }, E = {
128
124
  }
129
125
  });
130
126
  export {
131
- A as default
127
+ I as default
132
128
  };
@@ -1,10 +1,6 @@
1
- import { defineComponent as c, toRefs as f, computed as _, resolveComponent as V, openBlock as g, createBlock as h, unref as e, withKeys as v, isRef as y } from "vue";
2
- import "./vendor-@monaco-editor-DKC4UNw_.js";
3
- import "./vendor-moment-h96o7c8I.js";
4
- import "xlsx-js-style";
5
- import { S as K } from "./main-B8RC13GR.js";
6
- import "./vendor-crypto-js-ftX_aBC-.js";
7
- const H = /* @__PURE__ */ c({
1
+ import { defineComponent as c, toRefs as f, computed as _, resolveComponent as V, openBlock as h, createBlock as g, unref as e, withKeys as v, isRef as y } from "vue";
2
+ import { M as K } from "./main-CsvsIylY.js";
3
+ const C = /* @__PURE__ */ c({
8
4
  __name: "Int",
9
5
  props: {
10
6
  schema: {},
@@ -15,31 +11,31 @@ const H = /* @__PURE__ */ c({
15
11
  modelValue: {}
16
12
  },
17
13
  emits: ["submit", "change", "update:modelValue"],
18
- setup(i, { emit: u }) {
19
- let o = u, p = i, { table: s, field: n, set: k, modelValue: r } = f(p), d = () => {
14
+ setup(r, { emit: i }) {
15
+ let o = i, d = r, { table: s, field: n, set: k, modelValue: a } = f(d), p = () => {
20
16
  o("submit");
21
17
  }, t = _({
22
18
  get() {
23
- if (K.isNumber(r.value))
24
- return r.value;
19
+ if (K.isNumber(a.value))
20
+ return a.value;
25
21
  },
26
22
  set(l) {
27
23
  o("update:modelValue", l), o("change", l);
28
24
  }
29
25
  });
30
- return (l, a) => {
26
+ return (l, u) => {
31
27
  const b = V("el-input-number");
32
- return g(), h(b, {
28
+ return h(), g(b, {
33
29
  "aria-label": l.t_field_placeholder(e(s).name, e(n).name),
34
30
  "controls-position": "right",
35
31
  disabled: e(n).control.readonly,
36
- onKeyup: v(e(d), ["enter", "native"]),
32
+ onKeyup: v(e(p), ["enter", "native"]),
37
33
  modelValue: e(t),
38
- "onUpdate:modelValue": a[0] || (a[0] = (m) => y(t) ? t.value = m : t = m)
34
+ "onUpdate:modelValue": u[0] || (u[0] = (m) => y(t) ? t.value = m : t = m)
39
35
  }, null, 8, ["aria-label", "disabled", "onKeyup", "modelValue"]);
40
36
  };
41
37
  }
42
38
  });
43
39
  export {
44
- H as default
40
+ C as default
45
41
  };
@@ -0,0 +1,72 @@
1
+ import { defineComponent as B, toRefs as $, ref as u, watch as E, openBlock as F, createBlock as T, resolveDynamicComponent as U, unref as t, withCtx as V, createElementVNode as j, toDisplayString as G } from "vue";
2
+ import { $ as s, p as H, s as d, A as I, i as J } from "./main-CsvsIylY.js";
3
+ const K = { class: "not-support" }, W = /* @__PURE__ */ B({
4
+ __name: "List",
5
+ props: {
6
+ base: {},
7
+ route: {},
8
+ url: {}
9
+ },
10
+ emits: ["load", "navigate"],
11
+ setup(_, { expose: b, emit: P }) {
12
+ let h = P, k = _, { url: m, base: p, route: r } = $(k), f = u(), i = u(), n = u(), y = u(), g = u(), o = u(), c = u(), { t_module: q } = J, C = (e) => {
13
+ let l = s.getPath(e), a = s.getPath(m.value);
14
+ return l != a;
15
+ }, R = (e) => {
16
+ let l = s.getPath(m.value), a = s.getPath(e);
17
+ return l != a;
18
+ }, x = (e) => {
19
+ var a;
20
+ let l = q(e.module.type, e.module.name);
21
+ H.setTitle(l, e.module.env), f.value = e.module, i.value = d.expandSchema(e.schema), n.value = (a = i.value) == null ? void 0 : a[0], y.value = e.next, g.value = d.expandSet(e.schema, e.set), c.value = d.getConditionForm(i.value, r.value.query.condition);
22
+ }, v = (e = null, l = null) => {
23
+ let a = e ?? r.value.query, A = s.getUrl(r.value.path, a);
24
+ h("load", A, !1, l);
25
+ }, D = (e) => {
26
+ v(null, e);
27
+ }, w = (e) => {
28
+ h("navigate", e);
29
+ }, z = async (e) => {
30
+ let l = r.value.query;
31
+ l.condition = I.encode(c.value), v(l, e);
32
+ }, S = () => {
33
+ v();
34
+ }, L = (e, l) => {
35
+ if (!o.value || !o.value.keyboard)
36
+ return !1;
37
+ o.value.keyboard(e, l);
38
+ }, N = (e) => {
39
+ if (!o.value || !o.value.resize)
40
+ return !1;
41
+ o.value.resize(e);
42
+ };
43
+ return (() => {
44
+ x(p.value.data);
45
+ })(), E(() => p.value, (e) => {
46
+ x(e.data);
47
+ }), b({ shouldLoad: C, shouldSpin: R, refresh: S, keyboard: L, resize: N }), (e, l) => (F(), T(U(`list-${t(n).layouts[0].type.toLowerCase()}`), {
48
+ ref_key: "listRef",
49
+ ref: o,
50
+ route: t(r),
51
+ module: t(f),
52
+ schema: t(i),
53
+ table: t(n),
54
+ layout: t(n).layouts[0],
55
+ next: t(y),
56
+ set: t(g),
57
+ "search-data": t(c),
58
+ onSucceed: t(D),
59
+ onSearch: t(z),
60
+ onNavigate: t(w),
61
+ onRefresh: t(S)
62
+ }, {
63
+ default: V(() => [
64
+ j("div", K, "未支持的列表布局方式:" + G(t(n).layouts[0].type), 1)
65
+ ]),
66
+ _: 1
67
+ }, 40, ["route", "module", "schema", "table", "layout", "next", "set", "search-data", "onSucceed", "onSearch", "onNavigate", "onRefresh"]));
68
+ }
69
+ });
70
+ export {
71
+ W as default
72
+ };
@@ -0,0 +1,14 @@
1
+ import { defineComponent as t, openBlock as n, createElementBlock as o, createElementVNode as e, toDisplayString as s, unref as c } from "vue";
2
+ import { j as i } from "./main-CsvsIylY.js";
3
+ const a = { class: "maintenance" }, r = /* @__PURE__ */ e("div", { class: "title" }, "系统维护中", -1), _ = { class: "description" }, u = /* @__PURE__ */ t({
4
+ __name: "Maintaince",
5
+ setup(d) {
6
+ return (l, m) => (n(), o("div", a, [
7
+ r,
8
+ e("div", _, s(c(i)), 1)
9
+ ]));
10
+ }
11
+ });
12
+ export {
13
+ u as default
14
+ };
@@ -10,7 +10,7 @@ const h = /* @__PURE__ */ u({
10
10
  modelValue: {}
11
11
  },
12
12
  setup(a) {
13
- let r = i(() => import("./Text-BFZc81F2.js")), s = a, { schema: m, table: n, field: d, set: f, row: p, modelValue: l } = c(s);
13
+ let r = i(() => import("./Text-D7hTUYqZ.js")), s = a, { schema: m, table: n, field: d, set: f, row: p, modelValue: l } = c(s);
14
14
  return (x, o) => (w(), V(e(r), {
15
15
  schema: e(m),
16
16
  table: e(n),
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ u({
10
10
  modelValue: {}
11
11
  },
12
12
  setup(a) {
13
- let s = i(() => import("./Text-BFZc81F2.js")), m = a, { schema: n, table: r, field: d, set: f, row: p, modelValue: l } = c(m);
13
+ let s = i(() => import("./Text-D7hTUYqZ.js")), m = a, { schema: n, table: r, field: d, set: f, row: p, modelValue: l } = c(m);
14
14
  return (w, t) => (V(), b(e(s), {
15
15
  schema: e(n),
16
16
  table: e(r),
@@ -1,23 +1,19 @@
1
- import { defineComponent as he, toRefs as fe, ref as w, onMounted as ge, computed as z, watch as F, resolveComponent as _, openBlock as n, createElementBlock as v, normalizeClass as J, unref as e, createBlock as g, withCtx as m, Fragment as x, renderList as R, createVNode as C, createCommentVNode as E, toDisplayString as M, createElementVNode as B, normalizeStyle as _e, createTextVNode as be, resolveDynamicComponent as ye } from "vue";
2
- import "./vendor-@monaco-editor-DKC4UNw_.js";
3
- import "./vendor-moment-h96o7c8I.js";
4
- import "xlsx-js-style";
5
- import { l as Ce, C as K, j as q, x as ke, w as Se, A as we } from "./main-B8RC13GR.js";
6
- import "./vendor-crypto-js-ftX_aBC-.js";
1
+ import { defineComponent as de, toRefs as he, ref as x, onMounted as fe, computed as z, watch as q, resolveComponent as _, openBlock as n, createElementBlock as v, normalizeClass as J, unref as e, createBlock as g, withCtx as m, Fragment as w, renderList as R, createVNode as C, createCommentVNode as E, toDisplayString as B, createElementVNode as L, normalizeStyle as ge, createTextVNode as _e, resolveDynamicComponent as be } from "vue";
2
+ import { f as K, s as I, c as ye, S as Ce, D as ke, x as Se } from "./main-CsvsIylY.js";
7
3
  import "vue-router";
8
4
  import "./vendor-intro.js-CZkClzQO.js";
9
- import { _ as P } from "./Index.vue_vue_type_style_index_0_lang-DBERwM_v.js";
5
+ import { _ as P } from "./Index.vue_vue_type_style_index_0_lang-QhW1-B80.js";
10
6
  const xe = {
11
7
  key: 1,
12
8
  class: "ha-empty"
13
- }, Re = {
9
+ }, we = {
14
10
  key: 2,
15
11
  ref: "normalRows",
16
12
  class: "normal-rows"
17
- }, $e = {
13
+ }, Re = {
18
14
  key: 0,
19
15
  class: "normal-selection"
20
- }, ze = { class: "normal-content" }, Ee = /* @__PURE__ */ B("i", { class: "fa fa-question-circle icon-question" }, null, -1), Le = /* @__PURE__ */ he({
16
+ }, $e = { class: "normal-content" }, ze = /* @__PURE__ */ L("i", { class: "fa fa-question-circle icon-question" }, null, -1), qe = /* @__PURE__ */ de({
21
17
  __name: "Normal",
22
18
  props: {
23
19
  route: {},
@@ -31,30 +27,30 @@ const xe = {
31
27
  },
32
28
  emits: ["change", "submit"],
33
29
  setup(Q, { expose: U, emit: X }) {
34
- let I = X, Y = Q, { module: L, set: i, schema: V, table: t, layout: c, validateErrors: O } = fe(Y), p = w({ page: 1, count: i.value[t.value.name].length }), k = w([]), b = w(), j = w([]), H = w(), Z = Ce(), ee = (l) => {
30
+ let M = X, Y = Q, { module: O, set: c, schema: V, table: t, layout: i, validateErrors: A } = he(Y), p = x({ page: 1, count: c.value[t.value.name].length }), k = x([]), b = x(), j = x([]), T = x(), Z = (l) => {
35
31
  j.value.push(l);
36
- }, le = () => {
32
+ }, ee = () => {
37
33
  p.value.page = 1;
34
+ }, le = () => {
35
+ b.value = W(t.value);
36
+ let l = I.getDefaultRow(t.value);
37
+ c.value[t.value.name].push(l);
38
38
  }, te = () => {
39
- b.value = T(t.value);
40
- let l = q.getDefaultRow(t.value);
41
- i.value[t.value.name].push(l);
42
- }, ae = () => {
43
- let l = i.value[t.value.name];
39
+ let l = c.value[t.value.name];
44
40
  k.value.forEach((a) => {
45
41
  l.splice(l.indexOf(a), 1);
46
42
  }), k.value = [], j.value.forEach((a) => {
47
43
  a.model && (a.model = !1);
48
44
  });
49
- }, N = (l) => i.value[t.value.name].indexOf(l), ne = (l, a, o, r, d) => {
50
- I("change", l, a, o, r, d);
51
- }, oe = (l, a) => {
52
- l ? k.value.push(a) : we.remove(k.value, a);
53
- }, re = (l) => {
54
- I("submit", l);
55
- }, ue = (l, a = null) => {
45
+ }, D = (l) => c.value[t.value.name].indexOf(l), ae = (l, a, o, r, d) => {
46
+ M("change", l, a, o, r, d);
47
+ }, ne = (l, a) => {
48
+ l ? k.value.push(a) : Se.remove(k.value, a);
49
+ }, oe = (l) => {
50
+ M("submit", l);
51
+ }, re = (l, a = null) => {
56
52
  p.value.page = l;
57
- }, T = (l) => {
53
+ }, W = (l) => {
58
54
  if (l.main || l.search.length == 0)
59
55
  return null;
60
56
  let a = {};
@@ -63,25 +59,25 @@ const xe = {
63
59
  });
64
60
  let o = {};
65
61
  return o[l.name] = a, o;
66
- }, W = (l) => {
67
- b.value = T(l);
68
- }, se = () => {
69
- A();
70
- }, me = (l) => {
71
- W(l.schema[0]);
72
- }, A = () => {
73
- let l = H.value.clientWidth;
74
- c.value.column = Math.ceil(l / 500);
75
- }, ie = () => {
76
- A(), W(t.value);
62
+ }, G = (l) => {
63
+ b.value = W(l);
64
+ }, ue = () => {
65
+ N();
66
+ }, se = (l) => {
67
+ G(l.schema[0]);
68
+ }, N = () => {
69
+ let l = T.value.clientWidth;
70
+ i.value.column = Math.ceil(l / 500);
71
+ }, me = () => {
72
+ N(), G(t.value);
77
73
  };
78
- ge(() => {
79
- ie();
74
+ fe(() => {
75
+ me();
80
76
  });
81
- let ce = z(() => K.splitRows(t.value.search, c.value.column)), G = z(() => {
77
+ let ce = z(() => K.splitRows(t.value.search, i.value.column)), H = z(() => {
82
78
  if (!b.value)
83
- return i.value[t.value.name];
84
- let l = b.value[t.value.name], a = (p.value.page - 1) * c.value.pageSize, o = p.value.page * c.value.pageSize - 1, r = i.value[t.value.name].filter(($) => {
79
+ return c.value[t.value.name];
80
+ let l = b.value[t.value.name], a = (p.value.page - 1) * i.value.pageSize, o = p.value.page * i.value.pageSize - 1, r = c.value[t.value.name].filter(($) => {
85
81
  let f = !0;
86
82
  for (let S = 0; S < t.value.search.length; S++) {
87
83
  let y = t.value.search[S], s = $[y.name], h = l[y.name];
@@ -100,38 +96,38 @@ const xe = {
100
96
  return f;
101
97
  });
102
98
  return p.value.count = r.length, r.filter(($, f) => f >= a && f <= o);
103
- }), pe = z(() => q.getLines(t.value.show, c.value.column, (a) => a, (a) => a.colspan)), ve = z(() => {
99
+ }), ie = z(() => I.getLines(t.value.show, i.value.column, (a) => a, (a) => a.colspan)), pe = z(() => {
104
100
  let l = t.value.main ? `/${t.value.name}` : `/${V.value[0].name}/${t.value.name}`;
105
- return Z.getComponent(`${l}/update-child`, "partial", "update-child");
101
+ return ye.getComponent(`${l}/update-child`, "partial", "update-child");
106
102
  });
107
- return F(() => i.value[t.value.name], (l, a) => {
108
- let o = l.length, r = a.length, d = ke.pageCount(i.value[t.value.name].length, c.value.pageSize);
103
+ return q(() => c.value[t.value.name], (l, a) => {
104
+ let o = l.length, r = a.length, d = Ce.pageCount(c.value[t.value.name].length, i.value.pageSize);
109
105
  (o > r || o < r && p.value.page > d) && (p.value.page = d);
110
- }, { deep: !0 }), F(O, (l, a) => {
106
+ }, { deep: !0 }), q(A, (l, a) => {
111
107
  let o = l.find((r) => r.table == t.value.name);
112
- o != null && (p.value.page = Math.ceil((o.index + 1) / c.value.pageSize));
113
- }), F(t, (l, a) => {
114
- A();
115
- }), U({ resize: se, update: me }), (l, a) => {
108
+ o != null && (p.value.page = Math.ceil((o.index + 1) / i.value.pageSize));
109
+ }), q(t, (l, a) => {
110
+ N();
111
+ }), U({ resize: ue, update: se }), (l, a) => {
116
112
  const o = _("el-form-item"), r = _("el-col"), d = _("el-row"), $ = _("el-form"), f = _("el-checkbox"), S = _("el-popover"), y = _("el-pagination");
117
113
  return n(), v("div", {
118
114
  ref_key: "normalRef",
119
- ref: H,
120
- class: J(["ha-normal-layout", { draggable: e(c).sort }])
115
+ ref: T,
116
+ class: J(["ha-normal-layout", { draggable: e(i).sort }])
121
117
  }, [
122
118
  e(b) ? (n(), g($, {
123
119
  key: 0,
124
120
  class: "search-form"
125
121
  }, {
126
122
  default: m(() => [
127
- (n(!0), v(x, null, R(e(ce), (s, h) => (n(), g(d, {
123
+ (n(!0), v(w, null, R(e(ce), (s, h) => (n(), g(d, {
128
124
  gutter: 5,
129
125
  key: h
130
126
  }, {
131
127
  default: m(() => [
132
- (n(!0), v(x, null, R(s, (u, D) => (n(), g(r, {
133
- span: 24 / e(c).column,
134
- key: D
128
+ (n(!0), v(w, null, R(s, (u, F) => (n(), g(r, {
129
+ span: 24 / e(i).column,
130
+ key: F
135
131
  }, {
136
132
  default: m(() => [
137
133
  C(o, {
@@ -143,7 +139,7 @@ const xe = {
143
139
  table: e(t),
144
140
  field: u,
145
141
  set: e(b),
146
- onSubmit: e(le)
142
+ onSubmit: e(ee)
147
143
  }, null, 8, ["schema", "table", "field", "set", "onSubmit"])
148
144
  ]),
149
145
  _: 2
@@ -157,35 +153,35 @@ const xe = {
157
153
  ]),
158
154
  _: 1
159
155
  })) : E("", !0),
160
- e(G).length ? (n(), v("div", Re, [
161
- (n(!0), v(x, null, R(e(G), (s) => (n(), v("div", {
156
+ e(H).length ? (n(), v("div", we, [
157
+ (n(!0), v(w, null, R(e(H), (s) => (n(), v("div", {
162
158
  class: J(["normal-row", { main: e(t).main }])
163
159
  }, [
164
- e(t).main ? E("", !0) : (n(), v("div", $e, [
160
+ e(t).main ? E("", !0) : (n(), v("div", Re, [
165
161
  C(f, {
166
162
  ref_for: !0,
167
- ref: e(ee),
163
+ ref: e(Z),
168
164
  class: "normal-checkbox",
169
165
  row: s,
170
- onChange: (h) => e(oe)(h, s)
166
+ onChange: (h) => e(ne)(h, s)
171
167
  }, null, 8, ["row", "onChange"])
172
168
  ])),
173
- B("div", ze, [
174
- (n(!0), v(x, null, R(e(pe), (h) => (n(), g(d, null, {
169
+ L("div", $e, [
170
+ (n(!0), v(w, null, R(e(ie), (h) => (n(), g(d, null, {
175
171
  default: m(() => [
176
- (n(!0), v(x, null, R(h, ({ data: u, span: D }) => (n(), g(r, {
177
- span: D,
172
+ (n(!0), v(w, null, R(h, ({ data: u, span: F }) => (n(), g(r, {
173
+ span: F,
178
174
  key: `${e(t).name}.${u.name}`
179
175
  }, {
180
176
  default: m(() => [
181
177
  C(o, {
182
- style: _e(e(K).getStyle(u, e(L).type, e(c).type)),
178
+ style: ge(e(K).getStyle(u, e(O).type, e(i).type)),
183
179
  label: u.label,
184
- rules: e(q).getRules(e(O), e(t), u, e(N)(s)),
185
- prop: `[${e(t).name}][${e(N)(s)}][${u.name}]`
180
+ rules: e(I).getRules(e(A), e(t), u, e(D)(s)),
181
+ prop: `[${e(t).name}][${e(D)(s)}][${u.name}]`
186
182
  }, {
187
183
  label: m(() => [
188
- be(M(l.t_field(e(t).name, u.name)) + " ", 1),
184
+ _e(B(l.t_field(e(t).name, u.name)) + " ", 1),
189
185
  u.control.tooltip ? (n(), g(S, {
190
186
  key: 0,
191
187
  trigger: "hover",
@@ -194,10 +190,10 @@ const xe = {
194
190
  title: u.control.tooltip.title
195
191
  }, {
196
192
  reference: m(() => [
197
- Ee
193
+ ze
198
194
  ]),
199
195
  default: m(() => [
200
- B("pre", null, M(u.control.tooltip.content), 1)
196
+ L("pre", null, B(u.control.tooltip.content), 1)
201
197
  ]),
202
198
  _: 2
203
199
  }, 1032, ["title"])) : E("", !0)
@@ -207,10 +203,10 @@ const xe = {
207
203
  schema: e(V),
208
204
  table: e(t),
209
205
  field: u,
210
- set: e(i),
206
+ set: e(c),
211
207
  row: s,
212
- onSubmit: e(re),
213
- onChange: (de) => e(ne)(de, e(i), e(t), u, e(N)(s))
208
+ onSubmit: e(oe),
209
+ onChange: (ve) => e(ae)(ve, e(c), e(t), u, e(D)(s))
214
210
  }, null, 8, ["schema", "table", "field", "set", "row", "onSubmit", "onChange"])
215
211
  ]),
216
212
  _: 2
@@ -223,16 +219,16 @@ const xe = {
223
219
  }, 1024))), 256))
224
220
  ])
225
221
  ], 2))), 256))
226
- ], 512)) : (n(), v("div", xe, M(l.t("common.no_data")), 1)),
227
- e(t).main ? E("", !0) : (n(), g(e(Se), { key: 3 }, {
222
+ ], 512)) : (n(), v("div", xe, B(l.t("common.no_data")), 1)),
223
+ e(t).main ? E("", !0) : (n(), g(e(ke), { key: 3 }, {
228
224
  left: m(() => [
229
- (n(), g(ye(e(ve)), {
230
- module: e(L),
231
- set: e(i),
225
+ (n(), g(be(e(pe)), {
226
+ module: e(O),
227
+ set: e(c),
232
228
  table: e(t),
233
229
  selection: e(k),
234
- onAdd: e(te),
235
- onRemove: e(ae)
230
+ onAdd: e(le),
231
+ onRemove: e(te)
236
232
  }, null, 40, ["module", "set", "table", "selection", "onAdd", "onRemove"]))
237
233
  ]),
238
234
  default: m(() => [
@@ -240,9 +236,9 @@ const xe = {
240
236
  background: "",
241
237
  layout: "total, prev, pager, next, jumper",
242
238
  "current-page": e(p).page,
243
- "page-size": e(c).pageSize,
239
+ "page-size": e(i).pageSize,
244
240
  total: e(p).count,
245
- onCurrentChange: a[0] || (a[0] = (s) => e(ue)(s, e(t)))
241
+ onCurrentChange: a[0] || (a[0] = (s) => e(re)(s, e(t)))
246
242
  }, null, 8, ["current-page", "page-size", "total"])
247
243
  ]),
248
244
  _: 1
@@ -252,5 +248,5 @@ const xe = {
252
248
  }
253
249
  });
254
250
  export {
255
- Le as default
251
+ qe as default
256
252
  };
@@ -0,0 +1,93 @@
1
+ import { defineComponent as j, toRefs as E, ref as r, onMounted as G, watch as H, unref as t, openBlock as I, createBlock as K, createCommentVNode as Q } from "vue";
2
+ import { $ as s, p as W, s as d, a as X, A as U, i as Y } from "./main-CsvsIylY.js";
3
+ import { _ as Z } from "./Index.vue_vue_type_script_setup_true_lang-D0QapFN1.js";
4
+ const te = /* @__PURE__ */ j({
5
+ __name: "Paging",
6
+ props: {
7
+ base: {},
8
+ route: {},
9
+ url: {}
10
+ },
11
+ emits: ["navigate", "load"],
12
+ setup(b, { expose: k, emit: z }) {
13
+ let m = z, P = b, { url: p, base: y, route: u } = E(P), f = r(), v = r(), c = r(), g = r(), x = r(), S = r(), h = r(), o = r(), { t_module: N } = Y, L = (e) => !0, R = (e) => {
14
+ let a = s.getPath(p.value), l = s.getPath(e);
15
+ return a != l;
16
+ }, A = (e = null) => {
17
+ q(e);
18
+ }, B = () => {
19
+ }, C = (e) => {
20
+ var l;
21
+ let a = N(e.module.type, e.module.name);
22
+ W.setTitle(a, e.module.env), f.value = e.module, x.value = e.next, S.value = d.expandSet(e.schema, e.set), v.value = d.expandSchema(e.schema), c.value = (l = v.value) == null ? void 0 : l[0], g.value = c.value.layouts[0], h.value = d.getConditionForm(v.value, u.value.query.condition);
23
+ }, _ = (e = null, a = null) => {
24
+ let l = e ?? u.value.query, n = s.getUrl(u.value.path, l);
25
+ m("load", n, !1, (V) => {
26
+ a && a(V);
27
+ });
28
+ }, i = (e, a) => {
29
+ m("navigate", e, a);
30
+ }, D = async (e) => {
31
+ let a = u.value.query;
32
+ a.page = 1;
33
+ let l = X.pure(h.value);
34
+ a.condition = U.encode(l);
35
+ let n = s.getUrl(u.value.path, a);
36
+ n == p.value ? _(a, e) : i(n, e);
37
+ }, $ = (e, a) => {
38
+ let l = u.value.query;
39
+ l.order_by = U.encode(JSON.stringify(e));
40
+ let n = s.getUrl(u.value.path, l);
41
+ i(n, a);
42
+ }, w = (e, a = null) => {
43
+ let l = u.value.query;
44
+ l.page = e;
45
+ let n = s.getUrl(u.value.path, l);
46
+ i(n, a);
47
+ }, F = (e, a = null) => {
48
+ let l = u.value.query;
49
+ l.size = e;
50
+ let n = s.getUrl(u.value.path, l);
51
+ i(n, a);
52
+ }, J = (e) => {
53
+ g.value = c.value.layouts.find((a) => a.type == e);
54
+ }, M = () => {
55
+ C(y.value.data);
56
+ }, q = (e = null) => _(null, e), O = (e) => {
57
+ if (!o.value || !o.value.resize)
58
+ return !1;
59
+ o.value.resize(e);
60
+ }, T = (e, a) => {
61
+ if (!o.value || !o.value.keyboard)
62
+ return !1;
63
+ o.value.keyboard(e, a);
64
+ };
65
+ return G(async () => {
66
+ M();
67
+ }), H(() => y.value, (e) => {
68
+ C(e.data);
69
+ }), k({ shouldLoad: L, shouldSpin: R, refresh: q, keyboard: T, resize: O }), (e, a) => t(g) ? (I(), K(Z, {
70
+ key: 0,
71
+ ref_key: "pagingRef",
72
+ ref: o,
73
+ module: t(f),
74
+ next: t(x),
75
+ set: t(S),
76
+ schema: t(v),
77
+ table: t(c),
78
+ layout: t(g),
79
+ "search-data": t(h),
80
+ onNavigate: t(i),
81
+ onSort: t($),
82
+ onSearch: t(D),
83
+ onPageChange: t(w),
84
+ onSizeChange: t(F),
85
+ onLayoutChange: t(J),
86
+ onSucceed: t(A),
87
+ onClose: t(B)
88
+ }, null, 8, ["module", "next", "set", "schema", "table", "layout", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onLayoutChange", "onSucceed", "onClose"])) : Q("", !0);
89
+ }
90
+ });
91
+ export {
92
+ te as default
93
+ };
@@ -0,0 +1,13 @@
1
+ import { N as t } from "./main-CsvsIylY.js";
2
+ class e {
3
+ /**
4
+ * 查询代码语言和文本语言映射关系
5
+ */
6
+ static async loadCodeLanguage() {
7
+ return t.post("/dictionary/code_language").then((a) => a.data);
8
+ }
9
+ }
10
+ const n = e;
11
+ export {
12
+ n as Q
13
+ };