hs-admin-ui 2.0.8 → 2.1.1

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 (510) hide show
  1. package/dist/{401-5bQiyoHq.mjs → 401-C1tOP53E.mjs} +1 -1
  2. package/dist/401-C1tOP53E.mjs.gz +0 -0
  3. package/dist/{401-TbB8pEp0.js → 401-CM9ngIpp.js} +1 -1
  4. package/dist/401-CM9ngIpp.js.gz +0 -0
  5. package/dist/{404-C738pqru.mjs → 404-BxSkDtml.mjs} +1 -1
  6. package/dist/{404-C738pqru.mjs.gz → 404-BxSkDtml.mjs.gz} +0 -0
  7. package/dist/{404-Dgh539p3.js → 404-C2LAHe7c.js} +1 -1
  8. package/dist/404-C2LAHe7c.js.gz +0 -0
  9. package/dist/{account-BPcMPK9B.js → account-BQr6bxEr.js} +1 -1
  10. package/dist/account-BQr6bxEr.js.gz +0 -0
  11. package/dist/{account-DY86oly1.mjs → account-D2GAs5a9.mjs} +2 -2
  12. package/dist/account-D2GAs5a9.mjs.gz +0 -0
  13. package/dist/{aside-myN7vj0W.mjs → aside-4TjWSIqb.mjs} +2 -2
  14. package/dist/aside-4TjWSIqb.mjs.gz +0 -0
  15. package/dist/{aside-D_n8wi2i.js → aside-Du-aJfJS.js} +1 -1
  16. package/dist/aside-Du-aJfJS.js.gz +0 -0
  17. package/dist/{btnIndex-CbFCFqVf.mjs → btnIndex-26sPKW-z.mjs} +2 -2
  18. package/dist/btnIndex-26sPKW-z.mjs.gz +0 -0
  19. package/dist/{btnIndex-DQndvDFs.js → btnIndex-BFC7A544.js} +1 -1
  20. package/dist/btnIndex-BFC7A544.js.gz +0 -0
  21. package/dist/{classic-Caj3UtW-.mjs → classic-CwjVI9IF.mjs} +2 -2
  22. package/dist/classic-CwjVI9IF.mjs.gz +0 -0
  23. package/dist/{classic-C1xKsx1D.js → classic-DBkLAWyf.js} +1 -1
  24. package/dist/classic-DBkLAWyf.js.gz +0 -0
  25. package/dist/{columns-C0EA-ler.mjs → columns-BcMmS3gZ.mjs} +2 -2
  26. package/dist/columns-BcMmS3gZ.mjs.gz +0 -0
  27. package/dist/{columns-v89-6gN4.js → columns-CoQbwLnU.js} +1 -1
  28. package/dist/columns-CoQbwLnU.js.gz +0 -0
  29. package/dist/{columnsAside-CNTfkxSc.mjs → columnsAside-DG6hkQRq.mjs} +1 -1
  30. package/dist/columnsAside-DG6hkQRq.mjs.gz +0 -0
  31. package/dist/{columnsAside-jJ0KtAQc.js → columnsAside-DR_0RzJK.js} +1 -1
  32. package/dist/columnsAside-DR_0RzJK.js.gz +0 -0
  33. package/dist/{contextmenu-BLLXKyXX.mjs → contextmenu--R-3hkD7.mjs} +1 -1
  34. package/dist/contextmenu--R-3hkD7.mjs.gz +0 -0
  35. package/dist/{contextmenu-fZvlOZR0.js → contextmenu-CrE0VymN.js} +1 -1
  36. package/dist/contextmenu-CrE0VymN.js.gz +0 -0
  37. package/dist/{contextmenu-uTyx_1Ht.mjs → contextmenu-JrxtTVzR.mjs} +1 -1
  38. package/dist/contextmenu-JrxtTVzR.mjs.gz +0 -0
  39. package/dist/{contextmenu-DJNHjilj.js → contextmenu-mzbmtLIr.js} +1 -1
  40. package/dist/contextmenu-mzbmtLIr.js.gz +0 -0
  41. package/dist/{defaults-B6_AT7sw.js → defaults-BNfoVKf5.js} +1 -1
  42. package/dist/defaults-BNfoVKf5.js.gz +0 -0
  43. package/dist/{defaults-DyPGsEiq.mjs → defaults-uuZcI6DA.mjs} +2 -2
  44. package/dist/defaults-uuZcI6DA.mjs.gz +0 -0
  45. package/dist/{dialog-CLUbRcp8.mjs → dialog-BrkQjXkw.mjs} +1 -1
  46. package/dist/{dialog-tu3Odc5q.js → dialog-BvoNEOK3.js} +1 -1
  47. package/dist/{dialog-B6xpiGcQ.mjs → dialog-By4kk5ji.mjs} +1 -1
  48. package/dist/{dialog-cMV7JYAs.js → dialog-DHjdsKJC.js} +1 -1
  49. package/dist/{dialog-CDMDefTf.js → dialog-g83RneVy.js} +1 -1
  50. package/dist/{dialog-CAG8mAz0.mjs → dialog-vhcbcbLg.mjs} +1 -1
  51. package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-VQE-wZLA.js → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-4RF0_wk8.js} +1 -1
  52. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-4RF0_wk8.js.gz +0 -0
  53. package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-C8mCw5N5.mjs → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-CQYpSe1o.mjs} +2 -2
  54. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-CQYpSe1o.mjs.gz +0 -0
  55. package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-iQWUkBdr.js → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-BCjwfE91.js} +1 -1
  56. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-BCjwfE91.js.gz +0 -0
  57. package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-GcpT6XDd.mjs → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CLUqWLhW.mjs} +2 -2
  58. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CLUqWLhW.mjs.gz +0 -0
  59. package/dist/{dictDialog-C2YXPmnH.js → dictDialog-CK2OzhV_.js} +1 -1
  60. package/dist/{dictDialog-DvjR7Svm.mjs → dictDialog-DKbes1HB.mjs} +1 -1
  61. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-C0PeDchC.js +1 -0
  62. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-C0PeDchC.js.gz +0 -0
  63. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-DRdFnbtI.mjs +122 -0
  64. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-DRdFnbtI.mjs.gz +0 -0
  65. package/dist/{dictItemDialog-BTptODBn.js → dictItemDialog-0P08LS_B.js} +1 -1
  66. package/dist/{dictItemDialog-Fb8Jqw2E.mjs → dictItemDialog-B64O3UEn.mjs} +1 -1
  67. package/dist/dictItemDialog.vue_vue_type_script_setup_true_name_dictItemDialog_lang--BBWO9pg.mjs +201 -0
  68. package/dist/dictItemDialog.vue_vue_type_script_setup_true_name_dictItemDialog_lang--BBWO9pg.mjs.gz +0 -0
  69. package/dist/dictItemDialog.vue_vue_type_script_setup_true_name_dictItemDialog_lang-Dk42gT7P.js +1 -0
  70. package/dist/dictItemDialog.vue_vue_type_script_setup_true_name_dictItemDialog_lang-Dk42gT7P.js.gz +0 -0
  71. package/dist/{formConfig-D4JdBpQf.js → formConfig-B7434zPI.js} +1 -1
  72. package/dist/formConfig-B7434zPI.js.gz +0 -0
  73. package/dist/{formConfig-DBlgAyhC.mjs → formConfig-CGz2nL0H.mjs} +4 -4
  74. package/dist/formConfig-CGz2nL0H.mjs.gz +0 -0
  75. package/dist/{header-BtC-WqyB.js → header-BoMT2pgg.js} +1 -1
  76. package/dist/{header-DZ_orF_b.mjs → header-CFnwA6D3.mjs} +2 -2
  77. package/dist/{horizontal-CD_WJDf8.js → horizontal-DvYAmqLx.js} +1 -1
  78. package/dist/horizontal-DvYAmqLx.js.gz +0 -0
  79. package/dist/{horizontal-CrteZtsW.mjs → horizontal-xVLeLj7z.mjs} +2 -2
  80. package/dist/horizontal-xVLeLj7z.mjs.gz +0 -0
  81. package/dist/{hsAttrBtn-CiitJg60.mjs → hsAttrBtn-jHeUkLTM.mjs} +1 -1
  82. package/dist/{hsAttrBtn-DmWXqOIW.js → hsAttrBtn-zWr_yK1Z.js} +1 -1
  83. package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-tBewt8fw.js → hsAttrBtn.vue_vue_type_script_setup_true_lang-5wL30Bo6.js} +1 -1
  84. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-5wL30Bo6.js.gz +0 -0
  85. package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-DMMFgy9g.mjs → hsAttrBtn.vue_vue_type_script_setup_true_lang-BuGz2Rk6.mjs} +2 -2
  86. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-BuGz2Rk6.mjs.gz +0 -0
  87. package/dist/{hsAttrForm-DIz-bI61.mjs → hsAttrForm-BDqXVQ4r.mjs} +1 -1
  88. package/dist/{hsAttrForm-CyJLwZqQ.js → hsAttrForm-CUSdlLUh.js} +1 -1
  89. package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-DVJHk-QI.js → hsAttrForm.vue_vue_type_script_setup_true_lang-CApEmBOK.js} +1 -1
  90. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-CApEmBOK.js.gz +0 -0
  91. package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-BKB9gjZ6.mjs → hsAttrForm.vue_vue_type_script_setup_true_lang-Dyi4bUXy.mjs} +1 -1
  92. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-Dyi4bUXy.mjs.gz +0 -0
  93. package/dist/{hsBtnConfigList-Du_ffIlc.mjs → hsBtnConfigList-CE0wz2Id.mjs} +1 -1
  94. package/dist/hsBtnConfigList-CE0wz2Id.mjs.gz +0 -0
  95. package/dist/{hsBtnConfigList-DBjjTRSf.js → hsBtnConfigList-CpSko9Ie.js} +1 -1
  96. package/dist/hsBtnConfigList-CpSko9Ie.js.gz +0 -0
  97. package/dist/{hsBtnItemConfig-B-01Um-C.js → hsBtnItemConfig-DDj3H4kX.js} +1 -1
  98. package/dist/{hsBtnItemConfig-Dishbs6q.mjs → hsBtnItemConfig-DGHsgcXC.mjs} +1 -1
  99. package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-KKvVplhZ.mjs → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-CuyWgV3N.mjs} +1 -1
  100. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-CuyWgV3N.mjs.gz +0 -0
  101. package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-BTBwd-8e.js → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DsiCSzsX.js} +1 -1
  102. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DsiCSzsX.js.gz +0 -0
  103. package/dist/{hsBtnPanel-BprYeLkv.mjs → hsBtnPanel-BE3MCmcl.mjs} +1 -1
  104. package/dist/{hsBtnPanel-D1njqFR1.js → hsBtnPanel-CatvlmZk.js} +1 -1
  105. package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CoOxwj3p.js → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-B-Si9sVK.js} +1 -1
  106. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-B-Si9sVK.js.gz +0 -0
  107. package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BUKoDjF1.mjs → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-Dktp8dVO.mjs} +3 -3
  108. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-Dktp8dVO.mjs.gz +0 -0
  109. package/dist/{hsFormConfig-BbT2pHaD.js → hsFormConfig-DL1CVmra.js} +1 -1
  110. package/dist/hsFormConfig-DL1CVmra.js.gz +0 -0
  111. package/dist/{hsFormConfig-BFikMTNz.mjs → hsFormConfig-sO_Y7F0W.mjs} +1 -1
  112. package/dist/hsFormConfig-sO_Y7F0W.mjs.gz +0 -0
  113. package/dist/{hsFormConfigList-BKr5tl-F.js → hsFormConfigList-CTmwWseS.js} +1 -1
  114. package/dist/hsFormConfigList-CTmwWseS.js.gz +0 -0
  115. package/dist/{hsFormConfigList-Ck2T7i7I.mjs → hsFormConfigList-D55ApM8i.mjs} +2 -2
  116. package/dist/hsFormConfigList-D55ApM8i.mjs.gz +0 -0
  117. package/dist/{hsFormPanel-DrMm_goO.mjs → hsFormPanel-BD90Wmys.mjs} +1 -1
  118. package/dist/{hsFormPanel-DJGEsxs8.js → hsFormPanel-C42N5yzL.js} +1 -1
  119. package/dist/{hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-tuSwf7yN.mjs → hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-B7CFTIBO.mjs} +4 -4
  120. package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-B7CFTIBO.mjs.gz +0 -0
  121. package/dist/{hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CNg_kFv0.js → hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-vQL3Nat1.js} +1 -1
  122. package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-vQL3Nat1.js.gz +0 -0
  123. package/dist/{hsFormParse-v0HkHF_x.js → hsFormParse-783Gk2vt.js} +1 -1
  124. package/dist/{hsFormParse-D7IGG375.mjs → hsFormParse-DnxeR2CV.mjs} +1 -1
  125. package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-DW270oCm.js → hsFormParse.vue_vue_type_script_setup_true_lang-42VSk-K2.js} +1 -1
  126. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-42VSk-K2.js.gz +0 -0
  127. package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-CLkixeOB.mjs → hsFormParse.vue_vue_type_script_setup_true_lang-Cfm589va.mjs} +1 -1
  128. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-Cfm589va.mjs.gz +0 -0
  129. package/dist/{hsPageTree-DLTZ1W0-.mjs → hsPageTree-C7m_L84t.mjs} +1 -1
  130. package/dist/hsPageTree-C7m_L84t.mjs.gz +0 -0
  131. package/dist/{hsPageTree-DLholakR.js → hsPageTree-vrGdu9BV.js} +1 -1
  132. package/dist/hsPageTree-vrGdu9BV.js.gz +0 -0
  133. package/dist/{hsPanelItem-D9ju3ObO.mjs → hsPanelItem-4y8rJuTo.mjs} +1 -1
  134. package/dist/{hsPanelItem-B6C_rrmA.js → hsPanelItem-DKh930v6.js} +1 -1
  135. package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-BQdg36uc.mjs → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-D3zy7lBY.mjs} +1 -1
  136. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-D3zy7lBY.mjs.gz +0 -0
  137. package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-D7EeLu76.js → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-DShSG06E.js} +1 -1
  138. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-DShSG06E.js.gz +0 -0
  139. package/dist/{iframes-DHh2z5a1.mjs → iframes-BoFcfaRi.mjs} +1 -1
  140. package/dist/iframes-BoFcfaRi.mjs.gz +0 -0
  141. package/dist/{iframes-CY3jB8WQ.js → iframes-DHNHEZx9.js} +1 -1
  142. package/dist/iframes-DHNHEZx9.js.gz +0 -0
  143. package/dist/index-2S6Q7cIs.mjs +315 -0
  144. package/dist/index-2S6Q7cIs.mjs.gz +0 -0
  145. package/dist/{index-BXOQXymW.js → index-3-dXWPJS.js} +1 -1
  146. package/dist/index-3-dXWPJS.js.gz +0 -0
  147. package/dist/{index-BNZbL4Yd.mjs → index-B1AkeBHg.mjs} +1 -1
  148. package/dist/index-B1AkeBHg.mjs.gz +0 -0
  149. package/dist/{index-CQmw3Vz2.js → index-B5JOTd5_.js} +1 -1
  150. package/dist/{index-N2dlr3Tl.js → index-B6ZdZWmV.js} +1 -1
  151. package/dist/index-B6ZdZWmV.js.gz +0 -0
  152. package/dist/{index-DpYzq0I2.mjs → index-BDNvhWsc.mjs} +1 -1
  153. package/dist/index-BDNvhWsc.mjs.gz +0 -0
  154. package/dist/{index-BNVxjqyn.js → index-BEEadcEV.js} +1 -1
  155. package/dist/index-BEEadcEV.js.gz +0 -0
  156. package/dist/{index-DSLYtlxC.mjs → index-BKr91ja0.mjs} +1 -1
  157. package/dist/index-BKr91ja0.mjs.gz +0 -0
  158. package/dist/{index-CVhNYXBC.mjs → index-BOjQBRhK.mjs} +3 -3
  159. package/dist/index-BOjQBRhK.mjs.gz +0 -0
  160. package/dist/{index-J4WCqyNl.mjs → index-BWigNbCU.mjs} +1 -1
  161. package/dist/index-BWigNbCU.mjs.gz +0 -0
  162. package/dist/{index-C7AnbQC6.js → index-BXZEBjfN.js} +1 -1
  163. package/dist/index-BXZEBjfN.js.gz +0 -0
  164. package/dist/index-BarcsuRP.js +1 -0
  165. package/dist/index-BarcsuRP.js.gz +0 -0
  166. package/dist/{index-Cc8u-oz4.js → index-BcKbaKwb.js} +1 -1
  167. package/dist/index-BcKbaKwb.js.gz +0 -0
  168. package/dist/{index-D24SX1TC.mjs → index-Bj2nTeEN.mjs} +18835 -18703
  169. package/dist/index-Bj2nTeEN.mjs.gz +0 -0
  170. package/dist/{index-BR3-laoW.js → index-BmQY0dVD.js} +59 -59
  171. package/dist/index-BmQY0dVD.js.gz +0 -0
  172. package/dist/{index-CtGg0_BV.mjs → index-Bp0D8K_C.mjs} +2 -2
  173. package/dist/index-Bp0D8K_C.mjs.gz +0 -0
  174. package/dist/index-BpW246sL.mjs +4 -0
  175. package/dist/{index-DNDlpoLZ.mjs → index-C-6x5fzb.mjs} +1 -1
  176. package/dist/{index-bTzWQLsv.js → index-C0G8ZFy7.js} +1 -1
  177. package/dist/index-C0G8ZFy7.js.gz +0 -0
  178. package/dist/{index-CeJb_X3J.js → index-C7XBmuG3.js} +1 -1
  179. package/dist/index-C7XBmuG3.js.gz +0 -0
  180. package/dist/{index-vXHertyn.js → index-CCT7Lo1A.js} +1 -1
  181. package/dist/index-CCT7Lo1A.js.gz +0 -0
  182. package/dist/{index-Cr8y30bC.mjs → index-CGlchYb2.mjs} +5 -5
  183. package/dist/index-CGlchYb2.mjs.gz +0 -0
  184. package/dist/{index-C6KmE1AH.js → index-CI2MSsRT.js} +1 -1
  185. package/dist/index-CI2MSsRT.js.gz +0 -0
  186. package/dist/{index-B1i4ZWFJ.mjs → index-CNhZqz2J.mjs} +1 -1
  187. package/dist/index-CNhZqz2J.mjs.gz +0 -0
  188. package/dist/{index-CAsMVOZB.mjs → index-CPLRb9IC.mjs} +3 -3
  189. package/dist/index-CPLRb9IC.mjs.gz +0 -0
  190. package/dist/{index-DxkOeQ9I.js → index-CQQz3GYn.js} +1 -1
  191. package/dist/{index-BMF5PAxD.mjs → index-CRjyFjOF.mjs} +1 -1
  192. package/dist/index-CRjyFjOF.mjs.gz +0 -0
  193. package/dist/{index-DbARGeiF.mjs → index-CZmEqOZC.mjs} +2 -2
  194. package/dist/index-CZmEqOZC.mjs.gz +0 -0
  195. package/dist/{index-CAJWyhyB.js → index-CnDtgPSb.js} +1 -1
  196. package/dist/{index-icvQTTDb.js → index-CrV21mMg.js} +1 -1
  197. package/dist/index-CrV21mMg.js.gz +0 -0
  198. package/dist/{index-BL6Fv4t5.mjs → index-CuqgNTRS.mjs} +1 -1
  199. package/dist/{index-DGQIkmDR.js → index-CyMFyNAk.js} +1 -1
  200. package/dist/index-CyMFyNAk.js.gz +0 -0
  201. package/dist/{index-DJs_pqAc.js → index-D0YAJyK3.js} +1 -1
  202. package/dist/index-D9zlRpee.mjs +63 -0
  203. package/dist/index-D9zlRpee.mjs.gz +0 -0
  204. package/dist/{index-PMAw2P92.js → index-DERSy2bW.js} +1 -1
  205. package/dist/index-DERSy2bW.js.gz +0 -0
  206. package/dist/{index-Db9xvowC.mjs → index-DKHlGH_M.mjs} +4 -4
  207. package/dist/index-DKHlGH_M.mjs.gz +0 -0
  208. package/dist/index-DKUfLk6l.js +1 -0
  209. package/dist/index-DKUfLk6l.js.gz +0 -0
  210. package/dist/{index-BP90vVG7.js → index-DLiZOJJx.js} +1 -1
  211. package/dist/index-DLiZOJJx.js.gz +0 -0
  212. package/dist/{index-IybpmNme.js → index-DNIWKyHc.js} +1 -1
  213. package/dist/index-DNIWKyHc.js.gz +0 -0
  214. package/dist/index-DPBoDruA.mjs +22 -0
  215. package/dist/{index-CxzDYESw.mjs → index-DQ_-nGkE.mjs} +1 -1
  216. package/dist/{index-CcxEf75I.js → index-DQfLSJHG.js} +1 -1
  217. package/dist/index-DQfLSJHG.js.gz +0 -0
  218. package/dist/{index-DzaAr6rb.mjs → index-DVMPRI89.mjs} +1 -1
  219. package/dist/{index-DyEb0Sei.mjs → index-DWj7Jy8L.mjs} +2 -2
  220. package/dist/index-DWj7Jy8L.mjs.gz +0 -0
  221. package/dist/{index-BjIfzPUL.js → index-DdVKxksV.js} +1 -1
  222. package/dist/index-DdVKxksV.js.gz +0 -0
  223. package/dist/{index-D38kGZQ8.mjs → index-DfgEax1_.mjs} +2 -2
  224. package/dist/index-DfgEax1_.mjs.gz +0 -0
  225. package/dist/{index-QO6ByloK.js → index-DmOZeyWk.js} +1 -1
  226. package/dist/index-DmOZeyWk.js.gz +0 -0
  227. package/dist/{index-WN0hmWK9.mjs → index-Dpne1mrx.mjs} +1 -1
  228. package/dist/{index-Bf8KRRRY.mjs → index-F3dHFxt1.mjs} +2 -2
  229. package/dist/{index-Bd4iK6w0.mjs → index-GZJ_4S80.mjs} +1 -1
  230. package/dist/index-GZJ_4S80.mjs.gz +0 -0
  231. package/dist/{index-CUVKaNzF.js → index-IqXWWBGa.js} +1 -1
  232. package/dist/{index-CTUu36dp.js → index-LTEq3HjM.js} +1 -1
  233. package/dist/index-LTEq3HjM.js.gz +0 -0
  234. package/dist/{index-w22DbxfI.mjs → index-cwYIbFfB.mjs} +1 -1
  235. package/dist/index-cwYIbFfB.mjs.gz +0 -0
  236. package/dist/index-dNlxRjs2.js +1 -0
  237. package/dist/{index-rqd2KlJT.mjs → index-ix4Sv3du.mjs} +2 -2
  238. package/dist/index-ix4Sv3du.mjs.gz +0 -0
  239. package/dist/{index-vj0RYGjI.mjs → index-kuAnyWO5.mjs} +1 -1
  240. package/dist/index-kuAnyWO5.mjs.gz +0 -0
  241. package/dist/{index-BRN7TtmZ.js → index-liA2WUCb.js} +1 -1
  242. package/dist/{index-9uNMitkO.js → index-mhXoDdKN.js} +1 -1
  243. package/dist/index-mhXoDdKN.js.gz +0 -0
  244. package/dist/{index-t-xuI0wc.js → index-pec9YE9Q.js} +1 -1
  245. package/dist/{index-BAU6MDpM.mjs → index-vl6nFUQ-.mjs} +1 -1
  246. package/dist/index-vl6nFUQ-.mjs.gz +0 -0
  247. package/dist/index.js +1 -1
  248. package/dist/index.mjs +1 -1
  249. package/dist/{index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-DSrl19_y.mjs → index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-Bwx7YhN1.mjs} +23 -24
  250. package/dist/index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-Bwx7YhN1.mjs.gz +0 -0
  251. package/dist/index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-D_lSb7M_.js +1 -0
  252. package/dist/index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-D_lSb7M_.js.gz +0 -0
  253. package/dist/{link-D0bmBTdm.js → link-BKz1aXZt.js} +1 -1
  254. package/dist/link-BKz1aXZt.js.gz +0 -0
  255. package/dist/{link-BQzNzl7w.mjs → link-CtdEF5hT.mjs} +1 -1
  256. package/dist/link-CtdEF5hT.mjs.gz +0 -0
  257. package/dist/{list-2jO9-75F.mjs → list-BvRT_pNf.mjs} +1 -1
  258. package/dist/list-BvRT_pNf.mjs.gz +0 -0
  259. package/dist/{list-BX98KYFt.js → list-CyNFHoEQ.js} +1 -1
  260. package/dist/list-CyNFHoEQ.js.gz +0 -0
  261. package/dist/{main-8-nYEkR5.mjs → main-CDo8K2cg.mjs} +2 -2
  262. package/dist/main-CDo8K2cg.mjs.gz +0 -0
  263. package/dist/{main-NDjqGGmt.js → main-D2e08ljN.js} +1 -1
  264. package/dist/main-D2e08ljN.js.gz +0 -0
  265. package/dist/{mobile-CaiOd8ej.mjs → mobile-Bbq2sUBF.mjs} +1 -1
  266. package/dist/mobile-Bbq2sUBF.mjs.gz +0 -0
  267. package/dist/{mobile-DxykpLH8.js → mobile-Cxru2UPD.js} +1 -1
  268. package/dist/mobile-Cxru2UPD.js.gz +0 -0
  269. package/dist/{parent-CJ-fF34-.js → parent-CXeZCIDz.js} +1 -1
  270. package/dist/parent-CXeZCIDz.js.gz +0 -0
  271. package/dist/{parent-BBhkBVcb.mjs → parent-CdwqsVjr.mjs} +2 -2
  272. package/dist/parent-CdwqsVjr.mjs.gz +0 -0
  273. package/dist/{roleItem-CcSf5Z-k.mjs → roleItem-D7W1_pL0.mjs} +1 -1
  274. package/dist/roleItem-D7W1_pL0.mjs.gz +0 -0
  275. package/dist/{roleItem-DFS-QtZS.js → roleItem-G2CCrxxd.js} +1 -1
  276. package/dist/roleItem-G2CCrxxd.js.gz +0 -0
  277. package/dist/{saveForm-Bs6w7Cw4.js → saveForm-DXvXMUuv.js} +1 -1
  278. package/dist/{saveForm-D16KX03S.mjs → saveForm-pSEZprPw.mjs} +1 -1
  279. package/dist/{saveForm.vue_vue_type_script_setup_true_lang-BOxYOLNR.js → saveForm.vue_vue_type_script_setup_true_lang-Bkv3EkZA.js} +1 -1
  280. package/dist/saveForm.vue_vue_type_script_setup_true_lang-Bkv3EkZA.js.gz +0 -0
  281. package/dist/{saveForm.vue_vue_type_script_setup_true_lang-BtXptdQU.mjs → saveForm.vue_vue_type_script_setup_true_lang-CCceJK9M.mjs} +1 -1
  282. package/dist/saveForm.vue_vue_type_script_setup_true_lang-CCceJK9M.mjs.gz +0 -0
  283. package/dist/{scan-Lzlv45VC.js → scan-7dAQmOkt.js} +1 -1
  284. package/dist/scan-7dAQmOkt.js.gz +0 -0
  285. package/dist/{scan-JLaVFQ2L.mjs → scan-Dn5iOjzf.mjs} +1 -1
  286. package/dist/scan-Dn5iOjzf.mjs.gz +0 -0
  287. package/dist/{search-8SrFOeuz.js → search-DC8xiFtr.js} +1 -1
  288. package/dist/search-DC8xiFtr.js.gz +0 -0
  289. package/dist/{search-Bt9Q7s9J.mjs → search-DE_JoCBP.mjs} +1 -1
  290. package/dist/search-DE_JoCBP.mjs.gz +0 -0
  291. package/dist/{selectConfig-BG8BC5-o.mjs → selectConfig-D1KouI_S.mjs} +1 -1
  292. package/dist/selectConfig-D1KouI_S.mjs.gz +0 -0
  293. package/dist/{selectConfig-BfJRYMiC.js → selectConfig-DSi8Wj1y.js} +1 -1
  294. package/dist/selectConfig-DSi8Wj1y.js.gz +0 -0
  295. package/dist/style.css +1 -1
  296. package/dist/style.css.gz +0 -0
  297. package/dist/{subItem-DfPV8UVv.mjs → subItem-DT5_jvtv.mjs} +1 -1
  298. package/dist/subItem-DT5_jvtv.mjs.gz +0 -0
  299. package/dist/{subItem-CD2Sevnf.js → subItem-_dUCQn6o.js} +1 -1
  300. package/dist/subItem-_dUCQn6o.js.gz +0 -0
  301. package/dist/{tagsView-B3szQiox.mjs → tagsView-BKAKwBLa.mjs} +2 -2
  302. package/dist/tagsView-BKAKwBLa.mjs.gz +0 -0
  303. package/dist/{tagsView-D4GlHvVi.js → tagsView-DBLUgvwk.js} +2 -2
  304. package/dist/tagsView-DBLUgvwk.js.gz +0 -0
  305. package/dist/{transverse-DwI7sH5j.js → transverse-BE5X1qhq.js} +1 -1
  306. package/dist/transverse-BE5X1qhq.js.gz +0 -0
  307. package/dist/{transverse-Cw_JVoCF.mjs → transverse-JVnWM7b8.mjs} +2 -2
  308. package/dist/transverse-JVnWM7b8.mjs.gz +0 -0
  309. package/dist/types/api/fileController/index.d.ts +1 -0
  310. package/dist/types/components/business/bcBox/utils.d.ts +33 -4
  311. package/dist/types/components/business/bcFormTable/bcFormTable.vue.d.ts +2 -0
  312. package/dist/types/components/business/bcFormTable/components/form/components/sortForm/index.d.ts +1 -1
  313. package/dist/types/components/business/bcFormTable/components/form/components/sortForm/sortForm.vue.d.ts +1 -0
  314. package/dist/types/components/business/bcFormTable/components/table/components/sortColumn/index.d.ts +1 -1
  315. package/dist/types/components/business/bcFormTable/components/table/components/sortColumn/sortColumn.vue.d.ts +1 -0
  316. package/dist/types/components/business/bcFormTable/components/table/table.vue.d.ts +2 -1
  317. package/dist/types/components/business/bcFormTable/utils/parseTable.d.ts +17 -2
  318. package/dist/types/components/business/bcFormTable/utils/store.d.ts +166 -0
  319. package/dist/types/components/business/bcGroupComponent/date.vue.d.ts +1 -1
  320. package/dist/types/components/business/bcPageConfig/components/hsTables/src/hsAttrTable.vue.d.ts +4 -4
  321. package/dist/types/components/business/bcPageConfig/components/hsTables/src/hsTablePanel.vue.d.ts +4 -2
  322. package/dist/types/components/business/bcPageConfig/components/hsTables/useAttrTable.d.ts +12 -3
  323. package/dist/types/types/customData.d.ts +4 -0
  324. package/dist/types/types/form.d.ts +3 -0
  325. package/dist/types/utils/request/index.d.ts +2 -0
  326. package/dist/types/utils/request/interceptors/request/authorization.interceptor.d.ts +2 -0
  327. package/dist/types/utils/request/interceptors/request/index.d.ts +2 -0
  328. package/dist/types/utils/request/interceptors/request/result.type.interceptor.d.ts +2 -0
  329. package/dist/types/utils/request/interceptors/response/error-handler.interceptor.d.ts +2 -0
  330. package/dist/types/utils/request/interceptors/response/file-handler.interceptor.d.ts +2 -0
  331. package/dist/types/utils/request/interceptors/response/index.d.ts +2 -0
  332. package/dist/types/utils/request/request.d.ts +6 -0
  333. package/dist/types/views/config/dataDict/components/dict/dictDialog.vue.d.ts +3 -1
  334. package/dist/types/views/config/dataDict/components/dictItem/dictItemDialog.vue.d.ts +3 -1
  335. package/dist/uploadAvatar-Cn7oKL74.js +7 -0
  336. package/dist/uploadAvatar-Cn7oKL74.js.gz +0 -0
  337. package/dist/{uploadAvatar-uchKHW_9.mjs → uploadAvatar-auwNt8oF.mjs} +350 -344
  338. package/dist/uploadAvatar-auwNt8oF.mjs.gz +0 -0
  339. package/dist/{user-CxpQ4YX9.js → user-Bl754JdG.js} +1 -1
  340. package/dist/user-Bl754JdG.js.gz +0 -0
  341. package/dist/{user-CccH1bKN.mjs → user-C1QkYwyT.mjs} +6 -6
  342. package/dist/user-C1QkYwyT.mjs.gz +0 -0
  343. package/dist/{userNews-DjZ53xjA.mjs → userNews-BVs8eaw0.mjs} +1 -1
  344. package/dist/userNews-BVs8eaw0.mjs.gz +0 -0
  345. package/dist/{userNews-DoC9HQ4F.js → userNews-Dbj8ynZq.js} +1 -1
  346. package/dist/userNews-Dbj8ynZq.js.gz +0 -0
  347. package/dist/{userSelect-DV_5jqeA.mjs → userSelect-BKnx2aLc.mjs} +1 -1
  348. package/dist/{userSelect-CD_VSS_O.js → userSelect-DBKdTtMn.js} +1 -1
  349. package/dist/{userSelect.vue_vue_type_script_setup_true_lang-BOsT6hd_.mjs → userSelect.vue_vue_type_script_setup_true_lang-CrR4r3o3.mjs} +1 -1
  350. package/dist/userSelect.vue_vue_type_script_setup_true_lang-CrR4r3o3.mjs.gz +0 -0
  351. package/dist/{userSelect.vue_vue_type_script_setup_true_lang-BZRrAUKE.js → userSelect.vue_vue_type_script_setup_true_lang-DEeQ0LAU.js} +1 -1
  352. package/dist/userSelect.vue_vue_type_script_setup_true_lang-DEeQ0LAU.js.gz +0 -0
  353. package/dist/{vertical-CWgmkQl4.mjs → vertical-CKuoxb1v.mjs} +2 -2
  354. package/dist/vertical-CKuoxb1v.mjs.gz +0 -0
  355. package/dist/{vertical-CBs52jLe.js → vertical-PbTkZeDG.js} +1 -1
  356. package/dist/vertical-PbTkZeDG.js.gz +0 -0
  357. package/package.json +1 -1
  358. package/dist/401-5bQiyoHq.mjs.gz +0 -0
  359. package/dist/401-TbB8pEp0.js.gz +0 -0
  360. package/dist/404-Dgh539p3.js.gz +0 -0
  361. package/dist/account-BPcMPK9B.js.gz +0 -0
  362. package/dist/account-DY86oly1.mjs.gz +0 -0
  363. package/dist/aside-D_n8wi2i.js.gz +0 -0
  364. package/dist/aside-myN7vj0W.mjs.gz +0 -0
  365. package/dist/btnIndex-CbFCFqVf.mjs.gz +0 -0
  366. package/dist/btnIndex-DQndvDFs.js.gz +0 -0
  367. package/dist/classic-C1xKsx1D.js.gz +0 -0
  368. package/dist/classic-Caj3UtW-.mjs.gz +0 -0
  369. package/dist/columns-C0EA-ler.mjs.gz +0 -0
  370. package/dist/columns-v89-6gN4.js.gz +0 -0
  371. package/dist/columnsAside-CNTfkxSc.mjs.gz +0 -0
  372. package/dist/columnsAside-jJ0KtAQc.js.gz +0 -0
  373. package/dist/contextmenu-BLLXKyXX.mjs.gz +0 -0
  374. package/dist/contextmenu-DJNHjilj.js.gz +0 -0
  375. package/dist/contextmenu-fZvlOZR0.js.gz +0 -0
  376. package/dist/contextmenu-uTyx_1Ht.mjs.gz +0 -0
  377. package/dist/defaults-B6_AT7sw.js.gz +0 -0
  378. package/dist/defaults-DyPGsEiq.mjs.gz +0 -0
  379. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-C8mCw5N5.mjs.gz +0 -0
  380. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-VQE-wZLA.js.gz +0 -0
  381. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-GcpT6XDd.mjs.gz +0 -0
  382. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-iQWUkBdr.js.gz +0 -0
  383. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-Bg43PtG4.js +0 -1
  384. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-Bg43PtG4.js.gz +0 -0
  385. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-BiqkjuMm.mjs +0 -149
  386. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-BiqkjuMm.mjs.gz +0 -0
  387. package/dist/dictItemDialog.vue_vue_type_script_setup_true_name_dictItemDialog_lang-BZSbkfjD.js +0 -1
  388. package/dist/dictItemDialog.vue_vue_type_script_setup_true_name_dictItemDialog_lang-BZSbkfjD.js.gz +0 -0
  389. package/dist/dictItemDialog.vue_vue_type_script_setup_true_name_dictItemDialog_lang-r-a6JXzD.mjs +0 -214
  390. package/dist/dictItemDialog.vue_vue_type_script_setup_true_name_dictItemDialog_lang-r-a6JXzD.mjs.gz +0 -0
  391. package/dist/formConfig-D4JdBpQf.js.gz +0 -0
  392. package/dist/formConfig-DBlgAyhC.mjs.gz +0 -0
  393. package/dist/horizontal-CD_WJDf8.js.gz +0 -0
  394. package/dist/horizontal-CrteZtsW.mjs.gz +0 -0
  395. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-DMMFgy9g.mjs.gz +0 -0
  396. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-tBewt8fw.js.gz +0 -0
  397. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-BKB9gjZ6.mjs.gz +0 -0
  398. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-DVJHk-QI.js.gz +0 -0
  399. package/dist/hsBtnConfigList-DBjjTRSf.js.gz +0 -0
  400. package/dist/hsBtnConfigList-Du_ffIlc.mjs.gz +0 -0
  401. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-BTBwd-8e.js.gz +0 -0
  402. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-KKvVplhZ.mjs.gz +0 -0
  403. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BUKoDjF1.mjs.gz +0 -0
  404. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CoOxwj3p.js.gz +0 -0
  405. package/dist/hsFormConfig-BFikMTNz.mjs.gz +0 -0
  406. package/dist/hsFormConfig-BbT2pHaD.js.gz +0 -0
  407. package/dist/hsFormConfigList-BKr5tl-F.js.gz +0 -0
  408. package/dist/hsFormConfigList-Ck2T7i7I.mjs.gz +0 -0
  409. package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CNg_kFv0.js.gz +0 -0
  410. package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-tuSwf7yN.mjs.gz +0 -0
  411. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-CLkixeOB.mjs.gz +0 -0
  412. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-DW270oCm.js.gz +0 -0
  413. package/dist/hsPageTree-DLTZ1W0-.mjs.gz +0 -0
  414. package/dist/hsPageTree-DLholakR.js.gz +0 -0
  415. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-BQdg36uc.mjs.gz +0 -0
  416. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-D7EeLu76.js.gz +0 -0
  417. package/dist/iframes-CY3jB8WQ.js.gz +0 -0
  418. package/dist/iframes-DHh2z5a1.mjs.gz +0 -0
  419. package/dist/index-9uNMitkO.js.gz +0 -0
  420. package/dist/index-B1i4ZWFJ.mjs.gz +0 -0
  421. package/dist/index-BAU6MDpM.mjs.gz +0 -0
  422. package/dist/index-BMF5PAxD.mjs.gz +0 -0
  423. package/dist/index-BNVxjqyn.js.gz +0 -0
  424. package/dist/index-BNZbL4Yd.mjs.gz +0 -0
  425. package/dist/index-BP90vVG7.js.gz +0 -0
  426. package/dist/index-BPIm173I.mjs +0 -4
  427. package/dist/index-BR3-laoW.js.gz +0 -0
  428. package/dist/index-BXOQXymW.js.gz +0 -0
  429. package/dist/index-Bd4iK6w0.mjs.gz +0 -0
  430. package/dist/index-BjIfzPUL.js.gz +0 -0
  431. package/dist/index-C6KmE1AH.js.gz +0 -0
  432. package/dist/index-C7AnbQC6.js.gz +0 -0
  433. package/dist/index-CAsMVOZB.mjs.gz +0 -0
  434. package/dist/index-CTUu36dp.js.gz +0 -0
  435. package/dist/index-CVhNYXBC.mjs.gz +0 -0
  436. package/dist/index-Cc8u-oz4.js.gz +0 -0
  437. package/dist/index-CcxEf75I.js.gz +0 -0
  438. package/dist/index-CeJb_X3J.js.gz +0 -0
  439. package/dist/index-Cr8y30bC.mjs.gz +0 -0
  440. package/dist/index-CtGg0_BV.mjs.gz +0 -0
  441. package/dist/index-D24SX1TC.mjs.gz +0 -0
  442. package/dist/index-D38kGZQ8.mjs.gz +0 -0
  443. package/dist/index-DGQIkmDR.js.gz +0 -0
  444. package/dist/index-DIvbCM4r.mjs +0 -311
  445. package/dist/index-DIvbCM4r.mjs.gz +0 -0
  446. package/dist/index-DPCXP0Bf.js +0 -1
  447. package/dist/index-DPCXP0Bf.js.gz +0 -0
  448. package/dist/index-DSLYtlxC.mjs.gz +0 -0
  449. package/dist/index-Db9xvowC.mjs.gz +0 -0
  450. package/dist/index-DbARGeiF.mjs.gz +0 -0
  451. package/dist/index-DmcXTUuP.mjs +0 -10
  452. package/dist/index-DpYzq0I2.mjs.gz +0 -0
  453. package/dist/index-DrPVNlHS.js +0 -1
  454. package/dist/index-DyEb0Sei.mjs.gz +0 -0
  455. package/dist/index-IybpmNme.js.gz +0 -0
  456. package/dist/index-J4WCqyNl.mjs.gz +0 -0
  457. package/dist/index-N2dlr3Tl.js.gz +0 -0
  458. package/dist/index-PMAw2P92.js.gz +0 -0
  459. package/dist/index-QO6ByloK.js.gz +0 -0
  460. package/dist/index-WNeOEZ0z.js +0 -1
  461. package/dist/index-bTzWQLsv.js.gz +0 -0
  462. package/dist/index-icvQTTDb.js.gz +0 -0
  463. package/dist/index-rqd2KlJT.mjs.gz +0 -0
  464. package/dist/index-tkImqftF.mjs +0 -61
  465. package/dist/index-tkImqftF.mjs.gz +0 -0
  466. package/dist/index-vXHertyn.js.gz +0 -0
  467. package/dist/index-vj0RYGjI.mjs.gz +0 -0
  468. package/dist/index-w22DbxfI.mjs.gz +0 -0
  469. package/dist/index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-CmzVozi2.js +0 -1
  470. package/dist/index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-CmzVozi2.js.gz +0 -0
  471. package/dist/index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-DSrl19_y.mjs.gz +0 -0
  472. package/dist/link-BQzNzl7w.mjs.gz +0 -0
  473. package/dist/link-D0bmBTdm.js.gz +0 -0
  474. package/dist/list-2jO9-75F.mjs.gz +0 -0
  475. package/dist/list-BX98KYFt.js.gz +0 -0
  476. package/dist/main-8-nYEkR5.mjs.gz +0 -0
  477. package/dist/main-NDjqGGmt.js.gz +0 -0
  478. package/dist/mobile-CaiOd8ej.mjs.gz +0 -0
  479. package/dist/mobile-DxykpLH8.js.gz +0 -0
  480. package/dist/parent-BBhkBVcb.mjs.gz +0 -0
  481. package/dist/parent-CJ-fF34-.js.gz +0 -0
  482. package/dist/roleItem-CcSf5Z-k.mjs.gz +0 -0
  483. package/dist/roleItem-DFS-QtZS.js.gz +0 -0
  484. package/dist/saveForm.vue_vue_type_script_setup_true_lang-BOxYOLNR.js.gz +0 -0
  485. package/dist/saveForm.vue_vue_type_script_setup_true_lang-BtXptdQU.mjs.gz +0 -0
  486. package/dist/scan-JLaVFQ2L.mjs.gz +0 -0
  487. package/dist/scan-Lzlv45VC.js.gz +0 -0
  488. package/dist/search-8SrFOeuz.js.gz +0 -0
  489. package/dist/search-Bt9Q7s9J.mjs.gz +0 -0
  490. package/dist/selectConfig-BG8BC5-o.mjs.gz +0 -0
  491. package/dist/selectConfig-BfJRYMiC.js.gz +0 -0
  492. package/dist/subItem-CD2Sevnf.js.gz +0 -0
  493. package/dist/subItem-DfPV8UVv.mjs.gz +0 -0
  494. package/dist/tagsView-B3szQiox.mjs.gz +0 -0
  495. package/dist/tagsView-D4GlHvVi.js.gz +0 -0
  496. package/dist/transverse-Cw_JVoCF.mjs.gz +0 -0
  497. package/dist/transverse-DwI7sH5j.js.gz +0 -0
  498. package/dist/types/components/business/bcBox/types.d.ts +0 -5
  499. package/dist/uploadAvatar-BFgeBgKE.js +0 -7
  500. package/dist/uploadAvatar-BFgeBgKE.js.gz +0 -0
  501. package/dist/uploadAvatar-uchKHW_9.mjs.gz +0 -0
  502. package/dist/user-CccH1bKN.mjs.gz +0 -0
  503. package/dist/user-CxpQ4YX9.js.gz +0 -0
  504. package/dist/userNews-DjZ53xjA.mjs.gz +0 -0
  505. package/dist/userNews-DoC9HQ4F.js.gz +0 -0
  506. package/dist/userSelect.vue_vue_type_script_setup_true_lang-BOsT6hd_.mjs.gz +0 -0
  507. package/dist/userSelect.vue_vue_type_script_setup_true_lang-BZRrAUKE.js.gz +0 -0
  508. package/dist/vertical-CBs52jLe.js.gz +0 -0
  509. package/dist/vertical-CWgmkQl4.mjs.gz +0 -0
  510. /package/dist/types/utils/{request.d.ts → request2.d.ts} +0 -0
@@ -40,7 +40,9 @@ export declare const formTableData: Ref<{
40
40
  tag?: string | undefined;
41
41
  };
42
42
  }[];
43
+ mid?: string | undefined;
43
44
  is_auth?: string | undefined;
45
+ config_version: number;
44
46
  config_type?: "1" | "2" | undefined;
45
47
  config_unique_id: string;
46
48
  config_name: string;
@@ -2271,6 +2273,170 @@ export declare const formTableData: Ref<{
2271
2273
  returnValueType: string;
2272
2274
  el: "hs-table" | "hs-button" | "bc-icon" | "hs-test" | "hs-bc-table" | "hs-button-group" | "hs-input" | "hs-select" | "hs-option" | "hs-option-group" | "hs-form" | "hs-form-item" | "hs-row" | "hs-col" | "hs-tree" | "hs-input-number" | "hs-switch" | "hs-radio" | "hs-radio-group" | "hs-radio-button" | "hs-checkbox" | "hs-checkbox-group" | "hs-checkbox-button" | "hs-rate" | "hs-autocomplete" | "hs-slider" | "hs-cascader" | "hs-cascader-panel" | "hs-color-picker" | "hs-upload" | "hs-transfer" | "hs-date-picker" | "hs-scrollbar" | "hs-calendar" | "hs-carousel" | "hs-carousel-item" | "hs-collapse" | "hs-collapse-item" | "hs-progress" | "hs-result" | "hs-tour" | "hs-tour-step" | "hs-tag" | "hs-check-tag" | "hs-affix" | "hs-tabs" | "hs-tab-pane" | "hs-steps" | "hs-step" | "hs-alert" | "hs-dialog" | "hs-drawer" | "hs-popconfirm" | "hs-popover" | "hs-tooltip" | "hs-watermark" | "hs-dropdown" | "hs-dropdown-menu" | "hs-dropdown-item" | "hs-tree-select" | "hs-badge" | "hs-empty" | "hs-image" | "hs-image-viewer" | "bc-btn" | "bc-box" | "bc-radio" | "bc-checkbox" | "bc-form" | "bc-table" | "bc-form-table" | "bc-form-config" | "bc-select" | "bc-tree-select" | "bc-page-config" | "bc-switch-systems" | "bc-auto-complete" | "bc-group-date" | "bc-page-tree-for-system" | "bc-upload" | "hs-config-input" | "hs-config-event" | "hs-config-select" | "hs-config-date-picker" | "hs-config-button" | "hs-config-autocomplete" | "hs-config-switch" | "hs-config-upload" | "hs-config-checkbox" | "hs-config-radio" | "hs-config-input-number" | "hs-config-cascader" | "hs-config-cascader-panel" | "hs-config-tree-select";
2273
2275
  fieldExport: boolean;
2276
+ slotTemplateConfig?: {
2277
+ attrs: {
2278
+ multiple: boolean;
2279
+ disabled: boolean;
2280
+ 'value-key': string;
2281
+ clearable: boolean;
2282
+ 'collapse-tags': boolean;
2283
+ 'collapse-tags-tooltip': boolean;
2284
+ 'multiple-limit': number;
2285
+ effect: IFormTable.Effect;
2286
+ autocomplete: string;
2287
+ filterable: boolean;
2288
+ 'allow-create': boolean;
2289
+ remote: boolean;
2290
+ 'remote-show-suffix': boolean;
2291
+ loading: boolean;
2292
+ 'reserve-keyword': boolean;
2293
+ 'default-first-option': boolean;
2294
+ teleported: boolean;
2295
+ persistent: boolean;
2296
+ 'automatic-dropdown': boolean;
2297
+ 'clear-icon': string;
2298
+ 'fit-input-width': boolean;
2299
+ 'suffix-icon': string;
2300
+ 'tag-type': IFormTable.TagType;
2301
+ 'validate-event': boolean;
2302
+ placement: IFormTable.Placement;
2303
+ 'max-collapse-tags': number;
2304
+ options: string;
2305
+ };
2306
+ groupAttrs: {
2307
+ disabled: boolean;
2308
+ isGroupEnabled: boolean;
2309
+ };
2310
+ optionAttrs: {
2311
+ value: string;
2312
+ label: string;
2313
+ disabled: boolean;
2314
+ };
2315
+ rules: {
2316
+ rules: string | Partial<Record<string, Arrayable<FormItemRule>>>[];
2317
+ required: boolean;
2318
+ };
2319
+ } | {
2320
+ attrs: {
2321
+ multiple: boolean;
2322
+ disabled: boolean;
2323
+ 'value-key': string;
2324
+ clearable: boolean;
2325
+ 'collapse-tags': boolean;
2326
+ 'collapse-tags-tooltip': boolean;
2327
+ 'multiple-limit': number;
2328
+ effect: IFormTable.Effect;
2329
+ autocomplete: string;
2330
+ filterable: boolean;
2331
+ 'allow-create': boolean;
2332
+ remote: boolean;
2333
+ 'remote-show-suffix': boolean;
2334
+ loading: boolean;
2335
+ 'reserve-keyword': boolean;
2336
+ 'default-first-option': boolean;
2337
+ teleported: boolean;
2338
+ persistent: boolean;
2339
+ 'automatic-dropdown': boolean;
2340
+ 'clear-icon': string;
2341
+ 'fit-input-width': boolean;
2342
+ 'suffix-icon': string;
2343
+ 'tag-type': IFormTable.TagType;
2344
+ 'validate-event': boolean;
2345
+ placement: IFormTable.Placement;
2346
+ 'max-collapse-tags': number;
2347
+ props: object;
2348
+ data: string;
2349
+ url: string;
2350
+ proxy: string;
2351
+ params: string;
2352
+ };
2353
+ rules: {
2354
+ rules: string | Partial<Record<string, Arrayable<FormItemRule>>>[];
2355
+ required: boolean;
2356
+ };
2357
+ } | {
2358
+ attrs: {
2359
+ type: string;
2360
+ maxlength: string | number;
2361
+ minlength: string | number;
2362
+ 'show-word-limit': boolean;
2363
+ placeholder: string;
2364
+ clearable: boolean;
2365
+ formatter: Function;
2366
+ parser: Function;
2367
+ 'show-password': boolean;
2368
+ disabled: boolean;
2369
+ size: string;
2370
+ 'prefix-icon': string;
2371
+ 'suffix-icon': string;
2372
+ rows: number;
2373
+ autosize: boolean | object;
2374
+ autocomplete: string;
2375
+ name: string;
2376
+ readonly: boolean;
2377
+ max: string | number;
2378
+ min: string | number;
2379
+ step: string | number;
2380
+ autofocus: boolean;
2381
+ resize: "vertical" | "none" | "horizontal" | "both";
2382
+ form: string;
2383
+ label: string;
2384
+ tabindex: string | number;
2385
+ 'validate-event': boolean;
2386
+ 'input-style': string | object;
2387
+ };
2388
+ rules: {
2389
+ rules: string | Partial<Record<string, Arrayable<FormItemRule>>>[];
2390
+ required: boolean;
2391
+ };
2392
+ } | {
2393
+ attrs: {
2394
+ min: number;
2395
+ max: number;
2396
+ step: number;
2397
+ 'step-strictly': boolean;
2398
+ precision: number;
2399
+ size: "large" | "small" | "default";
2400
+ readonly: boolean;
2401
+ disabled: boolean;
2402
+ controls: boolean;
2403
+ 'controls-position': string;
2404
+ name: string;
2405
+ label: string;
2406
+ placeholder: string;
2407
+ id: string;
2408
+ 'value-on-clear': number | "max" | "min" | null;
2409
+ 'validate-event': boolean;
2410
+ };
2411
+ rules: {
2412
+ rules: string | Partial<Record<string, Arrayable<FormItemRule>>>[];
2413
+ required: boolean;
2414
+ };
2415
+ } | {
2416
+ attrs: {
2417
+ placeholder: string;
2418
+ clearable: boolean;
2419
+ disabled: boolean;
2420
+ 'value-key': string;
2421
+ debounce: number;
2422
+ placement: string;
2423
+ 'fetch-suggestions': Function;
2424
+ 'trigger-on-focus': boolean;
2425
+ 'select-when-unmatched': boolean;
2426
+ name: string;
2427
+ label: string;
2428
+ 'hide-loading': boolean;
2429
+ 'popper-class': string;
2430
+ 'popper-append-to-body': boolean;
2431
+ teleported: string;
2432
+ 'highlight-first-item': boolean;
2433
+ 'fit-input-width': boolean;
2434
+ };
2435
+ rules: {
2436
+ rules: string | Partial<Record<string, Arrayable<FormItemRule>>>[];
2437
+ required: boolean;
2438
+ };
2439
+ } | undefined;
2274
2440
  colId?: VxeColumnPropTypes.ColId | undefined;
2275
2441
  type?: VxeColumnPropTypes.Type | undefined;
2276
2442
  field?: string | undefined;
@@ -13,7 +13,7 @@ declare const _default: DefineComponent<{
13
13
  required: true;
14
14
  };
15
15
  }, {
16
- elRef: Ref<Record<string, any>>;
16
+ elRef: Ref<any>;
17
17
  groupData: Ref<string[]>;
18
18
  focus: () => void;
19
19
  onChange: (val: string[]) => void;
@@ -1,8 +1,8 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
2
  import { IFormTable } from '../../../../../../types';
3
3
  declare const _default: DefineComponent<{
4
4
  current: {
5
- type: ObjectConstructor;
5
+ type: PropType<IFormTable.TableItem>;
6
6
  default: () => void;
7
7
  };
8
8
  configList: {
@@ -24,7 +24,7 @@ declare const _default: DefineComponent<{
24
24
  };
25
25
  }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
26
26
  current: {
27
- type: ObjectConstructor;
27
+ type: PropType<IFormTable.TableItem>;
28
28
  default: () => void;
29
29
  };
30
30
  configList: {
@@ -45,7 +45,7 @@ declare const _default: DefineComponent<{
45
45
  default: () => never[];
46
46
  };
47
47
  }>>, {
48
- current: Record<string, any>;
48
+ current: IFormTable.TableItem;
49
49
  configList: IFormTable.TableItem[];
50
50
  }, {}>;
51
51
  export default _default;
@@ -1,8 +1,10 @@
1
1
  import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
2
  import { IFormTable } from '../../../../../../types';
3
3
  declare const _default: DefineComponent<{
4
- modelValue: PropType<IFormTable.Table>;
4
+ tableModel: PropType<IFormTable.Table>;
5
+ configModel: PropType<IFormTable.FormTable>;
5
6
  }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
6
- modelValue: PropType<IFormTable.Table>;
7
+ tableModel: PropType<IFormTable.Table>;
8
+ configModel: PropType<IFormTable.FormTable>;
7
9
  }>>, {}, {}>;
8
10
  export default _default;
@@ -1,7 +1,6 @@
1
1
  import { MessageHandler } from 'element-plus';
2
2
  import { Ref } from 'vue';
3
- import { ComponentAttr } from '../../../../../types';
4
- import hsAttrTable from './src/hsAttrTable.vue';
3
+ import { IFormTable } from '../../../../../types';
5
4
  interface TableRef {
6
5
  getSubmitData: () => boolean;
7
6
  }
@@ -11,7 +10,10 @@ interface RestaurantItem {
11
10
  json_data: string;
12
11
  id: string;
13
12
  }
14
- export declare function useHsAttrTable(props: ComponentAttr.Props<typeof hsAttrTable>, baseTableRef: Ref<TableRef>): {
13
+ export declare function useHsAttrTable(props: {
14
+ readonly current: IFormTable.TableItem;
15
+ readonly configList: IFormTable.TableItem[];
16
+ }, baseTableRef: Ref<TableRef>): {
15
17
  parentConfig: Ref<{
16
18
  labelWidth: number;
17
19
  span: number;
@@ -29,7 +31,14 @@ export declare function useHsAttrTable(props: ComponentAttr.Props<typeof hsAttrT
29
31
  };
30
32
  qry_key: string;
31
33
  }>;
34
+ btnConfig: Ref<any>;
35
+ formItem: {
36
+ title: string;
37
+ visible: boolean;
38
+ templateName: string;
39
+ };
32
40
  onChangeItem: (item: RestaurantItem) => void;
41
+ onChang: (value: string, prop: string) => void;
33
42
  saveData: () => Promise<MessageHandler | undefined>;
34
43
  addFilterItem: () => void;
35
44
  deleteFilterConfig: (index: number) => void;
@@ -113,6 +113,7 @@ export declare namespace ICustomData {
113
113
  el: ElComponent;
114
114
  /** 是否导出该字段 */
115
115
  fieldExport: boolean;
116
+ slotTemplateConfig?: ElData;
116
117
  }
117
118
  interface BtnData extends Partial<ButtonAttr> {
118
119
  name: string;
@@ -168,8 +169,11 @@ export declare namespace ICustomData {
168
169
  }
169
170
  interface FormTable {
170
171
  btns: Btns[];
172
+ mid?: string;
171
173
  /** 是否配置权限 值为1时,受权限控制,不为1时,则无需查询权限 */
172
174
  is_auth?: string;
175
+ /** 配置版本号 */
176
+ config_version: number;
173
177
  config_type?: '1' | '2';
174
178
  /** 配置唯一标识 */
175
179
  config_unique_id: string;
@@ -62,8 +62,11 @@ export declare namespace IFormData {
62
62
  interface Form<T extends FormItemType = FormItemType> {
63
63
  /** 表单项配置数据 */
64
64
  data: Data;
65
+ mid?: string;
65
66
  /** 是否配置权限 值为1时,受权限控制,不为1时,则无需查询权限 */
66
67
  is_auth?: string;
68
+ /** 配置版本号 */
69
+ config_version: number;
67
70
  /** 配置数据类型 1表格 2表单 */
68
71
  config_type?: '1' | '2';
69
72
  /** 标题名称 */
@@ -0,0 +1,2 @@
1
+ import { AxiosResponse, AxiosRequestConfig } from 'axios';
2
+ export declare const request: <T = any, R = AxiosResponse<T, any>, D = any>(config: AxiosRequestConfig<D>) => Promise<R>;
@@ -0,0 +1,2 @@
1
+ declare const authorizationInterceptor: ((config: any) => any)[];
2
+ export default authorizationInterceptor;
@@ -0,0 +1,2 @@
1
+ declare const _default: ((config: any) => any)[][];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const resultTypeInterceptor: ((axiosConfig: any) => Promise<any>)[];
2
+ export default resultTypeInterceptor;
@@ -0,0 +1,2 @@
1
+ declare const errorHandlerInterceptor: ((responseData: any) => Promise<any>)[];
2
+ export default errorHandlerInterceptor;
@@ -0,0 +1,2 @@
1
+ declare const fileHandlerInterceptor: ((response: any) => any)[];
2
+ export default fileHandlerInterceptor;
@@ -0,0 +1,2 @@
1
+ declare const _default: ((response: any) => any)[][];
2
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { AxiosInstance } from 'axios';
2
+ /**
3
+ * 创建实例, 添加拦截
4
+ */
5
+ declare const request: AxiosInstance;
6
+ export default request;
@@ -1,5 +1,7 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2
+ declare const _default: DefineComponent<{}, {
3
+ getData(): () => Promise<string>;
4
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3
5
  success: (...args: any[]) => void;
4
6
  }, string, PublicProps, Readonly<ExtractPropTypes<{}>> & {
5
7
  onSuccess?: ((...args: any[]) => any) | undefined;
@@ -30,7 +30,9 @@ declare const _default: DefineComponent<{
30
30
  type: PropType<DictControllerGetListPageDictChildData>;
31
31
  default(): {};
32
32
  };
33
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
33
+ }, {
34
+ getData(): () => Promise<unknown>;
35
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
34
36
  success: (...args: any[]) => void;
35
37
  }, string, PublicProps, Readonly<ExtractPropTypes<{
36
38
  dict: {
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),H=require("./index-BmQY0dVD.js"),W={};W.getData=e=>new Promise((t,i)=>{let s={};M(e).then(o=>{s.arrayBuffer=o;try{s.orientation=I(o)}catch{s.orientation=-1}t(s)}).catch(o=>{i(o)})});function M(e){let t=null;return new Promise((i,s)=>{if(e.src)if(/^data\:/i.test(e.src))t=N(e.src),i(t);else if(/^blob\:/i.test(e.src)){var o=new FileReader;o.onload=function(h){t=h.target.result,i(t)},S(e.src,function(h){o.readAsArrayBuffer(h)})}else{var r=new XMLHttpRequest;r.onload=function(){if(this.status==200||this.status===0)t=r.response,i(t);else throw"Could not load image";r=null},r.open("GET",e.src,!0),r.responseType="arraybuffer",r.send(null)}else s("img error")})}function S(e,t){var i=new XMLHttpRequest;i.open("GET",e,!0),i.responseType="blob",i.onload=function(s){(this.status==200||this.status===0)&&t(this.response)},i.send()}function N(e,t){t=t||e.match(/^data\:([^\;]+)\;base64,/mi)[1]||"",e=e.replace(/^data\:([^\;]+)\;base64,/gmi,"");for(var i=atob(e),s=i.length%2==0?i.length:i.length+1,o=new ArrayBuffer(s),r=new Uint16Array(o),h=0;h<s;h++)r[h]=i.charCodeAt(h);return o}function E(e,t,i){var s="",o;for(o=t,i+=t;o<i;o++)s+=String.fromCharCode(e.getUint8(o));return s}function I(e){var t=new DataView(e),i=t.byteLength,s,o,r,h,n,p,l,c,f,u;if(t.getUint8(0)===255&&t.getUint8(1)===216)for(f=2;f<i;){if(t.getUint8(f)===255&&t.getUint8(f+1)===225){l=f;break}f++}if(l&&(o=l+4,r=l+10,E(t,o,4)==="Exif"&&(p=t.getUint16(r),n=p===18761,(n||p===19789)&&t.getUint16(r+2,n)===42&&(h=t.getUint32(r+4,n),h>=8&&(c=r+h)))),c){for(i=t.getUint16(c,n),u=0;u<i;u++)if(f=c+u*12+2,t.getUint16(f,n)===274){f+=8,s=t.getUint16(f,n);break}}return s}const L={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 o=new RegExp(e,"i");for(var r=0;r<t.length;r++)o.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 h=this.getVersion("version");h[0]>13&&h[1]>1&&(t=-1)}else{const h=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/);if(h){let n=h[1];n=n.split("_"),(n[0]>13||n[0]>=13&&n[1]>=4)&&(t=-1)}}let o=document.createElement("canvas"),r=o.getContext("2d");switch(r.save(),t){case 2:o.width=i,o.height=s,r.translate(i,0),r.scale(-1,1);break;case 3:o.width=i,o.height=s,r.translate(i/2,s/2),r.rotate(180*Math.PI/180),r.translate(-i/2,-s/2);break;case 4:o.width=i,o.height=s,r.translate(0,s),r.scale(1,-1);break;case 5:o.height=i,o.width=s,r.rotate(.5*Math.PI),r.scale(1,-1);break;case 6:o.width=s,o.height=i,r.translate(s/2,i/2),r.rotate(90*Math.PI/180),r.translate(-i/2,-s/2);break;case 7:o.height=i,o.width=s,r.rotate(.5*Math.PI),r.translate(i,-s),r.scale(-1,1);break;case 8:o.height=i,o.width=s,r.translate(s/2,i/2),r.rotate(-90*Math.PI/180),r.translate(-i/2,-s/2);break;default:o.width=i,o.height=s}r.drawImage(e,0,0,i,s),r.restore(),o.toBlob(h=>{let n=URL.createObjectURL(h);URL.revokeObjectURL(this.imgs),this.imgs=n},"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;W.getData(e).then(o=>{this.orientation=o.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(o=>{this.$emit("img-load","error"),this.$emit("img-load-error",o)})},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},o={x:this.touches[1].clientX,y:this.touches[1].clientY},r={x:e.touches[1].clientX,y:e.touches[1].clientY},h=Math.sqrt(Math.pow(i.x-o.x,2)+Math.pow(i.y-o.y,2)),n=Math.sqrt(Math.pow(s.x-r.x,2)+Math.pow(s.y-r.y,2)),p=n-h,l=1;l=l/this.trueWidth>l/this.trueHeight?l/this.trueHeight:l/this.trueWidth,l=l>.1?.1:l;var c=l*p;if(!this.touchNow){if(this.touchNow=!0,p>0?t+=Math.abs(c):p<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,o;s=t-this.moveX,o=i-this.moveY,this.$nextTick(()=>{if(this.centerBox){let r=this.getImgAxis(s,o,this.scale),h=this.getCropAxis(),n=this.trueHeight*this.scale,p=this.trueWidth*this.scale,l,c,f,u;switch(this.rotate){case 1:case-1:case 3:case-3:l=this.cropOffsertX-this.trueWidth*(1-this.scale)/2+(n-p)/2,c=this.cropOffsertY-this.trueHeight*(1-this.scale)/2+(p-n)/2,f=l-n+this.cropW,u=c-p+this.cropH;break;default:l=this.cropOffsertX-this.trueWidth*(1-this.scale)/2,c=this.cropOffsertY-this.trueHeight*(1-this.scale)/2,f=l-p+this.cropW,u=c-n+this.cropH;break}r.x1>=h.x1&&(s=l),r.y1>=h.y1&&(o=c),r.x2<=h.x2&&(s=f),r.y2<=h.y2&&(o=u)}this.x=s,this.y=o,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 o=this.coe;o=o/this.trueWidth>o/this.trueHeight?o/this.trueHeight:o/this.trueWidth;var r=o*i;r<0?t+=Math.abs(r):t>Math.abs(r)&&(t-=Math.abs(r));let h=r<0?"add":"reduce";if(h!==this.coeStatus&&(this.coeStatus=h,this.coe=.2),this.scaling||(this.scalingSet=setTimeout(()=>{this.scaling=!1,this.coe=this.coe+=.01},50)),this.scaling=!0,!this.checkoutImgAxis(this.x,this.y,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,o=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)o>0?(this.cropH=o+this.cropChangeY>this.h?this.h-this.cropChangeY:o,this.cropOffsertY=this.cropChangeY):(this.cropH=this.h-this.cropChangeY+Math.abs(o)>this.h?this.cropChangeY:Math.abs(o),this.cropOffsertY=this.cropChangeY+o>0?this.cropChangeY+o: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,o){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=o,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,o=this.h,r=0,h=0;if(this.centerBox){let l=this.getImgAxis(),c=l.x2,f=l.y2;r=l.x1>0?l.x1:0,h=l.y1>0?l.y1:0,s>c&&(s=c),o>f&&(o=f)}const[n,p]=this.checkCropLimitSize();this.$nextTick(()=>{var l=t-this.cropX,c=i-this.cropY;if(this.canChangeX&&(this.changeCropTypeX===1?this.cropOldW-l<n?(this.cropW=n,this.cropOffsertX=this.cropOldW+this.cropChangeX-r-n):this.cropOldW-l>0?(this.cropW=s-this.cropChangeX-l<=s-r?this.cropOldW-l:this.cropOldW+this.cropChangeX-r,this.cropOffsertX=s-this.cropChangeX-l<=s-r?this.cropChangeX+l:r):(this.cropW=Math.abs(l)+this.cropChangeX<=s?Math.abs(l)-this.cropOldW:s-this.cropOldW-this.cropChangeX,this.cropOffsertX=this.cropChangeX+this.cropOldW):this.changeCropTypeX===2&&(this.cropOldW+l<n?this.cropW=n:this.cropOldW+l>0?(this.cropW=this.cropOldW+l+this.cropOffsertX<=s?this.cropOldW+l:s-this.cropOffsertX,this.cropOffsertX=this.cropChangeX):(this.cropW=s-this.cropChangeX+Math.abs(l+this.cropOldW)<=s-r?Math.abs(l+this.cropOldW):this.cropChangeX-r,this.cropOffsertX=s-this.cropChangeX+Math.abs(l+this.cropOldW)<=s-r?this.cropChangeX-Math.abs(l+this.cropOldW):r))),this.canChangeY&&(this.changeCropTypeY===1?this.cropOldH-c<p?(this.cropH=p,this.cropOffsertY=this.cropOldH+this.cropChangeY-h-p):this.cropOldH-c>0?(this.cropH=o-this.cropChangeY-c<=o-h?this.cropOldH-c:this.cropOldH+this.cropChangeY-h,this.cropOffsertY=o-this.cropChangeY-c<=o-h?this.cropChangeY+c:h):(this.cropH=Math.abs(c)+this.cropChangeY<=o?Math.abs(c)-this.cropOldH:o-this.cropOldH-this.cropChangeY,this.cropOffsertY=this.cropChangeY+this.cropOldH):this.changeCropTypeY===2&&(this.cropOldH+c<p?this.cropH=p:this.cropOldH+c>0?(this.cropH=this.cropOldH+c+this.cropOffsertY<=o?this.cropOldH+c:o-this.cropOffsertY,this.cropOffsertY=this.cropChangeY):(this.cropH=o-this.cropChangeY+Math.abs(c+this.cropOldH)<=o-h?Math.abs(c+this.cropOldH):this.cropChangeY-h,this.cropOffsertY=o-this.cropChangeY+Math.abs(c+this.cropOldH)<=o-h?this.cropChangeY-Math.abs(c+this.cropOldH):h))),this.canChangeX&&this.fixed){var f=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];f<p?(this.cropH=p,this.cropW=this.fixedNumber[0]*p/this.fixedNumber[1],this.changeCropTypeX===1&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):f+this.cropOffsertY>o?(this.cropH=o-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 u=this.cropH/this.fixedNumber[1]*this.fixedNumber[0];u<n?(this.cropW=n,this.cropH=this.fixedNumber[1]*n/this.fixedNumber[0]):u+this.cropOffsertX>s?(this.cropW=s-this.cropOffsertX,this.cropH=this.cropW/this.fixedNumber[0]*this.fixedNumber[1]):this.cropW=u}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,o,r){const h=e/t;let n=o,p=r;return n<i&&(n=i,p=Math.ceil(n/h)),p<s&&(p=s,n=Math.ceil(p*h),n<i&&(n=i,p=Math.ceil(n/h))),n<o&&(n=o,p=Math.ceil(n/h)),p<r&&(p=r,n=Math.ceil(p*h)),{width:n,height:p}},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,o;s=t-this.cropOffsertX,o=i-this.cropOffsertY,this.cropX=s,this.cropY=o,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 o,r,h=i-this.cropX,n=s-this.cropY;if(t&&(h=this.cropOffsertX,n=this.cropOffsertY),h<=0?o=0:h+this.cropW>this.w?o=this.w-this.cropW:o=h,n<=0?r=0:n+this.cropH>this.h?r=this.h-this.cropH:r=n,this.centerBox){let p=this.getImgAxis();o<=p.x1&&(o=p.x1),o+this.cropW>p.x2&&(o=p.x2-this.cropW),r<=p.y1&&(r=p.y1),r+this.cropH>p.y2&&(r=p.y2-this.cropH)}this.cropOffsertX=o,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},o=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+(o-r)/2,s.x2=s.x1+this.trueHeight*i,s.y1=t+this.trueHeight*(1-i)/2+(r-o)/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,o=this.trueWidth,r=this.trueHeight,h=this.cropOffsertX,n=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 u=this.cropW*f,x=this.cropH*f,g=o*this.scale*f,m=r*this.scale*f,v=(this.x-h+this.trueWidth*(1-this.scale)/2)*f,d=(this.y-n+this.trueHeight*(1-this.scale)/2)*f;switch(l(u,x),c.save(),this.fillColor&&(c.fillStyle=this.fillColor,c.fillRect(0,0,t.width,t.height)),s){case 0:this.full?(l(u/this.scale,x/this.scale),c.drawImage(i,v/this.scale,d/this.scale,g/this.scale,m/this.scale)):c.drawImage(i,v,d,g,m);break;case 1:case-3:this.full?(l(u/this.scale,x/this.scale),v=v/this.scale+(g/this.scale-m/this.scale)/2,d=d/this.scale+(m/this.scale-g/this.scale)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,d,-v-m/this.scale,g/this.scale,m/this.scale)):(v=v+(g-m)/2,d=d+(m-g)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,d,-v-m,g,m));break;case 2:case-2:this.full?(l(u/this.scale,x/this.scale),c.rotate(s*90*Math.PI/180),v=v/this.scale,d=d/this.scale,c.drawImage(i,-v-g/this.scale,-d-m/this.scale,g/this.scale,m/this.scale)):(c.rotate(s*90*Math.PI/180),c.drawImage(i,-v-g,-d-m,g,m));break;case 3:case-1:this.full?(l(u/this.scale,x/this.scale),v=v/this.scale+(g/this.scale-m/this.scale)/2,d=d/this.scale+(m/this.scale-g/this.scale)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,-d-g/this.scale,v,g/this.scale,m/this.scale)):(v=v+(g-m)/2,d=d+(m-g)/2,c.rotate(s*90*Math.PI/180),c.drawImage(i,-d-g,v,g,m));break;default:this.full?(l(u/this.scale,x/this.scale),c.drawImage(i,v/this.scale,d/this.scale,g/this.scale,m/this.scale)):c.drawImage(i,v,d,g,m)}c.restore()}else{let c=o*this.scale,f=r*this.scale,u=t.getContext("2d");switch(u.save(),this.fillColor&&(u.fillStyle=this.fillColor,u.fillRect(0,0,t.width,t.height)),s){case 0:l(c,f),u.drawImage(i,0,0,c,f);break;case 1:case-3:l(f,c),u.rotate(s*90*Math.PI/180),u.drawImage(i,0,-f,c,f);break;case 2:case-2:l(c,f),u.rotate(s*90*Math.PI/180),u.drawImage(i,-c,-f,c,f);break;case 3:case-1:l(f,c),u.rotate(s*90*Math.PI/180),u.drawImage(i,-c,0,c,f);break;default:l(c,f),u.drawImage(i,0,0,c,f)}u.restore()}e(t)};var p=this.img.substr(0,4);p!=="data"&&(i.crossOrigin="Anonymous"),i.src=this.imgs;function l(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 o=(this.x-this.cropOffsertX)/i,r=(this.y-this.cropOffsertY)/i,h=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(${o}px, ${r}px, ${h}px)rotateZ(${this.rotate*90}deg)`},s.html=`
2
+ <div class="show-preview" style="width: ${s.w}px; height: ${s.h}px; overflow: hidden">
3
+ <div style="width: ${e}px; height: ${t}px">
4
+ <img src=${s.url} style="width: ${this.trueWidth}px; height: ${this.trueHeight}px; transform:
5
+ scale(${i})translate3d(${o}px, ${r}px, ${h}px)rotateZ(${this.rotate*90}deg)">
6
+ </div>
7
+ </div>`,this.$emit("realTime",s),this.$emit("real-time",s)},reload(){let e=new Image;e.onload=()=>{this.w=parseFloat(window.getComputedStyle(this.$refs.cropper).width),this.h=parseFloat(window.getComputedStyle(this.$refs.cropper).height),this.trueWidth=e.width,this.trueHeight=e.height,this.original?this.scale=1:this.scale=this.checkedMode(),this.$nextTick(()=>{this.x=-(this.trueWidth-this.trueWidth*this.scale)/2+(this.w-this.trueWidth*this.scale)/2,this.y=-(this.trueHeight-this.trueHeight*this.scale)/2+(this.h-this.trueHeight*this.scale)/2,this.loading=!1,this.autoCrop&&this.goAutoCrop(),this.$emit("img-load","success"),this.$emit("imgLoad","success"),setTimeout(()=>{this.showPreview()},20)})},e.onerror=()=>{this.$emit("imgLoad","error"),this.$emit("img-load","error")},e.src=this.imgs},checkedMode(){let e=1,t=this.trueWidth,i=this.trueHeight;const s=this.mode.split(" ");switch(s[0]){case"contain":this.trueWidth>this.w&&(e=this.w/this.trueWidth),this.trueHeight*e>this.h&&(e=this.h/this.trueHeight);break;case"cover":t=this.w,e=t/this.trueWidth,i=i*e,i<this.h&&(i=this.h,e=i/this.trueHeight);break;default:try{let o=s[0];if(o.search("px")!==-1){o=o.replace("px",""),t=parseFloat(o);const r=t/this.trueWidth;let h=1,n=s[1];n.search("px")!==-1&&(n=n.replace("px",""),i=parseFloat(n),h=i/this.trueHeight),e=Math.min(r,h)}if(o.search("%")!==-1&&(o=o.replace("%",""),t=parseFloat(o)/100*this.w,e=t/this.trueWidth),s.length===2&&o==="auto"){let r=s[1];r.search("px")!==-1&&(r=r.replace("px",""),i=parseFloat(r),e=i/this.trueHeight),r.search("%")!==-1&&(r=r.replace("%",""),i=parseFloat(r)/100*this.h,e=i/this.trueHeight)}}catch{e=1}}return e},goAutoCrop(e,t){if(this.imgs===""||this.imgs===null)return;this.clearCrop(),this.cropping=!0;let i=this.w,s=this.h;if(this.centerBox){const h=Math.abs(this.rotate)%2>0;let n=(h?this.trueHeight:this.trueWidth)*this.scale,p=(h?this.trueWidth:this.trueHeight)*this.scale;i=n<i?n:i,s=p<s?p:s}var o=e||parseFloat(this.autoCropWidth),r=t||parseFloat(this.autoCropHeight);(o===0||r===0)&&(o=i*.8,r=s*.8),o=o>i?i:o,r=r>s?s:r,this.fixed&&(r=o/this.fixedNumber[0]*this.fixedNumber[1]),r>this.h&&(r=this.h,o=r/this.fixedNumber[1]*this.fixedNumber[0]),this.changeCrop(o,r)},changeCrop(e,t){if(this.centerBox){let i=this.getImgAxis();e>i.x2-i.x1&&(e=i.x2-i.x1,t=e/this.fixedNumber[0]*this.fixedNumber[1]),t>i.y2-i.y1&&(t=i.y2-i.y1,e=t/this.fixedNumber[1]*this.fixedNumber[0])}this.cropW=e,this.cropH=t,this.checkCropLimitSize(),this.$nextTick(()=>{this.cropOffsertX=(this.w-this.cropW)/2,this.cropOffsertY=(this.h-this.cropH)/2,this.centerBox&&this.moveCrop(null,!0)})},refresh(){this.img,this.imgs="",this.scale=1,this.crop=!1,this.rotate=0,this.w=0,this.h=0,this.trueWidth=0,this.trueHeight=0,this.clearCrop(),this.$nextTick(()=>{this.checkedImg()})},rotateLeft(){this.rotate=this.rotate<=-3?0:this.rotate-1},rotateRight(){this.rotate=this.rotate>=3?0:this.rotate+1},rotateClear(){this.rotate=0},checkoutImgAxis(e,t,i){e=e||this.x,t=t||this.y,i=i||this.scale;let s=!0;if(this.centerBox){let o=this.getImgAxis(e,t,i),r=this.getCropAxis();o.x1>=r.x1&&(s=!1),o.x2<=r.x2&&(s=!1),o.y1>=r.y1&&(s=!1),o.y2<=r.y2&&(s=!1)}return s}},mounted(){this.support="onwheel"in document.createElement("div")?"wheel":document.onmousewheel!==void 0?"mousewheel":"DOMMouseScroll";let e=this;var t=navigator.userAgent;this.isIOS=!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),HTMLCanvasElement.prototype.toBlob||Object.defineProperty(HTMLCanvasElement.prototype,"toBlob",{value:function(i,s,o){for(var r=atob(this.toDataURL(s,o).split(",")[1]),h=r.length,n=new Uint8Array(h),p=0;p<h;p++)n[p]=r.charCodeAt(p);i(new Blob([n],{type:e.type||"image/png"}))}}),this.showPreview(),this.checkedImg()},destroyed(){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.cancelScale()}},k={key:0,class:"cropper-box"},T=["src"],A={class:"cropper-view-box"},z=["src"],V={key:1};function B(e,t,i,s,o,r){return a.openBlock(),a.createElementBlock("div",{class:"vue-cropper",ref:"cropper",onMouseover:t[28]||(t[28]=(...h)=>r.scaleImg&&r.scaleImg(...h)),onMouseout:t[29]||(t[29]=(...h)=>r.cancelScale&&r.cancelScale(...h))},[e.imgs?(a.openBlock(),a.createElementBlock("div",k,[a.withDirectives(a.createElementVNode("div",{class:"cropper-box-canvas",style:a.normalizeStyle({width:e.trueWidth+"px",height:e.trueHeight+"px",transform:"scale("+e.scale+","+e.scale+") translate3d("+e.x/e.scale+"px,"+e.y/e.scale+"px,0)rotateZ("+e.rotate*90+"deg)"})},[a.createElementVNode("img",{src:e.imgs,alt:"cropper-img",ref:"cropperImg"},null,8,T)],4),[[a.vShow,!e.loading]])])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(["cropper-drag-box",{"cropper-move":e.move&&!e.crop,"cropper-crop":e.crop,"cropper-modal":e.cropping}]),onMousedown:t[0]||(t[0]=(...h)=>r.startMove&&r.startMove(...h)),onTouchstart:t[1]||(t[1]=(...h)=>r.startMove&&r.startMove(...h))},null,34),a.withDirectives(a.createElementVNode("div",{class:"cropper-crop-box",style:a.normalizeStyle({width:e.cropW+"px",height:e.cropH+"px",transform:"translate3d("+e.cropOffsertX+"px,"+e.cropOffsertY+"px,0)"})},[a.createElementVNode("span",A,[a.createElementVNode("img",{style:a.normalizeStyle({width:e.trueWidth+"px",height:e.trueHeight+"px",transform:"scale("+e.scale+","+e.scale+") translate3d("+(e.x-e.cropOffsertX)/e.scale+"px,"+(e.y-e.cropOffsertY)/e.scale+"px,0)rotateZ("+e.rotate*90+"deg)"}),src:e.imgs,alt:"cropper-img"},null,12,z)]),a.createElementVNode("span",{class:"cropper-face cropper-move",onMousedown:t[2]||(t[2]=(...h)=>r.cropMove&&r.cropMove(...h)),onTouchstart:t[3]||(t[3]=(...h)=>r.cropMove&&r.cropMove(...h))},null,32),i.info?(a.openBlock(),a.createElementBlock("span",{key:0,class:"crop-info",style:a.normalizeStyle({top:r.cropInfo.top})},a.toDisplayString(r.cropInfo.width)+" × "+a.toDisplayString(r.cropInfo.height),5)):a.createCommentVNode("",!0),i.fixedBox?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("span",V,[a.createElementVNode("span",{class:"crop-line line-w",onMousedown:t[4]||(t[4]=h=>r.changeCropSize(h,!1,!0,0,1)),onTouchstart:t[5]||(t[5]=h=>r.changeCropSize(h,!1,!0,0,1))},null,32),a.createElementVNode("span",{class:"crop-line line-a",onMousedown:t[6]||(t[6]=h=>r.changeCropSize(h,!0,!1,1,0)),onTouchstart:t[7]||(t[7]=h=>r.changeCropSize(h,!0,!1,1,0))},null,32),a.createElementVNode("span",{class:"crop-line line-s",onMousedown:t[8]||(t[8]=h=>r.changeCropSize(h,!1,!0,0,2)),onTouchstart:t[9]||(t[9]=h=>r.changeCropSize(h,!1,!0,0,2))},null,32),a.createElementVNode("span",{class:"crop-line line-d",onMousedown:t[10]||(t[10]=h=>r.changeCropSize(h,!0,!1,2,0)),onTouchstart:t[11]||(t[11]=h=>r.changeCropSize(h,!0,!1,2,0))},null,32),a.createElementVNode("span",{class:"crop-point point1",onMousedown:t[12]||(t[12]=h=>r.changeCropSize(h,!0,!0,1,1)),onTouchstart:t[13]||(t[13]=h=>r.changeCropSize(h,!0,!0,1,1))},null,32),a.createElementVNode("span",{class:"crop-point point2",onMousedown:t[14]||(t[14]=h=>r.changeCropSize(h,!1,!0,0,1)),onTouchstart:t[15]||(t[15]=h=>r.changeCropSize(h,!1,!0,0,1))},null,32),a.createElementVNode("span",{class:"crop-point point3",onMousedown:t[16]||(t[16]=h=>r.changeCropSize(h,!0,!0,2,1)),onTouchstart:t[17]||(t[17]=h=>r.changeCropSize(h,!0,!0,2,1))},null,32),a.createElementVNode("span",{class:"crop-point point4",onMousedown:t[18]||(t[18]=h=>r.changeCropSize(h,!0,!1,1,0)),onTouchstart:t[19]||(t[19]=h=>r.changeCropSize(h,!0,!1,1,0))},null,32),a.createElementVNode("span",{class:"crop-point point5",onMousedown:t[20]||(t[20]=h=>r.changeCropSize(h,!0,!1,2,0)),onTouchstart:t[21]||(t[21]=h=>r.changeCropSize(h,!0,!1,2,0))},null,32),a.createElementVNode("span",{class:"crop-point point6",onMousedown:t[22]||(t[22]=h=>r.changeCropSize(h,!0,!0,1,2)),onTouchstart:t[23]||(t[23]=h=>r.changeCropSize(h,!0,!0,1,2))},null,32),a.createElementVNode("span",{class:"crop-point point7",onMousedown:t[24]||(t[24]=h=>r.changeCropSize(h,!1,!0,0,2)),onTouchstart:t[25]||(t[25]=h=>r.changeCropSize(h,!1,!0,0,2))},null,32),a.createElementVNode("span",{class:"crop-point point8",onMousedown:t[26]||(t[26]=h=>r.changeCropSize(h,!0,!0,2,2)),onTouchstart:t[27]||(t[27]=h=>r.changeCropSize(h,!0,!0,2,2))},null,32)]))],4),[[a.vShow,e.cropping]])],544)}const $=H._export_sfc(L,[["render",B],["__scopeId","data-v-168a3964"]]),P={class:"h-full"},R={class:"avatar-upload-preview"},U=["src"],D=a.defineComponent({__name:"uploadAvatar",props:{avatar:{default:""},close:{type:Function,default:close}},setup(e){const{postSinglefile:t,postUpdateFile:i}=H.useFileController(),s=e;let o=a.ref({});a.onMounted(async()=>{o.value=await H.systemStore.get("userInfo")});const{proxy:r}=a.getCurrentInstance();let{avatar:h}=a.toRefs(s);const n=a.reactive({img:"",autoCrop:!0,autoCropWidth:200,autoCropHeight:200,fixedBox:!1,outputSize:.5,outputType:"jpeg",canScale:!1,fixed:!1,fixedNumber:[1,1],full:!0,canMoveBox:!1,original:!1,centerBox:!1,infoTrue:!0,filename:""}),p=a.ref({}),l=a.ref({});a.ref(!1);let c=d=>{d=="left"&&l.value.rotateLeft(),d=="right"&&l.value.rotateRight()},f=d=>{const w=d||1;l.value.changeScale(w)},u=()=>{l.value.refresh()};const x=d=>{p.value=d};let g=()=>{},m=d=>{if(["image/png","image/jpg","image/jpeg","image/PNG","image/JPG","image/JPEG","image/gif"].includes(d.type)){const C=new FileReader;C.readAsDataURL(d),C.onload=()=>{n.img=C.result,n.filename=d.name}}else return r.$message.error("图片格式有误,请重新上传"),!1},v=()=>{n.img||r.$message.warning("请先选择图片"),l.value.getCropBlob(async d=>{const w=await t({file:d}),C=i({id:o.value.id,attchIdArrStr:w.data.id,attachType:2});s.close(C)})};return a.onMounted(()=>{setTimeout(()=>{n.img=h.value},100)}),(d,w)=>{const C=a.resolveComponent("el-col"),O=a.resolveComponent("el-row"),X=a.resolveComponent("bc-icon"),y=a.resolveComponent("el-button"),Y=a.resolveComponent("hs-upload");return a.openBlock(),a.createElementBlock("div",P,[a.createVNode(O,null,{default:a.withCtx(()=>[a.createVNode(C,{xs:24,md:13,style:{height:"350px"}},{default:a.withCtx(()=>[a.createVNode($,{ref_key:"cropperRef",ref:l,img:n.img,info:!0,infoTrue:n.infoTrue,"auto-crop":n.autoCrop,"fixed-box":n.fixedBox,fixedNumber:n.fixedNumber,fixed:n.fixed,centerBox:n.centerBox,outputType:"png",onRealTime:x},null,8,["img","infoTrue","auto-crop","fixed-box","fixedNumber","fixed","centerBox"])]),_:1}),a.createVNode(C,{xs:24,md:11,style:{height:"350px"}},{default:a.withCtx(()=>[a.createElementVNode("div",R,[a.createElementVNode("img",{src:p.value.url,style:a.normalizeStyle(p.value.img)},null,12,U)])]),_:1})]),_:1}),a.createVNode(O,{class:"ptb2 py-3"},{default:a.withCtx(()=>[a.createVNode(C,{lg:2,md:2},{default:a.withCtx(()=>[a.createVNode(Y,{action:"#","http-request":a.unref(g),"show-file-list":!1,"before-upload":a.unref(m),accept:"image/*"},{default:a.withCtx(()=>[a.createVNode(y,{size:"default"},{default:a.withCtx(()=>[a.createTextVNode(" 选择 "),a.createVNode(X,{name:"ele-UploadFilled"})]),_:1})]),_:1},8,["http-request","before-upload"])]),_:1}),a.createVNode(C,{lg:{span:1,offset:1},md:2},{default:a.withCtx(()=>[a.createVNode(y,{size:"default",icon:"ele-Plus",onClick:w[0]||(w[0]=b=>a.unref(f)(1))})]),_:1}),a.createVNode(C,{lg:{span:1,offset:1},md:2},{default:a.withCtx(()=>[a.createVNode(y,{size:"default",icon:"ele-Minus",onClick:w[1]||(w[1]=b=>a.unref(f)(-1))})]),_:1}),a.createVNode(C,{lg:{span:1,offset:1},md:2},{default:a.withCtx(()=>[a.createVNode(y,{size:"default",icon:"ele-RefreshLeft",onClick:w[2]||(w[2]=b=>a.unref(c)("left"))})]),_:1}),a.createVNode(C,{lg:{span:1,offset:1},md:2},{default:a.withCtx(()=>[a.createVNode(y,{size:"default",icon:"ele-RefreshRight",onClick:w[3]||(w[3]=b=>a.unref(c)("right"))})]),_:1}),a.createVNode(C,{lg:{span:1,offset:1},md:2},{default:a.withCtx(()=>[a.createVNode(y,{size:"default",onClick:w[4]||(w[4]=b=>a.unref(u)())},{default:a.withCtx(()=>[a.createTextVNode("重 置")]),_:1})]),_:1}),a.createVNode(C,{lg:{span:1,offset:7},md:2},{default:a.withCtx(()=>[a.createVNode(y,{size:"default",type:"primary",onClick:w[5]||(w[5]=b=>a.unref(v)())},{default:a.withCtx(()=>[a.createTextVNode("提 交")]),_:1})]),_:1})]),_:1})])}}}),F=H._export_sfc(D,[["__scopeId","data-v-cb474ea8"]]);exports.default=F;
Binary file