@alfresco/adf-core
Version:
47 lines (46 loc) • 2.4 kB
TypeScript
/*!
* @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 * 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;
value$: BehaviorSubject<any>;
ngOnInit(): void;
protected updateValue(): void;
private subscribeToRowUpdates;
private getNestedPropertyValue;
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableCellComponent, never>;
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>;
}