wevu 6.16.2 → 6.16.3
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/dev/index.mjs +2 -2
- package/dist/dev/router.mjs +39 -39
- package/dist/dev/router.mjs.map +1 -1
- package/dist/dev/{src-DcTVnwpE.mjs → src-DjDCQerj.mjs} +239 -3
- package/dist/dev/{src-DcTVnwpE.mjs.map → src-DjDCQerj.mjs.map} +1 -1
- package/dist/dev/vue-demi.mjs +13 -2
- package/dist/dev/vue-demi.mjs.map +1 -1
- package/dist/{index-6sv3KnLP.d.mts → index-BKnpWfa6.d.mts} +132 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/router.mjs +1 -1
- package/dist/src-D9uUICz0.mjs +1 -0
- package/dist/vue-demi.d.mts +3 -3
- package/dist/vue-demi.mjs +1 -1
- package/package.json +2 -2
- package/dist/src-BFQLJ5K7.mjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-CbfVNrr-.mjs";import{A as e,C as t,D as n,M as r,N as i,P as a,a as o,b as s,d as c,g as l,h as u,i as d,j as f,k as p,l as m,m as h,n as g,o as _,p as v,r as y,s as b,t as x,v as S,w as C,x as w,y as T}from"./ref-Bs--7iY3.mjs";import{i as E}from"./store-B63-EIon.mjs";import{$ as D,E as O,F as k,J as A,P as j,Q as M,S as N,T as P,U as F,X as I,Y as L,Z as R,at as z,b as B,et as V,it as H,nt as ee,ot as te,q as U,rt as W,st as G,tt as ne,ut as re,x as ie,y as ae}from"./router-BtpVtHM4.mjs";import{WEVU_ATTRS_KEY as oe,WEVU_EFFECT_SCOPE_KEY as se,WEVU_EXPOSED_KEY as ce,WEVU_HOOKS_KEY as le,WEVU_INLINE_HANDLER as ue,WEVU_INLINE_MAP_KEY as K,WEVU_IS_APP_INSTANCE_KEY as de,WEVU_LAYOUT_BRIDGE_PAGE_KEYS as fe,WEVU_LAYOUT_HOST_BRIDGE_KEY as q,WEVU_MODEL_HANDLER as pe,WEVU_NATIVE_INSTANCE_KEY as J,WEVU_ON_BEFORE_UPDATE_HOOK as me,WEVU_ON_LOAD_CALLED_KEY as Y,WEVU_ON_UPDATED_HOOK as he,WEVU_OWNER_HANDLER as ge,WEVU_PAGE_LAYOUT_NAME_KEY as _e,WEVU_PAGE_LAYOUT_NONE as ve,WEVU_PAGE_LAYOUT_PROPS_KEY as ye,WEVU_PAGE_LAYOUT_SETTER_KEY as be,WEVU_PAGE_SCROLL_HOOK_DEPTH_KEY as xe,WEVU_PARENT_INSTANCE_KEY as Se,WEVU_PENDING_PROP_VALUES_KEY as Ce,WEVU_PROPS_KEY as X,WEVU_PROP_KEYS_KEY as we,WEVU_PUBLIC_RUNTIME_KEY as Z,WEVU_READY_CALLED_KEY as Te,WEVU_RESERVED_METHOD_PREFIX as Ee,WEVU_ROUTE_DONE_CALLED_KEY as De,WEVU_ROUTE_DONE_IN_TICK_KEY as Oe,WEVU_RUNTIME_APP_KEY as ke,WEVU_RUNTIME_KEY as Ae,WEVU_SCOPED_SLOT_CREATOR_KEY as je,WEVU_SETUP_CONTEXT_INSTANCE_KEY as Me,WEVU_SLOT_NAMES_PROP as Ne,WEVU_SLOT_OWNER_ID_KEY as Pe,WEVU_SLOT_OWNER_ID_PROP as Fe,WEVU_SLOT_OWNER_KEY as Ie,WEVU_SLOT_PROPS_DATA_KEY as Le,WEVU_SLOT_PROPS_KEY as Re,WEVU_SLOT_SCOPE_KEY as ze,WEVU_TEMPLATE_REFS_CALLBACKS_KEY as Be,WEVU_TEMPLATE_REFS_KEY as Ve,WEVU_TEMPLATE_REFS_PENDING_KEY as He,WEVU_TEMPLATE_REF_MAP_KEY as Ue,WEVU_WATCH_STOPS_KEY as We}from"@weapp-core/constants";import{resolveMiniProgramPageKeys as Ge}from"@weapp-core/shared";import{wpi as Ke}from"@wevu/api";function qe(e,t){return x((t,n)=>({get(){return t(),e},set(t){Object.is(e,t)||(e=t,n())}}),t)}function Je(e){return g(e)&&typeof e.value!=`function`}function Ye(e){if(g(e)){let t=e.dep;if(t){r(t);return}e.value=e.value}}function Xe(e,t,n){let r=e[t];return g(r)?r:x((n,r)=>({get(){return n(),e[t]},set(n){e[t]=n,r()}}),n)}function Ze(e){m(e)||console.warn(`toRefs() 需要响应式对象,但收到的是普通对象。`);let t=Array.isArray(e)?Array.from({length:e.length}):{};for(let n in e)t[n]=Xe(e,n);return t}function Qe(e,t=1/0,n=new Map){if(t<=0||!S(e))return e;if(g(e))return Qe(e.value,t-1,n),e;if(e.__r_skip)return e;let r=n.get(e);if(r!==void 0&&r>=t)return e;n.set(e,t);let i=t-1;if(Array.isArray(e)||e instanceof Map||e instanceof Set)return e.forEach(e=>Qe(e,i,n)),e;let a=m(e)&&t!==1/0?T(e):e;for(let t in a)Qe(e[t],i,n);return e}function $e(e){D(A(`onMounted`),`onReady`,e)}function et(e){D(A(`onUpdated`),he,e)}function tt(e){A(`onBeforeUnmount`),e()}function nt(e){D(A(`onUnmounted`),`onUnload`,e)}function rt(e){A(`onBeforeMount`),e()}function it(e){D(A(`onBeforeUpdate`),me,e)}function at(e){let t=A(`onErrorCaptured`);D(t,`onError`,n=>e(n,t,``))}function ot(e){D(A(`onActivated`),`onShow`,e)}function st(e){D(A(`onDeactivated`),`onHide`,e)}function ct(e){A(`onServerPrefetch`)}function lt(e,t){L(e,t===`before`?me:he)}let ut=`version`;function dt(e){ut=e}function ft(){return ut}function pt(e){if(typeof e==`function`)return e();if(g(e))return e.value;if(m(e))return e;throw Error(`无效的 watch 源`)}function mt(e){let t=m(e),n=Array.isArray(e)&&!t,r;if(n){let t=e;r=()=>t.map(e=>pt(e))}else if(typeof e==`function`)r=e;else if(g(e))r=()=>e.value;else if(t)r=()=>e;else throw Error(`无效的 watch 源`);return{getter:r,isMultiSource:n,isReactiveSource:t}}function ht(e,t,n,r,i){let a=n?t.some(e=>m(e)):r,o=i==null?a:i;if(!(o===!0||typeof o==`number`))return e;let s=typeof o==`number`?o:o?1/0:0;return()=>{let t=e(),r=ft();return n&&Array.isArray(t)?t.map(e=>r===`version`&&m(e)?(l(e),e):Qe(e,s)):r===`version`&&m(t)?(l(t),t):Qe(t,s)}}function gt(e,t,n,r){if(r){r(e,n);return}if(t===`sync`){e();return}if(t===`post`){i(()=>a(e));return}n?e():a(e)}function _t(e,r,i={}){var a;let o=R(),s=mt(e),c=ht(s.getter,e,s.isMultiSource,s.isReactiveSource,i.deep),l,u=e=>{l=e},d,f,m=!1,h=0,g=h,_,v=i.once?(e,t,n)=>{r(e,t,n),_()}:r,y=(a=i.flush)==null?`pre`:a,b=e=>{if(!f.active||m||e!==h)return;let t=f();l==null||l();let n=R();V(o);try{v(t,d,u)}finally{V(n)}d=t},x=()=>b(g),S=e=>{g=h,gt(x,y,e,i.scheduler)};f=t(()=>c(),{scheduler:()=>{m||S(!1)},lazy:!0});let C=()=>{l==null||l(),l=void 0,p(f)};return _=C,_.stop=C,_.pause=()=>{m||(m=!0,h+=1)},_.resume=()=>{!m||!f.active||(m=!1,d=f())},i.immediate?b(h):d=f(),n(_),_}function vt(e,r={}){var i;let a=R(),o,s=e=>{o=e},c,l=!1,u=0,d=u,f=(i=r.flush)==null?`pre`:i,m=e=>{!c.active||l||e!==u||c()},h=()=>m(d),g=e=>{d=u,gt(h,f,e)};c=t(()=>{o==null||o(),o=void 0;let t=R();V(a);try{e(s)}finally{V(t)}},{lazy:!0,scheduler:()=>{l||g(!1)}}),g(!0);let _=()=>{o==null||o(),o=void 0,p(c)},v=_;return v.stop=_,v.pause=()=>{l||(l=!0,u+=1)},v.resume=()=>{!l||!c.active||(l=!1,g(!0))},n(v),v}function yt(e,t={}){return vt(e,{...t,flush:`post`})}function bt(e,t={}){return vt(e,{...t,flush:`sync`})}const xt=`6.16.3`;function St(e){return e?e.charAt(0).toUpperCase()+e.slice(1):``}function Ct(e){return e?e.split(`.`).map(e=>e.trim()).filter(Boolean):[]}function wt(e,t,n){let r=e[t];if(!r)throw Error(`计算属性 "${t}" 是只读的`);r(n)}function Tt(e){if(e==null)return e;if(typeof e==`object`){if(`detail`in e&&e.detail&&`value`in e.detail)return e.detail.value;if(`target`in e&&e.target&&`value`in e.target)return e.target.value}return e}function Et(e,t,n){let r=e;for(let e=0;e<t.length-1;e++){let n=t[e];(r[n]==null||typeof r[n]!=`object`)&&(r[n]={}),r=r[n]}r[t.at(-1)]=n}function Dt(e,t,n,r,i){if(!r.length)return;let[a,...o]=r;if(!o.length){if(t[a])wt(n,a,i);else{let t=e[a];g(t)?t.value=i:e[a]=i}return}if(t[a]){wt(n,a,i);return}(e[a]==null||typeof e[a]!=`object`)&&(e[a]={}),Et(e[a],o,i)}function Ot(e,t){return t.reduce((e,t)=>e==null?e:e[t],e)}function kt(e){return Tt(e)}function At(e,t,n,r){return(i,a)=>{let o=Ct(i);if(!o.length)throw Error(`bindModel 需要非空路径`);let s=()=>Ot(e,o),c=e=>{Dt(t,n,r,o,e)},l={event:`input`,valueProp:`value`,parser:kt,formatter:e=>e,...a};return{get value(){return s()},set value(e){c(e)},update(e){c(e)},model(e){let t={...l,...e},n=`on${St(t.event)}`,r=e=>{c(t.parser(e))};return{[t.valueProp]:t.formatter(s()),[n]:r}}}}}function jt(e){if(Object.prototype.toString.call(e)!==`[object Object]`)return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function Mt(e){return Array.isArray(e)||jt(e)}function Nt(e){if(Array.isArray(e))return e;let t=[];for(let n of Object.keys(e)){let r=Object.getOwnPropertyDescriptor(e,n);!r||typeof r.get==`function`||t.push(r.value)}return t}function Pt(e,t=new WeakSet){return g(e)||m(e)?!0:!e||typeof e!=`object`||t.has(e)||(t.add(e),!Mt(e))?!1:Nt(e).some(e=>Pt(e,t))}function Ft(e,t=new WeakSet){if(g(e)){let n=e.value;m(n)&&l(n),Ft(n,t);return}if(m(e)){l(e),Ft(T(e),t);return}!e||typeof e!=`object`||t.has(e)||!Mt(e)||(t.add(e),Nt(e).forEach(e=>Ft(e,t)))}const It=`__wevu_native_bridge__`;function Lt(e){try{Object.defineProperty(e,It,{value:!0,configurable:!1,enumerable:!1,writable:!1})}catch(t){e[It]=!0}}function Rt(e){return typeof e==`function`&&!!e[It]}function zt(n){let r=Object.create(null),i=Object.create(null),a=new Set;return{computedRefs:r,computedSetters:i,dirtyComputedKeys:a,createTrackedComputed:(r,i,o)=>{let s,c=!0,l,u={get value(){return c&&(s=l(),c=!1),e(u,`value`),s},set value(e){if(!o)throw Error(`计算属性是只读的`);o(e)}};return y(u),l=t(i,{lazy:!0,scheduler:()=>{c||(c=!0,n.setDataStrategy===`patch`&&n.includeComputed&&a.add(r),f(u,`value`))}}),u},computedProxy:new Proxy({},{get(e,t){if(typeof t==`string`&&r[t])return r[t].value},has(e,t){return typeof t==`string`&&!!r[t]},ownKeys(){return Object.keys(r)},getOwnPropertyDescriptor(e,t){if(typeof t==`string`&&r[t])return{configurable:!0,enumerable:!0,value:r[t].value}}})}}function Bt(e){let{state:t,computedDefs:n,methodDefs:r,appConfig:i,includeComputed:a,setDataStrategy:o}=e,s={},{computedRefs:c,computedSetters:l,dirtyComputedKeys:u,createTrackedComputed:f,computedProxy:p}=zt({includeComputed:a,setDataStrategy:o}),m=d(0),h=(e,t)=>{let n=T(e),r=n[Ae],i=r==null?void 0:r.proxy,a=(e,t)=>{let n=e[t];return Rt(n)},o=n=>!(!n||typeof n!=`object`||n===e||n===t||n===i||a(n,`triggerEvent`)||a(n,`createSelectorQuery`)||a(n,`createIntersectionObserver`)||a(n,`setData`)),s=n[J];if(o(s))return s;let c=r==null?void 0:r.instance;if(o(c))return c},g=e=>{if(Object.hasOwn(s,e))return;let n=(...n)=>{let r=h(t,t);if(!r)return;let i=Reflect.get(r,e);if(typeof i==`function`)return i.apply(r,n)};Lt(n),s[e]=n},_=new Proxy(t,{get(e,n,r){if(typeof n==`string`){if(m.value,n===`data`||n===`$state`)return t;if(n===`$computed`)return p;if(Object.hasOwn(s,n))return s[n];if(c[n])return c[n].value;if(Object.hasOwn(i.globalProperties,n))return i.globalProperties[n]}if(!Reflect.has(e,n)){let t=h(e,r);if(t&&Reflect.has(t,n)){let e=Reflect.get(t,n);return typeof e==`function`?e.bind(t):e}}return Reflect.get(e,n,r)},set(e,t,n,r){if(typeof t==`string`&&c[t])return wt(l,t,n),!0;if(Reflect.has(e,t))return Reflect.set(e,t,n,r);let i=h(e,r);return i&&Reflect.has(i,t)?Reflect.set(i,t,n):Reflect.set(e,t,n,r)},has(e,t){if(t===`data`||typeof t==`string`&&(c[t]||Object.hasOwn(s,t)))return!0;let n=h(e,e);return n&&Reflect.has(n,t)?!0:Reflect.has(e,t)},ownKeys(e){let t=new Set;return Reflect.ownKeys(e).forEach(e=>{t.add(e)}),Object.keys(s).forEach(e=>t.add(e)),Object.keys(c).forEach(e=>t.add(e)),[...t]},getOwnPropertyDescriptor(e,n){if(Reflect.has(e,n))return Object.getOwnPropertyDescriptor(e,n);if(typeof n==`string`){if(n===`data`)return{configurable:!0,enumerable:!1,get(){return t}};if(c[n])return{configurable:!0,enumerable:!0,get(){return c[n].value},set(e){wt(l,n,e)}};if(Object.hasOwn(s,n))return{configurable:!0,enumerable:!1,value:s[n]}}}});return Object.keys(r).forEach(e=>{let t=r[e];if(typeof t==`function`){s[e]=(...e)=>t.apply(_,e);return}e===K&&t&&typeof t==`object`&&(s[e]=t)}),g(`triggerEvent`),g(`createSelectorQuery`),g(`createIntersectionObserver`),g(`setData`),Object.keys(n).forEach(e=>{let t=n[e];if(typeof t==`function`)c[e]=f(e,()=>t.call(_));else{var r,i;let n=(r=t.get)==null?void 0:r.bind(_);if(!n)throw Error(`计算属性 "${e}" 需要提供 getter`);let a=(i=t.set)==null?void 0:i.bind(_);a?(l[e]=a,c[e]=f(e,n,a)):c[e]=f(e,n)}}),{boundMethods:s,computedRefs:c,computedSetters:l,dirtyComputedKeys:u,computedProxy:p,publicInstance:_,touchSetupMethodsVersion(){m.value+=1}}}function Vt(e){return e!==`patch`&&e!==`diff`}function Ht(e){if(e!==`off`)return t=>{if(e===`fallback`&&!Vt(t.reason))return;let n=typeof t.bytes==`number`?t.bytes:t.estimatedBytes,r=typeof n==`number`?`${n}B`:`unknown`,i=[`mode=${t.mode}`,`reason=${t.reason}`,`pending=${t.pendingPatchKeys}`,`keys=${t.payloadKeys}`,`bytes=${r}`];typeof t.mergedSiblingParents==`number`&&i.push(`mergedParents=${t.mergedSiblingParents}`),typeof t.computedDirtyKeys==`number`&&i.push(`computedDirty=${t.computedDirtyKeys}`);let a=`[wevu:setData] ${i.join(` `)}`;if(Vt(t.reason)){console.warn(a);return}console.info(a)}}const Ut=Symbol(`wevu.noSetData`);function Q(e){return Object.defineProperty(e,Ut,{value:!0,configurable:!0,enumerable:!1,writable:!1}),e}function Wt(e){return typeof e==`object`&&!!e&&e[Ut]===!0}function Gt(e){if(Object.prototype.toString.call(e)!==`[object Object]`)return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function Kt(e,t,n,r,i){let a=_(e);if(typeof a==`bigint`){let e=Number(a);return Number.isSafeInteger(e)?e:a.toString()}if(typeof a==`symbol`)return a.toString();if(typeof a==`function`)return;if(typeof a!=`object`||!a)return a;if(Wt(a))return;let o=m(a)?T(a):a,s=n&&(m(a)||!Pt(o))?n:void 0;if(r<=0||i.keys<=0)return o;if(s){let e=b(o),t=s.get(o);if(t&&t.version===e)return t.value}if(t.has(o))return t.get(o);if(o instanceof Date)return o.getTime();if(o instanceof RegExp)return o.toString();if(o instanceof Map){let e=[];return t.set(o,e),o.forEach((n,r)=>{e.push([Kt(r,t,void 0,1/0,{keys:1/0}),Kt(n,t,void 0,1/0,{keys:1/0})])}),e}if(o instanceof Set){let e=[];return t.set(o,e),o.forEach(n=>{e.push(Kt(n,t,void 0,1/0,{keys:1/0}))}),e}if(typeof ArrayBuffer<`u`){if(o instanceof ArrayBuffer)return o.byteLength;if(ArrayBuffer.isView(o)){let e=o;if(typeof e[Symbol.iterator]==`function`){let n=[...e];return t.set(o,n),n.map(e=>Kt(e,t,void 0,1/0,{keys:1/0}))}let n=[...new Uint8Array(e.buffer,e.byteOffset,e.byteLength)];return t.set(o,n),n}}if(o instanceof Error)return{name:o.name,message:o.message};if(Array.isArray(o)){let e=[];t.set(o,e);let a=r-1;for(let r=0;r<o.length;r+=1){let s=Kt(o[r],t,n,a,i);e[r]=s===void 0?null:s}return s&&s.set(o,{version:b(o),value:e}),e}let c={};t.set(o,c);let l=r-1;for(let e of Object.keys(o)){if(--i.keys,i.keys<=0)break;let r=Kt(o[e],t,n,l,i);r!==void 0&&(c[e]=r)}return s&&s.set(o,{version:b(o),value:c}),c}function qt(e,t=new WeakMap,n){var r,i;let a=(r=n==null?void 0:n._depth)==null?typeof(n==null?void 0:n.maxDepth)==`number`?Math.max(0,Math.floor(n.maxDepth)):1/0:r,o=(i=n==null?void 0:n._budget)==null?typeof(n==null?void 0:n.maxKeys)==`number`?{keys:Math.max(0,Math.floor(n.maxKeys))}:{keys:1/0}:i;return Kt(e,t,n==null?void 0:n.cache,a,o)}function Jt(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function Yt(e,t,n){let r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;for(let i of r)if(!Object.hasOwn(t,i)||!n(e[i],t[i]))return!1;return!0}function Xt(e,t){return Object.is(e,t)?!0:Array.isArray(e)&&Array.isArray(t)?Jt(e,t,Xt):Gt(e)&&Gt(t)?Yt(e,t,Xt):!1}function Zt(e){return e===void 0?null:e}function Qt(e,t,n,r){if(!Xt(e,t)){if(Gt(e)&&Gt(t)){for(let i of Object.keys(t)){if(!Object.hasOwn(e,i)){r[`${n}.${i}`]=Zt(t[i]);continue}Qt(e[i],t[i],`${n}.${i}`,r)}for(let i of Object.keys(e))Object.hasOwn(t,i)||(r[`${n}.${i}`]=null);return}if(Array.isArray(e)&&Array.isArray(t)){Jt(e,t,Xt)||(r[n]=Zt(t));return}r[n]=Zt(t)}}function $t(e,t,n){let r={},i=n==null?void 0:n.skipKeys;for(let n of Object.keys(t))i!=null&&i.has(n)||Qt(e[n],t[n],n,r);for(let n of Object.keys(e))i!=null&&i.has(n)||Object.hasOwn(t,n)||(r[n]=null);return r}function en(e){let t=Object.keys(e).sort();if(t.length<=1)return e;let n={},r=[];for(let i of t){for(;r.length;){let e=r.at(-1);if(i.startsWith(e))break;r.pop()}r.length||(n[i]=e[i],r.push(`${i}.`))}return n}function tn(e,t,n){if(t<=0)return t+1;if(e===null)return 4;let r=typeof e;if(r===`string`)return 2+e.length;if(r===`number`)return Number.isFinite(e)?String(e).length:4;if(r===`boolean`)return e?4:5;if(r===`undefined`||r===`function`||r===`symbol`||r!==`object`||n.has(e))return 4;if(n.add(e),Array.isArray(e)){let r=2;for(let i=0;i<e.length;i++)if(i&&(r+=1),r+=tn(e[i],t-r,n),r>t)return r;return r}let i=2;for(let[r,a]of Object.entries(e))if(i>2&&(i+=1),i+=2+r.length+1,i+=tn(a,t-i,n),i>t)return i;return i}function nn(e,t){if(t===1/0)return{fallback:!1,estimatedBytes:void 0,bytes:void 0};let n=t,r=Object.keys(e).length,i=tn(e,n+1,new WeakSet);if(i>n)return{fallback:!0,estimatedBytes:i,bytes:void 0};if(i>=n*.85&&r>2)try{let t=JSON.stringify(e).length;return{fallback:t>n,estimatedBytes:i,bytes:t}}catch(e){return{fallback:!1,estimatedBytes:i,bytes:void 0}}return{fallback:!1,estimatedBytes:i,bytes:void 0}}function rn(e){let{input:t,entryMap:n,getPlainByPath:r,mergeSiblingThreshold:i,mergeSiblingSkipArray:a,mergeSiblingMaxParentBytes:o,mergeSiblingMaxInflationRatio:s}=e;if(!i)return{out:t,merged:0};let c=Object.keys(t);if(c.length<i)return{out:t,merged:0};let l=new Map,u=new Set;for(let e of c){var d;let r=n.get(e);if(!r)continue;if(t[e]===null||r.op===`delete`){let t=e.lastIndexOf(`.`);t>0&&u.add(e.slice(0,t));continue}let i=e.lastIndexOf(`.`);if(i<=0)continue;let a=e.slice(0,i),o=(d=l.get(a))==null?[]:d;o.push(e),l.set(a,o)}let f=[...l.entries()].filter(([e,t])=>t.length>=i&&!u.has(e)).sort((e,t)=>t[0].split(`.`).length-e[0].split(`.`).length);if(!f.length)return{out:t,merged:0};let p={};Object.assign(p,t);let m=0,h=new WeakMap,g=e=>{if(e&&typeof e==`object`){let t=h.get(e);if(t!==void 0)return t;let n=tn(e,1/0,new WeakSet);return h.set(e,n),n}return tn(e,1/0,new WeakSet)},_=(e,t)=>2+e.length+1+g(t);for(let[e,t]of f){if(Object.hasOwn(p,e))continue;let n=t.filter(e=>Object.hasOwn(p,e));if(n.length<i)continue;let c=r(e);if(!(a&&Array.isArray(c))&&!(o!==1/0&&_(e,c)>o)){if(s!==1/0){let t=0;for(let e of n)t+=_(e,p[e]);if(_(e,c)>t*s)continue}p[e]=c;for(let e of n)delete p[e];m+=1}}return{out:p,merged:m}}function an(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}function on(e){return e===void 0?null:e}function sn(e){if(Array.isArray(e))return e.map(e=>sn(e));if(!an(e))return e;let t={};for(let n of Object.keys(e))t[n]=sn(e[n]);return t}function cn(e,t){if(Object.is(e,t))return!0;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!Object.is(e[n],t[n]))return!1;return!0}if(!an(e)||!an(t))return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!Object.hasOwn(t,r)||!Object.is(e[r],t[r]))return!1;return!0}function ln(e,t,n,r){if(Object.is(e,t))return!0;if(n<=0)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++)if(!ln(e[i],t[i],n-1,r))return!1;return!0}if(!an(e)||!an(t))return!1;let i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(let a of i)if(--r.keys,r.keys<=0||!Object.hasOwn(t,a)||!ln(e[a],t[a],n-1,r))return!1;return!0}function un(e,t,n,r,i){var a;let o=(a=i==null?void 0:i.cloneValue)==null?!0:a,s=t.split(`.`).filter(Boolean);if(!s.length)return;let c=e;for(let e=0;e<s.length-1;e++){let t=s[e];(!Object.hasOwn(c,t)||c[t]==null||typeof c[t]!=`object`)&&(c[t]={}),c=c[t]}let l=s.at(-1);if(r===`delete`)try{delete c[l]}catch(e){c[l]=null}else c[l]=o?sn(n):n}function dn(e){let{state:t,computedRefs:n,includeComputed:r,shouldIncludeKey:i,plainCache:a,toPlainMaxDepth:o,toPlainMaxKeys:s}=e,c=new WeakMap,l={},u=Number.isFinite(s)?{keys:s}:void 0,d=m(t)?T(t):t,f=Object.keys(d),p=r?Object.keys(n):[];for(let e of f)i(e)&&(l[e]=qt(d[e],c,{cache:a,maxDepth:o,_budget:u}));for(let e of p)i(e)&&(l[e]=qt(n[e].value,c,{cache:a,maxDepth:o,_budget:u}));return l}function fn(e){let{state:t,computedRefs:n,dirtyComputedKeys:r,includeComputed:i,computedCompare:a,computedCompareMaxDepth:o,computedCompareMaxKeys:s,currentAdapter:c,shouldIncludeKey:l,maxPatchKeys:u,maxPayloadBytes:d,mergeSiblingThreshold:f,mergeSiblingMaxInflationRatio:p,mergeSiblingMaxParentBytes:m,mergeSiblingSkipArray:h,elevateTopKeyThreshold:g,toPlainMaxDepth:_,toPlainMaxKeys:v,plainCache:y,pendingPatches:b,fallbackTopKeys:x,latestSnapshot:S,latestComputedSnapshot:C,needsFullSnapshot:w,emitDebug:T,runDiffUpdate:E}=e;if(b.size>u){w.value=!0;let e=b.size;b.clear(),r.clear(),T({mode:`diff`,reason:`maxPatchKeys`,pendingPatchKeys:e,payloadKeys:0}),E(`maxPatchKeys`);return}let D=new WeakMap,O=new Map,k=Object.create(null),A=[...b.entries()];if(Number.isFinite(g)&&g>0){let e=new Map;for(let[t]of A){var j;let n=t.split(`.`,1)[0];e.set(n,((j=e.get(n))==null?0:j)+1)}for(let[t,n]of e)n>=g&&x.add(t)}let M=A.filter(([e])=>{for(let t of x)if(e===t||e.startsWith(`${t}.`))return!1;return!0}),N=new Map(M);b.clear();let P=e=>{let n=e.split(`.`).filter(Boolean),r=t;for(let e of n){if(r==null)return r;r=r[e]}return r},F=e=>{if(O.has(e))return O.get(e);let t=on(qt(P(e),D,{cache:y,maxDepth:_,maxKeys:v}));return O.set(e,t),t};if(x.size){for(let e of x)l(e)&&(k[e]=F(e),N.set(e,{kind:`property`,op:`set`}));x.clear()}for(let[e,t]of M){if((t.kind===`array`?`set`:t.op)===`delete`){k[e]=null;continue}k[e]=F(e)}let I=0;if(i&&r.size){let e=Object.create(null),t=[...r];r.clear(),I=t.length;for(let r of t){if(!l(r))continue;let t=qt(n[r].value,D,{cache:y,maxDepth:_,maxKeys:v}),i=C[r];(a===`deep`?ln(i,t,o,{keys:s}):a===`shallow`?cn(i,t):Object.is(i,t))||(e[r]=on(t),C[r]=sn(t))}Object.assign(k,e)}let L=en(k),R=0;if(f){let e=rn({input:L,entryMap:N,getPlainByPath:F,mergeSiblingThreshold:f,mergeSiblingSkipArray:h,mergeSiblingMaxParentBytes:m,mergeSiblingMaxInflationRatio:p});R=e.merged,L=en(e.out)}let z=nn(L,d),B=z.fallback;if(T({mode:B?`diff`:`patch`,reason:B?`maxPayloadBytes`:`patch`,pendingPatchKeys:M.length,payloadKeys:Object.keys(L).length,mergedSiblingParents:R||void 0,computedDirtyKeys:I||void 0,estimatedBytes:z.estimatedBytes,bytes:z.bytes}),B){w.value=!0,b.clear(),r.clear(),E(`maxPayloadBytes`);return}if(Object.keys(L).length){for(let[e,t]of Object.entries(L)){let n=N.get(e);n?un(S,e,t,n.kind===`array`?`set`:n.op,{cloneValue:!1}):un(S,e,t,`set`,{cloneValue:!1})}if(typeof c.setData==`function`){let e=c.setData(L);e&&typeof e.then==`function`&&e.catch(()=>{})}T({mode:`patch`,reason:`patch`,pendingPatchKeys:M.length,payloadKeys:Object.keys(L).length})}}function pn(e){let{state:t,computedRefs:n,dirtyComputedKeys:r,includeComputed:i,setDataStrategy:a,computedCompare:o,computedCompareMaxDepth:s,computedCompareMaxKeys:c,currentAdapter:l,shouldIncludeKey:u,maxPatchKeys:d,maxPayloadBytes:f,mergeSiblingThreshold:p,mergeSiblingMaxInflationRatio:h,mergeSiblingMaxParentBytes:_,mergeSiblingSkipArray:v,elevateTopKeyThreshold:y,toPlainMaxDepth:x,toPlainMaxKeys:S,debug:C,debugWhen:w,debugSampleRate:E,runTracker:D,isMounted:O}=e,k=new WeakMap,A={},j=Object.create(null),M=Object.create(null),N=Object.create(null),P={value:a===`patch`},F=new Map,I=new Set,L=e=>{if(Object.prototype.toString.call(e)!==`[object Object]`)return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype},R=(e,t)=>{if(Object.is(e,t))return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length?e.every((e,n)=>R(e,t[n])):!1;if(L(e)&&L(t)){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length?n.every(n=>Object.hasOwn(t,n)&&R(e[n],t[n])):!1}return!1},z=e=>{let t=g(e)?e.value:e;if(typeof t!=`object`||!t)return t;if(!m(t)&&Pt(t))return{snapshot:qt(t,new WeakMap,{maxDepth:x,maxKeys:S})};let n=m(t)?T(t):t;return{raw:n,version:b(n)}},B=(e,t)=>Object.is(e,t)?!0:!e||!t||typeof e!=`object`||typeof t!=`object`||!Object.hasOwn(e,`raw`)||!Object.hasOwn(t,`raw`)?e&&t&&typeof e==`object`&&typeof t==`object`&&Object.hasOwn(e,`snapshot`)&&Object.hasOwn(t,`snapshot`)?R(e.snapshot,t.snapshot):!1:e.raw===t.raw&&e.version===t.version,V=e=>{let n=[];for(let r of Object.keys(t)){if(!u(r))continue;let i=t[r],a=g(i)?i.value:i;!a||typeof a!=`object`||T(a)===e&&n.push(r)}return n},H=e=>{if(!C)return;let t=e.reason!==`patch`&&e.reason!==`diff`;if(!(w===`fallback`&&!t)&&!(E<1&&Math.random()>E))try{C(e)}catch(e){}},ee=()=>dn({state:t,computedRefs:n,includeComputed:i,shouldIncludeKey:u,plainCache:k,toPlainMaxDepth:x,toPlainMaxKeys:S}),te=()=>{let e=m(t)?T(t):t,r={...A},a=new WeakMap,o=new Set,s=new Set,c=new Set;for(let t of Object.keys(e)){if(!u(t))continue;o.add(t);let n=z(e[t]),i=M[t];i&&n&&typeof i==`object`&&typeof n==`object`&&Object.hasOwn(i,`raw`)&&Object.hasOwn(n,`raw`)&&Array.isArray(i.raw)&&Array.isArray(n.raw)&&i.raw!==n.raw&&c.add(t),(!B(i,n)||!Object.hasOwn(A,t))&&(r[t]=qt(e[t],a,{cache:k,maxDepth:x,maxKeys:S})),M[t]=n}for(let e of Object.keys(M))o.has(e)||(delete M[e],(!i||!Object.hasOwn(n,e))&&delete r[e]);if(!i){for(let e of Object.keys(N))delete N[e];return{snapshot:r,replacedTopLevelKeys:c}}for(let e of Object.keys(n)){if(!u(e))continue;s.add(e);let t=n[e].value,i=z(t);(!B(N[e],i)||!Object.hasOwn(A,e))&&(r[e]=qt(t,a,{cache:k,maxDepth:x,maxKeys:S})),N[e]=i}for(let t of Object.keys(N))s.has(t)||(delete N[t],(!Object.hasOwn(e,t)||!u(t))&&delete r[t]);return{snapshot:r,replacedTopLevelKeys:c}},U=(e=`diff`)=>{var t;let o=a===`diff`?te():void 0,s=(t=o==null?void 0:o.snapshot)==null?ee():t,c=o?(()=>{let e={};for(let t of o.replacedTopLevelKeys)e[t]=s[t];return{...$t(A,s,{skipKeys:o.replacedTopLevelKeys}),...e}})():$t(A,s);if(A=s,P.value=!1,F.clear(),a===`patch`&&i){j=Object.create(null);for(let e of Object.keys(n))u(e)&&(j[e]=s[e]);r.clear()}if(Object.keys(c).length){if(typeof l.setData==`function`){let e=l.setData(c);e&&typeof e.then==`function`&&e.catch(()=>{})}H({mode:`diff`,reason:e,pendingPatchKeys:0,payloadKeys:Object.keys(c).length})}};return{job:e=>{if(O())if(D(),a===`patch`&&!P.value){if(!(F.size>0||I.size>0||i&&r.size>0)){U(`diff`);return}fn({state:t,computedRefs:n,dirtyComputedKeys:r,includeComputed:i,computedCompare:o,computedCompareMaxDepth:s,computedCompareMaxKeys:c,currentAdapter:l,shouldIncludeKey:u,maxPatchKeys:d,maxPayloadBytes:f,mergeSiblingThreshold:p,mergeSiblingMaxInflationRatio:h,mergeSiblingMaxParentBytes:_,mergeSiblingSkipArray:v,elevateTopKeyThreshold:y,toPlainMaxDepth:x,toPlainMaxKeys:S,plainCache:k,pendingPatches:F,fallbackTopKeys:I,latestSnapshot:A,latestComputedSnapshot:j,needsFullSnapshot:P,emitDebug:H,runDiffUpdate:U})}else U(P.value?`needsFullSnapshot`:`diff`)},mutationRecorder:(e,t)=>{if(!O())return;if(e.root!==t){let t=V(e.root);if(t.length)for(let e of t)I.add(e);return}if(!e.path){if(Array.isArray(e.fallbackTopKeys)&&e.fallbackTopKeys.length)for(let t of e.fallbackTopKeys)I.add(t);else P.value=!0;return}let n=e.path.split(`.`,1)[0];u(n)&&F.set(e.path,{kind:e.kind,op:e.op})},snapshot:()=>a===`patch`?ee():{...A},cloneLatestSnapshot:()=>({...A}),getLatestSnapshot:()=>A}}function mn(e){var t,n,r,i,a,o,s;let c=(t=e==null?void 0:e.includeComputed)==null?!0:t,l=(n=e==null?void 0:e.suspendWhenHidden)==null?!1:n,u=(r=e==null?void 0:e.strategy)==null?`diff`:r,d=typeof(e==null?void 0:e.maxPatchKeys)==`number`?Math.max(0,e.maxPatchKeys):1/0,f=typeof(e==null?void 0:e.maxPayloadBytes)==`number`?Math.max(0,e.maxPayloadBytes):1/0,p=typeof(e==null?void 0:e.mergeSiblingThreshold)==`number`?Math.max(2,Math.floor(e.mergeSiblingThreshold)):0,m=typeof(e==null?void 0:e.mergeSiblingMaxInflationRatio)==`number`?Math.max(0,e.mergeSiblingMaxInflationRatio):1.25,h=typeof(e==null?void 0:e.mergeSiblingMaxParentBytes)==`number`?Math.max(0,e.mergeSiblingMaxParentBytes):1/0,g=(i=e==null?void 0:e.mergeSiblingSkipArray)==null?!0:i,_=(a=e==null?void 0:e.computedCompare)==null?u===`patch`?`deep`:`reference`:a,v=typeof(e==null?void 0:e.computedCompareMaxDepth)==`number`?Math.max(0,Math.floor(e.computedCompareMaxDepth)):4,y=typeof(e==null?void 0:e.computedCompareMaxKeys)==`number`?Math.max(0,Math.floor(e.computedCompareMaxKeys)):200,b=e==null?void 0:e.prelinkMaxDepth,x=e==null?void 0:e.prelinkMaxKeys,S=e==null?void 0:e.debug,C=(o=e==null?void 0:e.diagnostics)==null?`off`:o,w=(s=e==null?void 0:e.debugWhen)==null?`fallback`:s,T=typeof(e==null?void 0:e.debugSampleRate)==`number`?Math.min(1,Math.max(0,e.debugSampleRate)):1,E=typeof(e==null?void 0:e.elevateTopKeyThreshold)==`number`?Math.max(0,Math.floor(e.elevateTopKeyThreshold)):1/0,D=typeof(e==null?void 0:e.toPlainMaxDepth)==`number`?Math.max(0,Math.floor(e.toPlainMaxDepth)):1/0,O=typeof(e==null?void 0:e.toPlainMaxKeys)==`number`?Math.max(0,Math.floor(e.toPlainMaxKeys)):1/0,k=Array.isArray(e==null?void 0:e.pick)&&e.pick.length>0?new Set(e.pick):void 0,A=Array.isArray(e==null?void 0:e.omit)&&e.omit.length>0?new Set(e.omit):void 0;return{includeComputed:c,suspendWhenHidden:l,setDataStrategy:u,maxPatchKeys:d,maxPayloadBytes:f,mergeSiblingThreshold:p,mergeSiblingMaxInflationRatio:m,mergeSiblingMaxParentBytes:h,mergeSiblingSkipArray:g,computedCompare:_,computedCompareMaxDepth:v,computedCompareMaxKeys:y,prelinkMaxDepth:b,prelinkMaxKeys:x,debug:S,diagnostics:C,debugWhen:w,debugSampleRate:T,elevateTopKeyThreshold:E,toPlainMaxDepth:D,toPlainMaxKeys:O,pickSet:k,omitSet:A,shouldIncludeKey:e=>!(k&&!k.has(e)||A&&A.has(e))}}function hn(e,t){let n=(()=>{e()});return n.stop=()=>n(),n.pause=()=>{var e;t==null||(e=t.pause)==null||e.call(t)},n.resume=()=>{var e;t==null||(e=t.resume)==null||e.call(t)},n}function gn(e){return typeof e==`function`?e():e==null?{}:e}function _n(e){let{data:n,resolvedComputed:r,resolvedMethods:i,appConfig:o,setDataOptions:d}=e;return e=>{let f=gn(n);if(f&&typeof f==`object`&&!Object.hasOwn(f,X))try{Object.defineProperty(f,X,{value:v(Object.create(null)),configurable:!0,enumerable:!1,writable:!1})}catch(e){}let g=c(f),_=r,y=i,b=!0,x=[],S=new Set;Object.keys(g).forEach(e=>{let t=g[e];Pt(t)&&S.add(e)});let{includeComputed:C,setDataStrategy:E,maxPatchKeys:D,maxPayloadBytes:O,mergeSiblingThreshold:k,mergeSiblingMaxInflationRatio:A,mergeSiblingMaxParentBytes:j,mergeSiblingSkipArray:M,computedCompare:N,computedCompareMaxDepth:P,computedCompareMaxKeys:F,prelinkMaxDepth:I,prelinkMaxKeys:L,debug:R,diagnostics:z,debugWhen:B,debugSampleRate:V,elevateTopKeyThreshold:H,toPlainMaxDepth:ee,toPlainMaxKeys:te,shouldIncludeKey:U}=mn(d),W=Ht(z),G=R||W?e=>{typeof R==`function`&&R(e),W==null||W(e)}:void 0,ne=z===`always`?`always`:B,{boundMethods:re,computedRefs:ie,computedSetters:ae,dirtyComputedKeys:se,computedProxy:ce,publicInstance:le,touchSetupMethodsVersion:ue}=Bt({state:g,computedDefs:_,methodDefs:y,appConfig:o,includeComputed:C,setDataStrategy:E}),K=e==null?{setData:()=>{}}:e,de=T(g),fe,q=pn({state:g,computedRefs:ie,dirtyComputedKeys:se,includeComputed:C,setDataStrategy:E,computedCompare:N,computedCompareMaxDepth:P,computedCompareMaxKeys:F,currentAdapter:K,shouldIncludeKey:U,maxPatchKeys:D,maxPayloadBytes:O,mergeSiblingThreshold:k,mergeSiblingMaxInflationRatio:A,mergeSiblingMaxParentBytes:j,mergeSiblingSkipArray:M,elevateTopKeyThreshold:H,toPlainMaxDepth:ee,toPlainMaxKeys:te,debug:G,debugWhen:ne,debugSampleRate:V,runTracker:()=>fe==null?void 0:fe(),isMounted:()=>b}),pe=()=>q.job(de),J=e=>q.mutationRecorder(e,de);fe=t(()=>{l(g);let e=g[X];m(e)&&l(e);let t=g[oe];m(t)&&l(t),S.forEach(e=>{let t=g[e];Ft(t)})},{lazy:!0,scheduler:()=>a(pe)}),pe(),x.push(hn(()=>p(fe))),E===`patch`&&(u(g,{shouldIncludeTopKey:U,maxDepth:I,maxKeys:L}),s(J),x.push(hn(()=>w(J))),x.push(hn(()=>h(g))));function me(e,t,n){let r=_t(e,(e,n)=>t(e,n),n);return x.push(r),hn(()=>{r();let e=x.indexOf(r);e>=0&&x.splice(e,1)},r)}let Y={get state(){return g},get proxy(){return le},get methods(){return re},get computed(){return ce},get adapter(){return K},bindModel:At(le,g,ie,ae),watch:me,snapshot:()=>q.snapshot(),unmount:()=>{b&&(b=!1,x.forEach(e=>{try{e()}catch(e){}}),x.length=0)}};try{Object.defineProperty(Y,`__wevu_touchSetupMethodsVersion`,{value:ue,configurable:!0,enumerable:!1,writable:!1})}catch(e){Y.__wevu_touchSetupMethodsVersion=ue}try{Object.defineProperty(Y,`__wevu_flushSetupSnapshotSync`,{value:pe,configurable:!0,enumerable:!1,writable:!1})}catch(e){Y.__wevu_flushSetupSnapshotSync=pe}try{Object.defineProperty(Y,`__wevu_cloneLatestSnapshot`,{value:q.cloneLatestSnapshot,configurable:!0,enumerable:!1,writable:!1})}catch(e){Y.__wevu_cloneLatestSnapshot=q.cloneLatestSnapshot}try{Object.defineProperty(Y,`__wevu_trackSetupReactiveKey`,{value:e=>{S.add(e)},configurable:!0,enumerable:!1,writable:!1})}catch(e){Y.__wevu_trackSetupReactiveKey=e=>{S.add(e)}}return Y}}const vn=`__wevuDefaultsScope`;let yn={};function bn(e){if(!(!e||typeof e!=`object`||Array.isArray(e)))return e}function xn(e,t){if(!e)return t;if(!t)return e;let n={...e,...t},r=bn(e.setData),i=bn(t.setData);(r||i)&&(n.setData={...r==null?{}:r,...i==null?{}:i});let a=bn(e.options),o=bn(t.options);return(a||o)&&(n.options={...a==null?{}:a,...o==null?{}:o}),n}function Sn(e,t){return xn(e,t)}function Cn(e,t){return{app:xn(e.app,t.app),component:xn(e.component,t.component)}}function wn(e){yn=Cn(yn,e)}function Tn(){yn={}}function En(e){return Sn(yn.app,e)}function Dn(e){return Sn(yn.component,e)}const On=/&/g,kn=/"/g,An=/"/g,jn=/'/g,Mn=/'/g,Nn=/</g,Pn=/>/g;function Fn(e){return e.replace(On,`&`).replace(kn,`"`).replace(An,`"`).replace(jn,`'`).replace(Mn,`'`).replace(Nn,`<`).replace(Pn,`>`)}function In(e){if(typeof e==`number`&&Number.isFinite(e))return e;if(typeof e==`string`&&e.trim()){let t=Number(e);if(Number.isFinite(t))return t}}const Ln=/[^a-z0-9]+/gi,Rn=/^-+|-+$/g;function zn(e){return e.trim().replace(Ln,`-`).replace(Rn,``).toLowerCase()}const Bn=/-([a-z0-9])/g;function Vn(e,t){let n=zn(typeof(t==null?void 0:t.type)==`string`?t.type:``);if(!n)return;let r=n.replace(Bn,(e,t)=>t.toUpperCase());if(r)return`${e}${r[0].toUpperCase()}${r.slice(1)}`}const Hn={wvEventDetail:[`wd`,`wvEventDetail`],wvHandler:[`wh`,`wvHandler`],wvInlineId:[`wi`,`wvInlineId`]};function Un(e,t,n){var r;let i=(r=Hn[t])==null?[t]:r;for(let t of i){let r=Vn(t,n);if(r&&(e==null?void 0:e[r])!==void 0)return e[r]}for(let t of i)if((e==null?void 0:e[t])!==void 0)return e[t]}function Wn(e,t,n){return Un(e,t,n)}function Gn(e,t){let n=Wn(e,`wvEventDetail`,t);return n===!0||n===1||n===`1`||n===`true`}function Kn(e,t){if(!Gn(t,e))return e;if(!(!e||typeof e!=`object`||!(`detail`in e)))return e.detail}function qn(e,t){if(!t)return;let n=t.split(`.`).filter(Boolean),r=g(e)?e.value:e;for(let e of n){if(g(r)&&(r=r.value),r==null)return;r=r[e]}return g(r)?r.value:r}function Jn(e){if(typeof e!=`object`||!e||g(e)||m(e))return e;try{return c(e)}catch(t){return e}}function Yn(e,t,n,r){var i,a,o,s;let c=(i=(a=n==null||(o=n.currentTarget)==null?void 0:o.dataset)==null?n==null||(s=n.target)==null?void 0:s.dataset:a)==null?{}:i,l=Kn(n,c),u=Wn(c,`wvInlineId`,n);if(u&&r){let t=r[u];if(t&&typeof t.fn==`function`){let n={},r=Array.isArray(t.keys)?t.keys:[];for(let e=0;e<r.length;e+=1){let t=r[e];n[t]=c==null?void 0:c[`wvS${e}`]}let i=Array.isArray(t.indexKeys)?t.indexKeys:[];for(let e=0;e<i.length;e+=1){let t=i[e],r=In(c==null?void 0:c[`wvI${e}`]);r!==void 0&&(n[t]=r)}let a=Array.isArray(t.scopeResolvers)?t.scopeResolvers:[];for(let t=0;t<r.length;t+=1){let i=r[t],o=a[t];try{let t;if(typeof o==`function`)t=o(e,n,l);else if(o&&typeof o==`object`&&o.type===`for-item`){let r=n[o.indexKey],i=qn(e,o.path);t=i==null?void 0:i[r]}else continue;t!==void 0&&(n[i]=Jn(t))}catch(e){}}let o=t.fn(e,n,l);return typeof o==`function`?o.call(e,l):o}}let d=Wn(c,`wvHandler`,n),f=typeof t==`string`&&t?t:typeof d==`string`?d:void 0;if(!f)return;let p=Wn(c,`wvArgs`,n),m=[];if(Array.isArray(p))m=p;else if(typeof p==`string`)try{m=JSON.parse(p)}catch(e){try{m=JSON.parse(Fn(p))}catch(e){m=[]}}Array.isArray(m)||(m=[]);let h=m.map(e=>e===`$event`?l:e),g=e==null?void 0:e[f];if(typeof g==`function`)return g.apply(e,h)}let Xn=!1,Zn;function Qn(){return Zn}function $n(e){Zn=e}function er(e){Zn===e&&(Zn=void 0)}function tr(e,t){var n;e[xe]=Number((n=e[xe])==null?0:n)+1;try{return t()}finally{var r;let t=Number((r=e[xe])==null?1:r)-1;t<=0?delete e[xe]:e[xe]=t}}function nr(e){let t=e.options;if(t&&typeof t==`object`)return t;let n=W().at(-1),r=n&&typeof n==`object`?n.options:void 0;return r&&typeof r==`object`?r:{}}function rr(){if(Xn)return;Xn=!0;let e=z();if(!(!e||typeof e!=`object`)){if(G(`pullDownRefreshApi`)){let t=e.startPullDownRefresh;typeof t==`function`&&(e.startPullDownRefresh=function(...e){let n=t.apply(this,e);return Zn&&L(Zn,`onPullDownRefresh`,[]),n})}if(G(`pageScrollApi`)){let t=e.pageScrollTo;typeof t==`function`&&(e.pageScrollTo=function(e,...n){let r=t.apply(this,[e,...n]);if(Zn){let t=Zn;tr(t,()=>{L(t,`onPageScroll`,[e==null?{}:e])})}return r})}}}function ir(e){let{enableOnShareAppMessage:t,enableOnShareTimeline:n}=e;if(!t&&!n||!G(`pageShareMenu`))return;let r=z();if(!r||typeof r.showShareMenu!=`function`)return;let i=H().shareTimelineRequiresShareAppMessage?t||n:t;if(!i&&!n)return;let a=[];i&&a.push(`shareAppMessage`),n&&a.push(`shareTimeline`);let o=[{withShareTicket:!0,menus:a},{menus:a},n?{withShareTicket:!0}:void 0,n?{}:void 0,void 0];for(let e of o)try{e===void 0?r.showShareMenu():r.showShareMenu(e);break}catch(e){}}function ar(){return Qn()||W().at(-1)}function or(e){return e===ve?!1:e}function sr(){var e,t;if(!M())throw Error(`usePageLayout() 必须在 setup() 的同步阶段调用`);let n=R(),r=n==null||(e=n.__wevu)==null?void 0:e.state,i=c({name:or(r==null?void 0:r[_e]),props:{...(t=r==null?void 0:r[ye])==null?{}:t}});return n&&(n.__wevuPageLayoutState=i),re(i)}function cr(e,t,n){let r=e.__wevuPageLayoutState;r&&(r.name=t,r.props={...n})}function lr(e){var t,n;let r=e.__wevuPageLayoutState,i=(t=e.__wevu)==null?void 0:t.state;!r||!i||(r.name=or(i[_e]),r.props={...(n=i[ye])==null?{}:n})}function ur(e,t){let n=R(),r=n==null?void 0:n[be];if(typeof r==`function`){r(e,t);return}let i=ar(),a=i==null?void 0:i[be];if(typeof a==`function`){a(e,t);return}throw Error(`setPageLayout() 未找到当前页面实例。请在页面 setup()、事件回调或当前页面上下文中调用。`)}function dr(e){return e===!1?ve:e}const $=new Map;let fr=0;function pr(){return fr+=1,`wv${fr}`}function mr(e,t,n){var r;let i=(r=$.get(e))==null?{snapshot:{},proxy:n,subscribers:new Set}:r;if(i.snapshot=t,i.proxy=n,$.set(e,i),i.subscribers.size)for(let e of i.subscribers)try{e(t,n)}catch(e){}}function hr(e){$.delete(e)}function gr(e,t){var n;let r=(n=$.get(e))==null?{snapshot:{},proxy:void 0,subscribers:new Set}:n;return r.subscribers.add(t),$.set(e,r),()=>{let n=$.get(e);n&&n.subscribers.delete(t)}}function _r(e){var t;return(t=$.get(e))==null?void 0:t.proxy}function vr(e){var t;return(t=$.get(e))==null?void 0:t.snapshot}function yr(e){let t=e.__wevu_cloneLatestSnapshot;return typeof t==`function`?t():typeof e.snapshot==`function`?e.snapshot():{}}function br(e,t,n){var r;try{t.state[Pe]=n}catch(e){}try{e[Pe]=n}catch(e){}let i=yr(t),a=(r=e[X])==null?e.properties:r;if(a&&typeof a==`object`)for(let[e,t]of Object.entries(a))i[e]=t;mr(n,i,t.proxy)}function xr(e){return e.kind===`component`}function Sr(e){return new Proxy(e,{get(e,t,n){let r=Reflect.get(e,t,n);return g(r)?r.value:r},set(e,t,n,r){let i=e[t];return g(i)&&!g(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}})}function Cr(e,t){let n=e.__wevuExposeProxy;if(n&&e.__wevuExposeRaw===t)return n;let r=Sr(t);try{Object.defineProperty(e,`__wevuExposeProxy`,{value:r,configurable:!0,enumerable:!1,writable:!1}),Object.defineProperty(e,`__wevuExposeRaw`,{value:t,configurable:!0,enumerable:!1,writable:!1})}catch(n){e.__wevuExposeProxy=r,e.__wevuExposeRaw=t}return r}function wr(e,t){if(!t||typeof t!=`object`)return e;let n=t;return Q(new Proxy(e,{get(e,t,r){if(Reflect.has(e,t))return Reflect.get(e,t,r);let i=n[t];return typeof i==`function`?i.bind(n):i},set(e,t,r,i){return Reflect.has(e,t)?Reflect.set(e,t,r,i):(t in n,n[t]=r,!0)},has(e,t){return Reflect.has(e,t)||t in n},ownKeys(e){return[...new Set([...Reflect.ownKeys(e),...Reflect.ownKeys(n)])]},getOwnPropertyDescriptor(e,t){if(Reflect.has(e,t))return Object.getOwnPropertyDescriptor(e,t);let r=Object.getOwnPropertyDescriptor(n,t);return r&&{...r,configurable:!0}}}))}function Tr(e){var t;if(!e||typeof e!=`object`)return e==null?null:e;let n=e,r=n[ce];return r&&typeof r==`object`?Cr(n,r):(t=n[Z])!=null&&t.proxy?n[Z].proxy:e}function Er(e){return e[Ue]}function Dr(e,t,n){if(!e)return;let r=e.get(t);r&&(r.value=n)}function Or(e,t){var n,r;let i=(n=(r=e.__wevu)==null?void 0:r.proxy)==null?e:n,a;if(t.get)try{a=t.get.call(i)}catch(e){a=void 0}return a==null&&t.name&&(a=t.name),typeof a==`function`?{type:`function`,fn:a}:g(a)?{type:`ref`,ref:a}:typeof a==`string`&&a?{type:`name`,name:a}:t.name?{type:`name`,name:t.name}:{type:`skip`}}function kr(e){var t,n;let r=(t=(n=e.__wevu)==null?void 0:n.state)==null?e:t,i=r.$refs;if(i&&typeof i==`object`)return i;let a=Q(Object.create(null));return Object.defineProperty(r,`$refs`,{value:a,configurable:!0,enumerable:!1,writable:!1}),a}function Ar(e){let t=e;if(t&&typeof t.createSelectorQuery==`function`)return t.createSelectorQuery();if(!G(`globalCreateSelectorQuery`))return null;let n=z();if(n&&typeof n.createSelectorQuery==`function`){let e=n.createSelectorQuery();return e?H().selectorQueryScopeByIn&&typeof e.in==`function`?e.in(t):e:null}return null}function jr(e,t,n,r,i){let a=Ar(e);return a?(r(n.multiple?a.selectAll(t):a.select(t)),new Promise(e=>{a.exec(t=>{var r;let a=Array.isArray(t)?t[0]:null;if(n.index!=null&&Array.isArray(a)){var o;a=(o=a[n.index])==null?null:o}if(i){var s;i((s=a)==null?null:s)}e((r=a)==null?null:r)})})):(i&&i(null),Promise.resolve(null))}function Mr(e,t,n){return Q({selector:t,boundingClientRect:r=>jr(e,t,n,e=>e.boundingClientRect(),r),scrollOffset:r=>jr(e,t,n,e=>e.scrollOffset(),r),fields:(r,i)=>jr(e,t,n,e=>e.fields(r),i),node:r=>jr(e,t,n,e=>e.node(),r)})}function Nr(e,t){let n=e;if(!n)return t.inFor?Q([]):null;if(t.inFor){if(typeof n.selectAllComponents==`function`){let r=n.selectAllComponents(t.selector);return Q((Array.isArray(r)?r:[]).map((n,r)=>wr(Mr(e,t.selector,{multiple:!0,index:r}),Tr(n))))}return Q([])}let r=Mr(e,t.selector,{multiple:!1});return typeof n.selectComponent==`function`?wr(r,Tr(n.selectComponent(t.selector))):r}function Pr(e,t,n){return t.inFor?Q((Array.isArray(n)?n:[]).map((n,r)=>Mr(e,t.selector,{multiple:!0,index:r}))):n?Mr(e,t.selector,{multiple:!1}):null}function Fr(e,t){let n=e[Ve];if(!n||!n.length){t==null||t();return}if(!e[Te]){t==null||t();return}if(!e.__wevu){t==null||t();return}let r=Er(e),i=n.filter(e=>!xr(e)),a=n.filter(e=>xr(e)).map(t=>({binding:t,value:Nr(e,t)})),o=n=>{var i,a;let o=kr(e),s=new Map,c=new Set,l=(i=(a=e.__wevu)==null?void 0:a.proxy)==null?e:i;n.forEach(t=>{let n=t.binding,r=t.value,i=Or(e,n);if(i.type===`function`){n.inFor&&Array.isArray(r)?r.length?r.forEach(e=>i.fn.call(l,e)):i.fn.call(l,null):i.fn.call(l,r==null?null:r);return}if(i.type===`ref`){i.ref.value=r;return}if(i.type===`name`){var a;c.add(i.name);let e=(a=s.get(i.name))==null?{values:[],count:0,hasFor:!1}:a;e.count+=1,e.hasFor=e.hasFor||n.inFor,n.inFor?Array.isArray(r)&&e.values.push(...r):r!=null&&e.values.push(r),s.set(i.name,e)}});for(let[e,t]of s){let n;n=t.values.length?t.hasFor||t.values.length>1||t.count>1?Q(t.values):t.values[0]:t.hasFor?Q([]):null,o[e]=n,Dr(r,e,n)}for(let e of Object.keys(o))c.has(e)||delete o[e];t==null||t()};if(!i.length){o(a);return}let s=Ar(e);if(!s){o(a);return}let c=[];for(let e of i)(e.inFor?s.selectAll(e.selector):s.select(e.selector)).boundingClientRect(),c.push({binding:e});s.exec(t=>{let n=c.map((n,r)=>{let i=Array.isArray(t)?t[r]:null;return{binding:n.binding,value:Pr(e,n.binding,i)}});o([...a,...n])})}function Ir(e,t){let n=e[Ve];if(!n||!n.length){t==null||t();return}if(t){var r;let n=(r=e[Be])==null?[]:r;n.push(t),e[Be]||Object.defineProperty(e,Be,{value:n,configurable:!0,enumerable:!1,writable:!0})}e[He]||(e[He]=!0,i(()=>{e[He]=!1,Fr(e,()=>{let t=e[Be];!t||!t.length||t.splice(0).forEach(e=>{try{e()}catch(e){}})})}))}function Lr(e){var t,n;let r=e[Ve];if(!r||!r.length)return;let i=kr(e),a=(t=(n=e.__wevu)==null?void 0:n.proxy)==null?e:t,o=new Set,s=Er(e);for(let t of r){let n=Or(e,t),r=t.inFor?Q([]):null;if(n.type===`function`){n.fn.call(a,null);continue}if(n.type===`ref`){n.ref.value=r;continue}n.type===`name`&&(o.add(n.name),i[n.name]=r,Dr(s,n.name,r))}for(let e of Object.keys(i))o.has(e)||delete i[e]}const Rr=[`triggerEvent`,`createSelectorQuery`,`createIntersectionObserver`,`setData`,`setUpdatePerformanceListener`];function zr(){return Object.freeze(Object.create(null))}const Br=()=>[];function Vr(e){return Array.isArray(e)?[...new Set(e.filter(e=>typeof e==`string`&&e.length>0))]:!e||typeof e!=`object`?[]:Object.entries(e).filter(([,e])=>!!e).map(([e])=>e)}function Hr(e){if(!Object.hasOwn(e,Ne))return zr();let t=()=>Vr(e[Ne]),n=e=>typeof e==`string`&&t().includes(e);return new Proxy(Object.create(null),{get(e,t){if(n(t))return Br},has(e,t){return n(t)},ownKeys(){return t()},getOwnPropertyDescriptor(e,t){if(n(t))return{configurable:!0,enumerable:!0,value:Br}},set(){return!1},deleteProperty(){return!1}})}function Ur(){let e=(()=>{});return e.stop=()=>{},e.pause=()=>{},e.resume=()=>{},e}function Wr(e){try{return Q(e)}catch(t){return e}}function Gr(e){return!e||typeof e!=`object`||Array.isArray(e)?!1:Object.hasOwn(e,`bubbles`)||Object.hasOwn(e,`composed`)||Object.hasOwn(e,`capturePhase`)}function Kr(e){if(e.length===0)return{detail:void 0,options:void 0};if(e.length===1)return{detail:e[0],options:void 0};let t=e.at(-1);if(Gr(t)){let n=e.slice(0,-1);return{detail:n.length<=1?n[0]:n,options:t}}return{detail:e,options:void 0}}function qr(e,t,n){let r=e==null?void 0:e.state,i=r&&typeof r==`object`?T(r):void 0,a=e==null?void 0:e.proxy,o=e=>{let r=e[n];if(typeof r!=`function`)return!1;if(Rt(r))return!0;let i=t[n];return typeof i==`function`&&r===i},s=e=>!e||typeof e!=`object`||e===t||e===a||o(e)?!1:typeof e[n]==`function`,c=i?i[J]:void 0;if(s(c))return c;let l=e==null?void 0:e.instance;if(s(l))return l}function Jr(e,t,n){Lt(n);try{Object.defineProperty(e,t,{value:n,configurable:!0,enumerable:!1,writable:!0})}catch(r){e[t]=n}}function Yr(e,t){let n=e[Me];if(n&&typeof n==`object`)return n;let r=Object.create(null),i=n=>{let r=qr(t,e,n);if(r)return r;let i=e[n];if(typeof i==`function`&&!Rt(i))return e};Jr(r,`triggerEvent`,(...e)=>{let[t,n,r]=e,a=i(`triggerEvent`);a&&typeof a.triggerEvent==`function`&&(e.length>=3?a.triggerEvent(t,n,r):a.triggerEvent(t,n))}),Jr(r,`createSelectorQuery`,()=>{var n;let r=i(`createSelectorQuery`);if(r&&typeof r.createSelectorQuery==`function`)return r.createSelectorQuery();let a=z();if(!G(`globalCreateSelectorQuery`)||!a||typeof a.createSelectorQuery!=`function`)return;let o=a.createSelectorQuery();if(!o||!H().selectorQueryScopeByIn||typeof o.in!=`function`)return o;let s=(n=qr(t,e,`setData`))==null?e:n;return o.in(s)}),Jr(r,`createIntersectionObserver`,n=>{var r;let a=i(`createIntersectionObserver`);if(a&&typeof a.createIntersectionObserver==`function`)return a.createIntersectionObserver(n==null?{}:n);let o=z();if(!G(`globalCreateIntersectionObserver`)||!o||typeof o.createIntersectionObserver!=`function`)return;let s=(r=qr(t,e,`setData`))==null?e:r;return H().intersectionObserverScopeByParameter?o.createIntersectionObserver(s,n==null?{}:n):o.createIntersectionObserver(n==null?{}:n)}),Jr(r,`setData`,(e,n)=>{let r=i(`setData`);if(r&&typeof r.setData==`function`)return r.setData(e,n);let a=t==null?void 0:t.adapter,o=typeof(a==null?void 0:a.setData)==`function`?a.setData(e):void 0;return typeof n==`function`&&n(),o}),Jr(r,`setUpdatePerformanceListener`,e=>{let t=i(`setUpdatePerformanceListener`);if(t&&typeof t.setUpdatePerformanceListener==`function`)return t.setUpdatePerformanceListener(e)});let a=Wr(new Proxy(r,{get(t,n,r){if(Reflect.has(t,n))return Reflect.get(t,n,r);let i=e[n];return typeof i==`function`?i.bind(e):i},has(t,n){return Reflect.has(t,n)||n in e},set(t,n,r){return Reflect.has(t,n)?(t[n]=r,!0):(e[n]=r,!0)}}));try{Object.defineProperty(e,Me,{value:a,configurable:!0,enumerable:!1,writable:!0})}catch(t){e[Me]=a}return a}function Xr(e,t){try{let n=t.methods;for(let t of Object.keys(n))Rr.includes(t)||typeof e[t]!=`function`&&(e[t]=function(...e){var n;let r=this[Z],i=r==null||(n=r.methods)==null?void 0:n[t];if(typeof i==`function`)return i.apply(r.proxy,e)})}catch(e){}}let Zr=e=>e.startsWith(`layouts/`);function Qr(e){let t=e.is;return typeof t==`string`&&Zr(t,e)}function $r(e){if(Qr(e))return;let t=e[Se];if(t&&typeof t==`object`)return t;let n=e.selectOwnerComponent;if(typeof n==`function`)try{let t=n.call(e);if(t&&t!==e&&typeof t==`object`&&t.__wevu)return t}catch(e){}let r=W().at(-1);if(r&&r!==e&&typeof r==`object`&&r.__wevu)return r}function ei(e){if(!Qr(e))return;let t=W().at(-1);t&&t!==e&&typeof t==`object`&&t.__wevu&&ae(e,t)}function ti(e,t){e[ke]=t,B(e,t,$r(e)),ei(e)}function ni(e,t,n){var r;if(typeof e!=`function`)return;let i=(r=n==null?void 0:n.runtime)==null?{methods:Object.create(null),state:{},proxy:{},watch:()=>()=>{},bindModel:()=>{}}:r;return n&&(n.runtime=i),e(t,{...n==null?{}:n,runtime:i})}function ri(e){let{target:t,runtime:n,runtimeWithDefaults:r,runtimeState:i,runtimeProxy:a,setup:o,syncRuntimeProps:s,attachRuntimeProxyProps:c}=e,l=t.properties||{},u=i&&typeof i==`object`?i[X]:void 0,d=u&&typeof u==`object`?u:v({});s(d,l),i&&typeof i==`object`&&c(i,d);try{Object.defineProperty(t,X,{value:d,configurable:!0,enumerable:!1,writable:!1})}catch(e){t[X]=d}let f=v(Object.create(null)),p=new Set(Array.isArray(t[we])?t[we]:[]),h=e=>typeof i==`object`&&!!i&&Object.hasOwn(i,e);(()=>{let e=t.properties&&typeof t.properties==`object`?t.properties:void 0;for(let t of Object.keys(f))(!e||!Object.hasOwn(e,t)||p.has(t)||h(t))&&delete f[t];if(e)for(let[t,n]of Object.entries(e))p.has(t)||h(t)||(f[t]=n)})();try{Object.defineProperty(t,oe,{value:f,configurable:!0,enumerable:!1,writable:!1})}catch(e){t[oe]=f}let g=Yr(t,r),_=Hr(d);try{Object.defineProperty(i,`$slots`,{value:_,configurable:!0,enumerable:!1,writable:!1})}catch(e){i.$slots=_}let y=Wr({props:d,runtime:r,state:i,proxy:a,bindModel:n.bindModel.bind(r),watch:n.watch.bind(r),instance:g,emit:(e,...t)=>{let{detail:n,options:r}=Kr(t);g.triggerEvent(e,n,r)},expose:e=>{t[ce]=e},attrs:f,slots:_}),b=C(!0);t[se]=b,V(t),ne(y);try{let e=b.run(()=>ni(o,d,y)),t=!1;if(e&&typeof e==`object`){let r=m(n.state)?T(n.state):n.state;Object.keys(e).forEach(i=>{let a=e[i];if(typeof a==`function`)n.methods[i]=(...e)=>a.apply(n.proxy,e),t=!0;else{if(Pt(a)){var o;(o=n.__wevu_trackSetupReactiveKey)==null||o.call(n,i)}if(p.has(i)){let e=a;try{Object.defineProperty(r,i,{configurable:!0,enumerable:!1,get(){let t=r[X];return t&&typeof t==`object`&&Object.hasOwn(t,i)?t[i]:e},set(t){e=t;let n=r[X];if(!(!n||typeof n!=`object`))try{n[i]=t}catch(e){}}})}catch(e){n.state[i]=a}return}n.state[i]=a}})}if(t){var x;(x=n.__wevu_touchSetupMethodsVersion)==null||x.call(n)}}catch(e){throw b.stop(),t[se]=void 0,e}finally{ne(void 0),V(void 0)}}function ii(e,t){try{Object.defineProperty(e,X,{value:t,configurable:!0,enumerable:!1,writable:!1})}catch(n){e[X]=t}}function ai(e,t){try{Object.defineProperty(e,J,{value:t,configurable:!0,enumerable:!1,writable:!0})}catch(n){e[J]=t}}function oi(e,t){try{Object.defineProperty(e,Ae,{value:t,configurable:!0,enumerable:!1,writable:!0})}catch(n){e[Ae]=t}}function si(e,t){try{Object.defineProperty(e,`instance`,{value:t,configurable:!0,enumerable:!1,writable:!0})}catch(n){try{e.instance=t}catch(e){}}}function ci(e){let t=e[Me],n=t&&typeof t.setData==`function`?t.setData:void 0;if(typeof n==`function`&&!Rt(n))return n;let r=e.setData;if(typeof r==`function`&&!Rt(r))return r}function li(e){let t=e.route;if(typeof t==`string`&&t)return t;let n=e.is;return typeof n==`string`&&n?n:`unknown`}function ui(e,t,n){try{return t.call(e,n)}catch(t){let n=li(e);throw Error(`[wevu] setData failed (${n}): ${t instanceof Error?t.message:String(t)}`)}}function di(e,t){let n=Object.keys(e);for(let r of n)if(!Object.hasOwn(t,r))try{delete e[r]}catch(e){}for(let[n,r]of Object.entries(t))e[n]=r}function fi(e){return!!e&&typeof e==`object`&&!Array.isArray(e)}function pi(e){var t,n,r;let i={devOnly:!0,sampleWindowMs:1e3,maxCalls:30,coolDownMs:5e3,warnOnPageScroll:!0,pageScrollCoolDownMs:2e3};return e===void 0||e===!1?{...i,enabled:!1}:e===!0?{...i,enabled:!0}:fi(e)?{enabled:(t=e.enabled)==null?!0:t,devOnly:(n=e.devOnly)==null?i.devOnly:n,sampleWindowMs:typeof e.sampleWindowMs==`number`?Math.max(100,Math.floor(e.sampleWindowMs)):i.sampleWindowMs,maxCalls:typeof e.maxCalls==`number`?Math.max(1,Math.floor(e.maxCalls)):i.maxCalls,coolDownMs:typeof e.coolDownMs==`number`?Math.max(0,Math.floor(e.coolDownMs)):i.coolDownMs,warnOnPageScroll:(r=e.warnOnPageScroll)==null?i.warnOnPageScroll:r,pageScrollCoolDownMs:typeof e.pageScrollCoolDownMs==`number`?Math.max(0,Math.floor(e.pageScrollCoolDownMs)):i.pageScrollCoolDownMs}:{...i,enabled:!1}}function mi(){let e=ee();if((e==null?void 0:e.debug)===!0||(e==null?void 0:e.envVersion)===`develop`)return!0;let t=z();try{var n;if((t==null||(n=t.getAccountInfoSync)==null||(n=n.call(t))==null||(n=n.miniProgram)==null?void 0:n.envVersion)===`develop`)return!0}catch(e){}return!1}function hi(e){var t,n;let r=pi(e.option);if(!r.enabled)return;let i=mi();if(r.devOnly&&!i)return;let a=(t=e.now)==null?(()=>Date.now()):t,o=(n=e.logger)==null?(e=>{var t;let n=(t=globalThis)==null||(t=t.console)==null?void 0:t.warn;typeof n==`function`&&n(e)}):n,s=[],c=-1/0,l=-1/0;return()=>{var t,n;let i=a();s.push(i);let u=i-r.sampleWindowMs;for(;s.length>0&&s[0]<u;)s.shift();let d=(t=(n=e.isInPageScrollHook)==null?void 0:n.call(e))==null?!1:t;r.warnOnPageScroll&&d&&(r.pageScrollCoolDownMs<=0||i-l>=r.pageScrollCoolDownMs)&&(l=i,o(`[wevu:setData] 检测到 onPageScroll 回调内调用 setData(${e.targetLabel})。建议改用 IntersectionObserver 监听可见性,或对滚动更新做节流。`)),!(s.length<=r.maxCalls)&&(r.coolDownMs>0&&i-c<r.coolDownMs||(c=i,o(`[wevu:setData] 检测到高频 setData 调用:${s.length} 次/${r.sampleWindowMs}ms(${e.targetLabel})。建议合并更新或降低调用频率。`)))}}function gi(e,t,n){if(typeof e==`function`)return{handler:e.bind(t.proxy),options:{}};if(typeof e==`string`){var r,i;let a=(r=(i=t.methods)==null?void 0:i[e])==null?n[e]:r;return typeof a==`function`?{handler:a.bind(t.proxy),options:{}}:void 0}if(!e||typeof e!=`object`)return;let a=gi(e.handler,t,n);if(!a)return;let o={...a.options};return e.immediate!==void 0&&(o.immediate=e.immediate),e.deep!==void 0&&(o.deep=e.deep),{handler:a.handler,options:o}}function _i(e,t){let n=t.split(`.`).map(e=>e.trim()).filter(Boolean);return n.length?()=>{let t=e;for(let e of n){if(t==null)return t;t=t[e]}return t}:()=>e}function vi(e,t,n){let r=[],i=e.proxy;for(let[a,o]of Object.entries(t)){let t=gi(o,e,n);if(!t)continue;let s=_i(i,a),c=e.watch(s,t.handler,t.options);r.push(c)}return r}function yi(e){typeof e.route!=`string`||!e.route||(e[be]=(t,n)=>{var r;let i=(r=e.__wevu)==null?void 0:r.state;if(!i||typeof i!=`object`)return;i[_e]=dr(t);let a=t===!1||n==null?{}:n;i[ye]=a,cr(e,t,a)})}function bi(e,t,n,r,i){var a,o,s,c,l,u,d,f,p,m;if(e.__wevu)return e.__wevu;ti(e,t),Wr(e);let h=pr(),g=!!(!(t==null||(a=t.__wevuSetDataOptions)==null)&&a.suspendWhenHidden),_=typeof e.route==`string`&&e.route?`page:${e.route}`:typeof e.is==`string`&&e.is?`component:${e.is}`:`unknown-target`,v=hi({option:t==null||(o=t.__wevuSetDataOptions)==null?void 0:o.highFrequencyWarning,targetLabel:_,isInPageScrollHook:()=>{var t;return Number((t=e[xe])==null?0:t)>0}}),y=i!=null&&i.deferSetData?(e=>{let t,n=!1,r={setData(r){if(!n){var i;t={...(i=t)==null?{}:i,...r};return}let a=ci(e);if(a)return ui(e,a,r)}};return r.__wevu_enableSetData=()=>{n=!0;let r=ci(e);if(t&&Object.keys(t).length&&r){let n=t;t=void 0,ui(e,r,n)}},r})(e):{setData(t){let n=ci(e);if(n)return ui(e,n,t)}},b,x=!0,S,C=(e,t)=>({...e==null?{}:e,...t}),w=()=>{var t;if(!b)return;let n=yr(b),r=(t=e[X])==null?e.properties:t;if(r&&typeof r==`object`)for(let[e,t]of Object.entries(r))n[e]=t;mr(h,n,b.proxy)},T={...y,setData(t){if(v==null||v(),g&&!x){S=C(S,t),w(),Ir(e);return}let n=y.setData(t);return w(),Ir(e),n},__wevu_setVisibility(t){if(x=t,!x||!S)return;let n=S;S=void 0;let r=y.setData(n);return w(),Ir(e),r}},E=t.mount({...T});b=E,si(E,e);let D=(s=E==null?void 0:E.proxy)==null?{}:s,O=(c=E==null?void 0:E.state)==null?{}:c;O&&typeof O==`object`&&(oi(O,E),ai(O,e));let k=(l=E==null?void 0:E.computed)==null?Object.create(null):l;if(!(E!=null&&E.methods))try{E.methods=Object.create(null)}catch(e){}let A=(u=E==null?void 0:E.methods)==null?Object.create(null):u,j=(d=E==null?void 0:E.watch)==null?(()=>Ur()):d,M=(f=E==null?void 0:E.bindModel)==null?(()=>{}):f,N={...E==null?{}:E,state:O,proxy:D,methods:A,computed:k,watch:j,bindModel:M,snapshot:(p=E==null?void 0:E.snapshot)==null?(()=>Object.create(null)):p,unmount:(m=E==null?void 0:E.unmount)==null?(()=>{}):m},P=N,F={__wevu_flushSetupSnapshotSync:E.__wevu_flushSetupSnapshotSync,__wevu_touchSetupMethodsVersion:E.__wevu_touchSetupMethodsVersion,__wevu_trackSetupReactiveKey:E.__wevu_trackSetupReactiveKey};for(let[e,t]of Object.entries(F))t&&Object.defineProperty(N,e,{configurable:!0,enumerable:!1,value:t,writable:!0});if(Object.defineProperty(e,Z,{value:N,configurable:!0,enumerable:!1,writable:!1}),e.__wevu=N,yi(e),br(e,N,h),n){let t=vi(N,n,e);t.length&&(e[We]=t)}if(r){var I;ri({target:e,runtime:E,runtimeWithDefaults:N,runtimeState:O,runtimeProxy:D,setup:r,syncRuntimeProps:di,attachRuntimeProxyProps:ii}),(I=P.__wevu_flushSetupSnapshotSync)==null||I.call(P)}return Xr(e,E),E}function xi(e){var t;let n=(t=e.__wevu)==null?void 0:t.adapter;n&&typeof n.__wevu_enableSetData==`function`&&n.__wevu_enableSetData()}function Si(e,t){var n;let r=(n=e.__wevu)==null?void 0:n.adapter;r&&typeof r.__wevu_setVisibility==`function`&&r.__wevu_setVisibility(t)}function Ci(e){var t;let n=e.__wevu,r=e[Pe];r&&hr(r),Lr(e),n&&e[le]&&L(e,`onUnload`,[]),e[le]&&(e[le]=void 0);let i=e[We];if(Array.isArray(i))for(let e of i)try{e()}catch(e){}e[We]=void 0,(t=e[se])==null||t.stop(),e[se]=void 0,n&&n.unmount(),delete e.__wevu,Z in e&&delete e[Z]}const wi=`__wevuAppGlobalListeners`,Ti=`__wevuOnMemoryWarningListener`;function Ei(e){let t=e[le],n=!!(t!=null&&t.onMemoryWarning);if(!G(`appMemoryWarningListener`)){delete e[Ti];return}let r=z(),i=r==null?void 0:r.onMemoryWarning,a=r==null?void 0:r.offMemoryWarning;if(typeof i!=`function`)return;let o=e[Ti];if(typeof o==`function`&&typeof a==`function`)try{a(o)}catch(e){}if(!n){delete e[Ti];return}let s=t=>{L(e,`onMemoryWarning`,[t])};e[Ti]=s,i(s)}function Di(e,t){var n,r;let{hookName:i,onApiName:a,offApiName:o,capabilityName:s,userHandler:c}=t,l=e[le],u=!!(l!=null&&l[i]),d=(r=(n=e)[wi])==null?n[wi]=Object.create(null):r,f=d[i];if(!G(s)){delete d[i],delete e[i];return}let p=z(),m=p==null?void 0:p[a],h=p==null?void 0:p[o];if(typeof f==`function`&&typeof h==`function`)try{h(f)}catch(e){}if(!u&&typeof c!=`function`){delete d[i];return}let g=(...t)=>{L(e,i,t),typeof c==`function`&&c.apply(e,t)};e[i]=g,d[i]=g,typeof m==`function`&&m(g)}function Oi(e,t){Di(e,{hookName:`onError`,onApiName:`onError`,offApiName:`offError`,capabilityName:`appErrorListener`,userHandler:t.onError}),Di(e,{hookName:`onPageNotFound`,onApiName:`onPageNotFound`,offApiName:`offPageNotFound`,capabilityName:`appPageNotFoundListener`,userHandler:t.onPageNotFound}),Di(e,{hookName:`onUnhandledRejection`,onApiName:`onUnhandledRejection`,offApiName:`offUnhandledRejection`,capabilityName:`appUnhandledRejectionListener`,userHandler:t.onUnhandledRejection}),Di(e,{hookName:`onThemeChange`,onApiName:`onThemeChange`,offApiName:`offThemeChange`,capabilityName:`appThemeChangeListener`,userHandler:t.onThemeChange})}function ki(e,t,n,r,i){var a;if(typeof App!=`function`)throw TypeError(`createApp 需要全局 App 构造器可用`);let o=Object.keys(t==null?{}:t),s={...i};s.globalData=(a=s.globalData)==null?{}:a,s[ue]||(s[ue]=function(e){var t,n;let r=this.__wevu;return Yn((t=r==null?void 0:r.proxy)==null?this:t,void 0,e,r==null||(n=r.methods)==null?void 0:n[K])});let c=s.onLaunch,l=s.onError,u=s.onPageNotFound,d=s.onUnhandledRejection,f=s.onThemeChange;s.onLaunch=function(...t){this[de]=!0,bi(this,e,n,r),Ei(this),Oi(this,{onError:l,onPageNotFound:u,onUnhandledRejection:d,onThemeChange:f}),L(this,`onLaunch`,t),typeof c==`function`&&c.apply(this,t)};let p=s.onShow;s.onShow=function(...e){L(this,`onShow`,e),typeof p==`function`&&p.apply(this,e)};let m=s.onHide;s.onHide=function(...e){L(this,`onHide`,e),typeof m==`function`&&m.apply(this,e)},delete s.onError,delete s.onPageNotFound,delete s.onUnhandledRejection,delete s.onThemeChange;for(let e of o){let t=s[e];s[e]=function(...n){var r;let i=this.__wevu,a,o=i==null||(r=i.methods)==null?void 0:r[e];return o&&(a=o.apply(i.proxy,n)),typeof t==`function`?t.apply(this,n):a}}App(s)}function Ai(e){let{features:t,userOnSaveExitState:n,userOnPullDownRefresh:r,userOnReachBottom:i,userOnPageScroll:a,userOnRouteDone:o,userOnTabItemTap:s,userOnResize:c,userOnShareAppMessage:l,userOnShareTimeline:u,userOnAddToFavorites:d}=e,f=typeof r==`function`||!!t.enableOnPullDownRefresh,p=typeof i==`function`||!!t.enableOnReachBottom,m=typeof a==`function`||!!t.enableOnPageScroll,h=typeof o==`function`||!!t.enableOnRouteDone,g=!!t.enableOnRouteDoneFallback,_=typeof s==`function`||!!t.enableOnTabItemTap,v=typeof c==`function`||!!t.enableOnResize,y=typeof u==`function`||!!t.enableOnShareTimeline,b=typeof l==`function`||!!t.enableOnShareAppMessage,x=typeof d==`function`||!!t.enableOnAddToFavorites,S=typeof n==`function`||!!t.enableOnSaveExitState,C=()=>{};return{enableOnPullDownRefresh:f,enableOnReachBottom:p,enableOnPageScroll:m,enableOnRouteDone:h,enableOnRouteDoneFallback:g,enableOnTabItemTap:_,enableOnResize:v,enableOnShareAppMessage:b,enableOnShareTimeline:y,enableOnAddToFavorites:x,enableOnSaveExitState:S,effectiveOnSaveExitState:typeof n==`function`?n:(()=>({data:void 0})),effectiveOnPullDownRefresh:typeof r==`function`?r:C,effectiveOnReachBottom:typeof i==`function`?i:C,effectiveOnPageScroll:typeof a==`function`?a:C,effectiveOnRouteDone:typeof o==`function`?o:C,effectiveOnTabItemTap:typeof s==`function`?s:C,effectiveOnResize:typeof c==`function`?c:C,effectiveOnShareAppMessage:typeof l==`function`?l:C,effectiveOnShareTimeline:typeof u==`function`?u:C,effectiveOnAddToFavorites:typeof d==`function`?d:(()=>({}))}}function ji(e,t){let{enableOnSaveExitState:n,enableOnPullDownRefresh:r,enableOnReachBottom:i,enableOnPageScroll:a,enableOnRouteDone:o,enableOnTabItemTap:s,enableOnResize:c,enableOnShareAppMessage:l,enableOnShareTimeline:u,enableOnAddToFavorites:d,effectiveOnSaveExitState:f,effectiveOnPullDownRefresh:p,effectiveOnReachBottom:m,effectiveOnPageScroll:h,effectiveOnRouteDone:g,effectiveOnTabItemTap:_,effectiveOnResize:v,effectiveOnShareAppMessage:y,effectiveOnShareTimeline:b,effectiveOnAddToFavorites:x,hasHook:S}=t;n&&(e.onSaveExitState=function(...e){let t=I(this,`onSaveExitState`,e);return t===void 0?f.apply(this,e):t}),r&&(e.onPullDownRefresh=function(...e){if(L(this,`onPullDownRefresh`,e),!S(this,`onPullDownRefresh`))return p.apply(this,e)}),i&&(e.onReachBottom=function(...e){if(L(this,`onReachBottom`,e),!S(this,`onReachBottom`))return m.apply(this,e)}),a&&(e.onPageScroll=function(...e){return tr(this,()=>{if(L(this,`onPageScroll`,e),!S(this,`onPageScroll`))return h.apply(this,e)})}),o&&(e.onRouteDone=function(...e){if(!this[Oe]&&(this[Oe]=!0,Promise.resolve().then(()=>{this[Oe]=!1}),this[De]=!0,L(this,`onRouteDone`,e),!S(this,`onRouteDone`)))return g.apply(this,e)}),s&&(e.onTabItemTap=function(...e){if(L(this,`onTabItemTap`,e),!S(this,`onTabItemTap`))return _.apply(this,e)}),c&&(e.onResize=function(...e){if(L(this,`onResize`,e),!S(this,`onResize`))return v.apply(this,e)}),l&&(e.onShareAppMessage=function(...e){let t=I(this,`onShareAppMessage`,e);return t===void 0?y.apply(this,e):t}),u&&(e.onShareTimeline=function(...e){let t=I(this,`onShareTimeline`,e);return t===void 0?b.apply(this,e):t}),d&&(e.onAddToFavorites=function(...e){let t=I(this,`onAddToFavorites`,e);return t===void 0?x.apply(this,e):t})}function Mi(e){let{runtimeApp:t,watch:n,setup:r,userOnLoad:i,userOnUnload:a,userOnShow:o,userOnHide:s,userOnReady:c,isPage:l,enableOnSaveExitState:u,enableOnPullDownRefresh:d,enableOnReachBottom:f,enableOnPageScroll:p,enableOnRouteDone:m,enableOnRouteDoneFallback:h,enableOnTabItemTap:g,enableOnResize:_,enableOnShareAppMessage:v,enableOnShareTimeline:y,enableOnAddToFavorites:b,effectiveOnSaveExitState:x,effectiveOnPullDownRefresh:S,effectiveOnReachBottom:C,effectiveOnPageScroll:w,effectiveOnRouteDone:T,effectiveOnTabItemTap:E,effectiveOnResize:D,effectiveOnShareAppMessage:O,effectiveOnShareTimeline:k,effectiveOnAddToFavorites:A,hasHook:j}=e,M={onLoad(...e){if(!this[Y]&&(this[Y]=!0,bi(this,t,n,r),xi(this),l&&ir({enableOnShareAppMessage:v,enableOnShareTimeline:y}),L(this,`onLoad`,e),typeof i==`function`))return i.apply(this,e)},onUnload(...e){if(l&&er(this),Ci(this),typeof a==`function`)return a.apply(this,e)},onShow(...e){if(l&&(rr(),$n(this),this[Y]||M.onLoad.call(this,nr(this)),ir({enableOnShareAppMessage:v,enableOnShareTimeline:y}),this[De]=!1),Si(this,!0),L(this,`onShow`,e),typeof o==`function`)return o.apply(this,e)},onHide(...e){if(l&&er(this),Si(this,!1),L(this,`onHide`,e),typeof s==`function`)return s.apply(this,e)},onReady(...e){if(l&&(this[Y]||M.onLoad.call(this,nr(this)),ir({enableOnShareAppMessage:v,enableOnShareTimeline:y})),!this[Te]){if(this[Te]=!0,l&&m&&h){let e=this;setTimeout(()=>{if(!e[De]){var t;(t=M.onRouteDone)==null||t.call(e)}},0)}Ir(this,()=>{L(this,`onReady`,e),typeof c==`function`&&c.apply(this,e)});return}if(typeof c==`function`)return c.apply(this,e)}};return ji(M,{enableOnSaveExitState:u,enableOnPullDownRefresh:d,enableOnReachBottom:f,enableOnPageScroll:p,enableOnRouteDone:m,enableOnTabItemTap:g,enableOnResize:_,enableOnShareAppMessage:v,enableOnShareTimeline:y,enableOnAddToFavorites:b,effectiveOnSaveExitState:x,effectiveOnPullDownRefresh:S,effectiveOnReachBottom:C,effectiveOnPageScroll:w,effectiveOnRouteDone:T,effectiveOnTabItemTap:E,effectiveOnResize:D,effectiveOnShareAppMessage:O,effectiveOnShareTimeline:k,effectiveOnAddToFavorites:A,hasHook:j}),M}function Ni(e){let{userMethods:t,runtimeMethods:n}=e,r={...t};r[ue]||(r[ue]=function(e){var t,n;let r=this.__wevu;return Yn((t=r==null?void 0:r.proxy)==null?this:t,void 0,e,r==null||(n=r.methods)==null?void 0:n[K])}),r[pe]||(r[pe]=function(e){var t,n,r;let i=(t=e==null||(n=e.currentTarget)==null||(n=n.dataset)==null?void 0:n.wvModel)==null?e==null||(r=e.target)==null||(r=r.dataset)==null?void 0:r.wvModel:t;if(typeof i!=`string`||!i)return;let a=this.__wevu;if(!a||typeof a.bindModel!=`function`)return;let o=Tt(e);try{a.bindModel(i).update(o)}catch(e){}}),!r[ge]&&typeof(n==null?void 0:n[ge])==`function`&&(r[ge]=n[ge]);let i=Object.keys(n==null?{}:n);function a(e){let t=e.__wevu;if(t)return t;let n=e.$state;if(n&&typeof n==`object`)return n[Ae]}function o(e,t){if((e==null?void 0:e.proxy)===t)return;let n=e==null?void 0:e.proxy,r=e=>{let r=t[e];if(typeof r!=`function`)return!1;let i=n==null?void 0:n[e];return typeof i==`function`&&r===i};if(r(`triggerEvent`)||r(`createSelectorQuery`)||r(`createIntersectionObserver`)||r(`setData`)||!(typeof t.triggerEvent==`function`||typeof t.createSelectorQuery==`function`||typeof t.createIntersectionObserver==`function`||typeof t.setData==`function`))return;let i=e==null?void 0:e.state;if(!(!i||typeof i!=`object`)&&t.$state!==i)try{Object.defineProperty(i,J,{value:t,configurable:!0,enumerable:!1,writable:!0})}catch(e){i[J]=t}}for(let e of i){if(e===K||e.startsWith(Ee))continue;let t=r[e];r[e]=function(...n){var r;let i=a(this);o(i,this);let s,c=i==null||(r=i.methods)==null?void 0:r[e];if(c&&(s=c.apply(i.proxy,n)),typeof t==`function`){let e=t.apply(this,n);return e===void 0?s:e}return s}}return{finalMethods:r}}function Pi(e,t=new WeakMap){if(!e||typeof e!=`object`)return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){let n=[];t.set(e,n);for(let r of e)n.push(Pi(r,t));return n}let n={};t.set(e,n);for(let[r,i]of Object.entries(e))n[r]=Pi(i,t);return n}function Fi(e){let t=e.route;if(typeof t==`string`&&t)return t;let n=e.is;return typeof n==`string`&&n?n:`unknown`}function Ii(e){var t;let{methods:n={},lifetimes:r={},pageLifetimes:i={},options:a={},...o}=e,s=o.onLoad,c=o.onUnload,l=o.onShow,u=o.onHide,d=o.onReady,f=o.onSaveExitState,p=o.onPullDownRefresh,m=o.onReachBottom,h=o.onPageScroll,g=o.onRouteDone,_=o.onTabItemTap,v=o.onResize,y=o.onShareAppMessage,b=o.onShareTimeline,x=o.onAddToFavorites,S=(t=o.features)==null?{}:t,C=[s,c,l,u,d,f,p,m,h,g,_,v,y,b,x].some(e=>typeof e==`function`),w=!!o.__wevu_isPage||Object.keys(S==null?{}:S).length>0||C,T={...o},E=new Set([`data`,`behaviors`,`relations`,`externalClasses`,`options`,`properties`,`observers`,`pureDataPattern`,`virtualHost`,`definitionFilter`,`export`,`__wevuTemplateRefs`,`__wevuLayoutHosts`,`setupLifecycle`,`features`,`__wevu_isPage`]),D=[];for(let[e,t]of Object.entries(T))E.has(e)||typeof t!=`function`&&(D.push([e,t]),delete T[e]);let O=e=>{if(D.length){for(let[t,n]of D)if(!Object.hasOwn(e,t))try{e[t]=Pi(n)}catch(e){}}},k=new Set([`data`,`export`,`definitionFilter`,`onLoad`,`onUnload`,`onShow`,`onHide`,`onReady`,`onSaveExitState`,`onPullDownRefresh`,`onReachBottom`,`onPageScroll`,`onRouteDone`,`onTabItemTap`,`onResize`,`onShareAppMessage`,`onShareTimeline`,`onAddToFavorites`]),A={};for(let[e,t]of Object.entries(T))typeof t!=`function`||k.has(e)||(A[e]=t,delete T[e]);let j=T.__wevuTemplateRefs;delete T.__wevuTemplateRefs;let M=T.__wevuLayoutHosts;delete T.__wevuLayoutHosts;let N=T.observers,P=T.setupLifecycle===`created`?`created`:`attached`;delete T.setupLifecycle;let F=T.created;return delete T.features,delete T.created,delete T.onLoad,delete T.onUnload,delete T.onShow,delete T.onHide,delete T.onReady,{userMethods:n,userLifetimes:r,userPageLifetimes:i,userOptions:a,restOptions:T,topLevelMethods:A,templateRefs:j,layoutHosts:M,userObservers:N,setupLifecycle:P,legacyCreated:F,isPage:w,features:S,userOnLoad:s,userOnUnload:c,userOnShow:l,userOnHide:u,userOnReady:d,userOnSaveExitState:f,userOnPullDownRefresh:p,userOnReachBottom:m,userOnPageScroll:h,userOnRouteDone:g,userOnTabItemTap:_,userOnResize:v,userOnShareAppMessage:y,userOnShareTimeline:b,userOnAddToFavorites:x,applyExtraInstanceFields:O}}function Li(e){var t;let n=e.__wevu,r=e[Pe];if(!n||!r||typeof n.snapshot!=`function`)return;let i=n.snapshot(),a=(t=e[X])==null?e.properties:t;if(a&&typeof a==`object`)for(let[e,t]of Object.entries(a))i[e]=t;mr(r,i,n.proxy)}function Ri(e){let{restOptions:t,userObservers:n}=e,r=t.properties&&typeof t.properties==`object`?Object.keys(t.properties):[],i=new Set(r),a=e=>{try{Object.defineProperty(e,we,{value:r,configurable:!0,enumerable:!1,writable:!1})}catch(t){e[we]=r}},o=e=>{let t=e[oe];if(!t||typeof t!=`object`)return;let n=t=>{var n;let r=(n=e.__wevu)==null?void 0:n.state;return typeof r==`object`&&!!r&&Object.hasOwn(r,t)},r=e.properties,a=r&&typeof r==`object`?r:void 0,o=Object.keys(t);for(let e of o)if(!a||!Object.hasOwn(a,e)||i.has(e)||n(e))try{delete t[e]}catch(e){}if(!a){Li(e);return}for(let[e,r]of Object.entries(a))if(!(i.has(e)||n(e)))try{t[e]=r}catch(e){}Li(e)},s=e=>{let t=e[X],n=e.properties,r=e[Ce];if(t&&typeof t==`object`&&n&&typeof n==`object`){let i=n,a=Object.keys(t);for(let e of a)if(!Object.hasOwn(i,e))try{delete t[e]}catch(e){}for(let[e,n]of Object.entries(i)){let i=r&&Object.hasOwn(r,e)?r[e]:n;try{t[e]=i}catch(e){}}if(r){for(let[e,n]of Object.entries(r))if(!Object.hasOwn(i,e))try{t[e]=n}catch(e){}}Li(e)}r&&delete e[Ce],o(e)},c=(e,t,n)=>{var r,i;let a=e[X];if(!a||typeof a!=`object`)return;try{a[t]=n}catch(e){}let s=(i=(r=e)[Ce])==null?r[Ce]=Object.create(null):i;s[t]=n,Li(e),o(e)},l={};if(r.length)for(let e of r)l[e]=function(t){c(this,e,t)};let u={...n==null?{}:n};for(let[e,t]of Object.entries(l)){let n=u[e];typeof n==`function`?u[e]=function(...e){n.apply(this,e),t.apply(this,e)}:u[e]=t}let d=u[`**`];return u[`**`]=function(...e){typeof d==`function`&&d.apply(this,e),s(this)},{attachWevuPropKeys:a,syncWevuPropsFromInstance:s,finalObservers:u}}const zi=new Map;function Bi(){return W().at(-1)}function Vi(e){return Array.from(new Set(Array.isArray(e)?e:[e])).filter(e=>typeof e==`string`&&e.length>0)}function Hi(e){return Ge(e)}function Ui(e){return e&&typeof e.__wevuSetPageLayout==`function`?e:Bi()}function Wi(e){var t,n;if(!e||typeof e!=`object`)return;let r=(t=e[Z])==null||(t=t.state)==null?void 0:t[J];if(r&&typeof r==`object`)return r;let i=(n=e.$state)==null?void 0:n[J];return i&&typeof i==`object`?i:e[J]&&typeof e[J]==`object`?e[J]:e}function Gi(e){return typeof e==`function`?e():g(e)?e.value:e}function Ki(e,t){return e.find(e=>e.key===t)}function qi(e,t){let n=e==null?void 0:e.selectComponent;if(typeof n!=`function`)return null;try{var r;return(r=n.call(e,t))==null?null:r}catch(e){return null}}function Ji(e,t){var n,r,i,a,o,s,c,l;if(!e.refName)return null;let u=Er(t),d=(n=(r=(i=(a=t[Z])==null||(a=a.state)==null?void 0:a.$refs)==null?(o=t.__wevu)==null||(o=o.state)==null?void 0:o.$refs:i)==null?(s=t.$state)==null?void 0:s.$refs:r)==null?t.$refs:n,f=(c=u==null||(l=u.get(e.refName))==null?void 0:l.value)==null?d==null?void 0:d[e.refName]:c;if(Array.isArray(f)){var p;return(p=f[0])==null?null:p}return f==null?null:f}function Yi(e,t){let n=Wi(t);return Object.assign(n&&typeof n==`object`?Object.create(n):{},{selectComponent(r){let i=Ki(e,r);if(!i)return null;if(i.kind===`component`||!i.kind){var a,o;return Ji(i,t)||((a=(o=qi(n,i.selector))==null?qi(Bi(),i.selector):o)==null?null:a)}return null}})}function Xi(e,t){let n=t==null?R():t,r=Ui(n),i=Hi(r);if(!n||!r||i.length===0)return!1;for(let t of i){var a;let r=(a=zi.get(t))==null?new Map:a;for(let t of Vi(e))r.set(t,n);zi.set(t,r)}return n[fe]=i,!0}function Zi(e,t){var n;let r=t==null?R():t,i=Ui(r),a=(n=r==null?void 0:r[fe])==null?Hi(i):n;if(!r||!Array.isArray(a)||a.length===0)return!1;let o=!1;for(let t of a){let n=zi.get(t);if(n){for(let t of Vi(e))n.get(t)===r&&(n.delete(t),o=!0);n.size===0&&zi.delete(t)}}return delete r[fe],o}function Qi(e,t){var n,r;let i=Hi((n=Bi())==null?Ui(t):n).map(t=>{var n;return(n=zi.get(t))==null?void 0:n.get(e)}).find(Boolean);return(r=i==null?t:i)==null?R():r}function $i(e,t={}){var n,r;let i=Qi(e,(n=t.context)==null?t.fallbackContext:n),a=i==null||(r=i.selectComponent)==null?void 0:r.call(i,e);return a==null?null:a}function ea(e,t={}){var n,r;let i=(n=t.retries)==null?20:n,a=(r=t.interval)==null?16:r,o=$i(e,t);return o||i<=0?Promise.resolve(o):new Promise(n=>{setTimeout(()=>{n(ea(e,{...t,retries:i-1}))},a)})}function ta(e,t={}){if(!M())throw Error(`useLayoutBridge() 必须在 setup() 的同步阶段调用`);let n=R(),r=Vi(e),i=t.resolveComponent,a=Wi(n),o=Object.assign(a&&typeof a==`object`?Object.create(a):{},{selectComponent(e){var t,a,o;if(!r.includes(e))return null;let s=i==null?void 0:i(e);if(s!==void 0)return s;let c=Wi(n),l=c==null||(t=c.selectComponent)==null?void 0:t.call(c,e);if(l)return l;let u=Bi();return(a=u==null||(o=u.selectComponent)==null?void 0:o.call(u,e))==null?null:a}});Xi(r,o),P(()=>{Xi(r,o)}),O(()=>{Zi(r,o)})}function na(e,t){if(!e.length)return null;let n=t==null?R():t;if(!n)return null;let r=Yi(e,n);return Xi(e.map(e=>e.key),r),r}function ra(e,t){if(!e.length)return!1;let n=t==null?R():t;return n?Zi(e.map(e=>e.key),n):!1}function ia(e){ta(Object.keys(e),{resolveComponent(t){return Gi(e[t])}})}function aa(e){let{runtimeApp:t,watch:n,setup:r,restOptions:i,pageLifecycleHooks:a,finalObservers:o,userLifetimes:s,userPageLifetimes:c,finalMethods:l,finalOptions:u,applyExtraInstanceFields:d,templateRefs:f,layoutHosts:p,attachWevuPropKeys:m,setupLifecycle:h,syncWevuPropsFromInstance:g,isPage:_,legacyCreated:v,getRuntimeOwnerLabel:y}=e,b={},x=e=>{if(!Array.isArray(p)||!p.length||e[q])return;let t=na(p,e);t&&(e[q]=t)},S=e=>{_&&(e[be]=(t,n)=>{var r;let i=(r=e.__wevu)==null?void 0:r.state;if(!i||typeof i!=`object`)return;i[_e]=dr(t);let a=t===!1||n==null?{}:n;i[ye]=a,cr(e,t,a)})};if(_)for(let e of[`onReachBottom`,`onShareAppMessage`,`onShareTimeline`,`onAddToFavorites`]){let t=a[e];typeof t==`function`&&typeof l[e]!=`function`&&(b[e]=function(...e){return t.apply(this,e)})}Component({...i,...a,observers:o,lifetimes:{...s,created:function(...e){if(d(this),Array.isArray(f)&&f.length&&Object.defineProperty(this,Ve,{value:f,configurable:!0,enumerable:!1,writable:!1}),m(this),h===`created`){try{bi(this,t,n,r,{deferSetData:!0})}catch(e){let t=y(this);throw Error(`[wevu] mount runtime failed in created (${t}): ${e instanceof Error?e.message:String(e)}`)}g(this),S(this)}typeof v==`function`&&v.apply(this,e),typeof s.created==`function`&&s.created.apply(this,e)},moved:function(...e){L(this,`onMoved`,e),typeof s.moved==`function`&&s.moved.apply(this,e)},attached:function(...e){if(d(this),Array.isArray(f)&&f.length&&!this[Ve]&&Object.defineProperty(this,Ve,{value:f,configurable:!0,enumerable:!1,writable:!1}),m(this),h!==`created`||!this.__wevu)try{bi(this,t,n,r)}catch(e){let t=y(this);throw Error(`[wevu] mount runtime failed in attached (${t}): ${e instanceof Error?e.message:String(e)}`)}g(this),S(this),x(this),h===`created`&&xi(this),L(this,`onAttached`,e),typeof s.attached==`function`&&s.attached.apply(this,e)},ready:function(...e){if(_&&typeof a.onReady==`function`){a.onReady.call(this,...e),typeof s.ready==`function`&&s.ready.apply(this,e);return}if(!this[Te]){this[Te]=!0,g(this),Ir(this,()=>{L(this,`onReady`,e),typeof s.ready==`function`&&s.ready.apply(this,e)});return}typeof s.ready==`function`&&s.ready.apply(this,e)},detached:function(...e){if(L(this,`onDetached`,e),_&&typeof a.onUnload==`function`){a.onUnload.call(this,...e),typeof s.detached==`function`&&s.detached.apply(this,e);return}Lr(this),Array.isArray(p)&&p.length&&this[q]&&(ra(p,this[q]),delete this[q]),Ci(this),typeof s.detached==`function`&&s.detached.apply(this,e)},error:function(...e){L(this,`onError`,e),typeof s.error==`function`&&s.error.apply(this,e)}},pageLifetimes:{...c,show:function(...e){if(_&&typeof a.onShow==`function`){a.onShow.call(this,...e),typeof c.show==`function`&&c.show.apply(this,e);return}Si(this,!0),L(this,`onShow`,e),typeof c.show==`function`&&c.show.apply(this,e)},hide:function(...e){if(_&&typeof a.onHide==`function`){a.onHide.call(this,...e),typeof c.hide==`function`&&c.hide.apply(this,e);return}Si(this,!1),L(this,`onHide`,e),typeof c.hide==`function`&&c.hide.apply(this,e)},resize:function(...e){if(_&&typeof a.onResize==`function`){a.onResize.call(this,...e),typeof c.resize==`function`&&c.resize.apply(this,e);return}L(this,`onResize`,e),typeof c.resize==`function`&&c.resize.apply(this,e)},routeDone:function(...e){if(_&&typeof a.onRouteDone==`function`){a.onRouteDone.call(this,...e),typeof c.routeDone==`function`&&c.routeDone.apply(this,e);return}L(this,`onRouteDone`,e),typeof c.routeDone==`function`&&c.routeDone.apply(this,e)}},methods:{...b,...l},options:u})}function oa(e,t,n,r,i){var a;let{userMethods:o,userLifetimes:s,userPageLifetimes:c,userOptions:l,restOptions:u,topLevelMethods:d,templateRefs:f,layoutHosts:p,userObservers:m,setupLifecycle:h,legacyCreated:g,isPage:_,features:v,userOnLoad:y,userOnUnload:b,userOnShow:x,userOnHide:S,userOnReady:C,userOnSaveExitState:w,userOnPullDownRefresh:T,userOnReachBottom:E,userOnPageScroll:D,userOnRouteDone:O,userOnTabItemTap:k,userOnResize:A,userOnShareAppMessage:j,userOnShareTimeline:M,userOnAddToFavorites:N,applyExtraInstanceFields:P}=Ii(i),{enableOnPullDownRefresh:F,enableOnReachBottom:I,enableOnPageScroll:L,enableOnRouteDone:R,enableOnRouteDoneFallback:z,enableOnTabItemTap:B,enableOnResize:V,enableOnShareAppMessage:H,enableOnShareTimeline:ee,enableOnAddToFavorites:te,enableOnSaveExitState:U,effectiveOnSaveExitState:W,effectiveOnPullDownRefresh:G,effectiveOnReachBottom:ne,effectiveOnPageScroll:re,effectiveOnRouteDone:ie,effectiveOnTabItemTap:ae,effectiveOnResize:oe,effectiveOnShareAppMessage:se,effectiveOnShareTimeline:ue,effectiveOnAddToFavorites:K}=Ai({features:v,userOnSaveExitState:w,userOnPullDownRefresh:T,userOnReachBottom:E,userOnPageScroll:D,userOnRouteDone:O,userOnTabItemTap:k,userOnResize:A,userOnShareAppMessage:j,userOnShareTimeline:M,userOnAddToFavorites:N}),de=(e,t)=>{let n=e[le];if(!n)return!1;let r=n[t];return r?Array.isArray(r)?r.length>0:typeof r==`function`:!1};{let e=u.export;u.export=function(){var t;let n=(t=this[ce])==null?{}:t,r=typeof e==`function`?e.call(this):{};return r&&typeof r==`object`&&!Array.isArray(r)?{...n,...r}:r==null?n:r}}let fe={multipleSlots:(a=l.multipleSlots)==null?!0:a,...l},{attachWevuPropKeys:q,syncWevuPropsFromInstance:pe,finalObservers:J}=Ri({restOptions:u,userObservers:m}),{finalMethods:me}=Ni({userMethods:{...d,...o},runtimeMethods:t});aa({runtimeApp:e,watch:n,setup:r,restOptions:u,pageLifecycleHooks:Mi({runtimeApp:e,watch:n,setup:r,userOnLoad:y,userOnUnload:b,userOnShow:x,userOnHide:S,userOnReady:C,isPage:_,enableOnSaveExitState:U,enableOnPullDownRefresh:F,enableOnReachBottom:I,enableOnPageScroll:L,enableOnRouteDone:R,enableOnRouteDoneFallback:z,enableOnTabItemTap:B,enableOnResize:V,enableOnShareAppMessage:H,enableOnShareTimeline:ee,enableOnAddToFavorites:te,effectiveOnSaveExitState:W,effectiveOnPullDownRefresh:G,effectiveOnReachBottom:ne,effectiveOnPageScroll:re,effectiveOnRouteDone:ie,effectiveOnTabItemTap:ae,effectiveOnResize:oe,effectiveOnShareAppMessage:se,effectiveOnShareTimeline:ue,effectiveOnAddToFavorites:K,hasHook:de}),finalObservers:J,userLifetimes:s,userPageLifetimes:c,finalMethods:me,finalOptions:fe,applyExtraInstanceFields:P,templateRefs:f,layoutHosts:p,attachWevuPropKeys:q,setupLifecycle:h,syncWevuPropsFromInstance:pe,isPage:_,legacyCreated:g,getRuntimeOwnerLabel:Fi})}function sa(e){let{[vn]:t,data:n,computed:r,methods:i,setData:a,watch:o,setup:s,...c}=e.__wevuDefaultsScope===`component`?e:En(e),l=i==null?{}:i,u=r==null?{}:r,d=new Set,f=new Set,p=!1,m={globalProperties:{}},h={mount:_n({data:n,resolvedComputed:u,resolvedMethods:l,appConfig:m,setDataOptions:a}),use(e,...t){if(!e||d.has(e))return h;if(d.add(e),typeof e==`function`)e(h,...t);else if(typeof e.install==`function`)e.install(h,...t);else throw TypeError(`插件必须是函数,或包含 install 方法的对象`);return h},provide(e,t){return N(h,e,t),h},onUnmount(e){if(typeof e!=`function`)throw TypeError(`onUnmount 只接受函数`);return p?(e(),h):(f.add(e),h)},unmount(){if(!p){p=!0;for(let e of f)e();f.clear()}},config:m,version:xt},g=typeof App==`function`;try{ie(h),Object.defineProperty(h,`__wevuSetDataOptions`,{value:a,configurable:!0,enumerable:!1,writable:!1})}catch(e){h.__wevuSetDataOptions=a}if(g){let e=z(),t=`__wevuAppRegistered`;e&&e[t]||(e&&(e[t]=!0),ki(h,i==null?{}:i,o,s,c))}return h}const ca=`__wevu_allowNullPropInput`,la=`allowNullPropInput`,ua=new Map([[String,String],[Number,Number],[Boolean,Boolean],[Object,Object],[Array,Array],[`String`,String],[`Number`,Number],[`Boolean`,Boolean],[`Object`,Object],[`Array`,Array],[null,null],[`null`,null],[`Null`,null]]);function da(e){return ua.get(e)}function fa(e){if(e===void 0)return[];let t=Array.isArray(e)?e:[e],n=[];t.forEach(e=>{let t=da(e);t!==void 0&&(n.includes(t)||n.push(t))});let r=n.filter(e=>e!==null);return r.length>0?r:(n.includes(null),[null])}function pa(e,t){let n=fa(t);if(n.length!==0&&(e.type=n[0],n.length>1)){let t=[];for(let e of n.slice(1))t.includes(e)||t.push(e);t.length>0&&(e.optionalTypes=t)}}function ma(e,t){if(t===void 0||e.type===t)return;let n=Array.isArray(e.optionalTypes)?[...e.optionalTypes]:[];n.includes(t)||(n.push(t),e.optionalTypes=n)}function ha(e){if(!Array.isArray(e))return[];let t=[];return e.forEach(e=>{let n=da(e);n==null||t.includes(n)||t.push(n)}),t}function ga(e,t){if(e===void 0)return;if(e===null)return{type:null};if(Array.isArray(e)||typeof e==`function`){let n={};return pa(n,e),t&&n.type!==null&&ma(n,null),Object.hasOwn(n,`type`)||(n.type=null),n}if(typeof e!=`object`)return e;let n={...e};if(`type`in n){var r;let e=fa(n.type);n.type=(r=e[0])==null?null:r;let t=ha(n.optionalTypes);for(let n of e.slice(1))n!==null&&!t.includes(n)&&t.push(n);t.length>0?n.optionalTypes=t:delete n.optionalTypes}return Object.hasOwn(n,`type`)||(n.type=null),t&&n.type!==null&&ma(n,null),n}function _a(e,t){let n={};return Object.entries(e).forEach(([e,r])=>{let i=ga(r,t);i!==void 0&&(n[e]=i)}),n}function va(e,t,n){var r;let i=!!((r=e[ca])==null?e[la]:r),{[ca]:a,[la]:o,...s}=e,c=e.properties,l=n==null?c&&typeof c==`object`?c:void 0:n,u=e=>{let t={...e==null?{}:e};return Object.hasOwn(t,Fe)||(t[Fe]={type:String,value:``}),Object.hasOwn(t,ze)||(t[ze]={type:null,value:null}),Object.hasOwn(t,Ne)||(t[Ne]={type:null,value:null}),t};if(l||!t){let{properties:e,...t}=s,n=l?i?_a(l,i):l:void 0;return{...t,properties:u(n)}}let d={};return Object.entries(t).forEach(([e,t])=>{if(t!==void 0){if(t===null){d[e]={type:null};return}if(Array.isArray(t)||typeof t==`function`){let n={};pa(n,t),i&&n.type!==null&&ma(n,null),Object.hasOwn(n,`type`)||(n.type=null),d[e]=n;return}if(typeof t==`object`){if(e.endsWith(`Modifiers`)&&Object.keys(t).length===0){d[e]={type:Object,value:{}};return}let n={};if(`type`in t&&t.type!==void 0&&pa(n,t.type),Array.isArray(t.optionalTypes)){let e=t.optionalTypes.map(e=>da(e)).filter(e=>e!=null);if(e.length>0){let t=Array.isArray(n.optionalTypes)?n.optionalTypes:[];for(let r of e)r!==n.type&&(t.includes(r)||t.push(r));t.length>0&&(n.optionalTypes=t)}}`observer`in t&&(typeof t.observer==`function`||typeof t.observer==`string`)&&(n.observer=t.observer);let r=`default`in t?t.default:t.value;r!==void 0&&(n.value=typeof r==`function`?r():r),i&&n.type!==null&&ma(n,null),Object.hasOwn(n,`type`)||(n.type=null),d[e]=n}}}),{...s,properties:u(d)}}const ya=/&/g,ba=/"/g,xa=/"/g,Sa=/'/g,Ca=/'/g,wa=/</g,Ta=/>/g;function Ea(e){return e.replace(ya,`&`).replace(ba,`"`).replace(xa,`"`).replace(Sa,`'`).replace(Ca,`'`).replace(wa,`<`).replace(Ta,`>`)}function Da(e){var t,n,r,i;let a=Wn((t=(n=e==null||(r=e.currentTarget)==null?void 0:r.dataset)==null?e==null||(i=e.target)==null?void 0:i.dataset:n)==null?{}:t,`wvArgs`,e),o=[];if(Array.isArray(a))o=a;else if(typeof a==`string`)try{o=JSON.parse(a)}catch(e){try{o=JSON.parse(Ea(a))}catch(e){o=[]}}return Array.isArray(o)||(o=[]),o.map(t=>t===`$event`?e:t)}function Oa(e){if(!e||typeof e!=`object`)return{};if(Array.isArray(e)){let t={};for(let n=0;n<e.length;n+=2){let r=e[n];typeof r==`string`&&r&&(t[r]=e[n+1])}return t}return e}function ka(e,t){var n,r;let i=Object.hasOwn(t==null?{}:t,ze)?t[ze]:e==null||(n=e.properties)==null?void 0:n[ze],a=Object.hasOwn(t==null?{}:t,Re)?t[Re]:e==null||(r=e.properties)==null?void 0:r[Re],o=Oa(i),s=Oa(a),c={...o,...s};typeof(e==null?void 0:e.setData)==`function`&&e.setData({[Le]:c})}function Aa(e){let t={options:{virtualHost:!0},properties:{[Pe]:{type:String,value:``},[Re]:{type:null,value:null,observer(e){ka(this,{[Re]:e})}},[ze]:{type:null,value:null,observer(e){ka(this,{[ze]:e})}}},data:()=>({[Ie]:{},[Le]:{}}),lifetimes:{attached(){var e,t;let n=(e=(t=this.properties)==null?void 0:t[Pe])==null?``:e;if(ka(this),!n)return;let r=(e,t)=>{this.__wvOwnerProxy=t,typeof this.setData==`function`&&this.setData({[Ie]:e||{}})};this.__wvOwnerUnsub=gr(n,r);let i=vr(n);i&&r(i,_r(n))},detached(){typeof this.__wvOwnerUnsub==`function`&&this.__wvOwnerUnsub(),this.__wvOwnerUnsub=void 0,this.__wvOwnerProxy=void 0}},methods:{[ge](e){var t,n,r,i,a;let o=this.__wvOwnerProxy,s=Yn(o,void 0,e,(t=this.__wevu)==null||(t=t.methods)==null?void 0:t[K]);if(s!==void 0)return s;if(!o)return;let c=Wn((n=(r=e==null||(i=e.currentTarget)==null?void 0:i.dataset)==null?e==null||(a=e.target)==null?void 0:a.dataset:r)==null?{}:n,`wvHandler`,e);if(typeof c!=`string`||!c)return;let l=o==null?void 0:o[c];if(typeof l!=`function`)return;let u=Da(e);return l.apply(o,u)}}};return e!=null&&e.computed&&Object.keys(e.computed).length>0&&(t.computed=e.computed),e!=null&&e.inlineMap&&Object.keys(e.inlineMap).length>0&&(t.methods={...t.methods,[K]:e.inlineMap}),t}function ja(e){if(Object.prototype.toString.call(e)!==`[object Object]`)return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function Ma(e){return typeof e!=`object`||!e||g(e)||m(e)||Array.isArray(e)?!0:ja(e)}function Na(e,t,n){var r,i;let a=new Set(Array.isArray(t==null?void 0:t[we])?t[we]:[]),o=(r=e==null?void 0:e.methods)==null?Object.create(null):r,s=(i=e==null?void 0:e.state)==null?Object.create(null):i,c=m(s)?T(s):s,l=!1;if(e&&!e.methods)try{e.methods=o}catch(e){}if(e&&!e.state)try{e.state=s}catch(e){}if(Object.keys(n).forEach(r=>{let i=n[r];if(typeof i==`function`)o[r]=(...t)=>{var n;return i.apply((n=e==null?void 0:e.proxy)==null?e:n,t)},l=!0;else{if(Pt(i)){var u;e==null||(u=e.__wevu_trackSetupReactiveKey)==null||u.call(e,r)}if(a.has(r)){let e=i;try{Object.defineProperty(c,r,{configurable:!0,enumerable:!1,get(){let t=c[X];return t&&typeof t==`object`&&Object.hasOwn(t,r)?t[r]:e},set(t){e=t;let n=c[X];if(!(!n||typeof n!=`object`))try{n[r]=t}catch(e){}}})}catch(e){s[r]=i}return}if(i===t||!Ma(i))try{Object.defineProperty(c,r,{value:i,configurable:!0,enumerable:!1,writable:!0})}catch(e){s[r]=i}else s[r]=i}}),e){var u,d;if(e.methods=(u=e.methods)==null?o:u,e.state=(d=e.state)==null?s:d,l){var f;(f=e.__wevu_touchSetupMethodsVersion)==null||f.call(e)}}}let Pa;function Fa(){let e=te();if(!e)return;let t=e;!t[je]&&Pa&&(t[je]=Pa)}function Ia(e){Fa();let{__typeProps:t,data:n,computed:r,methods:i,setData:a,watch:o,setup:s,props:c,...l}=Dn(e),u=sa({data:n,computed:r,methods:i,setData:a,[vn]:`component`}),d=typeof s==`function`?((e,t)=>{let n=ni(s,e,t);return n&&t&&Na(t.runtime,t.instance,n),n}):void 0,f=typeof n==`function`?n():n,p=va(f===void 0?l:{...l,data:f},c),m={data:n,computed:r,methods:i,setData:a,watch:o,setup:d,mpOptions:p};return oa(u,i==null?{}:i,o,d,p),{__wevu_runtime:u,__wevu_options:m}}function La(e){var t;Fa();let{properties:n,props:r,...i}=e;Ia(va({...i,allowNullPropInput:(t=i.allowNullPropInput)==null?!0:t,__wevu_allowNullPropInput:!0},r,n))}function Ra(e){La(Aa(e))}Pa=Ra,Fa();const za=[`dispose`,`abort`,`cancel`,`stop`,`disconnect`,`destroy`,`close`];function Ba(e){if(e){if(typeof e==`function`)return e;for(let t of za){let n=e[t];if(typeof n==`function`)return()=>n.call(e)}}}function Va(){if(!R())throw Error(`useDisposables() 必须在 setup() 的同步阶段调用`);let e=new Set,t=!1,n=n=>{let r=Ba(n);if(!r)return()=>{};if(t){try{r()}catch(e){}return()=>{}}return e.add(r),()=>{e.delete(r)}},r=()=>{if(t)return;t=!0;let n=[...e];e.clear();for(let e of n)try{e()}catch(e){}};return U(r),O(r),{add:n,dispose:r,setTimeout:(e,t,...r)=>{let i=setTimeout(e,t,...r);return n(()=>{clearTimeout(i)}),i},setInterval:(e,t,...r)=>{let i=setInterval(e,t,...r);return n(()=>{clearInterval(i)}),i}}}function Ha(e,t){let n=e,r=n.createIntersectionObserver;if(typeof r==`function`)return r.call(n,t);if(!G(`globalCreateIntersectionObserver`))return;let i=z(),a=i==null?void 0:i.createIntersectionObserver;if(typeof a==`function`)return H().intersectionObserverScopeByParameter?a.call(i,e,t):a.call(i,t)}function Ua(e,t){var n;if(t===!1||typeof e.relativeToViewport!=`function`)return e;let r=t&&typeof t==`object`?t:void 0;return(n=e.relativeToViewport(r))==null?e:n}function Wa(e){var t;let n=(t=e.context)==null?R():t;if(!n||!M())throw Error(`useElementIntersectionObserver() 必须在 setup() 的同步阶段调用`);let r=null,i=()=>{if(r){try{r.disconnect()}catch(e){}r=null}},a=()=>{var t,a;i();let s=o(e.selector);if(!(e.enabled==null||o(e.enabled))||!s)return null;let c=Ha(n,o((t=e.observerOptions)==null?{}:t));return!c||typeof c.observe!=`function`?null:(r=Ua(c,(a=e.relativeToViewport)==null?!0:a),r.observe(s,t=>{var n;return(n=e.onObserve)==null?void 0:n.call(e,t)}),r)};return _t(()=>{var t;return[o(e.selector),e.enabled==null?!0:o(e.enabled),o((t=e.observerOptions)==null?{}:t),e.relativeToViewport]},()=>{a()},{deep:!0}),$e(a),nt(i),U(i),O(i),{disconnect:i,observe:a,get observer(){return r}}}function Ga(e,t){let n=e,r=n.createIntersectionObserver;if(typeof r==`function`)return r.call(n,t)}function Ka(e,t){if(!G(`globalCreateIntersectionObserver`))return;let n=z(),r=n==null?void 0:n.createIntersectionObserver;if(typeof r==`function`)return H().intersectionObserverScopeByParameter?r.call(n,e,t):r.call(n,t)}function qa(e={}){var t;let n=R();if(!n)throw Error(`useIntersectionObserver() 必须在 setup() 的同步阶段调用`);let r=(t=Ga(n,e))==null?Ka(n,e):t;if(!r||typeof r.disconnect!=`function`)throw Error(`当前运行环境不支持 IntersectionObserver,请检查基础库版本或平台能力`);let i=!1,a=()=>{if(!i){i=!0;try{r.disconnect()}catch(e){}}};return U(a),O(a),r}function Ja(e){var t,n;return e?(t=(n=e.split(`?`)[0])==null?void 0:n.replace(/^\/+/,``))==null?``:t:``}function Ya(){let e=W(),t=e.at(-1),n=e.length||1;return{canGoBack:n>1,currentRoute:Ja(t==null?void 0:t.route),stackLength:n}}function Xa(e={}){var t;if(!M())throw Error(`usePageStack() 必须在 setup() 的同步阶段调用`);let n=Ya(),r=d(n.currentRoute),i=d(n.stackLength),a=E(()=>i.value>1),o=()=>{let e=Ya();r.value=e.currentRoute,i.value=e.stackLength};return((t=e.autoRefresh)==null||t)&&(P(o),F(o)),{canGoBack:a,currentRoute:r,refresh:o,stackLength:i}}function Za(e={}){var t,n;let r=(t=e.defaultStatusBarHeight)==null?20:t,i=(n=e.defaultNavigationBarHeight)==null?44:n,a=z(),o=typeof(a==null?void 0:a.getSystemInfoSync)==`function`?a.getSystemInfoSync():{},s=Number((o==null?void 0:o.statusBarHeight)||r),c;try{c=typeof(a==null?void 0:a.getMenuButtonBoundingClientRect)==`function`?a.getMenuButtonBoundingClientRect():void 0}catch(e){}let l=Number((c==null?void 0:c.top)||0),u=Number((c==null?void 0:c.height)||0),d=l>s&&u>0?(l-s)*2+u:i;return{navigationBarHeight:d,navigationHeight:s+d,statusBarHeight:s}}function Qa(e={}){var t;if(!M())throw Error(`useNavigationBarMetrics() 必须在 setup() 的同步阶段调用`);let n=Za(e),r=d(n.statusBarHeight),i=d(n.navigationBarHeight),a=E(()=>r.value+i.value),o=()=>{let t=Za(e);r.value=t.statusBarHeight,i.value=t.navigationBarHeight};return((t=e.autoRefresh)==null||t)&&P(o),{navigationBarHeight:i,navigationHeight:a,refresh:o,statusBarHeight:r}}function $a(e){return typeof e!=`number`||!Number.isFinite(e)?80:Math.max(0,e)}function eo(e){if(!(typeof e!=`number`||!Number.isFinite(e)))return Math.max(0,e)}function to(e,t={}){var n,r;if(!R())throw Error(`usePageScrollThrottle() 必须在 setup() 的同步阶段调用`);if(typeof e!=`function`)throw TypeError(`usePageScrollThrottle() 需要传入回调函数`);let i=$a(t.interval),a=(n=t.leading)==null?!0:n,o=(r=t.trailing)==null?!0:r,s=eo(t.maxWait),c,l,u=!1,d=0,f,p=()=>{c&&(clearTimeout(c),c=void 0)},m=()=>{l&&(clearTimeout(l),l=void 0)},h=t=>{p(),m(),f=void 0,d=Date.now(),e(t)},g=()=>{let e=f;f=void 0,c=void 0,!(!e||u)&&h(e)},_=()=>{let e=f;l=void 0,!(!e||u)&&h(e)},v=e=>{if(!o||c)return;let t=Math.max(0,i-(e-(d===0?e:d)));c=setTimeout(g,t)},y=e=>{if(typeof s!=`number`||l)return;let t=s-(e-(d===0?e:d));if(t<=0){_();return}l=setTimeout(_,t)};j(e=>{if(u)return;if(i===0){h(e);return}let t=Date.now();if(f=e,a&&(d===0||t-d>=i)){h(e);return}if(typeof s==`number`&&t-(d===0?t:d)>=s){h(e);return}!o&&typeof s!=`number`||(v(t),y(t))});let b=()=>{u||(u=!0,f=void 0,p(),m())};return U(b),O(b),b}function no(e,t={}){k(async()=>{try{await e()}catch(e){var n;await((n=t.onError)==null?void 0:n.call(t,e))}finally{var r;await((r=t.stopPullDownRefresh)==null?(()=>Ke.stopPullDownRefresh()):r)()}})}function ro(e,t){let n=t==null?R():t;if(!n||!M())throw Error(`${e}() 必须在 setup() 的同步阶段调用`);return n}function io(e,t,n,r){let i=Ar(e);return!i||!t?Promise.resolve(null):(r(n?i.selectAll(t):i.select(t)),new Promise(e=>{i.exec(t=>{let n=Array.isArray(t)?t[0]:null;e(n==null?null:n)})}))}function ao(e={}){let t=ro(`useSelectorQuery`,e.context);return()=>Ar(t)}function oo(e={}){var t;let n=ro(`useBoundingClientRect`,e.context),r=(t=e.all)==null?!1:t;return e=>io(n,e,r,e=>e.boundingClientRect())}function so(e){var t;let n=ro(`useSelectorFields`,e.context),r=(t=e.all)==null?!1:t;return t=>io(n,t,r,t=>t.fields(e.fields))}function co(e={}){var t;let n=ro(`useScrollOffset`,e.context),r=(t=e.all)==null?!1:t;return e=>io(n,e,r,e=>e.scrollOffset())}const lo=/\B([A-Z])/g;function uo(e){return e?e.startsWith(`--`)?e:e.replace(lo,`-$1`).toLowerCase():``}function fo(e,t){if(!t)return e;if(!e)return t;let n=e;n.endsWith(`;`)||(n+=`;`);let r=t.startsWith(`;`)?t.slice(1):t;return n+r}function po(e){let t=``;for(let n of Object.keys(e)){let r=_(e[n]);if(r==null)continue;let i=uo(n);if(Array.isArray(r))for(let e of r){let n=_(e);n!=null&&(t=fo(t,`${i}:${n}`))}else t=fo(t,`${i}:${r}`)}return t}function mo(e){let t=_(e);if(t==null)return``;if(typeof t==`string`)return t;if(Array.isArray(t)){let e=``;for(let n of t){let t=mo(n);t&&(e=fo(e,t))}return e}return typeof t==`object`?po(t):``}function ho(e){let t=_(e),n=``;if(!t)return n;if(typeof t==`string`)return t;if(Array.isArray(t)){for(let e of t){let t=ho(e);t&&(n+=`${t} `)}return n.trim()}if(typeof t==`object`){for(let e of Object.keys(t))_(t[e])&&(n+=`${e} `);return n.trim()}return n}function go(e){let t=e,n=t.setUpdatePerformanceListener;if(typeof n==`function`)return e=>{n.call(t,e)}}function _o(e){let t=R();if(!t)throw Error(`useUpdatePerformanceListener() 必须在 setup() 的同步阶段调用`);if(typeof e!=`function`)throw TypeError(`useUpdatePerformanceListener() 需要传入监听函数`);let n=go(t);if(!n)throw Error(`当前实例不支持 setUpdatePerformanceListener,请检查基础库版本或组件上下文`);n(e);let r=!1,i=()=>{if(!r){r=!0;try{n(void 0)}catch(e){}}};return U(i),O(i),i}function vo(){let e=R();if(e!=null&&e[de]&&e[ke])return e[ke];throw Error(`defineAppSetup() / use() 只能在 app setup 上下文中调用`)}function yo(e){return e(vo())}function bo(e,...t){return vo().use(e,...t)}const xo=Object.freeze(Object.create(null));function So(){var e;let t=M();if(!t)throw Error(`useAttrs() 必须在 setup() 的同步阶段调用`);return(e=t.attrs)==null?{}:e}function Co(){var e;let t=M();if(!t)throw Error(`useSlots() 必须在 setup() 的同步阶段调用`);return(e=t.slots)==null?xo:e}function wo(){let e=M();if(!(e!=null&&e.instance))throw Error(`useNativeInstance() 必须在 setup() 的同步阶段调用`);return e.instance}const To=Object.freeze(Object.create(null));function Eo(e,t){let n=t===`modelValue`?`modelModifiers`:`${t}Modifiers`,r=e==null?void 0:e[n];return!r||typeof r!=`object`?To:r}function Do(e,t){let n=e;try{Object.defineProperty(n,Symbol.iterator,{configurable:!0,value:()=>{let e=0;return{next:()=>e===0?(e+=1,{value:n,done:!1}):e===1?(e+=1,{value:t(),done:!1}):{value:void 0,done:!0}}}})}catch(e){}return n}function Oo(e,t,n={}){let r=M();if(!r)throw Error(`useModel() 必须在 setup() 的同步阶段调用`);let i=r.emit,a=`update:${t}`,o=()=>Eo(e,t);return Do(x({get:()=>{let r=e==null?void 0:e[t];return n.get?n.get(r,o()):r},set:e=>{let t=n.set?n.set(e,o()):e;i==null||i(a,t)}}),o)}function ko(e){let t=R();if(!(t!=null&&t.__wevu)||typeof t.__wevu.bindModel!=`function`)throw Error(`useBindModel() 必须在 setup() 的同步阶段调用`);let n=t.__wevu.bindModel.bind(t.__wevu),r=((t,r)=>e?n(t,{...e,...r}):n(t,r));return r.model=(e,t)=>r(e).model(t),r.value=(t,n)=>{var i;let a={...e,...n},o=(i=a==null?void 0:a.valueProp)==null?`value`:i;return r.model(t,n)[o]},r.on=(t,n)=>{var i;let a={...e,...n},o=`on${St((i=a==null?void 0:a.event)==null?`input`:i)}`;return r.model(t,n)[o]},r}function Ao(){let e=ko({event:`change`});return function(t,n){return e.model(t,n)}}function jo(e,t){return e==null?t:t==null?e:Array.isArray(e)&&Array.isArray(t)?[...new Set([...e,...t])]:typeof e==`object`&&typeof t==`object`?{...e,...t}:t}function Mo(e){let t=e[Ue];if(t)return t;let n=new Map;try{Object.defineProperty(e,Ue,{value:n,configurable:!0,enumerable:!1,writable:!1})}catch(t){e[Ue]=n}return n}function No(e){let t=R();if(!t)throw Error(`useTemplateRef() 必须在 setup() 的同步阶段调用`);let n=typeof e==`string`?e.trim():``;if(!n)throw Error(`useTemplateRef() 需要传入有效的模板 ref 名称`);let r=Mo(t),i=r.get(n);if(i)return i;let a=qe(null);return r.set(n,a),a}export{Wt as $,sa as A,ea as B,Xa as C,qe as Ct,La as D,Va as E,$i as F,ni as G,bi as H,Zi as I,cr as J,dr as K,ra as L,Xi as M,na as N,Ra as O,Qi as P,wn as Q,ta as R,Qa as S,Je as St,Wa as T,Si as U,ki as V,Ci as W,sr as X,lr as Y,Tn as Z,ao as _,nt as _t,Oo as a,bt as at,Ya as b,Xe as bt,Co as c,lt as ct,_o as d,tt as dt,Q as et,ho as f,it as ft,so as g,ct as gt,co as h,$e as ht,Ao as i,yt as it,oa as j,Ia as k,yo as l,ot as lt,oo as m,at as mt,jo as n,_t as nt,So as o,ft as ot,mo as p,st as pt,ur as q,ko as r,vt as rt,wo as s,dt as st,No as t,xt as tt,bo as u,rt as ut,no as v,et as vt,qa as w,Ye as wt,Za as x,Ze as xt,to as y,Qe as yt,ia as z};
|
package/dist/vue-demi.d.mts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { a as MiniProgramCSSProperties, c as MiniProgramIntrinsicEventHandler, d as WeappIntrinsicElementBaseAttributes, f as WeappIntrinsicEventHandler, i as WeappIntrinsicElements, l as WeappCSSProperties, n as MiniProgramIntrinsicElements, o as MiniProgramDatasetAttributes, r as WeappHtmlAliasIntrinsicElements, s as MiniProgramIntrinsicElementBaseAttributes, t as MiniProgramHtmlAliasIntrinsicElements, u as WeappDatasetAttributes } from "./weappIntrinsicElements-Cdfh6BlL.mjs";
|
|
2
2
|
import { $ as shallowRef, $n as HostMiniProgramNodesRefFields, A as watchPostEffect, An as MiniProgramPageLifetimes, Ar as MiniProgramRuntimeHostNamespaceBySource, At as nextTick, B as WatchOptions, Bn as HostMiniProgramComponentInstance, Bt as MaybeRef, C as ExtractMethods, Cn as MiniProgramAppOptions, Cr as MiniProgramHostNamespace, Ct as effect, D as ModelBindingPayload, Dn as MiniProgramComponentPropertyValue, Dr as MiniProgramPlatformHostNamespaceBySource, Dt as onScopeDispose, E as ModelBindingOptions, En as MiniProgramComponentOptions, Er as MiniProgramHostSourceRegistry, Et as getCurrentScope, F as OnCleanup, Fn as HostMiniProgramBoundingClientRectResult, Fr as WechatMiniProgramHostNamespace, Ft as WritableComputedRef, G as WatchStopHandle, Gn as HostMiniProgramComponentTrivialInstance, Gt as isRef, H as WatchSource, Hn as HostMiniProgramComponentPropertyOption, Ht as Ref, I as WatchCallback, In as HostMiniProgramComponentAllFullProperty, Ir as WechatMiniProgramHostSourceContract, It as computed, J as traverse, Jn as HostMiniProgramIntersectionObserverOptions, Jt as unref, K as getDeepWatchStrategy, Kn as HostMiniProgramComponentTrivialOption, Kt as ref, L as WatchEffect, Ln as HostMiniProgramComponentAllProperty, Lt as CustomRefFactory, M as MapSources, Mn as HostMiniProgramAppOptions, Mr as MiniProgramRuntimeHostSourceRegistry, Mt as ComputedRef, N as MaybeUndefined, Nn as HostMiniProgramAppTrivialInstance, Nr as TtMiniProgramHostNamespace, Nt as ComputedSetter, O as watch, On as MiniProgramComponentRawOptions, Or as MiniProgramPlatformHostSourceName, Ot as startBatch, P as MultiWatchSources, Pn as HostMiniProgramBehaviorIdentifier, Pr as TtMiniProgramHostSourceContract, Pt as WritableComputedOptions, Q as isShallowRef, Qn as HostMiniProgramNodesRef, Qt as MiniProgramRouterSwitchTabOption, R as WatchEffectOptions, Rn as HostMiniProgramComponentBehaviorOptions, Rt as CustomRefOptions, S as ExtractComputed, Sn as MiniProgramAdapter, Sr as DouyinMiniProgramHostSourceContract, St as batch, T as ModelBinding, Tn as MiniProgramComponentInstance, Tr as MiniProgramHostSourceName, Tt as endBatch, U as WatchSourceValue, Un as HostMiniProgramComponentPropertyValue, Ut as ShallowRef, V as WatchScheduler, Vn as HostMiniProgramComponentMethodOption, Vt as MaybeRefOrGetter, W as WatchSources, Wn as HostMiniProgramComponentShortProperty, Wt as customRef, X as toRef, Xn as HostMiniProgramMemoryWarningResult, Xt as MiniProgramRouterReLaunchOption, Y as ToRefs, Yn as HostMiniProgramLaunchOptions, Yt as MiniProgramRouterNavigateToOption, Z as toRefs, Zn as HostMiniProgramNavigateToOption, Zt as MiniProgramRouterRedirectToOption, _ as RuntimeApp, _n as NativeTypeHint, _r as AlipayMiniProgramHostNamespace, _t as MutationOp, a as NativeComponent, ar as HostMiniProgramReLaunchOption, at as getReactiveVersion, b as ComponentPublicInstance, bn as PropOptions, br as DefaultMiniProgramHostSourceContract, bt as removeMutationRecorder, c as ShallowUnwrapRef, cn as ExtractDefaultPropTypes, cr as HostMiniProgramSaveExitState, ct as markRaw, d as SetupContext, dn as InferNativePropType, dr as HostMiniProgramShareAppMessageOption, dt as isShallowReactive, er as HostMiniProgramPageLifetime, et as triggerRef, f as SetupContextNativeInstance, fn as InferNativeProps, fr as HostMiniProgramSwitchTabOption, ft as shallowReactive, g as InternalRuntimeStateFields, gn as NativePropsOptions, gr as HostMiniProgramUnhandledRejectionResult, gt as MutationKind, h as InternalRuntimeState, hn as NativePropType, hr as HostMiniProgramTriggerEventOptions, ht as touchReactive, i as DefineComponent, ir as HostMiniProgramPageTrivialInstance, it as shallowReadonly, j as watchSyncEffect, jn as HostMiniProgramAddToFavoritesOption, jr as MiniProgramRuntimeHostSourceName, jt as ComputedGetter, k as watchEffect, kn as MiniProgramInstance, kr as MiniProgramPlatformHostSourceRegistry, kt as stop, l as VNode, ln as ExtractPropTypes, lr as HostMiniProgramScrollOffsetResult, lt as reactive, m as AppConfig, mn as InferProps, mr as HostMiniProgramThemeChangeResult, mt as prelinkReactiveTree, n as ComponentCustomProps, nr as HostMiniProgramPageResizeOption, nt as isReadonly, o as ObjectDirective, on as WevuTypedRouterRouteMap, or as HostMiniProgramRedirectToOption, ot as isRaw, p as SetupFunction, pn as InferPropType, pr as HostMiniProgramTabItemTapOption, pt as PrelinkReactiveTreeOptions, q as setDeepWatchStrategy, qn as HostMiniProgramIntersectionObserver, qt as toValue, r as ComponentOptionsMixin, rn as SetupContextRouter, rr as HostMiniProgramPageScrollOption, rt as readonly, s as PublicProps, sn as ComponentPropsOptions, sr as HostMiniProgramRouter, st as isReactive, t as AllowedComponentProps, tr as HostMiniProgramPageNotFoundOptions, tt as isProxy, u as VNodeProps, un as ExtractPublicPropTypes, ur as HostMiniProgramSelectorQuery, ut as toRaw, v as RuntimeInstance, vn as NativeTypedProperty, vr as AlipayMiniProgramHostSourceContract, vt as MutationRecord, w as MethodDefinitions, wn as MiniProgramBehaviorIdentifier, wr as MiniProgramHostNamespaceBySource, wt as effectScope, x as ComputedDefinitions, xn as PropType, xr as DouyinMiniProgramHostNamespace, xt as EffectScope, y as WevuPlugin, yn as PropConstructor, yr as DefaultMiniProgramHostNamespace, yt as addMutationRecorder, z as WatchMultiSources, zn as HostMiniProgramComponentEmptyArray, zt as CustomRefSource } from "./vue-types-BiAihmBy.mjs";
|
|
3
|
-
import { $ as
|
|
3
|
+
import { $ as teardownRuntimeInstance, $n as setWevuDefaults, $t as onServerPrefetch, A as useSlots, An as setCurrentInstance, At as markNoSetData, B as UseAllScrollOffsetOptions, Bn as useDisposables, Bt as useLayoutHosts, C as UseModelOptions, Cn as onThemeChange, Ct as UseNavigationBarMetricsOptions, D as useModel, Dn as callHookReturn, Dt as useNavigationBarMetrics, E as useChangeModel, En as callHookList, Et as getNavigationBarMetrics, F as UseUpdatePerformanceListenerStopHandle, Fn as useElementIntersectionObserver, Ft as resolveLayoutBridge, G as UseSelectorQueryOptions, Gn as SetupFunctionWithTypeProps, Gt as callUpdateHooks, H as UseBoundingClientRectOptions, Hn as DefineComponentTypePropsOptions, Ht as UseIntersectionObserverOptions, I as useUpdatePerformanceListener, In as DisposableBag, It as resolveLayoutHost, J as useSelectorFields, Jn as createWevuComponent, Jt as onBeforeUnmount, K as useBoundingClientRect, Kn as WevuComponentConstructor, Kt as onActivated, L as normalizeClass, Ln as DisposableLike, Lt as unregisterPageLayoutBridge, M as use, Mn as ElementIntersectionObserverCallback, Mt as LayoutHostBinding, N as UpdatePerformanceListener, Nn as UseElementIntersectionObserverOptions, Nt as registerPageLayoutBridge, O as useAttrs, On as getCurrentInstance, Ot as usePageStack, P as UpdatePerformanceListenerResult, Pn as UseElementIntersectionObserverReturn, Pt as registerRuntimeLayoutHosts, Q as setRuntimeSetDataVisibility, Qn as resetWevuDefaults, Qt as onMounted, R as normalizeStyle, Rn as DisposableMethodName, Rt as unregisterRuntimeLayoutHosts, S as ModelModifiers, Sn as onTabItemTap, St as PageStackSnapshot, T as useBindModel, Tn as onUnload, Tt as getCurrentPageStackSnapshot, U as UseScrollOffsetOptions, Un as DefineComponentWithTypeProps, Ut as UseIntersectionObserverResult, V as UseAllSelectorFieldsOptions, Vn as ComponentDefinition, Vt as waitForLayoutHost, W as UseSelectorFieldsOptions, Wn as SetupContextWithTypeProps, Wt as useIntersectionObserver, X as runSetupFunction, Xn as defineComponent, Xt as onDeactivated, Y as useSelectorQuery, Yn as createWevuScopedSlotComponent, Yt as onBeforeUpdate, Z as mountRuntimeInstance, Zn as WevuDefaults, Zt as onErrorCaptured, _ as EmitsOptions, _n as onRouteDone, _t as setPageLayout, a as PageLayoutMeta, an as onError, ar as TemplateRefs, at as hasInjectionContext, b as useNativePageRouter, bn as onShareTimeline, bt as usePageLayout, c as defineExpose, cn as onLoad, cr as CreateAppOptions, ct as provide, d as definePageMeta, dn as onPageNotFound, dr as DefineComponentOptions, dt as UsePageScrollThrottleOptions, en as onUnmounted, er as createApp, et as registerComponent, f as defineProps, fn as onPageScroll, fr as PageFeatures, ft as UsePageScrollThrottleStopHandle, g as EmitFn, gn as onResize, gt as resolveRuntimePageLayoutName, h as ComponentTypeEmits, hn as onReady, ht as WevuPageLayoutMap, i as ModelRef, in as onDetached, ir as TemplateRefValue, it as useAsyncPullDownRefresh, j as defineAppSetup, jn as setCurrentSetupContext, jt as LayoutBridgeInstance, k as useNativeInstance, kn as getCurrentSetupContext, kt as isNoSetData, l as defineModel, ln as onMemoryWarning, lr as DataOption, lt as provideGlobal, m as withDefaults, mn as onReachBottom, mr as SetDataSnapshotOptions, mt as PageLayoutState, n as DefineModelModifiers, nn as onAddToFavorites, nr as GlobalDirectives, nt as PullDownRefreshHandler, o as PageMeta, on as onHide, or as WevuGlobalComponents, ot as inject, p as defineSlots, pn as onPullDownRefresh, pr as SetDataDebugInfo, pt as usePageScrollThrottle, q as useScrollOffset, qn as WevuDefinedComponent, qt as onBeforeMount, r as DefineModelTransformOptions, rn as onAttached, rr as MiniProgramTemplateRefValue, rt as UseAsyncPullDownRefreshOptions, s as defineEmits, sn as onLaunch, sr as WevuGlobalDirectives, st as injectGlobal, t as version, tn as onUpdated, tr as GlobalComponents, tt as registerApp, u as defineOptions, un as onMoved, ur as DefineAppOptions, ut as setGlobalProvidedValue, v as TemplateRef, vn as onSaveExitState, vt as syncRuntimePageLayoutState, w as mergeModels, wn as onUnhandledRejection, wt as UsePageStackOptions, x as useNativeRouter, xn as onShow, xt as NavigationBarMetrics, y as useTemplateRef, yn as onShareAppMessage, yt as syncRuntimePageLayoutStateFromRuntime, z as UseAllBoundingClientRectOptions, zn as DisposableObject, zt as useLayoutBridge } from "./index-BKnpWfa6.mjs";
|
|
4
4
|
import { a as ActionContext, c as MutationType, d as SubscriptionCallback, i as defineStore, l as StoreManager, n as storeToRefs, o as ActionSubscriber, r as createStore, s as DefineStoreOptions, t as StoreToRefsResult, u as StoreSubscribeOptions } from "./index-CmPm9WU0.mjs";
|
|
5
5
|
export * from "@wevu/web-apis";
|
|
6
6
|
|
|
7
7
|
//#region src/vue-demi.d.ts
|
|
8
8
|
declare namespace vue_demi_d_exports {
|
|
9
|
-
export { ActionContext, ActionSubscriber, AlipayMiniProgramHostNamespace, AlipayMiniProgramHostSourceContract, AllowedComponentProps, AppConfig, ComponentCustomProps, ComponentDefinition, ComponentOptionsMixin, ComponentPropsOptions, ComponentPublicInstance, ComponentTypeEmits, ComputedDefinitions, ComputedGetter, ComputedRef, ComputedSetter, CreateAppOptions, CustomRefFactory, CustomRefOptions, CustomRefSource, DataOption, DefaultMiniProgramHostNamespace, DefaultMiniProgramHostSourceContract, DefineAppOptions, DefineComponent, DefineComponentOptions, DefineComponentTypePropsOptions, DefineComponentWithTypeProps, DefineModelModifiers, DefineModelTransformOptions, DefineStoreOptions, DisposableBag, DisposableLike, DisposableMethodName, DisposableObject, DouyinMiniProgramHostNamespace, DouyinMiniProgramHostSourceContract, EffectScope, EmitFn, EmitsOptions, ExtractComputed, ExtractDefaultPropTypes, ExtractMethods, ExtractPropTypes, ExtractPublicPropTypes, GlobalComponents, GlobalDirectives, HostMiniProgramAddToFavoritesOption, HostMiniProgramAppOptions, HostMiniProgramAppTrivialInstance, HostMiniProgramBehaviorIdentifier, HostMiniProgramBoundingClientRectResult, HostMiniProgramComponentAllFullProperty, HostMiniProgramComponentAllProperty, HostMiniProgramComponentBehaviorOptions, HostMiniProgramComponentEmptyArray, HostMiniProgramComponentInstance, HostMiniProgramComponentMethodOption, HostMiniProgramComponentPropertyOption, HostMiniProgramComponentPropertyValue, HostMiniProgramComponentShortProperty, HostMiniProgramComponentTrivialInstance, HostMiniProgramComponentTrivialOption, HostMiniProgramIntersectionObserver, HostMiniProgramIntersectionObserverOptions, HostMiniProgramLaunchOptions, HostMiniProgramMemoryWarningResult, HostMiniProgramNavigateToOption, HostMiniProgramNodesRef, HostMiniProgramNodesRefFields, HostMiniProgramPageLifetime, HostMiniProgramPageNotFoundOptions, HostMiniProgramPageResizeOption, HostMiniProgramPageScrollOption, HostMiniProgramPageTrivialInstance, HostMiniProgramReLaunchOption, HostMiniProgramRedirectToOption, HostMiniProgramRouter, HostMiniProgramSaveExitState, HostMiniProgramScrollOffsetResult, HostMiniProgramSelectorQuery, HostMiniProgramShareAppMessageOption, HostMiniProgramSwitchTabOption, HostMiniProgramTabItemTapOption, HostMiniProgramThemeChangeResult, HostMiniProgramTriggerEventOptions, HostMiniProgramUnhandledRejectionResult, InferNativePropType, InferNativeProps, InferPropType, InferProps, InternalRuntimeState, InternalRuntimeStateFields, LayoutBridgeInstance, LayoutHostBinding, MapSources, MaybeRef, MaybeRefOrGetter, MaybeUndefined, MethodDefinitions, MiniProgramAdapter, HostMiniProgramAddToFavoritesOption as MiniProgramAddToFavoritesOption, MiniProgramAppOptions, MiniProgramBehaviorIdentifier, HostMiniProgramBoundingClientRectResult as MiniProgramBoundingClientRectResult, MiniProgramCSSProperties, HostMiniProgramComponentAllFullProperty as MiniProgramComponentAllFullProperty, HostMiniProgramComponentAllProperty as MiniProgramComponentAllProperty, HostMiniProgramComponentBehaviorOptions as MiniProgramComponentBehaviorOptions, HostMiniProgramComponentEmptyArray as MiniProgramComponentEmptyArray, MiniProgramComponentInstance, HostMiniProgramComponentMethodOption as MiniProgramComponentMethodOption, MiniProgramComponentOptions, HostMiniProgramComponentPropertyOption as MiniProgramComponentPropertyOption, MiniProgramComponentPropertyValue, MiniProgramComponentRawOptions, HostMiniProgramComponentShortProperty as MiniProgramComponentShortProperty, MiniProgramDatasetAttributes, MiniProgramHostNamespace, MiniProgramHostNamespaceBySource, MiniProgramHostSourceName, MiniProgramHostSourceRegistry, MiniProgramHtmlAliasIntrinsicElements, MiniProgramInstance, HostMiniProgramIntersectionObserver as MiniProgramIntersectionObserver, HostMiniProgramIntersectionObserverOptions as MiniProgramIntersectionObserverOptions, MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicElements, MiniProgramIntrinsicEventHandler, HostMiniProgramLaunchOptions as MiniProgramLaunchOptions, HostMiniProgramMemoryWarningResult as MiniProgramMemoryWarningResult, HostMiniProgramNavigateToOption as MiniProgramNavigateToOption, HostMiniProgramNodesRef as MiniProgramNodesRef, HostMiniProgramNodesRefFields as MiniProgramNodesRefFields, HostMiniProgramPageLifetime as MiniProgramPageLifetime, MiniProgramPageLifetimes, HostMiniProgramPageNotFoundOptions as MiniProgramPageNotFoundOptions, HostMiniProgramPageResizeOption as MiniProgramPageResizeOption, HostMiniProgramPageScrollOption as MiniProgramPageScrollOption, MiniProgramPlatformHostNamespaceBySource, MiniProgramPlatformHostSourceName, MiniProgramPlatformHostSourceRegistry, HostMiniProgramReLaunchOption as MiniProgramReLaunchOption, HostMiniProgramRedirectToOption as MiniProgramRedirectToOption, HostMiniProgramRouter as MiniProgramRouter, MiniProgramRouterNavigateToOption, MiniProgramRouterReLaunchOption, MiniProgramRouterRedirectToOption, MiniProgramRouterSwitchTabOption, MiniProgramRuntimeHostNamespaceBySource, MiniProgramRuntimeHostSourceName, MiniProgramRuntimeHostSourceRegistry, HostMiniProgramSaveExitState as MiniProgramSaveExitState, HostMiniProgramScrollOffsetResult as MiniProgramScrollOffsetResult, HostMiniProgramSelectorQuery as MiniProgramSelectorQuery, HostMiniProgramShareAppMessageOption as MiniProgramShareAppMessageOption, HostMiniProgramSwitchTabOption as MiniProgramSwitchTabOption, HostMiniProgramTabItemTapOption as MiniProgramTabItemTapOption, MiniProgramTemplateRefValue, HostMiniProgramThemeChangeResult as MiniProgramThemeChangeResult, HostMiniProgramUnhandledRejectionResult as MiniProgramUnhandledRejectionResult, ModelBinding, ModelBindingOptions, ModelBindingPayload, ModelModifiers, ModelRef, MultiWatchSources, MutationKind, MutationOp, MutationRecord, MutationType, NativeComponent, NativePropType, NativePropsOptions, NativeTypeHint, NativeTypedProperty, ObjectDirective, OnCleanup, PageFeatures, PageLayoutMeta, PageLayoutState, PageMeta, PrelinkReactiveTreeOptions, PropConstructor, PropOptions, PropType, PublicProps, Ref, RuntimeApp, RuntimeInstance, SetDataDebugInfo, SetDataSnapshotOptions, SetupContext, SetupContextNativeInstance, SetupContextRouter, SetupContextWithTypeProps, SetupFunction, SetupFunctionWithTypeProps, ShallowRef, ShallowUnwrapRef, StoreManager, StoreSubscribeOptions, StoreToRefsResult, SubscriptionCallback, TemplateRef, TemplateRefValue, TemplateRefs, ToRefs, HostMiniProgramTriggerEventOptions as TriggerEventOptions, TtMiniProgramHostNamespace, TtMiniProgramHostSourceContract, UpdatePerformanceListener, UpdatePerformanceListenerResult, UseIntersectionObserverOptions, UseIntersectionObserverResult, UseModelOptions, UsePageScrollThrottleOptions, UsePageScrollThrottleStopHandle, UseUpdatePerformanceListenerStopHandle, VNode, VNodeProps, Vue2, WatchCallback, WatchEffect, WatchEffectOptions, WatchMultiSources, WatchOptions, WatchScheduler, WatchSource, WatchSourceValue, WatchSources, WatchStopHandle, WeappCSSProperties, WeappDatasetAttributes, WeappHtmlAliasIntrinsicElements, WeappIntrinsicElementBaseAttributes, WeappIntrinsicElements, WeappIntrinsicEventHandler, WechatMiniProgramHostNamespace, WechatMiniProgramHostSourceContract, WevuComponentConstructor, WevuDefaults, WevuDefinedComponent, WevuGlobalComponents, WevuGlobalDirectives, WevuPageLayoutMap, WevuPlugin, WevuTypedRouterRouteMap, WritableComputedOptions, WritableComputedRef, addMutationRecorder, batch, callHookList, callHookReturn, callUpdateHooks, computed, createApp, createStore, createWevuComponent, createWevuScopedSlotComponent, customRef, defineAppSetup, defineComponent, defineEmits, defineExpose, defineModel, defineOptions, definePageMeta, defineProps, defineSlots, defineStore, effect, effectScope, endBatch, getCurrentInstance, getCurrentScope, getCurrentSetupContext, getDeepWatchStrategy, getReactiveVersion, hasInjectionContext, inject, injectGlobal, install, isNoSetData, isProxy, isRaw, isReactive, isReadonly, isRef, isShallowReactive, isShallowRef, isVue2, isVue3, markNoSetData, markRaw, mergeModels, mountRuntimeInstance, nextTick, normalizeClass, normalizeStyle, onActivated, onAddToFavorites, onAttached, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onDetached, onError, onErrorCaptured, onHide, onLaunch, onLoad, onMemoryWarning, onMounted, onMoved, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onResize, onRouteDone, onSaveExitState, onScopeDispose, onServerPrefetch, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload, onUnmounted, onUpdated, prelinkReactiveTree, provide, provideGlobal, reactive, readonly, ref, registerApp, registerComponent, registerPageLayoutBridge, registerRuntimeLayoutHosts, removeMutationRecorder, resetWevuDefaults, resolveLayoutBridge, resolveLayoutHost, resolveRuntimePageLayoutName, runSetupFunction, setCurrentInstance, setCurrentSetupContext, setDeepWatchStrategy, setGlobalProvidedValue, setPageLayout, setRuntimeSetDataVisibility, setWevuDefaults, shallowReactive, shallowReadonly, shallowRef, startBatch, stop, storeToRefs, syncRuntimePageLayoutState, syncRuntimePageLayoutStateFromRuntime, teardownRuntimeInstance, toRaw, toRef, toRefs, toValue, touchReactive, traverse, triggerRef, unref, unregisterPageLayoutBridge, unregisterRuntimeLayoutHosts, use, useAttrs, useBindModel, useDisposables, useIntersectionObserver, useLayoutBridge, useLayoutHosts, useModel, useNativeInstance, useNativePageRouter, useNativeRouter, usePageLayout, usePageScrollThrottle, useSlots, useTemplateRef, useUpdatePerformanceListener, version, waitForLayoutHost, watch, watchEffect, watchPostEffect, watchSyncEffect, withDefaults };
|
|
9
|
+
export { ActionContext, ActionSubscriber, AlipayMiniProgramHostNamespace, AlipayMiniProgramHostSourceContract, AllowedComponentProps, AppConfig, ComponentCustomProps, ComponentDefinition, ComponentOptionsMixin, ComponentPropsOptions, ComponentPublicInstance, ComponentTypeEmits, ComputedDefinitions, ComputedGetter, ComputedRef, ComputedSetter, CreateAppOptions, CustomRefFactory, CustomRefOptions, CustomRefSource, DataOption, DefaultMiniProgramHostNamespace, DefaultMiniProgramHostSourceContract, DefineAppOptions, DefineComponent, DefineComponentOptions, DefineComponentTypePropsOptions, DefineComponentWithTypeProps, DefineModelModifiers, DefineModelTransformOptions, DefineStoreOptions, DisposableBag, DisposableLike, DisposableMethodName, DisposableObject, DouyinMiniProgramHostNamespace, DouyinMiniProgramHostSourceContract, EffectScope, ElementIntersectionObserverCallback, EmitFn, EmitsOptions, ExtractComputed, ExtractDefaultPropTypes, ExtractMethods, ExtractPropTypes, ExtractPublicPropTypes, GlobalComponents, GlobalDirectives, HostMiniProgramAddToFavoritesOption, HostMiniProgramAppOptions, HostMiniProgramAppTrivialInstance, HostMiniProgramBehaviorIdentifier, HostMiniProgramBoundingClientRectResult, HostMiniProgramComponentAllFullProperty, HostMiniProgramComponentAllProperty, HostMiniProgramComponentBehaviorOptions, HostMiniProgramComponentEmptyArray, HostMiniProgramComponentInstance, HostMiniProgramComponentMethodOption, HostMiniProgramComponentPropertyOption, HostMiniProgramComponentPropertyValue, HostMiniProgramComponentShortProperty, HostMiniProgramComponentTrivialInstance, HostMiniProgramComponentTrivialOption, HostMiniProgramIntersectionObserver, HostMiniProgramIntersectionObserverOptions, HostMiniProgramLaunchOptions, HostMiniProgramMemoryWarningResult, HostMiniProgramNavigateToOption, HostMiniProgramNodesRef, HostMiniProgramNodesRefFields, HostMiniProgramPageLifetime, HostMiniProgramPageNotFoundOptions, HostMiniProgramPageResizeOption, HostMiniProgramPageScrollOption, HostMiniProgramPageTrivialInstance, HostMiniProgramReLaunchOption, HostMiniProgramRedirectToOption, HostMiniProgramRouter, HostMiniProgramSaveExitState, HostMiniProgramScrollOffsetResult, HostMiniProgramSelectorQuery, HostMiniProgramShareAppMessageOption, HostMiniProgramSwitchTabOption, HostMiniProgramTabItemTapOption, HostMiniProgramThemeChangeResult, HostMiniProgramTriggerEventOptions, HostMiniProgramUnhandledRejectionResult, InferNativePropType, InferNativeProps, InferPropType, InferProps, InternalRuntimeState, InternalRuntimeStateFields, LayoutBridgeInstance, LayoutHostBinding, MapSources, MaybeRef, MaybeRefOrGetter, MaybeUndefined, MethodDefinitions, MiniProgramAdapter, HostMiniProgramAddToFavoritesOption as MiniProgramAddToFavoritesOption, MiniProgramAppOptions, MiniProgramBehaviorIdentifier, HostMiniProgramBoundingClientRectResult as MiniProgramBoundingClientRectResult, MiniProgramCSSProperties, HostMiniProgramComponentAllFullProperty as MiniProgramComponentAllFullProperty, HostMiniProgramComponentAllProperty as MiniProgramComponentAllProperty, HostMiniProgramComponentBehaviorOptions as MiniProgramComponentBehaviorOptions, HostMiniProgramComponentEmptyArray as MiniProgramComponentEmptyArray, MiniProgramComponentInstance, HostMiniProgramComponentMethodOption as MiniProgramComponentMethodOption, MiniProgramComponentOptions, HostMiniProgramComponentPropertyOption as MiniProgramComponentPropertyOption, MiniProgramComponentPropertyValue, MiniProgramComponentRawOptions, HostMiniProgramComponentShortProperty as MiniProgramComponentShortProperty, MiniProgramDatasetAttributes, MiniProgramHostNamespace, MiniProgramHostNamespaceBySource, MiniProgramHostSourceName, MiniProgramHostSourceRegistry, MiniProgramHtmlAliasIntrinsicElements, MiniProgramInstance, HostMiniProgramIntersectionObserver as MiniProgramIntersectionObserver, HostMiniProgramIntersectionObserverOptions as MiniProgramIntersectionObserverOptions, MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicElements, MiniProgramIntrinsicEventHandler, HostMiniProgramLaunchOptions as MiniProgramLaunchOptions, HostMiniProgramMemoryWarningResult as MiniProgramMemoryWarningResult, HostMiniProgramNavigateToOption as MiniProgramNavigateToOption, HostMiniProgramNodesRef as MiniProgramNodesRef, HostMiniProgramNodesRefFields as MiniProgramNodesRefFields, HostMiniProgramPageLifetime as MiniProgramPageLifetime, MiniProgramPageLifetimes, HostMiniProgramPageNotFoundOptions as MiniProgramPageNotFoundOptions, HostMiniProgramPageResizeOption as MiniProgramPageResizeOption, HostMiniProgramPageScrollOption as MiniProgramPageScrollOption, MiniProgramPlatformHostNamespaceBySource, MiniProgramPlatformHostSourceName, MiniProgramPlatformHostSourceRegistry, HostMiniProgramReLaunchOption as MiniProgramReLaunchOption, HostMiniProgramRedirectToOption as MiniProgramRedirectToOption, HostMiniProgramRouter as MiniProgramRouter, MiniProgramRouterNavigateToOption, MiniProgramRouterReLaunchOption, MiniProgramRouterRedirectToOption, MiniProgramRouterSwitchTabOption, MiniProgramRuntimeHostNamespaceBySource, MiniProgramRuntimeHostSourceName, MiniProgramRuntimeHostSourceRegistry, HostMiniProgramSaveExitState as MiniProgramSaveExitState, HostMiniProgramScrollOffsetResult as MiniProgramScrollOffsetResult, HostMiniProgramSelectorQuery as MiniProgramSelectorQuery, HostMiniProgramShareAppMessageOption as MiniProgramShareAppMessageOption, HostMiniProgramSwitchTabOption as MiniProgramSwitchTabOption, HostMiniProgramTabItemTapOption as MiniProgramTabItemTapOption, MiniProgramTemplateRefValue, HostMiniProgramThemeChangeResult as MiniProgramThemeChangeResult, HostMiniProgramUnhandledRejectionResult as MiniProgramUnhandledRejectionResult, ModelBinding, ModelBindingOptions, ModelBindingPayload, ModelModifiers, ModelRef, MultiWatchSources, MutationKind, MutationOp, MutationRecord, MutationType, NativeComponent, NativePropType, NativePropsOptions, NativeTypeHint, NativeTypedProperty, NavigationBarMetrics, ObjectDirective, OnCleanup, PageFeatures, PageLayoutMeta, PageLayoutState, PageMeta, PageStackSnapshot, PrelinkReactiveTreeOptions, PropConstructor, PropOptions, PropType, PublicProps, PullDownRefreshHandler, Ref, RuntimeApp, RuntimeInstance, SetDataDebugInfo, SetDataSnapshotOptions, SetupContext, SetupContextNativeInstance, SetupContextRouter, SetupContextWithTypeProps, SetupFunction, SetupFunctionWithTypeProps, ShallowRef, ShallowUnwrapRef, StoreManager, StoreSubscribeOptions, StoreToRefsResult, SubscriptionCallback, TemplateRef, TemplateRefValue, TemplateRefs, ToRefs, HostMiniProgramTriggerEventOptions as TriggerEventOptions, TtMiniProgramHostNamespace, TtMiniProgramHostSourceContract, UpdatePerformanceListener, UpdatePerformanceListenerResult, UseAllBoundingClientRectOptions, UseAllScrollOffsetOptions, UseAllSelectorFieldsOptions, UseAsyncPullDownRefreshOptions, UseBoundingClientRectOptions, UseElementIntersectionObserverOptions, UseElementIntersectionObserverReturn, UseIntersectionObserverOptions, UseIntersectionObserverResult, UseModelOptions, UseNavigationBarMetricsOptions, UsePageScrollThrottleOptions, UsePageScrollThrottleStopHandle, UsePageStackOptions, UseScrollOffsetOptions, UseSelectorFieldsOptions, UseSelectorQueryOptions, UseUpdatePerformanceListenerStopHandle, VNode, VNodeProps, Vue2, WatchCallback, WatchEffect, WatchEffectOptions, WatchMultiSources, WatchOptions, WatchScheduler, WatchSource, WatchSourceValue, WatchSources, WatchStopHandle, WeappCSSProperties, WeappDatasetAttributes, WeappHtmlAliasIntrinsicElements, WeappIntrinsicElementBaseAttributes, WeappIntrinsicElements, WeappIntrinsicEventHandler, WechatMiniProgramHostNamespace, WechatMiniProgramHostSourceContract, WevuComponentConstructor, WevuDefaults, WevuDefinedComponent, WevuGlobalComponents, WevuGlobalDirectives, WevuPageLayoutMap, WevuPlugin, WevuTypedRouterRouteMap, WritableComputedOptions, WritableComputedRef, addMutationRecorder, batch, callHookList, callHookReturn, callUpdateHooks, computed, createApp, createStore, createWevuComponent, createWevuScopedSlotComponent, customRef, defineAppSetup, defineComponent, defineEmits, defineExpose, defineModel, defineOptions, definePageMeta, defineProps, defineSlots, defineStore, effect, effectScope, endBatch, getCurrentInstance, getCurrentPageStackSnapshot, getCurrentScope, getCurrentSetupContext, getDeepWatchStrategy, getNavigationBarMetrics, getReactiveVersion, hasInjectionContext, inject, injectGlobal, install, isNoSetData, isProxy, isRaw, isReactive, isReadonly, isRef, isShallowReactive, isShallowRef, isVue2, isVue3, markNoSetData, markRaw, mergeModels, mountRuntimeInstance, nextTick, normalizeClass, normalizeStyle, onActivated, onAddToFavorites, onAttached, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onDetached, onError, onErrorCaptured, onHide, onLaunch, onLoad, onMemoryWarning, onMounted, onMoved, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onResize, onRouteDone, onSaveExitState, onScopeDispose, onServerPrefetch, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload, onUnmounted, onUpdated, prelinkReactiveTree, provide, provideGlobal, reactive, readonly, ref, registerApp, registerComponent, registerPageLayoutBridge, registerRuntimeLayoutHosts, removeMutationRecorder, resetWevuDefaults, resolveLayoutBridge, resolveLayoutHost, resolveRuntimePageLayoutName, runSetupFunction, setCurrentInstance, setCurrentSetupContext, setDeepWatchStrategy, setGlobalProvidedValue, setPageLayout, setRuntimeSetDataVisibility, setWevuDefaults, shallowReactive, shallowReadonly, shallowRef, startBatch, stop, storeToRefs, syncRuntimePageLayoutState, syncRuntimePageLayoutStateFromRuntime, teardownRuntimeInstance, toRaw, toRef, toRefs, toValue, touchReactive, traverse, triggerRef, unref, unregisterPageLayoutBridge, unregisterRuntimeLayoutHosts, use, useAsyncPullDownRefresh, useAttrs, useBindModel, useBoundingClientRect, useChangeModel, useDisposables, useElementIntersectionObserver, useIntersectionObserver, useLayoutBridge, useLayoutHosts, useModel, useNativeInstance, useNativePageRouter, useNativeRouter, useNavigationBarMetrics, usePageLayout, usePageScrollThrottle, usePageStack, useScrollOffset, useSelectorFields, useSelectorQuery, useSlots, useTemplateRef, useUpdatePerformanceListener, version, waitForLayoutHost, watch, watchEffect, watchPostEffect, watchSyncEffect, withDefaults };
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* 标记当前兼容层运行在 Vue 3 风格分支。
|
|
@@ -25,4 +25,4 @@ declare const Vue2: undefined;
|
|
|
25
25
|
*/
|
|
26
26
|
declare function install(): void;
|
|
27
27
|
//#endregion
|
|
28
|
-
export { ActionContext, ActionSubscriber, AlipayMiniProgramHostNamespace, AlipayMiniProgramHostSourceContract, AllowedComponentProps, AppConfig, ComponentCustomProps, ComponentDefinition, ComponentOptionsMixin, ComponentPropsOptions, ComponentPublicInstance, ComponentTypeEmits, ComputedDefinitions, ComputedGetter, ComputedRef, ComputedSetter, CreateAppOptions, CustomRefFactory, CustomRefOptions, CustomRefSource, DataOption, DefaultMiniProgramHostNamespace, DefaultMiniProgramHostSourceContract, DefineAppOptions, DefineComponent, DefineComponentOptions, DefineComponentTypePropsOptions, DefineComponentWithTypeProps, DefineModelModifiers, DefineModelTransformOptions, DefineStoreOptions, DisposableBag, DisposableLike, DisposableMethodName, DisposableObject, DouyinMiniProgramHostNamespace, DouyinMiniProgramHostSourceContract, EffectScope, EmitFn, EmitsOptions, ExtractComputed, ExtractDefaultPropTypes, ExtractMethods, ExtractPropTypes, ExtractPublicPropTypes, GlobalComponents, GlobalDirectives, HostMiniProgramAddToFavoritesOption, HostMiniProgramAddToFavoritesOption as MiniProgramAddToFavoritesOption, HostMiniProgramAppOptions, HostMiniProgramAppTrivialInstance, HostMiniProgramBehaviorIdentifier, HostMiniProgramBoundingClientRectResult, HostMiniProgramBoundingClientRectResult as MiniProgramBoundingClientRectResult, HostMiniProgramComponentAllFullProperty, HostMiniProgramComponentAllFullProperty as MiniProgramComponentAllFullProperty, HostMiniProgramComponentAllProperty, HostMiniProgramComponentAllProperty as MiniProgramComponentAllProperty, HostMiniProgramComponentBehaviorOptions, HostMiniProgramComponentBehaviorOptions as MiniProgramComponentBehaviorOptions, HostMiniProgramComponentEmptyArray, HostMiniProgramComponentEmptyArray as MiniProgramComponentEmptyArray, HostMiniProgramComponentInstance, HostMiniProgramComponentMethodOption, HostMiniProgramComponentMethodOption as MiniProgramComponentMethodOption, HostMiniProgramComponentPropertyOption, HostMiniProgramComponentPropertyOption as MiniProgramComponentPropertyOption, HostMiniProgramComponentPropertyValue, HostMiniProgramComponentShortProperty, HostMiniProgramComponentShortProperty as MiniProgramComponentShortProperty, HostMiniProgramComponentTrivialInstance, HostMiniProgramComponentTrivialOption, HostMiniProgramIntersectionObserver, HostMiniProgramIntersectionObserver as MiniProgramIntersectionObserver, HostMiniProgramIntersectionObserverOptions, HostMiniProgramIntersectionObserverOptions as MiniProgramIntersectionObserverOptions, HostMiniProgramLaunchOptions, HostMiniProgramLaunchOptions as MiniProgramLaunchOptions, HostMiniProgramMemoryWarningResult, HostMiniProgramMemoryWarningResult as MiniProgramMemoryWarningResult, HostMiniProgramNavigateToOption, HostMiniProgramNavigateToOption as MiniProgramNavigateToOption, HostMiniProgramNodesRef, HostMiniProgramNodesRef as MiniProgramNodesRef, HostMiniProgramNodesRefFields, HostMiniProgramNodesRefFields as MiniProgramNodesRefFields, HostMiniProgramPageLifetime, HostMiniProgramPageLifetime as MiniProgramPageLifetime, HostMiniProgramPageNotFoundOptions, HostMiniProgramPageNotFoundOptions as MiniProgramPageNotFoundOptions, HostMiniProgramPageResizeOption, HostMiniProgramPageResizeOption as MiniProgramPageResizeOption, HostMiniProgramPageScrollOption, HostMiniProgramPageScrollOption as MiniProgramPageScrollOption, HostMiniProgramPageTrivialInstance, HostMiniProgramReLaunchOption, HostMiniProgramReLaunchOption as MiniProgramReLaunchOption, HostMiniProgramRedirectToOption, HostMiniProgramRedirectToOption as MiniProgramRedirectToOption, HostMiniProgramRouter, HostMiniProgramRouter as MiniProgramRouter, HostMiniProgramSaveExitState, HostMiniProgramSaveExitState as MiniProgramSaveExitState, HostMiniProgramScrollOffsetResult, HostMiniProgramScrollOffsetResult as MiniProgramScrollOffsetResult, HostMiniProgramSelectorQuery, HostMiniProgramSelectorQuery as MiniProgramSelectorQuery, HostMiniProgramShareAppMessageOption, HostMiniProgramShareAppMessageOption as MiniProgramShareAppMessageOption, HostMiniProgramSwitchTabOption, HostMiniProgramSwitchTabOption as MiniProgramSwitchTabOption, HostMiniProgramTabItemTapOption, HostMiniProgramTabItemTapOption as MiniProgramTabItemTapOption, HostMiniProgramThemeChangeResult, HostMiniProgramThemeChangeResult as MiniProgramThemeChangeResult, HostMiniProgramTriggerEventOptions, HostMiniProgramTriggerEventOptions as TriggerEventOptions, HostMiniProgramUnhandledRejectionResult, HostMiniProgramUnhandledRejectionResult as MiniProgramUnhandledRejectionResult, InferNativePropType, InferNativeProps, InferPropType, InferProps, InternalRuntimeState, InternalRuntimeStateFields, LayoutBridgeInstance, LayoutHostBinding, MapSources, MaybeRef, MaybeRefOrGetter, MaybeUndefined, MethodDefinitions, MiniProgramAdapter, MiniProgramAppOptions, MiniProgramBehaviorIdentifier, MiniProgramCSSProperties, MiniProgramComponentInstance, MiniProgramComponentOptions, MiniProgramComponentPropertyValue, MiniProgramComponentRawOptions, MiniProgramDatasetAttributes, MiniProgramHostNamespace, MiniProgramHostNamespaceBySource, MiniProgramHostSourceName, MiniProgramHostSourceRegistry, MiniProgramHtmlAliasIntrinsicElements, MiniProgramInstance, MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicElements, MiniProgramIntrinsicEventHandler, MiniProgramPageLifetimes, MiniProgramPlatformHostNamespaceBySource, MiniProgramPlatformHostSourceName, MiniProgramPlatformHostSourceRegistry, MiniProgramRouterNavigateToOption, MiniProgramRouterReLaunchOption, MiniProgramRouterRedirectToOption, MiniProgramRouterSwitchTabOption, MiniProgramRuntimeHostNamespaceBySource, MiniProgramRuntimeHostSourceName, MiniProgramRuntimeHostSourceRegistry, MiniProgramTemplateRefValue, ModelBinding, ModelBindingOptions, ModelBindingPayload, ModelModifiers, ModelRef, MultiWatchSources, MutationKind, MutationOp, MutationRecord, MutationType, NativeComponent, NativePropType, NativePropsOptions, NativeTypeHint, NativeTypedProperty, ObjectDirective, OnCleanup, PageFeatures, PageLayoutMeta, PageLayoutState, PageMeta, PrelinkReactiveTreeOptions, PropConstructor, PropOptions, PropType, PublicProps, Ref, RuntimeApp, RuntimeInstance, SetDataDebugInfo, SetDataSnapshotOptions, SetupContext, SetupContextNativeInstance, SetupContextRouter, SetupContextWithTypeProps, SetupFunction, SetupFunctionWithTypeProps, ShallowRef, ShallowUnwrapRef, StoreManager, StoreSubscribeOptions, StoreToRefsResult, SubscriptionCallback, TemplateRef, TemplateRefValue, TemplateRefs, ToRefs, TtMiniProgramHostNamespace, TtMiniProgramHostSourceContract, UpdatePerformanceListener, UpdatePerformanceListenerResult, UseIntersectionObserverOptions, UseIntersectionObserverResult, UseModelOptions, UsePageScrollThrottleOptions, UsePageScrollThrottleStopHandle, UseUpdatePerformanceListenerStopHandle, VNode, VNodeProps, Vue2, WatchCallback, WatchEffect, WatchEffectOptions, WatchMultiSources, WatchOptions, WatchScheduler, WatchSource, WatchSourceValue, WatchSources, WatchStopHandle, WeappCSSProperties, WeappDatasetAttributes, WeappHtmlAliasIntrinsicElements, WeappIntrinsicElementBaseAttributes, WeappIntrinsicElements, WeappIntrinsicEventHandler, WechatMiniProgramHostNamespace, WechatMiniProgramHostSourceContract, WevuComponentConstructor, WevuDefaults, WevuDefinedComponent, WevuGlobalComponents, WevuGlobalDirectives, WevuPageLayoutMap, WevuPlugin, WevuTypedRouterRouteMap, WritableComputedOptions, WritableComputedRef, addMutationRecorder, batch, callHookList, callHookReturn, callUpdateHooks, computed, createApp, createStore, createWevuComponent, createWevuScopedSlotComponent, customRef, defineAppSetup, defineComponent, defineEmits, defineExpose, defineModel, defineOptions, definePageMeta, defineProps, defineSlots, defineStore, effect, effectScope, endBatch, getCurrentInstance, getCurrentScope, getCurrentSetupContext, getDeepWatchStrategy, getReactiveVersion, hasInjectionContext, inject, injectGlobal, install, isNoSetData, isProxy, isRaw, isReactive, isReadonly, isRef, isShallowReactive, isShallowRef, isVue2, isVue3, markNoSetData, markRaw, mergeModels, mountRuntimeInstance, nextTick, normalizeClass, normalizeStyle, onActivated, onAddToFavorites, onAttached, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onDetached, onError, onErrorCaptured, onHide, onLaunch, onLoad, onMemoryWarning, onMounted, onMoved, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onResize, onRouteDone, onSaveExitState, onScopeDispose, onServerPrefetch, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload, onUnmounted, onUpdated, prelinkReactiveTree, provide, provideGlobal, reactive, readonly, ref, registerApp, registerComponent, registerPageLayoutBridge, registerRuntimeLayoutHosts, removeMutationRecorder, resetWevuDefaults, resolveLayoutBridge, resolveLayoutHost, resolveRuntimePageLayoutName, runSetupFunction, setCurrentInstance, setCurrentSetupContext, setDeepWatchStrategy, setGlobalProvidedValue, setPageLayout, setRuntimeSetDataVisibility, setWevuDefaults, shallowReactive, shallowReadonly, shallowRef, startBatch, stop, storeToRefs, syncRuntimePageLayoutState, syncRuntimePageLayoutStateFromRuntime, teardownRuntimeInstance, toRaw, toRef, toRefs, toValue, touchReactive, traverse, triggerRef, unref, unregisterPageLayoutBridge, unregisterRuntimeLayoutHosts, use, useAttrs, useBindModel, useDisposables, useIntersectionObserver, useLayoutBridge, useLayoutHosts, useModel, useNativeInstance, useNativePageRouter, useNativeRouter, usePageLayout, usePageScrollThrottle, useSlots, useTemplateRef, useUpdatePerformanceListener, version, waitForLayoutHost, watch, watchEffect, watchPostEffect, watchSyncEffect, withDefaults };
|
|
28
|
+
export { ActionContext, ActionSubscriber, AlipayMiniProgramHostNamespace, AlipayMiniProgramHostSourceContract, AllowedComponentProps, AppConfig, ComponentCustomProps, ComponentDefinition, ComponentOptionsMixin, ComponentPropsOptions, ComponentPublicInstance, ComponentTypeEmits, ComputedDefinitions, ComputedGetter, ComputedRef, ComputedSetter, CreateAppOptions, CustomRefFactory, CustomRefOptions, CustomRefSource, DataOption, DefaultMiniProgramHostNamespace, DefaultMiniProgramHostSourceContract, DefineAppOptions, DefineComponent, DefineComponentOptions, DefineComponentTypePropsOptions, DefineComponentWithTypeProps, DefineModelModifiers, DefineModelTransformOptions, DefineStoreOptions, DisposableBag, DisposableLike, DisposableMethodName, DisposableObject, DouyinMiniProgramHostNamespace, DouyinMiniProgramHostSourceContract, EffectScope, ElementIntersectionObserverCallback, EmitFn, EmitsOptions, ExtractComputed, ExtractDefaultPropTypes, ExtractMethods, ExtractPropTypes, ExtractPublicPropTypes, GlobalComponents, GlobalDirectives, HostMiniProgramAddToFavoritesOption, HostMiniProgramAddToFavoritesOption as MiniProgramAddToFavoritesOption, HostMiniProgramAppOptions, HostMiniProgramAppTrivialInstance, HostMiniProgramBehaviorIdentifier, HostMiniProgramBoundingClientRectResult, HostMiniProgramBoundingClientRectResult as MiniProgramBoundingClientRectResult, HostMiniProgramComponentAllFullProperty, HostMiniProgramComponentAllFullProperty as MiniProgramComponentAllFullProperty, HostMiniProgramComponentAllProperty, HostMiniProgramComponentAllProperty as MiniProgramComponentAllProperty, HostMiniProgramComponentBehaviorOptions, HostMiniProgramComponentBehaviorOptions as MiniProgramComponentBehaviorOptions, HostMiniProgramComponentEmptyArray, HostMiniProgramComponentEmptyArray as MiniProgramComponentEmptyArray, HostMiniProgramComponentInstance, HostMiniProgramComponentMethodOption, HostMiniProgramComponentMethodOption as MiniProgramComponentMethodOption, HostMiniProgramComponentPropertyOption, HostMiniProgramComponentPropertyOption as MiniProgramComponentPropertyOption, HostMiniProgramComponentPropertyValue, HostMiniProgramComponentShortProperty, HostMiniProgramComponentShortProperty as MiniProgramComponentShortProperty, HostMiniProgramComponentTrivialInstance, HostMiniProgramComponentTrivialOption, HostMiniProgramIntersectionObserver, HostMiniProgramIntersectionObserver as MiniProgramIntersectionObserver, HostMiniProgramIntersectionObserverOptions, HostMiniProgramIntersectionObserverOptions as MiniProgramIntersectionObserverOptions, HostMiniProgramLaunchOptions, HostMiniProgramLaunchOptions as MiniProgramLaunchOptions, HostMiniProgramMemoryWarningResult, HostMiniProgramMemoryWarningResult as MiniProgramMemoryWarningResult, HostMiniProgramNavigateToOption, HostMiniProgramNavigateToOption as MiniProgramNavigateToOption, HostMiniProgramNodesRef, HostMiniProgramNodesRef as MiniProgramNodesRef, HostMiniProgramNodesRefFields, HostMiniProgramNodesRefFields as MiniProgramNodesRefFields, HostMiniProgramPageLifetime, HostMiniProgramPageLifetime as MiniProgramPageLifetime, HostMiniProgramPageNotFoundOptions, HostMiniProgramPageNotFoundOptions as MiniProgramPageNotFoundOptions, HostMiniProgramPageResizeOption, HostMiniProgramPageResizeOption as MiniProgramPageResizeOption, HostMiniProgramPageScrollOption, HostMiniProgramPageScrollOption as MiniProgramPageScrollOption, HostMiniProgramPageTrivialInstance, HostMiniProgramReLaunchOption, HostMiniProgramReLaunchOption as MiniProgramReLaunchOption, HostMiniProgramRedirectToOption, HostMiniProgramRedirectToOption as MiniProgramRedirectToOption, HostMiniProgramRouter, HostMiniProgramRouter as MiniProgramRouter, HostMiniProgramSaveExitState, HostMiniProgramSaveExitState as MiniProgramSaveExitState, HostMiniProgramScrollOffsetResult, HostMiniProgramScrollOffsetResult as MiniProgramScrollOffsetResult, HostMiniProgramSelectorQuery, HostMiniProgramSelectorQuery as MiniProgramSelectorQuery, HostMiniProgramShareAppMessageOption, HostMiniProgramShareAppMessageOption as MiniProgramShareAppMessageOption, HostMiniProgramSwitchTabOption, HostMiniProgramSwitchTabOption as MiniProgramSwitchTabOption, HostMiniProgramTabItemTapOption, HostMiniProgramTabItemTapOption as MiniProgramTabItemTapOption, HostMiniProgramThemeChangeResult, HostMiniProgramThemeChangeResult as MiniProgramThemeChangeResult, HostMiniProgramTriggerEventOptions, HostMiniProgramTriggerEventOptions as TriggerEventOptions, HostMiniProgramUnhandledRejectionResult, HostMiniProgramUnhandledRejectionResult as MiniProgramUnhandledRejectionResult, InferNativePropType, InferNativeProps, InferPropType, InferProps, InternalRuntimeState, InternalRuntimeStateFields, LayoutBridgeInstance, LayoutHostBinding, MapSources, MaybeRef, MaybeRefOrGetter, MaybeUndefined, MethodDefinitions, MiniProgramAdapter, MiniProgramAppOptions, MiniProgramBehaviorIdentifier, MiniProgramCSSProperties, MiniProgramComponentInstance, MiniProgramComponentOptions, MiniProgramComponentPropertyValue, MiniProgramComponentRawOptions, MiniProgramDatasetAttributes, MiniProgramHostNamespace, MiniProgramHostNamespaceBySource, MiniProgramHostSourceName, MiniProgramHostSourceRegistry, MiniProgramHtmlAliasIntrinsicElements, MiniProgramInstance, MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicElements, MiniProgramIntrinsicEventHandler, MiniProgramPageLifetimes, MiniProgramPlatformHostNamespaceBySource, MiniProgramPlatformHostSourceName, MiniProgramPlatformHostSourceRegistry, MiniProgramRouterNavigateToOption, MiniProgramRouterReLaunchOption, MiniProgramRouterRedirectToOption, MiniProgramRouterSwitchTabOption, MiniProgramRuntimeHostNamespaceBySource, MiniProgramRuntimeHostSourceName, MiniProgramRuntimeHostSourceRegistry, MiniProgramTemplateRefValue, ModelBinding, ModelBindingOptions, ModelBindingPayload, ModelModifiers, ModelRef, MultiWatchSources, MutationKind, MutationOp, MutationRecord, MutationType, NativeComponent, NativePropType, NativePropsOptions, NativeTypeHint, NativeTypedProperty, NavigationBarMetrics, ObjectDirective, OnCleanup, PageFeatures, PageLayoutMeta, PageLayoutState, PageMeta, PageStackSnapshot, PrelinkReactiveTreeOptions, PropConstructor, PropOptions, PropType, PublicProps, PullDownRefreshHandler, Ref, RuntimeApp, RuntimeInstance, SetDataDebugInfo, SetDataSnapshotOptions, SetupContext, SetupContextNativeInstance, SetupContextRouter, SetupContextWithTypeProps, SetupFunction, SetupFunctionWithTypeProps, ShallowRef, ShallowUnwrapRef, StoreManager, StoreSubscribeOptions, StoreToRefsResult, SubscriptionCallback, TemplateRef, TemplateRefValue, TemplateRefs, ToRefs, TtMiniProgramHostNamespace, TtMiniProgramHostSourceContract, UpdatePerformanceListener, UpdatePerformanceListenerResult, UseAllBoundingClientRectOptions, UseAllScrollOffsetOptions, UseAllSelectorFieldsOptions, UseAsyncPullDownRefreshOptions, UseBoundingClientRectOptions, UseElementIntersectionObserverOptions, UseElementIntersectionObserverReturn, UseIntersectionObserverOptions, UseIntersectionObserverResult, UseModelOptions, UseNavigationBarMetricsOptions, UsePageScrollThrottleOptions, UsePageScrollThrottleStopHandle, UsePageStackOptions, UseScrollOffsetOptions, UseSelectorFieldsOptions, UseSelectorQueryOptions, UseUpdatePerformanceListenerStopHandle, VNode, VNodeProps, Vue2, WatchCallback, WatchEffect, WatchEffectOptions, WatchMultiSources, WatchOptions, WatchScheduler, WatchSource, WatchSourceValue, WatchSources, WatchStopHandle, WeappCSSProperties, WeappDatasetAttributes, WeappHtmlAliasIntrinsicElements, WeappIntrinsicElementBaseAttributes, WeappIntrinsicElements, WeappIntrinsicEventHandler, WechatMiniProgramHostNamespace, WechatMiniProgramHostSourceContract, WevuComponentConstructor, WevuDefaults, WevuDefinedComponent, WevuGlobalComponents, WevuGlobalDirectives, WevuPageLayoutMap, WevuPlugin, WevuTypedRouterRouteMap, WritableComputedOptions, WritableComputedRef, addMutationRecorder, batch, callHookList, callHookReturn, callUpdateHooks, computed, createApp, createStore, createWevuComponent, createWevuScopedSlotComponent, customRef, defineAppSetup, defineComponent, defineEmits, defineExpose, defineModel, defineOptions, definePageMeta, defineProps, defineSlots, defineStore, effect, effectScope, endBatch, getCurrentInstance, getCurrentPageStackSnapshot, getCurrentScope, getCurrentSetupContext, getDeepWatchStrategy, getNavigationBarMetrics, getReactiveVersion, hasInjectionContext, inject, injectGlobal, install, isNoSetData, isProxy, isRaw, isReactive, isReadonly, isRef, isShallowReactive, isShallowRef, isVue2, isVue3, markNoSetData, markRaw, mergeModels, mountRuntimeInstance, nextTick, normalizeClass, normalizeStyle, onActivated, onAddToFavorites, onAttached, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onDetached, onError, onErrorCaptured, onHide, onLaunch, onLoad, onMemoryWarning, onMounted, onMoved, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onResize, onRouteDone, onSaveExitState, onScopeDispose, onServerPrefetch, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload, onUnmounted, onUpdated, prelinkReactiveTree, provide, provideGlobal, reactive, readonly, ref, registerApp, registerComponent, registerPageLayoutBridge, registerRuntimeLayoutHosts, removeMutationRecorder, resetWevuDefaults, resolveLayoutBridge, resolveLayoutHost, resolveRuntimePageLayoutName, runSetupFunction, setCurrentInstance, setCurrentSetupContext, setDeepWatchStrategy, setGlobalProvidedValue, setPageLayout, setRuntimeSetDataVisibility, setWevuDefaults, shallowReactive, shallowReadonly, shallowRef, startBatch, stop, storeToRefs, syncRuntimePageLayoutState, syncRuntimePageLayoutStateFromRuntime, teardownRuntimeInstance, toRaw, toRef, toRefs, toValue, touchReactive, traverse, triggerRef, unref, unregisterPageLayoutBridge, unregisterRuntimeLayoutHosts, use, useAsyncPullDownRefresh, useAttrs, useBindModel, useBoundingClientRect, useChangeModel, useDisposables, useElementIntersectionObserver, useIntersectionObserver, useLayoutBridge, useLayoutHosts, useModel, useNativeInstance, useNativePageRouter, useNativeRouter, useNavigationBarMetrics, usePageLayout, usePageScrollThrottle, usePageStack, useScrollOffset, useSelectorFields, useSelectorQuery, useSlots, useTemplateRef, useUpdatePerformanceListener, version, waitForLayoutHost, watch, watchEffect, watchPostEffect, watchSyncEffect, withDefaults };
|
package/dist/vue-demi.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-CbfVNrr-.mjs";import{C as e,D as t,E as n,N as r,O as i,S as a,T as o,a as s,b as c,c as l,d as u,f as d,g as f,h as p,i as m,k as h,l as g,n as _,o as v,p as y,s as b,t as x,u as S,w as C,x as w,y as T}from"./ref-Bs--7iY3.mjs";import{i as E,n as D,r as O,t as k}from"./store-B63-EIon.mjs";import{A,B as j,C as M,D as N,E as P,F,G as I,H as L,I as R,K as z,L as B,M as V,N as H,O as U,P as W,Q as G,R as K,T as q,U as J,V as Y,W as X,X as Z,Y as Q,Z as $,_ as ee,ct as te,dt as ne,et as re,g as ie,h as ae,j as oe,k as se,lt as ce,m as le,n as ue,q as de,t as fe,tt as pe,ut as me,v as he,w as ge,z as _e}from"./router-BtpVtHM4.mjs";import{$ as ve,A as ye,B as be,C as xe,
|
|
1
|
+
import"./chunk-CbfVNrr-.mjs";import{C as e,D as t,E as n,N as r,O as i,S as a,T as o,a as s,b as c,c as l,d as u,f as d,g as f,h as p,i as m,k as h,l as g,n as _,o as v,p as y,s as b,t as x,u as S,w as C,x as w,y as T}from"./ref-Bs--7iY3.mjs";import{i as E,n as D,r as O,t as k}from"./store-B63-EIon.mjs";import{A,B as j,C as M,D as N,E as P,F,G as I,H as L,I as R,K as z,L as B,M as V,N as H,O as U,P as W,Q as G,R as K,T as q,U as J,V as Y,W as X,X as Z,Y as Q,Z as $,_ as ee,ct as te,dt as ne,et as re,g as ie,h as ae,j as oe,k as se,lt as ce,m as le,n as ue,q as de,t as fe,tt as pe,ut as me,v as he,w as ge,z as _e}from"./router-BtpVtHM4.mjs";import{$ as ve,A as ye,B as be,C as xe,Ct as Se,D as Ce,E as we,F as Te,G as Ee,H as De,I as Oe,J as ke,K as Ae,L as je,M as Me,N as Ne,O as Pe,P as Fe,Q as Ie,R as Le,S as Re,St as ze,T as Be,U as Ve,V as He,W as Ue,X as We,Y as Ge,Z as Ke,_ as qe,_t as Je,a as Ye,at as Xe,b as Ze,bt as Qe,c as $e,ct as et,d as tt,dt as nt,et as rt,f as it,ft as at,g as ot,gt as st,h as ct,ht as lt,i as ut,it as dt,j as ft,k as pt,l as mt,lt as ht,m as gt,mt as _t,n as vt,nt as yt,o as bt,ot as xt,p as St,pt as Ct,q as wt,r as Tt,rt as Et,s as Dt,st as Ot,t as kt,tt as At,u as jt,ut as Mt,v as Nt,vt as Pt,w as Ft,wt as It,x as Lt,xt as Rt,y as zt,yt as Bt,z as Vt}from"./src-D9uUICz0.mjs";export*from"@wevu/web-apis";const Ht=!1,Ut=!0,Wt=void 0;function Gt(){}export{Wt as Vue2,c as addMutationRecorder,a as batch,Q as callHookList,Z as callHookReturn,et as callUpdateHooks,E as computed,ye as createApp,O as createStore,Ce as createWevuComponent,Pe as createWevuScopedSlotComponent,x as customRef,mt as defineAppSetup,pt as defineComponent,D as defineStore,e as effect,C as effectScope,o as endBatch,$ as getCurrentInstance,Ze as getCurrentPageStackSnapshot,n as getCurrentScope,G as getCurrentSetupContext,xt as getDeepWatchStrategy,Lt as getNavigationBarMetrics,b as getReactiveVersion,le as hasInjectionContext,ae as inject,ie as injectGlobal,Gt as install,ve as isNoSetData,te as isProxy,l as isRaw,g as isReactive,ce as isReadonly,_ as isRef,d as isShallowReactive,ze as isShallowRef,Ht as isVue2,Ut as isVue3,rt as markNoSetData,S as markRaw,vt as mergeModels,De as mountRuntimeInstance,r as nextTick,it as normalizeClass,St as normalizeStyle,ht as onActivated,ge as onAddToFavorites,q as onAttached,Mt as onBeforeMount,nt as onBeforeUnmount,at as onBeforeUpdate,Ct as onDeactivated,P as onDetached,N as onError,_t as onErrorCaptured,U as onHide,se as onLaunch,A as onLoad,oe as onMemoryWarning,lt as onMounted,V as onMoved,H as onPageNotFound,W as onPageScroll,F as onPullDownRefresh,R as onReachBottom,B as onReady,K as onResize,_e as onRouteDone,j as onSaveExitState,t as onScopeDispose,st as onServerPrefetch,Y as onShareAppMessage,L as onShareTimeline,J as onShow,X as onTabItemTap,I as onThemeChange,z as onUnhandledRejection,de as onUnload,Je as onUnmounted,Pt as onUpdated,p as prelinkReactiveTree,ee as provide,he as provideGlobal,u as reactive,me as readonly,m as ref,He as registerApp,ft as registerComponent,Me as registerPageLayoutBridge,Ne as registerRuntimeLayoutHosts,w as removeMutationRecorder,Ke as resetWevuDefaults,Fe as resolveLayoutBridge,Te as resolveLayoutHost,Ae as resolveRuntimePageLayoutName,Ee as runSetupFunction,re as setCurrentInstance,pe as setCurrentSetupContext,Ot as setDeepWatchStrategy,M as setGlobalProvidedValue,wt as setPageLayout,Ve as setRuntimeSetDataVisibility,Ie as setWevuDefaults,y as shallowReactive,ne as shallowReadonly,Se as shallowRef,i as startBatch,h as stop,k as storeToRefs,ke as syncRuntimePageLayoutState,Ge as syncRuntimePageLayoutStateFromRuntime,Ue as teardownRuntimeInstance,T as toRaw,Qe as toRef,Rt as toRefs,s as toValue,f as touchReactive,Bt as traverse,It as triggerRef,v as unref,Oe as unregisterPageLayoutBridge,je as unregisterRuntimeLayoutHosts,jt as use,Nt as useAsyncPullDownRefresh,bt as useAttrs,Tt as useBindModel,gt as useBoundingClientRect,ut as useChangeModel,we as useDisposables,Be as useElementIntersectionObserver,Ft as useIntersectionObserver,Le as useLayoutBridge,Vt as useLayoutHosts,Ye as useModel,Dt as useNativeInstance,fe as useNativePageRouter,ue as useNativeRouter,Re as useNavigationBarMetrics,We as usePageLayout,zt as usePageScrollThrottle,xe as usePageStack,ct as useScrollOffset,ot as useSelectorFields,qe as useSelectorQuery,$e as useSlots,kt as useTemplateRef,tt as useUpdatePerformanceListener,At as version,be as waitForLayoutHost,yt as watch,Et as watchEffect,dt as watchPostEffect,Xe as watchSyncEffect};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wevu",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "6.16.
|
|
4
|
+
"version": "6.16.3",
|
|
5
5
|
"description": "Vue 3 风格的小程序运行时,包含响应式、diff+setData 与轻量状态管理",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
"@weapp-core/constants": "^0.1.4",
|
|
185
185
|
"@weapp-core/shared": "3.0.4",
|
|
186
186
|
"@wevu/api": "0.2.6",
|
|
187
|
-
"@wevu/compiler": "6.16.
|
|
187
|
+
"@wevu/compiler": "6.16.3",
|
|
188
188
|
"@wevu/web-apis": "1.2.10"
|
|
189
189
|
},
|
|
190
190
|
"scripts": {
|