@vtj/pro 0.12.35 → 0.12.36
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/icons/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/ui/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/uni-h5/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/uni-ui/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/vant/index.umd.js +6 -6
- 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/{Editor-CW6zEu5u-BTE34LwK.js → Editor-_84wgCQz-ClJHNWEl.js} +50 -49
- package/dist/assets/{auth-7HWWbR6w.js → auth-BhLe1n9d.js} +1 -1
- package/dist/assets/{index-CHdMIoQB.js → index-1AELVrcj.js} +1 -1
- package/dist/assets/{index-CTaLIyV2.js → index-DXJsgq0M.js} +2 -2
- package/dist/assets/page-BC64i1_t.js +2 -0
- package/dist/assets/{preview-Ctzh7IGk.js → preview-7btmDG1k.js} +1 -1
- package/dist/assets/{utils-DTJk6MtW.js → utils-D2Sd6tKP.js} +1 -1
- package/dist/index.html +3 -3
- package/dist/uni/assets/{index-BWQ6L-C_.js → index-Cz_BwsfP.js} +30 -29
- package/dist/uni/index.html +1 -1
- package/package.json +11 -11
- package/dist/assets/page-CFUDOFfF.js +0 -2
- /package/dist/assets/{Editor-CW6zEu5u-Dz53-s3r.css → Editor-_84wgCQz-Dz53-s3r.css} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
var C=Object.defineProperty;var f=Object.getOwnPropertySymbols;var B=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;var h=(o,t,e)=>t in o?C(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,l=(o,t)=>{for(var e in t||(t={}))B.call(t,e)&&h(o,e,t[e]);if(f)for(var e of f(t))A.call(t,e)&&h(o,e,t[e]);return o};var p=(o,t,e)=>new Promise((i,s)=>{var
|
|
1
|
+
var C=Object.defineProperty;var f=Object.getOwnPropertySymbols;var B=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;var h=(o,t,e)=>t in o?C(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,l=(o,t)=>{for(var e in t||(t={}))B.call(t,e)&&h(o,e,t[e]);if(f)for(var e of f(t))A.call(t,e)&&h(o,e,t[e]);return o};var p=(o,t,e)=>new Promise((i,s)=>{var c=r=>{try{n(e.next(r))}catch(a){s(a)}},m=r=>{try{n(e.throw(r))}catch(a){s(a)}},n=r=>r.done?i(r.value):Promise.resolve(r.value).then(c,m);n((e=e.apply(o,t)).next())});import"./element-plus-XVJlWyfz.js";import"./vxe-CWcmrjam.js";import{a as q,B as v,a3 as y,q as E,ay as I,h as $}from"./Editor-_84wgCQz-ClJHNWEl.js";import{useRoute as g}from"./vue-router-BO40Wv73.js";import{d as k,ay as x,c as R,o as w,K as S,O as V,u as _}from"./vue-BfodOvnP.js";import{_ as K}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./lodash-es-BL-d_OSa.js";import"./@vueuse-vmN9qs5b.js";import"./@element-plus-icons-vue-CM-7yUXL.js";import"./shared-CzXu-bVE.js";import"./dayjs-DO-COJPZ.js";import"./monaco-editor-B5WqzYTl.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-Du5X89jz.js";import"./marked-BQZxLJfc.js";const L={class:"loading"},N=k({__name:"Auth",props:{remote:{},access:{}},setup(o){return p(this,null,function*(){let t,e;const i=o,s=q(l(l({alert:y},v),i.access)),c=g(),m=a=>p(null,null,function*(){const d=`${i.remote||E}/api/open/user/${a}`,u=yield I(d).catch(()=>null);return!u||!u.success?(yield y("登录失败"),null):u.data}),n=c.query.token,r=n?([t,e]=x(()=>m(n)),t=yield t,e(),t):null;if(r)try{s.login(r);const a=c.query.redirect;location.href=decodeURIComponent(a||"/")}catch(a){location.reload()}return(a,d)=>(w(),R("div",L,"正在登录中..."))})}}),O=K(N,[["__scopeId","data-v-720ff9d2"]]),Z=k({__name:"auth",setup(o){return p(this,null,function*(){let t,e;const i=new $,s=([t,e]=x(()=>i.getExtension().catch(()=>null)),t=yield t,e(),t),c=s==null?void 0:s.remote,m=s==null?void 0:s.__ACCESS__;return(n,r)=>_(c)?(w(),S(_(O),{key:0,remote:_(c),access:_(m)},null,8,["remote","access"])):V("",!0)})}});export{Z as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var D=Object.defineProperty;var y=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var x=(a,e,t)=>e in a?D(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,w=(a,e)=>{for(var t in e||(e={}))H.call(e,t)&&x(a,t,e[t]);if(y)for(var t of y(e))V.call(e,t)&&x(a,t,e[t]);return a};var C=(a,e,t)=>new Promise((_,r)=>{var l=n=>{try{i(t.next(n))}catch(p){r(p)}},o=n=>{try{i(t.throw(n))}catch(p){r(p)}},i=n=>n.done?_(n.value):Promise.resolve(n.value).then(l,o);i((t=t.apply(a,e)).next())});import{useRoute as W}from"./vue-router-BO40Wv73.js";import{q as I}from"./@vueuse-vmN9qs5b.js";import"./element-plus-XVJlWyfz.js";import"./vxe-CWcmrjam.js";import{
|
|
1
|
+
var D=Object.defineProperty;var y=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var x=(a,e,t)=>e in a?D(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,w=(a,e)=>{for(var t in e||(e={}))H.call(e,t)&&x(a,t,e[t]);if(y)for(var t of y(e))V.call(e,t)&&x(a,t,e[t]);return a};var C=(a,e,t)=>new Promise((_,r)=>{var l=n=>{try{i(t.next(n))}catch(p){r(p)}},o=n=>{try{i(t.throw(n))}catch(p){r(p)}},i=n=>n.done?_(n.value):Promise.resolve(n.value).then(l,o);i((t=t.apply(a,e)).next())});import{useRoute as W}from"./vue-router-BO40Wv73.js";import{q as I}from"./@vueuse-vmN9qs5b.js";import"./element-plus-XVJlWyfz.js";import"./vxe-CWcmrjam.js";import{h as J,p as N,o as U,a as j,t as E,D as z}from"./Editor-_84wgCQz-ClJHNWEl.js";import{E as G,a as P,n as v,l as K}from"./utils-D2Sd6tKP.js";import{d as L,e as M,ay as S,f as O,c as Q,o as X}from"./vue-BfodOvnP.js";import{_ as Y}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./lodash-es-BL-d_OSa.js";import"./@element-plus-icons-vue-CM-7yUXL.js";import"./shared-CzXu-bVE.js";import"./dayjs-DO-COJPZ.js";import"./monaco-editor-B5WqzYTl.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-Du5X89jz.js";import"./marked-BQZxLJfc.js";const Z=L({__name:"index",setup(a){return C(this,null,function*(){let e,t;const _=W(),r=M(),l=new J(N(v)),o=([e,t]=S(()=>l.getExtension().catch(()=>null)),e=yield e,t(),e||{}),i=U({loading:K,notify:v,useTitle:I,alert:P,access:o==null?void 0:o.access}),n=j(w({alert:P},o==null?void 0:o.__ACCESS__)),p=o?([e,t]=S(()=>new G(o).load()),e=yield e,t(),e):{},{__BASE_PATH__:d="/",history:A="hash",base:h="/",pageRouteName:k="page",remote:B,auth:q,checkVersion:F=!0,enhance:R}=o||{},T=()=>A==="hash",b=s=>s==="/"?"":(s.startsWith("/")&&(s=s.substring(1)),s.endsWith("/")||(s=s+"/"),s);E.set("Switcher",{props:{onClick:s=>{const u=s.platform==="uniapp",c=location.pathname;let m=c===`${d}__vtj__/`?d:c;const f=s.currentFile;if(f&&f.type==="page"&&s.homepage!==f.id){const g=`${b(h)}${u?"pages":k}/${f.id}`;m=T()?`${m}#/${g}`:`${m}${g}`}window.open(m,"VTJProject")}}}),E.set("Previewer",{props:{path:(s,u)=>{const c=location.pathname;return u.platform==="uniapp"?`${c}uni/#/pages/${s.id}`:`${c}#/preview/${s.id}`}}});const $=new z(w({container:r,service:l,materialPath:d,pageBasePath:h==="/"?"":h,adapter:i,access:n,remote:B,auth:q,checkVersion:F,enhance:R},p));return $.ready(()=>{$.openFile(_.query.id)}),O(()=>_.query.id,s=>{$.openFile(s)}),(s,u)=>(X(),Q("div",{class:"designer",ref_key:"container",ref:r},null,512))})}}),$e=Y(Z,[["__scopeId","data-v-73bfd256"]]);export{$e as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-
|
|
2
|
-
import{d as _,K as p,u as s,ai as d,o as m,L as u,aA as f,T as h,av as v}from"./vue-BfodOvnP.js";import{z as g,d as y}from"./element-plus-XVJlWyfz.js";import{_ as r}from"./monaco-editor-B5WqzYTl.js";import{createRouter as E,createWebHashHistory as L}from"./vue-router-BO40Wv73.js";import"./lodash-es-BL-d_OSa.js";import"./@vueuse-vmN9qs5b.js";import"./@element-plus-icons-vue-CM-7yUXL.js";import"./shared-CzXu-bVE.js";import"./dayjs-DO-COJPZ.js";(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))i(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const a of t.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&i(a)}).observe(document,{childList:!0,subtree:!0});function n(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 i(e){if(e.ep)return;e.ep=!0;const t=n(e);fetch(e.href,t)}})();const O=_({__name:"app",setup(l){return(o,n)=>{const i=d("router-view");return m(),p(s(y),{locale:s(g)},{default:u(()=>[(m(),p(f,null,{default:u(()=>[h(i)]),_:1}))]),_:1},8,["locale"])}}}),P=[{path:"/",name:"home",component:()=>r(()=>import("./index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-1AELVrcj.js","./vue-router-BO40Wv73.js","./vue-BfodOvnP.js","./@vueuse-vmN9qs5b.js","./element-plus-XVJlWyfz.js","./lodash-es-BL-d_OSa.js","./@element-plus-icons-vue-CM-7yUXL.js","./shared-CzXu-bVE.js","./dayjs-DO-COJPZ.js","./element-plus-EFxNtExC.css","./vxe-CWcmrjam.js","./vxe-BAb1d5vW.css","./Editor-_84wgCQz-ClJHNWEl.js","./monaco-editor-B5WqzYTl.js","./monaco-editor-Cpw7ccEV.css","./html2canvas-CIV5arX1.js","./mockjs-Du5X89jz.js","./marked-BQZxLJfc.js","./Editor-_84wgCQz-Dz53-s3r.css","./utils-D2Sd6tKP.js","./_plugin-vue_export-helper-DlAUqK2U.js","./index-jC2E5tg_.css","./preview-7btmDG1k.js","./page-BC64i1_t.js","./uni-page-BiootGtZ.js","./uni-page-Diqmj53r.css","./auth-BhLe1n9d.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{d as _,K as p,u as s,ai as d,o as m,L as u,aA as f,T as h,av as v}from"./vue-BfodOvnP.js";import{z as g,d as y}from"./element-plus-XVJlWyfz.js";import{_ as r}from"./monaco-editor-B5WqzYTl.js";import{createRouter as E,createWebHashHistory as L}from"./vue-router-BO40Wv73.js";import"./lodash-es-BL-d_OSa.js";import"./@vueuse-vmN9qs5b.js";import"./@element-plus-icons-vue-CM-7yUXL.js";import"./shared-CzXu-bVE.js";import"./dayjs-DO-COJPZ.js";(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))i(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const a of t.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&i(a)}).observe(document,{childList:!0,subtree:!0});function n(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 i(e){if(e.ep)return;e.ep=!0;const t=n(e);fetch(e.href,t)}})();const O=_({__name:"app",setup(l){return(o,n)=>{const i=d("router-view");return m(),p(s(y),{locale:s(g)},{default:u(()=>[(m(),p(f,null,{default:u(()=>[h(i)]),_:1}))]),_:1},8,["locale"])}}}),P=[{path:"/",name:"home",component:()=>r(()=>import("./index-1AELVrcj.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:()=>r(()=>import("./preview-7btmDG1k.js"),__vite__mapDeps([22,13,14,1,2,4,5,3,6,7,8,9,10,11,12,15,16,17,18,19]),import.meta.url)},{path:"/page/:id",name:"page",component:()=>r(()=>import("./page-BC64i1_t.js"),__vite__mapDeps([23,13,14,1,2,4,5,3,6,7,8,9,10,11,12,15,16,17,18,19]),import.meta.url),meta:{pure:!0}},{path:"/pages/:id",name:"page",component:()=>r(()=>import("./uni-page-BiootGtZ.js"),__vite__mapDeps([24,1,2,20,25]),import.meta.url),meta:{pure:!0}},{path:"/auth",name:"auth",component:()=>r(()=>import("./auth-BhLe1n9d.js"),__vite__mapDeps([26,4,2,5,3,6,7,8,9,10,11,12,13,14,1,15,16,17,18,20]),import.meta.url)}],A=E({history:L(),routes:P}),c=v(O);c.use(A);c.mount("#app");
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-router-BO40Wv73.js","./vue-BfodOvnP.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
var R=Object.defineProperty;var h=Object.getOwnPropertySymbols;var w=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var y=(o,e,t)=>e in o?R(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,l=(o,e)=>{for(var t in e||(e={}))w.call(e,t)&&y(o,t,e[t]);if(h)for(var t of h(e))x.call(e,t)&&y(o,t,e[t]);return o};var d=(o,e,t)=>new Promise((i,r)=>{var m=a=>{try{n(t.next(a))}catch(p){r(p)}},c=a=>{try{n(t.throw(a))}catch(p){r(p)}},n=a=>a.done?i(a.value):Promise.resolve(a.value).then(m,c);n((t=t.apply(o,e)).next())});import{_ as E}from"./monaco-editor-B5WqzYTl.js";import{useRoute as P}from"./vue-router-BO40Wv73.js";import"./element-plus-XVJlWyfz.js";import"./vxe-CWcmrjam.js";import{h as g,p as V,o as T,l as k,_ as B,A as D,n as I}from"./Editor-_84wgCQz-ClJHNWEl.js";import{a as O,n as A,l as L,E as S}from"./utils-D2Sd6tKP.js";import{q}from"./@vueuse-vmN9qs5b.js";import{d as z,ay as C,e as H,K,O as N,P as b,o as j,h as F}from"./vue-BfodOvnP.js";import"./lodash-es-BL-d_OSa.js";import"./@element-plus-icons-vue-CM-7yUXL.js";import"./shared-CzXu-bVE.js";import"./dayjs-DO-COJPZ.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-Du5X89jz.js";import"./marked-BQZxLJfc.js";const ne=z({__name:"page",setup(o){return d(this,null,function*(){let e,t;const i=new g(V(A)),r=([e,t]=C(()=>i.getExtension().catch(()=>null)),e=yield e,t(),e),m=T({loading:L,notify:A,useTitle:q,alert:O,access:r==null?void 0:r.access}),c=r?([e,t]=C(()=>new S(r).load()),e=yield e,t(),e):{},{__BASE_PATH__:n="/"}=r||{},{provider:a,onReady:p}=k({mode:B.Runtime,service:i,materialPath:n,adapter:l(l({},m),c.adapter),dependencies:{Vue:()=>E(()=>import("./vue-BfodOvnP.js").then(s=>s.az),[],import.meta.url),VueRouter:()=>E(()=>import("./vue-router-BO40Wv73.js"),__vite__mapDeps([0,1]),import.meta.url)}}),f=P(),_=H(),u=F();return p(()=>d(null,null,function*(){const s=u==null?void 0:u.appContext.app;s&&(s.use(D),s.use(a),_.value=yield a.getRenderComponent(f.params.id.toString(),v=>{I(s,f,v)}))})),(s,v)=>_.value?(j(),K(b(_.value),{key:0})):N("",!0)})}});export{ne as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-router-BO40Wv73.js","./vue-BfodOvnP.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
var R=Object.defineProperty;var
|
|
2
|
+
var R=Object.defineProperty;var v=Object.getOwnPropertySymbols;var x=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable;var w=(o,e,t)=>e in o?R(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,d=(o,e)=>{for(var t in e||(e={}))x.call(e,t)&&w(o,t,e[t]);if(v)for(var t of v(e))P.call(e,t)&&w(o,t,e[t]);return o};var f=(o,e,t)=>new Promise((c,s)=>{var _=a=>{try{i(t.next(a))}catch(p){s(p)}},n=a=>{try{i(t.throw(a))}catch(p){s(p)}},i=a=>a.done?c(a.value):Promise.resolve(a.value).then(_,n);i((t=t.apply(o,e)).next())});import{_ as y}from"./monaco-editor-B5WqzYTl.js";import{useRoute as V}from"./vue-router-BO40Wv73.js";import"./element-plus-XVJlWyfz.js";import"./vxe-CWcmrjam.js";import{h as g,p as T,o as k,l as B,_ as D,u as I,A as O,n as L}from"./Editor-_84wgCQz-ClJHNWEl.js";import{a as S,n as E,l as q,E as z}from"./utils-D2Sd6tKP.js";import{q as H}from"./@vueuse-vmN9qs5b.js";import{d as K,ay as A,e as N,K as b,O as j,P as F,o as G,h as J}from"./vue-BfodOvnP.js";import"./lodash-es-BL-d_OSa.js";import"./@element-plus-icons-vue-CM-7yUXL.js";import"./shared-CzXu-bVE.js";import"./dayjs-DO-COJPZ.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-Du5X89jz.js";import"./marked-BQZxLJfc.js";const pe=K({__name:"preview",setup(o){return f(this,null,function*(){let e,t;const c=new g(T(E)),s=([e,t]=A(()=>c.getExtension().catch(()=>null)),e=yield e,t(),e||{}),_=k({loading:q,notify:E,useTitle:H,alert:S,access:s==null?void 0:s.access}),n=s?([e,t]=A(()=>new z(s).load()),e=yield e,t(),e):{},{__BASE_PATH__:i="/"}=s||{},{provider:a,onReady:p}=B({mode:D.Runtime,service:c,materialPath:i,adapter:d(d({},_),n.adapter),dependencies:{Vue:()=>y(()=>import("./vue-BfodOvnP.js").then(m=>m.az),[],import.meta.url),VueRouter:()=>y(()=>import("./vue-router-BO40Wv73.js"),__vite__mapDeps([0,1]),import.meta.url)}}),h=V(),u=N(),l=J();return p(()=>f(null,null,function*(){const m=yield I(s.enhance),r=l==null?void 0:l.appContext.app;r&&(n.install&&n.install(r),m&&r.use(m,a),r.use(O),r.use(a),u.value=yield a.getRenderComponent(h.params.id.toString(),C=>{L(r,h,C)}))})),(m,r)=>u.value?(G(),b(F(u.value),{key:0})):j("",!0)})}});export{pe as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var T=Object.defineProperty;var S=Object.getOwnPropertySymbols;var d=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable;var g=(t,a,s)=>a in t?T(t,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[a]=s,_=(t,a)=>{for(var s in a||(a={}))d.call(a,s)&&g(t,s,a[s]);if(S)for(var s of S(a))I.call(a,s)&&g(t,s,a[s]);return t};var l=(t,a,s)=>g(t,typeof a!="symbol"?a+"":a,s);var p=(t,a,s)=>new Promise((o,i)=>{var e=r=>{try{n(s.next(r))}catch(E){i(E)}},c=r=>{try{n(s.throw(r))}catch(E){i(E)}},n=r=>r.done?o(r.value):Promise.resolve(r.value).then(e,c);n((s=s.apply(t,a)).next())});import{az as
|
|
1
|
+
var T=Object.defineProperty;var S=Object.getOwnPropertySymbols;var d=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable;var g=(t,a,s)=>a in t?T(t,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[a]=s,_=(t,a)=>{for(var s in a||(a={}))d.call(a,s)&&g(t,s,a[s]);if(S)for(var s of S(a))I.call(a,s)&&g(t,s,a[s]);return t};var l=(t,a,s)=>g(t,typeof a!="symbol"?a+"":a,s);var p=(t,a,s)=>new Promise((o,i)=>{var e=r=>{try{n(s.next(r))}catch(E){i(E)}},c=r=>{try{n(s.throw(r))}catch(E){i(E)}},n=r=>r.done?o(r.value):Promise.resolve(r.value).then(e,c);n((s=s.apply(t,a)).next())});import{az as f}from"./vue-BfodOvnP.js";import{B as O,T as V,L as A,c as m,e as R,b,d as P,R as D,O as L,D as M,U as y,f as B,G as h,I as N,x as j,V as x,g as w,N as k,i as v,j as H,k as U,m as Y,q as G,r as K,P as W,Q as C,M as F,s as $,v as z,w as J,y as Q,z as q,C as X,J as Z,F as aa,E as sa,H as ea,K as ta,S as ra,W as ia,X as na,Y as oa,Z as Ea,$ as la,a0 as _a,a1 as ca,a2 as ga,a3 as Sa,a4 as pa,a5 as ua,a6 as Ta,a7 as da,a8 as Ia,a9 as fa,aa as Oa,ab as Va,ac as Aa,ad as ma,ae as Ra,af as ba,ag as Pa,ah as Da,ai as La,aj as Ma,ak as ya,al as Ba,am as ha,an as Na,t as ja,ao as xa,ap as wa,aq as ka,ar as va,as as Ha,at as Ua,au as Ya,av as Ga,aw as Ka,ax as Wa}from"./Editor-_84wgCQz-ClJHNWEl.js";import{E as Ca,a as Fa,b as $a,c as za}from"./element-plus-XVJlWyfz.js";const Ja=Object.freeze(Object.defineProperty({__proto__:null,ACCESS:O,API_METHOD_TYPES:V,Assets:A,Binder:m,Box:R,Designer:b,DevTools:P,EVENT_MODIFIERS:D,Editor:L,Engine:M,EventBinder:y,Icon:B,Item:h,KEYBOARD_EVENT_LIST:N,MOBILE_SIZE:j,MOUSE_EVENT_LIST:x,MicroApp:w,NAME_REGEX:k,NPM_REGISTRY_URL:v,OpenApi:H,PAD_SIZE:U,Panel:Y,REMOTE:G,REPORT_API:K,RegionType:W,RegionWrapper:C,Renderer:F,SAVE_BLOCK_FILE_FINISH:$,SESSION_ID_KEY:z,STATE_KEY:J,SetterView:Q,SetterWrapper:q,Simulator:X,Skeleton:Z,SkeletonWrapper:aa,SlotsPicker:sa,Tabs:ea,VERSION_REGEX:ta,VTJ_DESIGNER_VERSION:ra,VUE_DEVTOOLS_FRAME_STATE_KEY:ia,VUE_DEVTOOLS_OVERLAY_PATH:na,VUE_DEVTOOLS_PATH:oa,VariableBinder:Ea,Viewer:la,Viewport:_a,WidgetGroup:ca,WidgetWrapper:ga,alert:Sa,builtInDeps:pa,builtInMaterials:ua,builtInSetters:Ta,builtInWidgets:da,confirm:Ia,createSlotsPicker:fa,defaultSetter:Oa,depsManager:Va,engineKey:Aa,expressionValidate:ma,getClassProperties:Ra,message:ba,normalizedStyle:Pa,notify:Da,proxyContext:La,readJsonFile:Ma,regions:ya,setterManager:Ba,setters:ha,useEngine:Na,widgetManager:ja,widgets:xa},Symbol.toStringTag,{value:"Module"}));class as{constructor(a){l(this,"urls",[]);l(this,"library","");l(this,"params",[]);l(this,"__BASE_PATH__","/");this.config=a;const s=_(_(_({},Ua),Ja),Ha),o={Vue:f,__VTJ_PRO__:s,VtjUtils:va,VtjIcons:ka,VtjUI:wa,ElementPlus:Ca};for(const[E,u]of Object.entries(o))window[E]=u;const{extension:i,__BASE_PATH__:e="/"}=a||{},{urls:c=[],library:n,params:r=[]}=i||{};n&&(this.urls=c,this.library=n,this.params=r,this.__BASE_PATH__=e)}load(){return p(this,null,function*(){let a={};if(this.library){const s=this.__BASE_PATH__,o=this.urls.filter(e=>Ya(e)).map(e=>`${s}${e}`),i=this.urls.filter(e=>Ga(e)).map(e=>`${s}${e}`);if(Ka(o),i.length){const e=yield Wa(i,this.library).catch(()=>null);e&&typeof e=="function"?a=e.call(e,this.config,...this.params):a=e||{}}}return a})}}function ss(){return za.service({lock:!0,text:"Loading",background:"rgba(0, 0, 0, 0.7)"})}function es(t,a="",s="warning"){$a({title:a,message:t,type:s})}function ts(t,a){return Fa.alert(t,a)}export{as as E,ts as a,ss as l,es as n};
|
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__ = '1749429629630';
|
|
13
13
|
(function () {
|
|
14
14
|
const regex = /<!--{{(\d*)}}-->/;
|
|
15
15
|
window.fetch('?t=' + Date.now()).then(async (res) => {
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
});
|
|
26
26
|
})();
|
|
27
27
|
</script>
|
|
28
|
-
<!--{{
|
|
28
|
+
<!--{{1749429629630}}-->
|
|
29
29
|
|
|
30
|
-
<script type="module" crossorigin src="./assets/index-
|
|
30
|
+
<script type="module" crossorigin src="./assets/index-DXJsgq0M.js"></script>
|
|
31
31
|
<link rel="modulepreload" crossorigin href="./assets/vue-BfodOvnP.js">
|
|
32
32
|
<link rel="modulepreload" crossorigin href="./assets/lodash-es-BL-d_OSa.js">
|
|
33
33
|
<link rel="modulepreload" crossorigin href="./assets/@vueuse-vmN9qs5b.js">
|