halo-pc 1.0.32 → 1.0.34

Sign up to get free protection for your applications and to get access to all the features.
Files changed (309) hide show
  1. package/dist/Article-0A49F8P3.js +196 -0
  2. package/dist/{ArticleFooter-CQ9AIv5h.js → ArticleFooter-DVCVY8fL.js} +18 -22
  3. package/dist/Autocomplete-BHTBAXI4.js +51 -0
  4. package/dist/{Autocomplete-OR6Im-cE.js → Autocomplete-CfwcsH9X.js} +1 -1
  5. package/dist/Autocomplete-wJRVhTSr.js +50 -0
  6. package/dist/{CSharp-AEpf5-C8.js → CSharp-NVVr0btN.js} +1 -1
  7. package/dist/{Calender-B9SQE_dy.js → Calender-C25Zt8pB.js} +1 -1
  8. package/dist/Callback-CwvEGzcg.js +22 -0
  9. package/dist/{Cascader-CQYJHxde.js → Cascader-BIPlzFxe.js} +17 -21
  10. package/dist/Cascader-Bo8EBeD0.js +43 -0
  11. package/dist/{Checkbox-DYnxQbzW.js → Checkbox-BbE-mfrG.js} +1 -1
  12. package/dist/{Checkbox-rn3rUyNj.js → Checkbox-ad3zFkbT.js} +14 -18
  13. package/dist/{Code-CrgtwU3k.js → Code-B1IngqnV.js} +1 -1
  14. package/dist/Code-BfH1YqPu.js +38 -0
  15. package/dist/Code-C3wvju3a.js +56 -0
  16. package/dist/Code-CLm3GJU5.js +4 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-BtYg0qCY.js +61 -0
  18. package/dist/Column-C5t97ur4.js +71 -0
  19. package/dist/Comment-DJwFyMUA.js +100 -0
  20. package/dist/Compare-ByagdHQX.js +39 -0
  21. package/dist/{Compare-Cv14ecIG.js → Compare-DXdAxVeB.js} +8 -12
  22. package/dist/Copy-BqzKzCBc.js +45 -0
  23. package/dist/Custom-CZCf6EdX.js +61 -0
  24. package/dist/{DataExport-nWsB9V2F.js → DataExport-DDrI7qCj.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-CSEK5Szf.js → DataExport.vue_vue_type_script_setup_true_lang-Bw_vJ1Br.js} +25 -28
  26. package/dist/{DataImport-B-p5FvJ7.js → DataImport-D0qpiN9N.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-aFcYHSGO.js → DataImport.vue_vue_type_script_setup_true_lang-B-Viy4DV.js} +52 -54
  28. package/dist/{Date-ajUkX7sc.js → Date-7SowHlFy.js} +1 -1
  29. package/dist/Date-fBbHVdBO.js +39 -0
  30. package/dist/{DateRange-t7EQCe1S.js → DateRange-464QAgtl.js} +16 -20
  31. package/dist/{DateTime-C0ZOwxCc.js → DateTime-BQdGxMuT.js} +1 -1
  32. package/dist/DateTime-CHfA2yVX.js +40 -0
  33. package/dist/{DateTimeRange-CcO07AoI.js → DateTimeRange-D9nD2R59.js} +11 -15
  34. package/dist/Daterange-BzQiMxTf.js +59 -0
  35. package/dist/{Decimal-BgjGUtrc.js → Decimal-DmMf2VS9.js} +1 -1
  36. package/dist/{Delete-C9XmUMZJ.js → Delete-DUlL4Ekn.js} +9 -13
  37. package/dist/Detail-0EGB67GH.js +71 -0
  38. package/dist/Dictionary-DcZ6B6OQ.js +57 -0
  39. package/dist/{Email-CJPL28hv.js → Email-CdNevnHG.js} +12 -16
  40. package/dist/File-C32GW6xh.js +158 -0
  41. package/dist/{Image-BDtr8i7Q.js → Image-CjX_5BQP.js} +1 -1
  42. package/dist/{Index-A3fVUpUc.js → Index-AkT5lS7_.js} +18 -21
  43. package/dist/Index-B4fTYPvp.js +4 -0
  44. package/dist/Index-BaCO8oxQ.js +4 -0
  45. package/dist/Index-BdUKso9r.js +175 -0
  46. package/dist/{Index-DFgVPWAR.js → Index-CVrkL3OL.js} +1 -1
  47. package/dist/Index-DDH8Z-8G.js +4 -0
  48. package/dist/Index-DEeN6NF3.js +4 -0
  49. package/dist/{Index-CrsEtA8H.js → Index-DqYjZ0WV.js} +1 -1
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-D8sKBxWN.js → Index.vue_vue_type_script_setup_true_lang-DTIzyTKV.js} +10 -14
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-BchX4oAa.js → Index.vue_vue_type_script_setup_true_lang-oCZva2ft.js} +12 -16
  52. package/dist/{Install-BKjOyBl4.js → Install-8aYvXNcI.js} +50 -54
  53. package/dist/{Int-DHDcCAlq.js → Int-B6NKxa49.js} +9 -13
  54. package/dist/{Int-DH7oV_hH.js → Int-BWJIpMIU.js} +11 -14
  55. package/dist/{List-sJPDvZo0.js → List-UzIfwX49.js} +27 -31
  56. package/dist/Maintaince-D5AJe-XM.js +16 -0
  57. package/dist/{Markdown-569jtVWW.js → Markdown-0VblT2uI.js} +1 -1
  58. package/dist/Month-B7L0yMpS.js +39 -0
  59. package/dist/Month-DBFUZ0GW.js +40 -0
  60. package/dist/{Month-B8bZg9yu.js → Month-GbE9_bWA.js} +1 -1
  61. package/dist/{Normal-COyWYgbT.js → Normal-D8hpyH5M.js} +81 -84
  62. package/dist/Paging-rtMed0Sy.js +96 -0
  63. package/dist/PagingHeader-aLM8HpOv.js +143 -0
  64. package/dist/{PagingRow-BMCnYeRU.js → PagingRow-O7oBHQPG.js} +12 -16
  65. package/dist/QueryApi-WhFuwo_F.js +16 -0
  66. package/dist/{Racebar-jI_Tr0oJ.js → Racebar-COpaXaKR.js} +39 -42
  67. package/dist/{Radio-CXOvmHaC.js → Radio-CBrBsj-P.js} +1 -1
  68. package/dist/Register-BqN5D3_n.js +198 -0
  69. package/dist/{RichText-BFoNVAke.js → RichText-CPJ8b-dz.js} +12 -16
  70. package/dist/{SearchFooter-z_VvJkGQ.js → SearchFooter-BwkLFHKe.js} +1 -1
  71. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-Cyc3lOz2.js → SearchFooter.vue_vue_type_style_index_0_lang-DVIVF713.js} +1 -1
  72. package/dist/{SearchForm-DOf6HA9X.js → SearchForm-CvH-0W7u.js} +1 -1
  73. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-4UV9Kag_.js → SearchForm.vue_vue_type_style_index_0_lang-Cb52PjZe.js} +40 -43
  74. package/dist/{Select-C07y0IUr.js → Select-BImtLux6.js} +15 -19
  75. package/dist/{Select-DUL8NZY-.js → Select-CIa2dGml.js} +1 -1
  76. package/dist/{Select-DjvKZlDp.js → Select-eMjldrWJ.js} +27 -31
  77. package/dist/{Single-CoZwT834.js → Single-DLM8uDJ6.js} +110 -113
  78. package/dist/{Statistic-B9sFcyyg.js → Statistic-s5tlvbn2.js} +34 -37
  79. package/dist/{Stock-lAtweMdA.js → Stock-C201huf0.js} +1 -1
  80. package/dist/{Stock-CwZn5mMQ.js → Stock-dq4XJ57m.js} +1 -1
  81. package/dist/{Stock.vue_vue_type_style_index_0_lang-BuSHv622.js → Stock.vue_vue_type_style_index_0_lang-zFDGFun3.js} +28 -31
  82. package/dist/{Switch-D5N98lH2.js → Switch--lyzbPEU.js} +1 -1
  83. package/dist/{Table-D_G9vqqg.js → Table-BbUzsIBM.js} +98 -102
  84. package/dist/Table-Bly5PFIJ.js +241 -0
  85. package/dist/{Text-PDd5nZH8.js → Text-8VqbfNy3.js} +9 -13
  86. package/dist/Text-Dr7VfqLe.js +4 -0
  87. package/dist/{Text-CP8Fzkm-.js → Text-DrAHP0p2.js} +17 -21
  88. package/dist/Text.vue_vue_type_style_index_0_lang-IxMYA_cu.js +55 -0
  89. package/dist/{TextLink-B-uh2FSK.js → TextLink-D7b2GqmQ.js} +17 -21
  90. package/dist/{Textarea-m0k4bL1V.js → Textarea-oDjOpaO0.js} +1 -1
  91. package/dist/Time-80U5QafM.js +39 -0
  92. package/dist/{Timeline-CWVqeAPO.js → Timeline-EKq2D4wv.js} +14 -18
  93. package/dist/Tree-Bf-kpbwp.js +294 -0
  94. package/dist/Tree-DuFSGBw_.js +119 -0
  95. package/dist/TreeNode-Bj4oWOws.js +39 -0
  96. package/dist/Update-1_cGh8pa.js +66 -0
  97. package/dist/UpdateChild-DdFGPX51.js +88 -0
  98. package/dist/Upload-DzicaeX9.js +148 -0
  99. package/dist/Upload-PdcM-ZQd.js +69 -0
  100. package/dist/UploadApi-Dm_lj8m4.js +16 -0
  101. package/dist/Year-BF1FsPiq.js +43 -0
  102. package/dist/{Year-C1ewILpv.js → Year-Bm_YQkFR.js} +1 -1
  103. package/dist/assets/{liquidjs-C-LVcoaY.js → liquidjs-B8dqQyVv.js} +639 -632
  104. package/dist/main-DKQm8MHi.js +9789 -0
  105. package/dist/main.js +139 -135
  106. package/dist/style.css +1 -1
  107. package/esm/coms/business/Condition.vue.d.ts +4 -16
  108. package/esm/coms/business/Crud.vue.d.ts +14 -22
  109. package/esm/coms/business/Drawer.vue.d.ts +4 -18
  110. package/esm/coms/business/Driver.vue.d.ts +23 -38
  111. package/esm/coms/business/Feedback.vue.d.ts +5 -5
  112. package/esm/coms/business/Form.vue.d.ts +13 -15
  113. package/esm/coms/business/Switch.vue.d.ts +7 -13
  114. package/esm/coms/business/Welcome.vue.d.ts +6 -6
  115. package/esm/coms/commons/Captcha.vue.d.ts +7 -7
  116. package/esm/coms/commons/Debug.vue.d.ts +10 -4
  117. package/esm/coms/commons/Editable.vue.d.ts +11 -5
  118. package/esm/coms/commons/Loading.vue.d.ts +17 -17
  119. package/esm/coms/commons/MouseContext.vue.d.ts +1 -1
  120. package/esm/coms/commons/Particles.vue.d.ts +1 -1
  121. package/esm/coms/commons/Resizer.vue.d.ts +18 -14
  122. package/esm/coms/commons/Spinner.vue.d.ts +7 -11
  123. package/esm/coms/commons/Table.vue.d.ts +22 -22
  124. package/esm/coms/commons/TableColumn.vue.d.ts +17 -17
  125. package/esm/coms/controls/Autocomplete.vue.d.ts +7 -16
  126. package/esm/coms/controls/Cascader.vue.d.ts +7 -16
  127. package/esm/coms/controls/Checkbox.vue.d.ts +7 -16
  128. package/esm/coms/controls/Code.vue.d.ts +7 -16
  129. package/esm/coms/controls/Color.vue.d.ts +7 -16
  130. package/esm/coms/controls/Compare.vue.d.ts +7 -16
  131. package/esm/coms/controls/Date.vue.d.ts +7 -16
  132. package/esm/coms/controls/DateRange.vue.d.ts +7 -16
  133. package/esm/coms/controls/DateTime.vue.d.ts +7 -16
  134. package/esm/coms/controls/DateTimeRange.vue.d.ts +7 -16
  135. package/esm/coms/controls/Decimal.vue.d.ts +7 -16
  136. package/esm/coms/controls/Email.vue.d.ts +7 -16
  137. package/esm/coms/controls/Image.vue.d.ts +1 -1
  138. package/esm/coms/controls/Index.vue.d.ts +5 -14
  139. package/esm/coms/controls/Int.vue.d.ts +7 -16
  140. package/esm/coms/controls/Markdown.vue.d.ts +7 -16
  141. package/esm/coms/controls/Month.vue.d.ts +7 -16
  142. package/esm/coms/controls/Password.vue.d.ts +7 -16
  143. package/esm/coms/controls/Progress.vue.d.ts +7 -16
  144. package/esm/coms/controls/Radio.vue.d.ts +7 -16
  145. package/esm/coms/controls/Rate.vue.d.ts +7 -16
  146. package/esm/coms/controls/RichText.vue.d.ts +6 -13
  147. package/esm/coms/controls/Select.vue.d.ts +7 -16
  148. package/esm/coms/controls/Switch.vue.d.ts +7 -16
  149. package/esm/coms/controls/Text.vue.d.ts +8 -17
  150. package/esm/coms/controls/Textarea.vue.d.ts +7 -16
  151. package/esm/coms/controls/Time.vue.d.ts +7 -16
  152. package/esm/coms/controls/Upload.vue.d.ts +7 -16
  153. package/esm/coms/controls/Year.vue.d.ts +7 -16
  154. package/esm/coms/globals/HeaderTab.vue.d.ts +17 -10
  155. package/esm/coms/globals/HeaderTabs.vue.d.ts +16 -9
  156. package/esm/coms/globals/Menu.vue.d.ts +14 -39
  157. package/esm/coms/globals/MenuItem.vue.d.ts +13 -39
  158. package/esm/coms/globals/MissComponent.vue.d.ts +11 -4
  159. package/esm/coms/globals/SideTab.vue.d.ts +18 -11
  160. package/esm/coms/globals/SideTabs.vue.d.ts +16 -9
  161. package/esm/coms/globals/Window.vue.d.ts +42 -43
  162. package/esm/coms/headers/Breadcrumb.vue.d.ts +1 -1
  163. package/esm/coms/headers/Debugger.vue.d.ts +1 -1
  164. package/esm/coms/headers/Hamburger.vue.d.ts +7 -10
  165. package/esm/coms/headers/HeaderRight.vue.d.ts +5 -1
  166. package/esm/coms/headers/Index.vue.d.ts +36 -20
  167. package/esm/coms/headers/Log.vue.d.ts +1 -1
  168. package/esm/coms/headers/Logo.vue.d.ts +2 -2
  169. package/esm/coms/headers/Refresh.vue.d.ts +2 -2
  170. package/esm/coms/headers/Setting.vue.d.ts +2 -2
  171. package/esm/coms/headers/index.d.ts +2 -2
  172. package/esm/coms/layouts/Desktop.vue.d.ts +1 -1
  173. package/esm/coms/layouts/Index.vue.d.ts +31 -1
  174. package/esm/coms/layouts/Side.vue.d.ts +27 -1
  175. package/esm/coms/layouts/Top.vue.d.ts +1 -1
  176. package/esm/coms/lists/Calender.vue.d.ts +1 -1
  177. package/esm/coms/lists/Racebar.vue.d.ts +4 -13
  178. package/esm/coms/lists/Statistic.vue.d.ts +4 -13
  179. package/esm/coms/lists/Stock.vue.d.ts +1 -10
  180. package/esm/coms/lists/Timeline.vue.d.ts +1 -10
  181. package/esm/coms/lists/Tree.vue.d.ts +5 -14
  182. package/esm/coms/pages/Column.vue.d.ts +4 -13
  183. package/esm/coms/pages/Custom.vue.d.ts +4 -13
  184. package/esm/coms/pages/Delete.vue.d.ts +3 -12
  185. package/esm/coms/pages/List.vue.d.ts +6 -15
  186. package/esm/coms/pages/Paging.vue.d.ts +6 -15
  187. package/esm/coms/pages/Single.vue.d.ts +6 -15
  188. package/esm/coms/pagings/Article.vue.d.ts +5 -14
  189. package/esm/coms/pagings/Code.vue.d.ts +1 -10
  190. package/esm/coms/pagings/DataExport.vue.d.ts +10 -16
  191. package/esm/coms/pagings/DataImport.vue.d.ts +9 -8
  192. package/esm/coms/pagings/File.vue.d.ts +1 -10
  193. package/esm/coms/pagings/Index.vue.d.ts +6 -15
  194. package/esm/coms/pagings/SearchFooter.vue.d.ts +17 -60
  195. package/esm/coms/pagings/SearchForm.vue.d.ts +10 -35
  196. package/esm/coms/pagings/Table.vue.d.ts +6 -15
  197. package/esm/coms/panels/Group.vue.d.ts +11 -4
  198. package/esm/coms/panels/Header.vue.d.ts +5 -9
  199. package/esm/coms/panels/Operation.vue.d.ts +17 -17
  200. package/esm/coms/panels/Panel.vue.d.ts +21 -17
  201. package/esm/coms/panels/Shrink.vue.d.ts +19 -23
  202. package/esm/coms/partials/ArticleFooter.vue.d.ts +9 -18
  203. package/esm/coms/partials/Detail.vue.d.ts +6 -15
  204. package/esm/coms/partials/PagingHeader.vue.d.ts +12 -21
  205. package/esm/coms/partials/PagingRow.vue.d.ts +9 -18
  206. package/esm/coms/partials/TreeNode.vue.d.ts +1 -10
  207. package/esm/coms/partials/Update.vue.d.ts +6 -15
  208. package/esm/coms/partials/UpdateChild.vue.d.ts +8 -17
  209. package/esm/coms/searches/Autocomplete.vue.d.ts +7 -16
  210. package/esm/coms/searches/Daterange.vue.d.ts +7 -16
  211. package/esm/coms/searches/Index.vue.d.ts +3 -12
  212. package/esm/coms/searches/Int.vue.d.ts +7 -16
  213. package/esm/coms/searches/Month.vue.d.ts +7 -16
  214. package/esm/coms/searches/Select.vue.d.ts +7 -16
  215. package/esm/coms/searches/Text.vue.d.ts +7 -16
  216. package/esm/coms/singles/Code.vue.d.ts +3 -12
  217. package/esm/coms/singles/Comment.vue.d.ts +1 -10
  218. package/esm/coms/singles/Index.vue.d.ts +5 -14
  219. package/esm/coms/singles/Normal.vue.d.ts +4 -13
  220. package/esm/coms/singles/Statistic.vue.d.ts +1 -10
  221. package/esm/coms/singles/Stock.vue.d.ts +1 -10
  222. package/esm/coms/singles/Table.vue.d.ts +4 -13
  223. package/esm/coms/singles/Tree.vue.d.ts +2 -11
  224. package/esm/coms/singles/Tree_Old.vue.d.ts +1 -1
  225. package/esm/coms/texts/Autocomplete.vue.d.ts +3 -12
  226. package/esm/coms/texts/CSharp.vue.d.ts +3 -12
  227. package/esm/coms/texts/Cascader.vue.d.ts +5 -14
  228. package/esm/coms/texts/Checkbox.vue.d.ts +3 -12
  229. package/esm/coms/texts/Code.vue.d.ts +3 -12
  230. package/esm/coms/texts/Color.vue.d.ts +3 -12
  231. package/esm/coms/texts/Compare.vue.d.ts +3 -12
  232. package/esm/coms/texts/Copy.vue.d.ts +13 -16
  233. package/esm/coms/texts/Date.vue.d.ts +3 -12
  234. package/esm/coms/texts/DateRange.vue.d.ts +3 -12
  235. package/esm/coms/texts/DateTime.vue.d.ts +3 -12
  236. package/esm/coms/texts/Decimal.vue.d.ts +3 -12
  237. package/esm/coms/texts/Dictionary.vue.d.ts +7 -16
  238. package/esm/coms/texts/Email.vue.d.ts +3 -12
  239. package/esm/coms/texts/Index.vue.d.ts +5 -14
  240. package/esm/coms/texts/Int.vue.d.ts +3 -12
  241. package/esm/coms/texts/Markdown.vue.d.ts +3 -12
  242. package/esm/coms/texts/Month.vue.d.ts +3 -12
  243. package/esm/coms/texts/Password.vue.d.ts +3 -12
  244. package/esm/coms/texts/Progress.vue.d.ts +3 -12
  245. package/esm/coms/texts/Radio.vue.d.ts +3 -12
  246. package/esm/coms/texts/Rate.vue.d.ts +7 -16
  247. package/esm/coms/texts/RichText.vue.d.ts +3 -12
  248. package/esm/coms/texts/Select.vue.d.ts +3 -12
  249. package/esm/coms/texts/Switch.vue.d.ts +3 -12
  250. package/esm/coms/texts/Text.vue.d.ts +3 -12
  251. package/esm/coms/texts/TextLink.vue.d.ts +16 -19
  252. package/esm/coms/texts/Textarea.vue.d.ts +3 -12
  253. package/esm/coms/texts/Upload.vue.d.ts +3 -12
  254. package/esm/coms/texts/Year.vue.d.ts +3 -12
  255. package/esm/views/helps/401.vue.d.ts +1 -1
  256. package/esm/views/helps/404.vue.d.ts +1 -1
  257. package/esm/views/helps/Install.vue.d.ts +1 -1
  258. package/esm/views/helps/Maintaince.vue.d.ts +1 -1
  259. package/esm/views/helps/Upgrade.vue.d.ts +1 -1
  260. package/esm/views/logins/Callback.vue.d.ts +1 -1
  261. package/esm/views/logins/Index.vue.d.ts +1 -1
  262. package/esm/views/logins/Register.vue.d.ts +1 -1
  263. package/package.json +10 -11
  264. package/dist/Article-DdbL4Rxb.js +0 -200
  265. package/dist/Autocomplete-B29_JGgy.js +0 -54
  266. package/dist/Autocomplete-CDeLmF63.js +0 -53
  267. package/dist/Callback-DtbfupbN.js +0 -26
  268. package/dist/Cascader-oKD8yaoM.js +0 -47
  269. package/dist/Code-BBlM__Hy.js +0 -42
  270. package/dist/Code-BVq612C-.js +0 -60
  271. package/dist/Code-CwEhwgvG.js +0 -4
  272. package/dist/Code.vue_vue_type_style_index_0_lang-DYtCGnTc.js +0 -65
  273. package/dist/Column-EGW6y97E.js +0 -75
  274. package/dist/Comment-BsBFJGaQ.js +0 -104
  275. package/dist/Compare-DWPAXxRl.js +0 -44
  276. package/dist/Copy-GmouOi6m.js +0 -49
  277. package/dist/Custom-Cb3i3bqD.js +0 -57
  278. package/dist/Date-BDC05CJ3.js +0 -43
  279. package/dist/DateTime-BdzNOWG8.js +0 -44
  280. package/dist/Daterange-ChAXKUg5.js +0 -63
  281. package/dist/Detail-KkegBU3k.js +0 -75
  282. package/dist/Dictionary-Cb7aVsaW.js +0 -59
  283. package/dist/File-BjbmEXZd.js +0 -162
  284. package/dist/Index-9C-NNHc5.js +0 -4
  285. package/dist/Index-ClRh0-VD.js +0 -4
  286. package/dist/Index-D6C_pdWz.js +0 -178
  287. package/dist/Index-gGO_YKcR.js +0 -4
  288. package/dist/Index-gqpuMuJY.js +0 -4
  289. package/dist/Maintaince-CLR1UbTX.js +0 -20
  290. package/dist/Month-CHE-uCIH.js +0 -43
  291. package/dist/Month-_nN2Q4-y.js +0 -44
  292. package/dist/Paging-DgpnQ8Z-.js +0 -99
  293. package/dist/PagingHeader-B9ZN-gzP.js +0 -147
  294. package/dist/QueryApi-Cnhw4j4z.js +0 -20
  295. package/dist/Register-Dc3SHbQr.js +0 -201
  296. package/dist/Table-tLOOeKDu.js +0 -243
  297. package/dist/Text-Df6_rov4.js +0 -4
  298. package/dist/Text.vue_vue_type_style_index_0_lang-JCklGm0p.js +0 -59
  299. package/dist/Time-DOZHyrC6.js +0 -43
  300. package/dist/Tree-BftFsRke.js +0 -297
  301. package/dist/Tree-DG-JvHyh.js +0 -122
  302. package/dist/TreeNode-b11A2q51.js +0 -42
  303. package/dist/Update-Bq3Vc9BT.js +0 -70
  304. package/dist/UpdateChild-Bzxp6hg4.js +0 -92
  305. package/dist/Upload-BelDE_Gj.js +0 -72
  306. package/dist/Upload-BrZMjfqk.js +0 -150
  307. package/dist/UploadApi-rJCEFRnE.js +0 -20
  308. package/dist/Year-ajwigTmh.js +0 -47
  309. package/dist/main-CBbiFa-k.js +0 -9218
@@ -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-DKQm8MHi.js";
3
+ import "./assets/moment-h96o7c8I.js";
4
+ import "./assets/liquidjs-B8dqQyVv.js";
5
+ import "./QueryApi-WhFuwo_F.js";
6
+ import { U as se } from "./UploadApi-Dm_lj8m4.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-DKQm8MHi.js";
3
+ import "./assets/moment-h96o7c8I.js";
4
+ import "./assets/liquidjs-B8dqQyVv.js";
5
+ import "./QueryApi-WhFuwo_F.js";
6
+ import { U as I } from "./UploadApi-Dm_lj8m4.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-DKQm8MHi.js";
2
+ import "vue";
3
+ import "./assets/moment-h96o7c8I.js";
4
+ import "./assets/liquidjs-B8dqQyVv.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-DKQm8MHi.js";
3
+ import "./assets/moment-h96o7c8I.js";
4
+ import "./assets/liquidjs-B8dqQyVv.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-Dr7VfqLe.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),