halo-pc 1.0.2 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (325) hide show
  1. package/dist/{Article-DievbQaS.js → Article-CjlnxF__.js} +30 -30
  2. package/dist/{Autocomplete-CA9lAfcX.js → Autocomplete-BnQpnnyK.js} +1 -1
  3. package/dist/{Autocomplete-BC9yw7bd.js → Autocomplete-C2FkoM3g.js} +15 -15
  4. package/dist/{Autocomplete-9Dw6RZUJ.js → Autocomplete-Da3h7NqJ.js} +14 -14
  5. package/dist/{CSharp-9TTxxjTd.js → CSharp-Dxc7debp.js} +1 -1
  6. package/dist/{Calender-Cvt1swho.js → Calender-CZajLEjs.js} +1 -1
  7. package/dist/Callback-txUuqwa4.js +24 -0
  8. package/dist/{Cascader-B8DEKaGU.js → Cascader-Bm6ZjZBu.js} +17 -17
  9. package/dist/{Cascader-DCbx-Xfo.js → Cascader-CWljbVzB.js} +3 -3
  10. package/dist/{Checkbox-D928Sp6S.js → Checkbox-CYpA0Abh.js} +1 -1
  11. package/dist/{Checkbox-BPaKVuvv.js → Checkbox-DvjA_jtM.js} +1 -1
  12. package/dist/Code--QwKtfhx.js +4 -0
  13. package/dist/{Code-DS9dwk0s.js → Code-BO3eZKLy.js} +3 -3
  14. package/dist/{Code--ryEmiLJ.js → Code-Dh_cfHCX.js} +3 -3
  15. package/dist/{Code-DVUf05Qa.js → Code-Dn68YB2V.js} +1 -1
  16. package/dist/{Code.vue_vue_type_style_index_0_lang-BQQ6Jatk.js → Code.vue_vue_type_style_index_0_lang-DcAjaZOQ.js} +14 -14
  17. package/dist/{Column-BzM9a1Ai.js → Column-DGnsLHim.js} +11 -11
  18. package/dist/{Comment-5gH4WF9C.js → Comment--Tr_kWBl.js} +19 -19
  19. package/dist/{Compare-7rmSR2Vp.js → Compare-C3rlbp4P.js} +23 -20
  20. package/dist/Compare-DaSyOFIe.js +30 -0
  21. package/dist/{Copy-DcAUXAJq.js → Copy-C5yEC9dX.js} +1 -1
  22. package/dist/{Custom-lSjUvIAb.js → Custom-K9vfVRxn.js} +6 -6
  23. package/dist/{DataExport-Cl2LRmuu.js → DataExport-GCZvxEp5.js} +1 -1
  24. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-DFuUWnTj.js → DataExport.vue_vue_type_script_setup_true_lang-CqT0RHF6.js} +14 -14
  25. package/dist/{DataImport-C8MggQON.js → DataImport-BofV1eCR.js} +1 -1
  26. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-Qgy5ODur.js → DataImport.vue_vue_type_script_setup_true_lang-WCH5ToC7.js} +25 -23
  27. package/dist/{Date-B9tmMFuT.js → Date-BeHsQ2Ow.js} +1 -1
  28. package/dist/{Date-BRd0o_ib.js → Date-DgpsRJon.js} +1 -1
  29. package/dist/{DateRange-Q6osbxfF.js → DateRange-UHosLXP9.js} +4 -4
  30. package/dist/{DateTime-Ce1NnyqQ.js → DateTime-BfNjKDfI.js} +1 -1
  31. package/dist/{DateTime-DSUMg60T.js → DateTime-CHn5T-FB.js} +1 -1
  32. package/dist/{DateTimeRange-Cr_pV6VX.js → DateTimeRange-6TctUiMd.js} +20 -16
  33. package/dist/{Daterange-0qtKemST.js → Daterange-DISQqOFM.js} +4 -4
  34. package/dist/{Decimal-BBYZHN-L.js → Decimal-BB2w4V2o.js} +1 -1
  35. package/dist/Delete-C7gIYWP8.js +59 -0
  36. package/dist/{Detail-DlJeIF7u.js → Detail-D-6vJTGF.js} +13 -13
  37. package/dist/{Dictionary-DH3ukOm9.js → Dictionary-DfEacdox.js} +3 -3
  38. package/dist/{Email-BGc1mV9s.js → Email-ME_MU94C.js} +1 -1
  39. package/dist/{File-27vOsF_i.js → File-CMCYSg30.js} +22 -22
  40. package/dist/{Image-BejU08yZ.js → Image-BL458jPH.js} +1 -1
  41. package/dist/Index-8lbvVECt.js +4 -0
  42. package/dist/{Index-DEDLWObm.js → Index-B1ZfzgLV.js} +1 -1
  43. package/dist/{Index-CtQ5rwyH.js → Index-C_HCipwv.js} +1 -1
  44. package/dist/{Index-ByC6qZPq.js → Index-Ch59SxF3.js} +6 -6
  45. package/dist/{Index-9AheG9bs.js → Index-CopnEHli.js} +1 -1
  46. package/dist/{Index-BtK4Riqs.js → Index-Cp7EDm0u.js} +55 -52
  47. package/dist/{Index-DMdBkj-p.js → Index-DZkeSKKp.js} +1 -1
  48. package/dist/Index-tbCW5R6_.js +4 -0
  49. package/dist/{Index.vue_vue_type_script_setup_true_lang-gv23r-9D.js → Index.vue_vue_type_script_setup_true_lang-B-sM48XO.js} +1 -1
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-3zk23es9.js → Index.vue_vue_type_script_setup_true_lang-DOibFo1_.js} +13 -12
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-CCdCOtFc.js → Index.vue_vue_type_script_setup_true_lang-Dwm5MQ9l.js} +19 -12
  52. package/dist/{Index.vue_vue_type_style_index_0_lang-DZJCAfOb.js → Index.vue_vue_type_style_index_0_lang-D9Jt6Of_.js} +10 -10
  53. package/dist/{Install-DzOXL82w.js → Install-CJbpeRw0.js} +12 -12
  54. package/dist/{Int-AE2e9jyG.js → Int-C-0RMDmy.js} +1 -1
  55. package/dist/{Int-D3k7ZnH3.js → Int-CkzuFSk2.js} +4 -4
  56. package/dist/{List-BeoZ2a1r.js → List-V1uPlNfP.js} +9 -8
  57. package/dist/Maintaince-BM4tthS_.js +19 -0
  58. package/dist/{Markdown-BVhD-lo1.js → Markdown-Dq7L9EMQ.js} +1 -1
  59. package/dist/{Month-BVKakHhk.js → Month-B_SzKf02.js} +1 -1
  60. package/dist/{Month--2hXaJkd.js → Month-CUX-EnU_.js} +1 -1
  61. package/dist/{Month-D9r3wt_e.js → Month-DfemgHac.js} +1 -1
  62. package/dist/{Normal-B3Xs7sFU.js → Normal-B2w0Isvm.js} +16 -15
  63. package/dist/Paging-Bnpq9uSh.js +95 -0
  64. package/dist/QueryApi-BLc_au6L.js +18 -0
  65. package/dist/{Racebar-CvsmozFH.js → Racebar-DqWtIQm-.js} +4 -4
  66. package/dist/{Radio-DMlWrRLV.js → Radio-xLd4l78I.js} +1 -1
  67. package/dist/{Register-B7KEYSdN.js → Register-Bio0HxyZ.js} +47 -46
  68. package/dist/{RichText-BX7WZjO-.js → RichText-BYNi_iMx.js} +4 -4
  69. package/dist/{SearchFooter-BSHxMoTL.js → SearchFooter-BAPlMiuj.js} +1 -1
  70. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-CgAQfUu-.js → SearchFooter.vue_vue_type_style_index_0_lang-Bp7M7_IY.js} +1 -1
  71. package/dist/{SearchForm-CH5YWxKr.js → SearchForm-BaPwWOch.js} +1 -1
  72. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-By2w2biv.js → SearchForm.vue_vue_type_style_index_0_lang-BJeXUISp.js} +15 -14
  73. package/dist/{Select-Dmr_Q332.js → Select-DMDcHdlD.js} +28 -27
  74. package/dist/{Select-B7VB4CHX.js → Select-Dlx4Tg2X.js} +1 -1
  75. package/dist/Select-Doyr8ioF.js +84 -0
  76. package/dist/{Single-z7YLL5yh.js → Single-B4EEi5Bm.js} +63 -63
  77. package/dist/{Statistic-SFo_gi_N.js → Statistic-AY1NP5tM.js} +11 -11
  78. package/dist/{Statistic-B_mgjlnr.js → Statistic-CTxHNeof.js} +1 -1
  79. package/dist/{Stock-DInt0W2k.js → Stock-CcBqUgOB.js} +1 -1
  80. package/dist/{Stock-cw7lE17E.js → Stock-Sh2UHojP.js} +1 -1
  81. package/dist/{Stock.vue_vue_type_style_index_0_lang-DKGuyQ08.js → Stock.vue_vue_type_style_index_0_lang-CcHVxdzc.js} +7 -7
  82. package/dist/{Switch-gkN2GOAQ.js → Switch-BOsRzAW-.js} +1 -1
  83. package/dist/{Table-BRSX9_5r.js → Table-C9IrdZEj.js} +40 -37
  84. package/dist/{Table-ByUYlERR.js → Table-CrMo5L6q.js} +10 -10
  85. package/dist/{Text-CLMVbFyi.js → Text-BRRmmXYV.js} +1 -1
  86. package/dist/{Text-EQNK15_K.js → Text-DKpPIUcY.js} +1 -1
  87. package/dist/Text-vz76Xb4X.js +4 -0
  88. package/dist/{Text.vue_vue_type_style_index_0_lang-Cwyu-GMz.js → Text.vue_vue_type_style_index_0_lang-BMxOYNEI.js} +6 -6
  89. package/dist/TextLink-DKm6XbeF.js +66 -0
  90. package/dist/{Textarea-DoE5sGRR.js → Textarea-WPLyT7XC.js} +1 -1
  91. package/dist/{Time-CRVru-6c.js → Time-BcQzBDX-.js} +1 -1
  92. package/dist/{Timeline-CTj1FAtR.js → Timeline-Dolubd-b.js} +6 -6
  93. package/dist/{Tree-DfY_7l-G.js → Tree-Bv5eVC8s.js} +29 -28
  94. package/dist/Tree-KwP6ais4.js +295 -0
  95. package/dist/{TreeNode-BV9BiCFt.js → TreeNode-rHeuE2ot.js} +4 -4
  96. package/dist/{Update-C6EmSv2D.js → Update-C5bPCalk.js} +7 -7
  97. package/dist/{UpdateChild-CA0P17tZ.js → UpdateChild-B2A3hP6m.js} +14 -14
  98. package/dist/{Upload-CQo4b32p.js → Upload-BSbIQu56.js} +24 -24
  99. package/dist/{Upload-z2mEnrlN.js → Upload-heb0FQTh.js} +12 -11
  100. package/dist/{UploadApi-C0wC0lME.js → UploadApi-vYU0Jda6.js} +3 -3
  101. package/dist/{Year-DBuvSBYN.js → Year-1ug2_a1g.js} +1 -1
  102. package/dist/{Year-CEHCOGTW.js → Year-Dlp5PKhI.js} +1 -1
  103. package/dist/main-Bs5Q5ZLl.js +6535 -0
  104. package/dist/main.js +102 -84
  105. package/dist/style.css +1 -1
  106. package/dist/vendor-pinia-C-_fm-ER.js +1167 -0
  107. package/dist/vendor-vue-demi-DdR-Jw7p.js +31 -0
  108. package/esm/components/business/index.d.ts +8 -8
  109. package/esm/components/controls/Text.vue.d.ts +1 -1
  110. package/esm/components/index.d.ts +8 -8
  111. package/esm/components/lists/Tree.vue.d.ts +1 -1
  112. package/esm/components/lists/index.d.ts +1 -1
  113. package/esm/components/pages/Single.vue.d.ts +1 -1
  114. package/esm/components/pagings/Article.vue.d.ts +1 -1
  115. package/esm/components/pagings/DataExport.vue.d.ts +1 -1
  116. package/esm/components/pagings/DataImport.vue.d.ts +1 -1
  117. package/esm/components/pagings/Index.vue.d.ts +4 -4
  118. package/esm/components/pagings/SearchFooter.vue.d.ts +1 -1
  119. package/esm/components/pagings/Table.vue.d.ts +3 -3
  120. package/esm/components/pagings/index.d.ts +1 -1
  121. package/esm/components/partials/Detail.vue.d.ts +1 -1
  122. package/esm/components/partials/Update.vue.d.ts +1 -1
  123. package/esm/components/singles/index.d.ts +1 -1
  124. package/esm/components/texts/Autocomplete.vue.d.ts +1 -1
  125. package/esm/components/texts/CSharp.vue.d.ts +1 -1
  126. package/esm/components/texts/Cascader.vue.d.ts +1 -1
  127. package/esm/components/texts/Checkbox.vue.d.ts +1 -1
  128. package/esm/components/texts/Code.vue.d.ts +1 -1
  129. package/esm/components/texts/Color.vue.d.ts +1 -1
  130. package/esm/components/texts/Compare.vue.d.ts +1 -1
  131. package/esm/components/texts/Copy.vue.d.ts +1 -1
  132. package/esm/components/texts/Date.vue.d.ts +1 -1
  133. package/esm/components/texts/DateRange.vue.d.ts +1 -1
  134. package/esm/components/texts/DateTime.vue.d.ts +1 -1
  135. package/esm/components/texts/Decimal.vue.d.ts +1 -1
  136. package/esm/components/texts/Dictionary.vue.d.ts +1 -1
  137. package/esm/components/texts/Email.vue.d.ts +1 -1
  138. package/esm/components/texts/Index.vue.d.ts +1 -1
  139. package/esm/components/texts/Int.vue.d.ts +1 -1
  140. package/esm/components/texts/Markdown.vue.d.ts +1 -1
  141. package/esm/components/texts/Month.vue.d.ts +1 -1
  142. package/esm/components/texts/Password.vue.d.ts +1 -1
  143. package/esm/components/texts/Progress.vue.d.ts +1 -1
  144. package/esm/components/texts/Radio.vue.d.ts +1 -1
  145. package/esm/components/texts/Rate.vue.d.ts +1 -1
  146. package/esm/components/texts/RichText.vue.d.ts +1 -1
  147. package/esm/components/texts/Select.vue.d.ts +1 -1
  148. package/esm/components/texts/Switch.vue.d.ts +1 -1
  149. package/esm/components/texts/Text.vue.d.ts +1 -1
  150. package/esm/components/texts/TextLink.vue.d.ts +1 -1
  151. package/esm/components/texts/Textarea.vue.d.ts +1 -1
  152. package/esm/components/texts/Upload.vue.d.ts +1 -1
  153. package/esm/components/texts/Year.vue.d.ts +1 -1
  154. package/esm/main.d.ts +5 -5
  155. package/esm/plugins/index.d.ts +1 -0
  156. package/esm/sdks/commons/HaTable.vue.d.ts +1 -1
  157. package/esm/sdks/commons/index.d.ts +1 -59
  158. package/esm/sdks/globals/HaWindow.vue.d.ts +4 -4
  159. package/esm/sdks/globals/index.d.ts +4 -0
  160. package/esm/sdks/index.d.ts +4 -7
  161. package/esm/services/MessageService.d.ts +9 -8
  162. package/esm/services/index.d.ts +1 -3
  163. package/esm/stores/index.d.ts +1 -7
  164. package/package.json +17 -21
  165. package/dist/Callback-3bTaCoQy.js +0 -20
  166. package/dist/Code-CnU5c_Xk.js +0 -4
  167. package/dist/Compare-D-WXTccH.js +0 -27
  168. package/dist/Delete-DkSX4BUu.js +0 -55
  169. package/dist/Index-BaxI_lNq.js +0 -4
  170. package/dist/Index-BnNuVSxA.js +0 -4
  171. package/dist/Maintaince-BMLmBQI9.js +0 -15
  172. package/dist/Paging-CqpaB0Mn.js +0 -94
  173. package/dist/QueryApi-BqpLpqXT.js +0 -13
  174. package/dist/Select-zZ9NAS5C.js +0 -80
  175. package/dist/Text-CXXJqJ8N.js +0 -4
  176. package/dist/TextLink-KC_xsgpi.js +0 -66
  177. package/dist/Tree-B2ILQtRK.js +0 -295
  178. package/dist/main-CgmRyjET.js +0 -6158
  179. package/dist/vendor-axios-ud9O0vdJ.js +0 -1670
  180. package/dist/vendor-pinia-yrN6kSxh.js +0 -861
  181. package/dist/vendor-vue-demi-CIhrFbpB.js +0 -17
  182. package/esm/components/business/HoCondition.vue.d.ts +0 -18
  183. package/esm/components/business/HoCrud.vue.d.ts +0 -29
  184. package/esm/components/business/HoDrawer.vue.d.ts +0 -24
  185. package/esm/components/business/HoDriver.vue.d.ts +0 -52
  186. package/esm/components/business/HoFeedback.vue.d.ts +0 -8
  187. package/esm/components/business/HoForm.vue.d.ts +0 -23
  188. package/esm/components/business/HoSwitch.vue.d.ts +0 -24
  189. package/esm/components/business/HoWelcome.vue.d.ts +0 -8
  190. package/esm/drivers/IDriver.d.ts +0 -10
  191. package/esm/drivers/cdns/Cdn.d.ts +0 -14
  192. package/esm/drivers/cdns/CdnFactory.d.ts +0 -11
  193. package/esm/drivers/cdns/ICdn.d.ts +0 -34
  194. package/esm/drivers/cdns/implements/BootCdn.d.ts +0 -12
  195. package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +0 -13
  196. package/esm/drivers/cdns/implements/LocalCdn.d.ts +0 -12
  197. package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +0 -16
  198. package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +0 -10
  199. package/esm/drivers/driver-helper.d.ts +0 -46
  200. package/esm/drivers/encoders/Encoder.d.ts +0 -11
  201. package/esm/drivers/encoders/EncoderFactory.d.ts +0 -16
  202. package/esm/drivers/encoders/IEncoder.d.ts +0 -22
  203. package/esm/drivers/encoders/implement/Base64Encoder.d.ts +0 -11
  204. package/esm/drivers/excels/ExcelFactory.d.ts +0 -11
  205. package/esm/drivers/excels/IExcel.d.ts +0 -18
  206. package/esm/drivers/excels/implements/XlsxExcel.d.ts +0 -10
  207. package/esm/drivers/explainers/Explainer.d.ts +0 -4
  208. package/esm/drivers/explainers/ExplainerFactory.d.ts +0 -1
  209. package/esm/drivers/explainers/IExplainer.d.ts +0 -3
  210. package/esm/drivers/explainers/implement/JsonExplainer.d.ts +0 -4
  211. package/esm/drivers/features/FeatureFactory.d.ts +0 -11
  212. package/esm/drivers/features/IFeature.d.ts +0 -23
  213. package/esm/drivers/features/implements/ExpressionFeature.d.ts +0 -12
  214. package/esm/drivers/features/implements/I18NFeature.d.ts +0 -12
  215. package/esm/drivers/features/implements/SortFeature.d.ts +0 -13
  216. package/esm/drivers/hashers/Hasher.d.ts +0 -10
  217. package/esm/drivers/hashers/HasherFactory.d.ts +0 -13
  218. package/esm/drivers/hashers/IHasher.d.ts +0 -19
  219. package/esm/drivers/hashers/implement/Md5Hasher.d.ts +0 -10
  220. package/esm/drivers/hashers/implement/Sha256Hasher.d.ts +0 -10
  221. package/esm/drivers/index.d.ts +0 -7
  222. package/esm/drivers/providers/IProvider.d.ts +0 -43
  223. package/esm/drivers/providers/ProviderFactory.d.ts +0 -11
  224. package/esm/drivers/providers/implements/IndexedDbProvider.d.ts +0 -55
  225. package/esm/drivers/requesters/IRequester.d.ts +0 -17
  226. package/esm/drivers/requesters/Requester.d.ts +0 -11
  227. package/esm/drivers/requesters/RequesterFactory.d.ts +0 -17
  228. package/esm/drivers/requesters/entities/HttpRequest.d.ts +0 -22
  229. package/esm/drivers/requesters/entities/HttpResponse.d.ts +0 -19
  230. package/esm/drivers/requesters/implements/DefaultRequester.d.ts +0 -7
  231. package/esm/drivers/requesters/implements/MkRequester.d.ts +0 -39
  232. package/esm/drivers/signers/ISigner.d.ts +0 -33
  233. package/esm/drivers/signers/SignerFactory.d.ts +0 -11
  234. package/esm/drivers/signers/implements/DefaultSigner.d.ts +0 -18
  235. package/esm/drivers/ssos/ISso.d.ts +0 -41
  236. package/esm/drivers/ssos/SsoFactory.d.ts +0 -11
  237. package/esm/drivers/ssos/implements/AnonymousSso.d.ts +0 -18
  238. package/esm/drivers/ssos/implements/BearerSso.d.ts +0 -22
  239. package/esm/drivers/ssos/implements/NioSso.d.ts +0 -23
  240. package/esm/drivers/ssos/implements/SecretSso.d.ts +0 -18
  241. package/esm/drivers/ssos/implements/WeiXinSso.d.ts +0 -20
  242. package/esm/sdks/commons/HaCode.vue.d.ts +0 -39
  243. package/esm/sdks/commons/HaCol.vue.d.ts +0 -9
  244. package/esm/sdks/commons/HaCompare.vue.d.ts +0 -40
  245. package/esm/sdks/commons/HaContainer.vue.d.ts +0 -21
  246. package/esm/sdks/commons/HaEmpty.vue.d.ts +0 -24
  247. package/esm/sdks/commons/HaProgress.vue.d.ts +0 -8
  248. package/esm/sdks/commons/HaRow.vue.d.ts +0 -19
  249. package/esm/sdks/commons/HoCaptcha.vue.d.ts +0 -14
  250. package/esm/sdks/commons/HoCode.vue.d.ts +0 -39
  251. package/esm/sdks/commons/HoCol.vue.d.ts +0 -9
  252. package/esm/sdks/commons/HoCompare.vue.d.ts +0 -40
  253. package/esm/sdks/commons/HoContainer.vue.d.ts +0 -21
  254. package/esm/sdks/commons/HoDebug.vue.d.ts +0 -9
  255. package/esm/sdks/commons/HoEditable.vue.d.ts +0 -13
  256. package/esm/sdks/commons/HoEmpty.vue.d.ts +0 -24
  257. package/esm/sdks/commons/HoLoading.vue.d.ts +0 -33
  258. package/esm/sdks/commons/HoMouseContext.vue.d.ts +0 -2
  259. package/esm/sdks/commons/HoParticles.vue.d.ts +0 -2
  260. package/esm/sdks/commons/HoProgress.vue.d.ts +0 -8
  261. package/esm/sdks/commons/HoResizer.vue.d.ts +0 -26
  262. package/esm/sdks/commons/HoRow.vue.d.ts +0 -19
  263. package/esm/sdks/commons/HoSpinner.vue.d.ts +0 -20
  264. package/esm/sdks/commons/HoTable.vue.d.ts +0 -34
  265. package/esm/sdks/commons/HoTableColumn.vue.d.ts +0 -31
  266. package/esm/sdks/globals/HoHeaderTab.vue.d.ts +0 -19
  267. package/esm/sdks/globals/HoHeaderTabs.vue.d.ts +0 -17
  268. package/esm/sdks/globals/HoMenu.vue.d.ts +0 -77
  269. package/esm/sdks/globals/HoMenuItem.vue.d.ts +0 -76
  270. package/esm/sdks/globals/HoMissComponent.vue.d.ts +0 -9
  271. package/esm/sdks/globals/HoSideTab.vue.d.ts +0 -21
  272. package/esm/sdks/globals/HoSideTabs.vue.d.ts +0 -17
  273. package/esm/sdks/globals/HoWindow.vue.d.ts +0 -66
  274. package/esm/sdks/helpers/array-helper.d.ts +0 -97
  275. package/esm/sdks/helpers/component-helper.d.ts +0 -10
  276. package/esm/sdks/helpers/cookie-helper.d.ts +0 -6
  277. package/esm/sdks/helpers/dictionary-helper.d.ts +0 -10
  278. package/esm/sdks/helpers/dom-helper.d.ts +0 -74
  279. package/esm/sdks/helpers/encrypt-helper.d.ts +0 -18
  280. package/esm/sdks/helpers/event-helper.d.ts +0 -30
  281. package/esm/sdks/helpers/file-helper.d.ts +0 -22
  282. package/esm/sdks/helpers/html-helper.d.ts +0 -10
  283. package/esm/sdks/helpers/i18n-helper.d.ts +0 -14
  284. package/esm/sdks/helpers/image-helper.d.ts +0 -10
  285. package/esm/sdks/helpers/index.d.ts +0 -26
  286. package/esm/sdks/helpers/json-helper.d.ts +0 -31
  287. package/esm/sdks/helpers/math-helper.d.ts +0 -42
  288. package/esm/sdks/helpers/micro-helper.d.ts +0 -10
  289. package/esm/sdks/helpers/mount-helper.d.ts +0 -14
  290. package/esm/sdks/helpers/object-helper.d.ts +0 -34
  291. package/esm/sdks/helpers/script-helper.d.ts +0 -31
  292. package/esm/sdks/helpers/scroll-helper.d.ts +0 -14
  293. package/esm/sdks/helpers/sign-helper.d.ts +0 -14
  294. package/esm/sdks/helpers/storage-helper.d.ts +0 -34
  295. package/esm/sdks/helpers/string-helper.d.ts +0 -94
  296. package/esm/sdks/helpers/task-helper.d.ts +0 -26
  297. package/esm/sdks/helpers/time-helper.d.ts +0 -62
  298. package/esm/sdks/helpers/tree-helper.d.ts +0 -54
  299. package/esm/sdks/helpers/type-helper.d.ts +0 -26
  300. package/esm/sdks/helpers/url-helper.d.ts +0 -92
  301. package/esm/sdks/panels/HoGroup.vue.d.ts +0 -9
  302. package/esm/sdks/panels/HoHeader.vue.d.ts +0 -16
  303. package/esm/sdks/panels/HoOperation.vue.d.ts +0 -22
  304. package/esm/sdks/panels/HoPanel.vue.d.ts +0 -30
  305. package/esm/sdks/panels/HoShrink.vue.d.ts +0 -48
  306. package/esm/sdks/stores/window.d.ts +0 -25
  307. package/esm/sdks/thirds/index.d.ts +0 -8
  308. package/esm/sdks/utilities/AffixUtility.d.ts +0 -9
  309. package/esm/sdks/utilities/EventUtility.d.ts +0 -30
  310. package/esm/sdks/utilities/KeyboardUtility.d.ts +0 -73
  311. package/esm/sdks/utilities/MouseUtility.d.ts +0 -24
  312. package/esm/sdks/utilities/index.d.ts +0 -4
  313. package/esm/services/HttpService.d.ts +0 -22
  314. package/esm/services/SettingService.d.ts +0 -5
  315. package/esm/stores/app.d.ts +0 -44
  316. package/esm/stores/component.d.ts +0 -30
  317. package/esm/stores/config.d.ts +0 -55
  318. package/esm/stores/driver.d.ts +0 -37
  319. package/esm/stores/i18n.d.ts +0 -67
  320. package/esm/stores/layout.d.ts +0 -13
  321. package/esm/stores/log.d.ts +0 -20
  322. package/esm/stores/router.d.ts +0 -20
  323. package/esm/stores/setting.d.ts +0 -43
  324. package/esm/stores/socket.d.ts +0 -27
  325. package/esm/stores/user.d.ts +0 -40
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as $e, toRefs as Ve, ref as u, onMounted as We, nextTick as A, computed as Y, resolveComponent as S, openBlock as f, createElementBlock as D, createVNode as v, unref as e, isRef as w, normalizeClass as He, withCtx as h, createTextVNode as Z, toDisplayString as k, Fragment as Be, renderList as De, createBlock as R, createCommentVNode as z, createElementVNode as T, resolveDynamicComponent as Te } from "vue";
2
- import { s as Ue, h as Me, l as Ee, u as Ne, D as $, P as j, C as Pe, t as Le, v as Ae, g as je, o as qe, H as Ie, M as Ke } from "./main-CgmRyjET.js";
2
+ import { s as Ue, i as Me, l as Ee, u as Ne, D as $, P as j, C as Pe, t as Le, v as Ae, g as je, o as qe, h as Ie, M as Ke } from "./main-Bs5Q5ZLl.js";
3
+ import "xlsx-js-style";
4
+ import "./vendor-crypto-js-ftX_aBC-.js";
3
5
  import "./vendor-@monaco-editor-DKC4UNw_.js";
4
6
  import "./vendor-moment-h96o7c8I.js";
5
- import "./vendor-crypto-js-ftX_aBC-.js";
6
- import "xlsx-js-style";
7
- import { _ as Oe } from "./SearchForm.vue_vue_type_style_index_0_lang-By2w2biv.js";
8
- import { _ as Fe } from "./DataImport.vue_vue_type_script_setup_true_lang-Qgy5ODur.js";
9
- import { _ as Ge } from "./DataExport.vue_vue_type_script_setup_true_lang-DFuUWnTj.js";
10
- import { _ as Je } from "./Index.vue_vue_type_style_index_0_lang-DZJCAfOb.js";
11
- import { _ as Qe } from "./SearchFooter.vue_vue_type_style_index_0_lang-CgAQfUu-.js";
7
+ import { _ as Oe } from "./SearchForm.vue_vue_type_style_index_0_lang-BJeXUISp.js";
8
+ import { _ as Fe } from "./DataImport.vue_vue_type_script_setup_true_lang-WCH5ToC7.js";
9
+ import { _ as Ge } from "./DataExport.vue_vue_type_script_setup_true_lang-CqT0RHF6.js";
10
+ import { _ as Je } from "./Index.vue_vue_type_style_index_0_lang-D9Jt6Of_.js";
11
+ import { _ as Qe } from "./SearchFooter.vue_vue_type_style_index_0_lang-Bp7M7_IY.js";
12
12
  const Xe = {
13
13
  key: 0,
14
14
  class: "required"
@@ -27,7 +27,7 @@ const Xe = {
27
27
  setup(ee, { expose: te, emit: ae }) {
28
28
  let b = ae, le = ee, { module: oe, schema: U, table: r, layout: i, next: p, set: _, searchData: q } = Ve(le), M = u([]), V = u(), E = u(), N = u(), I = u(), K = u(), W = u(), ne = Ue();
29
29
  Me();
30
- let re = Ee(), { $t_module: se } = Ne(), m = u(!1), g = u(!1), O = u(), F = u("120px"), y = u({ layout: "prev, pager, next", count: 5, sizes: [20, 50, 200, 500, 2e3] }), H = u(), n = u({ title: null, env: null, page: null, url: null, row: null, visible: !1, appendToBody: !1 }), ue = (t) => {
30
+ let re = Ee(), { t_module: se } = Ne(), m = u(!1), g = u(!1), O = u(), F = u("120px"), y = u({ layout: "prev, pager, next", count: 5, sizes: [20, 50, 200, 500, 2e3] }), H = u(), n = u({ title: null, env: null, page: null, url: null, row: null, visible: !1, appendToBody: !1 }), ue = (t) => {
31
31
  C("insert", null, t);
32
32
  }, ie = (t, a) => {
33
33
  C("detail", t, a);
@@ -198,7 +198,7 @@ const Xe = {
198
198
  T("span", {
199
199
  onMouseenter: (L) => e(Ce)(L, B.column, l)
200
200
  }, [
201
- T("span", null, k(t.$t_field(e(r).name, l.name)), 1)
201
+ T("span", null, k(t.t_field(e(r).name, l.name)), 1)
202
202
  ], 40, Ye)
203
203
  ]),
204
204
  _: 2
@@ -28,7 +28,7 @@ const S = /* @__PURE__ */ _({
28
28
  const h = x("el-input");
29
29
  return C(), b(h, {
30
30
  type: "text",
31
- placeholder: t.$t_field_placeholder(e(i).name, e(o).name),
31
+ placeholder: t.t_field_placeholder(e(i).name, e(o).name),
32
32
  clearable: "",
33
33
  onKeyup: y(e(n), ["enter", "native"]),
34
34
  onChange: e(c),
@@ -28,7 +28,7 @@ const S = /* @__PURE__ */ _({
28
28
  return x(), y(f, {
29
29
  type: "text",
30
30
  disabled: e(o).control.readonly,
31
- placeholder: t.$t_field_placeholder(e(p).name, e(o).name),
31
+ placeholder: t.t_field_placeholder(e(p).name, e(o).name),
32
32
  clearable: "",
33
33
  onKeyup: C(e(s), ["enter", "native"]),
34
34
  onClear: e(c),
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./Text.vue_vue_type_style_index_0_lang-BMxOYNEI.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,9 +1,9 @@
1
- import { defineComponent as x, toRefs as v, ref as p, computed as V, resolveComponent as y, openBlock as r, createElementBlock as s, Fragment as H, unref as l, createBlock as B, isRef as f, createCommentVNode as C, nextTick as R, createElementVNode as T } from "vue";
2
- import { k as g } from "./main-CgmRyjET.js";
1
+ import { defineComponent as x, toRefs as v, ref as p, computed as V, resolveComponent as H, openBlock as r, createElementBlock as s, Fragment as y, unref as l, createBlock as B, isRef as f, createCommentVNode as C, nextTick as R, createElementVNode as T } from "vue";
2
+ import { H as g } from "./main-Bs5Q5ZLl.js";
3
+ import "xlsx-js-style";
4
+ import "./vendor-crypto-js-ftX_aBC-.js";
3
5
  import "./vendor-@monaco-editor-DKC4UNw_.js";
4
6
  import "./vendor-moment-h96o7c8I.js";
5
- import "./vendor-crypto-js-ftX_aBC-.js";
6
- import "xlsx-js-style";
7
7
  const b = ["innerHTML"], w = /* @__PURE__ */ T("i", { class: "fa fa-edit" }, null, -1), E = [
8
8
  w
9
9
  ], A = /* @__PURE__ */ x({
@@ -26,8 +26,8 @@ const b = ["innerHTML"], w = /* @__PURE__ */ T("i", { class: "fa fa-edit" }, nul
26
26
  return (i.value.control.prefix || "") + (m || "") + (i.value.control.suffix || "");
27
27
  });
28
28
  return (m, e) => {
29
- const k = y("el-input");
30
- return r(), s(H, null, [
29
+ const k = H("el-input");
30
+ return r(), s(y, null, [
31
31
  l(t) ? (r(), B(k, {
32
32
  key: 1,
33
33
  ref_key: "editRef",
@@ -0,0 +1,66 @@
1
+ import { defineComponent as b, toRefs as y, ref as E, computed as s, resolveComponent as w, unref as l, openBlock as i, createElementBlock as f, renderSlot as u, createBlock as B, withCtx as R } from "vue";
2
+ import { useRoute as $ } from "vue-router";
3
+ import { g as d, q as x } from "./main-Bs5Q5ZLl.js";
4
+ import "xlsx-js-style";
5
+ import "./vendor-crypto-js-ftX_aBC-.js";
6
+ import "./vendor-@monaco-editor-DKC4UNw_.js";
7
+ import "./vendor-moment-h96o7c8I.js";
8
+ const C = { key: 0 }, O = ["href", "target"], j = /* @__PURE__ */ b({
9
+ __name: "TextLink",
10
+ props: {
11
+ schema: {},
12
+ table: {},
13
+ field: {},
14
+ set: {},
15
+ row: {}
16
+ },
17
+ emits: ["submit", "change", "update:modelValue"],
18
+ setup(p, { emit: H }) {
19
+ let h = p, { table: L, field: t, set: S, row: c } = y(h);
20
+ $();
21
+ let k = E(), a = s(() => {
22
+ let e = t.value.link.href;
23
+ return t.value.link.values.forEach((o) => {
24
+ e = e.replace(`{${o}}`, c.value[o]);
25
+ }), e;
26
+ }), _ = s(() => d.httpOrHttps(a.value)), v = s(async () => {
27
+ let e = a.value;
28
+ if (t.value.link.tables.length > 0) {
29
+ let r = {};
30
+ t.value.link.tables.forEach((n) => {
31
+ r[n.name] = {}, n.search.forEach((m) => {
32
+ r[n.name][m.name] = c.value[m.value];
33
+ });
34
+ });
35
+ let g = (await x.getEncoder().getBase64()).encode(JSON.stringify(r));
36
+ e += "&condition=" + g;
37
+ }
38
+ return d.getToRoute(e);
39
+ });
40
+ return (e, o) => {
41
+ const r = w("router-link");
42
+ return l(k) ? (i(), f("div", C, [
43
+ u(e.$slots, "default")
44
+ ])) : l(_) ? (i(), f("a", {
45
+ key: 1,
46
+ class: "text-link",
47
+ href: l(a),
48
+ target: l(t).link.target
49
+ }, [
50
+ u(e.$slots, "default")
51
+ ], 8, O)) : (i(), B(r, {
52
+ key: 2,
53
+ class: "text-link",
54
+ to: l(v)
55
+ }, {
56
+ default: R(() => [
57
+ u(e.$slots, "default")
58
+ ]),
59
+ _: 3
60
+ }, 8, ["to"]));
61
+ };
62
+ }
63
+ });
64
+ export {
65
+ j as default
66
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, toRefs as p, openBlock as i, createBlock as c, unref as e, isRef as _ } from "vue";
2
- import { _ as V } from "./Text.vue_vue_type_style_index_0_lang-Cwyu-GMz.js";
2
+ import { _ as V } from "./Text.vue_vue_type_style_index_0_lang-BMxOYNEI.js";
3
3
  const x = /* @__PURE__ */ u({
4
4
  __name: "Textarea",
5
5
  props: {
@@ -23,7 +23,7 @@ const B = /* @__PURE__ */ c({
23
23
  const i = V("el-time-select");
24
24
  return h(), b(i, {
25
25
  type: "time",
26
- placeholder: l.$t_field_choose_placeholder(t(u).name, t(a).name),
26
+ placeholder: l.t_field_choose_placeholder(t(u).name, t(a).name),
27
27
  disabled: t(a).control.readonly,
28
28
  modelValue: t(e),
29
29
  "onUpdate:modelValue": m[0] || (m[0] = (d) => g(e) ? e.value = d : e = d)
@@ -1,9 +1,9 @@
1
- import { defineComponent as h, toRefs as y, resolveComponent as m, openBlock as t, createBlock as n, unref as e, withCtx as o, createElementVNode as r, createElementBlock as c, Fragment as k, renderList as x, createCommentVNode as v } from "vue";
2
- import { j as H, k as g } from "./main-CgmRyjET.js";
1
+ import { defineComponent as h, toRefs as y, resolveComponent as m, openBlock as t, createBlock as n, unref as e, withCtx as o, createElementVNode as r, createElementBlock as c, Fragment as k, renderList as x, createCommentVNode as H } from "vue";
2
+ import { k as v, H as g } from "./main-Bs5Q5ZLl.js";
3
+ import "xlsx-js-style";
4
+ import "./vendor-crypto-js-ftX_aBC-.js";
3
5
  import "./vendor-@monaco-editor-DKC4UNw_.js";
4
6
  import "./vendor-moment-h96o7c8I.js";
5
- import "./vendor-crypto-js-ftX_aBC-.js";
6
- import "xlsx-js-style";
7
7
  const C = { class: "timeline-layout" }, B = ["innerHTML"], L = {
8
8
  key: 0,
9
9
  class: "timeline-detail"
@@ -23,7 +23,7 @@ const C = { class: "timeline-layout" }, B = ["innerHTML"], L = {
23
23
  let p = _, { module: T, schema: b, table: l, layout: i, next: E, set: s } = y(p);
24
24
  return (M, N) => {
25
25
  const u = m("el-timeline-item"), d = m("el-timeline"), f = m("el-empty");
26
- return t(), n(e(H), { class: "timeline" }, {
26
+ return t(), n(e(v), { class: "timeline" }, {
27
27
  default: o(() => [
28
28
  r("div", C, [
29
29
  e(s)[e(l).name].length > 0 ? (t(), n(d, {
@@ -45,7 +45,7 @@ const C = { class: "timeline-layout" }, B = ["innerHTML"], L = {
45
45
  _: 1
46
46
  })) : (t(), n(f, { key: 1 }))
47
47
  ]),
48
- e(l).length > 0 ? (t(), c("div", L, " 时间线节点详情 ")) : v("", !0)
48
+ e(l).length > 0 ? (t(), c("div", L, " 时间线节点详情 ")) : H("", !0)
49
49
  ]),
50
50
  _: 1
51
51
  });
@@ -1,13 +1,14 @@
1
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 { D as le, A as _, T as M, i as S } from "./main-CgmRyjET.js";
2
+ import { D as le, A as _, T as M, j as S } from "./main-Bs5Q5ZLl.js";
3
+ import "xlsx-js-style";
4
+ import "./vendor-crypto-js-ftX_aBC-.js";
3
5
  import "./vendor-@monaco-editor-DKC4UNw_.js";
4
6
  import "./vendor-moment-h96o7c8I.js";
5
- import "./vendor-crypto-js-ftX_aBC-.js";
6
- import "xlsx-js-style";
7
+ import "element-plus";
7
8
  const te = { class: "option-text" }, ae = {
8
9
  key: 0,
9
10
  class: "option-suffix"
10
- }, ce = /* @__PURE__ */ Q({
11
+ }, he = /* @__PURE__ */ Q({
11
12
  __name: "Tree",
12
13
  props: {
13
14
  route: {},
@@ -19,15 +20,15 @@ const te = { class: "option-text" }, ae = {
19
20
  next: {},
20
21
  set: {}
21
22
  },
22
- setup($, { expose: A }) {
23
- let F = $, { module: P, schema: re, table: u, layout: l, set: f } = U(F), E = m(), T = m([]), x = m(), y = m(0), g = m([]), R = m(!0), z = (e, r, o) => {
24
- let a = f.value[u.value.name].find((n) => n.PermissionId == e[l.value.id]);
23
+ setup(A, { expose: F }) {
24
+ let P = A, { module: $, schema: re, table: u, layout: l, set: p } = U(P), E = m(), T = m([]), x = m(), y = m(0), g = m([]), R = m(!0), j = (e, r, o) => {
25
+ let a = p.value[u.value.name].find((n) => n.PermissionId == e[l.value.id]);
25
26
  a && (a[l.value.expand] = !0);
26
- }, W = (e, r, o) => {
27
- let a = f.value[u.value.name].find((n) => n.PermissionId == e[l.value.id]);
27
+ }, z = (e, r, o) => {
28
+ let a = p.value[u.value.name].find((n) => n.PermissionId == e[l.value.id]);
28
29
  a && (a[l.value.expand] = !1);
29
- }, j = (e, r, o) => {
30
- let a = r.checkedKeys, n = e[l.value.id], i = _.contains(a, n), 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);
30
+ }, W = (e, r, o) => {
31
+ let a = r.checkedKeys, n = e[l.value.id], i = _.contains(a, n), c = [], s = [], h = M.getChildren(e, "Children").map((t) => t[l.value.id]), f = p.value[u.value.name].map((t) => t[l.value.checked]), v = _.intersect(h, f);
31
32
  if (i) {
32
33
  c.push(e[l.value.id]);
33
34
  let t = _.except(h, v);
@@ -38,24 +39,24 @@ const te = { class: "option-text" }, ae = {
38
39
  }, q = (e) => {
39
40
  for (let r = 0; r < e.length; r++) {
40
41
  let o = S.getDefaultRow(u.value);
41
- o[l.value.checked] = e[r], f.value[u.value.name].push(o);
42
+ o[l.value.checked] = e[r], p.value[u.value.name].push(o);
42
43
  }
43
44
  }, G = (e) => {
44
- let r = f.value[u.value.name];
45
+ let r = p.value[u.value.name];
45
46
  for (let o = 0; o < e.length; o++) {
46
47
  let a = r.find((n) => n[l.value.checked] == e[o]);
47
48
  _.remove(r, a);
48
49
  }
49
50
  }, J = (e) => {
50
- x.value = e.contentRect.width, y.value = Math.ceil(x.value / 300), I(u.value, l.value, f.value);
51
+ x.value = e.contentRect.width, y.value = Math.ceil(x.value / 300), I(u.value, l.value, p.value);
51
52
  }, I = (e, r, o) => {
52
53
  g.value = S.getLines(r.data, y.value, (a) => [a], () => 1), V(() => {
53
54
  let a = o[e.name].map((i) => i[r.checked]), n = 0;
54
55
  for (let i = 0; i < g.value.length; i++) {
55
56
  let c = g.value[i];
56
57
  for (let s = 0; s < c.length; s++) {
57
- let C = T.value[n], h = c[s].data, p = M.getFlat(h, "Children").map((t) => t[r.id]), v = _.intersect(p, a);
58
- if (!(v.length == 1 && p.length > 1)) for (let t = 0; t < v.length; t++) {
58
+ let C = T.value[n], h = c[s].data, f = M.getFlat(h, "Children").map((t) => t[r.id]), v = _.intersect(f, a);
59
+ if (!(v.length == 1 && f.length > 1)) for (let t = 0; t < v.length; t++) {
59
60
  let O = v[t];
60
61
  C.setChecked(O, !0, !1);
61
62
  }
@@ -65,23 +66,23 @@ const te = { class: "option-text" }, ae = {
65
66
  });
66
67
  };
67
68
  return X(() => {
68
- x.value = le.getWidth(E.value), y.value = Math.ceil(x.value / 300), I(u.value, l.value, f.value);
69
+ x.value = le.getWidth(E.value), y.value = Math.ceil(x.value / 300), I(u.value, l.value, p.value);
69
70
  }), Y(() => u.value, (e, r) => {
70
71
  R.value = !1, V(() => {
71
- R.value = !0, I(e, l.value, f.value);
72
+ R.value = !0, I(e, l.value, p.value);
72
73
  });
73
- }), A({ resize: J }), (e, r) => {
74
+ }), F({ resize: J }), (e, r) => {
74
75
  const o = N("el-tree"), a = N("el-col"), n = N("el-row");
75
76
  return k(), w("div", {
76
77
  ref_key: "layoutRef",
77
78
  ref: E,
78
- class: "ho-tree-layout"
79
+ class: "ha-tree-layout"
79
80
  }, [
80
81
  d(R) ? (k(!0), w(K, { key: 0 }, L(d(g), (i, c) => (k(), B(n, null, {
81
82
  default: b(() => [
82
- (k(!0), w(K, null, L(i, ({ data: s, span: C, index: h }, p) => (k(), B(a, {
83
+ (k(!0), w(K, null, L(i, ({ data: s, span: C, index: h }, f) => (k(), B(a, {
83
84
  span: C,
84
- key: `${c}.${p}`
85
+ key: `${c}.${f}`
85
86
  }, {
86
87
  default: b(() => [
87
88
  Z(o, {
@@ -95,13 +96,13 @@ const te = { class: "option-text" }, ae = {
95
96
  "node-key": d(l).id,
96
97
  data: s,
97
98
  props: { children: "Children", label: d(l).text },
98
- disabled: d(P).type == "Detail",
99
- onNodeExpand: d(z),
100
- onNodeCollapse: d(W),
101
- onCheck: (v, t) => d(j)(v, t, h)
99
+ disabled: d($).type == "Detail",
100
+ onNodeExpand: d(j),
101
+ onNodeCollapse: d(z),
102
+ onCheck: (v, t) => d(W)(v, t, h)
102
103
  }, {
103
104
  default: b(({ node: v, data: t }) => [
104
- ee("div", te, D(e.$t(t[d(l).text])), 1),
105
+ ee("div", te, D(t[d(l).text]), 1),
105
106
  d(l).suffix ? (k(), w("div", ae, D(t[d(l).suffix]), 1)) : H("", !0)
106
107
  ]),
107
108
  _: 2
@@ -117,5 +118,5 @@ const te = { class: "option-text" }, ae = {
117
118
  }
118
119
  });
119
120
  export {
120
- ce as default
121
+ he as default
121
122
  };
@@ -0,0 +1,295 @@
1
+ import { defineComponent as Ce, toRefs as ge, ref as v, onMounted as we, onUnmounted as Ne, computed as q, watch as Se, resolveComponent as T, 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 Re, withDirectives as $e, resolveDynamicComponent as Te, createCommentVNode as g, createTextVNode as w, toDisplayString as b, vShow as Ie, nextTick as j } from "vue";
2
+ import { u as De, l as Ue, g as L, C as F, m as Ve, n as qe, o as G, M as Le, T as J, h as Q, A as W, p as Be } from "./main-Bs5Q5ZLl.js";
3
+ import "xlsx-js-style";
4
+ import "./vendor-crypto-js-ftX_aBC-.js";
5
+ import "./vendor-@monaco-editor-DKC4UNw_.js";
6
+ import "./vendor-moment-h96o7c8I.js";
7
+ import { _ as Ee } from "./Index.vue_vue_type_script_setup_true_lang-B-sM48XO.js";
8
+ const Me = { class: "tree-left" }, ze = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), He = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), Ae = /* @__PURE__ */ c("i", { class: "fa fa-copy" }, null, -1), Oe = /* @__PURE__ */ c("i", { class: "fa fa-trash" }, null, -1), Pe = {
9
+ key: 2,
10
+ class: "ha-empty"
11
+ }, je = {
12
+ key: 3,
13
+ class: "tree-add"
14
+ }, Fe = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), ll = /* @__PURE__ */ Ce({
15
+ __name: "Tree",
16
+ props: {
17
+ searchData: {},
18
+ route: {},
19
+ module: {},
20
+ schema: {},
21
+ table: {},
22
+ layout: {},
23
+ next: {},
24
+ set: {}
25
+ },
26
+ emits: ["refresh", "succeed", "search", "navigate"],
27
+ setup(X, { expose: Y, emit: Z }) {
28
+ let k = Z, ee = X, { route: N, module: B, schema: le, table: m, layout: r, next: y, set: Ge, searchData: te } = ge(ee), S = v(), E = v(), x = v(), K = v(), M = v(), ae = v(), { t: p, t_module: z } = De(), re = Ue(), 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 }), H = () => {
29
+ if (!S.value)
30
+ return;
31
+ let l = S.value.$el.querySelector(".is-context");
32
+ l && l.classList.remove("is-context");
33
+ }, oe = (l, t, o, n) => {
34
+ H(), n.vnode.el.classList.add("is-context"), a.value.currentNode = t, I.show(l);
35
+ }, $ = (l) => {
36
+ let t = r.value.parentId, o = { [t]: null };
37
+ l == "sibling" ? o[t] = a.value.currentNode[t] : l == "child" && (o[t] = a.value.currentNode[r.value.id]);
38
+ let n = L.base64(o), u = `${y.value.insert.route}?default=${n}`;
39
+ l == "copy" && (u += "&id=" + a.value.currentNode[r.value.id]), d.value.url = u, d.value.visible = !0;
40
+ }, A = () => {
41
+ let l = a.value.currentNode[r.value.id], t = a.value.currentNode[r.value.text], o = p("common.confirm_delete", t);
42
+ Le.confirm(p("common.tips"), o, { type: "warning" }).then(() => {
43
+ ne(l);
44
+ });
45
+ }, ne = (l) => {
46
+ let t = r.value.id, o = r.value.data, n = J.getNextById(l, t, o, "Children");
47
+ Q.post(y.value.delete.route, [l]).then(() => {
48
+ J.removeById(l, t, o, "Children");
49
+ let u = null;
50
+ n && (u = n[t], a.value.currentKey = u, a.value.expandedKeys.push(u)), k("succeed", () => {
51
+ D(a.value.scrollTop);
52
+ });
53
+ });
54
+ }, ue = (l) => {
55
+ a.value.scrollTop = l.scrollTop;
56
+ }, D = (l = null, t = null) => {
57
+ a.value.visible = !1, j(() => {
58
+ a.value.visible = !0, j(() => {
59
+ if (l == null) {
60
+ let o = S.value.$el.querySelector(".el-tree-node.is-current");
61
+ o && o.scrollIntoView({ block: "center", behavior: "smooth" });
62
+ } else
63
+ K.value.setScrollTop(l);
64
+ t && t();
65
+ });
66
+ });
67
+ }, se = () => {
68
+ d.value.visible = !1, k("succeed", () => {
69
+ D(a.value.scrollTop);
70
+ });
71
+ }, de = (l) => {
72
+ d.value.type = l.module.type, d.value.name = l.module.name;
73
+ }, ie = () => {
74
+ d.value.visible = !1;
75
+ }, ce = (l, t, o) => {
76
+ H();
77
+ let n = l[r.value.id];
78
+ if (W.pushIfNotExist(a.value.expandedKeys, n), n == a.value.currentKey)
79
+ x.value.refresh();
80
+ else {
81
+ a.value.currentKey = n, R.value = U();
82
+ let u = L.getUrl(N.value.fullPath, { id: n });
83
+ k("navigate", u);
84
+ }
85
+ }, ve = (l, t, o) => {
86
+ W.remove(a.value.expandedKeys, l[r.value.id]);
87
+ }, fe = (l, t, o, n) => {
88
+ let u = {
89
+ table: r.value.table,
90
+ id: l.data[r.value.id],
91
+ targetId: t.data[r.value.id],
92
+ position: o
93
+ };
94
+ Q.post(r.value.operation.route, u).then((P) => {
95
+ });
96
+ }, me = (l) => {
97
+ k("search", l);
98
+ }, pe = (l) => {
99
+ }, ye = (l, t) => l ? t[m.value.text].indexOf(l) !== -1 : !0, he = () => {
100
+ k("refresh");
101
+ }, _e = (l, t) => {
102
+ if (!x.value || !x.value.keyboard)
103
+ return !1;
104
+ x.value.keyboard(l, t);
105
+ }, be = () => {
106
+ K.value.update();
107
+ }, U = () => {
108
+ let l = y.value[r.value.page.toLowerCase()].route;
109
+ return a.value.currentKey && (l += "?id=" + a.value.currentKey), l;
110
+ }, ke = () => {
111
+ let l = N.value.query.id, t;
112
+ l == null ? t = r.value.updateKey : t = F.convert(l, O.value.type), t && (a.value.currentKey = t, a.value.expandedKeys = [t], R.value = U()), D(null, () => {
113
+ I = new Be(E.value, [K.value.$el, M.value]);
114
+ });
115
+ };
116
+ we(() => {
117
+ ke();
118
+ }), Ne(() => {
119
+ I.dispose();
120
+ }), q(() => {
121
+ let l = { [r.value.parentId]: N.value.query.id };
122
+ return L.base64(l);
123
+ });
124
+ let xe = q(() => {
125
+ let l = `/${m.value.name}/tree-node`;
126
+ return re.getComponent(l, "partial", "tree-node");
127
+ }), O = q(() => m.value.fields.find((t) => t.name == r.value.id));
128
+ return Se(() => N.value, (l, t) => {
129
+ a.value.currentKey = F.convert(l.query.id, O.value.type), R.value = U();
130
+ }), Y({ refresh: he, keyboard: _e, resize: be }), (l, t) => {
131
+ const o = T("el-scrollbar"), n = T("el-tree"), u = T("el-button"), P = T("el-drawer");
132
+ return i(), C(e(Ve), {
133
+ class: "tree",
134
+ width: e(a).width,
135
+ onResize: t[5] || (t[5] = (s) => e(a).width = s)
136
+ }, {
137
+ left: f(() => [
138
+ c("div", Me, [
139
+ e(m).search.length ? (i(), h("div", {
140
+ key: 0,
141
+ ref_key: "searchRef",
142
+ ref: ae,
143
+ class: "tree-search"
144
+ }, [
145
+ _(o, null, {
146
+ default: f(() => [
147
+ (i(!0), h(Ke, null, Re(e(m).search, (s, V) => (i(), h("div", {
148
+ class: "search-field",
149
+ key: V
150
+ }, [
151
+ _(Ee, {
152
+ schema: e(le),
153
+ table: e(m),
154
+ field: s,
155
+ "search-data": e(te),
156
+ onChange: e(pe),
157
+ onSubmit: e(me)
158
+ }, null, 8, ["schema", "table", "field", "search-data", "onChange", "onSubmit"])
159
+ ]))), 128))
160
+ ]),
161
+ _: 1
162
+ })
163
+ ], 512)) : (i(), C(e(qe), {
164
+ key: 1,
165
+ title: e(z)(e(B).type, e(B).name)
166
+ }, null, 8, ["title"])),
167
+ $e(_(o, {
168
+ ref_key: "scrollbarRef",
169
+ ref: K,
170
+ class: "tree-content",
171
+ onScroll: e(ue)
172
+ }, {
173
+ default: f(() => [
174
+ e(a).visible ? (i(), C(n, {
175
+ key: 0,
176
+ ref_key: "treeRef",
177
+ ref: S,
178
+ "highlight-current": "",
179
+ "show-checkbox": e(r).checkbox,
180
+ "expand-on-click-node": !1,
181
+ draggable: !!e(r).operation,
182
+ data: e(r).data,
183
+ "node-key": e(r).id,
184
+ "current-node-key": e(a).currentKey,
185
+ props: { children: "Children", label: e(r).text },
186
+ "filter-node-method": e(ye),
187
+ "default-expanded-keys": e(a).expandedKeys,
188
+ onNodeClick: e(ce),
189
+ onNodeContextmenu: e(oe),
190
+ onNodeCollapse: e(ve),
191
+ onNodeDrop: e(fe)
192
+ }, {
193
+ default: f(({ node: s, data: V }) => [
194
+ (i(), C(Te(e(xe)), {
195
+ table: e(m),
196
+ layout: e(r),
197
+ row: V,
198
+ node: s
199
+ }, null, 8, ["table", "layout", "row", "node"]))
200
+ ]),
201
+ _: 1
202
+ }, 8, ["show-checkbox", "draggable", "data", "node-key", "current-node-key", "props", "filter-node-method", "default-expanded-keys", "onNodeClick", "onNodeContextmenu", "onNodeCollapse", "onNodeDrop"])) : g("", !0),
203
+ c("ul", {
204
+ ref_key: "menuRef",
205
+ ref: E,
206
+ class: "mouse-context"
207
+ }, [
208
+ c("li", {
209
+ onClick: t[0] || (t[0] = (s) => e($)("child"))
210
+ }, [
211
+ ze,
212
+ w(b(e(p)("tree.add_sub_item")), 1)
213
+ ]),
214
+ c("li", {
215
+ onClick: t[1] || (t[1] = (s) => e($)("sibling"))
216
+ }, [
217
+ He,
218
+ w(b(e(p)("tree.add_same_grade")), 1)
219
+ ]),
220
+ c("li", {
221
+ onClick: t[2] || (t[2] = (s) => e($)("copy"))
222
+ }, [
223
+ Ae,
224
+ w(b(e(p)("common.copy")), 1)
225
+ ]),
226
+ e(y).delete ? (i(), h("li", {
227
+ key: 0,
228
+ onClick: t[3] || (t[3] = //@ts-ignore
229
+ (...s) => e(A) && e(A)(...s))
230
+ }, [
231
+ Oe,
232
+ w(b(e(p)("common.delete")), 1)
233
+ ])) : g("", !0)
234
+ ], 512)
235
+ ]),
236
+ _: 1
237
+ }, 8, ["onScroll"]), [
238
+ [Ie, e(r).data.length]
239
+ ]),
240
+ e(r).data.length ? g("", !0) : (i(), h("div", Pe, b(e(p)("common.no_data")), 1)),
241
+ !e(r).data.length && e(y).insert ? (i(), h("div", je, [
242
+ _(u, {
243
+ type: "primary",
244
+ onClick: e($)
245
+ }, {
246
+ icon: f(() => [
247
+ Fe
248
+ ]),
249
+ default: f(() => [
250
+ w(" " + b(e(y).insert.title), 1)
251
+ ]),
252
+ _: 1
253
+ }, 8, ["onClick"])
254
+ ])) : g("", !0)
255
+ ])
256
+ ]),
257
+ default: f(() => [
258
+ c("div", {
259
+ ref_key: "detailRef",
260
+ ref: M,
261
+ class: "tree-detail"
262
+ }, [
263
+ e(a).currentKey ? (i(), C(e(G), {
264
+ key: 0,
265
+ ref_key: "singleRef",
266
+ ref: x,
267
+ url: e(R)
268
+ }, null, 8, ["url"])) : g("", !0)
269
+ ], 512),
270
+ _(P, {
271
+ size: "60%",
272
+ "destroy-on-close": "",
273
+ title: e(z)(e(d).type, e(d).name),
274
+ modelValue: e(d).visible,
275
+ "onUpdate:modelValue": t[4] || (t[4] = (s) => e(d).visible = s)
276
+ }, {
277
+ default: f(() => [
278
+ _(e(G), {
279
+ url: e(d).url,
280
+ onLoaded: e(de),
281
+ onSucceed: e(se),
282
+ onClose: e(ie)
283
+ }, null, 8, ["url", "onLoaded", "onSucceed", "onClose"])
284
+ ]),
285
+ _: 1
286
+ }, 8, ["title", "modelValue"])
287
+ ]),
288
+ _: 1
289
+ }, 8, ["width"]);
290
+ };
291
+ }
292
+ });
293
+ export {
294
+ ll as default
295
+ };
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as h, toRefs as x, computed as C, openBlock as l, createElementBlock as a, unref as e, createElementVNode as N, toDisplayString as i, createTextVNode as b, createCommentVNode as s } from "vue";
2
- import { S as g } from "./main-CgmRyjET.js";
2
+ import { S as g } from "./main-Bs5Q5ZLl.js";
3
+ import "xlsx-js-style";
4
+ import "./vendor-crypto-js-ftX_aBC-.js";
3
5
  import "./vendor-@monaco-editor-DKC4UNw_.js";
4
6
  import "./vendor-moment-h96o7c8I.js";
5
- import "./vendor-crypto-js-ftX_aBC-.js";
6
- import "xlsx-js-style";
7
7
  const y = ["title"], k = { class: "number" }, v = {
8
8
  key: 0,
9
9
  class: "option-suffix"
@@ -27,7 +27,7 @@ const y = ["title"], k = { class: "number" }, v = {
27
27
  title: e(t)[e(n).title]
28
28
  }, [
29
29
  N("span", k, i(e(m)(e(c), e(t))), 1),
30
- b(" " + i(e(f) ? r.$t(e(t)[e(n).text]) : e(t)[e(n).text]) + " ", 1),
30
+ b(" " + i(e(f) ? r.t(e(t)[e(n).text]) : e(t)[e(n).text]) + " ", 1),
31
31
  e(n).suffix ? (l(), a("span", v, i(e(t)[e(n).suffix]), 1)) : s("", !0),
32
32
  e(t).Children && e(t).Children.length > 0 ? (l(), a("span", S, "(" + i(e(t).Children.length) + ")", 1)) : s("", !0)
33
33
  ], 8, y));