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