@vtj/pro 0.8.26 → 0.8.27
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/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/{element-plus-BAJGvxQa.js → element-plus-D-6acK5L.js} +1 -1
- package/dist/assets/{index-DjAxfaii.js → extension-CLPoecsg.js} +75 -76
- package/dist/assets/index-CDeUR6Op.js +1 -0
- package/dist/assets/{index-yJspJ_Ow.js → index-CNg4SEXA.js} +2 -2
- package/dist/assets/preview-CmSbkTKP.js +2 -0
- package/dist/index.html +2 -2
- package/package.json +10 -10
- package/dist/assets/index-Bk6g5atx.js +0 -1
- package/dist/assets/preview-DVOMDOhU.js +0 -2
- /package/dist/assets/{index-pPiycE5T.css → extension-pPiycE5T.css} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var x=Object.defineProperty;var d=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var u=(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)&&u(o,e,t[e]);if(d)for(var e of d(t))g.call(t,e)&&u(o,e,t[e]);return o};var h=(o,t,e)=>new Promise((a,i)=>{var s=n=>{try{p(e.next(n))}catch(r){i(r)}},c=n=>{try{p(e.throw(n))}catch(r){i(r)}},p=n=>n.done?a(n.value):Promise.resolve(n.value).then(s,c);p((e=e.apply(o,t)).next())});import{useRoute as k}from"./vue-router-CPADLzbG.js";import"./element-plus-D-6acK5L.js";import{j as w,B,T as E,E as $}from"./extension-CLPoecsg.js";import{d as j,r as C,bO as v,f as F,c as T,o as b}from"./@vue-DQ4WxKa6.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-8c25s-Jh.js";import"./@element-plus-D-VgZRoc.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-J7T6X87Y.js";import"./monaco-editor-DwlLClUG.js";import"./mockjs-IStUBvTQ.js";const q=j({__name:"index",setup(o){return h(this,null,function*(){let t,e;const a=k(),i=C(),s=new E,c=([t,e]=v(()=>s.getExtension().catch(()=>null)),t=yield t,e(),t),p=c?([t,e]=v(()=>new $(c).load()),t=yield t,e(),t):void 0;w.set("Switcher",{props:{onClick:r=>{const m=location.pathname;let _=m==="/@vtj/pro/"?"/":m;const l=r.currentFile;l&&l.type==="page"&&r.homepage!==l.id&&(_=`${_}#/page/${l.id}`),window.open(_,"VTJProject")}}}),w.set("Previewer",{props:{path:r=>`${location.pathname}#/preview/${r.id}`}});const n=new B(f({container:i,service:s},p));return n.ready(()=>{n.openFile(a.query.id)}),F(()=>a.query.id,r=>{n.openFile(r)}),(r,m)=>(b(),T("div",{class:"designer",ref_key:"container",ref:i},null,512))})}}),O=(o,t)=>{const e=o.__vccOpts||o;for(const[a,i]of t)e[a]=i;return e},X=O(q,[["__scopeId","data-v-b233af06"]]);export{X as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__fileDeps=["./index-
|
|
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-DQ4WxKa6.js";import{z as v,E as g}from"./element-plus-
|
|
1
|
+
const __vite__fileDeps=["./index-CDeUR6Op.js","./vue-router-CPADLzbG.js","./@vue-DQ4WxKa6.js","./element-plus-D-6acK5L.js","./lodash-es-iLqVnzBD.js","./@vueuse-8c25s-Jh.js","./@element-plus-D-VgZRoc.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-Dj7XYlV7.css","./extension-CLPoecsg.js","./vue-J7T6X87Y.js","./monaco-editor-DwlLClUG.js","./monaco-editor-BgBQhOSF.css","./mockjs-IStUBvTQ.js","./extension-pPiycE5T.css","./index-D9EpXQVL.css","./preview-CmSbkTKP.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-DQ4WxKa6.js";import{z as v,E as g}from"./element-plus-D-6acK5L.js";import{_ as m}from"./monaco-editor-DwlLClUG.js";import{createRouter as O,createWebHashHistory as P}from"./vue-router-CPADLzbG.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-8c25s-Jh.js";import"./@element-plus-D-VgZRoc.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-CDeUR6Op.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-CmSbkTKP.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");
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__fileDeps=["./vue-J7T6X87Y.js","./@vue-DQ4WxKa6.js","./vue-router-CPADLzbG.js","./element-plus-D-6acK5L.js","./lodash-es-iLqVnzBD.js","./@vueuse-8c25s-Jh.js","./@element-plus-D-VgZRoc.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-Dj7XYlV7.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
|
|
2
|
+
var u=(l,t,o)=>new Promise((p,n)=>{var m=e=>{try{a(o.next(e))}catch(i){n(i)}},s=e=>{try{a(o.throw(e))}catch(i){n(i)}},a=e=>e.done?p(e.value):Promise.resolve(e.value).then(m,s);a((o=o.apply(l,t)).next())});import{_ as d}from"./monaco-editor-DwlLClUG.js";import{useRoute as f}from"./vue-router-CPADLzbG.js";import"./element-plus-D-6acK5L.js";import{O as R,S as w,T as x,E as C}from"./extension-CLPoecsg.js";import{d as V,bO as v,r as y,S as O,W as h,X as P,o as T,i as g}from"./@vue-DQ4WxKa6.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-8c25s-Jh.js";import"./@element-plus-D-VgZRoc.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-J7T6X87Y.js";import"./mockjs-IStUBvTQ.js";const M=V({__name:"preview",setup(l){return u(this,null,function*(){let t,o;const p=new x,n=([t,o]=v(()=>p.getExtension().catch(()=>null)),t=yield t,o(),t),m=n?([t,o]=v(()=>new C(n).load()),t=yield t,o(),t):void 0,{install:s,adapter:a}=m||{},{provider:e,onReady:i}=R({mode:w.Runtime,service:p,adapter:a,dependencies:{Vue:()=>d(()=>import("./vue-J7T6X87Y.js").then(r=>r.V),__vite__mapDeps([0,1]),import.meta.url),VueRouter:()=>d(()=>import("./vue-router-CPADLzbG.js"),__vite__mapDeps([2,1]),import.meta.url),ElementPlus:()=>d(()=>import("./element-plus-D-6acK5L.js").then(r=>r.ad),__vite__mapDeps([3,1,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url)}}),E=f(),_=y(),c=g();return i(()=>u(this,null,function*(){const r=c==null?void 0:c.appContext.app;r&&(r.use(e),r.use(s)),_.value=yield e.getRenderComponent(E.params.id.toString())})),(r,A)=>_.value?(T(),O(h(_.value),{key:0})):P("",!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.PRO</title>
|
|
11
|
-
<script type="module" crossorigin src="./assets/index-
|
|
11
|
+
<script type="module" crossorigin src="./assets/index-CNg4SEXA.js"></script>
|
|
12
12
|
<link rel="modulepreload" crossorigin href="./assets/@vue-DQ4WxKa6.js">
|
|
13
13
|
<link rel="modulepreload" crossorigin href="./assets/lodash-es-iLqVnzBD.js">
|
|
14
14
|
<link rel="modulepreload" crossorigin href="./assets/@vueuse-8c25s-Jh.js">
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<link rel="modulepreload" crossorigin href="./assets/memoize-one-BdPwpGay.js">
|
|
21
21
|
<link rel="modulepreload" crossorigin href="./assets/normalize-wheel-es-B6fDCfyv.js">
|
|
22
22
|
<link rel="modulepreload" crossorigin href="./assets/@floating-ui-CIcp7egp.js">
|
|
23
|
-
<link rel="modulepreload" crossorigin href="./assets/element-plus-
|
|
23
|
+
<link rel="modulepreload" crossorigin href="./assets/element-plus-D-6acK5L.js">
|
|
24
24
|
<link rel="modulepreload" crossorigin href="./assets/monaco-editor-DwlLClUG.js">
|
|
25
25
|
<link rel="modulepreload" crossorigin href="./assets/vue-router-CPADLzbG.js">
|
|
26
26
|
<link rel="stylesheet" crossorigin href="./assets/element-plus-Dj7XYlV7.css">
|
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.27",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@vtj/core": "~0.8.
|
|
9
|
-
"@vtj/
|
|
10
|
-
"@vtj/
|
|
11
|
-
"@vtj/
|
|
12
|
-
"@vtj/
|
|
8
|
+
"@vtj/core": "~0.8.27",
|
|
9
|
+
"@vtj/designer": "~0.8.27",
|
|
10
|
+
"@vtj/renderer": "~0.8.27",
|
|
11
|
+
"@vtj/local": "~0.8.27",
|
|
12
|
+
"@vtj/materials": "~0.8.27"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"vue": "~3.4.15",
|
|
16
16
|
"vue-router": "~4.3.0",
|
|
17
|
-
"@vtj/icons": "~0.8.26",
|
|
18
|
-
"@vtj/charts": "~0.8.26",
|
|
19
17
|
"@vtj/cli": "~0.8.10",
|
|
20
|
-
"@vtj/
|
|
21
|
-
"@vtj/
|
|
18
|
+
"@vtj/charts": "~0.8.27",
|
|
19
|
+
"@vtj/icons": "~0.8.27",
|
|
20
|
+
"@vtj/ui": "~0.8.27",
|
|
21
|
+
"@vtj/utils": "~0.8.27"
|
|
22
22
|
},
|
|
23
23
|
"exports": {
|
|
24
24
|
"./vite": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var g=Object.defineProperty;var h=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable;var w=(s,t,e)=>t in s?g(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e,p=(s,t)=>{for(var e in t||(t={}))j.call(t,e)&&w(s,e,t[e]);if(h)for(var e of h(t))v.call(t,e)&&w(s,e,t[e]);return s};var _=(s,t,e)=>(w(s,typeof t!="symbol"?t+"":t,e),e);var f=(s,t,e)=>new Promise((o,a)=>{var i=r=>{try{c(e.next(r))}catch(n){a(n)}},l=r=>{try{c(e.throw(r))}catch(n){a(n)}},c=r=>r.done?o(r.value):Promise.resolve(r.value).then(i,l);c((e=e.apply(s,t)).next())});import{useRoute as x}from"./vue-router-CPADLzbG.js";import{a as b}from"./element-plus-BAJGvxQa.js";import{V as P,a as k,b as B,c as E,L as I,o as O,B as U,d as $,e as C,r as F,j as y,f as J,M as R}from"./index-DjAxfaii.js";import{V as T}from"./vue-J7T6X87Y.js";import{d as q,r as M,bO as V,f as A,c as L,o as S}from"./@vue-DQ4WxKa6.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-8c25s-Jh.js";import"./@element-plus-D-VgZRoc.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"./monaco-editor-DwlLClUG.js";import"./mockjs-IStUBvTQ.js";class z{constructor(t){_(this,"urls",[]);_(this,"library","");_(this,"params",[]);const e=p(p(p({},$),C),F);window.Vue=T,window.__VTJ_PRO__=e,window.VtjUtils=P,window.VtjIcons=k,window.VtjUI=B,window.ElementPlus=b;const{urls:o,library:a,params:i=[]}=t;this.urls=o,this.library=a,this.params=i}load(){return f(this,null,function*(){const t=this.urls.filter(o=>E(o)),e=this.urls.filter(o=>I(o));if(O(t),e.length){const o=yield U(e,this.library).catch(()=>null);if(o&&typeof o=="function")return o.apply(o,this.params)}})}}const D=q({__name:"index",setup(s){return f(this,null,function*(){let t,e;const o=x(),a=M(),i=new R,l=([t,e]=V(()=>i.getExtension().catch(()=>null)),t=yield t,e(),t),c=l?([t,e]=V(()=>new z(l).load()),t=yield t,e(),t):void 0;y.set("Switcher",{props:{onClick:n=>{const m=location.pathname;let d=m==="/@vtj/pro/"?"/":m;const u=n.currentFile;u&&u.type==="page"&&n.homepage!==u.id&&(d=`${d}#/page/${u.id}`),window.open(d,"VTJProject")}}}),y.set("Previewer",{props:{path:n=>`${location.pathname}#/preview/${n.id}`}});const r=new J(p({container:a,service:i},c));return r.ready(()=>{r.openFile(o.query.id)}),A(()=>o.query.id,n=>{r.openFile(n)}),(n,m)=>(S(),L("div",{class:"designer",ref_key:"container",ref:a},null,512))})}}),G=(s,t)=>{const e=s.__vccOpts||s;for(const[o,a]of t)e[o]=a;return e},lt=G(D,[["__scopeId","data-v-b233af06"]]);export{lt as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__fileDeps=["./vue-J7T6X87Y.js","./@vue-DQ4WxKa6.js","./vue-router-CPADLzbG.js","./element-plus-BAJGvxQa.js","./lodash-es-iLqVnzBD.js","./@vueuse-8c25s-Jh.js","./@element-plus-D-VgZRoc.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-Dj7XYlV7.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
|
|
2
|
-
var u=(_,i,o)=>new Promise((a,p)=>{var r=t=>{try{e(o.next(t))}catch(n){p(n)}},m=t=>{try{e(o.throw(t))}catch(n){p(n)}},e=t=>t.done?a(t.value):Promise.resolve(t.value).then(r,m);e((o=o.apply(_,i)).next())});import{_ as s}from"./monaco-editor-DwlLClUG.js";import{useRoute as c}from"./vue-router-CPADLzbG.js";import"./element-plus-BAJGvxQa.js";import{x as d,w as l,M as v}from"./index-DjAxfaii.js";import{d as f,r as R,S as E,W as V,X as C,o as x,i as P}from"./@vue-DQ4WxKa6.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-8c25s-Jh.js";import"./@element-plus-D-VgZRoc.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-J7T6X87Y.js";import"./mockjs-IStUBvTQ.js";const j=f({__name:"preview",setup(_){const i=new v,{provider:o,onReady:a}=d({mode:l.Runtime,service:i,dependencies:{Vue:()=>s(()=>import("./vue-J7T6X87Y.js").then(e=>e.V),__vite__mapDeps([0,1]),import.meta.url),VueRouter:()=>s(()=>import("./vue-router-CPADLzbG.js"),__vite__mapDeps([2,1]),import.meta.url),ElementPlus:()=>s(()=>import("./element-plus-BAJGvxQa.js").then(e=>e.a),__vite__mapDeps([3,1,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url)}}),p=c(),r=R(),m=P();return a(()=>u(this,null,function*(){m==null||m.appContext.app.use(o),r.value=yield o.getRenderComponent(p.params.id.toString())})),(e,t)=>r.value?(x(),E(V(r.value),{key:0})):C("",!0)}});export{j as default};
|
|
File without changes
|