@c8y/ngx-components 1022.4.5 → 1022.4.7
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/forms/validation-pattern.d.ts +2 -2
- package/fesm2022/c8y-ngx-components-tenants.mjs +1 -1
- package/fesm2022/c8y-ngx-components-tenants.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components.mjs +5 -5
- package/fesm2022/c8y-ngx-components.mjs.map +1 -1
- package/locales/de.po +3 -3
- package/locales/es.po +3 -3
- package/locales/fr.po +3 -3
- package/locales/ja_JP.po +4 -4
- package/locales/ko.po +4 -4
- package/locales/locales.pot +3 -3
- package/locales/nl.po +3 -3
- package/locales/pl.po +4 -4
- package/locales/pt_BR.po +3 -3
- package/locales/zh_CN.po +4 -4
- package/locales/zh_TW.po +4 -4
- package/package.json +1 -1
|
@@ -44,7 +44,7 @@ export declare class ValidationPattern {
|
|
|
44
44
|
readonly httpUrl: "Must be a valid HTTP(S) URL.";
|
|
45
45
|
readonly colonedHexNumber: "Must be a valid hexadecimal number. Must contain only the following characters: 0-9, a-f, A-F, :.";
|
|
46
46
|
readonly noWhiteSpaceOnly: "This field must not contain only whitespaces";
|
|
47
|
-
readonly
|
|
47
|
+
readonly noLeadingOrTrailingWhitespaces: "Must not contain any leading or trailing whitespaces.";
|
|
48
48
|
readonly noDots: "Dots not allowed.";
|
|
49
49
|
readonly integer: "Invalid type, expected integer.";
|
|
50
50
|
readonly simpleJsonPath: "Must be a valid JSON path";
|
|
@@ -93,7 +93,7 @@ export declare class ValidationPattern {
|
|
|
93
93
|
noWhiteSpaceOnly: {
|
|
94
94
|
pattern: RegExp;
|
|
95
95
|
};
|
|
96
|
-
|
|
96
|
+
noLeadingOrTrailingWhitespaces: {
|
|
97
97
|
pattern: RegExp;
|
|
98
98
|
};
|
|
99
99
|
noDots: {
|
|
@@ -520,7 +520,7 @@ const tenantPropertiesDefinitions = {
|
|
|
520
520
|
validators: [
|
|
521
521
|
Validators.required,
|
|
522
522
|
Validators.maxLength(256),
|
|
523
|
-
Validators.pattern(ValidationPattern.rules.
|
|
523
|
+
Validators.pattern(ValidationPattern.rules.noLeadingOrTrailingWhitespaces.pattern)
|
|
524
524
|
],
|
|
525
525
|
defaultValue: null,
|
|
526
526
|
type: 'text',
|