survey-react-ui 1.9.30 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-react-ui",
3
- "version": "1.9.30",
3
+ "version": "1.9.31",
4
4
  "description": "survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.",
5
5
  "keywords": [
6
6
  "Survey",
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Type definition for Survey JavaScript library for React (without core) v1.9.30
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
  */
@@ -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(): any;
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): 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: any): void;
80
+ registerQuestion(questionType: string, questionCreator: (name: string) => JSX.Element): void;
81
81
  getAllTypes(): Array<any>;
82
- createQuestion(questionType: string, params: any): any;
82
+ createQuestion(questionType: string, params: any): JSX.Element;
83
83
  }
84
84
  export declare class ReactSurveyElementsWrapper {
85
- static wrapRow(survey: SurveyModel, element: any, row: QuestionRowModel): any;
86
- static wrapElement(survey: SurveyModel, element: any, question: SurveyElement): any;
87
- static wrapQuestionContent(survey: SurveyModel, element: any, question: SurveyElement): any;
88
- static wrapItemValue(survey: SurveyModel, element: any, question: QuestionSelectBase, item: ItemValue): any;
89
- static wrapMatrixCell(survey: SurveyModel, element: any, cell: QuestionMatrixDropdownRenderedCell, reason?: string): any;
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(): any;
94
+ render(): JSX.Element;
95
95
  }
96
96
  export declare class SurveyActionBarSeparator extends React.Component<any, any> {
97
97
  constructor(props: any);
98
- render(): any;
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): any;
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(): any;
112
- protected wrapElement(element: any): any;
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(): any;
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): 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(): any;
128
- protected renderDescription(): any;
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(): any;
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(): any;
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(): any;
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(): any;
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(): any;
172
+ render(): JSX.Element;
173
173
  }
174
174
  export declare class TitleContent extends React.Component<any, any> {
175
175
  constructor(props: any);
176
- render(): any;
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(): any;
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(): any;
188
+ renderElement(): JSX.Element;
189
189
  renderItems(): any;
190
- searchElementContent(): any;
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(): any;
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(): any;
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(): any;
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(): any;
228
- renderPointer(): any;
229
- renderHeader(): any;
230
- renderContent(): any;
231
- renderCancelButton(): any;
232
- renderApplyButton(): any;
233
- renderFooter(): any;
234
- render(): any;
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(): any;
255
- protected renderElement(): any;
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(): any;
260
- protected renderCompletedBefore(): any;
261
- protected renderLoading(): any;
262
- protected renderSurvey(): any;
263
- protected renderTimerPanel(location: string): any;
264
- protected renderPage(page: PageModel): any;
265
- protected renderProgress(isTop: boolean): any;
266
- protected renderNavigation(navPosition: string): any;
267
- protected renderEmptySurvey(): any;
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): any;
272
- renderError(key: string, error: SurveyError, cssClasses: any): 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(): any;
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(): any;
297
- renderText(): any;
298
- renderButtonContent(): any;
299
- renderInnerButton(): any;
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(): any;
309
- protected renderIcon(): any;
310
- protected renderInput(): any;
311
- protected renderCaption(): any;
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): 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(): any;
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(): any;
345
+ render(): JSX.Element;
346
346
  protected getListElements(): Array<Element>;
347
- protected renderListElement(page: PageModel, index: number): any;
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: any, isLeftScroll: boolean): void;
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): any;
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(): any;
368
- protected renderElement(): any;
369
- protected wrapElement(element: any): any;
370
- protected wrapQuestionContent(element: any): any;
371
- protected renderQuestion(): any;
372
- protected renderDescription(): any;
373
- protected renderComment(cssClasses: any): any;
374
- protected renderHeader(question: Question): any;
375
- protected renderErrors(cssClasses: any, location: string): any;
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: any, reason: string): any;
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(): any;
399
- protected renderElement(): any;
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): any;
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(): any;
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(): any;
418
+ protected renderElement(): JSX.Element;
419
419
  }
420
420
  export declare class SurveyElementErrors extends ReactSurveyElement {
421
421
  constructor(props: any);
@@ -427,39 +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(): any;
430
+ protected renderElement(): JSX.Element;
431
431
  }
432
432
  export declare class SurveyMultipleTextItem extends ReactSurveyElement {
433
433
  constructor(props: any);
434
434
  protected getStateElements(): any;
435
- protected renderElement(): any;
436
- protected renderItemTooltipError(item: MultipleTextItemModel, cssClasses: any): any;
435
+ protected renderElement(): JSX.Element;
436
+ protected renderItemTooltipError(item: MultipleTextItemModel, cssClasses: any): JSX.Element;
437
437
  }
438
438
  export declare class SurveyNavigationButton extends ReactSurveyElement {
439
439
  constructor(props: any);
440
440
  protected get item(): Action;
441
441
  protected canRender(): boolean;
442
- protected renderElement(): any;
442
+ protected renderElement(): JSX.Element;
443
443
  }
444
444
  export declare class SurveyPage extends SurveyPanelBase {
445
445
  constructor(props: any);
446
446
  protected getPanelBase(): PanelModelBase;
447
447
  get page(): PageModel;
448
- protected renderElement(): any;
449
- protected renderTitle(): any;
450
- protected renderDescription(): any;
448
+ protected renderElement(): JSX.Element;
449
+ protected renderTitle(): JSX.Element;
450
+ protected renderDescription(): JSX.Element;
451
451
  }
452
452
  export declare class SurveyPanel extends SurveyPanelBase {
453
453
  constructor(props: any);
454
454
  hasBeenExpanded: boolean;
455
455
  get panel(): PanelModel;
456
- protected renderElement(): any;
457
- protected renderHeader(): any;
458
- protected wrapElement(element: any): any;
459
- protected renderContent(style: any, rows: any, className: string): any;
460
- protected renderTitle(): any;
461
- protected renderDescription(): any;
462
- protected renderBottom(): any;
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;
463
463
  }
464
464
  export declare class SurveyQuestionAndErrorsWrapped extends ReactSurveyElement {
465
465
  constructor(props: any);
@@ -472,11 +472,11 @@ export declare class SurveyQuestionAndErrorsWrapped extends ReactSurveyElement {
472
472
  componentDidUpdate(prevProps: any, prevState: any): void;
473
473
  protected doAfterRender(): void;
474
474
  protected canRender(): boolean;
475
- protected renderErrors(errorsLocation: string): any;
476
- protected renderContent(): any;
477
- protected renderElement(): any;
475
+ protected renderErrors(errorsLocation: string): JSX.Element;
476
+ protected renderContent(): JSX.Element;
477
+ protected renderElement(): JSX.Element;
478
478
  protected getShowErrors(): boolean;
479
- protected renderQuestion(): any;
479
+ protected renderQuestion(): JSX.Element;
480
480
  }
481
481
  export declare class SurveyQuestionBoolean extends SurveyQuestionElementBase {
482
482
  constructor(props: any);
@@ -489,27 +489,27 @@ export declare class SurveyQuestionBoolean extends SurveyQuestionElementBase {
489
489
  handleOnLabelClick(event: any, value: boolean): void;
490
490
  handleOnKeyDown(event: any): void;
491
491
  protected updateDomElement(): void;
492
- protected renderElement(): any;
492
+ protected renderElement(): JSX.Element;
493
493
  }
494
494
  export declare class SurveyQuestionButtonGroup extends SurveyQuestionElementBase {
495
495
  constructor(props: any);
496
496
  protected get question(): QuestionButtonGroupModel;
497
497
  getStateElement(): QuestionButtonGroupModel;
498
- render(): any;
498
+ render(): JSX.Element;
499
499
  renderItems(): any;
500
500
  }
501
501
  export declare class SurveyQuestionCheckbox extends SurveyQuestionElementBase {
502
502
  constructor(props: any);
503
503
  protected get question(): QuestionCheckboxModel;
504
- protected renderElement(): any;
504
+ protected renderElement(): JSX.Element;
505
505
  protected getHeader(): any;
506
506
  protected getFooter(): any;
507
- protected getColumnedBody(cssClasses: any): any;
507
+ protected getColumnedBody(cssClasses: any): JSX.Element;
508
508
  protected getColumns(cssClasses: any): any;
509
509
  protected getItems(cssClasses: any): Array<any>;
510
510
  protected get textStyle(): any;
511
- protected renderOther(): any;
512
- protected renderItem(key: string, item: any, isFirst: boolean, cssClasses: any, index: string): any;
511
+ protected renderOther(): JSX.Element;
512
+ protected renderItem(key: string, item: any, isFirst: boolean, cssClasses: any, index: string): JSX.Element;
513
513
  }
514
514
  export declare class SurveyQuestionCheckboxItem extends ReactSurveyElement {
515
515
  constructor(props: any);
@@ -520,36 +520,36 @@ export declare class SurveyQuestionCheckboxItem extends ReactSurveyElement {
520
520
  protected get isFirst(): any;
521
521
  protected get index(): number;
522
522
  shouldComponentUpdate(nextProps: any, nextState: any): boolean;
523
- handleOnChange: any;
524
- selectAllChanged: any;
523
+ handleOnChange: (event: any) => void;
524
+ selectAllChanged: (event: any) => void;
525
525
  protected canRender(): boolean;
526
- protected renderElement(): any;
526
+ protected renderElement(): JSX.Element;
527
527
  protected get inputStyle(): any;
528
- protected renderCheckbox(isChecked: boolean, otherItem: any): any;
528
+ protected renderCheckbox(isChecked: boolean, otherItem: JSX.Element): JSX.Element;
529
529
  }
530
530
  export declare class SurveyQuestionCommentItem extends ReactSurveyElement {
531
531
  constructor(props: any);
532
532
  protected canRender(): boolean;
533
- protected renderElement(): any;
533
+ protected renderElement(): JSX.Element;
534
534
  }
535
535
  export declare class SurveyQuestionEmpty extends SurveyQuestionElementBase {
536
536
  constructor(props: any);
537
537
  protected get question(): QuestionEmptyModel;
538
- protected renderElement(): any;
538
+ protected renderElement(): JSX.Element;
539
539
  }
540
540
  export declare class SurveyQuestionExpression extends SurveyQuestionElementBase {
541
541
  constructor(props: any);
542
542
  protected get question(): QuestionExpressionModel;
543
- protected renderElement(): any;
543
+ protected renderElement(): JSX.Element;
544
544
  }
545
545
  export declare class SurveyQuestionFile extends SurveyQuestionElementBase {
546
546
  constructor(props: any);
547
547
  protected get question(): QuestionFileModel;
548
- protected renderElement(): any;
549
- protected renderFileDecorator(): any;
550
- protected renderClearButton(className: string): any;
551
- protected renderFileSign(className: string, val: any): any;
552
- protected renderPreview(): any;
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;
553
553
  }
554
554
  export declare class SurveyQuestionHtml extends SurveyQuestionElementBase {
555
555
  constructor(props: any);
@@ -558,7 +558,7 @@ export declare class SurveyQuestionHtml extends SurveyQuestionElementBase {
558
558
  componentWillUnmount(): void;
559
559
  componentDidUpdate(prevProps: any, prevState: any): void;
560
560
  protected canRender(): boolean;
561
- protected renderElement(): any;
561
+ protected renderElement(): JSX.Element;
562
562
  }
563
563
  export declare class SurveyQuestionImage extends SurveyQuestionElementBase {
564
564
  constructor(props: any);
@@ -566,16 +566,16 @@ export declare class SurveyQuestionImage extends SurveyQuestionElementBase {
566
566
  componentWillUnmount(): void;
567
567
  protected get question(): QuestionImageModel;
568
568
  protected canRender(): boolean;
569
- protected renderElement(): any;
569
+ protected renderElement(): JSX.Element;
570
570
  }
571
571
  export declare class SurveyQuestionImagePicker extends SurveyQuestionElementBase {
572
572
  constructor(props: any);
573
573
  protected get question(): QuestionImagePickerModel;
574
- protected renderElement(): any;
574
+ protected renderElement(): JSX.Element;
575
575
  protected getColumns(cssClasses: any): any;
576
576
  protected getItems(cssClasses: any): Array<any>;
577
577
  protected get textStyle(): any;
578
- protected renderItem(key: string, item: ImageItemValue, cssClasses: any): any;
578
+ protected renderItem(key: string, item: ImageItemValue, cssClasses: any): JSX.Element;
579
579
  }
580
580
  export declare class SurveyQuestionImagePickerItem extends ReactSurveyElement {
581
581
  constructor(props: any);
@@ -587,83 +587,83 @@ export declare class SurveyQuestionImagePickerItem extends ReactSurveyElement {
587
587
  protected get item(): any;
588
588
  protected get question(): any;
589
589
  handleOnChange(event: any): void;
590
- protected renderElement(): any;
590
+ protected renderElement(): JSX.Element;
591
591
  }
592
592
  export declare class SurveyQuestionMatrix extends SurveyQuestionElementBase {
593
593
  constructor(props: any);
594
594
  protected get question(): QuestionMatrixModel;
595
595
  componentDidMount(): void;
596
596
  componentWillUnmount(): void;
597
- protected renderElement(): any;
597
+ protected renderElement(): JSX.Element;
598
598
  }
599
599
  export declare class SurveyQuestionMatrixActionsCell extends ReactSurveyElement {
600
600
  constructor(props: any);
601
601
  get model(): any;
602
- protected renderElement(): any;
602
+ protected renderElement(): JSX.Element;
603
603
  }
604
604
  export declare class SurveyQuestionMatrixDetailButton extends ReactSurveyElement {
605
605
  constructor(props: any);
606
606
  protected getStateElement(): any;
607
607
  get item(): Action;
608
608
  handleOnShowHideClick(event: any): void;
609
- protected renderElement(): any;
609
+ protected renderElement(): JSX.Element;
610
610
  }
611
611
  export declare class SurveyQuestionMatrixDropdownBase extends SurveyQuestionElementBase {
612
612
  constructor(props: any);
613
613
  protected get question(): QuestionMatrixDropdownModelBase;
614
614
  componentDidMount(): void;
615
615
  componentWillUnmount(): void;
616
- protected renderElement(): any;
617
- renderTableDiv(): any;
618
- renderHeader(): any;
619
- renderFooter(): any;
620
- renderRows(): any;
621
- renderRow(keyValue: any, row: QuestionMatrixDropdownRenderedRow, cssClasses: any): any;
622
- renderCell(cell: QuestionMatrixDropdownRenderedCell, index: number, cssClasses: any): 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;
623
623
  }
624
624
  export declare class SurveyQuestionMatrixDynamicDragDropIcon extends ReactSurveyElement {
625
625
  constructor(props: any);
626
- protected renderElement(): any;
626
+ protected renderElement(): JSX.Element;
627
627
  }
628
628
  export declare class SurveyQuestionMatrixDynamicRemoveButton extends ReactSurveyElement {
629
629
  constructor(props: any);
630
630
  handleOnRowRemoveClick(event: any): void;
631
- protected renderElement(): any;
631
+ protected renderElement(): JSX.Element;
632
632
  }
633
633
  export declare class SurveyQuestionMatrixRow extends ReactSurveyElement {
634
634
  constructor(props: any);
635
635
  handleOnChange(event: any): void;
636
- protected wrapCell(cell: any, element: any, reason: string): any;
636
+ protected wrapCell(cell: any, element: JSX.Element, reason: string): JSX.Element;
637
637
  protected canRender(): boolean;
638
- protected renderElement(): any;
638
+ protected renderElement(): JSX.Element;
639
639
  generateTds(): any;
640
640
  cellClick(row: any, column: any): void;
641
641
  }
642
642
  export declare class SurveyQuestionMultipleText extends SurveyQuestionElementBase {
643
643
  constructor(props: any);
644
644
  protected get question(): QuestionMultipleTextModel;
645
- protected renderElement(): any;
646
- 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;
647
647
  }
648
648
  export declare class SurveyQuestionOptionItem extends ReactSurveyElement {
649
649
  constructor(props: any);
650
650
  protected getStateElement(): Base;
651
651
  protected canRender(): boolean;
652
- protected renderElement(): any;
652
+ protected renderElement(): JSX.Element;
653
653
  }
654
654
  export declare class SurveyQuestionPanelDynamic extends SurveyQuestionElementBase {
655
655
  constructor(props: any);
656
656
  protected get question(): QuestionPanelDynamicModel;
657
657
  componentDidMount(): void;
658
658
  componentWillUnmount(): void;
659
- protected renderElement(): any;
660
- protected renderNavigator(): any;
661
- protected rendrerPrevButton(): any;
662
- protected rendrerNextButton(): any;
663
- protected renderRange(): any;
664
- protected renderAddRowButton(): any;
665
- protected renderNavigatorV2(): any;
666
- protected renderPlaceholder(): any;
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;
667
667
  }
668
668
  export declare class SurveyQuestionPanelDynamicAction extends ReactSurveyElement {
669
669
  constructor(props: any);
@@ -680,55 +680,55 @@ export declare class SurveyQuestionRadioItem extends ReactSurveyElement {
680
680
  shouldComponentUpdate(nextProps: any, nextState: any): boolean;
681
681
  handleOnChange(event: any): void;
682
682
  protected canRender(): boolean;
683
- protected renderElement(): any;
683
+ protected renderElement(): JSX.Element;
684
684
  }
685
685
  export declare class SurveyQuestionRadiogroup extends SurveyQuestionElementBase {
686
686
  constructor(props: any);
687
687
  protected get question(): QuestionRadiogroupModel;
688
- protected renderElement(): any;
688
+ protected renderElement(): JSX.Element;
689
689
  protected getFooter(): any;
690
- protected getColumnedBody(cssClasses: any): any;
690
+ protected getColumnedBody(cssClasses: any): JSX.Element;
691
691
  protected getColumns(cssClasses: any): any;
692
692
  protected getItems(cssClasses: any): Array<any>;
693
693
  protected get textStyle(): any;
694
- protected renderOther(cssClasses: any): any;
694
+ protected renderOther(cssClasses: any): JSX.Element;
695
695
  }
696
696
  export declare class SurveyQuestionRanking extends SurveyQuestionElementBase {
697
697
  constructor(props: any);
698
698
  protected get question(): QuestionRankingModel;
699
- protected renderElement(): any;
699
+ protected renderElement(): JSX.Element;
700
700
  protected getItems(): Array<any>;
701
- protected renderItem(item: ItemValue, i: number, handleKeydown: any, handlePointerDown: any, cssClasses: any, itemClass: string, question: QuestionRankingModel): any;
701
+ protected renderItem(item: ItemValue, i: number, handleKeydown: (event: any) => void, handlePointerDown: (event: any) => void, cssClasses: any, itemClass: string, question: QuestionRankingModel): JSX.Element;
702
702
  }
703
703
  export declare class SurveyQuestionRankingItem extends ReactSurveyElement {
704
704
  constructor(props: any);
705
705
  protected get text(): string;
706
706
  protected get index(): string;
707
707
  protected get indexText(): string;
708
- protected get handleKeydown(): any;
709
- protected get handlePointerDown(): any;
708
+ protected get handleKeydown(): (event: any) => void;
709
+ protected get handlePointerDown(): (event: any) => void;
710
710
  protected get cssClasses(): any;
711
711
  protected get itemClass(): string;
712
712
  protected get question(): any;
713
- protected renderElement(): any;
713
+ protected renderElement(): JSX.Element;
714
714
  }
715
715
  export declare class SurveyQuestionRating extends SurveyQuestionElementBase {
716
716
  constructor(props: any);
717
717
  protected get question(): QuestionRatingModel;
718
718
  handleOnClick(event: any): void;
719
- protected renderElement(): any;
720
- protected renderItem(key: string, item: RenderedRatingItem, index: number, cssClasses: any): any;
719
+ protected renderElement(): JSX.Element;
720
+ protected renderItem(key: string, item: RenderedRatingItem, index: number, cssClasses: any): JSX.Element;
721
721
  }
722
722
  export declare class SurveyQuestionSignaturePad extends SurveyQuestionElementBase {
723
723
  constructor(props: any);
724
724
  protected get question(): QuestionSignaturePadModel;
725
- protected renderElement(): any;
726
- renderCleanButton(): any;
725
+ protected renderElement(): JSX.Element;
726
+ renderCleanButton(): JSX.Element;
727
727
  }
728
728
  export declare class SurveyQuestionUncontrolledElement<T> extends SurveyQuestionElementBase {
729
729
  constructor(props: any);
730
730
  protected get question(): T;
731
- updateValueOnEvent: any;
731
+ updateValueOnEvent: (event: any) => void;
732
732
  protected setValueCore(newValue: any): void;
733
733
  protected getValueCore(): any;
734
734
  protected updateDomElement(): void;
@@ -737,7 +737,7 @@ export declare class SurveyTimerPanel extends ReactSurveyElement {
737
737
  constructor(props: any);
738
738
  protected getStateElement(): Base;
739
739
  protected get timerModel(): SurveyTimerModel;
740
- render(): any;
740
+ render(): JSX.Element;
741
741
  }
742
742
  export declare class SurveyWindow extends Survey {
743
743
  constructor(props: any);
@@ -745,9 +745,9 @@ export declare class SurveyWindow extends Survey {
745
745
  protected getStateElements(): Array<Base>;
746
746
  handleOnExpanded(event: any): void;
747
747
  protected canRender(): boolean;
748
- protected renderElement(): any;
749
- protected renderWindowHeader(): any;
750
- protected renderBody(): any;
748
+ protected renderElement(): JSX.Element;
749
+ protected renderWindowHeader(): JSX.Element;
750
+ protected renderBody(): JSX.Element;
751
751
  protected createSurvey(newProps: any): void;
752
752
  }
753
753
  export declare class SurveyFlowPanel extends SurveyPanel {
@@ -759,53 +759,53 @@ export declare class SurveyFlowPanel extends SurveyPanel {
759
759
  protected renderQuestion(question: Question): string;
760
760
  protected renderRows(): Array<Element>;
761
761
  renderedIndex: number;
762
- protected renderHtml(): any;
762
+ protected renderHtml(): JSX.Element;
763
763
  protected renderNodes(domNodes: any): Array<Element>;
764
- protected renderParentNode(node: any): any;
765
- protected renderNode(node: any): any;
766
- protected renderContent(style: any, rows: any): any;
764
+ protected renderParentNode(node: any): JSX.Element;
765
+ protected renderNode(node: any): JSX.Element;
766
+ protected renderContent(style: any, rows: any): JSX.Element;
767
767
  }
768
768
  export declare class SurveyMultipleTextItemEditor extends SurveyQuestionAndErrorsWrapped {
769
769
  constructor(props: any);
770
- protected renderElement(): any;
770
+ protected renderElement(): JSX.Element;
771
771
  }
772
772
  export declare class SurveyQuestionAndErrorsCell extends SurveyQuestionAndErrorsWrapped {
773
773
  constructor(props: any);
774
774
  protected cellRef: any;
775
775
  componentWillUnmount(): void;
776
- protected renderElement(): any;
776
+ protected renderElement(): JSX.Element;
777
777
  protected getCellStyle(): any;
778
778
  protected getHeaderText(): string;
779
- protected wrapCell(cell: QuestionMatrixDropdownRenderedCell, element: any): any;
779
+ protected wrapCell(cell: QuestionMatrixDropdownRenderedCell, element: JSX.Element): JSX.Element;
780
780
  }
781
781
  export declare class SurveyQuestionBooleanCheckbox extends SurveyQuestionBoolean {
782
782
  constructor(props: any);
783
- protected renderElement(): any;
783
+ protected renderElement(): JSX.Element;
784
784
  }
785
785
  export declare class SurveyQuestionBooleanRadio extends SurveyQuestionBoolean {
786
786
  constructor(props: any);
787
- handleOnChange: any;
788
- protected renderElement(): any;
787
+ handleOnChange: (event: any) => void;
788
+ protected renderElement(): JSX.Element;
789
789
  }
790
790
  export declare class SurveyQuestionComment extends SurveyQuestionUncontrolledElement<QuestionCommentModel> {
791
791
  constructor(props: any);
792
- protected renderElement(): any;
792
+ protected renderElement(): JSX.Element;
793
793
  }
794
794
  export declare class SurveyQuestionComposite extends SurveyQuestionUncontrolledElement<QuestionCompositeModel> {
795
795
  constructor(props: any);
796
796
  protected canRender(): boolean;
797
- protected renderElement(): any;
797
+ protected renderElement(): JSX.Element;
798
798
  }
799
799
  export declare class SurveyQuestionCustom extends SurveyQuestionUncontrolledElement<QuestionCustomModel> {
800
800
  constructor(props: any);
801
801
  protected getStateElements(): Array<Base>;
802
- protected renderElement(): any;
802
+ protected renderElement(): JSX.Element;
803
803
  }
804
804
  export declare class SurveyQuestionDropdownBase<T> extends SurveyQuestionUncontrolledElement<T> {
805
805
  constructor(props: any);
806
806
  protected setValueCore(newValue: any): void;
807
807
  protected getValueCore(): any;
808
- protected renderSelect(cssClasses: any): any;
808
+ protected renderSelect(cssClasses: any): JSX.Element;
809
809
  }
810
810
  export declare class SurveyQuestionMatrixDropdown extends SurveyQuestionMatrixDropdownBase {
811
811
  constructor(props: any);
@@ -814,49 +814,49 @@ export declare class SurveyQuestionMatrixDynamic extends SurveyQuestionMatrixDro
814
814
  constructor(props: any);
815
815
  protected get matrix(): QuestionMatrixDynamicModel;
816
816
  handleOnRowAddClick(event: any): void;
817
- protected renderElement(): any;
818
- protected renderAddRowButtonOnTop(cssClasses: any): any;
819
- protected renderAddRowButtonOnBottom(cssClasses: any): any;
820
- protected renderNoRowsContent(cssClasses: any): any;
821
- protected renderAddRowButton(cssClasses: any, isEmptySection?: boolean): any;
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;
822
822
  }
823
823
  export declare class SurveyQuestionPanelDynamicAddButton extends SurveyQuestionPanelDynamicAction {
824
824
  constructor(props: any);
825
- protected handleClick: any;
826
- protected renderElement(): any;
825
+ protected handleClick: (event: any) => void;
826
+ protected renderElement(): JSX.Element;
827
827
  }
828
828
  export declare class SurveyQuestionPanelDynamicItem extends SurveyPanel {
829
829
  constructor(props: any);
830
830
  protected getSurvey(): SurveyModel;
831
831
  protected getCss(): any;
832
832
  handleOnPanelRemoveClick(event: any): void;
833
- render(): any;
834
- protected renderButton(): any;
833
+ render(): JSX.Element;
834
+ protected renderButton(): JSX.Element;
835
835
  }
836
836
  export declare class SurveyQuestionPanelDynamicNextButton extends SurveyQuestionPanelDynamicAction {
837
837
  constructor(props: any);
838
- protected handleClick: any;
839
- protected renderElement(): any;
838
+ protected handleClick: (event: any) => void;
839
+ protected renderElement(): JSX.Element;
840
840
  }
841
841
  export declare class SurveyQuestionPanelDynamicPrevButton extends SurveyQuestionPanelDynamicAction {
842
842
  constructor(props: any);
843
- protected handleClick: any;
844
- protected renderElement(): any;
843
+ protected handleClick: (event: any) => void;
844
+ protected renderElement(): JSX.Element;
845
845
  }
846
846
  export declare class SurveyQuestionPanelDynamicProgressText extends SurveyQuestionPanelDynamicAction {
847
847
  constructor(props: any);
848
- protected renderElement(): any;
848
+ protected renderElement(): JSX.Element;
849
849
  }
850
850
  export declare class SurveyQuestionText extends SurveyQuestionUncontrolledElement<QuestionTextModel> {
851
851
  constructor(props: any);
852
852
  _isWaitingForEnter: boolean;
853
- protected renderInput(): any;
854
- protected renderElement(): any;
853
+ protected renderInput(): JSX.Element;
854
+ protected renderElement(): JSX.Element;
855
855
  }
856
856
  export declare class SurveyQuestionDropdown extends SurveyQuestionDropdownBase<Question> {
857
857
  constructor(props: any);
858
- protected renderElement(): any;
859
- protected renderOther(cssClasses: any): any;
858
+ protected renderElement(): JSX.Element;
859
+ protected renderOther(cssClasses: any): JSX.Element;
860
860
  }
861
861
  export declare class SurveyQuestionMatrixDropdownCell extends SurveyQuestionAndErrorsCell {
862
862
  constructor(props: any);
@@ -865,15 +865,18 @@ export declare class SurveyQuestionMatrixDropdownCell extends SurveyQuestionAndE
865
865
  protected getShowErrors(): boolean;
866
866
  protected getCellStyle(): any;
867
867
  protected getHeaderText(): string;
868
- protected renderQuestion(): any;
868
+ protected renderQuestion(): JSX.Element;
869
869
  }
870
870
  export declare class SurveyQuestionRatingDropdown extends SurveyQuestionDropdownBase<QuestionRatingModel> {
871
871
  constructor(props: any);
872
- protected renderElement(): any;
872
+ protected renderElement(): JSX.Element;
873
873
  }
874
874
  export declare class SurveyQuestionDropdownSelect extends SurveyQuestionDropdown {
875
875
  constructor(props: any);
876
- protected renderSelect(cssClasses: any): any;
876
+ protected renderSelect(cssClasses: any): JSX.Element;
877
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;
878
880
  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: any, viewModel?: any, options?: any): any;
881
+ export declare function attachKey2click(element: JSX.Element, viewModel?: any, options?: any): JSX.Element;
882
+ export declare var registerFunction: (name: string, func: any) => any;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.30
2
+ * surveyjs - Survey JavaScript library v1.9.31
3
3
  * Copyright (c) 2015-2022 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.30
2
+ * surveyjs - Survey JavaScript library v1.9.31
3
3
  * Copyright (c) 2015-2022 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */