@falcondev-oss/nuxt-layers-base 0.40.2 → 0.40.3

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.
@@ -39,9 +39,9 @@ const props = defineProps<{
39
39
  const slots = defineSlots<
40
40
  {
41
41
  'default': any
42
- 'navbar-title': any
43
- 'navbar-trailing': any
44
- 'navbar-actions': any
42
+ 'navbar-title'?: any
43
+ 'navbar-trailing'?: any
44
+ 'navbar-actions'?: any
45
45
  } & AddPropertyPrefix<DashboardNavbarSlots, 'navbar'>
46
46
  >()
47
47
 
@@ -29,9 +29,9 @@ defineProps<{
29
29
  }>()
30
30
 
31
31
  const slots = defineSlots<{
32
- default: any
33
- logo: any
34
- icon: any
32
+ 'default': any
33
+ 'logo'?: any
34
+ 'icon'?: any
35
35
  }>()
36
36
 
37
37
  const config = useRuntimeConfig()
@@ -10,7 +10,7 @@ export function usePreventPageLeave(
10
10
  ) {
11
11
  useEventListener('beforeunload', (event) => {
12
12
  if (!toValue(preventPageLeave)) return
13
- // eslint-disable-next-line ts/no-unsafe-member-access
13
+
14
14
  event.returnValue = opts?.leaveDescription
15
15
  return opts?.leaveDescription
16
16
  })
@@ -1,3 +1,4 @@
1
+ /* eslint-disable ts/no-empty-object-type, ts/no-unsafe-return, ts/no-unsafe-argument */
1
2
  import type { AllUnionFields, Simplify } from 'type-fest'
2
3
  import type {
3
4
  Attrs,
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.40.2",
4
+ "version": "0.40.3",
5
5
  "description": "Nuxt layer with lots of useful helpers and @nuxt/ui components",
6
6
  "license": "MIT",
7
7
  "repository": {