halo-pc 1.0.23 → 1.0.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (341) hide show
  1. package/dist/{Article-4S7jNdlM.js → Article-BNacU3kR.js} +67 -73
  2. package/dist/{ArticleFooter-DQs1A7g2.js → ArticleFooter-Ya07aLYn.js} +17 -23
  3. package/dist/Autocomplete-Bud53PPx.js +48 -0
  4. package/dist/Autocomplete-CfE5ZKi2.js +49 -0
  5. package/dist/{Autocomplete-BXwtzACg.js → Autocomplete-CyXE-g54.js} +1 -1
  6. package/dist/{CSharp-aXdVWxPS.js → CSharp-DQLgcbTQ.js} +1 -1
  7. package/dist/{Calender-DSckLCh-.js → Calender-YujFxcgS.js} +4 -4
  8. package/dist/Callback-BaFg5U2u.js +20 -0
  9. package/dist/Cascader-C1kyNib7.js +41 -0
  10. package/dist/Cascader-D5PO9zK9.js +81 -0
  11. package/dist/Checkbox-CUtyT8l7.js +70 -0
  12. package/dist/{Checkbox-DtNMPsX4.js → Checkbox-Dkqh7eR4.js} +1 -1
  13. package/dist/Code-C160-nQS.js +54 -0
  14. package/dist/Code-DXkJ6x5_.js +4 -0
  15. package/dist/{Code-B2jpV8ek.js → Code-Dszcah6J.js} +1 -1
  16. package/dist/Code-pe9JMCAj.js +36 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-B1dEEN-z.js +59 -0
  18. package/dist/Column-C3j98RGT.js +69 -0
  19. package/dist/Comment-DIrY0RiI.js +98 -0
  20. package/dist/Compare-5j7MYou6.js +38 -0
  21. package/dist/{Compare-DMDVEK_Q.js → Compare-DKLN4wT4.js} +18 -24
  22. package/dist/Copy-Go_1uhB5.js +43 -0
  23. package/dist/Custom-C00oYEFm.js +51 -0
  24. package/dist/{DataExport-CU9MMI6C.js → DataExport-CFjE1loi.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-DdczhsmD.js → DataExport.vue_vue_type_script_setup_true_lang-yTe6V3Dn.js} +36 -41
  26. package/dist/{DataImport-Dzq9P4hO.js → DataImport-BQ0rieu8.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-BdDLixcQ.js → DataImport.vue_vue_type_script_setup_true_lang-LYppKTfv.js} +58 -62
  28. package/dist/{Date-BD5syhZL.js → Date-C5WCVXDU.js} +1 -1
  29. package/dist/Date-uHiOL-PD.js +37 -0
  30. package/dist/DateRange-B-HjKQpJ.js +57 -0
  31. package/dist/{DateTime-hLc--zka.js → DateTime-BrsWm90_.js} +1 -1
  32. package/dist/DateTime-D4Ck5hBj.js +38 -0
  33. package/dist/{DateTimeRange-CSRaF4s1.js → DateTimeRange-DjIp1SAX.js} +11 -17
  34. package/dist/Daterange-DiZUFL_F.js +57 -0
  35. package/dist/{Decimal-DY34o2Nh.js → Decimal-_6FobwTd.js} +1 -1
  36. package/dist/Delete-C46eSfMC.js +56 -0
  37. package/dist/{Detail-BYlDGKVP.js → Detail-BMbiENm0.js} +16 -21
  38. package/dist/Dictionary-Dga6kbof.js +55 -0
  39. package/dist/Email-PVk9gqfn.js +48 -0
  40. package/dist/{File-czipSVR0.js → File-B9Q2QOa-.js} +29 -34
  41. package/dist/Image-CzOq81lm.js +9 -0
  42. package/dist/{Index-CK25oTiA.js → Index-BmVFh23J.js} +1 -1
  43. package/dist/Index-CfDvQD94.js +4 -0
  44. package/dist/Index-Cq20wsZC.js +173 -0
  45. package/dist/Index-DGiRkT-p.js +4 -0
  46. package/dist/{Index-DIUPLGQ4.js → Index-DJz-eVVd.js} +20 -25
  47. package/dist/{Index-BSZ_tPMy.js → Index-DvfJmbPU.js} +1 -1
  48. package/dist/Index-DyK_nYp9.js +4 -0
  49. package/dist/Index-z5MnS_Wq.js +4 -0
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-Bp4JjtSz.js → Index.vue_vue_type_script_setup_true_lang-BpU5b5wU.js} +16 -21
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-DtZPmPAC.js → Index.vue_vue_type_script_setup_true_lang-ExArYWR3.js} +15 -20
  52. package/dist/{Install-qFVqjd7y.js → Install-CXj-qqao.js} +22 -27
  53. package/dist/Int-BG6MD24t.js +38 -0
  54. package/dist/Int-Dc7h_7Ga.js +41 -0
  55. package/dist/List-EDwPH8aL.js +73 -0
  56. package/dist/Maintaince-BqvMHxH0.js +14 -0
  57. package/dist/{Markdown-DymmFy2X.js → Markdown-CdP4Uf3M.js} +1 -1
  58. package/dist/Month-8mDUGsOp.js +37 -0
  59. package/dist/{Month-C5_ANmVr.js → Month-BUvqsSfA.js} +1 -1
  60. package/dist/Month-ClGd6IhI.js +38 -0
  61. package/dist/Normal-DUlWYlcs.js +254 -0
  62. package/dist/Paging-D_ticCtb.js +94 -0
  63. package/dist/{PagingHeader-BhwoSfFl.js → PagingHeader-aZb0fGRv.js} +24 -30
  64. package/dist/{PagingRow-BF6pUhoJ.js → PagingRow-_H7tCWDM.js} +20 -26
  65. package/dist/QueryApi-S0e3c6l0.js +13 -0
  66. package/dist/{Racebar-BNPXg9aN.js → Racebar-DESsxoi9.js} +42 -47
  67. package/dist/{Radio-wHwEjg6V.js → Radio-ChF3_bX0.js} +1 -1
  68. package/dist/{Register-B4Bc8s-2.js → Register-Du5lRabU.js} +66 -71
  69. package/dist/RichText-BJVvArGS.js +41 -0
  70. package/dist/{SearchFooter-zNYx9YkN.js → SearchFooter-HjKH1gD5.js} +1 -1
  71. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-CVxX9q-U.js → SearchFooter.vue_vue_type_style_index_0_lang-CeQ2BcOI.js} +1 -1
  72. package/dist/{SearchForm-CJ3ru63a.js → SearchForm-C-o0Orkp.js} +1 -1
  73. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-DDH5N323.js → SearchForm.vue_vue_type_style_index_0_lang-BijR_gZY.js} +40 -45
  74. package/dist/{Select-DFLY8nGY.js → Select-CYaWHcWs.js} +20 -26
  75. package/dist/{Select-WXibWkE0.js → Select-DgKzH1gD.js} +30 -36
  76. package/dist/{Select-BDaDhqW7.js → Select-DrybbaWb.js} +1 -1
  77. package/dist/{Single-CmQgQl_u.js → Single-B-253IzX.js} +112 -118
  78. package/dist/{Statistic-BuU_GxqZ.js → Statistic-B7Tib1eh.js} +36 -43
  79. package/dist/{Stock-CDJ-AVw-.js → Stock-BBcnzi6G.js} +1 -1
  80. package/dist/{Stock-B7NgfM19.js → Stock-DuyZiPxv.js} +1 -1
  81. package/dist/{Stock.vue_vue_type_style_index_0_lang-pZYnIJLp.js → Stock.vue_vue_type_style_index_0_lang-B6E5USSu.js} +28 -33
  82. package/dist/{Switch-DHf-0HZD.js → Switch-DP-_EUOK.js} +1 -1
  83. package/dist/{Table-7P4KXMsy.js → Table-2jZ0ISz7.js} +117 -124
  84. package/dist/{Table-CN-KYO1R.js → Table-hHG9kq1I.js} +79 -83
  85. package/dist/Text-C70dFJLS.js +4 -0
  86. package/dist/Text-RsldE1sr.js +52 -0
  87. package/dist/Text-lak-4VnA.js +53 -0
  88. package/dist/Text.vue_vue_type_style_index_0_lang-BP6k7KJG.js +53 -0
  89. package/dist/TextLink-C-NU-oVe.js +59 -0
  90. package/dist/{Textarea-B91EwIdj.js → Textarea-QGa_EKSl.js} +1 -1
  91. package/dist/Time-BgWPjGd1.js +37 -0
  92. package/dist/Timeline-CBWcOVdY.js +53 -0
  93. package/dist/Tree--dJKRJvG.js +117 -0
  94. package/dist/{Tree-DxJKaqc6.js → Tree-B2fZE9Qf.js} +108 -113
  95. package/dist/TreeNode-CxTzNQo9.js +37 -0
  96. package/dist/{Update-D5cXmHyf.js → Update-BqQGp_9h.js} +13 -18
  97. package/dist/{UpdateChild-DvrF1nBA.js → UpdateChild-DejVqKrE.js} +17 -23
  98. package/dist/{Upload-CRpCHz3m.js → Upload-9z5VIixQ.js} +58 -62
  99. package/dist/Upload-tlSQp2Qu.js +67 -0
  100. package/dist/UploadApi-B2dxOS0T.js +13 -0
  101. package/dist/{Year-CwaPwkLN.js → Year-CrN8Fl5U.js} +1 -1
  102. package/dist/Year-DNDyqe5X.js +41 -0
  103. package/dist/main-D3_7YhaK.js +15700 -0
  104. package/dist/main.js +130 -129
  105. package/dist/style.css +1 -1
  106. package/esm/@types/CreatePcOptions.d.ts +15 -0
  107. package/esm/@types/index.d.ts +2 -0
  108. package/esm/coms/business/@types/CrudProps.d.ts +22 -0
  109. package/esm/coms/business/@types/DrawerProps.d.ts +14 -0
  110. package/esm/coms/business/@types/DriverProps.d.ts +63 -0
  111. package/esm/coms/business/@types/FormProps.d.ts +18 -0
  112. package/esm/coms/business/@types/index.d.ts +5 -0
  113. package/esm/coms/business/Crud.vue.d.ts +1 -1
  114. package/esm/coms/business/Drawer.vue.d.ts +1 -1
  115. package/esm/coms/business/Driver.vue.d.ts +1 -1
  116. package/esm/coms/business/Form.vue.d.ts +1 -1
  117. package/esm/coms/business/index.d.ts +1 -1
  118. package/esm/coms/commons/@types/TableProps.d.ts +22 -0
  119. package/esm/coms/commons/@types/index.d.ts +2 -0
  120. package/esm/coms/commons/Table.vue.d.ts +1 -1
  121. package/esm/coms/commons/index.d.ts +1 -1
  122. package/esm/coms/controls/@types/ControlProps.d.ts +26 -0
  123. package/esm/coms/controls/@types/index.d.ts +2 -0
  124. package/esm/coms/controls/Autocomplete.vue.d.ts +1 -1
  125. package/esm/coms/controls/Cascader.vue.d.ts +1 -1
  126. package/esm/coms/controls/Checkbox.vue.d.ts +1 -1
  127. package/esm/coms/controls/Code.vue.d.ts +1 -1
  128. package/esm/coms/controls/Color.vue.d.ts +1 -1
  129. package/esm/coms/controls/Compare.vue.d.ts +1 -1
  130. package/esm/coms/controls/Date.vue.d.ts +1 -1
  131. package/esm/coms/controls/DateRange.vue.d.ts +1 -1
  132. package/esm/coms/controls/DateTime.vue.d.ts +1 -1
  133. package/esm/coms/controls/DateTimeRange.vue.d.ts +1 -1
  134. package/esm/coms/controls/Decimal.vue.d.ts +1 -1
  135. package/esm/coms/controls/Email.vue.d.ts +1 -1
  136. package/esm/coms/controls/Index.vue.d.ts +1 -1
  137. package/esm/coms/controls/Int.vue.d.ts +1 -1
  138. package/esm/coms/controls/Markdown.vue.d.ts +1 -1
  139. package/esm/coms/controls/Month.vue.d.ts +1 -1
  140. package/esm/coms/controls/Password.vue.d.ts +1 -1
  141. package/esm/coms/controls/Progress.vue.d.ts +1 -1
  142. package/esm/coms/controls/Radio.vue.d.ts +1 -1
  143. package/esm/coms/controls/Rate.vue.d.ts +1 -1
  144. package/esm/coms/controls/RichText.vue.d.ts +1 -1
  145. package/esm/coms/controls/Select.vue.d.ts +1 -1
  146. package/esm/coms/controls/Switch.vue.d.ts +1 -1
  147. package/esm/coms/controls/Text.vue.d.ts +1 -1
  148. package/esm/coms/controls/Textarea.vue.d.ts +1 -1
  149. package/esm/coms/controls/Time.vue.d.ts +1 -1
  150. package/esm/coms/controls/Upload.vue.d.ts +1 -1
  151. package/esm/coms/controls/Year.vue.d.ts +1 -1
  152. package/esm/coms/controls/index.d.ts +3 -1
  153. package/esm/coms/globals/@types/WindowOptions.d.ts +38 -0
  154. package/esm/coms/globals/@types/WindowProps.d.ts +27 -0
  155. package/esm/coms/globals/@types/index.d.ts +3 -0
  156. package/esm/coms/globals/Window.vue.d.ts +1 -1
  157. package/esm/coms/globals/index.d.ts +1 -1
  158. package/esm/coms/headers/Index.vue.d.ts +21 -2
  159. package/esm/coms/layouts/@types/ITaskBar.d.ts +6 -0
  160. package/esm/coms/layouts/@types/index.d.ts +2 -0
  161. package/esm/coms/layouts/index.d.ts +1 -1
  162. package/esm/coms/lists/@types/ListProps.d.ts +15 -0
  163. package/esm/coms/lists/@types/index.d.ts +2 -0
  164. package/esm/coms/lists/Racebar.vue.d.ts +1 -1
  165. package/esm/coms/lists/Statistic.vue.d.ts +1 -1
  166. package/esm/coms/lists/Stock.vue.d.ts +1 -1
  167. package/esm/coms/lists/Timeline.vue.d.ts +1 -1
  168. package/esm/coms/lists/Tree.vue.d.ts +1 -1
  169. package/esm/coms/lists/index.d.ts +1 -1
  170. package/esm/coms/pages/@types/ColumnPageProps.d.ts +11 -0
  171. package/esm/coms/pages/@types/CustomPageProps.d.ts +11 -0
  172. package/esm/coms/pages/@types/DeletePageProps.d.ts +15 -0
  173. package/esm/coms/pages/@types/KeyboardType.d.ts +8 -0
  174. package/esm/coms/pages/@types/ListPageProps.d.ts +15 -0
  175. package/esm/coms/pages/@types/PageEmit.d.ts +22 -0
  176. package/esm/coms/pages/@types/PageProps.d.ts +14 -0
  177. package/esm/coms/pages/@types/PagingPageProps.d.ts +15 -0
  178. package/esm/coms/pages/@types/SchemaProps.d.ts +30 -0
  179. package/esm/coms/pages/@types/SinglePageProps.d.ts +15 -0
  180. package/esm/coms/pages/@types/index.d.ts +11 -0
  181. package/esm/coms/pages/Column.vue.d.ts +1 -1
  182. package/esm/coms/pages/Custom.vue.d.ts +1 -1
  183. package/esm/coms/pages/Delete.vue.d.ts +1 -1
  184. package/esm/coms/pages/List.vue.d.ts +1 -1
  185. package/esm/coms/pages/Paging.vue.d.ts +1 -1
  186. package/esm/coms/pages/Single.vue.d.ts +1 -1
  187. package/esm/coms/pages/index.d.ts +1 -1
  188. package/esm/coms/pagings/@types/PagingProps.d.ts +11 -0
  189. package/esm/coms/pagings/@types/index.d.ts +2 -0
  190. package/esm/coms/pagings/Article.vue.d.ts +1 -1
  191. package/esm/coms/pagings/Code.vue.d.ts +1 -1
  192. package/esm/coms/pagings/File.vue.d.ts +1 -1
  193. package/esm/coms/pagings/Index.vue.d.ts +1 -1
  194. package/esm/coms/pagings/Table.vue.d.ts +1 -1
  195. package/esm/coms/pagings/index.d.ts +1 -1
  196. package/esm/coms/panels/@types/OperationProps.d.ts +10 -0
  197. package/esm/coms/panels/@types/index.d.ts +2 -0
  198. package/esm/coms/panels/Operation.vue.d.ts +1 -1
  199. package/esm/coms/panels/index.d.ts +1 -1
  200. package/esm/coms/partials/@types/ArticleFooterEmit.d.ts +26 -0
  201. package/esm/coms/partials/@types/DetailEmit.d.ts +18 -0
  202. package/esm/coms/partials/@types/DetailProps.d.ts +22 -0
  203. package/esm/coms/partials/@types/PagingHeaderEmit.d.ts +34 -0
  204. package/esm/coms/partials/@types/PagingHeaderProps.d.ts +30 -0
  205. package/esm/coms/partials/@types/PagingRowEmit.d.ts +26 -0
  206. package/esm/coms/partials/@types/PagingRowProps.d.ts +22 -0
  207. package/esm/coms/partials/@types/TreeNodeProps.d.ts +22 -0
  208. package/esm/coms/partials/@types/UpdateChildEmit.d.ts +22 -0
  209. package/esm/coms/partials/@types/UpdateChildProps.d.ts +22 -0
  210. package/esm/coms/partials/@types/UpdateEmit.d.ts +14 -0
  211. package/esm/coms/partials/@types/UpdateProps.d.ts +22 -0
  212. package/esm/coms/partials/@types/index.d.ts +13 -0
  213. package/esm/coms/partials/ArticleFooter.vue.d.ts +1 -1
  214. package/esm/coms/partials/Detail.vue.d.ts +1 -1
  215. package/esm/coms/partials/PagingHeader.vue.d.ts +1 -1
  216. package/esm/coms/partials/PagingRow.vue.d.ts +1 -1
  217. package/esm/coms/partials/TreeNode.vue.d.ts +1 -1
  218. package/esm/coms/partials/Update.vue.d.ts +1 -1
  219. package/esm/coms/partials/UpdateChild.vue.d.ts +1 -1
  220. package/esm/coms/partials/index.d.ts +1 -1
  221. package/esm/coms/searches/@types/SearchProps.d.ts +10 -0
  222. package/esm/coms/searches/@types/index.d.ts +2 -0
  223. package/esm/coms/searches/Autocomplete.vue.d.ts +1 -1
  224. package/esm/coms/searches/Daterange.vue.d.ts +1 -1
  225. package/esm/coms/searches/Index.vue.d.ts +1 -1
  226. package/esm/coms/searches/Int.vue.d.ts +1 -1
  227. package/esm/coms/searches/Month.vue.d.ts +1 -1
  228. package/esm/coms/searches/Select.vue.d.ts +1 -1
  229. package/esm/coms/searches/Text.vue.d.ts +1 -1
  230. package/esm/coms/searches/index.d.ts +1 -1
  231. package/esm/coms/singles/@types/SingleProps.d.ts +15 -0
  232. package/esm/coms/singles/@types/index.d.ts +2 -0
  233. package/esm/coms/singles/Code.vue.d.ts +1 -1
  234. package/esm/coms/singles/Comment.vue.d.ts +1 -1
  235. package/esm/coms/singles/Index.vue.d.ts +1 -1
  236. package/esm/coms/singles/Normal.vue.d.ts +1 -1
  237. package/esm/coms/singles/Statistic.vue.d.ts +1 -1
  238. package/esm/coms/singles/Stock.vue.d.ts +1 -1
  239. package/esm/coms/singles/Table.vue.d.ts +1 -1
  240. package/esm/coms/singles/Tree.vue.d.ts +1 -1
  241. package/esm/coms/singles/index.d.ts +1 -1
  242. package/esm/coms/texts/Autocomplete.vue.d.ts +1 -1
  243. package/esm/coms/texts/CSharp.vue.d.ts +1 -1
  244. package/esm/coms/texts/Cascader.vue.d.ts +1 -1
  245. package/esm/coms/texts/Checkbox.vue.d.ts +1 -1
  246. package/esm/coms/texts/Code.vue.d.ts +1 -1
  247. package/esm/coms/texts/Color.vue.d.ts +1 -1
  248. package/esm/coms/texts/Compare.vue.d.ts +1 -1
  249. package/esm/coms/texts/Copy.vue.d.ts +1 -1
  250. package/esm/coms/texts/Date.vue.d.ts +1 -1
  251. package/esm/coms/texts/DateRange.vue.d.ts +1 -1
  252. package/esm/coms/texts/DateTime.vue.d.ts +1 -1
  253. package/esm/coms/texts/Decimal.vue.d.ts +1 -1
  254. package/esm/coms/texts/Dictionary.vue.d.ts +1 -1
  255. package/esm/coms/texts/Email.vue.d.ts +1 -1
  256. package/esm/coms/texts/Index.vue.d.ts +1 -1
  257. package/esm/coms/texts/Int.vue.d.ts +1 -1
  258. package/esm/coms/texts/Markdown.vue.d.ts +1 -1
  259. package/esm/coms/texts/Month.vue.d.ts +1 -1
  260. package/esm/coms/texts/Password.vue.d.ts +1 -1
  261. package/esm/coms/texts/Progress.vue.d.ts +1 -1
  262. package/esm/coms/texts/Radio.vue.d.ts +1 -1
  263. package/esm/coms/texts/Rate.vue.d.ts +1 -1
  264. package/esm/coms/texts/RichText.vue.d.ts +1 -1
  265. package/esm/coms/texts/Select.vue.d.ts +1 -1
  266. package/esm/coms/texts/Switch.vue.d.ts +1 -1
  267. package/esm/coms/texts/Text.vue.d.ts +1 -1
  268. package/esm/coms/texts/TextLink.vue.d.ts +1 -1
  269. package/esm/coms/texts/Textarea.vue.d.ts +1 -1
  270. package/esm/coms/texts/Upload.vue.d.ts +1 -1
  271. package/esm/coms/texts/Year.vue.d.ts +1 -1
  272. package/esm/main.d.ts +2 -2
  273. package/esm/svcs/AppSvc.d.ts +4 -36
  274. package/esm/svcs/ControlSvc.d.ts +8 -8
  275. package/esm/svcs/PageSvc.d.ts +0 -12
  276. package/esm/svcs/StandardSvc.d.ts +13 -3
  277. package/esm/svcs/index.d.ts +1 -6
  278. package/package.json +2 -2
  279. package/dist/Autocomplete-B9SJNrNq.js +0 -53
  280. package/dist/Autocomplete-BZNDoWFj.js +0 -54
  281. package/dist/Callback-xlj8oj2-.js +0 -26
  282. package/dist/Cascader-Cwi5mukb.js +0 -87
  283. package/dist/Cascader-D1RbjsMs.js +0 -47
  284. package/dist/Checkbox-DFnVivE9.js +0 -76
  285. package/dist/Code-CEafFSlR.js +0 -4
  286. package/dist/Code-CTmcyEEu.js +0 -60
  287. package/dist/Code-DEOvcbgy.js +0 -42
  288. package/dist/Code.vue_vue_type_style_index_0_lang-Cf1QzL0C.js +0 -65
  289. package/dist/Column-zAYqqGgI.js +0 -74
  290. package/dist/Comment-BZTVtxyP.js +0 -104
  291. package/dist/Compare-Dy_YDKN2.js +0 -43
  292. package/dist/Copy-KA_-9J5g.js +0 -49
  293. package/dist/Custom-BpQzSpoK.js +0 -57
  294. package/dist/Date-yqT5zILQ.js +0 -43
  295. package/dist/DateRange-CUQsaLxD.js +0 -63
  296. package/dist/DateTime-DcerQByM.js +0 -44
  297. package/dist/Daterange-DY2i3jwP.js +0 -63
  298. package/dist/Delete-CXnvlNw9.js +0 -62
  299. package/dist/Dictionary-DtXqTf_k.js +0 -59
  300. package/dist/Email-ofMPw09E.js +0 -54
  301. package/dist/Image-BwJO-IEo.js +0 -9
  302. package/dist/Index-Bwy9Q7qy.js +0 -4
  303. package/dist/Index-Ch5_Jqsf.js +0 -4
  304. package/dist/Index-DnNVMYOZ.js +0 -4
  305. package/dist/Index-j9BffBys.js +0 -178
  306. package/dist/Index-qOyfJhdG.js +0 -4
  307. package/dist/Index.vue_vue_type_style_index_0_lang-CTTyswoD.js +0 -122
  308. package/dist/Int-BWcRpPzt.js +0 -44
  309. package/dist/Int-BYyavcrM.js +0 -46
  310. package/dist/List-BejoBArm.js +0 -79
  311. package/dist/Maintaince-Dlh2ICnO.js +0 -20
  312. package/dist/Month-Cf8e0cin.js +0 -43
  313. package/dist/Month-DaYaF2WK.js +0 -44
  314. package/dist/Normal-NYkjZ2aA.js +0 -257
  315. package/dist/Paging-DoQ_cXwj.js +0 -99
  316. package/dist/QueryApi-CPQ67lb4.js +0 -20
  317. package/dist/RichText-Cj5QP79L.js +0 -47
  318. package/dist/Text-C05EoDxO.js +0 -59
  319. package/dist/Text-Da3ROjFC.js +0 -58
  320. package/dist/Text-DqapEwUL.js +0 -4
  321. package/dist/Text.vue_vue_type_style_index_0_lang-DKX9_aI4.js +0 -59
  322. package/dist/TextLink-CQ_46bry.js +0 -65
  323. package/dist/Time-DxyveGcA.js +0 -43
  324. package/dist/Timeline-C1xOEcU4.js +0 -59
  325. package/dist/Tree-BK6p6Ake.js +0 -122
  326. package/dist/TreeNode-C84IoqkK.js +0 -42
  327. package/dist/Upload-CK-ALAKV.js +0 -72
  328. package/dist/UploadApi-B-7WPVHD.js +0 -20
  329. package/dist/Year-BOL9ynRU.js +0 -47
  330. package/dist/assets/@intlify-BISCQg1h.js +0 -2189
  331. package/dist/assets/@vue-aVYGocXp.js +0 -93
  332. package/dist/assets/clone-BZn0cTAu.js +0 -134
  333. package/dist/assets/file-saver-CwlpTZSc.js +0 -74
  334. package/dist/assets/liquidjs-C-LVcoaY.js +0 -2893
  335. package/dist/assets/moment-h96o7c8I.js +0 -2578
  336. package/dist/assets/sprintf-js-BPTdvBYM.js +0 -148
  337. package/dist/assets/underscore-B0BCaBxV.js +0 -1070
  338. package/dist/assets/underscore.string-DVXD2SZo.js +0 -425
  339. package/dist/assets/util-deprecate-Dzun97re.js +0 -28
  340. package/dist/assets/vue-i18n-CLr3brPz.js +0 -1670
  341. package/dist/main-CnPQ_RYM.js +0 -8948
@@ -10,7 +10,7 @@ const h = /* @__PURE__ */ u({
10
10
  modelValue: {}
11
11
  },
12
12
  setup(a) {
13
- let m = i(() => import("./Text-DqapEwUL.js")), s = a, { schema: r, table: n, field: d, set: f, row: p, modelValue: l } = c(s);
13
+ let m = i(() => import("./Text-C70dFJLS.js")), s = a, { schema: r, table: n, field: d, set: f, row: p, modelValue: l } = c(s);
14
14
  return (x, t) => (V(), b(e(m), {
15
15
  schema: e(r),
16
16
  table: e(n),
@@ -0,0 +1,56 @@
1
+ import { defineComponent as x, toRefs as g, ref as y, resolveComponent as B, openBlock as D, createElementBlock as N, createElementVNode as i, toDisplayString as o, unref as e, createVNode as r, withCtx as d, createTextVNode as m } from "vue";
2
+ import { e as l, T as V, v as w, r as E } from "./main-D3_7YhaK.js";
3
+ const S = { class: "delete" }, T = { class: "delete-title" }, q = { class: "delete-buttons" }, z = /* @__PURE__ */ x({
4
+ __name: "Delete",
5
+ props: {
6
+ base: {},
7
+ route: {},
8
+ url: {},
9
+ win: {}
10
+ },
11
+ emits: ["navigate", "succeed", "close"],
12
+ setup(u, { emit: _ }) {
13
+ let c = _, p = u, { base: v, route: f } = g(p), n = y(), k = (t) => {
14
+ n.value = t.next;
15
+ };
16
+ (() => {
17
+ k(v.value.data);
18
+ })();
19
+ let C = () => {
20
+ let t = [f.value.query.id];
21
+ V.post(n.value.delete.route, t).then((s) => {
22
+ w.success(s.message), b();
23
+ });
24
+ }, b = () => {
25
+ E.toBackUrl(), c("succeed", "delete");
26
+ }, h = () => {
27
+ c("close");
28
+ };
29
+ return (t, s) => {
30
+ const a = B("el-button");
31
+ return D(), N("div", S, [
32
+ i("div", T, o(e(l)("common.confirm_delete")), 1),
33
+ i("div", q, [
34
+ r(a, {
35
+ type: "danger",
36
+ onClick: e(C)
37
+ }, {
38
+ default: d(() => [
39
+ m(o(e(l)("common.confirm")), 1)
40
+ ]),
41
+ _: 1
42
+ }, 8, ["onClick"]),
43
+ r(a, { onClick: e(h) }, {
44
+ default: d(() => [
45
+ m(o(e(l)("common.cancel")), 1)
46
+ ]),
47
+ _: 1
48
+ }, 8, ["onClick"])
49
+ ])
50
+ ]);
51
+ };
52
+ }
53
+ });
54
+ export {
55
+ z as default
56
+ };
@@ -1,14 +1,9 @@
1
- import { defineComponent as C, toRefs as h, resolveComponent as v, openBlock as x, createBlock as b, unref as e, withCtx as t, createVNode as l, createTextVNode as c, toDisplayString as a, 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";
6
- import "./assets/moment-h96o7c8I.js";
7
- import { N, t as m } from "./main-CnPQ_RYM.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
1
+ import { defineComponent as C, toRefs as h, resolveComponent as v, openBlock as x, createBlock as b, unref as e, withCtx as t, createVNode as c, createTextVNode as a, toDisplayString as i, createElementVNode as m } from "vue";
2
+ import { G as N, e as s } from "./main-D3_7YhaK.js";
3
+ import "element-plus";
9
4
  import "vue-router";
10
5
  import "./assets/intro.js-DxWjEdp_.js";
11
- const V = /* @__PURE__ */ r("i", { class: "fa fa-edit" }, null, -1), g = /* @__PURE__ */ r("i", { class: "fa fa-copy" }, null, -1), B = /* @__PURE__ */ r("i", { class: "fa fa-chevron-left" }, null, -1), H = /* @__PURE__ */ C({
6
+ const V = /* @__PURE__ */ m("i", { class: "fa fa-edit" }, null, -1), g = /* @__PURE__ */ m("i", { class: "fa fa-copy" }, null, -1), B = /* @__PURE__ */ m("i", { class: "fa fa-chevron-left" }, null, -1), j = /* @__PURE__ */ C({
12
7
  __name: "Detail",
13
8
  props: {
14
9
  route: {},
@@ -18,18 +13,18 @@ const V = /* @__PURE__ */ r("i", { class: "fa fa-edit" }, null, -1), g = /* @__P
18
13
  },
19
14
  emits: ["copy", "edit", "close"],
20
15
  setup(_, { emit: f }) {
21
- let n = f, u = _, { route: D, table: p, set: s, next: w } = h(u), d = (o) => {
22
- n("copy", s.value[p.value.name][0], o);
16
+ let l = f, u = _, { route: D, table: r, set: p, next: w } = h(u), d = (o) => {
17
+ l("copy", p.value[r.value.name][0], o);
23
18
  }, y = (o) => {
24
- n("edit", s.value[p.value.name][0], o);
19
+ l("edit", p.value[r.value.name][0], o);
25
20
  }, k = () => {
26
- n("close");
21
+ l("close");
27
22
  };
28
23
  return (o, E) => {
29
- const i = v("el-button");
24
+ const n = v("el-button");
30
25
  return x(), b(e(N), { padding: 5 }, {
31
26
  default: t(() => [
32
- l(i, {
27
+ c(n, {
33
28
  type: "primary",
34
29
  onClick: e(y)
35
30
  }, {
@@ -37,11 +32,11 @@ const V = /* @__PURE__ */ r("i", { class: "fa fa-edit" }, null, -1), g = /* @__P
37
32
  V
38
33
  ]),
39
34
  default: t(() => [
40
- c(" " + a(e(m)("common.modify")), 1)
35
+ a(" " + i(e(s)("common.modify")), 1)
41
36
  ]),
42
37
  _: 1
43
38
  }, 8, ["onClick"]),
44
- l(i, {
39
+ c(n, {
45
40
  type: "primary",
46
41
  plain: "",
47
42
  onClick: e(d)
@@ -50,16 +45,16 @@ const V = /* @__PURE__ */ r("i", { class: "fa fa-edit" }, null, -1), g = /* @__P
50
45
  g
51
46
  ]),
52
47
  default: t(() => [
53
- c(" " + a(e(m)("common.copy")), 1)
48
+ a(" " + i(e(s)("common.copy")), 1)
54
49
  ]),
55
50
  _: 1
56
51
  }, 8, ["onClick"]),
57
- l(i, { onClick: e(k) }, {
52
+ c(n, { onClick: e(k) }, {
58
53
  icon: t(() => [
59
54
  B
60
55
  ]),
61
56
  default: t(() => [
62
- c(" " + a(e(m)("common.back")), 1)
57
+ a(" " + i(e(s)("common.back")), 1)
63
58
  ]),
64
59
  _: 1
65
60
  }, 8, ["onClick"])
@@ -70,5 +65,5 @@ const V = /* @__PURE__ */ r("i", { class: "fa fa-edit" }, null, -1), g = /* @__P
70
65
  }
71
66
  });
72
67
  export {
73
- H as default
68
+ j as default
74
69
  };
@@ -0,0 +1,55 @@
1
+ import { defineComponent as x, toRefs as g, computed as r, resolveComponent as h, openBlock as o, createElementBlock as a, Fragment as V, renderList as b, unref as k, createBlock as B, normalizeStyle as C, withCtx as N, createTextVNode as S, toDisplayString as n, createCommentVNode as w } from "vue";
2
+ import { U as s, W as D, u as E } from "./main-D3_7YhaK.js";
3
+ const z = { class: "text-dictionary" }, F = {
4
+ key: 0,
5
+ class: "suffix"
6
+ }, j = /* @__PURE__ */ x({
7
+ __name: "Dictionary",
8
+ props: {
9
+ schema: {},
10
+ table: {},
11
+ field: {},
12
+ set: {},
13
+ row: {},
14
+ modelValue: { type: [String, Number, Boolean] }
15
+ },
16
+ emits: ["submit", "change", "update:modelValue"],
17
+ setup(i, { emit: c }) {
18
+ let u = c, m = i, { table: L, field: d, set: R, modelValue: f } = g(m), t = r({
19
+ get() {
20
+ return f.value;
21
+ },
22
+ set(e) {
23
+ u("update:modelValue", e), u("change", e);
24
+ }
25
+ }), p = r(() => {
26
+ if (t.value == null)
27
+ return [];
28
+ if (s.isNumber(t.value))
29
+ return [t.value];
30
+ if (s.isBoolean(t.value))
31
+ return [t.value];
32
+ let e = t.value.toString();
33
+ return D.isEmpty(e) ? [] : e.split(",");
34
+ }), _ = r(() => E.fromValues(p.value, d.value.control.data.data, "value", "text"));
35
+ return (e, T) => {
36
+ const v = h("el-tag");
37
+ return o(), a("div", z, [
38
+ (o(!0), a(V, null, b(k(_), (l, y) => (o(), B(v, {
39
+ type: "info",
40
+ style: C({ color: l.color }),
41
+ key: y
42
+ }, {
43
+ default: N(() => [
44
+ S(n(l.text) + " ", 1),
45
+ l.suffix ? (o(), a("span", F, "(" + n(l.suffix) + ")", 1)) : w("", !0)
46
+ ]),
47
+ _: 2
48
+ }, 1032, ["style"]))), 128))
49
+ ]);
50
+ };
51
+ }
52
+ });
53
+ export {
54
+ j as default
55
+ };
@@ -0,0 +1,48 @@
1
+ import { defineComponent as f, toRefs as V, computed as _, resolveComponent as b, openBlock as y, createBlock as h, unref as e, withKeys as x, isRef as g, createSlots as k, withCtx as v, createTextVNode as w, toDisplayString as C } from "vue";
2
+ import { i as K } from "./main-D3_7YhaK.js";
3
+ const D = /* @__PURE__ */ f({
4
+ __name: "Email",
5
+ props: {
6
+ schema: {},
7
+ table: {},
8
+ field: {},
9
+ set: {},
10
+ row: {},
11
+ modelValue: {}
12
+ },
13
+ emits: ["submit", "change", "update:modelValue"],
14
+ setup(i, { emit: u }) {
15
+ let o = u, d = i, { table: p, field: t, set: B, modelValue: s } = V(d), r = () => {
16
+ o("submit");
17
+ }, l = _({
18
+ get() {
19
+ return s.value;
20
+ },
21
+ set(a) {
22
+ o("update:modelValue", a), o("change", a);
23
+ }
24
+ });
25
+ return (a, n) => {
26
+ const c = b("el-input");
27
+ return y(), h(c, {
28
+ type: "email",
29
+ disabled: e(t).control.readonly,
30
+ placeholder: e(K)(e(p).name, e(t).name),
31
+ onKeyup: x(e(r), ["enter", "native"]),
32
+ modelValue: e(l),
33
+ "onUpdate:modelValue": n[0] || (n[0] = (m) => g(l) ? l.value = m : l = m)
34
+ }, k({ _: 2 }, [
35
+ e(t).suffix ? {
36
+ name: "append",
37
+ fn: v(() => [
38
+ w(C(e(t).suffix), 1)
39
+ ]),
40
+ key: "0"
41
+ } : void 0
42
+ ]), 1032, ["disabled", "placeholder", "onKeyup", "modelValue"]);
43
+ };
44
+ }
45
+ });
46
+ export {
47
+ D as default
48
+ };
@@ -1,16 +1,11 @@
1
- import { defineComponent as J, toRefs as P, ref as T, resolveComponent as p, openBlock as l, createElementBlock as u, createVNode as h, unref as e, withCtx as r, createElementVNode as s, normalizeClass as x, Fragment as L, renderList as q, createBlock as g, toDisplayString as _, createTextVNode as w, createCommentVNode as S } from "vue";
2
- import { useRoute as A, useRouter as G } from "vue-router";
3
- import "./assets/underscore-B0BCaBxV.js";
4
- import "./assets/underscore.string-DVXD2SZo.js";
5
- import "./assets/clone-BZn0cTAu.js";
6
- import "./assets/file-saver-CwlpTZSc.js";
7
- import "./assets/moment-h96o7c8I.js";
8
- import { J as H, b as I, C as c, t as K, h as M, c as O } from "./main-CnPQ_RYM.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
1
+ import { defineComponent as j, toRefs as H, ref as P, resolveComponent as p, openBlock as l, createElementBlock as u, createVNode as h, unref as e, withCtx as r, createElementVNode as s, normalizeClass as x, Fragment as L, renderList as q, createBlock as y, toDisplayString as _, createTextVNode as w, createCommentVNode as S } from "vue";
2
+ import { useRoute as Y, useRouter as A } from "vue-router";
3
+ import { B as G, o as I, y as c, e as J, T as K, a as M } from "./main-D3_7YhaK.js";
4
+ import "element-plus";
10
5
  import "./assets/intro.js-DxWjEdp_.js";
11
- import { _ as Q } from "./SearchForm.vue_vue_type_style_index_0_lang-DDH5N323.js";
12
- const U = { class: "file-layout" }, W = { class: "toolbar" }, X = /* @__PURE__ */ s("i", { class: "fa fa-list" }, null, -1), Y = [
13
- X
6
+ import { _ as O } from "./SearchForm.vue_vue_type_style_index_0_lang-BijR_gZY.js";
7
+ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ */ s("i", { class: "fa fa-list" }, null, -1), X = [
8
+ W
14
9
  ], Z = /* @__PURE__ */ s("i", { class: "fa fa-image" }, null, -1), ee = [
15
10
  Z
16
11
  ], te = {
@@ -19,7 +14,7 @@ const U = { class: "file-layout" }, W = { class: "toolbar" }, X = /* @__PURE__ *
19
14
  }, oe = { class: "file-image" }, ae = ["src"], le = { class: "file-title" }, se = { class: "file-name" }, ne = ["src", "alt"], re = { class: "file-title" }, ie = {
20
15
  key: 2,
21
16
  class: "not-support"
22
- }, ke = /* @__PURE__ */ J({
17
+ }, he = /* @__PURE__ */ j({
23
18
  __name: "File",
24
19
  props: {
25
20
  searchData: {},
@@ -31,32 +26,32 @@ const U = { class: "file-layout" }, W = { class: "toolbar" }, X = /* @__PURE__ *
31
26
  set: {}
32
27
  },
33
28
  setup(z) {
34
- let F = z, { schema: N, table: n, layout: i, next: d, set: b, searchData: ue } = P(F), f = A(), v = G(), k = T(), C = (o) => {
29
+ let B = z, { schema: F, table: n, layout: i, next: d, set: b, searchData: ue } = H(B), f = Y(), v = A(), k = P(), C = (o) => {
35
30
  let a = { type: "fileLayout", value: o };
36
- M.post("/user/config", a).then((y) => {
31
+ K.post("/user/config", a).then((g) => {
37
32
  c.fileLayout = o;
38
33
  });
39
- }, V = (o) => {
34
+ }, N = (o) => {
40
35
  let a = { ...f.query };
41
36
  a.page = o, v.push({ path: d.value.paging.route, query: a });
42
- }, B = () => {
37
+ }, V = () => {
43
38
  let o = { ...f.query };
44
- o.page = "1", o.condition = O.encode(k.value);
39
+ o.page = "1", o.condition = M.encode(k.value);
45
40
  let a = { path: d.value.paging.route, query: o };
46
41
  v.push(a);
47
42
  };
48
43
  return (o, a) => {
49
- const y = p("router-link"), D = p("el-table-column"), R = p("el-table"), E = p("el-button"), j = p("el-pagination");
50
- return l(), u("div", U, [
51
- h(e(H), {
44
+ const g = p("router-link"), D = p("el-table-column"), R = p("el-table"), E = p("el-button"), T = p("el-pagination");
45
+ return l(), u("div", Q, [
46
+ h(e(G), {
52
47
  title: e(I)(o.module.type, o.module.name)
53
48
  }, {
54
49
  operation: r(() => [
55
- s("div", W, [
50
+ s("div", U, [
56
51
  s("a", {
57
52
  class: x({ active: e(c).fileLayout == "list" }),
58
53
  onClick: a[0] || (a[0] = (t) => e(C)("list"))
59
- }, Y, 2),
54
+ }, X, 2),
60
55
  s("a", {
61
56
  class: x({ active: e(c).fileLayout == "image" }),
62
57
  onClick: a[1] || (a[1] = (t) => e(C)("image"))
@@ -65,7 +60,7 @@ const U = { class: "file-layout" }, W = { class: "toolbar" }, X = /* @__PURE__ *
65
60
  ]),
66
61
  append: r(() => [
67
62
  e(c).fileLayout == "image" ? (l(), u("div", te, [
68
- (l(!0), u(L, null, q(e(b)[e(n).name], (t, $) => (l(), g(y, {
63
+ (l(!0), u(L, null, q(e(b)[e(n).name], (t, $) => (l(), y(g, {
69
64
  class: "file",
70
65
  to: { path: e(d).detail.route, query: { id: t[e(n).key.name], m: e(f).query.m } },
71
66
  key: $
@@ -81,17 +76,17 @@ const U = { class: "file-layout" }, W = { class: "toolbar" }, X = /* @__PURE__ *
81
76
  ]),
82
77
  _: 2
83
78
  }, 1032, ["to"]))), 128))
84
- ])) : e(c).fileLayout == "list" ? (l(), g(R, {
79
+ ])) : e(c).fileLayout == "list" ? (l(), y(R, {
85
80
  key: 1,
86
81
  class: "files-list",
87
82
  border: "",
88
83
  data: e(b)[e(n).name]
89
84
  }, {
90
85
  empty: r(() => [
91
- w(_(e(K)("common.no_data")), 1)
86
+ w(_(e(J)("common.no_data")), 1)
92
87
  ]),
93
88
  default: r(() => [
94
- (l(!0), u(L, null, q(e(n).show, (t, $) => (l(), g(D, {
89
+ (l(!0), u(L, null, q(e(n).show, (t, $) => (l(), y(D, {
95
90
  "show-overflow-tooltip": "",
96
91
  sortable: e(n) ? "custom" : !1,
97
92
  "min-width": "180",
@@ -118,12 +113,12 @@ const U = { class: "file-layout" }, W = { class: "toolbar" }, X = /* @__PURE__ *
118
113
  }, 8, ["data"])) : (l(), u("div", ie, "未支持的文件布局:" + _(e(c).fileLayout), 1))
119
114
  ]),
120
115
  default: r(() => [
121
- e(n).search.length > 0 ? (l(), g(Q, {
116
+ e(n).search.length > 0 ? (l(), y(O, {
122
117
  key: 0,
123
- schema: e(N),
118
+ schema: e(F),
124
119
  table: e(n),
125
120
  search: e(k),
126
- onSubmit: e(B)
121
+ onSubmit: e(V)
127
122
  }, null, 8, ["schema", "table", "search", "onSubmit"])) : S("", !0)
128
123
  ]),
129
124
  _: 1
@@ -133,7 +128,7 @@ const U = { class: "file-layout" }, W = { class: "toolbar" }, X = /* @__PURE__ *
133
128
  icon: "el-icon-plus"
134
129
  }, {
135
130
  default: r(() => [
136
- h(y, {
131
+ h(g, {
137
132
  to: { path: e(d).insert.route, query: { m: e(f).query.m } }
138
133
  }, {
139
134
  default: r(() => [
@@ -144,18 +139,18 @@ const U = { class: "file-layout" }, W = { class: "toolbar" }, X = /* @__PURE__ *
144
139
  ]),
145
140
  _: 1
146
141
  }),
147
- h(j, {
142
+ h(T, {
148
143
  background: "",
149
144
  layout: "total, prev, pager, next, jumper",
150
145
  "current-page": e(i).page,
151
146
  "page-size": e(i).pageSize,
152
147
  total: e(i).count,
153
- onCurrentChange: e(V)
148
+ onCurrentChange: e(N)
154
149
  }, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
155
150
  ]);
156
151
  };
157
152
  }
158
153
  });
159
154
  export {
160
- ke as default
155
+ he as default
161
156
  };
@@ -0,0 +1,9 @@
1
+ import { g as e } from "./main-D3_7YhaK.js";
2
+ const r = {};
3
+ function c(n, t) {
4
+ return null;
5
+ }
6
+ const o = /* @__PURE__ */ e(r, [["render", c]]);
7
+ export {
8
+ o as default
9
+ };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-DtZPmPAC.js";
1
+ import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-ExArYWR3.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -0,0 +1,4 @@
1
+ import { z as f } from "./main-D3_7YhaK.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,173 @@
1
+ import { defineComponent as z, ref as u, onMounted as H, computed as j, watch as J, resolveComponent as c, openBlock as d, createElementBlock as C, createVNode as g, unref as t, withCtx as p, createElementVNode as n, toDisplayString as k, createBlock as v, createCommentVNode as R, isRef as L, withKeys as T, normalizeClass as P, withModifiers as Q, createTextVNode as $, Fragment as W, renderList as X, nextTick as K } from "vue";
2
+ import { useRoute as Z } from "vue-router";
3
+ import { J as G, q as w, X as Y, e as i, W as ee, S as q, K as le, r as F, D as te } from "./main-D3_7YhaK.js";
4
+ const oe = { class: "login-container" }, re = { class: "title-container" }, se = { class: "title" }, ne = /* @__PURE__ */ n("span", { class: "svg-container" }, [
5
+ /* @__PURE__ */ n("i", { class: "fa fa-user" })
6
+ ], -1), ae = /* @__PURE__ */ n("span", { class: "svg-container" }, [
7
+ /* @__PURE__ */ n("i", { class: "fa fa-key" })
8
+ ], -1), ie = { class: "btn-others" }, ue = ["href"], de = ["innerHTML"], _e = /* @__PURE__ */ z({
9
+ __name: "Index",
10
+ setup(fe) {
11
+ let a = u({ id: "", secret: "" }), f = u("password"), s = u(!1), _ = u(!1), U = u(), V = u(), h = u(), x = Z(), M = {
12
+ id: [{
13
+ required: !0,
14
+ trigger: "blur",
15
+ validator: (l, e, r) => {
16
+ e ? e.indexOf("@") > -1 ? ee.isEmail(e) ? r() : r(new Error("邮箱格式不正确")) : r() : r(new Error(i("common.username_or_email") + " " + i("common.should_not_null")));
17
+ }
18
+ }]
19
+ // secret: [{required: true, trigger: 'blur', validator: validateSecret}]
20
+ }, N = (l) => {
21
+ l.key && l.key.length == 1 && (l.shiftKey && l.key >= "a" && l.key <= "z" || !l.shiftKey && l.key >= "A" && l.key <= "Z" ? s.value = !0 : s.value = !1), l.key == "CapsLock" && s.value == !0 && (s.value = !1);
22
+ }, B = () => {
23
+ f.value == "password" ? f.value = "" : f.value = "password", K(() => {
24
+ h.value.focus();
25
+ });
26
+ }, E = async (l) => {
27
+ _.value = !0, U.value.validate(async (e) => {
28
+ if (!e)
29
+ return _.value = !1, !1;
30
+ (await q.sso.create(l)).login(a.value).then(({ data: m }) => {
31
+ le.getBackUrl() ? F.toBackUrl() : F.to("/");
32
+ }).finally(() => {
33
+ K(() => {
34
+ _.value = !1;
35
+ });
36
+ });
37
+ });
38
+ }, O = async (l) => {
39
+ let e = await q.sso.create(l), r = x.query.return_url, m = `${window.location.origin}/sso/callback?type=${l.toLowerCase()}&return_url=${r}`;
40
+ return e.loginUrl(te.api.url + `/user/login?type=${l.toLowerCase()}&callback_url=` + encodeURIComponent(m));
41
+ }, A = (l) => Object.keys(l).reduce((e, r) => (e[r] = l[r], e), {});
42
+ H(async () => {
43
+ G.setI18nTitle("common.login");
44
+ for (let l = 0; l < w.ssos.length; l++) {
45
+ let e = w.ssos[l];
46
+ e.loginUrl = await O(e.type);
47
+ }
48
+ y.value != null && (a.value.id == "" ? V.value.focus() : a.value.secret == "" && h.value.focus());
49
+ });
50
+ let y = j(() => w.ssos.find((e) => e.type.toUpperCase() == "BEARER"));
51
+ return J(() => x, (l) => {
52
+ debugger;
53
+ const e = l.query;
54
+ e && A(e);
55
+ }), (l, e) => {
56
+ const r = c("el-input"), m = c("el-form-item"), b = c("el-tooltip"), D = c("el-button"), I = c("router-link"), S = c("el-form");
57
+ return d(), C("div", oe, [
58
+ g(S, {
59
+ ref_key: "loginFormRef",
60
+ ref: U,
61
+ autocomplete: "on",
62
+ "label-position": "left",
63
+ model: t(a),
64
+ rules: t(M)
65
+ }, {
66
+ default: p(() => [
67
+ n("div", re, [
68
+ n("h3", se, k(t(Y)("title")), 1)
69
+ ]),
70
+ t(y) ? (d(), v(m, {
71
+ key: 0,
72
+ prop: "id"
73
+ }, {
74
+ default: p(() => [
75
+ ne,
76
+ g(r, {
77
+ ref_key: "idRef",
78
+ ref: V,
79
+ placeholder: t(i)("common.username_or_email"),
80
+ name: "id",
81
+ type: "text",
82
+ tabindex: "1",
83
+ autocomplete: "on",
84
+ modelValue: t(a).id,
85
+ "onUpdate:modelValue": e[0] || (e[0] = (o) => t(a).id = o)
86
+ }, null, 8, ["placeholder", "modelValue"])
87
+ ]),
88
+ _: 1
89
+ })) : R("", !0),
90
+ t(y) ? (d(), v(b, {
91
+ key: 1,
92
+ content: "Caps lock is On",
93
+ placement: "right",
94
+ manual: "",
95
+ modelValue: t(s),
96
+ "onUpdate:modelValue": e[5] || (e[5] = (o) => L(s) ? s.value = o : s = o)
97
+ }, {
98
+ default: p(() => [
99
+ g(m, { prop: "secret" }, {
100
+ default: p(() => [
101
+ ae,
102
+ (d(), v(r, {
103
+ ref_key: "secretRef",
104
+ ref: h,
105
+ key: t(f),
106
+ type: t(f),
107
+ placeholder: t(i)("common.password"),
108
+ name: "secret",
109
+ tabindex: "2",
110
+ autocomplete: "on",
111
+ onKeyup: [
112
+ T(t(N), ["native"]),
113
+ e[2] || (e[2] = T((o) => t(E)("Bearer"), ["enter", "native"]))
114
+ ],
115
+ onBlur: e[1] || (e[1] = (o) => L(s) ? s.value = !1 : s = !1),
116
+ modelValue: t(a).secret,
117
+ "onUpdate:modelValue": e[3] || (e[3] = (o) => t(a).secret = o)
118
+ }, null, 8, ["type", "placeholder", "onKeyup", "modelValue"])),
119
+ n("span", {
120
+ class: "btn-pwd",
121
+ onClick: e[4] || (e[4] = //@ts-ignore
122
+ (...o) => t(B) && t(B)(...o))
123
+ }, [
124
+ n("i", {
125
+ class: P(t(f) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
126
+ }, null, 2)
127
+ ])
128
+ ]),
129
+ _: 1
130
+ })
131
+ ]),
132
+ _: 1
133
+ }, 8, ["modelValue"])) : R("", !0),
134
+ t(y) ? (d(), v(D, {
135
+ key: 2,
136
+ type: "primary",
137
+ class: "btn-login",
138
+ loading: t(_),
139
+ onClick: e[6] || (e[6] = Q((o) => t(E)("Bearer"), ["prevent"]))
140
+ }, {
141
+ default: p(() => [
142
+ $(k(t(i)("common.login")), 1)
143
+ ]),
144
+ _: 1
145
+ }, 8, ["loading"])) : R("", !0),
146
+ n("div", ie, [
147
+ (d(!0), C(W, null, X(t(w).ssos.filter((o) => o.type.toUpperCase() != "BEARER"), (o) => (d(), C("a", {
148
+ href: o.loginUrl
149
+ }, k(t(i)(o.text)), 9, ue))), 256)),
150
+ g(I, {
151
+ class: "btn-register",
152
+ to: "/register"
153
+ }, {
154
+ default: p(() => [
155
+ $(k(t(i)("common.register")), 1)
156
+ ]),
157
+ _: 1
158
+ })
159
+ ])
160
+ ]),
161
+ _: 1
162
+ }, 8, ["model", "rules"]),
163
+ n("div", {
164
+ class: "powered-by",
165
+ innerHTML: t(i)("sys.powered_by")
166
+ }, null, 8, de)
167
+ ]);
168
+ };
169
+ }
170
+ });
171
+ export {
172
+ _e as default
173
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./main-D3_7YhaK.js";
2
+ export {
3
+ f as default
4
+ };