ngx-obelisco-example
Version:
Componentes funcionales y reutilizables para Angular.
31 lines (30 loc) • 1.56 kB
TypeScript
import { OnInit, AfterViewInit, ElementRef, EventEmitter, QueryList, Renderer2 } from '@angular/core';
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
import { Column, DataSource, TableCheckbox } from 'ngx-obelisco-example/core/models';
import * as i0 from "@angular/core";
export declare class OTableComponent implements OnInit, AfterViewInit {
private readonly renderer;
private sanitizer;
isValidateComponent: boolean;
id: string;
columns: Column[];
dataSource: DataSource[];
isBordered: boolean;
isStriped: boolean;
isScrollable: boolean;
customClasses: string;
checkbox: TableCheckbox;
dataSelectedChange: EventEmitter<DataSource[]>;
private inputCheckArr;
private dataSelected;
checkboxRef: QueryList<ElementRef>;
constructor(renderer: Renderer2, sanitizer: DomSanitizer);
ngOnInit(): void;
ngAfterViewInit(): void;
private componentValidations;
sanitizeHTML(html: string): SafeHtml;
onHeaderCheckboxChange(event: Event): void;
onCheckboxChange(data: DataSource, event: any): void;
static ɵfac: i0.ɵɵFactoryDeclaration<OTableComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<OTableComponent, "o-table", never, { "id": "id"; "columns": "columns"; "dataSource": "dataSource"; "isBordered": "isBordered"; "isStriped": "isStriped"; "isScrollable": "isScrollable"; "customClasses": "customClasses"; "checkbox": "checkbox"; }, { "dataSelectedChange": "dataSelectedChange"; }, never, never, false>;
}