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,9 +1,15 @@
1
- import { defineComponent as A, toRefs as D, ref as f, computed as L, resolveComponent as _, openBlock as c, createBlock as y, unref as n, withKeys as O, withModifiers as U, isRef as $, withCtx as V, createElementBlock as k, Fragment as q, renderList as z, createElementVNode as G, toDisplayString as w, createCommentVNode as H, nextTick as I } from "vue";
2
- import { T as J, d as P, h as Q, _ as W } from "./main-DymfKjqO.js";
1
+ import { defineComponent as I, toRefs as M, ref as f, computed as T, resolveComponent as _, openBlock as c, createBlock as y, unref as n, withKeys as A, withModifiers as L, isRef as O, withCtx as V, createElementBlock as k, Fragment as $, renderList as q, createElementVNode as z, toDisplayString as w, createCommentVNode as G, nextTick as H } from "vue";
2
+ import { I as J, U as P, h as Q, D as W } from "./main-DSgfGXqN.js";
3
+ import "./assets/liquidjs-BfOWWjtJ.js";
4
+ import "./assets/underscore-B0BCaBxV.js";
5
+ import "./assets/file-saver-CwlpTZSc.js";
6
+ import "./assets/clone-BZn0cTAu.js";
7
+ import "./assets/underscore.string-DVXD2SZo.js";
8
+ import "./assets/moment-h96o7c8I.js";
3
9
  const X = { class: "option-text" }, Y = {
4
10
  key: 0,
5
11
  class: "option-suffix"
6
- }, le = /* @__PURE__ */ A({
12
+ }, ue = /* @__PURE__ */ I({
7
13
  __name: "Select",
8
14
  props: {
9
15
  schema: {},
@@ -15,36 +21,36 @@ const X = { class: "option-text" }, Y = {
15
21
  },
16
22
  emits: ["submit", "change", "update:modelValue"],
17
23
  setup(C, { emit: E }) {
18
- let s = E, B = C, { schema: S, field: u, table: m, set: h, row: R, modelValue: p } = D(B), x = f(), b = f(), v = f(!1), d = f(u.value.control.data.data), T = (t) => {
24
+ let s = E, B = C, { schema: S, field: r, table: m, set: h, row: R, modelValue: p } = M(B), x = f(), b = f(), v = f(!1), d = f(r.value.control.data.data), j = (t) => {
19
25
  t == "" && (t = null);
20
26
  let e;
21
- if (P.object.isString(t) && u.value.control.multiple ? e = t.join(",") : e = t, r.value = e, u.value.control.text) {
22
- let a = m.value.fields.find((l) => l.name == u.value.control.text), o;
27
+ if (P.object.isString(t) && r.value.control.multiple ? e = t.join(",") : e = t, u.value = e, r.value.control.text) {
28
+ let a = m.value.fields.find((l) => l.name == r.value.control.text), o;
23
29
  e && (o = d.value.find((i) => i.value == e).text);
24
30
  debugger;
25
31
  R.value[a.name] = o;
26
32
  }
27
- g(m.value, u.value), s("change", t);
28
- }, j = () => {
33
+ g(m.value, r.value), s("change", t);
34
+ }, D = () => {
29
35
  s("submit");
30
36
  }, K = () => {
31
37
  }, N = () => {
32
38
  v.value = !0;
33
39
  let t = { text: b.value, conditions: [] };
34
- u.value.control.data.conditions.forEach((e) => {
40
+ r.value.control.data.conditions.forEach((e) => {
35
41
  let a = h.value[e.table].filter((l) => l[e.field] != null).map((l) => l[e.field]), o = a.length == 0 ? null : a.join(",");
36
42
  t.conditions.push({ name: e.name, value: o });
37
- }), W.post(u.value.control.data.route, t).then(({ data: e }) => {
43
+ }), W.http.post(r.value.control.data.route, t).then(({ data: e }) => {
38
44
  d.value = e;
39
45
  }).finally(() => {
40
- v.value = !1, I(() => {
41
- let e = d.value.find((a) => a.value == r.value);
46
+ v.value = !1, H(() => {
47
+ let e = d.value.find((a) => a.value == u.value);
42
48
  x.value.scrollToOption(e);
43
49
  });
44
50
  });
45
- }, F = (t) => {
51
+ }, U = (t) => {
46
52
  b.value = t, N();
47
- }, M = (t, e) => {
53
+ }, F = (t, e) => {
48
54
  let a = [];
49
55
  return S.value.forEach((o) => {
50
56
  o.fields.forEach((l) => {
@@ -54,12 +60,12 @@ const X = { class: "option-text" }, Y = {
54
60
  });
55
61
  }), a;
56
62
  }, g = (t, e) => {
57
- M(t, e).forEach((o) => {
63
+ F(t, e).forEach((o) => {
58
64
  Q.setRowsValue(null, h.value, o.table, o.field), g(o.table, o.field);
59
65
  });
60
- }, r = L({
66
+ }, u = T({
61
67
  get() {
62
- return u.value.control.multiple ? p.value == null ? [] : p.value.toString().split(",") : p.value;
68
+ return r.value.control.multiple ? p.value == null ? [] : p.value.toString().split(",") : p.value;
63
69
  },
64
70
  set(t) {
65
71
  s("update:modelValue", t), s("change", t);
@@ -77,26 +83,26 @@ const X = { class: "option-text" }, Y = {
77
83
  "remote-show-suffix": "",
78
84
  "loading-text": "加载中",
79
85
  clearable: "",
80
- placeholder: n(J)(n(m).name, n(u).name),
81
- multiple: n(u).control.multiple,
82
- "remote-method": n(F),
86
+ placeholder: n(J).field_choose_placeholder(n(m).name, n(r).name),
87
+ multiple: n(r).control.multiple,
88
+ "remote-method": n(U),
83
89
  loading: n(v),
84
- disabled: n(u).control.readonly,
85
- onKeyup: O(U(n(j), ["alt"]), ["enter", "native"]),
90
+ disabled: n(r).control.readonly,
91
+ onKeyup: A(L(n(D), ["alt"]), ["enter", "native"]),
86
92
  onBlur: n(K),
87
- onChange: n(T),
88
- modelValue: n(r),
89
- "onUpdate:modelValue": e[0] || (e[0] = (l) => $(r) ? r.value = l : r = l)
93
+ onChange: n(j),
94
+ modelValue: n(u),
95
+ "onUpdate:modelValue": e[0] || (e[0] = (l) => O(u) ? u.value = l : u = l)
90
96
  }, {
91
97
  default: V(() => [
92
- (c(!0), k(q, null, z(n(d), (l, i) => (c(), y(a, {
98
+ (c(!0), k($, null, q(n(d), (l, i) => (c(), y(a, {
93
99
  label: `${l.text}${l.suffix ? "(" + l.suffix + ")" : ""}`,
94
100
  value: l.value,
95
101
  key: l.value
96
102
  }, {
97
103
  default: V(() => [
98
- G("span", X, w(l.text), 1),
99
- l.suffix ? (c(), k("span", Y, "(" + w(l.suffix) + ")", 1)) : H("", !0)
104
+ z("span", X, w(l.text), 1),
105
+ l.suffix ? (c(), k("span", Y, "(" + w(l.suffix) + ")", 1)) : G("", !0)
100
106
  ]),
101
107
  _: 2
102
108
  }, 1032, ["label", "value"]))), 128))
@@ -107,5 +113,5 @@ const X = { class: "option-text" }, Y = {
107
113
  }
108
114
  });
109
115
  export {
110
- le as default
116
+ ue as default
111
117
  };
@@ -10,7 +10,7 @@ const x = /* @__PURE__ */ u({
10
10
  modelValue: { type: [String, Number, Boolean] }
11
11
  },
12
12
  setup(a) {
13
- let r = f(() => import("./Dictionary-CJwZPQz6.js")), n = a, { schema: m, table: s, field: d, set: i, row: p, modelValue: l } = c(n);
13
+ let r = f(() => import("./Dictionary-CzVkbTgC.js")), n = a, { schema: m, table: s, field: d, set: i, row: p, modelValue: l } = c(n);
14
14
  return (_, t) => (b(), V(e(r), {
15
15
  schema: e(m),
16
16
  table: e(s),
@@ -1,9 +1,15 @@
1
- import { defineComponent as K, toRefs as R, ref as d, computed as S, resolveComponent as c, openBlock as s, createBlock as p, unref as t, withKeys as M, withModifiers as N, isRef as F, withCtx as f, createElementBlock as h, Fragment as L, renderList as U, createElementVNode as j, toDisplayString as _, createCommentVNode as q } from "vue";
2
- import { p as z, C as A, _ as G } from "./main-DymfKjqO.js";
3
- const H = { class: "option-text" }, I = {
1
+ import { defineComponent as R, toRefs as S, ref as i, computed as I, resolveComponent as p, openBlock as r, createBlock as c, unref as t, withKeys as M, withModifiers as N, isRef as F, withCtx as f, createElementBlock as h, Fragment as L, renderList as U, createElementVNode as j, toDisplayString as v, createCommentVNode as q } from "vue";
2
+ import { I as _, D as z } from "./main-DSgfGXqN.js";
3
+ import "./assets/liquidjs-BfOWWjtJ.js";
4
+ import "./assets/underscore-B0BCaBxV.js";
5
+ import "./assets/file-saver-CwlpTZSc.js";
6
+ import "./assets/clone-BZn0cTAu.js";
7
+ import "./assets/underscore.string-DVXD2SZo.js";
8
+ import "./assets/moment-h96o7c8I.js";
9
+ const A = { class: "option-text" }, G = {
4
10
  key: 0,
5
11
  class: "option-suffix"
6
- }, T = /* @__PURE__ */ K({
12
+ }, $ = /* @__PURE__ */ R({
7
13
  __name: "Select",
8
14
  props: {
9
15
  schema: {},
@@ -13,33 +19,33 @@ const H = { class: "option-text" }, I = {
13
19
  modelValue: { type: [String, Boolean] }
14
20
  },
15
21
  emits: ["change", "submit", "update:modelValue"],
16
- setup(v, { emit: x }) {
17
- let r = x, b = v, { schema: J, table: g, field: a, searchData: y, modelValue: V } = R(b), C = d(!1), i = d(), m = d(a.value.control.data.data), k = () => {
18
- r("submit");
19
- }, w = () => {
20
- }, B = (l) => {
21
- i.value = l, D();
22
+ setup(x, { emit: b }) {
23
+ let s = b, g = x, { schema: H, table: y, field: a, searchData: V, modelValue: k } = S(g), C = i(!1), m = i(), d = i(a.value.control.data.data), w = () => {
24
+ s("submit");
22
25
  }, D = () => {
23
- let l = { text: i.value, conditions: [] };
26
+ }, B = (l) => {
27
+ m.value = l, E();
28
+ }, E = () => {
29
+ let l = { text: m.value, conditions: [] };
24
30
  a.value.control.data.conditions.forEach((o) => {
25
- let u = y.value[o.table][o.field];
31
+ let u = V.value[o.table][o.field];
26
32
  l.conditions.push({ name: o.name, value: u });
27
- }), G.post(a.value.control.data.route, l).then(({ data: o }) => {
28
- m.value = o;
33
+ }), z.http.post(a.value.control.data.route, l).then(({ data: o }) => {
34
+ d.value = o;
29
35
  }).finally(() => {
30
36
  C.value = !1;
31
37
  });
32
- }, n = S({
38
+ }, n = I({
33
39
  get() {
34
- return V.value;
40
+ return k.value;
35
41
  },
36
42
  set(l) {
37
- r("update:modelValue", l), r("change", l);
43
+ s("update:modelValue", l), s("change", l);
38
44
  }
39
45
  });
40
46
  return (l, o) => {
41
- const u = c("el-option"), E = c("el-select");
42
- return s(), p(E, {
47
+ const u = p("el-option"), K = p("el-select");
48
+ return r(), c(K, {
43
49
  ref: "selectRef",
44
50
  filterable: "",
45
51
  remote: "",
@@ -47,25 +53,25 @@ const H = { class: "option-text" }, I = {
47
53
  clearable: "",
48
54
  "default-first-option": "",
49
55
  "remote-show-suffix": "",
50
- placeholder: t(z)("common.please_choose") + t(A)(t(g).name, t(a).name),
56
+ placeholder: t(_).t("common.please_choose") + t(_).field(t(y).name, t(a).name),
51
57
  multiple: t(a).control.multiple,
52
58
  "loading-text": "加载中",
53
59
  "remote-method": t(B),
54
60
  disabled: t(a).control.readonly,
55
- onKeyup: M(N(t(k), ["alt"]), ["enter", "native"]),
56
- onChange: t(w),
61
+ onKeyup: M(N(t(w), ["alt"]), ["enter", "native"]),
62
+ onChange: t(D),
57
63
  modelValue: t(n),
58
64
  "onUpdate:modelValue": o[0] || (o[0] = (e) => F(n) ? n.value = e : n = e)
59
65
  }, {
60
66
  default: f(() => [
61
- (s(!0), h(L, null, U(t(m), (e, O) => (s(), p(u, {
67
+ (r(!0), h(L, null, U(t(d), (e, J) => (r(), c(u, {
62
68
  label: e.text + (e.suffix ? "(" + e.suffix + ")" : ""),
63
69
  value: e.value,
64
70
  key: e.value
65
71
  }, {
66
72
  default: f(() => [
67
- j("span", H, _(e.text), 1),
68
- e.suffix ? (s(), h("span", I, "(" + _(e.suffix) + ")", 1)) : q("", !0)
73
+ j("span", A, v(e.text), 1),
74
+ e.suffix ? (r(), h("span", G, "(" + v(e.suffix) + ")", 1)) : q("", !0)
69
75
  ]),
70
76
  _: 2
71
77
  }, 1032, ["label", "value"]))), 128))
@@ -76,5 +82,5 @@ const H = { class: "option-text" }, I = {
76
82
  }
77
83
  });
78
84
  export {
79
- T as default
85
+ $ as default
80
86
  };
@@ -0,0 +1,325 @@
1
+ import { defineComponent as $e, toRefs as De, ref as r, computed as te, watch as Ke, resolveComponent as f, openBlock as d, createElementBlock as A, normalizeClass as Be, unref as e, createElementVNode as m, createVNode as _, withCtx as s, withModifiers as Le, createBlock as h, isRef as ae, Fragment as oe, renderList as re, toDisplayString as R, createCommentVNode as $, resolveDynamicComponent as Ne, normalizeStyle as Pe, createTextVNode as ue, nextTick as ne } from "vue";
2
+ import { c as qe, I as D, b as je, U as K, a as Fe, D as j, m as se, R as G, K as Ie } from "./main-DSgfGXqN.js";
3
+ import "./assets/liquidjs-BfOWWjtJ.js";
4
+ import "./assets/underscore-B0BCaBxV.js";
5
+ import "./assets/file-saver-CwlpTZSc.js";
6
+ import "./assets/clone-BZn0cTAu.js";
7
+ import "./assets/underscore.string-DVXD2SZo.js";
8
+ import "./assets/moment-h96o7c8I.js";
9
+ import { _ as ie } from "./Index.vue_vue_type_script_setup_true_lang-B5I-mP-B.js";
10
+ const Me = { class: "ha-main-form" }, Oe = { class: "row-header" }, Ae = { class: "row-title" }, Ge = { class: "el-drawer__title" }, He = ["href"], ol = /* @__PURE__ */ $e({
11
+ __name: "Single",
12
+ props: {
13
+ base: {},
14
+ route: {},
15
+ url: {},
16
+ win: {}
17
+ },
18
+ emits: ["navigate", "load", "succeed", "close"],
19
+ setup(de, { expose: me, emit: pe }) {
20
+ let B = pe, ve = de, { url: F, base: H, route: T } = De(ve), c = r(), b = r(), p = r(), u = r(), y = r(), L = r(), v = r({ table: null, layout: null }), w = r(), N = r([]), fe = r(), V = r(), P = r(), I = r(), E = r(), J = r(), i = r({ page: null, url: null, visible: !1, appendToBody: !1 }), C = r(!1), M = r(), x = r(), ce = (l) => !0, be = (l) => {
21
+ let t = K.url.getPath(F.value), a = K.url.getPath(l);
22
+ return t != a;
23
+ }, ye = () => {
24
+ Ee();
25
+ }, ge = (l, t) => {
26
+ Q("copy", l, t);
27
+ }, _e = (l, t) => {
28
+ Q("update", l, t);
29
+ }, he = () => {
30
+ i.value.visible = !1;
31
+ }, Q = (l, t, a) => {
32
+ let n = we(l, t);
33
+ a.ctrlKey ? B("navigate", n) : (i.value.appendToBody = a.altKey, i.value.page = l, i.value.url = n, i.value.visible = !0);
34
+ }, we = (l, t = null) => {
35
+ let a = `${b.value[l].route}`;
36
+ if (t != null) {
37
+ let n = t[y.value.key.name];
38
+ a += `?id=${n}`;
39
+ }
40
+ return a;
41
+ }, Ce = (l, t, a) => {
42
+ (a.ctrlKey || C.value) && (M.value = l, x.value = K.object.clone(t), C.value = !0, x.value.fields.forEach((n) => {
43
+ n.control.textualize = !1;
44
+ }));
45
+ }, W = (l) => {
46
+ i.value.visible = !1, B("succeed", ee.value, l);
47
+ }, Re = () => {
48
+ B("close");
49
+ }, X = (l, t, a, n, k) => {
50
+ }, Y = (l, t) => {
51
+ if (t) {
52
+ L.value = y.value.layouts.find((a) => a.type == l);
53
+ return;
54
+ }
55
+ v.value.layout = v.value.table.layouts.find((a) => a.type == l);
56
+ }, xe = (l) => {
57
+ let t = u.value.find((a) => a.name == l);
58
+ v.value.table = t, v.value.layout = t.layouts[0];
59
+ }, ke = (l) => {
60
+ let t = Object.keys(l)[0], a = t.substring(1, t.indexOf("]"));
61
+ u.value.find((k) => k.name == a).main || (w.value = a);
62
+ }, Se = (l, t = null, a = null) => {
63
+ ne(() => {
64
+ V.value.validate((n, k) => {
65
+ if (!n)
66
+ return ke(k), a && a(!1), !1;
67
+ let U = c.value.type == "Update" ? b.value.update.route : b.value.insert.route;
68
+ t && t(U, p.value), j.http.post(U, p.value).then(({ data: z, message: S }) => {
69
+ V.value.clearValidate(), j.messenger.success(S), W(p.value);
70
+ }).catch(({ code: z, data: S, message: le }) => {
71
+ if (z != "ValidateError")
72
+ return;
73
+ N.value = S;
74
+ let q = S.find((g) => g.table !== y.value.name);
75
+ if (q) {
76
+ let g = u.value.find((o) => o.name == q.table);
77
+ g && (w.value = g.name);
78
+ }
79
+ ne(() => {
80
+ V.value.clearValidate(), V.value.validate((g, o) => {
81
+ g || (a && a(!1), N.value = []);
82
+ });
83
+ });
84
+ }).finally(() => {
85
+ a && a();
86
+ });
87
+ });
88
+ });
89
+ }, Z = (l) => {
90
+ var a, n;
91
+ let t = D.module(l.module.type, l.module.name);
92
+ j.i18n.setTitle(t, l.module.env), c.value = l.module, b.value = l.next, p.value = se.expandSet(l.schema, l.set), u.value = se.expandSchema(l.schema, l.set), y.value = (a = u.value) == null ? void 0 : a[0], L.value = y.value.layouts[0], ((n = u.value) == null ? void 0 : n.length) > 1 && (w.value = u.value[1].name, v.value.table = u.value[1], v.value.layout = u.value[1].layouts[0]);
93
+ }, Te = (l) => {
94
+ G.module.triggerResize(P.value, l), G.module.triggerResize(E.value, l);
95
+ }, Ve = (l, t) => {
96
+ if (l == Ie.ctrlS) {
97
+ if (c.value.type == "Detail") {
98
+ G.module.triggerKeyboard(J.value, l, t);
99
+ return;
100
+ }
101
+ O(t);
102
+ }
103
+ }, Ee = () => {
104
+ let l = K.url.getUrl(T.value.path, T.value.query);
105
+ B("load", l, !1, (t) => {
106
+ });
107
+ };
108
+ (() => {
109
+ Z(H.value.data);
110
+ })();
111
+ let O = (l) => {
112
+ if (!I.value.submit) {
113
+ j.messenger.notify("提示", "请在子组件暴露submit方法来实现快捷提交", "warning");
114
+ return;
115
+ }
116
+ I.value.submit(l);
117
+ }, Ue = te(() => {
118
+ let l = `/${y.value.name}/update`, t = c.value.type == "Detail" ? "detail" : "update";
119
+ return qe.getComponent(l, "partial", t);
120
+ }), ee = te(() => c.value.type.toLowerCase());
121
+ return Ke(() => H.value, (l) => {
122
+ Z(l.data), P.value.update && P.value.update(l.data), E.value && E.value.update && E.value.update(l.data);
123
+ }), me({ shouldLoad: ce, shouldSpin: be, onKeyboard: Ve, onRefresh: ye, onResize: Te }), (l, t) => {
124
+ const a = f("el-tooltip"), n = f("el-tab-pane"), k = f("el-tabs"), U = f("el-form"), z = f("el-scrollbar"), S = f("el-popover"), le = f("el-form-item"), q = f("el-card"), g = f("el-drawer");
125
+ return d(), A("div", {
126
+ ref_key: "singleRef",
127
+ ref: fe,
128
+ class: Be(["ha-single-page", { [e(ee) + "-page"]: !0, editing: e(C) }])
129
+ }, [
130
+ m("div", Me, [
131
+ _(z, { class: "main-scroller" }, {
132
+ default: s(() => [
133
+ _(U, {
134
+ ref_key: "formRef",
135
+ ref: V,
136
+ model: e(p),
137
+ onSubmit: t[3] || (t[3] = Le(() => {
138
+ }, ["prevent"]))
139
+ }, {
140
+ default: s(() => [
141
+ _(ie, {
142
+ ref_key: "mainRef",
143
+ ref: P,
144
+ url: e(F),
145
+ module: e(c),
146
+ schema: e(u),
147
+ table: e(y),
148
+ layout: e(L),
149
+ next: e(b),
150
+ set: e(p),
151
+ route: e(T),
152
+ "validate-errors": e(N),
153
+ onChange: e(X),
154
+ onLayoutChange: t[0] || (t[0] = (o) => e(Y)(o, !0)),
155
+ onSubmit: e(O)
156
+ }, null, 8, ["url", "module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onChange", "onSubmit"]),
157
+ e(u).length > 1 ? (d(), h(k, {
158
+ key: 0,
159
+ type: "border-card",
160
+ onTabChange: e(xe),
161
+ modelValue: e(w),
162
+ "onUpdate:modelValue": t[1] || (t[1] = (o) => ae(w) ? w.value = o : w = o)
163
+ }, {
164
+ default: s(() => [
165
+ (d(!0), A(oe, null, re(e(u).filter((o, ze) => ze > 0), (o) => (d(), h(n, {
166
+ name: o.name,
167
+ key: o.name
168
+ }, {
169
+ label: s(() => [
170
+ _(a, {
171
+ placement: "top",
172
+ content: o.tooltip,
173
+ disabled: !o.tooltip
174
+ }, {
175
+ default: s(() => [
176
+ m("div", null, R(e(D).table(o.table)), 1)
177
+ ]),
178
+ _: 2
179
+ }, 1032, ["content", "disabled"])
180
+ ]),
181
+ _: 2
182
+ }, 1032, ["name"]))), 128))
183
+ ]),
184
+ _: 1
185
+ }, 8, ["onTabChange", "modelValue"])) : $("", !0),
186
+ e(v).table ? (d(), h(ie, {
187
+ key: 1,
188
+ ref_key: "childRef",
189
+ ref: E,
190
+ url: e(F),
191
+ module: e(c),
192
+ schema: e(u),
193
+ table: e(v).table,
194
+ layout: e(v).layout,
195
+ next: e(b),
196
+ set: e(p),
197
+ route: e(T),
198
+ "validate-errors": e(N),
199
+ onRowEdit: e(Ce),
200
+ onChange: e(X),
201
+ onLayoutChange: t[2] || (t[2] = (o) => e(Y)(o, !1)),
202
+ onSubmit: e(O)
203
+ }, null, 8, ["url", "module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onRowEdit", "onChange", "onSubmit"])) : $("", !0)
204
+ ]),
205
+ _: 1
206
+ }, 8, ["model"])
207
+ ]),
208
+ _: 1
209
+ }),
210
+ (d(), h(Ne(e(Ue)), {
211
+ ref_key: "updateRef",
212
+ ref: I,
213
+ class: "main-footer",
214
+ schema: e(u),
215
+ table: e(y),
216
+ layout: e(L),
217
+ next: e(b),
218
+ set: e(p),
219
+ route: e(T),
220
+ onCopy: e(ge),
221
+ onEdit: e(_e),
222
+ onSubmit: e(Se),
223
+ onClose: e(Re)
224
+ }, null, 40, ["schema", "table", "layout", "next", "set", "route", "onCopy", "onEdit", "onSubmit", "onClose"]))
225
+ ]),
226
+ e(C) ? (d(), h(q, {
227
+ key: 0,
228
+ class: "side-form"
229
+ }, {
230
+ header: s(() => [
231
+ m("div", Oe, [
232
+ m("div", Ae, R(e(D).t("common.modify")) + " " + R(e(M)[e(x).show[0].name]), 1),
233
+ m("div", {
234
+ class: "row-close",
235
+ onClick: t[4] || (t[4] = (o) => ae(C) ? C.value = !1 : C = !1)
236
+ }, t[6] || (t[6] = [
237
+ m("i", { class: "fa fa-close" }, null, -1)
238
+ ]))
239
+ ])
240
+ ]),
241
+ default: s(() => [
242
+ _(z, null, {
243
+ default: s(() => [
244
+ _(U, {
245
+ size: "small",
246
+ "label-width": "80px"
247
+ }, {
248
+ default: s(() => [
249
+ (d(!0), A(oe, null, re(e(x).show, (o) => (d(), h(le, {
250
+ style: Pe(o.control.height ? `height: ${o.control.height}px;` : ""),
251
+ rules: o.rules
252
+ }, {
253
+ label: s(() => [
254
+ ue(R(e(D).field(e(x).name, o.name)) + " ", 1),
255
+ o.control.tooltip ? (d(), h(S, {
256
+ key: 0,
257
+ trigger: "hover",
258
+ placement: "top",
259
+ width: "auto",
260
+ title: o.control.tooltip.title
261
+ }, {
262
+ reference: s(() => t[7] || (t[7] = [
263
+ m("i", { class: "fa fa-question-circle icon-question" }, null, -1)
264
+ ])),
265
+ default: s(() => [
266
+ m("pre", null, R(o.control.tooltip.content), 1)
267
+ ]),
268
+ _: 2
269
+ }, 1032, ["title"])) : $("", !0)
270
+ ]),
271
+ default: s(() => [
272
+ _(je, {
273
+ schema: e(u),
274
+ table: e(x),
275
+ field: o,
276
+ set: e(p),
277
+ row: e(M)
278
+ }, null, 8, ["schema", "table", "field", "set", "row"])
279
+ ]),
280
+ _: 2
281
+ }, 1032, ["style", "rules"]))), 256))
282
+ ]),
283
+ _: 1
284
+ })
285
+ ]),
286
+ _: 1
287
+ })
288
+ ]),
289
+ _: 1
290
+ })) : $("", !0),
291
+ e(i).page ? (d(), h(g, {
292
+ key: 1,
293
+ "destroy-on-close": "",
294
+ "append-to-body": e(i).appendToBody,
295
+ size: `${e(c).width ?? "60%"}`,
296
+ modelValue: e(i).visible,
297
+ "onUpdate:modelValue": t[5] || (t[5] = (o) => e(i).visible = o)
298
+ }, {
299
+ header: s(() => [
300
+ m("div", Ge, [
301
+ ue(R(e(b)[e(i).page].title) + " ", 1),
302
+ m("a", {
303
+ class: "drawer-copy",
304
+ href: `${e(K).url.getToUrl(e(i).url)}`
305
+ }, R(e(D).t("common.link")), 9, He)
306
+ ])
307
+ ]),
308
+ default: s(() => [
309
+ _(e(Fe), {
310
+ ref_key: "pageRef",
311
+ ref: J,
312
+ url: e(i).url,
313
+ onSucceed: e(W),
314
+ onClose: e(he)
315
+ }, null, 8, ["url", "onSucceed", "onClose"])
316
+ ]),
317
+ _: 1
318
+ }, 8, ["append-to-body", "size", "modelValue"])) : $("", !0)
319
+ ], 2);
320
+ };
321
+ }
322
+ });
323
+ export {
324
+ ol as default
325
+ };