@kitbag/router 0.20.6 → 0.20.7
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/components/echo.d.ts +6 -0
- package/dist/components/helloWorld.d.ts +2 -0
- package/dist/components/rejection.d.ts +2 -0
- package/dist/components/routerLink.browser.spec.d.ts +1 -0
- package/dist/components/routerLink.d.ts +36 -0
- package/dist/components/routerView.browser.spec.d.ts +1 -0
- package/dist/components/routerView.d.ts +20 -0
- package/dist/components/routerView.spec.d.ts +1 -0
- package/dist/compositions/useComponentsStore.d.ts +5 -0
- package/dist/compositions/useEventListener.d.ts +2 -0
- package/dist/compositions/useLink.d.ts +16 -0
- package/dist/compositions/usePrefetching.d.ts +14 -0
- package/dist/compositions/usePropStore.d.ts +7 -0
- package/dist/compositions/useQueryValue.browser.spec.d.ts +1 -0
- package/dist/compositions/useQueryValue.d.ts +15 -0
- package/dist/compositions/useRejection.d.ts +7 -0
- package/dist/compositions/useRoute.browser.spec.d.ts +1 -0
- package/dist/compositions/useRoute.d.ts +16 -0
- package/dist/compositions/useRouter.d.ts +3 -0
- package/dist/compositions/useRouterDepth.d.ts +8 -0
- package/dist/compositions/useRouterHooks.d.ts +4 -0
- package/dist/compositions/useVisibilityObserver.d.ts +8 -0
- package/dist/errors/callbackContextAbortError.d.ts +5 -0
- package/dist/errors/callbackContextPushError.d.ts +5 -0
- package/dist/errors/callbackContextRejectionError.d.ts +6 -0
- package/dist/errors/duplicateNamesError.d.ts +11 -0
- package/dist/errors/duplicateParamsError.d.ts +13 -0
- package/dist/errors/initialRouteMissingError.d.ts +3 -0
- package/dist/errors/invalidRouteParamValueError.d.ts +2 -0
- package/dist/errors/metaPropertyConflict.d.ts +8 -0
- package/dist/errors/routeNotFoundError.d.ts +6 -0
- package/dist/errors/routerNotInstalledError.d.ts +7 -0
- package/dist/errors/useRouteInvalidError.d.ts +13 -0
- package/dist/guards/routes.d.ts +46 -0
- package/dist/guards/routes.spec-d.d.ts +1 -0
- package/dist/keys.d.ts +3 -0
- package/dist/kitbag-router.d.ts +2 -1433
- package/dist/kitbag-router.js +1751 -1675
- package/dist/kitbag-router.umd.cjs +3 -3
- package/dist/main.d.ts +302 -0
- package/dist/models/RouteHooks.d.ts +9 -0
- package/dist/models/RouterRouteHooks.d.ts +10 -0
- package/dist/services/arrayOf.d.ts +7 -0
- package/dist/services/arrayOf.spec.d.ts +1 -0
- package/dist/services/combineHash.d.ts +4 -0
- package/dist/services/combineHash.spec.d.ts +1 -0
- package/dist/services/combineMeta.d.ts +2 -0
- package/dist/services/combineMeta.spec.d.ts +1 -0
- package/dist/services/combinePath.d.ts +12 -0
- package/dist/services/combinePath.spec-d.d.ts +1 -0
- package/dist/services/combinePath.spec.d.ts +1 -0
- package/dist/services/combineQuery.d.ts +13 -0
- package/dist/services/combineQuery.spec.d.ts +1 -0
- package/dist/services/combineState.d.ts +3 -0
- package/dist/services/combineState.spec.d.ts +1 -0
- package/dist/services/component.browser.spec.d.ts +1 -0
- package/dist/services/component.d.ts +12 -0
- package/dist/services/createCallbackContext.d.ts +38 -0
- package/dist/services/createComponentHooks.d.ts +11 -0
- package/dist/services/createComponentsStore.d.ts +7 -0
- package/dist/services/createCurrentRoute.d.ts +13 -0
- package/dist/services/createExternalRoute.d.ts +3 -0
- package/dist/services/createExternalRoute.spec.d.ts +1 -0
- package/dist/services/createIsExternal.d.ts +1 -0
- package/dist/services/createIsExternal.spec.d.ts +1 -0
- package/dist/services/createParam.d.ts +6 -0
- package/dist/services/createPropStore.d.ts +13 -0
- package/dist/services/createResolvedRoute.d.ts +4 -0
- package/dist/services/createResolvedRouteForUrl.browser.spec.d.ts +1 -0
- package/dist/services/createResolvedRouteForUrl.d.ts +3 -0
- package/dist/services/createResolvedRouteQuery.d.ts +5 -0
- package/dist/services/createRoute.d.ts +4 -0
- package/dist/services/createRoute.spec-d.d.ts +1 -0
- package/dist/services/createRoute.spec.d.ts +1 -0
- package/dist/services/createRouteId.d.ts +1 -0
- package/dist/services/createRouter.browser.spec.d.ts +1 -0
- package/dist/services/createRouter.d.ts +28 -0
- package/dist/services/createRouter.spec-d.d.ts +1 -0
- package/dist/services/createRouter.spec.d.ts +1 -0
- package/dist/services/createRouterAssets.d.ts +118 -0
- package/dist/services/createRouterHistory.browser.spec.d.ts +1 -0
- package/dist/services/createRouterHistory.d.ts +20 -0
- package/dist/services/createRouterHooks.d.ts +20 -0
- package/dist/services/createRouterKeyStore.d.ts +3 -0
- package/dist/services/createRouterPlugin.browser.spec.d.ts +1 -0
- package/dist/services/createRouterPlugin.d.ts +4 -0
- package/dist/services/createRouterReject.d.ts +16 -0
- package/dist/services/createRouterRoute.d.ts +7 -0
- package/dist/services/createRouterRoute.spec.d.ts +1 -0
- package/dist/services/createUniqueIdSequence.d.ts +2 -0
- package/dist/services/createVisibilityObserver.d.ts +7 -0
- package/dist/services/createVueAppStore.d.ts +8 -0
- package/dist/services/getGlobalHooksForRouter.d.ts +4 -0
- package/dist/services/getGlobalRouteHooks.d.ts +5 -0
- package/dist/services/getInitialUrl.browser.spec.d.ts +1 -0
- package/dist/services/getInitialUrl.d.ts +1 -0
- package/dist/services/getInitialUrl.spec.d.ts +1 -0
- package/dist/services/getMatchesForUrl.d.ts +2 -0
- package/dist/services/getMatchesForUrl.spec.d.ts +1 -0
- package/dist/services/getParamsForString.d.ts +2 -0
- package/dist/services/getRouteHooks.d.ts +4 -0
- package/dist/services/getRouteHooks.spec.d.ts +1 -0
- package/dist/services/getRoutesForRouter.d.ts +9 -0
- package/dist/services/getRoutesForRouter.spec.d.ts +1 -0
- package/dist/services/hooks.browser.spec.d.ts +1 -0
- package/dist/services/hooks.d.ts +8 -0
- package/dist/services/hooks.spec.d.ts +1 -0
- package/dist/services/insertBaseRoute.d.ts +2 -0
- package/dist/services/insertBaseRoute.spec.d.ts +1 -0
- package/dist/services/paramValidation.d.ts +4 -0
- package/dist/services/paramValidation.spec.d.ts +1 -0
- package/dist/services/params.d.ts +7 -0
- package/dist/services/params.spec.d.ts +1 -0
- package/dist/services/paramsFinder.d.ts +3 -0
- package/dist/services/paramsFinder.spec.d.ts +1 -0
- package/dist/services/routeMatchRules.d.ts +5 -0
- package/dist/services/routeMatchRules.spec.d.ts +1 -0
- package/dist/services/routeMatchScore.d.ts +7 -0
- package/dist/services/routeMatchScore.spec.d.ts +1 -0
- package/dist/services/routeRegex.d.ts +18 -0
- package/dist/services/routeRegex.spec.d.ts +1 -0
- package/dist/services/state.d.ts +9 -0
- package/dist/services/state.spec.d.ts +1 -0
- package/dist/services/tupleOf.d.ts +10 -0
- package/dist/services/tupleOf.spec.d.ts +1 -0
- package/dist/services/unionOf.d.ts +3 -0
- package/dist/services/unionOf.spec.d.ts +1 -0
- package/dist/services/urlAssembly.d.ts +10 -0
- package/dist/services/urlAssembly.spec.d.ts +1 -0
- package/dist/services/urlCombine.d.ts +2 -0
- package/dist/services/urlCombine.spec.d.ts +1 -0
- package/dist/services/urlCreator.d.ts +2 -0
- package/dist/services/urlCreator.spec.d.ts +1 -0
- package/dist/services/urlParser.d.ts +2 -0
- package/dist/services/urlParser.spec.d.ts +1 -0
- package/dist/services/valibot.d.ts +7 -0
- package/dist/services/valibot.spec-d.d.ts +1 -0
- package/dist/services/valibot.spec.d.ts +1 -0
- package/dist/services/withDefault.d.ts +5 -0
- package/dist/services/withParams.d.ts +15 -0
- package/dist/services/withParams.spec-d.d.ts +1 -0
- package/dist/services/withParams.spec.d.ts +1 -0
- package/dist/services/zod.d.ts +11 -0
- package/dist/services/zod.spec-d.d.ts +1 -0
- package/dist/services/zod.spec.d.ts +1 -0
- package/dist/tests/hooks.spec.d.ts +1 -0
- package/dist/tests/routeProps.browser.spec.d.ts +1 -0
- package/dist/tests/routeProps.spec.d.ts +1 -0
- package/dist/types/createRouteOptions.d.ts +120 -0
- package/dist/types/hooks.d.ts +111 -0
- package/dist/types/meta.d.ts +2 -0
- package/dist/types/name.d.ts +2 -0
- package/dist/types/paramTypes.d.ts +14 -0
- package/dist/types/params.d.ts +71 -0
- package/dist/types/prefetch.d.ts +27 -0
- package/dist/types/props.d.ts +23 -0
- package/dist/types/querySource.d.ts +1 -0
- package/dist/types/register.d.ts +57 -0
- package/dist/types/register.spec.d.ts +1 -0
- package/dist/types/resolved.d.ts +47 -0
- package/dist/types/resolved.spec-d.d.ts +1 -0
- package/dist/types/route.d.ts +76 -0
- package/dist/types/route.spec-d.d.ts +1 -0
- package/dist/types/routeMatchRule.d.ts +2 -0
- package/dist/types/routeUpdate.d.ts +9 -0
- package/dist/types/routeWithParams.d.ts +5 -0
- package/dist/types/routeWithParams.spec-d.d.ts +1 -0
- package/dist/types/router.d.ts +185 -0
- package/dist/types/routerLink.d.ts +16 -0
- package/dist/types/routerPlugin.d.ts +18 -0
- package/dist/types/routerPush.d.ts +33 -0
- package/dist/types/routerReject.d.ts +3 -0
- package/dist/types/routerReplace.d.ts +20 -0
- package/dist/types/routerResolve.d.ts +15 -0
- package/dist/types/routerRoute.d.ts +16 -0
- package/dist/types/routesMap.d.ts +9 -0
- package/dist/types/routesMap.spec-ts.d.ts +1 -0
- package/dist/types/state.d.ts +18 -0
- package/dist/types/url.d.ts +23 -0
- package/dist/types/useLink.d.ts +51 -0
- package/dist/types/utilities.d.ts +22 -0
- package/dist/utilities/array.d.ts +2 -0
- package/dist/utilities/checkDuplicateKeys.d.ts +1 -0
- package/dist/utilities/checkDuplicateKeys.spec.d.ts +1 -0
- package/dist/utilities/checkDuplicateNames.d.ts +2 -0
- package/dist/utilities/checkDuplicateNames.spec.d.ts +1 -0
- package/dist/utilities/components.d.ts +6 -0
- package/dist/utilities/components.spec.d.ts +1 -0
- package/dist/utilities/guards.d.ts +5 -0
- package/dist/utilities/guards.spec.d.ts +1 -0
- package/dist/utilities/index.d.ts +6 -0
- package/dist/utilities/isBrowser.browser.spec.d.ts +1 -0
- package/dist/utilities/isBrowser.d.ts +1 -0
- package/dist/utilities/isBrowser.spec.d.ts +1 -0
- package/dist/utilities/makeOptional.d.ts +9 -0
- package/dist/utilities/prefetch.d.ts +4 -0
- package/dist/utilities/prefetch.spec.d.ts +1 -0
- package/dist/utilities/promises.d.ts +1 -0
- package/dist/utilities/props.d.ts +6 -0
- package/dist/utilities/testHelpers.d.ts +144 -0
- package/dist/utilities/urlSearchParams.d.ts +2 -0
- package/dist/utilities/urlSearchParams.spec.d.ts +1 -0
- package/package.json +11 -11
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isBrowser(): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type WithOptionalProperties<T> = {
|
|
2
|
+
[P in keyof T]-?: undefined extends T[P] ? P : never;
|
|
3
|
+
}[keyof T];
|
|
4
|
+
export type MakeOptional<T> = {
|
|
5
|
+
[P in WithOptionalProperties<T>]?: T[P];
|
|
6
|
+
} & {
|
|
7
|
+
[P in Exclude<keyof T, WithOptionalProperties<T>>]: T[P];
|
|
8
|
+
};
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { PrefetchConfig, PrefetchConfigOptions, PrefetchConfigs, PrefetchStrategy } from '../types/prefetch';
|
|
2
|
+
export declare const DEFAULT_PREFETCH_STRATEGY: PrefetchStrategy;
|
|
3
|
+
export declare function getPrefetchOption({ routerPrefetch, routePrefetch, linkPrefetch }: PrefetchConfigs, setting: keyof PrefetchConfigOptions): false | PrefetchStrategy;
|
|
4
|
+
export declare function getPrefetchConfigValue(prefetch: PrefetchConfig | undefined, setting: keyof PrefetchConfigOptions): boolean | PrefetchStrategy | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isPromise(value: unknown): value is Promise<unknown>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Takes a props callback and returns a value
|
|
3
|
+
* For sync props, this will return the props value or an error.
|
|
4
|
+
* For async props, this will return a promise that resolves to the props value or an error.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getPropsValue(callback: () => unknown): unknown;
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { ResolvedRoute } from '../types/resolved';
|
|
2
|
+
export declare const random: {
|
|
3
|
+
number(options?: {
|
|
4
|
+
min?: number;
|
|
5
|
+
max?: number;
|
|
6
|
+
}): number;
|
|
7
|
+
};
|
|
8
|
+
export declare function getError(callback: () => any): unknown;
|
|
9
|
+
export declare const component: {
|
|
10
|
+
template: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const routes: readonly [import('../main').Route<"parentA", import('../services/withParams').WithParams<"", {}>, import('../services/withParams').WithParams<"/parentA/[paramA]", {}>, import('../services/withParams').WithParams<"", {}>, import('../services/withParams').WithParams<"", {}>, {}, {}, [Omit<{
|
|
13
|
+
readonly name: "parentA";
|
|
14
|
+
readonly path: "/parentA/[paramA]";
|
|
15
|
+
}, "props"> & {
|
|
16
|
+
id: string;
|
|
17
|
+
props: undefined;
|
|
18
|
+
}]>, import('../main').Route<"parentA.childA", import('../services/withParams').WithParams<"", {}>, import('../services/withParams').WithParams<"/parentA/[paramA]/childA/[?paramB]", {
|
|
19
|
+
paramA: StringConstructor;
|
|
20
|
+
} & {
|
|
21
|
+
paramB: StringConstructor;
|
|
22
|
+
}>, import('../services/withParams').WithParams<"", {}>, import('../services/withParams').WithParams<"", {}>, {}, {}, [Omit<{
|
|
23
|
+
readonly name: "parentA";
|
|
24
|
+
readonly path: "/parentA/[paramA]";
|
|
25
|
+
}, "props"> & {
|
|
26
|
+
id: string;
|
|
27
|
+
props: undefined;
|
|
28
|
+
}, Omit<{
|
|
29
|
+
readonly parent: import('../main').Route<"parentA", import('../services/withParams').WithParams<"", {}>, import('../services/withParams').WithParams<"/parentA/[paramA]", {}>, import('../services/withParams').WithParams<"", {}>, import('../services/withParams').WithParams<"", {}>, {}, {}, [Omit<{
|
|
30
|
+
readonly name: "parentA";
|
|
31
|
+
readonly path: "/parentA/[paramA]";
|
|
32
|
+
}, "props"> & {
|
|
33
|
+
id: string;
|
|
34
|
+
props: undefined;
|
|
35
|
+
}]>;
|
|
36
|
+
readonly name: "parentA.childA";
|
|
37
|
+
readonly path: "/childA/[?paramB]";
|
|
38
|
+
}, "props"> & {
|
|
39
|
+
id: string;
|
|
40
|
+
props: undefined;
|
|
41
|
+
}]>, import('../main').Route<"parentA.childB", import('../services/withParams').WithParams<"", {}>, import('../services/withParams').WithParams<"/parentA/[paramA]/childB/[paramD]", {
|
|
42
|
+
paramA: StringConstructor;
|
|
43
|
+
} & {
|
|
44
|
+
paramD: StringConstructor;
|
|
45
|
+
}>, import('../services/withParams').WithParams<"", {}>, import('../services/withParams').WithParams<"", {}>, {}, {}, [Omit<{
|
|
46
|
+
readonly name: "parentA";
|
|
47
|
+
readonly path: "/parentA/[paramA]";
|
|
48
|
+
}, "props"> & {
|
|
49
|
+
id: string;
|
|
50
|
+
props: undefined;
|
|
51
|
+
}, Omit<{
|
|
52
|
+
readonly parent: import('../main').Route<"parentA", import('../services/withParams').WithParams<"", {}>, import('../services/withParams').WithParams<"/parentA/[paramA]", {}>, import('../services/withParams').WithParams<"", {}>, import('../services/withParams').WithParams<"", {}>, {}, {}, [Omit<{
|
|
53
|
+
readonly name: "parentA";
|
|
54
|
+
readonly path: "/parentA/[paramA]";
|
|
55
|
+
}, "props"> & {
|
|
56
|
+
id: string;
|
|
57
|
+
props: undefined;
|
|
58
|
+
}]>;
|
|
59
|
+
readonly name: "parentA.childB";
|
|
60
|
+
readonly path: "/childB/[paramD]";
|
|
61
|
+
readonly component: {
|
|
62
|
+
template: string;
|
|
63
|
+
};
|
|
64
|
+
}, "props"> & {
|
|
65
|
+
id: string;
|
|
66
|
+
props: undefined;
|
|
67
|
+
}]>, import('../main').Route<"parentA.childA.grandChildA", import('../services/withParams').WithParams<"", {}>, import('../services/withParams').WithParams<"/parentA/[paramA]/childA/[?paramB]/[paramC]", {
|
|
68
|
+
paramA: StringConstructor;
|
|
69
|
+
paramB: StringConstructor;
|
|
70
|
+
} & {
|
|
71
|
+
paramC: StringConstructor;
|
|
72
|
+
}>, import('../services/withParams').WithParams<"", {}>, import('../services/withParams').WithParams<"", {}>, {}, {}, [Omit<{
|
|
73
|
+
readonly name: "parentA";
|
|
74
|
+
readonly path: "/parentA/[paramA]";
|
|
75
|
+
}, "props"> & {
|
|
76
|
+
id: string;
|
|
77
|
+
props: undefined;
|
|
78
|
+
}, Omit<{
|
|
79
|
+
readonly parent: import('../main').Route<"parentA", import('../services/withParams').WithParams<"", {}>, import('../services/withParams').WithParams<"/parentA/[paramA]", {}>, import('../services/withParams').WithParams<"", {}>, import('../services/withParams').WithParams<"", {}>, {}, {}, [Omit<{
|
|
80
|
+
readonly name: "parentA";
|
|
81
|
+
readonly path: "/parentA/[paramA]";
|
|
82
|
+
}, "props"> & {
|
|
83
|
+
id: string;
|
|
84
|
+
props: undefined;
|
|
85
|
+
}]>;
|
|
86
|
+
readonly name: "parentA.childA";
|
|
87
|
+
readonly path: "/childA/[?paramB]";
|
|
88
|
+
}, "props"> & {
|
|
89
|
+
id: string;
|
|
90
|
+
props: undefined;
|
|
91
|
+
}, Omit<{
|
|
92
|
+
readonly parent: import('../main').Route<"parentA.childA", import('../services/withParams').WithParams<"", {}>, import('../services/withParams').WithParams<"/parentA/[paramA]/childA/[?paramB]", {
|
|
93
|
+
paramA: StringConstructor;
|
|
94
|
+
} & {
|
|
95
|
+
paramB: StringConstructor;
|
|
96
|
+
}>, import('../services/withParams').WithParams<"", {}>, import('../services/withParams').WithParams<"", {}>, {}, {}, [Omit<{
|
|
97
|
+
readonly name: "parentA";
|
|
98
|
+
readonly path: "/parentA/[paramA]";
|
|
99
|
+
}, "props"> & {
|
|
100
|
+
id: string;
|
|
101
|
+
props: undefined;
|
|
102
|
+
}, Omit<{
|
|
103
|
+
readonly parent: import('../main').Route<"parentA", import('../services/withParams').WithParams<"", {}>, import('../services/withParams').WithParams<"/parentA/[paramA]", {}>, import('../services/withParams').WithParams<"", {}>, import('../services/withParams').WithParams<"", {}>, {}, {}, [Omit<{
|
|
104
|
+
readonly name: "parentA";
|
|
105
|
+
readonly path: "/parentA/[paramA]";
|
|
106
|
+
}, "props"> & {
|
|
107
|
+
id: string;
|
|
108
|
+
props: undefined;
|
|
109
|
+
}]>;
|
|
110
|
+
readonly name: "parentA.childA";
|
|
111
|
+
readonly path: "/childA/[?paramB]";
|
|
112
|
+
}, "props"> & {
|
|
113
|
+
id: string;
|
|
114
|
+
props: undefined;
|
|
115
|
+
}]>;
|
|
116
|
+
readonly name: "parentA.childA.grandChildA";
|
|
117
|
+
readonly path: "/[paramC]";
|
|
118
|
+
readonly component: {
|
|
119
|
+
template: string;
|
|
120
|
+
};
|
|
121
|
+
}, "props"> & {
|
|
122
|
+
id: string;
|
|
123
|
+
props: undefined;
|
|
124
|
+
}]>, import('../main').Route<"parentB", import('../services/withParams').WithParams<"", {}>, import('../services/withParams').WithParams<"/parentB", {}>, import('../services/withParams').WithParams<"", {}>, import('../services/withParams').WithParams<"", {}>, {}, {}, [Omit<{
|
|
125
|
+
readonly name: "parentB";
|
|
126
|
+
readonly path: "/parentB";
|
|
127
|
+
readonly component: {
|
|
128
|
+
template: string;
|
|
129
|
+
};
|
|
130
|
+
}, "props"> & {
|
|
131
|
+
id: string;
|
|
132
|
+
props: undefined;
|
|
133
|
+
}]>, import('../main').Route<"parentC", import('../services/withParams').WithParams<"", {}>, import('../services/withParams').WithParams<"/", {}>, import('../services/withParams').WithParams<"", {}>, import('../services/withParams').WithParams<"", {}>, {}, {}, [Omit<{
|
|
134
|
+
readonly name: "parentC";
|
|
135
|
+
readonly path: "/";
|
|
136
|
+
readonly component: {
|
|
137
|
+
template: string;
|
|
138
|
+
};
|
|
139
|
+
}, "props"> & {
|
|
140
|
+
id: string;
|
|
141
|
+
props: undefined;
|
|
142
|
+
}]>];
|
|
143
|
+
export declare function mockRoute(name: string): ResolvedRoute['matched'];
|
|
144
|
+
export declare function mockResolvedRoute(matched: ResolvedRoute['matched'], matches: ResolvedRoute['matched'][]): ResolvedRoute;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitbag/router",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.20.
|
|
4
|
+
"version": "0.20.7",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/kitbagjs/router/issues"
|
|
7
7
|
},
|
|
@@ -41,21 +41,21 @@
|
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@kitbag/eslint-config": "1.0.2",
|
|
44
|
-
"@vitejs/plugin-vue": "^
|
|
44
|
+
"@vitejs/plugin-vue": "^6.0.1",
|
|
45
45
|
"@vue/test-utils": "^2.4.6",
|
|
46
|
-
"eslint": "^9.
|
|
47
|
-
"globals": "^16.
|
|
48
|
-
"happy-dom": "^
|
|
49
|
-
"typedoc": "^0.28.
|
|
50
|
-
"typedoc-plugin-markdown": "^4.
|
|
46
|
+
"eslint": "^9.38.0",
|
|
47
|
+
"globals": "^16.4.0",
|
|
48
|
+
"happy-dom": "^20.0.7",
|
|
49
|
+
"typedoc": "^0.28.14",
|
|
50
|
+
"typedoc-plugin-markdown": "^4.9.0",
|
|
51
51
|
"typedoc-vitepress-theme": "^1.1.2",
|
|
52
|
-
"typescript": "^5.
|
|
52
|
+
"typescript": "^5.9.3",
|
|
53
53
|
"valibot": "^1.0.0",
|
|
54
|
-
"vite": "^
|
|
54
|
+
"vite": "^7.1.12",
|
|
55
55
|
"vite-plugin-dts": "^4.5.4",
|
|
56
|
-
"vitepress": "^1.6.
|
|
56
|
+
"vitepress": "^1.6.4",
|
|
57
57
|
"vitest": "^3.2.4",
|
|
58
|
-
"vue-tsc": "^
|
|
58
|
+
"vue-tsc": "^3.1.2"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"vue": "^3.5.0",
|