@rangertechnologies/ngnxt
Version:
This library was used for creating dymanic UI based on the input JSON/data
31 lines (30 loc) • 1.49 kB
TypeScript
import { EventEmitter, OnInit } from '@angular/core';
import { I18nService } from '../../i18n.service';
import { TableWrapper } from '../../model/tableWrapper';
import { Question } from '../../wrapper';
import * as i0 from "@angular/core";
export declare class TableAppendixComponent implements OnInit {
i18nService: I18nService;
question: Question;
valueChange: EventEmitter<any>;
tableInfo: TableWrapper;
tableHeader: any;
tableData: any;
addRowColSpan: number;
tableAppendix: any;
dropDownApi: any;
dropDownData: any;
constructor(i18nService: I18nService);
ngOnInit(): void;
addRow(): void;
updateLabel(rowIndex: number, label: string, value: string): void;
updateNumber(item: any, label: string, value: string): void;
updateToggle(item: any, header: string, value: any): void;
updateDropDown(item: any, label: string, value: any): void;
updateCheckText(item: any, label: string, value: any): void;
updateTableAppendix(item: any, label: string, value: any): void;
emitTableDataValue(updatedTableData: any[], tableAppendix: any): void;
getPreviousTestKey(item: any, currentTest: string): string;
static ɵfac: i0.ɵɵFactoryDeclaration<TableAppendixComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TableAppendixComponent, "app-table-appendix", never, { "question": { "alias": "question"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
}