UNPKG

@joker.front/ui

Version:

Joker-UI | Official native UI component library for Joker Framework. Minimalist design with full-scene components, responsive layout & dynamic interactions. Access dev docs, API references & real-world case studies on official site.

12 lines (11 loc) 612 B
import { CtrlItem } from "./form-ctrl"; export declare const validateGlobalFunction: { isRequired(message?: string): (value?: string, ctrl?: CtrlItem) => any; isInt: (message?: string) => (value: any) => any; isNumber: (message?: string) => (value: any) => any; isPhone: (message?: string) => (value: any) => any; isEmail: (message?: string) => (value: any) => any; isMatched: (pattern: string, message?: string) => (value: any) => any; isLengthInRange: (min?: number, max?: number, message?: string) => (value: any) => string; }; export declare function registerValidateAll(): void;