halo-pc 1.0.25 → 1.0.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (328) hide show
  1. package/dist/{Article-B85JcyzM.js → Article-BNacU3kR.js} +65 -71
  2. package/dist/{ArticleFooter-BCHVxIWa.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-DUmzcj_9.js → Autocomplete-CyXE-g54.js} +1 -1
  6. package/dist/{CSharp-CLKgbbVS.js → CSharp-DQLgcbTQ.js} +1 -1
  7. package/dist/{Calender-DIjZoC1-.js → Calender-YujFxcgS.js} +1 -1
  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-BJjYhPvp.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-C5fE_bvq.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-DICZHIEn.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-f8caAI4D.js → DataExport-CFjE1loi.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-CbiPENFw.js → DataExport.vue_vue_type_script_setup_true_lang-yTe6V3Dn.js} +36 -41
  26. package/dist/{DataImport-CZaVBfZq.js → DataImport-BQ0rieu8.js} +1 -1
  27. package/dist/DataImport.vue_vue_type_script_setup_true_lang-LYppKTfv.js +172 -0
  28. package/dist/{Date-DtHzdllB.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-G4F8DiCI.js → DateTime-BrsWm90_.js} +1 -1
  32. package/dist/DateTime-D4Ck5hBj.js +38 -0
  33. package/dist/{DateTimeRange-CG9K8X5b.js → DateTimeRange-DjIp1SAX.js} +11 -17
  34. package/dist/Daterange-DiZUFL_F.js +57 -0
  35. package/dist/{Decimal-iKOftOtx.js → Decimal-_6FobwTd.js} +1 -1
  36. package/dist/Delete-C46eSfMC.js +56 -0
  37. package/dist/{Detail-syloerEZ.js → Detail-BMbiENm0.js} +14 -20
  38. package/dist/Dictionary-Dga6kbof.js +55 -0
  39. package/dist/Email-PVk9gqfn.js +48 -0
  40. package/dist/{File-IQG0slBy.js → File-B9Q2QOa-.js} +22 -28
  41. package/dist/{Image-BRH98A7N.js → Image-CzOq81lm.js} +1 -1
  42. package/dist/{Index-CnqiNw5R.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-CttpoRk-.js → Index-DJz-eVVd.js} +20 -25
  47. package/dist/{Index-BqseRji6.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-Cx8eXCsw.js → Index.vue_vue_type_script_setup_true_lang-BpU5b5wU.js} +16 -22
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-C0QNQ1MJ.js → Index.vue_vue_type_script_setup_true_lang-ExArYWR3.js} +14 -20
  52. package/dist/{Install-BEeQqQzM.js → Install-CXj-qqao.js} +21 -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-DR4rlU3-.js → Markdown-CdP4Uf3M.js} +1 -1
  58. package/dist/Month-8mDUGsOp.js +37 -0
  59. package/dist/{Month-BRuj2vZ-.js → Month-BUvqsSfA.js} +1 -1
  60. package/dist/Month-ClGd6IhI.js +38 -0
  61. package/dist/{Normal-B6h5U5-c.js → Normal-DUlWYlcs.js} +94 -99
  62. package/dist/Paging-D_ticCtb.js +94 -0
  63. package/dist/{PagingHeader-BEfi7NBv.js → PagingHeader-aZb0fGRv.js} +24 -30
  64. package/dist/{PagingRow-C-l9v-bo.js → PagingRow-_H7tCWDM.js} +20 -26
  65. package/dist/QueryApi-S0e3c6l0.js +13 -0
  66. package/dist/{Racebar-BdLTF_ZH.js → Racebar-DESsxoi9.js} +37 -42
  67. package/dist/{Radio-DVmzOE7P.js → Radio-ChF3_bX0.js} +1 -1
  68. package/dist/{Register-CQSkhKvF.js → Register-Du5lRabU.js} +70 -75
  69. package/dist/RichText-BJVvArGS.js +41 -0
  70. package/dist/{SearchFooter-CKOh4Fzz.js → SearchFooter-HjKH1gD5.js} +1 -1
  71. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-D6xp89r9.js → SearchFooter.vue_vue_type_style_index_0_lang-CeQ2BcOI.js} +1 -1
  72. package/dist/{SearchForm-WtocjgIQ.js → SearchForm-C-o0Orkp.js} +1 -1
  73. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-DFqj7f23.js → SearchForm.vue_vue_type_style_index_0_lang-BijR_gZY.js} +40 -45
  74. package/dist/{Select-DuHwIGlP.js → Select-CYaWHcWs.js} +20 -26
  75. package/dist/{Select-RG1Hkpw4.js → Select-DgKzH1gD.js} +28 -34
  76. package/dist/{Select-CGC68XKI.js → Select-DrybbaWb.js} +1 -1
  77. package/dist/{Single-PROE_P9A.js → Single-B-253IzX.js} +106 -111
  78. package/dist/{Statistic-R1oy4jve.js → Statistic-B7Tib1eh.js} +24 -29
  79. package/dist/{Stock-Dzlxs_TK.js → Stock-BBcnzi6G.js} +1 -1
  80. package/dist/{Stock-zGPixaHC.js → Stock-DuyZiPxv.js} +1 -1
  81. package/dist/{Stock.vue_vue_type_style_index_0_lang-DAlvmXf0.js → Stock.vue_vue_type_style_index_0_lang-B6E5USSu.js} +24 -29
  82. package/dist/{Switch-y8TGQEHX.js → Switch-DP-_EUOK.js} +1 -1
  83. package/dist/{Table-D--KFpz3.js → Table-2jZ0ISz7.js} +68 -74
  84. package/dist/{Table-NDlPEOwH.js → Table-hHG9kq1I.js} +81 -85
  85. package/dist/Text-C70dFJLS.js +4 -0
  86. package/dist/{Text-BkKR1LPU.js → Text-RsldE1sr.js} +12 -18
  87. package/dist/{Text-DXGzwZnW.js → Text-lak-4VnA.js} +15 -21
  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-C4PlCQXP.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-DzfCEHVR.js → Tree-B2fZE9Qf.js} +107 -112
  95. package/dist/TreeNode-CxTzNQo9.js +37 -0
  96. package/dist/{Update-BzPazrMP.js → Update-BqQGp_9h.js} +12 -18
  97. package/dist/{UpdateChild-BvIiamkv.js → UpdateChild-DejVqKrE.js} +17 -23
  98. package/dist/Upload-9z5VIixQ.js +146 -0
  99. package/dist/Upload-tlSQp2Qu.js +67 -0
  100. package/dist/UploadApi-B2dxOS0T.js +13 -0
  101. package/dist/{Year-DJPzJlot.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 +35 -36
  105. package/esm/@types/CreatePcOptions.d.ts +15 -0
  106. package/esm/@types/index.d.ts +2 -0
  107. package/esm/coms/business/@types/CrudProps.d.ts +22 -0
  108. package/esm/coms/business/@types/DrawerProps.d.ts +14 -0
  109. package/esm/coms/business/@types/DriverProps.d.ts +63 -0
  110. package/esm/coms/business/@types/FormProps.d.ts +18 -0
  111. package/esm/coms/business/@types/index.d.ts +5 -0
  112. package/esm/coms/business/Crud.vue.d.ts +1 -1
  113. package/esm/coms/business/Drawer.vue.d.ts +1 -1
  114. package/esm/coms/business/Driver.vue.d.ts +1 -1
  115. package/esm/coms/business/Form.vue.d.ts +1 -1
  116. package/esm/coms/business/index.d.ts +1 -1
  117. package/esm/coms/commons/@types/TableProps.d.ts +22 -0
  118. package/esm/coms/commons/@types/index.d.ts +2 -0
  119. package/esm/coms/commons/Table.vue.d.ts +1 -1
  120. package/esm/coms/commons/index.d.ts +1 -1
  121. package/esm/coms/controls/@types/ControlProps.d.ts +26 -0
  122. package/esm/coms/controls/@types/index.d.ts +2 -0
  123. package/esm/coms/controls/Autocomplete.vue.d.ts +1 -1
  124. package/esm/coms/controls/Cascader.vue.d.ts +1 -1
  125. package/esm/coms/controls/Checkbox.vue.d.ts +1 -1
  126. package/esm/coms/controls/Code.vue.d.ts +1 -1
  127. package/esm/coms/controls/Color.vue.d.ts +1 -1
  128. package/esm/coms/controls/Compare.vue.d.ts +1 -1
  129. package/esm/coms/controls/Date.vue.d.ts +1 -1
  130. package/esm/coms/controls/DateRange.vue.d.ts +1 -1
  131. package/esm/coms/controls/DateTime.vue.d.ts +1 -1
  132. package/esm/coms/controls/DateTimeRange.vue.d.ts +1 -1
  133. package/esm/coms/controls/Decimal.vue.d.ts +1 -1
  134. package/esm/coms/controls/Email.vue.d.ts +1 -1
  135. package/esm/coms/controls/Index.vue.d.ts +1 -1
  136. package/esm/coms/controls/Int.vue.d.ts +1 -1
  137. package/esm/coms/controls/Markdown.vue.d.ts +1 -1
  138. package/esm/coms/controls/Month.vue.d.ts +1 -1
  139. package/esm/coms/controls/Password.vue.d.ts +1 -1
  140. package/esm/coms/controls/Progress.vue.d.ts +1 -1
  141. package/esm/coms/controls/Radio.vue.d.ts +1 -1
  142. package/esm/coms/controls/Rate.vue.d.ts +1 -1
  143. package/esm/coms/controls/RichText.vue.d.ts +1 -1
  144. package/esm/coms/controls/Select.vue.d.ts +1 -1
  145. package/esm/coms/controls/Switch.vue.d.ts +1 -1
  146. package/esm/coms/controls/Text.vue.d.ts +1 -1
  147. package/esm/coms/controls/Textarea.vue.d.ts +1 -1
  148. package/esm/coms/controls/Time.vue.d.ts +1 -1
  149. package/esm/coms/controls/Upload.vue.d.ts +1 -1
  150. package/esm/coms/controls/Year.vue.d.ts +1 -1
  151. package/esm/coms/controls/index.d.ts +1 -1
  152. package/esm/coms/globals/@types/WindowOptions.d.ts +38 -0
  153. package/esm/coms/globals/@types/WindowProps.d.ts +27 -0
  154. package/esm/coms/globals/@types/index.d.ts +3 -0
  155. package/esm/coms/globals/Window.vue.d.ts +1 -1
  156. package/esm/coms/globals/index.d.ts +1 -1
  157. package/esm/coms/layouts/@types/ITaskBar.d.ts +6 -0
  158. package/esm/coms/layouts/@types/index.d.ts +2 -0
  159. package/esm/coms/layouts/index.d.ts +1 -1
  160. package/esm/coms/lists/@types/ListProps.d.ts +15 -0
  161. package/esm/coms/lists/@types/index.d.ts +2 -0
  162. package/esm/coms/lists/Racebar.vue.d.ts +1 -1
  163. package/esm/coms/lists/Statistic.vue.d.ts +1 -1
  164. package/esm/coms/lists/Stock.vue.d.ts +1 -1
  165. package/esm/coms/lists/Timeline.vue.d.ts +1 -1
  166. package/esm/coms/lists/Tree.vue.d.ts +1 -1
  167. package/esm/coms/lists/index.d.ts +1 -1
  168. package/esm/coms/pages/@types/ColumnPageProps.d.ts +11 -0
  169. package/esm/coms/pages/@types/CustomPageProps.d.ts +11 -0
  170. package/esm/coms/pages/@types/DeletePageProps.d.ts +15 -0
  171. package/esm/coms/pages/@types/KeyboardType.d.ts +8 -0
  172. package/esm/coms/pages/@types/ListPageProps.d.ts +15 -0
  173. package/esm/coms/pages/@types/PageEmit.d.ts +22 -0
  174. package/esm/coms/pages/@types/PageProps.d.ts +14 -0
  175. package/esm/coms/pages/@types/PagingPageProps.d.ts +15 -0
  176. package/esm/coms/pages/@types/SchemaProps.d.ts +30 -0
  177. package/esm/coms/pages/@types/SinglePageProps.d.ts +15 -0
  178. package/esm/coms/pages/@types/index.d.ts +11 -0
  179. package/esm/coms/pages/Column.vue.d.ts +1 -1
  180. package/esm/coms/pages/Custom.vue.d.ts +1 -1
  181. package/esm/coms/pages/Delete.vue.d.ts +1 -1
  182. package/esm/coms/pages/List.vue.d.ts +1 -1
  183. package/esm/coms/pages/Paging.vue.d.ts +1 -1
  184. package/esm/coms/pages/Single.vue.d.ts +1 -1
  185. package/esm/coms/pages/index.d.ts +1 -1
  186. package/esm/coms/pagings/@types/PagingProps.d.ts +11 -0
  187. package/esm/coms/pagings/@types/index.d.ts +2 -0
  188. package/esm/coms/pagings/Article.vue.d.ts +1 -1
  189. package/esm/coms/pagings/Code.vue.d.ts +1 -1
  190. package/esm/coms/pagings/File.vue.d.ts +1 -1
  191. package/esm/coms/pagings/Index.vue.d.ts +1 -1
  192. package/esm/coms/pagings/Table.vue.d.ts +1 -1
  193. package/esm/coms/pagings/index.d.ts +1 -1
  194. package/esm/coms/panels/@types/OperationProps.d.ts +10 -0
  195. package/esm/coms/panels/@types/index.d.ts +2 -0
  196. package/esm/coms/panels/Operation.vue.d.ts +1 -1
  197. package/esm/coms/panels/index.d.ts +1 -1
  198. package/esm/coms/partials/@types/ArticleFooterEmit.d.ts +26 -0
  199. package/esm/coms/partials/@types/DetailEmit.d.ts +18 -0
  200. package/esm/coms/partials/@types/DetailProps.d.ts +22 -0
  201. package/esm/coms/partials/@types/PagingHeaderEmit.d.ts +34 -0
  202. package/esm/coms/partials/@types/PagingHeaderProps.d.ts +30 -0
  203. package/esm/coms/partials/@types/PagingRowEmit.d.ts +26 -0
  204. package/esm/coms/partials/@types/PagingRowProps.d.ts +22 -0
  205. package/esm/coms/partials/@types/TreeNodeProps.d.ts +22 -0
  206. package/esm/coms/partials/@types/UpdateChildEmit.d.ts +22 -0
  207. package/esm/coms/partials/@types/UpdateChildProps.d.ts +22 -0
  208. package/esm/coms/partials/@types/UpdateEmit.d.ts +14 -0
  209. package/esm/coms/partials/@types/UpdateProps.d.ts +22 -0
  210. package/esm/coms/partials/@types/index.d.ts +13 -0
  211. package/esm/coms/partials/ArticleFooter.vue.d.ts +1 -1
  212. package/esm/coms/partials/Detail.vue.d.ts +1 -1
  213. package/esm/coms/partials/PagingHeader.vue.d.ts +1 -1
  214. package/esm/coms/partials/PagingRow.vue.d.ts +1 -1
  215. package/esm/coms/partials/TreeNode.vue.d.ts +1 -1
  216. package/esm/coms/partials/Update.vue.d.ts +1 -1
  217. package/esm/coms/partials/UpdateChild.vue.d.ts +1 -1
  218. package/esm/coms/partials/index.d.ts +1 -1
  219. package/esm/coms/searches/@types/SearchProps.d.ts +10 -0
  220. package/esm/coms/searches/@types/index.d.ts +2 -0
  221. package/esm/coms/searches/Autocomplete.vue.d.ts +1 -1
  222. package/esm/coms/searches/Daterange.vue.d.ts +1 -1
  223. package/esm/coms/searches/Index.vue.d.ts +1 -1
  224. package/esm/coms/searches/Int.vue.d.ts +1 -1
  225. package/esm/coms/searches/Month.vue.d.ts +1 -1
  226. package/esm/coms/searches/Select.vue.d.ts +1 -1
  227. package/esm/coms/searches/Text.vue.d.ts +1 -1
  228. package/esm/coms/searches/index.d.ts +1 -1
  229. package/esm/coms/singles/@types/SingleProps.d.ts +15 -0
  230. package/esm/coms/singles/@types/index.d.ts +2 -0
  231. package/esm/coms/singles/Code.vue.d.ts +1 -1
  232. package/esm/coms/singles/Comment.vue.d.ts +1 -1
  233. package/esm/coms/singles/Index.vue.d.ts +1 -1
  234. package/esm/coms/singles/Normal.vue.d.ts +1 -1
  235. package/esm/coms/singles/Statistic.vue.d.ts +1 -1
  236. package/esm/coms/singles/Stock.vue.d.ts +1 -1
  237. package/esm/coms/singles/Table.vue.d.ts +1 -1
  238. package/esm/coms/singles/Tree.vue.d.ts +1 -1
  239. package/esm/coms/singles/index.d.ts +1 -1
  240. package/esm/coms/texts/Autocomplete.vue.d.ts +1 -1
  241. package/esm/coms/texts/CSharp.vue.d.ts +1 -1
  242. package/esm/coms/texts/Cascader.vue.d.ts +1 -1
  243. package/esm/coms/texts/Checkbox.vue.d.ts +1 -1
  244. package/esm/coms/texts/Code.vue.d.ts +1 -1
  245. package/esm/coms/texts/Color.vue.d.ts +1 -1
  246. package/esm/coms/texts/Compare.vue.d.ts +1 -1
  247. package/esm/coms/texts/Copy.vue.d.ts +1 -1
  248. package/esm/coms/texts/Date.vue.d.ts +1 -1
  249. package/esm/coms/texts/DateRange.vue.d.ts +1 -1
  250. package/esm/coms/texts/DateTime.vue.d.ts +1 -1
  251. package/esm/coms/texts/Decimal.vue.d.ts +1 -1
  252. package/esm/coms/texts/Dictionary.vue.d.ts +1 -1
  253. package/esm/coms/texts/Email.vue.d.ts +1 -1
  254. package/esm/coms/texts/Index.vue.d.ts +1 -1
  255. package/esm/coms/texts/Int.vue.d.ts +1 -1
  256. package/esm/coms/texts/Markdown.vue.d.ts +1 -1
  257. package/esm/coms/texts/Month.vue.d.ts +1 -1
  258. package/esm/coms/texts/Password.vue.d.ts +1 -1
  259. package/esm/coms/texts/Progress.vue.d.ts +1 -1
  260. package/esm/coms/texts/Radio.vue.d.ts +1 -1
  261. package/esm/coms/texts/Rate.vue.d.ts +1 -1
  262. package/esm/coms/texts/RichText.vue.d.ts +1 -1
  263. package/esm/coms/texts/Select.vue.d.ts +1 -1
  264. package/esm/coms/texts/Switch.vue.d.ts +1 -1
  265. package/esm/coms/texts/Text.vue.d.ts +1 -1
  266. package/esm/coms/texts/TextLink.vue.d.ts +1 -1
  267. package/esm/coms/texts/Textarea.vue.d.ts +1 -1
  268. package/esm/coms/texts/Upload.vue.d.ts +1 -1
  269. package/esm/coms/texts/Year.vue.d.ts +1 -1
  270. package/esm/main.d.ts +2 -2
  271. package/package.json +2 -2
  272. package/dist/Autocomplete-BA0pEA9T.js +0 -53
  273. package/dist/Autocomplete-C1MC46ef.js +0 -54
  274. package/dist/Callback-DmCRycGX.js +0 -26
  275. package/dist/Cascader-CQqLPpEF.js +0 -87
  276. package/dist/Cascader-DcM0THgE.js +0 -47
  277. package/dist/Checkbox-CLGuZoor.js +0 -76
  278. package/dist/Code-CVyrDYHh.js +0 -60
  279. package/dist/Code-CfODGNBF.js +0 -42
  280. package/dist/Code-D7kMH044.js +0 -4
  281. package/dist/Code.vue_vue_type_style_index_0_lang-CGIHkYJn.js +0 -65
  282. package/dist/Column-4XWgmnKg.js +0 -75
  283. package/dist/Comment-CNvy-1Iq.js +0 -104
  284. package/dist/Compare-wgk3D3EX.js +0 -44
  285. package/dist/Copy-C_EBpWht.js +0 -49
  286. package/dist/Custom-OUdFT-Z9.js +0 -57
  287. package/dist/DataImport.vue_vue_type_script_setup_true_lang-DIrLf0yN.js +0 -176
  288. package/dist/Date-B1jUMPdx.js +0 -43
  289. package/dist/DateRange-CXUIVfwU.js +0 -63
  290. package/dist/DateTime-6lhPVe1O.js +0 -44
  291. package/dist/Daterange-DbhWv06V.js +0 -63
  292. package/dist/Delete-BU-TdXZR.js +0 -62
  293. package/dist/Dictionary-DYPWj-d0.js +0 -59
  294. package/dist/Email-BTKIb--f.js +0 -54
  295. package/dist/Index-BJWMiDrx.js +0 -178
  296. package/dist/Index-C8CUkTm5.js +0 -4
  297. package/dist/Index-CBAGTH43.js +0 -4
  298. package/dist/Index-D3WQg1HZ.js +0 -4
  299. package/dist/Index-KxibedJH.js +0 -4
  300. package/dist/Int-Ae-gJbt5.js +0 -44
  301. package/dist/Int-BqZ6sIcn.js +0 -46
  302. package/dist/List-D8C_gyVz.js +0 -79
  303. package/dist/Maintaince-DdS89Bbv.js +0 -20
  304. package/dist/Month-BECDFWum.js +0 -44
  305. package/dist/Month-CnScc0mu.js +0 -43
  306. package/dist/Paging-CdUnYWJ1.js +0 -99
  307. package/dist/QueryApi-CwNeSXIs.js +0 -20
  308. package/dist/RichText-D-AaPwkx.js +0 -47
  309. package/dist/Text-DXGGbFhr.js +0 -4
  310. package/dist/Text.vue_vue_type_style_index_0_lang-CeWH48Pu.js +0 -59
  311. package/dist/TextLink-DYisoDVn.js +0 -65
  312. package/dist/Time-DxojKVPC.js +0 -43
  313. package/dist/Timeline-hBk2KUsH.js +0 -59
  314. package/dist/Tree-Dsrpy8UN.js +0 -122
  315. package/dist/TreeNode-BAZbs0jL.js +0 -42
  316. package/dist/Upload-Dt2pNqjv.js +0 -72
  317. package/dist/Upload-fnKNelcS.js +0 -150
  318. package/dist/UploadApi-D_HwEoQY.js +0 -20
  319. package/dist/Year-BUO5CKKv.js +0 -47
  320. package/dist/assets/clone-BZn0cTAu.js +0 -134
  321. package/dist/assets/file-saver-CwlpTZSc.js +0 -74
  322. package/dist/assets/liquidjs-C-LVcoaY.js +0 -2893
  323. package/dist/assets/moment-h96o7c8I.js +0 -2578
  324. package/dist/assets/sprintf-js-BPTdvBYM.js +0 -148
  325. package/dist/assets/underscore-B0BCaBxV.js +0 -1070
  326. package/dist/assets/underscore.string-DVXD2SZo.js +0 -425
  327. package/dist/assets/util-deprecate-Dzun97re.js +0 -28
  328. package/dist/main--j4fHmql.js +0 -9084
@@ -1,19 +1,13 @@
1
- import { defineComponent as oe, toRefs as ae, ref as c, onMounted as re, computed as ne, resolveComponent as k, openBlock as u, createElementBlock as f, unref as e, createBlock as b, createCommentVNode as _, createVNode as w, normalizeStyle as se, withCtx as C, createElementVNode as i, Fragment as ie, renderList as ue, withModifiers as V, toDisplayString as d, resolveDynamicComponent as ce, createTextVNode as U } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import { d as de, I as D, U as pe, t as me, a as ve, h as ge, m as fe, E } from "./main--j4fHmql.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
- import { _ as he } from "./SearchForm.vue_vue_type_style_index_0_lang-DFqj7f23.js";
1
+ import { defineComponent as ae, toRefs as oe, ref as c, onMounted as ne, computed as re, resolveComponent as k, openBlock as u, createElementBlock as f, unref as e, createBlock as b, createCommentVNode as _, createVNode as w, normalizeStyle as se, withCtx as C, createElementVNode as i, Fragment as ie, renderList as ue, withModifiers as H, toDisplayString as d, resolveDynamicComponent as ce, createTextVNode as D } from "vue";
2
+ import { c as de, Q as E, K as pe, e as me, _ as ve, T as ge, v as fe, R as M } from "./main-D3_7YhaK.js";
3
+ import { _ as he } from "./SearchForm.vue_vue_type_style_index_0_lang-BijR_gZY.js";
10
4
  const _e = { class: "article-layout" }, ye = ["href", "onClick"], ke = ["src"], be = { class: "article-title" }, we = {
11
5
  key: 0,
12
6
  class: "article-content"
13
7
  }, Ce = { class: "article-time" }, Re = {
14
8
  key: 1,
15
9
  class: "article-view-count"
16
- }, xe = ["href"], $e = /* @__PURE__ */ i("i", { class: "fa fa-plus" }, null, -1), He = { class: "el-drawer__title" }, Be = ["href"], Ke = /* @__PURE__ */ oe({
10
+ }, xe = ["href"], $e = /* @__PURE__ */ i("i", { class: "fa fa-plus" }, null, -1), Be = { class: "el-drawer__title" }, Se = ["href"], De = /* @__PURE__ */ ae({
17
11
  __name: "Article",
18
12
  props: {
19
13
  searchData: {},
@@ -25,12 +19,12 @@ const _e = { class: "article-layout" }, ye = ["href", "onClick"], ke = ["src"],
25
19
  set: {}
26
20
  },
27
21
  emits: ["page-change", "navigate", "search", "succeed", "close"],
28
- setup(M, { expose: N, emit: F }) {
29
- let p = F, K = M, { module: P, schema: j, table: r, layout: n, next: m, set: R, searchData: A } = ae(K), x = c(), y = c(), $ = c(), H = c(), h = c();
22
+ setup(N, { expose: U, emit: K }) {
23
+ let p = K, F = N, { module: P, schema: Q, table: n, layout: r, next: m, set: R, searchData: j } = oe(F), x = c(), y = c(), $ = c(), B = c(), h = c();
30
24
  c({ layout: "prev, pager, next", count: 5 });
31
- let o = c({ page: null, url: null, row: null, visible: !1, appendToBody: !1 }), B = (t) => {
25
+ let a = c({ page: null, url: null, row: null, visible: !1, appendToBody: !1 }), S = (t) => {
32
26
  g("insert", null, t);
33
- }, I = (t, l) => {
27
+ }, A = (t, l) => {
34
28
  g("detail", t, l);
35
29
  }, L = (t, l) => {
36
30
  g("update", t, l);
@@ -38,112 +32,112 @@ const _e = { class: "article-layout" }, ye = ["href", "onClick"], ke = ["src"],
38
32
  g("copy", t, l);
39
33
  }, G = (t, l) => {
40
34
  g("delete", t, l);
41
- }, J = (t) => {
42
- let l = t.map((s) => s[r.value.key.name]);
35
+ }, I = (t) => {
36
+ let l = t.map((s) => s[n.value.key.name]);
43
37
  ge.post(m.value.delete.route, l).then((s) => {
44
38
  fe.success(s.message), z();
45
39
  });
46
40
  }, g = (t, l, s) => {
47
- let v = S(t, l);
48
- s.ctrlKey ? (o.value.row = null, p("navigate", v)) : (o.value.appendToBody = s.altKey, o.value.page = t, o.value.url = v, o.value.row = l, o.value.visible = !0);
49
- }, S = (t, l = null) => {
41
+ let v = T(t, l);
42
+ s.ctrlKey ? (a.value.row = null, p("navigate", v)) : (a.value.appendToBody = s.altKey, a.value.page = t, a.value.url = v, a.value.row = l, a.value.visible = !0);
43
+ }, T = (t, l = null) => {
50
44
  let s = `${m.value[t].route}`;
51
45
  if (l != null) {
52
- let v = l[r.value.key.name];
46
+ let v = l[n.value.key.name];
53
47
  s += `?id=${v}`;
54
48
  }
55
49
  return s;
56
- }, O = () => {
57
- o.value.visible = !1, p("close");
50
+ }, J = () => {
51
+ a.value.visible = !1, p("close");
58
52
  }, z = (t = null) => {
59
- o.value.visible = !1, p("succeed", t);
60
- }, Q = (t) => {
53
+ a.value.visible = !1, p("succeed", t);
54
+ }, O = (t) => {
61
55
  p("page-change", t);
62
56
  }, W = (t) => {
63
57
  p("navigate", t);
64
58
  }, X = () => {
65
59
  p("search");
66
60
  }, Y = () => {
67
- T();
61
+ V();
68
62
  }, Z = (t, l) => {
69
63
  if (!h.value || !h.value.keyboard)
70
64
  return !1;
71
65
  h.value.keyboard(t, l);
72
66
  }, ee = (t) => {
73
- T();
74
- }, T = () => {
67
+ V();
68
+ }, V = () => {
75
69
  if (y.value == null)
76
70
  return;
77
- let t = E.getHeight(x.value), l = E.getHeight([y.value.$el, $.value]);
78
- H.value = t - l;
71
+ let t = M.getHeight(x.value), l = M.getHeight([y.value.$el, $.value]);
72
+ B.value = t - l;
79
73
  };
80
- re(() => {
74
+ ne(() => {
81
75
  });
82
- let te = ne(() => {
83
- let t = `/${r.value.name}/article-footer`;
76
+ let te = re(() => {
77
+ let t = `/${n.value.name}/article-footer`;
84
78
  return de.getComponent(t, "partial", "article-footer");
85
79
  });
86
- return N({ keyboard: Z, resize: ee }), (t, l) => {
80
+ return U({ keyboard: Z, resize: ee }), (t, l) => {
87
81
  const s = k("el-scrollbar"), v = k("el-pagination"), le = k("el-drawer");
88
82
  return u(), f("div", {
89
83
  ref_key: "pagingRef",
90
84
  ref: x,
91
85
  class: "paging-article"
92
86
  }, [
93
- e(r).search.length > 0 ? (u(), b(he, {
87
+ e(n).search.length > 0 ? (u(), b(he, {
94
88
  key: 0,
95
89
  ref_key: "searchRef",
96
90
  ref: y,
97
- schema: e(j),
98
- table: e(r),
99
- layout: e(n),
100
- "search-data": e(A),
91
+ schema: e(Q),
92
+ table: e(n),
93
+ layout: e(r),
94
+ "search-data": e(j),
101
95
  onSubmit: e(X),
102
96
  onMounted: e(Y)
103
97
  }, null, 8, ["schema", "table", "layout", "search-data", "onSubmit", "onMounted"])) : _("", !0),
104
98
  w(s, {
105
99
  class: "article-scroller",
106
- style: se({ height: e(H) + "px" })
100
+ style: se({ height: e(B) + "px" })
107
101
  }, {
108
102
  default: C(() => [
109
103
  i("div", _e, [
110
- (u(!0), f(ie, null, ue(e(R)[e(r).name], (a) => (u(), f("a", {
104
+ (u(!0), f(ie, null, ue(e(R)[e(n).name], (o) => (u(), f("a", {
111
105
  class: "article",
112
- href: `${e(m).detail.route}?id=${a[e(r).key.name]}`,
113
- onClick: V((Se) => e(W)(`${e(m).detail.route}?id=${a[e(r).key.name]}`), ["prevent"]),
114
- key: a[e(r).key.name]
106
+ href: `${e(m).detail.route}?id=${o[e(n).key.name]}`,
107
+ onClick: H((Te) => e(W)(`${e(m).detail.route}?id=${o[e(n).key.name]}`), ["prevent"]),
108
+ key: o[e(n).key.name]
115
109
  }, [
116
110
  i("img", {
117
111
  class: "article-image",
118
- src: a[e(n).image]
112
+ src: o[e(r).image]
119
113
  }, null, 8, ke),
120
- i("div", be, d(a[e(n).title]), 1),
121
- e(D).getText(a[e(n).content]) ? (u(), f("div", we, d(e(D).getText(a[e(n).content])), 1)) : _("", !0),
122
- i("div", Ce, d(a[e(n).time]), 1),
123
- a[e(n).viewCount] ? (u(), f("div", Re, d(a[e(n).viewCount]), 1)) : _("", !0),
114
+ i("div", be, d(o[e(r).title]), 1),
115
+ e(E).getText(o[e(r).content]) ? (u(), f("div", we, d(e(E).getText(o[e(r).content])), 1)) : _("", !0),
116
+ i("div", Ce, d(o[e(r).time]), 1),
117
+ o[e(r).viewCount] ? (u(), f("div", Re, d(o[e(r).viewCount]), 1)) : _("", !0),
124
118
  (u(), b(ce(e(te)), {
125
- table: e(r),
119
+ table: e(n),
126
120
  next: e(m),
127
121
  set: e(R),
128
- row: a,
129
- onPreview: e(I),
122
+ row: o,
123
+ onPreview: e(A),
130
124
  onEdit: e(L),
131
125
  onCopy: e(q),
132
126
  onBeforeRemove: e(G),
133
- onRemove: e(J)
127
+ onRemove: e(I)
134
128
  }, null, 40, ["table", "next", "set", "row", "onPreview", "onEdit", "onCopy", "onBeforeRemove", "onRemove"]))
135
129
  ], 8, ye))), 128)),
136
130
  i("a", {
137
- href: e(S)("insert"),
131
+ href: e(T)("insert"),
138
132
  class: "article-add",
139
- onClick: l[0] || (l[0] = V(
133
+ onClick: l[0] || (l[0] = H(
140
134
  //@ts-ignore
141
- (...a) => e(B) && e(B)(...a),
135
+ (...o) => e(S) && e(S)(...o),
142
136
  ["prevent"]
143
137
  ))
144
138
  }, [
145
139
  $e,
146
- U(" 添加新" + d(e(r).title), 1)
140
+ D(" 添加新" + d(e(n).title), 1)
147
141
  ], 8, xe)
148
142
  ])
149
143
  ]),
@@ -157,36 +151,36 @@ const _e = { class: "article-layout" }, ye = ["href", "onClick"], ke = ["src"],
157
151
  w(v, {
158
152
  background: "",
159
153
  layout: "total, prev, pager, next, jumper",
160
- "current-page": e(n).page,
161
- "page-size": e(n).pageSize,
162
- total: e(n).count,
163
- onCurrentChange: e(Q)
154
+ "current-page": e(r).page,
155
+ "page-size": e(r).pageSize,
156
+ total: e(r).count,
157
+ onCurrentChange: e(O)
164
158
  }, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
165
159
  ], 512),
166
- e(o).page ? (u(), b(le, {
160
+ e(a).page ? (u(), b(le, {
167
161
  key: 1,
168
162
  "destroy-on-close": "",
169
- "append-to-body": e(o).appendToBody,
163
+ "append-to-body": e(a).appendToBody,
170
164
  size: `${e(P).width ?? "60%"}`,
171
- modelValue: e(o).visible,
172
- "onUpdate:modelValue": l[1] || (l[1] = (a) => e(o).visible = a)
165
+ modelValue: e(a).visible,
166
+ "onUpdate:modelValue": l[1] || (l[1] = (o) => e(a).visible = o)
173
167
  }, {
174
168
  header: C(() => [
175
- i("div", He, [
176
- U(d(e(m)[e(o).page].title) + " ", 1),
169
+ i("div", Be, [
170
+ D(d(e(m)[e(a).page].title) + " ", 1),
177
171
  i("a", {
178
172
  class: "drawer-copy",
179
- href: e(pe).getToUrl(e(o).url)
180
- }, d(e(me)("common.link")), 9, Be)
173
+ href: e(pe).getToUrl(e(a).url)
174
+ }, d(e(me)("common.link")), 9, Se)
181
175
  ])
182
176
  ]),
183
177
  default: C(() => [
184
178
  w(e(ve), {
185
179
  ref_key: "pageRef",
186
180
  ref: h,
187
- url: e(o).url,
181
+ url: e(a).url,
188
182
  onSucceed: e(z),
189
- onClose: e(O)
183
+ onClose: e(J)
190
184
  }, null, 8, ["url", "onSucceed", "onClose"])
191
185
  ]),
192
186
  _: 1
@@ -196,5 +190,5 @@ const _e = { class: "article-layout" }, ye = ["href", "onClick"], ke = ["src"],
196
190
  }
197
191
  });
198
192
  export {
199
- Ke as default
193
+ De as default
200
194
  };
@@ -1,12 +1,6 @@
1
- import { defineComponent as w, toRefs as _, resolveComponent as B, openBlock as r, createElementBlock as p, unref as e, withModifiers as c, createCommentVNode as s, createBlock as E, withCtx as N, 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 { t as a } from "./main--j4fHmql.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
9
- const V = { class: "article-footer" }, I = /* @__PURE__ */ w({
1
+ import { defineComponent as w, toRefs as _, resolveComponent as B, openBlock as r, createElementBlock as m, unref as e, withModifiers as p, createCommentVNode as s, createBlock as E, withCtx as N, createElementVNode as R } from "vue";
2
+ import { e as a } from "./main-D3_7YhaK.js";
3
+ const V = { class: "article-footer" }, j = /* @__PURE__ */ w({
10
4
  __name: "ArticleFooter",
11
5
  props: {
12
6
  table: {},
@@ -16,41 +10,41 @@ const V = { class: "article-footer" }, I = /* @__PURE__ */ w({
16
10
  },
17
11
  emits: ["preview", "edit", "copy", "before-remove", "remove"],
18
12
  setup(b, { emit: k }) {
19
- let i = k, C = b, { table: A, next: l, set: F, row: m } = _(C), f = (o) => {
20
- i("preview", m.value, o);
13
+ let i = k, C = b, { table: A, next: l, set: F, row: c } = _(C), f = (o) => {
14
+ i("preview", c.value, o);
21
15
  }, u = (o) => {
22
- i("edit", m.value, o);
16
+ i("edit", c.value, o);
23
17
  }, v = (o) => {
24
- i("copy", m.value, o);
18
+ i("copy", c.value, o);
25
19
  }, d = (o) => {
26
20
  }, x = () => {
27
- i("remove", [m.value]);
21
+ i("remove", [c.value]);
28
22
  };
29
23
  return (o, t) => {
30
24
  const y = B("el-popconfirm");
31
- return r(), p("div", V, [
32
- e(l).detail ? (r(), p("i", {
25
+ return r(), m("div", V, [
26
+ e(l).detail ? (r(), m("i", {
33
27
  key: 0,
34
28
  class: "fa fa-search-plus btn-icon",
35
- onClick: t[0] || (t[0] = c(
29
+ onClick: t[0] || (t[0] = p(
36
30
  //@ts-ignore
37
31
  (...n) => e(f) && e(f)(...n),
38
32
  ["prevent", "stop"]
39
33
  ))
40
34
  })) : s("", !0),
41
- e(l).update ? (r(), p("i", {
35
+ e(l).update ? (r(), m("i", {
42
36
  key: 1,
43
37
  class: "fa fa-pencil btn-icon",
44
- onClick: t[1] || (t[1] = c(
38
+ onClick: t[1] || (t[1] = p(
45
39
  //@ts-ignore
46
40
  (...n) => e(u) && e(u)(...n),
47
41
  ["prevent", "stop"]
48
42
  ))
49
43
  })) : s("", !0),
50
- e(l).copy ? (r(), p("i", {
44
+ e(l).copy ? (r(), m("i", {
51
45
  key: 2,
52
46
  class: "fa fa-copy btn-icon",
53
- onClick: t[2] || (t[2] = c(
47
+ onClick: t[2] || (t[2] = p(
54
48
  //@ts-ignore
55
49
  (...n) => e(v) && e(v)(...n),
56
50
  ["prevent", "stop"]
@@ -67,7 +61,7 @@ const V = { class: "article-footer" }, I = /* @__PURE__ */ w({
67
61
  reference: N(() => [
68
62
  R("i", {
69
63
  class: "fa fa-trash-alt btn-icon",
70
- onClick: t[3] || (t[3] = c(
64
+ onClick: t[3] || (t[3] = p(
71
65
  //@ts-ignore
72
66
  (...n) => e(d) && e(d)(...n),
73
67
  ["prevent", "stop"]
@@ -81,5 +75,5 @@ const V = { class: "article-footer" }, I = /* @__PURE__ */ w({
81
75
  }
82
76
  });
83
77
  export {
84
- I as default
78
+ j as default
85
79
  };
@@ -0,0 +1,48 @@
1
+ import { defineComponent as v, toRefs as V, ref as _, computed as x, resolveComponent as C, openBlock as b, createBlock as k, unref as a, isRef as B } from "vue";
2
+ import { i as D, W as R, T as A } from "./main-D3_7YhaK.js";
3
+ const U = /* @__PURE__ */ v({
4
+ __name: "Autocomplete",
5
+ props: {
6
+ schema: {},
7
+ table: {},
8
+ field: {},
9
+ searchData: {},
10
+ modelValue: {}
11
+ },
12
+ emits: ["submit", "change", "update:modelValue"],
13
+ setup(p, { emit: c }) {
14
+ let m = c, d = p, { table: i, field: r, searchData: I, modelValue: f } = V(d), o = _([]), g = null, h = (l, e) => {
15
+ if (o.value.length) {
16
+ let t = o.value.filter((s) => R.containsIgnoreCase(l, s.value));
17
+ e(t);
18
+ return;
19
+ }
20
+ let n = { text: g, conditions: [] };
21
+ A.post(r.value.control.data.route, n).then(({ data: t }) => {
22
+ o.value = t.map((s) => ({ value: s.text })), e(o.value);
23
+ }).catch(() => {
24
+ e([]);
25
+ });
26
+ }, u = x({
27
+ get() {
28
+ return f.value;
29
+ },
30
+ set(l) {
31
+ m("update:modelValue", l), m("change", l);
32
+ }
33
+ });
34
+ return (l, e) => {
35
+ const n = C("el-autocomplete");
36
+ return b(), k(n, {
37
+ clearable: "",
38
+ placeholder: a(D)(a(i).name, a(r).name),
39
+ "fetch-suggestions": a(h),
40
+ modelValue: a(u),
41
+ "onUpdate:modelValue": e[0] || (e[0] = (t) => B(u) ? u.value = t : u = t)
42
+ }, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
43
+ };
44
+ }
45
+ });
46
+ export {
47
+ U as default
48
+ };
@@ -0,0 +1,49 @@
1
+ import { defineComponent as v, toRefs as V, ref as _, computed as x, resolveComponent as C, openBlock as b, createBlock as k, unref as o, isRef as B } from "vue";
2
+ import { i as R, W as w, T as A } from "./main-D3_7YhaK.js";
3
+ const U = /* @__PURE__ */ v({
4
+ __name: "Autocomplete",
5
+ props: {
6
+ schema: {},
7
+ table: {},
8
+ field: {},
9
+ set: {},
10
+ row: {},
11
+ modelValue: {}
12
+ },
13
+ emits: ["submit", "change", "update:modelValue"],
14
+ setup(p, { emit: d }) {
15
+ let m = d, i = p, { table: c, field: r, set: I, modelValue: f } = V(i), a = _([]), g = null, h = (l, e) => {
16
+ if (a.value.length) {
17
+ let t = a.value.filter((s) => w.containsIgnoreCase(l, s.value));
18
+ e(t);
19
+ return;
20
+ }
21
+ let n = { text: g, conditions: [] };
22
+ A.post(r.value.control.data.route, n).then(({ data: t }) => {
23
+ a.value = t.map((s) => ({ value: s.text })), e(a.value);
24
+ }).catch(() => {
25
+ e([]);
26
+ });
27
+ }, u = x({
28
+ get() {
29
+ return f.value;
30
+ },
31
+ set(l) {
32
+ m("update:modelValue", l), m("change", l);
33
+ }
34
+ });
35
+ return (l, e) => {
36
+ const n = C("el-autocomplete");
37
+ return b(), k(n, {
38
+ clearable: "",
39
+ placeholder: o(R)(o(c).name, o(r).name),
40
+ "fetch-suggestions": o(h),
41
+ modelValue: o(u),
42
+ "onUpdate:modelValue": e[0] || (e[0] = (t) => B(u) ? u.value = t : u = t)
43
+ }, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
44
+ };
45
+ }
46
+ });
47
+ export {
48
+ U as default
49
+ };
@@ -10,7 +10,7 @@ const x = /* @__PURE__ */ f({
10
10
  modelValue: {}
11
11
  },
12
12
  setup(a) {
13
- let m = i(() => import("./Text-DXGGbFhr.js")), s = a, { table: r, field: n, set: d, row: p, modelValue: l } = c(s);
13
+ let m = i(() => import("./Text-C70dFJLS.js")), s = a, { table: r, field: n, set: d, row: p, modelValue: l } = c(s);
14
14
  return (u, o) => (V(), b(e(m), {
15
15
  schema: u.schema,
16
16
  table: e(r),
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ u({
10
10
  modelValue: {}
11
11
  },
12
12
  setup(a) {
13
- let r = i(() => import("./Code-CfODGNBF.js")), s = a, { schema: m, table: n, field: d, set: p, row: f, modelValue: l } = c(s);
13
+ let r = i(() => import("./Code-pe9JMCAj.js")), s = a, { schema: m, table: n, field: d, set: p, row: f, modelValue: l } = c(s);
14
14
  return (w, o) => (V(), b(e(r), {
15
15
  schema: e(m),
16
16
  table: e(n),
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as r } from "vue";
2
- import { p as c } from "./main--j4fHmql.js";
2
+ import { g as c } from "./main-D3_7YhaK.js";
3
3
  const n = {};
4
4
  function o(t, _) {
5
5
  return e(), r("div", null, "日历");
@@ -0,0 +1,20 @@
1
+ import { defineComponent as o } from "vue";
2
+ import { useRouter as i, useRoute as n } from "vue-router";
3
+ import { v as s, S as u } from "./main-D3_7YhaK.js";
4
+ const y = /* @__PURE__ */ o({
5
+ __name: "Callback",
6
+ setup(a) {
7
+ let r = i(), t = n().query;
8
+ return (async () => {
9
+ if (!t.type) {
10
+ s.error("缺失type参数");
11
+ return;
12
+ }
13
+ let e = await u.sso.create(t.type.toString());
14
+ t.identity = JSON.parse(t.identity.toString()), e.login(t), r.push(t.return_url.toString());
15
+ })(), (e, l) => " 登录完毕,处理回调中... ";
16
+ }
17
+ });
18
+ export {
19
+ y as default
20
+ };
@@ -0,0 +1,41 @@
1
+ import { defineComponent as y, toRefs as k, computed as p, openBlock as e, createElementBlock as t, Fragment as d, renderList as m, unref as f, normalizeStyle as x, toDisplayString as h, createCommentVNode as b } from "vue";
2
+ import { O as B } from "./main-D3_7YhaK.js";
3
+ const C = { class: "text-cascader" }, S = {
4
+ key: 0,
5
+ class: "cascader-seperator"
6
+ }, F = /* @__PURE__ */ y({
7
+ __name: "Cascader",
8
+ props: {
9
+ schema: {},
10
+ table: {},
11
+ field: {},
12
+ set: {},
13
+ row: {},
14
+ modelValue: {}
15
+ },
16
+ emits: ["submit", "change"],
17
+ setup(_, { emit: V }) {
18
+ let v = _, { table: w, field: s, set: E, row: O, modelValue: a } = k(v), u = p(() => s.value.control.multiple ? a.value ? a.value.toString().split(",") : [] : a.value), c = p(() => {
19
+ if (u.value.length > 0) {
20
+ let i = s.value.control.data.data, n = [];
21
+ return u.value.forEach((r) => {
22
+ let l = B.getParentsById(r, "value", i, "children", !0);
23
+ l.length > 0 && n.push(l);
24
+ }), n;
25
+ }
26
+ return [];
27
+ });
28
+ return (i, n) => (e(), t("div", C, [
29
+ (e(!0), t(d, null, m(f(c), (r, l) => (e(), t("span", null, [
30
+ (e(!0), t(d, null, m(r, (o, g) => (e(), t("span", {
31
+ style: x({ color: o.color }),
32
+ key: o.value
33
+ }, h(o.text) + h(g == r.length - 1 ? "" : " / "), 5))), 128)),
34
+ l != f(c).length - 1 ? (e(), t("span", S, ",")) : b("", !0)
35
+ ]))), 256))
36
+ ]));
37
+ }
38
+ });
39
+ export {
40
+ F as default
41
+ };
@@ -0,0 +1,81 @@
1
+ import { defineComponent as E, toRefs as w, ref as N, computed as R, resolveComponent as S, openBlock as c, createBlock as D, unref as a, isRef as I, withCtx as O, createElementVNode as P, createTextVNode as T, toDisplayString as i, createElementBlock as m, createCommentVNode as f } from "vue";
2
+ import { n as j, O as h, T as q } from "./main-D3_7YhaK.js";
3
+ const U = {
4
+ key: 0,
5
+ class: "cascader-suffix"
6
+ }, z = {
7
+ key: 0,
8
+ class: "cascader-length"
9
+ }, J = /* @__PURE__ */ E({
10
+ __name: "Cascader",
11
+ props: {
12
+ schema: {},
13
+ table: {},
14
+ field: {},
15
+ set: {},
16
+ row: {},
17
+ modelValue: {}
18
+ },
19
+ emits: ["submit", "change", "update:modelValue"],
20
+ setup(v, { emit: g }) {
21
+ let d = g, V = v, { table: b, field: t, set: A, row: F, modelValue: _ } = w(V), s = N(), p = null, x = () => {
22
+ s.value || (s.value = t.value.control.data.data);
23
+ let e = _.value, l = [];
24
+ return t.value.control.multiple ? (e ? e.toString().split(",") : [e]).forEach((n) => {
25
+ let o = h.getParentsById(n, "value", s.value, "children", !0);
26
+ o.length > 0 && l.push(o.map((B) => B.value));
27
+ }) : h.getParentsById(e, "value", s.value, "children", !0).forEach((n) => {
28
+ l.push(n.value);
29
+ }), l;
30
+ }, C = (e) => {
31
+ let l;
32
+ t.value.control.multiple ? l = e.map((r) => r[r.length - 1]).join(",") : l = e[e.length - 1], d("update:modelValue", l), d("change", l);
33
+ }, y = (e) => {
34
+ e && (p = null, k());
35
+ }, k = () => {
36
+ let e = { text: p, conditions: [] };
37
+ t.value.control.data.conditions.forEach((l) => {
38
+ e.conditions.push({ name: l.name, value: null });
39
+ }), q.post(t.value.control.data.route, e).then(({ data: l }) => {
40
+ s.value = l;
41
+ });
42
+ }, u = R({
43
+ get() {
44
+ return x();
45
+ },
46
+ set(e) {
47
+ C(e);
48
+ }
49
+ });
50
+ return (e, l) => {
51
+ const r = S("el-cascader");
52
+ return c(), D(r, {
53
+ ref: "cascaderRef",
54
+ placeholder: a(j)(a(b).name, a(t).name),
55
+ filterable: "",
56
+ "collapse-tags": "",
57
+ "collapse-tags-tooltip": "",
58
+ "max-collapse-tags": 6,
59
+ options: a(s),
60
+ disabled: a(t).readonly,
61
+ props: { label: "text", checkStrictly: !0, multiple: a(t).control.multiple },
62
+ clearable: !a(t).control.required,
63
+ onVisibleChange: a(y),
64
+ modelValue: a(u),
65
+ "onUpdate:modelValue": l[0] || (l[0] = (n) => I(u) ? u.value = n : u = n)
66
+ }, {
67
+ default: O(({ node: n, data: o }) => [
68
+ P("span", null, [
69
+ T(i(o.text), 1),
70
+ o.suffix ? (c(), m("span", U, "(" + i(o.suffix) + ")", 1)) : f("", !0)
71
+ ]),
72
+ o.children ? (c(), m("span", z, i(o.children.length), 1)) : f("", !0)
73
+ ]),
74
+ _: 1
75
+ }, 8, ["placeholder", "options", "disabled", "props", "clearable", "onVisibleChange", "modelValue"]);
76
+ };
77
+ }
78
+ });
79
+ export {
80
+ J as default
81
+ };