@vtj/pro 0.8.38 → 0.8.39

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,2 +1,2 @@
1
- const __vite__fileDeps=["./index-BOLv4Myk.js","./vue-router-C1P2wwhN.js","./@vue-D1Pu-JcS.js","./element-plus-CiJufdvG.js","./lodash-es-iLqVnzBD.js","./@vueuse-Zrm3bwc0.js","./@element-plus-Ci-O1dPP.js","./@popperjs-egqNnATr.js","./@ctrl-riLredlm.js","./dayjs-6gUf-wcg.js","./async-validator-7GrF_zuj.js","./memoize-one-BdPwpGay.js","./normalize-wheel-es-B6fDCfyv.js","./@floating-ui-CIcp7egp.js","./element-plus-D-CbeVZr.css","./extension-AgUco3Ht.js","./vue-BwT_rCsl.js","./monaco-editor-DwlLClUG.js","./monaco-editor-BgBQhOSF.css","./mockjs-CA9SFGkl.js","./extension-CUgzEiGh.css","./index-D2IJveMn.css","./preview-cUe76l-t.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2
- import{d as f,S as n,u as p,ai as d,o as a,U as c,aF as _,_ as h,at as y}from"./@vue-D1Pu-JcS.js";import{z as v,E as g}from"./element-plus-CiJufdvG.js";import{_ as m}from"./monaco-editor-DwlLClUG.js";import{createRouter as O,createWebHashHistory as P}from"./vue-router-C1P2wwhN.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-Zrm3bwc0.js";import"./@element-plus-Ci-O1dPP.js";import"./@popperjs-egqNnATr.js";import"./@ctrl-riLredlm.js";import"./dayjs-6gUf-wcg.js";import"./async-validator-7GrF_zuj.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-CIcp7egp.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 a(),n(p(g),{locale:p(v)},{default:c(()=>[(a(),n(_,null,{default:c(()=>[h(o)]),_:1}))]),_:1},8,["locale"])}}}),L=[{path:"/",name:"home",component:()=>m(()=>import("./index-BOLv4Myk.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]),import.meta.url)},{path:"/preview/:id",name:"preview",component:()=>m(()=>import("./preview-cUe76l-t.js"),__vite__mapDeps([22,17,18,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,19,20]),import.meta.url)}],w=O({history:P(),routes:L}),u=y(E);u.use(w);u.mount("#app");
1
+ const __vite__fileDeps=["./index-D2tHyzQc.js","./vue-router-C1P2wwhN.js","./@vue-D1Pu-JcS.js","./element-plus-CiJufdvG.js","./lodash-es-iLqVnzBD.js","./@vueuse-Zrm3bwc0.js","./@element-plus-Ci-O1dPP.js","./@popperjs-egqNnATr.js","./@ctrl-riLredlm.js","./dayjs-6gUf-wcg.js","./async-validator-7GrF_zuj.js","./memoize-one-BdPwpGay.js","./normalize-wheel-es-B6fDCfyv.js","./@floating-ui-CIcp7egp.js","./element-plus-D-CbeVZr.css","./extension-DJOIHax4.js","./vue-BwT_rCsl.js","./monaco-editor-DwlLClUG.js","./monaco-editor-BgBQhOSF.css","./mockjs-CA9SFGkl.js","./extension-Bog81DN3.css","./index-D2IJveMn.css","./preview-iIJz-15m.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2
+ import{d as f,S as n,u as p,ai as d,o as a,U as c,aF as _,_ as h,at as y}from"./@vue-D1Pu-JcS.js";import{z as v,E as g}from"./element-plus-CiJufdvG.js";import{_ as m}from"./monaco-editor-DwlLClUG.js";import{createRouter as O,createWebHashHistory as P}from"./vue-router-C1P2wwhN.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-Zrm3bwc0.js";import"./@element-plus-Ci-O1dPP.js";import"./@popperjs-egqNnATr.js";import"./@ctrl-riLredlm.js";import"./dayjs-6gUf-wcg.js";import"./async-validator-7GrF_zuj.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-CIcp7egp.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 a(),n(p(g),{locale:p(v)},{default:c(()=>[(a(),n(_,null,{default:c(()=>[h(o)]),_:1}))]),_:1},8,["locale"])}}}),L=[{path:"/",name:"home",component:()=>m(()=>import("./index-D2tHyzQc.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]),import.meta.url)},{path:"/preview/:id",name:"preview",component:()=>m(()=>import("./preview-iIJz-15m.js"),__vite__mapDeps([22,17,18,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,19,20]),import.meta.url)}],w=O({history:P(),routes:L}),u=y(E);u.use(w);u.mount("#app");
@@ -1 +1 @@
1
- var x=Object.defineProperty;var _=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var f=(o,e,t)=>e in o?x(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,u=(o,e)=>{for(var t in e||(e={}))y.call(e,t)&&f(o,t,e[t]);if(_)for(var t of _(e))g.call(e,t)&&f(o,t,e[t]);return o};var h=(o,e,t)=>new Promise((a,i)=>{var s=n=>{try{p(t.next(n))}catch(r){i(r)}},c=n=>{try{p(t.throw(n))}catch(r){i(r)}},p=n=>n.done?a(n.value):Promise.resolve(n.value).then(s,c);p((t=t.apply(o,e)).next())});import{useRoute as k}from"./vue-router-C1P2wwhN.js";import"./element-plus-CiJufdvG.js";import{N as w,l as E,c as $,E as C}from"./extension-AgUco3Ht.js";import{d as F,r as b,bO as v,f as q,c as B,o as N}from"./@vue-D1Pu-JcS.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-Zrm3bwc0.js";import"./@element-plus-Ci-O1dPP.js";import"./@popperjs-egqNnATr.js";import"./@ctrl-riLredlm.js";import"./dayjs-6gUf-wcg.js";import"./async-validator-7GrF_zuj.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-CIcp7egp.js";import"./vue-BwT_rCsl.js";import"./monaco-editor-DwlLClUG.js";import"./mockjs-CA9SFGkl.js";const O=F({__name:"index",setup(o){return h(this,null,function*(){let e,t;const a=k(),i=b(),s=new $,c=([e,t]=v(()=>s.getExtension().catch(()=>null)),e=yield e,t(),e),p=c?([e,t]=v(()=>new C(c).load()),e=yield e,t(),e):void 0;w.set("Switcher",{props:{onClick:r=>{const m=location.pathname;let d=m==="/@vtj/pro/"?"/":m;const l=r.currentFile;l&&l.type==="page"&&r.homepage!==l.id&&(d=`${d}#/page/${l.id}`),window.open(d,"VTJProject")}}}),w.set("Previewer",{props:{path:r=>`${location.pathname}#/preview/${r.id}`}});const n=new E(u({container:i,service:s},p));return n.ready(()=>{n.openFile(a.query.id)}),q(()=>a.query.id,r=>{n.openFile(r)}),(r,m)=>(N(),B("div",{class:"designer",ref_key:"container",ref:i},null,512))})}}),P=(o,e)=>{const t=o.__vccOpts||o;for(const[a,i]of e)t[a]=i;return t},X=P(O,[["__scopeId","data-v-a6eb2daf"]]);export{X as default};
1
+ var x=Object.defineProperty;var _=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var f=(o,e,t)=>e in o?x(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,u=(o,e)=>{for(var t in e||(e={}))y.call(e,t)&&f(o,t,e[t]);if(_)for(var t of _(e))g.call(e,t)&&f(o,t,e[t]);return o};var h=(o,e,t)=>new Promise((i,a)=>{var s=n=>{try{p(t.next(n))}catch(r){a(r)}},c=n=>{try{p(t.throw(n))}catch(r){a(r)}},p=n=>n.done?i(n.value):Promise.resolve(n.value).then(s,c);p((t=t.apply(o,e)).next())});import{useRoute as k}from"./vue-router-C1P2wwhN.js";import"./element-plus-CiJufdvG.js";import{N as w,l as E,a as $,E as C}from"./extension-DJOIHax4.js";import{d as F,r as b,bO as v,f as q,c as B,o as N}from"./@vue-D1Pu-JcS.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-Zrm3bwc0.js";import"./@element-plus-Ci-O1dPP.js";import"./@popperjs-egqNnATr.js";import"./@ctrl-riLredlm.js";import"./dayjs-6gUf-wcg.js";import"./async-validator-7GrF_zuj.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-CIcp7egp.js";import"./vue-BwT_rCsl.js";import"./monaco-editor-DwlLClUG.js";import"./mockjs-CA9SFGkl.js";const O=F({__name:"index",setup(o){return h(this,null,function*(){let e,t;const i=k(),a=b(),s=new $,c=([e,t]=v(()=>s.getExtension().catch(()=>null)),e=yield e,t(),e),p=c?([e,t]=v(()=>new C(c).load()),e=yield e,t(),e):void 0;w.set("Switcher",{props:{onClick:r=>{const m=location.pathname;let d=m==="/@vtj/pro/"?"/":m;const l=r.currentFile;l&&l.type==="page"&&r.homepage!==l.id&&(d=`${d}#/page/${l.id}`),window.open(d,"VTJProject")}}}),w.set("Previewer",{props:{path:r=>`${location.pathname}#/preview/${r.id}`}});const n=new E(u({container:a,service:s},p));return n.ready(()=>{n.openFile(i.query.id)}),q(()=>i.query.id,r=>{n.openFile(r)}),(r,m)=>(N(),B("div",{class:"designer",ref_key:"container",ref:a},null,512))})}}),P=(o,e)=>{const t=o.__vccOpts||o;for(const[i,a]of e)t[i]=a;return t},X=P(O,[["__scopeId","data-v-a6eb2daf"]]);export{X as default};
@@ -1,2 +1,2 @@
1
- const __vite__fileDeps=["./vue-BwT_rCsl.js","./@vue-D1Pu-JcS.js","./vue-router-C1P2wwhN.js","./element-plus-CiJufdvG.js","./lodash-es-iLqVnzBD.js","./@vueuse-Zrm3bwc0.js","./@element-plus-Ci-O1dPP.js","./@popperjs-egqNnATr.js","./@ctrl-riLredlm.js","./dayjs-6gUf-wcg.js","./async-validator-7GrF_zuj.js","./memoize-one-BdPwpGay.js","./normalize-wheel-es-B6fDCfyv.js","./@floating-ui-CIcp7egp.js","./element-plus-D-CbeVZr.css","./extension-AgUco3Ht.js","./monaco-editor-DwlLClUG.js","./monaco-editor-BgBQhOSF.css","./mockjs-CA9SFGkl.js","./extension-CUgzEiGh.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2
- var d=(l,t,r)=>new Promise((m,n)=>{var s=e=>{try{i(r.next(e))}catch(a){n(a)}},_=e=>{try{i(r.throw(e))}catch(a){n(a)}},i=e=>e.done?m(e.value):Promise.resolve(e.value).then(s,_);i((r=r.apply(l,t)).next())});import{_ as p}from"./monaco-editor-DwlLClUG.js";import{useRoute as V}from"./vue-router-C1P2wwhN.js";import"./element-plus-CiJufdvG.js";import{s as f,S as R,b as w,c as x,E as C}from"./extension-AgUco3Ht.js";import{d as h,bO as v,r as y,i as I,S as P,W as A,X as D,o as O}from"./@vue-D1Pu-JcS.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-Zrm3bwc0.js";import"./@element-plus-Ci-O1dPP.js";import"./@popperjs-egqNnATr.js";import"./@ctrl-riLredlm.js";import"./dayjs-6gUf-wcg.js";import"./async-validator-7GrF_zuj.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-CIcp7egp.js";import"./vue-BwT_rCsl.js";import"./mockjs-CA9SFGkl.js";const Q=h({__name:"preview",setup(l){return d(this,null,function*(){let t,r;const m=new x,n=([t,r]=v(()=>m.getExtension().catch(()=>null)),t=yield t,r(),t),s=n?([t,r]=v(()=>new C(n).load()),t=yield t,r(),t):void 0,{install:_,adapter:i}=s||{},{provider:e,onReady:a}=f({mode:R.Runtime,service:m,adapter:i,install:_,dependencies:{Vue:()=>p(()=>import("./vue-BwT_rCsl.js").then(o=>o.V),__vite__mapDeps([0,1]),import.meta.url),VueRouter:()=>p(()=>import("./vue-router-C1P2wwhN.js"),__vite__mapDeps([2,1]),import.meta.url),ElementPlus:()=>p(()=>import("./element-plus-CiJufdvG.js").then(o=>o.ae),__vite__mapDeps([3,1,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url),VtjIcons:()=>p(()=>import("./extension-AgUco3Ht.js").then(o=>o.V),__vite__mapDeps([15,0,1,6,5,2,3,4,7,8,9,10,11,12,13,14,16,17,18,19]),import.meta.url)}}),E=V(),c=y(),u=I();return a(()=>d(this,null,function*(){const o=u==null?void 0:u.appContext.app;o&&(o.use(w),o.use(e)),c.value=yield e.getRenderComponent(E.params.id.toString())})),(o,g)=>c.value?(O(),P(A(c.value),{key:0})):D("",!0)})}});export{Q as default};
1
+ const __vite__fileDeps=["./vue-BwT_rCsl.js","./@vue-D1Pu-JcS.js","./vue-router-C1P2wwhN.js","./element-plus-CiJufdvG.js","./lodash-es-iLqVnzBD.js","./@vueuse-Zrm3bwc0.js","./@element-plus-Ci-O1dPP.js","./@popperjs-egqNnATr.js","./@ctrl-riLredlm.js","./dayjs-6gUf-wcg.js","./async-validator-7GrF_zuj.js","./memoize-one-BdPwpGay.js","./normalize-wheel-es-B6fDCfyv.js","./@floating-ui-CIcp7egp.js","./element-plus-D-CbeVZr.css","./extension-DJOIHax4.js","./monaco-editor-DwlLClUG.js","./monaco-editor-BgBQhOSF.css","./mockjs-CA9SFGkl.js","./extension-Bog81DN3.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2
+ var l=(d,t,r)=>new Promise((m,n)=>{var s=e=>{try{a(r.next(e))}catch(i){n(i)}},_=e=>{try{a(r.throw(e))}catch(i){n(i)}},a=e=>e.done?m(e.value):Promise.resolve(e.value).then(s,_);a((r=r.apply(d,t)).next())});import{_ as p}from"./monaco-editor-DwlLClUG.js";import{useRoute as V}from"./vue-router-C1P2wwhN.js";import"./element-plus-CiJufdvG.js";import{o as f,S as R,b as w,a as x,E as C}from"./extension-DJOIHax4.js";import{d as h,bO as v,r as y,i as I,S as P,W as A,X as D,o as O}from"./@vue-D1Pu-JcS.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-Zrm3bwc0.js";import"./@element-plus-Ci-O1dPP.js";import"./@popperjs-egqNnATr.js";import"./@ctrl-riLredlm.js";import"./dayjs-6gUf-wcg.js";import"./async-validator-7GrF_zuj.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-CIcp7egp.js";import"./vue-BwT_rCsl.js";import"./mockjs-CA9SFGkl.js";const Q=h({__name:"preview",setup(d){return l(this,null,function*(){let t,r;const m=new x,n=([t,r]=v(()=>m.getExtension().catch(()=>null)),t=yield t,r(),t),s=n?([t,r]=v(()=>new C(n).load()),t=yield t,r(),t):void 0,{install:_,adapter:a}=s||{},{provider:e,onReady:i}=f({mode:R.Runtime,service:m,adapter:a,install:_,dependencies:{Vue:()=>p(()=>import("./vue-BwT_rCsl.js").then(o=>o.V),__vite__mapDeps([0,1]),import.meta.url),VueRouter:()=>p(()=>import("./vue-router-C1P2wwhN.js"),__vite__mapDeps([2,1]),import.meta.url),ElementPlus:()=>p(()=>import("./element-plus-CiJufdvG.js").then(o=>o.ae),__vite__mapDeps([3,1,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url),VtjIcons:()=>p(()=>import("./extension-DJOIHax4.js").then(o=>o.V),__vite__mapDeps([15,0,1,6,5,2,3,4,7,8,9,10,11,12,13,14,16,17,18,19]),import.meta.url)}}),E=V(),c=y(),u=I();return i(()=>l(this,null,function*(){const o=u==null?void 0:u.appContext.app;o&&(o.use(w),o.use(e)),c.value=yield e.getRenderComponent(E.params.id.toString())})),(o,g)=>c.value?(O(),P(A(c.value),{key:0})):D("",!0)})}});export{Q 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-BErXd0D1.js"></script>
11
+ <script type="module" crossorigin src="./assets/index-BVCpBPzi.js"></script>
12
12
  <link rel="modulepreload" crossorigin href="./assets/@vue-D1Pu-JcS.js">
13
13
  <link rel="modulepreload" crossorigin href="./assets/lodash-es-iLqVnzBD.js">
14
14
  <link rel="modulepreload" crossorigin href="./assets/@vueuse-Zrm3bwc0.js">
package/package.json CHANGED
@@ -2,23 +2,23 @@
2
2
  "name": "@vtj/pro",
3
3
  "description": "VTJ.PRO",
4
4
  "private": false,
5
- "version": "0.8.38",
5
+ "version": "0.8.39",
6
6
  "type": "module",
7
7
  "dependencies": {
8
- "@vtj/core": "~0.8.38",
9
- "@vtj/designer": "~0.8.38",
10
- "@vtj/renderer": "~0.8.38",
11
- "@vtj/local": "~0.8.38",
12
- "@vtj/materials": "~0.8.38"
8
+ "@vtj/core": "~0.8.39",
9
+ "@vtj/local": "~0.8.39",
10
+ "@vtj/renderer": "~0.8.39",
11
+ "@vtj/designer": "~0.8.39",
12
+ "@vtj/materials": "~0.8.39"
13
13
  },
14
14
  "devDependencies": {
15
15
  "vue": "~3.4.15",
16
16
  "vue-router": "~4.3.0",
17
- "@vtj/charts": "~0.8.38",
17
+ "@vtj/charts": "~0.8.39",
18
+ "@vtj/icons": "~0.8.39",
18
19
  "@vtj/cli": "~0.8.13",
19
- "@vtj/ui": "~0.8.38",
20
- "@vtj/icons": "~0.8.38",
21
- "@vtj/utils": "~0.8.38"
20
+ "@vtj/ui": "~0.8.39",
21
+ "@vtj/utils": "~0.8.39"
22
22
  },
23
23
  "exports": {
24
24
  "./vite": {