halo-pc 1.0.41 → 1.0.43

Sign up to get free protection for your applications and to get access to all the features.
Files changed (350) hide show
  1. package/dist/{Article-BMW_FzdK.js → Article-CO5omGEb.js} +70 -65
  2. package/dist/{ArticleFooter-7iPkMQaX.js → ArticleFooter-f2w5Q80z.js} +27 -22
  3. package/dist/Autocomplete-BJZ-FkBk.js +54 -0
  4. package/dist/Autocomplete-DtUMtoTr.js +55 -0
  5. package/dist/{Autocomplete-C-El55Lz.js → Autocomplete-s1wxm1ZL.js} +1 -1
  6. package/dist/{CSharp-BQUrQwua.js → CSharp-D7LN_Xer.js} +1 -1
  7. package/dist/{Calender-CJXR7uhM.js → Calender-Cve4UFZ7.js} +1 -1
  8. package/dist/Callback-CajhaQSY.js +26 -0
  9. package/dist/{Cascader-DMQjalNv.js → Cascader-B9L3D7ek.js} +6 -6
  10. package/dist/{Cascader-CFc_8QSm.js → Cascader-z4hNNoFz.js} +25 -20
  11. package/dist/{Checkbox-pV01os-T.js → Checkbox-DDZ4Et-z.js} +1 -1
  12. package/dist/{Checkbox-aU8e779g.js → Checkbox-R_pDQeat.js} +22 -17
  13. package/dist/{Code-C4pIa8BE.js → Code-CxOIM8dT.js} +3 -3
  14. package/dist/{Code-kDBbVC1W.js → Code-DJND58kB.js} +1 -1
  15. package/dist/Code-DxTUEc09.js +4 -0
  16. package/dist/{Code-CCJx9RSm.js → Code-xcyLl_T6.js} +4 -4
  17. package/dist/{Code.vue_vue_type_style_index_0_lang-36NN7tgP.js → Code.vue_vue_type_style_index_0_lang-CKjmFQ7O.js} +8 -8
  18. package/dist/{Column-BebDf5Z9.js → Column-D4CmaUru.js} +8 -8
  19. package/dist/{Comment-BgfD9WtL.js → Comment-BKricznW.js} +1 -1
  20. package/dist/Compare-BRVaIOYg.js +43 -0
  21. package/dist/Compare-DjJB6ssM.js +63 -0
  22. package/dist/{Copy-DW4jSNQi.js → Copy-BfPi08Nq.js} +16 -11
  23. package/dist/{Custom-DIF-RYi3.js → Custom-B-MK7Hj_.js} +16 -16
  24. package/dist/{DataExport-CyQy2xjO.js → DataExport-BsqttQHh.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-C4n6xWcP.js → DataExport.vue_vue_type_script_setup_true_lang-Cbu2WtWL.js} +33 -28
  26. package/dist/{DataImport-BVF83UsQ.js → DataImport-CHosjBuv.js} +1 -1
  27. package/dist/DataImport.vue_vue_type_script_setup_true_lang-BgXAaEgI.js +178 -0
  28. package/dist/{Date-CqpFvbYZ.js → Date-CGLodwBM.js} +1 -1
  29. package/dist/Date-iAopVCBU.js +43 -0
  30. package/dist/{DateRange-B2afkdbT.js → DateRange-DRdCWV8s.js} +16 -11
  31. package/dist/DateTime-cnw6GOvx.js +44 -0
  32. package/dist/{DateTime-Zi3vtH77.js → DateTime-wpoZIfbD.js} +1 -1
  33. package/dist/{DateTimeRange-BFWM_U7H.js → DateTimeRange-BiwNzVNq.js} +16 -11
  34. package/dist/{Daterange-tXA0b0Ak.js → Daterange-YmemcwqX.js} +21 -16
  35. package/dist/{Decimal-DKQ38XS_.js → Decimal-DYakuVpJ.js} +1 -1
  36. package/dist/Delete-BxaIj8on.js +62 -0
  37. package/dist/{Detail-SWgERqKG.js → Detail-BPds90fA.js} +23 -18
  38. package/dist/{Dictionary-Xsj_Qorw.js → Dictionary-B5d8ELgD.js} +1 -1
  39. package/dist/{Email-DILPnLkb.js → Email-Jcf6IFJ4.js} +19 -14
  40. package/dist/File-D5Ncdp5z.js +164 -0
  41. package/dist/{Image-Yx3ZHHJK.js → Image-XNb88ECC.js} +1 -1
  42. package/dist/Index-BmDNOuj4.js +4 -0
  43. package/dist/{Index-CiQQmYeA.js → Index-CMTr2JlT.js} +1 -1
  44. package/dist/Index-CX2FoOaG.js +4 -0
  45. package/dist/Index-CmCulPVm.js +4 -0
  46. package/dist/Index-CtWWR38M.js +4 -0
  47. package/dist/{Index-BTa4YIN9.js → Index-DwNW8iAR.js} +64 -59
  48. package/dist/{Index-DeYqTT9Q.js → Index-FJf8H7LI.js} +1 -1
  49. package/dist/{Index-WVLyjyqt.js → Index-uzmNfTiO.js} +20 -15
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-DWMiv0dC.js → Index.vue_vue_type_script_setup_true_lang-CW7uiyi4.js} +11 -11
  51. package/dist/Index.vue_vue_type_script_setup_true_lang-CihCtAJl.js +72 -0
  52. package/dist/{Install-DW5uDsXF.js → Install-jEOlCqBN.js} +37 -32
  53. package/dist/Int-CLRLNGzn.js +47 -0
  54. package/dist/Int-CdmVksNF.js +44 -0
  55. package/dist/List-XZQc7ou2.js +77 -0
  56. package/dist/{Maintaince-DF3nu9Jd.js → Maintaince-CwHM_2h7.js} +4 -4
  57. package/dist/{Markdown-BC8l7O_U.js → Markdown-EKPACyKc.js} +1 -1
  58. package/dist/Month-BbCVP0fx.js +43 -0
  59. package/dist/{Month-DRa9o-WC.js → Month-BvSQNTxD.js} +1 -1
  60. package/dist/Month-DF8cKZh-.js +44 -0
  61. package/dist/Normal-piQf6VIS.js +266 -0
  62. package/dist/Paging-BGfWhXKY.js +100 -0
  63. package/dist/{PagingHeader-U-oJ1TQE.js → PagingHeader-9CSpxYtu.js} +28 -23
  64. package/dist/{PagingRow-BmokRXX3.js → PagingRow-DQpxGHxP.js} +17 -12
  65. package/dist/{Racebar-BvFHNGb8.js → Racebar-CP_XiwIb.js} +4 -4
  66. package/dist/{Radio-CjfXrTOE.js → Radio-DjNbz2n6.js} +1 -1
  67. package/dist/{Register-BG-3_Q2E.js → Register-DAlYZ8nR.js} +72 -67
  68. package/dist/{RichText-C88f59ao.js → RichText-gFuaVJGA.js} +6 -6
  69. package/dist/{SearchForm-C0zqD7UP.js → SearchForm-DPpg1psW.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-D3_Ibb_5.js} +36 -31
  71. package/dist/{SearchHeader-e2LOidgU.js → SearchHeader-CxyCc9sF.js} +1 -1
  72. package/dist/{SearchHeader.vue_vue_type_style_index_0_lang-DebuWiG6.js → SearchHeader.vue_vue_type_style_index_0_lang-B_G9U2qa.js} +1 -1
  73. package/dist/Select-BB7AjGkT.js +86 -0
  74. package/dist/Select-Bp5fwHHA.js +117 -0
  75. package/dist/{Select-CvP_zGxM.js → Select-BwSxOa2F.js} +1 -1
  76. package/dist/{Single-p-8OfzhQ.js → Single-B_DtAvmw.js} +105 -98
  77. package/dist/{Statistic-BIKfbZCI.js → Statistic-Cla_L5e9.js} +47 -42
  78. package/dist/{Stock-B7RP-SuF.js → Stock-Dd8ldY1C.js} +1 -1
  79. package/dist/{Stock-BhOP8J0c.js → Stock-ton2XQvX.js} +1 -1
  80. package/dist/{Stock.vue_vue_type_style_index_0_lang-Dpw8BlLu.js → Stock.vue_vue_type_style_index_0_lang-D3q0V11y.js} +16 -11
  81. package/dist/{Switch-BcDhe4_E.js → Switch-DbuY-LaA.js} +1 -1
  82. package/dist/{Table-Cy7FarYr.js → Table-Dq1R3XQA.js} +126 -121
  83. package/dist/{Table-DK-TaejU.js → Table-oW89rsKS.js} +95 -90
  84. package/dist/Text-BrCh_N82.js +54 -0
  85. package/dist/{Text-YNB0It4-.js → Text-HTloZdDv.js} +15 -10
  86. package/dist/{Text-D89aQLxL.js → Text-P2-k5a9e.js} +1 -1
  87. package/dist/{Text.vue_vue_type_style_index_0_lang-Dokzd_qM.js → Text.vue_vue_type_style_index_0_lang-Dsdvr6fn.js} +1 -1
  88. package/dist/TextLink-CPVlQ9-M.js +65 -0
  89. package/dist/{Textarea-86C9lCtg.js → Textarea-BaP35_pu.js} +1 -1
  90. package/dist/Time-D8DSb_IO.js +43 -0
  91. package/dist/{Timeline-O_jWjdxT.js → Timeline-CPatCG_r.js} +1 -1
  92. package/dist/{Tree-BfFRW-xZ.js → Tree-C2DhDNKo.js} +1 -1
  93. package/dist/Tree-ChZtj3fV.js +298 -0
  94. package/dist/TreeNode-D5zQHOaX.js +43 -0
  95. package/dist/Update-Cig11quH.js +70 -0
  96. package/dist/{UpdateChild-YzPMnj_r.js → UpdateChild-CVhd-nAy.js} +17 -12
  97. package/dist/Upload-DWFWNuWY.js +150 -0
  98. package/dist/{Upload-Dj5nSsug.js → Upload-UJ-nPZ5H.js} +18 -18
  99. package/dist/{Year-CcbzIuwy.js → Year-D1NAx7x8.js} +1 -1
  100. package/dist/Year-MzDQJESK.js +47 -0
  101. package/dist/{main-DxH9UW19.js → main-Bme5ZtDc.js} +6145 -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/esm/views/sso/Callback.vue.d.ts +2 -0
  315. package/esm/views/sso/Index.vue.d.ts +2 -0
  316. package/esm/views/sso/Register.vue.d.ts +2 -0
  317. package/package.json +10 -10
  318. package/dist/Autocomplete-B6Mwp9rT.js +0 -50
  319. package/dist/Autocomplete-PZTjEBIx.js +0 -49
  320. package/dist/Callback-CyDW9WU2.js +0 -21
  321. package/dist/Code-C0Kxulod.js +0 -4
  322. package/dist/Compare-BZucuvFP.js +0 -58
  323. package/dist/Compare-D-Byn_Gq.js +0 -38
  324. package/dist/DataImport.vue_vue_type_script_setup_true_lang-BZhFLOqB.js +0 -173
  325. package/dist/Date-g1XKWU4b.js +0 -38
  326. package/dist/DateTime-D_x_wBZR.js +0 -39
  327. package/dist/Delete-BOkBpAGN.js +0 -57
  328. package/dist/File-BDUTK7hV.js +0 -159
  329. package/dist/Index-BWukqxQl.js +0 -4
  330. package/dist/Index-BahY1OIJ.js +0 -4
  331. package/dist/Index-C9ffFYsl.js +0 -4
  332. package/dist/Index-DG7Hovsx.js +0 -4
  333. package/dist/Index.vue_vue_type_script_setup_true_lang-42C0EEto.js +0 -67
  334. package/dist/Int-BM4sbZvh.js +0 -42
  335. package/dist/Int-BrFE_Hmm.js +0 -39
  336. package/dist/List-DWjTqrJR.js +0 -72
  337. package/dist/Month-QG6OiiLU.js +0 -39
  338. package/dist/Month-Y0kLXgV7.js +0 -38
  339. package/dist/Normal-CSy3DFPH.js +0 -257
  340. package/dist/Paging-BYccIXmC.js +0 -95
  341. package/dist/Select-CfIvGDPS.js +0 -112
  342. package/dist/Select-Cz6MPDCC.js +0 -81
  343. package/dist/Text-B580p9od.js +0 -49
  344. package/dist/TextLink-CI-AIgdm.js +0 -60
  345. package/dist/Time-BgArfSc6.js +0 -38
  346. package/dist/Tree-DayADkaC.js +0 -293
  347. package/dist/TreeNode-BZp8w6M5.js +0 -38
  348. package/dist/Update-Bcdz87R4.js +0 -65
  349. package/dist/Upload-DU5VOqXj.js +0 -145
  350. package/dist/Year-B3E0kOiA.js +0 -42
@@ -1,72 +0,0 @@
1
- import { defineComponent as K, toRefs as E, ref as o, watch as F, openBlock as T, createBlock as V, resolveDynamicComponent as $, unref as t, withCtx as j, createElementVNode as A, toDisplayString as G } from "vue";
2
- import { U as n, c as H, i as I, d, e as J, m as h } from "./main-DxH9UW19.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- const M = { class: "not-support" }, Y = /* @__PURE__ */ K({
5
- __name: "List",
6
- props: {
7
- base: {},
8
- route: {},
9
- url: {},
10
- win: {}
11
- },
12
- emits: ["load", "navigate"],
13
- setup(b, { expose: R, emit: P }) {
14
- let v = P, k = b, { url: p, base: g, route: u } = E(k), y = o(), s = o(), r = o(), f = o(), x = o(), i = o(), c = o(), q = (e) => {
15
- let l = n.url.getPath(e), a = n.url.getPath(p.value);
16
- return l != a;
17
- }, C = (e) => {
18
- let l = n.url.getPath(p.value), a = n.url.getPath(e);
19
- return l != a;
20
- }, S = (e) => {
21
- var a;
22
- let l = H(e.module.type, e.module.name);
23
- I.setTitle(l, e.module.env), y.value = e.module, s.value = d.expandSchema(e.schema, e.set), r.value = (a = s.value) == null ? void 0 : a[0], f.value = e.next, x.value = d.expandSet(e.schema, e.set), c.value = d.getConditionForm(s.value, u.value.query.condition);
24
- }, m = (e = null, l = null) => {
25
- let a = e ?? u.value.query, B = n.url.getUrl(u.value.path, a);
26
- v("load", B, !1, l);
27
- }, w = (e) => {
28
- m(null, e);
29
- }, D = (e) => {
30
- v("navigate", e);
31
- }, L = async (e) => {
32
- let l = u.value.query;
33
- l.condition = J.encode(c.value), m(l, e);
34
- }, _ = () => {
35
- m();
36
- }, N = (e, l) => {
37
- h.triggerKeyboard(i.value, e, l);
38
- }, U = (e) => {
39
- h.triggerSocket(i.value, e);
40
- }, z = (e) => {
41
- h.triggerResize(i.value, e);
42
- };
43
- return (() => {
44
- S(g.value.data);
45
- })(), F(() => g.value, (e) => {
46
- S(e.data);
47
- }), R({ shouldLoad: q, shouldSpin: C, onRefresh: _, onKeyboard: N, onSocket: U, onResize: z }), (e, l) => (T(), V($(`list-${t(r).layouts[0].type.toLowerCase()}`), {
48
- ref_key: "listRef",
49
- ref: i,
50
- route: t(u),
51
- module: t(y),
52
- schema: t(s),
53
- table: t(r),
54
- layout: t(r).layouts[0],
55
- next: t(f),
56
- set: t(x),
57
- "search-data": t(c),
58
- onSucceed: t(w),
59
- onSearch: t(L),
60
- onNavigate: t(D),
61
- onRefresh: t(_)
62
- }, {
63
- default: j(() => [
64
- A("div", M, "未支持的列表布局方式:" + G(t(r).layouts[0].type), 1)
65
- ]),
66
- _: 1
67
- }, 40, ["route", "module", "schema", "table", "layout", "next", "set", "search-data", "onSucceed", "onSearch", "onNavigate", "onRefresh"]));
68
- }
69
- });
70
- export {
71
- Y as default
72
- };
@@ -1,39 +0,0 @@
1
- import { defineComponent as i, toRefs as f, computed as _, resolveComponent as h, openBlock as V, createBlock as b, unref as e, isRef as k } from "vue";
2
- import { n as Y } from "./main-DxH9UW19.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- const y = /* @__PURE__ */ i({
5
- __name: "Month",
6
- props: {
7
- schema: {},
8
- table: {},
9
- field: {},
10
- set: {},
11
- row: {},
12
- modelValue: {}
13
- },
14
- emits: ["submit", "change", "update:modelValue"],
15
- setup(n, { emit: r }) {
16
- let t = r, p = n, { table: u, field: a, set: g, modelValue: s } = f(p), l = _({
17
- get() {
18
- return s.value;
19
- },
20
- set(o) {
21
- t("update:modelValue", o), t("change", o);
22
- }
23
- });
24
- return (o, m) => {
25
- const c = h("el-date-picker");
26
- return V(), b(c, {
27
- type: "month",
28
- placeholder: e(Y)(e(u).name, e(a).name),
29
- "value-format": "YYYY-MM",
30
- disabled: e(a).control.readonly,
31
- modelValue: e(l),
32
- "onUpdate:modelValue": m[0] || (m[0] = (d) => k(l) ? l.value = d : l = d)
33
- }, null, 8, ["placeholder", "disabled", "modelValue"]);
34
- };
35
- }
36
- });
37
- export {
38
- y as default
39
- };
@@ -1,38 +0,0 @@
1
- import { defineComponent as i, toRefs as f, computed as _, resolveComponent as h, openBlock as V, createBlock as b, unref as e, isRef as k } from "vue";
2
- import { n as Y } from "./main-DxH9UW19.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- const y = /* @__PURE__ */ i({
5
- __name: "Month",
6
- props: {
7
- schema: {},
8
- table: {},
9
- field: {},
10
- searchData: {},
11
- modelValue: {}
12
- },
13
- emits: ["submit", "change", "update:modelValue"],
14
- setup(r, { emit: n }) {
15
- let t = n, p = r, { table: u, field: a, searchData: g, modelValue: s } = f(p), l = _({
16
- get() {
17
- return s.value;
18
- },
19
- set(o) {
20
- t("update:modelValue", o), t("change", o);
21
- }
22
- });
23
- return (o, m) => {
24
- const c = h("el-date-picker");
25
- return V(), b(c, {
26
- type: "month",
27
- placeholder: e(Y)(e(u).name, e(a).name),
28
- "value-format": "YYYY-MM",
29
- disabled: e(a).control.readonly,
30
- modelValue: e(l),
31
- "onUpdate:modelValue": m[0] || (m[0] = (d) => k(l) ? l.value = d : l = d)
32
- }, null, 8, ["placeholder", "disabled", "modelValue"]);
33
- };
34
- }
35
- });
36
- export {
37
- y as default
38
- };
@@ -1,257 +0,0 @@
1
- import { defineComponent as he, toRefs as fe, ref as x, onMounted as ge, computed as E, watch as B, resolveComponent as _, openBlock as n, createElementBlock as d, normalizeClass as H, unref as e, createBlock as g, withCtx as m, Fragment as R, renderList as S, createVNode as k, createCommentVNode as V, toDisplayString as I, createElementVNode as L, normalizeStyle as _e, createTextVNode as be, resolveDynamicComponent as ye } from "vue";
2
- import { w as K, d as N, f as ke, U as P, k as Q, t as Ce, j as we, J as xe } from "./main-DxH9UW19.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- import "vue-router";
5
- import "./assets/intro.js-Cg1adLK7.js";
6
- const Re = {
7
- key: 1,
8
- class: "ha-empty"
9
- }, Se = {
10
- key: 2,
11
- ref: "normalRows",
12
- class: "normal-rows"
13
- }, $e = {
14
- key: 0,
15
- class: "normal-selection"
16
- }, ze = { class: "normal-content" }, qe = /* @__PURE__ */ he({
17
- __name: "Normal",
18
- props: {
19
- route: {},
20
- validateErrors: {},
21
- module: {},
22
- schema: {},
23
- table: {},
24
- layout: {},
25
- next: {},
26
- set: {},
27
- url: {},
28
- win: {}
29
- },
30
- emits: ["change", "submit"],
31
- setup(X, { expose: Y, emit: Z }) {
32
- let M = Z, ee = X, { module: O, set: c, schema: D, table: t, layout: i, validateErrors: j } = fe(ee), p = x({ page: 1, count: c.value[t.value.name].length }), C = x([]), b = x(), A = x([]), T = x(), le = (l) => {
33
- A.value.push(l);
34
- }, te = () => {
35
- p.value.page = 1;
36
- }, ae = () => {
37
- b.value = J(t.value);
38
- let l = N.getDefaultRow(t.value);
39
- c.value[t.value.name].push(l);
40
- }, ne = () => {
41
- let l = c.value[t.value.name];
42
- C.value.forEach((a) => {
43
- l.splice(l.indexOf(a), 1);
44
- }), C.value = [], A.value.forEach((a) => {
45
- a.model && (a.model = !1);
46
- });
47
- }, U = (l) => c.value[t.value.name].indexOf(l), oe = (l, a, o, u, v) => {
48
- N.updateTooltip(o, u, v), M("change", l, a, o, u, v);
49
- }, ue = (l, a) => {
50
- l ? C.value.push(a) : P.array.remove(C.value, a);
51
- }, re = (l) => {
52
- M("submit", l);
53
- }, se = (l, a = null) => {
54
- p.value.page = l;
55
- }, J = (l) => {
56
- if (l.main || l.search.length == 0)
57
- return null;
58
- let a = {};
59
- l.search.forEach((u) => {
60
- a[u.name] || (a[u.name] = null);
61
- });
62
- let o = {};
63
- return o[l.name] = a, o;
64
- }, W = (l) => {
65
- b.value = J(l);
66
- }, me = () => {
67
- F();
68
- }, ce = (l) => {
69
- W(l.schema[0]);
70
- }, F = () => {
71
- let l = T.value.clientWidth;
72
- i.value.column = Math.ceil(l / 500);
73
- }, ie = () => {
74
- F(), W(t.value);
75
- };
76
- ge(() => {
77
- ie();
78
- });
79
- let pe = E(() => K.splitRows(t.value.search, i.value.column)), G = E(() => {
80
- if (!b.value)
81
- return c.value[t.value.name];
82
- let l = b.value[t.value.name], a = (p.value.page - 1) * i.value.size, o = p.value.page * i.value.size - 1, u = c.value[t.value.name].filter(($) => {
83
- let f = !0;
84
- for (let w = 0; w < t.value.search.length; w++) {
85
- let y = t.value.search[w], s = $[y.name], h = l[y.name];
86
- if (h) {
87
- if (y.search == "Equals") {
88
- if (s !== h) {
89
- f = !1;
90
- break;
91
- }
92
- } else if (y.search == "Contains" && s.indexOf(h) == -1) {
93
- f = !1;
94
- break;
95
- }
96
- }
97
- }
98
- return f;
99
- });
100
- return p.value.count = u.length, u.filter(($, f) => f >= a && f <= o);
101
- }), ve = E(() => N.getLines(t.value.show, i.value.column, (a) => a, (a) => a.colspan)), de = E(() => {
102
- let l = t.value.main ? `/${t.value.name}` : `/${D.value[0].name}/${t.value.name}`;
103
- return ke.getComponent(`${l}/update-child`, "partial", "update-child");
104
- });
105
- return B(() => c.value[t.value.name], (l, a) => {
106
- let o = l.length, u = a.length, v = P.math.pageCount(c.value[t.value.name].length, i.value.size);
107
- (o > u || o < u && p.value.page > v) && (p.value.page = v);
108
- }, { deep: !0 }), B(j, (l, a) => {
109
- let o = l.find((u) => u.table == t.value.name);
110
- o != null && (p.value.page = Math.ceil((o.index + 1) / i.value.size));
111
- }), B(t, (l, a) => {
112
- F();
113
- }), Y({ onResize: me, update: ce }), (l, a) => {
114
- const o = _("el-form-item"), u = _("el-col"), v = _("el-row"), $ = _("el-form"), f = _("el-checkbox"), w = _("el-popover"), y = _("el-pagination");
115
- return n(), d("div", {
116
- ref_key: "normalRef",
117
- ref: T,
118
- class: H(["ha-normal-layout", { draggable: e(i).sort }])
119
- }, [
120
- e(b) ? (n(), g($, {
121
- key: 0,
122
- class: "search-form"
123
- }, {
124
- default: m(() => [
125
- (n(!0), d(R, null, S(e(pe), (s, h) => (n(), g(v, {
126
- gutter: 5,
127
- key: h
128
- }, {
129
- default: m(() => [
130
- (n(!0), d(R, null, S(s, (r, q) => (n(), g(u, {
131
- span: 24 / e(i).column,
132
- key: q
133
- }, {
134
- default: m(() => [
135
- k(o, {
136
- label: r.label
137
- }, {
138
- default: m(() => [
139
- k(e(Q), {
140
- schema: e(D),
141
- table: e(t),
142
- field: r,
143
- set: e(b),
144
- onSubmit: e(te)
145
- }, null, 8, ["schema", "table", "field", "set", "onSubmit"])
146
- ]),
147
- _: 2
148
- }, 1032, ["label"])
149
- ]),
150
- _: 2
151
- }, 1032, ["span"]))), 128))
152
- ]),
153
- _: 2
154
- }, 1024))), 128))
155
- ]),
156
- _: 1
157
- })) : V("", !0),
158
- e(G).length ? (n(), d("div", Se, [
159
- (n(!0), d(R, null, S(e(G), (s) => (n(), d("div", {
160
- class: H(["normal-row", { main: e(t).main }])
161
- }, [
162
- e(t).main ? V("", !0) : (n(), d("div", $e, [
163
- k(f, {
164
- ref_for: !0,
165
- ref: e(le),
166
- class: "normal-checkbox",
167
- row: s,
168
- onChange: (h) => e(ue)(h, s)
169
- }, null, 8, ["row", "onChange"])
170
- ])),
171
- L("div", ze, [
172
- (n(!0), d(R, null, S(e(ve), (h) => (n(), g(v, null, {
173
- default: m(() => [
174
- (n(!0), d(R, null, S(h, ({ data: r, span: q }) => (n(), g(u, {
175
- span: q,
176
- key: `${e(t).name}.${r.name}`
177
- }, {
178
- default: m(() => [
179
- k(o, {
180
- style: _e(e(K).getStyle(r, e(O).type, e(i).type)),
181
- label: r.label,
182
- rules: e(N).getRules(e(j), e(t), r, e(U)(s)),
183
- prop: `[${e(t).name}][${e(U)(s)}][${r.name}]`
184
- }, {
185
- label: m(() => {
186
- var z;
187
- return [
188
- be(I(e(we)(e(t).name, r.name)) + " ", 1),
189
- (z = r.control.tooltip) != null && z.content ? (n(), g(w, {
190
- key: 0,
191
- trigger: "hover",
192
- placement: "top",
193
- width: "auto",
194
- title: r.control.tooltip.title
195
- }, {
196
- reference: m(() => a[1] || (a[1] = [
197
- L("i", { class: "fa fa-question-circle icon-question" }, null, -1)
198
- ])),
199
- default: m(() => [
200
- L("pre", null, I(r.control.tooltip.content), 1)
201
- ]),
202
- _: 2
203
- }, 1032, ["title"])) : V("", !0)
204
- ];
205
- }),
206
- default: m(() => [
207
- k(e(Q), {
208
- schema: e(D),
209
- set: e(c),
210
- table: e(t),
211
- row: s,
212
- field: r,
213
- onSubmit: e(re),
214
- onChange: (z) => e(oe)(z, e(c), e(t), s, r)
215
- }, null, 8, ["schema", "set", "table", "row", "field", "onSubmit", "onChange"])
216
- ]),
217
- _: 2
218
- }, 1032, ["style", "label", "rules", "prop"])
219
- ]),
220
- _: 2
221
- }, 1032, ["span"]))), 128))
222
- ]),
223
- _: 2
224
- }, 1024))), 256))
225
- ])
226
- ], 2))), 256))
227
- ], 512)) : (n(), d("div", Re, I(e(Ce)("common.no_data")), 1)),
228
- e(t).main ? V("", !0) : (n(), g(e(xe), { key: 3 }, {
229
- left: m(() => [
230
- (n(), g(ye(e(de)), {
231
- module: e(O),
232
- set: e(c),
233
- table: e(t),
234
- selection: e(C),
235
- onAdd: e(ae),
236
- onRemove: e(ne)
237
- }, null, 40, ["module", "set", "table", "selection", "onAdd", "onRemove"]))
238
- ]),
239
- default: m(() => [
240
- k(y, {
241
- background: "",
242
- layout: "total, prev, pager, next, jumper",
243
- "current-page": e(p).page,
244
- "page-size": e(i).size,
245
- total: e(p).count,
246
- onCurrentChange: a[0] || (a[0] = (s) => e(se)(s, e(t)))
247
- }, null, 8, ["current-page", "page-size", "total"])
248
- ]),
249
- _: 1
250
- }))
251
- ], 2);
252
- };
253
- }
254
- });
255
- export {
256
- qe as default
257
- };
@@ -1,95 +0,0 @@
1
- import { defineComponent as E, toRefs as G, ref as o, onMounted as H, watch as I, unref as t, openBlock as Q, createBlock as W, createCommentVNode as X } from "vue";
2
- import { U as r, c as Y, i as Z, d, e as b, m as p } from "./main-DxH9UW19.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- import { _ as ee } from "./Index.vue_vue_type_script_setup_true_lang-DWMiv0dC.js";
5
- const ne = /* @__PURE__ */ E({
6
- __name: "Paging",
7
- props: {
8
- base: {},
9
- route: {},
10
- url: {},
11
- win: {}
12
- },
13
- emits: ["navigate", "load"],
14
- setup(P, { expose: R, emit: k }) {
15
- let y = k, z = P, { url: h, win: w, base: f, route: u } = G(z), x = o(), i = o(), g = o(), c = o(), S = o(), C = o(), m = o(), v = o(), N = (e) => !0, L = (e) => {
16
- let l = r.url.getPath(h.value), a = r.url.getPath(e);
17
- return l != a;
18
- }, B = (e = null) => {
19
- q(e);
20
- }, D = () => {
21
- }, U = (e) => {
22
- var a;
23
- let l = Y(e.module.type, e.module.name);
24
- Z.setTitle(l, e.module.env), x.value = e.module, S.value = e.next, C.value = d.expandSet(e.schema, e.set), i.value = d.expandSchema(e.schema, e.set), g.value = (a = i.value) == null ? void 0 : a[0], c.value = g.value.layouts[0], m.value = d.getConditionForm(i.value, u.value.query.condition);
25
- }, _ = (e = null, l = null) => {
26
- let a = e ?? u.value.query, n = r.url.getUrl(u.value.path, a);
27
- y("load", n, !1, (A) => {
28
- l && l(A);
29
- });
30
- }, s = (e, l) => {
31
- y("navigate", e, l);
32
- }, K = async (e) => {
33
- let l = u.value.query;
34
- l.page = 1;
35
- let a = r.object.pure(m.value);
36
- l.condition = b.encode(a);
37
- let n = r.url.getUrl(u.value.path, l);
38
- n == h.value ? _(l, e) : s(n, e);
39
- }, j = (e, l) => {
40
- let a = u.value.query;
41
- a.order_by = b.encode(JSON.stringify(e));
42
- let n = r.url.getUrl(u.value.path, a);
43
- s(n, l);
44
- }, F = (e, l = null) => {
45
- let a = u.value.query;
46
- a.page = e;
47
- let n = r.url.getUrl(u.value.path, a);
48
- s(n, l);
49
- }, J = (e, l = null) => {
50
- let a = u.value.query;
51
- a.size = e;
52
- let n = r.url.getUrl(u.value.path, a);
53
- s(n, l);
54
- }, M = (e) => {
55
- c.value = g.value.layouts.find((l) => l.type == e);
56
- }, O = () => {
57
- U(f.value.data);
58
- }, q = (e = null) => _(null, e), T = (e, l) => {
59
- p.triggerKeyboard(v.value, e, l);
60
- }, V = (e) => {
61
- p.triggerSocket(v.value, e);
62
- }, $ = (e) => {
63
- p.triggerResize(v.value, e);
64
- };
65
- return H(async () => {
66
- O();
67
- }), I(() => f.value, (e) => {
68
- U(e.data);
69
- }), R({ shouldLoad: N, shouldSpin: L, onRefresh: q, onKeyboard: T, onSocket: V, onResize: $ }), (e, l) => t(c) ? (Q(), W(ee, {
70
- key: 0,
71
- ref_key: "pagingRef",
72
- ref: v,
73
- url: t(h),
74
- win: t(w),
75
- module: t(x),
76
- next: t(S),
77
- set: t(C),
78
- schema: t(i),
79
- table: t(g),
80
- layout: t(c),
81
- "search-data": t(m),
82
- onNavigate: t(s),
83
- onSort: t(j),
84
- onSearch: t(K),
85
- onPageChange: t(F),
86
- onSizeChange: t(J),
87
- onLayoutChange: t(M),
88
- onSucceed: t(B),
89
- onClose: t(D)
90
- }, null, 8, ["url", "win", "module", "next", "set", "schema", "table", "layout", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onLayoutChange", "onSucceed", "onClose"])) : X("", !0);
91
- }
92
- });
93
- export {
94
- ne as default
95
- };
@@ -1,112 +0,0 @@
1
- import { defineComponent as T, toRefs as A, ref as f, computed as D, resolveComponent as _, openBlock as c, createBlock as y, unref as n, withKeys as L, withModifiers as O, isRef as $, withCtx as V, createElementBlock as w, Fragment as q, renderList as z, createElementVNode as G, toDisplayString as k, createCommentVNode as H, nextTick as I } from "vue";
2
- import { n as J, U as P, w as Q, h as W } from "./main-DxH9UW19.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- const X = { class: "option-text" }, Y = {
5
- key: 0,
6
- class: "option-suffix"
7
- }, te = /* @__PURE__ */ T({
8
- __name: "Select",
9
- props: {
10
- schema: {},
11
- table: {},
12
- field: {},
13
- set: {},
14
- row: {},
15
- modelValue: { type: [String, Number, Boolean, Array] }
16
- },
17
- emits: ["submit", "change", "update:modelValue"],
18
- setup(C, { emit: E }) {
19
- let s = E, B = C, { schema: S, field: u, table: m, set: v, row: R, modelValue: p } = A(B), x = f(), b = f(), h = f(!1), d = f(u.value.control.data.data), j = (t) => {
20
- t == "" && (t = null);
21
- let e;
22
- if (P.object.isString(t) && u.value.control.multiple ? e = t.join(",") : e = t, r.value = e, u.value.control.text) {
23
- let a = m.value.fields.find((l) => l.name == u.value.control.text), o;
24
- e && (o = d.value.find((i) => i.value == e).text);
25
- debugger;
26
- R.value[a.name] = o;
27
- }
28
- g(m.value, u.value), s("change", t);
29
- }, K = () => {
30
- s("submit");
31
- }, N = () => {
32
- }, U = () => {
33
- h.value = !0;
34
- let t = { text: b.value, conditions: [] };
35
- u.value.control.data.conditions.forEach((e) => {
36
- let a = v.value[e.table].filter((l) => l[e.field] != null).map((l) => l[e.field]), o = a.length == 0 ? null : a.join(",");
37
- t.conditions.push({ name: e.name, value: o });
38
- }), W.post(u.value.control.data.route, t).then(({ data: e }) => {
39
- d.value = e;
40
- }).finally(() => {
41
- h.value = !1, I(() => {
42
- let e = d.value.find((a) => a.value == r.value);
43
- x.value.scrollToOption(e);
44
- });
45
- });
46
- }, F = (t) => {
47
- b.value = t, U();
48
- }, M = (t, e) => {
49
- let a = [];
50
- return S.value.forEach((o) => {
51
- o.fields.forEach((l) => {
52
- l.dictionary && l.dictionary.conditions.forEach((i) => {
53
- i.table == t.name && i.field == e.name && a.push({ table: o, field: l });
54
- });
55
- });
56
- }), a;
57
- }, g = (t, e) => {
58
- M(t, e).forEach((o) => {
59
- Q.setRowsValue(null, v.value, o.table, o.field), g(o.table, o.field);
60
- });
61
- }, r = D({
62
- get() {
63
- return u.value.control.multiple ? p.value == null ? [] : p.value.toString().split(",") : p.value;
64
- },
65
- set(t) {
66
- s("update:modelValue", t), s("change", t);
67
- }
68
- });
69
- return (t, e) => {
70
- const a = _("el-option"), o = _("el-select");
71
- return c(), y(o, {
72
- ref_key: "selectRef",
73
- ref: x,
74
- filterable: "",
75
- remote: "",
76
- "reserve-keyword": "",
77
- "default-first-option": "",
78
- "remote-show-suffix": "",
79
- "loading-text": "加载中",
80
- clearable: "",
81
- placeholder: n(J)(n(m).name, n(u).name),
82
- multiple: n(u).control.multiple,
83
- "remote-method": n(F),
84
- loading: n(h),
85
- disabled: n(u).control.readonly,
86
- onKeyup: L(O(n(K), ["alt"]), ["enter", "native"]),
87
- onBlur: n(N),
88
- onChange: n(j),
89
- modelValue: n(r),
90
- "onUpdate:modelValue": e[0] || (e[0] = (l) => $(r) ? r.value = l : r = l)
91
- }, {
92
- default: V(() => [
93
- (c(!0), w(q, null, z(n(d), (l, i) => (c(), y(a, {
94
- label: `${l.text}${l.suffix ? "(" + l.suffix + ")" : ""}`,
95
- value: l.value,
96
- key: l.value
97
- }, {
98
- default: V(() => [
99
- G("span", X, k(l.text), 1),
100
- l.suffix ? (c(), w("span", Y, "(" + k(l.suffix) + ")", 1)) : H("", !0)
101
- ]),
102
- _: 2
103
- }, 1032, ["label", "value"]))), 128))
104
- ]),
105
- _: 1
106
- }, 8, ["placeholder", "multiple", "remote-method", "loading", "disabled", "onKeyup", "onBlur", "onChange", "modelValue"]);
107
- };
108
- }
109
- });
110
- export {
111
- te as default
112
- };