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,66 +0,0 @@
1
- import { defineComponent as x, toRefs as E, ref as R, onMounted as S, openBlock as u, createElementBlock as k, Fragment as B, createVNode as L, unref as e, createBlock as z, resolveDynamicComponent as D, withCtx as N, createElementVNode as V, toDisplayString as $ } from "vue";
2
- import { g as F, p as I, S as M } from "./main-DymfKjqO.js";
3
- import "element-plus";
4
- import "vue-router";
5
- import "./assets/intro.js-Cg1adLK7.js";
6
- const j = { class: "not-support" }, K = /* @__PURE__ */ x({
7
- __name: "Index",
8
- props: {
9
- route: {},
10
- validateErrors: {},
11
- module: {},
12
- schema: {},
13
- table: {},
14
- layout: {},
15
- next: {},
16
- set: {},
17
- url: {},
18
- win: {}
19
- },
20
- emits: ["layout-change", "row-edit", "change", "submit"],
21
- setup(s, { expose: i, emit: m }) {
22
- let o = m, p = s, { module: d, schema: c, table: l, layout: a, next: y, set: h } = E(p), n = R(), g = (t) => {
23
- o("layout-change", t);
24
- }, f = (t, r, v) => {
25
- o("row-edit", t, r, v);
26
- }, _ = () => {
27
- o("change");
28
- }, b = (t) => {
29
- o("submit", t);
30
- }, C = (t) => {
31
- }, w = (t) => {
32
- M.triggerResize(n.value, t);
33
- };
34
- return S(() => {
35
- }), i({ update: C, onResize: w }), (t, r) => (u(), k(B, null, [
36
- L(e(F), {
37
- layout: e(a),
38
- table: e(l),
39
- onLayoutChange: e(g)
40
- }, null, 8, ["layout", "table", "onLayoutChange"]),
41
- (u(), z(D(`update-${e(a).type.toLowerCase()}`), {
42
- ref_key: "layoutRef",
43
- ref: n,
44
- module: e(d),
45
- schema: e(c),
46
- table: e(l),
47
- layout: e(a),
48
- next: e(y),
49
- set: e(h),
50
- route: t.route,
51
- "validate-errors": t.validateErrors,
52
- onRowEdit: e(f),
53
- onChange: e(_),
54
- onSubmit: e(b)
55
- }, {
56
- default: N(() => [
57
- V("div", j, $(e(I)("single.not_supported_layout", e(a).type)), 1)
58
- ]),
59
- _: 1
60
- }, 40, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onRowEdit", "onChange", "onSubmit"]))
61
- ], 64));
62
- }
63
- });
64
- export {
65
- K as _
66
- };
@@ -1,38 +0,0 @@
1
- import { defineComponent as f, toRefs as _, computed as h, resolveComponent as b, openBlock as V, createBlock as g, unref as e, withKeys as C, isRef as y } from "vue";
2
- import { p as K, C as k } from "./main-DymfKjqO.js";
3
- const N = /* @__PURE__ */ f({
4
- __name: "Int",
5
- props: {
6
- schema: {},
7
- table: {},
8
- field: {},
9
- searchData: {},
10
- modelValue: {}
11
- },
12
- emits: ["change", "submit", "update:modelValue"],
13
- setup(m, { emit: u }) {
14
- let l = u, p = m, { table: s, field: r, searchData: x, modelValue: i } = _(p), d = () => {
15
- l("submit");
16
- }, o = h({
17
- get() {
18
- return i.value;
19
- },
20
- set(t) {
21
- isNaN(t) && (t = null), l("update:modelValue", t), l("change", t);
22
- }
23
- });
24
- return (t, n) => {
25
- const c = b("el-input-number");
26
- return V(), g(c, {
27
- placeholder: e(K)("common.please_input") + e(k)(e(s).name, e(r).name),
28
- "controls-position": "right",
29
- onKeyup: C(e(d), ["enter", "native"]),
30
- modelValue: e(o),
31
- "onUpdate:modelValue": n[0] || (n[0] = (a) => y(o) ? o.value = a : o = a)
32
- }, null, 8, ["placeholder", "onKeyup", "modelValue"]);
33
- };
34
- }
35
- });
36
- export {
37
- N as default
38
- };
@@ -1,41 +0,0 @@
1
- import { defineComponent as c, toRefs as f, computed as _, resolveComponent as V, openBlock as g, createBlock as h, unref as e, withKeys as v, isRef as y } from "vue";
2
- import { d as K, E as k } from "./main-DymfKjqO.js";
3
- const C = /* @__PURE__ */ c({
4
- __name: "Int",
5
- props: {
6
- schema: {},
7
- table: {},
8
- field: {},
9
- set: {},
10
- row: {},
11
- modelValue: {}
12
- },
13
- emits: ["submit", "change", "update:modelValue"],
14
- setup(r, { emit: i }) {
15
- let l = i, s = r, { table: d, field: n, set: w, modelValue: a } = f(s), p = () => {
16
- l("submit");
17
- }, t = _({
18
- get() {
19
- if (K.string.isNumber(a.value))
20
- return a.value;
21
- },
22
- set(o) {
23
- l("update:modelValue", o), l("change", o);
24
- }
25
- });
26
- return (o, u) => {
27
- const b = V("el-input-number");
28
- return g(), h(b, {
29
- "aria-label": e(k)(e(d).name, e(n).name),
30
- "controls-position": "right",
31
- disabled: e(n).control.readonly,
32
- onKeyup: v(e(p), ["enter", "native"]),
33
- modelValue: e(t),
34
- "onUpdate:modelValue": u[0] || (u[0] = (m) => y(t) ? t.value = m : t = m)
35
- }, null, 8, ["aria-label", "disabled", "onKeyup", "modelValue"]);
36
- };
37
- }
38
- });
39
- export {
40
- C as default
41
- };
@@ -1,71 +0,0 @@
1
- import { defineComponent as K, toRefs as E, ref as o, watch as F, openBlock as T, createBlock as U, resolveDynamicComponent as V, unref as t, withCtx as j, createElementVNode as A, toDisplayString as G } from "vue";
2
- import { d as n, $ as H, B as I, m, w as J, S as d } from "./main-DymfKjqO.js";
3
- const M = { class: "not-support" }, X = /* @__PURE__ */ K({
4
- __name: "List",
5
- props: {
6
- base: {},
7
- route: {},
8
- url: {},
9
- win: {}
10
- },
11
- emits: ["load", "navigate"],
12
- setup(b, { expose: P, emit: R }) {
13
- let v = R, w = b, { url: p, base: g, route: u } = E(w), y = o(), s = o(), r = o(), f = o(), S = o(), i = o(), c = o(), k = (e) => {
14
- let l = n.url.getPath(e), a = n.url.getPath(p.value);
15
- return l != a;
16
- }, q = (e) => {
17
- let l = n.url.getPath(p.value), a = n.url.getPath(e);
18
- return l != a;
19
- }, x = (e) => {
20
- var a;
21
- let l = H(e.module.type, e.module.name);
22
- I.setTitle(l, e.module.env), y.value = e.module, s.value = m.expandSchema(e.schema, e.set), r.value = (a = s.value) == null ? void 0 : a[0], f.value = e.next, S.value = m.expandSet(e.schema, e.set), c.value = m.getConditionForm(s.value, u.value.query.condition);
23
- }, h = (e = null, l = null) => {
24
- let a = e ?? u.value.query, z = n.url.getUrl(u.value.path, a);
25
- v("load", z, !1, l);
26
- }, C = (e) => {
27
- h(null, e);
28
- }, B = (e) => {
29
- v("navigate", e);
30
- }, D = async (e) => {
31
- let l = u.value.query;
32
- l.condition = J.encode(c.value), h(l, e);
33
- }, _ = () => {
34
- h();
35
- }, L = (e, l) => {
36
- d.triggerKeyboard(i.value, e, l);
37
- }, N = (e) => {
38
- d.triggerSocket(i.value, e);
39
- }, $ = (e) => {
40
- d.triggerResize(i.value, e);
41
- };
42
- return (() => {
43
- x(g.value.data);
44
- })(), F(() => g.value, (e) => {
45
- x(e.data);
46
- }), P({ shouldLoad: k, shouldSpin: q, onRefresh: _, onKeyboard: L, onSocket: N, onResize: $ }), (e, l) => (T(), U(V(`list-${t(r).layouts[0].type.toLowerCase()}`), {
47
- ref_key: "listRef",
48
- ref: i,
49
- route: t(u),
50
- module: t(y),
51
- schema: t(s),
52
- table: t(r),
53
- layout: t(r).layouts[0],
54
- next: t(f),
55
- set: t(S),
56
- "search-data": t(c),
57
- onSucceed: t(C),
58
- onSearch: t(D),
59
- onNavigate: t(B),
60
- onRefresh: t(_)
61
- }, {
62
- default: j(() => [
63
- A("div", M, "未支持的列表布局方式:" + G(t(r).layouts[0].type), 1)
64
- ]),
65
- _: 1
66
- }, 40, ["route", "module", "schema", "table", "layout", "next", "set", "search-data", "onSucceed", "onSearch", "onNavigate", "onRefresh"]));
67
- }
68
- });
69
- export {
70
- X as default
71
- };
@@ -1,14 +0,0 @@
1
- import { defineComponent as n, openBlock as o, createElementBlock as s, createElementVNode as t, toDisplayString as i, unref as r } from "vue";
2
- import { X as a } from "./main-DymfKjqO.js";
3
- const c = { class: "maintenance" }, l = { class: "description" }, f = /* @__PURE__ */ n({
4
- __name: "Maintaince",
5
- setup(m) {
6
- return (p, e) => (o(), s("div", c, [
7
- e[0] || (e[0] = t("div", { class: "title" }, "系统维护中", -1)),
8
- t("div", l, i(r(a)), 1)
9
- ]));
10
- }
11
- });
12
- export {
13
- f as default
14
- };
@@ -1,37 +0,0 @@
1
- import { defineComponent as i, toRefs as f, computed as h, resolveComponent as _, openBlock as V, createBlock as b, unref as e, isRef as k } from "vue";
2
- import { T as Y } from "./main-DymfKjqO.js";
3
- const x = /* @__PURE__ */ i({
4
- __name: "Month",
5
- props: {
6
- schema: {},
7
- table: {},
8
- field: {},
9
- searchData: {},
10
- modelValue: {}
11
- },
12
- emits: ["submit", "change", "update:modelValue"],
13
- setup(n, { emit: r }) {
14
- let a = r, p = n, { table: u, field: o, searchData: g, modelValue: s } = f(p), l = h({
15
- get() {
16
- return s.value;
17
- },
18
- set(t) {
19
- a("update:modelValue", t), a("change", t);
20
- }
21
- });
22
- return (t, m) => {
23
- const c = _("el-date-picker");
24
- return V(), b(c, {
25
- type: "month",
26
- placeholder: e(Y)(e(u).name, e(o).name),
27
- "value-format": "YYYY-MM",
28
- disabled: e(o).control.readonly,
29
- modelValue: e(l),
30
- "onUpdate:modelValue": m[0] || (m[0] = (d) => k(l) ? l.value = d : l = d)
31
- }, null, 8, ["placeholder", "disabled", "modelValue"]);
32
- };
33
- }
34
- });
35
- export {
36
- x as default
37
- };
@@ -1,38 +0,0 @@
1
- import { defineComponent as i, toRefs as f, computed as _, resolveComponent as V, openBlock as h, createBlock as b, unref as e, isRef as k } from "vue";
2
- import { T as Y } from "./main-DymfKjqO.js";
3
- const x = /* @__PURE__ */ i({
4
- __name: "Month",
5
- props: {
6
- schema: {},
7
- table: {},
8
- field: {},
9
- set: {},
10
- row: {},
11
- modelValue: {}
12
- },
13
- emits: ["submit", "change", "update:modelValue"],
14
- setup(n, { emit: r }) {
15
- let o = r, p = n, { table: u, field: a, set: g, modelValue: s } = f(p), l = _({
16
- get() {
17
- return s.value;
18
- },
19
- set(t) {
20
- o("update:modelValue", t), o("change", t);
21
- }
22
- });
23
- return (t, m) => {
24
- const c = V("el-date-picker");
25
- return h(), b(c, {
26
- type: "month",
27
- placeholder: e(Y)(e(u).name, e(a).name),
28
- "value-format": "YYYY-MM",
29
- disabled: e(a).control.readonly,
30
- modelValue: e(l),
31
- "onUpdate:modelValue": m[0] || (m[0] = (d) => k(l) ? l.value = d : l = d)
32
- }, null, 8, ["placeholder", "disabled", "modelValue"]);
33
- };
34
- }
35
- });
36
- export {
37
- x as default
38
- };
@@ -1,256 +0,0 @@
1
- import { defineComponent as he, toRefs as fe, ref as w, onMounted as ge, computed as E, watch as B, resolveComponent as _, openBlock as n, createElementBlock as d, normalizeClass as K, unref as e, createBlock as g, withCtx as m, Fragment as R, renderList as S, createVNode as C, createCommentVNode as V, toDisplayString as I, createElementVNode as L, normalizeStyle as _e, createTextVNode as be, resolveDynamicComponent as ye } from "vue";
2
- import { h as P, m as D, c as Ce, d as Q, b as U, p as ke, C as xe, D as we } from "./main-DymfKjqO.js";
3
- import "vue-router";
4
- import "./assets/intro.js-Cg1adLK7.js";
5
- const Re = {
6
- key: 1,
7
- class: "ha-empty"
8
- }, Se = {
9
- key: 2,
10
- ref: "normalRows",
11
- class: "normal-rows"
12
- }, $e = {
13
- key: 0,
14
- class: "normal-selection"
15
- }, ze = { class: "normal-content" }, Fe = /* @__PURE__ */ he({
16
- __name: "Normal",
17
- props: {
18
- route: {},
19
- validateErrors: {},
20
- module: {},
21
- schema: {},
22
- table: {},
23
- layout: {},
24
- next: {},
25
- set: {},
26
- url: {},
27
- win: {}
28
- },
29
- emits: ["change", "submit"],
30
- setup(X, { expose: Y, emit: Z }) {
31
- let M = Z, ee = X, { module: O, set: c, schema: N, table: t, layout: i, validateErrors: A } = fe(ee), p = w({ page: 1, count: c.value[t.value.name].length }), k = w([]), b = w(), T = w([]), j = w(), le = (l) => {
32
- T.value.push(l);
33
- }, te = () => {
34
- p.value.page = 1;
35
- }, ae = () => {
36
- b.value = G(t.value);
37
- let l = D.getDefaultRow(t.value);
38
- c.value[t.value.name].push(l);
39
- }, ne = () => {
40
- let l = c.value[t.value.name];
41
- k.value.forEach((a) => {
42
- l.splice(l.indexOf(a), 1);
43
- }), k.value = [], T.value.forEach((a) => {
44
- a.model && (a.model = !1);
45
- });
46
- }, W = (l) => c.value[t.value.name].indexOf(l), oe = (l, a, o, u, v) => {
47
- D.updateTooltip(o, u, v), M("change", l, a, o, u, v);
48
- }, ue = (l, a) => {
49
- l ? k.value.push(a) : Q.array.remove(k.value, a);
50
- }, re = (l) => {
51
- M("submit", l);
52
- }, se = (l, a = null) => {
53
- p.value.page = l;
54
- }, G = (l) => {
55
- if (l.main || l.search.length == 0)
56
- return null;
57
- let a = {};
58
- l.search.forEach((u) => {
59
- a[u.name] || (a[u.name] = null);
60
- });
61
- let o = {};
62
- return o[l.name] = a, o;
63
- }, H = (l) => {
64
- b.value = G(l);
65
- }, me = () => {
66
- F();
67
- }, ce = (l) => {
68
- H(l.schema[0]);
69
- }, F = () => {
70
- let l = j.value.clientWidth;
71
- i.value.column = Math.ceil(l / 500);
72
- }, ie = () => {
73
- F(), H(t.value);
74
- };
75
- ge(() => {
76
- ie();
77
- });
78
- let pe = E(() => P.splitRows(t.value.search, i.value.column)), J = E(() => {
79
- if (!b.value)
80
- return c.value[t.value.name];
81
- let l = b.value[t.value.name], a = (p.value.page - 1) * i.value.size, o = p.value.page * i.value.size - 1, u = c.value[t.value.name].filter(($) => {
82
- let f = !0;
83
- for (let x = 0; x < t.value.search.length; x++) {
84
- let y = t.value.search[x], s = $[y.name], h = l[y.name];
85
- if (h) {
86
- if (y.search == "Equals") {
87
- if (s !== h) {
88
- f = !1;
89
- break;
90
- }
91
- } else if (y.search == "Contains" && s.indexOf(h) == -1) {
92
- f = !1;
93
- break;
94
- }
95
- }
96
- }
97
- return f;
98
- });
99
- return p.value.count = u.length, u.filter(($, f) => f >= a && f <= o);
100
- }), ve = E(() => D.getLines(t.value.show, i.value.column, (a) => a, (a) => a.colspan)), de = E(() => {
101
- let l = t.value.main ? `/${t.value.name}` : `/${N.value[0].name}/${t.value.name}`;
102
- return Ce.getComponent(`${l}/update-child`, "partial", "update-child");
103
- });
104
- return B(() => c.value[t.value.name], (l, a) => {
105
- let o = l.length, u = a.length, v = Q.math.pageCount(c.value[t.value.name].length, i.value.size);
106
- (o > u || o < u && p.value.page > v) && (p.value.page = v);
107
- }, { deep: !0 }), B(A, (l, a) => {
108
- let o = l.find((u) => u.table == t.value.name);
109
- o != null && (p.value.page = Math.ceil((o.index + 1) / i.value.size));
110
- }), B(t, (l, a) => {
111
- F();
112
- }), Y({ onResize: me, update: ce }), (l, a) => {
113
- const o = _("el-form-item"), u = _("el-col"), v = _("el-row"), $ = _("el-form"), f = _("el-checkbox"), x = _("el-popover"), y = _("el-pagination");
114
- return n(), d("div", {
115
- ref_key: "normalRef",
116
- ref: j,
117
- class: K(["ha-normal-layout", { draggable: e(i).sort }])
118
- }, [
119
- e(b) ? (n(), g($, {
120
- key: 0,
121
- class: "search-form"
122
- }, {
123
- default: m(() => [
124
- (n(!0), d(R, null, S(e(pe), (s, h) => (n(), g(v, {
125
- gutter: 5,
126
- key: h
127
- }, {
128
- default: m(() => [
129
- (n(!0), d(R, null, S(s, (r, q) => (n(), g(u, {
130
- span: 24 / e(i).column,
131
- key: q
132
- }, {
133
- default: m(() => [
134
- C(o, {
135
- label: r.label
136
- }, {
137
- default: m(() => [
138
- C(e(U), {
139
- schema: e(N),
140
- table: e(t),
141
- field: r,
142
- set: e(b),
143
- onSubmit: e(te)
144
- }, null, 8, ["schema", "table", "field", "set", "onSubmit"])
145
- ]),
146
- _: 2
147
- }, 1032, ["label"])
148
- ]),
149
- _: 2
150
- }, 1032, ["span"]))), 128))
151
- ]),
152
- _: 2
153
- }, 1024))), 128))
154
- ]),
155
- _: 1
156
- })) : V("", !0),
157
- e(J).length ? (n(), d("div", Se, [
158
- (n(!0), d(R, null, S(e(J), (s) => (n(), d("div", {
159
- class: K(["normal-row", { main: e(t).main }])
160
- }, [
161
- e(t).main ? V("", !0) : (n(), d("div", $e, [
162
- C(f, {
163
- ref_for: !0,
164
- ref: e(le),
165
- class: "normal-checkbox",
166
- row: s,
167
- onChange: (h) => e(ue)(h, s)
168
- }, null, 8, ["row", "onChange"])
169
- ])),
170
- L("div", ze, [
171
- (n(!0), d(R, null, S(e(ve), (h) => (n(), g(v, null, {
172
- default: m(() => [
173
- (n(!0), d(R, null, S(h, ({ data: r, span: q }) => (n(), g(u, {
174
- span: q,
175
- key: `${e(t).name}.${r.name}`
176
- }, {
177
- default: m(() => [
178
- C(o, {
179
- style: _e(e(P).getStyle(r, e(O).type, e(i).type)),
180
- label: r.label,
181
- rules: e(D).getRules(e(A), e(t), r, e(W)(s)),
182
- prop: `[${e(t).name}][${e(W)(s)}][${r.name}]`
183
- }, {
184
- label: m(() => {
185
- var z;
186
- return [
187
- be(I(e(xe)(e(t).name, r.name)) + " ", 1),
188
- (z = r.control.tooltip) != null && z.content ? (n(), g(x, {
189
- key: 0,
190
- trigger: "hover",
191
- placement: "top",
192
- width: "auto",
193
- title: r.control.tooltip.title
194
- }, {
195
- reference: m(() => a[1] || (a[1] = [
196
- L("i", { class: "fa fa-question-circle icon-question" }, null, -1)
197
- ])),
198
- default: m(() => [
199
- L("pre", null, I(r.control.tooltip.content), 1)
200
- ]),
201
- _: 2
202
- }, 1032, ["title"])) : V("", !0)
203
- ];
204
- }),
205
- default: m(() => [
206
- C(e(U), {
207
- schema: e(N),
208
- set: e(c),
209
- table: e(t),
210
- row: s,
211
- field: r,
212
- onSubmit: e(re),
213
- onChange: (z) => e(oe)(z, e(c), e(t), s, r)
214
- }, null, 8, ["schema", "set", "table", "row", "field", "onSubmit", "onChange"])
215
- ]),
216
- _: 2
217
- }, 1032, ["style", "label", "rules", "prop"])
218
- ]),
219
- _: 2
220
- }, 1032, ["span"]))), 128))
221
- ]),
222
- _: 2
223
- }, 1024))), 256))
224
- ])
225
- ], 2))), 256))
226
- ], 512)) : (n(), d("div", Re, I(e(ke)("common.no_data")), 1)),
227
- e(t).main ? V("", !0) : (n(), g(e(we), { key: 3 }, {
228
- left: m(() => [
229
- (n(), g(ye(e(de)), {
230
- module: e(O),
231
- set: e(c),
232
- table: e(t),
233
- selection: e(k),
234
- onAdd: e(ae),
235
- onRemove: e(ne)
236
- }, null, 40, ["module", "set", "table", "selection", "onAdd", "onRemove"]))
237
- ]),
238
- default: m(() => [
239
- C(y, {
240
- background: "",
241
- layout: "total, prev, pager, next, jumper",
242
- "current-page": e(p).page,
243
- "page-size": e(i).size,
244
- total: e(p).count,
245
- onCurrentChange: a[0] || (a[0] = (s) => e(se)(s, e(t)))
246
- }, null, 8, ["current-page", "page-size", "total"])
247
- ]),
248
- _: 1
249
- }))
250
- ], 2);
251
- };
252
- }
253
- });
254
- export {
255
- Fe as default
256
- };
@@ -1,94 +0,0 @@
1
- import { defineComponent as E, toRefs as G, ref as r, onMounted as H, watch as I, unref as t, openBlock as Q, createBlock as W, createCommentVNode as X } from "vue";
2
- import { d as o, $ as Y, B as Z, m as d, w as b, S as p } from "./main-DymfKjqO.js";
3
- import { _ as ee } from "./Index.vue_vue_type_script_setup_true_lang-ByxBNAdg.js";
4
- const ue = /* @__PURE__ */ E({
5
- __name: "Paging",
6
- props: {
7
- base: {},
8
- route: {},
9
- url: {},
10
- win: {}
11
- },
12
- emits: ["navigate", "load"],
13
- setup(w, { expose: P, emit: k }) {
14
- let y = k, z = w, { url: h, win: R, base: f, route: u } = G(z), S = r(), i = r(), g = r(), c = r(), x = r(), C = r(), m = r(), v = r(), B = (e) => !0, N = (e) => {
15
- let l = o.url.getPath(h.value), a = o.url.getPath(e);
16
- return l != a;
17
- }, L = (e = null) => {
18
- U(e);
19
- }, $ = () => {
20
- }, q = (e) => {
21
- var a;
22
- let l = Y(e.module.type, e.module.name);
23
- Z.setTitle(l, e.module.env), S.value = e.module, x.value = e.next, C.value = d.expandSet(e.schema, e.set), i.value = d.expandSchema(e.schema, e.set), g.value = (a = i.value) == null ? void 0 : a[0], c.value = g.value.layouts[0], m.value = d.getConditionForm(i.value, u.value.query.condition);
24
- }, _ = (e = null, l = null) => {
25
- let a = e ?? u.value.query, n = o.url.getUrl(u.value.path, a);
26
- y("load", n, !1, (A) => {
27
- l && l(A);
28
- });
29
- }, s = (e, l) => {
30
- y("navigate", e, l);
31
- }, D = async (e) => {
32
- let l = u.value.query;
33
- l.page = 1;
34
- let a = o.object.pure(m.value);
35
- l.condition = b.encode(a);
36
- let n = o.url.getUrl(u.value.path, l);
37
- n == h.value ? _(l, e) : s(n, e);
38
- }, K = (e, l) => {
39
- let a = u.value.query;
40
- a.order_by = b.encode(JSON.stringify(e));
41
- let n = o.url.getUrl(u.value.path, a);
42
- s(n, l);
43
- }, j = (e, l = null) => {
44
- let a = u.value.query;
45
- a.page = e;
46
- let n = o.url.getUrl(u.value.path, a);
47
- s(n, l);
48
- }, F = (e, l = null) => {
49
- let a = u.value.query;
50
- a.size = e;
51
- let n = o.url.getUrl(u.value.path, a);
52
- s(n, l);
53
- }, J = (e) => {
54
- c.value = g.value.layouts.find((l) => l.type == e);
55
- }, M = () => {
56
- q(f.value.data);
57
- }, U = (e = null) => _(null, e), O = (e, l) => {
58
- p.triggerKeyboard(v.value, e, l);
59
- }, T = (e) => {
60
- p.triggerSocket(v.value, e);
61
- }, V = (e) => {
62
- p.triggerResize(v.value, e);
63
- };
64
- return H(async () => {
65
- M();
66
- }), I(() => f.value, (e) => {
67
- q(e.data);
68
- }), P({ shouldLoad: B, shouldSpin: N, onRefresh: U, onKeyboard: O, onSocket: T, onResize: V }), (e, l) => t(c) ? (Q(), W(ee, {
69
- key: 0,
70
- ref_key: "pagingRef",
71
- ref: v,
72
- url: t(h),
73
- win: t(R),
74
- module: t(S),
75
- next: t(x),
76
- set: t(C),
77
- schema: t(i),
78
- table: t(g),
79
- layout: t(c),
80
- "search-data": t(m),
81
- onNavigate: t(s),
82
- onSort: t(K),
83
- onSearch: t(D),
84
- onPageChange: t(j),
85
- onSizeChange: t(F),
86
- onLayoutChange: t(J),
87
- onSucceed: t(L),
88
- onClose: t($)
89
- }, null, 8, ["url", "win", "module", "next", "set", "schema", "table", "layout", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onLayoutChange", "onSucceed", "onClose"])) : X("", !0);
90
- }
91
- });
92
- export {
93
- ue as default
94
- };