@vue/compiler-vapor 3.6.0-beta.16 → 3.6.0-beta.17
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/compiler-vapor.cjs.js +399 -177
- package/dist/compiler-vapor.d.ts +11 -8
- package/dist/compiler-vapor.esm-browser.js +389 -181
- package/package.json +3 -3
package/dist/compiler-vapor.d.ts
CHANGED
|
@@ -821,7 +821,7 @@ declare function nextTick<T, R>(this: T, fn: (this: T) => R | Promise<R>): Promi
|
|
|
821
821
|
/**
|
|
822
822
|
* @internal for runtime-vapor only
|
|
823
823
|
*/
|
|
824
|
-
declare function queueJob(job: SchedulerJob, id?: number, isPre?: boolean): void;
|
|
824
|
+
declare function queueJob(job: SchedulerJob, id?: number, isPre?: boolean, order?: number): void;
|
|
825
825
|
declare function queuePostFlushCb(jobs: SchedulerJobs, id?: number): void;
|
|
826
826
|
/**
|
|
827
827
|
* @internal
|
|
@@ -25301,7 +25301,6 @@ interface SlotBoundaryContext {
|
|
|
25301
25301
|
getFallback: () => BlockFn | undefined;
|
|
25302
25302
|
run<R>(fn: () => R, scope?: EffectScope): R;
|
|
25303
25303
|
markDirty: () => void;
|
|
25304
|
-
redirected?: SlotBoundaryContext;
|
|
25305
25304
|
}
|
|
25306
25305
|
//#endregion
|
|
25307
25306
|
//#region packages/runtime-vapor/src/keepAlive.d.ts
|
|
@@ -25325,8 +25324,7 @@ declare class VaporFragment<T extends Block$1 = Block$1> implements TransitionOp
|
|
|
25325
25324
|
nodes: T;
|
|
25326
25325
|
vnode?: VNode | null;
|
|
25327
25326
|
anchor?: Node;
|
|
25328
|
-
|
|
25329
|
-
isBlockValid?: () => boolean;
|
|
25327
|
+
isBlockValid?: (componentAsValid?: boolean) => boolean;
|
|
25330
25328
|
insert?: (parent: ParentNode, anchor: Node | null, transitionHooks?: TransitionHooks) => void;
|
|
25331
25329
|
remove?: (parent?: ParentNode, transitionHooks?: TransitionHooks) => void;
|
|
25332
25330
|
hydrate?(...args: any[]): void;
|
|
@@ -25341,7 +25339,7 @@ declare class RenderContextFragment<T extends Block$1 = Block$1> extends VaporFr
|
|
|
25341
25339
|
readonly renderInstance: GenericComponentInstance | null;
|
|
25342
25340
|
readonly slotOwner: VaporComponentInstance | null;
|
|
25343
25341
|
readonly keepAliveCtx?: VaporKeepAliveContext | null;
|
|
25344
|
-
readonly
|
|
25342
|
+
readonly slotBoundary: SlotBoundaryContext | null;
|
|
25345
25343
|
constructor(nodes: T);
|
|
25346
25344
|
protected runWithRenderCtx<R>(fn: () => R, scope?: EffectScope): R;
|
|
25347
25345
|
}
|
|
@@ -25368,10 +25366,11 @@ declare class DynamicFragment extends RenderContextFragment {
|
|
|
25368
25366
|
keyed?: boolean;
|
|
25369
25367
|
isSlot?: boolean;
|
|
25370
25368
|
forwarded?: boolean;
|
|
25369
|
+
nativeChildren?: boolean;
|
|
25371
25370
|
inTransition?: boolean;
|
|
25372
25371
|
hasFallthroughAttrs?: true;
|
|
25373
|
-
|
|
25374
|
-
|
|
25372
|
+
constructor(anchorLabel?: string, keyed?: boolean, locate?: boolean, trackSlotBoundary?: boolean);
|
|
25373
|
+
protected get autoHydrate(): boolean;
|
|
25375
25374
|
update(render?: BlockFn, key?: any, noScope?: boolean): void;
|
|
25376
25375
|
protected getBranchParent(): ParentNode | null;
|
|
25377
25376
|
renderBranch(render: BlockFn | undefined, transition: VaporTransitionHooks | undefined, parent: ParentNode | null, key: any, noScope?: boolean, notifyUpdated?: boolean): void;
|
|
@@ -25415,6 +25414,7 @@ declare class RenderEffect extends ReactiveEffect {
|
|
|
25415
25414
|
job: SchedulerJob;
|
|
25416
25415
|
updateJob?: SchedulerJob;
|
|
25417
25416
|
render: () => void;
|
|
25417
|
+
order: number;
|
|
25418
25418
|
constructor(render: () => void, noLifecycle?: boolean);
|
|
25419
25419
|
fn(): void;
|
|
25420
25420
|
notify(): void;
|
|
@@ -25584,6 +25584,7 @@ declare class VaporComponentInstance<Props extends Record<string, any> = {}, Emi
|
|
|
25584
25584
|
rtc?: LifecycleHook;
|
|
25585
25585
|
ec?: LifecycleHook;
|
|
25586
25586
|
sp?: LifecycleHook<() => Promise<unknown>>;
|
|
25587
|
+
effectCount: number;
|
|
25587
25588
|
setupState?: Exposed extends Block$1 ? undefined : ShallowUnwrapRef<Exposed>;
|
|
25588
25589
|
devtoolsRawSetupState?: any;
|
|
25589
25590
|
hmrRerender?: () => void;
|
|
@@ -28094,6 +28095,7 @@ export declare class TransformContext<T extends AllNode = AllNode> {
|
|
|
28094
28095
|
operationIndex: number;
|
|
28095
28096
|
isLastEffectiveChild: boolean;
|
|
28096
28097
|
isOnRightmostPath: boolean;
|
|
28098
|
+
isSingleRoot: boolean;
|
|
28097
28099
|
templateCloseTags: Set<string> | undefined;
|
|
28098
28100
|
templateCloseBlocks: boolean;
|
|
28099
28101
|
private globalId;
|
|
@@ -28123,7 +28125,8 @@ export declare class TransformContext<T extends AllNode = AllNode> {
|
|
|
28123
28125
|
};
|
|
28124
28126
|
create<T extends TemplateChildNode>(node: T, index: number): TransformContext<T>;
|
|
28125
28127
|
private shiftEffectBoundaries;
|
|
28126
|
-
private
|
|
28128
|
+
private getChildContextInfo;
|
|
28129
|
+
private isSingleRootChild;
|
|
28127
28130
|
}
|
|
28128
28131
|
export declare function transform(node: RootNode, options?: TransformOptions$1): RootIRNode;
|
|
28129
28132
|
export declare function createStructuralDirectiveTransform(name: string | string[], fn: StructuralDirectiveTransform): NodeTransform;
|