halo-pc 1.0.40 → 1.0.42

Sign up to get free protection for your applications and to get access to all the features.
Files changed (376) hide show
  1. package/dist/{Article-CqtkXVmQ.js → Article-DFUSows8.js} +63 -57
  2. package/dist/{ArticleFooter-DeJdTtZD.js → ArticleFooter-Cj1BBlA1.js} +25 -19
  3. package/dist/{Autocomplete-0fxB2_FC.js → Autocomplete-BwXXwn67.js} +1 -1
  4. package/dist/Autocomplete-CkaC4B9a.js +55 -0
  5. package/dist/Autocomplete-lOArRE-3.js +54 -0
  6. package/dist/{CSharp-BIFRQLaK.js → CSharp-DKso7gNM.js} +1 -1
  7. package/dist/{Calender-DPNTn-S4.js → Calender-D-SOVcZj.js} +2 -2
  8. package/dist/Callback-BR41Vj-N.js +26 -0
  9. package/dist/Cascader-CgATYx_L.js +87 -0
  10. package/dist/Cascader-_zr2LKml.js +47 -0
  11. package/dist/{Checkbox-CIim5NiB.js → Checkbox-5ILQf19K.js} +1 -1
  12. package/dist/Checkbox-BL8CgSAj.js +76 -0
  13. package/dist/Code-B4PQhSMK.js +4 -0
  14. package/dist/{Code-yDKaH1uF.js → Code-C-YP2p5l.js} +1 -1
  15. package/dist/Code-DFyhE56y.js +60 -0
  16. package/dist/Code-DiXOxLRf.js +42 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-XgvwusB0.js +65 -0
  18. package/dist/Column-Bc7Oihiz.js +75 -0
  19. package/dist/{Comment-tU2wBvGO.js → Comment-xRgfVwWf.js} +25 -19
  20. package/dist/Compare-Bs02uoCu.js +43 -0
  21. package/dist/Compare-CzjhvoMB.js +63 -0
  22. package/dist/Copy-Cm2a5gNO.js +49 -0
  23. package/dist/Custom-DUwgObv0.js +55 -0
  24. package/dist/{DataExport-BDftKI0U.js → DataExport-Bl8Gnd65.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Dzy9UC11.js → DataExport.vue_vue_type_script_setup_true_lang-BdcGXCd-.js} +31 -25
  26. package/dist/{DataImport-CRYaaQfA.js → DataImport-a0LeLUqN.js} +1 -1
  27. package/dist/DataImport.vue_vue_type_script_setup_true_lang-SUTAEcM1.js +178 -0
  28. package/dist/{Date-Dlh1_S7p.js → Date-3ShwD2-i.js} +1 -1
  29. package/dist/Date-Bxg6thBd.js +43 -0
  30. package/dist/{DateRange-BgF_T3ls.js → DateRange-Bs02SlBL.js} +17 -11
  31. package/dist/DateTime-9zVeZZU1.js +44 -0
  32. package/dist/{DateTime-CNjPeK9t.js → DateTime-CBvGI0QK.js} +1 -1
  33. package/dist/{DateTimeRange-DbEpW4nB.js → DateTimeRange-BvzT4ePX.js} +15 -9
  34. package/dist/{Daterange-DHVjhrK9.js → Daterange-jjGQtOYX.js} +23 -17
  35. package/dist/{Decimal-BDEWVSsK.js → Decimal-ZCkGNnu6.js} +1 -1
  36. package/dist/Delete-DFYWGXxR.js +62 -0
  37. package/dist/Detail-BCOVW_Bc.js +75 -0
  38. package/dist/{Dictionary-CJwZPQz6.js → Dictionary-CzVkbTgC.js} +15 -9
  39. package/dist/Email-BkTp1o4W.js +54 -0
  40. package/dist/File-B5gD6gIN.js +164 -0
  41. package/dist/Image-CJehZtl1.js +9 -0
  42. package/dist/{Index-j15c7lwJ.js → Index--k39OOeR.js} +1 -1
  43. package/dist/Index-BgaidjN1.js +4 -0
  44. package/dist/{Index-D2FOeoNQ.js → Index-Bkk7Lbow.js} +1 -1
  45. package/dist/Index-C1d92iVF.js +4 -0
  46. package/dist/Index-CqcpoI5q.js +179 -0
  47. package/dist/Index-D46msJe6.js +4 -0
  48. package/dist/Index-DNzPzZAD.js +4 -0
  49. package/dist/Index-fLIY_xZz.js +76 -0
  50. package/dist/Index.vue_vue_type_script_setup_true_lang-B5I-mP-B.js +72 -0
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-ByxBNAdg.js → Index.vue_vue_type_script_setup_true_lang-BBos3LCo.js} +26 -20
  52. package/dist/{Install-WR3b4IfI.js → Install-D5a1Clhz.js} +40 -34
  53. package/dist/Int-BCPaDwRr.js +47 -0
  54. package/dist/Int-vbDN15ge.js +44 -0
  55. package/dist/List-1gzG3Hh5.js +77 -0
  56. package/dist/Maintaince-or5c_o4Q.js +20 -0
  57. package/dist/{Markdown-nVfQs7kc.js → Markdown-DA3F0wmz.js} +1 -1
  58. package/dist/{Month-CxKMP4kO.js → Month-BNmPXwr5.js} +1 -1
  59. package/dist/Month-C5Gs9TzA.js +44 -0
  60. package/dist/Month-DWJvfZWH.js +43 -0
  61. package/dist/Normal-C08A_LBQ.js +266 -0
  62. package/dist/Paging-CTYEtfU6.js +100 -0
  63. package/dist/{PagingHeader-C8UpM9Kj.js → PagingHeader-ooBPU84X.js} +33 -27
  64. package/dist/{PagingRow-oQWCofO4.js → PagingRow-BBzD3uJR.js} +26 -20
  65. package/dist/{Racebar-CvoF2ySW.js → Racebar-CGxwvdJg.js} +29 -23
  66. package/dist/{Radio-DhjfkC14.js → Radio-Rf8Dk0Kt.js} +1 -1
  67. package/dist/{Register-B0Vx60wY.js → Register-CRG2u_Oc.js} +82 -76
  68. package/dist/RichText-D9mVss4s.js +47 -0
  69. package/dist/{SearchForm-BHVnQaSL.js → SearchForm-DhNSuvIB.js} +1 -1
  70. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-ByICIL6w.js → SearchForm.vue_vue_type_style_index_0_lang-rTj9jfpz.js} +58 -52
  71. package/dist/{SearchHeader-C9yovXli.js → SearchHeader-BH9MZ9J0.js} +1 -1
  72. package/dist/{SearchHeader.vue_vue_type_style_index_0_lang-CHAg97-Y.js → SearchHeader.vue_vue_type_style_index_0_lang-BCguAmMx.js} +1 -1
  73. package/dist/{Select-vgwpegBi.js → Select-BGxScF1V.js} +35 -29
  74. package/dist/{Select-CX4i5KPQ.js → Select-D6zMSIK-.js} +1 -1
  75. package/dist/{Select-BDoCqD3I.js → Select-pxgFT4W6.js} +32 -26
  76. package/dist/Single-Dur5AQwJ.js +325 -0
  77. package/dist/{Statistic-WPezAlUn.js → Statistic-D2Ui-cl9.js} +37 -31
  78. package/dist/{Stock-EPM3j2f_.js → Stock-CPNV5oAr.js} +1 -1
  79. package/dist/{Stock-BD5Acf8y.js → Stock-S-yoIR63.js} +1 -1
  80. package/dist/{Stock.vue_vue_type_style_index_0_lang-D5RR2MRP.js → Stock.vue_vue_type_style_index_0_lang-CBM83HPm.js} +30 -24
  81. package/dist/{Switch-B0XN4K-9.js → Switch-Ddzu0cVc.js} +1 -1
  82. package/dist/{Table-BklK1hSh.js → Table-Dehxw_Mm.js} +115 -109
  83. package/dist/{Table-JFdOXuME.js → Table-td4DoauS.js} +96 -90
  84. package/dist/Text-BQ2sP6BX.js +54 -0
  85. package/dist/Text-BlDU58Cj.js +4 -0
  86. package/dist/Text-DzOAFDPQ.js +58 -0
  87. package/dist/Text.vue_vue_type_style_index_0_lang-SkwvLnGj.js +59 -0
  88. package/dist/TextLink-BNd6HG70.js +65 -0
  89. package/dist/{Textarea-3SWLqQvO.js → Textarea-BEGLCMlW.js} +1 -1
  90. package/dist/Time-6IjugDB1.js +43 -0
  91. package/dist/{Timeline-B6hUIYhL.js → Timeline-rO6-BdP9.js} +19 -13
  92. package/dist/{Tree-JexLPBXX.js → Tree-B4CrBXsk.js} +41 -35
  93. package/dist/Tree-Ba3IsT-8.js +298 -0
  94. package/dist/TreeNode-D3zRAE68.js +43 -0
  95. package/dist/Update-DustuC7M.js +70 -0
  96. package/dist/{UpdateChild-DUG7pAuO.js → UpdateChild-D_vBiyT5.js} +26 -20
  97. package/dist/Upload-ByD17bHe.js +71 -0
  98. package/dist/Upload-pOEf-6VG.js +150 -0
  99. package/dist/{Year-BRsJ7b1J.js → Year-CWW-xi29.js} +1 -1
  100. package/dist/Year-DkYUnUm3.js +47 -0
  101. package/dist/assets/{clipboard-ClN4QccS.js → clipboard-DjQPoCBJ.js} +3 -1
  102. package/dist/assets/clone-BZn0cTAu.js +134 -0
  103. package/dist/assets/file-saver-CwlpTZSc.js +74 -0
  104. package/dist/assets/liquidjs-BfOWWjtJ.js +2907 -0
  105. package/dist/assets/moment-h96o7c8I.js +2578 -0
  106. package/dist/assets/sprintf-js-BPTdvBYM.js +148 -0
  107. package/dist/assets/underscore-B0BCaBxV.js +1070 -0
  108. package/dist/assets/underscore.string-DVXD2SZo.js +425 -0
  109. package/dist/assets/util-deprecate-Dzun97re.js +28 -0
  110. package/dist/main-DSgfGXqN.js +10966 -0
  111. package/dist/main.js +163 -164
  112. package/dist/style.css +1 -1
  113. package/esm/@types/CreatePcOptions.d.ts +1 -2
  114. package/esm/@types/index.d.ts +1 -2
  115. package/esm/coms/business/@types/DrawerProps.d.ts +1 -2
  116. package/esm/coms/business/@types/FormProps.d.ts +1 -2
  117. package/esm/coms/business/@types/index.d.ts +2 -3
  118. package/esm/coms/business/Condition.vue.d.ts +3 -3
  119. package/esm/coms/business/Drawer.vue.d.ts +2 -2
  120. package/esm/coms/business/Form.vue.d.ts +3 -2
  121. package/esm/coms/commons/@types/TableProps.d.ts +1 -2
  122. package/esm/coms/commons/@types/index.d.ts +1 -2
  123. package/esm/coms/commons/Captcha.vue.d.ts +1 -1
  124. package/esm/coms/commons/Debug.vue.d.ts +2 -1
  125. package/esm/coms/commons/Editable.vue.d.ts +2 -1
  126. package/esm/coms/commons/Loading.vue.d.ts +2 -1
  127. package/esm/coms/commons/Resizer.vue.d.ts +3 -2
  128. package/esm/coms/commons/Table.vue.d.ts +8 -3
  129. package/esm/coms/commons/TableColumn.vue.d.ts +2 -1
  130. package/esm/coms/controls/@types/ControlProps.d.ts +1 -2
  131. package/esm/coms/controls/@types/index.d.ts +1 -2
  132. package/esm/coms/controls/Autocomplete.vue.d.ts +4 -5
  133. package/esm/coms/controls/Cascader.vue.d.ts +4 -5
  134. package/esm/coms/controls/Checkbox.vue.d.ts +5 -6
  135. package/esm/coms/controls/Code.vue.d.ts +4 -5
  136. package/esm/coms/controls/Color.vue.d.ts +4 -5
  137. package/esm/coms/controls/Compare.vue.d.ts +5 -6
  138. package/esm/coms/controls/Date.vue.d.ts +4 -5
  139. package/esm/coms/controls/DateRange.vue.d.ts +4 -5
  140. package/esm/coms/controls/DateTime.vue.d.ts +4 -5
  141. package/esm/coms/controls/DateTimeRange.vue.d.ts +4 -5
  142. package/esm/coms/controls/Decimal.vue.d.ts +4 -5
  143. package/esm/coms/controls/Email.vue.d.ts +4 -5
  144. package/esm/coms/controls/Index.vue.d.ts +4 -5
  145. package/esm/coms/controls/Int.vue.d.ts +4 -5
  146. package/esm/coms/controls/Markdown.vue.d.ts +4 -5
  147. package/esm/coms/controls/Month.vue.d.ts +4 -5
  148. package/esm/coms/controls/Password.vue.d.ts +4 -5
  149. package/esm/coms/controls/Progress.vue.d.ts +4 -5
  150. package/esm/coms/controls/Radio.vue.d.ts +4 -5
  151. package/esm/coms/controls/Rate.vue.d.ts +4 -5
  152. package/esm/coms/controls/RichText.vue.d.ts +4 -4
  153. package/esm/coms/controls/Select.vue.d.ts +4 -5
  154. package/esm/coms/controls/Switch.vue.d.ts +5 -6
  155. package/esm/coms/controls/Text.vue.d.ts +4 -5
  156. package/esm/coms/controls/Textarea.vue.d.ts +4 -5
  157. package/esm/coms/controls/Time.vue.d.ts +4 -5
  158. package/esm/coms/controls/Upload.vue.d.ts +5 -6
  159. package/esm/coms/controls/Year.vue.d.ts +4 -5
  160. package/esm/coms/drivers/@types/CrudProps.d.ts +3 -4
  161. package/esm/coms/drivers/@types/DriverBaseProps.d.ts +1 -2
  162. package/esm/coms/drivers/@types/DriverEmit.d.ts +1 -2
  163. package/esm/coms/drivers/@types/DriverFormProps.d.ts +2 -3
  164. package/esm/coms/drivers/@types/DriverKindEmit.d.ts +2 -3
  165. package/esm/coms/drivers/@types/DriverProps.d.ts +3 -4
  166. package/esm/coms/drivers/@types/KindFormProps.d.ts +0 -1
  167. package/esm/coms/drivers/@types/KindProps.d.ts +2 -3
  168. package/esm/coms/drivers/@types/index.d.ts +5 -6
  169. package/esm/coms/drivers/Crud.vue.d.ts +6 -3
  170. package/esm/coms/drivers/Index.vue.d.ts +2 -1
  171. package/esm/coms/drivers/Kind.vue.d.ts +2 -1
  172. package/esm/coms/globals/@types/WindowEmit.d.ts +6 -7
  173. package/esm/coms/globals/@types/WindowOptions.d.ts +1 -2
  174. package/esm/coms/globals/@types/WindowProps.d.ts +2 -3
  175. package/esm/coms/globals/@types/index.d.ts +3 -4
  176. package/esm/coms/globals/HeaderTab.vue.d.ts +3 -2
  177. package/esm/coms/globals/HeaderTabs.vue.d.ts +4 -3
  178. package/esm/coms/globals/MenuItem.vue.d.ts +1 -1
  179. package/esm/coms/globals/MissComponent.vue.d.ts +3 -2
  180. package/esm/coms/globals/SideTab.vue.d.ts +3 -2
  181. package/esm/coms/globals/SideTabs.vue.d.ts +2 -1
  182. package/esm/coms/globals/Window.vue.d.ts +43 -2
  183. package/esm/coms/headers/@types/ChangeProps.d.ts +1 -2
  184. package/esm/coms/headers/@types/HeaderProps.d.ts +1 -2
  185. package/esm/coms/headers/@types/TipsProps.d.ts +1 -2
  186. package/esm/coms/headers/@types/index.d.ts +3 -4
  187. package/esm/coms/headers/Hamburger.vue.d.ts +1 -1
  188. package/esm/coms/headers/Index.vue.d.ts +3 -2
  189. package/esm/coms/headers/Logo.vue.d.ts +1 -1
  190. package/esm/coms/headers/Refresh.vue.d.ts +1 -1
  191. package/esm/coms/layouts/@types/ITaskBar.d.ts +1 -2
  192. package/esm/coms/layouts/@types/index.d.ts +1 -2
  193. package/esm/coms/layouts/Desktop.vue.d.ts +1 -1
  194. package/esm/coms/layouts/Index.vue.d.ts +6 -6
  195. package/esm/coms/layouts/Side.vue.d.ts +2 -2
  196. package/esm/coms/layouts/Top.vue.d.ts +1 -1
  197. package/esm/coms/lists/@types/ListProps.d.ts +1 -2
  198. package/esm/coms/lists/@types/index.d.ts +1 -2
  199. package/esm/coms/lists/Calender.vue.d.ts +1 -1
  200. package/esm/coms/lists/Racebar.vue.d.ts +1 -1
  201. package/esm/coms/lists/Statistic.vue.d.ts +1 -1
  202. package/esm/coms/lists/Stock.vue.d.ts +1 -1
  203. package/esm/coms/lists/Timeline.vue.d.ts +1 -1
  204. package/esm/coms/lists/Tree.vue.d.ts +1 -1
  205. package/esm/coms/pages/@types/ColumnPageProps.d.ts +2 -3
  206. package/esm/coms/pages/@types/CustomPageProps.d.ts +2 -3
  207. package/esm/coms/pages/@types/DeletePageProps.d.ts +2 -3
  208. package/esm/coms/pages/@types/ListPageProps.d.ts +2 -3
  209. package/esm/coms/pages/@types/PageEmit.d.ts +1 -2
  210. package/esm/coms/pages/@types/PageProps.d.ts +1 -2
  211. package/esm/coms/pages/@types/PagingPageProps.d.ts +2 -3
  212. package/esm/coms/pages/@types/SchemaProps.d.ts +3 -4
  213. package/esm/coms/pages/@types/SinglePageProps.d.ts +2 -3
  214. package/esm/coms/pages/@types/index.d.ts +9 -10
  215. package/esm/coms/pages/Column.vue.d.ts +1 -1
  216. package/esm/coms/pages/Delete.vue.d.ts +1 -1
  217. package/esm/coms/pages/Paging.vue.d.ts +1 -2
  218. package/esm/coms/pagings/@types/PagingProps.d.ts +1 -2
  219. package/esm/coms/pagings/@types/SearchFormProps.d.ts +1 -2
  220. package/esm/coms/pagings/@types/SearchHeaderProps.d.ts +1 -2
  221. package/esm/coms/pagings/@types/index.d.ts +3 -4
  222. package/esm/coms/pagings/Article.vue.d.ts +1 -1
  223. package/esm/coms/pagings/Code.vue.d.ts +1 -1
  224. package/esm/coms/pagings/File.vue.d.ts +1 -1
  225. package/esm/coms/pagings/Index.vue.d.ts +1 -2
  226. package/esm/coms/pagings/SearchHeader.vue.d.ts +1 -1
  227. package/esm/coms/pagings/Table.vue.d.ts +2 -3
  228. package/esm/coms/panels/@types/OperationProps.d.ts +1 -2
  229. package/esm/coms/panels/@types/index.d.ts +1 -2
  230. package/esm/coms/panels/Group.vue.d.ts +3 -2
  231. package/esm/coms/panels/Header.vue.d.ts +1 -1
  232. package/esm/coms/panels/Operation.vue.d.ts +3 -2
  233. package/esm/coms/panels/Panel.vue.d.ts +3 -2
  234. package/esm/coms/panels/Shrink.vue.d.ts +3 -2
  235. package/esm/coms/partials/@types/ArticleFooterEmit.d.ts +1 -2
  236. package/esm/coms/partials/@types/DetailEmit.d.ts +1 -2
  237. package/esm/coms/partials/@types/DetailProps.d.ts +1 -2
  238. package/esm/coms/partials/@types/PagingHeaderEmit.d.ts +2 -3
  239. package/esm/coms/partials/@types/PagingHeaderProps.d.ts +1 -2
  240. package/esm/coms/partials/@types/PagingRowEmit.d.ts +1 -2
  241. package/esm/coms/partials/@types/PagingRowProps.d.ts +1 -2
  242. package/esm/coms/partials/@types/TreeNodeProps.d.ts +1 -2
  243. package/esm/coms/partials/@types/UpdateChildEmit.d.ts +1 -2
  244. package/esm/coms/partials/@types/UpdateChildProps.d.ts +1 -2
  245. package/esm/coms/partials/@types/UpdateEmit.d.ts +1 -2
  246. package/esm/coms/partials/@types/UpdateProps.d.ts +1 -2
  247. package/esm/coms/partials/@types/index.d.ts +12 -13
  248. package/esm/coms/partials/ArticleFooter.vue.d.ts +1 -1
  249. package/esm/coms/partials/Detail.vue.d.ts +1 -1
  250. package/esm/coms/partials/PagingHeader.vue.d.ts +2 -2
  251. package/esm/coms/partials/PagingRow.vue.d.ts +2 -2
  252. package/esm/coms/partials/TreeNode.vue.d.ts +1 -1
  253. package/esm/coms/partials/Update.vue.d.ts +1 -1
  254. package/esm/coms/searches/@types/SearchProps.d.ts +1 -2
  255. package/esm/coms/searches/@types/index.d.ts +1 -2
  256. package/esm/coms/searches/Autocomplete.vue.d.ts +4 -5
  257. package/esm/coms/searches/Daterange.vue.d.ts +4 -5
  258. package/esm/coms/searches/Int.vue.d.ts +4 -5
  259. package/esm/coms/searches/Month.vue.d.ts +4 -5
  260. package/esm/coms/searches/Select.vue.d.ts +4 -5
  261. package/esm/coms/searches/Text.vue.d.ts +4 -2
  262. package/esm/coms/singles/@types/SingleProps.d.ts +1 -2
  263. package/esm/coms/singles/@types/index.d.ts +1 -2
  264. package/esm/coms/singles/Code.vue.d.ts +1 -1
  265. package/esm/coms/singles/Comment.vue.d.ts +1 -1
  266. package/esm/coms/singles/Normal.vue.d.ts +1 -1
  267. package/esm/coms/singles/Statistic.vue.d.ts +1 -1
  268. package/esm/coms/singles/Stock.vue.d.ts +1 -1
  269. package/esm/coms/singles/Tree.vue.d.ts +1 -1
  270. package/esm/coms/texts/Autocomplete.vue.d.ts +3 -4
  271. package/esm/coms/texts/CSharp.vue.d.ts +3 -4
  272. package/esm/coms/texts/Cascader.vue.d.ts +5 -6
  273. package/esm/coms/texts/Checkbox.vue.d.ts +3 -4
  274. package/esm/coms/texts/Code.vue.d.ts +3 -4
  275. package/esm/coms/texts/Color.vue.d.ts +3 -4
  276. package/esm/coms/texts/Compare.vue.d.ts +3 -4
  277. package/esm/coms/texts/Copy.vue.d.ts +6 -6
  278. package/esm/coms/texts/Date.vue.d.ts +3 -4
  279. package/esm/coms/texts/DateRange.vue.d.ts +3 -4
  280. package/esm/coms/texts/DateTime.vue.d.ts +3 -4
  281. package/esm/coms/texts/Decimal.vue.d.ts +3 -4
  282. package/esm/coms/texts/Dictionary.vue.d.ts +5 -6
  283. package/esm/coms/texts/Email.vue.d.ts +3 -4
  284. package/esm/coms/texts/Index.vue.d.ts +4 -5
  285. package/esm/coms/texts/Int.vue.d.ts +3 -4
  286. package/esm/coms/texts/Markdown.vue.d.ts +3 -4
  287. package/esm/coms/texts/Month.vue.d.ts +3 -4
  288. package/esm/coms/texts/Password.vue.d.ts +3 -4
  289. package/esm/coms/texts/Progress.vue.d.ts +3 -4
  290. package/esm/coms/texts/Radio.vue.d.ts +3 -4
  291. package/esm/coms/texts/Rate.vue.d.ts +4 -5
  292. package/esm/coms/texts/RichText.vue.d.ts +3 -4
  293. package/esm/coms/texts/Select.vue.d.ts +3 -4
  294. package/esm/coms/texts/Switch.vue.d.ts +3 -4
  295. package/esm/coms/texts/Text.vue.d.ts +3 -4
  296. package/esm/coms/texts/TextLink.vue.d.ts +2 -1
  297. package/esm/coms/texts/Textarea.vue.d.ts +3 -4
  298. package/esm/coms/texts/Upload.vue.d.ts +3 -4
  299. package/esm/coms/texts/Year.vue.d.ts +3 -4
  300. package/esm/drivers/index.d.ts +0 -1
  301. package/esm/drivers/messengers/PcMessenger.d.ts +1 -2
  302. package/esm/drivers/messengers/index.d.ts +1 -2
  303. package/esm/repos/UploadApi.d.ts +1 -2
  304. package/esm/repos/index.d.ts +1 -2
  305. package/esm/svcs/AppSvc.d.ts +1 -2
  306. package/esm/svcs/ComponentSvc.d.ts +1 -2
  307. package/esm/svcs/ControlSvc.d.ts +1 -2
  308. package/esm/svcs/LayoutSvc.d.ts +1 -2
  309. package/esm/svcs/ModuleSvc.d.ts +3 -4
  310. package/esm/svcs/PageSvc.d.ts +1 -2
  311. package/esm/svcs/RouterSvc.d.ts +1 -2
  312. package/esm/svcs/Svcs.d.ts +11 -0
  313. package/esm/svcs/UploadSvc.d.ts +1 -2
  314. package/esm/svcs/WindowSvc.d.ts +1 -2
  315. package/esm/svcs/index.d.ts +10 -9
  316. package/esm/views/helps/401.vue.d.ts +1 -1
  317. package/esm/views/helps/404.vue.d.ts +1 -1
  318. package/esm/views/helps/Install.vue.d.ts +1 -1
  319. package/esm/views/helps/Maintaince.vue.d.ts +1 -1
  320. package/esm/views/logins/Callback.vue.d.ts +1 -1
  321. package/esm/views/logins/Index.vue.d.ts +1 -1
  322. package/esm/views/logins/Register.vue.d.ts +1 -1
  323. package/package.json +6 -6
  324. package/dist/Autocomplete-BfhYwZ5G.js +0 -49
  325. package/dist/Autocomplete-LQiKcvz1.js +0 -48
  326. package/dist/Callback-Ci5KrWOC.js +0 -20
  327. package/dist/Cascader-CnOEgPDf.js +0 -41
  328. package/dist/Cascader-Vhc81TDV.js +0 -81
  329. package/dist/Checkbox-D9Sp6ZGQ.js +0 -70
  330. package/dist/Code-BEjqqeFZ.js +0 -54
  331. package/dist/Code-BSrEPuXk.js +0 -4
  332. package/dist/Code-Dp1-k8sW.js +0 -36
  333. package/dist/Code.vue_vue_type_style_index_0_lang-CmkomJXY.js +0 -59
  334. package/dist/Column-B0ViSver.js +0 -69
  335. package/dist/Compare-D7Gz-lE9.js +0 -37
  336. package/dist/Compare-DqvGyQWA.js +0 -57
  337. package/dist/Copy-Dm1LH9qB.js +0 -43
  338. package/dist/Custom-CLKAPWEo.js +0 -49
  339. package/dist/DataImport.vue_vue_type_script_setup_true_lang-D7UdCnBM.js +0 -172
  340. package/dist/Date-DPPiYLWw.js +0 -37
  341. package/dist/DateTime-DP-VfmtN.js +0 -38
  342. package/dist/Delete-Bl0GmthL.js +0 -56
  343. package/dist/Detail-BozyhOTt.js +0 -69
  344. package/dist/Email-D5X1SzuJ.js +0 -48
  345. package/dist/File-DixK0K7p.js +0 -158
  346. package/dist/Image-BrelhCGo.js +0 -9
  347. package/dist/Index-BeM6hKX9.js +0 -4
  348. package/dist/Index-BkfLyqpm.js +0 -173
  349. package/dist/Index-D8UVsXwf.js +0 -4
  350. package/dist/Index-DbXgnBz6.js +0 -70
  351. package/dist/Index-FL-dxfFB.js +0 -4
  352. package/dist/Index-fWOqfFkG.js +0 -4
  353. package/dist/Index.vue_vue_type_script_setup_true_lang-DT7eOyjs.js +0 -66
  354. package/dist/Int-CWsDtoxE.js +0 -38
  355. package/dist/Int-GGWiUqO2.js +0 -41
  356. package/dist/List-kRCsHp6d.js +0 -71
  357. package/dist/Maintaince-BG8MUi3A.js +0 -14
  358. package/dist/Month-B1icZmL4.js +0 -37
  359. package/dist/Month-DnYlAi7k.js +0 -38
  360. package/dist/Normal-RcqEyIFN.js +0 -256
  361. package/dist/Paging-DrdGzxeP.js +0 -94
  362. package/dist/RichText-4wrLw9cy.js +0 -41
  363. package/dist/Single-C3629BdC.js +0 -317
  364. package/dist/Text-CNtHdodK.js +0 -4
  365. package/dist/Text-DrJkdxZF.js +0 -52
  366. package/dist/Text-KAuEjP7I.js +0 -48
  367. package/dist/Text.vue_vue_type_style_index_0_lang-BJIbv4kF.js +0 -53
  368. package/dist/TextLink-BnijIoEJ.js +0 -59
  369. package/dist/Time-C3qlNZkJ.js +0 -37
  370. package/dist/Tree-DBvFF4Rj.js +0 -292
  371. package/dist/TreeNode-BOWB2WN9.js +0 -37
  372. package/dist/Update-CDLYYwgj.js +0 -64
  373. package/dist/Upload-B2hbxDsT.js +0 -144
  374. package/dist/Upload-mlk6Y4Po.js +0 -65
  375. package/dist/Year-BUF60NmB.js +0 -41
  376. package/dist/main-DymfKjqO.js +0 -16480
@@ -1,9 +1,15 @@
1
- import { defineComponent as 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 v } from "vue";
2
- import { z as g, d as C } from "./main-DymfKjqO.js";
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 a, createElementBlock as c, Fragment as k, renderList as x, createCommentVNode as v } from "vue";
2
+ import { _ as g, U as C } from "./main-DSgfGXqN.js";
3
+ import "./assets/liquidjs-BfOWWjtJ.js";
4
+ import "./assets/underscore-B0BCaBxV.js";
5
+ import "./assets/file-saver-CwlpTZSc.js";
6
+ import "./assets/clone-BZn0cTAu.js";
7
+ import "./assets/underscore.string-DVXD2SZo.js";
8
+ import "./assets/moment-h96o7c8I.js";
3
9
  const B = { class: "timeline-layout" }, H = ["innerHTML"], L = {
4
10
  key: 0,
5
11
  class: "timeline-detail"
6
- }, w = /* @__PURE__ */ h({
12
+ }, q = /* @__PURE__ */ h({
7
13
  __name: "Timeline",
8
14
  props: {
9
15
  searchData: {},
@@ -18,23 +24,23 @@ const B = { class: "timeline-layout" }, H = ["innerHTML"], L = {
18
24
  win: {}
19
25
  },
20
26
  setup(_) {
21
- let u = _, { module: T, schema: b, table: l, layout: i, next: z, set: s } = y(u);
22
- return (E, M) => {
23
- const d = m("el-timeline-item"), p = m("el-timeline"), f = m("el-empty");
27
+ let p = _, { module: T, schema: b, table: l, layout: i, next: E, set: s } = y(p);
28
+ return (M, N) => {
29
+ const u = m("el-timeline-item"), d = m("el-timeline"), f = m("el-empty");
24
30
  return t(), n(e(g), { class: "timeline" }, {
25
31
  default: o(() => [
26
- r("div", B, [
27
- e(s)[e(l).name].length > 0 ? (t(), n(p, {
32
+ a("div", B, [
33
+ e(s)[e(l).name].length > 0 ? (t(), n(d, {
28
34
  key: 0,
29
35
  reverse: !1
30
36
  }, {
31
37
  default: o(() => [
32
- (t(!0), c(k, null, x(e(s)[e(l).name], (a) => (t(), n(d, {
33
- timestamp: a[e(i).time]
38
+ (t(!0), c(k, null, x(e(s)[e(l).name], (r) => (t(), n(u, {
39
+ timestamp: r[e(i).time]
34
40
  }, {
35
41
  default: o(() => [
36
- r("div", {
37
- innerHTML: e(C).html.getHtml(a[e(i).text])
42
+ a("div", {
43
+ innerHTML: e(C).html.getHtml(r[e(i).text])
38
44
  }, null, 8, H)
39
45
  ]),
40
46
  _: 2
@@ -51,5 +57,5 @@ const B = { class: "timeline-layout" }, H = ["innerHTML"], L = {
51
57
  }
52
58
  });
53
59
  export {
54
- w as default
60
+ q as default
55
61
  };
@@ -1,9 +1,15 @@
1
- import { defineComponent as O, toRefs as Q, ref as k, onMounted as U, watch as X, nextTick as K, resolveComponent as N, openBlock as _, createElementBlock as C, unref as d, Fragment as L, renderList as B, createBlock as M, withCtx as b, createVNode as Y, createElementVNode as Z, toDisplayString as T, createCommentVNode as F } from "vue";
2
- import { d as f, m as P } from "./main-DymfKjqO.js";
1
+ import { defineComponent as J, toRefs as O, ref as k, onMounted as Q, watch as X, nextTick as K, resolveComponent as N, openBlock as _, createElementBlock as C, unref as d, Fragment as L, renderList as B, createBlock as M, withCtx as b, createVNode as Y, createElementVNode as Z, toDisplayString as T, createCommentVNode as F } from "vue";
2
+ import { U as f, m as P } from "./main-DSgfGXqN.js";
3
+ import "./assets/liquidjs-BfOWWjtJ.js";
4
+ import "./assets/underscore-B0BCaBxV.js";
5
+ import "./assets/file-saver-CwlpTZSc.js";
6
+ import "./assets/clone-BZn0cTAu.js";
7
+ import "./assets/underscore.string-DVXD2SZo.js";
8
+ import "./assets/moment-h96o7c8I.js";
3
9
  const ee = { class: "option-text" }, le = {
4
10
  key: 0,
5
11
  class: "option-suffix"
6
- }, ne = /* @__PURE__ */ O({
12
+ }, ce = /* @__PURE__ */ J({
7
13
  __name: "Tree",
8
14
  props: {
9
15
  route: {},
@@ -17,72 +23,72 @@ const ee = { class: "option-text" }, le = {
17
23
  url: {},
18
24
  win: {}
19
25
  },
20
- setup(S, { expose: $ }) {
21
- let z = S, { module: D, schema: te, table: s, layout: l, set: p } = Q(z), E = k(), V = k([]), x = k(), w = k(0), g = k([]), R = k(!0), W = (e, r, n) => {
22
- let a = p.value[s.value.name].find((o) => o.PermissionId == e[l.value.id]);
26
+ setup(S, { expose: U }) {
27
+ let $ = S, { module: z, schema: te, table: s, layout: l, set: p } = O($), E = k(), V = k([]), x = k(), w = k(0), g = k([]), R = k(!0), D = (e, r, o) => {
28
+ let a = p.value[s.value.name].find((n) => n.PermissionId == e[l.value.id]);
23
29
  a && (a[l.value.expand] = !0);
24
- }, j = (e, r, n) => {
25
- let a = p.value[s.value.name].find((o) => o.PermissionId == e[l.value.id]);
30
+ }, W = (e, r, o) => {
31
+ let a = p.value[s.value.name].find((n) => n.PermissionId == e[l.value.id]);
26
32
  a && (a[l.value.expand] = !1);
27
- }, q = (e, r, n) => {
28
- let a = r.checkedKeys, o = e[l.value.id], i = f.array.contains(a, o), c = [], u = [], h = f.tree.getChildren(e, "Children").map((t) => t[l.value.id]), m = p.value[s.value.name].map((t) => t[l.value.checked]), v = f.array.intersect(h, m);
33
+ }, j = (e, r, o) => {
34
+ let a = r.checkedKeys, n = e[l.value.id], i = f.array.contains(a, n), c = [], u = [], h = f.tree.getChildren(e, "Children").map((t) => t[l.value.id]), m = p.value[s.value.name].map((t) => t[l.value.checked]), v = f.array.intersect(h, m);
29
35
  if (i) {
30
36
  c.push(e[l.value.id]);
31
37
  let t = f.array.except(h, v);
32
38
  t.length && (a.push(...t), c.push(...t));
33
39
  } else
34
- u.push(o), v.length == h.length && (u.push(...h), f.array.remove(a, h));
35
- c.length && A(c), u.length && G(u);
36
- }, A = (e) => {
40
+ u.push(n), v.length == h.length && (u.push(...h), f.array.remove(a, h));
41
+ c.length && q(c), u.length && A(u);
42
+ }, q = (e) => {
37
43
  for (let r = 0; r < e.length; r++) {
38
- let n = P.getDefaultRow(s.value);
39
- n[l.value.checked] = e[r], p.value[s.value.name].push(n);
44
+ let o = P.getDefaultRow(s.value);
45
+ o[l.value.checked] = e[r], p.value[s.value.name].push(o);
40
46
  }
41
- }, G = (e) => {
47
+ }, A = (e) => {
42
48
  let r = p.value[s.value.name];
43
- for (let n = 0; n < e.length; n++) {
44
- let a = r.find((o) => o[l.value.checked] == e[n]);
49
+ for (let o = 0; o < e.length; o++) {
50
+ let a = r.find((n) => n[l.value.checked] == e[o]);
45
51
  f.array.remove(r, a);
46
52
  }
47
- }, H = (e) => {
53
+ }, G = (e) => {
48
54
  x.value = e.contentRect.width, w.value = Math.ceil(x.value / 300), I(s.value, l.value, p.value);
49
- }, I = (e, r, n) => {
55
+ }, I = (e, r, o) => {
50
56
  g.value = P.getLines(r.data, w.value, (a) => [a], () => 1), K(() => {
51
- let a = n[e.name].map((i) => i[r.checked]), o = 0;
57
+ let a = o[e.name].map((i) => i[r.checked]), n = 0;
52
58
  for (let i = 0; i < g.value.length; i++) {
53
59
  let c = g.value[i];
54
60
  for (let u = 0; u < c.length; u++) {
55
- let y = V.value[o], h = c[u].data, m = f.tree.getFlat(h, "Children").map((t) => t[r.id]), v = f.array.intersect(m, a);
61
+ let y = V.value[n], h = c[u].data, m = f.tree.getFlat(h, "Children").map((t) => t[r.id]), v = f.array.intersect(m, a);
56
62
  if (!(v.length == 1 && m.length > 1)) for (let t = 0; t < v.length; t++) {
57
- let J = v[t];
58
- y.setChecked(J, !0, !1);
63
+ let H = v[t];
64
+ y.setChecked(H, !0, !1);
59
65
  }
60
- o++;
66
+ n++;
61
67
  }
62
68
  }
63
69
  });
64
70
  };
65
- return U(() => {
71
+ return Q(() => {
66
72
  x.value = f.dom.getWidth(E.value), w.value = Math.ceil(x.value / 300), I(s.value, l.value, p.value);
67
73
  }), X(() => s.value, (e, r) => {
68
74
  R.value = !1, K(() => {
69
75
  R.value = !0, I(e, l.value, p.value);
70
76
  });
71
- }), $({ onResize: H }), (e, r) => {
72
- const n = N("el-tree"), a = N("el-col"), o = N("el-row");
77
+ }), U({ onResize: G }), (e, r) => {
78
+ const o = N("el-tree"), a = N("el-col"), n = N("el-row");
73
79
  return _(), C("div", {
74
80
  ref_key: "layoutRef",
75
81
  ref: E,
76
82
  class: "ha-tree-layout"
77
83
  }, [
78
- d(R) ? (_(!0), C(L, { key: 0 }, B(d(g), (i, c) => (_(), M(o, null, {
84
+ d(R) ? (_(!0), C(L, { key: 0 }, B(d(g), (i, c) => (_(), M(n, null, {
79
85
  default: b(() => [
80
86
  (_(!0), C(L, null, B(i, ({ data: u, span: y, index: h }, m) => (_(), M(a, {
81
87
  span: y,
82
88
  key: `${c}.${m}`
83
89
  }, {
84
90
  default: b(() => [
85
- Y(n, {
91
+ Y(o, {
86
92
  ref_for: !0,
87
93
  ref_key: "treeRefs",
88
94
  ref: V,
@@ -93,10 +99,10 @@ const ee = { class: "option-text" }, le = {
93
99
  "node-key": d(l).id,
94
100
  data: u,
95
101
  props: { children: "Children", label: d(l).text },
96
- disabled: d(D).type == "Detail",
97
- onNodeExpand: d(W),
98
- onNodeCollapse: d(j),
99
- onCheck: (v, t) => d(q)(v, t, h)
102
+ disabled: d(z).type == "Detail",
103
+ onNodeExpand: d(D),
104
+ onNodeCollapse: d(W),
105
+ onCheck: (v, t) => d(j)(v, t, h)
100
106
  }, {
101
107
  default: b(({ node: v, data: t }) => [
102
108
  Z("div", ee, T(t[d(l).text]), 1),
@@ -115,5 +121,5 @@ const ee = { class: "option-text" }, le = {
115
121
  }
116
122
  });
117
123
  export {
118
- ne as default
124
+ ce as default
119
125
  };
@@ -0,0 +1,298 @@
1
+ import { defineComponent as be, toRefs as ke, ref as v, onMounted as xe, onUnmounted as ge, computed as B, watch as Ce, resolveComponent as I, openBlock as i, createBlock as g, unref as e, withCtx as m, createElementVNode as c, createElementBlock as h, createVNode as b, Fragment as _e, renderList as we, withDirectives as Ne, resolveDynamicComponent as Ke, createCommentVNode as C, createTextVNode as _, toDisplayString as k, vShow as Re, nextTick as A } from "vue";
2
+ import { D as w, c as Se, h as G, l as $e, k as De, n as Ie, I as f, a as H, U as N, R as Ue, M as Te } from "./main-DSgfGXqN.js";
3
+ import "./assets/liquidjs-BfOWWjtJ.js";
4
+ import "./assets/underscore-B0BCaBxV.js";
5
+ import "./assets/file-saver-CwlpTZSc.js";
6
+ import "./assets/clone-BZn0cTAu.js";
7
+ import "./assets/underscore.string-DVXD2SZo.js";
8
+ import "./assets/moment-h96o7c8I.js";
9
+ import "vue-router";
10
+ import "./assets/intro.js-Cg1adLK7.js";
11
+ const Ve = { class: "tree-left" }, qe = {
12
+ key: 2,
13
+ class: "ha-empty"
14
+ }, Le = {
15
+ key: 3,
16
+ class: "tree-add"
17
+ }, Je = /* @__PURE__ */ be({
18
+ __name: "Tree",
19
+ props: {
20
+ searchData: {},
21
+ route: {},
22
+ module: {},
23
+ schema: {},
24
+ table: {},
25
+ layout: {},
26
+ next: {},
27
+ set: {},
28
+ url: {},
29
+ win: {}
30
+ },
31
+ emits: ["refresh", "succeed", "search", "navigate"],
32
+ setup(J, { expose: Q, emit: W }) {
33
+ let x = W, X = J, { route: K, module: z, schema: Y, table: p, layout: o, next: y, set: Be, searchData: Z } = ke(X), R = v(), E = v(), U = v(), S = v(), M = v(), ee = v(), d = v({ type: null, name: null, url: null, visible: !1 }), $ = v(), T = null, r = v({ width: 250, currentNode: null, currentKey: null, expandedKeys: [], scrollTop: 0, visible: !1 }), O = () => {
34
+ if (!R.value)
35
+ return;
36
+ let t = R.value.$el.querySelector(".is-context");
37
+ t && t.classList.remove("is-context");
38
+ }, le = (t, l, a, n) => {
39
+ O(), n.vnode.el.classList.add("is-context"), r.value.currentNode = l, T.show(t);
40
+ }, D = (t) => {
41
+ let l = o.value.parentId, a = { [l]: null };
42
+ t == "sibling" ? a[l] = r.value.currentNode[l] : t == "child" && (a[l] = r.value.currentNode[o.value.id]);
43
+ let n = w.base64.encode(a), u;
44
+ t == "copy" ? u = `${y.value.copy.route}?id=${r.value.currentNode[o.value.id]}&` : u = `${y.value.insert.route}?`, u += `default=${n}`, d.value.url = u, d.value.visible = !0;
45
+ }, P = () => {
46
+ let t = r.value.currentNode[o.value.id], l = r.value.currentNode[o.value.text], a = f.t("common.confirm_delete", l);
47
+ w.messenger.confirm(f.t("common.tips"), a, { type: "warning" }).then(() => {
48
+ te(t);
49
+ });
50
+ }, te = (t) => {
51
+ let l = o.value.id, a = o.value.data, n = N.tree.getNextById(t, l, a, "Children");
52
+ w.http.post(y.value.delete.route, [t]).then(() => {
53
+ N.tree.removeById(t, l, a, "Children");
54
+ let u = null;
55
+ n && (u = n[l], r.value.currentKey = u, r.value.expandedKeys.push(u)), x("succeed", () => {
56
+ V(r.value.scrollTop);
57
+ });
58
+ });
59
+ }, re = (t) => {
60
+ r.value.scrollTop = t.scrollTop;
61
+ }, V = (t = null, l = null) => {
62
+ r.value.visible = !1, A(() => {
63
+ r.value.visible = !0, A(() => {
64
+ if (t == null) {
65
+ let a = R.value.$el.querySelector(".el-tree-node.is-current");
66
+ a && a.scrollIntoView({ block: "center", behavior: "smooth" });
67
+ } else
68
+ S.value.setScrollTop(t);
69
+ l && l();
70
+ });
71
+ });
72
+ }, oe = () => {
73
+ d.value.visible = !1, x("succeed", () => {
74
+ V(r.value.scrollTop);
75
+ });
76
+ }, ae = (t) => {
77
+ d.value.type = t.module.type, d.value.name = t.module.name;
78
+ }, ne = () => {
79
+ d.value.visible = !1;
80
+ }, ue = (t, l, a) => {
81
+ O();
82
+ let n = t[o.value.id];
83
+ if (N.array.pushIfNotExist(r.value.expandedKeys, n), n == r.value.currentKey)
84
+ U.value.refresh();
85
+ else {
86
+ r.value.currentKey = n, $.value = q();
87
+ let u = N.url.getUrl(K.value.fullPath, { id: n });
88
+ x("navigate", u);
89
+ }
90
+ }, se = (t, l, a) => {
91
+ N.array.remove(r.value.expandedKeys, t[o.value.id]);
92
+ }, de = (t, l, a, n) => {
93
+ let u = {
94
+ table: o.value.table,
95
+ id: t.data[o.value.id],
96
+ targetId: l.data[o.value.id],
97
+ position: a
98
+ };
99
+ w.http.post(o.value.operation.route, u).then((F) => {
100
+ });
101
+ }, ie = (t) => {
102
+ x("search", t);
103
+ }, ce = (t) => {
104
+ }, ve = (t, l) => t ? l[p.value.text].indexOf(t) !== -1 : !0, fe = () => {
105
+ x("refresh");
106
+ }, me = (t, l) => {
107
+ Ue.module.triggerKeyboard(U.value, t, l);
108
+ }, pe = () => {
109
+ S.value.update();
110
+ }, q = () => {
111
+ let t = y.value[o.value.page.toLowerCase()].route;
112
+ return r.value.currentKey && (t += "?id=" + r.value.currentKey), t;
113
+ }, ye = () => {
114
+ let t = K.value.query.id, l;
115
+ t == null ? l = o.value.updateKey : l = G.convert(t, j.value.type), l && (r.value.currentKey = l, r.value.expandedKeys = [l], $.value = q()), V(null, () => {
116
+ T = new Te(E.value, [S.value.$el, M.value]);
117
+ });
118
+ };
119
+ xe(() => {
120
+ ye();
121
+ }), ge(() => {
122
+ T.dispose();
123
+ }), B(() => {
124
+ let t = { [o.value.parentId]: K.value.query.id };
125
+ return w.base64.encode(t);
126
+ });
127
+ let he = B(() => {
128
+ let t = `/${p.value.name}/tree-node`;
129
+ return Se.getComponent(t, "partial", "tree-node");
130
+ }), j = B(() => p.value.fields.find((l) => l.name == o.value.id));
131
+ return Ce(() => K.value, (t, l) => {
132
+ r.value.currentKey = G.convert(t.query.id, j.value.type), $.value = q();
133
+ }), Q({ onRefresh: fe, onKeyboard: me, onResize: pe }), (t, l) => {
134
+ const a = I("el-scrollbar"), n = I("el-tree"), u = I("el-button"), F = I("el-drawer");
135
+ return i(), g(e($e), {
136
+ class: "tree",
137
+ width: e(r).width,
138
+ onResize: l[5] || (l[5] = (s) => e(r).width = s)
139
+ }, {
140
+ left: m(() => [
141
+ c("div", Ve, [
142
+ e(p).search.length ? (i(), h("div", {
143
+ key: 0,
144
+ ref_key: "searchRef",
145
+ ref: ee,
146
+ class: "tree-search"
147
+ }, [
148
+ b(a, null, {
149
+ default: m(() => [
150
+ (i(!0), h(_e, null, we(e(p).search, (s, L) => (i(), h("div", {
151
+ class: "search-field",
152
+ key: L
153
+ }, [
154
+ b(e(De), {
155
+ schema: e(Y),
156
+ table: e(p),
157
+ field: s,
158
+ "search-data": e(Z),
159
+ onChange: e(ce),
160
+ onSubmit: e(ie)
161
+ }, null, 8, ["schema", "table", "field", "search-data", "onChange", "onSubmit"])
162
+ ]))), 128))
163
+ ]),
164
+ _: 1
165
+ })
166
+ ], 512)) : (i(), g(e(Ie), {
167
+ key: 1,
168
+ title: e(f).module(e(z).type, e(z).name)
169
+ }, null, 8, ["title"])),
170
+ Ne(b(a, {
171
+ ref_key: "scrollbarRef",
172
+ ref: S,
173
+ class: "tree-content",
174
+ onScroll: e(re)
175
+ }, {
176
+ default: m(() => [
177
+ e(r).visible ? (i(), g(n, {
178
+ key: 0,
179
+ ref_key: "treeRef",
180
+ ref: R,
181
+ "highlight-current": "",
182
+ "show-checkbox": e(o).checkbox,
183
+ "expand-on-click-node": !1,
184
+ draggable: !!e(o).operation,
185
+ data: e(o).data,
186
+ "node-key": e(o).id,
187
+ "current-node-key": e(r).currentKey,
188
+ props: { children: "Children", label: e(o).text },
189
+ "filter-node-method": e(ve),
190
+ "default-expanded-keys": e(r).expandedKeys,
191
+ onNodeClick: e(ue),
192
+ onNodeContextmenu: e(le),
193
+ onNodeCollapse: e(se),
194
+ onNodeDrop: e(de)
195
+ }, {
196
+ default: m(({ node: s, data: L }) => [
197
+ (i(), g(Ke(e(he)), {
198
+ table: e(p),
199
+ layout: e(o),
200
+ row: L,
201
+ node: s
202
+ }, null, 8, ["table", "layout", "row", "node"]))
203
+ ]),
204
+ _: 1
205
+ }, 8, ["show-checkbox", "draggable", "data", "node-key", "current-node-key", "props", "filter-node-method", "default-expanded-keys", "onNodeClick", "onNodeContextmenu", "onNodeCollapse", "onNodeDrop"])) : C("", !0),
206
+ c("ul", {
207
+ ref_key: "menuRef",
208
+ ref: E,
209
+ class: "mouse-context"
210
+ }, [
211
+ c("li", {
212
+ onClick: l[0] || (l[0] = (s) => e(D)("child"))
213
+ }, [
214
+ l[6] || (l[6] = c("i", { class: "fa fa-plus" }, null, -1)),
215
+ _(k(e(f).t("tree.add_sub_item")), 1)
216
+ ]),
217
+ c("li", {
218
+ onClick: l[1] || (l[1] = (s) => e(D)("sibling"))
219
+ }, [
220
+ l[7] || (l[7] = c("i", { class: "fa fa-plus" }, null, -1)),
221
+ _(k(e(f).t("tree.add_same_grade")), 1)
222
+ ]),
223
+ c("li", {
224
+ onClick: l[2] || (l[2] = (s) => e(D)("copy"))
225
+ }, [
226
+ l[8] || (l[8] = c("i", { class: "fa fa-copy" }, null, -1)),
227
+ _(k(e(f).t("common.copy")), 1)
228
+ ]),
229
+ e(y).delete ? (i(), h("li", {
230
+ key: 0,
231
+ onClick: l[3] || (l[3] = //@ts-ignore
232
+ (...s) => e(P) && e(P)(...s))
233
+ }, [
234
+ l[9] || (l[9] = c("i", { class: "fa fa-trash" }, null, -1)),
235
+ _(k(e(f).t("common.delete")), 1)
236
+ ])) : C("", !0)
237
+ ], 512)
238
+ ]),
239
+ _: 1
240
+ }, 8, ["onScroll"]), [
241
+ [Re, e(o).data.length]
242
+ ]),
243
+ e(o).data.length ? C("", !0) : (i(), h("div", qe, k(e(f).t("common.no_data")), 1)),
244
+ !e(o).data.length && e(y).insert ? (i(), h("div", Le, [
245
+ b(u, {
246
+ type: "primary",
247
+ onClick: e(D)
248
+ }, {
249
+ icon: m(() => l[10] || (l[10] = [
250
+ c("i", { class: "fa fa-plus" }, null, -1)
251
+ ])),
252
+ default: m(() => [
253
+ _(" " + k(e(y).insert.title), 1)
254
+ ]),
255
+ _: 1
256
+ }, 8, ["onClick"])
257
+ ])) : C("", !0)
258
+ ])
259
+ ]),
260
+ default: m(() => [
261
+ c("div", {
262
+ ref_key: "detailRef",
263
+ ref: M,
264
+ class: "tree-detail"
265
+ }, [
266
+ e(r).currentKey ? (i(), g(e(H), {
267
+ key: 0,
268
+ ref_key: "singleRef",
269
+ ref: U,
270
+ url: e($)
271
+ }, null, 8, ["url"])) : C("", !0)
272
+ ], 512),
273
+ b(F, {
274
+ size: "60%",
275
+ "destroy-on-close": "",
276
+ title: e(f).module(e(d).type, e(d).name),
277
+ modelValue: e(d).visible,
278
+ "onUpdate:modelValue": l[4] || (l[4] = (s) => e(d).visible = s)
279
+ }, {
280
+ default: m(() => [
281
+ b(e(H), {
282
+ url: e(d).url,
283
+ onLoaded: e(ae),
284
+ onSucceed: e(oe),
285
+ onClose: e(ne)
286
+ }, null, 8, ["url", "onLoaded", "onSucceed", "onClose"])
287
+ ]),
288
+ _: 1
289
+ }, 8, ["title", "modelValue"])
290
+ ]),
291
+ _: 1
292
+ }, 8, ["width"]);
293
+ };
294
+ }
295
+ });
296
+ export {
297
+ Je as default
298
+ };
@@ -0,0 +1,43 @@
1
+ import { defineComponent as x, toRefs as h, computed as C, openBlock as a, createElementBlock as s, unref as e, createElementVNode as N, toDisplayString as i, createTextVNode as b, createCommentVNode as d } from "vue";
2
+ import { I as g, U as y } from "./main-DSgfGXqN.js";
3
+ import "./assets/liquidjs-BfOWWjtJ.js";
4
+ import "./assets/underscore-B0BCaBxV.js";
5
+ import "./assets/file-saver-CwlpTZSc.js";
6
+ import "./assets/clone-BZn0cTAu.js";
7
+ import "./assets/underscore.string-DVXD2SZo.js";
8
+ import "./assets/moment-h96o7c8I.js";
9
+ const k = ["title"], v = { class: "number" }, V = {
10
+ key: 0,
11
+ class: "option-suffix"
12
+ }, B = {
13
+ key: 1,
14
+ class: "count"
15
+ }, L = /* @__PURE__ */ x({
16
+ __name: "TreeNode",
17
+ props: {
18
+ table: {},
19
+ layout: {},
20
+ row: {},
21
+ node: {}
22
+ },
23
+ setup(p) {
24
+ let u = p, { table: m, layout: r, row: t, node: c } = h(u), f = (o, l) => {
25
+ let n = (o.parent.data.Children ? o.parent.data.Children.indexOf(l) : o.parent.data.indexOf(l)) + 1;
26
+ return y.string.padLeft(n, 2, "0");
27
+ }, _ = C(() => m.value.fields.find((n) => n.name == r.value.text).control.i18N);
28
+ return (o, l) => {
29
+ var n;
30
+ return a(), s("div", {
31
+ title: e(t)[e(r).title]
32
+ }, [
33
+ N("span", v, i(e(f)(e(c), e(t))), 1),
34
+ b(" " + i((n = e(_)) != null && n.value ? e(g).t(e(t)[e(r).text]) : e(t)[e(r).text]) + " ", 1),
35
+ e(r).suffix ? (a(), s("span", V, i(e(t)[e(r).suffix]), 1)) : d("", !0),
36
+ e(t).Children && e(t).Children.length > 0 ? (a(), s("span", B, "(" + i(e(t).Children.length) + ")", 1)) : d("", !0)
37
+ ], 8, k);
38
+ };
39
+ }
40
+ });
41
+ export {
42
+ L as default
43
+ };
@@ -0,0 +1,70 @@
1
+ import { defineComponent as b, toRefs as C, ref as x, resolveComponent as g, openBlock as v, createBlock as y, unref as t, withCtx as o, createVNode as m, createSlots as N, createTextVNode as a, toDisplayString as p, createElementVNode as c } from "vue";
2
+ import "./assets/liquidjs-BfOWWjtJ.js";
3
+ import "./assets/underscore-B0BCaBxV.js";
4
+ import "./assets/file-saver-CwlpTZSc.js";
5
+ import "./assets/clone-BZn0cTAu.js";
6
+ import "./assets/underscore.string-DVXD2SZo.js";
7
+ import "./assets/moment-h96o7c8I.js";
8
+ import { p as V, I as u } from "./main-DSgfGXqN.js";
9
+ import "element-plus";
10
+ import "vue-router";
11
+ import "./assets/intro.js-Cg1adLK7.js";
12
+ const q = /* @__PURE__ */ b({
13
+ __name: "Update",
14
+ props: {
15
+ table: {},
16
+ layout: {},
17
+ next: {},
18
+ set: {}
19
+ },
20
+ emits: ["submit", "close"],
21
+ setup(f, { expose: d, emit: _ }) {
22
+ let l = _;
23
+ C(f);
24
+ let n = x(!1), i = (r) => {
25
+ n.value = !0, l("submit", r, null, (e) => {
26
+ n.value = !1;
27
+ });
28
+ }, k = () => {
29
+ l("close");
30
+ };
31
+ return d({ submit: i }), (r, e) => {
32
+ const s = g("el-button");
33
+ return v(), y(t(V), { padding: 5 }, {
34
+ default: o(() => [
35
+ m(s, {
36
+ type: "primary",
37
+ loading: t(n),
38
+ onClick: t(i)
39
+ }, N({
40
+ default: o(() => [
41
+ a(" " + p(t(u).t("common.confirm")), 1)
42
+ ]),
43
+ _: 2
44
+ }, [
45
+ t(n) ? void 0 : {
46
+ name: "icon",
47
+ fn: o(() => [
48
+ e[0] || (e[0] = c("i", { class: "fa fa-check" }, null, -1))
49
+ ]),
50
+ key: "0"
51
+ }
52
+ ]), 1032, ["loading", "onClick"]),
53
+ m(s, { onClick: t(k) }, {
54
+ icon: o(() => e[1] || (e[1] = [
55
+ c("i", { class: "fa fa-chevron-left" }, null, -1)
56
+ ])),
57
+ default: o(() => [
58
+ a(" " + p(t(u).t("common.back")), 1)
59
+ ]),
60
+ _: 1
61
+ }, 8, ["onClick"])
62
+ ]),
63
+ _: 1
64
+ });
65
+ };
66
+ }
67
+ });
68
+ export {
69
+ q as default
70
+ };