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