hs-admin-ui 9.7.5 → 9.7.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (292) hide show
  1. package/dist/{401-CyV6wsL1.mjs → 401-DGNun1_X.mjs} +1 -1
  2. package/dist/{401-D0mxvCwd.js → 401-cLF_Rkcj.js} +1 -1
  3. package/dist/{404-DYKcOdQD.js → 404-BMCmpIz4.js} +1 -1
  4. package/dist/404-BMCmpIz4.js.gz +0 -0
  5. package/dist/{404-Caw408Te.mjs → 404-doG1jyUD.mjs} +1 -1
  6. package/dist/{404-Caw408Te.mjs.gz → 404-doG1jyUD.mjs.gz} +0 -0
  7. package/dist/{account-DOqtHoWw.js → account-CnUZM9jC.js} +1 -1
  8. package/dist/{account-rV6hWslC.mjs → account-bO16z7mB.mjs} +2 -2
  9. package/dist/{aside-BwVcSaiI.js → aside-BOUMRGnj.js} +1 -1
  10. package/dist/{aside-JH639Yn4.mjs → aside-D6iFJX_m.mjs} +3 -3
  11. package/dist/{btnIndex-BQfGDVqV.mjs → btnIndex-CkUmdRND.mjs} +2 -2
  12. package/dist/btnIndex-CkUmdRND.mjs.gz +0 -0
  13. package/dist/{btnIndex-Ck3_U5pd.js → btnIndex-ojZ6aeDq.js} +1 -1
  14. package/dist/{classic-Bbj2qM8V.mjs → classic-CVPFjk4s.mjs} +5 -5
  15. package/dist/{classic-BYJMpHnQ.js → classic-nbElG5dZ.js} +1 -1
  16. package/dist/{columns-lUMAw1Wu.js → columns-BaLUyFX0.js} +1 -1
  17. package/dist/{columns-D6ejvayn.mjs → columns-CCe0m7Du.mjs} +5 -5
  18. package/dist/{columnsAside-BNxD_NzJ.js → columnsAside-BoPVGzmy.js} +1 -1
  19. package/dist/{columnsAside-C_tI8SSy.mjs → columnsAside-a2QnugMV.mjs} +1 -1
  20. package/dist/{contextmenu-DAz_A750.mjs → contextmenu-BaNhx9m2.mjs} +1 -1
  21. package/dist/{contextmenu-Bu8oqVxo.mjs → contextmenu-DCH2ky27.mjs} +1 -1
  22. package/dist/{contextmenu-DJAS86nL.js → contextmenu-DV5MOyCG.js} +1 -1
  23. package/dist/{contextmenu-lH-sNVbO.js → contextmenu-DgmemTrL.js} +1 -1
  24. package/dist/{copyMenuConfig-CHEsAqel.mjs → copyMenuConfig-BNrMVyRu.mjs} +1 -1
  25. package/dist/{copyMenuConfig-BpziZZ1T.js → copyMenuConfig-C3QVM_fJ.js} +1 -1
  26. package/dist/{copyMenuConfig.vue_vue_type_script_setup_true_lang-Cu-Lv0tM.js → copyMenuConfig.vue_vue_type_script_setup_true_lang-CcQV2hrQ.js} +1 -1
  27. package/dist/{copyMenuConfig.vue_vue_type_script_setup_true_lang-BtEtv8L3.mjs → copyMenuConfig.vue_vue_type_script_setup_true_lang-X8ZvQ-Ny.mjs} +1 -1
  28. package/dist/{copySystem-Bqah6q-w.js → copySystem-CN_a_bKf.js} +1 -1
  29. package/dist/{copySystem-B-XYabfC.mjs → copySystem-CXmdrT7P.mjs} +1 -1
  30. package/dist/{copySystem.vue_vue_type_script_setup_true_lang-XN3UgShn.js → copySystem.vue_vue_type_script_setup_true_lang-CNHflhUe.js} +1 -1
  31. package/dist/{copySystem.vue_vue_type_script_setup_true_lang-kjwsbTqM.mjs → copySystem.vue_vue_type_script_setup_true_lang-GJWR4Fuf.mjs} +1 -1
  32. package/dist/{defaults-DoxIMxCU.mjs → defaults-BboGsHIz.mjs} +4 -4
  33. package/dist/{defaults-BagiHvNx.js → defaults-vunyP2ak.js} +1 -1
  34. package/dist/{dialog-Bn1wdqSx.mjs → dialog-BDTXRbBx.mjs} +1 -1
  35. package/dist/{dialog-D6B7a8Q8.js → dialog-Bn9gMx7e.js} +1 -1
  36. package/dist/{dialog-D5uxsD5y.mjs → dialog-Bpl23EjT.mjs} +1 -1
  37. package/dist/{dialog-EAJ7PCQf.mjs → dialog-BwqR8gEC.mjs} +1 -1
  38. package/dist/{dialog-B1NlRrBo.js → dialog-C_64cXPt.js} +1 -1
  39. package/dist/{dialog-DdA2pDyf.js → dialog-CsCQTSc0.js} +1 -1
  40. package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-D7YPtOQn.mjs → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-B-NbAH71.mjs} +2 -2
  41. package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-DIn3V6bm.js → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-frJZ7tsJ.js} +1 -1
  42. package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CWoEO-Dn.js → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-B3pGQjxg.js} +1 -1
  43. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-B3pGQjxg.js.gz +0 -0
  44. package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-BEbixb8C.mjs → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DdukcFdI.mjs} +2 -2
  45. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DdukcFdI.mjs.gz +0 -0
  46. package/dist/{dictDialog-Cn42fw4Y.mjs → dictDialog-Dczgz18B.mjs} +1 -1
  47. package/dist/{dictDialog-DDN-_Z0E.js → dictDialog-DrZaRiWk.js} +1 -1
  48. package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-hrBYWAOf.mjs → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-DYTDEFHv.mjs} +2 -2
  49. package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-DxC0zOmJ.js → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-lgjE-XNP.js} +1 -1
  50. package/dist/{dictItemDialog-CHnAct8Q.js → dictItemDialog-DUO29REU.js} +1 -1
  51. package/dist/{dictItemDialog-DLWIwGdM.mjs → dictItemDialog-kNiws9zD.mjs} +1 -1
  52. package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-v-YR8YYe.mjs → dictItemDialog.vue_vue_type_script_setup_true_lang-BjP-4tYG.mjs} +2 -2
  53. package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-DreXQAA8.js → dictItemDialog.vue_vue_type_script_setup_true_lang-a1z2QyP6.js} +1 -1
  54. package/dist/formConfig-DDz1GNAG.js +1 -0
  55. package/dist/formConfig-DDz1GNAG.js.gz +0 -0
  56. package/dist/{formConfig-BePY6Lzh.mjs → formConfig-DLGkKqF5.mjs} +48 -8
  57. package/dist/formConfig-DLGkKqF5.mjs.gz +0 -0
  58. package/dist/{header-DEtGSsQl.js → header-BmlL-jH2.js} +1 -1
  59. package/dist/{header-CZ6DwIZ-.mjs → header-DJqnrPQi.mjs} +2 -2
  60. package/dist/{horizontal-DZyds5jP.js → horizontal-1TKioIFq.js} +1 -1
  61. package/dist/{horizontal-CJLwHnlK.mjs → horizontal-BTIG9Bgr.mjs} +2 -2
  62. package/dist/{hsAttrBtn-BFBQtydU.js → hsAttrBtn-NJBdGN2R.js} +1 -1
  63. package/dist/{hsAttrBtn-90GAXNHI.mjs → hsAttrBtn-sPz-QfpI.mjs} +1 -1
  64. package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-DXi8x3ll.js → hsAttrBtn.vue_vue_type_script_setup_true_lang-CqO011bn.js} +1 -1
  65. package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-rK1nefJ2.mjs → hsAttrBtn.vue_vue_type_script_setup_true_lang-wNDiBiIs.mjs} +3 -3
  66. package/dist/{hsAttrForm-B1cQ_j9V.mjs → hsAttrForm-BaxRC6AN.mjs} +1 -1
  67. package/dist/{hsAttrForm-Cnadxi8H.js → hsAttrForm-C44MhdlR.js} +1 -1
  68. package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-BqtjvEZp.js → hsAttrForm.vue_vue_type_script_setup_true_lang-2XQgB0WX.js} +1 -1
  69. package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-DEZ6GthX.mjs → hsAttrForm.vue_vue_type_script_setup_true_lang-CPTOAVbp.mjs} +2 -2
  70. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-CPTOAVbp.mjs.gz +0 -0
  71. package/dist/{hsBtnConfigList-e5Dad8c3.js → hsBtnConfigList-BGlJJUCu.js} +1 -1
  72. package/dist/{hsBtnConfigList-CCRV5ABw.mjs → hsBtnConfigList-CePw1ReR.mjs} +1 -1
  73. package/dist/{hsBtnItemConfig-LJVMaNsm.js → hsBtnItemConfig-BUgMYh58.js} +1 -1
  74. package/dist/{hsBtnItemConfig-BsHi9S6f.mjs → hsBtnItemConfig-Cp6Gs7fw.mjs} +1 -1
  75. package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-B-4vHtU2.mjs → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-CJA6WmX4.mjs} +1 -1
  76. package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-01ogd4uq.js → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-CJg4516P.js} +1 -1
  77. package/dist/{hsBtnPanel-D5NiH5OI.mjs → hsBtnPanel-BmztAlHa.mjs} +1 -1
  78. package/dist/{hsBtnPanel-BxeNguPK.js → hsBtnPanel-Dm4VCOw4.js} +1 -1
  79. package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-Bvnn7K2b.mjs → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BN2MNnND.mjs} +4 -4
  80. package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-MardZYKk.js → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DQ4K5M_z.js} +1 -1
  81. package/dist/{hsExpand-1kZ5Ad8s.mjs → hsExpand-C511EmF-.mjs} +1 -1
  82. package/dist/{hsExpand-C7Ist9ro.js → hsExpand-eabXAENC.js} +1 -1
  83. package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-BDuvSPyb.js → hsExpand.vue_vue_type_script_setup_true_lang-BJtIHiVb.js} +1 -1
  84. package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-BZCyk2g7.mjs → hsExpand.vue_vue_type_script_setup_true_lang-DwM9FlOc.mjs} +1 -1
  85. package/dist/{hsFormConfig--GHzWaYw.mjs → hsFormConfig-B6EW7pqF.mjs} +1 -1
  86. package/dist/{hsFormConfig-B7yiWS-L.js → hsFormConfig-DtPzktnG.js} +1 -1
  87. package/dist/{hsFormConfigList-0hId_s1D.js → hsFormConfigList-2J8UcyBH.js} +1 -1
  88. package/dist/{hsFormConfigList-CG06tbGW.mjs → hsFormConfigList-CIo4fEas.mjs} +2 -2
  89. package/dist/hsFormConfigList-CIo4fEas.mjs.gz +0 -0
  90. package/dist/{hsFormPanel-dJubM9a8.mjs → hsFormPanel-B2T1maXV.mjs} +5 -5
  91. package/dist/hsFormPanel-B2T1maXV.mjs.gz +0 -0
  92. package/dist/{hsFormPanel-MbQDNZ-k.js → hsFormPanel-Bw6W09gu.js} +1 -1
  93. package/dist/{hsFormParse-Da5EeBbS.mjs → hsFormParse-B_gV2uHh.mjs} +1 -1
  94. package/dist/{hsFormParse-B0CRyXkd.js → hsFormParse-vm0cNndw.js} +1 -1
  95. package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-DSn5wiIB.mjs → hsFormParse.vue_vue_type_script_setup_true_lang-CRf3PnOF.mjs} +1 -1
  96. package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-DHW-_GtM.js → hsFormParse.vue_vue_type_script_setup_true_lang-C_cz5Woo.js} +1 -1
  97. package/dist/{hsPanelItem-BcXgGhdt.js → hsPanelItem-BwiJ2zK8.js} +1 -1
  98. package/dist/{hsPanelItem-CgiBCvnk.mjs → hsPanelItem-CBm9rAdY.mjs} +1 -1
  99. package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-D-wW2XRy.mjs → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-BrylcCeM.mjs} +1 -1
  100. package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-yZdkM3aG.js → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-CThZlOpw.js} +1 -1
  101. package/dist/{iframes-BGOtuuKs.mjs → iframes-CxYSmn5g.mjs} +1 -1
  102. package/dist/{iframes-BQozNOpL.js → iframes-DQ6g_XVL.js} +1 -1
  103. package/dist/{index copy-CncUvvjL.js → index copy-CLCEIXlB.js } +1 -1
  104. package/dist/index copy-CLCEIXlB.js.gz +0 -0
  105. package/dist/{index copy-XlFqN9OD.mjs → index copy-CoH2z-vw.mjs } +1 -1
  106. package/dist/index copy-CoH2z-vw.mjs.gz +0 -0
  107. package/dist/{index-BWxGzLET.js → index-6N6tPrCk.js} +1 -1
  108. package/dist/{index-O22vsyjO.mjs → index-9-ZCj--d.mjs} +3 -3
  109. package/dist/{index-C62ewaGd.js → index-B-nfB0XD.js} +1 -1
  110. package/dist/index-B-nfB0XD.js.gz +0 -0
  111. package/dist/{index-DY5KAham.js → index-B7N4Q6x7.js} +1 -1
  112. package/dist/{index-CFjE3NAN.mjs → index-B7f9R_jt.mjs} +1 -1
  113. package/dist/{index-BHSJc07H.mjs → index-B88hkRBm.mjs} +2 -2
  114. package/dist/{index-zg-Gunjv.mjs → index-BA-iOt2y.mjs} +85 -64
  115. package/dist/{index-zg-Gunjv.mjs.gz → index-BA-iOt2y.mjs.gz} +0 -0
  116. package/dist/{index-CVI9SXJB.js → index-BD23eqQP.js} +1 -1
  117. package/dist/{index-BFrMFSlG.mjs → index-BDgXCM-O.mjs} +1 -1
  118. package/dist/{index-mNAJawAg.js → index-BEIKwgsM.js} +1 -1
  119. package/dist/{index-Cfdum3Es.mjs → index-BGpQdeuF.mjs} +1 -1
  120. package/dist/{index-Bkmj6ZZr.mjs → index-BHF54o57.mjs} +1 -1
  121. package/dist/{index-iBLi_XpA.js → index-BHFMIk77.js} +1 -1
  122. package/dist/{index-CbYfjDi0.mjs → index-BHS_pR-g.mjs} +3 -3
  123. package/dist/{index-BZMwbhOR.mjs → index-BJJjR5WG.mjs} +1 -1
  124. package/dist/{index-K02dYdCs.js → index-BLgwDqkT.js} +1 -1
  125. package/dist/{index-CkNm6h5C.js → index-BMj0aIFh.js} +1 -1
  126. package/dist/{index-DKt4UUM3.mjs → index-BP4-FS9o.mjs} +5 -5
  127. package/dist/{index-nF66VCfi.mjs → index-BS0ptJrB.mjs} +1 -1
  128. package/dist/{index-CeRL0lCC.mjs → index-BTcGU3EU.mjs} +2 -2
  129. package/dist/index-BTcGU3EU.mjs.gz +0 -0
  130. package/dist/{index-ClnkgAEg.mjs → index-BalLQCIl.mjs} +4 -4
  131. package/dist/{index-C4prRtXp.mjs → index-BcIKGjkg.mjs} +4 -4
  132. package/dist/{index-DzSmE_pJ.js → index-Bfd6jgfZ.js} +1 -1
  133. package/dist/{index-B9-15coF.js → index-Bfjmdjj4.js} +1 -1
  134. package/dist/{index-DHzDXFBA.js → index-BkFpl86L.js} +1 -1
  135. package/dist/{index-GMKbGwOx.mjs → index-Bs3oImiX.mjs} +1 -1
  136. package/dist/{index-CyXfE3Ml.mjs → index-BtBW2NLF.mjs} +3 -3
  137. package/dist/{index-CJ2Wb63X.js → index-C-DUvwt5.js} +1 -1
  138. package/dist/{index-uoBdj5ZQ.js → index-C3tBfsqj.js} +1 -1
  139. package/dist/{index-BeYkj_53.js → index-C4HkS4FD.js} +1 -1
  140. package/dist/{index-BwDfyyXo.js → index-C4XlTOOG.js} +1 -1
  141. package/dist/index-C4XlTOOG.js.gz +0 -0
  142. package/dist/{index-BgW-_XzA.mjs → index-C73B4GR9.mjs} +1 -1
  143. package/dist/{index-BBaH0ssT.js → index-C7dmIVru.js} +1 -1
  144. package/dist/{index-BtB1gzc7.js → index-CGjh2D1K.js} +1 -1
  145. package/dist/index-CGjh2D1K.js.gz +0 -0
  146. package/dist/{index-D6NcaLAW.mjs → index-CM7aeXZv.mjs} +1 -1
  147. package/dist/{index-DEBwqh2K.js → index-CPuFXfKc.js} +6 -6
  148. package/dist/{index-DEBwqh2K.js.gz → index-CPuFXfKc.js.gz} +0 -0
  149. package/dist/index-CQEeoKFS.js +1 -0
  150. package/dist/{index-0QuseOZk.js → index-CU2Gww1G.js} +1 -1
  151. package/dist/{index-BaLqfc9D.js → index-CWJXkePO.js} +1 -1
  152. package/dist/{index-DHPaaO3n.js → index-CXLCtpZk.js} +1 -1
  153. package/dist/{index-B1WUwbTT.js → index-CXWTtkog.js} +1 -1
  154. package/dist/{index-C76oKiYb.mjs → index-CnF5DVil.mjs} +3 -3
  155. package/dist/index-CnF5DVil.mjs.gz +0 -0
  156. package/dist/{index-VLRjE6vo.js → index-CnU2Vvpn.js} +1 -1
  157. package/dist/{index-BPNC6bVA.js → index-CrtXaV3s.js} +1 -1
  158. package/dist/{index-CfAci008.js → index-CteqBCeB.js} +1 -1
  159. package/dist/{index-Cm_kTFzJ.mjs → index-CtyQDoZN.mjs} +1 -1
  160. package/dist/{index-DScr5vQc.mjs → index-CxALe_WB.mjs} +1 -1
  161. package/dist/{index-CIhr7JZI.js → index-CxyW9UjG.js} +1 -1
  162. package/dist/{index-Dt9oLhYZ.js → index-D2D753BG.js} +1 -1
  163. package/dist/{index-iTorufwP.js → index-D2mKSx5D.js} +1 -1
  164. package/dist/{index-DD7cKCXI.mjs → index-DC1--85u.mjs} +1 -1
  165. package/dist/{index-CnpuXIdO.js → index-DDYAjKpv.js} +1 -1
  166. package/dist/{index-BpATiWHC.mjs → index-DEbwuklL.mjs} +1 -1
  167. package/dist/{index-B9LQZizs.mjs → index-DEjRT3Wn.mjs} +4 -4
  168. package/dist/{index-CmPoDmFy.js → index-DRj8xT9Z.js} +1 -1
  169. package/dist/{index-Bzbjanah.mjs → index-DS9eZgdz.mjs} +1 -1
  170. package/dist/index-DS9eZgdz.mjs.gz +0 -0
  171. package/dist/{index-CnnfTWUI.mjs → index-DSdooYPF.mjs} +1 -1
  172. package/dist/{index-CiyV-5xf.mjs → index-DTEj9WEx.mjs} +1 -1
  173. package/dist/{index-CIdL1Z4R.js → index-DVOlSI6T.js} +1 -1
  174. package/dist/{index-DGVfNTcb.mjs → index-DYNMpyQJ.mjs} +1 -1
  175. package/dist/{index-3yhvHGEC.mjs → index-DdzeWFfE.mjs} +4 -4
  176. package/dist/index-DdzeWFfE.mjs.gz +0 -0
  177. package/dist/{index-oXbpqxoR.js → index-Dh06WTnk.js} +1 -1
  178. package/dist/{index-DirD6XXm.js → index-Dij_vVy9.js} +1 -1
  179. package/dist/{index-CKC3gUth.js → index-DlLl1TGI.js} +1 -1
  180. package/dist/{index-BJGCYrBY.js → index-DoxwZjiE.js} +1 -1
  181. package/dist/{index-B-4qkgA8.js → index-Dq6nkvKb.js} +1 -1
  182. package/dist/{index-BI07yOAq.js → index-Dw8YYq7H.js} +1 -1
  183. package/dist/{index-VxqoTOin.mjs → index-E2x10hIR.mjs} +2 -2
  184. package/dist/{index-WX5qTnin.mjs → index-Jm48_Ujp.mjs} +1 -1
  185. package/dist/{index-BMiusy6G.mjs → index-LcJbmU11.mjs} +1 -1
  186. package/dist/{index-Dtv4XxQz.mjs → index-SaQCX7n6.mjs} +1 -1
  187. package/dist/{index-D5pNEIiY.mjs → index-aUsNmI7K.mjs} +3 -3
  188. package/dist/index-b8T1DawW.mjs +4 -0
  189. package/dist/{index-BhfJgqRK.mjs → index-cW806jxB.mjs} +2 -2
  190. package/dist/index-cW806jxB.mjs.gz +0 -0
  191. package/dist/{index-CofMAA_d.mjs → index-kwNayQBd.mjs} +3 -3
  192. package/dist/{index-DCMs25gl.mjs → index-q86NPNz4.mjs} +1 -1
  193. package/dist/index.js +1 -1
  194. package/dist/index.mjs +2 -2
  195. package/dist/{index.vue_vue_type_script_setup_true_lang-MX8oRoee.mjs → index.vue_vue_type_script_setup_true_lang-BhgxwEG-.mjs} +1 -1
  196. package/dist/{index.vue_vue_type_script_setup_true_lang-CdyYDIyh.mjs → index.vue_vue_type_script_setup_true_lang-BsLAS5HZ.mjs} +1 -1
  197. package/dist/{index.vue_vue_type_script_setup_true_lang-qPbP9b6t.js → index.vue_vue_type_script_setup_true_lang-BwvQEjqB.js} +1 -1
  198. package/dist/{index.vue_vue_type_script_setup_true_lang-CmD7rc6Z.js → index.vue_vue_type_script_setup_true_lang-CDeaKay3.js} +1 -1
  199. package/dist/{index.vue_vue_type_script_setup_true_lang-COLgbvZi.mjs → index.vue_vue_type_script_setup_true_lang-CYe6pLCq.mjs} +4 -4
  200. package/dist/{index.vue_vue_type_script_setup_true_lang-CudSuwkJ.js → index.vue_vue_type_script_setup_true_lang-DEoOYw77.js} +1 -1
  201. package/dist/{index.vue_vue_type_script_setup_true_lang-DrkYxZ8E.mjs → index.vue_vue_type_script_setup_true_lang-cGBY_nAl.mjs} +1 -1
  202. package/dist/index.vue_vue_type_script_setup_true_lang-cGBY_nAl.mjs.gz +0 -0
  203. package/dist/{index.vue_vue_type_script_setup_true_lang-BwjydHVP.js → index.vue_vue_type_script_setup_true_lang-f5XXHjAB.js} +1 -1
  204. package/dist/{link-zH73uEJS.mjs → link-BFg74cf8.mjs} +1 -1
  205. package/dist/{link-CLduxkkc.js → link-DWrv0HRF.js} +1 -1
  206. package/dist/{list-it1psMu8.mjs → list-CD5qoNmx.mjs} +1 -1
  207. package/dist/{list-DB0D3QcC.js → list-xYuec7BD.js} +1 -1
  208. package/dist/{main-CqKSfIt5.mjs → main-5p0kNgvV.mjs} +3 -3
  209. package/dist/{main-DJ7aZA-J.js → main-Ble72xnj.js} +1 -1
  210. package/dist/{mobile-CYVLtbB5.mjs → mobile-CS282dWZ.mjs} +1 -1
  211. package/dist/{mobile-BbdxP-Mi.js → mobile-l9Uf-rtU.js} +1 -1
  212. package/dist/{parent-BZSghnXU.js → parent-D1hb_Bx8.js} +1 -1
  213. package/dist/{parent-Q447gqQh.mjs → parent-Duxxd_30.mjs} +2 -2
  214. package/dist/{popup-KGeSMu7H.js → popup-BL6Qm6W6.js} +1 -1
  215. package/dist/{popup-Bcy2ClHS.mjs → popup-DFYW2ln-.mjs} +1 -1
  216. package/dist/{popup.vue_vue_type_script_setup_true_name_editorPopup_lang-dVQT975Y.js → popup.vue_vue_type_script_setup_true_name_editorPopup_lang-C3hpnrw3.js} +1 -1
  217. package/dist/{popup.vue_vue_type_script_setup_true_name_editorPopup_lang-BGkdhEXl.mjs → popup.vue_vue_type_script_setup_true_name_editorPopup_lang-CFEnwgAo.mjs} +1 -1
  218. package/dist/{roleItem-DVsf2gHJ.mjs → roleItem-B4SbsH_4.mjs} +1 -1
  219. package/dist/{roleItem-3SiQql0e.js → roleItem-C0WT9a4f.js} +1 -1
  220. package/dist/{saveForm-zDEGdzE-.mjs → saveForm-BMVk4-tO.mjs} +2 -2
  221. package/dist/{saveForm-BvrINpAD.js → saveForm-BjO8sqO6.js} +1 -1
  222. package/dist/{scan-CSmbmQD5.js → scan-CNldQB_f.js} +1 -1
  223. package/dist/scan-CNldQB_f.js.gz +0 -0
  224. package/dist/{scan-DMR88DVd.mjs → scan-DnUXvFmp.mjs} +1 -1
  225. package/dist/scan-DnUXvFmp.mjs.gz +0 -0
  226. package/dist/{search-DB5HdNpm.mjs → search-B-AYVL1c.mjs} +1 -1
  227. package/dist/{search-DJEsrW22.js → search-B2XEpdXt.js} +1 -1
  228. package/dist/{selectConfig-DkIEtNkH.mjs → selectConfig-1M6XAk8t.mjs} +1 -1
  229. package/dist/selectConfig-1M6XAk8t.mjs.gz +0 -0
  230. package/dist/{selectConfig-C7BisJWp.js → selectConfig-CKLE0Loq.js} +1 -1
  231. package/dist/style.css +1 -1
  232. package/dist/style.css.gz +0 -0
  233. package/dist/{subItem-fNcJn-Cf.mjs → subItem-B10ayi4B.mjs} +1 -1
  234. package/dist/{subItem-yxGmEaIQ.js → subItem-BpExBeR4.js} +1 -1
  235. package/dist/{tagsView-DLijEpoO.mjs → tagsView-B57Zi9aW.mjs} +2 -2
  236. package/dist/tagsView-B57Zi9aW.mjs.gz +0 -0
  237. package/dist/{tagsView-CqUcItcf.js → tagsView-DSEEhhZy.js} +2 -2
  238. package/dist/tagsView-DSEEhhZy.js.gz +0 -0
  239. package/dist/{transverse-BApxdie7.mjs → transverse-DXJnzvny.mjs} +3 -3
  240. package/dist/{transverse-xZR9QJZT.js → transverse-ksFDCivK.js} +1 -1
  241. package/dist/types/components/business/bcForm/bcForm.vue.d.ts +4 -5
  242. package/dist/types/utils/download.d.ts +1 -1
  243. package/dist/{uploadAvatar-BoBMOJjX.mjs → uploadAvatar-BOdjs7qz.mjs} +1 -1
  244. package/dist/uploadAvatar-BOdjs7qz.mjs.gz +0 -0
  245. package/dist/{uploadAvatar-CrqUZnKr.js → uploadAvatar-TK90MT1g.js} +1 -1
  246. package/dist/uploadAvatar-TK90MT1g.js.gz +0 -0
  247. package/dist/{useSaveForm-CxCAT2Ev.js → useSaveForm-CR1cD6QP.js} +1 -1
  248. package/dist/useSaveForm-CR1cD6QP.js.gz +0 -0
  249. package/dist/{useSaveForm-CItO1Bk-.mjs → useSaveForm-YfNGmQDh.mjs} +1 -1
  250. package/dist/useSaveForm-YfNGmQDh.mjs.gz +0 -0
  251. package/dist/{user-DTzjH2lT.js → user-D2PTOqLp.js} +1 -1
  252. package/dist/{user-rKAmnlse.mjs → user-D4XRADbV.mjs} +4 -4
  253. package/dist/{userNews-25efhQgA.js → userNews-Brw3sF4x.js} +1 -1
  254. package/dist/{userNews-BQqFhl67.mjs → userNews-DaD8mMMT.mjs} +1 -1
  255. package/dist/{userSelect-CqAKfGES.js → userSelect-Bp9wzeUr.js} +1 -1
  256. package/dist/{userSelect-yuL0_qIY.mjs → userSelect-X3q6prSc.mjs} +1 -1
  257. package/dist/{userSelect.vue_vue_type_script_setup_true_lang-DPSclCKl.mjs → userSelect.vue_vue_type_script_setup_true_lang-CpSMFfmF.mjs} +1 -1
  258. package/dist/{userSelect.vue_vue_type_script_setup_true_lang-BmGI7zdP.js → userSelect.vue_vue_type_script_setup_true_lang-dKWrXxFN.js} +1 -1
  259. package/dist/{vertical-ZBF-xk3Q.mjs → vertical-CiTuaA7n.mjs} +2 -2
  260. package/dist/{vertical-nRT01ZvH.js → vertical-DXo1TpcQ.js} +1 -1
  261. package/package.json +1 -1
  262. package/dist/404-DYKcOdQD.js.gz +0 -0
  263. package/dist/btnIndex-BQfGDVqV.mjs.gz +0 -0
  264. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-BEbixb8C.mjs.gz +0 -0
  265. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CWoEO-Dn.js.gz +0 -0
  266. package/dist/formConfig-BZhJVgbE.js +0 -1
  267. package/dist/formConfig-BePY6Lzh.mjs.gz +0 -0
  268. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-DEZ6GthX.mjs.gz +0 -0
  269. package/dist/hsFormConfigList-CG06tbGW.mjs.gz +0 -0
  270. package/dist/hsFormPanel-dJubM9a8.mjs.gz +0 -0
  271. package/dist/index copy-CncUvvjL.js.gz +0 -0
  272. package/dist/index copy-XlFqN9OD.mjs.gz +0 -0
  273. package/dist/index-3yhvHGEC.mjs.gz +0 -0
  274. package/dist/index-BhfJgqRK.mjs.gz +0 -0
  275. package/dist/index-BtB1gzc7.js.gz +0 -0
  276. package/dist/index-BwDfyyXo.js.gz +0 -0
  277. package/dist/index-Bzbjanah.mjs.gz +0 -0
  278. package/dist/index-C62ewaGd.js.gz +0 -0
  279. package/dist/index-C76oKiYb.mjs.gz +0 -0
  280. package/dist/index-CDUi7ih8.js +0 -1
  281. package/dist/index-CeRL0lCC.mjs.gz +0 -0
  282. package/dist/index-lnvAWnGP.mjs +0 -4
  283. package/dist/index.vue_vue_type_script_setup_true_lang-DrkYxZ8E.mjs.gz +0 -0
  284. package/dist/scan-CSmbmQD5.js.gz +0 -0
  285. package/dist/scan-DMR88DVd.mjs.gz +0 -0
  286. package/dist/selectConfig-DkIEtNkH.mjs.gz +0 -0
  287. package/dist/tagsView-CqUcItcf.js.gz +0 -0
  288. package/dist/tagsView-DLijEpoO.mjs.gz +0 -0
  289. package/dist/uploadAvatar-BoBMOJjX.mjs.gz +0 -0
  290. package/dist/uploadAvatar-CrqUZnKr.js.gz +0 -0
  291. package/dist/useSaveForm-CItO1Bk-.mjs.gz +0 -0
  292. package/dist/useSaveForm-CxCAT2Ev.js.gz +0 -0
@@ -1,15 +1,15 @@
1
1
  import { defineComponent, defineAsyncComponent, ref, onMounted, watch, nextTick, resolveComponent, openBlock, createBlock, withCtx, createVNode, unref } from "vue";
2
- import { u as useRoute, c as useThemeConfig, s as storeToRefs } from "./index-zg-Gunjv.mjs";
2
+ import { u as useRoute, c as useThemeConfig, s as storeToRefs } from "./index-BA-iOt2y.mjs";
3
3
  const __default__ = defineComponent({
4
4
  name: "layoutColumns"
5
5
  });
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  ...__default__,
8
8
  setup(__props) {
9
- const LayoutAside = defineAsyncComponent(() => import("./aside-JH639Yn4.mjs"));
10
- const LayoutHeader = defineAsyncComponent(() => import("./header-CZ6DwIZ-.mjs"));
11
- const LayoutMain = defineAsyncComponent(() => import("./main-CqKSfIt5.mjs"));
12
- const ColumnsAside = defineAsyncComponent(() => import("./columnsAside-C_tI8SSy.mjs"));
9
+ const LayoutAside = defineAsyncComponent(() => import("./aside-D6iFJX_m.mjs"));
10
+ const LayoutHeader = defineAsyncComponent(() => import("./header-DJqnrPQi.mjs"));
11
+ const LayoutMain = defineAsyncComponent(() => import("./main-5p0kNgvV.mjs"));
12
+ const ColumnsAside = defineAsyncComponent(() => import("./columnsAside-a2QnugMV.mjs"));
13
13
  const layoutScrollbarRef = ref("");
14
14
  const layoutMainRef = ref();
15
15
  const route = useRoute();
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-DEBwqh2K.js"),l={class:"layout-columns-aside"},n=["onClick","onMouseenter","title"],i={class:"columns-vertical-title font12"},s=["href"],o={class:"columns-vertical-title font12"},r=e.defineComponent({name:"layoutColumnsAside"}),u=e.defineComponent({...r,setup(r){const u=e.ref([]),a=e.ref(),m=t.useRoutesList(),d=t.useThemeConfig(),{routesList:c,isColumnsMenuHover:f,isColumnsNavHover:v}=t.storeToRefs(m),{themeConfig:h}=t.storeToRefs(d),p=t.useRoute(),C=t.useRouter(),k=e.reactive({columnsAsideList:[],liIndex:0,liOldIndex:null,liHoverIndex:null,liOldPath:null,difference:0,routeSplit:[]}),y=e=>{const t=e.split("/");let l={children:[]};return k.columnsAsideList.map(((e,n)=>{e.path===`/${t[1]}`&&(e.k=n,l.item={...e},l.children=[{...e}],e.children&&(l.children=e.children))})),l},B=t=>{e.nextTick((()=>{(e=>{if(void 0===e)return!1;k.liIndex=e,a.value.style.top=`${u.value[e].offsetTop+k.difference}px`})(t)}))},x=e=>e.filter((e=>{var t;return!(null==(t=e.meta)?void 0:t.isHide)})).map((e=>((e=Object.assign({},e)).children&&(e.children=x(e.children)),e))),S=e=>{const t=y(e);return t.children.length<=1?h.value.isCollapse=!0:h.value.isCollapse=!1,t};return e.onMounted((()=>{(()=>{var e;k.columnsAsideList=x(c.value);const l=S(p.path);B(null==(e=l.item)?void 0:e.k),setTimeout((()=>{t.mittBus.emit("setSendColumnsChildren",l)}),500)})(),t.mittBus.on("restoreDefault",(()=>{k.liOldIndex=null,k.liOldPath=null}))})),e.onUnmounted((()=>{t.mittBus.off("restoreDefault")})),t.onBeforeRouteUpdate((e=>{const l=S(e.path);(e=>{k.routeSplit=e.split("/"),k.routeSplit.shift();const t=`/${k.routeSplit[0]}`,l=k.columnsAsideList.find((e=>e.path===t));if(!l)return!1;setTimeout((()=>{B(l.k)}),0)})(e.path),t.mittBus.emit("setSendColumnsChildren",l)})),e.watch([()=>h.value.columnsAsideStyle,f,v],(()=>{if("columnsRound"===h.value.columnsAsideStyle?k.difference=3:k.difference=0,f.value||v.value){if(k.liHoverIndex=k.liOldIndex,!k.liOldPath)return!1;t.mittBus.emit("setSendColumnsChildren",y(k.liOldPath))}else k.liHoverIndex=null,t.mittBus.emit("setSendColumnsChildren",y(p.path))}),{deep:!0}),(r,d)=>{const c=e.resolveComponent("SvgIcon"),x=e.resolveComponent("el-scrollbar");return e.openBlock(),e.createElementBlock("div",l,[e.createVNode(x,null,{default:e.withCtx((()=>[e.createElementVNode("ul",{onMouseleave:d[0]||(d[0]=e=>(async()=>{if(!h.value.isColumnsMenuHoverPreload)return!1;await m.setColumnsNavHover(!1),setTimeout((()=>{f||v||t.mittBus.emit("restoreDefault")}),100)})())},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.columnsAsideList,((l,r)=>(e.openBlock(),e.createElementBlock("li",{key:r,onClick:e=>(e=>{var l;let{path:n,redirect:i}=e;if(i)B(e.k),p.path.startsWith(i)?t.mittBus.emit("setSendColumnsChildren",y(i)):C.push(i);else if(e.children){const e=y(n);if(Object.keys(e).length<=0)return!1;B(null==(l=e.item)?void 0:l.k),t.mittBus.emit("setSendColumnsChildren",e)}else C.push(n);e.children?e.children.length>1&&(h.value.isCollapse=!1):h.value.isCollapse=!0})(l),onMouseenter:e=>((e,l)=>{if(!h.value.isColumnsMenuHoverPreload)return!1;let{path:n}=e;k.liOldPath=n,k.liOldIndex=l,k.liHoverIndex=l,t.mittBus.emit("setSendColumnsChildren",y(n)),m.setColumnsMenuHover(!1),m.setColumnsNavHover(!0)})(l,r),ref_for:!0,ref:e=>{e&&(u.value[r]=e)},class:e.normalizeClass({"layout-columns-active":k.liIndex===r,"layout-columns-hover":k.liHoverIndex===r}),title:l.meta.title},[!l.meta.isLink||l.meta.isLink&&l.meta.isIframe?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(h).columnsAsideLayout)},[e.createVNode(c,{name:l.meta.icon},null,8,["name"]),e.createElementVNode("div",i,e.toDisplayString(l.meta.title&&l.meta.title.length>=4?l.meta.title.substr(0,"columns-vertical"===e.unref(h).columnsAsideLayout?4:3):l.meta.title),1)],2)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(h).columnsAsideLayout)},[e.createElementVNode("a",{href:l.meta.isLink,target:"_blank"},[e.createVNode(c,{name:l.meta.icon},null,8,["name"]),e.createElementVNode("div",o,e.toDisplayString(l.meta.title&&l.meta.title.length>=4?l.meta.title.substr(0,"columns-vertical"===e.unref(h).columnsAsideLayout?4:3):l.meta.title),1)],8,s)],2))],42,n)))),128)),e.createElementVNode("div",{ref_key:"columnsAsideActiveRef",ref:a,class:e.normalizeClass(e.unref(h).columnsAsideStyle)},null,2)],32)])),_:1})])}}}),a=t._export_sfc(u,[["__scopeId","data-v-724df7b1"]]);exports.default=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-CPuFXfKc.js"),l={class:"layout-columns-aside"},n=["onClick","onMouseenter","title"],i={class:"columns-vertical-title font12"},s=["href"],o={class:"columns-vertical-title font12"},r=e.defineComponent({name:"layoutColumnsAside"}),u=e.defineComponent({...r,setup(r){const u=e.ref([]),a=e.ref(),m=t.useRoutesList(),d=t.useThemeConfig(),{routesList:c,isColumnsMenuHover:f,isColumnsNavHover:v}=t.storeToRefs(m),{themeConfig:h}=t.storeToRefs(d),p=t.useRoute(),C=t.useRouter(),k=e.reactive({columnsAsideList:[],liIndex:0,liOldIndex:null,liHoverIndex:null,liOldPath:null,difference:0,routeSplit:[]}),y=e=>{const t=e.split("/");let l={children:[]};return k.columnsAsideList.map(((e,n)=>{e.path===`/${t[1]}`&&(e.k=n,l.item={...e},l.children=[{...e}],e.children&&(l.children=e.children))})),l},B=t=>{e.nextTick((()=>{(e=>{if(void 0===e)return!1;k.liIndex=e,a.value.style.top=`${u.value[e].offsetTop+k.difference}px`})(t)}))},x=e=>e.filter((e=>{var t;return!(null==(t=e.meta)?void 0:t.isHide)})).map((e=>((e=Object.assign({},e)).children&&(e.children=x(e.children)),e))),S=e=>{const t=y(e);return t.children.length<=1?h.value.isCollapse=!0:h.value.isCollapse=!1,t};return e.onMounted((()=>{(()=>{var e;k.columnsAsideList=x(c.value);const l=S(p.path);B(null==(e=l.item)?void 0:e.k),setTimeout((()=>{t.mittBus.emit("setSendColumnsChildren",l)}),500)})(),t.mittBus.on("restoreDefault",(()=>{k.liOldIndex=null,k.liOldPath=null}))})),e.onUnmounted((()=>{t.mittBus.off("restoreDefault")})),t.onBeforeRouteUpdate((e=>{const l=S(e.path);(e=>{k.routeSplit=e.split("/"),k.routeSplit.shift();const t=`/${k.routeSplit[0]}`,l=k.columnsAsideList.find((e=>e.path===t));if(!l)return!1;setTimeout((()=>{B(l.k)}),0)})(e.path),t.mittBus.emit("setSendColumnsChildren",l)})),e.watch([()=>h.value.columnsAsideStyle,f,v],(()=>{if("columnsRound"===h.value.columnsAsideStyle?k.difference=3:k.difference=0,f.value||v.value){if(k.liHoverIndex=k.liOldIndex,!k.liOldPath)return!1;t.mittBus.emit("setSendColumnsChildren",y(k.liOldPath))}else k.liHoverIndex=null,t.mittBus.emit("setSendColumnsChildren",y(p.path))}),{deep:!0}),(r,d)=>{const c=e.resolveComponent("SvgIcon"),x=e.resolveComponent("el-scrollbar");return e.openBlock(),e.createElementBlock("div",l,[e.createVNode(x,null,{default:e.withCtx((()=>[e.createElementVNode("ul",{onMouseleave:d[0]||(d[0]=e=>(async()=>{if(!h.value.isColumnsMenuHoverPreload)return!1;await m.setColumnsNavHover(!1),setTimeout((()=>{f||v||t.mittBus.emit("restoreDefault")}),100)})())},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.columnsAsideList,((l,r)=>(e.openBlock(),e.createElementBlock("li",{key:r,onClick:e=>(e=>{var l;let{path:n,redirect:i}=e;if(i)B(e.k),p.path.startsWith(i)?t.mittBus.emit("setSendColumnsChildren",y(i)):C.push(i);else if(e.children){const e=y(n);if(Object.keys(e).length<=0)return!1;B(null==(l=e.item)?void 0:l.k),t.mittBus.emit("setSendColumnsChildren",e)}else C.push(n);e.children?e.children.length>1&&(h.value.isCollapse=!1):h.value.isCollapse=!0})(l),onMouseenter:e=>((e,l)=>{if(!h.value.isColumnsMenuHoverPreload)return!1;let{path:n}=e;k.liOldPath=n,k.liOldIndex=l,k.liHoverIndex=l,t.mittBus.emit("setSendColumnsChildren",y(n)),m.setColumnsMenuHover(!1),m.setColumnsNavHover(!0)})(l,r),ref_for:!0,ref:e=>{e&&(u.value[r]=e)},class:e.normalizeClass({"layout-columns-active":k.liIndex===r,"layout-columns-hover":k.liHoverIndex===r}),title:l.meta.title},[!l.meta.isLink||l.meta.isLink&&l.meta.isIframe?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(h).columnsAsideLayout)},[e.createVNode(c,{name:l.meta.icon},null,8,["name"]),e.createElementVNode("div",i,e.toDisplayString(l.meta.title&&l.meta.title.length>=4?l.meta.title.substr(0,"columns-vertical"===e.unref(h).columnsAsideLayout?4:3):l.meta.title),1)],2)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(h).columnsAsideLayout)},[e.createElementVNode("a",{href:l.meta.isLink,target:"_blank"},[e.createVNode(c,{name:l.meta.icon},null,8,["name"]),e.createElementVNode("div",o,e.toDisplayString(l.meta.title&&l.meta.title.length>=4?l.meta.title.substr(0,"columns-vertical"===e.unref(h).columnsAsideLayout?4:3):l.meta.title),1)],8,s)],2))],42,n)))),128)),e.createElementVNode("div",{ref_key:"columnsAsideActiveRef",ref:a,class:e.normalizeClass(e.unref(h).columnsAsideStyle)},null,2)],32)])),_:1})])}}}),a=t._export_sfc(u,[["__scopeId","data-v-724df7b1"]]);exports.default=a;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, reactive, onMounted, onUnmounted, watch, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, Fragment, renderList, normalizeClass, unref, toDisplayString, nextTick } from "vue";
2
- import { R as useRoutesList, c as useThemeConfig, s as storeToRefs, u as useRoute, a as useRouter, m as mittBus, ae as onBeforeRouteUpdate, _ as _export_sfc } from "./index-zg-Gunjv.mjs";
2
+ import { T as useRoutesList, c as useThemeConfig, s as storeToRefs, u as useRoute, a as useRouter, m as mittBus, ae as onBeforeRouteUpdate, _ as _export_sfc } from "./index-BA-iOt2y.mjs";
3
3
  const _hoisted_1 = { class: "layout-columns-aside" };
4
4
  const _hoisted_2 = ["onClick", "onMouseenter", "title"];
5
5
  const _hoisted_3 = { class: "columns-vertical-title font12" };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, reactive, computed, onMounted, onUnmounted, watch, resolveComponent, openBlock, createBlock, Transition, withCtx, withDirectives, createElementBlock, normalizeStyle, createElementVNode, Fragment, renderList, createCommentVNode, toDisplayString, vShow } from "vue";
2
- import { _ as _export_sfc } from "./index-zg-Gunjv.mjs";
2
+ import { _ as _export_sfc } from "./index-BA-iOt2y.mjs";
3
3
  const _hoisted_1 = { class: "el-dropdown-menu" };
4
4
  const _hoisted_2 = ["onClick"];
5
5
  const __default__ = defineComponent({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, reactive, computed, onMounted, onUnmounted, watch, resolveComponent, openBlock, createBlock, Transition, withCtx, withDirectives, createElementBlock, normalizeStyle, createElementVNode, Fragment, renderList, createVNode, toDisplayString, createCommentVNode, vShow } from "vue";
2
- import { _ as _export_sfc } from "./index-zg-Gunjv.mjs";
2
+ import { _ as _export_sfc } from "./index-BA-iOt2y.mjs";
3
3
  const _hoisted_1 = { class: "el-dropdown-menu" };
4
4
  const _hoisted_2 = ["onClick"];
5
5
  const __default__ = defineComponent({
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-DEBwqh2K.js"),o={class:"el-dropdown-menu"},n=["onClick"],l=e.defineComponent({name:"layoutTagsViewContextmenu"}),r=e.defineComponent({...l,props:{dropdown:{type:Object,default:()=>({x:0,y:0})},dropdownList:{type:Array,default:()=>[]}},emits:["currentContextmenuClick"],setup(t,{expose:l,emit:r}){const c=t,d=r,i=e.reactive({isShow:!1,item:{},arrowLeft:10,mode:""}),m=e.computed((()=>c.dropdown.x+117>document.documentElement.clientWidth?{x:document.documentElement.clientWidth-117-5,y:c.dropdown.y}:c.dropdown)),a=()=>{i.isShow=!1};return e.onMounted((()=>{document.body.addEventListener("click",a)})),e.onUnmounted((()=>{document.body.removeEventListener("click",a)})),e.watch((()=>c.dropdown),(({x:e})=>{e+117>document.documentElement.clientWidth?i.arrowLeft=117-(document.documentElement.clientWidth-e):i.arrowLeft=10}),{deep:!0}),l({openContextmenu:(e,t)=>{i.item=e,i.mode=t,a(),setTimeout((()=>{i.isShow=!0}),10)}}),(l,r)=>{const c=e.resolveComponent("SvgIcon");return e.openBlock(),e.createBlock(e.Transition,{name:"el-zoom-in-center"},{default:e.withCtx((()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:"el-dropdown__popper el-popper is-light is-pure custom-contextmenu",role:"tooltip","data-popper-placement":"bottom",style:e.normalizeStyle(`top: ${m.value.y+5}px;left: ${m.value.x}px;`),key:Math.random()},[e.createElementVNode("ul",o,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dropdownList,((t,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t.affix?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",{class:"el-dropdown-menu__item",tabindex:"-1",key:o,onClick:e=>{return o=t.contextMenuClickId,n=null==t?void 0:t.mode,void d("currentContextmenuClick",Object.assign({},{contextMenuClickId:o}),n||i.mode);var o,n}},[t.icon?(e.openBlock(),e.createBlock(c,{key:0,name:t.icon},null,8,["name"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(t.txt),1)],8,n))],64)))),256))]),e.createElementVNode("div",{class:"el-popper__arrow",style:e.normalizeStyle({left:`${i.arrowLeft}px`})},null,4)],4)),[[e.vShow,i.isShow]])])),_:1})}}}),c=t._export_sfc(r,[["__scopeId","data-v-d39c6ace"]]);exports.default=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-CPuFXfKc.js"),o={class:"el-dropdown-menu"},n=["onClick"],l=e.defineComponent({name:"layoutTagsViewContextmenu"}),r=e.defineComponent({...l,props:{dropdown:{type:Object,default:()=>({x:0,y:0})},dropdownList:{type:Array,default:()=>[]}},emits:["currentContextmenuClick"],setup(t,{expose:l,emit:r}){const c=t,d=r,i=e.reactive({isShow:!1,item:{},arrowLeft:10,mode:""}),m=e.computed((()=>c.dropdown.x+117>document.documentElement.clientWidth?{x:document.documentElement.clientWidth-117-5,y:c.dropdown.y}:c.dropdown)),a=()=>{i.isShow=!1};return e.onMounted((()=>{document.body.addEventListener("click",a)})),e.onUnmounted((()=>{document.body.removeEventListener("click",a)})),e.watch((()=>c.dropdown),(({x:e})=>{e+117>document.documentElement.clientWidth?i.arrowLeft=117-(document.documentElement.clientWidth-e):i.arrowLeft=10}),{deep:!0}),l({openContextmenu:(e,t)=>{i.item=e,i.mode=t,a(),setTimeout((()=>{i.isShow=!0}),10)}}),(l,r)=>{const c=e.resolveComponent("SvgIcon");return e.openBlock(),e.createBlock(e.Transition,{name:"el-zoom-in-center"},{default:e.withCtx((()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:"el-dropdown__popper el-popper is-light is-pure custom-contextmenu",role:"tooltip","data-popper-placement":"bottom",style:e.normalizeStyle(`top: ${m.value.y+5}px;left: ${m.value.x}px;`),key:Math.random()},[e.createElementVNode("ul",o,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dropdownList,((t,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t.affix?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",{class:"el-dropdown-menu__item",tabindex:"-1",key:o,onClick:e=>{return o=t.contextMenuClickId,n=null==t?void 0:t.mode,void d("currentContextmenuClick",Object.assign({},{contextMenuClickId:o}),n||i.mode);var o,n}},[t.icon?(e.openBlock(),e.createBlock(c,{key:0,name:t.icon},null,8,["name"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(t.txt),1)],8,n))],64)))),256))]),e.createElementVNode("div",{class:"el-popper__arrow",style:e.normalizeStyle({left:`${i.arrowLeft}px`})},null,4)],4)),[[e.vShow,i.isShow]])])),_:1})}}}),c=t._export_sfc(r,[["__scopeId","data-v-d39c6ace"]]);exports.default=c;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-DEBwqh2K.js"),o={class:"el-dropdown-menu"},n=["onClick"],l=e.defineComponent({name:"layoutTagsViewContextmenu"}),i=e.defineComponent({...l,props:{dropdown:{type:Object,default:()=>({x:0,y:0})}},emits:["currentContextmenuClick"],setup(t,{expose:l,emit:i}){const c=t,r=i,d=e.reactive({isShow:!1,dropdownList:[{contextMenuClickId:0,txt:"刷新",affix:!1,icon:"ele-RefreshRight"},{contextMenuClickId:1,txt:"关闭",affix:!1,icon:"ele-Close"},{contextMenuClickId:2,txt:"关闭其它",affix:!1,icon:"ele-CircleClose"},{contextMenuClickId:3,txt:"全部关闭",affix:!1,icon:"ele-FolderDelete"},{contextMenuClickId:4,txt:"当前页全屏",affix:!1,icon:"iconfont icon-fullscreen"}],item:{},arrowLeft:10}),a=e.computed((()=>c.dropdown.x+117>document.documentElement.clientWidth?{x:document.documentElement.clientWidth-117-5,y:c.dropdown.y}:c.dropdown)),m=()=>{d.isShow=!1};return e.onMounted((()=>{document.body.addEventListener("click",m)})),e.onUnmounted((()=>{document.body.removeEventListener("click",m)})),e.watch((()=>c.dropdown),(({x:e})=>{e+117>document.documentElement.clientWidth?d.arrowLeft=117-(document.documentElement.clientWidth-e):d.arrowLeft=10}),{deep:!0}),l({openContextmenu:e=>{var t;d.item=e,(null==(t=e.meta)?void 0:t.isAffix)?d.dropdownList[1].affix=!0:d.dropdownList[1].affix=!1,m(),setTimeout((()=>{d.isShow=!0}),10)}}),(t,l)=>{const i=e.resolveComponent("SvgIcon");return e.openBlock(),e.createBlock(e.Transition,{name:"el-zoom-in-center"},{default:e.withCtx((()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:"el-dropdown__popper el-popper is-light is-pure custom-contextmenu",role:"tooltip","data-popper-placement":"bottom",style:e.normalizeStyle(`top: ${a.value.y+5}px;left: ${a.value.x}px;`),key:Math.random()},[e.createElementVNode("ul",o,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.dropdownList,((t,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t.affix?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",{class:"el-dropdown-menu__item",tabindex:"-1",key:o,onClick:e=>{return o=t.contextMenuClickId,void r("currentContextmenuClick",Object.assign({},{contextMenuClickId:o},d.item));var o}},[e.createVNode(i,{name:t.icon},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(t.txt),1)],8,n))],64)))),256))]),e.createElementVNode("div",{class:"el-popper__arrow",style:e.normalizeStyle({left:`${d.arrowLeft}px`})},null,4)],4)),[[e.vShow,d.isShow]])])),_:1})}}}),c=t._export_sfc(i,[["__scopeId","data-v-b525a997"]]);exports.default=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-CPuFXfKc.js"),o={class:"el-dropdown-menu"},n=["onClick"],l=e.defineComponent({name:"layoutTagsViewContextmenu"}),i=e.defineComponent({...l,props:{dropdown:{type:Object,default:()=>({x:0,y:0})}},emits:["currentContextmenuClick"],setup(t,{expose:l,emit:i}){const c=t,r=i,d=e.reactive({isShow:!1,dropdownList:[{contextMenuClickId:0,txt:"刷新",affix:!1,icon:"ele-RefreshRight"},{contextMenuClickId:1,txt:"关闭",affix:!1,icon:"ele-Close"},{contextMenuClickId:2,txt:"关闭其它",affix:!1,icon:"ele-CircleClose"},{contextMenuClickId:3,txt:"全部关闭",affix:!1,icon:"ele-FolderDelete"},{contextMenuClickId:4,txt:"当前页全屏",affix:!1,icon:"iconfont icon-fullscreen"}],item:{},arrowLeft:10}),a=e.computed((()=>c.dropdown.x+117>document.documentElement.clientWidth?{x:document.documentElement.clientWidth-117-5,y:c.dropdown.y}:c.dropdown)),m=()=>{d.isShow=!1};return e.onMounted((()=>{document.body.addEventListener("click",m)})),e.onUnmounted((()=>{document.body.removeEventListener("click",m)})),e.watch((()=>c.dropdown),(({x:e})=>{e+117>document.documentElement.clientWidth?d.arrowLeft=117-(document.documentElement.clientWidth-e):d.arrowLeft=10}),{deep:!0}),l({openContextmenu:e=>{var t;d.item=e,(null==(t=e.meta)?void 0:t.isAffix)?d.dropdownList[1].affix=!0:d.dropdownList[1].affix=!1,m(),setTimeout((()=>{d.isShow=!0}),10)}}),(t,l)=>{const i=e.resolveComponent("SvgIcon");return e.openBlock(),e.createBlock(e.Transition,{name:"el-zoom-in-center"},{default:e.withCtx((()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:"el-dropdown__popper el-popper is-light is-pure custom-contextmenu",role:"tooltip","data-popper-placement":"bottom",style:e.normalizeStyle(`top: ${a.value.y+5}px;left: ${a.value.x}px;`),key:Math.random()},[e.createElementVNode("ul",o,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.dropdownList,((t,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t.affix?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",{class:"el-dropdown-menu__item",tabindex:"-1",key:o,onClick:e=>{return o=t.contextMenuClickId,void r("currentContextmenuClick",Object.assign({},{contextMenuClickId:o},d.item));var o}},[e.createVNode(i,{name:t.icon},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(t.txt),1)],8,n))],64)))),256))]),e.createElementVNode("div",{class:"el-popper__arrow",style:e.normalizeStyle({left:`${d.arrowLeft}px`})},null,4)],4)),[[e.vShow,d.isShow]])])),_:1})}}}),c=t._export_sfc(i,[["__scopeId","data-v-b525a997"]]);exports.default=c;
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "./copyMenuConfig.vue_vue_type_script_setup_true_lang-BtEtv8L3.mjs";
1
+ import { _ as _sfc_main } from "./copyMenuConfig.vue_vue_type_script_setup_true_lang-X8ZvQ-Ny.mjs";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./copyMenuConfig.vue_vue_type_script_setup_true_lang-Cu-Lv0tM.js");exports.default=e._sfc_main;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./copyMenuConfig.vue_vue_type_script_setup_true_lang-CcQV2hrQ.js");exports.default=e._sfc_main;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),t=require("./index-DEBwqh2K.js"),l={class:"flex items-center mb-2"},s={class:"flex items-center"},o=e.defineComponent({__name:"copyMenuConfig",props:{menuTree:{type:Array,default:()=>[]},sysList:{type:Array,default:()=>[]}},setup(o,{expose:a}){const n={checkStrictly:!0,emitPath:!1,label:"title",value:"id"},r=e.reactive({menu_id:"",system_id:""});return a({getData:()=>r.system_id?r.menu_id?t.useSystemController().postCopyMenuInfo(r):(t.HsMessage.warning("请选择菜单!"),Promise.reject()):(t.HsMessage.warning("请选择系统!"),Promise.reject())}),(t,a)=>{const i=e.resolveComponent("el-option"),c=e.resolveComponent("el-select"),d=e.resolveComponent("el-cascader");return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",l,[a[2]||(a[2]=e.createElementVNode("div",{class:"basis-28"},"复制配置到:",-1)),e.createVNode(c,{modelValue:r.system_id,"onUpdate:modelValue":a[0]||(a[0]=e=>r.system_id=e),placeholder:"请选择",class:"flex-1"},{default:e.withCtx((()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.sysList,(t=>(e.openBlock(),e.createBlock(i,{key:t.id,label:t.project_name,value:t.id},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])]),e.createElementVNode("div",s,[a[3]||(a[3]=e.createElementVNode("div",{class:"basis-28"},"复制菜单配置:",-1)),e.createVNode(d,{class:"flex-1",modelValue:r.menu_id,"onUpdate:modelValue":a[1]||(a[1]=e=>r.menu_id=e),options:o.menuTree,props:n,clearable:""},null,8,["modelValue","options"])]),a[4]||(a[4]=e.createElementVNode("div",{class:"text-gray-400 mt-3"},"tips: 将菜单复制到哪个系统",-1))])}}});exports._sfc_main=o;
1
+ "use strict";const e=require("vue"),t=require("./index-CPuFXfKc.js"),l={class:"flex items-center mb-2"},s={class:"flex items-center"},o=e.defineComponent({__name:"copyMenuConfig",props:{menuTree:{type:Array,default:()=>[]},sysList:{type:Array,default:()=>[]}},setup(o,{expose:a}){const n={checkStrictly:!0,emitPath:!1,label:"title",value:"id"},r=e.reactive({menu_id:"",system_id:""});return a({getData:()=>r.system_id?r.menu_id?t.useSystemController().postCopyMenuInfo(r):(t.HsMessage.warning("请选择菜单!"),Promise.reject()):(t.HsMessage.warning("请选择系统!"),Promise.reject())}),(t,a)=>{const i=e.resolveComponent("el-option"),c=e.resolveComponent("el-select"),d=e.resolveComponent("el-cascader");return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",l,[a[2]||(a[2]=e.createElementVNode("div",{class:"basis-28"},"复制配置到:",-1)),e.createVNode(c,{modelValue:r.system_id,"onUpdate:modelValue":a[0]||(a[0]=e=>r.system_id=e),placeholder:"请选择",class:"flex-1"},{default:e.withCtx((()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.sysList,(t=>(e.openBlock(),e.createBlock(i,{key:t.id,label:t.project_name,value:t.id},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])]),e.createElementVNode("div",s,[a[3]||(a[3]=e.createElementVNode("div",{class:"basis-28"},"复制菜单配置:",-1)),e.createVNode(d,{class:"flex-1",modelValue:r.menu_id,"onUpdate:modelValue":a[1]||(a[1]=e=>r.menu_id=e),options:o.menuTree,props:n,clearable:""},null,8,["modelValue","options"])]),a[4]||(a[4]=e.createElementVNode("div",{class:"text-gray-400 mt-3"},"tips: 将菜单复制到哪个系统",-1))])}}});exports._sfc_main=o;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, reactive, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, Fragment, renderList, createBlock } from "vue";
2
- import { C as HsMessage, i as useSystemController } from "./index-zg-Gunjv.mjs";
2
+ import { D as HsMessage, i as useSystemController } from "./index-BA-iOt2y.mjs";
3
3
  const _hoisted_1 = { class: "flex items-center mb-2" };
4
4
  const _hoisted_2 = { class: "flex items-center" };
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./copySystem.vue_vue_type_script_setup_true_lang-XN3UgShn.js");exports.default=e._sfc_main;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./copySystem.vue_vue_type_script_setup_true_lang-CNHflhUe.js");exports.default=e._sfc_main;
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "./copySystem.vue_vue_type_script_setup_true_lang-kjwsbTqM.mjs";
1
+ import { _ as _sfc_main } from "./copySystem.vue_vue_type_script_setup_true_lang-GJWR4Fuf.mjs";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),t=require("./index-DEBwqh2K.js"),o=e.defineComponent({__name:"copySystem",props:{row:{type:Object,default:()=>({})},list:{type:Array,default:()=>[]}},setup(o,{expose:l}){const r=o,a=e.reactive({target_id:r.row.id,source_id:"a094cdddab784b3fb9ded6c44ecf5b2e"});return l({getData:()=>a.target_id?t.useSystemController().postCopySystemInfo(a):(t.HsMessage.warning("请选择目标系统!"),Promise.reject())}),(t,l)=>{const r=e.resolveComponent("el-option"),n=e.resolveComponent("el-select"),s=e.resolveComponent("el-form-item"),c=e.resolveComponent("el-form");return e.openBlock(),e.createBlock(c,{"label-width":"auto",size:"large"},{default:e.withCtx((()=>[e.createVNode(s,{label:"复制系统"},{default:e.withCtx((()=>[e.createVNode(n,{modelValue:a.source_id,"onUpdate:modelValue":l[0]||(l[0]=e=>a.source_id=e),placeholder:"请选择",class:"w-full"},{default:e.withCtx((()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.list,(t=>(e.openBlock(),e.createBlock(r,{key:t.id,label:t.project_name,value:t.id},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1})])),_:1})}}});exports._sfc_main=o;
1
+ "use strict";const e=require("vue"),t=require("./index-CPuFXfKc.js"),o=e.defineComponent({__name:"copySystem",props:{row:{type:Object,default:()=>({})},list:{type:Array,default:()=>[]}},setup(o,{expose:l}){const r=o,a=e.reactive({target_id:r.row.id,source_id:"a094cdddab784b3fb9ded6c44ecf5b2e"});return l({getData:()=>a.target_id?t.useSystemController().postCopySystemInfo(a):(t.HsMessage.warning("请选择目标系统!"),Promise.reject())}),(t,l)=>{const r=e.resolveComponent("el-option"),n=e.resolveComponent("el-select"),s=e.resolveComponent("el-form-item"),c=e.resolveComponent("el-form");return e.openBlock(),e.createBlock(c,{"label-width":"auto",size:"large"},{default:e.withCtx((()=>[e.createVNode(s,{label:"复制系统"},{default:e.withCtx((()=>[e.createVNode(n,{modelValue:a.source_id,"onUpdate:modelValue":l[0]||(l[0]=e=>a.source_id=e),placeholder:"请选择",class:"w-full"},{default:e.withCtx((()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.list,(t=>(e.openBlock(),e.createBlock(r,{key:t.id,label:t.project_name,value:t.id},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1})])),_:1})}}});exports._sfc_main=o;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, reactive, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementBlock, Fragment, renderList } from "vue";
2
- import { C as HsMessage, i as useSystemController } from "./index-zg-Gunjv.mjs";
2
+ import { D as HsMessage, i as useSystemController } from "./index-BA-iOt2y.mjs";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "copySystem",
5
5
  props: {
@@ -1,14 +1,14 @@
1
1
  import { defineComponent, defineAsyncComponent, ref, onMounted, watch, nextTick, resolveComponent, openBlock, createBlock, withCtx, createVNode, unref } from "vue";
2
- import { u as useRoute, c as useThemeConfig, s as storeToRefs, W as NextLoading } from "./index-zg-Gunjv.mjs";
2
+ import { u as useRoute, c as useThemeConfig, s as storeToRefs, X as NextLoading } from "./index-BA-iOt2y.mjs";
3
3
  const __default__ = defineComponent({
4
4
  name: "layoutDefaults"
5
5
  });
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  ...__default__,
8
8
  setup(__props) {
9
- const LayoutAside = defineAsyncComponent(() => import("./aside-JH639Yn4.mjs"));
10
- const LayoutHeader = defineAsyncComponent(() => import("./header-CZ6DwIZ-.mjs"));
11
- const LayoutMain = defineAsyncComponent(() => import("./main-CqKSfIt5.mjs"));
9
+ const LayoutAside = defineAsyncComponent(() => import("./aside-D6iFJX_m.mjs"));
10
+ const LayoutHeader = defineAsyncComponent(() => import("./header-DJqnrPQi.mjs"));
11
+ const LayoutMain = defineAsyncComponent(() => import("./main-5p0kNgvV.mjs"));
12
12
  const layoutScrollbarRef = ref("");
13
13
  const layoutMainRef = ref();
14
14
  const route = useRoute();
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./index-DEBwqh2K.js"),t=e.defineComponent({name:"layoutDefaults"}),r=e.defineComponent({...t,setup(t){const r=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./aside-BwVcSaiI.js"))))),n=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./header-DEtGSsQl.js"))))),a=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./main-DJ7aZA-J.js"))))),l=e.ref(""),s=e.ref(),u=o.useRoute(),i=o.useThemeConfig(),{themeConfig:c}=o.storeToRefs(i),f=()=>{l.value.update(),s.value.layoutMainScrollbarRef.update()},d=()=>{e.nextTick((()=>{setTimeout((()=>{f(),l.value.wrapRef.scrollTop=0,s.value.layoutMainScrollbarRef.wrapRef.scrollTop=0}),500)}))};return e.onMounted((()=>{d(),o.NextLoading.done(600)})),e.watch((()=>u.path),(()=>{d()})),e.watch((()=>[c.value.isTagsview,c.value.isFixedHeader]),(()=>{e.nextTick((()=>{f()}))}),{deep:!0}),(o,t)=>{const u=e.resolveComponent("el-scrollbar"),i=e.resolveComponent("el-container");return e.openBlock(),e.createBlock(i,{class:"layout-container"},{default:e.withCtx((()=>[e.createVNode(e.unref(r)),e.createVNode(i,{class:"layout-container-view h100"},{default:e.withCtx((()=>[e.createVNode(u,{ref_key:"layoutScrollbarRef",ref:l,class:"layout-backtop"},{default:e.withCtx((()=>[e.createVNode(e.unref(n)),e.createVNode(e.unref(a),{ref_key:"layoutMainRef",ref:s},null,512)])),_:1},512)])),_:1})])),_:1})}}});exports.default=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./index-CPuFXfKc.js"),t=e.defineComponent({name:"layoutDefaults"}),r=e.defineComponent({...t,setup(t){const r=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./aside-BOUMRGnj.js"))))),n=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./header-BmlL-jH2.js"))))),a=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./main-Ble72xnj.js"))))),l=e.ref(""),s=e.ref(),u=o.useRoute(),i=o.useThemeConfig(),{themeConfig:c}=o.storeToRefs(i),f=()=>{l.value.update(),s.value.layoutMainScrollbarRef.update()},d=()=>{e.nextTick((()=>{setTimeout((()=>{f(),l.value.wrapRef.scrollTop=0,s.value.layoutMainScrollbarRef.wrapRef.scrollTop=0}),500)}))};return e.onMounted((()=>{d(),o.NextLoading.done(600)})),e.watch((()=>u.path),(()=>{d()})),e.watch((()=>[c.value.isTagsview,c.value.isFixedHeader]),(()=>{e.nextTick((()=>{f()}))}),{deep:!0}),(o,t)=>{const u=e.resolveComponent("el-scrollbar"),i=e.resolveComponent("el-container");return e.openBlock(),e.createBlock(i,{class:"layout-container"},{default:e.withCtx((()=>[e.createVNode(e.unref(r)),e.createVNode(i,{class:"layout-container-view h100"},{default:e.withCtx((()=>[e.createVNode(u,{ref_key:"layoutScrollbarRef",ref:l,class:"layout-backtop"},{default:e.withCtx((()=>[e.createVNode(e.unref(n)),e.createVNode(e.unref(a),{ref_key:"layoutMainRef",ref:s},null,512)])),_:1},512)])),_:1})])),_:1})}}});exports.default=r;
@@ -1,5 +1,5 @@
1
1
  import { openBlock, createElementBlock } from "vue";
2
- import { _ as _export_sfc } from "./index-zg-Gunjv.mjs";
2
+ import { _ as _export_sfc } from "./index-BA-iOt2y.mjs";
3
3
  const _sfc_main = {};
4
4
  function _sfc_render(_ctx, _cache) {
5
5
  return openBlock(), createElementBlock("div", null, "dialogComponent");
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t={};const o=require("./index-DEBwqh2K.js")._export_sfc(t,[["render",function(t,o){return e.openBlock(),e.createElementBlock("div",null,"dialogComponent")}]]);exports.default=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t={};const o=require("./index-CPuFXfKc.js")._export_sfc(t,[["render",function(t,o){return e.openBlock(),e.createElementBlock("div",null,"dialogComponent")}]]);exports.default=o;
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "./dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-D7YPtOQn.mjs";
1
+ import { _ as _sfc_main } from "./dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-B-NbAH71.mjs";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "./dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-BEbixb8C.mjs";
1
+ import { _ as _sfc_main } from "./dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DdukcFdI.mjs";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-DIn3V6bm.js");exports.default=e._sfc_main;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-frJZ7tsJ.js");exports.default=e._sfc_main;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-CWoEO-Dn.js");exports.default=e._sfc_main;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-B3pGQjxg.js");exports.default=e._sfc_main;
@@ -1,6 +1,6 @@
1
1
  import { reactive, defineComponent, ref, onMounted, resolveComponent, openBlock, createElementBlock, createVNode, unref, withCtx, Fragment, renderList, createBlock, createElementVNode, createTextVNode, toDisplayString } from "vue";
2
- import { d as ElMessage, i as useSystemController, e as _ } from "./index-zg-Gunjv.mjs";
3
- import { u as useDataPermissionController } from "./index-nF66VCfi.mjs";
2
+ import { d as ElMessage, i as useSystemController, e as _ } from "./index-BA-iOt2y.mjs";
3
+ import { u as useDataPermissionController } from "./index-BS0ptJrB.mjs";
4
4
  const systemController = useSystemController();
5
5
  const dataPermissionController = useDataPermissionController();
6
6
  function useDataAuthDialog(formInstance, emit, props) {
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),t=require("./index-DEBwqh2K.js"),o=require("./index-CmPoDmFy.js"),a=t.useSystemController(),l=o.useDataPermissionController();const r={class:"system-menu-dialog-container h-full flex flex-col justify-between"},n={class:"flex justify-center"},d=e.defineComponent({name:"dataAuthDialog"}),s=e.defineComponent({...d,props:{type:{type:String,default:"add"},row:{type:Object,default:()=>{}},search:{type:Function,default:()=>{}},close:Function},emits:["refresh","success"],setup(o,{emit:d}){const s=e.ref(),c=o,{onSubmit:u,getSystemData:i,dataAuth:m}=function(o,r,n){const d=e.reactive({data:{project_code:"",config_label:"",config_name:"",id:""},rule:{project_code:[{required:!0,message:"请选择所属系统",trigger:"blur"}],config_label:[{required:!0,message:"请输入数据权限显示名称",trigger:"blur"}],config_name:[{required:!0,message:"请输入数据权限code值",trigger:"blur"}],sort:[{required:!0,message:"请输入排序",trigger:"blur"}]},systemData:[]});return{onSubmit:async()=>{o.value&&await o.value.validate(((e,o)=>{e&&l.postSaveDataPermissionConfig(d.data).then((e=>{if(1!=e.code)return t.ElMessage.warning(e.msg);t.ElMessage.success("add"==n.type?"保存成功":"编辑成功"),null==n||n.search(),null==n||n.close()}))}))},getSystemData:()=>{a.getAllSystemInfo().then((e=>{if(1!=e.code)return t.ElMessage.warning(e.msg);d.systemData=e.data}))},dataAuth:d}}(s,0,c);return e.onMounted((()=>{c.row,"edit"==c.type&&(m.data=t._.assign(m.data,{project_code:c.row.project_code,config_label:c.row.config_label,config_name:c.row.config_name,id:c.row.id,sort:c.row.sort})),i()})),(t,a)=>{const l=e.resolveComponent("el-option"),d=e.resolveComponent("el-select"),c=e.resolveComponent("hs-form-item"),i=e.resolveComponent("hs-input"),f=e.resolveComponent("hs-input-number"),p=e.resolveComponent("hs-form"),g=e.resolveComponent("el-button");return e.openBlock(),e.createElementBlock("div",r,[e.createVNode(p,{ref_key:"formInstance",ref:s,"label-width":"160px",model:e.unref(m).data,rules:e.unref(m).rule},{default:e.withCtx((()=>[e.createVNode(c,{label:"所属系统",prop:"project_code"},{default:e.withCtx((()=>[e.createVNode(d,{modelValue:e.unref(m).data.project_code,"onUpdate:modelValue":a[0]||(a[0]=t=>e.unref(m).data.project_code=t),placeholder:"请选择所属系统"},{default:e.withCtx((()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(m).systemData,((t,o)=>(e.openBlock(),e.createBlock(l,{key:t.id,label:t.project_name,value:t.project_code},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1}),e.createVNode(c,{label:"数据权限显示名称",prop:"config_label"},{default:e.withCtx((()=>[e.createVNode(i,{modelValue:e.unref(m).data.config_label,"onUpdate:modelValue":a[1]||(a[1]=t=>e.unref(m).data.config_label=t)},null,8,["modelValue"])])),_:1}),e.createVNode(c,{label:"数据权限code值",prop:"config_name"},{default:e.withCtx((()=>[e.createVNode(i,{modelValue:e.unref(m).data.config_name,"onUpdate:modelValue":a[2]||(a[2]=t=>e.unref(m).data.config_name=t)},null,8,["modelValue"])])),_:1}),e.createVNode(c,{label:"排序",prop:"sort"},{default:e.withCtx((()=>[e.createVNode(f,{modelValue:e.unref(m).data.sort,"onUpdate:modelValue":a[3]||(a[3]=t=>e.unref(m).data.sort=t),type:"textarea",controls:!1},null,8,["modelValue"])])),_:1})])),_:1},8,["model","rules"]),e.createElementVNode("div",n,[e.createVNode(g,{onClick:o.close,size:"default"},{default:e.withCtx((()=>a[5]||(a[5]=[e.createTextVNode("取 消")]))),_:1},8,["onClick"]),e.createVNode(g,{type:"primary",onClick:a[4]||(a[4]=t=>e.unref(u)()),size:"default"},{default:e.withCtx((()=>[e.createTextVNode(e.toDisplayString("add"==o.type?"新 增":"修 改"),1)])),_:1})])])}}});exports._sfc_main=s;
1
+ "use strict";const e=require("vue"),t=require("./index-CPuFXfKc.js"),o=require("./index-DRj8xT9Z.js"),a=t.useSystemController(),l=o.useDataPermissionController();const r={class:"system-menu-dialog-container h-full flex flex-col justify-between"},n={class:"flex justify-center"},d=e.defineComponent({name:"dataAuthDialog"}),s=e.defineComponent({...d,props:{type:{type:String,default:"add"},row:{type:Object,default:()=>{}},search:{type:Function,default:()=>{}},close:Function},emits:["refresh","success"],setup(o,{emit:d}){const s=e.ref(),c=o,{onSubmit:u,getSystemData:i,dataAuth:m}=function(o,r,n){const d=e.reactive({data:{project_code:"",config_label:"",config_name:"",id:""},rule:{project_code:[{required:!0,message:"请选择所属系统",trigger:"blur"}],config_label:[{required:!0,message:"请输入数据权限显示名称",trigger:"blur"}],config_name:[{required:!0,message:"请输入数据权限code值",trigger:"blur"}],sort:[{required:!0,message:"请输入排序",trigger:"blur"}]},systemData:[]});return{onSubmit:async()=>{o.value&&await o.value.validate(((e,o)=>{e&&l.postSaveDataPermissionConfig(d.data).then((e=>{if(1!=e.code)return t.ElMessage.warning(e.msg);t.ElMessage.success("add"==n.type?"保存成功":"编辑成功"),null==n||n.search(),null==n||n.close()}))}))},getSystemData:()=>{a.getAllSystemInfo().then((e=>{if(1!=e.code)return t.ElMessage.warning(e.msg);d.systemData=e.data}))},dataAuth:d}}(s,0,c);return e.onMounted((()=>{c.row,"edit"==c.type&&(m.data=t._.assign(m.data,{project_code:c.row.project_code,config_label:c.row.config_label,config_name:c.row.config_name,id:c.row.id,sort:c.row.sort})),i()})),(t,a)=>{const l=e.resolveComponent("el-option"),d=e.resolveComponent("el-select"),c=e.resolveComponent("hs-form-item"),i=e.resolveComponent("hs-input"),f=e.resolveComponent("hs-input-number"),p=e.resolveComponent("hs-form"),g=e.resolveComponent("el-button");return e.openBlock(),e.createElementBlock("div",r,[e.createVNode(p,{ref_key:"formInstance",ref:s,"label-width":"160px",model:e.unref(m).data,rules:e.unref(m).rule},{default:e.withCtx((()=>[e.createVNode(c,{label:"所属系统",prop:"project_code"},{default:e.withCtx((()=>[e.createVNode(d,{modelValue:e.unref(m).data.project_code,"onUpdate:modelValue":a[0]||(a[0]=t=>e.unref(m).data.project_code=t),placeholder:"请选择所属系统"},{default:e.withCtx((()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(m).systemData,((t,o)=>(e.openBlock(),e.createBlock(l,{key:t.id,label:t.project_name,value:t.project_code},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1}),e.createVNode(c,{label:"数据权限显示名称",prop:"config_label"},{default:e.withCtx((()=>[e.createVNode(i,{modelValue:e.unref(m).data.config_label,"onUpdate:modelValue":a[1]||(a[1]=t=>e.unref(m).data.config_label=t)},null,8,["modelValue"])])),_:1}),e.createVNode(c,{label:"数据权限code值",prop:"config_name"},{default:e.withCtx((()=>[e.createVNode(i,{modelValue:e.unref(m).data.config_name,"onUpdate:modelValue":a[2]||(a[2]=t=>e.unref(m).data.config_name=t)},null,8,["modelValue"])])),_:1}),e.createVNode(c,{label:"排序",prop:"sort"},{default:e.withCtx((()=>[e.createVNode(f,{modelValue:e.unref(m).data.sort,"onUpdate:modelValue":a[3]||(a[3]=t=>e.unref(m).data.sort=t),type:"textarea",controls:!1},null,8,["modelValue"])])),_:1})])),_:1},8,["model","rules"]),e.createElementVNode("div",n,[e.createVNode(g,{onClick:o.close,size:"default"},{default:e.withCtx((()=>a[5]||(a[5]=[e.createTextVNode("取 消")]))),_:1},8,["onClick"]),e.createVNode(g,{type:"primary",onClick:a[4]||(a[4]=t=>e.unref(u)()),size:"default"},{default:e.withCtx((()=>[e.createTextVNode(e.toDisplayString("add"==o.type?"新 增":"修 改"),1)])),_:1})])])}}});exports._sfc_main=s;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),t=require("./index-DEBwqh2K.js"),l={class:"system-menu-dialog-container h-full"},a={key:0},o={key:1},r={class:"flex justify-center"},d=e.defineComponent({name:"systemMenuDialog"}),i=e.defineComponent({...d,props:{type:{type:String,default:"add"},row:{type:Object,default:()=>{}},close:Function,sysData:{type:Object,default:()=>({})}},setup(d,{expose:i}){const{postAddMenu:m,postUpdateMenu:u,getMenuList:s}=t.useMenuController(),n=d,c=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./index-DirD6XXm.js"))))),p=e.ref(),V=t.useRoutesList();t.storeToRefs(V);const x=e.reactive({ruleForm:{pid:[],menuType:"menu",name:"",component:"",link:"",sort:0,path:"",redirect:"",meta:{title:"",icon:"",isHide:!1,isKeepAlive:!0,isAffix:!1,isLink:!1,isIframe:!1}},menuData:[],dialog:{isShowDialog:!1,type:"",title:"",submitTxt:""}}),h=e.reactive({meta:{title:[{required:!0,message:"请输入菜单名称",trigger:"blur"}]},name:[{required:!0,message:"请输入路由名称",trigger:"blur"}],path:[{required:!0,message:"请输入路由路径",trigger:"blur"}],component:[{required:!0,message:"请输入组件路径",trigger:"blur"}],sort:[{required:!0,message:"请输入菜单排序",trigger:"blur"}]}),f=e=>{const t=[];return e.map((e=>{var l;"edit"===n.type&&n.row.pid&&e.id===n.row.id&&(e.disabled=!0),"edit"===n.type&&n.row.id&&e.pid===n.row.id&&(e.disabled=!0),"edit"===n.type&&n.row.id==e.id&&(e.disabled=!0),e.title=null==(l=e.meta)?void 0:l.title,t.push({...e}),"edit"===n.type&&e.children&&e.id!=n.row.id?f(e.children):"edit"===n.type&&e.children&&e.id==n.row.id&&C(e.children)})),t},C=e=>{e.forEach((e=>{e.disabled=!0,e.children&&C(e.children)}))};function N(){var e,l;if(!x.ruleForm.pid||!x.ruleForm.name)return;const a=null==(e=t.treeToList(x.menuData))?void 0:e.find((e=>e.id==x.ruleForm.pid));a&&(x.ruleForm.path=`${a.path}/${x.ruleForm.name}`,x.ruleForm.component=`${a.path}/${x.ruleForm.name}/index.vue`,x.ruleForm.sort=((null==(l=a.children)?void 0:l.length)??0)+1)}const b=(t,l)=>{"edit"===t?(l.menuType="menu",l.menuSort=Math.floor(100*Math.random()),x.ruleForm=JSON.parse(JSON.stringify(l)),x.dialog.submitTxt="修 改"):(x.dialog.submitTxt="新 增",l&&l.id&&(x.ruleForm.pid=l.id),e.nextTick((()=>{p.value.resetFields()}))),x.dialog.type=t,x.dialog.isShowDialog=!0},w=()=>{x.ruleForm.meta.isIframe?x.ruleForm.meta.isLink=!0:x.ruleForm.meta.isLink=!1},g=()=>{n.sysData.value.project_code,p.value.validate((e=>{if(!e)return!1;{let e={...x.ruleForm,...x.ruleForm.meta,project_code:n.sysData.value.project_code,pid:x.ruleForm.pid?_(x.ruleForm.pid):""};"add"===x.dialog.type?m(e).then((async e=>{1===e.code&&(n.close("refresh"),t.HsMessage.success("新增成功"),"scmp"==n.sysData.value.project_code&&await t.setBackEndControlRefreshRoutes())})):u(e).then((async e=>{1===e.code&&(n.close("refresh"),t.HsMessage.success("修改成功"),"scmp"==n.sysData.value.project_code&&await t.setBackEndControlRefreshRoutes())}))}}))};e.onMounted((()=>{s({project_code:n.sysData.value.project_code}).then((e=>{1===e.code?x.menuData=f(e.data):x.menuData=[]})),b(n.type,n.row)}));const _=e=>"string"==typeof e?e:e[e.length-1],F=async()=>{try{const e=await navigator.clipboard.readText();if(!e)return;let t=JSON.parse(e);"menu"===t.type&&(x.ruleForm={...x.ruleForm,...t.row})}catch(e){console.debug(e)}};return i({openDialog:b}),(i,m)=>{const u=e.resolveComponent("el-cascader"),s=e.resolveComponent("el-form-item"),n=e.resolveComponent("el-col"),V=e.resolveComponent("el-input"),f=e.resolveComponent("el-input-number"),C=e.resolveComponent("el-radio"),b=e.resolveComponent("el-radio-group"),_=e.resolveComponent("el-row"),y=e.resolveComponent("el-form"),v=e.resolveComponent("el-button");return e.openBlock(),e.createElementBlock("div",l,[e.createVNode(y,{ref_key:"menuDialogFormRef",ref:p,model:x.ruleForm,size:"default","label-width":"80px",rules:h},{default:e.withCtx((()=>[e.createVNode(_,{gutter:26},{default:e.withCtx((()=>[e.createVNode(n,{xs:24,sm:24,md:24,lg:24,xl:24,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"上级菜单"},{default:e.withCtx((()=>[e.createVNode(u,{options:x.menuData,props:{checkStrictly:!0,value:"id",label:"title"},placeholder:"请选择上级菜单",clearable:"",class:"w100",modelValue:x.ruleForm.pid,"onUpdate:modelValue":m[0]||(m[0]=e=>x.ruleForm.pid=e),"value-format":"string","change-on-select":""},{default:e.withCtx((({node:t,data:l})=>[l.title?(e.openBlock(),e.createElementBlock("span",a,e.toDisplayString(l.title),1)):e.createCommentVNode("",!0),t.isLeaf?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",o," ("+e.toDisplayString(l.children.length)+") ",1))])),_:1},8,["options","modelValue"])])),_:1})])),_:1}),e.createVNode(n,{xs:24,sm:12,md:12,lg:12,xl:12,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"菜单名称",required:"",prop:"meta.title"},{default:e.withCtx((()=>[e.createVNode(V,{modelValue:x.ruleForm.meta.title,"onUpdate:modelValue":m[1]||(m[1]=e=>x.ruleForm.meta.title=e),placeholder:"格式:message.router.xxx",clearable:""},null,8,["modelValue"])])),_:1})])),_:1}),e.createVNode(n,{xs:24,sm:12,md:12,lg:12,xl:12,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"路由名称",prop:"name"},{default:e.withCtx((()=>[e.createVNode(V,{modelValue:x.ruleForm.name,"onUpdate:modelValue":m[2]||(m[2]=e=>x.ruleForm.name=e),onChange:N,placeholder:"路由中的 name 值",clearable:""},null,8,["modelValue"])])),_:1})])),_:1}),e.createVNode(n,{xs:24,sm:12,md:12,lg:12,xl:12,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"路由路径",required:"",prop:"path"},{default:e.withCtx((()=>[e.createVNode(V,{modelValue:x.ruleForm.path,"onUpdate:modelValue":m[3]||(m[3]=e=>x.ruleForm.path=e),placeholder:"路由中的 path 值",clearable:""},null,8,["modelValue"])])),_:1})])),_:1}),e.createVNode(n,{xs:24,sm:12,md:12,lg:12,xl:12,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"重定向"},{default:e.withCtx((()=>[e.createVNode(V,{modelValue:x.ruleForm.redirect,"onUpdate:modelValue":m[4]||(m[4]=e=>x.ruleForm.redirect=e),placeholder:"请输入路由重定向",clearable:""},null,8,["modelValue"])])),_:1})])),_:1}),e.createVNode(n,{xs:24,sm:12,md:12,lg:12,xl:12,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"菜单图标"},{default:e.withCtx((()=>[e.createVNode(e.unref(c),{placeholder:"请输入菜单图标",title:"",modelValue:x.ruleForm.meta.icon,"onUpdate:modelValue":m[5]||(m[5]=e=>x.ruleForm.meta.icon=e)},null,8,["modelValue"])])),_:1})])),_:1}),e.createVNode(n,{xs:24,sm:12,md:12,lg:12,xl:12,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"组件路径",required:"",prop:"component"},{default:e.withCtx((()=>[e.createVNode(V,{modelValue:x.ruleForm.component,"onUpdate:modelValue":m[6]||(m[6]=e=>x.ruleForm.component=e),placeholder:"组件路径",clearable:""},null,8,["modelValue"])])),_:1})])),_:1}),e.createVNode(n,{xs:24,sm:12,md:12,lg:12,xl:12,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"链接地址"},{default:e.withCtx((()=>[e.createVNode(V,{modelValue:x.ruleForm.link,"onUpdate:modelValue":m[7]||(m[7]=e=>x.ruleForm.link=e),placeholder:"外链/内嵌时链接地址(http:xxx.com)",clearable:"",disabled:!x.ruleForm.meta.isLink},null,8,["modelValue","disabled"])])),_:1})])),_:1}),e.createVNode(n,{xs:24,sm:12,md:12,lg:12,xl:12,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"菜单排序",required:"",prop:"sort"},{default:e.withCtx((()=>[e.createVNode(f,{modelValue:x.ruleForm.sort,"onUpdate:modelValue":m[8]||(m[8]=e=>x.ruleForm.sort=e),"controls-position":"right",placeholder:"请输入排序",class:"w100"},null,8,["modelValue"])])),_:1})])),_:1}),e.createVNode(n,{xs:24,sm:12,md:12,lg:12,xl:12,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"是否隐藏"},{default:e.withCtx((()=>[e.createVNode(b,{modelValue:x.ruleForm.meta.isHide,"onUpdate:modelValue":m[9]||(m[9]=e=>x.ruleForm.meta.isHide=e)},{default:e.withCtx((()=>[e.createVNode(C,{label:!0},{default:e.withCtx((()=>m[13]||(m[13]=[e.createTextVNode("隐藏")]))),_:1}),e.createVNode(C,{label:!1},{default:e.withCtx((()=>m[14]||(m[14]=[e.createTextVNode("不隐藏")]))),_:1})])),_:1},8,["modelValue"])])),_:1})])),_:1}),e.createVNode(n,{xs:24,sm:12,md:12,lg:12,xl:12,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"页面缓存"},{default:e.withCtx((()=>[e.createVNode(b,{modelValue:x.ruleForm.meta.isKeepAlive,"onUpdate:modelValue":m[10]||(m[10]=e=>x.ruleForm.meta.isKeepAlive=e)},{default:e.withCtx((()=>[e.createVNode(C,{label:!0},{default:e.withCtx((()=>m[15]||(m[15]=[e.createTextVNode("缓存")]))),_:1}),e.createVNode(C,{label:!1},{default:e.withCtx((()=>m[16]||(m[16]=[e.createTextVNode("不缓存")]))),_:1})])),_:1},8,["modelValue"])])),_:1})])),_:1}),e.createVNode(n,{xs:24,sm:12,md:12,lg:12,xl:12,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"是否外链"},{default:e.withCtx((()=>[e.createVNode(b,{modelValue:x.ruleForm.meta.isLink,"onUpdate:modelValue":m[11]||(m[11]=e=>x.ruleForm.meta.isLink=e),disabled:x.ruleForm.meta.isIframe},{default:e.withCtx((()=>[e.createVNode(C,{label:!0},{default:e.withCtx((()=>m[17]||(m[17]=[e.createTextVNode("是")]))),_:1}),e.createVNode(C,{label:!1},{default:e.withCtx((()=>m[18]||(m[18]=[e.createTextVNode("否")]))),_:1})])),_:1},8,["modelValue","disabled"])])),_:1})])),_:1}),e.createVNode(n,{xs:24,sm:12,md:12,lg:12,xl:12,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"是否内嵌"},{default:e.withCtx((()=>[e.createVNode(b,{modelValue:x.ruleForm.meta.isIframe,"onUpdate:modelValue":m[12]||(m[12]=e=>x.ruleForm.meta.isIframe=e),onChange:w},{default:e.withCtx((()=>[e.createVNode(C,{label:!0},{default:e.withCtx((()=>m[19]||(m[19]=[e.createTextVNode("是")]))),_:1}),e.createVNode(C,{label:!1},{default:e.withCtx((()=>m[20]||(m[20]=[e.createTextVNode("否")]))),_:1})])),_:1},8,["modelValue"])])),_:1})])),_:1})])),_:1})])),_:1},8,["model","rules"]),e.createElementVNode("div",r,[e.createVNode(v,{onClick:d.close,size:"default"},{default:e.withCtx((()=>m[21]||(m[21]=[e.createTextVNode("取 消")]))),_:1},8,["onClick"]),e.createVNode(v,{type:"primary",onClick:g,size:"default"},{default:e.withCtx((()=>[e.createTextVNode(e.toDisplayString("add"==d.type?"新 增":"修 改"),1)])),_:1}),e.unref(t.isDev)?(e.openBlock(),e.createBlock(v,{key:0,onClick:F,size:"default"},{default:e.withCtx((()=>m[22]||(m[22]=[e.createTextVNode("粘贴菜单")]))),_:1})):e.createCommentVNode("",!0)])])}}});exports._sfc_main=i;
1
+ "use strict";const e=require("vue"),t=require("./index-CPuFXfKc.js"),l={class:"system-menu-dialog-container h-full"},a={key:0},o={key:1},r={class:"flex justify-center"},d=e.defineComponent({name:"systemMenuDialog"}),i=e.defineComponent({...d,props:{type:{type:String,default:"add"},row:{type:Object,default:()=>{}},close:Function,sysData:{type:Object,default:()=>({})}},setup(d,{expose:i}){const{postAddMenu:m,postUpdateMenu:u,getMenuList:s}=t.useMenuController(),n=d,c=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./index-Dij_vVy9.js"))))),p=e.ref(),V=t.useRoutesList();t.storeToRefs(V);const x=e.reactive({ruleForm:{pid:[],menuType:"menu",name:"",component:"",link:"",sort:0,path:"",redirect:"",meta:{title:"",icon:"",isHide:!1,isKeepAlive:!0,isAffix:!1,isLink:!1,isIframe:!1}},menuData:[],dialog:{isShowDialog:!1,type:"",title:"",submitTxt:""}}),h=e.reactive({meta:{title:[{required:!0,message:"请输入菜单名称",trigger:"blur"}]},name:[{required:!0,message:"请输入路由名称",trigger:"blur"}],path:[{required:!0,message:"请输入路由路径",trigger:"blur"}],component:[{required:!0,message:"请输入组件路径",trigger:"blur"}],sort:[{required:!0,message:"请输入菜单排序",trigger:"blur"}]}),f=e=>{const t=[];return e.map((e=>{var l;"edit"===n.type&&n.row.pid&&e.id===n.row.id&&(e.disabled=!0),"edit"===n.type&&n.row.id&&e.pid===n.row.id&&(e.disabled=!0),"edit"===n.type&&n.row.id==e.id&&(e.disabled=!0),e.title=null==(l=e.meta)?void 0:l.title,t.push({...e}),"edit"===n.type&&e.children&&e.id!=n.row.id?f(e.children):"edit"===n.type&&e.children&&e.id==n.row.id&&C(e.children)})),t},C=e=>{e.forEach((e=>{e.disabled=!0,e.children&&C(e.children)}))};function N(){var e,l;if(!x.ruleForm.pid||!x.ruleForm.name)return;const a=null==(e=t.treeToList(x.menuData))?void 0:e.find((e=>e.id==x.ruleForm.pid));a&&(x.ruleForm.path=`${a.path}/${x.ruleForm.name}`,x.ruleForm.component=`${a.path}/${x.ruleForm.name}/index.vue`,x.ruleForm.sort=((null==(l=a.children)?void 0:l.length)??0)+1)}const b=(t,l)=>{"edit"===t?(l.menuType="menu",l.menuSort=Math.floor(100*Math.random()),x.ruleForm=JSON.parse(JSON.stringify(l)),x.dialog.submitTxt="修 改"):(x.dialog.submitTxt="新 增",l&&l.id&&(x.ruleForm.pid=l.id),e.nextTick((()=>{p.value.resetFields()}))),x.dialog.type=t,x.dialog.isShowDialog=!0},w=()=>{x.ruleForm.meta.isIframe?x.ruleForm.meta.isLink=!0:x.ruleForm.meta.isLink=!1},g=()=>{n.sysData.value.project_code,p.value.validate((e=>{if(!e)return!1;{let e={...x.ruleForm,...x.ruleForm.meta,project_code:n.sysData.value.project_code,pid:x.ruleForm.pid?_(x.ruleForm.pid):""};"add"===x.dialog.type?m(e).then((async e=>{1===e.code&&(n.close("refresh"),t.HsMessage.success("新增成功"),"scmp"==n.sysData.value.project_code&&await t.setBackEndControlRefreshRoutes())})):u(e).then((async e=>{1===e.code&&(n.close("refresh"),t.HsMessage.success("修改成功"),"scmp"==n.sysData.value.project_code&&await t.setBackEndControlRefreshRoutes())}))}}))};e.onMounted((()=>{s({project_code:n.sysData.value.project_code}).then((e=>{1===e.code?x.menuData=f(e.data):x.menuData=[]})),b(n.type,n.row)}));const _=e=>"string"==typeof e?e:e[e.length-1],F=async()=>{try{const e=await navigator.clipboard.readText();if(!e)return;let t=JSON.parse(e);"menu"===t.type&&(x.ruleForm={...x.ruleForm,...t.row})}catch(e){console.debug(e)}};return i({openDialog:b}),(i,m)=>{const u=e.resolveComponent("el-cascader"),s=e.resolveComponent("el-form-item"),n=e.resolveComponent("el-col"),V=e.resolveComponent("el-input"),f=e.resolveComponent("el-input-number"),C=e.resolveComponent("el-radio"),b=e.resolveComponent("el-radio-group"),_=e.resolveComponent("el-row"),y=e.resolveComponent("el-form"),v=e.resolveComponent("el-button");return e.openBlock(),e.createElementBlock("div",l,[e.createVNode(y,{ref_key:"menuDialogFormRef",ref:p,model:x.ruleForm,size:"default","label-width":"80px",rules:h},{default:e.withCtx((()=>[e.createVNode(_,{gutter:26},{default:e.withCtx((()=>[e.createVNode(n,{xs:24,sm:24,md:24,lg:24,xl:24,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"上级菜单"},{default:e.withCtx((()=>[e.createVNode(u,{options:x.menuData,props:{checkStrictly:!0,value:"id",label:"title"},placeholder:"请选择上级菜单",clearable:"",class:"w100",modelValue:x.ruleForm.pid,"onUpdate:modelValue":m[0]||(m[0]=e=>x.ruleForm.pid=e),"value-format":"string","change-on-select":""},{default:e.withCtx((({node:t,data:l})=>[l.title?(e.openBlock(),e.createElementBlock("span",a,e.toDisplayString(l.title),1)):e.createCommentVNode("",!0),t.isLeaf?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",o," ("+e.toDisplayString(l.children.length)+") ",1))])),_:1},8,["options","modelValue"])])),_:1})])),_:1}),e.createVNode(n,{xs:24,sm:12,md:12,lg:12,xl:12,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"菜单名称",required:"",prop:"meta.title"},{default:e.withCtx((()=>[e.createVNode(V,{modelValue:x.ruleForm.meta.title,"onUpdate:modelValue":m[1]||(m[1]=e=>x.ruleForm.meta.title=e),placeholder:"格式:message.router.xxx",clearable:""},null,8,["modelValue"])])),_:1})])),_:1}),e.createVNode(n,{xs:24,sm:12,md:12,lg:12,xl:12,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"路由名称",prop:"name"},{default:e.withCtx((()=>[e.createVNode(V,{modelValue:x.ruleForm.name,"onUpdate:modelValue":m[2]||(m[2]=e=>x.ruleForm.name=e),onChange:N,placeholder:"路由中的 name 值",clearable:""},null,8,["modelValue"])])),_:1})])),_:1}),e.createVNode(n,{xs:24,sm:12,md:12,lg:12,xl:12,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"路由路径",required:"",prop:"path"},{default:e.withCtx((()=>[e.createVNode(V,{modelValue:x.ruleForm.path,"onUpdate:modelValue":m[3]||(m[3]=e=>x.ruleForm.path=e),placeholder:"路由中的 path 值",clearable:""},null,8,["modelValue"])])),_:1})])),_:1}),e.createVNode(n,{xs:24,sm:12,md:12,lg:12,xl:12,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"重定向"},{default:e.withCtx((()=>[e.createVNode(V,{modelValue:x.ruleForm.redirect,"onUpdate:modelValue":m[4]||(m[4]=e=>x.ruleForm.redirect=e),placeholder:"请输入路由重定向",clearable:""},null,8,["modelValue"])])),_:1})])),_:1}),e.createVNode(n,{xs:24,sm:12,md:12,lg:12,xl:12,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"菜单图标"},{default:e.withCtx((()=>[e.createVNode(e.unref(c),{placeholder:"请输入菜单图标",title:"",modelValue:x.ruleForm.meta.icon,"onUpdate:modelValue":m[5]||(m[5]=e=>x.ruleForm.meta.icon=e)},null,8,["modelValue"])])),_:1})])),_:1}),e.createVNode(n,{xs:24,sm:12,md:12,lg:12,xl:12,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"组件路径",required:"",prop:"component"},{default:e.withCtx((()=>[e.createVNode(V,{modelValue:x.ruleForm.component,"onUpdate:modelValue":m[6]||(m[6]=e=>x.ruleForm.component=e),placeholder:"组件路径",clearable:""},null,8,["modelValue"])])),_:1})])),_:1}),e.createVNode(n,{xs:24,sm:12,md:12,lg:12,xl:12,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"链接地址"},{default:e.withCtx((()=>[e.createVNode(V,{modelValue:x.ruleForm.link,"onUpdate:modelValue":m[7]||(m[7]=e=>x.ruleForm.link=e),placeholder:"外链/内嵌时链接地址(http:xxx.com)",clearable:"",disabled:!x.ruleForm.meta.isLink},null,8,["modelValue","disabled"])])),_:1})])),_:1}),e.createVNode(n,{xs:24,sm:12,md:12,lg:12,xl:12,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"菜单排序",required:"",prop:"sort"},{default:e.withCtx((()=>[e.createVNode(f,{modelValue:x.ruleForm.sort,"onUpdate:modelValue":m[8]||(m[8]=e=>x.ruleForm.sort=e),"controls-position":"right",placeholder:"请输入排序",class:"w100"},null,8,["modelValue"])])),_:1})])),_:1}),e.createVNode(n,{xs:24,sm:12,md:12,lg:12,xl:12,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"是否隐藏"},{default:e.withCtx((()=>[e.createVNode(b,{modelValue:x.ruleForm.meta.isHide,"onUpdate:modelValue":m[9]||(m[9]=e=>x.ruleForm.meta.isHide=e)},{default:e.withCtx((()=>[e.createVNode(C,{label:!0},{default:e.withCtx((()=>m[13]||(m[13]=[e.createTextVNode("隐藏")]))),_:1}),e.createVNode(C,{label:!1},{default:e.withCtx((()=>m[14]||(m[14]=[e.createTextVNode("不隐藏")]))),_:1})])),_:1},8,["modelValue"])])),_:1})])),_:1}),e.createVNode(n,{xs:24,sm:12,md:12,lg:12,xl:12,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"页面缓存"},{default:e.withCtx((()=>[e.createVNode(b,{modelValue:x.ruleForm.meta.isKeepAlive,"onUpdate:modelValue":m[10]||(m[10]=e=>x.ruleForm.meta.isKeepAlive=e)},{default:e.withCtx((()=>[e.createVNode(C,{label:!0},{default:e.withCtx((()=>m[15]||(m[15]=[e.createTextVNode("缓存")]))),_:1}),e.createVNode(C,{label:!1},{default:e.withCtx((()=>m[16]||(m[16]=[e.createTextVNode("不缓存")]))),_:1})])),_:1},8,["modelValue"])])),_:1})])),_:1}),e.createVNode(n,{xs:24,sm:12,md:12,lg:12,xl:12,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"是否外链"},{default:e.withCtx((()=>[e.createVNode(b,{modelValue:x.ruleForm.meta.isLink,"onUpdate:modelValue":m[11]||(m[11]=e=>x.ruleForm.meta.isLink=e),disabled:x.ruleForm.meta.isIframe},{default:e.withCtx((()=>[e.createVNode(C,{label:!0},{default:e.withCtx((()=>m[17]||(m[17]=[e.createTextVNode("是")]))),_:1}),e.createVNode(C,{label:!1},{default:e.withCtx((()=>m[18]||(m[18]=[e.createTextVNode("否")]))),_:1})])),_:1},8,["modelValue","disabled"])])),_:1})])),_:1}),e.createVNode(n,{xs:24,sm:12,md:12,lg:12,xl:12,class:"mb20"},{default:e.withCtx((()=>[e.createVNode(s,{label:"是否内嵌"},{default:e.withCtx((()=>[e.createVNode(b,{modelValue:x.ruleForm.meta.isIframe,"onUpdate:modelValue":m[12]||(m[12]=e=>x.ruleForm.meta.isIframe=e),onChange:w},{default:e.withCtx((()=>[e.createVNode(C,{label:!0},{default:e.withCtx((()=>m[19]||(m[19]=[e.createTextVNode("是")]))),_:1}),e.createVNode(C,{label:!1},{default:e.withCtx((()=>m[20]||(m[20]=[e.createTextVNode("否")]))),_:1})])),_:1},8,["modelValue"])])),_:1})])),_:1})])),_:1})])),_:1},8,["model","rules"]),e.createElementVNode("div",r,[e.createVNode(v,{onClick:d.close,size:"default"},{default:e.withCtx((()=>m[21]||(m[21]=[e.createTextVNode("取 消")]))),_:1},8,["onClick"]),e.createVNode(v,{type:"primary",onClick:g,size:"default"},{default:e.withCtx((()=>[e.createTextVNode(e.toDisplayString("add"==d.type?"新 增":"修 改"),1)])),_:1}),e.unref(t.isDev)?(e.openBlock(),e.createBlock(v,{key:0,onClick:F,size:"default"},{default:e.withCtx((()=>m[22]||(m[22]=[e.createTextVNode("粘贴菜单")]))),_:1})):e.createCommentVNode("",!0)])])}}});exports._sfc_main=i;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, defineAsyncComponent, ref, reactive, onMounted, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, toDisplayString, createCommentVNode, unref, createTextVNode, createElementVNode, createBlock, nextTick } from "vue";
2
- import { R as useRoutesList, s as storeToRefs, Z as isDev, A as treeToList, C as HsMessage, $ as setBackEndControlRefreshRoutes, B as useMenuController } from "./index-zg-Gunjv.mjs";
2
+ import { T as useRoutesList, s as storeToRefs, w as isDev, B as treeToList, D as HsMessage, $ as setBackEndControlRefreshRoutes, C as useMenuController } from "./index-BA-iOt2y.mjs";
3
3
  const _hoisted_1 = { class: "system-menu-dialog-container h-full" };
4
4
  const _hoisted_2 = { key: 0 };
5
5
  const _hoisted_3 = { key: 1 };
@@ -29,7 +29,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
29
29
  setup(__props, { expose: __expose }) {
30
30
  const { postAddMenu, postUpdateMenu, getMenuList } = useMenuController();
31
31
  const props = __props;
32
- const IconSelector = defineAsyncComponent(() => import("./index-lnvAWnGP.mjs"));
32
+ const IconSelector = defineAsyncComponent(() => import("./index-b8T1DawW.mjs"));
33
33
  const menuDialogFormRef = ref();
34
34
  const stores = useRoutesList();
35
35
  storeToRefs(stores);
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "./dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-hrBYWAOf.mjs";
1
+ import { _ as _sfc_main } from "./dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-DYTDEFHv.mjs";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-DxC0zOmJ.js");exports.default=e._sfc_main;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-lgjE-XNP.js");exports.default=e._sfc_main;
@@ -1,6 +1,6 @@
1
1
  import { reactive, defineComponent, ref, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, unref, withCtx, createTextVNode } from "vue";
2
- import { d as ElMessage } from "./index-zg-Gunjv.mjs";
3
- import { u as useDictController } from "./index-BpATiWHC.mjs";
2
+ import { d as ElMessage } from "./index-BA-iOt2y.mjs";
3
+ import { u as useDictController } from "./index-DEbwuklL.mjs";
4
4
  const { postAddDictInfo } = useDictController();
5
5
  function useDictDialog(emits, formInstance) {
6
6
  const dict = reactive({
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),t=require("./index-DEBwqh2K.js"),a=require("./index-mNAJawAg.js"),{postAddDictInfo:r}=a.useDictController();const d=e.defineComponent({name:"dictDialog"}),o=e.defineComponent({...d,emits:["success"],setup(a,{expose:d,emit:o}){const l=e.ref(),{dict:n,onSubmit:i}=function(a,d){const o=e.reactive({data:{dict_code:"",dict_name:"",dict_type:"2",remark:""},rule:{dict_code:[{required:!0,message:"请输入字典代码",trigger:"blur"}],dict_name:[{required:!0,message:"请输入字典名称",trigger:"blur"}],dict_type:[{required:!0,message:"请输入字典类别",trigger:"blur"}]}});return{dict:o,onSubmit:async()=>d.value&&await d.value.validate()?r(o.data).then((e=>1!=e.code?(t.ElMessage.warning(e.msg),Promise.reject()):(t.ElMessage.success("保存成功"),Promise.resolve("success")))):Promise.reject()}}(0,l);return d({getData:()=>i}),(t,a)=>{const r=e.resolveComponent("hs-input"),d=e.resolveComponent("hs-form-item"),o=e.resolveComponent("el-radio"),i=e.resolveComponent("el-radio-group"),u=e.resolveComponent("hs-form");return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",null,[e.createVNode(u,{ref_key:"dictFormRef",ref:l,"label-width":"100px",model:e.unref(n).data,rules:e.unref(n).rule},{default:e.withCtx((()=>[e.createVNode(d,{label:"字典代码",prop:"dict_code"},{default:e.withCtx((()=>[e.createVNode(r,{modelValue:e.unref(n).data.dict_code,"onUpdate:modelValue":a[0]||(a[0]=t=>e.unref(n).data.dict_code=t)},null,8,["modelValue"])])),_:1}),e.createVNode(d,{label:"字典名称",prop:"dict_name"},{default:e.withCtx((()=>[e.createVNode(r,{modelValue:e.unref(n).data.dict_name,"onUpdate:modelValue":a[1]||(a[1]=t=>e.unref(n).data.dict_name=t)},null,8,["modelValue"])])),_:1}),e.createVNode(d,{label:"字典类别",prop:"dict_type"},{default:e.withCtx((()=>[e.createVNode(i,{modelValue:e.unref(n).data.dict_type,"onUpdate:modelValue":a[2]||(a[2]=t=>e.unref(n).data.dict_type=t)},{default:e.withCtx((()=>[e.createVNode(o,{name:"dict_type",label:"1",value:"1"},{default:e.withCtx((()=>a[4]||(a[4]=[e.createTextVNode("系统字典")]))),_:1}),e.createVNode(o,{name:"dict_type",label:"2",value:"2"},{default:e.withCtx((()=>a[5]||(a[5]=[e.createTextVNode("公司自定义")]))),_:1})])),_:1},8,["modelValue"])])),_:1}),e.createVNode(d,{label:"字典说明",prop:"remark"},{default:e.withCtx((()=>[e.createVNode(r,{modelValue:e.unref(n).data.remark,"onUpdate:modelValue":a[3]||(a[3]=t=>e.unref(n).data.remark=t),type:"textarea"},null,8,["modelValue"])])),_:1})])),_:1},8,["model","rules"])])])}}});exports._sfc_main=o;
1
+ "use strict";const e=require("vue"),t=require("./index-CPuFXfKc.js"),a=require("./index-BEIKwgsM.js"),{postAddDictInfo:r}=a.useDictController();const d=e.defineComponent({name:"dictDialog"}),o=e.defineComponent({...d,emits:["success"],setup(a,{expose:d,emit:o}){const l=e.ref(),{dict:n,onSubmit:i}=function(a,d){const o=e.reactive({data:{dict_code:"",dict_name:"",dict_type:"2",remark:""},rule:{dict_code:[{required:!0,message:"请输入字典代码",trigger:"blur"}],dict_name:[{required:!0,message:"请输入字典名称",trigger:"blur"}],dict_type:[{required:!0,message:"请输入字典类别",trigger:"blur"}]}});return{dict:o,onSubmit:async()=>d.value&&await d.value.validate()?r(o.data).then((e=>1!=e.code?(t.ElMessage.warning(e.msg),Promise.reject()):(t.ElMessage.success("保存成功"),Promise.resolve("success")))):Promise.reject()}}(0,l);return d({getData:()=>i}),(t,a)=>{const r=e.resolveComponent("hs-input"),d=e.resolveComponent("hs-form-item"),o=e.resolveComponent("el-radio"),i=e.resolveComponent("el-radio-group"),u=e.resolveComponent("hs-form");return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",null,[e.createVNode(u,{ref_key:"dictFormRef",ref:l,"label-width":"100px",model:e.unref(n).data,rules:e.unref(n).rule},{default:e.withCtx((()=>[e.createVNode(d,{label:"字典代码",prop:"dict_code"},{default:e.withCtx((()=>[e.createVNode(r,{modelValue:e.unref(n).data.dict_code,"onUpdate:modelValue":a[0]||(a[0]=t=>e.unref(n).data.dict_code=t)},null,8,["modelValue"])])),_:1}),e.createVNode(d,{label:"字典名称",prop:"dict_name"},{default:e.withCtx((()=>[e.createVNode(r,{modelValue:e.unref(n).data.dict_name,"onUpdate:modelValue":a[1]||(a[1]=t=>e.unref(n).data.dict_name=t)},null,8,["modelValue"])])),_:1}),e.createVNode(d,{label:"字典类别",prop:"dict_type"},{default:e.withCtx((()=>[e.createVNode(i,{modelValue:e.unref(n).data.dict_type,"onUpdate:modelValue":a[2]||(a[2]=t=>e.unref(n).data.dict_type=t)},{default:e.withCtx((()=>[e.createVNode(o,{name:"dict_type",label:"1",value:"1"},{default:e.withCtx((()=>a[4]||(a[4]=[e.createTextVNode("系统字典")]))),_:1}),e.createVNode(o,{name:"dict_type",label:"2",value:"2"},{default:e.withCtx((()=>a[5]||(a[5]=[e.createTextVNode("公司自定义")]))),_:1})])),_:1},8,["modelValue"])])),_:1}),e.createVNode(d,{label:"字典说明",prop:"remark"},{default:e.withCtx((()=>[e.createVNode(r,{modelValue:e.unref(n).data.remark,"onUpdate:modelValue":a[3]||(a[3]=t=>e.unref(n).data.remark=t),type:"textarea"},null,8,["modelValue"])])),_:1})])),_:1},8,["model","rules"])])])}}});exports._sfc_main=o;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./dictItemDialog.vue_vue_type_script_setup_true_lang-DreXQAA8.js");exports.default=e._sfc_main;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./dictItemDialog.vue_vue_type_script_setup_true_lang-a1z2QyP6.js");exports.default=e._sfc_main;
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "./dictItemDialog.vue_vue_type_script_setup_true_lang-v-YR8YYe.mjs";
1
+ import { _ as _sfc_main } from "./dictItemDialog.vue_vue_type_script_setup_true_lang-BjP-4tYG.mjs";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { reactive, defineComponent, ref, onMounted, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, unref, withCtx, Fragment, renderList, createBlock } from "vue";
2
- import { d as ElMessage, e as _ } from "./index-zg-Gunjv.mjs";
3
- import { u as useDictController } from "./index-BpATiWHC.mjs";
2
+ import { d as ElMessage, e as _ } from "./index-BA-iOt2y.mjs";
3
+ import { u as useDictController } from "./index-DEbwuklL.mjs";
4
4
  const { postAddDictChildInfoCheck, postAddDictChildInfo } = useDictController();
5
5
  function useDictItem(emits, props, dictItemFormRef) {
6
6
  const dict = reactive({
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),t=require("./index-DEBwqh2K.js"),d=require("./index-mNAJawAg.js"),{postAddDictChildInfoCheck:a,postAddDictChildInfo:l}=d.useDictController();const i=e.defineComponent({__name:"dictItemDialog",props:{dict:{type:Object,default:()=>({})},dictList:{type:Array,default:()=>[]},type:{type:String,default:""},dictItem:{type:Object,default:()=>({})}},emits:["success"],setup(d,{expose:i,emit:r}){const o=r,c=d,n=e.ref(),{dict:s,close:u,onSubmit:m}=function(d,i,r){const o=e.reactive({data:{dict_id:"",dict_child_code:"",dict_child_name:"",show_name:"",is_default:"0",is_effect:"0",remark:""},rule:{dict_id:[{required:!0,message:"请选择所属字典",trigger:"blur"}],dict_child_code:[{required:!0,message:"请输入字典项代码",trigger:"blur"}],dict_child_name:[{required:!0,message:"请输入字典项名称",trigger:"blur"}],show_name:[{required:!0,message:"请输入显示名称",trigger:"blur"}],sort:[{required:!0,message:"请输入排序",trigger:"blur"}]}});return{dict:o,close:()=>{d("success","close")},onSubmit:()=>new Promise(((e,d)=>{if(!r.value)return d();r.value.validate(((r,c)=>{if(r){if("add"==i.type)a(o.data).then((a=>1!=a.code?(t.ElMessage.warning(a.msg),d()):l(o.data).then((a=>{if(1!=a.code)return t.ElMessage.warning(a.msg),d();t.ElMessage.success("保存成功"),e("success")}))));else if("edit"==i.type)return l(o.data).then((a=>{if(1!=a.code)return t.ElMessage.warning(a.msg),d();t.ElMessage.success("编辑成功"),e("success")}))}else d()}))}))}}(o,c,n);return e.onMounted((()=>{var e;s.data.dict_id=null==(e=c.dict)?void 0:e.id,"edit"==c.type&&(s.data=t._.assign(s.data,{id:c.dictItem.id,dict_child_code:c.dictItem.dict_child_code,dict_child_name:c.dictItem.dict_child_name,show_name:c.dictItem.show_name,sort:c.dictItem.sort,is_default:c.dictItem.is_default,is_effect:c.dictItem.is_effect,remark:c.dictItem.remark}))})),i({getData:()=>m}),(t,d)=>{const a=e.resolveComponent("el-option"),l=e.resolveComponent("el-select"),i=e.resolveComponent("hs-form-item"),r=e.resolveComponent("hs-input"),o=e.resolveComponent("hs-input-number"),u=e.resolveComponent("hs-form");return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",null,[e.createVNode(u,{ref_key:"dictItemFormRef",ref:n,"label-width":"100px",model:e.unref(s).data,rules:e.unref(s).rule},{default:e.withCtx((()=>[e.createVNode(i,{label:"所属字典",prop:"dict_id"},{default:e.withCtx((()=>[e.createVNode(l,{disabled:"edit"==c.type,modelValue:e.unref(s).data.dict_id,"onUpdate:modelValue":d[0]||(d[0]=t=>e.unref(s).data.dict_id=t),placeholder:"请选择所属字典"},{default:e.withCtx((()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.dictList,((t,d)=>(e.openBlock(),e.createBlock(a,{key:t.id,label:t.dict_name,value:t.id},null,8,["label","value"])))),128))])),_:1},8,["disabled","modelValue"])])),_:1}),e.createVNode(i,{label:"字典项代码",prop:"dict_child_code"},{default:e.withCtx((()=>[e.createVNode(r,{disabled:"edit"==c.type,modelValue:e.unref(s).data.dict_child_code,"onUpdate:modelValue":d[1]||(d[1]=t=>e.unref(s).data.dict_child_code=t)},null,8,["disabled","modelValue"])])),_:1}),e.createVNode(i,{label:"字典项名称",prop:"dict_child_name"},{default:e.withCtx((()=>[e.createVNode(r,{modelValue:e.unref(s).data.dict_child_name,"onUpdate:modelValue":d[2]||(d[2]=t=>e.unref(s).data.dict_child_name=t)},null,8,["modelValue"])])),_:1}),e.createVNode(i,{label:"显示名称",prop:"show_name"},{default:e.withCtx((()=>[e.createVNode(r,{modelValue:e.unref(s).data.show_name,"onUpdate:modelValue":d[3]||(d[3]=t=>e.unref(s).data.show_name=t)},null,8,["modelValue"])])),_:1}),e.createVNode(i,{label:"排序",prop:"sort"},{default:e.withCtx((()=>[e.createVNode(o,{modelValue:e.unref(s).data.sort,"onUpdate:modelValue":d[4]||(d[4]=t=>e.unref(s).data.sort=t),controls:!1},null,8,["modelValue"])])),_:1}),e.createVNode(i,{label:"字典说明",prop:"remark"},{default:e.withCtx((()=>[e.createVNode(r,{modelValue:e.unref(s).data.remark,"onUpdate:modelValue":d[5]||(d[5]=t=>e.unref(s).data.remark=t),type:"textarea"},null,8,["modelValue"])])),_:1})])),_:1},8,["model","rules"])])])}}});exports._sfc_main=i;
1
+ "use strict";const e=require("vue"),t=require("./index-CPuFXfKc.js"),d=require("./index-BEIKwgsM.js"),{postAddDictChildInfoCheck:a,postAddDictChildInfo:l}=d.useDictController();const i=e.defineComponent({__name:"dictItemDialog",props:{dict:{type:Object,default:()=>({})},dictList:{type:Array,default:()=>[]},type:{type:String,default:""},dictItem:{type:Object,default:()=>({})}},emits:["success"],setup(d,{expose:i,emit:r}){const o=r,c=d,n=e.ref(),{dict:s,close:u,onSubmit:m}=function(d,i,r){const o=e.reactive({data:{dict_id:"",dict_child_code:"",dict_child_name:"",show_name:"",is_default:"0",is_effect:"0",remark:""},rule:{dict_id:[{required:!0,message:"请选择所属字典",trigger:"blur"}],dict_child_code:[{required:!0,message:"请输入字典项代码",trigger:"blur"}],dict_child_name:[{required:!0,message:"请输入字典项名称",trigger:"blur"}],show_name:[{required:!0,message:"请输入显示名称",trigger:"blur"}],sort:[{required:!0,message:"请输入排序",trigger:"blur"}]}});return{dict:o,close:()=>{d("success","close")},onSubmit:()=>new Promise(((e,d)=>{if(!r.value)return d();r.value.validate(((r,c)=>{if(r){if("add"==i.type)a(o.data).then((a=>1!=a.code?(t.ElMessage.warning(a.msg),d()):l(o.data).then((a=>{if(1!=a.code)return t.ElMessage.warning(a.msg),d();t.ElMessage.success("保存成功"),e("success")}))));else if("edit"==i.type)return l(o.data).then((a=>{if(1!=a.code)return t.ElMessage.warning(a.msg),d();t.ElMessage.success("编辑成功"),e("success")}))}else d()}))}))}}(o,c,n);return e.onMounted((()=>{var e;s.data.dict_id=null==(e=c.dict)?void 0:e.id,"edit"==c.type&&(s.data=t._.assign(s.data,{id:c.dictItem.id,dict_child_code:c.dictItem.dict_child_code,dict_child_name:c.dictItem.dict_child_name,show_name:c.dictItem.show_name,sort:c.dictItem.sort,is_default:c.dictItem.is_default,is_effect:c.dictItem.is_effect,remark:c.dictItem.remark}))})),i({getData:()=>m}),(t,d)=>{const a=e.resolveComponent("el-option"),l=e.resolveComponent("el-select"),i=e.resolveComponent("hs-form-item"),r=e.resolveComponent("hs-input"),o=e.resolveComponent("hs-input-number"),u=e.resolveComponent("hs-form");return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",null,[e.createVNode(u,{ref_key:"dictItemFormRef",ref:n,"label-width":"100px",model:e.unref(s).data,rules:e.unref(s).rule},{default:e.withCtx((()=>[e.createVNode(i,{label:"所属字典",prop:"dict_id"},{default:e.withCtx((()=>[e.createVNode(l,{disabled:"edit"==c.type,modelValue:e.unref(s).data.dict_id,"onUpdate:modelValue":d[0]||(d[0]=t=>e.unref(s).data.dict_id=t),placeholder:"请选择所属字典"},{default:e.withCtx((()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.dictList,((t,d)=>(e.openBlock(),e.createBlock(a,{key:t.id,label:t.dict_name,value:t.id},null,8,["label","value"])))),128))])),_:1},8,["disabled","modelValue"])])),_:1}),e.createVNode(i,{label:"字典项代码",prop:"dict_child_code"},{default:e.withCtx((()=>[e.createVNode(r,{disabled:"edit"==c.type,modelValue:e.unref(s).data.dict_child_code,"onUpdate:modelValue":d[1]||(d[1]=t=>e.unref(s).data.dict_child_code=t)},null,8,["disabled","modelValue"])])),_:1}),e.createVNode(i,{label:"字典项名称",prop:"dict_child_name"},{default:e.withCtx((()=>[e.createVNode(r,{modelValue:e.unref(s).data.dict_child_name,"onUpdate:modelValue":d[2]||(d[2]=t=>e.unref(s).data.dict_child_name=t)},null,8,["modelValue"])])),_:1}),e.createVNode(i,{label:"显示名称",prop:"show_name"},{default:e.withCtx((()=>[e.createVNode(r,{modelValue:e.unref(s).data.show_name,"onUpdate:modelValue":d[3]||(d[3]=t=>e.unref(s).data.show_name=t)},null,8,["modelValue"])])),_:1}),e.createVNode(i,{label:"排序",prop:"sort"},{default:e.withCtx((()=>[e.createVNode(o,{modelValue:e.unref(s).data.sort,"onUpdate:modelValue":d[4]||(d[4]=t=>e.unref(s).data.sort=t),controls:!1},null,8,["modelValue"])])),_:1}),e.createVNode(i,{label:"字典说明",prop:"remark"},{default:e.withCtx((()=>[e.createVNode(r,{modelValue:e.unref(s).data.remark,"onUpdate:modelValue":d[5]||(d[5]=t=>e.unref(s).data.remark=t),type:"textarea"},null,8,["modelValue"])])),_:1})])),_:1},8,["model","rules"])])])}}});exports._sfc_main=i;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./hsFormPanel-Bw6W09gu.js"),a=require("./saveForm-BjO8sqO6.js"),o=require("./hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DQ4K5M_z.js"),n=require("./index-CPuFXfKc.js"),r=require("./useSaveForm-CR1cD6QP.js");function l(e,t,a,o){const l=n.useFieldConfigController(),s=(e,t)=>{switch(e){case"form":return t.map((e=>({label:e.data.elementItem[0].baseData.label,config:f(e.data.elementItem),layoutData:e.data.layoutData})));case"component":case"slot":return t}};function i(e){const t={};return e.forEach((e=>{const a=e.base.fieldID,o={};if("form"!=e.formItemType)return t[a]={};e.form.formConfig.forEach((e=>{var t,a;const n=e.data.elementItem[0].baseData.prop;o[n]="hs-upload"==e.data.elementItem[0].baseData.el?(null==(t=e.data.elementItem[0].elData.attrs)?void 0:t.enableString)?"":[]:(null==(a=e.data.elementItem[0].elData.attrs)?void 0:a.defaultValue)||""})),t[a]=o})),t}function f(e){return function e(t){var a;(null==(a=t.editRender)?void 0:a.enabled)?delete t.cellRender:t.editRender&&delete t.editRender;for(let o in t)n._.isString(t[o])&&""===t[o].trim()&&delete t[o],n._.isObject(t[o])&&!n._.isEmpty(t[o])&&e(t[o])}(e),e}const m=async e=>{1===(await l.postSaveField4Form(e)).code&&(n.ElMessage.success("保存成功"),c(),o("refresh"))},d=e=>{let t=[],a=1;return e.forEach((e=>{"form"===e.formItemType&&e.form.formConfig.forEach((e=>{var o,n;if(1==e.data.elementItem[0].baseData.isApply){let r={fieldName:e.data.elementItem[0].baseData.label,showName:e.data.elementItem[0].baseData.label,fieldProp:e.data.elementItem[0].baseData.prop,fieldShow:e.data.elementItem[0].baseData.isShow,fieldRequired:null==(n=null==(o=e.data.elementItem[0].elData)?void 0:o.rules)?void 0:n.required,sort:a++};t.push(r)}}))})),t},u=e=>e.map(((e,t)=>({fieldName:e.data.name,showName:e.data.name,fieldProp:e.data.key,fieldShow:e.data.isShow,fieldRequired:!1,sort:t+1})));function c(){t.value=e.value.forms.length>0?e.value.forms[0].id:""}return{handleTabsEdit:(a,o)=>{switch(o){case"remove":(a=>{let o=n._.find(e.value.forms,(e=>e.id==a));n.ElMessageBox.confirm(`确定删除${(null==o?void 0:o.base.formName)||"表单配置"}吗?`,"提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then((()=>{n._.remove(e.value.forms,(e=>a&&e.id==a)),n.ElMessage.success("删除成功"),t.value==a&&c()})).catch((e=>{}))})(a);break;case"add":e.value.forms.push({id:"form_"+(new Date).getTime(),base:{label:"表单配置名称",fieldID:"form",grid:3,isShowLabel:!0},form:{baseData:{rowGap:20,columnGap:0},formConfig:[],formData:{}},component:{baseData:{}},slot:{baseData:{}},formItemType:"form"})}},saveFormTableConfig:t=>{let o=n._.cloneDeep(e.value);o.config_name=t.config_name,o.config_unique_id=t.config_unique_id,o.isClosedKeyStroke=t.isClosedKeyStroke;let r={config_name:t.config_name,config_unique_id:t.config_unique_id,isClosedKeyStroke:t.isClosedKeyStroke,attrs:f(o.BaseForm),data:i(o.forms),btns:o.btns,form:o.forms.map((e=>{let t={...e.base,formItemType:e.formItemType,config:"form"==e.formItemType?s(e.formItemType,e.form.formConfig):"component"==e.formItemType?s(e.formItemType,e.component.baseData):s(e.formItemType,e.slot.baseData)};return"form"==e.formItemType&&(t.attrs=f(e.form.baseData)),t}))},l={business_json:JSON.stringify(r),config_name:t.config_name,config_type:"2",config_unique_id:t.config_unique_id,isClosedKeyStroke:t.isClosedKeyStroke,is_auth:t.is_auth,field_json:JSON.stringify(o),menu_id:a.currentPageData.id,page_name:a.currentPageData.label,project_code:a.sysData.project_code,id:t.id,update_time:t.update_time,config_json:JSON.stringify({menu_id:a.currentPageData.id,config_type:"2",config_unique_id:t.config_unique_id,btns:u(o.btns),form:d(e.value.forms)})};m(l)},changeConfig:t=>{if(t.config_unique_id){const e=JSON.parse(window.localStorage.getItem("_CURRENT_MENT_FORM_INFO")||"{}");l.postgGtConfigRelate({config_unique_id:t.config_unique_id,menu_id:e.id,project_code:e.project_code}).then((e=>{r.linkUniqueInfo.value=n._.get(e,"data",{})}))}e.value=t,c()},mergeConfig:function(t){e.value.btns=function(t){if(n._.isEmpty(t))return e.value.btns;if(n._.isEmpty(e.value.btns))return t.map((e=>(e.id=n.v4(),n._.set(e,"data.isLink",!0),e)));const a=e.value.btns||[],o=a.map((e=>e.data.key)),r=t.map((e=>(n._.set(e,"data.isLink",!0),e)));for(let e in r){const t=r[e].data.key,l=o.findIndex((e=>e===t));if(l>-1){const t=n._.get(a,`${l}.id`),o=n._.get(r,e);n._.set(o,"data.field_id",n._.get(a,`${l}.data.field_id`)),n._.set(a,`${l}`,{...o,id:t})}else{const t=n._.get(r,e);n._.set(t,"data.field_id",n.v4()),a.push({...t,id:n.v4()})}}return a}(t.btns),e.value.forms=function(t){var a,o;if(n._.isEmpty(t))return e.value.forms;if(n._.isEmpty(e.value.forms))return t.map((e=>{var t,a;return e.id="form_"+n.v4(),e.form.formConfig=(null==(a=null==(t=e.form)?void 0:t.formConfig)?void 0:a.map((e=>(e.id=n.v4(),n._.set(e,"data.elementItem.0.baseData.isLink",!0),e))))||[],e}));const r=e.value.forms||[];for(let e in t)if(n._.isEmpty(n._.get(r,e))){const l=t[e];l.id="form_"+n.v4(),l.form.formConfig=(null==(o=null==(a=l.form)?void 0:a.formConfig)?void 0:o.map((e=>(e.id=n.v4(),n._.set(e,"data.elementItem.0.baseData.isLink",!0),e))))||[],n._.set(r,e,l)}else{const a=n._.get(r,`${e}.form.formConfig`,[]).map((e=>n._.get(e,"data.elementItem.0.baseData.prop"))),o=n._.get(t,`${e}.form.formConfig`,[]).map((e=>(n._.set(e,"data.elementItem.0.baseData.isLink",!0),e)));n._.set(r,`${e}.base`,n._.get(t,`${e}.base`)),n._.set(r,`${e}.component`,n._.get(t,`${e}.component`)),n._.set(r,`${e}.slot`,n._.get(t,`${e}.slot`)),n._.set(r,`${e}.id`,"form_"+n.v4());for(let t in o){const l=n._.get(o,`${t}.data.elementItem.0.baseData.prop`),s=a.findIndex((e=>e===l));if(s>-1){const a=n._.get(r,`${e}.form.formConfig.${s}.id`);n._.set(r,`${e}.form.formConfig.${s}`,{...n._.get(o,t),id:a})}else n._.get(r,`${e}.form.formConfig`).push({...n._.get(o,t),id:n.v4()})}}return r}(t.forms),c()},deleteConfig:t=>{n.ElMessageBox.prompt(`确认删除【${e.value.config_name}】吗?`,"提示",{confirmButtonText:"确认",cancelButtonText:"取消",inputPattern:/^确认删除/,inputErrorMessage:"请输入“确认删除”",inputPlaceholder:"请输入“确认删除”"}).then((()=>{l.postDelFieldById({id:t}).then((e=>{1==e.code&&(n.ElMessage.success("删除成功"),setTimeout((()=>{o("refresh")}),1500))}))})).catch((()=>{n.ElMessage.info("已取消删除")}))}}}const s={class:"flex flex-col h-full"},i={key:0,class:"flex-1 system-user-container",style:{height:"300px"}},f={key:1,class:"flex flex-col pl-[10px]"},m=e.defineComponent({name:"test"}),d=e.defineComponent({...m,props:{currentPageData:{type:Object,default:()=>({})},sysData:{type:Object,default:()=>({})}},emits:["refresh"],setup(r,{expose:m,emit:d}){let u=r;const c=e.ref();let p=e.ref({config_unique_id:"",config_name:"",BaseForm:{labelWidth:"100",labelPosition:"right",size:"default",labelSuffix:"",requireAsteriskPosition:"left",statusIcon:!1,validateOnRuleChange:!0,scrollToError:!1,method:"post",action_name:"",proxy:"",disabled:!1},btns:[],forms:[{id:"form_1",base:{label:"表单配置名称",fieldID:"form",grid:3,isShowLabel:!0},form:{baseData:{rowGap:15,columnGap:0},formConfig:[],formData:[]},component:{baseData:{}},slot:{baseData:{}},formItemType:"form"}]}),_=e.ref("form_1"),g=e.ref([]),b=e.ref();const v=e.ref(!0);e.ref({});const h=e=>{"formConfigurationCode"===e.type&&(_.value=e.data.id)},y=d,{handleTabsEdit:C,saveFormTableConfig:D,changeConfig:k,mergeConfig:I,deleteConfig:B}=l(p,_,u,y);return m({initData:(e,t)=>{g.value=e,_.value=e[0]&&e[0].field_json&&JSON.parse(e[0].field_json).forms.length>0?JSON.parse(e[0].field_json).forms[0].id:"form_1",t&&(p.value=JSON.parse(JSON.stringify(t)))},saveFormRef:b}),(r,l)=>{const m=e.resolveComponent("hs-tab-pane"),d=e.resolveComponent("hs-tabs"),u=e.resolveComponent("hs-button");return e.openBlock(),e.createElementBlock("div",s,[v.value?(e.openBlock(),e.createElementBlock("div",i,[e.createVNode(d,{ref:"tabsRef",modelValue:e.unref(_),"onUpdate:modelValue":l[2]||(l[2]=t=>e.isRef(_)?_.value=t:_=t),class:"h-full tabs",type:"border-card",addable:"",onEdit:e.unref(C)},{default:e.withCtx((()=>[e.createVNode(m,{class:"tab-pane",label:"按钮配置",name:"btn"},{default:e.withCtx((()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o._sfc_main),{modelValue:e.unref(p).btns,"onUpdate:modelValue":l[0]||(l[0]=t=>e.unref(p).btns=t)},null,8,["modelValue"]))])),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(p).forms,((a,o)=>{var n;return e.openBlock(),e.createBlock(m,{class:"tab-pane",key:o,closable:e.unref(p).forms.length>1,label:(null==(n=a.base)?void 0:n.label)||"表单配置名称",name:a.id},{default:e.withCtx((()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.default),{modelValue:e.unref(p).forms[o],"onUpdate:modelValue":t=>e.unref(p).forms[o]=t,BaseForm:e.unref(p).BaseForm,"onUpdate:BaseForm":l[1]||(l[1]=t=>e.unref(p).BaseForm=t),panelConfig:e.unref(p),onUpdate:h},null,40,["modelValue","onUpdate:modelValue","BaseForm","panelConfig"]))])),_:2},1032,["closable","label","name"])})),128))])),_:1},8,["modelValue","onEdit"])])):e.createCommentVNode("",!0),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.default),{configs:e.unref(g),ref_key:"saveFormRef",ref:b,onChange:e.unref(k),onMerge:e.unref(I),onSave:e.unref(D),onDelete:e.unref(B)},null,40,["configs","onChange","onMerge","onSave","onDelete"])),e.unref(n.isDev)?(e.openBlock(),e.createElementBlock("div",f,[e.createElementVNode("div",null,[l[4]||(l[4]=e.createElementVNode("div",null,"调整顺序",-1)),e.createVNode(e.unref(n.to),{ref_key:"dragRef",ref:c,class:"flex flex-wrap",handle:".drag-item-form",ghostClass:"ghost",modelValue:e.unref(p).forms,"onUpdate:modelValue":l[3]||(l[3]=t=>e.unref(p).forms=t),animation:150},{default:e.withCtx((()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(p).forms,((t,a)=>(e.openBlock(),e.createBlock(u,{size:"small",class:"drag-item-form",round:""},{default:e.withCtx((()=>{var a;return[e.createTextVNode(e.toDisplayString((null==(a=t.base)?void 0:a.label)||"表单配置名称"),1)]})),_:2},1024)))),256))])),_:1},8,["modelValue"])])])):e.createCommentVNode("",!0)])}}}),u=n._export_sfc(d,[["__scopeId","data-v-e5f583fd"]]);exports.default=u;
Binary file
@@ -1,9 +1,9 @@
1
- import { defineComponent, ref, resolveComponent, openBlock, createElementBlock, createVNode, unref, isRef, withCtx, createBlock, resolveDynamicComponent, Fragment, renderList, createCommentVNode } from "vue";
2
- import hsFormPanel from "./hsFormPanel-dJubM9a8.mjs";
3
- import saveForm from "./saveForm-zDEGdzE-.mjs";
4
- import { _ as _sfc_main$1 } from "./hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-Bvnn7K2b.mjs";
5
- import { e as _, r as v4, d as ElMessage, E as ElMessageBox, h as useFieldConfigController, _ as _export_sfc } from "./index-zg-Gunjv.mjs";
6
- import { l as linkUniqueInfo } from "./useSaveForm-CItO1Bk-.mjs";
1
+ import { defineComponent, ref, resolveComponent, openBlock, createElementBlock, createVNode, unref, isRef, withCtx, createBlock, resolveDynamicComponent, Fragment, renderList, createCommentVNode, createElementVNode, createTextVNode, toDisplayString } from "vue";
2
+ import hsFormPanel from "./hsFormPanel-B2T1maXV.mjs";
3
+ import saveForm from "./saveForm-BMVk4-tO.mjs";
4
+ import { _ as _sfc_main$1 } from "./hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BN2MNnND.mjs";
5
+ import { e as _, r as v4, d as ElMessage, E as ElMessageBox, h as useFieldConfigController, w as isDev, x as to, _ as _export_sfc } from "./index-BA-iOt2y.mjs";
6
+ import { l as linkUniqueInfo } from "./useSaveForm-YfNGmQDh.mjs";
7
7
  function useHsFormTable(panelConfig, tabsActiveName, props, emits) {
8
8
  const fieldConfig = useFieldConfigController();
9
9
  const addTabPanel = () => {
@@ -355,6 +355,10 @@ const _hoisted_2 = {
355
355
  class: "flex-1 system-user-container",
356
356
  style: { "height": "300px" }
357
357
  };
358
+ const _hoisted_3 = {
359
+ key: 1,
360
+ class: "flex flex-col pl-[10px]"
361
+ };
358
362
  const __default__ = defineComponent({
359
363
  name: "test"
360
364
  });
@@ -373,6 +377,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
373
377
  emits: ["refresh"],
374
378
  setup(__props, { expose: __expose, emit: __emit }) {
375
379
  let props = __props;
380
+ const dragRef = ref();
376
381
  let panelConfig = ref({
377
382
  config_unique_id: "",
378
383
  // 配置唯一标识
@@ -447,6 +452,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
447
452
  return (_ctx, _cache) => {
448
453
  const _component_hs_tab_pane = resolveComponent("hs-tab-pane");
449
454
  const _component_hs_tabs = resolveComponent("hs-tabs");
455
+ const _component_hs_button = resolveComponent("hs-button");
450
456
  return openBlock(), createElementBlock("div", _hoisted_1, [
451
457
  isShow.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
452
458
  createVNode(_component_hs_tabs, {
@@ -506,12 +512,46 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
506
512
  onMerge: unref(mergeConfig),
507
513
  onSave: unref(saveFormTableConfig),
508
514
  onDelete: unref(deleteConfig)
509
- }, null, 40, ["configs", "onChange", "onMerge", "onSave", "onDelete"]))
515
+ }, null, 40, ["configs", "onChange", "onMerge", "onSave", "onDelete"])),
516
+ unref(isDev) ? (openBlock(), createElementBlock("div", _hoisted_3, [
517
+ createElementVNode("div", null, [
518
+ _cache[4] || (_cache[4] = createElementVNode("div", null, "调整顺序", -1)),
519
+ createVNode(unref(to), {
520
+ ref_key: "dragRef",
521
+ ref: dragRef,
522
+ class: "flex flex-wrap",
523
+ handle: ".drag-item-form",
524
+ ghostClass: "ghost",
525
+ modelValue: unref(panelConfig)["forms"],
526
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(panelConfig)["forms"] = $event),
527
+ animation: 150
528
+ }, {
529
+ default: withCtx(() => [
530
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(panelConfig)["forms"], (item, index) => {
531
+ return openBlock(), createBlock(_component_hs_button, {
532
+ size: "small",
533
+ class: "drag-item-form",
534
+ round: ""
535
+ }, {
536
+ default: withCtx(() => {
537
+ var _a;
538
+ return [
539
+ createTextVNode(toDisplayString(((_a = item.base) == null ? void 0 : _a.label) || "表单配置名称"), 1)
540
+ ];
541
+ }),
542
+ _: 2
543
+ }, 1024);
544
+ }), 256))
545
+ ]),
546
+ _: 1
547
+ }, 8, ["modelValue"])
548
+ ])
549
+ ])) : createCommentVNode("", true)
510
550
  ]);
511
551
  };
512
552
  }
513
553
  });
514
- const hsFormConfig = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b8b40b67"]]);
554
+ const hsFormConfig = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e5f583fd"]]);
515
555
  export {
516
556
  hsFormConfig as default
517
557
  };
Binary file
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-DEBwqh2K.js"),o=e.defineComponent({name:"layoutHeader"}),r=e.defineComponent({...o,setup(o){const r=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./index-CIhr7JZI.js"))))),n=t.useTagsViewRoutes(),{isTagsViewCurrenFull:s}=t.storeToRefs(n);return(t,o)=>{const n=e.resolveComponent("el-header");return e.withDirectives((e.openBlock(),e.createBlock(n,{class:"layout-header"},{default:e.withCtx((()=>[e.createVNode(e.unref(r))])),_:1},512)),[[e.vShow,!e.unref(s)]])}}});exports.default=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-CPuFXfKc.js"),o=e.defineComponent({name:"layoutHeader"}),r=e.defineComponent({...o,setup(o){const r=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./index-CxyW9UjG.js"))))),n=t.useTagsViewRoutes(),{isTagsViewCurrenFull:s}=t.storeToRefs(n);return(t,o)=>{const n=e.resolveComponent("el-header");return e.withDirectives((e.openBlock(),e.createBlock(n,{class:"layout-header"},{default:e.withCtx((()=>[e.createVNode(e.unref(r))])),_:1},512)),[[e.vShow,!e.unref(s)]])}}});exports.default=r;