jenesius-vue-form
Advanced tools
Comparing version 2.1.4 to 2.1.5
@@ -144,3 +144,3 @@ import EventEmitter from "jenesius-event-emitter"; | ||
* */ | ||
getValueByName(name: string): Values | undefined; | ||
getValueByName(name: string): any; | ||
/** | ||
@@ -147,0 +147,0 @@ * @description The Boolean disabled attribute, when present, makes the element not mutable, focusable, |
@@ -8,3 +8,4 @@ export default class FormErrors extends Error { | ||
static UnableExtendPrimitive(fieldKey: string): FormErrors; | ||
static ComputedValueWithoutName(): FormErrors; | ||
static MergingObjectGotPrimitiveValue(): void; | ||
} |
@@ -17,3 +17,3 @@ import Form from "./Form"; | ||
*/ | ||
get values(): import("../types").Values | undefined; | ||
get values(): any; | ||
/** | ||
@@ -20,0 +20,0 @@ * @description Current method join the fieldName with current proxy and ask the Parent for status of received name. |
@@ -8,4 +8,4 @@ import EventEmitter from "jenesius-event-emitter"; | ||
constructor(params: InputParams); | ||
get value(): import("../types").Values | "" | undefined; | ||
set value(v: string | import("../types").Values | undefined); | ||
get value(): any; | ||
set value(v: any); | ||
get disabled(): boolean; | ||
@@ -12,0 +12,0 @@ change(v: any): void; |
@@ -9,2 +9,3 @@ import Form from "./classes/Form"; | ||
import InputField from "./widgets/input-field.vue"; | ||
export { Form, FormProxy, useProxyState, useInputState, useFormState, InputField, config, STORE }; | ||
import ComputedValue from "./methods/ComputedValue"; | ||
export { Form, FormProxy, useProxyState, useInputState, useFormState, InputField, config, STORE, ComputedValue }; |
export interface Values { | ||
[name: string]: any; | ||
[name: string]: Value; | ||
} | ||
export declare type Value = Values | any; | ||
export declare type ValidationRule = (value: any) => boolean | string; | ||
@@ -5,0 +6,0 @@ export declare type FunctionHandleData = () => Promise<any> | any | void; |
@@ -1,2 +0,2 @@ | ||
import { Values } from "../types"; | ||
import { Value, Values } from "../types"; | ||
/** | ||
@@ -7,3 +7,3 @@ * @description Функция вернёт значения поля из объекта. Prop может быть вложеным, указывается через точку | ||
* */ | ||
export default function getPropFromObject(obj: Values, name: string): Values | undefined; | ||
export default function getPropFromObject(obj: Values, name: string): Value | undefined; | ||
/** | ||
@@ -10,0 +10,0 @@ * @description Разбивает имя с сервера(точки рассоединяет) |
{ | ||
"name": "jenesius-vue-form", | ||
"version": "2.1.4", | ||
"version": "2.1.5", | ||
"description": "Heavy form system for Vue.js", | ||
@@ -5,0 +5,0 @@ "author": "Jenesius", |
Sorry, the diff of this file is too big to display
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
125293
55
3158