@vtj/pro 0.8.0 → 0.8.1
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 +2 -2
- 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-DV80yKU0.js → index-BRzUtFiS.js} +7 -7
- package/dist/assets/{index-CwmXldE1.js → index-DT2oLj0h.js} +1 -1
- package/dist/assets/{index-CmjnGNqy.js → index-rJeGrR0Y.js} +2 -2
- package/dist/assets/{preview-DTLuedJ1.js → preview-m8Kb7G2b.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +11 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useRoute as m}from"./vue-router-CpoV07KG.js";import"./element-plus-DnnaxJFP.js";import{j as c,D as l,a as d}from"./index-
|
|
1
|
+
import{useRoute as m}from"./vue-router-CpoV07KG.js";import"./element-plus-DnnaxJFP.js";import{j as c,D as l,a as d}from"./index-BRzUtFiS.js";import{d as u,r as _,f,c as h,o as v}from"./@vue-BS4o5x1j.js";import"./lodash-es-CLq8SBAM.js";import"./@vueuse-DwRHc_J7.js";import"./@element-plus-CekXU_7D.js";import"./@popperjs-I-C4_FcE.js";import"./@ctrl-r5W6hzzQ.js";import"./dayjs-Bz4m6kJv.js";import"./@ckeditor-Cpj98o6Y.js";import"./async-validator-Cr9EP88T.js";import"./memoize-one-DwF5HINA.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-BkhKrinZ.js";import"./monaco-editor-Dg5hMj4r.js";import"./vue-BNsVu1qZ.js";import"./mockjs-CfUV2g9n.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,2 +1,2 @@
|
|
|
1
|
-
const __vite__fileDeps=["./index-
|
|
2
|
-
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-BS4o5x1j.js";import{z as v,E as g}from"./element-plus-DnnaxJFP.js";import{_ as m}from"./monaco-editor-Dg5hMj4r.js";import{createRouter as O,createWebHashHistory as P}from"./vue-router-CpoV07KG.js";import"./lodash-es-CLq8SBAM.js";import"./@vueuse-DwRHc_J7.js";import"./@element-plus-CekXU_7D.js";import"./@popperjs-I-C4_FcE.js";import"./@ctrl-r5W6hzzQ.js";import"./dayjs-Bz4m6kJv.js";import"./@ckeditor-Cpj98o6Y.js";import"./async-validator-Cr9EP88T.js";import"./memoize-one-DwF5HINA.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-BkhKrinZ.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-
|
|
1
|
+
const __vite__fileDeps=["./index-DT2oLj0h.js","./vue-router-CpoV07KG.js","./@vue-BS4o5x1j.js","./element-plus-DnnaxJFP.js","./lodash-es-CLq8SBAM.js","./@vueuse-DwRHc_J7.js","./@element-plus-CekXU_7D.js","./@popperjs-I-C4_FcE.js","./@ctrl-r5W6hzzQ.js","./dayjs-Bz4m6kJv.js","./@ckeditor-Cpj98o6Y.js","./async-validator-Cr9EP88T.js","./memoize-one-DwF5HINA.js","./normalize-wheel-es-B6fDCfyv.js","./@floating-ui-BkhKrinZ.js","./element-plus-5SPWBdo3.css","./index-BRzUtFiS.js","./monaco-editor-Dg5hMj4r.js","./monaco-editor-BoaUnmrp.css","./vue-BNsVu1qZ.js","./mockjs-CfUV2g9n.js","./index-D0d5Gdz8.css","./index-DWzxOdcl.css","./preview-m8Kb7G2b.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
|
|
2
|
+
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-BS4o5x1j.js";import{z as v,E as g}from"./element-plus-DnnaxJFP.js";import{_ as m}from"./monaco-editor-Dg5hMj4r.js";import{createRouter as O,createWebHashHistory as P}from"./vue-router-CpoV07KG.js";import"./lodash-es-CLq8SBAM.js";import"./@vueuse-DwRHc_J7.js";import"./@element-plus-CekXU_7D.js";import"./@popperjs-I-C4_FcE.js";import"./@ctrl-r5W6hzzQ.js";import"./dayjs-Bz4m6kJv.js";import"./@ckeditor-Cpj98o6Y.js";import"./async-validator-Cr9EP88T.js";import"./memoize-one-DwF5HINA.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-BkhKrinZ.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-DT2oLj0h.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]),import.meta.url)},{path:"/preview/:id",name:"preview",component:()=>m(()=>import("./preview-m8Kb7G2b.js"),__vite__mapDeps([23,17,18,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,19,20,21]),import.meta.url)}],w=O({history:P(),routes:L}),u=y(E);u.use(w);u.mount("#app");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
const __vite__fileDeps=["./vue-BNsVu1qZ.js","./@vue-BS4o5x1j.js","./vue-router-CpoV07KG.js","./element-plus-DnnaxJFP.js","./lodash-es-CLq8SBAM.js","./@vueuse-DwRHc_J7.js","./@element-plus-CekXU_7D.js","./@popperjs-I-C4_FcE.js","./@ctrl-r5W6hzzQ.js","./dayjs-Bz4m6kJv.js","./@ckeditor-Cpj98o6Y.js","./async-validator-Cr9EP88T.js","./memoize-one-DwF5HINA.js","./normalize-wheel-es-B6fDCfyv.js","./@floating-ui-BkhKrinZ.js","./element-plus-5SPWBdo3.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
|
|
2
|
-
import{_ as o}from"./monaco-editor-Dg5hMj4r.js";import{useRoute as a}from"./vue-router-CpoV07KG.js";import"./element-plus-DnnaxJFP.js";import{H as s,_,a as u}from"./index-
|
|
2
|
+
import{_ as o}from"./monaco-editor-Dg5hMj4r.js";import{useRoute as a}from"./vue-router-CpoV07KG.js";import"./element-plus-DnnaxJFP.js";import{H as s,_,a as u}from"./index-BRzUtFiS.js";import{d as c,r as d,S as l,W as v,X as f,o as R,i as E}from"./@vue-BS4o5x1j.js";import"./lodash-es-CLq8SBAM.js";import"./@vueuse-DwRHc_J7.js";import"./@element-plus-CekXU_7D.js";import"./@popperjs-I-C4_FcE.js";import"./@ctrl-r5W6hzzQ.js";import"./dayjs-Bz4m6kJv.js";import"./@ckeditor-Cpj98o6Y.js";import"./async-validator-Cr9EP88T.js";import"./memoize-one-DwF5HINA.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-BkhKrinZ.js";import"./vue-BNsVu1qZ.js";import"./mockjs-CfUV2g9n.js";const X=c({__name:"preview",setup(C){const m=new u,{provider:r,onReady:i}=s({mode:_.Runtime,service:m,dependencies:{Vue:()=>o(()=>import("./vue-BNsVu1qZ.js").then(e=>e.v),__vite__mapDeps([0,1]),import.meta.url),VueRouter:()=>o(()=>import("./vue-router-CpoV07KG.js"),__vite__mapDeps([2,1]),import.meta.url),ElementPlus:()=>o(()=>import("./element-plus-DnnaxJFP.js").then(e=>e.a2),__vite__mapDeps([3,1,4,5,6,7,8,9,10,11,12,13,14,15]),import.meta.url)}}),p=a(),t=d(),n=E();return i(async()=>{n?.appContext.app.use(r),t.value=await r.getRenderComponent(p.params.id.toString())}),(e,V)=>t.value?(R(),l(v(t.value),{key:0})):f("",!0)}});export{X 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-
|
|
11
|
+
<script type="module" crossorigin src="./assets/index-rJeGrR0Y.js"></script>
|
|
12
12
|
<link rel="modulepreload" crossorigin href="./assets/@vue-BS4o5x1j.js">
|
|
13
13
|
<link rel="modulepreload" crossorigin href="./assets/lodash-es-CLq8SBAM.js">
|
|
14
14
|
<link rel="modulepreload" crossorigin href="./assets/@vueuse-DwRHc_J7.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.8.
|
|
5
|
+
"version": "0.8.1",
|
|
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.8.
|
|
14
|
-
"@vtj/designer": "^0.8.
|
|
15
|
-
"@vtj/local": "^0.8.
|
|
16
|
-
"@vtj/materials": "^0.8.
|
|
17
|
-
"@vtj/renderer": "^0.8.
|
|
13
|
+
"@vtj/core": "^0.8.1",
|
|
14
|
+
"@vtj/designer": "^0.8.1",
|
|
15
|
+
"@vtj/local": "^0.8.1",
|
|
16
|
+
"@vtj/materials": "^0.8.1",
|
|
17
|
+
"@vtj/renderer": "^0.8.1"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@vtj/cli": "^0.8.
|
|
21
|
-
"@vtj/icons": "^0.8.
|
|
22
|
-
"@vtj/ui": "^0.8.
|
|
23
|
-
"@vtj/utils": "^0.8.
|
|
20
|
+
"@vtj/cli": "^0.8.1",
|
|
21
|
+
"@vtj/icons": "^0.8.1",
|
|
22
|
+
"@vtj/ui": "^0.8.1",
|
|
23
|
+
"@vtj/utils": "^0.8.1",
|
|
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": "56000d79e6dc07c9d86fda6ee8b746dca7bdcd93",
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|
|
49
49
|
}
|