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
@@ -0,0 +1,59 @@
1
+ import { defineComponent as g, toRefs as S, ref as x, resolveComponent as y, openBlock as B, createElementBlock as D, createElementVNode as c, toDisplayString as t, createVNode as r, unref as i, withCtx as a, createTextVNode as m } from "vue";
2
+ import { z as N, h as V, M as E } 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
+ const M = { class: "delete" }, R = { class: "delete-title" }, q = { class: "delete-buttons" }, G = /* @__PURE__ */ g({
8
+ __name: "Delete",
9
+ props: {
10
+ base: {},
11
+ route: {},
12
+ url: {}
13
+ },
14
+ emits: ["navigate", "succeed", "close"],
15
+ setup(d, { emit: u }) {
16
+ let o = u, p = d, { base: _, route: f } = S(p), v = N(), l = x(), h = (e) => {
17
+ l.value = e.next;
18
+ };
19
+ (() => {
20
+ h(_.value.data);
21
+ })();
22
+ let k = () => {
23
+ let e = [f.value.query.id];
24
+ V.post(l.value.delete.route, e).then((s) => {
25
+ E.success(s.message), C();
26
+ });
27
+ }, C = () => {
28
+ v.toBackUrl(), o("succeed", "delete");
29
+ }, b = () => {
30
+ o("close");
31
+ };
32
+ return (e, s) => {
33
+ const n = y("el-button");
34
+ return B(), D("div", M, [
35
+ c("div", R, t(e.t("common.confirm_delete")), 1),
36
+ c("div", q, [
37
+ r(n, {
38
+ type: "danger",
39
+ onClick: i(k)
40
+ }, {
41
+ default: a(() => [
42
+ m(t(e.t("common.confirm")), 1)
43
+ ]),
44
+ _: 1
45
+ }, 8, ["onClick"]),
46
+ r(n, { onClick: i(b) }, {
47
+ default: a(() => [
48
+ m(t(e.t("common.cancel")), 1)
49
+ ]),
50
+ _: 1
51
+ }, 8, ["onClick"])
52
+ ])
53
+ ]);
54
+ };
55
+ }
56
+ });
57
+ export {
58
+ G as default
59
+ };
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as k, toRefs as C, resolveComponent as h, openBlock as v, createBlock as b, unref as o, withCtx as t, createVNode as i, createTextVNode as a, toDisplayString as c, createElementVNode as s } from "vue";
2
- import { t as $ } from "./main-CgmRyjET.js";
2
+ import { t as x } 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
- const x = /* @__PURE__ */ s("i", { class: "fa fa-edit" }, null, -1), N = /* @__PURE__ */ s("i", { class: "fa fa-copy" }, null, -1), V = /* @__PURE__ */ s("i", { class: "fa fa-chevron-left" }, null, -1), q = /* @__PURE__ */ k({
7
+ const N = /* @__PURE__ */ s("i", { class: "fa fa-edit" }, null, -1), V = /* @__PURE__ */ s("i", { class: "fa fa-copy" }, null, -1), g = /* @__PURE__ */ s("i", { class: "fa fa-chevron-left" }, null, -1), q = /* @__PURE__ */ k({
8
8
  __name: "Detail",
9
9
  props: {
10
10
  route: {},
@@ -14,26 +14,26 @@ const x = /* @__PURE__ */ s("i", { class: "fa fa-edit" }, null, -1), N = /* @__P
14
14
  },
15
15
  emits: ["copy", "edit", "close"],
16
16
  setup(p, { emit: f }) {
17
- let l = f, u = p, { route: g, table: m, set: r, next: B } = C(u), d = (e) => {
17
+ let l = f, u = p, { route: B, table: m, set: r, next: D } = C(u), d = (e) => {
18
18
  l("copy", r.value[m.value.name][0], e);
19
19
  }, _ = (e) => {
20
20
  l("edit", r.value[m.value.name][0], e);
21
21
  }, y = () => {
22
22
  l("close");
23
23
  };
24
- return (e, D) => {
24
+ return (e, w) => {
25
25
  const n = h("el-button");
26
- return v(), b(o($), { padding: 5 }, {
26
+ return v(), b(o(x), { padding: 5 }, {
27
27
  default: t(() => [
28
28
  i(n, {
29
29
  type: "primary",
30
30
  onClick: o(_)
31
31
  }, {
32
32
  icon: t(() => [
33
- x
33
+ N
34
34
  ]),
35
35
  default: t(() => [
36
- a(" " + c(e.$t("common.modify")), 1)
36
+ a(" " + c(e.t("common.modify")), 1)
37
37
  ]),
38
38
  _: 1
39
39
  }, 8, ["onClick"]),
@@ -43,19 +43,19 @@ const x = /* @__PURE__ */ s("i", { class: "fa fa-edit" }, null, -1), N = /* @__P
43
43
  onClick: o(d)
44
44
  }, {
45
45
  icon: t(() => [
46
- N
46
+ V
47
47
  ]),
48
48
  default: t(() => [
49
- a(" " + c(e.$t("common.copy")), 1)
49
+ a(" " + c(e.t("common.copy")), 1)
50
50
  ]),
51
51
  _: 1
52
52
  }, 8, ["onClick"]),
53
53
  i(n, { onClick: o(y) }, {
54
54
  icon: t(() => [
55
- V
55
+ g
56
56
  ]),
57
57
  default: t(() => [
58
- a(" " + c(e.$t("common.back")), 1)
58
+ a(" " + c(e.t("common.back")), 1)
59
59
  ]),
60
60
  _: 1
61
61
  }, 8, ["onClick"])
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as g, toRefs as x, computed as o, resolveComponent as h, openBlock as r, createElementBlock as a, Fragment as V, renderList as S, unref as b, createBlock as k, normalizeStyle as B, withCtx as C, createTextVNode as N, toDisplayString as u, createCommentVNode as H } from "vue";
2
- import { c as s, S as w, A } from "./main-CgmRyjET.js";
2
+ import { c as s, S as w, A } 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 D = { class: "text-dictionary" }, E = {
8
8
  key: 0,
9
9
  class: "suffix"
@@ -26,7 +26,7 @@ const R = /* @__PURE__ */ f({
26
26
  return h(), y(c, {
27
27
  type: "email",
28
28
  disabled: e(t).control.readonly,
29
- placeholder: o.$t_field_placeholder(e(p).name, e(t).name),
29
+ placeholder: o.t_field_placeholder(e(p).name, e(t).name),
30
30
  onKeyup: x(e(r), ["enter", "native"]),
31
31
  modelValue: e(l),
32
32
  "onUpdate:modelValue": n[0] || (n[0] = (d) => g(l) ? l.value = d : l = d)
@@ -1,11 +1,11 @@
1
- import { defineComponent as J, toRefs as O, ref as P, resolveComponent as p, openBlock as l, createElementBlock as u, createVNode as g, unref as e, withCtx as r, createElementVNode as n, normalizeClass as L, Fragment as S, renderList as q, createBlock as h, toDisplayString as _, createTextVNode as w, createCommentVNode as x } from "vue";
2
- import { useRoute as T, useRouter as A } from "vue-router";
3
- import { h as F, n as G, H as I, E as K } from "./main-CgmRyjET.js";
1
+ import { defineComponent as O, toRefs as P, ref as T, resolveComponent as p, openBlock as l, createElementBlock as u, createVNode as g, unref as e, withCtx as r, createElementVNode as n, normalizeClass as q, Fragment as L, renderList as w, createBlock as h, toDisplayString as _, createTextVNode as S, createCommentVNode as x } from "vue";
2
+ import { useRoute as A, useRouter as G } from "vue-router";
3
+ import { i as F, n as H, h as I, q as K } from "./main-Bs5Q5ZLl.js";
4
+ import "xlsx-js-style";
5
+ import "./vendor-crypto-js-ftX_aBC-.js";
4
6
  import "./vendor-@monaco-editor-DKC4UNw_.js";
5
7
  import "./vendor-moment-h96o7c8I.js";
6
- import "./vendor-crypto-js-ftX_aBC-.js";
7
- import "xlsx-js-style";
8
- import { _ as M } from "./SearchForm.vue_vue_type_style_index_0_lang-By2w2biv.js";
8
+ import { _ as M } from "./SearchForm.vue_vue_type_style_index_0_lang-BJeXUISp.js";
9
9
  const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ */ n("i", { class: "fa fa-list" }, null, -1), X = [
10
10
  W
11
11
  ], Y = /* @__PURE__ */ n("i", { class: "fa fa-image" }, null, -1), Z = [
@@ -16,7 +16,7 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
16
16
  }, te = { class: "file-image" }, oe = ["src"], ae = { class: "file-title" }, le = { class: "file-name" }, ne = ["src", "alt"], se = { class: "file-title" }, re = {
17
17
  key: 2,
18
18
  class: "not-support"
19
- }, he = /* @__PURE__ */ J({
19
+ }, he = /* @__PURE__ */ O({
20
20
  __name: "File",
21
21
  props: {
22
22
  searchData: {},
@@ -28,41 +28,41 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
28
28
  set: {}
29
29
  },
30
30
  setup(N) {
31
- let z = N, { schema: B, table: s, layout: i, next: d, set: b, searchData: ie } = O(z), c = F(), f = T(), v = A(), k = P(), C = (t) => {
31
+ let z = N, { schema: B, table: s, layout: i, next: d, set: b, searchData: ie } = P(z), c = F(), f = A(), v = G(), k = T(), C = (t) => {
32
32
  let a = { type: "fileLayout", value: t };
33
33
  I.post("/user/config", a).then((y) => {
34
34
  F.fileLayout = t;
35
35
  });
36
- }, E = (t) => {
36
+ }, D = (t) => {
37
37
  let a = { ...f.query };
38
38
  a.page = t, v.push({ path: d.value.paging.route, query: a });
39
39
  }, V = () => {
40
40
  let t = { ...f.query };
41
- t.page = "1", t.condition = K.getBase64().encode(JSON.stringify(k.value));
41
+ t.page = "1", t.condition = K.getEncoder().getBase64().encode(JSON.stringify(k.value));
42
42
  let a = { path: d.value.paging.route, query: t };
43
43
  v.push(a);
44
44
  };
45
45
  return (t, a) => {
46
- const y = p("router-link"), D = p("el-table-column"), R = p("el-table"), H = p("el-button"), j = p("el-pagination");
46
+ const y = p("router-link"), E = p("el-table-column"), R = p("el-table"), j = p("el-button"), J = p("el-pagination");
47
47
  return l(), u("div", Q, [
48
- g(e(G), {
49
- title: t.$t_module(t.module.type, t.module.name)
48
+ g(e(H), {
49
+ title: t.t_module(t.module.type, t.module.name)
50
50
  }, {
51
51
  operation: r(() => [
52
52
  n("div", U, [
53
53
  n("a", {
54
- class: L({ active: e(c).fileLayout == "list" }),
54
+ class: q({ active: e(c).fileLayout == "list" }),
55
55
  onClick: a[0] || (a[0] = (o) => e(C)("list"))
56
56
  }, X, 2),
57
57
  n("a", {
58
- class: L({ active: e(c).fileLayout == "image" }),
58
+ class: q({ active: e(c).fileLayout == "image" }),
59
59
  onClick: a[1] || (a[1] = (o) => e(C)("image"))
60
60
  }, Z, 2)
61
61
  ])
62
62
  ]),
63
63
  append: r(() => [
64
64
  e(c).fileLayout == "image" ? (l(), u("div", ee, [
65
- (l(!0), u(S, null, q(e(b)[e(s).name], (o, $) => (l(), h(y, {
65
+ (l(!0), u(L, null, w(e(b)[e(s).name], (o, $) => (l(), h(y, {
66
66
  class: "file",
67
67
  to: { path: e(d).detail.route, query: { id: o[e(s).key.name], m: e(f).query.m } },
68
68
  key: $
@@ -85,10 +85,10 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
85
85
  data: e(b)[e(s).name]
86
86
  }, {
87
87
  empty: r(() => [
88
- w(_(t.$t("common.no_data")), 1)
88
+ S(_(t.t("common.no_data")), 1)
89
89
  ]),
90
90
  default: r(() => [
91
- (l(!0), u(S, null, q(e(s).show, (o, $) => (l(), h(D, {
91
+ (l(!0), u(L, null, w(e(s).show, (o, $) => (l(), h(E, {
92
92
  "show-overflow-tooltip": "",
93
93
  sortable: e(s) ? "custom" : !1,
94
94
  "min-width": "180",
@@ -125,7 +125,7 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
125
125
  ]),
126
126
  _: 1
127
127
  }, 8, ["title"]),
128
- g(H, {
128
+ g(j, {
129
129
  type: "primary",
130
130
  icon: "el-icon-plus"
131
131
  }, {
@@ -134,20 +134,20 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
134
134
  to: { path: e(d).insert.route, query: { m: e(f).query.m } }
135
135
  }, {
136
136
  default: r(() => [
137
- w("添加新" + _(e(s).title), 1)
137
+ S("添加新" + _(e(s).title), 1)
138
138
  ]),
139
139
  _: 1
140
140
  }, 8, ["to"])
141
141
  ]),
142
142
  _: 1
143
143
  }),
144
- g(j, {
144
+ g(J, {
145
145
  background: "",
146
146
  layout: "total, prev, pager, next, jumper",
147
147
  "current-page": e(i).page,
148
148
  "page-size": e(i).pageSize,
149
149
  total: e(i).count,
150
- onCurrentChange: e(E)
150
+ onCurrentChange: e(D)
151
151
  }, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
152
152
  ]);
153
153
  };
@@ -1,4 +1,4 @@
1
- import { b as e } from "./main-CgmRyjET.js";
1
+ import { b as e } from "./main-Bs5Q5ZLl.js";
2
2
  const r = {};
3
3
  function c(n, t) {
4
4
  return null;
@@ -0,0 +1,4 @@
1
+ import { E as f } from "./main-Bs5Q5ZLl.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-CCdCOtFc.js";
1
+ import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-DOibFo1_.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-3zk23es9.js";
1
+ import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-B-sM48XO.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as x, defineAsyncComponent as C, toRefs as D, computed as d, unref as e, openBlock as c, createBlock as f, withCtx as v, resolveDynamicComponent as b, isRef as w, createElementVNode as _, toDisplayString as h } from "vue";
2
- import { S as N } from "./main-CgmRyjET.js";
2
+ import { S as N } 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 H = /* @__PURE__ */ x({
8
8
  __name: "Index",
9
9
  props: {
@@ -16,7 +16,7 @@ const H = /* @__PURE__ */ x({
16
16
  },
17
17
  emits: ["submit", "change"],
18
18
  setup(g, { emit: S }) {
19
- let V = C(() => import("./TextLink-KC_xsgpi.js")), k = g, { schema: u, table: s, field: o, set: i, row: a, config: m } = D(k), p = d(() => {
19
+ let V = C(() => import("./TextLink-DKm6XbeF.js")), k = g, { schema: u, table: s, field: o, set: i, row: a, config: m } = D(k), p = d(() => {
20
20
  let l = o.value.control.type;
21
21
  return m.value && m.value.control && m.value.control.type ? m.value.control.type : l;
22
22
  }), y = d(() => `text-${N.getDashName(p.value)}`), t = d({
@@ -46,7 +46,7 @@ const H = /* @__PURE__ */ x({
46
46
  "onUpdate:modelValue": r[0] || (r[0] = (n) => w(t) ? t.value = n : t = n)
47
47
  }, {
48
48
  default: v(() => [
49
- _("div", null, h(l.$t("common.unsupported_text_control", [e(p)])), 1)
49
+ _("div", null, h(l.t("common.unsupported_text_control", e(p))), 1)
50
50
  ]),
51
51
  _: 1
52
52
  }, 8, ["schema", "table", "field", "set", "row", "modelValue"]))
@@ -63,7 +63,7 @@ const H = /* @__PURE__ */ x({
63
63
  "onUpdate:modelValue": r[1] || (r[1] = (n) => w(t) ? t.value = n : t = n)
64
64
  }, {
65
65
  default: v(() => [
66
- _("div", null, h(l.$t("common.unsupported_text_control", [e(p)])), 1)
66
+ _("div", null, h(l.t("common.unsupported_text_control", e(p))), 1)
67
67
  ]),
68
68
  _: 1
69
69
  }, 8, ["schema", "table", "field", "set", "row", "modelValue"]));
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-gv23r-9D.js";
1
+ import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-Dwm5MQ9l.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,76 +1,79 @@
1
- import { defineComponent as P, ref as u, onMounted as D, computed as j, watch as Q, resolveComponent as f, openBlock as d, createElementBlock as b, createVNode as y, unref as t, withCtx as m, createElementVNode as n, toDisplayString as k, createBlock as v, createCommentVNode as h, isRef as $, withKeys as L, normalizeClass as Z, withModifiers as G, createTextVNode as T, Fragment as J, renderList as W, nextTick as H } from "vue";
1
+ import { defineComponent as P, ref as u, onMounted as D, computed as Q, watch as j, resolveComponent as c, openBlock as d, createElementBlock as h, createVNode as g, unref as t, withCtx as m, createElementVNode as n, toDisplayString as k, createBlock as v, createCommentVNode as b, isRef as T, withKeys as $, normalizeClass as Z, withModifiers as G, createTextVNode as F, Fragment as J, renderList as W, nextTick as K } from "vue";
2
2
  import { useRoute as X } from "vue-router";
3
- import { d as Y, u as ee, z as te, P as oe, S as le, q as K, g as re, f as se } from "./main-CgmRyjET.js";
3
+ import { d as Y, u as ee, z as te, q as oe, P as le, S as re, g as se, f as ne } from "./main-Bs5Q5ZLl.js";
4
+ import "xlsx-js-style";
5
+ import "./vendor-crypto-js-ftX_aBC-.js";
4
6
  import "./vendor-@monaco-editor-DKC4UNw_.js";
5
7
  import "./vendor-moment-h96o7c8I.js";
6
- const ne = { class: "login-container" }, ae = { class: "title-container" }, ie = { class: "title" }, ue = /* @__PURE__ */ n("span", { class: "svg-container" }, [
8
+ import "element-plus";
9
+ const ae = { class: "login-container" }, ie = { class: "title-container" }, ue = { class: "title" }, de = /* @__PURE__ */ n("span", { class: "svg-container" }, [
7
10
  /* @__PURE__ */ n("i", { class: "fa fa-user" })
8
- ], -1), de = /* @__PURE__ */ n("span", { class: "svg-container" }, [
11
+ ], -1), pe = /* @__PURE__ */ n("span", { class: "svg-container" }, [
9
12
  /* @__PURE__ */ n("i", { class: "fa fa-key" })
10
- ], -1), pe = { class: "btn-others" }, fe = ["href"], me = ["innerHTML"], we = /* @__PURE__ */ P({
13
+ ], -1), ce = { class: "btn-others" }, me = ["href"], fe = ["innerHTML"], Re = /* @__PURE__ */ P({
11
14
  __name: "Index",
12
- setup(ce) {
13
- let a = u({ id: "", secret: "" }), p = u("password"), s = u(!1), _ = u(!1), C = u(), R = u(), w = u(), S = Y(), { $t: i, $t_sys: q } = ee(), U = te(), V = X(), F = {
15
+ setup(_e) {
16
+ let a = u({ id: "", secret: "" }), p = u("password"), s = u(!1), _ = u(!1), C = u(), R = u(), w = u(), S = Y(), { t: i, t_sys: q } = ee(), U = te(), V = X(), x = oe.getSso(), H = {
14
17
  id: [{
15
18
  required: !0,
16
19
  trigger: "blur",
17
20
  validator: (o, e, r) => {
18
- e ? e.indexOf("@") > -1 ? le.isEmail(e) ? r() : r(new Error("邮箱格式不正确")) : r() : r(new Error(i("common.username_or_email") + " " + i("common.should_not_null")));
21
+ e ? e.indexOf("@") > -1 ? re.isEmail(e) ? r() : r(new Error("邮箱格式不正确")) : r() : r(new Error(i("common.username_or_email") + " " + i("common.should_not_null")));
19
22
  }
20
23
  }]
21
24
  // secret: [{required: true, trigger: 'blur', validator: validateSecret}]
22
25
  }, I = (o) => {
23
26
  o.key && o.key.length == 1 && (o.shiftKey && o.key >= "a" && o.key <= "z" || !o.shiftKey && o.key >= "A" && o.key <= "Z" ? s.value = !0 : s.value = !1), o.key == "CapsLock" && s.value == !0 && (s.value = !1);
24
- }, x = () => {
25
- p.value == "password" ? p.value = "" : p.value = "password", H(() => {
27
+ }, B = () => {
28
+ p.value == "password" ? p.value = "" : p.value = "password", K(() => {
26
29
  w.value.focus();
27
30
  });
28
- }, B = (o) => {
29
- _.value = !0, C.value.validate((e) => {
31
+ }, E = async (o) => {
32
+ _.value = !0, C.value.validate(async (e) => {
30
33
  if (!e)
31
34
  return _.value = !1, !1;
32
- K.getSso(o).login(a.value).then(({ data: c }) => {
33
- re.getBackUrl() ? U.toBackUrl() : U.to("/");
35
+ (await x.create(o)).login(a.value).then(({ data: f }) => {
36
+ se.getBackUrl() ? U.toBackUrl() : U.to("/");
34
37
  }).finally(() => {
35
- H(() => {
38
+ K(() => {
36
39
  _.value = !1;
37
40
  });
38
41
  });
39
42
  });
40
- }, M = (o) => {
41
- let e = K.getSso(o), r = V.query.return_url, c = `${window.location.origin}/sso/callback?type=${o.toLowerCase()}&return_url=${r}`;
42
- return e.loginUrl(se.api.url + `/user/login?type=${o.toLowerCase()}&callback_url=` + encodeURIComponent(c));
43
+ }, M = async (o) => {
44
+ let e = await x.create(o), r = V.query.return_url, f = `${window.location.origin}/sso/callback?type=${o.toLowerCase()}&return_url=${r}`;
45
+ return e.loginUrl(ne.api.url + `/user/login?type=${o.toLowerCase()}&callback_url=` + encodeURIComponent(f));
43
46
  }, N = (o) => Object.keys(o).reduce((e, r) => (e[r] = o[r], e), {});
44
47
  D(() => {
45
- oe.setI18nTitle("common.login"), g.value != null && (a.value.id == "" ? R.value.focus() : a.value.secret == "" && w.value.focus());
48
+ le.setI18nTitle("common.login"), y.value != null && (a.value.id == "" ? R.value.focus() : a.value.secret == "" && w.value.focus());
46
49
  });
47
- let g = j(() => S.ssos.find((e) => e.type.toUpperCase() == "BEARER"));
48
- return Q(() => V, (o) => {
50
+ let y = Q(() => S.ssos.find((e) => e.type.toUpperCase() == "BEARER"));
51
+ return j(() => V, (o) => {
49
52
  debugger;
50
53
  const e = o.query;
51
- e && N(e);
54
+ e && (otherQuery = N(e));
52
55
  }), (o, e) => {
53
- const r = f("el-input"), c = f("el-form-item"), E = f("el-tooltip"), O = f("el-button"), z = f("router-link"), A = f("el-form");
54
- return d(), b("div", ne, [
55
- y(A, {
56
+ const r = c("el-input"), f = c("el-form-item"), L = c("el-tooltip"), O = c("el-button"), z = c("router-link"), A = c("el-form");
57
+ return d(), h("div", ae, [
58
+ g(A, {
56
59
  ref_key: "loginFormRef",
57
60
  ref: C,
58
61
  autocomplete: "on",
59
62
  "label-position": "left",
60
63
  model: t(a),
61
- rules: t(F)
64
+ rules: t(H)
62
65
  }, {
63
66
  default: m(() => [
64
- n("div", ae, [
65
- n("h3", ie, k(t(q)("title")), 1)
67
+ n("div", ie, [
68
+ n("h3", ue, k(t(q)("title")), 1)
66
69
  ]),
67
- t(g) ? (d(), v(c, {
70
+ t(y) ? (d(), v(f, {
68
71
  key: 0,
69
72
  prop: "id"
70
73
  }, {
71
74
  default: m(() => [
72
- ue,
73
- y(r, {
75
+ de,
76
+ g(r, {
74
77
  ref_key: "idRef",
75
78
  ref: R,
76
79
  placeholder: t(i)("common.username_or_email"),
@@ -83,19 +86,19 @@ const ne = { class: "login-container" }, ae = { class: "title-container" }, ie =
83
86
  }, null, 8, ["placeholder", "modelValue"])
84
87
  ]),
85
88
  _: 1
86
- })) : h("", !0),
87
- t(g) ? (d(), v(E, {
89
+ })) : b("", !0),
90
+ t(y) ? (d(), v(L, {
88
91
  key: 1,
89
92
  content: "Caps lock is On",
90
93
  placement: "right",
91
94
  manual: "",
92
95
  modelValue: t(s),
93
- "onUpdate:modelValue": e[5] || (e[5] = (l) => $(s) ? s.value = l : s = l)
96
+ "onUpdate:modelValue": e[5] || (e[5] = (l) => T(s) ? s.value = l : s = l)
94
97
  }, {
95
98
  default: m(() => [
96
- y(c, { prop: "secret" }, {
99
+ g(f, { prop: "secret" }, {
97
100
  default: m(() => [
98
- de,
101
+ pe,
99
102
  (d(), v(r, {
100
103
  ref_key: "secretRef",
101
104
  ref: w,
@@ -106,17 +109,17 @@ const ne = { class: "login-container" }, ae = { class: "title-container" }, ie =
106
109
  tabindex: "2",
107
110
  autocomplete: "on",
108
111
  onKeyup: [
109
- L(t(I), ["native"]),
110
- e[2] || (e[2] = L((l) => t(B)("Bearer"), ["enter", "native"]))
112
+ $(t(I), ["native"]),
113
+ e[2] || (e[2] = $((l) => t(E)("Bearer"), ["enter", "native"]))
111
114
  ],
112
- onBlur: e[1] || (e[1] = (l) => $(s) ? s.value = !1 : s = !1),
115
+ onBlur: e[1] || (e[1] = (l) => T(s) ? s.value = !1 : s = !1),
113
116
  modelValue: t(a).secret,
114
117
  "onUpdate:modelValue": e[3] || (e[3] = (l) => t(a).secret = l)
115
118
  }, null, 8, ["type", "placeholder", "onKeyup", "modelValue"])),
116
119
  n("span", {
117
120
  class: "btn-pwd",
118
121
  onClick: e[4] || (e[4] = //@ts-ignore
119
- (...l) => t(x) && t(x)(...l))
122
+ (...l) => t(B) && t(B)(...l))
120
123
  }, [
121
124
  n("i", {
122
125
  class: Z(t(p) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
@@ -127,29 +130,29 @@ const ne = { class: "login-container" }, ae = { class: "title-container" }, ie =
127
130
  })
128
131
  ]),
129
132
  _: 1
130
- }, 8, ["modelValue"])) : h("", !0),
131
- t(g) ? (d(), v(O, {
133
+ }, 8, ["modelValue"])) : b("", !0),
134
+ t(y) ? (d(), v(O, {
132
135
  key: 2,
133
136
  type: "primary",
134
137
  class: "btn-login",
135
138
  loading: t(_),
136
- onClick: e[6] || (e[6] = G((l) => t(B)("Bearer"), ["prevent"]))
139
+ onClick: e[6] || (e[6] = G((l) => t(E)("Bearer"), ["prevent"]))
137
140
  }, {
138
141
  default: m(() => [
139
- T(k(t(i)("common.login")), 1)
142
+ F(k(t(i)("common.login")), 1)
140
143
  ]),
141
144
  _: 1
142
- }, 8, ["loading"])) : h("", !0),
143
- n("div", pe, [
144
- (d(!0), b(J, null, W(t(S).ssos.filter((l) => l.type.toUpperCase() != "BEARER"), (l) => (d(), b("a", {
145
+ }, 8, ["loading"])) : b("", !0),
146
+ n("div", ce, [
147
+ (d(!0), h(J, null, W(t(S).ssos.filter((l) => l.type.toUpperCase() != "BEARER"), (l) => (d(), h("a", {
145
148
  href: t(M)(l.type)
146
- }, k(t(i)(l.text)), 9, fe))), 256)),
147
- y(z, {
149
+ }, k(t(i)(l.text)), 9, me))), 256)),
150
+ g(z, {
148
151
  class: "btn-register",
149
152
  to: "/register"
150
153
  }, {
151
154
  default: m(() => [
152
- T(k(t(i)("common.register")), 1)
155
+ F(k(t(i)("common.register")), 1)
153
156
  ]),
154
157
  _: 1
155
158
  })
@@ -160,11 +163,11 @@ const ne = { class: "login-container" }, ae = { class: "title-container" }, ie =
160
163
  n("div", {
161
164
  class: "powered-by",
162
165
  innerHTML: t(i)("sys.powered_by")
163
- }, null, 8, me)
166
+ }, null, 8, fe)
164
167
  ]);
165
168
  };
166
169
  }
167
170
  });
168
171
  export {
169
- we as default
172
+ Re as default
170
173
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Index.vue_vue_type_style_index_0_lang-DZJCAfOb.js";
1
+ import { _ as f } from "./Index.vue_vue_type_style_index_0_lang-D9Jt6Of_.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -0,0 +1,4 @@
1
+ import { o } from "./main-Bs5Q5ZLl.js";
2
+ export {
3
+ o as default
4
+ };
@@ -25,7 +25,7 @@ const x = { class: "not-support" }, k = /* @__PURE__ */ u({
25
25
  "onUpdate:modelValue": l[0] || (l[0] = (p) => e(n)[e(a).name][e(t).name] = p)
26
26
  }, {
27
27
  default: C(() => [
28
- D("div", x, V(o.$t("paging.not_implemented_search_control", [e(t).search.control])), 1)
28
+ D("div", x, V(o.t("paging.not_implemented_search_control", e(t).search.control)), 1)
29
29
  ]),
30
30
  _: 1
31
31
  }, 40, ["schema", "table", "field", "search-data", "onChange", "onSubmit", "modelValue"]));