@vtj/pro 0.12.69 → 0.12.70

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 (24) 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/icons/index.umd.js +2 -2
  5. package/dist/@vtj/materials/assets/ui/index.umd.js +2 -2
  6. package/dist/@vtj/materials/assets/uni-h5/index.umd.js +2 -2
  7. package/dist/@vtj/materials/assets/uni-ui/index.umd.js +2 -2
  8. package/dist/@vtj/materials/assets/vant/index.umd.js +2 -2
  9. package/dist/@vtj/materials/deps/@vtj/charts/index.umd.js +2 -2
  10. package/dist/@vtj/materials/deps/@vtj/icons/index.umd.js +2 -2
  11. package/dist/@vtj/materials/deps/@vtj/ui/index.umd.js +2 -2
  12. package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +2 -2
  13. package/dist/assets/{Editor-WXSkVjuR-De0Come4.js → Editor-DYpQSlV3-B_ic7fGS.js} +14 -14
  14. package/dist/assets/{auth-DUmkohZN.js → auth-DK-F4EN7.js} +1 -1
  15. package/dist/assets/{index-Y3Wa8yuo.js → index-C1fA68Qr.js} +2 -2
  16. package/dist/assets/{index-BrRg7lXS.js → index-CoL4LsVc.js} +1 -1
  17. package/dist/assets/{page-BQg6YxL0.js → page-BOEua5CF.js} +1 -1
  18. package/dist/assets/{preview-8NchCif2.js → preview-DxyXnE0g.js} +1 -1
  19. package/dist/assets/{utils-C5ThSbcf.js → utils-Qmi4VAKz.js} +1 -1
  20. package/dist/index.html +3 -3
  21. package/dist/uni/assets/{index-BMJ3TMZ4.js → index-BY8FyS_D.js} +4 -4
  22. package/dist/uni/index.html +1 -1
  23. package/package.json +11 -11
  24. /package/dist/assets/{Editor-WXSkVjuR-8nIdgLhs.css → Editor-DYpQSlV3-8nIdgLhs.css} +0 -0
@@ -1 +1 @@
1
- var x=Object.defineProperty;var f=Object.getOwnPropertySymbols;var b=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;var h=(o,t,e)=>t in o?x(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,u=(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((c,s)=>{var n=r=>{try{i(e.next(r))}catch(a){s(a)}},m=r=>{try{i(e.throw(r))}catch(a){s(a)}},i=r=>r.done?c(r.value):Promise.resolve(r.value).then(n,m);i((e=e.apply(o,t)).next())});import"./element-plus-COProxbp.js";import"./vxe-Bet8YtVU.js";import{y as B,aB as v,a5 as y,aC as E,aD as I,b as U}from"./Editor-WXSkVjuR-De0Come4.js";import{useRoute as $}from"./vue-router-CezURGfh.js";import{d as C,az as k,c as g,o as w,K as q,O as R,u as _}from"./vue-ipWmmxHk.js";import{_ as S}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./lodash-es-BL-d_OSa.js";import"./@vueuse-WO_0ftym.js";import"./@element-plus-icons-vue-0BR09xN9.js";import"./shared-Bnc4f-Fv.js";import"./dayjs-DO-COJPZ.js";import"./monaco-editor-B8sWZqMY.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-DG3OW7C0.js";import"./marked-BQZxLJfc.js";const z={class:"loading"},D=C({__name:"Auth",props:{remote:{},access:{},baseUrl:{default:"/"}},setup(o){return p(this,null,function*(){let t,e;const c=o,s=B(u(u({alert:y},v),c.access)),n=$(),m=a=>p(null,null,function*(){const d=`${c.remote||E}/api/open/user/${a}`,l=yield I(d).catch(()=>null);return!l||!l.success?(yield y("登录失败"),null):l.data}),i=n.query.token,r=i?([t,e]=k(()=>m(i)),t=yield t,e(),t):null;if(r)try{s.login(r);const a=n.query.redirect;location.href=decodeURIComponent(a||c.baseUrl)}catch(a){location.reload()}return(a,d)=>(w(),g("div",z,"正在登录中..."))})}}),K=S(D,[["__scopeId","data-v-2674e98b"]]),Z=C({__name:"auth",setup(o){return p(this,null,function*(){let t,e;const c=new U,s=([t,e]=k(()=>c.getExtension().catch(()=>null)),t=yield t,e(),t),n=s==null?void 0:s.remote,m=s==null?void 0:s.__ACCESS__;return(i,r)=>_(n)?(w(),q(_(K),{key:0,remote:_(n),access:_(m)},null,8,["remote","access"])):R("",!0)})}});export{Z as default};
1
+ var x=Object.defineProperty;var f=Object.getOwnPropertySymbols;var b=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;var h=(o,t,e)=>t in o?x(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,u=(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((c,s)=>{var n=r=>{try{i(e.next(r))}catch(a){s(a)}},m=r=>{try{i(e.throw(r))}catch(a){s(a)}},i=r=>r.done?c(r.value):Promise.resolve(r.value).then(n,m);i((e=e.apply(o,t)).next())});import"./element-plus-COProxbp.js";import"./vxe-Bet8YtVU.js";import{y as B,aB as v,a5 as y,aC as E,aD as I,b as U}from"./Editor-DYpQSlV3-B_ic7fGS.js";import{useRoute as $}from"./vue-router-CezURGfh.js";import{d as C,az as k,c as g,o as w,K as q,O as R,u as _}from"./vue-ipWmmxHk.js";import{_ as S}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./lodash-es-BL-d_OSa.js";import"./@vueuse-WO_0ftym.js";import"./@element-plus-icons-vue-0BR09xN9.js";import"./shared-Bnc4f-Fv.js";import"./dayjs-DO-COJPZ.js";import"./monaco-editor-B8sWZqMY.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-DG3OW7C0.js";import"./marked-BQZxLJfc.js";const z={class:"loading"},D=C({__name:"Auth",props:{remote:{},access:{},baseUrl:{default:"/"}},setup(o){return p(this,null,function*(){let t,e;const c=o,s=B(u(u({alert:y},v),c.access)),n=$(),m=a=>p(null,null,function*(){const d=`${c.remote||E}/api/open/user/${a}`,l=yield I(d).catch(()=>null);return!l||!l.success?(yield y("登录失败"),null):l.data}),i=n.query.token,r=i?([t,e]=k(()=>m(i)),t=yield t,e(),t):null;if(r)try{s.login(r);const a=n.query.redirect;location.href=decodeURIComponent(a||c.baseUrl)}catch(a){location.reload()}return(a,d)=>(w(),g("div",z,"正在登录中..."))})}}),K=S(D,[["__scopeId","data-v-2674e98b"]]),Z=C({__name:"auth",setup(o){return p(this,null,function*(){let t,e;const c=new U,s=([t,e]=k(()=>c.getExtension().catch(()=>null)),t=yield t,e(),t),n=s==null?void 0:s.remote,m=s==null?void 0:s.__ACCESS__;return(i,r)=>_(n)?(w(),q(_(K),{key:0,remote:_(n),access:_(m)},null,8,["remote","access"])):R("",!0)})}});export{Z as default};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BrRg7lXS.js","./vue-router-CezURGfh.js","./vue-ipWmmxHk.js","./@vueuse-WO_0ftym.js","./Editor-WXSkVjuR-De0Come4.js","./monaco-editor-B8sWZqMY.js","./monaco-editor-Cpw7ccEV.css","./element-plus-COProxbp.js","./lodash-es-BL-d_OSa.js","./@element-plus-icons-vue-0BR09xN9.js","./shared-Bnc4f-Fv.js","./dayjs-DO-COJPZ.js","./element-plus-CxJJf0IB.css","./vxe-Bet8YtVU.js","./vxe-BAb1d5vW.css","./html2canvas-CIV5arX1.js","./mockjs-DG3OW7C0.js","./marked-BQZxLJfc.js","./Editor-WXSkVjuR-8nIdgLhs.css","./utils-C5ThSbcf.js","./_plugin-vue_export-helper-DlAUqK2U.js","./index-CrVHlN_5.css","./preview-8NchCif2.js","./page-BQg6YxL0.js","./uni-page-Bs0TAzEa.js","./uni-page-Diqmj53r.css","./auth-DUmkohZN.js"])))=>i.map(i=>d[i]);
2
- import{d as _,K as p,u as s,an as d,o as m,L as u,aB as f,T as h,aw as v}from"./vue-ipWmmxHk.js";import{z as g,d as y}from"./element-plus-COProxbp.js";import{_ as r}from"./monaco-editor-B8sWZqMY.js";import{createRouter as E,createWebHashHistory as L}from"./vue-router-CezURGfh.js";import"./lodash-es-BL-d_OSa.js";import"./@vueuse-WO_0ftym.js";import"./@element-plus-icons-vue-0BR09xN9.js";import"./shared-Bnc4f-Fv.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 n of t.addedNodes)n.tagName==="LINK"&&n.rel==="modulepreload"&&i(n)}).observe(document,{childList:!0,subtree:!0});function a(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=a(e);fetch(e.href,t)}})();const O=_({__name:"app",setup(l){return(o,a)=>{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-BrRg7lXS.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-8NchCif2.js"),__vite__mapDeps([22,5,6,1,2,7,8,3,9,10,11,12,13,14,4,15,16,17,18,19]),import.meta.url)},{path:"/page/:id",name:"page",component:()=>r(()=>import("./page-BQg6YxL0.js"),__vite__mapDeps([23,5,6,1,2,7,8,3,9,10,11,12,13,14,4,15,16,17,18,19]),import.meta.url),meta:{pure:!0}},{path:"/pages/:id",name:"pages",component:()=>r(()=>import("./uni-page-Bs0TAzEa.js"),__vite__mapDeps([24,1,2,20,25]),import.meta.url),meta:{pure:!0}},{path:"/auth",name:"auth",component:()=>r(()=>import("./auth-DUmkohZN.js"),__vite__mapDeps([26,7,2,8,3,9,10,11,12,13,14,4,5,6,1,15,16,17,18,20]),import.meta.url)}],w=E({history:L(),routes:P}),c=v(O);c.use(w);c.mount("#app");
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-CoL4LsVc.js","./vue-router-CezURGfh.js","./vue-ipWmmxHk.js","./@vueuse-WO_0ftym.js","./Editor-DYpQSlV3-B_ic7fGS.js","./monaco-editor-B8sWZqMY.js","./monaco-editor-Cpw7ccEV.css","./element-plus-COProxbp.js","./lodash-es-BL-d_OSa.js","./@element-plus-icons-vue-0BR09xN9.js","./shared-Bnc4f-Fv.js","./dayjs-DO-COJPZ.js","./element-plus-CxJJf0IB.css","./vxe-Bet8YtVU.js","./vxe-BAb1d5vW.css","./html2canvas-CIV5arX1.js","./mockjs-DG3OW7C0.js","./marked-BQZxLJfc.js","./Editor-DYpQSlV3-8nIdgLhs.css","./utils-Qmi4VAKz.js","./_plugin-vue_export-helper-DlAUqK2U.js","./index-CrVHlN_5.css","./preview-DxyXnE0g.js","./page-BOEua5CF.js","./uni-page-Bs0TAzEa.js","./uni-page-Diqmj53r.css","./auth-DK-F4EN7.js"])))=>i.map(i=>d[i]);
2
+ import{d as _,K as p,u as s,an as d,o as m,L as u,aB as f,T as h,aw as v}from"./vue-ipWmmxHk.js";import{z as g,d as y}from"./element-plus-COProxbp.js";import{_ as r}from"./monaco-editor-B8sWZqMY.js";import{createRouter as E,createWebHashHistory as L}from"./vue-router-CezURGfh.js";import"./lodash-es-BL-d_OSa.js";import"./@vueuse-WO_0ftym.js";import"./@element-plus-icons-vue-0BR09xN9.js";import"./shared-Bnc4f-Fv.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 n of t.addedNodes)n.tagName==="LINK"&&n.rel==="modulepreload"&&i(n)}).observe(document,{childList:!0,subtree:!0});function a(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=a(e);fetch(e.href,t)}})();const O=_({__name:"app",setup(l){return(o,a)=>{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-CoL4LsVc.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-DxyXnE0g.js"),__vite__mapDeps([22,5,6,1,2,7,8,3,9,10,11,12,13,14,4,15,16,17,18,19]),import.meta.url)},{path:"/page/:id",name:"page",component:()=>r(()=>import("./page-BOEua5CF.js"),__vite__mapDeps([23,5,6,1,2,7,8,3,9,10,11,12,13,14,4,15,16,17,18,19]),import.meta.url),meta:{pure:!0}},{path:"/pages/:id",name:"pages",component:()=>r(()=>import("./uni-page-Bs0TAzEa.js"),__vite__mapDeps([24,1,2,20,25]),import.meta.url),meta:{pure:!0}},{path:"/auth",name:"auth",component:()=>r(()=>import("./auth-DK-F4EN7.js"),__vite__mapDeps([26,7,2,8,3,9,10,11,12,13,14,4,5,6,1,15,16,17,18,20]),import.meta.url)}],w=E({history:L(),routes:P}),c=v(O);c.use(w);c.mount("#app");
@@ -1 +1 @@
1
- var N=Object.defineProperty;var v=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var P=(o,e,t)=>e in o?N(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,y=(o,e)=>{for(var t in e||(e={}))V.call(e,t)&&P(o,t,e[t]);if(v)for(var t of v(e))W.call(e,t)&&P(o,t,e[t]);return o};var h=(o,e,t)=>new Promise((_,i)=>{var l=n=>{try{r(t.next(n))}catch(c){i(c)}},a=n=>{try{r(t.throw(n))}catch(c){i(c)}},r=n=>n.done?_(n.value):Promise.resolve(n.value).then(l,a);r((t=t.apply(o,e)).next())});import{useRoute as z}from"./vue-router-CezURGfh.js";import{s as I}from"./@vueuse-WO_0ftym.js";import{b as J,j as U,v as D,y as G,h as C,q as K,i as E}from"./Editor-WXSkVjuR-De0Come4.js";import"./element-plus-COProxbp.js";import"./vxe-Bet8YtVU.js";import{E as L,a as S,n as A,l as M}from"./utils-C5ThSbcf.js";import{d as O,e as Q,az as B,f as X,c as Y,o as Z}from"./vue-ipWmmxHk.js";import{_ as ee}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./monaco-editor-B8sWZqMY.js";import"./@element-plus-icons-vue-0BR09xN9.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-DG3OW7C0.js";import"./dayjs-DO-COJPZ.js";import"./marked-BQZxLJfc.js";import"./lodash-es-BL-d_OSa.js";import"./shared-Bnc4f-Fv.js";const te=O({__name:"index",setup(o){return h(this,null,function*(){let e,t;const _=z(),i=Q(),l=new J(U(A)),a=([e,t]=B(()=>l.getExtension().catch(()=>null)),e=yield e,t(),e||{}),r=D({loading:M,notify:A,useTitle:I,alert:S,access:a==null?void 0:a.access}),n=G(y({alert:S},a==null?void 0:a.__ACCESS__)),c=a?([e,t]=B(()=>new L(a).load()),e=yield e,t(),e):{},{__BASE_PATH__:d="/",history:k="hash",base:$="/",pageRouteName:g="page",remote:q,auth:b,checkVersion:F=!0,enhance:R}=a||{},T=()=>k==="hash",j=s=>s==="/"?"":(s.startsWith("/")&&(s=s.substring(1)),s.endsWith("/")||(s=s+"/"),s);C.set("Switcher",{props:{onClick:s=>{const u=s.platform==="uniapp",p=location.pathname;let m=p===`${d}__vtj__/`?d:p;const f=s.currentFile;if(f&&f.type==="page"&&s.homepage!==f.id){const H=a.pageBasePath?`/${g}`:"",x=`${j($)}${u?`pages${H}`:g}/${f.id}`;m=T()?`${m}#/${x}`:`${m}${x}`}window.open(m,"VTJProject")}}}),C.set("Previewer",{props:{path:(s,u)=>{const p=location.pathname;return u.platform==="uniapp"?`${p}uni/#/pages/${s.id}`:`${p}#/preview/${s.id}`}}});const w=new K(y({container:i,service:l,materialPath:d,pageBasePath:$==="/"?"":$,adapter:r,access:n,remote:q,auth:b,checkVersion:F,enhance:R},c));return w.ready(()=>h(null,null,function*(){yield E(300),w.openFile(_.query.id)})),X(()=>_.query.id,s=>h(null,null,function*(){yield E(300),w.openFile(s)})),(s,u)=>(Z(),Y("div",{class:"designer",ref_key:"container",ref:i},null,512))})}}),ye=ee(te,[["__scopeId","data-v-79f08aff"]]);export{ye as default};
1
+ var N=Object.defineProperty;var v=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var P=(o,e,t)=>e in o?N(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,y=(o,e)=>{for(var t in e||(e={}))V.call(e,t)&&P(o,t,e[t]);if(v)for(var t of v(e))W.call(e,t)&&P(o,t,e[t]);return o};var h=(o,e,t)=>new Promise((_,i)=>{var l=n=>{try{r(t.next(n))}catch(c){i(c)}},a=n=>{try{r(t.throw(n))}catch(c){i(c)}},r=n=>n.done?_(n.value):Promise.resolve(n.value).then(l,a);r((t=t.apply(o,e)).next())});import{useRoute as z}from"./vue-router-CezURGfh.js";import{s as I}from"./@vueuse-WO_0ftym.js";import{b as J,j as U,v as D,y as G,h as C,q as K,i as E}from"./Editor-DYpQSlV3-B_ic7fGS.js";import"./element-plus-COProxbp.js";import"./vxe-Bet8YtVU.js";import{E as L,a as S,n as A,l as M}from"./utils-Qmi4VAKz.js";import{d as O,e as Q,az as B,f as X,c as Y,o as Z}from"./vue-ipWmmxHk.js";import{_ as ee}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./monaco-editor-B8sWZqMY.js";import"./@element-plus-icons-vue-0BR09xN9.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-DG3OW7C0.js";import"./dayjs-DO-COJPZ.js";import"./marked-BQZxLJfc.js";import"./lodash-es-BL-d_OSa.js";import"./shared-Bnc4f-Fv.js";const te=O({__name:"index",setup(o){return h(this,null,function*(){let e,t;const _=z(),i=Q(),l=new J(U(A)),a=([e,t]=B(()=>l.getExtension().catch(()=>null)),e=yield e,t(),e||{}),r=D({loading:M,notify:A,useTitle:I,alert:S,access:a==null?void 0:a.access}),n=G(y({alert:S},a==null?void 0:a.__ACCESS__)),c=a?([e,t]=B(()=>new L(a).load()),e=yield e,t(),e):{},{__BASE_PATH__:d="/",history:k="hash",base:$="/",pageRouteName:g="page",remote:q,auth:b,checkVersion:F=!0,enhance:R}=a||{},T=()=>k==="hash",j=s=>s==="/"?"":(s.startsWith("/")&&(s=s.substring(1)),s.endsWith("/")||(s=s+"/"),s);C.set("Switcher",{props:{onClick:s=>{const u=s.platform==="uniapp",p=location.pathname;let m=p===`${d}__vtj__/`?d:p;const f=s.currentFile;if(f&&f.type==="page"&&s.homepage!==f.id){const H=a.pageBasePath?`/${g}`:"",x=`${j($)}${u?`pages${H}`:g}/${f.id}`;m=T()?`${m}#/${x}`:`${m}${x}`}window.open(m,"VTJProject")}}}),C.set("Previewer",{props:{path:(s,u)=>{const p=location.pathname;return u.platform==="uniapp"?`${p}uni/#/pages/${s.id}`:`${p}#/preview/${s.id}`}}});const w=new K(y({container:i,service:l,materialPath:d,pageBasePath:$==="/"?"":$,adapter:r,access:n,remote:q,auth:b,checkVersion:F,enhance:R},c));return w.ready(()=>h(null,null,function*(){yield E(300),w.openFile(_.query.id)})),X(()=>_.query.id,s=>h(null,null,function*(){yield E(300),w.openFile(s)})),(s,u)=>(Z(),Y("div",{class:"designer",ref_key:"container",ref:i},null,512))})}}),ye=ee(te,[["__scopeId","data-v-79f08aff"]]);export{ye as default};
@@ -1,2 +1,2 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-router-CezURGfh.js","./vue-ipWmmxHk.js"])))=>i.map(i=>d[i]);
2
- var x=Object.defineProperty;var w=Object.getOwnPropertySymbols;var P=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var A=(o,t,e)=>t in o?x(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,v=(o,t)=>{for(var e in t||(t={}))P.call(t,e)&&A(o,e,t[e]);if(w)for(var e of w(t))R.call(t,e)&&A(o,e,t[e]);return o};var c=(o,t,e)=>new Promise((_,r)=>{var u=s=>{try{p(e.next(s))}catch(m){r(m)}},d=s=>{try{p(e.throw(s))}catch(m){r(m)}},p=s=>s.done?_(s.value):Promise.resolve(s.value).then(u,d);p((e=e.apply(o,t)).next())});import{_ as C}from"./monaco-editor-B8sWZqMY.js";import{useRoute as g}from"./vue-router-CezURGfh.js";import"./element-plus-COProxbp.js";import"./vxe-Bet8YtVU.js";import{b as V,j as S,v as T,S as k,w as B,A as D,m as I}from"./Editor-WXSkVjuR-De0Come4.js";import{a as O,n as E,l as b,E as j}from"./utils-C5ThSbcf.js";import{s as L}from"./@vueuse-WO_0ftym.js";import{d as z,az as h,e as H,f as K,K as N,O as q,P as F,o as G,h as J}from"./vue-ipWmmxHk.js";import"./lodash-es-BL-d_OSa.js";import"./@element-plus-icons-vue-0BR09xN9.js";import"./shared-Bnc4f-Fv.js";import"./dayjs-DO-COJPZ.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-DG3OW7C0.js";import"./marked-BQZxLJfc.js";const mt=z({__name:"page",setup(o){return c(this,null,function*(){let t,e;const _=new V(S(E)),r=([t,e]=h(()=>_.getExtension().catch(()=>null)),t=yield t,e(),t),u=T({loading:b,notify:E,useTitle:L,alert:O,access:r==null?void 0:r.access}),d=r?([t,e]=h(()=>new j(r).load()),t=yield t,e(),t):{},{__BASE_PATH__:p="/"}=r||{},{provider:s,onReady:m}=k({mode:B.Runtime,service:_,materialPath:p,adapter:v(v({},u),d.adapter),dependencies:{Vue:()=>C(()=>import("./vue-ipWmmxHk.js").then(a=>a.aA),[],import.meta.url),VueRouter:()=>C(()=>import("./vue-router-CezURGfh.js"),__vite__mapDeps([0,1]),import.meta.url)}}),l=g(),f=H(),n=J(),y=a=>c(null,null,function*(){f.value=yield s.getRenderComponent(l.params.id.toString(),i=>{I(a,l,i)})});return m(()=>c(null,null,function*(){const a=n==null?void 0:n.appContext.app;a&&(a.use(D),a.use(s),y(a))})),K(()=>l.params.id,a=>c(null,null,function*(){if(a){const i=n==null?void 0:n.appContext.app;if(!i)return;y(i)}})),(a,i)=>f.value?(G(),N(F(f.value),{key:0})):q("",!0)})}});export{mt as default};
2
+ var x=Object.defineProperty;var w=Object.getOwnPropertySymbols;var P=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var A=(o,t,e)=>t in o?x(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,v=(o,t)=>{for(var e in t||(t={}))P.call(t,e)&&A(o,e,t[e]);if(w)for(var e of w(t))R.call(t,e)&&A(o,e,t[e]);return o};var c=(o,t,e)=>new Promise((_,r)=>{var u=s=>{try{p(e.next(s))}catch(m){r(m)}},d=s=>{try{p(e.throw(s))}catch(m){r(m)}},p=s=>s.done?_(s.value):Promise.resolve(s.value).then(u,d);p((e=e.apply(o,t)).next())});import{_ as C}from"./monaco-editor-B8sWZqMY.js";import{useRoute as g}from"./vue-router-CezURGfh.js";import"./element-plus-COProxbp.js";import"./vxe-Bet8YtVU.js";import{b as V,j as S,v as T,S as k,w as B,A as D,m as I}from"./Editor-DYpQSlV3-B_ic7fGS.js";import{a as O,n as E,l as b,E as j}from"./utils-Qmi4VAKz.js";import{s as L}from"./@vueuse-WO_0ftym.js";import{d as z,az as h,e as H,f as K,K as N,O as q,P as F,o as G,h as J}from"./vue-ipWmmxHk.js";import"./lodash-es-BL-d_OSa.js";import"./@element-plus-icons-vue-0BR09xN9.js";import"./shared-Bnc4f-Fv.js";import"./dayjs-DO-COJPZ.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-DG3OW7C0.js";import"./marked-BQZxLJfc.js";const mt=z({__name:"page",setup(o){return c(this,null,function*(){let t,e;const _=new V(S(E)),r=([t,e]=h(()=>_.getExtension().catch(()=>null)),t=yield t,e(),t),u=T({loading:b,notify:E,useTitle:L,alert:O,access:r==null?void 0:r.access}),d=r?([t,e]=h(()=>new j(r).load()),t=yield t,e(),t):{},{__BASE_PATH__:p="/"}=r||{},{provider:s,onReady:m}=k({mode:B.Runtime,service:_,materialPath:p,adapter:v(v({},u),d.adapter),dependencies:{Vue:()=>C(()=>import("./vue-ipWmmxHk.js").then(a=>a.aA),[],import.meta.url),VueRouter:()=>C(()=>import("./vue-router-CezURGfh.js"),__vite__mapDeps([0,1]),import.meta.url)}}),l=g(),f=H(),n=J(),y=a=>c(null,null,function*(){f.value=yield s.getRenderComponent(l.params.id.toString(),i=>{I(a,l,i)})});return m(()=>c(null,null,function*(){const a=n==null?void 0:n.appContext.app;a&&(a.use(D),a.use(s),y(a))})),K(()=>l.params.id,a=>c(null,null,function*(){if(a){const i=n==null?void 0:n.appContext.app;if(!i)return;y(i)}})),(a,i)=>f.value?(G(),N(F(f.value),{key:0})):q("",!0)})}});export{mt as default};
@@ -1,2 +1,2 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-router-CezURGfh.js","./vue-ipWmmxHk.js"])))=>i.map(i=>d[i]);
2
- var R=Object.defineProperty;var w=Object.getOwnPropertySymbols;var x=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable;var h=(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)&&h(o,t,e[t]);if(w)for(var t of w(e))P.call(e,t)&&h(o,t,e[t]);return o};var f=(o,e,t)=>new Promise((c,s)=>{var _=a=>{try{i(t.next(a))}catch(m){s(m)}},n=a=>{try{i(t.throw(a))}catch(m){s(m)}},i=a=>a.done?c(a.value):Promise.resolve(a.value).then(_,n);i((t=t.apply(o,e)).next())});import{_ as A}from"./monaco-editor-B8sWZqMY.js";import{useRoute as V}from"./vue-router-CezURGfh.js";import"./element-plus-COProxbp.js";import"./vxe-Bet8YtVU.js";import{b as g,j as S,v as T,S as k,w as B,$ as D,A as I,m as O}from"./Editor-WXSkVjuR-De0Come4.js";import{a as b,n as E,l as j,E as L}from"./utils-C5ThSbcf.js";import{s as $}from"./@vueuse-WO_0ftym.js";import{d as z,az as y,e as H,K,O as N,P as q,o as F,h as G}from"./vue-ipWmmxHk.js";import"./lodash-es-BL-d_OSa.js";import"./@element-plus-icons-vue-0BR09xN9.js";import"./shared-Bnc4f-Fv.js";import"./dayjs-DO-COJPZ.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-DG3OW7C0.js";import"./marked-BQZxLJfc.js";const me=z({__name:"preview",setup(o){return f(this,null,function*(){let e,t;const c=new g(S(E)),s=([e,t]=y(()=>c.getExtension().catch(()=>null)),e=yield e,t(),e||{}),_=T({loading:j,notify:E,useTitle:$,alert:b,access:s==null?void 0:s.access}),n=s?([e,t]=y(()=>new L(s).load()),e=yield e,t(),e):{},{__BASE_PATH__:i="/"}=s||{},{provider:a,onReady:m}=k({mode:B.Runtime,service:c,materialPath:i,adapter:d(d({},_),n.adapter),dependencies:{Vue:()=>A(()=>import("./vue-ipWmmxHk.js").then(p=>p.aA),[],import.meta.url),VueRouter:()=>A(()=>import("./vue-router-CezURGfh.js"),__vite__mapDeps([0,1]),import.meta.url)}}),v=V(),u=H(),l=G();return m(()=>f(null,null,function*(){const p=yield D(s.enhance),r=l==null?void 0:l.appContext.app;r&&(n.install&&n.install(r),p&&r.use(p,a),r.use(I),r.use(a),u.value=yield a.getRenderComponent(v.params.id.toString(),C=>{O(r,v,C)}))})),(p,r)=>u.value?(F(),K(q(u.value),{key:0})):N("",!0)})}});export{me as default};
2
+ var R=Object.defineProperty;var w=Object.getOwnPropertySymbols;var x=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable;var h=(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)&&h(o,t,e[t]);if(w)for(var t of w(e))P.call(e,t)&&h(o,t,e[t]);return o};var f=(o,e,t)=>new Promise((c,s)=>{var _=a=>{try{i(t.next(a))}catch(m){s(m)}},n=a=>{try{i(t.throw(a))}catch(m){s(m)}},i=a=>a.done?c(a.value):Promise.resolve(a.value).then(_,n);i((t=t.apply(o,e)).next())});import{_ as A}from"./monaco-editor-B8sWZqMY.js";import{useRoute as V}from"./vue-router-CezURGfh.js";import"./element-plus-COProxbp.js";import"./vxe-Bet8YtVU.js";import{b as g,j as S,v as T,S as k,w as B,$ as D,A as I,m as O}from"./Editor-DYpQSlV3-B_ic7fGS.js";import{a as b,n as E,l as j,E as L}from"./utils-Qmi4VAKz.js";import{s as $}from"./@vueuse-WO_0ftym.js";import{d as z,az as y,e as H,K,O as N,P as q,o as F,h as G}from"./vue-ipWmmxHk.js";import"./lodash-es-BL-d_OSa.js";import"./@element-plus-icons-vue-0BR09xN9.js";import"./shared-Bnc4f-Fv.js";import"./dayjs-DO-COJPZ.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-DG3OW7C0.js";import"./marked-BQZxLJfc.js";const me=z({__name:"preview",setup(o){return f(this,null,function*(){let e,t;const c=new g(S(E)),s=([e,t]=y(()=>c.getExtension().catch(()=>null)),e=yield e,t(),e||{}),_=T({loading:j,notify:E,useTitle:$,alert:b,access:s==null?void 0:s.access}),n=s?([e,t]=y(()=>new L(s).load()),e=yield e,t(),e):{},{__BASE_PATH__:i="/"}=s||{},{provider:a,onReady:m}=k({mode:B.Runtime,service:c,materialPath:i,adapter:d(d({},_),n.adapter),dependencies:{Vue:()=>A(()=>import("./vue-ipWmmxHk.js").then(p=>p.aA),[],import.meta.url),VueRouter:()=>A(()=>import("./vue-router-CezURGfh.js"),__vite__mapDeps([0,1]),import.meta.url)}}),v=V(),u=H(),l=G();return m(()=>f(null,null,function*(){const p=yield D(s.enhance),r=l==null?void 0:l.appContext.app;r&&(n.install&&n.install(r),p&&r.use(p,a),r.use(I),r.use(a),u.value=yield a.getRenderComponent(v.params.id.toString(),C=>{O(r,v,C)}))})),(p,r)=>u.value?(F(),K(q(u.value),{key:0})):N("",!0)})}});export{me as default};
@@ -1 +1 @@
1
- var f=Object.defineProperty;var p=Object.getOwnPropertySymbols;var d=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable;var g=(t,a,s)=>a in t?f(t,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[a]=s,E=(t,a)=>{for(var s in a||(a={}))d.call(a,s)&&g(t,s,a[s]);if(p)for(var s of p(a))T.call(a,s)&&g(t,s,a[s]);return t};var _=(t,a,s)=>g(t,typeof a!="symbol"?a+"":a,s);var S=(t,a,s)=>new Promise((o,n)=>{var e=r=>{try{i(s.next(r))}catch(l){n(l)}},c=r=>{try{i(s.throw(r))}catch(l){n(l)}},i=r=>r.done?o(r.value):Promise.resolve(r.value).then(e,c);i((s=s.apply(t,a)).next())});import{aA as O}from"./vue-ipWmmxHk.js";import{P as I,s as A,p as V,n as m,X as b,a as h,L as P,O as R,q as M,c as y,H as N,d as B,Y as L,N as D,W as K,B as x,M as H,K as k,F as w,e as U,f as W,D as Y,g as j,J as F,Q as v,Z as G,t as $,k as z,l as J,o as q,r as X,u as Z,x as C,z as Q,C as aa,E as sa,G as ea,I as ta,R as ra,T as na,U as ia,V as oa,_ as la,a0 as _a,a1 as Ea,a2 as ca,a3 as ga,a4 as pa,a5 as Sa,a6 as ua,a7 as fa,a8 as da,a9 as Ta,aa as Oa,ab as Ia,ac as Aa,ad as Va,ae as ma,af as ba,ag as ha,ah as Pa,ai as Ra,aj as Ma,ak as ya,al as Na,am as Ba,an as La,ao as Da,ap as Ka,h as xa,aq as Ha,ar as ka,as as wa,at as Ua,au as Wa,av as Ya,aw as ja,ax as Fa,ay as va,az as Ga,aA as $a}from"./Editor-WXSkVjuR-De0Come4.js";import{E as za,a as Ja,b as qa,c as Xa}from"./element-plus-COProxbp.js";const Za=Object.freeze(Object.defineProperty({__proto__:null,API_METHOD_TYPES:I,Assets:A,Binder:V,Box:m,Designer:b,DevTools:h,EVENT_MODIFIERS:P,Editor:R,Engine:M,EventBinder:y,GET_TOKENS_LINK:N,Icon:B,Item:L,KEYBOARD_EVENT_LIST:D,MAX_TOKENS:K,MOBILE_SIZE:x,MOUSE_EVENT_LIST:H,MicroApp:k,NAME_REGEX:w,NPM_REGISTRY_URL:U,OpenApi:W,PAD_SIZE:Y,Panel:j,REPORT_API:F,RegionType:v,RegionWrapper:G,Renderer:$,SAVE_BLOCK_FILE_FINISH:z,SESSION_ID_KEY:J,STATE_KEY:q,SetterView:X,SetterWrapper:Z,Simulator:C,Skeleton:Q,SkeletonWrapper:aa,SlotsPicker:sa,State:ea,Tabs:ta,VERSION_REGEX:ra,VTJ_DESIGNER_VERSION:na,VUE_DEVTOOLS_FRAME_STATE_KEY:ia,VUE_DEVTOOLS_OVERLAY_PATH:oa,VUE_DEVTOOLS_PATH:la,VariableBinder:_a,Viewer:Ea,Viewport:ca,WidgetGroup:ga,WidgetWrapper:pa,alert:Sa,builtInDeps:ua,builtInMaterials:fa,builtInSetters:da,builtInWidgets:Ta,confirm:Oa,createSlotsPicker:Ia,defaultSetter:Aa,depsManager:Va,engineKey:ma,expressionValidate:ba,getClassProperties:ha,message:Pa,normalizedStyle:Ra,notify:Ma,proxyContext:ya,readJsonFile:Na,regions:Ba,setterManager:La,setters:Da,useEngine:Ka,widgetManager:xa,widgets:Ha},Symbol.toStringTag,{value:"Module"}));class es{constructor(a){_(this,"urls",[]);_(this,"library","");_(this,"params",[]);_(this,"__BASE_PATH__","/");this.config=a;const s=E(E(E({},Ya),Za),Wa),o={Vue:O,__VTJ_PRO__:s,VtjUtils:Ua,VtjIcons:wa,VtjUI:ka,ElementPlus:za};for(const[l,u]of Object.entries(o))window[l]=u;const{extension:n,__BASE_PATH__:e="/"}=a||{},{urls:c=[],library:i,params:r=[]}=n||{};i&&(this.urls=c,this.library=i,this.params=r,this.__BASE_PATH__=e)}load(){return S(this,null,function*(){let a={};if(this.library){const s=this.__BASE_PATH__,o=this.urls.filter(e=>ja(e)).map(e=>`${s}${e}`),n=this.urls.filter(e=>Fa(e)).map(e=>`${s}${e}`);if(va(o),n.length){const e=yield Ga(n,this.library).catch(()=>null);e&&typeof e=="function"?a=e.call(e,this.config,...this.params):a=e||{}}}return Object.assign({},this.getEngineOptions(),a)})}getEngineOptions(){const a=["materialPath","pageBasePath","pageRouteName","remote","checkVersion","noMask"];return $a(this.config,a)}}function ts(){return Xa.service({lock:!0,text:"Loading",background:"rgba(0, 0, 0, 0.7)"})}function rs(t,a="",s="warning"){qa({title:a,message:t,type:s})}function ns(t,a){return Ja.alert(t,a)}export{es as E,ns as a,ts as l,rs as n};
1
+ var f=Object.defineProperty;var p=Object.getOwnPropertySymbols;var d=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable;var g=(t,a,s)=>a in t?f(t,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[a]=s,E=(t,a)=>{for(var s in a||(a={}))d.call(a,s)&&g(t,s,a[s]);if(p)for(var s of p(a))T.call(a,s)&&g(t,s,a[s]);return t};var _=(t,a,s)=>g(t,typeof a!="symbol"?a+"":a,s);var S=(t,a,s)=>new Promise((o,n)=>{var e=r=>{try{i(s.next(r))}catch(l){n(l)}},c=r=>{try{i(s.throw(r))}catch(l){n(l)}},i=r=>r.done?o(r.value):Promise.resolve(r.value).then(e,c);i((s=s.apply(t,a)).next())});import{aA as O}from"./vue-ipWmmxHk.js";import{P as I,s as A,p as V,n as m,X as b,a as h,L as P,O as R,q as M,c as y,H as N,d as B,Y as L,N as D,W as K,B as x,M as H,K as k,F as w,e as U,f as W,D as Y,g as j,J as F,Q as v,Z as G,t as $,k as z,l as J,o as q,r as X,u as Z,x as C,z as Q,C as aa,E as sa,G as ea,I as ta,R as ra,T as na,U as ia,V as oa,_ as la,a0 as _a,a1 as Ea,a2 as ca,a3 as ga,a4 as pa,a5 as Sa,a6 as ua,a7 as fa,a8 as da,a9 as Ta,aa as Oa,ab as Ia,ac as Aa,ad as Va,ae as ma,af as ba,ag as ha,ah as Pa,ai as Ra,aj as Ma,ak as ya,al as Na,am as Ba,an as La,ao as Da,ap as Ka,h as xa,aq as Ha,ar as ka,as as wa,at as Ua,au as Wa,av as Ya,aw as ja,ax as Fa,ay as va,az as Ga,aA as $a}from"./Editor-DYpQSlV3-B_ic7fGS.js";import{E as za,a as Ja,b as qa,c as Xa}from"./element-plus-COProxbp.js";const Za=Object.freeze(Object.defineProperty({__proto__:null,API_METHOD_TYPES:I,Assets:A,Binder:V,Box:m,Designer:b,DevTools:h,EVENT_MODIFIERS:P,Editor:R,Engine:M,EventBinder:y,GET_TOKENS_LINK:N,Icon:B,Item:L,KEYBOARD_EVENT_LIST:D,MAX_TOKENS:K,MOBILE_SIZE:x,MOUSE_EVENT_LIST:H,MicroApp:k,NAME_REGEX:w,NPM_REGISTRY_URL:U,OpenApi:W,PAD_SIZE:Y,Panel:j,REPORT_API:F,RegionType:v,RegionWrapper:G,Renderer:$,SAVE_BLOCK_FILE_FINISH:z,SESSION_ID_KEY:J,STATE_KEY:q,SetterView:X,SetterWrapper:Z,Simulator:C,Skeleton:Q,SkeletonWrapper:aa,SlotsPicker:sa,State:ea,Tabs:ta,VERSION_REGEX:ra,VTJ_DESIGNER_VERSION:na,VUE_DEVTOOLS_FRAME_STATE_KEY:ia,VUE_DEVTOOLS_OVERLAY_PATH:oa,VUE_DEVTOOLS_PATH:la,VariableBinder:_a,Viewer:Ea,Viewport:ca,WidgetGroup:ga,WidgetWrapper:pa,alert:Sa,builtInDeps:ua,builtInMaterials:fa,builtInSetters:da,builtInWidgets:Ta,confirm:Oa,createSlotsPicker:Ia,defaultSetter:Aa,depsManager:Va,engineKey:ma,expressionValidate:ba,getClassProperties:ha,message:Pa,normalizedStyle:Ra,notify:Ma,proxyContext:ya,readJsonFile:Na,regions:Ba,setterManager:La,setters:Da,useEngine:Ka,widgetManager:xa,widgets:Ha},Symbol.toStringTag,{value:"Module"}));class es{constructor(a){_(this,"urls",[]);_(this,"library","");_(this,"params",[]);_(this,"__BASE_PATH__","/");this.config=a;const s=E(E(E({},Ya),Za),Wa),o={Vue:O,__VTJ_PRO__:s,VtjUtils:Ua,VtjIcons:wa,VtjUI:ka,ElementPlus:za};for(const[l,u]of Object.entries(o))window[l]=u;const{extension:n,__BASE_PATH__:e="/"}=a||{},{urls:c=[],library:i,params:r=[]}=n||{};i&&(this.urls=c,this.library=i,this.params=r,this.__BASE_PATH__=e)}load(){return S(this,null,function*(){let a={};if(this.library){const s=this.__BASE_PATH__,o=this.urls.filter(e=>ja(e)).map(e=>`${s}${e}`),n=this.urls.filter(e=>Fa(e)).map(e=>`${s}${e}`);if(va(o),n.length){const e=yield Ga(n,this.library).catch(()=>null);e&&typeof e=="function"?a=e.call(e,this.config,...this.params):a=e||{}}}return Object.assign({},this.getEngineOptions(),a)})}getEngineOptions(){const a=["materialPath","pageBasePath","pageRouteName","remote","checkVersion","noMask"];return $a(this.config,a)}}function ts(){return Xa.service({lock:!0,text:"Loading",background:"rgba(0, 0, 0, 0.7)"})}function rs(t,a="",s="warning"){qa({title:a,message:t,type:s})}function ns(t,a){return Ja.alert(t,a)}export{es as E,ns as a,ts as l,rs 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__ = '1754012058676';
12
+ var __BUILD_TIME__ = '1754013351198';
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
- <!--{{1754012058676}}-->
28
+ <!--{{1754013351198}}-->
29
29
 
30
- <script type="module" crossorigin src="./assets/index-Y3Wa8yuo.js"></script>
30
+ <script type="module" crossorigin src="./assets/index-C1fA68Qr.js"></script>
31
31
  <link rel="modulepreload" crossorigin href="./assets/vue-ipWmmxHk.js">
32
32
  <link rel="modulepreload" crossorigin href="./assets/lodash-es-BL-d_OSa.js">
33
33
  <link rel="modulepreload" crossorigin href="./assets/@vueuse-WO_0ftym.js">
@@ -51,7 +51,7 @@ version: 2.9.0
51
51
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
52
52
  * @name @vtj/core
53
53
  * @author CHC chenhuachun1549@dingtalk.com
54
- * @version 0.12.69
54
+ * @version 0.12.70
55
55
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
56
56
  */const Hd="VueMaterial",qd="VueRouterMaterial",zd={[Hd]:["Transition","TransitionGroup","KeepAlive","Teleport","Suspense"],[qd]:["RouterView","RouterLink"]};class Kd{constructor(){z(this,"listeners",[]);z(this,"isReady",!1)}triggerReady(){this.isReady=!0;for(const t of this.listeners)t();this.listeners=[]}ready(t){this.isReady?t():this.listeners.push(t)}resetReady(){this.isReady=!1}}var Wd=Object.defineProperty,Jd=(e,t,r)=>t in e?Wd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,lt=(e,t,r)=>Jd(e,typeof t!="symbol"?t+"":t,r);(function(){if(typeof window>"u"||typeof EventTarget>"u")return;const e=EventTarget.prototype.addEventListener;EventTarget.prototype.addEventListener=function(t,r,n){typeof n!="boolean"&&(n=n||{},n.passive=!1),e.call(this,t,r,n)}})();const Yd=e=>typeof e=="symbol";new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Yd));function _s(e,t){return function(){return e.apply(t,arguments)}}const{toString:Gd}=Object.prototype,{getPrototypeOf:mn}=Object,{iterator:Ze,toStringTag:Es}=Symbol,Qe=(e=>t=>{const r=Gd.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),mt=e=>(e=e.toLowerCase(),t=>Qe(t)===e),Xe=e=>t=>typeof t===e,{isArray:oe}=Array,ye=Xe("undefined");function Zd(e){return e!==null&&!ye(e)&&e.constructor!==null&&!ye(e.constructor)&&st(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ss=mt("ArrayBuffer");function Qd(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ss(e.buffer),t}const Xd=Xe("string"),st=Xe("function"),xs=Xe("number"),tr=e=>e!==null&&typeof e=="object",tm=e=>e===!0||e===!1,Ie=e=>{if(Qe(e)!=="object")return!1;const t=mn(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Es in e)&&!(Ze in e)},em=mt("Date"),rm=mt("File"),nm=mt("Blob"),im=mt("FileList"),om=e=>tr(e)&&st(e.pipe),sm=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||st(e.append)&&((t=Qe(e))==="formdata"||t==="object"&&st(e.toString)&&e.toString()==="[object FormData]"))},am=mt("URLSearchParams"),[um,cm,lm,fm]=["ReadableStream","Request","Response","Headers"].map(mt),hm=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function _e(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,i;if(typeof e!="object"&&(e=[e]),oe(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{const o=r?Object.getOwnPropertyNames(e):Object.keys(e),s=o.length;let u;for(n=0;n<s;n++)u=o[n],t.call(null,e[u],u,e)}}function Ts(e,t){t=t.toLowerCase();const r=Object.keys(e);let n=r.length,i;for(;n-- >0;)if(i=r[n],t===i.toLowerCase())return i;return null}const Ft=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Rs=e=>!ye(e)&&e!==Ft;function Lr(){const{caseless:e}=Rs(this)&&this||{},t={},r=(n,i)=>{const o=e&&Ts(t,i)||i;Ie(t[o])&&Ie(n)?t[o]=Lr(t[o],n):Ie(n)?t[o]=Lr({},n):oe(n)?t[o]=n.slice():t[o]=n};for(let n=0,i=arguments.length;n<i;n++)arguments[n]&&_e(arguments[n],r);return t}const pm=(e,t,r,{allOwnKeys:n}={})=>(_e(t,(i,o)=>{r&&st(i)?e[o]=_s(i,r):e[o]=i},{allOwnKeys:n}),e),dm=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),mm=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},gm=(e,t,r,n)=>{let i,o,s;const u={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)s=i[o],(!n||n(s,e,t))&&!u[s]&&(t[s]=e[s],u[s]=!0);e=r!==!1&&mn(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},ym=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},vm=e=>{if(!e)return null;if(oe(e))return e;let t=e.length;if(!xs(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},bm=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&mn(Uint8Array)),wm=(e,t)=>{const r=(e&&e[Ze]).call(e);let n;for(;(n=r.next())&&!n.done;){const i=n.value;t.call(e,i[0],i[1])}},_m=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Em=mt("HTMLFormElement"),Sm=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,r,n){return r.toUpperCase()+n}),ji=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),xm=mt("RegExp"),As=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};_e(r,(i,o)=>{let s;(s=t(i,o,e))!==!1&&(n[o]=s||i)}),Object.defineProperties(e,n)},Tm=e=>{As(e,(t,r)=>{if(st(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(st(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Rm=(e,t)=>{const r={},n=i=>{i.forEach(o=>{r[o]=!0})};return oe(e)?n(e):n(String(e).split(t)),r},Am=()=>{},Om=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function $m(e){return!!(e&&st(e.append)&&e[Es]==="FormData"&&e[Ze])}const jm=e=>{const t=new Array(10),r=(n,i)=>{if(tr(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[i]=n;const o=oe(n)?[]:{};return _e(n,(s,u)=>{const l=r(s,i+1);!ye(l)&&(o[u]=l)}),t[i]=void 0,o}}return n};return r(e,0)},Dm=mt("AsyncFunction"),Bm=e=>e&&(tr(e)||st(e))&&st(e.then)&&st(e.catch),Os=((e,t)=>e?setImmediate:t?((r,n)=>(Ft.addEventListener("message",({source:i,data:o})=>{i===Ft&&o===r&&n.length&&n.shift()()},!1),i=>{n.push(i),Ft.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",st(Ft.postMessage)),Cm=typeof queueMicrotask<"u"?queueMicrotask.bind(Ft):typeof process<"u"&&process.nextTick||Os,Nm=e=>e!=null&&st(e[Ze]),R={isArray:oe,isArrayBuffer:Ss,isBuffer:Zd,isFormData:sm,isArrayBufferView:Qd,isString:Xd,isNumber:xs,isBoolean:tm,isObject:tr,isPlainObject:Ie,isReadableStream:um,isRequest:cm,isResponse:lm,isHeaders:fm,isUndefined:ye,isDate:em,isFile:rm,isBlob:nm,isRegExp:xm,isFunction:st,isStream:om,isURLSearchParams:am,isTypedArray:bm,isFileList:im,forEach:_e,merge:Lr,extend:pm,trim:hm,stripBOM:dm,inherits:mm,toFlatObject:gm,kindOf:Qe,kindOfTest:mt,endsWith:ym,toArray:vm,forEachEntry:wm,matchAll:_m,isHTMLForm:Em,hasOwnProperty:ji,hasOwnProp:ji,reduceDescriptors:As,freezeMethods:Tm,toObjectSet:Rm,toCamelCase:Sm,noop:Am,toFiniteNumber:Om,findKey:Ts,global:Ft,isContextDefined:Rs,isSpecCompliantForm:$m,toJSONObject:jm,isAsyncFn:Dm,isThenable:Bm,setImmediate:Os,asap:Cm,isIterable:Nm};function K(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i,this.status=i.status?i.status:null)}R.inherits(K,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:R.toJSONObject(this.config),code:this.code,status:this.status}}});const $s=K.prototype,js={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{js[e]={value:e}});Object.defineProperties(K,js);Object.defineProperty($s,"isAxiosError",{value:!0});K.from=(e,t,r,n,i,o)=>{const s=Object.create($s);return R.toFlatObject(e,s,function(u){return u!==Error.prototype},u=>u!=="isAxiosError"),K.call(s,e.message,t,r,n,i),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};const Im=null;function Vr(e){return R.isPlainObject(e)||R.isArray(e)}function Ds(e){return R.endsWith(e,"[]")?e.slice(0,-2):e}function Di(e,t,r){return e?e.concat(t).map(function(n,i){return n=Ds(n),!r&&i?"["+n+"]":n}).join(r?".":""):t}function Pm(e){return R.isArray(e)&&!e.some(Vr)}const km=R.toFlatObject(R,{},null,function(e){return/^is[A-Z]/.test(e)});function er(e,t,r){if(!R.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=R.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,d){return!R.isUndefined(d[h])});const n=r.metaTokens,i=r.visitor||a,o=r.dots,s=r.indexes,u=(r.Blob||typeof Blob<"u"&&Blob)&&R.isSpecCompliantForm(t);if(!R.isFunction(i))throw new TypeError("visitor must be a function");function l(h){if(h===null)return"";if(R.isDate(h))return h.toISOString();if(R.isBoolean(h))return h.toString();if(!u&&R.isBlob(h))throw new K("Blob is not supported. Use a Buffer instead.");return R.isArrayBuffer(h)||R.isTypedArray(h)?u&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function a(h,d,m){let b=h;if(h&&!m&&typeof h=="object"){if(R.endsWith(d,"{}"))d=n?d:d.slice(0,-2),h=JSON.stringify(h);else if(R.isArray(h)&&Pm(h)||(R.isFileList(h)||R.endsWith(d,"[]"))&&(b=R.toArray(h)))return d=Ds(d),b.forEach(function(_,y){!(R.isUndefined(_)||_===null)&&t.append(s===!0?Di([d],y,o):s===null?d:d+"[]",l(_))}),!1}return Vr(h)?!0:(t.append(Di(m,d,o),l(h)),!1)}const c=[],f=Object.assign(km,{defaultVisitor:a,convertValue:l,isVisitable:Vr});function p(h,d){if(!R.isUndefined(h)){if(c.indexOf(h)!==-1)throw Error("Circular reference detected in "+d.join("."));c.push(h),R.forEach(h,function(m,b){(!(R.isUndefined(m)||m===null)&&i.call(t,m,R.isString(b)?b.trim():b,d,f))===!0&&p(m,d?d.concat(b):[b])}),c.pop()}}if(!R.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Bi(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function gn(e,t){this._pairs=[],e&&er(e,this,t)}const Bs=gn.prototype;Bs.append=function(e,t){this._pairs.push([e,t])};Bs.toString=function(e){const t=e?function(r){return e.call(this,r,Bi)}:Bi;return this._pairs.map(function(r){return t(r[0])+"="+t(r[1])},"").join("&")};function Fm(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Cs(e,t,r){if(!t)return e;const n=r&&r.encode||Fm;R.isFunction(r)&&(r={serialize:r});const i=r&&r.serialize;let o;if(i?o=i(t,r):o=R.isURLSearchParams(t)?t.toString():new gn(t,r).toString(n),o){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}let Ci=class{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){R.forEach(this.handlers,function(r){r!==null&&t(r)})}};const Ns={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Mm=typeof URLSearchParams<"u"?URLSearchParams:gn,Um=typeof FormData<"u"?FormData:null,Lm=typeof Blob<"u"?Blob:null,Vm={isBrowser:!0,classes:{URLSearchParams:Mm,FormData:Um,Blob:Lm},protocols:["http","https","file","blob","url","data"]},yn=typeof window<"u"&&typeof document<"u",Hr=typeof navigator=="object"&&navigator||void 0,Hm=yn&&(!Hr||["ReactNative","NativeScript","NS"].indexOf(Hr.product)<0),qm=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",zm=yn&&window.location.href||"http://localhost",Km=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:yn,hasStandardBrowserEnv:Hm,hasStandardBrowserWebWorkerEnv:qm,navigator:Hr,origin:zm},Symbol.toStringTag,{value:"Module"})),rt=V(V({},Km),Vm);function Wm(e,t){return er(e,new rt.classes.URLSearchParams,Object.assign({visitor:function(r,n,i,o){return rt.isNode&&R.isBuffer(r)?(this.append(n,r.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Jm(e){return R.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Ym(e){const t={},r=Object.keys(e);let n;const i=r.length;let o;for(n=0;n<i;n++)o=r[n],t[o]=e[o];return t}function Is(e){function t(r,n,i,o){let s=r[o++];if(s==="__proto__")return!0;const u=Number.isFinite(+s),l=o>=r.length;return s=!s&&R.isArray(i)?i.length:s,l?(R.hasOwnProp(i,s)?i[s]=[i[s],n]:i[s]=n,!u):((!i[s]||!R.isObject(i[s]))&&(i[s]=[]),t(r,n,i[s],o)&&R.isArray(i[s])&&(i[s]=Ym(i[s])),!u)}if(R.isFormData(e)&&R.isFunction(e.entries)){const r={};return R.forEachEntry(e,(n,i)=>{t(Jm(n),i,r,0)}),r}return null}function Gm(e,t,r){if(R.isString(e))try{return(t||JSON.parse)(e),R.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const Ee={transitional:Ns,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,i=R.isObject(e);if(i&&R.isHTMLForm(e)&&(e=new FormData(e)),R.isFormData(e))return n?JSON.stringify(Is(e)):e;if(R.isArrayBuffer(e)||R.isBuffer(e)||R.isStream(e)||R.isFile(e)||R.isBlob(e)||R.isReadableStream(e))return e;if(R.isArrayBufferView(e))return e.buffer;if(R.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Wm(e,this.formSerializer).toString();if((o=R.isFileList(e))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return er(o?{"files[]":e}:e,s&&new s,this.formSerializer)}}return i||n?(t.setContentType("application/json",!1),Gm(e)):e}],transformResponse:[function(e){const t=this.transitional||Ee.transitional,r=t&&t.forcedJSONParsing,n=this.responseType==="json";if(R.isResponse(e)||R.isReadableStream(e))return e;if(e&&R.isString(e)&&(r&&!this.responseType||n)){const i=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(o){if(i)throw o.name==="SyntaxError"?K.from(o,K.ERR_BAD_RESPONSE,this,null,this.response):o}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:rt.classes.FormData,Blob:rt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};R.forEach(["delete","get","head","post","put","patch"],e=>{Ee.headers[e]={}});const Zm=R.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Qm=e=>{const t={};let r,n,i;return e&&e.split(`
57
57
  `).forEach(function(o){i=o.indexOf(":"),r=o.substring(0,i).trim().toLowerCase(),n=o.substring(i+1).trim(),!(!r||t[r]&&Zm[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},Ni=Symbol("internals");function fe(e){return e&&String(e).trim().toLowerCase()}function Pe(e){return e===!1||e==null?e:R.isArray(e)?e.map(Pe):String(e)}function Xm(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const tg=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function vr(e,t,r,n,i){if(R.isFunction(n))return n.call(this,t,r);if(i&&(t=r),!!R.isString(t)){if(R.isString(n))return t.indexOf(n)!==-1;if(R.isRegExp(n))return n.test(t)}}function eg(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function rg(e,t){const r=R.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(i,o,s){return this[n].call(this,t,i,o,s)},configurable:!0})})}let at=class{constructor(t){t&&this.set(t)}set(t,r,n){const i=this;function o(u,l,a){const c=fe(l);if(!c)throw new Error("header name must be a non-empty string");const f=R.findKey(i,c);(!f||i[f]===void 0||a===!0||a===void 0&&i[f]!==!1)&&(i[f||l]=Pe(u))}const s=(u,l)=>R.forEach(u,(a,c)=>o(a,c,l));if(R.isPlainObject(t)||t instanceof this.constructor)s(t,r);else if(R.isString(t)&&(t=t.trim())&&!tg(t))s(Qm(t),r);else if(R.isObject(t)&&R.isIterable(t)){let u={},l,a;for(const c of t){if(!R.isArray(c))throw TypeError("Object iterator must return a key-value pair");u[a=c[0]]=(l=u[a])?R.isArray(l)?[...l,c[1]]:[l,c[1]]:c[1]}s(u,r)}else t!=null&&o(r,t,n);return this}get(t,r){if(t=fe(t),t){const n=R.findKey(this,t);if(n){const i=this[n];if(!r)return i;if(r===!0)return Xm(i);if(R.isFunction(r))return r.call(this,i,n);if(R.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=fe(t),t){const n=R.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||vr(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let i=!1;function o(s){if(s=fe(s),s){const u=R.findKey(n,s);u&&(!r||vr(n,n[u],u,r))&&(delete n[u],i=!0)}}return R.isArray(t)?t.forEach(o):o(t),i}clear(t){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const o=r[n];(!t||vr(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const r=this,n={};return R.forEach(this,(i,o)=>{const s=R.findKey(n,o);if(s){r[s]=Pe(i),delete r[o];return}const u=t?eg(o):String(o).trim();u!==o&&delete r[o],r[u]=Pe(i),n[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return R.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=t&&R.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
@@ -62,9 +62,9 @@ version: 2.9.0
62
62
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
63
63
  * @name @vtj/renderer
64
64
  * @author CHC chenhuachun1549@dingtalk.com
65
- * @version 0.12.69
65
+ * @version 0.12.70
66
66
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
67
- */const xr="0.12.69";var et=(e=>(e.Runtime="Runtime",e.Design="Design",e.Raw="Raw",e.VNode="VNode",e))(et||{});const Ji=["$el","$emit","$nextTick","$parent","$root","$attrs","$slots","$watch","$props","$options","$forceUpdate"],Zg=["vIf","vElseIf","vElse","vShow","vModel","vFor","vBind","vHtml"],Qg={String,Number,Boolean,Array,Object,Function,Date},Ue="VtjPage",Tr="VtjHomepage",Xg="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot,svg".split(","),t0="component,slot".split(",");function Be(e,t){return e.map(r=>ds(r)||r.startsWith("/")?r:`${t}${r}`)}function ir(e){return/\.css$/.test(e)}function or(e){return/\.js$/.test(e)}function e0(e){return/\.json$/.test(e)}function r0(e,t=!1){return t&&e.endsWith(".prod.js")?e.replace(".prod.js",".js"):e}function n0(e,t,r=!1){const n=e.filter(p=>!!p.enabled),i=[],o=[],s=[],u=[],l={},a={},c=[],f={};return n.forEach(({urls:p,assetsUrl:h,library:d,assetsLibrary:m,localeLibrary:b})=>{p==null||p.forEach(_=>{or(_)&&i.push(r0(_,r)),ir(_)&&o.push(_)}),d&&(u.push(d),l[d]=Be(p||[],t),b&&(a[d]=b)),h&&s.push(h),m&&c.push(m),d&&m&&(f[m]=d)}),{scripts:Be(i,t),css:Be(o,t),materials:Be(s,t),libraryExports:u,materialExports:$d(c),materialMapLibrary:f,libraryMap:l,libraryLocaleMap:a}}function i0(e,t){var o;const{name:r,parent:n,alias:i}=e;return n?(o=t[n])==null?void 0:o[i||r]:t[i||r]}function o0(e=[]){const t=e.filter(n=>ir(n)),r=e.filter(n=>or(n));return{css:t,js:r}}function s0(e,t){const r=a=>{const c=[];let f=0;for(;f<a.length;){if(/\s/.test(a[f])){f++;continue}if(a.substring(f,f+2)==="/*"){const _=a.indexOf("*/",f+2);if(_!==-1){f=_+2;continue}}if(a[f]==="@"){const _=f;for(;f<a.length&&a[f]!=="{"&&a[f]!==";";)f++;const y=a.substring(_,f).trim(),v=y.includes("@keyframes");if(a[f]===";")c.push({type:"simple-at-rule",content:a.substring(_,f+1)}),f++;else if(a[f]==="{"){const w=f+1;let S=1;for(f++;f<a.length&&S>0;)a[f]==="{"?S++:a[f]==="}"&&S--,f++;const g=a.substring(_,f),x=a.substring(w,f-1);c.push({type:v?"keyframes":"at-rule",rule:y,content:g,inner:x})}continue}const p=f;for(;f<a.length&&a[f]!=="{";)f++;if(f>=a.length)break;const h=a.substring(p,f).trim();if(!h){f++;continue}const d=f+1;let m=1;for(f++;f<a.length&&m>0;)a[f]==="{"?m++:a[f]==="}"&&m--,f++;const b=a.substring(d,f-1);c.push({type:"rule",selector:h,content:b.trim()})}return c},n=a=>{const c=a.trim();return/^(from|to|\d+(\.\d+)?%)$/.test(c)},i=a=>a.replace(/::v-deep\(/g,":deep(").replace(/::v-deep\s+/g,":deep(").replace(/\/deep\//g," ").replace(/>>>/g," ").replace(/(.*?):deep\(([^)]+)\)/g,(c,f,p)=>{const h=f.trim(),d=p.trim();return h?`${h}[${t}] ${d}`:d}),o=a=>{const c=a.trim();if(!c||c.includes(`[${t}]`)||/^(:root|:host|html|body)(\s|$|:|\.|\#|\[)/.test(c)||n(c))return c;const f=c.match(/^(.+?)((?:::?[\w-]+(?:\([^)]*\))?)*)\s*$/);if(f){const[,p,h=""]=f,d=p.trim();return d?`${d}[${t}]${h}`:c}return`${c}[${t}]`},s=a=>i(a).split(",").map(c=>o(c)).filter(c=>c.trim()).join(", "),u=a=>a.map(c=>{switch(c.type){case"simple-at-rule":return c.content;case"keyframes":return c.content;case"at-rule":try{const p=r(c.inner),h=u(p);return`${c.rule} { ${h} }`}catch(p){return c.content}case"rule":if(!c.selector||!c.content)return"";const f=s(c.selector);return f.trim()?`${f} { ${c.content} }`:"";default:return""}}).filter(c=>c.trim()).join(" "),l=a=>a.replace(/\s*{\s*/g," { ").replace(/\s*}\s*/g," } ").replace(/\s*;\s*/g,"; ").replace(/\s*,\s*/g,", ").replace(/\s+/g," ").replace(/^\s+|\s+$/g,"").replace(/\s*}\s*}/g," } }").trim();try{const a=e.replace(/\/\*(?!\s*!)[\s\S]*?\*\//g,"").replace(/^\s+|\s+$/gm,"").replace(/\n\s*\n/g,`
67
+ */const xr="0.12.70";var et=(e=>(e.Runtime="Runtime",e.Design="Design",e.Raw="Raw",e.VNode="VNode",e))(et||{});const Ji=["$el","$emit","$nextTick","$parent","$root","$attrs","$slots","$watch","$props","$options","$forceUpdate"],Zg=["vIf","vElseIf","vElse","vShow","vModel","vFor","vBind","vHtml"],Qg={String,Number,Boolean,Array,Object,Function,Date},Ue="VtjPage",Tr="VtjHomepage",Xg="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot,svg".split(","),t0="component,slot".split(",");function Be(e,t){return e.map(r=>ds(r)||r.startsWith("/")?r:`${t}${r}`)}function ir(e){return/\.css$/.test(e)}function or(e){return/\.js$/.test(e)}function e0(e){return/\.json$/.test(e)}function r0(e,t=!1){return t&&e.endsWith(".prod.js")?e.replace(".prod.js",".js"):e}function n0(e,t,r=!1){const n=e.filter(p=>!!p.enabled),i=[],o=[],s=[],u=[],l={},a={},c=[],f={};return n.forEach(({urls:p,assetsUrl:h,library:d,assetsLibrary:m,localeLibrary:b})=>{p==null||p.forEach(_=>{or(_)&&i.push(r0(_,r)),ir(_)&&o.push(_)}),d&&(u.push(d),l[d]=Be(p||[],t),b&&(a[d]=b)),h&&s.push(h),m&&c.push(m),d&&m&&(f[m]=d)}),{scripts:Be(i,t),css:Be(o,t),materials:Be(s,t),libraryExports:u,materialExports:$d(c),materialMapLibrary:f,libraryMap:l,libraryLocaleMap:a}}function i0(e,t){var o;const{name:r,parent:n,alias:i}=e;return n?(o=t[n])==null?void 0:o[i||r]:t[i||r]}function o0(e=[]){const t=e.filter(n=>ir(n)),r=e.filter(n=>or(n));return{css:t,js:r}}function s0(e,t){const r=a=>{const c=[];let f=0;for(;f<a.length;){if(/\s/.test(a[f])){f++;continue}if(a.substring(f,f+2)==="/*"){const _=a.indexOf("*/",f+2);if(_!==-1){f=_+2;continue}}if(a[f]==="@"){const _=f;for(;f<a.length&&a[f]!=="{"&&a[f]!==";";)f++;const y=a.substring(_,f).trim(),v=y.includes("@keyframes");if(a[f]===";")c.push({type:"simple-at-rule",content:a.substring(_,f+1)}),f++;else if(a[f]==="{"){const w=f+1;let S=1;for(f++;f<a.length&&S>0;)a[f]==="{"?S++:a[f]==="}"&&S--,f++;const g=a.substring(_,f),x=a.substring(w,f-1);c.push({type:v?"keyframes":"at-rule",rule:y,content:g,inner:x})}continue}const p=f;for(;f<a.length&&a[f]!=="{";)f++;if(f>=a.length)break;const h=a.substring(p,f).trim();if(!h){f++;continue}const d=f+1;let m=1;for(f++;f<a.length&&m>0;)a[f]==="{"?m++:a[f]==="}"&&m--,f++;const b=a.substring(d,f-1);c.push({type:"rule",selector:h,content:b.trim()})}return c},n=a=>{const c=a.trim();return/^(from|to|\d+(\.\d+)?%)$/.test(c)},i=a=>a.replace(/::v-deep\(/g,":deep(").replace(/::v-deep\s+/g,":deep(").replace(/\/deep\//g," ").replace(/>>>/g," ").replace(/(.*?):deep\(([^)]+)\)/g,(c,f,p)=>{const h=f.trim(),d=p.trim();return h?`${h}[${t}] ${d}`:d}),o=a=>{const c=a.trim();if(!c||c.includes(`[${t}]`)||/^(:root|:host|html|body)(\s|$|:|\.|\#|\[)/.test(c)||n(c))return c;const f=c.match(/^(.+?)((?:::?[\w-]+(?:\([^)]*\))?)*)\s*$/);if(f){const[,p,h=""]=f,d=p.trim();return d?`${d}[${t}]${h}`:c}return`${c}[${t}]`},s=a=>i(a).split(",").map(c=>o(c)).filter(c=>c.trim()).join(", "),u=a=>a.map(c=>{switch(c.type){case"simple-at-rule":return c.content;case"keyframes":return c.content;case"at-rule":try{const p=r(c.inner),h=u(p);return`${c.rule} { ${h} }`}catch(p){return c.content}case"rule":if(!c.selector||!c.content)return"";const f=s(c.selector);return f.trim()?`${f} { ${c.content} }`:"";default:return""}}).filter(c=>c.trim()).join(" "),l=a=>a.replace(/\s*{\s*/g," { ").replace(/\s*}\s*/g," } ").replace(/\s*;\s*/g,"; ").replace(/\s*,\s*/g,", ").replace(/\s+/g," ").replace(/^\s+|\s+$/g,"").replace(/\s*}\s*}/g," } }").trim();try{const a=e.replace(/\/\*(?!\s*!)[\s\S]*?\*\//g,"").replace(/^\s+|\s+$/gm,"").replace(/\n\s*\n/g,`
68
68
  `),c=r(a),f=u(c);return l(f)}catch(a){return console.error("CSS scoping failed:",a),console.error("Input CSS:",e),e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/(@keyframes\s+[^{]+\s*{[^{}]*(?:{[^}]*}[^{}]*)*})/g,c=>c).replace(/([^{}@]+)(?=\s*{)/g,c=>{const f=c.trim();return!f||f.startsWith("@")||f.includes(`[${t}]`)||n(f)?c:`${f}[${t}]`})}}function Zs(e){return $t(e)?e:JSON.stringify(e)}function wn(e,t,r,n=!1){const i=e.CSSStyleSheet,o=n?`data-v-${t}`:t,s=n?s0(r,o):r;if(i.prototype.replaceSync){const u=new i;u.id=t,u.replaceSync(s);const l=e.document,a=l.adoptedStyleSheets,c=Array.from(a).filter(f=>f.id!==t);l.adoptedStyleSheets=[...c,u]}else{const u=e.document;let l=u.getElementById(t);l?l.innerHTML=s:(l=u.createElement("style"),l.id=t,l.innerHTML=s,u.head.appendChild(l))}}function a0(e,t){return k(this,null,function*(){const r=yield window.fetch(t).then(n=>n.text()).catch(()=>"");r&&wn(window,e,r)})}function Qs(e,t=window){const r=t.document,n=t.document.head;for(const i of e)if(!r.getElementById(i)){const o=r.createElement("link");o.rel="stylesheet",o.id=i,o.href=i,n.appendChild(o)}}function Xs(n,i){return k(this,arguments,function*(e,t,r=window){const o=r.document,s=r.document.head;let u=r[t];return u?u.default||u:new Promise((l,a)=>{for(const c of e){const f=o.createElement("script");f.src=c,f.onload=()=>{u=r[t],u?l(u.default||u):a(null)},f.onerror=p=>{a(p)},s.appendChild(f)}})})}function u0(e){return Lt(e)||Lt(e==null?void 0:e.install)}function c0(e){return t0.includes(e)}function l0(e){return Xg.includes(e)}function ve(e=window){const t=window==null?void 0:window.Mock;if(t)return t;const r=e==null?void 0:e.Mock;if(r&&window)return window.Mock=r,r}function be(e,t,r=!1,n=!1){var i;try{const o=['"use strict";',"var __self = arguments[0];"];o.push("return ");let s=(e.value||"").trim();s=s.replace(/this(\W|$)/g,(l,a)=>`__self${a}`),s=o.join(`
69
69
  `)+s;const u=`with(${r?"{}":"$scope || {}"}) { ${s} }`;return new Function("$scope",u)(t)}catch(o){if(te.error("parseExpression.error",o,e,(i=t==null?void 0:t.__self)!=null?i:t),n)throw o}}function ze(e,t,r=!1,n=!1){var o;const i=be(e,t,r,n);if(typeof i!="function"&&(te.error("parseFunction.error","not a function",e,(o=t==null?void 0:t.__self)!=null?o:t),n))throw new Error(`"${e.value}" not a function`);return i}function pt(e){return e&&e.type==="JSExpression"}function sr(e){return typeof e=="object"&&e&&e.type==="JSFunction"}const f0={session:!1,authKey:"Authorization",storageKey:"ACCESS_STORAGE",storagePrefix:"__VTJ_",unauthorized:void 0,auth:"/#/login",redirectParam:"r",unauthorizedCode:401,unauthorizedMessage:"登录已经失效,请重新登录!",noPermissionMessage:"无权限访问该页面",appName:"",statusKey:"code"},h0=Symbol("access");class p0{constructor(t){z(this,"options");z(this,"data",null);z(this,"mode",et.Raw);z(this,"interceptResponse",!0);this.options=Object.assign({},f0,t),this.loadData()}enableIntercept(){this.interceptResponse=!0}disableIntercept(){this.interceptResponse=!1}connect(t){const{mode:r,router:n,request:i}=t;this.mode=r,n&&this.mode===et.Raw&&this.setGuard(n),i&&this.setRequest(i)}login(t){const{storageKey:r,storagePrefix:n,session:i,authKey:o}=this.options;this.setData(t),this.data&&(_r.save(r,t,{type:"local",prefix:n}),i&&Sr.set(o,this.data.token))}clear(){const{storageKey:t,storagePrefix:r,session:n,authKey:i}=this.options;this.data=null,_r.remove(t,{type:"local",prefix:r}),n&&Sr.remove(i)}logout(){this.clear(),this.toLogin()}getData(){return this.data?this.data:(this.loadData(),this.data)}getToken(){var t;return this.data||this.loadData(),(t=this.data)==null?void 0:t.token}can(t){const{appName:r}=this.options,{permissions:n={}}=this.data||{};return typeof t=="function"?t(n):$i(t).every(i=>n[i]||n[r+"."+i])}some(t){const{appName:r}=this.options,{permissions:n={}}=this.data||{};return $i(t).some(i=>n[i]||n[r+"."+i])}install(t){t.config.globalProperties.$access=this,t.provide(h0,this)}isAuthPath(t){const{auth:r,isAuth:n}=this.options;if(n)return n(t);if(t.path&&typeof r=="string"){const i=r.split("#")[1]||r;return t.path===i}return!1}toLogin(){const{auth:t,redirectParam:r}=this.options;if(!t)return;const n=r?`?${r}=${encodeURIComponent(location.href)}`:"";typeof t=="function"?t(n):location.href=r?`${t}${n}`:t}setData(t){const{privateKey:r}=this.options;if(Array.isArray(t)&&r){const n=t.map(i=>Oi(i,r));try{this.data=JSON.parse(n.join(""))}catch(i){console.warn(i)}return}if(typeof t=="string")try{const n=r?Oi(t,r):t;n?this.data=JSON.parse(n):console.warn("RSA解密失败或登录信息缺失")}catch(n){console.warn(n)}else this.data=t}loadData(){const{storageKey:t,storagePrefix:r}=this.options,n=_r.get(t,{type:"local",prefix:r});this.setData(n||null)}isLogined(){const{session:t,authKey:r}=this.options;return t&&r?!!Sr.get(r):!!this.getToken()}hasRoutePermission(t){if(t.name===Ue){const r=t.params.id;return r&&this.can(r)}return!0}setGuard(t){t.beforeEach((r,n,i)=>this.guard(r,i))}guard(t,r){return k(this,null,function*(){if(this.isWhiteList(t)||this.isAuthPath(t))return r();if(this.isLogined()){if(this.hasRoutePermission(t))return r();{const{noPermissionMessage:n="无权限访问",unauthorized:i=!1}=this.options;return yield this.showTip(n),Lt(i)?(i(),r(!1)):$t(i)?r(i):r(!1)}}r(!1),this.toLogin()})}isWhiteList(t){const{whiteList:r}=this.options;return r?Array.isArray(r)?r.some(n=>t.fullPath.startsWith(n)):r(t):!1}isUnauthorized(t){var i;const{unauthorizedCode:r=401,statusKey:n="code"}=this.options;return t.status===r||((i=t.data)==null?void 0:i[n])===r}showUnauthorizedAlert(t){return k(this,null,function*(){const{unauthorizedMessage:r="登录已失效"}=this.options;this.isUnauthorized(t)&&(yield this.showTip(r),this.toLogin())})}showTip(t){return k(this,null,function*(){var n;const{alert:r}=this.options;return r?(yield hn(150),yield(n=r(t,{title:"提示",type:"warning"}))==null?void 0:n.catch(()=>!1)):!1})}setRequest(t){t.useRequest(r=>{var n,i;return(n=this.data)!=null&&n.token&&(r.headers[this.options.authKey]=(i=this.data)==null?void 0:i.token),r}),t.useResponse(r=>k(this,null,function*(){return this.interceptResponse&&(yield this.showUnauthorizedAlert(r)),r}),r=>k(this,null,function*(){if(!this.interceptResponse)return Promise.reject(r);const n=r.response||r||{};return yield this.showUnauthorizedAlert(n),Promise.reject(r)}))}}function d0(e={}){const{notify:t,loading:r,settings:n={},Startup:i,access:o,useTitle:s,alert:u}=e;let l=null;return{request:vn({settings:V({type:"form",validSuccess:!0,originResponse:!1,loading:!0,validate:a=>{var c,f;return((c=a.data)==null?void 0:c.code)===0||!!((f=a.data)!=null&&f.success)},failMessage:!0,showError:a=>{t&&t(a||"未知错误")},showLoading:()=>{l&&l.close(),r&&(l=r())},hideLoading:()=>{l&&(l.close(),l=null)}},n)}),jsonp:Gs,notify:t,loading:r,useTitle:s,startupComponent:i,access:o?new p0(V({alert:u},o)):void 0}}function m0(e,t){const{jsonp:r,request:n}=t;if(e.method==="jsonp")return(i={})=>r(e.url,tt(V({},e.jsonpOptions),{query:i}));{const i=e.headers?be(e.headers,{},!0):void 0,o={url:e.url,method:e.method,settings:tt(V({},e.settings),{headers:i})};return(s,u)=>(delete o.data,n.send(he(o,u||{},{data:s})))}}function g0(e,t){const{metaQuery:r}=t;if(!r)return;const{code:n,queryCode:i}=e;return(o,s)=>{if(!r){console.warn("adapter.metaQuery is not defined!");return}return r(n,i,o,s)}}function y0(e=[],t=[],r){const n={};for(const i of e)n[i.id]=m0(i,r);for(const i of t)n[i.id]=g0(i,r);return n}function v0(){return k(this,arguments,function*(e=[],t=window){const r=ve(t);r&&(ta(t),e.forEach(n=>w0(r,n)))})}function b0(e,t=window){const r=sr(e.mockTemplate)&&e.mockTemplate.value?ze(e.mockTemplate,{},!0):void 0,n=ve(t);return(...i)=>k(null,null,function*(){let o={};if(r)try{o=yield r.apply(r,i)}catch(s){te.warn("模拟数据模版异常",s)}return n==null?void 0:n.mock(o)})}function w0(e,t){if(!t.mock)return;const{url:r,mockTemplate:n}=t;if(r&&n){const i=dn(`${r}(.*)`),o=Nd(r,{decode:decodeURIComponent}),s=be(n,{},!0);e.mock(i,u=>{var f;const l=Me.parse(u.url)||{},a=u.body instanceof FormData?Dg(u.body):u.body,c=(f=o(u.url))==null?void 0:f.params;return Object.assign(u,{data:a,params:l,query:c}),e.mock(s(u))})}}function ta(e=window){const t=ve(e);t&&(t._mocked={})}class _0{constructor(t){z(this,"__id",null);z(this,"__mode");z(this,"__instance",null);z(this,"__contextRefs",{});z(this,"__refs",{});z(this,"context",{});z(this,"state",{});z(this,"props",{});z(this,"$props",{});z(this,"$refs",{});z(this,"$el",null);z(this,"$emit",null);z(this,"$nextTick",null);z(this,"$parent",null);z(this,"$root",null);z(this,"$attrs",null);z(this,"$slots",null);z(this,"$watch",null);z(this,"$options",null);z(this,"$forceUpdate",null);z(this,"$components",{});z(this,"$libs",{});z(this,"$apis",{});z(this,"__transform",{});const{mode:r,dsl:n,attrs:i}=t;this.__mode=r,n&&(this.__id=n.id||null,this.__transform=n.transform||{}),i&&Object.assign(this,i)}setup(t,r=Ke){const n=r.getCurrentInstance();if(!n)return;this.__refs={},this.$refs={},this.context={},this.__contextRefs={},this.__instance=n.proxy;const i=n.appContext.config.globalProperties;Object.assign(this,i),Object.assign(this,t||{}),this.__proxy(),r.onMounted(()=>{this.__proxy()}),r.onUnmounted(()=>{this.__cleanup()}),r.onBeforeUpdate(()=>{this.__reset()})}__proxy(){this.__instance&&Ji.forEach(t=>{var r;this[t]=(r=this.__instance)==null?void 0:r[t]})}__cleanup(){Ji.forEach(t=>{this[t]=null}),this.__reset()}__reset(){this.__refs={},this.$refs={},this.__contextRefs={},this.context={}}__parseFunction(t){var r;if(t)if(this.__mode===et.Runtime){const{id:n,type:i}=t,o=n&&(r=this.__transform[n])!=null?r:t.value;return ze({type:i,value:o},this)}else return ze(t,this)}__parseExpression(t){var r;if(t)if(this.__mode===et.Runtime){const{id:n,type:i}=t,o=n&&(r=this.__transform[n])!=null?r:t.value;return be({type:i,value:o},this)}else return be(t,this)}__ref(t=null,r){if(this.__mode!==et.VNode)return t&&t!==this.__id&&(this.__contextRefs[t]=this),n=>k(this,null,function*(){var o,s;yield hn(0);let i=(n==null?void 0:n.$vtjEl)||(n==null?void 0:n.$el)||((s=(o=n==null?void 0:n._)==null?void 0:o.vnode)==null?void 0:s.el)||n;if(!i){typeof r=="string"&&(delete this.$refs[r],t&&delete this.__refs[t]);return}return i.nodeType===3&&i.nextSibling&&(i=i.nextSibling),i.__vtj__=t,et.Design===this.__mode&&(i.__context__=this,i.draggable=!0),t&&(this.__refs[t]=this.__getRefEl(this.__refs,t,n)),typeof r=="function"?r(n):r&&(this.$refs[r]=this.__getRefEl(this.$refs,r,n)),n})}__getRefEl(t,r,n){const i=t[r];if(i&&n!==i){const o=new Set([].concat(i,n));return Array.from(o)}else return n}__clone(t={}){const r=V(V({},this.context),t),n=tt(V({},r),{context:r});return n.context.__proto__=this.context,n.__proto__=this,n}}function Zr(e){var f,p;const{Vue:t=Ke,mode:r=et.Runtime,components:n={},libs:i={},apis:o={},loader:s}=e,u=t.computed(()=>e.dsl),l={$components:n,$libs:i,$apis:o},a=new _0({mode:r,dsl:u.value,attrs:l}),c=t.defineComponent(V({name:u.value.name,__scopeId:u.value.id?`data-v-${u.value.id}`:void 0,props:V({},S0((f=u.value.props)!=null?f:[],a)),setup(h){var v,w,S,g;a.$props=h,a.props=h,u.value.id&&wn(e.window||window,u.value.id,u.value.css||"",!0),a.state=x0(t,(v=u.value.state)!=null?v:{},a);const d=T0(t,(w=u.value.computed)!=null?w:{},a),m=R0((S=u.value.methods)!=null?S:{},a),b=A0(t,u.value.inject,a);for(const[x,A]of Object.entries(b||{}))b[x]=t.inject(x,A);const _=O0(u.value.dataSources||{},a),y=V(V(V(V({},b),d),m),_);return a.setup(y,t),$0(t,(g=u.value.watch)!=null?g:[],a),{vtj:a}},emits:E0(u.value.emits),expose:["vtj"],render(){if(!u.value.nodes)return null;const h=u.value.nodes||[];return h.length===1?re(h[0],a,t,s,h):h.map(d=>re(d,a,t,s,h))}},j0((p=u.value.lifeCycles)!=null?p:{},a)));return{renderer:t.markRaw(c),context:a}}function E0(e=[]){return e.map(t=>$t(t)?t:t.name)}function S0(e=[],t){const r=n=>n?(Array.isArray(n)?n:[n]).map(i=>Qg[i]):void 0;return e.map(n=>$t(n)?{name:n}:{name:n.name,type:n.type,required:n.required,default:pt(n.default)?t.__parseExpression(n.default):n.default}).reduce((n,i)=>(n[i.name]={type:r(i.type),required:i.required,default:i.default},n),{})}function x0(e,t,r){return e.reactive(Object.keys(t||{}).reduce((n,i)=>{let o=t[i];return pt(o)?o=r.__parseExpression(o):sr(o)&&(o=r.__parseFunction(o)),n[i]=o,n},{}))}function T0(e,t,r){return Object.entries(t!=null?t:{}).reduce((n,[i,o])=>(n[i]=e.computed(r.__parseFunction(o)),n),{})}function R0(e,t){return Object.entries(e!=null?e:{}).reduce((r,[n,i])=>(r[n]=t.__parseFunction(i),r),{})}function A0(e,t=[],r){return t.reduce((n,i)=>{var a;const{name:o,from:s}=i||{};i.default;const u=pt(s)?r.__parseExpression(s)||o:s!=null?s:o,l=pt(i.default)?r.__parseExpression(i.default):(a=i.default)!=null?a:null;return n[o]=e.inject(u,l),n},{})}function O0(e,t){return Object.keys(e).reduce((r,n)=>{const i=e[n];if(i.type==="mock")r[n]=b0(i);else if(i.ref){const o=t.$apis[i.ref],s=sr(i.transform)?i.transform.value?t.__parseFunction(i.transform):void 0:i.transform;r[n]=(...u)=>k(null,null,function*(){const l=yield o.apply(t,u);return s?s(l):l})}return r},{})}function $0(e,t=[],r){t.forEach(n=>{e.watch(r.__parseExpression(n.source),r.__parseFunction(n.handler),{deep:n.deep,immediate:n.immediate})})}function j0(e,t){return Object.entries(e!=null?e:{}).reduce((r,[n,i])=>{const o=t.__parseFunction(i);return r[n]=()=>k(null,null,function*(){yield hn(0),Lt(o)&&o()}),r},{})}const D0=new Vd;let Rr=[],Yt={};const B0=e=>e;function ea(r){return k(this,arguments,function*(e,t=window){const{urls:n=[],library:i}=e,o=n.filter(u=>or(u));if(o.length===0||!i)return null;const s=n.filter(u=>ir(u));return s.length&&Qs(s,t),yield Xs(o,i,t).catch(u=>(console.warn("loadScriptUrl error",o,i,u),null))})}function Qr(e){const{getDsl:t,getDslByUrl:r,options:n}=e;return n.window&&(Rr.forEach(i=>{delete n.window[i]}),Rr=[]),(i,o,s=Ke)=>{if(!o||typeof o=="string")return i;if(o.type==="Schema"&&o.id)return s.defineAsyncComponent(()=>k(null,null,function*(){const u=Yt[o.id]||(yield D0.add(o.id,()=>t(o.id)));return u&&(u.name=i,Yt[o.id]=u),u?Zr(tt(V({},n),{Vue:s,dsl:ni(u),mode:et.Runtime,loader:Qr(e)})).renderer:null}));if(o.type==="UrlSchema"&&o.url)return s.defineAsyncComponent(()=>k(null,null,function*(){const u=Yt[o.url]||(yield r(o.url));return u&&(u.name=i,Yt[o.url]=u),u?Zr(tt(V({},n),{Vue:s,dsl:ni(u),mode:et.Runtime,loader:Qr(e)})).renderer:null}));if(o.type==="Plugin"){let u=o.library?Yt[o.library]:null;return u||(o.library&&Rr.push(o.library),u=Yt[o.library||Symbol()]=s.defineAsyncComponent(()=>k(null,null,function*(){return(yield ea(o,n.window))||(console.warn("getPlugin result is null",o),null)})),u)}return i}}function re(e,t,r=Ke,n=B0,i=[],o=!1){var v;if(!e||!e.name||e.invisible)return null;const s=(v=r.getCurrentInstance())==null?void 0:v.appContext,{id:u=null,directives:l=[]}=e,{vIf:a,vElseIf:c,vElse:f,vFor:p,vShow:h,vModels:d,vBind:m,vHtml:b,others:_}=ra(l);if(!o&&(c||f))return null;if(a&&!N0(a,t))return F0(e,t,r,n,i);const y=(w,S=0)=>{var j,N,L,M;const g=w.$components,x=(()=>{var q,O,D,C;if(e.name==="component")return I0(w,(q=e.props)==null?void 0:q.is);if(e.name==="slot")return e.name;const H=n(e.name,e.from,r);if($t(H))return c0(H)||l0(H)?H:(C=(D=g[H])!=null?D:(O=s==null?void 0:s.app)==null?void 0:O.component(H))!=null?C:H;if(ct(H)&&e.id){const I=`Loader${e.id}_${S}`;return g[I]||(g[I]=H)}return H})(),A=P0(u,(j=e.props)!=null?j:{},w),U=k0(r,(N=e.events)!=null?N:{},w);if(e.name==="slot")return M0(r,e,A,w,n);m&&Object.assign(A,w.__parseExpression(m.value)),h&&(A.style=Object.assign((L=A.style)!=null?L:{},L0(h,w))),b&&Object.assign(A,V0(b,w)),d.forEach(H=>{Object.assign(A,H0(r,H,w))});const E=q0(r,(M=e.children)!=null?M:[],w,n,e),T=w!=null&&w.__id?`data-v-${w.__id}`:void 0,F=T?{[T]:""}:{};let B=r.createVNode(x,V(V(V({key:`${u}_${S}`},F),A),U),E);const P=s?C0(s,_,w):[];return P.length&&(B=r.withDirectives(B,P)),B};return p?W0(p,y,t):y(t)}function C0(e,t,r){const n=e.app;return t.map(i=>{const o=typeof i.name=="string"?n.directive(i.name):r.__parseExpression(i.name);if(!o)return null;const s=[o];return i.value&&s.push(r.__parseExpression(i.value)),i.arg&&s.push(i.arg),i.modifiers&&s.push(i.modifiers),s}).filter(i=>!!i)}function ra(e=[]){const t=e.find(c=>wt(c.name)==="vIf"),r=e.find(c=>wt(c.name)==="vElseIf"),n=e.find(c=>wt(c.name)==="vElse"),i=e.find(c=>wt(c.name)==="vFor"),o=e.find(c=>wt(c.name)==="vShow"),s=e.find(c=>wt(c.name)==="vBind"),u=e.find(c=>wt(c.name)==="vHtml"),l=e.filter(c=>wt(c.name)==="vModel"),a=e.filter(c=>!Zg.includes(wt(c.name)));return{vIf:t,vElseIf:r,vElse:n,vFor:i,vShow:o,vModels:l,vBind:s,others:a,vHtml:u}}function N0(e,t){return!!t.__parseExpression(e.value)}function I0(e,t){return t?pt(t)?e.__parseExpression(t):t:"div"}function P0(e,t,r){const n=Xr(t,r);return n.ref=r.__ref(e,n.ref),n}function Xr(e,t){return pt(e)?t.__parseExpression(e):sr(e)?t.__parseFunction(e):Array.isArray(e)?e.map(r=>Xr(r,t)):typeof e=="object"?Object.keys(e||{}).reduce((r,n)=>{let i=e[n];return r[n]=Xr(i,t),r},{}):e}function k0(e,t,r){const n=["passive","capture","once"],i={capture:"Capture",once:"Once",passive:"OnceCapture"};return Object.keys(t||{}).reduce((o,s)=>{const u=t[s],l=na(u.modifiers),a=l.find(p=>n.includes(p)),c="on"+jo(s)+(a&&i[a]||""),f=r.__parseFunction(u.handler);return f&&(o[c]=e.withModifiers(f,l)),o},{})}function F0(e,t,r,n,i=[]){let o=i.findIndex(s=>s.id===e.id);for(let s=++o;s<i.length;s++){const{directives:u=[]}=i[s],{vElseIf:l,vElse:a}=ra(u);if(l){if(t.__parseExpression(l.value))return re(i[s],t,r,n,i,!0);continue}if(a)return re(i[s],t,r,n,i,!0)}return null}function na(e={},t=!1){const r=Object.keys(e);return t?r.map(n=>"."+n):r}function M0(e,t,r,n,i){var l;const{children:o}=t,s=U0(t,n),u=(l=n.$slots)==null?void 0:l[s.name];return u?u(r):o?$t(o)?e.createTextVNode(o):pt(o)?e.createTextVNode(Zs(n.__parseExpression(o))):Array.isArray(o)?o.map(a=>re(a,n,e,i,o)):null:null}function U0(e,t){const{props:r}=e,n=(r==null?void 0:r.name)||"default";return{name:pt(n)?t.__parseExpression(n):n,params:[]}}function L0(e,t){return t.__parseExpression(e.value)?{}:{display:"none"}}function V0(e,t){return{innerHTML:t.__parseExpression(e.value)||""}}function H0(e,t,r){var u;const n={type:"JSFunction",value:(u=t.value)!=null&&u.value?`(v) => {
70
70
  ${t.value.value} = v;
@@ -72,6 +72,6 @@ version: 2.9.0
72
72
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
73
73
  * @name @vtj/uni
74
74
  * @author CHC chenhuachun1549@dingtalk.com
75
- * @version 0.12.69
75
+ * @version 0.12.70
76
76
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
77
77
  */const iy=["onLaunch","onShow","onHide","onError","onPageNotFound","onUnhandledRejection","onThemeChange","onPageNotFound","onUniNViewMessage","onExit"],Yi="/pages",oy="VTJ",sy="__UNI__1FC118B",ay="VTJ移动跨端项目",uy="1.0.0",cy="100",ly=!1,fy={},hy={enable:!1},py="3",dy={name:oy,appid:sy,description:ay,versionName:uy,versionCode:cy,transformPx:ly,"app-plus":{usingComponents:!0,nvueStyleCompiler:"uni-app",compilerVersion:3,splashscreen:{alwaysShowBeforeRender:!0,waiting:!0,autoclose:!0,delay:0},modules:{},distribute:{android:{permissions:['<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/>','<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>','<uses-permission android:name="android.permission.VIBRATE"/>','<uses-permission android:name="android.permission.READ_LOGS"/>','<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>','<uses-feature android:name="android.hardware.camera.autofocus"/>','<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>','<uses-permission android:name="android.permission.CAMERA"/>','<uses-permission android:name="android.permission.GET_ACCOUNTS"/>','<uses-permission android:name="android.permission.READ_PHONE_STATE"/>','<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>','<uses-permission android:name="android.permission.WAKE_LOCK"/>','<uses-permission android:name="android.permission.FLASHLIGHT"/>','<uses-feature android:name="android.hardware.camera"/>','<uses-permission android:name="android.permission.WRITE_SETTINGS"/>']},ios:{},sdkConfigs:{},icons:{android:{hdpi:"src/static/logo.png",xhdpi:"src/static/logo.png",xxhdpi:"src/static/logo.png",xxxhdpi:"src/static/logo.png"}}}},quickapp:fy,"mp-weixin":{appid:"",setting:{urlCheck:!1},usingComponents:!0},"mp-alipay":{usingComponents:!0},"mp-baidu":{usingComponents:!0},"mp-toutiao":{usingComponents:!0},uniStatistics:hy,vueVersion:py},my=[],gy={navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"},yy={autoscan:!0,custom:{"^uni-(.*)":"@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue"}},vy={pages:my,globalStyle:gy,easycom:yy};function by(e){let{manifestJson:t={},pagesJson:r={},routes:n=[]}=e;const i=n.map(o=>{const{path:s,style:u,needLogin:l}=o;return{path:s,style:u,needLogin:l}});return tt(V({},e),{manifestJson:Object.assign({},dy,t),pagesJson:Object.assign({},vy,r,{pages:i})})}const rn={navigationBarBackgroundColor:"backgroundColor",navigationBarTextStyle:"titleColor",navigationBarTitleText:"titleText",navigationStyle:"style",titleImage:"titleImage",titlePenetrate:"titlePenetrate",transparentTitle:"transparentTitle"};function sa(e){const t={},r={black:"#000000",white:"#ffffff"};for(const n in e)rn[n]&&(t[rn[n]]=n==="navigationBarTextStyle"?r[e[n]]||r.black:e[n]);return t}function wy(e){const t={};for(const r in e)rn[r]||(t[r]=e[r]);return t}function _y(e){var t,r;return((r=(t=e.h5)==null?void 0:t.router)==null?void 0:r.mode)||"hash"}function Ey(e){var t,r,n;return{topWindow:!!((t=e.topWindow)!=null&&t.path),leftWindow:!!((r=e.leftWindow)!=null&&r.path),rightWindow:!!((n=e.rightWindow)!=null&&n.path)}}function Sy(e){const{pagesJson:t={}}=e,{globalStyle:r,pages:n=[]}=t;return!!(r!=null&&r.enablePullDownRefresh||n.find(i=>{var o;return!!((o=i.style)!=null&&o.enablePullDownRefresh)}))}function xy(e){const{pagesJson:t={}}=e,{globalStyle:r,pages:n=[]}=t;let i=!1;return(r==null?void 0:r.navigationStyle)==="custom"?(i=!0,n.find(o=>{var s;return((s=o.style)==null?void 0:s.navigationStyle)==="default"})&&(i=!1)):n.every(o=>{var s;return((s=o.style)==null?void 0:s.navigationStyle)==="custom"})&&(i=!0),i}function Ty(e){var u;const t=xy(e),r={navigationBar:!1,navigationBarButtons:!1,navigationBarSearchInput:!1,navigationBarTransparent:!1},{pagesJson:n={}}=e,{globalStyle:i,pages:o=[]}=n;if(t)return r;r.navigationBar=!0;const s=(u=i==null?void 0:i.h5)==null?void 0:u.titleNView;return o.find(l=>{var a,c,f;return!!((f=(c=(a=l.style)==null?void 0:a.h5)==null?void 0:c.titleNView)!=null&&f.buttons.length)})&&(r.navigationBarButtons=!0),(s!=null&&s.searchInput||o.find(l=>{var a,c,f;return!!((f=(c=(a=l.style)==null?void 0:a.h5)==null?void 0:c.titleNView)!=null&&f.searchInput)}))&&(r.navigationBarSearchInput=!0),((s==null?void 0:s.type)==="transparent"||o.find(l=>{var a,c,f;return((f=(c=(a=l.style)==null?void 0:a.h5)==null?void 0:c.titleNView)==null?void 0:f.type)==="transparent"}))&&(r.navigationBarTransparent=!0),r}function Ry(e,t=window){var p,h,d,m;const{pagesJson:r={},manifestJson:n={}}=e,{topWindow:i,leftWindow:o,rightWindow:s}=Ey(r),{navigationBar:u,navigationBarButtons:l,navigationBarSearchInput:a,navigationBarTransparent:c}=Ty(e),f={__VUE_OPTIONS_API__:!0,__VUE_PROD_DEVTOOLS__:!1,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__:!1,__UNI_FEATURE_WX__:!1,__UNI_FEATURE_WXS__:!1,__UNI_FEATURE_RPX__:!1,__UNI_FEATURE_PROMISE__:!1,__UNI_FEATURE_LONGPRESS__:!1,__UNI_FEATURE_I18N_EN__:!1,__UNI_FEATURE_I18N_ES__:!1,__UNI_FEATURE_I18N_FR__:!1,__UNI_FEATURE_I18N_ZH_HANS__:!0,__UNI_FEATURE_I18N_ZH_HANT__:!1,__UNI_FEATURE_UNI_CLOUD__:!1,__UNI_FEATURE_I18N_LOCALE__:!1,__UNI_FEATURE_NVUE__:!1,__UNI_FEATURE_ROUTER_MODE__:_y(n),__UNI_FEATURE_PAGES__:!!((p=r.pages)!=null&&p.length),__UNI_FEATURE_TABBAR__:!!((d=(h=r.tabBar)==null?void 0:h.list)!=null&&d.length),__UNI_FEATURE_TABBAR_MIDBUTTON__:!!((m=r.tabBar)!=null&&m.midButton),__UNI_FEATURE_TOPWINDOW__:i,__UNI_FEATURE_LEFTWINDOW__:o,__UNI_FEATURE_RIGHTWINDOW__:s,__UNI_FEATURE_RESPONSIVE__:!1,__UNI_FEATURE_NAVIGATIONBAR__:u,__UNI_FEATURE_PULL_DOWN_REFRESH__:Sy(e),__UNI_FEATURE_NAVIGATIONBAR_BUTTONS__:l,__UNI_FEATURE_NAVIGATIONBAR_SEARCHINPUT__:a,__UNI_FEATURE_NAVIGATIONBAR_TRANSPARENT__:c};Object.entries(f).forEach(([b,_])=>{t[b]=_})}const Ay="4.57";function Oy(e,t=window){var f,p;const{pagesJson:r={},manifestJson:n={}}=e,{easycom:i={}}=r,{appid:o="",name:s="",versionCode:u="",versionName:l=""}=n,a=r.globalStyle,c=((f=n.h5)==null?void 0:f.router)||{};t.__uniConfig={easycom:i,globalStyle:tt(V({},wy(a)),{navigationBar:sa(a),isNVue:!1}),compilerVersion:Ay,appId:o,appName:s,appVersion:l,appVersionCode:String(u),async:V({loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0},((p=n.h5)==null?void 0:p.async)||{}),debug:!1,networkTimeout:V({request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},n.networkTimeout||{}),sdkConfigs:{},nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:{},router:V({mode:"hash",base:"/",assets:"assets",routerBase:c.base||"/"},c),darkmode:!1,themeConfig:{},tabBar:r.tabBar?V({position:"bottom",color:"#7A7E83",selectedColor:"#3cc51f",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",backgroundColor:"#ffffff",selectedIndex:0,shown:!0},r.tabBar):void 0}}function $y(e,t=window){const{UniServiceJSBridge:r,UniViewJSBridge:n,getApp:i,uni:o,getCurrentPages:s,upx2px:u,setupPage:l}=e;t.UniServiceJSBridge=r,t.UniViewJSBridge=n,t.getApp=i,t.uni=o,t.wx=o,t.getCurrentPages=s,t.upx2px=u,t.__setupPage=a=>l(a)}function jy(e,t,r){const{openBlock:n,createBlock:i,withCtx:o,createVNode:s}=e,{PageComponent:u,setupPage:l,getApp:a}=t;return{mpType:"page",setup(){return k(this,null,function*(){var m,b;const f=((b=(m=a())==null?void 0:m.$route)==null?void 0:b.query)||{},{loader:p,component:h}=r,d=p?yield p(r):h||{};return()=>(n(),i(u,null,{page:o(()=>[s(l(d),Object.assign({},f,{ref:"page"}),null,512)]),_:1}))})}}}function Dy(e,t,r){var h;const{path:n,style:i={},meta:o={},home:s,id:u}=t,l=((h=e.tabBar)==null?void 0:h.list)||[],a=l.findIndex(d=>{var m;return d.pagePath===n||((m=d.pagePath)==null?void 0:m.endsWith(u))}),c=l[a],f=!!c,p=r===0;return V({isTabBar:f,tabBarIndex:a,isQuit:s!=null?s:p,isEntry:s!=null?s:p,navigationBar:V({type:"default"},sa(i)),isNVue:!1,route:c?c.pagePath:n},o)}function By(e,t,r,n,i=window){const o=r.map((s,u)=>{const l=Dy(n,s,u),a=jy(e,t,s),{path:c}=s;return{path:c,alias:c,meta:l,component:{render(){return e.h(e.Suspense,[e.h(a)])}}}});i.__uniRoutes=o,i.__uniLayout={}}function Cy(e,t,r=window){wn(r,String(e),t)}function Ny(e,t){t&&["View","ScrollView","Swiper","MovableArea","MovableView","CoverView","CoverImage","Icon","Text","RichText","Progress","Button","CheckboxGroup","Checkbox","Editor","Form","Input","Label","Picker","PickerView","RadioGroup","Radio","Slider","Switch","Textarea","Navigator","Image","Video","Map","Canvas","WebView","PickerViewColumn","ResizeSensor","SwiperItem"].forEach(r=>{const n=t[r];e.component(r,n)})}function Iy(e){const t=by(e),{Vue:r,App:n,UniH5:i,routes:o=[],pagesJson:s={},manifestJson:u={},window:l,css:a=""}=t;if(!i)return r.createApp(n);const{plugin:c,setupApp:f}=i;Ry(t,l),Oy(t,l),$y(i,l),By(r,i,o,s,l),Cy(u.appid||Date.now(),a,l);const p=r.createApp(f(n));return p.use(Ny,i),p.use(c),p}function Py(e,t){const r={};return Object.entries(e).forEach(([n,i])=>{iy.includes(n)&&i&&(r[n]=t(i))}),r}function Gi(e,t){return()=>k(null,null,function*(){const r=yield e.getDsl(t);if(r){const{renderer:n}=e.createDslRenderer(r);return n}return null})}function ky(n){return k(this,arguments,function*(e,t=!1,r=Yi){var u,l,a;const i=((u=e.project)==null?void 0:u.pages)||[],o=[];for(const c of i){const f=((l=e.project)==null?void 0:l.homepage)===c.id;o.push({id:c.id,path:`${r}/${c.id}`,loader:Gi(e,c.id),style:V({navigationBarTitleText:c.title},c.style),needLogin:c.needLogin,home:f})}const s=o.find(c=>!!c.home)||o[0];if(s){const c=r===Yi?"/":r;o.unshift(tt(V({},s),{path:c}))}if(t){const c=((a=e.project)==null?void 0:a.blocks)||[];for(const f of c)o.push({id:f.id,path:`${r}/${f.id}`,loader:Gi(e,f.id),style:{navigationStyle:"custom"}})}return o})}function Fy(){var e;return(e=window.uni)!=null&&e.showLoading&&window.uni.showLoading({title:"加载中...",mask:!0}),{close:()=>{var t;(t=window.uni)!=null&&t.hideLoading&&window.uni.hideLoading()}}}function aa(e,t="",r="warning"){return k(this,null,function*(){var n;return(n=window.uni)!=null&&n.showModal?window.uni.showModal({title:t,content:e,showCancel:!1}):Promise.reject(new Error("window.uni.showModal is undefined"))})}function My(e=et.Runtime){return e===et.Runtime?Object.assign({}):Object.assign({})}const Uy=d0({loading:Fy,notify:aa}),ua=new ny(ey(aa)),Ly=My(),{provider:Vy,onReady:Hy}=G0({nodeEnv:"production",mode:et.Runtime,modules:Ly,materialPath:"../",adapter:Uy,service:ua,dependencies:{Vue:()=>Tn(()=>import("./@dcloudio-uni-h5-vue-BEVv3z-t.js").then(e=>e.q),__vite__mapDeps([0,1,2]),import.meta.url),VueRouter:()=>Tn(()=>import("./vue-router-5EIDvL-H.js"),__vite__mapDeps([3,0,1,2]),import.meta.url)}}),qy=e=>k(null,null,function*(){const t=(yield ua.getExtension().catch(()=>null))||{},r=top||window,n=yield Q0(t.enhance,r.location.pathname),{Vue:i,UniH5:o}=window,s=e.project;if(!s)return;const u=s.uniConfig||{},l=Py(u,d=>ze(d,window,!1,!0)),{manifestJson:a,pagesJson:c,css:f}=u,p=yield ky(e,!0),h=Iy({Vue:i,App:l,UniH5:o,routes:p,css:f,manifestJson:a,pagesJson:c});h.use(e),n&&h.use(n,e),h.mount(document.body)});Hy(()=>qy(Vy));
@@ -13,7 +13,7 @@
13
13
  <title></title>
14
14
  <!--preload-links-->
15
15
  <!--app-context-->
16
- <script type="module" crossorigin src="./assets/index-BMJ3TMZ4.js"></script>
16
+ <script type="module" crossorigin src="./assets/index-BY8FyS_D.js"></script>
17
17
  <link rel="modulepreload" crossorigin href="./assets/vue-BK7aLblh.js">
18
18
  <link rel="modulepreload" crossorigin href="./assets/@dcloudio-uni-shared-VStmjWbh.js">
19
19
  <link rel="modulepreload" crossorigin href="./assets/@dcloudio-uni-h5-vue-BEVv3z-t.js">
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vtj/pro",
3
3
  "private": false,
4
- "version": "0.12.69",
4
+ "version": "0.12.70",
5
5
  "keywords": [
6
6
  "低代码引擎",
7
7
  "LowCode Engine",
@@ -21,21 +21,21 @@
21
21
  "license": "MIT",
22
22
  "type": "module",
23
23
  "dependencies": {
24
- "@vtj/materials": "~0.12.69",
25
- "@vtj/core": "~0.12.69",
26
- "@vtj/local": "~0.12.69",
27
- "@vtj/designer": "~0.12.69",
28
- "@vtj/uni": "~0.12.69",
29
- "@vtj/renderer": "~0.12.69"
24
+ "@vtj/designer": "~0.12.70",
25
+ "@vtj/core": "~0.12.70",
26
+ "@vtj/materials": "~0.12.70",
27
+ "@vtj/local": "~0.12.70",
28
+ "@vtj/uni": "~0.12.70",
29
+ "@vtj/renderer": "~0.12.70"
30
30
  },
31
31
  "devDependencies": {
32
32
  "vue": "~3.5.5",
33
33
  "vue-router": "~4.5.0",
34
- "@vtj/icons": "~0.12.69",
35
34
  "@vtj/cli": "~0.12.10",
36
- "@vtj/ui": "~0.12.69",
37
- "@vtj/utils": "~0.12.69",
38
- "@vtj/charts": "~0.12.69"
35
+ "@vtj/charts": "~0.12.70",
36
+ "@vtj/icons": "~0.12.70",
37
+ "@vtj/ui": "~0.12.70",
38
+ "@vtj/utils": "~0.12.70"
39
39
  },
40
40
  "exports": {
41
41
  "./vite": {