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,174 +0,0 @@
1
- import { defineComponent as X, toRefs as Y, ref as d, resolveComponent as s, openBlock as h, createBlock as C, unref as e, isRef as A, withCtx as a, createElementVNode as g, createVNode as n, createTextVNode as f, toDisplayString as i, createCommentVNode as Z, createElementBlock as $, Fragment as ee, renderList as le } from "vue";
2
- import "./vendor-@monaco-editor-DKC4UNw_.js";
3
- import "./vendor-moment-h96o7c8I.js";
4
- import { e as oe, f as te, a as ae, s as re, q as ne, F as E, m as x, h as T, A as se } from "./main-B8RC13GR.js";
5
- import "xlsx-js-style";
6
- import "./vendor-crypto-js-ftX_aBC-.js";
7
- const ie = /* @__PURE__ */ g("i", { class: "fa fa-upload" }, null, -1), ue = { style: { color: "red" } }, de = { class: "footer-operation" }, pe = { class: "footer-content" }, ce = /* @__PURE__ */ g("i", { class: "fa fa-download" }, null, -1), be = /* @__PURE__ */ X({
8
- __name: "DataImport",
9
- props: {
10
- next: Object,
11
- modelValue: Boolean
12
- },
13
- emits: ["close", "succeed", "update:modelValue"],
14
- setup(N, { emit: R }) {
15
- let F = R, H = N, { next: S, modelValue: v } = Y(H), b = d(!1), B = d(), U = {}, y = d([]), p = d([]), c = d(), _ = d(), V = d({ clear: !1 }), L = oe(), P = () => {
16
- F("close");
17
- }, j = async (l) => {
18
- let o = S.value.import.route;
19
- B.value = te.api.url + o;
20
- let r = await L.getSso(), u = ae.getTimestamp(), w = await (await re.create("default")).getSign(r.userId, o, null, u, r.secret), k = ne.create(r.type);
21
- return U.Authorization = k.getAuthorization(r.identity.token, u, w, null), E.isExcel(l.name) ? Promise.resolve() : (x.error("请上传正确的Excel文件"), Promise.reject());
22
- }, z = (l, o) => !0, D = (l) => {
23
- }, I = (l, o, r) => {
24
- y.value = [o], T.handleResponseBody(l, !0).then((u) => {
25
- u.code == "ValidateError" ? (p.value = se.groupByArray(u.data, (m) => m.table), _.value = p.value[0], c.value = p.value[0].key) : (p.value = [], _.value = null, c.value = null);
26
- }).catch(() => {
27
- y.value = [];
28
- });
29
- }, q = (l, o, r) => (x.error(l.message), Promise.resolve()), G = (l) => {
30
- _.value = p.value[l];
31
- }, O = () => {
32
- b.value = !0, T.get(S.value.import.route).then(({ data: l, message: o }) => {
33
- E.save(l.content, l.name), x.success(o);
34
- }).finally(() => {
35
- b.value = !1;
36
- });
37
- }, J = () => {
38
- F("update:modelValue", !1);
39
- };
40
- return (l, o) => {
41
- const r = s("el-button"), u = s("el-upload"), m = s("el-table-column"), w = s("el-table"), k = s("el-radio"), K = s("el-radio-group"), M = s("el-divider"), Q = s("el-checkbox"), W = s("el-dialog");
42
- return h(), C(W, {
43
- draggable: "",
44
- "destroy-on-close": "",
45
- title: l.t("paging.data_import"),
46
- onClose: e(P),
47
- modelValue: e(v),
48
- "onUpdate:modelValue": o[2] || (o[2] = (t) => A(v) ? v.value = t : v = t)
49
- }, {
50
- footer: a(() => [
51
- g("div", de, [
52
- n(Q, {
53
- modelValue: e(V).clear,
54
- "onUpdate:modelValue": o[1] || (o[1] = (t) => e(V).clear = t)
55
- }, {
56
- default: a(() => [
57
- f(i(l.t("paging.cover_existing_data")), 1)
58
- ]),
59
- _: 1
60
- }, 8, ["modelValue"])
61
- ]),
62
- g("div", pe, [
63
- n(r, {
64
- onClick: e(O),
65
- loading: e(b)
66
- }, {
67
- icon: a(() => [
68
- ce
69
- ]),
70
- default: a(() => [
71
- f(" " + i(l.t("paging.template")), 1)
72
- ]),
73
- _: 1
74
- }, 8, ["onClick", "loading"]),
75
- n(r, {
76
- type: "primary",
77
- plain: "",
78
- onClick: e(J)
79
- }, {
80
- default: a(() => [
81
- f(i(l.t("common.complete")), 1)
82
- ]),
83
- _: 1
84
- }, 8, ["onClick"])
85
- ])
86
- ]),
87
- default: a(() => [
88
- n(u, {
89
- action: e(B),
90
- headers: e(U),
91
- data: e(V),
92
- "file-list": e(y),
93
- "before-upload": e(j),
94
- "before-remove": e(z),
95
- "on-preview": e(D),
96
- "on-success": e(I),
97
- "on-error": e(q)
98
- }, {
99
- default: a(() => [
100
- n(r, null, {
101
- icon: a(() => [
102
- ie
103
- ]),
104
- default: a(() => [
105
- f(" " + i(l.t("paging.click_upload")), 1)
106
- ]),
107
- _: 1
108
- })
109
- ]),
110
- _: 1
111
- }, 8, ["action", "headers", "data", "file-list", "before-upload", "before-remove", "on-preview", "on-success", "on-error"]),
112
- e(_) ? (h(), C(w, {
113
- key: 0,
114
- data: e(_).value,
115
- "show-overflow-tooltip": "",
116
- "max-height": "400",
117
- style: { width: "100%" }
118
- }, {
119
- default: a(() => [
120
- n(m, {
121
- prop: "index",
122
- label: "行号",
123
- width: "100"
124
- }, {
125
- default: a((t) => [
126
- f(" 第" + i(t.row.index + 1) + "行 ", 1)
127
- ]),
128
- _: 1
129
- }),
130
- n(m, {
131
- prop: "field",
132
- label: "字段",
133
- width: "150"
134
- }),
135
- n(m, {
136
- prop: "message",
137
- label: "错误消息"
138
- }, {
139
- default: a((t) => [
140
- g("span", ue, i(t.row.message), 1)
141
- ]),
142
- _: 1
143
- })
144
- ]),
145
- _: 1
146
- }, 8, ["data"])) : Z("", !0),
147
- n(K, {
148
- onChange: e(G),
149
- modelValue: e(c),
150
- "onUpdate:modelValue": o[0] || (o[0] = (t) => A(c) ? c.value = t : c = t),
151
- style: { "margin-top": "10px" }
152
- }, {
153
- default: a(() => [
154
- (h(!0), $(ee, null, le(e(p), (t) => (h(), C(k, {
155
- value: t.key
156
- }, {
157
- default: a(() => [
158
- f(i(t.key) + "(" + i(t.value.length) + ")", 1)
159
- ]),
160
- _: 2
161
- }, 1032, ["value"]))), 256))
162
- ]),
163
- _: 1
164
- }, 8, ["onChange", "modelValue"]),
165
- n(M)
166
- ]),
167
- _: 1
168
- }, 8, ["title", "onClose", "modelValue"]);
169
- };
170
- }
171
- });
172
- export {
173
- be as _
174
- };
@@ -1,59 +0,0 @@
1
- import { defineComponent as g, toRefs as x, ref as y, resolveComponent as B, openBlock as D, createElementBlock as E, createElementVNode as c, toDisplayString as t, createVNode as r, unref as a, withCtx as i, createTextVNode as m } from "vue";
2
- import "./vendor-@monaco-editor-DKC4UNw_.js";
3
- import "./vendor-moment-h96o7c8I.js";
4
- import { E as N, h as S, m as V } from "./main-B8RC13GR.js";
5
- import "xlsx-js-style";
6
- import "./vendor-crypto-js-ftX_aBC-.js";
7
- const R = { class: "delete" }, q = { class: "delete-title" }, w = { class: "delete-buttons" }, H = /* @__PURE__ */ g({
8
- __name: "Delete",
9
- props: {
10
- base: {},
11
- route: {},
12
- url: {}
13
- },
14
- emits: ["navigate", "succeed", "close"],
15
- setup(d, { emit: u }) {
16
- let o = u, p = d, { base: _, route: f } = x(p), v = N(), l = y(), h = (e) => {
17
- l.value = e.next;
18
- };
19
- (() => {
20
- h(_.value.data);
21
- })();
22
- let k = () => {
23
- let e = [f.value.query.id];
24
- S.post(l.value.delete.route, e).then((s) => {
25
- V.success(s.message), C();
26
- });
27
- }, C = () => {
28
- v.toBackUrl(), o("succeed", "delete");
29
- }, b = () => {
30
- o("close");
31
- };
32
- return (e, s) => {
33
- const n = B("el-button");
34
- return D(), E("div", R, [
35
- c("div", q, t(e.t("common.confirm_delete")), 1),
36
- c("div", w, [
37
- r(n, {
38
- type: "danger",
39
- onClick: a(k)
40
- }, {
41
- default: i(() => [
42
- m(t(e.t("common.confirm")), 1)
43
- ]),
44
- _: 1
45
- }, 8, ["onClick"]),
46
- r(n, { onClick: a(b) }, {
47
- default: i(() => [
48
- m(t(e.t("common.cancel")), 1)
49
- ]),
50
- _: 1
51
- }, 8, ["onClick"])
52
- ])
53
- ]);
54
- };
55
- }
56
- });
57
- export {
58
- H as default
59
- };
@@ -1,59 +0,0 @@
1
- import { defineComponent as g, toRefs as x, computed as o, resolveComponent as h, openBlock as r, createElementBlock as a, Fragment as V, renderList as S, unref as b, createBlock as k, normalizeStyle as B, withCtx as C, createTextVNode as N, toDisplayString as u, createCommentVNode as H } from "vue";
2
- import "./vendor-@monaco-editor-DKC4UNw_.js";
3
- import "./vendor-moment-h96o7c8I.js";
4
- import "xlsx-js-style";
5
- import { c as s, S as w, A } from "./main-B8RC13GR.js";
6
- import "./vendor-crypto-js-ftX_aBC-.js";
7
- const D = { class: "text-dictionary" }, E = {
8
- key: 0,
9
- class: "suffix"
10
- }, J = /* @__PURE__ */ g({
11
- __name: "Dictionary",
12
- props: {
13
- schema: {},
14
- table: {},
15
- field: {},
16
- set: {},
17
- row: {},
18
- modelValue: { type: [String, Number, Boolean] }
19
- },
20
- emits: ["submit", "change", "update:modelValue"],
21
- setup(i, { emit: m }) {
22
- let n = m, p = i, { table: T, field: c, set: z, modelValue: d } = x(p), t = o({
23
- get() {
24
- return d.value;
25
- },
26
- set(e) {
27
- n("update:modelValue", e), n("change", e);
28
- }
29
- }), f = o(() => {
30
- if (t.value == null)
31
- return [];
32
- if (s.isNumber(t.value))
33
- return [t.value];
34
- if (s.isBoolean(t.value))
35
- return [t.value];
36
- let e = t.value.toString();
37
- return w.isEmpty(e) ? [] : e.split(",");
38
- }), _ = o(() => A.fromValues(f.value, c.value.control.data.data, "value", "text"));
39
- return (e, F) => {
40
- const v = h("el-tag");
41
- return r(), a("div", D, [
42
- (r(!0), a(V, null, S(b(_), (l, y) => (r(), k(v, {
43
- type: "info",
44
- style: B({ color: l.color }),
45
- key: y
46
- }, {
47
- default: C(() => [
48
- N(u(l.text) + " ", 1),
49
- l.suffix ? (r(), a("span", E, "(" + u(l.suffix) + ")", 1)) : H("", !0)
50
- ]),
51
- _: 2
52
- }, 1032, ["style"]))), 128))
53
- ]);
54
- };
55
- }
56
- });
57
- export {
58
- J as default
59
- };
@@ -1,4 +0,0 @@
1
- import { p as f } from "./main-B8RC13GR.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { J as f } from "./main-B8RC13GR.js";
2
- export {
3
- f as default
4
- };
@@ -1,76 +0,0 @@
1
- import { defineComponent as U, toRefs as j, ref as r, watch as E, openBlock as F, createBlock as H, resolveDynamicComponent as I, unref as t, withCtx as T, createElementVNode as V, toDisplayString as $ } from "vue";
2
- import "./vendor-@monaco-editor-DKC4UNw_.js";
3
- import "./vendor-moment-h96o7c8I.js";
4
- import "xlsx-js-style";
5
- import { u as A, g as u, P as G, j as v } from "./main-B8RC13GR.js";
6
- import "./vendor-crypto-js-ftX_aBC-.js";
7
- const J = { class: "not-support" }, Z = /* @__PURE__ */ U({
8
- __name: "List",
9
- props: {
10
- base: {},
11
- route: {},
12
- url: {}
13
- },
14
- emits: ["load", "navigate"],
15
- setup(_, { expose: b, emit: P }) {
16
- let d = P, k = _, { url: h, base: p, route: s } = j(k), f = r(), i = r(), n = r(), y = r(), g = r(), o = r(), c = r(), { t_module: q } = A(), C = (e) => {
17
- let l = u.getPath(e), a = u.getPath(h.value);
18
- return l != a;
19
- }, R = (e) => {
20
- let l = u.getPath(h.value), a = u.getPath(e);
21
- return l != a;
22
- }, x = (e) => {
23
- var a;
24
- let l = q(e.module.type, e.module.name);
25
- G.setTitle(l, e.module.env), f.value = e.module, i.value = v.expandSchema(e.schema), n.value = (a = i.value) == null ? void 0 : a[0], y.value = e.next, g.value = v.expandSet(e.schema, e.set), c.value = v.getConditionForm(i.value, s.value.query.condition);
26
- }, m = (e = null, l = null) => {
27
- let a = e ?? s.value.query, B = u.getUrl(s.value.path, a);
28
- d("load", B, !1, l);
29
- }, D = (e) => {
30
- m(null, e);
31
- }, w = (e) => {
32
- d("navigate", e);
33
- }, z = (e) => {
34
- let l = s.value.query;
35
- l.condition = u.base64(c.value), m(l, e);
36
- }, S = () => {
37
- m();
38
- }, L = (e, l) => {
39
- if (!o.value || !o.value.keyboard)
40
- return !1;
41
- o.value.keyboard(e, l);
42
- }, N = (e) => {
43
- if (!o.value || !o.value.resize)
44
- return !1;
45
- o.value.resize(e);
46
- };
47
- return (() => {
48
- x(p.value.data);
49
- })(), E(() => p.value, (e) => {
50
- x(e.data);
51
- }), b({ shouldLoad: C, shouldSpin: R, refresh: S, keyboard: L, resize: N }), (e, l) => (F(), H(I(`list-${t(n).layouts[0].type.toLowerCase()}`), {
52
- ref_key: "listRef",
53
- ref: o,
54
- route: t(s),
55
- module: t(f),
56
- schema: t(i),
57
- table: t(n),
58
- layout: t(n).layouts[0],
59
- next: t(y),
60
- set: t(g),
61
- "search-data": t(c),
62
- onSucceed: t(D),
63
- onSearch: t(z),
64
- onNavigate: t(w),
65
- onRefresh: t(S)
66
- }, {
67
- default: T(() => [
68
- V("div", J, "未支持的列表布局方式:" + $(t(n).layouts[0].type), 1)
69
- ]),
70
- _: 1
71
- }, 40, ["route", "module", "schema", "table", "layout", "next", "set", "search-data", "onSucceed", "onSearch", "onNavigate", "onRefresh"]));
72
- }
73
- });
74
- export {
75
- Z as default
76
- };
@@ -1,19 +0,0 @@
1
- import { defineComponent as o, openBlock as i, createElementBlock as n, createElementVNode as t, toDisplayString as s, unref as r } from "vue";
2
- import "./vendor-@monaco-editor-DKC4UNw_.js";
3
- import "./vendor-moment-h96o7c8I.js";
4
- import "xlsx-js-style";
5
- import { d as c } from "./main-B8RC13GR.js";
6
- import "./vendor-crypto-js-ftX_aBC-.js";
7
- const a = { class: "maintenance" }, m = /* @__PURE__ */ t("div", { class: "title" }, "系统维护中", -1), p = { class: "description" }, k = /* @__PURE__ */ o({
8
- __name: "Maintaince",
9
- setup(_) {
10
- let e = c();
11
- return (d, l) => (i(), n("div", a, [
12
- m,
13
- t("div", p, s(r(e)), 1)
14
- ]));
15
- }
16
- });
17
- export {
18
- k as default
19
- };
@@ -1,94 +0,0 @@
1
- import { defineComponent as $, toRefs as A, ref as n, watch as G, openBlock as K, createBlock as M, unref as t } from "vue";
2
- import "./vendor-@monaco-editor-DKC4UNw_.js";
3
- import "./vendor-moment-h96o7c8I.js";
4
- import "xlsx-js-style";
5
- import { u as Q, r as V, g as o, P as W, j as p, O as X } from "./main-B8RC13GR.js";
6
- import "./vendor-crypto-js-ftX_aBC-.js";
7
- import { _ as Y } from "./Index.vue_vue_type_script_setup_true_lang-yOf2ubuo.js";
8
- const ne = /* @__PURE__ */ $({
9
- __name: "Paging",
10
- props: {
11
- base: {},
12
- route: {},
13
- url: {}
14
- },
15
- emits: ["navigate", "load"],
16
- setup(q, { expose: U, emit: P }) {
17
- let m = P, z = q, { url: d, base: y, route: r } = A(z), f = n(), v = n(), g = n(), c = n(), S = n(), x = n(), h = n(), s = n(), { t_module: k } = Q(), B = V.getEncoder().getBase64(), D = (e) => !0, L = (e) => {
18
- let a = o.getPath(d.value), l = o.getPath(e);
19
- return a != l;
20
- }, N = (e = null) => {
21
- b(e);
22
- }, O = () => {
23
- }, C = (e) => {
24
- var l;
25
- let a = k(e.module.type, e.module.name);
26
- W.setTitle(a, e.module.env), f.value = e.module, S.value = e.next, x.value = p.expandSet(e.schema, e.set), v.value = p.expandSchema(e.schema), g.value = (l = v.value) == null ? void 0 : l[0], c.value = g.value.layouts[0], h.value = p.getConditionForm(v.value, r.value.query.condition);
27
- }, _ = (e = null, a = null) => {
28
- let l = e ?? r.value.query, u = o.getUrl(r.value.path, l);
29
- m("load", u, !1, (T) => {
30
- a && a(T);
31
- });
32
- }, i = (e, a) => {
33
- m("navigate", e, a);
34
- }, R = (e) => {
35
- let a = r.value.query;
36
- a.page = 1;
37
- let l = X.pure(h.value);
38
- a.condition = o.base64(l);
39
- let u = o.getUrl(r.value.path, a);
40
- u == d.value ? _(a, e) : i(u, e);
41
- }, j = (e, a) => {
42
- let l = r.value.query;
43
- l.order_by = B.encode(JSON.stringify(e));
44
- let u = o.getUrl(r.value.path, l);
45
- i(u, a);
46
- }, F = (e, a = null) => {
47
- let l = r.value.query;
48
- l.page = e;
49
- let u = o.getUrl(r.value.path, l);
50
- i(u, a);
51
- }, H = (e, a = null) => {
52
- let l = r.value.query;
53
- l.size = e;
54
- let u = o.getUrl(r.value.path, l);
55
- i(u, a);
56
- }, w = (e) => {
57
- c.value = g.value.layouts.find((a) => a.type == e);
58
- }, E = () => {
59
- C(y.value.data);
60
- }, b = (e = null) => _(null, e), I = (e) => {
61
- if (!s.value || !s.value.resize)
62
- return !1;
63
- s.value.resize(e);
64
- }, J = (e, a) => {
65
- if (!s.value || !s.value.keyboard)
66
- return !1;
67
- s.value.keyboard(e, a);
68
- };
69
- return E(), G(() => y.value, (e) => {
70
- C(e.data);
71
- }), U({ shouldLoad: D, shouldSpin: L, refresh: b, keyboard: J, resize: I }), (e, a) => (K(), M(Y, {
72
- ref_key: "pagingRef",
73
- ref: s,
74
- module: t(f),
75
- next: t(S),
76
- set: t(x),
77
- schema: t(v),
78
- table: t(g),
79
- layout: t(c),
80
- "search-data": t(h),
81
- onNavigate: t(i),
82
- onSort: t(j),
83
- onSearch: t(R),
84
- onPageChange: t(F),
85
- onSizeChange: t(H),
86
- onLayoutChange: t(w),
87
- onSucceed: t(N),
88
- onClose: t(O)
89
- }, null, 8, ["module", "next", "set", "schema", "table", "layout", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onLayoutChange", "onSucceed", "onClose"]));
90
- }
91
- });
92
- export {
93
- ne as default
94
- };
@@ -1,18 +0,0 @@
1
- import "./vendor-@monaco-editor-DKC4UNw_.js";
2
- import "./vendor-moment-h96o7c8I.js";
3
- import "xlsx-js-style";
4
- import { h as r } from "./main-B8RC13GR.js";
5
- import "./vendor-crypto-js-ftX_aBC-.js";
6
- import "vue";
7
- class o {
8
- /**
9
- * 查询代码语言和文本语言映射关系
10
- */
11
- static async loadCodeLanguage() {
12
- return r.post("/dictionary/code_language").then((t) => t.data);
13
- }
14
- }
15
- const c = o;
16
- export {
17
- c as Q
18
- };