@falcondev-oss/nuxt-layers-base 0.30.0 → 0.30.1

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.
@@ -20,11 +20,10 @@ export function usePreventPageLeave(
20
20
  if (!toValue(preventPageLeave)) return next()
21
21
 
22
22
  const allowLeave = await confirm.confirmDestructive({
23
- title: opts?.leaveTitle || 'Unsaved Changes',
23
+ title: opts?.leaveTitle || 'Ungespeicherte Änderungen',
24
24
  description:
25
- opts?.leaveDescription ||
26
- 'You have unsaved changes. Are you sure you want to leave this page?',
27
- submitLabel: 'Leave Page',
25
+ opts?.leaveDescription || 'Es gibt ungespeicherte Änderungen. Seite trotzdem verlassen?',
26
+ submitLabel: 'Verlassen',
28
27
  })
29
28
  if (allowLeave) return next()
30
29
  })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@falcondev-oss/nuxt-layers-base",
3
3
  "type": "module",
4
- "version": "0.30.0",
4
+ "version": "0.30.1",
5
5
  "description": "Nuxt layer with lots of useful helpers and @nuxt/ui components",
6
6
  "license": "MIT",
7
7
  "repository": "github:falcondev-oss/nuxt-layers",