survey-creator-core
Version:
A framework-independent core package of the SurveyJS Survey Creator component. With Survey Creator, you can visually design complex, interactive JSON forms and surveys in a drag-and-drop interface.
21 lines (20 loc) • 708 B
TypeScript
import { Base, SurveyModel } from "survey-core";
export declare class EditableObject {
static isCopyObject(obj: any): boolean;
static getSurvey(object: any): SurveyModel;
static getOriginalObject(object: any): any;
static getOriginalSurvey(survey: SurveyModel): SurveyModel;
private objValue;
private editableObjValue;
constructor(obj: Base);
get obj(): Base;
get editableObj(): Base;
isPropertyChanged(propertyName: string): boolean;
apply(propertyName: string): void;
reset(): void;
applyAll(excludedProps?: Array<string>): void;
private getProperties;
protected createEditableObj(): Base;
private assignProperties;
private getObjJson;
}