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
@@ -0,0 +1,53 @@
1
+ import { defineComponent as h, toRefs as y, resolveComponent as o, openBlock as t, createBlock as n, unref as e, withCtx as m, createElementVNode as r, createElementBlock as c, Fragment as k, renderList as x, createCommentVNode as v } from "vue";
2
+ import { w as g, Q as C } from "./main-D3_7YhaK.js";
3
+ const B = { class: "timeline-layout" }, H = ["innerHTML"], L = {
4
+ key: 0,
5
+ class: "timeline-detail"
6
+ }, V = /* @__PURE__ */ h({
7
+ __name: "Timeline",
8
+ props: {
9
+ searchData: {},
10
+ route: {},
11
+ module: {},
12
+ schema: {},
13
+ table: {},
14
+ layout: {},
15
+ next: {},
16
+ set: {}
17
+ },
18
+ setup(_) {
19
+ let u = _, { module: T, schema: b, table: l, layout: i, next: w, set: s } = y(u);
20
+ return (E, M) => {
21
+ const p = o("el-timeline-item"), d = o("el-timeline"), f = o("el-empty");
22
+ return t(), n(e(g), { class: "timeline" }, {
23
+ default: m(() => [
24
+ r("div", B, [
25
+ e(s)[e(l).name].length > 0 ? (t(), n(d, {
26
+ key: 0,
27
+ reverse: !1
28
+ }, {
29
+ default: m(() => [
30
+ (t(!0), c(k, null, x(e(s)[e(l).name], (a) => (t(), n(p, {
31
+ timestamp: a[e(i).time]
32
+ }, {
33
+ default: m(() => [
34
+ r("div", {
35
+ innerHTML: e(C).getHtml(a[e(i).text])
36
+ }, null, 8, H)
37
+ ]),
38
+ _: 2
39
+ }, 1032, ["timestamp"]))), 256))
40
+ ]),
41
+ _: 1
42
+ })) : (t(), n(f, { key: 1 }))
43
+ ]),
44
+ e(l).length > 0 ? (t(), c("div", L, " 时间线节点详情 ")) : v("", !0)
45
+ ]),
46
+ _: 1
47
+ });
48
+ };
49
+ }
50
+ });
51
+ export {
52
+ V as default
53
+ };
@@ -0,0 +1,117 @@
1
+ import { defineComponent as Q, toRefs as U, ref as m, onMounted as X, watch as Y, nextTick as K, resolveComponent as N, openBlock as k, createElementBlock as w, unref as d, Fragment as L, renderList as B, createBlock as M, withCtx as b, createVNode as Z, createElementVNode as ee, toDisplayString as T, createCommentVNode as F } from "vue";
2
+ import { R as le, u as _, O, s as P } from "./main-D3_7YhaK.js";
3
+ const te = { class: "option-text" }, ae = {
4
+ key: 0,
5
+ class: "option-suffix"
6
+ }, de = /* @__PURE__ */ Q({
7
+ __name: "Tree",
8
+ props: {
9
+ route: {},
10
+ validateErrors: {},
11
+ module: {},
12
+ schema: {},
13
+ table: {},
14
+ layout: {},
15
+ next: {},
16
+ set: {}
17
+ },
18
+ setup(S, { expose: $ }) {
19
+ let z = S, { module: D, schema: ne, table: s, layout: l, set: f } = U(z), E = m(), V = m([]), x = m(), y = m(0), g = m([]), R = m(!0), W = (e, n, o) => {
20
+ let a = f.value[s.value.name].find((r) => r.PermissionId == e[l.value.id]);
21
+ a && (a[l.value.expand] = !0);
22
+ }, j = (e, n, o) => {
23
+ let a = f.value[s.value.name].find((r) => r.PermissionId == e[l.value.id]);
24
+ a && (a[l.value.expand] = !1);
25
+ }, q = (e, n, o) => {
26
+ let a = n.checkedKeys, r = e[l.value.id], i = _.contains(a, r), c = [], u = [], h = O.getChildren(e, "Children").map((t) => t[l.value.id]), p = f.value[s.value.name].map((t) => t[l.value.checked]), v = _.intersect(h, p);
27
+ if (i) {
28
+ c.push(e[l.value.id]);
29
+ let t = _.except(h, v);
30
+ t.length && (a.push(...t), c.push(...t));
31
+ } else
32
+ u.push(r), v.length == h.length && (u.push(...h), _.remove(a, h));
33
+ c.length && A(c), u.length && G(u);
34
+ }, A = (e) => {
35
+ for (let n = 0; n < e.length; n++) {
36
+ let o = P.getDefaultRow(s.value);
37
+ o[l.value.checked] = e[n], f.value[s.value.name].push(o);
38
+ }
39
+ }, G = (e) => {
40
+ let n = f.value[s.value.name];
41
+ for (let o = 0; o < e.length; o++) {
42
+ let a = n.find((r) => r[l.value.checked] == e[o]);
43
+ _.remove(n, a);
44
+ }
45
+ }, H = (e) => {
46
+ x.value = e.contentRect.width, y.value = Math.ceil(x.value / 300), I(s.value, l.value, f.value);
47
+ }, I = (e, n, o) => {
48
+ g.value = P.getLines(n.data, y.value, (a) => [a], () => 1), K(() => {
49
+ let a = o[e.name].map((i) => i[n.checked]), r = 0;
50
+ for (let i = 0; i < g.value.length; i++) {
51
+ let c = g.value[i];
52
+ for (let u = 0; u < c.length; u++) {
53
+ let C = V.value[r], h = c[u].data, p = O.getFlat(h, "Children").map((t) => t[n.id]), v = _.intersect(p, a);
54
+ if (!(v.length == 1 && p.length > 1)) for (let t = 0; t < v.length; t++) {
55
+ let J = v[t];
56
+ C.setChecked(J, !0, !1);
57
+ }
58
+ r++;
59
+ }
60
+ }
61
+ });
62
+ };
63
+ return X(() => {
64
+ x.value = le.getWidth(E.value), y.value = Math.ceil(x.value / 300), I(s.value, l.value, f.value);
65
+ }), Y(() => s.value, (e, n) => {
66
+ R.value = !1, K(() => {
67
+ R.value = !0, I(e, l.value, f.value);
68
+ });
69
+ }), $({ resize: H }), (e, n) => {
70
+ const o = N("el-tree"), a = N("el-col"), r = N("el-row");
71
+ return k(), w("div", {
72
+ ref_key: "layoutRef",
73
+ ref: E,
74
+ class: "ha-tree-layout"
75
+ }, [
76
+ d(R) ? (k(!0), w(L, { key: 0 }, B(d(g), (i, c) => (k(), M(r, null, {
77
+ default: b(() => [
78
+ (k(!0), w(L, null, B(i, ({ data: u, span: C, index: h }, p) => (k(), M(a, {
79
+ span: C,
80
+ key: `${c}.${p}`
81
+ }, {
82
+ default: b(() => [
83
+ Z(o, {
84
+ ref_for: !0,
85
+ ref_key: "treeRefs",
86
+ ref: V,
87
+ "show-checkbox": "",
88
+ "highlight-current": "",
89
+ "default-expand-all": !1,
90
+ "expand-on-click-node": !1,
91
+ "node-key": d(l).id,
92
+ data: u,
93
+ props: { children: "Children", label: d(l).text },
94
+ disabled: d(D).type == "Detail",
95
+ onNodeExpand: d(W),
96
+ onNodeCollapse: d(j),
97
+ onCheck: (v, t) => d(q)(v, t, h)
98
+ }, {
99
+ default: b(({ node: v, data: t }) => [
100
+ ee("div", te, T(t[d(l).text]), 1),
101
+ d(l).suffix ? (k(), w("div", ae, T(t[d(l).suffix]), 1)) : F("", !0)
102
+ ]),
103
+ _: 2
104
+ }, 1032, ["node-key", "data", "props", "disabled", "onNodeExpand", "onNodeCollapse", "onCheck"])
105
+ ]),
106
+ _: 2
107
+ }, 1032, ["span"]))), 128))
108
+ ]),
109
+ _: 2
110
+ }, 1024))), 256)) : F("", !0)
111
+ ], 512);
112
+ };
113
+ }
114
+ });
115
+ export {
116
+ de as default
117
+ };
@@ -1,19 +1,14 @@
1
- import { defineComponent as xe, toRefs as ge, ref as v, onMounted as Ce, onUnmounted as we, computed as q, watch as Ne, resolveComponent as T, openBlock as i, createBlock as g, unref as e, withCtx as f, createElementVNode as c, createElementBlock as h, createVNode as _, Fragment as Ke, renderList as Se, withDirectives as Re, resolveDynamicComponent as $e, createCommentVNode as C, createTextVNode as w, toDisplayString as b, vShow as Te, nextTick as O } from "vue";
2
- import { c as P, d as Ue, x as j, J as De, G as Ie, K as Ve, b as F, t as p, a as G, m as qe, T as J, h as Q, A as W, U as Le, M as Be } from "./main--j4fHmql.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import "./assets/file-saver-CwlpTZSc.js";
5
- import "./assets/clone-BZn0cTAu.js";
6
- import "./assets/moment-h96o7c8I.js";
7
- import "./assets/liquidjs-C-LVcoaY.js";
1
+ import { defineComponent as xe, toRefs as Ce, ref as v, onMounted as ge, onUnmounted as we, computed as L, watch as Ne, resolveComponent as T, openBlock as i, createBlock as C, unref as e, withCtx as f, createElementVNode as c, createElementBlock as h, createVNode as _, Fragment as Ke, renderList as Se, withDirectives as Re, resolveDynamicComponent as $e, createCommentVNode as g, createTextVNode as w, toDisplayString as k, vShow as Te, nextTick as A } from "vue";
2
+ import { a as F, c as De, k as M, A as Ie, z as Ve, B as qe, o as Y, e as p, _ as G, v as Le, O as H, T as J, u as Q, K as Ue, C as Be } from "./main-D3_7YhaK.js";
8
3
  import "vue-router";
9
4
  import "./assets/intro.js-DxWjEdp_.js";
10
- const Ee = { class: "tree-left" }, ze = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), He = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), Me = /* @__PURE__ */ c("i", { class: "fa fa-copy" }, null, -1), Ae = /* @__PURE__ */ c("i", { class: "fa fa-trash" }, null, -1), Oe = {
5
+ const ze = { class: "tree-left" }, Ee = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), Oe = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), Pe = /* @__PURE__ */ c("i", { class: "fa fa-copy" }, null, -1), je = /* @__PURE__ */ c("i", { class: "fa fa-trash" }, null, -1), Ae = {
11
6
  key: 2,
12
7
  class: "ha-empty"
13
- }, Pe = {
8
+ }, Fe = {
14
9
  key: 3,
15
10
  class: "tree-add"
16
- }, je = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), tl = /* @__PURE__ */ xe({
11
+ }, Me = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), We = /* @__PURE__ */ xe({
17
12
  __name: "Tree",
18
13
  props: {
19
14
  searchData: {},
@@ -26,131 +21,131 @@ const Ee = { class: "tree-left" }, ze = /* @__PURE__ */ c("i", { class: "fa fa-p
26
21
  set: {}
27
22
  },
28
23
  emits: ["refresh", "succeed", "search", "navigate"],
29
- setup(X, { expose: Y, emit: Z }) {
30
- let k = Z, ee = X, { route: N, module: L, schema: le, table: m, layout: r, next: y, set: Fe, searchData: te } = ge(ee), K = v(), B = v(), x = v(), S = v(), E = v(), ae = v(), d = v({ type: null, name: null, url: null, visible: !1 }), R = v(), U = null, a = v({ width: 250, currentNode: null, currentKey: null, expandedKeys: [], scrollTop: 0, visible: !1 }), z = () => {
24
+ setup(W, { expose: X, emit: Z }) {
25
+ let b = Z, ee = W, { route: N, module: U, schema: le, table: m, layout: o, next: y, set: Ye, searchData: te } = Ce(ee), K = v(), B = v(), x = v(), S = v(), z = v(), ae = v(), d = v({ type: null, name: null, url: null, visible: !1 }), R = v(), D = null, a = v({ width: 250, currentNode: null, currentKey: null, expandedKeys: [], scrollTop: 0, visible: !1 }), E = () => {
31
26
  if (!K.value)
32
27
  return;
33
28
  let l = K.value.$el.querySelector(".is-context");
34
29
  l && l.classList.remove("is-context");
35
- }, re = (l, t, o, n) => {
36
- z(), n.vnode.el.classList.add("is-context"), a.value.currentNode = t, U.show(l);
30
+ }, oe = (l, t, r, n) => {
31
+ E(), n.vnode.el.classList.add("is-context"), a.value.currentNode = t, D.show(l);
37
32
  }, $ = (l) => {
38
- let t = r.value.parentId, o = { [t]: null };
39
- l == "sibling" ? o[t] = a.value.currentNode[t] : l == "child" && (o[t] = a.value.currentNode[r.value.id]);
40
- let n = P.encode(o), u = `${y.value.insert.route}?default=${n}`;
41
- l == "copy" && (u += "&id=" + a.value.currentNode[r.value.id]), d.value.url = u, d.value.visible = !0;
42
- }, H = () => {
43
- let l = a.value.currentNode[r.value.id], t = a.value.currentNode[r.value.text], o = p("common.confirm_delete", t);
44
- qe.confirm(p("common.tips"), o, { type: "warning" }).then(() => {
45
- oe(l);
33
+ let t = o.value.parentId, r = { [t]: null };
34
+ l == "sibling" ? r[t] = a.value.currentNode[t] : l == "child" && (r[t] = a.value.currentNode[o.value.id]);
35
+ let n = F.encode(r), u = `${y.value.insert.route}?default=${n}`;
36
+ l == "copy" && (u += "&id=" + a.value.currentNode[o.value.id]), d.value.url = u, d.value.visible = !0;
37
+ }, O = () => {
38
+ let l = a.value.currentNode[o.value.id], t = a.value.currentNode[o.value.text], r = p("common.confirm_delete", t);
39
+ Le.confirm(p("common.tips"), r, { type: "warning" }).then(() => {
40
+ re(l);
46
41
  });
47
- }, oe = (l) => {
48
- let t = r.value.id, o = r.value.data, n = J.getNextById(l, t, o, "Children");
49
- Q.post(y.value.delete.route, [l]).then(() => {
50
- J.removeById(l, t, o, "Children");
42
+ }, re = (l) => {
43
+ let t = o.value.id, r = o.value.data, n = H.getNextById(l, t, r, "Children");
44
+ J.post(y.value.delete.route, [l]).then(() => {
45
+ H.removeById(l, t, r, "Children");
51
46
  let u = null;
52
- n && (u = n[t], a.value.currentKey = u, a.value.expandedKeys.push(u)), k("succeed", () => {
53
- D(a.value.scrollTop);
47
+ n && (u = n[t], a.value.currentKey = u, a.value.expandedKeys.push(u)), b("succeed", () => {
48
+ I(a.value.scrollTop);
54
49
  });
55
50
  });
56
51
  }, ne = (l) => {
57
52
  a.value.scrollTop = l.scrollTop;
58
- }, D = (l = null, t = null) => {
59
- a.value.visible = !1, O(() => {
60
- a.value.visible = !0, O(() => {
53
+ }, I = (l = null, t = null) => {
54
+ a.value.visible = !1, A(() => {
55
+ a.value.visible = !0, A(() => {
61
56
  if (l == null) {
62
- let o = K.value.$el.querySelector(".el-tree-node.is-current");
63
- o && o.scrollIntoView({ block: "center", behavior: "smooth" });
57
+ let r = K.value.$el.querySelector(".el-tree-node.is-current");
58
+ r && r.scrollIntoView({ block: "center", behavior: "smooth" });
64
59
  } else
65
60
  S.value.setScrollTop(l);
66
61
  t && t();
67
62
  });
68
63
  });
69
64
  }, ue = () => {
70
- d.value.visible = !1, k("succeed", () => {
71
- D(a.value.scrollTop);
65
+ d.value.visible = !1, b("succeed", () => {
66
+ I(a.value.scrollTop);
72
67
  });
73
68
  }, se = (l) => {
74
69
  d.value.type = l.module.type, d.value.name = l.module.name;
75
70
  }, de = () => {
76
71
  d.value.visible = !1;
77
- }, ie = (l, t, o) => {
78
- z();
79
- let n = l[r.value.id];
80
- if (W.pushIfNotExist(a.value.expandedKeys, n), n == a.value.currentKey)
72
+ }, ie = (l, t, r) => {
73
+ E();
74
+ let n = l[o.value.id];
75
+ if (Q.pushIfNotExist(a.value.expandedKeys, n), n == a.value.currentKey)
81
76
  x.value.refresh();
82
77
  else {
83
- a.value.currentKey = n, R.value = I();
84
- let u = Le.getUrl(N.value.fullPath, { id: n });
85
- k("navigate", u);
78
+ a.value.currentKey = n, R.value = V();
79
+ let u = Ue.getUrl(N.value.fullPath, { id: n });
80
+ b("navigate", u);
86
81
  }
87
- }, ce = (l, t, o) => {
88
- W.remove(a.value.expandedKeys, l[r.value.id]);
89
- }, ve = (l, t, o, n) => {
82
+ }, ce = (l, t, r) => {
83
+ Q.remove(a.value.expandedKeys, l[o.value.id]);
84
+ }, ve = (l, t, r, n) => {
90
85
  let u = {
91
- table: r.value.table,
92
- id: l.data[r.value.id],
93
- targetId: t.data[r.value.id],
94
- position: o
86
+ table: o.value.table,
87
+ id: l.data[o.value.id],
88
+ targetId: t.data[o.value.id],
89
+ position: r
95
90
  };
96
- Q.post(r.value.operation.route, u).then((A) => {
91
+ J.post(o.value.operation.route, u).then((j) => {
97
92
  });
98
93
  }, fe = (l) => {
99
- k("search", l);
94
+ b("search", l);
100
95
  }, me = (l) => {
101
96
  }, pe = (l, t) => l ? t[m.value.text].indexOf(l) !== -1 : !0, ye = () => {
102
- k("refresh");
97
+ b("refresh");
103
98
  }, he = (l, t) => {
104
99
  if (!x.value || !x.value.keyboard)
105
100
  return !1;
106
101
  x.value.keyboard(l, t);
107
102
  }, _e = () => {
108
103
  S.value.update();
109
- }, I = () => {
110
- let l = y.value[r.value.page.toLowerCase()].route;
104
+ }, V = () => {
105
+ let l = y.value[o.value.page.toLowerCase()].route;
111
106
  return a.value.currentKey && (l += "?id=" + a.value.currentKey), l;
112
- }, be = () => {
107
+ }, ke = () => {
113
108
  let l = N.value.query.id, t;
114
- l == null ? t = r.value.updateKey : t = j.convert(l, M.value.type), t && (a.value.currentKey = t, a.value.expandedKeys = [t], R.value = I()), D(null, () => {
115
- U = new Be(B.value, [S.value.$el, E.value]);
109
+ l == null ? t = o.value.updateKey : t = M.convert(l, P.value.type), t && (a.value.currentKey = t, a.value.expandedKeys = [t], R.value = V()), I(null, () => {
110
+ D = new Be(B.value, [S.value.$el, z.value]);
116
111
  });
117
112
  };
118
- Ce(() => {
119
- be();
113
+ ge(() => {
114
+ ke();
120
115
  }), we(() => {
121
- U.dispose();
122
- }), q(() => {
123
- let l = { [r.value.parentId]: N.value.query.id };
124
- return P.encode(l);
116
+ D.dispose();
117
+ }), L(() => {
118
+ let l = { [o.value.parentId]: N.value.query.id };
119
+ return F.encode(l);
125
120
  });
126
- let ke = q(() => {
121
+ let be = L(() => {
127
122
  let l = `/${m.value.name}/tree-node`;
128
- return Ue.getComponent(l, "partial", "tree-node");
129
- }), M = q(() => m.value.fields.find((t) => t.name == r.value.id));
123
+ return De.getComponent(l, "partial", "tree-node");
124
+ }), P = L(() => m.value.fields.find((t) => t.name == o.value.id));
130
125
  return Ne(() => N.value, (l, t) => {
131
- a.value.currentKey = j.convert(l.query.id, M.value.type), R.value = I();
132
- }), Y({ refresh: ye, keyboard: he, resize: _e }), (l, t) => {
133
- const o = T("el-scrollbar"), n = T("el-tree"), u = T("el-button"), A = T("el-drawer");
134
- return i(), g(e(De), {
126
+ a.value.currentKey = M.convert(l.query.id, P.value.type), R.value = V();
127
+ }), X({ refresh: ye, keyboard: he, resize: _e }), (l, t) => {
128
+ const r = T("el-scrollbar"), n = T("el-tree"), u = T("el-button"), j = T("el-drawer");
129
+ return i(), C(e(Ie), {
135
130
  class: "tree",
136
131
  width: e(a).width,
137
132
  onResize: t[5] || (t[5] = (s) => e(a).width = s)
138
133
  }, {
139
134
  left: f(() => [
140
- c("div", Ee, [
135
+ c("div", ze, [
141
136
  e(m).search.length ? (i(), h("div", {
142
137
  key: 0,
143
138
  ref_key: "searchRef",
144
139
  ref: ae,
145
140
  class: "tree-search"
146
141
  }, [
147
- _(o, null, {
142
+ _(r, null, {
148
143
  default: f(() => [
149
- (i(!0), h(Ke, null, Se(e(m).search, (s, V) => (i(), h("div", {
144
+ (i(!0), h(Ke, null, Se(e(m).search, (s, q) => (i(), h("div", {
150
145
  class: "search-field",
151
- key: V
146
+ key: q
152
147
  }, [
153
- _(e(Ie), {
148
+ _(e(Ve), {
154
149
  schema: e(le),
155
150
  table: e(m),
156
151
  field: s,
@@ -162,46 +157,46 @@ const Ee = { class: "tree-left" }, ze = /* @__PURE__ */ c("i", { class: "fa fa-p
162
157
  ]),
163
158
  _: 1
164
159
  })
165
- ], 512)) : (i(), g(e(Ve), {
160
+ ], 512)) : (i(), C(e(qe), {
166
161
  key: 1,
167
- title: e(F)(e(L).type, e(L).name)
162
+ title: e(Y)(e(U).type, e(U).name)
168
163
  }, null, 8, ["title"])),
169
- Re(_(o, {
164
+ Re(_(r, {
170
165
  ref_key: "scrollbarRef",
171
166
  ref: S,
172
167
  class: "tree-content",
173
168
  onScroll: e(ne)
174
169
  }, {
175
170
  default: f(() => [
176
- e(a).visible ? (i(), g(n, {
171
+ e(a).visible ? (i(), C(n, {
177
172
  key: 0,
178
173
  ref_key: "treeRef",
179
174
  ref: K,
180
175
  "highlight-current": "",
181
- "show-checkbox": e(r).checkbox,
176
+ "show-checkbox": e(o).checkbox,
182
177
  "expand-on-click-node": !1,
183
- draggable: !!e(r).operation,
184
- data: e(r).data,
185
- "node-key": e(r).id,
178
+ draggable: !!e(o).operation,
179
+ data: e(o).data,
180
+ "node-key": e(o).id,
186
181
  "current-node-key": e(a).currentKey,
187
- props: { children: "Children", label: e(r).text },
182
+ props: { children: "Children", label: e(o).text },
188
183
  "filter-node-method": e(pe),
189
184
  "default-expanded-keys": e(a).expandedKeys,
190
185
  onNodeClick: e(ie),
191
- onNodeContextmenu: e(re),
186
+ onNodeContextmenu: e(oe),
192
187
  onNodeCollapse: e(ce),
193
188
  onNodeDrop: e(ve)
194
189
  }, {
195
- default: f(({ node: s, data: V }) => [
196
- (i(), g($e(e(ke)), {
190
+ default: f(({ node: s, data: q }) => [
191
+ (i(), C($e(e(be)), {
197
192
  table: e(m),
198
- layout: e(r),
199
- row: V,
193
+ layout: e(o),
194
+ row: q,
200
195
  node: s
201
196
  }, null, 8, ["table", "layout", "row", "node"]))
202
197
  ]),
203
198
  _: 1
204
- }, 8, ["show-checkbox", "draggable", "data", "node-key", "current-node-key", "props", "filter-node-method", "default-expanded-keys", "onNodeClick", "onNodeContextmenu", "onNodeCollapse", "onNodeDrop"])) : C("", !0),
199
+ }, 8, ["show-checkbox", "draggable", "data", "node-key", "current-node-key", "props", "filter-node-method", "default-expanded-keys", "onNodeClick", "onNodeContextmenu", "onNodeCollapse", "onNodeDrop"])) : g("", !0),
205
200
  c("ul", {
206
201
  ref_key: "menuRef",
207
202
  ref: B,
@@ -210,69 +205,69 @@ const Ee = { class: "tree-left" }, ze = /* @__PURE__ */ c("i", { class: "fa fa-p
210
205
  c("li", {
211
206
  onClick: t[0] || (t[0] = (s) => e($)("child"))
212
207
  }, [
213
- ze,
214
- w(b(e(p)("tree.add_sub_item")), 1)
208
+ Ee,
209
+ w(k(e(p)("tree.add_sub_item")), 1)
215
210
  ]),
216
211
  c("li", {
217
212
  onClick: t[1] || (t[1] = (s) => e($)("sibling"))
218
213
  }, [
219
- He,
220
- w(b(e(p)("tree.add_same_grade")), 1)
214
+ Oe,
215
+ w(k(e(p)("tree.add_same_grade")), 1)
221
216
  ]),
222
217
  c("li", {
223
218
  onClick: t[2] || (t[2] = (s) => e($)("copy"))
224
219
  }, [
225
- Me,
226
- w(b(e(p)("common.copy")), 1)
220
+ Pe,
221
+ w(k(e(p)("common.copy")), 1)
227
222
  ]),
228
223
  e(y).delete ? (i(), h("li", {
229
224
  key: 0,
230
225
  onClick: t[3] || (t[3] = //@ts-ignore
231
- (...s) => e(H) && e(H)(...s))
226
+ (...s) => e(O) && e(O)(...s))
232
227
  }, [
233
- Ae,
234
- w(b(e(p)("common.delete")), 1)
235
- ])) : C("", !0)
228
+ je,
229
+ w(k(e(p)("common.delete")), 1)
230
+ ])) : g("", !0)
236
231
  ], 512)
237
232
  ]),
238
233
  _: 1
239
234
  }, 8, ["onScroll"]), [
240
- [Te, e(r).data.length]
235
+ [Te, e(o).data.length]
241
236
  ]),
242
- e(r).data.length ? C("", !0) : (i(), h("div", Oe, b(e(p)("common.no_data")), 1)),
243
- !e(r).data.length && e(y).insert ? (i(), h("div", Pe, [
237
+ e(o).data.length ? g("", !0) : (i(), h("div", Ae, k(e(p)("common.no_data")), 1)),
238
+ !e(o).data.length && e(y).insert ? (i(), h("div", Fe, [
244
239
  _(u, {
245
240
  type: "primary",
246
241
  onClick: e($)
247
242
  }, {
248
243
  icon: f(() => [
249
- je
244
+ Me
250
245
  ]),
251
246
  default: f(() => [
252
- w(" " + b(e(y).insert.title), 1)
247
+ w(" " + k(e(y).insert.title), 1)
253
248
  ]),
254
249
  _: 1
255
250
  }, 8, ["onClick"])
256
- ])) : C("", !0)
251
+ ])) : g("", !0)
257
252
  ])
258
253
  ]),
259
254
  default: f(() => [
260
255
  c("div", {
261
256
  ref_key: "detailRef",
262
- ref: E,
257
+ ref: z,
263
258
  class: "tree-detail"
264
259
  }, [
265
- e(a).currentKey ? (i(), g(e(G), {
260
+ e(a).currentKey ? (i(), C(e(G), {
266
261
  key: 0,
267
262
  ref_key: "singleRef",
268
263
  ref: x,
269
264
  url: e(R)
270
- }, null, 8, ["url"])) : C("", !0)
265
+ }, null, 8, ["url"])) : g("", !0)
271
266
  ], 512),
272
- _(A, {
267
+ _(j, {
273
268
  size: "60%",
274
269
  "destroy-on-close": "",
275
- title: e(F)(e(d).type, e(d).name),
270
+ title: e(Y)(e(d).type, e(d).name),
276
271
  modelValue: e(d).visible,
277
272
  "onUpdate:modelValue": t[4] || (t[4] = (s) => e(d).visible = s)
278
273
  }, {
@@ -293,5 +288,5 @@ const Ee = { class: "tree-left" }, ze = /* @__PURE__ */ c("i", { class: "fa fa-p
293
288
  }
294
289
  });
295
290
  export {
296
- tl as default
291
+ We as default
297
292
  };
@@ -0,0 +1,37 @@
1
+ import { defineComponent as x, toRefs as h, computed as C, openBlock as s, createElementBlock as i, unref as e, createElementVNode as N, toDisplayString as a, createTextVNode as b, createCommentVNode as d } from "vue";
2
+ import { e as y, W as g } from "./main-D3_7YhaK.js";
3
+ const k = ["title"], v = { class: "number" }, V = {
4
+ key: 0,
5
+ class: "option-suffix"
6
+ }, B = {
7
+ key: 1,
8
+ class: "count"
9
+ }, O = /* @__PURE__ */ x({
10
+ __name: "TreeNode",
11
+ props: {
12
+ table: {},
13
+ layout: {},
14
+ row: {},
15
+ node: {}
16
+ },
17
+ setup(u) {
18
+ let c = u, { table: p, layout: n, row: t, node: f } = h(c), m = (r, o) => {
19
+ let l = (r.parent.data.Children ? r.parent.data.Children.indexOf(o) : r.parent.data.indexOf(o)) + 1;
20
+ return g.padLeft(l, 2, "0");
21
+ }, _ = C(() => p.value.fields.find((l) => l.name == n.value.text).control.i18N);
22
+ return (r, o) => {
23
+ var l;
24
+ return s(), i("div", {
25
+ title: e(t)[e(n).title]
26
+ }, [
27
+ N("span", v, a(e(m)(e(f), e(t))), 1),
28
+ b(" " + a((l = e(_)) != null && l.value ? e(y)(e(t)[e(n).text]) : e(t)[e(n).text]) + " ", 1),
29
+ e(n).suffix ? (s(), i("span", V, a(e(t)[e(n).suffix]), 1)) : d("", !0),
30
+ e(t).Children && e(t).Children.length > 0 ? (s(), i("span", B, "(" + a(e(t).Children.length) + ")", 1)) : d("", !0)
31
+ ], 8, k);
32
+ };
33
+ }
34
+ });
35
+ export {
36
+ O as default
37
+ };