@dargmuesli/nuxt-vio 13.1.21 → 13.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,7 +19,7 @@
19
19
  :class="classesComputed"
20
20
  :disabled="disabled"
21
21
  :type="type"
22
- @click="emit('click')"
22
+ @click="emit('click', $event)"
23
23
  >
24
24
  <slot name="prefix" />
25
25
  <slot />
@@ -49,7 +49,7 @@ const props = withDefaults(defineProps<Props>(), {
49
49
  })
50
50
 
51
51
  const emit = defineEmits<{
52
- click: []
52
+ click: [event?: MouseEvent]
53
53
  }>()
54
54
 
55
55
  // computations
package/package.json CHANGED
@@ -116,5 +116,5 @@
116
116
  "start:static": "serve .playground/.output/public --ssl-cert ./.config/certificates/ssl.crt --ssl-key ./.config/certificates/ssl.key"
117
117
  },
118
118
  "type": "module",
119
- "version": "13.1.21"
119
+ "version": "13.2.0"
120
120
  }
@@ -53,14 +53,15 @@ export const GET_CSP = (siteUrl: string) =>
53
53
  // }
54
54
  // : {}),
55
55
  // },
56
- // {
57
- // // nuxt-og-image
58
- // ...(process.env.NODE_ENV === 'development'
59
- // ? {
60
- // 'connect-src': [`${siteUrl}/__og-image__/`],
61
- // }
62
- // : {}),
63
- // },
56
+ {
57
+ // nuxt-og-image
58
+ ...(process.env.NODE_ENV === 'development'
59
+ ? {
60
+ // 'connect-src': [`${siteUrl}/__og-image__/`],
61
+ 'frame-ancestors': ["'self'"],
62
+ }
63
+ : {}),
64
+ },
64
65
  // {
65
66
  // // nuxt-schema-org
66
67
  // ...(process.env.NODE_ENV === 'development'