@poveste/vendors 0.2.1 → 0.3.0
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/client/b-floating-vue.js +1 -1
- package/dist/client/b-pinia.js +1 -1
- package/dist/client/b-vue-use.js +10194 -9176
- package/dist/client/b-vue.js +1 -1
- package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +24 -4
- package/dist/client/node_modules/@vue/compiler-core/package.json +5 -5
- package/dist/client/node_modules/@vue/compiler-dom/package.json +3 -3
- package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +4 -2
- package/dist/client/node_modules/@vue/compiler-sfc/package.json +12 -12
- package/dist/client/node_modules/@vue/compiler-ssr/package.json +3 -3
- package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +18 -14
- package/dist/client/node_modules/@vue/reactivity/package.json +2 -2
- package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +48 -19
- package/dist/client/node_modules/@vue/runtime-core/package.json +3 -3
- package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +126 -104
- package/dist/client/node_modules/@vue/runtime-dom/package.json +4 -4
- package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +6 -6
- package/dist/client/node_modules/@vue/server-renderer/package.json +4 -6
- package/dist/client/node_modules/@vue/shared/package.json +1 -1
- package/dist/client/node_modules/@vueuse/core/dist/index.d.ts +5748 -0
- package/dist/client/node_modules/@vueuse/core/package.json +17 -25
- package/dist/client/node_modules/@vueuse/metadata/dist/index.d.ts +81 -0
- package/dist/client/node_modules/@vueuse/metadata/package.json +9 -17
- package/dist/client/node_modules/@vueuse/shared/dist/index.d.ts +1511 -0
- package/dist/client/node_modules/@vueuse/shared/package.json +13 -20
- package/dist/client/node_modules/nanoid/package.json +1 -1
- package/dist/client/node_modules/vue/package.json +7 -7
- package/dist/client/vue.runtime.esm-bundler.js +745 -348
- package/package.json +2 -2
- package/dist/client/node_modules/@vueuse/core/index.d.mts +0 -6221
- package/dist/client/node_modules/@vueuse/core/index.d.ts +0 -6221
- package/dist/client/node_modules/@vueuse/core/metadata.d.ts +0 -1
- package/dist/client/node_modules/@vueuse/metadata/index.d.mts +0 -78
- package/dist/client/node_modules/@vueuse/metadata/index.d.ts +0 -78
- package/dist/client/node_modules/@vueuse/shared/index.d.mts +0 -1260
- package/dist/client/node_modules/@vueuse/shared/index.d.ts +0 -1260
- /package/dist/client/node_modules/@vueuse/core/{metadata.d.mts → dist/metadata.d.mts} +0 -0
- /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/lib/index.d.ts +0 -0
- /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/lib/v2/index.d.ts +0 -0
- /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/lib/v2.7/index.d.ts +0 -0
- /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/lib/v3/index.d.ts +0 -0
- /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/package.json +0 -0
package/dist/client/b-vue.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { a5 as BaseTransition, a6 as BaseTransitionPropsValidators, a7 as Comment, a8 as DeprecationTypes, a9 as EffectScope, aa as ErrorCodes, ab as ErrorTypeStrings, F as Fragment, ac as KeepAlive, ad as ReactiveEffect, ae as Static, af as Suspense, ag as Teleport, ah as Text, ai as TrackOpTypes, aj as Transition, a1 as TransitionGroup, ak as TriggerOpTypes, al as VueElement, am as assertNumber, an as callWithAsyncErrorHandling, ao as callWithErrorHandling, ap as camelize, aq as capitalize, ar as cloneVNode, as as compatUtils, at as compile, L as computed, v as createApp, f as createBlock, l as createCommentVNode, c as createElementBlock, h as createElementVNode, au as createHydrationRenderer, av as createPropsRestProxy, aw as createRenderer, ax as createSSRApp, ay as createSlots, az as createStaticVNode, aA as createTextVNode, s as createVNode, X as customRef, aB as defineAsyncComponent, d as defineComponent, aC as defineCustomElement, aD as defineEmits, aE as defineExpose, aF as defineModel, aG as defineOptions, aH as defineProps, aI as defineSSRCustomElement, aJ as defineSlots, aK as devtools, aL as effect, E as effectScope, O as getCurrentInstance, I as getCurrentScope, aM as getCurrentWatcher, aN as getTransitionRawChildren, g as guardReactiveProps, x as h, aO as handleError, y as hasInjectionContext, aP as hydrate, aQ as hydrateOnIdle, aR as hydrateOnInteraction, aS as hydrateOnMediaQuery, aT as hydrateOnVisible, aU as initCustomFormatter, aV as initDirectivesForSSR, z as inject, aW as isMemoSame, aX as isProxy, H as isReactive, a3 as isReadonly, G as isRef, aY as isRuntimeOnly, aZ as isShallow, a_ as isVNode, D as markRaw, a$ as mergeDefaults, b0 as mergeModels, m as mergeProps, b as nextTick, b1 as nodeOps, n as normalizeClass, a as normalizeProps, k as normalizeStyle, R as onActivated, _ as onBeforeMount, $ as onBeforeUnmount, a4 as onBeforeUpdate, Q as onDeactivated, b2 as onErrorCaptured, a0 as onMounted, b3 as onRenderTracked, b4 as onRenderTriggered, J as onScopeDispose, b5 as onServerPrefetch, P as onUnmounted, a2 as onUpdated, b6 as onWatcherCleanup, o as openBlock, b7 as patchProp, e as popScopeId, T as provide, b8 as proxyRefs, p as pushScopeId, b9 as queuePostFlushCb, M as reactive, W as readonly, u as ref, ba as registerRuntimeCompiler, bb as render, bc as renderList, r as renderSlot, i as resolveComponent, bd as resolveDirective, be as resolveDynamicComponent, bf as resolveFilter, bg as resolveTransitionHooks, bh as setBlockTracking, bi as setDevtoolsHook, bj as setTransitionHooks, V as shallowReactive, Z as shallowReadonly, U as shallowRef, bk as ssrContextKey, bl as ssrUtils, bm as stop, t as toDisplayString, bn as toHandlerKey, bo as toHandlers, A as toRaw, N as toRef, K as toRefs, Y as toValue, bp as transformVNodeArgs, bq as triggerRef, C as unref, br as useAttrs, bs as useCssModule, bt as useCssVars, bu as useHost, bv as useId, bw as useModel, bx as useSSRContext, by as useShadowRoot, bz as useSlots, bA as useTemplateRef, bB as useTransitionState, bC as vModelCheckbox, bD as vModelDynamic, bE as vModelRadio, bF as vModelSelect, bG as vModelText, bH as vShow, bI as version, bJ as warn, B as watch, S as watchEffect, bK as watchPostEffect, bL as watchSyncEffect, bM as withAsyncContext, q as withCtx, bN as withDefaults, bO as withDirectives, j as withKeys, bP as withMemo, bQ as withModifiers, w as withScopeId } from './vue.runtime.esm-bundler.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PatchFlags } from '@vue/shared';
|
|
2
2
|
export { generateCodeFrame } from '@vue/shared';
|
|
3
|
-
import { Node as Node$1, Identifier, Function, BlockStatement as BlockStatement$1, SwitchCase, Program
|
|
3
|
+
import { Node as Node$1, Identifier, Function, ObjectProperty, BlockStatement as BlockStatement$1, SwitchCase, Program } from '@babel/types';
|
|
4
4
|
import { ParserPlugin } from '@babel/parser';
|
|
5
5
|
|
|
6
6
|
export declare const FRAGMENT: unique symbol;
|
|
@@ -122,6 +122,7 @@ export interface TransformContext extends Required<Omit<TransformOptions, keyof
|
|
|
122
122
|
hoist(exp: string | JSChildNode | ArrayExpression): SimpleExpressionNode;
|
|
123
123
|
cache(exp: JSChildNode, isVNode?: boolean, inVOnce?: boolean): CacheExpression;
|
|
124
124
|
constantCache: WeakMap<TemplateChildNode, ConstantTypes>;
|
|
125
|
+
vForMemoKeyedNodes: WeakSet<ElementNode>;
|
|
125
126
|
filters?: Set<string>;
|
|
126
127
|
}
|
|
127
128
|
export declare function createTransformContext(root: RootNode, { filename, prefixIdentifiers, hoistStatic, hmr, cacheHandlers, nodeTransforms, directiveTransforms, transformHoist, isBuiltInComponent, isCustomElement, expressionPlugins, scopeId, slotted, ssr, inSSR, ssrCssVars, bindingMetadata, inline, isTS, onError, onWarn, compatConfig, }: TransformOptions): TransformContext;
|
|
@@ -138,6 +139,8 @@ export declare function buildProps(node: ElementNode, context: TransformContext,
|
|
|
138
139
|
patchFlag: number;
|
|
139
140
|
dynamicPropNames: string[];
|
|
140
141
|
shouldUseBlock: boolean;
|
|
142
|
+
needsPatch: boolean;
|
|
143
|
+
isBlockRequired: boolean;
|
|
141
144
|
};
|
|
142
145
|
export declare function buildDirectiveArgs(dir: DirectiveNode, context: TransformContext): ArrayExpression;
|
|
143
146
|
|
|
@@ -375,6 +378,10 @@ export interface VNodeCall extends Node {
|
|
|
375
378
|
patchFlag: PatchFlags | undefined;
|
|
376
379
|
dynamicProps: string | SimpleExpressionNode | undefined;
|
|
377
380
|
directives: DirectiveArguments | undefined;
|
|
381
|
+
/** Whether this vnode must be patched if a later transform makes it non-block. */
|
|
382
|
+
needsPatch?: boolean;
|
|
383
|
+
/** Whether a later transform must preserve this vnode as a block. */
|
|
384
|
+
isBlockRequired?: boolean;
|
|
378
385
|
isBlock: boolean;
|
|
379
386
|
disableTracking: boolean;
|
|
380
387
|
isComponent: boolean;
|
|
@@ -473,11 +480,24 @@ export interface DirectiveArgumentNode extends ArrayExpression {
|
|
|
473
480
|
}
|
|
474
481
|
export interface RenderSlotCall extends CallExpression {
|
|
475
482
|
callee: typeof RENDER_SLOT;
|
|
476
|
-
arguments: [string, string | ExpressionNode] | [string, string | ExpressionNode, PropsExpression] | [
|
|
483
|
+
arguments: [string, string | ExpressionNode] | [string, string | ExpressionNode, PropsExpression | '{}'] | [
|
|
477
484
|
string,
|
|
478
485
|
string | ExpressionNode,
|
|
479
486
|
PropsExpression | '{}',
|
|
480
|
-
|
|
487
|
+
FunctionExpression | string
|
|
488
|
+
] | [
|
|
489
|
+
string,
|
|
490
|
+
string | ExpressionNode,
|
|
491
|
+
PropsExpression | '{}',
|
|
492
|
+
FunctionExpression | string,
|
|
493
|
+
string
|
|
494
|
+
] | [
|
|
495
|
+
string,
|
|
496
|
+
string | ExpressionNode,
|
|
497
|
+
PropsExpression | '{}',
|
|
498
|
+
FunctionExpression | string,
|
|
499
|
+
string,
|
|
500
|
+
JSChildNode
|
|
481
501
|
];
|
|
482
502
|
}
|
|
483
503
|
export type SlotsExpression = SlotsObjectExpression | DynamicSlotsExpression;
|
|
@@ -948,7 +968,7 @@ export type CompilerOptions = ParserOptions & TransformOptions & CodegenOptions;
|
|
|
948
968
|
*
|
|
949
969
|
* Since TS 5.3, dts generation starts to strangely include broken triple slash
|
|
950
970
|
* references for source-map-js, so we are inlining all source map related types
|
|
951
|
-
* here to
|
|
971
|
+
* here to workaround that.
|
|
952
972
|
*/
|
|
953
973
|
export interface CodegenSourceMapGenerator {
|
|
954
974
|
setSourceContent(sourceFile: string, sourceContent: string): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-core",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.41",
|
|
4
4
|
"description": "@vue/compiler-core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/compiler-core.esm-bundler.js",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
},
|
|
47
47
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-core#readme",
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@babel/parser": "^7.
|
|
50
|
-
"entities": "^7.0.
|
|
49
|
+
"@babel/parser": "^7.29.8",
|
|
50
|
+
"entities": "^7.0.1",
|
|
51
51
|
"estree-walker": "^2.0.2",
|
|
52
52
|
"source-map-js": "^1.2.1",
|
|
53
|
-
"@vue/shared": "3.5.
|
|
53
|
+
"@vue/shared": "3.5.41"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@babel/types": "^7.
|
|
56
|
+
"@babel/types": "^7.29.8"
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-dom",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.41",
|
|
4
4
|
"description": "@vue/compiler-dom",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/compiler-dom.esm-bundler.js",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-dom#readme",
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@vue/
|
|
55
|
-
"@vue/
|
|
54
|
+
"@vue/shared": "3.5.41",
|
|
55
|
+
"@vue/compiler-core": "3.5.41"
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -415,11 +415,13 @@ export type SimpleTypeResolveOptions = Partial<Pick<SFCScriptCompileOptions, 'gl
|
|
|
415
415
|
* }
|
|
416
416
|
* ```
|
|
417
417
|
*/
|
|
418
|
-
export type SimpleTypeResolveContext = Pick<ScriptCompileContext, 'source' | 'filename' | 'error' | 'helper' | 'getString' | 'propsTypeDecl' | 'propsRuntimeDefaults' | 'propsDestructuredBindings' | 'emitsTypeDecl' | 'isCE'> & Partial<Pick<ScriptCompileContext, 'scope' | 'globalScopes' | 'deps' | 'fs'>> & {
|
|
418
|
+
export type SimpleTypeResolveContext = Pick<ScriptCompileContext, 'source' | 'filename' | 'error' | 'warn' | 'helper' | 'getString' | 'propsTypeDecl' | 'propsRuntimeDefaults' | 'propsDestructuredBindings' | 'emitsTypeDecl' | 'isCE'> & Partial<Pick<ScriptCompileContext, 'scope' | 'globalScopes' | 'deps' | 'fs'>> & {
|
|
419
419
|
ast: Statement[];
|
|
420
420
|
options: SimpleTypeResolveOptions;
|
|
421
421
|
};
|
|
422
|
-
export type TypeResolveContext = ScriptCompileContext | SimpleTypeResolveContext
|
|
422
|
+
export type TypeResolveContext = (ScriptCompileContext | SimpleTypeResolveContext) & {
|
|
423
|
+
silentOnExtendsFailure?: boolean;
|
|
424
|
+
};
|
|
423
425
|
type Import = Pick<ImportBinding, 'source' | 'imported'>;
|
|
424
426
|
interface WithScope {
|
|
425
427
|
_ownerScope: TypeScope;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-sfc",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.41",
|
|
4
4
|
"description": "@vue/compiler-sfc",
|
|
5
5
|
"main": "dist/compiler-sfc.cjs.js",
|
|
6
6
|
"module": "dist/compiler-sfc.esm-browser.js",
|
|
@@ -42,26 +42,26 @@
|
|
|
42
42
|
},
|
|
43
43
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-sfc#readme",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@babel/parser": "^7.
|
|
45
|
+
"@babel/parser": "^7.29.8",
|
|
46
46
|
"estree-walker": "^2.0.2",
|
|
47
47
|
"magic-string": "^0.30.21",
|
|
48
|
-
"postcss": "^8.5.
|
|
48
|
+
"postcss": "^8.5.19",
|
|
49
49
|
"source-map-js": "^1.2.1",
|
|
50
|
-
"@vue/compiler-core": "3.5.
|
|
51
|
-
"@vue/
|
|
52
|
-
"@vue/compiler-
|
|
53
|
-
"@vue/
|
|
50
|
+
"@vue/compiler-core": "3.5.41",
|
|
51
|
+
"@vue/shared": "3.5.41",
|
|
52
|
+
"@vue/compiler-dom": "3.5.41",
|
|
53
|
+
"@vue/compiler-ssr": "3.5.41"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@babel/types": "^7.
|
|
56
|
+
"@babel/types": "^7.29.8",
|
|
57
57
|
"@vue/consolidate": "^1.0.0",
|
|
58
58
|
"hash-sum": "^2.0.0",
|
|
59
59
|
"lru-cache": "10.1.0",
|
|
60
60
|
"merge-source-map": "^1.1.0",
|
|
61
|
-
"minimatch": "~10.
|
|
61
|
+
"minimatch": "~10.2.6",
|
|
62
62
|
"postcss-modules": "^6.0.1",
|
|
63
|
-
"postcss-selector-parser": "^7.1.
|
|
64
|
-
"pug": "^3.0.
|
|
65
|
-
"sass": "^1.
|
|
63
|
+
"postcss-selector-parser": "^7.1.4",
|
|
64
|
+
"pug": "^3.0.4",
|
|
65
|
+
"sass": "^1.102.0"
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-ssr",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.41",
|
|
4
4
|
"description": "@vue/compiler-ssr",
|
|
5
5
|
"main": "dist/compiler-ssr.cjs.js",
|
|
6
6
|
"types": "dist/compiler-ssr.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-ssr#readme",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@vue/shared": "3.5.
|
|
32
|
-
"@vue/compiler-dom": "3.5.
|
|
31
|
+
"@vue/shared": "3.5.41",
|
|
32
|
+
"@vue/compiler-dom": "3.5.41"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -42,10 +42,11 @@ export type Reactive<T> = UnwrapNestedRefs<T> & (T extends readonly any[] ? Reac
|
|
|
42
42
|
* @see {@link https://vuejs.org/api/reactivity-core.html#reactive}
|
|
43
43
|
*/
|
|
44
44
|
export declare function reactive<T extends object>(target: T): Reactive<T>;
|
|
45
|
-
declare
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
45
|
+
declare class ShallowReactiveBrandClass {
|
|
46
|
+
private __shallowReactiveBrand?;
|
|
47
|
+
}
|
|
48
|
+
type ShallowReactiveBrand = ShallowReactiveBrandClass;
|
|
49
|
+
export type ShallowReactive<T> = T & ShallowReactiveBrand;
|
|
49
50
|
/**
|
|
50
51
|
* Shallow version of {@link reactive}.
|
|
51
52
|
*
|
|
@@ -533,9 +534,9 @@ export declare function toValue<T>(source: MaybeRefOrGetter<T>): T;
|
|
|
533
534
|
* that contains refs.
|
|
534
535
|
*/
|
|
535
536
|
export declare function proxyRefs<T extends object>(objectWithRefs: T): ShallowUnwrapRef<T>;
|
|
536
|
-
export type CustomRefFactory<T> = (track: () => void, trigger: () => void) => {
|
|
537
|
+
export type CustomRefFactory<T, S = T> = (track: () => void, trigger: () => void) => {
|
|
537
538
|
get: () => T;
|
|
538
|
-
set: (value:
|
|
539
|
+
set: (value: S) => void;
|
|
539
540
|
};
|
|
540
541
|
/**
|
|
541
542
|
* Creates a customized ref with explicit control over its dependency tracking
|
|
@@ -544,10 +545,13 @@ export type CustomRefFactory<T> = (track: () => void, trigger: () => void) => {
|
|
|
544
545
|
* @param factory - The function that receives the `track` and `trigger` callbacks.
|
|
545
546
|
* @see {@link https://vuejs.org/api/reactivity-advanced.html#customref}
|
|
546
547
|
*/
|
|
547
|
-
export declare function customRef<T>(factory: CustomRefFactory<T>): Ref<T>;
|
|
548
|
+
export declare function customRef<T, S = T>(factory: CustomRefFactory<T, S>): Ref<T, S>;
|
|
548
549
|
export type ToRefs<T = any> = {
|
|
549
550
|
[K in keyof T]: ToRef<T[K]>;
|
|
550
551
|
};
|
|
552
|
+
type ArrayStringKey<T> = T extends readonly any[] ? number extends T['length'] ? `${number}` : never : never;
|
|
553
|
+
type ToRefKey<T> = keyof T | ArrayStringKey<T>;
|
|
554
|
+
type ToRefValue<T extends object, K extends ToRefKey<T>> = K extends keyof T ? T[K] : T extends readonly (infer V)[] ? K extends ArrayStringKey<T> ? V : never : never;
|
|
551
555
|
/**
|
|
552
556
|
* Converts a reactive object to a plain object where each property of the
|
|
553
557
|
* resulting object is a ref pointing to the corresponding property of the
|
|
@@ -602,8 +606,8 @@ export type ToRef<T> = IfAny<T, Ref<T>, [T] extends [Ref] ? T : Ref<T>>;
|
|
|
602
606
|
* @see {@link https://vuejs.org/api/reactivity-utilities.html#toref}
|
|
603
607
|
*/
|
|
604
608
|
export declare function toRef<T>(value: T): T extends () => infer R ? Readonly<Ref<R>> : T extends Ref ? T : Ref<UnwrapRef<T>>;
|
|
605
|
-
export declare function toRef<T extends object, K extends
|
|
606
|
-
export declare function toRef<T extends object, K extends
|
|
609
|
+
export declare function toRef<T extends object, K extends ToRefKey<T>>(object: T, key: K): ToRef<ToRefValue<T, K>>;
|
|
610
|
+
export declare function toRef<T extends object, K extends ToRefKey<T>>(object: T, key: K, defaultValue: ToRefValue<T, K>): ToRef<Exclude<ToRefValue<T, K>, undefined>>;
|
|
607
611
|
/**
|
|
608
612
|
* This is a special exported interface for other packages to declare
|
|
609
613
|
* additional types that should bail out for ref unwrapping. For example
|
|
@@ -619,18 +623,16 @@ export declare function toRef<T extends object, K extends keyof T>(object: T, ke
|
|
|
619
623
|
*/
|
|
620
624
|
export interface RefUnwrapBailTypes {
|
|
621
625
|
}
|
|
622
|
-
export type ShallowUnwrapRef<T> = {
|
|
626
|
+
export type ShallowUnwrapRef<T> = T extends ShallowReactiveBrand ? T : {
|
|
623
627
|
[K in keyof T]: DistributeRef<T[K]>;
|
|
624
628
|
};
|
|
625
629
|
type DistributeRef<T> = T extends Ref<infer V, unknown> ? V : T;
|
|
626
630
|
export type UnwrapRef<T> = T extends ShallowRef<infer V, unknown> ? V : T extends Ref<infer V, unknown> ? UnwrapRefSimple<V> : UnwrapRefSimple<T>;
|
|
627
631
|
type UnwrapRefSimple<T> = T extends Builtin | Ref | RefUnwrapBailTypes[keyof RefUnwrapBailTypes] | {
|
|
628
632
|
[RawSymbol]?: true;
|
|
629
|
-
} ? T : T extends Map<infer K, infer V> ? Map<K, UnwrapRefSimple<V>> & UnwrapRef<Omit<T, keyof Map<any, any>>> : T extends WeakMap<infer K, infer V> ? WeakMap<K, UnwrapRefSimple<V>> & UnwrapRef<Omit<T, keyof WeakMap<any, any>>> : T extends Set<infer V> ? Set<UnwrapRefSimple<V>> & UnwrapRef<Omit<T, keyof Set<any>>> : T extends WeakSet<infer V> ? WeakSet<UnwrapRefSimple<V>> & UnwrapRef<Omit<T, keyof WeakSet<any>>> : T extends ReadonlyArray<any> ? {
|
|
633
|
+
} ? T : T extends ShallowReactiveBrand ? T : T extends Map<infer K, infer V> ? Map<K, UnwrapRefSimple<V>> & UnwrapRef<Omit<T, keyof Map<any, any>>> : T extends WeakMap<infer K, infer V> ? WeakMap<K, UnwrapRefSimple<V>> & UnwrapRef<Omit<T, keyof WeakMap<any, any>>> : T extends Set<infer V> ? Set<UnwrapRefSimple<V>> & UnwrapRef<Omit<T, keyof Set<any>>> : T extends WeakSet<infer V> ? WeakSet<UnwrapRefSimple<V>> & UnwrapRef<Omit<T, keyof WeakSet<any>>> : T extends ReadonlyArray<any> ? {
|
|
630
634
|
[K in keyof T]: UnwrapRefSimple<T[K]>;
|
|
631
|
-
} : T extends object
|
|
632
|
-
[ShallowReactiveMarker]?: never;
|
|
633
|
-
} ? {
|
|
635
|
+
} : T extends object ? {
|
|
634
636
|
[P in keyof T]: P extends symbol ? T[P] : UnwrapRef<T[P]>;
|
|
635
637
|
} : T;
|
|
636
638
|
|
|
@@ -661,6 +663,8 @@ export declare function trigger(target: object, type: TriggerOpTypes, key?: unkn
|
|
|
661
663
|
export declare class EffectScope {
|
|
662
664
|
detached: boolean;
|
|
663
665
|
private _isPaused;
|
|
666
|
+
private _warnOnRun;
|
|
667
|
+
readonly __v_skip = true;
|
|
664
668
|
constructor(detached?: boolean);
|
|
665
669
|
get active(): boolean;
|
|
666
670
|
pause(): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/reactivity",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.41",
|
|
4
4
|
"description": "@vue/reactivity",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/reactivity.esm-bundler.js",
|
|
@@ -50,6 +50,6 @@
|
|
|
50
50
|
},
|
|
51
51
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/reactivity#readme",
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@vue/shared": "3.5.
|
|
53
|
+
"@vue/shared": "3.5.41"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as computed$1, Ref, OnCleanup, WatchStopHandle, ShallowUnwrapRef, UnwrapNestedRefs, DebuggerEvent, ComputedGetter, WritableComputedOptions, WatchCallback, ReactiveEffect, DebuggerOptions, WatchSource, WatchHandle, ReactiveMarker, WatchEffect, ShallowRef, WatchErrorCodes, reactive } from '@vue/reactivity';
|
|
2
2
|
export { ComputedGetter, ComputedRef, ComputedSetter, CustomRefFactory, DebuggerEvent, DebuggerEventExtraInfo, DebuggerOptions, DeepReadonly, EffectScheduler, EffectScope, MaybeRef, MaybeRefOrGetter, Raw, Reactive, ReactiveEffect, ReactiveEffectOptions, ReactiveEffectRunner, ReactiveFlags, Ref, ShallowReactive, ShallowRef, ShallowUnwrapRef, ToRef, ToRefs, TrackOpTypes, TriggerOpTypes, UnwrapNestedRefs, UnwrapRef, WatchCallback, WatchEffect, WatchHandle, WatchSource, WatchStopHandle, WritableComputedOptions, WritableComputedRef, customRef, effect, effectScope, getCurrentScope, getCurrentWatcher, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, onWatcherCleanup, proxyRefs, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, toValue, triggerRef, unref } from '@vue/reactivity';
|
|
3
|
-
import { IfAny, Prettify,
|
|
3
|
+
import { IfAny, Prettify, UnionToIntersection, LooseRequired, OverloadParameters, IsKeyValues } from '@vue/shared';
|
|
4
4
|
export { camelize, capitalize, normalizeClass, normalizeProps, normalizeStyle, toDisplayString, toHandlerKey } from '@vue/shared';
|
|
5
5
|
|
|
6
6
|
export declare const computed: typeof computed$1;
|
|
@@ -271,6 +271,22 @@ export declare function defineOptions<RawBindings = {}, D = {}, C extends Comput
|
|
|
271
271
|
*/
|
|
272
272
|
slots?: never;
|
|
273
273
|
}): void;
|
|
274
|
+
/**
|
|
275
|
+
* Vue `<script setup>` compiler macro for providing type hints to IDEs for
|
|
276
|
+
* slot name and slot props type checking.
|
|
277
|
+
*
|
|
278
|
+
* Example usage:
|
|
279
|
+
* ```ts
|
|
280
|
+
* const slots = defineSlots<{
|
|
281
|
+
* default(props: { msg: string }): any
|
|
282
|
+
* }>()
|
|
283
|
+
* ```
|
|
284
|
+
*
|
|
285
|
+
* This is only usable inside `<script setup>`, is compiled away in the
|
|
286
|
+
* output and should **not** be actually called at runtime.
|
|
287
|
+
*
|
|
288
|
+
* @see {@link https://vuejs.org/api/sfc-script-setup.html#defineslots}
|
|
289
|
+
*/
|
|
274
290
|
export declare function defineSlots<S extends Record<string, any> = Record<string, any>>(): StrictUnwrapSlotsType<SlotsType<S>>;
|
|
275
291
|
export type ModelRef<T, M extends PropertyKey = string, G = T, S = T> = Ref<G, S> & [
|
|
276
292
|
ModelRef<T, M, G, S>,
|
|
@@ -280,6 +296,8 @@ type DefineModelOptions<T = any, G = T, S = T> = {
|
|
|
280
296
|
get?: (v: T) => G;
|
|
281
297
|
set?: (v: S) => any;
|
|
282
298
|
};
|
|
299
|
+
type DefineModelRuntimeOptions<T, G, S> = Omit<PropOptions<T>, 'default'> & DefineModelOptions<T, G, S>;
|
|
300
|
+
type DefineModelDefault<T> = InferDefault<Data, T>;
|
|
283
301
|
/**
|
|
284
302
|
* Vue `<script setup>` compiler macro for declaring a
|
|
285
303
|
* two-way binding prop that can be consumed via `v-model` from the parent
|
|
@@ -313,18 +331,18 @@ type DefineModelOptions<T = any, G = T, S = T> = {
|
|
|
313
331
|
* const count = defineModel<number>('count', { default: 0 })
|
|
314
332
|
* ```
|
|
315
333
|
*/
|
|
316
|
-
export declare function defineModel<T, M extends PropertyKey = string, G = T, S = T>(options: ({
|
|
317
|
-
default:
|
|
334
|
+
export declare function defineModel<T, M extends PropertyKey = string, G = T, S = T>(options: DefineModelRuntimeOptions<T, G, S> & ({
|
|
335
|
+
default: DefineModelDefault<T>;
|
|
318
336
|
} | {
|
|
319
337
|
required: true;
|
|
320
|
-
})
|
|
321
|
-
export declare function defineModel<T, M extends PropertyKey = string, G = T, S = T>(options?:
|
|
322
|
-
export declare function defineModel<T, M extends PropertyKey = string, G = T, S = T>(name: string, options: ({
|
|
323
|
-
default:
|
|
338
|
+
})): ModelRef<T, M, G, S>;
|
|
339
|
+
export declare function defineModel<T, M extends PropertyKey = string, G = T, S = T>(options?: DefineModelRuntimeOptions<T, G, S>): ModelRef<T | undefined, M, G | undefined, S | undefined>;
|
|
340
|
+
export declare function defineModel<T, M extends PropertyKey = string, G = T, S = T>(name: string, options: DefineModelRuntimeOptions<T, G, S> & ({
|
|
341
|
+
default: DefineModelDefault<T>;
|
|
324
342
|
} | {
|
|
325
343
|
required: true;
|
|
326
|
-
})
|
|
327
|
-
export declare function defineModel<T, M extends PropertyKey = string, G = T, S = T>(name: string, options?:
|
|
344
|
+
})): ModelRef<T, M, G, S>;
|
|
345
|
+
export declare function defineModel<T, M extends PropertyKey = string, G = T, S = T>(name: string, options?: DefineModelRuntimeOptions<T, G, S>): ModelRef<T | undefined, M, G | undefined, S | undefined>;
|
|
328
346
|
type NotUndefined<T> = T extends undefined ? never : T;
|
|
329
347
|
type MappedOmit<T, K extends keyof any> = {
|
|
330
348
|
[P in keyof T as P extends K ? never : P]: T[P];
|
|
@@ -363,12 +381,12 @@ export declare function withDefaults<T, BKeys extends keyof T, Defaults extends
|
|
|
363
381
|
export declare function useSlots(): SetupContext['slots'];
|
|
364
382
|
export declare function useAttrs(): SetupContext['attrs'];
|
|
365
383
|
|
|
366
|
-
export type ObjectEmitsOptions = Record<string, ((...args: any[]) => any) | null>;
|
|
384
|
+
export type ObjectEmitsOptions = Record<string, ((...args: any[]) => any) | null | any[]>;
|
|
367
385
|
export type EmitsOptions = ObjectEmitsOptions | string[];
|
|
368
386
|
export type EmitsToProps<T extends EmitsOptions | ComponentTypeEmits> = T extends string[] ? {
|
|
369
387
|
[K in `on${Capitalize<T[number]>}`]?: (...args: any[]) => any;
|
|
370
388
|
} : T extends ObjectEmitsOptions ? {
|
|
371
|
-
[K in string & keyof T as `on${Capitalize<K>}`]?: (...args: T[K] extends (...args: infer P) => any ? P : T[K] extends null ? any[] : never) => any;
|
|
389
|
+
[K in string & keyof T as `on${Capitalize<K>}`]?: (...args: T[K] extends (...args: infer P) => any ? P : T[K] extends null ? any[] : T[K] extends any[] ? T[K] : never) => any;
|
|
372
390
|
} : {};
|
|
373
391
|
type TypeEmitsToOptions<T extends ComponentTypeEmits> = {
|
|
374
392
|
[K in keyof T & string]: T[K] extends [...args: infer Args] ? (...args: Args) => any : () => any;
|
|
@@ -480,16 +498,16 @@ export type CreateComponentPublicInstance<P = {}, B = {}, D = {}, C extends Comp
|
|
|
480
498
|
* inference everywhere internally, but it has to be a new type to avoid
|
|
481
499
|
* breaking types that relies on previous arguments order (#10842)
|
|
482
500
|
*/
|
|
483
|
-
export type CreateComponentPublicInstanceWithMixins<P = {}, B = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = {}, PublicProps = P, Defaults = {}, MakeDefaultsOptional extends boolean = false, I extends ComponentInjectOptions = {}, S extends SlotsType = {}, LC extends Record<string, Component> = {}, Directives extends Record<string, Directive> = {}, Exposed extends string = string, TypeRefs extends Data = {}, TypeEl
|
|
501
|
+
export type CreateComponentPublicInstanceWithMixins<P = {}, B = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = {}, PublicProps = P, Defaults = {}, MakeDefaultsOptional extends boolean = false, I extends ComponentInjectOptions = {}, S extends SlotsType = {}, LC extends Record<string, Component> = {}, Directives extends Record<string, Directive> = {}, Exposed extends string = string, TypeRefs extends Data = {}, TypeEl = any, Provide extends ComponentProvideOptions = ComponentProvideOptions, PublicMixin = IntersectionMixin<Mixin> & IntersectionMixin<Extends>, PublicP = UnwrapMixinsType<PublicMixin, 'P'> & EnsureNonVoid<P>, PublicB = UnwrapMixinsType<PublicMixin, 'B'> & EnsureNonVoid<B>, PublicD = UnwrapMixinsType<PublicMixin, 'D'> & EnsureNonVoid<D>, PublicC extends ComputedOptions = UnwrapMixinsType<PublicMixin, 'C'> & EnsureNonVoid<C>, PublicM extends MethodOptions = UnwrapMixinsType<PublicMixin, 'M'> & EnsureNonVoid<M>, PublicDefaults = UnwrapMixinsType<PublicMixin, 'Defaults'> & EnsureNonVoid<Defaults>> = ComponentPublicInstance<PublicP, PublicB, PublicD, PublicC, PublicM, E, PublicProps, PublicDefaults, MakeDefaultsOptional, ComponentOptionsBase<P, B, D, C, M, Mixin, Extends, E, string, Defaults, {}, string, S, LC, Directives, Exposed, Provide>, I, S, Exposed, TypeRefs, TypeEl>;
|
|
484
502
|
type ExposedKeys<T, Exposed extends string & keyof T> = '' extends Exposed ? T : Pick<T, Exposed>;
|
|
485
503
|
export type ComponentPublicInstance<P = {}, // props type extracted from props option
|
|
486
504
|
B = {}, // raw bindings returned from setup()
|
|
487
505
|
D = {}, // return from data()
|
|
488
|
-
C extends ComputedOptions = {}, M extends MethodOptions = {}, E extends EmitsOptions = {}, PublicProps = {}, Defaults = {}, MakeDefaultsOptional extends boolean = false, Options = ComponentOptionsBase<any, any, any, any, any, any, any, any, any>, I extends ComponentInjectOptions = {}, S extends SlotsType = {}, Exposed extends string = '', TypeRefs extends Data = {}, TypeEl
|
|
506
|
+
C extends ComputedOptions = {}, M extends MethodOptions = {}, E extends EmitsOptions = {}, PublicProps = {}, Defaults = {}, MakeDefaultsOptional extends boolean = false, Options = ComponentOptionsBase<any, any, any, any, any, any, any, any, any>, I extends ComponentInjectOptions = {}, S extends SlotsType = {}, Exposed extends string = '', TypeRefs extends Data = {}, TypeEl = any> = {
|
|
489
507
|
$: ComponentInternalInstance;
|
|
490
508
|
$data: D;
|
|
491
509
|
$props: MakeDefaultsOptional extends true ? Partial<Defaults> & Omit<Prettify<P> & PublicProps, keyof Defaults> : Prettify<P> & PublicProps;
|
|
492
|
-
$attrs:
|
|
510
|
+
$attrs: Attrs;
|
|
493
511
|
$refs: Data & TypeRefs;
|
|
494
512
|
$slots: UnwrapSlotsType<S>;
|
|
495
513
|
$root: ComponentPublicInstance | null;
|
|
@@ -524,6 +542,10 @@ export interface SuspenseProps {
|
|
|
524
542
|
onResolve?: () => void;
|
|
525
543
|
onPending?: () => void;
|
|
526
544
|
onFallback?: () => void;
|
|
545
|
+
/**
|
|
546
|
+
* Switch to fallback content if it takes longer than `timeout` milliseconds to render the new default content.
|
|
547
|
+
* A `timeout` value of `0` will cause the fallback content to be displayed immediately when default content is replaced.
|
|
548
|
+
*/
|
|
527
549
|
timeout?: string | number;
|
|
528
550
|
/**
|
|
529
551
|
* Allow suspense to be captured by parent suspense
|
|
@@ -557,6 +579,7 @@ export interface SuspenseBoundary {
|
|
|
557
579
|
container: RendererElement;
|
|
558
580
|
hiddenContainer: RendererElement;
|
|
559
581
|
activeBranch: VNode | null;
|
|
582
|
+
isFallbackMountPending: boolean;
|
|
560
583
|
pendingBranch: VNode | null;
|
|
561
584
|
deps: number;
|
|
562
585
|
pendingId: number;
|
|
@@ -981,11 +1004,11 @@ export declare function hasInjectionContext(): boolean;
|
|
|
981
1004
|
|
|
982
1005
|
export type PublicProps = VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
983
1006
|
type ResolveProps<PropsOrPropOptions, E extends EmitsOptions> = Readonly<PropsOrPropOptions extends ComponentPropsOptions ? ExtractPropTypes<PropsOrPropOptions> : PropsOrPropOptions> & ({} extends E ? {} : EmitsToProps<E>);
|
|
984
|
-
export type DefineComponent<PropsOrPropOptions = {}, RawBindings = {}, D = {}, C extends ComputedOptions = ComputedOptions, M extends MethodOptions = MethodOptions, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = {}, EE extends string = string, PP = PublicProps, Props = ResolveProps<PropsOrPropOptions, E>, Defaults = ExtractDefaultPropTypes<PropsOrPropOptions>, S extends SlotsType = {}, LC extends Record<string, Component> = {}, Directives extends Record<string, Directive> = {}, Exposed extends string = string, Provide extends ComponentProvideOptions = ComponentProvideOptions, MakeDefaultsOptional extends boolean = true, TypeRefs extends Record<string, unknown> = {}, TypeEl
|
|
1007
|
+
export type DefineComponent<PropsOrPropOptions = {}, RawBindings = {}, D = {}, C extends ComputedOptions = ComputedOptions, M extends MethodOptions = MethodOptions, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = {}, EE extends string = string, PP = PublicProps, Props = ResolveProps<PropsOrPropOptions, E>, Defaults = ExtractDefaultPropTypes<PropsOrPropOptions>, S extends SlotsType = {}, LC extends Record<string, Component> = {}, Directives extends Record<string, Directive> = {}, Exposed extends string = string, Provide extends ComponentProvideOptions = ComponentProvideOptions, MakeDefaultsOptional extends boolean = true, TypeRefs extends Record<string, unknown> = {}, TypeEl = any> = ComponentPublicInstanceConstructor<CreateComponentPublicInstanceWithMixins<Props, RawBindings, D, C, M, Mixin, Extends, E, PP, Defaults, MakeDefaultsOptional, {}, S, LC & GlobalComponents, Directives & GlobalDirectives, Exposed, TypeRefs, TypeEl>> & ComponentOptionsBase<Props, RawBindings, D, C, M, Mixin, Extends, E, EE, Defaults, {}, string, S, LC & GlobalComponents, Directives & GlobalDirectives, Exposed, Provide> & PP;
|
|
985
1008
|
export type DefineSetupFnComponent<P extends Record<string, any>, E extends EmitsOptions = {}, S extends SlotsType = SlotsType, Props = P & EmitsToProps<E>, PP = PublicProps> = new (props: Props & PP) => CreateComponentPublicInstanceWithMixins<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, E, PP, {}, false, {}, S>;
|
|
986
1009
|
type ToResolvedProps<Props, Emits extends EmitsOptions> = Readonly<Props> & Readonly<EmitsToProps<Emits>>;
|
|
987
1010
|
export declare function defineComponent<Props extends Record<string, any>, E extends EmitsOptions = {}, EE extends string = string, S extends SlotsType = {}>(setup: (props: Props, ctx: SetupContext<E, S>) => RenderFunction | Promise<RenderFunction>, options?: Pick<ComponentOptions, 'name' | 'inheritAttrs'> & {
|
|
988
|
-
props?: (keyof Props)[];
|
|
1011
|
+
props?: (keyof NoInfer<Props>)[];
|
|
989
1012
|
emits?: E | EE[];
|
|
990
1013
|
slots?: S;
|
|
991
1014
|
}): DefineSetupFnComponent<Props, E, S>;
|
|
@@ -996,7 +1019,7 @@ export declare function defineComponent<Props extends Record<string, any>, E ext
|
|
|
996
1019
|
}): DefineSetupFnComponent<Props, E, S>;
|
|
997
1020
|
export declare function defineComponent<TypeProps, RuntimePropsOptions extends ComponentObjectPropsOptions = ComponentObjectPropsOptions, RuntimePropsKeys extends string = string, TypeEmits extends ComponentTypeEmits = {}, RuntimeEmitsOptions extends EmitsOptions = {}, RuntimeEmitsKeys extends string = string, Data = {}, SetupBindings = {}, Computed extends ComputedOptions = {}, Methods extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, InjectOptions extends ComponentInjectOptions = {}, InjectKeys extends string = string, Slots extends SlotsType = {}, LocalComponents extends Record<string, Component> = {}, Directives extends Record<string, Directive> = {}, Exposed extends string = string, Provide extends ComponentProvideOptions = ComponentProvideOptions, ResolvedEmits extends EmitsOptions = {} extends RuntimeEmitsOptions ? TypeEmitsToOptions<TypeEmits> : RuntimeEmitsOptions, InferredProps = IsKeyValues<TypeProps> extends true ? TypeProps : string extends RuntimePropsKeys ? ComponentObjectPropsOptions extends RuntimePropsOptions ? {} : ExtractPropTypes<RuntimePropsOptions> : {
|
|
998
1021
|
[key in RuntimePropsKeys]?: any;
|
|
999
|
-
}, TypeRefs extends Record<string, unknown> = {}, TypeEl
|
|
1022
|
+
}, TypeRefs extends Record<string, unknown> = {}, TypeEl = any>(options: {
|
|
1000
1023
|
props?: (RuntimePropsOptions & ThisType<void>) | RuntimePropsKeys[];
|
|
1001
1024
|
/**
|
|
1002
1025
|
* @private for language-tools use only
|
|
@@ -1307,6 +1330,12 @@ export declare function createCommentVNode(text?: string, asBlock?: boolean): VN
|
|
|
1307
1330
|
export declare function mergeProps(...args: (Data & VNodeProps)[]): Data;
|
|
1308
1331
|
|
|
1309
1332
|
type Data = Record<string, unknown>;
|
|
1333
|
+
/**
|
|
1334
|
+
* For extending allowed non-declared attrs on components in TSX
|
|
1335
|
+
*/
|
|
1336
|
+
export interface AllowedAttrs {
|
|
1337
|
+
}
|
|
1338
|
+
export type Attrs = Data & AllowedAttrs;
|
|
1310
1339
|
/**
|
|
1311
1340
|
* Public utility type for extracting the instance type of a component.
|
|
1312
1341
|
* Works with all valid component definition types. This is intended to replace
|
|
@@ -1415,7 +1444,7 @@ export type ConcreteComponent<Props = {}, RawBindings = any, D = any, C extends
|
|
|
1415
1444
|
export type Component<PropsOrInstance = any, RawBindings = any, D = any, C extends ComputedOptions = ComputedOptions, M extends MethodOptions = MethodOptions, E extends EmitsOptions | Record<string, any[]> = {}, S extends Record<string, any> = any> = ConcreteComponent<PropsOrInstance, RawBindings, D, C, M, E, S> | ComponentPublicInstanceConstructor<PropsOrInstance>;
|
|
1416
1445
|
|
|
1417
1446
|
export type SetupContext<E = EmitsOptions, S extends SlotsType = {}> = E extends any ? {
|
|
1418
|
-
attrs:
|
|
1447
|
+
attrs: Attrs;
|
|
1419
1448
|
slots: UnwrapSlotsType<S>;
|
|
1420
1449
|
emit: EmitFn<E>;
|
|
1421
1450
|
expose: <Exposed extends Record<string, any> = Record<string, any>>(exposed?: Exposed) => void;
|
|
@@ -1688,7 +1717,7 @@ export declare function toHandlers(obj: Record<string, any>, preserveCaseIfNeces
|
|
|
1688
1717
|
* Compiler runtime helper for rendering `<slot/>`
|
|
1689
1718
|
* @private
|
|
1690
1719
|
*/
|
|
1691
|
-
export declare function renderSlot(slots: Slots, name: string, props?: Data, fallback?: () => VNodeArrayChildren, noSlotted?: boolean): VNode;
|
|
1720
|
+
export declare function renderSlot(slots: Slots, name: string, props?: Data | null, fallback?: () => VNodeArrayChildren, noSlotted?: boolean, branchKey?: PropertyKey): VNode;
|
|
1692
1721
|
|
|
1693
1722
|
type SSRSlot = (...args: any[]) => VNode[] | undefined;
|
|
1694
1723
|
interface CompiledSlotDescriptor {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/runtime-core",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.41",
|
|
4
4
|
"description": "@vue/runtime-core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/runtime-core.esm-bundler.js",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-core#readme",
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@vue/shared": "3.5.
|
|
50
|
-
"@vue/reactivity": "3.5.
|
|
49
|
+
"@vue/shared": "3.5.41",
|
|
50
|
+
"@vue/reactivity": "3.5.41"
|
|
51
51
|
}
|
|
52
52
|
}
|