halo-pc 1.0.32 → 1.0.33

Sign up to get free protection for your applications and to get access to all the features.
Files changed (383) hide show
  1. package/dist/Article-DCYJail8.js +196 -0
  2. package/dist/{ArticleFooter-CQ9AIv5h.js → ArticleFooter-Bvzumuub.js} +17 -21
  3. package/dist/{Autocomplete-OR6Im-cE.js → Autocomplete-C0D5E-06.js} +1 -1
  4. package/dist/Autocomplete-CpWD0i6D.js +50 -0
  5. package/dist/Autocomplete-SLfUYHq2.js +51 -0
  6. package/dist/{CSharp-AEpf5-C8.js → CSharp-BWRmcrNc.js} +1 -1
  7. package/dist/{Calender-B9SQE_dy.js → Calender-Dy-Sjrei.js} +1 -1
  8. package/dist/Callback-DrBVE0ti.js +22 -0
  9. package/dist/{Cascader-CQYJHxde.js → Cascader-CIj4KFmi.js} +16 -20
  10. package/dist/Cascader-DZl4vY2s.js +43 -0
  11. package/dist/{Checkbox-rn3rUyNj.js → Checkbox-Bb5vxnKt.js} +13 -17
  12. package/dist/{Checkbox-DYnxQbzW.js → Checkbox-DwDE5km1.js} +1 -1
  13. package/dist/{Code-CrgtwU3k.js → Code-B8uBt_JE.js} +1 -1
  14. package/dist/Code-D2wLpash.js +38 -0
  15. package/dist/Code-DN-iUuKo.js +4 -0
  16. package/dist/Code-s8nXn9oo.js +56 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-6xhQHppt.js +61 -0
  18. package/dist/Column-mw1IjF56.js +71 -0
  19. package/dist/{Comment-BsBFJGaQ.js → Comment-BEi2eeXI.js} +21 -25
  20. package/dist/{Compare-Cv14ecIG.js → Compare-B9C-Kwdu.js} +7 -11
  21. package/dist/{Compare-DWPAXxRl.js → Compare-DsdPxDYn.js} +6 -10
  22. package/dist/{Copy-GmouOi6m.js → Copy-CMbmQr2C.js} +11 -15
  23. package/dist/Custom-BrfTYDWw.js +61 -0
  24. package/dist/{DataExport-nWsB9V2F.js → DataExport-VHKsp5uP.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-CSEK5Szf.js → DataExport.vue_vue_type_script_setup_true_lang-Caq9XJ-O.js} +16 -19
  26. package/dist/{DataImport-B-p5FvJ7.js → DataImport-CnpQ9Kym.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-aFcYHSGO.js → DataImport.vue_vue_type_script_setup_true_lang-DplpxvPQ.js} +45 -47
  28. package/dist/Date-C2SRDxyk.js +39 -0
  29. package/dist/{Date-ajUkX7sc.js → Date-CvIM_2sI.js} +1 -1
  30. package/dist/{DateRange-t7EQCe1S.js → DateRange-WkA7vYqq.js} +15 -19
  31. package/dist/{DateTime-C0ZOwxCc.js → DateTime-DcXFUF6E.js} +1 -1
  32. package/dist/DateTime-wWaTFovo.js +40 -0
  33. package/dist/{DateTimeRange-CcO07AoI.js → DateTimeRange-Q9AW6zyN.js} +10 -14
  34. package/dist/Daterange-BY8ZDlBN.js +59 -0
  35. package/dist/{Decimal-BgjGUtrc.js → Decimal-UESG5P18.js} +1 -1
  36. package/dist/{Delete-C9XmUMZJ.js → Delete-n91Fcpc-.js} +8 -12
  37. package/dist/{Detail-KkegBU3k.js → Detail-BtcLxHBS.js} +15 -19
  38. package/dist/Dictionary-CAJUcBp0.js +57 -0
  39. package/dist/{Email-CJPL28hv.js → Email-CDMwJk7Z.js} +11 -15
  40. package/dist/{File-BjbmEXZd.js → File-C76d1BJ1.js} +14 -18
  41. package/dist/{Image-BDtr8i7Q.js → Image-CSSMA_jD.js} +1 -1
  42. package/dist/{Index-DFgVPWAR.js → Index-BgqFKRRj.js} +1 -1
  43. package/dist/{Index-A3fVUpUc.js → Index-BrgQOciZ.js} +17 -20
  44. package/dist/Index-C5u3IceT.js +4 -0
  45. package/dist/Index-C8Z6PxoA.js +4 -0
  46. package/dist/Index-DB0yuhyV.js +175 -0
  47. package/dist/{Index-CrsEtA8H.js → Index-DLubnMVv.js} +1 -1
  48. package/dist/Index-KkyOmZ3R.js +4 -0
  49. package/dist/Index-msx6xz6k.js +4 -0
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-BchX4oAa.js → Index.vue_vue_type_script_setup_true_lang-1MpxyKly.js} +11 -15
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-D8sKBxWN.js → Index.vue_vue_type_script_setup_true_lang-gZbmbXo1.js} +9 -13
  52. package/dist/{Install-BKjOyBl4.js → Install-CtSCUNub.js} +19 -23
  53. package/dist/{Int-DH7oV_hH.js → Int-B4zAW0X4.js} +10 -13
  54. package/dist/{Int-DHDcCAlq.js → Int-XV1t0f4f.js} +8 -12
  55. package/dist/{List-sJPDvZo0.js → List-v37-UA9D.js} +26 -30
  56. package/dist/Maintaince-C44w8P26.js +16 -0
  57. package/dist/{Markdown-569jtVWW.js → Markdown-C_lGXaO5.js} +1 -1
  58. package/dist/Month-cm6vEq2Y.js +39 -0
  59. package/dist/{Month-B8bZg9yu.js → Month-pJdC-juw.js} +1 -1
  60. package/dist/Month-zzTLcslu.js +40 -0
  61. package/dist/{Normal-COyWYgbT.js → Normal-BT6pVoVx.js} +78 -81
  62. package/dist/Paging-B-0NeSQQ.js +96 -0
  63. package/dist/{PagingHeader-B9ZN-gzP.js → PagingHeader-CbkHChbA.js} +14 -18
  64. package/dist/{PagingRow-BMCnYeRU.js → PagingRow-DQGIZbFP.js} +11 -15
  65. package/dist/QueryApi-DLCwFvTe.js +16 -0
  66. package/dist/{Racebar-jI_Tr0oJ.js → Racebar-CryjydAO.js} +38 -41
  67. package/dist/{Radio-CXOvmHaC.js → Radio-CHnqeLBU.js} +1 -1
  68. package/dist/{Register-Dc3SHbQr.js → Register-CB1q0ncb.js} +67 -70
  69. package/dist/{RichText-BFoNVAke.js → RichText-BvK0bmFf.js} +11 -15
  70. package/dist/{SearchFooter-z_VvJkGQ.js → SearchFooter-DaEhbBdR.js} +1 -1
  71. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-Cyc3lOz2.js → SearchFooter.vue_vue_type_style_index_0_lang-B8QDMIGV.js} +1 -1
  72. package/dist/{SearchForm-DOf6HA9X.js → SearchForm-BcDIYVhU.js} +1 -1
  73. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-4UV9Kag_.js → SearchForm.vue_vue_type_style_index_0_lang-DtvRf-gM.js} +41 -44
  74. package/dist/{Select-C07y0IUr.js → Select-BMazswCl.js} +14 -18
  75. package/dist/{Select-DjvKZlDp.js → Select-D3aaF4gn.js} +15 -19
  76. package/dist/{Select-DUL8NZY-.js → Select-D9Jclups.js} +1 -1
  77. package/dist/{Single-CoZwT834.js → Single-DCOCo7Vc.js} +78 -81
  78. package/dist/{Statistic-B9sFcyyg.js → Statistic-teiCMfQY.js} +33 -36
  79. package/dist/{Stock-CwZn5mMQ.js → Stock-CLmG6hy_.js} +1 -1
  80. package/dist/{Stock-lAtweMdA.js → Stock-wNOHTOMF.js} +1 -1
  81. package/dist/{Stock.vue_vue_type_style_index_0_lang-BuSHv622.js → Stock.vue_vue_type_style_index_0_lang-DEkzz8vd.js} +12 -15
  82. package/dist/{Switch-D5N98lH2.js → Switch-C_sovBFO.js} +1 -1
  83. package/dist/Table-CrYK4rG9.js +241 -0
  84. package/dist/{Table-D_G9vqqg.js → Table-pLTOSr8X.js} +97 -101
  85. package/dist/{Text-CP8Fzkm-.js → Text-Bi_wT7pC.js} +16 -20
  86. package/dist/Text-DMGSVlY8.js +4 -0
  87. package/dist/{Text-PDd5nZH8.js → Text-DVP3c8MB.js} +8 -12
  88. package/dist/{Text.vue_vue_type_style_index_0_lang-JCklGm0p.js → Text.vue_vue_type_style_index_0_lang-BlQ5FRgx.js} +15 -19
  89. package/dist/{TextLink-B-uh2FSK.js → TextLink-KhbhlvEL.js} +16 -20
  90. package/dist/{Textarea-m0k4bL1V.js → Textarea-BhAHTT9o.js} +1 -1
  91. package/dist/{Time-DOZHyrC6.js → Time-Dchjq1cn.js} +12 -16
  92. package/dist/{Timeline-CWVqeAPO.js → Timeline-BhQmk26x.js} +13 -17
  93. package/dist/{Tree-BftFsRke.js → Tree-B1oZglBE.js} +114 -117
  94. package/dist/Tree-CES1v1og.js +119 -0
  95. package/dist/TreeNode-BWI6UAUL.js +39 -0
  96. package/dist/{Update-Bq3Vc9BT.js → Update-Bil0d3JB.js} +10 -14
  97. package/dist/{UpdateChild-Bzxp6hg4.js → UpdateChild-QgHXRQrk.js} +14 -18
  98. package/dist/Upload-Cha8b4S2.js +148 -0
  99. package/dist/Upload-DACACI2K.js +69 -0
  100. package/dist/UploadApi-EK9Yas4b.js +16 -0
  101. package/dist/Year-DX-UFKAf.js +43 -0
  102. package/dist/{Year-C1ewILpv.js → Year-abA2Vrst.js} +1 -1
  103. package/dist/main-Dq4FCPIB.js +9703 -0
  104. package/dist/main.js +134 -131
  105. package/dist/style.css +1 -1
  106. package/esm/App.vue.d.ts +2 -0
  107. package/esm/components/business/HaCondition.vue.d.ts +18 -0
  108. package/esm/components/business/HaCrud.vue.d.ts +29 -0
  109. package/esm/components/business/HaDrawer.vue.d.ts +24 -0
  110. package/esm/components/business/HaDriver.vue.d.ts +52 -0
  111. package/esm/components/business/HaFeedback.vue.d.ts +8 -0
  112. package/esm/components/business/HaForm.vue.d.ts +23 -0
  113. package/esm/components/business/HaSwitch.vue.d.ts +24 -0
  114. package/esm/components/business/HaWelcome.vue.d.ts +8 -0
  115. package/esm/components/business/index.d.ts +124 -0
  116. package/esm/components/controls/Autocomplete.vue.d.ts +24 -0
  117. package/esm/components/controls/Cascader.vue.d.ts +24 -0
  118. package/esm/components/controls/Checkbox.vue.d.ts +22 -0
  119. package/esm/components/controls/Code.vue.d.ts +24 -0
  120. package/esm/components/controls/Color.vue.d.ts +24 -0
  121. package/esm/components/controls/Compare.vue.d.ts +24 -0
  122. package/esm/components/controls/Date.vue.d.ts +24 -0
  123. package/esm/components/controls/DateRange.vue.d.ts +24 -0
  124. package/esm/components/controls/DateTime.vue.d.ts +24 -0
  125. package/esm/components/controls/DateTimeRange.vue.d.ts +24 -0
  126. package/esm/components/controls/Decimal.vue.d.ts +24 -0
  127. package/esm/components/controls/Email.vue.d.ts +24 -0
  128. package/esm/components/controls/Image.vue.d.ts +2 -0
  129. package/esm/components/controls/Index.vue.d.ts +22 -0
  130. package/esm/components/controls/Int.vue.d.ts +24 -0
  131. package/esm/components/controls/Markdown.vue.d.ts +24 -0
  132. package/esm/components/controls/Month.vue.d.ts +24 -0
  133. package/esm/components/controls/Password.vue.d.ts +24 -0
  134. package/esm/components/controls/Progress.vue.d.ts +24 -0
  135. package/esm/components/controls/Radio.vue.d.ts +24 -0
  136. package/esm/components/controls/Rate.vue.d.ts +24 -0
  137. package/esm/components/controls/RichText.vue.d.ts +22 -0
  138. package/esm/components/controls/Select.vue.d.ts +24 -0
  139. package/esm/components/controls/Switch.vue.d.ts +24 -0
  140. package/esm/components/controls/Text.vue.d.ts +26 -0
  141. package/esm/components/controls/Textarea.vue.d.ts +24 -0
  142. package/esm/components/controls/Time.vue.d.ts +24 -0
  143. package/esm/components/controls/Upload.vue.d.ts +24 -0
  144. package/esm/components/controls/Year.vue.d.ts +24 -0
  145. package/esm/components/controls/index.d.ts +26 -0
  146. package/esm/components/headers/Breadcrumb.vue.d.ts +2 -0
  147. package/esm/components/headers/Debugger.vue.d.ts +2 -0
  148. package/esm/components/headers/Hamburger.vue.d.ts +18 -0
  149. package/esm/components/headers/HeaderRight.vue.d.ts +2 -0
  150. package/esm/components/headers/Index.vue.d.ts +6 -0
  151. package/esm/components/headers/Log.vue.d.ts +2 -0
  152. package/esm/components/headers/Logo.vue.d.ts +6 -0
  153. package/esm/components/headers/Refresh.vue.d.ts +6 -0
  154. package/esm/components/headers/Setting.vue.d.ts +8 -0
  155. package/esm/components/headers/index.d.ts +3 -0
  156. package/esm/components/index.d.ts +8 -0
  157. package/esm/components/layouts/Desktop.vue.d.ts +2 -0
  158. package/esm/components/layouts/Index.vue.d.ts +2 -0
  159. package/esm/components/layouts/Side.vue.d.ts +2 -0
  160. package/esm/components/layouts/Top.vue.d.ts +2 -0
  161. package/esm/components/layouts/index.d.ts +7 -0
  162. package/esm/components/lists/Calender.vue.d.ts +2 -0
  163. package/esm/components/lists/Racebar.vue.d.ts +18 -0
  164. package/esm/components/lists/Statistic.vue.d.ts +18 -0
  165. package/esm/components/lists/Stock.vue.d.ts +12 -0
  166. package/esm/components/lists/Timeline.vue.d.ts +12 -0
  167. package/esm/components/lists/Tree.vue.d.ts +26 -0
  168. package/esm/components/lists/index.d.ts +15 -0
  169. package/esm/components/pages/Column.vue.d.ts +22 -0
  170. package/esm/components/pages/Custom.vue.d.ts +25 -0
  171. package/esm/components/pages/Delete.vue.d.ts +20 -0
  172. package/esm/components/pages/Index.vue.d.ts +2 -0
  173. package/esm/components/pages/List.vue.d.ts +24 -0
  174. package/esm/components/pages/Paging.vue.d.ts +24 -0
  175. package/esm/components/pages/Single.vue.d.ts +28 -0
  176. package/esm/components/pages/index.d.ts +146 -0
  177. package/esm/components/pagings/Article.vue.d.ts +27 -0
  178. package/esm/components/pagings/Code.vue.d.ts +12 -0
  179. package/esm/components/pagings/DataExport.vue.d.ts +33 -0
  180. package/esm/components/pagings/DataImport.vue.d.ts +18 -0
  181. package/esm/components/pagings/File.vue.d.ts +12 -0
  182. package/esm/components/pagings/Index.vue.d.ts +33 -0
  183. package/esm/components/pagings/SearchFooter.vue.d.ts +122 -0
  184. package/esm/components/pagings/SearchForm.vue.d.ts +72 -0
  185. package/esm/components/pagings/Table.vue.d.ts +31 -0
  186. package/esm/components/pagings/index.d.ts +11 -0
  187. package/esm/components/partials/ArticleFooter.vue.d.ts +24 -0
  188. package/esm/components/partials/Detail.vue.d.ts +20 -0
  189. package/esm/components/partials/PagingHeader.vue.d.ts +28 -0
  190. package/esm/components/partials/PagingRow.vue.d.ts +24 -0
  191. package/esm/components/partials/TreeNode.vue.d.ts +12 -0
  192. package/esm/components/partials/Update.vue.d.ts +20 -0
  193. package/esm/components/partials/UpdateChild.vue.d.ts +22 -0
  194. package/esm/components/partials/index.d.ts +135 -0
  195. package/esm/components/searches/Autocomplete.vue.d.ts +24 -0
  196. package/esm/components/searches/Daterange.vue.d.ts +22 -0
  197. package/esm/components/searches/Index.vue.d.ts +18 -0
  198. package/esm/components/searches/Int.vue.d.ts +24 -0
  199. package/esm/components/searches/Month.vue.d.ts +24 -0
  200. package/esm/components/searches/Select.vue.d.ts +24 -0
  201. package/esm/components/searches/Text.vue.d.ts +24 -0
  202. package/esm/components/searches/index.d.ts +7 -0
  203. package/esm/components/singles/Code.vue.d.ts +18 -0
  204. package/esm/components/singles/Comment.vue.d.ts +12 -0
  205. package/esm/components/singles/Index.vue.d.ts +25 -0
  206. package/esm/components/singles/Normal.vue.d.ts +21 -0
  207. package/esm/components/singles/Statistic.vue.d.ts +12 -0
  208. package/esm/components/singles/Stock.vue.d.ts +12 -0
  209. package/esm/components/singles/Table.vue.d.ts +22 -0
  210. package/esm/components/singles/Tree.vue.d.ts +14 -0
  211. package/esm/components/singles/Tree_Old.vue.d.ts +2 -0
  212. package/esm/components/singles/index.d.ts +15 -0
  213. package/esm/components/texts/Autocomplete.vue.d.ts +16 -0
  214. package/esm/components/texts/CSharp.vue.d.ts +16 -0
  215. package/esm/components/texts/Cascader.vue.d.ts +22 -0
  216. package/esm/components/texts/Checkbox.vue.d.ts +16 -0
  217. package/esm/components/texts/Code.vue.d.ts +16 -0
  218. package/esm/components/texts/Color.vue.d.ts +16 -0
  219. package/esm/components/texts/Compare.vue.d.ts +16 -0
  220. package/esm/components/texts/Copy.vue.d.ts +24 -0
  221. package/esm/components/texts/Date.vue.d.ts +16 -0
  222. package/esm/components/texts/DateRange.vue.d.ts +16 -0
  223. package/esm/components/texts/DateTime.vue.d.ts +16 -0
  224. package/esm/components/texts/Decimal.vue.d.ts +16 -0
  225. package/esm/components/texts/Dictionary.vue.d.ts +24 -0
  226. package/esm/components/texts/Email.vue.d.ts +16 -0
  227. package/esm/components/texts/Index.vue.d.ts +22 -0
  228. package/esm/components/texts/Int.vue.d.ts +16 -0
  229. package/esm/components/texts/Markdown.vue.d.ts +16 -0
  230. package/esm/components/texts/Month.vue.d.ts +16 -0
  231. package/esm/components/texts/Password.vue.d.ts +16 -0
  232. package/esm/components/texts/Progress.vue.d.ts +16 -0
  233. package/esm/components/texts/Radio.vue.d.ts +16 -0
  234. package/esm/components/texts/Rate.vue.d.ts +24 -0
  235. package/esm/components/texts/RichText.vue.d.ts +16 -0
  236. package/esm/components/texts/Select.vue.d.ts +16 -0
  237. package/esm/components/texts/Switch.vue.d.ts +16 -0
  238. package/esm/components/texts/Text.vue.d.ts +16 -0
  239. package/esm/components/texts/TextLink.vue.d.ts +29 -0
  240. package/esm/components/texts/Textarea.vue.d.ts +16 -0
  241. package/esm/components/texts/Upload.vue.d.ts +16 -0
  242. package/esm/components/texts/Year.vue.d.ts +16 -0
  243. package/esm/coms/business/Driver.vue.d.ts +1 -0
  244. package/esm/coms/business/HaCondition.vue.d.ts +18 -0
  245. package/esm/coms/business/HaCrud.vue.d.ts +29 -0
  246. package/esm/coms/business/HaDrawer.vue.d.ts +24 -0
  247. package/esm/coms/business/HaDriver.vue.d.ts +52 -0
  248. package/esm/coms/business/HaFeedback.vue.d.ts +8 -0
  249. package/esm/coms/business/HaForm.vue.d.ts +23 -0
  250. package/esm/coms/business/HaSwitch.vue.d.ts +24 -0
  251. package/esm/coms/business/HaWelcome.vue.d.ts +8 -0
  252. package/esm/coms/business/Welcome.vue.d.ts +3 -1
  253. package/esm/coms/commons/HaCaptcha.vue.d.ts +14 -0
  254. package/esm/coms/commons/HaDebug.vue.d.ts +9 -0
  255. package/esm/coms/commons/HaEditable.vue.d.ts +13 -0
  256. package/esm/coms/commons/HaLoading.vue.d.ts +33 -0
  257. package/esm/coms/commons/HaMouseContext.vue.d.ts +2 -0
  258. package/esm/coms/commons/HaParticles.vue.d.ts +2 -0
  259. package/esm/coms/commons/HaResizer.vue.d.ts +26 -0
  260. package/esm/coms/commons/HaSpinner.vue.d.ts +20 -0
  261. package/esm/coms/commons/HaTable.vue.d.ts +34 -0
  262. package/esm/coms/commons/HaTableColumn.vue.d.ts +31 -0
  263. package/esm/coms/globals/HaHeaderTab.vue.d.ts +19 -0
  264. package/esm/coms/globals/HaHeaderTabs.vue.d.ts +17 -0
  265. package/esm/coms/globals/HaMenu.vue.d.ts +77 -0
  266. package/esm/coms/globals/HaMenuItem.vue.d.ts +76 -0
  267. package/esm/coms/globals/HaMissComponent.vue.d.ts +9 -0
  268. package/esm/coms/globals/HaSideTab.vue.d.ts +21 -0
  269. package/esm/coms/globals/HaSideTabs.vue.d.ts +17 -0
  270. package/esm/coms/globals/HaWindow.vue.d.ts +66 -0
  271. package/esm/coms/globals/Window.vue.d.ts +11 -2
  272. package/esm/coms/headers/HeaderRight.vue.d.ts +5 -1
  273. package/esm/coms/headers/Index.vue.d.ts +14 -15
  274. package/esm/coms/headers/index.d.ts +2 -2
  275. package/esm/coms/panels/HaGroup.vue.d.ts +9 -0
  276. package/esm/coms/panels/HaHeader.vue.d.ts +16 -0
  277. package/esm/coms/panels/HaOperation.vue.d.ts +22 -0
  278. package/esm/coms/panels/HaPanel.vue.d.ts +30 -0
  279. package/esm/coms/panels/HaShrink.vue.d.ts +48 -0
  280. package/esm/plugins/PcMessager.d.ts +35 -0
  281. package/esm/plugins/index.d.ts +1 -2
  282. package/esm/sdks/commons/HaCaptcha.vue.d.ts +14 -0
  283. package/esm/sdks/commons/HaDebug.vue.d.ts +9 -0
  284. package/esm/sdks/commons/HaEditable.vue.d.ts +13 -0
  285. package/esm/sdks/commons/HaLoading.vue.d.ts +33 -0
  286. package/esm/sdks/commons/HaMouseContext.vue.d.ts +2 -0
  287. package/esm/sdks/commons/HaParticles.vue.d.ts +2 -0
  288. package/esm/sdks/commons/HaResizer.vue.d.ts +26 -0
  289. package/esm/sdks/commons/HaSpinner.vue.d.ts +20 -0
  290. package/esm/sdks/commons/HaTable.vue.d.ts +34 -0
  291. package/esm/sdks/commons/HaTableColumn.vue.d.ts +31 -0
  292. package/esm/sdks/commons/index.d.ts +32 -0
  293. package/esm/sdks/globals/HaHeaderTab.vue.d.ts +19 -0
  294. package/esm/sdks/globals/HaHeaderTabs.vue.d.ts +17 -0
  295. package/esm/sdks/globals/HaMenu.vue.d.ts +77 -0
  296. package/esm/sdks/globals/HaMenuItem.vue.d.ts +76 -0
  297. package/esm/sdks/globals/HaMissComponent.vue.d.ts +9 -0
  298. package/esm/sdks/globals/HaSideTab.vue.d.ts +21 -0
  299. package/esm/sdks/globals/HaSideTabs.vue.d.ts +17 -0
  300. package/esm/sdks/globals/HaWindow.vue.d.ts +66 -0
  301. package/esm/sdks/globals/index.d.ts +70 -0
  302. package/esm/sdks/index.d.ts +4 -0
  303. package/esm/sdks/panels/HaGroup.vue.d.ts +9 -0
  304. package/esm/sdks/panels/HaHeader.vue.d.ts +16 -0
  305. package/esm/sdks/panels/HaOperation.vue.d.ts +22 -0
  306. package/esm/sdks/panels/HaPanel.vue.d.ts +30 -0
  307. package/esm/sdks/panels/HaShrink.vue.d.ts +48 -0
  308. package/esm/sdks/panels/index.d.ts +13 -0
  309. package/esm/sdks/stores/index.d.ts +2 -0
  310. package/esm/services/AppService.d.ts +36 -0
  311. package/esm/services/ComponentService.d.ts +35 -0
  312. package/esm/services/ControlService.d.ts +42 -0
  313. package/esm/services/I18nService.d.ts +79 -0
  314. package/esm/services/IService.d.ts +3 -0
  315. package/esm/services/LayoutService.d.ts +18 -0
  316. package/esm/services/MessageService.d.ts +35 -0
  317. package/esm/services/PageService.d.ts +38 -0
  318. package/esm/services/RouterService.d.ts +23 -0
  319. package/esm/services/Service.d.ts +4 -0
  320. package/esm/services/ServiceFactory.d.ts +11 -0
  321. package/esm/services/StandardService.d.ts +34 -0
  322. package/esm/services/UploadService.d.ts +10 -0
  323. package/esm/services/WindowService.d.ts +27 -0
  324. package/esm/services/implement/AppService.d.ts +36 -0
  325. package/esm/services/implement/ComponentService.d.ts +35 -0
  326. package/esm/services/implement/ControlService.d.ts +42 -0
  327. package/esm/services/implement/I18nService.d.ts +79 -0
  328. package/esm/services/implement/LayoutService.d.ts +18 -0
  329. package/esm/services/implement/PageService.d.ts +38 -0
  330. package/esm/services/implement/RouterService.d.ts +23 -0
  331. package/esm/services/implement/StandardService.d.ts +34 -0
  332. package/esm/services/implement/UploadService.d.ts +10 -0
  333. package/esm/services/implement/WindowService.d.ts +27 -0
  334. package/esm/services/index.d.ts +17 -0
  335. package/esm/servs/AppServ.d.ts +36 -0
  336. package/esm/servs/ComponentServ.d.ts +35 -0
  337. package/esm/servs/ControlServ.d.ts +42 -0
  338. package/esm/servs/I18nServ.d.ts +79 -0
  339. package/esm/servs/LayoutServ.d.ts +18 -0
  340. package/esm/servs/PageServ.d.ts +38 -0
  341. package/esm/servs/RouterServ.d.ts +23 -0
  342. package/esm/servs/StandardServ.d.ts +34 -0
  343. package/esm/servs/UploadServ.d.ts +10 -0
  344. package/esm/servs/WindowServ.d.ts +27 -0
  345. package/esm/servs/index.d.ts +17 -0
  346. package/esm/stores/index.d.ts +7 -0
  347. package/esm/svcs/I18nSvc.d.ts +79 -0
  348. package/esm/types/PcOptions.d.ts +18 -0
  349. package/package.json +2 -2
  350. package/dist/Article-DdbL4Rxb.js +0 -200
  351. package/dist/Autocomplete-B29_JGgy.js +0 -54
  352. package/dist/Autocomplete-CDeLmF63.js +0 -53
  353. package/dist/Callback-DtbfupbN.js +0 -26
  354. package/dist/Cascader-oKD8yaoM.js +0 -47
  355. package/dist/Code-BBlM__Hy.js +0 -42
  356. package/dist/Code-BVq612C-.js +0 -60
  357. package/dist/Code-CwEhwgvG.js +0 -4
  358. package/dist/Code.vue_vue_type_style_index_0_lang-DYtCGnTc.js +0 -65
  359. package/dist/Column-EGW6y97E.js +0 -75
  360. package/dist/Custom-Cb3i3bqD.js +0 -57
  361. package/dist/Date-BDC05CJ3.js +0 -43
  362. package/dist/DateTime-BdzNOWG8.js +0 -44
  363. package/dist/Daterange-ChAXKUg5.js +0 -63
  364. package/dist/Dictionary-Cb7aVsaW.js +0 -59
  365. package/dist/Index-9C-NNHc5.js +0 -4
  366. package/dist/Index-ClRh0-VD.js +0 -4
  367. package/dist/Index-D6C_pdWz.js +0 -178
  368. package/dist/Index-gGO_YKcR.js +0 -4
  369. package/dist/Index-gqpuMuJY.js +0 -4
  370. package/dist/Maintaince-CLR1UbTX.js +0 -20
  371. package/dist/Month-CHE-uCIH.js +0 -43
  372. package/dist/Month-_nN2Q4-y.js +0 -44
  373. package/dist/Paging-DgpnQ8Z-.js +0 -99
  374. package/dist/QueryApi-Cnhw4j4z.js +0 -20
  375. package/dist/Table-tLOOeKDu.js +0 -243
  376. package/dist/Text-Df6_rov4.js +0 -4
  377. package/dist/Tree-DG-JvHyh.js +0 -122
  378. package/dist/TreeNode-b11A2q51.js +0 -42
  379. package/dist/Upload-BelDE_Gj.js +0 -72
  380. package/dist/Upload-BrZMjfqk.js +0 -150
  381. package/dist/UploadApi-rJCEFRnE.js +0 -20
  382. package/dist/Year-ajwigTmh.js +0 -47
  383. package/dist/main-CBbiFa-k.js +0 -9218
@@ -1,44 +0,0 @@
1
- import { defineComponent as c, toRefs as f, computed as _, resolveComponent as h, openBlock as V, createBlock as b, unref as e, isRef as k } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import "./assets/clone-BZn0cTAu.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/moment-h96o7c8I.js";
7
- import { k as Y } from "./main-CBbiFa-k.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
9
- const U = /* @__PURE__ */ c({
10
- __name: "Month",
11
- props: {
12
- schema: {},
13
- table: {},
14
- field: {},
15
- set: {},
16
- row: {},
17
- modelValue: {}
18
- },
19
- emits: ["submit", "change", "update:modelValue"],
20
- setup(p, { emit: d }) {
21
- let l = d, n = p, { table: i, field: a, set: g, modelValue: u } = f(n), o = _({
22
- get() {
23
- return u.value;
24
- },
25
- set(t) {
26
- l("update:modelValue", t), l("change", t);
27
- }
28
- });
29
- return (t, m) => {
30
- const s = h("el-date-picker");
31
- return V(), b(s, {
32
- type: "month",
33
- placeholder: e(Y)(e(i).name, e(a).name),
34
- "value-format": "YYYY-MM",
35
- disabled: e(a).control.readonly,
36
- modelValue: e(o),
37
- "onUpdate:modelValue": m[0] || (m[0] = (r) => k(o) ? o.value = r : o = r)
38
- }, null, 8, ["placeholder", "disabled", "modelValue"]);
39
- };
40
- }
41
- });
42
- export {
43
- U as default
44
- };
@@ -1,99 +0,0 @@
1
- import { defineComponent as V, toRefs as $, ref as r, onMounted as A, watch as E, unref as a, openBlock as G, createBlock as I, createCommentVNode as K } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import { U as s, b as Q, i as W, s as h, O as X, c as b } from "./main-CBbiFa-k.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/moment-h96o7c8I.js";
7
- import "./assets/liquidjs-C-LVcoaY.js";
8
- import { _ as Y } from "./Index.vue_vue_type_script_setup_true_lang-D8sKBxWN.js";
9
- const oe = /* @__PURE__ */ V({
10
- __name: "Paging",
11
- props: {
12
- base: {},
13
- route: {},
14
- url: {},
15
- win: {}
16
- },
17
- emits: ["navigate", "load"],
18
- setup(q, { expose: k, emit: z }) {
19
- let g = z, P = q, { url: d, base: y, route: u } = $(P), f = r(), v = r(), c = r(), m = r(), x = r(), C = r(), p = r(), o = r(), N = (e) => !0, L = (e) => {
20
- let l = s.getPath(d.value), t = s.getPath(e);
21
- return l != t;
22
- }, O = (e = null) => {
23
- _(e);
24
- }, R = () => {
25
- }, S = (e) => {
26
- var t;
27
- let l = Q(e.module.type, e.module.name);
28
- W.setTitle(l, e.module.env), f.value = e.module, x.value = e.next, C.value = h.expandSet(e.schema, e.set), v.value = h.expandSchema(e.schema, e.set), c.value = (t = v.value) == null ? void 0 : t[0], m.value = c.value.layouts[0], p.value = h.getConditionForm(v.value, u.value.query.condition);
29
- }, U = (e = null, l = null) => {
30
- let t = e ?? u.value.query, n = s.getUrl(u.value.path, t);
31
- g("load", n, !1, (T) => {
32
- l && l(T);
33
- });
34
- }, i = (e, l) => {
35
- g("navigate", e, l);
36
- }, w = async (e) => {
37
- let l = u.value.query;
38
- l.page = 1;
39
- let t = X.pure(p.value);
40
- l.condition = b.encode(t);
41
- let n = s.getUrl(u.value.path, l);
42
- n == d.value ? U(l, e) : i(n, e);
43
- }, B = (e, l) => {
44
- let t = u.value.query;
45
- t.order_by = b.encode(JSON.stringify(e));
46
- let n = s.getUrl(u.value.path, t);
47
- i(n, l);
48
- }, D = (e, l = null) => {
49
- let t = u.value.query;
50
- t.page = e;
51
- let n = s.getUrl(u.value.path, t);
52
- i(n, l);
53
- }, H = (e, l = null) => {
54
- let t = u.value.query;
55
- t.size = e;
56
- let n = s.getUrl(u.value.path, t);
57
- i(n, l);
58
- }, j = (e) => {
59
- m.value = c.value.layouts.find((l) => l.type == e);
60
- }, F = () => {
61
- S(y.value.data);
62
- }, _ = (e = null) => U(null, e), J = (e) => {
63
- if (!o.value || !o.value.resize)
64
- return !1;
65
- o.value.resize(e);
66
- }, M = (e, l) => {
67
- if (!o.value || !o.value.keyboard)
68
- return !1;
69
- o.value.keyboard(e, l);
70
- };
71
- return A(async () => {
72
- F();
73
- }), E(() => y.value, (e) => {
74
- S(e.data);
75
- }), k({ shouldLoad: N, shouldSpin: L, refresh: _, keyboard: M, resize: J }), (e, l) => a(m) ? (G(), I(Y, {
76
- key: 0,
77
- ref_key: "pagingRef",
78
- ref: o,
79
- module: a(f),
80
- next: a(x),
81
- set: a(C),
82
- schema: a(v),
83
- table: a(c),
84
- layout: a(m),
85
- "search-data": a(p),
86
- onNavigate: a(i),
87
- onSort: a(B),
88
- onSearch: a(w),
89
- onPageChange: a(D),
90
- onSizeChange: a(H),
91
- onLayoutChange: a(j),
92
- onSucceed: a(O),
93
- onClose: a(R)
94
- }, null, 8, ["module", "next", "set", "schema", "table", "layout", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onLayoutChange", "onSucceed", "onClose"])) : K("", !0);
95
- }
96
- });
97
- export {
98
- oe as default
99
- };
@@ -1,20 +0,0 @@
1
- import "./assets/underscore-B0BCaBxV.js";
2
- import "vue";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import "./assets/clone-BZn0cTAu.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/moment-h96o7c8I.js";
7
- import { h as r } from "./main-CBbiFa-k.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
9
- class o {
10
- /**
11
- * 查询代码语言和文本语言映射关系
12
- */
13
- static async loadCodeLanguage() {
14
- return r.post("/dictionary/code_language").then((t) => t.data);
15
- }
16
- }
17
- const d = o;
18
- export {
19
- d as Q
20
- };
@@ -1,243 +0,0 @@
1
- import { defineComponent as Re, defineAsyncComponent as Se, toRefs as ke, ref as m, onMounted as He, computed as J, watch as $e, resolveComponent as b, openBlock as f, createElementBlock as $, Fragment as K, createVNode as R, unref as e, withCtx as v, createTextVNode as ze, toDisplayString as E, createBlock as z, createCommentVNode as F, renderList as Fe, createElementVNode as C, normalizeStyle as De, resolveDynamicComponent as We, nextTick as Y } from "vue";
2
- import { V as Be, d as Ee, t as Ie, f as Me, x as Z, s as I, R as Oe, Q as Te, E as y, W as M, X as ee, A as O, O as Ve, P as qe } from "./main-CBbiFa-k.js";
3
- import "./assets/file-saver-CwlpTZSc.js";
4
- import "./assets/underscore.string-DVXD2SZo.js";
5
- import "./assets/moment-h96o7c8I.js";
6
- import "./assets/liquidjs-C-LVcoaY.js";
7
- const Ae = {
8
- key: 0,
9
- class: "required"
10
- }, Ne = ["onMouseenter"], Ue = /* @__PURE__ */ C("i", { class: "fa fa-question-circle icon-question" }, null, -1), je = { class: "footer-left" }, Le = { class: "footer-right" }, Ze = /* @__PURE__ */ Re({
11
- __name: "Table",
12
- props: {
13
- route: {},
14
- validateErrors: {},
15
- module: {},
16
- schema: {},
17
- table: {},
18
- layout: {},
19
- next: {},
20
- set: {}
21
- },
22
- emits: ["submit", "change", "row-edit"],
23
- setup(te, { expose: le, emit: ae }) {
24
- let oe = Se(() => import("./Index-9C-NNHc5.js")), D = ae, ne = te, { schema: T, table: l, layout: p, set: s, next: Pe, route: V, module: S, validateErrors: q } = ke(ne), _ = m({ page: 1 }), A = m({}), d = m([]), re = m(!0), k = m(), N = m(), U = m(), j = m(), g = m({ layout: "prev, pager, next", count: 5 }), ue = new Oe(), ie = (t, o, n) => {
25
- D("row-edit", t, l.value, n);
26
- }, se = (t) => {
27
- D("submit", t);
28
- }, pe = (t, o) => {
29
- let n = l.value.show[o];
30
- return n._headerWidth ? (t.column.realWidth || t.column.width) > n._headerWidth + 20 : !0;
31
- }, de = (t, o) => {
32
- let n = t.target.children[0].offsetWidth, u = l.value.show[o];
33
- u._headerWidth = n;
34
- }, me = (t, o, n, u, a) => {
35
- D("change", t, o, n, u, a);
36
- }, L = (t) => s.value[l.value.name].indexOf(t), ce = (t) => {
37
- d.value = t;
38
- }, fe = async (t, o, n, u, a) => {
39
- await Te.setColumnWidth(V.value, a.name, n.property, t);
40
- }, ve = (t) => {
41
- P(t.contentRect.width), Y(() => {
42
- Q(t.contentRect.height);
43
- });
44
- }, P = (t = null) => {
45
- let o = y.parentUntil(k.value.$el, ".ha-main-form");
46
- 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";
47
- }, Q = (t = null) => {
48
- let o = y.parentUntil(k.value.$el, ".ha-main-form");
49
- t || (t = y.getHeight(o));
50
- let n = y.getHeight(N.value), u = y.find(o, ".main-footer"), a = y.getHeight(u), i = t - n - a;
51
- j.value = `${i}px`;
52
- }, ge = async () => {
53
- let t = s.value[l.value.name].length, o = I.getDefaultRow(l.value);
54
- s.value[l.value.name].push(o);
55
- let n = l.value.fields.filter((a) => a.feature != null);
56
- for (let a = 0; a < n.length; a++) {
57
- let i = n[a];
58
- (await M.feature.create(i.feature.type)).add(l.value, i, s.value, o);
59
- }
60
- W(t);
61
- let u = ee.isBottom(".tree-detail");
62
- await Y(() => {
63
- u && ee.scrollToBottom(".tree-detail");
64
- });
65
- }, he = async (t = null) => {
66
- let o = d.value[0], n = I.getDefaultRow(l.value), u = O.insert(s.value[l.value.name], o, n), a = l.value.fields.filter((i) => i.feature != null);
67
- for (let i = 0; i < a.length; i++) {
68
- let c = a[i];
69
- (await M.feature.create(c.feature.type)).insert(l.value, c, s.value, o, n);
70
- }
71
- W(u), t == null || t(u);
72
- }, ye = async () => {
73
- let t = l.value.key.name, o = Ve.clone(d.value, (a) => {
74
- a[t] = null, a[`Old_${t}`] = null;
75
- }), n = s.value[l.value.name].indexOf(d.value[0]);
76
- for (let a = 0; a < d.value.length; a++) {
77
- let i = d.value[a], c = o[a];
78
- O.append(s.value[l.value.name], i, c);
79
- }
80
- let u = l.value.fields.filter((a) => a.feature != null);
81
- for (let a = 0; a < u.length; a++) {
82
- let i = u[a];
83
- (await M.feature.create(i.feature.type)).copy(l.value, i, s.value);
84
- }
85
- W(n);
86
- }, _e = () => {
87
- O.remove(s.value[l.value.name], d.value), d.value = [];
88
- }, W = (t) => {
89
- let o = qe.pageCount(t + 1, p.value.pageSize);
90
- _.value.page = o;
91
- }, we = (t) => {
92
- _.value.page = t;
93
- }, xe = () => {
94
- k.value.$el.querySelector("tbody");
95
- };
96
- He(async () => {
97
- await ue.open(A.value, "sys", "page"), xe(), P(), Be.detectLoaded(U, () => {
98
- Q();
99
- });
100
- });
101
- let be = J(() => {
102
- let t = (_.value.page - 1) * p.value.pageSize, o = _.value.page * p.value.pageSize - 1;
103
- return s.value[l.value.name].filter((u, a) => a >= t && a <= o);
104
- }), Ce = J(() => {
105
- let t = l.value.main ? `/${l.value.name}` : `/${T.value[0].name}/${l.value.name}`;
106
- return Ee.getComponent(`${t}/update-child`, "partial", "update-child");
107
- });
108
- return $e(q, (t, o) => {
109
- let n = t.find((u) => u.table == l.value.name);
110
- n != null && (_.value.page = Math.ceil((n.index + 1) / p.value.pageSize));
111
- }), le({ resize: ve }), (t, o) => {
112
- const n = b("el-table-column"), u = b("el-tooltip"), a = b("el-popover"), i = b("el-form-item"), c = b("el-table"), X = b("el-pagination");
113
- return f(), $(K, null, [
114
- R(c, {
115
- ref_key: "tableRef",
116
- ref: k,
117
- class: "ha-table-layout table-default",
118
- size: "small",
119
- border: "",
120
- "max-height": e(j),
121
- data: e(be),
122
- onRowClick: o[0] || (o[0] = (r, h, w) => e(ie)(r, h, w)),
123
- onSelectionChange: e(ce),
124
- onHeaderDragend: o[1] || (o[1] = (r, h, w, H) => e(fe)(r, h, w, H, e(l)))
125
- }, {
126
- empty: v(() => [
127
- ze(E(e(Ie)("common.no_data")), 1)
128
- ]),
129
- default: v(() => [
130
- e(re) ? (f(), z(n, {
131
- key: 0,
132
- type: "selection",
133
- width: "40",
134
- fixed: ""
135
- })) : F("", !0),
136
- (f(!0), $(K, null, Fe(e(l).show, (r, h) => {
137
- var w, H, G;
138
- return f(), z(n, {
139
- key: r.name,
140
- "show-overflow-tooltip": "",
141
- prop: r.name,
142
- label: r.label,
143
- "min-width": ((G = (H = (w = e(A)) == null ? void 0 : w[e(V)]) == null ? void 0 : H[e(l).name]) == null ? void 0 : G[r.name]) ?? r.control.width,
144
- fixed: e(p).fixed.length > 0 ? e(p).fixed.indexOf(r.name) > -1 : h == 0
145
- }, {
146
- header: v((x) => [
147
- e(S).type != "Detail" && r.control.required ? (f(), $("i", Ae, "*")) : F("", !0),
148
- R(u, {
149
- placement: "top",
150
- content: r.label,
151
- disabled: e(pe)(x, h)
152
- }, {
153
- default: v(() => [
154
- C("span", {
155
- onMouseenter: (B) => e(de)(B, h)
156
- }, [
157
- C("span", null, E(e(Me)(e(l).table, r.name)), 1)
158
- ], 40, Ne)
159
- ]),
160
- _: 2
161
- }, 1032, ["content", "disabled"]),
162
- r.control.tooltip ? (f(), z(a, {
163
- key: 1,
164
- trigger: "hover",
165
- placement: "top",
166
- width: "auto",
167
- title: r.control.tooltip.title
168
- }, {
169
- reference: v(() => [
170
- Ue
171
- ]),
172
- default: v(() => [
173
- C("pre", null, E(r.control.tooltip.content), 1)
174
- ]),
175
- _: 2
176
- }, 1032, ["title"])) : F("", !0)
177
- ]),
178
- default: v((x) => [
179
- R(i, {
180
- style: De(e(Z).getStyle(r, e(S).type, e(p).type)),
181
- rules: e(I).getRules(e(q), e(l), r, x.$index),
182
- prop: `[${e(l).name}][${e(L)(x.row)}][${r.name}]`
183
- }, {
184
- default: v(() => [
185
- R(e(oe), {
186
- schema: e(T),
187
- table: e(l),
188
- field: r,
189
- set: e(s),
190
- row: x.row,
191
- config: e(Z).getConfig(r, e(S).type, e(p).type),
192
- onSubmit: e(se),
193
- onChange: (B) => e(me)(B, e(s), e(l), r, e(L)(x.row))
194
- }, null, 8, ["schema", "table", "field", "set", "row", "config", "onSubmit", "onChange"])
195
- ]),
196
- _: 2
197
- }, 1032, ["style", "rules", "prop"])
198
- ]),
199
- _: 2
200
- }, 1032, ["prop", "label", "min-width", "fixed"]);
201
- }), 128))
202
- ]),
203
- _: 1
204
- }, 8, ["max-height", "data", "onSelectionChange"]),
205
- e(l).main ? F("", !0) : (f(), $("div", {
206
- key: 0,
207
- ref_key: "footerRef",
208
- ref: N,
209
- class: "table-footer"
210
- }, [
211
- C("div", je, [
212
- (f(), z(We(e(Ce)), {
213
- ref_key: "operationRef",
214
- ref: U,
215
- module: e(S),
216
- table: e(l),
217
- set: e(s),
218
- selection: e(d),
219
- onAdd: e(ge),
220
- onInsert: e(he),
221
- onCopy: e(ye),
222
- onRemove: e(_e)
223
- }, null, 40, ["module", "table", "set", "selection", "onAdd", "onInsert", "onCopy", "onRemove"]))
224
- ]),
225
- C("div", Le, [
226
- R(X, {
227
- background: "",
228
- layout: e(g).layout,
229
- "current-page": e(_).page,
230
- "page-size": e(p).pageSize,
231
- "pager-count": e(g).count,
232
- total: e(s)[e(l).name].length,
233
- onCurrentChange: e(we)
234
- }, null, 8, ["layout", "current-page", "page-size", "pager-count", "total", "onCurrentChange"])
235
- ])
236
- ], 512))
237
- ], 64);
238
- };
239
- }
240
- });
241
- export {
242
- Ze as default
243
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./Text.vue_vue_type_style_index_0_lang-JCklGm0p.js";
2
- export {
3
- f as default
4
- };
@@ -1,122 +0,0 @@
1
- import { defineComponent as Q, toRefs as U, ref as m, onMounted as X, watch as Y, nextTick as V, resolveComponent as N, openBlock as k, createElementBlock as w, unref as d, Fragment as K, renderList as L, createBlock as B, withCtx as b, createVNode as Z, createElementVNode as ee, toDisplayString as H, createCommentVNode as M } from "vue";
2
- import { E as le, A as _, T as A, s as D } from "./main-CBbiFa-k.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import "./assets/clone-BZn0cTAu.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/moment-h96o7c8I.js";
7
- import "./assets/liquidjs-C-LVcoaY.js";
8
- const te = { class: "option-text" }, ae = {
9
- key: 0,
10
- class: "option-suffix"
11
- }, he = /* @__PURE__ */ Q({
12
- __name: "Tree",
13
- props: {
14
- route: {},
15
- validateErrors: {},
16
- module: {},
17
- schema: {},
18
- table: {},
19
- layout: {},
20
- next: {},
21
- set: {}
22
- },
23
- setup(F, { expose: P }) {
24
- let S = F, { module: $, schema: re, table: u, layout: l, set: p } = U(S), E = m(), T = m([]), x = m(), y = m(0), g = m([]), R = m(!0), z = (e, r, o) => {
25
- let a = p.value[u.value.name].find((n) => n.PermissionId == e[l.value.id]);
26
- a && (a[l.value.expand] = !0);
27
- }, W = (e, r, o) => {
28
- let a = p.value[u.value.name].find((n) => n.PermissionId == e[l.value.id]);
29
- a && (a[l.value.expand] = !1);
30
- }, j = (e, r, o) => {
31
- let a = r.checkedKeys, n = e[l.value.id], i = _.contains(a, n), c = [], s = [], h = A.getChildren(e, "Children").map((t) => t[l.value.id]), f = p.value[u.value.name].map((t) => t[l.value.checked]), v = _.intersect(h, f);
32
- if (i) {
33
- c.push(e[l.value.id]);
34
- let t = _.except(h, v);
35
- t.length && (a.push(...t), c.push(...t));
36
- } else
37
- s.push(n), v.length == h.length && (s.push(...h), _.remove(a, h));
38
- c.length && q(c), s.length && G(s);
39
- }, q = (e) => {
40
- for (let r = 0; r < e.length; r++) {
41
- let o = D.getDefaultRow(u.value);
42
- o[l.value.checked] = e[r], p.value[u.value.name].push(o);
43
- }
44
- }, G = (e) => {
45
- let r = p.value[u.value.name];
46
- for (let o = 0; o < e.length; o++) {
47
- let a = r.find((n) => n[l.value.checked] == e[o]);
48
- _.remove(r, a);
49
- }
50
- }, J = (e) => {
51
- x.value = e.contentRect.width, y.value = Math.ceil(x.value / 300), I(u.value, l.value, p.value);
52
- }, I = (e, r, o) => {
53
- g.value = D.getLines(r.data, y.value, (a) => [a], () => 1), V(() => {
54
- let a = o[e.name].map((i) => i[r.checked]), n = 0;
55
- for (let i = 0; i < g.value.length; i++) {
56
- let c = g.value[i];
57
- for (let s = 0; s < c.length; s++) {
58
- let C = T.value[n], h = c[s].data, f = A.getFlat(h, "Children").map((t) => t[r.id]), v = _.intersect(f, a);
59
- if (!(v.length == 1 && f.length > 1)) for (let t = 0; t < v.length; t++) {
60
- let O = v[t];
61
- C.setChecked(O, !0, !1);
62
- }
63
- n++;
64
- }
65
- }
66
- });
67
- };
68
- return X(() => {
69
- x.value = le.getWidth(E.value), y.value = Math.ceil(x.value / 300), I(u.value, l.value, p.value);
70
- }), Y(() => u.value, (e, r) => {
71
- R.value = !1, V(() => {
72
- R.value = !0, I(e, l.value, p.value);
73
- });
74
- }), P({ resize: J }), (e, r) => {
75
- const o = N("el-tree"), a = N("el-col"), n = N("el-row");
76
- return k(), w("div", {
77
- ref_key: "layoutRef",
78
- ref: E,
79
- class: "ha-tree-layout"
80
- }, [
81
- d(R) ? (k(!0), w(K, { key: 0 }, L(d(g), (i, c) => (k(), B(n, null, {
82
- default: b(() => [
83
- (k(!0), w(K, null, L(i, ({ data: s, span: C, index: h }, f) => (k(), B(a, {
84
- span: C,
85
- key: `${c}.${f}`
86
- }, {
87
- default: b(() => [
88
- Z(o, {
89
- ref_for: !0,
90
- ref_key: "treeRefs",
91
- ref: T,
92
- "show-checkbox": "",
93
- "highlight-current": "",
94
- "default-expand-all": !1,
95
- "expand-on-click-node": !1,
96
- "node-key": d(l).id,
97
- data: s,
98
- props: { children: "Children", label: d(l).text },
99
- disabled: d($).type == "Detail",
100
- onNodeExpand: d(z),
101
- onNodeCollapse: d(W),
102
- onCheck: (v, t) => d(j)(v, t, h)
103
- }, {
104
- default: b(({ node: v, data: t }) => [
105
- ee("div", te, H(t[d(l).text]), 1),
106
- d(l).suffix ? (k(), w("div", ae, H(t[d(l).suffix]), 1)) : M("", !0)
107
- ]),
108
- _: 2
109
- }, 1032, ["node-key", "data", "props", "disabled", "onNodeExpand", "onNodeCollapse", "onCheck"])
110
- ]),
111
- _: 2
112
- }, 1032, ["span"]))), 128))
113
- ]),
114
- _: 2
115
- }, 1024))), 256)) : M("", !0)
116
- ], 512);
117
- };
118
- }
119
- });
120
- export {
121
- he as default
122
- };
@@ -1,42 +0,0 @@
1
- import { defineComponent as x, toRefs as h, computed as C, openBlock as a, createElementBlock as s, unref as e, createElementVNode as N, toDisplayString as i, createTextVNode as b, createCommentVNode as d } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import { t as g, S as y } from "./main-CBbiFa-k.js";
4
- import "./assets/clone-BZn0cTAu.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/moment-h96o7c8I.js";
7
- import "./assets/liquidjs-C-LVcoaY.js";
8
- const k = ["title"], v = { class: "number" }, S = {
9
- key: 0,
10
- class: "option-suffix"
11
- }, V = {
12
- key: 1,
13
- class: "count"
14
- }, H = /* @__PURE__ */ x({
15
- __name: "TreeNode",
16
- props: {
17
- table: {},
18
- layout: {},
19
- row: {},
20
- node: {}
21
- },
22
- setup(p) {
23
- let u = p, { table: c, layout: r, row: t, node: m } = h(u), f = (o, l) => {
24
- let n = (o.parent.data.Children ? o.parent.data.Children.indexOf(l) : o.parent.data.indexOf(l)) + 1;
25
- return y.padLeft(n, 2, "0");
26
- }, _ = C(() => c.value.fields.find((n) => n.name == r.value.text).control.i18N);
27
- return (o, l) => {
28
- var n;
29
- return a(), s("div", {
30
- title: e(t)[e(r).title]
31
- }, [
32
- N("span", v, i(e(f)(e(m), e(t))), 1),
33
- b(" " + i((n = e(_)) != null && n.value ? e(g)(e(t)[e(r).text]) : e(t)[e(r).text]) + " ", 1),
34
- e(r).suffix ? (a(), s("span", S, i(e(t)[e(r).suffix]), 1)) : d("", !0),
35
- e(t).Children && e(t).Children.length > 0 ? (a(), s("span", V, "(" + i(e(t).Children.length) + ")", 1)) : d("", !0)
36
- ], 8, k);
37
- };
38
- }
39
- });
40
- export {
41
- H as default
42
- };
@@ -1,72 +0,0 @@
1
- import { defineComponent as V, toRefs as b, ref as r, onMounted as k, computed as w, resolveComponent as C, openBlock as p, createElementBlock as u, Fragment as x, renderList as F, unref as s, createVNode as y, isRef as B, withCtx as E, createElementVNode as H } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import { B as c, U as R, y as $, F as I, C as N } from "./main-CBbiFa-k.js";
5
- import "./assets/clone-BZn0cTAu.js";
6
- import "./assets/moment-h96o7c8I.js";
7
- import "./assets/liquidjs-C-LVcoaY.js";
8
- import "./QueryApi-Cnhw4j4z.js";
9
- import { U as S } from "./UploadApi-rJCEFRnE.js";
10
- const j = { class: "text-upload" }, A = ["src", "onClick", "alt"], L = ["src"], Z = /* @__PURE__ */ V({
11
- __name: "Upload",
12
- props: {
13
- schema: {},
14
- table: {},
15
- field: {},
16
- set: {},
17
- row: {},
18
- modelValue: {}
19
- },
20
- setup(v) {
21
- let f = v, { table: M, field: O, set: T, row: q, modelValue: g } = b(f), n = r(), t = r(!1), d = r([]), m = r(), _ = (e) => {
22
- t.value = !0, m.value = e.url;
23
- }, h = () => {
24
- if (o.value)
25
- if (c.upload.method == "box")
26
- S.getUploadToken().then((e) => {
27
- o.value.split(",").forEach((a) => {
28
- let l = `${c.upload.address}/api/objects/download?slug=${a}&token=${e}`;
29
- d.value.push({ name: a, url: l });
30
- });
31
- });
32
- else {
33
- let e = R.httpOrHttps(o.value) ? o.value : $.api.url + o.value;
34
- I.isImage(e) ? n.value = e : n.value = N.getFileIcon(e);
35
- }
36
- };
37
- k(() => {
38
- h();
39
- });
40
- let o = w(() => g.value);
41
- return (e, i) => {
42
- const a = C("el-dialog");
43
- return p(), u("div", j, [
44
- (p(!0), u(x, null, F(s(d), (l, U) => (p(), u("img", {
45
- class: "detail-image",
46
- src: l.url,
47
- onClick: (z) => s(_)(l),
48
- alt: l.name,
49
- key: U
50
- }, null, 8, A))), 128)),
51
- y(a, {
52
- draggable: "",
53
- "append-to-body": "",
54
- top: "5vh",
55
- modelValue: s(t),
56
- "onUpdate:modelValue": i[0] || (i[0] = (l) => B(t) ? t.value = l : t = l)
57
- }, {
58
- default: E(() => [
59
- H("img", {
60
- width: "100%",
61
- src: s(m)
62
- }, null, 8, L)
63
- ]),
64
- _: 1
65
- }, 8, ["modelValue"])
66
- ]);
67
- };
68
- }
69
- });
70
- export {
71
- Z as default
72
- };