halo-pc 1.0.32 → 1.0.34

Sign up to get free protection for your applications and to get access to all the features.
Files changed (309) hide show
  1. package/dist/Article-0A49F8P3.js +196 -0
  2. package/dist/{ArticleFooter-CQ9AIv5h.js → ArticleFooter-DVCVY8fL.js} +18 -22
  3. package/dist/Autocomplete-BHTBAXI4.js +51 -0
  4. package/dist/{Autocomplete-OR6Im-cE.js → Autocomplete-CfwcsH9X.js} +1 -1
  5. package/dist/Autocomplete-wJRVhTSr.js +50 -0
  6. package/dist/{CSharp-AEpf5-C8.js → CSharp-NVVr0btN.js} +1 -1
  7. package/dist/{Calender-B9SQE_dy.js → Calender-C25Zt8pB.js} +1 -1
  8. package/dist/Callback-CwvEGzcg.js +22 -0
  9. package/dist/{Cascader-CQYJHxde.js → Cascader-BIPlzFxe.js} +17 -21
  10. package/dist/Cascader-Bo8EBeD0.js +43 -0
  11. package/dist/{Checkbox-DYnxQbzW.js → Checkbox-BbE-mfrG.js} +1 -1
  12. package/dist/{Checkbox-rn3rUyNj.js → Checkbox-ad3zFkbT.js} +14 -18
  13. package/dist/{Code-CrgtwU3k.js → Code-B1IngqnV.js} +1 -1
  14. package/dist/Code-BfH1YqPu.js +38 -0
  15. package/dist/Code-C3wvju3a.js +56 -0
  16. package/dist/Code-CLm3GJU5.js +4 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-BtYg0qCY.js +61 -0
  18. package/dist/Column-C5t97ur4.js +71 -0
  19. package/dist/Comment-DJwFyMUA.js +100 -0
  20. package/dist/Compare-ByagdHQX.js +39 -0
  21. package/dist/{Compare-Cv14ecIG.js → Compare-DXdAxVeB.js} +8 -12
  22. package/dist/Copy-BqzKzCBc.js +45 -0
  23. package/dist/Custom-CZCf6EdX.js +61 -0
  24. package/dist/{DataExport-nWsB9V2F.js → DataExport-DDrI7qCj.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-CSEK5Szf.js → DataExport.vue_vue_type_script_setup_true_lang-Bw_vJ1Br.js} +25 -28
  26. package/dist/{DataImport-B-p5FvJ7.js → DataImport-D0qpiN9N.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-aFcYHSGO.js → DataImport.vue_vue_type_script_setup_true_lang-B-Viy4DV.js} +52 -54
  28. package/dist/{Date-ajUkX7sc.js → Date-7SowHlFy.js} +1 -1
  29. package/dist/Date-fBbHVdBO.js +39 -0
  30. package/dist/{DateRange-t7EQCe1S.js → DateRange-464QAgtl.js} +16 -20
  31. package/dist/{DateTime-C0ZOwxCc.js → DateTime-BQdGxMuT.js} +1 -1
  32. package/dist/DateTime-CHfA2yVX.js +40 -0
  33. package/dist/{DateTimeRange-CcO07AoI.js → DateTimeRange-D9nD2R59.js} +11 -15
  34. package/dist/Daterange-BzQiMxTf.js +59 -0
  35. package/dist/{Decimal-BgjGUtrc.js → Decimal-DmMf2VS9.js} +1 -1
  36. package/dist/{Delete-C9XmUMZJ.js → Delete-DUlL4Ekn.js} +9 -13
  37. package/dist/Detail-0EGB67GH.js +71 -0
  38. package/dist/Dictionary-DcZ6B6OQ.js +57 -0
  39. package/dist/{Email-CJPL28hv.js → Email-CdNevnHG.js} +12 -16
  40. package/dist/File-C32GW6xh.js +158 -0
  41. package/dist/{Image-BDtr8i7Q.js → Image-CjX_5BQP.js} +1 -1
  42. package/dist/{Index-A3fVUpUc.js → Index-AkT5lS7_.js} +18 -21
  43. package/dist/Index-B4fTYPvp.js +4 -0
  44. package/dist/Index-BaCO8oxQ.js +4 -0
  45. package/dist/Index-BdUKso9r.js +175 -0
  46. package/dist/{Index-DFgVPWAR.js → Index-CVrkL3OL.js} +1 -1
  47. package/dist/Index-DDH8Z-8G.js +4 -0
  48. package/dist/Index-DEeN6NF3.js +4 -0
  49. package/dist/{Index-CrsEtA8H.js → Index-DqYjZ0WV.js} +1 -1
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-D8sKBxWN.js → Index.vue_vue_type_script_setup_true_lang-DTIzyTKV.js} +10 -14
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-BchX4oAa.js → Index.vue_vue_type_script_setup_true_lang-oCZva2ft.js} +12 -16
  52. package/dist/{Install-BKjOyBl4.js → Install-8aYvXNcI.js} +50 -54
  53. package/dist/{Int-DHDcCAlq.js → Int-B6NKxa49.js} +9 -13
  54. package/dist/{Int-DH7oV_hH.js → Int-BWJIpMIU.js} +11 -14
  55. package/dist/{List-sJPDvZo0.js → List-UzIfwX49.js} +27 -31
  56. package/dist/Maintaince-D5AJe-XM.js +16 -0
  57. package/dist/{Markdown-569jtVWW.js → Markdown-0VblT2uI.js} +1 -1
  58. package/dist/Month-B7L0yMpS.js +39 -0
  59. package/dist/Month-DBFUZ0GW.js +40 -0
  60. package/dist/{Month-B8bZg9yu.js → Month-GbE9_bWA.js} +1 -1
  61. package/dist/{Normal-COyWYgbT.js → Normal-D8hpyH5M.js} +81 -84
  62. package/dist/Paging-rtMed0Sy.js +96 -0
  63. package/dist/PagingHeader-aLM8HpOv.js +143 -0
  64. package/dist/{PagingRow-BMCnYeRU.js → PagingRow-O7oBHQPG.js} +12 -16
  65. package/dist/QueryApi-WhFuwo_F.js +16 -0
  66. package/dist/{Racebar-jI_Tr0oJ.js → Racebar-COpaXaKR.js} +39 -42
  67. package/dist/{Radio-CXOvmHaC.js → Radio-CBrBsj-P.js} +1 -1
  68. package/dist/Register-BqN5D3_n.js +198 -0
  69. package/dist/{RichText-BFoNVAke.js → RichText-CPJ8b-dz.js} +12 -16
  70. package/dist/{SearchFooter-z_VvJkGQ.js → SearchFooter-BwkLFHKe.js} +1 -1
  71. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-Cyc3lOz2.js → SearchFooter.vue_vue_type_style_index_0_lang-DVIVF713.js} +1 -1
  72. package/dist/{SearchForm-DOf6HA9X.js → SearchForm-CvH-0W7u.js} +1 -1
  73. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-4UV9Kag_.js → SearchForm.vue_vue_type_style_index_0_lang-Cb52PjZe.js} +40 -43
  74. package/dist/{Select-C07y0IUr.js → Select-BImtLux6.js} +15 -19
  75. package/dist/{Select-DUL8NZY-.js → Select-CIa2dGml.js} +1 -1
  76. package/dist/{Select-DjvKZlDp.js → Select-eMjldrWJ.js} +27 -31
  77. package/dist/{Single-CoZwT834.js → Single-DLM8uDJ6.js} +110 -113
  78. package/dist/{Statistic-B9sFcyyg.js → Statistic-s5tlvbn2.js} +34 -37
  79. package/dist/{Stock-lAtweMdA.js → Stock-C201huf0.js} +1 -1
  80. package/dist/{Stock-CwZn5mMQ.js → Stock-dq4XJ57m.js} +1 -1
  81. package/dist/{Stock.vue_vue_type_style_index_0_lang-BuSHv622.js → Stock.vue_vue_type_style_index_0_lang-zFDGFun3.js} +28 -31
  82. package/dist/{Switch-D5N98lH2.js → Switch--lyzbPEU.js} +1 -1
  83. package/dist/{Table-D_G9vqqg.js → Table-BbUzsIBM.js} +98 -102
  84. package/dist/Table-Bly5PFIJ.js +241 -0
  85. package/dist/{Text-PDd5nZH8.js → Text-8VqbfNy3.js} +9 -13
  86. package/dist/Text-Dr7VfqLe.js +4 -0
  87. package/dist/{Text-CP8Fzkm-.js → Text-DrAHP0p2.js} +17 -21
  88. package/dist/Text.vue_vue_type_style_index_0_lang-IxMYA_cu.js +55 -0
  89. package/dist/{TextLink-B-uh2FSK.js → TextLink-D7b2GqmQ.js} +17 -21
  90. package/dist/{Textarea-m0k4bL1V.js → Textarea-oDjOpaO0.js} +1 -1
  91. package/dist/Time-80U5QafM.js +39 -0
  92. package/dist/{Timeline-CWVqeAPO.js → Timeline-EKq2D4wv.js} +14 -18
  93. package/dist/Tree-Bf-kpbwp.js +294 -0
  94. package/dist/Tree-DuFSGBw_.js +119 -0
  95. package/dist/TreeNode-Bj4oWOws.js +39 -0
  96. package/dist/Update-1_cGh8pa.js +66 -0
  97. package/dist/UpdateChild-DdFGPX51.js +88 -0
  98. package/dist/Upload-DzicaeX9.js +148 -0
  99. package/dist/Upload-PdcM-ZQd.js +69 -0
  100. package/dist/UploadApi-Dm_lj8m4.js +16 -0
  101. package/dist/Year-BF1FsPiq.js +43 -0
  102. package/dist/{Year-C1ewILpv.js → Year-Bm_YQkFR.js} +1 -1
  103. package/dist/assets/{liquidjs-C-LVcoaY.js → liquidjs-B8dqQyVv.js} +639 -632
  104. package/dist/main-DKQm8MHi.js +9789 -0
  105. package/dist/main.js +139 -135
  106. package/dist/style.css +1 -1
  107. package/esm/coms/business/Condition.vue.d.ts +4 -16
  108. package/esm/coms/business/Crud.vue.d.ts +14 -22
  109. package/esm/coms/business/Drawer.vue.d.ts +4 -18
  110. package/esm/coms/business/Driver.vue.d.ts +23 -38
  111. package/esm/coms/business/Feedback.vue.d.ts +5 -5
  112. package/esm/coms/business/Form.vue.d.ts +13 -15
  113. package/esm/coms/business/Switch.vue.d.ts +7 -13
  114. package/esm/coms/business/Welcome.vue.d.ts +6 -6
  115. package/esm/coms/commons/Captcha.vue.d.ts +7 -7
  116. package/esm/coms/commons/Debug.vue.d.ts +10 -4
  117. package/esm/coms/commons/Editable.vue.d.ts +11 -5
  118. package/esm/coms/commons/Loading.vue.d.ts +17 -17
  119. package/esm/coms/commons/MouseContext.vue.d.ts +1 -1
  120. package/esm/coms/commons/Particles.vue.d.ts +1 -1
  121. package/esm/coms/commons/Resizer.vue.d.ts +18 -14
  122. package/esm/coms/commons/Spinner.vue.d.ts +7 -11
  123. package/esm/coms/commons/Table.vue.d.ts +22 -22
  124. package/esm/coms/commons/TableColumn.vue.d.ts +17 -17
  125. package/esm/coms/controls/Autocomplete.vue.d.ts +7 -16
  126. package/esm/coms/controls/Cascader.vue.d.ts +7 -16
  127. package/esm/coms/controls/Checkbox.vue.d.ts +7 -16
  128. package/esm/coms/controls/Code.vue.d.ts +7 -16
  129. package/esm/coms/controls/Color.vue.d.ts +7 -16
  130. package/esm/coms/controls/Compare.vue.d.ts +7 -16
  131. package/esm/coms/controls/Date.vue.d.ts +7 -16
  132. package/esm/coms/controls/DateRange.vue.d.ts +7 -16
  133. package/esm/coms/controls/DateTime.vue.d.ts +7 -16
  134. package/esm/coms/controls/DateTimeRange.vue.d.ts +7 -16
  135. package/esm/coms/controls/Decimal.vue.d.ts +7 -16
  136. package/esm/coms/controls/Email.vue.d.ts +7 -16
  137. package/esm/coms/controls/Image.vue.d.ts +1 -1
  138. package/esm/coms/controls/Index.vue.d.ts +5 -14
  139. package/esm/coms/controls/Int.vue.d.ts +7 -16
  140. package/esm/coms/controls/Markdown.vue.d.ts +7 -16
  141. package/esm/coms/controls/Month.vue.d.ts +7 -16
  142. package/esm/coms/controls/Password.vue.d.ts +7 -16
  143. package/esm/coms/controls/Progress.vue.d.ts +7 -16
  144. package/esm/coms/controls/Radio.vue.d.ts +7 -16
  145. package/esm/coms/controls/Rate.vue.d.ts +7 -16
  146. package/esm/coms/controls/RichText.vue.d.ts +6 -13
  147. package/esm/coms/controls/Select.vue.d.ts +7 -16
  148. package/esm/coms/controls/Switch.vue.d.ts +7 -16
  149. package/esm/coms/controls/Text.vue.d.ts +8 -17
  150. package/esm/coms/controls/Textarea.vue.d.ts +7 -16
  151. package/esm/coms/controls/Time.vue.d.ts +7 -16
  152. package/esm/coms/controls/Upload.vue.d.ts +7 -16
  153. package/esm/coms/controls/Year.vue.d.ts +7 -16
  154. package/esm/coms/globals/HeaderTab.vue.d.ts +17 -10
  155. package/esm/coms/globals/HeaderTabs.vue.d.ts +16 -9
  156. package/esm/coms/globals/Menu.vue.d.ts +14 -39
  157. package/esm/coms/globals/MenuItem.vue.d.ts +13 -39
  158. package/esm/coms/globals/MissComponent.vue.d.ts +11 -4
  159. package/esm/coms/globals/SideTab.vue.d.ts +18 -11
  160. package/esm/coms/globals/SideTabs.vue.d.ts +16 -9
  161. package/esm/coms/globals/Window.vue.d.ts +42 -43
  162. package/esm/coms/headers/Breadcrumb.vue.d.ts +1 -1
  163. package/esm/coms/headers/Debugger.vue.d.ts +1 -1
  164. package/esm/coms/headers/Hamburger.vue.d.ts +7 -10
  165. package/esm/coms/headers/HeaderRight.vue.d.ts +5 -1
  166. package/esm/coms/headers/Index.vue.d.ts +36 -20
  167. package/esm/coms/headers/Log.vue.d.ts +1 -1
  168. package/esm/coms/headers/Logo.vue.d.ts +2 -2
  169. package/esm/coms/headers/Refresh.vue.d.ts +2 -2
  170. package/esm/coms/headers/Setting.vue.d.ts +2 -2
  171. package/esm/coms/headers/index.d.ts +2 -2
  172. package/esm/coms/layouts/Desktop.vue.d.ts +1 -1
  173. package/esm/coms/layouts/Index.vue.d.ts +31 -1
  174. package/esm/coms/layouts/Side.vue.d.ts +27 -1
  175. package/esm/coms/layouts/Top.vue.d.ts +1 -1
  176. package/esm/coms/lists/Calender.vue.d.ts +1 -1
  177. package/esm/coms/lists/Racebar.vue.d.ts +4 -13
  178. package/esm/coms/lists/Statistic.vue.d.ts +4 -13
  179. package/esm/coms/lists/Stock.vue.d.ts +1 -10
  180. package/esm/coms/lists/Timeline.vue.d.ts +1 -10
  181. package/esm/coms/lists/Tree.vue.d.ts +5 -14
  182. package/esm/coms/pages/Column.vue.d.ts +4 -13
  183. package/esm/coms/pages/Custom.vue.d.ts +4 -13
  184. package/esm/coms/pages/Delete.vue.d.ts +3 -12
  185. package/esm/coms/pages/List.vue.d.ts +6 -15
  186. package/esm/coms/pages/Paging.vue.d.ts +6 -15
  187. package/esm/coms/pages/Single.vue.d.ts +6 -15
  188. package/esm/coms/pagings/Article.vue.d.ts +5 -14
  189. package/esm/coms/pagings/Code.vue.d.ts +1 -10
  190. package/esm/coms/pagings/DataExport.vue.d.ts +10 -16
  191. package/esm/coms/pagings/DataImport.vue.d.ts +9 -8
  192. package/esm/coms/pagings/File.vue.d.ts +1 -10
  193. package/esm/coms/pagings/Index.vue.d.ts +6 -15
  194. package/esm/coms/pagings/SearchFooter.vue.d.ts +17 -60
  195. package/esm/coms/pagings/SearchForm.vue.d.ts +10 -35
  196. package/esm/coms/pagings/Table.vue.d.ts +6 -15
  197. package/esm/coms/panels/Group.vue.d.ts +11 -4
  198. package/esm/coms/panels/Header.vue.d.ts +5 -9
  199. package/esm/coms/panels/Operation.vue.d.ts +17 -17
  200. package/esm/coms/panels/Panel.vue.d.ts +21 -17
  201. package/esm/coms/panels/Shrink.vue.d.ts +19 -23
  202. package/esm/coms/partials/ArticleFooter.vue.d.ts +9 -18
  203. package/esm/coms/partials/Detail.vue.d.ts +6 -15
  204. package/esm/coms/partials/PagingHeader.vue.d.ts +12 -21
  205. package/esm/coms/partials/PagingRow.vue.d.ts +9 -18
  206. package/esm/coms/partials/TreeNode.vue.d.ts +1 -10
  207. package/esm/coms/partials/Update.vue.d.ts +6 -15
  208. package/esm/coms/partials/UpdateChild.vue.d.ts +8 -17
  209. package/esm/coms/searches/Autocomplete.vue.d.ts +7 -16
  210. package/esm/coms/searches/Daterange.vue.d.ts +7 -16
  211. package/esm/coms/searches/Index.vue.d.ts +3 -12
  212. package/esm/coms/searches/Int.vue.d.ts +7 -16
  213. package/esm/coms/searches/Month.vue.d.ts +7 -16
  214. package/esm/coms/searches/Select.vue.d.ts +7 -16
  215. package/esm/coms/searches/Text.vue.d.ts +7 -16
  216. package/esm/coms/singles/Code.vue.d.ts +3 -12
  217. package/esm/coms/singles/Comment.vue.d.ts +1 -10
  218. package/esm/coms/singles/Index.vue.d.ts +5 -14
  219. package/esm/coms/singles/Normal.vue.d.ts +4 -13
  220. package/esm/coms/singles/Statistic.vue.d.ts +1 -10
  221. package/esm/coms/singles/Stock.vue.d.ts +1 -10
  222. package/esm/coms/singles/Table.vue.d.ts +4 -13
  223. package/esm/coms/singles/Tree.vue.d.ts +2 -11
  224. package/esm/coms/singles/Tree_Old.vue.d.ts +1 -1
  225. package/esm/coms/texts/Autocomplete.vue.d.ts +3 -12
  226. package/esm/coms/texts/CSharp.vue.d.ts +3 -12
  227. package/esm/coms/texts/Cascader.vue.d.ts +5 -14
  228. package/esm/coms/texts/Checkbox.vue.d.ts +3 -12
  229. package/esm/coms/texts/Code.vue.d.ts +3 -12
  230. package/esm/coms/texts/Color.vue.d.ts +3 -12
  231. package/esm/coms/texts/Compare.vue.d.ts +3 -12
  232. package/esm/coms/texts/Copy.vue.d.ts +13 -16
  233. package/esm/coms/texts/Date.vue.d.ts +3 -12
  234. package/esm/coms/texts/DateRange.vue.d.ts +3 -12
  235. package/esm/coms/texts/DateTime.vue.d.ts +3 -12
  236. package/esm/coms/texts/Decimal.vue.d.ts +3 -12
  237. package/esm/coms/texts/Dictionary.vue.d.ts +7 -16
  238. package/esm/coms/texts/Email.vue.d.ts +3 -12
  239. package/esm/coms/texts/Index.vue.d.ts +5 -14
  240. package/esm/coms/texts/Int.vue.d.ts +3 -12
  241. package/esm/coms/texts/Markdown.vue.d.ts +3 -12
  242. package/esm/coms/texts/Month.vue.d.ts +3 -12
  243. package/esm/coms/texts/Password.vue.d.ts +3 -12
  244. package/esm/coms/texts/Progress.vue.d.ts +3 -12
  245. package/esm/coms/texts/Radio.vue.d.ts +3 -12
  246. package/esm/coms/texts/Rate.vue.d.ts +7 -16
  247. package/esm/coms/texts/RichText.vue.d.ts +3 -12
  248. package/esm/coms/texts/Select.vue.d.ts +3 -12
  249. package/esm/coms/texts/Switch.vue.d.ts +3 -12
  250. package/esm/coms/texts/Text.vue.d.ts +3 -12
  251. package/esm/coms/texts/TextLink.vue.d.ts +16 -19
  252. package/esm/coms/texts/Textarea.vue.d.ts +3 -12
  253. package/esm/coms/texts/Upload.vue.d.ts +3 -12
  254. package/esm/coms/texts/Year.vue.d.ts +3 -12
  255. package/esm/views/helps/401.vue.d.ts +1 -1
  256. package/esm/views/helps/404.vue.d.ts +1 -1
  257. package/esm/views/helps/Install.vue.d.ts +1 -1
  258. package/esm/views/helps/Maintaince.vue.d.ts +1 -1
  259. package/esm/views/helps/Upgrade.vue.d.ts +1 -1
  260. package/esm/views/logins/Callback.vue.d.ts +1 -1
  261. package/esm/views/logins/Index.vue.d.ts +1 -1
  262. package/esm/views/logins/Register.vue.d.ts +1 -1
  263. package/package.json +10 -11
  264. package/dist/Article-DdbL4Rxb.js +0 -200
  265. package/dist/Autocomplete-B29_JGgy.js +0 -54
  266. package/dist/Autocomplete-CDeLmF63.js +0 -53
  267. package/dist/Callback-DtbfupbN.js +0 -26
  268. package/dist/Cascader-oKD8yaoM.js +0 -47
  269. package/dist/Code-BBlM__Hy.js +0 -42
  270. package/dist/Code-BVq612C-.js +0 -60
  271. package/dist/Code-CwEhwgvG.js +0 -4
  272. package/dist/Code.vue_vue_type_style_index_0_lang-DYtCGnTc.js +0 -65
  273. package/dist/Column-EGW6y97E.js +0 -75
  274. package/dist/Comment-BsBFJGaQ.js +0 -104
  275. package/dist/Compare-DWPAXxRl.js +0 -44
  276. package/dist/Copy-GmouOi6m.js +0 -49
  277. package/dist/Custom-Cb3i3bqD.js +0 -57
  278. package/dist/Date-BDC05CJ3.js +0 -43
  279. package/dist/DateTime-BdzNOWG8.js +0 -44
  280. package/dist/Daterange-ChAXKUg5.js +0 -63
  281. package/dist/Detail-KkegBU3k.js +0 -75
  282. package/dist/Dictionary-Cb7aVsaW.js +0 -59
  283. package/dist/File-BjbmEXZd.js +0 -162
  284. package/dist/Index-9C-NNHc5.js +0 -4
  285. package/dist/Index-ClRh0-VD.js +0 -4
  286. package/dist/Index-D6C_pdWz.js +0 -178
  287. package/dist/Index-gGO_YKcR.js +0 -4
  288. package/dist/Index-gqpuMuJY.js +0 -4
  289. package/dist/Maintaince-CLR1UbTX.js +0 -20
  290. package/dist/Month-CHE-uCIH.js +0 -43
  291. package/dist/Month-_nN2Q4-y.js +0 -44
  292. package/dist/Paging-DgpnQ8Z-.js +0 -99
  293. package/dist/PagingHeader-B9ZN-gzP.js +0 -147
  294. package/dist/QueryApi-Cnhw4j4z.js +0 -20
  295. package/dist/Register-Dc3SHbQr.js +0 -201
  296. package/dist/Table-tLOOeKDu.js +0 -243
  297. package/dist/Text-Df6_rov4.js +0 -4
  298. package/dist/Text.vue_vue_type_style_index_0_lang-JCklGm0p.js +0 -59
  299. package/dist/Time-DOZHyrC6.js +0 -43
  300. package/dist/Tree-BftFsRke.js +0 -297
  301. package/dist/Tree-DG-JvHyh.js +0 -122
  302. package/dist/TreeNode-b11A2q51.js +0 -42
  303. package/dist/Update-Bq3Vc9BT.js +0 -70
  304. package/dist/UpdateChild-Bzxp6hg4.js +0 -92
  305. package/dist/Upload-BelDE_Gj.js +0 -72
  306. package/dist/Upload-BrZMjfqk.js +0 -150
  307. package/dist/UploadApi-rJCEFRnE.js +0 -20
  308. package/dist/Year-ajwigTmh.js +0 -47
  309. package/dist/main-CBbiFa-k.js +0 -9218
@@ -1,21 +1,17 @@
1
- import { defineComponent as He, toRefs as Be, ref as i, onMounted as Ue, nextTick as j, computed as ae, resolveComponent as R, openBlock as f, createElementBlock as U, createVNode as v, unref as e, isRef as w, normalizeClass as De, withCtx as h, createTextVNode as le, toDisplayString as k, Fragment as Te, renderList as Ee, createBlock as S, createCommentVNode as z, createElementVNode as D, resolveDynamicComponent as Ne } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import { E as $, d as Le, L as Me, t as q, f as Pe, g as je, x as qe, N as Ae, P as Ke, Q as oe, U as Oe, a as Fe, R as Ie, h as Qe, m as Ge, b as Je } from "./main-CBbiFa-k.js";
4
- import "./assets/underscore.string-DVXD2SZo.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/clone-BZn0cTAu.js";
1
+ import { defineComponent as Be, toRefs as He, ref as u, onMounted as Te, nextTick as P, computed as ae, resolveComponent as R, openBlock as f, createElementBlock as T, createVNode as v, unref as e, isRef as _, normalizeClass as De, withCtx as h, createTextVNode as le, toDisplayString as S, Fragment as Ue, renderList as Ee, createBlock as z, createCommentVNode as $, createElementVNode as D, resolveDynamicComponent as Ne } from "vue";
2
+ import { H as w, e as Le, F as Me, t as q, g as je, j as Pe, w as qe, G as Ae, I as oe, b as Fe, S as Ie, h as Ke, m as Oe, c as Ge } from "./main-DKQm8MHi.js";
7
3
  import "./assets/moment-h96o7c8I.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
9
- import { _ as Xe } from "./SearchForm.vue_vue_type_style_index_0_lang-4UV9Kag_.js";
10
- import { _ as Ye } from "./DataImport.vue_vue_type_script_setup_true_lang-aFcYHSGO.js";
11
- import { _ as Ze } from "./DataExport.vue_vue_type_script_setup_true_lang-CSEK5Szf.js";
4
+ import "./assets/liquidjs-B8dqQyVv.js";
5
+ import { _ as Je } from "./SearchForm.vue_vue_type_style_index_0_lang-Cb52PjZe.js";
6
+ import { _ as Qe } from "./DataImport.vue_vue_type_script_setup_true_lang-B-Viy4DV.js";
7
+ import { _ as Xe } from "./DataExport.vue_vue_type_script_setup_true_lang-Bw_vJ1Br.js";
12
8
  import "vue-router";
13
9
  import "./assets/intro.js-DxWjEdp_.js";
14
- import { _ as et } from "./SearchFooter.vue_vue_type_style_index_0_lang-Cyc3lOz2.js";
15
- const tt = {
10
+ import { _ as Ye } from "./SearchFooter.vue_vue_type_style_index_0_lang-DVIVF713.js";
11
+ const Ze = {
16
12
  key: 0,
17
13
  class: "required"
18
- }, at = ["onMouseenter"], lt = { class: "el-drawer__title" }, ot = { key: 0 }, nt = ["href"], _t = /* @__PURE__ */ He({
14
+ }, et = ["onMouseenter"], tt = { class: "el-drawer__title" }, at = { key: 0 }, lt = ["href"], vt = /* @__PURE__ */ Be({
19
15
  __name: "Table",
20
16
  props: {
21
17
  searchData: {},
@@ -28,22 +24,22 @@ const tt = {
28
24
  },
29
25
  emits: ["search", "navigate", "sort", "page-change", "size-change", "succeed", "close"],
30
26
  setup(ne, { expose: re, emit: se }) {
31
- let b = se, ie = ne, { module: ue, schema: T, table: r, layout: u, next: p, set: _, searchData: A } = Be(ie), E = i([]), V = i(), N = i(), L = i(), K = i(), O = i(), W = i(), m = i(!1), g = i(!1), F = i(), I = i("120px"), Q = i({}), y = i({ layout: "prev, pager, next", count: 5, sizes: [20, 50, 200, 500, 2e3] }), H = i(), n = i({ title: null, env: null, page: null, url: null, row: null, visible: !1, appendToBody: !1 }), de = new Ie(), pe = (t) => {
32
- x("insert", null, t);
27
+ let b = se, ue = ne, { module: ie, schema: U, table: r, layout: i, next: p, set: x, searchData: A } = He(ue), E = u([]), V = u(), N = u(), L = u(), F = u(), I = u(), W = u(), m = u(!1), g = u(!1), K = u(), O = u("120px"), G = u({}), y = u({ layout: "prev, pager, next", count: 5, sizes: [20, 50, 200, 500, 2e3] }), B = u(), n = u({ title: null, env: null, page: null, url: null, row: null, visible: !1, appendToBody: !1 }), de = new Ie(), pe = (t) => {
28
+ C("insert", null, t);
33
29
  }, me = (t, a) => {
34
- x("detail", t, a);
30
+ C("detail", t, a);
35
31
  }, ge = (t, a) => {
36
- x("update", t, a);
32
+ C("update", t, a);
37
33
  }, ce = (t, a) => {
38
- x("copy", t, a);
34
+ C("copy", t, a);
39
35
  }, ve = (t, a) => {
40
- x("delete", t, a);
41
- }, G = (t) => {
36
+ C("delete", t, a);
37
+ }, J = (t) => {
42
38
  let a = t.map((o) => o[r.value.key.name]);
43
- Qe.post(p.value.delete.route, a).then((o) => {
44
- Ge.success(o.message), M();
39
+ Ke.post(p.value.delete.route, a).then((o) => {
40
+ Oe.success(o.message), M();
45
41
  });
46
- }, x = (t, a, o) => {
42
+ }, C = (t, a, o) => {
47
43
  let s = fe(t, a);
48
44
  o.ctrlKey ? (n.value.row = null, b("navigate", s)) : (n.value.appendToBody = o.altKey, n.value.page = t, n.value.url = s, n.value.row = a, n.value.visible = !0);
49
45
  }, fe = (t, a = null) => {
@@ -56,7 +52,7 @@ const tt = {
56
52
  }, he = () => {
57
53
  n.value.visible = !1, b("close");
58
54
  }, ye = (t) => {
59
- n.value.title = Je(t.module.type, t.module.name), n.value.env = t.module.env;
55
+ n.value.title = Ge(t.module.type, t.module.name), n.value.env = t.module.env;
60
56
  }, M = () => {
61
57
  n.value.visible = !1;
62
58
  let t = E.value;
@@ -65,20 +61,20 @@ const tt = {
65
61
  if (!o.length)
66
62
  return;
67
63
  let s = r.value.key;
68
- j(() => {
64
+ P(() => {
69
65
  let c = n.value.row;
70
66
  if (c) {
71
- let d = o.find((C) => C[s.name] == c[s.name]);
67
+ let d = o.find((k) => k[s.name] == c[s.name]);
72
68
  d && N.value.setCurrentRow(d);
73
69
  }
74
70
  if (t.length > 0)
75
71
  for (let d of t) {
76
- let C = o.find((l) => l[s.name] == d[s.name]);
77
- N.value.toggleRowSelection(C, !0);
72
+ let k = o.find((l) => l[s.name] == d[s.name]);
73
+ N.value.toggleRowSelection(k, !0);
78
74
  }
79
75
  });
80
76
  });
81
- }, J = (t) => {
77
+ }, Q = (t) => {
82
78
  b("search", t);
83
79
  }, be = (t) => {
84
80
  b("page-change", t);
@@ -89,73 +85,73 @@ const tt = {
89
85
  b("sort", o);
90
86
  }, xe = (t, a, o, s, c) => {
91
87
  }, Ce = (t) => {
92
- I.value = t;
93
- }, Re = (t, a) => {
88
+ O.value = t;
89
+ }, ke = (t, a) => {
94
90
  E.value = t;
95
- }, ke = (t, a, o) => {
96
- let s = t.target.children[0], c = $.getWidth(s) + 16 + 14, d = a.realWidth || a.width;
91
+ }, Re = (t, a, o) => {
92
+ let s = t.target.children[0], c = w.dom.getWidth(s) + 16 + 14, d = a.realWidth || a.width;
97
93
  o._headerTooltip = c > d;
98
94
  }, Se = async (t, a, o, s) => {
99
95
  await oe.setColumnWidth(p.value.paging.route, r.value.name, o.property, t);
100
96
  }, X = () => {
101
97
  var s, c, d;
102
- let t = $.getHeight(V.value), a = $.getHeight([(s = L.value) == null ? void 0 : s.$el, (c = K.value) == null ? void 0 : c.$el, (d = O.value) == null ? void 0 : d.$el]), o = t - a;
103
- F.value = `${o}px`;
98
+ let t = w.dom.getHeight(V.value), a = w.dom.getHeight([(s = L.value) == null ? void 0 : s.$el, (c = F.value) == null ? void 0 : c.$el, (d = I.value) == null ? void 0 : d.$el]), o = t - a;
99
+ K.value = `${o}px`;
104
100
  }, Y = () => {
105
- let t = H.value;
101
+ let t = B.value;
106
102
  t <= 690 ? y.value.count = 5 : y.value.count = 7, t <= 300 ? y.value.layout = "pager" : t <= 620 ? y.value.layout = "prev, pager, next" : y.value.layout = "sizes, total, prev, pager, next, jumper";
107
103
  }, ze = (t, a) => {
108
104
  if (!W.value || !W.value.keyboard)
109
105
  return !1;
110
106
  W.value.keyboard(t, a);
111
107
  }, $e = (t) => {
112
- L.value.resize(t), H.value = $.getWidth(V.value), Y(), j(() => {
108
+ L.value.resize(t), B.value = w.dom.getWidth(V.value), Y(), P(() => {
113
109
  X();
114
110
  });
115
111
  };
116
- Ue(async () => {
117
- await de.open(Q.value, "sys", "page"), H.value = $.getWidth(V.value), Y(), j(() => {
112
+ Te(async () => {
113
+ await de.open(G.value, "sys", "page"), B.value = w.dom.getWidth(V.value), Y(), P(() => {
118
114
  X();
119
115
  });
120
116
  });
121
117
  let Ve = ae(() => {
122
- let a = Object.keys(u.value.orderBys)[0], o = u.value.orderBys[a];
118
+ let a = Object.keys(i.value.orderBys)[0], o = i.value.orderBys[a];
123
119
  return { prop: a, order: o ? "ascending" : "descending" };
124
120
  }), We = ae(() => {
125
121
  let t = `/${r.value.name}/paging-row`;
126
122
  return Le.getComponent(t, "partial", "paging-row");
127
123
  });
128
124
  return re({ keyboard: ze, resize: $e }), (t, a) => {
129
- const o = R("el-table-column"), s = R("el-tooltip"), c = R("el-table"), d = R("el-pagination"), C = R("el-drawer");
130
- return f(), U("div", {
125
+ const o = R("el-table-column"), s = R("el-tooltip"), c = R("el-table"), d = R("el-pagination"), k = R("el-drawer");
126
+ return f(), T("div", {
131
127
  ref_key: "pagingRef",
132
128
  ref: V,
133
129
  class: "paging-table"
134
130
  }, [
135
- v(Xe, {
131
+ v(Je, {
136
132
  ref_key: "searchRef",
137
133
  ref: L,
138
- schema: e(T),
134
+ schema: e(U),
139
135
  table: e(r),
140
- layout: e(u),
136
+ layout: e(i),
141
137
  "search-data": e(A),
142
- onSubmit: e(J)
138
+ onSubmit: e(Q)
143
139
  }, null, 8, ["schema", "table", "layout", "search-data", "onSubmit"]),
144
- v(et, {
140
+ v(Ye, {
145
141
  ref_key: "headerRef",
146
- ref: K,
147
- schema: e(T),
142
+ ref: F,
143
+ schema: e(U),
148
144
  table: e(r),
149
- layout: e(u),
150
- set: e(_),
145
+ layout: e(i),
146
+ set: e(x),
151
147
  next: e(p),
152
148
  selection: e(E),
153
149
  "search-data": e(A),
154
150
  onAdd: e(pe),
155
- onRemove: e(G),
156
- onShowImport: a[0] || (a[0] = (l) => w(m) ? m.value = !0 : m = !0),
157
- onShowExport: a[1] || (a[1] = (l) => w(g) ? g.value = !0 : g = !0),
158
- onSearch: e(J)
151
+ onRemove: e(J),
152
+ onShowImport: a[0] || (a[0] = (l) => _(m) ? m.value = !0 : m = !0),
153
+ onShowExport: a[1] || (a[1] = (l) => _(g) ? g.value = !0 : g = !0),
154
+ onSearch: e(Q)
159
155
  }, null, 8, ["schema", "table", "layout", "set", "next", "selection", "search-data", "onAdd", "onRemove", "onSearch"]),
160
156
  v(c, {
161
157
  ref_key: "tableRef",
@@ -164,34 +160,34 @@ const tt = {
164
160
  size: "small",
165
161
  border: "",
166
162
  "highlight-current-row": "",
167
- "max-height": e(F),
168
- data: e(_)[e(r).name],
163
+ "max-height": e(K),
164
+ data: e(x)[e(r).name],
169
165
  "default-sort": e(Ve),
170
- onSelectionChange: a[2] || (a[2] = (l) => e(Re)(l, e(r))),
166
+ onSelectionChange: a[2] || (a[2] = (l) => e(ke)(l, e(r))),
171
167
  onSortChange: a[3] || (a[3] = (l) => e(_e)(l, e(r))),
172
168
  onHeaderDragend: e(Se)
173
169
  }, {
174
170
  empty: h(() => [
175
- le(k(e(q)("common.no_data")), 1)
171
+ le(S(e(q)("common.no_data")), 1)
176
172
  ]),
177
173
  default: h(() => [
178
174
  v(o, {
179
175
  type: "selection",
180
176
  width: "30"
181
177
  }),
182
- (f(!0), U(Te, null, Ee(e(r).show, (l, rt) => {
178
+ (f(!0), T(Ue, null, Ee(e(r).show, (l, ot) => {
183
179
  var Z, ee, te;
184
- return f(), S(o, {
180
+ return f(), z(o, {
185
181
  sortable: e(r) ? "custom" : !1,
186
182
  prop: l.name,
187
183
  "sort-orders": ["descending", "ascending"],
188
- fixed: e(u).fixed.indexOf(l.name) > -1,
189
- "min-width": ((te = (ee = (Z = e(Q)) == null ? void 0 : Z[e(p).paging.route]) == null ? void 0 : ee[e(r).name]) == null ? void 0 : te[l.name]) ?? l.control.width,
184
+ fixed: e(i).fixed.indexOf(l.name) > -1,
185
+ "min-width": ((te = (ee = (Z = e(G)) == null ? void 0 : Z[e(p).paging.route]) == null ? void 0 : ee[e(r).name]) == null ? void 0 : te[l.name]) ?? l.control.width,
190
186
  label: `${l.label}${l.control.prefix || l.suffix ? "(" + (l.control.prefix || l.suffix) + ")" : ""}`,
191
187
  key: `${e(r).name}.${l.name}`
192
188
  }, {
193
- header: h((B) => [
194
- l.control.required && l.control.editable ? (f(), U("i", tt)) : z("", !0),
189
+ header: h((H) => [
190
+ l.control.required && l.control.editable ? (f(), T("i", Ze)) : $("", !0),
195
191
  v(s, {
196
192
  placement: "top",
197
193
  content: l.label,
@@ -199,23 +195,23 @@ const tt = {
199
195
  }, {
200
196
  default: h(() => [
201
197
  D("span", {
202
- onMouseenter: (P) => e(ke)(P, B.column, l)
198
+ onMouseenter: (j) => e(Re)(j, H.column, l)
203
199
  }, [
204
- D("span", null, k(e(Pe)(e(r).name, l.name)), 1)
205
- ], 40, at)
200
+ D("span", null, S(e(je)(e(r).name, l.name)), 1)
201
+ ], 40, et)
206
202
  ]),
207
203
  _: 2
208
204
  }, 1032, ["content", "disabled"])
209
205
  ]),
210
- default: h((B) => [
211
- v(je, {
212
- schema: e(T),
206
+ default: h((H) => [
207
+ v(Pe, {
208
+ schema: e(U),
213
209
  table: e(r),
214
210
  field: l,
215
- set: e(_),
216
- row: B.row,
217
- config: e(qe).getConfig(l, e(ue).type, e(u).type),
218
- onChange: (P) => e(xe)(P, e(r), l, e(_), B.row)
211
+ set: e(x),
212
+ row: H.row,
213
+ config: e(qe).getConfig(l, e(ie).type, e(i).type),
214
+ onChange: (j) => e(xe)(j, e(r), l, e(x), H.row)
219
215
  }, null, 8, ["schema", "table", "field", "set", "row", "config", "onChange"])
220
216
  ]),
221
217
  _: 2
@@ -225,19 +221,19 @@ const tt = {
225
221
  label: e(q)("common.operation"),
226
222
  fixed: "right",
227
223
  "show-overflow-tooltip": "",
228
- "min-width": e(I)
224
+ "min-width": e(O)
229
225
  }, {
230
226
  default: h((l) => [
231
- (f(), S(Ne(e(We)), {
227
+ (f(), z(Ne(e(We)), {
232
228
  table: e(r),
233
229
  next: e(p),
234
- set: e(_),
230
+ set: e(x),
235
231
  row: l.row,
236
232
  onPreview: e(me),
237
233
  onEdit: e(ge),
238
234
  onCopy: e(ce),
239
235
  onBeforeRemove: e(ve),
240
- onRemove: e(G),
236
+ onRemove: e(J),
241
237
  onChangeWidth: e(Ce)
242
238
  }, null, 40, ["table", "next", "set", "row", "onPreview", "onEdit", "onCopy", "onBeforeRemove", "onRemove", "onChangeWidth"]))
243
239
  ]),
@@ -248,57 +244,57 @@ const tt = {
248
244
  }, 8, ["class", "max-height", "data", "default-sort", "onHeaderDragend"]),
249
245
  v(e(Ae), {
250
246
  ref_key: "footerRef",
251
- ref: O,
247
+ ref: I,
252
248
  class: "list-toolbar"
253
249
  }, {
254
250
  default: h(() => [
255
251
  v(d, {
256
252
  background: "",
257
253
  layout: e(y).layout,
258
- "current-page": e(u).page,
254
+ "current-page": e(i).page,
259
255
  "pager-count": e(y).count,
260
- total: e(u).count,
256
+ total: e(i).count,
261
257
  "page-sizes": e(y).sizes,
262
258
  onCurrentChange: e(be),
263
259
  onSizeChange: e(we),
264
- "page-size": e(u).pageSize,
265
- "onUpdate:pageSize": a[4] || (a[4] = (l) => e(u).pageSize = l)
260
+ "page-size": e(i).pageSize,
261
+ "onUpdate:pageSize": a[4] || (a[4] = (l) => e(i).pageSize = l)
266
262
  }, null, 8, ["layout", "current-page", "pager-count", "total", "page-sizes", "onCurrentChange", "onSizeChange", "page-size"])
267
263
  ]),
268
264
  _: 1
269
265
  }, 512),
270
- e(p).import ? (f(), S(Ye, {
266
+ e(p).import ? (f(), z(Qe, {
271
267
  key: 0,
272
268
  next: e(p),
273
- onClose: a[5] || (a[5] = (l) => w(m) ? m.value = !1 : m = !1),
269
+ onClose: a[5] || (a[5] = (l) => _(m) ? m.value = !1 : m = !1),
274
270
  onSucceed: e(M),
275
271
  modelValue: e(m),
276
- "onUpdate:modelValue": a[6] || (a[6] = (l) => w(m) ? m.value = l : m = l)
277
- }, null, 8, ["next", "onSucceed", "modelValue"])) : z("", !0),
278
- e(p).export ? (f(), S(Ze, {
272
+ "onUpdate:modelValue": a[6] || (a[6] = (l) => _(m) ? m.value = l : m = l)
273
+ }, null, 8, ["next", "onSucceed", "modelValue"])) : $("", !0),
274
+ e(p).export ? (f(), z(Xe, {
279
275
  key: 1,
280
276
  route: e(p).export.route,
281
- "page-count": e(Ke).pageCount(e(u).count, e(u).pageSize),
282
- onClose: a[7] || (a[7] = (l) => w(g) ? g.value = !1 : g = !1),
277
+ "page-count": e(w).math.pageCount(e(i).count, e(i).pageSize),
278
+ onClose: a[7] || (a[7] = (l) => _(g) ? g.value = !1 : g = !1),
283
279
  modelValue: e(g),
284
- "onUpdate:modelValue": a[8] || (a[8] = (l) => w(g) ? g.value = l : g = l)
285
- }, null, 8, ["route", "page-count", "modelValue"])) : z("", !0),
286
- e(n).page ? (f(), S(C, {
280
+ "onUpdate:modelValue": a[8] || (a[8] = (l) => _(g) ? g.value = l : g = l)
281
+ }, null, 8, ["route", "page-count", "modelValue"])) : $("", !0),
282
+ e(n).page ? (f(), z(k, {
287
283
  key: 2,
288
284
  "destroy-on-close": "",
289
285
  "append-to-body": e(n).appendToBody,
290
- size: e(oe).getDrawerWidth(e(H)),
286
+ size: e(oe).getDrawerWidth(e(B)),
291
287
  modelValue: e(n).visible,
292
288
  "onUpdate:modelValue": a[9] || (a[9] = (l) => e(n).visible = l)
293
289
  }, {
294
290
  header: h(() => [
295
- D("div", lt, [
296
- le(k(e(n).title) + " ", 1),
297
- e(n).env ? (f(), U("span", ot, "[" + k(e(n).env) + "]", 1)) : z("", !0),
291
+ D("div", tt, [
292
+ le(S(e(n).title) + " ", 1),
293
+ e(n).env ? (f(), T("span", at, "[" + S(e(n).env) + "]", 1)) : $("", !0),
298
294
  D("a", {
299
295
  class: "drawer-copy",
300
- href: e(Oe).getToUrl(e(n).url)
301
- }, k(e(q)("common.link")), 9, nt)
296
+ href: e(w).url.getToUrl(e(n).url)
297
+ }, S(e(q)("common.link")), 9, lt)
302
298
  ])
303
299
  ]),
304
300
  default: h(() => [
@@ -312,11 +308,11 @@ const tt = {
312
308
  }, null, 8, ["url", "onLoaded", "onSucceed", "onClose"])
313
309
  ]),
314
310
  _: 1
315
- }, 8, ["append-to-body", "size", "modelValue"])) : z("", !0)
311
+ }, 8, ["append-to-body", "size", "modelValue"])) : $("", !0)
316
312
  ], 512);
317
313
  };
318
314
  }
319
315
  });
320
316
  export {
321
- _t as default
317
+ vt as default
322
318
  };
@@ -0,0 +1,241 @@
1
+ import { defineComponent as be, defineAsyncComponent as Ce, toRefs as Se, ref as c, onMounted as Re, computed as K, watch as ke, resolveComponent as b, openBlock as v, createElementBlock as z, Fragment as Q, createVNode as S, unref as e, withCtx as g, createTextVNode as $e, toDisplayString as T, createBlock as F, createCommentVNode as H, renderList as ze, createElementVNode as C, normalizeStyle as Fe, resolveDynamicComponent as He, nextTick as X } from "vue";
2
+ import { H as d, e as De, t as Ie, g as Be, w as Y, s as W, S as Te, I as We, J as q } from "./main-DKQm8MHi.js";
3
+ import "./assets/moment-h96o7c8I.js";
4
+ import "./assets/liquidjs-B8dqQyVv.js";
5
+ const qe = {
6
+ key: 0,
7
+ class: "required"
8
+ }, Ee = ["onMouseenter"], Me = { class: "footer-left" }, Ne = { class: "footer-right" }, Le = /* @__PURE__ */ be({
9
+ __name: "Table",
10
+ props: {
11
+ route: {},
12
+ validateErrors: {},
13
+ module: {},
14
+ schema: {},
15
+ table: {},
16
+ layout: {},
17
+ next: {},
18
+ set: {}
19
+ },
20
+ emits: ["submit", "change", "row-edit"],
21
+ setup(Z, { expose: ee, emit: te }) {
22
+ let le = Ce(() => import("./Index-B4fTYPvp.js")), D = te, ae = Z, { schema: E, table: l, layout: m, set: s, next: Ve, route: M, module: R, validateErrors: N } = Se(ae), w = c({ page: 1 }), V = c({}), p = c([]), oe = c(!0), k = c(), A = c(), O = c(), U = c(), h = c({ layout: "prev, pager, next", count: 5 }), ne = new Te(), re = (t, a, n) => {
23
+ D("row-edit", t, l.value, n);
24
+ }, ue = (t) => {
25
+ D("submit", t);
26
+ }, ie = (t, a) => {
27
+ let n = l.value.show[a];
28
+ return n._headerWidth ? (t.column.realWidth || t.column.width) > n._headerWidth + 20 : !0;
29
+ }, se = (t, a) => {
30
+ let n = t.target.children[0].offsetWidth, u = l.value.show[a];
31
+ u._headerWidth = n;
32
+ }, de = (t, a, n, u, o) => {
33
+ D("change", t, a, n, u, o);
34
+ }, j = (t) => s.value[l.value.name].indexOf(t), me = (t) => {
35
+ p.value = t;
36
+ }, pe = async (t, a, n, u, o) => {
37
+ await We.setColumnWidth(M.value, o.name, n.property, t);
38
+ }, ce = (t) => {
39
+ L(t.contentRect.width), X(() => {
40
+ J(t.contentRect.height);
41
+ });
42
+ }, L = (t = null) => {
43
+ let a = d.dom.parentUntil(k.value.$el, ".ha-main-form");
44
+ t == null && (t = d.dom.getWidth(a)), t <= 690 ? h.value.count = 5 : h.value.count = 7, t <= 300 ? h.value.layout = "pager" : t <= 620 ? h.value.layout = "prev, pager, next" : h.value.layout = "total, prev, pager, next, jumper";
45
+ }, J = (t = null) => {
46
+ let a = d.dom.parentUntil(k.value.$el, ".ha-main-form");
47
+ t || (t = d.dom.getHeight(a));
48
+ let n = d.dom.getHeight(A.value), u = d.dom.find(a, ".main-footer"), o = d.dom.getHeight(u), i = t - n - o;
49
+ U.value = `${i}px`;
50
+ }, fe = async () => {
51
+ let t = s.value[l.value.name].length, a = W.getDefaultRow(l.value);
52
+ s.value[l.value.name].push(a);
53
+ let n = l.value.fields.filter((o) => o.feature != null);
54
+ for (let o = 0; o < n.length; o++) {
55
+ let i = n[o];
56
+ (await q.feature.createAsync(i.feature.type)).add(l.value, i, s.value, a);
57
+ }
58
+ I(t);
59
+ let u = d.scroll.isBottom(".tree-detail");
60
+ await X(() => {
61
+ u && d.scroll.scrollToBottom(".tree-detail");
62
+ });
63
+ }, ve = async (t = null) => {
64
+ let a = p.value[0], n = W.getDefaultRow(l.value), u = d.array.insert(s.value[l.value.name], a, n), o = l.value.fields.filter((i) => i.feature != null);
65
+ for (let i = 0; i < o.length; i++) {
66
+ let f = o[i];
67
+ (await q.feature.create(f.feature.type)).insert(l.value, f, s.value, a, n);
68
+ }
69
+ I(u), t == null || t(u);
70
+ }, ge = async () => {
71
+ let t = l.value.key.name, a = d.object.clone(p.value, (o) => {
72
+ o[t] = null, o[`Old_${t}`] = null;
73
+ }), n = s.value[l.value.name].indexOf(p.value[0]);
74
+ for (let o = 0; o < p.value.length; o++) {
75
+ let i = p.value[o], f = a[o];
76
+ d.array.append(s.value[l.value.name], i, f);
77
+ }
78
+ let u = l.value.fields.filter((o) => o.feature != null);
79
+ for (let o = 0; o < u.length; o++) {
80
+ let i = u[o];
81
+ (await q.feature.create(i.feature.type)).copy(l.value, i, s.value);
82
+ }
83
+ I(n);
84
+ }, he = () => {
85
+ d.array.remove(s.value[l.value.name], p.value), p.value = [];
86
+ }, I = (t) => {
87
+ let a = d.math.pageCount(t + 1, m.value.pageSize);
88
+ w.value.page = a;
89
+ }, ye = (t) => {
90
+ w.value.page = t;
91
+ }, we = () => {
92
+ k.value.$el.querySelector("tbody");
93
+ };
94
+ Re(async () => {
95
+ await ne.open(V.value, "sys", "page"), we(), L(), d.component.detectLoaded(O, () => {
96
+ J();
97
+ });
98
+ });
99
+ let _e = K(() => {
100
+ let t = (w.value.page - 1) * m.value.pageSize, a = w.value.page * m.value.pageSize - 1;
101
+ return s.value[l.value.name].filter((u, o) => o >= t && o <= a);
102
+ }), xe = K(() => {
103
+ let t = l.value.main ? `/${l.value.name}` : `/${E.value[0].name}/${l.value.name}`;
104
+ return De.getComponent(`${t}/update-child`, "partial", "update-child");
105
+ });
106
+ return ke(N, (t, a) => {
107
+ let n = t.find((u) => u.table == l.value.name);
108
+ n != null && (w.value.page = Math.ceil((n.index + 1) / m.value.pageSize));
109
+ }), ee({ resize: ce }), (t, a) => {
110
+ const n = b("el-table-column"), u = b("el-tooltip"), o = b("el-popover"), i = b("el-form-item"), f = b("el-table"), P = b("el-pagination");
111
+ return v(), z(Q, null, [
112
+ S(f, {
113
+ ref_key: "tableRef",
114
+ ref: k,
115
+ class: "ha-table-layout table-default",
116
+ size: "small",
117
+ border: "",
118
+ "max-height": e(U),
119
+ data: e(_e),
120
+ onRowClick: a[0] || (a[0] = (r, y, _) => e(re)(r, y, _)),
121
+ onSelectionChange: e(me),
122
+ onHeaderDragend: a[1] || (a[1] = (r, y, _, $) => e(pe)(r, y, _, $, e(l)))
123
+ }, {
124
+ empty: g(() => [
125
+ $e(T(e(Ie)("common.no_data")), 1)
126
+ ]),
127
+ default: g(() => [
128
+ e(oe) ? (v(), F(n, {
129
+ key: 0,
130
+ type: "selection",
131
+ width: "40",
132
+ fixed: ""
133
+ })) : H("", !0),
134
+ (v(!0), z(Q, null, ze(e(l).show, (r, y) => {
135
+ var _, $, G;
136
+ return v(), F(n, {
137
+ key: r.name,
138
+ "show-overflow-tooltip": "",
139
+ prop: r.name,
140
+ label: r.label,
141
+ "min-width": ((G = ($ = (_ = e(V)) == null ? void 0 : _[e(M)]) == null ? void 0 : $[e(l).name]) == null ? void 0 : G[r.name]) ?? r.control.width,
142
+ fixed: e(m).fixed.length > 0 ? e(m).fixed.indexOf(r.name) > -1 : y == 0
143
+ }, {
144
+ header: g((x) => [
145
+ e(R).type != "Detail" && r.control.required ? (v(), z("i", qe, "*")) : H("", !0),
146
+ S(u, {
147
+ placement: "top",
148
+ content: r.label,
149
+ disabled: e(ie)(x, y)
150
+ }, {
151
+ default: g(() => [
152
+ C("span", {
153
+ onMouseenter: (B) => e(se)(B, y)
154
+ }, [
155
+ C("span", null, T(e(Be)(e(l).table, r.name)), 1)
156
+ ], 40, Ee)
157
+ ]),
158
+ _: 2
159
+ }, 1032, ["content", "disabled"]),
160
+ r.control.tooltip ? (v(), F(o, {
161
+ key: 1,
162
+ trigger: "hover",
163
+ placement: "top",
164
+ width: "auto",
165
+ title: r.control.tooltip.title
166
+ }, {
167
+ reference: g(() => a[2] || (a[2] = [
168
+ C("i", { class: "fa fa-question-circle icon-question" }, null, -1)
169
+ ])),
170
+ default: g(() => [
171
+ C("pre", null, T(r.control.tooltip.content), 1)
172
+ ]),
173
+ _: 2
174
+ }, 1032, ["title"])) : H("", !0)
175
+ ]),
176
+ default: g((x) => [
177
+ S(i, {
178
+ style: Fe(e(Y).getStyle(r, e(R).type, e(m).type)),
179
+ rules: e(W).getRules(e(N), e(l), r, x.$index),
180
+ prop: `[${e(l).name}][${e(j)(x.row)}][${r.name}]`
181
+ }, {
182
+ default: g(() => [
183
+ S(e(le), {
184
+ schema: e(E),
185
+ table: e(l),
186
+ field: r,
187
+ set: e(s),
188
+ row: x.row,
189
+ config: e(Y).getConfig(r, e(R).type, e(m).type),
190
+ onSubmit: e(ue),
191
+ onChange: (B) => e(de)(B, e(s), e(l), r, e(j)(x.row))
192
+ }, null, 8, ["schema", "table", "field", "set", "row", "config", "onSubmit", "onChange"])
193
+ ]),
194
+ _: 2
195
+ }, 1032, ["style", "rules", "prop"])
196
+ ]),
197
+ _: 2
198
+ }, 1032, ["prop", "label", "min-width", "fixed"]);
199
+ }), 128))
200
+ ]),
201
+ _: 1
202
+ }, 8, ["max-height", "data", "onSelectionChange"]),
203
+ e(l).main ? H("", !0) : (v(), z("div", {
204
+ key: 0,
205
+ ref_key: "footerRef",
206
+ ref: A,
207
+ class: "table-footer"
208
+ }, [
209
+ C("div", Me, [
210
+ (v(), F(He(e(xe)), {
211
+ ref_key: "operationRef",
212
+ ref: O,
213
+ module: e(R),
214
+ table: e(l),
215
+ set: e(s),
216
+ selection: e(p),
217
+ onAdd: e(fe),
218
+ onInsert: e(ve),
219
+ onCopy: e(ge),
220
+ onRemove: e(he)
221
+ }, null, 40, ["module", "table", "set", "selection", "onAdd", "onInsert", "onCopy", "onRemove"]))
222
+ ]),
223
+ C("div", Ne, [
224
+ S(P, {
225
+ background: "",
226
+ layout: e(h).layout,
227
+ "current-page": e(w).page,
228
+ "page-size": e(m).pageSize,
229
+ "pager-count": e(h).count,
230
+ total: e(s)[e(l).name].length,
231
+ onCurrentChange: e(ye)
232
+ }, null, 8, ["layout", "current-page", "page-size", "pager-count", "total", "onCurrentChange"])
233
+ ])
234
+ ], 512))
235
+ ], 64);
236
+ };
237
+ }
238
+ });
239
+ export {
240
+ Le as default
241
+ };