@vtj/pro 0.8.61 → 0.8.63

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.
Files changed (25) hide show
  1. package/dist/@vtj/materials/assets/antdv/index.umd.js +2 -2
  2. package/dist/@vtj/materials/assets/charts/index.umd.js +2 -2
  3. package/dist/@vtj/materials/assets/element/index.umd.js +2 -2
  4. package/dist/@vtj/materials/assets/ui/index.umd.js +2 -2
  5. package/dist/@vtj/materials/deps/@vtj/charts/index.umd.js +2 -2
  6. package/dist/@vtj/materials/deps/@vtj/icons/index.umd.js +2 -2
  7. package/dist/@vtj/materials/deps/@vtj/ui/index.umd.js +12 -12
  8. package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +3 -3
  9. package/dist/@vtj/materials/deps/echarts/echarts.min.js +2 -2
  10. package/dist/@vtj/materials/deps/vue-router/vue-router.global.prod.js +2 -2
  11. package/dist/assets/{Editor-bVAaI2zL-CHu8ThcZ.js → Editor-DjXowHju-CSA3ZLD6.js} +1 -1
  12. package/dist/assets/{extension-Cj0Y75qz.js → extension-CA4qiZGM.js} +40 -40
  13. package/dist/assets/{index-B2BMcGKw.js → index-D8ddI0bb.js} +1 -1
  14. package/dist/assets/{index-C6gg0imE.js → index-VxDmUQiN.js} +2 -2
  15. package/dist/assets/{monaco-editor-DwlLClUG.js → monaco-editor-DcvjtjDx.js} +210 -210
  16. package/dist/assets/{preview-C_fLJVIj.js → preview-CtrhILsB.js} +2 -2
  17. package/dist/assets/vue-router-CbmApKJK.js +5 -0
  18. package/dist/index.html +3 -3
  19. package/package.json +12 -12
  20. package/dist/assets/vue-router-BiCJGkLH.js +0 -5
  21. /package/dist/assets/{css.worker-BG3X4ypZ-CEcCZxtT.js → css.worker-DsXsg0f9-CEcCZxtT.js} +0 -0
  22. /package/dist/assets/{editor.worker-CdJourTJ-XsdejOxF.js → editor.worker-C6rtsk95-XsdejOxF.js} +0 -0
  23. /package/dist/assets/{html.worker-BCBdCLMV-Dzznz_ni.js → html.worker-DOZaicN7-Dzznz_ni.js} +0 -0
  24. /package/dist/assets/{json.worker-BhNp9C2F-DV_Vc8JJ.js → json.worker-Bm0JMgNu-DV_Vc8JJ.js} +0 -0
  25. /package/dist/assets/{ts.worker-yjAiJiOi-BhFdT8k5.js → ts.worker-CdTDJbmm-BhFdT8k5.js} +0 -0
@@ -1 +1 @@
1
- var x=Object.defineProperty;var _=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var f=(o,e,t)=>e in o?x(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,u=(o,e)=>{for(var t in e||(e={}))y.call(e,t)&&f(o,t,e[t]);if(_)for(var t of _(e))g.call(e,t)&&f(o,t,e[t]);return o};var h=(o,e,t)=>new Promise((a,i)=>{var p=n=>{try{s(t.next(n))}catch(r){i(r)}},c=n=>{try{s(t.throw(n))}catch(r){i(r)}},s=n=>n.done?a(n.value):Promise.resolve(n.value).then(p,c);s((t=t.apply(o,e)).next())});import{useRoute as k}from"./vue-router-BiCJGkLH.js";import"./element-plus-CYz-wZ3K.js";import{N as w,s as E,o as $,E as C}from"./extension-Cj0Y75qz.js";import{d as F,r as N,bN as v,f as b,c as q,o as B}from"./@vue-BhtQQxk5.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-CU-R_5C5.js";import"./@element-plus-BMvprwPB.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-CApwSdyH.js";import"./vue-CMLe33oi.js";import"./monaco-editor-DwlLClUG.js";import"./mockjs-lxjp2n0w.js";const P=F({__name:"index",setup(o){return h(this,null,function*(){let e,t;const a=k(),i=N(),p=new $,c=([e,t]=v(()=>p.getExtension().catch(()=>null)),e=yield e,t(),e),s=c?([e,t]=v(()=>new C(c).load()),e=yield e,t(),e):void 0;w.set("Switcher",{props:{onClick:r=>{const m=location.pathname;let d=m==="/@vtj/pro/"?"/":m;const l=r.currentFile;l&&l.type==="page"&&r.homepage!==l.id&&(d=`${d}#/page/${l.id}`),window.open(d,"VTJProject")}}}),w.set("Previewer",{props:{path:r=>`${location.pathname}#/preview/${r.id}`}});const n=new E(u({container:i,service:p},s));return n.ready(()=>{n.openFile(a.query.id)}),b(()=>a.query.id,r=>{n.openFile(r)}),(r,m)=>(B(),q("div",{class:"designer",ref_key:"container",ref:i},null,512))})}}),j=(o,e)=>{const t=o.__vccOpts||o;for(const[a,i]of e)t[a]=i;return t},X=j(P,[["__scopeId","data-v-a6eb2daf"]]);export{X as default};
1
+ var x=Object.defineProperty;var _=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var f=(o,e,t)=>e in o?x(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,u=(o,e)=>{for(var t in e||(e={}))y.call(e,t)&&f(o,t,e[t]);if(_)for(var t of _(e))g.call(e,t)&&f(o,t,e[t]);return o};var h=(o,e,t)=>new Promise((i,a)=>{var p=n=>{try{s(t.next(n))}catch(r){a(r)}},c=n=>{try{s(t.throw(n))}catch(r){a(r)}},s=n=>n.done?i(n.value):Promise.resolve(n.value).then(p,c);s((t=t.apply(o,e)).next())});import{useRoute as k}from"./vue-router-CbmApKJK.js";import"./element-plus-CYz-wZ3K.js";import{N as w,s as E,a as $,E as C}from"./extension-CA4qiZGM.js";import{d as F,r as N,bN as v,f as b,c as q,o as B}from"./@vue-BhtQQxk5.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-CU-R_5C5.js";import"./@element-plus-BMvprwPB.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-CApwSdyH.js";import"./vue-CMLe33oi.js";import"./monaco-editor-DcvjtjDx.js";import"./mockjs-lxjp2n0w.js";const P=F({__name:"index",setup(o){return h(this,null,function*(){let e,t;const i=k(),a=N(),p=new $,c=([e,t]=v(()=>p.getExtension().catch(()=>null)),e=yield e,t(),e),s=c?([e,t]=v(()=>new C(c).load()),e=yield e,t(),e):void 0;w.set("Switcher",{props:{onClick:r=>{const m=location.pathname;let d=m==="/@vtj/pro/"?"/":m;const l=r.currentFile;l&&l.type==="page"&&r.homepage!==l.id&&(d=`${d}#/page/${l.id}`),window.open(d,"VTJProject")}}}),w.set("Previewer",{props:{path:r=>`${location.pathname}#/preview/${r.id}`}});const n=new E(u({container:a,service:p},s));return n.ready(()=>{n.openFile(i.query.id)}),b(()=>i.query.id,r=>{n.openFile(r)}),(r,m)=>(B(),q("div",{class:"designer",ref_key:"container",ref:a},null,512))})}}),j=(o,e)=>{const t=o.__vccOpts||o;for(const[i,a]of e)t[i]=a;return t},X=j(P,[["__scopeId","data-v-a6eb2daf"]]);export{X as default};
@@ -1,2 +1,2 @@
1
- const __vite__fileDeps=["./index-B2BMcGKw.js","./vue-router-BiCJGkLH.js","./@vue-BhtQQxk5.js","./element-plus-CYz-wZ3K.js","./lodash-es-iLqVnzBD.js","./@vueuse-CU-R_5C5.js","./@element-plus-BMvprwPB.js","./@popperjs-egqNnATr.js","./@ctrl-riLredlm.js","./dayjs-6gUf-wcg.js","./async-validator-7GrF_zuj.js","./memoize-one-BdPwpGay.js","./normalize-wheel-es-B6fDCfyv.js","./@floating-ui-CApwSdyH.js","./element-plus-DzZXHC44.css","./extension-Cj0Y75qz.js","./vue-CMLe33oi.js","./monaco-editor-DwlLClUG.js","./monaco-editor-BgBQhOSF.css","./mockjs-lxjp2n0w.js","./extension-BhAwIxTd.css","./index-D2IJveMn.css","./preview-C_fLJVIj.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2
- import{d as f,R as n,u as p,ah as d,o as a,S as c,aF as _,Z as h,at as y}from"./@vue-BhtQQxk5.js";import{z as v,E as g}from"./element-plus-CYz-wZ3K.js";import{_ as m}from"./monaco-editor-DwlLClUG.js";import{createRouter as O,createWebHashHistory as P}from"./vue-router-BiCJGkLH.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-CU-R_5C5.js";import"./@element-plus-BMvprwPB.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-CApwSdyH.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-B2BMcGKw.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-C_fLJVIj.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");
1
+ const __vite__fileDeps=["./index-D8ddI0bb.js","./vue-router-CbmApKJK.js","./@vue-BhtQQxk5.js","./element-plus-CYz-wZ3K.js","./lodash-es-iLqVnzBD.js","./@vueuse-CU-R_5C5.js","./@element-plus-BMvprwPB.js","./@popperjs-egqNnATr.js","./@ctrl-riLredlm.js","./dayjs-6gUf-wcg.js","./async-validator-7GrF_zuj.js","./memoize-one-BdPwpGay.js","./normalize-wheel-es-B6fDCfyv.js","./@floating-ui-CApwSdyH.js","./element-plus-DzZXHC44.css","./extension-CA4qiZGM.js","./vue-CMLe33oi.js","./monaco-editor-DcvjtjDx.js","./monaco-editor-BgBQhOSF.css","./mockjs-lxjp2n0w.js","./extension-BhAwIxTd.css","./index-D2IJveMn.css","./preview-CtrhILsB.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2
+ import{d as f,R as n,u as p,ah as d,o as a,S as c,aF as _,Z as h,at as y}from"./@vue-BhtQQxk5.js";import{z as v,E as g}from"./element-plus-CYz-wZ3K.js";import{_ as m}from"./monaco-editor-DcvjtjDx.js";import{createRouter as O,createWebHashHistory as P}from"./vue-router-CbmApKJK.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-CU-R_5C5.js";import"./@element-plus-BMvprwPB.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-CApwSdyH.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-D8ddI0bb.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-CtrhILsB.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");