ss-component-new 1.1.367 → 1.1.369

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/dist/{array-Cs_qeJ2m.cjs → array-CdEWej9-.cjs} +1 -1
  2. package/dist/{array-I0ed2wow.js → array-w6g6OX-j.js} +2 -2
  3. package/dist/{cloneDeep-GOtDTHJH.js → cloneDeep-B_qM3aSW.js} +1 -1
  4. package/dist/{cloneDeep-CYcGhlzG.cjs → cloneDeep-CPOca9Pa.cjs} +1 -1
  5. package/dist/icons/img/watermark.png +0 -0
  6. package/dist/{index-BTsOEEe8.js → index--4fIVRbe.js} +32 -32
  7. package/dist/{index-BvA8vJuJ.cjs → index-27DebN2Y.cjs} +1 -1
  8. package/dist/{index-Bwgh1tDh.cjs → index-38Z_RM6f.cjs} +1 -1
  9. package/dist/{index-CpCocC41.js → index-5Pku_oyb.js} +1 -1
  10. package/dist/{index-CDkcPYW6.cjs → index-7WMcGKMN.cjs} +1 -1
  11. package/dist/{index-Dqzy8-xb.cjs → index-9ItUmOVM.cjs} +1 -1
  12. package/dist/{index-xjuo15AK.cjs → index-B05S27-J.cjs} +1 -1
  13. package/dist/{index-CUw8elUc.js → index-B1J6tCWi.js} +3 -3
  14. package/dist/{index-BUmHqNSQ.js → index-B7PKW6DX.js} +6 -6
  15. package/dist/{index-sRwTHKAL.cjs → index-B8oYZwbd.cjs} +1 -1
  16. package/dist/{index-DPpVsGw9.js → index-BDTj2AOF.js} +7 -7
  17. package/dist/index-BEXwG95N.cjs +1 -0
  18. package/dist/{index-Qx0GuwHr.js → index-BPJYnqZM.js} +1 -1
  19. package/dist/{index-BCKmCfQY.js → index-BPVxgarV.js} +3 -3
  20. package/dist/{index-Uzbrsz3o.js → index-Bfj3cNto.js} +10 -10
  21. package/dist/{index-mhef-1Zo.cjs → index-BsRdtXIR.cjs} +1 -1
  22. package/dist/{index-C_LjwD8t.js → index-BtC_6cNa.js} +2510 -2461
  23. package/dist/{index-kxN4kJ1s.cjs → index-BvA-KKZ3.cjs} +1 -1
  24. package/dist/{index-UKfyjk2G.cjs → index-BzdzkM6c.cjs} +1 -1
  25. package/dist/{index-BqCSda61.js → index-C65yi8D0.js} +3 -3
  26. package/dist/{index-DTxixBDx.js → index-CKDre9KH.js} +1 -1
  27. package/dist/{index-c9nu1Oxk.js → index-CNTS5I7C.js} +4 -4
  28. package/dist/{index-zvArGV4H.cjs → index-CQVuLLHO.cjs} +177 -177
  29. package/dist/{index-BVtKkvlP.cjs → index-CRRy-dFK.cjs} +1 -1
  30. package/dist/{index-CdOw3chz.js → index-CR_qR8Ri.js} +3 -3
  31. package/dist/{index-D6rdau3q.cjs → index-CSu-FaAs.cjs} +1 -1
  32. package/dist/{index-DPBA1Q25.cjs → index-CV263a8_.cjs} +1 -1
  33. package/dist/{index-Dkb7lD6V.js → index-CZi2VQ7I.js} +9 -9
  34. package/dist/{index-DmyMy020.js → index-C_UMgplo.js} +9 -9
  35. package/dist/{index-PCCtRzDJ.js → index-CgSQmkvY.js} +52 -51
  36. package/dist/{index-BPWbJd07.js → index-Cocjn4Us.js} +10 -10
  37. package/dist/{index-CKLAjhdz.cjs → index-Ct7Hxm_p.cjs} +1 -1
  38. package/dist/{index-DRUsyai9.js → index-CtAF5QDY.js} +6 -6
  39. package/dist/{index-d44crVNl.js → index-D6P3JoA5.js} +6 -6
  40. package/dist/{index-C4arHEk-.cjs → index-DABII5V0.cjs} +1 -1
  41. package/dist/{index-BDDKdGJX.cjs → index-DBl7782B.cjs} +1 -1
  42. package/dist/{index-Od7_9YnM.js → index-DPReVv8t.js} +34 -30
  43. package/dist/{index-OCvy-QIo.cjs → index-DPWzZNNe.cjs} +1 -1
  44. package/dist/index-DQrlGJRn.js +2467 -0
  45. package/dist/index-DYHmR-sk.cjs +9 -0
  46. package/dist/{index-DGFAibP8.js → index-Dj6pL6nL.js} +6 -6
  47. package/dist/{index-Bt3Ruo-D.js → index-DnAoIt0S.js} +4 -4
  48. package/dist/{index-DoPfcd5q.cjs → index-DqilGxb7.cjs} +1 -1
  49. package/dist/{index-8OLisgK0.cjs → index-DxeYRYQf.cjs} +1 -1
  50. package/dist/{index-B5VuM8l5.js → index-JZj2W6vT.js} +8 -8
  51. package/dist/{index-CFOUGn9U.cjs → index-NsMfoIJ3.cjs} +1 -1
  52. package/dist/{index-NnlO4vSZ.js → index-OC6LQNC7.js} +7 -7
  53. package/dist/{index-BWLxiwts.js → index-YLC_JBtf.js} +6 -6
  54. package/dist/{index-wAG1B1TR.cjs → index-evJ1ozJk.cjs} +1 -1
  55. package/dist/{index-DH0ET7m4.cjs → index-g8hwhDyR.cjs} +1 -1
  56. package/dist/{index-fULzuqL0.cjs → index-gnHH_qIC.cjs} +1 -1
  57. package/dist/{index-D7RMQttr.cjs → index-nR2Qf7UQ.cjs} +1 -1
  58. package/dist/index-sbLDYar2.cjs +1 -0
  59. package/dist/{index-8EjfXioS.js → index-w56ARCYA.js} +1 -1
  60. package/dist/{index.vue_vue_type_script_setup_true_lang-CfJGn5rz.cjs → index.vue_vue_type_script_setup_true_lang-CXvbvlfv.cjs} +1 -1
  61. package/dist/{index.vue_vue_type_script_setup_true_lang-D8xCoFmH.js → index.vue_vue_type_script_setup_true_lang-V5ypdm3n.js} +1 -1
  62. package/dist/index.vue_vue_type_style_index_0_scoped_1632d5fe_lang-D03_RY05.js +3672 -0
  63. package/dist/index.vue_vue_type_style_index_0_scoped_1632d5fe_lang-ftWLGSMn.cjs +12 -0
  64. package/dist/{index.vue_vue_type_style_index_0_scoped_3a02a8a3_lang-Cs21Q0vD.js → index.vue_vue_type_style_index_0_scoped_793e60b5_lang-DMT4NCUD.js} +91 -95
  65. package/dist/index.vue_vue_type_style_index_0_scoped_793e60b5_lang-Da39pE8t.cjs +1 -0
  66. package/dist/{login-DMbjMzkS.js → login-Ckl_FEjw.js} +2 -2
  67. package/dist/{login-CDUTeSY_.cjs → login-CwfuFnfe.cjs} +1 -1
  68. package/dist/{main-CRtBg87K.cjs → main-BGdSEKZ8.cjs} +1 -1
  69. package/dist/{main-D2KxIY0t.js → main-qg3NmrV_.js} +7 -7
  70. package/dist/{menu-Da5Ht5hG.cjs → menu-D5xJyUaN.cjs} +1 -1
  71. package/dist/{menu-D_3gHkG4.js → menu-T8Bl1DLB.js} +1 -1
  72. package/dist/ss-component.cjs +1 -1
  73. package/dist/ss-component.css +2 -2
  74. package/dist/ss-component.js +7 -7
  75. package/dist/ss-component3.cjs +1 -1
  76. package/dist/ss-component3.js +1 -1
  77. package/package.json +5 -3
  78. package/public/icons/img/watermark.png +0 -0
  79. package/dist/index-B7Wi5BZf.cjs +0 -9
  80. package/dist/index-BpmoTHTK.js +0 -2493
  81. package/dist/index-CeWS20go.cjs +0 -1
  82. package/dist/index-D9bPG3j0.cjs +0 -1
  83. package/dist/index.vue_vue_type_style_index_0_scoped_23015cb0_lang-DDredAHL.js +0 -1259
  84. package/dist/index.vue_vue_type_style_index_0_scoped_23015cb0_lang-Db_d3OS1.cjs +0 -1
  85. package/dist/index.vue_vue_type_style_index_0_scoped_3a02a8a3_lang-i5FsC2rm.cjs +0 -1
  86. package/dist/model/final.pcd +0 -19333
  87. package/dist/model/target.pcd +0 -29276
  88. package/public/model/final.pcd +0 -19333
  89. package/public/model/target.pcd +0 -29276
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),r=require("./index-B7Wi5BZf.cjs"),c=require("./index-zvArGV4H.cjs"),s=require("./index-sRwTHKAL.cjs"),n=require("./menu-Da5Ht5hG.cjs"),i=require("./login-CDUTeSY_.cjs"),u=require("./index-CKLAjhdz.cjs"),l=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),d={class:"role-wrapper"},g=t.defineComponent({__name:"index",setup(h){const o=n.useMenuState(),{activeMenuPath:p}=n.storeToRefs(o),a=i.useLoginState(),e=t.reactive({...s.State});return t.onMounted(async()=>{a.getModelSecretAsync(),e.structureId=await u.getActivePageStructureId()}),(C,m)=>(t.openBlock(),t.createElementBlock("div",d,[t.createVNode(r.ssForm,{class:"role-header",rowContents:e.queryFormData,isEnableWrap:!1,isEdit:!0,onChange:e.handleQueryChange},null,8,["rowContents","onChange"]),t.createVNode(c.ssTable,{class:"role-body",itemData:e.pageData,changedContent:e.changedRow,onChange:e.handleItemDataChange,onOnButtonClick:e.clickRowButton},null,8,["itemData","changedContent","onChange","onOnButtonClick"])]))}}),_=l._export_sfc(g,[["__scopeId","data-v-1ff46e50"]]);exports.default=_;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),r=require("./index-DYHmR-sk.cjs"),c=require("./index-CQVuLLHO.cjs"),s=require("./index-B8oYZwbd.cjs"),n=require("./menu-D5xJyUaN.cjs"),i=require("./login-CwfuFnfe.cjs"),u=require("./index-Ct7Hxm_p.cjs"),l=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),d={class:"role-wrapper"},g=t.defineComponent({__name:"index",setup(h){const o=n.useMenuState(),{activeMenuPath:p}=n.storeToRefs(o),a=i.useLoginState(),e=t.reactive({...s.State});return t.onMounted(async()=>{a.getModelSecretAsync(),e.structureId=await u.getActivePageStructureId()}),(C,m)=>(t.openBlock(),t.createElementBlock("div",d,[t.createVNode(r.ssForm,{class:"role-header",rowContents:e.queryFormData,isEnableWrap:!1,isEdit:!0,onChange:e.handleQueryChange},null,8,["rowContents","onChange"]),t.createVNode(c.ssTable,{class:"role-body",itemData:e.pageData,changedContent:e.changedRow,onChange:e.handleItemDataChange,onOnButtonClick:e.clickRowButton},null,8,["itemData","changedContent","onChange","onOnButtonClick"])]))}}),_=l._export_sfc(g,[["__scopeId","data-v-1ff46e50"]]);exports.default=_;
@@ -1,6 +1,6 @@
1
- import { g as S, u as P, E as v } from "./menu-D_3gHkG4.js";
2
- import { p as K } from "./index-Qx0GuwHr.js";
3
- import { u as k } from "./login-DMbjMzkS.js";
1
+ import { g as S, u as P, E as v } from "./menu-T8Bl1DLB.js";
2
+ import { p as K } from "./index-BPJYnqZM.js";
3
+ import { u as k } from "./login-Ckl_FEjw.js";
4
4
  import { ref as h } from "vue";
5
5
  const A = P(K), E = k(K), x = h(!1), D = h(!1), q = async () => {
6
6
  const I = S({
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("vue"),l=require("./index-kxN4kJ1s.cjs"),Nt=require("./typescript-PERVJsDy.cjs"),_=require("./cloneDeep-CYcGhlzG.cjs"),it=require("./index.vue_vue_type_script_setup_true_lang-CfJGn5rz.cjs");function It(e){return e}function xt(e,n,o){switch(o.length){case 0:return e.call(n);case 1:return e.call(n,o[0]);case 2:return e.call(n,o[0],o[1]);case 3:return e.call(n,o[0],o[1],o[2])}return e.apply(n,o)}var Mt=800,At=16,Vt=Date.now;function Rt(e){var n=0,o=0;return function(){var r=Vt(),a=At-(r-o);if(o=r,a>0){if(++n>=Mt)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}function Lt(e){return function(){return e}}var zt=_.defineProperty?function(e,n){return _.defineProperty(e,"toString",{configurable:!0,enumerable:!1,value:Lt(n),writable:!0})}:It,Ot=Rt(zt),$e=Math.max;function Pt(e,n,o){return n=$e(n===void 0?e.length-1:n,0),function(){for(var r=arguments,a=-1,s=$e(r.length-n,0),i=Array(s);++a<s;)i[a]=r[n+a];a=-1;for(var u=Array(n+1);++a<n;)u[a]=r[a];return u[n]=o(i),xt(e,this,u)}}var Ue=l.Symbol?l.Symbol.isConcatSpreadable:void 0;function Ft(e){return l.isArray(e)||_.isArguments(e)||!!(Ue&&e&&e[Ue])}function _t(e,n,o,r,a){var s=-1,i=e.length;for(o||(o=Ft),a||(a=[]);++s<i;){var u=e[s];o(u)?_.arrayPush(a,u):a[a.length]=u}return a}function Ht(e){var n=e==null?0:e.length;return n?_t(e):[]}function Dt(e){return Ot(Pt(e,void 0,Ht),e+"")}function $t(e,n){return e!=null&&n in Object(e)}function Ut(e,n,o){n=l.castPath(n,e);for(var r=-1,a=n.length,s=!1;++r<a;){var i=l.toKey(n[r]);if(!(s=e!=null&&o(e,i)))break;e=e[i]}return s||++r!=a?s:(a=e==null?0:e.length,!!a&&_.isLength(a)&&_.isIndex(i,a)&&(l.isArray(e)||_.isArguments(e)))}function Kt(e,n){return e!=null&&Ut(e,n,$t)}function Wt(e,n,o,r){if(!l.isObject(e))return e;n=l.castPath(n,e);for(var a=-1,s=n.length,i=s-1,u=e;u!=null&&++a<s;){var p=l.toKey(n[a]),d=o;if(p==="__proto__"||p==="constructor"||p==="prototype")return e;if(a!=i){var g=u[p];d=void 0,d===void 0&&(d=l.isObject(g)?g:_.isIndex(n[a+1])?[]:{})}_.assignValue(u,p,d),u=u[p]}return e}function Yt(e,n,o){for(var r=-1,a=n.length,s={};++r<a;){var i=n[r],u=l.baseGet(e,i);o(u,i)&&Wt(s,l.castPath(i,e),u)}return s}function Gt(e,n){return Yt(e,n,function(o,r){return Kt(e,r)})}var jt=Dt(function(e,n){return e==null?{}:Gt(e,n)});const Ce="update:modelValue",Ke="change",We="input";let re;const qt=e=>{var n;if(!l.isClient)return 0;if(re!==void 0)return re;const o=document.createElement("div");o.className=`${e}-scrollbar__wrap`,o.style.visibility="hidden",o.style.width="100px",o.style.position="absolute",o.style.top="-9999px",document.body.appendChild(o);const r=o.offsetWidth;o.style.overflow="scroll";const a=document.createElement("div");a.style.width="100%",o.appendChild(a);const s=a.offsetWidth;return(n=o.parentNode)==null||n.removeChild(o),re=r-s,re},Xt=()=>l.isClient&&/firefox/i.test(window.navigator.userAgent);let M;const Jt={height:"0",visibility:"hidden",overflow:Xt()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},Zt=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function Qt(e){const n=window.getComputedStyle(e),o=n.getPropertyValue("box-sizing"),r=Number.parseFloat(n.getPropertyValue("padding-bottom"))+Number.parseFloat(n.getPropertyValue("padding-top")),a=Number.parseFloat(n.getPropertyValue("border-bottom-width"))+Number.parseFloat(n.getPropertyValue("border-top-width"));return{contextStyle:Zt.map(i=>[i,n.getPropertyValue(i)]),paddingSize:r,borderSize:a,boxSizing:o}}function Ye(e,n=1,o){var r;M||(M=document.createElement("textarea"),document.body.appendChild(M));const{paddingSize:a,borderSize:s,boxSizing:i,contextStyle:u}=Qt(e);u.forEach(([m,S])=>M==null?void 0:M.style.setProperty(m,S)),Object.entries(Jt).forEach(([m,S])=>M==null?void 0:M.style.setProperty(m,S,"important")),M.value=e.value||e.placeholder||"";let p=M.scrollHeight;const d={};i==="border-box"?p=p+s:i==="content-box"&&(p=p-a),M.value="";const g=M.scrollHeight-a;if(l.isNumber(n)){let m=g*n;i==="border-box"&&(m=m+a+s),p=Math.max(m,p),d.minHeight=`${m}px`}if(l.isNumber(o)){let m=g*o;i==="border-box"&&(m=m+a+s),p=Math.min(m,p)}return d.height=`${p}px`,(r=M.parentNode)==null||r.removeChild(M),M=void 0,d}const en=l.buildProps({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),tn=e=>jt(en,e),nn=l.buildProps({id:{type:String,default:void 0},size:l.useSizeProp,disabled:Boolean,modelValue:{type:l.definePropType([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:l.definePropType([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:l.iconPropType},prefixIcon:{type:l.iconPropType},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:l.definePropType([Object,Array,String]),default:()=>Nt.mutable({})},autofocus:Boolean,rows:{type:Number,default:2},...tn(["ariaLabel"])}),on={[Ce]:e=>l.isString(e),input:e=>l.isString(e),change:e=>l.isString(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},rn=["class","style"],an=/^on[A-Z]/,sn=(e={})=>{const{excludeListeners:n=!1,excludeKeys:o}=e,r=t.computed(()=>((o==null?void 0:o.value)||[]).concat(rn)),a=t.getCurrentInstance();return a?t.computed(()=>{var s;return l.fromPairs(Object.entries((s=a.proxy)==null?void 0:s.$attrs).filter(([i])=>!r.value.includes(i)&&!(n&&an.test(i))))}):(l.debugWarn("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),t.computed(()=>({})))},we={prefix:Math.floor(Math.random()*1e4),current:0},ln=Symbol("elIdInjection"),un=()=>t.getCurrentInstance()?t.inject(ln,we):we,Se=e=>{const n=un();!l.isClient&&n===we&&l.debugWarn("IdInjection",`Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
1
+ "use strict";const t=require("vue"),l=require("./index-BvA-KKZ3.cjs"),Nt=require("./typescript-PERVJsDy.cjs"),_=require("./cloneDeep-CPOca9Pa.cjs"),it=require("./index.vue_vue_type_script_setup_true_lang-CXvbvlfv.cjs");function It(e){return e}function xt(e,n,o){switch(o.length){case 0:return e.call(n);case 1:return e.call(n,o[0]);case 2:return e.call(n,o[0],o[1]);case 3:return e.call(n,o[0],o[1],o[2])}return e.apply(n,o)}var Mt=800,At=16,Vt=Date.now;function Rt(e){var n=0,o=0;return function(){var r=Vt(),a=At-(r-o);if(o=r,a>0){if(++n>=Mt)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}function Lt(e){return function(){return e}}var zt=_.defineProperty?function(e,n){return _.defineProperty(e,"toString",{configurable:!0,enumerable:!1,value:Lt(n),writable:!0})}:It,Ot=Rt(zt),$e=Math.max;function Pt(e,n,o){return n=$e(n===void 0?e.length-1:n,0),function(){for(var r=arguments,a=-1,s=$e(r.length-n,0),i=Array(s);++a<s;)i[a]=r[n+a];a=-1;for(var u=Array(n+1);++a<n;)u[a]=r[a];return u[n]=o(i),xt(e,this,u)}}var Ue=l.Symbol?l.Symbol.isConcatSpreadable:void 0;function Ft(e){return l.isArray(e)||_.isArguments(e)||!!(Ue&&e&&e[Ue])}function _t(e,n,o,r,a){var s=-1,i=e.length;for(o||(o=Ft),a||(a=[]);++s<i;){var u=e[s];o(u)?_.arrayPush(a,u):a[a.length]=u}return a}function Ht(e){var n=e==null?0:e.length;return n?_t(e):[]}function Dt(e){return Ot(Pt(e,void 0,Ht),e+"")}function $t(e,n){return e!=null&&n in Object(e)}function Ut(e,n,o){n=l.castPath(n,e);for(var r=-1,a=n.length,s=!1;++r<a;){var i=l.toKey(n[r]);if(!(s=e!=null&&o(e,i)))break;e=e[i]}return s||++r!=a?s:(a=e==null?0:e.length,!!a&&_.isLength(a)&&_.isIndex(i,a)&&(l.isArray(e)||_.isArguments(e)))}function Kt(e,n){return e!=null&&Ut(e,n,$t)}function Wt(e,n,o,r){if(!l.isObject(e))return e;n=l.castPath(n,e);for(var a=-1,s=n.length,i=s-1,u=e;u!=null&&++a<s;){var p=l.toKey(n[a]),d=o;if(p==="__proto__"||p==="constructor"||p==="prototype")return e;if(a!=i){var g=u[p];d=void 0,d===void 0&&(d=l.isObject(g)?g:_.isIndex(n[a+1])?[]:{})}_.assignValue(u,p,d),u=u[p]}return e}function Yt(e,n,o){for(var r=-1,a=n.length,s={};++r<a;){var i=n[r],u=l.baseGet(e,i);o(u,i)&&Wt(s,l.castPath(i,e),u)}return s}function Gt(e,n){return Yt(e,n,function(o,r){return Kt(e,r)})}var jt=Dt(function(e,n){return e==null?{}:Gt(e,n)});const Ce="update:modelValue",Ke="change",We="input";let re;const qt=e=>{var n;if(!l.isClient)return 0;if(re!==void 0)return re;const o=document.createElement("div");o.className=`${e}-scrollbar__wrap`,o.style.visibility="hidden",o.style.width="100px",o.style.position="absolute",o.style.top="-9999px",document.body.appendChild(o);const r=o.offsetWidth;o.style.overflow="scroll";const a=document.createElement("div");a.style.width="100%",o.appendChild(a);const s=a.offsetWidth;return(n=o.parentNode)==null||n.removeChild(o),re=r-s,re},Xt=()=>l.isClient&&/firefox/i.test(window.navigator.userAgent);let M;const Jt={height:"0",visibility:"hidden",overflow:Xt()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},Zt=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function Qt(e){const n=window.getComputedStyle(e),o=n.getPropertyValue("box-sizing"),r=Number.parseFloat(n.getPropertyValue("padding-bottom"))+Number.parseFloat(n.getPropertyValue("padding-top")),a=Number.parseFloat(n.getPropertyValue("border-bottom-width"))+Number.parseFloat(n.getPropertyValue("border-top-width"));return{contextStyle:Zt.map(i=>[i,n.getPropertyValue(i)]),paddingSize:r,borderSize:a,boxSizing:o}}function Ye(e,n=1,o){var r;M||(M=document.createElement("textarea"),document.body.appendChild(M));const{paddingSize:a,borderSize:s,boxSizing:i,contextStyle:u}=Qt(e);u.forEach(([m,S])=>M==null?void 0:M.style.setProperty(m,S)),Object.entries(Jt).forEach(([m,S])=>M==null?void 0:M.style.setProperty(m,S,"important")),M.value=e.value||e.placeholder||"";let p=M.scrollHeight;const d={};i==="border-box"?p=p+s:i==="content-box"&&(p=p-a),M.value="";const g=M.scrollHeight-a;if(l.isNumber(n)){let m=g*n;i==="border-box"&&(m=m+a+s),p=Math.max(m,p),d.minHeight=`${m}px`}if(l.isNumber(o)){let m=g*o;i==="border-box"&&(m=m+a+s),p=Math.min(m,p)}return d.height=`${p}px`,(r=M.parentNode)==null||r.removeChild(M),M=void 0,d}const en=l.buildProps({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),tn=e=>jt(en,e),nn=l.buildProps({id:{type:String,default:void 0},size:l.useSizeProp,disabled:Boolean,modelValue:{type:l.definePropType([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:l.definePropType([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:l.iconPropType},prefixIcon:{type:l.iconPropType},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:l.definePropType([Object,Array,String]),default:()=>Nt.mutable({})},autofocus:Boolean,rows:{type:Number,default:2},...tn(["ariaLabel"])}),on={[Ce]:e=>l.isString(e),input:e=>l.isString(e),change:e=>l.isString(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},rn=["class","style"],an=/^on[A-Z]/,sn=(e={})=>{const{excludeListeners:n=!1,excludeKeys:o}=e,r=t.computed(()=>((o==null?void 0:o.value)||[]).concat(rn)),a=t.getCurrentInstance();return a?t.computed(()=>{var s;return l.fromPairs(Object.entries((s=a.proxy)==null?void 0:s.$attrs).filter(([i])=>!r.value.includes(i)&&!(n&&an.test(i))))}):(l.debugWarn("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),t.computed(()=>({})))},we={prefix:Math.floor(Math.random()*1e4),current:0},ln=Symbol("elIdInjection"),un=()=>t.getCurrentInstance()?t.inject(ln,we):we,Se=e=>{const n=un();!l.isClient&&n===we&&l.debugWarn("IdInjection",`Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
2
2
  usage: app.provide(ID_INJECTION_KEY, {
3
3
  prefix: number,
4
4
  current: number,
@@ -1 +1 @@
1
- "use strict";const n=require("vue"),c=require("./menu-Da5Ht5hG.cjs"),u=require("./index-sRwTHKAL.cjs"),g=require("./index-zvArGV4H.cjs"),D=g.useModelComp(),{itemData:f}=c.storeToRefs(D),p=n.ref(0),m=n.ref([{label:"机构名称",value:"",name:"deptName"}]),i=e=>{console.log("handleQueryChange",e)},r=n.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"职位名称",prop:"postName"},{label:"职位排序",formType:"Number",prop:"postOrder"},{label:"备注",formType:"TextArea",prop:"remark"},{label:"操作"}]},{key:"tableContents",contents:[]}]),h=e=>{u.submitTableAsyncByVerify(e.singleContent,e.buttonName,p.value)},k=e=>{console.log("onDoubleClick",e)},C=(e,a)=>{console.log("onButtonClick",e,a)},A=async e=>{const a=await u.handleSubmitAsync(c.getInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:e}},"查询"),l=a==null?void 0:a.map(t=>{var o;return{id:t.id,tableData:(o=t==null?void 0:t.value)==null?void 0:o.tableData}});return l==null?void 0:l.map(t=>{var o;if(Array.isArray(t==null?void 0:t.tableData)){let s={id:t.id};return(o=t==null?void 0:t.tableData)==null||o.forEach((y,d)=>{s[`a${d}`]=y}),s}else return{...t.tableData,id:t.id}})},b={comp:"Group",name:"/系统管理/职位管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:r.value,name:""}]}]};n.watch(()=>f.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(r.value=(a=e==null?void 0:e[0])==null?void 0:a.compData)});const S=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:A,handleItemDataChange:h,handleQueryChange:i,onButtonClick:C,onDoubleClick:k,pageData:r,queryFormData:m,structureId:p,tempPostPageData:b},Symbol.toStringTag,{value:"Module"}));exports.State=S;exports.tempPostPageData=b;
1
+ "use strict";const n=require("vue"),c=require("./menu-D5xJyUaN.cjs"),u=require("./index-B8oYZwbd.cjs"),g=require("./index-CQVuLLHO.cjs"),D=g.useModelComp(),{itemData:f}=c.storeToRefs(D),p=n.ref(0),m=n.ref([{label:"机构名称",value:"",name:"deptName"}]),i=e=>{console.log("handleQueryChange",e)},r=n.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"职位名称",prop:"postName"},{label:"职位排序",formType:"Number",prop:"postOrder"},{label:"备注",formType:"TextArea",prop:"remark"},{label:"操作"}]},{key:"tableContents",contents:[]}]),h=e=>{u.submitTableAsyncByVerify(e.singleContent,e.buttonName,p.value)},k=e=>{console.log("onDoubleClick",e)},C=(e,a)=>{console.log("onButtonClick",e,a)},A=async e=>{const a=await u.handleSubmitAsync(c.getInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:e}},"查询"),l=a==null?void 0:a.map(t=>{var o;return{id:t.id,tableData:(o=t==null?void 0:t.value)==null?void 0:o.tableData}});return l==null?void 0:l.map(t=>{var o;if(Array.isArray(t==null?void 0:t.tableData)){let s={id:t.id};return(o=t==null?void 0:t.tableData)==null||o.forEach((y,d)=>{s[`a${d}`]=y}),s}else return{...t.tableData,id:t.id}})},b={comp:"Group",name:"/系统管理/职位管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:r.value,name:""}]}]};n.watch(()=>f.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(r.value=(a=e==null?void 0:e[0])==null?void 0:a.compData)});const S=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:A,handleItemDataChange:h,handleQueryChange:i,onButtonClick:C,onDoubleClick:k,pageData:r,queryFormData:m,structureId:p,tempPostPageData:b},Symbol.toStringTag,{value:"Module"}));exports.State=S;exports.tempPostPageData=b;
@@ -1,14 +1,14 @@
1
1
  import { onMounted as m, resolveComponent as u, createElementBlock as l, openBlock as r, createVNode as f } from "vue";
2
- import "./index-DPpVsGw9.js";
3
- import "./index-Qx0GuwHr.js";
4
- import "./array-I0ed2wow.js";
2
+ import "./index-BDTj2AOF.js";
3
+ import "./index-BPJYnqZM.js";
4
+ import "./array-w6g6OX-j.js";
5
5
  import { _ as s } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- import "./index.vue_vue_type_style_index_0_scoped_3a02a8a3_lang-Cs21Q0vD.js";
7
- import "./index.vue_vue_type_style_index_0_scoped_23015cb0_lang-DDredAHL.js";
8
- import "./login-DMbjMzkS.js";
9
- import "./menu-D_3gHkG4.js";
6
+ import "./index.vue_vue_type_style_index_0_scoped_793e60b5_lang-DMT4NCUD.js";
7
+ import "./index.vue_vue_type_style_index_0_scoped_1632d5fe_lang-D03_RY05.js";
8
+ import "./login-Ckl_FEjw.js";
9
+ import "./menu-T8Bl1DLB.js";
10
10
  import "./index-BHtNKL1L.js";
11
- import "./index-C_LjwD8t.js";
11
+ import "./index-BtC_6cNa.js";
12
12
  const C = {
13
13
  __name: "index",
14
14
  props: {
@@ -65,7 +65,7 @@ const C = {
65
65
  ]);
66
66
  };
67
67
  }
68
- }, E = /* @__PURE__ */ s(C, [["__scopeId", "data-v-62009028"]]);
68
+ }, E = /* @__PURE__ */ s(C, [["__scopeId", "data-v-5a7b45c8"]]);
69
69
  export {
70
70
  E as default
71
71
  };
@@ -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-DRUsyai9.js")
6020
+ component: async () => import("./index-CtAF5QDY.js")
6021
6021
  },
6022
6022
  {
6023
6023
  path: "/",
6024
6024
  name: "Model",
6025
- component: async () => import("./index-BpmoTHTK.js"),
6025
+ component: async () => import("./index-DQrlGJRn.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-NnlO4vSZ.js")
6033
+ component: async () => import("./index-OC6LQNC7.js")
6034
6034
  },
6035
6035
  {
6036
6036
  path: "平台管理/主菜单管理",
6037
6037
  name: "MainMenu",
6038
- component: async () => import("./index-Bt3Ruo-D.js")
6038
+ component: async () => import("./index-DnAoIt0S.js")
6039
6039
  },
6040
6040
  {
6041
6041
  path: "系统管理/个人中心",
6042
6042
  name: "PersonalCenter",
6043
- component: async () => import("./index-BTsOEEe8.js")
6043
+ component: async () => import("./index--4fIVRbe.js")
6044
6044
  },
6045
6045
  {
6046
6046
  path: "系统管理/职位管理",
6047
6047
  name: "Post",
6048
- component: async () => import("./index-Uzbrsz3o.js")
6048
+ component: async () => import("./index-YLC_JBtf.js")
6049
6049
  },
6050
6050
  {
6051
6051
  path: "系统管理/用户管理",
6052
6052
  name: "User",
6053
- component: async () => import("./index-d44crVNl.js")
6053
+ component: async () => import("./index-D6P3JoA5.js")
6054
6054
  },
6055
6055
  {
6056
6056
  path: "系统管理/角色管理",
6057
6057
  name: "Role",
6058
- component: async () => import("./index-BUmHqNSQ.js")
6058
+ component: async () => import("./index-B7PKW6DX.js")
6059
6059
  },
6060
6060
  {
6061
6061
  path: "系统管理/部门管理",
6062
6062
  name: "Dept",
6063
- component: async () => import("./index-BWLxiwts.js")
6063
+ component: async () => import("./index-Bfj3cNto.js")
6064
6064
  },
6065
6065
  {
6066
6066
  path: "priority",
@@ -1,9 +1,9 @@
1
- import { ref as c, computed as K, reactive as T, nextTick as N, watch as v } from "vue";
2
- import { g as x, s as B, E as f, c as z, d as H, e as L, u as Q } from "./menu-D_3gHkG4.js";
3
- import { u as U } from "./login-DMbjMzkS.js";
4
- import { u as V } from "./index-C_LjwD8t.js";
5
- import { c as D } from "./cloneDeep-GOtDTHJH.js";
6
- const $ = Q(), { activeMenuPath: b } = B($), P = U(), { structureData: q } = B(P), G = V(), { itemData: J } = B(G), W = c([
1
+ import { ref as c, computed as M, reactive as N, nextTick as x, watch as D } from "vue";
2
+ import { g as P, s as C, E as f, c as z, d as H, e as L, u as Q } from "./menu-T8Bl1DLB.js";
3
+ import { u as U } from "./login-Ckl_FEjw.js";
4
+ import { u as V } from "./index-BtC_6cNa.js";
5
+ import { c as A } from "./cloneDeep-B_qM3aSW.js";
6
+ const $ = Q(), { activeMenuPath: b } = C($), E = U(), { structureData: q } = C(E), G = V(), { itemData: J } = C(G), W = c([
7
7
  {
8
8
  label: "角色名称",
9
9
  value: "",
@@ -16,11 +16,11 @@ const $ = Q(), { activeMenuPath: b } = B($), P = U(), { structureData: q } = B(P
16
16
  {
17
17
  label: "重置"
18
18
  }
19
- ]), I = T({
19
+ ]), T = N({
20
20
  isFilter: !1,
21
21
  filterForm: {}
22
22
  }), Y = c(!1), Z = (a) => {
23
- console.log("handleQueryChange", a), I.isFilter = !0, I.filterForm = a;
23
+ console.log("handleQueryChange", a), T.isFilter = !0, T.filterForm = a;
24
24
  }, g = c([
25
25
  {
26
26
  key: "extraButton",
@@ -112,43 +112,43 @@ const $ = Q(), { activeMenuPath: b } = B($), P = U(), { structureData: q } = B(P
112
112
  // ],
113
113
  // ]
114
114
  }
115
- ]), ee = K(() => g.value), te = (a) => {
116
- A(a.singleContent, a.buttonName);
117
- }, C = c({}), k = c(), i = async (a, e, s) => {
115
+ ]), ee = M(() => g.value), te = (a) => {
116
+ w(a.singleContent, a.buttonName);
117
+ }, S = c({}), k = c(), i = async (a, e, s) => {
118
118
  var t, n;
119
119
  try {
120
120
  const l = await a(e);
121
- return ((t = l == null ? void 0 : l.data) == null ? void 0 : t.code) === 200 ? (s !== "查询" && await P.setLogRecordAsync({
121
+ return ((t = l == null ? void 0 : l.data) == null ? void 0 : t.code) === 200 ? (s !== "查询" && await E.setLogRecordAsync({
122
122
  type: s,
123
123
  data: e
124
124
  }, b.value), l.data.result || ((n = l == null ? void 0 : l.data) == null ? void 0 : n.code) === 200) : null;
125
125
  } catch (l) {
126
126
  f.error(l);
127
127
  }
128
- }, E = (a, e) => {
128
+ }, F = (a, e) => {
129
129
  e == null || e.forEach((s) => {
130
130
  a == null || a.forEach((t) => {
131
131
  var n;
132
- t.path == s.path && (t.checkedButtons = s.checkedButtons), t.children && ((n = t.children) == null ? void 0 : n.length) > 0 && E(t.children, e);
132
+ t.path == s.path && (t.checkedButtons = s.checkedButtons), t.children && ((n = t.children) == null ? void 0 : n.length) > 0 && F(t.children, e);
133
133
  });
134
134
  });
135
- }, M = (a) => a == null ? void 0 : a.map((e) => {
135
+ }, R = (a) => a == null ? void 0 : a.map((e) => {
136
136
  var t;
137
137
  const s = {
138
138
  ...e,
139
139
  checkedButtons: []
140
140
  };
141
- return s.children && ((t = s.children) == null ? void 0 : t.length) > 0 && (s.children = M(s.children)), s;
141
+ return s.children && ((t = s.children) == null ? void 0 : t.length) > 0 && (s.children = R(s.children)), s;
142
142
  }), ae = async (a, e) => {
143
- switch (C.value = D(e), a) {
143
+ switch (S.value = A(e), a) {
144
144
  case "授权":
145
- u.title = `【${e.roleName}】授权`, u.show = !0, await N(), e.roleAuthority && Array.isArray(e.roleAuthority) && E(p.value, e.roleAuthority);
145
+ u.title = `【${e.roleName}】授权`, u.show = !0, await x(), e.roleAuthority && Array.isArray(e.roleAuthority) && F(p.value, e.roleAuthority);
146
146
  break;
147
147
  }
148
148
  }, se = () => {
149
149
  u.show = !1;
150
150
  }, d = c(), le = async (a) => {
151
- const e = await i(x, {
151
+ const e = await i(P, {
152
152
  key: {
153
153
  systemKey: sessionStorage.getItem("systemKey"),
154
154
  type: "data",
@@ -174,14 +174,14 @@ const $ = Q(), { activeMenuPath: b } = B($), P = U(), { structureData: q } = B(P
174
174
  id: t.id
175
175
  };
176
176
  });
177
- }, A = (a, e) => {
178
- const s = D(a);
177
+ }, w = (a, e) => {
178
+ const s = A(a);
179
179
  s != null && s.id && delete s.id, e === "新增" ? i(z, {
180
180
  key: {
181
181
  type: "data",
182
182
  systemKey: sessionStorage.getItem("systemKey"),
183
183
  pageKey: b.value,
184
- tableId: m.value
184
+ tableId: v.value
185
185
  },
186
186
  value: {
187
187
  tableData: s
@@ -197,7 +197,7 @@ const $ = Q(), { activeMenuPath: b } = B($), P = U(), { structureData: q } = B(P
197
197
  type: "data",
198
198
  systemKey: sessionStorage.getItem("systemKey"),
199
199
  pageKey: b.value,
200
- tableId: m.value
200
+ tableId: v.value
201
201
  },
202
202
  value: {
203
203
  tableData: s
@@ -209,7 +209,7 @@ const $ = Q(), { activeMenuPath: b } = B($), P = U(), { structureData: q } = B(P
209
209
  }, e).then((t) => {
210
210
  e && t && f.success(e + "成功");
211
211
  });
212
- }, F = (a) => {
212
+ }, O = (a) => {
213
213
  let e = [];
214
214
  return a == null || a.forEach((s) => {
215
215
  var t;
@@ -221,17 +221,17 @@ const $ = Q(), { activeMenuPath: b } = B($), P = U(), { structureData: q } = B(P
221
221
  };
222
222
  e = e.concat(n);
223
223
  }
224
- s.children && (e = e.concat(F(s.children)));
224
+ s.children && (e = e.concat(O(s.children)));
225
225
  }), e;
226
226
  }, ne = () => {
227
227
  d.value = {
228
- ...C.value,
229
- roleAuthority: F(p.value)
228
+ ...S.value,
229
+ roleAuthority: O(p.value)
230
230
  // ['a' + authorityIndex]: checkedKeys
231
- }, N(() => {
232
- console.log("clickSubmitAuthority", d.value, g.value), A(d.value, "编辑");
231
+ }, x(() => {
232
+ console.log("clickSubmitAuthority", d.value, g.value), w(d.value, "编辑");
233
233
  });
234
- }, u = T({
234
+ }, u = N({
235
235
  show: !1,
236
236
  title: "角色授权",
237
237
  width: "35%",
@@ -239,10 +239,10 @@ const $ = Q(), { activeMenuPath: b } = B($), P = U(), { structureData: q } = B(P
239
239
  }), oe = ({ isPenultimate: a }, e) => {
240
240
  var s, t;
241
241
  return console.log("isPenultimate", a, e), ((t = (s = e == null ? void 0 : e.data) == null ? void 0 : s.renderButtons) == null ? void 0 : t.length) > 0 ? "is-penultimate" : "";
242
- }, m = c(0), ce = async () => {
242
+ }, v = c(0), ce = async () => {
243
243
  var s, t, n, l, o;
244
244
  let a;
245
- const e = await x({
245
+ const e = await P({
246
246
  key: {
247
247
  systemKey: sessionStorage.getItem("systemKey"),
248
248
  type: "structure",
@@ -266,44 +266,45 @@ const $ = Q(), { activeMenuPath: b } = B($), P = U(), { structureData: q } = B(P
266
266
  var s, t, n;
267
267
  e.checkedButtons = a, ((s = e.checkedButtons) == null ? void 0 : s.length) === ((t = e.renderButtons) == null ? void 0 : t.length) ? r.value.push(e.path) : (a == null ? void 0 : a.length) === 0 && (r.value = (n = r.value) == null ? void 0 : n.filter((l) => l !== e.path));
268
268
  };
269
- v(() => r.value.length, () => {
269
+ D(() => r.value.length, () => {
270
270
  var e, s;
271
271
  const a = (e = k.value) == null ? void 0 : e.getCheckedKeys();
272
272
  console.log(112, r.value, a), (s = k.value) == null || s.setCheckedKeys([...r.value]);
273
273
  });
274
- v(() => u.show, (a) => {
275
- a || (p.value = M(p.value));
274
+ D(() => u.show, (a) => {
275
+ a || (p.value = R(p.value));
276
276
  });
277
- const R = K(() => {
277
+ const m = M(() => {
278
278
  var s;
279
- const a = (s = D(q.value)) == null ? void 0 : s.filter((t) => {
279
+ const a = (s = A(q.value)) == null ? void 0 : s.filter((t) => {
280
280
  var n, l;
281
281
  return ((l = (n = t == null ? void 0 : t.key) == null ? void 0 : n.pageKey) == null ? void 0 : l.toUpperCase()) !== "MENU";
282
282
  });
283
283
  return [...a == null ? void 0 : a.map((t) => {
284
- var o, y, S, w;
284
+ var o, y, I, K;
285
285
  const n = /button/i;
286
- let l = (S = (y = (o = t == null ? void 0 : t.value) == null ? void 0 : o.pageData) == null ? void 0 : y.compData) == null ? void 0 : S.filter((h) => n.test(h == null ? void 0 : h.key));
286
+ let l = (I = (y = (o = t == null ? void 0 : t.value) == null ? void 0 : o.pageData) == null ? void 0 : y.compData) == null ? void 0 : I.filter((h) => n.test(h == null ? void 0 : h.key));
287
287
  return l = Array.from(
288
288
  new Set(l == null ? void 0 : l.flatMap((h) => h.contents.map((j) => j.label)))
289
289
  ), {
290
- path: (w = t == null ? void 0 : t.key) == null ? void 0 : w.pageKey,
290
+ path: (K = t == null ? void 0 : t.key) == null ? void 0 : K.pageKey,
291
291
  buttons: l
292
292
  };
293
- }), ...O.value];
294
- }), O = c([]), _ = (a, e) => {
293
+ }), ..._.value];
294
+ }), _ = c([]), B = (a, e) => {
295
295
  if (Array.isArray(a))
296
296
  return a == null ? void 0 : a.map((s) => {
297
297
  var n, l;
298
298
  const t = e == null ? void 0 : e.find((o) => (o == null ? void 0 : o.path) === (s == null ? void 0 : s.path));
299
- return s.children && s.children.length > 0 ? {
299
+ return s.childMenus && s.childMenus.length > 0 ? {
300
300
  ...s,
301
301
  renderButtons: s.carryData ? (n = t == null ? void 0 : t.buttons) == null ? void 0 : n.map((o) => ({
302
302
  title: o,
303
303
  path: s.path + "/" + o
304
304
  })) : [],
305
305
  checkedButtons: [],
306
- children: _(s.children, R.value)
306
+ children: B(s.childMenus, m.value),
307
+ childMenus: B(s.childMenus, m.value)
307
308
  } : {
308
309
  ...s,
309
310
  renderButtons: s.carryData ? (l = t == null ? void 0 : t.buttons) == null ? void 0 : l.map((o) => ({
@@ -329,17 +330,17 @@ const R = K(() => {
329
330
  }
330
331
  ]
331
332
  };
332
- v(() => J.value, (a) => {
333
+ D(() => J.value, (a) => {
333
334
  var e;
334
335
  a && (a == null ? void 0 : a.length) > 0 && (g.value = (e = a == null ? void 0 : a[0]) == null ? void 0 : e.compData);
335
336
  });
336
337
  const be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
337
338
  __proto__: null,
338
- addButtonsToTree: _,
339
+ addButtonsToTree: B,
339
340
  authorizeDialog: u,
340
341
  buttonValue: X,
341
342
  changedRow: d,
342
- clickRow: C,
343
+ clickRow: S,
343
344
  clickRowButton: ae,
344
345
  clickSubmitAuthority: ne,
345
346
  closeAuthorizeDialog: se,
@@ -357,11 +358,11 @@ const be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
357
358
  pageData: g,
358
359
  pageDataFiltered: ee,
359
360
  queryFormData: W,
360
- structureButtons: R,
361
- structureId: m,
362
- submitTableAsyncByVerify: A,
361
+ structureButtons: m,
362
+ structureId: v,
363
+ submitTableAsyncByVerify: w,
363
364
  tempRolePageData: ie,
364
- tempSysMenus: O,
365
+ tempSysMenus: _,
365
366
  treeRef: k
366
367
  }, Symbol.toStringTag, { value: "Module" }));
367
368
  export {
@@ -1,10 +1,10 @@
1
- import { _ } from "./index.vue_vue_type_style_index_0_scoped_3a02a8a3_lang-Cs21Q0vD.js";
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";
1
+ import { _ } from "./index.vue_vue_type_style_index_0_scoped_793e60b5_lang-DMT4NCUD.js";
2
+ import { resolveComponent as l, createElementBlock as s, openBlock as t, Fragment as i, 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" };
5
- function I(n, m, w, B, $, p) {
6
- const d = i("svg-icon"), C = i("ssMenu"), M = i("ssDialog");
7
- return t(), s(l, null, [
5
+ function I(n, m, w, B, $, b) {
6
+ const d = l("svg-icon"), C = l("ssMenu"), M = l("ssDialog");
7
+ return t(), s(i, null, [
8
8
  a(C, {
9
9
  mode: n.mode,
10
10
  menuList: n.renderMenuList,
@@ -14,7 +14,7 @@ function I(n, m, w, B, $, p) {
14
14
  }, {
15
15
  title: u(({ menu: e }) => [
16
16
  a(d, {
17
- name: e.icon ?? "Edit",
17
+ name: e.icon ?? "",
18
18
  class: "menu-icon"
19
19
  }, null, 8, ["name"]),
20
20
  r("span", {
@@ -22,10 +22,10 @@ function I(n, m, w, B, $, p) {
22
22
  class: "menu-title"
23
23
  }, c(e.title ?? ""), 9, D),
24
24
  r("span", v, [
25
- (t(!0), s(l, null, g(e == null ? void 0 : e.config, (o) => (t(), f(d, {
25
+ (t(!0), s(i, null, g(e == null ? void 0 : e.config, (o) => (t(), f(d, {
26
26
  key: o.id,
27
27
  name: o == null ? void 0 : o.menuIcon,
28
- onClick: (L) => n.clickMenuIcon(o)
28
+ onClick: (p) => n.clickMenuIcon(o)
29
29
  }, null, 8, ["name", "onClick"]))), 128))
30
30
  ])
31
31
  ]),
@@ -40,7 +40,7 @@ function I(n, m, w, B, $, p) {
40
40
  }, {
41
41
  default: u(() => [
42
42
  r("div", y, [
43
- (t(!0), s(l, null, g(n.dialogRenderComps, (e) => (t(), s("div", {
43
+ (t(!0), s(i, null, g(n.dialogRenderComps, (e) => (t(), s("div", {
44
44
  key: e.id
45
45
  }, [
46
46
  (t(), f(h(n.getComponents((e == null ? void 0 : e.comp) ?? "Input")), {
@@ -57,7 +57,7 @@ function I(n, m, w, B, $, p) {
57
57
  }, 8, ["title", "visible", "width", "onBeforeDestroy"])
58
58
  ], 64);
59
59
  }
60
- const N = /* @__PURE__ */ k(_, [["render", I], ["__scopeId", "data-v-3a02a8a3"]]);
60
+ const N = /* @__PURE__ */ k(_, [["render", I], ["__scopeId", "data-v-793e60b5"]]);
61
61
  export {
62
62
  N as default
63
63
  };
@@ -1 +1 @@
1
- "use strict";const c=require("vue"),r=require("./menu-Da5Ht5hG.cjs"),F=require("./login-CDUTeSY_.cjs"),q=require("./index-zvArGV4H.cjs"),D=require("./cloneDeep-CYcGhlzG.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;
1
+ "use strict";const c=require("vue"),r=require("./menu-D5xJyUaN.cjs"),F=require("./login-CwfuFnfe.cjs"),q=require("./index-CQVuLLHO.cjs"),m=require("./cloneDeep-CPOca9Pa.cjs"),z=r.useMenuState(),{activeMenuPath:b}=r.storeToRefs(z),T=F.useLoginState(),{structureData:O}=r.storeToRefs(T),_=q.useModelComp(),{itemData:j}=r.storeToRefs(_),H=c.ref([{label:"角色名称",value:"",name:"roleName"}]),L=c.ref([{label:"查询"},{label:"重置"}]),I=c.reactive({isFilter:!1,filterForm:{}}),Q=c.ref(!1),U=a=>{console.log("handleQueryChange",a),I.isFilter=!0,I.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=>{C(a.singleContent,a.buttonName)},A=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 T.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)}},K=(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&&K(t.children,e)})})},M=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=M(l.children)),l}),G=async(a,e)=>{switch(A.value=m.cloneDeep(e),a){case"授权":u.title=`【${e.roleName}】授权`,u.show=!0,await c.nextTick(),e.roleAuthority&&Array.isArray(e.roleAuthority)&&K(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}})},C=(a,e)=>{const l=m.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+"成功")})},P=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(P(l.children)))}),e},X=()=>{d.value={...A.value,roleAuthority:P(p.value)},c.nextTick(()=>{console.log("clickSubmitAuthority",d.value,f.value),C(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),x=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=M(p.value))});const D=c.computed(()=>{var l;const a=(l=m.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,S,w;const n=/button/i;let s=(S=(y=(o=t==null?void 0:t.value)==null?void 0:o.pageData)==null?void 0:y.compData)==null?void 0:S.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:(w=t==null?void 0:t.key)==null?void 0:w.pageKey,buttons:s}}),...E.value]}),E=c.ref([]),B=(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.childMenus&&l.childMenus.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:B(l.childMenus,D.value),childMenus:B(l.childMenus,D.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:B,authorizeDialog:u,buttonValue:L,changedRow:d,clickRow:A,clickRowButton:G,clickSubmitAuthority:X,closeAuthorizeDialog:J,customNodeClass:Y,getActivePageStructureId:x,getPageDataAsync:W,handleItemDataChange:$,handleNodeBtnChange:te,handleNodeCheckChange:ee,handleQueryChange:U,handleSubmitAsync:g,isPageDataExist:Q,menuData:p,menusButtons:Z,pageData:f,pageDataFiltered:V,queryFormData:H,structureButtons:D,structureId:v,submitTableAsyncByVerify:C,tempRolePageData:N,tempSysMenus:E,treeRef:k},Symbol.toStringTag,{value:"Module"}));exports.State=ae;exports.authorizeDialog=u;exports.getActivePageStructureId=x;exports.tempRolePageData=N;
@@ -1,11 +1,11 @@
1
1
  import { createElementBlock as M, openBlock as L, createElementVNode as Q, renderSlot as u, defineComponent as Z, ref as m, resolveComponent as r, createVNode as S, withCtx as i, reactive as T, watch as N, unref as v, toDisplayString as k, createTextVNode as j } from "vue";
2
2
  import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- import { u as EA, l as IA } from "./index-DmyMy020.js";
3
+ import { u as EA, l as IA } from "./index-C_UMgplo.js";
4
4
  import { useRouter as gA } from "vue-router";
5
- import { u as CA } from "./login-DMbjMzkS.js";
6
- import { a as BA, E as Y, b as QA, g as G } from "./menu-D_3gHkG4.js";
7
- import { p as iA } from "./index-Qx0GuwHr.js";
8
- import { v as oA } from "./index-CdOw3chz.js";
5
+ import { u as CA } from "./login-Ckl_FEjw.js";
6
+ import { a as BA, E as Y, b as QA, g as G } from "./menu-T8Bl1DLB.js";
7
+ import { p as iA } from "./index-BPJYnqZM.js";
8
+ import { v as oA } from "./index-CR_qR8Ri.js";
9
9
  import { d as cA } from "./crypto-BRyGpjGR.js";
10
10
  const RA = {}, nA = { class: "header-wrapper" }, wA = { class: "header-horizontal" }, eA = { class: "header-logo" }, sA = { class: "header-cTitle" }, SA = { class: "header-horizontal" }, tA = { class: "header-eTitle" };
11
11
  function JA(J, l) {
@@ -491,7 +491,7 @@ const NA = { class: "login-wrap" }, pA = { class: "login-header" }, TA = { class
491
491
  ]);
492
492
  };
493
493
  }
494
- }), iE = /* @__PURE__ */ z(qA, [["__scopeId", "data-v-5799780d"]]);
494
+ }), iE = /* @__PURE__ */ z(qA, [["__scopeId", "data-v-37c5107b"]]);
495
495
  export {
496
496
  iE as default
497
497
  };
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as n, reactive as r, onMounted as s, createElementBlock as c, openBlock as i, createVNode as t } from "vue";
2
- import { b as m } from "./index-Od7_9YnM.js";
3
- import { K as l } from "./index-C_LjwD8t.js";
4
- import { S as u } from "./index-DGFAibP8.js";
5
- import { u as d, s as p } from "./menu-D_3gHkG4.js";
6
- import { u as f } from "./login-DMbjMzkS.js";
7
- import { g } from "./index-PCCtRzDJ.js";
2
+ import { d as m } from "./index-DPReVv8t.js";
3
+ import { K as l } from "./index-BtC_6cNa.js";
4
+ import { S as u } from "./index-Dj6pL6nL.js";
5
+ import { u as d, s as p } from "./menu-T8Bl1DLB.js";
6
+ import { u as f } from "./login-Ckl_FEjw.js";
7
+ import { g } from "./index-CgSQmkvY.js";
8
8
  import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  const _ = { class: "role-wrapper" }, C = /* @__PURE__ */ n({
10
10
  __name: "index",
@@ -1 +1 @@
1
- "use strict";const s=require("./menu-Da5Ht5hG.cjs"),x=require("./index-Bwgh1tDh.cjs"),q=require("./login-CDUTeSY_.cjs"),I=require("vue"),w=s.useMenuState(x.pinia),v=q.useLoginState(x.pinia),D=I.ref(!1),E=I.ref(!1),P=async()=>{const K=s.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:"menu"}}),M=s.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure"}});return await Promise.all([K,M]).then(a=>{var r,u,n,o,i,l,c,g,y,d,S,f,m,p;const t=a==null?void 0:a[0],e=a==null?void 0:a[1];if(t.data.code===200){const h=(c=(l=(i=(o=(n=(u=(r=t==null?void 0:t.data)==null?void 0:r.result)==null?void 0:u[0])==null?void 0:n.value)==null?void 0:o.pageData)==null?void 0:i.compData)==null?void 0:l[0])==null?void 0:c.contents;w.setRawMenus(h??[]),D.value=((g=t==null?void 0:t.data)==null?void 0:g.result)&&((d=(y=t==null?void 0:t.data)==null?void 0:y.result)==null?void 0:d.length)>0}else s.ElMessage.error("获取模型菜单响应失败");e.data.code===200?e.data.result&&((S=e.data.result)==null?void 0:S.length)>0&&(v.setStructureData(e.data.result),v.setIsStructureExist(!0),E.value=((f=e==null?void 0:e.data)==null?void 0:f.result)&&((p=(m=e==null?void 0:e.data)==null?void 0:m.result)==null?void 0:p.length)>0):s.ElMessage.error("获取模型结构响应失败")}),{menuExist:D.value,structureExist:E.value}};exports.verifyStructureDataToStore=P;
1
+ "use strict";const s=require("./menu-D5xJyUaN.cjs"),x=require("./index-38Z_RM6f.cjs"),q=require("./login-CwfuFnfe.cjs"),I=require("vue"),w=s.useMenuState(x.pinia),v=q.useLoginState(x.pinia),D=I.ref(!1),E=I.ref(!1),P=async()=>{const K=s.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:"menu"}}),M=s.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure"}});return await Promise.all([K,M]).then(a=>{var r,u,n,o,i,l,c,g,y,d,S,f,m,p;const t=a==null?void 0:a[0],e=a==null?void 0:a[1];if(t.data.code===200){const h=(c=(l=(i=(o=(n=(u=(r=t==null?void 0:t.data)==null?void 0:r.result)==null?void 0:u[0])==null?void 0:n.value)==null?void 0:o.pageData)==null?void 0:i.compData)==null?void 0:l[0])==null?void 0:c.contents;w.setRawMenus(h??[]),D.value=((g=t==null?void 0:t.data)==null?void 0:g.result)&&((d=(y=t==null?void 0:t.data)==null?void 0:y.result)==null?void 0:d.length)>0}else s.ElMessage.error("获取模型菜单响应失败");e.data.code===200?e.data.result&&((S=e.data.result)==null?void 0:S.length)>0&&(v.setStructureData(e.data.result),v.setIsStructureExist(!0),E.value=((f=e==null?void 0:e.data)==null?void 0:f.result)&&((p=(m=e==null?void 0:e.data)==null?void 0:m.result)==null?void 0:p.length)>0):s.ElMessage.error("获取模型结构响应失败")}),{menuExist:D.value,structureExist:E.value}};exports.verifyStructureDataToStore=P;