@vtj/pro 0.7.31 → 0.7.32

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 +1 @@
1
- import{useRoute as m}from"./vue-router-caOqMrBK.js";import"./element-plus-gu9Rf9y_.js";import{j as c,E as l,q as d}from"./index-Dgu19Rl1.js";import{d as u,r as _,f,c as h,o as v}from"./@vue-DbHY7CtS.js";import"./lodash-es-DKmLY3Gz.js";import"./@vueuse-J6GfbQpH.js";import"./@element-plus-DnwP2ajv.js";import"./@popperjs-CsO2-mKt.js";import"./@ctrl-r5W6hzzQ.js";import"./dayjs-Cdlb6j_n.js";import"./async-validator-Cr9EP88T.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-o_LpjUj1.js";import"./monaco-editor-DdPna5vs.js";import"./vue-B4uJKP5b.js";import"./mockjs-CMctHrKM.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},T=g(w,[["__scopeId","data-v-45ceaba3"]]);export{T as default};
1
+ import{useRoute as m}from"./vue-router-caOqMrBK.js";import"./element-plus-gu9Rf9y_.js";import{j as c,E as l,q as d}from"./index-Bpxco8Ff.js";import{d as u,r as _,f,c as h,o as v}from"./@vue-DbHY7CtS.js";import"./lodash-es-DKmLY3Gz.js";import"./@vueuse-J6GfbQpH.js";import"./@element-plus-DnwP2ajv.js";import"./@popperjs-CsO2-mKt.js";import"./@ctrl-r5W6hzzQ.js";import"./dayjs-Cdlb6j_n.js";import"./async-validator-Cr9EP88T.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-o_LpjUj1.js";import"./monaco-editor-DdPna5vs.js";import"./vue-B4uJKP5b.js";import"./mockjs-CMctHrKM.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},T=g(w,[["__scopeId","data-v-45ceaba3"]]);export{T as default};
@@ -4,4 +4,4 @@ function __vite__mapDeps(indexes) {
4
4
  }
5
5
  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
6
6
  }
7
- import{_ as o}from"./monaco-editor-DdPna5vs.js";import{useRoute as a}from"./vue-router-caOqMrBK.js";import"./element-plus-gu9Rf9y_.js";import{V as s,w as _,q as u}from"./index-Dgu19Rl1.js";import{d as c,r as d,S as l,W as v,X as f,o as R,h as V}from"./@vue-DbHY7CtS.js";import"./lodash-es-DKmLY3Gz.js";import"./@vueuse-J6GfbQpH.js";import"./@element-plus-DnwP2ajv.js";import"./@popperjs-CsO2-mKt.js";import"./@ctrl-r5W6hzzQ.js";import"./dayjs-Cdlb6j_n.js";import"./async-validator-Cr9EP88T.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-o_LpjUj1.js";import"./vue-B4uJKP5b.js";import"./mockjs-CMctHrKM.js";const W=c({__name:"preview",setup(E){const m=new u,{provider:r,onReady:i}=s({mode:_.Runtime,service:m,dependencies:{Vue:()=>o(()=>import("./vue-B4uJKP5b.js").then(e=>e.k),__vite__mapDeps([0,1]),import.meta.url),VueRouter:()=>o(()=>import("./vue-router-caOqMrBK.js"),__vite__mapDeps([2,1]),import.meta.url),ElementPlus:()=>o(()=>import("./element-plus-gu9Rf9y_.js").then(e=>e.a0),__vite__mapDeps([3,1,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url)}}),p=a(),t=d(),n=V();return i(async()=>{n?.appContext.app.use(r),t.value=await r.getRenderComponent(p.params.id.toString())}),(e,C)=>t.value?(R(),l(v(t.value),{key:0})):f("",!0)}});export{W as default};
7
+ import{_ as o}from"./monaco-editor-DdPna5vs.js";import{useRoute as a}from"./vue-router-caOqMrBK.js";import"./element-plus-gu9Rf9y_.js";import{V as s,w as _,q as u}from"./index-Bpxco8Ff.js";import{d as c,r as d,S as l,W as v,X as f,o as R,h as V}from"./@vue-DbHY7CtS.js";import"./lodash-es-DKmLY3Gz.js";import"./@vueuse-J6GfbQpH.js";import"./@element-plus-DnwP2ajv.js";import"./@popperjs-CsO2-mKt.js";import"./@ctrl-r5W6hzzQ.js";import"./dayjs-Cdlb6j_n.js";import"./async-validator-Cr9EP88T.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-o_LpjUj1.js";import"./vue-B4uJKP5b.js";import"./mockjs-CMctHrKM.js";const W=c({__name:"preview",setup(E){const m=new u,{provider:r,onReady:i}=s({mode:_.Runtime,service:m,dependencies:{Vue:()=>o(()=>import("./vue-B4uJKP5b.js").then(e=>e.k),__vite__mapDeps([0,1]),import.meta.url),VueRouter:()=>o(()=>import("./vue-router-caOqMrBK.js"),__vite__mapDeps([2,1]),import.meta.url),ElementPlus:()=>o(()=>import("./element-plus-gu9Rf9y_.js").then(e=>e.a0),__vite__mapDeps([3,1,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url)}}),p=a(),t=d(),n=V();return i(async()=>{n?.appContext.app.use(r),t.value=await r.getRenderComponent(p.params.id.toString())}),(e,C)=>t.value?(R(),l(v(t.value),{key:0})):f("",!0)}});export{W as default};
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.PRO</title>
11
- <script type="module" crossorigin src="./assets/index-BGuWodZh.js"></script>
11
+ <script type="module" crossorigin src="./assets/index-AOmtVMZf.js"></script>
12
12
  <link rel="modulepreload" crossorigin href="./assets/@vue-DbHY7CtS.js">
13
13
  <link rel="modulepreload" crossorigin href="./assets/lodash-es-DKmLY3Gz.js">
14
14
  <link rel="modulepreload" crossorigin href="./assets/@vueuse-J6GfbQpH.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.31",
5
+ "version": "0.7.32",
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.31",
14
- "@vtj/designer": "^0.7.31",
15
- "@vtj/local": "^0.7.31",
16
- "@vtj/materials": "^0.7.31",
17
- "@vtj/renderer": "^0.7.31"
13
+ "@vtj/core": "^0.7.32",
14
+ "@vtj/designer": "^0.7.32",
15
+ "@vtj/local": "^0.7.32",
16
+ "@vtj/materials": "^0.7.32",
17
+ "@vtj/renderer": "^0.7.32"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@vtj/cli": "^0.7.21",
21
- "@vtj/icons": "^0.7.31",
22
- "@vtj/ui": "^0.7.31",
23
- "@vtj/utils": "^0.7.31",
21
+ "@vtj/icons": "^0.7.32",
22
+ "@vtj/ui": "^0.7.32",
23
+ "@vtj/utils": "^0.7.32",
24
24
  "vue": "~3.4.15",
25
25
  "vue-router": "~4.3.0"
26
26
  },
@@ -43,7 +43,7 @@
43
43
  "dist",
44
44
  "src"
45
45
  ],
46
- "gitHead": "eec8b5817a66b57a3d068eae6a9912a9b199346e",
46
+ "gitHead": "2b52c6e2664561d691067d48170d3837f78d5ee5",
47
47
  "publishConfig": {
48
48
  "access": "public"
49
49
  }