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,293 @@
1
+ import { defineComponent as xe, toRefs as Ce, ref as v, onMounted as ge, onUnmounted as we, computed as L, watch as Ne, resolveComponent as D, openBlock as i, createBlock as C, unref as e, withCtx as f, createElementVNode as c, createElementBlock as h, createVNode as _, Fragment as Ke, renderList as Se, withDirectives as Re, resolveDynamicComponent as $e, createCommentVNode as g, createTextVNode as w, toDisplayString as k, vShow as De, nextTick as F } from "vue";
2
+ import { k as M, c as Ie, h as A, v as Te, y as Ve, _ as G, i as qe, w as Le, d as H, q as J, m as Q, $ as Ue, Z as Be } from "./main-CVY9fyTk.js";
3
+ import "vue-router";
4
+ import "./vendor-intro.js-DwWqhM1v.js";
5
+ import { _ as Ee } from "./Index.vue_vue_type_script_setup_true_lang-B-sM48XO.js";
6
+ const ze = { class: "tree-left" }, Oe = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), Pe = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), Ze = /* @__PURE__ */ c("i", { class: "fa fa-copy" }, null, -1), je = /* @__PURE__ */ c("i", { class: "fa fa-trash" }, null, -1), Fe = {
7
+ key: 2,
8
+ class: "ha-empty"
9
+ }, Me = {
10
+ key: 3,
11
+ class: "tree-add"
12
+ }, Ae = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), Ye = /* @__PURE__ */ xe({
13
+ __name: "Tree",
14
+ props: {
15
+ searchData: {},
16
+ route: {},
17
+ module: {},
18
+ schema: {},
19
+ table: {},
20
+ layout: {},
21
+ next: {},
22
+ set: {}
23
+ },
24
+ emits: ["refresh", "succeed", "search", "navigate"],
25
+ setup(W, { expose: X, emit: Y }) {
26
+ let b = Y, ee = W, { route: N, module: U, schema: le, table: m, layout: o, next: y, set: Ge, searchData: te } = Ce(ee), K = v(), B = v(), x = v(), S = v(), E = v(), ae = v(), { t: p, t_module: z } = qe, d = v({ type: null, name: null, url: null, visible: !1 }), R = v(), I = null, a = v({ width: 250, currentNode: null, currentKey: null, expandedKeys: [], scrollTop: 0, visible: !1 }), O = () => {
27
+ if (!K.value)
28
+ return;
29
+ let l = K.value.$el.querySelector(".is-context");
30
+ l && l.classList.remove("is-context");
31
+ }, oe = (l, t, r, n) => {
32
+ O(), n.vnode.el.classList.add("is-context"), a.value.currentNode = t, I.show(l);
33
+ }, $ = (l) => {
34
+ let t = o.value.parentId, r = { [t]: null };
35
+ l == "sibling" ? r[t] = a.value.currentNode[t] : l == "child" && (r[t] = a.value.currentNode[o.value.id]);
36
+ let n = M.encode(r), u = `${y.value.insert.route}?default=${n}`;
37
+ l == "copy" && (u += "&id=" + a.value.currentNode[o.value.id]), d.value.url = u, d.value.visible = !0;
38
+ }, P = () => {
39
+ let l = a.value.currentNode[o.value.id], t = a.value.currentNode[o.value.text], r = p("common.confirm_delete", t);
40
+ Le.confirm(p("common.tips"), r, { type: "warning" }).then(() => {
41
+ re(l);
42
+ });
43
+ }, re = (l) => {
44
+ let t = o.value.id, r = o.value.data, n = H.getNextById(l, t, r, "Children");
45
+ J.post(y.value.delete.route, [l]).then(() => {
46
+ H.removeById(l, t, r, "Children");
47
+ let u = null;
48
+ n && (u = n[t], a.value.currentKey = u, a.value.expandedKeys.push(u)), b("succeed", () => {
49
+ T(a.value.scrollTop);
50
+ });
51
+ });
52
+ }, ne = (l) => {
53
+ a.value.scrollTop = l.scrollTop;
54
+ }, T = (l = null, t = null) => {
55
+ a.value.visible = !1, F(() => {
56
+ a.value.visible = !0, F(() => {
57
+ if (l == null) {
58
+ let r = K.value.$el.querySelector(".el-tree-node.is-current");
59
+ r && r.scrollIntoView({ block: "center", behavior: "smooth" });
60
+ } else
61
+ S.value.setScrollTop(l);
62
+ t && t();
63
+ });
64
+ });
65
+ }, ue = () => {
66
+ d.value.visible = !1, b("succeed", () => {
67
+ T(a.value.scrollTop);
68
+ });
69
+ }, se = (l) => {
70
+ d.value.type = l.module.type, d.value.name = l.module.name;
71
+ }, de = () => {
72
+ d.value.visible = !1;
73
+ }, ie = (l, t, r) => {
74
+ O();
75
+ let n = l[o.value.id];
76
+ if (Q.pushIfNotExist(a.value.expandedKeys, n), n == a.value.currentKey)
77
+ x.value.refresh();
78
+ else {
79
+ a.value.currentKey = n, R.value = V();
80
+ let u = Ue.getUrl(N.value.fullPath, { id: n });
81
+ b("navigate", u);
82
+ }
83
+ }, ce = (l, t, r) => {
84
+ Q.remove(a.value.expandedKeys, l[o.value.id]);
85
+ }, ve = (l, t, r, n) => {
86
+ let u = {
87
+ table: o.value.table,
88
+ id: l.data[o.value.id],
89
+ targetId: t.data[o.value.id],
90
+ position: r
91
+ };
92
+ J.post(o.value.operation.route, u).then((j) => {
93
+ });
94
+ }, fe = (l) => {
95
+ b("search", l);
96
+ }, me = (l) => {
97
+ }, pe = (l, t) => l ? t[m.value.text].indexOf(l) !== -1 : !0, ye = () => {
98
+ b("refresh");
99
+ }, he = (l, t) => {
100
+ if (!x.value || !x.value.keyboard)
101
+ return !1;
102
+ x.value.keyboard(l, t);
103
+ }, _e = () => {
104
+ S.value.update();
105
+ }, V = () => {
106
+ let l = y.value[o.value.page.toLowerCase()].route;
107
+ return a.value.currentKey && (l += "?id=" + a.value.currentKey), l;
108
+ }, ke = () => {
109
+ let l = N.value.query.id, t;
110
+ l == null ? t = o.value.updateKey : t = A.convert(l, Z.value.type), t && (a.value.currentKey = t, a.value.expandedKeys = [t], R.value = V()), T(null, () => {
111
+ I = new Be(B.value, [S.value.$el, E.value]);
112
+ });
113
+ };
114
+ ge(() => {
115
+ ke();
116
+ }), we(() => {
117
+ I.dispose();
118
+ }), L(() => {
119
+ let l = { [o.value.parentId]: N.value.query.id };
120
+ return M.encode(l);
121
+ });
122
+ let be = L(() => {
123
+ let l = `/${m.value.name}/tree-node`;
124
+ return Ie.getComponent(l, "partial", "tree-node");
125
+ }), Z = L(() => m.value.fields.find((t) => t.name == o.value.id));
126
+ return Ne(() => N.value, (l, t) => {
127
+ a.value.currentKey = A.convert(l.query.id, Z.value.type), R.value = V();
128
+ }), X({ refresh: ye, keyboard: he, resize: _e }), (l, t) => {
129
+ const r = D("el-scrollbar"), n = D("el-tree"), u = D("el-button"), j = D("el-drawer");
130
+ return i(), C(e(Te), {
131
+ class: "tree",
132
+ width: e(a).width,
133
+ onResize: t[5] || (t[5] = (s) => e(a).width = s)
134
+ }, {
135
+ left: f(() => [
136
+ c("div", ze, [
137
+ e(m).search.length ? (i(), h("div", {
138
+ key: 0,
139
+ ref_key: "searchRef",
140
+ ref: ae,
141
+ class: "tree-search"
142
+ }, [
143
+ _(r, null, {
144
+ default: f(() => [
145
+ (i(!0), h(Ke, null, Se(e(m).search, (s, q) => (i(), h("div", {
146
+ class: "search-field",
147
+ key: q
148
+ }, [
149
+ _(Ee, {
150
+ schema: e(le),
151
+ table: e(m),
152
+ field: s,
153
+ "search-data": e(te),
154
+ onChange: e(me),
155
+ onSubmit: e(fe)
156
+ }, null, 8, ["schema", "table", "field", "search-data", "onChange", "onSubmit"])
157
+ ]))), 128))
158
+ ]),
159
+ _: 1
160
+ })
161
+ ], 512)) : (i(), C(e(Ve), {
162
+ key: 1,
163
+ title: e(z)(e(U).type, e(U).name)
164
+ }, null, 8, ["title"])),
165
+ Re(_(r, {
166
+ ref_key: "scrollbarRef",
167
+ ref: S,
168
+ class: "tree-content",
169
+ onScroll: e(ne)
170
+ }, {
171
+ default: f(() => [
172
+ e(a).visible ? (i(), C(n, {
173
+ key: 0,
174
+ ref_key: "treeRef",
175
+ ref: K,
176
+ "highlight-current": "",
177
+ "show-checkbox": e(o).checkbox,
178
+ "expand-on-click-node": !1,
179
+ draggable: !!e(o).operation,
180
+ data: e(o).data,
181
+ "node-key": e(o).id,
182
+ "current-node-key": e(a).currentKey,
183
+ props: { children: "Children", label: e(o).text },
184
+ "filter-node-method": e(pe),
185
+ "default-expanded-keys": e(a).expandedKeys,
186
+ onNodeClick: e(ie),
187
+ onNodeContextmenu: e(oe),
188
+ onNodeCollapse: e(ce),
189
+ onNodeDrop: e(ve)
190
+ }, {
191
+ default: f(({ node: s, data: q }) => [
192
+ (i(), C($e(e(be)), {
193
+ table: e(m),
194
+ layout: e(o),
195
+ row: q,
196
+ node: s
197
+ }, null, 8, ["table", "layout", "row", "node"]))
198
+ ]),
199
+ _: 1
200
+ }, 8, ["show-checkbox", "draggable", "data", "node-key", "current-node-key", "props", "filter-node-method", "default-expanded-keys", "onNodeClick", "onNodeContextmenu", "onNodeCollapse", "onNodeDrop"])) : g("", !0),
201
+ c("ul", {
202
+ ref_key: "menuRef",
203
+ ref: B,
204
+ class: "mouse-context"
205
+ }, [
206
+ c("li", {
207
+ onClick: t[0] || (t[0] = (s) => e($)("child"))
208
+ }, [
209
+ Oe,
210
+ w(k(e(p)("tree.add_sub_item")), 1)
211
+ ]),
212
+ c("li", {
213
+ onClick: t[1] || (t[1] = (s) => e($)("sibling"))
214
+ }, [
215
+ Pe,
216
+ w(k(e(p)("tree.add_same_grade")), 1)
217
+ ]),
218
+ c("li", {
219
+ onClick: t[2] || (t[2] = (s) => e($)("copy"))
220
+ }, [
221
+ Ze,
222
+ w(k(e(p)("common.copy")), 1)
223
+ ]),
224
+ e(y).delete ? (i(), h("li", {
225
+ key: 0,
226
+ onClick: t[3] || (t[3] = //@ts-ignore
227
+ (...s) => e(P) && e(P)(...s))
228
+ }, [
229
+ je,
230
+ w(k(e(p)("common.delete")), 1)
231
+ ])) : g("", !0)
232
+ ], 512)
233
+ ]),
234
+ _: 1
235
+ }, 8, ["onScroll"]), [
236
+ [De, e(o).data.length]
237
+ ]),
238
+ e(o).data.length ? g("", !0) : (i(), h("div", Fe, k(e(p)("common.no_data")), 1)),
239
+ !e(o).data.length && e(y).insert ? (i(), h("div", Me, [
240
+ _(u, {
241
+ type: "primary",
242
+ onClick: e($)
243
+ }, {
244
+ icon: f(() => [
245
+ Ae
246
+ ]),
247
+ default: f(() => [
248
+ w(" " + k(e(y).insert.title), 1)
249
+ ]),
250
+ _: 1
251
+ }, 8, ["onClick"])
252
+ ])) : g("", !0)
253
+ ])
254
+ ]),
255
+ default: f(() => [
256
+ c("div", {
257
+ ref_key: "detailRef",
258
+ ref: E,
259
+ class: "tree-detail"
260
+ }, [
261
+ e(a).currentKey ? (i(), C(e(G), {
262
+ key: 0,
263
+ ref_key: "singleRef",
264
+ ref: x,
265
+ url: e(R)
266
+ }, null, 8, ["url"])) : g("", !0)
267
+ ], 512),
268
+ _(j, {
269
+ size: "60%",
270
+ "destroy-on-close": "",
271
+ title: e(z)(e(d).type, e(d).name),
272
+ modelValue: e(d).visible,
273
+ "onUpdate:modelValue": t[4] || (t[4] = (s) => e(d).visible = s)
274
+ }, {
275
+ default: f(() => [
276
+ _(e(G), {
277
+ url: e(d).url,
278
+ onLoaded: e(se),
279
+ onSucceed: e(ue),
280
+ onClose: e(de)
281
+ }, null, 8, ["url", "onLoaded", "onSucceed", "onClose"])
282
+ ]),
283
+ _: 1
284
+ }, 8, ["title", "modelValue"])
285
+ ]),
286
+ _: 1
287
+ }, 8, ["width"]);
288
+ };
289
+ }
290
+ });
291
+ export {
292
+ Ye as default
293
+ };
@@ -1,13 +1,9 @@
1
- import { defineComponent as Q, toRefs as U, ref as m, onMounted as X, watch as Y, nextTick as V, resolveComponent as N, openBlock as k, createElementBlock as w, unref as d, Fragment as K, renderList as L, createBlock as B, withCtx as b, createVNode as Z, createElementVNode as ee, toDisplayString as D, createCommentVNode as H } from "vue";
2
- import "./vendor-@monaco-editor-DKC4UNw_.js";
3
- import "./vendor-moment-h96o7c8I.js";
4
- import "xlsx-js-style";
5
- import { D as le, A as _, T as M, j as S } from "./main-B8RC13GR.js";
6
- import "./vendor-crypto-js-ftX_aBC-.js";
1
+ import { defineComponent as Q, toRefs as U, ref as m, onMounted as X, watch as Y, nextTick as K, resolveComponent as N, openBlock as k, createElementBlock as w, unref as d, Fragment as L, renderList as B, createBlock as M, withCtx as b, createVNode as Z, createElementVNode as ee, toDisplayString as T, createCommentVNode as $ } from "vue";
2
+ import { N as le, m as _, d as F, a as P } from "./main-CVY9fyTk.js";
7
3
  const te = { class: "option-text" }, ae = {
8
4
  key: 0,
9
5
  class: "option-suffix"
10
- }, ce = /* @__PURE__ */ Q({
6
+ }, de = /* @__PURE__ */ Q({
11
7
  __name: "Tree",
12
8
  props: {
13
9
  route: {},
@@ -19,75 +15,75 @@ const te = { class: "option-text" }, ae = {
19
15
  next: {},
20
16
  set: {}
21
17
  },
22
- setup(A, { expose: F }) {
23
- let P = A, { module: $, schema: re, table: u, layout: l, set: f } = U(P), E = m(), T = m([]), x = m(), y = m(0), g = m([]), R = m(!0), j = (e, r, n) => {
24
- let a = f.value[u.value.name].find((o) => o.PermissionId == e[l.value.id]);
18
+ setup(S, { expose: z }) {
19
+ let D = S, { module: W, schema: ne, table: u, layout: l, set: f } = U(D), E = m(), V = m([]), x = m(), y = m(0), g = m([]), R = m(!0), j = (e, n, o) => {
20
+ let a = f.value[u.value.name].find((r) => r.PermissionId == e[l.value.id]);
25
21
  a && (a[l.value.expand] = !0);
26
- }, z = (e, r, n) => {
27
- let a = f.value[u.value.name].find((o) => o.PermissionId == e[l.value.id]);
22
+ }, q = (e, n, o) => {
23
+ let a = f.value[u.value.name].find((r) => r.PermissionId == e[l.value.id]);
28
24
  a && (a[l.value.expand] = !1);
29
- }, W = (e, r, n) => {
30
- let a = r.checkedKeys, o = e[l.value.id], i = _.contains(a, o), c = [], s = [], h = M.getChildren(e, "Children").map((t) => t[l.value.id]), p = f.value[u.value.name].map((t) => t[l.value.checked]), v = _.intersect(h, p);
25
+ }, A = (e, n, o) => {
26
+ let a = n.checkedKeys, r = e[l.value.id], i = _.contains(a, r), c = [], s = [], h = F.getChildren(e, "Children").map((t) => t[l.value.id]), p = f.value[u.value.name].map((t) => t[l.value.checked]), v = _.intersect(h, p);
31
27
  if (i) {
32
28
  c.push(e[l.value.id]);
33
29
  let t = _.except(h, v);
34
30
  t.length && (a.push(...t), c.push(...t));
35
31
  } else
36
- s.push(o), v.length == h.length && (s.push(...h), _.remove(a, h));
37
- c.length && q(c), s.length && G(s);
38
- }, q = (e) => {
39
- for (let r = 0; r < e.length; r++) {
40
- let n = S.getDefaultRow(u.value);
41
- n[l.value.checked] = e[r], f.value[u.value.name].push(n);
42
- }
32
+ s.push(r), v.length == h.length && (s.push(...h), _.remove(a, h));
33
+ c.length && G(c), s.length && H(s);
43
34
  }, G = (e) => {
44
- let r = f.value[u.value.name];
45
35
  for (let n = 0; n < e.length; n++) {
46
- let a = r.find((o) => o[l.value.checked] == e[n]);
47
- _.remove(r, a);
36
+ let o = P.getDefaultRow(u.value);
37
+ o[l.value.checked] = e[n], f.value[u.value.name].push(o);
38
+ }
39
+ }, H = (e) => {
40
+ let n = f.value[u.value.name];
41
+ for (let o = 0; o < e.length; o++) {
42
+ let a = n.find((r) => r[l.value.checked] == e[o]);
43
+ _.remove(n, a);
48
44
  }
49
45
  }, J = (e) => {
50
46
  x.value = e.contentRect.width, y.value = Math.ceil(x.value / 300), I(u.value, l.value, f.value);
51
- }, I = (e, r, n) => {
52
- g.value = S.getLines(r.data, y.value, (a) => [a], () => 1), V(() => {
53
- let a = n[e.name].map((i) => i[r.checked]), o = 0;
47
+ }, I = (e, n, o) => {
48
+ g.value = P.getLines(n.data, y.value, (a) => [a], () => 1), K(() => {
49
+ let a = o[e.name].map((i) => i[n.checked]), r = 0;
54
50
  for (let i = 0; i < g.value.length; i++) {
55
51
  let c = g.value[i];
56
52
  for (let s = 0; s < c.length; s++) {
57
- let C = T.value[o], h = c[s].data, p = M.getFlat(h, "Children").map((t) => t[r.id]), v = _.intersect(p, a);
53
+ let C = V.value[r], h = c[s].data, p = F.getFlat(h, "Children").map((t) => t[n.id]), v = _.intersect(p, a);
58
54
  if (!(v.length == 1 && p.length > 1)) for (let t = 0; t < v.length; t++) {
59
55
  let O = v[t];
60
56
  C.setChecked(O, !0, !1);
61
57
  }
62
- o++;
58
+ r++;
63
59
  }
64
60
  }
65
61
  });
66
62
  };
67
63
  return X(() => {
68
64
  x.value = le.getWidth(E.value), y.value = Math.ceil(x.value / 300), I(u.value, l.value, f.value);
69
- }), Y(() => u.value, (e, r) => {
70
- R.value = !1, V(() => {
65
+ }), Y(() => u.value, (e, n) => {
66
+ R.value = !1, K(() => {
71
67
  R.value = !0, I(e, l.value, f.value);
72
68
  });
73
- }), F({ resize: J }), (e, r) => {
74
- const n = N("el-tree"), a = N("el-col"), o = N("el-row");
69
+ }), z({ resize: J }), (e, n) => {
70
+ const o = N("el-tree"), a = N("el-col"), r = N("el-row");
75
71
  return k(), w("div", {
76
72
  ref_key: "layoutRef",
77
73
  ref: E,
78
74
  class: "ha-tree-layout"
79
75
  }, [
80
- d(R) ? (k(!0), w(K, { key: 0 }, L(d(g), (i, c) => (k(), B(o, null, {
76
+ d(R) ? (k(!0), w(L, { key: 0 }, B(d(g), (i, c) => (k(), M(r, null, {
81
77
  default: b(() => [
82
- (k(!0), w(K, null, L(i, ({ data: s, span: C, index: h }, p) => (k(), B(a, {
78
+ (k(!0), w(L, null, B(i, ({ data: s, span: C, index: h }, p) => (k(), M(a, {
83
79
  span: C,
84
80
  key: `${c}.${p}`
85
81
  }, {
86
82
  default: b(() => [
87
- Z(n, {
83
+ Z(o, {
88
84
  ref_for: !0,
89
85
  ref_key: "treeRefs",
90
- ref: T,
86
+ ref: V,
91
87
  "show-checkbox": "",
92
88
  "highlight-current": "",
93
89
  "default-expand-all": !1,
@@ -95,14 +91,14 @@ const te = { class: "option-text" }, ae = {
95
91
  "node-key": d(l).id,
96
92
  data: s,
97
93
  props: { children: "Children", label: d(l).text },
98
- disabled: d($).type == "Detail",
94
+ disabled: d(W).type == "Detail",
99
95
  onNodeExpand: d(j),
100
- onNodeCollapse: d(z),
101
- onCheck: (v, t) => d(W)(v, t, h)
96
+ onNodeCollapse: d(q),
97
+ onCheck: (v, t) => d(A)(v, t, h)
102
98
  }, {
103
99
  default: b(({ node: v, data: t }) => [
104
- ee("div", te, D(t[d(l).text]), 1),
105
- d(l).suffix ? (k(), w("div", ae, D(t[d(l).suffix]), 1)) : H("", !0)
100
+ ee("div", te, T(t[d(l).text]), 1),
101
+ d(l).suffix ? (k(), w("div", ae, T(t[d(l).suffix]), 1)) : $("", !0)
106
102
  ]),
107
103
  _: 2
108
104
  }, 1032, ["node-key", "data", "props", "disabled", "onNodeExpand", "onNodeCollapse", "onCheck"])
@@ -111,11 +107,11 @@ const te = { class: "option-text" }, ae = {
111
107
  }, 1032, ["span"]))), 128))
112
108
  ]),
113
109
  _: 2
114
- }, 1024))), 256)) : H("", !0)
110
+ }, 1024))), 256)) : $("", !0)
115
111
  ], 512);
116
112
  };
117
113
  }
118
114
  });
119
115
  export {
120
- ce as default
116
+ de as default
121
117
  };
@@ -0,0 +1,34 @@
1
+ import { defineComponent as h, toRefs as x, computed as C, openBlock as a, createElementBlock as i, unref as e, createElementVNode as N, toDisplayString as l, createTextVNode as b, createCommentVNode as s } from "vue";
2
+ import { V as y } from "./main-CVY9fyTk.js";
3
+ const g = ["title"], k = { class: "number" }, V = {
4
+ key: 0,
5
+ class: "option-suffix"
6
+ }, v = {
7
+ key: 1,
8
+ class: "count"
9
+ }, F = /* @__PURE__ */ h({
10
+ __name: "TreeNode",
11
+ props: {
12
+ table: {},
13
+ layout: {},
14
+ row: {},
15
+ node: {}
16
+ },
17
+ setup(d) {
18
+ let u = d, { table: c, layout: n, row: t, node: p } = x(u), f = (o, r) => {
19
+ let _ = (o.parent.data.Children ? o.parent.data.Children.indexOf(r) : o.parent.data.indexOf(r)) + 1;
20
+ return y.padLeft(_, 2, "0");
21
+ }, m = C(() => c.value.fields.find((r) => r.name == n.value.text).control.i18N);
22
+ return (o, r) => (a(), i("div", {
23
+ title: e(t)[e(n).title]
24
+ }, [
25
+ N("span", k, l(e(f)(e(p), e(t))), 1),
26
+ b(" " + l(e(m) ? o.t(e(t)[e(n).text]) : e(t)[e(n).text]) + " ", 1),
27
+ e(n).suffix ? (a(), i("span", V, l(e(t)[e(n).suffix]), 1)) : s("", !0),
28
+ e(t).Children && e(t).Children.length > 0 ? (a(), i("span", v, "(" + l(e(t).Children.length) + ")", 1)) : s("", !0)
29
+ ], 8, g));
30
+ }
31
+ });
32
+ export {
33
+ F as default
34
+ };
@@ -1,12 +1,8 @@
1
- import { defineComponent as k, toRefs as b, ref as C, resolveComponent as h, openBlock as g, createBlock as v, unref as e, withCtx as t, createVNode as a, createSlots as y, createTextVNode as c, toDisplayString as r, createElementVNode as m } from "vue";
2
- import "./vendor-@monaco-editor-DKC4UNw_.js";
3
- import "./vendor-moment-h96o7c8I.js";
4
- import "xlsx-js-style";
5
- import { w as x } from "./main-B8RC13GR.js";
6
- import "./vendor-crypto-js-ftX_aBC-.js";
1
+ import { defineComponent as k, toRefs as b, ref as C, resolveComponent as h, openBlock as g, createBlock as v, unref as e, withCtx as t, createVNode as c, createSlots as y, createTextVNode as i, toDisplayString as r, createElementVNode as m } from "vue";
2
+ import { A as x } from "./main-CVY9fyTk.js";
7
3
  import "vue-router";
8
- import "./vendor-intro.js-CZkClzQO.js";
9
- const N = /* @__PURE__ */ m("i", { class: "fa fa-check" }, null, -1), V = /* @__PURE__ */ m("i", { class: "fa fa-chevron-left" }, null, -1), j = /* @__PURE__ */ k({
4
+ import "./vendor-intro.js-DwWqhM1v.js";
5
+ const N = /* @__PURE__ */ m("i", { class: "fa fa-check" }, null, -1), V = /* @__PURE__ */ m("i", { class: "fa fa-chevron-left" }, null, -1), E = /* @__PURE__ */ k({
10
6
  __name: "Update",
11
7
  props: {
12
8
  table: {},
@@ -18,24 +14,24 @@ const N = /* @__PURE__ */ m("i", { class: "fa fa-check" }, null, -1), V = /* @__
18
14
  setup(p, { expose: u, emit: f }) {
19
15
  let l = f;
20
16
  b(p);
21
- let o = C(!1), i = (n) => {
17
+ let o = C(!1), s = (n) => {
22
18
  o.value = !0, l("submit", n, null, (_) => {
23
19
  o.value = !1;
24
20
  });
25
21
  }, d = () => {
26
22
  l("close");
27
23
  };
28
- return u({ submit: i }), (n, _) => {
29
- const s = h("el-button");
24
+ return u({ submit: s }), (n, _) => {
25
+ const a = h("el-button");
30
26
  return g(), v(e(x), { padding: 5 }, {
31
27
  default: t(() => [
32
- a(s, {
28
+ c(a, {
33
29
  type: "primary",
34
30
  loading: e(o),
35
- onClick: e(i)
31
+ onClick: e(s)
36
32
  }, y({
37
33
  default: t(() => [
38
- c(" " + r(n.t("common.confirm")), 1)
34
+ i(" " + r(n.t("common.confirm")), 1)
39
35
  ]),
40
36
  _: 2
41
37
  }, [
@@ -47,12 +43,12 @@ const N = /* @__PURE__ */ m("i", { class: "fa fa-check" }, null, -1), V = /* @__
47
43
  key: "0"
48
44
  }
49
45
  ]), 1032, ["loading", "onClick"]),
50
- a(s, { onClick: e(d) }, {
46
+ c(a, { onClick: e(d) }, {
51
47
  icon: t(() => [
52
48
  V
53
49
  ]),
54
50
  default: t(() => [
55
- c(" " + r(n.t("common.back")), 1)
51
+ i(" " + r(n.t("common.back")), 1)
56
52
  ]),
57
53
  _: 1
58
54
  }, 8, ["onClick"])
@@ -63,5 +59,5 @@ const N = /* @__PURE__ */ m("i", { class: "fa fa-check" }, null, -1), V = /* @__
63
59
  }
64
60
  });
65
61
  export {
66
- j as default
62
+ E as default
67
63
  };
@@ -0,0 +1,67 @@
1
+ import { defineComponent as k, toRefs as V, ref as r, onMounted as b, computed as w, resolveComponent as x, openBlock as d, createElementBlock as n, Fragment as C, renderList as $, unref as s, createVNode as E, isRef as F, withCtx as y, createElementVNode as B } from "vue";
2
+ import { u as c, $ as I, l as N, U as R, o as j } from "./main-CVY9fyTk.js";
3
+ import "./QueryApi-DjT4dEyX.js";
4
+ import { U as A } from "./UploadApi-Dy7aGZWx.js";
5
+ const H = { class: "text-upload" }, L = ["src", "onClick", "alt"], M = ["src"], P = /* @__PURE__ */ k({
6
+ __name: "Upload",
7
+ props: {
8
+ schema: {},
9
+ table: {},
10
+ field: {},
11
+ set: {},
12
+ row: {},
13
+ modelValue: {}
14
+ },
15
+ setup(v) {
16
+ let f = v, { table: O, field: S, set: T, row: q, modelValue: g } = V(f), i = r(), t = r(!1), p = r([]), m = r(), _ = (e) => {
17
+ t.value = !0, m.value = e.url;
18
+ }, h = () => {
19
+ if (o.value)
20
+ if (c.upload.method == "box")
21
+ A.getUploadToken().then((e) => {
22
+ o.value.split(",").forEach((a) => {
23
+ let l = `${c.upload.address}/api/objects/download?slug=${a}&token=${e}`;
24
+ p.value.push({ name: a, url: l });
25
+ });
26
+ });
27
+ else {
28
+ let e = I.httpOrHttps(o.value) ? o.value : N.api.url + o.value;
29
+ R.isImage(e) ? i.value = e : i.value = j.getFileIcon(e);
30
+ }
31
+ };
32
+ b(() => {
33
+ h();
34
+ });
35
+ let o = w(() => g.value);
36
+ return (e, u) => {
37
+ const a = x("el-dialog");
38
+ return d(), n("div", H, [
39
+ (d(!0), n(C, null, $(s(p), (l, U) => (d(), n("img", {
40
+ class: "detail-image",
41
+ src: l.url,
42
+ onClick: (z) => s(_)(l),
43
+ alt: l.name,
44
+ key: U
45
+ }, null, 8, L))), 128)),
46
+ E(a, {
47
+ draggable: "",
48
+ "append-to-body": "",
49
+ top: "5vh",
50
+ modelValue: s(t),
51
+ "onUpdate:modelValue": u[0] || (u[0] = (l) => F(t) ? t.value = l : t = l)
52
+ }, {
53
+ default: y(() => [
54
+ B("img", {
55
+ width: "100%",
56
+ src: s(m)
57
+ }, null, 8, M)
58
+ ]),
59
+ _: 1
60
+ }, 8, ["modelValue"])
61
+ ]);
62
+ };
63
+ }
64
+ });
65
+ export {
66
+ P as default
67
+ };