/*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { DestroyRef, OnInit } from '@angular/core'; import { DataColumn } from '../../data/data-column.model'; import { DataRow } from '../../data/data-row.model'; import { DataTableAdapter } from '../../data/datatable-adapter'; import { BehaviorSubject } from 'rxjs'; import { DataTableService } from '../../services/datatable.service'; import { UserPreferencesService } from '../../../common/services/user-preferences.service'; import * as i0 from "@angular/core"; export declare class DataTableCellComponent implements OnInit { /** Data table adapter instance. */ data: DataTableAdapter; /** Data that defines the column. */ column: DataColumn; /** Data that defines the row. */ row: DataRow; /** Enables/disables a Clipboard directive to allow copying of the cell's content. */ copyContent: boolean; /** Text for the cell's tooltip. */ tooltip: string; /** Custom resolver function which is used to parse dynamic column objects */ resolverFn: (row: DataRow, col: DataColumn) => any; protected destroyRef: DestroyRef; protected dataTableService: DataTableService; protected readonly userPreferencesService: UserPreferencesService; value$: BehaviorSubject; protected rawComputedTitle: import("@angular/core").WritableSignal; title: import("@angular/core").Signal; private latestValue; constructor(); ngOnInit(): void; protected updateValue(): void; /** * Re-computes the title based on the current latestValue. * This is called both when the value changes (via updateValue) and when the locale changes (via effect). */ private recomputeTitle; private subscribeToRowUpdates; private getNestedPropertyValue; /** * Computes the title/tooltip for the cell based on the value. * Override this in derived classes to provide custom tooltip logic. * Note: The tooltip input always takes precedence (handled by title signal). * * @param value - The cell value to compute the title for * @returns The computed title string, or empty string if no title should be shown */ protected computeTitle(value: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }