comp-hub 0.28.6 → 0.28.7
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/index.js +2 -2
- package/dist/website/container/assets/index-B6KfxMpe.css +1 -0
- package/dist/website/container/assets/{index-C4rP9NOf.js → index-DlqRVovH.js} +7 -7
- package/dist/website/container/index.html +2 -2
- package/dist/website/item/assets/{index-xGYf6R_n.css → index-BIgTOfbh.css} +1 -1
- package/dist/website/item/assets/{index-YY_elpPJ.js → index-DOKUHdnc.js} +15 -15
- package/dist/website/item/index.html +2 -2
- package/dist/website/main/assets/{CanvasAnimation.vue_vue_type_script_setup_true_lang-CllQrgJy.js → CanvasAnimation.vue_vue_type_script_setup_true_lang-CDdsQZ0-.js} +1 -1
- package/dist/website/main/assets/{index-Du5qihI4.js → index-0jUB6F-4.js} +1 -1
- package/dist/website/main/assets/{index-B9ln289Q.js → index-5EYT6f8p.js} +1 -1
- package/dist/website/main/assets/{index-CJBbqPIC.js → index-B-JCIDk_.js} +1 -1
- package/dist/website/main/assets/index-B329MLgw.js +2 -0
- package/dist/website/main/assets/index-B6QLWqnu.js +1 -0
- package/dist/website/main/assets/{index-Dgyjv57X.js → index-B8k-Kh_A.js} +1 -1
- package/dist/website/main/assets/{index-5NbrFL1v.js → index-B9hCLAJk.js} +1 -1
- package/dist/website/main/assets/{index-OQIUhz5k.js → index-BFKzKjpl.js} +1 -1
- package/dist/website/main/assets/{index-B5P6DgaP.js → index-BRZurz58.js} +1 -1
- package/dist/website/main/assets/{index-DNzk9GC4.js → index-BrArZ42r.js} +1 -1
- package/dist/website/main/assets/{index-5AGG9ot8.js → index-BwgMUal7.js} +1 -1
- package/dist/website/main/assets/index-CAsY0Xb9.js +1 -0
- package/dist/website/main/assets/index-CWJKxZCd.js +1 -0
- package/dist/website/main/assets/{index-C5FOjHtG.js → index-CY6_9tAe.js} +1 -1
- package/dist/website/main/assets/{index-CBkRhssK.js → index-CadXipX3.js} +2 -2
- package/dist/website/main/assets/index-CbfSiY9U.js +1 -0
- package/dist/website/main/assets/{index-ClGXZTwx.js → index-CdzjeO0x.js} +1 -1
- package/dist/website/main/assets/index-CiSJMy_Y.js +1 -0
- package/dist/website/main/assets/{index-CRPDDq-V.js → index-D88CvPWT.js} +3 -3
- package/dist/website/main/assets/index-DEGdQmAx.js +1 -0
- package/dist/website/main/assets/index-DOd1x8nw.js +1 -0
- package/dist/website/main/assets/index-DPdwbYvx.js +1 -0
- package/dist/website/main/assets/{index-DdlcdFg6.js → index-DquKS0_n.js} +1 -1
- package/dist/website/main/assets/{index-DnoK5_sf.js → index-DrbX7elo.js} +1 -1
- package/dist/website/main/assets/{index-C9Y3CNRO.js → index-EDA2t2OE.js} +1 -1
- package/dist/website/main/assets/{index-CeYUbWQf.js → index-HkZs-IVV.js} +1 -1
- package/dist/website/main/assets/{index-pnMxQIk7.js → index-IVEhJl2W.js} +1 -1
- package/dist/website/main/assets/{index-Bix1nJzT.js → index-U6TRHk8E.js} +1 -1
- package/dist/website/main/assets/{index-D8JLLNls.js → index-ZoaJ6v2i.js} +1 -1
- package/dist/website/main/assets/{index-D206deyl.js → index-pjvH5dVi.js} +1 -1
- package/dist/website/main/assets/{index-BboFkG3x.css → index-qOVjc392.css} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-CsP7DU8L.js → index.vue_vue_type_script_setup_true_lang-BAM6bQ14.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-Cl-Fl4oU.js → index.vue_vue_type_script_setup_true_lang-BWF3Tgxf.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-piiSvWkd.js → index.vue_vue_type_script_setup_true_lang-BXNbK11E.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-BcUGs_WV.js → index.vue_vue_type_script_setup_true_lang-CmmAEEXC.js} +2 -2
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-C2f6_gwm.js → index.vue_vue_type_script_setup_true_lang-D9A1RF52.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-BOye9Q0l.js → index.vue_vue_type_script_setup_true_lang-DTC1Qz-g.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-HhqETZCz.js → index.vue_vue_type_style_index_0_lang-8e70e_fM.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-_EGM5AW2.js → index.vue_vue_type_style_index_0_lang-BZ1LzI3x.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-lii4Mw4k.js → index.vue_vue_type_style_index_0_lang-BipgSalp.js} +1 -1
- package/dist/website/main/assets/useCompEditStore-D7YXYpD3.css +1 -0
- package/dist/website/main/assets/{useCompEditStore-De0RvlRq.js → useCompEditStore-DhXxYAqN.js} +1 -1
- package/dist/website/main/assets/{useKeyword-DPx3R5YX.js → useKeyword-CjhhChz4.js} +1 -1
- package/dist/website/main/assets/{useMessage-8Gi-vx-A.js → useMessage-Cbhfk7Nk.js} +1 -1
- package/dist/website/main/assets/{useVscodeOpen--nBM6CZ-.js → useVscodeOpen-BBdyQ3W2.js} +1 -1
- package/dist/website/main/index.html +2 -2
- package/package.json +1 -1
- package/dist/website/container/assets/index-DyP-WX-l.css +0 -1
- package/dist/website/main/assets/index-30_1ggVR.js +0 -1
- package/dist/website/main/assets/index-B94DbVvF.js +0 -1
- package/dist/website/main/assets/index-Bt7T-LaE.js +0 -1
- package/dist/website/main/assets/index-CS5py2lv.js +0 -1
- package/dist/website/main/assets/index-CYEfOQSg.js +0 -2
- package/dist/website/main/assets/index-DMKeTfl9.js +0 -1
- package/dist/website/main/assets/index-DkvChnew.js +0 -1
- package/dist/website/main/assets/index-OKDkiqud.js +0 -1
- package/dist/website/main/assets/index-zrOq4KJF.js +0 -1
- package/dist/website/main/assets/useCompEditStore-CTeLLTZM.css +0 -1
package/dist/website/main/assets/{useCompEditStore-De0RvlRq.js → useCompEditStore-DhXxYAqN.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{am as Cv,a7 as K2,a3 as Ki,aD as G2,aF as bv,ac as kl,f as Il,Z as X2,_ as Mc,U as ys,a0 as Tv,a5 as vv,e as Fi,y as Vo,g as Fv,x as Bl,A as Nl,J as _l,o as wv,p as Sv,R as Pv,P as kv,D as Iv,l as Bv}from"./vendor-ui-CGT0cG1n.js";import{k as on,a as us,I as Nv,m as Pe,V as Rc,e as ko,M as Io,o as fl,r as di,K as _v,z as Lv,j as Ov,i as zp}from"./index-CRPDDq-V.js";/* empty css *//* empty css */import{v as Mt,ab as ke,l as ft,Z as _h,i as He,q as gt,ap as Ke,F as Ls,ah as fi,$ as uo,g as je,ai as jc,az as $v,j as Ze,aO as ge,c as Mv,ax as me,X as Y2,r as Te,aB as Lh,aA as Qt,aM as Mr,k as dr,aP as Rv,aK as jv,W as Oh,af as yr,Y as Kn,aF as Ei,aj as $h,aR as Q2,H as xr,aN as Uv,aD as qv,ac as Vv,K as zv,al as Hv,y as Wv,ad as Jv,w as Kv}from"./vendor-core-BKehvho7.js";import{c as Z2,p as Gv}from"./index-5NbrFL1v.js";import{_ as eg}from"./EmptyStatusContainer.vue_vue_type_script_setup_true_lang-pswB5SUz.js";import{v as ml}from"./v4-EwEgHOG0.js";import{c as Xv,b as Yv,d as Qv,a as ts,I as ty,e as Zv}from"./useMessage-8Gi-vx-A.js";import{u as tg,_ as rg,a as eF}from"./index.vue_vue_type_style_index_0_lang-_EGM5AW2.js";import{_ as sg}from"./BaseDialog.vue_vue_type_script_setup_true_lang-BROcUfEh.js";import{_ as tF}from"./PanelBackground.vue_vue_type_script_setup_true_lang-BELCrrRh.js";import{_ as rF}from"./BaseSegmented.vue_vue_type_script_setup_true_lang-DU79Plk1.js";import{_ as sF}from"./LoadingWrapper.vue_vue_type_script_setup_true_lang-kJcgjuK5.js";function iF(t,e){for(var r=0;r<e.length;r++){const s=e[r];if(typeof s!="string"&&!Array.isArray(s)){for(const i in s)if(i!=="default"&&!(i in t)){const n=Object.getOwnPropertyDescriptor(s,i);n&&Object.defineProperty(t,i,n.get?n:{enumerable:!0,get:()=>s[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}const nF={class:"loading-text"},aF={class:"loading-dots"},oF=Mt({__name:"Loading",props:{text:{default:"加载中"},fullscreen:{type:Boolean,default:!1}},setup(t){const e=t,r=je(()=>`${e.text} `);return(s,i)=>(ke(),ft("div",{class:_h(["loading-wrapper",{"loading-inline":!t.fullscreen}])},[He("span",nF,[gt(Ke(r.value),1),He("span",aF,[(ke(),ft(Ls,null,fi(3,n=>He("span",{key:n,class:"loading-dot",style:uo({animationDelay:`${(n-1)*.3}s`})},".",4)),64))])])],2))}}),uF=on(oF,[["__scopeId","data-v-7069e81b"]]),lF=Mt({__name:"BaseBadge",props:{isDot:{type:Boolean,default:!1},offset:{type:Array,default:()=>[5,-5]}},setup(t){const e=t,r=je(()=>({"--offsetX":`${e.offset[0]}px`,"--offsetY":`${e.offset[1]}px`}));return(s,i)=>(ke(),ft("div",{class:_h(["inline relative",{dot:t.isDot}]),style:uo(r.value)},[jc(s.$slots,"default",{},void 0,!0)],6))}}),pF=on(lF,[["__scopeId","data-v-f99513fd"]]),cF={key:1,class:"grid-container"},hF=Mt({__name:"GridContainer",props:{itemMinWidth:{type:Number,default:300},gap:{type:Number,default:20},useTransition:{type:Boolean,default:!0}},setup(t){$v(i=>({v56c8ef5c:s.value,v1930c0b1:r.value}));const e=t,r=je(()=>e.gap+"px"),s=je(()=>e.itemMinWidth+"px");return(i,n)=>t.useTransition?(ke(),Ze(Mv,{key:0,class:"grid-container",name:"list",tag:"div"},{default:ge(()=>[jc(i.$slots,"default",{},void 0,!0)]),_:3})):(ke(),ft("div",cF,[jc(i.$slots,"default",{},void 0,!0)]))}}),dF=on(hF,[["__scopeId","data-v-25e40c3e"]]);var fF=Object.create,Mh=Object.defineProperty,mF=Object.getOwnPropertyDescriptor,yF=Object.getOwnPropertyNames,DF=Object.getPrototypeOf,gF=Object.prototype.hasOwnProperty,xF=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Rh=(t,e)=>{for(var r in e)Mh(t,r,{get:e[r],enumerable:!0})},EF=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of yF(e))!gF.call(t,i)&&i!==r&&Mh(t,i,{get:()=>e[i],enumerable:!(s=mF(e,i))||s.enumerable});return t},AF=(t,e,r)=>(r=t!=null?fF(DF(t)):{},EF(Mh(r,"default",{value:t,enumerable:!0}),t)),CF=xF((t,e)=>{var r,s,i,n,o,l,c,f,h,d,D,y,g,x,C,T,E,v,F;g=/\/(?![*\/])(?:\[(?:[^\]\\\n\r\u2028\u2029]+|\\.)*\]|[^\/\\\n\r\u2028\u2029]+|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,y=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,r=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]+|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu,C=/(['"])(?:[^'"\\\n\r]+|(?!\1)['"]|\\(?:\r\n|[^]))*(\1)?/y,D=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,T=/[`}](?:[^`\\$]+|\\[^]|\$(?!\{))*(`|\$\{)?/y,F=/[\t\v\f\ufeff\p{Zs}]+/yu,f=/\r?\n|[\r\u2028\u2029]/y,h=/\/\*(?:[^*]+|\*(?!\/))*(\*\/)?/y,x=/\/\/.*/y,i=/[<>.:={}]|\/(?![\/*])/y,s=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,n=/(['"])(?:[^'"]+|(?!\1)['"])*(\1)?/y,o=/[^<>{}]+/y,v=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,E=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,l=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,c=/^(?:return|throw|yield)$/,d=RegExp(f.source),e.exports=function*(b,{jsx:w=!1}={}){var P,k,N,_,L,I,M,K,$,z,re,te,ue,X;for({length:I}=b,_=0,L="",X=[{tag:"JS"}],P=[],re=0,te=!1;_<I;){switch(K=X[X.length-1],K.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(b[_]==="/"&&(v.test(L)||l.test(L))&&(g.lastIndex=_,M=g.exec(b))){_=g.lastIndex,L=M[0],te=!0,yield{type:"RegularExpressionLiteral",value:M[0],closed:M[1]!==void 0&&M[1]!=="\\"};continue}if(y.lastIndex=_,M=y.exec(b)){switch(ue=M[0],$=y.lastIndex,z=ue,ue){case"(":L==="?NonExpressionParenKeyword"&&X.push({tag:"JSNonExpressionParen",nesting:re}),re++,te=!1;break;case")":re--,te=!0,K.tag==="JSNonExpressionParen"&&re===K.nesting&&(X.pop(),z="?NonExpressionParenEnd",te=!1);break;case"{":y.lastIndex=0,N=!E.test(L)&&(v.test(L)||l.test(L)),P.push(N),te=!1;break;case"}":switch(K.tag){case"InterpolationInTemplate":if(P.length===K.nesting){T.lastIndex=_,M=T.exec(b),_=T.lastIndex,L=M[0],M[1]==="${"?(L="?InterpolationInTemplate",te=!1,yield{type:"TemplateMiddle",value:M[0]}):(X.pop(),te=!0,yield{type:"TemplateTail",value:M[0],closed:M[1]==="`"});continue}break;case"InterpolationInJSX":if(P.length===K.nesting){X.pop(),_+=1,L="}",yield{type:"JSXPunctuator",value:"}"};continue}}te=P.pop(),z=te?"?ExpressionBraceEnd":"}";break;case"]":te=!0;break;case"++":case"--":z=te?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(w&&(v.test(L)||l.test(L))){X.push({tag:"JSXTag"}),_+=1,L="<",yield{type:"JSXPunctuator",value:ue};continue}te=!1;break;default:te=!1}_=$,L=z,yield{type:"Punctuator",value:ue};continue}if(r.lastIndex=_,M=r.exec(b)){switch(_=r.lastIndex,z=M[0],M[0]){case"for":case"if":case"while":case"with":L!=="."&&L!=="?."&&(z="?NonExpressionParenKeyword")}L=z,te=!l.test(M[0]),yield{type:M[1]==="#"?"PrivateIdentifier":"IdentifierName",value:M[0]};continue}if(C.lastIndex=_,M=C.exec(b)){_=C.lastIndex,L=M[0],te=!0,yield{type:"StringLiteral",value:M[0],closed:M[2]!==void 0};continue}if(D.lastIndex=_,M=D.exec(b)){_=D.lastIndex,L=M[0],te=!0,yield{type:"NumericLiteral",value:M[0]};continue}if(T.lastIndex=_,M=T.exec(b)){_=T.lastIndex,L=M[0],M[1]==="${"?(L="?InterpolationInTemplate",X.push({tag:"InterpolationInTemplate",nesting:P.length}),te=!1,yield{type:"TemplateHead",value:M[0]}):(te=!0,yield{type:"NoSubstitutionTemplate",value:M[0],closed:M[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(i.lastIndex=_,M=i.exec(b)){switch(_=i.lastIndex,z=M[0],M[0]){case"<":X.push({tag:"JSXTag"});break;case">":X.pop(),L==="/"||K.tag==="JSXTagEnd"?(z="?JSX",te=!0):X.push({tag:"JSXChildren"});break;case"{":X.push({tag:"InterpolationInJSX",nesting:P.length}),z="?InterpolationInJSX",te=!1;break;case"/":L==="<"&&(X.pop(),X[X.length-1].tag==="JSXChildren"&&X.pop(),X.push({tag:"JSXTagEnd"}))}L=z,yield{type:"JSXPunctuator",value:M[0]};continue}if(s.lastIndex=_,M=s.exec(b)){_=s.lastIndex,L=M[0],yield{type:"JSXIdentifier",value:M[0]};continue}if(n.lastIndex=_,M=n.exec(b)){_=n.lastIndex,L=M[0],yield{type:"JSXString",value:M[0],closed:M[2]!==void 0};continue}break;case"JSXChildren":if(o.lastIndex=_,M=o.exec(b)){_=o.lastIndex,L=M[0],yield{type:"JSXText",value:M[0]};continue}switch(b[_]){case"<":X.push({tag:"JSXTag"}),_++,L="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":X.push({tag:"InterpolationInJSX",nesting:P.length}),_++,L="?InterpolationInJSX",te=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(F.lastIndex=_,M=F.exec(b)){_=F.lastIndex,yield{type:"WhiteSpace",value:M[0]};continue}if(f.lastIndex=_,M=f.exec(b)){_=f.lastIndex,te=!1,c.test(L)&&(L="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:M[0]};continue}if(h.lastIndex=_,M=h.exec(b)){_=h.lastIndex,d.test(M[0])&&(te=!1,c.test(L)&&(L="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:M[0],closed:M[1]!==void 0};continue}if(x.lastIndex=_,M=x.exec(b)){_=x.lastIndex,te=!1,yield{type:"SingleLineComment",value:M[0]};continue}k=String.fromCodePoint(b.codePointAt(_)),_+=k.length,L=k,te=!1,yield{type:K.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:k}}}}),bF={};Rh(bF,{__debug:()=>h3,check:()=>p3,doc:()=>Qg,format:()=>os,formatWithCursor:()=>r0,getSupportInfo:()=>c3,util:()=>Zg,version:()=>$P});var zo=(t,e)=>(r,s,...i)=>r|1&&s==null?void 0:(e.call(s)??s[t]).apply(s,i),TF=String.prototype.replaceAll??function(t,e){return t.global?this.replace(t,e):this.split(t).join(e)},vF=zo("replaceAll",function(){if(typeof this=="string")return TF}),Ll=vF,FF=class{diff(e,r,s={}){let i;typeof s=="function"?(i=s,s={}):"callback"in s&&(i=s.callback);let n=this.castInput(e,s),o=this.castInput(r,s),l=this.removeEmpty(this.tokenize(n,s)),c=this.removeEmpty(this.tokenize(o,s));return this.diffWithOptionsObj(l,c,s,i)}diffWithOptionsObj(e,r,s,i){var n;let o=E=>{if(E=this.postProcess(E,s),i){setTimeout(function(){i(E)},0);return}else return E},l=r.length,c=e.length,f=1,h=l+c;s.maxEditLength!=null&&(h=Math.min(h,s.maxEditLength));let d=(n=s.timeout)!==null&&n!==void 0?n:1/0,D=Date.now()+d,y=[{oldPos:-1,lastComponent:void 0}],g=this.extractCommon(y[0],r,e,0,s);if(y[0].oldPos+1>=c&&g+1>=l)return o(this.buildValues(y[0].lastComponent,r,e));let x=-1/0,C=1/0,T=()=>{for(let E=Math.max(x,-f);E<=Math.min(C,f);E+=2){let v,F=y[E-1],b=y[E+1];F&&(y[E-1]=void 0);let w=!1;if(b){let k=b.oldPos-E;w=b&&0<=k&&k<l}let P=F&&F.oldPos+1<c;if(!w&&!P){y[E]=void 0;continue}if(!P||w&&F.oldPos<b.oldPos?v=this.addToPath(b,!0,!1,0,s):v=this.addToPath(F,!1,!0,1,s),g=this.extractCommon(v,r,e,E,s),v.oldPos+1>=c&&g+1>=l)return o(this.buildValues(v.lastComponent,r,e))||!0;y[E]=v,v.oldPos+1>=c&&(C=Math.min(C,E-1)),g+1>=l&&(x=Math.max(x,E+1))}f++};if(i)(function E(){setTimeout(function(){if(f>h||Date.now()>D)return i(void 0);T()||E()},0)})();else for(;f<=h&&Date.now()<=D;){let E=T();if(E)return E}}addToPath(e,r,s,i,n){let o=e.lastComponent;return o&&!n.oneChangePerToken&&o.added===r&&o.removed===s?{oldPos:e.oldPos+i,lastComponent:{count:o.count+1,added:r,removed:s,previousComponent:o.previousComponent}}:{oldPos:e.oldPos+i,lastComponent:{count:1,added:r,removed:s,previousComponent:o}}}extractCommon(e,r,s,i,n){let o=r.length,l=s.length,c=e.oldPos,f=c-i,h=0;for(;f+1<o&&c+1<l&&this.equals(s[c+1],r[f+1],n);)f++,c++,h++,n.oneChangePerToken&&(e.lastComponent={count:1,previousComponent:e.lastComponent,added:!1,removed:!1});return h&&!n.oneChangePerToken&&(e.lastComponent={count:h,previousComponent:e.lastComponent,added:!1,removed:!1}),e.oldPos=c,f}equals(e,r,s){return s.comparator?s.comparator(e,r):e===r||!!s.ignoreCase&&e.toLowerCase()===r.toLowerCase()}removeEmpty(e){let r=[];for(let s=0;s<e.length;s++)e[s]&&r.push(e[s]);return r}castInput(e,r){return e}tokenize(e,r){return Array.from(e)}join(e){return e.join("")}postProcess(e,r){return e}get useLongestToken(){return!1}buildValues(e,r,s){let i=[],n;for(;e;)i.push(e),n=e.previousComponent,delete e.previousComponent,e=n;i.reverse();let o=i.length,l=0,c=0,f=0;for(;l<o;l++){let h=i[l];if(h.removed)h.value=this.join(s.slice(f,f+h.count)),f+=h.count;else{if(!h.added&&this.useLongestToken){let d=r.slice(c,c+h.count);d=d.map(function(D,y){let g=s[f+y];return g.length>D.length?g:D}),h.value=this.join(d)}else h.value=this.join(r.slice(c,c+h.count));c+=h.count,h.added||(f+=h.count)}}return i}},wF=class extends FF{tokenize(e){return e.slice()}join(e){return e}removeEmpty(e){return e}},SF=new wF;function PF(t,e,r){return SF.diff(t,e,r)}var kF=()=>{},IF=kF,ig="cr",ng="crlf",BF="lf",NF=BF,jh="\r",ag=`\r
|
|
1
|
+
import{am as Cv,a7 as K2,a3 as Ki,aD as G2,aF as bv,ac as kl,f as Il,Z as X2,_ as Mc,U as ys,a0 as Tv,a5 as vv,e as Fi,y as Vo,g as Fv,x as Bl,A as Nl,J as _l,o as wv,p as Sv,R as Pv,P as kv,D as Iv,l as Bv}from"./vendor-ui-CGT0cG1n.js";import{k as on,a as us,I as Nv,m as Pe,V as Rc,e as ko,M as Io,o as fl,r as di,K as _v,z as Lv,j as Ov,i as zp}from"./index-D88CvPWT.js";/* empty css *//* empty css */import{v as Mt,ab as ke,l as ft,Z as _h,i as He,q as gt,ap as Ke,F as Ls,ah as fi,$ as uo,g as je,ai as jc,az as $v,j as Ze,aO as ge,c as Mv,ax as me,X as Y2,r as Te,aB as Lh,aA as Qt,aM as Mr,k as dr,aP as Rv,aK as jv,W as Oh,af as yr,Y as Kn,aF as Ei,aj as $h,aR as Q2,H as xr,aN as Uv,aD as qv,ac as Vv,K as zv,al as Hv,y as Wv,ad as Jv,w as Kv}from"./vendor-core-BKehvho7.js";import{c as Z2,p as Gv}from"./index-B9hCLAJk.js";import{_ as eg}from"./EmptyStatusContainer.vue_vue_type_script_setup_true_lang-pswB5SUz.js";import{v as ml}from"./v4-EwEgHOG0.js";import{c as Xv,b as Yv,d as Qv,a as ts,I as ty,e as Zv}from"./useMessage-Cbhfk7Nk.js";import{u as tg,_ as rg,a as eF}from"./index.vue_vue_type_style_index_0_lang-BZ1LzI3x.js";import{_ as sg}from"./BaseDialog.vue_vue_type_script_setup_true_lang-BROcUfEh.js";import{_ as tF}from"./PanelBackground.vue_vue_type_script_setup_true_lang-BELCrrRh.js";import{_ as rF}from"./BaseSegmented.vue_vue_type_script_setup_true_lang-DU79Plk1.js";import{_ as sF}from"./LoadingWrapper.vue_vue_type_script_setup_true_lang-kJcgjuK5.js";function iF(t,e){for(var r=0;r<e.length;r++){const s=e[r];if(typeof s!="string"&&!Array.isArray(s)){for(const i in s)if(i!=="default"&&!(i in t)){const n=Object.getOwnPropertyDescriptor(s,i);n&&Object.defineProperty(t,i,n.get?n:{enumerable:!0,get:()=>s[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}const nF={class:"loading-text"},aF={class:"loading-dots"},oF=Mt({__name:"Loading",props:{text:{default:"加载中"},fullscreen:{type:Boolean,default:!1}},setup(t){const e=t,r=je(()=>`${e.text} `);return(s,i)=>(ke(),ft("div",{class:_h(["loading-wrapper",{"loading-inline":!t.fullscreen}])},[He("span",nF,[gt(Ke(r.value),1),He("span",aF,[(ke(),ft(Ls,null,fi(3,n=>He("span",{key:n,class:"loading-dot",style:uo({animationDelay:`${(n-1)*.3}s`})},".",4)),64))])])],2))}}),uF=on(oF,[["__scopeId","data-v-7069e81b"]]),lF=Mt({__name:"BaseBadge",props:{isDot:{type:Boolean,default:!1},offset:{type:Array,default:()=>[5,-5]}},setup(t){const e=t,r=je(()=>({"--offsetX":`${e.offset[0]}px`,"--offsetY":`${e.offset[1]}px`}));return(s,i)=>(ke(),ft("div",{class:_h(["inline relative",{dot:t.isDot}]),style:uo(r.value)},[jc(s.$slots,"default",{},void 0,!0)],6))}}),pF=on(lF,[["__scopeId","data-v-f99513fd"]]),cF={key:1,class:"grid-container"},hF=Mt({__name:"GridContainer",props:{itemMinWidth:{type:Number,default:300},gap:{type:Number,default:20},useTransition:{type:Boolean,default:!0},useLeaveTransition:{type:Boolean,default:!0}},setup(t){$v(i=>({v435dab90:s.value,v6971b9fd:r.value}));const e=t,r=je(()=>e.gap+"px"),s=je(()=>e.itemMinWidth+"px");return(i,n)=>t.useTransition?(ke(),Ze(Mv,{key:0,class:"grid-container",name:"list",tag:"div","leave-active-class":t.useLeaveTransition?void 0:"list-leave-none","leave-to-class":t.useLeaveTransition?void 0:"list-leave-none"},{default:ge(()=>[jc(i.$slots,"default",{},void 0,!0)]),_:3},8,["leave-active-class","leave-to-class"])):(ke(),ft("div",cF,[jc(i.$slots,"default",{},void 0,!0)]))}}),dF=on(hF,[["__scopeId","data-v-0e1fb53a"]]);var fF=Object.create,Mh=Object.defineProperty,mF=Object.getOwnPropertyDescriptor,yF=Object.getOwnPropertyNames,DF=Object.getPrototypeOf,gF=Object.prototype.hasOwnProperty,xF=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Rh=(t,e)=>{for(var r in e)Mh(t,r,{get:e[r],enumerable:!0})},EF=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of yF(e))!gF.call(t,i)&&i!==r&&Mh(t,i,{get:()=>e[i],enumerable:!(s=mF(e,i))||s.enumerable});return t},AF=(t,e,r)=>(r=t!=null?fF(DF(t)):{},EF(Mh(r,"default",{value:t,enumerable:!0}),t)),CF=xF((t,e)=>{var r,s,i,n,o,l,c,f,h,d,D,y,g,x,C,T,E,v,F;g=/\/(?![*\/])(?:\[(?:[^\]\\\n\r\u2028\u2029]+|\\.)*\]|[^\/\\\n\r\u2028\u2029]+|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,y=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,r=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]+|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu,C=/(['"])(?:[^'"\\\n\r]+|(?!\1)['"]|\\(?:\r\n|[^]))*(\1)?/y,D=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,T=/[`}](?:[^`\\$]+|\\[^]|\$(?!\{))*(`|\$\{)?/y,F=/[\t\v\f\ufeff\p{Zs}]+/yu,f=/\r?\n|[\r\u2028\u2029]/y,h=/\/\*(?:[^*]+|\*(?!\/))*(\*\/)?/y,x=/\/\/.*/y,i=/[<>.:={}]|\/(?![\/*])/y,s=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,n=/(['"])(?:[^'"]+|(?!\1)['"])*(\1)?/y,o=/[^<>{}]+/y,v=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,E=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,l=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,c=/^(?:return|throw|yield)$/,d=RegExp(f.source),e.exports=function*(b,{jsx:w=!1}={}){var P,k,N,_,L,I,M,K,$,z,re,te,ue,X;for({length:I}=b,_=0,L="",X=[{tag:"JS"}],P=[],re=0,te=!1;_<I;){switch(K=X[X.length-1],K.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(b[_]==="/"&&(v.test(L)||l.test(L))&&(g.lastIndex=_,M=g.exec(b))){_=g.lastIndex,L=M[0],te=!0,yield{type:"RegularExpressionLiteral",value:M[0],closed:M[1]!==void 0&&M[1]!=="\\"};continue}if(y.lastIndex=_,M=y.exec(b)){switch(ue=M[0],$=y.lastIndex,z=ue,ue){case"(":L==="?NonExpressionParenKeyword"&&X.push({tag:"JSNonExpressionParen",nesting:re}),re++,te=!1;break;case")":re--,te=!0,K.tag==="JSNonExpressionParen"&&re===K.nesting&&(X.pop(),z="?NonExpressionParenEnd",te=!1);break;case"{":y.lastIndex=0,N=!E.test(L)&&(v.test(L)||l.test(L)),P.push(N),te=!1;break;case"}":switch(K.tag){case"InterpolationInTemplate":if(P.length===K.nesting){T.lastIndex=_,M=T.exec(b),_=T.lastIndex,L=M[0],M[1]==="${"?(L="?InterpolationInTemplate",te=!1,yield{type:"TemplateMiddle",value:M[0]}):(X.pop(),te=!0,yield{type:"TemplateTail",value:M[0],closed:M[1]==="`"});continue}break;case"InterpolationInJSX":if(P.length===K.nesting){X.pop(),_+=1,L="}",yield{type:"JSXPunctuator",value:"}"};continue}}te=P.pop(),z=te?"?ExpressionBraceEnd":"}";break;case"]":te=!0;break;case"++":case"--":z=te?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(w&&(v.test(L)||l.test(L))){X.push({tag:"JSXTag"}),_+=1,L="<",yield{type:"JSXPunctuator",value:ue};continue}te=!1;break;default:te=!1}_=$,L=z,yield{type:"Punctuator",value:ue};continue}if(r.lastIndex=_,M=r.exec(b)){switch(_=r.lastIndex,z=M[0],M[0]){case"for":case"if":case"while":case"with":L!=="."&&L!=="?."&&(z="?NonExpressionParenKeyword")}L=z,te=!l.test(M[0]),yield{type:M[1]==="#"?"PrivateIdentifier":"IdentifierName",value:M[0]};continue}if(C.lastIndex=_,M=C.exec(b)){_=C.lastIndex,L=M[0],te=!0,yield{type:"StringLiteral",value:M[0],closed:M[2]!==void 0};continue}if(D.lastIndex=_,M=D.exec(b)){_=D.lastIndex,L=M[0],te=!0,yield{type:"NumericLiteral",value:M[0]};continue}if(T.lastIndex=_,M=T.exec(b)){_=T.lastIndex,L=M[0],M[1]==="${"?(L="?InterpolationInTemplate",X.push({tag:"InterpolationInTemplate",nesting:P.length}),te=!1,yield{type:"TemplateHead",value:M[0]}):(te=!0,yield{type:"NoSubstitutionTemplate",value:M[0],closed:M[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(i.lastIndex=_,M=i.exec(b)){switch(_=i.lastIndex,z=M[0],M[0]){case"<":X.push({tag:"JSXTag"});break;case">":X.pop(),L==="/"||K.tag==="JSXTagEnd"?(z="?JSX",te=!0):X.push({tag:"JSXChildren"});break;case"{":X.push({tag:"InterpolationInJSX",nesting:P.length}),z="?InterpolationInJSX",te=!1;break;case"/":L==="<"&&(X.pop(),X[X.length-1].tag==="JSXChildren"&&X.pop(),X.push({tag:"JSXTagEnd"}))}L=z,yield{type:"JSXPunctuator",value:M[0]};continue}if(s.lastIndex=_,M=s.exec(b)){_=s.lastIndex,L=M[0],yield{type:"JSXIdentifier",value:M[0]};continue}if(n.lastIndex=_,M=n.exec(b)){_=n.lastIndex,L=M[0],yield{type:"JSXString",value:M[0],closed:M[2]!==void 0};continue}break;case"JSXChildren":if(o.lastIndex=_,M=o.exec(b)){_=o.lastIndex,L=M[0],yield{type:"JSXText",value:M[0]};continue}switch(b[_]){case"<":X.push({tag:"JSXTag"}),_++,L="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":X.push({tag:"InterpolationInJSX",nesting:P.length}),_++,L="?InterpolationInJSX",te=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(F.lastIndex=_,M=F.exec(b)){_=F.lastIndex,yield{type:"WhiteSpace",value:M[0]};continue}if(f.lastIndex=_,M=f.exec(b)){_=f.lastIndex,te=!1,c.test(L)&&(L="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:M[0]};continue}if(h.lastIndex=_,M=h.exec(b)){_=h.lastIndex,d.test(M[0])&&(te=!1,c.test(L)&&(L="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:M[0],closed:M[1]!==void 0};continue}if(x.lastIndex=_,M=x.exec(b)){_=x.lastIndex,te=!1,yield{type:"SingleLineComment",value:M[0]};continue}k=String.fromCodePoint(b.codePointAt(_)),_+=k.length,L=k,te=!1,yield{type:K.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:k}}}}),bF={};Rh(bF,{__debug:()=>h3,check:()=>p3,doc:()=>Qg,format:()=>os,formatWithCursor:()=>r0,getSupportInfo:()=>c3,util:()=>Zg,version:()=>$P});var zo=(t,e)=>(r,s,...i)=>r|1&&s==null?void 0:(e.call(s)??s[t]).apply(s,i),TF=String.prototype.replaceAll??function(t,e){return t.global?this.replace(t,e):this.split(t).join(e)},vF=zo("replaceAll",function(){if(typeof this=="string")return TF}),Ll=vF,FF=class{diff(e,r,s={}){let i;typeof s=="function"?(i=s,s={}):"callback"in s&&(i=s.callback);let n=this.castInput(e,s),o=this.castInput(r,s),l=this.removeEmpty(this.tokenize(n,s)),c=this.removeEmpty(this.tokenize(o,s));return this.diffWithOptionsObj(l,c,s,i)}diffWithOptionsObj(e,r,s,i){var n;let o=E=>{if(E=this.postProcess(E,s),i){setTimeout(function(){i(E)},0);return}else return E},l=r.length,c=e.length,f=1,h=l+c;s.maxEditLength!=null&&(h=Math.min(h,s.maxEditLength));let d=(n=s.timeout)!==null&&n!==void 0?n:1/0,D=Date.now()+d,y=[{oldPos:-1,lastComponent:void 0}],g=this.extractCommon(y[0],r,e,0,s);if(y[0].oldPos+1>=c&&g+1>=l)return o(this.buildValues(y[0].lastComponent,r,e));let x=-1/0,C=1/0,T=()=>{for(let E=Math.max(x,-f);E<=Math.min(C,f);E+=2){let v,F=y[E-1],b=y[E+1];F&&(y[E-1]=void 0);let w=!1;if(b){let k=b.oldPos-E;w=b&&0<=k&&k<l}let P=F&&F.oldPos+1<c;if(!w&&!P){y[E]=void 0;continue}if(!P||w&&F.oldPos<b.oldPos?v=this.addToPath(b,!0,!1,0,s):v=this.addToPath(F,!1,!0,1,s),g=this.extractCommon(v,r,e,E,s),v.oldPos+1>=c&&g+1>=l)return o(this.buildValues(v.lastComponent,r,e))||!0;y[E]=v,v.oldPos+1>=c&&(C=Math.min(C,E-1)),g+1>=l&&(x=Math.max(x,E+1))}f++};if(i)(function E(){setTimeout(function(){if(f>h||Date.now()>D)return i(void 0);T()||E()},0)})();else for(;f<=h&&Date.now()<=D;){let E=T();if(E)return E}}addToPath(e,r,s,i,n){let o=e.lastComponent;return o&&!n.oneChangePerToken&&o.added===r&&o.removed===s?{oldPos:e.oldPos+i,lastComponent:{count:o.count+1,added:r,removed:s,previousComponent:o.previousComponent}}:{oldPos:e.oldPos+i,lastComponent:{count:1,added:r,removed:s,previousComponent:o}}}extractCommon(e,r,s,i,n){let o=r.length,l=s.length,c=e.oldPos,f=c-i,h=0;for(;f+1<o&&c+1<l&&this.equals(s[c+1],r[f+1],n);)f++,c++,h++,n.oneChangePerToken&&(e.lastComponent={count:1,previousComponent:e.lastComponent,added:!1,removed:!1});return h&&!n.oneChangePerToken&&(e.lastComponent={count:h,previousComponent:e.lastComponent,added:!1,removed:!1}),e.oldPos=c,f}equals(e,r,s){return s.comparator?s.comparator(e,r):e===r||!!s.ignoreCase&&e.toLowerCase()===r.toLowerCase()}removeEmpty(e){let r=[];for(let s=0;s<e.length;s++)e[s]&&r.push(e[s]);return r}castInput(e,r){return e}tokenize(e,r){return Array.from(e)}join(e){return e.join("")}postProcess(e,r){return e}get useLongestToken(){return!1}buildValues(e,r,s){let i=[],n;for(;e;)i.push(e),n=e.previousComponent,delete e.previousComponent,e=n;i.reverse();let o=i.length,l=0,c=0,f=0;for(;l<o;l++){let h=i[l];if(h.removed)h.value=this.join(s.slice(f,f+h.count)),f+=h.count;else{if(!h.added&&this.useLongestToken){let d=r.slice(c,c+h.count);d=d.map(function(D,y){let g=s[f+y];return g.length>D.length?g:D}),h.value=this.join(d)}else h.value=this.join(r.slice(c,c+h.count));c+=h.count,h.added||(f+=h.count)}}return i}},wF=class extends FF{tokenize(e){return e.slice()}join(e){return e}removeEmpty(e){return e}},SF=new wF;function PF(t,e,r){return SF.diff(t,e,r)}var kF=()=>{},IF=kF,ig="cr",ng="crlf",BF="lf",NF=BF,jh="\r",ag=`\r
|
|
2
2
|
`,Ol=`
|
|
3
3
|
`,_F=Ol;function LF(t){let e=t.indexOf(jh);return e!==-1?t.charAt(e+1)===Ol?ng:ig:NF}function Uh(t){return t===ig?jh:t===ng?ag:_F}var OF=new Map([[Ol,/\n/gu],[jh,/\r/gu],[ag,/\r\n/gu]]);function og(t,e){let r=OF.get(e);return t.match(r)?.length??0}var $F=/\r\n?/gu;function MF(t){return Ll(0,t,$F,Ol)}function RF(t){return this[t<0?this.length+t:t]}var jF=zo("at",function(){if(Array.isArray(this)||typeof this=="string")return RF}),Ot=jF,un="string",js="array",wi="cursor",Ws="indent",Js="align",Ks="trim",Er="group",Es="fill",wr="if-break",Gs="indent-if-break",Xs="line-suffix",Ys="line-suffix-boundary",Ht="line",As="label",Ur="break-parent",ug=new Set([wi,Ws,Js,Ks,Er,Es,wr,Gs,Xs,Ys,Ht,As,Ur]);function UF(t){let e=t.length;for(;e>0&&(t[e-1]==="\r"||t[e-1]===`
|
|
4
4
|
`);)e--;return e<t.length?t.slice(0,e):t}function qF(t){if(typeof t=="string")return un;if(Array.isArray(t))return js;if(!t)return;let{type:e}=t;if(ug.has(e))return e}var ln=qF,VF=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function zF(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as c,I as a,a as g,e as m}from"./useMessage-
|
|
1
|
+
import{u as c,I as a,a as g,e as m}from"./useMessage-Cbhfk7Nk.js";import{g as E}from"./vendor-core-BKehvho7.js";const T=(s,o)=>{const{sendMessageToTargetIframe:r,messageListener:t}=m(),{addListener:i}=t(),_=c(!1,window.__GLOBAL_CONFIG__.subPort);i(a.SEARCH_KEYWORD_GET,()=>{const{triggerCallback:n,stopWatch:u}=g(E(()=>s.value),()=>{o.value?.sendMessageToTargetIframeByCompId(e=>{e?r(e,a.SEARCH_KEYWORD_SET,s.value,_):u()})});n()})};export{T as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aM as
|
|
1
|
+
import{aM as G,a9 as N,a6 as P,y as D,g as y}from"./vendor-core-BKehvho7.js";import{am as U}from"./vendor-ui-CGT0cG1n.js";import{m as C}from"./index-D88CvPWT.js";function b(O,S,m){let I=()=>{};const w=D();let T=null,l=[];I=G(()=>O.value,t=>{T=t,l.forEach(({task:n,data:i})=>{n(i)})},{deep:!0,immediate:!0,...m});function a(t){l.push({task:S,data:t??{}}),T&&S(t??{})}return w&&(N(()=>{I(),l=[]}),P(()=>{l=[]})),{stopWatch:I,triggerCallback:a}}var L={exports:{}},M;function x(){return M||(M=1,(function(O){var S=(function(){var m=String.fromCharCode,I="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",w="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",T={};function l(t,n){if(!T[t]){T[t]={};for(var i=0;i<t.length;i++)T[t][t.charAt(i)]=i}return T[t][n]}var a={compressToBase64:function(t){if(t==null)return"";var n=a._compress(t,6,function(i){return I.charAt(i)});switch(n.length%4){default:case 0:return n;case 1:return n+"===";case 2:return n+"==";case 3:return n+"="}},decompressFromBase64:function(t){return t==null?"":t==""?null:a._decompress(t.length,32,function(n){return l(I,t.charAt(n))})},compressToUTF16:function(t){return t==null?"":a._compress(t,15,function(n){return m(n+32)})+" "},decompressFromUTF16:function(t){return t==null?"":t==""?null:a._decompress(t.length,16384,function(n){return t.charCodeAt(n)-32})},compressToUint8Array:function(t){for(var n=a.compress(t),i=new Uint8Array(n.length*2),o=0,r=n.length;o<r;o++){var p=n.charCodeAt(o);i[o*2]=p>>>8,i[o*2+1]=p%256}return i},decompressFromUint8Array:function(t){if(t==null)return a.decompress(t);for(var n=new Array(t.length/2),i=0,o=n.length;i<o;i++)n[i]=t[i*2]*256+t[i*2+1];var r=[];return n.forEach(function(p){r.push(m(p))}),a.decompress(r.join(""))},compressToEncodedURIComponent:function(t){return t==null?"":a._compress(t,6,function(n){return w.charAt(n)})},decompressFromEncodedURIComponent:function(t){return t==null?"":t==""?null:(t=t.replace(/ /g,"+"),a._decompress(t.length,32,function(n){return l(w,t.charAt(n))}))},compress:function(t){return a._compress(t,16,function(n){return m(n)})},_compress:function(t,n,i){if(t==null)return"";var o,r,p={},g={},A="",h="",f="",d=2,u=3,c=2,E=[],e=0,_=0,s;for(s=0;s<t.length;s+=1)if(A=t.charAt(s),Object.prototype.hasOwnProperty.call(p,A)||(p[A]=u++,g[A]=!0),h=f+A,Object.prototype.hasOwnProperty.call(p,h))f=h;else{if(Object.prototype.hasOwnProperty.call(g,f)){if(f.charCodeAt(0)<256){for(o=0;o<c;o++)e=e<<1,_==n-1?(_=0,E.push(i(e)),e=0):_++;for(r=f.charCodeAt(0),o=0;o<8;o++)e=e<<1|r&1,_==n-1?(_=0,E.push(i(e)),e=0):_++,r=r>>1}else{for(r=1,o=0;o<c;o++)e=e<<1|r,_==n-1?(_=0,E.push(i(e)),e=0):_++,r=0;for(r=f.charCodeAt(0),o=0;o<16;o++)e=e<<1|r&1,_==n-1?(_=0,E.push(i(e)),e=0):_++,r=r>>1}d--,d==0&&(d=Math.pow(2,c),c++),delete g[f]}else for(r=p[f],o=0;o<c;o++)e=e<<1|r&1,_==n-1?(_=0,E.push(i(e)),e=0):_++,r=r>>1;d--,d==0&&(d=Math.pow(2,c),c++),p[h]=u++,f=String(A)}if(f!==""){if(Object.prototype.hasOwnProperty.call(g,f)){if(f.charCodeAt(0)<256){for(o=0;o<c;o++)e=e<<1,_==n-1?(_=0,E.push(i(e)),e=0):_++;for(r=f.charCodeAt(0),o=0;o<8;o++)e=e<<1|r&1,_==n-1?(_=0,E.push(i(e)),e=0):_++,r=r>>1}else{for(r=1,o=0;o<c;o++)e=e<<1|r,_==n-1?(_=0,E.push(i(e)),e=0):_++,r=0;for(r=f.charCodeAt(0),o=0;o<16;o++)e=e<<1|r&1,_==n-1?(_=0,E.push(i(e)),e=0):_++,r=r>>1}d--,d==0&&(d=Math.pow(2,c),c++),delete g[f]}else for(r=p[f],o=0;o<c;o++)e=e<<1|r&1,_==n-1?(_=0,E.push(i(e)),e=0):_++,r=r>>1;d--,d==0&&(d=Math.pow(2,c),c++)}for(r=2,o=0;o<c;o++)e=e<<1|r&1,_==n-1?(_=0,E.push(i(e)),e=0):_++,r=r>>1;for(;;)if(e=e<<1,_==n-1){E.push(i(e));break}else _++;return E.join("")},decompress:function(t){return t==null?"":t==""?null:a._decompress(t.length,32768,function(n){return t.charCodeAt(n)})},_decompress:function(t,n,i){var o=[],r=4,p=4,g=3,A="",h=[],f,d,u,c,E,e,_,s={val:i(0),position:n,index:1};for(f=0;f<3;f+=1)o[f]=f;for(u=0,E=Math.pow(2,2),e=1;e!=E;)c=s.val&s.position,s.position>>=1,s.position==0&&(s.position=n,s.val=i(s.index++)),u|=(c>0?1:0)*e,e<<=1;switch(u){case 0:for(u=0,E=Math.pow(2,8),e=1;e!=E;)c=s.val&s.position,s.position>>=1,s.position==0&&(s.position=n,s.val=i(s.index++)),u|=(c>0?1:0)*e,e<<=1;_=m(u);break;case 1:for(u=0,E=Math.pow(2,16),e=1;e!=E;)c=s.val&s.position,s.position>>=1,s.position==0&&(s.position=n,s.val=i(s.index++)),u|=(c>0?1:0)*e,e<<=1;_=m(u);break;case 2:return""}for(o[3]=_,d=_,h.push(_);;){if(s.index>t)return"";for(u=0,E=Math.pow(2,g),e=1;e!=E;)c=s.val&s.position,s.position>>=1,s.position==0&&(s.position=n,s.val=i(s.index++)),u|=(c>0?1:0)*e,e<<=1;switch(_=u){case 0:for(u=0,E=Math.pow(2,8),e=1;e!=E;)c=s.val&s.position,s.position>>=1,s.position==0&&(s.position=n,s.val=i(s.index++)),u|=(c>0?1:0)*e,e<<=1;o[p++]=m(u),_=p-1,r--;break;case 1:for(u=0,E=Math.pow(2,16),e=1;e!=E;)c=s.val&s.position,s.position>>=1,s.position==0&&(s.position=n,s.val=i(s.index++)),u|=(c>0?1:0)*e,e<<=1;o[p++]=m(u),_=p-1,r--;break;case 2:return h.join("")}if(r==0&&(r=Math.pow(2,g),g++),o[_])A=o[_];else if(_===p)A=d+d.charAt(0);else return null;h.push(A),o[p++]=d+A.charAt(0),r--,d=A,r==0&&(r=Math.pow(2,g),g++)}}};return a})();O!=null?O.exports=S:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return S})})(L)),L.exports}var H=x();const v=U(H),R=["topOrigin","compType","userId","instanceUid","compId","isSfc"],z=()=>{const O=I();function S(l){if(Object.keys(l).filter(t=>!R.includes(t)).length)throw new Error(`iframe参数键名只能包含${R.join(", ")}`);return v.compressToEncodedURIComponent(JSON.stringify(l))}function m(l){const a=v.decompressFromEncodedURIComponent(l);return JSON.parse(a)}function I(){const a=new URLSearchParams(window.location.search).get("params")??"";return m(a)}function w(l){const a={...O,...l};return S(a)}function T(){return new URLSearchParams(window.location.search).get("isDark")}return{params:O,createIframeParams:S,uniteParams:w,getTheme:T}},J=(O,S)=>`${C.IFRAME_HOST}:${S}`,K=(O,S)=>`${C.IFRAME_HOST}:${S}`,k={LIST_INIT:"list_init",LIST_INIT_GET:"list_init_get",ITEM_INIT_SET:"item_init_set",ITEM_INIT_GET:"item_init_get",ITEM_INIT_SET_LOCAL:"item_init_set_local",ITEM_INIT_GET_LOCAL:"item_init_get_local",ITEM_VERSION_CHANGE:"item_version_change",ITEM_VERSION_LIST_GET:"item_version_list_get",ITEM_VERSION_LIST_SET:"item_version_list_set",ITEM_SITE_PATH_SET:"item_site_path_set",ITEM_SITE_PATH_GET:"item_site_path_get",THEME_CHANGE_SET:"theme_change_set",THEME_CHANGE_GET:"theme_change_get",BG_COLOR_SET:"bg_color_set",BG_COLOR_GET:"bg_color_get",UPDATE_IFRAME_HEIGHT:"update_iframe_height",SELECTED_ROWS_SET:"selected_rows_set",SELECTED_ROWS_GET:"selected_rows_get",SELECTED_ROWS_TO_LEAF_NODE_MAP_SET:"selected_rows_to_leaf_node_map_set",SELECTED_ROWS_TO_LEAF_NODE_MAP_GET:"selected_rows_to_leaf_node_map_get",COMP_GROUP_PATH_GET:"comp_group_path_get",COMP_GROUP_PATH_SET:"comp_group_path_set",COMP_PREVIEW_LIST_SET:"comp_preview_list_set",COMP_PREVIEW_LIST_GET:"comp_preview_list_get",COMP_RENDER_INFO_SET:"comp_render_info_set",COMP_RENDER_INFO_GET:"comp_render_info_get",CAROUSEL_INDEX_SET:"carousel_index_set",CAROUSEL_INDEX_GET:"carousel_index_get",LOCAL_EXIST_GET:"local_exist_get",LOCAL_EXIST_SET:"local_exist_set",SHOW_REFRESH_BTN_SET:"show_refresh_btn_set",SHOW_REFRESH_BTN_GET:"show_refresh_btn_get",ACTION_ADD_COMP_START_LOADING:"action_add_comp_start_loading",ACTION_ADD_COMP_FINISH_LOADING:"action_add_comp_finish_loading",ACTION_DOWNLOAD:"action_download",ACTION_PREVIEW:"action_preview",ACTION_PREVIEW_LOCAL:"action_preview_local",ACTION_COLLECT:"action_collect",ACTION_UPDATE:"action_update",ACTION_DELETE:"action_delete",ACTION_REFRESH:"action_refresh",ACTION_OPEN_VSCODE_LOCAL:"action_open_vscoe_local",IS_ONLINE_UPDATE_SET:"is_online_update_set",IS_ONLINE_UPDATE_GET:"is_online_update_get",IS_ADD_SET:"is_add_set",IS_ADD_GET:"is_add_get",COMP_EDIT_TAB_TYPE_SET:"comp_edit_tab_type_set",OSS_FILE_SIGN_URL_GET:"oss_file_sign_url_get",OSS_FILE_SIGN_URL_SET:"oss_file_sign_url_set",SETTING_DATA_SET:"setting_data_set",SETTING_DATA_GET:"setting_data_get",SETTING_DATA_LEAF_SET:"setting_data_leaf_set",SETTING_DATA_LEAF_GET:"setting_data_leaf_get",SEARCH_KEYWORD_GET:"search_keyword_get",SEARCH_KEYWORD_SET:"search_keyword_set",LOCALE_SET:"locale_set",LOCALE_GET:"locale_get",COMP_RENDER_ERROR_SET:"comp_render_error_set",SELECTED_FOLDER_SET:"selected_folder_set",SELECTED_FOLDER_GET:"selected_folder_get",LOADING_SET:"loading_set"};function F(){const O=D();return{sendMessageToParent:(T,l,a)=>{window.parent.postMessage({type:T,payload:JSON.stringify(l)},a)},sendMessageToTop:(T,l,a,t)=>{if(!a)throw new Error("targetOrigin 不能为空");window.top?.postMessage({type:T,payload:JSON.stringify(l),instanceUid:t},a)},sendMessageToTargetIframe:(T,l,a,t)=>{T.postMessage({type:l,payload:JSON.stringify(a)},t)},messageListener:()=>{const T=new Map,l=a=>{const{type:t,payload:n,instanceUid:i}=a.data??{},o=a.source===window.parent||a.source===window.top,r=i?.split(",").some(g=>g===O?.uid.toString()),p=T.get(t);(r||o)&&p?.(JSON.parse(n))};return window.addEventListener("message",l),N(()=>{window.removeEventListener("message",l),T.clear()}),{addListener:(a,t)=>{T.set(a,n=>{t(n)})},removeListener:a=>{a?T.delete(a):(T.clear(),window.removeEventListener("message",l))}}},instanceUid:y(()=>O?.uid?.toString()??"")}}const Y=Object.freeze(Object.defineProperty({__proto__:null,IFRAME_POST_MESSAGE_TYPE:k,usePostMessage:F},Symbol.toStringTag,{value:"Module"}));export{k as I,b as a,z as b,K as c,Y as d,F as e,J as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{F as c}from"./vendor-ui-CGT0cG1n.js";import{n as p,r}from"./index-
|
|
1
|
+
import{F as c}from"./vendor-ui-CGT0cG1n.js";import{n as p,r}from"./index-D88CvPWT.js";const{i18n:l}=p;function d(){function s(o,e){const n=c.service({lock:!0,text:l.global.t("comp.openingInEditor")});r.v1Comp.compcontrollerOpencomppathinvscode({folderPath:o,relativeFilePath:e}).finally(()=>{n.close()})}function i(o,e=2){const n=window.__GLOBAL_CONFIG__.sep,t=o.split(n);return t.length>e?`...${n}${t.slice(-e).join(n)}`:o}return{handlePath:i,openCompPathInVscode:s}}export{d as u};
|
|
@@ -79,10 +79,10 @@
|
|
|
79
79
|
document.documentElement.classList.remove('dark')
|
|
80
80
|
}
|
|
81
81
|
</script>
|
|
82
|
-
<script type="module" crossorigin src="./assets/index-
|
|
82
|
+
<script type="module" crossorigin src="./assets/index-D88CvPWT.js"></script>
|
|
83
83
|
<link rel="modulepreload" crossorigin href="./assets/vendor-core-BKehvho7.js">
|
|
84
84
|
<link rel="modulepreload" crossorigin href="./assets/vendor-ui-CGT0cG1n.js">
|
|
85
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
85
|
+
<link rel="stylesheet" crossorigin href="./assets/index-qOVjc392.css">
|
|
86
86
|
</head>
|
|
87
87
|
|
|
88
88
|
<body>
|