@vtj/pro 0.8.162 → 0.8.164
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/charts/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/assets/vant/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/charts/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/{extension-BJtAeQcQ.js → extension-t-TvWmXC.js} +60 -60
- package/dist/assets/{extension-BQQPZ7O4.css → extension-y9Dyudwp.css} +1 -1
- package/dist/assets/{index-BzMqbtyK.js → index-Bg9wHLYF.js} +1 -1
- package/dist/assets/{index-CyRLQosF.js → index-MYqoXVYj.js} +2 -2
- package/dist/assets/{preview-CgOK1BZ_.js → preview-BVtD6_nI.js} +1 -1
- package/dist/index.html +3 -3
- package/package.json +10 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
var y=Object.defineProperty;var u=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var f=(o,e,t)=>e in o?y(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,h=(o,e)=>{for(var t in e||(e={}))g.call(e,t)&&f(o,t,e[t]);if(u)for(var t of u(e))k.call(e,t)&&f(o,t,e[t]);return o};var w=(o,e,t)=>new Promise((s,a)=>{var
|
|
1
|
+
var y=Object.defineProperty;var u=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var f=(o,e,t)=>e in o?y(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,h=(o,e)=>{for(var t in e||(e={}))g.call(e,t)&&f(o,t,e[t]);if(u)for(var t of u(e))k.call(e,t)&&f(o,t,e[t]);return o};var w=(o,e,t)=>new Promise((s,a)=>{var m=n=>{try{c(t.next(n))}catch(r){a(r)}},p=n=>{try{c(t.throw(n))}catch(r){a(r)}},c=n=>n.done?s(n.value):Promise.resolve(n.value).then(m,p);c((t=t.apply(o,e)).next())});import{useRoute as E}from"./vue-router-TDl2A7c9.js";import"./element-plus-KOkfihih.js";import"./vxe-CGYNWLG2.js";import{X as v,p as $,m as P,E as A}from"./extension-t-TvWmXC.js";import{d as B,r as C,ay as x,w as F,c as q,o as S}from"./vue-DqNNt-It.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-C2duSIzq.js";import"./@element-plus-icons-vue-BjScogMO.js";import"./shared-x86dYnGH.js";import"./dayjs-rQ6ln_M2.js";import"./monaco-editor-WNIdoi5y.js";import"./mockjs-CDYh1Tul.js";const T=B({__name:"index",setup(o){return w(this,null,function*(){let e,t;const s=E(),a=C(),m=new P,p=([e,t]=x(()=>m.getExtension().catch(()=>null)),e=yield e,t(),e),c=p?([e,t]=x(()=>new A(p).load()),e=yield e,t(),e):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 r=new $(h({container:a,service:m,materialPath:n},c));return r.ready(()=>{r.openFile(s.query.id)}),F(()=>s.query.id,i=>{r.openFile(i)}),(i,_)=>(S(),q("div",{class:"designer",ref_key:"container",ref:a},null,512))})}}),X=(o,e)=>{const t=o.__vccOpts||o;for(const[s,a]of e)t[s]=a;return t},M=X(T,[["__scopeId","data-v-9a3b4555"]]);export{M as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-
|
|
2
|
-
import{d as f,R as n,u as a,ai as d,o as c,S as p,ax as _,Z as h,au as y}from"./vue-DqNNt-It.js";import{z as v,E as g}from"./element-plus-KOkfihih.js";import{_ as u}from"./monaco-editor-WNIdoi5y.js";import{createRouter as O,createWebHashHistory as P}from"./vue-router-TDl2A7c9.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-C2duSIzq.js";import"./@element-plus-icons-vue-BjScogMO.js";import"./shared-x86dYnGH.js";import"./dayjs-rQ6ln_M2.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:()=>u(()=>import("./index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-Bg9wHLYF.js","./vue-router-TDl2A7c9.js","./vue-DqNNt-It.js","./element-plus-KOkfihih.js","./lodash-es-iLqVnzBD.js","./@vueuse-C2duSIzq.js","./@element-plus-icons-vue-BjScogMO.js","./shared-x86dYnGH.js","./dayjs-rQ6ln_M2.js","./element-plus-Bs16v-ec.css","./vxe-CGYNWLG2.js","./vxe-BotNEerD.css","./extension-t-TvWmXC.js","./monaco-editor-WNIdoi5y.js","./monaco-editor-Cw2XXO7i.css","./mockjs-CDYh1Tul.js","./extension-y9Dyudwp.css","./index-CYyH7yZQ.css","./preview-BVtD6_nI.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{d as f,R as n,u as a,ai as d,o as c,S as p,ax as _,Z as h,au as y}from"./vue-DqNNt-It.js";import{z as v,E as g}from"./element-plus-KOkfihih.js";import{_ as u}from"./monaco-editor-WNIdoi5y.js";import{createRouter as O,createWebHashHistory as P}from"./vue-router-TDl2A7c9.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-C2duSIzq.js";import"./@element-plus-icons-vue-BjScogMO.js";import"./shared-x86dYnGH.js";import"./dayjs-rQ6ln_M2.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:()=>u(()=>import("./index-Bg9wHLYF.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]),import.meta.url)},{path:"/preview/:id",name:"preview",component:()=>u(()=>import("./preview-BVtD6_nI.js"),__vite__mapDeps([18,13,14,1,2,3,4,5,6,7,8,9,10,11,12,15,16]),import.meta.url)}],w=O({history:P(),routes:L}),m=y(E);m.use(w);m.mount("#app");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-router-TDl2A7c9.js","./vue-DqNNt-It.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
var x=Object.defineProperty,y=Object.defineProperties;var C=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var v=(o,e,t)=>e in o?x(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,f=(o,e)=>{for(var t in e||(e={}))V.call(e,t)&&v(o,t,e[t]);if(l)for(var t of l(e))h.call(e,t)&&v(o,t,e[t]);return o},E=(o,e)=>y(o,C(e));var d=(o,e,t)=>new Promise((
|
|
2
|
+
var x=Object.defineProperty,y=Object.defineProperties;var C=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var v=(o,e,t)=>e in o?x(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,f=(o,e)=>{for(var t in e||(e={}))V.call(e,t)&&v(o,t,e[t]);if(l)for(var t of l(e))h.call(e,t)&&v(o,t,e[t]);return o},E=(o,e)=>y(o,C(e));var d=(o,e,t)=>new Promise((m,a)=>{var p=r=>{try{n(t.next(r))}catch(i){a(i)}},_=r=>{try{n(t.throw(r))}catch(i){a(i)}},n=r=>r.done?m(r.value):Promise.resolve(r.value).then(p,_);n((t=t.apply(o,e)).next())});import{_ as w}from"./monaco-editor-WNIdoi5y.js";import{useRoute as A}from"./vue-router-TDl2A7c9.js";import"./element-plus-KOkfihih.js";import"./vxe-CGYNWLG2.js";import{d as P,w as g,m as k,E as B,b as D}from"./extension-t-TvWmXC.js";import{d as I,ay as R,r as T,R as b,V as L,W as O,o as S,e as H}from"./vue-DqNNt-It.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-C2duSIzq.js";import"./@element-plus-icons-vue-BjScogMO.js";import"./shared-x86dYnGH.js";import"./dayjs-rQ6ln_M2.js";import"./mockjs-CDYh1Tul.js";const Z=I({__name:"preview",setup(o){return d(this,null,function*(){let e,t;const m=new k,a=([e,t]=R(()=>m.getExtension().catch(()=>null)),e=yield e,t(),e),p=a?([e,t]=R(()=>new B(a).load()),e=yield e,t(),e):void 0,{__BASE_PATH__:_="/"}=a||{},{provider:n,onReady:r}=P(E(f({mode:g.Runtime,service:m,materialPath:_},p||{}),{dependencies:{Vue:()=>w(()=>import("./vue-DqNNt-It.js").then(s=>s.aE),[],import.meta.url),VueRouter:()=>w(()=>import("./vue-router-TDl2A7c9.js"),__vite__mapDeps([0,1]),import.meta.url)}})),i=A(),c=T(),u=H();return r(()=>d(this,null,function*(){const s=u==null?void 0:u.appContext.app;s&&(s.use(D),s.use(n)),c.value=yield n.getRenderComponent(i.params.id.toString())})),(s,N)=>c.value?(S(),b(L(c.value),{key:0})):O("",!0)})}});export{Z 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__ = '
|
|
12
|
+
var __BUILD_TIME__ = '1729489615903';
|
|
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
|
-
<!--{{
|
|
28
|
+
<!--{{1729489615903}}-->
|
|
29
29
|
|
|
30
|
-
<script type="module" crossorigin src="./assets/index-
|
|
30
|
+
<script type="module" crossorigin src="./assets/index-MYqoXVYj.js"></script>
|
|
31
31
|
<link rel="modulepreload" crossorigin href="./assets/vue-DqNNt-It.js">
|
|
32
32
|
<link rel="modulepreload" crossorigin href="./assets/lodash-es-iLqVnzBD.js">
|
|
33
33
|
<link rel="modulepreload" crossorigin href="./assets/@vueuse-C2duSIzq.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.
|
|
5
|
+
"version": "0.8.164",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@vtj/
|
|
9
|
-
"@vtj/
|
|
10
|
-
"@vtj/
|
|
11
|
-
"@vtj/
|
|
12
|
-
"@vtj/
|
|
8
|
+
"@vtj/designer": "~0.8.164",
|
|
9
|
+
"@vtj/materials": "~0.8.164",
|
|
10
|
+
"@vtj/core": "~0.8.164",
|
|
11
|
+
"@vtj/renderer": "~0.8.164",
|
|
12
|
+
"@vtj/local": "~0.8.164"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"vue": "~3.5.5",
|
|
16
16
|
"vue-router": "~4.4.0",
|
|
17
|
+
"@vtj/charts": "~0.8.164",
|
|
17
18
|
"@vtj/cli": "~0.8.39",
|
|
18
|
-
"@vtj/
|
|
19
|
-
"@vtj/
|
|
20
|
-
"@vtj/utils": "~0.8.
|
|
21
|
-
"@vtj/ui": "~0.8.162"
|
|
19
|
+
"@vtj/icons": "~0.8.164",
|
|
20
|
+
"@vtj/ui": "~0.8.164",
|
|
21
|
+
"@vtj/utils": "~0.8.164"
|
|
22
22
|
},
|
|
23
23
|
"exports": {
|
|
24
24
|
"./vite": {
|