@alfresco/adf-core 8.4.0-20057628612 → 8.4.0-20093533825
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/fesm2022/adf-core.mjs +307 -237
- package/fesm2022/adf-core.mjs.map +1 -1
- package/lib/card-view/components/card-view-boolitem/card-view-boolitem.component.d.ts +4 -2
- package/lib/card-view/components/card-view-selectitem/card-view-selectitem.component.d.ts +4 -1
- package/lib/card-view/components/card-view-selectitem/card-view-selectitem.component.scss +1 -1
- package/lib/card-view/components/card-view-textitem/card-view-textitem.component.scss +4 -0
- package/lib/card-view/directives/card-view-property-validator.directive.d.ts +30 -0
- package/package.json +7 -7
|
@@ -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
|
-
|
|
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>;
|
|
@@ -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-
|
|
4
|
+
"version": "8.4.0-20093533825",
|
|
5
5
|
"author": "Hyland Software, Inc. and its affiliates",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"types": "./index.d.ts",
|
|
27
27
|
"default": "./fesm2022/adf-core.mjs"
|
|
28
28
|
},
|
|
29
|
-
"./api": {
|
|
30
|
-
"types": "./api/index.d.ts",
|
|
31
|
-
"default": "./fesm2022/alfresco-adf-core-api.mjs"
|
|
32
|
-
},
|
|
33
29
|
"./auth": {
|
|
34
30
|
"types": "./auth/index.d.ts",
|
|
35
31
|
"default": "./fesm2022/alfresco-adf-core-auth.mjs"
|
|
36
32
|
},
|
|
33
|
+
"./api": {
|
|
34
|
+
"types": "./api/index.d.ts",
|
|
35
|
+
"default": "./fesm2022/alfresco-adf-core-api.mjs"
|
|
36
|
+
},
|
|
37
37
|
"./feature-flags": {
|
|
38
38
|
"types": "./feature-flags/index.d.ts",
|
|
39
39
|
"default": "./fesm2022/alfresco-adf-core-feature-flags.mjs"
|
|
@@ -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-
|
|
67
|
-
"@alfresco/adf-extensions": ">=8.4.0-
|
|
66
|
+
"@alfresco/js-api": ">=9.4.0-20093533825",
|
|
67
|
+
"@alfresco/adf-extensions": ">=8.4.0-20093533825",
|
|
68
68
|
"minimatch": ">=10.0.0",
|
|
69
69
|
"pdfjs-dist": ">=3.3.122"
|
|
70
70
|
},
|