@alfresco/adf-core 8.4.0-19535715289 → 8.4.0-19568221987

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,28 +1,11 @@
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 { OnInit } from '@angular/core';
18
1
  import { DataTableCellComponent } from '../datatable-cell/datatable-cell.component';
19
2
  import { CurrencyConfig } from '../../data/data-column.model';
20
3
  import * as i0 from "@angular/core";
21
- export declare class AmountCellComponent extends DataTableCellComponent implements OnInit {
4
+ export declare class AmountCellComponent extends DataTableCellComponent {
22
5
  currencyConfig: CurrencyConfig;
23
6
  private readonly defaultCurrencyCode;
24
7
  readonly defaultCurrencyConfig: CurrencyConfig;
25
- ngOnInit(): void;
8
+ readonly amountValue: import("@angular/core").Signal<any>;
26
9
  static ɵfac: i0.ɵɵFactoryDeclaration<AmountCellComponent, never>;
27
10
  static ɵcmp: i0.ɵɵComponentDeclaration<AmountCellComponent, "adf-amount-cell", never, { "currencyConfig": { "alias": "currencyConfig"; "required": false; }; }, {}, never, never, true, never>;
28
11
  }
@@ -1,25 +1,8 @@
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 { OnInit } from '@angular/core';
18
1
  import { DataTableCellComponent } from '../datatable-cell/datatable-cell.component';
19
2
  import * as i0 from "@angular/core";
20
- export declare class BooleanCellComponent extends DataTableCellComponent implements OnInit {
21
- boolValue: string;
22
- ngOnInit(): void;
3
+ export declare class BooleanCellComponent extends DataTableCellComponent {
4
+ private readonly booleanValue;
5
+ readonly boolValue: import("@angular/core").Signal<string>;
23
6
  private transformBoolean;
24
7
  static ɵfac: i0.ɵɵFactoryDeclaration<BooleanCellComponent, never>;
25
8
  static ɵcmp: i0.ɵɵComponentDeclaration<BooleanCellComponent, "adf-boolean-cell", never, {}, {}, never, never, true, never>;
@@ -20,6 +20,7 @@ import { DataRow } from '../../data/data-row.model';
20
20
  import { DataTableAdapter } from '../../data/datatable-adapter';
21
21
  import { BehaviorSubject } from 'rxjs';
22
22
  import { DataTableService } from '../../services/datatable.service';
23
+ import { UserPreferencesService } from '../../../common/services/user-preferences.service';
23
24
  import * as i0 from "@angular/core";
24
25
  export declare class DataTableCellComponent implements OnInit {
25
26
  /** Data table adapter instance. */
@@ -36,11 +37,19 @@ export declare class DataTableCellComponent implements OnInit {
36
37
  resolverFn: (row: DataRow, col: DataColumn) => any;
37
38
  protected destroyRef: DestroyRef;
38
39
  protected dataTableService: DataTableService;
40
+ protected readonly userPreferencesService: UserPreferencesService;
39
41
  value$: BehaviorSubject<any>;
40
42
  protected rawComputedTitle: import("@angular/core").WritableSignal<string>;
41
43
  title: import("@angular/core").Signal<string>;
44
+ private latestValue;
45
+ constructor();
42
46
  ngOnInit(): void;
43
47
  protected updateValue(): void;
48
+ /**
49
+ * Re-computes the title based on the current latestValue.
50
+ * This is called both when the value changes (via updateValue) and when the locale changes (via effect).
51
+ */
52
+ private recomputeTitle;
44
53
  private subscribeToRowUpdates;
45
54
  private getNestedPropertyValue;
46
55
  /**
@@ -20,13 +20,14 @@ import { DateConfig } from '../../data/data-column.model';
20
20
  import * as i0 from "@angular/core";
21
21
  export declare class DateCellComponent extends DataTableCellComponent implements OnInit {
22
22
  dateConfig: DateConfig;
23
- config: DateConfig;
23
+ config: import("@angular/core").WritableSignal<DateConfig>;
24
24
  private readonly appConfig;
25
25
  private readonly localizedDatePipe;
26
- private readonly userPreferencesService;
27
- private readonly cdr;
26
+ private readonly timeAgoPipe;
28
27
  private userLocale;
29
28
  readonly defaultDateConfig: DateConfig;
29
+ private readonly dateValue;
30
+ protected readonly formattedDate: import("@angular/core").Signal<string>;
30
31
  constructor();
31
32
  ngOnInit(): void;
32
33
  protected computeTitle(value: any): string;
@@ -35,7 +36,6 @@ export declare class DateCellComponent extends DataTableCellComponent implements
35
36
  private setDefaultConfig;
36
37
  private normalizeLocale;
37
38
  private getDefaultFormat;
38
- private getDefaultLocale;
39
39
  private getDefaultTooltipFormat;
40
40
  private getAppConfigPropertyValue;
41
41
  static ɵfac: i0.ɵɵFactoryDeclaration<DateCellComponent, never>;
@@ -1,26 +1,6 @@
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 { OnInit } from '@angular/core';
18
1
  import { DataTableCellComponent } from '../datatable-cell/datatable-cell.component';
19
2
  import * as i0 from "@angular/core";
20
- export declare class FileSizeCellComponent extends DataTableCellComponent implements OnInit {
21
- private readonly fileSizePipe;
22
- ngOnInit(): void;
23
- protected computeTitle(value: any): string;
3
+ export declare class FileSizeCellComponent extends DataTableCellComponent {
24
4
  static ɵfac: i0.ɵɵFactoryDeclaration<FileSizeCellComponent, never>;
25
5
  static ɵcmp: i0.ɵɵComponentDeclaration<FileSizeCellComponent, "adf-filesize-cell", never, {}, {}, never, never, true, never>;
26
6
  }
@@ -1,11 +1,8 @@
1
- import { ChangeDetectorRef, OnInit } from '@angular/core';
2
1
  import { DataTableCellComponent } from '../datatable-cell/datatable-cell.component';
3
2
  import * as i0 from "@angular/core";
4
- export declare class IconCellComponent extends DataTableCellComponent implements OnInit {
5
- private changeDetectorRef;
6
- icon: string;
7
- constructor(changeDetectorRef: ChangeDetectorRef);
8
- ngOnInit(): void;
3
+ export declare class IconCellComponent extends DataTableCellComponent {
4
+ private readonly iconValue;
5
+ readonly icon: import("@angular/core").Signal<any>;
9
6
  private validateIconValue;
10
7
  static ɵfac: i0.ɵɵFactoryDeclaration<IconCellComponent, never>;
11
8
  static ɵcmp: i0.ɵɵComponentDeclaration<IconCellComponent, "adf-icon-cell", never, {}, {}, never, never, true, never>;
@@ -1,29 +1,13 @@
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 { OnInit } from '@angular/core';
18
1
  import { DataTableCellComponent } from '../datatable-cell/datatable-cell.component';
19
2
  import { MatDialog } from '@angular/material/dialog';
20
3
  import * as i0 from "@angular/core";
21
- export declare class JsonCellComponent extends DataTableCellComponent implements OnInit {
4
+ export declare class JsonCellComponent extends DataTableCellComponent {
22
5
  private dialog;
23
6
  /** Editable JSON. */
24
7
  editable: boolean;
8
+ private readonly jsonValue;
9
+ readonly shouldShowButton: import("@angular/core").Signal<boolean>;
25
10
  constructor(dialog: MatDialog);
26
- ngOnInit(): void;
27
11
  view(): void;
28
12
  static ɵfac: i0.ɵɵFactoryDeclaration<JsonCellComponent, never>;
29
13
  static ɵcmp: i0.ɵɵComponentDeclaration<JsonCellComponent, "adf-json-cell", never, { "editable": { "alias": "editable"; "required": false; }; }, {}, never, never, true, never>;
@@ -1,25 +1,8 @@
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 { OnInit } from '@angular/core';
18
1
  import { DataTableCellComponent } from '../datatable-cell/datatable-cell.component';
19
2
  import * as i0 from "@angular/core";
20
- export declare class LocationCellComponent extends DataTableCellComponent implements OnInit {
21
- link: any[];
22
- ngOnInit(): void;
3
+ export declare class LocationCellComponent extends DataTableCellComponent {
4
+ link: (string | number)[];
5
+ readonly locationValue: import("@angular/core").Signal<any>;
23
6
  protected updateValue(): void;
24
7
  static ɵfac: i0.ɵɵFactoryDeclaration<LocationCellComponent, never>;
25
8
  static ɵcmp: i0.ɵɵComponentDeclaration<LocationCellComponent, "adf-location-cell", never, { "link": { "alias": "link"; "required": false; }; }, {}, never, never, true, never>;
@@ -1,27 +1,10 @@
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 { OnInit } from '@angular/core';
18
1
  import { DataTableCellComponent } from '../datatable-cell/datatable-cell.component';
19
2
  import { DecimalConfig } from '../../data/data-column.model';
20
3
  import * as i0 from "@angular/core";
21
- export declare class NumberCellComponent extends DataTableCellComponent implements OnInit {
4
+ export declare class NumberCellComponent extends DataTableCellComponent {
22
5
  decimalConfig: DecimalConfig;
23
6
  readonly defaultDecimalConfig: DecimalConfig;
24
- ngOnInit(): void;
7
+ readonly numberValue: import("@angular/core").Signal<any>;
25
8
  static ɵfac: i0.ɵɵFactoryDeclaration<NumberCellComponent, never>;
26
9
  static ɵcmp: i0.ɵɵComponentDeclaration<NumberCellComponent, "adf-number-cell", never, { "decimalConfig": { "alias": "decimalConfig"; "required": false; }; }, {}, never, never, true, never>;
27
10
  }
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-19535715289",
4
+ "version": "8.4.0-19568221987",
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-19535715289",
67
- "@alfresco/adf-extensions": ">=8.4.0-19535715289",
66
+ "@alfresco/js-api": ">=9.4.0-19568221987",
67
+ "@alfresco/adf-extensions": ">=8.4.0-19568221987",
68
68
  "minimatch": ">=10.0.0",
69
69
  "pdfjs-dist": ">=3.3.122"
70
70
  },