halo-pc 1.0.40 → 1.0.42

Sign up to get free protection for your applications and to get access to all the features.
Files changed (376) hide show
  1. package/dist/{Article-CqtkXVmQ.js → Article-DFUSows8.js} +63 -57
  2. package/dist/{ArticleFooter-DeJdTtZD.js → ArticleFooter-Cj1BBlA1.js} +25 -19
  3. package/dist/{Autocomplete-0fxB2_FC.js → Autocomplete-BwXXwn67.js} +1 -1
  4. package/dist/Autocomplete-CkaC4B9a.js +55 -0
  5. package/dist/Autocomplete-lOArRE-3.js +54 -0
  6. package/dist/{CSharp-BIFRQLaK.js → CSharp-DKso7gNM.js} +1 -1
  7. package/dist/{Calender-DPNTn-S4.js → Calender-D-SOVcZj.js} +2 -2
  8. package/dist/Callback-BR41Vj-N.js +26 -0
  9. package/dist/Cascader-CgATYx_L.js +87 -0
  10. package/dist/Cascader-_zr2LKml.js +47 -0
  11. package/dist/{Checkbox-CIim5NiB.js → Checkbox-5ILQf19K.js} +1 -1
  12. package/dist/Checkbox-BL8CgSAj.js +76 -0
  13. package/dist/Code-B4PQhSMK.js +4 -0
  14. package/dist/{Code-yDKaH1uF.js → Code-C-YP2p5l.js} +1 -1
  15. package/dist/Code-DFyhE56y.js +60 -0
  16. package/dist/Code-DiXOxLRf.js +42 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-XgvwusB0.js +65 -0
  18. package/dist/Column-Bc7Oihiz.js +75 -0
  19. package/dist/{Comment-tU2wBvGO.js → Comment-xRgfVwWf.js} +25 -19
  20. package/dist/Compare-Bs02uoCu.js +43 -0
  21. package/dist/Compare-CzjhvoMB.js +63 -0
  22. package/dist/Copy-Cm2a5gNO.js +49 -0
  23. package/dist/Custom-DUwgObv0.js +55 -0
  24. package/dist/{DataExport-BDftKI0U.js → DataExport-Bl8Gnd65.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Dzy9UC11.js → DataExport.vue_vue_type_script_setup_true_lang-BdcGXCd-.js} +31 -25
  26. package/dist/{DataImport-CRYaaQfA.js → DataImport-a0LeLUqN.js} +1 -1
  27. package/dist/DataImport.vue_vue_type_script_setup_true_lang-SUTAEcM1.js +178 -0
  28. package/dist/{Date-Dlh1_S7p.js → Date-3ShwD2-i.js} +1 -1
  29. package/dist/Date-Bxg6thBd.js +43 -0
  30. package/dist/{DateRange-BgF_T3ls.js → DateRange-Bs02SlBL.js} +17 -11
  31. package/dist/DateTime-9zVeZZU1.js +44 -0
  32. package/dist/{DateTime-CNjPeK9t.js → DateTime-CBvGI0QK.js} +1 -1
  33. package/dist/{DateTimeRange-DbEpW4nB.js → DateTimeRange-BvzT4ePX.js} +15 -9
  34. package/dist/{Daterange-DHVjhrK9.js → Daterange-jjGQtOYX.js} +23 -17
  35. package/dist/{Decimal-BDEWVSsK.js → Decimal-ZCkGNnu6.js} +1 -1
  36. package/dist/Delete-DFYWGXxR.js +62 -0
  37. package/dist/Detail-BCOVW_Bc.js +75 -0
  38. package/dist/{Dictionary-CJwZPQz6.js → Dictionary-CzVkbTgC.js} +15 -9
  39. package/dist/Email-BkTp1o4W.js +54 -0
  40. package/dist/File-B5gD6gIN.js +164 -0
  41. package/dist/Image-CJehZtl1.js +9 -0
  42. package/dist/{Index-j15c7lwJ.js → Index--k39OOeR.js} +1 -1
  43. package/dist/Index-BgaidjN1.js +4 -0
  44. package/dist/{Index-D2FOeoNQ.js → Index-Bkk7Lbow.js} +1 -1
  45. package/dist/Index-C1d92iVF.js +4 -0
  46. package/dist/Index-CqcpoI5q.js +179 -0
  47. package/dist/Index-D46msJe6.js +4 -0
  48. package/dist/Index-DNzPzZAD.js +4 -0
  49. package/dist/Index-fLIY_xZz.js +76 -0
  50. package/dist/Index.vue_vue_type_script_setup_true_lang-B5I-mP-B.js +72 -0
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-ByxBNAdg.js → Index.vue_vue_type_script_setup_true_lang-BBos3LCo.js} +26 -20
  52. package/dist/{Install-WR3b4IfI.js → Install-D5a1Clhz.js} +40 -34
  53. package/dist/Int-BCPaDwRr.js +47 -0
  54. package/dist/Int-vbDN15ge.js +44 -0
  55. package/dist/List-1gzG3Hh5.js +77 -0
  56. package/dist/Maintaince-or5c_o4Q.js +20 -0
  57. package/dist/{Markdown-nVfQs7kc.js → Markdown-DA3F0wmz.js} +1 -1
  58. package/dist/{Month-CxKMP4kO.js → Month-BNmPXwr5.js} +1 -1
  59. package/dist/Month-C5Gs9TzA.js +44 -0
  60. package/dist/Month-DWJvfZWH.js +43 -0
  61. package/dist/Normal-C08A_LBQ.js +266 -0
  62. package/dist/Paging-CTYEtfU6.js +100 -0
  63. package/dist/{PagingHeader-C8UpM9Kj.js → PagingHeader-ooBPU84X.js} +33 -27
  64. package/dist/{PagingRow-oQWCofO4.js → PagingRow-BBzD3uJR.js} +26 -20
  65. package/dist/{Racebar-CvoF2ySW.js → Racebar-CGxwvdJg.js} +29 -23
  66. package/dist/{Radio-DhjfkC14.js → Radio-Rf8Dk0Kt.js} +1 -1
  67. package/dist/{Register-B0Vx60wY.js → Register-CRG2u_Oc.js} +82 -76
  68. package/dist/RichText-D9mVss4s.js +47 -0
  69. package/dist/{SearchForm-BHVnQaSL.js → SearchForm-DhNSuvIB.js} +1 -1
  70. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-ByICIL6w.js → SearchForm.vue_vue_type_style_index_0_lang-rTj9jfpz.js} +58 -52
  71. package/dist/{SearchHeader-C9yovXli.js → SearchHeader-BH9MZ9J0.js} +1 -1
  72. package/dist/{SearchHeader.vue_vue_type_style_index_0_lang-CHAg97-Y.js → SearchHeader.vue_vue_type_style_index_0_lang-BCguAmMx.js} +1 -1
  73. package/dist/{Select-vgwpegBi.js → Select-BGxScF1V.js} +35 -29
  74. package/dist/{Select-CX4i5KPQ.js → Select-D6zMSIK-.js} +1 -1
  75. package/dist/{Select-BDoCqD3I.js → Select-pxgFT4W6.js} +32 -26
  76. package/dist/Single-Dur5AQwJ.js +325 -0
  77. package/dist/{Statistic-WPezAlUn.js → Statistic-D2Ui-cl9.js} +37 -31
  78. package/dist/{Stock-EPM3j2f_.js → Stock-CPNV5oAr.js} +1 -1
  79. package/dist/{Stock-BD5Acf8y.js → Stock-S-yoIR63.js} +1 -1
  80. package/dist/{Stock.vue_vue_type_style_index_0_lang-D5RR2MRP.js → Stock.vue_vue_type_style_index_0_lang-CBM83HPm.js} +30 -24
  81. package/dist/{Switch-B0XN4K-9.js → Switch-Ddzu0cVc.js} +1 -1
  82. package/dist/{Table-BklK1hSh.js → Table-Dehxw_Mm.js} +115 -109
  83. package/dist/{Table-JFdOXuME.js → Table-td4DoauS.js} +96 -90
  84. package/dist/Text-BQ2sP6BX.js +54 -0
  85. package/dist/Text-BlDU58Cj.js +4 -0
  86. package/dist/Text-DzOAFDPQ.js +58 -0
  87. package/dist/Text.vue_vue_type_style_index_0_lang-SkwvLnGj.js +59 -0
  88. package/dist/TextLink-BNd6HG70.js +65 -0
  89. package/dist/{Textarea-3SWLqQvO.js → Textarea-BEGLCMlW.js} +1 -1
  90. package/dist/Time-6IjugDB1.js +43 -0
  91. package/dist/{Timeline-B6hUIYhL.js → Timeline-rO6-BdP9.js} +19 -13
  92. package/dist/{Tree-JexLPBXX.js → Tree-B4CrBXsk.js} +41 -35
  93. package/dist/Tree-Ba3IsT-8.js +298 -0
  94. package/dist/TreeNode-D3zRAE68.js +43 -0
  95. package/dist/Update-DustuC7M.js +70 -0
  96. package/dist/{UpdateChild-DUG7pAuO.js → UpdateChild-D_vBiyT5.js} +26 -20
  97. package/dist/Upload-ByD17bHe.js +71 -0
  98. package/dist/Upload-pOEf-6VG.js +150 -0
  99. package/dist/{Year-BRsJ7b1J.js → Year-CWW-xi29.js} +1 -1
  100. package/dist/Year-DkYUnUm3.js +47 -0
  101. package/dist/assets/{clipboard-ClN4QccS.js → clipboard-DjQPoCBJ.js} +3 -1
  102. package/dist/assets/clone-BZn0cTAu.js +134 -0
  103. package/dist/assets/file-saver-CwlpTZSc.js +74 -0
  104. package/dist/assets/liquidjs-BfOWWjtJ.js +2907 -0
  105. package/dist/assets/moment-h96o7c8I.js +2578 -0
  106. package/dist/assets/sprintf-js-BPTdvBYM.js +148 -0
  107. package/dist/assets/underscore-B0BCaBxV.js +1070 -0
  108. package/dist/assets/underscore.string-DVXD2SZo.js +425 -0
  109. package/dist/assets/util-deprecate-Dzun97re.js +28 -0
  110. package/dist/main-DSgfGXqN.js +10966 -0
  111. package/dist/main.js +163 -164
  112. package/dist/style.css +1 -1
  113. package/esm/@types/CreatePcOptions.d.ts +1 -2
  114. package/esm/@types/index.d.ts +1 -2
  115. package/esm/coms/business/@types/DrawerProps.d.ts +1 -2
  116. package/esm/coms/business/@types/FormProps.d.ts +1 -2
  117. package/esm/coms/business/@types/index.d.ts +2 -3
  118. package/esm/coms/business/Condition.vue.d.ts +3 -3
  119. package/esm/coms/business/Drawer.vue.d.ts +2 -2
  120. package/esm/coms/business/Form.vue.d.ts +3 -2
  121. package/esm/coms/commons/@types/TableProps.d.ts +1 -2
  122. package/esm/coms/commons/@types/index.d.ts +1 -2
  123. package/esm/coms/commons/Captcha.vue.d.ts +1 -1
  124. package/esm/coms/commons/Debug.vue.d.ts +2 -1
  125. package/esm/coms/commons/Editable.vue.d.ts +2 -1
  126. package/esm/coms/commons/Loading.vue.d.ts +2 -1
  127. package/esm/coms/commons/Resizer.vue.d.ts +3 -2
  128. package/esm/coms/commons/Table.vue.d.ts +8 -3
  129. package/esm/coms/commons/TableColumn.vue.d.ts +2 -1
  130. package/esm/coms/controls/@types/ControlProps.d.ts +1 -2
  131. package/esm/coms/controls/@types/index.d.ts +1 -2
  132. package/esm/coms/controls/Autocomplete.vue.d.ts +4 -5
  133. package/esm/coms/controls/Cascader.vue.d.ts +4 -5
  134. package/esm/coms/controls/Checkbox.vue.d.ts +5 -6
  135. package/esm/coms/controls/Code.vue.d.ts +4 -5
  136. package/esm/coms/controls/Color.vue.d.ts +4 -5
  137. package/esm/coms/controls/Compare.vue.d.ts +5 -6
  138. package/esm/coms/controls/Date.vue.d.ts +4 -5
  139. package/esm/coms/controls/DateRange.vue.d.ts +4 -5
  140. package/esm/coms/controls/DateTime.vue.d.ts +4 -5
  141. package/esm/coms/controls/DateTimeRange.vue.d.ts +4 -5
  142. package/esm/coms/controls/Decimal.vue.d.ts +4 -5
  143. package/esm/coms/controls/Email.vue.d.ts +4 -5
  144. package/esm/coms/controls/Index.vue.d.ts +4 -5
  145. package/esm/coms/controls/Int.vue.d.ts +4 -5
  146. package/esm/coms/controls/Markdown.vue.d.ts +4 -5
  147. package/esm/coms/controls/Month.vue.d.ts +4 -5
  148. package/esm/coms/controls/Password.vue.d.ts +4 -5
  149. package/esm/coms/controls/Progress.vue.d.ts +4 -5
  150. package/esm/coms/controls/Radio.vue.d.ts +4 -5
  151. package/esm/coms/controls/Rate.vue.d.ts +4 -5
  152. package/esm/coms/controls/RichText.vue.d.ts +4 -4
  153. package/esm/coms/controls/Select.vue.d.ts +4 -5
  154. package/esm/coms/controls/Switch.vue.d.ts +5 -6
  155. package/esm/coms/controls/Text.vue.d.ts +4 -5
  156. package/esm/coms/controls/Textarea.vue.d.ts +4 -5
  157. package/esm/coms/controls/Time.vue.d.ts +4 -5
  158. package/esm/coms/controls/Upload.vue.d.ts +5 -6
  159. package/esm/coms/controls/Year.vue.d.ts +4 -5
  160. package/esm/coms/drivers/@types/CrudProps.d.ts +3 -4
  161. package/esm/coms/drivers/@types/DriverBaseProps.d.ts +1 -2
  162. package/esm/coms/drivers/@types/DriverEmit.d.ts +1 -2
  163. package/esm/coms/drivers/@types/DriverFormProps.d.ts +2 -3
  164. package/esm/coms/drivers/@types/DriverKindEmit.d.ts +2 -3
  165. package/esm/coms/drivers/@types/DriverProps.d.ts +3 -4
  166. package/esm/coms/drivers/@types/KindFormProps.d.ts +0 -1
  167. package/esm/coms/drivers/@types/KindProps.d.ts +2 -3
  168. package/esm/coms/drivers/@types/index.d.ts +5 -6
  169. package/esm/coms/drivers/Crud.vue.d.ts +6 -3
  170. package/esm/coms/drivers/Index.vue.d.ts +2 -1
  171. package/esm/coms/drivers/Kind.vue.d.ts +2 -1
  172. package/esm/coms/globals/@types/WindowEmit.d.ts +6 -7
  173. package/esm/coms/globals/@types/WindowOptions.d.ts +1 -2
  174. package/esm/coms/globals/@types/WindowProps.d.ts +2 -3
  175. package/esm/coms/globals/@types/index.d.ts +3 -4
  176. package/esm/coms/globals/HeaderTab.vue.d.ts +3 -2
  177. package/esm/coms/globals/HeaderTabs.vue.d.ts +4 -3
  178. package/esm/coms/globals/MenuItem.vue.d.ts +1 -1
  179. package/esm/coms/globals/MissComponent.vue.d.ts +3 -2
  180. package/esm/coms/globals/SideTab.vue.d.ts +3 -2
  181. package/esm/coms/globals/SideTabs.vue.d.ts +2 -1
  182. package/esm/coms/globals/Window.vue.d.ts +43 -2
  183. package/esm/coms/headers/@types/ChangeProps.d.ts +1 -2
  184. package/esm/coms/headers/@types/HeaderProps.d.ts +1 -2
  185. package/esm/coms/headers/@types/TipsProps.d.ts +1 -2
  186. package/esm/coms/headers/@types/index.d.ts +3 -4
  187. package/esm/coms/headers/Hamburger.vue.d.ts +1 -1
  188. package/esm/coms/headers/Index.vue.d.ts +3 -2
  189. package/esm/coms/headers/Logo.vue.d.ts +1 -1
  190. package/esm/coms/headers/Refresh.vue.d.ts +1 -1
  191. package/esm/coms/layouts/@types/ITaskBar.d.ts +1 -2
  192. package/esm/coms/layouts/@types/index.d.ts +1 -2
  193. package/esm/coms/layouts/Desktop.vue.d.ts +1 -1
  194. package/esm/coms/layouts/Index.vue.d.ts +6 -6
  195. package/esm/coms/layouts/Side.vue.d.ts +2 -2
  196. package/esm/coms/layouts/Top.vue.d.ts +1 -1
  197. package/esm/coms/lists/@types/ListProps.d.ts +1 -2
  198. package/esm/coms/lists/@types/index.d.ts +1 -2
  199. package/esm/coms/lists/Calender.vue.d.ts +1 -1
  200. package/esm/coms/lists/Racebar.vue.d.ts +1 -1
  201. package/esm/coms/lists/Statistic.vue.d.ts +1 -1
  202. package/esm/coms/lists/Stock.vue.d.ts +1 -1
  203. package/esm/coms/lists/Timeline.vue.d.ts +1 -1
  204. package/esm/coms/lists/Tree.vue.d.ts +1 -1
  205. package/esm/coms/pages/@types/ColumnPageProps.d.ts +2 -3
  206. package/esm/coms/pages/@types/CustomPageProps.d.ts +2 -3
  207. package/esm/coms/pages/@types/DeletePageProps.d.ts +2 -3
  208. package/esm/coms/pages/@types/ListPageProps.d.ts +2 -3
  209. package/esm/coms/pages/@types/PageEmit.d.ts +1 -2
  210. package/esm/coms/pages/@types/PageProps.d.ts +1 -2
  211. package/esm/coms/pages/@types/PagingPageProps.d.ts +2 -3
  212. package/esm/coms/pages/@types/SchemaProps.d.ts +3 -4
  213. package/esm/coms/pages/@types/SinglePageProps.d.ts +2 -3
  214. package/esm/coms/pages/@types/index.d.ts +9 -10
  215. package/esm/coms/pages/Column.vue.d.ts +1 -1
  216. package/esm/coms/pages/Delete.vue.d.ts +1 -1
  217. package/esm/coms/pages/Paging.vue.d.ts +1 -2
  218. package/esm/coms/pagings/@types/PagingProps.d.ts +1 -2
  219. package/esm/coms/pagings/@types/SearchFormProps.d.ts +1 -2
  220. package/esm/coms/pagings/@types/SearchHeaderProps.d.ts +1 -2
  221. package/esm/coms/pagings/@types/index.d.ts +3 -4
  222. package/esm/coms/pagings/Article.vue.d.ts +1 -1
  223. package/esm/coms/pagings/Code.vue.d.ts +1 -1
  224. package/esm/coms/pagings/File.vue.d.ts +1 -1
  225. package/esm/coms/pagings/Index.vue.d.ts +1 -2
  226. package/esm/coms/pagings/SearchHeader.vue.d.ts +1 -1
  227. package/esm/coms/pagings/Table.vue.d.ts +2 -3
  228. package/esm/coms/panels/@types/OperationProps.d.ts +1 -2
  229. package/esm/coms/panels/@types/index.d.ts +1 -2
  230. package/esm/coms/panels/Group.vue.d.ts +3 -2
  231. package/esm/coms/panels/Header.vue.d.ts +1 -1
  232. package/esm/coms/panels/Operation.vue.d.ts +3 -2
  233. package/esm/coms/panels/Panel.vue.d.ts +3 -2
  234. package/esm/coms/panels/Shrink.vue.d.ts +3 -2
  235. package/esm/coms/partials/@types/ArticleFooterEmit.d.ts +1 -2
  236. package/esm/coms/partials/@types/DetailEmit.d.ts +1 -2
  237. package/esm/coms/partials/@types/DetailProps.d.ts +1 -2
  238. package/esm/coms/partials/@types/PagingHeaderEmit.d.ts +2 -3
  239. package/esm/coms/partials/@types/PagingHeaderProps.d.ts +1 -2
  240. package/esm/coms/partials/@types/PagingRowEmit.d.ts +1 -2
  241. package/esm/coms/partials/@types/PagingRowProps.d.ts +1 -2
  242. package/esm/coms/partials/@types/TreeNodeProps.d.ts +1 -2
  243. package/esm/coms/partials/@types/UpdateChildEmit.d.ts +1 -2
  244. package/esm/coms/partials/@types/UpdateChildProps.d.ts +1 -2
  245. package/esm/coms/partials/@types/UpdateEmit.d.ts +1 -2
  246. package/esm/coms/partials/@types/UpdateProps.d.ts +1 -2
  247. package/esm/coms/partials/@types/index.d.ts +12 -13
  248. package/esm/coms/partials/ArticleFooter.vue.d.ts +1 -1
  249. package/esm/coms/partials/Detail.vue.d.ts +1 -1
  250. package/esm/coms/partials/PagingHeader.vue.d.ts +2 -2
  251. package/esm/coms/partials/PagingRow.vue.d.ts +2 -2
  252. package/esm/coms/partials/TreeNode.vue.d.ts +1 -1
  253. package/esm/coms/partials/Update.vue.d.ts +1 -1
  254. package/esm/coms/searches/@types/SearchProps.d.ts +1 -2
  255. package/esm/coms/searches/@types/index.d.ts +1 -2
  256. package/esm/coms/searches/Autocomplete.vue.d.ts +4 -5
  257. package/esm/coms/searches/Daterange.vue.d.ts +4 -5
  258. package/esm/coms/searches/Int.vue.d.ts +4 -5
  259. package/esm/coms/searches/Month.vue.d.ts +4 -5
  260. package/esm/coms/searches/Select.vue.d.ts +4 -5
  261. package/esm/coms/searches/Text.vue.d.ts +4 -2
  262. package/esm/coms/singles/@types/SingleProps.d.ts +1 -2
  263. package/esm/coms/singles/@types/index.d.ts +1 -2
  264. package/esm/coms/singles/Code.vue.d.ts +1 -1
  265. package/esm/coms/singles/Comment.vue.d.ts +1 -1
  266. package/esm/coms/singles/Normal.vue.d.ts +1 -1
  267. package/esm/coms/singles/Statistic.vue.d.ts +1 -1
  268. package/esm/coms/singles/Stock.vue.d.ts +1 -1
  269. package/esm/coms/singles/Tree.vue.d.ts +1 -1
  270. package/esm/coms/texts/Autocomplete.vue.d.ts +3 -4
  271. package/esm/coms/texts/CSharp.vue.d.ts +3 -4
  272. package/esm/coms/texts/Cascader.vue.d.ts +5 -6
  273. package/esm/coms/texts/Checkbox.vue.d.ts +3 -4
  274. package/esm/coms/texts/Code.vue.d.ts +3 -4
  275. package/esm/coms/texts/Color.vue.d.ts +3 -4
  276. package/esm/coms/texts/Compare.vue.d.ts +3 -4
  277. package/esm/coms/texts/Copy.vue.d.ts +6 -6
  278. package/esm/coms/texts/Date.vue.d.ts +3 -4
  279. package/esm/coms/texts/DateRange.vue.d.ts +3 -4
  280. package/esm/coms/texts/DateTime.vue.d.ts +3 -4
  281. package/esm/coms/texts/Decimal.vue.d.ts +3 -4
  282. package/esm/coms/texts/Dictionary.vue.d.ts +5 -6
  283. package/esm/coms/texts/Email.vue.d.ts +3 -4
  284. package/esm/coms/texts/Index.vue.d.ts +4 -5
  285. package/esm/coms/texts/Int.vue.d.ts +3 -4
  286. package/esm/coms/texts/Markdown.vue.d.ts +3 -4
  287. package/esm/coms/texts/Month.vue.d.ts +3 -4
  288. package/esm/coms/texts/Password.vue.d.ts +3 -4
  289. package/esm/coms/texts/Progress.vue.d.ts +3 -4
  290. package/esm/coms/texts/Radio.vue.d.ts +3 -4
  291. package/esm/coms/texts/Rate.vue.d.ts +4 -5
  292. package/esm/coms/texts/RichText.vue.d.ts +3 -4
  293. package/esm/coms/texts/Select.vue.d.ts +3 -4
  294. package/esm/coms/texts/Switch.vue.d.ts +3 -4
  295. package/esm/coms/texts/Text.vue.d.ts +3 -4
  296. package/esm/coms/texts/TextLink.vue.d.ts +2 -1
  297. package/esm/coms/texts/Textarea.vue.d.ts +3 -4
  298. package/esm/coms/texts/Upload.vue.d.ts +3 -4
  299. package/esm/coms/texts/Year.vue.d.ts +3 -4
  300. package/esm/drivers/index.d.ts +0 -1
  301. package/esm/drivers/messengers/PcMessenger.d.ts +1 -2
  302. package/esm/drivers/messengers/index.d.ts +1 -2
  303. package/esm/repos/UploadApi.d.ts +1 -2
  304. package/esm/repos/index.d.ts +1 -2
  305. package/esm/svcs/AppSvc.d.ts +1 -2
  306. package/esm/svcs/ComponentSvc.d.ts +1 -2
  307. package/esm/svcs/ControlSvc.d.ts +1 -2
  308. package/esm/svcs/LayoutSvc.d.ts +1 -2
  309. package/esm/svcs/ModuleSvc.d.ts +3 -4
  310. package/esm/svcs/PageSvc.d.ts +1 -2
  311. package/esm/svcs/RouterSvc.d.ts +1 -2
  312. package/esm/svcs/Svcs.d.ts +11 -0
  313. package/esm/svcs/UploadSvc.d.ts +1 -2
  314. package/esm/svcs/WindowSvc.d.ts +1 -2
  315. package/esm/svcs/index.d.ts +10 -9
  316. package/esm/views/helps/401.vue.d.ts +1 -1
  317. package/esm/views/helps/404.vue.d.ts +1 -1
  318. package/esm/views/helps/Install.vue.d.ts +1 -1
  319. package/esm/views/helps/Maintaince.vue.d.ts +1 -1
  320. package/esm/views/logins/Callback.vue.d.ts +1 -1
  321. package/esm/views/logins/Index.vue.d.ts +1 -1
  322. package/esm/views/logins/Register.vue.d.ts +1 -1
  323. package/package.json +6 -6
  324. package/dist/Autocomplete-BfhYwZ5G.js +0 -49
  325. package/dist/Autocomplete-LQiKcvz1.js +0 -48
  326. package/dist/Callback-Ci5KrWOC.js +0 -20
  327. package/dist/Cascader-CnOEgPDf.js +0 -41
  328. package/dist/Cascader-Vhc81TDV.js +0 -81
  329. package/dist/Checkbox-D9Sp6ZGQ.js +0 -70
  330. package/dist/Code-BEjqqeFZ.js +0 -54
  331. package/dist/Code-BSrEPuXk.js +0 -4
  332. package/dist/Code-Dp1-k8sW.js +0 -36
  333. package/dist/Code.vue_vue_type_style_index_0_lang-CmkomJXY.js +0 -59
  334. package/dist/Column-B0ViSver.js +0 -69
  335. package/dist/Compare-D7Gz-lE9.js +0 -37
  336. package/dist/Compare-DqvGyQWA.js +0 -57
  337. package/dist/Copy-Dm1LH9qB.js +0 -43
  338. package/dist/Custom-CLKAPWEo.js +0 -49
  339. package/dist/DataImport.vue_vue_type_script_setup_true_lang-D7UdCnBM.js +0 -172
  340. package/dist/Date-DPPiYLWw.js +0 -37
  341. package/dist/DateTime-DP-VfmtN.js +0 -38
  342. package/dist/Delete-Bl0GmthL.js +0 -56
  343. package/dist/Detail-BozyhOTt.js +0 -69
  344. package/dist/Email-D5X1SzuJ.js +0 -48
  345. package/dist/File-DixK0K7p.js +0 -158
  346. package/dist/Image-BrelhCGo.js +0 -9
  347. package/dist/Index-BeM6hKX9.js +0 -4
  348. package/dist/Index-BkfLyqpm.js +0 -173
  349. package/dist/Index-D8UVsXwf.js +0 -4
  350. package/dist/Index-DbXgnBz6.js +0 -70
  351. package/dist/Index-FL-dxfFB.js +0 -4
  352. package/dist/Index-fWOqfFkG.js +0 -4
  353. package/dist/Index.vue_vue_type_script_setup_true_lang-DT7eOyjs.js +0 -66
  354. package/dist/Int-CWsDtoxE.js +0 -38
  355. package/dist/Int-GGWiUqO2.js +0 -41
  356. package/dist/List-kRCsHp6d.js +0 -71
  357. package/dist/Maintaince-BG8MUi3A.js +0 -14
  358. package/dist/Month-B1icZmL4.js +0 -37
  359. package/dist/Month-DnYlAi7k.js +0 -38
  360. package/dist/Normal-RcqEyIFN.js +0 -256
  361. package/dist/Paging-DrdGzxeP.js +0 -94
  362. package/dist/RichText-4wrLw9cy.js +0 -41
  363. package/dist/Single-C3629BdC.js +0 -317
  364. package/dist/Text-CNtHdodK.js +0 -4
  365. package/dist/Text-DrJkdxZF.js +0 -52
  366. package/dist/Text-KAuEjP7I.js +0 -48
  367. package/dist/Text.vue_vue_type_style_index_0_lang-BJIbv4kF.js +0 -53
  368. package/dist/TextLink-BnijIoEJ.js +0 -59
  369. package/dist/Time-C3qlNZkJ.js +0 -37
  370. package/dist/Tree-DBvFF4Rj.js +0 -292
  371. package/dist/TreeNode-BOWB2WN9.js +0 -37
  372. package/dist/Update-CDLYYwgj.js +0 -64
  373. package/dist/Upload-B2hbxDsT.js +0 -144
  374. package/dist/Upload-mlk6Y4Po.js +0 -65
  375. package/dist/Year-BUF60NmB.js +0 -41
  376. package/dist/main-DymfKjqO.js +0 -16480
@@ -1,70 +0,0 @@
1
- import { defineComponent as N, toRefs as w, ref as h, 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 { p as D } from "./main-DymfKjqO.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: p } = w(C), u = h(!1), c = h(!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 p.value ? p.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
- };
@@ -1,54 +0,0 @@
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 { M as x } from "./main-DymfKjqO.js";
3
- const M = /* @__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 s = g, p = d, { table: c, field: a, set: y, row: i, modelValue: f } = h(p), 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 = `${c.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 ? c.value.fields.find((u) => u.name == e) : null;
31
- V();
32
- let t = T({
33
- get() {
34
- return f.value ?? "";
35
- },
36
- set(e) {
37
- s("update:modelValue", e), s("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
- options: 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, ["options", "onScroll", "modelValue"]));
50
- }
51
- });
52
- export {
53
- M as default
54
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-CmkomJXY.js";
2
- export {
3
- f as default
4
- };
@@ -1,36 +0,0 @@
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 { M as _ } from "./main-DymfKjqO.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(s) {
14
- let f = s, { table: g, field: t, set: b, row: d, modelValue: a } = h(f), r = i(), o = i({ language: null, readonly: !0, lineNumbers: "off" }), m = () => t.value.control.height ? `height: ${t.value.control.height}px` : "min-height: 200px;", p = (e) => e ? g.value.fields.find((u) => u.name == e) : null, c = (e) => {
15
- let l = p(e);
16
- return l ? d.value[l.name] : null;
17
- };
18
- return (() => {
19
- if (r.value = m(), t.value.control.languageField == null)
20
- o.value.language = t.value.control.language;
21
- else {
22
- let e = c(t.value.control.languageField);
23
- e && (o.value.language = e);
24
- }
25
- })(), (e, l) => (V(), y(n(_), {
26
- class: "text-code",
27
- options: n(o),
28
- style: x(n(r)),
29
- modelValue: n(a),
30
- "onUpdate:modelValue": l[0] || (l[0] = (u) => F(a) ? a.value = u : a = u)
31
- }, null, 8, ["options", "style", "modelValue"]));
32
- }
33
- });
34
- export {
35
- C as default
36
- };
@@ -1,59 +0,0 @@
1
- import { defineComponent as C, toRefs as b, ref as d, onMounted as k, resolveComponent as i, openBlock as r, createElementBlock as u, createVNode as m, unref as e, isRef as h, withCtx as p, Fragment as c, renderList as w, createBlock as B, createTextVNode as _, toDisplayString as f, createCommentVNode as L } from "vue";
2
- import { v as M, M as N } from "./main-DymfKjqO.js";
3
- const E = { class: "ha-code-layout" }, q = /* @__PURE__ */ C({
4
- __name: "Code",
5
- props: {
6
- route: {},
7
- validateErrors: {},
8
- module: {},
9
- schema: {},
10
- table: {},
11
- layout: {},
12
- next: {},
13
- set: {},
14
- url: {},
15
- win: {}
16
- },
17
- emits: ["submit", "change"],
18
- setup(g, { emit: R }) {
19
- let v = g, { module: U, schema: A, table: D, layout: a, next: F, set: S } = b(v), n = d({}), t = d(), V = () => {
20
- t.value = a.value.languages[0];
21
- };
22
- return k(async () => {
23
- V();
24
- let s = await M.loadCodeLanguageAsync();
25
- for (let l of s)
26
- n.value[l.text] = l.suffix;
27
- }), (s, l) => {
28
- const x = i("el-radio"), y = i("el-radio-group");
29
- return r(), u("div", E, [
30
- m(y, {
31
- modelValue: e(t),
32
- "onUpdate:modelValue": l[0] || (l[0] = (o) => h(t) ? t.value = o : t = o)
33
- }, {
34
- default: p(() => [
35
- (r(!0), u(c, null, w(e(a).languages, (o) => (r(), B(x, { value: o }, {
36
- default: p(() => [
37
- _(f(o) + " ", 1),
38
- e(n)[o] ? (r(), u(c, { key: 0 }, [
39
- _("(" + f(e(n)[o]) + ")", 1)
40
- ], 64)) : L("", !0)
41
- ]),
42
- _: 2
43
- }, 1032, ["value"]))), 256))
44
- ]),
45
- _: 1
46
- }, 8, ["modelValue"]),
47
- m(e(N), {
48
- border: "",
49
- options: { language: e(n)[e(t)] },
50
- modelValue: e(a).codes[e(t)],
51
- "onUpdate:modelValue": l[1] || (l[1] = (o) => e(a).codes[e(t)] = o)
52
- }, null, 8, ["options", "modelValue"])
53
- ]);
54
- };
55
- }
56
- });
57
- export {
58
- q as _
59
- };
@@ -1,69 +0,0 @@
1
- import { defineComponent as M, toRefs as b, onMounted as D, computed as k, openBlock as r, createBlock as C, unref as e, withCtx as y, createElementBlock as s, Fragment as E, renderList as H, normalizeClass as L, createCommentVNode as i, createElementVNode as a, toDisplayString as m, resolveDynamicComponent as R, createVNode as S, createTextVNode as u } from "vue";
2
- import { U as h, d as _, z as F, H as P } from "./main-DymfKjqO.js";
3
- import "element-plus";
4
- import "vue-router";
5
- import "./assets/intro.js-Cg1adLK7.js";
6
- const T = {
7
- key: 0,
8
- class: "menus"
9
- }, $ = ["onClick"], j = { class: "title" }, q = {
10
- key: 1,
11
- class: "column-empty"
12
- }, Q = /* @__PURE__ */ M({
13
- __name: "Column",
14
- props: {
15
- view: {},
16
- url: {},
17
- win: {}
18
- },
19
- emits: ["loaded", "navigate"],
20
- setup(g, { expose: x, emit: U }) {
21
- let d = U, w = g, { url: p, view: c } = b(w), B = (l) => !0, N = (l) => !0, V = () => {
22
- v();
23
- }, v = () => {
24
- d("loaded", n.value.title);
25
- }, z = (l) => {
26
- let t = _.url.getUrl(l.url, { m: l.id });
27
- d("navigate", t);
28
- };
29
- D(() => {
30
- v();
31
- });
32
- let n = k(() => h.getMenuByUrl(p.value)), f = k(() => _.url.getPath(p.value));
33
- return x({ shouldLoad: B, shouldSpin: N, onRefresh: V }), (l, t) => (r(), C(e(F), null, {
34
- default: y(() => [
35
- e(n) ? (r(), s("div", T, [
36
- (r(!0), s(E, null, H(e(n).children, (o) => (r(), s("div", {
37
- class: "menu",
38
- key: o.id,
39
- onClick: (A) => e(z)(o)
40
- }, [
41
- o.icon ? (r(), s("i", {
42
- key: 0,
43
- class: L(o.icon)
44
- }, null, 2)) : i("", !0),
45
- a("div", j, m(o.title), 1)
46
- ], 8, $))), 128))
47
- ])) : i("", !0),
48
- (r(), C(R(e(c)))),
49
- (!e(n) || e(n).children == 0) && !e(c) ? (r(), s("div", q, [
50
- S(e(P), null, {
51
- default: y(() => t[0] || (t[0] = [
52
- u(" 此栏目页不存在子菜单或自定义部分视图,无内容可展示 ")
53
- ])),
54
- _: 1
55
- }),
56
- t[1] || (t[1] = u(" 可考虑以下任一选项:")),
57
- t[2] || (t[2] = a("br", null, null, -1)),
58
- u(" 1. 在 src/views 中实现自定义页面:" + m(e(f)), 1),
59
- t[3] || (t[3] = a("br", null, null, -1)),
60
- u(" 2. 在 src/coms/partials 中实现自定义首页部分视图:" + m(e(f)), 1)
61
- ])) : i("", !0)
62
- ]),
63
- _: 1
64
- }));
65
- }
66
- });
67
- export {
68
- Q as default
69
- };
@@ -1,37 +0,0 @@
1
- import { defineComponent as x, toRefs as E, onMounted as k, computed as s, unref as f, openBlock as w, createElementBlock as y, normalizeClass as V, createCommentVNode as b, nextTick as B } from "vue";
2
- import { e as N } from "./main-DymfKjqO.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, m.value), i = e.editor.createModel(u.value, m.value);
18
- let _ = document.getElementsByClassName(o)[0];
19
- r = e.editor.createDiffEditor(_, { originalEditable: !0 }), r.setModel({
20
- original: n,
21
- modified: i
22
- });
23
- });
24
- };
25
- k(async () => {
26
- e = await N.getMonaco(), C();
27
- });
28
- let u = s(() => M.value || ""), m = s(() => t.value.control.type.toLowerCase());
29
- return (d, c) => f(u) ? (w(), y("div", {
30
- key: 0,
31
- class: V(`text-compare ${f(o)}`)
32
- }, null, 2)) : b("", !0);
33
- }
34
- });
35
- export {
36
- D as default
37
- };
@@ -1,57 +0,0 @@
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 { e as L } from "./main-DymfKjqO.js";
3
- const j = /* @__PURE__ */ b({
4
- __name: "Compare",
5
- props: {
6
- schema: {},
7
- table: {},
8
- field: {},
9
- set: {},
10
- row: {},
11
- modelValue: {}
12
- },
13
- emits: ["submit", "change", "update:modelValue"],
14
- setup(V, { emit: M }) {
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, {
19
- originalEditable: !0,
20
- automaticLayout: !0,
21
- renderSideBySide: !i.value.control.inline
22
- //是否启用行内模式
23
- }), r.setModel({ original: f, modified: g }), t = r.getOriginalEditor(), t.onDidChangeModelContent((x) => {
24
- let n = t.getValue();
25
- m("update:modelValue", n), m("change", n);
26
- }), l = r.getModifiedEditor(), l.onDidChangeModelContent((x) => {
27
- let n = l.getValue();
28
- u.value[d.value.name] = n;
29
- });
30
- });
31
- }, C = () => i.value.control.height ? `height: ${i.value.control.height}px` : "min-height: 200px;";
32
- w(async () => {
33
- let e = await L.getMonaco();
34
- _(e);
35
- });
36
- let d = S(() => E.value.fields.find((a) => a.name == i.value.control.compareWith));
37
- return v(() => c.value, (e, a) => {
38
- if (!t)
39
- return;
40
- let o = t.getValue();
41
- e != o && t.setValue(e ?? "");
42
- }), v(() => u.value[d.value.name], (e, a) => {
43
- if (!l)
44
- return;
45
- let o = l.getValue();
46
- e != o && l.setValue(e ?? "");
47
- }), (e, a) => (B(), D("div", {
48
- ref_key: "compareRef",
49
- ref: s,
50
- class: "control-compare",
51
- style: R(W(p))
52
- }, null, 4));
53
- }
54
- });
55
- export {
56
- j as default
57
- };
@@ -1,43 +0,0 @@
1
- import { defineComponent as y, toRefs as g, computed as v, unref as l, renderSlot as s, openBlock as b, createElementBlock as C, createElementVNode as a } from "vue";
2
- import { l as p } from "./main-DymfKjqO.js";
3
- import { C as k } from "./assets/clipboard-ClN4QccS.js";
4
- const J = {
5
- key: 1,
6
- class: "copy-container"
7
- }, E = /* @__PURE__ */ y({
8
- __name: "Copy",
9
- props: {
10
- schema: {},
11
- table: {},
12
- field: {},
13
- set: {},
14
- row: {},
15
- modelValue: {}
16
- },
17
- setup(u) {
18
- let c = u, { table: w, field: r, set: N, row: S, modelValue: i } = g(c), d = (e) => JSON.stringify(JSON.parse(e), null, 2), f = () => o.value && r.value.control.type == "Json" ? d(o.value).replace(/"/g, "'") : o.value, n = () => {
19
- let e = new k(".btn-copy", { text: () => f() });
20
- e.on("success", function(t) {
21
- p.success("复制成功"), e.destroy();
22
- }), e.on("error", function(t) {
23
- p.error("复制失败"), e.destroy();
24
- });
25
- }, o = v(() => i.value);
26
- return (e, t) => l(r).control.copy ? (b(), C("div", J, [
27
- a("i", {
28
- class: "btn-copy",
29
- onClick: t[0] || (t[0] = //@ts-ignore
30
- (...m) => l(n) && l(n)(...m))
31
- }, t[1] || (t[1] = [
32
- a("img", {
33
- src: "/default/images/clippy.svg",
34
- alt: "复制文本"
35
- }, null, -1)
36
- ])),
37
- s(e.$slots, "default")
38
- ])) : s(e.$slots, "default", { key: 0 });
39
- }
40
- });
41
- export {
42
- E as default
43
- };
@@ -1,49 +0,0 @@
1
- import { defineComponent as L, toRefs as b, ref as u, openBlock as i, createBlock as s, KeepAlive as z, resolveDynamicComponent as B, unref as r } from "vue";
2
- import { S as o, d as N } from "./main-DymfKjqO.js";
3
- const D = /* @__PURE__ */ L({
4
- __name: "Custom",
5
- props: {
6
- view: {},
7
- url: {},
8
- win: {}
9
- },
10
- emits: ["loaded", "navigate"],
11
- setup(d, { expose: c, emit: f }) {
12
- let a = f, v = d, { url: n, win: m, view: g } = b(v), t = u(), p = u({}), R = (e) => {
13
- o.triggerClose(t.value, e);
14
- }, h = (e) => {
15
- o.triggerResize(t.value, e);
16
- }, w = (e) => !0, C = (e) => !0, _ = () => {
17
- o.triggerRefresh(t.value);
18
- }, x = (e, l) => {
19
- o.triggerKeyboard(t.value, e, l);
20
- }, S = (e) => {
21
- o.triggerSocket(t.value, e);
22
- }, k = (e) => {
23
- if (e == null)
24
- return;
25
- let l = p.value;
26
- if (l[n.value] != null) {
27
- t.value = l[n.value];
28
- return;
29
- }
30
- N.dictionary.containsValue(l, e) || (l[n.value] = e, t.value = e);
31
- }, y = (e) => {
32
- a("loaded", e);
33
- }, K = (e) => {
34
- a("navigate", e);
35
- };
36
- return c({ shouldLoad: w, shouldSpin: C, onRefresh: _, onClose: R, onKeyboard: x, onResize: h, onSocket: S }), (e, l) => (i(), s(z, null, [
37
- (i(), s(B(r(g)), {
38
- ref: r(k),
39
- url: r(n),
40
- win: r(m),
41
- onLoaded: r(y),
42
- onNavigate: r(K)
43
- }, null, 40, ["url", "win", "onLoaded", "onNavigate"]))
44
- ], 1024));
45
- }
46
- });
47
- export {
48
- D as default
49
- };
@@ -1,172 +0,0 @@
1
- import { defineComponent as X, toRefs as Y, ref as s, resolveComponent as u, openBlock as h, createBlock as x, unref as e, isRef as P, withCtx as t, createElementVNode as v, createVNode as n, createTextVNode as m, toDisplayString as i, createCommentVNode as Z, createElementBlock as $, Fragment as ee, renderList as le } from "vue";
2
- import { p as g, K as oe, i as te, _ as k, d as C, l as B } from "./main-DymfKjqO.js";
3
- const ae = { style: { color: "red" } }, re = { class: "footer-operation" }, ne = { class: "footer-content" }, se = /* @__PURE__ */ X({
4
- __name: "DataImport",
5
- props: {
6
- next: Object,
7
- modelValue: Boolean
8
- },
9
- emits: ["close", "succeed", "update:modelValue"],
10
- setup(R, { emit: T }) {
11
- let E = T, U = R, { next: A, modelValue: b } = Y(U), y = s(!1), F = s(), N = {}, V = s([]), d = s([]), p = s(), f = s(), w = s({ clear: !1 }), L = () => {
12
- E("close");
13
- }, j = async (a) => {
14
- let l = A.value.import.route;
15
- F.value = oe.api.url + l;
16
- let r = new te();
17
- r.path = l, r.method = "POST", await k.prepareAsync(r);
18
- let c = r.getHeader("Authorization");
19
- return N.Authorization = c, C.file.isExcel(a.name) ? Promise.resolve() : (B.error("请上传正确的Excel文件"), Promise.reject());
20
- }, z = (a, l) => !0, D = (a) => {
21
- }, K = (a, l, r) => {
22
- V.value = [l], k.handleResponseBody(a, !0).then((c) => {
23
- c.code == "ValidateError" ? (d.value = C.array.groupByArray(c.data, (_) => _.table), f.value = d.value[0], p.value = d.value[0].key) : (d.value = [], f.value = null, p.value = null);
24
- }).catch(() => {
25
- V.value = [];
26
- });
27
- }, O = (a, l, r) => (B.error(a.message), Promise.resolve()), S = (a) => {
28
- f.value = d.value[a];
29
- }, q = () => {
30
- y.value = !0, k.get(A.value.import.route).then(({ data: a, message: l }) => {
31
- C.file.save(a.content, a.name), B.success(l);
32
- }).finally(() => {
33
- y.value = !1;
34
- });
35
- }, G = () => {
36
- E("update:modelValue", !1);
37
- };
38
- return (a, l) => {
39
- const r = u("el-button"), c = u("el-upload"), _ = u("el-table-column"), H = u("el-table"), I = u("el-radio"), J = u("el-radio-group"), M = u("el-divider"), Q = u("el-checkbox"), W = u("el-dialog");
40
- return h(), x(W, {
41
- draggable: "",
42
- "destroy-on-close": "",
43
- title: e(g)("paging.data_import"),
44
- onClose: e(L),
45
- modelValue: e(b),
46
- "onUpdate:modelValue": l[2] || (l[2] = (o) => P(b) ? b.value = o : b = o)
47
- }, {
48
- footer: t(() => [
49
- v("div", re, [
50
- n(Q, {
51
- modelValue: e(w).clear,
52
- "onUpdate:modelValue": l[1] || (l[1] = (o) => e(w).clear = o)
53
- }, {
54
- default: t(() => [
55
- m(i(e(g)("paging.cover_existing_data")), 1)
56
- ]),
57
- _: 1
58
- }, 8, ["modelValue"])
59
- ]),
60
- v("div", ne, [
61
- n(r, {
62
- onClick: e(q),
63
- loading: e(y)
64
- }, {
65
- icon: t(() => l[4] || (l[4] = [
66
- v("i", { class: "fa fa-download" }, null, -1)
67
- ])),
68
- default: t(() => [
69
- m(" " + i(e(g)("paging.template")), 1)
70
- ]),
71
- _: 1
72
- }, 8, ["onClick", "loading"]),
73
- n(r, {
74
- type: "primary",
75
- plain: "",
76
- onClick: e(G)
77
- }, {
78
- default: t(() => [
79
- m(i(e(g)("common.complete")), 1)
80
- ]),
81
- _: 1
82
- }, 8, ["onClick"])
83
- ])
84
- ]),
85
- default: t(() => [
86
- n(c, {
87
- action: e(F),
88
- headers: e(N),
89
- data: e(w),
90
- "file-list": e(V),
91
- "before-upload": e(j),
92
- "before-remove": e(z),
93
- "on-preview": e(D),
94
- "on-success": e(K),
95
- "on-error": e(O)
96
- }, {
97
- default: t(() => [
98
- n(r, null, {
99
- icon: t(() => l[3] || (l[3] = [
100
- v("i", { class: "fa fa-upload" }, null, -1)
101
- ])),
102
- default: t(() => [
103
- m(" " + i(e(g)("paging.click_upload")), 1)
104
- ]),
105
- _: 1
106
- })
107
- ]),
108
- _: 1
109
- }, 8, ["action", "headers", "data", "file-list", "before-upload", "before-remove", "on-preview", "on-success", "on-error"]),
110
- e(f) ? (h(), x(H, {
111
- key: 0,
112
- data: e(f).value,
113
- "show-overflow-tooltip": "",
114
- "max-height": "400",
115
- style: { width: "100%" }
116
- }, {
117
- default: t(() => [
118
- n(_, {
119
- prop: "index",
120
- label: "行号",
121
- width: "100"
122
- }, {
123
- default: t((o) => [
124
- m(" 第" + i(o.row.index + 1) + "行 ", 1)
125
- ]),
126
- _: 1
127
- }),
128
- n(_, {
129
- prop: "field",
130
- label: "字段",
131
- width: "150"
132
- }),
133
- n(_, {
134
- prop: "message",
135
- label: "错误消息"
136
- }, {
137
- default: t((o) => [
138
- v("span", ae, i(o.row.message), 1)
139
- ]),
140
- _: 1
141
- })
142
- ]),
143
- _: 1
144
- }, 8, ["data"])) : Z("", !0),
145
- n(J, {
146
- onChange: e(S),
147
- modelValue: e(p),
148
- "onUpdate:modelValue": l[0] || (l[0] = (o) => P(p) ? p.value = o : p = o),
149
- style: { "margin-top": "10px" }
150
- }, {
151
- default: t(() => [
152
- (h(!0), $(ee, null, le(e(d), (o) => (h(), x(I, {
153
- value: o.key
154
- }, {
155
- default: t(() => [
156
- m(i(o.key) + "(" + i(o.value.length) + ")", 1)
157
- ]),
158
- _: 2
159
- }, 1032, ["value"]))), 256))
160
- ]),
161
- _: 1
162
- }, 8, ["onChange", "modelValue"]),
163
- n(M)
164
- ]),
165
- _: 1
166
- }, 8, ["title", "onClose", "modelValue"]);
167
- };
168
- }
169
- });
170
- export {
171
- se as _
172
- };