UNPKG

@rangertechnologies/ngnxt

Version:

This library was used for creating dymanic UI based on the input JSON/data

50 lines (49 loc) 2.3 kB
import { EventEmitter } from '@angular/core'; import { DomSanitizer, SafeHtml } from '@angular/platform-browser'; import * as i0 from "@angular/core"; export declare class BookletComponent { private sanitizer; referenceKey: string; questions: any[]; isPreview: boolean; currencySymbol: string; questionChange: EventEmitter<{ value: any; field: any; }>; constructor(sanitizer: DomSanitizer); onQuestionChange(value: any, field: any): void; isVisible(field: any): boolean; getElementStyle(field: any): any; getLabelStyle(field: any): any; getValue(field: any): string; getMainColumns(field: any): any[]; getSummaryColumns(field: any): any[]; getRows(field: any): any[]; getHeaderStyle(column: any): any; getCellStyle(column: any, rowIndex: number): any; getSummaryColspan(field: any): number; getCellValue(row: any, column: any): string; getSummaryValue(field: any, column: any): string; getRichTextLines(field: any): string[]; isRichTextHtml(field: any): boolean; getRichTextHtml(field: any): SafeHtml; shouldRenderStyledTextLines(field: any): boolean; getStyledTextLines(field: any): string[]; isTextHeadingLine(field: any, index: number, line: string): boolean; getStyledTextLineStyle(field: any, index: number, line: string): any; private isQuotationHeadingText; private getDefaultTextHeadingColor; private getDefaultTextHeadingSize; isRichTextBullet(line: string): boolean; getRichTextLineText(line: string): string; isRichTextHeading(field: any, index: number, line: string): boolean; getPdfMakePreview(field: any): string; private getColumnWidth; private formatCurrency; private getPathValue; private normalizeMargin; private marginToCss; static ɵfac: i0.ɵɵFactoryDeclaration<BookletComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<BookletComponent, "app-booklet", never, { "referenceKey": { "alias": "referenceKey"; "required": false; }; "questions": { "alias": "questions"; "required": false; }; "isPreview": { "alias": "isPreview"; "required": false; }; "currencySymbol": { "alias": "currencySymbol"; "required": false; }; }, { "questionChange": "questionChange"; }, never, never, true, never>; }