@uniformdev/uniform-nuxt 19.27.1-alpha.3 → 19.29.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/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "nuxt-uniform",
3
3
  "configKey": "uniform",
4
- "version": "19.27.1-alpha.3+9f5adae97"
4
+ "version": "19.29.0"
5
5
  }
@@ -133,10 +133,13 @@ function setupPreview(nuxtApp) {
133
133
  }
134
134
  nuxtApp.hook("app:beforeMount", () => {
135
135
  if (preview && (route.query.slug || route.query.path)) {
136
+ const path = preview?.path ?? preview?.slug;
137
+ const pathParams = Object.fromEntries(new URL(path ?? "", "https://example.com").searchParams);
136
138
  router.push({
137
- path: preview?.path ?? preview?.slug,
139
+ path,
138
140
  query: {
139
141
  ...route.query,
142
+ ...pathParams,
140
143
  slug: void 0,
141
144
  id: void 0,
142
145
  path: void 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/uniform-nuxt",
3
- "version": "19.27.1-alpha.3+9f5adae97",
3
+ "version": "19.29.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -23,26 +23,26 @@
23
23
  "document": "api-extractor run --local"
24
24
  },
25
25
  "dependencies": {
26
- "@nuxt/kit": "3.2.0",
27
- "@uniformdev/canvas": "19.27.1-alpha.3+9f5adae97",
28
- "@uniformdev/canvas-vue": "19.27.1-alpha.3+9f5adae97",
29
- "@uniformdev/context": "19.27.1-alpha.3+9f5adae97",
30
- "@uniformdev/context-vue": "19.27.1-alpha.3+9f5adae97",
31
- "@uniformdev/richtext": "19.27.1-alpha.3+9f5adae97",
26
+ "@nuxt/kit": "3.6.0",
27
+ "@uniformdev/canvas": "19.29.0",
28
+ "@uniformdev/canvas-vue": "19.29.0",
29
+ "@uniformdev/context": "19.29.0",
30
+ "@uniformdev/context-vue": "19.29.0",
31
+ "@uniformdev/richtext": "19.29.0",
32
32
  "vue-demi": "^0.14.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@nuxt/module-builder": "0.2.1",
36
- "@nuxt/schema": "3.2.0",
36
+ "@nuxt/schema": "3.6.0",
37
37
  "@nuxtjs/eslint-config-typescript": "12.0.0",
38
38
  "esbuild": "0.18.4",
39
39
  "eslint": "^8.31.0",
40
- "nuxt": "3.2.0",
41
- "vue": "3.2.45",
40
+ "nuxt": "3.6.0",
41
+ "vue": "3.2.47",
42
42
  "vue-router": "4.1.6"
43
43
  },
44
44
  "publishConfig": {
45
45
  "access": "public"
46
46
  },
47
- "gitHead": "9f5adae974295b306b539dea3657d728fed7f527"
47
+ "gitHead": "f8e9d5f6283fb3d72ba095c0e307907dc591ce4a"
48
48
  }