@vtj/pro 0.8.132 → 0.8.133
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-CQ1hYOQm.js → @element-plus-DAijv5qh.js} +1 -1
- package/dist/assets/{@vue-CdxkCeWA.js → @vue-C7bUvahi.js} +1 -1
- package/dist/assets/{@vueuse-D9gJRfA2.js → @vueuse-DpjzyaLR.js} +1 -1
- package/dist/assets/{Editor-Dtm2GYTx-DL8xjx3l.js → Editor-Dtm2GYTx-xp460S5i.js} +1 -1
- package/dist/assets/{element-plus-DUtxLjC2.js → element-plus-yz11ZeSD.js} +1 -1
- package/dist/assets/{extension-Dve1cJnq.js → extension-CHEJwQuA.js} +15 -15
- package/dist/assets/{index-DCgxPQxV.js → index-BEx68QKn.js} +1 -1
- package/dist/assets/{index-Cto5CrnE.js → index-DZJs_rAt.js} +2 -2
- package/dist/assets/preview-B2vX6N7n.js +2 -0
- package/dist/assets/{vue-R762BoGe.js → vue-2D1yzxPk.js} +1 -1
- package/dist/assets/{vue-router-eNaWFib_.js → vue-router-Cbi7cS6v.js} +1 -1
- package/dist/index.html +8 -8
- package/package.json +10 -10
- package/dist/assets/preview-CCNZ_SeV.js +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
var y=Object.defineProperty;var u=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var f=(o,t,e)=>t in o?y(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,h=(o,t)=>{for(var e in t||(t={}))g.call(t,e)&&f(o,e,t[e]);if(u)for(var e of u(t))k.call(t,e)&&f(o,e,t[e]);return o};var w=(o,t,e)=>new Promise((s,r)=>{var m=n=>{try{c(e.next(n))}catch(a){r(a)}},p=n=>{try{c(e.throw(n))}catch(a){r(a)}},c=n=>n.done?s(n.value):Promise.resolve(n.value).then(m,p);c((e=e.apply(o,t)).next())});import{useRoute as E}from"./vue-router-
|
|
1
|
+
var y=Object.defineProperty;var u=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var f=(o,t,e)=>t in o?y(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,h=(o,t)=>{for(var e in t||(t={}))g.call(t,e)&&f(o,e,t[e]);if(u)for(var e of u(t))k.call(t,e)&&f(o,e,t[e]);return o};var w=(o,t,e)=>new Promise((s,r)=>{var m=n=>{try{c(e.next(n))}catch(a){r(a)}},p=n=>{try{c(e.throw(n))}catch(a){r(a)}},c=n=>n.done?s(n.value):Promise.resolve(n.value).then(m,p);c((e=e.apply(o,t)).next())});import{useRoute as E}from"./vue-router-Cbi7cS6v.js";import"./element-plus-yz11ZeSD.js";import{M as v,c as $,l as P,E as A}from"./extension-CHEJwQuA.js";import{d as B,e as C,bN as x,f as F,c as b,o as q}from"./@vue-C7bUvahi.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-DpjzyaLR.js";import"./@element-plus-DAijv5qh.js";import"./@popperjs-egqNnATr.js";import"./@ctrl-riLredlm.js";import"./dayjs-rQ6ln_M2.js";import"./async-validator-7GrF_zuj.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-B6ah097U.js";import"./vue-2D1yzxPk.js";import"./monaco-editor-DbXJANJ4.js";import"./mockjs-fDp8V4h3.js";const M=B({__name:"index",setup(o){return w(this,null,function*(){let t,e;const s=E(),r=C(),m=new P,p=([t,e]=x(()=>m.getExtension().catch(()=>null)),t=yield t,e(),t),c=p?([t,e]=x(()=>new A(p).load()),t=yield t,e(),t):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 a=new $(h({container:r,service:m,materialPath:n},c));return a.ready(()=>{a.openFile(s.query.id)}),F(()=>s.query.id,i=>{a.openFile(i)}),(i,_)=>(q(),b("div",{class:"designer",ref_key:"container",ref:r},null,512))})}}),S=(o,t)=>{const e=o.__vccOpts||o;for(const[s,r]of t)e[s]=r;return e},Y=S(M,[["__scopeId","data-v-9a3b4555"]]);export{Y 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 p,ai as d,o as a,S as c,aG as _,Z as h,au as y}from"./@vue-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BEx68QKn.js","./vue-router-Cbi7cS6v.js","./@vue-C7bUvahi.js","./element-plus-yz11ZeSD.js","./lodash-es-iLqVnzBD.js","./@vueuse-DpjzyaLR.js","./@element-plus-DAijv5qh.js","./@popperjs-egqNnATr.js","./@ctrl-riLredlm.js","./dayjs-rQ6ln_M2.js","./async-validator-7GrF_zuj.js","./memoize-one-BdPwpGay.js","./normalize-wheel-es-B6fDCfyv.js","./@floating-ui-B6ah097U.js","./element-plus-CsJRdetr.css","./extension-CHEJwQuA.js","./vue-2D1yzxPk.js","./monaco-editor-DbXJANJ4.js","./monaco-editor-BgBQhOSF.css","./mockjs-fDp8V4h3.js","./extension-DQ_KE2A9.css","./index-CYyH7yZQ.css","./preview-B2vX6N7n.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{d as f,R as n,u as p,ai as d,o as a,S as c,aG as _,Z as h,au as y}from"./@vue-C7bUvahi.js";import{z as v,E as g}from"./element-plus-yz11ZeSD.js";import{_ as m}from"./monaco-editor-DbXJANJ4.js";import{createRouter as O,createWebHashHistory as P}from"./vue-router-Cbi7cS6v.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-DpjzyaLR.js";import"./@element-plus-DAijv5qh.js";import"./@popperjs-egqNnATr.js";import"./@ctrl-riLredlm.js";import"./dayjs-rQ6ln_M2.js";import"./async-validator-7GrF_zuj.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-B6ah097U.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-BEx68QKn.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-B2vX6N7n.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__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-2D1yzxPk.js","./@vue-C7bUvahi.js","./vue-router-Cbi7cS6v.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
var x=Object.defineProperty,C=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var v=(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)&&v(o,e,t[e]);if(l)for(var e of l(t))h.call(t,e)&&v(o,e,t[e]);return o},E=(o,t)=>C(o,V(t));var d=(o,t,e)=>new Promise((s,n)=>{var m=r=>{try{a(e.next(r))}catch(p){n(p)}},_=r=>{try{a(e.throw(r))}catch(p){n(p)}},a=r=>r.done?s(r.value):Promise.resolve(r.value).then(m,_);a((e=e.apply(o,t)).next())});import{_ as R}from"./monaco-editor-DbXJANJ4.js";import{useRoute as A}from"./vue-router-Cbi7cS6v.js";import"./element-plus-yz11ZeSD.js";import{o as P,S as g,b,l as k,E as B}from"./extension-CHEJwQuA.js";import{d as D,bN as w,e as I,i as S,R as T,V as L,W as N,o as O}from"./@vue-C7bUvahi.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-DpjzyaLR.js";import"./@element-plus-DAijv5qh.js";import"./@popperjs-egqNnATr.js";import"./@ctrl-riLredlm.js";import"./dayjs-rQ6ln_M2.js";import"./async-validator-7GrF_zuj.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-B6ah097U.js";import"./vue-2D1yzxPk.js";import"./mockjs-fDp8V4h3.js";const rt=D({__name:"preview",setup(o){return d(this,null,function*(){let t,e;const s=new k,n=([t,e]=w(()=>s.getExtension().catch(()=>null)),t=yield t,e(),t),m=n?([t,e]=w(()=>new B(n).load()),t=yield t,e(),t):void 0,{__BASE_PATH__:_="/"}=n||{},{provider:a,onReady:r}=P(E(f({mode:g.Runtime,service:s,materialPath:_},m||{}),{dependencies:{Vue:()=>R(()=>import("./vue-2D1yzxPk.js").then(i=>i.V),__vite__mapDeps([0,1]),import.meta.url),VueRouter:()=>R(()=>import("./vue-router-Cbi7cS6v.js"),__vite__mapDeps([2,1]),import.meta.url)}})),p=A(),c=I(),u=S();return r(()=>d(this,null,function*(){const i=u==null?void 0:u.appContext.app;i&&(i.use(b),i.use(a)),c.value=yield a.getRenderComponent(p.params.id.toString())})),(i,H)=>c.value?(O(),T(L(c.value),{key:0})):N("",!0)})}});export{rt as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ax as a,ay as e,D as s,az as o,aA as t,aB as r,aC as n,F as i,aD as l,aE as c,aF as d,aG as b,T as p,a7 as m,aH as f,$ as u,a2 as S,aI as h,aJ as R,aK as v,aL as y,aM as C,aN as g,aO as T,a6 as w,aP as E,k as M,au as x,R as V,W as k,c as D,a as P,aQ as A,aR as B,aS as N,aT as H,ab as O,aU as z,X as F,Z as I,h as U,aV as j,d as K,aW as _,aX as G,aY as L,aZ as W,a_ as q,a$ as J,b0 as Q,b1 as X,b2 as Y,b3 as Z,ao as $,i as aa,g as ea,b4 as sa,ae as oa,I as ta,b5 as ra,b6 as na,b7 as ia,b8 as la,b9 as ca,G as da,ba,bb as pa,bc as ma,bd as fa,l as ua,be as Sa,bf as ha,C as Ra,an as va,bg as ya,bh as Ca,P as ga,n as Ta,M as wa,ad as Ea,O as Ma,a5 as xa,J as Va,E as ka,aj as Da,a8 as Pa,bi as Aa,j as Ba,bj as Na,bk as Ha,b as Oa,bl as za,H as Fa,a1 as Ia,o as Ua,bm as ja,K as Ka,bn as _a,bo as Ga,bp as La,a0 as Wa,
|
|
1
|
+
import{ax as a,ay as e,D as s,az as o,aA as t,aB as r,aC as n,F as i,aD as l,aE as c,aF as d,aG as b,T as p,a7 as m,aH as f,$ as u,a2 as S,aI as h,aJ as R,aK as v,aL as y,aM as C,aN as g,aO as T,a6 as w,aP as E,k as M,au as x,R as V,W as k,c as D,a as P,aQ as A,aR as B,aS as N,aT as H,ab as O,aU as z,X as F,Z as I,h as U,aV as j,d as K,aW as _,aX as G,aY as L,aZ as W,a_ as q,a$ as J,b0 as Q,b1 as X,b2 as Y,b3 as Z,ao as $,i as aa,g as ea,b4 as sa,ae as oa,I as ta,b5 as ra,b6 as na,b7 as ia,b8 as la,b9 as ca,G as da,ba,bb as pa,bc as ma,bd as fa,l as ua,be as Sa,bf as ha,C as Ra,an as va,bg as ya,bh as Ca,P as ga,n as Ta,M as wa,ad as Ea,O as Ma,a5 as xa,J as Va,E as ka,aj as Da,a8 as Pa,bi as Aa,j as Ba,bj as Na,bk as Ha,b as Oa,bl as za,H as Fa,a1 as Ia,o as Ua,bm as ja,K as Ka,bn as _a,bo as Ga,bp as La,a0 as Wa,r as qa,e as Ja,bq as Qa,as as Xa,a9 as Ya,L as Za,ai as $a,aq as ae,V as ee,br as se,bs as oe,bt as te,bu as re,bv as ne,aw as ie,bw as le,s as ce,bx as de,by as be,bz as pe,Y as me,ar as fe,am as ue,af as Se,m as he,t as Re,bA as ve,bB as ye,bC as Ce,u as ge,a3 as Te,bD as we,bE as Ee,bF as Me,bG as xe,Q as Ve,bH as ke,ag as De,bI as Pe,ah as Ae,bJ as Be,al as Ne,_ as He,bK as Oe,A as ze,f as Fe,w as Ie,bL as Ue,bM as je,bN as Ke,S as _e,bO as Ge,U as Le,aa as We,bP as qe,a4 as Je,bQ as Qe}from"./@vue-C7bUvahi.js";/**
|
|
2
2
|
* vue v3.4.38
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{s as at,u as Y,aw as lt,G as j,k as T,n as ut,H as ft,a8 as ht,a5 as pt,d as ze,a0 as dt,I as Ke,K as le,
|
|
1
|
+
import{s as at,u as Y,aw as lt,G as j,k as T,n as ut,H as ft,a8 as ht,a5 as pt,d as ze,a0 as dt,I as Ke,K as le,e as mt,f as gt}from"./@vue-C7bUvahi.js";/*!
|
|
2
2
|
* vue-router v4.4.3
|
|
3
3
|
* (c) 2024 Eduardo San Martin Morote
|
|
4
4
|
* @license MIT
|
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__ = '1726121468012';
|
|
13
13
|
(function () {
|
|
14
14
|
const regex = /<!--{{(\d*)}}-->/;
|
|
15
15
|
window.fetch('?t=' + Date.now()).then(async (res) => {
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
});
|
|
26
26
|
})();
|
|
27
27
|
</script>
|
|
28
|
-
<!--{{
|
|
28
|
+
<!--{{1726121468012}}-->
|
|
29
29
|
|
|
30
|
-
<script type="module" crossorigin src="./assets/index-
|
|
31
|
-
<link rel="modulepreload" crossorigin href="./assets/@vue-
|
|
30
|
+
<script type="module" crossorigin src="./assets/index-DZJs_rAt.js"></script>
|
|
31
|
+
<link rel="modulepreload" crossorigin href="./assets/@vue-C7bUvahi.js">
|
|
32
32
|
<link rel="modulepreload" crossorigin href="./assets/lodash-es-iLqVnzBD.js">
|
|
33
|
-
<link rel="modulepreload" crossorigin href="./assets/@vueuse-
|
|
34
|
-
<link rel="modulepreload" crossorigin href="./assets/@element-plus-
|
|
33
|
+
<link rel="modulepreload" crossorigin href="./assets/@vueuse-DpjzyaLR.js">
|
|
34
|
+
<link rel="modulepreload" crossorigin href="./assets/@element-plus-DAijv5qh.js">
|
|
35
35
|
<link rel="modulepreload" crossorigin href="./assets/@popperjs-egqNnATr.js">
|
|
36
36
|
<link rel="modulepreload" crossorigin href="./assets/@ctrl-riLredlm.js">
|
|
37
37
|
<link rel="modulepreload" crossorigin href="./assets/dayjs-rQ6ln_M2.js">
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
<link rel="modulepreload" crossorigin href="./assets/memoize-one-BdPwpGay.js">
|
|
40
40
|
<link rel="modulepreload" crossorigin href="./assets/normalize-wheel-es-B6fDCfyv.js">
|
|
41
41
|
<link rel="modulepreload" crossorigin href="./assets/@floating-ui-B6ah097U.js">
|
|
42
|
-
<link rel="modulepreload" crossorigin href="./assets/element-plus-
|
|
42
|
+
<link rel="modulepreload" crossorigin href="./assets/element-plus-yz11ZeSD.js">
|
|
43
43
|
<link rel="modulepreload" crossorigin href="./assets/monaco-editor-DbXJANJ4.js">
|
|
44
|
-
<link rel="modulepreload" crossorigin href="./assets/vue-router-
|
|
44
|
+
<link rel="modulepreload" crossorigin href="./assets/vue-router-Cbi7cS6v.js">
|
|
45
45
|
<link rel="stylesheet" crossorigin href="./assets/element-plus-CsJRdetr.css">
|
|
46
46
|
<link rel="stylesheet" crossorigin href="./assets/monaco-editor-BgBQhOSF.css">
|
|
47
47
|
<link rel="stylesheet" crossorigin href="./assets/index-CMrtph8S.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.133",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@vtj/core": "~0.8.
|
|
9
|
-
"@vtj/
|
|
10
|
-
"@vtj/
|
|
11
|
-
"@vtj/materials": "~0.8.
|
|
12
|
-
"@vtj/
|
|
8
|
+
"@vtj/core": "~0.8.133",
|
|
9
|
+
"@vtj/designer": "~0.8.133",
|
|
10
|
+
"@vtj/local": "~0.8.133",
|
|
11
|
+
"@vtj/materials": "~0.8.133",
|
|
12
|
+
"@vtj/renderer": "~0.8.133"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"vue": "~3.4.15",
|
|
16
16
|
"vue-router": "~4.4.0",
|
|
17
|
-
"@vtj/
|
|
17
|
+
"@vtj/icons": "~0.8.133",
|
|
18
18
|
"@vtj/cli": "~0.8.29",
|
|
19
|
-
"@vtj/charts": "~0.8.
|
|
20
|
-
"@vtj/
|
|
21
|
-
"@vtj/
|
|
19
|
+
"@vtj/charts": "~0.8.133",
|
|
20
|
+
"@vtj/utils": "~0.8.133",
|
|
21
|
+
"@vtj/ui": "~0.8.133"
|
|
22
22
|
},
|
|
23
23
|
"exports": {
|
|
24
24
|
"./vite": {
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-R762BoGe.js","./@vue-CdxkCeWA.js","./vue-router-eNaWFib_.js","./element-plus-DUtxLjC2.js","./lodash-es-iLqVnzBD.js","./@vueuse-D9gJRfA2.js","./@element-plus-CQ1hYOQm.js","./@popperjs-egqNnATr.js","./@ctrl-riLredlm.js","./dayjs-rQ6ln_M2.js","./async-validator-7GrF_zuj.js","./memoize-one-BdPwpGay.js","./normalize-wheel-es-B6fDCfyv.js","./@floating-ui-B6ah097U.js","./element-plus-CsJRdetr.css","./extension-Dve1cJnq.js","./monaco-editor-DbXJANJ4.js","./monaco-editor-BgBQhOSF.css","./mockjs-fDp8V4h3.js","./extension-DQ_KE2A9.css"])))=>i.map(i=>d[i]);
|
|
2
|
-
var f=Object.defineProperty,P=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var v=Object.getOwnPropertySymbols;var x=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;var E=(o,t,e)=>t in o?f(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,w=(o,t)=>{for(var e in t||(t={}))x.call(t,e)&&E(o,e,t[e]);if(v)for(var e of v(t))A.call(t,e)&&E(o,e,t[e]);return o},V=(o,t)=>P(o,h(t));var d=(o,t,e)=>new Promise((p,i)=>{var u=n=>{try{a(e.next(n))}catch(m){i(m)}},s=n=>{try{a(e.throw(n))}catch(m){i(m)}},a=n=>n.done?p(n.value):Promise.resolve(n.value).then(u,s);a((e=e.apply(o,t)).next())});import{_}from"./monaco-editor-DbXJANJ4.js";import{useRoute as C}from"./vue-router-eNaWFib_.js";import"./element-plus-DUtxLjC2.js";import{o as y,S as I,b as D,w as T,l as g,E as L}from"./extension-Dve1cJnq.js";import{d as O,bN as R,r as b,i as k,R as B,V as S,W as N,o as j}from"./@vue-CdxkCeWA.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-D9gJRfA2.js";import"./@element-plus-CQ1hYOQm.js";import"./@popperjs-egqNnATr.js";import"./@ctrl-riLredlm.js";import"./dayjs-rQ6ln_M2.js";import"./async-validator-7GrF_zuj.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-B6ah097U.js";import"./vue-R762BoGe.js";import"./mockjs-fDp8V4h3.js";const nt=O({__name:"preview",setup(o){return d(this,null,function*(){let t,e;const p=new g,i=([t,e]=R(()=>p.getExtension().catch(()=>null)),t=yield t,e(),t),u=i?([t,e]=R(()=>new L(i).load()),t=yield t,e(),t):void 0,{__BASE_PATH__:s="/"}=i||{},{provider:a,onReady:n}=y(V(w({mode:I.Runtime,service:p,materialPath:s},u||{}),{dependencies:{Vue:()=>_(()=>import("./vue-R762BoGe.js").then(r=>r.V),__vite__mapDeps([0,1]),import.meta.url),VueRouter:()=>_(()=>import("./vue-router-eNaWFib_.js"),__vite__mapDeps([2,1]),import.meta.url),ElementPlus:()=>_(()=>import("./element-plus-DUtxLjC2.js").then(r=>r.ae),__vite__mapDeps([3,1,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url),VtjIcons:()=>_(()=>import("./extension-Dve1cJnq.js").then(r=>r.V),__vite__mapDeps([15,0,1,6,5,2,3,4,7,8,9,10,11,12,13,14,16,17,18,19]),import.meta.url)}})),m=C(),c=b(),l=k();return n(()=>d(this,null,function*(){const r=l==null?void 0:l.appContext.app;r&&(r.use(D),r.use(a),new T().setup(window,r,s)),c.value=yield a.getRenderComponent(m.params.id.toString())})),(r,H)=>c.value?(j(),B(S(c.value),{key:0})):N("",!0)})}});export{nt as default};
|