halo-pc 1.0.32 → 1.0.33

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