source: trip-planner-front/node_modules/@angular/cdk/table/cell.d.ts@ fa375fe

Last change on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 4.2 KB
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { BooleanInput } from '@angular/cdk/coercion';
9import { ElementRef, TemplateRef } from '@angular/core';
10import { CanStick, CanStickCtor } from './can-stick';
11/** Base interface for a cell definition. Captures a column's cell template definition. */
12export interface CellDef {
13 template: TemplateRef<any>;
14}
15/**
16 * Cell definition for a CDK table.
17 * Captures the template of a column's data row cell as well as cell-specific properties.
18 */
19export declare class CdkCellDef implements CellDef {
20 template: TemplateRef<any>;
21 constructor(/** @docs-private */ template: TemplateRef<any>);
22}
23/**
24 * Header cell definition for a CDK table.
25 * Captures the template of a column's header cell and as well as cell-specific properties.
26 */
27export declare class CdkHeaderCellDef implements CellDef {
28 template: TemplateRef<any>;
29 constructor(/** @docs-private */ template: TemplateRef<any>);
30}
31/**
32 * Footer cell definition for a CDK table.
33 * Captures the template of a column's footer cell and as well as cell-specific properties.
34 */
35export declare class CdkFooterCellDef implements CellDef {
36 template: TemplateRef<any>;
37 constructor(/** @docs-private */ template: TemplateRef<any>);
38}
39/** @docs-private */
40declare class CdkColumnDefBase {
41}
42declare const _CdkColumnDefBase: CanStickCtor & typeof CdkColumnDefBase;
43/**
44 * Column definition for the CDK table.
45 * Defines a set of cells available for a table column.
46 */
47export declare class CdkColumnDef extends _CdkColumnDefBase implements CanStick {
48 _table?: any;
49 /** Unique name for this column. */
50 get name(): string;
51 set name(name: string);
52 protected _name: string;
53 /**
54 * Whether this column should be sticky positioned on the end of the row. Should make sure
55 * that it mimics the `CanStick` mixin such that `_hasStickyChanged` is set to true if the value
56 * has been changed.
57 */
58 get stickyEnd(): boolean;
59 set stickyEnd(v: boolean);
60 _stickyEnd: boolean;
61 /** @docs-private */
62 cell: CdkCellDef;
63 /** @docs-private */
64 headerCell: CdkHeaderCellDef;
65 /** @docs-private */
66 footerCell: CdkFooterCellDef;
67 /**
68 * Transformed version of the column name that can be used as part of a CSS classname. Excludes
69 * all non-alphanumeric characters and the special characters '-' and '_'. Any characters that
70 * do not match are replaced by the '-' character.
71 */
72 cssClassFriendlyName: string;
73 /**
74 * Class name for cells in this column.
75 * @docs-private
76 */
77 _columnCssClassName: string[];
78 constructor(_table?: any);
79 /**
80 * Overridable method that sets the css classes that will be added to every cell in this
81 * column.
82 * In the future, columnCssClassName will change from type string[] to string and this
83 * will set a single string value.
84 * @docs-private
85 */
86 protected _updateColumnCssClassName(): void;
87 /**
88 * This has been extracted to a util because of TS 4 and VE.
89 * View Engine doesn't support property rename inheritance.
90 * TS 4.0 doesn't allow properties to override accessors or vice-versa.
91 * @docs-private
92 */
93 protected _setNameInput(value: string): void;
94 static ngAcceptInputType_sticky: BooleanInput;
95 static ngAcceptInputType_stickyEnd: BooleanInput;
96}
97/** Base class for the cells. Adds a CSS classname that identifies the column it renders in. */
98export declare class BaseCdkCell {
99 constructor(columnDef: CdkColumnDef, elementRef: ElementRef);
100}
101/** Header cell template container that adds the right classes and role. */
102export declare class CdkHeaderCell extends BaseCdkCell {
103 constructor(columnDef: CdkColumnDef, elementRef: ElementRef);
104}
105/** Footer cell template container that adds the right classes and role. */
106export declare class CdkFooterCell extends BaseCdkCell {
107 constructor(columnDef: CdkColumnDef, elementRef: ElementRef);
108}
109/** Cell template container that adds the right classes and role. */
110export declare class CdkCell extends BaseCdkCell {
111 constructor(columnDef: CdkColumnDef, elementRef: ElementRef);
112}
113export {};
Note: See TracBrowser for help on using the repository browser.