survey-creator-react 1.9.2-beta.1 → 1.9.6-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +1 -1
- package/survey-creator-react.css +591 -301
- package/survey-creator-react.d.ts +4492 -407
- package/survey-creator-react.js +3251 -1532
- package/survey-creator-react.min.css +589 -299
- package/survey-creator-react.min.js +63 -51
|
@@ -1,481 +1,4566 @@
|
|
|
1
|
-
/*
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
License: https://surveyjs.io/Licenses#SurveyCreator
|
|
1
|
+
/*
|
|
2
|
+
* Type definition for Survey Creator library for React v1.9.6-beta.1
|
|
3
|
+
* Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
|
|
4
|
+
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
import { Base, JsonObjectProperty, Question, ItemValue, MatrixDropdownColumn } from "survey-core";
|
|
7
|
+
import { IAction, SurveyModel, Action, QuestionRowModel, PageModel } from "survey-core";
|
|
8
|
+
import { QuestionSelectBase, ImageItemValue, SurveyElement, AdaptiveActionContainer, ActionContainer } from "survey-core";
|
|
9
|
+
import { DragDropSurveyElements, DragDropChoices, Event, IElement, IPanel } from "survey-core";
|
|
10
|
+
import { ISurveyElement, LocalizableString, ListModel, PopupModel, EventBase } from "survey-core";
|
|
11
|
+
import { PanelModel, PanelModelBase, SurveyError, QuestionNonValue, SurveyTemplateRendererTemplateData } from "survey-core";
|
|
12
|
+
import { ComputedUpdater, ResponsivityManager, QuestionCheckboxModel, ILocalizableString, ArrayChanges } from "survey-core";
|
|
13
|
+
import { VerticalResponsivityManager, HashTable, QuestionMatrixDynamicModel, QuestionMatrixModel, QuestionMatrixDropdownModel } from "survey-core";
|
|
14
|
+
import { QuestionPanelDynamicModel, QuestionCommentModel, QuestionRatingModel, MatrixDynamicRowModel } from "survey-core";
|
|
15
|
+
import { SurveyElementBase, ReactSurveyModel, ISurveyCreator, SurveyQuestionElementBase } from "survey-react-ui";
|
|
16
|
+
import * as React from "react";
|
|
11
17
|
|
|
12
|
-
export
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
import { Model, SurveyElementBase } from "survey-react-ui";
|
|
16
|
-
import { ICreatorOptions, CreatorBase, ITabbedMenuItem } from "@survey/creator";
|
|
17
|
-
import { Base, SurveyModel } from "survey-core";
|
|
18
|
-
import { SurveyElementBase } from "survey-react-ui";
|
|
19
|
-
import { CreatorBase } from "@survey/creator";
|
|
20
|
-
import { RowViewModel } from "@survey/creator";
|
|
21
|
-
import { Base, QuestionRowModel } from "survey-core";
|
|
22
|
-
import { QuestionAdornerViewModel } from "@survey/creator";
|
|
23
|
-
import React from "react";
|
|
24
|
-
import { Base, Question } from "survey-core";
|
|
25
|
-
import { QuestionImageAdornerViewModel, QuestionAdornerViewModel } from "@survey/creator";
|
|
26
|
-
import { SurveyQuestionElementBase } from "survey-react-ui";
|
|
27
|
-
import { QuestionLinkValueModel } from "@survey/creator";
|
|
28
|
-
import { ISurveyCreator, SurveyQuestionElementBase } from "survey-react-ui";
|
|
29
|
-
import { QuestionEmbeddedSurveyModel } from "@survey/creator";
|
|
30
|
-
import { QuestionAdornerViewModel, QuestionRatingAdornerViewModel } from "@survey/creator";
|
|
31
|
-
import { Base } from "survey-core";
|
|
32
|
-
import { Question, SurveyError, SurveyModel } from "survey-core";
|
|
33
|
-
import { ISurveyCreator } from "survey-react-ui";
|
|
34
|
-
import { ItemValueWrapperViewModel } from "@survey/creator";
|
|
35
|
-
import { QuestionSelectBase, Base, ItemValue } from "survey-core";
|
|
36
|
-
import { ImageItemValueWrapperViewModel } from "@survey/creator";
|
|
37
|
-
import { QuestionSelectBase, Base, ImageItemValue } from "survey-core";
|
|
38
|
-
import { QuestionSelectBase, Base } from "survey-core";
|
|
39
|
-
import { MatrixCellWrapperViewModel } from "@survey/creator";
|
|
40
|
-
import { SurveyResultsModel } from "@survey/creator";
|
|
41
|
-
import { CreatorBase, TabDesignerViewModel } from "@survey/creator";
|
|
42
|
-
import { EmbedModel } from "@survey/creator";
|
|
43
|
-
import { AceJsonEditorModel } from "@survey/creator";
|
|
44
|
-
import { TextareaJsonEditorModel } from "@survey/creator";
|
|
45
|
-
import { CreatorBase, IQuestionToolboxItem } from "@survey/creator";
|
|
46
|
-
import { ToolboxToolViewModel } from "@survey/creator";
|
|
47
|
-
import { TabbedMenuContainer } from "@survey/creator";
|
|
48
|
-
import { Base, Action } from "survey-core";
|
|
49
|
-
import { CreatorBase, Notifier } from "@survey/creator";
|
|
50
|
-
import { SurveyModel } from "survey-core";
|
|
51
|
-
import { SideBarModel } from "@survey/creator";
|
|
52
|
-
import { IPortableDragEvent, IPortableMouseEvent } from "@survey/creator";
|
|
53
|
-
import { PropertyGridViewModel } from "@survey/creator";
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
import "@survey/creator/survey-creator-core.css";
|
|
57
|
-
|
|
58
|
-
interface ISurveyCreatorComponentProps {
|
|
59
|
-
creator: SurveyCreator;
|
|
18
|
+
export enum QuestionConvertMode {
|
|
19
|
+
AllTypes,
|
|
20
|
+
CompatibleTypes
|
|
60
21
|
}
|
|
61
|
-
export
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
renderActiveTab(): JSX.Element;
|
|
69
|
-
renderCreatorTab(tab: ITabbedMenuItem): JSX.Element;
|
|
70
|
-
renderSideBar(): JSX.Element;
|
|
71
|
-
}
|
|
72
|
-
export declare class DesignTimeSurveyModel extends Model {
|
|
73
|
-
creator: SurveyCreator;
|
|
74
|
-
constructor(creator: SurveyCreator, jsonObj?: any);
|
|
75
|
-
isPopupEditorContent: boolean;
|
|
76
|
-
getElementWrapperComponentName(element: any, reason?: string): string;
|
|
77
|
-
getElementWrapperComponentData(element: any, reason?: string): any;
|
|
78
|
-
getRowWrapperComponentName(row: QuestionRowModel): string;
|
|
79
|
-
getRowWrapperComponentData(row: QuestionRowModel): any;
|
|
80
|
-
getItemValueWrapperComponentName(item: ItemValue, question: QuestionSelectBase): string;
|
|
81
|
-
getItemValueWrapperComponentData(item: ItemValue, question: QuestionSelectBase): any;
|
|
82
|
-
getRendererForString(element: Base, name: string): string;
|
|
83
|
-
getRendererContextForString(element: Base, locStr: LocalizableString): any;
|
|
22
|
+
export enum ObjType {
|
|
23
|
+
Unknown,
|
|
24
|
+
Survey,
|
|
25
|
+
Page,
|
|
26
|
+
Panel,
|
|
27
|
+
Question,
|
|
28
|
+
Column
|
|
84
29
|
}
|
|
85
|
-
export
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
render(target: string | HTMLElement): void;
|
|
89
|
-
createQuestionElement(question: Question): JSX.Element;
|
|
90
|
-
renderError(key: string, error: SurveyError, cssClasses: any): JSX.Element;
|
|
91
|
-
questionTitleLocation(): string;
|
|
92
|
-
questionErrorLocation(): string;
|
|
93
|
-
}
|
|
94
|
-
export {};
|
|
95
|
-
|
|
96
|
-
interface ILogoImageComponentProps {
|
|
97
|
-
data: CreatorBase<SurveyModel>;
|
|
30
|
+
export interface ICollectionItemAllowOperations {
|
|
31
|
+
allowDelete: boolean;
|
|
32
|
+
allowEdit: boolean;
|
|
98
33
|
}
|
|
99
|
-
export
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
34
|
+
export interface ISurveyCreatorOptions {
|
|
35
|
+
alwaySaveTextInPropertyEditors: boolean;
|
|
36
|
+
readOnly: boolean;
|
|
37
|
+
maxLogicItemsInCondition: number;
|
|
38
|
+
showTitlesInExpressions: boolean;
|
|
39
|
+
showObjectTitles: boolean;
|
|
40
|
+
allowEditExpressionsInTextEditor: boolean;
|
|
41
|
+
maximumColumnsCount: number;
|
|
42
|
+
maximumChoicesCount: number;
|
|
43
|
+
maximumRowsCount: number;
|
|
44
|
+
maximumRateValues: number;
|
|
45
|
+
getObjectDisplayName(obj: Base, reason: string, displayName: string): string;
|
|
46
|
+
onCanShowPropertyCallback(object: any, property: JsonObjectProperty, showMode: string, parentObj: any, parentProperty: JsonObjectProperty): boolean;
|
|
47
|
+
onPropertyEditorCreatedCallback(object: any, property: JsonObjectProperty, editor: Question): any;
|
|
48
|
+
onPropertyEditorUpdateTitleActionsCallback(object: any, property: JsonObjectProperty, editor: Question, titleActions: any): any;
|
|
49
|
+
onIsPropertyReadOnlyCallback(obj: Base, property: JsonObjectProperty, readOnly: boolean, parentObj: Base, parentProperty: JsonObjectProperty): boolean;
|
|
50
|
+
onCanDeleteItemCallback(object: any, item: Base, allowDelete: boolean): boolean;
|
|
51
|
+
onCollectionItemDeletingCallback(obj: Base, property: JsonObjectProperty, collection: any, item: Base): boolean;
|
|
52
|
+
onCollectionItemAllowingCallback(obj: Base, property: JsonObjectProperty, collection: any, item: Base, options: ICollectionItemAllowOperations): void;
|
|
53
|
+
onItemValueAddedCallback(obj: Base, propertyName: string, itemValue: ItemValue, itemValues: any): any;
|
|
54
|
+
onMatrixDropdownColumnAddedCallback(matrix: Question, column: MatrixDropdownColumn, columns: any): any;
|
|
55
|
+
onSetPropertyEditorOptionsCallback(propertyName: string, obj: Base, editorOptions: any): any;
|
|
56
|
+
onGetErrorTextOnValidationCallback(propertyName: string, obj: Base, value: any): string;
|
|
57
|
+
onValueChangingCallback(options: any): any;
|
|
58
|
+
onGetElementEditorTitleCallback(obj: Base, title: string): string;
|
|
59
|
+
startUndoRedoTransaction(): any;
|
|
60
|
+
stopUndoRedoTransaction(): any;
|
|
61
|
+
createSurvey(json: any, reason: string, surveyType?: any): any;
|
|
62
|
+
onConditionQuestionsGetListCallback(propertyName: string, obj: Base, editor: any, list: any): any;
|
|
63
|
+
onConditionGetTitleCallback(expression: string, title: string): string;
|
|
104
64
|
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
65
|
+
/*
|
|
66
|
+
* The Toolbox item description.
|
|
67
|
+
*/
|
|
68
|
+
export interface IQuestionToolboxItem extends IAction {
|
|
69
|
+
/*
|
|
70
|
+
* A unique name
|
|
71
|
+
*/
|
|
72
|
+
name: string;
|
|
73
|
+
/*
|
|
74
|
+
* Icon name
|
|
75
|
+
*/
|
|
76
|
+
iconName: string;
|
|
77
|
+
/*
|
|
78
|
+
* The JSON that used to create a new question/panel. The 'type' attribute is required.
|
|
79
|
+
*/
|
|
80
|
+
json: any;
|
|
81
|
+
/*
|
|
82
|
+
* Toolbox item title
|
|
83
|
+
*/
|
|
84
|
+
title: string;
|
|
85
|
+
/*
|
|
86
|
+
* Toolbox item tooltip. It equals to title if it is empty
|
|
87
|
+
*/
|
|
88
|
+
tooltip?: string;
|
|
89
|
+
/*
|
|
90
|
+
* True, if an end user added this item into Toolbox from the survey.
|
|
91
|
+
*/
|
|
92
|
+
isCopied: boolean;
|
|
93
|
+
/*
|
|
94
|
+
* Toolbox item category. If it is empty, it goes to 'General' category.
|
|
95
|
+
*/
|
|
96
|
+
category: string;
|
|
111
97
|
}
|
|
112
|
-
export
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
98
|
+
export interface IQuestionToolbox {
|
|
99
|
+
toggleCategoryState(name: string): any;
|
|
100
|
+
}
|
|
101
|
+
export interface ICreatorSelectionOwner {
|
|
102
|
+
survey: SurveyModel;
|
|
103
|
+
selectElement(el: Base, propertyName?: string): any;
|
|
104
|
+
selectedElement: Base;
|
|
105
|
+
getObjectDisplayName(el: Base): string;
|
|
106
|
+
}
|
|
107
|
+
export interface ISelectionHistoryItem {
|
|
108
|
+
obj: Base;
|
|
109
|
+
propertyName?: string;
|
|
110
|
+
}
|
|
111
|
+
export interface ISurveyLogicType {
|
|
112
|
+
name: string;
|
|
113
|
+
baseClass: string;
|
|
114
|
+
propertyName: string;
|
|
115
|
+
dynamicPropertyName?: string;
|
|
116
|
+
dependedOnPropertyName?: string;
|
|
117
|
+
isInvisible?: boolean;
|
|
118
|
+
showInUI?: boolean;
|
|
119
|
+
showIf?: any;
|
|
120
|
+
getCollection?: any;
|
|
121
|
+
isUniqueItem?: boolean;
|
|
122
|
+
questionNames?: any;
|
|
123
|
+
getDisplayText?: any;
|
|
124
|
+
getElementName?: any;
|
|
125
|
+
getSelectorChoices?: any;
|
|
126
|
+
supportContext?: any;
|
|
127
|
+
getParentElement(element: Base): Base;
|
|
128
|
+
}
|
|
129
|
+
export interface ISurveyLogicItemOwner {
|
|
130
|
+
survey: SurveyModel;
|
|
131
|
+
readOnly: boolean;
|
|
132
|
+
editItem(item: SurveyLogicItem): any;
|
|
133
|
+
removeItem(item: SurveyLogicItem): any;
|
|
134
|
+
getExpressionAsDisplayText(expression: string): string;
|
|
135
|
+
getVisibleLogicTypes(): Array<SurveyLogicType>;
|
|
136
|
+
}
|
|
137
|
+
export interface ISurveyQuestionEditorDefinition {
|
|
138
|
+
title?: string;
|
|
139
|
+
properties?: any;
|
|
140
|
+
tabs?: any;
|
|
141
|
+
}
|
|
142
|
+
export interface IPropertyEditorSetup {
|
|
143
|
+
editSurvey: SurveyModel;
|
|
144
|
+
apply(): boolean;
|
|
145
|
+
}
|
|
146
|
+
export interface IPropertyGridEditor {
|
|
147
|
+
fit(prop: JsonObjectProperty, context?: string): boolean;
|
|
148
|
+
isDefault?: any;
|
|
149
|
+
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
150
|
+
showModalPropertyEditor(editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): any;
|
|
151
|
+
onCreated?: any;
|
|
152
|
+
onAfterRenderQuestion?: any;
|
|
153
|
+
createPropertyEditorSetup?: any;
|
|
154
|
+
isPropertyEditorSetupEnabled?: any;
|
|
155
|
+
canClearPropertyValue?: any;
|
|
156
|
+
clearPropertyValue?: any;
|
|
157
|
+
onMasterValueChanged?: any;
|
|
158
|
+
onAddIntoPropertyValue?: any;
|
|
159
|
+
onMatrixCellCreated?: any;
|
|
160
|
+
onMatrixCellValueChanged?: any;
|
|
161
|
+
onMatrixAllowRemoveRow?: any;
|
|
162
|
+
onGetQuestionTitleActions?: any;
|
|
163
|
+
onUpdateQuestionCssClasses?: any;
|
|
164
|
+
}
|
|
165
|
+
export interface ITranslationLocales {
|
|
166
|
+
locales: any;
|
|
167
|
+
showAllStrings: boolean;
|
|
168
|
+
readOnly: boolean;
|
|
169
|
+
getLocaleName(loc: string): string;
|
|
170
|
+
availableTranlationsChangedCallback: any;
|
|
171
|
+
tranlationChangedCallback: any;
|
|
172
|
+
translateItemAfterRender(item: TranslationItem, el: any, locale: string): any;
|
|
173
|
+
fireOnObjCreating(obj: Base): any;
|
|
174
|
+
removeLocale(loc: string): void;
|
|
175
|
+
canShowProperty(obj: Base, prop: JsonObjectProperty, isEmpty: boolean): boolean;
|
|
176
|
+
}
|
|
177
|
+
export interface ILogicItemUI {
|
|
178
|
+
expressionEditor: ConditionEditor;
|
|
179
|
+
itemEditor: LogicItemEditor;
|
|
180
|
+
}
|
|
181
|
+
export interface IUndoRedoChange {
|
|
182
|
+
object: any;
|
|
183
|
+
propertyName: string;
|
|
184
|
+
oldValue: any;
|
|
185
|
+
newValue: any;
|
|
186
|
+
}
|
|
187
|
+
export interface IUndoRedoAction {
|
|
188
|
+
apply: any;
|
|
189
|
+
rollback: any;
|
|
190
|
+
getChanges(): IUndoRedoChange;
|
|
191
|
+
tryMerge(sender: Base, propertyName: string, newValue: any): boolean;
|
|
192
|
+
}
|
|
193
|
+
export interface IKeyboardShortcut {
|
|
194
|
+
name?: string;
|
|
195
|
+
hotKey: any;
|
|
196
|
+
macOsHotkey?: any;
|
|
197
|
+
execute: any;
|
|
198
|
+
}
|
|
199
|
+
export interface ICreatorOptions {
|
|
200
|
+
}
|
|
201
|
+
export interface ICreatorPlugin {
|
|
202
|
+
activate: any;
|
|
203
|
+
update?: any;
|
|
204
|
+
deactivate?: any;
|
|
205
|
+
model: Base;
|
|
206
|
+
}
|
|
207
|
+
export interface ITabbedMenuItem extends IAction {
|
|
208
|
+
componentContent: string;
|
|
209
|
+
renderTab?: any;
|
|
210
|
+
}
|
|
211
|
+
export interface IPortableMouseEvent {
|
|
212
|
+
stopPropagation(): any;
|
|
213
|
+
preventDefault(): any;
|
|
214
|
+
cancelBubble: boolean;
|
|
215
|
+
target: EventTarget;
|
|
216
|
+
currentTarget: EventTarget;
|
|
217
|
+
clientX: number;
|
|
218
|
+
clientY: number;
|
|
219
|
+
offsetX: number;
|
|
220
|
+
offsetY: number;
|
|
221
|
+
}
|
|
222
|
+
export interface IPortableDragEvent extends IPortableMouseEvent {
|
|
223
|
+
dataTransfer: any;
|
|
224
|
+
}
|
|
225
|
+
export interface ITabbedMenuComponentProps {
|
|
226
|
+
model: any;
|
|
227
|
+
}
|
|
228
|
+
export interface ITabbedMenuItemComponentProps {
|
|
229
|
+
item: Action;
|
|
230
|
+
}
|
|
231
|
+
export interface NotifierComponentProps {
|
|
232
|
+
creator: any;
|
|
233
|
+
notifier: any;
|
|
234
|
+
}
|
|
235
|
+
export interface ISurveyCreatorComponentProps {
|
|
236
|
+
creator: SurveyCreator;
|
|
117
237
|
}
|
|
118
|
-
export {};
|
|
119
|
-
|
|
120
238
|
export interface QuestionAdornerComponentProps {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
239
|
+
element: any;
|
|
240
|
+
question: Question;
|
|
241
|
+
componentData: any;
|
|
124
242
|
}
|
|
125
|
-
export
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
get model(): QuestionAdornerViewModel;
|
|
130
|
-
protected getStateElement(): Base;
|
|
131
|
-
protected canRender(): boolean;
|
|
132
|
-
renderElement(): JSX.Element;
|
|
133
|
-
protected renderContent(allowInteractions: boolean): JSX.Element;
|
|
134
|
-
protected renderElementContent(): JSX.Element;
|
|
135
|
-
protected renderContentOnTop(): JSX.Element;
|
|
136
|
-
protected renderDragAria(): JSX.Element;
|
|
137
|
-
renderElementPlaceholder(): JSX.Element;
|
|
243
|
+
export interface RowWrapperComponentProps {
|
|
244
|
+
element: any;
|
|
245
|
+
componentData: any;
|
|
246
|
+
row: QuestionRowModel;
|
|
138
247
|
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
248
|
+
export interface QuestionWrapperHeaderProps {
|
|
249
|
+
className?: string;
|
|
250
|
+
model: any;
|
|
142
251
|
}
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
protected createQuestionViewModel(): QuestionAdornerViewModel;
|
|
147
|
-
get imageModel(): QuestionImageAdornerViewModel;
|
|
148
|
-
componentDidMount(): void;
|
|
149
|
-
protected renderContentOnTop(): JSX.Element;
|
|
150
|
-
renderElementPlaceholder(): JSX.Element;
|
|
252
|
+
export interface QuestionWrapperFooterProps {
|
|
253
|
+
className?: string;
|
|
254
|
+
model: any;
|
|
151
255
|
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
protected renderClear(): JSX.Element;
|
|
157
|
-
protected renderElement(): JSX.Element;
|
|
256
|
+
export interface ICreatorSurveyPageComponentProps {
|
|
257
|
+
creator: any;
|
|
258
|
+
survey: SurveyModel;
|
|
259
|
+
page: PageModel;
|
|
158
260
|
}
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
constructor(props: any);
|
|
162
|
-
protected get embeddedSurvey(): QuestionEmbeddedSurveyModel;
|
|
163
|
-
protected get creator(): ISurveyCreator;
|
|
164
|
-
render(): JSX.Element;
|
|
261
|
+
export interface ILogoImageComponentProps {
|
|
262
|
+
data: any;
|
|
165
263
|
}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
get ratingModel(): QuestionRatingAdornerViewModel;
|
|
170
|
-
renderElementPlaceholder(): JSX.Element;
|
|
264
|
+
export interface IQuestionEditorContentComponentProps {
|
|
265
|
+
creator: any;
|
|
266
|
+
survey: SurveyModel;
|
|
171
267
|
}
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
268
|
+
export interface ItemValueAdornerComponentProps {
|
|
269
|
+
element: any;
|
|
270
|
+
componentData: any;
|
|
271
|
+
question: QuestionSelectBase;
|
|
272
|
+
item: ItemValue;
|
|
273
|
+
}
|
|
274
|
+
export interface ImageItemValueAdornerComponentProps {
|
|
275
|
+
element: any;
|
|
276
|
+
componentData: any;
|
|
277
|
+
question: QuestionSelectBase;
|
|
278
|
+
item: ImageItemValue;
|
|
279
|
+
}
|
|
280
|
+
export interface MatrixCellAdornerComponentProps {
|
|
281
|
+
element: any;
|
|
282
|
+
componentData: any;
|
|
283
|
+
question: QuestionSelectBase;
|
|
284
|
+
cell: any;
|
|
285
|
+
}
|
|
286
|
+
export interface ISurveyResultsProps {
|
|
287
|
+
survey: SurveyModel;
|
|
288
|
+
}
|
|
289
|
+
export interface ISurveyCreatorToolboxItemProps {
|
|
290
|
+
item: any;
|
|
291
|
+
creator: any;
|
|
292
|
+
isCompact: boolean;
|
|
293
|
+
}
|
|
294
|
+
export interface ISurveyCreatorToolboxProps {
|
|
295
|
+
model: any;
|
|
296
|
+
}
|
|
297
|
+
export interface ISideBarComponentProps {
|
|
298
|
+
model: any;
|
|
299
|
+
}
|
|
300
|
+
export interface ISurveyPageNavigatorProps {
|
|
301
|
+
creator: any;
|
|
302
|
+
pages: any;
|
|
303
|
+
}
|
|
304
|
+
export interface ITabDesignerComponentProps {
|
|
305
|
+
data: any;
|
|
306
|
+
}
|
|
307
|
+
export interface ITabEmbedComponentProps {
|
|
308
|
+
data: any;
|
|
309
|
+
}
|
|
310
|
+
export interface ITabJsonEditorAceComponentProps {
|
|
311
|
+
data: any;
|
|
312
|
+
}
|
|
313
|
+
export interface ITabJsonEditorTextareaComponentProps {
|
|
314
|
+
data: any;
|
|
315
|
+
}
|
|
316
|
+
export interface IObjectSelectorComponentProps {
|
|
317
|
+
model: any;
|
|
318
|
+
}
|
|
319
|
+
export interface IPropertyGridComponentProps {
|
|
320
|
+
model: any;
|
|
321
|
+
}
|
|
322
|
+
export declare class ActionButton extends SurveyElementBase<any, any> {
|
|
323
|
+
constructor(props: any);
|
|
324
|
+
renderElement(): any;
|
|
325
|
+
}
|
|
326
|
+
export declare class ActionContainerViewModel<T> extends Base {
|
|
327
|
+
constructor(creator: any, surveyElement: SurveyElement);
|
|
328
|
+
creator: any;
|
|
329
|
+
surveyElement: SurveyElement;
|
|
330
|
+
actionContainer: any;
|
|
331
|
+
allowDragging: boolean;
|
|
332
|
+
selectedPropPageFunc: any;
|
|
333
|
+
protected checkActionProperties(): void;
|
|
334
|
+
dispose(): void;
|
|
335
|
+
protected onElementSelectedChanged(isSelected: boolean): void;
|
|
336
|
+
protected updateActionsProperties(): void;
|
|
337
|
+
protected updateElementAllowOptions(options: any, operationsAllow: boolean): void;
|
|
338
|
+
protected isOperationsAllow(): boolean;
|
|
339
|
+
protected updateActionVisibility(id: string, isVisible: boolean): void;
|
|
340
|
+
getActionById(id: string): Action;
|
|
341
|
+
protected buildActions(items: any): void;
|
|
342
|
+
protected duplicate(): void;
|
|
177
343
|
}
|
|
178
|
-
|
|
179
344
|
export declare class CellQuestionAdornerComponent extends SurveyElementBase<QuestionAdornerComponentProps, any> {
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
345
|
+
constructor(props: QuestionAdornerComponentProps);
|
|
346
|
+
model: any;
|
|
347
|
+
protected getStateElement(): Base;
|
|
348
|
+
render(): any;
|
|
184
349
|
}
|
|
185
|
-
|
|
186
350
|
export declare class CellQuestionDropdownAdornerComponent extends SurveyElementBase<QuestionAdornerComponentProps, any> {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
351
|
+
constructor(props: QuestionAdornerComponentProps);
|
|
352
|
+
model: any;
|
|
353
|
+
protected getStateElement(): Base;
|
|
354
|
+
render(): any;
|
|
191
355
|
}
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
356
|
+
export declare class ConditionEditorItem {
|
|
357
|
+
constructor();
|
|
358
|
+
conjunction: string;
|
|
359
|
+
questionName: string;
|
|
360
|
+
operator: string;
|
|
361
|
+
value: any;
|
|
196
362
|
}
|
|
197
|
-
export declare class
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
createQuestionElement(question: Question): JSX.Element;
|
|
201
|
-
questionTitleLocation(): string;
|
|
202
|
-
questionErrorLocation(): string;
|
|
203
|
-
renderError(key: string, error: SurveyError, cssClasses: any): JSX.Element;
|
|
204
|
-
render(): JSX.Element;
|
|
205
|
-
}
|
|
206
|
-
export {};
|
|
207
|
-
|
|
208
|
-
interface ItemValueAdornerComponentProps {
|
|
209
|
-
element: JSX.Element;
|
|
210
|
-
componentData: any;
|
|
211
|
-
question: QuestionSelectBase;
|
|
212
|
-
item: ItemValue;
|
|
363
|
+
export declare class ConditionEditorItemsBuilder {
|
|
364
|
+
constructor(hasValue?: any);
|
|
365
|
+
build(text: string): Array<ConditionEditorItem>;
|
|
213
366
|
}
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
367
|
+
/*
|
|
368
|
+
* Base class for Survey Creator.
|
|
369
|
+
*/
|
|
370
|
+
export declare class CreatorBase<T extends SurveyModel = SurveyModel> {
|
|
371
|
+
constructor(options: ICreatorOptions, options2?: ICreatorOptions);
|
|
372
|
+
/*
|
|
373
|
+
* Set it to true to show "Designer" tab and to false to hide the tab
|
|
374
|
+
*/
|
|
375
|
+
showDesignerTab: boolean;
|
|
376
|
+
/*
|
|
377
|
+
* Set it to true to show "JSON Editor" tab and to false to hide the tab
|
|
378
|
+
*/
|
|
379
|
+
showJSONEditorTab: boolean;
|
|
380
|
+
/*
|
|
381
|
+
* Obsolete. Please use showPreviewTab property
|
|
382
|
+
*/
|
|
383
|
+
showTestSurveyTab: boolean;
|
|
384
|
+
/*
|
|
385
|
+
* Set it to true to show "Preview" tab and to false to hide the tab
|
|
386
|
+
*/
|
|
387
|
+
get showPreviewTab(): boolean;
|
|
388
|
+
set showPreviewTab(val: boolean);
|
|
389
|
+
/*
|
|
390
|
+
* Set it to true to show "Embed Survey" tab and to false to hide the tab
|
|
391
|
+
*/
|
|
392
|
+
showEmbeddedSurveyTab: boolean;
|
|
393
|
+
/*
|
|
394
|
+
* Set it to true to show "Translation" tab and to false to hide the tab
|
|
395
|
+
*/
|
|
396
|
+
showTranslationTab: boolean;
|
|
397
|
+
/*
|
|
398
|
+
* Set it to true to show "Logic" tab and to false to hide the tab
|
|
399
|
+
*/
|
|
400
|
+
showLogicTab: boolean;
|
|
401
|
+
/*
|
|
402
|
+
* Set delay for page hover
|
|
403
|
+
*/
|
|
404
|
+
pageHoverDelay: number;
|
|
405
|
+
/*
|
|
406
|
+
* You need to set this property to true if you want to inplace edit item values instead of texts.
|
|
407
|
+
*/
|
|
408
|
+
inplaceEditForValues: boolean;
|
|
409
|
+
/*
|
|
410
|
+
* Set it to false to hide survey title and coresponding properties
|
|
411
|
+
*/
|
|
412
|
+
get allowEditSurveyTitle(): boolean;
|
|
413
|
+
set allowEditSurveyTitle(val: boolean);
|
|
414
|
+
/*
|
|
415
|
+
* You have right to set this property to true if you have bought the commercial licence only.
|
|
416
|
+
* It will remove the text about non-commerical usage on the top of the widget.
|
|
417
|
+
* Setting this property true without having a commercial licence is illegal.
|
|
418
|
+
*/
|
|
419
|
+
haveCommercialLicense: boolean;
|
|
420
|
+
get licenseText(): string;
|
|
421
|
+
/*
|
|
422
|
+
* A boolean property, false by default. Set it to true to call protected doSave method automatically on survey changing.
|
|
423
|
+
*/
|
|
424
|
+
isAutoSave: boolean;
|
|
425
|
+
showOptions: boolean;
|
|
426
|
+
showState: boolean;
|
|
427
|
+
showSearch: boolean;
|
|
428
|
+
generateValidJSON: boolean;
|
|
429
|
+
currentAddQuestionType: string;
|
|
430
|
+
isRTLValue: boolean;
|
|
431
|
+
alwaySaveTextInPropertyEditorsValue: boolean;
|
|
432
|
+
toolbarValue: any;
|
|
433
|
+
responsivityManager: CreatorResponsivityManager;
|
|
434
|
+
footerToolbar: any;
|
|
435
|
+
pageEditModeValue: "standard" | "single";
|
|
436
|
+
/*
|
|
437
|
+
* Set pageEditMode option to "single" to use creator in a single page mode. By default value is "standard".
|
|
438
|
+
* You can set this option in creator constructor only
|
|
439
|
+
*/
|
|
440
|
+
get pageEditMode(): "standard" | "single";
|
|
441
|
+
surveyValue: T;
|
|
442
|
+
get toolbarItems(): any;
|
|
443
|
+
get toolbar(): any;
|
|
444
|
+
dragDropSurveyElements: DragDropSurveyElements;
|
|
445
|
+
dragDropChoices: DragDropChoices;
|
|
446
|
+
selectedElementValue: Base;
|
|
447
|
+
newQuestions: any;
|
|
448
|
+
newPanels: any;
|
|
449
|
+
newQuestionChangedNames: any;
|
|
450
|
+
pagesControllerValue: PagesController;
|
|
451
|
+
selectionHistoryControllerValue: SelectionHistory;
|
|
452
|
+
saveSurveyFuncValue: any;
|
|
453
|
+
viewType: string;
|
|
454
|
+
/*
|
|
455
|
+
* Returns the current show view name. The possible returns values are:
|
|
456
|
+
* "designer", "editor", "test", "embed", "logic" and "translation".
|
|
457
|
+
*/
|
|
458
|
+
get showingViewName(): string;
|
|
459
|
+
get isDesignerShowing(): boolean;
|
|
460
|
+
showDesigner(): void;
|
|
461
|
+
get isTestSurveyShowing(): boolean;
|
|
462
|
+
/*
|
|
463
|
+
* Return true if Preview tab is currently active
|
|
464
|
+
*/
|
|
465
|
+
get isPreviewShowing(): boolean;
|
|
466
|
+
showTestSurvey(): void;
|
|
467
|
+
/*
|
|
468
|
+
* Show Preview tab
|
|
469
|
+
*/
|
|
470
|
+
showPreview(): void;
|
|
471
|
+
protected plugins: any;
|
|
472
|
+
addPluginTab(name: string, plugin: ICreatorPlugin, title?: string, componentContent?: string, index?: number): void;
|
|
473
|
+
addPlugin(name: string, plugin: ICreatorPlugin): void;
|
|
474
|
+
getPlugin<P extends ICreatorPlugin = ICreatorPlugin>(name: string): any;
|
|
475
|
+
/*
|
|
476
|
+
* The event is called on deleting an element (question/panel/page) from the survey. Typically, when a user click the delete from the element menu.
|
|
477
|
+
* <br/> sender the survey creator object that fires the event
|
|
478
|
+
* <br/> options.element an instance of the deleting element
|
|
479
|
+
* <br/> options.elementType the type of the element: 'question', 'panel' or 'page'.
|
|
480
|
+
* <br/> options.allowing set it to false to cancel the element deleting
|
|
481
|
+
*/
|
|
482
|
+
onElementDeleting: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
483
|
+
/*
|
|
484
|
+
* The event is called on setting a readOnly property of the property editor. By default the property.readOnly property is used.
|
|
485
|
+
* You may changed it and make the property editor read only or enabled for a particular object.
|
|
486
|
+
* <br/> sender the survey creator object that fires the event
|
|
487
|
+
* <br/> options.obj the survey object, Survey, Page, Panel or Question
|
|
488
|
+
* <br/> options.property the object property (Survey.JsonObjectProperty object). It has name, className, type, visible, readOnly and other properties.
|
|
489
|
+
* <br/> options.readOnly a boolean value. It has value equals to options.readOnly property by default. You may change it.
|
|
490
|
+
* <br/> options.parentObj the parent object. It is null for non-nested properties. It is not null for itemvalue or column objects. The parent object is a question (dropdown, radigroup, checkbox, matrices and so on).
|
|
491
|
+
* <br/> options.parentProperty the parent property (Survey.JsonObjectProperty object). It is null for non-nested properties. It is not null for itemvalue or column objects. The parent object is choices, columns, rows, triggers and so on.
|
|
492
|
+
*/
|
|
493
|
+
onGetPropertyReadOnly: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
494
|
+
/*
|
|
495
|
+
* The event is fired when the survey creator creates a survey object (Survey.Survey).
|
|
496
|
+
* <br/> sender the survey creator object that fires the event
|
|
497
|
+
* <br/> options.survey the survey object showing in the creator.
|
|
498
|
+
* <br/> options.reason indicates what component of the creator requests the survey. There are several reason types: "designer" - survey for designer survey, "test" - survey for "Preview" tab and "conditionEditor", "defaultValueEditor", "restfulEditor" - surveys for different property editors.
|
|
499
|
+
*/
|
|
500
|
+
onSurveyInstanceCreated: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
501
|
+
/*
|
|
502
|
+
* The event allows to display the custom name for objects: questions, pages and panels. By default the object name is using. You may show object title by setting showObjectTitles property to true.
|
|
503
|
+
* Use this event, if you want custom display name for objects.
|
|
504
|
+
* <br/> sender the survey creator object that fires the event
|
|
505
|
+
* <br/> options.obj the survey object, Survey, Page, Panel or Question
|
|
506
|
+
* <br/> options.reason the name of the UI that requests the object display name.
|
|
507
|
+
* <br/> options.displayName change this property to show your custom display name for the object
|
|
508
|
+
* <br/> The list of possible values in options.reason:
|
|
509
|
+
* <br/> "condition" - raised from Condition modal window or on setup condition in a logic tab
|
|
510
|
+
* <br/> "survey-tester" - raised from page selector list in "Preview" tab
|
|
511
|
+
* <br/> "survey-tester-selected" - raised on setting page selector title in "Preview" tab
|
|
512
|
+
* <br/> "survey-translation" - raised from translation tab
|
|
513
|
+
* <br/> "property-grid" - raised from showing object selector for property grid in "Designer" tab.
|
|
514
|
+
*/
|
|
515
|
+
onGetObjectDisplayName: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
516
|
+
/*
|
|
517
|
+
* Use this event to disable some operations for an element (question/panel).
|
|
518
|
+
* <br/> sender the survey creator object that fires the event
|
|
519
|
+
* <br/> options.obj the survey object question/panel
|
|
520
|
+
* <br/> options.allowDelete set it to false to disable deleting the object
|
|
521
|
+
* <br/> options.allowCopy set it to false to disable copying the object
|
|
522
|
+
* <br/> options.allowDragging set it to false to disable dragging the element
|
|
523
|
+
* <br/> options.allowChangeType set it to false to disable changing element type
|
|
524
|
+
* <br/> options.allowChangeRequired set it to false to disable changing isRequired property
|
|
525
|
+
*/
|
|
526
|
+
onElementAllowOperations: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
527
|
+
/*
|
|
528
|
+
* Use this event to add/remove/modify the element (question/panel) menu items.
|
|
529
|
+
* <br/> sender the survey creator object that fires the event
|
|
530
|
+
* <br/> options.obj the survey object which property is edited in the Property Editor.
|
|
531
|
+
* <br/> options.items the list of menu items. It has two required fields: text and onClick: function(obj: Survey.Base) {} and optional name field.
|
|
532
|
+
*/
|
|
533
|
+
onDefineElementMenuItems: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
534
|
+
/*
|
|
535
|
+
* The event is called before showing a property in the Properties Grid or in the Question Editor.
|
|
536
|
+
* <br/> sender the survey creator object that fires the event
|
|
537
|
+
* <br/> options.obj the survey object, Survey, Page, Panel or Question
|
|
538
|
+
* <br/> options.property the object property (Survey.JsonObjectProperty object). It has name, className, type, visible, readOnly and other properties.
|
|
539
|
+
* <br/> options.canShow a boolean value. It is true by default. Set it false to hide the property from the Properties Grid and in the Question Editor.
|
|
540
|
+
* <br/> options.parentObj the parent object. It is null for non-nested properties. It is not null for itemvalue or column objects. The parent object is a question (dropdown, radigroup, checkbox, matrices and so on).
|
|
541
|
+
* <br/> options.parentProperty the parent property (Survey.JsonObjectProperty object). It is null for non-nested properties. It is not null for itemvalue or column objects. The parent object is choices, columns, rows, triggers and so on.
|
|
542
|
+
* <br/>
|
|
543
|
+
* <br/> [Example: Hide a category in the Properties Grid](https://surveyjs.io/Examples/Survey-Creator?id=hidecategoryinpropertiesgrid)
|
|
544
|
+
*/
|
|
545
|
+
onShowingProperty: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
546
|
+
onCanShowProperty: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
547
|
+
/*
|
|
548
|
+
* The event is called after a property editor (in fact a survey question) has been created and all it's properties have been assign.
|
|
549
|
+
* You can use this event to modify the property editor properties or set event handlers to customize it's behavior
|
|
550
|
+
* <br/> options.obj the survey object that is currently editing in the property grid
|
|
551
|
+
* <br/> options.property the property that the current property editor is editing
|
|
552
|
+
* <br/> options.editor the property editor. In fact it is a survey question. We are using a heavily customizable survey as a property grid in Creator V2. It means that every property editor is a question.
|
|
553
|
+
*/
|
|
554
|
+
onPropertyEditorCreated: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
555
|
+
/*
|
|
556
|
+
* The event is called after a property editor setups its title actions.
|
|
557
|
+
* You can use this event to modify the property editor title actions
|
|
558
|
+
* <br/> options.obj the survey object that is currently editing in the property grid
|
|
559
|
+
* <br/> options.property the property that the current property editor is editing
|
|
560
|
+
* <br/> options.editor the property editor. In fact it is a survey question. We are using a heavily customizable survey as a property grid in Creator V2. It means that every property editor is a question.
|
|
561
|
+
* <br/> options.titleActions the list of title actions.
|
|
562
|
+
*/
|
|
563
|
+
onPropertyEditorUpdateTitleActions: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
564
|
+
/*
|
|
565
|
+
* The event is called before rendering a delete button in the Property Grid or in Question Editor.
|
|
566
|
+
* Obsolete, please use onCollectionItemAllowOperations
|
|
567
|
+
* <br/> sender the survey creator object that fires the event
|
|
568
|
+
* <br/> options.obj the survey Question
|
|
569
|
+
* <br/> options.item the object property (Survey.JsonObjectProperty object). It has name, className, type, visible, readOnly and other properties
|
|
570
|
+
* <br/> options.canDelete a boolean value. It is true by default. Set it false to remove delete button from the Property Grid or in Question Editor
|
|
571
|
+
*/
|
|
572
|
+
onCanDeleteItem: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
573
|
+
/*
|
|
574
|
+
* The event is called on deleting a collection item from the Property Editor. For example: column in columns editor or item in choices and so on.
|
|
575
|
+
* Obsolete, please use onCollectionItemAllowOperations
|
|
576
|
+
* <br/> sender the survey creator object that fires the event
|
|
577
|
+
* <br/> options.obj the survey object: Question, Panel, Page or Survey
|
|
578
|
+
* <br/> options.property the collection property (Survey.JsonObjectProperty object). It has name, className, type, visible, readOnly and other properties
|
|
579
|
+
* <br/> options.propertyName the collection property name
|
|
580
|
+
* <br/> options.collection the editing collection where deleting item is located. It is can be columns in the matrices or choices in dropdown question and so on.
|
|
581
|
+
* <br/> options.item the collection item that we are going to delete
|
|
582
|
+
* <br/> options.allowDelete a boolean value. It is true by default. Set it false to abondome the element removing from the collection
|
|
583
|
+
*/
|
|
584
|
+
onCollectionItemDeleting: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
585
|
+
/*
|
|
586
|
+
* The event is called before rendering a collection item from the Property Editor. For example: column in columns editor or item in choices and so on.
|
|
587
|
+
* You can make detail/edit and remove buttons invsible and/or disable editing.
|
|
588
|
+
* <br/> sender the survey creator object that fires the event
|
|
589
|
+
* <br/> options.obj the survey object: Question, Panel, Page or Survey
|
|
590
|
+
* <br/> options.property the collection property (Survey.JsonObjectProperty object). It has name, className, type, visible, readOnly and other properties
|
|
591
|
+
* <br/> options.propertyName the collection property name
|
|
592
|
+
* <br/> options.collection the editing collection where deleting item is located. It is can be columns in the matrices or choices in dropdown question and so on.
|
|
593
|
+
* <br/> options.item the collection item that we are going to delete
|
|
594
|
+
* <br/> options.allowDelete a boolean value. It is true by default. Set it false to abondome the element removing from the collection
|
|
595
|
+
* <br/> options.allowEdit a boolean value. It is true by default. Set it false to disable editing.
|
|
596
|
+
*/
|
|
597
|
+
onCollectionItemAllowOperations: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
598
|
+
/*
|
|
599
|
+
* The event is called on adding a new Survey.ItemValue object. It uses as an element in choices array in Radiogroup, checkbox and dropdown questions or Matrix columns and rows properties.
|
|
600
|
+
* Use this event, to set ItemValue.value and ItemValue.text properties by default or set a value to the custom property.
|
|
601
|
+
* <br/> sender the survey creator object that fires the event
|
|
602
|
+
* <br /> options.obj the object that contains the itemsValues array, for example selector, rating and single choice matrix questions.
|
|
603
|
+
* <br/> options.propertyName the object property Name. It can be "choices" for selector questions or rateValues for rating question or columns/rows for single choice matrix.
|
|
604
|
+
* <br/> options.newItem a new created Survey.ItemValue object.
|
|
605
|
+
* <br/> options.itemValues an editing Survey.ItemValue array. newItem object is not added yet into this array.
|
|
606
|
+
*/
|
|
607
|
+
onItemValueAdded: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
608
|
+
/*
|
|
609
|
+
* The event is called when a user adds a new column into MatrixDropdown or MatrixDynamic questions. Use it to set some properties of Survey.MatrixDropdownColumn by default, for example name or a custom property.
|
|
610
|
+
* <br/> sender the survey creator object that fires the event
|
|
611
|
+
* <br/> options.matrix a matrix question where column is located, matrix.columns.
|
|
612
|
+
* <br/> options.newColumn a new created Survey.MatrixDropdownColumn object.
|
|
613
|
+
* <br/> options.columns editable columns objects. They can be different from options.matrix.columns. options.columns and options.matrix.columns are equal after user press Apply or Cancel and options.columns will be set to options.matrix.columns or reset to initial state.
|
|
614
|
+
*/
|
|
615
|
+
onMatrixColumnAdded: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
616
|
+
/*
|
|
617
|
+
* Use this event to control Property Editors UI.
|
|
618
|
+
* <br/> sender the survey creator object that fires the event
|
|
619
|
+
* <br/> options.obj the survey object which property is edited in the Property Editor.
|
|
620
|
+
* <br/> options.propertyName the name of the edited property.
|
|
621
|
+
* <br/> options.editorOptions options that can be changed.
|
|
622
|
+
* <br/> options.editorOptions.allowAddRemoveItems a boolean property, true by default. Set it false to disable add/remove items in array properties. For example 'choices', 'columns', 'rows'.
|
|
623
|
+
* <br/> options.editorOptions.allowRemoveAllItems a boolean property, true by default. Set it false to disable remove all items in array properties. For example 'choices', 'columns', 'rows'.
|
|
624
|
+
* <br/> options.editorOptions.showTextView a boolean property, true by default. Set it false to disable "Fast Entry" tab for "choices" property.
|
|
625
|
+
* <br/> options.editorOptions.itemsEntryType a string property, 'form' by default. Set it 'fast' to show "Fast Entry" tab for "choices" property by default.
|
|
626
|
+
*/
|
|
627
|
+
onSetPropertyEditorOptions: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
628
|
+
/*
|
|
629
|
+
* The event is called on generation a new name for a new created element.
|
|
630
|
+
* <br/> sender the survey creator object that fires the event
|
|
631
|
+
* <br/> options.element a new created survey element. It can be question, panel or page
|
|
632
|
+
* <br/> options.name a new suggested name, that is unique for the current survey. You can suggest your own name. If it is unique, creator will assign it to the element.
|
|
633
|
+
* <br/> options.isUnique a boolean property, set this property to false, if you want to ask Creator to generate another name
|
|
634
|
+
*/
|
|
635
|
+
onGenerateNewName: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
636
|
+
/*
|
|
637
|
+
* Use this event to show a custom error in the Question Editor on pressing Apply or OK buttons, if the values are not set correctly. The error will be displayed under the property editor.
|
|
638
|
+
* <br/> sender the survey creator object that fires the event
|
|
639
|
+
* <br/> options.obj the survey object which property is edited in the Property Editor.
|
|
640
|
+
* <br/> options.propertyName the name of the edited property.
|
|
641
|
+
* <br/> options.value the property value.
|
|
642
|
+
* <br/> options.error the error you want to display. Set the empty string (the default value) or null if there is no errors.
|
|
643
|
+
*/
|
|
644
|
+
onPropertyValidationCustomError: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
645
|
+
/*
|
|
646
|
+
* Use this event to change the value entered in the property editor. You may call a validation, so an end user sees the error immediately
|
|
647
|
+
* <br/> sender the survey creator object that fires the event
|
|
648
|
+
* <br/> options.obj the survey object which property is edited in the Property Editor.
|
|
649
|
+
* <br/> options.propertyName the name of the edited property.
|
|
650
|
+
* <br/> options.value the property value.
|
|
651
|
+
* <br/> options.newValue set the corrected value into this property. Leave it null if you are ok with the entered value.
|
|
652
|
+
* <br/> options.doValidation set the value to true to call the property validation. If there is an error, the user sees it immediately.
|
|
653
|
+
*/
|
|
654
|
+
onPropertyValueChanging: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
655
|
+
/*
|
|
656
|
+
* Use this event to modify the list (name and titles) of the questions available in a condition editor.
|
|
657
|
+
* <br/> sender the survey creator object that fires the event
|
|
658
|
+
* <br/> options.obj the survey object which property is edited in the Property Editor.
|
|
659
|
+
* <br/> options.propertyName the name of the edited property.
|
|
660
|
+
* <br/> options.editor the instance of Property Editor.
|
|
661
|
+
* <br/> options.list the list of the questions available for condition
|
|
662
|
+
*/
|
|
663
|
+
onConditionQuestionsGetList: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
664
|
+
/*
|
|
665
|
+
* Use this event to modify the title in a condition editor. The title is changing during editing. In case of empty or incorrect expression it tells that expression is incorrect
|
|
666
|
+
* <br/> sender the survey creator object that fires the event.
|
|
667
|
+
* <br/> options.expression the current expression. If the expression is empty or incorrect then the value is empty.
|
|
668
|
+
* <br/> options.title the default value of the title. You can change the default value.
|
|
669
|
+
*/
|
|
670
|
+
onConditionGetTitle: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
671
|
+
/*
|
|
672
|
+
* The event is called when a survey is changed in the designer. A new page/question/page is added or existing is removed, a property is changed and so on.
|
|
673
|
+
* <br/> sender the survey creator object that fires the event
|
|
674
|
+
* <br/> options object contains the information about certain modifications
|
|
675
|
+
* <br/> options.type contains string constant describing certain modification
|
|
676
|
+
* <br/> Available values:
|
|
677
|
+
* <br/>
|
|
678
|
+
* <br/> options.type: "ADDED_FROM_TOOLBOX"
|
|
679
|
+
* <br/> options.question: newly added question
|
|
680
|
+
* <br/>
|
|
681
|
+
* <br/> options.type: "PAGE_ADDED"
|
|
682
|
+
* <br/> options.newValue: newly created page
|
|
683
|
+
* <br/>
|
|
684
|
+
* <br/> options.type: "PAGE_MOVED"
|
|
685
|
+
* <br/> options.page: page has been moved
|
|
686
|
+
* <br/> options.indexFrom: pevious index
|
|
687
|
+
* <br/> options.indexTo: new index
|
|
688
|
+
* <br/>
|
|
689
|
+
* <br/> options.type: "QUESTION_CONVERTED"
|
|
690
|
+
* <br/> options.className: the converted class name
|
|
691
|
+
* <br/> options.oldValue: pevious object
|
|
692
|
+
* <br/> options.newValue: the new object, converted from oldVale to the given class name
|
|
693
|
+
* <br/>
|
|
694
|
+
* <br/> options.type: "QUESTION_CHANGED_BY_EDITOR"
|
|
695
|
+
* <br/> options.question: question has been edited in the popup question editor
|
|
696
|
+
* <br/>
|
|
697
|
+
* <br/> options.type: "PROPERTY_CHANGED"
|
|
698
|
+
* <br/> options.name: the name of the property has been changed
|
|
699
|
+
* <br/> options.target: the object containing the changed property
|
|
700
|
+
* <br/> options.oldValue: the previous value of the changed property
|
|
701
|
+
* <br/> options.newValue: the new value of the changed property
|
|
702
|
+
* <br/>
|
|
703
|
+
* <br/> options.type: "OBJECT_DELETED"
|
|
704
|
+
* <br/> options.target: deleted object
|
|
705
|
+
* <br/>
|
|
706
|
+
* <br/> options.type: "VIEW_TYPE_CHANGED"
|
|
707
|
+
* <br/> options.newType: new type of the creator view: editor or designer
|
|
708
|
+
* <br/>
|
|
709
|
+
* <br/> options.type: "DO_DROP"
|
|
710
|
+
* <br/> options.page: the page of the drap/drop operation
|
|
711
|
+
* <br/> options.source: the source dragged object
|
|
712
|
+
* <br/> options.target: the drop target
|
|
713
|
+
* <br/> options.newElement: a new element. It is defined if a user drops question or panel from the toolbox
|
|
714
|
+
* <br/>
|
|
715
|
+
* <br/> options.type: "TRANSLATIONS_CHANGED"
|
|
716
|
+
* <br/> options.type: "JSON_EDITOR"
|
|
717
|
+
*/
|
|
718
|
+
onModified: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
719
|
+
/*
|
|
720
|
+
* The event is called on adding a new question into the survey. Typically, when a user dropped a Question from the Question Toolbox into designer Survey area.
|
|
721
|
+
* <br/> sender the survey creator object that fires the event
|
|
722
|
+
* <br/> options.question a new added survey question. Survey.Question object
|
|
723
|
+
* <br/> options.page the survey Page object where question has been added.
|
|
724
|
+
*/
|
|
725
|
+
onQuestionAdded: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
726
|
+
/*
|
|
727
|
+
* The event is called on adding a new panel into the survey. Typically, when a user dropped a Panel from the Question Toolbox into designer Survey area.
|
|
728
|
+
* <br/> sender the survey creator object that fires the event
|
|
729
|
+
* <br/> options.panel a new added survey panel. Survey.Panel object
|
|
730
|
+
* <br/> options.page the survey Page object where question has been added.
|
|
731
|
+
*/
|
|
732
|
+
onPanelAdded: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
733
|
+
/*
|
|
734
|
+
* The event is called on adding a new page into the survey.
|
|
735
|
+
* <br/> sender the survey creator object that fires the event
|
|
736
|
+
* <br/> options.page the new survey Page object.
|
|
737
|
+
*/
|
|
738
|
+
onPageAdded: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
739
|
+
/*
|
|
740
|
+
* The event is fired when the survey creator is initialized and a survey object (Survey.Survey) is created.
|
|
741
|
+
* <br/> sender the survey creator object that fires the event
|
|
742
|
+
* <br/> options.survey the survey object showing in the creator.
|
|
743
|
+
*/
|
|
744
|
+
onDesignerSurveyCreated: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
745
|
+
/*
|
|
746
|
+
* The event is fired when the survey creator creates survey in Preview tab for testing.
|
|
747
|
+
* <br/> sender the survey creator object that fires the event
|
|
748
|
+
* <br/> options.survey the survey object showing in the "Preview" tab.
|
|
749
|
+
*/
|
|
750
|
+
onPreviewSurveyCreated: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
751
|
+
/*
|
|
752
|
+
* Obsolete. Please use onPreviewSurveyCreated event.
|
|
753
|
+
*/
|
|
754
|
+
onTestSurveyCreated: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
755
|
+
/*
|
|
756
|
+
* The event is called in case of UI notifications. By default all notifications are done via built-in alert () function.
|
|
757
|
+
* In case of any subscriptions to this event all notifications will be redirected into the event handler.
|
|
758
|
+
* <br/> options.message is a message to show.
|
|
759
|
+
*/
|
|
760
|
+
onNotify: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
761
|
+
/*
|
|
762
|
+
* The event is called on changing the selected element. You may change the new selected element by changing the property options.newSelectedElement to your own
|
|
763
|
+
* <br/> options.newSelectedElement the element that is going to be selected in the survey desiger: question, panel, page or survey.
|
|
764
|
+
*/
|
|
765
|
+
onSelectedElementChanging: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
766
|
+
/*
|
|
767
|
+
* The event is called after the selected element is changed.
|
|
768
|
+
* <br/> options.newSelectedElement the new selected element in the survey desiger: question, panel, page or survey.
|
|
769
|
+
*/
|
|
770
|
+
onSelectedElementChanged: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
771
|
+
/*
|
|
772
|
+
* The event is fired then one need to choose files.
|
|
773
|
+
* <br/> sender the survey creator object that fires the event
|
|
774
|
+
* <br/> input file input HTML element
|
|
775
|
+
* <br/> callback need to be called after files has been chosen
|
|
776
|
+
*/
|
|
777
|
+
onOpenFileChooser: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
778
|
+
/*
|
|
779
|
+
* The event is fired on uploading the files.
|
|
780
|
+
* <br/> sender the survey creator object that fires the event
|
|
781
|
+
* <br/> There are two properties in options:
|
|
782
|
+
* <br/> files the Javascript File objects array
|
|
783
|
+
* <br/> callback called on upload complete
|
|
784
|
+
*/
|
|
785
|
+
onUploadFile: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
786
|
+
/*
|
|
787
|
+
* Use this event to modify the list of the strings available in the Translation tab.
|
|
788
|
+
*
|
|
789
|
+
* The event handler accepts the following arguments:
|
|
790
|
+
*
|
|
791
|
+
* - `sender` - A Survey Creator instance that raised the event.
|
|
792
|
+
* - `options.obj` - A survey object instance (survey, page, panel, question) whose string translations are being edited in the Translation tab.
|
|
793
|
+
* - `options.propertyName` - The name of a property being translated.
|
|
794
|
+
* - `options.visible` - A Boolean value that specifies the property visibility. Set it to `false` to hide the property.
|
|
795
|
+
*/
|
|
796
|
+
onTranslationStringVisibility: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
797
|
+
/*
|
|
798
|
+
* This callback is used internally for providing survey JSON text.
|
|
799
|
+
*/
|
|
800
|
+
getSurveyJSONTextCallback: any;
|
|
801
|
+
/*
|
|
802
|
+
* This callback is used internally for setting survey JSON text.
|
|
803
|
+
*/
|
|
804
|
+
setSurveyJSONTextCallback: any;
|
|
805
|
+
/*
|
|
806
|
+
* You need to set this property to true if you want to use tabs instead of accordion in the popup element's editor.
|
|
807
|
+
*/
|
|
808
|
+
useTabsInElementEditor: boolean;
|
|
809
|
+
/*
|
|
810
|
+
* You need to set this property to value bigger than 0 to disable adding more logic items in condition than this value.
|
|
811
|
+
*/
|
|
812
|
+
maxLogicItemsInCondition: number;
|
|
813
|
+
/*
|
|
814
|
+
* You need to set this property to true if you want to show titles instead of names in pages editor and object selector.
|
|
815
|
+
*/
|
|
816
|
+
showObjectTitles: boolean;
|
|
817
|
+
/*
|
|
818
|
+
* You need to set this property to true if you want to show titles instead of names in expression editor.
|
|
819
|
+
*/
|
|
820
|
+
showTitlesInExpressions: boolean;
|
|
821
|
+
/*
|
|
822
|
+
* You need to set this property to false to allow your users build expressions visually only, without editing them in text editor.
|
|
823
|
+
*/
|
|
824
|
+
allowEditExpressionsInTextEditor: boolean;
|
|
825
|
+
/*
|
|
826
|
+
* You need to set this property to number more than 0 to limit the number of columns that users can create for matrix dynamic/matrix dropdown questions.
|
|
827
|
+
*/
|
|
828
|
+
maximumColumnsCount: number;
|
|
829
|
+
/*
|
|
830
|
+
* You need to set this property to number more than 0 to limit the number of choices that users can added to checkbox/dropdown/radiogroup questions.
|
|
831
|
+
*/
|
|
832
|
+
maximumChoicesCount: number;
|
|
833
|
+
/*
|
|
834
|
+
* You need to set this property to number more than 0 to limit the number of rows that users can add to matrix dropdown and single matrix questions.
|
|
835
|
+
*/
|
|
836
|
+
maximumRowsCount: number;
|
|
837
|
+
/*
|
|
838
|
+
* You need to set this property to number more than 0 to limit the number of rate values that users can add to rate question.
|
|
839
|
+
*/
|
|
840
|
+
maximumRateValues: number;
|
|
841
|
+
/*
|
|
842
|
+
* Obsolete. Please use showPagesInPreviewTab
|
|
843
|
+
*/
|
|
844
|
+
showPagesInTestSurveyTab: boolean;
|
|
845
|
+
/*
|
|
846
|
+
* Set this property to false to hide the pages selector in the Preview Tab
|
|
847
|
+
*/
|
|
848
|
+
get showPagesInPreviewTab(): boolean;
|
|
849
|
+
set showPagesInPreviewTab(val: boolean);
|
|
850
|
+
/*
|
|
851
|
+
* Obsolete. Please use showSimulatorInPreviewTab.
|
|
852
|
+
*/
|
|
853
|
+
showSimulatorInTestSurveyTab: boolean;
|
|
854
|
+
/*
|
|
855
|
+
* Set this property to false to hide the device simulator in the Preview Tab
|
|
856
|
+
*/
|
|
857
|
+
get showSimulatorInPreviewTab(): boolean;
|
|
858
|
+
set showSimulatorInPreviewTab(val: boolean);
|
|
859
|
+
/*
|
|
860
|
+
* Set this property to false to disable pages adding, editing and deleting
|
|
861
|
+
*/
|
|
862
|
+
allowModifyPages: boolean;
|
|
863
|
+
/*
|
|
864
|
+
* Obsolete. Please use showDefaultLanguageInPreviewTab
|
|
865
|
+
*/
|
|
866
|
+
showDefaultLanguageInTestSurveyTab: string | boolean;
|
|
867
|
+
/*
|
|
868
|
+
* The default value is _"auto"_. It shows the language selector if there are more than two languages are using in the survey.
|
|
869
|
+
* It shows only used languages in the survey.
|
|
870
|
+
* Set this property to _false_ to hide the default language selector in the Preview Tab.
|
|
871
|
+
* Set it to _true_ to show this selector even if there is only one language in the survey
|
|
872
|
+
* Set it to _all_ to show the selector with all available languages (30+)
|
|
873
|
+
*/
|
|
874
|
+
get showDefaultLanguageInPreviewTab(): string | boolean;
|
|
875
|
+
set showDefaultLanguageInPreviewTab(val: string | boolean);
|
|
876
|
+
/*
|
|
877
|
+
* Set this property to false to hide the show invisible element checkbox in the Preview Tab
|
|
878
|
+
*/
|
|
879
|
+
showInvisibleElementsInTestSurveyTab: boolean;
|
|
880
|
+
/*
|
|
881
|
+
* Set this property to false to hide the show invisible element checkbox in the Preview Tab
|
|
882
|
+
*/
|
|
883
|
+
get showInvisibleElementsInPreviewTab(): boolean;
|
|
884
|
+
set showInvisibleElementsInPreviewTab(val: boolean);
|
|
885
|
+
/*
|
|
886
|
+
* Set this property to true if you want to show "page selector" in the toolabar instead of "pages editor"
|
|
887
|
+
*/
|
|
888
|
+
showPageSelectorInToolbar: boolean;
|
|
889
|
+
tabbedMenu: any;
|
|
890
|
+
get tabs(): any;
|
|
891
|
+
set tabs(val: any);
|
|
892
|
+
/*
|
|
893
|
+
* Returns the localized string by its id
|
|
894
|
+
*/
|
|
895
|
+
getLocString(str: string): any;
|
|
896
|
+
/*
|
|
897
|
+
* Set it to false to suppress an alert message about error on saving the survey into database.
|
|
898
|
+
*/
|
|
899
|
+
showErrorOnFailedSave: boolean;
|
|
900
|
+
protected onSetReadOnly(newVal: boolean): void;
|
|
901
|
+
/*
|
|
902
|
+
* A boolean property, false by default. Set it to true to deny editing.
|
|
903
|
+
*/
|
|
904
|
+
get readOnly(): boolean;
|
|
905
|
+
set readOnly(val: boolean);
|
|
906
|
+
/*
|
|
907
|
+
* Set it to true to activate RTL support
|
|
908
|
+
*/
|
|
909
|
+
get isRTL(): boolean;
|
|
910
|
+
set isRTL(val: boolean);
|
|
911
|
+
onActiveTabChanged: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
912
|
+
/*
|
|
913
|
+
* Get/set the active tab.
|
|
914
|
+
* The following values are available: "designer", "editor", "test", "embed", "logic" and "translation".
|
|
915
|
+
* Please note, not all tabs are visible.
|
|
916
|
+
*/
|
|
917
|
+
get activeTab(): string;
|
|
918
|
+
set activeTab(val: string);
|
|
919
|
+
/*
|
|
920
|
+
* Change the active view/tab. It will return false if it can't change the current tab.
|
|
921
|
+
*/
|
|
922
|
+
makeNewViewActive(viewName: string): boolean;
|
|
923
|
+
static defaultNewSurveyText: string;
|
|
924
|
+
toolbox: QuestionToolbox;
|
|
925
|
+
get toolboxCategories(): any;
|
|
926
|
+
sideBar: SideBarModel;
|
|
927
|
+
updateToolboxIsCompact(newVal?: boolean): void;
|
|
928
|
+
onSurveyElementPropertyValueChanged(property: JsonObjectProperty, obj: any, newValue: any): void;
|
|
929
|
+
get showToolbox(): boolean | "none" | "top" | "left" | "right";
|
|
930
|
+
set showToolbox(val: boolean | "none" | "top" | "left" | "right");
|
|
931
|
+
showPropertyGridValue: boolean;
|
|
932
|
+
onShowPropertyGridVisiblityChanged: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
933
|
+
/*
|
|
934
|
+
* Set this this property grid false to hide the property grid.
|
|
935
|
+
*/
|
|
936
|
+
get showPropertyGrid(): boolean;
|
|
937
|
+
set showPropertyGrid(val: boolean);
|
|
938
|
+
rightContainerActiveItem(name: string): void;
|
|
939
|
+
leftContainerActiveItem(name: string): void;
|
|
940
|
+
/*
|
|
941
|
+
* The event is called before undo happens.
|
|
942
|
+
* <br/> options.canUndo a boolean value. It is true by default. Set it false to hide prevent undo operation.
|
|
943
|
+
*/
|
|
944
|
+
onBeforeUndo: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
945
|
+
/*
|
|
946
|
+
* The event is called before redo happens.
|
|
947
|
+
* <br/> options.canRedo a boolean value. It is true by default. Set it false to hide prevent redo operation.
|
|
948
|
+
*/
|
|
949
|
+
onBeforeRedo: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
950
|
+
/*
|
|
951
|
+
* The event is called after undo happens.
|
|
952
|
+
* <br/> options.state is an undo/redo item.
|
|
953
|
+
*/
|
|
954
|
+
onAfterUndo: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
955
|
+
/*
|
|
956
|
+
* The event is called after redo happens.
|
|
957
|
+
* <br/> options.state is an undo/redo item.
|
|
958
|
+
*/
|
|
959
|
+
onAfterRedo: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
960
|
+
get undoRedoManager(): UndoRedoManager;
|
|
961
|
+
get undoRedoController(): any;
|
|
962
|
+
/*
|
|
963
|
+
* This method starts undo/redo transaction: all changes will be stored as one undo/redo item.
|
|
964
|
+
*/
|
|
965
|
+
startUndoRedoTransaction(name?: string): void;
|
|
966
|
+
/*
|
|
967
|
+
* This method stops undo/redo transaction.
|
|
968
|
+
*/
|
|
969
|
+
stopUndoRedoTransaction(): void;
|
|
970
|
+
/*
|
|
971
|
+
* This method performs undo uperation if possible.
|
|
972
|
+
*/
|
|
973
|
+
undo(): void;
|
|
974
|
+
/*
|
|
975
|
+
* This method performs redo uperation if possible.
|
|
976
|
+
*/
|
|
977
|
+
redo(): void;
|
|
978
|
+
get pagesController(): PagesController;
|
|
979
|
+
get selectionHistoryController(): SelectionHistory;
|
|
980
|
+
get currentPage(): PageModel;
|
|
981
|
+
set currentPage(val: PageModel);
|
|
982
|
+
addPage(pagetoAdd?: PageModel): PageModel;
|
|
983
|
+
protected initTabs(): void;
|
|
984
|
+
getOptions(): ICreatorOptions;
|
|
985
|
+
protected setOptions(options: any): void;
|
|
986
|
+
isCanModifyProperty(obj: Base, propertyName: string): boolean;
|
|
987
|
+
onIsPropertyReadOnlyCallback(obj: Base, property: JsonObjectProperty, readOnly: boolean, parentObj: Base, parentProperty: JsonObjectProperty): boolean;
|
|
988
|
+
/*
|
|
989
|
+
* The editing survey object (Survey.Survey)
|
|
990
|
+
*/
|
|
991
|
+
get survey(): T;
|
|
992
|
+
existingPages: any;
|
|
993
|
+
protected initSurveyWithJSON(json: any, clearState: boolean): void;
|
|
994
|
+
protected initDragDrop(): void;
|
|
995
|
+
updateElementsOnLocaleChanged(obj: Base, propertyName: string): void;
|
|
996
|
+
updateConditionsOnQuestionNameChanged(obj: Base, propertyName: string, oldValue: any): void;
|
|
997
|
+
updatePagesController(sender: Base, name: string): void;
|
|
998
|
+
isObjQuestion(obj: Base): boolean;
|
|
999
|
+
isObjPage(obj: Base): boolean;
|
|
1000
|
+
protected setSurvey(survey: T): void;
|
|
1001
|
+
protected setTextValue(value: string): void;
|
|
1002
|
+
/*
|
|
1003
|
+
* Set JSON as text into survey. Clear undo/redo states optionally.
|
|
1004
|
+
*/
|
|
1005
|
+
changeText(value: string, clearState?: boolean): void;
|
|
1006
|
+
/*
|
|
1007
|
+
* The Survey JSON as a text. Use it to get Survey JSON or change it.
|
|
1008
|
+
*/
|
|
1009
|
+
get text(): string;
|
|
1010
|
+
set text(val: string);
|
|
1011
|
+
getSurveyJSON(): any;
|
|
1012
|
+
getObjectDisplayName(obj: Base, reason?: string, displayName?: string): string;
|
|
1013
|
+
createSurvey(json?: any, reason?: string): T;
|
|
1014
|
+
protected createSurveyCore(json: any, reason: string): T;
|
|
1015
|
+
_stateValue: string;
|
|
1016
|
+
/*
|
|
1017
|
+
* Returns the creator state. It may return empty string or "saving" and "saved".
|
|
1018
|
+
*/
|
|
1019
|
+
get state(): string;
|
|
1020
|
+
protected setState(value: string): void;
|
|
1021
|
+
onStateChanged: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
1022
|
+
notifier: Notifier;
|
|
1023
|
+
setModified(options?: any): void;
|
|
1024
|
+
/*
|
|
1025
|
+
* This function triggers user notification (via the alert() function if no onNotify event handler added).
|
|
1026
|
+
*/
|
|
1027
|
+
notify(msg: string, type?: "info" | "error"): void;
|
|
1028
|
+
protected convertQuestion(obj: Question, className: string): Question;
|
|
1029
|
+
/*
|
|
1030
|
+
* The Survey JSON. Use it to get Survey JSON or change it.
|
|
1031
|
+
*/
|
|
1032
|
+
get JSON(): any;
|
|
1033
|
+
set JSON(val: any);
|
|
1034
|
+
loadSurvey(surveyId: string): void;
|
|
1035
|
+
protected doClickQuestionCore(element: IElement, modifiedType?: string, index?: number, panel?: IPanel): void;
|
|
1036
|
+
setNewNames(element: ISurveyElement): void;
|
|
1037
|
+
protected getAllQuestions(): Array<any>;
|
|
1038
|
+
protected getAllPanels(): Array<any>;
|
|
1039
|
+
protected addElements(elements: any, isPanel: boolean, result: any): void;
|
|
1040
|
+
protected getNewName(type: string, isPanel?: boolean): string;
|
|
1041
|
+
protected getNewQuestionName(): string;
|
|
1042
|
+
protected getNewPanelName(): string;
|
|
1043
|
+
protected setNewNamesCore(element: ISurveyElement): void;
|
|
1044
|
+
createNewElement(json: any): IElement;
|
|
1045
|
+
copyElement(element: Base): IElement;
|
|
1046
|
+
/*
|
|
1047
|
+
* Copy a question to the active page
|
|
1048
|
+
*/
|
|
1049
|
+
fastCopyQuestion(question: Base): IElement;
|
|
1050
|
+
/*
|
|
1051
|
+
* Get or set the current selected object in the Creator. It can be a question, panel, page or survey itself.
|
|
1052
|
+
*/
|
|
1053
|
+
get selectedElement(): Base;
|
|
1054
|
+
set selectedElement(val: Base);
|
|
1055
|
+
deleteCurrentObject(): void;
|
|
1056
|
+
/*
|
|
1057
|
+
* Delete a currently selected element in the survey. It can be a question, a panel or a page.
|
|
1058
|
+
*/
|
|
1059
|
+
deleteCurrentElement(): void;
|
|
1060
|
+
/*
|
|
1061
|
+
* Delete an element in the survey. It can be a question, a panel or a page.
|
|
1062
|
+
*/
|
|
1063
|
+
deleteElement(element: Base): void;
|
|
1064
|
+
/*
|
|
1065
|
+
* Create a new page with the same elements and place it next to the current one. It returns the new created Survey.Page
|
|
1066
|
+
*/
|
|
1067
|
+
copyPage(page: PageModel): PageModel;
|
|
1068
|
+
protected deleteObjectCore(obj: any): void;
|
|
1069
|
+
protected deleteObject(obj: any): void;
|
|
1070
|
+
protected updateConditionsOnRemove(obj: any): void;
|
|
1071
|
+
isElementSelected(element: Base): boolean;
|
|
1072
|
+
selectElement(element: any, propertyName?: string, focus?: boolean): void;
|
|
1073
|
+
protected get designerPropertyGrid(): any;
|
|
1074
|
+
/*
|
|
1075
|
+
* Collapse certain property editor tab (category) in properties panel/grid
|
|
1076
|
+
* name - tab category name
|
|
1077
|
+
*/
|
|
1078
|
+
collapsePropertyGridCategory(name: string): void;
|
|
1079
|
+
/*
|
|
1080
|
+
* Expand certain property editor tab (category) in properties panel/grid
|
|
1081
|
+
* name - tab category name
|
|
1082
|
+
*/
|
|
1083
|
+
expandPropertyGridCategory(name: string): void;
|
|
1084
|
+
/*
|
|
1085
|
+
* Expand all property editor tabs (categories) in properties panel/grid
|
|
1086
|
+
*/
|
|
1087
|
+
collapseAllPropertyGridCategories(): void;
|
|
1088
|
+
/*
|
|
1089
|
+
* Expand all property editor tabs (categories) in properties panel/grid
|
|
1090
|
+
*/
|
|
1091
|
+
expandAllPropertyGridCategories(): void;
|
|
1092
|
+
collapseAllPropertyTabs(): void;
|
|
1093
|
+
expandAllPropertyTabs(): void;
|
|
1094
|
+
expandPropertyTab(name: string): void;
|
|
1095
|
+
collapsePropertyTab(name: string): void;
|
|
1096
|
+
/*
|
|
1097
|
+
* Check for errors in property grid and adorners of the selected elements.
|
|
1098
|
+
* Returns true if selected element is null or there is no errors.
|
|
1099
|
+
*/
|
|
1100
|
+
validateSelectedElement(): boolean;
|
|
1101
|
+
clickToolboxItem(newElement: any, panel?: IPanel): void;
|
|
1102
|
+
getJSONForNewElement(json: any): any;
|
|
1103
|
+
/*
|
|
1104
|
+
* Open file chooser dialog
|
|
1105
|
+
*/
|
|
1106
|
+
chooseFiles(input: any, onFilesChosen: any): void;
|
|
1107
|
+
/*
|
|
1108
|
+
* Upload the files on a server
|
|
1109
|
+
*/
|
|
1110
|
+
uploadFiles(files: any, uploadingCallback: any): void;
|
|
1111
|
+
initKeyboardShortcuts(rootNode: any): void;
|
|
1112
|
+
removeKeyboardShortcuts(rootNode: any): void;
|
|
1113
|
+
protected onKeyDownHandler: any;
|
|
1114
|
+
shortcuts: any;
|
|
1115
|
+
registerShortcut(name: string, shortcut: IKeyboardShortcut): void;
|
|
1116
|
+
unRegisterShortcut(name: string): void;
|
|
1117
|
+
protected deletePanelOrQuestion(obj: Base): void;
|
|
1118
|
+
protected onCanShowObjectProperty(object: any, property: JsonObjectProperty, showMode: string, parentObj: any, parentProperty: JsonObjectProperty): boolean;
|
|
1119
|
+
protected canDeleteItem(object: any, item: Base, allowDelete: boolean): boolean;
|
|
1120
|
+
protected generateUniqueName(el: Base, newName: string): string;
|
|
1121
|
+
protected isNameUnique(el: Base, newName: string): boolean;
|
|
1122
|
+
protected doPropertyGridChanged(): void;
|
|
1123
|
+
get alwaySaveTextInPropertyEditors(): boolean;
|
|
1124
|
+
set alwaySaveTextInPropertyEditors(val: boolean);
|
|
1125
|
+
onCanShowPropertyCallback(object: any, property: JsonObjectProperty, showMode: string, parentObj: any, parentProperty: JsonObjectProperty): boolean;
|
|
1126
|
+
onPropertyEditorCreatedCallback(object: any, property: JsonObjectProperty, editor: Question): void;
|
|
1127
|
+
onPropertyEditorUpdateTitleActionsCallback(object: any, property: JsonObjectProperty, editor: Question, titleActions: any): void;
|
|
1128
|
+
onCanDeleteItemCallback(object: any, item: Base, allowDelete: boolean): boolean;
|
|
1129
|
+
onCollectionItemDeletingCallback(obj: Base, property: JsonObjectProperty, collection: any, item: Base): boolean;
|
|
1130
|
+
onCollectionItemAllowingCallback(obj: Base, property: JsonObjectProperty, collection: any, item: Base, itemOptions: ICollectionItemAllowOperations): void;
|
|
1131
|
+
onItemValueAddedCallback(obj: Base, propertyName: string, itemValue: ItemValue, itemValues: any): void;
|
|
1132
|
+
onMatrixDropdownColumnAddedCallback(matrix: Question, column: MatrixDropdownColumn, columns: any): void;
|
|
1133
|
+
onSetPropertyEditorOptionsCallback(propertyName: string, obj: Base, editorOptions: any): void;
|
|
1134
|
+
onGetErrorTextOnValidationCallback(propertyName: string, obj: Base, value: any): string;
|
|
1135
|
+
onValueChangingCallback(options: any): void;
|
|
1136
|
+
onGetElementEditorTitleCallback(obj: Base, title: string): string;
|
|
1137
|
+
onConditionQuestionsGetListCallback(propertyName: string, obj: Base, editor: any, list: any): void;
|
|
1138
|
+
onConditionGetTitleCallback(expression: string, title: string): string;
|
|
1139
|
+
/*
|
|
1140
|
+
* The delay on saving survey JSON on autoSave in ms. It is 500 ms by default.
|
|
1141
|
+
* If during this period of time an end-user modify survey, then the last version will be saved only. Set to 0 to save immediately.
|
|
1142
|
+
*/
|
|
1143
|
+
autoSaveDelay: number;
|
|
1144
|
+
autoSaveTimerId: any;
|
|
1145
|
+
protected doAutoSave(): void;
|
|
1146
|
+
saveNo: number;
|
|
1147
|
+
doSave(): void;
|
|
1148
|
+
showSaveButton: boolean;
|
|
1149
|
+
/*
|
|
1150
|
+
* Assign to this property a function that will be called on clicking the 'Save' button or on any change if isAutoSave equals true.
|
|
1151
|
+
*/
|
|
1152
|
+
get saveSurveyFunc(): any;
|
|
1153
|
+
set saveSurveyFunc(val: any);
|
|
1154
|
+
convertCurrentQuestion(newType: string): void;
|
|
1155
|
+
getAddNewQuestionText(currentAddQuestionType?: string): any;
|
|
1156
|
+
get addNewQuestionText(): any;
|
|
1157
|
+
getQuestionTypeSelectorModel(beforeAdd: any, panel?: IPanel): any;
|
|
1158
|
+
addNewQuestionInPage(beforeAdd: any, panel?: IPanel, type?: string): void;
|
|
1159
|
+
createIActionBarItemByClass(className: string, title?: string): Action;
|
|
1160
|
+
onElementMenuItemsChanged(element: any, items: any): void;
|
|
1161
|
+
getElementAllowOperations(element: SurveyElement): any;
|
|
1162
|
+
getNextItemValue(question: QuestionSelectBase): string | number;
|
|
1163
|
+
createNewItemValue(question: QuestionSelectBase): ItemValue;
|
|
1164
|
+
protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
|
1165
|
+
initResponsivityManager(container: any): void;
|
|
1166
|
+
resetResponsivityManager(): void;
|
|
1167
|
+
showPageNavigator: any;
|
|
1168
|
+
showTabs: any;
|
|
1169
|
+
showToolbar: any;
|
|
1170
|
+
isMobileView: any;
|
|
1171
|
+
toolboxLocation: any;
|
|
1172
|
+
sideBarLocation: "left" | "right";
|
|
1173
|
+
selectFromStringEditor: boolean;
|
|
219
1174
|
}
|
|
220
|
-
export {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
1175
|
+
export declare class CreatorResponsivityManager {
|
|
1176
|
+
constructor(container: any, creator: any);
|
|
1177
|
+
resizeObserver: any;
|
|
1178
|
+
currentWidth: any;
|
|
1179
|
+
prevToolboxLocation: any;
|
|
1180
|
+
screenWidth: any;
|
|
1181
|
+
process(): void;
|
|
1182
|
+
dispose(): void;
|
|
1183
|
+
}
|
|
1184
|
+
export declare class CreatorSurveyPageComponent extends SurveyElementBase<ICreatorSurveyPageComponentProps, any> {
|
|
1185
|
+
constructor(props: ICreatorSurveyPageComponentProps);
|
|
1186
|
+
model: any;
|
|
1187
|
+
rootRef: any;
|
|
1188
|
+
protected getStateElement(): Base;
|
|
1189
|
+
componentDidMount(): void;
|
|
1190
|
+
componentWillUnmount(): void;
|
|
1191
|
+
protected canRender(): boolean;
|
|
1192
|
+
renderElement(): any;
|
|
1193
|
+
protected renderContent(): any;
|
|
1194
|
+
protected renderHeader(): any;
|
|
1195
|
+
protected renderFooter(): any;
|
|
1196
|
+
}
|
|
1197
|
+
export declare class DesignTimeSurveyModel extends ReactSurveyModel {
|
|
1198
|
+
constructor(creator: SurveyCreator, jsonObj?: any);
|
|
1199
|
+
creator: SurveyCreator;
|
|
1200
|
+
isPopupEditorContent: boolean;
|
|
1201
|
+
getElementWrapperComponentName(element: any, reason?: string): string;
|
|
1202
|
+
getElementWrapperComponentData(element: any, reason?: string): any;
|
|
1203
|
+
getRowWrapperComponentName(row: QuestionRowModel): string;
|
|
1204
|
+
getRowWrapperComponentData(row: QuestionRowModel): any;
|
|
1205
|
+
getItemValueWrapperComponentName(item: ItemValue, question: QuestionSelectBase): string;
|
|
1206
|
+
getItemValueWrapperComponentData(item: ItemValue, question: QuestionSelectBase): any;
|
|
1207
|
+
getRendererForString(element: Base, name: string): string;
|
|
1208
|
+
getRendererContextForString(element: Base, locStr: LocalizableString): any;
|
|
1209
|
+
}
|
|
1210
|
+
export declare class DragOrClickHelper {
|
|
1211
|
+
constructor(dragHandler: any);
|
|
1212
|
+
pointerDownEvent: any;
|
|
1213
|
+
currentTarget: any;
|
|
1214
|
+
startX: any;
|
|
1215
|
+
startY: any;
|
|
1216
|
+
currentX: any;
|
|
1217
|
+
currentY: any;
|
|
1218
|
+
itemModel: any;
|
|
1219
|
+
onPointerDown(pointerDownEvent: any, itemModel?: any): void;
|
|
1220
|
+
onPointerUp: any;
|
|
1221
|
+
tryToStartDrag: any;
|
|
1222
|
+
}
|
|
1223
|
+
export declare class EditableObject {
|
|
1224
|
+
constructor(obj: Base);
|
|
1225
|
+
static isCopyObject(obj: any): boolean;
|
|
1226
|
+
static getSurvey(object: any): SurveyModel;
|
|
1227
|
+
static getOriginalObject(object: any): any;
|
|
1228
|
+
static getOriginalSurvey(survey: SurveyModel): SurveyModel;
|
|
1229
|
+
objValue: Base;
|
|
1230
|
+
editableObjValue: Base;
|
|
1231
|
+
get obj(): Base;
|
|
1232
|
+
get editableObj(): Base;
|
|
1233
|
+
isPropertyChanged(propertyName: string): boolean;
|
|
1234
|
+
apply(propertyName: string): void;
|
|
1235
|
+
reset(): void;
|
|
1236
|
+
applyAll(excludedProps?: any): void;
|
|
1237
|
+
protected createEditableObj(): Base;
|
|
1238
|
+
}
|
|
1239
|
+
export declare class EmbedModel extends Base {
|
|
1240
|
+
constructor(creator: any);
|
|
1241
|
+
survey: SurveyModel;
|
|
1242
|
+
}
|
|
1243
|
+
export declare class ExpressionRemoveVariable {
|
|
1244
|
+
constructor();
|
|
1245
|
+
wasRemoved: boolean;
|
|
1246
|
+
remove(expression: string, variable: string): string;
|
|
1247
|
+
}
|
|
1248
|
+
export declare class ExpressionToDisplayText {
|
|
1249
|
+
constructor(survey: SurveyModel, options?: any);
|
|
1250
|
+
survey: SurveyModel;
|
|
1251
|
+
currentQuestion: Question;
|
|
1252
|
+
showTitles: boolean;
|
|
1253
|
+
toDisplayText(expression: string): string;
|
|
1254
|
+
static operatorText: any;
|
|
227
1255
|
}
|
|
228
1256
|
export declare class ImageItemValueAdornerComponent extends SurveyElementBase<ImageItemValueAdornerComponentProps, any> {
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
1257
|
+
constructor(props: ImageItemValueAdornerComponentProps);
|
|
1258
|
+
model: any;
|
|
1259
|
+
rootRef: any;
|
|
1260
|
+
protected getStateElement(): Base;
|
|
1261
|
+
componentDidMount(): void;
|
|
1262
|
+
preventDragHandler: any;
|
|
1263
|
+
render(): any;
|
|
1264
|
+
}
|
|
1265
|
+
export declare class ItemValueAdornerComponent extends SurveyElementBase<ItemValueAdornerComponentProps, any> {
|
|
1266
|
+
constructor(props: ItemValueAdornerComponentProps);
|
|
1267
|
+
model: any;
|
|
1268
|
+
protected getStateElement(): Base;
|
|
1269
|
+
render(): any;
|
|
1270
|
+
}
|
|
1271
|
+
export declare class ItemValueWrapperViewModel extends Base {
|
|
1272
|
+
constructor(creator: any, question: QuestionSelectBase, item: ItemValue);
|
|
1273
|
+
creator: any;
|
|
1274
|
+
question: QuestionSelectBase;
|
|
1275
|
+
item: ItemValue;
|
|
1276
|
+
isNew: boolean;
|
|
1277
|
+
isDragging: boolean;
|
|
1278
|
+
isDragDropGhost: boolean;
|
|
1279
|
+
isDragDropMoveDown: boolean;
|
|
1280
|
+
isDragDropMoveUp: boolean;
|
|
1281
|
+
ghostPosition: string;
|
|
1282
|
+
dragOrClickHelper: DragOrClickHelper;
|
|
1283
|
+
allowItemOperations: ICollectionItemAllowOperations;
|
|
1284
|
+
canTouchItems: boolean;
|
|
1285
|
+
onPointerDown(pointerDownEvent: any): void;
|
|
1286
|
+
startDragItemValue: any;
|
|
1287
|
+
dispose(): void;
|
|
1288
|
+
handleDragDropGhostPositionChanged: any;
|
|
1289
|
+
get isDraggable(): boolean;
|
|
1290
|
+
isDraggableItem(item: ItemValue): boolean;
|
|
1291
|
+
add(model: ItemValueWrapperViewModel): void;
|
|
1292
|
+
remove(model: ItemValueWrapperViewModel): void;
|
|
1293
|
+
get allowRemove(): boolean;
|
|
1294
|
+
get tooltip(): any;
|
|
1295
|
+
get dragTooltip(): any;
|
|
1296
|
+
get allowAdd(): boolean;
|
|
1297
|
+
select(model: ItemValueWrapperViewModel, event: any): void;
|
|
1298
|
+
}
|
|
1299
|
+
export declare class JsonEditorBaseModel extends Base {
|
|
1300
|
+
constructor(creator: any);
|
|
1301
|
+
isJSONChanged: boolean;
|
|
1302
|
+
isProcessingImmediately: boolean;
|
|
1303
|
+
static updateTextTimeout: number;
|
|
1304
|
+
jsonEditorChangedTimeoutId: number;
|
|
1305
|
+
get text(): string;
|
|
1306
|
+
set text(val: string);
|
|
1307
|
+
protected getText(): string;
|
|
1308
|
+
protected setText(val: string): void;
|
|
1309
|
+
protected onEditorActivated(): void;
|
|
1310
|
+
onPluginActivate(): void;
|
|
1311
|
+
protected onTextChanged(): void;
|
|
1312
|
+
protected setErrors(errors: any): void;
|
|
1313
|
+
processErrors(text: string): void;
|
|
1314
|
+
get readOnly(): boolean;
|
|
1315
|
+
}
|
|
1316
|
+
export declare class LogoImageComponent extends SurveyElementBase<ILogoImageComponentProps, any> {
|
|
1317
|
+
constructor(props: ILogoImageComponentProps);
|
|
1318
|
+
model: any;
|
|
1319
|
+
rootRef: any;
|
|
1320
|
+
protected getStateElement(): Base;
|
|
1321
|
+
componentDidMount(): void;
|
|
1322
|
+
render(): any;
|
|
1323
|
+
}
|
|
1324
|
+
export declare class LogoImageViewModel extends Base {
|
|
1325
|
+
constructor(creator: any, root: any);
|
|
1326
|
+
root: any;
|
|
1327
|
+
get allowEdit(): boolean;
|
|
1328
|
+
get survey(): SurveyModel;
|
|
1329
|
+
chooseFile(model: LogoImageViewModel): void;
|
|
1330
|
+
remove(model: LogoImageViewModel): void;
|
|
1331
|
+
get chooseLogoPlaceholder(): any;
|
|
243
1332
|
}
|
|
244
1333
|
export declare class MatrixCellAdornerComponent extends SurveyElementBase<MatrixCellAdornerComponentProps, any> {
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
1334
|
+
constructor(props: MatrixCellAdornerComponentProps);
|
|
1335
|
+
model: any;
|
|
1336
|
+
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
1337
|
+
protected getStateElement(): Base;
|
|
1338
|
+
render(): any;
|
|
250
1339
|
}
|
|
251
|
-
export {
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
1340
|
+
export declare class MatrixCellWrapperViewModel extends Base {
|
|
1341
|
+
constructor(creator: any, templateData: any, question: Question, row: any, column: any);
|
|
1342
|
+
creator: any;
|
|
1343
|
+
templateData: any;
|
|
1344
|
+
question: Question;
|
|
1345
|
+
row: any;
|
|
1346
|
+
column: any;
|
|
1347
|
+
isSelected: boolean;
|
|
1348
|
+
onSelectionChanged: any;
|
|
1349
|
+
editQuestion(model: MatrixCellWrapperViewModel): void;
|
|
1350
|
+
get context(): any;
|
|
1351
|
+
selectContext(model: MatrixCellWrapperViewModel, event: any): void;
|
|
1352
|
+
hover(event: any, element: any): void;
|
|
1353
|
+
dispose(): void;
|
|
1354
|
+
}
|
|
1355
|
+
export declare class Notifier extends Base {
|
|
1356
|
+
constructor();
|
|
1357
|
+
active: any;
|
|
1358
|
+
message: string;
|
|
1359
|
+
css: string;
|
|
1360
|
+
timeout: number;
|
|
1361
|
+
timer: any;
|
|
1362
|
+
notify(message: string, type?: "info" | "error"): void;
|
|
1363
|
+
}
|
|
1364
|
+
export declare class NotifierComponent extends SurveyElementBase<NotifierComponentProps, any> {
|
|
1365
|
+
constructor(props: NotifierComponentProps);
|
|
1366
|
+
get notifier(): any;
|
|
1367
|
+
protected getStateElement(): Base;
|
|
1368
|
+
renderElement(): any;
|
|
1369
|
+
}
|
|
1370
|
+
export declare class ObjectSelector {
|
|
1371
|
+
constructor(survey: SurveyModel, getObjectDisplayName?: any);
|
|
1372
|
+
surveyValue: SurveyModel;
|
|
1373
|
+
deepestLevel: number;
|
|
1374
|
+
filteredTextInLow: string;
|
|
1375
|
+
itemsValue: any;
|
|
1376
|
+
get survey(): SurveyModel;
|
|
1377
|
+
get items(): any;
|
|
1378
|
+
getItemByObj(obj: Base): IAction;
|
|
1379
|
+
filterByText(filteredText: string): void;
|
|
1380
|
+
static uniqueId: number;
|
|
1381
|
+
}
|
|
1382
|
+
export declare class ObjectSelectorComponent extends SurveyElementBase<IObjectSelectorComponentProps, any> {
|
|
1383
|
+
constructor(props: IObjectSelectorComponentProps);
|
|
1384
|
+
protected get model(): any;
|
|
1385
|
+
protected getStateElement(): Base;
|
|
1386
|
+
renderElement(): any;
|
|
1387
|
+
}
|
|
1388
|
+
export declare class ObjectSelectorItem extends Action {
|
|
1389
|
+
constructor(id: number, data: Base, title: string, level: number);
|
|
1390
|
+
data: Base;
|
|
1391
|
+
title: string;
|
|
1392
|
+
level: number;
|
|
1393
|
+
textInLow: string;
|
|
1394
|
+
hasText(filteredTextInLow: string): boolean;
|
|
1395
|
+
}
|
|
1396
|
+
export declare class ObjectSelectorModel extends Base {
|
|
1397
|
+
constructor(getObjectDisplayName?: any);
|
|
1398
|
+
selector: ObjectSelector;
|
|
1399
|
+
listModelValue: ListModel;
|
|
1400
|
+
isVisible: boolean;
|
|
1401
|
+
get list(): ListModel;
|
|
1402
|
+
show(survey: SurveyModel, selectedObj: Base, onClose: any): void;
|
|
1403
|
+
refresh(): void;
|
|
1404
|
+
}
|
|
1405
|
+
export declare class PageNavigatorViewModel<T> extends Base {
|
|
1406
|
+
constructor(pagesController: PagesController);
|
|
1407
|
+
icon: string;
|
|
1408
|
+
pageListModel: ListModel;
|
|
1409
|
+
popupModel: any;
|
|
1410
|
+
pagesChangedFunc: any;
|
|
1411
|
+
pageNameChangedFunc: any;
|
|
1412
|
+
dispose(): void;
|
|
1413
|
+
items: any;
|
|
1414
|
+
visible: boolean;
|
|
1415
|
+
isPopupOpened: boolean;
|
|
1416
|
+
protected createActionBarCore(item: IAction): Action;
|
|
1417
|
+
togglePageSelector: any;
|
|
1418
|
+
get pageSelectorCaption(): any;
|
|
1419
|
+
onContainerScroll(viewPort: any): any;
|
|
1420
|
+
currentPage: PageModel;
|
|
1421
|
+
}
|
|
1422
|
+
export declare class PagesController extends Base {
|
|
1423
|
+
constructor(creator: ICreatorSelectionOwner);
|
|
1424
|
+
creator: ICreatorSelectionOwner;
|
|
1425
|
+
onPagesChanged: EventBase<PagesController>;
|
|
1426
|
+
onCurrentPagesChanged: EventBase<PagesController>;
|
|
1427
|
+
onPageNameChanged: EventBase<PagesController>;
|
|
1428
|
+
pagesChangedFunc: any;
|
|
1429
|
+
currentpagedChangedFunc: any;
|
|
1430
|
+
surveyValue: SurveyModel;
|
|
1431
|
+
get survey(): SurveyModel;
|
|
1432
|
+
get pages(): any;
|
|
1433
|
+
get currentPage(): PageModel;
|
|
1434
|
+
set currentPage(val: PageModel);
|
|
1435
|
+
selectPage(value: PageModel): void;
|
|
1436
|
+
getDisplayName(page: PageModel): string;
|
|
1437
|
+
onSurveyChanged(): void;
|
|
1438
|
+
pageNameChanged(page: PageModel): void;
|
|
1439
|
+
dispose(): void;
|
|
1440
|
+
}
|
|
1441
|
+
export declare class PropertiesHelpTexts {
|
|
1442
|
+
constructor();
|
|
1443
|
+
static instanceValue: PropertiesHelpTexts;
|
|
1444
|
+
static get instance(): PropertiesHelpTexts;
|
|
1445
|
+
locsCache: any;
|
|
1446
|
+
reset(): void;
|
|
1447
|
+
getHelpText(obj: Base, prop: JsonObjectProperty): string;
|
|
1448
|
+
}
|
|
1449
|
+
export declare class PropertyGridComponent extends SurveyElementBase<IPropertyGridComponentProps, any> {
|
|
1450
|
+
constructor(props: any);
|
|
1451
|
+
get model(): any;
|
|
1452
|
+
protected getStateElement(): Base;
|
|
1453
|
+
canRender(): boolean;
|
|
1454
|
+
renderElement(): any;
|
|
1455
|
+
}
|
|
1456
|
+
export declare class PropertyGridModel {
|
|
1457
|
+
constructor(obj?: Base, options?: ISurveyCreatorOptions);
|
|
1458
|
+
surveyValue: SurveyModel;
|
|
1459
|
+
objValue: Base;
|
|
1460
|
+
optionsValue: ISurveyCreatorOptions;
|
|
1461
|
+
titleActionsCreator: PropertyGridTitleActionsCreator;
|
|
1462
|
+
classNameProperty: string;
|
|
1463
|
+
classNameValue: any;
|
|
1464
|
+
currentlySelectedProperty: string;
|
|
1465
|
+
currentlySelectedPanel: PanelModel;
|
|
1466
|
+
objValueChangedCallback: any;
|
|
1467
|
+
changedFromActionCallback: any;
|
|
1468
|
+
refresh(): void;
|
|
1469
|
+
get obj(): Base;
|
|
1470
|
+
set obj(val: Base);
|
|
1471
|
+
selectProperty(propertyName: string, focus?: boolean): void;
|
|
1472
|
+
get options(): ISurveyCreatorOptions;
|
|
1473
|
+
set options(val: ISurveyCreatorOptions);
|
|
1474
|
+
get survey(): SurveyModel;
|
|
1475
|
+
validate(): boolean;
|
|
1476
|
+
collapseCategory(name: string): void;
|
|
1477
|
+
expandCategory(name: string): void;
|
|
1478
|
+
collapseAllCategories(): void;
|
|
1479
|
+
expandAllCategories(): void;
|
|
1480
|
+
protected createSurvey(json: any): SurveyModel;
|
|
1481
|
+
protected getSurveyJSON(): any;
|
|
1482
|
+
isCellCreating: boolean;
|
|
1483
|
+
}
|
|
1484
|
+
export declare class PropertyGridTitleActionsCreator {
|
|
1485
|
+
constructor(obj: Base, options: ISurveyCreatorOptions);
|
|
1486
|
+
obj: Base;
|
|
1487
|
+
onGetQuestionTitleActions(options: any): void;
|
|
1488
|
+
}
|
|
1489
|
+
export declare class PropertyGridViewModel<T> extends Base {
|
|
1490
|
+
constructor(propertyGridModel: PropertyGridModel, creator: any);
|
|
1491
|
+
nextSelectionAction: Action;
|
|
1492
|
+
prevSelectionAction: Action;
|
|
1493
|
+
objectSelectionAction: Action;
|
|
1494
|
+
selectorPopupModel: any;
|
|
1495
|
+
hasPrev: boolean;
|
|
1496
|
+
hasNext: boolean;
|
|
1497
|
+
survey: SurveyModel;
|
|
1498
|
+
selectedElementName: string;
|
|
1499
|
+
protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
|
1500
|
+
}
|
|
1501
|
+
export declare class PropertyJSONGenerator {
|
|
1502
|
+
constructor(obj: Base, options?: ISurveyCreatorOptions, parentObj?: Base, parentProperty?: JsonObjectProperty);
|
|
1503
|
+
obj: Base;
|
|
1504
|
+
static isPropertyReadOnly(prop: JsonObjectProperty, options: ISurveyCreatorOptions, obj: Base, parentObj: Base, parentProperty: JsonObjectProperty): boolean;
|
|
1505
|
+
static getClassNameProperty(obj: Base): string;
|
|
1506
|
+
toJSON(isNested?: boolean, context?: string): any;
|
|
1507
|
+
createColumnsJSON(className: string, names: any): any;
|
|
1508
|
+
setupObjPanel(panel: PanelModelBase, isNestedObj?: boolean, context?: string): void;
|
|
1509
|
+
}
|
|
1510
|
+
export declare class QuestionAdornerComponent extends SurveyElementBase<QuestionAdornerComponentProps, any> {
|
|
1511
|
+
constructor(props: QuestionAdornerComponentProps);
|
|
1512
|
+
modelValue: any;
|
|
1513
|
+
protected rootRef: any;
|
|
1514
|
+
protected createQuestionViewModel(): QuestionAdornerViewModel;
|
|
1515
|
+
get model(): any;
|
|
1516
|
+
protected getStateElement(): Base;
|
|
1517
|
+
protected canRender(): boolean;
|
|
1518
|
+
renderElement(): any;
|
|
1519
|
+
protected renderContent(allowInteractions: boolean): any;
|
|
1520
|
+
protected renderHeader(): any;
|
|
1521
|
+
protected renderFooter(): any;
|
|
1522
|
+
protected renderElementContent(): any;
|
|
1523
|
+
renderElementPlaceholder(): any;
|
|
1524
|
+
}
|
|
1525
|
+
export declare class QuestionConverter {
|
|
1526
|
+
constructor();
|
|
1527
|
+
static convertInfo: any;
|
|
1528
|
+
static addConvertInfo(className: string, convertToClassName: string): void;
|
|
1529
|
+
static getConvertToClasses(className: string, availableTypes?: any, includeCurrent?: boolean): Array<any>;
|
|
1530
|
+
static convertObject(obj: Question, convertToClass: string): Question;
|
|
1531
|
+
}
|
|
1532
|
+
export declare class QuestionEditorContentComponent extends React.Component<IQuestionEditorContentComponentProps, any> implements ISurveyCreator {
|
|
1533
|
+
constructor(props: IQuestionEditorContentComponentProps);
|
|
1534
|
+
get survey(): any;
|
|
1535
|
+
createQuestionElement(question: Question): any;
|
|
1536
|
+
questionTitleLocation(): string;
|
|
1537
|
+
questionErrorLocation(): string;
|
|
1538
|
+
renderError(key: string, error: SurveyError, cssClasses: any): any;
|
|
1539
|
+
render(): any;
|
|
1540
|
+
}
|
|
1541
|
+
export declare class QuestionEmbeddedSurveyModel extends QuestionNonValue {
|
|
1542
|
+
constructor(name: string);
|
|
1543
|
+
embeddedSurvey: SurveyModel;
|
|
1544
|
+
getType(): string;
|
|
1545
|
+
}
|
|
1546
|
+
export declare class QuestionLinkValueModel extends Question {
|
|
1547
|
+
constructor(name: string, json?: any);
|
|
1548
|
+
linkClickCallback: any;
|
|
1549
|
+
resetClickCallback: any;
|
|
1550
|
+
linkSetButtonCssClasses: string;
|
|
1551
|
+
linkClearButtonCssClasses: string;
|
|
1552
|
+
isSelected: boolean;
|
|
1553
|
+
linkValueText: string;
|
|
1554
|
+
showClear: boolean;
|
|
1555
|
+
allowClear: boolean;
|
|
1556
|
+
showValueInLink: boolean;
|
|
1557
|
+
showTooltip: boolean;
|
|
1558
|
+
protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
|
1559
|
+
get tooltip(): string;
|
|
1560
|
+
getType(): string;
|
|
1561
|
+
doLinkClick(): void;
|
|
1562
|
+
doClearClick(): void;
|
|
1563
|
+
}
|
|
1564
|
+
/*
|
|
1565
|
+
* The list of Toolbox items.
|
|
1566
|
+
*/
|
|
1567
|
+
export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToolboxItem> implements IQuestionToolbox {
|
|
1568
|
+
constructor(supportedQuestions?: any, creator?: any);
|
|
1569
|
+
creator: any;
|
|
1570
|
+
static hiddenTypes: any;
|
|
1571
|
+
_orderedQuestions: any;
|
|
1572
|
+
_questionDefaultSettings: any;
|
|
1573
|
+
/*
|
|
1574
|
+
* Modify this array to change the toolbox items order.
|
|
1575
|
+
*/
|
|
1576
|
+
get orderedQuestions(): any;
|
|
1577
|
+
set orderedQuestions(val: any);
|
|
1578
|
+
/*
|
|
1579
|
+
* The maximum number of copied toolbox items. If an user adding copiedItemMaxCount + 1 item, the first added item will be removed.
|
|
1580
|
+
*/
|
|
1581
|
+
copiedItemMaxCount: number;
|
|
1582
|
+
allowExpandMultipleCategoriesValue: boolean;
|
|
1583
|
+
keepAllCategoriesExpandedValue: boolean;
|
|
1584
|
+
dragOrClickHelper: DragOrClickHelper;
|
|
1585
|
+
categories: any;
|
|
1586
|
+
/*
|
|
1587
|
+
* Set and get and active category. This property doesn't work if allowExpandMultipleCategories is true. Its default value is empty.
|
|
1588
|
+
*/
|
|
1589
|
+
activeCategory: string;
|
|
1590
|
+
hasCategories: boolean;
|
|
1591
|
+
canCollapseCategories: boolean;
|
|
1592
|
+
isCompact: boolean;
|
|
1593
|
+
setLocation(toolboxLocation: any): void;
|
|
1594
|
+
/*
|
|
1595
|
+
* The Array of Toolbox items as Text JSON.
|
|
1596
|
+
*/
|
|
1597
|
+
get jsonText(): string;
|
|
1598
|
+
set jsonText(val: string);
|
|
1599
|
+
/*
|
|
1600
|
+
* The Array of copied Toolbox items as Text JSON.
|
|
1601
|
+
*/
|
|
1602
|
+
get copiedJsonText(): string;
|
|
1603
|
+
set copiedJsonText(val: string);
|
|
1604
|
+
/*
|
|
1605
|
+
* The Array of Toolbox items.
|
|
1606
|
+
*/
|
|
1607
|
+
get items(): any;
|
|
1608
|
+
get itemNames(): any;
|
|
1609
|
+
/*
|
|
1610
|
+
* The Array of copied Toolbox items
|
|
1611
|
+
*/
|
|
1612
|
+
get copiedItems(): any;
|
|
1613
|
+
/*
|
|
1614
|
+
* Add toolbox items into the Toolbox
|
|
1615
|
+
*/
|
|
1616
|
+
addItems(items: any, clearAll?: boolean): void;
|
|
1617
|
+
/*
|
|
1618
|
+
* Add a copied Question into Toolbox
|
|
1619
|
+
*/
|
|
1620
|
+
addCopiedItem(question: Question, options?: any): void;
|
|
1621
|
+
addItem(item: IQuestionToolboxItem, index?: number): void;
|
|
1622
|
+
/*
|
|
1623
|
+
* Add a new toolbox item, add delete the old item with the same name
|
|
1624
|
+
*/
|
|
1625
|
+
replaceItem(item: IQuestionToolboxItem): boolean;
|
|
1626
|
+
/*
|
|
1627
|
+
* Remove a toolbox item by its name
|
|
1628
|
+
*/
|
|
1629
|
+
removeItem(name: string): boolean;
|
|
1630
|
+
/*
|
|
1631
|
+
* Remove all toolbox items.
|
|
1632
|
+
*/
|
|
1633
|
+
clearItems(): void;
|
|
1634
|
+
/*
|
|
1635
|
+
* Remove all copied toolbox items.
|
|
1636
|
+
*/
|
|
1637
|
+
clearCopiedItems(): void;
|
|
1638
|
+
/*
|
|
1639
|
+
* Returns toolbox item by its name. Returns null if there is no toolbox item with this name
|
|
1640
|
+
*/
|
|
1641
|
+
getItemByName(name: string): IQuestionToolboxItem;
|
|
1642
|
+
/*
|
|
1643
|
+
* Set it to true, to allow end-user to expand more than one category. There will no active category in this case
|
|
1644
|
+
*/
|
|
1645
|
+
get allowExpandMultipleCategories(): boolean;
|
|
1646
|
+
set allowExpandMultipleCategories(val: boolean);
|
|
1647
|
+
/*
|
|
1648
|
+
* Set it to true to expand all categories and hide expand/collapse category buttons
|
|
1649
|
+
*/
|
|
1650
|
+
get keepAllCategoriesExpanded(): boolean;
|
|
1651
|
+
set keepAllCategoriesExpanded(val: boolean);
|
|
1652
|
+
/*
|
|
1653
|
+
* Change the category of the toolbox item
|
|
1654
|
+
*/
|
|
1655
|
+
changeCategory(name: string, category: string): void;
|
|
1656
|
+
/*
|
|
1657
|
+
* Change categories for several toolbox items.
|
|
1658
|
+
*/
|
|
1659
|
+
changeCategories(changedItems: any): void;
|
|
1660
|
+
toggleCategoryState(categoryName: string): void;
|
|
1661
|
+
/*
|
|
1662
|
+
* Expand a category by its name. If allowExpandMultipleCategories is false (default value), all other categories become collapsed
|
|
1663
|
+
*/
|
|
1664
|
+
expandCategory(categoryName: string): void;
|
|
1665
|
+
/*
|
|
1666
|
+
* Collapse a category by its name. If allowExpandMultipleCategories is false (default value) this function does nothing
|
|
1667
|
+
*/
|
|
1668
|
+
collapseCategory(categoryName: string): void;
|
|
1669
|
+
/*
|
|
1670
|
+
* Expand all categories. If allowExpandMultipleCategories is false (default value) this function does nothing
|
|
1671
|
+
*/
|
|
1672
|
+
expandAllCategories(): void;
|
|
1673
|
+
/*
|
|
1674
|
+
* Collapse all categories. If allowExpandMultipleCategories is false (default value) this function does nothing
|
|
1675
|
+
*/
|
|
1676
|
+
collapseAllCategories(): void;
|
|
1677
|
+
invisibleItemSelected(model: Action): void;
|
|
1678
|
+
protected onItemsChanged(): void;
|
|
1679
|
+
protected createCategory(): QuestionToolboxCategory;
|
|
1680
|
+
dispose(): void;
|
|
1681
|
+
}
|
|
1682
|
+
export declare class QuestionToolboxCategory extends Base {
|
|
1683
|
+
constructor(toolbox: IQuestionToolbox);
|
|
1684
|
+
name: string;
|
|
1685
|
+
items: any;
|
|
1686
|
+
collapsed: boolean;
|
|
1687
|
+
toggleState(): void;
|
|
1688
|
+
}
|
|
1689
|
+
export declare class QuestionToolboxItem extends Action implements IQuestionToolboxItem {
|
|
1690
|
+
constructor(item: IQuestionToolboxItem);
|
|
1691
|
+
iconName: string;
|
|
1692
|
+
name: string;
|
|
1693
|
+
json: any;
|
|
1694
|
+
title: string;
|
|
1695
|
+
tooltip: string;
|
|
1696
|
+
isCopied: boolean;
|
|
1697
|
+
category: string;
|
|
1698
|
+
toJSON(): IQuestionToolboxItem;
|
|
1699
|
+
}
|
|
1700
|
+
export declare class QuestionWrapperFooter extends React.Component<QuestionWrapperFooterProps, any> {
|
|
1701
|
+
constructor(props: any);
|
|
1702
|
+
constructor(props: QuestionWrapperFooterProps, context: any);
|
|
1703
|
+
render(): any;
|
|
1704
|
+
}
|
|
1705
|
+
export declare class QuestionWrapperHeader extends React.Component<QuestionWrapperHeaderProps, any> {
|
|
1706
|
+
constructor(props: any);
|
|
1707
|
+
constructor(props: QuestionWrapperHeaderProps, context: any);
|
|
1708
|
+
render(): any;
|
|
1709
|
+
}
|
|
1710
|
+
export declare class ResizeManager {
|
|
1711
|
+
constructor(container: any, handles: string);
|
|
1712
|
+
originalMouseX: number;
|
|
1713
|
+
originalWidth: number;
|
|
1714
|
+
minWidth: number;
|
|
1715
|
+
maxWidth: number;
|
|
1716
|
+
westResizer: any;
|
|
1717
|
+
eastResizer: any;
|
|
1718
|
+
currentResizer: any;
|
|
1719
|
+
mouseDevice: "mouse" | "pointer" | "touch";
|
|
1720
|
+
events: any;
|
|
1721
|
+
setHandles(newVal: string): void;
|
|
1722
|
+
onMouseDownListener: any;
|
|
1723
|
+
resize: any;
|
|
1724
|
+
stopResize: any;
|
|
1725
|
+
dispose(): void;
|
|
1726
|
+
}
|
|
1727
|
+
export declare class RowViewModel extends Base {
|
|
1728
|
+
constructor(creator: any, row: QuestionRowModel, templateData: SurveyTemplateRendererTemplateData);
|
|
1729
|
+
creator: any;
|
|
1730
|
+
row: QuestionRowModel;
|
|
1731
|
+
templateData: SurveyTemplateRendererTemplateData;
|
|
1732
|
+
get cssClasses(): string;
|
|
1733
|
+
}
|
|
1734
|
+
export declare class RowWrapper extends SurveyElementBase<RowWrapperComponentProps, any> {
|
|
1735
|
+
constructor(props: RowWrapperComponentProps);
|
|
1736
|
+
model: any;
|
|
1737
|
+
protected getStateElement(): Base;
|
|
1738
|
+
render(): any;
|
|
1739
|
+
}
|
|
1740
|
+
export declare class SelectionHistory extends Base {
|
|
1741
|
+
constructor(creator: ICreatorSelectionOwner);
|
|
1742
|
+
creator: ICreatorSelectionOwner;
|
|
1743
|
+
items: any;
|
|
1744
|
+
isChangingInternally: boolean;
|
|
1745
|
+
get hasPrev(): boolean;
|
|
1746
|
+
get hasNext(): boolean;
|
|
1747
|
+
hasInHistory(obj: Base): boolean;
|
|
1748
|
+
prev(): void;
|
|
1749
|
+
next(): void;
|
|
1750
|
+
reset(): void;
|
|
1751
|
+
selectFromAction(obj: Base, propertyName: string): void;
|
|
1752
|
+
onObjSelected(obj: Base): void;
|
|
1753
|
+
}
|
|
1754
|
+
export declare class SideBarComponent extends SurveyElementBase<ISideBarComponentProps, any> {
|
|
1755
|
+
constructor(props: ISideBarComponentProps);
|
|
1756
|
+
containerRef: any;
|
|
1757
|
+
get model(): any;
|
|
1758
|
+
protected getStateElement(): Base;
|
|
1759
|
+
componentDidMount(): void;
|
|
1760
|
+
componentWillUnmount(): void;
|
|
1761
|
+
canRender(): boolean;
|
|
1762
|
+
renderElement(): any;
|
|
1763
|
+
}
|
|
1764
|
+
export declare class SideBarModel extends Base {
|
|
1765
|
+
constructor(creator: any, collapseAction?: any, expandAction?: any);
|
|
1766
|
+
toolbar: any;
|
|
1767
|
+
_expandAction: Action;
|
|
1768
|
+
_collapseAction: Action;
|
|
1769
|
+
_activeTab: SideBarTabModel;
|
|
1770
|
+
onPropertyGridVisibilityChanged: any;
|
|
1771
|
+
resizeManager: ResizeManager;
|
|
1772
|
+
tabs: any;
|
|
1773
|
+
headerText: string;
|
|
1774
|
+
visible: boolean;
|
|
1775
|
+
hasVisibleTabs: boolean;
|
|
1776
|
+
flyoutMode: boolean;
|
|
1777
|
+
activeTab: string;
|
|
1778
|
+
get flyoutPanelMode(): boolean;
|
|
1779
|
+
get closeText(): string;
|
|
1780
|
+
getTabById(id: string): any;
|
|
1781
|
+
getExpandAction(): Action;
|
|
1782
|
+
collapseSideBar(): void;
|
|
1783
|
+
expandSideBar(): void;
|
|
1784
|
+
addTab(id: string, componentName?: string, model?: any, buildActions?: any): SideBarTabModel;
|
|
1785
|
+
updateHasVisibleTabs(): void;
|
|
1786
|
+
dispose(): void;
|
|
1787
|
+
initResizeManager(container: any): void;
|
|
1788
|
+
resetResizeManager(): void;
|
|
1789
|
+
}
|
|
1790
|
+
export declare class SideBarTab extends SurveyElementBase<any, any> {
|
|
1791
|
+
constructor(props: any);
|
|
1792
|
+
protected getStateElement(): Base;
|
|
1793
|
+
renderElement(): any;
|
|
1794
|
+
}
|
|
1795
|
+
export declare class SideBarTabModel extends Base {
|
|
1796
|
+
constructor(id: string, sidePanel: SideBarModel, componentName?: string, model?: any);
|
|
1797
|
+
id: string;
|
|
1798
|
+
sidePanel: SideBarModel;
|
|
1799
|
+
caption: string;
|
|
1800
|
+
visible: boolean;
|
|
1801
|
+
model: any;
|
|
1802
|
+
componentName: string;
|
|
1803
|
+
}
|
|
1804
|
+
export declare class StringEditorViewModelBase extends Base {
|
|
1805
|
+
constructor(locString: LocalizableString, creator: any);
|
|
1806
|
+
blurredByEscape: boolean;
|
|
1807
|
+
focusedProgram: boolean;
|
|
1808
|
+
valueBeforeEdit: string;
|
|
1809
|
+
errorText: string;
|
|
1810
|
+
setLocString(locString: LocalizableString): void;
|
|
1811
|
+
checkConstraints(event: any): void;
|
|
1812
|
+
blurEditor: any;
|
|
1813
|
+
onClick(event: any): void;
|
|
1814
|
+
onFocus(event: any): void;
|
|
1815
|
+
onInput(event: any): void;
|
|
1816
|
+
done(event: any): void;
|
|
1817
|
+
onKeyDown(event: any): boolean;
|
|
1818
|
+
findProperty(): JsonObjectProperty;
|
|
1819
|
+
get maxLength(): number;
|
|
1820
|
+
placeholderValue: string;
|
|
1821
|
+
get placeholder(): string;
|
|
1822
|
+
get contentEditable(): boolean;
|
|
1823
|
+
className(text: any): string;
|
|
1824
|
+
}
|
|
1825
|
+
export declare class StylesManager {
|
|
1826
|
+
constructor();
|
|
1827
|
+
static get currentTheme(): string;
|
|
1828
|
+
static set currentTheme(val: string);
|
|
1829
|
+
static applyTheme(name?: string): void;
|
|
1830
|
+
}
|
|
1831
|
+
export declare class SurveyCreatorComponent extends SurveyElementBase<ISurveyCreatorComponentProps, any> {
|
|
1832
|
+
constructor(props: ISurveyCreatorComponentProps);
|
|
1833
|
+
get creator(): any;
|
|
1834
|
+
protected getStateElement(): Base;
|
|
1835
|
+
componentDidMount(): void;
|
|
1836
|
+
componentWillUnmount(): void;
|
|
1837
|
+
rootNode: any;
|
|
1838
|
+
renderElement(): any;
|
|
1839
|
+
renderActiveTab(): any;
|
|
1840
|
+
renderCreatorTab(tab: any): any;
|
|
1841
|
+
renderSideBar(): any;
|
|
1842
|
+
}
|
|
1843
|
+
export declare class SurveyCreatorToolboxItem extends SurveyElementBase<ISurveyCreatorToolboxItemProps, any> {
|
|
1844
|
+
constructor(props: any);
|
|
1845
|
+
model: any;
|
|
1846
|
+
get item(): any;
|
|
1847
|
+
get creator(): any;
|
|
1848
|
+
protected getStateElement(): Base;
|
|
1849
|
+
render(): any;
|
|
1850
|
+
}
|
|
1851
|
+
export declare class SurveyCreatorToolboxTool extends SurveyElementBase<ISurveyCreatorToolboxItemProps, any> {
|
|
1852
|
+
constructor(props: any);
|
|
1853
|
+
model: any;
|
|
1854
|
+
get item(): any;
|
|
1855
|
+
get creator(): any;
|
|
1856
|
+
get isCompact(): any;
|
|
1857
|
+
protected getStateElement(): Base;
|
|
1858
|
+
render(): any;
|
|
1859
|
+
}
|
|
1860
|
+
export declare class SurveyElementEmbeddedSurvey extends SurveyQuestionElementBase {
|
|
1861
|
+
constructor(props: any);
|
|
1862
|
+
protected get embeddedSurvey(): any;
|
|
1863
|
+
protected get creator(): ISurveyCreator;
|
|
1864
|
+
render(): any;
|
|
1865
|
+
}
|
|
1866
|
+
export declare class SurveyForTextWorker extends SurveyModel {
|
|
1867
|
+
constructor(jsonObj: any);
|
|
1868
|
+
}
|
|
1869
|
+
export declare class SurveyHelper {
|
|
1870
|
+
constructor();
|
|
1871
|
+
static getNewColumnName(objs: any, keyPropName: string, baseName: string): string | number;
|
|
1872
|
+
}
|
|
1873
|
+
export declare class SurveyJSON5 {
|
|
1874
|
+
constructor(parseType?: number);
|
|
1875
|
+
static positionName: string;
|
|
1876
|
+
static escapee: any;
|
|
1877
|
+
static ws: any;
|
|
1878
|
+
endAt: number;
|
|
1879
|
+
at: number;
|
|
1880
|
+
ch: any;
|
|
1881
|
+
text: string;
|
|
1882
|
+
parseType: number;
|
|
1883
|
+
parse(source: any, reviver?: any, startFrom?: number, endAt?: number): any;
|
|
1884
|
+
replacer: any;
|
|
1885
|
+
indentStr: string;
|
|
1886
|
+
objStack: any;
|
|
1887
|
+
stringify(obj: any, replacer?: any, space?: any): any;
|
|
1888
|
+
static cx: any;
|
|
1889
|
+
static escapable: any;
|
|
1890
|
+
static meta: any;
|
|
1891
|
+
}
|
|
1892
|
+
export declare class SurveyLocStringEditor extends SurveyElementBase<any, any> {
|
|
1893
|
+
constructor(props: any);
|
|
1894
|
+
baseModel: any;
|
|
1895
|
+
svStringEditorRef: any;
|
|
1896
|
+
blurredByEscape: boolean;
|
|
1897
|
+
protected getStateElement(): Base;
|
|
1898
|
+
get errorText(): string;
|
|
1899
|
+
componentDidMount(): void;
|
|
1900
|
+
componentWillUnmount(): void;
|
|
1901
|
+
onInput: any;
|
|
1902
|
+
onFocus: any;
|
|
1903
|
+
onKeyDown: any;
|
|
1904
|
+
done: any;
|
|
1905
|
+
edit: any;
|
|
1906
|
+
render(): any;
|
|
1907
|
+
}
|
|
1908
|
+
export declare class SurveyLogic extends Base implements ISurveyLogicItemOwner {
|
|
1909
|
+
constructor(survey: SurveyModel, options?: ISurveyCreatorOptions);
|
|
1910
|
+
survey: SurveyModel;
|
|
1911
|
+
options: ISurveyCreatorOptions;
|
|
1912
|
+
editableItemValue: SurveyLogicItem;
|
|
1913
|
+
static get visibleActions(): any;
|
|
1914
|
+
static set visibleActions(val: any);
|
|
1915
|
+
static get types(): any;
|
|
1916
|
+
invisibleItems: any;
|
|
1917
|
+
onChangedCallback: any;
|
|
1918
|
+
/*
|
|
1919
|
+
* The event is called when logic item is saved.
|
|
1920
|
+
* <br/> options.item is the saved logic item.
|
|
1921
|
+
*/
|
|
1922
|
+
onLogicItemSaved: Event<(sender: SurveyLogic, options: any) => any, any>;
|
|
1923
|
+
/*
|
|
1924
|
+
* The event is called before logic item is saved. You can set options.error to non empty string to show error instead of saving the item.
|
|
1925
|
+
* You can use options.item.actions to access actions and optionally set errorText to a particular action.
|
|
1926
|
+
* <br/> options.item is the editing logic item. options.item.actions contains the old actions.
|
|
1927
|
+
* <br/> options.actions is the array of logic actions that user edit and create.
|
|
1928
|
+
* <br/> usedNamesInExpression - the string list of all variables (questions, calculatedValues, and so on) that are used in expression
|
|
1929
|
+
* <br/> error - the error string. It is empty by default. You have to set it to non-empty string to show the error on saving.
|
|
1930
|
+
*/
|
|
1931
|
+
onLogicItemValidation: Event<(sender: SurveyLogic, options: any) => any, any>;
|
|
1932
|
+
/*
|
|
1933
|
+
* The event is called before logic item is being removed.
|
|
1934
|
+
* <br/> options.allowRemove is the option you can set to false and prevent removing.
|
|
1935
|
+
* <br/> options.item is the logic item to remove.
|
|
1936
|
+
*/
|
|
1937
|
+
onLogicItemRemoving: Event<(sender: SurveyLogic, options: any) => any, any>;
|
|
1938
|
+
/*
|
|
1939
|
+
* The event is called when logic item is removed.
|
|
1940
|
+
* <br/> options.item is the removed logic item.
|
|
1941
|
+
*/
|
|
1942
|
+
onLogicItemRemoved: Event<(sender: SurveyLogic, options: any) => any, any>;
|
|
1943
|
+
koAfterRender: any;
|
|
1944
|
+
dispose(): void;
|
|
1945
|
+
items: any;
|
|
1946
|
+
logicTypes: any;
|
|
1947
|
+
errorText: string;
|
|
1948
|
+
readOnly: boolean;
|
|
1949
|
+
placeholderHtml: string;
|
|
1950
|
+
get editableItem(): SurveyLogicItem;
|
|
1951
|
+
modeValue: string;
|
|
1952
|
+
/*
|
|
1953
|
+
* There are 3 modes: view, new, edit
|
|
1954
|
+
*/
|
|
1955
|
+
get mode(): string;
|
|
1956
|
+
set mode(val: string);
|
|
1957
|
+
getLocString(name: string): any;
|
|
1958
|
+
getTypeByName(name: string): SurveyLogicType;
|
|
1959
|
+
update(survey?: SurveyModel, options?: ISurveyCreatorOptions): void;
|
|
1960
|
+
get optionsReadOnly(): boolean;
|
|
1961
|
+
saveEditableItem(): boolean;
|
|
1962
|
+
saveEditableItemAndBack(): boolean;
|
|
1963
|
+
protected onEditableItemApply(): void;
|
|
1964
|
+
protected onItemChanged(item: SurveyLogicItem, changeType: string): void;
|
|
1965
|
+
renameQuestion(oldName: string, newName: string): void;
|
|
1966
|
+
removeQuestion(name: string): void;
|
|
1967
|
+
hasError(): boolean;
|
|
1968
|
+
getUsedQuestions(): Array<Question>;
|
|
1969
|
+
getUsedActionTypes(): Array<SurveyLogicType>;
|
|
1970
|
+
protected hasErrorInUI(): boolean;
|
|
1971
|
+
protected getExpressionText(): string;
|
|
1972
|
+
protected getEditingActions(): Array<SurveyLogicAction>;
|
|
1973
|
+
addNew(): void;
|
|
1974
|
+
editItem(item: SurveyLogicItem): void;
|
|
1975
|
+
protected onStartEditing(): void;
|
|
1976
|
+
protected onEndEditing(): void;
|
|
1977
|
+
protected canRemoveItem(item: SurveyLogicItem): boolean;
|
|
1978
|
+
removeItem(item: SurveyLogicItem, checkCanRemove?: boolean): void;
|
|
1979
|
+
addAction(lt: SurveyLogicType, element?: Base): SurveyLogicAction;
|
|
1980
|
+
addNewAction(): SurveyLogicAction;
|
|
1981
|
+
getVisibleLogicTypes(): Array<SurveyLogicType>;
|
|
1982
|
+
removeAction(action: SurveyLogicAction): void;
|
|
1983
|
+
getExpressionAsDisplayText(expression: string): string;
|
|
1984
|
+
protected buildItems(showInUI: boolean): Array<SurveyLogicItem>;
|
|
1985
|
+
protected getAllElements(): Array<Base>;
|
|
1986
|
+
protected createLogicTypes(): Array<SurveyLogicType>;
|
|
1987
|
+
}
|
|
1988
|
+
export declare class SurveyLogicAction {
|
|
1989
|
+
constructor(logicType: SurveyLogicType, element: Base, survey: SurveyModel);
|
|
1990
|
+
surveyValue: SurveyModel;
|
|
1991
|
+
logicTypeValue: SurveyLogicType;
|
|
1992
|
+
elementValue: Base;
|
|
1993
|
+
get logicType(): SurveyLogicType;
|
|
1994
|
+
get element(): Base;
|
|
1995
|
+
get parentElement(): Base;
|
|
1996
|
+
get survey(): SurveyModel;
|
|
1997
|
+
apply(expression: string, isRenaming?: boolean): void;
|
|
1998
|
+
renameQuestion(oldName: string, newName: string): void;
|
|
1999
|
+
clone(): SurveyLogicAction;
|
|
2000
|
+
equals(action: SurveyLogicAction): boolean;
|
|
2001
|
+
get name(): string;
|
|
2002
|
+
get logicTypeName(): string;
|
|
2003
|
+
get logicTypeDescription(): string;
|
|
2004
|
+
get text(): string;
|
|
2005
|
+
get deleteActionText(): string;
|
|
2006
|
+
getLocString(name: string): any;
|
|
2007
|
+
isSuitableByQuestionName(questionName: string): boolean;
|
|
2008
|
+
isSuitableByLogicType(logicTypeName: string): boolean;
|
|
2009
|
+
addQuestionNames(names: any): void;
|
|
2010
|
+
get elementName(): string;
|
|
2011
|
+
}
|
|
2012
|
+
export declare class SurveyLogicItem {
|
|
2013
|
+
constructor(owner: ISurveyLogicItemOwner, expression?: string);
|
|
2014
|
+
expression: string;
|
|
2015
|
+
static counter: number;
|
|
2016
|
+
idValue: number;
|
|
2017
|
+
removedActions: any;
|
|
2018
|
+
actionsValue: any;
|
|
2019
|
+
isNew: boolean;
|
|
2020
|
+
isModified: boolean;
|
|
2021
|
+
get actions(): any;
|
|
2022
|
+
get id(): number;
|
|
2023
|
+
get name(): string;
|
|
2024
|
+
get survey(): SurveyModel;
|
|
2025
|
+
getVisibleLogicTypes(): Array<SurveyLogicType>;
|
|
2026
|
+
getDisplayText(): any;
|
|
2027
|
+
edit(): void;
|
|
2028
|
+
remove(): void;
|
|
2029
|
+
get isReadOnly(): boolean;
|
|
2030
|
+
addNewAction(action: SurveyLogicAction): void;
|
|
2031
|
+
removeAction(action: SurveyLogicAction): void;
|
|
2032
|
+
replaceAction(newAction: SurveyLogicAction, oldAction: SurveyLogicAction): void;
|
|
2033
|
+
clone(): SurveyLogicItem;
|
|
2034
|
+
equals(item: SurveyLogicItem): boolean;
|
|
2035
|
+
apply(expression: string): void;
|
|
2036
|
+
renameQuestion(oldName: string, newName: string): void;
|
|
2037
|
+
removeQuestion(name: string): void;
|
|
2038
|
+
getQuestionNames(): Array<any>;
|
|
2039
|
+
getActionTypes(): Array<any>;
|
|
2040
|
+
getContext(): Base;
|
|
2041
|
+
get editText(): string;
|
|
2042
|
+
get deleteText(): string;
|
|
2043
|
+
get ifText(): string;
|
|
2044
|
+
isSuitable(filteredName: string, logicTypeName?: string): boolean;
|
|
2045
|
+
}
|
|
2046
|
+
export declare class SurveyLogicType {
|
|
2047
|
+
constructor(logicType: ISurveyLogicType, survey: SurveyModel, options?: ISurveyCreatorOptions);
|
|
2048
|
+
survey: SurveyModel;
|
|
2049
|
+
options: ISurveyCreatorOptions;
|
|
2050
|
+
static expressionToDisplayText(survey: SurveyModel, options: ISurveyCreatorOptions, expression: string): string;
|
|
2051
|
+
get name(): string;
|
|
2052
|
+
get baseClass(): string;
|
|
2053
|
+
get propertyName(): string;
|
|
2054
|
+
get hasVisibleElements(): boolean;
|
|
2055
|
+
get dynamicPropertyName(): string;
|
|
2056
|
+
get dependedOnPropertyName(): string;
|
|
2057
|
+
get visible(): boolean;
|
|
2058
|
+
get showTitlesInExpression(): boolean;
|
|
2059
|
+
createNewObj(srcObj: Base): Base;
|
|
2060
|
+
cloneElement(el: Base): Base;
|
|
2061
|
+
areElementsEqual(el1: Base, el2: Base): boolean;
|
|
2062
|
+
saveNewElement(el: Base): void;
|
|
2063
|
+
get showInUI(): boolean;
|
|
2064
|
+
get isUniqueItem(): boolean;
|
|
2065
|
+
get questionNames(): any;
|
|
2066
|
+
get displayName(): string;
|
|
2067
|
+
get description(): string;
|
|
2068
|
+
getParentElement(element: Base): Base;
|
|
2069
|
+
get hasSelectorChoices(): boolean;
|
|
2070
|
+
getSelectorChoices(survey: SurveyModel, context: Question): Array<SurveyElement>;
|
|
2071
|
+
getDisplayText(element: Base): string;
|
|
2072
|
+
formatElName(name: string): string;
|
|
2073
|
+
formatExpression(expression: string): string;
|
|
2074
|
+
supportContext(context: Base): boolean;
|
|
2075
|
+
}
|
|
2076
|
+
export declare class SurveyLogicTypes {
|
|
2077
|
+
constructor();
|
|
2078
|
+
static baseTypes: any;
|
|
2079
|
+
static types: any;
|
|
2080
|
+
}
|
|
2081
|
+
export declare class SurveyNavigation extends SurveyElementBase<any, any> {
|
|
2082
|
+
constructor(props: any);
|
|
2083
|
+
componentDidMount(): void;
|
|
2084
|
+
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
2085
|
+
onPropChangedHandler: any;
|
|
2086
|
+
componentWillUnmount(): void;
|
|
2087
|
+
protected get survey(): SurveyModel;
|
|
2088
|
+
protected get location(): string;
|
|
2089
|
+
protected get isTop(): boolean;
|
|
2090
|
+
protected canRender(): boolean;
|
|
2091
|
+
renderElement(): any;
|
|
2092
|
+
}
|
|
2093
|
+
export declare class SurveyPageNavigator extends SurveyElementBase<ISurveyPageNavigatorProps, any> {
|
|
2094
|
+
constructor(props: ISurveyPageNavigatorProps);
|
|
2095
|
+
model: any;
|
|
2096
|
+
containerRef: any;
|
|
2097
|
+
protected getStateElement(): Base;
|
|
2098
|
+
componentDidMount(): void;
|
|
2099
|
+
componentWillUnmount(): void;
|
|
2100
|
+
renderElement(): any;
|
|
2101
|
+
}
|
|
2102
|
+
export declare class SurveyPageNavigatorItem extends SurveyElementBase<any, any> {
|
|
2103
|
+
constructor(props: IAction);
|
|
2104
|
+
protected getStateElement(): Base;
|
|
2105
|
+
renderElement(): any;
|
|
2106
|
+
}
|
|
2107
|
+
export declare class SurveyQuestionEditorDefinition {
|
|
2108
|
+
constructor();
|
|
2109
|
+
static definition: any;
|
|
2110
|
+
}
|
|
2111
|
+
export declare class SurveyQuestionEditorPropertyDefinition {
|
|
2112
|
+
constructor();
|
|
2113
|
+
property: JsonObjectProperty;
|
|
2114
|
+
title: string;
|
|
2115
|
+
category: string;
|
|
2116
|
+
createdFromTabName: boolean;
|
|
2117
|
+
onSameLine: boolean;
|
|
2118
|
+
get name(): string;
|
|
2119
|
+
}
|
|
2120
|
+
export declare class SurveyQuestionEditorTabDefinition {
|
|
2121
|
+
constructor();
|
|
2122
|
+
name: string;
|
|
2123
|
+
title: string;
|
|
2124
|
+
visible: boolean;
|
|
2125
|
+
index: number;
|
|
2126
|
+
properties: any;
|
|
2127
|
+
}
|
|
2128
|
+
export declare class SurveyQuestionLinkValue extends SurveyQuestionElementBase {
|
|
2129
|
+
constructor(props: any);
|
|
2130
|
+
protected get question(): any;
|
|
2131
|
+
protected renderClear(): any;
|
|
2132
|
+
protected renderElement(): any;
|
|
2133
|
+
}
|
|
2134
|
+
export declare class SurveyQuestionProperties {
|
|
2135
|
+
constructor(obj: any, options?: ISurveyCreatorOptions, className?: string, showMode?: string, parentObj?: any, parentProperty?: JsonObjectProperty);
|
|
2136
|
+
obj: any;
|
|
2137
|
+
options: ISurveyCreatorOptions;
|
|
2138
|
+
showModeValue: string;
|
|
2139
|
+
properties: any;
|
|
2140
|
+
propertiesHash: any;
|
|
2141
|
+
tabs: any;
|
|
2142
|
+
getProperty(propertyName: string): JsonObjectProperty;
|
|
2143
|
+
get showMode(): string;
|
|
2144
|
+
get isEmpty(): boolean;
|
|
2145
|
+
getTabByName(tabName: string): SurveyQuestionEditorTabDefinition;
|
|
2146
|
+
getTabs(): Array<SurveyQuestionEditorTabDefinition>;
|
|
2147
|
+
getProperties(tab: SurveyQuestionEditorTabDefinition): Array<JsonObjectProperty>;
|
|
255
2148
|
}
|
|
256
2149
|
export declare class SurveyResults extends SurveyElementBase<ISurveyResultsProps, any> {
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
}
|
|
266
|
-
export {
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
2150
|
+
constructor(props: ISurveyResultsProps);
|
|
2151
|
+
model: any;
|
|
2152
|
+
protected getStateElement(): Base;
|
|
2153
|
+
render(): any;
|
|
2154
|
+
renderResultAsText(): any;
|
|
2155
|
+
renderResultAsTable(): any;
|
|
2156
|
+
renderRows(data: any): Array<Element>;
|
|
2157
|
+
renderRow(row: any): any;
|
|
2158
|
+
}
|
|
2159
|
+
export declare class SurveyResultsItemModel extends Base {
|
|
2160
|
+
constructor(_data: any);
|
|
2161
|
+
collapsed: boolean;
|
|
2162
|
+
items: any;
|
|
2163
|
+
get data(): any;
|
|
2164
|
+
toggle: any;
|
|
2165
|
+
get isNode(): boolean;
|
|
2166
|
+
get name(): boolean;
|
|
2167
|
+
get title(): string;
|
|
2168
|
+
get value(): any;
|
|
2169
|
+
get displayValue(): string;
|
|
2170
|
+
getString(data: any): string;
|
|
2171
|
+
}
|
|
2172
|
+
export declare class SurveyResultsModel extends Base {
|
|
2173
|
+
constructor(survey: SurveyModel);
|
|
2174
|
+
resultViewType: string;
|
|
2175
|
+
resultText: string;
|
|
2176
|
+
resultData: any;
|
|
2177
|
+
getLocString(name: string): any;
|
|
2178
|
+
get surveyResultsText(): any;
|
|
2179
|
+
get resultsTitle(): any;
|
|
2180
|
+
get resultsName(): any;
|
|
2181
|
+
get resultsValue(): any;
|
|
2182
|
+
get resultsDisplayValue(): any;
|
|
2183
|
+
selectTableClick(model: SurveyResultsModel): void;
|
|
2184
|
+
selectJsonClick(model: SurveyResultsModel): void;
|
|
2185
|
+
}
|
|
2186
|
+
export declare class SurveySimulator extends SurveyElementBase<any, any> {
|
|
2187
|
+
constructor(props: any);
|
|
2188
|
+
protected getStateElement(): Base;
|
|
2189
|
+
renderElement(): any;
|
|
2190
|
+
}
|
|
2191
|
+
export declare class SurveySimulatorModel extends Base {
|
|
2192
|
+
constructor();
|
|
2193
|
+
landscape: boolean;
|
|
2194
|
+
survey: SurveyModel;
|
|
2195
|
+
device: string;
|
|
2196
|
+
orientation: string;
|
|
2197
|
+
considerDPI: boolean;
|
|
2198
|
+
simulatorEnabled: boolean;
|
|
2199
|
+
simulatorScaleEnabled: boolean;
|
|
2200
|
+
get activeDevice(): string;
|
|
2201
|
+
set activeDevice(val: string);
|
|
2202
|
+
get landscapeOrientation(): boolean;
|
|
2203
|
+
get hasFrame(): boolean;
|
|
2204
|
+
get simulatorMainCssClass(): "" | "svd-simulator-main--frame";
|
|
2205
|
+
get simulatorFrame(): any;
|
|
2206
|
+
}
|
|
2207
|
+
export declare class SurveyTextWorker {
|
|
2208
|
+
constructor(text: string);
|
|
2209
|
+
text: string;
|
|
2210
|
+
static newLineChar: string;
|
|
2211
|
+
errors: any;
|
|
2212
|
+
surveyValue: SurveyModel;
|
|
2213
|
+
jsonValue: any;
|
|
2214
|
+
surveyObjects: any;
|
|
2215
|
+
get survey(): SurveyModel;
|
|
2216
|
+
get isJsonCorrect(): boolean;
|
|
2217
|
+
protected process(): void;
|
|
2218
|
+
}
|
|
2219
|
+
export declare class SvgBundleComponent extends React.Component {
|
|
2220
|
+
constructor(props: any);
|
|
2221
|
+
containerRef: any;
|
|
2222
|
+
componentDidMount(): void;
|
|
2223
|
+
componentWillUnmount(): void;
|
|
2224
|
+
render(): any;
|
|
270
2225
|
}
|
|
271
2226
|
export declare class TabDesignerComponent extends SurveyElementBase<ITabDesignerComponentProps, any> {
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
2227
|
+
constructor(props: any);
|
|
2228
|
+
protected get creator(): any;
|
|
2229
|
+
protected getStateElements(): Array<Base>;
|
|
2230
|
+
protected renderPages(): Array<Element>;
|
|
2231
|
+
protected renderPage(pageV: PageModel): any;
|
|
2232
|
+
renderElement(): any;
|
|
276
2233
|
}
|
|
277
|
-
export {
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
2234
|
+
export declare class TabDesignerViewModel<T> extends Base {
|
|
2235
|
+
constructor(creator: any);
|
|
2236
|
+
widthUpdater: any;
|
|
2237
|
+
checkNewPageHandler: any;
|
|
2238
|
+
surveyOnPropertyChanged: any;
|
|
2239
|
+
newPage: PageModel;
|
|
2240
|
+
showNewPage: boolean;
|
|
2241
|
+
pageCount: number;
|
|
2242
|
+
withModifier: string;
|
|
2243
|
+
creator: any;
|
|
2244
|
+
get survey(): T;
|
|
2245
|
+
get isToolboxVisible(): boolean;
|
|
2246
|
+
initSurvey(): void;
|
|
2247
|
+
onPagesChangedHandler: any;
|
|
2248
|
+
dispose(): void;
|
|
2249
|
+
clickDesigner(): void;
|
|
2250
|
+
getDesignerCss(): string;
|
|
2251
|
+
getRootCss(): string;
|
|
281
2252
|
}
|
|
282
2253
|
export declare class TabEmbedComponent extends SurveyElementBase<ITabEmbedComponentProps, any> {
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
export {};
|
|
287
|
-
|
|
288
|
-
interface ITabJsonEditorAceComponentProps {
|
|
289
|
-
data: AceJsonEditorModel;
|
|
2254
|
+
constructor(props: any);
|
|
2255
|
+
protected getStateElement(): Base;
|
|
2256
|
+
renderElement(): any;
|
|
290
2257
|
}
|
|
291
2258
|
export declare class TabJsonEditorAceComponent extends SurveyElementBase<ITabJsonEditorAceComponentProps, any> {
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
export {};
|
|
298
|
-
|
|
299
|
-
interface ITabJsonEditorTextareaComponentProps {
|
|
300
|
-
data: TextareaJsonEditorModel;
|
|
2259
|
+
constructor(props: ITabJsonEditorAceComponentProps);
|
|
2260
|
+
aceEditorrRef: any;
|
|
2261
|
+
protected getStateElement(): Base;
|
|
2262
|
+
componentDidMount(): void;
|
|
2263
|
+
renderElement(): any;
|
|
301
2264
|
}
|
|
302
2265
|
export declare class TabJsonEditorTextareaComponent extends SurveyElementBase<ITabJsonEditorTextareaComponentProps, any> {
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
2266
|
+
constructor(props: any);
|
|
2267
|
+
protected getStateElement(): Base;
|
|
2268
|
+
renderElement(): any;
|
|
306
2269
|
}
|
|
307
|
-
export {};
|
|
308
|
-
|
|
309
2270
|
export declare class TabLogicAddButtonComponent extends SurveyElementBase<any, any> {
|
|
310
|
-
|
|
311
|
-
|
|
2271
|
+
constructor(props: any);
|
|
2272
|
+
protected getStateElement(): Base;
|
|
2273
|
+
renderElement(): any;
|
|
312
2274
|
}
|
|
313
2275
|
export declare class TabLogicComponent extends SurveyElementBase<any, any> {
|
|
314
|
-
|
|
315
|
-
|
|
2276
|
+
constructor(props: any);
|
|
2277
|
+
protected getStateElement(): Base;
|
|
2278
|
+
renderElement(): any;
|
|
316
2279
|
}
|
|
317
|
-
|
|
318
2280
|
export declare class TabPreviewSurveyComponent extends SurveyElementBase<any, any> {
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
2281
|
+
constructor(props: any);
|
|
2282
|
+
protected getStateElement(): Base;
|
|
2283
|
+
renderElement(): any;
|
|
2284
|
+
getBottomToolbar(): any;
|
|
2285
|
+
}
|
|
2286
|
+
export declare class TabPreviewTestSurveyAgainComponent extends SurveyElementBase<any, any> {
|
|
2287
|
+
constructor(props: any);
|
|
2288
|
+
protected getStateElement(): Base;
|
|
2289
|
+
renderElement(): any;
|
|
322
2290
|
}
|
|
323
|
-
|
|
324
2291
|
export declare class TabTranslationComponent extends SurveyElementBase<any, any> {
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
2292
|
+
constructor(props: any);
|
|
2293
|
+
protected getStateElement(): Base;
|
|
2294
|
+
renderElement(): any;
|
|
2295
|
+
renderElementContent(): any;
|
|
328
2296
|
}
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
2297
|
+
export declare class TabbedMenuComponent extends SurveyElementBase<ITabbedMenuComponentProps, any> {
|
|
2298
|
+
constructor(props: any);
|
|
2299
|
+
manager: ResponsivityManager;
|
|
2300
|
+
rootRef: any;
|
|
2301
|
+
protected getStateElement(): Base;
|
|
2302
|
+
renderElement(): any;
|
|
2303
|
+
componentDidMount(): void;
|
|
2304
|
+
componentWillUnmount(): void;
|
|
334
2305
|
}
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
item: IQuestionToolboxItem;
|
|
338
|
-
creator: CreatorBase<SurveyModel>;
|
|
339
|
-
isCompact: boolean;
|
|
2306
|
+
export declare class TabbedMenuContainer extends AdaptiveActionContainer<TabbedMenuItem> {
|
|
2307
|
+
constructor();
|
|
340
2308
|
}
|
|
341
|
-
export declare class
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
get creator(): CreatorBase<SurveyModel>;
|
|
346
|
-
get isCompact(): boolean;
|
|
347
|
-
protected getStateElement(): Base;
|
|
348
|
-
render(): JSX.Element;
|
|
2309
|
+
export declare class TabbedMenuItem extends Action implements ITabbedMenuItem {
|
|
2310
|
+
constructor(item: ITabbedMenuItem);
|
|
2311
|
+
componentContent: string;
|
|
2312
|
+
renderTab: any;
|
|
349
2313
|
}
|
|
350
|
-
export declare class
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
protected getStateElement(): Base;
|
|
356
|
-
render(): JSX.Element;
|
|
2314
|
+
export declare class TabbedMenuItemComponent extends SurveyElementBase<ITabbedMenuItemComponentProps, any> {
|
|
2315
|
+
constructor(props: any);
|
|
2316
|
+
get item(): Action;
|
|
2317
|
+
protected getStateElement(): Base;
|
|
2318
|
+
render(): any;
|
|
357
2319
|
}
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
2320
|
+
export declare class TabbedMenuItemWrapper extends SurveyElementBase<any, any> {
|
|
2321
|
+
constructor(props: any);
|
|
2322
|
+
protected getStateElement(): Base;
|
|
2323
|
+
renderElement(): any;
|
|
2324
|
+
}
|
|
2325
|
+
export declare class TestSurveyTabViewModel extends Base {
|
|
2326
|
+
constructor(surveyProvider: any);
|
|
2327
|
+
json: any;
|
|
2328
|
+
pages: any;
|
|
2329
|
+
prevPageAction: Action;
|
|
2330
|
+
testAgainAction: Action;
|
|
2331
|
+
nextPageAction: Action;
|
|
2332
|
+
selectPageAction: Action;
|
|
2333
|
+
pagePopupModel: any;
|
|
2334
|
+
onSurveyCreatedCallback: any;
|
|
2335
|
+
simulator: SurveySimulatorModel;
|
|
2336
|
+
showInvisibleElements: any;
|
|
2337
|
+
showPagesInTestSurveyTab: any;
|
|
2338
|
+
isRunning: boolean;
|
|
2339
|
+
pageListItems: any;
|
|
2340
|
+
activePage: PageModel;
|
|
2341
|
+
get activeLanguage(): string;
|
|
2342
|
+
set activeLanguage(val: string);
|
|
2343
|
+
get survey(): SurveyModel;
|
|
2344
|
+
get pageActions(): any;
|
|
2345
|
+
get isPageToolbarVisible(): boolean;
|
|
2346
|
+
setJSON(json: any): void;
|
|
2347
|
+
initialize(json: any, options: any): void;
|
|
2348
|
+
show(): void;
|
|
2349
|
+
testAgain(): void;
|
|
2350
|
+
buildActions(): void;
|
|
2351
|
+
protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
|
2352
|
+
}
|
|
2353
|
+
export declare class ToolbarActionContainer extends ActionContainer {
|
|
2354
|
+
constructor(creator: any);
|
|
2355
|
+
protected getRenderedActions(): Array<Action>;
|
|
361
2356
|
}
|
|
362
2357
|
export declare class Toolbox extends SurveyElementBase<ISurveyCreatorToolboxProps, any> {
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
2358
|
+
constructor(props: ISurveyCreatorToolboxProps);
|
|
2359
|
+
get creator(): any;
|
|
2360
|
+
get toolbox(): any;
|
|
2361
|
+
protected getStateElement(): Base;
|
|
2362
|
+
render(): any;
|
|
2363
|
+
renderItems(items: any): any;
|
|
2364
|
+
renderCategories(): any;
|
|
2365
|
+
renderCategoryHeader(category: any): any;
|
|
2366
|
+
protected renderCategoryContent(category: any): Array<any>;
|
|
2367
|
+
}
|
|
2368
|
+
export declare class ToolboxToolViewModel extends Base {
|
|
2369
|
+
constructor(item: IQuestionToolboxItem, creator: any);
|
|
2370
|
+
dragOrClickHelper: DragOrClickHelper;
|
|
2371
|
+
click: any;
|
|
2372
|
+
get allowAdd(): boolean;
|
|
2373
|
+
onPointerDown(pointerDownEvent: any): boolean;
|
|
2374
|
+
_node: any;
|
|
2375
|
+
onPointerUp: any;
|
|
2376
|
+
startDragToolboxItem: any;
|
|
2377
|
+
}
|
|
2378
|
+
export declare class Transaction {
|
|
2379
|
+
constructor(_name: string);
|
|
2380
|
+
_actions: any;
|
|
2381
|
+
apply(): void;
|
|
2382
|
+
rollback(): void;
|
|
2383
|
+
addAction(action: any): void;
|
|
2384
|
+
isEmpty(): boolean;
|
|
2385
|
+
get actions(): any;
|
|
2386
|
+
}
|
|
2387
|
+
export declare class Translation extends Base implements ITranslationLocales {
|
|
2388
|
+
constructor(survey: SurveyModel, options?: ISurveyCreatorOptions, hasUI?: boolean);
|
|
2389
|
+
static csvDelimiter: string;
|
|
2390
|
+
static newLineDelimiter: string;
|
|
2391
|
+
exportToCSVFileUI: any;
|
|
2392
|
+
importFromCSVFileUI: any;
|
|
2393
|
+
importFinishedCallback: any;
|
|
2394
|
+
translateItemAfterRenderCallback: any;
|
|
2395
|
+
availableTranlationsChangedCallback: any;
|
|
2396
|
+
tranlationChangedCallback: any;
|
|
2397
|
+
translationStringVisibilityCallback: any;
|
|
2398
|
+
surveyValue: SurveyModel;
|
|
2399
|
+
settingsSurveyValue: SurveyModel;
|
|
2400
|
+
onBaseObjCreatingCallback: any;
|
|
2401
|
+
chooseLanguagePopupModel: any;
|
|
2402
|
+
chooseLanguageActions: any;
|
|
2403
|
+
getType(): string;
|
|
2404
|
+
locales: any;
|
|
2405
|
+
canMergeLocaleWithDefault: boolean;
|
|
2406
|
+
mergeLocaleWithDefaultText: string;
|
|
2407
|
+
readOnly: boolean;
|
|
2408
|
+
root: TranslationGroup;
|
|
2409
|
+
showAllStrings: boolean;
|
|
2410
|
+
filteredPage: PageModel;
|
|
2411
|
+
stringsSurvey: SurveyModel;
|
|
2412
|
+
stringsHeaderSurvey: SurveyModel;
|
|
2413
|
+
isEmpty: boolean;
|
|
2414
|
+
makeObservable(onBaseObjCreating: any): void;
|
|
2415
|
+
fireOnObjCreating(obj: Base): void;
|
|
2416
|
+
get settingsSurvey(): SurveyModel;
|
|
2417
|
+
get localesQuestion(): QuestionCheckboxModel;
|
|
2418
|
+
protected createSettingsSurvey(): SurveyModel;
|
|
2419
|
+
getSurveyLocales(): any;
|
|
2420
|
+
protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
|
2421
|
+
get survey(): SurveyModel;
|
|
2422
|
+
set survey(val: SurveyModel);
|
|
2423
|
+
reset(): void;
|
|
2424
|
+
canShowProperty(obj: Base, prop: JsonObjectProperty, isEmpty: boolean): boolean;
|
|
2425
|
+
get defaultLocale(): string;
|
|
2426
|
+
getLocaleName(loc: string): string;
|
|
2427
|
+
removeLocale(locale: string): void;
|
|
2428
|
+
hasLocale(locale: string): boolean;
|
|
2429
|
+
addLocale(locale: string): void;
|
|
2430
|
+
resetLocales(): void;
|
|
2431
|
+
getSelectedLocales(): Array<any>;
|
|
2432
|
+
setSelectedLocales(selectedLocales: any): void;
|
|
2433
|
+
get noStringsText(): string;
|
|
2434
|
+
exportToCSV(): string;
|
|
2435
|
+
importFromNestedArray(rows: any): void;
|
|
2436
|
+
exportToSCVFile(fileName: string): void;
|
|
2437
|
+
importFromCSVFile(file: any): void;
|
|
2438
|
+
mergeLocaleWithDefault(): void;
|
|
2439
|
+
translateItemAfterRender(item: TranslationItem, el: any, locale: string): void;
|
|
2440
|
+
dispose(): void;
|
|
2441
|
+
}
|
|
2442
|
+
export declare class TranslationItemBase extends Base {
|
|
2443
|
+
constructor(name: string, translation: ITranslationLocales);
|
|
2444
|
+
name: string;
|
|
2445
|
+
get isGroup(): boolean;
|
|
2446
|
+
fillLocales(locales: any): void;
|
|
2447
|
+
mergeLocaleWithDefault(loc: string): void;
|
|
2448
|
+
makeObservable(): void;
|
|
2449
|
+
protected fireOnObjCreating(obj?: Base): void;
|
|
2450
|
+
}
|
|
2451
|
+
export declare class TranslationItemString extends Base {
|
|
2452
|
+
constructor(locString: ILocalizableString, locale: string);
|
|
2453
|
+
locString: ILocalizableString;
|
|
2454
|
+
locale: string;
|
|
2455
|
+
text: string;
|
|
2456
|
+
placeholder: string;
|
|
2457
|
+
protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
|
2458
|
+
getType(): string;
|
|
2459
|
+
}
|
|
2460
|
+
export declare class TranslationLineSkeleton extends React.Component<any, any> {
|
|
2461
|
+
constructor(props: any);
|
|
2462
|
+
constructor(props: any, context: any);
|
|
2463
|
+
render(): any;
|
|
2464
|
+
}
|
|
2465
|
+
export declare class UndoRedoController<T extends SurveyModel = SurveyModel> extends Base {
|
|
2466
|
+
constructor(creator: any);
|
|
2467
|
+
undoAction: Action;
|
|
2468
|
+
redoAction: Action;
|
|
2469
|
+
undoRedoManager: UndoRedoManager;
|
|
2470
|
+
undo(): void;
|
|
2471
|
+
redo(): void;
|
|
2472
|
+
startTransaction(name?: string): void;
|
|
2473
|
+
stopTransaction(): void;
|
|
2474
|
+
createActions(): any;
|
|
2475
|
+
/*
|
|
2476
|
+
* The event is called before undo happens.
|
|
2477
|
+
* <br/> options.canUndo a boolean value. It is true by default. Set it false to hide prevent undo operation.
|
|
2478
|
+
*/
|
|
2479
|
+
onBeforeUndo: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
2480
|
+
/*
|
|
2481
|
+
* The event is called before redo happens.
|
|
2482
|
+
* <br/> options.canRedo a boolean value. It is true by default. Set it false to hide prevent redo operation.
|
|
2483
|
+
*/
|
|
2484
|
+
onBeforeRedo: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
2485
|
+
/*
|
|
2486
|
+
* The event is called after undo happens.
|
|
2487
|
+
* <br/> options.state is an undo/redo item.
|
|
2488
|
+
*/
|
|
2489
|
+
onAfterUndo: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
2490
|
+
/*
|
|
2491
|
+
* The event is called after redo happens.
|
|
2492
|
+
* <br/> options.state is an undo/redo item.
|
|
2493
|
+
*/
|
|
2494
|
+
onAfterRedo: Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
2495
|
+
}
|
|
2496
|
+
export declare class UndoRedoManager {
|
|
2497
|
+
constructor();
|
|
2498
|
+
onPropertyValueChanged(name: string, oldValue: any, newValue: any, sender: Base, arrayChanges: ArrayChanges): void;
|
|
2499
|
+
isCorrectProperty(sender: Base, propertyName: string): boolean;
|
|
2500
|
+
tryMergeTransaction(sender: Base, propertyName: string, newValue: any): boolean;
|
|
2501
|
+
_ignoreChanges: boolean;
|
|
2502
|
+
_isExecuting: boolean;
|
|
2503
|
+
_preparingTransaction: Transaction;
|
|
2504
|
+
_transactions: any;
|
|
2505
|
+
_currentTransactionIndex: number;
|
|
2506
|
+
isCopyObject(sender: Base): void;
|
|
2507
|
+
canUndoRedoCallback(): void;
|
|
2508
|
+
transactionCounter: number;
|
|
2509
|
+
startTransaction(name: string): void;
|
|
2510
|
+
stopTransaction(): void;
|
|
2511
|
+
canUndo(): boolean;
|
|
2512
|
+
undo(): void;
|
|
2513
|
+
canRedo(): boolean;
|
|
2514
|
+
redo(): void;
|
|
2515
|
+
suspend(): void;
|
|
2516
|
+
resume(): void;
|
|
2517
|
+
changesFinishedCallback: any;
|
|
2518
|
+
}
|
|
2519
|
+
export declare class AceJsonEditorModel extends JsonEditorBaseModel {
|
|
2520
|
+
constructor(creator: any);
|
|
2521
|
+
static aceBasePath: string;
|
|
2522
|
+
aceEditor: any;
|
|
2523
|
+
aceCanUndo: boolean;
|
|
2524
|
+
aceCanRedo: boolean;
|
|
2525
|
+
protected getText(): string;
|
|
2526
|
+
protected setText(value: string): void;
|
|
2527
|
+
init(aceEditor: any): void;
|
|
2528
|
+
protected onTextChanged(): void;
|
|
2529
|
+
protected setErrors(errors: any): void;
|
|
2530
|
+
onEditorActivated(): void;
|
|
372
2531
|
}
|
|
373
|
-
|
|
374
2532
|
export declare class AdaptiveToolbox extends Toolbox {
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
2533
|
+
constructor(props: ISurveyCreatorToolboxProps);
|
|
2534
|
+
manager: VerticalResponsivityManager;
|
|
2535
|
+
rootRef: any;
|
|
2536
|
+
componentDidMount(): void;
|
|
2537
|
+
componentWillUnmount(): void;
|
|
2538
|
+
render(): any;
|
|
2539
|
+
renderItems(items: any, isCompact?: boolean): any;
|
|
2540
|
+
protected renderCategoryContent(category: any): Array<any>;
|
|
381
2541
|
}
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
2542
|
+
export declare class EmptySurveyCreatorOptions implements ISurveyCreatorOptions {
|
|
2543
|
+
constructor();
|
|
2544
|
+
alwaySaveTextInPropertyEditors: boolean;
|
|
2545
|
+
readOnly: boolean;
|
|
2546
|
+
maxLogicItemsInCondition: number;
|
|
2547
|
+
showTitlesInExpressions: boolean;
|
|
2548
|
+
showObjectTitles: boolean;
|
|
2549
|
+
allowEditExpressionsInTextEditor: boolean;
|
|
2550
|
+
maximumColumnsCount: number;
|
|
2551
|
+
maximumChoicesCount: number;
|
|
2552
|
+
maximumRowsCount: number;
|
|
2553
|
+
maximumRateValues: number;
|
|
2554
|
+
getObjectDisplayName(obj: Base, reason: string, displayName: string): string;
|
|
2555
|
+
onCanShowPropertyCallback(object: any, property: JsonObjectProperty, showMode: string, parentObj: any, parentProperty: JsonObjectProperty): boolean;
|
|
2556
|
+
onPropertyEditorCreatedCallback(object: any, property: JsonObjectProperty, editor: Question): void;
|
|
2557
|
+
onPropertyEditorUpdateTitleActionsCallback(object: any, property: JsonObjectProperty, editor: Question, titleActions: any): void;
|
|
2558
|
+
onIsPropertyReadOnlyCallback(obj: Base, property: JsonObjectProperty, readOnly: boolean, parentObj: Base, parentProperty: JsonObjectProperty): boolean;
|
|
2559
|
+
onCanDeleteItemCallback(object: any, item: Base, allowDelete: boolean): boolean;
|
|
2560
|
+
onCollectionItemDeletingCallback(obj: Base, property: JsonObjectProperty, collection: any, item: Base): boolean;
|
|
2561
|
+
onCollectionItemAllowingCallback(obj: Base, property: JsonObjectProperty, collection: any, item: Base, options: ICollectionItemAllowOperations): void;
|
|
2562
|
+
onItemValueAddedCallback(obj: Base, propertyName: string, itemValue: ItemValue, itemValues: any): void;
|
|
2563
|
+
onMatrixDropdownColumnAddedCallback(matrix: Question, column: MatrixDropdownColumn, columns: any): void;
|
|
2564
|
+
onSetPropertyEditorOptionsCallback(propertyName: string, obj: Base, editorOptions: any): void;
|
|
2565
|
+
onGetErrorTextOnValidationCallback(propertyName: string, obj: Base, value: any): string;
|
|
2566
|
+
onValueChangingCallback(options: any): void;
|
|
2567
|
+
onGetElementEditorTitleCallback(obj: Base, title: string): string;
|
|
2568
|
+
startUndoRedoTransaction(): void;
|
|
2569
|
+
stopUndoRedoTransaction(): void;
|
|
2570
|
+
createSurvey(json: any, reason: string, surveyType?: any): SurveyModel;
|
|
2571
|
+
onConditionQuestionsGetListCallback(propertyName: string, obj: Base, editor: any, list: any): void;
|
|
2572
|
+
onConditionGetTitleCallback(expression: string, title: string): string;
|
|
385
2573
|
}
|
|
386
|
-
export declare class
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
2574
|
+
export declare class ImageItemValueWrapperViewModel extends ItemValueWrapperViewModel {
|
|
2575
|
+
constructor(creator: any, question: QuestionSelectBase, item: ImageItemValue, templateData: any, itemsRoot: any);
|
|
2576
|
+
question: QuestionSelectBase;
|
|
2577
|
+
item: ImageItemValue;
|
|
2578
|
+
templateData: any;
|
|
2579
|
+
itemsRoot: any;
|
|
2580
|
+
chooseFile(model: ImageItemValueWrapperViewModel): void;
|
|
2581
|
+
chooseNewFile(model: ImageItemValueWrapperViewModel): void;
|
|
392
2582
|
}
|
|
393
|
-
export
|
|
394
|
-
|
|
2583
|
+
export declare class PageViewModel<T> extends ActionContainerViewModel<T> {
|
|
2584
|
+
constructor(creator: any, page: PageModel);
|
|
2585
|
+
isSelected: boolean;
|
|
2586
|
+
isPageLive: boolean;
|
|
2587
|
+
onPageSelectedCallback: any;
|
|
2588
|
+
questionTypeSelectorModel: any;
|
|
2589
|
+
currentAddQuestionType: string;
|
|
2590
|
+
_page: PageModel;
|
|
2591
|
+
protected onElementSelectedChanged(isSelected: boolean): void;
|
|
2592
|
+
dispose(): void;
|
|
2593
|
+
get isGhost(): boolean;
|
|
2594
|
+
protected isOperationsAllow(): boolean;
|
|
2595
|
+
get page(): PageModel;
|
|
2596
|
+
addGhostPage: any;
|
|
2597
|
+
addNewQuestion(model: any, event: IPortableMouseEvent): void;
|
|
2598
|
+
select(model: any, event: IPortableMouseEvent): void;
|
|
2599
|
+
get css(): string;
|
|
2600
|
+
hover(event: any, element: any): void;
|
|
2601
|
+
protected duplicate(): void;
|
|
2602
|
+
get allowEdit(): boolean;
|
|
2603
|
+
get addNewQuestionText(): string;
|
|
395
2604
|
}
|
|
396
|
-
export declare class
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
render(): JSX.Element;
|
|
2605
|
+
export declare class PanelAdornerComponent extends QuestionAdornerComponent {
|
|
2606
|
+
constructor(props: QuestionAdornerComponentProps);
|
|
2607
|
+
renderElementPlaceholder(): any;
|
|
2608
|
+
protected renderFooter(): any;
|
|
401
2609
|
}
|
|
402
|
-
export
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
2610
|
+
export declare class PropertyEditorSetupValue implements IPropertyEditorSetup {
|
|
2611
|
+
constructor(options?: ISurveyCreatorOptions, doSetup?: boolean);
|
|
2612
|
+
editSurveyValue: SurveyModel;
|
|
2613
|
+
protected setupSurvey(): void;
|
|
2614
|
+
get editSurvey(): SurveyModel;
|
|
2615
|
+
hasErrors(): boolean;
|
|
2616
|
+
protected createSurvey(): SurveyModel;
|
|
2617
|
+
protected getSurveyJSON(): any;
|
|
2618
|
+
protected getSurveyCreationReason(): string;
|
|
2619
|
+
apply(): boolean;
|
|
2620
|
+
dispose(): void;
|
|
407
2621
|
}
|
|
408
|
-
export declare class
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
2622
|
+
export declare class PropertyGridEditor implements IPropertyGridEditor {
|
|
2623
|
+
constructor();
|
|
2624
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
2625
|
+
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
2626
|
+
showModalPropertyEditor(editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions, onClose?: any): any;
|
|
2627
|
+
protected onModalPropertyEditorShown(editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): void;
|
|
2628
|
+
protected onModalPropertyEditorClosed(editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions, reason: "apply" | "cancel"): void;
|
|
2629
|
+
isSupportGrouping(): boolean;
|
|
2630
|
+
onUpdateQuestionCssClasses(obj: Base, options: any): void;
|
|
413
2631
|
}
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
2632
|
+
export declare class QuestionAdornerViewModel extends ActionContainerViewModel<SurveyModel> {
|
|
2633
|
+
constructor(creator: any, surveyElement: SurveyElement, templateData: SurveyTemplateRendererTemplateData);
|
|
2634
|
+
templateData: SurveyTemplateRendererTemplateData;
|
|
2635
|
+
isDragged: boolean;
|
|
2636
|
+
currentAddQuestionType: string;
|
|
2637
|
+
dragOrClickHelper: DragOrClickHelper;
|
|
2638
|
+
select(model: QuestionAdornerViewModel, event: IPortableMouseEvent): boolean;
|
|
2639
|
+
rootCss(): "" | " svc-question__adorner--start-with-new-line";
|
|
2640
|
+
css(): string;
|
|
2641
|
+
get isDragMe(): boolean;
|
|
2642
|
+
dragTypeOverMe: any;
|
|
2643
|
+
dispose(): void;
|
|
2644
|
+
get isDraggable(): boolean;
|
|
2645
|
+
hover(event: any, element: any): void;
|
|
2646
|
+
protected updateElementAllowOptions(options: any, operationsAllow: boolean): void;
|
|
2647
|
+
get isEmptyElement(): boolean;
|
|
2648
|
+
get placeholderText(): string;
|
|
2649
|
+
get isRequired(): any;
|
|
2650
|
+
set isRequired(val: any);
|
|
2651
|
+
onPointerDown(pointerDownEvent: any): void;
|
|
2652
|
+
startDragSurveyElement: any;
|
|
2653
|
+
get allowEdit(): boolean;
|
|
2654
|
+
getConvertToTypesActions(): Array<IAction>;
|
|
2655
|
+
protected buildActions(items: any): void;
|
|
2656
|
+
protected duplicate(): void;
|
|
2657
|
+
addNewQuestion(): void;
|
|
2658
|
+
questionTypeSelectorModel: any;
|
|
2659
|
+
get addNewQuestionText(): string;
|
|
424
2660
|
}
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
2661
|
+
export declare class QuestionDropdownAdornerComponent extends QuestionAdornerComponent {
|
|
2662
|
+
constructor(props: QuestionAdornerComponentProps);
|
|
2663
|
+
renderElementPlaceholder(): any;
|
|
2664
|
+
}
|
|
2665
|
+
export declare class QuestionImageAdornerComponent extends QuestionAdornerComponent {
|
|
2666
|
+
constructor(props: QuestionAdornerComponentProps);
|
|
2667
|
+
protected createQuestionViewModel(): QuestionAdornerViewModel;
|
|
2668
|
+
get imageModel(): any;
|
|
2669
|
+
componentDidMount(): void;
|
|
2670
|
+
protected renderHeader(): any;
|
|
2671
|
+
renderElementPlaceholder(): any;
|
|
2672
|
+
}
|
|
2673
|
+
export declare class QuestionRatingAdornerComponent extends QuestionAdornerComponent {
|
|
2674
|
+
constructor(props: QuestionAdornerComponentProps);
|
|
2675
|
+
protected createQuestionViewModel(): QuestionAdornerViewModel;
|
|
2676
|
+
get ratingModel(): any;
|
|
2677
|
+
protected renderFooter(): any;
|
|
2678
|
+
}
|
|
2679
|
+
export declare class QuestionWidgetAdornerComponent extends QuestionAdornerComponent {
|
|
2680
|
+
constructor(props: QuestionAdornerComponentProps);
|
|
2681
|
+
protected createQuestionViewModel(): QuestionAdornerViewModel;
|
|
2682
|
+
get widgetModel(): any;
|
|
2683
|
+
protected renderElementContent(): any;
|
|
428
2684
|
}
|
|
429
|
-
export declare class SideBarComponent extends SurveyElementBase<ISideBarComponentProps, any> {
|
|
430
|
-
get model(): SideBarModel;
|
|
431
|
-
constructor(props: ISideBarComponentProps);
|
|
432
|
-
protected getStateElement(): Base;
|
|
433
|
-
componentDidMount(): void;
|
|
434
|
-
componentWillUnmount(): void;
|
|
435
|
-
canRender(): boolean;
|
|
436
|
-
renderElement(): JSX.Element;
|
|
437
|
-
}
|
|
438
|
-
export default SideBarComponent;
|
|
439
|
-
|
|
440
2685
|
export declare class ReactMouseEvent implements IPortableMouseEvent {
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
2686
|
+
constructor(event: any);
|
|
2687
|
+
event: any;
|
|
2688
|
+
stopPropagation(): void;
|
|
2689
|
+
preventDefault(): void;
|
|
2690
|
+
get cancelBubble(): boolean;
|
|
2691
|
+
set cancelBubble(val: boolean);
|
|
2692
|
+
target: EventTarget;
|
|
2693
|
+
currentTarget: EventTarget;
|
|
2694
|
+
get clientX(): number;
|
|
2695
|
+
get clientY(): number;
|
|
2696
|
+
get offsetX(): number;
|
|
2697
|
+
get offsetY(): number;
|
|
2698
|
+
}
|
|
2699
|
+
export declare class SurveyConditionEditorItem extends ConditionEditorItem {
|
|
2700
|
+
constructor(survey: SurveyModel);
|
|
2701
|
+
survey: SurveyModel;
|
|
2702
|
+
getOperatorText(): string;
|
|
2703
|
+
getValueText(): string;
|
|
2704
|
+
get isValueRequired(): boolean;
|
|
2705
|
+
get isReady(): boolean;
|
|
2706
|
+
toExpression(): string;
|
|
2707
|
+
}
|
|
2708
|
+
export declare class SurveyCreator extends CreatorBase<SurveyModel> {
|
|
2709
|
+
constructor(options?: any, options2?: any);
|
|
2710
|
+
protected createSurveyCore(json: any, reason: string): ReactSurveyModel;
|
|
2711
|
+
render(target: string | HTMLElement): void;
|
|
2712
|
+
createQuestionElement(question: Question): any;
|
|
2713
|
+
renderError(key: string, error: SurveyError, cssClasses: any): any;
|
|
2714
|
+
questionTitleLocation(): string;
|
|
2715
|
+
questionErrorLocation(): string;
|
|
2716
|
+
}
|
|
2717
|
+
export declare class SurveyLogicUI extends SurveyLogic {
|
|
2718
|
+
constructor(survey: SurveyModel, options?: ISurveyCreatorOptions);
|
|
2719
|
+
survey: SurveyModel;
|
|
2720
|
+
options: ISurveyCreatorOptions;
|
|
2721
|
+
expressionEditorValue: ConditionEditor;
|
|
2722
|
+
itemEditorValue: LogicItemEditor;
|
|
2723
|
+
itemsSurveyValue: SurveyModel;
|
|
2724
|
+
expressionEditorIsFastEntry: boolean;
|
|
2725
|
+
expressionEditorCanShowBuilder: boolean;
|
|
2726
|
+
visibleItems: any;
|
|
2727
|
+
itemUIHash: any;
|
|
2728
|
+
addNewButton: Action;
|
|
2729
|
+
update(survey?: SurveyModel, options?: ISurveyCreatorOptions): void;
|
|
2730
|
+
questionFilter: string;
|
|
2731
|
+
actionTypeFilter: string;
|
|
2732
|
+
dispose(): void;
|
|
2733
|
+
addNewUI(): void;
|
|
2734
|
+
toggleExpressionEditorIsFastEntry(): void;
|
|
2735
|
+
protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
|
2736
|
+
get expressionEditor(): ConditionEditor;
|
|
2737
|
+
get itemEditor(): LogicItemEditor;
|
|
2738
|
+
getExpressionEditor(item: SurveyLogicItem): ConditionEditor;
|
|
2739
|
+
getLogicItemEditor(item: SurveyLogicItem): LogicItemEditor;
|
|
2740
|
+
get expressionSurvey(): SurveyModel;
|
|
2741
|
+
get itemEditorSurvey(): SurveyModel;
|
|
2742
|
+
get itemsSurvey(): SurveyModel;
|
|
2743
|
+
get hasItems(): boolean;
|
|
2744
|
+
get matrixItems(): QuestionMatrixDynamicModel;
|
|
2745
|
+
protected onStartEditing(): void;
|
|
2746
|
+
protected onEndEditing(): void;
|
|
2747
|
+
protected onEditableItemApply(): void;
|
|
2748
|
+
protected hasErrorInUI(): boolean;
|
|
2749
|
+
protected getExpressionText(): string;
|
|
2750
|
+
protected getEditingActions(): Array<SurveyLogicAction>;
|
|
2751
|
+
protected getLogicItemSurveyJSON(): any;
|
|
2752
|
+
get addNewText(): string;
|
|
2753
|
+
get emptyTabPlaceHolder(): string;
|
|
2754
|
+
}
|
|
2755
|
+
export declare class TabDesignerPlugin<T> implements ICreatorPlugin {
|
|
2756
|
+
constructor(creator: any);
|
|
2757
|
+
model: any;
|
|
2758
|
+
propertyGrid: any;
|
|
2759
|
+
propertyGridTab: SideBarTabModel;
|
|
2760
|
+
toolboxTab: SideBarTabModel;
|
|
2761
|
+
surveySettingsAction: Action;
|
|
2762
|
+
saveSurveyAction: Action;
|
|
2763
|
+
previewAction: Action;
|
|
2764
|
+
activate(): void;
|
|
2765
|
+
deactivate(): boolean;
|
|
2766
|
+
update(): void;
|
|
2767
|
+
createActions(): any;
|
|
2768
|
+
selectSurvey(): void;
|
|
2769
|
+
addFooterActions(): void;
|
|
2770
|
+
}
|
|
2771
|
+
export declare class TabEmbedPlugin implements ICreatorPlugin {
|
|
2772
|
+
constructor(creator: any);
|
|
2773
|
+
model: EmbedModel;
|
|
2774
|
+
activate(): void;
|
|
2775
|
+
deactivate(): boolean;
|
|
2776
|
+
}
|
|
2777
|
+
export declare class TabJsonEditorBasePlugin implements ICreatorPlugin {
|
|
2778
|
+
constructor(creator: any);
|
|
2779
|
+
model: JsonEditorBaseModel;
|
|
2780
|
+
activate(): void;
|
|
2781
|
+
deactivate(): boolean;
|
|
2782
|
+
protected createModel(creator: any): JsonEditorBaseModel;
|
|
2783
|
+
}
|
|
2784
|
+
export declare class TabLogicPlugin implements ICreatorPlugin {
|
|
2785
|
+
constructor(creator: any);
|
|
2786
|
+
filterQuestionAction: Action;
|
|
2787
|
+
filterActionTypeAction: Action;
|
|
2788
|
+
fastEntryAction: Action;
|
|
2789
|
+
showAllQuestionsText: any;
|
|
2790
|
+
showAllActionTypesText: any;
|
|
2791
|
+
model: SurveyLogicUI;
|
|
2792
|
+
activate(): void;
|
|
2793
|
+
update(): void;
|
|
2794
|
+
deactivate(): boolean;
|
|
2795
|
+
createActions(): any;
|
|
2796
|
+
}
|
|
2797
|
+
export declare class TabTestPlugin implements ICreatorPlugin {
|
|
2798
|
+
constructor(creator: any);
|
|
2799
|
+
languageSelectorAction: Action;
|
|
2800
|
+
languagePopupModel: any;
|
|
2801
|
+
languageListModel: ListModel;
|
|
2802
|
+
deviceSelectorAction: Action;
|
|
2803
|
+
deviceListModel: ListModel;
|
|
2804
|
+
orientationSelectorAction: Action;
|
|
2805
|
+
invisibleToggleAction: Action;
|
|
2806
|
+
testAgainAction: Action;
|
|
2807
|
+
designerAction: Action;
|
|
2808
|
+
prevPageAction: Action;
|
|
2809
|
+
nextPageAction: Action;
|
|
2810
|
+
model: TestSurveyTabViewModel;
|
|
2811
|
+
activate(): void;
|
|
2812
|
+
update(): void;
|
|
2813
|
+
deactivate(): boolean;
|
|
2814
|
+
createActions(): any;
|
|
2815
|
+
addFooterActions(): void;
|
|
2816
|
+
}
|
|
2817
|
+
export declare class TabTranslationPlugin implements ICreatorPlugin {
|
|
2818
|
+
constructor(creator: any);
|
|
2819
|
+
showAllStringsAction: Action;
|
|
2820
|
+
filterPageAction: Action;
|
|
2821
|
+
mergeLocaleWithDefaultAction: Action;
|
|
2822
|
+
importCsvAction: Action;
|
|
2823
|
+
exportCsvAction: Action;
|
|
2824
|
+
inputFileElement: any;
|
|
2825
|
+
pagePopupModel: any;
|
|
2826
|
+
sideBarTab: SideBarTabModel;
|
|
2827
|
+
model: Translation;
|
|
2828
|
+
activate(): void;
|
|
2829
|
+
update(): void;
|
|
2830
|
+
deactivate(): boolean;
|
|
2831
|
+
get selectLanguageOptionsCaption(): any;
|
|
2832
|
+
get showAllStringsText(): string;
|
|
2833
|
+
get showAllPagesText(): string;
|
|
2834
|
+
get exportToCSVText(): string;
|
|
2835
|
+
get importFromCSVText(): string;
|
|
2836
|
+
createActions(): any;
|
|
2837
|
+
}
|
|
2838
|
+
export declare class TextareaJsonEditorModel extends JsonEditorBaseModel {
|
|
2839
|
+
constructor(creator: any);
|
|
2840
|
+
protected _text: string;
|
|
2841
|
+
_errors: any;
|
|
2842
|
+
ariaLabel: string;
|
|
2843
|
+
canShowErrors: boolean;
|
|
2844
|
+
checkKey(data: any, e: any): boolean;
|
|
2845
|
+
protected getText(): string;
|
|
2846
|
+
protected setText(value: string): void;
|
|
2847
|
+
get errorButtonText(): string;
|
|
2848
|
+
toggleErrors(): void;
|
|
2849
|
+
get userFriendlyErrors(): any;
|
|
2850
|
+
get errors(): any;
|
|
2851
|
+
protected onTextChanged(): void;
|
|
2852
|
+
protected setErrors(errors: any): void;
|
|
2853
|
+
}
|
|
2854
|
+
export declare class TranslationGroup extends TranslationItemBase {
|
|
2855
|
+
constructor(name: any, obj: any, translation?: ITranslationLocales, text?: string, hasIndent?: boolean);
|
|
2856
|
+
name: any;
|
|
2857
|
+
obj: any;
|
|
2858
|
+
text: string;
|
|
2859
|
+
hasIndent: boolean;
|
|
2860
|
+
isRootValue: boolean;
|
|
2861
|
+
itemValues: any;
|
|
2862
|
+
getType(): string;
|
|
2863
|
+
showHeader: boolean;
|
|
2864
|
+
get items(): any;
|
|
2865
|
+
get locItems(): any;
|
|
2866
|
+
get isRoot(): boolean;
|
|
2867
|
+
setAsRoot(): void;
|
|
2868
|
+
getItemByName(name: string): TranslationItemBase;
|
|
2869
|
+
get groups(): any;
|
|
2870
|
+
get isGroup(): boolean;
|
|
2871
|
+
get locales(): any;
|
|
2872
|
+
get removeLocaleText(): any;
|
|
2873
|
+
get localeCount(): number;
|
|
2874
|
+
get locWidth(): string;
|
|
2875
|
+
getLocaleName(loc: string): string;
|
|
2876
|
+
removeLocale: any;
|
|
2877
|
+
reset(): void;
|
|
2878
|
+
fillLocales(locales: any): void;
|
|
2879
|
+
makeObservable(): void;
|
|
2880
|
+
get showAllStrings(): boolean;
|
|
2881
|
+
get hasItems(): boolean;
|
|
2882
|
+
mergeLocaleWithDefault(loc: string): void;
|
|
2883
|
+
}
|
|
2884
|
+
export declare class TranslationItem extends TranslationItemBase {
|
|
2885
|
+
constructor(name: string, locString: ILocalizableString, defaultValue: string, translation: ITranslationLocales, context: any, property?: JsonObjectProperty);
|
|
2886
|
+
name: string;
|
|
2887
|
+
locString: ILocalizableString;
|
|
2888
|
+
defaultValue: string;
|
|
2889
|
+
hashValues: any;
|
|
2890
|
+
customText: string;
|
|
2891
|
+
afterRender: any;
|
|
2892
|
+
get maxLength(): number;
|
|
2893
|
+
makeObservable(): void;
|
|
2894
|
+
getType(): string;
|
|
2895
|
+
readOnly: boolean;
|
|
2896
|
+
get text(): string;
|
|
2897
|
+
get localizableName(): string;
|
|
2898
|
+
getLocText(loc: string): string;
|
|
2899
|
+
setLocText(loc: string, newValue: string): void;
|
|
2900
|
+
values(loc: string): TranslationItemString;
|
|
2901
|
+
fillLocales(locales: any): void;
|
|
2902
|
+
toJSON(): any;
|
|
2903
|
+
mergeLocaleWithDefault(loc: string): void;
|
|
2904
|
+
}
|
|
2905
|
+
export declare class UndoRedoAction implements IUndoRedoAction {
|
|
2906
|
+
constructor(_propertyName: string, _oldValue: any, _newValue: any, _sender: Base);
|
|
2907
|
+
apply(): void;
|
|
2908
|
+
rollback(): void;
|
|
2909
|
+
getChanges(): IUndoRedoChange;
|
|
2910
|
+
tryMerge(sender: Base, propertyName: string, newValue: any): boolean;
|
|
2911
|
+
}
|
|
2912
|
+
export declare class UndoRedoArrayAction implements IUndoRedoAction {
|
|
2913
|
+
constructor(_propertyName: string, _sender: Base, arrayChanges: ArrayChanges);
|
|
2914
|
+
_index: number;
|
|
2915
|
+
_itemsToAdd: any;
|
|
2916
|
+
_deletedItems: any;
|
|
2917
|
+
apply(): void;
|
|
2918
|
+
rollback(): void;
|
|
2919
|
+
getChanges(): IUndoRedoChange;
|
|
2920
|
+
tryMerge(sender: Base, propertyName: string, newValue: any): boolean;
|
|
2921
|
+
}
|
|
2922
|
+
export declare class CellsEditor extends PropertyEditorSetupValue {
|
|
2923
|
+
constructor(matrix: QuestionMatrixModel, options?: ISurveyCreatorOptions);
|
|
2924
|
+
matrix: QuestionMatrixModel;
|
|
2925
|
+
editMatrixValue: QuestionMatrixDropdownModel;
|
|
2926
|
+
protected getSurveyJSON(): any;
|
|
2927
|
+
protected getSurveyCreationReason(): string;
|
|
2928
|
+
get editMatrix(): QuestionMatrixDropdownModel;
|
|
2929
|
+
apply(): boolean;
|
|
2930
|
+
}
|
|
2931
|
+
export declare class ConditionEditor extends PropertyEditorSetupValue {
|
|
2932
|
+
constructor(survey: SurveyModel, object?: Base, options?: ISurveyCreatorOptions, propertyName?: string);
|
|
2933
|
+
static canParseExpression(text: string): boolean;
|
|
2934
|
+
static canBuildExpression(text: string): boolean;
|
|
2935
|
+
objectValue: Base;
|
|
2936
|
+
surveyValue: SurveyModel;
|
|
2937
|
+
contextValue: Question;
|
|
2938
|
+
panelValue: QuestionPanelDynamicModel;
|
|
2939
|
+
textEditorValue: QuestionCommentModel;
|
|
2940
|
+
addConditionQuestionsHash: any;
|
|
2941
|
+
isModalValue: boolean;
|
|
2942
|
+
allConditionQuestions: any;
|
|
2943
|
+
onContextChanged: any;
|
|
2944
|
+
get title(): string;
|
|
2945
|
+
set title(val: string);
|
|
2946
|
+
get isModal(): boolean;
|
|
2947
|
+
set isModal(val: boolean);
|
|
2948
|
+
protected getSurveyJSON(): any;
|
|
2949
|
+
protected getSurveyCreationReason(): string;
|
|
2950
|
+
get text(): string;
|
|
2951
|
+
set text(val: string);
|
|
2952
|
+
isModified(prevText: string): boolean;
|
|
2953
|
+
get context(): Question;
|
|
2954
|
+
set context(val: Question);
|
|
2955
|
+
get survey(): SurveyModel;
|
|
2956
|
+
get object(): Base;
|
|
2957
|
+
get panel(): QuestionPanelDynamicModel;
|
|
2958
|
+
get textEditor(): QuestionCommentModel;
|
|
2959
|
+
get isReady(): boolean;
|
|
2960
|
+
apply(): boolean;
|
|
2961
|
+
setIsFastEntry(showTextEdit: boolean): void;
|
|
2962
|
+
isSettingPanelValues: boolean;
|
|
2963
|
+
calculatedValueQuestion: Question;
|
|
2964
|
+
rebuildQuestionValueOnOperandChanging(panel: PanelModel): void;
|
|
2965
|
+
}
|
|
2966
|
+
export declare class DefaultValueEditor extends PropertyEditorSetupValue {
|
|
2967
|
+
constructor(editQuestion: Question, propertyName: string, options?: ISurveyCreatorOptions);
|
|
2968
|
+
editQuestion: Question;
|
|
2969
|
+
get question(): Question;
|
|
2970
|
+
protected getSurveyJSON(): any;
|
|
2971
|
+
protected getQuestionJSON(): any;
|
|
2972
|
+
protected getQuestionValue(): any;
|
|
2973
|
+
protected getEditValue(): any;
|
|
2974
|
+
protected getSurveyCreationReason(): string;
|
|
2975
|
+
apply(): boolean;
|
|
2976
|
+
}
|
|
2977
|
+
export declare class FastEntryEditor extends PropertyEditorSetupValue {
|
|
2978
|
+
constructor(choices: any, options?: ISurveyCreatorOptions, className?: string, names?: any);
|
|
2979
|
+
choices: any;
|
|
2980
|
+
static applyItemValueArray(dest: any, src: any, names?: any): void;
|
|
2981
|
+
commentValue: QuestionCommentModel;
|
|
2982
|
+
protected getSurveyJSON(): any;
|
|
2983
|
+
protected getSurveyCreationReason(): string;
|
|
2984
|
+
get comment(): QuestionCommentModel;
|
|
2985
|
+
apply(): boolean;
|
|
2986
|
+
setComment(): void;
|
|
2987
|
+
}
|
|
2988
|
+
export declare class LogicItemEditor extends PropertyEditorSetupValue {
|
|
2989
|
+
constructor(editableItem: SurveyLogicItem, options?: ISurveyCreatorOptions);
|
|
2990
|
+
logicTypeChoices: any;
|
|
2991
|
+
editableItemValue: SurveyLogicItem;
|
|
2992
|
+
isBuildingPanels: boolean;
|
|
2993
|
+
titleActionsCreator: PropertyGridTitleActionsCreator;
|
|
2994
|
+
initialSelectedElements: any;
|
|
2995
|
+
isModifiedValue: boolean;
|
|
2996
|
+
contextValue: Question;
|
|
2997
|
+
get editableItem(): SurveyLogicItem;
|
|
2998
|
+
setEditableItem(val: SurveyLogicItem): void;
|
|
2999
|
+
get survey(): SurveyModel;
|
|
3000
|
+
get isModified(): boolean;
|
|
3001
|
+
get panel(): QuestionPanelDynamicModel;
|
|
3002
|
+
get panels(): any;
|
|
3003
|
+
getPanelByAction(action: SurveyLogicAction): PanelModel;
|
|
3004
|
+
getActionByPanel(panel: PanelModel): SurveyLogicAction;
|
|
3005
|
+
get context(): Question;
|
|
3006
|
+
set context(val: Question);
|
|
3007
|
+
protected getSurveyJSON(): any;
|
|
3008
|
+
protected getSurveyCreationReason(): string;
|
|
3009
|
+
resetModified(): void;
|
|
3010
|
+
apply(): boolean;
|
|
3011
|
+
getEditingActions(): Array<SurveyLogicAction>;
|
|
3012
|
+
getLocString(name: string): string;
|
|
3013
|
+
selectorElementsHash: any;
|
|
3014
|
+
}
|
|
3015
|
+
export declare class PropertyGridEditorBindings extends PropertyGridEditor {
|
|
3016
|
+
constructor();
|
|
3017
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3018
|
+
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
3019
|
+
onMatrixCellCreated(obj: Base, options: any): void;
|
|
3020
|
+
onMatrixCellValueChanged(obj: Base, options: any): void;
|
|
3021
|
+
}
|
|
3022
|
+
export declare class PropertyGridEditorBoolean extends PropertyGridEditor {
|
|
3023
|
+
constructor();
|
|
3024
|
+
fit(prop: JsonObjectProperty, context?: string): boolean;
|
|
3025
|
+
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
3026
|
+
isSupportGrouping(): boolean;
|
|
3027
|
+
}
|
|
3028
|
+
export declare class PropertyGridEditorColor extends PropertyGridEditor {
|
|
3029
|
+
constructor();
|
|
3030
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3031
|
+
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
3032
|
+
}
|
|
3033
|
+
export declare class PropertyGridEditorDropdown extends PropertyGridEditor {
|
|
3034
|
+
constructor();
|
|
3035
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3036
|
+
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
3037
|
+
protected get canRenderAsButtonGroup(): boolean;
|
|
3038
|
+
protected renderAsButtonGroup(prop: JsonObjectProperty, choices: any): boolean;
|
|
3039
|
+
onCreated(obj: Base, question: Question, prop: JsonObjectProperty): void;
|
|
3040
|
+
onMasterValueChanged(obj: Base, prop: JsonObjectProperty, question: Question): void;
|
|
3041
|
+
}
|
|
3042
|
+
export declare class PropertyGridEditorExpression extends PropertyGridEditor {
|
|
3043
|
+
constructor();
|
|
3044
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3045
|
+
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
3046
|
+
clearPropertyValue(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): void;
|
|
3047
|
+
}
|
|
3048
|
+
export declare class PropertyGridEditorMatrix extends PropertyGridEditor {
|
|
3049
|
+
constructor();
|
|
3050
|
+
onCreated(obj: Base, question: Question, prop: JsonObjectProperty): void;
|
|
3051
|
+
onMatrixCellCreated(obj: Base, options: any): void;
|
|
3052
|
+
onGetMatrixRowAction(obj: Base, options: any, setObjFunc: any): void;
|
|
3053
|
+
onGetQuestionTitleActions(obj: Base, options: any): void;
|
|
3054
|
+
onValueChanged(obj: Base, prop: JsonObjectProperty, question: Question): void;
|
|
3055
|
+
protected updateTitleActions(question: Question): void;
|
|
3056
|
+
protected createNewItem(matrix: QuestionMatrixDynamicModel, prop: JsonObjectProperty): Base;
|
|
3057
|
+
protected getDefaultClassName(prop: JsonObjectProperty): string;
|
|
3058
|
+
protected getBaseValue(prop: JsonObjectProperty): string;
|
|
3059
|
+
protected getKeyValue(): string;
|
|
3060
|
+
protected getColumnNames(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): Array<any>;
|
|
3061
|
+
protected getColumnClassName(obj: Base, prop: JsonObjectProperty): string;
|
|
3062
|
+
protected getPropertiesNames(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): Array<any>;
|
|
3063
|
+
protected getDefinedListProperties(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): Array<any>;
|
|
3064
|
+
protected getDefaultListProperties(prop: JsonObjectProperty): Array<any>;
|
|
3065
|
+
protected getDefaulColumnNames(): Array<any>;
|
|
3066
|
+
protected getObjTypeName(): string;
|
|
3067
|
+
protected hasDetailPanel(): boolean;
|
|
3068
|
+
hasPropertiesInDetail: boolean;
|
|
3069
|
+
protected setupMatrixQuestion(obj: Base, matrix: QuestionMatrixDynamicModel, prop: JsonObjectProperty): void;
|
|
3070
|
+
protected getAllowRowDragDrop(): boolean;
|
|
3071
|
+
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
3072
|
+
protected getMatrixJSON(obj: Base, prop: JsonObjectProperty, propNames: any, options: ISurveyCreatorOptions): any;
|
|
3073
|
+
protected getHideColumnsEmpty(prop: JsonObjectProperty): boolean;
|
|
3074
|
+
protected getEmptyRowsText(props: any): any;
|
|
3075
|
+
protected getMaximumRowCount(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): number;
|
|
3076
|
+
protected getColumnsJSON(obj: Base, prop: JsonObjectProperty, propNames: any, options: ISurveyCreatorOptions): any;
|
|
3077
|
+
protected getEditItemAsStandAlone(): boolean;
|
|
3078
|
+
protected getShowDetailPanelOnAdding(): boolean;
|
|
3079
|
+
}
|
|
3080
|
+
export declare class PropertyGridEditorNumber extends PropertyGridEditor {
|
|
3081
|
+
constructor();
|
|
3082
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3083
|
+
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
3084
|
+
}
|
|
3085
|
+
export declare class PropertyGridEditorQuestion extends PropertyGridEditor {
|
|
3086
|
+
constructor();
|
|
3087
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3088
|
+
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
3089
|
+
protected getQuestions(survey: SurveyModel, obj: Base): Array<Question>;
|
|
3090
|
+
protected getItemValue(question: Question): any;
|
|
3091
|
+
}
|
|
3092
|
+
export declare class PropertyGridEditorStringArray extends PropertyGridEditor {
|
|
3093
|
+
constructor();
|
|
3094
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3095
|
+
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
3096
|
+
onCreated(obj: Base, question: Question, prop: JsonObjectProperty): void;
|
|
3097
|
+
}
|
|
3098
|
+
export declare class PropertyGridEditorStringBase extends PropertyGridEditor {
|
|
3099
|
+
constructor();
|
|
3100
|
+
protected updateMaxLength(prop: JsonObjectProperty, json: any): any;
|
|
3101
|
+
}
|
|
3102
|
+
export declare class PropertyGridValueEditorBase extends PropertyGridEditor {
|
|
3103
|
+
constructor();
|
|
3104
|
+
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
3105
|
+
onCreated: any;
|
|
3106
|
+
clearPropertyValue(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): void;
|
|
3107
|
+
protected isValueEmpty(val: any): boolean;
|
|
3108
|
+
isSupportGrouping(): boolean;
|
|
3109
|
+
}
|
|
3110
|
+
export declare class QuestionImageAdornerViewModel extends QuestionAdornerViewModel {
|
|
3111
|
+
constructor(creator: any, surveyElement: SurveyElement, templateData: SurveyTemplateRendererTemplateData, questionRoot: any);
|
|
3112
|
+
questionRoot: any;
|
|
3113
|
+
chooseFile(model: QuestionImageAdornerViewModel): void;
|
|
3114
|
+
}
|
|
3115
|
+
export declare class QuestionRatingAdornerViewModel extends QuestionAdornerViewModel {
|
|
3116
|
+
constructor(creator: any, surveyElement: SurveyElement, templateData: SurveyTemplateRendererTemplateData);
|
|
3117
|
+
get question(): QuestionRatingModel;
|
|
3118
|
+
addItem(model: QuestionRatingAdornerViewModel): void;
|
|
3119
|
+
removeItem(model: QuestionRatingAdornerViewModel): void;
|
|
3120
|
+
get allowAdd(): boolean;
|
|
3121
|
+
get allowRemove(): boolean;
|
|
3122
|
+
get addTooltip(): any;
|
|
3123
|
+
get removeTooltip(): any;
|
|
453
3124
|
}
|
|
454
3125
|
export declare class ReactDragEvent extends ReactMouseEvent implements IPortableDragEvent {
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
3126
|
+
constructor(event: any);
|
|
3127
|
+
event: any;
|
|
3128
|
+
get dataTransfer(): any;
|
|
458
3129
|
}
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
model: PropertyGridViewModel<SurveyModel>;
|
|
3130
|
+
export declare class TabJsonEditorAcePlugin extends TabJsonEditorBasePlugin implements ICreatorPlugin {
|
|
3131
|
+
constructor(creator: any);
|
|
3132
|
+
protected createModel(creator: any): JsonEditorBaseModel;
|
|
3133
|
+
static hasAceEditor(): boolean;
|
|
464
3134
|
}
|
|
465
|
-
export declare class
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
canRender(): boolean;
|
|
469
|
-
renderElement(): JSX.Element;
|
|
3135
|
+
export declare class TabJsonEditorTextareaPlugin extends TabJsonEditorBasePlugin implements ICreatorPlugin {
|
|
3136
|
+
constructor(creator: any);
|
|
3137
|
+
protected createModel(creator: any): JsonEditorBaseModel;
|
|
470
3138
|
}
|
|
471
|
-
export
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
3139
|
+
export declare class DefaultArrayValueEditor extends DefaultValueEditor {
|
|
3140
|
+
constructor(editQuestion: Question, propertyName: string, options?: ISurveyCreatorOptions);
|
|
3141
|
+
editQuestion: Question;
|
|
3142
|
+
protected getQuestionValue(): any;
|
|
3143
|
+
protected getEditValue(): any;
|
|
475
3144
|
}
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
3145
|
+
export declare class PropertyGridCellsEditor extends PropertyGridValueEditorBase {
|
|
3146
|
+
constructor();
|
|
3147
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3148
|
+
createPropertyEditorSetup(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): IPropertyEditorSetup;
|
|
3149
|
+
clearPropertyValue(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): void;
|
|
3150
|
+
protected isValueEmpty(val: any): boolean;
|
|
480
3151
|
}
|
|
481
|
-
|
|
3152
|
+
export declare class PropertyGridEditorCondition extends PropertyGridEditorExpression {
|
|
3153
|
+
constructor();
|
|
3154
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3155
|
+
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
3156
|
+
createPropertyEditorSetup(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): IPropertyEditorSetup;
|
|
3157
|
+
}
|
|
3158
|
+
export declare class PropertyGridEditorHtml extends PropertyGridEditorStringBase {
|
|
3159
|
+
constructor();
|
|
3160
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3161
|
+
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
3162
|
+
}
|
|
3163
|
+
export declare class PropertyGridEditorMatrixCalculatedValues extends PropertyGridEditorMatrix {
|
|
3164
|
+
constructor();
|
|
3165
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3166
|
+
protected getColumnClassName(obj: Base, prop: JsonObjectProperty): string;
|
|
3167
|
+
protected getDefaulColumnNames(): Array<any>;
|
|
3168
|
+
protected getKeyValue(): string;
|
|
3169
|
+
protected getBaseValue(prop: JsonObjectProperty): string;
|
|
3170
|
+
protected getShowDetailPanelOnAdding(): boolean;
|
|
3171
|
+
}
|
|
3172
|
+
export declare class PropertyGridEditorMatrixColumns extends PropertyGridEditorMatrix {
|
|
3173
|
+
constructor();
|
|
3174
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3175
|
+
protected getEditItemAsStandAlone(): boolean;
|
|
3176
|
+
protected getDefaulColumnNames(): Array<any>;
|
|
3177
|
+
protected getKeyValue(): string;
|
|
3178
|
+
protected getBaseValue(prop: JsonObjectProperty): string;
|
|
3179
|
+
protected getMaximumRowCount(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): number;
|
|
3180
|
+
protected getAllowRowDragDrop(): boolean;
|
|
3181
|
+
}
|
|
3182
|
+
export declare class PropertyGridEditorMatrixHtmlConditions extends PropertyGridEditorMatrix {
|
|
3183
|
+
constructor();
|
|
3184
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3185
|
+
protected getDefaulColumnNames(): Array<any>;
|
|
3186
|
+
protected getShowDetailPanelOnAdding(): boolean;
|
|
3187
|
+
}
|
|
3188
|
+
export declare class PropertyGridEditorMatrixItemValues extends PropertyGridEditorMatrix {
|
|
3189
|
+
constructor();
|
|
3190
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3191
|
+
isPropertyEditorSetupEnabled(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): boolean;
|
|
3192
|
+
protected getAllowRowDragDrop(): boolean;
|
|
3193
|
+
createPropertyEditorSetup(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): IPropertyEditorSetup;
|
|
3194
|
+
canClearPropertyValue(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): boolean;
|
|
3195
|
+
clearPropertyValue(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): void;
|
|
3196
|
+
protected getColumnClassName(obj: Base, prop: JsonObjectProperty): string;
|
|
3197
|
+
protected getDefaulColumnNames(): Array<any>;
|
|
3198
|
+
protected getKeyValue(): string;
|
|
3199
|
+
protected getHideColumnsEmpty(prop: JsonObjectProperty): boolean;
|
|
3200
|
+
protected getEmptyRowsText(prop: any): any;
|
|
3201
|
+
protected getMaximumRowCount(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): number;
|
|
3202
|
+
}
|
|
3203
|
+
export declare class PropertyGridEditorMatrixMultipleTypes extends PropertyGridEditorMatrix {
|
|
3204
|
+
constructor();
|
|
3205
|
+
protected getChoices(obj: Base): Array<any>;
|
|
3206
|
+
protected getColumnsJSON(obj: Base, prop: JsonObjectProperty, propNames: any, options: ISurveyCreatorOptions): any;
|
|
3207
|
+
onMatrixCellCreated(obj: Base, options: any): void;
|
|
3208
|
+
onMatrixCellValueChanged(obj: Base, options: any): void;
|
|
3209
|
+
protected getShowDetailPanelOnAdding(): boolean;
|
|
3210
|
+
}
|
|
3211
|
+
export declare class PropertyGridEditorMatrixMutlipleTextItems extends PropertyGridEditorMatrix {
|
|
3212
|
+
constructor();
|
|
3213
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3214
|
+
protected getColumnClassName(obj: Base, prop: JsonObjectProperty): string;
|
|
3215
|
+
protected getDefaulColumnNames(): Array<any>;
|
|
3216
|
+
protected getKeyValue(): string;
|
|
3217
|
+
protected getBaseValue(prop: JsonObjectProperty): string;
|
|
3218
|
+
}
|
|
3219
|
+
export declare class PropertyGridEditorMatrixPages extends PropertyGridEditorMatrix {
|
|
3220
|
+
constructor();
|
|
3221
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3222
|
+
onMatrixAllowRemoveRow(obj: Base, row: MatrixDynamicRowModel): boolean;
|
|
3223
|
+
protected getColumnClassName(obj: Base, prop: JsonObjectProperty): string;
|
|
3224
|
+
protected getDefaulColumnNames(): Array<any>;
|
|
3225
|
+
protected hasDetailPanel(): boolean;
|
|
3226
|
+
protected getKeyValue(): string;
|
|
3227
|
+
protected getBaseValue(prop: JsonObjectProperty): string;
|
|
3228
|
+
protected getAllowRowDragDrop(): boolean;
|
|
3229
|
+
}
|
|
3230
|
+
export declare class PropertyGridEditorMatrixUrlConditions extends PropertyGridEditorMatrix {
|
|
3231
|
+
constructor();
|
|
3232
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3233
|
+
protected getDefaulColumnNames(): Array<any>;
|
|
3234
|
+
protected getShowDetailPanelOnAdding(): boolean;
|
|
3235
|
+
}
|
|
3236
|
+
export declare class PropertyGridEditorPage extends PropertyGridEditorDropdown {
|
|
3237
|
+
constructor();
|
|
3238
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3239
|
+
protected get canRenderAsButtonGroup(): boolean;
|
|
3240
|
+
onCreated(obj: Base, question: Question, prop: JsonObjectProperty): void;
|
|
3241
|
+
}
|
|
3242
|
+
export declare class PropertyGridEditorQuestionRestfull extends PropertyGridEditorQuestion {
|
|
3243
|
+
constructor();
|
|
3244
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3245
|
+
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
3246
|
+
}
|
|
3247
|
+
export declare class PropertyGridEditorQuestionSelectBase extends PropertyGridEditorQuestion {
|
|
3248
|
+
constructor();
|
|
3249
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3250
|
+
protected getQuestions(survey: SurveyModel, obj: Base): Array<Question>;
|
|
3251
|
+
}
|
|
3252
|
+
export declare class PropertyGridEditorQuestionValue extends PropertyGridEditorQuestion {
|
|
3253
|
+
constructor();
|
|
3254
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3255
|
+
protected getItemValue(question: Question): any;
|
|
3256
|
+
}
|
|
3257
|
+
export declare class PropertyGridEditorSet extends PropertyGridEditorDropdown {
|
|
3258
|
+
constructor();
|
|
3259
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3260
|
+
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
3261
|
+
}
|
|
3262
|
+
export declare class PropertyGridEditorString extends PropertyGridEditorStringBase {
|
|
3263
|
+
constructor();
|
|
3264
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3265
|
+
isDefault(): boolean;
|
|
3266
|
+
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
3267
|
+
}
|
|
3268
|
+
export declare class PropertyGridEditorText extends PropertyGridEditorStringBase {
|
|
3269
|
+
constructor();
|
|
3270
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3271
|
+
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
3272
|
+
}
|
|
3273
|
+
export declare class PropertyGridPanelValueEditor extends PropertyGridValueEditorBase {
|
|
3274
|
+
constructor();
|
|
3275
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3276
|
+
createPropertyEditorSetup(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): IPropertyEditorSetup;
|
|
3277
|
+
}
|
|
3278
|
+
export declare class PropertyGridRowValueEditor extends PropertyGridValueEditorBase {
|
|
3279
|
+
constructor();
|
|
3280
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3281
|
+
createPropertyEditorSetup(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): IPropertyEditorSetup;
|
|
3282
|
+
}
|
|
3283
|
+
export declare class PropertyGridTriggerValueEditor extends PropertyGridValueEditorBase {
|
|
3284
|
+
constructor();
|
|
3285
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3286
|
+
createPropertyEditorSetup(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): IPropertyEditorSetup;
|
|
3287
|
+
protected getSetToNameQuestion(obj: Base): Question;
|
|
3288
|
+
}
|
|
3289
|
+
export declare class PropertyGridValueEditor extends PropertyGridValueEditorBase {
|
|
3290
|
+
constructor();
|
|
3291
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3292
|
+
createPropertyEditorSetup(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): IPropertyEditorSetup;
|
|
3293
|
+
}
|
|
3294
|
+
export declare class TriggerValueEditor extends DefaultValueEditor {
|
|
3295
|
+
constructor(editQuestion: Question, editObj: Base, propertyName: string, options?: ISurveyCreatorOptions);
|
|
3296
|
+
editQuestion: Question;
|
|
3297
|
+
editObj: Base;
|
|
3298
|
+
protected getQuestionValue(): any;
|
|
3299
|
+
apply(): boolean;
|
|
3300
|
+
}
|
|
3301
|
+
export declare class DefaultMatrixRowValueEditor extends DefaultArrayValueEditor {
|
|
3302
|
+
constructor(editQuestion: Question, propertyName: string, options?: ISurveyCreatorOptions);
|
|
3303
|
+
editQuestion: Question;
|
|
3304
|
+
protected getQuestionJSON(): any;
|
|
3305
|
+
}
|
|
3306
|
+
export declare class DefaultPanelDynamicPanelValueEditor extends DefaultArrayValueEditor {
|
|
3307
|
+
constructor(editQuestion: Question, propertyName: string, options?: ISurveyCreatorOptions);
|
|
3308
|
+
editQuestion: Question;
|
|
3309
|
+
protected getQuestionJSON(): any;
|
|
3310
|
+
}
|
|
3311
|
+
export declare class PropertyGridEditorMatrixTriggers extends PropertyGridEditorMatrixMultipleTypes {
|
|
3312
|
+
constructor();
|
|
3313
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3314
|
+
protected getObjTypeName(): string;
|
|
3315
|
+
protected getDefaultClassName(prop: JsonObjectProperty): string;
|
|
3316
|
+
protected getChoices(obj: Base): Array<any>;
|
|
3317
|
+
}
|
|
3318
|
+
export declare class PropertyGridEditorMatrixValidators extends PropertyGridEditorMatrixMultipleTypes {
|
|
3319
|
+
constructor();
|
|
3320
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
3321
|
+
protected getObjTypeName(): string;
|
|
3322
|
+
protected getDefaultClassName(prop: JsonObjectProperty): string;
|
|
3323
|
+
protected getChoices(obj: Base): Array<any>;
|
|
3324
|
+
}
|
|
3325
|
+
export declare class PropertyGridTriggerValueInLogicEditor extends PropertyGridTriggerValueEditor {
|
|
3326
|
+
constructor();
|
|
3327
|
+
fit(prop: JsonObjectProperty, context?: string): boolean;
|
|
3328
|
+
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
3329
|
+
}
|
|
3330
|
+
export declare function getLocString(strName: string, locale?: string): any;
|
|
3331
|
+
export declare function getNextValue(prefix: string, values: any): string | number;
|
|
3332
|
+
export declare function findParentNode(className: string, sourceNode: any): any;
|
|
3333
|
+
export declare function focusFirstControl(renderedElements: any): void;
|
|
3334
|
+
export declare function getFirstNonTextElement(elements: any): any;
|
|
3335
|
+
export declare function getNodesFromKoComponentInfo(componentInfo: any): any;
|
|
3336
|
+
export declare function propertyExists(obj: any, propertyName: string): boolean;
|
|
3337
|
+
export declare function isPropertyVisible(obj: any, propertyName: string): boolean;
|
|
3338
|
+
export declare function toggleHovered(e: any, element: any, timeout?: number): void;
|
|
3339
|
+
export declare function clearNewLines(text: string): any;
|
|
3340
|
+
export declare function select(element: any): void;
|
|
3341
|
+
export declare function copyObject(dst: any, src: any): void;
|
|
3342
|
+
export declare function copyCssClasses(dest: any, source: any): void;
|
|
3343
|
+
export declare function assignDefaultV2Classes(destination: any, questionType: string): void;
|
|
3344
|
+
export declare function wrapTextByCurlyBraces(text: string): string;
|
|
3345
|
+
export declare function getLogicString(name: string): any;
|
|
3346
|
+
export declare function findAction(actions: any, id: string): IAction;
|
|
3347
|
+
export declare function updateMatrixLogicExpandAction(question: QuestionMatrixDynamicModel, actions: any, row: MatrixDynamicRowModel): void;
|
|
3348
|
+
export declare function updateMatrixRemoveAction(question: QuestionMatrixDynamicModel, actions: any, row: MatrixDynamicRowModel): void;
|
|
3349
|
+
export declare function setSurveyJSONForPropertyGrid(json: any, updateOnTyping?: boolean, titleLocationLeft?: boolean): void;
|
|
3350
|
+
export declare function getElementWrapperComponentName(element: any, reason: string, isPopupEditorContent: boolean): string;
|
|
3351
|
+
export declare function getElementWrapperComponentData(element: any, reason: string, creator: any): any;
|
|
3352
|
+
export declare function getItemValueWrapperComponentName(item: ItemValue, question: QuestionSelectBase): string;
|
|
3353
|
+
export declare function getItemValueWrapperComponentData(item: ItemValue, question: QuestionSelectBase, creator: any): any;
|
|
3354
|
+
export declare function isStringEditable(element: any, name: string): boolean;
|
|
3355
|
+
export declare var editorLocalization: {
|
|
3356
|
+
camelCaseBreaking: boolean,
|
|
3357
|
+
currentLocale: string,
|
|
3358
|
+
locales: any,
|
|
3359
|
+
getString: any,
|
|
3360
|
+
hasString: any,
|
|
3361
|
+
getLocaleName: any,
|
|
3362
|
+
getPropertyName: any,
|
|
3363
|
+
getPropertyTitle: any,
|
|
3364
|
+
getPropertyNameInEditor: any,
|
|
3365
|
+
getProperty: any,
|
|
3366
|
+
convertToCamelCase: any,
|
|
3367
|
+
getAutoPropertyName: any,
|
|
3368
|
+
getPropertyValue: any,
|
|
3369
|
+
getValidatorName: any,
|
|
3370
|
+
getTriggerName: any,
|
|
3371
|
+
getLocale: any,
|
|
3372
|
+
getValueInternal: any,
|
|
3373
|
+
getLocales: any,
|
|
3374
|
+
};
|
|
3375
|
+
export declare var defaultStrings: any;
|
|
3376
|
+
export declare var settings: {
|
|
3377
|
+
traslation: {
|
|
3378
|
+
sortByName: boolean,
|
|
3379
|
+
exportPrefix: string,
|
|
3380
|
+
},
|
|
3381
|
+
operators: {
|
|
3382
|
+
empty: any,
|
|
3383
|
+
notempty: any,
|
|
3384
|
+
equal: any,
|
|
3385
|
+
notequal: any,
|
|
3386
|
+
contains: any,
|
|
3387
|
+
notcontains: any,
|
|
3388
|
+
anyof: any,
|
|
3389
|
+
allof: any,
|
|
3390
|
+
greater: any,
|
|
3391
|
+
less: any,
|
|
3392
|
+
greaterorequal: any,
|
|
3393
|
+
lessorequal: any,
|
|
3394
|
+
},
|
|
3395
|
+
defaultNewSurveyJSON: {
|
|
3396
|
+
pages: any,
|
|
3397
|
+
},
|
|
3398
|
+
logic: {
|
|
3399
|
+
visibleActions: any,
|
|
3400
|
+
logicItemTitleMaxChars: number,
|
|
3401
|
+
},
|
|
3402
|
+
/*
|
|
3403
|
+
* Determines which types of questions the conversion will be available for.
|
|
3404
|
+
*/
|
|
3405
|
+
questionConvertMode: QuestionConvertMode,
|
|
3406
|
+
propertyGrid: {
|
|
3407
|
+
allowCollapse: boolean,
|
|
3408
|
+
useButtonGroup: boolean,
|
|
3409
|
+
maxCharsInButtonGroup: number,
|
|
3410
|
+
showNavigationButtons: boolean,
|
|
3411
|
+
maximumColumnsCount: number,
|
|
3412
|
+
maximumChoicesCount: number,
|
|
3413
|
+
maximumRowsCount: number,
|
|
3414
|
+
maximumRateValues: number,
|
|
3415
|
+
generalTabName: string,
|
|
3416
|
+
},
|
|
3417
|
+
/*
|
|
3418
|
+
* Notification settings
|
|
3419
|
+
*/
|
|
3420
|
+
notifications: {
|
|
3421
|
+
lifetime: number,
|
|
3422
|
+
},
|
|
3423
|
+
/*
|
|
3424
|
+
* Auto save parameters
|
|
3425
|
+
*/
|
|
3426
|
+
autoSave: {
|
|
3427
|
+
delay: number,
|
|
3428
|
+
},
|
|
3429
|
+
/*
|
|
3430
|
+
* Drag Drop Settings
|
|
3431
|
+
*/
|
|
3432
|
+
dragDrop: {
|
|
3433
|
+
restrictDragQuestionBetweenPages: boolean,
|
|
3434
|
+
},
|
|
3435
|
+
/*
|
|
3436
|
+
* Creator layout settings
|
|
3437
|
+
*/
|
|
3438
|
+
layout: {
|
|
3439
|
+
showTabs: boolean,
|
|
3440
|
+
showToolbar: boolean,
|
|
3441
|
+
},
|
|
3442
|
+
jsonEditor: {
|
|
3443
|
+
indentation: number,
|
|
3444
|
+
},
|
|
3445
|
+
};
|
|
3446
|
+
export declare var opositeValues: {
|
|
3447
|
+
true: string,
|
|
3448
|
+
True: string,
|
|
3449
|
+
TRUE: string,
|
|
3450
|
+
false: string,
|
|
3451
|
+
False: string,
|
|
3452
|
+
FALSE: string,
|
|
3453
|
+
yes: string,
|
|
3454
|
+
Yes: string,
|
|
3455
|
+
YES: string,
|
|
3456
|
+
no: string,
|
|
3457
|
+
No: string,
|
|
3458
|
+
NO: string,
|
|
3459
|
+
};
|
|
3460
|
+
export declare var propertyGridCss: {
|
|
3461
|
+
root: string,
|
|
3462
|
+
container: string,
|
|
3463
|
+
header: string,
|
|
3464
|
+
body: string,
|
|
3465
|
+
bodyEmpty: string,
|
|
3466
|
+
footer: string,
|
|
3467
|
+
title: string,
|
|
3468
|
+
description: string,
|
|
3469
|
+
logo: string,
|
|
3470
|
+
logoImage: string,
|
|
3471
|
+
headerText: string,
|
|
3472
|
+
navigationButton: string,
|
|
3473
|
+
completedPage: string,
|
|
3474
|
+
navigation: {
|
|
3475
|
+
complete: string,
|
|
3476
|
+
prev: string,
|
|
3477
|
+
next: string,
|
|
3478
|
+
start: string,
|
|
3479
|
+
preview: string,
|
|
3480
|
+
edit: string,
|
|
3481
|
+
},
|
|
3482
|
+
panel: {
|
|
3483
|
+
title: string,
|
|
3484
|
+
titleExpandable: string,
|
|
3485
|
+
titleOnExpand: string,
|
|
3486
|
+
titleOnError: string,
|
|
3487
|
+
description: string,
|
|
3488
|
+
container: string,
|
|
3489
|
+
content: string,
|
|
3490
|
+
icon: string,
|
|
3491
|
+
iconExpanded: string,
|
|
3492
|
+
footer: string,
|
|
3493
|
+
requiredText: string,
|
|
3494
|
+
},
|
|
3495
|
+
paneldynamic: {
|
|
3496
|
+
root: string,
|
|
3497
|
+
navigation: string,
|
|
3498
|
+
title: string,
|
|
3499
|
+
button: string,
|
|
3500
|
+
buttonRemove: string,
|
|
3501
|
+
buttonAdd: string,
|
|
3502
|
+
progressTop: string,
|
|
3503
|
+
progressBottom: string,
|
|
3504
|
+
buttonPrev: string,
|
|
3505
|
+
buttonNext: string,
|
|
3506
|
+
progressContainer: string,
|
|
3507
|
+
progress: string,
|
|
3508
|
+
progressBar: string,
|
|
3509
|
+
progressText: string,
|
|
3510
|
+
separator: string,
|
|
3511
|
+
},
|
|
3512
|
+
progress: string,
|
|
3513
|
+
progressBar: string,
|
|
3514
|
+
progressText: string,
|
|
3515
|
+
progressTextInBar: string,
|
|
3516
|
+
page: {
|
|
3517
|
+
root: string,
|
|
3518
|
+
title: string,
|
|
3519
|
+
description: string,
|
|
3520
|
+
},
|
|
3521
|
+
pageTitle: string,
|
|
3522
|
+
pageDescription: string,
|
|
3523
|
+
row: string,
|
|
3524
|
+
rowMultiple: string,
|
|
3525
|
+
question: {
|
|
3526
|
+
mainRoot: string,
|
|
3527
|
+
flowRoot: string,
|
|
3528
|
+
asCell: string,
|
|
3529
|
+
header: string,
|
|
3530
|
+
headerLeft: string,
|
|
3531
|
+
headerTop: string,
|
|
3532
|
+
headerBottom: string,
|
|
3533
|
+
content: string,
|
|
3534
|
+
contentLeft: string,
|
|
3535
|
+
titleLeftRoot: string,
|
|
3536
|
+
titleOnAnswer: string,
|
|
3537
|
+
titleOnError: string,
|
|
3538
|
+
title: string,
|
|
3539
|
+
requiredText: string,
|
|
3540
|
+
number: string,
|
|
3541
|
+
description: string,
|
|
3542
|
+
descriptionUnderInput: string,
|
|
3543
|
+
comment: string,
|
|
3544
|
+
required: string,
|
|
3545
|
+
titleRequired: string,
|
|
3546
|
+
indent: number,
|
|
3547
|
+
footer: string,
|
|
3548
|
+
formGroup: string,
|
|
3549
|
+
hasError: string,
|
|
3550
|
+
disabled: string,
|
|
3551
|
+
},
|
|
3552
|
+
image: {
|
|
3553
|
+
root: string,
|
|
3554
|
+
image: string,
|
|
3555
|
+
},
|
|
3556
|
+
error: {
|
|
3557
|
+
root: string,
|
|
3558
|
+
icon: string,
|
|
3559
|
+
item: string,
|
|
3560
|
+
locationTop: string,
|
|
3561
|
+
locationBottom: string,
|
|
3562
|
+
},
|
|
3563
|
+
checkbox: {
|
|
3564
|
+
root: string,
|
|
3565
|
+
item: string,
|
|
3566
|
+
itemSelectAll: string,
|
|
3567
|
+
itemNone: string,
|
|
3568
|
+
itemDisabled: string,
|
|
3569
|
+
itemChecked: string,
|
|
3570
|
+
itemHover: string,
|
|
3571
|
+
itemInline: string,
|
|
3572
|
+
label: string,
|
|
3573
|
+
itemSvgIconId: string,
|
|
3574
|
+
labelChecked: string,
|
|
3575
|
+
itemControl: string,
|
|
3576
|
+
itemDecorator: string,
|
|
3577
|
+
controlLabel: string,
|
|
3578
|
+
materialDecorator: string,
|
|
3579
|
+
other: string,
|
|
3580
|
+
column: string,
|
|
3581
|
+
},
|
|
3582
|
+
radiogroup: {
|
|
3583
|
+
root: string,
|
|
3584
|
+
item: string,
|
|
3585
|
+
itemInline: string,
|
|
3586
|
+
label: string,
|
|
3587
|
+
labelChecked: string,
|
|
3588
|
+
itemDisabled: string,
|
|
3589
|
+
itemChecked: string,
|
|
3590
|
+
itemHover: string,
|
|
3591
|
+
itemControl: string,
|
|
3592
|
+
itemDecorator: string,
|
|
3593
|
+
controlLabel: string,
|
|
3594
|
+
materialDecorator: string,
|
|
3595
|
+
other: string,
|
|
3596
|
+
clearButton: string,
|
|
3597
|
+
column: string,
|
|
3598
|
+
},
|
|
3599
|
+
boolean: {
|
|
3600
|
+
mainRoot: string,
|
|
3601
|
+
root: string,
|
|
3602
|
+
item: string,
|
|
3603
|
+
control: string,
|
|
3604
|
+
itemChecked: string,
|
|
3605
|
+
itemIndeterminate: string,
|
|
3606
|
+
itemDisabled: string,
|
|
3607
|
+
svgIconId: string,
|
|
3608
|
+
label: string,
|
|
3609
|
+
disabledLabel: string,
|
|
3610
|
+
itemDecorator: string,
|
|
3611
|
+
materialDecorator: string,
|
|
3612
|
+
},
|
|
3613
|
+
text: {
|
|
3614
|
+
root: string,
|
|
3615
|
+
small: string,
|
|
3616
|
+
onError: string,
|
|
3617
|
+
},
|
|
3618
|
+
multipletext: {
|
|
3619
|
+
root: string,
|
|
3620
|
+
item: string,
|
|
3621
|
+
itemTitle: string,
|
|
3622
|
+
row: string,
|
|
3623
|
+
cell: string,
|
|
3624
|
+
},
|
|
3625
|
+
dropdown: {
|
|
3626
|
+
root: string,
|
|
3627
|
+
small: string,
|
|
3628
|
+
control: string,
|
|
3629
|
+
selectWrapper: string,
|
|
3630
|
+
other: string,
|
|
3631
|
+
onError: string,
|
|
3632
|
+
},
|
|
3633
|
+
imagepicker: {
|
|
3634
|
+
root: string,
|
|
3635
|
+
item: string,
|
|
3636
|
+
itemInline: string,
|
|
3637
|
+
itemChecked: string,
|
|
3638
|
+
itemDisabled: string,
|
|
3639
|
+
itemHover: string,
|
|
3640
|
+
label: string,
|
|
3641
|
+
itemControl: string,
|
|
3642
|
+
image: string,
|
|
3643
|
+
itemText: string,
|
|
3644
|
+
clearButton: string,
|
|
3645
|
+
other: string,
|
|
3646
|
+
},
|
|
3647
|
+
matrix: {
|
|
3648
|
+
tableWrapper: string,
|
|
3649
|
+
root: string,
|
|
3650
|
+
rowError: string,
|
|
3651
|
+
cell: string,
|
|
3652
|
+
headerCell: string,
|
|
3653
|
+
label: string,
|
|
3654
|
+
itemValue: string,
|
|
3655
|
+
itemChecked: string,
|
|
3656
|
+
itemDisabled: string,
|
|
3657
|
+
itemHover: string,
|
|
3658
|
+
materialDecorator: string,
|
|
3659
|
+
itemDecorator: string,
|
|
3660
|
+
cellText: string,
|
|
3661
|
+
cellTextSelected: string,
|
|
3662
|
+
cellTextDisabled: string,
|
|
3663
|
+
},
|
|
3664
|
+
matrixdropdown: {
|
|
3665
|
+
root: string,
|
|
3666
|
+
cell: string,
|
|
3667
|
+
headerCell: string,
|
|
3668
|
+
},
|
|
3669
|
+
matrixdynamic: {
|
|
3670
|
+
root: string,
|
|
3671
|
+
cell: string,
|
|
3672
|
+
headerCell: string,
|
|
3673
|
+
button: string,
|
|
3674
|
+
detailRow: string,
|
|
3675
|
+
detailButton: string,
|
|
3676
|
+
detailButtonExpanded: string,
|
|
3677
|
+
detailIcon: string,
|
|
3678
|
+
detailIconExpanded: string,
|
|
3679
|
+
detailPanelCell: string,
|
|
3680
|
+
actionsCell: string,
|
|
3681
|
+
buttonAdd: string,
|
|
3682
|
+
buttonRemove: string,
|
|
3683
|
+
iconAdd: string,
|
|
3684
|
+
iconRemove: string,
|
|
3685
|
+
iconDrag: string,
|
|
3686
|
+
dragDropGhostPositionTop: string,
|
|
3687
|
+
dragDropGhostPositionBottom: string,
|
|
3688
|
+
emptyRowsSection: string,
|
|
3689
|
+
emptyRowsText: string,
|
|
3690
|
+
},
|
|
3691
|
+
rating: {
|
|
3692
|
+
root: string,
|
|
3693
|
+
item: string,
|
|
3694
|
+
selected: string,
|
|
3695
|
+
minText: string,
|
|
3696
|
+
itemText: string,
|
|
3697
|
+
maxText: string,
|
|
3698
|
+
disabled: string,
|
|
3699
|
+
},
|
|
3700
|
+
comment: {
|
|
3701
|
+
root: string,
|
|
3702
|
+
small: string,
|
|
3703
|
+
},
|
|
3704
|
+
expression: string,
|
|
3705
|
+
file: {
|
|
3706
|
+
root: string,
|
|
3707
|
+
other: string,
|
|
3708
|
+
placeholderInput: string,
|
|
3709
|
+
preview: string,
|
|
3710
|
+
fileSign: string,
|
|
3711
|
+
fileSignBottom: string,
|
|
3712
|
+
fileDecorator: string,
|
|
3713
|
+
fileInput: string,
|
|
3714
|
+
noFileChosen: string,
|
|
3715
|
+
chooseFile: string,
|
|
3716
|
+
disabled: string,
|
|
3717
|
+
removeButton: string,
|
|
3718
|
+
removeButtonBottom: string,
|
|
3719
|
+
removeFile: string,
|
|
3720
|
+
removeFileSvg: string,
|
|
3721
|
+
wrapper: string,
|
|
3722
|
+
},
|
|
3723
|
+
signaturepad: {
|
|
3724
|
+
root: string,
|
|
3725
|
+
small: string,
|
|
3726
|
+
controls: string,
|
|
3727
|
+
clearButton: string,
|
|
3728
|
+
},
|
|
3729
|
+
saveData: {
|
|
3730
|
+
root: string,
|
|
3731
|
+
saving: string,
|
|
3732
|
+
error: string,
|
|
3733
|
+
success: string,
|
|
3734
|
+
saveAgainButton: string,
|
|
3735
|
+
},
|
|
3736
|
+
window: {
|
|
3737
|
+
root: string,
|
|
3738
|
+
body: string,
|
|
3739
|
+
header: {
|
|
3740
|
+
root: string,
|
|
3741
|
+
title: string,
|
|
3742
|
+
button: string,
|
|
3743
|
+
buttonExpanded: string,
|
|
3744
|
+
buttonCollapsed: string,
|
|
3745
|
+
},
|
|
3746
|
+
},
|
|
3747
|
+
};
|
|
3748
|
+
export declare var json: {
|
|
3749
|
+
panelJSON: any,
|
|
3750
|
+
name: string,
|
|
3751
|
+
showInToolbox: boolean,
|
|
3752
|
+
createElements: any,
|
|
3753
|
+
};
|
|
3754
|
+
export declare var DEFAULT_MONITOR_DPI: number;
|
|
3755
|
+
export declare var simulatorDevices: {
|
|
3756
|
+
desktop: {
|
|
3757
|
+
deviceType: string,
|
|
3758
|
+
title: string,
|
|
3759
|
+
},
|
|
3760
|
+
iPhone5: {
|
|
3761
|
+
cssPixelRatio: number,
|
|
3762
|
+
ppi: number,
|
|
3763
|
+
width: number,
|
|
3764
|
+
height: number,
|
|
3765
|
+
frameWidth: number,
|
|
3766
|
+
frameHeight: number,
|
|
3767
|
+
deviceType: string,
|
|
3768
|
+
title: string,
|
|
3769
|
+
cssClass: string,
|
|
3770
|
+
},
|
|
3771
|
+
iPhone6: {
|
|
3772
|
+
cssPixelRatio: number,
|
|
3773
|
+
ppi: number,
|
|
3774
|
+
width: number,
|
|
3775
|
+
height: number,
|
|
3776
|
+
frameWidth: number,
|
|
3777
|
+
frameHeight: number,
|
|
3778
|
+
deviceType: string,
|
|
3779
|
+
title: string,
|
|
3780
|
+
cssClass: string,
|
|
3781
|
+
},
|
|
3782
|
+
iPhone6plus: {
|
|
3783
|
+
cssPixelRatio: number,
|
|
3784
|
+
ppi: number,
|
|
3785
|
+
width: number,
|
|
3786
|
+
height: number,
|
|
3787
|
+
frameWidth: number,
|
|
3788
|
+
frameHeight: number,
|
|
3789
|
+
deviceType: string,
|
|
3790
|
+
title: string,
|
|
3791
|
+
cssClass: string,
|
|
3792
|
+
},
|
|
3793
|
+
iPhone8: {
|
|
3794
|
+
cssPixelRatio: number,
|
|
3795
|
+
ppi: number,
|
|
3796
|
+
width: number,
|
|
3797
|
+
height: number,
|
|
3798
|
+
frameWidth: number,
|
|
3799
|
+
frameHeight: number,
|
|
3800
|
+
deviceType: string,
|
|
3801
|
+
title: string,
|
|
3802
|
+
cssClass: string,
|
|
3803
|
+
},
|
|
3804
|
+
iPhone8plus: {
|
|
3805
|
+
cssPixelRatio: number,
|
|
3806
|
+
ppi: number,
|
|
3807
|
+
width: number,
|
|
3808
|
+
height: number,
|
|
3809
|
+
frameWidth: number,
|
|
3810
|
+
frameHeight: number,
|
|
3811
|
+
deviceType: string,
|
|
3812
|
+
title: string,
|
|
3813
|
+
cssClass: string,
|
|
3814
|
+
},
|
|
3815
|
+
iPhoneX: {
|
|
3816
|
+
cssPixelRatio: number,
|
|
3817
|
+
ppi: number,
|
|
3818
|
+
width: number,
|
|
3819
|
+
height: number,
|
|
3820
|
+
frameWidth: number,
|
|
3821
|
+
frameHeight: number,
|
|
3822
|
+
deviceType: string,
|
|
3823
|
+
title: string,
|
|
3824
|
+
cssClass: string,
|
|
3825
|
+
},
|
|
3826
|
+
iPhoneXmax: {
|
|
3827
|
+
cssPixelRatio: number,
|
|
3828
|
+
ppi: number,
|
|
3829
|
+
width: number,
|
|
3830
|
+
height: number,
|
|
3831
|
+
frameWidth: number,
|
|
3832
|
+
frameHeight: number,
|
|
3833
|
+
deviceType: string,
|
|
3834
|
+
title: string,
|
|
3835
|
+
cssClass: string,
|
|
3836
|
+
},
|
|
3837
|
+
iPad: {
|
|
3838
|
+
cssPixelRatio: number,
|
|
3839
|
+
ppi: number,
|
|
3840
|
+
width: number,
|
|
3841
|
+
height: number,
|
|
3842
|
+
frameWidth: number,
|
|
3843
|
+
frameHeight: number,
|
|
3844
|
+
deviceType: string,
|
|
3845
|
+
title: string,
|
|
3846
|
+
cssClass: string,
|
|
3847
|
+
},
|
|
3848
|
+
iPadMini: {
|
|
3849
|
+
cssPixelRatio: number,
|
|
3850
|
+
ppi: number,
|
|
3851
|
+
width: number,
|
|
3852
|
+
height: number,
|
|
3853
|
+
frameWidth: number,
|
|
3854
|
+
frameHeight: number,
|
|
3855
|
+
deviceType: string,
|
|
3856
|
+
title: string,
|
|
3857
|
+
cssClass: string,
|
|
3858
|
+
},
|
|
3859
|
+
iPadPro: {
|
|
3860
|
+
cssPixelRatio: number,
|
|
3861
|
+
ppi: number,
|
|
3862
|
+
width: number,
|
|
3863
|
+
height: number,
|
|
3864
|
+
frameWidth: number,
|
|
3865
|
+
frameHeight: number,
|
|
3866
|
+
deviceType: string,
|
|
3867
|
+
title: string,
|
|
3868
|
+
cssClass: string,
|
|
3869
|
+
},
|
|
3870
|
+
iPadPro13: {
|
|
3871
|
+
cssPixelRatio: number,
|
|
3872
|
+
ppi: number,
|
|
3873
|
+
width: number,
|
|
3874
|
+
height: number,
|
|
3875
|
+
frameWidth: number,
|
|
3876
|
+
frameHeight: number,
|
|
3877
|
+
deviceType: string,
|
|
3878
|
+
title: string,
|
|
3879
|
+
cssClass: string,
|
|
3880
|
+
},
|
|
3881
|
+
androidPhone: {
|
|
3882
|
+
cssPixelRatio: number,
|
|
3883
|
+
ppi: number,
|
|
3884
|
+
width: number,
|
|
3885
|
+
height: number,
|
|
3886
|
+
frameWidth: number,
|
|
3887
|
+
frameHeight: number,
|
|
3888
|
+
deviceType: string,
|
|
3889
|
+
title: string,
|
|
3890
|
+
cssClass: string,
|
|
3891
|
+
},
|
|
3892
|
+
androidTablet: {
|
|
3893
|
+
cssPixelRatio: number,
|
|
3894
|
+
ppi: number,
|
|
3895
|
+
width: number,
|
|
3896
|
+
height: number,
|
|
3897
|
+
frameWidth: number,
|
|
3898
|
+
frameHeight: number,
|
|
3899
|
+
deviceType: string,
|
|
3900
|
+
title: string,
|
|
3901
|
+
cssClass: string,
|
|
3902
|
+
},
|
|
3903
|
+
win10Phone: {
|
|
3904
|
+
cssPixelRatio: number,
|
|
3905
|
+
ppi: number,
|
|
3906
|
+
width: number,
|
|
3907
|
+
height: number,
|
|
3908
|
+
frameWidth: number,
|
|
3909
|
+
frameHeight: number,
|
|
3910
|
+
deviceType: string,
|
|
3911
|
+
title: string,
|
|
3912
|
+
cssClass: string,
|
|
3913
|
+
},
|
|
3914
|
+
msSurface: {
|
|
3915
|
+
cssPixelRatio: number,
|
|
3916
|
+
ppi: number,
|
|
3917
|
+
width: number,
|
|
3918
|
+
height: number,
|
|
3919
|
+
frameWidth: number,
|
|
3920
|
+
frameHeight: number,
|
|
3921
|
+
deviceType: string,
|
|
3922
|
+
title: string,
|
|
3923
|
+
cssClass: string,
|
|
3924
|
+
},
|
|
3925
|
+
genericPhone: {
|
|
3926
|
+
cssPixelRatio: number,
|
|
3927
|
+
deviceType: string,
|
|
3928
|
+
title: string,
|
|
3929
|
+
cssClass: string,
|
|
3930
|
+
},
|
|
3931
|
+
};
|
|
3932
|
+
export declare var PropertyGridEditorCollection: {
|
|
3933
|
+
editors: any,
|
|
3934
|
+
fitHash: any,
|
|
3935
|
+
clearHash: any,
|
|
3936
|
+
register: any,
|
|
3937
|
+
getEditor: any,
|
|
3938
|
+
isEditorFit: any,
|
|
3939
|
+
getJSON: any,
|
|
3940
|
+
onCreated: any,
|
|
3941
|
+
onAfterRenderQuestion: any,
|
|
3942
|
+
onMatrixCellCreated: any,
|
|
3943
|
+
onMatrixCellValueChanged: any,
|
|
3944
|
+
onMatrixAllowRemoveRow: any,
|
|
3945
|
+
onGetMatrixRowAction: any,
|
|
3946
|
+
onUpdateQuestionCssClasses: any,
|
|
3947
|
+
onGetQuestionTitleActions: any,
|
|
3948
|
+
onValueChanged: any,
|
|
3949
|
+
onMasterValueChanged: any,
|
|
3950
|
+
};
|
|
3951
|
+
export declare var translationCss: {
|
|
3952
|
+
root: string,
|
|
3953
|
+
container: string,
|
|
3954
|
+
header: string,
|
|
3955
|
+
body: string,
|
|
3956
|
+
bodyEmpty: string,
|
|
3957
|
+
footer: string,
|
|
3958
|
+
title: string,
|
|
3959
|
+
description: string,
|
|
3960
|
+
logo: string,
|
|
3961
|
+
logoImage: string,
|
|
3962
|
+
headerText: string,
|
|
3963
|
+
navigationButton: string,
|
|
3964
|
+
completedPage: string,
|
|
3965
|
+
navigation: {
|
|
3966
|
+
complete: string,
|
|
3967
|
+
prev: string,
|
|
3968
|
+
next: string,
|
|
3969
|
+
start: string,
|
|
3970
|
+
preview: string,
|
|
3971
|
+
edit: string,
|
|
3972
|
+
},
|
|
3973
|
+
panel: {
|
|
3974
|
+
title: string,
|
|
3975
|
+
titleExpandable: string,
|
|
3976
|
+
titleOnExpand: string,
|
|
3977
|
+
titleOnError: string,
|
|
3978
|
+
description: string,
|
|
3979
|
+
container: string,
|
|
3980
|
+
content: string,
|
|
3981
|
+
icon: string,
|
|
3982
|
+
iconExpanded: string,
|
|
3983
|
+
footer: string,
|
|
3984
|
+
requiredText: string,
|
|
3985
|
+
},
|
|
3986
|
+
paneldynamic: {
|
|
3987
|
+
root: string,
|
|
3988
|
+
navigation: string,
|
|
3989
|
+
title: string,
|
|
3990
|
+
button: string,
|
|
3991
|
+
buttonRemove: string,
|
|
3992
|
+
buttonAdd: string,
|
|
3993
|
+
progressTop: string,
|
|
3994
|
+
progressBottom: string,
|
|
3995
|
+
buttonPrev: string,
|
|
3996
|
+
buttonNext: string,
|
|
3997
|
+
progressContainer: string,
|
|
3998
|
+
progress: string,
|
|
3999
|
+
progressBar: string,
|
|
4000
|
+
progressText: string,
|
|
4001
|
+
separator: string,
|
|
4002
|
+
panelWrapper: string,
|
|
4003
|
+
panelWrapperInRow: string,
|
|
4004
|
+
},
|
|
4005
|
+
progress: string,
|
|
4006
|
+
progressBar: string,
|
|
4007
|
+
progressText: string,
|
|
4008
|
+
progressTextInBar: string,
|
|
4009
|
+
page: {
|
|
4010
|
+
root: string,
|
|
4011
|
+
title: string,
|
|
4012
|
+
description: string,
|
|
4013
|
+
},
|
|
4014
|
+
pageTitle: string,
|
|
4015
|
+
pageDescription: string,
|
|
4016
|
+
row: string,
|
|
4017
|
+
question: {
|
|
4018
|
+
mainRoot: string,
|
|
4019
|
+
flowRoot: string,
|
|
4020
|
+
asCell: string,
|
|
4021
|
+
header: string,
|
|
4022
|
+
headerLeft: string,
|
|
4023
|
+
headerTop: string,
|
|
4024
|
+
headerBottom: string,
|
|
4025
|
+
content: string,
|
|
4026
|
+
contentLeft: string,
|
|
4027
|
+
titleLeftRoot: string,
|
|
4028
|
+
titleOnAnswer: string,
|
|
4029
|
+
titleOnError: string,
|
|
4030
|
+
title: string,
|
|
4031
|
+
requiredText: string,
|
|
4032
|
+
number: string,
|
|
4033
|
+
description: string,
|
|
4034
|
+
descriptionUnderInput: string,
|
|
4035
|
+
comment: string,
|
|
4036
|
+
required: string,
|
|
4037
|
+
titleRequired: string,
|
|
4038
|
+
indent: number,
|
|
4039
|
+
footer: string,
|
|
4040
|
+
formGroup: string,
|
|
4041
|
+
hasError: string,
|
|
4042
|
+
disabled: string,
|
|
4043
|
+
},
|
|
4044
|
+
image: {
|
|
4045
|
+
root: string,
|
|
4046
|
+
image: string,
|
|
4047
|
+
},
|
|
4048
|
+
error: {
|
|
4049
|
+
root: string,
|
|
4050
|
+
icon: string,
|
|
4051
|
+
item: string,
|
|
4052
|
+
locationTop: string,
|
|
4053
|
+
locationBottom: string,
|
|
4054
|
+
},
|
|
4055
|
+
checkbox: {
|
|
4056
|
+
root: string,
|
|
4057
|
+
item: string,
|
|
4058
|
+
itemSelectAll: string,
|
|
4059
|
+
itemNone: string,
|
|
4060
|
+
itemDisabled: string,
|
|
4061
|
+
itemChecked: string,
|
|
4062
|
+
itemHover: string,
|
|
4063
|
+
itemInline: string,
|
|
4064
|
+
label: string,
|
|
4065
|
+
labelChecked: string,
|
|
4066
|
+
itemControl: string,
|
|
4067
|
+
itemDecorator: string,
|
|
4068
|
+
controlLabel: string,
|
|
4069
|
+
materialDecorator: string,
|
|
4070
|
+
other: string,
|
|
4071
|
+
column: string,
|
|
4072
|
+
},
|
|
4073
|
+
radiogroup: {
|
|
4074
|
+
root: string,
|
|
4075
|
+
item: string,
|
|
4076
|
+
itemInline: string,
|
|
4077
|
+
label: string,
|
|
4078
|
+
labelChecked: string,
|
|
4079
|
+
itemDisabled: string,
|
|
4080
|
+
itemChecked: string,
|
|
4081
|
+
itemHover: string,
|
|
4082
|
+
itemControl: string,
|
|
4083
|
+
itemDecorator: string,
|
|
4084
|
+
controlLabel: string,
|
|
4085
|
+
materialDecorator: string,
|
|
4086
|
+
other: string,
|
|
4087
|
+
clearButton: string,
|
|
4088
|
+
column: string,
|
|
4089
|
+
},
|
|
4090
|
+
boolean: {
|
|
4091
|
+
mainRoot: string,
|
|
4092
|
+
root: string,
|
|
4093
|
+
item: string,
|
|
4094
|
+
control: string,
|
|
4095
|
+
itemChecked: string,
|
|
4096
|
+
itemIndeterminate: string,
|
|
4097
|
+
itemDisabled: string,
|
|
4098
|
+
label: string,
|
|
4099
|
+
switch: string,
|
|
4100
|
+
disabledLabel: string,
|
|
4101
|
+
itemDecorator: string,
|
|
4102
|
+
materialDecorator: string,
|
|
4103
|
+
sliderText: string,
|
|
4104
|
+
slider: string,
|
|
4105
|
+
},
|
|
4106
|
+
text: {
|
|
4107
|
+
root: string,
|
|
4108
|
+
small: string,
|
|
4109
|
+
controlDisabled: string,
|
|
4110
|
+
onError: string,
|
|
4111
|
+
},
|
|
4112
|
+
multipletext: {
|
|
4113
|
+
root: string,
|
|
4114
|
+
item: string,
|
|
4115
|
+
itemTitle: string,
|
|
4116
|
+
row: string,
|
|
4117
|
+
cell: string,
|
|
4118
|
+
},
|
|
4119
|
+
dropdown: {
|
|
4120
|
+
root: string,
|
|
4121
|
+
small: string,
|
|
4122
|
+
control: string,
|
|
4123
|
+
selectWrapper: string,
|
|
4124
|
+
other: string,
|
|
4125
|
+
onError: string,
|
|
4126
|
+
label: string,
|
|
4127
|
+
item: string,
|
|
4128
|
+
itemDisabled: string,
|
|
4129
|
+
itemChecked: string,
|
|
4130
|
+
itemHover: string,
|
|
4131
|
+
itemControl: string,
|
|
4132
|
+
itemDecorator: string,
|
|
4133
|
+
controlDisabled: string,
|
|
4134
|
+
controlLabel: string,
|
|
4135
|
+
materialDecorator: string,
|
|
4136
|
+
},
|
|
4137
|
+
imagepicker: {
|
|
4138
|
+
root: string,
|
|
4139
|
+
item: string,
|
|
4140
|
+
itemInline: string,
|
|
4141
|
+
itemChecked: string,
|
|
4142
|
+
itemDisabled: string,
|
|
4143
|
+
itemHover: string,
|
|
4144
|
+
label: string,
|
|
4145
|
+
itemControl: string,
|
|
4146
|
+
image: string,
|
|
4147
|
+
itemText: string,
|
|
4148
|
+
clearButton: string,
|
|
4149
|
+
other: string,
|
|
4150
|
+
},
|
|
4151
|
+
matrix: {
|
|
4152
|
+
mainRoot: string,
|
|
4153
|
+
tableWrapper: string,
|
|
4154
|
+
root: string,
|
|
4155
|
+
rowError: string,
|
|
4156
|
+
cell: string,
|
|
4157
|
+
headerCell: string,
|
|
4158
|
+
label: string,
|
|
4159
|
+
itemValue: string,
|
|
4160
|
+
itemChecked: string,
|
|
4161
|
+
itemDisabled: string,
|
|
4162
|
+
itemHover: string,
|
|
4163
|
+
materialDecorator: string,
|
|
4164
|
+
itemDecorator: string,
|
|
4165
|
+
cellText: string,
|
|
4166
|
+
cellTextSelected: string,
|
|
4167
|
+
cellTextDisabled: string,
|
|
4168
|
+
},
|
|
4169
|
+
matrixdropdown: {
|
|
4170
|
+
mainRoot: string,
|
|
4171
|
+
root: string,
|
|
4172
|
+
cell: string,
|
|
4173
|
+
headerCell: string,
|
|
4174
|
+
},
|
|
4175
|
+
matrixdynamic: {
|
|
4176
|
+
mainRoot: string,
|
|
4177
|
+
root: string,
|
|
4178
|
+
cell: string,
|
|
4179
|
+
headerCell: string,
|
|
4180
|
+
button: string,
|
|
4181
|
+
detailRow: string,
|
|
4182
|
+
detailButton: string,
|
|
4183
|
+
detailButtonExpanded: string,
|
|
4184
|
+
detailIcon: string,
|
|
4185
|
+
detailIconExpanded: string,
|
|
4186
|
+
detailPanelCell: string,
|
|
4187
|
+
actionsCell: string,
|
|
4188
|
+
buttonAdd: string,
|
|
4189
|
+
buttonRemove: string,
|
|
4190
|
+
iconAdd: string,
|
|
4191
|
+
iconRemove: string,
|
|
4192
|
+
},
|
|
4193
|
+
rating: {
|
|
4194
|
+
root: string,
|
|
4195
|
+
item: string,
|
|
4196
|
+
itemHover: string,
|
|
4197
|
+
selected: string,
|
|
4198
|
+
minText: string,
|
|
4199
|
+
itemText: string,
|
|
4200
|
+
maxText: string,
|
|
4201
|
+
itemDisabled: string,
|
|
4202
|
+
},
|
|
4203
|
+
comment: {
|
|
4204
|
+
root: string,
|
|
4205
|
+
small: string,
|
|
4206
|
+
},
|
|
4207
|
+
expression: string,
|
|
4208
|
+
file: {
|
|
4209
|
+
root: string,
|
|
4210
|
+
other: string,
|
|
4211
|
+
placeholderInput: string,
|
|
4212
|
+
preview: string,
|
|
4213
|
+
fileSign: string,
|
|
4214
|
+
fileSignBottom: string,
|
|
4215
|
+
fileDecorator: string,
|
|
4216
|
+
fileInput: string,
|
|
4217
|
+
noFileChosen: string,
|
|
4218
|
+
chooseFile: string,
|
|
4219
|
+
disabled: string,
|
|
4220
|
+
removeButton: string,
|
|
4221
|
+
removeButtonBottom: string,
|
|
4222
|
+
removeFile: string,
|
|
4223
|
+
removeFileSvg: string,
|
|
4224
|
+
wrapper: string,
|
|
4225
|
+
},
|
|
4226
|
+
signaturepad: {
|
|
4227
|
+
root: string,
|
|
4228
|
+
small: string,
|
|
4229
|
+
controls: string,
|
|
4230
|
+
placeholder: string,
|
|
4231
|
+
clearButton: string,
|
|
4232
|
+
},
|
|
4233
|
+
saveData: {
|
|
4234
|
+
root: string,
|
|
4235
|
+
saving: string,
|
|
4236
|
+
error: string,
|
|
4237
|
+
success: string,
|
|
4238
|
+
saveAgainButton: string,
|
|
4239
|
+
},
|
|
4240
|
+
window: {
|
|
4241
|
+
root: string,
|
|
4242
|
+
body: string,
|
|
4243
|
+
header: {
|
|
4244
|
+
root: string,
|
|
4245
|
+
title: string,
|
|
4246
|
+
button: string,
|
|
4247
|
+
buttonExpanded: string,
|
|
4248
|
+
buttonCollapsed: string,
|
|
4249
|
+
},
|
|
4250
|
+
},
|
|
4251
|
+
};
|
|
4252
|
+
export declare var logicCss: {
|
|
4253
|
+
root: string,
|
|
4254
|
+
container: string,
|
|
4255
|
+
header: string,
|
|
4256
|
+
body: string,
|
|
4257
|
+
bodyEmpty: string,
|
|
4258
|
+
footer: string,
|
|
4259
|
+
title: string,
|
|
4260
|
+
description: string,
|
|
4261
|
+
logo: string,
|
|
4262
|
+
logoImage: string,
|
|
4263
|
+
headerText: string,
|
|
4264
|
+
navigationButton: string,
|
|
4265
|
+
completedPage: string,
|
|
4266
|
+
navigation: {
|
|
4267
|
+
complete: string,
|
|
4268
|
+
prev: string,
|
|
4269
|
+
next: string,
|
|
4270
|
+
start: string,
|
|
4271
|
+
preview: string,
|
|
4272
|
+
edit: string,
|
|
4273
|
+
},
|
|
4274
|
+
panel: {
|
|
4275
|
+
title: string,
|
|
4276
|
+
titleExpandable: string,
|
|
4277
|
+
titleOnExpand: string,
|
|
4278
|
+
titleOnError: string,
|
|
4279
|
+
description: string,
|
|
4280
|
+
container: string,
|
|
4281
|
+
content: string,
|
|
4282
|
+
icon: string,
|
|
4283
|
+
iconExpanded: string,
|
|
4284
|
+
footer: string,
|
|
4285
|
+
requiredText: string,
|
|
4286
|
+
},
|
|
4287
|
+
paneldynamic: {
|
|
4288
|
+
mainRoot: string,
|
|
4289
|
+
root: string,
|
|
4290
|
+
navigation: string,
|
|
4291
|
+
title: string,
|
|
4292
|
+
button: string,
|
|
4293
|
+
buttonRemove: string,
|
|
4294
|
+
buttonAdd: string,
|
|
4295
|
+
progressTop: string,
|
|
4296
|
+
progressBottom: string,
|
|
4297
|
+
buttonPrev: string,
|
|
4298
|
+
buttonNext: string,
|
|
4299
|
+
progressContainer: string,
|
|
4300
|
+
progress: string,
|
|
4301
|
+
progressBar: string,
|
|
4302
|
+
progressText: string,
|
|
4303
|
+
separator: string,
|
|
4304
|
+
panelWrapper: string,
|
|
4305
|
+
panelWrapperInRow: string,
|
|
4306
|
+
},
|
|
4307
|
+
progress: string,
|
|
4308
|
+
progressBar: string,
|
|
4309
|
+
progressText: string,
|
|
4310
|
+
progressTextInBar: string,
|
|
4311
|
+
page: {
|
|
4312
|
+
root: string,
|
|
4313
|
+
title: string,
|
|
4314
|
+
description: string,
|
|
4315
|
+
},
|
|
4316
|
+
pageTitle: string,
|
|
4317
|
+
pageDescription: string,
|
|
4318
|
+
row: string,
|
|
4319
|
+
rowMultiple: string,
|
|
4320
|
+
question: {
|
|
4321
|
+
mainRoot: string,
|
|
4322
|
+
flowRoot: string,
|
|
4323
|
+
asCell: string,
|
|
4324
|
+
header: string,
|
|
4325
|
+
headerLeft: string,
|
|
4326
|
+
headerTop: string,
|
|
4327
|
+
headerBottom: string,
|
|
4328
|
+
content: string,
|
|
4329
|
+
contentLeft: string,
|
|
4330
|
+
titleLeftRoot: string,
|
|
4331
|
+
titleOnAnswer: string,
|
|
4332
|
+
titleOnError: string,
|
|
4333
|
+
title: string,
|
|
4334
|
+
requiredText: string,
|
|
4335
|
+
number: string,
|
|
4336
|
+
description: string,
|
|
4337
|
+
descriptionUnderInput: string,
|
|
4338
|
+
comment: string,
|
|
4339
|
+
required: string,
|
|
4340
|
+
titleRequired: string,
|
|
4341
|
+
indent: number,
|
|
4342
|
+
footer: string,
|
|
4343
|
+
formGroup: string,
|
|
4344
|
+
hasError: string,
|
|
4345
|
+
disabled: string,
|
|
4346
|
+
},
|
|
4347
|
+
image: {
|
|
4348
|
+
root: string,
|
|
4349
|
+
},
|
|
4350
|
+
error: {
|
|
4351
|
+
root: string,
|
|
4352
|
+
icon: string,
|
|
4353
|
+
item: string,
|
|
4354
|
+
locationTop: string,
|
|
4355
|
+
locationBottom: string,
|
|
4356
|
+
},
|
|
4357
|
+
checkbox: {
|
|
4358
|
+
root: string,
|
|
4359
|
+
item: string,
|
|
4360
|
+
itemSelectAll: string,
|
|
4361
|
+
itemNone: string,
|
|
4362
|
+
itemDisabled: string,
|
|
4363
|
+
itemChecked: string,
|
|
4364
|
+
itemHover: string,
|
|
4365
|
+
itemInline: string,
|
|
4366
|
+
label: string,
|
|
4367
|
+
labelChecked: string,
|
|
4368
|
+
itemControl: string,
|
|
4369
|
+
itemDecorator: string,
|
|
4370
|
+
controlLabel: string,
|
|
4371
|
+
materialDecorator: string,
|
|
4372
|
+
other: string,
|
|
4373
|
+
column: string,
|
|
4374
|
+
},
|
|
4375
|
+
radiogroup: {
|
|
4376
|
+
root: string,
|
|
4377
|
+
item: string,
|
|
4378
|
+
itemInline: string,
|
|
4379
|
+
label: string,
|
|
4380
|
+
labelChecked: string,
|
|
4381
|
+
itemDisabled: string,
|
|
4382
|
+
itemChecked: string,
|
|
4383
|
+
itemHover: string,
|
|
4384
|
+
itemControl: string,
|
|
4385
|
+
itemDecorator: string,
|
|
4386
|
+
controlLabel: string,
|
|
4387
|
+
materialDecorator: string,
|
|
4388
|
+
other: string,
|
|
4389
|
+
clearButton: string,
|
|
4390
|
+
column: string,
|
|
4391
|
+
},
|
|
4392
|
+
boolean: {
|
|
4393
|
+
mainRoot: string,
|
|
4394
|
+
root: string,
|
|
4395
|
+
item: string,
|
|
4396
|
+
control: string,
|
|
4397
|
+
itemChecked: string,
|
|
4398
|
+
itemIndeterminate: string,
|
|
4399
|
+
itemDisabled: string,
|
|
4400
|
+
label: string,
|
|
4401
|
+
switch: string,
|
|
4402
|
+
disabledLabel: string,
|
|
4403
|
+
itemDecorator: string,
|
|
4404
|
+
materialDecorator: string,
|
|
4405
|
+
sliderText: string,
|
|
4406
|
+
slider: string,
|
|
4407
|
+
},
|
|
4408
|
+
text: {
|
|
4409
|
+
root: string,
|
|
4410
|
+
small: string,
|
|
4411
|
+
controlDisabled: string,
|
|
4412
|
+
onError: string,
|
|
4413
|
+
},
|
|
4414
|
+
multipletext: {
|
|
4415
|
+
root: string,
|
|
4416
|
+
item: string,
|
|
4417
|
+
itemTitle: string,
|
|
4418
|
+
row: string,
|
|
4419
|
+
cell: string,
|
|
4420
|
+
},
|
|
4421
|
+
dropdown: {
|
|
4422
|
+
root: string,
|
|
4423
|
+
small: string,
|
|
4424
|
+
control: string,
|
|
4425
|
+
selectWrapper: string,
|
|
4426
|
+
other: string,
|
|
4427
|
+
onError: string,
|
|
4428
|
+
label: string,
|
|
4429
|
+
item: string,
|
|
4430
|
+
itemDisabled: string,
|
|
4431
|
+
itemChecked: string,
|
|
4432
|
+
itemHover: string,
|
|
4433
|
+
itemControl: string,
|
|
4434
|
+
itemDecorator: string,
|
|
4435
|
+
controlDisabled: string,
|
|
4436
|
+
controlLabel: string,
|
|
4437
|
+
materialDecorator: string,
|
|
4438
|
+
},
|
|
4439
|
+
imagepicker: {
|
|
4440
|
+
root: string,
|
|
4441
|
+
item: string,
|
|
4442
|
+
itemInline: string,
|
|
4443
|
+
itemChecked: string,
|
|
4444
|
+
itemDisabled: string,
|
|
4445
|
+
itemHover: string,
|
|
4446
|
+
label: string,
|
|
4447
|
+
itemControl: string,
|
|
4448
|
+
image: string,
|
|
4449
|
+
itemText: string,
|
|
4450
|
+
clearButton: string,
|
|
4451
|
+
other: string,
|
|
4452
|
+
},
|
|
4453
|
+
matrix: {
|
|
4454
|
+
mainRoot: string,
|
|
4455
|
+
tableWrapper: string,
|
|
4456
|
+
root: string,
|
|
4457
|
+
row: string,
|
|
4458
|
+
rowAdditional: string,
|
|
4459
|
+
rowError: string,
|
|
4460
|
+
cell: string,
|
|
4461
|
+
headerCell: string,
|
|
4462
|
+
label: string,
|
|
4463
|
+
itemValue: string,
|
|
4464
|
+
itemChecked: string,
|
|
4465
|
+
itemDisabled: string,
|
|
4466
|
+
itemHover: string,
|
|
4467
|
+
materialDecorator: string,
|
|
4468
|
+
itemDecorator: string,
|
|
4469
|
+
cellText: string,
|
|
4470
|
+
cellTextSelected: string,
|
|
4471
|
+
cellTextDisabled: string,
|
|
4472
|
+
},
|
|
4473
|
+
matrixdropdown: {
|
|
4474
|
+
mainRoot: string,
|
|
4475
|
+
root: string,
|
|
4476
|
+
row: string,
|
|
4477
|
+
rowAdditional: string,
|
|
4478
|
+
cell: string,
|
|
4479
|
+
headerCell: string,
|
|
4480
|
+
},
|
|
4481
|
+
matrixdynamic: {
|
|
4482
|
+
mainRoot: string,
|
|
4483
|
+
root: string,
|
|
4484
|
+
row: string,
|
|
4485
|
+
rowAdditional: string,
|
|
4486
|
+
cell: string,
|
|
4487
|
+
headerCell: string,
|
|
4488
|
+
button: string,
|
|
4489
|
+
detailRow: string,
|
|
4490
|
+
detailButton: string,
|
|
4491
|
+
detailButtonExpanded: string,
|
|
4492
|
+
detailIcon: string,
|
|
4493
|
+
detailIconExpanded: string,
|
|
4494
|
+
detailPanelCell: string,
|
|
4495
|
+
actionsCell: string,
|
|
4496
|
+
buttonAdd: string,
|
|
4497
|
+
buttonRemove: string,
|
|
4498
|
+
iconAdd: string,
|
|
4499
|
+
iconRemove: string,
|
|
4500
|
+
},
|
|
4501
|
+
rating: {
|
|
4502
|
+
root: string,
|
|
4503
|
+
item: string,
|
|
4504
|
+
itemHover: string,
|
|
4505
|
+
selected: string,
|
|
4506
|
+
minText: string,
|
|
4507
|
+
itemText: string,
|
|
4508
|
+
maxText: string,
|
|
4509
|
+
itemDisabled: string,
|
|
4510
|
+
},
|
|
4511
|
+
comment: {
|
|
4512
|
+
mainRoot: string,
|
|
4513
|
+
root: string,
|
|
4514
|
+
small: string,
|
|
4515
|
+
},
|
|
4516
|
+
expression: string,
|
|
4517
|
+
file: {
|
|
4518
|
+
root: string,
|
|
4519
|
+
other: string,
|
|
4520
|
+
placeholderInput: string,
|
|
4521
|
+
preview: string,
|
|
4522
|
+
fileSign: string,
|
|
4523
|
+
fileSignBottom: string,
|
|
4524
|
+
fileDecorator: string,
|
|
4525
|
+
fileInput: string,
|
|
4526
|
+
noFileChosen: string,
|
|
4527
|
+
chooseFile: string,
|
|
4528
|
+
disabled: string,
|
|
4529
|
+
removeButton: string,
|
|
4530
|
+
removeButtonBottom: string,
|
|
4531
|
+
removeFile: string,
|
|
4532
|
+
removeFileSvg: string,
|
|
4533
|
+
wrapper: string,
|
|
4534
|
+
},
|
|
4535
|
+
signaturepad: {
|
|
4536
|
+
root: string,
|
|
4537
|
+
small: string,
|
|
4538
|
+
controls: string,
|
|
4539
|
+
placeholder: string,
|
|
4540
|
+
clearButton: string,
|
|
4541
|
+
},
|
|
4542
|
+
saveData: {
|
|
4543
|
+
root: string,
|
|
4544
|
+
saving: string,
|
|
4545
|
+
error: string,
|
|
4546
|
+
success: string,
|
|
4547
|
+
saveAgainButton: string,
|
|
4548
|
+
},
|
|
4549
|
+
window: {
|
|
4550
|
+
root: string,
|
|
4551
|
+
body: string,
|
|
4552
|
+
header: {
|
|
4553
|
+
root: string,
|
|
4554
|
+
title: string,
|
|
4555
|
+
button: string,
|
|
4556
|
+
buttonExpanded: string,
|
|
4557
|
+
buttonCollapsed: string,
|
|
4558
|
+
},
|
|
4559
|
+
},
|
|
4560
|
+
embeddedsurvey: {
|
|
4561
|
+
mainRoot: string,
|
|
4562
|
+
},
|
|
4563
|
+
};
|
|
4564
|
+
export declare var svgBundle: string;
|
|
4565
|
+
export declare var Version: string;
|
|
4566
|
+
export declare var editableStringRendererName: any;
|