@featherds/input-helper
Advanced tools
Comparing version 0.12.26 to 0.12.27
{ | ||
"name": "@featherds/input-helper", | ||
"version": "0.12.26", | ||
"version": "0.12.27", | ||
"publishConfig": { | ||
@@ -12,3 +12,3 @@ "access": "public" | ||
"dependencies": { | ||
"@featherds/styles": "^0.12.26", | ||
"@featherds/styles": "^0.12.27", | ||
"vue": "^3.1.0-0" | ||
@@ -21,3 +21,3 @@ }, | ||
"types": "./src/index.d.ts", | ||
"gitHead": "a8f0b4f0ea208bc9f4ff5b346c99afb71907902b" | ||
"gitHead": "313e9304b3f3e6d4acae47145892699ed28df811" | ||
} |
import InputWrapper from "./InputWrapper.vue"; | ||
import { mount } from "@vue/test-utils"; | ||
import "../../test/MutationObserver"; | ||
import { reactive, ref } from "vue"; | ||
import { reactive } from "vue"; | ||
import { expect, describe, it } from "vitest"; | ||
@@ -6,0 +6,0 @@ |
@@ -32,3 +32,3 @@ import { provide, ref } from "vue"; | ||
const validation = Object.keys(controls).map((key) => { | ||
return controls[key].validate(); | ||
return controls[key]!.validate(); | ||
}); | ||
@@ -42,3 +42,3 @@ errorMessages.value = validation.filter( | ||
Object.keys(controls).forEach((key) => { | ||
controls[key].clear(); | ||
controls[key]!.clear(); | ||
}); | ||
@@ -63,5 +63,5 @@ errorMessages.value = [] as IValidationFailure[]; | ||
if (val === old) { | ||
acc[curr] = controls[old]; | ||
acc[curr] = controls[old]!; | ||
} else { | ||
acc[val] = controls[val]; | ||
acc[val] = controls[val]!; | ||
} | ||
@@ -68,0 +68,0 @@ return acc; |
@@ -37,3 +37,3 @@ import { inject, ref, provide, watch, isRef, onBeforeUnmount, Ref } from "vue"; | ||
const err = e as { errors: string[] }; | ||
errorMessage.value = err.errors[0]; | ||
errorMessage.value = err.errors[0]!; | ||
return { | ||
@@ -40,0 +40,0 @@ success: false, |
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
Updated@featherds/styles@^0.12.27