@stencil/vue-output-target
Advanced tools
Comparing version
@@ -1,2 +0,3 @@ | ||
import type { DefineSetupFnComponent } from 'vue'; | ||
import type { DefineSetupFnComponent, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue'; | ||
import type { RouteLocationAsRelativeGeneric, RouteLocationAsPathGeneric } from 'vue-router'; | ||
/** | ||
@@ -81,3 +82,3 @@ * Options for the Vue Output Target | ||
} | ||
export type StencilVueComponent<Props, VModelType = string | number | boolean> = DefineSetupFnComponent<Props & InputProps<VModelType>, {}, {}, Props & InputProps<VModelType>>; | ||
export type StencilVueComponent<Props, VModelType = string | number | boolean> = DefineSetupFnComponent<Props & InputProps<VModelType> & VNodeProps & AllowedComponentProps & ComponentCustomProps, {}, {}, Props & InputProps<VModelType> & VNodeProps & AllowedComponentProps & ComponentCustomProps>; | ||
export interface InputProps<T> { | ||
@@ -94,3 +95,3 @@ modelValue?: T; | ||
*/ | ||
routerLink?: string | Symbol; | ||
routerLink?: Symbol | string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric; | ||
} |
{ | ||
"name": "@stencil/vue-output-target", | ||
"version": "0.10.6", | ||
"version": "0.10.7", | ||
"description": "Vue output target for @stencil/core components.", | ||
@@ -51,2 +51,3 @@ "author": "Ionic Team", | ||
"vue": "^3.4.38", | ||
"vue-router": "^4.5.0", | ||
"@stencil/core": ">=2.0.0 || >=3 || >= 4.0.0-beta.0 || >= 4.0.0" | ||
@@ -58,2 +59,5 @@ }, | ||
}, | ||
"vue-router": { | ||
"optional": true | ||
}, | ||
"@stencil/core": { | ||
@@ -70,4 +74,5 @@ "optional": true | ||
"typescript": "~5.7.0", | ||
"vitest": "^3.0.8" | ||
"vitest": "^3.0.8", | ||
"vue-router": "^4.5.0" | ||
} | ||
} |
71621
0.62%1344
0.15%3
50%8
14.29%