halo-pc 1.0.41 → 1.0.42

Sign up to get free protection for your applications and to get access to all the features.
Files changed (348) hide show
  1. package/dist/{Article-BMW_FzdK.js → Article-DFUSows8.js} +70 -65
  2. package/dist/{ArticleFooter-7iPkMQaX.js → ArticleFooter-Cj1BBlA1.js} +27 -22
  3. package/dist/{Autocomplete-C-El55Lz.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-BQUrQwua.js → CSharp-DKso7gNM.js} +1 -1
  7. package/dist/{Calender-CJXR7uhM.js → Calender-D-SOVcZj.js} +1 -1
  8. package/dist/Callback-BR41Vj-N.js +26 -0
  9. package/dist/{Cascader-CFc_8QSm.js → Cascader-CgATYx_L.js} +25 -20
  10. package/dist/{Cascader-DMQjalNv.js → Cascader-_zr2LKml.js} +6 -6
  11. package/dist/{Checkbox-pV01os-T.js → Checkbox-5ILQf19K.js} +1 -1
  12. package/dist/{Checkbox-aU8e779g.js → Checkbox-BL8CgSAj.js} +22 -17
  13. package/dist/Code-B4PQhSMK.js +4 -0
  14. package/dist/{Code-kDBbVC1W.js → Code-C-YP2p5l.js} +1 -1
  15. package/dist/{Code-C4pIa8BE.js → Code-DFyhE56y.js} +3 -3
  16. package/dist/{Code-CCJx9RSm.js → Code-DiXOxLRf.js} +4 -4
  17. package/dist/{Code.vue_vue_type_style_index_0_lang-36NN7tgP.js → Code.vue_vue_type_style_index_0_lang-XgvwusB0.js} +8 -8
  18. package/dist/{Column-BebDf5Z9.js → Column-Bc7Oihiz.js} +8 -8
  19. package/dist/{Comment-BgfD9WtL.js → Comment-xRgfVwWf.js} +1 -1
  20. package/dist/Compare-Bs02uoCu.js +43 -0
  21. package/dist/Compare-CzjhvoMB.js +63 -0
  22. package/dist/{Copy-DW4jSNQi.js → Copy-Cm2a5gNO.js} +16 -11
  23. package/dist/{Custom-DIF-RYi3.js → Custom-DUwgObv0.js} +16 -16
  24. package/dist/{DataExport-CyQy2xjO.js → DataExport-Bl8Gnd65.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-C4n6xWcP.js → DataExport.vue_vue_type_script_setup_true_lang-BdcGXCd-.js} +33 -28
  26. package/dist/{DataImport-BVF83UsQ.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-CqpFvbYZ.js → Date-3ShwD2-i.js} +1 -1
  29. package/dist/Date-Bxg6thBd.js +43 -0
  30. package/dist/{DateRange-B2afkdbT.js → DateRange-Bs02SlBL.js} +16 -11
  31. package/dist/DateTime-9zVeZZU1.js +44 -0
  32. package/dist/{DateTime-Zi3vtH77.js → DateTime-CBvGI0QK.js} +1 -1
  33. package/dist/{DateTimeRange-BFWM_U7H.js → DateTimeRange-BvzT4ePX.js} +16 -11
  34. package/dist/{Daterange-tXA0b0Ak.js → Daterange-jjGQtOYX.js} +21 -16
  35. package/dist/{Decimal-DKQ38XS_.js → Decimal-ZCkGNnu6.js} +1 -1
  36. package/dist/Delete-DFYWGXxR.js +62 -0
  37. package/dist/{Detail-SWgERqKG.js → Detail-BCOVW_Bc.js} +23 -18
  38. package/dist/{Dictionary-Xsj_Qorw.js → Dictionary-CzVkbTgC.js} +1 -1
  39. package/dist/{Email-DILPnLkb.js → Email-BkTp1o4W.js} +19 -14
  40. package/dist/File-B5gD6gIN.js +164 -0
  41. package/dist/{Image-Yx3ZHHJK.js → Image-CJehZtl1.js} +1 -1
  42. package/dist/{Index-CiQQmYeA.js → Index--k39OOeR.js} +1 -1
  43. package/dist/Index-BgaidjN1.js +4 -0
  44. package/dist/{Index-DeYqTT9Q.js → Index-Bkk7Lbow.js} +1 -1
  45. package/dist/Index-C1d92iVF.js +4 -0
  46. package/dist/{Index-BTa4YIN9.js → Index-CqcpoI5q.js} +64 -59
  47. package/dist/Index-D46msJe6.js +4 -0
  48. package/dist/Index-DNzPzZAD.js +4 -0
  49. package/dist/{Index-WVLyjyqt.js → Index-fLIY_xZz.js} +20 -15
  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-DWMiv0dC.js → Index.vue_vue_type_script_setup_true_lang-BBos3LCo.js} +11 -11
  52. package/dist/{Install-DW5uDsXF.js → Install-D5a1Clhz.js} +37 -32
  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-DF3nu9Jd.js → Maintaince-or5c_o4Q.js} +4 -4
  57. package/dist/{Markdown-BC8l7O_U.js → Markdown-DA3F0wmz.js} +1 -1
  58. package/dist/{Month-DRa9o-WC.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-U-oJ1TQE.js → PagingHeader-ooBPU84X.js} +28 -23
  64. package/dist/{PagingRow-BmokRXX3.js → PagingRow-BBzD3uJR.js} +17 -12
  65. package/dist/{Racebar-BvFHNGb8.js → Racebar-CGxwvdJg.js} +4 -4
  66. package/dist/{Radio-CjfXrTOE.js → Radio-Rf8Dk0Kt.js} +1 -1
  67. package/dist/{Register-BG-3_Q2E.js → Register-CRG2u_Oc.js} +72 -67
  68. package/dist/{RichText-C88f59ao.js → RichText-D9mVss4s.js} +6 -6
  69. package/dist/{SearchForm-C0zqD7UP.js → SearchForm-DhNSuvIB.js} +1 -1
  70. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-Bv1_VqSl.js → SearchForm.vue_vue_type_style_index_0_lang-rTj9jfpz.js} +36 -31
  71. package/dist/{SearchHeader-e2LOidgU.js → SearchHeader-BH9MZ9J0.js} +1 -1
  72. package/dist/{SearchHeader.vue_vue_type_style_index_0_lang-DebuWiG6.js → SearchHeader.vue_vue_type_style_index_0_lang-BCguAmMx.js} +1 -1
  73. package/dist/Select-BGxScF1V.js +117 -0
  74. package/dist/{Select-CvP_zGxM.js → Select-D6zMSIK-.js} +1 -1
  75. package/dist/Select-pxgFT4W6.js +86 -0
  76. package/dist/{Single-p-8OfzhQ.js → Single-Dur5AQwJ.js} +105 -98
  77. package/dist/{Statistic-BIKfbZCI.js → Statistic-D2Ui-cl9.js} +47 -42
  78. package/dist/{Stock-B7RP-SuF.js → Stock-CPNV5oAr.js} +1 -1
  79. package/dist/{Stock-BhOP8J0c.js → Stock-S-yoIR63.js} +1 -1
  80. package/dist/{Stock.vue_vue_type_style_index_0_lang-Dpw8BlLu.js → Stock.vue_vue_type_style_index_0_lang-CBM83HPm.js} +16 -11
  81. package/dist/{Switch-BcDhe4_E.js → Switch-Ddzu0cVc.js} +1 -1
  82. package/dist/{Table-Cy7FarYr.js → Table-Dehxw_Mm.js} +126 -121
  83. package/dist/{Table-DK-TaejU.js → Table-td4DoauS.js} +95 -90
  84. package/dist/Text-BQ2sP6BX.js +54 -0
  85. package/dist/Text-BlDU58Cj.js +4 -0
  86. package/dist/{Text-YNB0It4-.js → Text-DzOAFDPQ.js} +15 -10
  87. package/dist/{Text.vue_vue_type_style_index_0_lang-Dokzd_qM.js → Text.vue_vue_type_style_index_0_lang-SkwvLnGj.js} +1 -1
  88. package/dist/TextLink-BNd6HG70.js +65 -0
  89. package/dist/{Textarea-86C9lCtg.js → Textarea-BEGLCMlW.js} +1 -1
  90. package/dist/Time-6IjugDB1.js +43 -0
  91. package/dist/{Timeline-O_jWjdxT.js → Timeline-rO6-BdP9.js} +1 -1
  92. package/dist/{Tree-BfFRW-xZ.js → Tree-B4CrBXsk.js} +1 -1
  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-YzPMnj_r.js → UpdateChild-D_vBiyT5.js} +17 -12
  97. package/dist/{Upload-Dj5nSsug.js → Upload-ByD17bHe.js} +18 -18
  98. package/dist/Upload-pOEf-6VG.js +150 -0
  99. package/dist/{Year-CcbzIuwy.js → Year-CWW-xi29.js} +1 -1
  100. package/dist/Year-DkYUnUm3.js +47 -0
  101. package/dist/{main-DxH9UW19.js → main-DSgfGXqN.js} +6148 -5905
  102. package/dist/main.js +162 -164
  103. package/dist/style.css +1 -1
  104. package/esm/@types/CreatePcOptions.d.ts +1 -2
  105. package/esm/@types/index.d.ts +1 -2
  106. package/esm/coms/business/@types/DrawerProps.d.ts +1 -2
  107. package/esm/coms/business/@types/FormProps.d.ts +1 -2
  108. package/esm/coms/business/@types/index.d.ts +2 -3
  109. package/esm/coms/business/Condition.vue.d.ts +3 -3
  110. package/esm/coms/business/Drawer.vue.d.ts +2 -2
  111. package/esm/coms/business/Form.vue.d.ts +3 -2
  112. package/esm/coms/commons/@types/TableProps.d.ts +1 -2
  113. package/esm/coms/commons/@types/index.d.ts +1 -2
  114. package/esm/coms/commons/Captcha.vue.d.ts +1 -1
  115. package/esm/coms/commons/Debug.vue.d.ts +2 -1
  116. package/esm/coms/commons/Editable.vue.d.ts +2 -1
  117. package/esm/coms/commons/Loading.vue.d.ts +2 -1
  118. package/esm/coms/commons/Resizer.vue.d.ts +3 -2
  119. package/esm/coms/commons/Table.vue.d.ts +8 -3
  120. package/esm/coms/commons/TableColumn.vue.d.ts +2 -1
  121. package/esm/coms/controls/@types/ControlProps.d.ts +1 -2
  122. package/esm/coms/controls/@types/index.d.ts +1 -2
  123. package/esm/coms/controls/Autocomplete.vue.d.ts +4 -5
  124. package/esm/coms/controls/Cascader.vue.d.ts +4 -5
  125. package/esm/coms/controls/Checkbox.vue.d.ts +5 -6
  126. package/esm/coms/controls/Code.vue.d.ts +4 -5
  127. package/esm/coms/controls/Color.vue.d.ts +4 -5
  128. package/esm/coms/controls/Compare.vue.d.ts +5 -6
  129. package/esm/coms/controls/Date.vue.d.ts +4 -5
  130. package/esm/coms/controls/DateRange.vue.d.ts +4 -5
  131. package/esm/coms/controls/DateTime.vue.d.ts +4 -5
  132. package/esm/coms/controls/DateTimeRange.vue.d.ts +4 -5
  133. package/esm/coms/controls/Decimal.vue.d.ts +4 -5
  134. package/esm/coms/controls/Email.vue.d.ts +4 -5
  135. package/esm/coms/controls/Index.vue.d.ts +4 -5
  136. package/esm/coms/controls/Int.vue.d.ts +4 -5
  137. package/esm/coms/controls/Markdown.vue.d.ts +4 -5
  138. package/esm/coms/controls/Month.vue.d.ts +4 -5
  139. package/esm/coms/controls/Password.vue.d.ts +4 -5
  140. package/esm/coms/controls/Progress.vue.d.ts +4 -5
  141. package/esm/coms/controls/Radio.vue.d.ts +4 -5
  142. package/esm/coms/controls/Rate.vue.d.ts +4 -5
  143. package/esm/coms/controls/RichText.vue.d.ts +4 -4
  144. package/esm/coms/controls/Select.vue.d.ts +4 -5
  145. package/esm/coms/controls/Switch.vue.d.ts +5 -6
  146. package/esm/coms/controls/Text.vue.d.ts +4 -5
  147. package/esm/coms/controls/Textarea.vue.d.ts +4 -5
  148. package/esm/coms/controls/Time.vue.d.ts +4 -5
  149. package/esm/coms/controls/Upload.vue.d.ts +5 -6
  150. package/esm/coms/controls/Year.vue.d.ts +4 -5
  151. package/esm/coms/drivers/@types/CrudProps.d.ts +1 -2
  152. package/esm/coms/drivers/@types/DriverBaseProps.d.ts +1 -2
  153. package/esm/coms/drivers/@types/DriverEmit.d.ts +1 -2
  154. package/esm/coms/drivers/@types/DriverFormProps.d.ts +2 -3
  155. package/esm/coms/drivers/@types/DriverKindEmit.d.ts +2 -3
  156. package/esm/coms/drivers/@types/DriverProps.d.ts +3 -4
  157. package/esm/coms/drivers/@types/KindFormProps.d.ts +0 -1
  158. package/esm/coms/drivers/@types/KindProps.d.ts +2 -3
  159. package/esm/coms/drivers/@types/index.d.ts +5 -6
  160. package/esm/coms/drivers/Crud.vue.d.ts +6 -3
  161. package/esm/coms/drivers/Index.vue.d.ts +2 -1
  162. package/esm/coms/drivers/Kind.vue.d.ts +2 -1
  163. package/esm/coms/globals/@types/WindowEmit.d.ts +6 -7
  164. package/esm/coms/globals/@types/WindowOptions.d.ts +1 -2
  165. package/esm/coms/globals/@types/WindowProps.d.ts +2 -3
  166. package/esm/coms/globals/@types/index.d.ts +3 -4
  167. package/esm/coms/globals/HeaderTab.vue.d.ts +3 -2
  168. package/esm/coms/globals/HeaderTabs.vue.d.ts +4 -3
  169. package/esm/coms/globals/MenuItem.vue.d.ts +1 -1
  170. package/esm/coms/globals/MissComponent.vue.d.ts +3 -2
  171. package/esm/coms/globals/SideTab.vue.d.ts +3 -2
  172. package/esm/coms/globals/SideTabs.vue.d.ts +2 -1
  173. package/esm/coms/globals/Window.vue.d.ts +43 -2
  174. package/esm/coms/headers/@types/ChangeProps.d.ts +1 -2
  175. package/esm/coms/headers/@types/HeaderProps.d.ts +1 -2
  176. package/esm/coms/headers/@types/TipsProps.d.ts +1 -2
  177. package/esm/coms/headers/@types/index.d.ts +3 -4
  178. package/esm/coms/headers/Hamburger.vue.d.ts +1 -1
  179. package/esm/coms/headers/Index.vue.d.ts +3 -2
  180. package/esm/coms/headers/Logo.vue.d.ts +1 -1
  181. package/esm/coms/headers/Refresh.vue.d.ts +1 -1
  182. package/esm/coms/layouts/@types/ITaskBar.d.ts +1 -2
  183. package/esm/coms/layouts/@types/index.d.ts +1 -2
  184. package/esm/coms/layouts/Desktop.vue.d.ts +1 -1
  185. package/esm/coms/layouts/Index.vue.d.ts +6 -6
  186. package/esm/coms/layouts/Side.vue.d.ts +2 -2
  187. package/esm/coms/layouts/Top.vue.d.ts +1 -1
  188. package/esm/coms/lists/@types/ListProps.d.ts +1 -2
  189. package/esm/coms/lists/@types/index.d.ts +1 -2
  190. package/esm/coms/lists/Calender.vue.d.ts +1 -1
  191. package/esm/coms/lists/Racebar.vue.d.ts +1 -1
  192. package/esm/coms/lists/Statistic.vue.d.ts +1 -1
  193. package/esm/coms/lists/Stock.vue.d.ts +1 -1
  194. package/esm/coms/lists/Timeline.vue.d.ts +1 -1
  195. package/esm/coms/lists/Tree.vue.d.ts +1 -1
  196. package/esm/coms/pages/@types/ColumnPageProps.d.ts +2 -3
  197. package/esm/coms/pages/@types/CustomPageProps.d.ts +2 -3
  198. package/esm/coms/pages/@types/DeletePageProps.d.ts +2 -3
  199. package/esm/coms/pages/@types/ListPageProps.d.ts +2 -3
  200. package/esm/coms/pages/@types/PageEmit.d.ts +1 -2
  201. package/esm/coms/pages/@types/PageProps.d.ts +1 -2
  202. package/esm/coms/pages/@types/PagingPageProps.d.ts +2 -3
  203. package/esm/coms/pages/@types/SchemaProps.d.ts +3 -4
  204. package/esm/coms/pages/@types/SinglePageProps.d.ts +2 -3
  205. package/esm/coms/pages/@types/index.d.ts +9 -10
  206. package/esm/coms/pages/Column.vue.d.ts +1 -1
  207. package/esm/coms/pages/Delete.vue.d.ts +1 -1
  208. package/esm/coms/pages/Paging.vue.d.ts +1 -2
  209. package/esm/coms/pagings/@types/PagingProps.d.ts +1 -2
  210. package/esm/coms/pagings/@types/SearchFormProps.d.ts +1 -2
  211. package/esm/coms/pagings/@types/SearchHeaderProps.d.ts +1 -2
  212. package/esm/coms/pagings/@types/index.d.ts +3 -4
  213. package/esm/coms/pagings/Article.vue.d.ts +1 -1
  214. package/esm/coms/pagings/Code.vue.d.ts +1 -1
  215. package/esm/coms/pagings/File.vue.d.ts +1 -1
  216. package/esm/coms/pagings/Index.vue.d.ts +1 -2
  217. package/esm/coms/pagings/SearchHeader.vue.d.ts +1 -1
  218. package/esm/coms/pagings/Table.vue.d.ts +2 -3
  219. package/esm/coms/panels/@types/OperationProps.d.ts +1 -2
  220. package/esm/coms/panels/@types/index.d.ts +1 -2
  221. package/esm/coms/panels/Group.vue.d.ts +3 -2
  222. package/esm/coms/panels/Header.vue.d.ts +1 -1
  223. package/esm/coms/panels/Operation.vue.d.ts +3 -2
  224. package/esm/coms/panels/Panel.vue.d.ts +3 -2
  225. package/esm/coms/panels/Shrink.vue.d.ts +3 -2
  226. package/esm/coms/partials/@types/ArticleFooterEmit.d.ts +1 -2
  227. package/esm/coms/partials/@types/DetailEmit.d.ts +1 -2
  228. package/esm/coms/partials/@types/DetailProps.d.ts +1 -2
  229. package/esm/coms/partials/@types/PagingHeaderEmit.d.ts +2 -3
  230. package/esm/coms/partials/@types/PagingHeaderProps.d.ts +1 -2
  231. package/esm/coms/partials/@types/PagingRowEmit.d.ts +1 -2
  232. package/esm/coms/partials/@types/PagingRowProps.d.ts +1 -2
  233. package/esm/coms/partials/@types/TreeNodeProps.d.ts +1 -2
  234. package/esm/coms/partials/@types/UpdateChildEmit.d.ts +1 -2
  235. package/esm/coms/partials/@types/UpdateChildProps.d.ts +1 -2
  236. package/esm/coms/partials/@types/UpdateEmit.d.ts +1 -2
  237. package/esm/coms/partials/@types/UpdateProps.d.ts +1 -2
  238. package/esm/coms/partials/@types/index.d.ts +12 -13
  239. package/esm/coms/partials/ArticleFooter.vue.d.ts +1 -1
  240. package/esm/coms/partials/Detail.vue.d.ts +1 -1
  241. package/esm/coms/partials/PagingHeader.vue.d.ts +2 -2
  242. package/esm/coms/partials/PagingRow.vue.d.ts +2 -2
  243. package/esm/coms/partials/TreeNode.vue.d.ts +1 -1
  244. package/esm/coms/partials/Update.vue.d.ts +1 -1
  245. package/esm/coms/searches/@types/SearchProps.d.ts +1 -2
  246. package/esm/coms/searches/@types/index.d.ts +1 -2
  247. package/esm/coms/searches/Autocomplete.vue.d.ts +4 -5
  248. package/esm/coms/searches/Daterange.vue.d.ts +4 -5
  249. package/esm/coms/searches/Int.vue.d.ts +4 -5
  250. package/esm/coms/searches/Month.vue.d.ts +4 -5
  251. package/esm/coms/searches/Select.vue.d.ts +4 -5
  252. package/esm/coms/searches/Text.vue.d.ts +4 -2
  253. package/esm/coms/singles/@types/SingleProps.d.ts +1 -2
  254. package/esm/coms/singles/@types/index.d.ts +1 -2
  255. package/esm/coms/singles/Code.vue.d.ts +1 -1
  256. package/esm/coms/singles/Comment.vue.d.ts +1 -1
  257. package/esm/coms/singles/Normal.vue.d.ts +1 -1
  258. package/esm/coms/singles/Statistic.vue.d.ts +1 -1
  259. package/esm/coms/singles/Stock.vue.d.ts +1 -1
  260. package/esm/coms/singles/Tree.vue.d.ts +1 -1
  261. package/esm/coms/texts/Autocomplete.vue.d.ts +3 -4
  262. package/esm/coms/texts/CSharp.vue.d.ts +3 -4
  263. package/esm/coms/texts/Cascader.vue.d.ts +5 -6
  264. package/esm/coms/texts/Checkbox.vue.d.ts +3 -4
  265. package/esm/coms/texts/Code.vue.d.ts +3 -4
  266. package/esm/coms/texts/Color.vue.d.ts +3 -4
  267. package/esm/coms/texts/Compare.vue.d.ts +3 -4
  268. package/esm/coms/texts/Copy.vue.d.ts +6 -6
  269. package/esm/coms/texts/Date.vue.d.ts +3 -4
  270. package/esm/coms/texts/DateRange.vue.d.ts +3 -4
  271. package/esm/coms/texts/DateTime.vue.d.ts +3 -4
  272. package/esm/coms/texts/Decimal.vue.d.ts +3 -4
  273. package/esm/coms/texts/Dictionary.vue.d.ts +5 -6
  274. package/esm/coms/texts/Email.vue.d.ts +3 -4
  275. package/esm/coms/texts/Index.vue.d.ts +4 -5
  276. package/esm/coms/texts/Int.vue.d.ts +3 -4
  277. package/esm/coms/texts/Markdown.vue.d.ts +3 -4
  278. package/esm/coms/texts/Month.vue.d.ts +3 -4
  279. package/esm/coms/texts/Password.vue.d.ts +3 -4
  280. package/esm/coms/texts/Progress.vue.d.ts +3 -4
  281. package/esm/coms/texts/Radio.vue.d.ts +3 -4
  282. package/esm/coms/texts/Rate.vue.d.ts +4 -5
  283. package/esm/coms/texts/RichText.vue.d.ts +3 -4
  284. package/esm/coms/texts/Select.vue.d.ts +3 -4
  285. package/esm/coms/texts/Switch.vue.d.ts +3 -4
  286. package/esm/coms/texts/Text.vue.d.ts +3 -4
  287. package/esm/coms/texts/TextLink.vue.d.ts +2 -1
  288. package/esm/coms/texts/Textarea.vue.d.ts +3 -4
  289. package/esm/coms/texts/Upload.vue.d.ts +3 -4
  290. package/esm/coms/texts/Year.vue.d.ts +3 -4
  291. package/esm/drivers/index.d.ts +0 -1
  292. package/esm/drivers/messengers/PcMessenger.d.ts +1 -2
  293. package/esm/drivers/messengers/index.d.ts +1 -2
  294. package/esm/repos/UploadApi.d.ts +1 -2
  295. package/esm/repos/index.d.ts +1 -2
  296. package/esm/svcs/AppSvc.d.ts +1 -2
  297. package/esm/svcs/ComponentSvc.d.ts +1 -2
  298. package/esm/svcs/ControlSvc.d.ts +1 -2
  299. package/esm/svcs/LayoutSvc.d.ts +1 -2
  300. package/esm/svcs/ModuleSvc.d.ts +3 -4
  301. package/esm/svcs/PageSvc.d.ts +1 -2
  302. package/esm/svcs/RouterSvc.d.ts +1 -2
  303. package/esm/svcs/Svcs.d.ts +11 -0
  304. package/esm/svcs/UploadSvc.d.ts +1 -2
  305. package/esm/svcs/WindowSvc.d.ts +1 -2
  306. package/esm/svcs/index.d.ts +10 -9
  307. package/esm/views/helps/401.vue.d.ts +1 -1
  308. package/esm/views/helps/404.vue.d.ts +1 -1
  309. package/esm/views/helps/Install.vue.d.ts +1 -1
  310. package/esm/views/helps/Maintaince.vue.d.ts +1 -1
  311. package/esm/views/logins/Callback.vue.d.ts +1 -1
  312. package/esm/views/logins/Index.vue.d.ts +1 -1
  313. package/esm/views/logins/Register.vue.d.ts +1 -1
  314. package/package.json +6 -6
  315. package/dist/Autocomplete-B6Mwp9rT.js +0 -50
  316. package/dist/Autocomplete-PZTjEBIx.js +0 -49
  317. package/dist/Callback-CyDW9WU2.js +0 -21
  318. package/dist/Code-C0Kxulod.js +0 -4
  319. package/dist/Compare-BZucuvFP.js +0 -58
  320. package/dist/Compare-D-Byn_Gq.js +0 -38
  321. package/dist/DataImport.vue_vue_type_script_setup_true_lang-BZhFLOqB.js +0 -173
  322. package/dist/Date-g1XKWU4b.js +0 -38
  323. package/dist/DateTime-D_x_wBZR.js +0 -39
  324. package/dist/Delete-BOkBpAGN.js +0 -57
  325. package/dist/File-BDUTK7hV.js +0 -159
  326. package/dist/Index-BWukqxQl.js +0 -4
  327. package/dist/Index-BahY1OIJ.js +0 -4
  328. package/dist/Index-C9ffFYsl.js +0 -4
  329. package/dist/Index-DG7Hovsx.js +0 -4
  330. package/dist/Index.vue_vue_type_script_setup_true_lang-42C0EEto.js +0 -67
  331. package/dist/Int-BM4sbZvh.js +0 -42
  332. package/dist/Int-BrFE_Hmm.js +0 -39
  333. package/dist/List-DWjTqrJR.js +0 -72
  334. package/dist/Month-QG6OiiLU.js +0 -39
  335. package/dist/Month-Y0kLXgV7.js +0 -38
  336. package/dist/Normal-CSy3DFPH.js +0 -257
  337. package/dist/Paging-BYccIXmC.js +0 -95
  338. package/dist/Select-CfIvGDPS.js +0 -112
  339. package/dist/Select-Cz6MPDCC.js +0 -81
  340. package/dist/Text-B580p9od.js +0 -49
  341. package/dist/Text-D89aQLxL.js +0 -4
  342. package/dist/TextLink-CI-AIgdm.js +0 -60
  343. package/dist/Time-BgArfSc6.js +0 -38
  344. package/dist/Tree-DayADkaC.js +0 -293
  345. package/dist/TreeNode-BZp8w6M5.js +0 -38
  346. package/dist/Update-Bcdz87R4.js +0 -65
  347. package/dist/Upload-DU5VOqXj.js +0 -145
  348. package/dist/Year-B3E0kOiA.js +0 -42
@@ -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
+ };
@@ -1,7 +1,12 @@
1
- import { defineComponent as v, toRefs as x, resolveComponent as N, unref as e, openBlock as s, createElementBlock as V, Fragment as B, createBlock as m, withCtx as l, createElementVNode as r, createTextVNode as p, toDisplayString as o, createVNode as c, createCommentVNode as h } from "vue";
2
- import { t as d } from "./main-DxH9UW19.js";
1
+ import { defineComponent as v, toRefs as x, resolveComponent as N, unref as e, openBlock as m, createElementBlock as V, Fragment as B, createBlock as d, withCtx as l, createElementVNode as r, createTextVNode as p, toDisplayString as o, createVNode as c, createCommentVNode as h } 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";
3
7
  import "./assets/moment-h96o7c8I.js";
4
- const T = /* @__PURE__ */ v({
8
+ import { I as s } from "./main-DSgfGXqN.js";
9
+ const z = /* @__PURE__ */ v({
5
10
  __name: "UpdateChild",
6
11
  props: {
7
12
  module: {},
@@ -20,10 +25,10 @@ const T = /* @__PURE__ */ v({
20
25
  }, _ = () => {
21
26
  i("remove");
22
27
  };
23
- return (w, t) => {
28
+ return (I, t) => {
24
29
  const a = N("el-button");
25
- return e(k).type != "Detail" ? (s(), V(B, { key: 0 }, [
26
- e(n).length == 0 ? (s(), m(a, {
30
+ return e(k).type != "Detail" ? (m(), V(B, { key: 0 }, [
31
+ e(n).length == 0 ? (m(), d(a, {
27
32
  key: 0,
28
33
  type: "primary",
29
34
  plain: "",
@@ -33,10 +38,10 @@ const T = /* @__PURE__ */ v({
33
38
  r("i", { class: "fa fa-plus" }, null, -1)
34
39
  ])),
35
40
  default: l(() => [
36
- p(" " + o(e(d)("update.add")), 1)
41
+ p(" " + o(e(s).t("update.add")), 1)
37
42
  ]),
38
43
  _: 1
39
- }, 8, ["onClick"])) : (s(), m(a, {
44
+ }, 8, ["onClick"])) : (m(), d(a, {
40
45
  key: 1,
41
46
  type: "primary",
42
47
  plain: "",
@@ -46,7 +51,7 @@ const T = /* @__PURE__ */ v({
46
51
  r("i", { class: "fa fa-share" }, null, -1)
47
52
  ])),
48
53
  default: l(() => [
49
- p(" " + o(e(d)("update.insert")), 1)
54
+ p(" " + o(e(s).t("update.insert")), 1)
50
55
  ]),
51
56
  _: 1
52
57
  }, 8, ["onClick"])),
@@ -60,7 +65,7 @@ const T = /* @__PURE__ */ v({
60
65
  r("i", { class: "fa fa-copy" }, null, -1)
61
66
  ])),
62
67
  default: l(() => [
63
- p(" " + o(e(d)("common.copy")) + "(" + o(e(n).length) + ") ", 1)
68
+ p(" " + o(e(s).t("common.copy")) + "(" + o(e(n).length) + ") ", 1)
64
69
  ]),
65
70
  _: 1
66
71
  }, 8, ["disabled", "onClick"]),
@@ -74,7 +79,7 @@ const T = /* @__PURE__ */ v({
74
79
  r("i", { class: "fa fa-trash" }, null, -1)
75
80
  ])),
76
81
  default: l(() => [
77
- p(" " + o(e(d)("common.delete")) + "(" + o(e(n).length) + ") ", 1)
82
+ p(" " + o(e(s).t("common.delete")) + "(" + o(e(n).length) + ") ", 1)
78
83
  ]),
79
84
  _: 1
80
85
  }, 8, ["disabled", "onClick"])
@@ -83,5 +88,5 @@ const T = /* @__PURE__ */ v({
83
88
  }
84
89
  });
85
90
  export {
86
- T as default
91
+ z as default
87
92
  };
@@ -1,12 +1,12 @@
1
- import { defineComponent as b, toRefs as k, ref as r, onMounted as w, computed as x, resolveComponent as C, openBlock as u, createElementBlock as n, Fragment as B, renderList as E, unref as s, createVNode as F, isRef as R, withCtx as $, createElementVNode as y } from "vue";
2
- import { z as c, B as A, U as v, x as I, A as N } from "./main-DxH9UW19.js";
1
+ import { defineComponent as V, toRefs as k, ref as r, onMounted as w, computed as x, resolveComponent as C, openBlock as u, createElementBlock as n, Fragment as R, renderList as E, unref as s, createVNode as F, isRef as S, withCtx as $, createElementVNode as j } from "vue";
2
+ import { S as c, j as y, U as v, R as B, u as I } from "./main-DSgfGXqN.js";
3
3
  import "./assets/liquidjs-BfOWWjtJ.js";
4
4
  import "./assets/underscore-B0BCaBxV.js";
5
5
  import "./assets/file-saver-CwlpTZSc.js";
6
6
  import "./assets/clone-BZn0cTAu.js";
7
7
  import "./assets/underscore.string-DVXD2SZo.js";
8
8
  import "./assets/moment-h96o7c8I.js";
9
- const S = { class: "text-upload" }, j = ["src", "onClick", "alt"], z = ["src"], X = /* @__PURE__ */ b({
9
+ const N = { class: "text-upload" }, A = ["src", "onClick", "alt"], L = ["src"], X = /* @__PURE__ */ V({
10
10
  __name: "Upload",
11
11
  props: {
12
12
  schema: {},
@@ -16,21 +16,21 @@ const S = { class: "text-upload" }, j = ["src", "onClick", "alt"], z = ["src"],
16
16
  row: {},
17
17
  modelValue: {}
18
18
  },
19
- setup(f) {
20
- let g = f, { table: H, field: L, set: M, row: O, modelValue: _ } = k(g), d = r(), t = r(!1), p = r([]), m = r(), h = (e) => {
19
+ setup(g) {
20
+ let f = g, { table: M, field: T, set: W, row: q, modelValue: _ } = k(f), d = r(), t = r(!1), p = r([]), m = r(), h = (e) => {
21
21
  t.value = !0, m.value = e.url;
22
22
  }, U = () => {
23
23
  if (o.value)
24
- if (c.upload.method == "box")
25
- A.getUploadToken().then((e) => {
24
+ if (c.setting.upload.method == "box")
25
+ y.getUploadToken().then((e) => {
26
26
  o.value.split(",").forEach((a) => {
27
- let l = `${c.upload.address}/api/objects/download?slug=${a}&token=${e}`;
27
+ let l = `${c.setting.upload.address}/api/objects/download?slug=${a}&token=${e}`;
28
28
  p.value.push({ name: a, url: l });
29
29
  });
30
30
  });
31
31
  else {
32
- let e = v.url.httpOrHttps(o.value) ? o.value : I.api.url + o.value;
33
- v.file.isImage(e) ? d.value = e : d.value = N.getFileIcon(e);
32
+ let e = v.url.isWebUrl(o.value) ? o.value : B.setting.api.url + o.value;
33
+ v.file.isImage(e) ? d.value = e : d.value = I.getFileIcon(e);
34
34
  }
35
35
  };
36
36
  w(() => {
@@ -39,26 +39,26 @@ const S = { class: "text-upload" }, j = ["src", "onClick", "alt"], z = ["src"],
39
39
  let o = x(() => _.value);
40
40
  return (e, i) => {
41
41
  const a = C("el-dialog");
42
- return u(), n("div", S, [
43
- (u(!0), n(B, null, E(s(p), (l, V) => (u(), n("img", {
42
+ return u(), n("div", N, [
43
+ (u(!0), n(R, null, E(s(p), (l, b) => (u(), n("img", {
44
44
  class: "detail-image",
45
45
  src: l.url,
46
- onClick: (T) => s(h)(l),
46
+ onClick: (z) => s(h)(l),
47
47
  alt: l.name,
48
- key: V
49
- }, null, 8, j))), 128)),
48
+ key: b
49
+ }, null, 8, A))), 128)),
50
50
  F(a, {
51
51
  draggable: "",
52
52
  "append-to-body": "",
53
53
  top: "5vh",
54
54
  modelValue: s(t),
55
- "onUpdate:modelValue": i[0] || (i[0] = (l) => R(t) ? t.value = l : t = l)
55
+ "onUpdate:modelValue": i[0] || (i[0] = (l) => S(t) ? t.value = l : t = l)
56
56
  }, {
57
57
  default: $(() => [
58
- y("img", {
58
+ j("img", {
59
59
  width: "100%",
60
60
  src: s(m)
61
- }, null, 8, z)
61
+ }, null, 8, L)
62
62
  ]),
63
63
  _: 1
64
64
  }, 8, ["modelValue"])