@vtj/pro 0.7.9 → 0.7.10

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-7jZRLvj2.js";import"./element-plus-mQa-xjrd.js";import{o as c,M as l,L as d}from"./index-GdUlSayE.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-fSnuQPPg.js";import"./monaco-editor-ginzV8u1.js";import"./vue-lgTQXBfw.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},O=g(w,[["__scopeId","data-v-45ceaba3"]]);export{O as default};
1
+ import{useRoute as m}from"./vue-router-7jZRLvj2.js";import"./element-plus-mQa-xjrd.js";import{o as c,M as l,L as d}from"./index-FVtgQ5ED.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-fSnuQPPg.js";import"./monaco-editor-ginzV8u1.js";import"./vue-lgTQXBfw.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},O=g(w,[["__scopeId","data-v-45ceaba3"]]);export{O as default};
@@ -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-mQa-xjrd.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-fSnuQPPg.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-_rOV5lyy.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-xP_ZYJ9k.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-mQa-xjrd.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-fSnuQPPg.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-_dxMCReS.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-dUsgMMnl.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-_rOV5lyy.js","./vue-router-7jZRLvj2.js","./@vue-lwVaHA3a.js","./element-plus-mQa-xjrd.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-fSnuQPPg.js","./element-plus-1fB6zogk.css","./index-GdUlSayE.js","./monaco-editor-ginzV8u1.js","./monaco-editor-cf__QvdG.css","./vue-lgTQXBfw.js","./index-X5h9O7zT.css","./index-1s8TnXJX.css","./preview-xP_ZYJ9k.js"]
4
+ __vite__mapDeps.viteFileDeps = ["./index-_dxMCReS.js","./vue-router-7jZRLvj2.js","./@vue-lwVaHA3a.js","./element-plus-mQa-xjrd.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-fSnuQPPg.js","./element-plus-1fB6zogk.css","./index-FVtgQ5ED.js","./monaco-editor-ginzV8u1.js","./monaco-editor-cf__QvdG.css","./vue-lgTQXBfw.js","./index-X5h9O7zT.css","./index-1s8TnXJX.css","./preview-dUsgMMnl.js"]
5
5
  }
6
6
  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
7
7
  }
@@ -1,4 +1,4 @@
1
- import{_ as o}from"./monaco-editor-ginzV8u1.js";import{useRoute as a}from"./vue-router-7jZRLvj2.js";import"./element-plus-mQa-xjrd.js";import{D as s,y as _,L as u}from"./index-GdUlSayE.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-fSnuQPPg.js";import"./vue-lgTQXBfw.js";const W=c({__name:"preview",setup(C){const m=new u,{provider:r,onReady:i}=s({mode:_.Runtime,service:m,dependencies:{Vue:()=>o(()=>import("./vue-lgTQXBfw.js").then(e=>e.N),__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-mQa-xjrd.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,D)=>t.value?(R(),l(v(t.value),{key:0})):f("",!0)}});export{W as default};
1
+ import{_ as o}from"./monaco-editor-ginzV8u1.js";import{useRoute as a}from"./vue-router-7jZRLvj2.js";import"./element-plus-mQa-xjrd.js";import{D as s,y as _,L as u}from"./index-FVtgQ5ED.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-fSnuQPPg.js";import"./vue-lgTQXBfw.js";const W=c({__name:"preview",setup(C){const m=new u,{provider:r,onReady:i}=s({mode:_.Runtime,service:m,dependencies:{Vue:()=>o(()=>import("./vue-lgTQXBfw.js").then(e=>e.N),__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-mQa-xjrd.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,D)=>t.value?(R(),l(v(t.value),{key:0})):f("",!0)}});export{W as default};
2
2
  function __vite__mapDeps(indexes) {
3
3
  if (!__vite__mapDeps.viteFileDeps) {
4
4
  __vite__mapDeps.viteFileDeps = ["./vue-lgTQXBfw.js","./@vue-lwVaHA3a.js","./vue-router-7jZRLvj2.js","./element-plus-mQa-xjrd.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-fSnuQPPg.js","./element-plus-1fB6zogk.css"]
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--8NTWX6H.js"></script>
11
+ <script type="module" crossorigin src="./assets/index-uwyjhRXo.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.9",
5
+ "version": "0.7.10",
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.9",
14
- "@vtj/designer": "^0.7.9",
15
- "@vtj/local": "^0.7.9",
16
- "@vtj/materials": "^0.7.9",
17
- "@vtj/renderer": "^0.7.9"
13
+ "@vtj/core": "^0.7.10",
14
+ "@vtj/designer": "^0.7.10",
15
+ "@vtj/local": "^0.7.10",
16
+ "@vtj/materials": "^0.7.10",
17
+ "@vtj/renderer": "^0.7.10"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@vtj/cli": "^0.7.7",
21
- "@vtj/icons": "^0.7.9",
22
- "@vtj/ui": "^0.7.9",
23
- "@vtj/utils": "^0.7.9",
21
+ "@vtj/icons": "^0.7.10",
22
+ "@vtj/ui": "^0.7.10",
23
+ "@vtj/utils": "^0.7.10",
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": "923aab791b5aacf1f0e75255ad7aa2b1b71e26bf",
46
+ "gitHead": "6c54f72d57ad363d1ed75a36f25aed10d6b6a262",
47
47
  "publishConfig": {
48
48
  "access": "public"
49
49
  }