@vtj/pro 0.8.22 → 0.8.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/dist/@vtj/materials/assets/antdv/index.umd.js +2 -2
  2. package/dist/@vtj/materials/assets/charts/index.umd.js +2 -2
  3. package/dist/@vtj/materials/assets/element/index.umd.js +2 -2
  4. package/dist/@vtj/materials/assets/ui/index.umd.js +2 -2
  5. package/dist/@vtj/materials/deps/@vtj/charts/index.umd.js +2 -2
  6. package/dist/@vtj/materials/deps/@vtj/icons/index.umd.js +2 -2
  7. package/dist/@vtj/materials/deps/@vtj/ui/index.umd.js +2 -2
  8. package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +20 -20
  9. package/dist/@vtj/materials/deps/vue/vue.global.prod.js +3 -3
  10. package/dist/assets/{@element-plus-BsPJl5CN.js → @element-plus-Vqo2cZUp.js} +1 -1
  11. package/dist/assets/@floating-ui-CIcp7egp.js +1 -0
  12. package/dist/assets/{@vue-BqUEC4nt.js → @vue-DXjs1h6G.js} +12 -8
  13. package/dist/assets/{@vueuse-_ZvYO2pC.js → @vueuse-ByKc4Ggo.js} +1 -1
  14. package/dist/assets/{Editor-bVAaI2zL-DWKZq3Vb.js → Editor-bVAaI2zL-DG8AR_al.js} +1 -1
  15. package/dist/assets/{element-plus-ByDLuWeo.js → element-plus-CmJkoIJL.js} +1 -1
  16. package/dist/assets/{index-C7rbDu0-.js → index-C7bmlbXc.js} +1 -1
  17. package/dist/assets/{index-DTo2h6BL.js → index-ClIeafQj.js} +2 -2
  18. package/dist/assets/{index-D9--_rhU.js → index-D7wNNj_s.js} +55 -55
  19. package/dist/assets/preview-DymyOAlW.js +2 -0
  20. package/dist/assets/{vue-CcxMod4L.js → vue-DsB9nCS4.js} +2 -2
  21. package/dist/assets/{vue-router-C0aQ2sXg.js → vue-router-pxpwpbvr.js} +1 -1
  22. package/dist/index.html +7 -7
  23. package/package.json +11 -11
  24. package/dist/assets/@floating-ui-DfU76eP9.js +0 -1
  25. package/dist/assets/preview-CWAEj-0d.js +0 -2
@@ -0,0 +1,2 @@
1
+ const __vite__fileDeps=["./vue-DsB9nCS4.js","./@vue-DXjs1h6G.js","./vue-router-pxpwpbvr.js","./element-plus-CmJkoIJL.js","./lodash-es-iLqVnzBD.js","./@vueuse-ByKc4Ggo.js","./@element-plus-Vqo2cZUp.js","./@popperjs-egqNnATr.js","./@ctrl-riLredlm.js","./dayjs-6gUf-wcg.js","./async-validator-7GrF_zuj.js","./memoize-one-BdPwpGay.js","./normalize-wheel-es-B6fDCfyv.js","./@floating-ui-CIcp7egp.js","./element-plus-Dj7XYlV7.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2
+ var u=(_,i,o)=>new Promise((a,p)=>{var r=t=>{try{e(o.next(t))}catch(n){p(n)}},m=t=>{try{e(o.throw(t))}catch(n){p(n)}},e=t=>t.done?a(t.value):Promise.resolve(t.value).then(r,m);e((o=o.apply(_,i)).next())});import{_ as s}from"./monaco-editor-DwlLClUG.js";import{useRoute as c}from"./vue-router-pxpwpbvr.js";import"./element-plus-CmJkoIJL.js";import{x as d,w as l,M as v}from"./index-D7wNNj_s.js";import{d as f,r as R,S as E,W as V,X as C,o as x,i as P}from"./@vue-DXjs1h6G.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-ByKc4Ggo.js";import"./@element-plus-Vqo2cZUp.js";import"./@popperjs-egqNnATr.js";import"./@ctrl-riLredlm.js";import"./dayjs-6gUf-wcg.js";import"./async-validator-7GrF_zuj.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-CIcp7egp.js";import"./vue-DsB9nCS4.js";import"./mockjs-IStUBvTQ.js";const j=f({__name:"preview",setup(_){const i=new v,{provider:o,onReady:a}=d({mode:l.Runtime,service:i,dependencies:{Vue:()=>s(()=>import("./vue-DsB9nCS4.js").then(e=>e.V),__vite__mapDeps([0,1]),import.meta.url),VueRouter:()=>s(()=>import("./vue-router-pxpwpbvr.js"),__vite__mapDeps([2,1]),import.meta.url),ElementPlus:()=>s(()=>import("./element-plus-CmJkoIJL.js").then(e=>e.a),__vite__mapDeps([3,1,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url)}}),p=c(),r=R(),m=P();return a(()=>u(this,null,function*(){m==null||m.appContext.app.use(o),r.value=yield o.getRenderComponent(p.params.id.toString())})),(e,t)=>r.value?(x(),E(V(r.value),{key:0})):C("",!0)}});export{j as default};
@@ -1,5 +1,5 @@
1
- import{aw as a,ax as e,E as s,ay as o,az as t,aA as r,aB as n,F as i,aC as l,aD as c,aE as d,aF as b,T as p,a7 as m,aG as f,a0 as u,a3 as S,aH as h,aI as R,aJ as v,aK as y,aL as C,aM as g,aN as T,a6 as w,aO as E,k as M,at as x,S as V,X as k,c as D,a as P,aP as B,aQ as N,aR as A,aS as H,ab as O,aT as z,Y as F,_ as I,h as U,aU as j,d as K,aV as _,aW as G,aX as L,aY as W,aZ as q,a_ as J,a$ as Q,b0 as X,b1 as Y,b2 as Z,ao as $,i as aa,g as ea,b3 as sa,ae as oa,J as ta,b4 as ra,b5 as na,b6 as ia,b7 as la,b8 as ca,G as da,b9 as ba,ba as pa,bb as ma,bc as fa,m as ua,bd as Sa,be as ha,D as Ra,an as va,bf as ya,bg as Ca,Q as ga,n as Ta,O as wa,ad as Ea,P as Ma,bh as xa,K as Va,l as ka,aj as Da,a8 as Pa,bi as Ba,j as Na,bj as Aa,bk as Ha,b as Oa,bl as za,I as Fa,a2 as Ia,o as Ua,bm as ja,L as Ka,bn as _a,bo as Ga,bp as La,a1 as Wa,e as qa,r as Ja,bq as Qa,ar as Xa,a9 as Ya,M as Za,ai as $a,aq as ae,W as ee,br as se,bs as oe,bt as te,bu as re,bv as ne,av as ie,bw as le,s as ce,bx as de,by as be,bz as pe,Z as me,bA as fe,am as ue,af as Se,t as he,p as Re,bB as ve,bC as ye,bD as Ce,u as ge,a4 as Te,bE as we,bF as Ee,bG as Me,bH as xe,R as Ve,bI as ke,ag as De,bJ as Pe,ah as Be,bK as Ne,al as Ae,$ as He,bL as Oe,B as ze,f as Fe,w as Ie,bM as Ue,bN as je,bO as Ke,U as _e,bP as Ge,V as Le,aa as We,bQ as qe,a5 as Je,bR as Qe}from"./@vue-BqUEC4nt.js";/**
2
- * vue v3.4.26
1
+ import{aw as a,ax as e,E as s,ay as o,az as t,aA as r,aB as n,F as i,aC as l,aD as c,aE as d,aF as b,T as p,a7 as m,aG as f,a0 as u,a3 as S,aH as h,aI as R,aJ as v,aK as y,aL as C,aM as g,aN as T,a6 as w,aO as E,k as M,at as x,S as V,X as k,c as D,a as P,aP as B,aQ as N,aR as A,aS as H,ab as O,aT as z,Y as F,_ as I,h as U,aU as j,d as K,aV as _,aW as G,aX as L,aY as W,aZ as q,a_ as J,a$ as Q,b0 as X,b1 as Y,b2 as Z,ao as $,i as aa,g as ea,b3 as sa,ae as oa,J as ta,b4 as ra,b5 as na,b6 as ia,b7 as la,b8 as ca,G as da,b9 as ba,ba as pa,bb as ma,bc as fa,m as ua,bd as Sa,be as ha,D as Ra,an as va,bf as ya,bg as Ca,Q as ga,n as Ta,O as wa,ad as Ea,P as Ma,bh as xa,K as Va,l as ka,aj as Da,a8 as Pa,bi as Ba,j as Na,bj as Aa,bk as Ha,b as Oa,bl as za,I as Fa,a2 as Ia,o as Ua,bm as ja,L as Ka,bn as _a,bo as Ga,bp as La,a1 as Wa,e as qa,r as Ja,bq as Qa,ar as Xa,a9 as Ya,M as Za,ai as $a,aq as ae,W as ee,br as se,bs as oe,bt as te,bu as re,bv as ne,av as ie,bw as le,s as ce,bx as de,by as be,bz as pe,Z as me,bA as fe,am as ue,af as Se,t as he,p as Re,bB as ve,bC as ye,bD as Ce,u as ge,a4 as Te,bE as we,bF as Ee,bG as Me,bH as xe,R as Ve,bI as ke,ag as De,bJ as Pe,ah as Be,bK as Ne,al as Ae,$ as He,bL as Oe,B as ze,f as Fe,w as Ie,bM as Ue,bN as je,bO as Ke,U as _e,bP as Ge,V as Le,aa as We,bQ as qe,a5 as Je,bR as Qe}from"./@vue-DXjs1h6G.js";/**
2
+ * vue v3.4.27
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/const Xe=()=>{},Ze=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:a,BaseTransitionPropsValidators:e,Comment:s,DeprecationTypes:o,EffectScope:t,ErrorCodes:r,ErrorTypeStrings:n,Fragment:i,KeepAlive:l,ReactiveEffect:c,Static:d,Suspense:b,Teleport:p,Text:m,TrackOpTypes:f,Transition:u,TransitionGroup:S,TriggerOpTypes:h,VueElement:R,assertNumber:v,callWithAsyncErrorHandling:y,callWithErrorHandling:C,camelize:g,capitalize:T,cloneVNode:w,compatUtils:E,compile:Xe,computed:M,createApp:x,createBlock:V,createCommentVNode:k,createElementBlock:D,createElementVNode:P,createHydrationRenderer:B,createPropsRestProxy:N,createRenderer:A,createSSRApp:H,createSlots:O,createStaticVNode:z,createTextVNode:F,createVNode:I,customRef:U,defineAsyncComponent:j,defineComponent:K,defineCustomElement:_,defineEmits:G,defineExpose:L,defineModel:W,defineOptions:q,defineProps:J,defineSSRCustomElement:Q,defineSlots:X,devtools:Y,effect:Z,effectScope:$,getCurrentInstance:aa,getCurrentScope:ea,getTransitionRawChildren:sa,guardReactiveProps:oa,h:ta,handleError:ra,hasInjectionContext:na,hydrate:ia,initCustomFormatter:la,initDirectivesForSSR:ca,inject:da,isMemoSame:ba,isProxy:pa,isReactive:ma,isReadonly:fa,isRef:ua,isRuntimeOnly:Sa,isShallow:ha,isVNode:Ra,markRaw:va,mergeDefaults:ya,mergeModels:Ca,mergeProps:ga,nextTick:Ta,normalizeClass:wa,normalizeProps:Ea,normalizeStyle:Ma,onActivated:xa,onBeforeMount:Va,onBeforeUnmount:ka,onBeforeUpdate:Da,onDeactivated:Pa,onErrorCaptured:Ba,onMounted:Na,onRenderTracked:Aa,onRenderTriggered:Ha,onScopeDispose:Oa,onServerPrefetch:za,onUnmounted:Fa,onUpdated:Ia,openBlock:Ua,popScopeId:ja,provide:Ka,proxyRefs:_a,pushScopeId:Ga,queuePostFlushCb:La,reactive:Wa,readonly:qa,ref:Ja,registerRuntimeCompiler:Qa,render:Xa,renderList:Ya,renderSlot:Za,resolveComponent:$a,resolveDirective:ae,resolveDynamicComponent:ee,resolveFilter:se,resolveTransitionHooks:oe,setBlockTracking:te,setDevtoolsHook:re,setTransitionHooks:ne,shallowReactive:ie,shallowReadonly:le,shallowRef:ce,ssrContextKey:de,ssrUtils:be,stop:pe,toDisplayString:me,toHandlerKey:fe,toHandlers:ue,toRaw:Se,toRef:he,toRefs:Re,toValue:ve,transformVNodeArgs:ye,triggerRef:Ce,unref:ge,useAttrs:Te,useCssModule:we,useCssVars:Ee,useModel:Me,useSSRContext:xe,useSlots:Ve,useTransitionState:ke,vModelCheckbox:De,vModelDynamic:Pe,vModelRadio:Be,vModelSelect:Ne,vModelText:Ae,vShow:He,version:Oe,warn:ze,watch:Fe,watchEffect:Ie,watchPostEffect:Ue,watchSyncEffect:je,withAsyncContext:Ke,withCtx:_e,withDefaults:Ge,withDirectives:Le,withKeys:We,withMemo:qe,withModifiers:Je,withScopeId:Qe},Symbol.toStringTag,{value:"Module"}));export{Ze as V};
@@ -1,4 +1,4 @@
1
- import{s as it,u as Y,av as at,G as I,k as T,n as lt,I as ut,a8 as ft,bh as ht,d as ze,a1 as pt,J as Ue,L as le,r as dt,f as mt}from"./@vue-BqUEC4nt.js";/*!
1
+ import{s as it,u as Y,av as at,G as I,k as T,n as lt,I as ut,a8 as ft,bh as ht,d as ze,a1 as pt,J as Ue,L as le,r as dt,f as mt}from"./@vue-DXjs1h6G.js";/*!
2
2
  * vue-router v4.3.2
3
3
  * (c) 2024 Eduardo San Martin Morote
4
4
  * @license MIT
package/dist/index.html CHANGED
@@ -8,21 +8,21 @@
8
8
  <meta http-equiv="Pragma" content="no-cache"/>
9
9
  <meta http-equiv="Expires" content="0"/>
10
10
  <title>低代码设计器 - VTJ.PRO</title>
11
- <script type="module" crossorigin src="./assets/index-DTo2h6BL.js"></script>
12
- <link rel="modulepreload" crossorigin href="./assets/@vue-BqUEC4nt.js">
11
+ <script type="module" crossorigin src="./assets/index-ClIeafQj.js"></script>
12
+ <link rel="modulepreload" crossorigin href="./assets/@vue-DXjs1h6G.js">
13
13
  <link rel="modulepreload" crossorigin href="./assets/lodash-es-iLqVnzBD.js">
14
- <link rel="modulepreload" crossorigin href="./assets/@vueuse-_ZvYO2pC.js">
15
- <link rel="modulepreload" crossorigin href="./assets/@element-plus-BsPJl5CN.js">
14
+ <link rel="modulepreload" crossorigin href="./assets/@vueuse-ByKc4Ggo.js">
15
+ <link rel="modulepreload" crossorigin href="./assets/@element-plus-Vqo2cZUp.js">
16
16
  <link rel="modulepreload" crossorigin href="./assets/@popperjs-egqNnATr.js">
17
17
  <link rel="modulepreload" crossorigin href="./assets/@ctrl-riLredlm.js">
18
18
  <link rel="modulepreload" crossorigin href="./assets/dayjs-6gUf-wcg.js">
19
19
  <link rel="modulepreload" crossorigin href="./assets/async-validator-7GrF_zuj.js">
20
20
  <link rel="modulepreload" crossorigin href="./assets/memoize-one-BdPwpGay.js">
21
21
  <link rel="modulepreload" crossorigin href="./assets/normalize-wheel-es-B6fDCfyv.js">
22
- <link rel="modulepreload" crossorigin href="./assets/@floating-ui-DfU76eP9.js">
23
- <link rel="modulepreload" crossorigin href="./assets/element-plus-ByDLuWeo.js">
22
+ <link rel="modulepreload" crossorigin href="./assets/@floating-ui-CIcp7egp.js">
23
+ <link rel="modulepreload" crossorigin href="./assets/element-plus-CmJkoIJL.js">
24
24
  <link rel="modulepreload" crossorigin href="./assets/monaco-editor-DwlLClUG.js">
25
- <link rel="modulepreload" crossorigin href="./assets/vue-router-C0aQ2sXg.js">
25
+ <link rel="modulepreload" crossorigin href="./assets/vue-router-pxpwpbvr.js">
26
26
  <link rel="stylesheet" crossorigin href="./assets/element-plus-Dj7XYlV7.css">
27
27
  <link rel="stylesheet" crossorigin href="./assets/monaco-editor-BgBQhOSF.css">
28
28
  <link rel="stylesheet" crossorigin href="./assets/index-CMrtph8S.css">
package/package.json CHANGED
@@ -2,23 +2,23 @@
2
2
  "name": "@vtj/pro",
3
3
  "description": "VTJ.PRO",
4
4
  "private": false,
5
- "version": "0.8.22",
5
+ "version": "0.8.24",
6
6
  "type": "module",
7
7
  "dependencies": {
8
- "@vtj/core": "~0.8.22",
9
- "@vtj/renderer": "~0.8.22",
10
- "@vtj/materials": "~0.8.22",
11
- "@vtj/designer": "~0.8.22",
12
- "@vtj/local": "~0.8.22"
8
+ "@vtj/core": "~0.8.24",
9
+ "@vtj/designer": "~0.8.24",
10
+ "@vtj/local": "~0.8.24",
11
+ "@vtj/renderer": "~0.8.24",
12
+ "@vtj/materials": "~0.8.24"
13
13
  },
14
14
  "devDependencies": {
15
15
  "vue": "~3.4.15",
16
16
  "vue-router": "~4.3.0",
17
- "@vtj/cli": "~0.8.9",
18
- "@vtj/charts": "~0.8.22",
19
- "@vtj/icons": "~0.8.22",
20
- "@vtj/ui": "~0.8.22",
21
- "@vtj/utils": "~0.8.22"
17
+ "@vtj/cli": "~0.8.10",
18
+ "@vtj/charts": "~0.8.24",
19
+ "@vtj/icons": "~0.8.24",
20
+ "@vtj/ui": "~0.8.24",
21
+ "@vtj/utils": "~0.8.24"
22
22
  },
23
23
  "exports": {
24
24
  "./vite": {
@@ -1 +0,0 @@
1
- var Vt=Object.defineProperty,Wt=Object.defineProperties;var Ht=Object.getOwnPropertyDescriptors;var nt=Object.getOwnPropertySymbols;var vt=Object.prototype.hasOwnProperty,bt=Object.prototype.propertyIsEnumerable;var yt=(t,e,n)=>e in t?Vt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,A=(t,e)=>{for(var n in e||(e={}))vt.call(e,n)&&yt(t,n,e[n]);if(nt)for(var n of nt(e))bt.call(e,n)&&yt(t,n,e[n]);return t},k=(t,e)=>Wt(t,Ht(e));var at=(t,e)=>{var n={};for(var o in t)vt.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&nt)for(var o of nt(t))e.indexOf(o)<0&&bt.call(t,o)&&(n[o]=t[o]);return n};var F=(t,e,n)=>new Promise((o,i)=>{var r=c=>{try{l(n.next(c))}catch(f){i(f)}},s=c=>{try{l(n.throw(c))}catch(f){i(f)}},l=c=>c.done?o(c.value):Promise.resolve(c.value).then(r,s);l((n=n.apply(t,e)).next())});const Y=Math.min,_=Math.max,it=Math.round,ot=Math.floor,M=t=>({x:t,y:t}),$t={left:"right",right:"left",bottom:"top",top:"bottom"},zt={start:"end",end:"start"};function ut(t,e,n){return _(t,Y(e,n))}function Z(t,e){return typeof t=="function"?t(e):t}function I(t){return t.split("-")[0]}function tt(t){return t.split("-")[1]}function Et(t){return t==="x"?"y":"x"}function mt(t){return t==="y"?"height":"width"}function ct(t){return["top","bottom"].includes(I(t))?"y":"x"}function gt(t){return Et(ct(t))}function _t(t,e,n){n===void 0&&(n=!1);const o=tt(t),i=gt(t),r=mt(i);let s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=st(s)),[s,st(s)]}function It(t){const e=st(t);return[dt(t),e,dt(e)]}function dt(t){return t.replace(/start|end/g,e=>zt[e])}function jt(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:s;default:return[]}}function Xt(t,e,n,o){const i=tt(t);let r=jt(I(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(dt)))),r}function st(t){return t.replace(/left|right|bottom|top/g,e=>$t[e])}function Yt(t){return A({top:0,right:0,bottom:0,left:0},t)}function Tt(t){return typeof t!="number"?Yt(t):{top:t,right:t,bottom:t,left:t}}function rt(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function At(t,e,n){let{reference:o,floating:i}=t;const r=ct(e),s=gt(e),l=mt(s),c=I(e),f=r==="y",d=o.x+o.width/2-i.width/2,a=o.y+o.height/2-i.height/2,h=o[l]/2-i[l]/2;let u;switch(c){case"top":u={x:d,y:o.y-i.height};break;case"bottom":u={x:d,y:o.y+o.height};break;case"right":u={x:o.x+o.width,y:a};break;case"left":u={x:o.x-i.width,y:a};break;default:u={x:o.x,y:o.y}}switch(tt(e)){case"start":u[s]-=h*(n&&f?-1:1);break;case"end":u[s]+=h*(n&&f?-1:1);break}return u}const qt=(t,e,n)=>F(void 0,null,function*(){const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,l=r.filter(Boolean),c=yield s.isRTL==null?void 0:s.isRTL(e);let f=yield s.getElementRects({reference:t,floating:e,strategy:i}),{x:d,y:a}=At(f,o,c),h=o,u={},g=0;for(let m=0;m<l.length;m++){const{name:w,fn:p}=l[m],{x,y,data:b,reset:v}=yield p({x:d,y:a,initialPlacement:o,placement:h,strategy:i,middlewareData:u,rects:f,platform:s,elements:{reference:t,floating:e}});d=x!=null?x:d,a=y!=null?y:a,u=k(A({},u),{[w]:A(A({},u[w]),b)}),v&&g<=50&&(g++,typeof v=="object"&&(v.placement&&(h=v.placement),v.rects&&(f=v.rects===!0?yield s.getElementRects({reference:t,floating:e,strategy:i}):v.rects),{x:d,y:a}=At(f,h,c)),m=-1)}return{x:d,y:a,placement:h,strategy:i,middlewareData:u}});function ht(t,e){return F(this,null,function*(){var n;e===void 0&&(e={});const{x:o,y:i,platform:r,rects:s,elements:l,strategy:c}=t,{boundary:f="clippingAncestors",rootBoundary:d="viewport",elementContext:a="floating",altBoundary:h=!1,padding:u=0}=Z(e,t),g=Tt(u),w=l[h?a==="floating"?"reference":"floating":a],p=rt(yield r.getClippingRect({element:(n=yield r.isElement==null?void 0:r.isElement(w))==null||n?w:w.contextElement||(yield r.getDocumentElement==null?void 0:r.getDocumentElement(l.floating)),boundary:f,rootBoundary:d,strategy:c})),x=a==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,y=yield r.getOffsetParent==null?void 0:r.getOffsetParent(l.floating),b=(yield r.isElement==null?void 0:r.isElement(y))?(yield r.getScale==null?void 0:r.getScale(y))||{x:1,y:1}:{x:1,y:1},v=rt(r.convertOffsetParentRelativeRectToViewportRelativeRect?yield r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:x,offsetParent:y,strategy:c}):x);return{top:(p.top-v.top+g.top)/b.y,bottom:(v.bottom-p.bottom+g.bottom)/b.y,left:(p.left-v.left+g.left)/b.x,right:(v.right-p.right+g.right)/b.x}})}const Ut=t=>({name:"arrow",options:t,fn(n){return F(this,null,function*(){const{x:o,y:i,placement:r,rects:s,platform:l,elements:c,middlewareData:f}=n,{element:d,padding:a=0}=Z(t,n)||{};if(d==null)return{};const h=Tt(a),u={x:o,y:i},g=gt(r),m=mt(g),w=yield l.getDimensions(d),p=g==="y",x=p?"top":"left",y=p?"bottom":"right",b=p?"clientHeight":"clientWidth",v=s.reference[m]+s.reference[g]-u[g]-s.floating[m],W=u[g]-s.reference[g],H=yield l.getOffsetParent==null?void 0:l.getOffsetParent(d);let C=H?H[b]:0;(!C||!(yield l.isElement==null?void 0:l.isElement(H)))&&(C=c.floating[b]||s.floating[m]);const $=v/2-W/2,U=C/2-w[m]/2-1,K=Y(h[x],U),G=Y(h[y],U),z=K,E=C-w[m]-G,T=C/2-w[m]/2+$,P=ut(z,T,E),L=!f.arrow&&tt(r)!=null&&T!==P&&s.reference[m]/2-(T<z?K:G)-w[m]/2<0,S=L?T<z?T-z:T-E:0;return{[g]:u[g]+S,data:A({[g]:P,centerOffset:T-P-S},L&&{alignmentOffset:S}),reset:L}})}}),Kt=function(t){return t===void 0&&(t={}),{name:"flip",options:t,fn(n){return F(this,null,function*(){var o,i;const{placement:r,middlewareData:s,rects:l,initialPlacement:c,platform:f,elements:d}=n,z=Z(t,n),{mainAxis:a=!0,crossAxis:h=!0,fallbackPlacements:u,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:w=!0}=z,p=at(z,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((o=s.arrow)!=null&&o.alignmentOffset)return{};const x=I(r),y=I(c)===c,b=yield f.isRTL==null?void 0:f.isRTL(d.floating),v=u||(y||!w?[st(c)]:It(c));!u&&m!=="none"&&v.push(...Xt(c,w,m,b));const W=[c,...v],H=yield ht(n,p),C=[];let $=((i=s.flip)==null?void 0:i.overflows)||[];if(a&&C.push(H[x]),h){const E=_t(r,l,b);C.push(H[E[0]],H[E[1]])}if($=[...$,{placement:r,overflows:C}],!C.every(E=>E<=0)){var U,K;const E=(((U=s.flip)==null?void 0:U.index)||0)+1,T=W[E];if(T)return{data:{index:E,overflows:$},reset:{placement:T}};let P=(K=$.filter(L=>L.overflows[0]<=0).sort((L,S)=>L.overflows[1]-S.overflows[1])[0])==null?void 0:K.placement;if(!P)switch(g){case"bestFit":{var G;const L=(G=$.map(S=>[S.placement,S.overflows.filter(J=>J>0).reduce((J,Mt)=>J+Mt,0)]).sort((S,J)=>S[1]-J[1])[0])==null?void 0:G[0];L&&(P=L);break}case"initialPlacement":P=c;break}if(r!==P)return{reset:{placement:P}}}return{}})}}};function Gt(t,e){return F(this,null,function*(){const{placement:n,platform:o,elements:i}=t,r=yield o.isRTL==null?void 0:o.isRTL(i.floating),s=I(n),l=tt(n),c=ct(n)==="y",f=["left","top"].includes(s)?-1:1,d=r&&c?-1:1,a=Z(e,t);let{mainAxis:h,crossAxis:u,alignmentAxis:g}=typeof a=="number"?{mainAxis:a,crossAxis:0,alignmentAxis:null}:A({mainAxis:0,crossAxis:0,alignmentAxis:null},a);return l&&typeof g=="number"&&(u=l==="end"?g*-1:g),c?{x:u*d,y:h*f}:{x:h*f,y:u*d}})}const Jt=function(t){return t===void 0&&(t=0),{name:"offset",options:t,fn(n){return F(this,null,function*(){var o,i;const{x:r,y:s,placement:l,middlewareData:c}=n,f=yield Gt(n,t);return l===((o=c.offset)==null?void 0:o.placement)&&(i=c.arrow)!=null&&i.alignmentOffset?{}:{x:r+f.x,y:s+f.y,data:k(A({},f),{placement:l})}})}}},Qt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,fn(n){return F(this,null,function*(){const{x:o,y:i,placement:r}=n,p=Z(t,n),{mainAxis:s=!0,crossAxis:l=!1,limiter:c={fn:x=>{let{x:y,y:b}=x;return{x:y,y:b}}}}=p,f=at(p,["mainAxis","crossAxis","limiter"]),d={x:o,y:i},a=yield ht(n,f),h=ct(I(r)),u=Et(h);let g=d[u],m=d[h];if(s){const x=u==="y"?"top":"left",y=u==="y"?"bottom":"right",b=g+a[x],v=g-a[y];g=ut(b,g,v)}if(l){const x=h==="y"?"top":"left",y=h==="y"?"bottom":"right",b=m+a[x],v=m-a[y];m=ut(b,m,v)}const w=c.fn(k(A({},n),{[u]:g,[h]:m}));return k(A({},w),{data:{x:w.x-o,y:w.y-i}})})}}};function V(t){return Lt(t)?(t.nodeName||"").toLowerCase():"#document"}function O(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function B(t){var e;return(e=(Lt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Lt(t){return t instanceof Node||t instanceof O(t).Node}function N(t){return t instanceof Element||t instanceof O(t).Element}function D(t){return t instanceof HTMLElement||t instanceof O(t).HTMLElement}function Ot(t){return typeof ShadowRoot=="undefined"?!1:t instanceof ShadowRoot||t instanceof O(t).ShadowRoot}function et(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=R(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function Zt(t){return["table","td","th"].includes(V(t))}function pt(t){const e=wt(),n=R(t);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function te(t){let e=q(t);for(;D(e)&&!lt(e);){if(pt(e))return e;e=q(e)}return null}function wt(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function lt(t){return["html","body","#document"].includes(V(t))}function R(t){return O(t).getComputedStyle(t)}function ft(t){return N(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function q(t){if(V(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ot(t)&&t.host||B(t);return Ot(e)?e.host:e}function St(t){const e=q(t);return lt(e)?t.ownerDocument?t.ownerDocument.body:t.body:D(e)&&et(e)?e:St(e)}function Q(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=St(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=O(i);return r?e.concat(s,s.visualViewport||[],et(i)?i:[],s.frameElement&&n?Q(s.frameElement):[]):e.concat(i,Q(i,[],n))}function Dt(t){const e=R(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=D(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,l=it(n)!==r||it(o)!==s;return l&&(n=r,o=s),{width:n,height:o,$:l}}function xt(t){return N(t)?t:t.contextElement}function X(t){const e=xt(t);if(!D(e))return M(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=Dt(e);let s=(r?it(n.width):n.width)/o,l=(r?it(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const ee=M(0);function Pt(t){const e=O(t);return!wt()||!e.visualViewport?ee:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ne(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==O(t)?!1:e}function j(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=xt(t);let s=M(1);e&&(o?N(o)&&(s=X(o)):s=X(t));const l=ne(r,n,o)?Pt(r):M(0);let c=(i.left+l.x)/s.x,f=(i.top+l.y)/s.y,d=i.width/s.x,a=i.height/s.y;if(r){const h=O(r),u=o&&N(o)?O(o):o;let g=h,m=g.frameElement;for(;m&&o&&u!==g;){const w=X(m),p=m.getBoundingClientRect(),x=R(m),y=p.left+(m.clientLeft+parseFloat(x.paddingLeft))*w.x,b=p.top+(m.clientTop+parseFloat(x.paddingTop))*w.y;c*=w.x,f*=w.y,d*=w.x,a*=w.y,c+=y,f+=b,g=O(m),m=g.frameElement}}return rt({width:d,height:a,x:c,y:f})}const oe=[":popover-open",":modal"];function kt(t){return oe.some(e=>{try{return t.matches(e)}catch(n){return!1}})}function ie(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r=i==="fixed",s=B(o),l=e?kt(e.floating):!1;if(o===s||l&&r)return n;let c={scrollLeft:0,scrollTop:0},f=M(1);const d=M(0),a=D(o);if((a||!a&&!r)&&((V(o)!=="body"||et(s))&&(c=ft(o)),D(o))){const h=j(o);f=X(o),d.x=h.x+o.clientLeft,d.y=h.y+o.clientTop}return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-c.scrollLeft*f.x+d.x,y:n.y*f.y-c.scrollTop*f.y+d.y}}function se(t){return Array.from(t.getClientRects())}function Ft(t){return j(B(t)).left+ft(t).scrollLeft}function re(t){const e=B(t),n=ft(t),o=t.ownerDocument.body,i=_(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=_(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Ft(t);const l=-n.scrollTop;return R(o).direction==="rtl"&&(s+=_(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:l}}function ce(t,e){const n=O(t),o=B(t),i=n.visualViewport;let r=o.clientWidth,s=o.clientHeight,l=0,c=0;if(i){r=i.width,s=i.height;const f=wt();(!f||f&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:r,height:s,x:l,y:c}}function le(t,e){const n=j(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=D(t)?X(t):M(1),s=t.clientWidth*r.x,l=t.clientHeight*r.y,c=i*r.x,f=o*r.y;return{width:s,height:l,x:c,y:f}}function Rt(t,e,n){let o;if(e==="viewport")o=ce(t,n);else if(e==="document")o=re(B(t));else if(N(e))o=le(e,n);else{const i=Pt(t);o=k(A({},e),{x:e.x-i.x,y:e.y-i.y})}return rt(o)}function Nt(t,e){const n=q(t);return n===e||!N(n)||lt(n)?!1:R(n).position==="fixed"||Nt(n,e)}function fe(t,e){const n=e.get(t);if(n)return n;let o=Q(t,[],!1).filter(l=>N(l)&&V(l)!=="body"),i=null;const r=R(t).position==="fixed";let s=r?q(t):t;for(;N(s)&&!lt(s);){const l=R(s),c=pt(s);!c&&l.position==="fixed"&&(i=null),(r?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||et(s)&&!c&&Nt(t,s))?o=o.filter(d=>d!==s):i=l,s=q(s)}return e.set(t,o),o}function ae(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const s=[...n==="clippingAncestors"?fe(e,this._c):[].concat(n),o],l=s[0],c=s.reduce((f,d)=>{const a=Rt(e,d,i);return f.top=_(a.top,f.top),f.right=Y(a.right,f.right),f.bottom=Y(a.bottom,f.bottom),f.left=_(a.left,f.left),f},Rt(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function ue(t){const{width:e,height:n}=Dt(t);return{width:e,height:n}}function de(t,e,n){const o=D(e),i=B(e),r=n==="fixed",s=j(t,!0,r,e);let l={scrollLeft:0,scrollTop:0};const c=M(0);if(o||!o&&!r)if((V(e)!=="body"||et(i))&&(l=ft(e)),o){const a=j(e,!0,r,e);c.x=a.x+e.clientLeft,c.y=a.y+e.clientTop}else i&&(c.x=Ft(i));const f=s.left+l.scrollLeft-c.x,d=s.top+l.scrollTop-c.y;return{x:f,y:d,width:s.width,height:s.height}}function Ct(t,e){return!D(t)||R(t).position==="fixed"?null:e?e(t):t.offsetParent}function Bt(t,e){const n=O(t);if(!D(t)||kt(t))return n;let o=Ct(t,e);for(;o&&Zt(o)&&R(o).position==="static";)o=Ct(o,e);return o&&(V(o)==="html"||V(o)==="body"&&R(o).position==="static"&&!pt(o))?n:o||te(t)||n}const me=function(t){return F(this,null,function*(){const e=this.getOffsetParent||Bt,n=this.getDimensions,o=yield n(t.floating);return{reference:de(t.reference,yield e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}})};function ge(t){return R(t).direction==="rtl"}const he={convertOffsetParentRelativeRectToViewportRelativeRect:ie,getDocumentElement:B,getClippingRect:ae,getOffsetParent:Bt,getElementRects:me,getClientRects:se,getDimensions:ue,getScale:X,isElement:N,isRTL:ge};function pe(t,e){let n=null,o;const i=B(t);function r(){var l;clearTimeout(o),(l=n)==null||l.disconnect(),n=null}function s(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),r();const{left:f,top:d,width:a,height:h}=t.getBoundingClientRect();if(l||e(),!a||!h)return;const u=ot(d),g=ot(i.clientWidth-(f+a)),m=ot(i.clientHeight-(d+h)),w=ot(f),x={rootMargin:-u+"px "+-g+"px "+-m+"px "+-w+"px",threshold:_(0,Y(1,c))||1};let y=!0;function b(v){const W=v[0].intersectionRatio;if(W!==c){if(!y)return s();W?s(!1,W):o=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{n=new IntersectionObserver(b,k(A({},x),{root:i.ownerDocument}))}catch(v){n=new IntersectionObserver(b,x)}n.observe(t)}return s(!0),r}function xe(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=o,f=xt(t),d=i||r?[...f?Q(f):[],...Q(e)]:[];d.forEach(p=>{i&&p.addEventListener("scroll",n,{passive:!0}),r&&p.addEventListener("resize",n)});const a=f&&l?pe(f,n):null;let h=-1,u=null;s&&(u=new ResizeObserver(p=>{let[x]=p;x&&x.target===f&&u&&(u.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var y;(y=u)==null||y.observe(e)})),n()}),f&&!c&&u.observe(f),u.observe(e));let g,m=c?j(t):null;c&&w();function w(){const p=j(t);m&&(p.x!==m.x||p.y!==m.y||p.width!==m.width||p.height!==m.height)&&n(),m=p,g=requestAnimationFrame(w)}return n(),()=>{var p;d.forEach(x=>{i&&x.removeEventListener("scroll",n),r&&x.removeEventListener("resize",n)}),a==null||a(),(p=u)==null||p.disconnect(),u=null,c&&cancelAnimationFrame(g)}}const ye=ht,ve=Jt,be=Qt,Ae=Kt,Oe=Ut,Re=(t,e,n)=>{const o=new Map,i=A({platform:he},n),r=k(A({},i.platform),{_c:o});return qt(t,e,k(A({},i),{platform:r}))};export{Oe as a,xe as b,Re as c,ye as d,Ae as f,ve as o,be as s};
@@ -1,2 +0,0 @@
1
- const __vite__fileDeps=["./vue-CcxMod4L.js","./@vue-BqUEC4nt.js","./vue-router-C0aQ2sXg.js","./element-plus-ByDLuWeo.js","./lodash-es-iLqVnzBD.js","./@vueuse-_ZvYO2pC.js","./@element-plus-BsPJl5CN.js","./@popperjs-egqNnATr.js","./@ctrl-riLredlm.js","./dayjs-6gUf-wcg.js","./async-validator-7GrF_zuj.js","./memoize-one-BdPwpGay.js","./normalize-wheel-es-B6fDCfyv.js","./@floating-ui-DfU76eP9.js","./element-plus-Dj7XYlV7.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2
- var u=(_,i,o)=>new Promise((a,p)=>{var r=t=>{try{e(o.next(t))}catch(n){p(n)}},m=t=>{try{e(o.throw(t))}catch(n){p(n)}},e=t=>t.done?a(t.value):Promise.resolve(t.value).then(r,m);e((o=o.apply(_,i)).next())});import{_ as s}from"./monaco-editor-DwlLClUG.js";import{useRoute as c}from"./vue-router-C0aQ2sXg.js";import"./element-plus-ByDLuWeo.js";import{x as d,w as l,M as v}from"./index-D9--_rhU.js";import{d as f,r as R,S as E,W as V,X as C,o as x,i as P}from"./@vue-BqUEC4nt.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-_ZvYO2pC.js";import"./@element-plus-BsPJl5CN.js";import"./@popperjs-egqNnATr.js";import"./@ctrl-riLredlm.js";import"./dayjs-6gUf-wcg.js";import"./async-validator-7GrF_zuj.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-DfU76eP9.js";import"./vue-CcxMod4L.js";import"./mockjs-IStUBvTQ.js";const j=f({__name:"preview",setup(_){const i=new v,{provider:o,onReady:a}=d({mode:l.Runtime,service:i,dependencies:{Vue:()=>s(()=>import("./vue-CcxMod4L.js").then(e=>e.V),__vite__mapDeps([0,1]),import.meta.url),VueRouter:()=>s(()=>import("./vue-router-C0aQ2sXg.js"),__vite__mapDeps([2,1]),import.meta.url),ElementPlus:()=>s(()=>import("./element-plus-ByDLuWeo.js").then(e=>e.a),__vite__mapDeps([3,1,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url)}}),p=c(),r=R(),m=P();return a(()=>u(this,null,function*(){m==null||m.appContext.app.use(o),r.value=yield o.getRenderComponent(p.params.id.toString())})),(e,t)=>r.value?(x(),E(V(r.value),{key:0})):C("",!0)}});export{j as default};