ValidationChecker
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public get |
check: * |
|
| public |
config: * |
|
| public |
validators: {"required": *, "onlyAvailableItems": *, "unique": *, "multiple": *, "select": *, "min": *, "max": *, "minSelectedCount": *, "maxSelectedCount": *, "minLength": *, "maxLength": *, "maxWords": *, "minWords": *, "email": *, "url": *, "date": *, "day": *, "pattern": *, "json": *, "mask": *, "custom": *, "maxDate": *, "minDate": *, "minYear": *, "maxYear": *, "calendar": *, "time": *} |
|
Method Summary
| Public Methods | ||
| public |
checkComponent(component: *, data: *, row: *, includeWarnings: boolean, async: boolean): * |
|
| public |
checkRule(component: *, validation: *, data: *, row: *, values: *, async: *): * |
|
| public |
checkValidations(component: *, validations: *, data: *, row: *, values: *): any[] Use the new validations engine to evaluate any errors. |
|
| public |
checkValidator(component: *, validator: *, setting: *, value: *, data: *, index: *, row: *, async: *): * |
|
| public |
each() |
|
| public |
get() |
|
| public |
has() |
|
| public |
validate(component: *, validatorName: *, value: *, data: *, index: *, row: *, async: *, conditionallyVisible: *): * |
|
Public Constructors
public constructor() source
Public Members
public get check: * source
public config: * source
public validators: {"required": *, "onlyAvailableItems": *, "unique": *, "multiple": *, "select": *, "min": *, "max": *, "minSelectedCount": *, "maxSelectedCount": *, "minLength": *, "maxLength": *, "maxWords": *, "minWords": *, "email": *, "url": *, "date": *, "day": *, "pattern": *, "json": *, "mask": *, "custom": *, "maxDate": *, "minDate": *, "minYear": *, "maxYear": *, "calendar": *, "time": *} source
Public Methods
public checkComponent(component: *, data: *, row: *, includeWarnings: boolean, async: boolean): * source
Return:
| * |
public checkRule(component: *, validation: *, data: *, row: *, values: *, async: *): * source
Params:
| Name | Type | Attribute | Description |
| component | * | ||
| validation | * | ||
| data | * | ||
| row | * | ||
| values | * | ||
| async | * |
Return:
| * |
public checkValidations(component: *, validations: *, data: *, row: *, values: *): any[] source
Use the new validations engine to evaluate any errors.
Params:
| Name | Type | Attribute | Description |
| component | * | ||
| validations | * | ||
| data | * | ||
| row | * | ||
| values | * |
Return:
| any[] |
public checkValidator(component: *, validator: *, setting: *, value: *, data: *, index: *, row: *, async: *): * source
Params:
| Name | Type | Attribute | Description |
| component | * | ||
| validator | * | ||
| setting | * | ||
| value | * | ||
| data | * | ||
| index | * | ||
| row | * | ||
| async | * |
Return:
| * |
public each() source
public get() source
public has() source
public validate(component: *, validatorName: *, value: *, data: *, index: *, row: *, async: *, conditionallyVisible: *): * source
Params:
| Name | Type | Attribute | Description |
| component | * | ||
| validatorName | * | ||
| value | * | ||
| data | * | ||
| index | * | ||
| row | * | ||
| async | * | ||
| conditionallyVisible | * |
Return:
| * |
