@histoire/vendors 0.12.3 → 0.13.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-pinia.js +5 -10
- package/dist/client/b-vue.js +1 -1
- package/dist/client/node_modules/@babel/parser/package.json +1 -1
- package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +3 -2
- package/dist/client/node_modules/@vue/compiler-core/package.json +2 -2
- package/dist/client/node_modules/@vue/compiler-dom/package.json +3 -3
- package/dist/client/node_modules/@vue/compiler-sfc/package.json +6 -6
- package/dist/client/node_modules/@vue/compiler-ssr/package.json +3 -3
- package/dist/client/node_modules/@vue/devtools-api/package.json +1 -1
- package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +2 -1
- package/dist/client/node_modules/@vue/reactivity/package.json +2 -2
- package/dist/client/node_modules/@vue/reactivity-transform/dist/reactivity-transform.d.ts +1 -0
- package/dist/client/node_modules/@vue/reactivity-transform/package.json +3 -3
- package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +16 -9
- 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 +20 -3
- package/dist/client/node_modules/@vue/runtime-dom/package.json +3 -3
- package/dist/client/node_modules/@vue/server-renderer/package.json +4 -4
- package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +12 -0
- package/dist/client/node_modules/@vue/shared/package.json +1 -1
- package/dist/client/node_modules/pinia/dist/pinia.d.ts +13 -2
- package/dist/client/node_modules/pinia/package.json +3 -3
- package/dist/client/node_modules/postcss/lib/input.d.ts +36 -1
- package/dist/client/node_modules/postcss/package.json +1 -1
- package/dist/client/node_modules/vue/package.json +12 -12
- package/dist/client/vue.runtime.esm-bundler.js +215 -145
- package/package.json +3 -3
package/dist/client/b-pinia.js
CHANGED
|
@@ -3,8 +3,8 @@ import { s as setupDevtoolsPlugin } from './index2.js';
|
|
|
3
3
|
import { y as getCurrentInstance, z as inject, A as toRaw, B as watch, C as unref, D as markRaw, E as effectScope, u as ref, G as isRef, H as isReactive, I as getCurrentScope, J as onScopeDispose, K as toRefs, L as computed, b as nextTick, M as reactive, N as toRef } from './vue.runtime.esm-bundler.js';
|
|
4
4
|
|
|
5
5
|
/*!
|
|
6
|
-
* pinia v2.0.
|
|
7
|
-
* (c)
|
|
6
|
+
* pinia v2.0.30
|
|
7
|
+
* (c) 2023 Eduardo San Martin Morote
|
|
8
8
|
* @license MIT
|
|
9
9
|
*/
|
|
10
10
|
|
|
@@ -489,6 +489,7 @@ let isTimelineActive = true;
|
|
|
489
489
|
const componentStateTypes = [];
|
|
490
490
|
const MUTATIONS_LAYER_ID = 'pinia:mutations';
|
|
491
491
|
const INSPECTOR_ID = 'pinia';
|
|
492
|
+
const { assign: assign$1 } = Object;
|
|
492
493
|
/**
|
|
493
494
|
* Gets the displayed name of a store in devtools
|
|
494
495
|
*
|
|
@@ -815,10 +816,7 @@ function addStoreToDevtools(app, store) {
|
|
|
815
816
|
const eventData = {
|
|
816
817
|
time: now(),
|
|
817
818
|
title: formatMutationType(type),
|
|
818
|
-
data: {
|
|
819
|
-
store: formatDisplay(store.$id),
|
|
820
|
-
...formatEventData(events),
|
|
821
|
-
},
|
|
819
|
+
data: assign$1({ store: formatDisplay(store.$id) }, formatEventData(events)),
|
|
822
820
|
groupId: activeAction,
|
|
823
821
|
};
|
|
824
822
|
// reset for the next mutation
|
|
@@ -1618,10 +1616,7 @@ function createSetupStore($id, setup, options = {}, pinia, hot, isOptionsStore)
|
|
|
1618
1616
|
enumerable: false,
|
|
1619
1617
|
};
|
|
1620
1618
|
['_p', '_hmrPayload', '_getters', '_customProperties'].forEach((p) => {
|
|
1621
|
-
Object.defineProperty(store, p, {
|
|
1622
|
-
value: store[p],
|
|
1623
|
-
...nonEnumerable,
|
|
1624
|
-
});
|
|
1619
|
+
Object.defineProperty(store, p, assign({ value: store[p] }, nonEnumerable));
|
|
1625
1620
|
});
|
|
1626
1621
|
}
|
|
1627
1622
|
/* istanbul ignore if */
|
package/dist/client/b-vue.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ai as BaseTransition, aj as Comment,
|
|
1
|
+
export { ai as BaseTransition, aj as Comment, be as EffectScope, F as Fragment, ak as KeepAlive, bf as ReactiveEffect, al as Static, am as Suspense, an as Teleport, ao as Text, a0 as Transition, a1 as TransitionGroup, a2 as VueElement, ap as assertNumber, aq as callWithAsyncErrorHandling, ar as callWithErrorHandling, bp as camelize, bq as capitalize, as as cloneVNode, at as compatUtils, $ 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, a3 as createSSRApp, ax as createSlots, ay as createStaticVNode, az as createTextVNode, q as createVNode, V as customRef, aA as defineAsyncComponent, d as defineComponent, a4 as defineCustomElement, aB as defineEmits, aC as defineExpose, aD as defineProps, a5 as defineSSRCustomElement, aE as devtools, bg as effect, E as effectScope, y as getCurrentInstance, I as getCurrentScope, aF as getTransitionRawChildren, g as guardReactiveProps, x as h, aG as handleError, a6 as hydrate, aH as initCustomFormatter, a7 as initDirectivesForSSR, z as inject, aI as isMemoSame, bh as isProxy, H as isReactive, bi as isReadonly, G as isRef, aJ as isRuntimeOnly, bj as isShallow, aK as isVNode, D as markRaw, aL as mergeDefaults, s as mergeProps, b as nextTick, n as normalizeClass, a as normalizeProps, j as normalizeStyle, Q as onActivated, W as onBeforeMount, X as onBeforeUnmount, _ as onBeforeUpdate, P as onDeactivated, aM as onErrorCaptured, Y as onMounted, aN as onRenderTracked, aO as onRenderTriggered, J as onScopeDispose, aP as onServerPrefetch, O as onUnmounted, Z as onUpdated, o as openBlock, e as popScopeId, S as provide, bk as proxyRefs, p as pushScopeId, aQ as queuePostFlushCb, M as reactive, U as readonly, u as ref, aR as registerRuntimeCompiler, a8 as render, aS as renderList, r as renderSlot, i as resolveComponent, aT as resolveDirective, aU as resolveDynamicComponent, aV as resolveFilter, aW as resolveTransitionHooks, aX as setBlockTracking, aY as setDevtoolsHook, aZ as setTransitionHooks, bl as shallowReactive, bm as shallowReadonly, T as shallowRef, a_ as ssrContextKey, a$ as ssrUtils, bn as stop, t as toDisplayString, br as toHandlerKey, b0 as toHandlers, A as toRaw, N as toRef, K as toRefs, b1 as transformVNodeArgs, bo as triggerRef, C as unref, b2 as useAttrs, a9 as useCssModule, aa as useCssVars, b3 as useSSRContext, b4 as useSlots, b5 as useTransitionState, ab as vModelCheckbox, ac as vModelDynamic, ad as vModelRadio, ae as vModelSelect, af as vModelText, ag as vShow, b6 as version, b7 as warn, B as watch, R as watchEffect, b8 as watchPostEffect, b9 as watchSyncEffect, ba as withAsyncContext, m as withCtx, bb as withDefaults, bc as withDirectives, k as withKeys, bd as withMemo, ah as withModifiers, w as withScopeId } from './vue.runtime.esm-bundler.js';
|
|
@@ -18,7 +18,8 @@ export declare interface ArrayExpression extends Node_2 {
|
|
|
18
18
|
elements: Array<string | Node_2>;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
declare function assert_2(condition: boolean, msg?: string): void;
|
|
22
|
+
export { assert_2 as assert }
|
|
22
23
|
|
|
23
24
|
export declare interface AssignmentExpression extends Node_2 {
|
|
24
25
|
type: NodeTypes.JS_ASSIGNMENT_EXPRESSION;
|
|
@@ -859,7 +860,7 @@ export declare interface ReturnStatement extends Node_2 {
|
|
|
859
860
|
export declare interface RootNode extends Node_2 {
|
|
860
861
|
type: NodeTypes.ROOT;
|
|
861
862
|
children: TemplateChildNode[];
|
|
862
|
-
helpers: symbol
|
|
863
|
+
helpers: Set<symbol>;
|
|
863
864
|
components: string[];
|
|
864
865
|
directives: string[];
|
|
865
866
|
hoists: (JSChildNode | null)[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-core",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.47",
|
|
4
4
|
"description": "@vue/compiler-core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/compiler-core.esm-bundler.js",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-core#readme",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@vue/shared": "3.2.
|
|
35
|
+
"@vue/shared": "3.2.47",
|
|
36
36
|
"@babel/parser": "^7.16.4",
|
|
37
37
|
"estree-walker": "^2.0.2",
|
|
38
38
|
"source-map": "^0.6.1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-dom",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.47",
|
|
4
4
|
"description": "@vue/compiler-dom",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/compiler-dom.esm-bundler.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-dom#readme",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@vue/shared": "3.2.
|
|
41
|
-
"@vue/compiler-core": "3.2.
|
|
40
|
+
"@vue/shared": "3.2.47",
|
|
41
|
+
"@vue/compiler-core": "3.2.47"
|
|
42
42
|
}
|
|
43
43
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-sfc",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.47",
|
|
4
4
|
"description": "@vue/compiler-sfc",
|
|
5
5
|
"main": "dist/compiler-sfc.cjs.js",
|
|
6
6
|
"module": "dist/compiler-sfc.esm-browser.js",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-sfc#readme",
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@babel/parser": "^7.16.4",
|
|
36
|
-
"@vue/compiler-core": "3.2.
|
|
37
|
-
"@vue/compiler-dom": "3.2.
|
|
38
|
-
"@vue/compiler-ssr": "3.2.
|
|
39
|
-
"@vue/reactivity-transform": "3.2.
|
|
40
|
-
"@vue/shared": "3.2.
|
|
36
|
+
"@vue/compiler-core": "3.2.47",
|
|
37
|
+
"@vue/compiler-dom": "3.2.47",
|
|
38
|
+
"@vue/compiler-ssr": "3.2.47",
|
|
39
|
+
"@vue/reactivity-transform": "3.2.47",
|
|
40
|
+
"@vue/shared": "3.2.47",
|
|
41
41
|
"estree-walker": "^2.0.2",
|
|
42
42
|
"magic-string": "^0.25.7",
|
|
43
43
|
"source-map": "^0.6.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-ssr",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.47",
|
|
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.2.
|
|
32
|
-
"@vue/compiler-dom": "3.2.
|
|
31
|
+
"@vue/shared": "3.2.47",
|
|
32
|
+
"@vue/compiler-dom": "3.2.47"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -74,13 +74,14 @@ export declare type EffectScheduler = (...args: any[]) => any;
|
|
|
74
74
|
|
|
75
75
|
export declare class EffectScope {
|
|
76
76
|
detached: boolean;
|
|
77
|
-
/* Excluded from this release type:
|
|
77
|
+
/* Excluded from this release type: _active */
|
|
78
78
|
/* Excluded from this release type: effects */
|
|
79
79
|
/* Excluded from this release type: cleanups */
|
|
80
80
|
/* Excluded from this release type: parent */
|
|
81
81
|
/* Excluded from this release type: scopes */
|
|
82
82
|
/* Excluded from this release type: index */
|
|
83
83
|
constructor(detached?: boolean);
|
|
84
|
+
get active(): boolean;
|
|
84
85
|
run<T>(fn: () => T): T | undefined;
|
|
85
86
|
/* Excluded from this release type: on */
|
|
86
87
|
/* Excluded from this release type: off */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/reactivity",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.47",
|
|
4
4
|
"description": "@vue/reactivity",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/reactivity.esm-bundler.js",
|
|
@@ -36,6 +36,6 @@
|
|
|
36
36
|
},
|
|
37
37
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/reactivity#readme",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@vue/shared": "3.2.
|
|
39
|
+
"@vue/shared": "3.2.47"
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/reactivity-transform",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.47",
|
|
4
4
|
"description": "@vue/reactivity-transform",
|
|
5
5
|
"main": "dist/reactivity-transform.cjs.js",
|
|
6
6
|
"files": [
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"homepage": "https://github.com/vuejs/core/tree/dev/packages/reactivity-transform#readme",
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@babel/parser": "^7.16.4",
|
|
32
|
-
"@vue/compiler-core": "3.2.
|
|
33
|
-
"@vue/shared": "3.2.
|
|
32
|
+
"@vue/compiler-core": "3.2.47",
|
|
33
|
+
"@vue/shared": "3.2.47",
|
|
34
34
|
"estree-walker": "^2.0.2",
|
|
35
35
|
"magic-string": "^0.25.7"
|
|
36
36
|
},
|
|
@@ -75,7 +75,8 @@ export declare interface AllowedComponentProps {
|
|
|
75
75
|
export declare interface App<HostElement = any> {
|
|
76
76
|
version: string;
|
|
77
77
|
config: AppConfig;
|
|
78
|
-
use(plugin: Plugin_2
|
|
78
|
+
use<Options extends unknown[]>(plugin: Plugin_2<Options>, ...options: Options): this;
|
|
79
|
+
use<Options>(plugin: Plugin_2<Options>, options: Options): this;
|
|
79
80
|
mixin(mixin: ComponentOptions): this;
|
|
80
81
|
component(name: string): Component | undefined;
|
|
81
82
|
component(name: string, component: Component): this;
|
|
@@ -142,6 +143,8 @@ declare interface AppRecord {
|
|
|
142
143
|
types: Record<string, string | Symbol>;
|
|
143
144
|
}
|
|
144
145
|
|
|
146
|
+
/* Excluded from this release type: assertNumber */
|
|
147
|
+
|
|
145
148
|
export declare type AsyncComponentLoader<T = any> = () => Promise<AsyncComponentResolveResult<T>>;
|
|
146
149
|
|
|
147
150
|
export declare interface AsyncComponentOptions<T = any> {
|
|
@@ -185,6 +188,8 @@ declare const enum BooleanFlags {
|
|
|
185
188
|
shouldCastTrue = 1
|
|
186
189
|
}
|
|
187
190
|
|
|
191
|
+
declare type BooleanKey<T, K extends keyof T = keyof T> = K extends any ? [T[K]] extends [boolean | undefined] ? K : never : never;
|
|
192
|
+
|
|
188
193
|
export declare function callWithAsyncErrorHandling(fn: Function | Function[], instance: ComponentInternalInstance | null, type: ErrorTypes, args?: unknown[]): any[];
|
|
189
194
|
|
|
190
195
|
export declare function callWithErrorHandling(fn: Function, instance: ComponentInternalInstance | null, type: ErrorTypes, args?: unknown[]): any;
|
|
@@ -444,7 +449,7 @@ export declare interface ComponentOptionsBase<Props, RawBindings, D, C extends C
|
|
|
444
449
|
inheritAttrs?: boolean;
|
|
445
450
|
emits?: (E | EE[]) & ThisType<void>;
|
|
446
451
|
expose?: string[];
|
|
447
|
-
serverPrefetch?(): Promise<any>;
|
|
452
|
+
serverPrefetch?(): void | Promise<any>;
|
|
448
453
|
compilerOptions?: RuntimeCompilerOptions;
|
|
449
454
|
/* Excluded from this release type: ssrRender */
|
|
450
455
|
/* Excluded from this release type: __ssrInlineRender */
|
|
@@ -739,7 +744,9 @@ export declare function defineProps<PropNames extends string = string>(props: Pr
|
|
|
739
744
|
|
|
740
745
|
export declare function defineProps<PP extends ComponentObjectPropsOptions = ComponentObjectPropsOptions>(props: PP): Readonly<ExtractPropTypes<PP>>;
|
|
741
746
|
|
|
742
|
-
export declare function defineProps<TypeProps>(): Readonly<TypeProps
|
|
747
|
+
export declare function defineProps<TypeProps>(): Readonly<Omit<TypeProps, BooleanKey<TypeProps>> & {
|
|
748
|
+
[K in keyof Pick<TypeProps, BooleanKey<TypeProps>>]-?: NotUndefined<TypeProps[K]>;
|
|
749
|
+
}>;
|
|
743
750
|
|
|
744
751
|
export declare const enum DeprecationTypes {
|
|
745
752
|
GLOBAL_MOUNT = "GLOBAL_MOUNT",
|
|
@@ -1336,14 +1343,14 @@ declare type PatchChildrenFn = (n1: VNode | null, n2: VNode, container: Renderer
|
|
|
1336
1343
|
declare type PatchFn = (n1: VNode | null, // null means this is a mount
|
|
1337
1344
|
n2: VNode, container: RendererElement, anchor?: RendererNode | null, parentComponent?: ComponentInternalInstance | null, parentSuspense?: SuspenseBoundary | null, isSVG?: boolean, slotScopeIds?: string[] | null, optimized?: boolean) => void;
|
|
1338
1345
|
|
|
1339
|
-
declare type Plugin_2 = (PluginInstallFunction & {
|
|
1340
|
-
install?: PluginInstallFunction
|
|
1346
|
+
declare type Plugin_2<Options = any[]> = (PluginInstallFunction<Options> & {
|
|
1347
|
+
install?: PluginInstallFunction<Options>;
|
|
1341
1348
|
}) | {
|
|
1342
|
-
install: PluginInstallFunction
|
|
1349
|
+
install: PluginInstallFunction<Options>;
|
|
1343
1350
|
};
|
|
1344
1351
|
export { Plugin_2 as Plugin }
|
|
1345
1352
|
|
|
1346
|
-
declare type PluginInstallFunction = (app: App, ...options: any
|
|
1353
|
+
declare type PluginInstallFunction<Options> = Options extends unknown[] ? (app: App, ...options: Options) => any : (app: App, options: Options) => any;
|
|
1347
1354
|
|
|
1348
1355
|
/**
|
|
1349
1356
|
* Technically we no longer need this after 3.0.8 but we need to keep the same
|
|
@@ -1635,12 +1642,12 @@ export declare function setTransitionHooks(vnode: VNode, hooks: TransitionHooks)
|
|
|
1635
1642
|
|
|
1636
1643
|
declare function setupComponent(instance: ComponentInternalInstance, isSSR?: boolean): Promise<void> | undefined;
|
|
1637
1644
|
|
|
1638
|
-
export declare
|
|
1645
|
+
export declare type SetupContext<E = EmitsOptions> = E extends any ? {
|
|
1639
1646
|
attrs: Data;
|
|
1640
1647
|
slots: Slots;
|
|
1641
1648
|
emit: EmitFn<E>;
|
|
1642
1649
|
expose: (exposed?: Record<string, any>) => void;
|
|
1643
|
-
}
|
|
1650
|
+
} : never;
|
|
1644
1651
|
|
|
1645
1652
|
declare type SetupRenderEffectFn = (instance: ComponentInternalInstance, initialVNode: VNode, container: RendererElement, anchor: RendererNode | null, parentSuspense: SuspenseBoundary | null, isSVG: boolean, optimized: boolean) => void;
|
|
1646
1653
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/runtime-core",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.47",
|
|
4
4
|
"description": "@vue/runtime-core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/runtime-core.esm-bundler.js",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-core#readme",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@vue/shared": "3.2.
|
|
36
|
-
"@vue/reactivity": "3.2.
|
|
35
|
+
"@vue/shared": "3.2.47",
|
|
36
|
+
"@vue/reactivity": "3.2.47"
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -481,6 +481,17 @@ export interface HTMLAttributes extends AriaAttributes, EventHandlers<Events> {
|
|
|
481
481
|
is?: string
|
|
482
482
|
}
|
|
483
483
|
|
|
484
|
+
type HTMLAttributeReferrerPolicy =
|
|
485
|
+
| ''
|
|
486
|
+
| 'no-referrer'
|
|
487
|
+
| 'no-referrer-when-downgrade'
|
|
488
|
+
| 'origin'
|
|
489
|
+
| 'origin-when-cross-origin'
|
|
490
|
+
| 'same-origin'
|
|
491
|
+
| 'strict-origin'
|
|
492
|
+
| 'strict-origin-when-cross-origin'
|
|
493
|
+
| 'unsafe-url'
|
|
494
|
+
|
|
484
495
|
export interface AnchorHTMLAttributes extends HTMLAttributes {
|
|
485
496
|
download?: any
|
|
486
497
|
href?: string
|
|
@@ -490,7 +501,7 @@ export interface AnchorHTMLAttributes extends HTMLAttributes {
|
|
|
490
501
|
rel?: string
|
|
491
502
|
target?: string
|
|
492
503
|
type?: string
|
|
493
|
-
referrerpolicy?:
|
|
504
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy
|
|
494
505
|
}
|
|
495
506
|
|
|
496
507
|
export interface AreaHTMLAttributes extends HTMLAttributes {
|
|
@@ -500,6 +511,7 @@ export interface AreaHTMLAttributes extends HTMLAttributes {
|
|
|
500
511
|
href?: string
|
|
501
512
|
hreflang?: string
|
|
502
513
|
media?: string
|
|
514
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy
|
|
503
515
|
rel?: string
|
|
504
516
|
shape?: string
|
|
505
517
|
target?: string
|
|
@@ -598,7 +610,7 @@ export interface IframeHTMLAttributes extends HTMLAttributes {
|
|
|
598
610
|
marginheight?: Numberish
|
|
599
611
|
marginwidth?: Numberish
|
|
600
612
|
name?: string
|
|
601
|
-
referrerpolicy?:
|
|
613
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy
|
|
602
614
|
sandbox?: string
|
|
603
615
|
scrolling?: string
|
|
604
616
|
seamless?: Booleanish
|
|
@@ -612,6 +624,7 @@ export interface ImgHTMLAttributes extends HTMLAttributes {
|
|
|
612
624
|
crossorigin?: 'anonymous' | 'use-credentials' | ''
|
|
613
625
|
decoding?: 'async' | 'auto' | 'sync'
|
|
614
626
|
height?: Numberish
|
|
627
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy
|
|
615
628
|
sizes?: string
|
|
616
629
|
src?: string
|
|
617
630
|
srcset?: string
|
|
@@ -686,6 +699,7 @@ export interface LinkHTMLAttributes extends HTMLAttributes {
|
|
|
686
699
|
hreflang?: string
|
|
687
700
|
integrity?: string
|
|
688
701
|
media?: string
|
|
702
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy
|
|
689
703
|
rel?: string
|
|
690
704
|
sizes?: string
|
|
691
705
|
type?: string
|
|
@@ -786,6 +800,7 @@ export interface ScriptHTMLAttributes extends HTMLAttributes {
|
|
|
786
800
|
defer?: Booleanish
|
|
787
801
|
integrity?: string
|
|
788
802
|
nomodule?: Booleanish
|
|
803
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy
|
|
789
804
|
nonce?: string
|
|
790
805
|
src?: string
|
|
791
806
|
type?: string
|
|
@@ -1473,7 +1488,9 @@ export interface Events {
|
|
|
1473
1488
|
}
|
|
1474
1489
|
|
|
1475
1490
|
type EventHandlers<E> = {
|
|
1476
|
-
[K in keyof E]?: E[K] extends (...args: any) => any
|
|
1491
|
+
[K in keyof E]?: E[K] extends (...args: any) => any
|
|
1492
|
+
? E[K]
|
|
1493
|
+
: (payload: E[K]) => void
|
|
1477
1494
|
}
|
|
1478
1495
|
|
|
1479
1496
|
// use namespace import to avoid collision with generated types which use
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/runtime-dom",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.47",
|
|
4
4
|
"description": "@vue/runtime-dom",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/runtime-dom.esm-bundler.js",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-dom#readme",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@vue/shared": "3.2.
|
|
39
|
-
"@vue/runtime-core": "3.2.
|
|
38
|
+
"@vue/shared": "3.2.47",
|
|
39
|
+
"@vue/runtime-core": "3.2.47",
|
|
40
40
|
"csstype": "^2.6.8"
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/server-renderer",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.47",
|
|
4
4
|
"description": "@vue/server-renderer",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/server-renderer.esm-bundler.js",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
},
|
|
33
33
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/server-renderer#readme",
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"vue": "3.2.
|
|
35
|
+
"vue": "3.2.47"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@vue/shared": "3.2.
|
|
39
|
-
"@vue/compiler-ssr": "3.2.
|
|
38
|
+
"@vue/shared": "3.2.47",
|
|
39
|
+
"@vue/compiler-ssr": "3.2.47"
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -100,6 +100,8 @@ export declare const isPlainObject: (val: unknown) => val is object;
|
|
|
100
100
|
|
|
101
101
|
export declare const isPromise: <T = any>(val: unknown) => val is Promise<T>;
|
|
102
102
|
|
|
103
|
+
export declare const isRegExp: (val: unknown) => val is RegExp;
|
|
104
|
+
|
|
103
105
|
export declare const isReservedProp: (key: string) => boolean;
|
|
104
106
|
|
|
105
107
|
export declare const isSet: (val: unknown) => val is Set<any>;
|
|
@@ -132,6 +134,12 @@ export declare type LooseRequired<T> = {
|
|
|
132
134
|
[P in keyof (T & Required<T>)]: T[P];
|
|
133
135
|
};
|
|
134
136
|
|
|
137
|
+
/**
|
|
138
|
+
* "123-foo" will be parsed to 123
|
|
139
|
+
* This is used for the .number modifier in v-model
|
|
140
|
+
*/
|
|
141
|
+
export declare const looseToNumber: (val: any) => any;
|
|
142
|
+
|
|
135
143
|
/**
|
|
136
144
|
* Make a map and return a function for checking if a key
|
|
137
145
|
* is in that map.
|
|
@@ -340,6 +348,10 @@ export declare const toDisplayString: (val: unknown) => string;
|
|
|
340
348
|
*/
|
|
341
349
|
export declare const toHandlerKey: (str: string) => string;
|
|
342
350
|
|
|
351
|
+
/**
|
|
352
|
+
* Only conerces number-like strings
|
|
353
|
+
* "123-foo" will be returned as-is
|
|
354
|
+
*/
|
|
343
355
|
export declare const toNumber: (val: any) => any;
|
|
344
356
|
|
|
345
357
|
export declare const toRawType: (value: unknown) => string;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { App } from 'vue-demi';
|
|
2
|
-
import
|
|
2
|
+
import { ComputedRef } from 'vue-demi';
|
|
3
3
|
import type { DebuggerEvent } from 'vue-demi';
|
|
4
4
|
import { EffectScope } from 'vue-demi';
|
|
5
5
|
import type { Plugin as Plugin_2 } from 'vue-demi';
|
|
6
6
|
import { Ref } from 'vue-demi';
|
|
7
|
+
import { ToRef } from 'vue-demi';
|
|
7
8
|
import { ToRefs } from 'vue-demi';
|
|
8
9
|
import { UnwrapRef } from 'vue-demi';
|
|
9
10
|
import type { WatchOptions } from 'vue-demi';
|
|
@@ -714,6 +715,12 @@ export declare interface StoreProperties<Id extends string> {
|
|
|
714
715
|
*/
|
|
715
716
|
export declare type StoreState<SS> = SS extends Store<string, infer S, _GettersTree<StateTree>, _ActionsTree> ? UnwrapRef<S> : _ExtractStateFromSetupStore<SS>;
|
|
716
717
|
|
|
718
|
+
/**
|
|
719
|
+
* Extracts the return type for `storeToRefs`.
|
|
720
|
+
* Will convert any `getters` into `ComputedRef`.
|
|
721
|
+
*/
|
|
722
|
+
declare type StoreToRefs<SS extends StoreGeneric> = ToRefs<StoreState<SS> & PiniaCustomStateProperties<StoreState<SS>>> & ToComputedRefs<StoreGetters<SS>>;
|
|
723
|
+
|
|
717
724
|
/**
|
|
718
725
|
* Creates an object of references with all the state, getters, and plugin-added
|
|
719
726
|
* state properties of the store. Similar to `toRefs()` but specifically
|
|
@@ -722,7 +729,7 @@ export declare type StoreState<SS> = SS extends Store<string, infer S, _GettersT
|
|
|
722
729
|
*
|
|
723
730
|
* @param store - store to extract the refs from
|
|
724
731
|
*/
|
|
725
|
-
export declare function storeToRefs<SS extends StoreGeneric>(store: SS):
|
|
732
|
+
export declare function storeToRefs<SS extends StoreGeneric>(store: SS): StoreToRefs<SS>;
|
|
726
733
|
|
|
727
734
|
/**
|
|
728
735
|
* Store augmented for actions. For internal usage only.
|
|
@@ -901,6 +908,10 @@ export declare interface SubscriptionCallbackMutationPatchObject<S> extends _Sub
|
|
|
901
908
|
payload: _DeepPartial<S>;
|
|
902
909
|
}
|
|
903
910
|
|
|
911
|
+
declare type ToComputedRefs<T> = {
|
|
912
|
+
[K in keyof T]: ToRef<T[K]> extends Ref<infer U> ? ComputedRef<U> : ToRef<T[K]>;
|
|
913
|
+
};
|
|
914
|
+
|
|
904
915
|
/**
|
|
905
916
|
* Type that enables refactoring through IDE.
|
|
906
917
|
* For internal use **only**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pinia",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.30",
|
|
4
4
|
"description": "Intuitive, type safe and flexible Store for Vue",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/pinia.mjs",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"types": "dist/pinia.d.ts",
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
12
|
+
"types": "./dist/pinia.d.ts",
|
|
12
13
|
"node": {
|
|
13
14
|
"import": {
|
|
14
15
|
"production": "./dist/pinia.prod.cjs",
|
|
@@ -22,8 +23,7 @@
|
|
|
22
23
|
}
|
|
23
24
|
},
|
|
24
25
|
"import": "./dist/pinia.mjs",
|
|
25
|
-
"require": "./index.js"
|
|
26
|
-
"types": "./dist/pinia.d.ts"
|
|
26
|
+
"require": "./index.js"
|
|
27
27
|
},
|
|
28
28
|
"./package.json": "./package.json",
|
|
29
29
|
"./dist/*": "./dist/*"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ProcessOptions } from './postcss.js'
|
|
1
|
+
import { CssSyntaxError, ProcessOptions } from './postcss.js'
|
|
2
2
|
import PreviousMap from './previous-map.js'
|
|
3
3
|
|
|
4
4
|
export interface FilePosition {
|
|
@@ -147,4 +147,39 @@ export default class Input {
|
|
|
147
147
|
* @param offset Source offset.
|
|
148
148
|
*/
|
|
149
149
|
fromOffset(offset: number): { line: number; col: number } | null
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Returns `CssSyntaxError` with information about the error and its position.
|
|
153
|
+
*/
|
|
154
|
+
error(
|
|
155
|
+
message: string,
|
|
156
|
+
line: number,
|
|
157
|
+
column: number,
|
|
158
|
+
opts?: { plugin?: CssSyntaxError['plugin'] }
|
|
159
|
+
): CssSyntaxError
|
|
160
|
+
error(
|
|
161
|
+
message: string,
|
|
162
|
+
offset: number,
|
|
163
|
+
opts?: { plugin?: CssSyntaxError['plugin'] }
|
|
164
|
+
): CssSyntaxError
|
|
165
|
+
error(
|
|
166
|
+
message: string,
|
|
167
|
+
start:
|
|
168
|
+
| {
|
|
169
|
+
offset: number
|
|
170
|
+
}
|
|
171
|
+
| {
|
|
172
|
+
line: number
|
|
173
|
+
column: number
|
|
174
|
+
},
|
|
175
|
+
end:
|
|
176
|
+
| {
|
|
177
|
+
offset: number
|
|
178
|
+
}
|
|
179
|
+
| {
|
|
180
|
+
line: number
|
|
181
|
+
column: number
|
|
182
|
+
},
|
|
183
|
+
opts?: { plugin?: CssSyntaxError['plugin'] }
|
|
184
|
+
): CssSyntaxError
|
|
150
185
|
}
|