@vtj/pro 0.10.4 → 0.10.6

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 (34) hide show
  1. package/dist/@vtj/materials/assets/antdv/index.umd.js +2 -2
  2. package/dist/@vtj/materials/assets/charts/index.umd.js +2 -2
  3. package/dist/@vtj/materials/assets/element/index.umd.js +2 -2
  4. package/dist/@vtj/materials/assets/ui/index.umd.js +2 -2
  5. package/dist/@vtj/materials/assets/uni-h5/index.umd.js +2 -2
  6. package/dist/@vtj/materials/assets/uni-ui/index.umd.js +2 -2
  7. package/dist/@vtj/materials/assets/vant/index.umd.js +2 -2
  8. package/dist/@vtj/materials/deps/@vtj/charts/index.umd.js +2 -2
  9. package/dist/@vtj/materials/deps/@vtj/icons/index.umd.js +2 -2
  10. package/dist/@vtj/materials/deps/@vtj/ui/index.umd.js +3 -3
  11. package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +2 -2
  12. package/dist/@vtj/materials/deps/uni-ui/index.umd.js +1 -1
  13. package/dist/assets/{auth-BupT4CiI.js → auth-Re_w20P7.js} +1 -1
  14. package/dist/assets/{extension-C5AyqVAb.js → extension-CSkHzHdg.js} +18 -18
  15. package/dist/assets/{index-AP9dEz_Y.js → index-CFi2Tinq.js} +1 -1
  16. package/dist/assets/{index-C3R1TG65.js → index-Fvxzmd5p.js} +8 -8
  17. package/dist/assets/{page-CEV_45v0.js → page-B6rLZRtE.js} +1 -1
  18. package/dist/assets/{preview-CUthDBdC.js → preview-BcvN6Eux.js} +1 -1
  19. package/dist/index.html +3 -3
  20. package/dist/uni/assets/{index-D2klRbJx.js → index-Cr58E2ud.js} +3 -3
  21. package/dist/uni/index.html +1 -1
  22. package/package.json +11 -11
  23. package/src/.vtj/files/45tm4w8w2.json +42 -0
  24. package/src/.vtj/files/7pfjupgg3.json +31 -0
  25. package/src/.vtj/histories/45tm4w8w2/7pfjwd2jd.json +35 -0
  26. package/src/.vtj/histories/45tm4w8w2/esnfbzdxu.json +46 -0
  27. package/src/.vtj/histories/45tm4w8w2.json +13 -0
  28. package/src/.vtj/histories/7pfjupgg3/lvvarp9dz.json +35 -0
  29. package/src/.vtj/histories/7pfjupgg3.json +9 -0
  30. package/src/.vtj/projects/@vtj/pro.json +69 -3
  31. package/src/App.vue +1 -1
  32. package/src/pages/45tm4w8w2.vue +15 -0
  33. package/src/pages/7pfjupgg3.vue +15 -0
  34. package/src/pages.json +34 -1
@@ -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.10.4
54
+ * @version 0.10.6
55
55
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
56
56
  */const lp="VueMaterial",fp="VueRouterMaterial",hp={[lp]:["Transition","TransitionGroup","KeepAlive","Teleport","Suspense"],[fp]:["RouterView","RouterLink"]};class pp{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 dp=Object.defineProperty,mp=(e,t,r)=>t in e?dp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ut=(e,t,r)=>mp(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 gp=e=>typeof e=="symbol";new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(gp));function Xo(e,t){return function(){return e.apply(t,arguments)}}const{toString:yp}=Object.prototype,{getPrototypeOf:rn}=Object,Je=(e=>t=>{const r=yp.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),dt=e=>(e=e.toLowerCase(),t=>Je(t)===e),Ye=e=>t=>typeof t===e,{isArray:te}=Array,de=Ye("undefined");function vp(e){return e!==null&&!de(e)&&e.constructor!==null&&!de(e.constructor)&&st(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Qo=dt("ArrayBuffer");function bp(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Qo(e.buffer),t}const wp=Ye("string"),st=Ye("function"),ts=Ye("number"),Ke=e=>e!==null&&typeof e=="object",_p=e=>e===!0||e===!1,Be=e=>{if(Je(e)!=="object")return!1;const t=rn(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Ep=dt("Date"),Sp=dt("File"),xp=dt("Blob"),Tp=dt("FileList"),Rp=e=>Ke(e)&&st(e.pipe),Op=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||st(e.append)&&((t=Je(e))==="formdata"||t==="object"&&st(e.toString)&&e.toString()==="[object FormData]"))},$p=dt("URLSearchParams"),[Ap,Dp,jp,Bp]=["ReadableStream","Request","Response","Headers"].map(dt),Cp=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ve(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,i;if(typeof e!="object"&&(e=[e]),te(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{const o=r?Object.getOwnPropertyNames(e):Object.keys(e),s=o.length;let a;for(n=0;n<s;n++)a=o[n],t.call(null,e[a],a,e)}}function es(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 Nt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,rs=e=>!de(e)&&e!==Nt;function Cr(){const{caseless:e}=rs(this)&&this||{},t={},r=(n,i)=>{const o=e&&es(t,i)||i;Be(t[o])&&Be(n)?t[o]=Cr(t[o],n):Be(n)?t[o]=Cr({},n):te(n)?t[o]=n.slice():t[o]=n};for(let n=0,i=arguments.length;n<i;n++)arguments[n]&&ve(arguments[n],r);return t}const Np=(e,t,r,{allOwnKeys:n}={})=>(ve(t,(i,o)=>{r&&st(i)?e[o]=Xo(i,r):e[o]=i},{allOwnKeys:n}),e),kp=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Ip=(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)},Fp=(e,t,r,n)=>{let i,o,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)s=i[o],(!n||n(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=r!==!1&&rn(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Pp=(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},Mp=e=>{if(!e)return null;if(te(e))return e;let t=e.length;if(!ts(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Lp=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&rn(Uint8Array)),Up=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=r.next())&&!n.done;){const i=n.value;t.call(e,i[0],i[1])}},Vp=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Hp=dt("HTMLFormElement"),qp=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,r,n){return r.toUpperCase()+n}),pi=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),zp=dt("RegExp"),ns=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};ve(r,(i,o)=>{let s;(s=t(i,o,e))!==!1&&(n[o]=s||i)}),Object.defineProperties(e,n)},Wp=e=>{ns(e,(t,r)=>{if(st(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(st(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Jp=(e,t)=>{const r={},n=i=>{i.forEach(o=>{r[o]=!0})};return te(e)?n(e):n(String(e).split(t)),r},Yp=()=>{},Kp=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,pr="abcdefghijklmnopqrstuvwxyz",di="0123456789",is={DIGIT:di,ALPHA:pr,ALPHA_DIGIT:pr+pr.toUpperCase()+di},Gp=(e=16,t=is.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function Zp(e){return!!(e&&st(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Xp=e=>{const t=new Array(10),r=(n,i)=>{if(Ke(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[i]=n;const o=te(n)?[]:{};return ve(n,(s,a)=>{const c=r(s,i+1);!de(c)&&(o[a]=c)}),t[i]=void 0,o}}return n};return r(e,0)},Qp=dt("AsyncFunction"),td=e=>e&&(Ke(e)||st(e))&&st(e.then)&&st(e.catch),os=((e,t)=>e?setImmediate:t?((r,n)=>(Nt.addEventListener("message",({source:i,data:o})=>{i===Nt&&o===r&&n.length&&n.shift()()},!1),i=>{n.push(i),Nt.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",st(Nt.postMessage)),ed=typeof queueMicrotask<"u"?queueMicrotask.bind(Nt):typeof process<"u"&&process.nextTick||os,R={isArray:te,isArrayBuffer:Qo,isBuffer:vp,isFormData:Op,isArrayBufferView:bp,isString:wp,isNumber:ts,isBoolean:_p,isObject:Ke,isPlainObject:Be,isReadableStream:Ap,isRequest:Dp,isResponse:jp,isHeaders:Bp,isUndefined:de,isDate:Ep,isFile:Sp,isBlob:xp,isRegExp:zp,isFunction:st,isStream:Rp,isURLSearchParams:$p,isTypedArray:Lp,isFileList:Tp,forEach:ve,merge:Cr,extend:Np,trim:Cp,stripBOM:kp,inherits:Ip,toFlatObject:Fp,kindOf:Je,kindOfTest:dt,endsWith:Pp,toArray:Mp,forEachEntry:Up,matchAll:Vp,isHTMLForm:Hp,hasOwnProperty:pi,hasOwnProp:pi,reduceDescriptors:ns,freezeMethods:Wp,toObjectSet:Jp,toCamelCase:qp,noop:Yp,toFiniteNumber:Kp,findKey:es,global:Nt,isContextDefined:rs,ALPHABET:is,generateString:Gp,isSpecCompliantForm:Zp,toJSONObject:Xp,isAsyncFn:Qp,isThenable:td,setImmediate:os,asap:ed};function W(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i,this.status=i.status?i.status:null)}R.inherits(W,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:R.toJSONObject(this.config),code:this.code,status:this.status}}});const ss=W.prototype,as={};["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=>{as[e]={value:e}});Object.defineProperties(W,as);Object.defineProperty(ss,"isAxiosError",{value:!0});W.from=(e,t,r,n,i,o)=>{const s=Object.create(ss);return R.toFlatObject(e,s,function(a){return a!==Error.prototype},a=>a!=="isAxiosError"),W.call(s,e.message,t,r,n,i),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};const rd=null;function Nr(e){return R.isPlainObject(e)||R.isArray(e)}function us(e){return R.endsWith(e,"[]")?e.slice(0,-2):e}function mi(e,t,r){return e?e.concat(t).map(function(n,i){return n=us(n),!r&&i?"["+n+"]":n}).join(r?".":""):t}function nd(e){return R.isArray(e)&&!e.some(Nr)}const id=R.toFlatObject(R,{},null,function(e){return/^is[A-Z]/.test(e)});function Ge(e,t,r){if(!R.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=R.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,d){return!R.isUndefined(d[h])});const n=r.metaTokens,i=r.visitor||u,o=r.dots,s=r.indexes,a=(r.Blob||typeof Blob<"u"&&Blob)&&R.isSpecCompliantForm(t);if(!R.isFunction(i))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(R.isDate(h))return h.toISOString();if(!a&&R.isBlob(h))throw new W("Blob is not supported. Use a Buffer instead.");return R.isArrayBuffer(h)||R.isTypedArray(h)?a&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function u(h,d,m){let b=h;if(h&&!m&&typeof h=="object"){if(R.endsWith(d,"{}"))d=n?d:d.slice(0,-2),h=JSON.stringify(h);else if(R.isArray(h)&&nd(h)||(R.isFileList(h)||R.endsWith(d,"[]"))&&(b=R.toArray(h)))return d=us(d),b.forEach(function(E,y){!(R.isUndefined(E)||E===null)&&t.append(s===!0?mi([d],y,o):s===null?d:d+"[]",c(E))}),!1}return Nr(h)?!0:(t.append(mi(m,d,o),c(h)),!1)}const l=[],f=Object.assign(id,{defaultVisitor:u,convertValue:c,isVisitable:Nr});function p(h,d){if(!R.isUndefined(h)){if(l.indexOf(h)!==-1)throw Error("Circular reference detected in "+d.join("."));l.push(h),R.forEach(h,function(m,b){(!(R.isUndefined(m)||m===null)&&i.call(t,m,R.isString(b)?b.trim():b,d,f))===!0&&p(m,d?d.concat(b):[b])}),l.pop()}}if(!R.isObject(e))throw new TypeError("data must be an object");return p(e),t}function gi(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function nn(e,t){this._pairs=[],e&&Ge(e,this,t)}const cs=nn.prototype;cs.append=function(e,t){this._pairs.push([e,t])};cs.toString=function(e){const t=e?function(r){return e.call(this,r,gi)}:gi;return this._pairs.map(function(r){return t(r[0])+"="+t(r[1])},"").join("&")};function od(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ls(e,t,r){if(!t)return e;const n=r&&r.encode||od;R.isFunction(r)&&(r={serialize:r});const i=r&&r.serialize;let o;if(i?o=i(t,r):o=R.isURLSearchParams(t)?t.toString():new nn(t,r).toString(n),o){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}let yi=class{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){R.forEach(this.handlers,function(r){r!==null&&t(r)})}};const fs={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},sd=typeof URLSearchParams<"u"?URLSearchParams:nn,ad=typeof FormData<"u"?FormData:null,ud=typeof Blob<"u"?Blob:null,cd={isBrowser:!0,classes:{URLSearchParams:sd,FormData:ad,Blob:ud},protocols:["http","https","file","blob","url","data"]},on=typeof window<"u"&&typeof document<"u",kr=typeof navigator=="object"&&navigator||void 0,ld=on&&(!kr||["ReactNative","NativeScript","NS"].indexOf(kr.product)<0),fd=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",hd=on&&window.location.href||"http://localhost",pd=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:on,hasStandardBrowserEnv:ld,hasStandardBrowserWebWorkerEnv:fd,navigator:kr,origin:hd},Symbol.toStringTag,{value:"Module"})),tt=V(V({},pd),cd);function dd(e,t){return Ge(e,new tt.classes.URLSearchParams,Object.assign({visitor:function(r,n,i,o){return tt.isNode&&R.isBuffer(r)?(this.append(n,r.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function md(e){return R.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function gd(e){const t={},r=Object.keys(e);let n;const i=r.length;let o;for(n=0;n<i;n++)o=r[n],t[o]=e[o];return t}function hs(e){function t(r,n,i,o){let s=r[o++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),c=o>=r.length;return s=!s&&R.isArray(i)?i.length:s,c?(R.hasOwnProp(i,s)?i[s]=[i[s],n]:i[s]=n,!a):((!i[s]||!R.isObject(i[s]))&&(i[s]=[]),t(r,n,i[s],o)&&R.isArray(i[s])&&(i[s]=gd(i[s])),!a)}if(R.isFormData(e)&&R.isFunction(e.entries)){const r={};return R.forEachEntry(e,(n,i)=>{t(md(n),i,r,0)}),r}return null}function yd(e,t,r){if(R.isString(e))try{return(t||JSON.parse)(e),R.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const be={transitional:fs,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,i=R.isObject(e);if(i&&R.isHTMLForm(e)&&(e=new FormData(e)),R.isFormData(e))return n?JSON.stringify(hs(e)):e;if(R.isArrayBuffer(e)||R.isBuffer(e)||R.isStream(e)||R.isFile(e)||R.isBlob(e)||R.isReadableStream(e))return e;if(R.isArrayBufferView(e))return e.buffer;if(R.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return dd(e,this.formSerializer).toString();if((o=R.isFileList(e))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return Ge(o?{"files[]":e}:e,s&&new s,this.formSerializer)}}return i||n?(t.setContentType("application/json",!1),yd(e)):e}],transformResponse:[function(e){const t=this.transitional||be.transitional,r=t&&t.forcedJSONParsing,n=this.responseType==="json";if(R.isResponse(e)||R.isReadableStream(e))return e;if(e&&R.isString(e)&&(r&&!this.responseType||n)){const i=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(o){if(i)throw o.name==="SyntaxError"?W.from(o,W.ERR_BAD_RESPONSE,this,null,this.response):o}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:tt.classes.FormData,Blob:tt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};R.forEach(["delete","get","head","post","put","patch"],e=>{be.headers[e]={}});const vd=R.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),bd=e=>{const t={};let r,n,i;return e&&e.split(`
57
57
  `).forEach(function(o){i=o.indexOf(":"),r=o.substring(0,i).trim().toLowerCase(),n=o.substring(i+1).trim(),!(!r||t[r]&&vd[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},vi=Symbol("internals");function se(e){return e&&String(e).trim().toLowerCase()}function Ce(e){return e===!1||e==null?e:R.isArray(e)?e.map(Ce):String(e)}function wd(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 _d=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function dr(e,t,r,n,i){if(R.isFunction(n))return n.call(this,t,r);if(i&&(t=r),!!R.isString(t)){if(R.isString(n))return t.indexOf(n)!==-1;if(R.isRegExp(n))return n.test(t)}}function Ed(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function Sd(e,t){const r=R.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(i,o,s){return this[n].call(this,t,i,o,s)},configurable:!0})})}let ot=class{constructor(t){t&&this.set(t)}set(t,r,n){const i=this;function o(a,c,u){const l=se(c);if(!l)throw new Error("header name must be a non-empty string");const f=R.findKey(i,l);(!f||i[f]===void 0||u===!0||u===void 0&&i[f]!==!1)&&(i[f||c]=Ce(a))}const s=(a,c)=>R.forEach(a,(u,l)=>o(u,l,c));if(R.isPlainObject(t)||t instanceof this.constructor)s(t,r);else if(R.isString(t)&&(t=t.trim())&&!_d(t))s(bd(t),r);else if(R.isHeaders(t))for(const[a,c]of t.entries())o(c,a,n);else t!=null&&o(r,t,n);return this}get(t,r){if(t=se(t),t){const n=R.findKey(this,t);if(n){const i=this[n];if(!r)return i;if(r===!0)return wd(i);if(R.isFunction(r))return r.call(this,i,n);if(R.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=se(t),t){const n=R.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||dr(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let i=!1;function o(s){if(s=se(s),s){const a=R.findKey(n,s);a&&(!r||dr(n,n[a],a,r))&&(delete n[a],i=!0)}}return R.isArray(t)?t.forEach(o):o(t),i}clear(t){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const o=r[n];(!t||dr(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const r=this,n={};return R.forEach(this,(i,o)=>{const s=R.findKey(n,o);if(s){r[s]=Ce(i),delete r[o];return}const a=t?Ed(o):String(o).trim();a!==o&&delete r[o],r[a]=Ce(i),n[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return R.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=t&&R.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
@@ -146,6 +146,6 @@ version: 2.9.0
146
146
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
147
147
  * @name @vtj/uni
148
148
  * @author CHC chenhuachun1549@dingtalk.com
149
- * @version 0.10.4
149
+ * @version 0.10.6
150
150
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
151
- */const Pg=["onLaunch","onShow","onHide","onError","onPageNotFound","onUnhandledRejection","onThemeChange","onPageNotFound","onUniNViewMessage","onExit"],Ni="/pages",Mg="VTJ",Lg="__UNI__1FC118B",Ug="VTJ移动跨端项目",Vg="1.0.0",Hg="100",qg=!1,zg={},Wg={enable:!1},Jg="3",Yg={name:Mg,appid:Lg,description:Ug,versionName:Vg,versionCode:Hg,transformPx:qg,"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:zg,"mp-weixin":{appid:"",setting:{urlCheck:!1},usingComponents:!0},"mp-alipay":{usingComponents:!0},"mp-baidu":{usingComponents:!0},"mp-toutiao":{usingComponents:!0},uniStatistics:Wg,vueVersion:Jg},Kg=[],Gg={navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"},Zg={autoscan:!0,custom:{"^uni-(.*)":"@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue"}},Xg={pages:Kg,globalStyle:Gg,easycom:Zg};function Qg(e){let{manifestJson:t={},pagesJson:r={},routes:n=[]}=e;const i=n.map(o=>{const{path:s,style:a,needLogin:c}=o;return{path:s,style:a,needLogin:c}});return Q(V({},e),{manifestJson:Object.assign({},Yg,t),pagesJson:Object.assign({},Xg,r,{pages:i})})}const Wr={navigationBarBackgroundColor:"backgroundColor",navigationBarTextStyle:"titleColor",navigationBarTitleText:"titleText",navigationStyle:"style",titleImage:"titleImage",titlePenetrate:"titlePenetrate",transparentTitle:"transparentTitle"};function ks(e){const t={},r={black:"#000000",white:"#ffffff"};for(const n in e)Wr[n]&&(t[Wr[n]]=n==="navigationBarTextStyle"?r[e[n]]||r.black:e[n]);return t}function t0(e){const t={};for(const r in e)Wr[r]||(t[r]=e[r]);return t}function e0(e){var t,r;return((r=(t=e.h5)==null?void 0:t.router)==null?void 0:r.mode)||"hash"}function r0(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 n0(e){const{pagesJson:t={}}=e,{globalStyle:r,pages:n=[]}=t;return!!(r!=null&&r.enablePullDownRefresh||n.find(i=>{var o;return!!((o=i.style)!=null&&o.enablePullDownRefresh)}))}function i0(e){const{pagesJson:t={}}=e,{globalStyle:r,pages:n=[]}=t;let i=!1;return(r==null?void 0:r.navigationStyle)==="custom"?(i=!0,n.find(o=>{var s;return((s=o.style)==null?void 0:s.navigationStyle)==="default"})&&(i=!1)):n.every(o=>{var s;return((s=o.style)==null?void 0:s.navigationStyle)==="custom"})&&(i=!0),i}function o0(e){var a;const t=i0(e),r={navigationBar:!1,navigationBarButtons:!1,navigationBarSearchInput:!1,navigationBarTransparent:!1},{pagesJson:n={}}=e,{globalStyle:i,pages:o=[]}=n;if(t)return r;r.navigationBar=!0;const s=(a=i==null?void 0:i.h5)==null?void 0:a.titleNView;return o.find(c=>{var u,l,f;return!!((f=(l=(u=c.style)==null?void 0:u.h5)==null?void 0:l.titleNView)!=null&&f.buttons.length)})&&(r.navigationBarButtons=!0),(s!=null&&s.searchInput||o.find(c=>{var u,l,f;return!!((f=(l=(u=c.style)==null?void 0:u.h5)==null?void 0:l.titleNView)!=null&&f.searchInput)}))&&(r.navigationBarSearchInput=!0),((s==null?void 0:s.type)==="transparent"||o.find(c=>{var u,l,f;return((f=(l=(u=c.style)==null?void 0:u.h5)==null?void 0:l.titleNView)==null?void 0:f.type)==="transparent"}))&&(r.navigationBarTransparent=!0),r}function s0(e,t=window){var p,h,d,m;const{pagesJson:r={},manifestJson:n={}}=e,{topWindow:i,leftWindow:o,rightWindow:s}=r0(r),{navigationBar:a,navigationBarButtons:c,navigationBarSearchInput:u,navigationBarTransparent:l}=o0(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__:e0(n),__UNI_FEATURE_PAGES__:!!((p=r.pages)!=null&&p.length),__UNI_FEATURE_TABBAR__:!!((d=(h=r.tabBar)==null?void 0:h.list)!=null&&d.length),__UNI_FEATURE_TABBAR_MIDBUTTON__:!!((m=r.tabBar)!=null&&m.midButton),__UNI_FEATURE_TOPWINDOW__:i,__UNI_FEATURE_LEFTWINDOW__:o,__UNI_FEATURE_RIGHTWINDOW__:s,__UNI_FEATURE_RESPONSIVE__:!1,__UNI_FEATURE_NAVIGATIONBAR__:a,__UNI_FEATURE_PULL_DOWN_REFRESH__:n0(e),__UNI_FEATURE_NAVIGATIONBAR_BUTTONS__:c,__UNI_FEATURE_NAVIGATIONBAR_SEARCHINPUT__:u,__UNI_FEATURE_NAVIGATIONBAR_TRANSPARENT__:l};Object.entries(f).forEach(([b,E])=>{t[b]=E})}const a0="4.45";function u0(e,t=window){var f,p;const{pagesJson:r={},manifestJson:n={}}=e,{easycom:i={}}=r,{appid:o="",name:s="",versionCode:a="",versionName:c=""}=n,u=r.globalStyle,l=((f=n.h5)==null?void 0:f.router)||{};t.__uniConfig={easycom:i,globalStyle:Q(V({},t0(u)),{navigationBar:ks(u),isNVue:!1}),compilerVersion:a0,appId:o,appName:s,appVersion:c,appVersionCode:String(a),async:V({loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0},((p=n.h5)==null?void 0:p.async)||{}),debug:!1,networkTimeout:V({request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},n.networkTimeout||{}),sdkConfigs:{},nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:{},router:V({mode:"hash",base:"/",assets:"assets",routerBase:l.base||"/"},l),darkmode:!1,themeConfig:{},tabBar:r.tabBar?V({position:"bottom",color:"#7A7E83",selectedColor:"#3cc51f",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",backgroundColor:"#ffffff",selectedIndex:0,shown:!0},r.tabBar):void 0}}function c0(e,t=window){const{UniServiceJSBridge:r,UniViewJSBridge:n,getApp:i,uni:o,getCurrentPages:s,upx2px:a,setupPage:c}=e;t.UniServiceJSBridge=r,t.UniViewJSBridge=n,t.getApp=i,t.uni=o,t.wx=o,t.getCurrentPages=s,t.upx2px=a,t.__setupPage=u=>c(u)}function l0(e,t,r){const{defineAsyncComponent:n,openBlock:i,createBlock:o,withCtx:s,createVNode:a}=e,{PageComponent:c,setupPage:u,getApp:l}=t;return{mpType:"page",setup(){var h,d;const f=((d=(h=l())==null?void 0:h.$route)==null?void 0:d.query)||{},p=typeof r=="function"?n(r):r;return()=>(i(),o(c,null,{page:s(()=>[a(u(p),Object.assign({},f,{ref:"page"}),null,512)]),_:1}))}}}function f0(e,t,r){var l;const{path:n,style:i={},meta:o={},home:s}=t,a=(((l=e.tabBar)==null?void 0:l.list)||[]).findIndex(f=>f.pagePath===n),c=a>-1,u=r===0;return V({isTabBar:c,tabBarIndex:a,isQuit:s!=null?s:u,isEntry:s!=null?s:u,navigationBar:V({type:"default"},ks(i)),isNVue:!1,route:n},o)}function h0(e,t,r,n,i=window){const o=r.map((s,a)=>{const c=f0(n,s,a),u=l0(e,t,s.component),{path:l}=s;return{path:l,alias:l,meta:c,component:u}});i.__uniRoutes=o,i.__uniLayout={}}function p0(e,t,r=window){cn(r,String(e),t)}function d0(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 m0(e){const t=Qg(e),{Vue:r,App:n,UniH5:i,routes:o=[],pagesJson:s={},manifestJson:a={},window:c,css:u=""}=t;if(!i)return r.createApp(n);const{plugin:l,setupApp:f}=i;s0(t,c),u0(t,c),c0(i,c),h0(r,i,o,s,c),p0(a.appid||Date.now(),u,c);const p=r.createApp(f(n));return p.use(d0,i),p.use(l),p}function g0(e,t){const r={};return Object.entries(e).forEach(([n,i])=>{Pg.includes(n)&&i&&(r[n]=t(i))}),r}function y0(n){return L(this,arguments,function*(e,t=!1,r=Ni){var a,c,u;const i=((a=e.project)==null?void 0:a.pages)||[],o=[];for(const l of i){const f=yield e.getDsl(l.id);if(!f)continue;const{renderer:p}=e.createDslRenderer(f),h=((c=e.project)==null?void 0:c.homepage)===l.id;o.push({id:l.id,path:`${r}/${l.id}`,component:p,style:V({navigationBarTitleText:l.title},l.style),needLogin:l.needLogin,home:h})}const s=o.find(l=>!!l.home)||o[0];if(s){const l=r===Ni?"/":r;o.unshift(Q(V({},s),{path:l}))}if(t){const l=((u=e.project)==null?void 0:u.blocks)||[];for(const f of l){const p=yield e.getDsl(f.id);if(!p)continue;const{renderer:h}=e.createDslRenderer(p);o.push({id:f.id,path:`${r}/${f.id}`,component:h,style:{navigationStyle:"custom"}})}}return o})}function v0(){var e;if((e=window.uni)!=null&&e.showLoading)return window.uni.showLoading({title:"加载中...",mask:!0}),{close:()=>{var t;(t=window.uni)!=null&&t.hideLoading&&window.uni.hideLoading()}}}function Is(e,t="",r="warning"){var n;(n=window.uni)!=null&&n.showModal&&window.uni.showModal({title:t,content:e,showCancel:!1})}function b0(e=nt.Runtime){return e===nt.Runtime?Object.assign({}):Object.assign({})}const w0=Am({loading:v0,notify:Is}),_0=new Fg(kg(Is)),E0=b0(),{provider:S0,onReady:x0}=jg({nodeEnv:"production",mode:nt.Runtime,modules:E0,materialPath:"../",adapter:w0,service:_0,dependencies:{Vue:()=>gn(()=>import("./@dcloudio-uni-h5-vue-Vtb9ks0b.js").then(e=>e.B),__vite__mapDeps([0,1,2]),import.meta.url),VueRouter:()=>gn(()=>import("./vue-router-CkCKZZ3K.js"),__vite__mapDeps([3,0,1,2]),import.meta.url)}}),T0=e=>L(void 0,null,function*(){var c;const{Vue:t,UniH5:r}=window,n=e.project;if(!n)return;const i=g0(n.uniConfig||{},u=>Le(u,window,!1,!0)),o=((c=n.uniConfig)==null?void 0:c.css)||"",s=yield y0(e,!0),a=m0({Vue:t,App:i,UniH5:r,routes:s,css:o});a.use(e),a.mount(document.body)});x0(()=>T0(S0));
151
+ */const Pg=["onLaunch","onShow","onHide","onError","onPageNotFound","onUnhandledRejection","onThemeChange","onPageNotFound","onUniNViewMessage","onExit"],Ni="/pages",Mg="VTJ",Lg="__UNI__1FC118B",Ug="VTJ移动跨端项目",Vg="1.0.0",Hg="100",qg=!1,zg={},Wg={enable:!1},Jg="3",Yg={name:Mg,appid:Lg,description:Ug,versionName:Vg,versionCode:Hg,transformPx:qg,"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:zg,"mp-weixin":{appid:"",setting:{urlCheck:!1},usingComponents:!0},"mp-alipay":{usingComponents:!0},"mp-baidu":{usingComponents:!0},"mp-toutiao":{usingComponents:!0},uniStatistics:Wg,vueVersion:Jg},Kg=[],Gg={navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"},Zg={autoscan:!0,custom:{"^uni-(.*)":"@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue"}},Xg={pages:Kg,globalStyle:Gg,easycom:Zg};function Qg(e){let{manifestJson:t={},pagesJson:r={},routes:n=[]}=e;const i=n.map(o=>{const{path:s,style:a,needLogin:c}=o;return{path:s,style:a,needLogin:c}});return Q(V({},e),{manifestJson:Object.assign({},Yg,t),pagesJson:Object.assign({},Xg,r,{pages:i})})}const Wr={navigationBarBackgroundColor:"backgroundColor",navigationBarTextStyle:"titleColor",navigationBarTitleText:"titleText",navigationStyle:"style",titleImage:"titleImage",titlePenetrate:"titlePenetrate",transparentTitle:"transparentTitle"};function ks(e){const t={},r={black:"#000000",white:"#ffffff"};for(const n in e)Wr[n]&&(t[Wr[n]]=n==="navigationBarTextStyle"?r[e[n]]||r.black:e[n]);return t}function t0(e){const t={};for(const r in e)Wr[r]||(t[r]=e[r]);return t}function e0(e){var t,r;return((r=(t=e.h5)==null?void 0:t.router)==null?void 0:r.mode)||"hash"}function r0(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 n0(e){const{pagesJson:t={}}=e,{globalStyle:r,pages:n=[]}=t;return!!(r!=null&&r.enablePullDownRefresh||n.find(i=>{var o;return!!((o=i.style)!=null&&o.enablePullDownRefresh)}))}function i0(e){const{pagesJson:t={}}=e,{globalStyle:r,pages:n=[]}=t;let i=!1;return(r==null?void 0:r.navigationStyle)==="custom"?(i=!0,n.find(o=>{var s;return((s=o.style)==null?void 0:s.navigationStyle)==="default"})&&(i=!1)):n.every(o=>{var s;return((s=o.style)==null?void 0:s.navigationStyle)==="custom"})&&(i=!0),i}function o0(e){var a;const t=i0(e),r={navigationBar:!1,navigationBarButtons:!1,navigationBarSearchInput:!1,navigationBarTransparent:!1},{pagesJson:n={}}=e,{globalStyle:i,pages:o=[]}=n;if(t)return r;r.navigationBar=!0;const s=(a=i==null?void 0:i.h5)==null?void 0:a.titleNView;return o.find(c=>{var u,l,f;return!!((f=(l=(u=c.style)==null?void 0:u.h5)==null?void 0:l.titleNView)!=null&&f.buttons.length)})&&(r.navigationBarButtons=!0),(s!=null&&s.searchInput||o.find(c=>{var u,l,f;return!!((f=(l=(u=c.style)==null?void 0:u.h5)==null?void 0:l.titleNView)!=null&&f.searchInput)}))&&(r.navigationBarSearchInput=!0),((s==null?void 0:s.type)==="transparent"||o.find(c=>{var u,l,f;return((f=(l=(u=c.style)==null?void 0:u.h5)==null?void 0:l.titleNView)==null?void 0:f.type)==="transparent"}))&&(r.navigationBarTransparent=!0),r}function s0(e,t=window){var p,h,d,m;const{pagesJson:r={},manifestJson:n={}}=e,{topWindow:i,leftWindow:o,rightWindow:s}=r0(r),{navigationBar:a,navigationBarButtons:c,navigationBarSearchInput:u,navigationBarTransparent:l}=o0(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__:e0(n),__UNI_FEATURE_PAGES__:!!((p=r.pages)!=null&&p.length),__UNI_FEATURE_TABBAR__:!!((d=(h=r.tabBar)==null?void 0:h.list)!=null&&d.length),__UNI_FEATURE_TABBAR_MIDBUTTON__:!!((m=r.tabBar)!=null&&m.midButton),__UNI_FEATURE_TOPWINDOW__:i,__UNI_FEATURE_LEFTWINDOW__:o,__UNI_FEATURE_RIGHTWINDOW__:s,__UNI_FEATURE_RESPONSIVE__:!1,__UNI_FEATURE_NAVIGATIONBAR__:a,__UNI_FEATURE_PULL_DOWN_REFRESH__:n0(e),__UNI_FEATURE_NAVIGATIONBAR_BUTTONS__:c,__UNI_FEATURE_NAVIGATIONBAR_SEARCHINPUT__:u,__UNI_FEATURE_NAVIGATIONBAR_TRANSPARENT__:l};Object.entries(f).forEach(([b,E])=>{t[b]=E})}const a0="4.45";function u0(e,t=window){var f,p;const{pagesJson:r={},manifestJson:n={}}=e,{easycom:i={}}=r,{appid:o="",name:s="",versionCode:a="",versionName:c=""}=n,u=r.globalStyle,l=((f=n.h5)==null?void 0:f.router)||{};t.__uniConfig={easycom:i,globalStyle:Q(V({},t0(u)),{navigationBar:ks(u),isNVue:!1}),compilerVersion:a0,appId:o,appName:s,appVersion:c,appVersionCode:String(a),async:V({loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0},((p=n.h5)==null?void 0:p.async)||{}),debug:!1,networkTimeout:V({request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},n.networkTimeout||{}),sdkConfigs:{},nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:{},router:V({mode:"hash",base:"/",assets:"assets",routerBase:l.base||"/"},l),darkmode:!1,themeConfig:{},tabBar:r.tabBar?V({position:"bottom",color:"#7A7E83",selectedColor:"#3cc51f",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",backgroundColor:"#ffffff",selectedIndex:0,shown:!0},r.tabBar):void 0}}function c0(e,t=window){const{UniServiceJSBridge:r,UniViewJSBridge:n,getApp:i,uni:o,getCurrentPages:s,upx2px:a,setupPage:c}=e;t.UniServiceJSBridge=r,t.UniViewJSBridge=n,t.getApp=i,t.uni=o,t.wx=o,t.getCurrentPages=s,t.upx2px=a,t.__setupPage=u=>c(u)}function l0(e,t,r){const{defineAsyncComponent:n,openBlock:i,createBlock:o,withCtx:s,createVNode:a}=e,{PageComponent:c,setupPage:u,getApp:l}=t;return{mpType:"page",setup(){var h,d;const f=((d=(h=l())==null?void 0:h.$route)==null?void 0:d.query)||{},p=typeof r=="function"?n(r):r;return()=>(i(),o(c,null,{page:s(()=>[a(u(p),Object.assign({},f,{ref:"page"}),null,512)]),_:1}))}}}function f0(e,t,r){var h;const{path:n,style:i={},meta:o={},home:s,id:a}=t,c=((h=e.tabBar)==null?void 0:h.list)||[],u=c.findIndex(d=>{var m;return d.pagePath===n||((m=d.pagePath)==null?void 0:m.endsWith(a))}),l=c[u],f=!!l,p=r===0;return V({isTabBar:f,tabBarIndex:u,isQuit:s!=null?s:p,isEntry:s!=null?s:p,navigationBar:V({type:"default"},ks(i)),isNVue:!1,route:l?l.pagePath:n},o)}function h0(e,t,r,n,i=window){const o=r.map((s,a)=>{const c=f0(n,s,a),u=l0(e,t,s.component),{path:l}=s;return{path:l,alias:l,meta:c,component:u}});i.__uniRoutes=o,i.__uniLayout={}}function p0(e,t,r=window){cn(r,String(e),t)}function d0(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 m0(e){const t=Qg(e),{Vue:r,App:n,UniH5:i,routes:o=[],pagesJson:s={},manifestJson:a={},window:c,css:u=""}=t;if(!i)return r.createApp(n);const{plugin:l,setupApp:f}=i;s0(t,c),u0(t,c),c0(i,c),h0(r,i,o,s,c),p0(a.appid||Date.now(),u,c);const p=r.createApp(f(n));return p.use(d0,i),p.use(l),p}function g0(e,t){const r={};return Object.entries(e).forEach(([n,i])=>{Pg.includes(n)&&i&&(r[n]=t(i))}),r}function y0(n){return L(this,arguments,function*(e,t=!1,r=Ni){var a,c,u;const i=((a=e.project)==null?void 0:a.pages)||[],o=[];for(const l of i){const f=yield e.getDsl(l.id);if(!f)continue;const{renderer:p}=e.createDslRenderer(f),h=((c=e.project)==null?void 0:c.homepage)===l.id;o.push({id:l.id,path:`${r}/${l.id}`,component:p,style:V({navigationBarTitleText:l.title},l.style),needLogin:l.needLogin,home:h})}const s=o.find(l=>!!l.home)||o[0];if(s){const l=r===Ni?"/":r;o.unshift(Q(V({},s),{path:l}))}if(t){const l=((u=e.project)==null?void 0:u.blocks)||[];for(const f of l){const p=yield e.getDsl(f.id);if(!p)continue;const{renderer:h}=e.createDslRenderer(p);o.push({id:f.id,path:`${r}/${f.id}`,component:h,style:{navigationStyle:"custom"}})}}return o})}function v0(){var e;if((e=window.uni)!=null&&e.showLoading)return window.uni.showLoading({title:"加载中...",mask:!0}),{close:()=>{var t;(t=window.uni)!=null&&t.hideLoading&&window.uni.hideLoading()}}}function Is(e,t="",r="warning"){var n;(n=window.uni)!=null&&n.showModal&&window.uni.showModal({title:t,content:e,showCancel:!1})}function b0(e=nt.Runtime){return e===nt.Runtime?Object.assign({}):Object.assign({})}const w0=Am({loading:v0,notify:Is}),_0=new Fg(kg(Is)),E0=b0(),{provider:S0,onReady:x0}=jg({nodeEnv:"production",mode:nt.Runtime,modules:E0,materialPath:"../",adapter:w0,service:_0,dependencies:{Vue:()=>gn(()=>import("./@dcloudio-uni-h5-vue-Vtb9ks0b.js").then(e=>e.B),__vite__mapDeps([0,1,2]),import.meta.url),VueRouter:()=>gn(()=>import("./vue-router-CkCKZZ3K.js"),__vite__mapDeps([3,0,1,2]),import.meta.url)}}),T0=e=>L(void 0,null,function*(){const{Vue:t,UniH5:r}=window,n=e.project;if(!n)return;const i=n.uniConfig||{},o=g0(i,f=>Le(f,window,!1,!0)),{manifestJson:s,pagesJson:a,css:c}=i,u=yield y0(e,!0),l=m0({Vue:t,App:o,UniH5:r,routes:u,css:c,manifestJson:s,pagesJson:a});l.use(e),l.mount(document.body)});x0(()=>T0(S0));
@@ -13,7 +13,7 @@
13
13
  <title></title>
14
14
  <!--preload-links-->
15
15
  <!--app-context-->
16
- <script type="module" crossorigin src="./assets/index-D2klRbJx.js"></script>
16
+ <script type="module" crossorigin src="./assets/index-Cr58E2ud.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-Vtb9ks0b.js">
package/package.json CHANGED
@@ -2,24 +2,24 @@
2
2
  "name": "@vtj/pro",
3
3
  "description": "VTJ.PRO",
4
4
  "private": false,
5
- "version": "0.10.4",
5
+ "version": "0.10.6",
6
6
  "type": "module",
7
7
  "dependencies": {
8
- "@vtj/designer": "~0.10.4",
9
- "@vtj/core": "~0.10.4",
10
- "@vtj/materials": "~0.10.4",
11
- "@vtj/local": "~0.10.4",
12
- "@vtj/renderer": "~0.10.4",
13
- "@vtj/uni": "~0.10.4"
8
+ "@vtj/designer": "~0.10.6",
9
+ "@vtj/core": "~0.10.6",
10
+ "@vtj/local": "~0.10.6",
11
+ "@vtj/renderer": "~0.10.6",
12
+ "@vtj/materials": "~0.10.6",
13
+ "@vtj/uni": "~0.10.6"
14
14
  },
15
15
  "devDependencies": {
16
16
  "vue": "~3.5.5",
17
17
  "vue-router": "~4.5.0",
18
- "@vtj/charts": "~0.10.4",
18
+ "@vtj/charts": "~0.10.6",
19
19
  "@vtj/cli": "~0.10.1",
20
- "@vtj/icons": "~0.10.4",
21
- "@vtj/ui": "~0.10.4",
22
- "@vtj/utils": "~0.10.4"
20
+ "@vtj/icons": "~0.10.6",
21
+ "@vtj/ui": "~0.10.6",
22
+ "@vtj/utils": "~0.10.6"
23
23
  },
24
24
  "exports": {
25
25
  "./vite": {
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "Aaa",
3
+ "locked": false,
4
+ "inject": [],
5
+ "state": {},
6
+ "lifeCycles": {},
7
+ "methods": {},
8
+ "computed": {},
9
+ "watch": [],
10
+ "css": "",
11
+ "props": [],
12
+ "emits": [],
13
+ "slots": [],
14
+ "dataSources": {},
15
+ "__VTJ_BLOCK__": true,
16
+ "__VERSION__": "1740728412241",
17
+ "id": "45tm4w8w2",
18
+ "nodes": [
19
+ {
20
+ "id": "45tm6jztf",
21
+ "name": "Button",
22
+ "from": "@dcloudio/uni-h5",
23
+ "invisible": false,
24
+ "locked": false,
25
+ "children": "Button",
26
+ "props": {},
27
+ "directives": [],
28
+ "events": {}
29
+ },
30
+ {
31
+ "id": "b91hm6b7x",
32
+ "name": "View",
33
+ "from": "@dcloudio/uni-h5",
34
+ "invisible": false,
35
+ "locked": false,
36
+ "children": "视图内容",
37
+ "props": {},
38
+ "directives": [],
39
+ "events": {}
40
+ }
41
+ ]
42
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "Bbb",
3
+ "locked": false,
4
+ "inject": [],
5
+ "state": {},
6
+ "lifeCycles": {},
7
+ "methods": {},
8
+ "computed": {},
9
+ "watch": [],
10
+ "css": "",
11
+ "props": [],
12
+ "emits": [],
13
+ "slots": [],
14
+ "dataSources": {},
15
+ "__VTJ_BLOCK__": true,
16
+ "__VERSION__": "1740728585926",
17
+ "id": "7pfjupgg3",
18
+ "nodes": [
19
+ {
20
+ "id": "ic9d1w6o1",
21
+ "name": "View",
22
+ "from": "@dcloudio/uni-h5",
23
+ "invisible": false,
24
+ "locked": false,
25
+ "children": "视图内容",
26
+ "props": {},
27
+ "directives": [],
28
+ "events": {}
29
+ }
30
+ ]
31
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "id": "7pfjwd2jd",
3
+ "label": "2025/2/28 15:40:04",
4
+ "dsl": {
5
+ "name": "Aaa",
6
+ "locked": false,
7
+ "inject": [],
8
+ "state": {},
9
+ "lifeCycles": {},
10
+ "methods": {},
11
+ "computed": {},
12
+ "watch": [],
13
+ "css": "",
14
+ "props": [],
15
+ "emits": [],
16
+ "slots": [],
17
+ "dataSources": {},
18
+ "__VTJ_BLOCK__": true,
19
+ "__VERSION__": "1740728404504",
20
+ "id": "45tm4w8w2",
21
+ "nodes": [
22
+ {
23
+ "id": "45tm6jztf",
24
+ "name": "Button",
25
+ "from": "@dcloudio/uni-h5",
26
+ "invisible": false,
27
+ "locked": false,
28
+ "children": "Button",
29
+ "props": {},
30
+ "directives": [],
31
+ "events": {}
32
+ }
33
+ ]
34
+ }
35
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "id": "esnfbzdxu",
3
+ "label": "2025/2/28 15:40:12",
4
+ "dsl": {
5
+ "name": "Aaa",
6
+ "locked": false,
7
+ "inject": [],
8
+ "state": {},
9
+ "lifeCycles": {},
10
+ "methods": {},
11
+ "computed": {},
12
+ "watch": [],
13
+ "css": "",
14
+ "props": [],
15
+ "emits": [],
16
+ "slots": [],
17
+ "dataSources": {},
18
+ "__VTJ_BLOCK__": true,
19
+ "__VERSION__": "1740728412241",
20
+ "id": "45tm4w8w2",
21
+ "nodes": [
22
+ {
23
+ "id": "45tm6jztf",
24
+ "name": "Button",
25
+ "from": "@dcloudio/uni-h5",
26
+ "invisible": false,
27
+ "locked": false,
28
+ "children": "Button",
29
+ "props": {},
30
+ "directives": [],
31
+ "events": {}
32
+ },
33
+ {
34
+ "id": "b91hm6b7x",
35
+ "name": "View",
36
+ "from": "@dcloudio/uni-h5",
37
+ "invisible": false,
38
+ "locked": false,
39
+ "children": "视图内容",
40
+ "props": {},
41
+ "directives": [],
42
+ "events": {}
43
+ }
44
+ ]
45
+ }
46
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "id": "45tm4w8w2",
3
+ "items": [
4
+ {
5
+ "id": "esnfbzdxu",
6
+ "label": "2025/2/28 15:40:12"
7
+ },
8
+ {
9
+ "id": "7pfjwd2jd",
10
+ "label": "2025/2/28 15:40:04"
11
+ }
12
+ ]
13
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "id": "lvvarp9dz",
3
+ "label": "2025/2/28 15:43:05",
4
+ "dsl": {
5
+ "name": "Bbb",
6
+ "locked": false,
7
+ "inject": [],
8
+ "state": {},
9
+ "lifeCycles": {},
10
+ "methods": {},
11
+ "computed": {},
12
+ "watch": [],
13
+ "css": "",
14
+ "props": [],
15
+ "emits": [],
16
+ "slots": [],
17
+ "dataSources": {},
18
+ "__VTJ_BLOCK__": true,
19
+ "__VERSION__": "1740728585926",
20
+ "id": "7pfjupgg3",
21
+ "nodes": [
22
+ {
23
+ "id": "ic9d1w6o1",
24
+ "name": "View",
25
+ "from": "@dcloudio/uni-h5",
26
+ "invisible": false,
27
+ "locked": false,
28
+ "children": "视图内容",
29
+ "props": {},
30
+ "directives": [],
31
+ "events": {}
32
+ }
33
+ ]
34
+ }
35
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "id": "7pfjupgg3",
3
+ "items": [
4
+ {
5
+ "id": "lvvarp9dz",
6
+ "label": "2025/2/28 15:43:05"
7
+ }
8
+ ]
9
+ }
@@ -81,7 +81,40 @@
81
81
  "enabled": true
82
82
  }
83
83
  ],
84
- "pages": [],
84
+ "pages": [
85
+ {
86
+ "dir": false,
87
+ "name": "Aaa",
88
+ "title": "aaa",
89
+ "icon": "",
90
+ "mask": true,
91
+ "hidden": false,
92
+ "raw": false,
93
+ "pure": true,
94
+ "meta": null,
95
+ "cache": false,
96
+ "needLogin": false,
97
+ "style": "",
98
+ "id": "45tm4w8w2",
99
+ "type": "page"
100
+ },
101
+ {
102
+ "dir": false,
103
+ "name": "Bbb",
104
+ "title": "bbb",
105
+ "icon": "",
106
+ "mask": true,
107
+ "hidden": false,
108
+ "raw": false,
109
+ "pure": true,
110
+ "meta": null,
111
+ "cache": false,
112
+ "needLogin": false,
113
+ "style": "",
114
+ "id": "7pfjupgg3",
115
+ "type": "page"
116
+ }
117
+ ],
85
118
  "blocks": [],
86
119
  "apis": [],
87
120
  "meta": [],
@@ -161,17 +194,50 @@
161
194
  "vueVersion": "3"
162
195
  },
163
196
  "pagesJson": {
164
- "pages": [],
197
+ "pages": [
198
+ {
199
+ "path": "pages/45tm4w8w2",
200
+ "style": {
201
+ "navigationBarTitleText": "aaa"
202
+ },
203
+ "needLogin": false,
204
+ "vtj": true
205
+ },
206
+ {
207
+ "path": "pages/7pfjupgg3",
208
+ "style": {
209
+ "navigationBarTitleText": "bbb"
210
+ },
211
+ "needLogin": false,
212
+ "vtj": true
213
+ }
214
+ ],
165
215
  "globalStyle": {
166
216
  "navigationBarTextStyle": "black",
167
217
  "navigationBarTitleText": "uni-app",
168
218
  "navigationBarBackgroundColor": "#F8F8F8",
169
219
  "backgroundColor": "#F8F8F8"
220
+ },
221
+ "tabBar": {
222
+ "color": "#7A7E83",
223
+ "selectedColor": "#3cc51f",
224
+ "borderStyle": "black",
225
+ "backgroundColor": "#ffffff",
226
+ "list": [
227
+ {
228
+ "pagePath": "pages/45tm4w8w2",
229
+ "text": "组件"
230
+ },
231
+ {
232
+ "pagePath": "pages/7pfjupgg3",
233
+ "text": "接口"
234
+ }
235
+ ]
170
236
  }
171
237
  },
172
238
  "onLaunch": {
173
239
  "type": "JSFunction",
174
- "value": "() => {\n console.log('abv')\n}"
240
+ "value": "() => {\n console.log('onLaunch');\n};\n"
175
241
  }
176
242
  },
177
243
  "__BASE_PATH__": "/"
package/src/App.vue CHANGED
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts">
2
2
  import { onLaunch } from '@dcloudio/uni-app';
3
3
  onLaunch(() => {
4
- console.log('abv');
4
+ console.log('onLaunch');
5
5
  });
6
6
  </script>
7
7
  <style>
@@ -0,0 +1,15 @@
1
+ <template></template>
2
+ <script lang="ts">
3
+ // @ts-nocheck
4
+ import { defineComponent, reactive } from 'vue';
5
+ import { useProvider } from '@vtj/renderer';
6
+ export default defineComponent({
7
+ name: 'Aaa',
8
+ setup(props) {
9
+ const provider = useProvider({ id: '45tm4w8w2', version: '1740725616899' });
10
+ const state = reactive<Record<string, any>>({});
11
+ return { state, props, provider };
12
+ }
13
+ });
14
+ </script>
15
+ <style lang="scss" scoped></style>
@@ -0,0 +1,15 @@
1
+ <template></template>
2
+ <script lang="ts">
3
+ // @ts-nocheck
4
+ import { defineComponent, reactive } from 'vue';
5
+ import { useProvider } from '@vtj/renderer';
6
+ export default defineComponent({
7
+ name: 'Bbb',
8
+ setup(props) {
9
+ const provider = useProvider({ id: '7pfjupgg3', version: '1740725623171' });
10
+ const state = reactive<Record<string, any>>({});
11
+ return { state, props, provider };
12
+ }
13
+ });
14
+ </script>
15
+ <style lang="scss" scoped></style>
package/src/pages.json CHANGED
@@ -1,9 +1,42 @@
1
1
  {
2
- "pages": [],
2
+ "pages": [
3
+ {
4
+ "path": "pages/45tm4w8w2",
5
+ "style": {
6
+ "navigationBarTitleText": "aaa"
7
+ },
8
+ "needLogin": false,
9
+ "vtj": true
10
+ },
11
+ {
12
+ "path": "pages/7pfjupgg3",
13
+ "style": {
14
+ "navigationBarTitleText": "bbb"
15
+ },
16
+ "needLogin": false,
17
+ "vtj": true
18
+ }
19
+ ],
3
20
  "globalStyle": {
4
21
  "navigationBarTextStyle": "black",
5
22
  "navigationBarTitleText": "uni-app",
6
23
  "navigationBarBackgroundColor": "#F8F8F8",
7
24
  "backgroundColor": "#F8F8F8"
25
+ },
26
+ "tabBar": {
27
+ "color": "#7A7E83",
28
+ "selectedColor": "#3cc51f",
29
+ "borderStyle": "black",
30
+ "backgroundColor": "#ffffff",
31
+ "list": [
32
+ {
33
+ "pagePath": "pages/45tm4w8w2",
34
+ "text": "组件"
35
+ },
36
+ {
37
+ "pagePath": "pages/7pfjupgg3",
38
+ "text": "接口"
39
+ }
40
+ ]
8
41
  }
9
42
  }