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