halo-pc 1.0.6 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (433) hide show
  1. package/dist/Article-CiVdO1Ui.js +192 -0
  2. package/dist/Autocomplete-DSE7qXaY.js +48 -0
  3. package/dist/{Autocomplete-A0m1RW7z.js → Autocomplete-TVE3ZXGj.js} +1 -1
  4. package/dist/Autocomplete-gwIpU0Ap.js +49 -0
  5. package/dist/{CSharp-Bwl97exE.js → CSharp-ZvsrI2tS.js} +1 -1
  6. package/dist/{Calender-C3vbVYIN.js → Calender-BN1Qici-.js} +2 -2
  7. package/dist/Callback-C5vXOse3.js +20 -0
  8. package/dist/Cascader-DIwiaPq_.js +80 -0
  9. package/dist/Cascader-DhcIQmz0.js +41 -0
  10. package/dist/{Checkbox-BJS0a1NT.js → Checkbox-DPVFKvtd.js} +1 -1
  11. package/dist/{Code-9I77CMRV.js → Code-C-Xxwb29.js} +1 -1
  12. package/dist/{Code-B2DrYXDa.js → Code-EMhF8em7.js} +18 -22
  13. package/dist/Code-MpN64VDz.js +4 -0
  14. package/dist/Code-rSRVyC9T.js +36 -0
  15. package/dist/Code.vue_vue_type_style_index_0_lang-P0TnGKPx.js +59 -0
  16. package/dist/Column-CjVMWBjC.js +67 -0
  17. package/dist/Comment-CakkgoNi.js +98 -0
  18. package/dist/Compare-C7v4kOpE.js +26 -0
  19. package/dist/Compare-fM9jPPuu.js +56 -0
  20. package/dist/Copy-CYEJ22tk.js +43 -0
  21. package/dist/Custom-Cig2xWvf.js +47 -0
  22. package/dist/{DataExport-BHh7NvbT.js → DataExport-D6d04miG.js} +1 -1
  23. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-C9t5j7Gi.js → DataExport.vue_vue_type_script_setup_true_lang-B0lK_clm.js} +35 -39
  24. package/dist/{DataImport-CtBsCyNb.js → DataImport-CceWCzes.js} +1 -1
  25. package/dist/DataImport.vue_vue_type_script_setup_true_lang-5qkPOt4L.js +172 -0
  26. package/dist/{Date-IV1FwqTW.js → Date-Ddu6Um1a.js} +1 -1
  27. package/dist/{DateRange-IWmDLSuy.js → DateRange-DLCMlMSG.js} +10 -14
  28. package/dist/{DateTime-Di6sr-tq.js → DateTime-Bdvr9_wj.js} +1 -1
  29. package/dist/{DateTimeRange-BNUGYgWf.js → DateTimeRange-DPWqS1Es.js} +10 -14
  30. package/dist/{Daterange-rrlMT4tD.js → Daterange-D_JOuZ8Z.js} +14 -18
  31. package/dist/{Decimal-D9TVQqyS.js → Decimal-D4atkIK7.js} +1 -1
  32. package/dist/Delete-gFaS3kE9.js +55 -0
  33. package/dist/{Detail-HAblGKTY.js → Detail-B5FvVxu9.js} +16 -20
  34. package/dist/Dictionary-Ce3GwIP_.js +55 -0
  35. package/dist/{File-MF1QgEQX.js → File-B2lndVjU.js} +55 -59
  36. package/dist/Image-CrvP5qms.js +9 -0
  37. package/dist/{Index-XBFHPLbK.js → Index-BQHiLvTh.js} +1 -1
  38. package/dist/Index-BRmnOaBf.js +4 -0
  39. package/dist/{Index-C_mfWEwr.js → Index-BaLKJJ75.js} +1 -1
  40. package/dist/Index-BbbIu4pT.js +168 -0
  41. package/dist/{Index-7cTFT9Xb.js → Index-CNiNRbjO.js} +15 -19
  42. package/dist/Index-DMei5mlA.js +4 -0
  43. package/dist/{Index-hgpg_5ma.js → Index-DNZBSOK6.js} +1 -1
  44. package/dist/{Index.vue_vue_type_script_setup_true_lang-yOf2ubuo.js → Index.vue_vue_type_script_setup_true_lang-BYIvYRlg.js} +14 -18
  45. package/dist/{Index.vue_vue_type_script_setup_true_lang-C1Bw7evJ.js → Index.vue_vue_type_script_setup_true_lang-uoFDX1Of.js} +13 -17
  46. package/dist/{Index.vue_vue_type_style_index_0_lang-DBERwM_v.js → Index.vue_vue_type_style_index_0_lang-DiU6tUKL.js} +27 -31
  47. package/dist/{Install-A9qs4Vg-.js → Install-D1bxQmez.js} +17 -21
  48. package/dist/{Int-B3L54Gcc.js → Int-BaGIs_nk.js} +12 -16
  49. package/dist/List-BjQi_wnf.js +72 -0
  50. package/dist/Maintaince-fou9nONX.js +14 -0
  51. package/dist/{Markdown-wcGRlabe.js → Markdown-Ceg9Ms5R.js} +1 -1
  52. package/dist/{Month-C1tCQKvO.js → Month-CfB3ZFt4.js} +1 -1
  53. package/dist/{Normal-HoU_elKy.js → Normal-DaCn1qBW.js} +81 -85
  54. package/dist/Paging-C5q8jJUU.js +93 -0
  55. package/dist/QueryApi-DjT4dEyX.js +13 -0
  56. package/dist/{Racebar-BXuP1N9F.js → Racebar-DBFWFMO-.js} +40 -44
  57. package/dist/{Radio-D6W9guyM.js → Radio-CJyl__ew.js} +1 -1
  58. package/dist/Register-IVPcpL6f.js +196 -0
  59. package/dist/RichText-D_JQUWM1.js +41 -0
  60. package/dist/{SearchFooter-D3-9GTr1.js → SearchFooter-DEoLMe9k.js} +1 -1
  61. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-DP32ZjvQ.js → SearchFooter.vue_vue_type_style_index_0_lang-D1PYRAiE.js} +20 -20
  62. package/dist/{SearchForm-rWozLa4B.js → SearchForm-BHHmYaCS.js} +1 -1
  63. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-F2we6KP-.js → SearchForm.vue_vue_type_style_index_0_lang-BtNkB6f0.js} +26 -30
  64. package/dist/{Select-qCdhL7vC.js → Select-C2FBbD52.js} +1 -1
  65. package/dist/{Select-64nQiHNA.js → Select-Cz2uCsb-.js} +17 -21
  66. package/dist/{Select-CAmBUDp3.js → Select-DM1c8XBr.js} +32 -36
  67. package/dist/{Single-Bnrt5Hxb.js → Single-B63Zrug-.js} +110 -114
  68. package/dist/{Statistic-BTbwlH9l.js → Statistic-0yl1BOUE.js} +42 -46
  69. package/dist/{Stock-Br_02hsI.js → Stock-4iCvNHGj.js} +1 -1
  70. package/dist/{Stock-DbExd680.js → Stock-DcJZ8DgI.js} +1 -1
  71. package/dist/{Stock.vue_vue_type_style_index_0_lang-MTvhmHlz.js → Stock.vue_vue_type_style_index_0_lang-4d1EpJnq.js} +31 -35
  72. package/dist/{Switch-J2GIv4Wa.js → Switch-N3gJPSk8.js} +1 -1
  73. package/dist/{Table-DjBx2UGm.js → Table-Cs56tnaN.js} +107 -113
  74. package/dist/{Table-X4vTHlpm.js → Table-J3e4-OH2.js} +91 -95
  75. package/dist/Text-DheLweEH.js +4 -0
  76. package/dist/Text.vue_vue_type_style_index_0_lang-uMGpVMDs.js +52 -0
  77. package/dist/TextLink-CSaLrd5t.js +59 -0
  78. package/dist/{Textarea-Dw_qLc3Y.js → Textarea-B5AXrlWa.js} +1 -1
  79. package/dist/Timeline-BhPZJNP4.js +53 -0
  80. package/dist/Tree-BdW8K2i6.js +293 -0
  81. package/dist/{Tree-CDD2Nd6q.js → Tree-Ctq_fSOd.js} +40 -44
  82. package/dist/TreeNode-CDItFlDT.js +34 -0
  83. package/dist/{Update-PffbXMXH.js → Update-K3FS-dz-.js} +13 -17
  84. package/dist/Upload-C73uEqps.js +67 -0
  85. package/dist/Upload-DGz1o9dx.js +146 -0
  86. package/dist/{UploadApi-D2W_aGKA.js → UploadApi-Dy7aGZWx.js} +3 -8
  87. package/dist/{Year-Dr5ST0Pk.js → Year-CMlo3zsG.js} +1 -1
  88. package/dist/main-CVY9fyTk.js +28912 -0
  89. package/dist/main.js +98 -111
  90. package/dist/style.css +1 -1
  91. package/dist/{vendor-clipboard-BqjesuiY.js → vendor-clipboard-DjQPoCBJ.js} +110 -130
  92. package/dist/{vendor-intro.js-CZkClzQO.js → vendor-intro.js-DwWqhM1v.js} +1 -1
  93. package/esm/components/business/HoCondition.vue.d.ts +18 -0
  94. package/esm/components/business/HoCrud.vue.d.ts +29 -0
  95. package/esm/components/business/HoDrawer.vue.d.ts +24 -0
  96. package/esm/components/business/HoDriver.vue.d.ts +52 -0
  97. package/esm/components/business/HoFeedback.vue.d.ts +8 -0
  98. package/esm/components/business/HoForm.vue.d.ts +23 -0
  99. package/esm/components/business/HoSwitch.vue.d.ts +24 -0
  100. package/esm/components/business/HoWelcome.vue.d.ts +8 -0
  101. package/esm/components/business/index.d.ts +8 -8
  102. package/esm/components/controls/Text.vue.d.ts +1 -1
  103. package/esm/components/index.d.ts +8 -8
  104. package/esm/components/lists/Tree.vue.d.ts +1 -1
  105. package/esm/components/lists/index.d.ts +1 -1
  106. package/esm/components/pages/Single.vue.d.ts +1 -1
  107. package/esm/components/pagings/Article.vue.d.ts +1 -1
  108. package/esm/components/pagings/DataExport.vue.d.ts +1 -1
  109. package/esm/components/pagings/DataImport.vue.d.ts +1 -1
  110. package/esm/components/pagings/Index.vue.d.ts +4 -4
  111. package/esm/components/pagings/SearchFooter.vue.d.ts +1 -1
  112. package/esm/components/pagings/Table.vue.d.ts +3 -3
  113. package/esm/components/pagings/index.d.ts +1 -1
  114. package/esm/components/partials/Detail.vue.d.ts +1 -1
  115. package/esm/components/partials/Update.vue.d.ts +1 -1
  116. package/esm/components/singles/index.d.ts +1 -1
  117. package/esm/components/texts/Autocomplete.vue.d.ts +1 -1
  118. package/esm/components/texts/CSharp.vue.d.ts +1 -1
  119. package/esm/components/texts/Cascader.vue.d.ts +1 -1
  120. package/esm/components/texts/Checkbox.vue.d.ts +1 -1
  121. package/esm/components/texts/Code.vue.d.ts +1 -1
  122. package/esm/components/texts/Color.vue.d.ts +1 -1
  123. package/esm/components/texts/Compare.vue.d.ts +1 -1
  124. package/esm/components/texts/Copy.vue.d.ts +1 -1
  125. package/esm/components/texts/Date.vue.d.ts +1 -1
  126. package/esm/components/texts/DateRange.vue.d.ts +1 -1
  127. package/esm/components/texts/DateTime.vue.d.ts +1 -1
  128. package/esm/components/texts/Decimal.vue.d.ts +1 -1
  129. package/esm/components/texts/Dictionary.vue.d.ts +1 -1
  130. package/esm/components/texts/Email.vue.d.ts +1 -1
  131. package/esm/components/texts/Index.vue.d.ts +1 -1
  132. package/esm/components/texts/Int.vue.d.ts +1 -1
  133. package/esm/components/texts/Markdown.vue.d.ts +1 -1
  134. package/esm/components/texts/Month.vue.d.ts +1 -1
  135. package/esm/components/texts/Password.vue.d.ts +1 -1
  136. package/esm/components/texts/Progress.vue.d.ts +1 -1
  137. package/esm/components/texts/Radio.vue.d.ts +1 -1
  138. package/esm/components/texts/Rate.vue.d.ts +1 -1
  139. package/esm/components/texts/RichText.vue.d.ts +1 -1
  140. package/esm/components/texts/Select.vue.d.ts +1 -1
  141. package/esm/components/texts/Switch.vue.d.ts +1 -1
  142. package/esm/components/texts/Text.vue.d.ts +1 -1
  143. package/esm/components/texts/TextLink.vue.d.ts +1 -1
  144. package/esm/components/texts/Textarea.vue.d.ts +1 -1
  145. package/esm/components/texts/Upload.vue.d.ts +1 -1
  146. package/esm/components/texts/Year.vue.d.ts +1 -1
  147. package/esm/coms/business/HaCrud.vue.d.ts +7 -5
  148. package/esm/coms/business/HaDrawer.vue.d.ts +1 -1
  149. package/esm/coms/business/HaDriver.vue.d.ts +10 -8
  150. package/esm/coms/business/HaForm.vue.d.ts +7 -5
  151. package/esm/coms/commons/HaDebug.vue.d.ts +4 -2
  152. package/esm/coms/commons/HaEditable.vue.d.ts +6 -4
  153. package/esm/coms/commons/HaLoading.vue.d.ts +6 -4
  154. package/esm/coms/commons/HaResizer.vue.d.ts +7 -5
  155. package/esm/coms/commons/HaTable.vue.d.ts +9 -7
  156. package/esm/coms/commons/HaTableColumn.vue.d.ts +8 -6
  157. package/esm/coms/controls/Autocomplete.vue.d.ts +1 -1
  158. package/esm/coms/controls/Cascader.vue.d.ts +1 -1
  159. package/esm/coms/controls/Checkbox.vue.d.ts +1 -1
  160. package/esm/coms/controls/Code.vue.d.ts +1 -1
  161. package/esm/coms/controls/RichText.vue.d.ts +7 -9
  162. package/esm/coms/controls/Switch.vue.d.ts +2 -2
  163. package/esm/coms/globals/HaHeaderTab.vue.d.ts +6 -4
  164. package/esm/coms/globals/HaHeaderTabs.vue.d.ts +6 -4
  165. package/esm/coms/globals/HaMenu.vue.d.ts +8 -8
  166. package/esm/coms/globals/HaMenuItem.vue.d.ts +8 -8
  167. package/esm/coms/globals/HaMissComponent.vue.d.ts +4 -2
  168. package/esm/coms/globals/HaSideTab.vue.d.ts +6 -4
  169. package/esm/coms/globals/HaSideTabs.vue.d.ts +6 -4
  170. package/esm/coms/globals/HaWindow.vue.d.ts +12 -10
  171. package/esm/coms/lists/Racebar.vue.d.ts +1 -1
  172. package/esm/coms/lists/Statistic.vue.d.ts +1 -1
  173. package/esm/coms/lists/Stock.vue.d.ts +1 -1
  174. package/esm/coms/lists/Timeline.vue.d.ts +1 -1
  175. package/esm/coms/lists/Tree.vue.d.ts +1 -1
  176. package/esm/coms/pages/Column.vue.d.ts +1 -1
  177. package/esm/coms/pages/Custom.vue.d.ts +1 -1
  178. package/esm/coms/pages/Delete.vue.d.ts +1 -1
  179. package/esm/coms/pages/List.vue.d.ts +1 -1
  180. package/esm/coms/pages/Paging.vue.d.ts +1 -1
  181. package/esm/coms/pages/Single.vue.d.ts +1 -1
  182. package/esm/coms/pagings/Article.vue.d.ts +1 -1
  183. package/esm/coms/pagings/Code.vue.d.ts +1 -1
  184. package/esm/coms/pagings/File.vue.d.ts +1 -1
  185. package/esm/coms/pagings/Index.vue.d.ts +1 -1
  186. package/esm/coms/pagings/SearchFooter.vue.d.ts +16 -16
  187. package/esm/coms/pagings/SearchForm.vue.d.ts +8 -8
  188. package/esm/coms/pagings/Table.vue.d.ts +1 -1
  189. package/esm/coms/panels/HaGroup.vue.d.ts +4 -2
  190. package/esm/coms/panels/HaOperation.vue.d.ts +7 -5
  191. package/esm/coms/panels/HaPanel.vue.d.ts +9 -7
  192. package/esm/coms/panels/HaShrink.vue.d.ts +6 -4
  193. package/esm/coms/singles/Code.vue.d.ts +1 -1
  194. package/esm/coms/singles/Comment.vue.d.ts +1 -1
  195. package/esm/coms/singles/Index.vue.d.ts +1 -1
  196. package/esm/coms/singles/Normal.vue.d.ts +1 -1
  197. package/esm/coms/singles/Statistic.vue.d.ts +1 -1
  198. package/esm/coms/singles/Stock.vue.d.ts +1 -1
  199. package/esm/coms/singles/Table.vue.d.ts +1 -1
  200. package/esm/coms/singles/Tree.vue.d.ts +1 -1
  201. package/esm/coms/texts/Copy.vue.d.ts +7 -5
  202. package/esm/coms/texts/TextLink.vue.d.ts +8 -6
  203. package/esm/drivers/IDriver.d.ts +10 -0
  204. package/esm/drivers/cdns/Cdn.d.ts +14 -0
  205. package/esm/drivers/cdns/CdnFactory.d.ts +11 -0
  206. package/esm/drivers/cdns/ICdn.d.ts +34 -0
  207. package/esm/drivers/cdns/implements/BootCdn.d.ts +12 -0
  208. package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +13 -0
  209. package/esm/drivers/cdns/implements/LocalCdn.d.ts +12 -0
  210. package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +16 -0
  211. package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +10 -0
  212. package/esm/drivers/cdns/index.d.ts +0 -0
  213. package/esm/drivers/driver-helper.d.ts +46 -0
  214. package/esm/drivers/encoders/Encoder.d.ts +11 -0
  215. package/esm/drivers/encoders/EncoderFactory.d.ts +16 -0
  216. package/esm/drivers/encoders/IEncoder.d.ts +22 -0
  217. package/esm/drivers/encoders/implement/Base64Encoder.d.ts +11 -0
  218. package/esm/drivers/encoders/index.d.ts +0 -0
  219. package/esm/drivers/excels/ExcelFactory.d.ts +11 -0
  220. package/esm/drivers/excels/IExcel.d.ts +18 -0
  221. package/esm/drivers/excels/implements/XlsxExcel.d.ts +10 -0
  222. package/esm/drivers/excels/index.d.ts +2 -0
  223. package/esm/drivers/explainers/Explainer.d.ts +4 -0
  224. package/esm/drivers/explainers/ExplainerFactory.d.ts +1 -0
  225. package/esm/drivers/explainers/IExplainer.d.ts +3 -0
  226. package/esm/drivers/explainers/implement/JsonExplainer.d.ts +4 -0
  227. package/esm/drivers/explainers/index.d.ts +0 -0
  228. package/esm/drivers/features/FeatureFactory.d.ts +11 -0
  229. package/esm/drivers/features/IFeature.d.ts +23 -0
  230. package/esm/drivers/features/implements/ExpressionFeature.d.ts +12 -0
  231. package/esm/drivers/features/implements/I18NFeature.d.ts +12 -0
  232. package/esm/drivers/features/implements/SortFeature.d.ts +13 -0
  233. package/esm/drivers/features/index.d.ts +2 -0
  234. package/esm/drivers/hashers/Hasher.d.ts +10 -0
  235. package/esm/drivers/hashers/HasherFactory.d.ts +13 -0
  236. package/esm/drivers/hashers/IHasher.d.ts +19 -0
  237. package/esm/drivers/hashers/implement/Md5Hasher.d.ts +10 -0
  238. package/esm/drivers/hashers/implement/Sha256Hasher.d.ts +10 -0
  239. package/esm/drivers/hashers/index.d.ts +2 -0
  240. package/esm/drivers/index.d.ts +9 -0
  241. package/esm/drivers/providers/IProvider.d.ts +47 -0
  242. package/esm/drivers/providers/ProviderFactory.d.ts +11 -0
  243. package/esm/drivers/providers/implements/IndexedDbProvider.d.ts +55 -0
  244. package/esm/drivers/providers/index.d.ts +2 -0
  245. package/esm/drivers/requesters/IRequester.d.ts +20 -0
  246. package/esm/drivers/requesters/Requester.d.ts +12 -0
  247. package/esm/drivers/requesters/RequesterFactory.d.ts +18 -0
  248. package/esm/drivers/requesters/entities/HttpRequest.d.ts +34 -0
  249. package/esm/drivers/requesters/entities/HttpResponse.d.ts +19 -0
  250. package/esm/drivers/requesters/implements/DefaultRequester.d.ts +12 -0
  251. package/esm/drivers/requesters/implements/MkRequester.d.ts +40 -0
  252. package/esm/drivers/requesters/index.d.ts +5 -0
  253. package/esm/drivers/signers/ISigner.d.ts +33 -0
  254. package/esm/drivers/signers/SignerFactory.d.ts +11 -0
  255. package/esm/drivers/signers/implements/DefaultSigner.d.ts +18 -0
  256. package/esm/drivers/signers/index.d.ts +2 -0
  257. package/esm/drivers/ssos/ISso.d.ts +41 -0
  258. package/esm/drivers/ssos/SsoFactory.d.ts +11 -0
  259. package/esm/drivers/ssos/implements/AnonymousSso.d.ts +18 -0
  260. package/esm/drivers/ssos/implements/BearerSso.d.ts +22 -0
  261. package/esm/drivers/ssos/implements/NioSso.d.ts +23 -0
  262. package/esm/drivers/ssos/implements/SecretSso.d.ts +18 -0
  263. package/esm/drivers/ssos/implements/WeiXinSso.d.ts +20 -0
  264. package/esm/drivers/ssos/index.d.ts +2 -0
  265. package/esm/main.d.ts +5 -4
  266. package/esm/plugins/PcMessenger.d.ts +35 -0
  267. package/esm/plugins/index.d.ts +2 -2
  268. package/esm/repos/index.d.ts +1 -0
  269. package/esm/sdks/commons/HaCode.vue.d.ts +40 -0
  270. package/esm/sdks/commons/HaCol.vue.d.ts +9 -0
  271. package/esm/sdks/commons/HaCompare.vue.d.ts +40 -0
  272. package/esm/sdks/commons/HaContainer.vue.d.ts +21 -0
  273. package/esm/sdks/commons/HaEmpty.vue.d.ts +24 -0
  274. package/esm/sdks/commons/HaProgress.vue.d.ts +8 -0
  275. package/esm/sdks/commons/HaRow.vue.d.ts +19 -0
  276. package/esm/sdks/commons/HaTable.vue.d.ts +1 -1
  277. package/esm/sdks/commons/HoCaptcha.vue.d.ts +14 -0
  278. package/esm/sdks/commons/HoCode.vue.d.ts +39 -0
  279. package/esm/sdks/commons/HoCol.vue.d.ts +9 -0
  280. package/esm/sdks/commons/HoCompare.vue.d.ts +40 -0
  281. package/esm/sdks/commons/HoContainer.vue.d.ts +21 -0
  282. package/esm/sdks/commons/HoDebug.vue.d.ts +9 -0
  283. package/esm/sdks/commons/HoEditable.vue.d.ts +13 -0
  284. package/esm/sdks/commons/HoEmpty.vue.d.ts +24 -0
  285. package/esm/sdks/commons/HoLoading.vue.d.ts +33 -0
  286. package/esm/sdks/commons/HoMouseContext.vue.d.ts +2 -0
  287. package/esm/sdks/commons/HoParticles.vue.d.ts +2 -0
  288. package/esm/sdks/commons/HoProgress.vue.d.ts +8 -0
  289. package/esm/sdks/commons/HoResizer.vue.d.ts +26 -0
  290. package/esm/sdks/commons/HoRow.vue.d.ts +19 -0
  291. package/esm/sdks/commons/HoSpinner.vue.d.ts +20 -0
  292. package/esm/sdks/commons/HoTable.vue.d.ts +34 -0
  293. package/esm/sdks/commons/HoTableColumn.vue.d.ts +31 -0
  294. package/esm/sdks/commons/index.d.ts +59 -1
  295. package/esm/sdks/globals/HaWindow.vue.d.ts +4 -4
  296. package/esm/sdks/globals/HoHeaderTab.vue.d.ts +19 -0
  297. package/esm/sdks/globals/HoHeaderTabs.vue.d.ts +17 -0
  298. package/esm/sdks/globals/HoMenu.vue.d.ts +77 -0
  299. package/esm/sdks/globals/HoMenuItem.vue.d.ts +76 -0
  300. package/esm/sdks/globals/HoMissComponent.vue.d.ts +9 -0
  301. package/esm/sdks/globals/HoSideTab.vue.d.ts +21 -0
  302. package/esm/sdks/globals/HoSideTabs.vue.d.ts +17 -0
  303. package/esm/sdks/globals/HoWindow.vue.d.ts +66 -0
  304. package/esm/sdks/globals/index.d.ts +0 -4
  305. package/esm/sdks/helpers/array-helper.d.ts +97 -0
  306. package/esm/sdks/helpers/component-helper.d.ts +10 -0
  307. package/esm/sdks/helpers/cookie-helper.d.ts +6 -0
  308. package/esm/sdks/helpers/dictionary-helper.d.ts +18 -0
  309. package/esm/sdks/helpers/dom-helper.d.ts +74 -0
  310. package/esm/sdks/helpers/encrypt-helper.d.ts +18 -0
  311. package/esm/sdks/helpers/event-helper.d.ts +30 -0
  312. package/esm/sdks/helpers/file-helper.d.ts +22 -0
  313. package/esm/sdks/helpers/html-helper.d.ts +10 -0
  314. package/esm/sdks/helpers/i18n-helper.d.ts +14 -0
  315. package/esm/sdks/helpers/image-helper.d.ts +10 -0
  316. package/esm/sdks/helpers/index.d.ts +26 -0
  317. package/esm/sdks/helpers/json-helper.d.ts +31 -0
  318. package/esm/sdks/helpers/math-helper.d.ts +42 -0
  319. package/esm/sdks/helpers/micro-helper.d.ts +10 -0
  320. package/esm/sdks/helpers/mount-helper.d.ts +14 -0
  321. package/esm/sdks/helpers/object-helper.d.ts +34 -0
  322. package/esm/sdks/helpers/script-helper.d.ts +31 -0
  323. package/esm/sdks/helpers/scroll-helper.d.ts +14 -0
  324. package/esm/sdks/helpers/sign-helper.d.ts +14 -0
  325. package/esm/sdks/helpers/storage-helper.d.ts +34 -0
  326. package/esm/sdks/helpers/string-helper.d.ts +94 -0
  327. package/esm/sdks/helpers/task-helper.d.ts +26 -0
  328. package/esm/sdks/helpers/time-helper.d.ts +62 -0
  329. package/esm/sdks/helpers/tree-helper.d.ts +54 -0
  330. package/esm/sdks/helpers/type-helper.d.ts +26 -0
  331. package/esm/sdks/helpers/url-helper.d.ts +96 -0
  332. package/esm/sdks/index.d.ts +7 -4
  333. package/esm/sdks/panels/HoGroup.vue.d.ts +9 -0
  334. package/esm/sdks/panels/HoHeader.vue.d.ts +16 -0
  335. package/esm/sdks/panels/HoOperation.vue.d.ts +22 -0
  336. package/esm/sdks/panels/HoPanel.vue.d.ts +30 -0
  337. package/esm/sdks/panels/HoShrink.vue.d.ts +48 -0
  338. package/esm/sdks/stores/window.d.ts +25 -0
  339. package/esm/sdks/thirds/index.d.ts +8 -0
  340. package/esm/sdks/utilities/AffixUtility.d.ts +9 -0
  341. package/esm/sdks/utilities/EventUtility.d.ts +30 -0
  342. package/esm/sdks/utilities/KeyboardUtility.d.ts +73 -0
  343. package/esm/sdks/utilities/MouseUtility.d.ts +24 -0
  344. package/esm/sdks/utilities/index.d.ts +4 -0
  345. package/esm/services/HttpService.d.ts +22 -0
  346. package/esm/services/MessageService.d.ts +8 -9
  347. package/esm/services/SettingService.d.ts +5 -0
  348. package/esm/services/index.d.ts +4 -1
  349. package/esm/servs/AppServ.d.ts +36 -0
  350. package/esm/servs/ComponentServ.d.ts +35 -0
  351. package/esm/servs/ControlServ.d.ts +42 -0
  352. package/esm/servs/I18nServ.d.ts +79 -0
  353. package/esm/servs/LayoutServ.d.ts +18 -0
  354. package/esm/servs/PageServ.d.ts +38 -0
  355. package/esm/servs/RouterServ.d.ts +23 -0
  356. package/esm/servs/StandardServ.d.ts +34 -0
  357. package/esm/servs/UploadServ.d.ts +10 -0
  358. package/esm/servs/WindowServ.d.ts +27 -0
  359. package/esm/servs/index.d.ts +17 -0
  360. package/esm/stores/app.d.ts +44 -0
  361. package/esm/stores/component.d.ts +30 -0
  362. package/esm/stores/config.d.ts +55 -0
  363. package/esm/stores/driver.d.ts +37 -0
  364. package/esm/stores/i18n.d.ts +67 -0
  365. package/esm/stores/index.d.ts +7 -2
  366. package/esm/stores/layout.d.ts +13 -0
  367. package/esm/stores/log.d.ts +20 -0
  368. package/esm/stores/router.d.ts +20 -0
  369. package/esm/stores/setting.d.ts +43 -0
  370. package/esm/stores/socket.d.ts +27 -0
  371. package/esm/stores/user.d.ts +40 -0
  372. package/esm/svcs/AppSvc.d.ts +46 -0
  373. package/esm/svcs/ComponentSvc.d.ts +35 -0
  374. package/esm/svcs/ControlSvc.d.ts +42 -0
  375. package/esm/svcs/I18nSvc.d.ts +79 -0
  376. package/esm/svcs/LayoutSvc.d.ts +18 -0
  377. package/esm/svcs/PageSvc.d.ts +38 -0
  378. package/esm/svcs/RouterSvc.d.ts +23 -0
  379. package/esm/svcs/StandardSvc.d.ts +34 -0
  380. package/esm/svcs/UploadSvc.d.ts +10 -0
  381. package/esm/svcs/WindowSvc.d.ts +27 -0
  382. package/esm/svcs/index.d.ts +21 -0
  383. package/package.json +18 -15
  384. package/dist/Article-BbJTCOkX.js +0 -196
  385. package/dist/Autocomplete-C3d_yunJ.js +0 -52
  386. package/dist/Autocomplete-H0_xgWsN.js +0 -53
  387. package/dist/Callback-oU2ap8v9.js +0 -24
  388. package/dist/Cascader-ClSabtOx.js +0 -45
  389. package/dist/Cascader-DRErYyH6.js +0 -84
  390. package/dist/Code-BgqGTky1.js +0 -40
  391. package/dist/Code-Cv1pm18C.js +0 -4
  392. package/dist/Code.vue_vue_type_style_index_0_lang-IHZepbsi.js +0 -63
  393. package/dist/Column-Dgs0SdWX.js +0 -71
  394. package/dist/Comment-Cy6lpmqk.js +0 -102
  395. package/dist/Compare-5cTiHEdo.js +0 -30
  396. package/dist/Compare-CWeuLw9n.js +0 -60
  397. package/dist/Copy-C6WEtRhC.js +0 -47
  398. package/dist/Custom-QDHQJoxC.js +0 -53
  399. package/dist/DataImport.vue_vue_type_script_setup_true_lang-bI0HP38b.js +0 -174
  400. package/dist/Delete-B-k4PTWk.js +0 -59
  401. package/dist/Dictionary-BUmany6B.js +0 -59
  402. package/dist/Image-Dps_vfcZ.js +0 -9
  403. package/dist/Index-Cgets8DK.js +0 -4
  404. package/dist/Index-DGnHsBz4.js +0 -4
  405. package/dist/Index-DupYRMRj.js +0 -172
  406. package/dist/List-Om6OdbbR.js +0 -76
  407. package/dist/Maintaince-CrfEX-5B.js +0 -19
  408. package/dist/Paging-C_StoYuZ.js +0 -94
  409. package/dist/QueryApi-BrYyIwqV.js +0 -18
  410. package/dist/Register-DGhIjRDD.js +0 -200
  411. package/dist/RichText-B3Br1uzj.js +0 -105
  412. package/dist/Text-BFZc81F2.js +0 -4
  413. package/dist/Text.vue_vue_type_style_index_0_lang-Cw7QQbFk.js +0 -56
  414. package/dist/TextLink-C_lFWaZv.js +0 -66
  415. package/dist/Timeline-DaaRGmGd.js +0 -57
  416. package/dist/Tree-Cmp10DWw.js +0 -297
  417. package/dist/TreeNode-BM8-GyIc.js +0 -38
  418. package/dist/Upload-F6HXe76H.js +0 -71
  419. package/dist/Upload-kwwpaDe6.js +0 -147
  420. package/dist/main-B8RC13GR.js +0 -6528
  421. package/dist/vendor-@monaco-editor-DKC4UNw_.js +0 -258
  422. package/dist/vendor-clone-BPtCWdXG.js +0 -134
  423. package/dist/vendor-crypto-js-ftX_aBC-.js +0 -4995
  424. package/dist/vendor-file-saver-CytTIJ-3.js +0 -74
  425. package/dist/vendor-moment-h96o7c8I.js +0 -2578
  426. package/dist/vendor-sprintf-js-BPTdvBYM.js +0 -148
  427. package/dist/vendor-state-local-CEworIRt.js +0 -131
  428. package/dist/vendor-underscore-DVTek3G4.js +0 -1070
  429. package/dist/vendor-underscore.string-BEHfJwHl.js +0 -425
  430. package/dist/vendor-util-deprecate-DzpNkCzj.js +0 -28
  431. package/esm/services/ServiceFactory.d.ts +0 -3
  432. package/esm/types/PcOptions.d.ts +0 -18
  433. package/esm/types/index.d.ts +0 -2
@@ -0,0 +1,67 @@
1
+ import { defineComponent as M, toRefs as b, onMounted as D, computed as h, openBlock as l, createBlock as f, unref as e, withCtx as k, createElementBlock as o, Fragment as E, renderList as H, normalizeClass as L, createCommentVNode as u, createElementVNode as a, toDisplayString as i, resolveDynamicComponent as S, createVNode as $, createTextVNode as s } from "vue";
2
+ import { x as z, $ as x, s as F, H as P } from "./main-CVY9fyTk.js";
3
+ import "vue-router";
4
+ import "./vendor-intro.js-DwWqhM1v.js";
5
+ const R = {
6
+ key: 0,
7
+ class: "menus"
8
+ }, T = ["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), W = /* @__PURE__ */ M({
12
+ __name: "Column",
13
+ props: {
14
+ url: {},
15
+ view: {}
16
+ },
17
+ emits: ["loaded", "navigate"],
18
+ setup(C, { expose: y, emit: g }) {
19
+ let c = g, w = C, { url: m, view: d } = b(w), B = (t) => !0, N = (t) => !0, U = () => {
20
+ p();
21
+ }, p = () => {
22
+ c("loaded", n.value.title);
23
+ }, V = (t) => {
24
+ let v = x.getUrl(t.url, { m: t.id });
25
+ c("navigate", v);
26
+ };
27
+ D(() => {
28
+ p();
29
+ });
30
+ let n = h(() => z.getMenuByUrl(m.value)), _ = h(() => x.getPath(m.value));
31
+ return y({ shouldLoad: B, shouldSpin: N, refresh: U }), (t, v) => (l(), f(e(F), null, {
32
+ default: k(() => [
33
+ e(n) ? (l(), o("div", R, [
34
+ (l(!0), o(E, null, H(e(n).children, (r) => (l(), o("div", {
35
+ class: "menu",
36
+ key: r.id,
37
+ onClick: (I) => e(V)(r)
38
+ }, [
39
+ r.icon ? (l(), o("i", {
40
+ key: 0,
41
+ class: L(r.icon)
42
+ }, null, 2)) : u("", !0),
43
+ a("div", j, i(r.title), 1)
44
+ ], 8, T))), 128))
45
+ ])) : u("", !0),
46
+ (l(), f(S(e(d)))),
47
+ (!e(n) || e(n).children == 0) && !e(d) ? (l(), o("div", q, [
48
+ $(e(P), 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
+ W 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 $ } from "vue";
2
+ import { $ as q } from "./main-CVY9fyTk.js";
3
+ const D = { class: "ha-comment-layout" }, F = { class: "comment-add" }, L = { class: "add-footer" }, M = { class: "footer-title" }, R = /* @__PURE__ */ t("i", { class: "el-icon-s-comment" }, null, -1), U = { 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", D, [
37
+ t("div", F, [
38
+ v(g, { type: "textarea" }),
39
+ t("div", L, [
40
+ t("div", M, [
41
+ R,
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", U, [
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(q).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"])) : $("", !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,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-CVY9fyTk.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,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-CVY9fyTk.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,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 { w as a } from "./main-CVY9fyTk.js";
3
+ import { C } from "./vendor-clipboard-DjQPoCBJ.js";
4
+ const k = {
5
+ key: 1,
6
+ class: "copy-container"
7
+ }, w = /* @__PURE__ */ c("img", {
8
+ src: "/default/images/clippy.svg",
9
+ alt: "复制文本"
10
+ }, null, -1), J = [
11
+ w
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: h, field: r, set: N, row: S, modelValue: i } = _(u), d = (e) => JSON.stringify(JSON.parse(e), null, 2), f = () => o.value && r.value.control.type == "Json" ? d(o.value).replace(/"/g, "'") : o.value, s = () => {
24
+ let e = new C(".btn-copy", { text: () => f() });
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
+ (...m) => l(s) && l(s)(...m))
36
+ }, J),
37
+ n(e.$slots, "default")
38
+ ])) : n(e.$slots, "default", { key: 0 });
39
+ }
40
+ });
41
+ export {
42
+ E as default
43
+ };
@@ -0,0 +1,47 @@
1
+ import { defineComponent as w, toRefs as x, ref as z, openBlock as n, createBlock as i, KeepAlive as L, resolveDynamicComponent as R, unref as o } from "vue";
2
+ import { $ as B, w as N, i as S } from "./main-CVY9fyTk.js";
3
+ const A = /* @__PURE__ */ w({
4
+ __name: "Custom",
5
+ props: {
6
+ url: {},
7
+ view: {}
8
+ },
9
+ emits: ["loaded", "navigate"],
10
+ setup(s, { expose: u, emit: f }) {
11
+ let a = f, v = s, { url: d, view: m } = x(v), t = z(), { t: p } = S, c = (e, r) => {
12
+ if (!t.value || !t.value.keyboard)
13
+ return !1;
14
+ t.value.keyboard(e, r);
15
+ }, h = (e) => !0, g = (e) => !0, _ = () => {
16
+ var r;
17
+ let e = (r = t.value) == null ? void 0 : r.refresh;
18
+ if (!e) {
19
+ let l = B.getPath(d.value);
20
+ N.notify(p("common.tips"), `要实现自定义刷新功能,请在组件 ${l} 内部定义并暴露refresh方法即可`, "warning");
21
+ return;
22
+ }
23
+ e();
24
+ }, b = (e) => {
25
+ var l;
26
+ let r = (l = t.value) == null ? void 0 : l.beforeClose;
27
+ r && r(e);
28
+ }, k = (e) => {
29
+ t.value && t.value.resize && t.value.resize(e);
30
+ }, y = (e) => {
31
+ a("loaded", e);
32
+ }, C = (e) => {
33
+ a("navigate", e);
34
+ };
35
+ return u({ shouldLoad: h, shouldSpin: g, refresh: _, beforeClose: b, keyboard: c, resize: k }), (e, r) => (n(), i(L, null, [
36
+ (n(), i(R(o(m)), {
37
+ ref_key: "customRef",
38
+ ref: t,
39
+ onLoaded: o(y),
40
+ onNavigate: o(C)
41
+ }, null, 40, ["onLoaded", "onNavigate"]))
42
+ ], 1024));
43
+ }
44
+ });
45
+ export {
46
+ A as default
47
+ };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./DataExport.vue_vue_type_script_setup_true_lang-C9t5j7Gi.js";
1
+ import { _ as f } from "./DataExport.vue_vue_type_script_setup_true_lang-B0lK_clm.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,10 +1,6 @@
1
- import { defineComponent as U, toRefs as q, ref as g, resolveComponent as a, openBlock as D, createBlock as F, unref as e, isRef as R, withCtx as i, createElementVNode as f, toDisplayString as _, createVNode as r, createTextVNode as c } from "vue";
2
- import "./vendor-@monaco-editor-DKC4UNw_.js";
3
- import "./vendor-moment-h96o7c8I.js";
4
- import { h as S, F as H, m as T } from "./main-B8RC13GR.js";
5
- import "xlsx-js-style";
6
- import "./vendor-crypto-js-ftX_aBC-.js";
7
- const j = { class: "footer-content" }, L = /* @__PURE__ */ U({
1
+ import { defineComponent as B, toRefs as h, ref as g, resolveComponent as r, openBlock as D, createBlock as R, unref as e, isRef as S, withCtx as s, createElementVNode as f, toDisplayString as _, createVNode as a, createTextVNode as c } from "vue";
2
+ import { q as T, U as j, w as z } from "./main-CVY9fyTk.js";
3
+ const A = { class: "footer-content" }, H = /* @__PURE__ */ B({
8
4
  __name: "DataExport",
9
5
  props: {
10
6
  route: { type: String },
@@ -13,61 +9,61 @@ const j = { class: "footer-content" }, L = /* @__PURE__ */ U({
13
9
  },
14
10
  emits: ["close", "update:modelValue"],
15
11
  setup(v, { emit: V }) {
16
- let x = V, C = v, { route: y, pageCount: m, modelValue: p } = q(C), u = g(!1), o = g({ start: 1, end: 100 }), b = (l, t, s) => {
17
- o.value.end < o.value.start ? s(new Error("结束页不能小于起始页")) : s();
18
- }, E = () => {
12
+ let x = V, C = v, { route: y, pageCount: d, modelValue: u } = h(C), p = g(!1), o = g({ start: 1, end: 100 }), b = (l, t, i) => {
13
+ o.value.end < o.value.start ? i(new Error("结束页不能小于起始页")) : i();
14
+ }, w = () => {
19
15
  x("update:modelValue", !1);
20
- }, h = () => {
21
- u.value = !0, S.get(y.value, o.value).then(({ data: l, message: t }) => {
22
- H.save(l.content, l.name), T.success(t);
16
+ }, E = () => {
17
+ p.value = !0, T.get(y.value, o.value).then(({ data: l, message: t }) => {
18
+ j.save(l.content, l.name), z.success(t);
23
19
  }).finally(() => {
24
- u.value = !1;
20
+ p.value = !1;
25
21
  });
26
22
  };
27
23
  return (l, t) => {
28
- const s = a("el-input-number"), d = a("el-form-item"), k = a("el-form"), N = a("el-divider"), w = a("el-button"), B = a("el-dialog");
29
- return D(), F(B, {
24
+ const i = r("el-input-number"), m = r("el-form-item"), U = r("el-form"), k = r("el-divider"), N = r("el-button"), q = r("el-dialog");
25
+ return D(), R(q, {
30
26
  class: "data-export",
31
27
  draggable: "",
32
28
  "destroy-on-close": "",
33
29
  title: l.t("paging.data_export"),
34
30
  width: "350px",
35
- onClose: e(E),
36
- modelValue: e(p),
37
- "onUpdate:modelValue": t[3] || (t[3] = (n) => R(p) ? p.value = n : p = n)
31
+ onClose: e(w),
32
+ modelValue: e(u),
33
+ "onUpdate:modelValue": t[3] || (t[3] = (n) => S(u) ? u.value = n : u = n)
38
34
  }, {
39
- footer: i(() => [
35
+ footer: s(() => [
40
36
  f("div", {
41
37
  class: "footer-operation",
42
- onClick: t[2] || (t[2] = (n) => e(o).end = e(m))
43
- }, _(l.t("paging.total_page", [e(m)])), 1),
44
- f("div", j, [
45
- r(w, {
38
+ onClick: t[2] || (t[2] = (n) => e(o).end = e(d))
39
+ }, _(l.t("paging.total_page", [e(d)])), 1),
40
+ f("div", A, [
41
+ a(N, {
46
42
  type: "primary",
47
43
  plain: "",
48
- loading: e(u),
49
- onClick: e(h)
44
+ loading: e(p),
45
+ onClick: e(E)
50
46
  }, {
51
- default: i(() => [
47
+ default: s(() => [
52
48
  c(_(l.t("paging.export")), 1)
53
49
  ]),
54
50
  _: 1
55
51
  }, 8, ["loading", "onClick"])
56
52
  ])
57
53
  ]),
58
- default: i(() => [
59
- r(k, {
54
+ default: s(() => [
55
+ a(U, {
60
56
  ref: "export",
61
57
  inline: "",
62
58
  model: e(o)
63
59
  }, {
64
- default: i(() => [
65
- r(d, {
60
+ default: s(() => [
61
+ a(m, {
66
62
  prop: "start",
67
63
  rules: [{ required: !0, message: "起始页不能为空", trigger: "change" }]
68
64
  }, {
69
- default: i(() => [
70
- r(s, {
65
+ default: s(() => [
66
+ a(i, {
71
67
  "controls-position": "right",
72
68
  min: 1,
73
69
  step: 100,
@@ -78,18 +74,18 @@ const j = { class: "footer-content" }, L = /* @__PURE__ */ U({
78
74
  _: 1
79
75
  }),
80
76
  c(" - "),
81
- r(d, {
77
+ a(m, {
82
78
  prop: "end",
83
79
  rules: [
84
80
  { required: !0, message: "结束页不能为空", trigger: "change" },
85
81
  { validator: e(b), trigger: "change" }
86
82
  ]
87
83
  }, {
88
- default: i(() => [
89
- r(s, {
84
+ default: s(() => [
85
+ a(i, {
90
86
  "controls-position": "right",
91
87
  min: e(o).start,
92
- max: e(m),
88
+ max: e(d),
93
89
  step: 100,
94
90
  modelValue: e(o).end,
95
91
  "onUpdate:modelValue": t[1] || (t[1] = (n) => e(o).end = n)
@@ -100,7 +96,7 @@ const j = { class: "footer-content" }, L = /* @__PURE__ */ U({
100
96
  ]),
101
97
  _: 1
102
98
  }, 8, ["model"]),
103
- r(N)
99
+ a(k)
104
100
  ]),
105
101
  _: 1
106
102
  }, 8, ["title", "onClose", "modelValue"]);
@@ -108,5 +104,5 @@ const j = { class: "footer-content" }, L = /* @__PURE__ */ U({
108
104
  }
109
105
  });
110
106
  export {
111
- L as _
107
+ H as _
112
108
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./DataImport.vue_vue_type_script_setup_true_lang-bI0HP38b.js";
1
+ import { _ as f } from "./DataImport.vue_vue_type_script_setup_true_lang-5qkPOt4L.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -0,0 +1,172 @@
1
+ import { defineComponent as W, toRefs as X, ref as i, resolveComponent as s, openBlock as h, createBlock as y, unref as e, isRef as R, withCtx as a, createElementVNode as v, createVNode as r, createTextVNode as m, toDisplayString as u, createCommentVNode as Y, createElementBlock as Z, Fragment as $, renderList as ee } from "vue";
2
+ import { l as le, n as oe, q as k, U as F, w as C, m as te } from "./main-CVY9fyTk.js";
3
+ const ae = /* @__PURE__ */ v("i", { class: "fa fa-upload" }, null, -1), ne = { style: { color: "red" } }, re = { class: "footer-operation" }, se = { class: "footer-content" }, ue = /* @__PURE__ */ v("i", { class: "fa fa-download" }, null, -1), ce = /* @__PURE__ */ W({
4
+ __name: "DataImport",
5
+ props: {
6
+ next: Object,
7
+ modelValue: Boolean
8
+ },
9
+ emits: ["close", "succeed", "update:modelValue"],
10
+ setup(N, { emit: P }) {
11
+ let x = P, T = N, { next: B, modelValue: g } = X(T), b = i(!1), U = i(), E = {}, w = i([]), d = i([]), c = i(), _ = i(), V = i({ clear: !1 }), q = () => {
12
+ x("close");
13
+ }, A = async (l) => {
14
+ let o = B.value.import.route;
15
+ U.value = le.api.url + o;
16
+ let n = new oe();
17
+ n.path = o, n.method = "POST", await k.onRequest(n);
18
+ let p = n.getHeader("Authorization");
19
+ return E.Authorization = p, F.isExcel(l.name) ? Promise.resolve() : (C.error("请上传正确的Excel文件"), Promise.reject());
20
+ }, L = (l, o) => !0, j = (l) => {
21
+ }, z = (l, o, n) => {
22
+ w.value = [o], k.handleResponseBody(l, !0).then((p) => {
23
+ p.code == "ValidateError" ? (d.value = te.groupByArray(p.data, (f) => f.table), _.value = d.value[0], c.value = d.value[0].key) : (d.value = [], _.value = null, c.value = null);
24
+ }).catch(() => {
25
+ w.value = [];
26
+ });
27
+ }, D = (l, o, n) => (C.error(l.message), Promise.resolve()), O = (l) => {
28
+ _.value = d.value[l];
29
+ }, S = () => {
30
+ b.value = !0, k.get(B.value.import.route).then(({ data: l, message: o }) => {
31
+ F.save(l.content, l.name), C.success(o);
32
+ }).finally(() => {
33
+ b.value = !1;
34
+ });
35
+ }, G = () => {
36
+ x("update:modelValue", !1);
37
+ };
38
+ return (l, o) => {
39
+ const n = s("el-button"), p = s("el-upload"), f = s("el-table-column"), H = s("el-table"), I = s("el-radio"), J = s("el-radio-group"), K = s("el-divider"), M = s("el-checkbox"), Q = s("el-dialog");
40
+ return h(), y(Q, {
41
+ draggable: "",
42
+ "destroy-on-close": "",
43
+ title: l.t("paging.data_import"),
44
+ onClose: e(q),
45
+ modelValue: e(g),
46
+ "onUpdate:modelValue": o[2] || (o[2] = (t) => R(g) ? g.value = t : g = t)
47
+ }, {
48
+ footer: a(() => [
49
+ v("div", re, [
50
+ r(M, {
51
+ modelValue: e(V).clear,
52
+ "onUpdate:modelValue": o[1] || (o[1] = (t) => e(V).clear = t)
53
+ }, {
54
+ default: a(() => [
55
+ m(u(l.t("paging.cover_existing_data")), 1)
56
+ ]),
57
+ _: 1
58
+ }, 8, ["modelValue"])
59
+ ]),
60
+ v("div", se, [
61
+ r(n, {
62
+ onClick: e(S),
63
+ loading: e(b)
64
+ }, {
65
+ icon: a(() => [
66
+ ue
67
+ ]),
68
+ default: a(() => [
69
+ m(" " + u(l.t("paging.template")), 1)
70
+ ]),
71
+ _: 1
72
+ }, 8, ["onClick", "loading"]),
73
+ r(n, {
74
+ type: "primary",
75
+ plain: "",
76
+ onClick: e(G)
77
+ }, {
78
+ default: a(() => [
79
+ m(u(l.t("common.complete")), 1)
80
+ ]),
81
+ _: 1
82
+ }, 8, ["onClick"])
83
+ ])
84
+ ]),
85
+ default: a(() => [
86
+ r(p, {
87
+ action: e(U),
88
+ headers: e(E),
89
+ data: e(V),
90
+ "file-list": e(w),
91
+ "before-upload": e(A),
92
+ "before-remove": e(L),
93
+ "on-preview": e(j),
94
+ "on-success": e(z),
95
+ "on-error": e(D)
96
+ }, {
97
+ default: a(() => [
98
+ r(n, null, {
99
+ icon: a(() => [
100
+ ae
101
+ ]),
102
+ default: a(() => [
103
+ m(" " + u(l.t("paging.click_upload")), 1)
104
+ ]),
105
+ _: 1
106
+ })
107
+ ]),
108
+ _: 1
109
+ }, 8, ["action", "headers", "data", "file-list", "before-upload", "before-remove", "on-preview", "on-success", "on-error"]),
110
+ e(_) ? (h(), y(H, {
111
+ key: 0,
112
+ data: e(_).value,
113
+ "show-overflow-tooltip": "",
114
+ "max-height": "400",
115
+ style: { width: "100%" }
116
+ }, {
117
+ default: a(() => [
118
+ r(f, {
119
+ prop: "index",
120
+ label: "行号",
121
+ width: "100"
122
+ }, {
123
+ default: a((t) => [
124
+ m(" 第" + u(t.row.index + 1) + "行 ", 1)
125
+ ]),
126
+ _: 1
127
+ }),
128
+ r(f, {
129
+ prop: "field",
130
+ label: "字段",
131
+ width: "150"
132
+ }),
133
+ r(f, {
134
+ prop: "message",
135
+ label: "错误消息"
136
+ }, {
137
+ default: a((t) => [
138
+ v("span", ne, u(t.row.message), 1)
139
+ ]),
140
+ _: 1
141
+ })
142
+ ]),
143
+ _: 1
144
+ }, 8, ["data"])) : Y("", !0),
145
+ r(J, {
146
+ onChange: e(O),
147
+ modelValue: e(c),
148
+ "onUpdate:modelValue": o[0] || (o[0] = (t) => R(c) ? c.value = t : c = t),
149
+ style: { "margin-top": "10px" }
150
+ }, {
151
+ default: a(() => [
152
+ (h(!0), Z($, null, ee(e(d), (t) => (h(), y(I, {
153
+ value: t.key
154
+ }, {
155
+ default: a(() => [
156
+ m(u(t.key) + "(" + u(t.value.length) + ")", 1)
157
+ ]),
158
+ _: 2
159
+ }, 1032, ["value"]))), 256))
160
+ ]),
161
+ _: 1
162
+ }, 8, ["onChange", "modelValue"]),
163
+ r(K)
164
+ ]),
165
+ _: 1
166
+ }, 8, ["title", "onClose", "modelValue"]);
167
+ };
168
+ }
169
+ });
170
+ export {
171
+ ce as _
172
+ };