halo-pc 1.0.32 → 1.0.33

Sign up to get free protection for your applications and to get access to all the features.
Files changed (383) hide show
  1. package/dist/Article-DCYJail8.js +196 -0
  2. package/dist/{ArticleFooter-CQ9AIv5h.js → ArticleFooter-Bvzumuub.js} +17 -21
  3. package/dist/{Autocomplete-OR6Im-cE.js → Autocomplete-C0D5E-06.js} +1 -1
  4. package/dist/Autocomplete-CpWD0i6D.js +50 -0
  5. package/dist/Autocomplete-SLfUYHq2.js +51 -0
  6. package/dist/{CSharp-AEpf5-C8.js → CSharp-BWRmcrNc.js} +1 -1
  7. package/dist/{Calender-B9SQE_dy.js → Calender-Dy-Sjrei.js} +1 -1
  8. package/dist/Callback-DrBVE0ti.js +22 -0
  9. package/dist/{Cascader-CQYJHxde.js → Cascader-CIj4KFmi.js} +16 -20
  10. package/dist/Cascader-DZl4vY2s.js +43 -0
  11. package/dist/{Checkbox-rn3rUyNj.js → Checkbox-Bb5vxnKt.js} +13 -17
  12. package/dist/{Checkbox-DYnxQbzW.js → Checkbox-DwDE5km1.js} +1 -1
  13. package/dist/{Code-CrgtwU3k.js → Code-B8uBt_JE.js} +1 -1
  14. package/dist/Code-D2wLpash.js +38 -0
  15. package/dist/Code-DN-iUuKo.js +4 -0
  16. package/dist/Code-s8nXn9oo.js +56 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-6xhQHppt.js +61 -0
  18. package/dist/Column-mw1IjF56.js +71 -0
  19. package/dist/{Comment-BsBFJGaQ.js → Comment-BEi2eeXI.js} +21 -25
  20. package/dist/{Compare-Cv14ecIG.js → Compare-B9C-Kwdu.js} +7 -11
  21. package/dist/{Compare-DWPAXxRl.js → Compare-DsdPxDYn.js} +6 -10
  22. package/dist/{Copy-GmouOi6m.js → Copy-CMbmQr2C.js} +11 -15
  23. package/dist/Custom-BrfTYDWw.js +61 -0
  24. package/dist/{DataExport-nWsB9V2F.js → DataExport-VHKsp5uP.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-CSEK5Szf.js → DataExport.vue_vue_type_script_setup_true_lang-Caq9XJ-O.js} +16 -19
  26. package/dist/{DataImport-B-p5FvJ7.js → DataImport-CnpQ9Kym.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-aFcYHSGO.js → DataImport.vue_vue_type_script_setup_true_lang-DplpxvPQ.js} +45 -47
  28. package/dist/Date-C2SRDxyk.js +39 -0
  29. package/dist/{Date-ajUkX7sc.js → Date-CvIM_2sI.js} +1 -1
  30. package/dist/{DateRange-t7EQCe1S.js → DateRange-WkA7vYqq.js} +15 -19
  31. package/dist/{DateTime-C0ZOwxCc.js → DateTime-DcXFUF6E.js} +1 -1
  32. package/dist/DateTime-wWaTFovo.js +40 -0
  33. package/dist/{DateTimeRange-CcO07AoI.js → DateTimeRange-Q9AW6zyN.js} +10 -14
  34. package/dist/Daterange-BY8ZDlBN.js +59 -0
  35. package/dist/{Decimal-BgjGUtrc.js → Decimal-UESG5P18.js} +1 -1
  36. package/dist/{Delete-C9XmUMZJ.js → Delete-n91Fcpc-.js} +8 -12
  37. package/dist/{Detail-KkegBU3k.js → Detail-BtcLxHBS.js} +15 -19
  38. package/dist/Dictionary-CAJUcBp0.js +57 -0
  39. package/dist/{Email-CJPL28hv.js → Email-CDMwJk7Z.js} +11 -15
  40. package/dist/{File-BjbmEXZd.js → File-C76d1BJ1.js} +14 -18
  41. package/dist/{Image-BDtr8i7Q.js → Image-CSSMA_jD.js} +1 -1
  42. package/dist/{Index-DFgVPWAR.js → Index-BgqFKRRj.js} +1 -1
  43. package/dist/{Index-A3fVUpUc.js → Index-BrgQOciZ.js} +17 -20
  44. package/dist/Index-C5u3IceT.js +4 -0
  45. package/dist/Index-C8Z6PxoA.js +4 -0
  46. package/dist/Index-DB0yuhyV.js +175 -0
  47. package/dist/{Index-CrsEtA8H.js → Index-DLubnMVv.js} +1 -1
  48. package/dist/Index-KkyOmZ3R.js +4 -0
  49. package/dist/Index-msx6xz6k.js +4 -0
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-BchX4oAa.js → Index.vue_vue_type_script_setup_true_lang-1MpxyKly.js} +11 -15
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-D8sKBxWN.js → Index.vue_vue_type_script_setup_true_lang-gZbmbXo1.js} +9 -13
  52. package/dist/{Install-BKjOyBl4.js → Install-CtSCUNub.js} +19 -23
  53. package/dist/{Int-DH7oV_hH.js → Int-B4zAW0X4.js} +10 -13
  54. package/dist/{Int-DHDcCAlq.js → Int-XV1t0f4f.js} +8 -12
  55. package/dist/{List-sJPDvZo0.js → List-v37-UA9D.js} +26 -30
  56. package/dist/Maintaince-C44w8P26.js +16 -0
  57. package/dist/{Markdown-569jtVWW.js → Markdown-C_lGXaO5.js} +1 -1
  58. package/dist/Month-cm6vEq2Y.js +39 -0
  59. package/dist/{Month-B8bZg9yu.js → Month-pJdC-juw.js} +1 -1
  60. package/dist/Month-zzTLcslu.js +40 -0
  61. package/dist/{Normal-COyWYgbT.js → Normal-BT6pVoVx.js} +78 -81
  62. package/dist/Paging-B-0NeSQQ.js +96 -0
  63. package/dist/{PagingHeader-B9ZN-gzP.js → PagingHeader-CbkHChbA.js} +14 -18
  64. package/dist/{PagingRow-BMCnYeRU.js → PagingRow-DQGIZbFP.js} +11 -15
  65. package/dist/QueryApi-DLCwFvTe.js +16 -0
  66. package/dist/{Racebar-jI_Tr0oJ.js → Racebar-CryjydAO.js} +38 -41
  67. package/dist/{Radio-CXOvmHaC.js → Radio-CHnqeLBU.js} +1 -1
  68. package/dist/{Register-Dc3SHbQr.js → Register-CB1q0ncb.js} +67 -70
  69. package/dist/{RichText-BFoNVAke.js → RichText-BvK0bmFf.js} +11 -15
  70. package/dist/{SearchFooter-z_VvJkGQ.js → SearchFooter-DaEhbBdR.js} +1 -1
  71. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-Cyc3lOz2.js → SearchFooter.vue_vue_type_style_index_0_lang-B8QDMIGV.js} +1 -1
  72. package/dist/{SearchForm-DOf6HA9X.js → SearchForm-BcDIYVhU.js} +1 -1
  73. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-4UV9Kag_.js → SearchForm.vue_vue_type_style_index_0_lang-DtvRf-gM.js} +41 -44
  74. package/dist/{Select-C07y0IUr.js → Select-BMazswCl.js} +14 -18
  75. package/dist/{Select-DjvKZlDp.js → Select-D3aaF4gn.js} +15 -19
  76. package/dist/{Select-DUL8NZY-.js → Select-D9Jclups.js} +1 -1
  77. package/dist/{Single-CoZwT834.js → Single-DCOCo7Vc.js} +78 -81
  78. package/dist/{Statistic-B9sFcyyg.js → Statistic-teiCMfQY.js} +33 -36
  79. package/dist/{Stock-CwZn5mMQ.js → Stock-CLmG6hy_.js} +1 -1
  80. package/dist/{Stock-lAtweMdA.js → Stock-wNOHTOMF.js} +1 -1
  81. package/dist/{Stock.vue_vue_type_style_index_0_lang-BuSHv622.js → Stock.vue_vue_type_style_index_0_lang-DEkzz8vd.js} +12 -15
  82. package/dist/{Switch-D5N98lH2.js → Switch-C_sovBFO.js} +1 -1
  83. package/dist/Table-CrYK4rG9.js +241 -0
  84. package/dist/{Table-D_G9vqqg.js → Table-pLTOSr8X.js} +97 -101
  85. package/dist/{Text-CP8Fzkm-.js → Text-Bi_wT7pC.js} +16 -20
  86. package/dist/Text-DMGSVlY8.js +4 -0
  87. package/dist/{Text-PDd5nZH8.js → Text-DVP3c8MB.js} +8 -12
  88. package/dist/{Text.vue_vue_type_style_index_0_lang-JCklGm0p.js → Text.vue_vue_type_style_index_0_lang-BlQ5FRgx.js} +15 -19
  89. package/dist/{TextLink-B-uh2FSK.js → TextLink-KhbhlvEL.js} +16 -20
  90. package/dist/{Textarea-m0k4bL1V.js → Textarea-BhAHTT9o.js} +1 -1
  91. package/dist/{Time-DOZHyrC6.js → Time-Dchjq1cn.js} +12 -16
  92. package/dist/{Timeline-CWVqeAPO.js → Timeline-BhQmk26x.js} +13 -17
  93. package/dist/{Tree-BftFsRke.js → Tree-B1oZglBE.js} +114 -117
  94. package/dist/Tree-CES1v1og.js +119 -0
  95. package/dist/TreeNode-BWI6UAUL.js +39 -0
  96. package/dist/{Update-Bq3Vc9BT.js → Update-Bil0d3JB.js} +10 -14
  97. package/dist/{UpdateChild-Bzxp6hg4.js → UpdateChild-QgHXRQrk.js} +14 -18
  98. package/dist/Upload-Cha8b4S2.js +148 -0
  99. package/dist/Upload-DACACI2K.js +69 -0
  100. package/dist/UploadApi-EK9Yas4b.js +16 -0
  101. package/dist/Year-DX-UFKAf.js +43 -0
  102. package/dist/{Year-C1ewILpv.js → Year-abA2Vrst.js} +1 -1
  103. package/dist/main-Dq4FCPIB.js +9703 -0
  104. package/dist/main.js +134 -131
  105. package/dist/style.css +1 -1
  106. package/esm/App.vue.d.ts +2 -0
  107. package/esm/components/business/HaCondition.vue.d.ts +18 -0
  108. package/esm/components/business/HaCrud.vue.d.ts +29 -0
  109. package/esm/components/business/HaDrawer.vue.d.ts +24 -0
  110. package/esm/components/business/HaDriver.vue.d.ts +52 -0
  111. package/esm/components/business/HaFeedback.vue.d.ts +8 -0
  112. package/esm/components/business/HaForm.vue.d.ts +23 -0
  113. package/esm/components/business/HaSwitch.vue.d.ts +24 -0
  114. package/esm/components/business/HaWelcome.vue.d.ts +8 -0
  115. package/esm/components/business/index.d.ts +124 -0
  116. package/esm/components/controls/Autocomplete.vue.d.ts +24 -0
  117. package/esm/components/controls/Cascader.vue.d.ts +24 -0
  118. package/esm/components/controls/Checkbox.vue.d.ts +22 -0
  119. package/esm/components/controls/Code.vue.d.ts +24 -0
  120. package/esm/components/controls/Color.vue.d.ts +24 -0
  121. package/esm/components/controls/Compare.vue.d.ts +24 -0
  122. package/esm/components/controls/Date.vue.d.ts +24 -0
  123. package/esm/components/controls/DateRange.vue.d.ts +24 -0
  124. package/esm/components/controls/DateTime.vue.d.ts +24 -0
  125. package/esm/components/controls/DateTimeRange.vue.d.ts +24 -0
  126. package/esm/components/controls/Decimal.vue.d.ts +24 -0
  127. package/esm/components/controls/Email.vue.d.ts +24 -0
  128. package/esm/components/controls/Image.vue.d.ts +2 -0
  129. package/esm/components/controls/Index.vue.d.ts +22 -0
  130. package/esm/components/controls/Int.vue.d.ts +24 -0
  131. package/esm/components/controls/Markdown.vue.d.ts +24 -0
  132. package/esm/components/controls/Month.vue.d.ts +24 -0
  133. package/esm/components/controls/Password.vue.d.ts +24 -0
  134. package/esm/components/controls/Progress.vue.d.ts +24 -0
  135. package/esm/components/controls/Radio.vue.d.ts +24 -0
  136. package/esm/components/controls/Rate.vue.d.ts +24 -0
  137. package/esm/components/controls/RichText.vue.d.ts +22 -0
  138. package/esm/components/controls/Select.vue.d.ts +24 -0
  139. package/esm/components/controls/Switch.vue.d.ts +24 -0
  140. package/esm/components/controls/Text.vue.d.ts +26 -0
  141. package/esm/components/controls/Textarea.vue.d.ts +24 -0
  142. package/esm/components/controls/Time.vue.d.ts +24 -0
  143. package/esm/components/controls/Upload.vue.d.ts +24 -0
  144. package/esm/components/controls/Year.vue.d.ts +24 -0
  145. package/esm/components/controls/index.d.ts +26 -0
  146. package/esm/components/headers/Breadcrumb.vue.d.ts +2 -0
  147. package/esm/components/headers/Debugger.vue.d.ts +2 -0
  148. package/esm/components/headers/Hamburger.vue.d.ts +18 -0
  149. package/esm/components/headers/HeaderRight.vue.d.ts +2 -0
  150. package/esm/components/headers/Index.vue.d.ts +6 -0
  151. package/esm/components/headers/Log.vue.d.ts +2 -0
  152. package/esm/components/headers/Logo.vue.d.ts +6 -0
  153. package/esm/components/headers/Refresh.vue.d.ts +6 -0
  154. package/esm/components/headers/Setting.vue.d.ts +8 -0
  155. package/esm/components/headers/index.d.ts +3 -0
  156. package/esm/components/index.d.ts +8 -0
  157. package/esm/components/layouts/Desktop.vue.d.ts +2 -0
  158. package/esm/components/layouts/Index.vue.d.ts +2 -0
  159. package/esm/components/layouts/Side.vue.d.ts +2 -0
  160. package/esm/components/layouts/Top.vue.d.ts +2 -0
  161. package/esm/components/layouts/index.d.ts +7 -0
  162. package/esm/components/lists/Calender.vue.d.ts +2 -0
  163. package/esm/components/lists/Racebar.vue.d.ts +18 -0
  164. package/esm/components/lists/Statistic.vue.d.ts +18 -0
  165. package/esm/components/lists/Stock.vue.d.ts +12 -0
  166. package/esm/components/lists/Timeline.vue.d.ts +12 -0
  167. package/esm/components/lists/Tree.vue.d.ts +26 -0
  168. package/esm/components/lists/index.d.ts +15 -0
  169. package/esm/components/pages/Column.vue.d.ts +22 -0
  170. package/esm/components/pages/Custom.vue.d.ts +25 -0
  171. package/esm/components/pages/Delete.vue.d.ts +20 -0
  172. package/esm/components/pages/Index.vue.d.ts +2 -0
  173. package/esm/components/pages/List.vue.d.ts +24 -0
  174. package/esm/components/pages/Paging.vue.d.ts +24 -0
  175. package/esm/components/pages/Single.vue.d.ts +28 -0
  176. package/esm/components/pages/index.d.ts +146 -0
  177. package/esm/components/pagings/Article.vue.d.ts +27 -0
  178. package/esm/components/pagings/Code.vue.d.ts +12 -0
  179. package/esm/components/pagings/DataExport.vue.d.ts +33 -0
  180. package/esm/components/pagings/DataImport.vue.d.ts +18 -0
  181. package/esm/components/pagings/File.vue.d.ts +12 -0
  182. package/esm/components/pagings/Index.vue.d.ts +33 -0
  183. package/esm/components/pagings/SearchFooter.vue.d.ts +122 -0
  184. package/esm/components/pagings/SearchForm.vue.d.ts +72 -0
  185. package/esm/components/pagings/Table.vue.d.ts +31 -0
  186. package/esm/components/pagings/index.d.ts +11 -0
  187. package/esm/components/partials/ArticleFooter.vue.d.ts +24 -0
  188. package/esm/components/partials/Detail.vue.d.ts +20 -0
  189. package/esm/components/partials/PagingHeader.vue.d.ts +28 -0
  190. package/esm/components/partials/PagingRow.vue.d.ts +24 -0
  191. package/esm/components/partials/TreeNode.vue.d.ts +12 -0
  192. package/esm/components/partials/Update.vue.d.ts +20 -0
  193. package/esm/components/partials/UpdateChild.vue.d.ts +22 -0
  194. package/esm/components/partials/index.d.ts +135 -0
  195. package/esm/components/searches/Autocomplete.vue.d.ts +24 -0
  196. package/esm/components/searches/Daterange.vue.d.ts +22 -0
  197. package/esm/components/searches/Index.vue.d.ts +18 -0
  198. package/esm/components/searches/Int.vue.d.ts +24 -0
  199. package/esm/components/searches/Month.vue.d.ts +24 -0
  200. package/esm/components/searches/Select.vue.d.ts +24 -0
  201. package/esm/components/searches/Text.vue.d.ts +24 -0
  202. package/esm/components/searches/index.d.ts +7 -0
  203. package/esm/components/singles/Code.vue.d.ts +18 -0
  204. package/esm/components/singles/Comment.vue.d.ts +12 -0
  205. package/esm/components/singles/Index.vue.d.ts +25 -0
  206. package/esm/components/singles/Normal.vue.d.ts +21 -0
  207. package/esm/components/singles/Statistic.vue.d.ts +12 -0
  208. package/esm/components/singles/Stock.vue.d.ts +12 -0
  209. package/esm/components/singles/Table.vue.d.ts +22 -0
  210. package/esm/components/singles/Tree.vue.d.ts +14 -0
  211. package/esm/components/singles/Tree_Old.vue.d.ts +2 -0
  212. package/esm/components/singles/index.d.ts +15 -0
  213. package/esm/components/texts/Autocomplete.vue.d.ts +16 -0
  214. package/esm/components/texts/CSharp.vue.d.ts +16 -0
  215. package/esm/components/texts/Cascader.vue.d.ts +22 -0
  216. package/esm/components/texts/Checkbox.vue.d.ts +16 -0
  217. package/esm/components/texts/Code.vue.d.ts +16 -0
  218. package/esm/components/texts/Color.vue.d.ts +16 -0
  219. package/esm/components/texts/Compare.vue.d.ts +16 -0
  220. package/esm/components/texts/Copy.vue.d.ts +24 -0
  221. package/esm/components/texts/Date.vue.d.ts +16 -0
  222. package/esm/components/texts/DateRange.vue.d.ts +16 -0
  223. package/esm/components/texts/DateTime.vue.d.ts +16 -0
  224. package/esm/components/texts/Decimal.vue.d.ts +16 -0
  225. package/esm/components/texts/Dictionary.vue.d.ts +24 -0
  226. package/esm/components/texts/Email.vue.d.ts +16 -0
  227. package/esm/components/texts/Index.vue.d.ts +22 -0
  228. package/esm/components/texts/Int.vue.d.ts +16 -0
  229. package/esm/components/texts/Markdown.vue.d.ts +16 -0
  230. package/esm/components/texts/Month.vue.d.ts +16 -0
  231. package/esm/components/texts/Password.vue.d.ts +16 -0
  232. package/esm/components/texts/Progress.vue.d.ts +16 -0
  233. package/esm/components/texts/Radio.vue.d.ts +16 -0
  234. package/esm/components/texts/Rate.vue.d.ts +24 -0
  235. package/esm/components/texts/RichText.vue.d.ts +16 -0
  236. package/esm/components/texts/Select.vue.d.ts +16 -0
  237. package/esm/components/texts/Switch.vue.d.ts +16 -0
  238. package/esm/components/texts/Text.vue.d.ts +16 -0
  239. package/esm/components/texts/TextLink.vue.d.ts +29 -0
  240. package/esm/components/texts/Textarea.vue.d.ts +16 -0
  241. package/esm/components/texts/Upload.vue.d.ts +16 -0
  242. package/esm/components/texts/Year.vue.d.ts +16 -0
  243. package/esm/coms/business/Driver.vue.d.ts +1 -0
  244. package/esm/coms/business/HaCondition.vue.d.ts +18 -0
  245. package/esm/coms/business/HaCrud.vue.d.ts +29 -0
  246. package/esm/coms/business/HaDrawer.vue.d.ts +24 -0
  247. package/esm/coms/business/HaDriver.vue.d.ts +52 -0
  248. package/esm/coms/business/HaFeedback.vue.d.ts +8 -0
  249. package/esm/coms/business/HaForm.vue.d.ts +23 -0
  250. package/esm/coms/business/HaSwitch.vue.d.ts +24 -0
  251. package/esm/coms/business/HaWelcome.vue.d.ts +8 -0
  252. package/esm/coms/business/Welcome.vue.d.ts +3 -1
  253. package/esm/coms/commons/HaCaptcha.vue.d.ts +14 -0
  254. package/esm/coms/commons/HaDebug.vue.d.ts +9 -0
  255. package/esm/coms/commons/HaEditable.vue.d.ts +13 -0
  256. package/esm/coms/commons/HaLoading.vue.d.ts +33 -0
  257. package/esm/coms/commons/HaMouseContext.vue.d.ts +2 -0
  258. package/esm/coms/commons/HaParticles.vue.d.ts +2 -0
  259. package/esm/coms/commons/HaResizer.vue.d.ts +26 -0
  260. package/esm/coms/commons/HaSpinner.vue.d.ts +20 -0
  261. package/esm/coms/commons/HaTable.vue.d.ts +34 -0
  262. package/esm/coms/commons/HaTableColumn.vue.d.ts +31 -0
  263. package/esm/coms/globals/HaHeaderTab.vue.d.ts +19 -0
  264. package/esm/coms/globals/HaHeaderTabs.vue.d.ts +17 -0
  265. package/esm/coms/globals/HaMenu.vue.d.ts +77 -0
  266. package/esm/coms/globals/HaMenuItem.vue.d.ts +76 -0
  267. package/esm/coms/globals/HaMissComponent.vue.d.ts +9 -0
  268. package/esm/coms/globals/HaSideTab.vue.d.ts +21 -0
  269. package/esm/coms/globals/HaSideTabs.vue.d.ts +17 -0
  270. package/esm/coms/globals/HaWindow.vue.d.ts +66 -0
  271. package/esm/coms/globals/Window.vue.d.ts +11 -2
  272. package/esm/coms/headers/HeaderRight.vue.d.ts +5 -1
  273. package/esm/coms/headers/Index.vue.d.ts +14 -15
  274. package/esm/coms/headers/index.d.ts +2 -2
  275. package/esm/coms/panels/HaGroup.vue.d.ts +9 -0
  276. package/esm/coms/panels/HaHeader.vue.d.ts +16 -0
  277. package/esm/coms/panels/HaOperation.vue.d.ts +22 -0
  278. package/esm/coms/panels/HaPanel.vue.d.ts +30 -0
  279. package/esm/coms/panels/HaShrink.vue.d.ts +48 -0
  280. package/esm/plugins/PcMessager.d.ts +35 -0
  281. package/esm/plugins/index.d.ts +1 -2
  282. package/esm/sdks/commons/HaCaptcha.vue.d.ts +14 -0
  283. package/esm/sdks/commons/HaDebug.vue.d.ts +9 -0
  284. package/esm/sdks/commons/HaEditable.vue.d.ts +13 -0
  285. package/esm/sdks/commons/HaLoading.vue.d.ts +33 -0
  286. package/esm/sdks/commons/HaMouseContext.vue.d.ts +2 -0
  287. package/esm/sdks/commons/HaParticles.vue.d.ts +2 -0
  288. package/esm/sdks/commons/HaResizer.vue.d.ts +26 -0
  289. package/esm/sdks/commons/HaSpinner.vue.d.ts +20 -0
  290. package/esm/sdks/commons/HaTable.vue.d.ts +34 -0
  291. package/esm/sdks/commons/HaTableColumn.vue.d.ts +31 -0
  292. package/esm/sdks/commons/index.d.ts +32 -0
  293. package/esm/sdks/globals/HaHeaderTab.vue.d.ts +19 -0
  294. package/esm/sdks/globals/HaHeaderTabs.vue.d.ts +17 -0
  295. package/esm/sdks/globals/HaMenu.vue.d.ts +77 -0
  296. package/esm/sdks/globals/HaMenuItem.vue.d.ts +76 -0
  297. package/esm/sdks/globals/HaMissComponent.vue.d.ts +9 -0
  298. package/esm/sdks/globals/HaSideTab.vue.d.ts +21 -0
  299. package/esm/sdks/globals/HaSideTabs.vue.d.ts +17 -0
  300. package/esm/sdks/globals/HaWindow.vue.d.ts +66 -0
  301. package/esm/sdks/globals/index.d.ts +70 -0
  302. package/esm/sdks/index.d.ts +4 -0
  303. package/esm/sdks/panels/HaGroup.vue.d.ts +9 -0
  304. package/esm/sdks/panels/HaHeader.vue.d.ts +16 -0
  305. package/esm/sdks/panels/HaOperation.vue.d.ts +22 -0
  306. package/esm/sdks/panels/HaPanel.vue.d.ts +30 -0
  307. package/esm/sdks/panels/HaShrink.vue.d.ts +48 -0
  308. package/esm/sdks/panels/index.d.ts +13 -0
  309. package/esm/sdks/stores/index.d.ts +2 -0
  310. package/esm/services/AppService.d.ts +36 -0
  311. package/esm/services/ComponentService.d.ts +35 -0
  312. package/esm/services/ControlService.d.ts +42 -0
  313. package/esm/services/I18nService.d.ts +79 -0
  314. package/esm/services/IService.d.ts +3 -0
  315. package/esm/services/LayoutService.d.ts +18 -0
  316. package/esm/services/MessageService.d.ts +35 -0
  317. package/esm/services/PageService.d.ts +38 -0
  318. package/esm/services/RouterService.d.ts +23 -0
  319. package/esm/services/Service.d.ts +4 -0
  320. package/esm/services/ServiceFactory.d.ts +11 -0
  321. package/esm/services/StandardService.d.ts +34 -0
  322. package/esm/services/UploadService.d.ts +10 -0
  323. package/esm/services/WindowService.d.ts +27 -0
  324. package/esm/services/implement/AppService.d.ts +36 -0
  325. package/esm/services/implement/ComponentService.d.ts +35 -0
  326. package/esm/services/implement/ControlService.d.ts +42 -0
  327. package/esm/services/implement/I18nService.d.ts +79 -0
  328. package/esm/services/implement/LayoutService.d.ts +18 -0
  329. package/esm/services/implement/PageService.d.ts +38 -0
  330. package/esm/services/implement/RouterService.d.ts +23 -0
  331. package/esm/services/implement/StandardService.d.ts +34 -0
  332. package/esm/services/implement/UploadService.d.ts +10 -0
  333. package/esm/services/implement/WindowService.d.ts +27 -0
  334. package/esm/services/index.d.ts +17 -0
  335. package/esm/servs/AppServ.d.ts +36 -0
  336. package/esm/servs/ComponentServ.d.ts +35 -0
  337. package/esm/servs/ControlServ.d.ts +42 -0
  338. package/esm/servs/I18nServ.d.ts +79 -0
  339. package/esm/servs/LayoutServ.d.ts +18 -0
  340. package/esm/servs/PageServ.d.ts +38 -0
  341. package/esm/servs/RouterServ.d.ts +23 -0
  342. package/esm/servs/StandardServ.d.ts +34 -0
  343. package/esm/servs/UploadServ.d.ts +10 -0
  344. package/esm/servs/WindowServ.d.ts +27 -0
  345. package/esm/servs/index.d.ts +17 -0
  346. package/esm/stores/index.d.ts +7 -0
  347. package/esm/svcs/I18nSvc.d.ts +79 -0
  348. package/esm/types/PcOptions.d.ts +18 -0
  349. package/package.json +2 -2
  350. package/dist/Article-DdbL4Rxb.js +0 -200
  351. package/dist/Autocomplete-B29_JGgy.js +0 -54
  352. package/dist/Autocomplete-CDeLmF63.js +0 -53
  353. package/dist/Callback-DtbfupbN.js +0 -26
  354. package/dist/Cascader-oKD8yaoM.js +0 -47
  355. package/dist/Code-BBlM__Hy.js +0 -42
  356. package/dist/Code-BVq612C-.js +0 -60
  357. package/dist/Code-CwEhwgvG.js +0 -4
  358. package/dist/Code.vue_vue_type_style_index_0_lang-DYtCGnTc.js +0 -65
  359. package/dist/Column-EGW6y97E.js +0 -75
  360. package/dist/Custom-Cb3i3bqD.js +0 -57
  361. package/dist/Date-BDC05CJ3.js +0 -43
  362. package/dist/DateTime-BdzNOWG8.js +0 -44
  363. package/dist/Daterange-ChAXKUg5.js +0 -63
  364. package/dist/Dictionary-Cb7aVsaW.js +0 -59
  365. package/dist/Index-9C-NNHc5.js +0 -4
  366. package/dist/Index-ClRh0-VD.js +0 -4
  367. package/dist/Index-D6C_pdWz.js +0 -178
  368. package/dist/Index-gGO_YKcR.js +0 -4
  369. package/dist/Index-gqpuMuJY.js +0 -4
  370. package/dist/Maintaince-CLR1UbTX.js +0 -20
  371. package/dist/Month-CHE-uCIH.js +0 -43
  372. package/dist/Month-_nN2Q4-y.js +0 -44
  373. package/dist/Paging-DgpnQ8Z-.js +0 -99
  374. package/dist/QueryApi-Cnhw4j4z.js +0 -20
  375. package/dist/Table-tLOOeKDu.js +0 -243
  376. package/dist/Text-Df6_rov4.js +0 -4
  377. package/dist/Tree-DG-JvHyh.js +0 -122
  378. package/dist/TreeNode-b11A2q51.js +0 -42
  379. package/dist/Upload-BelDE_Gj.js +0 -72
  380. package/dist/Upload-BrZMjfqk.js +0 -150
  381. package/dist/UploadApi-rJCEFRnE.js +0 -20
  382. package/dist/Year-ajwigTmh.js +0 -47
  383. package/dist/main-CBbiFa-k.js +0 -9218
@@ -0,0 +1,35 @@
1
+ /**
2
+ * 使用组件仓储
3
+ */
4
+ declare class ComponentService {
5
+ /**
6
+ * 目前系统中正在运行的首页组件
7
+ */
8
+ pages: {};
9
+ /**
10
+ * 目前系统中注册的所有组件
11
+ */
12
+ comps: any[];
13
+ /**
14
+ * 初始化&注册全局组件
15
+ */
16
+ init(app: any): void;
17
+ /**
18
+ * 注册全局异步或同步组件
19
+ * 支持同步组件的目的:异步组件在执行到mounted内容仍没挂载,反而会执行到父组件mounted事件,导致父组件拿不到子组件实际高度
20
+ */
21
+ register(app: any, components: object, replace: string, prefix: string): void;
22
+ /**
23
+ * 根据路由获取组件
24
+ */
25
+ getComponent(url: string, prefix: string, _default?: string): any;
26
+ /**
27
+ * 添加页面
28
+ */
29
+ addPage(name: string, value: any): void;
30
+ /**
31
+ * 删除页面
32
+ */
33
+ removePage(name: string): void;
34
+ }
35
+ export default ComponentService;
@@ -0,0 +1,42 @@
1
+ /**
2
+ * 控件帮助类
3
+ */
4
+ declare class ControlService {
5
+ /**
6
+ * 获取控件的值,自动区分搜索控件和提交表单控件
7
+ */
8
+ static getValue: (form: any, index: number, table: any, field: any) => any;
9
+ /**
10
+ * 设置表单控件的值
11
+ */
12
+ static setValue: (val: any, form: any, table: any, index: number, field: any) => void;
13
+ /**
14
+ * 设置多行中某字段的值
15
+ */
16
+ static setRowsValue: (val: any, form: any, table: any, field: any) => void;
17
+ /**
18
+ * 把数组分成每行columns列的数组
19
+ */
20
+ static splitRows: (array: any[], columns: number) => any[];
21
+ /**
22
+ * 获取不同布局控件配置,用于对控件的展示类型进行重写,但是不影响字段配置
23
+ */
24
+ static getConfig: (field: any, page: any, layout: string) => {
25
+ control: {
26
+ type: string;
27
+ };
28
+ };
29
+ /**
30
+ * 获取控件样式
31
+ */
32
+ static getStyle: (field: any, page: any, layout: string) => string;
33
+ /**
34
+ * 获取控件高度
35
+ */
36
+ static getHeight: (field: any, page: any, layout: string) => any;
37
+ /**
38
+ * 转换值为指定类型
39
+ */
40
+ static convert: (value: any, type: string) => any;
41
+ }
42
+ export default ControlService;
@@ -0,0 +1,79 @@
1
+ /**
2
+ * 使用多语言仓储
3
+ */
4
+ declare class I18nService {
5
+ /**
6
+ * 多语言处理实体
7
+ */
8
+ i18n: any;
9
+ /**
10
+ * Element UI语言包
11
+ */
12
+ locale: any;
13
+ /**
14
+ * 记录加载过的语言包,防止重复加载
15
+ */
16
+ loadedLocales: any[];
17
+ /**
18
+ * 只实例化一次
19
+ */
20
+ constructor();
21
+ /**
22
+ * 判断指定key是否存在
23
+ */
24
+ t_exists(key: any): any;
25
+ /**
26
+ * 翻译指定key,不存在使用默认值
27
+ */
28
+ t(key: string, params?: any, display?: string): any;
29
+ /**
30
+ * 业务翻译:菜单多余言、多个窗口的多语言同时切换,而不用重载接口
31
+ */
32
+ t_menu(key: string): any;
33
+ /**
34
+ * 模块业务翻译
35
+ */
36
+ t_module(type: string, key: string): string;
37
+ /**
38
+ * 业务翻译:菜单多余言、多个窗口的多语言同时切换,而不用重载接口
39
+ */
40
+ t_table(table: string): any;
41
+ /**
42
+ * 业务翻译:菜单多余言、多个窗口的多语言同时切换,而不用重载接口
43
+ * 注意:如果结果返回未完毕},则vue编译异常
44
+ */
45
+ t_field(table: string, field: string): any;
46
+ /**
47
+ * 枚举翻译:菜单多余言、多个窗口的多语言同时切换,而不用重载接口
48
+ */
49
+ t_enum(name: string, value: string): any;
50
+ /**
51
+ * 字段占位符翻译
52
+ */
53
+ t_field_placeholder(table: string, field: string): any;
54
+ /**
55
+ * 字段占位符翻译
56
+ */
57
+ t_field_choose_placeholder(table: string, field: string): any;
58
+ /**
59
+ * 系统翻译
60
+ */
61
+ t_sys(key: string): any;
62
+ /**
63
+ * 系统标题
64
+ */
65
+ t_title(): any;
66
+ /**
67
+ * 添加多语言包
68
+ */
69
+ addMessages(messages: object): void;
70
+ /**
71
+ * 加载语言包
72
+ */
73
+ loadI18n(lang: string): Promise<void>;
74
+ /**
75
+ * 切换语言,自动加载菜单
76
+ */
77
+ switchI18n(lang: string): Promise<void>;
78
+ }
79
+ export default I18nService;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * 布局服务
3
+ */
4
+ declare class LayoutService {
5
+ /**
6
+ * 一行的总列数
7
+ */
8
+ columns: number;
9
+ dialog: {
10
+ /**
11
+ * 弹出对话框的宽度
12
+ */
13
+ width: any;
14
+ };
15
+ setColumn(columns: number): void;
16
+ setDialogWidth(width: number): void;
17
+ }
18
+ export default LayoutService;
@@ -0,0 +1,38 @@
1
+ /**
2
+ * 页面帮助类
3
+ */
4
+ declare class PageService {
5
+ /**
6
+ * 设置列宽
7
+ */
8
+ static setColumnWidth: (route: string, tableName: string, fieldName: string, width: number) => void;
9
+ /**
10
+ * 获取列宽
11
+ */
12
+ static getColumnWidth: (route: string, table: string, field: any) => any;
13
+ /**
14
+ * 设置侧边栏宽度
15
+ */
16
+ static setSidebarWidth: (width: number) => void;
17
+ /**
18
+ * 获取侧边栏宽度
19
+ */
20
+ static getSidebarWidth: () => any;
21
+ /**
22
+ * 根据key设置多语言标题
23
+ */
24
+ static setI18nTitle: (key: string) => void;
25
+ /**
26
+ * 设置标题
27
+ */
28
+ static setTitle: (title?: string, env?: string) => void;
29
+ /**
30
+ * 获取抽屉宽度,得到的结果是相对于整个页面的宽度
31
+ */
32
+ static getDrawerWidth: (width: number) => "90%" | "80%" | "70%" | "60%" | "50%";
33
+ /**
34
+ * 把字符串转换成实际类型。场景1: query字符串转换
35
+ */
36
+ static convert: (value: string, type: string) => string | number;
37
+ }
38
+ export default PageService;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * 使用路由仓储
3
+ */
4
+ declare class RouterService {
5
+ /**
6
+ * store中存储单独路由的目的是,防止类中导出对象,在npm包被引用的场景下,路由实例被创建2次,进而导致跳转失效
7
+ */
8
+ router: any;
9
+ open(baseUrl: string): void;
10
+ /**
11
+ * 跳转到指定地址,并返回跳转后的地址,要使用vue-route路由跳转,否则刷新页面后,参数会被解码
12
+ */
13
+ to(url: string, withReturnUrl?: boolean): string;
14
+ /**
15
+ * 跳转到后退地址
16
+ */
17
+ toBackUrl(): void;
18
+ /**
19
+ * 添加路由集合
20
+ */
21
+ addRoutes(routes: any[]): void;
22
+ }
23
+ export default RouterService;
@@ -0,0 +1,34 @@
1
+ /**
2
+ * 标准帮助类
3
+ */
4
+ declare class StandardService {
5
+ /**
6
+ * 把数组中的元素按照列数,分割成多行,并且计算好每列的列宽
7
+ */
8
+ static getLines: (array: any[], columns: number, dataHandler: (field: any) => any, spanHandler: (field: any) => number) => any[];
9
+ /**
10
+ * 获取表的默认行数据
11
+ */
12
+ static getDefaultRow: (table: any) => object;
13
+ /**
14
+ * 获取所有数据表的搜索字段信息
15
+ */
16
+ static expandSearch: (schema: any) => any[];
17
+ /**
18
+ * 展开数据和架构信息
19
+ */
20
+ static expandSet: (schema: any[], set: any) => any;
21
+ /**
22
+ * 展开架构信息
23
+ */
24
+ static expandSchema: (schema: any[]) => any[];
25
+ /**
26
+ * 填充搜索条件中不存在的搜索条件表单
27
+ */
28
+ static getConditionForm: (schema: any[], condition: string) => {};
29
+ /**
30
+ * 获取验证规则
31
+ */
32
+ static getRules(errors: any[], table: any, field: any, index: number): any[];
33
+ }
34
+ export default StandardService;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * 上传服务
3
+ */
4
+ declare class UploadService {
5
+ /**
6
+ * 获取文件图标
7
+ */
8
+ static getFileIcon: (url: any) => string;
9
+ }
10
+ export default UploadService;
@@ -0,0 +1,27 @@
1
+ import { IProvider } from "halo-fe";
2
+ /**
3
+ * 使用窗口仓储
4
+ */
5
+ declare class WindowService {
6
+ /**
7
+ * 存储所有窗口
8
+ */
9
+ windows: any[];
10
+ /**
11
+ * 加载窗口
12
+ */
13
+ loadWindows(provider: IProvider): Promise<void>;
14
+ /**
15
+ * 获取窗口状态
16
+ */
17
+ get(id: string): any;
18
+ /**
19
+ * 保存窗口状态
20
+ */
21
+ save(id: string, options: any, provider: IProvider): Promise<void>;
22
+ /**
23
+ * 删除窗口
24
+ */
25
+ remove(id: string): void;
26
+ }
27
+ export default WindowService;
@@ -0,0 +1,17 @@
1
+ import PageService from "./implement/PageService";
2
+ import ControlService from "./implement/ControlService";
3
+ import StandardService from "./implement/StandardService";
4
+ import UploadService from "./implement/UploadService";
5
+ import AppService from "./implement/AppService";
6
+ import ComponentService from "./implement/ComponentService";
7
+ import LayoutService from "./implement/LayoutService";
8
+ import I18nService from "./implement/I18nService";
9
+ import RouterService from "./implement/RouterService";
10
+ import WindowService from "./implement/WindowService";
11
+ declare let appService: AppService;
12
+ declare let componentService: ComponentService;
13
+ declare let layoutService: LayoutService;
14
+ declare let i18nService: I18nService;
15
+ declare let routerService: RouterService;
16
+ declare let windowService: WindowService;
17
+ export { PageService, ControlService, StandardService, UploadService, appService, componentService, layoutService, i18nService, routerService, windowService };
@@ -0,0 +1,36 @@
1
+ import { App } from "vue";
2
+ /**
3
+ * 应用服务
4
+ */
5
+ declare class AppServ {
6
+ sidebar: {
7
+ opened: boolean;
8
+ width: any;
9
+ };
10
+ size: any;
11
+ /**
12
+ * 是否隐藏侧边导航栏和顶部导航栏
13
+ */
14
+ hideNav: boolean;
15
+ /**
16
+ * 初始化
17
+ */
18
+ useGlobal(app: App<Element>): Promise<void>;
19
+ /**
20
+ * 注册自定义路由
21
+ */
22
+ useRoutes(routes: any[]): void;
23
+ /**
24
+ * 注册多语言翻译
25
+ */
26
+ useI18n(messages: object): void;
27
+ /**
28
+ * 注册自定义组件
29
+ */
30
+ useComponents(app: any, components: any, replace: any, prefix: any): void;
31
+ toggleSideBar(): void;
32
+ closeSidebar(): void;
33
+ setSidebarWidth(width: any): void;
34
+ setHideNav(data: any): void;
35
+ }
36
+ export default AppServ;
@@ -0,0 +1,35 @@
1
+ /**
2
+ * 使用组件仓储
3
+ */
4
+ declare class ComponentServ {
5
+ /**
6
+ * 目前系统中正在运行的首页组件
7
+ */
8
+ pages: {};
9
+ /**
10
+ * 目前系统中注册的所有组件
11
+ */
12
+ comps: any[];
13
+ /**
14
+ * 初始化&注册全局组件
15
+ */
16
+ init(app: any): void;
17
+ /**
18
+ * 注册全局异步或同步组件
19
+ * 支持同步组件的目的:异步组件在执行到mounted内容仍没挂载,反而会执行到父组件mounted事件,导致父组件拿不到子组件实际高度
20
+ */
21
+ register(app: any, components: object, replace: string, prefix: string): void;
22
+ /**
23
+ * 根据路由获取组件
24
+ */
25
+ getComponent(url: string, prefix: string, _default?: string): any;
26
+ /**
27
+ * 添加页面
28
+ */
29
+ addPage(name: string, value: any): void;
30
+ /**
31
+ * 删除页面
32
+ */
33
+ removePage(name: string): void;
34
+ }
35
+ export default ComponentServ;
@@ -0,0 +1,42 @@
1
+ /**
2
+ * 控件帮助类
3
+ */
4
+ declare class ControlServ {
5
+ /**
6
+ * 获取控件的值,自动区分搜索控件和提交表单控件
7
+ */
8
+ static getValue: (form: any, index: number, table: any, field: any) => any;
9
+ /**
10
+ * 设置表单控件的值
11
+ */
12
+ static setValue: (val: any, form: any, table: any, index: number, field: any) => void;
13
+ /**
14
+ * 设置多行中某字段的值
15
+ */
16
+ static setRowsValue: (val: any, form: any, table: any, field: any) => void;
17
+ /**
18
+ * 把数组分成每行columns列的数组
19
+ */
20
+ static splitRows: (array: any[], columns: number) => any[];
21
+ /**
22
+ * 获取不同布局控件配置,用于对控件的展示类型进行重写,但是不影响字段配置
23
+ */
24
+ static getConfig: (field: any, page: any, layout: string) => {
25
+ control: {
26
+ type: string;
27
+ };
28
+ };
29
+ /**
30
+ * 获取控件样式
31
+ */
32
+ static getStyle: (field: any, page: any, layout: string) => string;
33
+ /**
34
+ * 获取控件高度
35
+ */
36
+ static getHeight: (field: any, page: any, layout: string) => any;
37
+ /**
38
+ * 转换值为指定类型
39
+ */
40
+ static convert: (value: any, type: string) => any;
41
+ }
42
+ export default ControlServ;
@@ -0,0 +1,79 @@
1
+ /**
2
+ * 使用多语言仓储
3
+ */
4
+ declare class I18nServ {
5
+ /**
6
+ * 多语言处理实体
7
+ */
8
+ i18n: any;
9
+ /**
10
+ * Element UI语言包
11
+ */
12
+ locale: any;
13
+ /**
14
+ * 记录加载过的语言包,防止重复加载
15
+ */
16
+ loadedLocales: any[];
17
+ /**
18
+ * 只实例化一次
19
+ */
20
+ constructor();
21
+ /**
22
+ * 判断指定key是否存在
23
+ */
24
+ t_exists(key: any): any;
25
+ /**
26
+ * 翻译指定key,不存在使用默认值
27
+ */
28
+ t(key: string, params?: any, display?: string): any;
29
+ /**
30
+ * 业务翻译:菜单多余言、多个窗口的多语言同时切换,而不用重载接口
31
+ */
32
+ t_menu(key: string): any;
33
+ /**
34
+ * 模块业务翻译
35
+ */
36
+ t_module(type: string, key: string): string;
37
+ /**
38
+ * 业务翻译:菜单多余言、多个窗口的多语言同时切换,而不用重载接口
39
+ */
40
+ t_table(table: string): any;
41
+ /**
42
+ * 业务翻译:菜单多余言、多个窗口的多语言同时切换,而不用重载接口
43
+ * 注意:如果结果返回未完毕},则vue编译异常
44
+ */
45
+ t_field(table: string, field: string): any;
46
+ /**
47
+ * 枚举翻译:菜单多余言、多个窗口的多语言同时切换,而不用重载接口
48
+ */
49
+ t_enum(name: string, value: string): any;
50
+ /**
51
+ * 字段占位符翻译
52
+ */
53
+ t_field_placeholder(table: string, field: string): any;
54
+ /**
55
+ * 字段占位符翻译
56
+ */
57
+ t_field_choose_placeholder(table: string, field: string): any;
58
+ /**
59
+ * 系统翻译
60
+ */
61
+ t_sys(key: string): any;
62
+ /**
63
+ * 系统标题
64
+ */
65
+ t_title(): any;
66
+ /**
67
+ * 添加多语言包
68
+ */
69
+ addMessages(messages: object): void;
70
+ /**
71
+ * 加载语言包
72
+ */
73
+ loadI18n(lang: string): Promise<void>;
74
+ /**
75
+ * 切换语言,自动加载菜单
76
+ */
77
+ switchI18n(lang: string): Promise<void>;
78
+ }
79
+ export default I18nServ;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * 布局服务
3
+ */
4
+ declare class LayoutServ {
5
+ /**
6
+ * 一行的总列数
7
+ */
8
+ columns: number;
9
+ dialog: {
10
+ /**
11
+ * 弹出对话框的宽度
12
+ */
13
+ width: any;
14
+ };
15
+ setColumn(columns: number): void;
16
+ setDialogWidth(width: number): void;
17
+ }
18
+ export default LayoutServ;
@@ -0,0 +1,38 @@
1
+ /**
2
+ * 页面帮助类
3
+ */
4
+ declare class PageServ {
5
+ /**
6
+ * 设置列宽
7
+ */
8
+ static setColumnWidth: (route: string, tableName: string, fieldName: string, width: number) => void;
9
+ /**
10
+ * 获取列宽
11
+ */
12
+ static getColumnWidth: (route: string, table: string, field: any) => any;
13
+ /**
14
+ * 设置侧边栏宽度
15
+ */
16
+ static setSidebarWidth: (width: number) => void;
17
+ /**
18
+ * 获取侧边栏宽度
19
+ */
20
+ static getSidebarWidth: () => any;
21
+ /**
22
+ * 根据key设置多语言标题
23
+ */
24
+ static setI18nTitle: (key: string) => void;
25
+ /**
26
+ * 设置标题
27
+ */
28
+ static setTitle: (title?: string, env?: string) => void;
29
+ /**
30
+ * 获取抽屉宽度,得到的结果是相对于整个页面的宽度
31
+ */
32
+ static getDrawerWidth: (width: number) => "90%" | "80%" | "70%" | "60%" | "50%";
33
+ /**
34
+ * 把字符串转换成实际类型。场景1: query字符串转换
35
+ */
36
+ static convert: (value: string, type: string) => string | number;
37
+ }
38
+ export default PageServ;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * 使用路由仓储
3
+ */
4
+ declare class RouterServ {
5
+ /**
6
+ * store中存储单独路由的目的是,防止类中导出对象,在npm包被引用的场景下,路由实例被创建2次,进而导致跳转失效
7
+ */
8
+ router: any;
9
+ open(baseUrl: string): void;
10
+ /**
11
+ * 跳转到指定地址,并返回跳转后的地址,要使用vue-route路由跳转,否则刷新页面后,参数会被解码
12
+ */
13
+ to(url: string, withReturnUrl?: boolean): string;
14
+ /**
15
+ * 跳转到后退地址
16
+ */
17
+ toBackUrl(): void;
18
+ /**
19
+ * 添加路由集合
20
+ */
21
+ addRoutes(routes: any[]): void;
22
+ }
23
+ export default RouterServ;
@@ -0,0 +1,34 @@
1
+ /**
2
+ * 标准帮助类
3
+ */
4
+ declare class StandardServ {
5
+ /**
6
+ * 把数组中的元素按照列数,分割成多行,并且计算好每列的列宽
7
+ */
8
+ static getLines: (array: any[], columns: number, dataHandler: (field: any) => any, spanHandler: (field: any) => number) => any[];
9
+ /**
10
+ * 获取表的默认行数据
11
+ */
12
+ static getDefaultRow: (table: any) => object;
13
+ /**
14
+ * 获取所有数据表的搜索字段信息
15
+ */
16
+ static expandSearch: (schema: any) => any[];
17
+ /**
18
+ * 展开数据和架构信息
19
+ */
20
+ static expandSet: (schema: any[], set: any) => any;
21
+ /**
22
+ * 展开架构信息
23
+ */
24
+ static expandSchema: (schema: any[]) => any[];
25
+ /**
26
+ * 填充搜索条件中不存在的搜索条件表单
27
+ */
28
+ static getConditionForm: (schema: any[], condition: string) => {};
29
+ /**
30
+ * 获取验证规则
31
+ */
32
+ static getRules(errors: any[], table: any, field: any, index: number): any[];
33
+ }
34
+ export default StandardServ;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * 上传服务
3
+ */
4
+ declare class UploadServ {
5
+ /**
6
+ * 获取文件图标
7
+ */
8
+ static getFileIcon: (url: any) => string;
9
+ }
10
+ export default UploadServ;
@@ -0,0 +1,27 @@
1
+ import { IProvider } from "halo-fe";
2
+ /**
3
+ * 使用窗口仓储
4
+ */
5
+ declare class WindowServ {
6
+ /**
7
+ * 存储所有窗口
8
+ */
9
+ windows: any[];
10
+ /**
11
+ * 加载窗口
12
+ */
13
+ loadWindows(provider: IProvider): Promise<void>;
14
+ /**
15
+ * 获取窗口状态
16
+ */
17
+ get(id: string): any;
18
+ /**
19
+ * 保存窗口状态
20
+ */
21
+ save(id: string, options: any, provider: IProvider): Promise<void>;
22
+ /**
23
+ * 删除窗口
24
+ */
25
+ remove(id: string): void;
26
+ }
27
+ export default WindowServ;