pdap-design-system 3.1.0-beta.19 → 3.1.0-beta.20
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs +7 -7
- package/dist/index.js +761 -746
- package/dist/utils/vuelidate.d.ts +7 -0
- package/package.json +1 -1
@@ -4,6 +4,7 @@ export declare function isPdapVuelidateValidator(s: string): s is keyof PdapForm
|
|
4
4
|
export declare function isLengthRule(s: string): s is PdapLengthRules;
|
5
5
|
export declare function isRequiredRule(s: string): s is 'required';
|
6
6
|
export declare function isEmailRule(s: string): s is 'email';
|
7
|
+
export declare function isUrlRule(s: string): s is 'url';
|
7
8
|
export declare function isPasswordRule(s: string): s is 'password';
|
8
9
|
export declare function makeLengthRule(rule: PdapLengthRules, value: number): {
|
9
10
|
[x: string]: import("@vuelidate/core").ValidationRuleWithParams<{
|
@@ -27,6 +28,12 @@ export declare function makeEmailRule(): {
|
|
27
28
|
export declare function makeEmailRuleWithCustomMessage(message: string): {
|
28
29
|
email: import("@vuelidate/core").ValidationRuleWithParams<object, any>;
|
29
30
|
};
|
31
|
+
export declare function makeURLRule(): {
|
32
|
+
email: import("@vuelidate/core").ValidationRuleWithoutParams<any>;
|
33
|
+
};
|
34
|
+
export declare function makeURLRuleWithCustomMessage(message: string): {
|
35
|
+
email: import("@vuelidate/core").ValidationRuleWithParams<object, any>;
|
36
|
+
};
|
30
37
|
export declare function makePasswordRule(): {
|
31
38
|
password: any;
|
32
39
|
};
|