@kimesh/router-runtime 0.1.0-nightly.20260120063147 → 0.2.0-nightly.20260120083917
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/index.d.mts +11 -11
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue9 from "vue";
|
|
2
2
|
import { App, Component, ComputedRef, InjectionKey, KeepAliveProps, PropType, Ref, TransitionProps, VNode } from "vue";
|
|
3
3
|
import * as vue_router0 from "vue-router";
|
|
4
4
|
import { NavigationFailure, NavigationGuard, NavigationHookAfter, RouteLocationNormalized, RouteLocationNormalized as RouteLocationNormalized$1, RouteLocationNormalizedLoaded, RouteLocationNormalizedLoaded as RouteLocationNormalizedLoaded$1, RouteRecordRaw, RouteRecordRaw as RouteRecordRaw$1, Router, Router as Router$1, onBeforeRouteLeave, onBeforeRouteUpdate, useLink, useRoute, useRouter } from "vue-router";
|
|
@@ -590,7 +590,7 @@ declare function getCorePlugins(): KimeshRuntimePlugin<Record<string, unknown>>[
|
|
|
590
590
|
* 3. transition: { name: 'fade', mode: 'out-in' }
|
|
591
591
|
* - ⚠️ NOT recommended for async pages - may cause blank screen
|
|
592
592
|
*/
|
|
593
|
-
declare const KmOutlet:
|
|
593
|
+
declare const KmOutlet: vue9.DefineComponent<vue9.ExtractPropTypes<{
|
|
594
594
|
name: {
|
|
595
595
|
type: StringConstructor;
|
|
596
596
|
default: string;
|
|
@@ -626,7 +626,7 @@ declare const KmOutlet: vue13.DefineComponent<vue13.ExtractPropTypes<{
|
|
|
626
626
|
type: any;
|
|
627
627
|
default: null;
|
|
628
628
|
};
|
|
629
|
-
}>, () => VNode, {}, {}, {},
|
|
629
|
+
}>, () => VNode, {}, {}, {}, vue9.ComponentOptionsMixin, vue9.ComponentOptionsMixin, {}, string, vue9.PublicProps, Readonly<vue9.ExtractPropTypes<{
|
|
630
630
|
name: {
|
|
631
631
|
type: StringConstructor;
|
|
632
632
|
default: string;
|
|
@@ -668,7 +668,7 @@ declare const KmOutlet: vue13.DefineComponent<vue13.ExtractPropTypes<{
|
|
|
668
668
|
viewTransition: boolean;
|
|
669
669
|
keepalive: any;
|
|
670
670
|
pageKey: any;
|
|
671
|
-
}, {}, {}, {}, string,
|
|
671
|
+
}, {}, {}, {}, string, vue9.ComponentProvideOptions, true, {}, any>;
|
|
672
672
|
//#endregion
|
|
673
673
|
//#region src/components/KmLink.d.ts
|
|
674
674
|
/**
|
|
@@ -706,7 +706,7 @@ type KmLinkProps<T extends string = RouteNames> = T extends RouteNames ? HasPara
|
|
|
706
706
|
* </KmLink>
|
|
707
707
|
* ```
|
|
708
708
|
*/
|
|
709
|
-
declare const KmLink:
|
|
709
|
+
declare const KmLink: vue9.DefineComponent<vue9.ExtractPropTypes<{
|
|
710
710
|
to: {
|
|
711
711
|
type: PropType<RouteLocationRaw>;
|
|
712
712
|
required: true;
|
|
@@ -735,9 +735,9 @@ declare const KmLink: vue13.DefineComponent<vue13.ExtractPropTypes<{
|
|
|
735
735
|
type: StringConstructor;
|
|
736
736
|
default: string;
|
|
737
737
|
};
|
|
738
|
-
}>, () =>
|
|
738
|
+
}>, () => vue9.VNode<vue9.RendererNode, vue9.RendererElement, {
|
|
739
739
|
[key: string]: any;
|
|
740
|
-
}>, {}, {}, {},
|
|
740
|
+
}>, {}, {}, {}, vue9.ComponentOptionsMixin, vue9.ComponentOptionsMixin, {}, string, vue9.PublicProps, Readonly<vue9.ExtractPropTypes<{
|
|
741
741
|
to: {
|
|
742
742
|
type: PropType<RouteLocationRaw>;
|
|
743
743
|
required: true;
|
|
@@ -773,7 +773,7 @@ declare const KmLink: vue13.DefineComponent<vue13.ExtractPropTypes<{
|
|
|
773
773
|
exactActiveClass: string;
|
|
774
774
|
prefetch: boolean;
|
|
775
775
|
tag: string;
|
|
776
|
-
}, {}, {}, {}, string,
|
|
776
|
+
}, {}, {}, {}, string, vue9.ComponentProvideOptions, true, {}, any>;
|
|
777
777
|
//#endregion
|
|
778
778
|
//#region src/components/KmDeferred.d.ts
|
|
779
779
|
/**
|
|
@@ -795,7 +795,7 @@ declare const KmLink: vue13.DefineComponent<vue13.ExtractPropTypes<{
|
|
|
795
795
|
* </KmDeferred>
|
|
796
796
|
* ```
|
|
797
797
|
*/
|
|
798
|
-
declare const KmDeferred:
|
|
798
|
+
declare const KmDeferred: vue9.DefineComponent<vue9.ExtractPropTypes<{
|
|
799
799
|
/**
|
|
800
800
|
* Delay in ms before showing fallback (default: 0)
|
|
801
801
|
* Helps avoid flashing loading states for fast loads
|
|
@@ -804,7 +804,7 @@ declare const KmDeferred: vue13.DefineComponent<vue13.ExtractPropTypes<{
|
|
|
804
804
|
type: PropType<number>;
|
|
805
805
|
default: number;
|
|
806
806
|
};
|
|
807
|
-
}>, () => VNode, {}, {}, {},
|
|
807
|
+
}>, () => VNode, {}, {}, {}, vue9.ComponentOptionsMixin, vue9.ComponentOptionsMixin, {}, string, vue9.PublicProps, Readonly<vue9.ExtractPropTypes<{
|
|
808
808
|
/**
|
|
809
809
|
* Delay in ms before showing fallback (default: 0)
|
|
810
810
|
* Helps avoid flashing loading states for fast loads
|
|
@@ -815,7 +815,7 @@ declare const KmDeferred: vue13.DefineComponent<vue13.ExtractPropTypes<{
|
|
|
815
815
|
};
|
|
816
816
|
}>> & Readonly<{}>, {
|
|
817
817
|
timeout: number;
|
|
818
|
-
}, {}, {}, {}, string,
|
|
818
|
+
}, {}, {}, {}, string, vue9.ComponentProvideOptions, true, {}, any>;
|
|
819
819
|
//#endregion
|
|
820
820
|
//#region src/guards/loader-guard.d.ts
|
|
821
821
|
interface LoaderGuardOptions {
|