survey-creator
Version:
Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.
1,478 lines (1,476 loc) • 147 kB
TypeScript
/*
* Type definition for Survey Creator library v1.12.54
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - https://surveyjs.io/
* License: https://surveyjs.io/Licenses#SurveyCreator
*/
import { IAction, ISurvey, IElement, HashTable, IQuestion } from "survey-knockout";
export { editorLocalization as localization };
export enum ObjType {
Unknown,
Survey,
Page,
Panel,
Question
}
export interface ISurveyCreatorOptions {
alwaySaveTextInPropertyEditors: boolean;
readOnly: boolean;
maxLogicItemsInCondition: number;
showTitlesInExpressions: boolean;
allowEditExpressionsInTextEditor: boolean;
maximumColumnsCount: number;
getObjectDisplayName(obj: any, reason: string, displayName: string): string;
onCanShowPropertyCallback(object: any, property: any, showMode: string, parentObj: any, parentProperty: any): boolean;
onIsPropertyReadOnlyCallback(obj: any, property: any, readOnly: boolean, parentObj: any, parentProperty: any): boolean;
onCanDeleteItemCallback(object: any, item: any, allowDelete: boolean): boolean;
onCollectionItemDeletingCallback(obj: any, property: any, collection: any, item: any): boolean;
onItemValueAddedCallback(obj: any, propertyName: string, itemValue: any, itemValues: any): any;
onMatrixDropdownColumnAddedCallback(matrix: any, column: any, columns: any): any;
onSetPropertyEditorOptionsCallback(propertyName: string, obj: any, editorOptions: any): any;
onGetErrorTextOnValidationCallback(propertyName: string, obj: any, value: any): string;
onValueChangingCallback(options: any): any;
onPropertyValueChanged(property: any, obj: any, newValue: any): any;
onGetElementEditorTitleCallback(obj: any, title: string): string;
startUndoRedoTransaction(): any;
stopUndoRedoTransaction(): any;
createSurvey(json: any, reason: string, surveyType?: any): any;
onConditionQuestionsGetListCallback(propertyName: string, obj: any, editor: any, list: any): any;
}
export interface IUndoRedoChange {
object: any;
propertyName: string;
oldValue: any;
newValue: any;
}
export interface SurveyElementSelectorItem {
name: string;
text: string;
element: any;
koDisabled: any;
}
export interface ISurveyObjectEditorOptions extends ISurveyCreatorOptions {
showApplyButtonInEditors: boolean;
useTabsInElementEditor: boolean;
onIsEditorReadOnlyCallback(obj: any, editor: SurveyPropertyEditorBase, readOnly: boolean): boolean;
onPropertyEditorObjectSetCallback(propertyName: string, obj: any, editor: SurveyPropertyEditorBase): any;
onPropertyEditorKeyDownCallback(propertyName: string, obj: any, editor: SurveyPropertyEditorBase, event: any): any;
onPropertyEditorModalShowDescriptionCallback(propertyName: string, obj: any): any;
onConditionValueSurveyCreatedCallBack(valueQuestionName: string, propertyName: string, obj: any, editor: SurveyPropertyEditorBase, survey: any): any;
}
export interface ISurveyQuestionEditorDefinition {
title?: string;
properties?: any;
tabs?: any;
}
export interface IConditionEditorItemOwner {
allConditionQuestions: any;
getQuestionValueJSON(questionName: string, operator: string): any;
getQuestionByName(questionName: any): any;
onConditionItemChanged(): any;
isClassContains(qType: string, contains: any, notContains: any): boolean;
isWideMode: boolean;
options: ISurveyObjectEditorOptions;
readOnly(): boolean;
}
export interface ISurveyLogicType {
name: string;
baseClass: string;
incorrectClasses?: any;
propertyName: string;
templateName?: string;
showInUI?: boolean;
showIf?: (survey: any) => boolean;
createNewElement?: (survey: any) => any;
saveElement?: (survey: any, action: SurveyLogicAction) => void;
createTemplateObject?: (element: any) => any;
isUniqueItem?: boolean;
questionNames?: any;
getDisplayText?: (element: any, formatStr: string, lt: SurveyLogicType) => string;
getDisplayTextName?: (element: any) => string;
}
export interface ISurveyLogicItemOwner {
readOnly: boolean;
editItem(item: SurveyLogicItem): any;
removeItem(item: SurveyLogicItem): any;
getExpressionAsDisplayText(expression: string): string;
}
export interface ICreatorOptions {
}
/*
* The Toolbox item description.
*/
export interface IQuestionToolboxItem extends IAction {
/*
* A unique name
*/
name: string;
/*
* Icon name
*/
iconName: string;
/*
* The JSON that used to create a new question/panel. The 'type' attribute is required.
*/
json: any;
/*
* Toolbox item title
*/
title: string;
/*
* Toolbox item tooltip. It equals to title if it is empty
*/
tooltip?: string;
/*
* True, if an end user added this item into Toolbox from the survey.
*/
isCopied: boolean;
/*
* Toolbox item category. If it is empty, it goes to 'General' category.
*/
category: string;
}
export interface ISurveyObjectMenuItem {
name: string;
text: any;
title?: string;
visible?: any;
onClick: (obj: any) => any;
icon?: any;
hasTitle?: boolean;
template?: string;
}
export interface ITranslationLocales {
koLocales: any;
showAllStrings: boolean;
koReadOnly: any;
getLocaleName(loc: string): string;
availableTranlationsChangedCallback: any;
tranlationChangedCallback: (locale: string, name: string, value: string, context: any) => void;
translateItemAfterRender(item: TranslationItem, el: any, locale: string): any;
canShowProperty(obj: any, prop: any, isEmpty: boolean): boolean;
}
export interface IMultipleValuesCategory {
koCategory: any;
koTitleVisible: any;
koItems: any;
}
export interface IAccordionItemData {
name: any;
title: any;
onExpand: any;
onCollapse: any;
doOnExpanded(): any;
htmlTemplate: string;
templateObject: any;
koAfterRender?: any;
}
export declare class AccordionItemModel {
constructor(data: IAccordionItemData);
data: IAccordionItemData;
collapsed: any;
toggle: any;
get title(): any;
}
export declare class AccordionViewModel {
constructor(params: any);
tabs: any;
showHeader: any;
}
export declare class Action {
constructor(_propertyName: string, _oldValue: any, _newValue: any, _sender: any);
apply(): void;
rollback(): void;
get changes(): IUndoRedoChange;
}
export declare class ArrayAction {
constructor(_propertyName: string, _sender: any, arrayChanges: any);
_index: number;
_itemsToAdd: any;
_deletedItems: any;
apply(): void;
rollback(): void;
get changes(): IUndoRedoChange;
}
export declare class ButtonViewModel {
constructor(item: any);
item: any;
get disabled(): boolean;
get hint(): any;
get showTitle(): boolean;
action(model: ButtonViewModel): void;
}
export declare class Commands {
constructor(creator: any);
commands: any;
getCommands(): any;
}
export declare class ConditionEditorItem {
constructor(owner: IConditionEditorItemOwner);
survey: any;
get conjunction(): string;
set conjunction(val: string);
get questionName(): string;
set questionName(val: string);
get operator(): string;
set operator(val: string);
get value(): any;
set value(val: any);
get isFirst(): boolean;
set isFirst(val: boolean);
get isReady(): boolean;
get conjunctionQuestion(): any;
get nameQuestion(): any;
get operatorQuestion(): any;
get valueQuestion(): any;
toString(): string;
}
export declare class CreatorBaseEvent<T> {
}
/*
* Survey Creator is WYSIWYG editor.
*/
export declare class CreatorEvent {
}
export declare class DesignerContainerViewModel {
constructor(params: any, componentInfo: any);
static iconRightOpenName: string;
static iconRightCloseName: string;
static iconLeftOpenName: string;
static iconLeftCloseName: string;
_changedSubscription: any;
_prevWidth: any;
_prevSurfaceWidth: any;
_element: any;
toggle: any;
activeTab: any;
tabs: any;
context: any;
className: string;
visible: any;
isOpen: any;
getLocString(str: string): any;
size: any;
dispose(): void;
get iconRightOpen(): string;
get iconRightClose(): string;
get iconLeftOpen(): string;
get iconLeftClose(): string;
}
export declare class DesignerHContainerViewModel {
constructor(params: any, componentInfo: any);
items: any;
context: any;
className: string;
}
export declare class DragDropHelper {
constructor(data: ISurvey, onModifiedCallback: (options?: any) => any, parent: any, undoRedoManager: UndoRedoManager);
data: ISurvey;
static edgeHeight: number;
static nestedPanelDepth: number;
static dataStart: string;
static dragData: any;
static prevEvent: any;
onModifiedCallback: (options?: any) => any;
scrollableElement: any;
ddTarget: DragDropTargetElement;
prevCoordinates: any;
static counter: number;
id: number;
attachToElement(domElement: any, surveyElement: any): void;
get survey(): any;
startDragQuestion(event: any, element: any): void;
startDragToolboxItem(event: any, elementName: string, elementJson: any): void;
isSurveyDragging(event: any): boolean;
doDragDropOver(event: any, element: any, isEdge?: boolean): void;
doDragDropOverFlow(event: any, element: any): boolean;
end(): void;
get isMoving(): boolean;
doDrop(event: any, prevedDefault?: boolean): void;
doLeavePage(event: any): void;
isScrollStop: boolean;
static ScrollDelay: number;
static ScrollOffset: number;
readOnly: boolean;
}
export declare class DragDropTargetElement {
constructor(page: any, target: any, source: any, nestedPanelDepth: number, undoRedoManager: UndoRedoManager);
page: any;
target: any;
source: any;
moveTo(destination: any, isBottom: boolean, isEdge?: boolean): boolean;
doDrop(): any;
clear(): void;
}
export declare class DropdownViewModel {
constructor(items: any, action: any, optionsValue: string, optionsText: string, afterRender: any, valueAllowUnset: any, optionsCaption: any, ariaLabel: any, title: any, disable: any, hasFocus: any, select3: any);
items: any;
action: any;
optionsValue: string;
optionsText: string;
afterRender: any;
valueAllowUnset: any;
optionsCaption: any;
ariaLabel: any;
title: any;
disable: any;
hasFocus: any;
select3: any;
}
export declare class EditableObject {
constructor(obj: any);
static isCopyObject(obj: any): boolean;
static getSurvey(object: any): any;
static getOriginalObject(object: any): any;
static getOriginalSurvey(survey: any): any;
objValue: any;
editableObjValue: any;
get obj(): any;
get editableObj(): any;
isPropertyChanged(propertyName: string): boolean;
apply(propertyName: string): void;
reset(): void;
applyAll(excludedProps?: any): void;
protected createEditableObj(): any;
}
export declare class ElementSelectorViewModel {
constructor(model: SurveyElementSelector, koValue: any, optionsCaption: string, koHasFocus: any, koElements: any);
model: SurveyElementSelector;
koValue: any;
optionsCaption: string;
koHasFocus: any;
koElements: any;
}
export declare class ExpressionRemoveVariable {
constructor();
wasRemoved: boolean;
remove(expression: string, variable: string): string;
}
export declare class ExpressionToDisplayText {
constructor(survey: any, options?: any);
survey: any;
currentQuestion: any;
showTitles: boolean;
toDisplayText(expression: string): string;
static operatorText: any;
}
export declare class Extentions {
static registerCustomPropertyEditor(name: string, widgetJSON: any): void;
static unregisterCustomPropertyEditor(name: string): void;
static registerPropertyEditor(name: string, creator: (property: any) => SurveyPropertyEditorBase): void;
}
export declare class ImageInplaceEditor {
constructor(input: any, allowDelete: boolean, editor: any);
allowDelete: boolean;
chooseImage(model: any, event: any): void;
deleteImage(model: any, event: any): void;
imageChosen: (files: any) => void;
getLocString(str: string): any;
valueChanged: (newVal: any) => void;
}
export declare class ImageItemInplaceEditor {
constructor(name: string, question: any, item: any, rootElement: any, editor: SurveyCreator, itemsRoot: any);
deleteItem(model: ImageItemInplaceEditor, event: any): void;
get isLastItem(): boolean;
chooseImage(model: any, event: any): void;
imageChosen: (files: any) => void;
getLocString(str: string): any;
valueChanged: (newVal: any) => void;
}
export declare class ObjectEditorContentViewModel {
constructor(useTabsInElementEditor: any, koTabs: any, koActiveTab: any, onTabClick: any);
useTabsInElementEditor: any;
koTabs: any;
koActiveTab: any;
onTabClick: any;
get activeTab(): any;
}
export declare class ObjectEditorOldTableContentViewModel {
constructor(koProperties: any, koTab: any, componentInfo: any);
koProperties: any;
koTab: any;
}
export declare class ObjectEditorTabViewModel {
constructor(name: string, editorProperties: any, koAfterRenderProperty: any, afterRender: any);
name: string;
editorProperties: any;
koAfterRenderProperty: any;
afterRender: any;
}
export declare class ObjectEditorViewModel {
constructor(koIsOldTableAppearance: any, koElementEditor: any, koHasObject: any);
koIsOldTableAppearance: any;
koElementEditor: any;
koHasObject: any;
}
export declare class PagesEditor {
constructor(creator: SurveyCreator);
creator: SurveyCreator;
prevPagesForSelector: any;
_selectedPage: any;
selectionSubscription: any;
_readOnly: any;
koSurvey: any;
isSelectingPage: boolean;
get pages(): any;
getDisplayText: (page: any) => string;
blockPagesRebuilt: any;
pagesForSelection: any;
addPageSelectorIntoToolbar(): void;
isAllowedForSelectedPage(what: string): boolean;
get canAddPage(): boolean;
addPage: any;
get canCopyPage(): boolean;
copyPage: (page: any) => void;
get canDeletePage(): boolean;
deletePage: any;
movePage: (page: any, indexFrom: number) => void;
get canEditPage(): boolean;
showPageSettings(page: any): void;
selectedPage: any;
showActions: (page: any) => boolean;
isLastPage(): boolean;
isActive(): boolean;
/*
* A boolean property, false by default. Set it to true to deny pages editing.
*/
get readOnly(): any;
set readOnly(val: any);
hasDropdownSelector: any;
dispose(): void;
}
export declare class PagesEditorViewModel {
constructor(model: PagesEditor, element: any);
model: PagesEditor;
pageSelectionChanged: any;
updateScroller: any;
isNeedAutoScroll: boolean;
moveLeft(model: any, event: any): void;
moveRight(model: any, event: any): void;
scrollToSelectedPage: any;
onWheel(model: any, event: any): void;
updateMenuPosition(): void;
getLocString(str: string): any;
getPageClass: (page: any) => string;
getPageMenuIconClass: (page: any) => string;
onPageClick: (pageModel: any, event: any) => void;
movingPage: any;
movedFrom: number;
get sortableOptions(): any;
hasScroller: any;
dispose(): void;
}
export declare class PropertyEditorBindingsViewModel {
constructor(items: any, afterRender: any);
items: any;
afterRender: any;
}
export declare class PropertyEditorBooleanViewModel {
constructor(koValue: any, readOnly: boolean, isDisplayNameVisible: boolean, displayName: string, afterRender: any);
koValue: any;
readOnly: boolean;
isDisplayNameVisible: boolean;
displayName: string;
afterRender: any;
}
export declare class PropertyEditorCellsViewModel {
constructor(koCanEdit: any, getLocString: (name: string) => any, koColumns: any, koRows: any, afterRender: any);
koCanEdit: any;
getLocString: (name: string) => any;
koColumns: any;
koRows: any;
afterRender: any;
}
export declare class PropertyEditorColorViewModel {
constructor(koValue: any, readOnly: boolean, koMaxValue: any, koMinValue: any, afterRender: any);
koValue: any;
readOnly: boolean;
koMaxValue: any;
koMinValue: any;
afterRender: any;
}
export declare class PropertyEditorConditionViewModel {
constructor(koShowExpressionHeader: any, onShowHideEditor: any, koConditionDisplayText: any, koIsEditorShowing: any, koIsEditorHidingDisabled: any, koShowTabs: any, koCanParseExpression: any, koActiveView: any, onChangeViewClick: any, getLocString: any, koSetupText: any, koIsWideMode: any, koEditorItems: any, readOnly: any, koCanAddItem: any, onRemoveConditionClick: any, removeConditionText: any, addCondition: any, addConditionText: string, hasAceEditor: boolean, koTextValue: any, availableQuestions: any, editingObject: any, model: SurveyPropertyConditionEditor, afterRender: any);
koShowExpressionHeader: any;
onShowHideEditor: any;
koConditionDisplayText: any;
koIsEditorShowing: any;
koIsEditorHidingDisabled: any;
koShowTabs: any;
koCanParseExpression: any;
koActiveView: any;
onChangeViewClick: any;
getLocString: any;
koSetupText: any;
koIsWideMode: any;
koEditorItems: any;
readOnly: any;
koCanAddItem: any;
onRemoveConditionClick: any;
removeConditionText: any;
addCondition: any;
addConditionText: string;
hasAceEditor: boolean;
koTextValue: any;
availableQuestions: any;
editingObject: any;
model: SurveyPropertyConditionEditor;
afterRender: any;
}
export declare class PropertyEditorCustomViewModel {
constructor(model: SurveyPropertyCustomEditor, afterRender: any);
model: SurveyPropertyCustomEditor;
}
export declare class PropertyEditorDropdownViewModel {
constructor(koValue: any, readOnly: boolean, optionsCaption: string, koChoices: any, koHasFocus: any, displayName: string, afterRender: any);
koValue: any;
readOnly: boolean;
optionsCaption: string;
koChoices: any;
koHasFocus: any;
displayName: string;
afterRender: any;
}
export declare class PropertyEditorErrorViewModel {
constructor(koDisplayError: any, getLocString: any, koErrorText: any);
koDisplayError: any;
getLocString: any;
koErrorText: any;
}
export declare class PropertyEditorExpressionViewModel {
constructor(hasAceEditor: boolean, getLocString: (name: string) => any, koValue: any, availableQuestions: any, editingObject: any, model: SurveyPropertyConditionEditor, koTextValue: any, showHelpText: any, afterRender: any);
hasAceEditor: boolean;
getLocString: (name: string) => any;
koValue: any;
availableQuestions: any;
editingObject: any;
model: SurveyPropertyConditionEditor;
koTextValue: any;
showHelpText: any;
afterRender: any;
}
export declare class PropertyEditorFileViewModel {
constructor(rootElement: any, editor: any, koValue: any, readOnly: boolean, isDisplayNameVisible: boolean, displayName: string, afterRender: any);
koValue: any;
readOnly: boolean;
isDisplayNameVisible: boolean;
displayName: string;
afterRender: any;
get fileContent(): any;
getLocString(str: string): any;
chooseFile: (model: PropertyEditorFileViewModel, event: any) => void;
deleteFile: (model: PropertyEditorFileViewModel, event: any) => void;
}
export declare class PropertyEditorHTMLViewModel {
constructor(koValue: any, readOnly: boolean, afterRender: any);
koValue: any;
readOnly: boolean;
afterRender: any;
}
export declare class PropertyEditorItemValuesViewModel {
constructor(koIsList: any, koShowTextView: any, koActiveView: any, changeToFormViewClick: any, changeToTextViewClick: any, getLocString: any, koItemsText: any, readOnly: any, model: SurveyPropertyItemValuesEditor, afterRender: any);
koIsList: any;
koShowTextView: any;
koActiveView: any;
changeToFormViewClick: any;
changeToTextViewClick: any;
getLocString: any;
koItemsText: any;
readOnly: any;
model: SurveyPropertyItemValuesEditor;
afterRender: any;
}
export declare class PropertyEditorModalContent {
constructor(koHtmlTop: any, koHtmlBottom: any, editorTypeTemplate: string, model: SurveyPropertyModalEditor, afterRender: any);
koHtmlTop: any;
koHtmlBottom: any;
editorTypeTemplate: string;
model: SurveyPropertyModalEditor;
afterRender: any;
}
export declare class PropertyEditorModalViewModel {
constructor(isEditable: boolean, onShowModal: any, modalNameTarget: string, koText: any, getLocString: any, koValue: any, readOnly: any, modalName: string, koIsShowingModal: any, onResetClick: any, koTitleCaption: any, koShowApplyButton: any, onApplyClick: any, onOkClick: any, model: SurveyPropertyModalEditor, afterRender: any);
isEditable: boolean;
onShowModal: any;
modalNameTarget: string;
koText: any;
getLocString: any;
koValue: any;
readOnly: any;
modalName: string;
koIsShowingModal: any;
onResetClick: any;
koTitleCaption: any;
koShowApplyButton: any;
onApplyClick: any;
onOkClick: any;
model: SurveyPropertyModalEditor;
afterRender: any;
}
export declare class PropertyEditorMultipleValuesViewModel {
constructor(koCategories: any, componentInfo: any, koAfterRender: any, afterRender: any);
koCategories: any;
componentInfo: any;
koAfterRender: any;
afterRender: any;
}
export declare class PropertyEditorNestedItemViewModel {
constructor(editor: any, model: SurveyNestedPropertyEditorItem, koCanDeleteItem: any, dragIcon: string, deleteIcon: string, obj: any, koHasDetails: any, rootElement: any);
editor: any;
model: SurveyNestedPropertyEditorItem;
koCanDeleteItem: any;
dragIcon: string;
deleteIcon: string;
obj: any;
koHasDetails: any;
get cells(): any;
onEditItemClick(): void;
}
export declare class PropertyEditorNestedItemsViewModel {
constructor(koIsList: any, getLocString: any, koShowHeader: any, columns: any, sortableOptions: any, model: SurveyNestedPropertyEditor, koAllowAddRemoveItems: any, readOnly: any, onAddClick: any, onClearClick: any, koAllowRemoveAllItems: any, koCanAddItem: any, addItemText: any, afterRender: any);
koIsList: any;
getLocString: any;
koShowHeader: any;
columns: any;
sortableOptions: any;
model: SurveyNestedPropertyEditor;
koAllowAddRemoveItems: any;
readOnly: any;
onAddClick: any;
onClearClick: any;
koAllowRemoveAllItems: any;
koCanAddItem: any;
addItemText: any;
afterRender: any;
get originalValue(): any;
}
export declare class PropertyEditorNestedViewModel {
constructor(_onReturnToListClick: any, koEditorName: any, koEditItem: any, model: SurveyNestedPropertyEditor, afterRender: any);
_onReturnToListClick: any;
koEditorName: any;
koEditItem: any;
model: SurveyNestedPropertyEditor;
afterRender: any;
onReturnToListClick(): void;
}
export declare class PropertyEditorNumberViewModel {
constructor(koValue: any, readOnly: boolean, koMaxValue: any, koMinValue: any, afterRender: any);
koValue: any;
readOnly: boolean;
koMaxValue: any;
koMinValue: any;
afterRender: any;
}
export declare class PropertyEditorOneSelectedViewModel {
constructor(koAvailableClasses: any, koAllowAddRemoveItems: any, readOnly: any, onAddClick: any, koSelected: any, getLocString: any, getItemText: (item: any, counter?: any) => any, koChangeCounter: any, model: SurveyPropertyOneSelectedEditor, onDeleteClick: any, componentInfo: any, afterRender: any);
koAvailableClasses: any;
koAllowAddRemoveItems: any;
readOnly: any;
onAddClick: any;
koSelected: any;
getLocString: any;
getItemText: (item: any, counter?: any) => any;
koChangeCounter: any;
model: SurveyPropertyOneSelectedEditor;
onDeleteClick: any;
componentInfo: any;
afterRender: any;
availableClassesContainer: any;
get originalValue(): any;
get selectedObjectEditor(): any;
setupAvailableClassesContainer: (rootElement: any) => void;
toggleClassesContainer(): void;
}
export declare class PropertyEditorRestfullViewModel {
constructor(koContentEditor: any, getLocString: any, question: any, componentInfo: any, koAfterRender: any, afterRender: any);
koContentEditor: any;
getLocString: any;
question: any;
componentInfo: any;
koAfterRender: any;
afterRender: any;
}
export declare class PropertyEditorStringViewModel {
constructor(koValue: any, readOnly: boolean, koInputType: any, defaultValue: any, koMaxLength: any, displayName: string, listName: string, dataList: any, koDisplayError: any, getLocString: any, koErrorText: any, onKeydown: any, afterRender: any);
koValue: any;
readOnly: boolean;
koInputType: any;
defaultValue: any;
koMaxLength: any;
displayName: string;
listName: string;
dataList: any;
koDisplayError: any;
getLocString: any;
koErrorText: any;
onKeydown: any;
afterRender: any;
}
export declare class PropertyEditorStringsViewModel {
constructor(koTextValue: any, readOnly: boolean, displayName: string, koDisplayError: any, koErrorText: any, onKeydown: any, afterRender: any);
koTextValue: any;
readOnly: boolean;
displayName: string;
koDisplayError: any;
koErrorText: any;
onKeydown: any;
afterRender: any;
}
export declare class PropertyEditorSwitchViewModel {
constructor(koValue: any, readOnly: boolean, displayName: string, afterRender: any);
koValue: any;
readOnly: boolean;
displayName: string;
afterRender: any;
}
export declare class PropertyEditorTextViewModel {
constructor(koValue: any, readOnly: boolean, isDisplayNameVisible: boolean, koMaxLength: any, displayName: string, onBlur: any, onFocus: any, onKeydown: any, afterRender: any);
koValue: any;
readOnly: boolean;
isDisplayNameVisible: boolean;
koMaxLength: any;
displayName: string;
onBlur: any;
onFocus: any;
onKeydown: any;
afterRender: any;
}
export declare class PropertyEditorValueViewModel {
constructor(koSurvey: any, resetValue: (model: SurveyPropertyDefaultValueEditor) => void, resetText: any, refreshSurvey: (model: SurveyPropertyDefaultValueEditor) => void, refreshText: any, model: SurveyPropertyDefaultValueEditor, componentInfo: any, koAfterRender: any, afterRender: any);
koSurvey: any;
resetValue: (model: SurveyPropertyDefaultValueEditor) => void;
resetText: any;
refreshSurvey: (model: SurveyPropertyDefaultValueEditor) => void;
refreshText: any;
model: SurveyPropertyDefaultValueEditor;
componentInfo: any;
koAfterRender: any;
afterRender: any;
}
export declare class PropertyEditorViewModel {
constructor(showDisplayNameOnTop: boolean, displayName: string, contentTemplateName: string, helpText: string, model: SurveyPropertyEditorBase, afterRender: any);
showDisplayNameOnTop: boolean;
displayName: string;
contentTemplateName: string;
helpText: string;
model: SurveyPropertyEditorBase;
afterRender: any;
showHelpText: any;
toggleShowHelpText: any;
}
export declare class PropertyGridObjectEditorModel {
constructor(propertyEditorOptions?: ISurveyObjectEditorOptions);
propertyEditorOptions: ISurveyObjectEditorOptions;
selectedObjectValue: any;
koElementEditor: any;
koHasObject: any;
onAfterRenderCallback: (object: any, htmlElement: any, property: SurveyObjectProperty) => any;
onSortPropertyCallback: (object: any, property1: any, property2: any) => number;
onPropertyChanged: (obj: any, prop: any, oldValue: any) => void;
onCorrectValueBeforeSet: (obj: any, prop: any, newValue: any) => any;
koIsOldTableAppearance: any;
objectChanged(): void;
get selectedObject(): any;
set selectedObject(val: any);
getPropertyEditorByName(propertyName: string): SurveyObjectProperty;
focusEditor(): void;
hasErrors(): boolean;
protected createSurveyElementEditor(value: any): SurveyElementEditorContentModel;
}
export declare class PropertyGridViewModel {
constructor(koObjects: any, koSelectedObject: any, propertyGridObjectEditorModel: PropertyGridObjectEditorModel);
koObjects: any;
koSelectedObject: any;
propertyGridObjectEditorModel: PropertyGridObjectEditorModel;
getLocString(str: string): any;
}
export declare class QuestionActionsAdorner {
constructor(question: any, editor: any);
question: any;
actions: any;
getStyle(model: ISurveyObjectMenuItem): any;
localize(entryString: any): any;
}
export declare class QuestionConverter {
static convertInfo: any;
static addConvertInfo(className: string, convertToClassName: string): void;
static getConvertToClasses(className: string, availableTypes?: any): Array<any>;
static convertObject(obj: any, convertToClass: string): any;
}
/*
* The list of Toolbox items.
*/
export declare class QuestionToolbox {
constructor(supportedQuestions?: any, creator?: any);
creator: any;
_orderedQuestions: any;
_questionDefaultSettings: any;
/*
* Modify this array to change the toolbox items order.
*/
get orderedQuestions(): any;
set orderedQuestions(val: any);
/*
* The maximum number of copied toolbox items. If an user adding copiedItemMaxCount + 1 item, the first added item will be removed.
*/
copiedItemMaxCount: number;
allowExpandMultipleCategoriesValue: boolean;
keepAllCategoriesExpandedValue: boolean;
itemsValue: any;
koItems: any;
koCategories: any;
koActiveCategory: any;
koHasCategories: any;
koCanCollapseCategories: any;
/*
* The Array of Toolbox items as Text JSON.
*/
get jsonText(): string;
set jsonText(val: string);
/*
* The Array of copied Toolbox items as Text JSON.
*/
get copiedJsonText(): string;
set copiedJsonText(val: string);
/*
* The Array of Toolbox items.
*/
get items(): any;
get itemNames(): any;
/*
* The Array of copied Toolbox items
*/
get copiedItems(): any;
/*
* Add toolbox items into the Toolbox
*/
addItems(items: any, clearAll?: boolean): void;
/*
* Add a copied Question into Toolbox
*/
addCopiedItem(question: any, options?: any): void;
/*
* Add a toolbox item
*/
addItem(item: IQuestionToolboxItem, index?: number): void;
/*
* Add a new toolbox item, add delete the old item with the same name
*/
replaceItem(item: IQuestionToolboxItem): boolean;
/*
* Remove a toolbox item by its name
*/
removeItem(name: string): boolean;
/*
* Remove all toolbox items.
*/
clearItems(): void;
/*
* Remove all copied toolbox items.
*/
clearCopiedItems(): void;
/*
* Returns toolbox item by its name. Returns null if there is no toolbox item with this name
*/
getItemByName(name: string): IQuestionToolboxItem;
/*
* Set it to true, to allow end-user to expand more than one category. There will no active category in this case
*/
get allowExpandMultipleCategories(): boolean;
set allowExpandMultipleCategories(val: boolean);
/*
* Set it to true to expand all categories and hide expand/collapse category buttons
*/
get keepAllCategoriesExpanded(): boolean;
set keepAllCategoriesExpanded(val: boolean);
/*
* Change the category of the toolbox item
*/
changeCategory(name: string, category: string): void;
/*
* Change categories for several toolbox items.
*/
changeCategories(changedItems: any): void;
/*
* Set and get and active category. This property doesn't work if allowExpandMultipleCategories is true. Its default value is empty.
*/
get activeCategory(): string;
set activeCategory(val: string);
/*
* Expand a category by its name. If allowExpandMultipleCategories is false (default value), all other categories become collapsed
*/
expandCategory(categoryName: string): void;
/*
* Collapse a category by its name. If allowExpandMultipleCategories is false (default value) this function does nothing
*/
collapseCategory(categoryName: string): void;
/*
* Expand all categories. If allowExpandMultipleCategories is false (default value) this function does nothing
*/
expandAllCategories(): void;
/*
* Collapse all categories. If allowExpandMultipleCategories is false (default value) this function does nothing
*/
collapseAllCategories(): void;
protected onItemsChanged(): void;
dispose(): void;
}
export declare class SplitterComponentViewModel {
constructor(params: any, componentInfo: any);
updateSplitter: any;
dispose(): void;
}
export declare class StylesManager {
static ThemeVariablesMap: any;
static ThemeColors: any;
static currentTheme: any;
static applyTheme(themeName?: string): void;
}
export declare class SurveyCreatorProperties {
static instanceValue: SurveyCreatorProperties;
static get instance(): SurveyCreatorProperties;
hideCategory(categoryName: string): void;
hideProperty(propertyName: string, objType?: string): void;
showProperty(propertyName: string, objType?: string, options?: any): void;
moveProperty(propertyName: string, objType: string, options: any): void;
}
export declare class SurveyElementEditorContentModel {
constructor(obj: any, className?: string, options?: ISurveyObjectEditorOptions, useAsPropertyGrid?: boolean, _readOnly?: boolean);
className: string;
options: ISurveyObjectEditorOptions;
onCorrectValueBeforeSet: (prop: any, newValue: any) => any;
onPropertyChanged: (prop: any, oldValue: any) => void;
onAfterRenderCallback: (object: any, htmlElement: any, property: SurveyObjectProperty) => any;
koTabs: any;
koActiveTab: any;
protected properties: SurveyQuestionProperties;
originalObjValue: any;
get readOnly(): boolean;
getLocString(name: string): any;
setParentList(parentList: any): void;
protected setOriginalObjValue(obj: any): void;
protected get originalObj(): any;
get obj(): any;
get editableObj(): any;
hasError(): boolean;
getPropertyEditorByName(propertyName: string): SurveyObjectProperty;
getTabByName(tabName: string): SurveyElementEditorTabModel;
focusEditor(): void;
protected assignPropertiesToEditor(propEditor: SurveyObjectProperty): void;
protected addPropertiesTabs(tabs: any): void;
protected createNewTab(tabItem: SurveyQuestionEditorTabDefinition, properties: any): SurveyElementEditorTabModel;
get useTabsInElementEditor(): boolean;
}
export declare class SurveyElementEditorTabModel {
constructor(obj: any, properties: any, _name: any, options: ISurveyObjectEditorOptions, _readOnly?: boolean);
obj: any;
options: ISurveyObjectEditorOptions;
editorPropertiesValue: any;
titleValue: string;
htmlElements: any;
onExpand: any;
onCollapse: any;
onAfterRenderCallback: (htmlElement: any, property: SurveyObjectProperty) => any;
koAfterRenderProperty: any;
koAfterRender: any;
expand(doSetup?: boolean): void;
collapse(): void;
doOnExpanded(doSetup?: boolean): void;
focusEditor(): void;
get name(): string;
get title(): string;
set title(val: string);
get editorProperties(): any;
get htmlTemplate(): string;
get templateObject(): any;
hasError(): boolean;
beforeShow(): void;
reset(): void;
applyToObj(obj: any): void;
getPropertyEditorByName(propertyName: string): SurveyObjectProperty;
protected getValue(property: any): any;
}
export declare class SurveyElementSelector {
constructor(survey: any, elementType?: string, showTitle?: boolean, optionsCaptionName?: string);
survey: any;
showTitle: boolean;
optionsCaptionValue: string;
disableCallback: boolean;
selectedValues: any;
koElements: any;
koValue: any;
koHasFocus: any;
koErrorText: any;
koDisplayError: any;
onValueChangedCallback: (val: string) => void;
disabledPropertyName: string;
koAfterRender: any;
get value(): string;
set value(val: string);
get element(): any;
set element(val: any);
get optionsCaption(): string;
updateItems(): void;
hasError(): boolean;
getLocString(name: string): any;
}
export declare class SurveyEmbedingWindow {
constructor();
jsonValue: any;
surveyEmbedingHead: any;
surveyEmbedingJava: any;
surveyEmbedingBody: any;
koHeadText: any;
koBodyText: any;
koJavaText: any;
surveyId: string;
surveyPostId: string;
generateValidJSON: boolean;
surveyJSVersion: string;
surveyCDNPath: string;
koShowAsWindow: any;
koThemeName: any;
koHasIds: any;
koLoadSurvey: any;
koLibraryVersion: any;
koVisibleHtml: any;
platformCompleteCode: any;
platformJSonPage: any;
platformJSonWindow: any;
platformHtmlonPage: any;
platformHtmlonWindow: any;
getLocString(name: string): any;
get json(): any;
set json(val: any);
get hasAceEditor(): boolean;
show(): void;
dispose(): void;
}
export declare class SurveyEvent {
}
export declare class SurveyForDesigner {
constructor(jsonObj?: any, renderedElement?: any, css?: any);
selectedElementValue: any;
editQuestionClick: any;
onSelectedElementChanged: SurveyEvent;
onEditButtonClick: SurveyEvent;
onGetMenuItems: SurveyEvent;
onElementDoubleClick: SurveyEvent;
onUpdateElementAllowingOptions: (options: any) => any;
getEditor: any;
emptyPageTemplate: string;
emptyPageTemplateData: any;
dragDropHelper: any;
updateElementAllowingOptions(obj: any): void;
getMenuItems(obj: any): Array<ISurveyObjectMenuItem>;
get selectedElement(): any;
set selectedElement(val: any);
doElementDoubleClick(obj: any): void;
getEditorLocString(value: string): string;
get _isLogoBefore(): boolean;
get _isLogoAfter(): boolean;
static isTitleLogoEditable: any;
get hasLogo(): boolean;
get isLogoBefore(): boolean;
get isLogoAfter(): boolean;
isLogoImageChoosen(): any;
koShowHeader: any;
isReadOnly: any;
}
export declare class SurveyForTextWorker {
constructor(jsonObj: any);
get isDesignMode(): boolean;
}
export declare class SurveyHelper {
static getNewPageName(objs: any): string;
static getNewQuestionName(objs: any): string;
static getNewPanelName(objs: any): string;
static generateNewName(name: string): string;
static getNewName(objs: any, baseName: string): string;
static getObjectType(obj: any): ObjType;
static getObjectTypeStr(obj: any): string;
static getObjectName(obj: any, showObjectTitle?: boolean): string;
static getElements(element: any, includeHidden?: boolean): Array<any>;
static isPropertyVisible(obj: any, property: any, options?: ISurveyCreatorOptions, showMode?: string, parentObj?: any, parentProperty?: any): boolean;
static isCanModifyProperty(obj: any, propertyName: string, options?: ISurveyCreatorOptions): boolean;
static scrollIntoViewIfNeeded(el: any): void;
static getScrollableDiv(el: any): any;
static moveItemInArray(list: any, obj: any, newIndex: number): boolean;
static applyItemValueArray(dest: any, src: any): void;
static disableSelectingObj(obj: any): void;
static enableSelectingObj(obj: any): void;
static canSelectObj(obj: any): boolean;
static updateQuestionJson(questionJson: any): void;
static convertMatrixRowsToText(rows: any): string;
static convertItemValuesToText(items: any): string;
static convertTextToItemValues(text: string, properties: any, className: string): Array<ItemValue>;
}
export declare class SurveyJSON5 {
constructor(parseType?: number);
static positionName: string;
static escapee: any;
static ws: any;
endAt: number;
at: number;
ch: any;
text: string;
parseType: number;
parse(source: any, reviver?: any, startFrom?: number, endAt?: number): any;
replacer: any;
indentStr: string;
objStack: any;
stringify(obj: any, replacer?: any, space?: any): any;
static cx: any;
static escapable: any;
static meta: any;
}
export declare class SurveyJSONEditor {
constructor();
static updateTextTimeout: number;
static showToolbar: boolean;
static aceBasePath: string;
isProcessingImmediately: boolean;
aceEditor: any;
textWorker: SurveyTextWorker;
aceCanUndo: any;
aceCanRedo: any;
isJSONChanged: boolean;
isInitialJSON: boolean;
koText: any;
koErrors: any;
/*
* The list of toolbar items. You may add/remove/replace them.
*/
toolbarItems: any;
protected addToolbarItems(): void;
init(editorElement: any): void;
get hasAceEditor(): boolean;
get text(): string;
set text(val: string);
show(value: string): void;
get isJsonCorrect(): boolean;
get survey(): any;
timeoutId: number;
_readOnly: any;
/*
* A boolean property, false by default. Set it to true to deny editing.
*/
get readOnly(): any;
set readOnly(val: any);
dispose(): void;
}
export declare class SurveyLiveTester {
constructor(surveyProvider: any);
json: any;
updatingLanguages: boolean;
koIsRunning: any;
selectTestClick: any;
selectPageClick: any;
survey: any;
koSurvey: any;
koPages: any;
koActivePage: any;
setPageDisable: any;
koLanguages: any;
koActiveLanguage: any;
koShowInvisibleElements: any;
onGetObjectDisplayName: (obj: any) => string;
koShowPagesInTestSurveyTab: any;
showSimulator: any;
koShowDefaultLanguageInTestSurveyTab: any;
koShowInvisibleElementsInTestSurveyTab: any;
/*
* The list of toolbar items. You may add/remove/replace them.
*/
toolbarItems: any;
onSurveyCreatedCallback: (survey: any) => any;
setJSON(json: any): void;
show(options?: any): void;
getLocString(name: string): any;
get testSurveyAgainText(): any;
get localeText(): any;
koEventAfterRender(element: any, survey: any): void;
dispose(): void;
}
export declare class SurveyLogicAction {
constructor(logicType: SurveyLogicType, element: any, survey: any);
koElement: any;
koLogicType: any;
koDisplayError: any;
koErrorText: any;
koTemplateObject: any;
koTemplate: any;
koLogicTypes: any;
onLogicTypeChanged: any;
itemSelectorValue: SurveyElementSelector;
koAfterRender: any;
get logicType(): SurveyLogicType;
set logicType(val: SurveyLogicType);
get template(): string;
get templateObject(): any;
get koTemplateAfterRender(): any;
get element(): any;
set element(val: any);
get itemSelector(): SurveyElementSelector;
apply(expression: string, isRenaming?: boolean): void;
renameQuestion(oldName: string, newName: string): void;
equals(action: SurveyLogicAction): boolean;
get name(): string;
get logicTypeName(): string;
get text(): string;
get deleteActionText(): string;
hasError(): boolean;
get errorText(): string;
set errorText(val: string);
getLocString(name: string): any;
}
export declare class SurveyLogicEvent {
}
export declare class SurveyLogicItem {
constructor(owner: ISurveyLogicItemOwner, expression?: string);
expression: string;
koActions: any;
static counter: number;
id: number;
removedActions: any;
get name(): string;
get title(): string;
edit(): void;
remove(): void;
get isReadOnly(): boolean;
get actions(): any;
addNewAction(action: SurveyLogicAction): void;
removeAction(action: SurveyLogicAction): void;
apply(expression: string): void;
renameQuestion(oldName: string, newName: string): void;
removeQuestion(name: string): void;
get expressionText(): string;
get editText(): string;
get deleteText(): string;
}
export declare class SurveyLogicType {
constructor(logicType: ISurveyLogicType, survey: any, options?: ISurveyObjectEditorOptions);
survey: any;
options: ISurveyObjectEditorOptions;
static expressionToDisplayText(survey: any, options: ISurveyObjectEditorOptions, expression: string): string;
get name(): string;
get baseClass(): string;
hasNeededTypes(types: any): boolean;
get propertyName(): string;
get templateName(): string;
get visible(): boolean;
get showTitlesInExpression(): boolean;
get hasItemSelector(): boolean;
createItemSelector(): SurveyElementSelector;
get showInUI(): boolean;
createNewElement(survey: any): any;
saveElement(action: SurveyLogicAction): void;
createTemplateObject(element: any): any;
get isUniqueItem(): boolean;
get questionNames(): any;
get displayName(): string;
get description(): string;
getDisplayText(element: any): string;
formatElName(name: string): string;
formatExpression(expression: string): string;
}
export declare class SurveyNestedPropertyEditorColumn {
constructor(property: any);
property: any;
get text(): string;
}
export declare class SurveyNestedPropertyEditorEditorCell {
constructor(obj: any, property: any, options?: ISurveyObjectEditorOptions, listObj?: any, parentReadOnly?: boolean, parentObj?: any, parentProperty?: any);
obj: any;
property: any;
objectPropertyValue: SurveyObjectProperty;
options: ISurveyObjectEditorOptions;
get objectProperty(): SurveyObjectProperty;
get editor(): SurveyPropertyEditorBase;
get koValue(): any;
get value(): any;
set value(val: any);
get hasError(): boolean;
updateValue(): void;
}
export declare class SurveyNestedPropertyEditorItem {
constructor(obj: any, getColumns: any, options: ISurveyObjectEditorOptions, getItemClassName?: (item: any) => string, canDeleteItem?: boolean, parentList?: any, isReadOnly?: boolean, parentObj?: any, parentProperty?: any);
obj: any;
static dragIconName: string;
static deleteIconName: string;
get dragIcon(): string;
get deleteIcon(): string;
koHasDetails: any;
koCanDeleteItem: any;
protected options: ISurveyObjectEditorOptions;
koCellsValue: any;
itemEditorValue: SurveyElementEditorContentModel;
protected getClassName(): string;
get columns(): any;
protected hasDetailsProperties(): boolean;
hideItemEditor(): void;
get itemEditor(): SurveyElementEditorContentModel;
get cells(): any;
hasError(): boolean;
protected updateValues(): void;
protected createSurveyQuestionEditor(): SurveyElementEditorContentModel;
focus(): void;
}
export declare class SurveyObjectItem {
value: any;
text: any;
level: number;
}
export declare class SurveyObjectProperty {
constructor(property: any, propertyEditorOptions?: ISurveyObjectEditorOptions, isCellEditor?: boolean);
property: any;
objectValue: any;
onCorrectValueBeforeSet: (propEditor: SurveyObjectProperty, newValue: any) => boolean;
onChanged: (propEditor: SurveyObjectProperty, oldValue: any) => void;
name: string;
disabled: boolean;
editor: SurveyPropertyEditorBase;
editorType: string;
editorTypeTemplate: string;
baseEditorType: string;
getObjectPropertyByName: (name: string) => SurveyObjectProperty;
isHiddenValue: boolean;
koVisible: any;
get displayName(): string;
get title(): string;
get koValue(): any;
get koText(): any;
get koIsDefault(): any;
get object(): any;
set object(val: any);
beforeShow(): void;
hasError(): boolean;
applyToObj(obj: any): void;
get isInPropertyGrid(): boolean;
set isInPropertyGrid(val: boolean);
reset(): void;
updateDynamicProperties(): void;
get isHidden(): boolean;
set isHidden(val: boolean);
protected isVisible(): boolean;
protected onEditorValueChanged(newValue: any): void;
}
export declare class SurveyObjects {
constructor(koObjects: any, koSelected: any, getObjectDisplayName?: (obj: any, reason: string) => string);
koObjects: any;
koSelected: any;
static intend: string;
surveyValue: any;
getItemTextCallback: (obj: any, text: string) => string;
get survey(): any;
set survey(val: any);
hasObject(obj: any): boolean;
addPage(page: any): void;
addElement(element: any, parent: any): void;
selectObject(obj: any): void;
getSelectedObjectPage(obj?: any): any;
removeObject(obj: any): void;
nameChanged(obj: any): void;
selectNextQuestion(isUp: boolean): any;
}
export declare class SurveyPropertyBindingsItem {
constructor(property: any, displayName: string, obj: any);
property: any;
displayName: string;
elementSelectorValue: SurveyElementSelector;
get value(): string;
set value(val: string);
setElementSelector(survey: any, showTitle: boolean): void;
get elementSelector(): SurveyElementSelector;
}
export declare class SurveyPropertyEditorBase {
constructor(property: any);
objectValue: any;
parentListValue: any;
parentReadOnlyValue: boolean;
valueUpdatingCounter: number;
optionsValue: ISurveyObjectEditorOptions;
property_: any;
isRequiredValue: boolean;
titleValue: string;
showDisplayNameValue: boolean;
_displayNameValue: any;
showHelpText: boolean;
parentObj: any;
parentProperty: any;
koValue: any;
koText: any;
koIsDefault: any;
koHasError: any;
koErrorText: any;
koDisplayError: any;
isInplaceProperty: boolean;
readOnly: any;
koMaxLength: any;
koMaxValue: any;
koMinValue: any;
onChanged: (newValue: any) => any;
onGetLocale: any;
onValueUpdated: (newValue: any) => any;
setup(): void;
beforeShow(): void;
get editingValue(): any;
set editingValue(val: any);
get editorType(): string;
get editorTypeTemplate(): string;
get property(): any;
get defaultValue(): any;
get editablePropertyName(): string;
get title(): string;
isInPropertyGridValue: boolean;
get isInPropertyGrid(): boolean;
set isInPropertyGrid(val: boolean);
get isDisplayNameVisible(): boolean;
protected isShowingModal(): boolean;
get displayName(): string;
get showDisplayName(): boolean;
set showDisplayName(val: boolean);
get showDisplayNameOnTop(): boolean;
get canShowDisplayNameOnTop(): boolean;
protected getPropertyHelpLocName(): string;
get propertyHelpText(): string;
get contentTemplateName(): string;
protected get isModal(): boolean;
get originalObject(): any;
get object(): any;
set object(val: any);
get parentList(): any;
set parentList(val: any);
get parentReadOnly(): boolean;
set parentReadOnly(val: boolean);
get originalValue(): any;
protected getOriginalValue(): any;
protected setObjectCore(value: any): void;
getValueText(value: any): string;
hasError(): boolean;
getLocString(name: string): any;
hasLocString(name: string): boolean;
protected get isCurrentValueEmpty(): boolean;
protected checkForErrors(): boolean;
get isRequired(): boolean;
protected setIsRequired(): void;
protected setTitleAndDisplayName(): void;
protected getPropertyDisplayName(prop: any): string;
apply(): boolean;
protected performApply(): void;
get locale(): string;
getLocale(): string;
getMarkdownHtml(text: string): string;
getProcessedText(text: string): string;
getRenderer(name: string): string;
getRendererContext(locStr: any): any;
get options(): ISurveyObjectEditorOptions;
set options(val: ISurveyObjectEditorOptions);
protected onOptionsChanged(): void;
setObject(value: any): void;
protected createEditorOptions(): any;
protected onSetEditorOptions(editorOptions: any): void;
protected onValueChanged(): void;
protected getCorrectedValue(value: any): any;
protected beginValueUpdating(): void;
protected endValueUpdating(): void;
updateVal