@simonbackx/vue-app-navigation 2.0.0-alpha.11 → 2.0.0-alpha.12
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.js +18939 -16447
- package/dist/src/utils/navigationHooks.d.ts +1 -1
- package/dist/test/EditWebshopMixin.d.ts +2 -2
- package/package.json +1 -1
|
@@ -63,7 +63,7 @@ export type NavigationOptions<T> = {
|
|
|
63
63
|
title: string | ((this: T) => string);
|
|
64
64
|
routes?: Route<{}, T>[];
|
|
65
65
|
};
|
|
66
|
-
export declare function usePop(): (options?: PopOptions) => void;
|
|
66
|
+
export declare function usePop(): (options?: PopOptions) => Promise<void> | undefined;
|
|
67
67
|
export declare function useNavigate(): <Params extends Record<string, unknown>>(prop1: string | Route<Params, unknown>, prop2?: RouteNavigationOptions<Params>) => Promise<void>;
|
|
68
68
|
export type DefaultRouteHandler = () => Promise<boolean>;
|
|
69
69
|
export declare function defineRoutes(routes: (Route<any, undefined>[]) | (() => Promise<boolean | (Route<any, undefined>[])>)): void;
|
|
@@ -64,7 +64,7 @@ declare const EditWebshopMixin_base: new (...args: any) => {
|
|
|
64
64
|
style: string | Record<string, string>;
|
|
65
65
|
className: string;
|
|
66
66
|
}> | null;
|
|
67
|
-
pop: (options?: import('..').PopOptions | undefined) => void;
|
|
67
|
+
pop: (options?: import('..').PopOptions | undefined) => Promise<void> | undefined;
|
|
68
68
|
show: (options: import('..').ComponentWithProperties | import('..').PushOptions) => Promise<void>;
|
|
69
69
|
$: import('vue').ComponentInternalInstance;
|
|
70
70
|
$data: {
|
|
@@ -2990,7 +2990,7 @@ declare const EditWebshopMixin_base: new (...args: any) => {
|
|
|
2990
2990
|
show: (options: import('..').ComponentWithProperties | import('..').PushOptions) => Promise<void>;
|
|
2991
2991
|
showDetail: (options: import('..').ComponentWithProperties | import('..').PushOptions) => Promise<void>;
|
|
2992
2992
|
present: (options: import('..').ComponentWithProperties | import('..').PushOptions) => Promise<void>;
|
|
2993
|
-
pop: (options?: import('..').PopOptions | undefined) => void;
|
|
2993
|
+
pop: (options?: import('..').PopOptions | undefined) => Promise<void> | undefined;
|
|
2994
2994
|
dismiss: (options?: import('..').PopOptions | undefined) => Promise<void>;
|
|
2995
2995
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
|
|
2996
2996
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|