@vtj/pro 0.8.165 → 0.8.166
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/{element-plus-KOkfihih.js → element-plus-BIJ9WYTd.js} +1 -1
- package/dist/assets/{extension-nCE75Bsc.js → extension-DyAS35rQ.js} +28 -28
- package/dist/assets/index-BwOp4qbx.css +1 -0
- package/dist/assets/{index-CDo0WPPm.js → index-BxRUenCX.js} +2 -2
- package/dist/assets/index-C_2rfcii.js +1 -0
- package/dist/assets/preview-DGHufVVK.js +2 -0
- package/dist/index.html +4 -4
- package/package.json +10 -10
- package/src/extension.ts +38 -17
- package/dist/assets/index-CYyH7yZQ.css +0 -1
- package/dist/assets/index-Cszd1oLu.js +0 -1
- package/dist/assets/preview-B2ZJzwgb.js +0 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.designer[data-v-b835c673]{width:100%;height:100%}
|
|
@@ -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-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-C_2rfcii.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-DyAS35rQ.js","./monaco-editor-WNIdoi5y.js","./monaco-editor-Cw2XXO7i.css","./mockjs-CDYh1Tul.js","./extension-y9Dyudwp.css","./index-BwOp4qbx.css","./preview-DGHufVVK.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-C_2rfcii.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-DGHufVVK.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");
|
|
@@ -0,0 +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-DyAS35rQ.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};
|
|
@@ -0,0 +1,2 @@
|
|
|
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-DyAS35rQ.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__ = '1729580969329';
|
|
13
13
|
(function () {
|
|
14
14
|
const regex = /<!--{{(\d*)}}-->/;
|
|
15
15
|
window.fetch('?t=' + Date.now()).then(async (res) => {
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
});
|
|
26
26
|
})();
|
|
27
27
|
</script>
|
|
28
|
-
<!--{{
|
|
28
|
+
<!--{{1729580969329}}-->
|
|
29
29
|
|
|
30
|
-
<script type="module" crossorigin src="./assets/index-
|
|
30
|
+
<script type="module" crossorigin src="./assets/index-BxRUenCX.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">
|
|
34
34
|
<link rel="modulepreload" crossorigin href="./assets/@element-plus-icons-vue-BjScogMO.js">
|
|
35
35
|
<link rel="modulepreload" crossorigin href="./assets/shared-x86dYnGH.js">
|
|
36
36
|
<link rel="modulepreload" crossorigin href="./assets/dayjs-rQ6ln_M2.js">
|
|
37
|
-
<link rel="modulepreload" crossorigin href="./assets/element-plus-
|
|
37
|
+
<link rel="modulepreload" crossorigin href="./assets/element-plus-BIJ9WYTd.js">
|
|
38
38
|
<link rel="modulepreload" crossorigin href="./assets/monaco-editor-WNIdoi5y.js">
|
|
39
39
|
<link rel="modulepreload" crossorigin href="./assets/vue-router-TDl2A7c9.js">
|
|
40
40
|
<link rel="stylesheet" crossorigin href="./assets/element-plus-Bs16v-ec.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.166",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@vtj/core": "~0.8.
|
|
9
|
-
"@vtj/
|
|
10
|
-
"@vtj/designer": "~0.8.
|
|
11
|
-
"@vtj/
|
|
12
|
-
"@vtj/
|
|
8
|
+
"@vtj/core": "~0.8.166",
|
|
9
|
+
"@vtj/materials": "~0.8.166",
|
|
10
|
+
"@vtj/designer": "~0.8.166",
|
|
11
|
+
"@vtj/renderer": "~0.8.166",
|
|
12
|
+
"@vtj/local": "~0.8.166"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"vue": "~3.5.5",
|
|
16
16
|
"vue-router": "~4.4.0",
|
|
17
17
|
"@vtj/cli": "~0.8.39",
|
|
18
|
-
"@vtj/
|
|
19
|
-
"@vtj/icons": "~0.8.
|
|
20
|
-
"@vtj/
|
|
21
|
-
"@vtj/utils": "~0.8.
|
|
18
|
+
"@vtj/charts": "~0.8.166",
|
|
19
|
+
"@vtj/icons": "~0.8.166",
|
|
20
|
+
"@vtj/ui": "~0.8.166",
|
|
21
|
+
"@vtj/utils": "~0.8.166"
|
|
22
22
|
},
|
|
23
23
|
"exports": {
|
|
24
24
|
"./vite": {
|
package/src/extension.ts
CHANGED
|
@@ -12,11 +12,17 @@ import type { EngineOptions } from '@vtj/designer';
|
|
|
12
12
|
export type ExtensionOptions = ExtensionConfig;
|
|
13
13
|
export type ExtensionFactory = () => Partial<EngineOptions> | void;
|
|
14
14
|
|
|
15
|
+
export interface ExtensionOutput {
|
|
16
|
+
options: Partial<EngineOptions>;
|
|
17
|
+
adapters: Record<string, any>;
|
|
18
|
+
}
|
|
19
|
+
|
|
15
20
|
export class Extension {
|
|
16
21
|
private urls: string[] = [];
|
|
17
22
|
private library: string = '';
|
|
18
23
|
private params: any[] = [];
|
|
19
24
|
private __BASE_PATH__: string = '/';
|
|
25
|
+
private __adapters__: Record<string, any> = {};
|
|
20
26
|
constructor(options: ExtensionOptions) {
|
|
21
27
|
const __VTJ_PRO__ = {
|
|
22
28
|
...core,
|
|
@@ -30,29 +36,44 @@ export class Extension {
|
|
|
30
36
|
(window as any).VtjIcons = VtjIcons;
|
|
31
37
|
(window as any).VtjUI = VtjUI;
|
|
32
38
|
(window as any).ElementPlus = ElementPlus;
|
|
33
|
-
const {
|
|
39
|
+
const {
|
|
40
|
+
urls = [],
|
|
41
|
+
library,
|
|
42
|
+
params = [],
|
|
43
|
+
__BASE_PATH__ = '/',
|
|
44
|
+
__adapters__ = {}
|
|
45
|
+
} = options || {};
|
|
34
46
|
this.urls = urls;
|
|
35
47
|
this.library = library;
|
|
36
48
|
this.params = params;
|
|
37
49
|
this.__BASE_PATH__ = __BASE_PATH__;
|
|
50
|
+
this.__adapters__ = __adapters__;
|
|
38
51
|
}
|
|
39
|
-
async load(): Promise<
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
async load(): Promise<ExtensionOutput> {
|
|
53
|
+
let options: Partial<EngineOptions> = {};
|
|
54
|
+
if (this.library) {
|
|
55
|
+
const base = this.__BASE_PATH__;
|
|
56
|
+
const css = this.urls
|
|
57
|
+
.filter((n) => renderer.isCSSUrl(n))
|
|
58
|
+
.map((n) => `${base}${n}`);
|
|
59
|
+
const scripts: string[] = this.urls
|
|
60
|
+
.filter((n) => renderer.isJSUrl(n))
|
|
61
|
+
.map((n) => `${base}${n}`);
|
|
62
|
+
renderer.loadCssUrl(css);
|
|
63
|
+
if (scripts.length) {
|
|
64
|
+
const output = await renderer
|
|
65
|
+
.loadScriptUrl(scripts, this.library)
|
|
66
|
+
.catch(() => null);
|
|
67
|
+
if (output && typeof output === 'function') {
|
|
68
|
+
options = output.apply(output, this.params);
|
|
69
|
+
} else {
|
|
70
|
+
options = output || {};
|
|
71
|
+
}
|
|
55
72
|
}
|
|
56
73
|
}
|
|
74
|
+
return {
|
|
75
|
+
options,
|
|
76
|
+
adapters: this.__adapters__
|
|
77
|
+
};
|
|
57
78
|
}
|
|
58
79
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.designer[data-v-9a3b4555]{width:100%;height:100%}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var y=Object.defineProperty;var u=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var f=(o,e,t)=>e in o?y(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,h=(o,e)=>{for(var t in e||(e={}))g.call(e,t)&&f(o,t,e[t]);if(u)for(var t of u(e))k.call(e,t)&&f(o,t,e[t]);return o};var w=(o,e,t)=>new Promise((s,a)=>{var m=n=>{try{c(t.next(n))}catch(r){a(r)}},p=n=>{try{c(t.throw(n))}catch(r){a(r)}},c=n=>n.done?s(n.value):Promise.resolve(n.value).then(m,p);c((t=t.apply(o,e)).next())});import{useRoute as E}from"./vue-router-TDl2A7c9.js";import"./element-plus-KOkfihih.js";import"./vxe-CGYNWLG2.js";import{X as v,p as $,m as P,E as A}from"./extension-nCE75Bsc.js";import{d as B,r as C,ay as x,w as F,c as q,o as S}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 T=B({__name:"index",setup(o){return w(this,null,function*(){let e,t;const s=E(),a=C(),m=new P,p=([e,t]=x(()=>m.getExtension().catch(()=>null)),e=yield e,t(),e),c=p?([e,t]=x(()=>new A(p).load()),e=yield e,t(),e):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 r=new $(h({container:a,service:m,materialPath:n},c));return r.ready(()=>{r.openFile(s.query.id)}),F(()=>s.query.id,i=>{r.openFile(i)}),(i,_)=>(S(),q("div",{class:"designer",ref_key:"container",ref:a},null,512))})}}),X=(o,e)=>{const t=o.__vccOpts||o;for(const[s,a]of e)t[s]=a;return t},M=X(T,[["__scopeId","data-v-9a3b4555"]]);export{M as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
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 x=Object.defineProperty,y=Object.defineProperties;var C=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var v=(o,e,t)=>e in o?x(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,f=(o,e)=>{for(var t in e||(e={}))V.call(e,t)&&v(o,t,e[t]);if(l)for(var t of l(e))h.call(e,t)&&v(o,t,e[t]);return o},E=(o,e)=>y(o,C(e));var d=(o,e,t)=>new Promise((m,a)=>{var p=r=>{try{n(t.next(r))}catch(i){a(i)}},_=r=>{try{n(t.throw(r))}catch(i){a(i)}},n=r=>r.done?m(r.value):Promise.resolve(r.value).then(p,_);n((t=t.apply(o,e)).next())});import{_ as w}from"./monaco-editor-WNIdoi5y.js";import{useRoute as A}from"./vue-router-TDl2A7c9.js";import"./element-plus-KOkfihih.js";import"./vxe-CGYNWLG2.js";import{d as P,w as g,m as k,E as B,b as D}from"./extension-nCE75Bsc.js";import{d as I,ay as R,r as T,R as b,V as L,W as O,o as S,e as H}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 Z=I({__name:"preview",setup(o){return d(this,null,function*(){let e,t;const m=new k,a=([e,t]=R(()=>m.getExtension().catch(()=>null)),e=yield e,t(),e),p=a?([e,t]=R(()=>new B(a).load()),e=yield e,t(),e):void 0,{__BASE_PATH__:_="/"}=a||{},{provider:n,onReady:r}=P(E(f({mode:g.Runtime,service:m,materialPath:_},p||{}),{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)}})),i=A(),c=T(),u=H();return r(()=>d(this,null,function*(){const s=u==null?void 0:u.appContext.app;s&&(s.use(D),s.use(n)),c.value=yield n.getRenderComponent(i.params.id.toString())})),(s,N)=>c.value?(S(),b(L(c.value),{key:0})):O("",!0)})}});export{Z as default};
|