@c8y/ng1-modules 1021.49.4 → 1021.49.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/core/config.js +1 -1
- package/package.json +1 -1
package/core/core/config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var a=_.identity;window.c8yConfig={validation:{deviceId:{pattern:/^[^\s/]*$/,message:a('Device ID must not contain spaces or slashes ("/").')},domain:{pattern:/^[a-z]+[a-z0-9-]*[a-z0-9]+\.{1}.+$/,message:a("Only lowercase letters, digits and hyphens allowed in the first part of the URI. Must start with a letter; hyphens only allowed in the middle. Must be a valid URI.")},groupName:{maxlength:254},hostname:{pattern:/^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9])$/},internationalPhoneNumber:{message:a('Must be a valid phone number (only digits, spaces, slashes ("/"), dashes ("-"), and plus ("+") allowed, for example: +49 9 876 543 210).')},ip:{pattern:/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/},ipV6:{pattern:/^([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$|^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/},jsonPath:{pattern:/.*/,message:a("Must be valid JSONPath expression.")},opcuaBrowsePath:{pattern:/^(opc.tcp|http|https):\/\/[^ "]+$/},password:{pattern:/^[a-zA-Z0-9`~!@#$%^&*()_|+\-=?;:'",.<>{}[\]\\/]{8,32}$/,message:a("Password must have at least 8 characters and no more than 32 and can only contain letters, numbers and following symbols: `~!@#$%^&*()_|+-=?;:'\",.<>{}[]\\/")},passwordStrengthChecklist:{message:a("Password is not strong enough, use a stronger password. Check the requirements listed on the right.")},tenantId:{pattern:/^[a-z]+[a-z0-9-]*[a-z0-9]+$/,message:a("May contain lowercase letters, digits, and hyphens. Must start with a letter; hyphens only allowed in the middle; minimum 2 characters.")},user:{pattern:/^[^\\/\s$:+]*$/,message:a('Username must not contain spaces nor slashes ("/", "\\") nor ("+"), (":"), ("$") signs.')},loginAlias:{pattern:/^[^\\/$:+]*$/,message:a('Login alias must not contain slashes ("/", "\\") nor ("+"), (":"), ("$") signs.')},urlSegment:{pattern:/^(([.]{1,2})|([/])+|(([/]*)([.]{1,2})([/]*))|((.*)([/]|[ ]+)(.*))|(\s+))$/,message:a("Slash, single or double dots and white space not allowed.")}},defaultAppOptions:{rightDrawer:!0,staticLinks:{devicemanagementDeviceDetails:"/apps/devicemanagement/#/device/{{deviceId}}"},supportUrl:!0,storageLimitationFeatureEnabled:!1,hide_navigator:!1,guideHrefTemplate:"${docsBaseUrl}${partialUrl}",docsBaseUrl:"https://
|
|
1
|
+
(()=>{var a=_.identity;window.c8yConfig={validation:{deviceId:{pattern:/^[^\s/]*$/,message:a('Device ID must not contain spaces or slashes ("/").')},domain:{pattern:/^[a-z]+[a-z0-9-]*[a-z0-9]+\.{1}.+$/,message:a("Only lowercase letters, digits and hyphens allowed in the first part of the URI. Must start with a letter; hyphens only allowed in the middle. Must be a valid URI.")},groupName:{maxlength:254},hostname:{pattern:/^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9])$/},internationalPhoneNumber:{message:a('Must be a valid phone number (only digits, spaces, slashes ("/"), dashes ("-"), and plus ("+") allowed, for example: +49 9 876 543 210).')},ip:{pattern:/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/},ipV6:{pattern:/^([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]){3}([0-9]|[1-9][0-9]|1[0-9]{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(%.+)?\s*$/},jsonPath:{pattern:/.*/,message:a("Must be valid JSONPath expression.")},opcuaBrowsePath:{pattern:/^(opc.tcp|http|https):\/\/[^ "]+$/},password:{pattern:/^[a-zA-Z0-9`~!@#$%^&*()_|+\-=?;:'",.<>{}[\]\\/]{8,32}$/,message:a("Password must have at least 8 characters and no more than 32 and can only contain letters, numbers and following symbols: `~!@#$%^&*()_|+-=?;:'\",.<>{}[]\\/")},passwordStrengthChecklist:{message:a("Password is not strong enough, use a stronger password. Check the requirements listed on the right.")},tenantId:{pattern:/^[a-z]+[a-z0-9-]*[a-z0-9]+$/,message:a("May contain lowercase letters, digits, and hyphens. Must start with a letter; hyphens only allowed in the middle; minimum 2 characters.")},user:{pattern:/^[^\\/\s$:+]*$/,message:a('Username must not contain spaces nor slashes ("/", "\\") nor ("+"), (":"), ("$") signs.')},loginAlias:{pattern:/^[^\\/$:+]*$/,message:a('Login alias must not contain slashes ("/", "\\") nor ("+"), (":"), ("$") signs.')},urlSegment:{pattern:/^(([.]{1,2})|([/])+|(([/]*)([.]{1,2})([/]*))|((.*)([/]|[ ]+)(.*))|(\s+))$/,message:a("Slash, single or double dots and white space not allowed.")}},defaultAppOptions:{rightDrawer:!0,staticLinks:{devicemanagementDeviceDetails:"/apps/devicemanagement/#/device/{{deviceId}}"},supportUrl:!0,storageLimitationFeatureEnabled:!1,hide_navigator:!1,guideHrefTemplate:"${docsBaseUrl}${partialUrl}",docsBaseUrl:"https://cumulocity.com"},deviceListMap:{},tracking:{},smartRules:{exclude:[]},administration:{statistics:{}}}})();
|