@hxui/angular
Version:
This README includes the steps that are necessary to import the HxUi-angular into a project or to contribute with development.
44 lines (43 loc) • 920 B
TypeScript
import { TooltipConfig } from '../tooltip/tooltip.config';
export declare enum TabularColumnTypes {
String = 0,
Icon = 1,
Date = 2,
Actions = 3,
Status = 4,
DateTime = 5,
Checkbox = 6,
Badge = 7,
Number = 8,
}
export declare abstract class ITabularColumn {
/**
* Unique identifier/reference
*/
id: string;
/**
* Label used for display purposes.
*/
label: string;
/**
* Column data type
*/
dataType: TabularColumnTypes;
/**
* Css class name to append to columns
*/
cssClass: string;
}
export interface ITabularColumnBadgeType {
label: string;
cssClass?: string;
tooltipConfig?: TooltipConfig;
}
export interface ITabularColumnIconType {
icon: string;
cssClass?: string;
tooltip: {
config: TooltipConfig;
content: string;
};
}