ss-component-new 1.1.231 → 1.1.232
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-C5HGTxrq.cjs → array-CX_klfYT.cjs} +1 -1
- package/dist/{array-CN5NUB-T.js → array-CcAct9KU.js} +10 -10
- package/dist/{cloneDeep-BxbMZD3z.cjs → cloneDeep-CktvOFQx.cjs} +1 -1
- package/dist/{cloneDeep-D3DwnHwP.js → cloneDeep-Dof88Xfu.js} +1 -1
- package/dist/{index-D4mH3gQk.js → index-1AAX7OWr.js} +1 -1
- package/dist/{index-BA8udoNI.cjs → index-6i92JFtr.cjs} +1 -1
- package/dist/{index-Bv6vr2Zd.cjs → index-B1ACt1r8.cjs} +1 -1
- package/dist/{index-DT8Ga96z.cjs → index-B1DkFC1_.cjs} +1 -1
- package/dist/{index-DKXGxMWO.cjs → index-B27v9fmq.cjs} +1 -1
- package/dist/{index-pdGS_R2F.cjs → index-B5ixqHZB.cjs} +1 -1
- package/dist/{index-j17TZ-pk.js → index-BHOafXrq.js} +6 -6
- package/dist/index-BNG8jvzJ.js +662 -0
- package/dist/{index-ACYchtYG.js → index-BP9e1URk.js} +7 -7
- package/dist/{index-C0oVM0ot.cjs → index-BS-dYA6V.cjs} +1 -1
- package/dist/{index-Ct4-iIdT.js → index-BS5q4oAa.js} +5 -5
- package/dist/{index-DP4wALaA.cjs → index-BaGt6aM0.cjs} +1 -1
- package/dist/{index-DySgK9CB.js → index-BdcivI0n.js} +9 -9
- package/dist/{index-DGeD_5JY.js → index-BhkmOuOr.js} +1 -1
- package/dist/{index-HqapK2sv.cjs → index-BoSTyMal.cjs} +1 -1
- package/dist/{index-C8daGuuW.js → index-By2WyWxQ.js} +3 -3
- package/dist/{index-xXjNoBIK.cjs → index-CD_V87KZ.cjs} +1 -1
- package/dist/{index-gyd-xWZ0.js → index-CFrZVme4.js} +4 -4
- package/dist/{index-CjXn7HNp.cjs → index-CP1rxlQW.cjs} +1 -1
- package/dist/{index-Bkx6PRMs.cjs → index-CRxtHDjt.cjs} +1 -1
- package/dist/{index-6wiLm5Bk.js → index-CRzDMz2f.js} +7 -7
- package/dist/{index-5hutjDp5.js → index-CTDvgz6D.js} +4 -4
- package/dist/{index-CGCYmU9-.js → index-CXHQlToy.js} +4 -4
- package/dist/{index-C5qD66VY.js → index-CewL0ZVN.js} +4 -4
- package/dist/{index-Bbs7Ne8f.js → index-CiGPupSC.js} +1 -1
- package/dist/{index-w5px5KSb.cjs → index-CpL7Ek4u.cjs} +1 -1
- package/dist/{index-_bbASESv.cjs → index-CrBfrGyt.cjs} +1 -1
- package/dist/{index-CGw505w9.cjs → index-Cy8P0O9s.cjs} +1 -1
- package/dist/{index-B63Pn6Hg.js → index-Cz4RyK4P.js} +5 -5
- package/dist/{index-CBHdhAzJ.cjs → index-D672QpxY.cjs} +1 -1
- package/dist/{index-CfhO79uP.js → index-D7bfd1SP.js} +6 -6
- package/dist/{index-Ck55iwwl.js → index-DAUiPeRo.js} +7 -7
- package/dist/{index-DfGXlHPF.js → index-DBVoOuwx.js} +5 -5
- package/dist/{index-D7mvse4R.js → index-DEdZZ43j.js} +1 -1
- package/dist/{index-BIFlJb7L.cjs → index-DFsguBq1.cjs} +1 -1
- package/dist/{index-CVChu-C7.cjs → index-DJkyWXUQ.cjs} +1 -1
- package/dist/{index-C9mooaGU.js → index-DTl2kpLh.js} +5 -5
- package/dist/{index-BQQAONK4.cjs → index-DXmlMdoB.cjs} +1 -1
- package/dist/{index-DrvDNl0B.cjs → index-Dt26RGyl.cjs} +1 -1
- package/dist/{index-zXisGnmY.js → index-DtJQBHbx.js} +1 -1
- package/dist/{index-C2kuvDNq.js → index-DvpoH0CQ.js} +7 -7
- package/dist/{index-CnOFaZqX.cjs → index-KAxfvpFC.cjs} +1 -1
- package/dist/{index-Bnn1Ry6O.cjs → index-MHmvswgz.cjs} +1 -1
- package/dist/{index-BUYADLGc.js → index-Q_XvzZ_1.js} +3 -3
- package/dist/index-SZd8Ei1D.cjs +1 -0
- package/dist/{index-CQqWo_KW.js → index-Z1xr-ejC.js} +1 -1
- package/dist/{index-P4pnokyn.cjs → index-kkjIPdQ2.cjs} +1 -1
- package/dist/{index-CfR5OTPe.cjs → index-sjkdiuXH.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-DE_ZH7hU.js → index.vue_vue_type_script_setup_true_lang-BTS3qCYJ.js} +4 -4
- package/dist/{index.vue_vue_type_script_setup_true_lang-DX22PCtX.cjs → index.vue_vue_type_script_setup_true_lang-Bg0LXFmQ.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-J6OxPOrB.js → index.vue_vue_type_script_setup_true_lang-CHN4GMRq.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-h50Jk1OD.cjs → index.vue_vue_type_script_setup_true_lang-D3T3IoTp.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_997b1786_lang-CGTiivri.cjs → index.vue_vue_type_style_index_0_scoped_997b1786_lang-BdYMXloP.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_997b1786_lang-3kijaVi0.js → index.vue_vue_type_style_index_0_scoped_997b1786_lang-BmL8jkus.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_cea2aaad_lang-CHhY6FTi.js → index.vue_vue_type_style_index_0_scoped_cea2aaad_lang-Ctz7x3hQ.js} +8 -8
- package/dist/{index.vue_vue_type_style_index_0_scoped_cea2aaad_lang-B_wYdLVt.cjs → index.vue_vue_type_style_index_0_scoped_cea2aaad_lang-Du4fk0u8.cjs} +1 -1
- package/dist/{login-DVqNuHre.js → login-DnqNwFzD.js} +2 -2
- package/dist/{login-Cqx7cGxv.cjs → login-TVZKm0bS.cjs} +1 -1
- package/dist/{main-zSU9LSQS.js → main-DqSAQJ-I.js} +6 -6
- package/dist/{main-CgE6H5s8.cjs → main-jkBzFk0x.cjs} +1 -1
- package/dist/{menu-Dpw1TOij.js → menu-DNjiqLiy.js} +1 -1
- package/dist/{menu-Dk7fArRs.cjs → menu-xHRrBcoq.cjs} +1 -1
- package/dist/{modelComp-9fow02FC.js → modelComp-BZYWE77x.js} +1 -1
- package/dist/{modelComp-DkIXje_8.cjs → modelComp-Dq1Brxk6.cjs} +1 -1
- 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/dist/index-CJvDpy4J.js +0 -653
- package/dist/index-D9GLl0Bb.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),k=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),k=require("./index-BaGt6aM0.cjs"),x=require("./index-Dt26RGyl.cjs"),i=require("./index-6i92JFtr.cjs"),u=require("./menu-xHRrBcoq.cjs"),f=require("./cloneDeep-CktvOFQx.cjs"),y=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),V={class:"role-wrapper"},w={class:"role-dialog-header"},b={class:"node-text"},D={class:"dialog-footer"},v=e.defineComponent({__name:"index",setup(N){const h=u.useMenuState(),{menus:p}=u.storeToRefs(h),t=e.reactive({...i.State}),{treeRef:g}=i.State;e.onMounted(async()=>{t.structureId=await t.getActivePageStructureId()});const _=l=>{const r=[l==null?void 0:l.find(n=>n.title==="系统管理")].flatMap(n=>n.children);return r==null?void 0:r.map(n=>({path:n.path,buttons:n.path==="/系统管理/个人中心"?["基本信息","上传头像","签名","修改密码"]:["新增","查看","编辑","删除"]}))};return e.watch(()=>p.value,l=>{e.nextTick(()=>{const o=f.cloneDeep(l);t.tempSysMenus=_(o),t.menuData=t.addButtonsToTree(o,t.structureButtons)})},{immediate:!0,deep:!0}),(l,o)=>{const r=e.resolveComponent("el-checkbox"),n=e.resolveComponent("el-checkbox-group"),m=e.resolveComponent("el-tree"),d=e.resolveComponent("el-button"),C=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",V,[e.createVNode(k.ssForm,{class:"role-header",rowContents:t.queryFormData,isEnableWrap:!0,isEdit:!0,onChange:t.handleQueryChange},null,8,["rowContents","onChange"]),e.createVNode(x.ssTable,{class:"role-body",itemData:t.pageDataFiltered,changedContent:t.changedRow,onChange:t.handleItemDataChange,onOnButtonClick:t.clickRowButton},null,8,["itemData","changedContent","onChange","onOnButtonClick"])]),e.createVNode(C,{modelValue:t.authorizeDialog.show,"onUpdate:modelValue":o[0]||(o[0]=s=>t.authorizeDialog.show=s),width:t.authorizeDialog.width,draggable:t.authorizeDialog.draggable,"before-close":t.closeAuthorizeDialog,class:"role-dialog"},{header:e.withCtx(()=>[e.createElementVNode("div",w,e.toDisplayString(t.authorizeDialog.title),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",D,[e.createVNode(d,{onClick:t.closeAuthorizeDialog},{default:e.withCtx(()=>o[1]||(o[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(d,{type:"primary",onClick:t.clickSubmitAuthority},{default:e.withCtx(()=>o[2]||(o[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),default:e.withCtx(()=>[e.createVNode(m,{class:"role-tree",ref_key:"treeRef",ref:g,data:t.menuData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"title",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"check-strictly":"",onCheckChange:t.handleNodeCheckChange,style:{height:"500px","overflow-y":"auto"}},{default:e.withCtx(({node:s,data:c})=>[e.createElementVNode("span",b,e.toDisplayString(s.label),1),e.createVNode(n,{modelValue:c.checkedButtons,"onUpdate:modelValue":a=>c.checkedButtons=a,onChange:a=>t.handleNodeBtnChange(a,c),class:"node-buttons"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.renderButtons,a=>(e.openBlock(),e.createBlock(r,{key:a.title,label:a.title,value:a.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.title),1)]),_:2},1032,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])]),_:1},8,["data","onCheckChange"])]),_:1},8,["modelValue","width","draggable","before-close"])],64)}}}),B=y._export_sfc(v,[["__scopeId","data-v-7991d6ed"]]);exports.default=B;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as r, computed as I, reactive as K, nextTick as T, watch as B } from "vue";
|
|
2
|
-
import { s as m, E as f, u as j } from "./menu-
|
|
3
|
-
import { g as N, c as z, u as H, d as L } from "./index-
|
|
4
|
-
import { u as Q } from "./login-
|
|
5
|
-
import { u as U } from "./modelComp-
|
|
6
|
-
import { c as D } from "./cloneDeep-
|
|
2
|
+
import { s as m, E as f, u as j } from "./menu-DNjiqLiy.js";
|
|
3
|
+
import { g as N, c as z, u as H, d as L } from "./index-DtJQBHbx.js";
|
|
4
|
+
import { u as Q } from "./login-DnqNwFzD.js";
|
|
5
|
+
import { u as U } from "./modelComp-BZYWE77x.js";
|
|
6
|
+
import { c as D } from "./cloneDeep-Dof88Xfu.js";
|
|
7
7
|
const V = j(), { activeMenuPath: b } = m(V), x = Q(), { structureData: $ } = m(x), q = U(), { itemData: G } = m(q), J = r([
|
|
8
8
|
{
|
|
9
9
|
label: "角色名称",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const a=require("vue"),we=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),dt=require("./cloneDeep-BxbMZD3z.cjs"),qt=require("./menu-Dk7fArRs.cjs"),gn=require("./index-Bkx6PRMs.cjs"),vn=require("./index.vue_vue_type_script_setup_true_lang-h50Jk1OD.cjs"),Ot=require("./index-_bbASESv.cjs");function yn(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var Ze={exports:{}},bn=Ze.exports,Nt;function _n(){return Nt||(Nt=1,function(o,t){(function(e,n){o.exports=n()})(bn,function(){var e=1e3,n=6e4,r=36e5,i="millisecond",l="second",s="minute",u="hour",c="day",d="week",f="month",y="quarter",g="year",h="date",v="Invalid Date",D=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,x=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(k){var E=["th","st","nd","rd"],b=k%100;return"["+k+(E[(b-20)%10]||E[b]||E[0])+"]"}},B=function(k,E,b){var C=String(k);return!C||C.length>=E?k:""+Array(E+1-C.length).join(b)+k},R={s:B,z:function(k){var E=-k.utcOffset(),b=Math.abs(E),C=Math.floor(b/60),S=b%60;return(E<=0?"+":"-")+B(C,2,"0")+":"+B(S,2,"0")},m:function k(E,b){if(E.date()<b.date())return-k(b,E);var C=12*(b.year()-E.year())+(b.month()-E.month()),S=E.clone().add(C,f),M=b-S<0,O=E.clone().add(C+(M?-1:1),f);return+(-(C+(b-S)/(M?S-O:O-S))||0)},a:function(k){return k<0?Math.ceil(k)||0:Math.floor(k)},p:function(k){return{M:f,y:g,w:d,d:c,D:h,h:u,m:s,s:l,ms:i,Q:y}[k]||String(k||"").toLowerCase().replace(/s$/,"")},u:function(k){return k===void 0}},U="en",m={};m[U]=p;var V="$isDayjsObject",w=function(k){return k instanceof ee||!(!k||!k[V])},T=function k(E,b,C){var S;if(!E)return U;if(typeof E=="string"){var M=E.toLowerCase();m[M]&&(S=M),b&&(m[M]=b,S=M);var O=E.split("-");if(!S&&O.length>1)return k(O[0])}else{var W=E.name;m[W]=E,S=W}return!C&&S&&(U=S),S||!C&&U},N=function(k,E){if(w(k))return k.clone();var b=typeof E=="object"?E:{};return b.date=k,b.args=arguments,new ee(b)},P=R;P.l=T,P.i=w,P.w=function(k,E){return N(k,{locale:E.$L,utc:E.$u,x:E.$x,$offset:E.$offset})};var ee=function(){function k(b){this.$L=T(b.locale,null,!0),this.parse(b),this.$x=this.$x||b.x||{},this[V]=!0}var E=k.prototype;return E.parse=function(b){this.$d=function(C){var S=C.date,M=C.utc;if(S===null)return new Date(NaN);if(P.u(S))return new Date;if(S instanceof Date)return new Date(S);if(typeof S=="string"&&!/Z$/i.test(S)){var O=S.match(D);if(O){var W=O[2]-1||0,Y=(O[7]||"0").substring(0,3);return M?new Date(Date.UTC(O[1],W,O[3]||1,O[4]||0,O[5]||0,O[6]||0,Y)):new Date(O[1],W,O[3]||1,O[4]||0,O[5]||0,O[6]||0,Y)}}return new Date(S)}(b),this.init()},E.init=function(){var b=this.$d;this.$y=b.getFullYear(),this.$M=b.getMonth(),this.$D=b.getDate(),this.$W=b.getDay(),this.$H=b.getHours(),this.$m=b.getMinutes(),this.$s=b.getSeconds(),this.$ms=b.getMilliseconds()},E.$utils=function(){return P},E.isValid=function(){return this.$d.toString()!==v},E.isSame=function(b,C){var S=N(b);return this.startOf(C)<=S&&S<=this.endOf(C)},E.isAfter=function(b,C){return N(b)<this.startOf(C)},E.isBefore=function(b,C){return this.endOf(C)<N(b)},E.$g=function(b,C,S){return P.u(b)?this[C]:this.set(S,b)},E.unix=function(){return Math.floor(this.valueOf()/1e3)},E.valueOf=function(){return this.$d.getTime()},E.startOf=function(b,C){var S=this,M=!!P.u(C)||C,O=P.p(b),W=function(Se,ne){var ve=P.w(S.$u?Date.UTC(S.$y,ne,Se):new Date(S.$y,ne,Se),S);return M?ve:ve.endOf(c)},Y=function(Se,ne){return P.w(S.toDate()[Se].apply(S.toDate("s"),(M?[0,0,0,0]:[23,59,59,999]).slice(ne)),S)},J=this.$W,Z=this.$M,se=this.$D,Ce="set"+(this.$u?"UTC":"");switch(O){case g:return M?W(1,0):W(31,11);case f:return M?W(1,Z):W(0,Z+1);case d:var Ee=this.$locale().weekStart||0,Oe=(J<Ee?J+7:J)-Ee;return W(M?se-Oe:se+(6-Oe),Z);case c:case h:return Y(Ce+"Hours",0);case u:return Y(Ce+"Minutes",1);case s:return Y(Ce+"Seconds",2);case l:return Y(Ce+"Milliseconds",3);default:return this.clone()}},E.endOf=function(b){return this.startOf(b,!1)},E.$set=function(b,C){var S,M=P.p(b),O="set"+(this.$u?"UTC":""),W=(S={},S[c]=O+"Date",S[h]=O+"Date",S[f]=O+"Month",S[g]=O+"FullYear",S[u]=O+"Hours",S[s]=O+"Minutes",S[l]=O+"Seconds",S[i]=O+"Milliseconds",S)[M],Y=M===c?this.$D+(C-this.$W):C;if(M===f||M===g){var J=this.clone().set(h,1);J.$d[W](Y),J.init(),this.$d=J.set(h,Math.min(this.$D,J.daysInMonth())).$d}else W&&this.$d[W](Y);return this.init(),this},E.set=function(b,C){return this.clone().$set(b,C)},E.get=function(b){return this[P.p(b)]()},E.add=function(b,C){var S,M=this;b=Number(b);var O=P.p(C),W=function(Z){var se=N(M);return P.w(se.date(se.date()+Math.round(Z*b)),M)};if(O===f)return this.set(f,this.$M+b);if(O===g)return this.set(g,this.$y+b);if(O===c)return W(1);if(O===d)return W(7);var Y=(S={},S[s]=n,S[u]=r,S[l]=e,S)[O]||1,J=this.$d.getTime()+b*Y;return P.w(J,this)},E.subtract=function(b,C){return this.add(-1*b,C)},E.format=function(b){var C=this,S=this.$locale();if(!this.isValid())return S.invalidDate||v;var M=b||"YYYY-MM-DDTHH:mm:ssZ",O=P.z(this),W=this.$H,Y=this.$m,J=this.$M,Z=S.weekdays,se=S.months,Ce=S.meridiem,Ee=function(ne,ve,Ne,Xe){return ne&&(ne[ve]||ne(C,M))||Ne[ve].slice(0,Xe)},Oe=function(ne){return P.s(W%12||12,ne,"0")},Se=Ce||function(ne,ve,Ne){var Xe=ne<12?"AM":"PM";return Ne?Xe.toLowerCase():Xe};return M.replace(x,function(ne,ve){return ve||function(Ne){switch(Ne){case"YY":return String(C.$y).slice(-2);case"YYYY":return P.s(C.$y,4,"0");case"M":return J+1;case"MM":return P.s(J+1,2,"0");case"MMM":return Ee(S.monthsShort,J,se,3);case"MMMM":return Ee(se,J);case"D":return C.$D;case"DD":return P.s(C.$D,2,"0");case"d":return String(C.$W);case"dd":return Ee(S.weekdaysMin,C.$W,Z,2);case"ddd":return Ee(S.weekdaysShort,C.$W,Z,3);case"dddd":return Z[C.$W];case"H":return String(W);case"HH":return P.s(W,2,"0");case"h":return Oe(1);case"hh":return Oe(2);case"a":return Se(W,Y,!0);case"A":return Se(W,Y,!1);case"m":return String(Y);case"mm":return P.s(Y,2,"0");case"s":return String(C.$s);case"ss":return P.s(C.$s,2,"0");case"SSS":return P.s(C.$ms,3,"0");case"Z":return O}return null}(ne)||O.replace(":","")})},E.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},E.diff=function(b,C,S){var M,O=this,W=P.p(C),Y=N(b),J=(Y.utcOffset()-this.utcOffset())*n,Z=this-Y,se=function(){return P.m(O,Y)};switch(W){case g:M=se()/12;break;case f:M=se();break;case y:M=se()/3;break;case d:M=(Z-J)/6048e5;break;case c:M=(Z-J)/864e5;break;case u:M=Z/r;break;case s:M=Z/n;break;case l:M=Z/e;break;default:M=Z}return S?M:P.a(M)},E.daysInMonth=function(){return this.endOf(f).$D},E.$locale=function(){return m[this.$L]},E.locale=function(b,C){if(!b)return this.$L;var S=this.clone(),M=T(b,C,!0);return M&&(S.$L=M),S},E.clone=function(){return P.w(this.$d,this)},E.toDate=function(){return new Date(this.valueOf())},E.toJSON=function(){return this.isValid()?this.toISOString():null},E.toISOString=function(){return this.$d.toISOString()},E.toString=function(){return this.$d.toUTCString()},k}(),q=ee.prototype;return N.prototype=q,[["$ms",i],["$s",l],["$m",s],["$H",u],["$W",c],["$M",f],["$y",g],["$D",h]].forEach(function(k){q[k[1]]=function(E){return this.$g(E,k[0],k[1])}}),N.extend=function(k,E){return k.$i||(k(E,ee,N),k.$i=!0),N},N.locale=T,N.isDayjs=w,N.unix=function(k){return N(1e3*k)},N.en=m[U],N.Ls=m,N.p={},N})}(Ze)),Ze.exports}var wn=_n();const It=yn(wn),Jt={__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},setup(o){const t=o,e=a.ref(t.value);return(n,r)=>{const i=a.resolveComponent("el-switch");return a.openBlock(),a.createBlock(i,{modelValue:e.value,"onUpdate:modelValue":r[0]||(r[0]=l=>e.value=l),"active-color":"#13ce66","inactive-color":"#ff4949"},null,8,["modelValue"])}}},Kt={__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},setup(o){const t=o,e=a.ref(t.value);return(n,r)=>{const i=a.resolveComponent("el-input");return a.openBlock(),a.createBlock(i,{modelValue:e.value,"onUpdate:modelValue":r[0]||(r[0]=l=>e.value=l),disabled:!(t!=null&&t.isEdit),clearable:""},null,8,["modelValue","disabled"])}}},En={__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},setup(o){const t=o,e=a.ref(t.value);return(n,r)=>{const i=a.resolveComponent("el-input");return a.openBlock(),a.createBlock(i,{modelValue:e.value,"onUpdate:modelValue":r[0]||(r[0]=l=>e.value=l),disabled:!(t!=null&&t.isEdit),type:"password","show-password":"",clearable:""},null,8,["modelValue","disabled"])}}},Sn={__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},setup(o){const t=o,e=a.ref(t.value);return(n,r)=>{const i=a.resolveComponent("el-color-picker");return a.openBlock(),a.createBlock(i,{modelValue:e.value,"onUpdate:modelValue":r[0]||(r[0]=l=>e.value=l),"show-alpha":""},null,8,["modelValue"])}}},Dn={__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},setup(o){const t=o,e=a.ref(t.value);return(n,r)=>{const i=a.resolveComponent("el-input");return a.openBlock(),a.createBlock(i,{modelValue:e.value,"onUpdate:modelValue":r[0]||(r[0]=l=>e.value=l),style:{height:"100%"},type:"number"},null,8,["modelValue"])}}},xn={__name:"index",props:{value:String,formRules:{type:Object,default:()=>{}},content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},emits:["clickTrigger","changeTrigger"],setup(o,{emit:t}){const e=o,n=t,r=l=>{n("clickTrigger",l)},i=l=>{n("changeTrigger",l)};return(l,s)=>{var u,c,d,f,y,g,h;return a.openBlock(),a.createBlock(mn,{rowContents:((u=e==null?void 0:e.content)==null?void 0:u.rowContents)??[],formRules:(c=e==null?void 0:e.content)==null?void 0:c.formRules,buttonValue:((d=e==null?void 0:e.content)==null?void 0:d.buttonValue)??[],isEnableWrap:(f=e==null?void 0:e.content)==null?void 0:f.isEnableWrap,isRowFlex:(y=e==null?void 0:e.content)==null?void 0:y.isRowFlex,isButtonRow:(g=e==null?void 0:e.content)==null?void 0:g.isButtonRow,rowValues:((h=e==null?void 0:e.content)==null?void 0:h.rowValues)??[],onOnButtonClick:r,onChange:i},null,8,["rowContents","formRules","buttonValue","isEnableWrap","isRowFlex","isButtonRow","rowValues"])}}},kn={__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},setup(o){const t=o,e=a.ref(t.value);return(n,r)=>{const i=a.resolveComponent("el-radio"),l=a.resolveComponent("el-radio-group");return a.openBlock(),a.createBlock(l,{modelValue:e.value,"onUpdate:modelValue":r[0]||(r[0]=s=>e.value=s),style:{height:"100%"}},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(t.content,(s,u)=>(a.openBlock(),a.createBlock(i,{key:u,label:s.value},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(s==null?void 0:s.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])}}},Cn=["onDblclick"],Bn={key:1,class:"tabs-label"},Tn={__name:"index",props:{tabsContents:{type:Array,default:()=>[]}},emits:["dblClick","clickTrigger","changeTrigger"],setup(o,{emit:t}){const e=o,n=t,r=a.ref([]),i=a.ref(""),l=d=>ht(d),s=d=>{n("dblClick",d)},u=d=>{n("clickTrigger",d)},c=d=>{n("changeTrigger",d)};return a.watch(()=>e.tabsContents,()=>{var d;r.value=dt.cloneDeep(e.tabsContents),i.value=(d=r.value[0])==null?void 0:d.value},{deep:!0,immediate:!0}),(d,f)=>{const y=a.resolveComponent("el-tab-pane"),g=a.resolveComponent("el-tabs");return a.openBlock(),a.createBlock(g,{type:"card",modelValue:i.value,"onUpdate:modelValue":f[0]||(f[0]=h=>i.value=h)},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(r.value,(h,v)=>(a.openBlock(),a.createBlock(y,{key:v,name:h==null?void 0:h.value},{label:a.withCtx(()=>{var D;return[h!=null&&h.label?(a.openBlock(),a.createElementBlock("div",{key:0,onDblclick:x=>s(h)},a.toDisplayString(h==null?void 0:h.label),41,Cn)):a.createCommentVNode("",!0),h!=null&&h.contents&&((D=h==null?void 0:h.contents)==null?void 0:D.length)>0?(a.openBlock(),a.createElementBlock("div",Bn,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(h==null?void 0:h.contents,(x,p)=>(a.openBlock(),a.createElementBlock("div",{key:p,class:"tabs-children"},[x!=null&&x.value||(x==null?void 0:x.value)===""?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(l(x==null?void 0:x.type)),{key:0,modelValue:x.value,"onUpdate:modelValue":B=>x.value=B,content:(x==null?void 0:x.contents)??[]},null,8,["modelValue","onUpdate:modelValue","content"])):a.createCommentVNode("",!0)]))),128))])):a.createCommentVNode("",!0),a.renderSlot(d.$slots,`${(h==null?void 0:h.value)??""}_header`,{},void 0,!0)]}),default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(h==null?void 0:h.children,(D,x)=>(a.openBlock(),a.createElementBlock("div",{key:x,class:"tabs-contents"},[a.renderSlot(d.$slots,`${(D==null?void 0:D.value)??""}_operateButtons`,{},void 0,!0),D!=null&&D.value||(D==null?void 0:D.value)===""?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(l(D==null?void 0:D.type)),{key:0,modelValue:D.value,"onUpdate:modelValue":p=>D.value=p,onClickTrigger:u,onChangeTrigger:c,content:D==null?void 0:D.content},a.createSlots({_:2},[a.renderList(d.$slots,(p,B)=>({name:B,fn:a.withCtx(R=>[a.renderSlot(d.$slots,B,a.mergeProps({ref_for:!0},R||{}),void 0,!0)])}))]),1064,["modelValue","onUpdate:modelValue","content"])):a.createCommentVNode("",!0)]))),128))]),_:2},1032,["name"]))),128))]),_:3},8,["modelValue"])}}},Ct=we._export_sfc(Tn,[["__scopeId","data-v-905cc2ee"]]),An=Object.freeze(Object.defineProperty({__proto__:null,default:Ct},Symbol.toStringTag,{value:"Module"})),$n={__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},setup(o){const t=o;return a.onMounted(()=>{document.querySelectorAll(".el-tab-pane").forEach(n=>{n.style.display="block"})}),(e,n)=>{var r;return a.openBlock(),a.createBlock(Ct,{tabsContents:((r=t==null?void 0:t.content)==null?void 0:r.tabsContents)??[]},a.createSlots({_:2},[a.renderList(e.$slots,(i,l)=>({name:l,fn:a.withCtx(s=>[a.renderSlot(e.$slots,l,a.normalizeProps(a.guardReactiveProps(s||{})))])}))]),1032,["tabsContents"])}}};/**!
|
|
1
|
+
"use strict";const a=require("vue"),we=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),dt=require("./cloneDeep-CktvOFQx.cjs"),qt=require("./menu-xHRrBcoq.cjs"),gn=require("./index-CRxtHDjt.cjs"),vn=require("./index.vue_vue_type_script_setup_true_lang-D3T3IoTp.cjs"),Ot=require("./index-CrBfrGyt.cjs");function yn(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var Ze={exports:{}},bn=Ze.exports,Nt;function _n(){return Nt||(Nt=1,function(o,t){(function(e,n){o.exports=n()})(bn,function(){var e=1e3,n=6e4,r=36e5,i="millisecond",l="second",s="minute",u="hour",c="day",d="week",f="month",y="quarter",g="year",h="date",v="Invalid Date",D=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,x=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(k){var E=["th","st","nd","rd"],b=k%100;return"["+k+(E[(b-20)%10]||E[b]||E[0])+"]"}},B=function(k,E,b){var C=String(k);return!C||C.length>=E?k:""+Array(E+1-C.length).join(b)+k},R={s:B,z:function(k){var E=-k.utcOffset(),b=Math.abs(E),C=Math.floor(b/60),S=b%60;return(E<=0?"+":"-")+B(C,2,"0")+":"+B(S,2,"0")},m:function k(E,b){if(E.date()<b.date())return-k(b,E);var C=12*(b.year()-E.year())+(b.month()-E.month()),S=E.clone().add(C,f),M=b-S<0,O=E.clone().add(C+(M?-1:1),f);return+(-(C+(b-S)/(M?S-O:O-S))||0)},a:function(k){return k<0?Math.ceil(k)||0:Math.floor(k)},p:function(k){return{M:f,y:g,w:d,d:c,D:h,h:u,m:s,s:l,ms:i,Q:y}[k]||String(k||"").toLowerCase().replace(/s$/,"")},u:function(k){return k===void 0}},U="en",m={};m[U]=p;var V="$isDayjsObject",w=function(k){return k instanceof ee||!(!k||!k[V])},T=function k(E,b,C){var S;if(!E)return U;if(typeof E=="string"){var M=E.toLowerCase();m[M]&&(S=M),b&&(m[M]=b,S=M);var O=E.split("-");if(!S&&O.length>1)return k(O[0])}else{var W=E.name;m[W]=E,S=W}return!C&&S&&(U=S),S||!C&&U},N=function(k,E){if(w(k))return k.clone();var b=typeof E=="object"?E:{};return b.date=k,b.args=arguments,new ee(b)},P=R;P.l=T,P.i=w,P.w=function(k,E){return N(k,{locale:E.$L,utc:E.$u,x:E.$x,$offset:E.$offset})};var ee=function(){function k(b){this.$L=T(b.locale,null,!0),this.parse(b),this.$x=this.$x||b.x||{},this[V]=!0}var E=k.prototype;return E.parse=function(b){this.$d=function(C){var S=C.date,M=C.utc;if(S===null)return new Date(NaN);if(P.u(S))return new Date;if(S instanceof Date)return new Date(S);if(typeof S=="string"&&!/Z$/i.test(S)){var O=S.match(D);if(O){var W=O[2]-1||0,Y=(O[7]||"0").substring(0,3);return M?new Date(Date.UTC(O[1],W,O[3]||1,O[4]||0,O[5]||0,O[6]||0,Y)):new Date(O[1],W,O[3]||1,O[4]||0,O[5]||0,O[6]||0,Y)}}return new Date(S)}(b),this.init()},E.init=function(){var b=this.$d;this.$y=b.getFullYear(),this.$M=b.getMonth(),this.$D=b.getDate(),this.$W=b.getDay(),this.$H=b.getHours(),this.$m=b.getMinutes(),this.$s=b.getSeconds(),this.$ms=b.getMilliseconds()},E.$utils=function(){return P},E.isValid=function(){return this.$d.toString()!==v},E.isSame=function(b,C){var S=N(b);return this.startOf(C)<=S&&S<=this.endOf(C)},E.isAfter=function(b,C){return N(b)<this.startOf(C)},E.isBefore=function(b,C){return this.endOf(C)<N(b)},E.$g=function(b,C,S){return P.u(b)?this[C]:this.set(S,b)},E.unix=function(){return Math.floor(this.valueOf()/1e3)},E.valueOf=function(){return this.$d.getTime()},E.startOf=function(b,C){var S=this,M=!!P.u(C)||C,O=P.p(b),W=function(Se,ne){var ve=P.w(S.$u?Date.UTC(S.$y,ne,Se):new Date(S.$y,ne,Se),S);return M?ve:ve.endOf(c)},Y=function(Se,ne){return P.w(S.toDate()[Se].apply(S.toDate("s"),(M?[0,0,0,0]:[23,59,59,999]).slice(ne)),S)},J=this.$W,Z=this.$M,se=this.$D,Ce="set"+(this.$u?"UTC":"");switch(O){case g:return M?W(1,0):W(31,11);case f:return M?W(1,Z):W(0,Z+1);case d:var Ee=this.$locale().weekStart||0,Oe=(J<Ee?J+7:J)-Ee;return W(M?se-Oe:se+(6-Oe),Z);case c:case h:return Y(Ce+"Hours",0);case u:return Y(Ce+"Minutes",1);case s:return Y(Ce+"Seconds",2);case l:return Y(Ce+"Milliseconds",3);default:return this.clone()}},E.endOf=function(b){return this.startOf(b,!1)},E.$set=function(b,C){var S,M=P.p(b),O="set"+(this.$u?"UTC":""),W=(S={},S[c]=O+"Date",S[h]=O+"Date",S[f]=O+"Month",S[g]=O+"FullYear",S[u]=O+"Hours",S[s]=O+"Minutes",S[l]=O+"Seconds",S[i]=O+"Milliseconds",S)[M],Y=M===c?this.$D+(C-this.$W):C;if(M===f||M===g){var J=this.clone().set(h,1);J.$d[W](Y),J.init(),this.$d=J.set(h,Math.min(this.$D,J.daysInMonth())).$d}else W&&this.$d[W](Y);return this.init(),this},E.set=function(b,C){return this.clone().$set(b,C)},E.get=function(b){return this[P.p(b)]()},E.add=function(b,C){var S,M=this;b=Number(b);var O=P.p(C),W=function(Z){var se=N(M);return P.w(se.date(se.date()+Math.round(Z*b)),M)};if(O===f)return this.set(f,this.$M+b);if(O===g)return this.set(g,this.$y+b);if(O===c)return W(1);if(O===d)return W(7);var Y=(S={},S[s]=n,S[u]=r,S[l]=e,S)[O]||1,J=this.$d.getTime()+b*Y;return P.w(J,this)},E.subtract=function(b,C){return this.add(-1*b,C)},E.format=function(b){var C=this,S=this.$locale();if(!this.isValid())return S.invalidDate||v;var M=b||"YYYY-MM-DDTHH:mm:ssZ",O=P.z(this),W=this.$H,Y=this.$m,J=this.$M,Z=S.weekdays,se=S.months,Ce=S.meridiem,Ee=function(ne,ve,Ne,Xe){return ne&&(ne[ve]||ne(C,M))||Ne[ve].slice(0,Xe)},Oe=function(ne){return P.s(W%12||12,ne,"0")},Se=Ce||function(ne,ve,Ne){var Xe=ne<12?"AM":"PM";return Ne?Xe.toLowerCase():Xe};return M.replace(x,function(ne,ve){return ve||function(Ne){switch(Ne){case"YY":return String(C.$y).slice(-2);case"YYYY":return P.s(C.$y,4,"0");case"M":return J+1;case"MM":return P.s(J+1,2,"0");case"MMM":return Ee(S.monthsShort,J,se,3);case"MMMM":return Ee(se,J);case"D":return C.$D;case"DD":return P.s(C.$D,2,"0");case"d":return String(C.$W);case"dd":return Ee(S.weekdaysMin,C.$W,Z,2);case"ddd":return Ee(S.weekdaysShort,C.$W,Z,3);case"dddd":return Z[C.$W];case"H":return String(W);case"HH":return P.s(W,2,"0");case"h":return Oe(1);case"hh":return Oe(2);case"a":return Se(W,Y,!0);case"A":return Se(W,Y,!1);case"m":return String(Y);case"mm":return P.s(Y,2,"0");case"s":return String(C.$s);case"ss":return P.s(C.$s,2,"0");case"SSS":return P.s(C.$ms,3,"0");case"Z":return O}return null}(ne)||O.replace(":","")})},E.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},E.diff=function(b,C,S){var M,O=this,W=P.p(C),Y=N(b),J=(Y.utcOffset()-this.utcOffset())*n,Z=this-Y,se=function(){return P.m(O,Y)};switch(W){case g:M=se()/12;break;case f:M=se();break;case y:M=se()/3;break;case d:M=(Z-J)/6048e5;break;case c:M=(Z-J)/864e5;break;case u:M=Z/r;break;case s:M=Z/n;break;case l:M=Z/e;break;default:M=Z}return S?M:P.a(M)},E.daysInMonth=function(){return this.endOf(f).$D},E.$locale=function(){return m[this.$L]},E.locale=function(b,C){if(!b)return this.$L;var S=this.clone(),M=T(b,C,!0);return M&&(S.$L=M),S},E.clone=function(){return P.w(this.$d,this)},E.toDate=function(){return new Date(this.valueOf())},E.toJSON=function(){return this.isValid()?this.toISOString():null},E.toISOString=function(){return this.$d.toISOString()},E.toString=function(){return this.$d.toUTCString()},k}(),q=ee.prototype;return N.prototype=q,[["$ms",i],["$s",l],["$m",s],["$H",u],["$W",c],["$M",f],["$y",g],["$D",h]].forEach(function(k){q[k[1]]=function(E){return this.$g(E,k[0],k[1])}}),N.extend=function(k,E){return k.$i||(k(E,ee,N),k.$i=!0),N},N.locale=T,N.isDayjs=w,N.unix=function(k){return N(1e3*k)},N.en=m[U],N.Ls=m,N.p={},N})}(Ze)),Ze.exports}var wn=_n();const It=yn(wn),Jt={__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},setup(o){const t=o,e=a.ref(t.value);return(n,r)=>{const i=a.resolveComponent("el-switch");return a.openBlock(),a.createBlock(i,{modelValue:e.value,"onUpdate:modelValue":r[0]||(r[0]=l=>e.value=l),"active-color":"#13ce66","inactive-color":"#ff4949"},null,8,["modelValue"])}}},Kt={__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},setup(o){const t=o,e=a.ref(t.value);return(n,r)=>{const i=a.resolveComponent("el-input");return a.openBlock(),a.createBlock(i,{modelValue:e.value,"onUpdate:modelValue":r[0]||(r[0]=l=>e.value=l),disabled:!(t!=null&&t.isEdit),clearable:""},null,8,["modelValue","disabled"])}}},En={__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},setup(o){const t=o,e=a.ref(t.value);return(n,r)=>{const i=a.resolveComponent("el-input");return a.openBlock(),a.createBlock(i,{modelValue:e.value,"onUpdate:modelValue":r[0]||(r[0]=l=>e.value=l),disabled:!(t!=null&&t.isEdit),type:"password","show-password":"",clearable:""},null,8,["modelValue","disabled"])}}},Sn={__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},setup(o){const t=o,e=a.ref(t.value);return(n,r)=>{const i=a.resolveComponent("el-color-picker");return a.openBlock(),a.createBlock(i,{modelValue:e.value,"onUpdate:modelValue":r[0]||(r[0]=l=>e.value=l),"show-alpha":""},null,8,["modelValue"])}}},Dn={__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},setup(o){const t=o,e=a.ref(t.value);return(n,r)=>{const i=a.resolveComponent("el-input");return a.openBlock(),a.createBlock(i,{modelValue:e.value,"onUpdate:modelValue":r[0]||(r[0]=l=>e.value=l),style:{height:"100%"},type:"number"},null,8,["modelValue"])}}},xn={__name:"index",props:{value:String,formRules:{type:Object,default:()=>{}},content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},emits:["clickTrigger","changeTrigger"],setup(o,{emit:t}){const e=o,n=t,r=l=>{n("clickTrigger",l)},i=l=>{n("changeTrigger",l)};return(l,s)=>{var u,c,d,f,y,g,h;return a.openBlock(),a.createBlock(mn,{rowContents:((u=e==null?void 0:e.content)==null?void 0:u.rowContents)??[],formRules:(c=e==null?void 0:e.content)==null?void 0:c.formRules,buttonValue:((d=e==null?void 0:e.content)==null?void 0:d.buttonValue)??[],isEnableWrap:(f=e==null?void 0:e.content)==null?void 0:f.isEnableWrap,isRowFlex:(y=e==null?void 0:e.content)==null?void 0:y.isRowFlex,isButtonRow:(g=e==null?void 0:e.content)==null?void 0:g.isButtonRow,rowValues:((h=e==null?void 0:e.content)==null?void 0:h.rowValues)??[],onOnButtonClick:r,onChange:i},null,8,["rowContents","formRules","buttonValue","isEnableWrap","isRowFlex","isButtonRow","rowValues"])}}},kn={__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},setup(o){const t=o,e=a.ref(t.value);return(n,r)=>{const i=a.resolveComponent("el-radio"),l=a.resolveComponent("el-radio-group");return a.openBlock(),a.createBlock(l,{modelValue:e.value,"onUpdate:modelValue":r[0]||(r[0]=s=>e.value=s),style:{height:"100%"}},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(t.content,(s,u)=>(a.openBlock(),a.createBlock(i,{key:u,label:s.value},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(s==null?void 0:s.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])}}},Cn=["onDblclick"],Bn={key:1,class:"tabs-label"},Tn={__name:"index",props:{tabsContents:{type:Array,default:()=>[]}},emits:["dblClick","clickTrigger","changeTrigger"],setup(o,{emit:t}){const e=o,n=t,r=a.ref([]),i=a.ref(""),l=d=>ht(d),s=d=>{n("dblClick",d)},u=d=>{n("clickTrigger",d)},c=d=>{n("changeTrigger",d)};return a.watch(()=>e.tabsContents,()=>{var d;r.value=dt.cloneDeep(e.tabsContents),i.value=(d=r.value[0])==null?void 0:d.value},{deep:!0,immediate:!0}),(d,f)=>{const y=a.resolveComponent("el-tab-pane"),g=a.resolveComponent("el-tabs");return a.openBlock(),a.createBlock(g,{type:"card",modelValue:i.value,"onUpdate:modelValue":f[0]||(f[0]=h=>i.value=h)},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(r.value,(h,v)=>(a.openBlock(),a.createBlock(y,{key:v,name:h==null?void 0:h.value},{label:a.withCtx(()=>{var D;return[h!=null&&h.label?(a.openBlock(),a.createElementBlock("div",{key:0,onDblclick:x=>s(h)},a.toDisplayString(h==null?void 0:h.label),41,Cn)):a.createCommentVNode("",!0),h!=null&&h.contents&&((D=h==null?void 0:h.contents)==null?void 0:D.length)>0?(a.openBlock(),a.createElementBlock("div",Bn,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(h==null?void 0:h.contents,(x,p)=>(a.openBlock(),a.createElementBlock("div",{key:p,class:"tabs-children"},[x!=null&&x.value||(x==null?void 0:x.value)===""?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(l(x==null?void 0:x.type)),{key:0,modelValue:x.value,"onUpdate:modelValue":B=>x.value=B,content:(x==null?void 0:x.contents)??[]},null,8,["modelValue","onUpdate:modelValue","content"])):a.createCommentVNode("",!0)]))),128))])):a.createCommentVNode("",!0),a.renderSlot(d.$slots,`${(h==null?void 0:h.value)??""}_header`,{},void 0,!0)]}),default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(h==null?void 0:h.children,(D,x)=>(a.openBlock(),a.createElementBlock("div",{key:x,class:"tabs-contents"},[a.renderSlot(d.$slots,`${(D==null?void 0:D.value)??""}_operateButtons`,{},void 0,!0),D!=null&&D.value||(D==null?void 0:D.value)===""?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(l(D==null?void 0:D.type)),{key:0,modelValue:D.value,"onUpdate:modelValue":p=>D.value=p,onClickTrigger:u,onChangeTrigger:c,content:D==null?void 0:D.content},a.createSlots({_:2},[a.renderList(d.$slots,(p,B)=>({name:B,fn:a.withCtx(R=>[a.renderSlot(d.$slots,B,a.mergeProps({ref_for:!0},R||{}),void 0,!0)])}))]),1064,["modelValue","onUpdate:modelValue","content"])):a.createCommentVNode("",!0)]))),128))]),_:2},1032,["name"]))),128))]),_:3},8,["modelValue"])}}},Ct=we._export_sfc(Tn,[["__scopeId","data-v-905cc2ee"]]),An=Object.freeze(Object.defineProperty({__proto__:null,default:Ct},Symbol.toStringTag,{value:"Module"})),$n={__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},setup(o){const t=o;return a.onMounted(()=>{document.querySelectorAll(".el-tab-pane").forEach(n=>{n.style.display="block"})}),(e,n)=>{var r;return a.openBlock(),a.createBlock(Ct,{tabsContents:((r=t==null?void 0:t.content)==null?void 0:r.tabsContents)??[]},a.createSlots({_:2},[a.renderList(e.$slots,(i,l)=>({name:l,fn:a.withCtx(s=>[a.renderSlot(e.$slots,l,a.normalizeProps(a.guardReactiveProps(s||{})))])}))]),1032,["tabsContents"])}}};/**!
|
|
2
2
|
* Sortable 1.15.6
|
|
3
3
|
* @author RubaXa <trash@rubaxa.org>
|
|
4
4
|
* @author owenm <owen23355@gmail.com>
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { resolveComponent as n, createElementBlock as r, openBlock as m, createVNode as i } from "vue";
|
|
2
|
-
import "./array-
|
|
3
|
-
import "./index-
|
|
2
|
+
import "./array-CcAct9KU.js";
|
|
3
|
+
import "./index-DtJQBHbx.js";
|
|
4
4
|
import { _ as c } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
import "./index.vue_vue_type_style_index_0_scoped_997b1786_lang-
|
|
6
|
-
import "./menu-
|
|
7
|
-
import "./index.vue_vue_type_style_index_0_scoped_cea2aaad_lang-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./login-
|
|
11
|
-
import "./index-
|
|
5
|
+
import "./index.vue_vue_type_style_index_0_scoped_997b1786_lang-BmL8jkus.js";
|
|
6
|
+
import "./menu-DNjiqLiy.js";
|
|
7
|
+
import "./index.vue_vue_type_style_index_0_scoped_cea2aaad_lang-Ctz7x3hQ.js";
|
|
8
|
+
import "./index-BP9e1URk.js";
|
|
9
|
+
import "./index-By2WyWxQ.js";
|
|
10
|
+
import "./login-DnqNwFzD.js";
|
|
11
|
+
import "./index-DAUiPeRo.js";
|
|
12
12
|
import "./crypto-BRyGpjGR.js";
|
|
13
13
|
import "./index-BHtNKL1L.js";
|
|
14
14
|
const d = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as c } from "./index.vue_vue_type_style_index_0_scoped_997b1786_lang-
|
|
1
|
+
import { _ as c } from "./index.vue_vue_type_style_index_0_scoped_997b1786_lang-BmL8jkus.js";
|
|
2
2
|
import { resolveComponent as o, createBlock as a, openBlock as u, withCtx as r, createVNode as l, createElementVNode as i, toDisplayString as p } from "vue";
|
|
3
3
|
import { _ as m } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
function M(e, _, d, f, C, y) {
|