hs-admin-ui 15.7.0 → 15.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (720) hide show
  1. package/LICENSE +21 -0
  2. package/dist/401-AUOYjSJU.mjs +56 -0
  3. package/dist/401-Dx_ldIeG.js +1 -0
  4. package/dist/404-B05H_jCa.mjs +61 -0
  5. package/dist/404-B05H_jCa.mjs.gz +0 -0
  6. package/dist/404-DkKlhDfs.js +1 -0
  7. package/dist/404-DkKlhDfs.js.gz +0 -0
  8. package/dist/account-BHYG232h.js +1 -0
  9. package/dist/account-yggw2mbI.mjs +215 -0
  10. package/dist/aside-BojWyGQq.mjs +164 -0
  11. package/dist/aside-IM1nd79w.js +1 -0
  12. package/dist/baseBtnConfig-C6KLedE5.mjs +273 -0
  13. package/dist/baseBtnConfig-DRxjBT8Z.js +1 -0
  14. package/dist/baseFormConfig-0aAt8oYn.mjs +504 -0
  15. package/dist/baseFormConfig-0aAt8oYn.mjs.gz +0 -0
  16. package/dist/baseFormConfig-BaFbaMWd.mjs +722 -0
  17. package/dist/baseFormConfig-BaFbaMWd.mjs.gz +0 -0
  18. package/dist/baseFormConfig-D5Q35Bo3.js +1 -0
  19. package/dist/baseFormConfig-ZNK--4Oe.js +1 -0
  20. package/dist/baseTableConfig-DHWjKxmf.js +1 -0
  21. package/dist/baseTableConfig-DHWjKxmf.js.gz +0 -0
  22. package/dist/baseTableConfig-YG6eGkRt.mjs +2624 -0
  23. package/dist/baseTableConfig-YG6eGkRt.mjs.gz +0 -0
  24. package/dist/bcFormConfig-BMrGl9cm.js +1 -0
  25. package/dist/bcFormConfig-CO-MWQ_m.mjs +234 -0
  26. package/dist/bcPageTreeBySystem.vue_vue_type_script_setup_true_lang-DKsh2Yf4.js +1 -0
  27. package/dist/bcPageTreeBySystem.vue_vue_type_script_setup_true_lang-Q23Yc4iS.mjs +131 -0
  28. package/dist/bcSwitchSystems.vue_vue_type_script_setup_true_lang-C5TEB_AO.mjs +101 -0
  29. package/dist/bcSwitchSystems.vue_vue_type_script_setup_true_lang-CWp-82fW.js +1 -0
  30. package/dist/btnIndex-Djj2CZ9j.js +1 -0
  31. package/dist/btnIndex-HGBAQo05.mjs +287 -0
  32. package/dist/btnIndex-HGBAQo05.mjs.gz +0 -0
  33. package/dist/classic-CvIqhQyg.js +1 -0
  34. package/dist/classic-DXgLIKOA.mjs +81 -0
  35. package/dist/cloneConfigDialog-B9mCSU49.js +1 -0
  36. package/dist/cloneConfigDialog-B9mCSU49.js.gz +0 -0
  37. package/dist/cloneConfigDialog-CKTvFSS6.mjs +817 -0
  38. package/dist/cloneConfigDialog-CKTvFSS6.mjs.gz +0 -0
  39. package/dist/columns-D5tXNIBk.js +1 -0
  40. package/dist/columns-DpoO5Zsj.mjs +87 -0
  41. package/dist/columnsAside-7U1fFgNM.js +1 -0
  42. package/dist/columnsAside-Decj2--4.mjs +220 -0
  43. package/dist/contextmenu-CboZcHAM.js +1 -0
  44. package/dist/contextmenu-DXF5oP5y.mjs +125 -0
  45. package/dist/contextmenu-G8dHbC6a.mjs +125 -0
  46. package/dist/contextmenu-dn3Ukic5.js +1 -0
  47. package/dist/copyMenuConfig-D4UkBIM8.js +1 -0
  48. package/dist/copyMenuConfig-xDGZfU8V.mjs +4 -0
  49. package/dist/copyMenuConfig.vue_vue_type_script_setup_true_lang-FLv8yK2X.mjs +85 -0
  50. package/dist/copyMenuConfig.vue_vue_type_script_setup_true_lang-V8-WSJik.js +1 -0
  51. package/dist/copySystem-BF-xIg-_.mjs +4 -0
  52. package/dist/copySystem-xq7dH1YB.js +1 -0
  53. package/dist/copySystem.vue_vue_type_script_setup_true_lang-GaIRgmVX.mjs +78 -0
  54. package/dist/copySystem.vue_vue_type_script_setup_true_lang-SoZ__LDi.js +1 -0
  55. package/dist/defaults-B4P_y7Bf.js +1 -0
  56. package/dist/defaults-DJz8qQkT.mjs +86 -0
  57. package/dist/dialog-37QHD09D.mjs +10 -0
  58. package/dist/dialog-BpY5TPcI.mjs +365 -0
  59. package/dist/dialog-BpY5TPcI.mjs.gz +0 -0
  60. package/dist/dialog-CaHgL7Un.js +1 -0
  61. package/dist/dialog-CwvjHdQG.mjs +4 -0
  62. package/dist/dialog-D2L8YrGi.mjs +4 -0
  63. package/dist/dialog-DQP53khI.mjs +359 -0
  64. package/dist/dialog-DQP53khI.mjs.gz +0 -0
  65. package/dist/dialog-DmI_6sfg.js +1 -0
  66. package/dist/dialog-DxBOYlwo.js +1 -0
  67. package/dist/dialog-TFJ52Qpk.js +1 -0
  68. package/dist/dialog-tEGpWR17.js +1 -0
  69. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-B34-zi76.mjs +220 -0
  70. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-lxzOpAYW.js +1 -0
  71. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-B0bvaMOH.mjs +694 -0
  72. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-B0bvaMOH.mjs.gz +0 -0
  73. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-BQD9kbev.js +1 -0
  74. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-BQD9kbev.js.gz +0 -0
  75. package/dist/dictDialog-3cu_MIw2.mjs +4 -0
  76. package/dist/dictDialog-B8qvjYMR.js +1 -0
  77. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-B_TRW06X.mjs +154 -0
  78. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-CFgSsWwx.js +1 -0
  79. package/dist/dictItemDialog-C814-nYt.mjs +4 -0
  80. package/dist/dictItemDialog-CbQHgU4j.js +1 -0
  81. package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-D3F7S3JJ.mjs +231 -0
  82. package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-TQlHxUM-.js +1 -0
  83. package/dist/favicon.ico +0 -0
  84. package/dist/formConfig-BrQO-6ag.js +1 -0
  85. package/dist/formConfig-BrQO-6ag.js.gz +0 -0
  86. package/dist/formConfig-Da6lJvqs.mjs +592 -0
  87. package/dist/formConfig-Da6lJvqs.mjs.gz +0 -0
  88. package/dist/header-BUGTGlM9.js +1 -0
  89. package/dist/header-CFJ4tqWS.mjs +28 -0
  90. package/dist/horizontal-CLwlN8o9.js +1 -0
  91. package/dist/horizontal-Dzn2yYYS.mjs +151 -0
  92. package/dist/hsAttrBtn-CaLLjqar.mjs +4 -0
  93. package/dist/hsAttrBtn-D10_Vo1Y.js +1 -0
  94. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-Cs9czCiW.js +1 -0
  95. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-D1A8kxol.mjs +128 -0
  96. package/dist/hsAttrForm-CdfSj5gE.js +1 -0
  97. package/dist/hsAttrForm-DlqsWDq4.mjs +4 -0
  98. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-C6HgKEYX.mjs +439 -0
  99. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-C6HgKEYX.mjs.gz +0 -0
  100. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-JuStRpaX.js +1 -0
  101. package/dist/hsBtnConfigList-CDwPquFa.js +1 -0
  102. package/dist/hsBtnConfigList-Dq-UMlm2.mjs +117 -0
  103. package/dist/hsBtnItemConfig-CfftPcSD.mjs +4 -0
  104. package/dist/hsBtnItemConfig-CtQqNBlK.js +1 -0
  105. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-BnotrC93.mjs +147 -0
  106. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DnaWvq-b.js +1 -0
  107. package/dist/hsBtnPanel-BkxSKDwq.mjs +4 -0
  108. package/dist/hsBtnPanel-CcMkdorr.js +1 -0
  109. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DcgVBDqw.js +1 -0
  110. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DjuZNPz0.mjs +67 -0
  111. package/dist/hsCheckbox-BKa_El3s.js +1 -0
  112. package/dist/hsCheckbox-CalDndlZ.mjs +4 -0
  113. package/dist/hsCheckbox.vue_vue_type_script_setup_true_lang-Dh-lqGjq.js +1 -0
  114. package/dist/hsCheckbox.vue_vue_type_script_setup_true_lang-XCUyHi8X.mjs +28 -0
  115. package/dist/hsExpand-CQVFjccm.js +1 -0
  116. package/dist/hsExpand-DzturGzS.mjs +4 -0
  117. package/dist/hsExpand.vue_vue_type_script_setup_true_lang-2PgtnOyZ.js +1 -0
  118. package/dist/hsExpand.vue_vue_type_script_setup_true_lang-ByI3lkrY.mjs +285 -0
  119. package/dist/hsFormConfig-B-0-7IG-.js +1 -0
  120. package/dist/hsFormConfig-CiC1xqCS.mjs +207 -0
  121. package/dist/hsFormConfigList-D-zBHhco.mjs +414 -0
  122. package/dist/hsFormConfigList-D-zBHhco.mjs.gz +0 -0
  123. package/dist/hsFormConfigList-IppfulsQ.js +1 -0
  124. package/dist/hsFormPanel-DOSHi6SL.js +1 -0
  125. package/dist/hsFormPanel-DrMHz5BG.mjs +238 -0
  126. package/dist/hsFormPanel-DrMHz5BG.mjs.gz +0 -0
  127. package/dist/hsFormParse--MpZBB1o.js +1 -0
  128. package/dist/hsFormParse-Dzmv1LRL.mjs +4 -0
  129. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-C3QZXAnq.mjs +242 -0
  130. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-DNdAJZ-0.js +1 -0
  131. package/dist/hsPanelItem-Cr_zx3zB.mjs +4 -0
  132. package/dist/hsPanelItem-L0cRzdZ9.js +1 -0
  133. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-B8S5p2OU.mjs +86 -0
  134. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-CHRnArdb.js +1 -0
  135. package/dist/iframes-CWdXFiYU.mjs +122 -0
  136. package/dist/iframes-DnAW1ZV2.js +1 -0
  137. package/dist/index copy-C9pm4wwS.mjs +134 -0
  138. package/dist/index copy-CltelxDj.js +1 -0
  139. package/dist/index copy-NI5bkeov.mjs +69 -0
  140. package/dist/index copy-YVeg4Qpy.js +1 -0
  141. package/dist/index--90UOcEE.js +1 -0
  142. package/dist/index-4ncpQ4eO.js +1 -0
  143. package/dist/index-5_S5X2B8.mjs +73 -0
  144. package/dist/index-7U-cYtGo.js +1 -0
  145. package/dist/index-86EBVGGo.js +1 -0
  146. package/dist/index-B0-7gN8V.mjs +131 -0
  147. package/dist/index-B3h4_c_0.js +1 -0
  148. package/dist/index-B4RbAHHA.js +1 -0
  149. package/dist/index-B5B5bCFQ.js +1 -0
  150. package/dist/index-B8Zlivb4.mjs +152 -0
  151. package/dist/index-BIgnSPCb.js +1 -0
  152. package/dist/index-BIj1BEfS.mjs +89 -0
  153. package/dist/index-BNdkz6Oj.mjs +65 -0
  154. package/dist/index-BTBnzpJl.mjs +331 -0
  155. package/dist/index-BTBnzpJl.mjs.gz +0 -0
  156. package/dist/index-BTrzbnh7.mjs +10 -0
  157. package/dist/index-BX1VwR6q.mjs +254 -0
  158. package/dist/index-B_aWJfJG.mjs +50 -0
  159. package/dist/index-Be14owUC.js +110 -0
  160. package/dist/index-Be14owUC.js.gz +0 -0
  161. package/dist/index-BhMp70XH.mjs +94 -0
  162. package/dist/index-BiFq1jSn.mjs +4 -0
  163. package/dist/index-BiXUzbUN.js +1 -0
  164. package/dist/index-BiXUzbUN.js.gz +0 -0
  165. package/dist/index-BoxE6g4D.mjs +22 -0
  166. package/dist/index-BsmMkmmb.mjs +30 -0
  167. package/dist/index-BvRPdQjQ.js +1 -0
  168. package/dist/index-Bw3xRnWj.js +1 -0
  169. package/dist/index-By4ZqBp1.mjs +262 -0
  170. package/dist/index-BziqiZMe.js +1 -0
  171. package/dist/index-BziqiZMe.js.gz +0 -0
  172. package/dist/index-C1yO8AeN.js +1 -0
  173. package/dist/index-C4QLSPnE.js +1 -0
  174. package/dist/index-C4QLSPnE.js.gz +0 -0
  175. package/dist/index-C4jaoMOL.js +1 -0
  176. package/dist/index-CBtvQ2Qa.js +1 -0
  177. package/dist/index-CDFo3k6H.mjs +47 -0
  178. package/dist/index-CEWu6Vth.js +1 -0
  179. package/dist/index-CH6aNW1H.js +1 -0
  180. package/dist/index-CNqCyebM.mjs +67 -0
  181. package/dist/index-COoEtFch.js +1 -0
  182. package/dist/index-CSFKdCgt.js +1 -0
  183. package/dist/index-CSohO9Sf.js +1 -0
  184. package/dist/index-CUE6cOFE.mjs +76 -0
  185. package/dist/index-CVr6ThwO.mjs +14 -0
  186. package/dist/index-CYwUku7v.js +1 -0
  187. package/dist/index-C_Jh3o-z.mjs +2208 -0
  188. package/dist/index-C_Jh3o-z.mjs.gz +0 -0
  189. package/dist/index-CaroRQE3.mjs +258272 -0
  190. package/dist/index-CaroRQE3.mjs.gz +0 -0
  191. package/dist/index-CbCppT2z.js +1 -0
  192. package/dist/index-CbgKih92.js +1 -0
  193. package/dist/index-Cevc_s57.js +1 -0
  194. package/dist/index-CpHkFJpe.mjs +4 -0
  195. package/dist/index-CpeyiMej.js +1 -0
  196. package/dist/index-CtQOzn7W.mjs +285 -0
  197. package/dist/index-CvaGWWCb.mjs +172 -0
  198. package/dist/index-D-ZR2ZQw.js +1 -0
  199. package/dist/index-D-rui3Hs.mjs +133 -0
  200. package/dist/index-D6stlvgD.mjs +10 -0
  201. package/dist/index-D858MrDM.mjs +173 -0
  202. package/dist/index-DCgZAOFA.js +1 -0
  203. package/dist/index-DEykAVeO.js +1 -0
  204. package/dist/index-DHHcO6BG.js +1 -0
  205. package/dist/index-DHxDaTXn.js +1 -0
  206. package/dist/index-DIMVIQkh.mjs +4 -0
  207. package/dist/index-DT3c6iM1.mjs +49 -0
  208. package/dist/index-DUmz-a1e.js +1 -0
  209. package/dist/index-DXyhVGaL.mjs +95 -0
  210. package/dist/index-DZ_UFJE2.mjs +43 -0
  211. package/dist/index-Db2jthwJ.js +1 -0
  212. package/dist/index-DhDED1vM.mjs +73 -0
  213. package/dist/index-Dkkn5hYp.mjs +213 -0
  214. package/dist/index-Dqazj9UX.js +1 -0
  215. package/dist/index-DqikGsbw.mjs +1009 -0
  216. package/dist/index-DqikGsbw.mjs.gz +0 -0
  217. package/dist/index-DrCxI2-S.js +1 -0
  218. package/dist/index-DrpmyDit.js +1 -0
  219. package/dist/index-Du7wnh89.js +1 -0
  220. package/dist/index-DuMZar1l.mjs +51 -0
  221. package/dist/index-DvVF79rV.mjs +65 -0
  222. package/dist/index-Dymo6jYe.mjs +119 -0
  223. package/dist/index-EKgsCiWF.js +1 -0
  224. package/dist/index-GyR4BRDa.mjs +4 -0
  225. package/dist/index-I4czMgZi.js +1 -0
  226. package/dist/index-JwYvAnQ3.js +1 -0
  227. package/dist/index-PCI3lWru.mjs +38 -0
  228. package/dist/index-Pkhj9M-e.mjs +403 -0
  229. package/dist/index-Pkhj9M-e.mjs.gz +0 -0
  230. package/dist/index-Qnu0cq8V.mjs +23 -0
  231. package/dist/index-Z83-84L3.js +1 -0
  232. package/dist/index-feq0FF6W.mjs +23 -0
  233. package/dist/index-g_BDa62N.mjs +19 -0
  234. package/dist/index-iXgZKYFt.mjs +200 -0
  235. package/dist/index-iyQdB62I.js +1 -0
  236. package/dist/index-jJSGIw6e.mjs +4 -0
  237. package/dist/index-lnqZa96W.js +1 -0
  238. package/dist/index-nfmpb6Xb.js +1 -0
  239. package/dist/index-qaA0ntg_.mjs +5403 -0
  240. package/dist/index-qaA0ntg_.mjs.gz +0 -0
  241. package/dist/index.js +1 -1
  242. package/dist/index.mjs +169 -135
  243. package/dist/index.vue_vue_type_script_setup_true_lang-Bo-cWJ2h.mjs +103 -0
  244. package/dist/index.vue_vue_type_script_setup_true_lang-C6kBeVt9.js +1 -0
  245. package/dist/index.vue_vue_type_script_setup_true_lang-CN3R-WyE.mjs +194 -0
  246. package/dist/index.vue_vue_type_script_setup_true_lang-CV51d0Z-.mjs +97 -0
  247. package/dist/index.vue_vue_type_script_setup_true_lang-CzxOI00n.mjs +267 -0
  248. package/dist/index.vue_vue_type_script_setup_true_lang-CzxOI00n.mjs.gz +0 -0
  249. package/dist/index.vue_vue_type_script_setup_true_lang-DF41VMpg.js +1 -0
  250. package/dist/index.vue_vue_type_script_setup_true_lang-ZElmGMCs.js +1 -0
  251. package/dist/index.vue_vue_type_script_setup_true_lang-s332W7ju.js +1 -0
  252. package/dist/index.vue_vue_type_script_setup_true_name_iconSelector_lang-BdxXuNuU.js +1 -0
  253. package/dist/index.vue_vue_type_script_setup_true_name_iconSelector_lang-iB7n4gFb.mjs +288 -0
  254. package/dist/index.vue_vue_type_script_setup_true_name_iconSelector_lang-iB7n4gFb.mjs.gz +0 -0
  255. package/dist/lib-generate-test-usersig.min.js +2 -0
  256. package/dist/lib-generate-test-usersig.min.js.gz +0 -0
  257. package/dist/link-CgTDXGDS.mjs +63 -0
  258. package/dist/link-D2FDMeja.js +1 -0
  259. package/dist/list-5DKapoIg.mjs +85 -0
  260. package/dist/list-BvqQwxfl.js +1 -0
  261. package/dist/logo-mini-BQ9BrQ1U.mjs +4 -0
  262. package/dist/logo-mini-DwRdfcE7.js +1 -0
  263. package/dist/main-CTH2j1nH.js +1 -0
  264. package/dist/main-DYH0PjBf.mjs +72 -0
  265. package/dist/mobile-ByMcRIck.mjs +115 -0
  266. package/dist/mobile-Ct2wYxBA.js +1 -0
  267. package/dist/parent-DuAzBa1S.mjs +131 -0
  268. package/dist/parent-nV16iTuQ.js +1 -0
  269. package/dist/popup-DoFnyyCj.mjs +4 -0
  270. package/dist/popup-V67deXeJ.js +1 -0
  271. package/dist/popup.vue_vue_type_script_setup_true_name_replaceRules_lang-DQDiTEgt.mjs +89 -0
  272. package/dist/popup.vue_vue_type_script_setup_true_name_replaceRules_lang-E-ChMCSs.js +1 -0
  273. package/dist/roleItem-BlcLJSJN.js +1 -0
  274. package/dist/roleItem-CbNpIWj7.mjs +103 -0
  275. package/dist/saveForm-BzO1nXB7.js +1 -0
  276. package/dist/saveForm-CPBMTFy6.mjs +160 -0
  277. package/dist/scan-BcgmKsTD.js +1 -0
  278. package/dist/scan-BcgmKsTD.js.gz +0 -0
  279. package/dist/scan-DTqXY1TN.mjs +945 -0
  280. package/dist/scan-DTqXY1TN.mjs.gz +0 -0
  281. package/dist/search-B-EDB-Tc.mjs +114 -0
  282. package/dist/search-B9FiliR8.js +1 -0
  283. package/dist/selectConfig-C_ir8n8r.js +1 -0
  284. package/dist/selectConfig-DAkXAD_Y.mjs +546 -0
  285. package/dist/selectConfig-DAkXAD_Y.mjs.gz +0 -0
  286. package/dist/shortcutList-BXBGQdNn.mjs +76 -0
  287. package/dist/shortcutList-WSi4lUlm.js +1 -0
  288. package/dist/style.css +1 -0
  289. package/dist/style.css.gz +0 -0
  290. package/dist/subItem-CZYXr8hi.mjs +77 -0
  291. package/dist/subItem-D2t5Fs0x.js +1 -0
  292. package/dist/tagsView-BQQMtEO2.mjs +2695 -0
  293. package/dist/tagsView-BQQMtEO2.mjs.gz +0 -0
  294. package/dist/tagsView-D7WaG5Ak.js +8 -0
  295. package/dist/tagsView-D7WaG5Ak.js.gz +0 -0
  296. package/dist/transverse-BQN-Si9F.mjs +65 -0
  297. package/dist/transverse-C_saqvLc.js +1 -0
  298. package/dist/types/components/business/bcBox/bcBox.vue.d.ts +66 -0
  299. package/dist/types/{src/components → components}/business/bcBox/utils.d.ts +11 -10
  300. package/dist/types/components/business/bcBreadcrumb/bcBreadcrumb.vue.d.ts +23 -0
  301. package/dist/types/{src/components → components}/business/bcBreadcrumb/index.d.ts +2 -1
  302. package/dist/types/components/business/bcForm/baseForm.vue.d.ts +273 -0
  303. package/dist/types/components/business/bcForm/bcForm.vue.d.ts +42 -0
  304. package/dist/types/{src/components → components}/business/bcForm/type.d.ts +7 -6
  305. package/dist/types/components/business/bcForm/useGuide.d.ts +564 -0
  306. package/dist/types/components/business/bcSystemAuth/components/data.vue.d.ts +3 -0
  307. package/dist/types/components/business/bcSystemAuth/components/dict.vue.d.ts +3 -0
  308. package/dist/types/components/business/bcSystemAuth/components/fastSet/popup.vue.d.ts +17 -0
  309. package/dist/types/components/business/bcSystemAuth/components/field.vue.d.ts +3 -0
  310. package/dist/types/components/business/bcSystemAuth/components/form.vue.d.ts +13 -0
  311. package/dist/types/{src/components → components}/business/bcSystemAuth/components/selectAll/index.d.ts +3 -2
  312. package/dist/types/components/business/bcSystemAuth/components/selectAll/index.vue.d.ts +5 -0
  313. package/dist/types/components/business/bcSystemAuth/components/table.vue.d.ts +13 -0
  314. package/dist/types/components/business/bcSystemAuth/components/widget/btns.vue.d.ts +15 -0
  315. package/dist/types/components/business/bcSystemAuth/components/widget/form.vue.d.ts +15 -0
  316. package/dist/types/components/business/bcSystemAuth/components/widget/tab.vue.d.ts +45 -0
  317. package/dist/types/components/business/bcSystemAuth/components/widget/tables.vue.d.ts +15 -0
  318. package/dist/types/components/business/bcSystemAuth/components/widget/tablesWraper.vue.d.ts +15 -0
  319. package/dist/types/{src/components → components}/business/bcSystemAuth/fastStore.d.ts +49 -48
  320. package/dist/types/{src/components → components}/business/bcSystemAuth/fastUtils.d.ts +30 -28
  321. package/dist/types/components/business/bcSystemAuth/index.d.ts +3 -0
  322. package/dist/types/components/business/bcSystemAuth/index.vue.d.ts +26 -0
  323. package/dist/types/{src/components → components}/business/bcSystemAuth/store.d.ts +49 -48
  324. package/dist/types/components/business/bcSystemAuth/type.d.ts +42 -0
  325. package/dist/types/components/business/bcSystemAuth/useAuth.d.ts +28 -0
  326. package/dist/types/{src/components → components}/business/bcSystemAuth/utils.d.ts +30 -28
  327. package/dist/types/components/business/bcSystemField/components/field.vue.d.ts +3 -0
  328. package/dist/types/components/business/bcSystemField/components/form.vue.d.ts +13 -0
  329. package/dist/types/{src/components → components}/business/bcSystemField/components/selectAll/index.d.ts +5 -4
  330. package/dist/types/components/business/bcSystemField/components/selectAll/index.vue.d.ts +5 -0
  331. package/dist/types/components/business/bcSystemField/components/table.vue.d.ts +13 -0
  332. package/dist/types/components/business/bcSystemField/components/widget/form.vue.d.ts +15 -0
  333. package/dist/types/components/business/bcSystemField/components/widget/tab.vue.d.ts +45 -0
  334. package/dist/types/components/business/bcSystemField/components/widget/tables.vue.d.ts +15 -0
  335. package/dist/types/components/business/bcSystemField/components/widget/tablesWraper.vue.d.ts +15 -0
  336. package/dist/types/components/business/bcSystemField/index.d.ts +3 -0
  337. package/dist/types/components/business/bcSystemField/index.vue.d.ts +16 -0
  338. package/dist/types/{src/components → components}/business/bcSystemField/store.d.ts +40 -39
  339. package/dist/types/components/business/bcSystemField/useAuth.d.ts +16 -0
  340. package/dist/types/{src/components → components}/business/bcSystemField/utils.d.ts +21 -20
  341. package/dist/types/components/business/bcTable/bcFormTable.vue.d.ts +142 -0
  342. package/dist/types/components/business/bcTable/bcTable.vue.d.ts +51 -0
  343. package/dist/types/components/business/bcTable/components/btn/btn.vue.d.ts +77 -0
  344. package/dist/types/components/business/bcTable/components/popup/index.d.ts +3 -0
  345. package/dist/types/components/business/bcTable/components/query/components/sortForm/sortForm.vue.d.ts +23 -0
  346. package/dist/types/components/business/bcTable/components/query/drag.vue.d.ts +244 -0
  347. package/dist/types/components/business/bcTable/components/query/query.vue.d.ts +249 -0
  348. package/dist/types/{src/components → components}/business/bcTable/components/query/useQuickSearch.d.ts +3 -2
  349. package/dist/types/components/business/bcTable/components/table/colgroup.vue.d.ts +28 -0
  350. package/dist/types/components/business/bcTable/components/table/column.vue.d.ts +35 -0
  351. package/dist/types/components/business/bcTable/components/table/components/sortColumn/sortColumn.vue.d.ts +25 -0
  352. package/dist/types/{src/components → components}/business/bcTable/components/table/components/sortColumn/types.d.ts +2 -1
  353. package/dist/types/components/business/bcTable/components/table/table.vue.d.ts +67 -0
  354. package/dist/types/{src/components → components}/business/bcTable/components/table/useTable.d.ts +5 -5
  355. package/dist/types/components/business/bcTable/components/table/useTableHeight.d.ts +25 -0
  356. package/dist/types/{src/components → components}/business/bcTable/methods/cellDetailMethod.d.ts +1 -0
  357. package/dist/types/{src/components → components}/business/bcTable/methods/filterAgeMethod.d.ts +1 -0
  358. package/dist/types/{src/components → components}/business/bcTable/methods/footerMethod.d.ts +2 -1
  359. package/dist/types/{src/components → components}/business/bcTable/methods/formBtnMethod.d.ts +2 -1
  360. package/dist/types/{src/components → components}/business/bcTable/methods/index.d.ts +2 -1
  361. package/dist/types/{src/components → components}/business/bcTable/utils/authField.d.ts +2 -1
  362. package/dist/types/{src/components → components}/business/bcTable/utils/onFormKey.d.ts +5 -4
  363. package/dist/types/{src/components → components}/business/bcTable/utils/onTableKey.d.ts +6 -5
  364. package/dist/types/{src/components → components}/business/bcTable/utils/parseTable.d.ts +21 -20
  365. package/dist/types/{src/components → components}/business/bcTable/utils/type.d.ts +12 -11
  366. package/dist/types/{src/components → components}/business/bcTable/utils/useBcTable.d.ts +7084 -7074
  367. package/dist/types/{src/components → components}/business/bcTable/utils/useButon.d.ts +6 -5
  368. package/dist/types/components/business/bcTable/utils/useFormTableHeight.d.ts +20 -0
  369. package/dist/types/{src/components → components}/business/bcTable/utils/useKeydownEvent.d.ts +18 -17
  370. package/dist/types/{src/components → components}/business/bcVisual/bcVisual.vue.d.ts +8 -9
  371. package/dist/types/{src/components → components}/business/bcVisual/components/setting/dragItem.vue.d.ts +9 -16
  372. package/dist/types/components/business/bcVisual/components/setting/extendItem.vue.d.ts +13 -0
  373. package/dist/types/components/business/bcVisual/components/setting/setting.vue.d.ts +3 -0
  374. package/dist/types/{src/components → components}/business/bcVisual/components/setting/useDrag.d.ts +4 -2
  375. package/dist/types/components/business/bcVisual/components/table/table.vue.d.ts +6 -0
  376. package/dist/types/components/business/bcVisual/components/updateName/popup.vue.d.ts +17 -0
  377. package/dist/types/components/business/bcVisual/components/updateSql/addCondition.vue.d.ts +23 -0
  378. package/dist/types/{src/components → components}/business/bcVisual/components/updateSql/index.d.ts +2 -1
  379. package/dist/types/{src/components → components}/business/bcVisual/components/updateSql/nodeTree/index.d.ts +2 -1
  380. package/dist/types/components/business/bcVisual/components/updateSql/nodeTree/index.vue.d.ts +21 -0
  381. package/dist/types/components/business/bcVisual/components/updateSql/nodeTree/nodeTree.vue.d.ts +19 -0
  382. package/dist/types/components/business/bcVisual/components/updateSql/popup.vue.d.ts +17 -0
  383. package/dist/types/{src/components → components}/business/bcVisual/useTableFormat.d.ts +29 -28
  384. package/dist/types/{src/components → components}/business/bcVisual/utils.d.ts +3 -1
  385. package/dist/types/index.d.ts +1 -32
  386. package/dist/types/plugins/index.d.ts +33 -0
  387. package/dist/types/{src/types → types}/auth.d.ts +2 -1
  388. package/dist/types/{src/types → types}/components.d.ts +2 -1
  389. package/dist/types/{src/types → types}/customData.d.ts +19 -16
  390. package/dist/types/{src/types → types}/form.d.ts +2 -1
  391. package/dist/types/{src/types → types}/formItem/autocomplete.d.ts +2 -1
  392. package/dist/types/{src/types → types}/formItem/checkbox.d.ts +2 -1
  393. package/dist/types/{src/types → types}/formItem/input.d.ts +2 -1
  394. package/dist/types/{src/types → types}/formItem/inputGroup.d.ts +2 -1
  395. package/dist/types/{src/types → types}/formItem/inputNumber.d.ts +2 -1
  396. package/dist/types/{src/types → types}/formItem/radio.d.ts +2 -1
  397. package/dist/types/{src/types → types}/formItem/selelct.d.ts +2 -1
  398. package/dist/types/{src/types → types}/formItem/treeSelect.d.ts +2 -1
  399. package/dist/types/types/system.d.ts +14 -0
  400. package/dist/types/{src/utils → utils}/arrayOperation.d.ts +1 -1
  401. package/dist/types/utils/authFunction.d.ts +18 -0
  402. package/dist/types/utils/build.d.ts +11 -0
  403. package/dist/types/{src/utils → utils}/common.d.ts +4 -3
  404. package/dist/types/utils/commonFunction.d.ts +29 -0
  405. package/dist/types/{src/utils → utils}/download.d.ts +4 -4
  406. package/dist/types/utils/file.d.ts +6 -0
  407. package/dist/types/{src/utils → utils}/getDataType.d.ts +3 -2
  408. package/dist/types/utils/getStyleSheets.d.ts +11 -0
  409. package/dist/types/utils/index.d.ts +29 -0
  410. package/dist/types/{src/utils/loading/index.d.ts → utils/loading.d.ts} +1 -1
  411. package/dist/types/utils/lodash.d.ts +3 -0
  412. package/dist/types/{src/utils → utils}/mitt.d.ts +3 -2
  413. package/dist/types/{src/utils → utils}/number.d.ts +14 -2
  414. package/dist/types/{src/utils → utils}/other.d.ts +12 -11
  415. package/dist/types/utils/request/index.d.ts +6 -0
  416. package/dist/types/{src/utils → utils}/request/interceptors/request/authorization.interceptor.d.ts +2 -1
  417. package/dist/types/{src/utils → utils}/request/interceptors/request/result.type.interceptor.d.ts +2 -6
  418. package/dist/types/{src/utils → utils}/request/interceptors/request/undefined-params-handler.interceptor.d.ts +2 -13
  419. package/dist/types/{src/utils → utils}/request/interceptors/response/error-handler.interceptor.d.ts +2 -1
  420. package/dist/types/{src/utils → utils}/request/repeatRequest.d.ts +2 -1
  421. package/dist/types/utils/request/request.d.ts +7 -0
  422. package/dist/types/utils/setIconfont.d.ts +11 -0
  423. package/dist/types/utils/showMessage.d.ts +6 -0
  424. package/dist/types/utils/showMessageBox.d.ts +6 -0
  425. package/dist/types/utils/showNotification.d.ts +6 -0
  426. package/dist/types/{src/utils → utils}/showPopup/index.d.ts +6 -5
  427. package/dist/types/{src/utils → utils}/storage.d.ts +14 -12
  428. package/dist/types/{src/utils → utils}/tree.d.ts +4 -3
  429. package/dist/types/{src/utils → utils}/url.d.ts +3 -2
  430. package/dist/useConfigInfo-2zEYLSSs.js +1 -0
  431. package/dist/useConfigInfo-PTkkdx-l.mjs +19 -0
  432. package/dist/user-4AkMtJNx.mjs +246 -0
  433. package/dist/user-Dv0yBcpt.js +1 -0
  434. package/dist/userNews-Bkj38E0W.js +1 -0
  435. package/dist/userNews-Kzyqi5O2.mjs +72 -0
  436. package/dist/userSelect-C40-eSjE.mjs +4 -0
  437. package/dist/userSelect-QMToHb6f.js +1 -0
  438. package/dist/userSelect.vue_vue_type_script_setup_true_lang-DAOTR3MQ.js +1 -0
  439. package/dist/userSelect.vue_vue_type_script_setup_true_lang-_aKlFytR.mjs +100 -0
  440. package/dist/vertical-B9_KiZof.js +1 -0
  441. package/dist/vertical-CU-DZItF.mjs +133 -0
  442. package/package.json +39 -16
  443. package/dist/bcIcon-BNPGT9B7.mjs +0 -4
  444. package/dist/bcIcon-CFYxyZyR.js +0 -1
  445. package/dist/index-CcXaux5a.mjs +0 -144167
  446. package/dist/index-yRPuvCc-.js +0 -349
  447. package/dist/index.css +0 -1
  448. package/dist/types/element-plus.d.ts +0 -557
  449. package/dist/types/src/components/base/Affix/index.d.ts +0 -1
  450. package/dist/types/src/components/base/Affix/src/Affix.vue.d.ts +0 -3
  451. package/dist/types/src/components/base/Alert/index.d.ts +0 -1
  452. package/dist/types/src/components/base/Alert/src/Alert.vue.d.ts +0 -3
  453. package/dist/types/src/components/base/Aside/index.d.ts +0 -1
  454. package/dist/types/src/components/base/Aside/src/Aside.vue.d.ts +0 -3
  455. package/dist/types/src/components/base/Autocomplete/index.d.ts +0 -1
  456. package/dist/types/src/components/base/Autocomplete/src/Autocomplete.vue.d.ts +0 -3
  457. package/dist/types/src/components/base/Backtop/index.d.ts +0 -1
  458. package/dist/types/src/components/base/Backtop/src/Backtop.vue.d.ts +0 -3
  459. package/dist/types/src/components/base/Badge/index.d.ts +0 -1
  460. package/dist/types/src/components/base/Badge/src/Badge.vue.d.ts +0 -3
  461. package/dist/types/src/components/base/Button/index.d.ts +0 -2
  462. package/dist/types/src/components/base/Button/src/Button.vue.d.ts +0 -3
  463. package/dist/types/src/components/base/Button/src/ButtonGroup.vue.d.ts +0 -3
  464. package/dist/types/src/components/base/Calendar/index.d.ts +0 -1
  465. package/dist/types/src/components/base/Calendar/src/Calendar.vue.d.ts +0 -3
  466. package/dist/types/src/components/base/Card/index.d.ts +0 -1
  467. package/dist/types/src/components/base/Card/src/Card.vue.d.ts +0 -3
  468. package/dist/types/src/components/base/Carousel/index.d.ts +0 -2
  469. package/dist/types/src/components/base/Carousel/src/Carousel.vue.d.ts +0 -3
  470. package/dist/types/src/components/base/Carousel/src/CarouselItem.vue.d.ts +0 -3
  471. package/dist/types/src/components/base/Cascader/index.d.ts +0 -2
  472. package/dist/types/src/components/base/Cascader/src/Cascader.vue.d.ts +0 -3
  473. package/dist/types/src/components/base/Cascader/src/CascaderPanel.vue.d.ts +0 -3
  474. package/dist/types/src/components/base/Checkbox/index.d.ts +0 -3
  475. package/dist/types/src/components/base/Checkbox/src/Checkbox.vue.d.ts +0 -3
  476. package/dist/types/src/components/base/Checkbox/src/CheckboxButton.vue.d.ts +0 -3
  477. package/dist/types/src/components/base/Checkbox/src/CheckboxGroup.vue.d.ts +0 -3
  478. package/dist/types/src/components/base/Col/index.d.ts +0 -1
  479. package/dist/types/src/components/base/Col/src/Col.vue.d.ts +0 -3
  480. package/dist/types/src/components/base/Collapse/index.d.ts +0 -2
  481. package/dist/types/src/components/base/Collapse/src/Collapse.vue.d.ts +0 -3
  482. package/dist/types/src/components/base/Collapse/src/CollapseItem.vue.d.ts +0 -3
  483. package/dist/types/src/components/base/ColorPicker/index.d.ts +0 -1
  484. package/dist/types/src/components/base/ColorPicker/src/ColorPicker.vue.d.ts +0 -3
  485. package/dist/types/src/components/base/Container/index.d.ts +0 -1
  486. package/dist/types/src/components/base/Container/src/Container.vue.d.ts +0 -3
  487. package/dist/types/src/components/base/DatePicker/index.d.ts +0 -1
  488. package/dist/types/src/components/base/DatePicker/src/DatePicker.vue.d.ts +0 -3
  489. package/dist/types/src/components/base/Descriptions/index.d.ts +0 -2
  490. package/dist/types/src/components/base/Descriptions/src/Descriptions.vue.d.ts +0 -3
  491. package/dist/types/src/components/base/Descriptions/src/DescriptionsItem.vue.d.ts +0 -3
  492. package/dist/types/src/components/base/Dialog/index.d.ts +0 -1
  493. package/dist/types/src/components/base/Dialog/src/Dialog.vue.d.ts +0 -3
  494. package/dist/types/src/components/base/Divider/index.d.ts +0 -1
  495. package/dist/types/src/components/base/Divider/src/Divider.vue.d.ts +0 -3
  496. package/dist/types/src/components/base/Drawer/index.d.ts +0 -1
  497. package/dist/types/src/components/base/Drawer/src/Drawer.vue.d.ts +0 -3
  498. package/dist/types/src/components/base/Dropdown/index.d.ts +0 -3
  499. package/dist/types/src/components/base/Dropdown/src/Dropdown.vue.d.ts +0 -3
  500. package/dist/types/src/components/base/Dropdown/src/DropdownItem.vue.d.ts +0 -3
  501. package/dist/types/src/components/base/Dropdown/src/DropdownMenu.vue.d.ts +0 -3
  502. package/dist/types/src/components/base/Empty/index.d.ts +0 -1
  503. package/dist/types/src/components/base/Empty/src/Empty.vue.d.ts +0 -3
  504. package/dist/types/src/components/base/Footer/index.d.ts +0 -1
  505. package/dist/types/src/components/base/Footer/src/Footer.vue.d.ts +0 -3
  506. package/dist/types/src/components/base/Form/index.d.ts +0 -2
  507. package/dist/types/src/components/base/Form/src/Form.vue.d.ts +0 -3
  508. package/dist/types/src/components/base/Form/src/FormItem.vue.d.ts +0 -3
  509. package/dist/types/src/components/base/Header/index.d.ts +0 -1
  510. package/dist/types/src/components/base/Header/src/Header.vue.d.ts +0 -3
  511. package/dist/types/src/components/base/Icon/index.d.ts +0 -1
  512. package/dist/types/src/components/base/Icon/src/Icon.vue.d.ts +0 -3
  513. package/dist/types/src/components/base/Image/index.d.ts +0 -1
  514. package/dist/types/src/components/base/Image/src/Image.vue.d.ts +0 -3
  515. package/dist/types/src/components/base/ImageViewer/index.d.ts +0 -1
  516. package/dist/types/src/components/base/ImageViewer/src/ImageViewer.vue.d.ts +0 -3
  517. package/dist/types/src/components/base/Input/index.d.ts +0 -1
  518. package/dist/types/src/components/base/Input/src/Input.vue.d.ts +0 -30
  519. package/dist/types/src/components/base/InputNumber/index.d.ts +0 -1
  520. package/dist/types/src/components/base/InputNumber/src/InputNumber.vue.d.ts +0 -3
  521. package/dist/types/src/components/base/Main/index.d.ts +0 -1
  522. package/dist/types/src/components/base/Main/src/Main.vue.d.ts +0 -3
  523. package/dist/types/src/components/base/Menu/index.d.ts +0 -3
  524. package/dist/types/src/components/base/Menu/src/Menu.vue.d.ts +0 -3
  525. package/dist/types/src/components/base/Menu/src/MenuItem.vue.d.ts +0 -3
  526. package/dist/types/src/components/base/Menu/src/SubMenu.vue.d.ts +0 -3
  527. package/dist/types/src/components/base/Pagination/index.d.ts +0 -1
  528. package/dist/types/src/components/base/Pagination/src/Pagination.vue.d.ts +0 -3
  529. package/dist/types/src/components/base/Popconfirm/index.d.ts +0 -1
  530. package/dist/types/src/components/base/Popconfirm/src/Popconfirm.vue.d.ts +0 -3
  531. package/dist/types/src/components/base/Popover/index.d.ts +0 -1
  532. package/dist/types/src/components/base/Popover/src/Popover.vue.d.ts +0 -3
  533. package/dist/types/src/components/base/Progress/index.d.ts +0 -1
  534. package/dist/types/src/components/base/Progress/src/Progress.vue.d.ts +0 -3
  535. package/dist/types/src/components/base/Qr/index.d.ts +0 -1
  536. package/dist/types/src/components/base/Qr/src/Qr.vue.d.ts +0 -3
  537. package/dist/types/src/components/base/Radio/index.d.ts +0 -3
  538. package/dist/types/src/components/base/Radio/src/Radio.vue.d.ts +0 -3
  539. package/dist/types/src/components/base/Radio/src/RadioButton.vue.d.ts +0 -3
  540. package/dist/types/src/components/base/Radio/src/RadioGroup.vue.d.ts +0 -3
  541. package/dist/types/src/components/base/Rate/index.d.ts +0 -1
  542. package/dist/types/src/components/base/Rate/src/Rate.vue.d.ts +0 -3
  543. package/dist/types/src/components/base/Result/index.d.ts +0 -1
  544. package/dist/types/src/components/base/Result/src/Result.vue.d.ts +0 -3
  545. package/dist/types/src/components/base/Row/index.d.ts +0 -1
  546. package/dist/types/src/components/base/Row/src/Row.vue.d.ts +0 -3
  547. package/dist/types/src/components/base/Scrollbar/index.d.ts +0 -1
  548. package/dist/types/src/components/base/Scrollbar/src/Scrollbar.vue.d.ts +0 -3
  549. package/dist/types/src/components/base/Select/index.d.ts +0 -3
  550. package/dist/types/src/components/base/Select/src/Option.vue.d.ts +0 -3
  551. package/dist/types/src/components/base/Select/src/OptionGroup.vue.d.ts +0 -3
  552. package/dist/types/src/components/base/Select/src/Select.vue.d.ts +0 -37
  553. package/dist/types/src/components/base/SelectV2/index.d.ts +0 -1
  554. package/dist/types/src/components/base/SelectV2/src/SelectV2.vue.d.ts +0 -3
  555. package/dist/types/src/components/base/Slider/index.d.ts +0 -1
  556. package/dist/types/src/components/base/Slider/src/Slider.vue.d.ts +0 -3
  557. package/dist/types/src/components/base/Steps/index.d.ts +0 -1
  558. package/dist/types/src/components/base/Steps/src/Step.vue.d.ts +0 -3
  559. package/dist/types/src/components/base/Steps/src/Steps.vue.d.ts +0 -3
  560. package/dist/types/src/components/base/Switch/index.d.ts +0 -1
  561. package/dist/types/src/components/base/Switch/src/Switch.vue.d.ts +0 -3
  562. package/dist/types/src/components/base/Table/index.d.ts +0 -2
  563. package/dist/types/src/components/base/Table/src/Table.vue.d.ts +0 -3
  564. package/dist/types/src/components/base/Table/src/TableColumn.vue.d.ts +0 -3
  565. package/dist/types/src/components/base/Tabs/index.d.ts +0 -2
  566. package/dist/types/src/components/base/Tabs/src/TabPane.vue.d.ts +0 -3
  567. package/dist/types/src/components/base/Tabs/src/Tabs.vue.d.ts +0 -3
  568. package/dist/types/src/components/base/Tag/index.d.ts +0 -2
  569. package/dist/types/src/components/base/Tag/src/CheckTag.vue.d.ts +0 -3
  570. package/dist/types/src/components/base/Tag/src/Tag.vue.d.ts +0 -3
  571. package/dist/types/src/components/base/Text/index.d.ts +0 -1
  572. package/dist/types/src/components/base/Text/src/Text.vue.d.ts +0 -3
  573. package/dist/types/src/components/base/TimePicker/index.d.ts +0 -1
  574. package/dist/types/src/components/base/TimePicker/src/TimePicker.vue.d.ts +0 -3
  575. package/dist/types/src/components/base/TimeSelect/index.d.ts +0 -1
  576. package/dist/types/src/components/base/TimeSelect/src/TimeSelect.vue.d.ts +0 -3
  577. package/dist/types/src/components/base/Tooltip/index.d.ts +0 -1
  578. package/dist/types/src/components/base/Tooltip/src/Tooltip.vue.d.ts +0 -3
  579. package/dist/types/src/components/base/Tour/index.d.ts +0 -2
  580. package/dist/types/src/components/base/Tour/src/Tour.vue.d.ts +0 -3
  581. package/dist/types/src/components/base/Tour/src/TourStep.vue.d.ts +0 -3
  582. package/dist/types/src/components/base/Transfer/index.d.ts +0 -1
  583. package/dist/types/src/components/base/Transfer/src/Transfer.vue.d.ts +0 -3
  584. package/dist/types/src/components/base/Tree/index.d.ts +0 -1
  585. package/dist/types/src/components/base/Tree/src/Tree.vue.d.ts +0 -3
  586. package/dist/types/src/components/base/TreeSelect/index.d.ts +0 -1
  587. package/dist/types/src/components/base/TreeSelect/src/TreeSelect.vue.d.ts +0 -3
  588. package/dist/types/src/components/base/TreeV2/index.d.ts +0 -1
  589. package/dist/types/src/components/base/TreeV2/src/TreeV2.vue.d.ts +0 -3
  590. package/dist/types/src/components/base/Upload/index.d.ts +0 -1
  591. package/dist/types/src/components/base/Upload/src/Upload.vue.d.ts +0 -3
  592. package/dist/types/src/components/base/Watermark/index.d.ts +0 -1
  593. package/dist/types/src/components/base/Watermark/src/Watermark.vue.d.ts +0 -3
  594. package/dist/types/src/components/base/components.d.ts +0 -60
  595. package/dist/types/src/components/base/index.d.ts +0 -174
  596. package/dist/types/src/components/business/bcBox/bcBox.vue.d.ts +0 -48
  597. package/dist/types/src/components/business/bcBreadcrumb/bcBreadcrumb.vue.d.ts +0 -14
  598. package/dist/types/src/components/business/bcButton/bcButton.vue.d.ts +0 -13
  599. package/dist/types/src/components/business/bcCheckbox/bcCheckbox.vue.d.ts +0 -23
  600. package/dist/types/src/components/business/bcContextBox/bcContextBox.vue.d.ts +0 -40
  601. package/dist/types/src/components/business/bcContextBox/useContextMenu.d.ts +0 -34
  602. package/dist/types/src/components/business/bcDivider/bcDivider.vue.d.ts +0 -38
  603. package/dist/types/src/components/business/bcFace/bcFace.vue.d.ts +0 -24
  604. package/dist/types/src/components/business/bcForm/baseForm.vue.d.ts +0 -275
  605. package/dist/types/src/components/business/bcForm/bcForm.vue.d.ts +0 -33
  606. package/dist/types/src/components/business/bcForm/useGuide.d.ts +0 -559
  607. package/dist/types/src/components/business/bcGroup/bcGroup.vue.d.ts +0 -36
  608. package/dist/types/src/components/business/bcIcon/bcIcon.vue.d.ts +0 -27
  609. package/dist/types/src/components/business/bcInputGroup/bcInputGroup.vue.d.ts +0 -20
  610. package/dist/types/src/components/business/bcRadio/bcRadio.vue.d.ts +0 -18
  611. package/dist/types/src/components/business/bcSelect/bcSelect.vue.d.ts +0 -33
  612. package/dist/types/src/components/business/bcSignature/index.vue.d.ts +0 -19
  613. package/dist/types/src/components/business/bcSystemAuth/components/data.vue.d.ts +0 -3
  614. package/dist/types/src/components/business/bcSystemAuth/components/dict.vue.d.ts +0 -3
  615. package/dist/types/src/components/business/bcSystemAuth/components/fastSet/popup.vue.d.ts +0 -17
  616. package/dist/types/src/components/business/bcSystemAuth/components/field.vue.d.ts +0 -3
  617. package/dist/types/src/components/business/bcSystemAuth/components/form.vue.d.ts +0 -11
  618. package/dist/types/src/components/business/bcSystemAuth/components/selectAll/index.vue.d.ts +0 -5
  619. package/dist/types/src/components/business/bcSystemAuth/components/table.vue.d.ts +0 -11
  620. package/dist/types/src/components/business/bcSystemAuth/components/widget/btns.vue.d.ts +0 -11
  621. package/dist/types/src/components/business/bcSystemAuth/components/widget/form.vue.d.ts +0 -11
  622. package/dist/types/src/components/business/bcSystemAuth/components/widget/tab.vue.d.ts +0 -17
  623. package/dist/types/src/components/business/bcSystemAuth/components/widget/tables.vue.d.ts +0 -11
  624. package/dist/types/src/components/business/bcSystemAuth/components/widget/tablesWraper.vue.d.ts +0 -11
  625. package/dist/types/src/components/business/bcSystemAuth/index.d.ts +0 -2
  626. package/dist/types/src/components/business/bcSystemAuth/index.vue.d.ts +0 -17
  627. package/dist/types/src/components/business/bcSystemAuth/type.d.ts +0 -342
  628. package/dist/types/src/components/business/bcSystemAuth/useAuth.d.ts +0 -26
  629. package/dist/types/src/components/business/bcSystemField/components/field.vue.d.ts +0 -3
  630. package/dist/types/src/components/business/bcSystemField/components/form.vue.d.ts +0 -11
  631. package/dist/types/src/components/business/bcSystemField/components/selectAll/index.vue.d.ts +0 -5
  632. package/dist/types/src/components/business/bcSystemField/components/table.vue.d.ts +0 -11
  633. package/dist/types/src/components/business/bcSystemField/components/widget/form.vue.d.ts +0 -11
  634. package/dist/types/src/components/business/bcSystemField/components/widget/tab.vue.d.ts +0 -17
  635. package/dist/types/src/components/business/bcSystemField/components/widget/tables.vue.d.ts +0 -11
  636. package/dist/types/src/components/business/bcSystemField/components/widget/tablesWraper.vue.d.ts +0 -11
  637. package/dist/types/src/components/business/bcSystemField/index.d.ts +0 -2
  638. package/dist/types/src/components/business/bcSystemField/index.vue.d.ts +0 -7
  639. package/dist/types/src/components/business/bcSystemField/useAuth.d.ts +0 -14
  640. package/dist/types/src/components/business/bcTable/bcFormTable.vue.d.ts +0 -143
  641. package/dist/types/src/components/business/bcTable/bcTable.vue.d.ts +0 -32
  642. package/dist/types/src/components/business/bcTable/components/btn/btn.vue.d.ts +0 -58
  643. package/dist/types/src/components/business/bcTable/components/popup/index.d.ts +0 -2
  644. package/dist/types/src/components/business/bcTable/components/popup/popup.vue.d.ts +0 -49
  645. package/dist/types/src/components/business/bcTable/components/query/components/sortForm/sortForm.vue.d.ts +0 -14
  646. package/dist/types/src/components/business/bcTable/components/query/drag.vue.d.ts +0 -222
  647. package/dist/types/src/components/business/bcTable/components/query/query.vue.d.ts +0 -226
  648. package/dist/types/src/components/business/bcTable/components/table/colgroup.vue.d.ts +0 -25
  649. package/dist/types/src/components/business/bcTable/components/table/column.vue.d.ts +0 -49
  650. package/dist/types/src/components/business/bcTable/components/table/components/sortColumn/sortColumn.vue.d.ts +0 -16
  651. package/dist/types/src/components/business/bcTable/components/table/table.vue.d.ts +0 -64
  652. package/dist/types/src/components/business/bcTable/components/table/useTableHeight.d.ts +0 -23
  653. package/dist/types/src/components/business/bcTable/utils/useFormTableHeight.d.ts +0 -18
  654. package/dist/types/src/components/business/bcTabs/bcTabs.vue.d.ts +0 -61
  655. package/dist/types/src/components/business/bcTabs/components/BetterScroll/index.d.ts +0 -2
  656. package/dist/types/src/components/business/bcTabs/components/BetterScroll/index.vue.d.ts +0 -33
  657. package/dist/types/src/components/business/bcTreeSearch/bcTreeSearch.vue.d.ts +0 -55
  658. package/dist/types/src/components/business/bcTreeSelect/bcTreeSelect.vue.d.ts +0 -28
  659. package/dist/types/src/components/business/bcTrtc/bcTrtc.vue.d.ts +0 -104
  660. package/dist/types/src/components/business/bcTrtc/hooks/useOperateLog.d.ts +0 -8
  661. package/dist/types/src/components/business/bcTrtc/hooks/useTrtcRoomEvent.d.ts +0 -50
  662. package/dist/types/src/components/business/bcTrtc/type.d.ts +0 -124
  663. package/dist/types/src/components/business/bcTrtc/useTrtc.d.ts +0 -39
  664. package/dist/types/src/components/business/bcTrtc/util/generateTestUserSig.d.ts +0 -64
  665. package/dist/types/src/components/business/bcTrtc/util/lib-generate-test-usersig-es.min.d.ts +0 -20
  666. package/dist/types/src/components/business/bcTrtc/util/utils.d.ts +0 -4
  667. package/dist/types/src/components/business/bcUpload/bcUpload.vue.d.ts +0 -13
  668. package/dist/types/src/components/business/bcUpload/component/highSpeedCamera.vue.d.ts +0 -19
  669. package/dist/types/src/components/business/bcUpload/component/qwebchannel.d.ts +0 -15
  670. package/dist/types/src/components/business/bcUpload/component/type.d.ts +0 -44
  671. package/dist/types/src/components/business/bcUpload/type.d.ts +0 -83
  672. package/dist/types/src/components/business/bcUpload/upload.vue.d.ts +0 -272
  673. package/dist/types/src/components/business/bcUpload/useUpload.d.ts +0 -21
  674. package/dist/types/src/components/business/bcVisual/components/setting/extendItem.vue.d.ts +0 -13
  675. package/dist/types/src/components/business/bcVisual/components/setting/setting.vue.d.ts +0 -3
  676. package/dist/types/src/components/business/bcVisual/components/table/table.vue.d.ts +0 -6
  677. package/dist/types/src/components/business/bcVisual/components/updateName/popup.vue.d.ts +0 -17
  678. package/dist/types/src/components/business/bcVisual/components/updateSql/addCondition.vue.d.ts +0 -23
  679. package/dist/types/src/components/business/bcVisual/components/updateSql/nodeTree/index.vue.d.ts +0 -21
  680. package/dist/types/src/components/business/bcVisual/components/updateSql/nodeTree/nodeTree.vue.d.ts +0 -27
  681. package/dist/types/src/components/business/bcVisual/components/updateSql/popup.vue.d.ts +0 -17
  682. package/dist/types/src/components/business/index.d.ts +0 -52
  683. package/dist/types/src/hooks/index.d.ts +0 -3
  684. package/dist/types/src/hooks/onKeyStroke.d.ts +0 -13
  685. package/dist/types/src/hooks/useExpose.d.ts +0 -23
  686. package/dist/types/src/hooks/useKeyStroke.d.ts +0 -22
  687. package/dist/types/src/utils/commonFunction.d.ts +0 -14
  688. package/dist/types/src/utils/index.d.ts +0 -26
  689. package/dist/types/src/utils/lodash.d.ts +0 -2
  690. package/dist/types/src/utils/request/index.d.ts +0 -6
  691. package/dist/types/src/utils/request/request.d.ts +0 -6
  692. package/dist/types/src/utils/showMessage.d.ts +0 -3
  693. package/dist/types/src/utils/showMessageBox.d.ts +0 -3
  694. package/dist/types/src/utils/showNotification.d.ts +0 -3
  695. package/dist/types/src/utils/showPopup/showPopup.vue.d.ts +0 -56
  696. package/dist/types/vxe-table.d.ts +0 -3
  697. /package/dist/types/{src/components → components}/business/bcSystemAuth/components/fastSet/index.d.ts +0 -0
  698. /package/dist/types/{src/components → components}/business/bcSystemAuth/components/index.d.ts +0 -0
  699. /package/dist/types/{src/components → components}/business/bcSystemAuth/components/widget/index.d.ts +0 -0
  700. /package/dist/types/{src/components → components}/business/bcSystemField/components/index.d.ts +0 -0
  701. /package/dist/types/{src/components → components}/business/bcSystemField/components/widget/index.d.ts +0 -0
  702. /package/dist/types/{src/components → components}/business/bcTable/components/index.d.ts +0 -0
  703. /package/dist/types/{src/components → components}/business/bcTable/components/query/components/sortForm/index.d.ts +0 -0
  704. /package/dist/types/{src/components → components}/business/bcTable/components/table/components/sortColumn/index.d.ts +0 -0
  705. /package/dist/types/{src/components → components}/business/bcVisual/components/updateName/index.d.ts +0 -0
  706. /package/dist/types/{src/components → components}/business/bcVisual/type.d.ts +0 -0
  707. /package/dist/types/{src/types → types}/formItem/button.d.ts +0 -0
  708. /package/dist/types/{src/types → types}/formItem/index.d.ts +0 -0
  709. /package/dist/types/{src/types → types}/index.d.ts +0 -0
  710. /package/dist/types/{src/utils → utils}/cfprint.d.ts +0 -0
  711. /package/dist/types/{src/utils → utils}/crypto.d.ts +0 -0
  712. /package/dist/types/{src/utils → utils}/device_info.d.ts +0 -0
  713. /package/dist/types/{src/utils → utils}/formatTime.d.ts +0 -0
  714. /package/dist/types/{src/utils → utils}/request/interceptors/request/index.d.ts +0 -0
  715. /package/dist/types/{src/utils → utils}/request/interceptors/response/index.d.ts +0 -0
  716. /package/dist/types/{src/utils → utils}/shortcutList.d.ts +0 -0
  717. /package/dist/types/{src/utils → utils}/theme.d.ts +0 -0
  718. /package/dist/types/{src/utils → utils}/toolsValidate.d.ts +0 -0
  719. /package/dist/types/{src/utils → utils}/update.d.ts +0 -0
  720. /package/dist/types/{src/utils → utils}/watermark.d.ts +0 -0
Binary file
@@ -0,0 +1,94 @@
1
+ import { defineComponent, ref, resolveComponent, createElementBlock, openBlock, createElementVNode, createVNode, withCtx, createTextVNode, mergeProps } from "vue";
2
+ const _hoisted_1 = { class: "system-menu-container layout-padding" };
3
+ const _hoisted_2 = { class: "h-full flex flex-col" };
4
+ const _hoisted_3 = { class: "flex-1 overflow-hidden" };
5
+ const __default__ = defineComponent({
6
+ name: "testtablecomponent"
7
+ });
8
+ const _sfc_main = /* @__PURE__ */ defineComponent({
9
+ ...__default__,
10
+ props: {
11
+ close: Function
12
+ },
13
+ setup(__props) {
14
+ const tableInstance = ref();
15
+ async function onReady(params) {
16
+ tableInstance.value = params;
17
+ console.log("onReady");
18
+ params.setQueryData(
19
+ {
20
+ qry_settle_time_begin: "2025-11-01 00:00:00",
21
+ qry_settle_time_end: "2025-11-01 23:59:59"
22
+ },
23
+ true
24
+ );
25
+ }
26
+ async function resetAttr() {
27
+ console.log("resetAttr");
28
+ }
29
+ async function resetReady(params) {
30
+ if (params === "query") {
31
+ Array.from(document.querySelectorAll(".sort-target__wraper")).forEach(
32
+ (i, index) => {
33
+ if ([0, 1, 2].includes(index)) {
34
+ i.classList.add("hide");
35
+ }
36
+ }
37
+ );
38
+ }
39
+ }
40
+ async function search() {
41
+ var _a;
42
+ (_a = tableInstance.value) == null ? void 0 : _a.search();
43
+ }
44
+ return (_ctx, _cache) => {
45
+ const _component_hs_button = resolveComponent("hs-button");
46
+ const _component_bc_button = resolveComponent("bc-button");
47
+ const _component_hs_input = resolveComponent("hs-input");
48
+ const _component_bc_box = resolveComponent("bc-box");
49
+ return openBlock(), createElementBlock("div", _hoisted_1, [
50
+ createElementVNode("div", _hoisted_2, [
51
+ createVNode(_component_hs_button, { onClick: search }, {
52
+ default: withCtx(() => _cache[0] || (_cache[0] = [
53
+ createTextVNode("搜索")
54
+ ])),
55
+ _: 1,
56
+ __: [0]
57
+ }),
58
+ createElementVNode("div", _hoisted_3, [
59
+ createVNode(_component_bc_box, {
60
+ type: "1",
61
+ projectCode: "lsms",
62
+ id: "4c1ad4e7-5711-47b7-a78c-c793ccc65acc",
63
+ mid: "5f6bec0d44a04731a8d42a7a6dfd3d80",
64
+ uid: "6d627362f1914ec28ab167ae5c2c4013",
65
+ onReady,
66
+ onResetAttr: resetAttr,
67
+ onResetReady: resetReady
68
+ }, {
69
+ btn_search: withCtx((scoped) => [
70
+ createVNode(_component_bc_button, mergeProps(scoped, { onClick: search }), null, 16)
71
+ ]),
72
+ query_qry_commodity_no_like: withCtx(({ row }) => [
73
+ createVNode(_component_hs_input, {
74
+ modelValue: row.qry_commodity_no_like,
75
+ "onUpdate:modelValue": ($event) => row.qry_commodity_no_like = $event
76
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])
77
+ ]),
78
+ query_qry_commodity_name_like: withCtx(({ row }) => [
79
+ createVNode(_component_hs_input, {
80
+ modelValue: row.increase_amount,
81
+ "onUpdate:modelValue": ($event) => row.increase_amount = $event
82
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])
83
+ ]),
84
+ _: 1
85
+ })
86
+ ])
87
+ ])
88
+ ]);
89
+ };
90
+ }
91
+ });
92
+ export {
93
+ _sfc_main as default
94
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as _sfc_main } from "./index.vue_vue_type_script_setup_true_name_iconSelector_lang-iB7n4gFb.mjs";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),e=require("./index-Be14owUC.js"),i={};i.getData=t=>new Promise(((e,i)=>{let s={};(function(t){let e=null;return new Promise(((i,s)=>{if(t.src)if(/^data\:/i.test(t.src))e=function(t,e){e=e||t.match(/^data\:([^\;]+)\;base64,/im)[1]||"",t=t.replace(/^data\:([^\;]+)\;base64,/gim,"");for(var i=atob(t),s=i.length%2==0?i.length:i.length+1,o=new ArrayBuffer(s),h=new Uint16Array(o),r=0;r<s;r++)h[r]=i.charCodeAt(r);return o}(t.src),i(e);else if(/^blob\:/i.test(t.src)){var o=new FileReader;o.onload=function(t){e=t.target.result,i(e)},function(t,e){var i=new XMLHttpRequest;i.open("GET",t,!0),i.responseType="blob",i.onload=function(t){200!=this.status&&0!==this.status||e(this.response)},i.send()}(t.src,(function(t){o.readAsArrayBuffer(t)}))}else{var h=new XMLHttpRequest;h.onload=function(){if(200!=this.status&&0!==this.status)throw"Could not load image";e=h.response,i(e),h=null},h.open("GET",t.src,!0),h.responseType="arraybuffer",h.send(null)}else s("img error")}))})(t).then((t=>{s.arrayBuffer=t;try{s.orientation=function(t){var e,i,s,o,h,r,a,c,n,p=new DataView(t),l=p.byteLength;if(255===p.getUint8(0)&&216===p.getUint8(1))for(c=2;c<l;){if(255===p.getUint8(c)&&225===p.getUint8(c+1)){r=c;break}c++}r&&(i=r+10,"Exif"===function(t,e,i){var s,o="";for(s=e,i+=e;s<i;s++)o+=String.fromCharCode(t.getUint8(s));return o}(p,r+4,4)&&((o=18761===(h=p.getUint16(i)))||19789===h)&&42===p.getUint16(i+2,o)&&(s=p.getUint32(i+4,o))>=8&&(a=i+s));if(a)for(l=p.getUint16(a,o),n=0;n<l;n++)if(c=a+12*n+2,274===p.getUint16(c,o)){c+=8,e=p.getUint16(c,o);break}return e}(t)}catch{s.orientation=-1}e(s)})).catch((t=>{i(t)}))}));const s={data:function(){return{w:0,h:0,scale:1,x:0,y:0,loading:!0,trueWidth:0,trueHeight:0,move:!0,moveX:0,moveY:0,crop:!1,cropping:!1,cropW:0,cropH:0,cropOldW:0,cropOldH:0,canChangeX:!1,canChangeY:!1,changeCropTypeX:1,changeCropTypeY:1,cropX:0,cropY:0,cropChangeX:0,cropChangeY:0,cropOffsertX:0,cropOffsertY:0,support:"",touches:[],touchNow:!1,rotate:0,isIos:!1,orientation:0,imgs:"",coe:.2,scaling:!1,scalingSet:"",coeStatus:"",isCanShow:!0,imgIsQqualCrop:!1}},props:{img:{type:[String,Blob,null,File],default:""},outputSize:{type:Number,default:1},outputType:{type:String,default:"jpeg"},info:{type:Boolean,default:!0},canScale:{type:Boolean,default:!0},autoCrop:{type:Boolean,default:!1},autoCropWidth:{type:[Number,String],default:0},autoCropHeight:{type:[Number,String],default:0},fixed:{type:Boolean,default:!1},fixedNumber:{type:Array,default:()=>[1,1]},fixedBox:{type:Boolean,default:!1},full:{type:Boolean,default:!1},canMove:{type:Boolean,default:!0},canMoveBox:{type:Boolean,default:!0},original:{type:Boolean,default:!1},centerBox:{type:Boolean,default:!1},high:{type:Boolean,default:!0},infoTrue:{type:Boolean,default:!1},maxImgSize:{type:[Number,String],default:2e3},enlarge:{type:[Number,String],default:1},preW:{type:[Number,String],default:0},mode:{type:String,default:"contain"},limitMinSize:{type:[Number,Array,String],default:()=>10,validator:function(t){return Array.isArray(t)?Number(t[0])>=0&&Number(t[1])>=0:Number(t)>=0}},fillColor:{type:String,default:""}},computed:{cropInfo(){let t={};if(t.top=this.cropOffsertY>21?"-21px":"0px",t.width=this.cropW>0?this.cropW:0,t.height=this.cropH>0?this.cropH:0,this.infoTrue){let e=1;this.high&&!this.full&&(e=window.devicePixelRatio),1!==this.enlarge&!this.full&&(e=Math.abs(Number(this.enlarge))),t.width=t.width*e,t.height=t.height*e,this.full&&(t.width=t.width/this.scale,t.height=t.height/this.scale)}return t.width=t.width.toFixed(0),t.height=t.height.toFixed(0),t},isIE:()=>!!window.ActiveXObject||"ActiveXObject"in window,passive(){return this.isIE?null:{passive:!1}}},watch:{img(){this.checkedImg()},imgs(t){""!==t&&this.reload()},cropW(){this.showPreview()},cropH(){this.showPreview()},cropOffsertX(){this.showPreview()},cropOffsertY(){this.showPreview()},scale(t,e){this.showPreview()},x(){this.showPreview()},y(){this.showPreview()},autoCrop(t){t&&this.goAutoCrop()},autoCropWidth(){this.autoCrop&&this.goAutoCrop()},autoCropHeight(){this.autoCrop&&this.goAutoCrop()},mode(){this.checkedImg()},rotate(){this.showPreview(),(this.autoCrop||this.cropW>0||this.cropH>0)&&this.goAutoCrop(this.cropW,this.cropH)}},methods:{getVersion(t){var e=navigator.userAgent.split(" "),i="";let s=0;const o=new RegExp(t,"i");for(var h=0;h<e.length;h++)o.test(e[h])&&(i=e[h]);return s=i?i.split("/")[1].split("."):["0","0","0"],s},checkOrientationImage(t,e,i,s){if(this.getVersion("chrome")[0]>=81)e=-1;else if(this.getVersion("safari")[0]>=605){const t=this.getVersion("version");t[0]>13&&t[1]>1&&(e=-1)}else{const t=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/);if(t){let i=t[1];i=i.split("_"),(i[0]>13||i[0]>=13&&i[1]>=4)&&(e=-1)}}let o=document.createElement("canvas"),h=o.getContext("2d");switch(h.save(),e){case 2:o.width=i,o.height=s,h.translate(i,0),h.scale(-1,1);break;case 3:o.width=i,o.height=s,h.translate(i/2,s/2),h.rotate(180*Math.PI/180),h.translate(-i/2,-s/2);break;case 4:o.width=i,o.height=s,h.translate(0,s),h.scale(1,-1);break;case 5:o.height=i,o.width=s,h.rotate(.5*Math.PI),h.scale(1,-1);break;case 6:o.width=s,o.height=i,h.translate(s/2,i/2),h.rotate(90*Math.PI/180),h.translate(-i/2,-s/2);break;case 7:o.height=i,o.width=s,h.rotate(.5*Math.PI),h.translate(i,-s),h.scale(-1,1);break;case 8:o.height=i,o.width=s,h.translate(s/2,i/2),h.rotate(-90*Math.PI/180),h.translate(-i/2,-s/2);break;default:o.width=i,o.height=s}h.drawImage(t,0,0,i,s),h.restore(),o.toBlob((t=>{let e=URL.createObjectURL(t);URL.revokeObjectURL(this.imgs),this.imgs=e}),"image/"+this.outputType,1)},checkedImg(){if(null===this.img||""===this.img)return this.imgs="",void this.clearCrop();this.loading=!0,this.scale=1,this.rotate=0,this.clearCrop();let t=new Image;if(t.onload=()=>{if(""===this.img)return this.$emit("imgLoad","error"),this.$emit("img-load","error"),this.$emit("img-load",new Error("图片不能为空")),!1;let e=t.width,s=t.height;i.getData(t).then((i=>{this.orientation=i.orientation||1;let o=Number(this.maxImgSize);!this.orientation&&e<o&s<o?this.imgs=this.img:(e>o&&(s=s/e*o,e=o),s>o&&(e=e/s*o,s=o),this.checkOrientationImage(t,this.orientation,e,s))})).catch((t=>{this.$emit("img-load","error"),this.$emit("img-load-error",t)}))},t.onerror=()=>{this.$emit("imgLoad","error"),this.$emit("img-load","error"),this.$emit("img-load-error",error)},"data"!==this.img.substr(0,4)&&(t.crossOrigin=""),this.isIE){var e=new XMLHttpRequest;e.onload=function(){var e=URL.createObjectURL(this.response);t.src=e},e.open("GET",this.img,!0),e.responseType="blob",e.send()}else t.src=this.img},startMove(t){if(t.preventDefault(),this.move&&!this.crop){if(!this.canMove)return!1;this.moveX=("clientX"in t?t.clientX:t.touches[0].clientX)-this.x,this.moveY=("clientY"in t?t.clientY:t.touches[0].clientY)-this.y,t.touches?(window.addEventListener("touchmove",this.moveImg),window.addEventListener("touchend",this.leaveImg),2==t.touches.length&&(this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale))):(window.addEventListener("mousemove",this.moveImg),window.addEventListener("mouseup",this.leaveImg)),this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}else this.cropping=!0,window.addEventListener("mousemove",this.createCrop),window.addEventListener("mouseup",this.endCrop),window.addEventListener("touchmove",this.createCrop),window.addEventListener("touchend",this.endCrop),this.cropOffsertX=t.offsetX?t.offsetX:t.touches[0].pageX-this.$refs.cropper.offsetLeft,this.cropOffsertY=t.offsetY?t.offsetY:t.touches[0].pageY-this.$refs.cropper.offsetTop,this.cropX="clientX"in t?t.clientX:t.touches[0].clientX,this.cropY="clientY"in t?t.clientY:t.touches[0].clientY,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.cropW=0,this.cropH=0},touchScale(t){t.preventDefault();let e=this.scale;var i=this.touches[0].clientX,s=this.touches[0].clientY,o=t.touches[0].clientX,h=t.touches[0].clientY,r=this.touches[1].clientX,a=this.touches[1].clientY,c=t.touches[1].clientX,n=t.touches[1].clientY,p=Math.sqrt(Math.pow(i-r,2)+Math.pow(s-a,2)),l=Math.sqrt(Math.pow(o-c,2)+Math.pow(h-n,2))-p,d=1,u=(d=(d=d/this.trueWidth>d/this.trueHeight?d/this.trueHeight:d/this.trueWidth)>.1?.1:d)*l;if(!this.touchNow){if(this.touchNow=!0,l>0?e+=Math.abs(u):l<0&&e>Math.abs(u)&&(e-=Math.abs(u)),this.touches=t.touches,setTimeout((()=>{this.touchNow=!1}),8),!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e}},cancelTouchScale(t){window.removeEventListener("touchmove",this.touchScale)},moveImg(t){if(t.preventDefault(),t.touches&&2===t.touches.length)return this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale),window.removeEventListener("touchmove",this.moveImg),!1;let e,i,s="clientX"in t?t.clientX:t.touches[0].clientX,o="clientY"in t?t.clientY:t.touches[0].clientY;e=s-this.moveX,i=o-this.moveY,this.$nextTick((()=>{if(this.centerBox){let t,s,o,h,r=this.getImgAxis(e,i,this.scale),a=this.getCropAxis(),c=this.trueHeight*this.scale,n=this.trueWidth*this.scale;switch(this.rotate){case 1:case-1:case 3:case-3:t=this.cropOffsertX-this.trueWidth*(1-this.scale)/2+(c-n)/2,s=this.cropOffsertY-this.trueHeight*(1-this.scale)/2+(n-c)/2,o=t-c+this.cropW,h=s-n+this.cropH;break;default:t=this.cropOffsertX-this.trueWidth*(1-this.scale)/2,s=this.cropOffsertY-this.trueHeight*(1-this.scale)/2,o=t-n+this.cropW,h=s-c+this.cropH}r.x1>=a.x1&&(e=t),r.y1>=a.y1&&(i=s),r.x2<=a.x2&&(e=o),r.y2<=a.y2&&(i=h)}this.x=e,this.y=i,this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}))},leaveImg(t){window.removeEventListener("mousemove",this.moveImg),window.removeEventListener("touchmove",this.moveImg),window.removeEventListener("mouseup",this.leaveImg),window.removeEventListener("touchend",this.leaveImg),this.$emit("imgMoving",{moving:!1,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!1,axis:this.getImgAxis()})},scaleImg(){this.canScale&&window.addEventListener(this.support,this.changeSize,this.passive)},cancelScale(){this.canScale&&window.removeEventListener(this.support,this.changeSize)},changeSize(t){t.preventDefault();let e=this.scale;var i=t.deltaY||t.wheelDelta;i=navigator.userAgent.indexOf("Firefox")>0?30*i:i,this.isIE&&(i=-i);var s=this.coe,o=(s=s/this.trueWidth>s/this.trueHeight?s/this.trueHeight:s/this.trueWidth)*i;o<0?e+=Math.abs(o):e>Math.abs(o)&&(e-=Math.abs(o));let h=o<0?"add":"reduce";if(h!==this.coeStatus&&(this.coeStatus=h,this.coe=.2),this.scaling||(this.scalingSet=setTimeout((()=>{this.scaling=!1,this.coe=this.coe+=.01}),50)),this.scaling=!0,!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e},changeScale(t){let e=this.scale;t=t||1;var i=20;if((t*=i=i/this.trueWidth>i/this.trueHeight?i/this.trueHeight:i/this.trueWidth)>0?e+=Math.abs(t):e>Math.abs(t)&&(e-=Math.abs(t)),!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e},createCrop(t){t.preventDefault();var e="clientX"in t?t.clientX:t.touches?t.touches[0].clientX:0,i="clientY"in t?t.clientY:t.touches?t.touches[0].clientY:0;this.$nextTick((()=>{var t=e-this.cropX,s=i-this.cropY;if(t>0?(this.cropW=t+this.cropChangeX>this.w?this.w-this.cropChangeX:t,this.cropOffsertX=this.cropChangeX):(this.cropW=this.w-this.cropChangeX+Math.abs(t)>this.w?this.cropChangeX:Math.abs(t),this.cropOffsertX=this.cropChangeX+t>0?this.cropChangeX+t:0),this.fixed){var o=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];o+this.cropOffsertY>this.h?(this.cropH=this.h-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],this.cropOffsertX=t>0?this.cropChangeX:this.cropChangeX-this.cropW):this.cropH=o,this.cropOffsertY=this.cropOffsertY}else s>0?(this.cropH=s+this.cropChangeY>this.h?this.h-this.cropChangeY:s,this.cropOffsertY=this.cropChangeY):(this.cropH=this.h-this.cropChangeY+Math.abs(s)>this.h?this.cropChangeY:Math.abs(s),this.cropOffsertY=this.cropChangeY+s>0?this.cropChangeY+s:0)}))},changeCropSize(t,e,i,s,o){t.preventDefault(),window.addEventListener("mousemove",this.changeCropNow),window.addEventListener("mouseup",this.changeCropEnd),window.addEventListener("touchmove",this.changeCropNow),window.addEventListener("touchend",this.changeCropEnd),this.canChangeX=e,this.canChangeY=i,this.changeCropTypeX=s,this.changeCropTypeY=o,this.cropX="clientX"in t?t.clientX:t.touches[0].clientX,this.cropY="clientY"in t?t.clientY:t.touches[0].clientY,this.cropOldW=this.cropW,this.cropOldH=this.cropH,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.fixed&&this.canChangeX&&this.canChangeY&&(this.canChangeY=0),this.$emit("changeCropSize",{width:this.cropW,height:this.cropH}),this.$emit("change-crop-size",{width:this.cropW,height:this.cropH})},changeCropNow(t){t.preventDefault();var e="clientX"in t?t.clientX:t.touches?t.touches[0].clientX:0,i="clientY"in t?t.clientY:t.touches?t.touches[0].clientY:0;let s=this.w,o=this.h,h=0,r=0;if(this.centerBox){let t=this.getImgAxis(),e=t.x2,i=t.y2;h=t.x1>0?t.x1:0,r=t.y1>0?t.y1:0,s>e&&(s=e),o>i&&(o=i)}const[a,c]=this.checkCropLimitSize();this.$nextTick((()=>{var t=e-this.cropX,n=i-this.cropY;if(this.canChangeX&&(1===this.changeCropTypeX?this.cropOldW-t<a?(this.cropW=a,this.cropOffsertX=this.cropOldW+this.cropChangeX-h-a):this.cropOldW-t>0?(this.cropW=s-this.cropChangeX-t<=s-h?this.cropOldW-t:this.cropOldW+this.cropChangeX-h,this.cropOffsertX=s-this.cropChangeX-t<=s-h?this.cropChangeX+t:h):(this.cropW=Math.abs(t)+this.cropChangeX<=s?Math.abs(t)-this.cropOldW:s-this.cropOldW-this.cropChangeX,this.cropOffsertX=this.cropChangeX+this.cropOldW):2===this.changeCropTypeX&&(this.cropOldW+t<a?this.cropW=a:this.cropOldW+t>0?(this.cropW=this.cropOldW+t+this.cropOffsertX<=s?this.cropOldW+t:s-this.cropOffsertX,this.cropOffsertX=this.cropChangeX):(this.cropW=s-this.cropChangeX+Math.abs(t+this.cropOldW)<=s-h?Math.abs(t+this.cropOldW):this.cropChangeX-h,this.cropOffsertX=s-this.cropChangeX+Math.abs(t+this.cropOldW)<=s-h?this.cropChangeX-Math.abs(t+this.cropOldW):h))),this.canChangeY&&(1===this.changeCropTypeY?this.cropOldH-n<c?(this.cropH=c,this.cropOffsertY=this.cropOldH+this.cropChangeY-r-c):this.cropOldH-n>0?(this.cropH=o-this.cropChangeY-n<=o-r?this.cropOldH-n:this.cropOldH+this.cropChangeY-r,this.cropOffsertY=o-this.cropChangeY-n<=o-r?this.cropChangeY+n:r):(this.cropH=Math.abs(n)+this.cropChangeY<=o?Math.abs(n)-this.cropOldH:o-this.cropOldH-this.cropChangeY,this.cropOffsertY=this.cropChangeY+this.cropOldH):2===this.changeCropTypeY&&(this.cropOldH+n<c?this.cropH=c:this.cropOldH+n>0?(this.cropH=this.cropOldH+n+this.cropOffsertY<=o?this.cropOldH+n:o-this.cropOffsertY,this.cropOffsertY=this.cropChangeY):(this.cropH=o-this.cropChangeY+Math.abs(n+this.cropOldH)<=o-r?Math.abs(n+this.cropOldH):this.cropChangeY-r,this.cropOffsertY=o-this.cropChangeY+Math.abs(n+this.cropOldH)<=o-r?this.cropChangeY-Math.abs(n+this.cropOldH):r))),this.canChangeX&&this.fixed){var p=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];p<c?(this.cropH=c,this.cropW=this.fixedNumber[0]*c/this.fixedNumber[1],1===this.changeCropTypeX&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):p+this.cropOffsertY>o?(this.cropH=o-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],1===this.changeCropTypeX&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):this.cropH=p}if(this.canChangeY&&this.fixed){var l=this.cropH/this.fixedNumber[1]*this.fixedNumber[0];l<a?(this.cropW=a,this.cropH=this.fixedNumber[1]*a/this.fixedNumber[0]):l+this.cropOffsertX>s?(this.cropW=s-this.cropOffsertX,this.cropH=this.cropW/this.fixedNumber[0]*this.fixedNumber[1]):this.cropW=l}this.$emit("cropSizing",{cropW:this.cropW,cropH:this.cropH}),this.$emit("crop-sizing",{cropW:this.cropW,cropH:this.cropH})}))},checkCropLimitSize(){let{cropW:t,cropH:e,limitMinSize:i}=this,s=new Array;return s=Array.isArray(i)?i:[i,i],t=parseFloat(s[0]),e=parseFloat(s[1]),[t,e]},changeCropEnd(t){window.removeEventListener("mousemove",this.changeCropNow),window.removeEventListener("mouseup",this.changeCropEnd),window.removeEventListener("touchmove",this.changeCropNow),window.removeEventListener("touchend",this.changeCropEnd)},calculateSize(t,e,i,s,o,h){const r=t/e;let a=o,c=h;return a<i&&(a=i,c=Math.ceil(a/r)),c<s&&(c=s,a=Math.ceil(c*r),a<i&&(a=i,c=Math.ceil(a/r))),a<o&&(a=o,c=Math.ceil(a/r)),c<h&&(c=h,a=Math.ceil(c*r)),{width:a,height:c}},endCrop(){0===this.cropW&&0===this.cropH&&(this.cropping=!1);let[t,e]=this.checkCropLimitSize();const{width:i,height:s}=this.fixed?this.calculateSize(this.fixedNumber[0],this.fixedNumber[1],t,e,this.cropW,this.cropH):{width:t,height:e};i>this.cropW&&(this.cropW=i,this.cropOffsertX+i>this.w&&(this.cropOffsertX=this.w-i)),s>this.cropH&&(this.cropH=s,this.cropOffsertY+s>this.h&&(this.cropOffsertY=this.h-s)),window.removeEventListener("mousemove",this.createCrop),window.removeEventListener("mouseup",this.endCrop),window.removeEventListener("touchmove",this.createCrop),window.removeEventListener("touchend",this.endCrop)},startCrop(){this.crop=!0},stopCrop(){this.crop=!1},clearCrop(){this.cropping=!1,this.cropW=0,this.cropH=0},cropMove(t){if(t.preventDefault(),!this.canMoveBox)return this.crop=!1,this.startMove(t),!1;if(t.touches&&2===t.touches.length)return this.crop=!1,this.startMove(t),this.leaveCrop(),!1;window.addEventListener("mousemove",this.moveCrop),window.addEventListener("mouseup",this.leaveCrop),window.addEventListener("touchmove",this.moveCrop),window.addEventListener("touchend",this.leaveCrop);let e,i,s="clientX"in t?t.clientX:t.touches[0].clientX,o="clientY"in t?t.clientY:t.touches[0].clientY;e=s-this.cropOffsertX,i=o-this.cropOffsertY,this.cropX=e,this.cropY=i,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})},moveCrop(t,e){let i=0,s=0;t&&(t.preventDefault(),i="clientX"in t?t.clientX:t.touches[0].clientX,s="clientY"in t?t.clientY:t.touches[0].clientY),this.$nextTick((()=>{let t,o,h=i-this.cropX,r=s-this.cropY;if(e&&(h=this.cropOffsertX,r=this.cropOffsertY),t=h<=0?0:h+this.cropW>this.w?this.w-this.cropW:h,o=r<=0?0:r+this.cropH>this.h?this.h-this.cropH:r,this.centerBox){let e=this.getImgAxis();t<=e.x1&&(t=e.x1),t+this.cropW>e.x2&&(t=e.x2-this.cropW),o<=e.y1&&(o=e.y1),o+this.cropH>e.y2&&(o=e.y2-this.cropH)}this.cropOffsertX=t,this.cropOffsertY=o,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})}))},getImgAxis(t,e,i){t=t||this.x,e=e||this.y,i=i||this.scale;let s={x1:0,x2:0,y1:0,y2:0},o=this.trueWidth*i,h=this.trueHeight*i;switch(this.rotate){case 0:s.x1=t+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=e+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i;break;case 1:case-1:case 3:case-3:s.x1=t+this.trueWidth*(1-i)/2+(o-h)/2,s.x2=s.x1+this.trueHeight*i,s.y1=e+this.trueHeight*(1-i)/2+(h-o)/2,s.y2=s.y1+this.trueWidth*i;break;default:s.x1=t+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=e+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i}return s},getCropAxis(){let t={x1:0,x2:0,y1:0,y2:0};return t.x1=this.cropOffsertX,t.x2=t.x1+this.cropW,t.y1=this.cropOffsertY,t.y2=t.y1+this.cropH,t},leaveCrop(t){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.$emit("cropMoving",{moving:!1,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!1,axis:this.getCropAxis()})},getCropChecked(t){let e=document.createElement("canvas"),i=e.getContext("2d"),s=new Image,o=this.rotate,h=this.trueWidth,r=this.trueHeight,a=this.cropOffsertX,c=this.cropOffsertY;s.onload=()=>{if(0!==this.cropW){let t=1;this.high&!this.full&&(t=window.devicePixelRatio),1!==this.enlarge&!this.full&&(t=Math.abs(Number(this.enlarge)));let e=this.cropW*t,n=this.cropH*t,l=h*this.scale*t,d=r*this.scale*t,u=(this.x-a+this.trueWidth*(1-this.scale)/2)*t,g=(this.y-c+this.trueHeight*(1-this.scale)/2)*t;switch(p(e,n),i.save(),o){case 0:this.full?(p(e/this.scale,n/this.scale),i.drawImage(s,u/this.scale,g/this.scale,l/this.scale,d/this.scale)):i.drawImage(s,u,g,l,d);break;case 1:case-3:this.full?(p(e/this.scale,n/this.scale),u=u/this.scale+(l/this.scale-d/this.scale)/2,g=g/this.scale+(d/this.scale-l/this.scale)/2,i.rotate(90*o*Math.PI/180),i.drawImage(s,g,-u-d/this.scale,l/this.scale,d/this.scale)):(u+=(l-d)/2,g+=(d-l)/2,i.rotate(90*o*Math.PI/180),i.drawImage(s,g,-u-d,l,d));break;case 2:case-2:this.full?(p(e/this.scale,n/this.scale),i.rotate(90*o*Math.PI/180),u/=this.scale,g/=this.scale,i.drawImage(s,-u-l/this.scale,-g-d/this.scale,l/this.scale,d/this.scale)):(i.rotate(90*o*Math.PI/180),i.drawImage(s,-u-l,-g-d,l,d));break;case 3:case-1:this.full?(p(e/this.scale,n/this.scale),u=u/this.scale+(l/this.scale-d/this.scale)/2,g=g/this.scale+(d/this.scale-l/this.scale)/2,i.rotate(90*o*Math.PI/180),i.drawImage(s,-g-l/this.scale,u,l/this.scale,d/this.scale)):(u+=(l-d)/2,g+=(d-l)/2,i.rotate(90*o*Math.PI/180),i.drawImage(s,-g-l,u,l,d));break;default:this.full?(p(e/this.scale,n/this.scale),i.drawImage(s,u/this.scale,g/this.scale,l/this.scale,d/this.scale)):i.drawImage(s,u,g,l,d)}i.restore()}else{let t=h*this.scale,e=r*this.scale;switch(i.save(),o){case 0:p(t,e),i.drawImage(s,0,0,t,e);break;case 1:case-3:p(e,t),i.rotate(90*o*Math.PI/180),i.drawImage(s,0,-e,t,e);break;case 2:case-2:p(t,e),i.rotate(90*o*Math.PI/180),i.drawImage(s,-t,-e,t,e);break;case 3:case-1:p(e,t),i.rotate(90*o*Math.PI/180),i.drawImage(s,-t,0,t,e);break;default:p(t,e),i.drawImage(s,0,0,t,e)}i.restore()}t(e)},"data"!==this.img.substr(0,4)&&(s.crossOrigin="Anonymous"),s.src=this.imgs;const n=this.fillColor;function p(t,s){e.width=Math.round(t),e.height=Math.round(s),n&&(i.fillStyle=n,i.fillRect(0,0,e.width,e.height))}},getCropData(t){this.getCropChecked((e=>{t(e.toDataURL("image/"+this.outputType,this.outputSize))}))},getCropBlob(t){this.getCropChecked((e=>{e.toBlob((e=>t(e)),"image/"+this.outputType,this.outputSize)}))},showPreview(){if(!this.isCanShow)return!1;this.isCanShow=!1,setTimeout((()=>{this.isCanShow=!0}),16);let t=this.cropW,e=this.cropH,i=this.scale;var s={};s.div={width:`${t}px`,height:`${e}px`};let o=(this.x-this.cropOffsertX)/i,h=(this.y-this.cropOffsertY)/i;s.w=t,s.h=e,s.url=this.imgs,s.img={width:`${this.trueWidth}px`,height:`${this.trueHeight}px`,transform:`scale(${i})translate3d(${o}px, ${h}px, 0px)rotateZ(${90*this.rotate}deg)`},s.html=`\n <div class="show-preview" style="width: ${s.w}px; height: ${s.h}px; overflow: hidden">\n <div style="width: ${t}px; height: ${e}px">\n <img src=${s.url} style="width: ${this.trueWidth}px; height: ${this.trueHeight}px; transform:\n scale(${i})translate3d(${o}px, ${h}px, 0px)rotateZ(${90*this.rotate}deg)">\n </div>\n </div>`,this.$emit("realTime",s),this.$emit("real-time",s)},reload(){let t=new Image;t.onload=()=>{this.w=parseFloat(window.getComputedStyle(this.$refs.cropper).width),this.h=parseFloat(window.getComputedStyle(this.$refs.cropper).height),this.trueWidth=t.width,this.trueHeight=t.height,this.original?this.scale=1:this.scale=this.checkedMode(),this.$nextTick((()=>{this.x=-(this.trueWidth-this.trueWidth*this.scale)/2+(this.w-this.trueWidth*this.scale)/2,this.y=-(this.trueHeight-this.trueHeight*this.scale)/2+(this.h-this.trueHeight*this.scale)/2,this.loading=!1,this.autoCrop&&this.goAutoCrop(),this.$emit("img-load","success"),this.$emit("imgLoad","success"),setTimeout((()=>{this.showPreview()}),20)}))},t.onerror=()=>{this.$emit("imgLoad","error"),this.$emit("img-load","error")},t.src=this.imgs},checkedMode(){let t=1,e=this.trueWidth,i=this.trueHeight;const s=this.mode.split(" ");switch(s[0]){case"contain":this.trueWidth>this.w&&(t=this.w/this.trueWidth),this.trueHeight*t>this.h&&(t=this.h/this.trueHeight);break;case"cover":e=this.w,t=e/this.trueWidth,i*=t,i<this.h&&(i=this.h,t=i/this.trueHeight);break;default:try{let o=s[0];if(-1!==o.search("px")){o=o.replace("px",""),e=parseFloat(o);const h=e/this.trueWidth;let r=1,a=s[1];-1!==a.search("px")&&(a=a.replace("px",""),i=parseFloat(a),r=i/this.trueHeight),t=Math.min(h,r)}if(-1!==o.search("%")&&(o=o.replace("%",""),e=parseFloat(o)/100*this.w,t=e/this.trueWidth),2===s.length&&"auto"===o){let e=s[1];-1!==e.search("px")&&(e=e.replace("px",""),i=parseFloat(e),t=i/this.trueHeight),-1!==e.search("%")&&(e=e.replace("%",""),i=parseFloat(e)/100*this.h,t=i/this.trueHeight)}}catch(o){t=1}}return t},goAutoCrop(t,e){if(""===this.imgs||null===this.imgs)return;this.clearCrop(),this.cropping=!0;let i=this.w,s=this.h;if(this.centerBox){const t=Math.abs(this.rotate)%2>0;let e=(t?this.trueHeight:this.trueWidth)*this.scale,o=(t?this.trueWidth:this.trueHeight)*this.scale;i=e<i?e:i,s=o<s?o:s}var o=t||parseFloat(this.autoCropWidth),h=e||parseFloat(this.autoCropHeight);0!==o&&0!==h||(o=.8*i,h=.8*s),o=o>i?i:o,h=h>s?s:h,this.fixed&&(h=o/this.fixedNumber[0]*this.fixedNumber[1]),h>this.h&&(o=(h=this.h)/this.fixedNumber[1]*this.fixedNumber[0]),this.changeCrop(o,h)},changeCrop(t,e){if(this.centerBox){let i=this.getImgAxis();t>i.x2-i.x1&&(e=(t=i.x2-i.x1)/this.fixedNumber[0]*this.fixedNumber[1]),e>i.y2-i.y1&&(t=(e=i.y2-i.y1)/this.fixedNumber[1]*this.fixedNumber[0])}this.cropW=t,this.cropH=e,this.checkCropLimitSize(),this.$nextTick((()=>{this.cropOffsertX=(this.w-this.cropW)/2,this.cropOffsertY=(this.h-this.cropH)/2,this.centerBox&&this.moveCrop(null,!0)}))},refresh(){this.img,this.imgs="",this.scale=1,this.crop=!1,this.rotate=0,this.w=0,this.h=0,this.trueWidth=0,this.trueHeight=0,this.clearCrop(),this.$nextTick((()=>{this.checkedImg()}))},rotateLeft(){this.rotate=this.rotate<=-3?0:this.rotate-1},rotateRight(){this.rotate=this.rotate>=3?0:this.rotate+1},rotateClear(){this.rotate=0},checkoutImgAxis(t,e,i){t=t||this.x,e=e||this.y,i=i||this.scale;let s=!0;if(this.centerBox){let o=this.getImgAxis(t,e,i),h=this.getCropAxis();o.x1>=h.x1&&(s=!1),o.x2<=h.x2&&(s=!1),o.y1>=h.y1&&(s=!1),o.y2<=h.y2&&(s=!1),s||this.changeImgScale(o,h,i)}return s},changeImgScale(t,e,i){let s=this.trueWidth,o=this.trueHeight,h=s*i,r=o*i;if(h>=this.cropW&&r>=this.cropH)this.scale=i;else{const t=this.cropW/s,e=this.cropH/o,i=this.cropH<=o*t?t:e;this.scale=i,h=s*i,r=o*i}this.imgIsQqualCrop||(t.x1>=e.x1&&(this.isRotateRightOrLeft?this.x=e.x1-(s-h)/2-(h-r)/2:this.x=e.x1-(s-h)/2),t.x2<=e.x2&&(this.isRotateRightOrLeft?this.x=e.x1-(s-h)/2-(h-r)/2-r+this.cropW:this.x=e.x2-(s-h)/2-h),t.y1>=e.y1&&(this.isRotateRightOrLeft?this.y=e.y1-(o-r)/2-(r-h)/2:this.y=e.y1-(o-r)/2),t.y2<=e.y2&&(this.isRotateRightOrLeft?this.y=e.y2-(o-r)/2-(r-h)/2-h:this.y=e.y2-(o-r)/2-r)),(h<this.cropW||r<this.cropH)&&(this.imgIsQqualCrop=!0)}},mounted(){this.support="onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";let t=this;var e=navigator.userAgent;this.isIOS=!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),HTMLCanvasElement.prototype.toBlob||Object.defineProperty(HTMLCanvasElement.prototype,"toBlob",{value:function(e,i,s){for(var o=atob(this.toDataURL(i,s).split(",")[1]),h=o.length,r=new Uint8Array(h),a=0;a<h;a++)r[a]=o.charCodeAt(a);e(new Blob([r],{type:t.type||"image/png"}))}}),this.showPreview(),this.checkedImg()},destroyed(){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.cancelScale()}},o={key:0,class:"cropper-box"},h=["src"],r={class:"cropper-view-box"},a=["src"],c={key:1};const n=e._export_sfc(s,[["render",function(e,i,s,n,p,l){return t.openBlock(),t.createElementBlock("div",{class:"vue-cropper",ref:"cropper",onMouseover:i[28]||(i[28]=(...t)=>l.scaleImg&&l.scaleImg(...t)),onMouseout:i[29]||(i[29]=(...t)=>l.cancelScale&&l.cancelScale(...t))},[e.imgs?(t.openBlock(),t.createElementBlock("div",o,[t.withDirectives(t.createElementVNode("div",{class:"cropper-box-canvas",style:t.normalizeStyle({width:e.trueWidth+"px",height:e.trueHeight+"px",transform:"scale("+e.scale+","+e.scale+") translate3d("+e.x/e.scale+"px,"+e.y/e.scale+"px,0)rotateZ("+90*e.rotate+"deg)"})},[t.createElementVNode("img",{src:e.imgs,alt:"cropper-img",ref:"cropperImg"},null,8,h)],4),[[t.vShow,!e.loading]])])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["cropper-drag-box",{"cropper-move":e.move&&!e.crop,"cropper-crop":e.crop,"cropper-modal":e.cropping}]),onMousedown:i[0]||(i[0]=(...t)=>l.startMove&&l.startMove(...t)),onTouchstart:i[1]||(i[1]=(...t)=>l.startMove&&l.startMove(...t))},null,34),t.withDirectives(t.createElementVNode("div",{class:"cropper-crop-box",style:t.normalizeStyle({width:e.cropW+"px",height:e.cropH+"px",transform:"translate3d("+e.cropOffsertX+"px,"+e.cropOffsertY+"px,0)"})},[t.createElementVNode("span",r,[t.createElementVNode("img",{style:t.normalizeStyle({width:e.trueWidth+"px",height:e.trueHeight+"px",transform:"scale("+e.scale+","+e.scale+") translate3d("+(e.x-e.cropOffsertX)/e.scale+"px,"+(e.y-e.cropOffsertY)/e.scale+"px,0)rotateZ("+90*e.rotate+"deg)"}),src:e.imgs,alt:"cropper-img"},null,12,a)]),t.createElementVNode("span",{class:"cropper-face cropper-move",onMousedown:i[2]||(i[2]=(...t)=>l.cropMove&&l.cropMove(...t)),onTouchstart:i[3]||(i[3]=(...t)=>l.cropMove&&l.cropMove(...t))},null,32),s.info?(t.openBlock(),t.createElementBlock("span",{key:0,class:"crop-info",style:t.normalizeStyle({top:l.cropInfo.top})},t.toDisplayString(l.cropInfo.width)+" × "+t.toDisplayString(l.cropInfo.height),5)):t.createCommentVNode("",!0),s.fixedBox?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",c,[t.createElementVNode("span",{class:"crop-line line-w",onMousedown:i[4]||(i[4]=t=>l.changeCropSize(t,!1,!0,0,1)),onTouchstart:i[5]||(i[5]=t=>l.changeCropSize(t,!1,!0,0,1))},null,32),t.createElementVNode("span",{class:"crop-line line-a",onMousedown:i[6]||(i[6]=t=>l.changeCropSize(t,!0,!1,1,0)),onTouchstart:i[7]||(i[7]=t=>l.changeCropSize(t,!0,!1,1,0))},null,32),t.createElementVNode("span",{class:"crop-line line-s",onMousedown:i[8]||(i[8]=t=>l.changeCropSize(t,!1,!0,0,2)),onTouchstart:i[9]||(i[9]=t=>l.changeCropSize(t,!1,!0,0,2))},null,32),t.createElementVNode("span",{class:"crop-line line-d",onMousedown:i[10]||(i[10]=t=>l.changeCropSize(t,!0,!1,2,0)),onTouchstart:i[11]||(i[11]=t=>l.changeCropSize(t,!0,!1,2,0))},null,32),t.createElementVNode("span",{class:"crop-point point1",onMousedown:i[12]||(i[12]=t=>l.changeCropSize(t,!0,!0,1,1)),onTouchstart:i[13]||(i[13]=t=>l.changeCropSize(t,!0,!0,1,1))},null,32),t.createElementVNode("span",{class:"crop-point point2",onMousedown:i[14]||(i[14]=t=>l.changeCropSize(t,!1,!0,0,1)),onTouchstart:i[15]||(i[15]=t=>l.changeCropSize(t,!1,!0,0,1))},null,32),t.createElementVNode("span",{class:"crop-point point3",onMousedown:i[16]||(i[16]=t=>l.changeCropSize(t,!0,!0,2,1)),onTouchstart:i[17]||(i[17]=t=>l.changeCropSize(t,!0,!0,2,1))},null,32),t.createElementVNode("span",{class:"crop-point point4",onMousedown:i[18]||(i[18]=t=>l.changeCropSize(t,!0,!1,1,0)),onTouchstart:i[19]||(i[19]=t=>l.changeCropSize(t,!0,!1,1,0))},null,32),t.createElementVNode("span",{class:"crop-point point5",onMousedown:i[20]||(i[20]=t=>l.changeCropSize(t,!0,!1,2,0)),onTouchstart:i[21]||(i[21]=t=>l.changeCropSize(t,!0,!1,2,0))},null,32),t.createElementVNode("span",{class:"crop-point point6",onMousedown:i[22]||(i[22]=t=>l.changeCropSize(t,!0,!0,1,2)),onTouchstart:i[23]||(i[23]=t=>l.changeCropSize(t,!0,!0,1,2))},null,32),t.createElementVNode("span",{class:"crop-point point7",onMousedown:i[24]||(i[24]=t=>l.changeCropSize(t,!1,!0,0,2)),onTouchstart:i[25]||(i[25]=t=>l.changeCropSize(t,!1,!0,0,2))},null,32),t.createElementVNode("span",{class:"crop-point point8",onMousedown:i[26]||(i[26]=t=>l.changeCropSize(t,!0,!0,2,2)),onTouchstart:i[27]||(i[27]=t=>l.changeCropSize(t,!0,!0,2,2))},null,32)]))],4),[[t.vShow,e.cropping]])],544)}],["__scopeId","data-v-8e42ffcf"]]),p={class:"h-full"},l={class:"avatar-upload-preview"},d=["src"],u=t.defineComponent({name:"cropper"}),g=t.defineComponent({...u,props:{avatar:{default:""},close:{type:Function,default:close},proxyId:{default:""}},setup(i){const{postSinglefile:s,postUpdateFile:o}=e.useFileController(),h=i;let r=t.ref({});t.onMounted((async()=>{r.value=await e.systemStore.get("userInfo")}));let{avatar:a}=t.toRefs(h);const c=t.reactive({img:"",autoCrop:!0,autoCropWidth:200,autoCropHeight:200,fixedBox:!1,outputSize:.5,outputType:"jpeg",canScale:!1,fixed:!1,fixedNumber:[1,1],full:!0,canMoveBox:!1,original:!1,centerBox:!1,infoTrue:!0,filename:""}),u=t.ref({}),g=t.ref({});t.ref(!1);let f=t=>{"left"==t&&g.value.rotateLeft(),"right"==t&&g.value.rotateRight()},m=t=>{const e=t||1;g.value.changeScale(e)},w=()=>{g.value.refresh()};const v=t=>{u.value=t};let x=()=>{},C=t=>{if(!["image/png","image/jpg","image/jpeg","image/PNG","image/JPG","image/JPEG","image/gif"].includes(t.type))return e.ElMessage.error("图片格式有误,请重新上传"),!1;{const e=new FileReader;e.readAsDataURL(t),e.onload=()=>{c.img=e.result,c.filename=t.name}}},y=()=>{c.img||e.ElMessage.warning("请先选择图片"),g.value.getCropBlob((async t=>{const e=await s({data:{file:t},proxy:h.proxyId}),i=await o({data:{id:r.value.id,attchIdArrStr:e.data.id,attachType:2},proxy:h.proxyId});h.close(i)}))};return t.onMounted((()=>{setTimeout((()=>{c.img=a.value}),100)})),(e,i)=>{const s=t.resolveComponent("el-col"),o=t.resolveComponent("el-row"),h=t.resolveComponent("bc-icon"),r=t.resolveComponent("el-button"),a=t.resolveComponent("hs-upload");return t.openBlock(),t.createElementBlock("div",p,[t.createVNode(o,null,{default:t.withCtx((()=>[t.createVNode(s,{xs:24,md:13,style:{height:"350px"}},{default:t.withCtx((()=>[t.createVNode(n,{ref_key:"cropperRef",ref:g,img:c.img,info:!0,infoTrue:c.infoTrue,"auto-crop":c.autoCrop,"fixed-box":c.fixedBox,fixedNumber:c.fixedNumber,fixed:c.fixed,centerBox:c.centerBox,outputType:"png",onRealTime:v},null,8,["img","infoTrue","auto-crop","fixed-box","fixedNumber","fixed","centerBox"])])),_:1}),t.createVNode(s,{xs:24,md:11,style:{height:"350px"}},{default:t.withCtx((()=>[t.createElementVNode("div",l,[t.createElementVNode("img",{src:u.value.url,style:t.normalizeStyle(u.value.img)},null,12,d)])])),_:1})])),_:1}),t.createVNode(o,{class:"ptb2 py-3"},{default:t.withCtx((()=>[t.createVNode(s,{lg:2,md:2},{default:t.withCtx((()=>[t.createVNode(a,{action:"#","http-request":t.unref(x),"show-file-list":!1,"before-upload":t.unref(C),accept:"image/*"},{default:t.withCtx((()=>[t.createVNode(r,{size:"default"},{default:t.withCtx((()=>[i[6]||(i[6]=t.createTextVNode(" 选择 ")),t.createVNode(h,{name:"ele-UploadFilled"})])),_:1,__:[6]})])),_:1},8,["http-request","before-upload"])])),_:1}),t.createVNode(s,{lg:{span:1,offset:1},md:2},{default:t.withCtx((()=>[t.createVNode(r,{size:"default",icon:"ele-Plus",onClick:i[0]||(i[0]=e=>t.unref(m)(1))})])),_:1}),t.createVNode(s,{lg:{span:1,offset:1},md:2},{default:t.withCtx((()=>[t.createVNode(r,{size:"default",icon:"ele-Minus",onClick:i[1]||(i[1]=e=>t.unref(m)(-1))})])),_:1}),t.createVNode(s,{lg:{span:1,offset:1},md:2},{default:t.withCtx((()=>[t.createVNode(r,{size:"default",icon:"ele-RefreshLeft",onClick:i[2]||(i[2]=e=>t.unref(f)("left"))})])),_:1}),t.createVNode(s,{lg:{span:1,offset:1},md:2},{default:t.withCtx((()=>[t.createVNode(r,{size:"default",icon:"ele-RefreshRight",onClick:i[3]||(i[3]=e=>t.unref(f)("right"))})])),_:1}),t.createVNode(s,{lg:{span:1,offset:1},md:2},{default:t.withCtx((()=>[t.createVNode(r,{size:"default",onClick:i[4]||(i[4]=e=>t.unref(w)())},{default:t.withCtx((()=>i[7]||(i[7]=[t.createTextVNode("重 置")]))),_:1,__:[7]})])),_:1}),t.createVNode(s,{lg:{span:1,offset:7},md:2},{default:t.withCtx((()=>[t.createVNode(r,{size:"default",type:"primary",onClick:i[5]||(i[5]=e=>t.unref(y)())},{default:t.withCtx((()=>i[8]||(i[8]=[t.createTextVNode("提 交")]))),_:1,__:[8]})])),_:1})])),_:1})])}}}),f=e._export_sfc(g,[["__scopeId","data-v-730d1d41"]]);exports.default=f;
Binary file
@@ -0,0 +1,22 @@
1
+ import { r as request } from "./index-CaroRQE3.mjs";
2
+ const assign = (params, title) => {
3
+ return Object.assign(params, { title });
4
+ };
5
+ const getApiDocs = (params = {}) => {
6
+ let proxy = params.proxy ? "/" + params.proxy : "";
7
+ delete params.proxy;
8
+ params = assign(params, "后台api获取接口");
9
+ return request({
10
+ url: proxy ? proxy + "/v3/api-docs" : "/scmp-web/v3/api-docs",
11
+ method: "get",
12
+ params
13
+ });
14
+ };
15
+ function usePostMan() {
16
+ return {
17
+ getApiDocs
18
+ };
19
+ }
20
+ export {
21
+ usePostMan as u
22
+ };
@@ -0,0 +1,30 @@
1
+ import { defineComponent, defineAsyncComponent, computed, createElementBlock, openBlock, createVNode, createBlock, createCommentVNode, unref } from "vue";
2
+ import { storeToRefs } from "pinia";
3
+ import { a as useThemeConfig, _ as _export_sfc } from "./index-CaroRQE3.mjs";
4
+ const _hoisted_1 = { class: "layout-navbars-container" };
5
+ const __default__ = defineComponent({
6
+ name: "layoutNavBars"
7
+ });
8
+ const _sfc_main = /* @__PURE__ */ defineComponent({
9
+ ...__default__,
10
+ setup(__props) {
11
+ const BreadcrumbIndex = defineAsyncComponent(() => import("./index-DXyhVGaL.mjs"));
12
+ const TagsView = defineAsyncComponent(() => import("./tagsView-BQQMtEO2.mjs"));
13
+ const storesThemeConfig = useThemeConfig();
14
+ const { themeConfig } = storeToRefs(storesThemeConfig);
15
+ const setShowTagsView = computed(() => {
16
+ let { layout, isTagsview } = themeConfig.value;
17
+ return layout !== "classic" && isTagsview;
18
+ });
19
+ return (_ctx, _cache) => {
20
+ return openBlock(), createElementBlock("div", _hoisted_1, [
21
+ createVNode(unref(BreadcrumbIndex)),
22
+ setShowTagsView.value ? (openBlock(), createBlock(unref(TagsView), { key: 0 })) : createCommentVNode("", true)
23
+ ]);
24
+ };
25
+ }
26
+ });
27
+ const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6cf86195"]]);
28
+ export {
29
+ index as default
30
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("vue-router"),n=require("pinia"),r=require("./index-Be14owUC.js"),s={class:"layout-navbars-breadcrumb-index"},o=e.defineComponent({name:"layoutBreadcrumbIndex"}),i=e.defineComponent({...o,setup(o){const i=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./user-Dv0yBcpt.js"))))),u=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./index--90UOcEE.js"))))),l=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./horizontal-CLwlN8o9.js"))))),a=r.useRoutesList(),c=r.useThemeConfig(),{themeConfig:d}=n.storeToRefs(c),{routesList:m}=n.storeToRefs(a),p=t.useRoute(),v=e.reactive({menuList:[]}),h=e.computed((()=>{let{isShowLogo:e,layout:t}=d.value;return e&&"classic"===t||e&&"transverse"===t})),f=e.computed((()=>{let{layout:e,isClassicSplitMenu:t}=d.value;return"transverse"===e||t&&"classic"===e})),C=e=>e.filter((e=>{var t;return!(null==(t=e.meta)?void 0:t.isHide)})).map((e=>((e=Object.assign({},e)).children&&(e.children=C(e.children)),e))),y=()=>{let{layout:e,isClassicSplitMenu:t}=d.value;if("classic"===e&&t){v.menuList=((n=C(m.value)).map((e=>{e.children&&delete e.children})),n);const e=(e=>{const t=e.split("/");let n={children:[]};return C(m.value).map(((e,r)=>{e.path===`/${t[1]}`&&(e.k=r,n.item={...e},n.children=[{...e}],e.children&&(n.children=e.children))})),n})(p.path);r.mittBus.emit("setSendClassicChildren",e)}else v.menuList=C(m.value);var n};return e.onMounted((()=>{y(),r.mittBus.on("getBreadcrumbIndexSetFilterRoutes",(()=>{y()}))})),e.onUnmounted((()=>{r.mittBus.off("getBreadcrumbIndexSetFilterRoutes",(()=>{}))})),(t,n)=>(e.openBlock(),e.createElementBlock("div",s,[h.value?(e.openBlock(),e.createBlock(e.unref(u),{key:0})):e.createCommentVNode("",!0),f.value?(e.openBlock(),e.createBlock(e.unref(l),{key:1,menuList:v.menuList},null,8,["menuList"])):e.createCommentVNode("",!0),e.createVNode(e.unref(i))]))}}),u=r._export_sfc(i,[["__scopeId","data-v-2b0636d3"]]);exports.default=u;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("vue-router"),o=require("./index-Be14owUC.js"),r={class:"system-menu-container layout-padding"},l={class:"h-full overflow-auto bg-white pl-3"},n={key:0,class:"my-4 title"},a={class:"flex flex-wrap gap-2"},c=["onClick"],i=e.defineComponent({name:"home"}),m=e.defineComponent({...i,setup(i){o.fixedNumAccuracy("0");const m=o.useRoutesList(),s=t.useRouter(),u=e.computed((()=>m.routesList.map((e=>(e.color=function(){const e=Math.floor(256*Math.random()*.9),t=Math.floor(256*Math.random()*.9),o=Math.floor(256*Math.random()*.9);return{"--color-item":`rgba(${e},${t},${o},1)`,"--bg-item":`rgba(${e},${t},${o},0.1)`}}(),e)))));return(t,o)=>{const i=e.resolveComponent("bc-icon");return e.openBlock(),e.createElementBlock("div",r,[e.createElementVNode("div",l,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,(t=>{var o;return e.openBlock(),e.createElementBlock("div",{key:t.name,class:"wraper",style:e.normalizeStyle(t.color)},["/home"!==t.path?(e.openBlock(),e.createElementBlock("div",n,e.toDisplayString(null==(o=t.meta)?void 0:o.title),1)):e.createCommentVNode("",!0),e.createElementVNode("div",a,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.children,(t=>{var o,r;return e.openBlock(),e.createElementBlock("p",{key:t.nmae,class:"item",onClick:o=>e.unref(s).push(`${t.path}?mid=${t.id}`)},[e.createVNode(i,{name:null==(o=t.meta)?void 0:o.icon},null,8,["name"]),e.createTextVNode(" "+e.toDisplayString(null==(r=t.meta)?void 0:r.title),1)],8,c)})),128))])],4)})),128))])])}}}),s=o._export_sfc(m,[["__scopeId","data-v-eb1b795e"]]);exports.default=s;
@@ -0,0 +1,262 @@
1
+ import { defineComponent, defineAsyncComponent, ref, reactive, onMounted, resolveComponent, resolveDirective, createElementBlock, openBlock, createVNode, withCtx, createElementVNode, withDirectives, createTextVNode, createBlock, toDisplayString, unref } from "vue";
2
+ import { E as ElMessageBox, b as ElMessage } from "./index-CaroRQE3.mjs";
3
+ const _hoisted_1 = { class: "system-dept-container layout-padding" };
4
+ const _hoisted_2 = { class: "system-dept-search mb15" };
5
+ const __default__ = defineComponent({
6
+ name: "systemDept"
7
+ });
8
+ const _sfc_main = /* @__PURE__ */ defineComponent({
9
+ ...__default__,
10
+ setup(__props) {
11
+ const DeptDialog = defineAsyncComponent(() => import("./dialog-BpY5TPcI.mjs"));
12
+ const deptDialogRef = ref();
13
+ const state = reactive({
14
+ tableData: {
15
+ data: [],
16
+ total: 0,
17
+ loading: false,
18
+ param: {
19
+ pageNum: 1,
20
+ pageSize: 10
21
+ }
22
+ }
23
+ });
24
+ const getTableData = () => {
25
+ state.tableData.loading = true;
26
+ state.tableData.data = [];
27
+ state.tableData.data.push({
28
+ deptName: "vueNextAdmin",
29
+ createTime: (/* @__PURE__ */ new Date()).toLocaleString(),
30
+ status: true,
31
+ sort: Math.random(),
32
+ describe: "顶级部门",
33
+ id: Math.random(),
34
+ children: [
35
+ {
36
+ deptName: "IT外包服务",
37
+ createTime: (/* @__PURE__ */ new Date()).toLocaleString(),
38
+ status: true,
39
+ sort: Math.random(),
40
+ describe: "总部",
41
+ id: Math.random()
42
+ },
43
+ {
44
+ deptName: "资本控股",
45
+ createTime: (/* @__PURE__ */ new Date()).toLocaleString(),
46
+ status: true,
47
+ sort: Math.random(),
48
+ describe: "分部",
49
+ id: Math.random()
50
+ }
51
+ ]
52
+ });
53
+ state.tableData.total = state.tableData.data.length;
54
+ setTimeout(() => {
55
+ state.tableData.loading = false;
56
+ }, 500);
57
+ };
58
+ const onOpenAddDept = (type) => {
59
+ deptDialogRef.value.openDialog(type);
60
+ };
61
+ const onOpenEditDept = (type, row) => {
62
+ deptDialogRef.value.openDialog(type, row);
63
+ };
64
+ const onTabelRowDel = (row) => {
65
+ ElMessageBox.confirm(`此操作将永久删除部门:${row.deptName}, 是否继续?`, "提示", {
66
+ confirmButtonText: "删除",
67
+ cancelButtonText: "取消",
68
+ type: "warning"
69
+ }).then(() => {
70
+ getTableData();
71
+ ElMessage.success("删除成功");
72
+ }).catch(() => {
73
+ });
74
+ };
75
+ onMounted(() => {
76
+ getTableData();
77
+ });
78
+ return (_ctx, _cache) => {
79
+ const _component_el_input = resolveComponent("el-input");
80
+ const _component_ele_Search = resolveComponent("ele-Search");
81
+ const _component_el_icon = resolveComponent("el-icon");
82
+ const _component_el_button = resolveComponent("el-button");
83
+ const _component_ele_FolderAdd = resolveComponent("ele-FolderAdd");
84
+ const _component_el_table_column = resolveComponent("el-table-column");
85
+ const _component_el_tag = resolveComponent("el-tag");
86
+ const _component_el_table = resolveComponent("el-table");
87
+ const _component_el_card = resolveComponent("el-card");
88
+ const _directive_loading = resolveDirective("loading");
89
+ return openBlock(), createElementBlock("div", _hoisted_1, [
90
+ createVNode(_component_el_card, {
91
+ shadow: "hover",
92
+ class: "layout-padding-auto"
93
+ }, {
94
+ default: withCtx(() => [
95
+ createElementVNode("div", _hoisted_2, [
96
+ createVNode(_component_el_input, {
97
+ size: "default",
98
+ placeholder: "请输入部门名称",
99
+ style: { "max-width": "180px" }
100
+ }),
101
+ createVNode(_component_el_button, {
102
+ size: "default",
103
+ type: "primary",
104
+ class: "ml10"
105
+ }, {
106
+ default: withCtx(() => [
107
+ createVNode(_component_el_icon, null, {
108
+ default: withCtx(() => [
109
+ createVNode(_component_ele_Search)
110
+ ]),
111
+ _: 1
112
+ }),
113
+ _cache[3] || (_cache[3] = createTextVNode(" 查询 "))
114
+ ]),
115
+ _: 1,
116
+ __: [3]
117
+ }),
118
+ createVNode(_component_el_button, {
119
+ size: "default",
120
+ type: "success",
121
+ class: "ml10",
122
+ onClick: _cache[0] || (_cache[0] = ($event) => onOpenAddDept("add"))
123
+ }, {
124
+ default: withCtx(() => [
125
+ createVNode(_component_el_icon, null, {
126
+ default: withCtx(() => [
127
+ createVNode(_component_ele_FolderAdd)
128
+ ]),
129
+ _: 1
130
+ }),
131
+ _cache[4] || (_cache[4] = createTextVNode(" 新增部门 "))
132
+ ]),
133
+ _: 1,
134
+ __: [4]
135
+ })
136
+ ]),
137
+ withDirectives((openBlock(), createBlock(_component_el_table, {
138
+ data: state.tableData.data,
139
+ style: { "width": "100%" },
140
+ "row-key": "id",
141
+ "default-expand-all": "",
142
+ "tree-props": { children: "children", hasChildren: "hasChildren" }
143
+ }, {
144
+ default: withCtx(() => [
145
+ createVNode(_component_el_table_column, {
146
+ prop: "deptName",
147
+ label: "部门名称",
148
+ "show-overflow-tooltip": ""
149
+ }),
150
+ createVNode(_component_el_table_column, {
151
+ label: "排序",
152
+ "show-overflow-tooltip": "",
153
+ width: "80"
154
+ }, {
155
+ default: withCtx((scope) => [
156
+ createTextVNode(toDisplayString(scope.$index), 1)
157
+ ]),
158
+ _: 1
159
+ }),
160
+ createVNode(_component_el_table_column, {
161
+ prop: "status",
162
+ label: "部门状态",
163
+ "show-overflow-tooltip": ""
164
+ }, {
165
+ default: withCtx((scope) => [
166
+ scope.row.status ? (openBlock(), createBlock(_component_el_tag, {
167
+ key: 0,
168
+ type: "success"
169
+ }, {
170
+ default: withCtx(() => _cache[5] || (_cache[5] = [
171
+ createTextVNode("启用")
172
+ ])),
173
+ _: 1,
174
+ __: [5]
175
+ })) : (openBlock(), createBlock(_component_el_tag, {
176
+ key: 1,
177
+ type: "info"
178
+ }, {
179
+ default: withCtx(() => _cache[6] || (_cache[6] = [
180
+ createTextVNode("禁用")
181
+ ])),
182
+ _: 1,
183
+ __: [6]
184
+ }))
185
+ ]),
186
+ _: 1
187
+ }),
188
+ createVNode(_component_el_table_column, {
189
+ prop: "describe",
190
+ label: "部门描述",
191
+ "show-overflow-tooltip": ""
192
+ }),
193
+ createVNode(_component_el_table_column, {
194
+ prop: "createTime",
195
+ label: "创建时间",
196
+ "show-overflow-tooltip": ""
197
+ }),
198
+ createVNode(_component_el_table_column, {
199
+ label: "操作",
200
+ "show-overflow-tooltip": "",
201
+ width: "140"
202
+ }, {
203
+ default: withCtx((scope) => [
204
+ createVNode(_component_el_button, {
205
+ size: "small",
206
+ text: "",
207
+ type: "primary",
208
+ onClick: _cache[1] || (_cache[1] = ($event) => onOpenAddDept("add"))
209
+ }, {
210
+ default: withCtx(() => _cache[7] || (_cache[7] = [
211
+ createTextVNode("新增")
212
+ ])),
213
+ _: 1,
214
+ __: [7]
215
+ }),
216
+ createVNode(_component_el_button, {
217
+ size: "small",
218
+ text: "",
219
+ type: "primary",
220
+ onClick: ($event) => onOpenEditDept("edit", scope.row)
221
+ }, {
222
+ default: withCtx(() => _cache[8] || (_cache[8] = [
223
+ createTextVNode("修改")
224
+ ])),
225
+ _: 2,
226
+ __: [8]
227
+ }, 1032, ["onClick"]),
228
+ createVNode(_component_el_button, {
229
+ size: "small",
230
+ text: "",
231
+ type: "primary",
232
+ onClick: ($event) => onTabelRowDel(scope.row)
233
+ }, {
234
+ default: withCtx(() => _cache[9] || (_cache[9] = [
235
+ createTextVNode("删除")
236
+ ])),
237
+ _: 2,
238
+ __: [9]
239
+ }, 1032, ["onClick"])
240
+ ]),
241
+ _: 1
242
+ })
243
+ ]),
244
+ _: 1
245
+ }, 8, ["data"])), [
246
+ [_directive_loading, state.tableData.loading]
247
+ ])
248
+ ]),
249
+ _: 1
250
+ }),
251
+ createVNode(unref(DeptDialog), {
252
+ ref_key: "deptDialogRef",
253
+ ref: deptDialogRef,
254
+ onRefresh: _cache[2] || (_cache[2] = ($event) => getTableData())
255
+ }, null, 512)
256
+ ]);
257
+ };
258
+ }
259
+ });
260
+ export {
261
+ _sfc_main as default
262
+ };