@vtj/pro 0.12.64 → 0.12.65

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-C8M5LUan-D2_yQChO.js → Editor-BmXW3-2o-D8cEBEe8.js} +13 -13
  14. package/dist/assets/{auth-vgX5GnFC.js → auth-oDTEwyxz.js} +1 -1
  15. package/dist/assets/{index-gcUN28z-.js → index-QqS6g_uz.js} +1 -1
  16. package/dist/assets/{index-CujWWmIe.js → index-fEjuB8u6.js} +2 -2
  17. package/dist/assets/{page-evlMaNEQ.js → page-CiQOFv6Z.js} +1 -1
  18. package/dist/assets/{preview-De6jfGSY.js → preview-D3vbMuy6.js} +1 -1
  19. package/dist/assets/{utils-BnfWgyYu.js → utils-tMXybmQW.js} +1 -1
  20. package/dist/index.html +3 -3
  21. package/dist/uni/assets/{index-Clvc-hGb.js → index-DDqyu5CZ.js} +4 -4
  22. package/dist/uni/index.html +1 -1
  23. package/package.json +13 -13
  24. /package/dist/assets/{Editor-C8M5LUan-1VcXkDKi.css → Editor-BmXW3-2o-1VcXkDKi.css} +0 -0
@@ -1 +1 @@
1
- var x=Object.defineProperty;var f=Object.getOwnPropertySymbols;var g=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={}))g.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-iCQ0AeYB.js";import"./vxe-Dwuldplg.js";import{g as B,aB as b,a5 as y,aC as v,aD as E,j as I}from"./Editor-C8M5LUan-D2_yQChO.js";import{useRoute as U}from"./vue-router-CezURGfh.js";import{d as C,az as k,c as $,o as w,K as j,O as q,u as _}from"./vue-ipWmmxHk.js";import{_ as R}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-DgX_DHMy.js";import"./dayjs-DO-COJPZ.js";import"./monaco-editor-B8sWZqMY.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-3Ni81vZ8.js";import"./marked-BQZxLJfc.js";const S={class:"loading"},z=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},b),c.access)),n=U(),m=a=>p(null,null,function*(){const d=`${c.remote||v}/api/open/user/${a}`,l=yield E(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(),$("div",S,"正在登录中..."))})}}),D=R(z,[["__scopeId","data-v-2674e98b"]]),Z=C({__name:"auth",setup(o){return p(this,null,function*(){let t,e;const c=new I,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(),j(_(D),{key:0,remote:_(n),access:_(m)},null,8,["remote","access"])):q("",!0)})}});export{Z as default};
1
+ var x=Object.defineProperty;var f=Object.getOwnPropertySymbols;var g=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={}))g.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-iCQ0AeYB.js";import"./vxe-Dwuldplg.js";import{g as B,aB as b,a5 as y,aC as v,aD as E,j as I}from"./Editor-BmXW3-2o-D8cEBEe8.js";import{useRoute as U}from"./vue-router-CezURGfh.js";import{d as C,az as k,c as $,o as w,K as j,O as q,u as _}from"./vue-ipWmmxHk.js";import{_ as R}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-DgX_DHMy.js";import"./dayjs-DO-COJPZ.js";import"./monaco-editor-B8sWZqMY.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-3Ni81vZ8.js";import"./marked-BQZxLJfc.js";const S={class:"loading"},z=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},b),c.access)),n=U(),m=a=>p(null,null,function*(){const d=`${c.remote||v}/api/open/user/${a}`,l=yield E(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(),$("div",S,"正在登录中..."))})}}),D=R(z,[["__scopeId","data-v-2674e98b"]]),Z=C({__name:"auth",setup(o){return p(this,null,function*(){let t,e;const c=new I,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(),j(_(D),{key:0,remote:_(n),access:_(m)},null,8,["remote","access"])):q("",!0)})}});export{Z as default};
@@ -1 +1 @@
1
- var V=Object.defineProperty;var P=Object.getOwnPropertySymbols;var W=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable;var S=(o,e,t)=>e in o?V(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,g=(o,e)=>{for(var t in e||(e={}))W.call(e,t)&&S(o,t,e[t]);if(P)for(var t of P(e))b.call(e,t)&&S(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{j as J,S as U,m as D,g as G,h as C,q as K,i as E}from"./Editor-C8M5LUan-D2_yQChO.js";import"./element-plus-iCQ0AeYB.js";import"./vxe-Dwuldplg.js";import{E as L,a as v,n as A,l as M}from"./utils-BnfWgyYu.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-3Ni81vZ8.js";import"./dayjs-DO-COJPZ.js";import"./marked-BQZxLJfc.js";import"./lodash-es-BL-d_OSa.js";import"./shared-DgX_DHMy.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:v,access:a==null?void 0:a.access}),n=G(g({alert:v},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:y="page",remote:q,auth:F,checkVersion:R=!0,enhance:T}=a||{},j=()=>k==="hash",H=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 N=a.pageBasePath?`/${y}`:"",x=`${H($)}${u?`pages${N}`:y}/${f.id}`;m=j()?`${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(g({container:i,service:l,materialPath:d,pageBasePath:$==="/"?"":$,adapter:r,access:n,remote:q,auth:F,checkVersion:R,enhance:T},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))})}}),ge=ee(te,[["__scopeId","data-v-79f08aff"]]);export{ge as default};
1
+ var V=Object.defineProperty;var P=Object.getOwnPropertySymbols;var W=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable;var S=(o,e,t)=>e in o?V(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,g=(o,e)=>{for(var t in e||(e={}))W.call(e,t)&&S(o,t,e[t]);if(P)for(var t of P(e))b.call(e,t)&&S(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{j as J,S as U,m as D,g as G,h as C,q as K,i as E}from"./Editor-BmXW3-2o-D8cEBEe8.js";import"./element-plus-iCQ0AeYB.js";import"./vxe-Dwuldplg.js";import{E as L,a as v,n as A,l as M}from"./utils-tMXybmQW.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-3Ni81vZ8.js";import"./dayjs-DO-COJPZ.js";import"./marked-BQZxLJfc.js";import"./lodash-es-BL-d_OSa.js";import"./shared-DgX_DHMy.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:v,access:a==null?void 0:a.access}),n=G(g({alert:v},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:y="page",remote:q,auth:F,checkVersion:R=!0,enhance:T}=a||{},j=()=>k==="hash",H=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 N=a.pageBasePath?`/${y}`:"",x=`${H($)}${u?`pages${N}`:y}/${f.id}`;m=j()?`${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(g({container:i,service:l,materialPath:d,pageBasePath:$==="/"?"":$,adapter:r,access:n,remote:q,auth:F,checkVersion:R,enhance:T},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))})}}),ge=ee(te,[["__scopeId","data-v-79f08aff"]]);export{ge as default};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-gcUN28z-.js","./vue-router-CezURGfh.js","./vue-ipWmmxHk.js","./@vueuse-WO_0ftym.js","./Editor-C8M5LUan-D2_yQChO.js","./monaco-editor-B8sWZqMY.js","./monaco-editor-Cpw7ccEV.css","./element-plus-iCQ0AeYB.js","./lodash-es-BL-d_OSa.js","./@element-plus-icons-vue-0BR09xN9.js","./shared-DgX_DHMy.js","./dayjs-DO-COJPZ.js","./element-plus-CxJJf0IB.css","./vxe-Dwuldplg.js","./vxe-BAb1d5vW.css","./html2canvas-CIV5arX1.js","./mockjs-3Ni81vZ8.js","./marked-BQZxLJfc.js","./Editor-C8M5LUan-1VcXkDKi.css","./utils-BnfWgyYu.js","./_plugin-vue_export-helper-DlAUqK2U.js","./index-CrVHlN_5.css","./preview-De6jfGSY.js","./page-evlMaNEQ.js","./uni-page-Bs0TAzEa.js","./uni-page-Diqmj53r.css","./auth-vgX5GnFC.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-iCQ0AeYB.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-DgX_DHMy.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-gcUN28z-.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-De6jfGSY.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-evlMaNEQ.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:"page",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-vgX5GnFC.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-QqS6g_uz.js","./vue-router-CezURGfh.js","./vue-ipWmmxHk.js","./@vueuse-WO_0ftym.js","./Editor-BmXW3-2o-D8cEBEe8.js","./monaco-editor-B8sWZqMY.js","./monaco-editor-Cpw7ccEV.css","./element-plus-iCQ0AeYB.js","./lodash-es-BL-d_OSa.js","./@element-plus-icons-vue-0BR09xN9.js","./shared-DgX_DHMy.js","./dayjs-DO-COJPZ.js","./element-plus-CxJJf0IB.css","./vxe-Dwuldplg.js","./vxe-BAb1d5vW.css","./html2canvas-CIV5arX1.js","./mockjs-3Ni81vZ8.js","./marked-BQZxLJfc.js","./Editor-BmXW3-2o-1VcXkDKi.css","./utils-tMXybmQW.js","./_plugin-vue_export-helper-DlAUqK2U.js","./index-CrVHlN_5.css","./preview-D3vbMuy6.js","./page-CiQOFv6Z.js","./uni-page-Bs0TAzEa.js","./uni-page-Diqmj53r.css","./auth-oDTEwyxz.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-iCQ0AeYB.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-DgX_DHMy.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-QqS6g_uz.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-D3vbMuy6.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-CiQOFv6Z.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:"page",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-oDTEwyxz.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,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 A=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var E=(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={}))h.call(e,t)&&E(o,t,e[t]);if(A)for(var t of A(e))x.call(e,t)&&E(o,t,e[t]);return o};var l=(o,e,t)=>new Promise((p,r)=>{var i=a=>{try{n(t.next(a))}catch(m){r(m)}},_=a=>{try{n(t.throw(a))}catch(m){r(m)}},n=a=>a.done?p(a.value):Promise.resolve(a.value).then(i,_);n((t=t.apply(o,e)).next())});import{_ as w}from"./monaco-editor-B8sWZqMY.js";import{useRoute as P}from"./vue-router-CezURGfh.js";import"./element-plus-iCQ0AeYB.js";import"./vxe-Dwuldplg.js";import{j as g,S as V,m as S,_ as T,w as k,A as B,d as D}from"./Editor-C8M5LUan-D2_yQChO.js";import{a as I,n as y,l as O,E as j}from"./utils-BnfWgyYu.js";import{s as L}from"./@vueuse-WO_0ftym.js";import{d as z,az as C,e as H,K,O as N,P as b,o as q,h as F}from"./vue-ipWmmxHk.js";import"./lodash-es-BL-d_OSa.js";import"./@element-plus-icons-vue-0BR09xN9.js";import"./shared-DgX_DHMy.js";import"./dayjs-DO-COJPZ.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-3Ni81vZ8.js";import"./marked-BQZxLJfc.js";const ne=z({__name:"page",setup(o){return l(this,null,function*(){let e,t;const p=new g(V(y)),r=([e,t]=C(()=>p.getExtension().catch(()=>null)),e=yield e,t(),e),i=S({loading:O,notify:y,useTitle:L,alert:I,access:r==null?void 0:r.access}),_=r?([e,t]=C(()=>new j(r).load()),e=yield e,t(),e):{},{__BASE_PATH__:n="/"}=r||{},{provider:a,onReady:m}=T({mode:k.Runtime,service:p,materialPath:n,adapter:d(d({},i),_.adapter),dependencies:{Vue:()=>w(()=>import("./vue-ipWmmxHk.js").then(s=>s.aA),[],import.meta.url),VueRouter:()=>w(()=>import("./vue-router-CezURGfh.js"),__vite__mapDeps([0,1]),import.meta.url)}}),f=P(),c=H(),u=F();return m(()=>l(null,null,function*(){const s=u==null?void 0:u.appContext.app;s&&(s.use(B),s.use(a),c.value=yield a.getRenderComponent(f.params.id.toString(),v=>{D(s,f,v)}))})),(s,v)=>c.value?(q(),K(b(c.value),{key:0})):N("",!0)})}});export{ne as default};
2
+ var R=Object.defineProperty;var A=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var E=(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={}))h.call(e,t)&&E(o,t,e[t]);if(A)for(var t of A(e))x.call(e,t)&&E(o,t,e[t]);return o};var l=(o,e,t)=>new Promise((p,r)=>{var i=a=>{try{n(t.next(a))}catch(m){r(m)}},_=a=>{try{n(t.throw(a))}catch(m){r(m)}},n=a=>a.done?p(a.value):Promise.resolve(a.value).then(i,_);n((t=t.apply(o,e)).next())});import{_ as w}from"./monaco-editor-B8sWZqMY.js";import{useRoute as P}from"./vue-router-CezURGfh.js";import"./element-plus-iCQ0AeYB.js";import"./vxe-Dwuldplg.js";import{j as g,S as V,m as S,_ as T,w as k,A as B,d as D}from"./Editor-BmXW3-2o-D8cEBEe8.js";import{a as I,n as y,l as O,E as j}from"./utils-tMXybmQW.js";import{s as L}from"./@vueuse-WO_0ftym.js";import{d as z,az as C,e as H,K,O as N,P as b,o as q,h as F}from"./vue-ipWmmxHk.js";import"./lodash-es-BL-d_OSa.js";import"./@element-plus-icons-vue-0BR09xN9.js";import"./shared-DgX_DHMy.js";import"./dayjs-DO-COJPZ.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-3Ni81vZ8.js";import"./marked-BQZxLJfc.js";const ne=z({__name:"page",setup(o){return l(this,null,function*(){let e,t;const p=new g(V(y)),r=([e,t]=C(()=>p.getExtension().catch(()=>null)),e=yield e,t(),e),i=S({loading:O,notify:y,useTitle:L,alert:I,access:r==null?void 0:r.access}),_=r?([e,t]=C(()=>new j(r).load()),e=yield e,t(),e):{},{__BASE_PATH__:n="/"}=r||{},{provider:a,onReady:m}=T({mode:k.Runtime,service:p,materialPath:n,adapter:d(d({},i),_.adapter),dependencies:{Vue:()=>w(()=>import("./vue-ipWmmxHk.js").then(s=>s.aA),[],import.meta.url),VueRouter:()=>w(()=>import("./vue-router-CezURGfh.js"),__vite__mapDeps([0,1]),import.meta.url)}}),f=P(),c=H(),u=F();return m(()=>l(null,null,function*(){const s=u==null?void 0:u.appContext.app;s&&(s.use(B),s.use(a),c.value=yield a.getRenderComponent(f.params.id.toString(),v=>{D(s,f,v)}))})),(s,v)=>c.value?(q(),K(b(c.value),{key:0})):N("",!0)})}});export{ne as default};
@@ -1,2 +1,2 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-router-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-iCQ0AeYB.js";import"./vxe-Dwuldplg.js";import{j as g,S,m as T,_ as k,w as B,a as D,A as I,d as O}from"./Editor-C8M5LUan-D2_yQChO.js";import{a as j,n as E,l as L,E as z}from"./utils-BnfWgyYu.js";import{s as H}from"./@vueuse-WO_0ftym.js";import{d as K,az as y,e as N,K as b,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-DgX_DHMy.js";import"./dayjs-DO-COJPZ.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-3Ni81vZ8.js";import"./marked-BQZxLJfc.js";const me=K({__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:L,notify:E,useTitle:H,alert:j,access:s==null?void 0:s.access}),n=s?([e,t]=y(()=>new z(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=N(),l=J();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?(G(),b(F(u.value),{key:0})):q("",!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-iCQ0AeYB.js";import"./vxe-Dwuldplg.js";import{j as g,S,m as T,_ as k,w as B,a as D,A as I,d as O}from"./Editor-BmXW3-2o-D8cEBEe8.js";import{a as j,n as E,l as L,E as z}from"./utils-tMXybmQW.js";import{s as H}from"./@vueuse-WO_0ftym.js";import{d as K,az as y,e as N,K as b,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-DgX_DHMy.js";import"./dayjs-DO-COJPZ.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-3Ni81vZ8.js";import"./marked-BQZxLJfc.js";const me=K({__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:L,notify:E,useTitle:H,alert:j,access:s==null?void 0:s.access}),n=s?([e,t]=y(()=>new z(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=N(),l=J();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?(G(),b(F(u.value),{key:0})):q("",!0)})}});export{me as default};
@@ -1 +1 @@
1
- var f=Object.defineProperty;var p=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,d=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,_=(t,a)=>{for(var s in a||(a={}))T.call(a,s)&&g(t,s,a[s]);if(p)for(var s of p(a))d.call(a,s)&&g(t,s,a[s]);return t};var E=(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 m,b as A,n as V,X as b,c as P,L as h,O as M,q as R,e as y,H as N,z as B,Y as L,N as D,W as K,B as x,M as k,K as H,F as w,f as U,$ as W,D as Y,k as j,J as v,Q as F,Z as G,t as $,l as q,o as z,p as J,v as C,r as X,u as Z,x as Q,y as aa,C as sa,E as ea,G as ta,I as ra,R as na,T as ia,U as oa,V as la,a0 as Ea,a1 as _a,a2 as ca,a3 as ga,a4 as pa,a5 as Sa,a6 as ua,a7 as fa,a8 as Ta,a9 as da,aa as Oa,ab as Ia,ac as ma,ad as Aa,ae as Va,af as ba,ag as Pa,ah as ha,ai as Ma,aj as Ra,ak as ya,al as Na,am as Ba,an as La,ao as Da,ap as Ka,h as xa,aq as ka,ar as Ha,as as wa,at as Ua,au as Wa,av as Ya,aw as ja,ax as va,ay as Fa,az as Ga,aA as $a}from"./Editor-C8M5LUan-D2_yQChO.js";import{E as qa,a as za,b as Ja,c as Ca}from"./element-plus-iCQ0AeYB.js";const Xa=Object.freeze(Object.defineProperty({__proto__:null,API_METHOD_TYPES:I,Assets:m,Binder:A,Box:V,Designer:b,DevTools:P,EVENT_MODIFIERS:h,Editor:M,Engine:R,EventBinder:y,GET_TOKENS_LINK:N,Icon:B,Item:L,KEYBOARD_EVENT_LIST:D,MAX_TOKENS:K,MOBILE_SIZE:x,MOUSE_EVENT_LIST:k,MicroApp:H,NAME_REGEX:w,NPM_REGISTRY_URL:U,OpenApi:W,PAD_SIZE:Y,Panel:j,REPORT_API:v,RegionType:F,RegionWrapper:G,Renderer:$,SAVE_BLOCK_FILE_FINISH:q,SESSION_ID_KEY:z,STATE_KEY:J,SetterView:C,SetterWrapper:X,Simulator:Z,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:Ea,Viewer:_a,Viewport:ca,WidgetGroup:ga,WidgetWrapper:pa,alert:Sa,builtInDeps:ua,builtInMaterials:fa,builtInSetters:Ta,builtInWidgets:da,confirm:Oa,createSlotsPicker:Ia,defaultSetter:ma,depsManager:Aa,engineKey:Va,expressionValidate:ba,getClassProperties:Pa,message:ha,normalizedStyle:Ma,notify:Ra,proxyContext:ya,readJsonFile:Na,regions:Ba,setterManager:La,setters:Da,useEngine:Ka,widgetManager:xa,widgets:ka},Symbol.toStringTag,{value:"Module"}));class es{constructor(a){E(this,"urls",[]);E(this,"library","");E(this,"params",[]);E(this,"__BASE_PATH__","/");this.config=a;const s=_(_(_({},Ya),Xa),Wa),o={Vue:O,__VTJ_PRO__:s,VtjUtils:Ua,VtjIcons:wa,VtjUI:Ha,ElementPlus:qa};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=>va(e)).map(e=>`${s}${e}`);if(Fa(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 Ca.service({lock:!0,text:"Loading",background:"rgba(0, 0, 0, 0.7)"})}function rs(t,a="",s="warning"){Ja({title:a,message:t,type:s})}function ns(t,a){return za.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 T=Object.prototype.hasOwnProperty,d=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,_=(t,a)=>{for(var s in a||(a={}))T.call(a,s)&&g(t,s,a[s]);if(p)for(var s of p(a))d.call(a,s)&&g(t,s,a[s]);return t};var E=(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 m,b as A,n as V,X as b,c as P,L as h,O as M,q as R,e as y,H as N,z as B,Y as L,N as D,W as K,B as x,M as k,K as H,F as w,f as U,$ as W,D as Y,k as j,J as v,Q as F,Z as G,t as $,l as q,o as z,p as J,v as C,r as X,u as Z,x as Q,y as aa,C as sa,E as ea,G as ta,I as ra,R as na,T as ia,U as oa,V as la,a0 as Ea,a1 as _a,a2 as ca,a3 as ga,a4 as pa,a5 as Sa,a6 as ua,a7 as fa,a8 as Ta,a9 as da,aa as Oa,ab as Ia,ac as ma,ad as Aa,ae as Va,af as ba,ag as Pa,ah as ha,ai as Ma,aj as Ra,ak as ya,al as Na,am as Ba,an as La,ao as Da,ap as Ka,h as xa,aq as ka,ar as Ha,as as wa,at as Ua,au as Wa,av as Ya,aw as ja,ax as va,ay as Fa,az as Ga,aA as $a}from"./Editor-BmXW3-2o-D8cEBEe8.js";import{E as qa,a as za,b as Ja,c as Ca}from"./element-plus-iCQ0AeYB.js";const Xa=Object.freeze(Object.defineProperty({__proto__:null,API_METHOD_TYPES:I,Assets:m,Binder:A,Box:V,Designer:b,DevTools:P,EVENT_MODIFIERS:h,Editor:M,Engine:R,EventBinder:y,GET_TOKENS_LINK:N,Icon:B,Item:L,KEYBOARD_EVENT_LIST:D,MAX_TOKENS:K,MOBILE_SIZE:x,MOUSE_EVENT_LIST:k,MicroApp:H,NAME_REGEX:w,NPM_REGISTRY_URL:U,OpenApi:W,PAD_SIZE:Y,Panel:j,REPORT_API:v,RegionType:F,RegionWrapper:G,Renderer:$,SAVE_BLOCK_FILE_FINISH:q,SESSION_ID_KEY:z,STATE_KEY:J,SetterView:C,SetterWrapper:X,Simulator:Z,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:Ea,Viewer:_a,Viewport:ca,WidgetGroup:ga,WidgetWrapper:pa,alert:Sa,builtInDeps:ua,builtInMaterials:fa,builtInSetters:Ta,builtInWidgets:da,confirm:Oa,createSlotsPicker:Ia,defaultSetter:ma,depsManager:Aa,engineKey:Va,expressionValidate:ba,getClassProperties:Pa,message:ha,normalizedStyle:Ma,notify:Ra,proxyContext:ya,readJsonFile:Na,regions:Ba,setterManager:La,setters:Da,useEngine:Ka,widgetManager:xa,widgets:ka},Symbol.toStringTag,{value:"Module"}));class es{constructor(a){E(this,"urls",[]);E(this,"library","");E(this,"params",[]);E(this,"__BASE_PATH__","/");this.config=a;const s=_(_(_({},Ya),Xa),Wa),o={Vue:O,__VTJ_PRO__:s,VtjUtils:Ua,VtjIcons:wa,VtjUI:Ha,ElementPlus:qa};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=>va(e)).map(e=>`${s}${e}`);if(Fa(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 Ca.service({lock:!0,text:"Loading",background:"rgba(0, 0, 0, 0.7)"})}function rs(t,a="",s="warning"){Ja({title:a,message:t,type:s})}function ns(t,a){return za.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__ = '1753233110672';
12
+ var __BUILD_TIME__ = '1753236659950';
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
- <!--{{1753233110672}}-->
28
+ <!--{{1753236659950}}-->
29
29
 
30
- <script type="module" crossorigin src="./assets/index-CujWWmIe.js"></script>
30
+ <script type="module" crossorigin src="./assets/index-fEjuB8u6.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.64
54
+ * @version 0.12.65
55
55
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
56
56
  */const Ld="VueMaterial",Vd="VueRouterMaterial",Hd={[Ld]:["Transition","TransitionGroup","KeepAlive","Teleport","Suspense"],[Vd]:["RouterView","RouterLink"]};let qd=class{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 zd=Object.defineProperty,Kd=(e,t,r)=>t in e?zd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,lt=(e,t,r)=>Kd(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 Wd=e=>typeof e=="symbol";new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Wd));function vo(e,t){return function(){return e.apply(t,arguments)}}const{toString:Jd}=Object.prototype,{getPrototypeOf:fn}=Object,{iterator:Ze,toStringTag:bo}=Symbol,Qe=(e=>t=>{const r=Jd.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),gt=e=>(e=e.toLowerCase(),t=>Qe(t)===e),Xe=e=>t=>typeof t===e,{isArray:se}=Array,ye=Xe("undefined");function Yd(e){return e!==null&&!ye(e)&&e.constructor!==null&&!ye(e.constructor)&&ot(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const wo=gt("ArrayBuffer");function Gd(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&wo(e.buffer),t}const Zd=Xe("string"),ot=Xe("function"),_o=Xe("number"),tr=e=>e!==null&&typeof e=="object",Qd=e=>e===!0||e===!1,Ie=e=>{if(Qe(e)!=="object")return!1;const t=fn(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(bo in e)&&!(Ze in e)},Xd=gt("Date"),tg=gt("File"),eg=gt("Blob"),rg=gt("FileList"),ng=e=>tr(e)&&ot(e.pipe),ig=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ot(e.append)&&((t=Qe(e))==="formdata"||t==="object"&&ot(e.toString)&&e.toString()==="[object FormData]"))},sg=gt("URLSearchParams"),[og,ag,ug,cg]=["ReadableStream","Request","Response","Headers"].map(gt),lg=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]),se(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{const s=r?Object.getOwnPropertyNames(e):Object.keys(e),o=s.length;let u;for(n=0;n<o;n++)u=s[n],t.call(null,e[u],u,e)}}function Eo(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,So=e=>!ye(e)&&e!==Ft;function Mr(){const{caseless:e}=So(this)&&this||{},t={},r=(n,i)=>{const s=e&&Eo(t,i)||i;Ie(t[s])&&Ie(n)?t[s]=Mr(t[s],n):Ie(n)?t[s]=Mr({},n):se(n)?t[s]=n.slice():t[s]=n};for(let n=0,i=arguments.length;n<i;n++)arguments[n]&&_e(arguments[n],r);return t}const fg=(e,t,r,{allOwnKeys:n}={})=>(_e(t,(i,s)=>{r&&ot(i)?e[s]=vo(i,r):e[s]=i},{allOwnKeys:n}),e),hg=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),pg=(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)},dg=(e,t,r,n)=>{let i,s,o;const u={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)o=i[s],(!n||n(o,e,t))&&!u[o]&&(t[o]=e[o],u[o]=!0);e=r!==!1&&fn(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},gg=(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},mg=e=>{if(!e)return null;if(se(e))return e;let t=e.length;if(!_o(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},yg=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&fn(Uint8Array)),vg=(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])}},bg=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},wg=gt("HTMLFormElement"),_g=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,r,n){return r.toUpperCase()+n}),Ai=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Eg=gt("RegExp"),xo=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};_e(r,(i,s)=>{let o;(o=t(i,s,e))!==!1&&(n[s]=o||i)}),Object.defineProperties(e,n)},Sg=e=>{xo(e,(t,r)=>{if(ot(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(ot(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+"'")})}})},xg=(e,t)=>{const r={},n=i=>{i.forEach(s=>{r[s]=!0})};return se(e)?n(e):n(String(e).split(t)),r},Tg=()=>{},Ag=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Rg(e){return!!(e&&ot(e.append)&&e[bo]==="FormData"&&e[Ze])}const Og=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 s=se(n)?[]:{};return _e(n,(o,u)=>{const l=r(o,i+1);!ye(l)&&(s[u]=l)}),t[i]=void 0,s}}return n};return r(e,0)},$g=gt("AsyncFunction"),jg=e=>e&&(tr(e)||ot(e))&&ot(e.then)&&ot(e.catch),To=((e,t)=>e?setImmediate:t?((r,n)=>(Ft.addEventListener("message",({source:i,data:s})=>{i===Ft&&s===r&&n.length&&n.shift()()},!1),i=>{n.push(i),Ft.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",ot(Ft.postMessage)),Dg=typeof queueMicrotask<"u"?queueMicrotask.bind(Ft):typeof process<"u"&&process.nextTick||To,Bg=e=>e!=null&&ot(e[Ze]),A={isArray:se,isArrayBuffer:wo,isBuffer:Yd,isFormData:ig,isArrayBufferView:Gd,isString:Zd,isNumber:_o,isBoolean:Qd,isObject:tr,isPlainObject:Ie,isReadableStream:og,isRequest:ag,isResponse:ug,isHeaders:cg,isUndefined:ye,isDate:Xd,isFile:tg,isBlob:eg,isRegExp:Eg,isFunction:ot,isStream:ng,isURLSearchParams:sg,isTypedArray:yg,isFileList:rg,forEach:_e,merge:Mr,extend:fg,trim:lg,stripBOM:hg,inherits:pg,toFlatObject:dg,kindOf:Qe,kindOfTest:gt,endsWith:gg,toArray:mg,forEachEntry:vg,matchAll:bg,isHTMLForm:wg,hasOwnProperty:Ai,hasOwnProp:Ai,reduceDescriptors:xo,freezeMethods:Sg,toObjectSet:xg,toCamelCase:_g,noop:Tg,toFiniteNumber:Ag,findKey:Eo,global:Ft,isContextDefined:So,isSpecCompliantForm:Rg,toJSONObject:Og,isAsyncFn:$g,isThenable:jg,setImmediate:To,asap:Dg,isIterable:Bg};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)}A.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:A.toJSONObject(this.config),code:this.code,status:this.status}}});const Ao=K.prototype,Ro={};["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=>{Ro[e]={value:e}});Object.defineProperties(K,Ro);Object.defineProperty(Ao,"isAxiosError",{value:!0});K.from=(e,t,r,n,i,s)=>{const o=Object.create(Ao);return A.toFlatObject(e,o,function(u){return u!==Error.prototype},u=>u!=="isAxiosError"),K.call(o,e.message,t,r,n,i),o.cause=e,o.name=e.name,s&&Object.assign(o,s),o};const Cg=null;function Ur(e){return A.isPlainObject(e)||A.isArray(e)}function Oo(e){return A.endsWith(e,"[]")?e.slice(0,-2):e}function Ri(e,t,r){return e?e.concat(t).map(function(n,i){return n=Oo(n),!r&&i?"["+n+"]":n}).join(r?".":""):t}function Ng(e){return A.isArray(e)&&!e.some(Ur)}const Ig=A.toFlatObject(A,{},null,function(e){return/^is[A-Z]/.test(e)});function er(e,t,r){if(!A.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=A.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,d){return!A.isUndefined(d[h])});const n=r.metaTokens,i=r.visitor||a,s=r.dots,o=r.indexes,u=(r.Blob||typeof Blob<"u"&&Blob)&&A.isSpecCompliantForm(t);if(!A.isFunction(i))throw new TypeError("visitor must be a function");function l(h){if(h===null)return"";if(A.isDate(h))return h.toISOString();if(A.isBoolean(h))return h.toString();if(!u&&A.isBlob(h))throw new K("Blob is not supported. Use a Buffer instead.");return A.isArrayBuffer(h)||A.isTypedArray(h)?u&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function a(h,d,g){let b=h;if(h&&!g&&typeof h=="object"){if(A.endsWith(d,"{}"))d=n?d:d.slice(0,-2),h=JSON.stringify(h);else if(A.isArray(h)&&Ng(h)||(A.isFileList(h)||A.endsWith(d,"[]"))&&(b=A.toArray(h)))return d=Oo(d),b.forEach(function(E,y){!(A.isUndefined(E)||E===null)&&t.append(o===!0?Ri([d],y,s):o===null?d:d+"[]",l(E))}),!1}return Ur(h)?!0:(t.append(Ri(g,d,s),l(h)),!1)}const c=[],f=Object.assign(Ig,{defaultVisitor:a,convertValue:l,isVisitable:Ur});function p(h,d){if(!A.isUndefined(h)){if(c.indexOf(h)!==-1)throw Error("Circular reference detected in "+d.join("."));c.push(h),A.forEach(h,function(g,b){(!(A.isUndefined(g)||g===null)&&i.call(t,g,A.isString(b)?b.trim():b,d,f))===!0&&p(g,d?d.concat(b):[b])}),c.pop()}}if(!A.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Oi(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function hn(e,t){this._pairs=[],e&&er(e,this,t)}const $o=hn.prototype;$o.append=function(e,t){this._pairs.push([e,t])};$o.toString=function(e){const t=e?function(r){return e.call(this,r,Oi)}:Oi;return this._pairs.map(function(r){return t(r[0])+"="+t(r[1])},"").join("&")};function Pg(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function jo(e,t,r){if(!t)return e;const n=r&&r.encode||Pg;A.isFunction(r)&&(r={serialize:r});const i=r&&r.serialize;let s;if(i?s=i(t,r):s=A.isURLSearchParams(t)?t.toString():new hn(t,r).toString(n),s){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}let $i=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){A.forEach(this.handlers,function(r){r!==null&&t(r)})}};const Do={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},kg=typeof URLSearchParams<"u"?URLSearchParams:hn,Fg=typeof FormData<"u"?FormData:null,Mg=typeof Blob<"u"?Blob:null,Ug={isBrowser:!0,classes:{URLSearchParams:kg,FormData:Fg,Blob:Mg},protocols:["http","https","file","blob","url","data"]},pn=typeof window<"u"&&typeof document<"u",Lr=typeof navigator=="object"&&navigator||void 0,Lg=pn&&(!Lr||["ReactNative","NativeScript","NS"].indexOf(Lr.product)<0),Vg=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Hg=pn&&window.location.href||"http://localhost",qg=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:pn,hasStandardBrowserEnv:Lg,hasStandardBrowserWebWorkerEnv:Vg,navigator:Lr,origin:Hg},Symbol.toStringTag,{value:"Module"})),rt=H(H({},qg),Ug);function zg(e,t){return er(e,new rt.classes.URLSearchParams,Object.assign({visitor:function(r,n,i,s){return rt.isNode&&A.isBuffer(r)?(this.append(n,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function Kg(e){return A.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Wg(e){const t={},r=Object.keys(e);let n;const i=r.length;let s;for(n=0;n<i;n++)s=r[n],t[s]=e[s];return t}function Bo(e){function t(r,n,i,s){let o=r[s++];if(o==="__proto__")return!0;const u=Number.isFinite(+o),l=s>=r.length;return o=!o&&A.isArray(i)?i.length:o,l?(A.hasOwnProp(i,o)?i[o]=[i[o],n]:i[o]=n,!u):((!i[o]||!A.isObject(i[o]))&&(i[o]=[]),t(r,n,i[o],s)&&A.isArray(i[o])&&(i[o]=Wg(i[o])),!u)}if(A.isFormData(e)&&A.isFunction(e.entries)){const r={};return A.forEachEntry(e,(n,i)=>{t(Kg(n),i,r,0)}),r}return null}function Jg(e,t,r){if(A.isString(e))try{return(t||JSON.parse)(e),A.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const Ee={transitional:Do,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,i=A.isObject(e);if(i&&A.isHTMLForm(e)&&(e=new FormData(e)),A.isFormData(e))return n?JSON.stringify(Bo(e)):e;if(A.isArrayBuffer(e)||A.isBuffer(e)||A.isStream(e)||A.isFile(e)||A.isBlob(e)||A.isReadableStream(e))return e;if(A.isArrayBufferView(e))return e.buffer;if(A.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return zg(e,this.formSerializer).toString();if((s=A.isFileList(e))||r.indexOf("multipart/form-data")>-1){const o=this.env&&this.env.FormData;return er(s?{"files[]":e}:e,o&&new o,this.formSerializer)}}return i||n?(t.setContentType("application/json",!1),Jg(e)):e}],transformResponse:[function(e){const t=this.transitional||Ee.transitional,r=t&&t.forcedJSONParsing,n=this.responseType==="json";if(A.isResponse(e)||A.isReadableStream(e))return e;if(e&&A.isString(e)&&(r&&!this.responseType||n)){const i=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(s){if(i)throw s.name==="SyntaxError"?K.from(s,K.ERR_BAD_RESPONSE,this,null,this.response):s}}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}}};A.forEach(["delete","get","head","post","put","patch"],e=>{Ee.headers[e]={}});const Yg=A.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"]),Gg=e=>{const t={};let r,n,i;return e&&e.split(`
57
57
  `).forEach(function(s){i=s.indexOf(":"),r=s.substring(0,i).trim().toLowerCase(),n=s.substring(i+1).trim(),!(!r||t[r]&&Yg[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},ji=Symbol("internals");function fe(e){return e&&String(e).trim().toLowerCase()}function Pe(e){return e===!1||e==null?e:A.isArray(e)?e.map(Pe):String(e)}function Zg(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 Qg=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function vr(e,t,r,n,i){if(A.isFunction(n))return n.call(this,t,r);if(i&&(t=r),!!A.isString(t)){if(A.isString(n))return t.indexOf(n)!==-1;if(A.isRegExp(n))return n.test(t)}}function Xg(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function tm(e,t){const r=A.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(i,s,o){return this[n].call(this,t,i,s,o)},configurable:!0})})}let at=class{constructor(t){t&&this.set(t)}set(t,r,n){const i=this;function s(u,l,a){const c=fe(l);if(!c)throw new Error("header name must be a non-empty string");const f=A.findKey(i,c);(!f||i[f]===void 0||a===!0||a===void 0&&i[f]!==!1)&&(i[f||l]=Pe(u))}const o=(u,l)=>A.forEach(u,(a,c)=>s(a,c,l));if(A.isPlainObject(t)||t instanceof this.constructor)o(t,r);else if(A.isString(t)&&(t=t.trim())&&!Qg(t))o(Gg(t),r);else if(A.isObject(t)&&A.isIterable(t)){let u={},l,a;for(const c of t){if(!A.isArray(c))throw TypeError("Object iterator must return a key-value pair");u[a=c[0]]=(l=u[a])?A.isArray(l)?[...l,c[1]]:[l,c[1]]:c[1]}o(u,r)}else t!=null&&s(r,t,n);return this}get(t,r){if(t=fe(t),t){const n=A.findKey(this,t);if(n){const i=this[n];if(!r)return i;if(r===!0)return Zg(i);if(A.isFunction(r))return r.call(this,i,n);if(A.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=A.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 s(o){if(o=fe(o),o){const u=A.findKey(n,o);u&&(!r||vr(n,n[u],u,r))&&(delete n[u],i=!0)}}return A.isArray(t)?t.forEach(s):s(t),i}clear(t){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const s=r[n];(!t||vr(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const r=this,n={};return A.forEach(this,(i,s)=>{const o=A.findKey(n,s);if(o){r[o]=Pe(i),delete r[s];return}const u=t?Xg(s):String(s).trim();u!==s&&delete r[s],r[u]=Pe(i),n[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return A.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=t&&A.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.64
65
+ * @version 0.12.65
66
66
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
67
- */const xr="0.12.64";var tt=(e=>(e.Runtime="Runtime",e.Design="Design",e.Raw="Raw",e.VNode="VNode",e))(tt||{});const qi=["$el","$emit","$nextTick","$parent","$root","$attrs","$slots","$watch","$props","$options","$forceUpdate"],Ym=["vIf","vElseIf","vElse","vShow","vModel","vFor","vBind","vHtml"],Gm={String,Number,Boolean,Array,Object,Function,Date},Ue="VtjPage",Tr="VtjHomepage",Zm="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(","),Qm="component,slot".split(",");function Be(e,t){return e.map(r=>lo(r)||r.startsWith("/")?r:`${t}${r}`)}function ir(e){return/\.css$/.test(e)}function sr(e){return/\.js$/.test(e)}function Xm(e){return/\.json$/.test(e)}function ty(e,t=!1){return t&&e.endsWith(".prod.js")?e.replace(".prod.js",".js"):e}function ey(e,t,r=!1){const n=e.filter(p=>!!p.enabled),i=[],s=[],o=[],u=[],l={},a={},c=[],f={};return n.forEach(({urls:p,assetsUrl:h,library:d,assetsLibrary:g,localeLibrary:b})=>{p==null||p.forEach(E=>{sr(E)&&i.push(ty(E,r)),ir(E)&&s.push(E)}),d&&(u.push(d),l[d]=Be(p||[],t),b&&(a[d]=b)),h&&o.push(h),g&&c.push(g),d&&g&&(f[g]=d)}),{scripts:Be(i,t),css:Be(s,t),materials:Be(o,t),libraryExports:u,materialExports:Rd(c),materialMapLibrary:f,libraryMap:l,libraryLocaleMap:a}}function ry(e,t){var s;const{name:r,parent:n,alias:i}=e;return n?(s=t[n])==null?void 0:s[i||r]:t[i||r]}function ny(e=[]){const t=e.filter(n=>ir(n)),r=e.filter(n=>sr(n));return{css:t,js:r}}function iy(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 E=a.indexOf("*/",f+2);if(E!==-1){f=E+2;continue}}if(a[f]==="@"){const E=f;for(;f<a.length&&a[f]!=="{"&&a[f]!==";";)f++;const y=a.substring(E,f).trim(),v=y.includes("@keyframes");if(a[f]===";")c.push({type:"simple-at-rule",content:a.substring(E,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 m=a.substring(E,f),x=a.substring(w,f-1);c.push({type:v?"keyframes":"at-rule",rule:y,content:m,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 g=1;for(f++;f<a.length&&g>0;)a[f]==="{"?g++:a[f]==="}"&&g--,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}),s=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}]`},o=a=>i(a).split(",").map(c=>s(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=o(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.65";var tt=(e=>(e.Runtime="Runtime",e.Design="Design",e.Raw="Raw",e.VNode="VNode",e))(tt||{});const qi=["$el","$emit","$nextTick","$parent","$root","$attrs","$slots","$watch","$props","$options","$forceUpdate"],Ym=["vIf","vElseIf","vElse","vShow","vModel","vFor","vBind","vHtml"],Gm={String,Number,Boolean,Array,Object,Function,Date},Ue="VtjPage",Tr="VtjHomepage",Zm="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(","),Qm="component,slot".split(",");function Be(e,t){return e.map(r=>lo(r)||r.startsWith("/")?r:`${t}${r}`)}function ir(e){return/\.css$/.test(e)}function sr(e){return/\.js$/.test(e)}function Xm(e){return/\.json$/.test(e)}function ty(e,t=!1){return t&&e.endsWith(".prod.js")?e.replace(".prod.js",".js"):e}function ey(e,t,r=!1){const n=e.filter(p=>!!p.enabled),i=[],s=[],o=[],u=[],l={},a={},c=[],f={};return n.forEach(({urls:p,assetsUrl:h,library:d,assetsLibrary:g,localeLibrary:b})=>{p==null||p.forEach(E=>{sr(E)&&i.push(ty(E,r)),ir(E)&&s.push(E)}),d&&(u.push(d),l[d]=Be(p||[],t),b&&(a[d]=b)),h&&o.push(h),g&&c.push(g),d&&g&&(f[g]=d)}),{scripts:Be(i,t),css:Be(s,t),materials:Be(o,t),libraryExports:u,materialExports:Rd(c),materialMapLibrary:f,libraryMap:l,libraryLocaleMap:a}}function ry(e,t){var s;const{name:r,parent:n,alias:i}=e;return n?(s=t[n])==null?void 0:s[i||r]:t[i||r]}function ny(e=[]){const t=e.filter(n=>ir(n)),r=e.filter(n=>sr(n));return{css:t,js:r}}function iy(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 E=a.indexOf("*/",f+2);if(E!==-1){f=E+2;continue}}if(a[f]==="@"){const E=f;for(;f<a.length&&a[f]!=="{"&&a[f]!==";";)f++;const y=a.substring(E,f).trim(),v=y.includes("@keyframes");if(a[f]===";")c.push({type:"simple-at-rule",content:a.substring(E,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 m=a.substring(E,f),x=a.substring(w,f-1);c.push({type:v?"keyframes":"at-rule",rule:y,content:m,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 g=1;for(f++;f<a.length&&g>0;)a[f]==="{"?g++:a[f]==="}"&&g--,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}),s=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}]`},o=a=>i(a).split(",").map(c=>s(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=o(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 Jo(e){return $t(e)?e:JSON.stringify(e)}function mn(e,t,r,n=!1){const i=e.CSSStyleSheet,s=n?`data-v-${t}`:t,o=n?iy(r,s):r;if(i.prototype.replaceSync){const u=new i;u.id=t,u.replaceSync(o);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=o:(l=u.createElement("style"),l.id=t,l.innerHTML=o,u.head.appendChild(l))}}function sy(e,t){return k(this,null,function*(){const r=yield window.fetch(t).then(n=>n.text()).catch(()=>"");r&&mn(window,e,r)})}function Yo(e,t=window){const r=t.document,n=t.document.head;for(const i of e)if(!r.getElementById(i)){const s=r.createElement("link");s.rel="stylesheet",s.id=i,s.href=i,n.appendChild(s)}}function Go(n,i){return k(this,arguments,function*(e,t,r=window){const s=r.document,o=r.document.head;let u=r[t];return u?u.default||u:new Promise((l,a)=>{for(const c of e){const f=s.createElement("script");f.src=c,f.onload=()=>{u=r[t],u?l(u.default||u):a(null)},f.onerror=p=>{a(p)},o.appendChild(f)}})})}function oy(e){return Lt(e)||Lt(e==null?void 0:e.install)}function ay(e){return Qm.includes(e)}function uy(e){return Zm.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 s=['"use strict";',"var __self = arguments[0];"];s.push("return ");let o=(e.value||"").trim();o=o.replace(/this(\W|$)/g,(l,a)=>`__self${a}`),o=s.join(`
69
69
  `)+o;const u=`with(${r?"{}":"$scope || {}"}) { ${o} }`;return new Function("$scope",u)(t)}catch(s){if(te.error("parseExpression.error",s,e,(i=t==null?void 0:t.__self)!=null?i:t),n)throw s}}function ze(e,t,r=!1,n=!1){var s;const i=be(e,t,r,n);if(typeof i!="function"&&(te.error("parseFunction.error","not a function",e,(s=t==null?void 0:t.__self)!=null?s:t),n))throw new Error(`"${e.value}" not a function`);return i}function pt(e){return e&&e.type==="JSExpression"}function or(e){return typeof e=="object"&&e&&e.type==="JSFunction"}const cy={session:!1,authKey:"Authorization",storageKey:"ACCESS_STORAGE",storagePrefix:"__VTJ_",unauthorized:void 0,auth:"/#/login",redirectParam:"r",unauthorizedCode:401,unauthorizedMessage:"登录已经失效,请重新登录!",noPermissionMessage:"无权限访问该页面",appName:"",statusKey:"code"},ly=Symbol("access");class fy{constructor(t){z(this,"options");z(this,"data",null);z(this,"mode",tt.Raw);z(this,"interceptResponse",!0);this.options=Object.assign({},cy,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===tt.Raw&&this.setGuard(n),i&&this.setRequest(i)}login(t){const{storageKey:r,storagePrefix:n,session:i,authKey:s}=this.options;this.setData(t),this.data&&(_r.save(r,t,{type:"local",prefix:n}),i&&Sr.set(s,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):Ti(t).every(i=>n[i]||n[r+"."+i])}some(t){const{appName:r}=this.options,{permissions:n={}}=this.data||{};return Ti(t).some(i=>n[i]||n[r+"."+i])}install(t){t.config.globalProperties.$access=this,t.provide(ly,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=>xi(i,r));try{this.data=JSON.parse(n.join(""))}catch(i){console.warn(i)}return}if(typeof t=="string")try{const n=r?xi(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 un(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 hy(e={}){const{notify:t,loading:r,settings:n={},Startup:i,access:s,useTitle:o,alert:u}=e;let l=null;return{request:dn({settings:H({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:Wo,notify:t,loading:r,useTitle:o,startupComponent:i,access:s?new fy(H({alert:u},s)):void 0}}function py(e,t){const{jsonp:r,request:n}=t;if(e.method==="jsonp")return(i={})=>r(e.url,et(H({},e.jsonpOptions),{query:i}));{const i=e.headers?be(e.headers,{},!0):void 0,s={url:e.url,method:e.method,settings:et(H({},e.settings),{headers:i})};return(o,u)=>(delete s.data,n.send(he(s,u||{},{data:o})))}}function dy(e,t){const{metaQuery:r}=t;if(!r)return;const{code:n,queryCode:i}=e;return(s,o)=>{if(!r){console.warn("adapter.metaQuery is not defined!");return}return r(n,i,s,o)}}function gy(e=[],t=[],r){const n={};for(const i of e)n[i.id]=py(i,r);for(const i of t)n[i.id]=dy(i,r);return n}function my(){return k(this,arguments,function*(e=[],t=window){const r=ve(t);r&&(Zo(t),e.forEach(n=>vy(r,n)))})}function yy(e,t=window){const r=or(e.mockTemplate)&&e.mockTemplate.value?ze(e.mockTemplate,{},!0):void 0,n=ve(t);return(...i)=>k(null,null,function*(){let s={};if(r)try{s=yield r.apply(r,i)}catch(o){te.warn("模拟数据模版异常",o)}return n==null?void 0:n.mock(s)})}function vy(e,t){if(!t.mock)return;const{url:r,mockTemplate:n}=t;if(r&&n){const i=ln(`${r}(.*)`),s=Bd(r,{decode:decodeURIComponent}),o=be(n,{},!0);e.mock(i,u=>{var f;const l=Me.parse(u.url)||{},a=u.body instanceof FormData?$m(u.body):u.body,c=(f=s(u.url))==null?void 0:f.params;return Object.assign(u,{data:a,params:l,query:c}),e.mock(o(u))})}}function Zo(e=window){const t=ve(e);t&&(t._mocked={})}class by{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&&qi.forEach(t=>{var r;this[t]=(r=this.__instance)==null?void 0:r[t]})}__cleanup(){qi.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===tt.Runtime){const{id:n,type:i}=t,s=n&&(r=this.__transform[n])!=null?r:t.value;return ze({type:i,value:s},this)}else return ze(t,this)}__parseExpression(t){var r;if(t)if(this.__mode===tt.Runtime){const{id:n,type:i}=t,s=n&&(r=this.__transform[n])!=null?r:t.value;return be({type:i,value:s},this)}else return be(t,this)}__ref(t=null,r){if(this.__mode!==tt.VNode)return t&&t!==this.__id&&(this.__contextRefs[t]=this),n=>k(this,null,function*(){var s,o;yield un(0);let i=(n==null?void 0:n.$vtjEl)||(n==null?void 0:n.$el)||((o=(s=n==null?void 0:n._)==null?void 0:s.vnode)==null?void 0:o.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,tt.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 s=new Set([].concat(i,n));return Array.from(s)}else return n}__clone(t={}){const r=H(H({},this.context),t),n=et(H({},r),{context:r});return n.context.__proto__=this.context,n.__proto__=this,n}}function Yr(e){var f,p;const{Vue:t=Ke,mode:r=tt.Runtime,components:n={},libs:i={},apis:s={},loader:o}=e,u=t.computed(()=>e.dsl),l={$components:n,$libs:i,$apis:s},a=new by({mode:r,dsl:u.value,attrs:l}),c=t.defineComponent(H({name:u.value.name,__scopeId:u.value.id?`data-v-${u.value.id}`:void 0,props:H({},_y((f=u.value.props)!=null?f:[],a)),setup(h){var v,w,S,m;a.$props=h,a.props=h,u.value.id&&mn(e.window||window,u.value.id,u.value.css||"",!0),a.state=Ey(t,(v=u.value.state)!=null?v:{},a);const d=Sy(t,(w=u.value.computed)!=null?w:{},a),g=xy((S=u.value.methods)!=null?S:{},a),b=Ty(t,u.value.inject,a);for(const[x,R]of Object.entries(b||{}))b[x]=t.inject(x,R);const E=Ay(u.value.dataSources||{},a),y=H(H(H(H({},b),d),g),E);return a.setup(y,t),Ry(t,(m=u.value.watch)!=null?m:[],a),{vtj:a}},emits:wy(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,o,h):h.map(d=>re(d,a,t,o,h))}},Oy((p=u.value.lifeCycles)!=null?p:{},a)));return{renderer:t.markRaw(c),context:a}}function wy(e=[]){return e.map(t=>$t(t)?t:t.name)}function _y(e=[],t){const r=n=>n?(Array.isArray(n)?n:[n]).map(i=>Gm[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 Ey(e,t,r){return e.reactive(Object.keys(t||{}).reduce((n,i)=>{let s=t[i];return pt(s)?s=r.__parseExpression(s):or(s)&&(s=r.__parseFunction(s)),n[i]=s,n},{}))}function Sy(e,t,r){return Object.entries(t!=null?t:{}).reduce((n,[i,s])=>(n[i]=e.computed(r.__parseFunction(s)),n),{})}function xy(e,t){return Object.entries(e!=null?e:{}).reduce((r,[n,i])=>(r[n]=t.__parseFunction(i),r),{})}function Ty(e,t=[],r){return t.reduce((n,i)=>{var a;const{name:s,from:o}=i||{};i.default;const u=pt(o)?r.__parseExpression(o)||s:o!=null?o:s,l=pt(i.default)?r.__parseExpression(i.default):(a=i.default)!=null?a:null;return n[s]=e.inject(u,l),n},{})}function Ay(e,t){return Object.keys(e).reduce((r,n)=>{const i=e[n];if(i.type==="mock")r[n]=yy(i);else if(i.ref){const s=t.$apis[i.ref],o=or(i.transform)?i.transform.value?t.__parseFunction(i.transform):void 0:i.transform;r[n]=(...u)=>k(null,null,function*(){const l=yield s.apply(t,u);return o?o(l):l})}return r},{})}function Ry(e,t=[],r){t.forEach(n=>{e.watch(r.__parseExpression(n.source),r.__parseFunction(n.handler),{deep:n.deep,immediate:n.immediate})})}function Oy(e,t){return Object.entries(e!=null?e:{}).reduce((r,[n,i])=>{const s=t.__parseFunction(i);return r[n]=()=>k(null,null,function*(){yield un(0),Lt(s)&&s()}),r},{})}const $y=new Ud;let Ar=[],Yt={};const jy=e=>e;function Qo(r){return k(this,arguments,function*(e,t=window){const{urls:n=[],library:i}=e,s=n.filter(u=>sr(u));if(s.length===0||!i)return null;const o=n.filter(u=>ir(u));return o.length&&Yo(o,t),yield Go(s,i,t).catch(u=>(console.warn("loadScriptUrl error",s,i,u),null))})}function Gr(e){const{getDsl:t,getDslByUrl:r,options:n}=e;return n.window&&(Ar.forEach(i=>{delete n.window[i]}),Ar=[]),(i,s,o=Ke)=>{if(!s||typeof s=="string")return i;if(s.type==="Schema"&&s.id)return o.defineAsyncComponent(()=>k(null,null,function*(){const u=Yt[s.id]||(yield $y.add(s.id,()=>t(s.id)));return u&&(u.name=i,Yt[s.id]=u),u?Yr(et(H({},n),{Vue:o,dsl:Xn(u),mode:tt.Runtime,loader:Gr(e)})).renderer:null}));if(s.type==="UrlSchema"&&s.url)return o.defineAsyncComponent(()=>k(null,null,function*(){const u=Yt[s.url]||(yield r(s.url));return u&&(u.name=i,Yt[s.url]=u),u?Yr(et(H({},n),{Vue:o,dsl:Xn(u),mode:tt.Runtime,loader:Gr(e)})).renderer:null}));if(s.type==="Plugin"){let u=s.library?Yt[s.library]:null;return u||(s.library&&Ar.push(s.library),u=Yt[s.library||Symbol()]=o.defineAsyncComponent(()=>k(null,null,function*(){return(yield Qo(s,n.window))||(console.warn("getPlugin result is null",s),null)})),u)}return i}}function re(e,t,r=Ke,n=jy,i=[],s=!1){var v;if(!e||!e.name||e.invisible)return null;const o=(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:g,vHtml:b,others:E}=Xo(l);if(!s&&(c||f))return null;if(a&&!By(a,t))return Py(e,t,r,n,i);const y=(w,S=0)=>{var j,N,L,M;const m=w.$components,x=(()=>{var q,O,D,C;if(e.name==="component")return Cy(w,(q=e.props)==null?void 0:q.is);if(e.name==="slot")return e.name;const V=n(e.name,e.from,r);if($t(V))return ay(V)||uy(V)?V:(C=(D=m[V])!=null?D:(O=o==null?void 0:o.app)==null?void 0:O.component(V))!=null?C:V;if(ct(V)&&e.id){const I=`Loader${e.id}_${S}`;return m[I]||(m[I]=V)}return V})(),R=Ny(u,(j=e.props)!=null?j:{},w),U=Iy(r,(N=e.events)!=null?N:{},w);if(e.name==="slot")return ky(r,e,R,w,n);g&&Object.assign(R,w.__parseExpression(g.value)),h&&(R.style=Object.assign((L=R.style)!=null?L:{},My(h,w))),b&&Object.assign(R,Uy(b,w)),d.forEach(V=>{Object.assign(R,Ly(r,V,w))});const _=Vy(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,H(H(H({key:`${u}_${S}`},F),R),U),_);const P=o?Dy(o,E,w):[];return P.length&&(B=r.withDirectives(B,P)),B};return p?zy(p,y,t):y(t)}function Dy(e,t,r){const n=e.app;return t.map(i=>{const s=typeof i.name=="string"?n.directive(i.name):r.__parseExpression(i.name);if(!s)return null;const o=[s];return i.value&&o.push(r.__parseExpression(i.value)),i.arg&&o.push(i.arg),i.modifiers&&o.push(i.modifiers),o}).filter(i=>!!i)}function Xo(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"),s=e.find(c=>wt(c.name)==="vShow"),o=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=>!Ym.includes(wt(c.name)));return{vIf:t,vElseIf:r,vElse:n,vFor:i,vShow:s,vModels:l,vBind:o,others:a,vHtml:u}}function By(e,t){return!!t.__parseExpression(e.value)}function Cy(e,t){return t?pt(t)?e.__parseExpression(t):t:"div"}function Ny(e,t,r){const n=Zr(t,r);return n.ref=r.__ref(e,n.ref),n}function Zr(e,t){return pt(e)?t.__parseExpression(e):or(e)?t.__parseFunction(e):Array.isArray(e)?e.map(r=>Zr(r,t)):typeof e=="object"?Object.keys(e||{}).reduce((r,n)=>{let i=e[n];return r[n]=Zr(i,t),r},{}):e}function Iy(e,t,r){const n=["passive","capture","once"],i={capture:"Capture",once:"Once",passive:"OnceCapture"};return Object.keys(t||{}).reduce((s,o)=>{const u=t[o],l=ta(u.modifiers),a=l.find(p=>n.includes(p)),c="on"+As(o)+(a&&i[a]||""),f=r.__parseFunction(u.handler);return f&&(s[c]=e.withModifiers(f,l)),s},{})}function Py(e,t,r,n,i=[]){let s=i.findIndex(o=>o.id===e.id);for(let o=++s;o<i.length;o++){const{directives:u=[]}=i[o],{vElseIf:l,vElse:a}=Xo(u);if(l){if(t.__parseExpression(l.value))return re(i[o],t,r,n,i,!0);continue}if(a)return re(i[o],t,r,n,i,!0)}return null}function ta(e={},t=!1){const r=Object.keys(e);return t?r.map(n=>"."+n):r}function ky(e,t,r,n,i){var l;const{children:s}=t,o=Fy(t,n),u=(l=n.$slots)==null?void 0:l[o.name];return u?u(r):s?$t(s)?e.createTextVNode(s):pt(s)?e.createTextVNode(Jo(n.__parseExpression(s))):Array.isArray(s)?s.map(a=>re(a,n,e,i,s)):null:null}function Fy(e,t){const{props:r}=e,n=(r==null?void 0:r.name)||"default";return{name:pt(n)?t.__parseExpression(n):n,params:[]}}function My(e,t){return t.__parseExpression(e.value)?{}:{display:"none"}}function Uy(e,t){return{innerHTML:t.__parseExpression(e.value)||""}}function Ly(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.64
75
+ * @version 0.12.65
76
76
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
77
77
  */const r0=["onLaunch","onShow","onHide","onError","onPageNotFound","onUnhandledRejection","onThemeChange","onPageNotFound","onUniNViewMessage","onExit"],Ki="/pages",n0="VTJ",i0="__UNI__1FC118B",s0="VTJ移动跨端项目",o0="1.0.0",a0="100",u0=!1,c0={},l0={enable:!1},f0="3",h0={name:n0,appid:i0,description:s0,versionName:o0,versionCode:a0,transformPx:u0,"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:c0,"mp-weixin":{appid:"",setting:{urlCheck:!1},usingComponents:!0},"mp-alipay":{usingComponents:!0},"mp-baidu":{usingComponents:!0},"mp-toutiao":{usingComponents:!0},uniStatistics:l0,vueVersion:f0},p0=[],d0={navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"},g0={autoscan:!0,custom:{"^uni-(.*)":"@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue"}},m0={pages:p0,globalStyle:d0,easycom:g0};function y0(e){let{manifestJson:t={},pagesJson:r={},routes:n=[]}=e;const i=n.map(s=>{const{path:o,style:u,needLogin:l}=s;return{path:o,style:u,needLogin:l}});return et(H({},e),{manifestJson:Object.assign({},h0,t),pagesJson:Object.assign({},m0,r,{pages:i})})}const Qr={navigationBarBackgroundColor:"backgroundColor",navigationBarTextStyle:"titleColor",navigationBarTitleText:"titleText",navigationStyle:"style",titleImage:"titleImage",titlePenetrate:"titlePenetrate",transparentTitle:"transparentTitle"};function ia(e){const t={},r={black:"#000000",white:"#ffffff"};for(const n in e)Qr[n]&&(t[Qr[n]]=n==="navigationBarTextStyle"?r[e[n]]||r.black:e[n]);return t}function v0(e){const t={};for(const r in e)Qr[r]||(t[r]=e[r]);return t}function b0(e){var t,r;return((r=(t=e.h5)==null?void 0:t.router)==null?void 0:r.mode)||"hash"}function w0(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 _0(e){const{pagesJson:t={}}=e,{globalStyle:r,pages:n=[]}=t;return!!(r!=null&&r.enablePullDownRefresh||n.find(i=>{var s;return!!((s=i.style)!=null&&s.enablePullDownRefresh)}))}function E0(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(s=>{var o;return((o=s.style)==null?void 0:o.navigationStyle)==="default"})&&(i=!1)):n.every(s=>{var o;return((o=s.style)==null?void 0:o.navigationStyle)==="custom"})&&(i=!0),i}function S0(e){var u;const t=E0(e),r={navigationBar:!1,navigationBarButtons:!1,navigationBarSearchInput:!1,navigationBarTransparent:!1},{pagesJson:n={}}=e,{globalStyle:i,pages:s=[]}=n;if(t)return r;r.navigationBar=!0;const o=(u=i==null?void 0:i.h5)==null?void 0:u.titleNView;return s.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),(o!=null&&o.searchInput||s.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),((o==null?void 0:o.type)==="transparent"||s.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 x0(e,t=window){var p,h,d,g;const{pagesJson:r={},manifestJson:n={}}=e,{topWindow:i,leftWindow:s,rightWindow:o}=w0(r),{navigationBar:u,navigationBarButtons:l,navigationBarSearchInput:a,navigationBarTransparent:c}=S0(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__:b0(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__:!!((g=r.tabBar)!=null&&g.midButton),__UNI_FEATURE_TOPWINDOW__:i,__UNI_FEATURE_LEFTWINDOW__:s,__UNI_FEATURE_RIGHTWINDOW__:o,__UNI_FEATURE_RESPONSIVE__:!1,__UNI_FEATURE_NAVIGATIONBAR__:u,__UNI_FEATURE_PULL_DOWN_REFRESH__:_0(e),__UNI_FEATURE_NAVIGATIONBAR_BUTTONS__:l,__UNI_FEATURE_NAVIGATIONBAR_SEARCHINPUT__:a,__UNI_FEATURE_NAVIGATIONBAR_TRANSPARENT__:c};Object.entries(f).forEach(([b,E])=>{t[b]=E})}const T0="4.57";function A0(e,t=window){var f,p;const{pagesJson:r={},manifestJson:n={}}=e,{easycom:i={}}=r,{appid:s="",name:o="",versionCode:u="",versionName:l=""}=n,a=r.globalStyle,c=((f=n.h5)==null?void 0:f.router)||{};t.__uniConfig={easycom:i,globalStyle:et(H({},v0(a)),{navigationBar:ia(a),isNVue:!1}),compilerVersion:T0,appId:s,appName:o,appVersion:l,appVersionCode:String(u),async:H({loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0},((p=n.h5)==null?void 0:p.async)||{}),debug:!1,networkTimeout:H({request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},n.networkTimeout||{}),sdkConfigs:{},nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:{},router:H({mode:"hash",base:"/",assets:"assets",routerBase:c.base||"/"},c),darkmode:!1,themeConfig:{},tabBar:r.tabBar?H({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 R0(e,t=window){const{UniServiceJSBridge:r,UniViewJSBridge:n,getApp:i,uni:s,getCurrentPages:o,upx2px:u,setupPage:l}=e;t.UniServiceJSBridge=r,t.UniViewJSBridge=n,t.getApp=i,t.uni=s,t.wx=s,t.getCurrentPages=o,t.upx2px=u,t.__setupPage=a=>l(a)}function O0(e,t,r){const{openBlock:n,createBlock:i,withCtx:s,createVNode:o}=e,{PageComponent:u,setupPage:l,getApp:a}=t;return{mpType:"page",setup(){return k(this,null,function*(){var g,b;const f=((b=(g=a())==null?void 0:g.$route)==null?void 0:b.query)||{},{loader:p,component:h}=r,d=p?yield p(r):h||{};return()=>(n(),i(u,null,{page:s(()=>[o(l(d),Object.assign({},f,{ref:"page"}),null,512)]),_:1}))})}}}function $0(e,t,r){var h;const{path:n,style:i={},meta:s={},home:o,id:u}=t,l=((h=e.tabBar)==null?void 0:h.list)||[],a=l.findIndex(d=>{var g;return d.pagePath===n||((g=d.pagePath)==null?void 0:g.endsWith(u))}),c=l[a],f=!!c,p=r===0;return H({isTabBar:f,tabBarIndex:a,isQuit:o!=null?o:p,isEntry:o!=null?o:p,navigationBar:H({type:"default"},ia(i)),isNVue:!1,route:c?c.pagePath:n},s)}function j0(e,t,r,n,i=window){const s=r.map((o,u)=>{const l=$0(n,o,u),a=O0(e,t,o),{path:c}=o;return{path:c,alias:c,meta:l,component:{render(){return e.h(e.Suspense,[e.h(a)])}}}});i.__uniRoutes=s,i.__uniLayout={}}function D0(e,t,r=window){mn(r,String(e),t)}function B0(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 C0(e){const t=y0(e),{Vue:r,App:n,UniH5:i,routes:s=[],pagesJson:o={},manifestJson:u={},window:l,css:a=""}=t;if(!i)return r.createApp(n);const{plugin:c,setupApp:f}=i;x0(t,l),A0(t,l),R0(i,l),j0(r,i,s,o,l),D0(u.appid||Date.now(),a,l);const p=r.createApp(f(n));return p.use(B0,i),p.use(c),p}function N0(e,t){const r={};return Object.entries(e).forEach(([n,i])=>{r0.includes(n)&&i&&(r[n]=t(i))}),r}function Wi(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 I0(n){return k(this,arguments,function*(e,t=!1,r=Ki){var u,l,a;const i=((u=e.project)==null?void 0:u.pages)||[],s=[];for(const c of i){const f=((l=e.project)==null?void 0:l.homepage)===c.id;s.push({id:c.id,path:`${r}/${c.id}`,loader:Wi(e,c.id),style:H({navigationBarTitleText:c.title},c.style),needLogin:c.needLogin,home:f})}const o=s.find(c=>!!c.home)||s[0];if(o){const c=r===Ki?"/":r;s.unshift(et(H({},o),{path:c}))}if(t){const c=((a=e.project)==null?void 0:a.blocks)||[];for(const f of c)s.push({id:f.id,path:`${r}/${f.id}`,loader:Wi(e,f.id),style:{navigationStyle:"custom"}})}return s})}function P0(){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 sa(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 k0(e=tt.Runtime){return e===tt.Runtime?Object.assign({}):Object.assign({})}const F0=hy({loading:P0,notify:sa}),oa=new e0(Xy(sa)),M0=k0(),{provider:U0,onReady:L0}=Jy({nodeEnv:"production",mode:tt.Runtime,modules:M0,materialPath:"../",adapter:F0,service:oa,dependencies:{Vue:()=>_n(()=>import("./@dcloudio-uni-h5-vue-BPSV-pNw.js").then(e=>e.J),__vite__mapDeps([0,1,2]),import.meta.url),VueRouter:()=>_n(()=>import("./vue-router-Uz_q6KEP.js"),__vite__mapDeps([3,0,1,2]),import.meta.url)}}),V0=e=>k(null,null,function*(){const t=(yield oa.getExtension().catch(()=>null))||{},r=top||window,n=yield Gy(t.enhance,r.location.pathname),{Vue:i,UniH5:s}=window,o=e.project;if(!o)return;const u=o.uniConfig||{},l=N0(u,d=>ze(d,window,!1,!0)),{manifestJson:a,pagesJson:c,css:f}=u,p=yield I0(e,!0),h=C0({Vue:i,App:l,UniH5:s,routes:p,css:f,manifestJson:a,pagesJson:c});h.use(e),n&&h.use(n,e),h.mount(document.body)});L0(()=>V0(U0));
@@ -13,7 +13,7 @@
13
13
  <title></title>
14
14
  <!--preload-links-->
15
15
  <!--app-context-->
16
- <script type="module" crossorigin src="./assets/index-Clvc-hGb.js"></script>
16
+ <script type="module" crossorigin src="./assets/index-DDqyu5CZ.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-BPSV-pNw.js">
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vtj/pro",
3
3
  "private": false,
4
- "version": "0.12.64",
4
+ "version": "0.12.65",
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/core": "~0.12.64",
25
- "@vtj/local": "~0.12.64",
26
- "@vtj/materials": "~0.12.64",
27
- "@vtj/uni": "~0.12.64",
28
- "@vtj/renderer": "~0.12.64",
29
- "@vtj/designer": "~0.12.64"
24
+ "@vtj/core": "~0.12.65",
25
+ "@vtj/renderer": "~0.12.65",
26
+ "@vtj/materials": "~0.12.65",
27
+ "@vtj/designer": "~0.12.65",
28
+ "@vtj/uni": "~0.12.65",
29
+ "@vtj/local": "~0.12.65"
30
30
  },
31
31
  "devDependencies": {
32
32
  "vue": "~3.5.5",
33
33
  "vue-router": "~4.5.0",
34
- "@vtj/charts": "~0.12.64",
35
- "@vtj/ui": "~0.12.64",
36
- "@vtj/utils": "~0.12.64",
34
+ "@vtj/charts": "~0.12.65",
37
35
  "@vtj/cli": "~0.12.8",
38
- "@vtj/icons": "~0.12.64"
36
+ "@vtj/icons": "~0.12.65",
37
+ "@vtj/ui": "~0.12.65",
38
+ "@vtj/utils": "~0.12.65"
39
39
  },
40
40
  "exports": {
41
41
  "./vite": {
@@ -63,9 +63,9 @@
63
63
  "vtj": {
64
64
  "name": "VTJ.PRO",
65
65
  "platform": "web",
66
- "remote": "http://localhost:8000",
66
+ "remote": "https://lcdp.vtj.pro",
67
67
  "__ACCESS__": {
68
- "auth": "http://localhost:8000/login",
68
+ "auth": "https://lcdp.vtj.pro/login",
69
69
  "storageKey": "RRO_IDE_ACCESS_STORAGE__",
70
70
  "privateKey": "MIIBOgIBAAJBAKoIzmn1FYQ1YOhOBw9EhABxZ+PySAIaydI+zdhoKflrdgJ4A5E4/5gbQmRpk09hPWG8nvX7h+l/QLU8kXxAIBECAwEAAQJAAlgpxQY6sByLsXqzJcthC8LSGsLf2JEJkHwlnpwFqlEV8UCkoINpuZ2Wzl+aftURu5rIfAzRCQBvHmeOTW9/zQIhAO5ufWDmnSLyfAAsNo5JRNpVuLFCFodR8Xm+ulDlosR/AiEAtpAltyP9wmCABKG/v/hrtTr3mcvFNGCjoGa9bUAok28CIHbrVs9w1ijrBlvTsXYwJw46uP539uKRRT4ymZzlm9QjAiB+1KH/G9f9pEEL9rtaSOG7JF5D0JcOjlze4MGVFs+ZrQIhALKOUFBNr2zEsyJIjw2PlvEucdlG77UniszjXTROHSPd"
71
71
  }