ss-component-new 1.1.365 → 1.1.366
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{array-BR1CuqH1.cjs → array-B4OYH6uL.cjs} +1 -1
- package/dist/{array-BMOcJLlQ.js → array-EGWOD_Yi.js} +2 -2
- package/dist/{cloneDeep-i93zuvZy.cjs → cloneDeep-BPCav0OY.cjs} +1 -1
- package/dist/{cloneDeep-BIVk1Avp.js → cloneDeep-D3jWUY57.js} +1 -1
- package/dist/{index-CosRm822.cjs → index-1LyKu48J.cjs} +1 -1
- package/dist/{index-B6cdf15e.js → index-1mb-R5LL.js} +8 -8
- package/dist/{index-D-UqqKSL.cjs → index-9Kq2L6hA.cjs} +1 -1
- package/dist/{index-BkVzKWBf.cjs → index-B1KIGMDS.cjs} +1 -1
- package/dist/{index-HbUM4Vgp.js → index-B6D0Zmro.js} +4 -4
- package/dist/{index-B5sWzFXy.js → index-B7rnt0a7.js} +3 -3
- package/dist/{index-D-6gB2O2.cjs → index-B8PQq8Z4.cjs} +1 -1
- package/dist/{index-D46GYCSK.cjs → index-BBvGttI3.cjs} +1 -1
- package/dist/{index-B5LL1Rbm.cjs → index-BK34ZIUl.cjs} +1 -1
- package/dist/{index-DVSMYX5e.js → index-BPLD6fuH.js} +8 -8
- package/dist/{index-CXr-J9N3.js → index-BQQE4RO9.js} +4 -4
- package/dist/{index-DVe1W-nQ.js → index-BSd6lCCf.js} +3 -3
- package/dist/{index-7ctK7qh8.js → index-BWoxDyyu.js} +1 -1
- package/dist/{index-DDyeBnmq.cjs → index-BXO1mk6t.cjs} +1 -1
- package/dist/{index-C8VFIq2w.js → index-Bo8sDOPU.js} +4 -4
- package/dist/{index-Bw-50_9N.cjs → index-BovJtyyV.cjs} +1 -1
- package/dist/{index-DpvXSrAU.js → index-Bxt_jC-e.js} +3 -3
- package/dist/{index-By9h_JX7.cjs → index-C67VR66n.cjs} +1 -1
- package/dist/{index-BR4RIzFI.cjs → index-CAfIBffc.cjs} +1 -1
- package/dist/{index-BuFwRc5V.cjs → index-CEVLI-tF.cjs} +1 -1
- package/dist/{index-BVt5BXIs.js → index-CMza6E0Y.js} +6 -6
- package/dist/{index-D_mKafea.cjs → index-CN73stto.cjs} +1 -1
- package/dist/{index-DvJSn5c_.js → index-CTASWvkf.js} +9 -9
- package/dist/{index-CXroj-hH.js → index-C_zK0qeZ.js} +3 -3
- package/dist/{index-D2WirvcT.js → index-Cal7dRFc.js} +1 -1
- package/dist/{index-CGav2orm.cjs → index-Cd0GOTJL.cjs} +1 -1
- package/dist/{index-Liysmasz.cjs → index-CdrtM6Jl.cjs} +1 -1
- package/dist/{index-Bxdkas6q.cjs → index-Cj9Wq_7v.cjs} +1 -1
- package/dist/{index-DCi5rJxX.js → index-CkgqQw5c.js} +4 -4
- package/dist/{index-Cf4LaEvb.js → index-Cks4xBFc.js} +7 -7
- package/dist/{index-D1xMSVGc.cjs → index-Cnigg-Vb.cjs} +1 -1
- package/dist/{index-7eQ2JKtq.cjs → index-CylVtJFa.cjs} +1 -1
- package/dist/{index-DeIxnrMK.js → index-D0Xtu3c5.js} +4 -4
- package/dist/{index-BNSImW55.js → index-DPoMcIHZ.js} +7 -7
- package/dist/{index-CFr2asVq.js → index-DQXp-tQk.js} +1 -1
- package/dist/{index-e6bojFY6.js → index-DQewAWSX.js} +5 -5
- package/dist/{index-DQS588Nv.js → index-DXu2C7E2.js} +1 -1
- package/dist/{index-d_t0t8ds.cjs → index-D_80-VnL.cjs} +1 -1
- package/dist/{index-CLaegHPh.js → index-DgdlwjkF.js} +5 -5
- package/dist/{index-DfEwhscQ.cjs → index-Dj7KpYhE.cjs} +1 -1
- package/dist/{index-DgZJe2BL.js → index-DjI83upr.js} +6 -6
- package/dist/index-Dp7ftR-s.cjs +1 -0
- package/dist/{index-C-zpQcU-.js → index-Dq0BnanX.js} +6 -6
- package/dist/{index-Do2_N1IZ.js → index-DsSqH7Ku.js} +5 -5
- package/dist/{index-DGrvsPOn.js → index-DxeIJqcl.js} +1 -1
- package/dist/{index-CIXaYro4.js → index-Dy0Bjmrr.js} +887 -886
- package/dist/{index-ZErXROGI.cjs → index-EgiRVqNe.cjs} +1 -1
- package/dist/{index-Drg-hTZ2.cjs → index-FipljzbJ.cjs} +1 -1
- package/dist/{index-DkG-ziRw.cjs → index-FnUvbwkl.cjs} +1 -1
- package/dist/{index-DgM9f4pH.js → index-KKYTpn-0.js} +4 -4
- package/dist/{index-CHqoZp_W.cjs → index-Xd0gl2O5.cjs} +1 -1
- package/dist/{index-DLy3AyLn.cjs → index-h3vgrWAC.cjs} +1 -1
- package/dist/{index-DeAeTFEl.cjs → index-qWPIXtmB.cjs} +1 -1
- package/dist/{index-5H8g05lu.cjs → index-r4-byc3l.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-DS1GFsZZ.js → index.vue_vue_type_script_setup_true_lang-CE6ciJHv.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CurEafxj.cjs → index.vue_vue_type_script_setup_true_lang-CEx7p4se.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_14b5611b_lang-CXxX24vv.js → index.vue_vue_type_style_index_0_scoped_23015cb0_lang-BfO2BZm9.js} +13 -13
- package/dist/{index.vue_vue_type_style_index_0_scoped_14b5611b_lang-D0J4hoHm.cjs → index.vue_vue_type_style_index_0_scoped_23015cb0_lang-_1kiYpwh.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_3a02a8a3_lang-QAtWUHCn.cjs → index.vue_vue_type_style_index_0_scoped_3a02a8a3_lang-BX_0yNEO.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_3a02a8a3_lang-B5SaBlFy.js → index.vue_vue_type_style_index_0_scoped_3a02a8a3_lang-CpZkvXyX.js} +8 -8
- package/dist/{login-Y1fP6Ekv.js → login-DKf6sQrA.js} +2 -2
- package/dist/{login-CHBoEXBJ.cjs → login-cDG_pssN.cjs} +1 -1
- package/dist/{main-C84t8-AX.cjs → main-BY1dJ_uK.cjs} +1 -1
- package/dist/{main-BMNN7nF3.js → main-DnQRFkkz.js} +7 -7
- package/dist/{menu-CVbEPCMJ.cjs → menu-Bi2msF1Z.cjs} +1 -1
- package/dist/{menu-CvfQY_jP.js → menu-eau-OVSc.js} +1 -1
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +7 -7
- package/dist/ss-component3.cjs +1 -1
- package/dist/ss-component3.js +1 -1
- package/package.json +1 -1
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/index-C6kn9X1y.cjs +0 -1
|
@@ -6017,12 +6017,12 @@ const I9 = N4(P, "$notify"), D9 = [
|
|
|
6017
6017
|
{
|
|
6018
6018
|
path: "/login",
|
|
6019
6019
|
name: "Login",
|
|
6020
|
-
component: async () => import("./index-
|
|
6020
|
+
component: async () => import("./index-DgdlwjkF.js")
|
|
6021
6021
|
},
|
|
6022
6022
|
{
|
|
6023
6023
|
path: "/",
|
|
6024
6024
|
name: "Model",
|
|
6025
|
-
component: async () => import("./index-
|
|
6025
|
+
component: async () => import("./index-Dy0Bjmrr.js"),
|
|
6026
6026
|
// component: async ()=>import('@/components/views/model/component/main.vue'),
|
|
6027
6027
|
// component: async ()=>import('@/components/views/canvas/index.vue'),
|
|
6028
6028
|
// component: async ()=>import('@/components/views/test/index.vue'),
|
|
@@ -6030,37 +6030,37 @@ const I9 = N4(P, "$notify"), D9 = [
|
|
|
6030
6030
|
{
|
|
6031
6031
|
path: "平台管理/菜单管理",
|
|
6032
6032
|
name: "Menu",
|
|
6033
|
-
component: async () => import("./index-
|
|
6033
|
+
component: async () => import("./index-DPoMcIHZ.js")
|
|
6034
6034
|
},
|
|
6035
6035
|
{
|
|
6036
6036
|
path: "平台管理/主菜单管理",
|
|
6037
6037
|
name: "MainMenu",
|
|
6038
|
-
component: async () => import("./index-
|
|
6038
|
+
component: async () => import("./index-D0Xtu3c5.js")
|
|
6039
6039
|
},
|
|
6040
6040
|
{
|
|
6041
6041
|
path: "系统管理/个人中心",
|
|
6042
6042
|
name: "PersonalCenter",
|
|
6043
|
-
component: async () => import("./index-
|
|
6043
|
+
component: async () => import("./index-DQewAWSX.js")
|
|
6044
6044
|
},
|
|
6045
6045
|
{
|
|
6046
6046
|
path: "系统管理/职位管理",
|
|
6047
6047
|
name: "Post",
|
|
6048
|
-
component: async () => import("./index-
|
|
6048
|
+
component: async () => import("./index-BQQE4RO9.js")
|
|
6049
6049
|
},
|
|
6050
6050
|
{
|
|
6051
6051
|
path: "系统管理/用户管理",
|
|
6052
6052
|
name: "User",
|
|
6053
|
-
component: async () => import("./index-
|
|
6053
|
+
component: async () => import("./index-DjI83upr.js")
|
|
6054
6054
|
},
|
|
6055
6055
|
{
|
|
6056
6056
|
path: "系统管理/角色管理",
|
|
6057
6057
|
name: "Role",
|
|
6058
|
-
component: async () => import("./index-
|
|
6058
|
+
component: async () => import("./index-DsSqH7Ku.js")
|
|
6059
6059
|
},
|
|
6060
6060
|
{
|
|
6061
6061
|
path: "系统管理/部门管理",
|
|
6062
6062
|
name: "Dept",
|
|
6063
|
-
component: async () => import("./index-
|
|
6063
|
+
component: async () => import("./index-KKYTpn-0.js")
|
|
6064
6064
|
},
|
|
6065
6065
|
{
|
|
6066
6066
|
path: "priority",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { computed as b, getCurrentInstance as qe, inject as ve, unref as u, ref as A, onMounted as ie, watch as W, toRef as Ke, onUnmounted as Vn, shallowRef as Ve, nextTick as V, defineComponent as Z, useAttrs as _n, useSlots as un, createElementBlock as F, openBlock as E, normalizeStyle as Ye, normalizeClass as w, createCommentVNode as k, Fragment as _e, createElementVNode as P, renderSlot as Y, createBlock as M, withCtx as L, resolveDynamicComponent as K, mergeProps as ut, withModifiers as ke, createVNode as oe, toDisplayString as J, onBeforeUnmount as xe, provide as cn, Text as Dn, reactive as dn, h as Un, watchEffect as Kn, isRef as Yn, onScopeDispose as Wn, markRaw as ct, toRefs as Gn, resolveComponent as Ce, Transition as qn, withDirectives as tt, withKeys as Re, createTextVNode as nt, vShow as ot, isVNode as fn, render as vn } from "vue";
|
|
2
|
-
import { S as Ft, i as pn, c as bt, t as hn, d as Pt, f as Xn, g as se, h as Ht, j as Xe, k as de, m as ye, n as We, o as gn, p as fe, q as jn, v as Jn, w as Zn, x as Qn, y as Te, z as Ie, A as Me, _ as Be, B as pe, V as eo, C as to, D as no, F as oo, G as ae, N as De, H as ao, I as Ge, J as mn, K as yt, L as ro, M as dt, O as so, P as $t, Q as io, R as zt, T as lo, U as uo, W as co, X as fo, Y as vo, Z as po, $ as Vt, a0 as _t, a1 as ho } from "./index-
|
|
2
|
+
import { S as Ft, i as pn, c as bt, t as hn, d as Pt, f as Xn, g as se, h as Ht, j as Xe, k as de, m as ye, n as We, o as gn, p as fe, q as jn, v as Jn, w as Zn, x as Qn, y as Te, z as Ie, A as Me, _ as Be, B as pe, V as eo, C as to, D as no, F as oo, G as ae, N as De, H as ao, I as Ge, J as mn, K as yt, L as ro, M as dt, O as so, P as $t, Q as io, R as zt, T as lo, U as uo, W as co, X as fo, Y as vo, Z as po, $ as Vt, a0 as _t, a1 as ho } from "./index-CTASWvkf.js";
|
|
3
3
|
import { m as go } from "./typescript-BpuhIBuJ.js";
|
|
4
|
-
import { d as Dt, i as bn, a as mo, b as bo, e as yn, f as yo } from "./cloneDeep-
|
|
5
|
-
import { i as En } from "./index.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { d as Dt, i as bn, a as mo, b as bo, e as yn, f as yo } from "./cloneDeep-D3jWUY57.js";
|
|
5
|
+
import { i as En } from "./index.vue_vue_type_script_setup_true_lang-CE6ciJHv.js";
|
|
6
6
|
function Eo(e) {
|
|
7
7
|
return e;
|
|
8
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ } from "./index.vue_vue_type_style_index_0_scoped_3a02a8a3_lang-
|
|
1
|
+
import { _ } from "./index.vue_vue_type_style_index_0_scoped_3a02a8a3_lang-CpZkvXyX.js";
|
|
2
2
|
import { resolveComponent as i, createElementBlock as s, openBlock as t, Fragment as l, createVNode as a, withCtx as u, createElementVNode as r, toDisplayString as c, renderList as g, createBlock as f, resolveDynamicComponent as h } from "vue";
|
|
3
3
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const D = ["title"], v = { class: "menu-operate-icon" }, y = { class: "module-dialog-content" };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue");require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue");require("./index-Cj9Wq_7v.cjs");require("./index-BovJtyyV.cjs");require("./array-B4OYH6uL.cjs");const l=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");require("./index.vue_vue_type_style_index_0_scoped_3a02a8a3_lang-BX_0yNEO.cjs");require("./index.vue_vue_type_style_index_0_scoped_23015cb0_lang-_1kiYpwh.cjs");require("./login-cDG_pssN.cjs");require("./menu-Bi2msF1Z.cjs");require("./index-BpPyaNFa.cjs");require("./index-Dj7KpYhE.cjs");const w={__name:"index",props:{windowConfig:{type:Object,default:()=>{}},pathContent:{type:String,default:""},mode:{type:String,default:"view"},content:{type:String,default:""},jsonContents:{type:Array,default:()=>[]},showButton:{type:Boolean,default:!0},nodeDev:{type:String,default:""}},setup(o){const e=o,i=()=>{var r;const d=e!=null&&e.windowConfig?(r=e==null?void 0:e.windowConfig)==null?void 0:r.width:window.innerWidth,u=1920,n=16,c=d/u,a=n*c;document.documentElement.style.fontSize=`${a}px`};return t.onMounted(()=>{i(),window.addEventListener("resize",i)}),(d,u)=>{const n=t.resolveComponent("router-view");return t.openBlock(),t.createElementBlock("div",null,[t.createVNode(n,{mode:e==null?void 0:e.mode,content:e==null?void 0:e.content,jsonContents:e==null?void 0:e.jsonContents,pathContent:e==null?void 0:e.pathContent,showButton:e==null?void 0:e.showButton,nodeDev:e==null?void 0:e.nodeDev,windowConfig:o.windowConfig},null,8,["mode","content","jsonContents","pathContent","showButton","nodeDev","windowConfig"])])}}},s=l._export_sfc(w,[["__scopeId","data-v-62009028"]]);exports.default=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const c=require("vue"),r=require("./menu-
|
|
1
|
+
"use strict";const c=require("vue"),r=require("./menu-Bi2msF1Z.cjs"),F=require("./login-cDG_pssN.cjs"),q=require("./index-Dj7KpYhE.cjs"),D=require("./cloneDeep-BPCav0OY.cjs"),z=r.useMenuState(),{activeMenuPath:b}=r.storeToRefs(z),w=F.useLoginState(),{structureData:O}=r.storeToRefs(w),_=q.useModelComp(),{itemData:j}=r.storeToRefs(_),H=c.ref([{label:"角色名称",value:"",name:"roleName"}]),L=c.ref([{label:"查询"},{label:"重置"}]),S=c.reactive({isFilter:!1,filterForm:{}}),Q=c.ref(!1),U=a=>{console.log("handleQueryChange",a),S.isFilter=!0,S.filterForm=a},f=c.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"授权",textColor:"blue"},{label:"编辑"},{label:"删除",textColor:"red"}]},{key:"header",contents:[{label:"角色名称",prop:"roleName"},{label:"角色状态",formType:"Radio",prop:"roleStatus",options:[{label:"启用",value:"启用"},{label:"禁用",value:"禁用"}]},{label:"角色排序",prop:"roleOrder",formType:"Number"},{label:"备注",prop:"remark",formType:"TextArea"},{label:"权限",prop:"roleAuthority",isTableColHidden:!0,isFormColHidden:!0},{label:"操作"}]},{key:"tableContents",contents:[]}]),V=c.computed(()=>f.value),$=a=>{m(a.singleContent,a.buttonName)},B=c.ref({}),k=c.ref(),g=async(a,e,l)=>{var t,n;try{const s=await a(e);return((t=s==null?void 0:s.data)==null?void 0:t.code)===200?(l!=="查询"&&await w.setLogRecordAsync({type:l,data:e},b.value),s.data.result||((n=s==null?void 0:s.data)==null?void 0:n.code)===200):null}catch(s){r.ElMessage.error(s)}},I=(a,e)=>{e==null||e.forEach(l=>{a==null||a.forEach(t=>{var n;t.path==l.path&&(t.checkedButtons=l.checkedButtons),t.children&&((n=t.children)==null?void 0:n.length)>0&&I(t.children,e)})})},T=a=>a==null?void 0:a.map(e=>{var t;const l={...e,checkedButtons:[]};return l.children&&((t=l.children)==null?void 0:t.length)>0&&(l.children=T(l.children)),l}),G=async(a,e)=>{switch(B.value=D.cloneDeep(e),a){case"授权":u.title=`【${e.roleName}】授权`,u.show=!0,await c.nextTick(),e.roleAuthority&&Array.isArray(e.roleAuthority)&&I(p.value,e.roleAuthority);break}},J=()=>{u.show=!1},d=c.ref(),W=async a=>{const e=await g(r.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:a}},"查询"),l=e==null?void 0:e.map(t=>{var n;return{id:t.id,tableData:(n=t==null?void 0:t.value)==null?void 0:n.tableData}});return l==null?void 0:l.map(t=>{var n;if(Array.isArray(t==null?void 0:t.tableData)){let s={id:t.id};return(n=t==null?void 0:t.tableData)==null||n.forEach((o,y)=>{s[`a${y}`]=o}),s}else return{...t.tableData,id:t.id}})},m=(a,e)=>{const l=D.cloneDeep(a);l!=null&&l.id&&delete l.id,e==="新增"?g(r.createInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:b.value,tableId:v.value},value:{tableData:l}},e).then(t=>{d.value={...a,newId:t},e&&t&&r.ElMessage.success(e+"成功")}):e==="编辑"?(console.log("编辑角色",l),g(r.updateInsofDataApi,{id:a.id,key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:b.value,tableId:v.value},value:{tableData:l}},e).then(t=>{e&&t&&r.ElMessage.success(e+"成功"),u.show=!1})):e==="删除"&&g(r.deleteInsofDataApi,{id:a.id},e).then(t=>{e&&t&&r.ElMessage.success(e+"成功")})},K=a=>{let e=[];return a==null||a.forEach(l=>{var t;if(l.checkedButtons&&((t=l.checkedButtons)==null?void 0:t.length)>0){const n={path:l.path,checkedButtons:l.checkedButtons};e=e.concat(n)}l.children&&(e=e.concat(K(l.children)))}),e},X=()=>{d.value={...B.value,roleAuthority:K(p.value)},c.nextTick(()=>{console.log("clickSubmitAuthority",d.value,f.value),m(d.value,"编辑")})},u=c.reactive({show:!1,title:"角色授权",width:"35%",draggable:!0}),Y=({isPenultimate:a},e)=>{var l,t;return console.log("isPenultimate",a,e),((t=(l=e==null?void 0:e.data)==null?void 0:l.renderButtons)==null?void 0:t.length)>0?"is-penultimate":""},v=c.ref(0),M=async()=>{var l,t,n,s,o;let a;const e=await r.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure",pageKey:b.value}});return((l=e==null?void 0:e.data)==null?void 0:l.code)===200&&(t=e==null?void 0:e.data)!=null&&t.result&&((n=e==null?void 0:e.data)==null?void 0:n.result.length)>0&&(a=(o=(s=e==null?void 0:e.data.result)==null?void 0:s[0])==null?void 0:o.id),a},p=c.ref([]),Z=c.ref([{path:"资源管理",buttons:["查询","新增","编辑","删除"]},{path:"资源管理/人员",buttons:["查询","新增","编辑","删除"]}]),ee=(a,e)=>{var l;a.checkedButtons=e?(l=a.renderButtons)==null?void 0:l.map(t=>t.path):[],console.log("handleNodeCheckChange",a,e)},h=c.ref([]),te=(a,e)=>{var l,t,n;e.checkedButtons=a,((l=e.checkedButtons)==null?void 0:l.length)===((t=e.renderButtons)==null?void 0:t.length)?h.value.push(e.path):(a==null?void 0:a.length)===0&&(h.value=(n=h.value)==null?void 0:n.filter(s=>s!==e.path))};c.watch(()=>h.value.length,()=>{var e,l;const a=(e=k.value)==null?void 0:e.getCheckedKeys();console.log(112,h.value,a),(l=k.value)==null||l.setCheckedKeys([...h.value])});c.watch(()=>u.show,a=>{a||(p.value=T(p.value))});const P=c.computed(()=>{var l;const a=(l=D.cloneDeep(O.value))==null?void 0:l.filter(t=>{var n,s;return((s=(n=t==null?void 0:t.key)==null?void 0:n.pageKey)==null?void 0:s.toUpperCase())!=="MENU"});return[...a==null?void 0:a.map(t=>{var o,y,A,C;const n=/button/i;let s=(A=(y=(o=t==null?void 0:t.value)==null?void 0:o.pageData)==null?void 0:y.compData)==null?void 0:A.filter(i=>n.test(i==null?void 0:i.key));return s=Array.from(new Set(s==null?void 0:s.flatMap(i=>i.contents.map(R=>R.label)))),{path:(C=t==null?void 0:t.key)==null?void 0:C.pageKey,buttons:s}}),...x.value]}),x=c.ref([]),E=(a,e)=>{if(Array.isArray(a))return a==null?void 0:a.map(l=>{var n,s;const t=e==null?void 0:e.find(o=>(o==null?void 0:o.path)===(l==null?void 0:l.path));return l.children&&l.children.length>0?{...l,renderButtons:l.carryData?(n=t==null?void 0:t.buttons)==null?void 0:n.map(o=>({title:o,path:l.path+"/"+o})):[],checkedButtons:[],children:E(l.children,P.value)}:{...l,renderButtons:l.carryData?(s=t==null?void 0:t.buttons)==null?void 0:s.map(o=>({title:o,path:l.path+"/"+o})):[],checkedButtons:[]}})},N={comp:"Group",name:"/系统管理/角色管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:f.value,name:""}]}]};c.watch(()=>j.value,a=>{var e;a&&(a==null?void 0:a.length)>0&&(f.value=(e=a==null?void 0:a[0])==null?void 0:e.compData)});const ae=Object.freeze(Object.defineProperty({__proto__:null,addButtonsToTree:E,authorizeDialog:u,buttonValue:L,changedRow:d,clickRow:B,clickRowButton:G,clickSubmitAuthority:X,closeAuthorizeDialog:J,customNodeClass:Y,getActivePageStructureId:M,getPageDataAsync:W,handleItemDataChange:$,handleNodeBtnChange:te,handleNodeCheckChange:ee,handleQueryChange:U,handleSubmitAsync:g,isPageDataExist:Q,menuData:p,menusButtons:Z,pageData:f,pageDataFiltered:V,queryFormData:H,structureButtons:P,structureId:v,submitTableAsyncByVerify:m,tempRolePageData:N,tempSysMenus:x,treeRef:k},Symbol.toStringTag,{value:"Module"}));exports.State=ae;exports.authorizeDialog=u;exports.getActivePageStructureId=M;exports.tempRolePageData=N;
|