@asoftwareworld/form-builder-pro
Version:
ASW Form Builder Pro helps you with rapid development and designed web forms which includes several controls. The key feature of Form Builder is to make your content attractive and effective. We can customize our control at run time and preview the same b
23 lines (22 loc) • 949 B
TypeScript
import * as i0 from "@angular/core";
export declare abstract class AswTranslateParser {
/**
* Interpolates a string to replace parameters
* 'This is a {{ key }}' ==> 'This is a value', with params = { key: 'value' }
*/
abstract interpolate(expr: string | any, params?: any): string | undefined;
/**
* Gets a value from an object by composed key
* parser.getValue({ key1: { keyA: 'valueI' }}, 'key1.keyA') ==> 'valueI'
*/
abstract getValue(target: any, key: string): any;
}
export declare class AswTranslateDefaultParser extends AswTranslateParser {
templateMatcher: RegExp;
interpolate(expr: string | any, params?: any): string;
getValue(target: any, key: string): any;
private interpolateFunction;
private interpolateString;
static ɵfac: i0.ɵɵFactoryDeclaration<AswTranslateDefaultParser, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<AswTranslateDefaultParser>;
}