halo-pc 1.0.5 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (396) hide show
  1. package/dist/{Article-7pMF1N-k.js → Article-Cr0paCOd.js} +74 -74
  2. package/dist/{Autocomplete-K5ipzchR.js → Autocomplete-BissS2A3.js} +8 -8
  3. package/dist/{Autocomplete-CEjjKXwo.js → Autocomplete-BomWDDWr.js} +1 -1
  4. package/dist/{Autocomplete-DqKo5NiJ.js → Autocomplete-_O3g7SYt.js} +9 -9
  5. package/dist/{CSharp-DatSqpip.js → CSharp-Chv8lll5.js} +1 -1
  6. package/dist/{Calender-B1HoFiQg.js → Calender-CcXM5xUM.js} +1 -1
  7. package/dist/{Callback-PyCjejiv.js → Callback-D-HauKTc.js} +5 -5
  8. package/dist/{Cascader-B9lLRKjA.js → Cascader-C_YYvlMe.js} +8 -8
  9. package/dist/{Cascader-BNvlqc5t.js → Cascader-Cjin8BPz.js} +6 -6
  10. package/dist/{Checkbox-B6IkMrWB.js → Checkbox-DGJtHqmU.js} +1 -1
  11. package/dist/Code-B-kH_AEs.js +4 -0
  12. package/dist/{Code-LFQVJotC.js → Code-CXhbCjHw.js} +15 -15
  13. package/dist/{Code-DfFF-84i.js → Code-DD8gAydz.js} +5 -5
  14. package/dist/{Code-SZuIImtp.js → Code-UnNJwSVi.js} +1 -1
  15. package/dist/{Code.vue_vue_type_style_index_0_lang-nX113anq.js → Code.vue_vue_type_style_index_0_lang-C1J-SoAM.js} +9 -9
  16. package/dist/Column-Ba3n9lah.js +67 -0
  17. package/dist/{Comment-Do7Mjpjr.js → Comment-DulAeabk.js} +11 -11
  18. package/dist/{Compare-C_iDn27Q.js → Compare-CmlD1ECo.js} +1 -1
  19. package/dist/{Compare-CrX3yfD4.js → Compare-PyNusYx3.js} +1 -1
  20. package/dist/{Copy-_sbdQvHJ.js → Copy-DtwoucC7.js} +9 -9
  21. package/dist/{Custom-DarpQFG8.js → Custom-BV_EaF7f.js} +10 -12
  22. package/dist/{DataExport-I9iG4oEo.js → DataExport-p-XTQ4Bo.js} +1 -1
  23. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-BgKetUGv.js → DataExport.vue_vue_type_script_setup_true_lang-DYlu1ZpK.js} +19 -19
  24. package/dist/{DataImport-2KtOy-of.js → DataImport-CiRRckYq.js} +1 -1
  25. package/dist/DataImport.vue_vue_type_script_setup_true_lang-CVb_SvzU.js +172 -0
  26. package/dist/{Date-PERpDDy_.js → Date-DhXOp3UZ.js} +1 -1
  27. package/dist/{DateRange-BaxHMjcx.js → DateRange-Dk12_9EG.js} +6 -6
  28. package/dist/{DateTime-B7gHENiu.js → DateTime-Cfp17-qg.js} +1 -1
  29. package/dist/{DateTimeRange-yI9Y2qgC.js → DateTimeRange-DyL2IsZP.js} +3 -3
  30. package/dist/{Daterange-DqvBvK-B.js → Daterange-BDtHZQMV.js} +8 -8
  31. package/dist/{Decimal-AXwMeqBW.js → Decimal-BaFrJUjb.js} +1 -1
  32. package/dist/Delete-thdB3rVm.js +55 -0
  33. package/dist/{Detail-aWACqVnM.js → Detail-rwzyud9y.js} +10 -10
  34. package/dist/{Dictionary-DpQuFYQ5.js → Dictionary-BgfQMBi8.js} +13 -13
  35. package/dist/{File--NsXL6XX.js → File-Dv9NexiC.js} +45 -45
  36. package/dist/{Image-CuwfJLKW.js → Image-fiCxDDah.js} +1 -1
  37. package/dist/{Index-CQ9S2R9b.js → Index-BVv4l4ck.js} +1 -1
  38. package/dist/{Index-Cewv4-Ik.js → Index-BgoXQ1Wl.js} +58 -58
  39. package/dist/{Index-BNOFdDjW.js → Index-C6T9VjbG.js} +5 -5
  40. package/dist/Index-Ch9KV-2J.js +4 -0
  41. package/dist/{Index-DA2wAurY.js → Index-DCPI1-65.js} +1 -1
  42. package/dist/Index-auePVeWT.js +4 -0
  43. package/dist/{Index-Cj79dCuO.js → Index-iBPC-KXy.js} +1 -1
  44. package/dist/{Index.vue_vue_type_script_setup_true_lang-DjiARPz7.js → Index.vue_vue_type_script_setup_true_lang-D0QapFN1.js} +2 -2
  45. package/dist/{Index.vue_vue_type_script_setup_true_lang-D6_VOLX-.js → Index.vue_vue_type_script_setup_true_lang-DMLN7fuC.js} +2 -2
  46. package/dist/{Index.vue_vue_type_style_index_0_lang-DApNHvNX.js → Index.vue_vue_type_style_index_0_lang-QhW1-B80.js} +11 -11
  47. package/dist/{Install-BWdNbtVx.js → Install-B7lphLHl.js} +7 -7
  48. package/dist/{Int-nmVkFRqG.js → Int-B_GYg_-a.js} +3 -3
  49. package/dist/List-BMEZrjDr.js +72 -0
  50. package/dist/Maintaince-aqCw0DHb.js +14 -0
  51. package/dist/{Markdown-DD6ufwhM.js → Markdown-B9rSQoSk.js} +1 -1
  52. package/dist/{Month-BqbTFGgo.js → Month-QXiAbCWq.js} +1 -1
  53. package/dist/{Normal-f4HN1ciI.js → Normal-BkJ7zUcf.js} +61 -61
  54. package/dist/Paging-C17Ky2Ym.js +93 -0
  55. package/dist/{QueryApi-CbP5cCyH.js → QueryApi-rH-MUOz4.js} +1 -1
  56. package/dist/{Racebar-Bou-XNCm.js → Racebar-B64iqDpa.js} +34 -34
  57. package/dist/{Radio-BmikzeCv.js → Radio-DT6DYkMm.js} +1 -1
  58. package/dist/{Register-CgbRZH9W.js → Register-Br4Ho5_h.js} +67 -67
  59. package/dist/RichText-B7mZvV3h.js +41 -0
  60. package/dist/{SearchFooter-C4PeAkaR.js → SearchFooter-CJhcsVwS.js} +1 -1
  61. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-BaO7vJ-n.js → SearchFooter.vue_vue_type_style_index_0_lang-4pj5BIPU.js} +20 -20
  62. package/dist/{SearchForm-C7fZiQaW.js → SearchForm-B0Mhg7mY.js} +1 -1
  63. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BumSLQVy.js → SearchForm.vue_vue_type_style_index_0_lang-Cpk8lxSg.js} +16 -16
  64. package/dist/{Select-DR5fQH0d.js → Select-BqGycr7D.js} +12 -12
  65. package/dist/{Select-C1-NVZdG.js → Select-C6waLN_p.js} +8 -8
  66. package/dist/{Select-DlbQvxQu.js → Select-DOv6YMyd.js} +1 -1
  67. package/dist/{Single-BLRyJKB-.js → Single-BsVcYImb.js} +83 -83
  68. package/dist/{Statistic-BOtmYiRA.js → Statistic-cTv7XwZm.js} +37 -37
  69. package/dist/{Stock-Dnwof0R1.js → Stock-4ne0C_6C.js} +1 -1
  70. package/dist/{Stock-BqQ6lM5B.js → Stock-BmagKP2Z.js} +1 -1
  71. package/dist/{Stock.vue_vue_type_style_index_0_lang-Az2jx3JN.js → Stock.vue_vue_type_style_index_0_lang-7J7U50Do.js} +24 -24
  72. package/dist/{Switch-DuMBV0AX.js → Switch-D2U2T-VY.js} +1 -1
  73. package/dist/{Table-Be-rPXr_.js → Table-ByVJNMIs.js} +98 -100
  74. package/dist/{Table-RMVT0hlE.js → Table-DpGjoJJ8.js} +94 -94
  75. package/dist/Text-D7hTUYqZ.js +4 -0
  76. package/dist/{Text.vue_vue_type_style_index_0_lang-CeDusQl6.js → Text.vue_vue_type_style_index_0_lang-D3BX2I3_.js} +8 -8
  77. package/dist/{TextLink-BZW-y_FS.js → TextLink-BVdiz7C8.js} +16 -19
  78. package/dist/{Textarea-3ypOGE1S.js → Textarea-DqfHJ-pT.js} +1 -1
  79. package/dist/{Timeline-CLezCcgQ.js → Timeline-BdFiDkbs.js} +15 -15
  80. package/dist/Tree-CqO-oS4J.js +117 -0
  81. package/dist/{Tree-B6RBRT1y.js → Tree-IdYR7KBj.js} +104 -104
  82. package/dist/{TreeNode-C16N8jqm.js → TreeNode-DtiaVE46.js} +3 -3
  83. package/dist/{Update-Dc3Tdkn0.js → Update-BLUslZO8.js} +2 -2
  84. package/dist/Upload-BLKrxNpk.js +2519 -0
  85. package/dist/Upload-Dy80NqjS.js +67 -0
  86. package/dist/{UploadApi-Bs507D0w.js → UploadApi-Cjo168Xz.js} +3 -3
  87. package/dist/{Year-DKxOQNyS.js → Year-DxuRORBQ.js} +1 -1
  88. package/dist/main-CsvsIylY.js +28890 -0
  89. package/dist/main.js +110 -104
  90. package/dist/style.css +1 -1
  91. package/dist/vendor-@monaco-editor-B50UdwzE.js +92 -0
  92. package/dist/{vendor-clipboard-DjQPoCBJ.js → vendor-clipboard-BqjesuiY.js} +130 -110
  93. package/dist/vendor-clone-BPtCWdXG.js +134 -0
  94. package/dist/vendor-crypto-js-YOeWQTUw.js +4997 -0
  95. package/dist/vendor-file-saver-CytTIJ-3.js +74 -0
  96. package/dist/{vendor-intro.js-DwWqhM1v.js → vendor-intro.js-CZkClzQO.js} +1 -1
  97. package/dist/vendor-moment-h96o7c8I.js +2578 -0
  98. package/dist/vendor-sprintf-js-BPTdvBYM.js +148 -0
  99. package/dist/vendor-state-local-CEworIRt.js +131 -0
  100. package/dist/vendor-underscore-D6LmOFb9.js +1067 -0
  101. package/dist/vendor-underscore.string-BEHfJwHl.js +425 -0
  102. package/dist/vendor-util-deprecate-DzpNkCzj.js +28 -0
  103. package/dist/vendor-xlsx-js-style-DIFxrP6P.js +11862 -0
  104. package/esm/components/business/HoCondition.vue.d.ts +18 -0
  105. package/esm/components/business/HoCrud.vue.d.ts +29 -0
  106. package/esm/components/business/HoDrawer.vue.d.ts +24 -0
  107. package/esm/components/business/HoDriver.vue.d.ts +52 -0
  108. package/esm/components/business/HoFeedback.vue.d.ts +8 -0
  109. package/esm/components/business/HoForm.vue.d.ts +23 -0
  110. package/esm/components/business/HoSwitch.vue.d.ts +24 -0
  111. package/esm/components/business/HoWelcome.vue.d.ts +8 -0
  112. package/esm/components/business/index.d.ts +8 -8
  113. package/esm/components/controls/Text.vue.d.ts +1 -1
  114. package/esm/components/index.d.ts +8 -8
  115. package/esm/components/lists/Tree.vue.d.ts +1 -1
  116. package/esm/components/lists/index.d.ts +1 -1
  117. package/esm/components/pages/Single.vue.d.ts +1 -1
  118. package/esm/components/pagings/Article.vue.d.ts +1 -1
  119. package/esm/components/pagings/DataExport.vue.d.ts +1 -1
  120. package/esm/components/pagings/DataImport.vue.d.ts +1 -1
  121. package/esm/components/pagings/Index.vue.d.ts +4 -4
  122. package/esm/components/pagings/SearchFooter.vue.d.ts +1 -1
  123. package/esm/components/pagings/Table.vue.d.ts +3 -3
  124. package/esm/components/pagings/index.d.ts +1 -1
  125. package/esm/components/partials/Detail.vue.d.ts +1 -1
  126. package/esm/components/partials/Update.vue.d.ts +1 -1
  127. package/esm/components/singles/index.d.ts +1 -1
  128. package/esm/components/texts/Autocomplete.vue.d.ts +1 -1
  129. package/esm/components/texts/CSharp.vue.d.ts +1 -1
  130. package/esm/components/texts/Cascader.vue.d.ts +1 -1
  131. package/esm/components/texts/Checkbox.vue.d.ts +1 -1
  132. package/esm/components/texts/Code.vue.d.ts +1 -1
  133. package/esm/components/texts/Color.vue.d.ts +1 -1
  134. package/esm/components/texts/Compare.vue.d.ts +1 -1
  135. package/esm/components/texts/Copy.vue.d.ts +1 -1
  136. package/esm/components/texts/Date.vue.d.ts +1 -1
  137. package/esm/components/texts/DateRange.vue.d.ts +1 -1
  138. package/esm/components/texts/DateTime.vue.d.ts +1 -1
  139. package/esm/components/texts/Decimal.vue.d.ts +1 -1
  140. package/esm/components/texts/Dictionary.vue.d.ts +1 -1
  141. package/esm/components/texts/Email.vue.d.ts +1 -1
  142. package/esm/components/texts/Index.vue.d.ts +1 -1
  143. package/esm/components/texts/Int.vue.d.ts +1 -1
  144. package/esm/components/texts/Markdown.vue.d.ts +1 -1
  145. package/esm/components/texts/Month.vue.d.ts +1 -1
  146. package/esm/components/texts/Password.vue.d.ts +1 -1
  147. package/esm/components/texts/Progress.vue.d.ts +1 -1
  148. package/esm/components/texts/Radio.vue.d.ts +1 -1
  149. package/esm/components/texts/Rate.vue.d.ts +1 -1
  150. package/esm/components/texts/RichText.vue.d.ts +1 -1
  151. package/esm/components/texts/Select.vue.d.ts +1 -1
  152. package/esm/components/texts/Switch.vue.d.ts +1 -1
  153. package/esm/components/texts/Text.vue.d.ts +1 -1
  154. package/esm/components/texts/TextLink.vue.d.ts +1 -1
  155. package/esm/components/texts/Textarea.vue.d.ts +1 -1
  156. package/esm/components/texts/Upload.vue.d.ts +1 -1
  157. package/esm/components/texts/Year.vue.d.ts +1 -1
  158. package/esm/coms/business/HaCrud.vue.d.ts +1 -1
  159. package/esm/coms/business/HaDrawer.vue.d.ts +1 -1
  160. package/esm/coms/business/HaDriver.vue.d.ts +1 -1
  161. package/esm/coms/business/HaForm.vue.d.ts +1 -1
  162. package/esm/coms/commons/HaTable.vue.d.ts +1 -1
  163. package/esm/coms/controls/Autocomplete.vue.d.ts +1 -1
  164. package/esm/coms/controls/Cascader.vue.d.ts +1 -1
  165. package/esm/coms/controls/Checkbox.vue.d.ts +1 -1
  166. package/esm/coms/controls/Code.vue.d.ts +1 -1
  167. package/esm/coms/controls/RichText.vue.d.ts +7 -9
  168. package/esm/coms/controls/Text.vue.d.ts +1 -1
  169. package/esm/coms/globals/HaMenu.vue.d.ts +1 -1
  170. package/esm/coms/globals/HaWindow.vue.d.ts +1 -1
  171. package/esm/coms/lists/Racebar.vue.d.ts +1 -1
  172. package/esm/coms/lists/Statistic.vue.d.ts +1 -1
  173. package/esm/coms/lists/Stock.vue.d.ts +1 -1
  174. package/esm/coms/lists/Timeline.vue.d.ts +1 -1
  175. package/esm/coms/lists/Tree.vue.d.ts +1 -1
  176. package/esm/coms/pages/Column.vue.d.ts +1 -1
  177. package/esm/coms/pages/Custom.vue.d.ts +1 -1
  178. package/esm/coms/pages/Delete.vue.d.ts +3 -3
  179. package/esm/coms/pages/List.vue.d.ts +1 -1
  180. package/esm/coms/pages/Paging.vue.d.ts +1 -1
  181. package/esm/coms/pages/Single.vue.d.ts +3 -3
  182. package/esm/coms/pagings/Article.vue.d.ts +3 -3
  183. package/esm/coms/pagings/Code.vue.d.ts +1 -1
  184. package/esm/coms/pagings/DataExport.vue.d.ts +2 -2
  185. package/esm/coms/pagings/DataImport.vue.d.ts +2 -2
  186. package/esm/coms/pagings/File.vue.d.ts +1 -1
  187. package/esm/coms/pagings/Index.vue.d.ts +3 -3
  188. package/esm/coms/pagings/SearchFooter.vue.d.ts +1 -1
  189. package/esm/coms/pagings/Table.vue.d.ts +3 -3
  190. package/esm/coms/panels/HaOperation.vue.d.ts +1 -1
  191. package/esm/coms/singles/Code.vue.d.ts +1 -1
  192. package/esm/coms/singles/Comment.vue.d.ts +1 -1
  193. package/esm/coms/singles/Index.vue.d.ts +1 -1
  194. package/esm/coms/singles/Normal.vue.d.ts +1 -1
  195. package/esm/coms/singles/Statistic.vue.d.ts +1 -1
  196. package/esm/coms/singles/Stock.vue.d.ts +1 -1
  197. package/esm/coms/singles/Table.vue.d.ts +1 -1
  198. package/esm/coms/singles/Tree.vue.d.ts +1 -1
  199. package/esm/drivers/IDriver.d.ts +10 -0
  200. package/esm/drivers/cdns/Cdn.d.ts +14 -0
  201. package/esm/drivers/cdns/CdnFactory.d.ts +11 -0
  202. package/esm/drivers/cdns/ICdn.d.ts +34 -0
  203. package/esm/drivers/cdns/implements/BootCdn.d.ts +12 -0
  204. package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +13 -0
  205. package/esm/drivers/cdns/implements/LocalCdn.d.ts +12 -0
  206. package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +16 -0
  207. package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +10 -0
  208. package/esm/drivers/cdns/index.d.ts +0 -0
  209. package/esm/drivers/driver-helper.d.ts +46 -0
  210. package/esm/drivers/encoders/Encoder.d.ts +11 -0
  211. package/esm/drivers/encoders/EncoderFactory.d.ts +16 -0
  212. package/esm/drivers/encoders/IEncoder.d.ts +22 -0
  213. package/esm/drivers/encoders/implement/Base64Encoder.d.ts +11 -0
  214. package/esm/drivers/encoders/index.d.ts +0 -0
  215. package/esm/drivers/excels/ExcelFactory.d.ts +11 -0
  216. package/esm/drivers/excels/IExcel.d.ts +18 -0
  217. package/esm/drivers/excels/implements/XlsxExcel.d.ts +10 -0
  218. package/esm/drivers/excels/index.d.ts +2 -0
  219. package/esm/drivers/explainers/Explainer.d.ts +4 -0
  220. package/esm/drivers/explainers/ExplainerFactory.d.ts +1 -0
  221. package/esm/drivers/explainers/IExplainer.d.ts +3 -0
  222. package/esm/drivers/explainers/implement/JsonExplainer.d.ts +4 -0
  223. package/esm/drivers/explainers/index.d.ts +0 -0
  224. package/esm/drivers/features/FeatureFactory.d.ts +11 -0
  225. package/esm/drivers/features/IFeature.d.ts +23 -0
  226. package/esm/drivers/features/implements/ExpressionFeature.d.ts +12 -0
  227. package/esm/drivers/features/implements/I18NFeature.d.ts +12 -0
  228. package/esm/drivers/features/implements/SortFeature.d.ts +13 -0
  229. package/esm/drivers/features/index.d.ts +2 -0
  230. package/esm/drivers/hashers/Hasher.d.ts +10 -0
  231. package/esm/drivers/hashers/HasherFactory.d.ts +13 -0
  232. package/esm/drivers/hashers/IHasher.d.ts +19 -0
  233. package/esm/drivers/hashers/implement/Md5Hasher.d.ts +10 -0
  234. package/esm/drivers/hashers/implement/Sha256Hasher.d.ts +10 -0
  235. package/esm/drivers/hashers/index.d.ts +2 -0
  236. package/esm/drivers/index.d.ts +9 -0
  237. package/esm/drivers/providers/IProvider.d.ts +47 -0
  238. package/esm/drivers/providers/ProviderFactory.d.ts +11 -0
  239. package/esm/drivers/providers/implements/IndexedDbProvider.d.ts +55 -0
  240. package/esm/drivers/providers/index.d.ts +2 -0
  241. package/esm/drivers/requesters/IRequester.d.ts +20 -0
  242. package/esm/drivers/requesters/Requester.d.ts +12 -0
  243. package/esm/drivers/requesters/RequesterFactory.d.ts +18 -0
  244. package/esm/drivers/requesters/entities/HttpRequest.d.ts +34 -0
  245. package/esm/drivers/requesters/entities/HttpResponse.d.ts +19 -0
  246. package/esm/drivers/requesters/implements/DefaultRequester.d.ts +12 -0
  247. package/esm/drivers/requesters/implements/MkRequester.d.ts +40 -0
  248. package/esm/drivers/requesters/index.d.ts +5 -0
  249. package/esm/drivers/signers/ISigner.d.ts +33 -0
  250. package/esm/drivers/signers/SignerFactory.d.ts +11 -0
  251. package/esm/drivers/signers/implements/DefaultSigner.d.ts +18 -0
  252. package/esm/drivers/signers/index.d.ts +2 -0
  253. package/esm/drivers/ssos/ISso.d.ts +41 -0
  254. package/esm/drivers/ssos/SsoFactory.d.ts +11 -0
  255. package/esm/drivers/ssos/implements/AnonymousSso.d.ts +18 -0
  256. package/esm/drivers/ssos/implements/BearerSso.d.ts +22 -0
  257. package/esm/drivers/ssos/implements/NioSso.d.ts +23 -0
  258. package/esm/drivers/ssos/implements/SecretSso.d.ts +18 -0
  259. package/esm/drivers/ssos/implements/WeiXinSso.d.ts +20 -0
  260. package/esm/drivers/ssos/index.d.ts +2 -0
  261. package/esm/main.d.ts +7 -5
  262. package/esm/plugins/PcMessenger.d.ts +35 -0
  263. package/esm/plugins/index.d.ts +2 -2
  264. package/esm/repos/index.d.ts +1 -0
  265. package/esm/sdks/commons/HaCode.vue.d.ts +40 -0
  266. package/esm/sdks/commons/HaCol.vue.d.ts +9 -0
  267. package/esm/sdks/commons/HaCompare.vue.d.ts +40 -0
  268. package/esm/sdks/commons/HaContainer.vue.d.ts +21 -0
  269. package/esm/sdks/commons/HaEmpty.vue.d.ts +24 -0
  270. package/esm/sdks/commons/HaProgress.vue.d.ts +8 -0
  271. package/esm/sdks/commons/HaRow.vue.d.ts +19 -0
  272. package/esm/sdks/commons/HaTable.vue.d.ts +1 -1
  273. package/esm/sdks/commons/HoCaptcha.vue.d.ts +14 -0
  274. package/esm/sdks/commons/HoCode.vue.d.ts +39 -0
  275. package/esm/sdks/commons/HoCol.vue.d.ts +9 -0
  276. package/esm/sdks/commons/HoCompare.vue.d.ts +40 -0
  277. package/esm/sdks/commons/HoContainer.vue.d.ts +21 -0
  278. package/esm/sdks/commons/HoDebug.vue.d.ts +9 -0
  279. package/esm/sdks/commons/HoEditable.vue.d.ts +13 -0
  280. package/esm/sdks/commons/HoEmpty.vue.d.ts +24 -0
  281. package/esm/sdks/commons/HoLoading.vue.d.ts +33 -0
  282. package/esm/sdks/commons/HoMouseContext.vue.d.ts +2 -0
  283. package/esm/sdks/commons/HoParticles.vue.d.ts +2 -0
  284. package/esm/sdks/commons/HoProgress.vue.d.ts +8 -0
  285. package/esm/sdks/commons/HoResizer.vue.d.ts +26 -0
  286. package/esm/sdks/commons/HoRow.vue.d.ts +19 -0
  287. package/esm/sdks/commons/HoSpinner.vue.d.ts +20 -0
  288. package/esm/sdks/commons/HoTable.vue.d.ts +34 -0
  289. package/esm/sdks/commons/HoTableColumn.vue.d.ts +31 -0
  290. package/esm/sdks/commons/index.d.ts +59 -1
  291. package/esm/sdks/globals/HaWindow.vue.d.ts +4 -4
  292. package/esm/sdks/globals/HoHeaderTab.vue.d.ts +19 -0
  293. package/esm/sdks/globals/HoHeaderTabs.vue.d.ts +17 -0
  294. package/esm/sdks/globals/HoMenu.vue.d.ts +77 -0
  295. package/esm/sdks/globals/HoMenuItem.vue.d.ts +76 -0
  296. package/esm/sdks/globals/HoMissComponent.vue.d.ts +9 -0
  297. package/esm/sdks/globals/HoSideTab.vue.d.ts +21 -0
  298. package/esm/sdks/globals/HoSideTabs.vue.d.ts +17 -0
  299. package/esm/sdks/globals/HoWindow.vue.d.ts +66 -0
  300. package/esm/sdks/globals/index.d.ts +0 -4
  301. package/esm/sdks/helpers/array-helper.d.ts +97 -0
  302. package/esm/sdks/helpers/component-helper.d.ts +10 -0
  303. package/esm/sdks/helpers/cookie-helper.d.ts +6 -0
  304. package/esm/sdks/helpers/dictionary-helper.d.ts +18 -0
  305. package/esm/sdks/helpers/dom-helper.d.ts +74 -0
  306. package/esm/sdks/helpers/encrypt-helper.d.ts +18 -0
  307. package/esm/sdks/helpers/event-helper.d.ts +30 -0
  308. package/esm/sdks/helpers/file-helper.d.ts +22 -0
  309. package/esm/sdks/helpers/html-helper.d.ts +10 -0
  310. package/esm/sdks/helpers/i18n-helper.d.ts +14 -0
  311. package/esm/sdks/helpers/image-helper.d.ts +10 -0
  312. package/esm/sdks/helpers/index.d.ts +26 -0
  313. package/esm/sdks/helpers/json-helper.d.ts +31 -0
  314. package/esm/sdks/helpers/math-helper.d.ts +42 -0
  315. package/esm/sdks/helpers/micro-helper.d.ts +10 -0
  316. package/esm/sdks/helpers/mount-helper.d.ts +14 -0
  317. package/esm/sdks/helpers/object-helper.d.ts +34 -0
  318. package/esm/sdks/helpers/script-helper.d.ts +31 -0
  319. package/esm/sdks/helpers/scroll-helper.d.ts +14 -0
  320. package/esm/sdks/helpers/sign-helper.d.ts +14 -0
  321. package/esm/sdks/helpers/storage-helper.d.ts +34 -0
  322. package/esm/sdks/helpers/string-helper.d.ts +94 -0
  323. package/esm/sdks/helpers/task-helper.d.ts +26 -0
  324. package/esm/sdks/helpers/time-helper.d.ts +62 -0
  325. package/esm/sdks/helpers/tree-helper.d.ts +54 -0
  326. package/esm/sdks/helpers/type-helper.d.ts +26 -0
  327. package/esm/sdks/helpers/url-helper.d.ts +96 -0
  328. package/esm/sdks/index.d.ts +7 -4
  329. package/esm/sdks/panels/HoGroup.vue.d.ts +9 -0
  330. package/esm/sdks/panels/HoHeader.vue.d.ts +16 -0
  331. package/esm/sdks/panels/HoOperation.vue.d.ts +22 -0
  332. package/esm/sdks/panels/HoPanel.vue.d.ts +30 -0
  333. package/esm/sdks/panels/HoShrink.vue.d.ts +48 -0
  334. package/esm/sdks/stores/window.d.ts +25 -0
  335. package/esm/sdks/thirds/index.d.ts +8 -0
  336. package/esm/sdks/utilities/AffixUtility.d.ts +9 -0
  337. package/esm/sdks/utilities/EventUtility.d.ts +30 -0
  338. package/esm/sdks/utilities/KeyboardUtility.d.ts +73 -0
  339. package/esm/sdks/utilities/MouseUtility.d.ts +24 -0
  340. package/esm/sdks/utilities/index.d.ts +4 -0
  341. package/esm/services/HttpService.d.ts +22 -0
  342. package/esm/services/MessageService.d.ts +8 -9
  343. package/esm/services/SettingService.d.ts +5 -0
  344. package/esm/services/index.d.ts +4 -1
  345. package/esm/servs/AppServ.d.ts +36 -0
  346. package/esm/servs/ComponentServ.d.ts +35 -0
  347. package/esm/servs/ControlServ.d.ts +42 -0
  348. package/esm/servs/I18nServ.d.ts +79 -0
  349. package/esm/servs/LayoutServ.d.ts +18 -0
  350. package/esm/servs/PageServ.d.ts +38 -0
  351. package/esm/servs/RouterServ.d.ts +23 -0
  352. package/esm/servs/StandardServ.d.ts +34 -0
  353. package/esm/servs/UploadServ.d.ts +10 -0
  354. package/esm/servs/WindowServ.d.ts +27 -0
  355. package/esm/servs/index.d.ts +17 -0
  356. package/esm/stores/app.d.ts +44 -0
  357. package/esm/stores/component.d.ts +30 -0
  358. package/esm/stores/config.d.ts +55 -0
  359. package/esm/stores/driver.d.ts +37 -0
  360. package/esm/stores/i18n.d.ts +67 -0
  361. package/esm/stores/index.d.ts +7 -2
  362. package/esm/stores/layout.d.ts +13 -0
  363. package/esm/stores/log.d.ts +20 -0
  364. package/esm/stores/router.d.ts +20 -0
  365. package/esm/stores/setting.d.ts +43 -0
  366. package/esm/stores/socket.d.ts +27 -0
  367. package/esm/stores/user.d.ts +40 -0
  368. package/esm/svcs/AppSvc.d.ts +46 -0
  369. package/esm/svcs/ComponentSvc.d.ts +35 -0
  370. package/esm/svcs/ControlSvc.d.ts +42 -0
  371. package/esm/svcs/I18nSvc.d.ts +79 -0
  372. package/esm/svcs/LayoutSvc.d.ts +18 -0
  373. package/esm/svcs/PageSvc.d.ts +38 -0
  374. package/esm/svcs/RouterSvc.d.ts +23 -0
  375. package/esm/svcs/StandardSvc.d.ts +34 -0
  376. package/esm/svcs/UploadSvc.d.ts +10 -0
  377. package/esm/svcs/WindowSvc.d.ts +27 -0
  378. package/esm/svcs/index.d.ts +21 -0
  379. package/package.json +6 -8
  380. package/dist/Code-BdK547kD.js +0 -4
  381. package/dist/Column-DVjYrrr7.js +0 -67
  382. package/dist/DataImport.vue_vue_type_script_setup_true_lang-DgzKdC2g.js +0 -170
  383. package/dist/Delete-BY3vAVWa.js +0 -55
  384. package/dist/Index-B_a_HzsB.js +0 -4
  385. package/dist/Index-Cx2J_P37.js +0 -4
  386. package/dist/List-BjdY1rMk.js +0 -72
  387. package/dist/Maintaince-DzYzyrAc.js +0 -15
  388. package/dist/Paging-BMPtLi8P.js +0 -90
  389. package/dist/RichText-BeK3zZam.js +0 -101
  390. package/dist/Text-DSXRKFPa.js +0 -4
  391. package/dist/Tree-CLpCeirT.js +0 -117
  392. package/dist/Upload-DvWyjK3a.js +0 -143
  393. package/dist/Upload-SEu1V1yX.js +0 -67
  394. package/dist/main-QtNG6p7a.js +0 -16673
  395. package/dist/vendor-pinia-yrN6kSxh.js +0 -861
  396. package/dist/vendor-vue-demi-CIhrFbpB.js +0 -17
@@ -1,170 +0,0 @@
1
- import { defineComponent as X, toRefs as Y, ref as d, resolveComponent as s, openBlock as h, createBlock as C, unref as e, isRef as P, withCtx as a, createElementVNode as g, createVNode as r, createTextVNode as _, toDisplayString as i, createCommentVNode as Z, createElementBlock as $, Fragment as ee, renderList as le } from "vue";
2
- import { c as oe, y as te, q as ae, P as ne, T as re, S as U, m as x, j as F, r as se } from "./main-QtNG6p7a.js";
3
- const ie = /* @__PURE__ */ g("i", { class: "fa fa-upload" }, null, -1), ue = { style: { color: "red" } }, de = { class: "footer-operation" }, ce = { class: "footer-content" }, pe = /* @__PURE__ */ g("i", { class: "fa fa-download" }, null, -1), fe = /* @__PURE__ */ X({
4
- __name: "DataImport",
5
- props: {
6
- next: Object,
7
- modelValue: Boolean
8
- },
9
- emits: ["close", "succeed", "update:modelValue"],
10
- setup(N, { emit: R }) {
11
- let B = R, j = N, { next: S, modelValue: v } = Y(j), b = d(!1), T = d(), E = {}, y = d([]), c = d([]), p = d(), f = d(), V = d({ clear: !1 }), A = oe(), L = () => {
12
- B("close");
13
- }, z = async (l) => {
14
- let o = S.value.import.route;
15
- T.value = te.api.url + o;
16
- let n = await A.getSso(), u = ae.getTimestamp(), w = await (await ne.create("default")).getSign(n.userId, o, null, u, n.secret), k = re.create(n.type);
17
- return E.Authorization = k.getAuthorization(n.identity.token, u, w, null), U.isExcel(l.name) ? Promise.resolve() : (x.error("请上传正确的Excel文件"), Promise.reject());
18
- }, D = (l, o) => !0, I = (l) => {
19
- }, q = (l, o, n) => {
20
- y.value = [o], F.handleResponseBody(l, !0).then((u) => {
21
- u.code == "ValidateError" ? (c.value = se.groupByArray(u.data, (m) => m.table), f.value = c.value[0], p.value = c.value[0].key) : (c.value = [], f.value = null, p.value = null);
22
- }).catch(() => {
23
- y.value = [];
24
- });
25
- }, G = (l, o, n) => (x.error(l.message), Promise.resolve()), O = (l) => {
26
- f.value = c.value[l];
27
- }, H = () => {
28
- b.value = !0, F.get(S.value.import.route).then(({ data: l, message: o }) => {
29
- U.save(l.content, l.name), x.success(o);
30
- }).finally(() => {
31
- b.value = !1;
32
- });
33
- }, J = () => {
34
- B("update:modelValue", !1);
35
- };
36
- return (l, o) => {
37
- const n = s("el-button"), u = s("el-upload"), m = s("el-table-column"), w = s("el-table"), k = s("el-radio"), K = s("el-radio-group"), M = s("el-divider"), Q = s("el-checkbox"), W = s("el-dialog");
38
- return h(), C(W, {
39
- draggable: "",
40
- "destroy-on-close": "",
41
- title: l.t("paging.data_import"),
42
- onClose: e(L),
43
- modelValue: e(v),
44
- "onUpdate:modelValue": o[2] || (o[2] = (t) => P(v) ? v.value = t : v = t)
45
- }, {
46
- footer: a(() => [
47
- g("div", de, [
48
- r(Q, {
49
- modelValue: e(V).clear,
50
- "onUpdate:modelValue": o[1] || (o[1] = (t) => e(V).clear = t)
51
- }, {
52
- default: a(() => [
53
- _(i(l.t("paging.cover_existing_data")), 1)
54
- ]),
55
- _: 1
56
- }, 8, ["modelValue"])
57
- ]),
58
- g("div", ce, [
59
- r(n, {
60
- onClick: e(H),
61
- loading: e(b)
62
- }, {
63
- icon: a(() => [
64
- pe
65
- ]),
66
- default: a(() => [
67
- _(" " + i(l.t("paging.template")), 1)
68
- ]),
69
- _: 1
70
- }, 8, ["onClick", "loading"]),
71
- r(n, {
72
- type: "primary",
73
- plain: "",
74
- onClick: e(J)
75
- }, {
76
- default: a(() => [
77
- _(i(l.t("common.complete")), 1)
78
- ]),
79
- _: 1
80
- }, 8, ["onClick"])
81
- ])
82
- ]),
83
- default: a(() => [
84
- r(u, {
85
- action: e(T),
86
- headers: e(E),
87
- data: e(V),
88
- "file-list": e(y),
89
- "before-upload": e(z),
90
- "before-remove": e(D),
91
- "on-preview": e(I),
92
- "on-success": e(q),
93
- "on-error": e(G)
94
- }, {
95
- default: a(() => [
96
- r(n, null, {
97
- icon: a(() => [
98
- ie
99
- ]),
100
- default: a(() => [
101
- _(" " + i(l.t("paging.click_upload")), 1)
102
- ]),
103
- _: 1
104
- })
105
- ]),
106
- _: 1
107
- }, 8, ["action", "headers", "data", "file-list", "before-upload", "before-remove", "on-preview", "on-success", "on-error"]),
108
- e(f) ? (h(), C(w, {
109
- key: 0,
110
- data: e(f).value,
111
- "show-overflow-tooltip": "",
112
- "max-height": "400",
113
- style: { width: "100%" }
114
- }, {
115
- default: a(() => [
116
- r(m, {
117
- prop: "index",
118
- label: "行号",
119
- width: "100"
120
- }, {
121
- default: a((t) => [
122
- _(" 第" + i(t.row.index + 1) + "行 ", 1)
123
- ]),
124
- _: 1
125
- }),
126
- r(m, {
127
- prop: "field",
128
- label: "字段",
129
- width: "150"
130
- }),
131
- r(m, {
132
- prop: "message",
133
- label: "错误消息"
134
- }, {
135
- default: a((t) => [
136
- g("span", ue, i(t.row.message), 1)
137
- ]),
138
- _: 1
139
- })
140
- ]),
141
- _: 1
142
- }, 8, ["data"])) : Z("", !0),
143
- r(K, {
144
- onChange: e(O),
145
- modelValue: e(p),
146
- "onUpdate:modelValue": o[0] || (o[0] = (t) => P(p) ? p.value = t : p = t),
147
- style: { "margin-top": "10px" }
148
- }, {
149
- default: a(() => [
150
- (h(!0), $(ee, null, le(e(c), (t) => (h(), C(k, {
151
- value: t.key
152
- }, {
153
- default: a(() => [
154
- _(i(t.key) + "(" + i(t.value.length) + ")", 1)
155
- ]),
156
- _: 2
157
- }, 1032, ["value"]))), 256))
158
- ]),
159
- _: 1
160
- }, 8, ["onChange", "modelValue"]),
161
- r(M)
162
- ]),
163
- _: 1
164
- }, 8, ["title", "onClose", "modelValue"]);
165
- };
166
- }
167
- });
168
- export {
169
- fe as _
170
- };
@@ -1,55 +0,0 @@
1
- import { defineComponent as g, toRefs as x, ref as y, resolveComponent as B, openBlock as D, createElementBlock as N, createElementVNode as c, toDisplayString as t, createVNode as r, unref as a, withCtx as i, createTextVNode as d } from "vue";
2
- import { A as S, j as V, m as E } from "./main-QtNG6p7a.js";
3
- const R = { class: "delete" }, j = { class: "delete-title" }, q = { class: "delete-buttons" }, U = /* @__PURE__ */ g({
4
- __name: "Delete",
5
- props: {
6
- base: {},
7
- route: {},
8
- url: {}
9
- },
10
- emits: ["navigate", "succeed", "close"],
11
- setup(m, { emit: u }) {
12
- let o = u, p = m, { base: _, route: f } = x(p), v = S(), l = y(), k = (e) => {
13
- l.value = e.next;
14
- };
15
- (() => {
16
- k(_.value.data);
17
- })();
18
- let C = () => {
19
- let e = [f.value.query.id];
20
- V.post(l.value.delete.route, e).then((n) => {
21
- E.success(n.message), b();
22
- });
23
- }, b = () => {
24
- v.toBackUrl(), o("succeed", "delete");
25
- }, h = () => {
26
- o("close");
27
- };
28
- return (e, n) => {
29
- const s = B("el-button");
30
- return D(), N("div", R, [
31
- c("div", j, t(e.t("common.confirm_delete")), 1),
32
- c("div", q, [
33
- r(s, {
34
- type: "danger",
35
- onClick: a(C)
36
- }, {
37
- default: i(() => [
38
- d(t(e.t("common.confirm")), 1)
39
- ]),
40
- _: 1
41
- }, 8, ["onClick"]),
42
- r(s, { onClick: a(h) }, {
43
- default: i(() => [
44
- d(t(e.t("common.cancel")), 1)
45
- ]),
46
- _: 1
47
- }, 8, ["onClick"])
48
- ])
49
- ]);
50
- };
51
- }
52
- });
53
- export {
54
- U as default
55
- };
@@ -1,4 +0,0 @@
1
- import { h as f } from "./main-QtNG6p7a.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { E as f } from "./main-QtNG6p7a.js";
2
- export {
3
- f as default
4
- };
@@ -1,72 +0,0 @@
1
- import { defineComponent as I, toRefs as E, ref as o, watch as F, openBlock as T, createBlock as U, resolveDynamicComponent as V, unref as t, withCtx as $, createElementVNode as j, toDisplayString as A } from "vue";
2
- import { u as G, I as r, o as H, d } from "./main-QtNG6p7a.js";
3
- const J = { class: "not-support" }, Q = /* @__PURE__ */ I({
4
- __name: "List",
5
- props: {
6
- base: {},
7
- route: {},
8
- url: {}
9
- },
10
- emits: ["load", "navigate"],
11
- setup(_, { expose: b, emit: P }) {
12
- let h = P, k = _, { url: m, base: p, route: n } = E(k), f = o(), i = o(), s = o(), y = o(), g = o(), u = o(), c = o(), { t_module: q } = G(), C = (e) => {
13
- let l = r.getPath(e), a = r.getPath(m.value);
14
- return l != a;
15
- }, R = (e) => {
16
- let l = r.getPath(m.value), a = r.getPath(e);
17
- return l != a;
18
- }, x = (e) => {
19
- var a;
20
- let l = q(e.module.type, e.module.name);
21
- H.setTitle(l, e.module.env), f.value = e.module, i.value = d.expandSchema(e.schema), s.value = (a = i.value) == null ? void 0 : a[0], y.value = e.next, g.value = d.expandSet(e.schema, e.set), c.value = d.getConditionForm(i.value, n.value.query.condition);
22
- }, v = (e = null, l = null) => {
23
- let a = e ?? n.value.query, B = r.getUrl(n.value.path, a);
24
- h("load", B, !1, l);
25
- }, D = (e) => {
26
- v(null, e);
27
- }, w = (e) => {
28
- h("navigate", e);
29
- }, z = (e) => {
30
- let l = n.value.query;
31
- l.condition = r.base64(c.value), v(l, e);
32
- }, S = () => {
33
- v();
34
- }, L = (e, l) => {
35
- if (!u.value || !u.value.keyboard)
36
- return !1;
37
- u.value.keyboard(e, l);
38
- }, N = (e) => {
39
- if (!u.value || !u.value.resize)
40
- return !1;
41
- u.value.resize(e);
42
- };
43
- return (() => {
44
- x(p.value.data);
45
- })(), F(() => p.value, (e) => {
46
- x(e.data);
47
- }), b({ shouldLoad: C, shouldSpin: R, refresh: S, keyboard: L, resize: N }), (e, l) => (T(), U(V(`list-${t(s).layouts[0].type.toLowerCase()}`), {
48
- ref_key: "listRef",
49
- ref: u,
50
- route: t(n),
51
- module: t(f),
52
- schema: t(i),
53
- table: t(s),
54
- layout: t(s).layouts[0],
55
- next: t(y),
56
- set: t(g),
57
- "search-data": t(c),
58
- onSucceed: t(D),
59
- onSearch: t(z),
60
- onNavigate: t(w),
61
- onRefresh: t(S)
62
- }, {
63
- default: $(() => [
64
- j("div", J, "未支持的列表布局方式:" + A(t(s).layouts[0].type), 1)
65
- ]),
66
- _: 1
67
- }, 40, ["route", "module", "schema", "table", "layout", "next", "set", "search-data", "onSucceed", "onSearch", "onNavigate", "onRefresh"]));
68
- }
69
- });
70
- export {
71
- Q as default
72
- };
@@ -1,15 +0,0 @@
1
- import { defineComponent as n, openBlock as o, createElementBlock as s, createElementVNode as e, toDisplayString as i, unref as c } from "vue";
2
- import { b as a } from "./main-QtNG6p7a.js";
3
- const r = { class: "maintenance" }, _ = /* @__PURE__ */ e("div", { class: "title" }, "系统维护中", -1), l = { class: "description" }, h = /* @__PURE__ */ n({
4
- __name: "Maintaince",
5
- setup(d) {
6
- let t = a();
7
- return (m, p) => (o(), s("div", r, [
8
- _,
9
- e("div", l, i(c(t)), 1)
10
- ]));
11
- }
12
- });
13
- export {
14
- h as default
15
- };
@@ -1,90 +0,0 @@
1
- import { defineComponent as j, toRefs as A, ref as r, watch as G, openBlock as H, createBlock as M, unref as t } from "vue";
2
- import { u as Q, v as V, I as o, o as W, d, K as X } from "./main-QtNG6p7a.js";
3
- import { _ as Y } from "./Index.vue_vue_type_script_setup_true_lang-DjiARPz7.js";
4
- const le = /* @__PURE__ */ j({
5
- __name: "Paging",
6
- props: {
7
- base: {},
8
- route: {},
9
- url: {}
10
- },
11
- emits: ["navigate", "load"],
12
- setup(b, { expose: U, emit: P }) {
13
- let m = P, z = b, { url: p, base: y, route: u } = A(z), f = r(), v = r(), g = r(), h = r(), S = r(), x = r(), c = r(), s = r(), { t_module: k } = Q(), B = V.getEncoder().getBase64(), L = (e) => !0, N = (e) => {
14
- let a = o.getPath(p.value), l = o.getPath(e);
15
- return a != l;
16
- }, R = (e = null) => {
17
- q(e);
18
- }, D = () => {
19
- }, C = (e) => {
20
- var l;
21
- let a = k(e.module.type, e.module.name);
22
- W.setTitle(a, e.module.env), f.value = e.module, S.value = e.next, x.value = d.expandSet(e.schema, e.set), v.value = d.expandSchema(e.schema), g.value = (l = v.value) == null ? void 0 : l[0], h.value = g.value.layouts[0], c.value = d.getConditionForm(v.value, u.value.query.condition);
23
- }, _ = (e = null, a = null) => {
24
- let l = e ?? u.value.query, n = o.getUrl(u.value.path, l);
25
- m("load", n, !1, ($) => {
26
- a && a($);
27
- });
28
- }, i = (e, a) => {
29
- m("navigate", e, a);
30
- }, I = (e) => {
31
- let a = u.value.query;
32
- a.page = 1;
33
- let l = X.pure(c.value);
34
- a.condition = o.base64(l);
35
- let n = o.getUrl(u.value.path, a);
36
- n == p.value ? _(a, e) : i(n, e);
37
- }, w = (e, a) => {
38
- let l = u.value.query;
39
- l.order_by = B.encode(JSON.stringify(e));
40
- let n = o.getUrl(u.value.path, l);
41
- i(n, a);
42
- }, E = (e, a = null) => {
43
- let l = u.value.query;
44
- l.page = e;
45
- let n = o.getUrl(u.value.path, l);
46
- i(n, a);
47
- }, F = (e, a = null) => {
48
- let l = u.value.query;
49
- l.size = e;
50
- let n = o.getUrl(u.value.path, l);
51
- i(n, a);
52
- }, J = (e) => {
53
- h.value = g.value.layouts.find((a) => a.type == e);
54
- }, K = () => {
55
- C(y.value.data);
56
- }, q = (e = null) => _(null, e), O = (e) => {
57
- if (!s.value || !s.value.resize)
58
- return !1;
59
- s.value.resize(e);
60
- }, T = (e, a) => {
61
- if (!s.value || !s.value.keyboard)
62
- return !1;
63
- s.value.keyboard(e, a);
64
- };
65
- return K(), G(() => y.value, (e) => {
66
- C(e.data);
67
- }), U({ shouldLoad: L, shouldSpin: N, refresh: q, keyboard: T, resize: O }), (e, a) => (H(), M(Y, {
68
- ref_key: "pagingRef",
69
- ref: s,
70
- module: t(f),
71
- next: t(S),
72
- set: t(x),
73
- schema: t(v),
74
- table: t(g),
75
- layout: t(h),
76
- "search-data": t(c),
77
- onNavigate: t(i),
78
- onSort: t(w),
79
- onSearch: t(I),
80
- onPageChange: t(E),
81
- onSizeChange: t(F),
82
- onLayoutChange: t(J),
83
- onSucceed: t(R),
84
- onClose: t(D)
85
- }, null, 8, ["module", "next", "set", "schema", "table", "layout", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onLayoutChange", "onSucceed", "onClose"]));
86
- }
87
- });
88
- export {
89
- le as default
90
- };
@@ -1,101 +0,0 @@
1
- import { defineComponent as E, toRefs as I, ref as a, onUnmounted as U, computed as S, watch as C, resolveComponent as $, openBlock as j, createElementBlock as F, normalizeStyle as w, unref as f, withDirectives as P, createElementVNode as D, vShow as Q, createVNode as G, withCtx as J, nextTick as K, createStaticVNode as W } from "vue";
2
- import { q as X, V as Y } from "./main-QtNG6p7a.js";
3
- const Z = /* @__PURE__ */ W('<div class="ql-formats"><button class="ql-bold" data-toggle="tooltip" data-placement="bottom" title="Bold"></button><button class="ql-italic" data-toggle="tooltip" data-placement="bottom" title="Italic &lt;ctrl+i&gt;"></button><button class="ql-date" data-toggle="tooltip" data-placement="bottom" title="Date"></button><button class="ql-underline" data-toggle="tooltip" data-placement="bottom" title="Underline"></button><button class="ql-strike" data-toggle="tooltip" data-placement="bottom" title="Strike"></button></div><div class="ql-formats"><button class="ql-list" data-toggle="tooltip" data-placement="bottom" value="ordered"></button><button class="ql-list" data-toggle="tooltip" data-placement="bottom" value="bullet"></button><select class="ql-color"><option selected></option><option value="#e60000"></option><option value="#ff9900"></option><option value="#ffff00"></option><option value="#008a00"></option><option value="#0066cc"></option><option value="#9933ff"></option><option value="#ffffff"></option><option value="#facccc"></option><option value="#ffebcc"></option><option value="#ffffcc"></option><option value="#cce8cc"></option><option value="#cce0f5"></option><option value="#ebd6ff"></option><option value="#bbbbbb"></option><option value="#f06666"></option><option value="#ffc266"></option><option value="#ffff66"></option><option value="#66b966"></option><option value="#66a3e0"></option><option value="#c285ff"></option><option value="#888888"></option><option value="#a10000"></option><option value="#b26b00"></option><option value="#b2b200"></option><option value="#006100"></option><option value="#0047b2"></option><option value="#6b24b2"></option><option value="#444444"></option><option value="#5c0000"></option><option value="#663d00"></option><option value="#666600"></option><option value="#003700"></option><option value="#002966"></option><option value="#3d1466"></option></select><select class="ql-background"><option selected></option><option value="#e60000"></option><option value="#ff9900"></option><option value="#ffff00"></option><option value="#008a00"></option><option value="#0066cc"></option><option value="#9933ff"></option><option value="#ffffff"></option><option value="#facccc"></option><option value="#ffebcc"></option><option value="#ffffcc"></option><option value="#cce8cc"></option><option value="#cce0f5"></option><option value="#ebd6ff"></option><option value="#bbbbbb"></option><option value="#f06666"></option><option value="#ffc266"></option><option value="#ffff66"></option><option value="#66b966"></option><option value="#66a3e0"></option><option value="#c285ff"></option><option value="#888888"></option><option value="#a10000"></option><option value="#b26b00"></option><option value="#b2b200"></option><option value="#006100"></option><option value="#0047b2"></option><option value="#6b24b2"></option><option value="#444444"></option><option value="#5c0000"></option><option value="#663d00"></option><option value="#666600"></option><option value="#003700"></option><option value="#002966"></option><option value="#3d1466"></option></select></div><div class="ql-formats"><button class="ql-code-block" data-toggle="tooltip" data-placement="bottom" title="Code"></button><button class="ql-blockquote" data-toggle="tooltip" data-placement="bottom" title="Block quote"></button><button class="ql-link" data-toggle="tooltip" data-placement="bottom" title="Link"></button></div><div class="ql-formats"><button class="ql-header" data-toggle="tooltip" data-placement="bottom" value="1"></button><button class="ql-header" data-toggle="tooltip" data-placement="bottom" value="2"></button><select class="ql-align"><option selected></option><option value="center"></option><option value="right"></option><option value="justify"></option></select></div><div class="ql-formats"><select class="ql-size"><option value="small"></option><option selected></option><option value="large"></option><option value="huge"></option></select><select class="ql-header"><option value=""></option><option value="1"></option><option value="2"></option><option value="3"></option><option value="4"></option><option value="5"></option><option value="6"></option></select></div><div class="ql-formats"><select class="ql-font"><option selected></option><option value="serif"></option><option value="monospace"></option></select></div><div class="ql-formats"><button class="ql-image" data-toggle="tooltip" data-placement="bottom" title="Image"></button><button class="ql-video" data-toggle="tooltip" data-placement="bottom" title="Video"></button><button class="ql-clean" data-toggle="tooltip" data-placement="bottom" title="Clean"></button></div>', 7), tt = [
4
- Z
5
- ], at = /* @__PURE__ */ E({
6
- __name: "RichText",
7
- props: {
8
- schema: {},
9
- table: {},
10
- field: {},
11
- set: {},
12
- row: {},
13
- modelValue: {}
14
- },
15
- emits: ["change", "update:modelValue"],
16
- setup(H, { emit: N }) {
17
- let _ = N, L = H, { field: i, table: B, set: ot, row: x, modelValue: T } = I(L), s = null, l = null, r = null, b = !1, m = !1, g = a(), h = a(), p = a(), y = a(!1), R = a(), k = a(), M = (t) => {
18
- let o = X.getDateString(), e = getSelection(), n = e.getRangeAt(0), c = n.startContainer;
19
- if (c.nodeName == "#text")
20
- c.insertData(n.startOffset, o), n.setStart(c, n.startOffset + o.length), e.removeAllRanges(), e.addRange(n);
21
- else {
22
- let q = document.createTextNode(o);
23
- c.appendChild(q);
24
- let d = document.createRange();
25
- d.selectNodeContents(q), d.setStart(q, d.startOffset + o.length), e.removeAllRanges(), e.addRange(d);
26
- }
27
- }, A = (t) => {
28
- if (b || m) {
29
- u.value != null && p.value.setScrollTop(u.value), b = !1, m = !1;
30
- return;
31
- }
32
- r = t, x.value[v.value.name] = t.scrollTop;
33
- }, O = () => i.value.control.height ? `height: ${i.value.control.height}px` : "min-height: 300px;", z = () => `height: calc(100% - ${Y.getHeight(h.value)}px)`;
34
- (() => {
35
- R.value = O(), import("quill").then((t) => {
36
- let o = t.default;
37
- s = new o(g.value, {
38
- modules: {
39
- toolbar: {
40
- container: h.value,
41
- handlers: { date: M }
42
- }
43
- },
44
- theme: "snow"
45
- }), y.value = !0, K(() => {
46
- k.value = z();
47
- }), i.value.control.readonly && s.disable(), l = g.value.querySelector(".ql-editor"), l.innerHTML = V.value, p.value.update(), v.value && u.value != null && p.value.setScrollTop(u.value), s.on("text-change", (e, n, c) => {
48
- b = !0, V.value = l.innerHTML;
49
- }), l.addEventListener("paste", (e) => {
50
- m = !0;
51
- });
52
- });
53
- })(), U(() => {
54
- s = null;
55
- });
56
- let v = S(() => i.value.control.scrollTop ? B.value.fields.find((o) => o.name == i.value.control.scrollTop) : null), u = S(() => v.value ? x.value[v.value.name] : null), V = S({
57
- get() {
58
- return T.value || "";
59
- },
60
- set(t) {
61
- _("update:modelValue", t), _("change", t);
62
- }
63
- });
64
- return C(() => T.value, (t, o) => {
65
- l.innerHTML != t && (l.innerHTML = t);
66
- }), C(() => u.value, (t, o) => {
67
- t != null && (r == null ? void 0 : r.scrollTop) != t && p.value.setScrollTop(t);
68
- }), (t, o) => {
69
- const e = $("el-scrollbar");
70
- return j(), F("div", {
71
- class: "control-rich-text",
72
- style: w(f(R))
73
- }, [
74
- P(D("div", {
75
- ref_key: "toolbarRef",
76
- ref: h
77
- }, tt, 512), [
78
- [Q, f(y)]
79
- ]),
80
- G(e, {
81
- ref_key: "scrollbarRef",
82
- ref: p,
83
- class: "ql-body",
84
- onScroll: f(A),
85
- style: w(f(k))
86
- }, {
87
- default: J(() => [
88
- D("div", {
89
- ref_key: "editorRef",
90
- ref: g
91
- }, null, 512)
92
- ]),
93
- _: 1
94
- }, 8, ["onScroll", "style"])
95
- ], 4);
96
- };
97
- }
98
- });
99
- export {
100
- at as default
101
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./Text.vue_vue_type_style_index_0_lang-CeDusQl6.js";
2
- export {
3
- f as default
4
- };
@@ -1,117 +0,0 @@
1
- import { defineComponent as Q, toRefs as U, ref as m, onMounted as X, watch as Y, nextTick as K, resolveComponent as N, openBlock as k, createElementBlock as w, unref as d, Fragment as L, renderList as B, createBlock as M, withCtx as b, createVNode as Z, createElementVNode as ee, toDisplayString as S, createCommentVNode as T } from "vue";
2
- import { V as le, r as _, C as F, d as P } from "./main-QtNG6p7a.js";
3
- const te = { class: "option-text" }, ae = {
4
- key: 0,
5
- class: "option-suffix"
6
- }, de = /* @__PURE__ */ Q({
7
- __name: "Tree",
8
- props: {
9
- route: {},
10
- validateErrors: {},
11
- module: {},
12
- schema: {},
13
- table: {},
14
- layout: {},
15
- next: {},
16
- set: {}
17
- },
18
- setup($, { expose: z }) {
19
- let D = $, { module: W, schema: ne, table: s, layout: l, set: f } = U(D), E = m(), V = m([]), x = m(), y = m(0), C = m([]), R = m(!0), j = (e, n, o) => {
20
- let a = f.value[s.value.name].find((r) => r.PermissionId == e[l.value.id]);
21
- a && (a[l.value.expand] = !0);
22
- }, q = (e, n, o) => {
23
- let a = f.value[s.value.name].find((r) => r.PermissionId == e[l.value.id]);
24
- a && (a[l.value.expand] = !1);
25
- }, A = (e, n, o) => {
26
- let a = n.checkedKeys, r = e[l.value.id], i = _.contains(a, r), c = [], u = [], h = F.getChildren(e, "Children").map((t) => t[l.value.id]), p = f.value[s.value.name].map((t) => t[l.value.checked]), v = _.intersect(h, p);
27
- if (i) {
28
- c.push(e[l.value.id]);
29
- let t = _.except(h, v);
30
- t.length && (a.push(...t), c.push(...t));
31
- } else
32
- u.push(r), v.length == h.length && (u.push(...h), _.remove(a, h));
33
- c.length && G(c), u.length && H(u);
34
- }, G = (e) => {
35
- for (let n = 0; n < e.length; n++) {
36
- let o = P.getDefaultRow(s.value);
37
- o[l.value.checked] = e[n], f.value[s.value.name].push(o);
38
- }
39
- }, H = (e) => {
40
- let n = f.value[s.value.name];
41
- for (let o = 0; o < e.length; o++) {
42
- let a = n.find((r) => r[l.value.checked] == e[o]);
43
- _.remove(n, a);
44
- }
45
- }, J = (e) => {
46
- x.value = e.contentRect.width, y.value = Math.ceil(x.value / 300), I(s.value, l.value, f.value);
47
- }, I = (e, n, o) => {
48
- C.value = P.getLines(n.data, y.value, (a) => [a], () => 1), K(() => {
49
- let a = o[e.name].map((i) => i[n.checked]), r = 0;
50
- for (let i = 0; i < C.value.length; i++) {
51
- let c = C.value[i];
52
- for (let u = 0; u < c.length; u++) {
53
- let g = V.value[r], h = c[u].data, p = F.getFlat(h, "Children").map((t) => t[n.id]), v = _.intersect(p, a);
54
- if (!(v.length == 1 && p.length > 1)) for (let t = 0; t < v.length; t++) {
55
- let O = v[t];
56
- g.setChecked(O, !0, !1);
57
- }
58
- r++;
59
- }
60
- }
61
- });
62
- };
63
- return X(() => {
64
- x.value = le.getWidth(E.value), y.value = Math.ceil(x.value / 300), I(s.value, l.value, f.value);
65
- }), Y(() => s.value, (e, n) => {
66
- R.value = !1, K(() => {
67
- R.value = !0, I(e, l.value, f.value);
68
- });
69
- }), z({ resize: J }), (e, n) => {
70
- const o = N("el-tree"), a = N("el-col"), r = N("el-row");
71
- return k(), w("div", {
72
- ref_key: "layoutRef",
73
- ref: E,
74
- class: "ha-tree-layout"
75
- }, [
76
- d(R) ? (k(!0), w(L, { key: 0 }, B(d(C), (i, c) => (k(), M(r, null, {
77
- default: b(() => [
78
- (k(!0), w(L, null, B(i, ({ data: u, span: g, index: h }, p) => (k(), M(a, {
79
- span: g,
80
- key: `${c}.${p}`
81
- }, {
82
- default: b(() => [
83
- Z(o, {
84
- ref_for: !0,
85
- ref_key: "treeRefs",
86
- ref: V,
87
- "show-checkbox": "",
88
- "highlight-current": "",
89
- "default-expand-all": !1,
90
- "expand-on-click-node": !1,
91
- "node-key": d(l).id,
92
- data: u,
93
- props: { children: "Children", label: d(l).text },
94
- disabled: d(W).type == "Detail",
95
- onNodeExpand: d(j),
96
- onNodeCollapse: d(q),
97
- onCheck: (v, t) => d(A)(v, t, h)
98
- }, {
99
- default: b(({ node: v, data: t }) => [
100
- ee("div", te, S(t[d(l).text]), 1),
101
- d(l).suffix ? (k(), w("div", ae, S(t[d(l).suffix]), 1)) : T("", !0)
102
- ]),
103
- _: 2
104
- }, 1032, ["node-key", "data", "props", "disabled", "onNodeExpand", "onNodeCollapse", "onCheck"])
105
- ]),
106
- _: 2
107
- }, 1032, ["span"]))), 128))
108
- ]),
109
- _: 2
110
- }, 1024))), 256)) : T("", !0)
111
- ], 512);
112
- };
113
- }
114
- });
115
- export {
116
- de as default
117
- };