halo-pc 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (305) hide show
  1. package/dist/{Article-CjlnxF__.js → Article-7pMF1N-k.js} +67 -71
  2. package/dist/{Autocomplete-BnQpnnyK.js → Autocomplete-CEjjKXwo.js} +1 -1
  3. package/dist/Autocomplete-DqKo5NiJ.js +49 -0
  4. package/dist/Autocomplete-K5ipzchR.js +48 -0
  5. package/dist/{CSharp-Dxc7debp.js → CSharp-DatSqpip.js} +1 -1
  6. package/dist/{Calender-CZajLEjs.js → Calender-B1HoFiQg.js} +1 -1
  7. package/dist/Callback-PyCjejiv.js +20 -0
  8. package/dist/Cascader-B9lLRKjA.js +80 -0
  9. package/dist/Cascader-BNvlqc5t.js +41 -0
  10. package/dist/{Checkbox-DvjA_jtM.js → Checkbox-B6IkMrWB.js} +1 -1
  11. package/dist/Code-BdK547kD.js +4 -0
  12. package/dist/Code-DfFF-84i.js +36 -0
  13. package/dist/Code-LFQVJotC.js +54 -0
  14. package/dist/{Code-Dn68YB2V.js → Code-SZuIImtp.js} +1 -1
  15. package/dist/Code.vue_vue_type_style_index_0_lang-nX113anq.js +59 -0
  16. package/dist/Column-DVjYrrr7.js +67 -0
  17. package/dist/Comment-Do7Mjpjr.js +98 -0
  18. package/dist/Compare-C_iDn27Q.js +56 -0
  19. package/dist/Compare-CrX3yfD4.js +26 -0
  20. package/dist/{Copy-C5yEC9dX.js → Copy-_sbdQvHJ.js} +11 -11
  21. package/dist/Custom-DarpQFG8.js +49 -0
  22. package/dist/{DataExport-GCZvxEp5.js → DataExport-I9iG4oEo.js} +1 -1
  23. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-CqT0RHF6.js → DataExport.vue_vue_type_script_setup_true_lang-BgKetUGv.js} +32 -36
  24. package/dist/{DataImport-BofV1eCR.js → DataImport-2KtOy-of.js} +1 -1
  25. package/dist/DataImport.vue_vue_type_script_setup_true_lang-DgzKdC2g.js +170 -0
  26. package/dist/{Date-DgpsRJon.js → Date-PERpDDy_.js} +1 -1
  27. package/dist/{DateRange-UHosLXP9.js → DateRange-BaxHMjcx.js} +7 -11
  28. package/dist/{DateTime-CHn5T-FB.js → DateTime-B7gHENiu.js} +1 -1
  29. package/dist/{DateTimeRange-6TctUiMd.js → DateTimeRange-yI9Y2qgC.js} +10 -14
  30. package/dist/{Daterange-DISQqOFM.js → Daterange-DqvBvK-B.js} +13 -17
  31. package/dist/{Decimal-BB2w4V2o.js → Decimal-AXwMeqBW.js} +1 -1
  32. package/dist/Delete-BY3vAVWa.js +55 -0
  33. package/dist/{Detail-D-6vJTGF.js → Detail-aWACqVnM.js} +16 -18
  34. package/dist/Dictionary-DpQuFYQ5.js +55 -0
  35. package/dist/{File-CMCYSg30.js → File--NsXL6XX.js} +26 -29
  36. package/dist/{Image-BL458jPH.js → Image-CuwfJLKW.js} +1 -1
  37. package/dist/{Index-Ch59SxF3.js → Index-BNOFdDjW.js} +15 -19
  38. package/dist/Index-B_a_HzsB.js +4 -0
  39. package/dist/{Index-DZkeSKKp.js → Index-CQ9S2R9b.js} +1 -1
  40. package/dist/{Index-Cp7EDm0u.js → Index-Cewv4-Ik.js} +52 -57
  41. package/dist/{Index-B1ZfzgLV.js → Index-Cj79dCuO.js} +1 -1
  42. package/dist/Index-Cx2J_P37.js +4 -0
  43. package/dist/{Index-CopnEHli.js → Index-DA2wAurY.js} +1 -1
  44. package/dist/{Index.vue_vue_type_script_setup_true_lang-DOibFo1_.js → Index.vue_vue_type_script_setup_true_lang-D6_VOLX-.js} +13 -18
  45. package/dist/{Index.vue_vue_type_script_setup_true_lang-Dwm5MQ9l.js → Index.vue_vue_type_script_setup_true_lang-DjiARPz7.js} +12 -17
  46. package/dist/{Index.vue_vue_type_style_index_0_lang-D9Jt6Of_.js → Index.vue_vue_type_style_index_0_lang-DApNHvNX.js} +27 -31
  47. package/dist/{Install-CJbpeRw0.js → Install-BWdNbtVx.js} +17 -19
  48. package/dist/{Int-CkzuFSk2.js → Int-nmVkFRqG.js} +12 -16
  49. package/dist/List-BjdY1rMk.js +72 -0
  50. package/dist/Maintaince-DzYzyrAc.js +15 -0
  51. package/dist/{Markdown-Dq7L9EMQ.js → Markdown-DD6ufwhM.js} +1 -1
  52. package/dist/{Month-CUX-EnU_.js → Month-BqbTFGgo.js} +1 -1
  53. package/dist/{Normal-B2w0Isvm.js → Normal-f4HN1ciI.js} +48 -51
  54. package/dist/Paging-BMPtLi8P.js +90 -0
  55. package/dist/QueryApi-CbP5cCyH.js +13 -0
  56. package/dist/{Racebar-DqWtIQm-.js → Racebar-Bou-XNCm.js} +23 -27
  57. package/dist/{Radio-xLd4l78I.js → Radio-BmikzeCv.js} +1 -1
  58. package/dist/{Register-Bio0HxyZ.js → Register-CgbRZH9W.js} +86 -93
  59. package/dist/{RichText-BYNi_iMx.js → RichText-BeK3zZam.js} +18 -22
  60. package/dist/{SearchFooter-BAPlMiuj.js → SearchFooter-C4PeAkaR.js} +1 -1
  61. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-Bp7M7_IY.js → SearchFooter.vue_vue_type_style_index_0_lang-BaO7vJ-n.js} +1 -1
  62. package/dist/{SearchForm-BaPwWOch.js → SearchForm-C7fZiQaW.js} +1 -1
  63. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BJeXUISp.js → SearchForm.vue_vue_type_style_index_0_lang-BumSLQVy.js} +26 -31
  64. package/dist/{Select-Doyr8ioF.js → Select-C1-NVZdG.js} +17 -21
  65. package/dist/{Select-DMDcHdlD.js → Select-DR5fQH0d.js} +36 -41
  66. package/dist/{Select-Dlx4Tg2X.js → Select-DlbQvxQu.js} +1 -1
  67. package/dist/{Single-B4EEi5Bm.js → Single-BLRyJKB-.js} +75 -79
  68. package/dist/{Statistic-AY1NP5tM.js → Statistic-BOtmYiRA.js} +30 -34
  69. package/dist/{Stock-CcBqUgOB.js → Stock-BqQ6lM5B.js} +1 -1
  70. package/dist/{Stock-Sh2UHojP.js → Stock-Dnwof0R1.js} +1 -1
  71. package/dist/{Stock.vue_vue_type_style_index_0_lang-CcHVxdzc.js → Stock.vue_vue_type_style_index_0_lang-Az2jx3JN.js} +22 -26
  72. package/dist/{Switch-BOsRzAW-.js → Switch-DuMBV0AX.js} +1 -1
  73. package/dist/{Table-CrMo5L6q.js → Table-Be-rPXr_.js} +69 -71
  74. package/dist/{Table-C9IrdZEj.js → Table-RMVT0hlE.js} +79 -84
  75. package/dist/Text-DSXRKFPa.js +4 -0
  76. package/dist/Text.vue_vue_type_style_index_0_lang-CeDusQl6.js +52 -0
  77. package/dist/TextLink-BZW-y_FS.js +62 -0
  78. package/dist/{Textarea-WPLyT7XC.js → Textarea-3ypOGE1S.js} +1 -1
  79. package/dist/{Timeline-Dolubd-b.js → Timeline-CLezCcgQ.js} +17 -21
  80. package/dist/{Tree-KwP6ais4.js → Tree-B6RBRT1y.js} +63 -65
  81. package/dist/Tree-CLpCeirT.js +117 -0
  82. package/dist/TreeNode-C16N8jqm.js +34 -0
  83. package/dist/{Update-C5bPCalk.js → Update-Dc3Tdkn0.js} +11 -13
  84. package/dist/Upload-DvWyjK3a.js +143 -0
  85. package/dist/Upload-SEu1V1yX.js +67 -0
  86. package/dist/{UploadApi-vYU0Jda6.js → UploadApi-Bs507D0w.js} +3 -8
  87. package/dist/{Year-Dlp5PKhI.js → Year-DKxOQNyS.js} +1 -1
  88. package/dist/main-QtNG6p7a.js +16673 -0
  89. package/dist/main.js +82 -76
  90. package/dist/style.css +1 -1
  91. package/dist/{vendor-clipboard-BqjesuiY.js → vendor-clipboard-DjQPoCBJ.js} +110 -130
  92. package/dist/{vendor-intro.js-CZkClzQO.js → vendor-intro.js-DwWqhM1v.js} +1 -1
  93. package/dist/vendor-pinia-yrN6kSxh.js +861 -0
  94. package/dist/vendor-vue-demi-CIhrFbpB.js +17 -0
  95. package/esm/coms/business/HaCondition.vue.d.ts +18 -0
  96. package/esm/coms/business/HaCrud.vue.d.ts +29 -0
  97. package/esm/coms/business/HaDrawer.vue.d.ts +24 -0
  98. package/esm/coms/business/HaDriver.vue.d.ts +52 -0
  99. package/esm/coms/business/HaFeedback.vue.d.ts +8 -0
  100. package/esm/coms/business/HaForm.vue.d.ts +23 -0
  101. package/esm/coms/business/HaSwitch.vue.d.ts +24 -0
  102. package/esm/coms/business/HaWelcome.vue.d.ts +8 -0
  103. package/esm/coms/business/index.d.ts +124 -0
  104. package/esm/coms/commons/HaCaptcha.vue.d.ts +14 -0
  105. package/esm/coms/commons/HaDebug.vue.d.ts +9 -0
  106. package/esm/coms/commons/HaEditable.vue.d.ts +13 -0
  107. package/esm/coms/commons/HaLoading.vue.d.ts +33 -0
  108. package/esm/coms/commons/HaMouseContext.vue.d.ts +2 -0
  109. package/esm/coms/commons/HaParticles.vue.d.ts +2 -0
  110. package/esm/coms/commons/HaResizer.vue.d.ts +26 -0
  111. package/esm/coms/commons/HaSpinner.vue.d.ts +20 -0
  112. package/esm/coms/commons/HaTable.vue.d.ts +34 -0
  113. package/esm/coms/commons/HaTableColumn.vue.d.ts +31 -0
  114. package/esm/coms/commons/index.d.ts +32 -0
  115. package/esm/coms/controls/Autocomplete.vue.d.ts +24 -0
  116. package/esm/coms/controls/Cascader.vue.d.ts +24 -0
  117. package/esm/coms/controls/Checkbox.vue.d.ts +22 -0
  118. package/esm/coms/controls/Code.vue.d.ts +24 -0
  119. package/esm/coms/controls/Color.vue.d.ts +24 -0
  120. package/esm/coms/controls/Compare.vue.d.ts +24 -0
  121. package/esm/coms/controls/Date.vue.d.ts +24 -0
  122. package/esm/coms/controls/DateRange.vue.d.ts +24 -0
  123. package/esm/coms/controls/DateTime.vue.d.ts +24 -0
  124. package/esm/coms/controls/DateTimeRange.vue.d.ts +24 -0
  125. package/esm/coms/controls/Decimal.vue.d.ts +24 -0
  126. package/esm/coms/controls/Email.vue.d.ts +24 -0
  127. package/esm/coms/controls/Image.vue.d.ts +2 -0
  128. package/esm/coms/controls/Index.vue.d.ts +22 -0
  129. package/esm/coms/controls/Int.vue.d.ts +24 -0
  130. package/esm/coms/controls/Markdown.vue.d.ts +24 -0
  131. package/esm/coms/controls/Month.vue.d.ts +24 -0
  132. package/esm/coms/controls/Password.vue.d.ts +24 -0
  133. package/esm/coms/controls/Progress.vue.d.ts +24 -0
  134. package/esm/coms/controls/Radio.vue.d.ts +24 -0
  135. package/esm/coms/controls/Rate.vue.d.ts +24 -0
  136. package/esm/coms/controls/RichText.vue.d.ts +22 -0
  137. package/esm/coms/controls/Select.vue.d.ts +24 -0
  138. package/esm/coms/controls/Switch.vue.d.ts +24 -0
  139. package/esm/coms/controls/Text.vue.d.ts +26 -0
  140. package/esm/coms/controls/Textarea.vue.d.ts +24 -0
  141. package/esm/coms/controls/Time.vue.d.ts +24 -0
  142. package/esm/coms/controls/Upload.vue.d.ts +24 -0
  143. package/esm/coms/controls/Year.vue.d.ts +24 -0
  144. package/esm/coms/controls/index.d.ts +26 -0
  145. package/esm/coms/globals/HaHeaderTab.vue.d.ts +19 -0
  146. package/esm/coms/globals/HaHeaderTabs.vue.d.ts +17 -0
  147. package/esm/coms/globals/HaMenu.vue.d.ts +77 -0
  148. package/esm/coms/globals/HaMenuItem.vue.d.ts +76 -0
  149. package/esm/coms/globals/HaMissComponent.vue.d.ts +9 -0
  150. package/esm/coms/globals/HaSideTab.vue.d.ts +21 -0
  151. package/esm/coms/globals/HaSideTabs.vue.d.ts +17 -0
  152. package/esm/coms/globals/HaWindow.vue.d.ts +66 -0
  153. package/esm/coms/globals/index.d.ts +70 -0
  154. package/esm/coms/headers/Breadcrumb.vue.d.ts +2 -0
  155. package/esm/coms/headers/Debugger.vue.d.ts +2 -0
  156. package/esm/coms/headers/Hamburger.vue.d.ts +18 -0
  157. package/esm/coms/headers/HeaderRight.vue.d.ts +2 -0
  158. package/esm/coms/headers/Index.vue.d.ts +6 -0
  159. package/esm/coms/headers/Log.vue.d.ts +2 -0
  160. package/esm/coms/headers/Logo.vue.d.ts +6 -0
  161. package/esm/coms/headers/Refresh.vue.d.ts +6 -0
  162. package/esm/coms/headers/Setting.vue.d.ts +8 -0
  163. package/esm/coms/headers/index.d.ts +3 -0
  164. package/esm/coms/index.d.ts +11 -0
  165. package/esm/coms/layouts/Desktop.vue.d.ts +2 -0
  166. package/esm/coms/layouts/Index.vue.d.ts +2 -0
  167. package/esm/coms/layouts/Side.vue.d.ts +2 -0
  168. package/esm/coms/layouts/Top.vue.d.ts +2 -0
  169. package/esm/coms/layouts/index.d.ts +7 -0
  170. package/esm/coms/lists/Calender.vue.d.ts +2 -0
  171. package/esm/coms/lists/Racebar.vue.d.ts +18 -0
  172. package/esm/coms/lists/Statistic.vue.d.ts +18 -0
  173. package/esm/coms/lists/Stock.vue.d.ts +12 -0
  174. package/esm/coms/lists/Timeline.vue.d.ts +12 -0
  175. package/esm/coms/lists/Tree.vue.d.ts +26 -0
  176. package/esm/coms/lists/index.d.ts +15 -0
  177. package/esm/coms/pages/Column.vue.d.ts +22 -0
  178. package/esm/coms/pages/Custom.vue.d.ts +25 -0
  179. package/esm/coms/pages/Delete.vue.d.ts +20 -0
  180. package/esm/coms/pages/Index.vue.d.ts +2 -0
  181. package/esm/coms/pages/List.vue.d.ts +24 -0
  182. package/esm/coms/pages/Paging.vue.d.ts +24 -0
  183. package/esm/coms/pages/Single.vue.d.ts +28 -0
  184. package/esm/coms/pages/index.d.ts +146 -0
  185. package/esm/coms/pagings/Article.vue.d.ts +27 -0
  186. package/esm/coms/pagings/Code.vue.d.ts +12 -0
  187. package/esm/coms/pagings/DataExport.vue.d.ts +33 -0
  188. package/esm/coms/pagings/DataImport.vue.d.ts +18 -0
  189. package/esm/coms/pagings/File.vue.d.ts +12 -0
  190. package/esm/coms/pagings/Index.vue.d.ts +33 -0
  191. package/esm/coms/pagings/SearchFooter.vue.d.ts +122 -0
  192. package/esm/coms/pagings/SearchForm.vue.d.ts +72 -0
  193. package/esm/coms/pagings/Table.vue.d.ts +31 -0
  194. package/esm/coms/pagings/index.d.ts +11 -0
  195. package/esm/coms/panels/HaGroup.vue.d.ts +9 -0
  196. package/esm/coms/panels/HaHeader.vue.d.ts +16 -0
  197. package/esm/coms/panels/HaOperation.vue.d.ts +22 -0
  198. package/esm/coms/panels/HaPanel.vue.d.ts +30 -0
  199. package/esm/coms/panels/HaShrink.vue.d.ts +48 -0
  200. package/esm/coms/panels/index.d.ts +13 -0
  201. package/esm/coms/partials/ArticleFooter.vue.d.ts +24 -0
  202. package/esm/coms/partials/Detail.vue.d.ts +20 -0
  203. package/esm/coms/partials/PagingHeader.vue.d.ts +28 -0
  204. package/esm/coms/partials/PagingRow.vue.d.ts +24 -0
  205. package/esm/coms/partials/TreeNode.vue.d.ts +12 -0
  206. package/esm/coms/partials/Update.vue.d.ts +20 -0
  207. package/esm/coms/partials/UpdateChild.vue.d.ts +22 -0
  208. package/esm/coms/partials/index.d.ts +135 -0
  209. package/esm/coms/searches/Autocomplete.vue.d.ts +24 -0
  210. package/esm/coms/searches/Daterange.vue.d.ts +22 -0
  211. package/esm/coms/searches/Index.vue.d.ts +18 -0
  212. package/esm/coms/searches/Int.vue.d.ts +24 -0
  213. package/esm/coms/searches/Month.vue.d.ts +24 -0
  214. package/esm/coms/searches/Select.vue.d.ts +24 -0
  215. package/esm/coms/searches/Text.vue.d.ts +24 -0
  216. package/esm/coms/searches/index.d.ts +7 -0
  217. package/esm/coms/singles/Code.vue.d.ts +18 -0
  218. package/esm/coms/singles/Comment.vue.d.ts +12 -0
  219. package/esm/coms/singles/Index.vue.d.ts +25 -0
  220. package/esm/coms/singles/Normal.vue.d.ts +21 -0
  221. package/esm/coms/singles/Statistic.vue.d.ts +12 -0
  222. package/esm/coms/singles/Stock.vue.d.ts +12 -0
  223. package/esm/coms/singles/Table.vue.d.ts +22 -0
  224. package/esm/coms/singles/Tree.vue.d.ts +14 -0
  225. package/esm/coms/singles/Tree_Old.vue.d.ts +2 -0
  226. package/esm/coms/singles/index.d.ts +15 -0
  227. package/esm/coms/texts/Autocomplete.vue.d.ts +16 -0
  228. package/esm/coms/texts/CSharp.vue.d.ts +16 -0
  229. package/esm/coms/texts/Cascader.vue.d.ts +22 -0
  230. package/esm/coms/texts/Checkbox.vue.d.ts +16 -0
  231. package/esm/coms/texts/Code.vue.d.ts +16 -0
  232. package/esm/coms/texts/Color.vue.d.ts +16 -0
  233. package/esm/coms/texts/Compare.vue.d.ts +16 -0
  234. package/esm/coms/texts/Copy.vue.d.ts +24 -0
  235. package/esm/coms/texts/Date.vue.d.ts +16 -0
  236. package/esm/coms/texts/DateRange.vue.d.ts +16 -0
  237. package/esm/coms/texts/DateTime.vue.d.ts +16 -0
  238. package/esm/coms/texts/Decimal.vue.d.ts +16 -0
  239. package/esm/coms/texts/Dictionary.vue.d.ts +24 -0
  240. package/esm/coms/texts/Email.vue.d.ts +16 -0
  241. package/esm/coms/texts/Index.vue.d.ts +22 -0
  242. package/esm/coms/texts/Int.vue.d.ts +16 -0
  243. package/esm/coms/texts/Markdown.vue.d.ts +16 -0
  244. package/esm/coms/texts/Month.vue.d.ts +16 -0
  245. package/esm/coms/texts/Password.vue.d.ts +16 -0
  246. package/esm/coms/texts/Progress.vue.d.ts +16 -0
  247. package/esm/coms/texts/Radio.vue.d.ts +16 -0
  248. package/esm/coms/texts/Rate.vue.d.ts +24 -0
  249. package/esm/coms/texts/RichText.vue.d.ts +16 -0
  250. package/esm/coms/texts/Select.vue.d.ts +16 -0
  251. package/esm/coms/texts/Switch.vue.d.ts +16 -0
  252. package/esm/coms/texts/Text.vue.d.ts +16 -0
  253. package/esm/coms/texts/TextLink.vue.d.ts +29 -0
  254. package/esm/coms/texts/Textarea.vue.d.ts +16 -0
  255. package/esm/coms/texts/Upload.vue.d.ts +16 -0
  256. package/esm/coms/texts/Year.vue.d.ts +16 -0
  257. package/esm/main.d.ts +6 -2
  258. package/esm/plugins/PcMessager.d.ts +35 -0
  259. package/esm/plugins/index.d.ts +2 -0
  260. package/esm/services/index.d.ts +1 -2
  261. package/esm/stores/index.d.ts +2 -1
  262. package/package.json +2 -1
  263. package/dist/Autocomplete-C2FkoM3g.js +0 -52
  264. package/dist/Autocomplete-Da3h7NqJ.js +0 -53
  265. package/dist/Callback-txUuqwa4.js +0 -24
  266. package/dist/Cascader-Bm6ZjZBu.js +0 -84
  267. package/dist/Cascader-CWljbVzB.js +0 -45
  268. package/dist/Code--QwKtfhx.js +0 -4
  269. package/dist/Code-BO3eZKLy.js +0 -58
  270. package/dist/Code-Dh_cfHCX.js +0 -40
  271. package/dist/Code.vue_vue_type_style_index_0_lang-DcAjaZOQ.js +0 -63
  272. package/dist/Column-DGnsLHim.js +0 -69
  273. package/dist/Comment--Tr_kWBl.js +0 -102
  274. package/dist/Compare-C3rlbp4P.js +0 -60
  275. package/dist/Compare-DaSyOFIe.js +0 -30
  276. package/dist/Custom-K9vfVRxn.js +0 -53
  277. package/dist/DataImport.vue_vue_type_script_setup_true_lang-WCH5ToC7.js +0 -174
  278. package/dist/Delete-C7gIYWP8.js +0 -59
  279. package/dist/Dictionary-DfEacdox.js +0 -59
  280. package/dist/Index-8lbvVECt.js +0 -4
  281. package/dist/Index-tbCW5R6_.js +0 -4
  282. package/dist/List-V1uPlNfP.js +0 -77
  283. package/dist/Maintaince-BM4tthS_.js +0 -19
  284. package/dist/Paging-Bnpq9uSh.js +0 -95
  285. package/dist/QueryApi-BLc_au6L.js +0 -18
  286. package/dist/Text-vz76Xb4X.js +0 -4
  287. package/dist/Text.vue_vue_type_style_index_0_lang-BMxOYNEI.js +0 -56
  288. package/dist/TextLink-DKm6XbeF.js +0 -66
  289. package/dist/Tree-Bv5eVC8s.js +0 -122
  290. package/dist/TreeNode-rHeuE2ot.js +0 -38
  291. package/dist/Upload-BSbIQu56.js +0 -147
  292. package/dist/Upload-heb0FQTh.js +0 -72
  293. package/dist/main-Bs5Q5ZLl.js +0 -6535
  294. package/dist/vendor-@monaco-editor-DKC4UNw_.js +0 -258
  295. package/dist/vendor-clone-BPtCWdXG.js +0 -134
  296. package/dist/vendor-crypto-js-ftX_aBC-.js +0 -4995
  297. package/dist/vendor-file-saver-CytTIJ-3.js +0 -74
  298. package/dist/vendor-moment-h96o7c8I.js +0 -2578
  299. package/dist/vendor-pinia-C-_fm-ER.js +0 -1167
  300. package/dist/vendor-sprintf-js-BPTdvBYM.js +0 -148
  301. package/dist/vendor-state-local-CEworIRt.js +0 -131
  302. package/dist/vendor-underscore-DVTek3G4.js +0 -1070
  303. package/dist/vendor-underscore.string-BEHfJwHl.js +0 -425
  304. package/dist/vendor-util-deprecate-DzpNkCzj.js +0 -28
  305. package/dist/vendor-vue-demi-DdR-Jw7p.js +0 -31
@@ -0,0 +1,52 @@
1
+ import { defineComponent as x, toRefs as v, ref as f, computed as V, resolveComponent as y, openBlock as r, createElementBlock as s, Fragment as B, unref as l, createBlock as C, isRef as d, createCommentVNode as R, nextTick as T, createElementVNode as g } from "vue";
2
+ import { G as H } from "./main-QtNG6p7a.js";
3
+ const b = ["innerHTML"], w = /* @__PURE__ */ g("i", { class: "fa fa-edit" }, null, -1), E = [
4
+ w
5
+ ], U = /* @__PURE__ */ x({
6
+ __name: "Text",
7
+ props: {
8
+ schema: {},
9
+ table: {},
10
+ field: {},
11
+ set: {},
12
+ row: {},
13
+ modelValue: {}
14
+ },
15
+ setup(p) {
16
+ let c = p, { table: G, field: u, set: L, row: M, modelValue: _ } = v(c), t = f(!1), a = f(), i = () => {
17
+ t.value = !0, T(() => {
18
+ a.value.focus();
19
+ });
20
+ }, o = V(() => {
21
+ let m = H.getHtml(_.value);
22
+ return (u.value.control.prefix || "") + (m || "") + (u.value.control.suffix || "");
23
+ });
24
+ return (m, e) => {
25
+ const k = y("el-input");
26
+ return r(), s(B, null, [
27
+ l(t) ? (r(), C(k, {
28
+ key: 1,
29
+ ref_key: "editRef",
30
+ ref: a,
31
+ type: "text",
32
+ onBlur: e[0] || (e[0] = (n) => d(t) ? t.value = !1 : t = !1),
33
+ modelValue: l(o),
34
+ "onUpdate:modelValue": e[1] || (e[1] = (n) => d(o) ? o.value = n : o = n)
35
+ }, null, 8, ["modelValue"])) : (r(), s("span", {
36
+ key: 0,
37
+ class: "text-text",
38
+ innerHTML: l(o)
39
+ }, null, 8, b)),
40
+ l(t) ? R("", !0) : (r(), s("span", {
41
+ key: 2,
42
+ class: "edit-inline",
43
+ onClick: e[2] || (e[2] = //@ts-ignore
44
+ (...n) => l(i) && l(i)(...n))
45
+ }, E))
46
+ ], 64);
47
+ };
48
+ }
49
+ });
50
+ export {
51
+ U as _
52
+ };
@@ -0,0 +1,62 @@
1
+ import { defineComponent as b, toRefs as y, ref as E, computed as s, resolveComponent as w, unref as o, openBlock as i, createElementBlock as d, renderSlot as u, createBlock as B, withCtx as R } from "vue";
2
+ import { useRoute as $ } from "vue-router";
3
+ import { I as m, v as x } from "./main-QtNG6p7a.js";
4
+ const C = { key: 0 }, O = ["href", "target"], V = /* @__PURE__ */ b({
5
+ __name: "TextLink",
6
+ props: {
7
+ schema: {},
8
+ table: {},
9
+ field: {},
10
+ set: {},
11
+ row: {}
12
+ },
13
+ emits: ["submit", "change", "update:modelValue"],
14
+ setup(h, { emit: L }) {
15
+ let p = h, { table: S, field: t, set: T, row: c } = y(p);
16
+ $();
17
+ let k = E(), a = s(() => {
18
+ let e = t.value.link.href;
19
+ return t.value.link.values.forEach((r) => {
20
+ e = e.replace(`{${r}}`, c.value[r]);
21
+ }), e;
22
+ }), _ = s(() => m.httpOrHttps(a.value)), v = s(async () => {
23
+ let e = a.value;
24
+ if (t.value.link.tables.length > 0) {
25
+ let l = {};
26
+ t.value.link.tables.forEach((n) => {
27
+ l[n.name] = {}, n.search.forEach((f) => {
28
+ l[n.name][f.name] = c.value[f.value];
29
+ });
30
+ });
31
+ let g = (await x.getEncoder().getBase64()).encode(JSON.stringify(l));
32
+ e += "&condition=" + g;
33
+ }
34
+ return m.getToRoute(e);
35
+ });
36
+ return (e, r) => {
37
+ const l = w("router-link");
38
+ return o(k) ? (i(), d("div", C, [
39
+ u(e.$slots, "default")
40
+ ])) : o(_) ? (i(), d("a", {
41
+ key: 1,
42
+ class: "text-link",
43
+ href: o(a),
44
+ target: o(t).link.target
45
+ }, [
46
+ u(e.$slots, "default")
47
+ ], 8, O)) : (i(), B(l, {
48
+ key: 2,
49
+ class: "text-link",
50
+ to: o(v)
51
+ }, {
52
+ default: R(() => [
53
+ u(e.$slots, "default")
54
+ ]),
55
+ _: 3
56
+ }, 8, ["to"]));
57
+ };
58
+ }
59
+ });
60
+ export {
61
+ V as default
62
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, toRefs as p, openBlock as i, createBlock as c, unref as e, isRef as _ } from "vue";
2
- import { _ as V } from "./Text.vue_vue_type_style_index_0_lang-BMxOYNEI.js";
2
+ import { _ as V } from "./Text.vue_vue_type_style_index_0_lang-CeDusQl6.js";
3
3
  const x = /* @__PURE__ */ u({
4
4
  __name: "Textarea",
5
5
  props: {
@@ -1,13 +1,9 @@
1
- import { defineComponent as h, toRefs as y, resolveComponent as m, openBlock as t, createBlock as n, unref as e, withCtx as o, createElementVNode as r, createElementBlock as c, Fragment as k, renderList as x, createCommentVNode as H } from "vue";
2
- import { k as v, H as g } from "./main-Bs5Q5ZLl.js";
3
- import "xlsx-js-style";
4
- import "./vendor-crypto-js-ftX_aBC-.js";
5
- import "./vendor-@monaco-editor-DKC4UNw_.js";
6
- import "./vendor-moment-h96o7c8I.js";
7
- const C = { class: "timeline-layout" }, B = ["innerHTML"], L = {
1
+ import { defineComponent as h, toRefs as y, resolveComponent as o, openBlock as t, createBlock as n, unref as e, withCtx as m, createElementVNode as r, createElementBlock as c, Fragment as k, renderList as x, createCommentVNode as v } from "vue";
2
+ import { z as g, G as C } from "./main-QtNG6p7a.js";
3
+ const B = { class: "timeline-layout" }, H = ["innerHTML"], L = {
8
4
  key: 0,
9
5
  class: "timeline-detail"
10
- }, q = /* @__PURE__ */ h({
6
+ }, V = /* @__PURE__ */ h({
11
7
  __name: "Timeline",
12
8
  props: {
13
9
  searchData: {},
@@ -20,24 +16,24 @@ const C = { class: "timeline-layout" }, B = ["innerHTML"], L = {
20
16
  set: {}
21
17
  },
22
18
  setup(_) {
23
- let p = _, { module: T, schema: b, table: l, layout: i, next: E, set: s } = y(p);
24
- return (M, N) => {
25
- const u = m("el-timeline-item"), d = m("el-timeline"), f = m("el-empty");
26
- return t(), n(e(v), { class: "timeline" }, {
27
- default: o(() => [
28
- r("div", C, [
19
+ let u = _, { module: T, schema: b, table: l, layout: i, next: z, set: s } = y(u);
20
+ return (E, G) => {
21
+ const p = o("el-timeline-item"), d = o("el-timeline"), f = o("el-empty");
22
+ return t(), n(e(g), { class: "timeline" }, {
23
+ default: m(() => [
24
+ r("div", B, [
29
25
  e(s)[e(l).name].length > 0 ? (t(), n(d, {
30
26
  key: 0,
31
27
  reverse: !1
32
28
  }, {
33
- default: o(() => [
34
- (t(!0), c(k, null, x(e(s)[e(l).name], (a) => (t(), n(u, {
29
+ default: m(() => [
30
+ (t(!0), c(k, null, x(e(s)[e(l).name], (a) => (t(), n(p, {
35
31
  timestamp: a[e(i).time]
36
32
  }, {
37
- default: o(() => [
33
+ default: m(() => [
38
34
  r("div", {
39
- innerHTML: e(g).getHtml(a[e(i).text])
40
- }, null, 8, B)
35
+ innerHTML: e(C).getHtml(a[e(i).text])
36
+ }, null, 8, H)
41
37
  ]),
42
38
  _: 2
43
39
  }, 1032, ["timestamp"]))), 256))
@@ -45,7 +41,7 @@ const C = { class: "timeline-layout" }, B = ["innerHTML"], L = {
45
41
  _: 1
46
42
  })) : (t(), n(f, { key: 1 }))
47
43
  ]),
48
- e(l).length > 0 ? (t(), c("div", L, " 时间线节点详情 ")) : H("", !0)
44
+ e(l).length > 0 ? (t(), c("div", L, " 时间线节点详情 ")) : v("", !0)
49
45
  ]),
50
46
  _: 1
51
47
  });
@@ -53,5 +49,5 @@ const C = { class: "timeline-layout" }, B = ["innerHTML"], L = {
53
49
  }
54
50
  });
55
51
  export {
56
- q as default
52
+ V as default
57
53
  };
@@ -1,17 +1,15 @@
1
- import { defineComponent as Ce, toRefs as ge, ref as v, onMounted as we, onUnmounted as Ne, computed as q, watch as Se, resolveComponent as T, openBlock as i, createBlock as C, unref as e, withCtx as f, createElementVNode as c, createElementBlock as h, createVNode as _, Fragment as Ke, renderList as Re, withDirectives as $e, resolveDynamicComponent as Te, createCommentVNode as g, createTextVNode as w, toDisplayString as b, vShow as Ie, nextTick as j } from "vue";
2
- import { u as De, l as Ue, g as L, C as F, m as Ve, n as qe, o as G, M as Le, T as J, h as Q, A as W, p as Be } from "./main-Bs5Q5ZLl.js";
3
- import "xlsx-js-style";
4
- import "./vendor-crypto-js-ftX_aBC-.js";
5
- import "./vendor-@monaco-editor-DKC4UNw_.js";
6
- import "./vendor-moment-h96o7c8I.js";
1
+ import { defineComponent as Ce, toRefs as ge, ref as v, onMounted as we, onUnmounted as Ne, computed as L, watch as Ke, resolveComponent as I, openBlock as i, createBlock as C, unref as e, withCtx as f, createElementVNode as c, createElementBlock as h, createVNode as _, Fragment as Se, renderList as Re, withDirectives as $e, resolveDynamicComponent as Ie, createCommentVNode as g, createTextVNode as w, toDisplayString as b, vShow as De, nextTick as M } from "vue";
2
+ import { u as Te, e as Ve, I as U, a as A, f as qe, g as Le, h as G, m as Ue, C as H, j as Q, r as W, i as Be } from "./main-QtNG6p7a.js";
3
+ import "vue-router";
4
+ import "./vendor-intro.js-DwWqhM1v.js";
7
5
  import { _ as Ee } from "./Index.vue_vue_type_script_setup_true_lang-B-sM48XO.js";
8
- const Me = { class: "tree-left" }, ze = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), He = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), Ae = /* @__PURE__ */ c("i", { class: "fa fa-copy" }, null, -1), Oe = /* @__PURE__ */ c("i", { class: "fa fa-trash" }, null, -1), Pe = {
6
+ const ze = { class: "tree-left" }, je = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), Oe = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), Pe = /* @__PURE__ */ c("i", { class: "fa fa-copy" }, null, -1), Fe = /* @__PURE__ */ c("i", { class: "fa fa-trash" }, null, -1), Je = {
9
7
  key: 2,
10
8
  class: "ha-empty"
11
- }, je = {
9
+ }, Me = {
12
10
  key: 3,
13
11
  class: "tree-add"
14
- }, Fe = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), ll = /* @__PURE__ */ Ce({
12
+ }, Ae = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), Ze = /* @__PURE__ */ Ce({
15
13
  __name: "Tree",
16
14
  props: {
17
15
  searchData: {},
@@ -25,61 +23,61 @@ const Me = { class: "tree-left" }, ze = /* @__PURE__ */ c("i", { class: "fa fa-p
25
23
  },
26
24
  emits: ["refresh", "succeed", "search", "navigate"],
27
25
  setup(X, { expose: Y, emit: Z }) {
28
- let k = Z, ee = X, { route: N, module: B, schema: le, table: m, layout: r, next: y, set: Ge, searchData: te } = ge(ee), S = v(), E = v(), x = v(), K = v(), M = v(), ae = v(), { t: p, t_module: z } = De(), re = Ue(), d = v({ type: null, name: null, url: null, visible: !1 }), R = v(), I = null, a = v({ width: 250, currentNode: null, currentKey: null, expandedKeys: [], scrollTop: 0, visible: !1 }), H = () => {
29
- if (!S.value)
26
+ let k = Z, ee = X, { route: N, module: B, schema: le, table: m, layout: r, next: y, set: Ge, searchData: te } = ge(ee), K = v(), E = v(), x = v(), S = v(), z = v(), ae = v(), { t: p, t_module: j } = Te(), re = Ve(), d = v({ type: null, name: null, url: null, visible: !1 }), R = v(), D = null, a = v({ width: 250, currentNode: null, currentKey: null, expandedKeys: [], scrollTop: 0, visible: !1 }), O = () => {
27
+ if (!K.value)
30
28
  return;
31
- let l = S.value.$el.querySelector(".is-context");
29
+ let l = K.value.$el.querySelector(".is-context");
32
30
  l && l.classList.remove("is-context");
33
31
  }, oe = (l, t, o, n) => {
34
- H(), n.vnode.el.classList.add("is-context"), a.value.currentNode = t, I.show(l);
32
+ O(), n.vnode.el.classList.add("is-context"), a.value.currentNode = t, D.show(l);
35
33
  }, $ = (l) => {
36
34
  let t = r.value.parentId, o = { [t]: null };
37
35
  l == "sibling" ? o[t] = a.value.currentNode[t] : l == "child" && (o[t] = a.value.currentNode[r.value.id]);
38
- let n = L.base64(o), u = `${y.value.insert.route}?default=${n}`;
36
+ let n = U.base64(o), u = `${y.value.insert.route}?default=${n}`;
39
37
  l == "copy" && (u += "&id=" + a.value.currentNode[r.value.id]), d.value.url = u, d.value.visible = !0;
40
- }, A = () => {
38
+ }, P = () => {
41
39
  let l = a.value.currentNode[r.value.id], t = a.value.currentNode[r.value.text], o = p("common.confirm_delete", t);
42
- Le.confirm(p("common.tips"), o, { type: "warning" }).then(() => {
40
+ Ue.confirm(p("common.tips"), o, { type: "warning" }).then(() => {
43
41
  ne(l);
44
42
  });
45
43
  }, ne = (l) => {
46
- let t = r.value.id, o = r.value.data, n = J.getNextById(l, t, o, "Children");
44
+ let t = r.value.id, o = r.value.data, n = H.getNextById(l, t, o, "Children");
47
45
  Q.post(y.value.delete.route, [l]).then(() => {
48
- J.removeById(l, t, o, "Children");
46
+ H.removeById(l, t, o, "Children");
49
47
  let u = null;
50
48
  n && (u = n[t], a.value.currentKey = u, a.value.expandedKeys.push(u)), k("succeed", () => {
51
- D(a.value.scrollTop);
49
+ T(a.value.scrollTop);
52
50
  });
53
51
  });
54
52
  }, ue = (l) => {
55
53
  a.value.scrollTop = l.scrollTop;
56
- }, D = (l = null, t = null) => {
57
- a.value.visible = !1, j(() => {
58
- a.value.visible = !0, j(() => {
54
+ }, T = (l = null, t = null) => {
55
+ a.value.visible = !1, M(() => {
56
+ a.value.visible = !0, M(() => {
59
57
  if (l == null) {
60
- let o = S.value.$el.querySelector(".el-tree-node.is-current");
58
+ let o = K.value.$el.querySelector(".el-tree-node.is-current");
61
59
  o && o.scrollIntoView({ block: "center", behavior: "smooth" });
62
60
  } else
63
- K.value.setScrollTop(l);
61
+ S.value.setScrollTop(l);
64
62
  t && t();
65
63
  });
66
64
  });
67
65
  }, se = () => {
68
66
  d.value.visible = !1, k("succeed", () => {
69
- D(a.value.scrollTop);
67
+ T(a.value.scrollTop);
70
68
  });
71
69
  }, de = (l) => {
72
70
  d.value.type = l.module.type, d.value.name = l.module.name;
73
71
  }, ie = () => {
74
72
  d.value.visible = !1;
75
73
  }, ce = (l, t, o) => {
76
- H();
74
+ O();
77
75
  let n = l[r.value.id];
78
76
  if (W.pushIfNotExist(a.value.expandedKeys, n), n == a.value.currentKey)
79
77
  x.value.refresh();
80
78
  else {
81
- a.value.currentKey = n, R.value = U();
82
- let u = L.getUrl(N.value.fullPath, { id: n });
79
+ a.value.currentKey = n, R.value = V();
80
+ let u = U.getUrl(N.value.fullPath, { id: n });
83
81
  k("navigate", u);
84
82
  }
85
83
  }, ve = (l, t, o) => {
@@ -91,7 +89,7 @@ const Me = { class: "tree-left" }, ze = /* @__PURE__ */ c("i", { class: "fa fa-p
91
89
  targetId: t.data[r.value.id],
92
90
  position: o
93
91
  };
94
- Q.post(r.value.operation.route, u).then((P) => {
92
+ Q.post(r.value.operation.route, u).then((J) => {
95
93
  });
96
94
  }, me = (l) => {
97
95
  k("search", l);
@@ -103,39 +101,39 @@ const Me = { class: "tree-left" }, ze = /* @__PURE__ */ c("i", { class: "fa fa-p
103
101
  return !1;
104
102
  x.value.keyboard(l, t);
105
103
  }, be = () => {
106
- K.value.update();
107
- }, U = () => {
104
+ S.value.update();
105
+ }, V = () => {
108
106
  let l = y.value[r.value.page.toLowerCase()].route;
109
107
  return a.value.currentKey && (l += "?id=" + a.value.currentKey), l;
110
108
  }, ke = () => {
111
109
  let l = N.value.query.id, t;
112
- l == null ? t = r.value.updateKey : t = F.convert(l, O.value.type), t && (a.value.currentKey = t, a.value.expandedKeys = [t], R.value = U()), D(null, () => {
113
- I = new Be(E.value, [K.value.$el, M.value]);
110
+ l == null ? t = r.value.updateKey : t = A.convert(l, F.value.type), t && (a.value.currentKey = t, a.value.expandedKeys = [t], R.value = V()), T(null, () => {
111
+ D = new Be(E.value, [S.value.$el, z.value]);
114
112
  });
115
113
  };
116
114
  we(() => {
117
115
  ke();
118
116
  }), Ne(() => {
119
- I.dispose();
120
- }), q(() => {
117
+ D.dispose();
118
+ }), L(() => {
121
119
  let l = { [r.value.parentId]: N.value.query.id };
122
- return L.base64(l);
120
+ return U.base64(l);
123
121
  });
124
- let xe = q(() => {
122
+ let xe = L(() => {
125
123
  let l = `/${m.value.name}/tree-node`;
126
124
  return re.getComponent(l, "partial", "tree-node");
127
- }), O = q(() => m.value.fields.find((t) => t.name == r.value.id));
128
- return Se(() => N.value, (l, t) => {
129
- a.value.currentKey = F.convert(l.query.id, O.value.type), R.value = U();
125
+ }), F = L(() => m.value.fields.find((t) => t.name == r.value.id));
126
+ return Ke(() => N.value, (l, t) => {
127
+ a.value.currentKey = A.convert(l.query.id, F.value.type), R.value = V();
130
128
  }), Y({ refresh: he, keyboard: _e, resize: be }), (l, t) => {
131
- const o = T("el-scrollbar"), n = T("el-tree"), u = T("el-button"), P = T("el-drawer");
132
- return i(), C(e(Ve), {
129
+ const o = I("el-scrollbar"), n = I("el-tree"), u = I("el-button"), J = I("el-drawer");
130
+ return i(), C(e(qe), {
133
131
  class: "tree",
134
132
  width: e(a).width,
135
133
  onResize: t[5] || (t[5] = (s) => e(a).width = s)
136
134
  }, {
137
135
  left: f(() => [
138
- c("div", Me, [
136
+ c("div", ze, [
139
137
  e(m).search.length ? (i(), h("div", {
140
138
  key: 0,
141
139
  ref_key: "searchRef",
@@ -144,9 +142,9 @@ const Me = { class: "tree-left" }, ze = /* @__PURE__ */ c("i", { class: "fa fa-p
144
142
  }, [
145
143
  _(o, null, {
146
144
  default: f(() => [
147
- (i(!0), h(Ke, null, Re(e(m).search, (s, V) => (i(), h("div", {
145
+ (i(!0), h(Se, null, Re(e(m).search, (s, q) => (i(), h("div", {
148
146
  class: "search-field",
149
- key: V
147
+ key: q
150
148
  }, [
151
149
  _(Ee, {
152
150
  schema: e(le),
@@ -160,13 +158,13 @@ const Me = { class: "tree-left" }, ze = /* @__PURE__ */ c("i", { class: "fa fa-p
160
158
  ]),
161
159
  _: 1
162
160
  })
163
- ], 512)) : (i(), C(e(qe), {
161
+ ], 512)) : (i(), C(e(Le), {
164
162
  key: 1,
165
- title: e(z)(e(B).type, e(B).name)
163
+ title: e(j)(e(B).type, e(B).name)
166
164
  }, null, 8, ["title"])),
167
165
  $e(_(o, {
168
166
  ref_key: "scrollbarRef",
169
- ref: K,
167
+ ref: S,
170
168
  class: "tree-content",
171
169
  onScroll: e(ue)
172
170
  }, {
@@ -174,7 +172,7 @@ const Me = { class: "tree-left" }, ze = /* @__PURE__ */ c("i", { class: "fa fa-p
174
172
  e(a).visible ? (i(), C(n, {
175
173
  key: 0,
176
174
  ref_key: "treeRef",
177
- ref: S,
175
+ ref: K,
178
176
  "highlight-current": "",
179
177
  "show-checkbox": e(r).checkbox,
180
178
  "expand-on-click-node": !1,
@@ -190,11 +188,11 @@ const Me = { class: "tree-left" }, ze = /* @__PURE__ */ c("i", { class: "fa fa-p
190
188
  onNodeCollapse: e(ve),
191
189
  onNodeDrop: e(fe)
192
190
  }, {
193
- default: f(({ node: s, data: V }) => [
194
- (i(), C(Te(e(xe)), {
191
+ default: f(({ node: s, data: q }) => [
192
+ (i(), C(Ie(e(xe)), {
195
193
  table: e(m),
196
194
  layout: e(r),
197
- row: V,
195
+ row: q,
198
196
  node: s
199
197
  }, null, 8, ["table", "layout", "row", "node"]))
200
198
  ]),
@@ -208,43 +206,43 @@ const Me = { class: "tree-left" }, ze = /* @__PURE__ */ c("i", { class: "fa fa-p
208
206
  c("li", {
209
207
  onClick: t[0] || (t[0] = (s) => e($)("child"))
210
208
  }, [
211
- ze,
209
+ je,
212
210
  w(b(e(p)("tree.add_sub_item")), 1)
213
211
  ]),
214
212
  c("li", {
215
213
  onClick: t[1] || (t[1] = (s) => e($)("sibling"))
216
214
  }, [
217
- He,
215
+ Oe,
218
216
  w(b(e(p)("tree.add_same_grade")), 1)
219
217
  ]),
220
218
  c("li", {
221
219
  onClick: t[2] || (t[2] = (s) => e($)("copy"))
222
220
  }, [
223
- Ae,
221
+ Pe,
224
222
  w(b(e(p)("common.copy")), 1)
225
223
  ]),
226
224
  e(y).delete ? (i(), h("li", {
227
225
  key: 0,
228
226
  onClick: t[3] || (t[3] = //@ts-ignore
229
- (...s) => e(A) && e(A)(...s))
227
+ (...s) => e(P) && e(P)(...s))
230
228
  }, [
231
- Oe,
229
+ Fe,
232
230
  w(b(e(p)("common.delete")), 1)
233
231
  ])) : g("", !0)
234
232
  ], 512)
235
233
  ]),
236
234
  _: 1
237
235
  }, 8, ["onScroll"]), [
238
- [Ie, e(r).data.length]
236
+ [De, e(r).data.length]
239
237
  ]),
240
- e(r).data.length ? g("", !0) : (i(), h("div", Pe, b(e(p)("common.no_data")), 1)),
241
- !e(r).data.length && e(y).insert ? (i(), h("div", je, [
238
+ e(r).data.length ? g("", !0) : (i(), h("div", Je, b(e(p)("common.no_data")), 1)),
239
+ !e(r).data.length && e(y).insert ? (i(), h("div", Me, [
242
240
  _(u, {
243
241
  type: "primary",
244
242
  onClick: e($)
245
243
  }, {
246
244
  icon: f(() => [
247
- Fe
245
+ Ae
248
246
  ]),
249
247
  default: f(() => [
250
248
  w(" " + b(e(y).insert.title), 1)
@@ -257,7 +255,7 @@ const Me = { class: "tree-left" }, ze = /* @__PURE__ */ c("i", { class: "fa fa-p
257
255
  default: f(() => [
258
256
  c("div", {
259
257
  ref_key: "detailRef",
260
- ref: M,
258
+ ref: z,
261
259
  class: "tree-detail"
262
260
  }, [
263
261
  e(a).currentKey ? (i(), C(e(G), {
@@ -267,10 +265,10 @@ const Me = { class: "tree-left" }, ze = /* @__PURE__ */ c("i", { class: "fa fa-p
267
265
  url: e(R)
268
266
  }, null, 8, ["url"])) : g("", !0)
269
267
  ], 512),
270
- _(P, {
268
+ _(J, {
271
269
  size: "60%",
272
270
  "destroy-on-close": "",
273
- title: e(z)(e(d).type, e(d).name),
271
+ title: e(j)(e(d).type, e(d).name),
274
272
  modelValue: e(d).visible,
275
273
  "onUpdate:modelValue": t[4] || (t[4] = (s) => e(d).visible = s)
276
274
  }, {
@@ -291,5 +289,5 @@ const Me = { class: "tree-left" }, ze = /* @__PURE__ */ c("i", { class: "fa fa-p
291
289
  }
292
290
  });
293
291
  export {
294
- ll as default
292
+ Ze as default
295
293
  };
@@ -0,0 +1,117 @@
1
+ import { defineComponent as Q, toRefs as U, ref as m, onMounted as X, watch as Y, nextTick as K, resolveComponent as N, openBlock as k, createElementBlock as w, unref as d, Fragment as L, renderList as B, createBlock as M, withCtx as b, createVNode as Z, createElementVNode as ee, toDisplayString as S, createCommentVNode as T } from "vue";
2
+ import { V as le, r as _, C as F, d as P } from "./main-QtNG6p7a.js";
3
+ const te = { class: "option-text" }, ae = {
4
+ key: 0,
5
+ class: "option-suffix"
6
+ }, de = /* @__PURE__ */ Q({
7
+ __name: "Tree",
8
+ props: {
9
+ route: {},
10
+ validateErrors: {},
11
+ module: {},
12
+ schema: {},
13
+ table: {},
14
+ layout: {},
15
+ next: {},
16
+ set: {}
17
+ },
18
+ setup($, { expose: z }) {
19
+ let D = $, { module: W, schema: ne, table: s, layout: l, set: f } = U(D), E = m(), V = m([]), x = m(), y = m(0), C = m([]), R = m(!0), j = (e, n, o) => {
20
+ let a = f.value[s.value.name].find((r) => r.PermissionId == e[l.value.id]);
21
+ a && (a[l.value.expand] = !0);
22
+ }, q = (e, n, o) => {
23
+ let a = f.value[s.value.name].find((r) => r.PermissionId == e[l.value.id]);
24
+ a && (a[l.value.expand] = !1);
25
+ }, A = (e, n, o) => {
26
+ let a = n.checkedKeys, r = e[l.value.id], i = _.contains(a, r), c = [], u = [], h = F.getChildren(e, "Children").map((t) => t[l.value.id]), p = f.value[s.value.name].map((t) => t[l.value.checked]), v = _.intersect(h, p);
27
+ if (i) {
28
+ c.push(e[l.value.id]);
29
+ let t = _.except(h, v);
30
+ t.length && (a.push(...t), c.push(...t));
31
+ } else
32
+ u.push(r), v.length == h.length && (u.push(...h), _.remove(a, h));
33
+ c.length && G(c), u.length && H(u);
34
+ }, G = (e) => {
35
+ for (let n = 0; n < e.length; n++) {
36
+ let o = P.getDefaultRow(s.value);
37
+ o[l.value.checked] = e[n], f.value[s.value.name].push(o);
38
+ }
39
+ }, H = (e) => {
40
+ let n = f.value[s.value.name];
41
+ for (let o = 0; o < e.length; o++) {
42
+ let a = n.find((r) => r[l.value.checked] == e[o]);
43
+ _.remove(n, a);
44
+ }
45
+ }, J = (e) => {
46
+ x.value = e.contentRect.width, y.value = Math.ceil(x.value / 300), I(s.value, l.value, f.value);
47
+ }, I = (e, n, o) => {
48
+ C.value = P.getLines(n.data, y.value, (a) => [a], () => 1), K(() => {
49
+ let a = o[e.name].map((i) => i[n.checked]), r = 0;
50
+ for (let i = 0; i < C.value.length; i++) {
51
+ let c = C.value[i];
52
+ for (let u = 0; u < c.length; u++) {
53
+ let g = V.value[r], h = c[u].data, p = F.getFlat(h, "Children").map((t) => t[n.id]), v = _.intersect(p, a);
54
+ if (!(v.length == 1 && p.length > 1)) for (let t = 0; t < v.length; t++) {
55
+ let O = v[t];
56
+ g.setChecked(O, !0, !1);
57
+ }
58
+ r++;
59
+ }
60
+ }
61
+ });
62
+ };
63
+ return X(() => {
64
+ x.value = le.getWidth(E.value), y.value = Math.ceil(x.value / 300), I(s.value, l.value, f.value);
65
+ }), Y(() => s.value, (e, n) => {
66
+ R.value = !1, K(() => {
67
+ R.value = !0, I(e, l.value, f.value);
68
+ });
69
+ }), z({ resize: J }), (e, n) => {
70
+ const o = N("el-tree"), a = N("el-col"), r = N("el-row");
71
+ return k(), w("div", {
72
+ ref_key: "layoutRef",
73
+ ref: E,
74
+ class: "ha-tree-layout"
75
+ }, [
76
+ d(R) ? (k(!0), w(L, { key: 0 }, B(d(C), (i, c) => (k(), M(r, null, {
77
+ default: b(() => [
78
+ (k(!0), w(L, null, B(i, ({ data: u, span: g, index: h }, p) => (k(), M(a, {
79
+ span: g,
80
+ key: `${c}.${p}`
81
+ }, {
82
+ default: b(() => [
83
+ Z(o, {
84
+ ref_for: !0,
85
+ ref_key: "treeRefs",
86
+ ref: V,
87
+ "show-checkbox": "",
88
+ "highlight-current": "",
89
+ "default-expand-all": !1,
90
+ "expand-on-click-node": !1,
91
+ "node-key": d(l).id,
92
+ data: u,
93
+ props: { children: "Children", label: d(l).text },
94
+ disabled: d(W).type == "Detail",
95
+ onNodeExpand: d(j),
96
+ onNodeCollapse: d(q),
97
+ onCheck: (v, t) => d(A)(v, t, h)
98
+ }, {
99
+ default: b(({ node: v, data: t }) => [
100
+ ee("div", te, S(t[d(l).text]), 1),
101
+ d(l).suffix ? (k(), w("div", ae, S(t[d(l).suffix]), 1)) : T("", !0)
102
+ ]),
103
+ _: 2
104
+ }, 1032, ["node-key", "data", "props", "disabled", "onNodeExpand", "onNodeCollapse", "onCheck"])
105
+ ]),
106
+ _: 2
107
+ }, 1032, ["span"]))), 128))
108
+ ]),
109
+ _: 2
110
+ }, 1024))), 256)) : T("", !0)
111
+ ], 512);
112
+ };
113
+ }
114
+ });
115
+ export {
116
+ de as default
117
+ };
@@ -0,0 +1,34 @@
1
+ import { defineComponent as h, toRefs as x, computed as C, openBlock as a, createElementBlock as i, unref as e, createElementVNode as N, toDisplayString as l, createTextVNode as b, createCommentVNode as s } from "vue";
2
+ import { B as y } from "./main-QtNG6p7a.js";
3
+ const g = ["title"], k = { class: "number" }, v = {
4
+ key: 0,
5
+ class: "option-suffix"
6
+ }, B = {
7
+ key: 1,
8
+ class: "count"
9
+ }, F = /* @__PURE__ */ h({
10
+ __name: "TreeNode",
11
+ props: {
12
+ table: {},
13
+ layout: {},
14
+ row: {},
15
+ node: {}
16
+ },
17
+ setup(d) {
18
+ let u = d, { table: c, layout: n, row: t, node: p } = x(u), f = (o, r) => {
19
+ let _ = (o.parent.data.Children ? o.parent.data.Children.indexOf(r) : o.parent.data.indexOf(r)) + 1;
20
+ return y.padLeft(_, 2, "0");
21
+ }, m = C(() => c.value.fields.find((r) => r.name == n.value.text).control.i18N);
22
+ return (o, r) => (a(), i("div", {
23
+ title: e(t)[e(n).title]
24
+ }, [
25
+ N("span", k, l(e(f)(e(p), e(t))), 1),
26
+ b(" " + l(e(m) ? o.t(e(t)[e(n).text]) : e(t)[e(n).text]) + " ", 1),
27
+ e(n).suffix ? (a(), i("span", v, l(e(t)[e(n).suffix]), 1)) : s("", !0),
28
+ e(t).Children && e(t).Children.length > 0 ? (a(), i("span", B, "(" + l(e(t).Children.length) + ")", 1)) : s("", !0)
29
+ ], 8, g));
30
+ }
31
+ });
32
+ export {
33
+ F as default
34
+ };