halo-pc 1.0.8 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (516) hide show
  1. package/dist/{Article-CiVdO1Ui.js → Article-DDHiBRRG.js} +69 -62
  2. package/dist/{Autocomplete-TVE3ZXGj.js → Autocomplete-Bh4HQ3-C.js} +1 -1
  3. package/dist/Autocomplete-BljowPIG.js +56 -0
  4. package/dist/Autocomplete-d0MR8Xx2.js +55 -0
  5. package/dist/{CSharp-ZvsrI2tS.js → CSharp--lmNVuOo.js} +1 -1
  6. package/dist/{Calender-BN1Qici-.js → Calender-CvqWvZsn.js} +1 -1
  7. package/dist/Callback-BrvO3W91.js +28 -0
  8. package/dist/Cascader-DIvprKCI.js +88 -0
  9. package/dist/Cascader-OM7zmX3M.js +49 -0
  10. package/dist/{Checkbox-DPVFKvtd.js → Checkbox-BJdqPlkr.js} +1 -1
  11. package/dist/Code-BACLmk2L.js +62 -0
  12. package/dist/Code-DNa70Dop.js +44 -0
  13. package/dist/Code-Du9XlTYj.js +4 -0
  14. package/dist/{Code-C-Xxwb29.js → Code-xVaG8AiI.js} +1 -1
  15. package/dist/Code.vue_vue_type_style_index_0_lang-FEJ6tUQl.js +67 -0
  16. package/dist/Column-DpxOF0y2.js +76 -0
  17. package/dist/Comment-CnA1hoQR.js +106 -0
  18. package/dist/Compare-cMfhy2tY.js +34 -0
  19. package/dist/Compare-i-c4cpHb.js +64 -0
  20. package/dist/Copy-Ccio6WhB.js +51 -0
  21. package/dist/Custom-d7B0U9LW.js +55 -0
  22. package/dist/{DataExport-D6d04miG.js → DataExport-D9qNEXNc.js} +1 -1
  23. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-B0lK_clm.js → DataExport.vue_vue_type_script_setup_true_lang-LIX8EWdw.js} +42 -35
  24. package/dist/{DataImport-CceWCzes.js → DataImport-IlCpp9MO.js} +1 -1
  25. package/dist/DataImport.vue_vue_type_script_setup_true_lang-ByaDXp9z.js +178 -0
  26. package/dist/{Date-Ddu6Um1a.js → Date-BzTn9eRY.js} +1 -1
  27. package/dist/{DateRange-DLCMlMSG.js → DateRange-TLadnU8z.js} +24 -16
  28. package/dist/{DateTime-Bdvr9_wj.js → DateTime-ZXRmiyVk.js} +1 -1
  29. package/dist/{DateTimeRange-DPWqS1Es.js → DateTimeRange-WV8dpf1A.js} +18 -10
  30. package/dist/Daterange-Xx9aigH9.js +65 -0
  31. package/dist/{Decimal-D4atkIK7.js → Decimal-d9D3AKgJ.js} +1 -1
  32. package/dist/Delete-C1lDzul8.js +63 -0
  33. package/dist/Detail-DwkywBpF.js +77 -0
  34. package/dist/Dictionary-41lPMLYE.js +61 -0
  35. package/dist/{File-B2lndVjU.js → File-CdfGLpx0.js} +54 -45
  36. package/dist/{Image-CrvP5qms.js → Image-j_l1rTVS.js} +1 -1
  37. package/dist/Index-BJcvZpAZ.js +180 -0
  38. package/dist/Index-CRW3fKQm.js +4 -0
  39. package/dist/{Index-C_HCipwv.js → Index-Cgn9c90j.js} +1 -1
  40. package/dist/Index-DDYN0PN6.js +77 -0
  41. package/dist/{Index-DNZBSOK6.js → Index-Dls8FIg_.js} +1 -1
  42. package/dist/Index-DyDnI3Eh.js +4 -0
  43. package/dist/{Index-BaLKJJ75.js → Index-DzobZNQl.js} +1 -1
  44. package/dist/Index-p6jrekIF.js +4 -0
  45. package/dist/{Index.vue_vue_type_script_setup_true_lang-BYIvYRlg.js → Index.vue_vue_type_script_setup_true_lang-DEJe_SEU.js} +26 -17
  46. package/dist/{Index.vue_vue_type_script_setup_true_lang-uoFDX1Of.js → Index.vue_vue_type_script_setup_true_lang-yNHjfgMT.js} +26 -17
  47. package/dist/{Index.vue_vue_type_style_index_0_lang-DiU6tUKL.js → Index.vue_vue_type_style_index_0_lang-DzZQYPd_.js} +46 -39
  48. package/dist/{Install-D1bxQmez.js → Install-DjEEO5jv.js} +33 -24
  49. package/dist/Int-DCCHJ3Py.js +48 -0
  50. package/dist/List-B0jkK3__.js +80 -0
  51. package/dist/Maintaince-BvSeToFI.js +22 -0
  52. package/dist/{Markdown-Ceg9Ms5R.js → Markdown-DWztB-nd.js} +1 -1
  53. package/dist/{Month-CfB3ZFt4.js → Month-C-O9wmfa.js} +1 -1
  54. package/dist/{Normal-DaCn1qBW.js → Normal-D0jVbV6S.js} +54 -47
  55. package/dist/Paging-DotrJ4K7.js +100 -0
  56. package/dist/QueryApi-BfzWPAaT.js +22 -0
  57. package/dist/{Racebar-DBFWFMO-.js → Racebar-BHxShEk3.js} +45 -38
  58. package/dist/{Radio-CJyl__ew.js → Radio-2lj7_vnv.js} +1 -1
  59. package/dist/Register-Bc6si8eQ.js +203 -0
  60. package/dist/RichText-GzSKa3TU.js +49 -0
  61. package/dist/{SearchFooter-DEoLMe9k.js → SearchFooter-CljN2rfH.js} +1 -1
  62. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-D1PYRAiE.js → SearchFooter.vue_vue_type_style_index_0_lang-BY7bRgIA.js} +1 -1
  63. package/dist/{SearchForm-BHHmYaCS.js → SearchForm-BVZA2l7U.js} +1 -1
  64. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BtNkB6f0.js → SearchForm.vue_vue_type_style_index_0_lang-BSs4V4mF.js} +42 -36
  65. package/dist/{Select-C2FBbD52.js → Select-1KvlCVU4.js} +1 -1
  66. package/dist/{Select-DM1c8XBr.js → Select-CocWBLRX.js} +40 -32
  67. package/dist/{Select-Cz2uCsb-.js → Select-D60XT9o-.js} +26 -18
  68. package/dist/{Single-B63Zrug-.js → Single-sr-BkPGL.js} +91 -84
  69. package/dist/{Statistic-0yl1BOUE.js → Statistic-BYcw_PF8.js} +33 -26
  70. package/dist/{Stock-DcJZ8DgI.js → Stock-BKboB1Yy.js} +1 -1
  71. package/dist/{Stock-4iCvNHGj.js → Stock-BfJZJOlp.js} +1 -1
  72. package/dist/{Stock.vue_vue_type_style_index_0_lang-4d1EpJnq.js → Stock.vue_vue_type_style_index_0_lang-BvNVV3nm.js} +29 -22
  73. package/dist/{Switch-N3gJPSk8.js → Switch-aJlpDaFn.js} +1 -1
  74. package/dist/{Table-Cs56tnaN.js → Table-C7utV1zP.js} +69 -61
  75. package/dist/{Table-J3e4-OH2.js → Table-Cb3ebUjd.js} +90 -84
  76. package/dist/Text-BwvQUh3H.js +4 -0
  77. package/dist/Text.vue_vue_type_style_index_0_lang-DKTbR_SE.js +60 -0
  78. package/dist/TextLink-C6iV4AMN.js +67 -0
  79. package/dist/{Textarea-B5AXrlWa.js → Textarea-BMTs6P3r.js} +1 -1
  80. package/dist/Timeline-CbOh5x0N.js +61 -0
  81. package/dist/Tree-BYDeBPz8.js +124 -0
  82. package/dist/{Tree-BdW8K2i6.js → Tree-CJw57RjB.js} +103 -97
  83. package/dist/TreeNode-f5QIDN_8.js +44 -0
  84. package/dist/Update-4MVWAqee.js +72 -0
  85. package/dist/Upload-CZH4eCZj.js +74 -0
  86. package/dist/Upload-DLvv8FP4.js +152 -0
  87. package/dist/UploadApi-BP2K-0bT.js +22 -0
  88. package/dist/{Year-CMlo3zsG.js → Year-MmbPwHcY.js} +1 -1
  89. package/dist/main-Bf4o1iyx.js +8145 -0
  90. package/dist/main.js +114 -92
  91. package/dist/style.css +1 -1
  92. package/dist/vendor-@monaco-editor-DKC4UNw_.js +258 -0
  93. package/dist/{vendor-clipboard-DjQPoCBJ.js → vendor-clipboard-BqjesuiY.js} +130 -110
  94. package/dist/vendor-clone-BPtCWdXG.js +134 -0
  95. package/dist/vendor-crypto-js-YOeWQTUw.js +4997 -0
  96. package/dist/vendor-file-saver-CytTIJ-3.js +74 -0
  97. package/dist/vendor-intro.js-DhhZ-dhc.js +1793 -0
  98. package/dist/vendor-moment-h96o7c8I.js +2578 -0
  99. package/dist/vendor-sprintf-js-BPTdvBYM.js +148 -0
  100. package/dist/vendor-state-local-CEworIRt.js +131 -0
  101. package/dist/vendor-underscore-B0BCaBxV.js +1070 -0
  102. package/dist/vendor-underscore.string-BEHfJwHl.js +425 -0
  103. package/dist/vendor-util-deprecate-DzpNkCzj.js +28 -0
  104. package/dist/vendor-xlsx-js-style-DIFxrP6P.js +11862 -0
  105. package/esm/coms/commons/HaTable.vue.d.ts +3 -0
  106. package/esm/coms/commons/index.d.ts +4 -0
  107. package/esm/coms/partials/ArticleFooter.vue.d.ts +1 -1
  108. package/esm/coms/partials/Detail.vue.d.ts +1 -1
  109. package/esm/coms/partials/PagingHeader.vue.d.ts +1 -1
  110. package/esm/coms/partials/PagingRow.vue.d.ts +1 -1
  111. package/esm/coms/partials/TreeNode.vue.d.ts +1 -1
  112. package/esm/coms/partials/Update.vue.d.ts +1 -1
  113. package/esm/coms/partials/UpdateChild.vue.d.ts +1 -1
  114. package/esm/coms/partials/index.d.ts +1 -135
  115. package/esm/coms/partials/types/DetailProps.d.ts +22 -0
  116. package/esm/coms/partials/types/PagingHeaderProps.d.ts +30 -0
  117. package/esm/{components/controls/index.d.ts → coms/partials/types/PagingRowProps.d.ts} +5 -9
  118. package/esm/coms/partials/types/TreeNodeProps.d.ts +22 -0
  119. package/esm/coms/partials/types/UpdateChildProps.d.ts +22 -0
  120. package/esm/coms/partials/types/UpdateProps.d.ts +22 -0
  121. package/esm/coms/partials/types/index.d.ts +7 -0
  122. package/esm/coms/searches/Autocomplete.vue.d.ts +1 -1
  123. package/esm/coms/searches/Daterange.vue.d.ts +1 -1
  124. package/esm/coms/searches/Index.vue.d.ts +1 -1
  125. package/esm/coms/searches/Int.vue.d.ts +1 -1
  126. package/esm/coms/searches/Month.vue.d.ts +1 -1
  127. package/esm/coms/searches/Select.vue.d.ts +1 -1
  128. package/esm/coms/searches/Text.vue.d.ts +1 -1
  129. package/esm/coms/searches/index.d.ts +3 -7
  130. package/esm/{components/searches/index.d.ts → coms/searches/types/SearchProps.d.ts} +4 -1
  131. package/esm/coms/searches/types/index.d.ts +2 -0
  132. package/esm/svcs/AppSvc.d.ts +16 -3
  133. package/esm/svcs/index.d.ts +6 -2
  134. package/package.json +11 -11
  135. package/dist/Autocomplete-DSE7qXaY.js +0 -48
  136. package/dist/Autocomplete-gwIpU0Ap.js +0 -49
  137. package/dist/Callback-C5vXOse3.js +0 -20
  138. package/dist/Cascader-DIwiaPq_.js +0 -80
  139. package/dist/Cascader-DhcIQmz0.js +0 -41
  140. package/dist/Code-EMhF8em7.js +0 -54
  141. package/dist/Code-MpN64VDz.js +0 -4
  142. package/dist/Code-rSRVyC9T.js +0 -36
  143. package/dist/Code.vue_vue_type_style_index_0_lang-P0TnGKPx.js +0 -59
  144. package/dist/Column-CjVMWBjC.js +0 -67
  145. package/dist/Comment-CakkgoNi.js +0 -98
  146. package/dist/Compare-C7v4kOpE.js +0 -26
  147. package/dist/Compare-fM9jPPuu.js +0 -56
  148. package/dist/Copy-CYEJ22tk.js +0 -43
  149. package/dist/Custom-Cig2xWvf.js +0 -47
  150. package/dist/DataImport.vue_vue_type_script_setup_true_lang-5qkPOt4L.js +0 -172
  151. package/dist/Daterange-D_JOuZ8Z.js +0 -57
  152. package/dist/Delete-gFaS3kE9.js +0 -55
  153. package/dist/Detail-B5FvVxu9.js +0 -68
  154. package/dist/Dictionary-Ce3GwIP_.js +0 -55
  155. package/dist/Index-BQHiLvTh.js +0 -4
  156. package/dist/Index-BRmnOaBf.js +0 -4
  157. package/dist/Index-BbbIu4pT.js +0 -168
  158. package/dist/Index-CNiNRbjO.js +0 -70
  159. package/dist/Index-DMei5mlA.js +0 -4
  160. package/dist/Index.vue_vue_type_script_setup_true_lang-B-sM48XO.js +0 -36
  161. package/dist/Int-BaGIs_nk.js +0 -41
  162. package/dist/List-BjQi_wnf.js +0 -72
  163. package/dist/Maintaince-fou9nONX.js +0 -14
  164. package/dist/Paging-C5q8jJUU.js +0 -93
  165. package/dist/QueryApi-DjT4dEyX.js +0 -13
  166. package/dist/Register-IVPcpL6f.js +0 -196
  167. package/dist/RichText-D_JQUWM1.js +0 -41
  168. package/dist/Text-DheLweEH.js +0 -4
  169. package/dist/Text.vue_vue_type_style_index_0_lang-uMGpVMDs.js +0 -52
  170. package/dist/TextLink-CSaLrd5t.js +0 -59
  171. package/dist/Timeline-BhPZJNP4.js +0 -53
  172. package/dist/Tree-Ctq_fSOd.js +0 -117
  173. package/dist/TreeNode-CDItFlDT.js +0 -34
  174. package/dist/Update-K3FS-dz-.js +0 -63
  175. package/dist/Upload-C73uEqps.js +0 -67
  176. package/dist/Upload-DGz1o9dx.js +0 -146
  177. package/dist/UploadApi-Dy7aGZWx.js +0 -13
  178. package/dist/main-CVY9fyTk.js +0 -28912
  179. package/dist/vendor-intro.js-DwWqhM1v.js +0 -1695
  180. package/esm/App.vue.d.ts +0 -2
  181. package/esm/components/business/HaCondition.vue.d.ts +0 -18
  182. package/esm/components/business/HaCrud.vue.d.ts +0 -29
  183. package/esm/components/business/HaDrawer.vue.d.ts +0 -24
  184. package/esm/components/business/HaDriver.vue.d.ts +0 -52
  185. package/esm/components/business/HaFeedback.vue.d.ts +0 -8
  186. package/esm/components/business/HaForm.vue.d.ts +0 -23
  187. package/esm/components/business/HaSwitch.vue.d.ts +0 -24
  188. package/esm/components/business/HaWelcome.vue.d.ts +0 -8
  189. package/esm/components/business/HoCondition.vue.d.ts +0 -18
  190. package/esm/components/business/HoCrud.vue.d.ts +0 -29
  191. package/esm/components/business/HoDrawer.vue.d.ts +0 -24
  192. package/esm/components/business/HoDriver.vue.d.ts +0 -52
  193. package/esm/components/business/HoFeedback.vue.d.ts +0 -8
  194. package/esm/components/business/HoForm.vue.d.ts +0 -23
  195. package/esm/components/business/HoSwitch.vue.d.ts +0 -24
  196. package/esm/components/business/HoWelcome.vue.d.ts +0 -8
  197. package/esm/components/business/index.d.ts +0 -124
  198. package/esm/components/controls/Autocomplete.vue.d.ts +0 -24
  199. package/esm/components/controls/Cascader.vue.d.ts +0 -24
  200. package/esm/components/controls/Checkbox.vue.d.ts +0 -22
  201. package/esm/components/controls/Code.vue.d.ts +0 -24
  202. package/esm/components/controls/Color.vue.d.ts +0 -24
  203. package/esm/components/controls/Compare.vue.d.ts +0 -24
  204. package/esm/components/controls/Date.vue.d.ts +0 -24
  205. package/esm/components/controls/DateRange.vue.d.ts +0 -24
  206. package/esm/components/controls/DateTime.vue.d.ts +0 -24
  207. package/esm/components/controls/DateTimeRange.vue.d.ts +0 -24
  208. package/esm/components/controls/Decimal.vue.d.ts +0 -24
  209. package/esm/components/controls/Email.vue.d.ts +0 -24
  210. package/esm/components/controls/Image.vue.d.ts +0 -2
  211. package/esm/components/controls/Index.vue.d.ts +0 -22
  212. package/esm/components/controls/Int.vue.d.ts +0 -24
  213. package/esm/components/controls/Markdown.vue.d.ts +0 -24
  214. package/esm/components/controls/Month.vue.d.ts +0 -24
  215. package/esm/components/controls/Password.vue.d.ts +0 -24
  216. package/esm/components/controls/Progress.vue.d.ts +0 -24
  217. package/esm/components/controls/Radio.vue.d.ts +0 -24
  218. package/esm/components/controls/Rate.vue.d.ts +0 -24
  219. package/esm/components/controls/RichText.vue.d.ts +0 -22
  220. package/esm/components/controls/Select.vue.d.ts +0 -24
  221. package/esm/components/controls/Switch.vue.d.ts +0 -24
  222. package/esm/components/controls/Text.vue.d.ts +0 -26
  223. package/esm/components/controls/Textarea.vue.d.ts +0 -24
  224. package/esm/components/controls/Time.vue.d.ts +0 -24
  225. package/esm/components/controls/Upload.vue.d.ts +0 -24
  226. package/esm/components/controls/Year.vue.d.ts +0 -24
  227. package/esm/components/headers/Breadcrumb.vue.d.ts +0 -2
  228. package/esm/components/headers/Debugger.vue.d.ts +0 -2
  229. package/esm/components/headers/Hamburger.vue.d.ts +0 -18
  230. package/esm/components/headers/HeaderRight.vue.d.ts +0 -2
  231. package/esm/components/headers/Index.vue.d.ts +0 -6
  232. package/esm/components/headers/Log.vue.d.ts +0 -2
  233. package/esm/components/headers/Logo.vue.d.ts +0 -6
  234. package/esm/components/headers/Refresh.vue.d.ts +0 -6
  235. package/esm/components/headers/Setting.vue.d.ts +0 -8
  236. package/esm/components/headers/index.d.ts +0 -3
  237. package/esm/components/index.d.ts +0 -8
  238. package/esm/components/layouts/Desktop.vue.d.ts +0 -2
  239. package/esm/components/layouts/Index.vue.d.ts +0 -2
  240. package/esm/components/layouts/Side.vue.d.ts +0 -2
  241. package/esm/components/layouts/Top.vue.d.ts +0 -2
  242. package/esm/components/layouts/index.d.ts +0 -7
  243. package/esm/components/lists/Calender.vue.d.ts +0 -2
  244. package/esm/components/lists/Racebar.vue.d.ts +0 -18
  245. package/esm/components/lists/Statistic.vue.d.ts +0 -18
  246. package/esm/components/lists/Stock.vue.d.ts +0 -12
  247. package/esm/components/lists/Timeline.vue.d.ts +0 -12
  248. package/esm/components/lists/Tree.vue.d.ts +0 -26
  249. package/esm/components/lists/index.d.ts +0 -15
  250. package/esm/components/pages/Column.vue.d.ts +0 -22
  251. package/esm/components/pages/Custom.vue.d.ts +0 -25
  252. package/esm/components/pages/Delete.vue.d.ts +0 -20
  253. package/esm/components/pages/Index.vue.d.ts +0 -2
  254. package/esm/components/pages/List.vue.d.ts +0 -24
  255. package/esm/components/pages/Paging.vue.d.ts +0 -24
  256. package/esm/components/pages/Single.vue.d.ts +0 -28
  257. package/esm/components/pages/index.d.ts +0 -146
  258. package/esm/components/pagings/Article.vue.d.ts +0 -27
  259. package/esm/components/pagings/Code.vue.d.ts +0 -12
  260. package/esm/components/pagings/DataExport.vue.d.ts +0 -33
  261. package/esm/components/pagings/DataImport.vue.d.ts +0 -18
  262. package/esm/components/pagings/File.vue.d.ts +0 -12
  263. package/esm/components/pagings/Index.vue.d.ts +0 -33
  264. package/esm/components/pagings/SearchFooter.vue.d.ts +0 -122
  265. package/esm/components/pagings/SearchForm.vue.d.ts +0 -72
  266. package/esm/components/pagings/Table.vue.d.ts +0 -31
  267. package/esm/components/pagings/index.d.ts +0 -11
  268. package/esm/components/partials/ArticleFooter.vue.d.ts +0 -24
  269. package/esm/components/partials/Detail.vue.d.ts +0 -20
  270. package/esm/components/partials/PagingHeader.vue.d.ts +0 -28
  271. package/esm/components/partials/PagingRow.vue.d.ts +0 -24
  272. package/esm/components/partials/TreeNode.vue.d.ts +0 -12
  273. package/esm/components/partials/Update.vue.d.ts +0 -20
  274. package/esm/components/partials/UpdateChild.vue.d.ts +0 -22
  275. package/esm/components/partials/index.d.ts +0 -135
  276. package/esm/components/searches/Autocomplete.vue.d.ts +0 -24
  277. package/esm/components/searches/Daterange.vue.d.ts +0 -22
  278. package/esm/components/searches/Index.vue.d.ts +0 -18
  279. package/esm/components/searches/Int.vue.d.ts +0 -24
  280. package/esm/components/searches/Month.vue.d.ts +0 -24
  281. package/esm/components/searches/Select.vue.d.ts +0 -24
  282. package/esm/components/searches/Text.vue.d.ts +0 -24
  283. package/esm/components/singles/Code.vue.d.ts +0 -18
  284. package/esm/components/singles/Comment.vue.d.ts +0 -12
  285. package/esm/components/singles/Index.vue.d.ts +0 -25
  286. package/esm/components/singles/Normal.vue.d.ts +0 -21
  287. package/esm/components/singles/Statistic.vue.d.ts +0 -12
  288. package/esm/components/singles/Stock.vue.d.ts +0 -12
  289. package/esm/components/singles/Table.vue.d.ts +0 -22
  290. package/esm/components/singles/Tree.vue.d.ts +0 -14
  291. package/esm/components/singles/Tree_Old.vue.d.ts +0 -2
  292. package/esm/components/singles/index.d.ts +0 -15
  293. package/esm/components/texts/Autocomplete.vue.d.ts +0 -16
  294. package/esm/components/texts/CSharp.vue.d.ts +0 -16
  295. package/esm/components/texts/Cascader.vue.d.ts +0 -22
  296. package/esm/components/texts/Checkbox.vue.d.ts +0 -16
  297. package/esm/components/texts/Code.vue.d.ts +0 -16
  298. package/esm/components/texts/Color.vue.d.ts +0 -16
  299. package/esm/components/texts/Compare.vue.d.ts +0 -16
  300. package/esm/components/texts/Copy.vue.d.ts +0 -24
  301. package/esm/components/texts/Date.vue.d.ts +0 -16
  302. package/esm/components/texts/DateRange.vue.d.ts +0 -16
  303. package/esm/components/texts/DateTime.vue.d.ts +0 -16
  304. package/esm/components/texts/Decimal.vue.d.ts +0 -16
  305. package/esm/components/texts/Dictionary.vue.d.ts +0 -24
  306. package/esm/components/texts/Email.vue.d.ts +0 -16
  307. package/esm/components/texts/Index.vue.d.ts +0 -22
  308. package/esm/components/texts/Int.vue.d.ts +0 -16
  309. package/esm/components/texts/Markdown.vue.d.ts +0 -16
  310. package/esm/components/texts/Month.vue.d.ts +0 -16
  311. package/esm/components/texts/Password.vue.d.ts +0 -16
  312. package/esm/components/texts/Progress.vue.d.ts +0 -16
  313. package/esm/components/texts/Radio.vue.d.ts +0 -16
  314. package/esm/components/texts/Rate.vue.d.ts +0 -24
  315. package/esm/components/texts/RichText.vue.d.ts +0 -16
  316. package/esm/components/texts/Select.vue.d.ts +0 -16
  317. package/esm/components/texts/Switch.vue.d.ts +0 -16
  318. package/esm/components/texts/Text.vue.d.ts +0 -16
  319. package/esm/components/texts/TextLink.vue.d.ts +0 -29
  320. package/esm/components/texts/Textarea.vue.d.ts +0 -16
  321. package/esm/components/texts/Upload.vue.d.ts +0 -16
  322. package/esm/components/texts/Year.vue.d.ts +0 -16
  323. package/esm/drivers/IDriver.d.ts +0 -10
  324. package/esm/drivers/cdns/Cdn.d.ts +0 -14
  325. package/esm/drivers/cdns/CdnFactory.d.ts +0 -11
  326. package/esm/drivers/cdns/ICdn.d.ts +0 -34
  327. package/esm/drivers/cdns/implements/BootCdn.d.ts +0 -12
  328. package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +0 -13
  329. package/esm/drivers/cdns/implements/LocalCdn.d.ts +0 -12
  330. package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +0 -16
  331. package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +0 -10
  332. package/esm/drivers/cdns/index.d.ts +0 -0
  333. package/esm/drivers/driver-helper.d.ts +0 -46
  334. package/esm/drivers/encoders/Encoder.d.ts +0 -11
  335. package/esm/drivers/encoders/EncoderFactory.d.ts +0 -16
  336. package/esm/drivers/encoders/IEncoder.d.ts +0 -22
  337. package/esm/drivers/encoders/implement/Base64Encoder.d.ts +0 -11
  338. package/esm/drivers/encoders/index.d.ts +0 -0
  339. package/esm/drivers/excels/ExcelFactory.d.ts +0 -11
  340. package/esm/drivers/excels/IExcel.d.ts +0 -18
  341. package/esm/drivers/excels/implements/XlsxExcel.d.ts +0 -10
  342. package/esm/drivers/excels/index.d.ts +0 -2
  343. package/esm/drivers/explainers/Explainer.d.ts +0 -4
  344. package/esm/drivers/explainers/ExplainerFactory.d.ts +0 -1
  345. package/esm/drivers/explainers/IExplainer.d.ts +0 -3
  346. package/esm/drivers/explainers/implement/JsonExplainer.d.ts +0 -4
  347. package/esm/drivers/explainers/index.d.ts +0 -0
  348. package/esm/drivers/features/FeatureFactory.d.ts +0 -11
  349. package/esm/drivers/features/IFeature.d.ts +0 -23
  350. package/esm/drivers/features/implements/ExpressionFeature.d.ts +0 -12
  351. package/esm/drivers/features/implements/I18NFeature.d.ts +0 -12
  352. package/esm/drivers/features/implements/SortFeature.d.ts +0 -13
  353. package/esm/drivers/features/index.d.ts +0 -2
  354. package/esm/drivers/hashers/Hasher.d.ts +0 -10
  355. package/esm/drivers/hashers/HasherFactory.d.ts +0 -13
  356. package/esm/drivers/hashers/IHasher.d.ts +0 -19
  357. package/esm/drivers/hashers/implement/Md5Hasher.d.ts +0 -10
  358. package/esm/drivers/hashers/implement/Sha256Hasher.d.ts +0 -10
  359. package/esm/drivers/hashers/index.d.ts +0 -2
  360. package/esm/drivers/index.d.ts +0 -9
  361. package/esm/drivers/providers/IProvider.d.ts +0 -47
  362. package/esm/drivers/providers/ProviderFactory.d.ts +0 -11
  363. package/esm/drivers/providers/implements/IndexedDbProvider.d.ts +0 -55
  364. package/esm/drivers/providers/index.d.ts +0 -2
  365. package/esm/drivers/requesters/IRequester.d.ts +0 -20
  366. package/esm/drivers/requesters/Requester.d.ts +0 -12
  367. package/esm/drivers/requesters/RequesterFactory.d.ts +0 -18
  368. package/esm/drivers/requesters/entities/HttpRequest.d.ts +0 -34
  369. package/esm/drivers/requesters/entities/HttpResponse.d.ts +0 -19
  370. package/esm/drivers/requesters/implements/DefaultRequester.d.ts +0 -12
  371. package/esm/drivers/requesters/implements/MkRequester.d.ts +0 -40
  372. package/esm/drivers/requesters/index.d.ts +0 -5
  373. package/esm/drivers/signers/ISigner.d.ts +0 -33
  374. package/esm/drivers/signers/SignerFactory.d.ts +0 -11
  375. package/esm/drivers/signers/implements/DefaultSigner.d.ts +0 -18
  376. package/esm/drivers/signers/index.d.ts +0 -2
  377. package/esm/drivers/ssos/ISso.d.ts +0 -41
  378. package/esm/drivers/ssos/SsoFactory.d.ts +0 -11
  379. package/esm/drivers/ssos/implements/AnonymousSso.d.ts +0 -18
  380. package/esm/drivers/ssos/implements/BearerSso.d.ts +0 -22
  381. package/esm/drivers/ssos/implements/NioSso.d.ts +0 -23
  382. package/esm/drivers/ssos/implements/SecretSso.d.ts +0 -18
  383. package/esm/drivers/ssos/implements/WeiXinSso.d.ts +0 -20
  384. package/esm/drivers/ssos/index.d.ts +0 -2
  385. package/esm/plugins/PcMessager.d.ts +0 -35
  386. package/esm/sdks/commons/HaCaptcha.vue.d.ts +0 -14
  387. package/esm/sdks/commons/HaCode.vue.d.ts +0 -40
  388. package/esm/sdks/commons/HaCol.vue.d.ts +0 -9
  389. package/esm/sdks/commons/HaCompare.vue.d.ts +0 -40
  390. package/esm/sdks/commons/HaContainer.vue.d.ts +0 -21
  391. package/esm/sdks/commons/HaDebug.vue.d.ts +0 -9
  392. package/esm/sdks/commons/HaEditable.vue.d.ts +0 -13
  393. package/esm/sdks/commons/HaEmpty.vue.d.ts +0 -24
  394. package/esm/sdks/commons/HaLoading.vue.d.ts +0 -33
  395. package/esm/sdks/commons/HaMouseContext.vue.d.ts +0 -2
  396. package/esm/sdks/commons/HaParticles.vue.d.ts +0 -2
  397. package/esm/sdks/commons/HaProgress.vue.d.ts +0 -8
  398. package/esm/sdks/commons/HaResizer.vue.d.ts +0 -26
  399. package/esm/sdks/commons/HaRow.vue.d.ts +0 -19
  400. package/esm/sdks/commons/HaSpinner.vue.d.ts +0 -20
  401. package/esm/sdks/commons/HaTable.vue.d.ts +0 -34
  402. package/esm/sdks/commons/HaTableColumn.vue.d.ts +0 -31
  403. package/esm/sdks/commons/HoCaptcha.vue.d.ts +0 -14
  404. package/esm/sdks/commons/HoCode.vue.d.ts +0 -39
  405. package/esm/sdks/commons/HoCol.vue.d.ts +0 -9
  406. package/esm/sdks/commons/HoCompare.vue.d.ts +0 -40
  407. package/esm/sdks/commons/HoContainer.vue.d.ts +0 -21
  408. package/esm/sdks/commons/HoDebug.vue.d.ts +0 -9
  409. package/esm/sdks/commons/HoEditable.vue.d.ts +0 -13
  410. package/esm/sdks/commons/HoEmpty.vue.d.ts +0 -24
  411. package/esm/sdks/commons/HoLoading.vue.d.ts +0 -33
  412. package/esm/sdks/commons/HoMouseContext.vue.d.ts +0 -2
  413. package/esm/sdks/commons/HoParticles.vue.d.ts +0 -2
  414. package/esm/sdks/commons/HoProgress.vue.d.ts +0 -8
  415. package/esm/sdks/commons/HoResizer.vue.d.ts +0 -26
  416. package/esm/sdks/commons/HoRow.vue.d.ts +0 -19
  417. package/esm/sdks/commons/HoSpinner.vue.d.ts +0 -20
  418. package/esm/sdks/commons/HoTable.vue.d.ts +0 -34
  419. package/esm/sdks/commons/HoTableColumn.vue.d.ts +0 -31
  420. package/esm/sdks/commons/index.d.ts +0 -90
  421. package/esm/sdks/globals/HaHeaderTab.vue.d.ts +0 -19
  422. package/esm/sdks/globals/HaHeaderTabs.vue.d.ts +0 -17
  423. package/esm/sdks/globals/HaMenu.vue.d.ts +0 -77
  424. package/esm/sdks/globals/HaMenuItem.vue.d.ts +0 -76
  425. package/esm/sdks/globals/HaMissComponent.vue.d.ts +0 -9
  426. package/esm/sdks/globals/HaSideTab.vue.d.ts +0 -21
  427. package/esm/sdks/globals/HaSideTabs.vue.d.ts +0 -17
  428. package/esm/sdks/globals/HaWindow.vue.d.ts +0 -66
  429. package/esm/sdks/globals/HoHeaderTab.vue.d.ts +0 -19
  430. package/esm/sdks/globals/HoHeaderTabs.vue.d.ts +0 -17
  431. package/esm/sdks/globals/HoMenu.vue.d.ts +0 -77
  432. package/esm/sdks/globals/HoMenuItem.vue.d.ts +0 -76
  433. package/esm/sdks/globals/HoMissComponent.vue.d.ts +0 -9
  434. package/esm/sdks/globals/HoSideTab.vue.d.ts +0 -21
  435. package/esm/sdks/globals/HoSideTabs.vue.d.ts +0 -17
  436. package/esm/sdks/globals/HoWindow.vue.d.ts +0 -66
  437. package/esm/sdks/globals/index.d.ts +0 -66
  438. package/esm/sdks/helpers/array-helper.d.ts +0 -97
  439. package/esm/sdks/helpers/component-helper.d.ts +0 -10
  440. package/esm/sdks/helpers/cookie-helper.d.ts +0 -6
  441. package/esm/sdks/helpers/dictionary-helper.d.ts +0 -18
  442. package/esm/sdks/helpers/dom-helper.d.ts +0 -74
  443. package/esm/sdks/helpers/encrypt-helper.d.ts +0 -18
  444. package/esm/sdks/helpers/event-helper.d.ts +0 -30
  445. package/esm/sdks/helpers/file-helper.d.ts +0 -22
  446. package/esm/sdks/helpers/html-helper.d.ts +0 -10
  447. package/esm/sdks/helpers/i18n-helper.d.ts +0 -14
  448. package/esm/sdks/helpers/image-helper.d.ts +0 -10
  449. package/esm/sdks/helpers/index.d.ts +0 -26
  450. package/esm/sdks/helpers/json-helper.d.ts +0 -31
  451. package/esm/sdks/helpers/math-helper.d.ts +0 -42
  452. package/esm/sdks/helpers/micro-helper.d.ts +0 -10
  453. package/esm/sdks/helpers/mount-helper.d.ts +0 -14
  454. package/esm/sdks/helpers/object-helper.d.ts +0 -34
  455. package/esm/sdks/helpers/script-helper.d.ts +0 -31
  456. package/esm/sdks/helpers/scroll-helper.d.ts +0 -14
  457. package/esm/sdks/helpers/sign-helper.d.ts +0 -14
  458. package/esm/sdks/helpers/storage-helper.d.ts +0 -34
  459. package/esm/sdks/helpers/string-helper.d.ts +0 -94
  460. package/esm/sdks/helpers/task-helper.d.ts +0 -26
  461. package/esm/sdks/helpers/time-helper.d.ts +0 -62
  462. package/esm/sdks/helpers/tree-helper.d.ts +0 -54
  463. package/esm/sdks/helpers/type-helper.d.ts +0 -26
  464. package/esm/sdks/helpers/url-helper.d.ts +0 -96
  465. package/esm/sdks/index.d.ts +0 -7
  466. package/esm/sdks/panels/HaGroup.vue.d.ts +0 -9
  467. package/esm/sdks/panels/HaHeader.vue.d.ts +0 -16
  468. package/esm/sdks/panels/HaOperation.vue.d.ts +0 -22
  469. package/esm/sdks/panels/HaPanel.vue.d.ts +0 -30
  470. package/esm/sdks/panels/HaShrink.vue.d.ts +0 -48
  471. package/esm/sdks/panels/HoGroup.vue.d.ts +0 -9
  472. package/esm/sdks/panels/HoHeader.vue.d.ts +0 -16
  473. package/esm/sdks/panels/HoOperation.vue.d.ts +0 -22
  474. package/esm/sdks/panels/HoPanel.vue.d.ts +0 -30
  475. package/esm/sdks/panels/HoShrink.vue.d.ts +0 -48
  476. package/esm/sdks/panels/index.d.ts +0 -13
  477. package/esm/sdks/stores/index.d.ts +0 -2
  478. package/esm/sdks/stores/window.d.ts +0 -25
  479. package/esm/sdks/thirds/index.d.ts +0 -8
  480. package/esm/sdks/utilities/AffixUtility.d.ts +0 -9
  481. package/esm/sdks/utilities/EventUtility.d.ts +0 -30
  482. package/esm/sdks/utilities/KeyboardUtility.d.ts +0 -73
  483. package/esm/sdks/utilities/MouseUtility.d.ts +0 -24
  484. package/esm/sdks/utilities/index.d.ts +0 -4
  485. package/esm/services/ComponentService.d.ts +0 -18
  486. package/esm/services/ControlService.d.ts +0 -42
  487. package/esm/services/HttpService.d.ts +0 -22
  488. package/esm/services/MessageService.d.ts +0 -34
  489. package/esm/services/PageService.d.ts +0 -38
  490. package/esm/services/SettingService.d.ts +0 -5
  491. package/esm/services/StandardService.d.ts +0 -34
  492. package/esm/services/UploadService.d.ts +0 -10
  493. package/esm/services/index.d.ts +0 -9
  494. package/esm/servs/AppServ.d.ts +0 -36
  495. package/esm/servs/ComponentServ.d.ts +0 -35
  496. package/esm/servs/ControlServ.d.ts +0 -42
  497. package/esm/servs/I18nServ.d.ts +0 -79
  498. package/esm/servs/LayoutServ.d.ts +0 -18
  499. package/esm/servs/PageServ.d.ts +0 -38
  500. package/esm/servs/RouterServ.d.ts +0 -23
  501. package/esm/servs/StandardServ.d.ts +0 -34
  502. package/esm/servs/UploadServ.d.ts +0 -10
  503. package/esm/servs/WindowServ.d.ts +0 -27
  504. package/esm/servs/index.d.ts +0 -17
  505. package/esm/stores/app.d.ts +0 -44
  506. package/esm/stores/component.d.ts +0 -30
  507. package/esm/stores/config.d.ts +0 -55
  508. package/esm/stores/driver.d.ts +0 -37
  509. package/esm/stores/i18n.d.ts +0 -67
  510. package/esm/stores/index.d.ts +0 -12
  511. package/esm/stores/layout.d.ts +0 -13
  512. package/esm/stores/log.d.ts +0 -20
  513. package/esm/stores/router.d.ts +0 -20
  514. package/esm/stores/setting.d.ts +0 -43
  515. package/esm/stores/socket.d.ts +0 -27
  516. package/esm/stores/user.d.ts +0 -40
@@ -1,117 +0,0 @@
1
- import { defineComponent as Q, toRefs as U, ref as m, onMounted as X, watch as Y, nextTick as K, resolveComponent as N, openBlock as k, createElementBlock as w, unref as d, Fragment as L, renderList as B, createBlock as M, withCtx as b, createVNode as Z, createElementVNode as ee, toDisplayString as T, createCommentVNode as $ } from "vue";
2
- import { N as le, m as _, d as F, a as P } from "./main-CVY9fyTk.js";
3
- const te = { class: "option-text" }, ae = {
4
- key: 0,
5
- class: "option-suffix"
6
- }, de = /* @__PURE__ */ Q({
7
- __name: "Tree",
8
- props: {
9
- route: {},
10
- validateErrors: {},
11
- module: {},
12
- schema: {},
13
- table: {},
14
- layout: {},
15
- next: {},
16
- set: {}
17
- },
18
- setup(S, { expose: z }) {
19
- let D = S, { module: W, schema: ne, table: u, layout: l, set: f } = U(D), E = m(), V = m([]), x = m(), y = m(0), g = m([]), R = m(!0), j = (e, n, o) => {
20
- let a = f.value[u.value.name].find((r) => r.PermissionId == e[l.value.id]);
21
- a && (a[l.value.expand] = !0);
22
- }, q = (e, n, o) => {
23
- let a = f.value[u.value.name].find((r) => r.PermissionId == e[l.value.id]);
24
- a && (a[l.value.expand] = !1);
25
- }, A = (e, n, o) => {
26
- let a = n.checkedKeys, r = e[l.value.id], i = _.contains(a, r), c = [], s = [], h = F.getChildren(e, "Children").map((t) => t[l.value.id]), p = f.value[u.value.name].map((t) => t[l.value.checked]), v = _.intersect(h, p);
27
- if (i) {
28
- c.push(e[l.value.id]);
29
- let t = _.except(h, v);
30
- t.length && (a.push(...t), c.push(...t));
31
- } else
32
- s.push(r), v.length == h.length && (s.push(...h), _.remove(a, h));
33
- c.length && G(c), s.length && H(s);
34
- }, G = (e) => {
35
- for (let n = 0; n < e.length; n++) {
36
- let o = P.getDefaultRow(u.value);
37
- o[l.value.checked] = e[n], f.value[u.value.name].push(o);
38
- }
39
- }, H = (e) => {
40
- let n = f.value[u.value.name];
41
- for (let o = 0; o < e.length; o++) {
42
- let a = n.find((r) => r[l.value.checked] == e[o]);
43
- _.remove(n, a);
44
- }
45
- }, J = (e) => {
46
- x.value = e.contentRect.width, y.value = Math.ceil(x.value / 300), I(u.value, l.value, f.value);
47
- }, I = (e, n, o) => {
48
- g.value = P.getLines(n.data, y.value, (a) => [a], () => 1), K(() => {
49
- let a = o[e.name].map((i) => i[n.checked]), r = 0;
50
- for (let i = 0; i < g.value.length; i++) {
51
- let c = g.value[i];
52
- for (let s = 0; s < c.length; s++) {
53
- let C = V.value[r], h = c[s].data, p = F.getFlat(h, "Children").map((t) => t[n.id]), v = _.intersect(p, a);
54
- if (!(v.length == 1 && p.length > 1)) for (let t = 0; t < v.length; t++) {
55
- let O = v[t];
56
- C.setChecked(O, !0, !1);
57
- }
58
- r++;
59
- }
60
- }
61
- });
62
- };
63
- return X(() => {
64
- x.value = le.getWidth(E.value), y.value = Math.ceil(x.value / 300), I(u.value, l.value, f.value);
65
- }), Y(() => u.value, (e, n) => {
66
- R.value = !1, K(() => {
67
- R.value = !0, I(e, l.value, f.value);
68
- });
69
- }), z({ resize: J }), (e, n) => {
70
- const o = N("el-tree"), a = N("el-col"), r = N("el-row");
71
- return k(), w("div", {
72
- ref_key: "layoutRef",
73
- ref: E,
74
- class: "ha-tree-layout"
75
- }, [
76
- d(R) ? (k(!0), w(L, { key: 0 }, B(d(g), (i, c) => (k(), M(r, null, {
77
- default: b(() => [
78
- (k(!0), w(L, null, B(i, ({ data: s, span: C, index: h }, p) => (k(), M(a, {
79
- span: C,
80
- key: `${c}.${p}`
81
- }, {
82
- default: b(() => [
83
- Z(o, {
84
- ref_for: !0,
85
- ref_key: "treeRefs",
86
- ref: V,
87
- "show-checkbox": "",
88
- "highlight-current": "",
89
- "default-expand-all": !1,
90
- "expand-on-click-node": !1,
91
- "node-key": d(l).id,
92
- data: s,
93
- props: { children: "Children", label: d(l).text },
94
- disabled: d(W).type == "Detail",
95
- onNodeExpand: d(j),
96
- onNodeCollapse: d(q),
97
- onCheck: (v, t) => d(A)(v, t, h)
98
- }, {
99
- default: b(({ node: v, data: t }) => [
100
- ee("div", te, T(t[d(l).text]), 1),
101
- d(l).suffix ? (k(), w("div", ae, T(t[d(l).suffix]), 1)) : $("", !0)
102
- ]),
103
- _: 2
104
- }, 1032, ["node-key", "data", "props", "disabled", "onNodeExpand", "onNodeCollapse", "onCheck"])
105
- ]),
106
- _: 2
107
- }, 1032, ["span"]))), 128))
108
- ]),
109
- _: 2
110
- }, 1024))), 256)) : $("", !0)
111
- ], 512);
112
- };
113
- }
114
- });
115
- export {
116
- de as default
117
- };
@@ -1,34 +0,0 @@
1
- import { defineComponent as h, toRefs as x, computed as C, openBlock as a, createElementBlock as i, unref as e, createElementVNode as N, toDisplayString as l, createTextVNode as b, createCommentVNode as s } from "vue";
2
- import { V as y } from "./main-CVY9fyTk.js";
3
- const g = ["title"], k = { class: "number" }, V = {
4
- key: 0,
5
- class: "option-suffix"
6
- }, v = {
7
- key: 1,
8
- class: "count"
9
- }, F = /* @__PURE__ */ h({
10
- __name: "TreeNode",
11
- props: {
12
- table: {},
13
- layout: {},
14
- row: {},
15
- node: {}
16
- },
17
- setup(d) {
18
- let u = d, { table: c, layout: n, row: t, node: p } = x(u), f = (o, r) => {
19
- let _ = (o.parent.data.Children ? o.parent.data.Children.indexOf(r) : o.parent.data.indexOf(r)) + 1;
20
- return y.padLeft(_, 2, "0");
21
- }, m = C(() => c.value.fields.find((r) => r.name == n.value.text).control.i18N);
22
- return (o, r) => (a(), i("div", {
23
- title: e(t)[e(n).title]
24
- }, [
25
- N("span", k, l(e(f)(e(p), e(t))), 1),
26
- b(" " + l(e(m) ? o.t(e(t)[e(n).text]) : e(t)[e(n).text]) + " ", 1),
27
- e(n).suffix ? (a(), i("span", V, l(e(t)[e(n).suffix]), 1)) : s("", !0),
28
- e(t).Children && e(t).Children.length > 0 ? (a(), i("span", v, "(" + l(e(t).Children.length) + ")", 1)) : s("", !0)
29
- ], 8, g));
30
- }
31
- });
32
- export {
33
- F as default
34
- };
@@ -1,63 +0,0 @@
1
- import { defineComponent as k, toRefs as b, ref as C, resolveComponent as h, openBlock as g, createBlock as v, unref as e, withCtx as t, createVNode as c, createSlots as y, createTextVNode as i, toDisplayString as r, createElementVNode as m } from "vue";
2
- import { A as x } from "./main-CVY9fyTk.js";
3
- import "vue-router";
4
- import "./vendor-intro.js-DwWqhM1v.js";
5
- const N = /* @__PURE__ */ m("i", { class: "fa fa-check" }, null, -1), V = /* @__PURE__ */ m("i", { class: "fa fa-chevron-left" }, null, -1), E = /* @__PURE__ */ k({
6
- __name: "Update",
7
- props: {
8
- table: {},
9
- layout: {},
10
- next: {},
11
- set: {}
12
- },
13
- emits: ["submit", "close"],
14
- setup(p, { expose: u, emit: f }) {
15
- let l = f;
16
- b(p);
17
- let o = C(!1), s = (n) => {
18
- o.value = !0, l("submit", n, null, (_) => {
19
- o.value = !1;
20
- });
21
- }, d = () => {
22
- l("close");
23
- };
24
- return u({ submit: s }), (n, _) => {
25
- const a = h("el-button");
26
- return g(), v(e(x), { padding: 5 }, {
27
- default: t(() => [
28
- c(a, {
29
- type: "primary",
30
- loading: e(o),
31
- onClick: e(s)
32
- }, y({
33
- default: t(() => [
34
- i(" " + r(n.t("common.confirm")), 1)
35
- ]),
36
- _: 2
37
- }, [
38
- e(o) ? void 0 : {
39
- name: "icon",
40
- fn: t(() => [
41
- N
42
- ]),
43
- key: "0"
44
- }
45
- ]), 1032, ["loading", "onClick"]),
46
- c(a, { onClick: e(d) }, {
47
- icon: t(() => [
48
- V
49
- ]),
50
- default: t(() => [
51
- i(" " + r(n.t("common.back")), 1)
52
- ]),
53
- _: 1
54
- }, 8, ["onClick"])
55
- ]),
56
- _: 1
57
- });
58
- };
59
- }
60
- });
61
- export {
62
- E as default
63
- };
@@ -1,67 +0,0 @@
1
- import { defineComponent as k, toRefs as V, ref as r, onMounted as b, computed as w, resolveComponent as x, openBlock as d, createElementBlock as n, Fragment as C, renderList as $, unref as s, createVNode as E, isRef as F, withCtx as y, createElementVNode as B } from "vue";
2
- import { u as c, $ as I, l as N, U as R, o as j } from "./main-CVY9fyTk.js";
3
- import "./QueryApi-DjT4dEyX.js";
4
- import { U as A } from "./UploadApi-Dy7aGZWx.js";
5
- const H = { class: "text-upload" }, L = ["src", "onClick", "alt"], M = ["src"], P = /* @__PURE__ */ k({
6
- __name: "Upload",
7
- props: {
8
- schema: {},
9
- table: {},
10
- field: {},
11
- set: {},
12
- row: {},
13
- modelValue: {}
14
- },
15
- setup(v) {
16
- let f = v, { table: O, field: S, set: T, row: q, modelValue: g } = V(f), i = r(), t = r(!1), p = r([]), m = r(), _ = (e) => {
17
- t.value = !0, m.value = e.url;
18
- }, h = () => {
19
- if (o.value)
20
- if (c.upload.method == "box")
21
- A.getUploadToken().then((e) => {
22
- o.value.split(",").forEach((a) => {
23
- let l = `${c.upload.address}/api/objects/download?slug=${a}&token=${e}`;
24
- p.value.push({ name: a, url: l });
25
- });
26
- });
27
- else {
28
- let e = I.httpOrHttps(o.value) ? o.value : N.api.url + o.value;
29
- R.isImage(e) ? i.value = e : i.value = j.getFileIcon(e);
30
- }
31
- };
32
- b(() => {
33
- h();
34
- });
35
- let o = w(() => g.value);
36
- return (e, u) => {
37
- const a = x("el-dialog");
38
- return d(), n("div", H, [
39
- (d(!0), n(C, null, $(s(p), (l, U) => (d(), n("img", {
40
- class: "detail-image",
41
- src: l.url,
42
- onClick: (z) => s(_)(l),
43
- alt: l.name,
44
- key: U
45
- }, null, 8, L))), 128)),
46
- E(a, {
47
- draggable: "",
48
- "append-to-body": "",
49
- top: "5vh",
50
- modelValue: s(t),
51
- "onUpdate:modelValue": u[0] || (u[0] = (l) => F(t) ? t.value = l : t = l)
52
- }, {
53
- default: y(() => [
54
- B("img", {
55
- width: "100%",
56
- src: s(m)
57
- }, null, 8, M)
58
- ]),
59
- _: 1
60
- }, 8, ["modelValue"])
61
- ]);
62
- };
63
- }
64
- });
65
- export {
66
- P as default
67
- };
@@ -1,146 +0,0 @@
1
- import { defineComponent as X, toRefs as Y, ref as p, onMounted as Z, computed as k, watch as ee, resolveComponent as x, openBlock as U, createElementBlock as $, normalizeClass as le, unref as o, createVNode as B, withCtx as I, createBlock as ae, createTextVNode as te, toDisplayString as oe, isRef as re, createElementVNode as ue } from "vue";
2
- import { l as R, n as ne, q as F, w as ie, m as s, h as C, u as P, U as O, o as S, $ as se } from "./main-CVY9fyTk.js";
3
- import "./QueryApi-DjT4dEyX.js";
4
- import { U as de } from "./UploadApi-Dy7aGZWx.js";
5
- const pe = {
6
- key: 0,
7
- class: "fa fa-upload"
8
- }, me = ["src"], be = /* @__PURE__ */ X({
9
- __name: "Upload",
10
- props: {
11
- schema: {},
12
- table: {},
13
- field: {},
14
- set: {},
15
- row: {},
16
- modelValue: {}
17
- },
18
- emits: ["submit", "change", "update:modelValue"],
19
- setup(q, { emit: z }) {
20
- let h = z, A = q, { table: d, field: u, row: g, set: ce, modelValue: E } = Y(A), m = p(!1), j = p({}), c = p([]), N = p(), L = p(), f = !0, b = p({ action: "", data: null }), H = (e) => {
21
- let l = de.getUploadToken();
22
- e.forEach((t) => {
23
- let a = `${P.upload.address}/api/objects/download?slug=${t[0]}&token=${l}`;
24
- c.value.push({ name: t[1], url: a });
25
- });
26
- }, D = async (e) => {
27
- f = !1;
28
- let l = `/upload?table=${d.value.name}&field=${u.value.name}`;
29
- b.value.action = R.api.url + l;
30
- let t = new ne();
31
- t.path = l, t.method = "POST", await F.onRequest(t);
32
- let a = t.getHeader("Authorization");
33
- return j.value.Authorization = a, u.value.control.fileType == "Image" ? e.type.indexOf("image") == 0 ? Promise.resolve() : (ie.error("请上传正确的图片文件"), Promise.reject()) : Promise.resolve();
34
- }, M = (e, l) => {
35
- f = !1;
36
- let a = [e.name.replace(R.api.url, "")];
37
- return F.post("/upload/delete", { files: a }).then(({ data: r }) => {
38
- let n = l.indexOf(e), _ = s.removeIndex(i.value, n, ",");
39
- if (h("update:modelValue", _), u.value.control.name) {
40
- let v = d.value.fields.find((y) => y.name == u.value.control.name), w = C.getValue(r.value, n, d.value, v), V = s.removeIndex(w, n, ",");
41
- C.setValue(V, r.value, d.value, n, v);
42
- }
43
- return Promise.resolve();
44
- }).catch(() => Promise.reject());
45
- }, G = (e) => {
46
- m.value = !0, N.value = e.url;
47
- }, J = (e, l, t) => {
48
- }, K = (e, l) => {
49
- F.handleResponseBody(e).then((t) => {
50
- let { name: a, url: r } = t.data[0];
51
- P.upload.method == "box" || O.isImage(r) || (l.url = S.getFileIcon(r));
52
- let _ = s.split(i.value, ",", r).join(",");
53
- if (i.value = _, u.value.control.name) {
54
- let v = d.value.fields.find((y) => y.name == u.value.control.name), w = g.value[v.value], V = s.split(w, ",", a);
55
- g.value[v.value] = V.join(",");
56
- }
57
- }).catch(() => {
58
- c.value = [];
59
- }).finally(() => {
60
- f = !0;
61
- });
62
- }, T = () => {
63
- if (c.value = [], !i.value)
64
- return;
65
- let e = s.split(i.value, ","), l = [];
66
- if (u.value.control.name) {
67
- let a = d.value.fields.find((n) => n.name == u.value.control.name), r = g.value[a.name];
68
- l = s.split(r, ",");
69
- }
70
- let t = s.combine(e, l);
71
- if (P.upload.method == "box")
72
- H(t);
73
- else {
74
- let a = se.httpOrHttps(i.value) ? i.value : R.api.url + i.value, r = { name: a, url: null };
75
- O.isImage(a) ? r.url = a : r.url = S.getFileIcon(a), c.value.push(r);
76
- }
77
- };
78
- Z(() => {
79
- T();
80
- });
81
- let i = k({
82
- get() {
83
- return E.value;
84
- },
85
- set(e) {
86
- h("update:modelValue", e), h("change", e);
87
- }
88
- }), Q = k(() => u.value.control.preview ? "picture-card" : null), W = k(() => W);
89
- return ee(() => i.value, (e, l) => {
90
- f && T();
91
- }), (e, l) => {
92
- const t = x("el-button"), a = x("el-upload"), r = x("el-dialog");
93
- return U(), $("div", {
94
- class: le(o(u).control.preview ? "control-file-preview" : "control-file")
95
- }, [
96
- B(a, {
97
- ref_key: "uploadRef",
98
- ref: L,
99
- "list-type": o(Q),
100
- action: o(b).action,
101
- headers: o(j),
102
- data: o(b).data,
103
- "file-list": o(c),
104
- "before-upload": o(D),
105
- "before-remove": o(M),
106
- "on-preview": o(G),
107
- "on-success": o(K),
108
- "on-progress": o(J),
109
- disabled: o(u).readonly
110
- }, {
111
- default: I(() => [
112
- o(u).control.preview ? (U(), $("i", pe)) : (U(), ae(t, {
113
- key: 1,
114
- icon: "el-icon-upload",
115
- type: "primary"
116
- }, {
117
- default: I(() => [
118
- te(oe(e.t("common.click_upload")), 1)
119
- ]),
120
- _: 1
121
- }))
122
- ]),
123
- _: 1
124
- }, 8, ["list-type", "action", "headers", "data", "file-list", "before-upload", "before-remove", "on-preview", "on-success", "on-progress", "disabled"]),
125
- B(r, {
126
- draggable: "",
127
- "append-to-body": "",
128
- modelValue: o(m),
129
- "onUpdate:modelValue": l[0] || (l[0] = (n) => re(m) ? m.value = n : m = n)
130
- }, {
131
- default: I(() => [
132
- ue("img", {
133
- width: "100%",
134
- src: o(N),
135
- alt: ""
136
- }, null, 8, me)
137
- ]),
138
- _: 1
139
- }, 8, ["modelValue"])
140
- ], 2);
141
- };
142
- }
143
- });
144
- export {
145
- be as default
146
- };
@@ -1,13 +0,0 @@
1
- import { q as o, t } from "./main-CVY9fyTk.js";
2
- let e = null;
3
- class s {
4
- /**
5
- * 获取上传令牌,过期自动获取
6
- */
7
- static async getUploadToken() {
8
- return e == null || t.getTime() >= t.getTime(e.expireTime) ? o.get("/upload/token").then(({ data: r }) => (e = r, Promise.resolve(e.token))).catch(() => Promise.reject()) : Promise.resolve(e.token);
9
- }
10
- }
11
- export {
12
- s as U
13
- };