@vtj/renderer 0.18.28 → 0.18.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -2,9 +2,9 @@
2
2
  * Copyright (c) 2026, VTJ.PRO All rights reserved.
3
3
  * @name @vtj/renderer
4
4
  * @author CHC chenhuachun1549@dingtalk.com
5
- * @version 0.18.28
5
+ * @version 0.18.29
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
- */const _e="0.18.28";var T=(t=>(t.Runtime="Runtime",t.Design="Design",t.Raw="Raw",t.VNode="VNode",t))(T||{});const pt=["$el","$emit","$nextTick","$parent","$root","$attrs","$slots","$watch","$props","$options","$forceUpdate"],dr=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted","errorCaptured","renderTracked","renderTriggered","activated","deactivated"],mr=["onBeforeMount","onMounted","onBeforeUpdate","onUpdated","onBeforeUnmount","onUnmounted","onErrorCaptured","onRenderTracked","onRenderTriggered","onActivated","onDeactivated"],rs=["vIf","vElseIf","vElse","vShow","vModel","vFor","vBind","vHtml"],is={String,Number,Boolean,Array,Object,Function,Date},Se="VtjPage",Ae="VtjHomepage",yt="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(","),ns="component,slot".split(","),gr=["h","t","t","p","s",":","/","/","a","p","p",".","v","t","j",".","p","r","o"].join(""),vr={auth:["h","t","t","p","s",":","/","/","a","p","p",".","v","t","j",".","p","r","o","/","a","u","t","h",".","h","t","m","l"].join(""),storageKey:["R","R","O","_","I","D","E","_","A","C","C","E","S","S","_","S","T","O","R","A","G","E","_","_"].join(""),privateKey:"MIIBOgIBAAJBAKoIzmn1FYQ1YOhOBw9EhABxZ+PySAIaydI+zdhoKflrdgJ4A5E4/5gbQmRpk09hPWG8nvX7h+l/QLU8kXxAIBECAwEAAQJAAlgpxQY6sByLsXqzJcthC8LSGsLf2JEJkHwlnpwFqlEV8UCkoINpuZ2Wzl+aftURu5rIfAzRCQBvHmeOTW9/zQIhAO5ufWDmnSLyfAAsNo5JRNpVuLFCFodR8Xm+ulDlosR/AiEAtpAltyP9wmCABKG/v/hrtTr3mcvFNGCjoGa9bUAok28CIHbrVs9w1ijrBlvTsXYwJw46uP539uKRRT4ymZzlm9QjAiB+1KH/G9f9pEEL9rtaSOG7JF5D0JcOjlze4MGVFs+ZrQIhALKOUFBNr2zEsyJIjw2PlvEucdlG77UniszjXTROHSPd"};function Ie(t,e){return t.map(s=>d.isUrl(s)||s.startsWith("/")?s:`${e}${s}`)}function Le(t){return/\.css$/.test(t)}function Fe(t){return/\.js$/.test(t)}function as(t){return/\.json$/.test(t)}function xr(t){return t.map(e=>`<script src="${d.url.append(e,{v:_e})}"><\/script>`).join("")}function br(t=[]){return t.map(e=>`<link rel="stylesheet" href="${d.url.append(e,{v:_e})}" />`).join("")}function os(t,e=!1){return e&&t.endsWith(".prod.js")?t.replace(".prod.js",".js"):t}function us(t,e,s=!1){const r=t.filter(m=>!!m.enabled),i=[],n=[],a=[],o=[],c={},h={},l=[],p={};return r.forEach(({urls:m,assetsUrl:f,library:g,assetsLibrary:v,localeLibrary:x})=>{m?.forEach(b=>{Fe(b)&&i.push(os(b,s)),Le(b)&&n.push(b)}),g&&(o.push(g),c[g]=Ie(m||[],e),x&&(h[g]=x)),f&&a.push(f),v&&l.push(v),g&&v&&(p[v]=g)}),{scripts:Ie(i,e),css:Ie(n,e),materials:Ie(a,e),libraryExports:o,materialExports:d.dedupArray(l),materialMapLibrary:p,libraryMap:c,libraryLocaleMap:h}}function cs(t,e){const{name:s,parent:r,alias:i}=t;return r?e[r]?.[i||s]:e[i||s]}function ls(t=[]){const e=t.filter(r=>Le(r)),s=t.filter(r=>Fe(r));return{css:e,js:s}}function hs(t,e){const s=h=>{const l=[];let p=0;for(;p<h.length;){if(/\s/.test(h[p])){p++;continue}if(h.substring(p,p+2)==="/*"){const b=h.indexOf("*/",p+2);if(b!==-1){p=b+2;continue}}if(h[p]==="@"){const b=p;for(;p<h.length&&h[p]!=="{"&&h[p]!==";";)p++;const I=h.substring(b,p).trim(),P=I.includes("@keyframes");if(h[p]===";")l.push({type:"simple-at-rule",content:h.substring(b,p+1)}),p++;else if(h[p]==="{"){const S=p+1;let U=1;for(p++;p<h.length&&U>0;)h[p]==="{"?U++:h[p]==="}"&&U--,p++;const me=h.substring(b,p),ge=h.substring(S,p-1);l.push({type:P?"keyframes":"at-rule",rule:I,content:me,inner:ge})}continue}const m=p;for(;p<h.length&&h[p]!=="{";)p++;if(p>=h.length)break;const f=h.substring(m,p).trim();if(!f){p++;continue}const g=p+1;let v=1;for(p++;p<h.length&&v>0;)h[p]==="{"?v++:h[p]==="}"&&v--,p++;const x=h.substring(g,p-1);l.push({type:"rule",selector:f,content:x.trim()})}return l},r=h=>{const l=h.trim();return/^(from|to|\d+(\.\d+)?%)$/.test(l)},i=h=>h.replace(/::v-deep\(/g,":deep(").replace(/::v-deep\s+/g,":deep(").replace(/\/deep\//g," ").replace(/>>>/g," ").replace(/(.*?):deep\(([^)]+)\)/g,(l,p,m)=>{const f=p.trim(),g=m.trim();return f?`${f}[${e}] ${g}`:g}),n=h=>{const l=h.trim();if(!l||l.includes(`[${e}]`)||/^(:root|:host|html|body)(\s|$|:|\.|\#|\[)/.test(l)||r(l))return l;const p=l.match(/^(.+?)((?:::?[\w-]+(?:\([^)]*\))?)*)\s*$/);if(p){const[,m,f=""]=p,g=m.trim();return g?`${g}[${e}]${f}`:l}return`${l}[${e}]`},a=h=>i(h).split(",").map(p=>n(p)).filter(p=>p.trim()).join(", "),o=h=>h.map(l=>{switch(l.type){case"simple-at-rule":return l.content;case"keyframes":return l.content;case"at-rule":try{const m=s(l.inner),f=o(m);return`${l.rule} { ${f} }`}catch{return l.content}case"rule":if(!l.selector||!l.content)return"";const p=a(l.selector);return p.trim()?`${p} { ${l.content} }`:"";default:return""}}).filter(l=>l.trim()).join(" "),c=h=>h.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 h=t.replace(/\/\*(?!\s*!)[\s\S]*?\*\//g,"").replace(/^\s+|\s+$/gm,"").replace(/\n\s*\n/g,`
7
+ */const _e="0.18.29";var T=(t=>(t.Runtime="Runtime",t.Design="Design",t.Raw="Raw",t.VNode="VNode",t))(T||{});const pt=["$el","$emit","$nextTick","$parent","$root","$attrs","$slots","$watch","$props","$options","$forceUpdate"],dr=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted","errorCaptured","renderTracked","renderTriggered","activated","deactivated"],mr=["onBeforeMount","onMounted","onBeforeUpdate","onUpdated","onBeforeUnmount","onUnmounted","onErrorCaptured","onRenderTracked","onRenderTriggered","onActivated","onDeactivated"],rs=["vIf","vElseIf","vElse","vShow","vModel","vFor","vBind","vHtml"],is={String,Number,Boolean,Array,Object,Function,Date},Se="VtjPage",Ae="VtjHomepage",yt="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(","),ns="component,slot".split(","),gr=["h","t","t","p","s",":","/","/","a","p","p",".","v","t","j",".","p","r","o"].join(""),vr={auth:["h","t","t","p","s",":","/","/","a","p","p",".","v","t","j",".","p","r","o","/","a","u","t","h",".","h","t","m","l"].join(""),storageKey:["R","R","O","_","I","D","E","_","A","C","C","E","S","S","_","S","T","O","R","A","G","E","_","_"].join(""),privateKey:"MIIBOgIBAAJBAKoIzmn1FYQ1YOhOBw9EhABxZ+PySAIaydI+zdhoKflrdgJ4A5E4/5gbQmRpk09hPWG8nvX7h+l/QLU8kXxAIBECAwEAAQJAAlgpxQY6sByLsXqzJcthC8LSGsLf2JEJkHwlnpwFqlEV8UCkoINpuZ2Wzl+aftURu5rIfAzRCQBvHmeOTW9/zQIhAO5ufWDmnSLyfAAsNo5JRNpVuLFCFodR8Xm+ulDlosR/AiEAtpAltyP9wmCABKG/v/hrtTr3mcvFNGCjoGa9bUAok28CIHbrVs9w1ijrBlvTsXYwJw46uP539uKRRT4ymZzlm9QjAiB+1KH/G9f9pEEL9rtaSOG7JF5D0JcOjlze4MGVFs+ZrQIhALKOUFBNr2zEsyJIjw2PlvEucdlG77UniszjXTROHSPd"};function Ie(t,e){return t.map(s=>d.isUrl(s)||s.startsWith("/")?s:`${e}${s}`)}function Le(t){return/\.css$/.test(t)}function Fe(t){return/\.js$/.test(t)}function as(t){return/\.json$/.test(t)}function xr(t){return t.map(e=>`<script src="${d.url.append(e,{v:_e})}"><\/script>`).join("")}function br(t=[]){return t.map(e=>`<link rel="stylesheet" href="${d.url.append(e,{v:_e})}" />`).join("")}function os(t,e=!1){return e&&t.endsWith(".prod.js")?t.replace(".prod.js",".js"):t}function us(t,e,s=!1){const r=t.filter(m=>!!m.enabled),i=[],n=[],a=[],o=[],c={},h={},l=[],p={};return r.forEach(({urls:m,assetsUrl:f,library:g,assetsLibrary:v,localeLibrary:x})=>{m?.forEach(b=>{Fe(b)&&i.push(os(b,s)),Le(b)&&n.push(b)}),g&&(o.push(g),c[g]=Ie(m||[],e),x&&(h[g]=x)),f&&a.push(f),v&&l.push(v),g&&v&&(p[v]=g)}),{scripts:Ie(i,e),css:Ie(n,e),materials:Ie(a,e),libraryExports:o,materialExports:d.dedupArray(l),materialMapLibrary:p,libraryMap:c,libraryLocaleMap:h}}function cs(t,e){const{name:s,parent:r,alias:i}=t;return r?e[r]?.[i||s]:e[i||s]}function ls(t=[]){const e=t.filter(r=>Le(r)),s=t.filter(r=>Fe(r));return{css:e,js:s}}function hs(t,e){const s=h=>{const l=[];let p=0;for(;p<h.length;){if(/\s/.test(h[p])){p++;continue}if(h.substring(p,p+2)==="/*"){const b=h.indexOf("*/",p+2);if(b!==-1){p=b+2;continue}}if(h[p]==="@"){const b=p;for(;p<h.length&&h[p]!=="{"&&h[p]!==";";)p++;const I=h.substring(b,p).trim(),P=I.includes("@keyframes");if(h[p]===";")l.push({type:"simple-at-rule",content:h.substring(b,p+1)}),p++;else if(h[p]==="{"){const S=p+1;let U=1;for(p++;p<h.length&&U>0;)h[p]==="{"?U++:h[p]==="}"&&U--,p++;const me=h.substring(b,p),ge=h.substring(S,p-1);l.push({type:P?"keyframes":"at-rule",rule:I,content:me,inner:ge})}continue}const m=p;for(;p<h.length&&h[p]!=="{";)p++;if(p>=h.length)break;const f=h.substring(m,p).trim();if(!f){p++;continue}const g=p+1;let v=1;for(p++;p<h.length&&v>0;)h[p]==="{"?v++:h[p]==="}"&&v--,p++;const x=h.substring(g,p-1);l.push({type:"rule",selector:f,content:x.trim()})}return l},r=h=>{const l=h.trim();return/^(from|to|\d+(\.\d+)?%)$/.test(l)},i=h=>h.replace(/::v-deep\(/g,":deep(").replace(/::v-deep\s+/g,":deep(").replace(/\/deep\//g," ").replace(/>>>/g," ").replace(/(.*?):deep\(([^)]+)\)/g,(l,p,m)=>{const f=p.trim(),g=m.trim();return f?`${f}[${e}] ${g}`:g}),n=h=>{const l=h.trim();if(!l||l.includes(`[${e}]`)||/^(:root|:host|html|body)(\s|$|:|\.|\#|\[)/.test(l)||r(l))return l;const p=l.match(/^(.+?)((?:::?[\w-]+(?:\([^)]*\))?)*)\s*$/);if(p){const[,m,f=""]=p,g=m.trim();return g?`${g}[${e}]${f}`:l}return`${l}[${e}]`},a=h=>i(h).split(",").map(p=>n(p)).filter(p=>p.trim()).join(", "),o=h=>h.map(l=>{switch(l.type){case"simple-at-rule":return l.content;case"keyframes":return l.content;case"at-rule":try{const m=s(l.inner),f=o(m);return`${l.rule} { ${f} }`}catch{return l.content}case"rule":if(!l.selector||!l.content)return"";const p=a(l.selector);return p.trim()?`${p} { ${l.content} }`:"";default:return""}}).filter(l=>l.trim()).join(" "),c=h=>h.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 h=t.replace(/\/\*(?!\s*!)[\s\S]*?\*\//g,"").replace(/^\s+|\s+$/gm,"").replace(/\n\s*\n/g,`
8
8
  `),l=s(h),p=o(l);return c(p)}catch(h){return console.error("CSS scoping failed:",h),console.error("Input CSS:",t),t.replace(/\/\*[\s\S]*?\*\//g,"").replace(/(@keyframes\s+[^{]+\s*{[^{}]*(?:{[^}]*}[^{}]*)*})/g,l=>l).replace(/([^{}@]+)(?=\s*{)/g,l=>{const p=l.trim();return!p||p.startsWith("@")||p.includes(`[${e}]`)||r(p)?l:`${p}[${e}]`})}}const yr=750;function ps(t,e,s){let r;typeof t<"u"?r=t.innerWidth||t.document.documentElement.clientWidth:(console.warn("无法获取屏幕宽度,使用默认值375"),r=375);const i=s||yr;return e*r/i}function fs(t,e){let s=!1,r=!1,i=!1,n="";for(let a=0;a<e.length;a++){const o=e[a];if(o==="'"&&!r&&!i?s=!s:o==='"'&&!s&&!i?r=!r:e.substr(a,4).toLowerCase()==="url("&&!s&&!r?i=!0:o===")"&&i&&(i=!1),!s&&!r&&!i){const c=e.substr(a).match(/^(-?\d+(?:\.\d+)?)\s*rpx/);if(c){const h=c[1],l=parseFloat(h),m=`${ps(t,l).toFixed(6).replace(/\.?0+$/,"")}px`;n+=m,a+=c[0].length-1;continue}}n+=o}return n}function _t(t){return d.isString(t)?t:JSON.stringify(t)}function We(t,e,s,r=!1){const i=t.CSSStyleSheet,n=r?`data-v-${e}`:e,a=t.__uniConfig?fs(t,s):s,o=!!t.__uniConfig,c=t.document,h=!!i?.prototype?.replaceSync&&!o,l=h?Array.from(c.adoptedStyleSheets||[]).find(f=>f.id===e):c.getElementById(e),p=`${n}
9
9
  ${a}`;if(l?.__vtjSource===p)return;const m=r?hs(a,n):a;if(h){const f=new i;f.id=e,f.__vtjSource=p,f.replaceSync(m);const g=c.adoptedStyleSheets||[],v=Array.from(g).filter(x=>x.id!==e);c.adoptedStyleSheets=[...v,f]}else{let f=l;f?f.innerHTML=m:(f=c.createElement("style"),f.id=e,f.innerHTML=m,c.head.appendChild(f)),f.__vtjSource=p}}function _r(t){const e=t.adoptedStyleSheets||[];let s="";if(e.forEach(r=>{try{for(const i of r.cssRules)s+=i.cssText+`
10
10
  `}catch(i){console.error("Failed to read cssRules from adopted stylesheet:",i)}}),s){const r=t.createElement("style");r.textContent=s,t.head.appendChild(r)}}async function ds(t,e){const s=await globalThis.fetch(e).then(r=>r.text()).catch(()=>"");s&&We(globalThis,t,s)}function St(t,e=globalThis){const s=e.document,r=e.document.head;for(const i of t)if(!s.getElementById(i)){const a=s.createElement("link");a.rel="stylesheet",a.id=i,a.href=i,r.appendChild(a)}}async function Ct(t,e,s=globalThis){const r=s.document,i=s.document.head;let n=s[e];if(n)return n.default||n;for(const a of t){const o=r.getElementById?.(a);if(o?.__vtjLoading){await o.__vtjLoading;continue}if(o)continue;const c=r.createElement("script");c.id=a,c.src=a,c.__vtjLoading=new Promise((h,l)=>{c.onload=()=>h(),c.onerror=p=>{c.remove?.(),l(p)}}),i.appendChild(c),await c.__vtjLoading}return n=s[e],n?n.default||n:Promise.reject(null)}function ms(t){return d.isFunction(t)&&Object.getOwnPropertyNames(t.prototype||{}).length===0||d.isFunction(t?.install)}function gs(t){return ns.includes(t)}function vs(t){return yt.includes(t)}function Ce(t=globalThis){const e=globalThis?.Mock;if(e)return e;const s=t?.Mock;if(s&&globalThis)return globalThis.Mock=s,s}function Sr(t,e,s){Object.assign(e.meta,s.meta);const r=t?._container;s?.type==="page"&&r.classList.add("is-page"),s?.pure&&r.classList.add("is-pure")}function xs(t){return/^\([\s\S]*\)/.test(t.trim())}function bs(t){return/\w+\([\s\S]*\)$/.test(t.trim())}function ys(t){return t.includes("=")}var at={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},ot="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",Cr={5:ot,"5module":ot+" export import",6:ot+" const class extends export import super"},wr=/^in(stanceof)?$/,wt="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿯ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-Ᶎꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭧꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",_s="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",Er=new RegExp("["+wt+"]"),kr=new RegExp("["+wt+_s+"]");wt=_s=null;var Ss=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,477,28,11,0,9,21,155,22,13,52,76,44,33,24,27,35,30,0,12,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,0,33,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,0,161,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,270,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,754,9486,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,15,7472,3104,541],Ir=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,525,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,4,9,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,232,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,792487,239];function ft(t,e){for(var s=65536,r=0;r<e.length;r+=2){if(s+=e[r],s>t)return!1;if(s+=e[r+1],s>=t)return!0}}function oe(t,e){return t<65?t===36:t<91?!0:t<97?t===95:t<123?!0:t<=65535?t>=170&&Er.test(String.fromCharCode(t)):e===!1?!1:ft(t,Ss)}function we(t,e){return t<48?t===36:t<58?!0:t<65?!1:t<91?!0:t<97?t===95:t<123?!0:t<=65535?t>=170&&kr.test(String.fromCharCode(t)):e===!1?!1:ft(t,Ss)||ft(t,Ir)}var k=function(e,s){s===void 0&&(s={}),this.label=e,this.keyword=s.keyword,this.beforeExpr=!!s.beforeExpr,this.startsExpr=!!s.startsExpr,this.isLoop=!!s.isLoop,this.isAssign=!!s.isAssign,this.prefix=!!s.prefix,this.postfix=!!s.postfix,this.binop=s.binop||null,this.updateContext=null};function W(t,e){return new k(t,{beforeExpr:!0,binop:e})}var G={beforeExpr:!0},H={startsExpr:!0},Et={};function w(t,e){return e===void 0&&(e={}),e.keyword=t,Et[t]=new k(t,e)}var u={num:new k("num",H),regexp:new k("regexp",H),string:new k("string",H),name:new k("name",H),eof:new k("eof"),bracketL:new k("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new k("]"),braceL:new k("{",{beforeExpr:!0,startsExpr:!0}),braceR:new k("}"),parenL:new k("(",{beforeExpr:!0,startsExpr:!0}),parenR:new k(")"),comma:new k(",",G),semi:new k(";",G),colon:new k(":",G),dot:new k("."),question:new k("?",G),arrow:new k("=>",G),template:new k("template"),invalidTemplate:new k("invalidTemplate"),ellipsis:new k("...",G),backQuote:new k("`",H),dollarBraceL:new k("${",{beforeExpr:!0,startsExpr:!0}),eq:new k("=",{beforeExpr:!0,isAssign:!0}),assign:new k("_=",{beforeExpr:!0,isAssign:!0}),incDec:new k("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new k("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:W("||",1),logicalAND:W("&&",2),bitwiseOR:W("|",3),bitwiseXOR:W("^",4),bitwiseAND:W("&",5),equality:W("==/!=/===/!==",6),relational:W("</>/<=/>=",7),bitShift:W("<</>>/>>>",8),plusMin:new k("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:W("%",10),star:W("*",10),slash:W("/",10),starstar:new k("**",{beforeExpr:!0}),_break:w("break"),_case:w("case",G),_catch:w("catch"),_continue:w("continue"),_debugger:w("debugger"),_default:w("default",G),_do:w("do",{isLoop:!0,beforeExpr:!0}),_else:w("else",G),_finally:w("finally"),_for:w("for",{isLoop:!0}),_function:w("function",H),_if:w("if"),_return:w("return",G),_switch:w("switch"),_throw:w("throw",G),_try:w("try"),_var:w("var"),_const:w("const"),_while:w("while",{isLoop:!0}),_with:w("with"),_new:w("new",{beforeExpr:!0,startsExpr:!0}),_this:w("this",H),_super:w("super",H),_class:w("class",H),_extends:w("extends",G),_export:w("export"),_import:w("import",H),_null:w("null",H),_true:w("true",H),_false:w("false",H),_in:w("in",{beforeExpr:!0,binop:7}),_instanceof:w("instanceof",{beforeExpr:!0,binop:7}),_typeof:w("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:w("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:w("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},J=/\r\n?|\n|\u2028|\u2029/,Te=new RegExp(J.source,"g");function je(t,e){return t===10||t===13||!e&&(t===8232||t===8233)}var Cs=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Y=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ws=Object.prototype,Ar=ws.hasOwnProperty,Pr=ws.toString;function Ke(t,e){return Ar.call(t,e)}var Wt=Array.isArray||function(t){return Pr.call(t)==="[object Array]"};function he(t){return new RegExp("^(?:"+t.replace(/ /g,"|")+")$")}var Ne=function(e,s){this.line=e,this.column=s};Ne.prototype.offset=function(e){return new Ne(this.line,this.column+e)};var ze=function(e,s,r){this.start=s,this.end=r,e.sourceFile!==null&&(this.source=e.sourceFile)};function Es(t,e){for(var s=1,r=0;;){Te.lastIndex=r;var i=Te.exec(t);if(i&&i.index<e)++s,r=i.index+i[0].length;else return new Ne(s,e-r)}}var dt={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1};function Tr(t){var e={};for(var s in dt)e[s]=t&&Ke(t,s)?t[s]:dt[s];if(e.ecmaVersion>=2015&&(e.ecmaVersion-=2009),e.allowReserved==null&&(e.allowReserved=e.ecmaVersion<5),Wt(e.onToken)){var r=e.onToken;e.onToken=function(i){return r.push(i)}}return Wt(e.onComment)&&(e.onComment=Nr(e,e.onComment)),e}function Nr(t,e){return function(s,r,i,n,a,o){var c={type:s?"Block":"Line",value:r,start:i,end:n};t.locations&&(c.loc=new ze(this,a,o)),t.ranges&&(c.range=[i,n]),e.push(c)}}var Re=1,Me=2,kt=Re|Me,ks=4,Is=8,As=16,Ps=32,Ts=64,Ns=128;function It(t,e){return Me|(t?ks:0)|(e?Is:0)}var Kt=0,At=1,ee=2,Rs=3,Os=4,Vs=5,N=function(e,s,r){this.options=e=Tr(e),this.sourceFile=e.sourceFile,this.keywords=he(Cr[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var i="";if(e.allowReserved!==!0){for(var n=e.ecmaVersion;!(i=at[n]);n--);e.sourceType==="module"&&(i+=" await")}this.reservedWords=he(i);var a=(i?i+" ":"")+at.strict;this.reservedWordsStrict=he(a),this.reservedWordsStrictBind=he(a+" "+at.strictBind),this.input=String(s),this.containsEsc=!1,r?(this.pos=r,this.lineStart=this.input.lastIndexOf(`
package/dist/index.mjs CHANGED
@@ -7,10 +7,10 @@ import { useRoute as ms } from "vue-router";
7
7
  * Copyright (c) 2026, VTJ.PRO All rights reserved.
8
8
  * @name @vtj/renderer
9
9
  * @author CHC chenhuachun1549@dingtalk.com
10
- * @version 0.18.28
10
+ * @version 0.18.29
11
11
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
12
12
  */
13
- const we = "0.18.28";
13
+ const we = "0.18.29";
14
14
  var T = /* @__PURE__ */ ((t) => (t.Runtime = "Runtime", t.Design = "Design", t.Raw = "Raw", t.VNode = "VNode", t))(T || {});
15
15
  const Zt = [
16
16
  "$el",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vtj/renderer",
3
3
  "private": false,
4
- "version": "0.18.28",
4
+ "version": "0.18.29",
5
5
  "type": "module",
6
6
  "keywords": [
7
7
  "低代码引擎",
@@ -22,8 +22,8 @@
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
24
  "eval5": "^1.4.8",
25
- "@vtj/core": "~0.18.28",
26
- "@vtj/utils": "~0.18.28"
25
+ "@vtj/core": "~0.18.29",
26
+ "@vtj/utils": "~0.18.29"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "vue": "~3.5.37",
@@ -2,7 +2,7 @@
2
2
  * Copyright (c) 2026, VTJ.PRO All rights reserved.
3
3
  * @name @vtj/renderer
4
4
  * @author CHC chenhuachun1549@dingtalk.com
5
- * @version 0.18.27
5
+ * @version 0.18.28
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.18.27";
8
+ export declare const version = "0.18.28";