@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.
@@ -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 noWhiteSpaceAtBeginning: "Name must not contain white spaces at the beginning or ending.";
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
- noWhiteSpaceAtBeginning: {
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.noWhiteSpaceAtBeginning.pattern)
523
+ Validators.pattern(ValidationPattern.rules.noLeadingOrTrailingWhitespaces.pattern)
524
524
  ],
525
525
  defaultValue: null,
526
526
  type: 'text',