@vtj/pro 0.8.14 → 0.8.16
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/{index-BFxLtGRD.js → index-ClDGmlHY.js} +2 -2
- package/dist/assets/index-D_Dk5dad.js +1 -0
- package/dist/assets/{index-CxkBFZ3-.js → index-T7e3Ts-R.js} +101 -91
- package/dist/assets/{preview-D9HP83s1.js → preview-B3ihVvDL.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +10 -10
- package/src/extension.ts +2 -0
- package/dist/assets/index-CsYkb2Rj.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
const __vite__fileDeps=["./vue-CjubWy22.js","./@vue-pheekl12.js","./vue-router-D533GGmG.js","./element-plus-DdvN1jqD.js","./lodash-es-D0J8aJCM.js","./@vueuse-4_NYtZCP.js","./@element-plus-D6n2RTX_.js","./@popperjs-CsO2-mKt.js","./@ctrl-r5W6hzzQ.js","./dayjs-Cdlb6j_n.js","./async-validator-Cr9EP88T.js","./memoize-one-BdPwpGay.js","./normalize-wheel-es-B6fDCfyv.js","./@floating-ui-CYeB_Mhp.js","./element-plus-Dj7XYlV7.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
|
|
2
|
-
import{_ as o}from"./monaco-editor-B9w0R7jm.js";import{useRoute as a}from"./vue-router-D533GGmG.js";import"./element-plus-DdvN1jqD.js";import{x as s,w as _,M as u}from"./index-
|
|
2
|
+
import{_ as o}from"./monaco-editor-B9w0R7jm.js";import{useRoute as a}from"./vue-router-D533GGmG.js";import"./element-plus-DdvN1jqD.js";import{x as s,w as _,M as u}from"./index-T7e3Ts-R.js";import{d as c,r as d,S as l,W as v,X as f,o as R,i as E}from"./@vue-pheekl12.js";import"./lodash-es-D0J8aJCM.js";import"./@vueuse-4_NYtZCP.js";import"./@element-plus-D6n2RTX_.js";import"./@popperjs-CsO2-mKt.js";import"./@ctrl-r5W6hzzQ.js";import"./dayjs-Cdlb6j_n.js";import"./async-validator-Cr9EP88T.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-CYeB_Mhp.js";import"./vue-CjubWy22.js";import"./mockjs-c-NHcvHM.js";const W=c({__name:"preview",setup(V){const m=new u,{provider:r,onReady:i}=s({mode:_.Runtime,service:m,dependencies:{Vue:()=>o(()=>import("./vue-CjubWy22.js").then(e=>e.V),__vite__mapDeps([0,1]),import.meta.url),VueRouter:()=>o(()=>import("./vue-router-D533GGmG.js"),__vite__mapDeps([2,1]),import.meta.url),ElementPlus:()=>o(()=>import("./element-plus-DdvN1jqD.js").then(e=>e.a),__vite__mapDeps([3,1,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url)}}),p=a(),t=d(),n=E();return i(async()=>{n?.appContext.app.use(r),t.value=await r.getRenderComponent(p.params.id.toString())}),(e,C)=>t.value?(R(),l(v(t.value),{key:0})):f("",!0)}});export{W 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-ClDGmlHY.js"></script>
|
|
12
12
|
<link rel="modulepreload" crossorigin href="./assets/@vue-pheekl12.js">
|
|
13
13
|
<link rel="modulepreload" crossorigin href="./assets/lodash-es-D0J8aJCM.js">
|
|
14
14
|
<link rel="modulepreload" crossorigin href="./assets/@vueuse-4_NYtZCP.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.16",
|
|
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.16",
|
|
9
|
+
"@vtj/designer": "~0.8.16",
|
|
10
|
+
"@vtj/materials": "~0.8.16",
|
|
11
|
+
"@vtj/local": "~0.8.16",
|
|
12
|
+
"@vtj/renderer": "~0.8.16"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"vue": "~3.4.15",
|
|
16
16
|
"vue-router": "~4.3.0",
|
|
17
|
-
"@vtj/charts": "~0.8.
|
|
17
|
+
"@vtj/charts": "~0.8.16",
|
|
18
18
|
"@vtj/cli": "~0.8.4",
|
|
19
|
-
"@vtj/
|
|
20
|
-
"@vtj/
|
|
21
|
-
"@vtj/utils": "~0.8.
|
|
19
|
+
"@vtj/ui": "~0.8.16",
|
|
20
|
+
"@vtj/icons": "~0.8.16",
|
|
21
|
+
"@vtj/utils": "~0.8.16"
|
|
22
22
|
},
|
|
23
23
|
"exports": {
|
|
24
24
|
"./vite": {
|
package/src/extension.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as Vue from 'vue';
|
|
2
2
|
import * as core from '@vtj/core';
|
|
3
|
+
import * as VtjUtils from '@vtj/utils';
|
|
3
4
|
import * as designer from '@vtj/designer';
|
|
4
5
|
import * as renderer from '@vtj/renderer';
|
|
5
6
|
import * as VtjIcons from '@vtj/icons';
|
|
@@ -26,6 +27,7 @@ export class Extension {
|
|
|
26
27
|
|
|
27
28
|
(window as any).Vue = Vue;
|
|
28
29
|
(window as any).__VTJ_PRO__ = __VTJ_PRO__;
|
|
30
|
+
(window as any).VtjUtils = VtjUtils;
|
|
29
31
|
(window as any).VtjIcons = VtjIcons;
|
|
30
32
|
(window as any).ElementPlus = ElementPlus;
|
|
31
33
|
const { urls, library } = options;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{useRoute as f}from"./vue-router-D533GGmG.js";import{a as w}from"./element-plus-DdvN1jqD.js";import{V as h,a as y,L as V,o as g,B as v,c as x,d as b,r as P,j as u,b as j,M as k}from"./index-CxkBFZ3-.js";import{V as B}from"./vue-CjubWy22.js";import{d as E,r as O,bO as _,f as $,c as C,o as F}from"./@vue-pheekl12.js";import"./lodash-es-D0J8aJCM.js";import"./@vueuse-4_NYtZCP.js";import"./@element-plus-D6n2RTX_.js";import"./@popperjs-CsO2-mKt.js";import"./@ctrl-r5W6hzzQ.js";import"./dayjs-Cdlb6j_n.js";import"./async-validator-Cr9EP88T.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-CYeB_Mhp.js";import"./monaco-editor-B9w0R7jm.js";import"./mockjs-c-NHcvHM.js";class I{urls=[];library="";constructor(t){const o={...x,...b,...P};window.Vue=B,window.__VTJ_PRO__=o,window.VtjIcons=h,window.ElementPlus=w;const{urls:e,library:n}=t;this.urls=e,this.library=n}async load(){const t=this.urls.filter(e=>y(e)),o=this.urls.filter(e=>V(e));if(g(t),o.length){const e=await v(o,this.library).catch(()=>null);if(e&&typeof e=="function")return e()}}}const J=E({__name:"index",async setup(s){let t,o;const e=f(),n=O(),l=new k,m=([t,o]=_(()=>l.getExtension().catch(()=>null)),t=await t,o(),t),d=m?([t,o]=_(()=>new I(m).load()),t=await t,o(),t):void 0;u.set("Switcher",{props:{onClick:r=>{const i=location.pathname;let p=i==="/@vtj/pro/"?"/":i;const a=r.currentFile;a&&a.type==="page"&&r.homepage!==a.id&&(p=`${p}#/page/${a.id}`),window.open(p,"VTJProject")}}}),u.set("Previewer",{props:{path:r=>`${location.pathname}#/preview/${r.id}`}});const c=new j({container:n,service:l,...d});return c.ready(()=>{c.openFile(e.query.id)}),$(()=>e.query.id,r=>{c.openFile(r)}),(r,i)=>(F(),C("div",{class:"designer",ref_key:"container",ref:n},null,512))}}),R=(s,t)=>{const o=s.__vccOpts||s;for(const[e,n]of t)o[e]=n;return o},Z=R(J,[["__scopeId","data-v-b233af06"]]);export{Z as default};
|