@alfresco/adf-core 8.4.0-19463853602 → 8.4.0-19534494602
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/bundles/assets/adf-core/i18n/es.json +1 -1
- package/bundles/assets/adf-core/i18n/fr.json +1 -1
- package/bundles/assets/adf-core/i18n/it.json +1 -1
- package/bundles/assets/adf-core/i18n/pt.json +1 -1
- package/fesm2022/adf-core.mjs +102 -55
- package/fesm2022/adf-core.mjs.map +1 -1
- package/lib/datatable/components/datatable-cell/datatable-cell.component.d.ts +11 -2
- package/lib/datatable/components/date-cell/date-cell.component.d.ts +6 -0
- package/lib/datatable/components/filesize-cell/filesize-cell.component.d.ts +2 -0
- package/package.json +3 -3
|
@@ -37,12 +37,21 @@ export declare class DataTableCellComponent implements OnInit {
|
|
|
37
37
|
protected destroyRef: DestroyRef;
|
|
38
38
|
protected dataTableService: DataTableService;
|
|
39
39
|
value$: BehaviorSubject<any>;
|
|
40
|
-
|
|
40
|
+
protected rawComputedTitle: import("@angular/core").WritableSignal<string>;
|
|
41
|
+
title: import("@angular/core").Signal<string>;
|
|
41
42
|
ngOnInit(): void;
|
|
42
43
|
protected updateValue(): void;
|
|
43
44
|
private subscribeToRowUpdates;
|
|
44
45
|
private getNestedPropertyValue;
|
|
45
|
-
|
|
46
|
+
/**
|
|
47
|
+
* Computes the title/tooltip for the cell based on the value.
|
|
48
|
+
* Override this in derived classes to provide custom tooltip logic.
|
|
49
|
+
* Note: The tooltip input always takes precedence (handled by title signal).
|
|
50
|
+
*
|
|
51
|
+
* @param value - The cell value to compute the title for
|
|
52
|
+
* @returns The computed title string, or empty string if no title should be shown
|
|
53
|
+
*/
|
|
54
|
+
protected computeTitle(value: string): string;
|
|
46
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableCellComponent, never>;
|
|
47
56
|
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableCellComponent, "adf-datatable-cell", never, { "data": { "alias": "data"; "required": true; }; "column": { "alias": "column"; "required": true; }; "row": { "alias": "row"; "required": true; }; "copyContent": { "alias": "copyContent"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "resolverFn": { "alias": "resolverFn"; "required": false; }; }, {}, never, never, true, never>;
|
|
48
57
|
}
|
|
@@ -22,11 +22,17 @@ export declare class DateCellComponent extends DataTableCellComponent implements
|
|
|
22
22
|
dateConfig: DateConfig;
|
|
23
23
|
config: DateConfig;
|
|
24
24
|
private readonly appConfig;
|
|
25
|
+
private readonly localizedDatePipe;
|
|
26
|
+
private readonly userPreferencesService;
|
|
27
|
+
private readonly cdr;
|
|
28
|
+
private userLocale;
|
|
25
29
|
readonly defaultDateConfig: DateConfig;
|
|
26
30
|
ngOnInit(): void;
|
|
31
|
+
protected computeTitle(value: any): string;
|
|
27
32
|
private setConfig;
|
|
28
33
|
private setCustomConfig;
|
|
29
34
|
private setDefaultConfig;
|
|
35
|
+
private normalizeLocale;
|
|
30
36
|
private getDefaultFormat;
|
|
31
37
|
private getDefaultLocale;
|
|
32
38
|
private getDefaultTooltipFormat;
|
|
@@ -18,7 +18,9 @@ import { OnInit } from '@angular/core';
|
|
|
18
18
|
import { DataTableCellComponent } from '../datatable-cell/datatable-cell.component';
|
|
19
19
|
import * as i0 from "@angular/core";
|
|
20
20
|
export declare class FileSizeCellComponent extends DataTableCellComponent implements OnInit {
|
|
21
|
+
private readonly fileSizePipe;
|
|
21
22
|
ngOnInit(): void;
|
|
23
|
+
protected computeTitle(value: any): string;
|
|
22
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileSizeCellComponent, never>;
|
|
23
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<FileSizeCellComponent, "adf-filesize-cell", never, {}, {}, never, never, true, never>;
|
|
24
26
|
}
|
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-19534494602",
|
|
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-
|
|
67
|
-
"@alfresco/adf-extensions": ">=8.4.0-
|
|
66
|
+
"@alfresco/js-api": ">=9.4.0-19534494602",
|
|
67
|
+
"@alfresco/adf-extensions": ">=8.4.0-19534494602",
|
|
68
68
|
"minimatch": ">=10.0.0",
|
|
69
69
|
"pdfjs-dist": ">=3.3.122"
|
|
70
70
|
},
|