halo-pc 1.0.4 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (268) hide show
  1. package/dist/{Article-CjlnxF__.js → Article-BbJTCOkX.js} +19 -19
  2. package/dist/{Autocomplete-BnQpnnyK.js → Autocomplete-A0m1RW7z.js} +1 -1
  3. package/dist/{Autocomplete-C2FkoM3g.js → Autocomplete-C3d_yunJ.js} +3 -3
  4. package/dist/{Autocomplete-Da3h7NqJ.js → Autocomplete-H0_xgWsN.js} +3 -3
  5. package/dist/{CSharp-Dxc7debp.js → CSharp-Bwl97exE.js} +1 -1
  6. package/dist/{Calender-CZajLEjs.js → Calender-C3vbVYIN.js} +1 -1
  7. package/dist/{Callback-txUuqwa4.js → Callback-oU2ap8v9.js} +10 -10
  8. package/dist/{Cascader-CWljbVzB.js → Cascader-ClSabtOx.js} +3 -3
  9. package/dist/{Cascader-Bm6ZjZBu.js → Cascader-DRErYyH6.js} +3 -3
  10. package/dist/{Checkbox-DvjA_jtM.js → Checkbox-BJS0a1NT.js} +1 -1
  11. package/dist/{Code-Dn68YB2V.js → Code-9I77CMRV.js} +1 -1
  12. package/dist/{Code-BO3eZKLy.js → Code-B2DrYXDa.js} +3 -3
  13. package/dist/{Code-Dh_cfHCX.js → Code-BgqGTky1.js} +3 -3
  14. package/dist/Code-Cv1pm18C.js +4 -0
  15. package/dist/{Code.vue_vue_type_style_index_0_lang-DcAjaZOQ.js → Code.vue_vue_type_style_index_0_lang-IHZepbsi.js} +4 -4
  16. package/dist/{Column-DGnsLHim.js → Column-Dgs0SdWX.js} +26 -24
  17. package/dist/{Comment--Tr_kWBl.js → Comment-Cy6lpmqk.js} +3 -3
  18. package/dist/{Compare-DaSyOFIe.js → Compare-5cTiHEdo.js} +3 -3
  19. package/dist/{Compare-C3rlbp4P.js → Compare-CWeuLw9n.js} +3 -3
  20. package/dist/Copy-C6WEtRhC.js +47 -0
  21. package/dist/{Custom-K9vfVRxn.js → Custom-QDHQJoxC.js} +13 -13
  22. package/dist/{DataExport-GCZvxEp5.js → DataExport-BHh7NvbT.js} +1 -1
  23. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-CqT0RHF6.js → DataExport.vue_vue_type_script_setup_true_lang-C9t5j7Gi.js} +12 -12
  24. package/dist/{DataImport-BofV1eCR.js → DataImport-CtBsCyNb.js} +1 -1
  25. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-WCH5ToC7.js → DataImport.vue_vue_type_script_setup_true_lang-bI0HP38b.js} +33 -33
  26. package/dist/{Date-DgpsRJon.js → Date-IV1FwqTW.js} +1 -1
  27. package/dist/{DateRange-UHosLXP9.js → DateRange-IWmDLSuy.js} +3 -3
  28. package/dist/{DateTime-CHn5T-FB.js → DateTime-Di6sr-tq.js} +1 -1
  29. package/dist/{DateTimeRange-6TctUiMd.js → DateTimeRange-BNUGYgWf.js} +3 -3
  30. package/dist/{Daterange-DISQqOFM.js → Daterange-rrlMT4tD.js} +3 -3
  31. package/dist/{Decimal-BB2w4V2o.js → Decimal-D9TVQqyS.js} +1 -1
  32. package/dist/{Delete-C7gIYWP8.js → Delete-B-k4PTWk.js} +17 -17
  33. package/dist/{Detail-D-6vJTGF.js → Detail-HAblGKTY.js} +13 -11
  34. package/dist/{Dictionary-DfEacdox.js → Dictionary-BUmany6B.js} +3 -3
  35. package/dist/{File-CMCYSg30.js → File-MF1QgEQX.js} +32 -31
  36. package/dist/{Image-BL458jPH.js → Image-Dps_vfcZ.js} +1 -1
  37. package/dist/{Index-Ch59SxF3.js → Index-7cTFT9Xb.js} +4 -4
  38. package/dist/{Index-DZkeSKKp.js → Index-C_mfWEwr.js} +1 -1
  39. package/dist/Index-Cgets8DK.js +4 -0
  40. package/dist/Index-DGnHsBz4.js +4 -0
  41. package/dist/{Index-Cp7EDm0u.js → Index-DupYRMRj.js} +32 -33
  42. package/dist/{Index-B1ZfzgLV.js → Index-XBFHPLbK.js} +1 -1
  43. package/dist/{Index-CopnEHli.js → Index-hgpg_5ma.js} +1 -1
  44. package/dist/{Index.vue_vue_type_script_setup_true_lang-DOibFo1_.js → Index.vue_vue_type_script_setup_true_lang-C1Bw7evJ.js} +8 -9
  45. package/dist/{Index.vue_vue_type_script_setup_true_lang-Dwm5MQ9l.js → Index.vue_vue_type_script_setup_true_lang-yOf2ubuo.js} +5 -6
  46. package/dist/{Index.vue_vue_type_style_index_0_lang-D9Jt6Of_.js → Index.vue_vue_type_style_index_0_lang-DBERwM_v.js} +4 -4
  47. package/dist/{Install-CJbpeRw0.js → Install-A9qs4Vg-.js} +7 -5
  48. package/dist/{Int-CkzuFSk2.js → Int-B3L54Gcc.js} +3 -3
  49. package/dist/{List-V1uPlNfP.js → List-Om6OdbbR.js} +5 -6
  50. package/dist/{Maintaince-BM4tthS_.js → Maintaince-CrfEX-5B.js} +3 -3
  51. package/dist/{Markdown-Dq7L9EMQ.js → Markdown-wcGRlabe.js} +1 -1
  52. package/dist/{Month-CUX-EnU_.js → Month-C1tCQKvO.js} +1 -1
  53. package/dist/{Normal-B2w0Isvm.js → Normal-HoU_elKy.js} +8 -7
  54. package/dist/{Paging-Bnpq9uSh.js → Paging-C_StoYuZ.js} +18 -19
  55. package/dist/{QueryApi-BLc_au6L.js → QueryApi-BrYyIwqV.js} +3 -3
  56. package/dist/{Racebar-DqWtIQm-.js → Racebar-BXuP1N9F.js} +4 -4
  57. package/dist/{Radio-xLd4l78I.js → Radio-D6W9guyM.js} +1 -1
  58. package/dist/{Register-Bio0HxyZ.js → Register-DGhIjRDD.js} +54 -57
  59. package/dist/{RichText-BYNi_iMx.js → RichText-B3Br1uzj.js} +3 -3
  60. package/dist/{SearchFooter-BAPlMiuj.js → SearchFooter-D3-9GTr1.js} +1 -1
  61. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-Bp7M7_IY.js → SearchFooter.vue_vue_type_style_index_0_lang-DP32ZjvQ.js} +1 -1
  62. package/dist/{SearchForm-BaPwWOch.js → SearchForm-rWozLa4B.js} +1 -1
  63. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BJeXUISp.js → SearchForm.vue_vue_type_style_index_0_lang-F2we6KP-.js} +5 -6
  64. package/dist/{Select-Doyr8ioF.js → Select-64nQiHNA.js} +3 -3
  65. package/dist/{Select-DMDcHdlD.js → Select-CAmBUDp3.js} +5 -6
  66. package/dist/{Select-Dlx4Tg2X.js → Select-qCdhL7vC.js} +1 -1
  67. package/dist/{Single-B4EEi5Bm.js → Single-Bnrt5Hxb.js} +63 -63
  68. package/dist/{Statistic-AY1NP5tM.js → Statistic-BTbwlH9l.js} +22 -22
  69. package/dist/{Stock-Sh2UHojP.js → Stock-Br_02hsI.js} +1 -1
  70. package/dist/{Stock-CcBqUgOB.js → Stock-DbExd680.js} +1 -1
  71. package/dist/{Stock.vue_vue_type_style_index_0_lang-CcHVxdzc.js → Stock.vue_vue_type_style_index_0_lang-MTvhmHlz.js} +3 -3
  72. package/dist/{Switch-BOsRzAW-.js → Switch-J2GIv4Wa.js} +1 -1
  73. package/dist/{Table-CrMo5L6q.js → Table-DjBx2UGm.js} +21 -19
  74. package/dist/{Table-C9IrdZEj.js → Table-X4vTHlpm.js} +59 -60
  75. package/dist/Text-BFZc81F2.js +4 -0
  76. package/dist/{Text.vue_vue_type_style_index_0_lang-BMxOYNEI.js → Text.vue_vue_type_style_index_0_lang-Cw7QQbFk.js} +3 -3
  77. package/dist/{TextLink-DKm6XbeF.js → TextLink-C_lFWaZv.js} +5 -5
  78. package/dist/{Textarea-WPLyT7XC.js → Textarea-Dw_qLc3Y.js} +1 -1
  79. package/dist/{Timeline-Dolubd-b.js → Timeline-DaaRGmGd.js} +3 -3
  80. package/dist/{Tree-Bv5eVC8s.js → Tree-CDD2Nd6q.js} +30 -31
  81. package/dist/{Tree-KwP6ais4.js → Tree-Cmp10DWw.js} +70 -68
  82. package/dist/{TreeNode-rHeuE2ot.js → TreeNode-BM8-GyIc.js} +3 -3
  83. package/dist/{Update-C5bPCalk.js → Update-PffbXMXH.js} +13 -11
  84. package/dist/{Upload-heb0FQTh.js → Upload-F6HXe76H.js} +11 -12
  85. package/dist/{Upload-BSbIQu56.js → Upload-kwwpaDe6.js} +30 -30
  86. package/dist/{UploadApi-vYU0Jda6.js → UploadApi-D2W_aGKA.js} +3 -3
  87. package/dist/{Year-Dlp5PKhI.js → Year-Dr5ST0Pk.js} +1 -1
  88. package/dist/{main-Bs5Q5ZLl.js → main-B8RC13GR.js} +2649 -2656
  89. package/dist/main.js +111 -105
  90. package/dist/style.css +1 -1
  91. package/esm/coms/business/HaCondition.vue.d.ts +18 -0
  92. package/esm/coms/business/HaCrud.vue.d.ts +29 -0
  93. package/esm/coms/business/HaDrawer.vue.d.ts +24 -0
  94. package/esm/coms/business/HaDriver.vue.d.ts +52 -0
  95. package/esm/coms/business/HaFeedback.vue.d.ts +8 -0
  96. package/esm/coms/business/HaForm.vue.d.ts +23 -0
  97. package/esm/coms/business/HaSwitch.vue.d.ts +24 -0
  98. package/esm/coms/business/HaWelcome.vue.d.ts +8 -0
  99. package/esm/coms/business/index.d.ts +124 -0
  100. package/esm/coms/commons/HaCaptcha.vue.d.ts +14 -0
  101. package/esm/coms/commons/HaDebug.vue.d.ts +9 -0
  102. package/esm/coms/commons/HaEditable.vue.d.ts +13 -0
  103. package/esm/coms/commons/HaLoading.vue.d.ts +33 -0
  104. package/esm/coms/commons/HaMouseContext.vue.d.ts +2 -0
  105. package/esm/coms/commons/HaParticles.vue.d.ts +2 -0
  106. package/esm/coms/commons/HaResizer.vue.d.ts +26 -0
  107. package/esm/coms/commons/HaSpinner.vue.d.ts +20 -0
  108. package/esm/coms/commons/HaTable.vue.d.ts +34 -0
  109. package/esm/coms/commons/HaTableColumn.vue.d.ts +31 -0
  110. package/esm/coms/commons/index.d.ts +32 -0
  111. package/esm/coms/controls/Autocomplete.vue.d.ts +24 -0
  112. package/esm/coms/controls/Cascader.vue.d.ts +24 -0
  113. package/esm/coms/controls/Checkbox.vue.d.ts +22 -0
  114. package/esm/coms/controls/Code.vue.d.ts +24 -0
  115. package/esm/coms/controls/Color.vue.d.ts +24 -0
  116. package/esm/coms/controls/Compare.vue.d.ts +24 -0
  117. package/esm/coms/controls/Date.vue.d.ts +24 -0
  118. package/esm/coms/controls/DateRange.vue.d.ts +24 -0
  119. package/esm/coms/controls/DateTime.vue.d.ts +24 -0
  120. package/esm/coms/controls/DateTimeRange.vue.d.ts +24 -0
  121. package/esm/coms/controls/Decimal.vue.d.ts +24 -0
  122. package/esm/coms/controls/Email.vue.d.ts +24 -0
  123. package/esm/coms/controls/Image.vue.d.ts +2 -0
  124. package/esm/coms/controls/Index.vue.d.ts +22 -0
  125. package/esm/coms/controls/Int.vue.d.ts +24 -0
  126. package/esm/coms/controls/Markdown.vue.d.ts +24 -0
  127. package/esm/coms/controls/Month.vue.d.ts +24 -0
  128. package/esm/coms/controls/Password.vue.d.ts +24 -0
  129. package/esm/coms/controls/Progress.vue.d.ts +24 -0
  130. package/esm/coms/controls/Radio.vue.d.ts +24 -0
  131. package/esm/coms/controls/Rate.vue.d.ts +24 -0
  132. package/esm/coms/controls/RichText.vue.d.ts +22 -0
  133. package/esm/coms/controls/Select.vue.d.ts +24 -0
  134. package/esm/coms/controls/Switch.vue.d.ts +24 -0
  135. package/esm/coms/controls/Text.vue.d.ts +26 -0
  136. package/esm/coms/controls/Textarea.vue.d.ts +24 -0
  137. package/esm/coms/controls/Time.vue.d.ts +24 -0
  138. package/esm/coms/controls/Upload.vue.d.ts +24 -0
  139. package/esm/coms/controls/Year.vue.d.ts +24 -0
  140. package/esm/coms/controls/index.d.ts +26 -0
  141. package/esm/coms/globals/HaHeaderTab.vue.d.ts +19 -0
  142. package/esm/coms/globals/HaHeaderTabs.vue.d.ts +17 -0
  143. package/esm/coms/globals/HaMenu.vue.d.ts +77 -0
  144. package/esm/coms/globals/HaMenuItem.vue.d.ts +76 -0
  145. package/esm/coms/globals/HaMissComponent.vue.d.ts +9 -0
  146. package/esm/coms/globals/HaSideTab.vue.d.ts +21 -0
  147. package/esm/coms/globals/HaSideTabs.vue.d.ts +17 -0
  148. package/esm/coms/globals/HaWindow.vue.d.ts +66 -0
  149. package/esm/coms/globals/index.d.ts +70 -0
  150. package/esm/coms/headers/Breadcrumb.vue.d.ts +2 -0
  151. package/esm/coms/headers/Debugger.vue.d.ts +2 -0
  152. package/esm/coms/headers/Hamburger.vue.d.ts +18 -0
  153. package/esm/coms/headers/HeaderRight.vue.d.ts +2 -0
  154. package/esm/coms/headers/Index.vue.d.ts +6 -0
  155. package/esm/coms/headers/Log.vue.d.ts +2 -0
  156. package/esm/coms/headers/Logo.vue.d.ts +6 -0
  157. package/esm/coms/headers/Refresh.vue.d.ts +6 -0
  158. package/esm/coms/headers/Setting.vue.d.ts +8 -0
  159. package/esm/coms/headers/index.d.ts +3 -0
  160. package/esm/coms/index.d.ts +11 -0
  161. package/esm/coms/layouts/Desktop.vue.d.ts +2 -0
  162. package/esm/coms/layouts/Index.vue.d.ts +2 -0
  163. package/esm/coms/layouts/Side.vue.d.ts +2 -0
  164. package/esm/coms/layouts/Top.vue.d.ts +2 -0
  165. package/esm/coms/layouts/index.d.ts +7 -0
  166. package/esm/coms/lists/Calender.vue.d.ts +2 -0
  167. package/esm/coms/lists/Racebar.vue.d.ts +18 -0
  168. package/esm/coms/lists/Statistic.vue.d.ts +18 -0
  169. package/esm/coms/lists/Stock.vue.d.ts +12 -0
  170. package/esm/coms/lists/Timeline.vue.d.ts +12 -0
  171. package/esm/coms/lists/Tree.vue.d.ts +26 -0
  172. package/esm/coms/lists/index.d.ts +15 -0
  173. package/esm/coms/pages/Column.vue.d.ts +22 -0
  174. package/esm/coms/pages/Custom.vue.d.ts +25 -0
  175. package/esm/coms/pages/Delete.vue.d.ts +20 -0
  176. package/esm/coms/pages/Index.vue.d.ts +2 -0
  177. package/esm/coms/pages/List.vue.d.ts +24 -0
  178. package/esm/coms/pages/Paging.vue.d.ts +24 -0
  179. package/esm/coms/pages/Single.vue.d.ts +28 -0
  180. package/esm/coms/pages/index.d.ts +146 -0
  181. package/esm/coms/pagings/Article.vue.d.ts +27 -0
  182. package/esm/coms/pagings/Code.vue.d.ts +12 -0
  183. package/esm/coms/pagings/DataExport.vue.d.ts +33 -0
  184. package/esm/coms/pagings/DataImport.vue.d.ts +18 -0
  185. package/esm/coms/pagings/File.vue.d.ts +12 -0
  186. package/esm/coms/pagings/Index.vue.d.ts +33 -0
  187. package/esm/coms/pagings/SearchFooter.vue.d.ts +122 -0
  188. package/esm/coms/pagings/SearchForm.vue.d.ts +72 -0
  189. package/esm/coms/pagings/Table.vue.d.ts +31 -0
  190. package/esm/coms/pagings/index.d.ts +11 -0
  191. package/esm/coms/panels/HaGroup.vue.d.ts +9 -0
  192. package/esm/coms/panels/HaHeader.vue.d.ts +16 -0
  193. package/esm/coms/panels/HaOperation.vue.d.ts +22 -0
  194. package/esm/coms/panels/HaPanel.vue.d.ts +30 -0
  195. package/esm/coms/panels/HaShrink.vue.d.ts +48 -0
  196. package/esm/coms/panels/index.d.ts +13 -0
  197. package/esm/coms/partials/ArticleFooter.vue.d.ts +24 -0
  198. package/esm/coms/partials/Detail.vue.d.ts +20 -0
  199. package/esm/coms/partials/PagingHeader.vue.d.ts +28 -0
  200. package/esm/coms/partials/PagingRow.vue.d.ts +24 -0
  201. package/esm/coms/partials/TreeNode.vue.d.ts +12 -0
  202. package/esm/coms/partials/Update.vue.d.ts +20 -0
  203. package/esm/coms/partials/UpdateChild.vue.d.ts +22 -0
  204. package/esm/coms/partials/index.d.ts +135 -0
  205. package/esm/coms/searches/Autocomplete.vue.d.ts +24 -0
  206. package/esm/coms/searches/Daterange.vue.d.ts +22 -0
  207. package/esm/coms/searches/Index.vue.d.ts +18 -0
  208. package/esm/coms/searches/Int.vue.d.ts +24 -0
  209. package/esm/coms/searches/Month.vue.d.ts +24 -0
  210. package/esm/coms/searches/Select.vue.d.ts +24 -0
  211. package/esm/coms/searches/Text.vue.d.ts +24 -0
  212. package/esm/coms/searches/index.d.ts +7 -0
  213. package/esm/coms/singles/Code.vue.d.ts +18 -0
  214. package/esm/coms/singles/Comment.vue.d.ts +12 -0
  215. package/esm/coms/singles/Index.vue.d.ts +25 -0
  216. package/esm/coms/singles/Normal.vue.d.ts +21 -0
  217. package/esm/coms/singles/Statistic.vue.d.ts +12 -0
  218. package/esm/coms/singles/Stock.vue.d.ts +12 -0
  219. package/esm/coms/singles/Table.vue.d.ts +22 -0
  220. package/esm/coms/singles/Tree.vue.d.ts +14 -0
  221. package/esm/coms/singles/Tree_Old.vue.d.ts +2 -0
  222. package/esm/coms/singles/index.d.ts +15 -0
  223. package/esm/coms/texts/Autocomplete.vue.d.ts +16 -0
  224. package/esm/coms/texts/CSharp.vue.d.ts +16 -0
  225. package/esm/coms/texts/Cascader.vue.d.ts +22 -0
  226. package/esm/coms/texts/Checkbox.vue.d.ts +16 -0
  227. package/esm/coms/texts/Code.vue.d.ts +16 -0
  228. package/esm/coms/texts/Color.vue.d.ts +16 -0
  229. package/esm/coms/texts/Compare.vue.d.ts +16 -0
  230. package/esm/coms/texts/Copy.vue.d.ts +24 -0
  231. package/esm/coms/texts/Date.vue.d.ts +16 -0
  232. package/esm/coms/texts/DateRange.vue.d.ts +16 -0
  233. package/esm/coms/texts/DateTime.vue.d.ts +16 -0
  234. package/esm/coms/texts/Decimal.vue.d.ts +16 -0
  235. package/esm/coms/texts/Dictionary.vue.d.ts +24 -0
  236. package/esm/coms/texts/Email.vue.d.ts +16 -0
  237. package/esm/coms/texts/Index.vue.d.ts +22 -0
  238. package/esm/coms/texts/Int.vue.d.ts +16 -0
  239. package/esm/coms/texts/Markdown.vue.d.ts +16 -0
  240. package/esm/coms/texts/Month.vue.d.ts +16 -0
  241. package/esm/coms/texts/Password.vue.d.ts +16 -0
  242. package/esm/coms/texts/Progress.vue.d.ts +16 -0
  243. package/esm/coms/texts/Radio.vue.d.ts +16 -0
  244. package/esm/coms/texts/Rate.vue.d.ts +24 -0
  245. package/esm/coms/texts/RichText.vue.d.ts +16 -0
  246. package/esm/coms/texts/Select.vue.d.ts +16 -0
  247. package/esm/coms/texts/Switch.vue.d.ts +16 -0
  248. package/esm/coms/texts/Text.vue.d.ts +16 -0
  249. package/esm/coms/texts/TextLink.vue.d.ts +29 -0
  250. package/esm/coms/texts/Textarea.vue.d.ts +16 -0
  251. package/esm/coms/texts/Upload.vue.d.ts +16 -0
  252. package/esm/coms/texts/Year.vue.d.ts +16 -0
  253. package/esm/main.d.ts +9 -4
  254. package/esm/plugins/PcMessager.d.ts +35 -0
  255. package/esm/plugins/index.d.ts +2 -0
  256. package/esm/services/ServiceFactory.d.ts +3 -0
  257. package/esm/services/index.d.ts +1 -2
  258. package/esm/stores/index.d.ts +2 -1
  259. package/esm/types/PcOptions.d.ts +18 -0
  260. package/esm/types/index.d.ts +2 -0
  261. package/package.json +3 -2
  262. package/dist/Code--QwKtfhx.js +0 -4
  263. package/dist/Copy-C5yEC9dX.js +0 -43
  264. package/dist/Index-8lbvVECt.js +0 -4
  265. package/dist/Index-tbCW5R6_.js +0 -4
  266. package/dist/Text-vz76Xb4X.js +0 -4
  267. package/dist/vendor-pinia-C-_fm-ER.js +0 -1167
  268. package/dist/vendor-vue-demi-DdR-Jw7p.js +0 -31
@@ -0,0 +1,16 @@
1
+ import { ControlProps } from "../controls";
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
+ modelValue?: string;
4
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
5
+ modelValue?: string;
6
+ }>>>, {}, {}>;
7
+ export default _default;
8
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
+ type __VLS_TypePropsToOption<T> = {
10
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
11
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
+ } : {
13
+ type: import('vue').PropType<T[K]>;
14
+ required: true;
15
+ };
16
+ };
@@ -0,0 +1,16 @@
1
+ import { ControlProps } from "../controls";
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
+ modelValue?: string;
4
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
5
+ modelValue?: string;
6
+ }>>>, {}, {}>;
7
+ export default _default;
8
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
+ type __VLS_TypePropsToOption<T> = {
10
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
11
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
+ } : {
13
+ type: import('vue').PropType<T[K]>;
14
+ required: true;
15
+ };
16
+ };
@@ -0,0 +1,16 @@
1
+ import { ControlProps } from "../controls";
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
+ modelValue?: string;
4
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
5
+ modelValue?: string;
6
+ }>>>, {}, {}>;
7
+ export default _default;
8
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
+ type __VLS_TypePropsToOption<T> = {
10
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
11
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
+ } : {
13
+ type: import('vue').PropType<T[K]>;
14
+ required: true;
15
+ };
16
+ };
package/esm/main.d.ts CHANGED
@@ -1,7 +1,12 @@
1
- declare let app: import("vue").App<Element>;
1
+ import { App } from "vue";
2
+ import { PcOptions } from "./types";
2
3
  export * from "halo-fe";
3
- export * from "./components";
4
+ export * from "./coms";
4
5
  export * from "./services";
5
6
  export * from "./stores";
6
- export * from "./sdks";
7
- export default app;
7
+ /**
8
+ * 初始化PC框架
9
+ * 创建前端基础框架,配置前端环境变量
10
+ */
11
+ declare let createPc: (app: App<Element>, options: PcOptions) => Promise<void>;
12
+ export { createPc };
@@ -0,0 +1,35 @@
1
+ import { IMessager } from "halo-fe";
2
+ /**
3
+ * 消息服务
4
+ */
5
+ declare class PcMessager implements IMessager {
6
+ /**
7
+ * 显示全局成功消息
8
+ */
9
+ success: (message: string) => void;
10
+ /**
11
+ * 显示全局警告消息
12
+ */
13
+ warning: (message: string) => void;
14
+ /**
15
+ * 显示全局信息消息
16
+ */
17
+ info: (message: string) => void;
18
+ /**
19
+ * 显示全局错误消息
20
+ */
21
+ error: (message: string) => void;
22
+ /**
23
+ * 显示全局错误消息
24
+ */
25
+ confirm: (title: string, message: string, options?: any) => Promise<any>;
26
+ /**
27
+ * 显示警告框
28
+ */
29
+ alert: (title: string, message: string, options?: any) => Promise<import("element-plus").MessageBoxData>;
30
+ /**
31
+ * 通知
32
+ */
33
+ notify: (title: string, message: string, type: string) => import("element-plus").NotificationHandle;
34
+ }
35
+ export default PcMessager;
@@ -1 +1,3 @@
1
+ import PcMessager from "../plugins/PcMessager";
1
2
  export * from "halo-fe";
3
+ export { PcMessager };
@@ -0,0 +1,3 @@
1
+ declare class ServiceFactory {
2
+ }
3
+ export default ServiceFactory;
@@ -3,5 +3,4 @@ import ControlService from "./ControlService";
3
3
  import ComponentService from "./ComponentService";
4
4
  import StandardService from "./StandardService";
5
5
  import UploadService from "./UploadService";
6
- import MessageService from "./MessageService";
7
- export { PageService, ControlService, ComponentService, StandardService, UploadService, MessageService, };
6
+ export { PageService, ControlService, ComponentService, StandardService, UploadService };
@@ -3,4 +3,5 @@ import useComponentStore from "./component";
3
3
  import useLayoutStore from "./layout";
4
4
  import useI18nStore from "./i18n";
5
5
  import useRouterStore from "./router";
6
- export { useAppStore, useComponentStore, useLayoutStore, useI18nStore, useRouterStore };
6
+ import useWindowStore from "./window";
7
+ export { useAppStore, useComponentStore, useLayoutStore, useI18nStore, useRouterStore, useWindowStore };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * PC初始化选项
3
+ */
4
+ declare interface PcOptions {
5
+ /**
6
+ * 前端环境变量
7
+ */
8
+ env: any;
9
+ /**
10
+ * 自定义路由
11
+ */
12
+ routes: any[];
13
+ /**
14
+ * 多语言配置
15
+ */
16
+ lang: any;
17
+ }
18
+ export { PcOptions };
@@ -0,0 +1,2 @@
1
+ import { PcOptions } from "./PcOptions";
2
+ export { PcOptions };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "halo-pc",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Halo pc framework",
5
5
  "scripts": {
6
6
  "halo-pc:tsc": "vue-tsc",
@@ -8,6 +8,7 @@
8
8
  "halo-pc:build:debug": "vite build --debug",
9
9
  "halo-pc:build:watch": "npx vite build --watch",
10
10
  "halo-pc:build:publish": "vue-tsc & npx vite build & npm publish",
11
+ "halo-pc:link": "pnpm link ../halo-fe",
11
12
  "halo-pc:publish": "npm publish"
12
13
  },
13
14
  "type": "module",
@@ -33,7 +34,7 @@
33
34
  "echarts": "5.5.1",
34
35
  "element-plus": "2.7.6",
35
36
  "intro.js": "7.2.0",
36
- "halo-fe": "1.0.4",
37
+ "halo-fe": "1.0.5",
37
38
  "monaco-editor": "0.50.0",
38
39
  "pinia": "2.1.7",
39
40
  "quill": "2.0.2",
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-DcAjaZOQ.js";
2
- export {
3
- f as default
4
- };
@@ -1,43 +0,0 @@
1
- import { defineComponent as y, toRefs as g, computed as v, unref as l, renderSlot as n, openBlock as _, createElementBlock as b, createElementVNode as c } from "vue";
2
- import { M as a } from "./main-Bs5Q5ZLl.js";
3
- import { C } from "./vendor-clipboard-BqjesuiY.js";
4
- const k = {
5
- key: 1,
6
- class: "copy-container"
7
- }, J = /* @__PURE__ */ c("img", {
8
- src: "/default/images/clippy.svg",
9
- alt: "复制文本"
10
- }, null, -1), S = [
11
- J
12
- ], E = /* @__PURE__ */ y({
13
- __name: "Copy",
14
- props: {
15
- schema: {},
16
- table: {},
17
- field: {},
18
- set: {},
19
- row: {},
20
- modelValue: {}
21
- },
22
- setup(i) {
23
- let p = i, { table: h, field: r, set: w, row: N, modelValue: u } = g(p), d = (e) => JSON.stringify(JSON.parse(e), null, 2), f = () => o.value && r.value.control.type == "Json" ? d(o.value).replace(/"/g, "'") : o.value, s = () => {
24
- let e = new C(".btn-copy", { text: () => f() });
25
- e.on("success", function(t) {
26
- a.success("复制成功"), e.destroy();
27
- }), e.on("error", function(t) {
28
- a.error("复制失败"), e.destroy();
29
- });
30
- }, o = v(() => u.value);
31
- return (e, t) => l(r).control.copy ? (_(), b("div", k, [
32
- c("i", {
33
- class: "btn-copy",
34
- onClick: t[0] || (t[0] = //@ts-ignore
35
- (...m) => l(s) && l(s)(...m))
36
- }, S),
37
- n(e.$slots, "default")
38
- ])) : n(e.$slots, "default", { key: 0 });
39
- }
40
- });
41
- export {
42
- E as default
43
- };
@@ -1,4 +0,0 @@
1
- import { E as f } from "./main-Bs5Q5ZLl.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { o } from "./main-Bs5Q5ZLl.js";
2
- export {
3
- o as default
4
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./Text.vue_vue_type_style_index_0_lang-BMxOYNEI.js";
2
- export {
3
- f as default
4
- };