@vtj/pro 0.8.166 → 0.8.167
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-DyAS35rQ.js → extension-BJhuypyf.js} +13 -13
- package/dist/assets/{index-C_2rfcii.js → index-BeopAH5Q.js} +1 -1
- package/dist/assets/{index-BxRUenCX.js → index-CCrDfm-2.js} +2 -2
- package/dist/assets/{preview-DGHufVVK.js → preview-Bcq6lDTD.js} +1 -1
- package/dist/index.html +3 -3
- package/package.json +10 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
var k=Object.defineProperty,$=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var h=Object.getOwnPropertySymbols;var P=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;var w=(o,e,t)=>e in o?k(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,f=(o,e)=>{for(var t in e||(e={}))P.call(e,t)&&w(o,t,e[t]);if(h)for(var t of h(e))A.call(e,t)&&w(o,t,e[t]);return o},g=(o,e)=>$(o,B(e));var x=(o,e,t)=>new Promise((c,a)=>{var m=n=>{try{p(t.next(n))}catch(r){a(r)}},i=n=>{try{p(t.throw(n))}catch(r){a(r)}},p=n=>n.done?c(n.value):Promise.resolve(n.value).then(m,i);p((t=t.apply(o,e)).next())});import{useRoute as C}from"./vue-router-TDl2A7c9.js";import{a as F}from"./element-plus-BIJ9WYTd.js";import"./vxe-CGYNWLG2.js";import{u as q,X as y,p as S,h as T,E as X}from"./extension-
|
|
1
|
+
var k=Object.defineProperty,$=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var h=Object.getOwnPropertySymbols;var P=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;var w=(o,e,t)=>e in o?k(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,f=(o,e)=>{for(var t in e||(e={}))P.call(e,t)&&w(o,t,e[t]);if(h)for(var t of h(e))A.call(e,t)&&w(o,t,e[t]);return o},g=(o,e)=>$(o,B(e));var x=(o,e,t)=>new Promise((c,a)=>{var m=n=>{try{p(t.next(n))}catch(r){a(r)}},i=n=>{try{p(t.throw(n))}catch(r){a(r)}},p=n=>n.done?c(n.value):Promise.resolve(n.value).then(m,i);p((t=t.apply(o,e)).next())});import{useRoute as C}from"./vue-router-TDl2A7c9.js";import{a as F}from"./element-plus-BIJ9WYTd.js";import"./vxe-CGYNWLG2.js";import{u as q,X as y,p as S,h as T,E as X}from"./extension-BJhuypyf.js";import{d as b,r as j,ay as v,w as H,c as I,o as J}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 M=b({__name:"index",setup(o){return x(this,null,function*(){let e,t;const c=C(),a=j(),m=new T,i=([e,t]=v(()=>m.getExtension().catch(()=>null)),e=yield e,t(),e),{options:p,adapters:n}=i?([e,t]=v(()=>new X(i).load()),e=yield e,t(),e):{},{__BASE_PATH__:r="/"}=i||{},E=new q(g(f({},(n==null?void 0:n.access)||{}),{alert:F.alert}));y.set("Switcher",{props:{onClick:s=>{const _=location.pathname;let u=_===`${r}__vtj__/`?r:_;const l=s.currentFile;l&&l.type==="page"&&s.homepage!==l.id&&(u=`${u}#/page/${l.id}`),window.open(u,"VTJProject")}}}),y.set("Previewer",{props:{path:s=>`${location.pathname}#/preview/${s.id}`}});const d=new S(f({container:a,service:m,materialPath:r,adapter:{access:E}},p));return d.ready(()=>{d.openFile(c.query.id)}),H(()=>c.query.id,s=>{d.openFile(s)}),(s,_)=>(J(),I("div",{class:"designer",ref_key:"container",ref:a},null,512))})}}),O=(o,e)=>{const t=o.__vccOpts||o;for(const[c,a]of e)t[c]=a;return t},ee=O(M,[["__scopeId","data-v-b835c673"]]);export{ee 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-BIJ9WYTd.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-BeopAH5Q.js","./vue-router-TDl2A7c9.js","./vue-DqNNt-It.js","./element-plus-BIJ9WYTd.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-BJhuypyf.js","./monaco-editor-WNIdoi5y.js","./monaco-editor-Cw2XXO7i.css","./mockjs-CDYh1Tul.js","./extension-y9Dyudwp.css","./index-BwOp4qbx.css","./preview-Bcq6lDTD.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-BIJ9WYTd.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-BeopAH5Q.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-Bcq6lDTD.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 y=Object.defineProperty,C=Object.defineProperties;var g=Object.getOwnPropertyDescriptors;var v=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;var E=(o,e,t)=>e in o?y(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,l=(o,e)=>{for(var t in e||(e={}))V.call(e,t)&&E(o,t,e[t]);if(v)for(var t of v(e))A.call(e,t)&&E(o,t,e[t]);return o},d=(o,e)=>C(o,g(e));var f=(o,e,t)=>new Promise((p,a)=>{var c=r=>{try{m(t.next(r))}catch(s){a(s)}},i=r=>{try{m(t.throw(r))}catch(s){a(s)}},m=r=>r.done?p(r.value):Promise.resolve(r.value).then(c,i);m((t=t.apply(o,e)).next())});import{_ as w}from"./monaco-editor-WNIdoi5y.js";import{useRoute as P}from"./vue-router-TDl2A7c9.js";import{a as B}from"./element-plus-BIJ9WYTd.js";import"./vxe-CGYNWLG2.js";import{u as k,f as D,_ as I,h as T,E as b,b as L}from"./extension-
|
|
2
|
+
var y=Object.defineProperty,C=Object.defineProperties;var g=Object.getOwnPropertyDescriptors;var v=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;var E=(o,e,t)=>e in o?y(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,l=(o,e)=>{for(var t in e||(e={}))V.call(e,t)&&E(o,t,e[t]);if(v)for(var t of v(e))A.call(e,t)&&E(o,t,e[t]);return o},d=(o,e)=>C(o,g(e));var f=(o,e,t)=>new Promise((p,a)=>{var c=r=>{try{m(t.next(r))}catch(s){a(s)}},i=r=>{try{m(t.throw(r))}catch(s){a(s)}},m=r=>r.done?p(r.value):Promise.resolve(r.value).then(c,i);m((t=t.apply(o,e)).next())});import{_ as w}from"./monaco-editor-WNIdoi5y.js";import{useRoute as P}from"./vue-router-TDl2A7c9.js";import{a as B}from"./element-plus-BIJ9WYTd.js";import"./vxe-CGYNWLG2.js";import{u as k,f as D,_ as I,h as T,E as b,b as L}from"./extension-BJhuypyf.js";import{d as O,ay as R,r as S,R as H,V as M,W as N,o as W,e as j}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 oe=O({__name:"preview",setup(o){return f(this,null,function*(){let e,t;const p=new T,a=([e,t]=R(()=>p.getExtension().catch(()=>null)),e=yield e,t(),e),{options:c,adapters:i}=a?([e,t]=R(()=>new b(a).load()),e=yield e,t(),e):{},{__BASE_PATH__:m="/"}=a||{},r=new k(d(l({},(i==null?void 0:i.access)||{}),{alert:B.alert})),{provider:s,onReady:h}=D(d(l({mode:I.Runtime,service:p,materialPath:m,adapter:{access:r}},c||{}),{dependencies:{Vue:()=>w(()=>import("./vue-DqNNt-It.js").then(n=>n.aE),[],import.meta.url),VueRouter:()=>w(()=>import("./vue-router-TDl2A7c9.js"),__vite__mapDeps([0,1]),import.meta.url)}})),x=P(),_=S(),u=j();return h(()=>f(this,null,function*(){const n=u==null?void 0:u.appContext.app;n&&(n.use(L),n.use(s)),_.value=yield s.getRenderComponent(x.params.id.toString())})),(n,q)=>_.value?(W(),H(M(_.value),{key:0})):N("",!0)})}});export{oe 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__ = '1729582291730';
|
|
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
|
+
<!--{{1729582291730}}-->
|
|
29
29
|
|
|
30
|
-
<script type="module" crossorigin src="./assets/index-
|
|
30
|
+
<script type="module" crossorigin src="./assets/index-CCrDfm-2.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.167",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@vtj/
|
|
9
|
-
"@vtj/
|
|
10
|
-
"@vtj/
|
|
11
|
-
"@vtj/
|
|
12
|
-
"@vtj/
|
|
8
|
+
"@vtj/designer": "~0.8.167",
|
|
9
|
+
"@vtj/core": "~0.8.167",
|
|
10
|
+
"@vtj/renderer": "~0.8.167",
|
|
11
|
+
"@vtj/local": "~0.8.167",
|
|
12
|
+
"@vtj/materials": "~0.8.167"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"vue": "~3.5.5",
|
|
16
16
|
"vue-router": "~4.4.0",
|
|
17
|
+
"@vtj/charts": "~0.8.167",
|
|
18
|
+
"@vtj/icons": "~0.8.167",
|
|
17
19
|
"@vtj/cli": "~0.8.39",
|
|
18
|
-
"@vtj/
|
|
19
|
-
"@vtj/
|
|
20
|
-
"@vtj/ui": "~0.8.166",
|
|
21
|
-
"@vtj/utils": "~0.8.166"
|
|
20
|
+
"@vtj/ui": "~0.8.167",
|
|
21
|
+
"@vtj/utils": "~0.8.167"
|
|
22
22
|
},
|
|
23
23
|
"exports": {
|
|
24
24
|
"./vite": {
|