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,70 @@
1
+ import { defineComponent as N, toRefs as w, ref as p, computed as A, resolveComponent as g, openBlock as s, createElementBlock as f, createVNode as v, unref as t, isRef as _, withCtx as m, Fragment as E, renderList as R, createBlock as S, createTextVNode as V, toDisplayString as k, createElementVNode as U } from "vue";
2
+ import { e as D } from "./main-D3_7YhaK.js";
3
+ const F = { class: "control-checkbox" }, L = { class: "check-all" }, G = /* @__PURE__ */ N({
4
+ __name: "Checkbox",
5
+ props: {
6
+ schema: {},
7
+ table: {},
8
+ field: {},
9
+ set: {},
10
+ row: {},
11
+ modelValue: {}
12
+ },
13
+ emits: ["change", "update:modelValue"],
14
+ setup(x, { emit: b }) {
15
+ let i = b, C = x, { field: r, table: T, set: j, modelValue: h } = w(C), u = p(!1), c = p(!1), y = (n) => {
16
+ o.value = n ? r.value.control.data.data.map((e) => e.value) : [], c.value = !1;
17
+ }, B = (n) => {
18
+ let e = r.value.control.data.data.map((d) => d.value), a = n.filter((d) => e.includes(d));
19
+ u.value = a.length == e.length, c.value = a.length > 0 && a.length < e.length, o.value = a;
20
+ }, o = A({
21
+ get() {
22
+ return h.value ? h.value.split(",") : [];
23
+ },
24
+ set(n) {
25
+ let e = n.toString();
26
+ i("update:modelValue", e), i("change", e);
27
+ }
28
+ });
29
+ return (n, e) => {
30
+ const a = g("el-checkbox"), d = g("el-checkbox-group");
31
+ return s(), f("div", F, [
32
+ v(d, {
33
+ onChange: t(B),
34
+ modelValue: t(o),
35
+ "onUpdate:modelValue": e[0] || (e[0] = (l) => _(o) ? o.value = l : o = l)
36
+ }, {
37
+ default: m(() => [
38
+ (s(!0), f(E, null, R(t(r).control.data.data, (l) => (s(), S(a, {
39
+ disabled: t(r).control.readonly,
40
+ value: l.value,
41
+ key: l.value
42
+ }, {
43
+ default: m(() => [
44
+ V(k(l.text), 1)
45
+ ]),
46
+ _: 2
47
+ }, 1032, ["disabled", "value"]))), 128))
48
+ ]),
49
+ _: 1
50
+ }, 8, ["onChange", "modelValue"]),
51
+ U("div", L, [
52
+ v(a, {
53
+ indeterminate: t(c),
54
+ onChange: t(y),
55
+ modelValue: t(u),
56
+ "onUpdate:modelValue": e[1] || (e[1] = (l) => _(u) ? u.value = l : u = l)
57
+ }, {
58
+ default: m(() => [
59
+ V(k(t(D)("common.select_all")), 1)
60
+ ]),
61
+ _: 1
62
+ }, 8, ["indeterminate", "onChange", "modelValue"])
63
+ ])
64
+ ]);
65
+ };
66
+ }
67
+ });
68
+ export {
69
+ G as default
70
+ };
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ p({
10
10
  modelValue: {}
11
11
  },
12
12
  setup(a) {
13
- let r = u(() => import("./Dictionary-DYPWj-d0.js")), s = a, { schema: m, table: n, field: d, set: f, row: i, modelValue: l } = c(s);
13
+ let r = u(() => import("./Dictionary-Dga6kbof.js")), s = a, { schema: m, table: n, field: d, set: f, row: i, modelValue: l } = c(s);
14
14
  return (w, o) => (b(), V(e(r), {
15
15
  schema: e(m),
16
16
  table: e(n),
@@ -0,0 +1,54 @@
1
+ import { defineComponent as b, toRefs as h, ref as F, computed as T, watch as _, openBlock as w, createBlock as N, unref as n, isRef as k } from "vue";
2
+ import { p as x } from "./main-D3_7YhaK.js";
3
+ const R = /* @__PURE__ */ b({
4
+ __name: "Code",
5
+ props: {
6
+ schema: {},
7
+ table: {},
8
+ field: {},
9
+ set: {},
10
+ row: {},
11
+ modelValue: {}
12
+ },
13
+ emits: ["submit", "change", "update:modelValue"],
14
+ setup(d, { emit: g }) {
15
+ let c = g, f = d, { table: s, field: a, set: y, row: i, modelValue: p } = h(f), o = F({ language: null, scrollTop: 0, lineNumbers: null, schema: null, category: null }), v = (e) => {
16
+ let l = m(a.value.control.scrollTop);
17
+ l && (i.value[l.name] = e);
18
+ }, V = () => {
19
+ let e = r(a.value.control.scrollTop);
20
+ if (e && (o.value.scrollTop = parseInt(e)), o.value.lineNumbers = a.value.control.lineNumbers, a.value.control.languageField == null)
21
+ o.value.language = a.value.control.language;
22
+ else {
23
+ let l = r(a.value.control.languageField);
24
+ l && (o.value.language = l);
25
+ }
26
+ a.value.control.schema && (o.value.schema = a.value.control.schema, o.value.category = `${s.value.name}.${a.value.name}`);
27
+ }, r = (e) => {
28
+ let l = m(e);
29
+ return l ? i.value[l.name] : null;
30
+ }, m = (e) => e ? s.value.fields.find((u) => u.name == e) : null;
31
+ V();
32
+ let t = T({
33
+ get() {
34
+ return p.value ?? "";
35
+ },
36
+ set(e) {
37
+ c("update:modelValue", e), c("change", e);
38
+ }
39
+ });
40
+ return _(() => r(a.value.control.languageField), (e, l) => {
41
+ o.value.language = e;
42
+ }), (e, l) => (w(), N(n(x), {
43
+ class: "control-code",
44
+ border: "",
45
+ config: n(o),
46
+ onScroll: n(v),
47
+ modelValue: n(t),
48
+ "onUpdate:modelValue": l[0] || (l[0] = (u) => k(t) ? t.value = u : t = u)
49
+ }, null, 8, ["config", "onScroll", "modelValue"]));
50
+ }
51
+ });
52
+ export {
53
+ R as default
54
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-B1dEEN-z.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, toRefs as u, openBlock as p, createBlock as _, unref as e } from "vue";
2
- import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-CGIHkYJn.js";
2
+ import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-B1dEEN-z.js";
3
3
  const b = /* @__PURE__ */ r({
4
4
  __name: "Code",
5
5
  props: {
@@ -0,0 +1,36 @@
1
+ import { defineComponent as v, toRefs as h, ref as i, openBlock as V, createBlock as y, unref as n, normalizeStyle as x, isRef as F } from "vue";
2
+ import { p as _ } from "./main-D3_7YhaK.js";
3
+ const C = /* @__PURE__ */ v({
4
+ __name: "Code",
5
+ props: {
6
+ schema: {},
7
+ table: {},
8
+ field: {},
9
+ set: {},
10
+ row: {},
11
+ modelValue: {}
12
+ },
13
+ setup(f) {
14
+ let g = f, { table: s, field: t, set: b, row: d, modelValue: a } = h(g), o = i(), r = i({ language: null, readonly: !0, lineNumbers: "off" }), m = () => t.value.control.height ? `height: ${t.value.control.height}px` : "min-height: 200px;", c = (e) => e ? s.value.fields.find((u) => u.name == e) : null, p = (e) => {
15
+ let l = c(e);
16
+ return l ? d.value[l.name] : null;
17
+ };
18
+ return (() => {
19
+ if (o.value = m(), t.value.control.languageField == null)
20
+ r.value.language = t.value.control.language;
21
+ else {
22
+ let e = p(t.value.control.languageField);
23
+ e && (r.value.language = e);
24
+ }
25
+ })(), (e, l) => (V(), y(n(_), {
26
+ class: "text-code",
27
+ config: n(r),
28
+ style: x(n(o)),
29
+ modelValue: n(a),
30
+ "onUpdate:modelValue": l[0] || (l[0] = (u) => F(a) ? a.value = u : a = u)
31
+ }, null, 8, ["config", "style", "modelValue"]));
32
+ }
33
+ });
34
+ export {
35
+ C as default
36
+ };
@@ -0,0 +1,59 @@
1
+ import { defineComponent as C, toRefs as h, ref as s, onMounted as b, resolveComponent as m, openBlock as n, createElementBlock as u, createVNode as i, unref as e, isRef as k, withCtx as p, Fragment as c, renderList as B, createBlock as E, createTextVNode as f, toDisplayString as _, createCommentVNode as L } from "vue";
2
+ import { p as N } from "./main-D3_7YhaK.js";
3
+ import { Q } from "./QueryApi-S0e3c6l0.js";
4
+ const R = { class: "ha-code-layout" }, q = /* @__PURE__ */ C({
5
+ __name: "Code",
6
+ props: {
7
+ route: {},
8
+ validateErrors: {},
9
+ module: {},
10
+ schema: {},
11
+ table: {},
12
+ layout: {},
13
+ next: {},
14
+ set: {}
15
+ },
16
+ emits: ["submit", "change"],
17
+ setup(g, { emit: U }) {
18
+ let V = g, { module: w, schema: A, table: D, layout: l, next: F, set: M } = h(V), r = s({}), t = s(), v = () => {
19
+ t.value = l.value.languages[0];
20
+ };
21
+ return b(() => {
22
+ v(), Q.loadCodeLanguage().then((d) => {
23
+ d.forEach((a) => {
24
+ r.value[a.text] = a.suffix;
25
+ });
26
+ });
27
+ }), (d, a) => {
28
+ const x = m("el-radio"), y = m("el-radio-group");
29
+ return n(), u("div", R, [
30
+ i(y, {
31
+ modelValue: e(t),
32
+ "onUpdate:modelValue": a[0] || (a[0] = (o) => k(t) ? t.value = o : t = o)
33
+ }, {
34
+ default: p(() => [
35
+ (n(!0), u(c, null, B(e(l).languages, (o) => (n(), E(x, { value: o }, {
36
+ default: p(() => [
37
+ f(_(o) + " ", 1),
38
+ e(r)[o] ? (n(), u(c, { key: 0 }, [
39
+ f("(" + _(e(r)[o]) + ")", 1)
40
+ ], 64)) : L("", !0)
41
+ ]),
42
+ _: 2
43
+ }, 1032, ["value"]))), 256))
44
+ ]),
45
+ _: 1
46
+ }, 8, ["modelValue"]),
47
+ i(e(N), {
48
+ border: "",
49
+ config: { language: e(r)[e(t)] },
50
+ modelValue: e(l).codes[e(t)],
51
+ "onUpdate:modelValue": a[1] || (a[1] = (o) => e(l).codes[e(t)] = o)
52
+ }, null, 8, ["config", "modelValue"])
53
+ ]);
54
+ };
55
+ }
56
+ });
57
+ export {
58
+ q as _
59
+ };
@@ -0,0 +1,69 @@
1
+ import { defineComponent as F, toRefs as M, onMounted as b, computed as h, openBlock as l, createBlock as f, unref as e, withCtx as k, createElementBlock as o, Fragment as D, renderList as E, normalizeClass as H, createCommentVNode as u, createElementVNode as a, toDisplayString as i, resolveDynamicComponent as L, createVNode as S, createTextVNode as s } from "vue";
2
+ import { F as z, K as C, w as K, H as P } from "./main-D3_7YhaK.js";
3
+ import "element-plus";
4
+ import "vue-router";
5
+ import "./assets/intro.js-DxWjEdp_.js";
6
+ const R = {
7
+ key: 0,
8
+ class: "menus"
9
+ }, T = ["onClick"], $ = { class: "title" }, j = {
10
+ key: 1,
11
+ class: "column-empty"
12
+ }, q = /* @__PURE__ */ a("br", null, null, -1), A = /* @__PURE__ */ a("br", null, null, -1), X = /* @__PURE__ */ F({
13
+ __name: "Column",
14
+ props: {
15
+ view: {},
16
+ url: {},
17
+ win: {}
18
+ },
19
+ emits: ["loaded", "navigate"],
20
+ setup(y, { expose: g, emit: w }) {
21
+ let c = w, x = y, { url: m, view: d } = M(x), B = (t) => !0, N = (t) => !0, U = () => {
22
+ p();
23
+ }, p = () => {
24
+ c("loaded", r.value.title);
25
+ }, V = (t) => {
26
+ let v = C.getUrl(t.url, { m: t.id });
27
+ c("navigate", v);
28
+ };
29
+ b(() => {
30
+ p();
31
+ });
32
+ let r = h(() => z.getMenuByUrl(m.value)), _ = h(() => C.getPath(m.value));
33
+ return g({ shouldLoad: B, shouldSpin: N, refresh: U }), (t, v) => (l(), f(e(K), null, {
34
+ default: k(() => [
35
+ e(r) ? (l(), o("div", R, [
36
+ (l(!0), o(D, null, E(e(r).children, (n) => (l(), o("div", {
37
+ class: "menu",
38
+ key: n.id,
39
+ onClick: (G) => e(V)(n)
40
+ }, [
41
+ n.icon ? (l(), o("i", {
42
+ key: 0,
43
+ class: H(n.icon)
44
+ }, null, 2)) : u("", !0),
45
+ a("div", $, i(n.title), 1)
46
+ ], 8, T))), 128))
47
+ ])) : u("", !0),
48
+ (l(), f(L(e(d)))),
49
+ (!e(r) || e(r).children == 0) && !e(d) ? (l(), o("div", j, [
50
+ S(e(P), null, {
51
+ default: k(() => [
52
+ s(" 此栏目页不存在子菜单或自定义部分视图,无内容可展示 ")
53
+ ]),
54
+ _: 1
55
+ }),
56
+ s(" 可考虑以下任一选项:"),
57
+ q,
58
+ s(" 1. 在 src/views 中实现自定义页面:" + i(e(_)), 1),
59
+ A,
60
+ s(" 2. 在 src/components/partials 中实现自定义首页部分视图:" + i(e(_)), 1)
61
+ ])) : u("", !0)
62
+ ]),
63
+ _: 1
64
+ }));
65
+ }
66
+ });
67
+ export {
68
+ X as default
69
+ };
@@ -0,0 +1,98 @@
1
+ import { defineComponent as E, toRefs as N, ref as S, computed as y, resolveComponent as u, openBlock as m, createElementBlock as p, createElementVNode as t, createVNode as v, createTextVNode as a, toDisplayString as l, unref as e, withCtx as b, Fragment as j, renderList as B, createBlock as T, createCommentVNode as q } from "vue";
2
+ import { K as D } from "./main-D3_7YhaK.js";
3
+ const F = { class: "ha-comment-layout" }, K = { class: "comment-add" }, L = { class: "add-footer" }, M = { class: "footer-title" }, R = /* @__PURE__ */ t("i", { class: "el-icon-s-comment" }, null, -1), U = { class: "comment-user" }, $ = { class: "avatar" }, A = /* @__PURE__ */ t("img", {
4
+ src: "https://upload.jianshu.io/users/upload_avatars/2859365/cce8943353eb.jpeg?imageMogr2/auto-orient/strip|imageView2/1/w/80/h/80/format/webp",
5
+ alt: ""
6
+ }, null, -1), G = { class: "comment-body" }, H = { class: "comment-time" }, J = { class: "comment-content" }, O = /* @__PURE__ */ t("div", { class: "content-footer" }, [
7
+ /* @__PURE__ */ t("span", null, [
8
+ /* @__PURE__ */ t("i", { class: "fa fa-thumbs-up" }),
9
+ /* @__PURE__ */ a("20")
10
+ ]),
11
+ /* @__PURE__ */ t("span", null, [
12
+ /* @__PURE__ */ t("i", { class: "el-icon-s-comment" }),
13
+ /* @__PURE__ */ a("回复")
14
+ ])
15
+ ], -1), P = { class: "comment-footer" }, Z = /* @__PURE__ */ E({
16
+ __name: "Comment",
17
+ props: {
18
+ route: {},
19
+ validateErrors: {},
20
+ module: {},
21
+ schema: {},
22
+ table: {},
23
+ layout: {},
24
+ next: {},
25
+ set: {}
26
+ },
27
+ setup(C) {
28
+ let x = C, { schema: Q, table: r, layout: o, set: _, validateErrors: W } = N(x), c = S(1), k = (n) => {
29
+ c.value = n;
30
+ }, w = y(() => {
31
+ let n = (c.value - 1) * o.value.pageSize, i = c.value * o.value.pageSize - 1;
32
+ return _.value[r.value.name].filter((f, d) => d >= n && d <= i);
33
+ }), h = y(() => r.value.fields.find((i) => i.name == o.value.userId));
34
+ return (n, i) => {
35
+ const g = u("el-input"), f = u("el-button"), d = u("router-link"), I = u("el-pagination");
36
+ return m(), p("div", F, [
37
+ t("div", K, [
38
+ v(g, { type: "textarea" }),
39
+ t("div", L, [
40
+ t("div", M, [
41
+ R,
42
+ a("全部评论 (" + l(e(_)[e(r).name].length) + ")", 1)
43
+ ]),
44
+ v(f, {
45
+ type: "primary",
46
+ class: "btn-comment",
47
+ icon: "el-icon-s-promotion"
48
+ }, {
49
+ default: b(() => [
50
+ a("评论")
51
+ ]),
52
+ _: 1
53
+ })
54
+ ])
55
+ ]),
56
+ (m(!0), p(j, null, B(e(w), (s, z) => (m(), p("div", {
57
+ class: "comment",
58
+ key: z
59
+ }, [
60
+ t("div", U, [
61
+ t("div", $, [
62
+ A,
63
+ a(" " + l(s[e(o).avatar]), 1)
64
+ ])
65
+ ]),
66
+ t("div", G, [
67
+ e(h) ? (m(), T(d, {
68
+ key: 0,
69
+ class: "comment-name",
70
+ to: e(D).getUrl("/sys_user/detail", { id: s[e(o).userId], m: n.$route.query.m })
71
+ }, {
72
+ default: b(() => [
73
+ a(l(e(h).control.data.data.find((V) => V.value == s[e(o).userId]).text), 1)
74
+ ]),
75
+ _: 2
76
+ }, 1032, ["to"])) : q("", !0),
77
+ t("div", H, l(s[e(o).commentTime]), 1),
78
+ t("div", J, l(s[e(o).content]), 1),
79
+ O
80
+ ])
81
+ ]))), 128)),
82
+ t("div", P, [
83
+ v(I, {
84
+ background: "",
85
+ layout: "total, prev, pager, next, jumper",
86
+ "current-page": e(c),
87
+ "page-size": e(o).pageSize,
88
+ total: e(_)[e(r).name].length,
89
+ onCurrentChange: e(k)
90
+ }, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
91
+ ])
92
+ ]);
93
+ };
94
+ }
95
+ });
96
+ export {
97
+ Z as default
98
+ };
@@ -0,0 +1,38 @@
1
+ import { defineComponent as x, toRefs as E, onMounted as b, computed as s, unref as f, openBlock as k, createElementBlock as w, normalizeClass as y, createCommentVNode as V, nextTick as B } from "vue";
2
+ import { m as N } from "./main-D3_7YhaK.js";
3
+ const D = /* @__PURE__ */ x({
4
+ __name: "Compare",
5
+ props: {
6
+ schema: {},
7
+ table: {},
8
+ field: {},
9
+ set: {},
10
+ row: {},
11
+ modelValue: {}
12
+ },
13
+ setup(p) {
14
+ let v = p, { table: l, field: t, set: g, row: a, modelValue: M } = E(v), o = l.value.name + "-" + t.value.name + "-" + g.value[l.value.name].indexOf(a.value), r = null, n = null, i = null, e = null, C = () => {
15
+ B(() => {
16
+ let d = l.value.fields.find((h) => h.name == t.value.control.compareWith), c = a.value[d.name];
17
+ n = e.editor.createModel(c, u.value), i = e.editor.createModel(m.value, u.value);
18
+ let _ = document.getElementsByClassName(o)[0];
19
+ debugger;
20
+ r = e.editor.createDiffEditor(_, { originalEditable: !0 }), r.setModel({
21
+ original: n,
22
+ modified: i
23
+ });
24
+ });
25
+ };
26
+ b(async () => {
27
+ e = await N.getMonaco(), C();
28
+ });
29
+ let m = s(() => M.value || ""), u = s(() => t.value.control.type.toLowerCase());
30
+ return (d, c) => f(m) ? (k(), w("div", {
31
+ key: 0,
32
+ class: y(`text-compare ${f(o)}`)
33
+ }, null, 2)) : V("", !0);
34
+ }
35
+ });
36
+ export {
37
+ D as default
38
+ };
@@ -1,12 +1,6 @@
1
1
  import { defineComponent as b, toRefs as k, ref as h, onMounted as w, computed as S, watch as v, openBlock as B, createElementBlock as D, normalizeStyle as R, unref as W, nextTick as z } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import "./assets/clone-BZn0cTAu.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/moment-h96o7c8I.js";
7
- import { n as L } from "./main--j4fHmql.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
9
- const I = /* @__PURE__ */ b({
2
+ import { m as L } from "./main-D3_7YhaK.js";
3
+ const j = /* @__PURE__ */ b({
10
4
  __name: "Compare",
11
5
  props: {
12
6
  schema: {},
@@ -18,15 +12,15 @@ const I = /* @__PURE__ */ b({
18
12
  },
19
13
  emits: ["submit", "change", "update:modelValue"],
20
14
  setup(V, { emit: M }) {
21
- let m = M, y = V, { table: E, field: i, set: O, row: u, modelValue: c } = k(y), r = null, f = null, p = null, t = null, l = null, g = h(), s = h(), _ = (e) => {
22
- s.value = C(), z(() => {
23
- let o = u.value[d.value.name], a = i.value.control.language;
24
- f = e.editor.createModel(c.value, a), p = e.editor.createModel(o, a), r = e.editor.createDiffEditor(g.value, {
15
+ let m = M, y = V, { table: E, field: i, set: O, row: u, modelValue: c } = k(y), r = null, f = null, g = null, t = null, l = null, s = h(), p = h(), _ = (e) => {
16
+ p.value = C(), z(() => {
17
+ let a = u.value[d.value.name], o = i.value.control.language;
18
+ f = e.editor.createModel(c.value, o), g = e.editor.createModel(a, o), r = e.editor.createDiffEditor(s.value, {
25
19
  originalEditable: !0,
26
20
  automaticLayout: !0,
27
21
  renderSideBySide: !i.value.control.inline
28
22
  //是否启用行内模式
29
- }), r.setModel({ original: f, modified: p }), t = r.getOriginalEditor(), t.onDidChangeModelContent((x) => {
23
+ }), r.setModel({ original: f, modified: g }), t = r.getOriginalEditor(), t.onDidChangeModelContent((x) => {
30
24
  let n = t.getValue();
31
25
  m("update:modelValue", n), m("change", n);
32
26
  }), l = r.getModifiedEditor(), l.onDidChangeModelContent((x) => {
@@ -39,25 +33,25 @@ const I = /* @__PURE__ */ b({
39
33
  let e = await L.getMonaco();
40
34
  _(e);
41
35
  });
42
- let d = S(() => E.value.fields.find((o) => o.name == i.value.control.compareWith));
43
- return v(() => c.value, (e, o) => {
36
+ let d = S(() => E.value.fields.find((a) => a.name == i.value.control.compareWith));
37
+ return v(() => c.value, (e, a) => {
44
38
  if (!t)
45
39
  return;
46
- let a = t.getValue();
47
- e != a && t.setValue(e ?? "");
48
- }), v(() => u.value[d.value.name], (e, o) => {
40
+ let o = t.getValue();
41
+ e != o && t.setValue(e ?? "");
42
+ }), v(() => u.value[d.value.name], (e, a) => {
49
43
  if (!l)
50
44
  return;
51
- let a = l.getValue();
52
- e != a && l.setValue(e ?? "");
53
- }), (e, o) => (B(), D("div", {
45
+ let o = l.getValue();
46
+ e != o && l.setValue(e ?? "");
47
+ }), (e, a) => (B(), D("div", {
54
48
  ref_key: "compareRef",
55
- ref: g,
49
+ ref: s,
56
50
  class: "control-compare",
57
- style: R(W(s))
51
+ style: R(W(p))
58
52
  }, null, 4));
59
53
  }
60
54
  });
61
55
  export {
62
- I as default
56
+ j as default
63
57
  };
@@ -0,0 +1,43 @@
1
+ import { defineComponent as y, toRefs as v, computed as _, unref as l, renderSlot as n, openBlock as g, createElementBlock as b, createElementVNode as c } from "vue";
2
+ import { v as a } from "./main-D3_7YhaK.js";
3
+ import { C } from "./assets/clipboard-DjQPoCBJ.js";
4
+ const k = {
5
+ key: 1,
6
+ class: "copy-container"
7
+ }, J = /* @__PURE__ */ c("img", {
8
+ src: "/default/images/clippy.svg",
9
+ alt: "复制文本"
10
+ }, null, -1), h = [
11
+ J
12
+ ], E = /* @__PURE__ */ y({
13
+ __name: "Copy",
14
+ props: {
15
+ schema: {},
16
+ table: {},
17
+ field: {},
18
+ set: {},
19
+ row: {},
20
+ modelValue: {}
21
+ },
22
+ setup(p) {
23
+ let u = p, { table: w, field: r, set: N, row: S, modelValue: i } = v(u), d = (e) => JSON.stringify(JSON.parse(e), null, 2), f = () => o.value && r.value.control.type == "Json" ? d(o.value).replace(/"/g, "'") : o.value, s = () => {
24
+ let e = new C(".btn-copy", { text: () => f() });
25
+ e.on("success", function(t) {
26
+ a.success("复制成功"), e.destroy();
27
+ }), e.on("error", function(t) {
28
+ a.error("复制失败"), e.destroy();
29
+ });
30
+ }, o = _(() => i.value);
31
+ return (e, t) => l(r).control.copy ? (g(), b("div", k, [
32
+ c("i", {
33
+ class: "btn-copy",
34
+ onClick: t[0] || (t[0] = //@ts-ignore
35
+ (...m) => l(s) && l(s)(...m))
36
+ }, h),
37
+ n(e.$slots, "default")
38
+ ])) : n(e.$slots, "default", { key: 0 });
39
+ }
40
+ });
41
+ export {
42
+ E as default
43
+ };
@@ -0,0 +1,51 @@
1
+ import { defineComponent as x, toRefs as z, ref as L, openBlock as n, createBlock as i, KeepAlive as R, resolveDynamicComponent as B, unref as o } from "vue";
2
+ import { K, v as N, e as U } from "./main-D3_7YhaK.js";
3
+ const P = /* @__PURE__ */ x({
4
+ __name: "Custom",
5
+ props: {
6
+ view: {},
7
+ url: {},
8
+ win: {}
9
+ },
10
+ emits: ["loaded", "navigate"],
11
+ setup(u, { expose: s, emit: f }) {
12
+ let a = f, v = u, { url: d, view: m, win: p } = z(v), t = L(), c = (e, l) => {
13
+ if (!t.value || !t.value.keyboard)
14
+ return !1;
15
+ t.value.keyboard(e, l);
16
+ }, h = (e) => !0, g = (e) => !0, w = () => {
17
+ var l;
18
+ let e = (l = t.value) == null ? void 0 : l.refresh;
19
+ if (!e) {
20
+ let r = K.getPath(d.value);
21
+ N.notify(U("common.tips"), `要实现自定义刷新功能,请在组件 ${r} 内部定义并暴露refresh方法即可`, "warning");
22
+ return;
23
+ }
24
+ e();
25
+ }, _ = (e) => {
26
+ var r;
27
+ let l = (r = t.value) == null ? void 0 : r.beforeClose;
28
+ l && l(e);
29
+ }, b = (e) => {
30
+ t.value && t.value.resize && t.value.resize(e);
31
+ }, k = (e) => {
32
+ t.value.handler(e);
33
+ }, y = (e) => {
34
+ a("loaded", e);
35
+ }, C = (e) => {
36
+ a("navigate", e);
37
+ };
38
+ return s({ shouldLoad: h, shouldSpin: g, refresh: w, beforeClose: _, keyboard: c, resize: b, handler: k }), (e, l) => (n(), i(R, null, [
39
+ (n(), i(B(o(m)), {
40
+ ref_key: "customRef",
41
+ ref: t,
42
+ win: o(p),
43
+ onLoaded: o(y),
44
+ onNavigate: o(C)
45
+ }, null, 40, ["win", "onLoaded", "onNavigate"]))
46
+ ], 1024));
47
+ }
48
+ });
49
+ export {
50
+ P as default
51
+ };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./DataExport.vue_vue_type_script_setup_true_lang-CbiPENFw.js";
1
+ import { _ as f } from "./DataExport.vue_vue_type_script_setup_true_lang-yTe6V3Dn.js";
2
2
  export {
3
3
  f as default
4
4
  };