@alfresco/adf-core 8.4.0-20032496569 → 8.4.0-20091691691

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.
@@ -1,10 +1,12 @@
1
- import { MatCheckboxChange } from '@angular/material/checkbox';
2
1
  import { CardViewBoolItemModel } from '../../models/card-view-boolitem.model';
3
2
  import { BaseCardView } from '../base-card-view';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class CardViewBoolItemComponent extends BaseCardView<CardViewBoolItemModel> {
6
5
  editable: boolean;
7
- changed(change: MatCheckboxChange): void;
6
+ private _error;
7
+ get error(): string;
8
+ changed(checked: boolean): void;
9
+ onValidation(errors: string[]): void;
8
10
  static ɵfac: i0.ɵɵFactoryDeclaration<CardViewBoolItemComponent, never>;
9
11
  static ɵcmp: i0.ɵɵComponentDeclaration<CardViewBoolItemComponent, "adf-card-view-boolitem", never, { "editable": { "alias": "editable"; "required": false; }; }, {}, never, never, true, never>;
10
12
  }
@@ -24,7 +24,6 @@ import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
24
24
  import { UntypedFormControl } from '@angular/forms';
25
25
  import * as i0 from "@angular/core";
26
26
  export declare class CardViewSelectItemComponent extends BaseCardView<CardViewSelectItemModel<string | number>> implements OnInit, OnChanges {
27
- private appConfig;
28
27
  static HIDE_FILTER_LIMIT: number;
29
28
  options$: Observable<CardViewSelectItemOption<string | number>[]>;
30
29
  displayNoneOption: boolean;
@@ -37,6 +36,9 @@ export declare class CardViewSelectItemComponent extends BaseCardView<CardViewSe
37
36
  autocompleteControl: UntypedFormControl;
38
37
  editedValue: string | number;
39
38
  private readonly destroyRef;
39
+ private readonly appConfig;
40
+ private _error;
41
+ get error(): string;
40
42
  ngOnChanges(changes: SimpleChanges): void;
41
43
  ngOnInit(): void;
42
44
  onFilterInputChange(value: string): void;
@@ -44,6 +46,7 @@ export declare class CardViewSelectItemComponent extends BaseCardView<CardViewSe
44
46
  getList(): Observable<CardViewSelectItemOption<string | number>[]>;
45
47
  onOptionSelected(event: MatAutocompleteSelectedEvent): void;
46
48
  onChange(event: MatSelectChange): void;
49
+ onValidation(errors: string[]): void;
47
50
  get showProperty(): boolean;
48
51
  private get optionsLimit();
49
52
  static ɵfac: i0.ɵɵFactoryDeclaration<CardViewSelectItemComponent, never>;
@@ -45,7 +45,7 @@
45
45
  }
46
46
 
47
47
  #{ms.$mat-form-field-subscript-wrapper} {
48
- display: none;
48
+ display: block;
49
49
  }
50
50
 
51
51
  .adf-property-read-only {
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * @license
3
+ * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { EventEmitter } from '@angular/core';
18
+ import { AbstractControl, ValidationErrors } from '@angular/forms';
19
+ import { CardViewBaseItemModel } from '../models/card-view-baseitem.model';
20
+ import { TranslateService } from '@ngx-translate/core';
21
+ import * as i0 from "@angular/core";
22
+ export declare class CardViewPropertyValidatorDirective {
23
+ private readonly translateService;
24
+ property: CardViewBaseItemModel;
25
+ validated: EventEmitter<string[]>;
26
+ constructor(translateService: TranslateService);
27
+ validate(control: AbstractControl): ValidationErrors | null;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardViewPropertyValidatorDirective, never>;
29
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CardViewPropertyValidatorDirective, "[adf-card-view-property-validator]", never, { "property": { "alias": "property"; "required": false; }; }, { "validated": "validated"; }, never, never, true, never>;
30
+ }
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-20032496569",
4
+ "version": "8.4.0-20091691691",
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-20032496569",
67
- "@alfresco/adf-extensions": ">=8.4.0-20032496569",
66
+ "@alfresco/js-api": ">=9.4.0-20091691691",
67
+ "@alfresco/adf-extensions": ">=8.4.0-20091691691",
68
68
  "minimatch": ">=10.0.0",
69
69
  "pdfjs-dist": ">=3.3.122"
70
70
  },