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