@stencil/vue-output-target
Advanced tools
Comparing version 0.5.1-0 to 0.5.1-1
{ | ||
"name": "@stencil/vue-output-target", | ||
"version": "0.5.1-0", | ||
"version": "0.5.1-1", | ||
"description": "Vue output target for @stencil/core components.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js", |
@@ -74,4 +74,4 @@ import { VNode, defineComponent, getCurrentInstance, h, inject, ref, Ref } from 'vue'; | ||
const Container = defineComponent<Props & InputProps>((props, { attrs, slots, emit }) => { | ||
let modelPropValue = (props as any)[modelProp]; | ||
const Container = defineComponent<Props & InputProps>((props: any, { attrs, slots, emit }) => { | ||
let modelPropValue = props[modelProp]; | ||
const containerRef = ref<HTMLElement>(); | ||
@@ -108,3 +108,3 @@ const classes = new Set(getComponentClasses(attrs.class)); | ||
const handleRouterLink = (ev: Event) => { | ||
const { routerLink } = props as any; | ||
const { routerLink } = props; | ||
if (!routerLink) return; | ||
@@ -117,3 +117,3 @@ | ||
routerProps.forEach(prop => { | ||
navigationPayload[prop] = (props as any)[prop]; | ||
navigationPayload[prop] = props[prop]; | ||
}); | ||
@@ -127,3 +127,3 @@ navManager.navigate(navigationPayload); | ||
return () => { | ||
modelPropValue = (props as any)[modelProp]; | ||
modelPropValue = props[modelProp]; | ||
@@ -134,3 +134,3 @@ getComponentClasses(attrs.class).forEach(value => { | ||
const oldClick = (props as any).onClick; | ||
const oldClick = props.onClick; | ||
const handleClick = (ev: Event) => { | ||
@@ -145,3 +145,3 @@ if (oldClick !== undefined) { | ||
let propsToAdd = { | ||
let propsToAdd: any = { | ||
ref: containerRef, | ||
@@ -148,0 +148,0 @@ class: getElementClasses(containerRef, classes), |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47970