From 084f19ae23f09135bf765ae79a0e52bf7489528c Mon Sep 17 00:00:00 2001 From: Alan Date: Fri, 7 Oct 2022 10:43:43 +0800 Subject: [PATCH] fix vtype docs --- docs/json/roodata.json | 8 ++++---- docs/src/Roo_form_VTypes.js.html | 22 +++++++++++----------- docs/symbols/Roo.form.VTypes.json | 16 ++++++++-------- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/docs/json/roodata.json b/docs/json/roodata.json index 1914e1dd02..5296558a7e 100644 --- a/docs/json/roodata.json +++ b/docs/json/roodata.json @@ -274035,7 +274035,7 @@ "events" : [], "methods" : [ { - "name" : "alpha'", + "name" : "alpha", "type" : "function", "desc" : "The function used to validate alpha values", "sig" : "(value)", @@ -274061,7 +274061,7 @@ "returns" : [] }, { - "name" : "alphanum'", + "name" : "alphanum", "type" : "function", "desc" : "The function used to validate alphanumeric values", "sig" : "(value)", @@ -274087,7 +274087,7 @@ "returns" : [] }, { - "name" : "email'", + "name" : "email", "type" : "function", "desc" : "The function used to validate email addresses", "sig" : "(value)", @@ -274113,7 +274113,7 @@ "returns" : [] }, { - "name" : "url'", + "name" : "url", "type" : "function", "desc" : "The function used to validate URLs", "sig" : "(value)", diff --git a/docs/src/Roo_form_VTypes.js.html b/docs/src/Roo_form_VTypes.js.html index 60cdc68c26..627b174d70 100644 --- a/docs/src/Roo_form_VTypes.js.html +++ b/docs/src/Roo_form_VTypes.js.html @@ -26,67 +26,67 @@ * The function used to validate email addresses * @param {String} value The email address */ - 'email' : function(v){ + email : function(v){ return email.test(v); }, /** * The error text to display when the email validation function returns false * @type String */ - 'emailText' : 'This field should be an e-mail address in the format "user@domain.com"', + emailText : 'This field should be an e-mail address in the format "user@domain.com"', /** * The keystroke filter mask to be applied on email input * @type RegExp */ - 'emailMask' : /[a-z0-9_\.\-@]/i, + emailMask : /[a-z0-9_\.\-@]/i, /** * The function used to validate URLs * @param {String} value The URL */ - 'url' : function(v){ + url : function(v){ return url.test(v); }, /** * The error text to display when the url validation function returns false * @type String */ - 'urlText' : 'This field should be a URL in the format "http:/'+'/www.domain.com"', + urlText : 'This field should be a URL in the format "http:/'+'/www.domain.com"', /** * The function used to validate alpha values * @param {String} value The value */ - 'alpha' : function(v){ + alpha : function(v){ return alpha.test(v); }, /** * The error text to display when the alpha validation function returns false * @type String */ - 'alphaText' : 'This field should only contain letters and _', + alphaText : 'This field should only contain letters and _', /** * The keystroke filter mask to be applied on alpha input * @type RegExp */ - 'alphaMask' : /[a-z_]/i, + alphaMask : /[a-z_]/i, /** * The function used to validate alphanumeric values * @param {String} value The value */ - 'alphanum' : function(v){ + alphanum : function(v){ return alphanum.test(v); }, /** * The error text to display when the alphanumeric validation function returns false * @type String */ - 'alphanumText' : 'This field should only contain letters, numbers and _', + alphanumText : 'This field should only contain letters, numbers and _', /** * The keystroke filter mask to be applied on alphanumeric input * @type RegExp */ - 'alphanumMask' : /[a-z0-9_]/i + alphanumMask : /[a-z0-9_]/i }; }(); \ No newline at end of file diff --git a/docs/symbols/Roo.form.VTypes.json b/docs/symbols/Roo.form.VTypes.json index df5de57f47..ff602cc8e6 100644 --- a/docs/symbols/Roo.form.VTypes.json +++ b/docs/symbols/Roo.form.VTypes.json @@ -22,7 +22,7 @@ "config" : [], "methods" : [ { - "name" : "email'", + "name" : "email", "type" : "function", "desc" : "The function used to validate email addresses", "sig" : "(value)", @@ -48,9 +48,9 @@ "returns" : [] }, { - "name" : "url'", + "name" : "alpha", "type" : "function", - "desc" : "The function used to validate URLs", + "desc" : "The function used to validate alpha values", "sig" : "(value)", "static" : false, "memberOf" : "", @@ -67,16 +67,16 @@ { "name" : "value", "type" : "String", - "desc" : "The URL", + "desc" : "The value", "isOptional" : false } ], "returns" : [] }, { - "name" : "alpha'", + "name" : "url", "type" : "function", - "desc" : "The function used to validate alpha values", + "desc" : "The function used to validate URLs", "sig" : "(value)", "static" : false, "memberOf" : "", @@ -93,14 +93,14 @@ { "name" : "value", "type" : "String", - "desc" : "The value", + "desc" : "The URL", "isOptional" : false } ], "returns" : [] }, { - "name" : "alphanum'", + "name" : "alphanum", "type" : "function", "desc" : "The function used to validate alphanumeric values", "sig" : "(value)", -- 2.39.2