@vtj/pro 0.9.0 → 0.9.2

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.
@@ -1,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-router-DB3on22t.js","./vue-BCaExZnh.js"])))=>i.map(i=>d[i]);
2
- var L=Object.defineProperty,O=Object.defineProperties;var S=Object.getOwnPropertyDescriptors;var w=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var y=(o,t,e)=>t in o?L(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,l=(o,t)=>{for(var e in t||(t={}))V.call(t,e)&&y(o,e,t[e]);if(w)for(var e of w(t))B.call(t,e)&&y(o,e,t[e]);return o},E=(o,t)=>O(o,S(t));var g=(o,t,e)=>new Promise((p,c)=>{var _=s=>{try{m(e.next(s))}catch(i){c(i)}},r=s=>{try{m(e.throw(s))}catch(i){c(i)}},m=s=>s.done?p(s.value):Promise.resolve(s.value).then(_,r);m((e=e.apply(o,t)).next())});import{_ as A}from"./monaco-editor-Ckv89Lpe.js";import{useRoute as I}from"./vue-router-DB3on22t.js";import{b as T,E as k,c as D}from"./extension-BMSrgDqC.js";import{b as K,A as M,E as j,_ as z,x as G}from"./index-D_wHrk2u.js";import{c as H}from"./element-plus-CfygosTj.js";import"./vxe-BJf2YWDp.js";import{d as J,az as R,e as N,I as h,J as Y,u as q,h as F,o as P,L as Q,M as U}from"./vue-BCaExZnh.js";import"./@element-plus-icons-vue-BAbt3LbA.js";import"./@vueuse-Cpn_N91X.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-C1Gq5sDs.js";import"./dayjs-DpOeJKaG.js";import"./lodash-es-Cmvm8wvQ.js";import"./shared-WQ2u-3_G.js";const ut=J({__name:"page",setup(o){return g(this,null,function*(){let t,e;const p=new G,c=([t,e]=R(()=>p.getExtension().catch(()=>null)),t=yield t,e(),t),{options:_,adapters:r}=c?([t,e]=R(()=>new k(c).load()),t=yield t,e(),t):{},{__BASE_PATH__:m="/"}=c||{},s=r==null?void 0:r.access,i=r==null?void 0:r.remote,f=s?new K(E(l({},s),{alert:H.alert,storageKey:M})):void 0,{provider:x,onReady:b}=j(E(l({mode:z.Runtime,service:p,materialPath:m,adapter:{access:f,remote:i}},_||{}),{dependencies:{Vue:()=>A(()=>import("./vue-BCaExZnh.js").then(a=>a.ax),[],import.meta.url),VueRouter:()=>A(()=>import("./vue-router-DB3on22t.js"),__vite__mapDeps([0,1]),import.meta.url)}})),v=I(),u=N(),d=F();return b(()=>g(this,null,function*(){const a=d==null?void 0:d.appContext.app;a&&(a.use(T),a.use(x)),u.value=yield x.getRenderComponent(v.params.id.toString(),n=>{Object.assign(v.meta,n.meta);const C=a==null?void 0:a._container;(n==null?void 0:n.type)==="page"&&C.classList.add("is-page"),(n==null?void 0:n.pure)&&C.classList.add("is-pure")})})),(a,n)=>(P(),h(q(D),null,{default:Y(()=>[u.value?(P(),h(Q(u.value),{key:0})):U("",!0)]),_:1}))})}});export{ut as default};
@@ -1,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-router-DB3on22t.js","./vue-BCaExZnh.js"])))=>i.map(i=>d[i]);
2
- var h=Object.defineProperty,O=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var C=Object.getOwnPropertySymbols;var S=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var w=(o,e,t)=>e in o?h(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,E=(o,e)=>{for(var t in e||(e={}))S.call(e,t)&&w(o,t,e[t]);if(C)for(var t of C(e))V.call(e,t)&&w(o,t,e[t]);return o},y=(o,e)=>O(o,L(e));var g=(o,e,t)=>new Promise((_,c)=>{var m=s=>{try{i(t.next(s))}catch(p){c(p)}},a=s=>{try{i(t.throw(s))}catch(p){c(p)}},i=s=>s.done?_(s.value):Promise.resolve(s.value).then(m,a);i((t=t.apply(o,e)).next())});import{_ as A}from"./monaco-editor-Ckv89Lpe.js";import{useRoute as f}from"./vue-router-DB3on22t.js";import{c as B}from"./element-plus-CfygosTj.js";import"./vxe-BJf2YWDp.js";import{b as I,E as T}from"./extension-BMSrgDqC.js";import{b as k,A as D,E as j,_ as K,x as M}from"./index-D_wHrk2u.js";import{d as z,az as R,e as G,I as H,L as N,M as Y,h as q,o as F}from"./vue-BCaExZnh.js";import"./lodash-es-Cmvm8wvQ.js";import"./@vueuse-Cpn_N91X.js";import"./@element-plus-icons-vue-BAbt3LbA.js";import"./shared-WQ2u-3_G.js";import"./dayjs-DpOeJKaG.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-C1Gq5sDs.js";const ie=z({__name:"preview",setup(o){return g(this,null,function*(){let e,t;const _=new M,c=([e,t]=R(()=>_.getExtension().catch(()=>null)),e=yield e,t(),e),{options:m,adapters:a}=c?([e,t]=R(()=>new T(c).load()),e=yield e,t(),e):{},{__BASE_PATH__:i="/"}=c||{},s=a==null?void 0:a.access,p=a==null?void 0:a.remote,P=s?new k(E({alert:B.alert,storageKey:D},s)):void 0,{provider:l,onReady:b}=j(y(E({mode:K.Runtime,service:_,materialPath:i},m||{}),{adapter:Object.assign({access:P,remote:p},(m==null?void 0:m.adapter)||{}),dependencies:{Vue:()=>A(()=>import("./vue-BCaExZnh.js").then(r=>r.ax),[],import.meta.url),VueRouter:()=>A(()=>import("./vue-router-DB3on22t.js"),__vite__mapDeps([0,1]),import.meta.url)}})),v=f(),u=G(),d=q();return b(()=>g(this,null,function*(){const r=d==null?void 0:d.appContext.app;r&&(r.use(I),r.use(l)),u.value=yield l.getRenderComponent(v.params.id.toString(),n=>{Object.assign(v.meta,n.meta);const x=r==null?void 0:r._container;(n==null?void 0:n.type)==="page"&&x.classList.add("is-page"),(n==null?void 0:n.pure)&&x.classList.add("is-pure")})})),(r,n)=>u.value?(F(),H(N(u.value),{key:0})):Y("",!0)})}});export{ie as default};