@vtj/pro 0.8.25 → 0.8.26
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-Vqo2cZUp.js → @element-plus-D-VgZRoc.js} +1 -1
- package/dist/assets/{@vue-DXjs1h6G.js → @vue-DQ4WxKa6.js} +1 -1
- package/dist/assets/@vueuse-8c25s-Jh.js +1 -0
- package/dist/assets/{Editor-bVAaI2zL-DG8AR_al.js → Editor-bVAaI2zL-DPZFq3jT.js} +1 -1
- package/dist/assets/{element-plus-CmJkoIJL.js → element-plus-BAJGvxQa.js} +2 -2
- package/dist/assets/index-Bk6g5atx.js +1 -0
- package/dist/assets/index-DjAxfaii.js +209 -0
- package/dist/assets/{index-CzJDrYeY.js → index-yJspJ_Ow.js} +2 -2
- package/dist/assets/{preview-CemgC4vI.js → preview-DVOMDOhU.js} +2 -2
- package/dist/assets/{vue-DsB9nCS4.js → vue-J7T6X87Y.js} +1 -1
- package/dist/assets/{vue-router-pxpwpbvr.js → vue-router-CPADLzbG.js} +1 -1
- package/dist/index.html +6 -6
- package/package.json +10 -10
- package/src/extension.ts +2 -0
- package/dist/assets/@vueuse-ByKc4Ggo.js +0 -1
- package/dist/assets/index-DFLh1Xwk.js +0 -1
- package/dist/assets/index-Dqe2lhtz.js +0 -209
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var g=Object.defineProperty;var h=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable;var w=(s,t,e)=>t in s?g(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e,p=(s,t)=>{for(var e in t||(t={}))j.call(t,e)&&w(s,e,t[e]);if(h)for(var e of h(t))v.call(t,e)&&w(s,e,t[e]);return s};var _=(s,t,e)=>(w(s,typeof t!="symbol"?t+"":t,e),e);var f=(s,t,e)=>new Promise((o,a)=>{var i=r=>{try{c(e.next(r))}catch(n){a(n)}},l=r=>{try{c(e.throw(r))}catch(n){a(n)}},c=r=>r.done?o(r.value):Promise.resolve(r.value).then(i,l);c((e=e.apply(s,t)).next())});import{useRoute as x}from"./vue-router-CPADLzbG.js";import{a as b}from"./element-plus-BAJGvxQa.js";import{V as P,a as k,b as B,c as E,L as I,o as O,B as U,d as $,e as C,r as F,j as y,f as J,M as R}from"./index-DjAxfaii.js";import{V as T}from"./vue-J7T6X87Y.js";import{d as q,r as M,bO as V,f as A,c as L,o as S}from"./@vue-DQ4WxKa6.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-8c25s-Jh.js";import"./@element-plus-D-VgZRoc.js";import"./@popperjs-egqNnATr.js";import"./@ctrl-riLredlm.js";import"./dayjs-6gUf-wcg.js";import"./async-validator-7GrF_zuj.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-CIcp7egp.js";import"./monaco-editor-DwlLClUG.js";import"./mockjs-IStUBvTQ.js";class z{constructor(t){_(this,"urls",[]);_(this,"library","");_(this,"params",[]);const e=p(p(p({},$),C),F);window.Vue=T,window.__VTJ_PRO__=e,window.VtjUtils=P,window.VtjIcons=k,window.VtjUI=B,window.ElementPlus=b;const{urls:o,library:a,params:i=[]}=t;this.urls=o,this.library=a,this.params=i}load(){return f(this,null,function*(){const t=this.urls.filter(o=>E(o)),e=this.urls.filter(o=>I(o));if(O(t),e.length){const o=yield U(e,this.library).catch(()=>null);if(o&&typeof o=="function")return o.apply(o,this.params)}})}}const D=q({__name:"index",setup(s){return f(this,null,function*(){let t,e;const o=x(),a=M(),i=new R,l=([t,e]=V(()=>i.getExtension().catch(()=>null)),t=yield t,e(),t),c=l?([t,e]=V(()=>new z(l).load()),t=yield t,e(),t):void 0;y.set("Switcher",{props:{onClick:n=>{const m=location.pathname;let d=m==="/@vtj/pro/"?"/":m;const u=n.currentFile;u&&u.type==="page"&&n.homepage!==u.id&&(d=`${d}#/page/${u.id}`),window.open(d,"VTJProject")}}}),y.set("Previewer",{props:{path:n=>`${location.pathname}#/preview/${n.id}`}});const r=new J(p({container:a,service:i},c));return r.ready(()=>{r.openFile(o.query.id)}),A(()=>o.query.id,n=>{r.openFile(n)}),(n,m)=>(S(),L("div",{class:"designer",ref_key:"container",ref:a},null,512))})}}),G=(s,t)=>{const e=s.__vccOpts||s;for(const[o,a]of t)e[o]=a;return e},lt=G(D,[["__scopeId","data-v-b233af06"]]);export{lt as default};
|