@alfresco/adf-core 8.4.0-17396068206 → 8.4.0-17399835374

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.
@@ -14,6 +14,7 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
+ import { FormFieldTypes } from './form-field-types';
17
18
  import { FormFieldModel } from './form-field.model';
18
19
  export interface FormFieldValidator {
19
20
  isSupported(field: FormFieldModel): boolean;
@@ -37,8 +38,11 @@ export declare class MinLengthFieldValidator implements FormFieldValidator {
37
38
  }
38
39
  export declare class MaxLengthFieldValidator implements FormFieldValidator {
39
40
  private supportedTypes;
41
+ private maxLength?;
42
+ constructor(supportedTypes?: FormFieldTypes[], maxLength?: number);
40
43
  isSupported(field: FormFieldModel): boolean;
41
44
  validate(field: FormFieldModel): boolean;
45
+ getMaxLength(field: FormFieldModel): number | undefined;
42
46
  }
43
47
  export declare class MinValueFieldValidator implements FormFieldValidator {
44
48
  private supportedTypes;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@alfresco/adf-core",
3
3
  "description": "Alfresco ADF core",
4
- "version": "8.4.0-17396068206",
4
+ "version": "8.4.0-17399835374",
5
5
  "author": "Hyland Software, Inc. and its affiliates",
6
6
  "repository": {
7
7
  "type": "git",
@@ -63,8 +63,8 @@
63
63
  "@angular/router": ">=16.0.0",
64
64
  "@mat-datetimepicker/core": ">=12.0.1",
65
65
  "@ngx-translate/core": ">=16.0.0",
66
- "@alfresco/js-api": ">=9.4.0-17396068206",
67
- "@alfresco/adf-extensions": ">=8.4.0-17396068206",
66
+ "@alfresco/js-api": ">=9.4.0-17399835374",
67
+ "@alfresco/adf-extensions": ">=8.4.0-17399835374",
68
68
  "minimatch": ">=10.0.0",
69
69
  "pdfjs-dist": ">=3.3.122",
70
70
  "ts-morph": ">=20.0.0"