halo-pc 1.0.41 → 1.0.42

Sign up to get free protection for your applications and to get access to all the features.
Files changed (348) hide show
  1. package/dist/{Article-BMW_FzdK.js → Article-DFUSows8.js} +70 -65
  2. package/dist/{ArticleFooter-7iPkMQaX.js → ArticleFooter-Cj1BBlA1.js} +27 -22
  3. package/dist/{Autocomplete-C-El55Lz.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-BQUrQwua.js → CSharp-DKso7gNM.js} +1 -1
  7. package/dist/{Calender-CJXR7uhM.js → Calender-D-SOVcZj.js} +1 -1
  8. package/dist/Callback-BR41Vj-N.js +26 -0
  9. package/dist/{Cascader-CFc_8QSm.js → Cascader-CgATYx_L.js} +25 -20
  10. package/dist/{Cascader-DMQjalNv.js → Cascader-_zr2LKml.js} +6 -6
  11. package/dist/{Checkbox-pV01os-T.js → Checkbox-5ILQf19K.js} +1 -1
  12. package/dist/{Checkbox-aU8e779g.js → Checkbox-BL8CgSAj.js} +22 -17
  13. package/dist/Code-B4PQhSMK.js +4 -0
  14. package/dist/{Code-kDBbVC1W.js → Code-C-YP2p5l.js} +1 -1
  15. package/dist/{Code-C4pIa8BE.js → Code-DFyhE56y.js} +3 -3
  16. package/dist/{Code-CCJx9RSm.js → Code-DiXOxLRf.js} +4 -4
  17. package/dist/{Code.vue_vue_type_style_index_0_lang-36NN7tgP.js → Code.vue_vue_type_style_index_0_lang-XgvwusB0.js} +8 -8
  18. package/dist/{Column-BebDf5Z9.js → Column-Bc7Oihiz.js} +8 -8
  19. package/dist/{Comment-BgfD9WtL.js → Comment-xRgfVwWf.js} +1 -1
  20. package/dist/Compare-Bs02uoCu.js +43 -0
  21. package/dist/Compare-CzjhvoMB.js +63 -0
  22. package/dist/{Copy-DW4jSNQi.js → Copy-Cm2a5gNO.js} +16 -11
  23. package/dist/{Custom-DIF-RYi3.js → Custom-DUwgObv0.js} +16 -16
  24. package/dist/{DataExport-CyQy2xjO.js → DataExport-Bl8Gnd65.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-C4n6xWcP.js → DataExport.vue_vue_type_script_setup_true_lang-BdcGXCd-.js} +33 -28
  26. package/dist/{DataImport-BVF83UsQ.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-CqpFvbYZ.js → Date-3ShwD2-i.js} +1 -1
  29. package/dist/Date-Bxg6thBd.js +43 -0
  30. package/dist/{DateRange-B2afkdbT.js → DateRange-Bs02SlBL.js} +16 -11
  31. package/dist/DateTime-9zVeZZU1.js +44 -0
  32. package/dist/{DateTime-Zi3vtH77.js → DateTime-CBvGI0QK.js} +1 -1
  33. package/dist/{DateTimeRange-BFWM_U7H.js → DateTimeRange-BvzT4ePX.js} +16 -11
  34. package/dist/{Daterange-tXA0b0Ak.js → Daterange-jjGQtOYX.js} +21 -16
  35. package/dist/{Decimal-DKQ38XS_.js → Decimal-ZCkGNnu6.js} +1 -1
  36. package/dist/Delete-DFYWGXxR.js +62 -0
  37. package/dist/{Detail-SWgERqKG.js → Detail-BCOVW_Bc.js} +23 -18
  38. package/dist/{Dictionary-Xsj_Qorw.js → Dictionary-CzVkbTgC.js} +1 -1
  39. package/dist/{Email-DILPnLkb.js → Email-BkTp1o4W.js} +19 -14
  40. package/dist/File-B5gD6gIN.js +164 -0
  41. package/dist/{Image-Yx3ZHHJK.js → Image-CJehZtl1.js} +1 -1
  42. package/dist/{Index-CiQQmYeA.js → Index--k39OOeR.js} +1 -1
  43. package/dist/Index-BgaidjN1.js +4 -0
  44. package/dist/{Index-DeYqTT9Q.js → Index-Bkk7Lbow.js} +1 -1
  45. package/dist/Index-C1d92iVF.js +4 -0
  46. package/dist/{Index-BTa4YIN9.js → Index-CqcpoI5q.js} +64 -59
  47. package/dist/Index-D46msJe6.js +4 -0
  48. package/dist/Index-DNzPzZAD.js +4 -0
  49. package/dist/{Index-WVLyjyqt.js → Index-fLIY_xZz.js} +20 -15
  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-DWMiv0dC.js → Index.vue_vue_type_script_setup_true_lang-BBos3LCo.js} +11 -11
  52. package/dist/{Install-DW5uDsXF.js → Install-D5a1Clhz.js} +37 -32
  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-DF3nu9Jd.js → Maintaince-or5c_o4Q.js} +4 -4
  57. package/dist/{Markdown-BC8l7O_U.js → Markdown-DA3F0wmz.js} +1 -1
  58. package/dist/{Month-DRa9o-WC.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-U-oJ1TQE.js → PagingHeader-ooBPU84X.js} +28 -23
  64. package/dist/{PagingRow-BmokRXX3.js → PagingRow-BBzD3uJR.js} +17 -12
  65. package/dist/{Racebar-BvFHNGb8.js → Racebar-CGxwvdJg.js} +4 -4
  66. package/dist/{Radio-CjfXrTOE.js → Radio-Rf8Dk0Kt.js} +1 -1
  67. package/dist/{Register-BG-3_Q2E.js → Register-CRG2u_Oc.js} +72 -67
  68. package/dist/{RichText-C88f59ao.js → RichText-D9mVss4s.js} +6 -6
  69. package/dist/{SearchForm-C0zqD7UP.js → SearchForm-DhNSuvIB.js} +1 -1
  70. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-Bv1_VqSl.js → SearchForm.vue_vue_type_style_index_0_lang-rTj9jfpz.js} +36 -31
  71. package/dist/{SearchHeader-e2LOidgU.js → SearchHeader-BH9MZ9J0.js} +1 -1
  72. package/dist/{SearchHeader.vue_vue_type_style_index_0_lang-DebuWiG6.js → SearchHeader.vue_vue_type_style_index_0_lang-BCguAmMx.js} +1 -1
  73. package/dist/Select-BGxScF1V.js +117 -0
  74. package/dist/{Select-CvP_zGxM.js → Select-D6zMSIK-.js} +1 -1
  75. package/dist/Select-pxgFT4W6.js +86 -0
  76. package/dist/{Single-p-8OfzhQ.js → Single-Dur5AQwJ.js} +105 -98
  77. package/dist/{Statistic-BIKfbZCI.js → Statistic-D2Ui-cl9.js} +47 -42
  78. package/dist/{Stock-B7RP-SuF.js → Stock-CPNV5oAr.js} +1 -1
  79. package/dist/{Stock-BhOP8J0c.js → Stock-S-yoIR63.js} +1 -1
  80. package/dist/{Stock.vue_vue_type_style_index_0_lang-Dpw8BlLu.js → Stock.vue_vue_type_style_index_0_lang-CBM83HPm.js} +16 -11
  81. package/dist/{Switch-BcDhe4_E.js → Switch-Ddzu0cVc.js} +1 -1
  82. package/dist/{Table-Cy7FarYr.js → Table-Dehxw_Mm.js} +126 -121
  83. package/dist/{Table-DK-TaejU.js → Table-td4DoauS.js} +95 -90
  84. package/dist/Text-BQ2sP6BX.js +54 -0
  85. package/dist/Text-BlDU58Cj.js +4 -0
  86. package/dist/{Text-YNB0It4-.js → Text-DzOAFDPQ.js} +15 -10
  87. package/dist/{Text.vue_vue_type_style_index_0_lang-Dokzd_qM.js → Text.vue_vue_type_style_index_0_lang-SkwvLnGj.js} +1 -1
  88. package/dist/TextLink-BNd6HG70.js +65 -0
  89. package/dist/{Textarea-86C9lCtg.js → Textarea-BEGLCMlW.js} +1 -1
  90. package/dist/Time-6IjugDB1.js +43 -0
  91. package/dist/{Timeline-O_jWjdxT.js → Timeline-rO6-BdP9.js} +1 -1
  92. package/dist/{Tree-BfFRW-xZ.js → Tree-B4CrBXsk.js} +1 -1
  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-YzPMnj_r.js → UpdateChild-D_vBiyT5.js} +17 -12
  97. package/dist/{Upload-Dj5nSsug.js → Upload-ByD17bHe.js} +18 -18
  98. package/dist/Upload-pOEf-6VG.js +150 -0
  99. package/dist/{Year-CcbzIuwy.js → Year-CWW-xi29.js} +1 -1
  100. package/dist/Year-DkYUnUm3.js +47 -0
  101. package/dist/{main-DxH9UW19.js → main-DSgfGXqN.js} +6148 -5905
  102. package/dist/main.js +162 -164
  103. package/dist/style.css +1 -1
  104. package/esm/@types/CreatePcOptions.d.ts +1 -2
  105. package/esm/@types/index.d.ts +1 -2
  106. package/esm/coms/business/@types/DrawerProps.d.ts +1 -2
  107. package/esm/coms/business/@types/FormProps.d.ts +1 -2
  108. package/esm/coms/business/@types/index.d.ts +2 -3
  109. package/esm/coms/business/Condition.vue.d.ts +3 -3
  110. package/esm/coms/business/Drawer.vue.d.ts +2 -2
  111. package/esm/coms/business/Form.vue.d.ts +3 -2
  112. package/esm/coms/commons/@types/TableProps.d.ts +1 -2
  113. package/esm/coms/commons/@types/index.d.ts +1 -2
  114. package/esm/coms/commons/Captcha.vue.d.ts +1 -1
  115. package/esm/coms/commons/Debug.vue.d.ts +2 -1
  116. package/esm/coms/commons/Editable.vue.d.ts +2 -1
  117. package/esm/coms/commons/Loading.vue.d.ts +2 -1
  118. package/esm/coms/commons/Resizer.vue.d.ts +3 -2
  119. package/esm/coms/commons/Table.vue.d.ts +8 -3
  120. package/esm/coms/commons/TableColumn.vue.d.ts +2 -1
  121. package/esm/coms/controls/@types/ControlProps.d.ts +1 -2
  122. package/esm/coms/controls/@types/index.d.ts +1 -2
  123. package/esm/coms/controls/Autocomplete.vue.d.ts +4 -5
  124. package/esm/coms/controls/Cascader.vue.d.ts +4 -5
  125. package/esm/coms/controls/Checkbox.vue.d.ts +5 -6
  126. package/esm/coms/controls/Code.vue.d.ts +4 -5
  127. package/esm/coms/controls/Color.vue.d.ts +4 -5
  128. package/esm/coms/controls/Compare.vue.d.ts +5 -6
  129. package/esm/coms/controls/Date.vue.d.ts +4 -5
  130. package/esm/coms/controls/DateRange.vue.d.ts +4 -5
  131. package/esm/coms/controls/DateTime.vue.d.ts +4 -5
  132. package/esm/coms/controls/DateTimeRange.vue.d.ts +4 -5
  133. package/esm/coms/controls/Decimal.vue.d.ts +4 -5
  134. package/esm/coms/controls/Email.vue.d.ts +4 -5
  135. package/esm/coms/controls/Index.vue.d.ts +4 -5
  136. package/esm/coms/controls/Int.vue.d.ts +4 -5
  137. package/esm/coms/controls/Markdown.vue.d.ts +4 -5
  138. package/esm/coms/controls/Month.vue.d.ts +4 -5
  139. package/esm/coms/controls/Password.vue.d.ts +4 -5
  140. package/esm/coms/controls/Progress.vue.d.ts +4 -5
  141. package/esm/coms/controls/Radio.vue.d.ts +4 -5
  142. package/esm/coms/controls/Rate.vue.d.ts +4 -5
  143. package/esm/coms/controls/RichText.vue.d.ts +4 -4
  144. package/esm/coms/controls/Select.vue.d.ts +4 -5
  145. package/esm/coms/controls/Switch.vue.d.ts +5 -6
  146. package/esm/coms/controls/Text.vue.d.ts +4 -5
  147. package/esm/coms/controls/Textarea.vue.d.ts +4 -5
  148. package/esm/coms/controls/Time.vue.d.ts +4 -5
  149. package/esm/coms/controls/Upload.vue.d.ts +5 -6
  150. package/esm/coms/controls/Year.vue.d.ts +4 -5
  151. package/esm/coms/drivers/@types/CrudProps.d.ts +1 -2
  152. package/esm/coms/drivers/@types/DriverBaseProps.d.ts +1 -2
  153. package/esm/coms/drivers/@types/DriverEmit.d.ts +1 -2
  154. package/esm/coms/drivers/@types/DriverFormProps.d.ts +2 -3
  155. package/esm/coms/drivers/@types/DriverKindEmit.d.ts +2 -3
  156. package/esm/coms/drivers/@types/DriverProps.d.ts +3 -4
  157. package/esm/coms/drivers/@types/KindFormProps.d.ts +0 -1
  158. package/esm/coms/drivers/@types/KindProps.d.ts +2 -3
  159. package/esm/coms/drivers/@types/index.d.ts +5 -6
  160. package/esm/coms/drivers/Crud.vue.d.ts +6 -3
  161. package/esm/coms/drivers/Index.vue.d.ts +2 -1
  162. package/esm/coms/drivers/Kind.vue.d.ts +2 -1
  163. package/esm/coms/globals/@types/WindowEmit.d.ts +6 -7
  164. package/esm/coms/globals/@types/WindowOptions.d.ts +1 -2
  165. package/esm/coms/globals/@types/WindowProps.d.ts +2 -3
  166. package/esm/coms/globals/@types/index.d.ts +3 -4
  167. package/esm/coms/globals/HeaderTab.vue.d.ts +3 -2
  168. package/esm/coms/globals/HeaderTabs.vue.d.ts +4 -3
  169. package/esm/coms/globals/MenuItem.vue.d.ts +1 -1
  170. package/esm/coms/globals/MissComponent.vue.d.ts +3 -2
  171. package/esm/coms/globals/SideTab.vue.d.ts +3 -2
  172. package/esm/coms/globals/SideTabs.vue.d.ts +2 -1
  173. package/esm/coms/globals/Window.vue.d.ts +43 -2
  174. package/esm/coms/headers/@types/ChangeProps.d.ts +1 -2
  175. package/esm/coms/headers/@types/HeaderProps.d.ts +1 -2
  176. package/esm/coms/headers/@types/TipsProps.d.ts +1 -2
  177. package/esm/coms/headers/@types/index.d.ts +3 -4
  178. package/esm/coms/headers/Hamburger.vue.d.ts +1 -1
  179. package/esm/coms/headers/Index.vue.d.ts +3 -2
  180. package/esm/coms/headers/Logo.vue.d.ts +1 -1
  181. package/esm/coms/headers/Refresh.vue.d.ts +1 -1
  182. package/esm/coms/layouts/@types/ITaskBar.d.ts +1 -2
  183. package/esm/coms/layouts/@types/index.d.ts +1 -2
  184. package/esm/coms/layouts/Desktop.vue.d.ts +1 -1
  185. package/esm/coms/layouts/Index.vue.d.ts +6 -6
  186. package/esm/coms/layouts/Side.vue.d.ts +2 -2
  187. package/esm/coms/layouts/Top.vue.d.ts +1 -1
  188. package/esm/coms/lists/@types/ListProps.d.ts +1 -2
  189. package/esm/coms/lists/@types/index.d.ts +1 -2
  190. package/esm/coms/lists/Calender.vue.d.ts +1 -1
  191. package/esm/coms/lists/Racebar.vue.d.ts +1 -1
  192. package/esm/coms/lists/Statistic.vue.d.ts +1 -1
  193. package/esm/coms/lists/Stock.vue.d.ts +1 -1
  194. package/esm/coms/lists/Timeline.vue.d.ts +1 -1
  195. package/esm/coms/lists/Tree.vue.d.ts +1 -1
  196. package/esm/coms/pages/@types/ColumnPageProps.d.ts +2 -3
  197. package/esm/coms/pages/@types/CustomPageProps.d.ts +2 -3
  198. package/esm/coms/pages/@types/DeletePageProps.d.ts +2 -3
  199. package/esm/coms/pages/@types/ListPageProps.d.ts +2 -3
  200. package/esm/coms/pages/@types/PageEmit.d.ts +1 -2
  201. package/esm/coms/pages/@types/PageProps.d.ts +1 -2
  202. package/esm/coms/pages/@types/PagingPageProps.d.ts +2 -3
  203. package/esm/coms/pages/@types/SchemaProps.d.ts +3 -4
  204. package/esm/coms/pages/@types/SinglePageProps.d.ts +2 -3
  205. package/esm/coms/pages/@types/index.d.ts +9 -10
  206. package/esm/coms/pages/Column.vue.d.ts +1 -1
  207. package/esm/coms/pages/Delete.vue.d.ts +1 -1
  208. package/esm/coms/pages/Paging.vue.d.ts +1 -2
  209. package/esm/coms/pagings/@types/PagingProps.d.ts +1 -2
  210. package/esm/coms/pagings/@types/SearchFormProps.d.ts +1 -2
  211. package/esm/coms/pagings/@types/SearchHeaderProps.d.ts +1 -2
  212. package/esm/coms/pagings/@types/index.d.ts +3 -4
  213. package/esm/coms/pagings/Article.vue.d.ts +1 -1
  214. package/esm/coms/pagings/Code.vue.d.ts +1 -1
  215. package/esm/coms/pagings/File.vue.d.ts +1 -1
  216. package/esm/coms/pagings/Index.vue.d.ts +1 -2
  217. package/esm/coms/pagings/SearchHeader.vue.d.ts +1 -1
  218. package/esm/coms/pagings/Table.vue.d.ts +2 -3
  219. package/esm/coms/panels/@types/OperationProps.d.ts +1 -2
  220. package/esm/coms/panels/@types/index.d.ts +1 -2
  221. package/esm/coms/panels/Group.vue.d.ts +3 -2
  222. package/esm/coms/panels/Header.vue.d.ts +1 -1
  223. package/esm/coms/panels/Operation.vue.d.ts +3 -2
  224. package/esm/coms/panels/Panel.vue.d.ts +3 -2
  225. package/esm/coms/panels/Shrink.vue.d.ts +3 -2
  226. package/esm/coms/partials/@types/ArticleFooterEmit.d.ts +1 -2
  227. package/esm/coms/partials/@types/DetailEmit.d.ts +1 -2
  228. package/esm/coms/partials/@types/DetailProps.d.ts +1 -2
  229. package/esm/coms/partials/@types/PagingHeaderEmit.d.ts +2 -3
  230. package/esm/coms/partials/@types/PagingHeaderProps.d.ts +1 -2
  231. package/esm/coms/partials/@types/PagingRowEmit.d.ts +1 -2
  232. package/esm/coms/partials/@types/PagingRowProps.d.ts +1 -2
  233. package/esm/coms/partials/@types/TreeNodeProps.d.ts +1 -2
  234. package/esm/coms/partials/@types/UpdateChildEmit.d.ts +1 -2
  235. package/esm/coms/partials/@types/UpdateChildProps.d.ts +1 -2
  236. package/esm/coms/partials/@types/UpdateEmit.d.ts +1 -2
  237. package/esm/coms/partials/@types/UpdateProps.d.ts +1 -2
  238. package/esm/coms/partials/@types/index.d.ts +12 -13
  239. package/esm/coms/partials/ArticleFooter.vue.d.ts +1 -1
  240. package/esm/coms/partials/Detail.vue.d.ts +1 -1
  241. package/esm/coms/partials/PagingHeader.vue.d.ts +2 -2
  242. package/esm/coms/partials/PagingRow.vue.d.ts +2 -2
  243. package/esm/coms/partials/TreeNode.vue.d.ts +1 -1
  244. package/esm/coms/partials/Update.vue.d.ts +1 -1
  245. package/esm/coms/searches/@types/SearchProps.d.ts +1 -2
  246. package/esm/coms/searches/@types/index.d.ts +1 -2
  247. package/esm/coms/searches/Autocomplete.vue.d.ts +4 -5
  248. package/esm/coms/searches/Daterange.vue.d.ts +4 -5
  249. package/esm/coms/searches/Int.vue.d.ts +4 -5
  250. package/esm/coms/searches/Month.vue.d.ts +4 -5
  251. package/esm/coms/searches/Select.vue.d.ts +4 -5
  252. package/esm/coms/searches/Text.vue.d.ts +4 -2
  253. package/esm/coms/singles/@types/SingleProps.d.ts +1 -2
  254. package/esm/coms/singles/@types/index.d.ts +1 -2
  255. package/esm/coms/singles/Code.vue.d.ts +1 -1
  256. package/esm/coms/singles/Comment.vue.d.ts +1 -1
  257. package/esm/coms/singles/Normal.vue.d.ts +1 -1
  258. package/esm/coms/singles/Statistic.vue.d.ts +1 -1
  259. package/esm/coms/singles/Stock.vue.d.ts +1 -1
  260. package/esm/coms/singles/Tree.vue.d.ts +1 -1
  261. package/esm/coms/texts/Autocomplete.vue.d.ts +3 -4
  262. package/esm/coms/texts/CSharp.vue.d.ts +3 -4
  263. package/esm/coms/texts/Cascader.vue.d.ts +5 -6
  264. package/esm/coms/texts/Checkbox.vue.d.ts +3 -4
  265. package/esm/coms/texts/Code.vue.d.ts +3 -4
  266. package/esm/coms/texts/Color.vue.d.ts +3 -4
  267. package/esm/coms/texts/Compare.vue.d.ts +3 -4
  268. package/esm/coms/texts/Copy.vue.d.ts +6 -6
  269. package/esm/coms/texts/Date.vue.d.ts +3 -4
  270. package/esm/coms/texts/DateRange.vue.d.ts +3 -4
  271. package/esm/coms/texts/DateTime.vue.d.ts +3 -4
  272. package/esm/coms/texts/Decimal.vue.d.ts +3 -4
  273. package/esm/coms/texts/Dictionary.vue.d.ts +5 -6
  274. package/esm/coms/texts/Email.vue.d.ts +3 -4
  275. package/esm/coms/texts/Index.vue.d.ts +4 -5
  276. package/esm/coms/texts/Int.vue.d.ts +3 -4
  277. package/esm/coms/texts/Markdown.vue.d.ts +3 -4
  278. package/esm/coms/texts/Month.vue.d.ts +3 -4
  279. package/esm/coms/texts/Password.vue.d.ts +3 -4
  280. package/esm/coms/texts/Progress.vue.d.ts +3 -4
  281. package/esm/coms/texts/Radio.vue.d.ts +3 -4
  282. package/esm/coms/texts/Rate.vue.d.ts +4 -5
  283. package/esm/coms/texts/RichText.vue.d.ts +3 -4
  284. package/esm/coms/texts/Select.vue.d.ts +3 -4
  285. package/esm/coms/texts/Switch.vue.d.ts +3 -4
  286. package/esm/coms/texts/Text.vue.d.ts +3 -4
  287. package/esm/coms/texts/TextLink.vue.d.ts +2 -1
  288. package/esm/coms/texts/Textarea.vue.d.ts +3 -4
  289. package/esm/coms/texts/Upload.vue.d.ts +3 -4
  290. package/esm/coms/texts/Year.vue.d.ts +3 -4
  291. package/esm/drivers/index.d.ts +0 -1
  292. package/esm/drivers/messengers/PcMessenger.d.ts +1 -2
  293. package/esm/drivers/messengers/index.d.ts +1 -2
  294. package/esm/repos/UploadApi.d.ts +1 -2
  295. package/esm/repos/index.d.ts +1 -2
  296. package/esm/svcs/AppSvc.d.ts +1 -2
  297. package/esm/svcs/ComponentSvc.d.ts +1 -2
  298. package/esm/svcs/ControlSvc.d.ts +1 -2
  299. package/esm/svcs/LayoutSvc.d.ts +1 -2
  300. package/esm/svcs/ModuleSvc.d.ts +3 -4
  301. package/esm/svcs/PageSvc.d.ts +1 -2
  302. package/esm/svcs/RouterSvc.d.ts +1 -2
  303. package/esm/svcs/Svcs.d.ts +11 -0
  304. package/esm/svcs/UploadSvc.d.ts +1 -2
  305. package/esm/svcs/WindowSvc.d.ts +1 -2
  306. package/esm/svcs/index.d.ts +10 -9
  307. package/esm/views/helps/401.vue.d.ts +1 -1
  308. package/esm/views/helps/404.vue.d.ts +1 -1
  309. package/esm/views/helps/Install.vue.d.ts +1 -1
  310. package/esm/views/helps/Maintaince.vue.d.ts +1 -1
  311. package/esm/views/logins/Callback.vue.d.ts +1 -1
  312. package/esm/views/logins/Index.vue.d.ts +1 -1
  313. package/esm/views/logins/Register.vue.d.ts +1 -1
  314. package/package.json +6 -6
  315. package/dist/Autocomplete-B6Mwp9rT.js +0 -50
  316. package/dist/Autocomplete-PZTjEBIx.js +0 -49
  317. package/dist/Callback-CyDW9WU2.js +0 -21
  318. package/dist/Code-C0Kxulod.js +0 -4
  319. package/dist/Compare-BZucuvFP.js +0 -58
  320. package/dist/Compare-D-Byn_Gq.js +0 -38
  321. package/dist/DataImport.vue_vue_type_script_setup_true_lang-BZhFLOqB.js +0 -173
  322. package/dist/Date-g1XKWU4b.js +0 -38
  323. package/dist/DateTime-D_x_wBZR.js +0 -39
  324. package/dist/Delete-BOkBpAGN.js +0 -57
  325. package/dist/File-BDUTK7hV.js +0 -159
  326. package/dist/Index-BWukqxQl.js +0 -4
  327. package/dist/Index-BahY1OIJ.js +0 -4
  328. package/dist/Index-C9ffFYsl.js +0 -4
  329. package/dist/Index-DG7Hovsx.js +0 -4
  330. package/dist/Index.vue_vue_type_script_setup_true_lang-42C0EEto.js +0 -67
  331. package/dist/Int-BM4sbZvh.js +0 -42
  332. package/dist/Int-BrFE_Hmm.js +0 -39
  333. package/dist/List-DWjTqrJR.js +0 -72
  334. package/dist/Month-QG6OiiLU.js +0 -39
  335. package/dist/Month-Y0kLXgV7.js +0 -38
  336. package/dist/Normal-CSy3DFPH.js +0 -257
  337. package/dist/Paging-BYccIXmC.js +0 -95
  338. package/dist/Select-CfIvGDPS.js +0 -112
  339. package/dist/Select-Cz6MPDCC.js +0 -81
  340. package/dist/Text-B580p9od.js +0 -49
  341. package/dist/Text-D89aQLxL.js +0 -4
  342. package/dist/TextLink-CI-AIgdm.js +0 -60
  343. package/dist/Time-BgArfSc6.js +0 -38
  344. package/dist/Tree-DayADkaC.js +0 -293
  345. package/dist/TreeNode-BZp8w6M5.js +0 -38
  346. package/dist/Update-Bcdz87R4.js +0 -65
  347. package/dist/Upload-DU5VOqXj.js +0 -145
  348. package/dist/Year-B3E0kOiA.js +0 -42
@@ -0,0 +1,86 @@
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 = {
10
+ key: 0,
11
+ class: "option-suffix"
12
+ }, $ = /* @__PURE__ */ R({
13
+ __name: "Select",
14
+ props: {
15
+ schema: {},
16
+ table: {},
17
+ field: {},
18
+ searchData: {},
19
+ modelValue: { type: [String, Boolean] }
20
+ },
21
+ emits: ["change", "submit", "update:modelValue"],
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");
25
+ }, D = () => {
26
+ }, B = (l) => {
27
+ m.value = l, E();
28
+ }, E = () => {
29
+ let l = { text: m.value, conditions: [] };
30
+ a.value.control.data.conditions.forEach((o) => {
31
+ let u = V.value[o.table][o.field];
32
+ l.conditions.push({ name: o.name, value: u });
33
+ }), z.http.post(a.value.control.data.route, l).then(({ data: o }) => {
34
+ d.value = o;
35
+ }).finally(() => {
36
+ C.value = !1;
37
+ });
38
+ }, n = I({
39
+ get() {
40
+ return k.value;
41
+ },
42
+ set(l) {
43
+ s("update:modelValue", l), s("change", l);
44
+ }
45
+ });
46
+ return (l, o) => {
47
+ const u = p("el-option"), K = p("el-select");
48
+ return r(), c(K, {
49
+ ref: "selectRef",
50
+ filterable: "",
51
+ remote: "",
52
+ "reserve-keyword": "",
53
+ clearable: "",
54
+ "default-first-option": "",
55
+ "remote-show-suffix": "",
56
+ placeholder: t(_).t("common.please_choose") + t(_).field(t(y).name, t(a).name),
57
+ multiple: t(a).control.multiple,
58
+ "loading-text": "加载中",
59
+ "remote-method": t(B),
60
+ disabled: t(a).control.readonly,
61
+ onKeyup: M(N(t(w), ["alt"]), ["enter", "native"]),
62
+ onChange: t(D),
63
+ modelValue: t(n),
64
+ "onUpdate:modelValue": o[0] || (o[0] = (e) => F(n) ? n.value = e : n = e)
65
+ }, {
66
+ default: f(() => [
67
+ (r(!0), h(L, null, U(t(d), (e, J) => (r(), c(u, {
68
+ label: e.text + (e.suffix ? "(" + e.suffix + ")" : ""),
69
+ value: e.value,
70
+ key: e.value
71
+ }, {
72
+ default: f(() => [
73
+ j("span", A, v(e.text), 1),
74
+ e.suffix ? (r(), h("span", G, "(" + v(e.suffix) + ")", 1)) : q("", !0)
75
+ ]),
76
+ _: 2
77
+ }, 1032, ["label", "value"]))), 128))
78
+ ]),
79
+ _: 1
80
+ }, 8, ["placeholder", "multiple", "remote-method", "disabled", "onKeyup", "onChange", "modelValue"]);
81
+ };
82
+ }
83
+ });
84
+ export {
85
+ $ as default
86
+ };
@@ -1,8 +1,13 @@
1
- import { defineComponent as $e, toRefs as Ke, ref as u, computed as Z, watch as Be, resolveComponent as f, openBlock as d, createElementBlock as M, normalizeClass as De, unref as e, createElementVNode as m, createVNode as g, withCtx as s, withModifiers as Le, createBlock as h, isRef as ee, Fragment as le, renderList as te, toDisplayString as R, createCommentVNode as $, resolveDynamicComponent as Ne, normalizeStyle as Pe, createTextVNode as ae, nextTick as oe } from "vue";
2
- import { f as je, g as qe, t as ue, j as Fe, k as Me, U as K, b as Oe, h as Ae, a as re, c as Ge, i as He, d as ne, m as O, K as Ie } from "./main-DxH9UW19.js";
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";
3
8
  import "./assets/moment-h96o7c8I.js";
4
- import { _ as se } from "./Index.vue_vue_type_script_setup_true_lang-42C0EEto.js";
5
- const Je = { class: "ha-main-form" }, Qe = { class: "row-header" }, We = { class: "row-title" }, Xe = { class: "el-drawer__title" }, Ye = ["href"], ol = /* @__PURE__ */ $e({
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({
6
11
  __name: "Single",
7
12
  props: {
8
13
  base: {},
@@ -11,19 +16,19 @@ const Je = { class: "ha-main-form" }, Qe = { class: "row-header" }, We = { class
11
16
  win: {}
12
17
  },
13
18
  emits: ["navigate", "load", "succeed", "close"],
14
- setup(ie, { expose: de, emit: me }) {
15
- let B = me, pe = ie, { url: ve, base: A, route: T } = Ke(pe), c = u(), b = u(), p = u(), r = u(), y = u(), D = u(), v = u({ table: null, layout: null }), w = u(), L = u([]), fe = u(), V = u(), N = u(), j = u(), E = u(), G = u(), i = u({ page: null, url: null, visible: !1, appendToBody: !1 }), C = u(!1), q = u(), x = u(), ce = (l) => !0, be = (l) => {
16
- let t = K.url.getPath(ve.value), a = K.url.getPath(l);
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);
17
22
  return t != a;
18
23
  }, ye = () => {
19
24
  Ee();
20
- }, _e = (l, t) => {
21
- H("copy", l, t);
22
25
  }, ge = (l, t) => {
23
- H("update", l, t);
26
+ Q("copy", l, t);
27
+ }, _e = (l, t) => {
28
+ Q("update", l, t);
24
29
  }, he = () => {
25
30
  i.value.visible = !1;
26
- }, H = (l, t, a) => {
31
+ }, Q = (l, t, a) => {
27
32
  let n = we(l, t);
28
33
  a.ctrlKey ? B("navigate", n) : (i.value.appendToBody = a.altKey, i.value.page = l, i.value.url = n, i.value.visible = !0);
29
34
  }, we = (l, t = null) => {
@@ -34,46 +39,46 @@ const Je = { class: "ha-main-form" }, Qe = { class: "row-header" }, We = { class
34
39
  }
35
40
  return a;
36
41
  }, Ce = (l, t, a) => {
37
- (a.ctrlKey || C.value) && (q.value = l, x.value = K.object.clone(t), C.value = !0, x.value.fields.forEach((n) => {
42
+ (a.ctrlKey || C.value) && (M.value = l, x.value = K.object.clone(t), C.value = !0, x.value.fields.forEach((n) => {
38
43
  n.control.textualize = !1;
39
44
  }));
40
- }, I = (l) => {
41
- i.value.visible = !1, B("succeed", X.value, l);
45
+ }, W = (l) => {
46
+ i.value.visible = !1, B("succeed", ee.value, l);
42
47
  }, Re = () => {
43
48
  B("close");
44
- }, J = (l, t, a, n, k) => {
45
- }, Q = (l, t) => {
49
+ }, X = (l, t, a, n, k) => {
50
+ }, Y = (l, t) => {
46
51
  if (t) {
47
- D.value = y.value.layouts.find((a) => a.type == l);
52
+ L.value = y.value.layouts.find((a) => a.type == l);
48
53
  return;
49
54
  }
50
55
  v.value.layout = v.value.table.layouts.find((a) => a.type == l);
51
56
  }, xe = (l) => {
52
- let t = r.value.find((a) => a.name == l);
57
+ let t = u.value.find((a) => a.name == l);
53
58
  v.value.table = t, v.value.layout = t.layouts[0];
54
59
  }, ke = (l) => {
55
60
  let t = Object.keys(l)[0], a = t.substring(1, t.indexOf("]"));
56
- r.value.find((k) => k.name == a).main || (w.value = a);
61
+ u.value.find((k) => k.name == a).main || (w.value = a);
57
62
  }, Se = (l, t = null, a = null) => {
58
- oe(() => {
63
+ ne(() => {
59
64
  V.value.validate((n, k) => {
60
65
  if (!n)
61
66
  return ke(k), a && a(!1), !1;
62
67
  let U = c.value.type == "Update" ? b.value.update.route : b.value.insert.route;
63
- t && t(U, p.value), Ae.post(U, p.value).then(({ data: z, message: S }) => {
64
- V.value.clearValidate(), re.success(S), I(p.value);
65
- }).catch(({ code: z, data: S, message: Y }) => {
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 }) => {
66
71
  if (z != "ValidateError")
67
72
  return;
68
- L.value = S;
69
- let P = S.find((_) => _.table !== y.value.name);
70
- if (P) {
71
- let _ = r.value.find((o) => o.name == P.table);
72
- _ && (w.value = _.name);
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);
73
78
  }
74
- oe(() => {
75
- V.value.clearValidate(), V.value.validate((_, o) => {
76
- _ || (a && a(!1), L.value = []);
79
+ ne(() => {
80
+ V.value.clearValidate(), V.value.validate((g, o) => {
81
+ g || (a && a(!1), N.value = []);
77
82
  });
78
83
  });
79
84
  }).finally(() => {
@@ -81,19 +86,19 @@ const Je = { class: "ha-main-form" }, Qe = { class: "row-header" }, We = { class
81
86
  });
82
87
  });
83
88
  });
84
- }, W = (l) => {
89
+ }, Z = (l) => {
85
90
  var a, n;
86
- let t = Ge(l.module.type, l.module.name);
87
- He.setTitle(t, l.module.env), c.value = l.module, b.value = l.next, p.value = ne.expandSet(l.schema, l.set), r.value = ne.expandSchema(l.schema, l.set), y.value = (a = r.value) == null ? void 0 : a[0], D.value = y.value.layouts[0], ((n = r.value) == null ? void 0 : n.length) > 1 && (w.value = r.value[1].name, v.value.table = r.value[1], v.value.layout = r.value[1].layouts[0]);
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]);
88
93
  }, Te = (l) => {
89
- O.triggerResize(N.value, l), O.triggerResize(E.value, l);
94
+ G.module.triggerResize(P.value, l), G.module.triggerResize(E.value, l);
90
95
  }, Ve = (l, t) => {
91
96
  if (l == Ie.ctrlS) {
92
97
  if (c.value.type == "Detail") {
93
- O.triggerKeyboard(G.value, l, t);
98
+ G.module.triggerKeyboard(J.value, l, t);
94
99
  return;
95
100
  }
96
- F(t);
101
+ O(t);
97
102
  }
98
103
  }, Ee = () => {
99
104
  let l = K.url.getUrl(T.value.path, T.value.query);
@@ -101,31 +106,31 @@ const Je = { class: "ha-main-form" }, Qe = { class: "row-header" }, We = { class
101
106
  });
102
107
  };
103
108
  (() => {
104
- W(A.value.data);
109
+ Z(H.value.data);
105
110
  })();
106
- let F = (l) => {
107
- if (!j.value.submit) {
108
- re.notify("提示", "请在子组件暴露submit方法来实现快捷提交", "warning");
111
+ let O = (l) => {
112
+ if (!I.value.submit) {
113
+ j.messenger.notify("提示", "请在子组件暴露submit方法来实现快捷提交", "warning");
109
114
  return;
110
115
  }
111
- j.value.submit(l);
112
- }, Ue = Z(() => {
116
+ I.value.submit(l);
117
+ }, Ue = te(() => {
113
118
  let l = `/${y.value.name}/update`, t = c.value.type == "Detail" ? "detail" : "update";
114
- return je.getComponent(l, "partial", t);
115
- }), X = Z(() => c.value.type.toLowerCase());
116
- return Be(() => A.value, (l) => {
117
- W(l.data), N.value.update && N.value.update(l.data), E.value && E.value.update && E.value.update(l.data);
118
- }), de({ shouldLoad: ce, shouldSpin: be, onKeyboard: Ve, onRefresh: ye, onResize: Te }), (l, t) => {
119
- 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"), Y = f("el-form-item"), P = f("el-card"), _ = f("el-drawer");
120
- return d(), M("div", {
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", {
121
126
  ref_key: "singleRef",
122
127
  ref: fe,
123
- class: De(["ha-single-page", { [e(X) + "-page"]: !0, editing: e(C) }])
128
+ class: Be(["ha-single-page", { [e(ee) + "-page"]: !0, editing: e(C) }])
124
129
  }, [
125
- m("div", Je, [
126
- g(z, { class: "main-scroller" }, {
130
+ m("div", Me, [
131
+ _(z, { class: "main-scroller" }, {
127
132
  default: s(() => [
128
- g(U, {
133
+ _(U, {
129
134
  ref_key: "formRef",
130
135
  ref: V,
131
136
  model: e(p),
@@ -133,41 +138,42 @@ const Je = { class: "ha-main-form" }, Qe = { class: "row-header" }, We = { class
133
138
  }, ["prevent"]))
134
139
  }, {
135
140
  default: s(() => [
136
- g(se, {
141
+ _(ie, {
137
142
  ref_key: "mainRef",
138
- ref: N,
143
+ ref: P,
144
+ url: e(F),
139
145
  module: e(c),
140
- schema: e(r),
146
+ schema: e(u),
141
147
  table: e(y),
142
- layout: e(D),
148
+ layout: e(L),
143
149
  next: e(b),
144
150
  set: e(p),
145
151
  route: e(T),
146
- "validate-errors": e(L),
147
- onChange: e(J),
148
- onLayoutChange: t[0] || (t[0] = (o) => e(Q)(o, !0)),
149
- onSubmit: e(F)
150
- }, null, 8, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onChange", "onSubmit"]),
151
- e(r).length > 1 ? (d(), h(k, {
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, {
152
158
  key: 0,
153
159
  type: "border-card",
154
160
  onTabChange: e(xe),
155
161
  modelValue: e(w),
156
- "onUpdate:modelValue": t[1] || (t[1] = (o) => ee(w) ? w.value = o : w = o)
162
+ "onUpdate:modelValue": t[1] || (t[1] = (o) => ae(w) ? w.value = o : w = o)
157
163
  }, {
158
164
  default: s(() => [
159
- (d(!0), M(le, null, te(e(r).filter((o, ze) => ze > 0), (o) => (d(), h(n, {
165
+ (d(!0), A(oe, null, re(e(u).filter((o, ze) => ze > 0), (o) => (d(), h(n, {
160
166
  name: o.name,
161
167
  key: o.name
162
168
  }, {
163
169
  label: s(() => [
164
- g(a, {
170
+ _(a, {
165
171
  placement: "top",
166
172
  content: o.tooltip,
167
173
  disabled: !o.tooltip
168
174
  }, {
169
175
  default: s(() => [
170
- m("div", null, R(e(qe)(o.table)), 1)
176
+ m("div", null, R(e(D).table(o.table)), 1)
171
177
  ]),
172
178
  _: 2
173
179
  }, 1032, ["content", "disabled"])
@@ -177,23 +183,24 @@ const Je = { class: "ha-main-form" }, Qe = { class: "row-header" }, We = { class
177
183
  ]),
178
184
  _: 1
179
185
  }, 8, ["onTabChange", "modelValue"])) : $("", !0),
180
- e(v).table ? (d(), h(se, {
186
+ e(v).table ? (d(), h(ie, {
181
187
  key: 1,
182
188
  ref_key: "childRef",
183
189
  ref: E,
190
+ url: e(F),
184
191
  module: e(c),
185
- schema: e(r),
192
+ schema: e(u),
186
193
  table: e(v).table,
187
194
  layout: e(v).layout,
188
195
  next: e(b),
189
196
  set: e(p),
190
197
  route: e(T),
191
- "validate-errors": e(L),
198
+ "validate-errors": e(N),
192
199
  onRowEdit: e(Ce),
193
- onChange: e(J),
194
- onLayoutChange: t[2] || (t[2] = (o) => e(Q)(o, !1)),
195
- onSubmit: e(F)
196
- }, null, 8, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onRowEdit", "onChange", "onSubmit"])) : $("", !0)
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)
197
204
  ]),
198
205
  _: 1
199
206
  }, 8, ["model"])
@@ -202,49 +209,49 @@ const Je = { class: "ha-main-form" }, Qe = { class: "row-header" }, We = { class
202
209
  }),
203
210
  (d(), h(Ne(e(Ue)), {
204
211
  ref_key: "updateRef",
205
- ref: j,
212
+ ref: I,
206
213
  class: "main-footer",
207
- schema: e(r),
214
+ schema: e(u),
208
215
  table: e(y),
209
- layout: e(D),
216
+ layout: e(L),
210
217
  next: e(b),
211
218
  set: e(p),
212
219
  route: e(T),
213
- onCopy: e(_e),
214
- onEdit: e(ge),
220
+ onCopy: e(ge),
221
+ onEdit: e(_e),
215
222
  onSubmit: e(Se),
216
223
  onClose: e(Re)
217
224
  }, null, 40, ["schema", "table", "layout", "next", "set", "route", "onCopy", "onEdit", "onSubmit", "onClose"]))
218
225
  ]),
219
- e(C) ? (d(), h(P, {
226
+ e(C) ? (d(), h(q, {
220
227
  key: 0,
221
228
  class: "side-form"
222
229
  }, {
223
230
  header: s(() => [
224
- m("div", Qe, [
225
- m("div", We, R(e(ue)("common.modify")) + " " + R(e(q)[e(x).show[0].name]), 1),
231
+ m("div", Oe, [
232
+ m("div", Ae, R(e(D).t("common.modify")) + " " + R(e(M)[e(x).show[0].name]), 1),
226
233
  m("div", {
227
234
  class: "row-close",
228
- onClick: t[4] || (t[4] = (o) => ee(C) ? C.value = !1 : C = !1)
235
+ onClick: t[4] || (t[4] = (o) => ae(C) ? C.value = !1 : C = !1)
229
236
  }, t[6] || (t[6] = [
230
237
  m("i", { class: "fa fa-close" }, null, -1)
231
238
  ]))
232
239
  ])
233
240
  ]),
234
241
  default: s(() => [
235
- g(z, null, {
242
+ _(z, null, {
236
243
  default: s(() => [
237
- g(U, {
244
+ _(U, {
238
245
  size: "small",
239
246
  "label-width": "80px"
240
247
  }, {
241
248
  default: s(() => [
242
- (d(!0), M(le, null, te(e(x).show, (o) => (d(), h(Y, {
249
+ (d(!0), A(oe, null, re(e(x).show, (o) => (d(), h(le, {
243
250
  style: Pe(o.control.height ? `height: ${o.control.height}px;` : ""),
244
251
  rules: o.rules
245
252
  }, {
246
253
  label: s(() => [
247
- ae(R(e(Fe)(e(x).name, o.name)) + " ", 1),
254
+ ue(R(e(D).field(e(x).name, o.name)) + " ", 1),
248
255
  o.control.tooltip ? (d(), h(S, {
249
256
  key: 0,
250
257
  trigger: "hover",
@@ -262,12 +269,12 @@ const Je = { class: "ha-main-form" }, Qe = { class: "row-header" }, We = { class
262
269
  }, 1032, ["title"])) : $("", !0)
263
270
  ]),
264
271
  default: s(() => [
265
- g(Me, {
266
- schema: e(r),
272
+ _(je, {
273
+ schema: e(u),
267
274
  table: e(x),
268
275
  field: o,
269
276
  set: e(p),
270
- row: e(q)
277
+ row: e(M)
271
278
  }, null, 8, ["schema", "table", "field", "set", "row"])
272
279
  ]),
273
280
  _: 2
@@ -281,7 +288,7 @@ const Je = { class: "ha-main-form" }, Qe = { class: "row-header" }, We = { class
281
288
  ]),
282
289
  _: 1
283
290
  })) : $("", !0),
284
- e(i).page ? (d(), h(_, {
291
+ e(i).page ? (d(), h(g, {
285
292
  key: 1,
286
293
  "destroy-on-close": "",
287
294
  "append-to-body": e(i).appendToBody,
@@ -290,20 +297,20 @@ const Je = { class: "ha-main-form" }, Qe = { class: "row-header" }, We = { class
290
297
  "onUpdate:modelValue": t[5] || (t[5] = (o) => e(i).visible = o)
291
298
  }, {
292
299
  header: s(() => [
293
- m("div", Xe, [
294
- ae(R(e(b)[e(i).page].title) + " ", 1),
300
+ m("div", Ge, [
301
+ ue(R(e(b)[e(i).page].title) + " ", 1),
295
302
  m("a", {
296
303
  class: "drawer-copy",
297
304
  href: `${e(K).url.getToUrl(e(i).url)}`
298
- }, R(e(ue)("common.link")), 9, Ye)
305
+ }, R(e(D).t("common.link")), 9, He)
299
306
  ])
300
307
  ]),
301
308
  default: s(() => [
302
- g(e(Oe), {
309
+ _(e(Fe), {
303
310
  ref_key: "pageRef",
304
- ref: G,
311
+ ref: J,
305
312
  url: e(i).url,
306
- onSucceed: e(I),
313
+ onSucceed: e(W),
307
314
  onClose: e(he)
308
315
  }, null, 8, ["url", "onSucceed", "onClose"])
309
316
  ]),
@@ -1,8 +1,13 @@
1
- import { defineComponent as j, toRefs as q, ref as c, onMounted as G, watch as M, openBlock as O, createElementBlock as I, createVNode as J, unref as r, createElementVNode as K, normalizeStyle as P, nextTick as L } from "vue";
2
- import { C as Q, d as W, p as X, U as C, a as Y, m as Z } from "./main-DxH9UW19.js";
1
+ import { defineComponent as q, toRefs as G, ref as c, onMounted as M, watch as O, openBlock as I, createElementBlock as J, createVNode as K, unref as i, createElementVNode as P, normalizeStyle as Q, nextTick as _ } from "vue";
2
+ import { S as W, m as X, D as L, U as C, R as Y } 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";
3
8
  import "./assets/moment-h96o7c8I.js";
4
- import { _ as ee } from "./SearchForm.vue_vue_type_style_index_0_lang-Bv1_VqSl.js";
5
- const se = /* @__PURE__ */ j({
9
+ import { _ as Z } from "./SearchForm.vue_vue_type_style_index_0_lang-rTj9jfpz.js";
10
+ const de = /* @__PURE__ */ q({
6
11
  __name: "Statistic",
7
12
  props: {
8
13
  searchData: {},
@@ -18,17 +23,17 @@ const se = /* @__PURE__ */ j({
18
23
  },
19
24
  emits: ["search"],
20
25
  setup(A, { expose: F, emit: z }) {
21
- let H = z, B = A, { route: E, module: T, schema: m, table: y, layout: l, next: te, set: u, searchData: p } = q(B), s = null, g = null, x = c(), d = c(), v = c(), b = c(), { app: S } = Q.sys, V = (t) => {
22
- D("search");
23
- }, D = (t, e = null) => {
24
- H(t, (i) => {
25
- L(() => {
26
- f(), e == null || e(i);
26
+ let D = z, H = A, { route: B, module: E, schema: m, table: p, layout: l, next: ee, set: u, searchData: y } = G(H), s = null, g = null, x = c(), d = c(), v = c(), S = c(), T = W.config.sys, V = (t) => {
27
+ N("search");
28
+ }, N = (t, e = null) => {
29
+ D(t, (r) => {
30
+ _(() => {
31
+ f(), e == null || e(r);
27
32
  });
28
33
  });
29
34
  }, f = () => {
30
35
  let t = C.array.distinct(u.value[l.value.table], (a) => a[l.value.date]), e = {
31
- title: { text: T.value.title, left: "center", textStyle: { color: "#777" } },
36
+ title: { text: E.value.title, left: "center", textStyle: { color: "#777" } },
32
37
  //标题
33
38
  tooltip: { trigger: "axis" },
34
39
  //提示
@@ -61,11 +66,11 @@ const se = /* @__PURE__ */ j({
61
66
  //坐标
62
67
  series: []
63
68
  };
64
- S.theme == "dark" && (e.title.textStyle.color = "rgba(255,255,255,0.8)", e.legend.textStyle.color = "rgba(255,255,255,.72)", e.xAxis.axisLabel.color = "rgba(255,255,255,.72)", e.yAxis.splitLine.lineStyle.color = "rgba(110,117,130,0.2)", e.yAxis.axisLabel.color = "rgba(255,255,255,.72)");
65
- let i = l.value.fields.find((a) => a.group && a.name != l.value.date), k = y.value.fields.find((a) => a.name == i.name).control.data.data;
66
- for (let a = 0; a < k.length; a++) {
67
- let o = k[a];
68
- o.color || Y.error("颜色字段不能为空");
69
+ T.theme == "dark" && (e.title.textStyle.color = "rgba(255,255,255,0.8)", e.legend.textStyle.color = "rgba(255,255,255,.72)", e.xAxis.axisLabel.color = "rgba(255,255,255,.72)", e.yAxis.splitLine.lineStyle.color = "rgba(110,117,130,0.2)", e.yAxis.axisLabel.color = "rgba(255,255,255,.72)");
70
+ let r = l.value.fields.find((a) => a.group && a.name != l.value.date), w = p.value.fields.find((a) => a.name == r.name).control.data.data;
71
+ for (let a = 0; a < w.length; a++) {
72
+ let o = w[a];
73
+ o.color || L.messenger.error("颜色字段不能为空");
69
74
  let n = {
70
75
  name: o.text,
71
76
  type: "line",
@@ -91,7 +96,7 @@ const se = /* @__PURE__ */ j({
91
96
  }
92
97
  }
93
98
  };
94
- S.theme == "dark" && (n.areaStyle.color = {
99
+ app.theme == "dark" && (n.areaStyle.color = {
95
100
  type: "linear",
96
101
  x: 0,
97
102
  y: 0,
@@ -106,49 +111,49 @@ const se = /* @__PURE__ */ j({
106
111
  global: !0
107
112
  });
108
113
  for (let h = 0; h < t.length; h++) {
109
- let $ = t[h], R = u.value[l.value.table].find((_) => _[i.name] == o.value && _[l.value.date] == $);
110
- R == null ? n.data.push(null) : n.data.push(R[l.value.value]);
114
+ let j = t[h], k = u.value[l.value.table].find((R) => R[r.name] == o.value && R[l.value.date] == j);
115
+ k == null ? n.data.push(null) : n.data.push(k[l.value.value]);
111
116
  }
112
117
  e.series.push(n), e.legend.data.push(o.text);
113
118
  }
114
119
  e.xAxis.data.push(...t), s.setOption(e);
115
- }, w = async () => {
116
- var i;
117
- let t = C.dom.getHeight([(i = d.value) == null ? void 0 : i.$el]), e = b.value.getBoundingClientRect();
118
- x.value = e.height - t - 10 - 1, await L();
119
- }, N = async (t) => {
120
- Z.triggerResize(d.value, t), await w(), s == null || s.resize();
121
- }, U = async () => {
122
- await w(), s = g.init(v.value), f();
120
+ }, b = async () => {
121
+ var r;
122
+ let t = C.dom.getHeight([(r = d.value) == null ? void 0 : r.$el]), e = S.value.getBoundingClientRect();
123
+ x.value = e.height - t - 10 - 1, await _();
124
+ }, U = async (t) => {
125
+ Y.module.triggerResize(d.value, t), await b(), s == null || s.resize();
126
+ }, $ = async () => {
127
+ await b(), s = g.init(v.value), f();
123
128
  };
124
- return G(async () => {
125
- p.value = W.getConditionForm(m.value, E.value.query.condition), g = await X.getECharts(), await U();
126
- }), M(() => l.value, (t, e) => {
129
+ return M(async () => {
130
+ y.value = X.getConditionForm(m.value, B.value.query.condition), g = await L.cdn.getECharts(), await $();
131
+ }), O(() => l.value, (t, e) => {
127
132
  f();
128
- }), F({ onResize: N }), (t, e) => (O(), I("div", {
133
+ }), F({ onResize: U }), (t, e) => (I(), J("div", {
129
134
  ref_key: "statisticRef",
130
- ref: b,
135
+ ref: S,
131
136
  class: "ha-statistic-layout"
132
137
  }, [
133
- J(ee, {
138
+ K(Z, {
134
139
  ref_key: "searchRef",
135
140
  ref: d,
136
- schema: r(m),
137
- table: r(y),
138
- layout: r(l),
139
- set: r(u),
140
- "search-data": r(p),
141
- onChange: r(V)
141
+ schema: i(m),
142
+ table: i(p),
143
+ layout: i(l),
144
+ set: i(u),
145
+ "search-data": i(y),
146
+ onChange: i(V)
142
147
  }, null, 8, ["schema", "table", "layout", "set", "search-data", "onChange"]),
143
- K("div", {
148
+ P("div", {
144
149
  ref_key: "chartRef",
145
150
  ref: v,
146
151
  class: "chart",
147
- style: P({ height: r(x) + "px" })
152
+ style: Q({ height: i(x) + "px" })
148
153
  }, null, 4)
149
154
  ], 512));
150
155
  }
151
156
  });
152
157
  export {
153
- se as default
158
+ de as default
154
159
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Stock.vue_vue_type_style_index_0_lang-Dpw8BlLu.js";
1
+ import { _ as f } from "./Stock.vue_vue_type_style_index_0_lang-CBM83HPm.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as c, toRefs as m, openBlock as u, createBlock as p, unref as e } from "vue";
2
- import { _ } from "./Stock.vue_vue_type_style_index_0_lang-Dpw8BlLu.js";
2
+ import { _ } from "./Stock.vue_vue_type_style_index_0_lang-CBM83HPm.js";
3
3
  const b = /* @__PURE__ */ c({
4
4
  __name: "Stock",
5
5
  props: {