@rangertechnologies/ngnxt
Version:
This library was used for creating dymanic UI based on the input JSON/data
19 lines (18 loc) • 730 B
TypeScript
import { Question } from '../../wrapper';
import { BookletWrapper } from '../../model/bookletWrapper';
import * as i0 from "@angular/core";
export declare class StorageService {
nxtBookletAnswer: BookletWrapper;
selectedData: any;
private queryValueMap;
constructor();
save(qbJson: BookletWrapper): void;
update(questionWithInput: Question): void;
get(): BookletWrapper;
queryValueStore(questionId: string, key: string, value: any): void;
getQueryValue(questionId: string): any;
clearQueryValue(questionId: string): void;
clearAllQueryValues(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<StorageService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<StorageService>;
}