survey-react-ui 1.9.28 → 1.9.31
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/package.json +1 -1
- package/survey-react-ui.d.ts +222 -214
- package/survey-react-ui.js +93 -44
- package/survey-react-ui.min.js +2 -2
package/survey-react-ui.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Type definition for Survey JavaScript library for React (without core) v1.9.
|
|
2
|
+
* Type definition for Survey JavaScript library for React (without core) v1.9.31
|
|
3
3
|
* Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
@@ -8,13 +8,13 @@ import { SurveyModel, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownM
|
|
|
8
8
|
import { QuestionRowModel, SurveyElement, QuestionSelectBase, ItemValue, QuestionMatrixDropdownRenderedCell } from "survey-core";
|
|
9
9
|
import { LocalizableString, Base, ITitleOwner, PopupBaseViewModel, PageModel } from "survey-core";
|
|
10
10
|
import { ButtonGroupItemModel, QuestionButtonGroupModel, ButtonGroupItemValue, PanelModelBase, SurveyProgressButtonsModel } from "survey-core";
|
|
11
|
-
import { IElement, ActionDropdownViewModel, TooltipManager,
|
|
12
|
-
import { QuestionCheckboxModel, QuestionEmptyModel, QuestionExpressionModel, QuestionFileModel
|
|
13
|
-
import { QuestionImageModel, QuestionImagePickerModel, ImageItemValue, QuestionMatrixModel
|
|
14
|
-
import {
|
|
11
|
+
import { IElement, ActionDropdownViewModel, TooltipManager, MultipleTextItemModel, PanelModel } from "survey-core";
|
|
12
|
+
import { QuestionBooleanModel, QuestionCheckboxModel, QuestionEmptyModel, QuestionExpressionModel, QuestionFileModel } from "survey-core";
|
|
13
|
+
import { QuestionHtmlModel, QuestionImageModel, QuestionImagePickerModel, ImageItemValue, QuestionMatrixModel } from "survey-core";
|
|
14
|
+
import { AdaptiveActionContainer, QuestionMultipleTextModel, QuestionPanelDynamicModel, QuestionRadiogroupModel, QuestionRankingModel } from "survey-core";
|
|
15
15
|
import { QuestionRatingModel, RenderedRatingItem, QuestionSignaturePadModel, SurveyTimerModel, SurveyWindowModel } from "survey-core";
|
|
16
16
|
import { FlowPanelModel, QuestionCommentModel, QuestionCompositeModel, QuestionCustomModel, QuestionMatrixDynamicModel } from "survey-core";
|
|
17
|
-
import { QuestionTextModel } from "survey-core";
|
|
17
|
+
import { QuestionTextModel, IArrayPropertyDecoratorOptions } from "survey-core";
|
|
18
18
|
import * as React from "react";
|
|
19
19
|
|
|
20
20
|
export { SurveyModel } from "survey-core";
|
|
@@ -64,42 +64,42 @@ export interface ILogoImageProps {
|
|
|
64
64
|
}
|
|
65
65
|
export declare class LogoImage extends React.Component<ILogoImageProps, any> {
|
|
66
66
|
constructor(props: ILogoImageProps);
|
|
67
|
-
render():
|
|
67
|
+
render(): JSX.Element;
|
|
68
68
|
}
|
|
69
69
|
export declare class ReactElementFactory {
|
|
70
70
|
static Instance: ReactElementFactory;
|
|
71
71
|
creatorHash: any;
|
|
72
|
-
registerElement(elementType: string, elementCreator: any): void;
|
|
72
|
+
registerElement(elementType: string, elementCreator: (props: any) => JSX.Element): void;
|
|
73
73
|
getAllTypes(): Array<any>;
|
|
74
74
|
isElementRegistered(elementType: string): boolean;
|
|
75
|
-
createElement(elementType: string, params: any):
|
|
75
|
+
createElement(elementType: string, params: any): JSX.Element;
|
|
76
76
|
}
|
|
77
77
|
export declare class ReactQuestionFactory {
|
|
78
78
|
static Instance: ReactQuestionFactory;
|
|
79
79
|
creatorHash: any;
|
|
80
|
-
registerQuestion(questionType: string, questionCreator:
|
|
80
|
+
registerQuestion(questionType: string, questionCreator: (name: string) => JSX.Element): void;
|
|
81
81
|
getAllTypes(): Array<any>;
|
|
82
|
-
createQuestion(questionType: string, params: any):
|
|
82
|
+
createQuestion(questionType: string, params: any): JSX.Element;
|
|
83
83
|
}
|
|
84
84
|
export declare class ReactSurveyElementsWrapper {
|
|
85
|
-
static wrapRow(survey: SurveyModel, element:
|
|
86
|
-
static wrapElement(survey: SurveyModel, element:
|
|
87
|
-
static wrapQuestionContent(survey: SurveyModel, element:
|
|
88
|
-
static wrapItemValue(survey: SurveyModel, element:
|
|
89
|
-
static wrapMatrixCell(survey: SurveyModel, element:
|
|
85
|
+
static wrapRow(survey: SurveyModel, element: JSX.Element, row: QuestionRowModel): JSX.Element;
|
|
86
|
+
static wrapElement(survey: SurveyModel, element: JSX.Element, question: SurveyElement): JSX.Element;
|
|
87
|
+
static wrapQuestionContent(survey: SurveyModel, element: JSX.Element, question: SurveyElement): JSX.Element;
|
|
88
|
+
static wrapItemValue(survey: SurveyModel, element: JSX.Element, question: QuestionSelectBase, item: ItemValue): JSX.Element;
|
|
89
|
+
static wrapMatrixCell(survey: SurveyModel, element: JSX.Element, cell: QuestionMatrixDropdownRenderedCell, reason?: string): JSX.Element;
|
|
90
90
|
}
|
|
91
91
|
export declare class Skeleton extends React.Component<any, any> {
|
|
92
92
|
constructor(props: any);
|
|
93
93
|
constructor(props: any, context: any);
|
|
94
|
-
render():
|
|
94
|
+
render(): JSX.Element;
|
|
95
95
|
}
|
|
96
96
|
export declare class SurveyActionBarSeparator extends React.Component<any, any> {
|
|
97
97
|
constructor(props: any);
|
|
98
|
-
render():
|
|
98
|
+
render(): JSX.Element;
|
|
99
99
|
}
|
|
100
100
|
export declare class SurveyElementBase<P, S> extends React.Component<P, S> {
|
|
101
101
|
constructor(props: any);
|
|
102
|
-
static renderLocString(locStr: LocalizableString, style?: any, key?: string):
|
|
102
|
+
static renderLocString(locStr: LocalizableString, style?: any, key?: string): JSX.Element;
|
|
103
103
|
changedStatePropNameValue: string;
|
|
104
104
|
componentDidMount(): void;
|
|
105
105
|
componentWillUnmount(): void;
|
|
@@ -108,45 +108,45 @@ export declare class SurveyElementBase<P, S> extends React.Component<P, S> {
|
|
|
108
108
|
protected allowComponentUpdate(): void;
|
|
109
109
|
protected denyComponentUpdate(): void;
|
|
110
110
|
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
111
|
-
render():
|
|
112
|
-
protected wrapElement(element:
|
|
111
|
+
render(): JSX.Element;
|
|
112
|
+
protected wrapElement(element: JSX.Element): JSX.Element;
|
|
113
113
|
protected get isRendering(): boolean;
|
|
114
114
|
protected getRenderedElements(): Array<Base>;
|
|
115
115
|
protected canRender(): boolean;
|
|
116
|
-
protected renderElement():
|
|
116
|
+
protected renderElement(): JSX.Element;
|
|
117
117
|
protected get changedStatePropName(): string;
|
|
118
118
|
protected getStateElements(): Array<Base>;
|
|
119
119
|
protected getStateElement(): Base;
|
|
120
120
|
protected get isDisplayMode(): boolean;
|
|
121
|
-
protected renderLocString(locStr: LocalizableString, style?: any):
|
|
121
|
+
protected renderLocString(locStr: LocalizableString, style?: any): JSX.Element;
|
|
122
122
|
protected canUsePropInState(key: string): boolean;
|
|
123
123
|
}
|
|
124
124
|
export declare class SurveyElementHeader extends React.Component<any, any> {
|
|
125
125
|
constructor(props: any);
|
|
126
126
|
constructor(props: any, context: any);
|
|
127
|
-
render():
|
|
128
|
-
protected renderDescription():
|
|
127
|
+
render(): JSX.Element;
|
|
128
|
+
protected renderDescription(): JSX.Element;
|
|
129
129
|
}
|
|
130
130
|
export declare class SurveyHeader extends React.Component<ISurveyHeaderProps, any> {
|
|
131
131
|
constructor(props: ISurveyHeaderProps);
|
|
132
132
|
componentDidMount(): void;
|
|
133
133
|
componentWillUnmount(): void;
|
|
134
|
-
render():
|
|
134
|
+
render(): JSX.Element;
|
|
135
135
|
}
|
|
136
136
|
export declare class SurveyLocStringEditor extends React.Component<any, any> {
|
|
137
137
|
constructor(props: any);
|
|
138
138
|
componentDidMount(): void;
|
|
139
139
|
componentWillUnmount(): void;
|
|
140
|
-
onInput: any;
|
|
141
|
-
onClick: any;
|
|
142
|
-
render():
|
|
140
|
+
onInput: (event: any) => void;
|
|
141
|
+
onClick: (event: any) => void;
|
|
142
|
+
render(): JSX.Element;
|
|
143
143
|
}
|
|
144
144
|
export declare class SurveyLocStringViewer extends React.Component<any, any> {
|
|
145
145
|
constructor(props: any);
|
|
146
146
|
componentDidMount(): void;
|
|
147
147
|
componentWillUnmount(): void;
|
|
148
148
|
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
149
|
-
render():
|
|
149
|
+
render(): JSX.Element;
|
|
150
150
|
}
|
|
151
151
|
export declare class SurveyNavigationBase extends React.Component<any, any> {
|
|
152
152
|
constructor(props: any);
|
|
@@ -161,7 +161,7 @@ export declare class SvgIcon extends React.Component<any, any> {
|
|
|
161
161
|
svgIconRef: any;
|
|
162
162
|
updateSvg(): void;
|
|
163
163
|
componentDidUpdate(): void;
|
|
164
|
-
render():
|
|
164
|
+
render(): JSX.Element;
|
|
165
165
|
componentDidMount(): void;
|
|
166
166
|
}
|
|
167
167
|
export declare class TitleActions extends React.Component<any, any> {
|
|
@@ -169,41 +169,41 @@ export declare class TitleActions extends React.Component<any, any> {
|
|
|
169
169
|
constructor(props: any, context: any);
|
|
170
170
|
protected get cssClasses(): any;
|
|
171
171
|
protected get element(): SurveyElement;
|
|
172
|
-
render():
|
|
172
|
+
render(): JSX.Element;
|
|
173
173
|
}
|
|
174
174
|
export declare class TitleContent extends React.Component<any, any> {
|
|
175
175
|
constructor(props: any);
|
|
176
|
-
render():
|
|
176
|
+
render(): JSX.Element;
|
|
177
177
|
protected renderTitleSpans(element: ITitleOwner, cssClasses: any): Array<Element>;
|
|
178
178
|
}
|
|
179
179
|
export declare class TitleElement extends React.Component<any, any> {
|
|
180
180
|
constructor(props: any);
|
|
181
|
-
render():
|
|
181
|
+
render(): JSX.Element;
|
|
182
182
|
}
|
|
183
183
|
export declare class List extends SurveyElementBase<IListProps, any> {
|
|
184
184
|
constructor(props: any);
|
|
185
185
|
get model(): ListModel;
|
|
186
|
-
handleKeydown: any;
|
|
186
|
+
handleKeydown: (event: any) => void;
|
|
187
187
|
getStateElement(): ListModel;
|
|
188
|
-
renderElement():
|
|
188
|
+
renderElement(): JSX.Element;
|
|
189
189
|
renderItems(): any;
|
|
190
|
-
searchElementContent():
|
|
190
|
+
searchElementContent(): JSX.Element;
|
|
191
191
|
}
|
|
192
192
|
export declare class ListItem extends SurveyElementBase<IListItemProps, any> {
|
|
193
193
|
constructor(props: any);
|
|
194
194
|
get model(): ListModel;
|
|
195
195
|
get item(): any;
|
|
196
|
-
handleKeydown: any;
|
|
196
|
+
handleKeydown: (event: any) => void;
|
|
197
197
|
getStateElement(): any;
|
|
198
|
-
render():
|
|
198
|
+
render(): JSX.Element;
|
|
199
199
|
}
|
|
200
200
|
export declare class MatrixRow extends SurveyElementBase<IMAtrixRowProps, any> {
|
|
201
201
|
constructor(props: IMAtrixRowProps);
|
|
202
202
|
get model(): QuestionMatrixDropdownRenderedRow;
|
|
203
203
|
get parentMatrix(): QuestionMatrixDropdownModelBase;
|
|
204
204
|
protected getStateElement(): QuestionMatrixDropdownRenderedRow;
|
|
205
|
-
protected onPointerDownHandler: any;
|
|
206
|
-
render():
|
|
205
|
+
protected onPointerDownHandler: (event: any) => void;
|
|
206
|
+
render(): JSX.Element;
|
|
207
207
|
}
|
|
208
208
|
export declare class Popup extends SurveyElementBase<IPopupProps, any> {
|
|
209
209
|
constructor(props: IPopupProps);
|
|
@@ -214,24 +214,24 @@ export declare class Popup extends SurveyElementBase<IPopupProps, any> {
|
|
|
214
214
|
componentDidMount(): void;
|
|
215
215
|
componentWillUnmount(): void;
|
|
216
216
|
shouldComponentUpdate(nextProps: IPopupProps, nextState: any): boolean;
|
|
217
|
-
render():
|
|
217
|
+
render(): JSX.Element;
|
|
218
218
|
}
|
|
219
219
|
export declare class PopupContainer extends SurveyElementBase<any, any> {
|
|
220
220
|
constructor(props: any);
|
|
221
221
|
prevIsVisible: boolean;
|
|
222
|
-
handleKeydown: any;
|
|
222
|
+
handleKeydown: (event: any) => void;
|
|
223
223
|
get model(): PopupBaseViewModel;
|
|
224
224
|
protected getStateElement(): PopupBaseViewModel;
|
|
225
|
-
clickInside: any;
|
|
225
|
+
clickInside: (ev: any) => void;
|
|
226
226
|
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
227
|
-
renderContainer():
|
|
228
|
-
renderPointer():
|
|
229
|
-
renderHeader():
|
|
230
|
-
renderContent():
|
|
231
|
-
renderCancelButton():
|
|
232
|
-
renderApplyButton():
|
|
233
|
-
renderFooter():
|
|
234
|
-
render():
|
|
227
|
+
renderContainer(): JSX.Element;
|
|
228
|
+
renderPointer(): JSX.Element;
|
|
229
|
+
renderHeader(): JSX.Element;
|
|
230
|
+
renderContent(): JSX.Element;
|
|
231
|
+
renderCancelButton(): JSX.Element;
|
|
232
|
+
renderApplyButton(): JSX.Element;
|
|
233
|
+
renderFooter(): JSX.Element;
|
|
234
|
+
render(): JSX.Element;
|
|
235
235
|
}
|
|
236
236
|
export declare class ReactSurveyElement extends SurveyElementBase<any, any> {
|
|
237
237
|
constructor(props: any);
|
|
@@ -251,25 +251,25 @@ export declare class Survey extends SurveyElementBase<any, any> implements ISurv
|
|
|
251
251
|
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
252
252
|
componentDidMount(): void;
|
|
253
253
|
componentWillUnmount(): void;
|
|
254
|
-
doRender():
|
|
255
|
-
protected renderElement():
|
|
254
|
+
doRender(): JSX.Element;
|
|
255
|
+
protected renderElement(): JSX.Element;
|
|
256
256
|
get css(): any;
|
|
257
257
|
set css(val: any);
|
|
258
258
|
handleTryAgainClick(event: any): void;
|
|
259
|
-
protected renderCompleted():
|
|
260
|
-
protected renderCompletedBefore():
|
|
261
|
-
protected renderLoading():
|
|
262
|
-
protected renderSurvey():
|
|
263
|
-
protected renderTimerPanel(location: string):
|
|
264
|
-
protected renderPage(page: PageModel):
|
|
265
|
-
protected renderProgress(isTop: boolean):
|
|
266
|
-
protected renderNavigation(navPosition: string):
|
|
267
|
-
protected renderEmptySurvey():
|
|
259
|
+
protected renderCompleted(): JSX.Element;
|
|
260
|
+
protected renderCompletedBefore(): JSX.Element;
|
|
261
|
+
protected renderLoading(): JSX.Element;
|
|
262
|
+
protected renderSurvey(): JSX.Element;
|
|
263
|
+
protected renderTimerPanel(location: string): JSX.Element;
|
|
264
|
+
protected renderPage(page: PageModel): JSX.Element;
|
|
265
|
+
protected renderProgress(isTop: boolean): JSX.Element;
|
|
266
|
+
protected renderNavigation(navPosition: string): JSX.Element;
|
|
267
|
+
protected renderEmptySurvey(): JSX.Element;
|
|
268
268
|
protected createSurvey(newProps: any): void;
|
|
269
269
|
protected updateSurvey(newProps: any, oldProps?: any): void;
|
|
270
270
|
protected setSurveyEvents(): void;
|
|
271
|
-
createQuestionElement(question: Question):
|
|
272
|
-
renderError(key: string, error: SurveyError, cssClasses: any):
|
|
271
|
+
createQuestionElement(question: Question): JSX.Element;
|
|
272
|
+
renderError(key: string, error: SurveyError, cssClasses: any): JSX.Element;
|
|
273
273
|
questionTitleLocation(): string;
|
|
274
274
|
questionErrorLocation(): string;
|
|
275
275
|
}
|
|
@@ -277,7 +277,7 @@ export declare class SurveyAction extends SurveyElementBase<IActionBarItemProps,
|
|
|
277
277
|
constructor(props: any);
|
|
278
278
|
get item(): any;
|
|
279
279
|
protected getStateElement(): Base;
|
|
280
|
-
renderElement():
|
|
280
|
+
renderElement(): JSX.Element;
|
|
281
281
|
}
|
|
282
282
|
export declare class SurveyActionBar extends SurveyElementBase<IActionBarProps, any> {
|
|
283
283
|
constructor(props: IActionBarProps);
|
|
@@ -293,10 +293,10 @@ export declare class SurveyActionBarItem extends SurveyElementBase<IActionBarIte
|
|
|
293
293
|
constructor(props: any);
|
|
294
294
|
get item(): Action;
|
|
295
295
|
protected getStateElement(): Base;
|
|
296
|
-
renderElement():
|
|
297
|
-
renderText():
|
|
298
|
-
renderButtonContent():
|
|
299
|
-
renderInnerButton():
|
|
296
|
+
renderElement(): JSX.Element;
|
|
297
|
+
renderText(): JSX.Element;
|
|
298
|
+
renderButtonContent(): JSX.Element;
|
|
299
|
+
renderInnerButton(): JSX.Element;
|
|
300
300
|
}
|
|
301
301
|
export declare class SurveyButtonGroupItem extends SurveyElementBase<any, any> {
|
|
302
302
|
constructor(props: any);
|
|
@@ -305,10 +305,10 @@ export declare class SurveyButtonGroupItem extends SurveyElementBase<any, any> {
|
|
|
305
305
|
get question(): QuestionButtonGroupModel;
|
|
306
306
|
get item(): ButtonGroupItemValue;
|
|
307
307
|
getStateElement(): ButtonGroupItemValue;
|
|
308
|
-
render():
|
|
309
|
-
protected renderIcon():
|
|
310
|
-
protected renderInput():
|
|
311
|
-
protected renderCaption():
|
|
308
|
+
render(): JSX.Element;
|
|
309
|
+
protected renderIcon(): JSX.Element;
|
|
310
|
+
protected renderInput(): JSX.Element;
|
|
311
|
+
protected renderCaption(): JSX.Element;
|
|
312
312
|
}
|
|
313
313
|
export declare class SurveyPanelBase extends SurveyElementBase<any, any> {
|
|
314
314
|
constructor(props: any);
|
|
@@ -328,35 +328,35 @@ export declare class SurveyPanelBase extends SurveyElementBase<any, any> {
|
|
|
328
328
|
protected canRender(): boolean;
|
|
329
329
|
renderedRowsCache: any;
|
|
330
330
|
protected renderRows(css: any): Array<Element>;
|
|
331
|
-
protected createRow(row: QuestionRowModel, css: any):
|
|
331
|
+
protected createRow(row: QuestionRowModel, css: any): JSX.Element;
|
|
332
332
|
}
|
|
333
333
|
export declare class SurveyProgress extends SurveyNavigationBase {
|
|
334
334
|
constructor(props: any);
|
|
335
335
|
protected get isTop(): boolean;
|
|
336
336
|
protected get progress(): number;
|
|
337
337
|
protected get progressText(): string;
|
|
338
|
-
render():
|
|
338
|
+
render(): JSX.Element;
|
|
339
339
|
}
|
|
340
340
|
export declare class SurveyProgressButtons extends SurveyNavigationBase {
|
|
341
341
|
constructor(props: any);
|
|
342
342
|
progressButtonsModel: SurveyProgressButtonsModel;
|
|
343
343
|
updateScroller: any;
|
|
344
344
|
listContainerRef: any;
|
|
345
|
-
render():
|
|
345
|
+
render(): JSX.Element;
|
|
346
346
|
protected getListElements(): Array<Element>;
|
|
347
|
-
protected renderListElement(page: PageModel, index: number):
|
|
347
|
+
protected renderListElement(page: PageModel, index: number): JSX.Element;
|
|
348
348
|
protected isListElementClickable(index: number): boolean;
|
|
349
349
|
protected getListElementCss(index: number): string;
|
|
350
350
|
protected clickListElement(index: number): void;
|
|
351
351
|
protected getScrollButtonCss(isLeftScroll: boolean): string;
|
|
352
|
-
protected clickScrollButton(listContainerElement:
|
|
352
|
+
protected clickScrollButton(listContainerElement: JSX.Element, isLeftScroll: boolean): void;
|
|
353
353
|
componentDidMount(): void;
|
|
354
354
|
componentWillUnmount(): void;
|
|
355
355
|
}
|
|
356
356
|
export declare class SurveyQuestion extends SurveyElementBase<any, any> {
|
|
357
357
|
constructor(props: any);
|
|
358
358
|
isNeedFocus: boolean;
|
|
359
|
-
static renderQuestionBody(creator: ISurveyCreator, question: Question):
|
|
359
|
+
static renderQuestionBody(creator: ISurveyCreator, question: Question): JSX.Element;
|
|
360
360
|
rootRef: any;
|
|
361
361
|
protected getStateElement(): Base;
|
|
362
362
|
protected get question(): Question;
|
|
@@ -364,15 +364,15 @@ export declare class SurveyQuestion extends SurveyElementBase<any, any> {
|
|
|
364
364
|
componentWillUnmount(): void;
|
|
365
365
|
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
366
366
|
protected canRender(): boolean;
|
|
367
|
-
protected renderQuestionContent():
|
|
368
|
-
protected renderElement():
|
|
369
|
-
protected wrapElement(element:
|
|
370
|
-
protected wrapQuestionContent(element:
|
|
371
|
-
protected renderQuestion():
|
|
372
|
-
protected renderDescription():
|
|
373
|
-
protected renderComment(cssClasses: any):
|
|
374
|
-
protected renderHeader(question: Question):
|
|
375
|
-
protected renderErrors(cssClasses: any, location: string):
|
|
367
|
+
protected renderQuestionContent(): JSX.Element;
|
|
368
|
+
protected renderElement(): JSX.Element;
|
|
369
|
+
protected wrapElement(element: JSX.Element): JSX.Element;
|
|
370
|
+
protected wrapQuestionContent(element: JSX.Element): JSX.Element;
|
|
371
|
+
protected renderQuestion(): JSX.Element;
|
|
372
|
+
protected renderDescription(): JSX.Element;
|
|
373
|
+
protected renderComment(cssClasses: any): JSX.Element;
|
|
374
|
+
protected renderHeader(question: Question): JSX.Element;
|
|
375
|
+
protected renderErrors(cssClasses: any, location: string): JSX.Element;
|
|
376
376
|
}
|
|
377
377
|
export declare class SurveyQuestionElementBase extends SurveyElementBase<any, any> {
|
|
378
378
|
constructor(props: any);
|
|
@@ -387,7 +387,7 @@ export declare class SurveyQuestionElementBase extends SurveyElementBase<any, an
|
|
|
387
387
|
protected canRender(): boolean;
|
|
388
388
|
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
389
389
|
protected get isDisplayMode(): boolean;
|
|
390
|
-
protected wrapCell(cell: any, element:
|
|
390
|
+
protected wrapCell(cell: any, element: JSX.Element, reason: string): JSX.Element;
|
|
391
391
|
}
|
|
392
392
|
export declare class SurveyRow extends SurveyElementBase<any, any> {
|
|
393
393
|
constructor(props: any);
|
|
@@ -395,17 +395,17 @@ export declare class SurveyRow extends SurveyElementBase<any, any> {
|
|
|
395
395
|
protected getStateElement(): Base;
|
|
396
396
|
protected get css(): any;
|
|
397
397
|
protected canRender(): boolean;
|
|
398
|
-
protected renderElementContent():
|
|
399
|
-
protected renderElement():
|
|
398
|
+
protected renderElementContent(): JSX.Element;
|
|
399
|
+
protected renderElement(): JSX.Element;
|
|
400
400
|
componentDidMount(): void;
|
|
401
401
|
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
402
402
|
componentWillUnmount(): void;
|
|
403
|
-
protected createElement(element: IElement, elementIndex?: number):
|
|
403
|
+
protected createElement(element: IElement, elementIndex?: number): JSX.Element;
|
|
404
404
|
}
|
|
405
405
|
export declare class SurveyActionBarItemDropdown extends SurveyActionBarItem {
|
|
406
406
|
constructor(props: any);
|
|
407
407
|
viewModel: ActionDropdownViewModel;
|
|
408
|
-
renderButtonContent():
|
|
408
|
+
renderButtonContent(): JSX.Element;
|
|
409
409
|
componentWillUnmount(): void;
|
|
410
410
|
}
|
|
411
411
|
export declare class SurveyCustomWidget extends SurveyQuestionElementBase {
|
|
@@ -415,7 +415,7 @@ export declare class SurveyCustomWidget extends SurveyQuestionElementBase {
|
|
|
415
415
|
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
416
416
|
componentWillUnmount(): void;
|
|
417
417
|
protected canRender(): boolean;
|
|
418
|
-
protected renderElement():
|
|
418
|
+
protected renderElement(): JSX.Element;
|
|
419
419
|
}
|
|
420
420
|
export declare class SurveyElementErrors extends ReactSurveyElement {
|
|
421
421
|
constructor(props: any);
|
|
@@ -427,33 +427,39 @@ export declare class SurveyElementErrors extends ReactSurveyElement {
|
|
|
427
427
|
tooltipRef: any;
|
|
428
428
|
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
429
429
|
componentWillUnmount(): void;
|
|
430
|
-
protected renderElement():
|
|
430
|
+
protected renderElement(): JSX.Element;
|
|
431
|
+
}
|
|
432
|
+
export declare class SurveyMultipleTextItem extends ReactSurveyElement {
|
|
433
|
+
constructor(props: any);
|
|
434
|
+
protected getStateElements(): any;
|
|
435
|
+
protected renderElement(): JSX.Element;
|
|
436
|
+
protected renderItemTooltipError(item: MultipleTextItemModel, cssClasses: any): JSX.Element;
|
|
431
437
|
}
|
|
432
438
|
export declare class SurveyNavigationButton extends ReactSurveyElement {
|
|
433
439
|
constructor(props: any);
|
|
434
440
|
protected get item(): Action;
|
|
435
441
|
protected canRender(): boolean;
|
|
436
|
-
protected renderElement():
|
|
442
|
+
protected renderElement(): JSX.Element;
|
|
437
443
|
}
|
|
438
444
|
export declare class SurveyPage extends SurveyPanelBase {
|
|
439
445
|
constructor(props: any);
|
|
440
446
|
protected getPanelBase(): PanelModelBase;
|
|
441
447
|
get page(): PageModel;
|
|
442
|
-
protected renderElement():
|
|
443
|
-
protected renderTitle():
|
|
444
|
-
protected renderDescription():
|
|
448
|
+
protected renderElement(): JSX.Element;
|
|
449
|
+
protected renderTitle(): JSX.Element;
|
|
450
|
+
protected renderDescription(): JSX.Element;
|
|
445
451
|
}
|
|
446
452
|
export declare class SurveyPanel extends SurveyPanelBase {
|
|
447
453
|
constructor(props: any);
|
|
448
454
|
hasBeenExpanded: boolean;
|
|
449
455
|
get panel(): PanelModel;
|
|
450
|
-
protected renderElement():
|
|
451
|
-
protected renderHeader():
|
|
452
|
-
protected wrapElement(element:
|
|
453
|
-
protected renderContent(style: any, rows: any, className: string):
|
|
454
|
-
protected renderTitle():
|
|
455
|
-
protected renderDescription():
|
|
456
|
-
protected renderBottom():
|
|
456
|
+
protected renderElement(): JSX.Element;
|
|
457
|
+
protected renderHeader(): JSX.Element;
|
|
458
|
+
protected wrapElement(element: JSX.Element): JSX.Element;
|
|
459
|
+
protected renderContent(style: any, rows: any, className: string): JSX.Element;
|
|
460
|
+
protected renderTitle(): JSX.Element;
|
|
461
|
+
protected renderDescription(): JSX.Element;
|
|
462
|
+
protected renderBottom(): JSX.Element;
|
|
457
463
|
}
|
|
458
464
|
export declare class SurveyQuestionAndErrorsWrapped extends ReactSurveyElement {
|
|
459
465
|
constructor(props: any);
|
|
@@ -466,11 +472,11 @@ export declare class SurveyQuestionAndErrorsWrapped extends ReactSurveyElement {
|
|
|
466
472
|
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
467
473
|
protected doAfterRender(): void;
|
|
468
474
|
protected canRender(): boolean;
|
|
469
|
-
protected renderErrors(errorsLocation: string):
|
|
470
|
-
protected renderContent():
|
|
471
|
-
protected renderElement():
|
|
475
|
+
protected renderErrors(errorsLocation: string): JSX.Element;
|
|
476
|
+
protected renderContent(): JSX.Element;
|
|
477
|
+
protected renderElement(): JSX.Element;
|
|
472
478
|
protected getShowErrors(): boolean;
|
|
473
|
-
protected renderQuestion():
|
|
479
|
+
protected renderQuestion(): JSX.Element;
|
|
474
480
|
}
|
|
475
481
|
export declare class SurveyQuestionBoolean extends SurveyQuestionElementBase {
|
|
476
482
|
constructor(props: any);
|
|
@@ -483,27 +489,27 @@ export declare class SurveyQuestionBoolean extends SurveyQuestionElementBase {
|
|
|
483
489
|
handleOnLabelClick(event: any, value: boolean): void;
|
|
484
490
|
handleOnKeyDown(event: any): void;
|
|
485
491
|
protected updateDomElement(): void;
|
|
486
|
-
protected renderElement():
|
|
492
|
+
protected renderElement(): JSX.Element;
|
|
487
493
|
}
|
|
488
494
|
export declare class SurveyQuestionButtonGroup extends SurveyQuestionElementBase {
|
|
489
495
|
constructor(props: any);
|
|
490
496
|
protected get question(): QuestionButtonGroupModel;
|
|
491
497
|
getStateElement(): QuestionButtonGroupModel;
|
|
492
|
-
render():
|
|
498
|
+
render(): JSX.Element;
|
|
493
499
|
renderItems(): any;
|
|
494
500
|
}
|
|
495
501
|
export declare class SurveyQuestionCheckbox extends SurveyQuestionElementBase {
|
|
496
502
|
constructor(props: any);
|
|
497
503
|
protected get question(): QuestionCheckboxModel;
|
|
498
|
-
protected renderElement():
|
|
504
|
+
protected renderElement(): JSX.Element;
|
|
499
505
|
protected getHeader(): any;
|
|
500
506
|
protected getFooter(): any;
|
|
501
|
-
protected getColumnedBody(cssClasses: any):
|
|
507
|
+
protected getColumnedBody(cssClasses: any): JSX.Element;
|
|
502
508
|
protected getColumns(cssClasses: any): any;
|
|
503
509
|
protected getItems(cssClasses: any): Array<any>;
|
|
504
510
|
protected get textStyle(): any;
|
|
505
|
-
protected renderOther():
|
|
506
|
-
protected renderItem(key: string, item: any, isFirst: boolean, cssClasses: any, index: string):
|
|
511
|
+
protected renderOther(): JSX.Element;
|
|
512
|
+
protected renderItem(key: string, item: any, isFirst: boolean, cssClasses: any, index: string): JSX.Element;
|
|
507
513
|
}
|
|
508
514
|
export declare class SurveyQuestionCheckboxItem extends ReactSurveyElement {
|
|
509
515
|
constructor(props: any);
|
|
@@ -514,36 +520,36 @@ export declare class SurveyQuestionCheckboxItem extends ReactSurveyElement {
|
|
|
514
520
|
protected get isFirst(): any;
|
|
515
521
|
protected get index(): number;
|
|
516
522
|
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
517
|
-
handleOnChange: any;
|
|
518
|
-
selectAllChanged: any;
|
|
523
|
+
handleOnChange: (event: any) => void;
|
|
524
|
+
selectAllChanged: (event: any) => void;
|
|
519
525
|
protected canRender(): boolean;
|
|
520
|
-
protected renderElement():
|
|
526
|
+
protected renderElement(): JSX.Element;
|
|
521
527
|
protected get inputStyle(): any;
|
|
522
|
-
protected renderCheckbox(isChecked: boolean, otherItem:
|
|
528
|
+
protected renderCheckbox(isChecked: boolean, otherItem: JSX.Element): JSX.Element;
|
|
523
529
|
}
|
|
524
530
|
export declare class SurveyQuestionCommentItem extends ReactSurveyElement {
|
|
525
531
|
constructor(props: any);
|
|
526
532
|
protected canRender(): boolean;
|
|
527
|
-
protected renderElement():
|
|
533
|
+
protected renderElement(): JSX.Element;
|
|
528
534
|
}
|
|
529
535
|
export declare class SurveyQuestionEmpty extends SurveyQuestionElementBase {
|
|
530
536
|
constructor(props: any);
|
|
531
537
|
protected get question(): QuestionEmptyModel;
|
|
532
|
-
protected renderElement():
|
|
538
|
+
protected renderElement(): JSX.Element;
|
|
533
539
|
}
|
|
534
540
|
export declare class SurveyQuestionExpression extends SurveyQuestionElementBase {
|
|
535
541
|
constructor(props: any);
|
|
536
542
|
protected get question(): QuestionExpressionModel;
|
|
537
|
-
protected renderElement():
|
|
543
|
+
protected renderElement(): JSX.Element;
|
|
538
544
|
}
|
|
539
545
|
export declare class SurveyQuestionFile extends SurveyQuestionElementBase {
|
|
540
546
|
constructor(props: any);
|
|
541
547
|
protected get question(): QuestionFileModel;
|
|
542
|
-
protected renderElement():
|
|
543
|
-
protected renderFileDecorator():
|
|
544
|
-
protected renderClearButton(className: string):
|
|
545
|
-
protected renderFileSign(className: string, val: any):
|
|
546
|
-
protected renderPreview():
|
|
548
|
+
protected renderElement(): JSX.Element;
|
|
549
|
+
protected renderFileDecorator(): JSX.Element;
|
|
550
|
+
protected renderClearButton(className: string): JSX.Element;
|
|
551
|
+
protected renderFileSign(className: string, val: any): JSX.Element;
|
|
552
|
+
protected renderPreview(): JSX.Element;
|
|
547
553
|
}
|
|
548
554
|
export declare class SurveyQuestionHtml extends SurveyQuestionElementBase {
|
|
549
555
|
constructor(props: any);
|
|
@@ -552,7 +558,7 @@ export declare class SurveyQuestionHtml extends SurveyQuestionElementBase {
|
|
|
552
558
|
componentWillUnmount(): void;
|
|
553
559
|
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
554
560
|
protected canRender(): boolean;
|
|
555
|
-
protected renderElement():
|
|
561
|
+
protected renderElement(): JSX.Element;
|
|
556
562
|
}
|
|
557
563
|
export declare class SurveyQuestionImage extends SurveyQuestionElementBase {
|
|
558
564
|
constructor(props: any);
|
|
@@ -560,16 +566,16 @@ export declare class SurveyQuestionImage extends SurveyQuestionElementBase {
|
|
|
560
566
|
componentWillUnmount(): void;
|
|
561
567
|
protected get question(): QuestionImageModel;
|
|
562
568
|
protected canRender(): boolean;
|
|
563
|
-
protected renderElement():
|
|
569
|
+
protected renderElement(): JSX.Element;
|
|
564
570
|
}
|
|
565
571
|
export declare class SurveyQuestionImagePicker extends SurveyQuestionElementBase {
|
|
566
572
|
constructor(props: any);
|
|
567
573
|
protected get question(): QuestionImagePickerModel;
|
|
568
|
-
protected renderElement():
|
|
574
|
+
protected renderElement(): JSX.Element;
|
|
569
575
|
protected getColumns(cssClasses: any): any;
|
|
570
576
|
protected getItems(cssClasses: any): Array<any>;
|
|
571
577
|
protected get textStyle(): any;
|
|
572
|
-
protected renderItem(key: string, item: ImageItemValue, cssClasses: any):
|
|
578
|
+
protected renderItem(key: string, item: ImageItemValue, cssClasses: any): JSX.Element;
|
|
573
579
|
}
|
|
574
580
|
export declare class SurveyQuestionImagePickerItem extends ReactSurveyElement {
|
|
575
581
|
constructor(props: any);
|
|
@@ -581,84 +587,83 @@ export declare class SurveyQuestionImagePickerItem extends ReactSurveyElement {
|
|
|
581
587
|
protected get item(): any;
|
|
582
588
|
protected get question(): any;
|
|
583
589
|
handleOnChange(event: any): void;
|
|
584
|
-
protected renderElement():
|
|
590
|
+
protected renderElement(): JSX.Element;
|
|
585
591
|
}
|
|
586
592
|
export declare class SurveyQuestionMatrix extends SurveyQuestionElementBase {
|
|
587
593
|
constructor(props: any);
|
|
588
594
|
protected get question(): QuestionMatrixModel;
|
|
589
595
|
componentDidMount(): void;
|
|
590
596
|
componentWillUnmount(): void;
|
|
591
|
-
protected renderElement():
|
|
597
|
+
protected renderElement(): JSX.Element;
|
|
592
598
|
}
|
|
593
599
|
export declare class SurveyQuestionMatrixActionsCell extends ReactSurveyElement {
|
|
594
600
|
constructor(props: any);
|
|
595
601
|
get model(): any;
|
|
596
|
-
protected renderElement():
|
|
602
|
+
protected renderElement(): JSX.Element;
|
|
597
603
|
}
|
|
598
604
|
export declare class SurveyQuestionMatrixDetailButton extends ReactSurveyElement {
|
|
599
605
|
constructor(props: any);
|
|
600
606
|
protected getStateElement(): any;
|
|
601
607
|
get item(): Action;
|
|
602
608
|
handleOnShowHideClick(event: any): void;
|
|
603
|
-
protected renderElement():
|
|
609
|
+
protected renderElement(): JSX.Element;
|
|
604
610
|
}
|
|
605
611
|
export declare class SurveyQuestionMatrixDropdownBase extends SurveyQuestionElementBase {
|
|
606
612
|
constructor(props: any);
|
|
607
613
|
protected get question(): QuestionMatrixDropdownModelBase;
|
|
608
614
|
componentDidMount(): void;
|
|
609
615
|
componentWillUnmount(): void;
|
|
610
|
-
protected renderElement():
|
|
611
|
-
renderTableDiv():
|
|
612
|
-
renderHeader():
|
|
613
|
-
renderFooter():
|
|
614
|
-
renderRows():
|
|
615
|
-
renderRow(keyValue: any, row: QuestionMatrixDropdownRenderedRow, cssClasses: any):
|
|
616
|
-
renderCell(cell: QuestionMatrixDropdownRenderedCell, index: number, cssClasses: any):
|
|
616
|
+
protected renderElement(): JSX.Element;
|
|
617
|
+
renderTableDiv(): JSX.Element;
|
|
618
|
+
renderHeader(): JSX.Element;
|
|
619
|
+
renderFooter(): JSX.Element;
|
|
620
|
+
renderRows(): JSX.Element;
|
|
621
|
+
renderRow(keyValue: any, row: QuestionMatrixDropdownRenderedRow, cssClasses: any): JSX.Element;
|
|
622
|
+
renderCell(cell: QuestionMatrixDropdownRenderedCell, index: number, cssClasses: any): JSX.Element;
|
|
617
623
|
}
|
|
618
624
|
export declare class SurveyQuestionMatrixDynamicDragDropIcon extends ReactSurveyElement {
|
|
619
625
|
constructor(props: any);
|
|
620
|
-
protected renderElement():
|
|
626
|
+
protected renderElement(): JSX.Element;
|
|
621
627
|
}
|
|
622
628
|
export declare class SurveyQuestionMatrixDynamicRemoveButton extends ReactSurveyElement {
|
|
623
629
|
constructor(props: any);
|
|
624
630
|
handleOnRowRemoveClick(event: any): void;
|
|
625
|
-
protected renderElement():
|
|
631
|
+
protected renderElement(): JSX.Element;
|
|
626
632
|
}
|
|
627
633
|
export declare class SurveyQuestionMatrixRow extends ReactSurveyElement {
|
|
628
634
|
constructor(props: any);
|
|
629
635
|
handleOnChange(event: any): void;
|
|
630
|
-
protected wrapCell(cell: any, element:
|
|
636
|
+
protected wrapCell(cell: any, element: JSX.Element, reason: string): JSX.Element;
|
|
631
637
|
protected canRender(): boolean;
|
|
632
|
-
protected renderElement():
|
|
638
|
+
protected renderElement(): JSX.Element;
|
|
633
639
|
generateTds(): any;
|
|
634
640
|
cellClick(row: any, column: any): void;
|
|
635
641
|
}
|
|
636
642
|
export declare class SurveyQuestionMultipleText extends SurveyQuestionElementBase {
|
|
637
643
|
constructor(props: any);
|
|
638
644
|
protected get question(): QuestionMultipleTextModel;
|
|
639
|
-
protected renderElement():
|
|
640
|
-
protected
|
|
641
|
-
protected renderRow(rowIndex: number, items: any, cssClasses: any): any;
|
|
645
|
+
protected renderElement(): JSX.Element;
|
|
646
|
+
protected renderRow(rowIndex: number, items: any, cssClasses: any): JSX.Element;
|
|
642
647
|
}
|
|
643
648
|
export declare class SurveyQuestionOptionItem extends ReactSurveyElement {
|
|
644
649
|
constructor(props: any);
|
|
645
650
|
protected getStateElement(): Base;
|
|
646
651
|
protected canRender(): boolean;
|
|
647
|
-
protected renderElement():
|
|
652
|
+
protected renderElement(): JSX.Element;
|
|
648
653
|
}
|
|
649
654
|
export declare class SurveyQuestionPanelDynamic extends SurveyQuestionElementBase {
|
|
650
655
|
constructor(props: any);
|
|
651
656
|
protected get question(): QuestionPanelDynamicModel;
|
|
652
657
|
componentDidMount(): void;
|
|
653
658
|
componentWillUnmount(): void;
|
|
654
|
-
protected renderElement():
|
|
655
|
-
protected renderNavigator():
|
|
656
|
-
protected rendrerPrevButton():
|
|
657
|
-
protected rendrerNextButton():
|
|
658
|
-
protected renderRange():
|
|
659
|
-
protected renderAddRowButton():
|
|
660
|
-
protected renderNavigatorV2():
|
|
661
|
-
protected renderPlaceholder():
|
|
659
|
+
protected renderElement(): JSX.Element;
|
|
660
|
+
protected renderNavigator(): JSX.Element;
|
|
661
|
+
protected rendrerPrevButton(): JSX.Element;
|
|
662
|
+
protected rendrerNextButton(): JSX.Element;
|
|
663
|
+
protected renderRange(): JSX.Element;
|
|
664
|
+
protected renderAddRowButton(): JSX.Element;
|
|
665
|
+
protected renderNavigatorV2(): JSX.Element;
|
|
666
|
+
protected renderPlaceholder(): JSX.Element;
|
|
662
667
|
}
|
|
663
668
|
export declare class SurveyQuestionPanelDynamicAction extends ReactSurveyElement {
|
|
664
669
|
constructor(props: any);
|
|
@@ -675,55 +680,55 @@ export declare class SurveyQuestionRadioItem extends ReactSurveyElement {
|
|
|
675
680
|
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
676
681
|
handleOnChange(event: any): void;
|
|
677
682
|
protected canRender(): boolean;
|
|
678
|
-
protected renderElement():
|
|
683
|
+
protected renderElement(): JSX.Element;
|
|
679
684
|
}
|
|
680
685
|
export declare class SurveyQuestionRadiogroup extends SurveyQuestionElementBase {
|
|
681
686
|
constructor(props: any);
|
|
682
687
|
protected get question(): QuestionRadiogroupModel;
|
|
683
|
-
protected renderElement():
|
|
688
|
+
protected renderElement(): JSX.Element;
|
|
684
689
|
protected getFooter(): any;
|
|
685
|
-
protected getColumnedBody(cssClasses: any):
|
|
690
|
+
protected getColumnedBody(cssClasses: any): JSX.Element;
|
|
686
691
|
protected getColumns(cssClasses: any): any;
|
|
687
692
|
protected getItems(cssClasses: any): Array<any>;
|
|
688
693
|
protected get textStyle(): any;
|
|
689
|
-
protected renderOther(cssClasses: any):
|
|
694
|
+
protected renderOther(cssClasses: any): JSX.Element;
|
|
690
695
|
}
|
|
691
696
|
export declare class SurveyQuestionRanking extends SurveyQuestionElementBase {
|
|
692
697
|
constructor(props: any);
|
|
693
698
|
protected get question(): QuestionRankingModel;
|
|
694
|
-
protected renderElement():
|
|
699
|
+
protected renderElement(): JSX.Element;
|
|
695
700
|
protected getItems(): Array<any>;
|
|
696
|
-
protected renderItem(item: ItemValue, i: number, handleKeydown: any, handlePointerDown: any, cssClasses: any, itemClass: string, question: QuestionRankingModel):
|
|
701
|
+
protected renderItem(item: ItemValue, i: number, handleKeydown: (event: any) => void, handlePointerDown: (event: any) => void, cssClasses: any, itemClass: string, question: QuestionRankingModel): JSX.Element;
|
|
697
702
|
}
|
|
698
703
|
export declare class SurveyQuestionRankingItem extends ReactSurveyElement {
|
|
699
704
|
constructor(props: any);
|
|
700
705
|
protected get text(): string;
|
|
701
706
|
protected get index(): string;
|
|
702
707
|
protected get indexText(): string;
|
|
703
|
-
protected get handleKeydown(): any;
|
|
704
|
-
protected get handlePointerDown(): any;
|
|
708
|
+
protected get handleKeydown(): (event: any) => void;
|
|
709
|
+
protected get handlePointerDown(): (event: any) => void;
|
|
705
710
|
protected get cssClasses(): any;
|
|
706
711
|
protected get itemClass(): string;
|
|
707
712
|
protected get question(): any;
|
|
708
|
-
protected renderElement():
|
|
713
|
+
protected renderElement(): JSX.Element;
|
|
709
714
|
}
|
|
710
715
|
export declare class SurveyQuestionRating extends SurveyQuestionElementBase {
|
|
711
716
|
constructor(props: any);
|
|
712
717
|
protected get question(): QuestionRatingModel;
|
|
713
718
|
handleOnClick(event: any): void;
|
|
714
|
-
protected renderElement():
|
|
715
|
-
protected renderItem(key: string, item: RenderedRatingItem, index: number, cssClasses: any):
|
|
719
|
+
protected renderElement(): JSX.Element;
|
|
720
|
+
protected renderItem(key: string, item: RenderedRatingItem, index: number, cssClasses: any): JSX.Element;
|
|
716
721
|
}
|
|
717
722
|
export declare class SurveyQuestionSignaturePad extends SurveyQuestionElementBase {
|
|
718
723
|
constructor(props: any);
|
|
719
724
|
protected get question(): QuestionSignaturePadModel;
|
|
720
|
-
protected renderElement():
|
|
721
|
-
renderCleanButton():
|
|
725
|
+
protected renderElement(): JSX.Element;
|
|
726
|
+
renderCleanButton(): JSX.Element;
|
|
722
727
|
}
|
|
723
728
|
export declare class SurveyQuestionUncontrolledElement<T> extends SurveyQuestionElementBase {
|
|
724
729
|
constructor(props: any);
|
|
725
730
|
protected get question(): T;
|
|
726
|
-
updateValueOnEvent: any;
|
|
731
|
+
updateValueOnEvent: (event: any) => void;
|
|
727
732
|
protected setValueCore(newValue: any): void;
|
|
728
733
|
protected getValueCore(): any;
|
|
729
734
|
protected updateDomElement(): void;
|
|
@@ -732,7 +737,7 @@ export declare class SurveyTimerPanel extends ReactSurveyElement {
|
|
|
732
737
|
constructor(props: any);
|
|
733
738
|
protected getStateElement(): Base;
|
|
734
739
|
protected get timerModel(): SurveyTimerModel;
|
|
735
|
-
render():
|
|
740
|
+
render(): JSX.Element;
|
|
736
741
|
}
|
|
737
742
|
export declare class SurveyWindow extends Survey {
|
|
738
743
|
constructor(props: any);
|
|
@@ -740,9 +745,9 @@ export declare class SurveyWindow extends Survey {
|
|
|
740
745
|
protected getStateElements(): Array<Base>;
|
|
741
746
|
handleOnExpanded(event: any): void;
|
|
742
747
|
protected canRender(): boolean;
|
|
743
|
-
protected renderElement():
|
|
744
|
-
protected renderWindowHeader():
|
|
745
|
-
protected renderBody():
|
|
748
|
+
protected renderElement(): JSX.Element;
|
|
749
|
+
protected renderWindowHeader(): JSX.Element;
|
|
750
|
+
protected renderBody(): JSX.Element;
|
|
746
751
|
protected createSurvey(newProps: any): void;
|
|
747
752
|
}
|
|
748
753
|
export declare class SurveyFlowPanel extends SurveyPanel {
|
|
@@ -754,53 +759,53 @@ export declare class SurveyFlowPanel extends SurveyPanel {
|
|
|
754
759
|
protected renderQuestion(question: Question): string;
|
|
755
760
|
protected renderRows(): Array<Element>;
|
|
756
761
|
renderedIndex: number;
|
|
757
|
-
protected renderHtml():
|
|
762
|
+
protected renderHtml(): JSX.Element;
|
|
758
763
|
protected renderNodes(domNodes: any): Array<Element>;
|
|
759
|
-
protected renderParentNode(node: any):
|
|
760
|
-
protected renderNode(node: any):
|
|
761
|
-
protected renderContent(style: any, rows: any):
|
|
764
|
+
protected renderParentNode(node: any): JSX.Element;
|
|
765
|
+
protected renderNode(node: any): JSX.Element;
|
|
766
|
+
protected renderContent(style: any, rows: any): JSX.Element;
|
|
762
767
|
}
|
|
763
768
|
export declare class SurveyMultipleTextItemEditor extends SurveyQuestionAndErrorsWrapped {
|
|
764
769
|
constructor(props: any);
|
|
765
|
-
protected renderElement():
|
|
770
|
+
protected renderElement(): JSX.Element;
|
|
766
771
|
}
|
|
767
772
|
export declare class SurveyQuestionAndErrorsCell extends SurveyQuestionAndErrorsWrapped {
|
|
768
773
|
constructor(props: any);
|
|
769
774
|
protected cellRef: any;
|
|
770
775
|
componentWillUnmount(): void;
|
|
771
|
-
protected renderElement():
|
|
776
|
+
protected renderElement(): JSX.Element;
|
|
772
777
|
protected getCellStyle(): any;
|
|
773
778
|
protected getHeaderText(): string;
|
|
774
|
-
protected wrapCell(cell: QuestionMatrixDropdownRenderedCell, element:
|
|
779
|
+
protected wrapCell(cell: QuestionMatrixDropdownRenderedCell, element: JSX.Element): JSX.Element;
|
|
775
780
|
}
|
|
776
781
|
export declare class SurveyQuestionBooleanCheckbox extends SurveyQuestionBoolean {
|
|
777
782
|
constructor(props: any);
|
|
778
|
-
protected renderElement():
|
|
783
|
+
protected renderElement(): JSX.Element;
|
|
779
784
|
}
|
|
780
785
|
export declare class SurveyQuestionBooleanRadio extends SurveyQuestionBoolean {
|
|
781
786
|
constructor(props: any);
|
|
782
|
-
handleOnChange: any;
|
|
783
|
-
protected renderElement():
|
|
787
|
+
handleOnChange: (event: any) => void;
|
|
788
|
+
protected renderElement(): JSX.Element;
|
|
784
789
|
}
|
|
785
790
|
export declare class SurveyQuestionComment extends SurveyQuestionUncontrolledElement<QuestionCommentModel> {
|
|
786
791
|
constructor(props: any);
|
|
787
|
-
protected renderElement():
|
|
792
|
+
protected renderElement(): JSX.Element;
|
|
788
793
|
}
|
|
789
794
|
export declare class SurveyQuestionComposite extends SurveyQuestionUncontrolledElement<QuestionCompositeModel> {
|
|
790
795
|
constructor(props: any);
|
|
791
796
|
protected canRender(): boolean;
|
|
792
|
-
protected renderElement():
|
|
797
|
+
protected renderElement(): JSX.Element;
|
|
793
798
|
}
|
|
794
799
|
export declare class SurveyQuestionCustom extends SurveyQuestionUncontrolledElement<QuestionCustomModel> {
|
|
795
800
|
constructor(props: any);
|
|
796
801
|
protected getStateElements(): Array<Base>;
|
|
797
|
-
protected renderElement():
|
|
802
|
+
protected renderElement(): JSX.Element;
|
|
798
803
|
}
|
|
799
804
|
export declare class SurveyQuestionDropdownBase<T> extends SurveyQuestionUncontrolledElement<T> {
|
|
800
805
|
constructor(props: any);
|
|
801
806
|
protected setValueCore(newValue: any): void;
|
|
802
807
|
protected getValueCore(): any;
|
|
803
|
-
protected renderSelect(cssClasses: any):
|
|
808
|
+
protected renderSelect(cssClasses: any): JSX.Element;
|
|
804
809
|
}
|
|
805
810
|
export declare class SurveyQuestionMatrixDropdown extends SurveyQuestionMatrixDropdownBase {
|
|
806
811
|
constructor(props: any);
|
|
@@ -809,49 +814,49 @@ export declare class SurveyQuestionMatrixDynamic extends SurveyQuestionMatrixDro
|
|
|
809
814
|
constructor(props: any);
|
|
810
815
|
protected get matrix(): QuestionMatrixDynamicModel;
|
|
811
816
|
handleOnRowAddClick(event: any): void;
|
|
812
|
-
protected renderElement():
|
|
813
|
-
protected renderAddRowButtonOnTop(cssClasses: any):
|
|
814
|
-
protected renderAddRowButtonOnBottom(cssClasses: any):
|
|
815
|
-
protected renderNoRowsContent(cssClasses: any):
|
|
816
|
-
protected renderAddRowButton(cssClasses: any, isEmptySection?: boolean):
|
|
817
|
+
protected renderElement(): JSX.Element;
|
|
818
|
+
protected renderAddRowButtonOnTop(cssClasses: any): JSX.Element;
|
|
819
|
+
protected renderAddRowButtonOnBottom(cssClasses: any): JSX.Element;
|
|
820
|
+
protected renderNoRowsContent(cssClasses: any): JSX.Element;
|
|
821
|
+
protected renderAddRowButton(cssClasses: any, isEmptySection?: boolean): JSX.Element;
|
|
817
822
|
}
|
|
818
823
|
export declare class SurveyQuestionPanelDynamicAddButton extends SurveyQuestionPanelDynamicAction {
|
|
819
824
|
constructor(props: any);
|
|
820
|
-
protected handleClick: any;
|
|
821
|
-
protected renderElement():
|
|
825
|
+
protected handleClick: (event: any) => void;
|
|
826
|
+
protected renderElement(): JSX.Element;
|
|
822
827
|
}
|
|
823
828
|
export declare class SurveyQuestionPanelDynamicItem extends SurveyPanel {
|
|
824
829
|
constructor(props: any);
|
|
825
830
|
protected getSurvey(): SurveyModel;
|
|
826
831
|
protected getCss(): any;
|
|
827
832
|
handleOnPanelRemoveClick(event: any): void;
|
|
828
|
-
render():
|
|
829
|
-
protected renderButton():
|
|
833
|
+
render(): JSX.Element;
|
|
834
|
+
protected renderButton(): JSX.Element;
|
|
830
835
|
}
|
|
831
836
|
export declare class SurveyQuestionPanelDynamicNextButton extends SurveyQuestionPanelDynamicAction {
|
|
832
837
|
constructor(props: any);
|
|
833
|
-
protected handleClick: any;
|
|
834
|
-
protected renderElement():
|
|
838
|
+
protected handleClick: (event: any) => void;
|
|
839
|
+
protected renderElement(): JSX.Element;
|
|
835
840
|
}
|
|
836
841
|
export declare class SurveyQuestionPanelDynamicPrevButton extends SurveyQuestionPanelDynamicAction {
|
|
837
842
|
constructor(props: any);
|
|
838
|
-
protected handleClick: any;
|
|
839
|
-
protected renderElement():
|
|
843
|
+
protected handleClick: (event: any) => void;
|
|
844
|
+
protected renderElement(): JSX.Element;
|
|
840
845
|
}
|
|
841
846
|
export declare class SurveyQuestionPanelDynamicProgressText extends SurveyQuestionPanelDynamicAction {
|
|
842
847
|
constructor(props: any);
|
|
843
|
-
protected renderElement():
|
|
848
|
+
protected renderElement(): JSX.Element;
|
|
844
849
|
}
|
|
845
850
|
export declare class SurveyQuestionText extends SurveyQuestionUncontrolledElement<QuestionTextModel> {
|
|
846
851
|
constructor(props: any);
|
|
847
852
|
_isWaitingForEnter: boolean;
|
|
848
|
-
protected renderInput():
|
|
849
|
-
protected renderElement():
|
|
853
|
+
protected renderInput(): JSX.Element;
|
|
854
|
+
protected renderElement(): JSX.Element;
|
|
850
855
|
}
|
|
851
856
|
export declare class SurveyQuestionDropdown extends SurveyQuestionDropdownBase<Question> {
|
|
852
857
|
constructor(props: any);
|
|
853
|
-
protected renderElement():
|
|
854
|
-
protected renderOther(cssClasses: any):
|
|
858
|
+
protected renderElement(): JSX.Element;
|
|
859
|
+
protected renderOther(cssClasses: any): JSX.Element;
|
|
855
860
|
}
|
|
856
861
|
export declare class SurveyQuestionMatrixDropdownCell extends SurveyQuestionAndErrorsCell {
|
|
857
862
|
constructor(props: any);
|
|
@@ -860,15 +865,18 @@ export declare class SurveyQuestionMatrixDropdownCell extends SurveyQuestionAndE
|
|
|
860
865
|
protected getShowErrors(): boolean;
|
|
861
866
|
protected getCellStyle(): any;
|
|
862
867
|
protected getHeaderText(): string;
|
|
863
|
-
protected renderQuestion():
|
|
868
|
+
protected renderQuestion(): JSX.Element;
|
|
864
869
|
}
|
|
865
870
|
export declare class SurveyQuestionRatingDropdown extends SurveyQuestionDropdownBase<QuestionRatingModel> {
|
|
866
871
|
constructor(props: any);
|
|
867
|
-
protected renderElement():
|
|
872
|
+
protected renderElement(): JSX.Element;
|
|
868
873
|
}
|
|
869
874
|
export declare class SurveyQuestionDropdownSelect extends SurveyQuestionDropdown {
|
|
870
875
|
constructor(props: any);
|
|
871
|
-
protected renderSelect(cssClasses: any):
|
|
876
|
+
protected renderSelect(cssClasses: any): JSX.Element;
|
|
872
877
|
}
|
|
878
|
+
export declare function property(options?: any): (target: any, key: string) => void;
|
|
879
|
+
export declare function propertyArray(options?: IArrayPropertyDecoratorOptions): (target: any, key: string) => void;
|
|
873
880
|
export declare function showModal(componentName: string, data: any, onApply: any, onCancel?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): void;
|
|
874
|
-
export declare function attachKey2click(element:
|
|
881
|
+
export declare function attachKey2click(element: JSX.Element, viewModel?: any, options?: any): JSX.Element;
|
|
882
|
+
export declare var registerFunction: (name: string, func: any) => any;
|