wevu 7.2.0 → 7.2.1
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/package.mjs +1 -1
- package/dist/package.mjs +1 -1
- package/package.json +2 -2
- package/dist/dev/api/vitest/setup.d.mts +0 -1
- package/dist/dev/api/vitest.d.mts +0 -1
- package/dist/dev/api.d.mts +0 -1
- package/dist/dev/compiler.d.mts +0 -1
- package/dist/dev/fetch.d.mts +0 -9
- package/dist/dev/index.d.mts +0 -72
- package/dist/dev/internal-reactivity.d.mts +0 -18
- package/dist/dev/internal-runtime.d.mts +0 -44
- package/dist/dev/internal-template.d.mts +0 -2
- package/dist/dev/jsxTypes.d.mts +0 -9
- package/dist/dev/macros/shared.d.mts +0 -83
- package/dist/dev/macros.d.mts +0 -71
- package/dist/dev/reactivity/asyncDerivation.d.mts +0 -41
- package/dist/dev/reactivity/computed.d.mts +0 -25
- package/dist/dev/reactivity/core.d.mts +0 -35
- package/dist/dev/reactivity/index.d.mts +0 -16
- package/dist/dev/reactivity/reactive/mutation.d.mts +0 -21
- package/dist/dev/reactivity/reactive/patch.d.mts +0 -18
- package/dist/dev/reactivity/reactive/shallow.d.mts +0 -22
- package/dist/dev/reactivity/reactive/shared.d.mts +0 -4
- package/dist/dev/reactivity/reactive.d.mts +0 -42
- package/dist/dev/reactivity/readonly.d.mts +0 -27
- package/dist/dev/reactivity/ref.d.mts +0 -27
- package/dist/dev/reactivity/shallowRef.d.mts +0 -19
- package/dist/dev/reactivity/toRefs.d.mts +0 -43
- package/dist/dev/reactivity/traverse.d.mts +0 -8
- package/dist/dev/reactivity/watch/types.d.mts +0 -43
- package/dist/dev/reactivity/watch.d.mts +0 -22
- package/dist/dev/router/auto-routes.d.mts +0 -8
- package/dist/dev/router/createRouter.d.mts +0 -9
- package/dist/dev/router/navigationCore.d.mts +0 -7
- package/dist/dev/router/resolve.d.mts +0 -7
- package/dist/dev/router/routeSync.d.mts +0 -2
- package/dist/dev/router/types.d.mts +0 -267
- package/dist/dev/router/useRoute.d.mts +0 -20
- package/dist/dev/router/useRouter.d.mts +0 -9
- package/dist/dev/router.d.mts +0 -26
- package/dist/dev/routerInternal/location.d.mts +0 -2
- package/dist/dev/routerInternal/matching.d.mts +0 -2
- package/dist/dev/routerInternal/params.d.mts +0 -2
- package/dist/dev/routerInternal/query.d.mts +0 -7
- package/dist/dev/routerInternal/records.d.mts +0 -2
- package/dist/dev/routerInternal/recordsWarnings.d.mts +0 -2
- package/dist/dev/routerInternal/shared.d.mts +0 -9
- package/dist/dev/routerInternal/snapshots.d.mts +0 -2
- package/dist/dev/routerInternal/types.d.mts +0 -9
- package/dist/dev/runtime/app/pending.d.mts +0 -10
- package/dist/dev/runtime/app/setData/commitTracker.d.mts +0 -13
- package/dist/dev/runtime/app/setData/scheduler.d.mts +0 -51
- package/dist/dev/runtime/app.d.mts +0 -8
- package/dist/dev/runtime/capabilities.d.mts +0 -75
- package/dist/dev/runtime/css.d.mts +0 -14
- package/dist/dev/runtime/defaults.d.mts +0 -12
- package/dist/dev/runtime/define.d.mts +0 -118
- package/dist/dev/runtime/disposables.d.mts +0 -31
- package/dist/dev/runtime/elementIntersectionObserver.d.mts +0 -26
- package/dist/dev/runtime/features/inlineEvents.d.mts +0 -7
- package/dist/dev/runtime/features/layout.d.mts +0 -7
- package/dist/dev/runtime/features/patchStrategy.d.mts +0 -7
- package/dist/dev/runtime/features/publicLayout.d.mts +0 -24
- package/dist/dev/runtime/features/scopedSlots.d.mts +0 -23
- package/dist/dev/runtime/features/setDataHighFrequencyWarning.d.mts +0 -7
- package/dist/dev/runtime/features/templateRefs.d.mts +0 -7
- package/dist/dev/runtime/hooks/base.d.mts +0 -27
- package/dist/dev/runtime/hooks/register.d.mts +0 -30
- package/dist/dev/runtime/hooks/vue.d.mts +0 -52
- package/dist/dev/runtime/hooks.d.mts +0 -4
- package/dist/dev/runtime/index.d.mts +0 -46
- package/dist/dev/runtime/intersectionObserver.d.mts +0 -14
- package/dist/dev/runtime/jsxIsland.d.mts +0 -37
- package/dist/dev/runtime/layoutBridge.d.mts +0 -55
- package/dist/dev/runtime/noSetData.d.mts +0 -5
- package/dist/dev/runtime/pageEnvironment.d.mts +0 -50
- package/dist/dev/runtime/pageLayout.d.mts +0 -25
- package/dist/dev/runtime/pageScroll.d.mts +0 -29
- package/dist/dev/runtime/provide.d.mts +0 -60
- package/dist/dev/runtime/provideStore.d.mts +0 -7
- package/dist/dev/runtime/publicRuntime.d.mts +0 -22
- package/dist/dev/runtime/pullDownRefresh.d.mts +0 -12
- package/dist/dev/runtime/register/app.d.mts +0 -14
- package/dist/dev/runtime/register/component.d.mts +0 -17
- package/dist/dev/runtime/register/inline.d.mts +0 -15
- package/dist/dev/runtime/register/runtimeInstance.d.mts +0 -26
- package/dist/dev/runtime/register/setup.d.mts +0 -11
- package/dist/dev/runtime/register/watch.d.mts +0 -12
- package/dist/dev/runtime/register.d.mts +0 -5
- package/dist/dev/runtime/selectorQuery.d.mts +0 -54
- package/dist/dev/runtime/template.d.mts +0 -6
- package/dist/dev/runtime/templateRefTypes.d.mts +0 -12
- package/dist/dev/runtime/types/core.d.mts +0 -35
- package/dist/dev/runtime/types/miniprogram.d.mts +0 -84
- package/dist/dev/runtime/types/miniprogramHost.d.mts +0 -45
- package/dist/dev/runtime/types/miniprogramHostSources.d.mts +0 -112
- package/dist/dev/runtime/types/options.d.mts +0 -138
- package/dist/dev/runtime/types/props/propTypes.d.mts +0 -79
- package/dist/dev/runtime/types/props/router.d.mts +0 -51
- package/dist/dev/runtime/types/props/setup.d.mts +0 -96
- package/dist/dev/runtime/types/props.d.mts +0 -4
- package/dist/dev/runtime/types/runtime.d.mts +0 -59
- package/dist/dev/runtime/types/setData.d.mts +0 -237
- package/dist/dev/runtime/types.d.mts +0 -29
- package/dist/dev/runtime/uniAppHost.d.mts +0 -8
- package/dist/dev/runtime/updatePerformance.d.mts +0 -13
- package/dist/dev/runtime/use.d.mts +0 -13
- package/dist/dev/runtime/vueCompat/context.d.mts +0 -8
- package/dist/dev/runtime/vueCompat/model.d.mts +0 -30
- package/dist/dev/runtime/vueCompat/router.d.mts +0 -29
- package/dist/dev/runtime/vueCompat/templateRef.d.mts +0 -9
- package/dist/dev/runtime/vueCompat.d.mts +0 -5
- package/dist/dev/scheduler.d.mts +0 -4
- package/dist/dev/store/define.d.mts +0 -8
- package/dist/dev/store/manager.d.mts +0 -16
- package/dist/dev/store/storeToRefs.d.mts +0 -11
- package/dist/dev/store/types.d.mts +0 -106
- package/dist/dev/store.d.mts +0 -5
- package/dist/dev/version.d.mts +0 -4
- package/dist/dev/vue-augment.d.mts +0 -8
- package/dist/dev/vue-demi.d.mts +0 -87
- package/dist/dev/vue-types.d.mts +0 -19
- package/dist/dev/web-apis.d.mts +0 -3
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { RouteResolveCodec } from "./types.mjs";
|
|
2
|
-
import "./location.mjs";
|
|
3
|
-
import "./matching.mjs";
|
|
4
|
-
import "./params.mjs";
|
|
5
|
-
import { parseQuery, stringifyQuery } from "./query.mjs";
|
|
6
|
-
import "./records.mjs";
|
|
7
|
-
import "./recordsWarnings.mjs";
|
|
8
|
-
import "./snapshots.mjs";
|
|
9
|
-
export { type RouteResolveCodec, parseQuery, stringifyQuery };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { RouteQueryParser, RouteQueryStringifier } from "../router/types.mjs";
|
|
2
|
-
import "../router.mjs";
|
|
3
|
-
//#region src/routerInternal/types.d.ts
|
|
4
|
-
export interface RouteResolveCodec {
|
|
5
|
-
parseQuery: RouteQueryParser;
|
|
6
|
-
stringifyQuery: RouteQueryStringifier;
|
|
7
|
-
}
|
|
8
|
-
//#endregion
|
|
9
|
-
//# sourceMappingURL=types.d.mts.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { RuntimeApp } from "../types/runtime.mjs";
|
|
2
|
-
import "../types.mjs";
|
|
3
|
-
//#region src/runtime/app/pending.d.ts
|
|
4
|
-
export interface PendingRuntimeAppRegistration {
|
|
5
|
-
app: RuntimeApp<any, any, any>;
|
|
6
|
-
register: () => void;
|
|
7
|
-
}
|
|
8
|
-
export declare function takePendingRuntimeAppRegistration(): PendingRuntimeAppRegistration | undefined;
|
|
9
|
-
//#endregion
|
|
10
|
-
//# sourceMappingURL=pending.d.mts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { MiniProgramAdapter } from "../../types/miniprogram.mjs";
|
|
2
|
-
import "../../types.mjs";
|
|
3
|
-
//#region src/runtime/app/setData/commitTracker.d.ts
|
|
4
|
-
export type SetDataPayload = Record<string, unknown>;
|
|
5
|
-
export type SetDataAdapterSettlement = 'committed' | 'failed' | 'abandoned';
|
|
6
|
-
export type SetDataAdapterSettler = (settlement: SetDataAdapterSettlement, cause?: unknown) => void;
|
|
7
|
-
export interface CommitAwareSetDataAdapter extends MiniProgramAdapter {
|
|
8
|
-
__wevu_dispatchSetData?: (payload: SetDataPayload, settle: SetDataAdapterSettler) => void;
|
|
9
|
-
__wevu_reportSetDataError?: (error: Error) => void;
|
|
10
|
-
__wevu_disposeSetData?: () => void;
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
//# sourceMappingURL=commitTracker.d.mts.map
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { SetDataDebugInfo } from "../../types/setData.mjs";
|
|
2
|
-
import "../../types.mjs";
|
|
3
|
-
import { CommitAwareSetDataAdapter } from "./commitTracker.mjs";
|
|
4
|
-
import "../../capabilities.mjs";
|
|
5
|
-
import { WevuRuntimeBindingManifestV1 } from "@weapp-core/constants";
|
|
6
|
-
//#region src/runtime/app/setData/scheduler.d.ts
|
|
7
|
-
export interface SetDataSchedulerOptions {
|
|
8
|
-
state: Record<string, any>;
|
|
9
|
-
setupState?: Record<string, any>;
|
|
10
|
-
snapshotOmitKeys?: Set<string>;
|
|
11
|
-
computedRefs: Record<string, {
|
|
12
|
-
value: any;
|
|
13
|
-
}>;
|
|
14
|
-
dirtyComputedKeys: Set<string>;
|
|
15
|
-
includeComputed: boolean;
|
|
16
|
-
setDataStrategy: 'diff' | 'patch';
|
|
17
|
-
computedCompare: 'reference' | 'shallow' | 'deep';
|
|
18
|
-
computedCompareMaxDepth: number;
|
|
19
|
-
computedCompareMaxKeys: number;
|
|
20
|
-
currentAdapter: CommitAwareSetDataAdapter;
|
|
21
|
-
shouldIncludeKey: (key: string) => boolean;
|
|
22
|
-
maxPatchKeys: number;
|
|
23
|
-
maxPayloadBytes: number;
|
|
24
|
-
mergeSiblingThreshold: number;
|
|
25
|
-
mergeSiblingMaxInflationRatio: number;
|
|
26
|
-
mergeSiblingMaxParentBytes: number;
|
|
27
|
-
mergeSiblingSkipArray: boolean;
|
|
28
|
-
elevateTopKeyThreshold: number;
|
|
29
|
-
prelinkMaxDepth?: number;
|
|
30
|
-
prelinkMaxKeys?: number;
|
|
31
|
-
toPlainMaxDepth: number;
|
|
32
|
-
toPlainMaxKeys: number;
|
|
33
|
-
includeFunctions?: boolean;
|
|
34
|
-
functionPaths: string[];
|
|
35
|
-
debug: ((info: SetDataDebugInfo) => void) | undefined;
|
|
36
|
-
debugWhen: 'fallback' | 'always';
|
|
37
|
-
debugSampleRate: number;
|
|
38
|
-
bindingManifest?: WevuRuntimeBindingManifestV1;
|
|
39
|
-
loopWarning: false | {
|
|
40
|
-
sampleWindowMs: number;
|
|
41
|
-
maxFlushes: number;
|
|
42
|
-
coolDownMs: number;
|
|
43
|
-
};
|
|
44
|
-
targetLabel?: string;
|
|
45
|
-
runTracker: () => void;
|
|
46
|
-
isMounted: () => boolean;
|
|
47
|
-
initialSnapshot?: Record<string, any>;
|
|
48
|
-
initialState?: Record<string, any>;
|
|
49
|
-
}
|
|
50
|
-
//#endregion
|
|
51
|
-
//# sourceMappingURL=scheduler.d.mts.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ComputedDefinitions, MethodDefinitions } from "./types/core.mjs";
|
|
2
|
-
import { RuntimeApp } from "./types/runtime.mjs";
|
|
3
|
-
import { CreateAppOptions } from "./types/options.mjs";
|
|
4
|
-
import "./types.mjs";
|
|
5
|
-
//#region src/runtime/app.d.ts
|
|
6
|
-
export declare function createApp<D extends object, C extends ComputedDefinitions, M extends MethodDefinitions>(options: CreateAppOptions<D, C, M>): RuntimeApp<D, C, M>;
|
|
7
|
-
//#endregion
|
|
8
|
-
//# sourceMappingURL=app.d.mts.map
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { ComputedDefinitions, MethodDefinitions } from "./types/core.mjs";
|
|
2
|
-
import { InternalRuntimeState, RuntimeInstance } from "./types/runtime.mjs";
|
|
3
|
-
import { SetDataSnapshotOptions } from "./types/setData.mjs";
|
|
4
|
-
import "./types.mjs";
|
|
5
|
-
import { SetDataSchedulerOptions } from "./app/setData/scheduler.mjs";
|
|
6
|
-
import { InlineExpressionMap } from "./register/inline.mjs";
|
|
7
|
-
//#region src/runtime/capabilities.d.ts
|
|
8
|
-
export type RuntimeCapabilityName = 'patchStrategy' | 'templateRefs' | 'inlineEvents' | 'setDataHighFrequencyWarning' | 'scopedSlots' | 'layout';
|
|
9
|
-
export interface TemplateRefBinding {
|
|
10
|
-
selector: string;
|
|
11
|
-
inFor: boolean;
|
|
12
|
-
name?: string;
|
|
13
|
-
get?: () => unknown;
|
|
14
|
-
kind?: 'component' | 'element';
|
|
15
|
-
}
|
|
16
|
-
export interface LayoutHostBinding {
|
|
17
|
-
key: string;
|
|
18
|
-
refName?: string;
|
|
19
|
-
selector: string;
|
|
20
|
-
kind?: 'component';
|
|
21
|
-
}
|
|
22
|
-
export interface HighFrequencyWarningMonitorOptions {
|
|
23
|
-
option: SetDataSnapshotOptions['highFrequencyWarning'];
|
|
24
|
-
targetLabel: string;
|
|
25
|
-
isInPageScrollHook?: () => boolean;
|
|
26
|
-
now?: () => number;
|
|
27
|
-
logger?: (message: string) => void;
|
|
28
|
-
}
|
|
29
|
-
export interface SetDataScheduler {
|
|
30
|
-
job: () => void | Promise<void>;
|
|
31
|
-
snapshot: () => Record<string, unknown>;
|
|
32
|
-
cloneLatestSnapshot: () => Record<string, unknown>;
|
|
33
|
-
start?: () => void;
|
|
34
|
-
dispose?: () => void;
|
|
35
|
-
}
|
|
36
|
-
export interface ScopedSlotMountState {
|
|
37
|
-
ownerId: string;
|
|
38
|
-
shouldFlushNativeOwnerId: boolean;
|
|
39
|
-
}
|
|
40
|
-
export interface RuntimeCapabilityRegistry {
|
|
41
|
-
patchStrategy?: {
|
|
42
|
-
createScheduler: (options: SetDataSchedulerOptions) => SetDataScheduler;
|
|
43
|
-
};
|
|
44
|
-
templateRefs?: {
|
|
45
|
-
attachBindings: (target: InternalRuntimeState, bindings: readonly TemplateRefBinding[]) => void;
|
|
46
|
-
hasBindings: (target: InternalRuntimeState) => boolean;
|
|
47
|
-
schedule: (target: InternalRuntimeState, onResolved?: () => void, assignmentTarget?: InternalRuntimeState, onRejected?: (cause: unknown) => void) => void;
|
|
48
|
-
scheduleOwner: (target: InternalRuntimeState) => void;
|
|
49
|
-
clear: (target: InternalRuntimeState, assignmentTarget?: InternalRuntimeState) => void;
|
|
50
|
-
};
|
|
51
|
-
inlineEvents?: {
|
|
52
|
-
handler: (this: InternalRuntimeState, event: unknown) => unknown;
|
|
53
|
-
run: (context: unknown, expression: unknown, event: unknown, map?: InlineExpressionMap) => unknown;
|
|
54
|
-
};
|
|
55
|
-
setDataHighFrequencyWarning?: {
|
|
56
|
-
createMonitor: (options: HighFrequencyWarningMonitorOptions) => (() => void) | undefined;
|
|
57
|
-
};
|
|
58
|
-
scopedSlots?: {
|
|
59
|
-
prepareMount: (target: InternalRuntimeState) => ScopedSlotMountState;
|
|
60
|
-
attachMount: <D extends object, C extends ComputedDefinitions, M extends MethodDefinitions>(target: InternalRuntimeState, runtime: RuntimeInstance<D, C, M>, state: ScopedSlotMountState, deferSnapshot: boolean) => void;
|
|
61
|
-
refresh: (target: InternalRuntimeState, state: ScopedSlotMountState) => void;
|
|
62
|
-
syncNativeOwnerId: (target: InternalRuntimeState, state: ScopedSlotMountState) => void;
|
|
63
|
-
teardown: (target: InternalRuntimeState) => void;
|
|
64
|
-
resolveLifecycleProxy: (target: InternalRuntimeState) => unknown;
|
|
65
|
-
allocateOwnerId: () => string;
|
|
66
|
-
};
|
|
67
|
-
layout?: {
|
|
68
|
-
attachPageSetter: (target: InternalRuntimeState) => void;
|
|
69
|
-
attachHosts: (bindings: readonly LayoutHostBinding[], target: InternalRuntimeState) => void;
|
|
70
|
-
detachHosts: (bindings: readonly LayoutHostBinding[], target: InternalRuntimeState) => void;
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
//#endregion
|
|
74
|
-
export type { SetDataSchedulerOptions };
|
|
75
|
-
//# sourceMappingURL=capabilities.d.mts.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ComputedRef } from "../reactivity/computed.mjs";
|
|
2
|
-
import "../reactivity/index.mjs";
|
|
3
|
-
//#region src/runtime/css.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* 读取当前 SFC 的 CSS Modules 映射。
|
|
6
|
-
*/
|
|
7
|
-
export declare function useCssModule(name?: string): Record<string, string>;
|
|
8
|
-
/**
|
|
9
|
-
* 注册编译器生成的响应式 CSS 变量。
|
|
10
|
-
* @internal
|
|
11
|
-
*/
|
|
12
|
-
export declare function useCssVars(getter: (context: Record<string, any>) => Record<string, unknown>): ComputedRef<string>;
|
|
13
|
-
//#endregion
|
|
14
|
-
//# sourceMappingURL=css.d.mts.map
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { CreateAppOptions, DefineComponentOptions } from "./types/options.mjs";
|
|
2
|
-
import "./types.mjs";
|
|
3
|
-
//#region src/runtime/defaults.d.ts
|
|
4
|
-
export declare const INTERNAL_DEFAULTS_SCOPE_KEY = "__wevuDefaultsScope";
|
|
5
|
-
export interface WevuDefaults {
|
|
6
|
-
app?: Partial<CreateAppOptions<any, any, any>>;
|
|
7
|
-
component?: Partial<DefineComponentOptions<any, any, any, any>>;
|
|
8
|
-
}
|
|
9
|
-
export declare function setWevuDefaults(next: WevuDefaults): void;
|
|
10
|
-
export declare function resetWevuDefaults(): void;
|
|
11
|
-
//#endregion
|
|
12
|
-
//# sourceMappingURL=defaults.d.mts.map
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { HostMiniProgramComponentPropertyOption } from "./types/miniprogramHost.mjs";
|
|
2
|
-
import { MiniProgramComponentRawOptions } from "./types/miniprogram.mjs";
|
|
3
|
-
import { ComponentPropsOptions, InferProps } from "./types/props/propTypes.mjs";
|
|
4
|
-
import { ComponentPublicInstance, ComputedDefinitions, MethodDefinitions } from "./types/core.mjs";
|
|
5
|
-
import { RuntimeApp } from "./types/runtime.mjs";
|
|
6
|
-
import { DefineComponent, ShallowUnwrapRef } from "../vue-types.mjs";
|
|
7
|
-
import { SetDataSnapshotOptions } from "./types/setData.mjs";
|
|
8
|
-
import { DefineComponentOptions } from "./types/options.mjs";
|
|
9
|
-
import "./types.mjs";
|
|
10
|
-
import { WevuRuntimeBindingManifestV1 } from "@weapp-core/constants";
|
|
11
|
-
//#region src/runtime/define.d.ts
|
|
12
|
-
/**
|
|
13
|
-
* defineComponent 返回的组件定义描述,用于手动注册或高级用法。
|
|
14
|
-
*/
|
|
15
|
-
export interface ComponentDefinition<D extends object, C extends ComputedDefinitions, M extends MethodDefinitions> {
|
|
16
|
-
/**
|
|
17
|
-
* 内部 runtime app(高级能力使用),不对外暴露正式 API。
|
|
18
|
-
* @internal
|
|
19
|
-
*/
|
|
20
|
-
__wevu_runtime: RuntimeApp<D, C, M>;
|
|
21
|
-
/**
|
|
22
|
-
* 内部选项快照(高级能力使用),包含 data/computed/methods 等。
|
|
23
|
-
* @internal
|
|
24
|
-
*/
|
|
25
|
-
__wevu_options: {
|
|
26
|
-
scopedSlotOwnerRequired: boolean;
|
|
27
|
-
data: () => D;
|
|
28
|
-
computed: C;
|
|
29
|
-
methods: M;
|
|
30
|
-
setData: SetDataSnapshotOptions | undefined;
|
|
31
|
-
bindingManifest?: WevuRuntimeBindingManifestV1;
|
|
32
|
-
watch: Record<string, any> | undefined;
|
|
33
|
-
setup: ((props: any, ctx: any) => any) | undefined;
|
|
34
|
-
mpOptions: MiniProgramComponentRawOptions;
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
type SetupBindings<S> = Exclude<S, void> extends never ? Record<never, never> : Exclude<S, void>;
|
|
38
|
-
type ResolveProps<P> = P extends ComponentPropsOptions ? InferProps<P> : P;
|
|
39
|
-
export interface WevuComponentConstructor<Props, RawBindings, D extends object, C extends ComputedDefinitions, M extends MethodDefinitions> {
|
|
40
|
-
new (): ComponentPublicInstance<D, C, M, Props> & ShallowUnwrapRef<RawBindings>;
|
|
41
|
-
}
|
|
42
|
-
export type WevuDefinedComponent<PropsOrPropOptions, RawBindings, D extends object, C extends ComputedDefinitions, M extends MethodDefinitions> = DefineComponent<PropsOrPropOptions, RawBindings, D, C, M> & ComponentDefinition<D, C, M>;
|
|
43
|
-
export interface SetupContextWithTypeProps<TypeProps> {
|
|
44
|
-
props: TypeProps;
|
|
45
|
-
[key: string]: any;
|
|
46
|
-
}
|
|
47
|
-
export type SetupFunctionWithTypeProps<TypeProps> = (props: TypeProps, ctx: SetupContextWithTypeProps<TypeProps>) => Record<string, any> | void;
|
|
48
|
-
export interface DefineComponentTypePropsOptions<TypeProps> {
|
|
49
|
-
__typeProps: TypeProps;
|
|
50
|
-
setup?: SetupFunctionWithTypeProps<TypeProps>;
|
|
51
|
-
[key: string]: any;
|
|
52
|
-
}
|
|
53
|
-
export interface DefineComponentWithTypeProps<TypeProps> {
|
|
54
|
-
new (): {
|
|
55
|
-
$props: TypeProps;
|
|
56
|
-
} & Record<string, any>;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* 按 Vue 3 风格定义一个小程序组件/页面。
|
|
60
|
-
*
|
|
61
|
-
* - 统一注册为 `Component()`
|
|
62
|
-
*
|
|
63
|
-
* @param options 组件定义项
|
|
64
|
-
* @returns 可手动注册的组件定义
|
|
65
|
-
*
|
|
66
|
-
* @example
|
|
67
|
-
* ```ts
|
|
68
|
-
* defineComponent({
|
|
69
|
-
* data: () => ({ count: 0 }),
|
|
70
|
-
* setup() {
|
|
71
|
-
* onMounted(() => console.log('已挂载'))
|
|
72
|
-
* }
|
|
73
|
-
* })
|
|
74
|
-
* ```
|
|
75
|
-
*
|
|
76
|
-
* @example
|
|
77
|
-
* ```ts
|
|
78
|
-
* defineComponent({
|
|
79
|
-
* setup() {
|
|
80
|
-
* onPageScroll(() => {})
|
|
81
|
-
* }
|
|
82
|
-
* })
|
|
83
|
-
* ```
|
|
84
|
-
*/
|
|
85
|
-
export declare function defineComponent<TypeProps = any>(options: DefineComponentTypePropsOptions<TypeProps>): DefineComponentWithTypeProps<TypeProps>;
|
|
86
|
-
export declare function defineComponent<P extends ComponentPropsOptions = Record<never, never>, D extends object = Record<never, never>, C extends ComputedDefinitions = Record<never, never>, M extends MethodDefinitions = Record<never, never>, S extends Record<string, any> | void = void>(options: DefineComponentOptions<P, D, C, M, S>): WevuComponentConstructor<ResolveProps<P>, SetupBindings<S>, D, C, M> & ComponentDefinition<D, C, M>;
|
|
87
|
-
/**
|
|
88
|
-
* 创建不触发宿主全局注册的 Wevu 组件定义。
|
|
89
|
-
*
|
|
90
|
-
* @param options 组件选项
|
|
91
|
-
* @internal
|
|
92
|
-
*/
|
|
93
|
-
export declare function createWevuComponentDefinition(options: DefineComponentOptions<any, any, any, any, any>): WevuComponentConstructor<InferProps<ComponentPropsOptions>, Record<string, any>, Record<string, any>, ComputedDefinitions, MethodDefinitions> & ComponentDefinition<any, any, any>;
|
|
94
|
-
/**
|
|
95
|
-
* 从现有组件定义派生拥有独立应用上下文的组件定义。
|
|
96
|
-
*
|
|
97
|
-
* @param definition 已解析的 Wevu 组件定义
|
|
98
|
-
* @internal
|
|
99
|
-
*/
|
|
100
|
-
export declare function createIsolatedWevuComponentDefinition(definition: object): ComponentDefinition<any, any, any>;
|
|
101
|
-
/**
|
|
102
|
-
* 获取组件定义对应的宿主生命周期定义。
|
|
103
|
-
*
|
|
104
|
-
* @param definition Wevu 组件定义
|
|
105
|
-
* @internal
|
|
106
|
-
*/
|
|
107
|
-
export declare function getWevuComponentLifecycleDefinition(definition: object): Record<string, any> | undefined;
|
|
108
|
-
/**
|
|
109
|
-
* 从 Vue SFC 选项创建 wevu 组件,供 weapp-vite 编译产物直接调用的兼容入口。
|
|
110
|
-
*
|
|
111
|
-
* @param options 组件选项,可能包含小程序特有的 properties
|
|
112
|
-
* @internal
|
|
113
|
-
*/
|
|
114
|
-
export declare function createWevuComponent<P extends ComponentPropsOptions = ComponentPropsOptions, D extends object = Record<string, any>, C extends ComputedDefinitions = ComputedDefinitions, M extends MethodDefinitions = MethodDefinitions>(options: DefineComponentOptions<P, D, C, M> & {
|
|
115
|
-
properties?: HostMiniProgramComponentPropertyOption;
|
|
116
|
-
}): void;
|
|
117
|
-
//#endregion
|
|
118
|
-
//# sourceMappingURL=define.d.mts.map
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
//#region src/runtime/disposables.d.ts
|
|
2
|
-
export type DisposableMethodName = 'dispose' | 'abort' | 'cancel' | 'stop' | 'disconnect' | 'destroy' | 'close';
|
|
3
|
-
export type DisposableObject = Partial<Record<DisposableMethodName, () => void>>;
|
|
4
|
-
export type DisposableLike = (() => void) | DisposableObject;
|
|
5
|
-
export interface DisposableBag {
|
|
6
|
-
/**
|
|
7
|
-
* 注册一个清理项,返回“取消注册”函数(不会立即执行清理)。
|
|
8
|
-
*/
|
|
9
|
-
add: (target: DisposableLike | null | undefined) => () => void;
|
|
10
|
-
/**
|
|
11
|
-
* 立即执行并清空当前 bag 中的全部清理项(幂等)。
|
|
12
|
-
*/
|
|
13
|
-
dispose: () => void;
|
|
14
|
-
/**
|
|
15
|
-
* 注册 timeout,并在 bag dispose 时自动 clearTimeout。
|
|
16
|
-
*/
|
|
17
|
-
setTimeout: (handler: (...args: any[]) => void, timeout?: number, ...args: any[]) => ReturnType<typeof setTimeout>;
|
|
18
|
-
/**
|
|
19
|
-
* 注册 interval,并在 bag dispose 时自动 clearInterval。
|
|
20
|
-
*/
|
|
21
|
-
setInterval: (handler: (...args: any[]) => void, timeout?: number, ...args: any[]) => ReturnType<typeof setInterval>;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* 在 setup() 中创建一个“清理袋”,统一管理副作用释放。
|
|
25
|
-
*
|
|
26
|
-
* 典型用法:注册定时器、请求任务、事件监听退订函数,
|
|
27
|
-
* 在页面/组件卸载时自动批量清理,减少内存泄漏风险。
|
|
28
|
-
*/
|
|
29
|
-
export declare function useDisposables(): DisposableBag;
|
|
30
|
-
//#endregion
|
|
31
|
-
//# sourceMappingURL=disposables.d.mts.map
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { HostMiniProgramIntersectionObserver, HostMiniProgramIntersectionObserverOptions } from "./types/miniprogramHost.mjs";
|
|
2
|
-
import { MaybeRefOrGetter } from "../reactivity/ref.mjs";
|
|
3
|
-
import "../reactivity/index.mjs";
|
|
4
|
-
import { InternalRuntimeState } from "./types/runtime.mjs";
|
|
5
|
-
import "./types.mjs";
|
|
6
|
-
//#region src/runtime/elementIntersectionObserver.d.ts
|
|
7
|
-
export type ElementIntersectionObserverCallback<T = unknown> = (result: T) => void;
|
|
8
|
-
export interface UseElementIntersectionObserverOptions<T = unknown> {
|
|
9
|
-
context?: InternalRuntimeState | null;
|
|
10
|
-
enabled?: MaybeRefOrGetter<boolean>;
|
|
11
|
-
observerOptions?: MaybeRefOrGetter<HostMiniProgramIntersectionObserverOptions>;
|
|
12
|
-
onObserve?: ElementIntersectionObserverCallback<T>;
|
|
13
|
-
relativeToViewport?: boolean | Record<string, number>;
|
|
14
|
-
selector: MaybeRefOrGetter<string | null | undefined>;
|
|
15
|
-
}
|
|
16
|
-
export interface UseElementIntersectionObserverReturn {
|
|
17
|
-
disconnect: () => void;
|
|
18
|
-
observe: () => HostMiniProgramIntersectionObserver | null;
|
|
19
|
-
readonly observer: HostMiniProgramIntersectionObserver | null;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* 观察当前组件或页面内的节点可见性,并在卸载时自动断开。
|
|
23
|
-
*/
|
|
24
|
-
export declare function useElementIntersectionObserver<T = unknown>(options: UseElementIntersectionObserverOptions<T>): UseElementIntersectionObserverReturn;
|
|
25
|
-
//#endregion
|
|
26
|
-
//# sourceMappingURL=elementIntersectionObserver.d.mts.map
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { PageLayoutState, WevuPageLayoutMap, resolveRuntimePageLayoutName as resolveRuntimePageLayoutName$1, syncRuntimePageLayoutState as syncRuntimePageLayoutState$1, syncRuntimePageLayoutStateFromRuntime as syncRuntimePageLayoutStateFromRuntime$1, usePageLayout as usePageLayout$1 } from "../pageLayout.mjs";
|
|
2
|
-
import { LayoutHostBinding } from "../capabilities.mjs";
|
|
3
|
-
import { LayoutBridgeInstance, registerPageLayoutBridge as registerPageLayoutBridge$1, registerRuntimeLayoutHosts as registerRuntimeLayoutHosts$1, resolveLayoutBridge as resolveLayoutBridge$1, resolveLayoutHost as resolveLayoutHost$1, unregisterPageLayoutBridge as unregisterPageLayoutBridge$1, unregisterRuntimeLayoutHosts as unregisterRuntimeLayoutHosts$1, useLayoutBridge as useLayoutBridge$1, useLayoutHosts as useLayoutHosts$1, waitForLayoutHost as waitForLayoutHost$1 } from "../layoutBridge.mjs";
|
|
4
|
-
//#region src/runtime/features/publicLayout.d.ts
|
|
5
|
-
export declare const registerPageLayoutBridge: typeof registerPageLayoutBridge$1;
|
|
6
|
-
export declare const unregisterPageLayoutBridge: typeof unregisterPageLayoutBridge$1;
|
|
7
|
-
export declare const resolveLayoutBridge: typeof resolveLayoutBridge$1;
|
|
8
|
-
export declare const resolveLayoutHost: typeof resolveLayoutHost$1;
|
|
9
|
-
export declare const waitForLayoutHost: typeof waitForLayoutHost$1;
|
|
10
|
-
export declare const useLayoutBridge: typeof useLayoutBridge$1;
|
|
11
|
-
export declare const registerRuntimeLayoutHosts: typeof registerRuntimeLayoutHosts$1;
|
|
12
|
-
export declare const unregisterRuntimeLayoutHosts: typeof unregisterRuntimeLayoutHosts$1;
|
|
13
|
-
export declare const useLayoutHosts: typeof useLayoutHosts$1;
|
|
14
|
-
export declare const usePageLayout: typeof usePageLayout$1;
|
|
15
|
-
type PublicPageLayoutName = keyof WevuPageLayoutMap extends never ? string : Extract<keyof WevuPageLayoutMap, string>;
|
|
16
|
-
type PublicPageLayoutProps<Name extends string> = Name extends keyof WevuPageLayoutMap ? WevuPageLayoutMap[Name] : object;
|
|
17
|
-
export declare function setPageLayout(layout: false): void;
|
|
18
|
-
export declare function setPageLayout<Name extends PublicPageLayoutName>(layout: Name, props?: PublicPageLayoutProps<Name>): void;
|
|
19
|
-
export declare const syncRuntimePageLayoutState: typeof syncRuntimePageLayoutState$1;
|
|
20
|
-
export declare const syncRuntimePageLayoutStateFromRuntime: typeof syncRuntimePageLayoutStateFromRuntime$1;
|
|
21
|
-
export declare const resolveRuntimePageLayoutName: typeof resolveRuntimePageLayoutName$1;
|
|
22
|
-
//#endregion
|
|
23
|
-
export type { LayoutBridgeInstance, LayoutHostBinding, PageLayoutState, WevuPageLayoutMap };
|
|
24
|
-
//# sourceMappingURL=publicLayout.d.mts.map
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComputedDefinitions } from "../types/core.mjs";
|
|
2
|
-
import "../types.mjs";
|
|
3
|
-
import { InlineExpressionMap } from "../register/inline.mjs";
|
|
4
|
-
import { LayoutHostBinding, TemplateRefBinding } from "../capabilities.mjs";
|
|
5
|
-
import { WEVU_BINDING_MANIFEST_KEY, WevuRuntimeBindingManifestV1 } from "@weapp-core/constants";
|
|
6
|
-
//#region src/runtime/features/scopedSlots.d.ts
|
|
7
|
-
export interface CreateWevuScopedSlotComponentOptions {
|
|
8
|
-
computed?: ComputedDefinitions;
|
|
9
|
-
inlineMap?: InlineExpressionMap;
|
|
10
|
-
layoutHosts?: LayoutHostBinding[];
|
|
11
|
-
templateRefs?: TemplateRefBinding[];
|
|
12
|
-
[WEVU_BINDING_MANIFEST_KEY]?: WevuRuntimeBindingManifestV1;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* 创建编译器生成的作用域插槽组件。
|
|
16
|
-
*/
|
|
17
|
-
export declare function createWevuScopedSlotComponent(overrides?: CreateWevuScopedSlotComponentOptions): void;
|
|
18
|
-
/**
|
|
19
|
-
* 安装作用域插槽的 owner 生命周期与组件创建能力。
|
|
20
|
-
*/
|
|
21
|
-
export declare function installScopedSlots(): void;
|
|
22
|
-
//#endregion
|
|
23
|
-
//# sourceMappingURL=scopedSlots.d.mts.map
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { InternalRuntimeState } from "../types/runtime.mjs";
|
|
2
|
-
import "../types.mjs";
|
|
3
|
-
//#region src/runtime/hooks/base.d.ts
|
|
4
|
-
export declare function getCurrentInstance<T extends InternalRuntimeState = InternalRuntimeState>(): T | undefined;
|
|
5
|
-
/**
|
|
6
|
-
* 设置当前运行时实例(框架内部使用)。
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
|
-
export declare function setCurrentInstance(inst: InternalRuntimeState | undefined): void;
|
|
10
|
-
export declare function getCurrentSetupContext<T = any>(): T | undefined;
|
|
11
|
-
/**
|
|
12
|
-
* 设置当前 setup 上下文(框架内部使用)。
|
|
13
|
-
* @internal
|
|
14
|
-
*/
|
|
15
|
-
export declare function setCurrentSetupContext(ctx: any | undefined): void;
|
|
16
|
-
/**
|
|
17
|
-
* 调用批量 hook(框架内部调度入口)。
|
|
18
|
-
* @internal
|
|
19
|
-
*/
|
|
20
|
-
export declare function callHookList(target: InternalRuntimeState, name: string, args?: any[]): void;
|
|
21
|
-
/**
|
|
22
|
-
* 调用返回值型 hook(框架内部调度入口)。
|
|
23
|
-
* @internal
|
|
24
|
-
*/
|
|
25
|
-
export declare function callHookReturn(target: InternalRuntimeState, name: string, args?: any[]): any;
|
|
26
|
-
//#endregion
|
|
27
|
-
//# sourceMappingURL=base.d.mts.map
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { HostMiniProgramAddToFavoritesOption, HostMiniProgramLaunchOptions, HostMiniProgramMemoryWarningResult, HostMiniProgramPageLifetime, HostMiniProgramPageNotFoundOptions, HostMiniProgramPageResizeOption, HostMiniProgramPageScrollOption, HostMiniProgramSaveExitState, HostMiniProgramShareAppMessageOption, HostMiniProgramTabItemTapOption, HostMiniProgramThemeChangeResult, HostMiniProgramUnhandledRejectionResult } from "../types/miniprogramHost.mjs";
|
|
2
|
-
import "../types.mjs";
|
|
3
|
-
//#region src/runtime/hooks/register.d.ts
|
|
4
|
-
export declare function onLaunch(handler: (options: HostMiniProgramLaunchOptions) => void): void;
|
|
5
|
-
export declare function onPageNotFound(handler: (options: HostMiniProgramPageNotFoundOptions) => void): void;
|
|
6
|
-
export declare function onUnhandledRejection(handler: (options: HostMiniProgramUnhandledRejectionResult) => void): void;
|
|
7
|
-
export declare function onThemeChange(handler: (options: HostMiniProgramThemeChangeResult) => void): void;
|
|
8
|
-
export declare function onMemoryWarning(handler: (options: HostMiniProgramMemoryWarningResult) => void): void;
|
|
9
|
-
export declare function onShow(handler: () => void): void;
|
|
10
|
-
export declare function onShow(handler: (options: HostMiniProgramLaunchOptions) => void): void;
|
|
11
|
-
export declare function onLoad(handler: HostMiniProgramPageLifetime['onLoad']): void;
|
|
12
|
-
export declare function onHide(handler: () => void): void;
|
|
13
|
-
export declare function onUnload(handler: () => void): void;
|
|
14
|
-
export declare function onReady(handler: () => void): void;
|
|
15
|
-
export declare function onPullDownRefresh(handler: HostMiniProgramPageLifetime['onPullDownRefresh']): void;
|
|
16
|
-
export declare function onReachBottom(handler: HostMiniProgramPageLifetime['onReachBottom']): void;
|
|
17
|
-
export declare function onPageScroll(handler: (opt: HostMiniProgramPageScrollOption) => void): void;
|
|
18
|
-
export declare function onRouteDone(handler: HostMiniProgramPageLifetime['onRouteDone'] | ((opt?: unknown) => void)): void;
|
|
19
|
-
export declare function onTabItemTap(handler: (opt: HostMiniProgramTabItemTapOption) => void): void;
|
|
20
|
-
export declare function onResize(handler: (opt: HostMiniProgramPageResizeOption) => void): void;
|
|
21
|
-
export declare function onMoved(handler: () => void): void;
|
|
22
|
-
export declare function onAttached(handler: () => void): void;
|
|
23
|
-
export declare function onDetached(handler: () => void): void;
|
|
24
|
-
export declare function onError(handler: (err: any) => void): void;
|
|
25
|
-
export declare function onSaveExitState(handler: () => HostMiniProgramSaveExitState): void;
|
|
26
|
-
export declare function onShareAppMessage(handler: (options: HostMiniProgramShareAppMessageOption) => Record<string, any> | void): void;
|
|
27
|
-
export declare function onShareTimeline(handler: HostMiniProgramPageLifetime['onShareTimeline']): void;
|
|
28
|
-
export declare function onAddToFavorites(handler: (options: HostMiniProgramAddToFavoritesOption) => Record<string, any> | void): void;
|
|
29
|
-
//#endregion
|
|
30
|
-
//# sourceMappingURL=register.d.mts.map
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { InternalRuntimeState } from "../types/runtime.mjs";
|
|
2
|
-
import "../types.mjs";
|
|
3
|
-
//#region src/runtime/hooks/vue.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* Vue 3 对齐:组件/页面已挂载,映射小程序 onReady
|
|
6
|
-
*/
|
|
7
|
-
export declare function onMounted(handler: () => void): void;
|
|
8
|
-
/**
|
|
9
|
-
* Vue 3 对齐:组件/页面更新后触发。
|
|
10
|
-
* 小程序没有专用 update 生命周期,这里在每次 setData 完成后调用。
|
|
11
|
-
*/
|
|
12
|
-
export declare function onUpdated(handler: () => void): void;
|
|
13
|
-
/**
|
|
14
|
-
* Vue 3 对齐:在卸载清理前触发,保持实例上下文和暴露方法可用。
|
|
15
|
-
*/
|
|
16
|
-
export declare function onBeforeUnmount(handler: () => void): void;
|
|
17
|
-
/**
|
|
18
|
-
* Vue 3 对齐:组件/页面卸载;映射到页面 onUnload 或组件 detached
|
|
19
|
-
*/
|
|
20
|
-
export declare function onUnmounted(handler: () => void): void;
|
|
21
|
-
/**
|
|
22
|
-
* Vue 3 对齐:挂载前;setup 时同步触发以模拟 beforeMount 语义
|
|
23
|
-
*/
|
|
24
|
-
export declare function onBeforeMount(handler: () => void): void;
|
|
25
|
-
/**
|
|
26
|
-
* Vue 3 对齐:更新前;在每次 setData 前触发
|
|
27
|
-
*/
|
|
28
|
-
export declare function onBeforeUpdate(handler: () => void): void;
|
|
29
|
-
/**
|
|
30
|
-
* Vue 3 对齐:错误捕获;映射到小程序 onError
|
|
31
|
-
*/
|
|
32
|
-
export declare function onErrorCaptured(handler: (err: any, instance: any, info: string) => void): void;
|
|
33
|
-
/**
|
|
34
|
-
* Vue 3 对齐:组件激活;映射到小程序 onShow
|
|
35
|
-
*/
|
|
36
|
-
export declare function onActivated(handler: () => void): void;
|
|
37
|
-
/**
|
|
38
|
-
* Vue 3 对齐:组件失活;映射到小程序 onHide
|
|
39
|
-
*/
|
|
40
|
-
export declare function onDeactivated(handler: () => void): void;
|
|
41
|
-
/**
|
|
42
|
-
* Vue 3 对齐:服务端渲染前置钩子。
|
|
43
|
-
* 小程序无此场景,保留空实现以保持 API 兼容。
|
|
44
|
-
*/
|
|
45
|
-
export declare function onServerPrefetch(_handler: () => void): void;
|
|
46
|
-
/**
|
|
47
|
-
* 派发更新阶段钩子(框架内部调度入口)。
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
50
|
-
export declare function callUpdateHooks(target: InternalRuntimeState, phase: 'before' | 'after'): void;
|
|
51
|
-
//#endregion
|
|
52
|
-
//# sourceMappingURL=vue.d.mts.map
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { callHookList, callHookReturn, getCurrentInstance, getCurrentSetupContext, setCurrentInstance, setCurrentSetupContext } from "./hooks/base.mjs";
|
|
2
|
-
import { onAddToFavorites, onAttached, onDetached, onError, onHide, onLaunch, onLoad, onMemoryWarning, onMoved, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onResize, onRouteDone, onSaveExitState, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload } from "./hooks/register.mjs";
|
|
3
|
-
import { callUpdateHooks, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onServerPrefetch, onUnmounted, onUpdated } from "./hooks/vue.mjs";
|
|
4
|
-
export { callHookList, callHookReturn, callUpdateHooks, getCurrentInstance, getCurrentSetupContext, onActivated, onAddToFavorites, onAttached, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onDetached, onError, onErrorCaptured, onHide, onLaunch, onLoad, onMemoryWarning, onMounted, onMoved, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onResize, onRouteDone, onSaveExitState, onServerPrefetch, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload, onUnmounted, onUpdated, setCurrentInstance, setCurrentSetupContext };
|