@vtj/pro 0.7.29 → 0.7.30
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/@vtj/materials/assets/antdv/index.umd.js +3 -3
- package/dist/@vtj/materials/assets/element/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/ui/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/icons/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/ui/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +2 -2
- package/dist/assets/index-Cj5n4L5-.js +1 -0
- package/dist/assets/{index-Cz6VVOls.js → index-CjimenLF.js} +39 -39
- package/dist/assets/{index-CyHSZxs2.css → index-qEfUqwqz.css} +1 -1
- package/dist/assets/{index-C1HF_G6z.js → index-woXpsKP7.js} +2 -2
- package/dist/assets/{preview-Dn8Cfepl.js → preview-DBn50U3M.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +11 -11
- package/dist/assets/index-B6ZzmbVp.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
function __vite__mapDeps(indexes) {
|
|
2
2
|
if (!__vite__mapDeps.viteFileDeps) {
|
|
3
|
-
__vite__mapDeps.viteFileDeps = ["./index-
|
|
3
|
+
__vite__mapDeps.viteFileDeps = ["./index-Cj5n4L5-.js","./vue-router-caOqMrBK.js","./@vue-DbHY7CtS.js","./element-plus-D6F7K4_a.js","./lodash-es-DKmLY3Gz.js","./@vueuse-J6GfbQpH.js","./@element-plus-DnwP2ajv.js","./@popperjs-CsO2-mKt.js","./@ctrl-r5W6hzzQ.js","./dayjs-Ct2Knyoi.js","./async-validator-Cr9EP88T.js","./memoize-one-BdPwpGay.js","./normalize-wheel-es-B6fDCfyv.js","./@floating-ui-o_LpjUj1.js","./element-plus-CD9l4erj.css","./index-CjimenLF.js","./monaco-editor-DdPna5vs.js","./monaco-editor-BoaUnmrp.css","./vue-oIbA33IS.js","./index-qEfUqwqz.css","./index-DWzxOdcl.css","./preview-DBn50U3M.js"]
|
|
4
4
|
}
|
|
5
5
|
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
|
6
6
|
}
|
|
7
|
-
import{d as f,S as n,U as p,u as a,ai as d,o as c,aF as _,_ as h,at as y}from"./@vue-DbHY7CtS.js";import{z as v,E as g}from"./element-plus-D6F7K4_a.js";import{_ as m}from"./monaco-editor-DdPna5vs.js";import{createRouter as O,createWebHashHistory as P}from"./vue-router-caOqMrBK.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-Ct2Knyoi.js";import"./async-validator-Cr9EP88T.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-o_LpjUj1.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-
|
|
7
|
+
import{d as f,S as n,U as p,u as a,ai as d,o as c,aF as _,_ as h,at as y}from"./@vue-DbHY7CtS.js";import{z as v,E as g}from"./element-plus-D6F7K4_a.js";import{_ as m}from"./monaco-editor-DdPna5vs.js";import{createRouter as O,createWebHashHistory as P}from"./vue-router-caOqMrBK.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-Ct2Knyoi.js";import"./async-validator-Cr9EP88T.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-o_LpjUj1.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-Cj5n4L5-.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-DBn50U3M.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");
|
|
@@ -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
|
|
7
|
+
import{_ as o}from"./monaco-editor-DdPna5vs.js";import{useRoute as p}from"./vue-router-caOqMrBK.js";import"./element-plus-D6F7K4_a.js";import{O as s,a as _,N as u}from"./index-CjimenLF.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-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-Ct2Knyoi.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-oIbA33IS.js";const M=c({__name:"preview",setup(C){const m=new u,{provider:r,onReady:a}=s({mode:_.Runtime,service:m,dependencies:{Vue:()=>o(()=>import("./vue-oIbA33IS.js").then(e=>e.M),__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-D6F7K4_a.js").then(e=>e.a0),__vite__mapDeps([3,1,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url)}}),i=p(),t=d(),n=E();return a(async()=>{n?.appContext.app.use(r),t.value=await r.getRenderComponent(i.params.id.toString())}),(e,V)=>t.value?(R(),l(v(t.value),{key:0})):f("",!0)}});export{M 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 设计器</title>
|
|
11
|
-
<script type="module" crossorigin src="./assets/index-
|
|
11
|
+
<script type="module" crossorigin src="./assets/index-woXpsKP7.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.
|
|
5
|
+
"version": "0.7.30",
|
|
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.
|
|
14
|
-
"@vtj/designer": "^0.7.
|
|
15
|
-
"@vtj/local": "^0.7.
|
|
16
|
-
"@vtj/materials": "^0.7.
|
|
17
|
-
"@vtj/renderer": "^0.7.
|
|
13
|
+
"@vtj/core": "^0.7.30",
|
|
14
|
+
"@vtj/designer": "^0.7.30",
|
|
15
|
+
"@vtj/local": "^0.7.30",
|
|
16
|
+
"@vtj/materials": "^0.7.30",
|
|
17
|
+
"@vtj/renderer": "^0.7.30"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@vtj/cli": "^0.7.
|
|
21
|
-
"@vtj/icons": "^0.7.
|
|
22
|
-
"@vtj/ui": "^0.7.
|
|
23
|
-
"@vtj/utils": "^0.7.
|
|
20
|
+
"@vtj/cli": "^0.7.20",
|
|
21
|
+
"@vtj/icons": "^0.7.30",
|
|
22
|
+
"@vtj/ui": "^0.7.30",
|
|
23
|
+
"@vtj/utils": "^0.7.30",
|
|
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": "
|
|
46
|
+
"gitHead": "229d9d4fd7c80a7400146c253a01d0c6546aa737",
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|
|
49
49
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{useRoute as m}from"./vue-router-caOqMrBK.js";import"./element-plus-D6F7K4_a.js";import{_ as c,v as l,N as _}from"./index-Cz6VVOls.js";import{d,r as u,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-Ct2Knyoi.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-oIbA33IS.js";const w=d({__name:"index",setup(p){const r=m(),t=u(),a=new _;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};
|