hs-admin-ui 3.3.6 → 3.3.8

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 (537) hide show
  1. package/dist/{401-D-EXnhwd.mjs → 401-DXEtyFvm.mjs} +1 -1
  2. package/dist/401-DXEtyFvm.mjs.gz +0 -0
  3. package/dist/{401-CXbUsx8P.js → 401-DyDk4_pG.js} +1 -1
  4. package/dist/401-DyDk4_pG.js.gz +0 -0
  5. package/dist/{404-FYKLU7g0.js → 404-C6oBwBGO.js} +1 -1
  6. package/dist/404-C6oBwBGO.js.gz +0 -0
  7. package/dist/{404-ChnVx8_2.mjs → 404-CuJJC9XD.mjs} +1 -1
  8. package/dist/404-CuJJC9XD.mjs.gz +0 -0
  9. package/dist/{account-CEaXLaKW.mjs → account-2-Am4Z6Q.mjs} +2 -2
  10. package/dist/account-2-Am4Z6Q.mjs.gz +0 -0
  11. package/dist/{account-BlXODRSU.js → account-BR_IpSYV.js} +1 -1
  12. package/dist/account-BR_IpSYV.js.gz +0 -0
  13. package/dist/{aside-BN0Hfkk2.js → aside-Co1xxbNZ.js} +1 -1
  14. package/dist/aside-Co1xxbNZ.js.gz +0 -0
  15. package/dist/{aside-D954HCD6.mjs → aside-tXaukQYw.mjs} +2 -2
  16. package/dist/aside-tXaukQYw.mjs.gz +0 -0
  17. package/dist/{btnIndex-fYBuXN0e.js → btnIndex-BxHmT-yj.js} +1 -1
  18. package/dist/btnIndex-BxHmT-yj.js.gz +0 -0
  19. package/dist/{btnIndex-DvTsv7JM.mjs → btnIndex-DxkKYtFu.mjs} +2 -2
  20. package/dist/btnIndex-DxkKYtFu.mjs.gz +0 -0
  21. package/dist/{classic-Fbx8G5QR.js → classic-DJEGnwBY.js} +1 -1
  22. package/dist/classic-DJEGnwBY.js.gz +0 -0
  23. package/dist/{classic-C3_fk2WY.mjs → classic-truBBkd5.mjs} +2 -2
  24. package/dist/classic-truBBkd5.mjs.gz +0 -0
  25. package/dist/{cloneConfigDialog-U-wovRb5.js → cloneConfigDialog-CgpKc--0.js} +1 -1
  26. package/dist/cloneConfigDialog-CgpKc--0.js.gz +0 -0
  27. package/dist/{cloneConfigDialog-BT9-w4v9.mjs → cloneConfigDialog-D7v0oc2r.mjs} +1 -1
  28. package/dist/cloneConfigDialog-D7v0oc2r.mjs.gz +0 -0
  29. package/dist/{columns-B3QWge9m.js → columns-CQvg_nTR.js} +1 -1
  30. package/dist/columns-CQvg_nTR.js.gz +0 -0
  31. package/dist/{columns-JyplMa8o.mjs → columns-p0Nceirm.mjs} +2 -2
  32. package/dist/columns-p0Nceirm.mjs.gz +0 -0
  33. package/dist/{columnsAside-DEIf7C5w.mjs → columnsAside-C7B1rxqM.mjs} +1 -1
  34. package/dist/columnsAside-C7B1rxqM.mjs.gz +0 -0
  35. package/dist/{columnsAside-BG02FLS_.js → columnsAside-CXp_xx9F.js} +1 -1
  36. package/dist/columnsAside-CXp_xx9F.js.gz +0 -0
  37. package/dist/{contextmenu-C2hCLF4x.js → contextmenu-BCcMFN5X.js} +1 -1
  38. package/dist/contextmenu-BCcMFN5X.js.gz +0 -0
  39. package/dist/{contextmenu-FlLNftIi.mjs → contextmenu-BUKBlyvl.mjs} +1 -1
  40. package/dist/contextmenu-BUKBlyvl.mjs.gz +0 -0
  41. package/dist/{contextmenu-Pq9XcKmk.mjs → contextmenu-CE2RGei-.mjs} +1 -1
  42. package/dist/contextmenu-CE2RGei-.mjs.gz +0 -0
  43. package/dist/{contextmenu-B0J90FNb.mjs → contextmenu-DgpcG5sm.mjs} +1 -1
  44. package/dist/contextmenu-DgpcG5sm.mjs.gz +0 -0
  45. package/dist/{contextmenu-mjgzjMvo.js → contextmenu-Doo3ipSf.js} +1 -1
  46. package/dist/contextmenu-Doo3ipSf.js.gz +0 -0
  47. package/dist/{contextmenu-D_-UOD3G.js → contextmenu-t3-hxA70.js} +1 -1
  48. package/dist/contextmenu-t3-hxA70.js.gz +0 -0
  49. package/dist/{defaults-DUqec2Hb.js → defaults-B0ZkEEM7.js} +1 -1
  50. package/dist/defaults-B0ZkEEM7.js.gz +0 -0
  51. package/dist/{defaults-C9uSKBVj.mjs → defaults-B1exp0RU.mjs} +2 -2
  52. package/dist/defaults-B1exp0RU.mjs.gz +0 -0
  53. package/dist/{dialog-BAqQ7GQU.js → dialog-C74YfHLH.js} +1 -1
  54. package/dist/{dialog-DmH4Ogph.js → dialog-CDSWwqpE.js} +1 -1
  55. package/dist/{dialog-D-kyoL9Y.js → dialog-CfLgqqey.js} +1 -1
  56. package/dist/{dialog-hMFWaaF0.mjs → dialog-DkdJTifo.mjs} +1 -1
  57. package/dist/{dialog-CH0zhaVw.mjs → dialog-DrAIODAb.mjs} +1 -1
  58. package/dist/{dialog-BujDdeF4.mjs → dialog-odOjeGd8.mjs} +1 -1
  59. package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-9m0H4BrX.js → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-C7VaewKT.js} +1 -1
  60. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-C7VaewKT.js.gz +0 -0
  61. package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-DT0Fycrh.mjs → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-CmwcI_bA.mjs} +2 -2
  62. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-CmwcI_bA.mjs.gz +0 -0
  63. package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-NmozWiqf.js → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-C0WwtluP.js} +1 -1
  64. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-C0WwtluP.js.gz +0 -0
  65. package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-rcEi6UcW.mjs → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DzpwoIO8.mjs} +2 -2
  66. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DzpwoIO8.mjs.gz +0 -0
  67. package/dist/{dictDialog-C0XJf9tv.mjs → dictDialog-CFpaepzd.mjs} +1 -1
  68. package/dist/{dictDialog-D9_Wh7Uw.js → dictDialog-Nb5SWheM.js} +1 -1
  69. package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-CaGPXUpc.mjs → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-BPaC6OaF.mjs} +2 -2
  70. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-BPaC6OaF.mjs.gz +0 -0
  71. package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-BSr7JJv8.js → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-CLkwPbwV.js} +1 -1
  72. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-CLkwPbwV.js.gz +0 -0
  73. package/dist/{dictItemDialog-tqSTRX77.js → dictItemDialog-B-WQNrlJ.js} +1 -1
  74. package/dist/{dictItemDialog-CB-VD_rN.mjs → dictItemDialog-DNYEP-yo.mjs} +1 -1
  75. package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-DYIo8vnS.mjs → dictItemDialog.vue_vue_type_script_setup_true_lang-CA7Sfvo2.mjs} +2 -2
  76. package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-CA7Sfvo2.mjs.gz +0 -0
  77. package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-RI-9U1vW.js → dictItemDialog.vue_vue_type_script_setup_true_lang-DGyQ5TSd.js} +1 -1
  78. package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-DGyQ5TSd.js.gz +0 -0
  79. package/dist/{editDialog-Dm9qWHTw.mjs → editDialog-BG66OGwm.mjs} +1 -1
  80. package/dist/editDialog-BG66OGwm.mjs.gz +0 -0
  81. package/dist/{editDialog-6loDndnj.js → editDialog-DPAAIT9C.js} +1 -1
  82. package/dist/editDialog-DPAAIT9C.js.gz +0 -0
  83. package/dist/{formConfig-Bx99Mri3.js → formConfig-BwKBLM4Z.js} +1 -1
  84. package/dist/formConfig-BwKBLM4Z.js.gz +0 -0
  85. package/dist/{formConfig-XxQoc2iE.mjs → formConfig-n55UDZ2v.mjs} +4 -4
  86. package/dist/formConfig-n55UDZ2v.mjs.gz +0 -0
  87. package/dist/{header-GsmBqxdh.mjs → header-Ce9TbopW.mjs} +2 -2
  88. package/dist/{header-BNz5DOrw.js → header-Cs5_nQwN.js} +1 -1
  89. package/dist/{horizontal-tyI6mDDH.js → horizontal-B6g51Kgt.js} +1 -1
  90. package/dist/horizontal-B6g51Kgt.js.gz +0 -0
  91. package/dist/{horizontal-DfjDQjt4.mjs → horizontal-DUlkw0wx.mjs} +2 -2
  92. package/dist/horizontal-DUlkw0wx.mjs.gz +0 -0
  93. package/dist/{hsAttrBtn-BUIwwSRm.mjs → hsAttrBtn-DPYMh1jQ.mjs} +1 -1
  94. package/dist/{hsAttrBtn-DB3wloOo.js → hsAttrBtn-DaY5eQD0.js} +1 -1
  95. package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-DJOmsDW1.js → hsAttrBtn.vue_vue_type_script_setup_true_lang-CoVTdVF_.js} +1 -1
  96. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-CoVTdVF_.js.gz +0 -0
  97. package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-ComlEA37.mjs → hsAttrBtn.vue_vue_type_script_setup_true_lang-Da7x-leb.mjs} +3 -3
  98. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-Da7x-leb.mjs.gz +0 -0
  99. package/dist/{hsAttrForm-QfjhmG0Q.js → hsAttrForm-BuHqmn54.js} +1 -1
  100. package/dist/{hsAttrForm-DasgA6LV.mjs → hsAttrForm-nEithpZs.mjs} +1 -1
  101. package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-C6ygy4IE.mjs → hsAttrForm.vue_vue_type_script_setup_true_lang-D5JRI6tz.mjs} +2 -2
  102. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-D5JRI6tz.mjs.gz +0 -0
  103. package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-CLZiXHhW.js → hsAttrForm.vue_vue_type_script_setup_true_lang-DPcCtlH0.js} +1 -1
  104. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-DPcCtlH0.js.gz +0 -0
  105. package/dist/{hsBtnConfigList-D5kEN3O9.js → hsBtnConfigList-C8URPjNe.js} +1 -1
  106. package/dist/hsBtnConfigList-C8URPjNe.js.gz +0 -0
  107. package/dist/{hsBtnConfigList-DhlFL3Iw.mjs → hsBtnConfigList-JkNGo9Ak.mjs} +1 -1
  108. package/dist/hsBtnConfigList-JkNGo9Ak.mjs.gz +0 -0
  109. package/dist/{hsBtnItemConfig-DqzhHD0n.js → hsBtnItemConfig-4-z3paST.js} +1 -1
  110. package/dist/{hsBtnItemConfig-DqC9vICU.mjs → hsBtnItemConfig-B6oEZozd.mjs} +1 -1
  111. package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-Bf1NkJ66.js → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-CV1ZUoDd.js} +1 -1
  112. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-CV1ZUoDd.js.gz +0 -0
  113. package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-C2ebXc0L.mjs → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-CwcK7TcS.mjs} +1 -1
  114. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-CwcK7TcS.mjs.gz +0 -0
  115. package/dist/{hsBtnPanel-CzJhiwlC.js → hsBtnPanel-CXpa5ahB.js} +1 -1
  116. package/dist/{hsBtnPanel-Bb1c5owS.mjs → hsBtnPanel-DJz7btl0.mjs} +1 -1
  117. package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-nIAToSWk.js → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CJ1dcImZ.js} +1 -1
  118. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CJ1dcImZ.js.gz +0 -0
  119. package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BSbZKdi2.mjs → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DU13JR6_.mjs} +4 -4
  120. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DU13JR6_.mjs.gz +0 -0
  121. package/dist/{hsExpand-CYgip95p.mjs → hsExpand-BlNfTLtG.mjs} +1 -1
  122. package/dist/{hsExpand-Z0pO_xZy.js → hsExpand-CTky7lnw.js} +1 -1
  123. package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-BodWhP2D.js → hsExpand.vue_vue_type_script_setup_true_lang-CordpVu4.js} +1 -1
  124. package/dist/hsExpand.vue_vue_type_script_setup_true_lang-CordpVu4.js.gz +0 -0
  125. package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-29AdsLbc.mjs → hsExpand.vue_vue_type_script_setup_true_lang-eaE1PdBG.mjs} +1 -1
  126. package/dist/hsExpand.vue_vue_type_script_setup_true_lang-eaE1PdBG.mjs.gz +0 -0
  127. package/dist/{hsFormConfig-CgPLTGfj.mjs → hsFormConfig-Bm7Kw-vL.mjs} +1 -1
  128. package/dist/hsFormConfig-Bm7Kw-vL.mjs.gz +0 -0
  129. package/dist/{hsFormConfig-PbhwWicP.js → hsFormConfig-D2sdLaM5.js} +1 -1
  130. package/dist/hsFormConfig-D2sdLaM5.js.gz +0 -0
  131. package/dist/{hsFormConfigList-CWHwRRQ2.mjs → hsFormConfigList-CVFiX52p.mjs} +2 -2
  132. package/dist/hsFormConfigList-CVFiX52p.mjs.gz +0 -0
  133. package/dist/{hsFormConfigList-BWR8oiEG.js → hsFormConfigList-CikaeDdd.js} +1 -1
  134. package/dist/hsFormConfigList-CikaeDdd.js.gz +0 -0
  135. package/dist/{hsFormPanel-DkLJXYqb.js → hsFormPanel-BQkpzBOE.js} +1 -1
  136. package/dist/{hsFormPanel-D1TafSNV.mjs → hsFormPanel-BgLbTo_u.mjs} +1 -1
  137. package/dist/{hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DeYRC_ua.mjs → hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-3Qv4w02f.mjs} +5 -5
  138. package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-3Qv4w02f.mjs.gz +0 -0
  139. package/dist/{hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CkpTqL_m.js → hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-6ee-NlX_.js} +1 -1
  140. package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-6ee-NlX_.js.gz +0 -0
  141. package/dist/{hsFormParse-DYOV4JN9.js → hsFormParse-DycM3THv.js} +1 -1
  142. package/dist/{hsFormParse-BNDPPeFL.mjs → hsFormParse-Fhgd8YLy.mjs} +1 -1
  143. package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-D939QmT3.mjs → hsFormParse.vue_vue_type_script_setup_true_lang-CizXlfGx.mjs} +1 -1
  144. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-CizXlfGx.mjs.gz +0 -0
  145. package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-vUojNUwj.js → hsFormParse.vue_vue_type_script_setup_true_lang-D4N65HvB.js} +1 -1
  146. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-D4N65HvB.js.gz +0 -0
  147. package/dist/{hsPanelItem-BoU3wG6l.mjs → hsPanelItem-lg_TGTc7.mjs} +1 -1
  148. package/dist/{hsPanelItem-B20AjCzF.js → hsPanelItem-ya8teUmA.js} +1 -1
  149. package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-YR5p4rpK.mjs → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-DaQHX8BQ.mjs} +1 -1
  150. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-DaQHX8BQ.mjs.gz +0 -0
  151. package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-8iUVLOGZ.js → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-DpI9JDEt.js} +1 -1
  152. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-DpI9JDEt.js.gz +0 -0
  153. package/dist/{iframes-CEeoelZf.mjs → iframes-DrvPqW3E.mjs} +1 -1
  154. package/dist/iframes-DrvPqW3E.mjs.gz +0 -0
  155. package/dist/{iframes-DVZPlVqq.js → iframes-ZTXBgqS-.js} +1 -1
  156. package/dist/iframes-ZTXBgqS-.js.gz +0 -0
  157. package/dist/{index-CMylLp55.mjs → index-4eUyR-74.mjs} +13340 -13278
  158. package/dist/index-4eUyR-74.mjs.gz +0 -0
  159. package/dist/{index-D6CClNFW.js → index-9GhAk-Uz.js} +1 -1
  160. package/dist/index-9GhAk-Uz.js.gz +0 -0
  161. package/dist/{index-DkjRqkHA.js → index-AC42LajV.js} +59 -59
  162. package/dist/index-AC42LajV.js.gz +0 -0
  163. package/dist/{index-B3IIpc2y.js → index-AQ3tL0wa.js} +1 -1
  164. package/dist/{index-W1jiA4cO.mjs → index-AbPrJOXA.mjs} +2 -2
  165. package/dist/index-AbPrJOXA.mjs.gz +0 -0
  166. package/dist/{index-BPwtVNvk.js → index-B4KvZaE2.js} +1 -1
  167. package/dist/index-B4KvZaE2.js.gz +0 -0
  168. package/dist/{index-CLSmgf9y.mjs → index-B6A5Wrqw.mjs} +2 -2
  169. package/dist/index-B6A5Wrqw.mjs.gz +0 -0
  170. package/dist/{index-rL4wQGuf.mjs → index-B8SO3r_6.mjs} +4 -4
  171. package/dist/index-B8SO3r_6.mjs.gz +0 -0
  172. package/dist/{index-B0LIuPRi.js → index-B8sW_Q-T.js} +1 -1
  173. package/dist/index-B8sW_Q-T.js.gz +0 -0
  174. package/dist/{index-DmgXvl2E.mjs → index-BIbbWuyL.mjs} +5 -5
  175. package/dist/index-BIbbWuyL.mjs.gz +0 -0
  176. package/dist/{index-DPjKJFvM.js → index-BJ4AJ6yr.js} +1 -1
  177. package/dist/{index-CbaX3wmA.js → index-BQg0LUoM.js} +1 -1
  178. package/dist/{index-C6FxG3pc.js → index-BQp5H9Yb.js} +1 -1
  179. package/dist/index-BQp5H9Yb.js.gz +0 -0
  180. package/dist/{index-E-yg5pHd.mjs → index-Bae8-lz8.mjs} +4 -4
  181. package/dist/index-Bae8-lz8.mjs.gz +0 -0
  182. package/dist/{index-CPU2yOgd.mjs → index-BbVk-gq3.mjs} +1 -1
  183. package/dist/{index-Em_1LC7a.mjs → index-BeiIahuT.mjs} +1 -1
  184. package/dist/{index-Ch9XAdvs.js → index-Bh4sBowt.js} +1 -1
  185. package/dist/{index-DWDn63u5.js → index-BlTGz4xV.js} +1 -1
  186. package/dist/{index-Cj6SoDDq.mjs → index-Bp4vKhom.mjs} +1 -1
  187. package/dist/{index-B5V_H3wX.mjs → index-BpjmEQLe.mjs} +1 -1
  188. package/dist/{index-Bt_UJYIO.js → index-BsjfwxGi.js} +1 -1
  189. package/dist/{index-DlE5frBM.mjs → index-Btt9mt-9.mjs} +2 -2
  190. package/dist/index-Btt9mt-9.mjs.gz +0 -0
  191. package/dist/{index-Ba-3_GAB.js → index-C3NgwKOd.js} +1 -1
  192. package/dist/index-C3NgwKOd.js.gz +0 -0
  193. package/dist/{index-C85746ul.mjs → index-CGK5-o9x.mjs} +2 -2
  194. package/dist/index-CGK5-o9x.mjs.gz +0 -0
  195. package/dist/{index-DPSXwpch.js → index-CGRGBIpq.js} +1 -1
  196. package/dist/index-CGRGBIpq.js.gz +0 -0
  197. package/dist/{index-pyA0uo5I.js → index-CGtIpcD3.js} +1 -1
  198. package/dist/index-CGtIpcD3.js.gz +0 -0
  199. package/dist/{index-2iwOTVue.mjs → index-CIAIAHH4.mjs} +1 -1
  200. package/dist/{index-bTLgKwP8.js → index-CKK_aKkG.js} +1 -1
  201. package/dist/index-CKK_aKkG.js.gz +0 -0
  202. package/dist/{index-CITfY7m5.mjs → index-COaezvJU.mjs} +1 -1
  203. package/dist/index-COaezvJU.mjs.gz +0 -0
  204. package/dist/{index-Bls-FD0I.mjs → index-CPiN6eQi.mjs} +2 -2
  205. package/dist/{index-TwR7Kcow.js → index-CUtlQEwG.js} +1 -1
  206. package/dist/{index-CK-ntnFm.js → index-CbnJvg3O.js} +1 -1
  207. package/dist/{index-CDauunrK.mjs → index-CfOLzo4-.mjs} +1 -1
  208. package/dist/{index-Dd5l0Cdr.js → index-CjE6xoay.js} +1 -1
  209. package/dist/index-CjE6xoay.js.gz +0 -0
  210. package/dist/{index-of0tmvXf.js → index-ClKkD503.js} +1 -1
  211. package/dist/index-ClKkD503.js.gz +0 -0
  212. package/dist/{index-DM5wy2-H.mjs → index-Co4MwQbr.mjs} +2 -2
  213. package/dist/index-Co4MwQbr.mjs.gz +0 -0
  214. package/dist/{index-JXvSp4F3.mjs → index-Crq7HDo9.mjs} +3 -3
  215. package/dist/index-Crq7HDo9.mjs.gz +0 -0
  216. package/dist/{index-BMW3JldJ.js → index-CtA2Sl4T.js} +1 -1
  217. package/dist/index-CtA2Sl4T.js.gz +0 -0
  218. package/dist/{index-D3tNVboJ.mjs → index-D0OhLBlu.mjs} +1 -1
  219. package/dist/index-D0OhLBlu.mjs.gz +0 -0
  220. package/dist/index-D1sfoVaA.mjs +4 -0
  221. package/dist/{index-3bxusWLj.js → index-D5EVowi-.js} +1 -1
  222. package/dist/index-D5EVowi-.js.gz +0 -0
  223. package/dist/{index-SkVS7f-W.js → index-D6zkmoXL.js} +1 -1
  224. package/dist/{index-BsVUsWGA.mjs → index-DCqW1k4p.mjs} +1 -1
  225. package/dist/{index-B96HOYK0.js → index-DGPiVvtd.js} +1 -1
  226. package/dist/{index-CYivI-Ud.mjs → index-DGpIR002.mjs} +1 -1
  227. package/dist/index-DGpIR002.mjs.gz +0 -0
  228. package/dist/{index-D-P1Q1Wo.mjs → index-DLLKb-bd.mjs} +1 -1
  229. package/dist/index-DLLKb-bd.mjs.gz +0 -0
  230. package/dist/{index-3Gfa_jME.js → index-DOus81hm.js} +1 -1
  231. package/dist/{index-B1kGbqqE.js → index-DUfj9xjA.js} +1 -1
  232. package/dist/index-DUfj9xjA.js.gz +0 -0
  233. package/dist/{index-DuZv0Br_.mjs → index-DUtswToM.mjs} +2 -2
  234. package/dist/index-DUtswToM.mjs.gz +0 -0
  235. package/dist/{index-BeY287Ea.js → index-DazPm5f2.js} +1 -1
  236. package/dist/index-DazPm5f2.js.gz +0 -0
  237. package/dist/{index-CsDwMwAh.mjs → index-DbUyIJpC.mjs} +1 -1
  238. package/dist/index-DbUyIJpC.mjs.gz +0 -0
  239. package/dist/{index-Catt1a8c.js → index-Ddh4lcqQ.js} +1 -1
  240. package/dist/{index-C28L2l_5.mjs → index-DeREI3Oz.mjs} +1 -1
  241. package/dist/{index-CBqAx-ML.js → index-DjAfk4h-.js} +1 -1
  242. package/dist/index-DjAfk4h-.js.gz +0 -0
  243. package/dist/{index-BD3iUuvs.mjs → index-DjtMmOIN.mjs} +1 -1
  244. package/dist/{index-DPJoylN8.js → index-Dr1lFIpf.js} +1 -1
  245. package/dist/index-Dr1lFIpf.js.gz +0 -0
  246. package/dist/{index-Sq-xW4rX.mjs → index-DtmvCO3Z.mjs} +1 -1
  247. package/dist/index-DtmvCO3Z.mjs.gz +0 -0
  248. package/dist/{index-NlgFlfJY.mjs → index-DuLDNzH2.mjs} +1 -1
  249. package/dist/{index-DVFauYqt.js → index-DubSaJ0j.js} +1 -1
  250. package/dist/{index-CMdhdegb.js → index-Dwa8OjGR.js} +1 -1
  251. package/dist/index-Dwa8OjGR.js.gz +0 -0
  252. package/dist/{index-Dj5D85La.mjs → index-DxoxntVV.mjs} +3 -3
  253. package/dist/index-DxoxntVV.mjs.gz +0 -0
  254. package/dist/{index-CsnEg5OR.mjs → index-Lb8WelRE.mjs} +2 -2
  255. package/dist/index-Lb8WelRE.mjs.gz +0 -0
  256. package/dist/{index-D1eQpZ4Z.js → index-OvjpCrFq.js} +1 -1
  257. package/dist/index-OvjpCrFq.js.gz +0 -0
  258. package/dist/{index-B2A22eRF.mjs → index-QH9sAdQ-.mjs} +2 -2
  259. package/dist/index-QH9sAdQ-.mjs.gz +0 -0
  260. package/dist/{index-BVc3lnx_.js → index-UuztVJ-k.js} +1 -1
  261. package/dist/index-UuztVJ-k.js.gz +0 -0
  262. package/dist/{index-DARJFxsE.js → index-bO8Wfik-.js} +1 -1
  263. package/dist/index-bO8Wfik-.js.gz +0 -0
  264. package/dist/{index-BHLqpSBB.js → index-euTr2Bwx.js} +1 -1
  265. package/dist/index-euTr2Bwx.js.gz +0 -0
  266. package/dist/{index-BetZd8OQ.mjs → index-jqqxk5YV.mjs} +1 -1
  267. package/dist/{index-tp551wpI.mjs → index-xlqXlKW3.mjs} +1 -1
  268. package/dist/index-xlqXlKW3.mjs.gz +0 -0
  269. package/dist/{index-CmzGxv5a.mjs → index-xve0PuJB.mjs} +1 -1
  270. package/dist/index-xve0PuJB.mjs.gz +0 -0
  271. package/dist/index.js +1 -1
  272. package/dist/index.mjs +1 -1
  273. package/dist/{index.vue_vue_type_script_setup_true_lang-B3pMd-l2.mjs → index.vue_vue_type_script_setup_true_lang-BIb7rAdl.mjs} +1 -1
  274. package/dist/index.vue_vue_type_script_setup_true_lang-BIb7rAdl.mjs.gz +0 -0
  275. package/dist/{index.vue_vue_type_script_setup_true_lang-DUqI1qlf.mjs → index.vue_vue_type_script_setup_true_lang-BIlGSr32.mjs} +1 -1
  276. package/dist/index.vue_vue_type_script_setup_true_lang-BIlGSr32.mjs.gz +0 -0
  277. package/dist/{index.vue_vue_type_script_setup_true_lang-cAzygUuG.js → index.vue_vue_type_script_setup_true_lang-C-kV7y97.js} +1 -1
  278. package/dist/{index.vue_vue_type_script_setup_true_lang-CfeK2qr_.js → index.vue_vue_type_script_setup_true_lang-CWY4Tx2l.js} +1 -1
  279. package/dist/index.vue_vue_type_script_setup_true_lang-CWY4Tx2l.js.gz +0 -0
  280. package/dist/{index.vue_vue_type_script_setup_true_lang-BKJTeuhr.mjs → index.vue_vue_type_script_setup_true_lang-CZuvLvhm.mjs} +1 -1
  281. package/dist/index.vue_vue_type_script_setup_true_lang-CZuvLvhm.mjs.gz +0 -0
  282. package/dist/{index.vue_vue_type_script_setup_true_lang-C49QN7LN.mjs → index.vue_vue_type_script_setup_true_lang-Cb1KsYSt.mjs} +4 -4
  283. package/dist/index.vue_vue_type_script_setup_true_lang-Cb1KsYSt.mjs.gz +0 -0
  284. package/dist/{index.vue_vue_type_script_setup_true_lang-B-znBdvL.js → index.vue_vue_type_script_setup_true_lang-Dp5Ml8Tq.js} +1 -1
  285. package/dist/index.vue_vue_type_script_setup_true_lang-Dp5Ml8Tq.js.gz +0 -0
  286. package/dist/{index.vue_vue_type_script_setup_true_lang-cIqLY3cz.js → index.vue_vue_type_script_setup_true_lang-ULHN_8pm.js} +1 -1
  287. package/dist/index.vue_vue_type_script_setup_true_lang-ULHN_8pm.js.gz +0 -0
  288. package/dist/{index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-DlB-4VQj.mjs → index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-Cp6GiPNE.mjs} +2 -2
  289. package/dist/index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-Cp6GiPNE.mjs.gz +0 -0
  290. package/dist/{index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-DR-wMUcz.js → index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-FCfzcVu7.js} +1 -1
  291. package/dist/index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-FCfzcVu7.js.gz +0 -0
  292. package/dist/{link-C_yrJ9cD.mjs → link-76sTDhbQ.mjs} +1 -1
  293. package/dist/link-76sTDhbQ.mjs.gz +0 -0
  294. package/dist/{link-Dx7bnXH_.js → link-BuDZ8E0J.js} +1 -1
  295. package/dist/link-BuDZ8E0J.js.gz +0 -0
  296. package/dist/{list-12vY_aPL.js → list-Cm2rZPsI.js} +1 -1
  297. package/dist/list-Cm2rZPsI.js.gz +0 -0
  298. package/dist/{list-ml7a1pz_.mjs → list-HPIDQuiX.mjs} +1 -1
  299. package/dist/list-HPIDQuiX.mjs.gz +0 -0
  300. package/dist/{main-BkcTHBFj.mjs → main-DC1fZke8.mjs} +2 -2
  301. package/dist/main-DC1fZke8.mjs.gz +0 -0
  302. package/dist/{main-GWOx3lnY.js → main-R032Oja6.js} +1 -1
  303. package/dist/main-R032Oja6.js.gz +0 -0
  304. package/dist/{mobile-DmQN8lYX.js → mobile-7JKX3q1r.js} +1 -1
  305. package/dist/mobile-7JKX3q1r.js.gz +0 -0
  306. package/dist/{mobile-fw7i9o_H.mjs → mobile-D080b2KO.mjs} +1 -1
  307. package/dist/mobile-D080b2KO.mjs.gz +0 -0
  308. package/dist/{parent-DjhQY-V9.js → parent-DOnEacQA.js} +1 -1
  309. package/dist/parent-DOnEacQA.js.gz +0 -0
  310. package/dist/{parent-Cch_uRMT.mjs → parent-DbFYyqh3.mjs} +2 -2
  311. package/dist/parent-DbFYyqh3.mjs.gz +0 -0
  312. package/dist/{roleItem-GtiVwHGz.js → roleItem-6326z2e7.js} +1 -1
  313. package/dist/roleItem-6326z2e7.js.gz +0 -0
  314. package/dist/{roleItem-CxgMo0HC.mjs → roleItem-BN2Sr5PI.mjs} +1 -1
  315. package/dist/roleItem-BN2Sr5PI.mjs.gz +0 -0
  316. package/dist/{saveForm-BpxUm5uc.mjs → saveForm-9daJVbgC.mjs} +1 -1
  317. package/dist/{saveForm-DD9ENsiu.js → saveForm-D-KPCg5u.js} +1 -1
  318. package/dist/{saveForm.vue_vue_type_script_setup_true_lang-B1i9bmZ3.js → saveForm.vue_vue_type_script_setup_true_lang-Dz4BjGjH.js} +1 -1
  319. package/dist/saveForm.vue_vue_type_script_setup_true_lang-Dz4BjGjH.js.gz +0 -0
  320. package/dist/{saveForm.vue_vue_type_script_setup_true_lang-CmCcyzBt.mjs → saveForm.vue_vue_type_script_setup_true_lang-rS_dXKwE.mjs} +2 -2
  321. package/dist/saveForm.vue_vue_type_script_setup_true_lang-rS_dXKwE.mjs.gz +0 -0
  322. package/dist/{scan-Dbht6kxa.mjs → scan-CoZpwZXG.mjs} +1 -1
  323. package/dist/scan-CoZpwZXG.mjs.gz +0 -0
  324. package/dist/{scan-CYiVoSE2.js → scan-Dv1cWZcv.js} +1 -1
  325. package/dist/scan-Dv1cWZcv.js.gz +0 -0
  326. package/dist/{search-DFEBs8ZY.js → search-BOvKQWFh.js} +1 -1
  327. package/dist/search-BOvKQWFh.js.gz +0 -0
  328. package/dist/{search-CS5RiQjp.mjs → search-OxoQslho.mjs} +1 -1
  329. package/dist/search-OxoQslho.mjs.gz +0 -0
  330. package/dist/{selectConfig-DnBOSjdT.js → selectConfig-DarQyFQK.js} +1 -1
  331. package/dist/selectConfig-DarQyFQK.js.gz +0 -0
  332. package/dist/{selectConfig-BbbmSX2J.mjs → selectConfig-pxDunRJI.mjs} +1 -1
  333. package/dist/selectConfig-pxDunRJI.mjs.gz +0 -0
  334. package/dist/style.css +1 -1
  335. package/dist/style.css.gz +0 -0
  336. package/dist/{subItem-aYAl_UfR.js → subItem-C7zIlEKQ.js} +1 -1
  337. package/dist/subItem-C7zIlEKQ.js.gz +0 -0
  338. package/dist/{subItem-BnACgprL.mjs → subItem-t3Gv2zXD.mjs} +1 -1
  339. package/dist/subItem-t3Gv2zXD.mjs.gz +0 -0
  340. package/dist/{tagsView-DilXEnii.mjs → tagsView-BiXGfktE.mjs} +2 -2
  341. package/dist/tagsView-BiXGfktE.mjs.gz +0 -0
  342. package/dist/{tagsView-DxqF9-Ds.js → tagsView-DgIRTMC6.js} +2 -2
  343. package/dist/tagsView-DgIRTMC6.js.gz +0 -0
  344. package/dist/{transverse-BPHZqOFv.mjs → transverse-CLkyxFcm.mjs} +2 -2
  345. package/dist/transverse-CLkyxFcm.mjs.gz +0 -0
  346. package/dist/{transverse-CotZg5b5.js → transverse-CbwMY5iv.js} +1 -1
  347. package/dist/transverse-CbwMY5iv.js.gz +0 -0
  348. package/dist/{trtcUI-MbSqCP3x.mjs → trtcUI-B197vp6c.mjs} +1 -1
  349. package/dist/trtcUI-B197vp6c.mjs.gz +0 -0
  350. package/dist/{trtcUI-Ssu7z6pG.js → trtcUI-B3pgjyyD.js} +1 -1
  351. package/dist/trtcUI-B3pgjyyD.js.gz +0 -0
  352. package/dist/types/components/business/bcTable/components/table/table.vue.d.ts +16 -14
  353. package/dist/types/components/business/bcTable/components/table/useTable.d.ts +2 -1
  354. package/dist/types/components/business/bcTable/utils/onTableKey.d.ts +2 -1
  355. package/dist/types/components/business/bcTable/utils/parseTable.d.ts +1 -1
  356. package/dist/types/components/business/bcTable/utils/type.d.ts +10 -0
  357. package/dist/types/utils/storage.d.ts +8 -0
  358. package/dist/{uploadAvatar-BxPtpeMW.js → uploadAvatar-C2ZqmyR6.js} +1 -1
  359. package/dist/uploadAvatar-C2ZqmyR6.js.gz +0 -0
  360. package/dist/{uploadAvatar-Bs02QM2W.mjs → uploadAvatar-CpShETnI.mjs} +1 -1
  361. package/dist/uploadAvatar-CpShETnI.mjs.gz +0 -0
  362. package/dist/{user-SWAoHMC4.js → user-B4Fay0D7.js} +1 -1
  363. package/dist/user-B4Fay0D7.js.gz +0 -0
  364. package/dist/{user-BUb9xY6F.mjs → user-BIHQz4us.mjs} +3 -3
  365. package/dist/user-BIHQz4us.mjs.gz +0 -0
  366. package/dist/{userNews-YYKPPuHP.js → userNews-DhMZ5lvb.js} +1 -1
  367. package/dist/userNews-DhMZ5lvb.js.gz +0 -0
  368. package/dist/{userNews-BdqamdQH.mjs → userNews-DvUDGZhW.mjs} +1 -1
  369. package/dist/userNews-DvUDGZhW.mjs.gz +0 -0
  370. package/dist/{userSelect-wfFFM1td.mjs → userSelect-BzuZCBko.mjs} +1 -1
  371. package/dist/{userSelect-Sd2nTwlc.js → userSelect-CI-RInyf.js} +1 -1
  372. package/dist/{userSelect.vue_vue_type_script_setup_true_lang-CTuW6Pya.mjs → userSelect.vue_vue_type_script_setup_true_lang-BmZsY_Rr.mjs} +1 -1
  373. package/dist/userSelect.vue_vue_type_script_setup_true_lang-BmZsY_Rr.mjs.gz +0 -0
  374. package/dist/{userSelect.vue_vue_type_script_setup_true_lang-Des1340K.js → userSelect.vue_vue_type_script_setup_true_lang-ePnrP5Xm.js} +1 -1
  375. package/dist/userSelect.vue_vue_type_script_setup_true_lang-ePnrP5Xm.js.gz +0 -0
  376. package/dist/{vertical-CUXZzALo.js → vertical-DUr8E7Ho.js} +1 -1
  377. package/dist/vertical-DUr8E7Ho.js.gz +0 -0
  378. package/dist/{vertical-DsY9bt2_.mjs → vertical-uSiYfsMp.mjs} +2 -2
  379. package/dist/vertical-uSiYfsMp.mjs.gz +0 -0
  380. package/package.json +1 -1
  381. package/dist/401-CXbUsx8P.js.gz +0 -0
  382. package/dist/401-D-EXnhwd.mjs.gz +0 -0
  383. package/dist/404-ChnVx8_2.mjs.gz +0 -0
  384. package/dist/404-FYKLU7g0.js.gz +0 -0
  385. package/dist/account-BlXODRSU.js.gz +0 -0
  386. package/dist/account-CEaXLaKW.mjs.gz +0 -0
  387. package/dist/aside-BN0Hfkk2.js.gz +0 -0
  388. package/dist/aside-D954HCD6.mjs.gz +0 -0
  389. package/dist/btnIndex-DvTsv7JM.mjs.gz +0 -0
  390. package/dist/btnIndex-fYBuXN0e.js.gz +0 -0
  391. package/dist/classic-C3_fk2WY.mjs.gz +0 -0
  392. package/dist/classic-Fbx8G5QR.js.gz +0 -0
  393. package/dist/cloneConfigDialog-BT9-w4v9.mjs.gz +0 -0
  394. package/dist/cloneConfigDialog-U-wovRb5.js.gz +0 -0
  395. package/dist/columns-B3QWge9m.js.gz +0 -0
  396. package/dist/columns-JyplMa8o.mjs.gz +0 -0
  397. package/dist/columnsAside-BG02FLS_.js.gz +0 -0
  398. package/dist/columnsAside-DEIf7C5w.mjs.gz +0 -0
  399. package/dist/contextmenu-B0J90FNb.mjs.gz +0 -0
  400. package/dist/contextmenu-C2hCLF4x.js.gz +0 -0
  401. package/dist/contextmenu-D_-UOD3G.js.gz +0 -0
  402. package/dist/contextmenu-FlLNftIi.mjs.gz +0 -0
  403. package/dist/contextmenu-Pq9XcKmk.mjs.gz +0 -0
  404. package/dist/contextmenu-mjgzjMvo.js.gz +0 -0
  405. package/dist/defaults-C9uSKBVj.mjs.gz +0 -0
  406. package/dist/defaults-DUqec2Hb.js.gz +0 -0
  407. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-9m0H4BrX.js.gz +0 -0
  408. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-DT0Fycrh.mjs.gz +0 -0
  409. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-NmozWiqf.js.gz +0 -0
  410. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-rcEi6UcW.mjs.gz +0 -0
  411. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-BSr7JJv8.js.gz +0 -0
  412. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-CaGPXUpc.mjs.gz +0 -0
  413. package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-DYIo8vnS.mjs.gz +0 -0
  414. package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-RI-9U1vW.js.gz +0 -0
  415. package/dist/editDialog-6loDndnj.js.gz +0 -0
  416. package/dist/editDialog-Dm9qWHTw.mjs.gz +0 -0
  417. package/dist/formConfig-Bx99Mri3.js.gz +0 -0
  418. package/dist/formConfig-XxQoc2iE.mjs.gz +0 -0
  419. package/dist/horizontal-DfjDQjt4.mjs.gz +0 -0
  420. package/dist/horizontal-tyI6mDDH.js.gz +0 -0
  421. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-ComlEA37.mjs.gz +0 -0
  422. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-DJOmsDW1.js.gz +0 -0
  423. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-C6ygy4IE.mjs.gz +0 -0
  424. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-CLZiXHhW.js.gz +0 -0
  425. package/dist/hsBtnConfigList-D5kEN3O9.js.gz +0 -0
  426. package/dist/hsBtnConfigList-DhlFL3Iw.mjs.gz +0 -0
  427. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-Bf1NkJ66.js.gz +0 -0
  428. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-C2ebXc0L.mjs.gz +0 -0
  429. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BSbZKdi2.mjs.gz +0 -0
  430. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-nIAToSWk.js.gz +0 -0
  431. package/dist/hsExpand.vue_vue_type_script_setup_true_lang-29AdsLbc.mjs.gz +0 -0
  432. package/dist/hsExpand.vue_vue_type_script_setup_true_lang-BodWhP2D.js.gz +0 -0
  433. package/dist/hsFormConfig-CgPLTGfj.mjs.gz +0 -0
  434. package/dist/hsFormConfig-PbhwWicP.js.gz +0 -0
  435. package/dist/hsFormConfigList-BWR8oiEG.js.gz +0 -0
  436. package/dist/hsFormConfigList-CWHwRRQ2.mjs.gz +0 -0
  437. package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CkpTqL_m.js.gz +0 -0
  438. package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DeYRC_ua.mjs.gz +0 -0
  439. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-D939QmT3.mjs.gz +0 -0
  440. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-vUojNUwj.js.gz +0 -0
  441. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-8iUVLOGZ.js.gz +0 -0
  442. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-YR5p4rpK.mjs.gz +0 -0
  443. package/dist/iframes-CEeoelZf.mjs.gz +0 -0
  444. package/dist/iframes-DVZPlVqq.js.gz +0 -0
  445. package/dist/index-3bxusWLj.js.gz +0 -0
  446. package/dist/index-B0LIuPRi.js.gz +0 -0
  447. package/dist/index-B1kGbqqE.js.gz +0 -0
  448. package/dist/index-B2A22eRF.mjs.gz +0 -0
  449. package/dist/index-BHLqpSBB.js.gz +0 -0
  450. package/dist/index-BMW3JldJ.js.gz +0 -0
  451. package/dist/index-BPwtVNvk.js.gz +0 -0
  452. package/dist/index-BVc3lnx_.js.gz +0 -0
  453. package/dist/index-Ba-3_GAB.js.gz +0 -0
  454. package/dist/index-BeY287Ea.js.gz +0 -0
  455. package/dist/index-C6FxG3pc.js.gz +0 -0
  456. package/dist/index-C85746ul.mjs.gz +0 -0
  457. package/dist/index-CBqAx-ML.js.gz +0 -0
  458. package/dist/index-CITfY7m5.mjs.gz +0 -0
  459. package/dist/index-CLSmgf9y.mjs.gz +0 -0
  460. package/dist/index-CMdhdegb.js.gz +0 -0
  461. package/dist/index-CMylLp55.mjs.gz +0 -0
  462. package/dist/index-CYivI-Ud.mjs.gz +0 -0
  463. package/dist/index-CmzGxv5a.mjs.gz +0 -0
  464. package/dist/index-CsDwMwAh.mjs.gz +0 -0
  465. package/dist/index-CsFNJFA5.mjs +0 -4
  466. package/dist/index-CsnEg5OR.mjs.gz +0 -0
  467. package/dist/index-D-P1Q1Wo.mjs.gz +0 -0
  468. package/dist/index-D1eQpZ4Z.js.gz +0 -0
  469. package/dist/index-D3tNVboJ.mjs.gz +0 -0
  470. package/dist/index-D6CClNFW.js.gz +0 -0
  471. package/dist/index-DARJFxsE.js.gz +0 -0
  472. package/dist/index-DM5wy2-H.mjs.gz +0 -0
  473. package/dist/index-DPJoylN8.js.gz +0 -0
  474. package/dist/index-DPSXwpch.js.gz +0 -0
  475. package/dist/index-Dd5l0Cdr.js.gz +0 -0
  476. package/dist/index-Dj5D85La.mjs.gz +0 -0
  477. package/dist/index-DkjRqkHA.js.gz +0 -0
  478. package/dist/index-DlE5frBM.mjs.gz +0 -0
  479. package/dist/index-DmgXvl2E.mjs.gz +0 -0
  480. package/dist/index-DuZv0Br_.mjs.gz +0 -0
  481. package/dist/index-E-yg5pHd.mjs.gz +0 -0
  482. package/dist/index-JXvSp4F3.mjs.gz +0 -0
  483. package/dist/index-Sq-xW4rX.mjs.gz +0 -0
  484. package/dist/index-W1jiA4cO.mjs.gz +0 -0
  485. package/dist/index-bTLgKwP8.js.gz +0 -0
  486. package/dist/index-of0tmvXf.js.gz +0 -0
  487. package/dist/index-pyA0uo5I.js.gz +0 -0
  488. package/dist/index-rL4wQGuf.mjs.gz +0 -0
  489. package/dist/index-tp551wpI.mjs.gz +0 -0
  490. package/dist/index.vue_vue_type_script_setup_true_lang-B-znBdvL.js.gz +0 -0
  491. package/dist/index.vue_vue_type_script_setup_true_lang-B3pMd-l2.mjs.gz +0 -0
  492. package/dist/index.vue_vue_type_script_setup_true_lang-BKJTeuhr.mjs.gz +0 -0
  493. package/dist/index.vue_vue_type_script_setup_true_lang-C49QN7LN.mjs.gz +0 -0
  494. package/dist/index.vue_vue_type_script_setup_true_lang-CfeK2qr_.js.gz +0 -0
  495. package/dist/index.vue_vue_type_script_setup_true_lang-DUqI1qlf.mjs.gz +0 -0
  496. package/dist/index.vue_vue_type_script_setup_true_lang-cIqLY3cz.js.gz +0 -0
  497. package/dist/index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-DR-wMUcz.js.gz +0 -0
  498. package/dist/index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-DlB-4VQj.mjs.gz +0 -0
  499. package/dist/link-C_yrJ9cD.mjs.gz +0 -0
  500. package/dist/link-Dx7bnXH_.js.gz +0 -0
  501. package/dist/list-12vY_aPL.js.gz +0 -0
  502. package/dist/list-ml7a1pz_.mjs.gz +0 -0
  503. package/dist/main-BkcTHBFj.mjs.gz +0 -0
  504. package/dist/main-GWOx3lnY.js.gz +0 -0
  505. package/dist/mobile-DmQN8lYX.js.gz +0 -0
  506. package/dist/mobile-fw7i9o_H.mjs.gz +0 -0
  507. package/dist/parent-Cch_uRMT.mjs.gz +0 -0
  508. package/dist/parent-DjhQY-V9.js.gz +0 -0
  509. package/dist/roleItem-CxgMo0HC.mjs.gz +0 -0
  510. package/dist/roleItem-GtiVwHGz.js.gz +0 -0
  511. package/dist/saveForm.vue_vue_type_script_setup_true_lang-B1i9bmZ3.js.gz +0 -0
  512. package/dist/saveForm.vue_vue_type_script_setup_true_lang-CmCcyzBt.mjs.gz +0 -0
  513. package/dist/scan-CYiVoSE2.js.gz +0 -0
  514. package/dist/scan-Dbht6kxa.mjs.gz +0 -0
  515. package/dist/search-CS5RiQjp.mjs.gz +0 -0
  516. package/dist/search-DFEBs8ZY.js.gz +0 -0
  517. package/dist/selectConfig-BbbmSX2J.mjs.gz +0 -0
  518. package/dist/selectConfig-DnBOSjdT.js.gz +0 -0
  519. package/dist/subItem-BnACgprL.mjs.gz +0 -0
  520. package/dist/subItem-aYAl_UfR.js.gz +0 -0
  521. package/dist/tagsView-DilXEnii.mjs.gz +0 -0
  522. package/dist/tagsView-DxqF9-Ds.js.gz +0 -0
  523. package/dist/transverse-BPHZqOFv.mjs.gz +0 -0
  524. package/dist/transverse-CotZg5b5.js.gz +0 -0
  525. package/dist/trtcUI-MbSqCP3x.mjs.gz +0 -0
  526. package/dist/trtcUI-Ssu7z6pG.js.gz +0 -0
  527. package/dist/types/components/business/bcTable/utils/store.d.ts +0 -2939
  528. package/dist/uploadAvatar-Bs02QM2W.mjs.gz +0 -0
  529. package/dist/uploadAvatar-BxPtpeMW.js.gz +0 -0
  530. package/dist/user-BUb9xY6F.mjs.gz +0 -0
  531. package/dist/user-SWAoHMC4.js.gz +0 -0
  532. package/dist/userNews-BdqamdQH.mjs.gz +0 -0
  533. package/dist/userNews-YYKPPuHP.js.gz +0 -0
  534. package/dist/userSelect.vue_vue_type_script_setup_true_lang-CTuW6Pya.mjs.gz +0 -0
  535. package/dist/userSelect.vue_vue_type_script_setup_true_lang-Des1340K.js.gz +0 -0
  536. package/dist/vertical-CUXZzALo.js.gz +0 -0
  537. package/dist/vertical-DsY9bt2_.mjs.gz +0 -0
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),O=require("./uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-1q5Jq5S0.js"),y=require("./index-DkjRqkHA.js"),Y={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}},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(e){return Array.isArray(e)?Number(e[0])>=0&&Number(e[1])>=0:Number(e)>=0}},fillColor:{type:String,default:""}},computed:{cropInfo(){let e={};if(e.top=this.cropOffsertY>21?"-21px":"0px",e.width=this.cropW>0?this.cropW:0,e.height=this.cropH>0?this.cropH:0,this.infoTrue){let t=1;this.high&&!this.full&&(t=window.devicePixelRatio),this.enlarge!==1&!this.full&&(t=Math.abs(Number(this.enlarge))),e.width=e.width*t,e.height=e.height*t,this.full&&(e.width=e.width/this.scale,e.height=e.height/this.scale)}return e.width=e.width.toFixed(0),e.height=e.height.toFixed(0),e},isIE(){return!!window.ActiveXObject||"ActiveXObject"in window},passive(){return this.isIE?null:{passive:!1}}},watch:{img(){this.checkedImg()},imgs(e){e!==""&&this.reload()},cropW(){this.showPreview()},cropH(){this.showPreview()},cropOffsertX(){this.showPreview()},cropOffsertY(){this.showPreview()},scale(e,t){this.showPreview()},x(){this.showPreview()},y(){this.showPreview()},autoCrop(e){e&&this.goAutoCrop()},autoCropWidth(){this.autoCrop&&this.goAutoCrop()},autoCropHeight(){this.autoCrop&&this.goAutoCrop()},mode(){this.checkedImg()},rotate(){this.showPreview(),this.autoCrop?this.goAutoCrop(this.cropW,this.cropH):(this.cropW>0||this.cropH>0)&&this.goAutoCrop(this.cropW,this.cropH)}},methods:{getVersion(e){var t=navigator.userAgent.split(" "),i="";let s=0;const h=new RegExp(e,"i");for(var r=0;r<t.length;r++)h.test(t[r])&&(i=t[r]);return i?s=i.split("/")[1].split("."):s=["0","0","0"],s},checkOrientationImage(e,t,i,s){if(this.getVersion("chrome")[0]>=81)t=-1;else if(this.getVersion("safari")[0]>=605){const o=this.getVersion("version");o[0]>13&&o[1]>1&&(t=-1)}else{const o=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/);if(o){let l=o[1];l=l.split("_"),(l[0]>13||l[0]>=13&&l[1]>=4)&&(t=-1)}}let h=document.createElement("canvas"),r=h.getContext("2d");switch(r.save(),t){case 2:h.width=i,h.height=s,r.translate(i,0),r.scale(-1,1);break;case 3:h.width=i,h.height=s,r.translate(i/2,s/2),r.rotate(180*Math.PI/180),r.translate(-i/2,-s/2);break;case 4:h.width=i,h.height=s,r.translate(0,s),r.scale(1,-1);break;case 5:h.height=i,h.width=s,r.rotate(.5*Math.PI),r.scale(1,-1);break;case 6:h.width=s,h.height=i,r.translate(s/2,i/2),r.rotate(90*Math.PI/180),r.translate(-i/2,-s/2);break;case 7:h.height=i,h.width=s,r.rotate(.5*Math.PI),r.translate(i,-s),r.scale(-1,1);break;case 8:h.height=i,h.width=s,r.translate(s/2,i/2),r.rotate(-90*Math.PI/180),r.translate(-i/2,-s/2);break;default:h.width=i,h.height=s}r.drawImage(e,0,0,i,s),r.restore(),h.toBlob(o=>{let l=URL.createObjectURL(o);URL.revokeObjectURL(this.imgs),this.imgs=l},"image/"+this.outputType,1)},checkedImg(){if(this.img===null||this.img===""){this.imgs="",this.clearCrop();return}this.loading=!0,this.scale=1,this.rotate=0,this.clearCrop();let e=new Image;if(e.onload=()=>{if(this.img==="")return this.$emit("imgLoad","error"),this.$emit("img-load","error"),this.$emit("img-load",new Error("图片不能为空")),!1;let i=e.width,s=e.height;O.Exif.getData(e).then(h=>{this.orientation=h.orientation||1;let r=Number(this.maxImgSize);if(!this.orientation&&i<r&s<r){this.imgs=this.img;return}i>r&&(s=s/i*r,i=r),s>r&&(i=i/s*r,s=r),this.checkOrientationImage(e,this.orientation,i,s)}).catch(h=>{this.$emit("img-load","error"),this.$emit("img-load-error",h)})},e.onerror=()=>{this.$emit("imgLoad","error"),this.$emit("img-load","error"),this.$emit("img-load-error",error)},this.img.substr(0,4)!=="data"&&(e.crossOrigin=""),this.isIE){var t=new XMLHttpRequest;t.onload=function(){var i=URL.createObjectURL(this.response);e.src=i},t.open("GET",this.img,!0),t.responseType="blob",t.send()}else e.src=this.img},startMove(e){if(e.preventDefault(),this.move&&!this.crop){if(!this.canMove)return!1;this.moveX=("clientX"in e?e.clientX:e.touches[0].clientX)-this.x,this.moveY=("clientY"in e?e.clientY:e.touches[0].clientY)-this.y,e.touches?(window.addEventListener("touchmove",this.moveImg),window.addEventListener("touchend",this.leaveImg),e.touches.length==2&&(this.touches=e.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=e.offsetX?e.offsetX:e.touches[0].pageX-this.$refs.cropper.offsetLeft,this.cropOffsertY=e.offsetY?e.offsetY:e.touches[0].pageY-this.$refs.cropper.offsetTop,this.cropX="clientX"in e?e.clientX:e.touches[0].clientX,this.cropY="clientY"in e?e.clientY:e.touches[0].clientY,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.cropW=0,this.cropH=0},touchScale(e){e.preventDefault();let t=this.scale;var i={x:this.touches[0].clientX,y:this.touches[0].clientY},s={x:e.touches[0].clientX,y:e.touches[0].clientY},h={x:this.touches[1].clientX,y:this.touches[1].clientY},r={x:e.touches[1].clientX,y:e.touches[1].clientY},o=Math.sqrt(Math.pow(i.x-h.x,2)+Math.pow(i.y-h.y,2)),l=Math.sqrt(Math.pow(s.x-r.x,2)+Math.pow(s.y-r.y,2)),n=l-o,p=1;p=p/this.trueWidth>p/this.trueHeight?p/this.trueHeight:p/this.trueWidth,p=p>.1?.1:p;var c=p*n;if(!this.touchNow){if(this.touchNow=!0,n>0?t+=Math.abs(c):n<0&&t>Math.abs(c)&&(t-=Math.abs(c)),this.touches=e.touches,setTimeout(()=>{this.touchNow=!1},8),!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t}},cancelTouchScale(e){window.removeEventListener("touchmove",this.touchScale)},moveImg(e){if(e.preventDefault(),e.touches&&e.touches.length===2)return this.touches=e.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale),window.removeEventListener("touchmove",this.moveImg),!1;let t="clientX"in e?e.clientX:e.touches[0].clientX,i="clientY"in e?e.clientY:e.touches[0].clientY,s,h;s=t-this.moveX,h=i-this.moveY,this.$nextTick(()=>{if(this.centerBox){let r=this.getImgAxis(s,h,this.scale),o=this.getCropAxis(),l=this.trueHeight*this.scale,n=this.trueWidth*this.scale,p,c,f,g;switch(this.rotate){case 1:case-1:case 3:case-3:p=this.cropOffsertX-this.trueWidth*(1-this.scale)/2+(l-n)/2,c=this.cropOffsertY-this.trueHeight*(1-this.scale)/2+(n-l)/2,f=p-l+this.cropW,g=c-n+this.cropH;break;default:p=this.cropOffsertX-this.trueWidth*(1-this.scale)/2,c=this.cropOffsertY-this.trueHeight*(1-this.scale)/2,f=p-n+this.cropW,g=c-l+this.cropH;break}r.x1>=o.x1&&(s=p),r.y1>=o.y1&&(h=c),r.x2<=o.x2&&(s=f),r.y2<=o.y2&&(h=g)}this.x=s,this.y=h,this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})})},leaveImg(e){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(e){e.preventDefault();let t=this.scale;var i=e.deltaY||e.wheelDelta,s=navigator.userAgent.indexOf("Firefox");i=s>0?i*30:i,this.isIE&&(i=-i);var h=this.coe;h=h/this.trueWidth>h/this.trueHeight?h/this.trueHeight:h/this.trueWidth;var r=h*i;r<0?t+=Math.abs(r):t>Math.abs(r)&&(t-=Math.abs(r));let o=r<0?"add":"reduce";if(o!==this.coeStatus&&(this.coeStatus=o,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,t))return!1;this.scale=t},changeScale(e){let t=this.scale;e=e||1;var i=20;if(i=i/this.trueWidth>i/this.trueHeight?i/this.trueHeight:i/this.trueWidth,e=e*i,e>0?t+=Math.abs(e):t>Math.abs(e)&&(t-=Math.abs(e)),!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t},createCrop(e){e.preventDefault();var t="clientX"in e?e.clientX:e.touches?e.touches[0].clientX:0,i="clientY"in e?e.clientY:e.touches?e.touches[0].clientY:0;this.$nextTick(()=>{var s=t-this.cropX,h=i-this.cropY;if(s>0?(this.cropW=s+this.cropChangeX>this.w?this.w-this.cropChangeX:s,this.cropOffsertX=this.cropChangeX):(this.cropW=this.w-this.cropChangeX+Math.abs(s)>this.w?this.cropChangeX:Math.abs(s),this.cropOffsertX=this.cropChangeX+s>0?this.cropChangeX+s:0),!this.fixed)h>0?(this.cropH=h+this.cropChangeY>this.h?this.h-this.cropChangeY:h,this.cropOffsertY=this.cropChangeY):(this.cropH=this.h-this.cropChangeY+Math.abs(h)>this.h?this.cropChangeY:Math.abs(h),this.cropOffsertY=this.cropChangeY+h>0?this.cropChangeY+h:0);else{var r=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];r+this.cropOffsertY>this.h?(this.cropH=this.h-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],s>0?this.cropOffsertX=this.cropChangeX:this.cropOffsertX=this.cropChangeX-this.cropW):this.cropH=r,this.cropOffsertY=this.cropOffsertY}})},changeCropSize(e,t,i,s,h){e.preventDefault(),window.addEventListener("mousemove",this.changeCropNow),window.addEventListener("mouseup",this.changeCropEnd),window.addEventListener("touchmove",this.changeCropNow),window.addEventListener("touchend",this.changeCropEnd),this.canChangeX=t,this.canChangeY=i,this.changeCropTypeX=s,this.changeCropTypeY=h,this.cropX="clientX"in e?e.clientX:e.touches[0].clientX,this.cropY="clientY"in e?e.clientY:e.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(e){e.preventDefault();var t="clientX"in e?e.clientX:e.touches?e.touches[0].clientX:0,i="clientY"in e?e.clientY:e.touches?e.touches[0].clientY:0;let s=this.w,h=this.h,r=0,o=0;if(this.centerBox){let p=this.getImgAxis(),c=p.x2,f=p.y2;r=p.x1>0?p.x1:0,o=p.y1>0?p.y1:0,s>c&&(s=c),h>f&&(h=f)}const[l,n]=this.checkCropLimitSize();this.$nextTick(()=>{var p=t-this.cropX,c=i-this.cropY;if(this.canChangeX&&(this.changeCropTypeX===1?this.cropOldW-p<l?(this.cropW=l,this.cropOffsertX=this.cropOldW+this.cropChangeX-r-l):this.cropOldW-p>0?(this.cropW=s-this.cropChangeX-p<=s-r?this.cropOldW-p:this.cropOldW+this.cropChangeX-r,this.cropOffsertX=s-this.cropChangeX-p<=s-r?this.cropChangeX+p:r):(this.cropW=Math.abs(p)+this.cropChangeX<=s?Math.abs(p)-this.cropOldW:s-this.cropOldW-this.cropChangeX,this.cropOffsertX=this.cropChangeX+this.cropOldW):this.changeCropTypeX===2&&(this.cropOldW+p<l?this.cropW=l:this.cropOldW+p>0?(this.cropW=this.cropOldW+p+this.cropOffsertX<=s?this.cropOldW+p:s-this.cropOffsertX,this.cropOffsertX=this.cropChangeX):(this.cropW=s-this.cropChangeX+Math.abs(p+this.cropOldW)<=s-r?Math.abs(p+this.cropOldW):this.cropChangeX-r,this.cropOffsertX=s-this.cropChangeX+Math.abs(p+this.cropOldW)<=s-r?this.cropChangeX-Math.abs(p+this.cropOldW):r))),this.canChangeY&&(this.changeCropTypeY===1?this.cropOldH-c<n?(this.cropH=n,this.cropOffsertY=this.cropOldH+this.cropChangeY-o-n):this.cropOldH-c>0?(this.cropH=h-this.cropChangeY-c<=h-o?this.cropOldH-c:this.cropOldH+this.cropChangeY-o,this.cropOffsertY=h-this.cropChangeY-c<=h-o?this.cropChangeY+c:o):(this.cropH=Math.abs(c)+this.cropChangeY<=h?Math.abs(c)-this.cropOldH:h-this.cropOldH-this.cropChangeY,this.cropOffsertY=this.cropChangeY+this.cropOldH):this.changeCropTypeY===2&&(this.cropOldH+c<n?this.cropH=n:this.cropOldH+c>0?(this.cropH=this.cropOldH+c+this.cropOffsertY<=h?this.cropOldH+c:h-this.cropOffsertY,this.cropOffsertY=this.cropChangeY):(this.cropH=h-this.cropChangeY+Math.abs(c+this.cropOldH)<=h-o?Math.abs(c+this.cropOldH):this.cropChangeY-o,this.cropOffsertY=h-this.cropChangeY+Math.abs(c+this.cropOldH)<=h-o?this.cropChangeY-Math.abs(c+this.cropOldH):o))),this.canChangeX&&this.fixed){var f=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];f<n?(this.cropH=n,this.cropW=this.fixedNumber[0]*n/this.fixedNumber[1],this.changeCropTypeX===1&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):f+this.cropOffsertY>h?(this.cropH=h-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],this.changeCropTypeX===1&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):this.cropH=f}if(this.canChangeY&&this.fixed){var g=this.cropH/this.fixedNumber[1]*this.fixedNumber[0];g<l?(this.cropW=l,this.cropH=this.fixedNumber[1]*l/this.fixedNumber[0]):g+this.cropOffsertX>s?(this.cropW=s-this.cropOffsertX,this.cropH=this.cropW/this.fixedNumber[0]*this.fixedNumber[1]):this.cropW=g}this.$emit("cropSizing",{cropW:this.cropW,cropH:this.cropH}),this.$emit("crop-sizing",{cropW:this.cropW,cropH:this.cropH})})},checkCropLimitSize(){let{cropW:e,cropH:t,limitMinSize:i}=this,s=new Array;return Array.isArray(i)?s=i:s=[i,i],e=parseFloat(s[0]),t=parseFloat(s[1]),[e,t]},changeCropEnd(e){window.removeEventListener("mousemove",this.changeCropNow),window.removeEventListener("mouseup",this.changeCropEnd),window.removeEventListener("touchmove",this.changeCropNow),window.removeEventListener("touchend",this.changeCropEnd)},calculateSize(e,t,i,s,h,r){const o=e/t;let l=h,n=r;return l<i&&(l=i,n=Math.ceil(l/o)),n<s&&(n=s,l=Math.ceil(n*o),l<i&&(l=i,n=Math.ceil(l/o))),l<h&&(l=h,n=Math.ceil(l/o)),n<r&&(n=r,l=Math.ceil(n*o)),{width:l,height:n}},endCrop(){this.cropW===0&&this.cropH===0&&(this.cropping=!1);let[e,t]=this.checkCropLimitSize();const{width:i,height:s}=this.fixed?this.calculateSize(this.fixedNumber[0],this.fixedNumber[1],e,t,this.cropW,this.cropH):{width:e,height:t};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(e){if(e.preventDefault(),!this.canMoveBox)return this.crop=!1,this.startMove(e),!1;if(e.touches&&e.touches.length===2)return this.crop=!1,this.startMove(e),this.leaveCrop(),!1;window.addEventListener("mousemove",this.moveCrop),window.addEventListener("mouseup",this.leaveCrop),window.addEventListener("touchmove",this.moveCrop),window.addEventListener("touchend",this.leaveCrop);let t="clientX"in e?e.clientX:e.touches[0].clientX,i="clientY"in e?e.clientY:e.touches[0].clientY,s,h;s=t-this.cropOffsertX,h=i-this.cropOffsertY,this.cropX=s,this.cropY=h,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})},moveCrop(e,t){let i=0,s=0;e&&(e.preventDefault(),i="clientX"in e?e.clientX:e.touches[0].clientX,s="clientY"in e?e.clientY:e.touches[0].clientY),this.$nextTick(()=>{let h,r,o=i-this.cropX,l=s-this.cropY;if(t&&(o=this.cropOffsertX,l=this.cropOffsertY),o<=0?h=0:o+this.cropW>this.w?h=this.w-this.cropW:h=o,l<=0?r=0:l+this.cropH>this.h?r=this.h-this.cropH:r=l,this.centerBox){let n=this.getImgAxis();h<=n.x1&&(h=n.x1),h+this.cropW>n.x2&&(h=n.x2-this.cropW),r<=n.y1&&(r=n.y1),r+this.cropH>n.y2&&(r=n.y2-this.cropH)}this.cropOffsertX=h,this.cropOffsertY=r,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})})},getImgAxis(e,t,i){e=e||this.x,t=t||this.y,i=i||this.scale;let s={x1:0,x2:0,y1:0,y2:0},h=this.trueWidth*i,r=this.trueHeight*i;switch(this.rotate){case 0:s.x1=e+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=t+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i;break;case 1:case-1:case 3:case-3:s.x1=e+this.trueWidth*(1-i)/2+(h-r)/2,s.x2=s.x1+this.trueHeight*i,s.y1=t+this.trueHeight*(1-i)/2+(r-h)/2,s.y2=s.y1+this.trueWidth*i;break;default:s.x1=e+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=t+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i;break}return s},getCropAxis(){let e={x1:0,x2:0,y1:0,y2:0};return e.x1=this.cropOffsertX,e.x2=e.x1+this.cropW,e.y1=this.cropOffsertY,e.y2=e.y1+this.cropH,e},leaveCrop(e){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(e){let t=document.createElement("canvas"),i=new Image,s=this.rotate,h=this.trueWidth,r=this.trueHeight,o=this.cropOffsertX,l=this.cropOffsertY;i.onload=()=>{if(this.cropW!==0){let c=t.getContext("2d"),f=1;this.high&!this.full&&(f=window.devicePixelRatio),this.enlarge!==1&!this.full&&(f=Math.abs(Number(this.enlarge)));let g=this.cropW*f,C=this.cropH*f,m=h*this.scale*f,v=r*this.scale*f,d=(this.x-o+this.trueWidth*(1-this.scale)/2)*f,u=(this.y-l+this.trueHeight*(1-this.scale)/2)*f;switch(p(g,C),c.save(),this.fillColor&&(c.fillStyle=this.fillColor,c.fillRect(0,0,t.width,t.height)),s){case 0:this.full?(p(g/this.scale,C/this.scale),c.drawImage(i,d/this.scale,u/this.scale,m/this.scale,v/this.scale)):c.drawImage(i,d,u,m,v);break;case 1:case-3:this.full?(p(g/this.scale,C/this.scale),d=d/this.scale+(m/this.scale-v/this.scale)/2,u=u/this.scale+(v/this.scale-m/this.scale)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,u,-d-v/this.scale,m/this.scale,v/this.scale)):(d=d+(m-v)/2,u=u+(v-m)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,u,-d-v,m,v));break;case 2:case-2:this.full?(p(g/this.scale,C/this.scale),c.rotate(s*90*Math.PI/180),d=d/this.scale,u=u/this.scale,c.drawImage(i,-d-m/this.scale,-u-v/this.scale,m/this.scale,v/this.scale)):(c.rotate(s*90*Math.PI/180),c.drawImage(i,-d-m,-u-v,m,v));break;case 3:case-1:this.full?(p(g/this.scale,C/this.scale),d=d/this.scale+(m/this.scale-v/this.scale)/2,u=u/this.scale+(v/this.scale-m/this.scale)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,-u-m/this.scale,d,m/this.scale,v/this.scale)):(d=d+(m-v)/2,u=u+(v-m)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,-u-m,d,m,v));break;default:this.full?(p(g/this.scale,C/this.scale),c.drawImage(i,d/this.scale,u/this.scale,m/this.scale,v/this.scale)):c.drawImage(i,d,u,m,v)}c.restore()}else{let c=h*this.scale,f=r*this.scale,g=t.getContext("2d");switch(g.save(),this.fillColor&&(g.fillStyle=this.fillColor,g.fillRect(0,0,t.width,t.height)),s){case 0:p(c,f),g.drawImage(i,0,0,c,f);break;case 1:case-3:p(f,c),g.rotate(s*90*Math.PI/180),g.drawImage(i,0,-f,c,f);break;case 2:case-2:p(c,f),g.rotate(s*90*Math.PI/180),g.drawImage(i,-c,-f,c,f);break;case 3:case-1:p(f,c),g.rotate(s*90*Math.PI/180),g.drawImage(i,-c,0,c,f);break;default:p(c,f),g.drawImage(i,0,0,c,f)}g.restore()}e(t)};var n=this.img.substr(0,4);n!=="data"&&(i.crossOrigin="Anonymous"),i.src=this.imgs;function p(c,f){t.width=Math.round(c),t.height=Math.round(f)}},getCropData(e){this.getCropChecked(t=>{e(t.toDataURL("image/"+this.outputType,this.outputSize))})},getCropBlob(e){this.getCropChecked(t=>{t.toBlob(i=>e(i),"image/"+this.outputType,this.outputSize)})},showPreview(){if(this.isCanShow)this.isCanShow=!1,setTimeout(()=>{this.isCanShow=!0},16);else return!1;let e=this.cropW,t=this.cropH,i=this.scale;var s={};s.div={width:`${e}px`,height:`${t}px`};let h=(this.x-this.cropOffsertX)/i,r=(this.y-this.cropOffsertY)/i,o=0;s.w=e,s.h=t,s.url=this.imgs,s.img={width:`${this.trueWidth}px`,height:`${this.trueHeight}px`,transform:`scale(${i})translate3d(${h}px, ${r}px, ${o}px)rotateZ(${this.rotate*90}deg)`},s.html=`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),O=require("./uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-1q5Jq5S0.js"),y=require("./index-AC42LajV.js"),Y={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}},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(e){return Array.isArray(e)?Number(e[0])>=0&&Number(e[1])>=0:Number(e)>=0}},fillColor:{type:String,default:""}},computed:{cropInfo(){let e={};if(e.top=this.cropOffsertY>21?"-21px":"0px",e.width=this.cropW>0?this.cropW:0,e.height=this.cropH>0?this.cropH:0,this.infoTrue){let t=1;this.high&&!this.full&&(t=window.devicePixelRatio),this.enlarge!==1&!this.full&&(t=Math.abs(Number(this.enlarge))),e.width=e.width*t,e.height=e.height*t,this.full&&(e.width=e.width/this.scale,e.height=e.height/this.scale)}return e.width=e.width.toFixed(0),e.height=e.height.toFixed(0),e},isIE(){return!!window.ActiveXObject||"ActiveXObject"in window},passive(){return this.isIE?null:{passive:!1}}},watch:{img(){this.checkedImg()},imgs(e){e!==""&&this.reload()},cropW(){this.showPreview()},cropH(){this.showPreview()},cropOffsertX(){this.showPreview()},cropOffsertY(){this.showPreview()},scale(e,t){this.showPreview()},x(){this.showPreview()},y(){this.showPreview()},autoCrop(e){e&&this.goAutoCrop()},autoCropWidth(){this.autoCrop&&this.goAutoCrop()},autoCropHeight(){this.autoCrop&&this.goAutoCrop()},mode(){this.checkedImg()},rotate(){this.showPreview(),this.autoCrop?this.goAutoCrop(this.cropW,this.cropH):(this.cropW>0||this.cropH>0)&&this.goAutoCrop(this.cropW,this.cropH)}},methods:{getVersion(e){var t=navigator.userAgent.split(" "),i="";let s=0;const h=new RegExp(e,"i");for(var r=0;r<t.length;r++)h.test(t[r])&&(i=t[r]);return i?s=i.split("/")[1].split("."):s=["0","0","0"],s},checkOrientationImage(e,t,i,s){if(this.getVersion("chrome")[0]>=81)t=-1;else if(this.getVersion("safari")[0]>=605){const o=this.getVersion("version");o[0]>13&&o[1]>1&&(t=-1)}else{const o=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/);if(o){let l=o[1];l=l.split("_"),(l[0]>13||l[0]>=13&&l[1]>=4)&&(t=-1)}}let h=document.createElement("canvas"),r=h.getContext("2d");switch(r.save(),t){case 2:h.width=i,h.height=s,r.translate(i,0),r.scale(-1,1);break;case 3:h.width=i,h.height=s,r.translate(i/2,s/2),r.rotate(180*Math.PI/180),r.translate(-i/2,-s/2);break;case 4:h.width=i,h.height=s,r.translate(0,s),r.scale(1,-1);break;case 5:h.height=i,h.width=s,r.rotate(.5*Math.PI),r.scale(1,-1);break;case 6:h.width=s,h.height=i,r.translate(s/2,i/2),r.rotate(90*Math.PI/180),r.translate(-i/2,-s/2);break;case 7:h.height=i,h.width=s,r.rotate(.5*Math.PI),r.translate(i,-s),r.scale(-1,1);break;case 8:h.height=i,h.width=s,r.translate(s/2,i/2),r.rotate(-90*Math.PI/180),r.translate(-i/2,-s/2);break;default:h.width=i,h.height=s}r.drawImage(e,0,0,i,s),r.restore(),h.toBlob(o=>{let l=URL.createObjectURL(o);URL.revokeObjectURL(this.imgs),this.imgs=l},"image/"+this.outputType,1)},checkedImg(){if(this.img===null||this.img===""){this.imgs="",this.clearCrop();return}this.loading=!0,this.scale=1,this.rotate=0,this.clearCrop();let e=new Image;if(e.onload=()=>{if(this.img==="")return this.$emit("imgLoad","error"),this.$emit("img-load","error"),this.$emit("img-load",new Error("图片不能为空")),!1;let i=e.width,s=e.height;O.Exif.getData(e).then(h=>{this.orientation=h.orientation||1;let r=Number(this.maxImgSize);if(!this.orientation&&i<r&s<r){this.imgs=this.img;return}i>r&&(s=s/i*r,i=r),s>r&&(i=i/s*r,s=r),this.checkOrientationImage(e,this.orientation,i,s)}).catch(h=>{this.$emit("img-load","error"),this.$emit("img-load-error",h)})},e.onerror=()=>{this.$emit("imgLoad","error"),this.$emit("img-load","error"),this.$emit("img-load-error",error)},this.img.substr(0,4)!=="data"&&(e.crossOrigin=""),this.isIE){var t=new XMLHttpRequest;t.onload=function(){var i=URL.createObjectURL(this.response);e.src=i},t.open("GET",this.img,!0),t.responseType="blob",t.send()}else e.src=this.img},startMove(e){if(e.preventDefault(),this.move&&!this.crop){if(!this.canMove)return!1;this.moveX=("clientX"in e?e.clientX:e.touches[0].clientX)-this.x,this.moveY=("clientY"in e?e.clientY:e.touches[0].clientY)-this.y,e.touches?(window.addEventListener("touchmove",this.moveImg),window.addEventListener("touchend",this.leaveImg),e.touches.length==2&&(this.touches=e.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=e.offsetX?e.offsetX:e.touches[0].pageX-this.$refs.cropper.offsetLeft,this.cropOffsertY=e.offsetY?e.offsetY:e.touches[0].pageY-this.$refs.cropper.offsetTop,this.cropX="clientX"in e?e.clientX:e.touches[0].clientX,this.cropY="clientY"in e?e.clientY:e.touches[0].clientY,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.cropW=0,this.cropH=0},touchScale(e){e.preventDefault();let t=this.scale;var i={x:this.touches[0].clientX,y:this.touches[0].clientY},s={x:e.touches[0].clientX,y:e.touches[0].clientY},h={x:this.touches[1].clientX,y:this.touches[1].clientY},r={x:e.touches[1].clientX,y:e.touches[1].clientY},o=Math.sqrt(Math.pow(i.x-h.x,2)+Math.pow(i.y-h.y,2)),l=Math.sqrt(Math.pow(s.x-r.x,2)+Math.pow(s.y-r.y,2)),n=l-o,p=1;p=p/this.trueWidth>p/this.trueHeight?p/this.trueHeight:p/this.trueWidth,p=p>.1?.1:p;var c=p*n;if(!this.touchNow){if(this.touchNow=!0,n>0?t+=Math.abs(c):n<0&&t>Math.abs(c)&&(t-=Math.abs(c)),this.touches=e.touches,setTimeout(()=>{this.touchNow=!1},8),!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t}},cancelTouchScale(e){window.removeEventListener("touchmove",this.touchScale)},moveImg(e){if(e.preventDefault(),e.touches&&e.touches.length===2)return this.touches=e.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale),window.removeEventListener("touchmove",this.moveImg),!1;let t="clientX"in e?e.clientX:e.touches[0].clientX,i="clientY"in e?e.clientY:e.touches[0].clientY,s,h;s=t-this.moveX,h=i-this.moveY,this.$nextTick(()=>{if(this.centerBox){let r=this.getImgAxis(s,h,this.scale),o=this.getCropAxis(),l=this.trueHeight*this.scale,n=this.trueWidth*this.scale,p,c,f,g;switch(this.rotate){case 1:case-1:case 3:case-3:p=this.cropOffsertX-this.trueWidth*(1-this.scale)/2+(l-n)/2,c=this.cropOffsertY-this.trueHeight*(1-this.scale)/2+(n-l)/2,f=p-l+this.cropW,g=c-n+this.cropH;break;default:p=this.cropOffsertX-this.trueWidth*(1-this.scale)/2,c=this.cropOffsertY-this.trueHeight*(1-this.scale)/2,f=p-n+this.cropW,g=c-l+this.cropH;break}r.x1>=o.x1&&(s=p),r.y1>=o.y1&&(h=c),r.x2<=o.x2&&(s=f),r.y2<=o.y2&&(h=g)}this.x=s,this.y=h,this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})})},leaveImg(e){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(e){e.preventDefault();let t=this.scale;var i=e.deltaY||e.wheelDelta,s=navigator.userAgent.indexOf("Firefox");i=s>0?i*30:i,this.isIE&&(i=-i);var h=this.coe;h=h/this.trueWidth>h/this.trueHeight?h/this.trueHeight:h/this.trueWidth;var r=h*i;r<0?t+=Math.abs(r):t>Math.abs(r)&&(t-=Math.abs(r));let o=r<0?"add":"reduce";if(o!==this.coeStatus&&(this.coeStatus=o,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,t))return!1;this.scale=t},changeScale(e){let t=this.scale;e=e||1;var i=20;if(i=i/this.trueWidth>i/this.trueHeight?i/this.trueHeight:i/this.trueWidth,e=e*i,e>0?t+=Math.abs(e):t>Math.abs(e)&&(t-=Math.abs(e)),!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t},createCrop(e){e.preventDefault();var t="clientX"in e?e.clientX:e.touches?e.touches[0].clientX:0,i="clientY"in e?e.clientY:e.touches?e.touches[0].clientY:0;this.$nextTick(()=>{var s=t-this.cropX,h=i-this.cropY;if(s>0?(this.cropW=s+this.cropChangeX>this.w?this.w-this.cropChangeX:s,this.cropOffsertX=this.cropChangeX):(this.cropW=this.w-this.cropChangeX+Math.abs(s)>this.w?this.cropChangeX:Math.abs(s),this.cropOffsertX=this.cropChangeX+s>0?this.cropChangeX+s:0),!this.fixed)h>0?(this.cropH=h+this.cropChangeY>this.h?this.h-this.cropChangeY:h,this.cropOffsertY=this.cropChangeY):(this.cropH=this.h-this.cropChangeY+Math.abs(h)>this.h?this.cropChangeY:Math.abs(h),this.cropOffsertY=this.cropChangeY+h>0?this.cropChangeY+h:0);else{var r=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];r+this.cropOffsertY>this.h?(this.cropH=this.h-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],s>0?this.cropOffsertX=this.cropChangeX:this.cropOffsertX=this.cropChangeX-this.cropW):this.cropH=r,this.cropOffsertY=this.cropOffsertY}})},changeCropSize(e,t,i,s,h){e.preventDefault(),window.addEventListener("mousemove",this.changeCropNow),window.addEventListener("mouseup",this.changeCropEnd),window.addEventListener("touchmove",this.changeCropNow),window.addEventListener("touchend",this.changeCropEnd),this.canChangeX=t,this.canChangeY=i,this.changeCropTypeX=s,this.changeCropTypeY=h,this.cropX="clientX"in e?e.clientX:e.touches[0].clientX,this.cropY="clientY"in e?e.clientY:e.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(e){e.preventDefault();var t="clientX"in e?e.clientX:e.touches?e.touches[0].clientX:0,i="clientY"in e?e.clientY:e.touches?e.touches[0].clientY:0;let s=this.w,h=this.h,r=0,o=0;if(this.centerBox){let p=this.getImgAxis(),c=p.x2,f=p.y2;r=p.x1>0?p.x1:0,o=p.y1>0?p.y1:0,s>c&&(s=c),h>f&&(h=f)}const[l,n]=this.checkCropLimitSize();this.$nextTick(()=>{var p=t-this.cropX,c=i-this.cropY;if(this.canChangeX&&(this.changeCropTypeX===1?this.cropOldW-p<l?(this.cropW=l,this.cropOffsertX=this.cropOldW+this.cropChangeX-r-l):this.cropOldW-p>0?(this.cropW=s-this.cropChangeX-p<=s-r?this.cropOldW-p:this.cropOldW+this.cropChangeX-r,this.cropOffsertX=s-this.cropChangeX-p<=s-r?this.cropChangeX+p:r):(this.cropW=Math.abs(p)+this.cropChangeX<=s?Math.abs(p)-this.cropOldW:s-this.cropOldW-this.cropChangeX,this.cropOffsertX=this.cropChangeX+this.cropOldW):this.changeCropTypeX===2&&(this.cropOldW+p<l?this.cropW=l:this.cropOldW+p>0?(this.cropW=this.cropOldW+p+this.cropOffsertX<=s?this.cropOldW+p:s-this.cropOffsertX,this.cropOffsertX=this.cropChangeX):(this.cropW=s-this.cropChangeX+Math.abs(p+this.cropOldW)<=s-r?Math.abs(p+this.cropOldW):this.cropChangeX-r,this.cropOffsertX=s-this.cropChangeX+Math.abs(p+this.cropOldW)<=s-r?this.cropChangeX-Math.abs(p+this.cropOldW):r))),this.canChangeY&&(this.changeCropTypeY===1?this.cropOldH-c<n?(this.cropH=n,this.cropOffsertY=this.cropOldH+this.cropChangeY-o-n):this.cropOldH-c>0?(this.cropH=h-this.cropChangeY-c<=h-o?this.cropOldH-c:this.cropOldH+this.cropChangeY-o,this.cropOffsertY=h-this.cropChangeY-c<=h-o?this.cropChangeY+c:o):(this.cropH=Math.abs(c)+this.cropChangeY<=h?Math.abs(c)-this.cropOldH:h-this.cropOldH-this.cropChangeY,this.cropOffsertY=this.cropChangeY+this.cropOldH):this.changeCropTypeY===2&&(this.cropOldH+c<n?this.cropH=n:this.cropOldH+c>0?(this.cropH=this.cropOldH+c+this.cropOffsertY<=h?this.cropOldH+c:h-this.cropOffsertY,this.cropOffsertY=this.cropChangeY):(this.cropH=h-this.cropChangeY+Math.abs(c+this.cropOldH)<=h-o?Math.abs(c+this.cropOldH):this.cropChangeY-o,this.cropOffsertY=h-this.cropChangeY+Math.abs(c+this.cropOldH)<=h-o?this.cropChangeY-Math.abs(c+this.cropOldH):o))),this.canChangeX&&this.fixed){var f=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];f<n?(this.cropH=n,this.cropW=this.fixedNumber[0]*n/this.fixedNumber[1],this.changeCropTypeX===1&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):f+this.cropOffsertY>h?(this.cropH=h-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],this.changeCropTypeX===1&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):this.cropH=f}if(this.canChangeY&&this.fixed){var g=this.cropH/this.fixedNumber[1]*this.fixedNumber[0];g<l?(this.cropW=l,this.cropH=this.fixedNumber[1]*l/this.fixedNumber[0]):g+this.cropOffsertX>s?(this.cropW=s-this.cropOffsertX,this.cropH=this.cropW/this.fixedNumber[0]*this.fixedNumber[1]):this.cropW=g}this.$emit("cropSizing",{cropW:this.cropW,cropH:this.cropH}),this.$emit("crop-sizing",{cropW:this.cropW,cropH:this.cropH})})},checkCropLimitSize(){let{cropW:e,cropH:t,limitMinSize:i}=this,s=new Array;return Array.isArray(i)?s=i:s=[i,i],e=parseFloat(s[0]),t=parseFloat(s[1]),[e,t]},changeCropEnd(e){window.removeEventListener("mousemove",this.changeCropNow),window.removeEventListener("mouseup",this.changeCropEnd),window.removeEventListener("touchmove",this.changeCropNow),window.removeEventListener("touchend",this.changeCropEnd)},calculateSize(e,t,i,s,h,r){const o=e/t;let l=h,n=r;return l<i&&(l=i,n=Math.ceil(l/o)),n<s&&(n=s,l=Math.ceil(n*o),l<i&&(l=i,n=Math.ceil(l/o))),l<h&&(l=h,n=Math.ceil(l/o)),n<r&&(n=r,l=Math.ceil(n*o)),{width:l,height:n}},endCrop(){this.cropW===0&&this.cropH===0&&(this.cropping=!1);let[e,t]=this.checkCropLimitSize();const{width:i,height:s}=this.fixed?this.calculateSize(this.fixedNumber[0],this.fixedNumber[1],e,t,this.cropW,this.cropH):{width:e,height:t};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(e){if(e.preventDefault(),!this.canMoveBox)return this.crop=!1,this.startMove(e),!1;if(e.touches&&e.touches.length===2)return this.crop=!1,this.startMove(e),this.leaveCrop(),!1;window.addEventListener("mousemove",this.moveCrop),window.addEventListener("mouseup",this.leaveCrop),window.addEventListener("touchmove",this.moveCrop),window.addEventListener("touchend",this.leaveCrop);let t="clientX"in e?e.clientX:e.touches[0].clientX,i="clientY"in e?e.clientY:e.touches[0].clientY,s,h;s=t-this.cropOffsertX,h=i-this.cropOffsertY,this.cropX=s,this.cropY=h,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})},moveCrop(e,t){let i=0,s=0;e&&(e.preventDefault(),i="clientX"in e?e.clientX:e.touches[0].clientX,s="clientY"in e?e.clientY:e.touches[0].clientY),this.$nextTick(()=>{let h,r,o=i-this.cropX,l=s-this.cropY;if(t&&(o=this.cropOffsertX,l=this.cropOffsertY),o<=0?h=0:o+this.cropW>this.w?h=this.w-this.cropW:h=o,l<=0?r=0:l+this.cropH>this.h?r=this.h-this.cropH:r=l,this.centerBox){let n=this.getImgAxis();h<=n.x1&&(h=n.x1),h+this.cropW>n.x2&&(h=n.x2-this.cropW),r<=n.y1&&(r=n.y1),r+this.cropH>n.y2&&(r=n.y2-this.cropH)}this.cropOffsertX=h,this.cropOffsertY=r,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})})},getImgAxis(e,t,i){e=e||this.x,t=t||this.y,i=i||this.scale;let s={x1:0,x2:0,y1:0,y2:0},h=this.trueWidth*i,r=this.trueHeight*i;switch(this.rotate){case 0:s.x1=e+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=t+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i;break;case 1:case-1:case 3:case-3:s.x1=e+this.trueWidth*(1-i)/2+(h-r)/2,s.x2=s.x1+this.trueHeight*i,s.y1=t+this.trueHeight*(1-i)/2+(r-h)/2,s.y2=s.y1+this.trueWidth*i;break;default:s.x1=e+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=t+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i;break}return s},getCropAxis(){let e={x1:0,x2:0,y1:0,y2:0};return e.x1=this.cropOffsertX,e.x2=e.x1+this.cropW,e.y1=this.cropOffsertY,e.y2=e.y1+this.cropH,e},leaveCrop(e){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(e){let t=document.createElement("canvas"),i=new Image,s=this.rotate,h=this.trueWidth,r=this.trueHeight,o=this.cropOffsertX,l=this.cropOffsertY;i.onload=()=>{if(this.cropW!==0){let c=t.getContext("2d"),f=1;this.high&!this.full&&(f=window.devicePixelRatio),this.enlarge!==1&!this.full&&(f=Math.abs(Number(this.enlarge)));let g=this.cropW*f,C=this.cropH*f,m=h*this.scale*f,v=r*this.scale*f,d=(this.x-o+this.trueWidth*(1-this.scale)/2)*f,u=(this.y-l+this.trueHeight*(1-this.scale)/2)*f;switch(p(g,C),c.save(),this.fillColor&&(c.fillStyle=this.fillColor,c.fillRect(0,0,t.width,t.height)),s){case 0:this.full?(p(g/this.scale,C/this.scale),c.drawImage(i,d/this.scale,u/this.scale,m/this.scale,v/this.scale)):c.drawImage(i,d,u,m,v);break;case 1:case-3:this.full?(p(g/this.scale,C/this.scale),d=d/this.scale+(m/this.scale-v/this.scale)/2,u=u/this.scale+(v/this.scale-m/this.scale)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,u,-d-v/this.scale,m/this.scale,v/this.scale)):(d=d+(m-v)/2,u=u+(v-m)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,u,-d-v,m,v));break;case 2:case-2:this.full?(p(g/this.scale,C/this.scale),c.rotate(s*90*Math.PI/180),d=d/this.scale,u=u/this.scale,c.drawImage(i,-d-m/this.scale,-u-v/this.scale,m/this.scale,v/this.scale)):(c.rotate(s*90*Math.PI/180),c.drawImage(i,-d-m,-u-v,m,v));break;case 3:case-1:this.full?(p(g/this.scale,C/this.scale),d=d/this.scale+(m/this.scale-v/this.scale)/2,u=u/this.scale+(v/this.scale-m/this.scale)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,-u-m/this.scale,d,m/this.scale,v/this.scale)):(d=d+(m-v)/2,u=u+(v-m)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,-u-m,d,m,v));break;default:this.full?(p(g/this.scale,C/this.scale),c.drawImage(i,d/this.scale,u/this.scale,m/this.scale,v/this.scale)):c.drawImage(i,d,u,m,v)}c.restore()}else{let c=h*this.scale,f=r*this.scale,g=t.getContext("2d");switch(g.save(),this.fillColor&&(g.fillStyle=this.fillColor,g.fillRect(0,0,t.width,t.height)),s){case 0:p(c,f),g.drawImage(i,0,0,c,f);break;case 1:case-3:p(f,c),g.rotate(s*90*Math.PI/180),g.drawImage(i,0,-f,c,f);break;case 2:case-2:p(c,f),g.rotate(s*90*Math.PI/180),g.drawImage(i,-c,-f,c,f);break;case 3:case-1:p(f,c),g.rotate(s*90*Math.PI/180),g.drawImage(i,-c,0,c,f);break;default:p(c,f),g.drawImage(i,0,0,c,f)}g.restore()}e(t)};var n=this.img.substr(0,4);n!=="data"&&(i.crossOrigin="Anonymous"),i.src=this.imgs;function p(c,f){t.width=Math.round(c),t.height=Math.round(f)}},getCropData(e){this.getCropChecked(t=>{e(t.toDataURL("image/"+this.outputType,this.outputSize))})},getCropBlob(e){this.getCropChecked(t=>{t.toBlob(i=>e(i),"image/"+this.outputType,this.outputSize)})},showPreview(){if(this.isCanShow)this.isCanShow=!1,setTimeout(()=>{this.isCanShow=!0},16);else return!1;let e=this.cropW,t=this.cropH,i=this.scale;var s={};s.div={width:`${e}px`,height:`${t}px`};let h=(this.x-this.cropOffsertX)/i,r=(this.y-this.cropOffsertY)/i,o=0;s.w=e,s.h=t,s.url=this.imgs,s.img={width:`${this.trueWidth}px`,height:`${this.trueHeight}px`,transform:`scale(${i})translate3d(${h}px, ${r}px, ${o}px)rotateZ(${this.rotate*90}deg)`},s.html=`
2
2
  <div class="show-preview" style="width: ${s.w}px; height: ${s.h}px; overflow: hidden">
3
3
  <div style="width: ${e}px; height: ${t}px">
4
4
  <img src=${s.url} style="width: ${this.trueWidth}px; height: ${this.trueHeight}px; transform:
Binary file
@@ -1,6 +1,6 @@
1
1
  import { openBlock as O, createElementBlock as Y, withDirectives as T, createElementVNode as w, normalizeStyle as M, vShow as k, createCommentVNode as I, normalizeClass as R, toDisplayString as N, defineComponent as F, ref as S, onMounted as z, toRefs as D, reactive as U, resolveComponent as H, createVNode as v, withCtx as x, unref as b, createTextVNode as L } from "vue";
2
2
  import { E as j } from "./uploadAvatar.vue_vue_type_style_index_0_scoped_99513ec9_lang-Dmzfac6b.mjs";
3
- import { _ as B, W as V, d as A, X as q } from "./index-CMylLp55.mjs";
3
+ import { _ as B, W as V, d as A, X as q } from "./index-4eUyR-74.mjs";
4
4
  const G = {
5
5
  data: function() {
6
6
  return {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-DkjRqkHA.js"),I=require("./index-Ch9XAdvs.js"),w=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],i=(()=>{if(typeof document>"u")return!1;const n=w[0],r={};for(const t of w)if((t==null?void 0:t[1])in document){for(const[a,f]of t.entries())r[n[a]]=f;return r}return!1})(),C={change:i.fullscreenchange,error:i.fullscreenerror};let s={request(n=document.documentElement,r){return new Promise((t,d)=>{const a=()=>{s.off("change",a),t()};s.on("change",a);const f=n[i.requestFullscreen](r);f instanceof Promise&&f.then(a).catch(d)})},exit(){return new Promise((n,r)=>{if(!s.isFullscreen){n();return}const t=()=>{s.off("change",t),n()};s.on("change",t);const d=document[i.exitFullscreen]();d instanceof Promise&&d.then(t).catch(r)})},toggle(n,r){return s.isFullscreen?s.exit():s.request(n,r)},onchange(n){s.on("change",n)},onerror(n){s.on("error",n)},on(n,r){const t=C[n];t&&document.addEventListener(t,r,!1)},off(n,r){const t=C[n];t&&document.removeEventListener(t,r,!1)},raw:i};Object.defineProperties(s,{isFullscreen:{get:()=>!!document[i.fullscreenElement]},element:{enumerable:!0,get:()=>document[i.fullscreenElement]??void 0},isEnabled:{enumerable:!0,get:()=>!!document[i.fullscreenEnabled]}});i||(s={isEnabled:!1});const h=s,O=n=>(e.pushScopeId("data-v-5bbc849b"),n=n(),e.popScopeId(),n),L=O(()=>e.createElementVNode("i",{class:"icon-skin iconfont",title:"布局配置"},null,-1)),D=[L],U=["title"],j={class:"layout-navbars-breadcrumb-user-link"},H=["src"],$=e.defineComponent({name:"layoutBreadcrumbUser"}),G=e.defineComponent({...$,setup(n){const r=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./userNews-YYKPPuHP.js"))),t=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./search-DFEBs8ZY.js"))),d=I.useLoginController(),a=e.ref(),f=e.ref(),v=l.useRouter(),g=l.useUserInfo(),S=l.useThemeConfig(),{userInfos:_}=l.storeToRefs(g),{themeConfig:E}=l.storeToRefs(S),b=e.ref(),p=e.reactive({isScreenfull:!1,disabledSize:"large"}),k=e.computed(()=>{let o="";const{layout:c,isClassicSplitMenu:u}=E.value;return["defaults","columns"].includes(c)||c==="classic"&&!u?o="1":o="",o}),x=()=>{if(!h.isEnabled)return l.ElMessage.warning("暂不不支持全屏"),!1;h.toggle(),h.on("change",()=>{h.isFullscreen?p.isScreenfull=!0:p.isScreenfull=!1})},N=()=>{var o,c;(c=(o=e.unref(a).popperRef)==null?void 0:o.delayHide)==null||c.call(o)},F=()=>{l.mittBus.emit("openSetingsDrawer")},y=o=>{o==="logOut"?l.ElMessageBox({closeOnClickModal:!1,closeOnPressEscape:!1,title:"提示",message:"此操作将退出登录, 是否继续?",showCancelButton:!0,confirmButtonText:"确定",cancelButtonText:"取消",buttonSize:"default",beforeClose:(c,u,m)=>{c==="confirm"?(u.confirmButtonLoading=!0,u.confirmButtonText="退出中",d.postAjaxLogout().then(()=>{m()}).finally(()=>{u.confirmButtonLoading=!1})):m()}}).then(()=>{g.logout()}).catch(()=>{}):o==="wareHouse"?window.open("https://www.baidu.com"):v.push(o)},V=()=>{b.value.openSearch()},B=async(o,c)=>{p[c]=await l.systemStore.get("themeConfig").then(u=>l._.get(u,o,"large"))};return e.onMounted(async()=>{await l.systemStore.get("themeConfig")&&await B("globalComponentSize","disabledSize")}),(o,c)=>{const u=e.resolveComponent("ele-Search"),m=e.resolveComponent("el-icon"),q=e.resolveComponent("ele-Bell"),z=e.resolveComponent("el-badge"),R=e.resolveComponent("el-popover"),M=e.resolveComponent("ele-ArrowDown"),P=e.resolveComponent("el-dropdown-item"),T=e.resolveComponent("el-dropdown-menu"),A=e.resolveComponent("el-dropdown");return e.openBlock(),e.createElementBlock("div",{class:"layout-navbars-breadcrumb-user pr15",style:e.normalizeStyle({flex:k.value})},[e.createElementVNode("div",{class:"layout-navbars-breadcrumb-user-icon",onClick:V},[e.createVNode(m,{title:"菜单搜索"},{default:e.withCtx(()=>[e.createVNode(u)]),_:1})]),e.createElementVNode("div",{class:"layout-navbars-breadcrumb-user-icon",onClick:F},D),e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:"layout-navbars-breadcrumb-user-icon",ref_key:"userNewsBadgeRef",ref:f},[e.createVNode(z,{"is-dot":!0},{default:e.withCtx(()=>[e.createVNode(m,{title:"消息"},{default:e.withCtx(()=>[e.createVNode(q)]),_:1})]),_:1})])),[[e.unref(l.ClickOutside),N]]),e.createVNode(R,{ref_key:"userNewsRef",ref:a,"virtual-ref":f.value,placement:"bottom",trigger:"click",transition:"el-zoom-in-top","virtual-triggering":"",width:300,persistent:!1},{default:e.withCtx(()=>[e.createVNode(e.unref(r))]),_:1},8,["virtual-ref"]),e.createElementVNode("div",{class:"layout-navbars-breadcrumb-user-icon mr10",onClick:x},[e.createElementVNode("i",{class:e.normalizeClass(["iconfont",p.isScreenfull?"icon-tuichuquanping":"icon-fullscreen"]),title:p.isScreenfull?"关全屏":"开全屏"},null,10,U)]),e.createVNode(A,{"show-timeout":70,"hide-timeout":50,onCommand:y},{dropdown:e.withCtx(()=>[e.createVNode(T,null,{default:e.withCtx(()=>[e.createVNode(P,{divided:"",command:"logOut"},{default:e.withCtx(()=>[e.createTextVNode("退出登录")]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",j,[e.createElementVNode("img",{src:e.unref(_).photo,class:"layout-navbars-breadcrumb-user-link-photo mr5"},null,8,H),e.createTextVNode(" "+e.toDisplayString(e.unref(_).name===""?"common":e.unref(_).name)+" ",1),e.createVNode(m,{class:"el-icon--right"},{default:e.withCtx(()=>[e.createVNode(M)]),_:1})])]),_:1}),e.createVNode(e.unref(t),{ref_key:"searchRef",ref:b},null,512)],4)}}}),J=l._export_sfc(G,[["__scopeId","data-v-5bbc849b"]]);exports.default=J;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-AC42LajV.js"),I=require("./index-Bh4sBowt.js"),w=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],i=(()=>{if(typeof document>"u")return!1;const n=w[0],r={};for(const t of w)if((t==null?void 0:t[1])in document){for(const[a,f]of t.entries())r[n[a]]=f;return r}return!1})(),C={change:i.fullscreenchange,error:i.fullscreenerror};let s={request(n=document.documentElement,r){return new Promise((t,d)=>{const a=()=>{s.off("change",a),t()};s.on("change",a);const f=n[i.requestFullscreen](r);f instanceof Promise&&f.then(a).catch(d)})},exit(){return new Promise((n,r)=>{if(!s.isFullscreen){n();return}const t=()=>{s.off("change",t),n()};s.on("change",t);const d=document[i.exitFullscreen]();d instanceof Promise&&d.then(t).catch(r)})},toggle(n,r){return s.isFullscreen?s.exit():s.request(n,r)},onchange(n){s.on("change",n)},onerror(n){s.on("error",n)},on(n,r){const t=C[n];t&&document.addEventListener(t,r,!1)},off(n,r){const t=C[n];t&&document.removeEventListener(t,r,!1)},raw:i};Object.defineProperties(s,{isFullscreen:{get:()=>!!document[i.fullscreenElement]},element:{enumerable:!0,get:()=>document[i.fullscreenElement]??void 0},isEnabled:{enumerable:!0,get:()=>!!document[i.fullscreenEnabled]}});i||(s={isEnabled:!1});const h=s,O=n=>(e.pushScopeId("data-v-5bbc849b"),n=n(),e.popScopeId(),n),L=O(()=>e.createElementVNode("i",{class:"icon-skin iconfont",title:"布局配置"},null,-1)),D=[L],U=["title"],j={class:"layout-navbars-breadcrumb-user-link"},H=["src"],$=e.defineComponent({name:"layoutBreadcrumbUser"}),G=e.defineComponent({...$,setup(n){const r=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./userNews-DhMZ5lvb.js"))),t=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./search-BOvKQWFh.js"))),d=I.useLoginController(),a=e.ref(),f=e.ref(),v=l.useRouter(),g=l.useUserInfo(),S=l.useThemeConfig(),{userInfos:_}=l.storeToRefs(g),{themeConfig:E}=l.storeToRefs(S),b=e.ref(),p=e.reactive({isScreenfull:!1,disabledSize:"large"}),k=e.computed(()=>{let o="";const{layout:c,isClassicSplitMenu:u}=E.value;return["defaults","columns"].includes(c)||c==="classic"&&!u?o="1":o="",o}),x=()=>{if(!h.isEnabled)return l.ElMessage.warning("暂不不支持全屏"),!1;h.toggle(),h.on("change",()=>{h.isFullscreen?p.isScreenfull=!0:p.isScreenfull=!1})},N=()=>{var o,c;(c=(o=e.unref(a).popperRef)==null?void 0:o.delayHide)==null||c.call(o)},F=()=>{l.mittBus.emit("openSetingsDrawer")},y=o=>{o==="logOut"?l.ElMessageBox({closeOnClickModal:!1,closeOnPressEscape:!1,title:"提示",message:"此操作将退出登录, 是否继续?",showCancelButton:!0,confirmButtonText:"确定",cancelButtonText:"取消",buttonSize:"default",beforeClose:(c,u,m)=>{c==="confirm"?(u.confirmButtonLoading=!0,u.confirmButtonText="退出中",d.postAjaxLogout().then(()=>{m()}).finally(()=>{u.confirmButtonLoading=!1})):m()}}).then(()=>{g.logout()}).catch(()=>{}):o==="wareHouse"?window.open("https://www.baidu.com"):v.push(o)},V=()=>{b.value.openSearch()},B=async(o,c)=>{p[c]=await l.systemStore.get("themeConfig").then(u=>l._.get(u,o,"large"))};return e.onMounted(async()=>{await l.systemStore.get("themeConfig")&&await B("globalComponentSize","disabledSize")}),(o,c)=>{const u=e.resolveComponent("ele-Search"),m=e.resolveComponent("el-icon"),q=e.resolveComponent("ele-Bell"),z=e.resolveComponent("el-badge"),R=e.resolveComponent("el-popover"),M=e.resolveComponent("ele-ArrowDown"),P=e.resolveComponent("el-dropdown-item"),T=e.resolveComponent("el-dropdown-menu"),A=e.resolveComponent("el-dropdown");return e.openBlock(),e.createElementBlock("div",{class:"layout-navbars-breadcrumb-user pr15",style:e.normalizeStyle({flex:k.value})},[e.createElementVNode("div",{class:"layout-navbars-breadcrumb-user-icon",onClick:V},[e.createVNode(m,{title:"菜单搜索"},{default:e.withCtx(()=>[e.createVNode(u)]),_:1})]),e.createElementVNode("div",{class:"layout-navbars-breadcrumb-user-icon",onClick:F},D),e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:"layout-navbars-breadcrumb-user-icon",ref_key:"userNewsBadgeRef",ref:f},[e.createVNode(z,{"is-dot":!0},{default:e.withCtx(()=>[e.createVNode(m,{title:"消息"},{default:e.withCtx(()=>[e.createVNode(q)]),_:1})]),_:1})])),[[e.unref(l.ClickOutside),N]]),e.createVNode(R,{ref_key:"userNewsRef",ref:a,"virtual-ref":f.value,placement:"bottom",trigger:"click",transition:"el-zoom-in-top","virtual-triggering":"",width:300,persistent:!1},{default:e.withCtx(()=>[e.createVNode(e.unref(r))]),_:1},8,["virtual-ref"]),e.createElementVNode("div",{class:"layout-navbars-breadcrumb-user-icon mr10",onClick:x},[e.createElementVNode("i",{class:e.normalizeClass(["iconfont",p.isScreenfull?"icon-tuichuquanping":"icon-fullscreen"]),title:p.isScreenfull?"关全屏":"开全屏"},null,10,U)]),e.createVNode(A,{"show-timeout":70,"hide-timeout":50,onCommand:y},{dropdown:e.withCtx(()=>[e.createVNode(T,null,{default:e.withCtx(()=>[e.createVNode(P,{divided:"",command:"logOut"},{default:e.withCtx(()=>[e.createTextVNode("退出登录")]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",j,[e.createElementVNode("img",{src:e.unref(_).photo,class:"layout-navbars-breadcrumb-user-link-photo mr5"},null,8,H),e.createTextVNode(" "+e.toDisplayString(e.unref(_).name===""?"common":e.unref(_).name)+" ",1),e.createVNode(m,{class:"el-icon--right"},{default:e.withCtx(()=>[e.createVNode(M)]),_:1})])]),_:1}),e.createVNode(e.unref(t),{ref_key:"searchRef",ref:b},null,512)],4)}}}),J=l._export_sfc(G,[["__scopeId","data-v-5bbc849b"]]);exports.default=J;
Binary file
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as R, defineAsyncComponent as k, ref as S, reactive as J, computed as Q, onMounted as X, resolveComponent as a, openBlock as F, createElementBlock as E, normalizeStyle as Y, createElementVNode as g, createVNode as l, withCtx as u, withDirectives as Z, unref as p, normalizeClass as ee, createTextVNode as y, toDisplayString as ne, pushScopeId as te, popScopeId as oe } from "vue";
2
- import { a as le, K as se, c as re, s as x, W as B, a1 as ce, d as ae, m as ue, E as ie, e as fe, _ as me } from "./index-CMylLp55.mjs";
3
- import { u as de } from "./index-Em_1LC7a.mjs";
2
+ import { a as le, K as se, c as re, s as x, W as B, a1 as ce, d as ae, m as ue, E as ie, e as fe, _ as me } from "./index-4eUyR-74.mjs";
3
+ import { u as de } from "./index-BeiIahuT.mjs";
4
4
  const z = [
5
5
  [
6
6
  "requestFullscreen",
@@ -129,7 +129,7 @@ const h = s, _e = (e) => (te("data-v-5bbc849b"), e = e(), oe(), e), pe = /* @__P
129
129
  }), Ce = /* @__PURE__ */ R({
130
130
  ...Se,
131
131
  setup(e) {
132
- const o = k(() => import("./userNews-BdqamdQH.mjs")), n = k(() => import("./search-CS5RiQjp.mjs")), m = de(), f = S(), d = S(), M = le(), C = se(), q = re(), { userInfos: w } = x(C), { themeConfig: P } = x(q), v = S(), b = J({
132
+ const o = k(() => import("./userNews-DvUDGZhW.mjs")), n = k(() => import("./search-OxoQslho.mjs")), m = de(), f = S(), d = S(), M = le(), C = se(), q = re(), { userInfos: w } = x(C), { themeConfig: P } = x(q), v = S(), b = J({
133
133
  isScreenfull: !1,
134
134
  disabledSize: "large"
135
135
  }), I = Q(() => {
Binary file
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./index-DkjRqkHA.js"),d=o=>(e.pushScopeId("data-v-8abed4d4"),o=o(),e.popScopeId(),o),r={class:"layout-navbars-breadcrumb-user-news"},m={class:"head-box"},p=d(()=>e.createElementVNode("div",{class:"head-box-title"},"通知",-1)),_={class:"content-box"},u={class:"content-box-msg"},b={class:"content-box-time"},k=e.defineComponent({name:"layoutBreadcrumbUserNews"}),v=e.defineComponent({...k,setup(o){const t=e.reactive({newsList:[{label:"关于版本发布的通知",value:"华速消息",time:"2023-12-28"},{label:"关于学习交流的通知",value:"华速消息",time:"2023-12-28"}]}),c=()=>{t.newsList=[]},s=()=>{window.open("https://www.baidu.com")};return(w,y)=>{const l=e.resolveComponent("el-empty");return e.openBlock(),e.createElementBlock("div",r,[e.createElementVNode("div",m,[p,t.newsList.length>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"head-box-btn",onClick:c},"全部已读")):e.createCommentVNode("",!0)]),e.createElementVNode("div",_,[t.newsList.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.newsList,(n,a)=>(e.openBlock(),e.createElementBlock("div",{class:"content-box-item",key:a},[e.createElementVNode("div",null,e.toDisplayString(n.label),1),e.createElementVNode("div",u,e.toDisplayString(n.value),1),e.createElementVNode("div",b,e.toDisplayString(n.time),1)]))),128)):(e.openBlock(),e.createBlock(l,{key:1,description:"暂无通知"}))]),t.newsList.length>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"foot-box",onClick:s},"前往通知中心")):e.createCommentVNode("",!0)])}}}),h=i._export_sfc(v,[["__scopeId","data-v-8abed4d4"]]);exports.default=h;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./index-AC42LajV.js"),d=o=>(e.pushScopeId("data-v-8abed4d4"),o=o(),e.popScopeId(),o),r={class:"layout-navbars-breadcrumb-user-news"},m={class:"head-box"},p=d(()=>e.createElementVNode("div",{class:"head-box-title"},"通知",-1)),_={class:"content-box"},u={class:"content-box-msg"},b={class:"content-box-time"},k=e.defineComponent({name:"layoutBreadcrumbUserNews"}),v=e.defineComponent({...k,setup(o){const t=e.reactive({newsList:[{label:"关于版本发布的通知",value:"华速消息",time:"2023-12-28"},{label:"关于学习交流的通知",value:"华速消息",time:"2023-12-28"}]}),c=()=>{t.newsList=[]},s=()=>{window.open("https://www.baidu.com")};return(w,y)=>{const l=e.resolveComponent("el-empty");return e.openBlock(),e.createElementBlock("div",r,[e.createElementVNode("div",m,[p,t.newsList.length>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"head-box-btn",onClick:c},"全部已读")):e.createCommentVNode("",!0)]),e.createElementVNode("div",_,[t.newsList.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.newsList,(n,a)=>(e.openBlock(),e.createElementBlock("div",{class:"content-box-item",key:a},[e.createElementVNode("div",null,e.toDisplayString(n.label),1),e.createElementVNode("div",u,e.toDisplayString(n.value),1),e.createElementVNode("div",b,e.toDisplayString(n.time),1)]))),128)):(e.openBlock(),e.createBlock(l,{key:1,description:"暂无通知"}))]),t.newsList.length>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"foot-box",onClick:s},"前往通知中心")):e.createCommentVNode("",!0)])}}}),h=i._export_sfc(v,[["__scopeId","data-v-8abed4d4"]]);exports.default=h;
Binary file
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as l, reactive as p, resolveComponent as u, openBlock as e, createElementBlock as s, createElementVNode as t, createCommentVNode as i, Fragment as b, renderList as h, toDisplayString as a, createBlock as v, pushScopeId as w, popScopeId as k } from "vue";
2
- import { _ as x } from "./index-CMylLp55.mjs";
2
+ import { _ as x } from "./index-4eUyR-74.mjs";
3
3
  const y = (n) => (w("data-v-8abed4d4"), n = n(), k(), n), f = { class: "layout-navbars-breadcrumb-user-news" }, C = { class: "head-box" }, L = /* @__PURE__ */ y(() => /* @__PURE__ */ t("div", { class: "head-box-title" }, "通知", -1)), g = { class: "content-box" }, B = { class: "content-box-msg" }, I = { class: "content-box-time" }, N = l({
4
4
  name: "layoutBreadcrumbUserNews"
5
5
  }), S = /* @__PURE__ */ l({
Binary file
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./userSelect.vue_vue_type_script_setup_true_lang-CTuW6Pya.mjs";
1
+ import { _ as f } from "./userSelect.vue_vue_type_script_setup_true_lang-BmZsY_Rr.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./userSelect.vue_vue_type_script_setup_true_lang-Des1340K.js");exports.default=e._sfc_main;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./userSelect.vue_vue_type_script_setup_true_lang-ePnrP5Xm.js");exports.default=e._sfc_main;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as x, ref as d, onMounted as w, resolveComponent as s, openBlock as y, createElementBlock as g, createElementVNode as l, createVNode as o, withKeys as V, withCtx as m, createTextVNode as k } from "vue";
2
- import { w as C } from "./index-CMylLp55.mjs";
2
+ import { w as C } from "./index-4eUyR-74.mjs";
3
3
  const j = (t, n) => Object.assign(t, { other_log_info: { title: n } }), q = (t = {}) => (t = j(t, "获取全部用户列表"), C({
4
4
  url: "/scmp-web/pri/user/list_all",
5
5
  method: "get",
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),f=require("./index-DkjRqkHA.js"),h=(o,n)=>Object.assign(o,{other_log_info:{title:n}}),v=(o={})=>(o=h(o,"获取全部用户列表"),f.request({url:"/scmp-web/pri/user/list_all",method:"get",params:o}));function V(){return{getListAll:v}}const b={class:"h-full flex flex-col"},x={class:"flex justify-between items-center"},w=e.createElementVNode("span",null,"* 双击选择",-1),y={class:"flex-1"},N={class:"flex justify-center items-center py-[5px]"},C=e.defineComponent({__name:"userSelect",emits:["refresh","success"],setup(o,{emit:n}){const{getListAll:u}=V(),d=n,l=e.ref([]),c=async()=>{let a={qry_like_info:s.value};const t=await u(a);console.log(t),t.code===1&&(l.value=t.data)};e.onMounted(()=>{c()});const s=e.ref("");return(a,t)=>{const _=e.resolveComponent("hs-input"),r=e.resolveComponent("el-table-column"),m=e.resolveComponent("el-table"),p=e.resolveComponent("hs-button");return e.openBlock(),e.createElementBlock("div",b,[e.createElementVNode("div",x,[e.createVNode(_,{modelValue:s.value,"onUpdate:modelValue":t[0]||(t[0]=i=>s.value=i),placeholder:"请输入姓名,回车检索",clearable:"",class:"max-w-56",onKeydown:e.withKeys(c,["enter"])},null,8,["modelValue"]),w]),e.createElementVNode("div",y,[e.createVNode(m,{data:l.value,style:{width:"100%",height:"100%"}},{default:e.withCtx(()=>[e.createVNode(r,{prop:"name",label:"name"}),e.createVNode(r,{prop:"account",label:"account",width:"180"})]),_:1},8,["data"])]),e.createElementVNode("div",N,[e.createVNode(p,{size:"default",type:"default",class:"ml10",onClick:t[1]||(t[1]=i=>d("success","close"))},{default:e.withCtx(()=>[e.createTextVNode(" 取消 ")]),_:1})])])}}});exports._sfc_main=C;
1
+ "use strict";const e=require("vue"),f=require("./index-AC42LajV.js"),h=(o,n)=>Object.assign(o,{other_log_info:{title:n}}),v=(o={})=>(o=h(o,"获取全部用户列表"),f.request({url:"/scmp-web/pri/user/list_all",method:"get",params:o}));function V(){return{getListAll:v}}const b={class:"h-full flex flex-col"},x={class:"flex justify-between items-center"},w=e.createElementVNode("span",null,"* 双击选择",-1),y={class:"flex-1"},N={class:"flex justify-center items-center py-[5px]"},C=e.defineComponent({__name:"userSelect",emits:["refresh","success"],setup(o,{emit:n}){const{getListAll:u}=V(),d=n,l=e.ref([]),c=async()=>{let a={qry_like_info:s.value};const t=await u(a);console.log(t),t.code===1&&(l.value=t.data)};e.onMounted(()=>{c()});const s=e.ref("");return(a,t)=>{const _=e.resolveComponent("hs-input"),r=e.resolveComponent("el-table-column"),m=e.resolveComponent("el-table"),p=e.resolveComponent("hs-button");return e.openBlock(),e.createElementBlock("div",b,[e.createElementVNode("div",x,[e.createVNode(_,{modelValue:s.value,"onUpdate:modelValue":t[0]||(t[0]=i=>s.value=i),placeholder:"请输入姓名,回车检索",clearable:"",class:"max-w-56",onKeydown:e.withKeys(c,["enter"])},null,8,["modelValue"]),w]),e.createElementVNode("div",y,[e.createVNode(m,{data:l.value,style:{width:"100%",height:"100%"}},{default:e.withCtx(()=>[e.createVNode(r,{prop:"name",label:"name"}),e.createVNode(r,{prop:"account",label:"account",width:"180"})]),_:1},8,["data"])]),e.createElementVNode("div",N,[e.createVNode(p,{size:"default",type:"default",class:"ml10",onClick:t[1]||(t[1]=i=>d("success","close"))},{default:e.withCtx(()=>[e.createTextVNode(" 取消 ")]),_:1})])])}}});exports._sfc_main=C;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-DkjRqkHA.js"),y=e.defineComponent({name:"navMenuVertical"}),x=e.defineComponent({...y,props:{menuList:{type:Array,default:()=>[]}},setup(m){const p=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./subItem-aYAl_UfR.js"))),d=m,h=l.useThemeConfig(),{themeConfig:r}=l.storeToRefs(h),c=l.useRoute(),i=e.reactive({defaultActive:c.meta.isDynamic?c.meta.isDynamicPath:c.path,isCollapse:!1}),f=e.computed(()=>d.menuList),C=e.computed(()=>r.value),u=o=>{const{path:s,meta:n}=o,a=n!=null&&n.isDynamic?n.isDynamicPath.split("/"):s.split("/");return a.length>=4&&(n!=null&&n.isHide)?a.splice(0,3).join("/"):s},_=o=>{l.other.handleOpenLink(o)};return e.onMounted(()=>{i.defaultActive=u(c)}),l.onBeforeRouteUpdate(o=>{i.defaultActive=u(o),document.body.clientWidth<1e3&&(r.value.isCollapse=!1)}),e.watch(()=>r.value.isCollapse,o=>{document.body.clientWidth<=1e3?i.isCollapse=!1:i.isCollapse=o},{immediate:!0}),(o,s)=>{const n=e.resolveComponent("SvgIcon"),a=e.resolveComponent("el-sub-menu"),k=e.resolveComponent("el-menu-item"),g=e.resolveComponent("el-menu");return e.openBlock(),e.createBlock(g,{router:"","default-active":i.defaultActive,"background-color":"transparent",collapse:i.isCollapse,"unique-opened":C.value.isUniqueOpened,"collapse-transition":!1},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,t=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t.children&&t.children.length>0?(e.openBlock(),e.createBlock(a,{index:t.path,key:t.path},{title:e.withCtx(()=>[e.createVNode(n,{name:t.meta.icon},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(t.meta.title),1)]),default:e.withCtx(()=>[e.createVNode(e.unref(p),{chil:t.children},null,8,["chil"])]),_:2},1032,["index"])):(e.openBlock(),e.createBlock(k,{index:t.path,key:t.path},e.createSlots({default:e.withCtx(()=>[e.createVNode(n,{name:t.meta.icon},null,8,["name"])]),_:2},[!t.meta.isLink||t.meta.isLink&&t.meta.isIframe?{name:"title",fn:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(t.meta.title),1)]),key:"0"}:{name:"title",fn:e.withCtx(()=>[e.createElementVNode("a",{class:"w100",onClick:e.withModifiers(B=>_(t),["prevent"])},e.toDisplayString(t.meta.title),9,["onClick"])]),key:"1"}]),1032,["index"]))],64))),256))]),_:1},8,["default-active","collapse","unique-opened"])}}});exports.default=x;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-AC42LajV.js"),y=e.defineComponent({name:"navMenuVertical"}),x=e.defineComponent({...y,props:{menuList:{type:Array,default:()=>[]}},setup(m){const p=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./subItem-C7zIlEKQ.js"))),d=m,h=l.useThemeConfig(),{themeConfig:r}=l.storeToRefs(h),c=l.useRoute(),i=e.reactive({defaultActive:c.meta.isDynamic?c.meta.isDynamicPath:c.path,isCollapse:!1}),f=e.computed(()=>d.menuList),C=e.computed(()=>r.value),u=o=>{const{path:s,meta:n}=o,a=n!=null&&n.isDynamic?n.isDynamicPath.split("/"):s.split("/");return a.length>=4&&(n!=null&&n.isHide)?a.splice(0,3).join("/"):s},_=o=>{l.other.handleOpenLink(o)};return e.onMounted(()=>{i.defaultActive=u(c)}),l.onBeforeRouteUpdate(o=>{i.defaultActive=u(o),document.body.clientWidth<1e3&&(r.value.isCollapse=!1)}),e.watch(()=>r.value.isCollapse,o=>{document.body.clientWidth<=1e3?i.isCollapse=!1:i.isCollapse=o},{immediate:!0}),(o,s)=>{const n=e.resolveComponent("SvgIcon"),a=e.resolveComponent("el-sub-menu"),k=e.resolveComponent("el-menu-item"),g=e.resolveComponent("el-menu");return e.openBlock(),e.createBlock(g,{router:"","default-active":i.defaultActive,"background-color":"transparent",collapse:i.isCollapse,"unique-opened":C.value.isUniqueOpened,"collapse-transition":!1},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,t=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t.children&&t.children.length>0?(e.openBlock(),e.createBlock(a,{index:t.path,key:t.path},{title:e.withCtx(()=>[e.createVNode(n,{name:t.meta.icon},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(t.meta.title),1)]),default:e.withCtx(()=>[e.createVNode(e.unref(p),{chil:t.children},null,8,["chil"])]),_:2},1032,["index"])):(e.openBlock(),e.createBlock(k,{index:t.path,key:t.path},e.createSlots({default:e.withCtx(()=>[e.createVNode(n,{name:t.meta.icon},null,8,["name"])]),_:2},[!t.meta.isLink||t.meta.isLink&&t.meta.isIframe?{name:"title",fn:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(t.meta.title),1)]),key:"0"}:{name:"title",fn:e.withCtx(()=>[e.createElementVNode("a",{class:"w100",onClick:e.withModifiers(B=>_(t),["prevent"])},e.toDisplayString(t.meta.title),9,["onClick"])]),key:"1"}]),1032,["index"]))],64))),256))]),_:1},8,["default-active","collapse","unique-opened"])}}});exports.default=x;
Binary file
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as g, defineAsyncComponent as I, reactive as T, computed as _, onMounted as W, watch as q, resolveComponent as u, openBlock as s, createBlock as m, withCtx as o, createElementBlock as C, Fragment as k, renderList as v, createVNode as p, createElementVNode as d, toDisplayString as f, unref as M, createSlots as P, withModifiers as R } from "vue";
2
- import { c as V, s as E, u as H, $ as N, Z as O } from "./index-CMylLp55.mjs";
2
+ import { c as V, s as E, u as H, $ as N, Z as O } from "./index-4eUyR-74.mjs";
3
3
  const U = g({
4
4
  name: "navMenuVertical"
5
5
  }), Z = /* @__PURE__ */ g({
@@ -12,7 +12,7 @@ const U = g({
12
12
  }
13
13
  },
14
14
  setup(y) {
15
- const L = I(() => import("./subItem-BnACgprL.mjs")), x = y, A = V(), { themeConfig: r } = E(A), l = H(), i = T({
15
+ const L = I(() => import("./subItem-t3Gv2zXD.mjs")), x = y, A = V(), { themeConfig: r } = E(A), l = H(), i = T({
16
16
  defaultActive: l.meta.isDynamic ? l.meta.isDynamicPath : l.path,
17
17
  isCollapse: !1
18
18
  }), b = _(() => x.menuList), S = _(() => r.value), h = (n) => {
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hs-admin-ui",
3
- "version": "3.3.6",
3
+ "version": "3.3.8",
4
4
  "description": "vue3 + typescript5 + vite5 的框架",
5
5
  "author": "wgd",
6
6
  "private": false,
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,4 +0,0 @@
1
- import { y as f } from "./index-CMylLp55.mjs";
2
- export {
3
- f as default
4
- };
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file