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
@@ -1,57 +0,0 @@
1
- import { defineComponent as x, toRefs as U, ref as z, openBlock as n, createBlock as i, KeepAlive as L, resolveDynamicComponent as R, unref as o } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import { U as B, m as N, t as A } from "./main-CnPQ_RYM.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/clone-BZn0cTAu.js";
7
- import "./assets/moment-h96o7c8I.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
9
- const E = /* @__PURE__ */ x({
10
- __name: "Custom",
11
- props: {
12
- view: {},
13
- url: {},
14
- win: {}
15
- },
16
- emits: ["loaded", "navigate"],
17
- setup(s, { expose: u, emit: f }) {
18
- let a = f, m = s, { url: p, view: d, win: v } = U(m), r = z(), c = (e, t) => {
19
- if (!r.value || !r.value.keyboard)
20
- return !1;
21
- r.value.keyboard(e, t);
22
- }, h = (e) => !0, g = (e) => !0, w = () => {
23
- var t;
24
- let e = (t = r.value) == null ? void 0 : t.refresh;
25
- if (!e) {
26
- let l = B.getPath(p.value);
27
- N.notify(A("common.tips"), `要实现自定义刷新功能,请在组件 ${l} 内部定义并暴露refresh方法即可`, "warning");
28
- return;
29
- }
30
- e();
31
- }, _ = (e) => {
32
- var l;
33
- let t = (l = r.value) == null ? void 0 : l.beforeClose;
34
- t && t(e);
35
- }, b = (e) => {
36
- r.value && r.value.resize && r.value.resize(e);
37
- }, k = (e) => {
38
- r.value.handler(e);
39
- }, y = (e) => {
40
- a("loaded", e);
41
- }, C = (e) => {
42
- a("navigate", e);
43
- };
44
- return u({ shouldLoad: h, shouldSpin: g, refresh: w, beforeClose: _, keyboard: c, resize: b, handler: k }), (e, t) => (n(), i(L, null, [
45
- (n(), i(R(o(d)), {
46
- ref_key: "customRef",
47
- ref: r,
48
- win: o(v),
49
- onLoaded: o(y),
50
- onNavigate: o(C)
51
- }, null, 40, ["win", "onLoaded", "onNavigate"]))
52
- ], 1024));
53
- }
54
- });
55
- export {
56
- E as default
57
- };
@@ -1,43 +0,0 @@
1
- import { defineComponent as c, toRefs as f, computed as _, resolveComponent as V, openBlock as h, createBlock as b, unref as e, isRef as k } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import "./assets/clone-BZn0cTAu.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/moment-h96o7c8I.js";
7
- import { j as g } from "./main-CnPQ_RYM.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
9
- const U = /* @__PURE__ */ c({
10
- __name: "Date",
11
- props: {
12
- schema: {},
13
- table: {},
14
- field: {},
15
- set: {},
16
- row: {},
17
- modelValue: {}
18
- },
19
- emits: ["submit", "change", "update:modelValue"],
20
- setup(d, { emit: p }) {
21
- let l = p, n = d, { table: i, field: a, set: x, modelValue: s } = f(n), t = _({
22
- get() {
23
- return s.value;
24
- },
25
- set(o) {
26
- l("update:modelValue", o), l("change", o);
27
- }
28
- });
29
- return (o, m) => {
30
- const u = V("el-date-picker");
31
- return h(), b(u, {
32
- type: "date",
33
- placeholder: e(g)(e(i).name, e(a).name),
34
- disabled: e(a).control.readonly,
35
- modelValue: e(t),
36
- "onUpdate:modelValue": m[0] || (m[0] = (r) => k(t) ? t.value = r : t = r)
37
- }, null, 8, ["placeholder", "disabled", "modelValue"]);
38
- };
39
- }
40
- });
41
- export {
42
- U as default
43
- };
@@ -1,63 +0,0 @@
1
- import { defineComponent as f, toRefs as h, ref as k, computed as V, resolveComponent as b, openBlock as g, createBlock as v, unref as o, isRef as x } 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 { n as e, t as r } from "./main-CnPQ_RYM.js";
7
- import "./assets/moment-h96o7c8I.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
9
- const U = /* @__PURE__ */ f({
10
- __name: "DateRange",
11
- props: {
12
- schema: {},
13
- table: {},
14
- field: {},
15
- set: {},
16
- row: {},
17
- modelValue: {}
18
- },
19
- emits: ["submit", "change", "update:modelValue"],
20
- setup(s, { emit: p }) {
21
- let m = p, i = s, { table: M, field: u, set: Y, modelValue: c } = h(i), t = e.formatDate(/* @__PURE__ */ new Date()), D = k({
22
- shortcuts: [{
23
- text: r("common.latest_one_week"),
24
- value() {
25
- return [e.formatDate(e.addDays(t, -7)), t];
26
- }
27
- }, {
28
- text: r("common.latest_one_month"),
29
- value() {
30
- return [e.formatDate(e.addMonths(t, -1)), t];
31
- }
32
- }, {
33
- text: r("common.latest_three_months"),
34
- value() {
35
- return [e.formatDate(e.addMonths(t, -3)), t];
36
- }
37
- }]
38
- }), l = V({
39
- get() {
40
- return c.value;
41
- },
42
- set(a) {
43
- m("update:modelValue", a), m("change", a);
44
- }
45
- });
46
- return (a, n) => {
47
- const _ = b("el-date-picker");
48
- return g(), v(_, {
49
- type: "daterange",
50
- "value-dataat": "YYYY-MM-DD",
51
- "start-placeholder": o(r)("common.start_date"),
52
- "end-placeholder": o(r)("common.end_date"),
53
- "picker-options": o(D),
54
- disabled: o(u).control.readonly,
55
- modelValue: o(l),
56
- "onUpdate:modelValue": n[0] || (n[0] = (d) => x(l) ? l.value = d : l = d)
57
- }, null, 8, ["start-placeholder", "end-placeholder", "picker-options", "disabled", "modelValue"]);
58
- };
59
- }
60
- });
61
- export {
62
- U as default
63
- };
@@ -1,44 +0,0 @@
1
- import { defineComponent as c, toRefs as f, computed as _, resolveComponent as V, openBlock as h, createBlock as b, unref as e, isRef as k } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import "./assets/clone-BZn0cTAu.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/moment-h96o7c8I.js";
7
- import { j as Y } from "./main-CnPQ_RYM.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
9
- const M = /* @__PURE__ */ c({
10
- __name: "DateTime",
11
- props: {
12
- schema: {},
13
- table: {},
14
- field: {},
15
- set: {},
16
- row: {},
17
- modelValue: {}
18
- },
19
- emits: ["submit", "change", "update:modelValue"],
20
- setup(d, { emit: p }) {
21
- let l = p, i = d, { table: n, field: m, set: g, modelValue: s } = f(i), t = _({
22
- get() {
23
- return s.value;
24
- },
25
- set(o) {
26
- l("update:modelValue", o), l("change", o);
27
- }
28
- });
29
- return (o, a) => {
30
- const u = V("el-date-picker");
31
- return h(), b(u, {
32
- type: "datetime",
33
- "value-format": "YYYY-MM-DD HH:mm:ss SSS",
34
- disabled: e(m).control.readonly,
35
- placeholder: e(Y)(e(n).name, e(m).name),
36
- modelValue: e(t),
37
- "onUpdate:modelValue": a[0] || (a[0] = (r) => k(t) ? t.value = r : t = r)
38
- }, null, 8, ["disabled", "placeholder", "modelValue"]);
39
- };
40
- }
41
- });
42
- export {
43
- M as default
44
- };
@@ -1,63 +0,0 @@
1
- import { defineComponent as _, toRefs as g, ref as V, computed as k, resolveComponent as v, openBlock as x, createBlock as b, unref as o, isRef as C } 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 { n as t, t as r } from "./main-CnPQ_RYM.js";
7
- import "./assets/moment-h96o7c8I.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
9
- const q = /* @__PURE__ */ _({
10
- __name: "Daterange",
11
- props: {
12
- schema: {},
13
- table: {},
14
- field: {},
15
- searchData: {},
16
- modelValue: {}
17
- },
18
- emits: ["change", "update:modelValue"],
19
- setup(s, { emit: p }) {
20
- let n = p, c = s, { table: M, field: u, searchData: Y, modelValue: i } = g(c), a = t.formatDate(/* @__PURE__ */ new Date()), h = V([{
21
- text: r("common.latest_one_week"),
22
- value() {
23
- return [t.formatDate(t.addDays(a, -7)), a];
24
- }
25
- }, {
26
- text: r("common.latest_one_month"),
27
- value() {
28
- return [t.formatDate(t.addMonths(a, -1)), a];
29
- }
30
- }, {
31
- text: r("common.latest_three_months"),
32
- value() {
33
- return [t.formatDate(t.addMonths(a, -3)), a];
34
- }
35
- }]), D = (e) => {
36
- n("change", e);
37
- }, l = k({
38
- get() {
39
- return i.value;
40
- },
41
- set(e) {
42
- n("update:modelValue", e), n("change", e);
43
- }
44
- });
45
- return (e, m) => {
46
- const f = v("el-date-picker");
47
- return x(), b(f, {
48
- type: "daterange",
49
- "value-format": "YYYY-MM-DD",
50
- "start-placeholder": o(r)("common.start_date"),
51
- "end-placeholder": o(r)("common.end_date"),
52
- shortcuts: o(h),
53
- disabled: o(u).control.readonly,
54
- onChange: o(D),
55
- modelValue: o(l),
56
- "onUpdate:modelValue": m[0] || (m[0] = (d) => C(l) ? l.value = d : l = d)
57
- }, null, 8, ["start-placeholder", "end-placeholder", "shortcuts", "disabled", "onChange", "modelValue"]);
58
- };
59
- }
60
- });
61
- export {
62
- q as default
63
- };
@@ -1,62 +0,0 @@
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 a, withCtx as m, createTextVNode as d } 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 { t as l, h as V, m as w, r as E } from "./main-CnPQ_RYM.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
9
- const S = { class: "delete" }, q = { class: "delete-title" }, R = { class: "delete-buttons" }, J = /* @__PURE__ */ x({
10
- __name: "Delete",
11
- props: {
12
- base: {},
13
- route: {},
14
- url: {},
15
- win: {}
16
- },
17
- emits: ["navigate", "succeed", "close"],
18
- setup(u, { emit: p }) {
19
- let n = p, _ = u, { base: f, route: v } = g(_), s = y(), h = (t) => {
20
- s.value = t.next;
21
- };
22
- (() => {
23
- h(f.value.data);
24
- })();
25
- let k = () => {
26
- let t = [v.value.query.id];
27
- V.post(s.value.delete.route, t).then((c) => {
28
- w.success(c.message), C();
29
- });
30
- }, C = () => {
31
- E.toBackUrl(), n("succeed", "delete");
32
- }, b = () => {
33
- n("close");
34
- };
35
- return (t, c) => {
36
- const r = B("el-button");
37
- return D(), N("div", S, [
38
- i("div", q, o(e(l)("common.confirm_delete")), 1),
39
- i("div", R, [
40
- a(r, {
41
- type: "danger",
42
- onClick: e(k)
43
- }, {
44
- default: m(() => [
45
- d(o(e(l)("common.confirm")), 1)
46
- ]),
47
- _: 1
48
- }, 8, ["onClick"]),
49
- a(r, { onClick: e(b) }, {
50
- default: m(() => [
51
- d(o(e(l)("common.cancel")), 1)
52
- ]),
53
- _: 1
54
- }, 8, ["onClick"])
55
- ])
56
- ]);
57
- };
58
- }
59
- });
60
- export {
61
- J as default
62
- };
@@ -1,59 +0,0 @@
1
- import { defineComponent as g, toRefs as x, computed as o, resolveComponent as h, openBlock as r, createElementBlock as a, Fragment as V, renderList as S, unref as b, createBlock as k, normalizeStyle as B, withCtx as C, createTextVNode as N, toDisplayString as u, createCommentVNode as H } from "vue";
2
- import { v as s, S as w, A } from "./main-CnPQ_RYM.js";
3
- import "./assets/clone-BZn0cTAu.js";
4
- import "./assets/file-saver-CwlpTZSc.js";
5
- import "./assets/moment-h96o7c8I.js";
6
- import "./assets/liquidjs-C-LVcoaY.js";
7
- const D = { class: "text-dictionary" }, E = {
8
- key: 0,
9
- class: "suffix"
10
- }, J = /* @__PURE__ */ g({
11
- __name: "Dictionary",
12
- props: {
13
- schema: {},
14
- table: {},
15
- field: {},
16
- set: {},
17
- row: {},
18
- modelValue: { type: [String, Number, Boolean] }
19
- },
20
- emits: ["submit", "change", "update:modelValue"],
21
- setup(i, { emit: m }) {
22
- let n = m, p = i, { table: T, field: c, set: z, modelValue: d } = x(p), t = o({
23
- get() {
24
- return d.value;
25
- },
26
- set(e) {
27
- n("update:modelValue", e), n("change", e);
28
- }
29
- }), f = o(() => {
30
- if (t.value == null)
31
- return [];
32
- if (s.isNumber(t.value))
33
- return [t.value];
34
- if (s.isBoolean(t.value))
35
- return [t.value];
36
- let e = t.value.toString();
37
- return w.isEmpty(e) ? [] : e.split(",");
38
- }), v = o(() => A.fromValues(f.value, c.value.control.data.data, "value", "text"));
39
- return (e, F) => {
40
- const _ = h("el-tag");
41
- return r(), a("div", D, [
42
- (r(!0), a(V, null, S(b(v), (l, y) => (r(), k(_, {
43
- type: "info",
44
- style: B({ color: l.color }),
45
- key: y
46
- }, {
47
- default: C(() => [
48
- N(u(l.text) + " ", 1),
49
- l.suffix ? (r(), a("span", E, "(" + u(l.suffix) + ")", 1)) : H("", !0)
50
- ]),
51
- _: 2
52
- }, 1032, ["style"]))), 128))
53
- ]);
54
- };
55
- }
56
- });
57
- export {
58
- J as default
59
- };
@@ -1,54 +0,0 @@
1
- import { defineComponent as f, toRefs as _, computed as V, resolveComponent as b, openBlock as h, createBlock as y, 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 "./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 { g as K } from "./main-CnPQ_RYM.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
9
- const q = /* @__PURE__ */ f({
10
- __name: "Email",
11
- props: {
12
- schema: {},
13
- table: {},
14
- field: {},
15
- set: {},
16
- row: {},
17
- modelValue: {}
18
- },
19
- emits: ["submit", "change", "update:modelValue"],
20
- setup(p, { emit: n }) {
21
- let l = n, r = p, { table: d, field: t, set: B, modelValue: u } = _(r), s = () => {
22
- l("submit");
23
- }, o = V({
24
- get() {
25
- return u.value;
26
- },
27
- set(a) {
28
- l("update:modelValue", a), l("change", a);
29
- }
30
- });
31
- return (a, m) => {
32
- const c = b("el-input");
33
- return h(), y(c, {
34
- type: "email",
35
- disabled: e(t).control.readonly,
36
- placeholder: e(K)(e(d).name, e(t).name),
37
- onKeyup: x(e(s), ["enter", "native"]),
38
- modelValue: e(o),
39
- "onUpdate:modelValue": m[0] || (m[0] = (i) => g(o) ? o.value = i : o = i)
40
- }, k({ _: 2 }, [
41
- e(t).suffix ? {
42
- name: "append",
43
- fn: v(() => [
44
- w(C(e(t).suffix), 1)
45
- ]),
46
- key: "0"
47
- } : void 0
48
- ]), 1032, ["disabled", "placeholder", "onKeyup", "modelValue"]);
49
- };
50
- }
51
- });
52
- export {
53
- q as default
54
- };
@@ -1,9 +0,0 @@
1
- import { o as e } from "./main-CnPQ_RYM.js";
2
- const r = {};
3
- function c(n, t) {
4
- return null;
5
- }
6
- const _ = /* @__PURE__ */ e(r, [["render", c]]);
7
- export {
8
- _ as default
9
- };
@@ -1,4 +0,0 @@
1
- import { E as f } from "./main-CnPQ_RYM.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { Z as f } from "./main-CnPQ_RYM.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { a as f } from "./main-CnPQ_RYM.js";
2
- export {
3
- f as default
4
- };
@@ -1,178 +0,0 @@
1
- import { defineComponent as I, ref as u, onMounted as j, computed as D, watch as P, resolveComponent as c, openBlock as d, createElementBlock as R, createVNode as g, unref as o, withCtx as m, createElementVNode as n, toDisplayString as k, createBlock as v, createCommentVNode as U, isRef as L, withKeys as T, normalizeClass as Q, withModifiers as W, createTextVNode as $, Fragment as Z, renderList as G, nextTick as S } from "vue";
2
- import { useRoute as J } from "vue-router";
3
- import "./assets/underscore-B0BCaBxV.js";
4
- import { i as X, z as w, W as Y, t as i, S as ee, R as F, U as te, r as K, x as oe } from "./main-CnPQ_RYM.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/clone-BZn0cTAu.js";
7
- import "./assets/moment-h96o7c8I.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
9
- const le = { class: "login-container" }, re = { class: "title-container" }, se = { class: "title" }, ne = /* @__PURE__ */ n("span", { class: "svg-container" }, [
10
- /* @__PURE__ */ n("i", { class: "fa fa-user" })
11
- ], -1), ae = /* @__PURE__ */ n("span", { class: "svg-container" }, [
12
- /* @__PURE__ */ n("i", { class: "fa fa-key" })
13
- ], -1), ie = { class: "btn-others" }, ue = ["href"], de = ["innerHTML"], we = /* @__PURE__ */ I({
14
- __name: "Index",
15
- setup(pe) {
16
- let a = u({ id: "", secret: "" }), p = u("password"), s = u(!1), _ = u(!1), C = u(), V = u(), h = u(), x = J(), H = {
17
- id: [{
18
- required: !0,
19
- trigger: "blur",
20
- validator: (t, e, r) => {
21
- 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")));
22
- }
23
- }]
24
- // secret: [{required: true, trigger: 'blur', validator: validateSecret}]
25
- }, M = (t) => {
26
- t.key && t.key.length == 1 && (t.shiftKey && t.key >= "a" && t.key <= "z" || !t.shiftKey && t.key >= "A" && t.key <= "Z" ? s.value = !0 : s.value = !1), t.key == "CapsLock" && s.value == !0 && (s.value = !1);
27
- }, B = () => {
28
- p.value == "password" ? p.value = "" : p.value = "password", S(() => {
29
- h.value.focus();
30
- });
31
- }, E = async (t) => {
32
- _.value = !0, C.value.validate(async (e) => {
33
- if (!e)
34
- return _.value = !1, !1;
35
- (await F.sso.create(t)).login(a.value).then(({ data: f }) => {
36
- te.getBackUrl() ? K.toBackUrl() : K.to("/");
37
- }).finally(() => {
38
- S(() => {
39
- _.value = !1;
40
- });
41
- });
42
- });
43
- }, N = async (t) => {
44
- let e = await F.sso.create(t), r = x.query.return_url, f = `${window.location.origin}/sso/callback?type=${t.toLowerCase()}&return_url=${r}`;
45
- return e.loginUrl(oe.api.url + `/user/login?type=${t.toLowerCase()}&callback_url=` + encodeURIComponent(f));
46
- }, O = (t) => Object.keys(t).reduce((e, r) => (e[r] = t[r], e), {});
47
- j(async () => {
48
- X.setI18nTitle("common.login");
49
- for (let t = 0; t < w.ssos.length; t++) {
50
- let e = w.ssos[t];
51
- e.loginUrl = await N(e.type);
52
- }
53
- y.value != null && (a.value.id == "" ? V.value.focus() : a.value.secret == "" && h.value.focus());
54
- });
55
- let y = D(() => w.ssos.find((e) => e.type.toUpperCase() == "BEARER"));
56
- return P(() => x, (t) => {
57
- debugger;
58
- const e = t.query;
59
- e && O(e);
60
- }), (t, e) => {
61
- const r = c("el-input"), f = c("el-form-item"), b = c("el-tooltip"), q = c("el-button"), z = c("router-link"), A = c("el-form");
62
- return d(), R("div", le, [
63
- g(A, {
64
- ref_key: "loginFormRef",
65
- ref: C,
66
- autocomplete: "on",
67
- "label-position": "left",
68
- model: o(a),
69
- rules: o(H)
70
- }, {
71
- default: m(() => [
72
- n("div", re, [
73
- n("h3", se, k(o(Y)("title")), 1)
74
- ]),
75
- o(y) ? (d(), v(f, {
76
- key: 0,
77
- prop: "id"
78
- }, {
79
- default: m(() => [
80
- ne,
81
- g(r, {
82
- ref_key: "idRef",
83
- ref: V,
84
- placeholder: o(i)("common.username_or_email"),
85
- name: "id",
86
- type: "text",
87
- tabindex: "1",
88
- autocomplete: "on",
89
- modelValue: o(a).id,
90
- "onUpdate:modelValue": e[0] || (e[0] = (l) => o(a).id = l)
91
- }, null, 8, ["placeholder", "modelValue"])
92
- ]),
93
- _: 1
94
- })) : U("", !0),
95
- o(y) ? (d(), v(b, {
96
- key: 1,
97
- content: "Caps lock is On",
98
- placement: "right",
99
- manual: "",
100
- modelValue: o(s),
101
- "onUpdate:modelValue": e[5] || (e[5] = (l) => L(s) ? s.value = l : s = l)
102
- }, {
103
- default: m(() => [
104
- g(f, { prop: "secret" }, {
105
- default: m(() => [
106
- ae,
107
- (d(), v(r, {
108
- ref_key: "secretRef",
109
- ref: h,
110
- key: o(p),
111
- type: o(p),
112
- placeholder: o(i)("common.password"),
113
- name: "secret",
114
- tabindex: "2",
115
- autocomplete: "on",
116
- onKeyup: [
117
- T(o(M), ["native"]),
118
- e[2] || (e[2] = T((l) => o(E)("Bearer"), ["enter", "native"]))
119
- ],
120
- onBlur: e[1] || (e[1] = (l) => L(s) ? s.value = !1 : s = !1),
121
- modelValue: o(a).secret,
122
- "onUpdate:modelValue": e[3] || (e[3] = (l) => o(a).secret = l)
123
- }, null, 8, ["type", "placeholder", "onKeyup", "modelValue"])),
124
- n("span", {
125
- class: "btn-pwd",
126
- onClick: e[4] || (e[4] = //@ts-ignore
127
- (...l) => o(B) && o(B)(...l))
128
- }, [
129
- n("i", {
130
- class: Q(o(p) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
131
- }, null, 2)
132
- ])
133
- ]),
134
- _: 1
135
- })
136
- ]),
137
- _: 1
138
- }, 8, ["modelValue"])) : U("", !0),
139
- o(y) ? (d(), v(q, {
140
- key: 2,
141
- type: "primary",
142
- class: "btn-login",
143
- loading: o(_),
144
- onClick: e[6] || (e[6] = W((l) => o(E)("Bearer"), ["prevent"]))
145
- }, {
146
- default: m(() => [
147
- $(k(o(i)("common.login")), 1)
148
- ]),
149
- _: 1
150
- }, 8, ["loading"])) : U("", !0),
151
- n("div", ie, [
152
- (d(!0), R(Z, null, G(o(w).ssos.filter((l) => l.type.toUpperCase() != "BEARER"), (l) => (d(), R("a", {
153
- href: l.loginUrl
154
- }, k(o(i)(l.text)), 9, ue))), 256)),
155
- g(z, {
156
- class: "btn-register",
157
- to: "/register"
158
- }, {
159
- default: m(() => [
160
- $(k(o(i)("common.register")), 1)
161
- ]),
162
- _: 1
163
- })
164
- ])
165
- ]),
166
- _: 1
167
- }, 8, ["model", "rules"]),
168
- n("div", {
169
- class: "powered-by",
170
- innerHTML: o(i)("sys.powered_by")
171
- }, null, 8, de)
172
- ]);
173
- };
174
- }
175
- });
176
- export {
177
- we as default
178
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./Index.vue_vue_type_style_index_0_lang-CTTyswoD.js";
2
- export {
3
- f as default
4
- };