UNPKG

survey-creator-core

Version:

Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.

44 lines (43 loc) 1.32 kB
import * as Survey from "survey-core"; import { Base } from "survey-core"; import "./results.scss"; export declare class SurveyResultsItemModel extends Base { private survey; private _data; private _lvl; collapsed: boolean; lvl: number; items: Array<any>; constructor(survey: Survey.SurveyModel, _data: any, _lvl: number); question: Survey.Question; get data(): Array<any>; toggle: () => void; get isNode(): boolean; get name(): string; get title(): string; get value(): any; get displayValue(): string; getString(data: any): string; private markerWidth; get markerMargin(): string; get textMargin(): string; } export declare class SurveyResultsModel extends Base { private survey; constructor(survey: Survey.SurveyModel); resultViewType: string; resultText: string; resultData: Array<any>; getLocString(name: string): string; get surveyResultsText(): string; get surveyResultsTableText(): string; get surveyResultsJsonText(): string; get resultsTitle(): string; get resultsName(): string; get resultsValue(): string; get resultsDisplayValue(): string; get isTableSelected(): boolean; get isJsonSelected(): boolean; selectTableClick: () => void; selectJsonClick: () => void; }