halo-pc 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (429) hide show
  1. package/README.md +46 -0
  2. package/dist/Article-lRUJ_OJd.js +195 -0
  3. package/dist/ArticleFooter-BAf1rKUX.js +78 -0
  4. package/dist/Autocomplete-BZC6nm8e.js +51 -0
  5. package/dist/Autocomplete-Bi_l7zwo.js +52 -0
  6. package/dist/Autocomplete-zUWf79cr.js +27 -0
  7. package/dist/CSharp-DE5nh_O4.js +27 -0
  8. package/dist/Calender-BySvLRJq.js +10 -0
  9. package/dist/Callback-DPPWZw_u.js +20 -0
  10. package/dist/Cascader-BsPUAtBL.js +83 -0
  11. package/dist/Cascader-CHVgZRdk.js +44 -0
  12. package/dist/Checkbox-BKx6xpIx.js +27 -0
  13. package/dist/Checkbox-D928Sp6S.js +69 -0
  14. package/dist/Code-Chrbr4KP.js +39 -0
  15. package/dist/Code-De2Uv1Px.js +4 -0
  16. package/dist/Code-GhBd93wc.js +28 -0
  17. package/dist/Code-qQK_4OZ6.js +57 -0
  18. package/dist/Code.vue_vue_type_style_index_0_lang-B5F-OmjA.js +62 -0
  19. package/dist/Color-CfXtJFUo.js +22 -0
  20. package/dist/Color-Da69pnQg.js +34 -0
  21. package/dist/Column-DW9n0ein.js +68 -0
  22. package/dist/Comment-Cod3CMDP.js +101 -0
  23. package/dist/Compare-7rmSR2Vp.js +57 -0
  24. package/dist/Compare-D-WXTccH.js +27 -0
  25. package/dist/Copy-PYxtclV3.js +43 -0
  26. package/dist/Custom-RoQe4kW_.js +52 -0
  27. package/dist/DataExport-DzADLzN4.js +4 -0
  28. package/dist/DataExport.vue_vue_type_script_setup_true_lang-B0DjFKm0.js +111 -0
  29. package/dist/DataImport-CgdY4oAg.js +4 -0
  30. package/dist/DataImport.vue_vue_type_script_setup_true_lang-BOpao8ja.js +172 -0
  31. package/dist/Date-B9tmMFuT.js +36 -0
  32. package/dist/Date-Dr80JkYm.js +27 -0
  33. package/dist/DateRange-CxGZSLKj.js +60 -0
  34. package/dist/DateRange-DrYK_l0Y.js +19 -0
  35. package/dist/DateTime-BzjTeOtg.js +27 -0
  36. package/dist/DateTime-Ce1NnyqQ.js +37 -0
  37. package/dist/DateTimeRange-Cr_pV6VX.js +61 -0
  38. package/dist/Daterange-BW8avRzM.js +60 -0
  39. package/dist/Decimal-C38-N54B.js +36 -0
  40. package/dist/Decimal-CnaJfnyD.js +27 -0
  41. package/dist/Delete-D6JpsqZ1.js +55 -0
  42. package/dist/Detail-DPV7avRs.js +69 -0
  43. package/dist/Dictionary-Bf5W_pJM.js +58 -0
  44. package/dist/Email-BGc1mV9s.js +47 -0
  45. package/dist/Email-BKW9GRcH.js +19 -0
  46. package/dist/File-KSe9LUnT.js +157 -0
  47. package/dist/HoSwitch.vue_vue_type_style_index_0_lang-F1qgXnFx.js +46 -0
  48. package/dist/Image-Cz3sAz75.js +9 -0
  49. package/dist/Index-5i8NweBu.js +4 -0
  50. package/dist/Index-9AheG9bs.js +4 -0
  51. package/dist/Index-BAdLGn2X.js +4 -0
  52. package/dist/Index-BSQve4ig.js +4 -0
  53. package/dist/Index-CFsJEcLx.js +170 -0
  54. package/dist/Index-CLJ35fvo.js +73 -0
  55. package/dist/Index-DXnaWCq-.js +4 -0
  56. package/dist/Index-DaGrzGG9.js +4 -0
  57. package/dist/Index.vue_vue_type_script_setup_true_lang-Crvp7013.js +63 -0
  58. package/dist/Index.vue_vue_type_script_setup_true_lang-DaRdnMqk.js +75 -0
  59. package/dist/Index.vue_vue_type_script_setup_true_lang-gv23r-9D.js +36 -0
  60. package/dist/Index.vue_vue_type_style_index_0_lang-Cdczm43D.js +112 -0
  61. package/dist/Install-Dx1MoGVW.js +129 -0
  62. package/dist/Int-AE2e9jyG.js +37 -0
  63. package/dist/Int-B-t8edhd.js +19 -0
  64. package/dist/Int-CfvU-cuR.js +44 -0
  65. package/dist/List-BBpYGaUx.js +75 -0
  66. package/dist/Maintaince-Bs1_cOam.js +15 -0
  67. package/dist/Markdown-BzMP3m7o.js +37 -0
  68. package/dist/Markdown-DnPCfzFD.js +27 -0
  69. package/dist/Month-BVKakHhk.js +36 -0
  70. package/dist/Month-BbbcEZef.js +27 -0
  71. package/dist/Month-D9r3wt_e.js +37 -0
  72. package/dist/Normal-DglkJvhE.js +253 -0
  73. package/dist/Paging-C3ntgZx5.js +93 -0
  74. package/dist/PagingHeader-CBXHiUXR.js +140 -0
  75. package/dist/PagingRow-tny-wHwu.js +66 -0
  76. package/dist/Password-DuyYEgzR.js +55 -0
  77. package/dist/Password-yHtlY-Qa.js +24 -0
  78. package/dist/Progress-C3D821AQ.js +34 -0
  79. package/dist/Progress-CKVzMO-W.js +25 -0
  80. package/dist/QueryApi-CPyNgIKy.js +13 -0
  81. package/dist/Racebar-Cseghx3Z.js +165 -0
  82. package/dist/Radio-BrSONLbo.js +27 -0
  83. package/dist/Radio-DkcBKBvX.js +47 -0
  84. package/dist/Rate-B7jKTFKT.js +34 -0
  85. package/dist/Rate-BmC4gw_0.js +34 -0
  86. package/dist/Register-D7gvuJiE.js +201 -0
  87. package/dist/RichText-Bk0Msyhl.js +22 -0
  88. package/dist/RichText-DQvrv6V7.js +104 -0
  89. package/dist/SearchFooter-DzxrSako.js +4 -0
  90. package/dist/SearchFooter.vue_vue_type_style_index_0_lang-h-wf1D-o.js +55 -0
  91. package/dist/SearchForm-Bo0nk2o4.js +4 -0
  92. package/dist/SearchForm.vue_vue_type_style_index_0_lang-37Paf-X_.js +148 -0
  93. package/dist/Select-CIWL2QB_.js +27 -0
  94. package/dist/Select-DAIbIG11.js +114 -0
  95. package/dist/Select-Dqw7DP-6.js +80 -0
  96. package/dist/Single-CfmqNmeA.js +322 -0
  97. package/dist/Statistic--Bow2CyV.js +160 -0
  98. package/dist/Statistic-B_mgjlnr.js +76 -0
  99. package/dist/Stock-Bjygq6ei.js +4 -0
  100. package/dist/Stock-U6JTFd2R.js +28 -0
  101. package/dist/Stock.vue_vue_type_style_index_0_lang-BZ0BHU-F.js +301 -0
  102. package/dist/Switch-DhFaku5L.js +50 -0
  103. package/dist/Switch-qLwHUFTL.js +27 -0
  104. package/dist/Table-DZH3tqZj.js +238 -0
  105. package/dist/Table-mDlEBMBs.js +317 -0
  106. package/dist/Text-CLMVbFyi.js +52 -0
  107. package/dist/Text-DJbk5I_4.js +4 -0
  108. package/dist/Text-EQNK15_K.js +51 -0
  109. package/dist/Text.vue_vue_type_style_index_0_lang-DBJbK62d.js +55 -0
  110. package/dist/TextLink-B6X1_Ltd.js +65 -0
  111. package/dist/Textarea-CnS6jb4O.js +28 -0
  112. package/dist/Textarea-D9TgF9ig.js +37 -0
  113. package/dist/Time-CRVru-6c.js +36 -0
  114. package/dist/Timeline-D5mZs0I9.js +56 -0
  115. package/dist/Tree-NDzpgIjQ.js +294 -0
  116. package/dist/Tree-V2yFzSQf.js +120 -0
  117. package/dist/TreeNode-CrdOVIey.js +37 -0
  118. package/dist/Tree_Old-h__WmqFA.js +11 -0
  119. package/dist/Update-BGhgeWpg.js +64 -0
  120. package/dist/UpdateChild-CA0P17tZ.js +85 -0
  121. package/dist/Upload-BRAVjqfB.js +146 -0
  122. package/dist/Upload-DG8svROr.js +70 -0
  123. package/dist/UploadApi-DsqrvBXQ.js +17 -0
  124. package/dist/Year-DBuvSBYN.js +40 -0
  125. package/dist/Year-De0vEkgD.js +27 -0
  126. package/dist/main-_4re--C1.js +5981 -0
  127. package/dist/main.js +90 -0
  128. package/dist/style.css +1 -0
  129. package/dist/vendor-@intlify-BISCQg1h.js +2189 -0
  130. package/dist/vendor-@monaco-editor-DKC4UNw_.js +258 -0
  131. package/dist/vendor-@vue-aVYGocXp.js +93 -0
  132. package/dist/vendor-axios-ud9O0vdJ.js +1670 -0
  133. package/dist/vendor-clipboard-BqjesuiY.js +521 -0
  134. package/dist/vendor-clone-BPtCWdXG.js +134 -0
  135. package/dist/vendor-crypto-js-ftX_aBC-.js +4995 -0
  136. package/dist/vendor-element-plus-Z7vJFrsh.js +456 -0
  137. package/dist/vendor-file-saver-CytTIJ-3.js +74 -0
  138. package/dist/vendor-intro.js-CZkClzQO.js +1695 -0
  139. package/dist/vendor-moment-h96o7c8I.js +2578 -0
  140. package/dist/vendor-pinia-yrN6kSxh.js +861 -0
  141. package/dist/vendor-sprintf-js-BPTdvBYM.js +148 -0
  142. package/dist/vendor-state-local-CEworIRt.js +131 -0
  143. package/dist/vendor-underscore-DVTek3G4.js +1070 -0
  144. package/dist/vendor-underscore.string-BEHfJwHl.js +425 -0
  145. package/dist/vendor-util-deprecate-DzpNkCzj.js +28 -0
  146. package/dist/vendor-vue-demi-CIhrFbpB.js +17 -0
  147. package/dist/vendor-vue-i18n-C3KH15Qn.js +1670 -0
  148. package/esm/App.vue.d.ts +2 -0
  149. package/esm/api/QueryApi.d.ts +10 -0
  150. package/esm/api/UploadApi.d.ts +10 -0
  151. package/esm/api/index.d.ts +3 -0
  152. package/esm/components/business/HoCondition.vue.d.ts +18 -0
  153. package/esm/components/business/HoCrud.vue.d.ts +29 -0
  154. package/esm/components/business/HoDrawer.vue.d.ts +24 -0
  155. package/esm/components/business/HoDriver.vue.d.ts +52 -0
  156. package/esm/components/business/HoFeedback.vue.d.ts +8 -0
  157. package/esm/components/business/HoForm.vue.d.ts +23 -0
  158. package/esm/components/business/HoSwitch.vue.d.ts +24 -0
  159. package/esm/components/business/HoWelcome.vue.d.ts +8 -0
  160. package/esm/components/business/index.d.ts +123 -0
  161. package/esm/components/controls/Autocomplete.vue.d.ts +24 -0
  162. package/esm/components/controls/Cascader.vue.d.ts +24 -0
  163. package/esm/components/controls/Checkbox.vue.d.ts +22 -0
  164. package/esm/components/controls/Code.vue.d.ts +24 -0
  165. package/esm/components/controls/Color.vue.d.ts +24 -0
  166. package/esm/components/controls/Compare.vue.d.ts +24 -0
  167. package/esm/components/controls/Date.vue.d.ts +24 -0
  168. package/esm/components/controls/DateRange.vue.d.ts +24 -0
  169. package/esm/components/controls/DateTime.vue.d.ts +24 -0
  170. package/esm/components/controls/DateTimeRange.vue.d.ts +24 -0
  171. package/esm/components/controls/Decimal.vue.d.ts +24 -0
  172. package/esm/components/controls/Email.vue.d.ts +24 -0
  173. package/esm/components/controls/Image.vue.d.ts +2 -0
  174. package/esm/components/controls/Index.vue.d.ts +22 -0
  175. package/esm/components/controls/Int.vue.d.ts +24 -0
  176. package/esm/components/controls/Markdown.vue.d.ts +24 -0
  177. package/esm/components/controls/Month.vue.d.ts +24 -0
  178. package/esm/components/controls/Password.vue.d.ts +24 -0
  179. package/esm/components/controls/Progress.vue.d.ts +24 -0
  180. package/esm/components/controls/Radio.vue.d.ts +24 -0
  181. package/esm/components/controls/Rate.vue.d.ts +24 -0
  182. package/esm/components/controls/RichText.vue.d.ts +22 -0
  183. package/esm/components/controls/Select.vue.d.ts +24 -0
  184. package/esm/components/controls/Switch.vue.d.ts +24 -0
  185. package/esm/components/controls/Text.vue.d.ts +26 -0
  186. package/esm/components/controls/Textarea.vue.d.ts +24 -0
  187. package/esm/components/controls/Time.vue.d.ts +24 -0
  188. package/esm/components/controls/Upload.vue.d.ts +24 -0
  189. package/esm/components/controls/Year.vue.d.ts +24 -0
  190. package/esm/components/controls/index.d.ts +26 -0
  191. package/esm/components/headers/Breadcrumb.vue.d.ts +2 -0
  192. package/esm/components/headers/Debugger.vue.d.ts +2 -0
  193. package/esm/components/headers/Hamburger.vue.d.ts +18 -0
  194. package/esm/components/headers/HeaderRight.vue.d.ts +2 -0
  195. package/esm/components/headers/Index.vue.d.ts +6 -0
  196. package/esm/components/headers/Log.vue.d.ts +2 -0
  197. package/esm/components/headers/Logo.vue.d.ts +6 -0
  198. package/esm/components/headers/Refresh.vue.d.ts +6 -0
  199. package/esm/components/headers/Setting.vue.d.ts +8 -0
  200. package/esm/components/headers/index.d.ts +3 -0
  201. package/esm/components/index.d.ts +8 -0
  202. package/esm/components/layouts/Desktop.vue.d.ts +2 -0
  203. package/esm/components/layouts/Index.vue.d.ts +2 -0
  204. package/esm/components/layouts/Side.vue.d.ts +2 -0
  205. package/esm/components/layouts/Top.vue.d.ts +2 -0
  206. package/esm/components/layouts/index.d.ts +7 -0
  207. package/esm/components/lists/Calender.vue.d.ts +2 -0
  208. package/esm/components/lists/Racebar.vue.d.ts +18 -0
  209. package/esm/components/lists/Statistic.vue.d.ts +18 -0
  210. package/esm/components/lists/Stock.vue.d.ts +12 -0
  211. package/esm/components/lists/Timeline.vue.d.ts +12 -0
  212. package/esm/components/lists/Tree.vue.d.ts +26 -0
  213. package/esm/components/lists/index.d.ts +15 -0
  214. package/esm/components/pages/Column.vue.d.ts +22 -0
  215. package/esm/components/pages/Custom.vue.d.ts +25 -0
  216. package/esm/components/pages/Delete.vue.d.ts +20 -0
  217. package/esm/components/pages/Index.vue.d.ts +2 -0
  218. package/esm/components/pages/List.vue.d.ts +24 -0
  219. package/esm/components/pages/Paging.vue.d.ts +24 -0
  220. package/esm/components/pages/Single.vue.d.ts +28 -0
  221. package/esm/components/pages/index.d.ts +146 -0
  222. package/esm/components/pagings/Article.vue.d.ts +27 -0
  223. package/esm/components/pagings/Code.vue.d.ts +12 -0
  224. package/esm/components/pagings/DataExport.vue.d.ts +33 -0
  225. package/esm/components/pagings/DataImport.vue.d.ts +18 -0
  226. package/esm/components/pagings/File.vue.d.ts +12 -0
  227. package/esm/components/pagings/Index.vue.d.ts +33 -0
  228. package/esm/components/pagings/SearchFooter.vue.d.ts +122 -0
  229. package/esm/components/pagings/SearchForm.vue.d.ts +72 -0
  230. package/esm/components/pagings/Table.vue.d.ts +31 -0
  231. package/esm/components/pagings/index.d.ts +11 -0
  232. package/esm/components/partials/ArticleFooter.vue.d.ts +24 -0
  233. package/esm/components/partials/Detail.vue.d.ts +20 -0
  234. package/esm/components/partials/PagingHeader.vue.d.ts +28 -0
  235. package/esm/components/partials/PagingRow.vue.d.ts +24 -0
  236. package/esm/components/partials/TreeNode.vue.d.ts +12 -0
  237. package/esm/components/partials/Update.vue.d.ts +20 -0
  238. package/esm/components/partials/UpdateChild.vue.d.ts +22 -0
  239. package/esm/components/partials/index.d.ts +135 -0
  240. package/esm/components/searches/Autocomplete.vue.d.ts +24 -0
  241. package/esm/components/searches/Daterange.vue.d.ts +22 -0
  242. package/esm/components/searches/Index.vue.d.ts +18 -0
  243. package/esm/components/searches/Int.vue.d.ts +24 -0
  244. package/esm/components/searches/Month.vue.d.ts +24 -0
  245. package/esm/components/searches/Select.vue.d.ts +24 -0
  246. package/esm/components/searches/Text.vue.d.ts +24 -0
  247. package/esm/components/searches/index.d.ts +7 -0
  248. package/esm/components/singles/Code.vue.d.ts +18 -0
  249. package/esm/components/singles/Comment.vue.d.ts +12 -0
  250. package/esm/components/singles/Index.vue.d.ts +25 -0
  251. package/esm/components/singles/Normal.vue.d.ts +21 -0
  252. package/esm/components/singles/Statistic.vue.d.ts +12 -0
  253. package/esm/components/singles/Stock.vue.d.ts +12 -0
  254. package/esm/components/singles/Table.vue.d.ts +22 -0
  255. package/esm/components/singles/Tree.vue.d.ts +14 -0
  256. package/esm/components/singles/Tree_Old.vue.d.ts +2 -0
  257. package/esm/components/singles/index.d.ts +15 -0
  258. package/esm/components/texts/Autocomplete.vue.d.ts +16 -0
  259. package/esm/components/texts/CSharp.vue.d.ts +16 -0
  260. package/esm/components/texts/Cascader.vue.d.ts +22 -0
  261. package/esm/components/texts/Checkbox.vue.d.ts +16 -0
  262. package/esm/components/texts/Code.vue.d.ts +16 -0
  263. package/esm/components/texts/Color.vue.d.ts +16 -0
  264. package/esm/components/texts/Compare.vue.d.ts +16 -0
  265. package/esm/components/texts/Copy.vue.d.ts +24 -0
  266. package/esm/components/texts/Date.vue.d.ts +16 -0
  267. package/esm/components/texts/DateRange.vue.d.ts +16 -0
  268. package/esm/components/texts/DateTime.vue.d.ts +16 -0
  269. package/esm/components/texts/Decimal.vue.d.ts +16 -0
  270. package/esm/components/texts/Dictionary.vue.d.ts +24 -0
  271. package/esm/components/texts/Email.vue.d.ts +16 -0
  272. package/esm/components/texts/Index.vue.d.ts +22 -0
  273. package/esm/components/texts/Int.vue.d.ts +16 -0
  274. package/esm/components/texts/Markdown.vue.d.ts +16 -0
  275. package/esm/components/texts/Month.vue.d.ts +16 -0
  276. package/esm/components/texts/Password.vue.d.ts +16 -0
  277. package/esm/components/texts/Progress.vue.d.ts +16 -0
  278. package/esm/components/texts/Radio.vue.d.ts +16 -0
  279. package/esm/components/texts/Rate.vue.d.ts +24 -0
  280. package/esm/components/texts/RichText.vue.d.ts +16 -0
  281. package/esm/components/texts/Select.vue.d.ts +16 -0
  282. package/esm/components/texts/Switch.vue.d.ts +16 -0
  283. package/esm/components/texts/Text.vue.d.ts +16 -0
  284. package/esm/components/texts/TextLink.vue.d.ts +29 -0
  285. package/esm/components/texts/Textarea.vue.d.ts +16 -0
  286. package/esm/components/texts/Upload.vue.d.ts +16 -0
  287. package/esm/components/texts/Year.vue.d.ts +16 -0
  288. package/esm/drivers/IDriver.d.ts +10 -0
  289. package/esm/drivers/cdns/Cdn.d.ts +13 -0
  290. package/esm/drivers/cdns/CdnFactory.d.ts +11 -0
  291. package/esm/drivers/cdns/ICdn.d.ts +30 -0
  292. package/esm/drivers/cdns/implements/BootCdn.d.ts +8 -0
  293. package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +11 -0
  294. package/esm/drivers/cdns/implements/LocalCdn.d.ts +8 -0
  295. package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +8 -0
  296. package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +8 -0
  297. package/esm/drivers/driver-helper.d.ts +36 -0
  298. package/esm/drivers/excels/ExcelFactory.d.ts +11 -0
  299. package/esm/drivers/excels/IExcel.d.ts +18 -0
  300. package/esm/drivers/excels/implements/XlsxExcel.d.ts +10 -0
  301. package/esm/drivers/explainers/Explainer.d.ts +4 -0
  302. package/esm/drivers/explainers/ExplainerFactory.d.ts +1 -0
  303. package/esm/drivers/explainers/IExplainer.d.ts +3 -0
  304. package/esm/drivers/explainers/implement/JsonExplainer.d.ts +4 -0
  305. package/esm/drivers/features/FeatureFactory.d.ts +11 -0
  306. package/esm/drivers/features/IFeature.d.ts +23 -0
  307. package/esm/drivers/features/implements/ExpressionFeature.d.ts +12 -0
  308. package/esm/drivers/features/implements/I18NFeature.d.ts +12 -0
  309. package/esm/drivers/features/implements/SortFeature.d.ts +13 -0
  310. package/esm/drivers/index.d.ts +7 -0
  311. package/esm/drivers/providers/IProvider.d.ts +43 -0
  312. package/esm/drivers/providers/ProviderFactory.d.ts +11 -0
  313. package/esm/drivers/providers/implements/IndexedDbProvider.d.ts +55 -0
  314. package/esm/drivers/requesters/IRequester.d.ts +17 -0
  315. package/esm/drivers/requesters/Requester.d.ts +8 -0
  316. package/esm/drivers/requesters/RequesterFactory.d.ts +11 -0
  317. package/esm/drivers/requesters/entities/HttpRequest.d.ts +22 -0
  318. package/esm/drivers/requesters/entities/HttpResponse.d.ts +19 -0
  319. package/esm/drivers/requesters/implements/DefaultRequester.d.ts +7 -0
  320. package/esm/drivers/signers/ISigner.d.ts +33 -0
  321. package/esm/drivers/signers/SignerFactory.d.ts +11 -0
  322. package/esm/drivers/signers/implements/DefaultSigner.d.ts +16 -0
  323. package/esm/drivers/ssos/ISso.d.ts +41 -0
  324. package/esm/drivers/ssos/SsoFactory.d.ts +11 -0
  325. package/esm/drivers/ssos/implements/AnonymousSso.d.ts +18 -0
  326. package/esm/drivers/ssos/implements/BearerSso.d.ts +22 -0
  327. package/esm/drivers/ssos/implements/NioSso.d.ts +23 -0
  328. package/esm/drivers/ssos/implements/SecretSso.d.ts +18 -0
  329. package/esm/drivers/ssos/implements/WeiXinSso.d.ts +20 -0
  330. package/esm/main.d.ts +7 -0
  331. package/esm/router/index.d.ts +10 -0
  332. package/esm/sdks/commons/HoCaptcha.vue.d.ts +14 -0
  333. package/esm/sdks/commons/HoCode.vue.d.ts +39 -0
  334. package/esm/sdks/commons/HoCol.vue.d.ts +9 -0
  335. package/esm/sdks/commons/HoCompare.vue.d.ts +40 -0
  336. package/esm/sdks/commons/HoContainer.vue.d.ts +21 -0
  337. package/esm/sdks/commons/HoDebug.vue.d.ts +9 -0
  338. package/esm/sdks/commons/HoEditable.vue.d.ts +13 -0
  339. package/esm/sdks/commons/HoEmpty.vue.d.ts +24 -0
  340. package/esm/sdks/commons/HoLoading.vue.d.ts +33 -0
  341. package/esm/sdks/commons/HoMouseContext.vue.d.ts +2 -0
  342. package/esm/sdks/commons/HoParticles.vue.d.ts +2 -0
  343. package/esm/sdks/commons/HoProgress.vue.d.ts +8 -0
  344. package/esm/sdks/commons/HoResizer.vue.d.ts +26 -0
  345. package/esm/sdks/commons/HoRow.vue.d.ts +19 -0
  346. package/esm/sdks/commons/HoSpinner.vue.d.ts +20 -0
  347. package/esm/sdks/commons/HoTable.vue.d.ts +34 -0
  348. package/esm/sdks/commons/HoTableColumn.vue.d.ts +31 -0
  349. package/esm/sdks/commons/index.d.ts +90 -0
  350. package/esm/sdks/globals/HoHeaderTab.vue.d.ts +19 -0
  351. package/esm/sdks/globals/HoHeaderTabs.vue.d.ts +17 -0
  352. package/esm/sdks/globals/HoMenu.vue.d.ts +77 -0
  353. package/esm/sdks/globals/HoMenuItem.vue.d.ts +76 -0
  354. package/esm/sdks/globals/HoMissComponent.vue.d.ts +9 -0
  355. package/esm/sdks/globals/HoSideTab.vue.d.ts +21 -0
  356. package/esm/sdks/globals/HoSideTabs.vue.d.ts +17 -0
  357. package/esm/sdks/globals/HoWindow.vue.d.ts +66 -0
  358. package/esm/sdks/globals/index.d.ts +66 -0
  359. package/esm/sdks/helpers/array-helper.d.ts +97 -0
  360. package/esm/sdks/helpers/component-helper.d.ts +10 -0
  361. package/esm/sdks/helpers/cookie-helper.d.ts +6 -0
  362. package/esm/sdks/helpers/dom-helper.d.ts +74 -0
  363. package/esm/sdks/helpers/encrypt-helper.d.ts +18 -0
  364. package/esm/sdks/helpers/event-helper.d.ts +30 -0
  365. package/esm/sdks/helpers/file-helper.d.ts +22 -0
  366. package/esm/sdks/helpers/html-helper.d.ts +10 -0
  367. package/esm/sdks/helpers/i18n-helper.d.ts +14 -0
  368. package/esm/sdks/helpers/image-helper.d.ts +10 -0
  369. package/esm/sdks/helpers/index.d.ts +25 -0
  370. package/esm/sdks/helpers/json-helper.d.ts +27 -0
  371. package/esm/sdks/helpers/math-helper.d.ts +42 -0
  372. package/esm/sdks/helpers/micro-helper.d.ts +10 -0
  373. package/esm/sdks/helpers/mount-helper.d.ts +14 -0
  374. package/esm/sdks/helpers/object-helper.d.ts +34 -0
  375. package/esm/sdks/helpers/script-helper.d.ts +31 -0
  376. package/esm/sdks/helpers/scroll-helper.d.ts +14 -0
  377. package/esm/sdks/helpers/storage-helper.d.ts +34 -0
  378. package/esm/sdks/helpers/string-helper.d.ts +94 -0
  379. package/esm/sdks/helpers/task-helper.d.ts +26 -0
  380. package/esm/sdks/helpers/time-helper.d.ts +62 -0
  381. package/esm/sdks/helpers/tree-helper.d.ts +54 -0
  382. package/esm/sdks/helpers/type-helper.d.ts +26 -0
  383. package/esm/sdks/helpers/url-helper.d.ts +92 -0
  384. package/esm/sdks/index.d.ts +7 -0
  385. package/esm/sdks/panels/HoGroup.vue.d.ts +9 -0
  386. package/esm/sdks/panels/HoHeader.vue.d.ts +16 -0
  387. package/esm/sdks/panels/HoOperation.vue.d.ts +22 -0
  388. package/esm/sdks/panels/HoPanel.vue.d.ts +30 -0
  389. package/esm/sdks/panels/HoShrink.vue.d.ts +48 -0
  390. package/esm/sdks/panels/index.d.ts +13 -0
  391. package/esm/sdks/stores/index.d.ts +2 -0
  392. package/esm/sdks/stores/window.d.ts +25 -0
  393. package/esm/sdks/thirds/index.d.ts +8 -0
  394. package/esm/sdks/utilities/AffixUtility.d.ts +9 -0
  395. package/esm/sdks/utilities/EventUtility.d.ts +30 -0
  396. package/esm/sdks/utilities/KeyboardUtility.d.ts +73 -0
  397. package/esm/sdks/utilities/MouseUtility.d.ts +24 -0
  398. package/esm/sdks/utilities/index.d.ts +4 -0
  399. package/esm/services/ComponentService.d.ts +18 -0
  400. package/esm/services/ControlService.d.ts +42 -0
  401. package/esm/services/HttpService.d.ts +22 -0
  402. package/esm/services/MessageService.d.ts +34 -0
  403. package/esm/services/PageService.d.ts +38 -0
  404. package/esm/services/SettingService.d.ts +5 -0
  405. package/esm/services/StandardService.d.ts +34 -0
  406. package/esm/services/UploadService.d.ts +10 -0
  407. package/esm/services/index.d.ts +9 -0
  408. package/esm/stores/app.d.ts +44 -0
  409. package/esm/stores/component.d.ts +30 -0
  410. package/esm/stores/config.d.ts +55 -0
  411. package/esm/stores/driver.d.ts +37 -0
  412. package/esm/stores/i18n.d.ts +67 -0
  413. package/esm/stores/index.d.ts +12 -0
  414. package/esm/stores/layout.d.ts +13 -0
  415. package/esm/stores/log.d.ts +20 -0
  416. package/esm/stores/router.d.ts +20 -0
  417. package/esm/stores/setting.d.ts +43 -0
  418. package/esm/stores/socket.d.ts +27 -0
  419. package/esm/stores/user.d.ts +40 -0
  420. package/esm/views/helps/401.vue.d.ts +2 -0
  421. package/esm/views/helps/404.vue.d.ts +2 -0
  422. package/esm/views/helps/Install.vue.d.ts +2 -0
  423. package/esm/views/helps/Maintaince.vue.d.ts +2 -0
  424. package/esm/views/helps/Upgrade.vue.d.ts +2 -0
  425. package/esm/views/logins/Callback.vue.d.ts +2 -0
  426. package/esm/views/logins/Index.vue.d.ts +2 -0
  427. package/esm/views/logins/Register.vue.d.ts +2 -0
  428. package/esm/vite.config.d.ts +6 -0
  429. package/package.json +58 -0
@@ -0,0 +1,238 @@
1
+ import { defineComponent as be, defineAsyncComponent as xe, toRefs as Ce, ref as c, onMounted as Se, computed as L, watch as Re, resolveComponent as b, openBlock as v, createElementBlock as $, Fragment as U, createVNode as S, unref as e, withCtx as f, createTextVNode as ke, toDisplayString as W, createBlock as H, createCommentVNode as F, renderList as $e, createElementVNode as x, normalizeStyle as He, resolveDynamicComponent as Fe, nextTick as G } from "vue";
2
+ import { l as De, v as ze, P as J, C as K, i as q, D as y, q as B, w as Q, A as I, O as We, t as qe } from "./main-_4re--C1.js";
3
+ import "./vendor-@monaco-editor-DKC4UNw_.js";
4
+ import "./vendor-moment-h96o7c8I.js";
5
+ const Be = {
6
+ key: 0,
7
+ class: "required"
8
+ }, Ie = ["onMouseenter"], Me = /* @__PURE__ */ x("i", { class: "fa fa-question-circle icon-question" }, null, -1), Oe = { class: "footer-left" }, Te = { class: "footer-right" }, Pe = /* @__PURE__ */ be({
9
+ __name: "Table",
10
+ props: {
11
+ route: {},
12
+ validateErrors: {},
13
+ module: {},
14
+ schema: {},
15
+ table: {},
16
+ layout: {},
17
+ next: {},
18
+ set: {}
19
+ },
20
+ emits: ["submit", "change", "row-edit"],
21
+ setup(X, { expose: Y, emit: Z }) {
22
+ let ee = xe(() => import("./Index-BSQve4ig.js")), D = Z, te = X, { schema: M, table: a, layout: p, set: i, next: Ae, route: O, module: R, validateErrors: T } = Ce(te), _ = c({ page: 1 }), le = De(), m = c([]), ae = c(!0), k = c(), A = c(), E = c(), N = c(), g = c({ layout: "prev, pager, next", count: 5 }), oe = (t, o, n) => {
23
+ D("row-edit", t, a.value, n);
24
+ }, ne = (t) => {
25
+ D("submit", t);
26
+ }, re = (t, o) => {
27
+ let n = a.value.show[o];
28
+ return n._headerWidth ? (t.column.realWidth || t.column.width) > n._headerWidth + 20 : !0;
29
+ }, ue = (t, o) => {
30
+ let n = t.target.children[0].offsetWidth, u = a.value.show[o];
31
+ u._headerWidth = n;
32
+ }, ie = (t, o, n, u, l) => {
33
+ D("change", t, o, n, u, l);
34
+ }, V = (t) => i.value[a.value.name].indexOf(t), se = (t) => {
35
+ m.value = t;
36
+ }, de = (t, o, n, u, l) => {
37
+ J.setColumnWidth(O.value, l.name, n.property, t);
38
+ }, pe = (t) => {
39
+ j(t.contentRect.width), G(() => {
40
+ P(t.contentRect.height);
41
+ });
42
+ }, j = (t = null) => {
43
+ let o = y.parentUntil(k.value.$el, ".ho-main-form");
44
+ t == null && (t = y.getWidth(o)), t <= 690 ? g.value.count = 5 : g.value.count = 7, t <= 300 ? g.value.layout = "pager" : t <= 620 ? g.value.layout = "prev, pager, next" : g.value.layout = "total, prev, pager, next, jumper";
45
+ }, P = (t = null) => {
46
+ let o = y.parentUntil(k.value.$el, ".ho-main-form");
47
+ t || (t = y.getHeight(o));
48
+ let n = y.getHeight(A.value), u = y.find(o, ".main-footer"), l = y.getHeight(u), s = t - n - l;
49
+ N.value = `${s}px`;
50
+ }, me = () => {
51
+ let t = i.value[a.value.name].length, o = q.getDefaultRow(a.value);
52
+ i.value[a.value.name].push(o);
53
+ let n = a.value.fields.filter((l) => l.feature != null);
54
+ for (let l = 0; l < n.length; l++) {
55
+ let s = n[l];
56
+ B.getFeature(s.feature.type).add(a.value, s, i.value, o);
57
+ }
58
+ z(t);
59
+ let u = Q.isBottom(".tree-detail");
60
+ G(() => {
61
+ u && Q.scrollToBottom(".tree-detail");
62
+ });
63
+ }, ce = () => {
64
+ let t = m.value[0], o = q.getDefaultRow(a.value), n = I.insert(i.value[a.value.name], t, o), u = a.value.fields.filter((l) => l.feature != null);
65
+ for (let l = 0; l < u.length; l++) {
66
+ let s = u[l];
67
+ B.getFeature(s.feature.type).insert(a.value, s, i.value, t, o);
68
+ }
69
+ z(n);
70
+ }, ve = () => {
71
+ let t = a.value.key.name, o = We.clone(m.value, (l) => {
72
+ l[t] = null, l[`Old_${t}`] = null;
73
+ }), n = i.value[a.value.name].indexOf(m.value[0]);
74
+ for (let l = 0; l < m.value.length; l++) {
75
+ let s = m.value[l], w = o[l];
76
+ I.append(i.value[a.value.name], s, w);
77
+ }
78
+ let u = a.value.fields.filter((l) => l.feature != null);
79
+ for (let l = 0; l < u.length; l++) {
80
+ let s = u[l];
81
+ B.getFeature(s.feature.type).copy(a.value, s, i.value);
82
+ }
83
+ z(n);
84
+ }, fe = () => {
85
+ I.remove(i.value[a.value.name], m.value), m.value = [];
86
+ }, z = (t) => {
87
+ let o = qe.pageCount(t + 1, p.value.pageSize);
88
+ _.value.page = o;
89
+ }, ge = (t) => {
90
+ _.value.page = t;
91
+ }, he = () => {
92
+ k.value.$el.querySelector("tbody");
93
+ };
94
+ Se(() => {
95
+ he(), j(), ze.detectLoaded(E, () => {
96
+ P();
97
+ });
98
+ });
99
+ let ye = L(() => {
100
+ let t = (_.value.page - 1) * p.value.pageSize, o = _.value.page * p.value.pageSize - 1;
101
+ return i.value[a.value.name].filter((u, l) => l >= t && l <= o);
102
+ }), _e = L(() => {
103
+ let t = a.value.main ? `/${a.value.name}` : `/${M.value[0].name}/${a.value.name}`;
104
+ return le.getComponent(`${t}/update-child`, "partial", "update-child");
105
+ });
106
+ return Re(T, (t, o) => {
107
+ let n = t.find((u) => u.table == a.value.name);
108
+ n != null && (_.value.page = Math.ceil((n.index + 1) / p.value.pageSize));
109
+ }), Y({ resize: pe }), (t, o) => {
110
+ const n = b("el-table-column"), u = b("el-tooltip"), l = b("el-popover"), s = b("el-form-item"), w = b("el-table"), we = b("el-pagination");
111
+ return v(), $(U, null, [
112
+ S(w, {
113
+ ref_key: "tableRef",
114
+ ref: k,
115
+ class: "ho-table-layout table-default",
116
+ size: "small",
117
+ border: "",
118
+ "max-height": e(N),
119
+ data: e(ye),
120
+ onRowClick: o[0] || (o[0] = (r, h, d) => e(oe)(r, h, d)),
121
+ onSelectionChange: e(se),
122
+ onHeaderDragend: o[1] || (o[1] = (r, h, d, C) => e(de)(r, h, d, C, e(a)))
123
+ }, {
124
+ empty: f(() => [
125
+ ke(W(t.$t("common.no_data")), 1)
126
+ ]),
127
+ default: f(() => [
128
+ e(ae) ? (v(), H(n, {
129
+ key: 0,
130
+ type: "selection",
131
+ width: "40",
132
+ fixed: ""
133
+ })) : F("", !0),
134
+ (v(!0), $(U, null, $e(e(a).show, (r, h) => (v(), H(n, {
135
+ key: r.name,
136
+ "show-overflow-tooltip": "",
137
+ prop: r.name,
138
+ label: r.label,
139
+ "min-width": e(J).getColumnWidth(e(O), e(a).name, r),
140
+ fixed: e(p).fixed.length > 0 ? e(p).fixed.indexOf(r.name) > -1 : h == 0
141
+ }, {
142
+ header: f((d) => [
143
+ e(R).type != "Detail" && r.control.required ? (v(), $("i", Be, "*")) : F("", !0),
144
+ S(u, {
145
+ placement: "top",
146
+ content: r.label,
147
+ disabled: e(re)(d, h)
148
+ }, {
149
+ default: f(() => [
150
+ x("span", {
151
+ onMouseenter: (C) => e(ue)(C, h)
152
+ }, [
153
+ x("span", null, W(t.$t_field(e(a).table, r.name)), 1)
154
+ ], 40, Ie)
155
+ ]),
156
+ _: 2
157
+ }, 1032, ["content", "disabled"]),
158
+ r.control.tooltip ? (v(), H(l, {
159
+ key: 1,
160
+ trigger: "hover",
161
+ placement: "top",
162
+ width: "auto",
163
+ title: r.control.tooltip.title
164
+ }, {
165
+ reference: f(() => [
166
+ Me
167
+ ]),
168
+ default: f(() => [
169
+ x("pre", null, W(r.control.tooltip.content), 1)
170
+ ]),
171
+ _: 2
172
+ }, 1032, ["title"])) : F("", !0)
173
+ ]),
174
+ default: f((d) => [
175
+ S(s, {
176
+ style: He(e(K).getStyle(r, e(R).type, e(p).type)),
177
+ rules: e(q).getRules(e(T), e(a), r, d.$index),
178
+ prop: `[${e(a).name}][${e(V)(d.row)}][${r.name}]`
179
+ }, {
180
+ default: f(() => [
181
+ S(e(ee), {
182
+ schema: e(M),
183
+ table: e(a),
184
+ field: r,
185
+ set: e(i),
186
+ row: d.row,
187
+ config: e(K).getConfig(r, e(R).type, e(p).type),
188
+ onSubmit: e(ne),
189
+ onChange: (C) => e(ie)(C, e(i), e(a), r, e(V)(d.row))
190
+ }, null, 8, ["schema", "table", "field", "set", "row", "config", "onSubmit", "onChange"])
191
+ ]),
192
+ _: 2
193
+ }, 1032, ["style", "rules", "prop"])
194
+ ]),
195
+ _: 2
196
+ }, 1032, ["prop", "label", "min-width", "fixed"]))), 128))
197
+ ]),
198
+ _: 1
199
+ }, 8, ["max-height", "data", "onSelectionChange"]),
200
+ e(a).main ? F("", !0) : (v(), $("div", {
201
+ key: 0,
202
+ ref_key: "footerRef",
203
+ ref: A,
204
+ class: "table-footer"
205
+ }, [
206
+ x("div", Oe, [
207
+ (v(), H(Fe(e(_e)), {
208
+ ref_key: "operationRef",
209
+ ref: E,
210
+ module: e(R),
211
+ table: e(a),
212
+ set: e(i),
213
+ selection: e(m),
214
+ onAdd: e(me),
215
+ onInsert: e(ce),
216
+ onCopy: e(ve),
217
+ onRemove: e(fe)
218
+ }, null, 40, ["module", "table", "set", "selection", "onAdd", "onInsert", "onCopy", "onRemove"]))
219
+ ]),
220
+ x("div", Te, [
221
+ S(we, {
222
+ background: "",
223
+ layout: e(g).layout,
224
+ "current-page": e(_).page,
225
+ "page-size": e(p).pageSize,
226
+ "pager-count": e(g).count,
227
+ total: e(i)[e(a).name].length,
228
+ onCurrentChange: e(ge)
229
+ }, null, 8, ["layout", "current-page", "page-size", "pager-count", "total", "onCurrentChange"])
230
+ ])
231
+ ], 512))
232
+ ], 64);
233
+ };
234
+ }
235
+ });
236
+ export {
237
+ Pe as default
238
+ };
@@ -0,0 +1,317 @@
1
+ import { defineComponent as $e, toRefs as Ve, ref as u, onMounted as We, nextTick as A, computed as Y, resolveComponent as S, openBlock as f, createElementBlock as D, createVNode as v, unref as e, isRef as w, normalizeClass as He, withCtx as h, createTextVNode as Z, toDisplayString as k, Fragment as Be, renderList as De, createBlock as R, createCommentVNode as z, createElementVNode as T, resolveDynamicComponent as Te } from "vue";
2
+ import { r as Ue, h as Me, l as Ee, u as Ne, D as $, P as j, C as Pe, s as Le, t as Ae, g as je, o as qe, H as Ie, M as Ke } from "./main-_4re--C1.js";
3
+ import "./vendor-@monaco-editor-DKC4UNw_.js";
4
+ import "./vendor-moment-h96o7c8I.js";
5
+ import "xlsx-js-style";
6
+ import { _ as Oe } from "./SearchForm.vue_vue_type_style_index_0_lang-37Paf-X_.js";
7
+ import { _ as Fe } from "./DataImport.vue_vue_type_script_setup_true_lang-BOpao8ja.js";
8
+ import { _ as Ge } from "./DataExport.vue_vue_type_script_setup_true_lang-B0DjFKm0.js";
9
+ import { _ as Je } from "./Index.vue_vue_type_style_index_0_lang-Cdczm43D.js";
10
+ import { _ as Qe } from "./SearchFooter.vue_vue_type_style_index_0_lang-h-wf1D-o.js";
11
+ const Xe = {
12
+ key: 0,
13
+ class: "required"
14
+ }, Ye = ["onMouseenter"], Ze = { class: "el-drawer__title" }, et = { key: 0 }, tt = ["href"], gt = /* @__PURE__ */ $e({
15
+ __name: "Table",
16
+ props: {
17
+ searchData: {},
18
+ module: {},
19
+ schema: {},
20
+ table: {},
21
+ layout: {},
22
+ next: {},
23
+ set: {}
24
+ },
25
+ emits: ["search", "navigate", "sort", "page-change", "size-change", "succeed", "close"],
26
+ setup(ee, { expose: te, emit: ae }) {
27
+ let b = ae, le = ee, { module: oe, schema: U, table: r, layout: i, next: p, set: _, searchData: q } = Ve(le), M = u([]), V = u(), E = u(), N = u(), I = u(), K = u(), W = u(), ne = Ue();
28
+ Me();
29
+ let re = Ee(), { $t_module: se } = Ne(), m = u(!1), g = u(!1), O = u(), F = u("120px"), y = u({ layout: "prev, pager, next", count: 5, sizes: [20, 50, 200, 500, 2e3] }), H = u(), n = u({ title: null, env: null, page: null, url: null, row: null, visible: !1, appendToBody: !1 }), ue = (t) => {
30
+ C("insert", null, t);
31
+ }, ie = (t, a) => {
32
+ C("detail", t, a);
33
+ }, de = (t, a) => {
34
+ C("update", t, a);
35
+ }, pe = (t, a) => {
36
+ C("copy", t, a);
37
+ }, me = (t, a) => {
38
+ C("delete", t, a);
39
+ }, G = (t) => {
40
+ let a = t.map((o) => o[r.value.key.name]);
41
+ Ie.post(p.value.delete.route, a).then((o) => {
42
+ Ke.success(o.message), P();
43
+ });
44
+ }, C = (t, a, o) => {
45
+ let s = ge(t, a);
46
+ o.ctrlKey ? (n.value.row = null, b("navigate", s)) : (n.value.appendToBody = o.altKey, n.value.page = t, n.value.url = s, n.value.row = a, n.value.visible = !0);
47
+ }, ge = (t, a = null) => {
48
+ let o = `${p.value[t].route}`;
49
+ if (a != null) {
50
+ let s = a[r.value.key.name];
51
+ o += `?id=${s}`;
52
+ }
53
+ return o;
54
+ }, ce = () => {
55
+ n.value.visible = !1, b("close");
56
+ }, ve = (t) => {
57
+ n.value.title = se(t.module.type, t.module.name), n.value.env = t.module.env;
58
+ }, P = () => {
59
+ n.value.visible = !1;
60
+ let t = M.value;
61
+ b("succeed", (a) => {
62
+ let o = a.data.set[r.value.name];
63
+ if (!o.length)
64
+ return;
65
+ let s = r.value.key;
66
+ A(() => {
67
+ let c = n.value.row;
68
+ if (c) {
69
+ let d = o.find((x) => x[s.name] == c[s.name]);
70
+ d && E.value.setCurrentRow(d);
71
+ }
72
+ if (t.length > 0)
73
+ for (let d of t) {
74
+ let x = o.find((l) => l[s.name] == d[s.name]);
75
+ E.value.toggleRowSelection(x, !0);
76
+ }
77
+ });
78
+ });
79
+ }, J = (t) => {
80
+ b("search", t);
81
+ }, fe = (t) => {
82
+ b("page-change", t);
83
+ }, he = (t) => {
84
+ b("size-change", t);
85
+ }, ye = (t, a) => {
86
+ let o = { [a.name]: { [t.prop]: t.order != "descending" ? "asc" : "desc" } };
87
+ b("sort", o);
88
+ }, be = (t, a, o, s, c) => {
89
+ }, we = (t) => {
90
+ F.value = t;
91
+ }, _e = (t, a) => {
92
+ M.value = t;
93
+ }, Ce = (t, a, o) => {
94
+ let s = t.target.children[0], c = $.getWidth(s) + 16 + 14, d = a.realWidth || a.width;
95
+ o._headerTooltip = c > d;
96
+ }, xe = (t, a, o, s) => {
97
+ j.setColumnWidth(p.value.paging.route, r.value.name, o.property, t);
98
+ }, Q = () => {
99
+ var s, c, d;
100
+ let t = $.getHeight(V.value), a = $.getHeight([(s = N.value) == null ? void 0 : s.$el, (c = I.value) == null ? void 0 : c.$el, (d = K.value) == null ? void 0 : d.$el]), o = t - a;
101
+ O.value = `${o}px`;
102
+ }, X = () => {
103
+ let t = H.value;
104
+ t <= 690 ? y.value.count = 5 : y.value.count = 7, t <= 300 ? y.value.layout = "pager" : t <= 620 ? y.value.layout = "prev, pager, next" : y.value.layout = "sizes, total, prev, pager, next, jumper";
105
+ }, Se = (t, a) => {
106
+ if (!W.value || !W.value.keyboard)
107
+ return !1;
108
+ W.value.keyboard(t, a);
109
+ }, ke = (t) => {
110
+ N.value.resize(t), H.value = $.getWidth(V.value), X(), A(() => {
111
+ Q();
112
+ });
113
+ };
114
+ We(() => {
115
+ H.value = $.getWidth(V.value), X(), A(() => {
116
+ Q();
117
+ });
118
+ });
119
+ let Re = Y(() => {
120
+ let a = Object.keys(i.value.orderBys)[0], o = i.value.orderBys[a];
121
+ return { prop: a, order: o ? "ascending" : "descending" };
122
+ }), ze = Y(() => {
123
+ let t = `/${r.value.name}/paging-row`;
124
+ return re.getComponent(t, "partial", "paging-row");
125
+ });
126
+ return te({ keyboard: Se, resize: ke }), (t, a) => {
127
+ const o = S("el-table-column"), s = S("el-tooltip"), c = S("el-table"), d = S("el-pagination"), x = S("el-drawer");
128
+ return f(), D("div", {
129
+ ref_key: "pagingRef",
130
+ ref: V,
131
+ class: "paging-table"
132
+ }, [
133
+ v(Oe, {
134
+ ref_key: "searchRef",
135
+ ref: N,
136
+ schema: e(U),
137
+ table: e(r),
138
+ layout: e(i),
139
+ "search-data": e(q),
140
+ onSubmit: e(J)
141
+ }, null, 8, ["schema", "table", "layout", "search-data", "onSubmit"]),
142
+ v(Qe, {
143
+ ref_key: "headerRef",
144
+ ref: I,
145
+ schema: e(U),
146
+ table: e(r),
147
+ layout: e(i),
148
+ set: e(_),
149
+ next: e(p),
150
+ selection: e(M),
151
+ "search-data": e(q),
152
+ onAdd: e(ue),
153
+ onRemove: e(G),
154
+ onShowImport: a[0] || (a[0] = (l) => w(m) ? m.value = !0 : m = !0),
155
+ onShowExport: a[1] || (a[1] = (l) => w(g) ? g.value = !0 : g = !0),
156
+ onSearch: e(J)
157
+ }, null, 8, ["schema", "table", "layout", "set", "next", "selection", "search-data", "onAdd", "onRemove", "onSearch"]),
158
+ v(c, {
159
+ ref_key: "tableRef",
160
+ ref: E,
161
+ class: He([{ "hide-nav": e(ne).hideNav }, "table-default table-paging"]),
162
+ size: "small",
163
+ border: "",
164
+ "highlight-current-row": "",
165
+ "max-height": e(O),
166
+ data: e(_)[e(r).name],
167
+ "default-sort": e(Re),
168
+ onSelectionChange: a[2] || (a[2] = (l) => e(_e)(l, e(r))),
169
+ onSortChange: a[3] || (a[3] = (l) => e(ye)(l, e(r))),
170
+ onHeaderDragend: e(xe)
171
+ }, {
172
+ empty: h(() => [
173
+ Z(k(t.t("common.no_data")), 1)
174
+ ]),
175
+ default: h(() => [
176
+ v(o, {
177
+ type: "selection",
178
+ width: "30"
179
+ }),
180
+ (f(!0), D(Be, null, De(e(r).show, (l, at) => (f(), R(o, {
181
+ sortable: e(r) ? "custom" : !1,
182
+ prop: l.name,
183
+ "sort-orders": ["descending", "ascending"],
184
+ fixed: e(i).fixed.indexOf(l.name) > -1,
185
+ "min-width": e(j).getColumnWidth(e(p).paging.route, e(r).name, l),
186
+ label: `${l.label}${l.control.prefix || l.suffix ? "(" + (l.control.prefix || l.suffix) + ")" : ""}`,
187
+ key: `${e(r).name}.${l.name}`
188
+ }, {
189
+ header: h((B) => [
190
+ l.control.required && l.control.editable ? (f(), D("i", Xe)) : z("", !0),
191
+ v(s, {
192
+ placement: "top",
193
+ content: l.label,
194
+ disabled: !l._headerTooltip
195
+ }, {
196
+ default: h(() => [
197
+ T("span", {
198
+ onMouseenter: (L) => e(Ce)(L, B.column, l)
199
+ }, [
200
+ T("span", null, k(t.$t_field(e(r).name, l.name)), 1)
201
+ ], 40, Ye)
202
+ ]),
203
+ _: 2
204
+ }, 1032, ["content", "disabled"])
205
+ ]),
206
+ default: h((B) => [
207
+ v(Je, {
208
+ schema: e(U),
209
+ table: e(r),
210
+ field: l,
211
+ set: e(_),
212
+ row: B.row,
213
+ config: e(Pe).getConfig(l, e(oe).type, e(i).type),
214
+ onChange: (L) => e(be)(L, e(r), l, e(_), B.row)
215
+ }, null, 8, ["schema", "table", "field", "set", "row", "config", "onChange"])
216
+ ]),
217
+ _: 2
218
+ }, 1032, ["sortable", "prop", "fixed", "min-width", "label"]))), 128)),
219
+ v(o, {
220
+ label: t.t("common.operation"),
221
+ fixed: "right",
222
+ "show-overflow-tooltip": "",
223
+ "min-width": e(F)
224
+ }, {
225
+ default: h((l) => [
226
+ (f(), R(Te(e(ze)), {
227
+ table: e(r),
228
+ next: e(p),
229
+ set: e(_),
230
+ row: l.row,
231
+ onPreview: e(ie),
232
+ onEdit: e(de),
233
+ onCopy: e(pe),
234
+ onBeforeRemove: e(me),
235
+ onRemove: e(G),
236
+ onChangeWidth: e(we)
237
+ }, null, 40, ["table", "next", "set", "row", "onPreview", "onEdit", "onCopy", "onBeforeRemove", "onRemove", "onChangeWidth"]))
238
+ ]),
239
+ _: 1
240
+ }, 8, ["label", "min-width"])
241
+ ]),
242
+ _: 1
243
+ }, 8, ["class", "max-height", "data", "default-sort", "onHeaderDragend"]),
244
+ v(e(Le), {
245
+ ref_key: "footerRef",
246
+ ref: K,
247
+ class: "list-toolbar"
248
+ }, {
249
+ default: h(() => [
250
+ v(d, {
251
+ background: "",
252
+ layout: e(y).layout,
253
+ "current-page": e(i).page,
254
+ "pager-count": e(y).count,
255
+ total: e(i).count,
256
+ "page-sizes": e(y).sizes,
257
+ onCurrentChange: e(fe),
258
+ onSizeChange: e(he),
259
+ "page-size": e(i).pageSize,
260
+ "onUpdate:pageSize": a[4] || (a[4] = (l) => e(i).pageSize = l)
261
+ }, null, 8, ["layout", "current-page", "pager-count", "total", "page-sizes", "onCurrentChange", "onSizeChange", "page-size"])
262
+ ]),
263
+ _: 1
264
+ }, 512),
265
+ e(p).import ? (f(), R(Fe, {
266
+ key: 0,
267
+ next: e(p),
268
+ onClose: a[5] || (a[5] = (l) => w(m) ? m.value = !1 : m = !1),
269
+ onSucceed: e(P),
270
+ modelValue: e(m),
271
+ "onUpdate:modelValue": a[6] || (a[6] = (l) => w(m) ? m.value = l : m = l)
272
+ }, null, 8, ["next", "onSucceed", "modelValue"])) : z("", !0),
273
+ e(p).export ? (f(), R(Ge, {
274
+ key: 1,
275
+ route: e(p).export.route,
276
+ "page-count": e(Ae).pageCount(e(i).count, e(i).pageSize),
277
+ onClose: a[7] || (a[7] = (l) => w(g) ? g.value = !1 : g = !1),
278
+ modelValue: e(g),
279
+ "onUpdate:modelValue": a[8] || (a[8] = (l) => w(g) ? g.value = l : g = l)
280
+ }, null, 8, ["route", "page-count", "modelValue"])) : z("", !0),
281
+ e(n).page ? (f(), R(x, {
282
+ key: 2,
283
+ "destroy-on-close": "",
284
+ "append-to-body": e(n).appendToBody,
285
+ size: e(j).getDrawerWidth(e(H)),
286
+ modelValue: e(n).visible,
287
+ "onUpdate:modelValue": a[9] || (a[9] = (l) => e(n).visible = l)
288
+ }, {
289
+ header: h(() => [
290
+ T("div", Ze, [
291
+ Z(k(e(n).title) + " ", 1),
292
+ e(n).env ? (f(), D("span", et, "[" + k(e(n).env) + "]", 1)) : z("", !0),
293
+ T("a", {
294
+ class: "drawer-copy",
295
+ href: e(je).getToUrl(e(n).url)
296
+ }, k(t.t("common.link")), 9, tt)
297
+ ])
298
+ ]),
299
+ default: h(() => [
300
+ v(e(qe), {
301
+ ref_key: "pageRef",
302
+ ref: W,
303
+ url: e(n).url,
304
+ onLoaded: e(ve),
305
+ onSucceed: e(P),
306
+ onClose: e(ce)
307
+ }, null, 8, ["url", "onLoaded", "onSucceed", "onClose"])
308
+ ]),
309
+ _: 1
310
+ }, 8, ["append-to-body", "size", "modelValue"])) : z("", !0)
311
+ ], 512);
312
+ };
313
+ }
314
+ });
315
+ export {
316
+ gt as default
317
+ };
@@ -0,0 +1,52 @@
1
+ import { defineComponent as _, toRefs as V, computed as g, resolveComponent as x, openBlock as C, createBlock as b, unref as e, withKeys as y, isRef as v, createSlots as k, withCtx as D, createTextVNode as K, toDisplayString as w } from "vue";
2
+ const S = /* @__PURE__ */ _({
3
+ __name: "Text",
4
+ props: {
5
+ schema: {},
6
+ table: {},
7
+ field: {},
8
+ searchData: {},
9
+ modelValue: {}
10
+ },
11
+ emits: ["change", "submit", "update:modelValue"],
12
+ setup(m, { emit: p }) {
13
+ let a = p, d = m, { table: i, field: o, searchData: B, modelValue: s } = V(d), c = (t) => {
14
+ a("change", t);
15
+ }, n = () => {
16
+ a("submit");
17
+ }, f = () => {
18
+ n();
19
+ }, l = g({
20
+ get() {
21
+ return s.value;
22
+ },
23
+ set(t) {
24
+ a("update:modelValue", t);
25
+ }
26
+ });
27
+ return (t, r) => {
28
+ const h = x("el-input");
29
+ return C(), b(h, {
30
+ type: "text",
31
+ placeholder: t.$t_field_placeholder(e(i).name, e(o).name),
32
+ clearable: "",
33
+ onKeyup: y(e(n), ["enter", "native"]),
34
+ onChange: e(c),
35
+ onClear: e(f),
36
+ modelValue: e(l),
37
+ "onUpdate:modelValue": r[0] || (r[0] = (u) => v(l) ? l.value = u : l = u)
38
+ }, k({ _: 2 }, [
39
+ e(o).suffix ? {
40
+ name: "append",
41
+ fn: D(() => [
42
+ K(w(e(o).suffix), 1)
43
+ ]),
44
+ key: "0"
45
+ } : void 0
46
+ ]), 1032, ["placeholder", "onKeyup", "onChange", "onClear", "modelValue"]);
47
+ };
48
+ }
49
+ });
50
+ export {
51
+ S as default
52
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./Text.vue_vue_type_style_index_0_lang-DBJbK62d.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,51 @@
1
+ import { defineComponent as _, toRefs as b, computed as V, resolveComponent as h, openBlock as x, createBlock as y, unref as e, withKeys as C, isRef as g, createSlots as k, withCtx as v, createTextVNode as w, toDisplayString as K } from "vue";
2
+ const S = /* @__PURE__ */ _({
3
+ __name: "Text",
4
+ props: {
5
+ schema: {},
6
+ table: {},
7
+ field: {},
8
+ set: {},
9
+ row: {},
10
+ modelValue: {}
11
+ },
12
+ emits: ["submit", "change", "clear", "update:modelValue"],
13
+ setup(d, { emit: u }) {
14
+ let l = u, m = d, { table: p, field: o, set: B, modelValue: i } = b(m), s = (t) => {
15
+ l("submit", t);
16
+ }, c = () => {
17
+ l("clear");
18
+ }, a = V({
19
+ get() {
20
+ return i.value;
21
+ },
22
+ set(t) {
23
+ l("update:modelValue", t), l("change", t);
24
+ }
25
+ });
26
+ return (t, n) => {
27
+ const f = h("el-input");
28
+ return x(), y(f, {
29
+ type: "text",
30
+ disabled: e(o).control.readonly,
31
+ placeholder: t.$t_field_placeholder(e(p).name, e(o).name),
32
+ clearable: "",
33
+ onKeyup: C(e(s), ["enter", "native"]),
34
+ onClear: e(c),
35
+ modelValue: e(a),
36
+ "onUpdate:modelValue": n[0] || (n[0] = (r) => g(a) ? a.value = r : a = r)
37
+ }, k({ _: 2 }, [
38
+ e(o).suffix ? {
39
+ name: "append",
40
+ fn: v(() => [
41
+ w(K(e(o).suffix), 1)
42
+ ]),
43
+ key: "0"
44
+ } : void 0
45
+ ]), 1032, ["disabled", "placeholder", "onKeyup", "onClear", "modelValue"]);
46
+ };
47
+ }
48
+ });
49
+ export {
50
+ S as default
51
+ };