@vtj/pro 0.8.138 → 0.8.139

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__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BYHBhGVu.js","./vue-router-D9jePgS-.js","./@vue-DuG_dK-o.js","./element-plus-CwWYvzvB.js","./lodash-es-iLqVnzBD.js","./@vueuse-BzNxVifS.js","./@element-plus-CYBimet3.js","./@popperjs-egqNnATr.js","./@ctrl-riLredlm.js","./dayjs-rQ6ln_M2.js","./async-validator-7GrF_zuj.js","./memoize-one-BdPwpGay.js","./normalize-wheel-es-B6fDCfyv.js","./@floating-ui-DG3QGZyI.js","./element-plus-CsJRdetr.css","./extension-eaVTVkx7.js","./vue-BQ07tEkC.js","./monaco-editor-WNIdoi5y.js","./monaco-editor-Cw2XXO7i.css","./mockjs-CuJENUct.js","./extension-CPPqgHgD.css","./index-CYyH7yZQ.css","./preview-DkBiGp58.js"])))=>i.map(i=>d[i]);
2
- import{d as f,R as n,u as p,ai as d,o as a,S as c,aG as _,Z as h,au as y}from"./@vue-DuG_dK-o.js";import{z as v,E as g}from"./element-plus-CwWYvzvB.js";import{_ as m}from"./monaco-editor-WNIdoi5y.js";import{createRouter as O,createWebHashHistory as P}from"./vue-router-D9jePgS-.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-BzNxVifS.js";import"./@element-plus-CYBimet3.js";import"./@popperjs-egqNnATr.js";import"./@ctrl-riLredlm.js";import"./dayjs-rQ6ln_M2.js";import"./async-validator-7GrF_zuj.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-DG3QGZyI.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-BYHBhGVu.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-DkBiGp58.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__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-LMNjp3Az.js","./vue-router-D9jePgS-.js","./@vue-DuG_dK-o.js","./element-plus-CwWYvzvB.js","./lodash-es-iLqVnzBD.js","./@vueuse-BzNxVifS.js","./@element-plus-CYBimet3.js","./@popperjs-egqNnATr.js","./@ctrl-riLredlm.js","./dayjs-rQ6ln_M2.js","./async-validator-7GrF_zuj.js","./memoize-one-BdPwpGay.js","./normalize-wheel-es-B6fDCfyv.js","./@floating-ui-DG3QGZyI.js","./element-plus-CsJRdetr.css","./extension-tEQGhRTn.js","./vue-BQ07tEkC.js","./monaco-editor-WNIdoi5y.js","./monaco-editor-Cw2XXO7i.css","./mockjs-CuJENUct.js","./extension-CPPqgHgD.css","./index-CYyH7yZQ.css","./preview-Cuot9n--.js"])))=>i.map(i=>d[i]);
2
+ import{d as f,R as n,u as p,ai as d,o as a,S as c,aG as _,Z as h,au as y}from"./@vue-DuG_dK-o.js";import{z as v,E as g}from"./element-plus-CwWYvzvB.js";import{_ as m}from"./monaco-editor-WNIdoi5y.js";import{createRouter as O,createWebHashHistory as P}from"./vue-router-D9jePgS-.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-BzNxVifS.js";import"./@element-plus-CYBimet3.js";import"./@popperjs-egqNnATr.js";import"./@ctrl-riLredlm.js";import"./dayjs-rQ6ln_M2.js";import"./async-validator-7GrF_zuj.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-DG3QGZyI.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-LMNjp3Az.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-Cuot9n--.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 y=Object.defineProperty;var u=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var f=(o,t,e)=>t in o?y(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,h=(o,t)=>{for(var e in t||(t={}))g.call(t,e)&&f(o,e,t[e]);if(u)for(var e of u(t))k.call(t,e)&&f(o,e,t[e]);return o};var w=(o,t,e)=>new Promise((s,r)=>{var m=n=>{try{c(e.next(n))}catch(a){r(a)}},p=n=>{try{c(e.throw(n))}catch(a){r(a)}},c=n=>n.done?s(n.value):Promise.resolve(n.value).then(m,p);c((e=e.apply(o,t)).next())});import{useRoute as E}from"./vue-router-D9jePgS-.js";import"./element-plus-CwWYvzvB.js";import{L as v,o as $,l as P,E as A}from"./extension-eaVTVkx7.js";import{d as B,e as C,bX as x,f as F,c as b,o as q}from"./@vue-DuG_dK-o.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-BzNxVifS.js";import"./@element-plus-CYBimet3.js";import"./@popperjs-egqNnATr.js";import"./@ctrl-riLredlm.js";import"./dayjs-rQ6ln_M2.js";import"./async-validator-7GrF_zuj.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-DG3QGZyI.js";import"./vue-BQ07tEkC.js";import"./monaco-editor-WNIdoi5y.js";import"./mockjs-CuJENUct.js";const L=B({__name:"index",setup(o){return w(this,null,function*(){let t,e;const s=E(),r=C(),m=new P,p=([t,e]=x(()=>m.getExtension().catch(()=>null)),t=yield t,e(),t),c=p?([t,e]=x(()=>new A(p).load()),t=yield t,e(),t):void 0,{__BASE_PATH__:n="/"}=p||{};v.set("Switcher",{props:{onClick:i=>{const _=location.pathname;let d=_===`${n}__vtj__/`?n:_;const l=i.currentFile;l&&l.type==="page"&&i.homepage!==l.id&&(d=`${d}#/page/${l.id}`),window.open(d,"VTJProject")}}}),v.set("Previewer",{props:{path:i=>`${location.pathname}#/preview/${i.id}`}});const a=new $(h({container:r,service:m,materialPath:n},c));return a.ready(()=>{a.openFile(s.query.id)}),F(()=>s.query.id,i=>{a.openFile(i)}),(i,_)=>(q(),b("div",{class:"designer",ref_key:"container",ref:r},null,512))})}}),S=(o,t)=>{const e=o.__vccOpts||o;for(const[s,r]of t)e[s]=r;return e},Y=S(L,[["__scopeId","data-v-9a3b4555"]]);export{Y as default};
1
+ var y=Object.defineProperty;var u=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var f=(o,t,e)=>t in o?y(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,h=(o,t)=>{for(var e in t||(t={}))g.call(t,e)&&f(o,e,t[e]);if(u)for(var e of u(t))k.call(t,e)&&f(o,e,t[e]);return o};var w=(o,t,e)=>new Promise((s,r)=>{var m=n=>{try{c(e.next(n))}catch(a){r(a)}},p=n=>{try{c(e.throw(n))}catch(a){r(a)}},c=n=>n.done?s(n.value):Promise.resolve(n.value).then(m,p);c((e=e.apply(o,t)).next())});import{useRoute as E}from"./vue-router-D9jePgS-.js";import"./element-plus-CwWYvzvB.js";import{L as v,o as $,l as P,E as A}from"./extension-tEQGhRTn.js";import{d as B,e as C,bX as x,f as F,c as b,o as q}from"./@vue-DuG_dK-o.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-BzNxVifS.js";import"./@element-plus-CYBimet3.js";import"./@popperjs-egqNnATr.js";import"./@ctrl-riLredlm.js";import"./dayjs-rQ6ln_M2.js";import"./async-validator-7GrF_zuj.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-DG3QGZyI.js";import"./vue-BQ07tEkC.js";import"./monaco-editor-WNIdoi5y.js";import"./mockjs-CuJENUct.js";const L=B({__name:"index",setup(o){return w(this,null,function*(){let t,e;const s=E(),r=C(),m=new P,p=([t,e]=x(()=>m.getExtension().catch(()=>null)),t=yield t,e(),t),c=p?([t,e]=x(()=>new A(p).load()),t=yield t,e(),t):void 0,{__BASE_PATH__:n="/"}=p||{};v.set("Switcher",{props:{onClick:i=>{const _=location.pathname;let d=_===`${n}__vtj__/`?n:_;const l=i.currentFile;l&&l.type==="page"&&i.homepage!==l.id&&(d=`${d}#/page/${l.id}`),window.open(d,"VTJProject")}}}),v.set("Previewer",{props:{path:i=>`${location.pathname}#/preview/${i.id}`}});const a=new $(h({container:r,service:m,materialPath:n},c));return a.ready(()=>{a.openFile(s.query.id)}),F(()=>s.query.id,i=>{a.openFile(i)}),(i,_)=>(q(),b("div",{class:"designer",ref_key:"container",ref:r},null,512))})}}),S=(o,t)=>{const e=o.__vccOpts||o;for(const[s,r]of t)e[s]=r;return e},Y=S(L,[["__scopeId","data-v-9a3b4555"]]);export{Y as default};
@@ -1,2 +1,2 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-BQ07tEkC.js","./@vue-DuG_dK-o.js","./vue-router-D9jePgS-.js"])))=>i.map(i=>d[i]);
2
- var x=Object.defineProperty,C=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var v=(o,t,e)=>t in o?x(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,f=(o,t)=>{for(var e in t||(t={}))y.call(t,e)&&v(o,e,t[e]);if(l)for(var e of l(t))h.call(t,e)&&v(o,e,t[e]);return o},E=(o,t)=>C(o,V(t));var d=(o,t,e)=>new Promise((s,n)=>{var m=r=>{try{a(e.next(r))}catch(p){n(p)}},_=r=>{try{a(e.throw(r))}catch(p){n(p)}},a=r=>r.done?s(r.value):Promise.resolve(r.value).then(m,_);a((e=e.apply(o,t)).next())});import{_ as R}from"./monaco-editor-WNIdoi5y.js";import{useRoute as A}from"./vue-router-D9jePgS-.js";import"./element-plus-CwWYvzvB.js";import{a as P,S as g,b,l as k,E as B}from"./extension-eaVTVkx7.js";import{d as D,bX as w,e as I,i as S,R as T,V as L,W as O,o as H}from"./@vue-DuG_dK-o.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-BzNxVifS.js";import"./@element-plus-CYBimet3.js";import"./@popperjs-egqNnATr.js";import"./@ctrl-riLredlm.js";import"./dayjs-rQ6ln_M2.js";import"./async-validator-7GrF_zuj.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-DG3QGZyI.js";import"./vue-BQ07tEkC.js";import"./mockjs-CuJENUct.js";const rt=D({__name:"preview",setup(o){return d(this,null,function*(){let t,e;const s=new k,n=([t,e]=w(()=>s.getExtension().catch(()=>null)),t=yield t,e(),t),m=n?([t,e]=w(()=>new B(n).load()),t=yield t,e(),t):void 0,{__BASE_PATH__:_="/"}=n||{},{provider:a,onReady:r}=P(E(f({mode:g.Runtime,service:s,materialPath:_},m||{}),{dependencies:{Vue:()=>R(()=>import("./vue-BQ07tEkC.js").then(i=>i.V),__vite__mapDeps([0,1]),import.meta.url),VueRouter:()=>R(()=>import("./vue-router-D9jePgS-.js"),__vite__mapDeps([2,1]),import.meta.url)}})),p=A(),c=I(),u=S();return r(()=>d(this,null,function*(){const i=u==null?void 0:u.appContext.app;i&&(i.use(b),i.use(a)),c.value=yield a.getRenderComponent(p.params.id.toString())})),(i,N)=>c.value?(H(),T(L(c.value),{key:0})):O("",!0)})}});export{rt as default};
2
+ var x=Object.defineProperty,C=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var v=(o,t,e)=>t in o?x(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,f=(o,t)=>{for(var e in t||(t={}))y.call(t,e)&&v(o,e,t[e]);if(l)for(var e of l(t))h.call(t,e)&&v(o,e,t[e]);return o},E=(o,t)=>C(o,V(t));var d=(o,t,e)=>new Promise((s,n)=>{var m=r=>{try{a(e.next(r))}catch(p){n(p)}},_=r=>{try{a(e.throw(r))}catch(p){n(p)}},a=r=>r.done?s(r.value):Promise.resolve(r.value).then(m,_);a((e=e.apply(o,t)).next())});import{_ as R}from"./monaco-editor-WNIdoi5y.js";import{useRoute as A}from"./vue-router-D9jePgS-.js";import"./element-plus-CwWYvzvB.js";import{a as P,S as g,b,l as k,E as B}from"./extension-tEQGhRTn.js";import{d as D,bX as w,e as I,i as S,R as T,V as L,W as O,o as H}from"./@vue-DuG_dK-o.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-BzNxVifS.js";import"./@element-plus-CYBimet3.js";import"./@popperjs-egqNnATr.js";import"./@ctrl-riLredlm.js";import"./dayjs-rQ6ln_M2.js";import"./async-validator-7GrF_zuj.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-DG3QGZyI.js";import"./vue-BQ07tEkC.js";import"./mockjs-CuJENUct.js";const rt=D({__name:"preview",setup(o){return d(this,null,function*(){let t,e;const s=new k,n=([t,e]=w(()=>s.getExtension().catch(()=>null)),t=yield t,e(),t),m=n?([t,e]=w(()=>new B(n).load()),t=yield t,e(),t):void 0,{__BASE_PATH__:_="/"}=n||{},{provider:a,onReady:r}=P(E(f({mode:g.Runtime,service:s,materialPath:_},m||{}),{dependencies:{Vue:()=>R(()=>import("./vue-BQ07tEkC.js").then(i=>i.V),__vite__mapDeps([0,1]),import.meta.url),VueRouter:()=>R(()=>import("./vue-router-D9jePgS-.js"),__vite__mapDeps([2,1]),import.meta.url)}})),p=A(),c=I(),u=S();return r(()=>d(this,null,function*(){const i=u==null?void 0:u.appContext.app;i&&(i.use(b),i.use(a)),c.value=yield a.getRenderComponent(p.params.id.toString())})),(i,N)=>c.value?(H(),T(L(c.value),{key:0})):O("",!0)})}});export{rt as default};
package/dist/index.html CHANGED
@@ -9,7 +9,7 @@
9
9
  <meta http-equiv="Expires" content="0"/>
10
10
  <title>低代码设计器 - VTJ.PRO</title>
11
11
  <script>
12
- var __BUILD_TIME__ = '1726490248339';
12
+ var __BUILD_TIME__ = '1726497500095';
13
13
  (function () {
14
14
  const regex = /<!--{{(\d*)}}-->/;
15
15
  window.fetch('?t=' + Date.now()).then(async (res) => {
@@ -25,9 +25,9 @@
25
25
  });
26
26
  })();
27
27
  </script>
28
- <!--{{1726490248339}}-->
28
+ <!--{{1726497500095}}-->
29
29
 
30
- <script type="module" crossorigin src="./assets/index-BIZxZDCs.js"></script>
30
+ <script type="module" crossorigin src="./assets/index-BWVDSotk.js"></script>
31
31
  <link rel="modulepreload" crossorigin href="./assets/@vue-DuG_dK-o.js">
32
32
  <link rel="modulepreload" crossorigin href="./assets/lodash-es-iLqVnzBD.js">
33
33
  <link rel="modulepreload" crossorigin href="./assets/@vueuse-BzNxVifS.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.138",
5
+ "version": "0.8.139",
6
6
  "type": "module",
7
7
  "dependencies": {
8
- "@vtj/core": "~0.8.138",
9
- "@vtj/local": "~0.8.138",
10
- "@vtj/materials": "~0.8.138",
11
- "@vtj/renderer": "~0.8.138",
12
- "@vtj/designer": "~0.8.138"
8
+ "@vtj/local": "~0.8.139",
9
+ "@vtj/core": "~0.8.139",
10
+ "@vtj/designer": "~0.8.139",
11
+ "@vtj/materials": "~0.8.139",
12
+ "@vtj/renderer": "~0.8.139"
13
13
  },
14
14
  "devDependencies": {
15
15
  "vue": "~3.5.5",
16
16
  "vue-router": "~4.4.0",
17
- "@vtj/charts": "~0.8.138",
18
- "@vtj/cli": "~0.8.33",
19
- "@vtj/ui": "~0.8.138",
20
- "@vtj/icons": "~0.8.138",
21
- "@vtj/utils": "~0.8.138"
17
+ "@vtj/cli": "~0.8.34",
18
+ "@vtj/charts": "~0.8.139",
19
+ "@vtj/icons": "~0.8.139",
20
+ "@vtj/ui": "~0.8.139",
21
+ "@vtj/utils": "~0.8.139"
22
22
  },
23
23
  "exports": {
24
24
  "./vite": {