@vtj/pro 0.7.13 → 0.7.14

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.
@@ -1,7 +1,7 @@
1
- import{d as f,S as n,U as p,u as a,ah as d,o as c,aG as _,_ as h,au as y}from"./@vue-lwVaHA3a.js";import{z as v,E as g}from"./element-plus-qXjnbDbH.js";import{_ as m}from"./monaco-editor-ginzV8u1.js";import{createRouter as O,createWebHashHistory as P}from"./vue-router-7jZRLvj2.js";import"./lodash-es-bSbz8D7Z.js";import"./@vueuse-4RidYFUd.js";import"./@element-plus-LjLasQGj.js";import"./@popperjs-UUtjUkU3.js";import"./@ctrl-ZggoHSuR.js";import"./dayjs-IPtKBSau.js";import"./async-validator-dHyGCDyC.js";import"./memoize-one-JaOscZgY.js";import"./normalize-wheel-es-1urBKM79.js";import"./@floating-ui-YgFFYPER.js";(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))o(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const i of t.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&o(i)}).observe(document,{childList:!0,subtree:!0});function s(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function o(e){if(e.ep)return;e.ep=!0;const t=s(e);fetch(e.href,t)}})();const E=f({__name:"app",setup(l){return(r,s)=>{const o=d("router-view");return c(),n(a(g),{locale:a(v)},{default:p(()=>[(c(),n(_,null,{default:p(()=>[h(o)]),_:1}))]),_:1},8,["locale"])}}}),L=[{path:"/",name:"home",component:()=>m(()=>import("./index-XKqIVmJZ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]),import.meta.url)},{path:"/preview/:id",name:"preview",component:()=>m(()=>import("./preview-BXPuJGo5.js"),__vite__mapDeps([21,16,17,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,18,19]),import.meta.url)}],w=O({history:P(),routes:L}),u=y(E);u.use(w);u.mount("#app");
1
+ import{d as f,S as n,U as p,u as a,ah as d,o as c,aG as _,_ as h,au as y}from"./@vue-lwVaHA3a.js";import{z as v,E as g}from"./element-plus-qXjnbDbH.js";import{_ as m}from"./monaco-editor-ginzV8u1.js";import{createRouter as O,createWebHashHistory as P}from"./vue-router-7jZRLvj2.js";import"./lodash-es-bSbz8D7Z.js";import"./@vueuse-4RidYFUd.js";import"./@element-plus-LjLasQGj.js";import"./@popperjs-UUtjUkU3.js";import"./@ctrl-ZggoHSuR.js";import"./dayjs-IPtKBSau.js";import"./async-validator-dHyGCDyC.js";import"./memoize-one-JaOscZgY.js";import"./normalize-wheel-es-1urBKM79.js";import"./@floating-ui-YgFFYPER.js";(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))o(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const i of t.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&o(i)}).observe(document,{childList:!0,subtree:!0});function s(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function o(e){if(e.ep)return;e.ep=!0;const t=s(e);fetch(e.href,t)}})();const E=f({__name:"app",setup(l){return(r,s)=>{const o=d("router-view");return c(),n(a(g),{locale:a(v)},{default:p(()=>[(c(),n(_,null,{default:p(()=>[h(o)]),_:1}))]),_:1},8,["locale"])}}}),L=[{path:"/",name:"home",component:()=>m(()=>import("./index-xw9JJ_BZ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]),import.meta.url)},{path:"/preview/:id",name:"preview",component:()=>m(()=>import("./preview-nfmuJ2BG.js"),__vite__mapDeps([21,16,17,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,18,19]),import.meta.url)}],w=O({history:P(),routes:L}),u=y(E);u.use(w);u.mount("#app");
2
2
  function __vite__mapDeps(indexes) {
3
3
  if (!__vite__mapDeps.viteFileDeps) {
4
- __vite__mapDeps.viteFileDeps = ["./index-XKqIVmJZ.js","./vue-router-7jZRLvj2.js","./@vue-lwVaHA3a.js","./element-plus-qXjnbDbH.js","./lodash-es-bSbz8D7Z.js","./@vueuse-4RidYFUd.js","./@element-plus-LjLasQGj.js","./@popperjs-UUtjUkU3.js","./@ctrl-ZggoHSuR.js","./dayjs-IPtKBSau.js","./async-validator-dHyGCDyC.js","./memoize-one-JaOscZgY.js","./normalize-wheel-es-1urBKM79.js","./@floating-ui-YgFFYPER.js","./element-plus-1fB6zogk.css","./index-j3TvFdI9.js","./monaco-editor-ginzV8u1.js","./monaco-editor-cf__QvdG.css","./vue-1oxrHUEe.js","./index-X5h9O7zT.css","./index-1s8TnXJX.css","./preview-BXPuJGo5.js"]
4
+ __vite__mapDeps.viteFileDeps = ["./index-xw9JJ_BZ.js","./vue-router-7jZRLvj2.js","./@vue-lwVaHA3a.js","./element-plus-qXjnbDbH.js","./lodash-es-bSbz8D7Z.js","./@vueuse-4RidYFUd.js","./@element-plus-LjLasQGj.js","./@popperjs-UUtjUkU3.js","./@ctrl-ZggoHSuR.js","./dayjs-IPtKBSau.js","./async-validator-dHyGCDyC.js","./memoize-one-JaOscZgY.js","./normalize-wheel-es-1urBKM79.js","./@floating-ui-YgFFYPER.js","./element-plus-1fB6zogk.css","./index-KxdhBNYQ.js","./monaco-editor-ginzV8u1.js","./monaco-editor-cf__QvdG.css","./vue-gPxz3K__.js","./index-X5h9O7zT.css","./index-1s8TnXJX.css","./preview-nfmuJ2BG.js"]
5
5
  }
6
6
  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
7
7
  }
@@ -0,0 +1 @@
1
+ import{useRoute as m}from"./vue-router-7jZRLvj2.js";import"./element-plus-qXjnbDbH.js";import{u as c,O as l,N as d}from"./index-KxdhBNYQ.js";import{d as u,r as _,f,c as h,o as v}from"./@vue-lwVaHA3a.js";import"./lodash-es-bSbz8D7Z.js";import"./@vueuse-4RidYFUd.js";import"./@element-plus-LjLasQGj.js";import"./@popperjs-UUtjUkU3.js";import"./@ctrl-ZggoHSuR.js";import"./dayjs-IPtKBSau.js";import"./async-validator-dHyGCDyC.js";import"./memoize-one-JaOscZgY.js";import"./normalize-wheel-es-1urBKM79.js";import"./@floating-ui-YgFFYPER.js";import"./monaco-editor-ginzV8u1.js";import"./vue-gPxz3K__.js";const w=u({__name:"index",setup(p){const r=m(),t=_(),a=new d;c.set("Switcher",{props:{onClick:e=>{const n=location.pathname;let s=n==="/@vtj/pro/"?"/":n;const i=e.currentFile;i&&i.type==="page"&&e.homepage!==i.id&&(s=`${s}#/page/${i.id}`),window.open(s,"VTJProject")}}}),c.set("Previewer",{props:{path:e=>`${location.pathname}#/preview/${e.id}`}});const o=new l({container:t,service:a});return o.ready(()=>{o.openFile(r.query.id)}),f(()=>r.query.id,e=>{o.openFile(e)}),(e,n)=>(v(),h("div",{class:"designer",ref_key:"container",ref:t},null,512))}}),g=(p,r)=>{const t=p.__vccOpts||p;for(const[a,o]of r)t[a]=o;return t},R=g(w,[["__scopeId","data-v-45ceaba3"]]);export{R as default};
@@ -1,7 +1,7 @@
1
- import{_ as o}from"./monaco-editor-ginzV8u1.js";import{useRoute as a}from"./vue-router-7jZRLvj2.js";import"./element-plus-qXjnbDbH.js";import{I as s,g as _,M as u}from"./index-j3TvFdI9.js";import{d as c,r as d,S as l,W as v,X as f,o as R,h as E}from"./@vue-lwVaHA3a.js";import"./lodash-es-bSbz8D7Z.js";import"./@vueuse-4RidYFUd.js";import"./@element-plus-LjLasQGj.js";import"./@popperjs-UUtjUkU3.js";import"./@ctrl-ZggoHSuR.js";import"./dayjs-IPtKBSau.js";import"./async-validator-dHyGCDyC.js";import"./memoize-one-JaOscZgY.js";import"./normalize-wheel-es-1urBKM79.js";import"./@floating-ui-YgFFYPER.js";import"./vue-1oxrHUEe.js";const N=c({__name:"preview",setup(C){const m=new u,{provider:r,onReady:i}=s({mode:_.Runtime,service:m,dependencies:{Vue:()=>o(()=>import("./vue-1oxrHUEe.js").then(e=>e.T),__vite__mapDeps([0,1]),import.meta.url),VueRouter:()=>o(()=>import("./vue-router-7jZRLvj2.js"),__vite__mapDeps([2,1]),import.meta.url),ElementPlus:()=>o(()=>import("./element-plus-qXjnbDbH.js").then(e=>e.$),__vite__mapDeps([3,1,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url)}}),n=a(),t=d(),p=E();return i(async()=>{p?.appContext.app.use(r),t.value=await r.getRenderComponent(n.params.id.toString())}),(e,I)=>t.value?(R(),l(v(t.value),{key:0})):f("",!0)}});export{N as default};
1
+ import{_ as o}from"./monaco-editor-ginzV8u1.js";import{useRoute as a}from"./vue-router-7jZRLvj2.js";import"./element-plus-qXjnbDbH.js";import{a as s,w as _,N as u}from"./index-KxdhBNYQ.js";import{d as c,r as d,S as l,W as v,X as f,o as R,h as E}from"./@vue-lwVaHA3a.js";import"./lodash-es-bSbz8D7Z.js";import"./@vueuse-4RidYFUd.js";import"./@element-plus-LjLasQGj.js";import"./@popperjs-UUtjUkU3.js";import"./@ctrl-ZggoHSuR.js";import"./dayjs-IPtKBSau.js";import"./async-validator-dHyGCDyC.js";import"./memoize-one-JaOscZgY.js";import"./normalize-wheel-es-1urBKM79.js";import"./@floating-ui-YgFFYPER.js";import"./vue-gPxz3K__.js";const M=c({__name:"preview",setup(C){const m=new u,{provider:r,onReady:i}=s({mode:_.Runtime,service:m,dependencies:{Vue:()=>o(()=>import("./vue-gPxz3K__.js").then(e=>e.M),__vite__mapDeps([0,1]),import.meta.url),VueRouter:()=>o(()=>import("./vue-router-7jZRLvj2.js"),__vite__mapDeps([2,1]),import.meta.url),ElementPlus:()=>o(()=>import("./element-plus-qXjnbDbH.js").then(e=>e.$),__vite__mapDeps([3,1,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url)}}),n=a(),t=d(),p=E();return i(async()=>{p?.appContext.app.use(r),t.value=await r.getRenderComponent(n.params.id.toString())}),(e,V)=>t.value?(R(),l(v(t.value),{key:0})):f("",!0)}});export{M as default};
2
2
  function __vite__mapDeps(indexes) {
3
3
  if (!__vite__mapDeps.viteFileDeps) {
4
- __vite__mapDeps.viteFileDeps = ["./vue-1oxrHUEe.js","./@vue-lwVaHA3a.js","./vue-router-7jZRLvj2.js","./element-plus-qXjnbDbH.js","./lodash-es-bSbz8D7Z.js","./@vueuse-4RidYFUd.js","./@element-plus-LjLasQGj.js","./@popperjs-UUtjUkU3.js","./@ctrl-ZggoHSuR.js","./dayjs-IPtKBSau.js","./async-validator-dHyGCDyC.js","./memoize-one-JaOscZgY.js","./normalize-wheel-es-1urBKM79.js","./@floating-ui-YgFFYPER.js","./element-plus-1fB6zogk.css"]
4
+ __vite__mapDeps.viteFileDeps = ["./vue-gPxz3K__.js","./@vue-lwVaHA3a.js","./vue-router-7jZRLvj2.js","./element-plus-qXjnbDbH.js","./lodash-es-bSbz8D7Z.js","./@vueuse-4RidYFUd.js","./@element-plus-LjLasQGj.js","./@popperjs-UUtjUkU3.js","./@ctrl-ZggoHSuR.js","./dayjs-IPtKBSau.js","./async-validator-dHyGCDyC.js","./memoize-one-JaOscZgY.js","./normalize-wheel-es-1urBKM79.js","./@floating-ui-YgFFYPER.js","./element-plus-1fB6zogk.css"]
5
5
  }
6
6
  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
7
7
  }
@@ -2,4 +2,4 @@ import{ax as a,ay as e,E as s,az as o,aA as t,aB as r,aC as n,F as i,aD as l,aE
2
2
  * vue v3.4.15
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
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:k,createCommentVNode:D,createElementBlock:P,createElementVNode:V,createHydrationRenderer:B,createPropsRestProxy:N,createRenderer:A,createSSRApp:H,createSlots:O,createStaticVNode:z,createTextVNode:F,createVNode:I,customRef:U,defineAsyncComponent:K,defineComponent:j,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:ka,onBeforeUnmount:Da,onBeforeUpdate:Pa,onDeactivated:Va,onErrorCaptured:Ba,onMounted:Na,onRenderTracked:Aa,onRenderTriggered:Ha,onScopeDispose:Oa,onServerPrefetch:za,onUnmounted:Fa,onUpdated:Ia,openBlock:Ua,popScopeId:Ka,provide:ja,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:ke,useTransitionState:De,vModelCheckbox:Pe,vModelDynamic:Ve,vModelRadio:Be,vModelSelect:Ne,vModelText:Ae,vShow:He,version:Oe,warn:ze,watch:Fe,watchEffect:Ie,watchPostEffect:Ue,watchSyncEffect:Ke,withAsyncContext:je,withCtx:_e,withDefaults:Ge,withDirectives:Le,withKeys:We,withMemo:qe,withModifiers:Je,withScopeId:Qe},Symbol.toStringTag,{value:"Module"}));export{Ze as T};
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:k,createCommentVNode:D,createElementBlock:P,createElementVNode:V,createHydrationRenderer:B,createPropsRestProxy:N,createRenderer:A,createSSRApp:H,createSlots:O,createStaticVNode:z,createTextVNode:F,createVNode:I,customRef:U,defineAsyncComponent:K,defineComponent:j,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:ka,onBeforeUnmount:Da,onBeforeUpdate:Pa,onDeactivated:Va,onErrorCaptured:Ba,onMounted:Na,onRenderTracked:Aa,onRenderTriggered:Ha,onScopeDispose:Oa,onServerPrefetch:za,onUnmounted:Fa,onUpdated:Ia,openBlock:Ua,popScopeId:Ka,provide:ja,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:ke,useTransitionState:De,vModelCheckbox:Pe,vModelDynamic:Ve,vModelRadio:Be,vModelSelect:Ne,vModelText:Ae,vShow:He,version:Oe,warn:ze,watch:Fe,watchEffect:Ie,watchPostEffect:Ue,watchSyncEffect:Ke,withAsyncContext:je,withCtx:_e,withDefaults:Ge,withDirectives:Le,withKeys:We,withMemo:qe,withModifiers:Je,withScopeId:Qe},Symbol.toStringTag,{value:"Module"}));export{Ze as M};
package/dist/index.html CHANGED
@@ -8,7 +8,7 @@
8
8
  <meta http-equiv="Pragma" content="no-cache"/>
9
9
  <meta http-equiv="Expires" content="0"/>
10
10
  <title>VTJ 设计器</title>
11
- <script type="module" crossorigin src="./assets/index-UXVEX-dz.js"></script>
11
+ <script type="module" crossorigin src="./assets/index-v-0aa21E.js"></script>
12
12
  <link rel="modulepreload" crossorigin href="./assets/@vue-lwVaHA3a.js">
13
13
  <link rel="modulepreload" crossorigin href="./assets/lodash-es-bSbz8D7Z.js">
14
14
  <link rel="modulepreload" crossorigin href="./assets/@vueuse-4RidYFUd.js">
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@vtj/pro",
3
3
  "description": "VTJ.PRO",
4
4
  "private": false,
5
- "version": "0.7.13",
5
+ "version": "0.7.14",
6
6
  "type": "module",
7
7
  "scripts": {
8
8
  "dev": "cross-env ENV_TYPE=local vite",
@@ -10,17 +10,17 @@
10
10
  "preview": "vite preview"
11
11
  },
12
12
  "dependencies": {
13
- "@vtj/core": "^0.7.13",
14
- "@vtj/designer": "^0.7.13",
15
- "@vtj/local": "^0.7.13",
16
- "@vtj/materials": "^0.7.13",
17
- "@vtj/renderer": "^0.7.13"
13
+ "@vtj/core": "^0.7.14",
14
+ "@vtj/designer": "^0.7.14",
15
+ "@vtj/local": "^0.7.14",
16
+ "@vtj/materials": "^0.7.14",
17
+ "@vtj/renderer": "^0.7.14"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@vtj/cli": "^0.7.10",
21
- "@vtj/icons": "^0.7.13",
22
- "@vtj/ui": "^0.7.13",
23
- "@vtj/utils": "^0.7.13",
21
+ "@vtj/icons": "^0.7.14",
22
+ "@vtj/ui": "^0.7.14",
23
+ "@vtj/utils": "^0.7.14",
24
24
  "vue": "~3.4.15",
25
25
  "vue-router": "~4.2.5"
26
26
  },
@@ -43,7 +43,7 @@
43
43
  "dist",
44
44
  "src"
45
45
  ],
46
- "gitHead": "010201b133340a84d345745a0ea351c98098fa14",
46
+ "gitHead": "8e69e3eea31f488f318f28013b7ef3df02ee8174",
47
47
  "publishConfig": {
48
48
  "access": "public"
49
49
  }
@@ -1 +0,0 @@
1
- import{useRoute as m}from"./vue-router-7jZRLvj2.js";import"./element-plus-qXjnbDbH.js";import{o as c,F as l,M as d}from"./index-j3TvFdI9.js";import{d as _,r as f,f as u,c as h,o as v}from"./@vue-lwVaHA3a.js";import"./lodash-es-bSbz8D7Z.js";import"./@vueuse-4RidYFUd.js";import"./@element-plus-LjLasQGj.js";import"./@popperjs-UUtjUkU3.js";import"./@ctrl-ZggoHSuR.js";import"./dayjs-IPtKBSau.js";import"./async-validator-dHyGCDyC.js";import"./memoize-one-JaOscZgY.js";import"./normalize-wheel-es-1urBKM79.js";import"./@floating-ui-YgFFYPER.js";import"./monaco-editor-ginzV8u1.js";import"./vue-1oxrHUEe.js";const w=_({__name:"index",setup(p){const r=m(),t=f(),a=new d;c.set("Switcher",{props:{onClick:e=>{const n=location.pathname;let s=n==="/@vtj/pro/"?"/":n;const i=e.currentFile;i&&i.type==="page"&&e.homepage!==i.id&&(s=`${s}#/page/${i.id}`),window.open(s,"VTJProject")}}}),c.set("Previewer",{props:{path:e=>`${location.pathname}#/preview/${e.id}`}});const o=new l({container:t,service:a});return o.ready(()=>{o.openFile(r.query.id)}),u(()=>r.query.id,e=>{o.openFile(e)}),(e,n)=>(v(),h("div",{class:"designer",ref_key:"container",ref:t},null,512))}}),g=(p,r)=>{const t=p.__vccOpts||p;for(const[a,o]of r)t[a]=o;return t},R=g(w,[["__scopeId","data-v-45ceaba3"]]);export{R as default};