@simonbackx/vue-app-navigation 2.1.0 → 2.2.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/index.d.ts +1 -0
- package/dist/index.js +3 -2
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export * from './src/PopOptions';
|
|
|
11
11
|
export { default as Popup } from './src/Popup.vue';
|
|
12
12
|
export * from './src/PushOptions';
|
|
13
13
|
export { default as SplitViewController } from './src/SplitViewController.vue';
|
|
14
|
+
export { useSplitViewController } from './src/SplitViewController.vue';
|
|
14
15
|
export { default as StackComponent } from './src/StackComponent.vue';
|
|
15
16
|
export * from './src/utils/injectHooks';
|
|
16
17
|
export * from './src/utils/navigationHooks';
|
package/dist/index.js
CHANGED
|
@@ -838,7 +838,7 @@ __publicField(_ComponentWithProperties, "debug", false);
|
|
|
838
838
|
__publicField(_ComponentWithProperties, "historyIndexOwners", /* @__PURE__ */ new Map());
|
|
839
839
|
let ComponentWithProperties = _ComponentWithProperties;
|
|
840
840
|
/**
|
|
841
|
-
* @vue/shared v3.4.
|
|
841
|
+
* @vue/shared v3.4.25
|
|
842
842
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
843
843
|
* @license MIT
|
|
844
844
|
**/
|
|
@@ -1843,7 +1843,7 @@ function defineRoutes(routes) {
|
|
|
1843
1843
|
}
|
|
1844
1844
|
}
|
|
1845
1845
|
try {
|
|
1846
|
-
if (await defaultHandler({ allowDetail:
|
|
1846
|
+
if (await defaultHandler({ allowDetail: false })) {
|
|
1847
1847
|
return true;
|
|
1848
1848
|
}
|
|
1849
1849
|
} catch (e) {
|
|
@@ -2918,5 +2918,6 @@ export {
|
|
|
2918
2918
|
usePresent,
|
|
2919
2919
|
useShow,
|
|
2920
2920
|
useShowDetail,
|
|
2921
|
+
useSplitViewController,
|
|
2921
2922
|
useUrl
|
|
2922
2923
|
};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@simonbackx/vue-app-navigation",
|
|
3
3
|
"main": "./dist/index.js",
|
|
4
4
|
"types": "./dist/index.d.ts",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.2.0",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
8
8
|
"import": "./dist/index.js",
|
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/node": "^20.12.7",
|
|
35
35
|
"@typescript-eslint/eslint-plugin": "^7.7.1",
|
|
36
|
+
"@typescript-eslint/parser": "^7.7.1",
|
|
37
|
+
"@vitejs/plugin-vue": "^5.0.4",
|
|
38
|
+
"@vue/eslint-config-typescript": "^13.0.0",
|
|
36
39
|
"@vue/runtime-core": "^3.4.25",
|
|
37
40
|
"eslint": "^8",
|
|
38
41
|
"eslint-plugin-simple-import-sort": "^12.1.0",
|
|
@@ -42,16 +45,13 @@
|
|
|
42
45
|
"typescript": "^5.4.5",
|
|
43
46
|
"typescript-eslint": "^7.7.1",
|
|
44
47
|
"vite": "^5.2.10",
|
|
48
|
+
"vite-plugin-dts": "^3.9.0",
|
|
45
49
|
"vue": "^3.4.25"
|
|
46
50
|
},
|
|
47
51
|
"peerDependencies": {
|
|
48
52
|
"vue": "^3.4.25"
|
|
49
53
|
},
|
|
50
54
|
"dependencies": {
|
|
51
|
-
"@
|
|
52
|
-
"@vitejs/plugin-vue": "^5.0.4",
|
|
53
|
-
"@vue/eslint-config-typescript": "^13.0.0",
|
|
54
|
-
"@vue/shared": "^3.4.25",
|
|
55
|
-
"vite-plugin-dts": "^3.9.0"
|
|
55
|
+
"@vue/shared": "^3.4.25"
|
|
56
56
|
}
|
|
57
57
|
}
|