@alfresco/adf-core 7.0.0-alpha.9-13511187067 → 7.0.0-alpha.9-13516847399
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/esm2022/lib/datatable/components/columns-selector/columns-selector.component.mjs +3 -3
- package/esm2022/lib/datatable/components/datatable/datatable.component.mjs +30 -13
- package/esm2022/lib/form/components/widgets/core/form-field-validator.mjs +4 -2
- package/fesm2022/adf-core.mjs +51 -33
- package/fesm2022/adf-core.mjs.map +1 -1
- package/lib/datatable/components/datatable/datatable.component.d.ts +10 -4
- package/package.json +3 -3
- package/schematics/migrations/schematics/migrations/collection.json +8 -8
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { AfterContentInit, AfterViewInit, DoCheck, ElementRef, EventEmitter, IterableDiffers, OnChanges, OnDestroy, OnInit, QueryList, SimpleChange, SimpleChanges, TemplateRef } from '@angular/core';
|
|
18
|
+
import { ConfigurableFocusTrap, ConfigurableFocusTrapFactory } from '@angular/cdk/a11y';
|
|
18
19
|
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
19
20
|
import { MatMenuTrigger } from '@angular/material/menu';
|
|
20
21
|
import { DataColumnListComponent } from '../../data-column/data-column-list.component';
|
|
@@ -39,11 +40,13 @@ export declare enum ShowHeaderMode {
|
|
|
39
40
|
Data = "data"
|
|
40
41
|
}
|
|
41
42
|
export declare class DataTableComponent implements OnInit, AfterContentInit, OnChanges, DoCheck, OnDestroy, AfterViewInit {
|
|
42
|
-
private elementRef;
|
|
43
|
-
private matIconRegistry;
|
|
44
|
-
private sanitizer;
|
|
43
|
+
private readonly elementRef;
|
|
44
|
+
private readonly matIconRegistry;
|
|
45
|
+
private readonly sanitizer;
|
|
46
|
+
private readonly focusTrapFactory;
|
|
45
47
|
private static MINIMUM_COLUMN_SIZE;
|
|
46
48
|
rowsList: QueryList<DataTableRowComponent>;
|
|
49
|
+
mainMenuTemplate: ElementRef;
|
|
47
50
|
columnList: DataColumnListComponent;
|
|
48
51
|
/** Data source for the table */
|
|
49
52
|
data: DataTableAdapter;
|
|
@@ -164,6 +167,7 @@ export declare class DataTableComponent implements OnInit, AfterContentInit, OnC
|
|
|
164
167
|
hoveredHeaderColumnIndex: number;
|
|
165
168
|
resizingColumnIndex: number;
|
|
166
169
|
isDraggingRow: boolean;
|
|
170
|
+
focusTrap: ConfigurableFocusTrap;
|
|
167
171
|
private keyManager;
|
|
168
172
|
private clickObserver;
|
|
169
173
|
private click$;
|
|
@@ -173,7 +177,7 @@ export declare class DataTableComponent implements OnInit, AfterContentInit, OnC
|
|
|
173
177
|
private multiClickStreamSub;
|
|
174
178
|
private readonly destroyRef;
|
|
175
179
|
onKeydown(event: KeyboardEvent): void;
|
|
176
|
-
constructor(elementRef: ElementRef, differs: IterableDiffers, matIconRegistry: MatIconRegistry, sanitizer: DomSanitizer);
|
|
180
|
+
constructor(elementRef: ElementRef, differs: IterableDiffers, matIconRegistry: MatIconRegistry, sanitizer: DomSanitizer, focusTrapFactory: ConfigurableFocusTrapFactory);
|
|
177
181
|
ngOnInit(): void;
|
|
178
182
|
ngAfterContentInit(): void;
|
|
179
183
|
ngAfterViewInit(): void;
|
|
@@ -186,6 +190,8 @@ export declare class DataTableComponent implements OnInit, AfterContentInit, OnC
|
|
|
186
190
|
convertToRowsData(rows: any[]): ObjectDataRow[];
|
|
187
191
|
convertToColumnsData(columns: any[]): ObjectDataColumn[];
|
|
188
192
|
convertToDataSorting(sorting: any[]): DataSorting | null;
|
|
193
|
+
onMainMenuOpen(): void;
|
|
194
|
+
onMainMenuClosed(): void;
|
|
189
195
|
private initAndSubscribeClickStream;
|
|
190
196
|
private unsubscribeClickStream;
|
|
191
197
|
private initTable;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfresco/adf-core",
|
|
3
3
|
"description": "Alfresco ADF core",
|
|
4
|
-
"version": "7.0.0-alpha.9-
|
|
4
|
+
"version": "7.0.0-alpha.9-13516847399",
|
|
5
5
|
"author": "Hyland Software, Inc. and its affiliates",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
"@angular/router": ">=16.0.0",
|
|
76
76
|
"@mat-datetimepicker/core": ">=12.0.1",
|
|
77
77
|
"@ngx-translate/core": ">=14.0.0",
|
|
78
|
-
"@alfresco/js-api": ">=8.0.0-alpha.9-
|
|
79
|
-
"@alfresco/adf-extensions": ">=7.0.0-alpha.9-
|
|
78
|
+
"@alfresco/js-api": ">=8.0.0-alpha.9-13516847399",
|
|
79
|
+
"@alfresco/adf-extensions": ">=7.0.0-alpha.9-13516847399",
|
|
80
80
|
"minimatch": ">=10.0.0",
|
|
81
81
|
"pdfjs-dist": ">=3.3.122",
|
|
82
82
|
"ts-morph": ">=20.0.0"
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
"schematics": {
|
|
4
4
|
"move-out-alfresco-api": {
|
|
5
5
|
"description": "Update alfresco-api imports",
|
|
6
|
-
"version": "7.0.0-alpha.9-
|
|
6
|
+
"version": "7.0.0-alpha.9-13516847399",
|
|
7
7
|
"factory": "./7_0_0/index#updateAlfrescoApiImports"
|
|
8
8
|
}
|
|
9
9
|
},
|
|
10
10
|
"packageJsonUpdates": {
|
|
11
11
|
"move-out-alfresco-api": {
|
|
12
|
-
"version": "7.0.0-alpha.9-
|
|
12
|
+
"version": "7.0.0-alpha.9-13516847399",
|
|
13
13
|
"packages": {
|
|
14
14
|
"ts-morph": {
|
|
15
15
|
"version": "^20.0.0",
|
|
@@ -17,27 +17,27 @@
|
|
|
17
17
|
"addToPackageJson": "devDependencies"
|
|
18
18
|
},
|
|
19
19
|
"@alfresco/adf-content-services": {
|
|
20
|
-
"version": "7.0.0-alpha.9-
|
|
20
|
+
"version": "7.0.0-alpha.9-13516847399",
|
|
21
21
|
"alwaysAddToPackageJson": false
|
|
22
22
|
},
|
|
23
23
|
"@alfresco/adf-extensions": {
|
|
24
|
-
"version": "7.0.0-alpha.9-
|
|
24
|
+
"version": "7.0.0-alpha.9-13516847399",
|
|
25
25
|
"alwaysAddToPackageJson": false
|
|
26
26
|
},
|
|
27
27
|
"@alfresco/adf-process-services-cloud": {
|
|
28
|
-
"version": "7.0.0-alpha.9-
|
|
28
|
+
"version": "7.0.0-alpha.9-13516847399",
|
|
29
29
|
"alwaysAddToPackageJson": false
|
|
30
30
|
},
|
|
31
31
|
"@alfresco/adf-process-services": {
|
|
32
|
-
"version": "7.0.0-alpha.9-
|
|
32
|
+
"version": "7.0.0-alpha.9-13516847399",
|
|
33
33
|
"alwaysAddToPackageJson": false
|
|
34
34
|
},
|
|
35
35
|
"@alfresco/eslint-plugin-eslint-angular": {
|
|
36
|
-
"version": "7.0.0-alpha.9-
|
|
36
|
+
"version": "7.0.0-alpha.9-13516847399",
|
|
37
37
|
"alwaysAddToPackageJson": false
|
|
38
38
|
},
|
|
39
39
|
"@alfresco/js-api": {
|
|
40
|
-
"version": "8.0.0-alpha.9-
|
|
40
|
+
"version": "8.0.0-alpha.9-13516847399",
|
|
41
41
|
"alwaysAddToPackageJson": false
|
|
42
42
|
}
|
|
43
43
|
}
|