@vc-shell/framework 1.0.141 → 1.0.142
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## [1.0.142](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.141...v1.0.142) (2024-01-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **shell:** navigation slash duplication fix ([370fe03](https://github.com/VirtoCommerce/vc-shell/commit/370fe0398ef6626c541a4af5b2f7895fad49b874))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
1
10
|
## [1.0.141](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.140...v1.0.141) (2024-01-10)
|
|
2
11
|
|
|
3
12
|
|
package/dist/framework.js
CHANGED
|
@@ -46469,7 +46469,7 @@ function cs() {
|
|
|
46469
46469
|
if (E && Hr.value) {
|
|
46470
46470
|
const T = i.resolve({
|
|
46471
46471
|
path: E.props?.navigation?.fullPath ?? E.type.url
|
|
46472
|
-
})?.matched[1], C = i.resolve({ name: T?.name }).path + (w.url ? w.url + (S ? "/" + S : "") : ""), x = (Ni.value === "/" ? "" : Ni.value) + C, L = o.path + C, I = yg(
|
|
46472
|
+
})?.matched[1], C = i.resolve({ name: T?.name }).path + (w.url ? w.url + (S ? "/" + S : "") : ""), x = (Ni.value === "/" ? "" : Ni.value) + C, L = (o.path === "/" ? "" : o.path) + C, I = yg(
|
|
46473
46473
|
T?.components,
|
|
46474
46474
|
(P, N) => w.url ? !P?.props?.navigation?.bladePath : N === "default"
|
|
46475
46475
|
), M = E.props?.navigation?.idx ? E.props?.navigation?.idx : 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vc-shell/framework",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.142",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/framework.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"whatwg-fetch": "^3.6.19"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@vc-shell/api-client-generator": "^1.0.
|
|
56
|
-
"@vc-shell/config-generator": "^1.0.
|
|
57
|
-
"@vc-shell/ts-config": "^1.0.
|
|
55
|
+
"@vc-shell/api-client-generator": "^1.0.142",
|
|
56
|
+
"@vc-shell/config-generator": "^1.0.142",
|
|
57
|
+
"@vc-shell/ts-config": "^1.0.142",
|
|
58
58
|
"@vitejs/plugin-vue": "^5.0.3",
|
|
59
59
|
"sass": "^1.69.6",
|
|
60
60
|
"typescript": "^5.3.3",
|
|
@@ -146,7 +146,7 @@ export function useBladeNavigation(): IUseBladeNavigation {
|
|
|
146
146
|
|
|
147
147
|
const url = (baseUrl.value === "/" ? "" : baseUrl.value) + base;
|
|
148
148
|
|
|
149
|
-
const rawRouterUrl = mainRoute.path + base;
|
|
149
|
+
const rawRouterUrl = (mainRoute.path === "/" ? "" : mainRoute.path) + base;
|
|
150
150
|
|
|
151
151
|
/**
|
|
152
152
|
* Removes routes without paths and default route from next route.
|