hs-admin-ui 2.1.8 → 2.1.10

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 (751) hide show
  1. package/package.json +24 -24
  2. package/dist/401-DVdb0GNW.js +0 -1
  3. package/dist/401-DVdb0GNW.js.gz +0 -0
  4. package/dist/401-DgUob2Js.mjs +0 -47
  5. package/dist/401-DgUob2Js.mjs.gz +0 -0
  6. package/dist/404-A4Csp1Ip.js +0 -1
  7. package/dist/404-A4Csp1Ip.js.gz +0 -0
  8. package/dist/404-BptKMLh5.mjs +0 -47
  9. package/dist/404-BptKMLh5.mjs.gz +0 -0
  10. package/dist/account-BDRKt5nS.mjs +0 -306
  11. package/dist/account-BDRKt5nS.mjs.gz +0 -0
  12. package/dist/account-BeQ_ODQl.js +0 -1
  13. package/dist/account-BeQ_ODQl.js.gz +0 -0
  14. package/dist/aside-BuvLehr_.mjs +0 -105
  15. package/dist/aside-BuvLehr_.mjs.gz +0 -0
  16. package/dist/aside-yCEEHSv2.js +0 -1
  17. package/dist/aside-yCEEHSv2.js.gz +0 -0
  18. package/dist/baseBtnConfig-BaYFVzAe.js +0 -1
  19. package/dist/baseBtnConfig-BaYFVzAe.js.gz +0 -0
  20. package/dist/baseBtnConfig-BpdCCSnd.mjs +0 -261
  21. package/dist/baseBtnConfig-BpdCCSnd.mjs.gz +0 -0
  22. package/dist/baseFormConfig-C0zfNyc-.js +0 -1
  23. package/dist/baseFormConfig-C0zfNyc-.js.gz +0 -0
  24. package/dist/baseFormConfig-uteR76ht.mjs +0 -565
  25. package/dist/baseFormConfig-uteR76ht.mjs.gz +0 -0
  26. package/dist/btnIndex-BCp0dtTE.js +0 -1
  27. package/dist/btnIndex-BCp0dtTE.js.gz +0 -0
  28. package/dist/btnIndex-BLQlq7oG.mjs +0 -247
  29. package/dist/btnIndex-BLQlq7oG.mjs.gz +0 -0
  30. package/dist/classic-7yDYjAzl.js +0 -1
  31. package/dist/classic-7yDYjAzl.js.gz +0 -0
  32. package/dist/classic-Cu7fyfHh.mjs +0 -61
  33. package/dist/classic-Cu7fyfHh.mjs.gz +0 -0
  34. package/dist/columns-DCWXU6dl.mjs +0 -67
  35. package/dist/columns-DCWXU6dl.mjs.gz +0 -0
  36. package/dist/columns-EdLVwvGA.js +0 -1
  37. package/dist/columns-EdLVwvGA.js.gz +0 -0
  38. package/dist/columnsAside-D-rAbJEW.mjs +0 -157
  39. package/dist/columnsAside-D-rAbJEW.mjs.gz +0 -0
  40. package/dist/columnsAside-D6qjzuvy.js +0 -1
  41. package/dist/columnsAside-D6qjzuvy.js.gz +0 -0
  42. package/dist/contextmenu-BpJV6EJG.js +0 -1
  43. package/dist/contextmenu-BpJV6EJG.js.gz +0 -0
  44. package/dist/contextmenu-CV3N88Nd.mjs +0 -97
  45. package/dist/contextmenu-CV3N88Nd.mjs.gz +0 -0
  46. package/dist/contextmenu-Co6dLIcX.mjs +0 -99
  47. package/dist/contextmenu-Co6dLIcX.mjs.gz +0 -0
  48. package/dist/contextmenu-DCYkKIvG.js +0 -1
  49. package/dist/contextmenu-DCYkKIvG.js.gz +0 -0
  50. package/dist/defaults-BncMSabJ.js +0 -1
  51. package/dist/defaults-BncMSabJ.js.gz +0 -0
  52. package/dist/defaults-Ddwx-c-D.mjs +0 -66
  53. package/dist/defaults-Ddwx-c-D.mjs.gz +0 -0
  54. package/dist/dialog-BmCwSZ2C.js +0 -1
  55. package/dist/dialog-BmCwSZ2C.js.gz +0 -0
  56. package/dist/dialog-Bsd85VCn.js +0 -1
  57. package/dist/dialog-By5zMABQ.js +0 -1
  58. package/dist/dialog-Ch_vZTX6.mjs +0 -329
  59. package/dist/dialog-Ch_vZTX6.mjs.gz +0 -0
  60. package/dist/dialog-Cqb6ay6R.js +0 -1
  61. package/dist/dialog-Cqb6ay6R.js.gz +0 -0
  62. package/dist/dialog-CuKHJ_BH.mjs +0 -4
  63. package/dist/dialog-DPDJ_D21.mjs +0 -10
  64. package/dist/dialog-DVZ-Aqm0.mjs +0 -429
  65. package/dist/dialog-DVZ-Aqm0.mjs.gz +0 -0
  66. package/dist/dialog-DeuceWcM.js +0 -1
  67. package/dist/dialog-DeuceWcM.js.gz +0 -0
  68. package/dist/dialog-RExXYhAd.js +0 -1
  69. package/dist/dialog-UoVqSoLN.mjs +0 -319
  70. package/dist/dialog-UoVqSoLN.mjs.gz +0 -0
  71. package/dist/dialog-h4phQWnA.mjs +0 -4
  72. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-CB82MQ_N.js +0 -1
  73. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-CB82MQ_N.js.gz +0 -0
  74. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-DjAMWVZQ.mjs +0 -179
  75. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-DjAMWVZQ.mjs.gz +0 -0
  76. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-BX3W0EQm.mjs +0 -549
  77. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-BX3W0EQm.mjs.gz +0 -0
  78. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-BwJuszIz.js +0 -1
  79. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-BwJuszIz.js.gz +0 -0
  80. package/dist/dictDialog-Dasvvy0w.mjs +0 -4
  81. package/dist/dictDialog-_ELADYZa.js +0 -1
  82. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-D9wv5gPH.js +0 -1
  83. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-D9wv5gPH.js.gz +0 -0
  84. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-DWhlRtM-.mjs +0 -122
  85. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-DWhlRtM-.mjs.gz +0 -0
  86. package/dist/dictItemDialog-D6ng9TEB.mjs +0 -4
  87. package/dist/dictItemDialog-Di8y4EWa.js +0 -1
  88. package/dist/dictItemDialog.vue_vue_type_script_setup_true_name_dictItemDialog_lang-BezIdw52.mjs +0 -201
  89. package/dist/dictItemDialog.vue_vue_type_script_setup_true_name_dictItemDialog_lang-BezIdw52.mjs.gz +0 -0
  90. package/dist/dictItemDialog.vue_vue_type_script_setup_true_name_dictItemDialog_lang-Dn8yifVI.js +0 -1
  91. package/dist/dictItemDialog.vue_vue_type_script_setup_true_name_dictItemDialog_lang-Dn8yifVI.js.gz +0 -0
  92. package/dist/favicon.ico +0 -0
  93. package/dist/formConfig-DoC3eh_G.js +0 -1
  94. package/dist/formConfig-DoC3eh_G.js.gz +0 -0
  95. package/dist/formConfig-Dt-Lc_uy.mjs +0 -326
  96. package/dist/formConfig-Dt-Lc_uy.mjs.gz +0 -0
  97. package/dist/header-2grX-GIu.mjs +0 -24
  98. package/dist/header-Cr0QgAO3.js +0 -1
  99. package/dist/horizontal-CuUQ_O2D.js +0 -1
  100. package/dist/horizontal-CuUQ_O2D.js.gz +0 -0
  101. package/dist/horizontal-Cw73T_54.mjs +0 -109
  102. package/dist/horizontal-Cw73T_54.mjs.gz +0 -0
  103. package/dist/hsAttrBtn-BA2StOdt.mjs +0 -4
  104. package/dist/hsAttrBtn-BDRgfGCf.js +0 -1
  105. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-BrFsgQgS.js +0 -1
  106. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-BrFsgQgS.js.gz +0 -0
  107. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-CO9TjCuY.mjs +0 -103
  108. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-CO9TjCuY.mjs.gz +0 -0
  109. package/dist/hsAttrForm-CiwByjoe.js +0 -1
  110. package/dist/hsAttrForm-xQnDyXXp.mjs +0 -4
  111. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-B-ffZfLb.js +0 -1
  112. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-B-ffZfLb.js.gz +0 -0
  113. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-Cql3leH5.mjs +0 -211
  114. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-Cql3leH5.mjs.gz +0 -0
  115. package/dist/hsBtnConfigList-BY1zvist.js +0 -1
  116. package/dist/hsBtnConfigList-BY1zvist.js.gz +0 -0
  117. package/dist/hsBtnConfigList-Bw7n1YdC.mjs +0 -87
  118. package/dist/hsBtnConfigList-Bw7n1YdC.mjs.gz +0 -0
  119. package/dist/hsBtnItemConfig-BNZrwCKr.mjs +0 -4
  120. package/dist/hsBtnItemConfig-BPnIRVFW.js +0 -1
  121. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-Byv-C0Fr.js +0 -1
  122. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-Byv-C0Fr.js.gz +0 -0
  123. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-vDFZTBxa.mjs +0 -84
  124. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-vDFZTBxa.mjs.gz +0 -0
  125. package/dist/hsBtnPanel-BZ-feXYT.js +0 -1
  126. package/dist/hsBtnPanel-NuAr86uy.mjs +0 -4
  127. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DOPWM8B8.js +0 -1
  128. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DOPWM8B8.js.gz +0 -0
  129. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-RaBJ1Hm1.mjs +0 -56
  130. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-RaBJ1Hm1.mjs.gz +0 -0
  131. package/dist/hsExpand-B9Miz2Yx.js +0 -1
  132. package/dist/hsExpand-BHpzHDbj.mjs +0 -4
  133. package/dist/hsExpand.vue_vue_type_script_setup_true_lang-BeHZrTe5.js +0 -1
  134. package/dist/hsExpand.vue_vue_type_script_setup_true_lang-Dav877Bl.mjs +0 -46
  135. package/dist/hsExpand.vue_vue_type_script_setup_true_lang-Dav877Bl.mjs.gz +0 -0
  136. package/dist/hsFormConfig-BvSDZP2G.mjs +0 -178
  137. package/dist/hsFormConfig-BvSDZP2G.mjs.gz +0 -0
  138. package/dist/hsFormConfig-vr67nCL0.js +0 -1
  139. package/dist/hsFormConfig-vr67nCL0.js.gz +0 -0
  140. package/dist/hsFormConfigList-B8YFMUxQ.mjs +0 -232
  141. package/dist/hsFormConfigList-B8YFMUxQ.mjs.gz +0 -0
  142. package/dist/hsFormConfigList-Dhjlw7Ro.js +0 -1
  143. package/dist/hsFormConfigList-Dhjlw7Ro.js.gz +0 -0
  144. package/dist/hsFormPanel-BaSBOCw9.mjs +0 -4
  145. package/dist/hsFormPanel-CW5NWJsz.js +0 -1
  146. package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-B8OQaWdP.js +0 -1
  147. package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-B8OQaWdP.js.gz +0 -0
  148. package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-D-cVeQhH.mjs +0 -172
  149. package/dist/hsFormPanel.vue_vue_type_script_setup_true_name_formPanel_lang-D-cVeQhH.mjs.gz +0 -0
  150. package/dist/hsFormParse-C8Zoha78.mjs +0 -4
  151. package/dist/hsFormParse-DhXhvb-N.js +0 -1
  152. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-BCKvpAxP.mjs +0 -99
  153. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-BCKvpAxP.mjs.gz +0 -0
  154. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-Cl7knF5t.js +0 -1
  155. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-Cl7knF5t.js.gz +0 -0
  156. package/dist/hsPageTree-CJmB5A22.js +0 -1
  157. package/dist/hsPageTree-CJmB5A22.js.gz +0 -0
  158. package/dist/hsPageTree-nzuKrCbQ.mjs +0 -90
  159. package/dist/hsPageTree-nzuKrCbQ.mjs.gz +0 -0
  160. package/dist/hsPanelItem-CiiRdEHL.js +0 -1
  161. package/dist/hsPanelItem-DFi_K1A-.mjs +0 -4
  162. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-CEx4NFC1.mjs +0 -76
  163. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-CEx4NFC1.mjs.gz +0 -0
  164. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-Ce_I5dzr.js +0 -1
  165. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-Ce_I5dzr.js.gz +0 -0
  166. package/dist/iframes-CBt-gTfD.mjs +0 -102
  167. package/dist/iframes-CBt-gTfD.mjs.gz +0 -0
  168. package/dist/iframes-D8_NRCJb.js +0 -1
  169. package/dist/iframes-D8_NRCJb.js.gz +0 -0
  170. package/dist/index--4SDelHL.js +0 -1
  171. package/dist/index--4SDelHL.js.gz +0 -0
  172. package/dist/index-0vzDoVhe.mjs +0 -55
  173. package/dist/index-0vzDoVhe.mjs.gz +0 -0
  174. package/dist/index-5ngnXtYJ.mjs +0 -845
  175. package/dist/index-5ngnXtYJ.mjs.gz +0 -0
  176. package/dist/index-5vjZx--H.js +0 -1
  177. package/dist/index-5vjZx--H.js.gz +0 -0
  178. package/dist/index-8NbyWsB-.js +0 -1
  179. package/dist/index-8NbyWsB-.js.gz +0 -0
  180. package/dist/index-9QvqsZmA.mjs +0 -217
  181. package/dist/index-9QvqsZmA.mjs.gz +0 -0
  182. package/dist/index-AOqWQcjo.mjs +0 -220
  183. package/dist/index-AOqWQcjo.mjs.gz +0 -0
  184. package/dist/index-B0ftY20M.js +0 -1
  185. package/dist/index-B0ftY20M.js.gz +0 -0
  186. package/dist/index-B0xMQEkW.js +0 -1
  187. package/dist/index-B0xMQEkW.js.gz +0 -0
  188. package/dist/index-B16pyFmS.mjs +0 -108
  189. package/dist/index-B16pyFmS.mjs.gz +0 -0
  190. package/dist/index-B9I-xqmM.mjs +0 -65
  191. package/dist/index-B9I-xqmM.mjs.gz +0 -0
  192. package/dist/index-BDcsn7or.mjs +0 -65
  193. package/dist/index-BDcsn7or.mjs.gz +0 -0
  194. package/dist/index-BFTOjwD0.js +0 -1
  195. package/dist/index-BGsFZ-PI.js +0 -1
  196. package/dist/index-BGsFZ-PI.js.gz +0 -0
  197. package/dist/index-BMPUR3_U.mjs +0 -94553
  198. package/dist/index-BMPUR3_U.mjs.gz +0 -0
  199. package/dist/index-BOEdDL1s.js +0 -1
  200. package/dist/index-BOEdDL1s.js.gz +0 -0
  201. package/dist/index-BOIwCyAt.mjs +0 -55
  202. package/dist/index-BOIwCyAt.mjs.gz +0 -0
  203. package/dist/index-BQqpDQkZ.js +0 -1
  204. package/dist/index-BYfacaKR.js +0 -1
  205. package/dist/index-BbYXHzTb.mjs +0 -4
  206. package/dist/index-BdyD59gX.mjs +0 -29
  207. package/dist/index-BfQLYwUv.js +0 -1
  208. package/dist/index-BfQLYwUv.js.gz +0 -0
  209. package/dist/index-Bjy19GBK.mjs +0 -101
  210. package/dist/index-Bjy19GBK.mjs.gz +0 -0
  211. package/dist/index-BrrPaR9h.js +0 -1
  212. package/dist/index-BrrPaR9h.js.gz +0 -0
  213. package/dist/index-C3tHtNK5.mjs +0 -4
  214. package/dist/index-C59K5VNP.mjs +0 -54
  215. package/dist/index-C59K5VNP.mjs.gz +0 -0
  216. package/dist/index-CBs5pMX8.mjs +0 -41
  217. package/dist/index-CBs5pMX8.mjs.gz +0 -0
  218. package/dist/index-CO9clTdw.mjs +0 -229
  219. package/dist/index-CO9clTdw.mjs.gz +0 -0
  220. package/dist/index-CPgizfZe.js +0 -1
  221. package/dist/index-Ca30wK1Q.mjs +0 -29
  222. package/dist/index-Cdfb7OUo.js +0 -1
  223. package/dist/index-Cdfb7OUo.js.gz +0 -0
  224. package/dist/index-Cedi-amR.js +0 -1
  225. package/dist/index-Cedi-amR.js.gz +0 -0
  226. package/dist/index-Cj6gDBkD.js +0 -1
  227. package/dist/index-Cj6gDBkD.js.gz +0 -0
  228. package/dist/index-CjwWBwyC.js +0 -1
  229. package/dist/index-CjwWBwyC.js.gz +0 -0
  230. package/dist/index-Cl6or0Fc.mjs +0 -320
  231. package/dist/index-Cl6or0Fc.mjs.gz +0 -0
  232. package/dist/index-Cm7_7WQk.js +0 -1
  233. package/dist/index-Cm7_7WQk.js.gz +0 -0
  234. package/dist/index-CoEJxMaw.mjs +0 -10
  235. package/dist/index-CwDjnlMp.js +0 -1
  236. package/dist/index-CwDjnlMp.js.gz +0 -0
  237. package/dist/index-D3OfUq-a.mjs +0 -132
  238. package/dist/index-D3OfUq-a.mjs.gz +0 -0
  239. package/dist/index-D9sPQ63d.mjs +0 -73
  240. package/dist/index-D9sPQ63d.mjs.gz +0 -0
  241. package/dist/index-DAxjj_WV.js +0 -1
  242. package/dist/index-DCkKzPTt.js +0 -1
  243. package/dist/index-DK_u75K5.js +0 -1
  244. package/dist/index-DK_u75K5.js.gz +0 -0
  245. package/dist/index-DKip8ZCR.js +0 -1
  246. package/dist/index-DKip8ZCR.js.gz +0 -0
  247. package/dist/index-DShaVXRJ.mjs +0 -34
  248. package/dist/index-DShaVXRJ.mjs.gz +0 -0
  249. package/dist/index-DVPr_OFF.js +0 -197
  250. package/dist/index-DVPr_OFF.js.gz +0 -0
  251. package/dist/index-DcqAOXH4.mjs +0 -62
  252. package/dist/index-DcqAOXH4.mjs.gz +0 -0
  253. package/dist/index-DpWrH8W0.js +0 -1
  254. package/dist/index-DpWrH8W0.js.gz +0 -0
  255. package/dist/index-Dr5SaFxu.mjs +0 -88
  256. package/dist/index-Dr5SaFxu.mjs.gz +0 -0
  257. package/dist/index-DrLBrFj7.js +0 -1
  258. package/dist/index-DrLBrFj7.js.gz +0 -0
  259. package/dist/index-DuTLDi4B.mjs +0 -220
  260. package/dist/index-DuTLDi4B.mjs.gz +0 -0
  261. package/dist/index-FWi5N3s2.mjs +0 -149
  262. package/dist/index-FWi5N3s2.mjs.gz +0 -0
  263. package/dist/index-GBjoyliY.js +0 -1
  264. package/dist/index-GBjoyliY.js.gz +0 -0
  265. package/dist/index-HrgQCPLm.mjs +0 -4
  266. package/dist/index-JSMsPVsI.mjs +0 -59
  267. package/dist/index-JSMsPVsI.mjs.gz +0 -0
  268. package/dist/index-KFZatk-Z.mjs +0 -67
  269. package/dist/index-KFZatk-Z.mjs.gz +0 -0
  270. package/dist/index-Rq-iEf5-.mjs +0 -20
  271. package/dist/index-S-Oc2s_4.js +0 -1
  272. package/dist/index-WC-vda-v.mjs +0 -18
  273. package/dist/index-cajiosNW.js +0 -1
  274. package/dist/index-cajiosNW.js.gz +0 -0
  275. package/dist/index-gfkiZ7Ll.mjs +0 -231
  276. package/dist/index-gfkiZ7Ll.mjs.gz +0 -0
  277. package/dist/index-kuyYmMvk.js +0 -1
  278. package/dist/index-kuyYmMvk.js.gz +0 -0
  279. package/dist/index-o3o676xZ.js +0 -1
  280. package/dist/index-o3o676xZ.js.gz +0 -0
  281. package/dist/index-v1tdXXCm.js +0 -1
  282. package/dist/index.js +0 -1
  283. package/dist/index.mjs +0 -13
  284. package/dist/index.vue_vue_type_script_setup_true_lang-BO-nR5tp.js +0 -1
  285. package/dist/index.vue_vue_type_script_setup_true_lang-CdN0U_-3.mjs +0 -30
  286. package/dist/index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-B1HIzHfY.js +0 -1
  287. package/dist/index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-B1HIzHfY.js.gz +0 -0
  288. package/dist/index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-DtKAPcKY.mjs +0 -77
  289. package/dist/index.vue_vue_type_script_setup_true_name_testtablecomponent_lang-DtKAPcKY.mjs.gz +0 -0
  290. package/dist/link-BQ3qpIeR.js +0 -1
  291. package/dist/link-BQ3qpIeR.js.gz +0 -0
  292. package/dist/link-DvsM8Ttq.mjs +0 -50
  293. package/dist/link-DvsM8Ttq.mjs.gz +0 -0
  294. package/dist/list-D0qtSvKZ.js +0 -1
  295. package/dist/list-D0qtSvKZ.js.gz +0 -0
  296. package/dist/list-DrdkOBEc.mjs +0 -74
  297. package/dist/list-DrdkOBEc.mjs.gz +0 -0
  298. package/dist/logo-mini-B38ustl2.js +0 -1
  299. package/dist/logo-mini-B38ustl2.js.gz +0 -0
  300. package/dist/logo-mini-Bl032aC-.mjs +0 -4
  301. package/dist/logo-mini-Bl032aC-.mjs.gz +0 -0
  302. package/dist/main-BLVTKTnt.js +0 -1
  303. package/dist/main-BLVTKTnt.js.gz +0 -0
  304. package/dist/main-D3g70gR0.mjs +0 -47
  305. package/dist/main-D3g70gR0.mjs.gz +0 -0
  306. package/dist/mobile-Cqugf7qz.mjs +0 -104
  307. package/dist/mobile-Cqugf7qz.mjs.gz +0 -0
  308. package/dist/mobile-DrGWaP13.js +0 -1
  309. package/dist/mobile-DrGWaP13.js.gz +0 -0
  310. package/dist/parent-BnTCst2-.mjs +0 -95
  311. package/dist/parent-BnTCst2-.mjs.gz +0 -0
  312. package/dist/parent-CfQaVc7x.js +0 -1
  313. package/dist/parent-CfQaVc7x.js.gz +0 -0
  314. package/dist/roleItem-CUDMvcXQ.mjs +0 -83
  315. package/dist/roleItem-CUDMvcXQ.mjs.gz +0 -0
  316. package/dist/roleItem-IOfJrsw8.js +0 -1
  317. package/dist/roleItem-IOfJrsw8.js.gz +0 -0
  318. package/dist/saveForm-CHsIUFAa.js +0 -1
  319. package/dist/saveForm-CkbMtOky.mjs +0 -4
  320. package/dist/saveForm.vue_vue_type_script_setup_true_lang-BlpEgFr6.js +0 -1
  321. package/dist/saveForm.vue_vue_type_script_setup_true_lang-BlpEgFr6.js.gz +0 -0
  322. package/dist/saveForm.vue_vue_type_script_setup_true_lang-_rfJOyfY.mjs +0 -273
  323. package/dist/saveForm.vue_vue_type_script_setup_true_lang-_rfJOyfY.mjs.gz +0 -0
  324. package/dist/scan-BlFkY9gu.mjs +0 -544
  325. package/dist/scan-BlFkY9gu.mjs.gz +0 -0
  326. package/dist/scan-wjBeK6ZH.js +0 -1
  327. package/dist/scan-wjBeK6ZH.js.gz +0 -0
  328. package/dist/search-BET-xyw0.js +0 -1
  329. package/dist/search-BET-xyw0.js.gz +0 -0
  330. package/dist/search-BUTOio9Q.mjs +0 -85
  331. package/dist/search-BUTOio9Q.mjs.gz +0 -0
  332. package/dist/selectConfig-BCB3gymq.mjs +0 -536
  333. package/dist/selectConfig-BCB3gymq.mjs.gz +0 -0
  334. package/dist/selectConfig-nm4qcYdq.js +0 -1
  335. package/dist/selectConfig-nm4qcYdq.js.gz +0 -0
  336. package/dist/style.css +0 -1
  337. package/dist/style.css.gz +0 -0
  338. package/dist/subItem-Bpc-3fyq.js +0 -1
  339. package/dist/subItem-Bpc-3fyq.js.gz +0 -0
  340. package/dist/subItem-lehi__h-.mjs +0 -66
  341. package/dist/subItem-lehi__h-.mjs.gz +0 -0
  342. package/dist/tagsView-B126hR9m.js +0 -6
  343. package/dist/tagsView-B126hR9m.js.gz +0 -0
  344. package/dist/tagsView-t8x-y-Fz.mjs +0 -1568
  345. package/dist/tagsView-t8x-y-Fz.mjs.gz +0 -0
  346. package/dist/transverse-BjsZmxW4.mjs +0 -51
  347. package/dist/transverse-BjsZmxW4.mjs.gz +0 -0
  348. package/dist/transverse-O5Bd7PdM.js +0 -1
  349. package/dist/transverse-O5Bd7PdM.js.gz +0 -0
  350. package/dist/types/api/bizApiController/index.d.ts +0 -5
  351. package/dist/types/api/bizApiController/type.d.ts +0 -19
  352. package/dist/types/api/btnConfigController/index.d.ts +0 -8
  353. package/dist/types/api/btnConfigController/type.d.ts +0 -76
  354. package/dist/types/api/businessController/index.d.ts +0 -4
  355. package/dist/types/api/businessController/type.d.ts +0 -24
  356. package/dist/types/api/dataPermissionController/index.d.ts +0 -6
  357. package/dist/types/api/dataPermissionController/type.d.ts +0 -33
  358. package/dist/types/api/dictController/index.d.ts +0 -12
  359. package/dist/types/api/dictController/type.d.ts +0 -96
  360. package/dist/types/api/fieldConfigController/index.d.ts +0 -17
  361. package/dist/types/api/fieldConfigController/type.d.ts +0 -270
  362. package/dist/types/api/fileController/index.d.ts +0 -18
  363. package/dist/types/api/fileController/type.d.ts +0 -49
  364. package/dist/types/api/getApiController/index.d.ts +0 -4
  365. package/dist/types/api/index.d.ts +0 -22
  366. package/dist/types/api/loginController/index.d.ts +0 -6
  367. package/dist/types/api/loginController/type.d.ts +0 -2
  368. package/dist/types/api/menuController/index.d.ts +0 -11
  369. package/dist/types/api/menuController/type.d.ts +0 -57
  370. package/dist/types/api/systemController/index.d.ts +0 -3
  371. package/dist/types/api/systemController/type.d.ts +0 -19
  372. package/dist/types/api/userController/index.d.ts +0 -3
  373. package/dist/types/api/userController/type.d.ts +0 -18
  374. package/dist/types/components/base/hsAffix/src/hsAffix.vue.d.ts +0 -10
  375. package/dist/types/components/base/hsAlert/src/hsAlert.vue.d.ts +0 -10
  376. package/dist/types/components/base/hsAutocomplete/src/hsAutocomplete.vue.d.ts +0 -10
  377. package/dist/types/components/base/hsBadge/src/hsBadge.vue.d.ts +0 -10
  378. package/dist/types/components/base/hsButton/src/hsButton.vue.d.ts +0 -14
  379. package/dist/types/components/base/hsButton/src/hsButtonGroup.vue.d.ts +0 -8
  380. package/dist/types/components/base/hsButton/useButtonEvents.d.ts +0 -9
  381. package/dist/types/components/base/hsCalendar/src/hsCalendar.vue.d.ts +0 -10
  382. package/dist/types/components/base/hsCarousel/src/hsCarousel.vue.d.ts +0 -10
  383. package/dist/types/components/base/hsCarousel/src/hsCarouselItem.vue.d.ts +0 -10
  384. package/dist/types/components/base/hsCascader/src/hsCascader.vue.d.ts +0 -10
  385. package/dist/types/components/base/hsCascader/src/hsCascaderPanel.vue.d.ts +0 -10
  386. package/dist/types/components/base/hsCheckbox/src/hsCheckbox.vue.d.ts +0 -10
  387. package/dist/types/components/base/hsCheckbox/src/hsCheckboxButton.vue.d.ts +0 -10
  388. package/dist/types/components/base/hsCheckbox/src/hsCheckboxGroup.vue.d.ts +0 -10
  389. package/dist/types/components/base/hsCol/src/hsCol.vue.d.ts +0 -10
  390. package/dist/types/components/base/hsCollapse/src/hsCollapse.vue.d.ts +0 -10
  391. package/dist/types/components/base/hsCollapse/src/hsCollapseItem.vue.d.ts +0 -10
  392. package/dist/types/components/base/hsColorPicker/src/hsColorPicker.vue.d.ts +0 -5
  393. package/dist/types/components/base/hsDatePicker/src/hsDatePicker.vue.d.ts +0 -10
  394. package/dist/types/components/base/hsDialog/src/hsDialog.vue.d.ts +0 -10
  395. package/dist/types/components/base/hsDrawer/src/hsDrawer.vue.d.ts +0 -10
  396. package/dist/types/components/base/hsDropdown/src/hsDropdown.vue.d.ts +0 -10
  397. package/dist/types/components/base/hsDropdown/src/hsDropdownItem.vue.d.ts +0 -10
  398. package/dist/types/components/base/hsDropdown/src/hsDropdownMenu.vue.d.ts +0 -10
  399. package/dist/types/components/base/hsEmpty/src/hsEmpty.vue.d.ts +0 -12
  400. package/dist/types/components/base/hsForm/src/hsForm.vue.d.ts +0 -10
  401. package/dist/types/components/base/hsForm/src/hsFormItem.vue.d.ts +0 -10
  402. package/dist/types/components/base/hsGetApi/src/hsGetApis.vue.d.ts +0 -3
  403. package/dist/types/components/base/hsGetApi/useGetApis.d.ts +0 -126
  404. package/dist/types/components/base/hsImage/src/hsImage.vue.d.ts +0 -12
  405. package/dist/types/components/base/hsImageViewer/src/hsImageViewer.vue.d.ts +0 -10
  406. package/dist/types/components/base/hsInput/src/hsInput.vue.d.ts +0 -11
  407. package/dist/types/components/base/hsInput/useInputEvents.d.ts +0 -13
  408. package/dist/types/components/base/hsInputNumber/src/hsInputNumber.vue.d.ts +0 -5
  409. package/dist/types/components/base/hsPopconfirm/src/hsPopconfirm.vue.d.ts +0 -10
  410. package/dist/types/components/base/hsPopover/src/hsPopover.vue.d.ts +0 -10
  411. package/dist/types/components/base/hsProgress/src/hsProgress.vue.d.ts +0 -10
  412. package/dist/types/components/base/hsRadio/src/hsRadio.vue.d.ts +0 -10
  413. package/dist/types/components/base/hsRadio/src/hsRadioButton.vue.d.ts +0 -10
  414. package/dist/types/components/base/hsRadio/src/hsRadioGroup.vue.d.ts +0 -10
  415. package/dist/types/components/base/hsRate/src/hsRate.vue.d.ts +0 -5
  416. package/dist/types/components/base/hsResult/src/hsResult.vue.d.ts +0 -10
  417. package/dist/types/components/base/hsRow/src/hsRow.vue.d.ts +0 -10
  418. package/dist/types/components/base/hsScrollbar/src/hsScrollbar.vue.d.ts +0 -11
  419. package/dist/types/components/base/hsSelect/src/hsOption.vue.d.ts +0 -8
  420. package/dist/types/components/base/hsSelect/src/hsOptionGroup.vue.d.ts +0 -8
  421. package/dist/types/components/base/hsSelect/src/hsSelect.vue.d.ts +0 -24
  422. package/dist/types/components/base/hsSelect/useSelectEvents.d.ts +0 -15
  423. package/dist/types/components/base/hsSlider/src/hsSlider.vue.d.ts +0 -5
  424. package/dist/types/components/base/hsSteps/src/hsStep.vue.d.ts +0 -10
  425. package/dist/types/components/base/hsSteps/src/hsSteps.vue.d.ts +0 -10
  426. package/dist/types/components/base/hsSwitch/src/hsSwitch.vue.d.ts +0 -10
  427. package/dist/types/components/base/hsTable/hsBCTable.vue.d.ts +0 -14
  428. package/dist/types/components/base/hsTable/hsTable.vue.d.ts +0 -14
  429. package/dist/types/components/base/hsTable/useHsTableConfig.d.ts +0 -4
  430. package/dist/types/components/base/hsTable/useTableEvents.d.ts +0 -11
  431. package/dist/types/components/base/hsTabs/src/hsTabPane.vue.d.ts +0 -10
  432. package/dist/types/components/base/hsTabs/src/hsTabs.vue.d.ts +0 -10
  433. package/dist/types/components/base/hsTag/src/hsCheckTag.vue.d.ts +0 -10
  434. package/dist/types/components/base/hsTag/src/hsTag.vue.d.ts +0 -10
  435. package/dist/types/components/base/hsTest/HsTest.vue.d.ts +0 -11
  436. package/dist/types/components/base/hsTooltip/src/hsTooltip.vue.d.ts +0 -10
  437. package/dist/types/components/base/hsTour/src/hsTour.vue.d.ts +0 -10
  438. package/dist/types/components/base/hsTour/src/hsTourStep.vue.d.ts +0 -10
  439. package/dist/types/components/base/hsTransfer/src/hsTransfer.vue.d.ts +0 -10
  440. package/dist/types/components/base/hsTree/src/hsTree.vue.d.ts +0 -6
  441. package/dist/types/components/base/hsTreeSelect/src/hsTreeSelect.vue.d.ts +0 -22
  442. package/dist/types/components/base/hsUpload/src/hsUpload.vue.d.ts +0 -26
  443. package/dist/types/components/base/hsWatermark/src/hsWatermark.vue.d.ts +0 -10
  444. package/dist/types/components/business/bcAutoComplete/bcAutoComplete.vue.d.ts +0 -56
  445. package/dist/types/components/business/bcAutoComplete/defaultData.d.ts +0 -9
  446. package/dist/types/components/business/bcAutoComplete/useAutoComplete.d.ts +0 -6
  447. package/dist/types/components/business/bcBox/bcBox.vue.d.ts +0 -57
  448. package/dist/types/components/business/bcBox/utils.d.ts +0 -44
  449. package/dist/types/components/business/bcBtn/bcBtn.vue.d.ts +0 -20
  450. package/dist/types/components/business/bcCheckbox/bcCheckbox.vue.d.ts +0 -21
  451. package/dist/types/components/business/bcForm/baseForm.vue.d.ts +0 -38
  452. package/dist/types/components/business/bcForm/bcForm.vue.d.ts +0 -36
  453. package/dist/types/components/business/bcForm/type.d.ts +0 -15
  454. package/dist/types/components/business/bcFormTable/bcFormTable.vue.d.ts +0 -96
  455. package/dist/types/components/business/bcFormTable/bcTable.vue.d.ts +0 -30
  456. package/dist/types/components/business/bcFormTable/components/contextBody/contextBody.vue.d.ts +0 -29
  457. package/dist/types/components/business/bcFormTable/components/contextBody/useContextMenu.d.ts +0 -18
  458. package/dist/types/components/business/bcFormTable/components/form/components/sortForm/index.d.ts +0 -2
  459. package/dist/types/components/business/bcFormTable/components/form/components/sortForm/sortForm.vue.d.ts +0 -17
  460. package/dist/types/components/business/bcFormTable/components/form/formDrag.vue.d.ts +0 -29
  461. package/dist/types/components/business/bcFormTable/components/form/formSearch.vue.d.ts +0 -29
  462. package/dist/types/components/business/bcFormTable/components/form/formSearchBtn.vue.d.ts +0 -74
  463. package/dist/types/components/business/bcFormTable/components/index.d.ts +0 -6
  464. package/dist/types/components/business/bcFormTable/components/table/components/sortColumn/index.d.ts +0 -2
  465. package/dist/types/components/business/bcFormTable/components/table/components/sortColumn/sortColumn.vue.d.ts +0 -19
  466. package/dist/types/components/business/bcFormTable/components/table/table.vue.d.ts +0 -57
  467. package/dist/types/components/business/bcFormTable/components/table/useTable.d.ts +0 -11
  468. package/dist/types/components/business/bcFormTable/components/table/useTableHeight.d.ts +0 -10
  469. package/dist/types/components/business/bcFormTable/components/tabs/tabs.vue.d.ts +0 -24
  470. package/dist/types/components/business/bcFormTable/methods/cellDetailMethod.d.ts +0 -2
  471. package/dist/types/components/business/bcFormTable/methods/filterAgeMethod.d.ts +0 -2
  472. package/dist/types/components/business/bcFormTable/methods/footerMethod.d.ts +0 -3
  473. package/dist/types/components/business/bcFormTable/methods/formBtnMethod.d.ts +0 -7
  474. package/dist/types/components/business/bcFormTable/methods/index.d.ts +0 -3
  475. package/dist/types/components/business/bcFormTable/utils/onFormKey.d.ts +0 -16
  476. package/dist/types/components/business/bcFormTable/utils/onTableKey.d.ts +0 -15
  477. package/dist/types/components/business/bcFormTable/utils/parseTable.d.ts +0 -90
  478. package/dist/types/components/business/bcFormTable/utils/store.d.ts +0 -2740
  479. package/dist/types/components/business/bcFormTable/utils/useButon.d.ts +0 -11
  480. package/dist/types/components/business/bcFormTable/utils/useTableHeight.d.ts +0 -13
  481. package/dist/types/components/business/bcGroupComponent/date.vue.d.ts +0 -36
  482. package/dist/types/components/business/bcIcon/bcIcon.vue.d.ts +0 -27
  483. package/dist/types/components/business/bcPageConfig/bcPageConfig.vue.d.ts +0 -10
  484. package/dist/types/components/business/bcPageConfig/components/hsBtn/src/hsAttrBtn.vue.d.ts +0 -51
  485. package/dist/types/components/business/bcPageConfig/components/hsBtn/src/hsBtnConfigList.vue.d.ts +0 -22
  486. package/dist/types/components/business/bcPageConfig/components/hsBtn/src/hsBtnItemConfig.vue.d.ts +0 -20
  487. package/dist/types/components/business/bcPageConfig/components/hsBtn/src/hsBtnPanel.vue.d.ts +0 -18
  488. package/dist/types/components/business/bcPageConfig/components/hsBtn/useAttrBtn.d.ts +0 -14
  489. package/dist/types/components/business/bcPageConfig/components/hsBtn/useBtnConfigList.d.ts +0 -8
  490. package/dist/types/components/business/bcPageConfig/components/hsBtn/useBtnItemConfig.d.ts +0 -31
  491. package/dist/types/components/business/bcPageConfig/components/hsExpand/src/hsExpand.vue.d.ts +0 -34
  492. package/dist/types/components/business/bcPageConfig/components/hsExpand/useExpand.d.ts +0 -3
  493. package/dist/types/components/business/bcPageConfig/components/hsForm/src/hsAttrForm.vue.d.ts +0 -25
  494. package/dist/types/components/business/bcPageConfig/components/hsForm/src/hsFormConfigList.vue.d.ts +0 -22
  495. package/dist/types/components/business/bcPageConfig/components/hsForm/src/hsFormPanel.vue.d.ts +0 -8
  496. package/dist/types/components/business/bcPageConfig/components/hsForm/src/hsFormParse.vue.d.ts +0 -8
  497. package/dist/types/components/business/bcPageConfig/components/hsForm/useAttrForm.d.ts +0 -38
  498. package/dist/types/components/business/bcPageConfig/components/hsForm/useFormListConfig.d.ts +0 -8
  499. package/dist/types/components/business/bcPageConfig/components/hsForm/useFormParse.d.ts +0 -6
  500. package/dist/types/components/business/bcPageConfig/components/hsSaveForm/saveFormConfig.d.ts +0 -70
  501. package/dist/types/components/business/bcPageConfig/components/hsSaveForm/src/saveForm.vue.d.ts +0 -52
  502. package/dist/types/components/business/bcPageConfig/components/hsSaveForm/useSaveForm.d.ts +0 -26
  503. package/dist/types/components/business/bcPageConfig/components/hsTables/src/hsAttrTable.vue.d.ts +0 -51
  504. package/dist/types/components/business/bcPageConfig/components/hsTables/src/hsRecursionConfig.vue.d.ts +0 -44
  505. package/dist/types/components/business/bcPageConfig/components/hsTables/src/hsTableConfig.vue.d.ts +0 -30
  506. package/dist/types/components/business/bcPageConfig/components/hsTables/src/hsTableConfigList.vue.d.ts +0 -22
  507. package/dist/types/components/business/bcPageConfig/components/hsTables/src/hsTableDynamicConfigList.vue.d.ts +0 -22
  508. package/dist/types/components/business/bcPageConfig/components/hsTables/src/hsTablePanel.vue.d.ts +0 -10
  509. package/dist/types/components/business/bcPageConfig/components/hsTables/src/hsTableParse.vue.d.ts +0 -8
  510. package/dist/types/components/business/bcPageConfig/components/hsTables/useAttrTable.d.ts +0 -48
  511. package/dist/types/components/business/bcPageConfig/components/hsTables/useTableConfigList.d.ts +0 -9
  512. package/dist/types/components/business/bcPageConfig/components/hsTables/useTableDynamicConfigList.d.ts +0 -11
  513. package/dist/types/components/business/bcPageConfig/components/hsTables/useTableParse.d.ts +0 -6
  514. package/dist/types/components/business/bcPageConfig/default/baseBtnConfig.d.ts +0 -151
  515. package/dist/types/components/business/bcPageConfig/default/baseFormConfig.d.ts +0 -574
  516. package/dist/types/components/business/bcPageConfig/usePageConfig.d.ts +0 -19
  517. package/dist/types/components/business/bcPageTree/bcPageTree.vue.d.ts +0 -64
  518. package/dist/types/components/business/bcPageTree/usePageTree.d.ts +0 -38
  519. package/dist/types/components/business/bcPageTreeBySystem/bcPageTreeBySystem.vue.d.ts +0 -12
  520. package/dist/types/components/business/bcPageTreeBySystem/usePageTreeBySystem.d.ts +0 -35
  521. package/dist/types/components/business/bcRadio/bcRadio.vue.d.ts +0 -16
  522. package/dist/types/components/business/bcSelect/bcSelect.vue.d.ts +0 -30
  523. package/dist/types/components/business/bcSwitchSystems/bcSwitchSystems.vue.d.ts +0 -28
  524. package/dist/types/components/business/bcSwitchSystems/useSwitchSystems.d.ts +0 -9
  525. package/dist/types/components/business/bcTreeSelect/bcTreeSelect.vue.d.ts +0 -27
  526. package/dist/types/components/business/bcUpload/bcUpload.vue.d.ts +0 -178
  527. package/dist/types/components/business/bcUpload/type.d.ts +0 -29
  528. package/dist/types/components/business/bcUpload/useUpload.d.ts +0 -24
  529. package/dist/types/components/business/cardID/type.d.ts +0 -0
  530. package/dist/types/components/business/cardID/useCardID.d.ts +0 -0
  531. package/dist/types/components/config/autocompleteAttrConfig/autocompleteAttrConfig.vue.d.ts +0 -24
  532. package/dist/types/components/config/autocompleteAttrConfig/config.d.ts +0 -44
  533. package/dist/types/components/config/baseForm.vue.d.ts +0 -116
  534. package/dist/types/components/config/buttonAttrConfig/buttonAttrConfig.vue.d.ts +0 -24
  535. package/dist/types/components/config/buttonAttrConfig/config.d.ts +0 -87
  536. package/dist/types/components/config/cascaderAttrConfig/cascaderAttrConfig.vue.d.ts +0 -24
  537. package/dist/types/components/config/cascaderAttrConfig/config.d.ts +0 -99
  538. package/dist/types/components/config/cascaderPanelAttrConfig/cascaderPanelAttrConfig.vue.d.ts +0 -24
  539. package/dist/types/components/config/cascaderPanelAttrConfig/config.d.ts +0 -71
  540. package/dist/types/components/config/checkboxAttrConfig/checkboxAttrConfig.vue.d.ts +0 -24
  541. package/dist/types/components/config/checkboxAttrConfig/config.d.ts +0 -86
  542. package/dist/types/components/config/datePickerAttrConfig/config.d.ts +0 -72
  543. package/dist/types/components/config/datePickerAttrConfig/datePickerAttrConfig.vue.d.ts +0 -24
  544. package/dist/types/components/config/inputAttrConfig/config.d.ts +0 -94
  545. package/dist/types/components/config/inputAttrConfig/inputAttrConfig.vue.d.ts +0 -24
  546. package/dist/types/components/config/inputAttrConfig/inputEventConfig.vue.d.ts +0 -15
  547. package/dist/types/components/config/inputNumberAttrConfig/config.d.ts +0 -65
  548. package/dist/types/components/config/inputNumberAttrConfig/inputNumberAttrConfig.vue.d.ts +0 -24
  549. package/dist/types/components/config/radioAttrConfig/config.d.ts +0 -82
  550. package/dist/types/components/config/radioAttrConfig/radioAttrConfig.vue.d.ts +0 -24
  551. package/dist/types/components/config/selectAttrConfig/config.d.ts +0 -110
  552. package/dist/types/components/config/selectAttrConfig/selectAttrConfig.vue.d.ts +0 -24
  553. package/dist/types/components/config/switchAttrConfig/config.d.ts +0 -63
  554. package/dist/types/components/config/switchAttrConfig/switchAttrConfig.vue.d.ts +0 -24
  555. package/dist/types/components/config/treeSelectAttrConfig/config.d.ts +0 -97
  556. package/dist/types/components/config/treeSelectAttrConfig/treeSelectAttrConfig.vue.d.ts +0 -24
  557. package/dist/types/components/config/type/formType.d.ts +0 -20
  558. package/dist/types/components/config/uploadAttrConfig/config.d.ts +0 -64
  559. package/dist/types/components/config/uploadAttrConfig/uploadAttrConfig.vue.d.ts +0 -24
  560. package/dist/types/components/iconSelector/index.vue.d.ts +0 -88
  561. package/dist/types/components/iconSelector/list.vue.d.ts +0 -37
  562. package/dist/types/components/svgIcon/index.vue.d.ts +0 -27
  563. package/dist/types/directive/authDirective.d.ts +0 -8
  564. package/dist/types/directive/customDirective.d.ts +0 -15
  565. package/dist/types/directive/index.d.ts +0 -8
  566. package/dist/types/hooks/index.d.ts +0 -2
  567. package/dist/types/hooks/useCrypto.d.ts +0 -6
  568. package/dist/types/hooks/useExpose.d.ts +0 -24
  569. package/dist/types/index.d.ts +0 -1
  570. package/dist/types/layout/component/aside.vue.d.ts +0 -3
  571. package/dist/types/layout/component/columnsAside.vue.d.ts +0 -3
  572. package/dist/types/layout/component/header.vue.d.ts +0 -3
  573. package/dist/types/layout/component/main.vue.d.ts +0 -5
  574. package/dist/types/layout/footer/index.vue.d.ts +0 -3
  575. package/dist/types/layout/index.vue.d.ts +0 -3
  576. package/dist/types/layout/logo/index.vue.d.ts +0 -3
  577. package/dist/types/layout/main/classic.vue.d.ts +0 -3
  578. package/dist/types/layout/main/columns.vue.d.ts +0 -3
  579. package/dist/types/layout/main/defaults.vue.d.ts +0 -3
  580. package/dist/types/layout/main/transverse.vue.d.ts +0 -3
  581. package/dist/types/layout/navBars/index.vue.d.ts +0 -3
  582. package/dist/types/layout/navBars/tagsView/contextmenu.vue.d.ts +0 -27
  583. package/dist/types/layout/navBars/tagsView/tagsView.vue.d.ts +0 -3
  584. package/dist/types/layout/navBars/topBar/index.vue.d.ts +0 -3
  585. package/dist/types/layout/navBars/topBar/search.vue.d.ts +0 -5
  586. package/dist/types/layout/navBars/topBar/user.vue.d.ts +0 -3
  587. package/dist/types/layout/navBars/topBar/userNews.vue.d.ts +0 -3
  588. package/dist/types/layout/navMenu/horizontal.vue.d.ts +0 -42
  589. package/dist/types/layout/navMenu/subItem.vue.d.ts +0 -42
  590. package/dist/types/layout/navMenu/vertical.vue.d.ts +0 -42
  591. package/dist/types/layout/routerView/iframes.vue.d.ts +0 -33
  592. package/dist/types/layout/routerView/link.vue.d.ts +0 -3
  593. package/dist/types/layout/routerView/parent.vue.d.ts +0 -3
  594. package/dist/types/main.d.ts +0 -6
  595. package/dist/types/plugins/index.d.ts +0 -21
  596. package/dist/types/router/backEnd.d.ts +0 -58
  597. package/dist/types/router/frontEnd.d.ts +0 -61
  598. package/dist/types/router/index.d.ts +0 -22
  599. package/dist/types/router/route.d.ts +0 -56
  600. package/dist/types/stores/index.d.ts +0 -3
  601. package/dist/types/stores/keepAliveNames.d.ts +0 -16
  602. package/dist/types/stores/requestOldRoutes.d.ts +0 -8
  603. package/dist/types/stores/routesList.d.ts +0 -12
  604. package/dist/types/stores/tagsViewRoutes.d.ts +0 -10
  605. package/dist/types/stores/themeConfig.d.ts +0 -10
  606. package/dist/types/stores/userInfo.d.ts +0 -20
  607. package/dist/types/types/auth.d.ts +0 -73
  608. package/dist/types/types/components.d.ts +0 -28
  609. package/dist/types/types/customData.d.ts +0 -193
  610. package/dist/types/types/form.d.ts +0 -86
  611. package/dist/types/types/formItem/autocomplete.d.ts +0 -42
  612. package/dist/types/types/formItem/button.d.ts +0 -39
  613. package/dist/types/types/formItem/checkbox.d.ts +0 -79
  614. package/dist/types/types/formItem/index.d.ts +0 -8
  615. package/dist/types/types/formItem/input.d.ts +0 -64
  616. package/dist/types/types/formItem/inputNumber.d.ts +0 -40
  617. package/dist/types/types/formItem/radio.d.ts +0 -57
  618. package/dist/types/types/formItem/selelct.d.ts +0 -53
  619. package/dist/types/types/formItem/treeSelect.d.ts +0 -40
  620. package/dist/types/types/index.d.ts +0 -6
  621. package/dist/types/types/system.d.ts +0 -14
  622. package/dist/types/utils/arrayOperation.d.ts +0 -21
  623. package/dist/types/utils/authFunction.d.ts +0 -18
  624. package/dist/types/utils/build.d.ts +0 -12
  625. package/dist/types/utils/common.d.ts +0 -9
  626. package/dist/types/utils/commonFunction.d.ts +0 -18
  627. package/dist/types/utils/download.d.ts +0 -6
  628. package/dist/types/utils/formatTime.d.ts +0 -37
  629. package/dist/types/utils/getDataType.d.ts +0 -8
  630. package/dist/types/utils/getStyleSheets.d.ts +0 -11
  631. package/dist/types/utils/index.d.ts +0 -21
  632. package/dist/types/utils/loading.d.ts +0 -9
  633. package/dist/types/utils/mitt.d.ts +0 -2
  634. package/dist/types/utils/other.d.ts +0 -74
  635. package/dist/types/utils/request/index.d.ts +0 -2
  636. package/dist/types/utils/request/interceptors/request/authorization.interceptor.d.ts +0 -3
  637. package/dist/types/utils/request/interceptors/request/index.d.ts +0 -2
  638. package/dist/types/utils/request/interceptors/request/result.type.interceptor.d.ts +0 -8
  639. package/dist/types/utils/request/interceptors/response/error-handler.interceptor.d.ts +0 -3
  640. package/dist/types/utils/request/interceptors/response/file-handler.interceptor.d.ts +0 -3
  641. package/dist/types/utils/request/interceptors/response/index.d.ts +0 -2
  642. package/dist/types/utils/request/request.d.ts +0 -6
  643. package/dist/types/utils/request2.d.ts +0 -2
  644. package/dist/types/utils/setIconfont.d.ts +0 -11
  645. package/dist/types/utils/showMessage.d.ts +0 -2
  646. package/dist/types/utils/showMessageBox.d.ts +0 -2
  647. package/dist/types/utils/showNotification.d.ts +0 -2
  648. package/dist/types/utils/showPopup/index.d.ts +0 -34
  649. package/dist/types/utils/showPopup/showPopup.vue.d.ts +0 -44
  650. package/dist/types/utils/storage.d.ts +0 -75
  651. package/dist/types/utils/theme.d.ts +0 -13
  652. package/dist/types/utils/toolsValidate.d.ts +0 -149
  653. package/dist/types/utils/watermark.d.ts +0 -9
  654. package/dist/types/views/config/buttonManagement/btnIndex.vue.d.ts +0 -3
  655. package/dist/types/views/config/buttonManagement/dialog.vue.d.ts +0 -3
  656. package/dist/types/views/config/buttonManagement/index.vue.d.ts +0 -3
  657. package/dist/types/views/config/dataAuth/dialog.vue.d.ts +0 -31
  658. package/dist/types/views/config/dataAuth/index.vue.d.ts +0 -3
  659. package/dist/types/views/config/dataAuth/useDataAuth.d.ts +0 -11
  660. package/dist/types/views/config/dataDict/components/dict/dictDialog.vue.d.ts +0 -9
  661. package/dist/types/views/config/dataDict/components/dictItem/dictItemDialog.vue.d.ts +0 -75
  662. package/dist/types/views/config/dataDict/index.vue.d.ts +0 -3
  663. package/dist/types/views/config/dataDict/useDataDict.d.ts +0 -155
  664. package/dist/types/views/config/fieldPool/components/dialog/index.vue.d.ts +0 -3
  665. package/dist/types/views/config/fieldPool/index.vue.d.ts +0 -3
  666. package/dist/types/views/config/fieldPool/useFieldPool.d.ts +0 -9
  667. package/dist/types/views/config/formSetting/components/hsBtn/src/hsAttrBtn.vue.d.ts +0 -51
  668. package/dist/types/views/config/formSetting/components/hsBtn/src/hsBtnConfigList.vue.d.ts +0 -22
  669. package/dist/types/views/config/formSetting/components/hsBtn/src/hsBtnItemConfig.vue.d.ts +0 -19
  670. package/dist/types/views/config/formSetting/components/hsBtn/src/hsBtnPanel.vue.d.ts +0 -8
  671. package/dist/types/views/config/formSetting/components/hsBtn/useAttrBtn.d.ts +0 -14
  672. package/dist/types/views/config/formSetting/components/hsBtn/useBtnConfigList.d.ts +0 -8
  673. package/dist/types/views/config/formSetting/components/hsBtn/useBtnItemConfig.d.ts +0 -31
  674. package/dist/types/views/config/formSetting/components/hsExpand/src/hsExpand.vue.d.ts +0 -25
  675. package/dist/types/views/config/formSetting/components/hsExpand/useExpand.d.ts +0 -3
  676. package/dist/types/views/config/formSetting/components/hsForm/src/contextmenu.vue.d.ts +0 -36
  677. package/dist/types/views/config/formSetting/components/hsForm/src/hsAttrForm.vue.d.ts +0 -24
  678. package/dist/types/views/config/formSetting/components/hsForm/src/hsFormConfigList.vue.d.ts +0 -33
  679. package/dist/types/views/config/formSetting/components/hsForm/src/hsFormPanel.vue.d.ts +0 -31
  680. package/dist/types/views/config/formSetting/components/hsForm/src/hsFormParse.vue.d.ts +0 -8
  681. package/dist/types/views/config/formSetting/components/hsForm/useAttrForm.d.ts +0 -34
  682. package/dist/types/views/config/formSetting/components/hsForm/useFormListConfig.d.ts +0 -29
  683. package/dist/types/views/config/formSetting/components/hsForm/useFormParse.d.ts +0 -6
  684. package/dist/types/views/config/formSetting/components/hsPageTree/configData.d.ts +0 -50
  685. package/dist/types/views/config/formSetting/components/hsPageTree/src/hsPageTree.vue.d.ts +0 -64
  686. package/dist/types/views/config/formSetting/components/hsPageTree/usePageTree.d.ts +0 -12
  687. package/dist/types/views/config/formSetting/components/hsSaveForm/saveFormConfig.d.ts +0 -86
  688. package/dist/types/views/config/formSetting/components/hsSaveForm/src/saveForm.vue.d.ts +0 -52
  689. package/dist/types/views/config/formSetting/components/hsSaveForm/useSaveForm.d.ts +0 -25
  690. package/dist/types/views/config/formSetting/components/selectConfig/config.d.ts +0 -80
  691. package/dist/types/views/config/formSetting/components/selectConfig/selectConfig.vue.d.ts +0 -24
  692. package/dist/types/views/config/formSetting/default/baseBtnConfig.d.ts +0 -150
  693. package/dist/types/views/config/formSetting/formConfig.vue.d.ts +0 -23
  694. package/dist/types/views/config/formSetting/index.vue.d.ts +0 -3
  695. package/dist/types/views/config/formSetting/useForm.d.ts +0 -17
  696. package/dist/types/views/config/formSetting/useFormConfig.d.ts +0 -9
  697. package/dist/types/views/config/pageElement/components/hsPanelItem/hsPanelItem.vue.d.ts +0 -35
  698. package/dist/types/views/config/pageElement/components/hsPanelItem/usePanelItem.d.ts +0 -6
  699. package/dist/types/views/config/pageElement/index.vue.d.ts +0 -3
  700. package/dist/types/views/config/pageElement/usePageElement.d.ts +0 -108
  701. package/dist/types/views/config/parseAPI/index.vue.d.ts +0 -3
  702. package/dist/types/views/config/table/index.vue.d.ts +0 -3
  703. package/dist/types/views/config/table/usePage.d.ts +0 -14
  704. package/dist/types/views/error/401.vue.d.ts +0 -3
  705. package/dist/types/views/error/404.vue.d.ts +0 -3
  706. package/dist/types/views/home/index.vue.d.ts +0 -3
  707. package/dist/types/views/login/component/account.vue.d.ts +0 -3
  708. package/dist/types/views/login/component/mobile.vue.d.ts +0 -3
  709. package/dist/types/views/login/component/scan.vue.d.ts +0 -3
  710. package/dist/types/views/login/index.vue.d.ts +0 -3
  711. package/dist/types/views/system/auth/index.vue.d.ts +0 -3
  712. package/dist/types/views/system/auth/useAuth.d.ts +0 -140
  713. package/dist/types/views/system/auth/utils.d.ts +0 -8
  714. package/dist/types/views/system/dept/dialog.vue.d.ts +0 -9
  715. package/dist/types/views/system/dept/index.vue.d.ts +0 -3
  716. package/dist/types/views/system/dic/dialog.vue.d.ts +0 -9
  717. package/dist/types/views/system/dic/index.vue.d.ts +0 -3
  718. package/dist/types/views/system/menu/dialog.vue.d.ts +0 -34
  719. package/dist/types/views/system/menu/index.vue.d.ts +0 -3
  720. package/dist/types/views/system/role/component/roleItem.vue.d.ts +0 -3
  721. package/dist/types/views/system/role/component/userSelect.vue.d.ts +0 -9
  722. package/dist/types/views/system/role/index.vue.d.ts +0 -3
  723. package/dist/types/views/system/user/dialog.vue.d.ts +0 -9
  724. package/dist/types/views/system/user/index.vue.d.ts +0 -3
  725. package/dist/types/views/test/form/index.vue.d.ts +0 -3
  726. package/dist/types/views/test/table/index.vue.d.ts +0 -9
  727. package/dist/types/views/test/test/index.vue.d.ts +0 -3
  728. package/dist/types/views/test/test/uploadAvatar.vue.d.ts +0 -37
  729. package/dist/types/views/test/test/useUpload.d.ts +0 -3
  730. package/dist/uploadAvatar-CJLwnaaa.js +0 -7
  731. package/dist/uploadAvatar-CJLwnaaa.js.gz +0 -0
  732. package/dist/uploadAvatar-Lobe647O.mjs +0 -1346
  733. package/dist/uploadAvatar-Lobe647O.mjs.gz +0 -0
  734. package/dist/user-B8-pCOAQ.mjs +0 -291
  735. package/dist/user-B8-pCOAQ.mjs.gz +0 -0
  736. package/dist/user-mzqHEBD0.js +0 -1
  737. package/dist/user-mzqHEBD0.js.gz +0 -0
  738. package/dist/userNews-DYI0ChoU.mjs +0 -61
  739. package/dist/userNews-DYI0ChoU.mjs.gz +0 -0
  740. package/dist/userNews-yi7ehtQP.js +0 -1
  741. package/dist/userNews-yi7ehtQP.js.gz +0 -0
  742. package/dist/userSelect-BSDwGaqM.js +0 -1
  743. package/dist/userSelect-CloeEWHv.mjs +0 -4
  744. package/dist/userSelect.vue_vue_type_script_setup_true_lang-C-Ir1Ohq.mjs +0 -80
  745. package/dist/userSelect.vue_vue_type_script_setup_true_lang-C-Ir1Ohq.mjs.gz +0 -0
  746. package/dist/userSelect.vue_vue_type_script_setup_true_lang-CnkKlTzK.js +0 -1
  747. package/dist/userSelect.vue_vue_type_script_setup_true_lang-CnkKlTzK.js.gz +0 -0
  748. package/dist/vertical-CTyqup3M.mjs +0 -101
  749. package/dist/vertical-CTyqup3M.mjs.gz +0 -0
  750. package/dist/vertical-Dgrd0kp6.js +0 -1
  751. package/dist/vertical-Dgrd0kp6.js.gz +0 -0
@@ -1,108 +0,0 @@
1
- import { Ref } from 'vue';
2
- import { MenuChild, SystemControllerGetAllSystemInfoObjData, DictControllerGetDictListByProjectData, // 查询所有数据权限的返回值类型
3
- DataPermissionGetDataPermissionConfigListDataObject } from '/@/api';
4
- export interface PaneData {
5
- /** pane名称 */
6
- name: string;
7
- /** pane绑定的值 */
8
- value: string;
9
- prop: {
10
- label: string;
11
- value: string;
12
- };
13
- /** 选中的数据 */
14
- select: Array<string>;
15
- /** 全部数据 */
16
- list: Array<DictControllerGetDictListByProjectData | DataPermissionGetDataPermissionConfigListDataObject>;
17
- }
18
- interface PageTreeSystem {
19
- onChangeSystem: (system: SystemControllerGetAllSystemInfoObjData) => void;
20
- }
21
- export declare function usePageElement(pageTreeForSystemRef: Ref<PageTreeSystem>): {
22
- onChangeNode: (menu: MenuChild) => void;
23
- onChangeSystem: (system: SystemControllerGetAllSystemInfoObjData) => void;
24
- saveData: () => void;
25
- state: {
26
- pane: {
27
- name: string;
28
- value: string;
29
- prop: {
30
- label: string;
31
- value: string;
32
- };
33
- select: string[];
34
- list: ({
35
- databaseName: string;
36
- id: string;
37
- qry_create_time_begin: object;
38
- qry_create_time_end: object;
39
- is_del: string;
40
- query_order_by: string;
41
- page: object;
42
- customSql: object;
43
- customResult: object;
44
- customWhere: object;
45
- customSelect: object;
46
- customResultTotal: object;
47
- customDataWhere: object;
48
- menu_id: object;
49
- distinct_flag: object;
50
- distinct_sql: object;
51
- district_code: object;
52
- township_code: object;
53
- city_code_str: object;
54
- district_code_str: object;
55
- qry_city_code_in_list: object;
56
- qry_district_code_in_list: object;
57
- qry_data_way_str: object;
58
- qry_company_type_str: object;
59
- create_time: string;
60
- update_time: string;
61
- company_id: string;
62
- dict_name: string;
63
- dict_code: string;
64
- dict_type: string;
65
- remark: object;
66
- } | {
67
- config_name: string;
68
- update_time: number;
69
- create_time: string;
70
- company_id: string;
71
- project_code: string;
72
- id: string;
73
- sort: number;
74
- config_label: string;
75
- })[];
76
- }[];
77
- page: {
78
- menu: {
79
- label: string;
80
- value: string;
81
- databaseName: string;
82
- id: string;
83
- disabled?: boolean | undefined;
84
- create_time: string;
85
- update_time: string;
86
- company_id: string;
87
- path: string;
88
- name: string;
89
- component: string;
90
- sort: number;
91
- project_code: string;
92
- children: any[];
93
- dict_json?: string | undefined;
94
- data_json?: string | undefined;
95
- meta: {
96
- isLink: boolean;
97
- isIframe: boolean;
98
- isKeepAlive: boolean;
99
- icon: string;
100
- isAffix: boolean;
101
- title: string;
102
- isHide: boolean;
103
- };
104
- } | undefined;
105
- };
106
- };
107
- };
108
- export {};
@@ -1,3 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
3
- export default _default;
@@ -1,14 +0,0 @@
1
- import { Ref } from 'vue';
2
- import { IFormTable } from '../../../types';
3
- import { MenuChild } from '../../../api';
4
- interface FormRef {
5
- initData: (configs: IFormTable.Data, menu: MenuChild, system: Record<string, IFormTable.Data | string>) => {};
6
- }
7
- export declare function useHsPage(formTableRef: Ref<FormRef>): {
8
- changeNode: (data: MenuChild) => void;
9
- currentPage: Ref<string>;
10
- configs: Ref<{}>;
11
- refreshConfig: () => void;
12
- changeSystem: (system: Record<string, string>) => void;
13
- };
14
- export {};
@@ -1,3 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
3
- export default _default;
@@ -1,140 +0,0 @@
1
- import { Ref } from 'vue';
2
- import { IAuthData } from '../../../types';
3
- import { ElTree } from 'element-plus';
4
- import { type GetMenuList, type GetBusinessFieldConfig } from '../../../api';
5
- export type ActiveName = 'menu' | 'table' | 'form';
6
- export interface ConfigList {
7
- active: string;
8
- menu: GetMenuList['data'];
9
- form: GetBusinessFieldConfig['data'];
10
- table: GetBusinessFieldConfig['data'];
11
- }
12
- export declare function useAuth(): {
13
- treeRef: Ref<Record<"getInstance", () => InstanceType<typeof ElTree>> | undefined>;
14
- configList: {
15
- active: string;
16
- menu: {
17
- label: string;
18
- value: string;
19
- databaseName: string;
20
- id: string;
21
- disabled?: boolean | undefined;
22
- create_time: string;
23
- update_time: string;
24
- company_id: string;
25
- path: string;
26
- name: string;
27
- component: string;
28
- sort: number;
29
- project_code: string;
30
- children: any[];
31
- dict_json?: string | undefined;
32
- data_json?: string | undefined;
33
- meta: {
34
- isLink: boolean;
35
- isIframe: boolean;
36
- isKeepAlive: boolean;
37
- icon: string;
38
- isAffix: boolean;
39
- title: string;
40
- isHide: boolean;
41
- };
42
- }[];
43
- form: {
44
- config_name: string;
45
- config_json: string;
46
- company_id: string;
47
- databaseName: string;
48
- project_code: string;
49
- business_json: string;
50
- update_time: string;
51
- config_unique_id: string;
52
- page_name: string;
53
- is_del: string;
54
- field_pool_json: string;
55
- id: string;
56
- config_type: string;
57
- query_order_by: string;
58
- menu_id: string;
59
- }[];
60
- table: {
61
- config_name: string;
62
- config_json: string;
63
- company_id: string;
64
- databaseName: string;
65
- project_code: string;
66
- business_json: string;
67
- update_time: string;
68
- config_unique_id: string;
69
- page_name: string;
70
- is_del: string;
71
- field_pool_json: string;
72
- id: string;
73
- config_type: string;
74
- query_order_by: string;
75
- menu_id: string;
76
- }[];
77
- };
78
- configData: Ref<{
79
- id?: string | undefined;
80
- config_name: string;
81
- config_type: IAuthData.type;
82
- config_unique_id: string;
83
- btns: {
84
- id: string;
85
- fieldName: string;
86
- showName: string;
87
- fieldProp: string;
88
- fieldShow: boolean;
89
- fieldRequired: boolean;
90
- forceRequired: boolean;
91
- sort: number;
92
- fieldExport: boolean;
93
- tableId?: string | undefined;
94
- }[];
95
- tables: {
96
- id: string;
97
- tableId?: string | undefined;
98
- tableName: string;
99
- data: {
100
- option: {
101
- id: string;
102
- fieldName: string;
103
- showName: string;
104
- fieldProp: string;
105
- fieldShow: boolean;
106
- fieldRequired: boolean;
107
- forceRequired: boolean;
108
- sort: number;
109
- fieldExport: boolean;
110
- tableId?: string | undefined;
111
- }[];
112
- id: string;
113
- fieldName: string;
114
- showName: string;
115
- fieldProp: string;
116
- fieldShow: boolean;
117
- fieldRequired: boolean;
118
- forceRequired: boolean;
119
- sort: number;
120
- fieldExport: boolean;
121
- tableId?: string | undefined;
122
- }[];
123
- }[];
124
- form: {
125
- id: string;
126
- fieldName: string;
127
- showName: string;
128
- fieldProp: string;
129
- fieldShow: boolean;
130
- fieldRequired: boolean;
131
- forceRequired: boolean;
132
- sort: number;
133
- fieldExport: boolean;
134
- tableId?: string | undefined;
135
- }[];
136
- menu_id?: string | undefined;
137
- page_name?: string | undefined;
138
- }>;
139
- nodeClick: (data: any) => void;
140
- };
@@ -1,8 +0,0 @@
1
- import { GetMenuList } from '../../../api/menuController/type';
2
- interface Result {
3
- menu: GetMenuList['data'];
4
- menuIds: string[];
5
- }
6
- /** 获取树形菜单数据 */
7
- export declare function getMenuTree(data: GetMenuList['data']): Result;
8
- export {};
@@ -1,9 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {
3
- openDialog: (type: string, row: RowDeptType) => void;
4
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
5
- refresh: (...args: any[]) => void;
6
- }, string, PublicProps, Readonly<ExtractPropTypes<{}>> & {
7
- onRefresh?: ((...args: any[]) => any) | undefined;
8
- }, {}, {}>;
9
- export default _default;
@@ -1,3 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
3
- export default _default;
@@ -1,9 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {
3
- openDialog: (type: string, row: RowDicType) => void;
4
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
5
- refresh: (...args: any[]) => void;
6
- }, string, PublicProps, Readonly<ExtractPropTypes<{}>> & {
7
- onRefresh?: ((...args: any[]) => any) | undefined;
8
- }, {}, {}>;
9
- export default _default;
@@ -1,3 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
3
- export default _default;
@@ -1,34 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{
3
- type: {
4
- type: StringConstructor;
5
- default: string;
6
- };
7
- row: {
8
- type: ObjectConstructor;
9
- default: () => void;
10
- };
11
- close: FunctionConstructor;
12
- }, {
13
- openDialog: (type: string, row?: any) => void;
14
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
15
- success: (...args: any[]) => void;
16
- refresh: (...args: any[]) => void;
17
- }, string, PublicProps, Readonly<ExtractPropTypes<{
18
- type: {
19
- type: StringConstructor;
20
- default: string;
21
- };
22
- row: {
23
- type: ObjectConstructor;
24
- default: () => void;
25
- };
26
- close: FunctionConstructor;
27
- }>> & {
28
- onSuccess?: ((...args: any[]) => any) | undefined;
29
- onRefresh?: ((...args: any[]) => any) | undefined;
30
- }, {
31
- type: string;
32
- row: Record<string, any>;
33
- }, {}>;
34
- export default _default;
@@ -1,3 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
3
- export default _default;
@@ -1,9 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3
- success: (...args: any[]) => void;
4
- refresh: (...args: any[]) => void;
5
- }, string, PublicProps, Readonly<ExtractPropTypes<{}>> & {
6
- onSuccess?: ((...args: any[]) => any) | undefined;
7
- onRefresh?: ((...args: any[]) => any) | undefined;
8
- }, {}, {}>;
9
- export default _default;
@@ -1,3 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
3
- export default _default;
@@ -1,9 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {
3
- openDialog: (type: string, row: RowUserType<any>) => void;
4
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
5
- refresh: (...args: any[]) => void;
6
- }, string, PublicProps, Readonly<ExtractPropTypes<{}>> & {
7
- onRefresh?: ((...args: any[]) => any) | undefined;
8
- }, {}, {}>;
9
- export default _default;
@@ -1,3 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
3
- export default _default;
@@ -1,9 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{
3
- close: FunctionConstructor;
4
- }, {
5
- getData(): Promise<string>;
6
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
7
- close: FunctionConstructor;
8
- }>>, {}, {}>;
9
- export default _default;
@@ -1,3 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
3
- export default _default;
@@ -1,37 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
- interface Props {
3
- avatar: string;
4
- close: Function;
5
- proxyId: string;
6
- }
7
- declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
8
- avatar: string;
9
- close: typeof close;
10
- proxyId: string;
11
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
12
- avatar: string;
13
- close: typeof close;
14
- proxyId: string;
15
- }>>>, {
16
- close: Function;
17
- avatar: string;
18
- proxyId: string;
19
- }, {}>;
20
- export default _default;
21
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
- type __VLS_TypePropsToRuntimeProps<T> = {
23
- [K in keyof T]-?: {} extends Pick<T, K> ? {
24
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
25
- } : {
26
- type: PropType<T[K]>;
27
- required: true;
28
- };
29
- };
30
- type __VLS_WithDefaults<P, D> = {
31
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
32
- default: D[K];
33
- }> : P[K];
34
- };
35
- type __VLS_Prettify<T> = {
36
- [K in keyof T]: T[K];
37
- } & {};
@@ -1,3 +0,0 @@
1
- export declare function useUpload(): {
2
- showPopupFn: (avatar: string, proxy: string) => void;
3
- };
@@ -1,7 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),H=require("./index-DVPr_OFF.js"),W={};W.getData=e=>new Promise((t,i)=>{let s={};M(e).then(o=>{s.arrayBuffer=o;try{s.orientation=E(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 I(e,t,i){var s="",o;for(o=t,i+=t;o<i;o++)s+=String.fromCharCode(e.getUint8(o));return s}function E(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,I(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},proxyId:{default:""}},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({data:{file:d},proxy:s.proxyId}),C=await i({data:{id:o.value.id,attchIdArrStr:w.data.id,attachType:2},proxy:s.proxyId});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-71642b40"]]);exports.default=F;
Binary file