ss-component-new 1.1.237 → 1.1.239
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-DI6hm2O5.cjs → array-D-J_e91G.cjs} +1 -1
- package/dist/{array-XiW93OPp.js → array-DAwa7XAV.js} +8 -8
- package/dist/{cloneDeep-DD6IIacv.js → cloneDeep-BcK4cO7a.js} +1 -1
- package/dist/{cloneDeep-CJYxvbkp.cjs → cloneDeep-kbsGGN_Q.cjs} +1 -1
- package/dist/{index-BfFcoIcW.js → index-3g7rW5vQ.js} +1 -1
- package/dist/{index-ItBGckSL.cjs → index-5JXCiHw3.cjs} +1 -1
- package/dist/{index-BxOh6BEJ.js → index-8hwiS85r.js} +5 -5
- package/dist/{index-Ya4rFbSY.cjs → index-B2KK3HzA.cjs} +1 -1
- package/dist/{index-DRxCMsAf.js → index-B66Qf5rw.js} +6 -6
- package/dist/{index-C0dpqsuW.js → index-B9K0EIpS.js} +5 -5
- package/dist/{index-DkotFjz2.js → index-BAWROpdj.js} +1 -1
- package/dist/{index-C4DMm-9q.cjs → index-BFPZALXc.cjs} +1 -1
- package/dist/{index-DhHo9ub3.js → index-BMrHnCTf.js} +4 -4
- package/dist/{index-Bs4dpkna.cjs → index-BOzSvFJA.cjs} +1 -1
- package/dist/{index-BYxKXFVW.cjs → index-BUga6nNK.cjs} +1 -1
- package/dist/{index-D5HzgxVF.cjs → index-BZHxtM--.cjs} +1 -1
- package/dist/{index-DIBaD8Dz.js → index-B_VMMfxb.js} +3 -3
- package/dist/{index-D0S1Fwnn.cjs → index-BdiQsOpb.cjs} +1 -1
- package/dist/index-Be4n2ecn.js +906 -0
- package/dist/{index-CnbFplgw.cjs → index-BhOckTgC.cjs} +1 -1
- package/dist/{index-BOcg5OyD.js → index-Bkc0R0j5.js} +89 -93
- package/dist/{index-CbTnDm6Y.js → index-BoA0FuEi.js} +7 -7
- package/dist/{index-xzKwlwN1.cjs → index-C3UTqVyv.cjs} +11 -11
- package/dist/{index-BoGW0rHI.js → index-C7Y_BQCw.js} +7 -7
- package/dist/{index-DrDjMudp.js → index-C8nLtJQB.js} +6 -6
- package/dist/{index-C6r0D7bs.js → index-CG01yKU1.js} +367 -353
- package/dist/{index-lSUKeup-.cjs → index-CK7nt4bL.cjs} +1 -1
- package/dist/{index-CJCpFXP6.cjs → index-CQ0bJWFx.cjs} +1 -1
- package/dist/{index-DSx-_9X6.cjs → index-CWsALJ8f.cjs} +1 -1
- package/dist/{index-BaXDQtLf.cjs → index-Cbj_oJPC.cjs} +1 -1
- package/dist/{index-Qvf8lEEi.js → index-CgxSbKBz.js} +4 -4
- package/dist/{index-C2Yo86eF.js → index-CiTgFX9o.js} +7 -7
- package/dist/{index-Dzd-BSIy.cjs → index-CoH0G-uS.cjs} +1 -1
- package/dist/{index-BvPVHCZ9.cjs → index-CrSVdnus.cjs} +1 -1
- package/dist/{index-CRFv3mU8.js → index-CrdlZPHq.js} +4 -4
- package/dist/{index-Cu4Nrk6I.js → index-D-auhS5f.js} +3 -3
- package/dist/{index-CqvUtrx4.cjs → index-D0FNjq6G.cjs} +1 -1
- package/dist/{index-XfC1YU_R.cjs → index-D0hUHQHn.cjs} +1 -1
- package/dist/{index-BjgJwjU0.js → index-DRcuI2gm.js} +4 -4
- package/dist/{index-BP6-wpOt.js → index-DX3jtjLG.js} +3 -3
- package/dist/{index-4oU6C2JI.js → index-DcymGmWj.js} +1 -1
- package/dist/{index-pdOAGERi.cjs → index-DqLOgQsT.cjs} +1 -1
- package/dist/{index-BRtYsist.js → index-DreX5xyP.js} +5 -5
- package/dist/{index-Gd5o0mO3.js → index-Du-s_IGe.js} +1 -1
- package/dist/{index-DBbaEqVU.cjs → index-DxzvUr7M.cjs} +1 -1
- package/dist/{index-Bg25SwqX.cjs → index-FX9zIOBz.cjs} +1 -1
- package/dist/{index-BR4fdQ1R.js → index-FaQ9vBep.js} +4 -4
- package/dist/{index-rKrFVhox.cjs → index-Gc1epwAE.cjs} +1 -1
- package/dist/{index-CCJsj4V5.cjs → index-GlyYi8eO.cjs} +1 -1
- package/dist/{index-DI7LyQuc.js → index-NdocPiqA.js} +9 -9
- package/dist/{index-DMKQK1ps.js → index-P_6AmAJ6.js} +1 -1
- package/dist/{index-_PQG-wQ3.cjs → index-V9D4K_Sf.cjs} +1 -1
- package/dist/index-VVRul53o.cjs +1 -0
- package/dist/{index-BTwMwAiQ.cjs → index-bC_377mt.cjs} +2 -2
- package/dist/{index.vue_vue_type_script_setup_true_lang-DUR36an7.cjs → index.vue_vue_type_script_setup_true_lang-7hOFb1P0.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CRHsd8hz.js → index.vue_vue_type_script_setup_true_lang-DVmAEsPP.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_11cfc8a8_lang-DawuGbvY.cjs → index.vue_vue_type_style_index_0_scoped_11a5120d_lang-DI887Xui.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_11cfc8a8_lang-CND-nizm.js → index.vue_vue_type_style_index_0_scoped_11a5120d_lang-Rrc8X2Wa.js} +6 -6
- package/dist/index.vue_vue_type_style_index_0_scoped_aefda2d8_lang-CMvvh_Fa.js +612 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_aefda2d8_lang-Df3FKHF1.cjs +1 -0
- package/dist/{login-5hYAfzY7.cjs → login-C0pHH-1V.cjs} +1 -1
- package/dist/{login-C8oHBbmr.js → login-CbLjVnvi.js} +2 -2
- package/dist/{main-B6KpGooi.js → main-DLdZKJUK.js} +6 -6
- package/dist/{main-BrPLM7nL.cjs → main-wtI2yJ--.cjs} +1 -1
- package/dist/{menu-G9lGQLbm.js → menu-CAlO6ojx.js} +4 -4
- package/dist/{menu-BCqnRbPI.cjs → menu-LlBjM6b8.cjs} +3 -3
- package/dist/{modelComp-DWhwoJ78.cjs → modelComp-Af3CYJjb.cjs} +1 -1
- package/dist/{modelComp-CYG_7mmb.js → modelComp-D9gZ6ZkE.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 +2 -2
- 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-BeiMmjtu.js +0 -913
- package/dist/index-Ctlqzbp7.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_4d31b674_lang-C0YpKhME.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_4d31b674_lang-C6BHHnmI.js +0 -563
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as N, computed as $, ref as b, watch as F, createElementBlock as x, openBlock as p, createVNode as h, createElementVNode as P, withCtx as u, createTextVNode as E, toDisplayString as B, resolveComponent as k, createBlock as U, Fragment as O, renderList as V, normalizeStyle as z } from "vue";
|
|
2
|
-
import { _ as R } from "./index.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { d as q, u as j } from "./index-
|
|
4
|
-
import { E as T } from "./menu-
|
|
2
|
+
import { _ as R } from "./index.vue_vue_type_script_setup_true_lang-DVmAEsPP.js";
|
|
3
|
+
import { d as q, u as j } from "./index-P_6AmAJ6.js";
|
|
4
|
+
import { E as T } from "./menu-CAlO6ojx.js";
|
|
5
5
|
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import { S as H } from "./index-
|
|
6
|
+
import { S as H } from "./index-Bkc0R0j5.js";
|
|
7
7
|
import { S as M } from "./index-BHtNKL1L.js";
|
|
8
8
|
const W = { class: "avatar-model-wrap" }, D = /* @__PURE__ */ N({
|
|
9
9
|
__name: "index",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),r=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),r=require("./index-bC_377mt.cjs"),c=require("./index-C3UTqVyv.cjs"),s=require("./index-Gc1epwAE.cjs"),n=require("./menu-LlBjM6b8.cjs"),i=require("./login-C0pHH-1V.cjs"),u=require("./index-Cbj_oJPC.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,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("vue"),l=require("./index-
|
|
1
|
+
"use strict";const t=require("vue"),l=require("./index-CWsALJ8f.cjs"),Nt=require("./typescript-PERVJsDy.cjs"),H=require("./cloneDeep-kbsGGN_Q.cjs"),it=require("./index.vue_vue_type_script_setup_true_lang-7hOFb1P0.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=H.defineProperty?function(e,n){return H.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)||H.isArguments(e)||!!(Ue&&e&&e[Ue])}function Ht(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)?H.arrayPush(a,u):a[a.length]=u}return a}function Dt(e){var n=e==null?0:e.length;return n?Ht(e):[]}function $t(e){return Ot(Pt(e,void 0,Dt),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&&H.isLength(a)&&H.isIndex(i,a)&&(l.isArray(e)||H.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 m=u[p];d=void 0,d===void 0&&(d=l.isObject(m)?m:H.isIndex(n[a+1])?[]:{})}H.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=$t(function(e,n){return e==null?{}:Gt(e,n)});const Ee="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(([v,w])=>M==null?void 0:M.style.setProperty(v,w)),Object.entries(Jt).forEach(([v,w])=>M==null?void 0:M.style.setProperty(v,w,"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 m=M.scrollHeight-a;if(l.isNumber(n)){let v=m*n;i==="border-box"&&(v=v+a+s),p=Math.max(v,p),d.minHeight=`${v}px`}if(l.isNumber(o)){let v=m*o;i==="border-box"&&(v=v+a+s),p=Math.min(v,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={[Ee]: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(()=>({})))},Be=Symbol("formContextKey"),lt=Symbol("formItemContextKey"),Ce={prefix:Math.floor(Math.random()*1e4),current:0},ln=Symbol("elIdInjection"),un=()=>t.getCurrentInstance()?t.inject(ln,Ce):Ce,we=e=>{const n=un();!l.isClient&&n===Ce&&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 e=require("vue"),B=require("./array-
|
|
1
|
+
"use strict";const e=require("vue"),B=require("./array-D-J_e91G.cjs"),y=require("./index-CrSVdnus.cjs"),V=require("./modelComp-Af3CYJjb.cjs"),g=require("./menu-LlBjM6b8.cjs"),E=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v=require("./cloneDeep-kbsGGN_Q.cjs"),O=require("./index-C31XRLFj.cjs"),R=require("./index-bC_377mt.cjs"),b=require("./index-BUga6nNK.cjs"),L={class:"type-select"},U=["onClick"],z={class:"list-icon"},H={__name:"index",setup(N){const d=V.useModelComp(y.pinia),{itemData:s}=g.storeToRefs(d),f=_=>{const p=v.cloneDeep(s.value);p.push({comp:_.comp,name:_.name,compData:[]}),d.setItemData(p)};return(_,p)=>{const a=e.resolveComponent("svg-icon");return e.openBlock(),e.createElementBlock("div",L,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(B.slotContent),(C,m)=>(e.openBlock(),e.createElementBlock("div",{class:"type-list",key:m},[e.createElementVNode("div",{class:"list-content",onClick:k=>f(C)},[e.createElementVNode("div",z,[e.createVNode(a,{name:C.icon},null,8,["name"])]),e.createElementVNode("div",null,e.toDisplayString(C.name),1)],8,U)]))),128))])}}},j=E._export_sfc(H,[["__scopeId","data-v-1f87163f"]]),A={class:"fill-content"},G={class:"operate-content"},J={class:"collapse-title-content"},K={class:"collapse-title-item"},P={key:1},Q=["onClick"],W={class:"icon-content"},X={key:0,class:"edit-content"},Y=["onClick"],Z={class:"comp-child"},ee={__name:"index",setup(N){const d=V.useModelComp(y.pinia),{itemData:s,originalData:f}=g.storeToRefs(d),_=e.ref([]);e.ref([]);const p=e.ref([]),a=e.ref([]),C=c=>{var l;let n=(l=v.cloneDeep(a.value))==null?void 0:l.map((t,o)=>(c===o&&(t.content=!0),t));a.value=n},m=c=>{var l;let n=(l=v.cloneDeep(a.value))==null?void 0:l.map((t,o)=>(c===o&&(t.content=!1),t));a.value=n,_.value=v.cloneDeep(s.value)},k=(c,n)=>{var u;let l=(u=v.cloneDeep(a.value))==null?void 0:u.map((i,h)=>(c===h&&(i.content=!1),i));a.value=l;const t=v.cloneDeep(s.value),o=t==null?void 0:t.filter((i,h)=>(h===c&&(i.name=n),i));d.setOriginalData(o),d.setItemData(o)};e.watch(()=>s.value,()=>{var c,n;!s.value||((c=s.value)==null?void 0:c.length)===0?_.value=[]:_.value=v.cloneDeep(s.value),p.value=_.value,a.value=(n=v.cloneDeep(p.value))==null?void 0:n.map((l,t)=>({id:t,content:!1}))},{deep:!0,immediate:!0});const M=c=>B.getComponent(c),T=(c,n,l)=>{var o;if(!c)return;let t=v.cloneDeep(s.value);t=t==null?void 0:t.map((u,i)=>(i===l&&(u.compData=c),u)),a.value=(o=v.cloneDeep(t))==null?void 0:o.map((u,i)=>({id:i,content:!1})),d.setOriginalData(t),d.setItemData(t)},F=c=>{b.ElMessageBox.confirm("是否确认要删除","",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{const n=v.cloneDeep(s.value),l=n==null?void 0:n.filter((t,o)=>o!==c);d.setOriginalData(l),d.setItemData(l),g.ElMessage({type:"success",message:"删除成功"})}).catch(()=>{})};return(c,n)=>{const l=e.resolveComponent("svg-icon");return e.openBlock(),e.createElementBlock("div",A,[n[1]||(n[1]=e.createElementVNode("div",{class:"fill-operate"},e.toDisplayString("操作栏"),-1)),e.createElementVNode("div",G,[e.createVNode(O.default,{class:"collapse-content",collapseContents:_.value},{title:e.withCtx(({item:t,index:o})=>{var u,i,h,D,w,x,$,I,S,q;return[e.createElementVNode("div",J,[e.createElementVNode("div",K,[(i=(u=a.value)==null?void 0:u.find(r=>r.id===o))!=null&&i.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"collapse-title",style:e.normalizeStyle({marginRight:t.name&&t.name!==""?"8px":"0px"})},e.toDisplayString(t.name),5)),(D=(h=a.value)==null?void 0:h.find(r=>r.id===o))!=null&&D.content?(e.openBlock(),e.createElementBlock("div",P,[e.createVNode(R._sfc_main,{modelValue:t.name,"onUpdate:modelValue":r=>t.name=r,onClick:n[0]||(n[0]=e.withModifiers(()=>{},["stop"]))},null,8,["modelValue","onUpdate:modelValue"])])):e.createCommentVNode("",!0),(x=(w=a.value)==null?void 0:w.find(r=>r.id===o))!=null&&x.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:2,onClick:e.withModifiers(r=>C(o),["stop"]),class:"icon-content"},[e.createVNode(l,{name:"Edit",style:{width:"16px",height:"16px"}})],8,Q))]),e.createElementVNode("div",W,[(I=($=a.value)==null?void 0:$.find(r=>r.id===o))!=null&&I.content?(e.openBlock(),e.createElementBlock("div",X,[e.createVNode(l,{name:"Cancel",style:{width:"16px",height:"16px"},class:"icon-content",onClick:e.withModifiers(r=>m(o),["stop"])},null,8,["onClick"]),e.createVNode(l,{name:"Save",onClick:e.withModifiers(r=>k(o,t.name),["stop"]),style:{width:"16px",height:"16px",fill:"var(--ssComponent-primary-color)"},class:"icon-content"},null,8,["onClick"])])):e.createCommentVNode("",!0),(q=(S=a.value)==null?void 0:S.find(r=>r.id===o))!=null&&q.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,onClick:e.withModifiers(r=>F(o),["stop"]),class:"icon-content"},[e.createVNode(l,{name:"Delete",style:{width:"16px",height:"16px"}})],8,Y))])])]}),content:e.withCtx(({item:t,index:o})=>{var u,i;return[e.createElementVNode("div",Z,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(M(t.comp+"Operate")),{itemContents:t==null?void 0:t.compData,originalItemContents:(i=(u=p.value)==null?void 0:u.find((h,D)=>D===o))==null?void 0:i.compData,onChange:h=>T(h,t,o)},null,40,["itemContents","originalItemContents","onChange"]))])]}),_:1},8,["collapseContents"])])])}}},te=E._export_sfc(ee,[["__scopeId","data-v-79b69637"]]),oe={key:0,class:"show-content"},ne={style:{display:"flex"}},le={__name:"index",setup(N){const d=V.useModelComp(y.pinia),{itemData:s}=g.storeToRefs(d),f=e.ref([]);e.watch(()=>s.value,()=>{var p;!s.value||((p=s.value)==null?void 0:p.length)===0?f.value=[]:f.value=v.cloneDeep(s.value)},{deep:!0,immediate:!0});const _=p=>B.getComponent(p);return(p,a)=>{var C;return((C=f.value)==null?void 0:C.length)>0?(e.openBlock(),e.createElementBlock("div",oe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,(m,k)=>(e.openBlock(),e.createElementBlock("div",{class:"item-content",key:k},[e.createElementVNode("div",ne,e.toDisplayString(m.name),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(_(m.comp)),{itemData:m==null?void 0:m.compData,childItemData:m==null?void 0:m.itemChildData,key:k},null,8,["itemData","childItemData"]))]))),128))])):e.createCommentVNode("",!0)}}},ce=E._export_sfc(le,[["__scopeId","data-v-bfa22d29"]]);exports.modelFill=te;exports.modelSelect=j;exports.modelShow=ce;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as c } from "./index.
|
|
1
|
+
import { _ as c } from "./index.vue_vue_type_style_index_0_scoped_11a5120d_lang-Rrc8X2Wa.js";
|
|
2
2
|
import { resolveComponent as o, createBlock as r, openBlock as a, withCtx as i, createVNode as u, createElementVNode as m, toDisplayString as p } from "vue";
|
|
3
3
|
import { _ as l } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
-
function
|
|
4
|
+
function d(e, M, _, f, C, k) {
|
|
5
5
|
const t = o("DynamicIcon"), s = o("ssMenu");
|
|
6
6
|
return a(), r(s, {
|
|
7
7
|
mode: e.mode,
|
|
@@ -19,7 +19,7 @@ function M(e, d, _, f, C, k) {
|
|
|
19
19
|
_: 1
|
|
20
20
|
}, 8, ["mode", "menuList", "onClickMenu", "onOpenMenu", "onCloseMenu"]);
|
|
21
21
|
}
|
|
22
|
-
const I = /* @__PURE__ */ l(c, [["render",
|
|
22
|
+
const I = /* @__PURE__ */ l(c, [["render", d], ["__scopeId", "data-v-11a5120d"]]);
|
|
23
23
|
export {
|
|
24
24
|
I as default
|
|
25
25
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./index-bC_377mt.cjs"),a=require("./index-C3UTqVyv.cjs"),r=require("./index-V9D4K_Sf.cjs"),o=require("./index-Cbj_oJPC.cjs"),s=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),c={class:"role-wrapper"},i=e.defineComponent({__name:"index",setup(d){const t=e.reactive({...r.State});return e.onMounted(async()=>{t.structureId=await o.getActivePageStructureId()}),(l,_)=>(e.openBlock(),e.createElementBlock("div",c,[e.createVNode(n.ssForm,{class:"role-header",rowContents:t.queryFormData,isEnableWrap:!1,isEdit:!0,onChange:t.handleQueryChange},null,8,["rowContents","onChange"]),e.createVNode(a.ssTable,{class:"role-body",itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}}),u=s._export_sfc(i,[["__scopeId","data-v-c1856cfa"]]);exports.default=u;
|