wevu 6.14.1 → 6.14.2

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.
@@ -907,7 +907,8 @@ type ScriptSetupObservedProperty<TProperty extends WechatMiniprogram.Component.A
907
907
  type ScriptSetupPropertyObserver<TProperty extends WechatMiniprogram.Component.AllProperty, TInstance> = TProperty extends infer TCurrent extends WechatMiniprogram.Component.AllFullProperty ? ScriptSetupObservedProperty<TCurrent, TInstance> : TProperty;
908
908
  type ScriptSetupNativeProperties<D extends object, P extends ScriptSetupNativePropertyOption, M extends ScriptSetupNativeMethodOption> = { [K in keyof P]: ScriptSetupPropertyObserver<P[K], ScriptSetupNativeInstance<D, P, M>> };
909
909
  type ScriptSetupNativeMethods<D extends object, P extends ScriptSetupNativePropertyOption, M extends ScriptSetupNativeMethodOption> = M & ThisType<ScriptSetupNativeInstance<D, P, M>>;
910
- type ScriptSetupDefineOptions<D extends object = Record<string, any>, C extends ComputedDefinitions = ComputedDefinitions, M extends MethodDefinitions = MethodDefinitions, P extends ScriptSetupNativePropertyOption = ScriptSetupNativePropertyOption> = Omit<DefineComponentOptions<ComponentPropsOptions, D, C, M>, 'props' | 'options' | 'data' | 'methods'> & {
910
+ type RemoveIndexSignature<T> = { [K in keyof T as string extends K ? never : number extends K ? never : symbol extends K ? never : K]: T[K] };
911
+ type ScriptSetupDefineOptions<D extends object = Record<string, any>, C extends ComputedDefinitions = ComputedDefinitions, M extends MethodDefinitions = MethodDefinitions, P extends ScriptSetupNativePropertyOption = ScriptSetupNativePropertyOption> = Omit<RemoveIndexSignature<DefineComponentOptions<ComponentPropsOptions, D, C, M>>, 'props' | 'options' | 'data' | 'methods'> & {
911
912
  /**
912
913
  * props 必须通过 defineProps() 声明。
913
914
  */
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { n as WeappIntrinsicElementBaseAttributes, r as WeappIntrinsicEventHandler } from "./weappIntrinsicElements-BWrmJql8.mjs";
2
2
  import { $ as WatchSources, $t as customRef, A as ComputedDefinitions, At as EffectScope, B as watchSyncEffect, Bt as ComputedGetter, C as MiniProgramComponentBehaviorOptions, Cn as NativeTypedProperty, Ct as prelinkReactiveTree, D as MiniProgramPageLifetimes, Dt as MutationRecord, E as MiniProgramInstance, En as PropType, Et as MutationOp, F as ModelBindingOptions, Ft as getCurrentScope, G as WatchCallback, Gt as computed, H as MaybeUndefined, Ht as ComputedSetter, I as ModelBindingPayload, It as onScopeDispose, J as WatchMultiSources, Jt as CustomRefSource, K as WatchEffect, Kt as CustomRefFactory, L as watch, Lt as startBatch, M as ExtractMethods, Mt as effect, N as MethodDefinitions, Nt as effectScope, O as TriggerEventOptions, Ot as addMutationRecorder, P as ModelBinding, Pt as endBatch, Q as WatchSourceValue, Qt as ShallowRef, R as watchEffect, Rt as stop, S as MiniProgramBehaviorIdentifier, Sn as NativeTypeHint, St as PrelinkReactiveTreeOptions, T as MiniProgramComponentRawOptions, Tn as PropOptions, Tt as MutationKind, U as MultiWatchSources, Ut as WritableComputedOptions, V as MapSources, Vt as ComputedRef, W as OnCleanup, Wt as WritableComputedRef, X as WatchScheduler, Xt as MaybeRefOrGetter, Y as WatchOptions, Yt as MaybeRef, Z as WatchSource, Zt as Ref, _ as RuntimeApp, _n as InferNativeProps, _t as markRaw, a as NativeComponent, at as toRef, b as MiniProgramAdapter, bn as NativePropType, bt as isShallowReactive, c as ShallowUnwrapRef, cn as SetupContextRouter, ct as shallowRef, d as SetupContext, dn as WevuTypedRouterRouteMap, dt as isReadonly, en as isRef, et as WatchStopHandle, f as SetupContextNativeInstance, fn as ComponentPropsOptions, ft as readonly, g as InternalRuntimeStateFields, gn as InferNativePropType, gt as isReactive, h as InternalRuntimeState, hn as ExtractPublicPropTypes, ht as isRaw, i as DefineComponent, it as ToRefs, j as ExtractComputed, jt as batch, k as ComponentPublicInstance, kt as removeMutationRecorder, l as VNode, lt as triggerRef, m as AppConfig, mn as ExtractPropTypes, mt as getReactiveVersion, n as ComponentCustomProps, nn as toValue, nt as setDeepWatchStrategy, o as ObjectDirective, ot as toRefs, p as SetupFunction, pn as ExtractDefaultPropTypes, pt as shallowReadonly, q as WatchEffectOptions, qt as CustomRefOptions, r as ComponentOptionsMixin, rn as unref, rt as traverse, s as PublicProps, st as isShallowRef, t as AllowedComponentProps, tn as ref, tt as getDeepWatchStrategy, u as VNodeProps, ut as isProxy, v as RuntimeInstance, vn as InferPropType, vt as reactive, w as MiniProgramComponentOptions, wn as PropConstructor, wt as touchReactive, x as MiniProgramAppOptions, xn as NativePropsOptions, xt as shallowReactive, y as WevuPlugin, yn as InferProps, yt as toRaw, z as watchPostEffect, zt as nextTick } from "./vue-types-CxI8OQhB.mjs";
3
- import { $ as WevuPageLayoutMap, $t as onUnhandledRejection, A as use, An as WevuGlobalDirectives, At as onUpdated, B as teardownRuntimeInstance, Bt as onPageNotFound, C as UseModelOptions, Cn as setWevuDefaults, Ct as onBeforeUnmount, D as useAttrs, Dn as TemplateRefValue, Dt as onMounted, E as useModel, En as GlobalDirectives, Et as onErrorCaptured, F as normalizeClass, Fn as PageFeatures, Ft as onHide, G as injectGlobal, Gt as onResize, H as registerApp, Ht as onPullDownRefresh, I as normalizeStyle, In as SetDataDebugInfo, It as onLaunch, J as setGlobalProvidedValue, Jt as onShareAppMessage, K as provide, Kt as onRouteDone, L as runSetupFunction, Ln as SetDataSnapshotOptions, Lt as onLoad, M as UpdatePerformanceListenerResult, Mn as DataOption, Mt as onAttached, N as UseUpdatePerformanceListenerStopHandle, Nn as DefineAppOptions, Nt as onDetached, O as useNativeInstance, On as TemplateRefs, Ot as onServerPrefetch, P as useUpdatePerformanceListener, Pn as DefineComponentOptions, Pt as onError, Q as PageLayoutState, Qt as onThemeChange, R as mountRuntimeInstance, Rt as onMemoryWarning, S as ModelModifiers, Sn as resetWevuDefaults, St as onBeforeMount, T as useBindModel, Tn as GlobalComponents, Tt as onDeactivated, U as hasInjectionContext, Ut as onReachBottom, V as registerComponent, Vt as onPageScroll, W as inject, Wt as onReady, X as UsePageScrollThrottleStopHandle, Xt as onShow, Y as UsePageScrollThrottleOptions, Yt as onShareTimeline, Z as usePageScrollThrottle, Zt as onTabItemTap, _ as EmitsOptions, _n as WevuComponentConstructor, _t as UseIntersectionObserverOptions, a as PageLayoutMeta, an as setCurrentInstance, at as isNoSetData, b as useNativePageRouter, bn as defineComponent, bt as callUpdateHooks, c as defineExpose, cn as DisposableLike, ct as registerPageLayoutBridge, d as definePageMeta, dn as useDisposables, dt as resolveLayoutHost, en as onUnload, et as resolveRuntimePageLayoutName, f as defineProps, fn as ComponentDefinition, ft as unregisterPageLayoutBridge, g as EmitFn, gn as SetupFunctionWithTypeProps, gt as waitForLayoutHost, h as ComponentTypeEmits, hn as SetupContextWithTypeProps, ht as useLayoutHosts, i as ModelRef, in as getCurrentSetupContext, it as usePageLayout, j as UpdatePerformanceListener, jn as CreateAppOptions, jt as onAddToFavorites, k as useSlots, kn as WevuGlobalComponents, kt as onUnmounted, l as defineModel, ln as DisposableMethodName, lt as registerRuntimeLayoutHosts, m as withDefaults, mn as DefineComponentWithTypeProps, mt as useLayoutBridge, n as DefineModelModifiers, nn as callHookReturn, nt as syncRuntimePageLayoutState, o as PageMeta, on as setCurrentSetupContext, ot as markNoSetData, p as defineSlots, pn as DefineComponentTypePropsOptions, pt as unregisterRuntimeLayoutHosts, q as provideGlobal, qt as onSaveExitState, r as DefineModelTransformOptions, rn as getCurrentInstance, rt as syncRuntimePageLayoutStateFromRuntime, s as defineEmits, sn as DisposableBag, st as LayoutHostBinding, t as version, tn as callHookList, tt as setPageLayout, u as defineOptions, un as DisposableObject, ut as resolveLayoutBridge, v as TemplateRef, vn as createWevuComponent, vt as UseIntersectionObserverResult, w as mergeModels, wn as createApp, wt as onBeforeUpdate, x as useNativeRouter, xn as WevuDefaults, xt as onActivated, y as useTemplateRef, yn as createWevuScopedSlotComponent, yt as useIntersectionObserver, z as setRuntimeSetDataVisibility, zt as onMoved } from "./index-Dqp4s9KD.mjs";
3
+ import { $ as WevuPageLayoutMap, $t as onUnhandledRejection, A as use, An as WevuGlobalDirectives, At as onUpdated, B as teardownRuntimeInstance, Bt as onPageNotFound, C as UseModelOptions, Cn as setWevuDefaults, Ct as onBeforeUnmount, D as useAttrs, Dn as TemplateRefValue, Dt as onMounted, E as useModel, En as GlobalDirectives, Et as onErrorCaptured, F as normalizeClass, Fn as PageFeatures, Ft as onHide, G as injectGlobal, Gt as onResize, H as registerApp, Ht as onPullDownRefresh, I as normalizeStyle, In as SetDataDebugInfo, It as onLaunch, J as setGlobalProvidedValue, Jt as onShareAppMessage, K as provide, Kt as onRouteDone, L as runSetupFunction, Ln as SetDataSnapshotOptions, Lt as onLoad, M as UpdatePerformanceListenerResult, Mn as DataOption, Mt as onAttached, N as UseUpdatePerformanceListenerStopHandle, Nn as DefineAppOptions, Nt as onDetached, O as useNativeInstance, On as TemplateRefs, Ot as onServerPrefetch, P as useUpdatePerformanceListener, Pn as DefineComponentOptions, Pt as onError, Q as PageLayoutState, Qt as onThemeChange, R as mountRuntimeInstance, Rt as onMemoryWarning, S as ModelModifiers, Sn as resetWevuDefaults, St as onBeforeMount, T as useBindModel, Tn as GlobalComponents, Tt as onDeactivated, U as hasInjectionContext, Ut as onReachBottom, V as registerComponent, Vt as onPageScroll, W as inject, Wt as onReady, X as UsePageScrollThrottleStopHandle, Xt as onShow, Y as UsePageScrollThrottleOptions, Yt as onShareTimeline, Z as usePageScrollThrottle, Zt as onTabItemTap, _ as EmitsOptions, _n as WevuComponentConstructor, _t as UseIntersectionObserverOptions, a as PageLayoutMeta, an as setCurrentInstance, at as isNoSetData, b as useNativePageRouter, bn as defineComponent, bt as callUpdateHooks, c as defineExpose, cn as DisposableLike, ct as registerPageLayoutBridge, d as definePageMeta, dn as useDisposables, dt as resolveLayoutHost, en as onUnload, et as resolveRuntimePageLayoutName, f as defineProps, fn as ComponentDefinition, ft as unregisterPageLayoutBridge, g as EmitFn, gn as SetupFunctionWithTypeProps, gt as waitForLayoutHost, h as ComponentTypeEmits, hn as SetupContextWithTypeProps, ht as useLayoutHosts, i as ModelRef, in as getCurrentSetupContext, it as usePageLayout, j as UpdatePerformanceListener, jn as CreateAppOptions, jt as onAddToFavorites, k as useSlots, kn as WevuGlobalComponents, kt as onUnmounted, l as defineModel, ln as DisposableMethodName, lt as registerRuntimeLayoutHosts, m as withDefaults, mn as DefineComponentWithTypeProps, mt as useLayoutBridge, n as DefineModelModifiers, nn as callHookReturn, nt as syncRuntimePageLayoutState, o as PageMeta, on as setCurrentSetupContext, ot as markNoSetData, p as defineSlots, pn as DefineComponentTypePropsOptions, pt as unregisterRuntimeLayoutHosts, q as provideGlobal, qt as onSaveExitState, r as DefineModelTransformOptions, rn as getCurrentInstance, rt as syncRuntimePageLayoutStateFromRuntime, s as defineEmits, sn as DisposableBag, st as LayoutHostBinding, t as version, tn as callHookList, tt as setPageLayout, u as defineOptions, un as DisposableObject, ut as resolveLayoutBridge, v as TemplateRef, vn as createWevuComponent, vt as UseIntersectionObserverResult, w as mergeModels, wn as createApp, wt as onBeforeUpdate, x as useNativeRouter, xn as WevuDefaults, xt as onActivated, y as useTemplateRef, yn as createWevuScopedSlotComponent, yt as useIntersectionObserver, z as setRuntimeSetDataVisibility, zt as onMoved } from "./index-DOuT5E8f.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-BZkMfL_L.mjs";
5
5
  export { ActionContext, ActionSubscriber, AllowedComponentProps, AppConfig, ComponentCustomProps, ComponentDefinition, ComponentOptionsMixin, ComponentPropsOptions, ComponentPublicInstance, ComponentTypeEmits, ComputedDefinitions, ComputedGetter, ComputedRef, ComputedSetter, CreateAppOptions, CustomRefFactory, CustomRefOptions, CustomRefSource, DataOption, DefineAppOptions, DefineComponent, DefineComponentOptions, DefineComponentTypePropsOptions, DefineComponentWithTypeProps, DefineModelModifiers, DefineModelTransformOptions, DefineStoreOptions, DisposableBag, DisposableLike, DisposableMethodName, DisposableObject, EffectScope, EmitFn, EmitsOptions, ExtractComputed, ExtractDefaultPropTypes, ExtractMethods, ExtractPropTypes, ExtractPublicPropTypes, GlobalComponents, GlobalDirectives, InferNativePropType, InferNativeProps, InferPropType, InferProps, InternalRuntimeState, InternalRuntimeStateFields, LayoutHostBinding, MapSources, MaybeRef, MaybeRefOrGetter, MaybeUndefined, MethodDefinitions, MiniProgramAdapter, MiniProgramAppOptions, MiniProgramBehaviorIdentifier, MiniProgramComponentBehaviorOptions, MiniProgramComponentOptions, MiniProgramComponentRawOptions, MiniProgramInstance, MiniProgramPageLifetimes, ModelBinding, ModelBindingOptions, ModelBindingPayload, ModelModifiers, ModelRef, MultiWatchSources, MutationKind, MutationOp, MutationRecord, MutationType, NativeComponent, NativePropType, NativePropsOptions, NativeTypeHint, NativeTypedProperty, ObjectDirective, OnCleanup, PageFeatures, PageLayoutMeta, PageLayoutState, PageMeta, PrelinkReactiveTreeOptions, PropConstructor, PropOptions, PropType, PublicProps, Ref, RuntimeApp, RuntimeInstance, SetDataDebugInfo, SetDataSnapshotOptions, SetupContext, SetupContextNativeInstance, SetupContextRouter, SetupContextWithTypeProps, SetupFunction, SetupFunctionWithTypeProps, ShallowRef, ShallowUnwrapRef, StoreManager, StoreSubscribeOptions, StoreToRefsResult, SubscriptionCallback, TemplateRef, TemplateRefValue, TemplateRefs, ToRefs, TriggerEventOptions, UpdatePerformanceListener, UpdatePerformanceListenerResult, UseIntersectionObserverOptions, UseIntersectionObserverResult, UseModelOptions, UsePageScrollThrottleOptions, UsePageScrollThrottleStopHandle, UseUpdatePerformanceListenerStopHandle, VNode, VNodeProps, WatchCallback, WatchEffect, WatchEffectOptions, WatchMultiSources, WatchOptions, WatchScheduler, WatchSource, WatchSourceValue, WatchSources, WatchStopHandle, WeappIntrinsicElementBaseAttributes, WeappIntrinsicEventHandler, WevuComponentConstructor, WevuDefaults, WevuGlobalComponents, WevuGlobalDirectives, WevuPageLayoutMap, WevuPlugin, WevuTypedRouterRouteMap, WritableComputedOptions, WritableComputedRef, addMutationRecorder, batch, callHookList, callHookReturn, callUpdateHooks, computed, createApp, createStore, createWevuComponent, createWevuScopedSlotComponent, customRef, defineComponent, defineEmits, defineExpose, defineModel, defineOptions, definePageMeta, defineProps, defineSlots, defineStore, effect, effectScope, endBatch, getCurrentInstance, getCurrentScope, getCurrentSetupContext, getDeepWatchStrategy, 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, resolveRuntimePageLayoutName, runSetupFunction, setCurrentInstance, setCurrentSetupContext, setDeepWatchStrategy, setGlobalProvidedValue, setPageLayout, setRuntimeSetDataVisibility, setWevuDefaults, shallowReactive, shallowReadonly, shallowRef, startBatch, stop, storeToRefs, syncRuntimePageLayoutState, syncRuntimePageLayoutStateFromRuntime, teardownRuntimeInstance, toRaw, toRef, toRefs, toValue, touchReactive, traverse, triggerRef, unref, unregisterPageLayoutBridge, unregisterRuntimeLayoutHosts, use, useAttrs, useBindModel, useDisposables, useIntersectionObserver, useLayoutBridge, useLayoutHosts, useModel, useNativeInstance, useNativePageRouter, useNativeRouter, usePageLayout, usePageScrollThrottle, useSlots, useTemplateRef, useUpdatePerformanceListener, version, waitForLayoutHost, watch, watchEffect, watchPostEffect, watchSyncEffect, withDefaults };
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  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-Ber-NAmk.mjs";
2
2
  import { i as computed, n as defineStore, r as createStore, t as storeToRefs } from "./store-DTHoZy79.mjs";
3
3
  import { A as onThemeChange, B as setCurrentSetupContext, C as onResize, D as onShareTimeline, E as onShareAppMessage, F as callHookReturn, G as readonly, I as getCurrentInstance, K as shallowReadonly, L as getCurrentSetupContext, M as onUnload, O as onShow, P as callHookList, S as onReady, T as onSaveExitState, U as isProxy, W as isReadonly, _ as onMoved, a as injectGlobal, b as onPullDownRefresh, c as setGlobalProvidedValue, d as onDetached, f as onError, g as onMemoryWarning, h as onLoad, i as inject, j as onUnhandledRejection, k as onTabItemTap, l as onAddToFavorites, m as onLaunch, n as useNativeRouter, o as provide, p as onHide, r as hasInjectionContext, s as provideGlobal, t as useNativePageRouter, u as onAttached, v as onPageNotFound, w as onRouteDone, x as onReachBottom, y as onPageScroll, z as setCurrentInstance } from "./router-B9F-WroF.mjs";
4
- import { $ as onBeforeMount, A as registerApp, B as resetWevuDefaults, C as resolveLayoutBridge, D as useLayoutBridge, E as unregisterRuntimeLayoutHosts, F as resolveRuntimePageLayoutName, G as watch, H as isNoSetData, I as setPageLayout, J as watchSyncEffect, K as watchEffect, L as syncRuntimePageLayoutState, M as setRuntimeSetDataVisibility, N as teardownRuntimeInstance, O as useLayoutHosts, P as runSetupFunction, Q as onActivated, R as syncRuntimePageLayoutStateFromRuntime, S as registerRuntimeLayoutHosts, T as unregisterPageLayoutBridge, U as markNoSetData, V as setWevuDefaults, W as version, X as setDeepWatchStrategy, Y as getDeepWatchStrategy, Z as callUpdateHooks, _ as createWevuScopedSlotComponent, a as useAttrs, at as onServerPrefetch, b as registerComponent, c as defineAppSetup, ct as traverse, d as normalizeClass, dt as isShallowRef, et as onBeforeUnmount, f as normalizeStyle, ft as shallowRef, g as createWevuComponent, h as useDisposables, i as useModel, it as onMounted, j as mountRuntimeInstance, k as waitForLayoutHost, l as use, lt as toRef, m as useIntersectionObserver, n as mergeModels, nt as onDeactivated, o as useNativeInstance, ot as onUnmounted, p as usePageScrollThrottle, pt as triggerRef, q as watchPostEffect, r as useBindModel, rt as onErrorCaptured, s as useSlots, st as onUpdated, t as useTemplateRef, tt as onBeforeUpdate, u as useUpdatePerformanceListener, ut as toRefs, v as defineComponent, w as resolveLayoutHost, x as registerPageLayoutBridge, y as createApp, z as usePageLayout } from "./src--JCUFfO-.mjs";
4
+ import { $ as onBeforeMount, A as registerApp, B as resetWevuDefaults, C as resolveLayoutBridge, D as useLayoutBridge, E as unregisterRuntimeLayoutHosts, F as resolveRuntimePageLayoutName, G as watch, H as isNoSetData, I as setPageLayout, J as watchSyncEffect, K as watchEffect, L as syncRuntimePageLayoutState, M as setRuntimeSetDataVisibility, N as teardownRuntimeInstance, O as useLayoutHosts, P as runSetupFunction, Q as onActivated, R as syncRuntimePageLayoutStateFromRuntime, S as registerRuntimeLayoutHosts, T as unregisterPageLayoutBridge, U as markNoSetData, V as setWevuDefaults, W as version, X as setDeepWatchStrategy, Y as getDeepWatchStrategy, Z as callUpdateHooks, _ as createWevuScopedSlotComponent, a as useAttrs, at as onServerPrefetch, b as registerComponent, c as defineAppSetup, ct as traverse, d as normalizeClass, dt as isShallowRef, et as onBeforeUnmount, f as normalizeStyle, ft as shallowRef, g as createWevuComponent, h as useDisposables, i as useModel, it as onMounted, j as mountRuntimeInstance, k as waitForLayoutHost, l as use, lt as toRef, m as useIntersectionObserver, n as mergeModels, nt as onDeactivated, o as useNativeInstance, ot as onUnmounted, p as usePageScrollThrottle, pt as triggerRef, q as watchPostEffect, r as useBindModel, rt as onErrorCaptured, s as useSlots, st as onUpdated, t as useTemplateRef, tt as onBeforeUpdate, u as useUpdatePerformanceListener, ut as toRefs, v as defineComponent, w as resolveLayoutHost, x as registerPageLayoutBridge, y as createApp, z as usePageLayout } from "./src-Ctge1Nv3.mjs";
5
5
  export { addMutationRecorder, batch, callHookList, callHookReturn, callUpdateHooks, computed, createApp, createStore, createWevuComponent, createWevuScopedSlotComponent, customRef, defineAppSetup, defineComponent, defineStore, effect, effectScope, endBatch, getCurrentInstance, getCurrentScope, getCurrentSetupContext, getDeepWatchStrategy, 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, resolveRuntimePageLayoutName, runSetupFunction, setCurrentInstance, setCurrentSetupContext, setDeepWatchStrategy, setGlobalProvidedValue, setPageLayout, setRuntimeSetDataVisibility, setWevuDefaults, shallowReactive, shallowReadonly, shallowRef, startBatch, stop, storeToRefs, syncRuntimePageLayoutState, syncRuntimePageLayoutStateFromRuntime, teardownRuntimeInstance, toRaw, toRef, toRefs, toValue, touchReactive, traverse, triggerRef, unref, unregisterPageLayoutBridge, unregisterRuntimeLayoutHosts, use, useAttrs, useBindModel, useDisposables, useIntersectionObserver, useLayoutBridge, useLayoutHosts, useModel, useNativeInstance, useNativePageRouter, useNativeRouter, usePageLayout, usePageScrollThrottle, useSlots, useTemplateRef, useUpdatePerformanceListener, version, waitForLayoutHost, watch, watchEffect, watchPostEffect, watchSyncEffect };
@@ -431,7 +431,7 @@ function watchSyncEffect(effectFn, options = {}) {
431
431
  }
432
432
  //#endregion
433
433
  //#region src/version.ts
434
- const version = "6.14.1";
434
+ const version = "6.14.2";
435
435
  //#endregion
436
436
  //#region src/utils.ts
437
437
  function capitalize(str) {
@@ -1,6 +1,6 @@
1
1
  import { n as WeappIntrinsicElementBaseAttributes, r as WeappIntrinsicEventHandler } from "./weappIntrinsicElements-BWrmJql8.mjs";
2
2
  import { $ as WatchSources, $t as customRef, A as ComputedDefinitions, At as EffectScope, B as watchSyncEffect, Bt as ComputedGetter, C as MiniProgramComponentBehaviorOptions, Cn as NativeTypedProperty, Ct as prelinkReactiveTree, D as MiniProgramPageLifetimes, Dt as MutationRecord, E as MiniProgramInstance, En as PropType, Et as MutationOp, F as ModelBindingOptions, Ft as getCurrentScope, G as WatchCallback, Gt as computed, H as MaybeUndefined, Ht as ComputedSetter, I as ModelBindingPayload, It as onScopeDispose, J as WatchMultiSources, Jt as CustomRefSource, K as WatchEffect, Kt as CustomRefFactory, L as watch, Lt as startBatch, M as ExtractMethods, Mt as effect, N as MethodDefinitions, Nt as effectScope, O as TriggerEventOptions, Ot as addMutationRecorder, P as ModelBinding, Pt as endBatch, Q as WatchSourceValue, Qt as ShallowRef, R as watchEffect, Rt as stop, S as MiniProgramBehaviorIdentifier, Sn as NativeTypeHint, St as PrelinkReactiveTreeOptions, T as MiniProgramComponentRawOptions, Tn as PropOptions, Tt as MutationKind, U as MultiWatchSources, Ut as WritableComputedOptions, V as MapSources, Vt as ComputedRef, W as OnCleanup, Wt as WritableComputedRef, X as WatchScheduler, Xt as MaybeRefOrGetter, Y as WatchOptions, Yt as MaybeRef, Z as WatchSource, Zt as Ref, _ as RuntimeApp, _n as InferNativeProps, _t as markRaw, a as NativeComponent, at as toRef, b as MiniProgramAdapter, bn as NativePropType, bt as isShallowReactive, c as ShallowUnwrapRef, cn as SetupContextRouter, ct as shallowRef, d as SetupContext, dn as WevuTypedRouterRouteMap, dt as isReadonly, en as isRef, et as WatchStopHandle, f as SetupContextNativeInstance, fn as ComponentPropsOptions, ft as readonly, g as InternalRuntimeStateFields, gn as InferNativePropType, gt as isReactive, h as InternalRuntimeState, hn as ExtractPublicPropTypes, ht as isRaw, i as DefineComponent, it as ToRefs, j as ExtractComputed, jt as batch, k as ComponentPublicInstance, kt as removeMutationRecorder, l as VNode, lt as triggerRef, m as AppConfig, mn as ExtractPropTypes, mt as getReactiveVersion, n as ComponentCustomProps, nn as toValue, nt as setDeepWatchStrategy, o as ObjectDirective, ot as toRefs, p as SetupFunction, pn as ExtractDefaultPropTypes, pt as shallowReadonly, q as WatchEffectOptions, qt as CustomRefOptions, r as ComponentOptionsMixin, rn as unref, rt as traverse, s as PublicProps, st as isShallowRef, t as AllowedComponentProps, tn as ref, tt as getDeepWatchStrategy, u as VNodeProps, ut as isProxy, v as RuntimeInstance, vn as InferPropType, vt as reactive, w as MiniProgramComponentOptions, wn as PropConstructor, wt as touchReactive, x as MiniProgramAppOptions, xn as NativePropsOptions, xt as shallowReactive, y as WevuPlugin, yn as InferProps, yt as toRaw, z as watchPostEffect, zt as nextTick } from "./vue-types-CxI8OQhB.mjs";
3
- import { $ as WevuPageLayoutMap, $t as onUnhandledRejection, A as use, An as WevuGlobalDirectives, At as onUpdated, B as teardownRuntimeInstance, Bt as onPageNotFound, C as UseModelOptions, Cn as setWevuDefaults, Ct as onBeforeUnmount, D as useAttrs, Dn as TemplateRefValue, Dt as onMounted, E as useModel, En as GlobalDirectives, Et as onErrorCaptured, F as normalizeClass, Fn as PageFeatures, Ft as onHide, G as injectGlobal, Gt as onResize, H as registerApp, Ht as onPullDownRefresh, I as normalizeStyle, In as SetDataDebugInfo, It as onLaunch, J as setGlobalProvidedValue, Jt as onShareAppMessage, K as provide, Kt as onRouteDone, L as runSetupFunction, Ln as SetDataSnapshotOptions, Lt as onLoad, M as UpdatePerformanceListenerResult, Mn as DataOption, Mt as onAttached, N as UseUpdatePerformanceListenerStopHandle, Nn as DefineAppOptions, Nt as onDetached, O as useNativeInstance, On as TemplateRefs, Ot as onServerPrefetch, P as useUpdatePerformanceListener, Pn as DefineComponentOptions, Pt as onError, Q as PageLayoutState, Qt as onThemeChange, R as mountRuntimeInstance, Rt as onMemoryWarning, S as ModelModifiers, Sn as resetWevuDefaults, St as onBeforeMount, T as useBindModel, Tn as GlobalComponents, Tt as onDeactivated, U as hasInjectionContext, Ut as onReachBottom, V as registerComponent, Vt as onPageScroll, W as inject, Wt as onReady, X as UsePageScrollThrottleStopHandle, Xt as onShow, Y as UsePageScrollThrottleOptions, Yt as onShareTimeline, Z as usePageScrollThrottle, Zt as onTabItemTap, _ as EmitsOptions, _n as WevuComponentConstructor, _t as UseIntersectionObserverOptions, a as PageLayoutMeta, an as setCurrentInstance, at as isNoSetData, b as useNativePageRouter, bn as defineComponent, bt as callUpdateHooks, c as defineExpose, cn as DisposableLike, ct as registerPageLayoutBridge, d as definePageMeta, dn as useDisposables, dt as resolveLayoutHost, en as onUnload, et as resolveRuntimePageLayoutName, f as defineProps, fn as ComponentDefinition, ft as unregisterPageLayoutBridge, g as EmitFn, gn as SetupFunctionWithTypeProps, gt as waitForLayoutHost, h as ComponentTypeEmits, hn as SetupContextWithTypeProps, ht as useLayoutHosts, i as ModelRef, in as getCurrentSetupContext, it as usePageLayout, j as UpdatePerformanceListener, jn as CreateAppOptions, jt as onAddToFavorites, k as useSlots, kn as WevuGlobalComponents, kt as onUnmounted, l as defineModel, ln as DisposableMethodName, lt as registerRuntimeLayoutHosts, m as withDefaults, mn as DefineComponentWithTypeProps, mt as useLayoutBridge, n as DefineModelModifiers, nn as callHookReturn, nt as syncRuntimePageLayoutState, o as PageMeta, on as setCurrentSetupContext, ot as markNoSetData, p as defineSlots, pn as DefineComponentTypePropsOptions, pt as unregisterRuntimeLayoutHosts, q as provideGlobal, qt as onSaveExitState, r as DefineModelTransformOptions, rn as getCurrentInstance, rt as syncRuntimePageLayoutStateFromRuntime, s as defineEmits, sn as DisposableBag, st as LayoutHostBinding, t as version, tn as callHookList, tt as setPageLayout, u as defineOptions, un as DisposableObject, ut as resolveLayoutBridge, v as TemplateRef, vn as createWevuComponent, vt as UseIntersectionObserverResult, w as mergeModels, wn as createApp, wt as onBeforeUpdate, x as useNativeRouter, xn as WevuDefaults, xt as onActivated, y as useTemplateRef, yn as createWevuScopedSlotComponent, yt as useIntersectionObserver, z as setRuntimeSetDataVisibility, zt as onMoved } from "./index-Dqp4s9KD.mjs";
3
+ import { $ as WevuPageLayoutMap, $t as onUnhandledRejection, A as use, An as WevuGlobalDirectives, At as onUpdated, B as teardownRuntimeInstance, Bt as onPageNotFound, C as UseModelOptions, Cn as setWevuDefaults, Ct as onBeforeUnmount, D as useAttrs, Dn as TemplateRefValue, Dt as onMounted, E as useModel, En as GlobalDirectives, Et as onErrorCaptured, F as normalizeClass, Fn as PageFeatures, Ft as onHide, G as injectGlobal, Gt as onResize, H as registerApp, Ht as onPullDownRefresh, I as normalizeStyle, In as SetDataDebugInfo, It as onLaunch, J as setGlobalProvidedValue, Jt as onShareAppMessage, K as provide, Kt as onRouteDone, L as runSetupFunction, Ln as SetDataSnapshotOptions, Lt as onLoad, M as UpdatePerformanceListenerResult, Mn as DataOption, Mt as onAttached, N as UseUpdatePerformanceListenerStopHandle, Nn as DefineAppOptions, Nt as onDetached, O as useNativeInstance, On as TemplateRefs, Ot as onServerPrefetch, P as useUpdatePerformanceListener, Pn as DefineComponentOptions, Pt as onError, Q as PageLayoutState, Qt as onThemeChange, R as mountRuntimeInstance, Rt as onMemoryWarning, S as ModelModifiers, Sn as resetWevuDefaults, St as onBeforeMount, T as useBindModel, Tn as GlobalComponents, Tt as onDeactivated, U as hasInjectionContext, Ut as onReachBottom, V as registerComponent, Vt as onPageScroll, W as inject, Wt as onReady, X as UsePageScrollThrottleStopHandle, Xt as onShow, Y as UsePageScrollThrottleOptions, Yt as onShareTimeline, Z as usePageScrollThrottle, Zt as onTabItemTap, _ as EmitsOptions, _n as WevuComponentConstructor, _t as UseIntersectionObserverOptions, a as PageLayoutMeta, an as setCurrentInstance, at as isNoSetData, b as useNativePageRouter, bn as defineComponent, bt as callUpdateHooks, c as defineExpose, cn as DisposableLike, ct as registerPageLayoutBridge, d as definePageMeta, dn as useDisposables, dt as resolveLayoutHost, en as onUnload, et as resolveRuntimePageLayoutName, f as defineProps, fn as ComponentDefinition, ft as unregisterPageLayoutBridge, g as EmitFn, gn as SetupFunctionWithTypeProps, gt as waitForLayoutHost, h as ComponentTypeEmits, hn as SetupContextWithTypeProps, ht as useLayoutHosts, i as ModelRef, in as getCurrentSetupContext, it as usePageLayout, j as UpdatePerformanceListener, jn as CreateAppOptions, jt as onAddToFavorites, k as useSlots, kn as WevuGlobalComponents, kt as onUnmounted, l as defineModel, ln as DisposableMethodName, lt as registerRuntimeLayoutHosts, m as withDefaults, mn as DefineComponentWithTypeProps, mt as useLayoutBridge, n as DefineModelModifiers, nn as callHookReturn, nt as syncRuntimePageLayoutState, o as PageMeta, on as setCurrentSetupContext, ot as markNoSetData, p as defineSlots, pn as DefineComponentTypePropsOptions, pt as unregisterRuntimeLayoutHosts, q as provideGlobal, qt as onSaveExitState, r as DefineModelTransformOptions, rn as getCurrentInstance, rt as syncRuntimePageLayoutStateFromRuntime, s as defineEmits, sn as DisposableBag, st as LayoutHostBinding, t as version, tn as callHookList, tt as setPageLayout, u as defineOptions, un as DisposableObject, ut as resolveLayoutBridge, v as TemplateRef, vn as createWevuComponent, vt as UseIntersectionObserverResult, w as mergeModels, wn as createApp, wt as onBeforeUpdate, x as useNativeRouter, xn as WevuDefaults, xt as onActivated, y as useTemplateRef, yn as createWevuScopedSlotComponent, yt as useIntersectionObserver, z as setRuntimeSetDataVisibility, zt as onMoved } from "./index-DOuT5E8f.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-BZkMfL_L.mjs";
5
5
 
6
6
  //#region src/vue-demi.d.ts
package/dist/vue-demi.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  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-Ber-NAmk.mjs";
2
2
  import { i as computed, n as defineStore, r as createStore, t as storeToRefs } from "./store-DTHoZy79.mjs";
3
3
  import { A as onThemeChange, B as setCurrentSetupContext, C as onResize, D as onShareTimeline, E as onShareAppMessage, F as callHookReturn, G as readonly, I as getCurrentInstance, K as shallowReadonly, L as getCurrentSetupContext, M as onUnload, O as onShow, P as callHookList, S as onReady, T as onSaveExitState, U as isProxy, W as isReadonly, _ as onMoved, a as injectGlobal, b as onPullDownRefresh, c as setGlobalProvidedValue, d as onDetached, f as onError, g as onMemoryWarning, h as onLoad, i as inject, j as onUnhandledRejection, k as onTabItemTap, l as onAddToFavorites, m as onLaunch, n as useNativeRouter, o as provide, p as onHide, r as hasInjectionContext, s as provideGlobal, t as useNativePageRouter, u as onAttached, v as onPageNotFound, w as onRouteDone, x as onReachBottom, y as onPageScroll, z as setCurrentInstance } from "./router-B9F-WroF.mjs";
4
- import { $ as onBeforeMount, A as registerApp, B as resetWevuDefaults, C as resolveLayoutBridge, D as useLayoutBridge, E as unregisterRuntimeLayoutHosts, F as resolveRuntimePageLayoutName, G as watch, H as isNoSetData, I as setPageLayout, J as watchSyncEffect, K as watchEffect, L as syncRuntimePageLayoutState, M as setRuntimeSetDataVisibility, N as teardownRuntimeInstance, O as useLayoutHosts, P as runSetupFunction, Q as onActivated, R as syncRuntimePageLayoutStateFromRuntime, S as registerRuntimeLayoutHosts, T as unregisterPageLayoutBridge, U as markNoSetData, V as setWevuDefaults, W as version, X as setDeepWatchStrategy, Y as getDeepWatchStrategy, Z as callUpdateHooks, _ as createWevuScopedSlotComponent, a as useAttrs, at as onServerPrefetch, b as registerComponent, c as defineAppSetup, ct as traverse, d as normalizeClass, dt as isShallowRef, et as onBeforeUnmount, f as normalizeStyle, ft as shallowRef, g as createWevuComponent, h as useDisposables, i as useModel, it as onMounted, j as mountRuntimeInstance, k as waitForLayoutHost, l as use, lt as toRef, m as useIntersectionObserver, n as mergeModels, nt as onDeactivated, o as useNativeInstance, ot as onUnmounted, p as usePageScrollThrottle, pt as triggerRef, q as watchPostEffect, r as useBindModel, rt as onErrorCaptured, s as useSlots, st as onUpdated, t as useTemplateRef, tt as onBeforeUpdate, u as useUpdatePerformanceListener, ut as toRefs, v as defineComponent, w as resolveLayoutHost, x as registerPageLayoutBridge, y as createApp, z as usePageLayout } from "./src--JCUFfO-.mjs";
4
+ import { $ as onBeforeMount, A as registerApp, B as resetWevuDefaults, C as resolveLayoutBridge, D as useLayoutBridge, E as unregisterRuntimeLayoutHosts, F as resolveRuntimePageLayoutName, G as watch, H as isNoSetData, I as setPageLayout, J as watchSyncEffect, K as watchEffect, L as syncRuntimePageLayoutState, M as setRuntimeSetDataVisibility, N as teardownRuntimeInstance, O as useLayoutHosts, P as runSetupFunction, Q as onActivated, R as syncRuntimePageLayoutStateFromRuntime, S as registerRuntimeLayoutHosts, T as unregisterPageLayoutBridge, U as markNoSetData, V as setWevuDefaults, W as version, X as setDeepWatchStrategy, Y as getDeepWatchStrategy, Z as callUpdateHooks, _ as createWevuScopedSlotComponent, a as useAttrs, at as onServerPrefetch, b as registerComponent, c as defineAppSetup, ct as traverse, d as normalizeClass, dt as isShallowRef, et as onBeforeUnmount, f as normalizeStyle, ft as shallowRef, g as createWevuComponent, h as useDisposables, i as useModel, it as onMounted, j as mountRuntimeInstance, k as waitForLayoutHost, l as use, lt as toRef, m as useIntersectionObserver, n as mergeModels, nt as onDeactivated, o as useNativeInstance, ot as onUnmounted, p as usePageScrollThrottle, pt as triggerRef, q as watchPostEffect, r as useBindModel, rt as onErrorCaptured, s as useSlots, st as onUpdated, t as useTemplateRef, tt as onBeforeUpdate, u as useUpdatePerformanceListener, ut as toRefs, v as defineComponent, w as resolveLayoutHost, x as registerPageLayoutBridge, y as createApp, z as usePageLayout } from "./src-Ctge1Nv3.mjs";
5
5
  //#region src/vue-demi.ts
6
6
  /**
7
7
  * 标记当前兼容层运行在 Vue 3 风格分支。
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wevu",
3
3
  "type": "module",
4
- "version": "6.14.1",
4
+ "version": "6.14.2",
5
5
  "description": "Vue 3 风格的小程序运行时,包含响应式、diff+setData 与轻量状态管理",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -103,7 +103,7 @@
103
103
  "dependencies": {
104
104
  "vue": "^3.5.32",
105
105
  "@wevu/api": "0.2.3",
106
- "@wevu/compiler": "6.14.1"
106
+ "@wevu/compiler": "6.14.2"
107
107
  },
108
108
  "scripts": {
109
109
  "dev": "tsdown -w",