survey-react 1.12.14 → 1.12.16-patch.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/survey.react.d.ts CHANGED
@@ -207,7 +207,13 @@ declare module "packages/survey-core/src/surveyStrings" {
207
207
  supportedLocales: any[];
208
208
  useEnglishNames: boolean;
209
209
  showNamesInEnglish: boolean;
210
- setupLocale(loc: string, strings: any, name: string, nameInEngish: string, direction?: string): void;
210
+ setupLocale(localeConfig: {
211
+ localeCode: string;
212
+ strings: any;
213
+ nativeName: string;
214
+ englishName: string;
215
+ rtl?: boolean;
216
+ }): void;
211
217
  currentLocale: string;
212
218
  defaultLocale: string;
213
219
  getLocaleStrings(loc: string): any;
@@ -217,6 +223,7 @@ declare module "packages/survey-core/src/surveyStrings" {
217
223
  onGetExternalString: (name: string, locale: string) => string;
218
224
  };
219
225
  export function getLocaleString(strName: string, locale?: string): string;
226
+ export function getLocaleStrings(locale: string): any;
220
227
  export function setupLocale(localeConfig: {
221
228
  localeCode: string;
222
229
  strings: any;
@@ -911,7 +918,7 @@ declare module "packages/survey-core/src/utils/utils" {
911
918
  import { PopupBaseViewModel } from "packages/survey-core/src/popup-view-model";
912
919
  function compareVersions(a: any, b: any): number;
913
920
  function confirmAction(message: string): boolean;
914
- function confirmActionAsync(message: string, funcOnYes: () => void, funcOnNo?: () => void, locale?: string, rootElement?: HTMLElement): void;
921
+ function confirmActionAsync(options: IConfirmDialogOptions): void;
915
922
  function detectIEBrowser(): boolean;
916
923
  function detectIEOrEdge(): boolean;
917
924
  function loadFileFromBase64(b64Data: string, fileName: string): void;
@@ -957,7 +964,16 @@ declare module "packages/survey-core/src/utils/utils" {
957
964
  log(action: string): void;
958
965
  get result(): string;
959
966
  }
960
- export function showConfirmDialog(message: string, callback: (res: boolean) => void, applyTitle?: string, locale?: string, rootElement?: HTMLElement): boolean;
967
+ export interface IConfirmDialogOptions {
968
+ message?: string;
969
+ funcOnYes?: () => void;
970
+ funcOnNo?: () => void;
971
+ applyTitle?: string;
972
+ locale?: string;
973
+ rootElement?: HTMLElement;
974
+ cssClass?: string;
975
+ }
976
+ export function showConfirmDialog(message: string, callback: (res: boolean) => void, options: IConfirmDialogOptions): boolean;
961
977
  export function configConfirmDialog(popupViewModel: PopupBaseViewModel): void;
962
978
  function chooseFiles(input: HTMLInputElement, callback: (files: File[]) => void): void;
963
979
  export function compareArrays<T>(oldValue: Array<T>, newValue: Array<T>, getKey: (item: T) => any): {
@@ -1173,7 +1189,9 @@ declare module "packages/survey-core/src/list" {
1173
1189
  protected areSameItems(item1: IAction, item2: IAction): boolean;
1174
1190
  getListClass: () => string;
1175
1191
  getItemClass: (itemValue: T) => string;
1176
- getItemIndent: (itemValue: any) => string;
1192
+ getItemStyle: (itemValue: any) => {
1193
+ "--sjs-list-item-level": number;
1194
+ };
1177
1195
  get filterStringPlaceholder(): string;
1178
1196
  get emptyMessage(): string;
1179
1197
  get scrollableContainer(): HTMLElement;
@@ -1441,11 +1459,11 @@ declare module "packages/survey-core/src/actions/action" {
1441
1459
  protected abstract setComponent(val: string): void;
1442
1460
  }
1443
1461
  export class Action extends BaseAction implements IAction, ILocalizableOwner {
1444
- innerItem: IAction;
1445
1462
  private locTitleValue;
1446
1463
  updateCallback: (isResetInitialized: boolean) => void;
1464
+ innerItem: IAction;
1447
1465
  private raiseUpdate;
1448
- constructor(innerItem: IAction);
1466
+ constructor(innerItemData: IAction);
1449
1467
  private createLocTitle;
1450
1468
  setSubItems(options: IListModel): void;
1451
1469
  location?: string;
@@ -1825,6 +1843,7 @@ declare module "packages/survey-core/src/defaultCss/defaultV2Css" {
1825
1843
  errorsContainer: string;
1826
1844
  errorsContainerTop: string;
1827
1845
  errorsContainerBottom: string;
1846
+ confirmDialog: string;
1828
1847
  };
1829
1848
  image: {
1830
1849
  mainRoot: string;
@@ -3456,9 +3475,14 @@ declare module "packages/survey-core/src/panel" {
3456
3475
  */
3457
3476
  get areQuestionsRandomized(): boolean;
3458
3477
  /**
3459
- * Returns a survey element (panel or page) that contains this panel and allows you to move this question to a different survey element.
3478
+ * Returns a survey element (panel or page) that contains this panel and allows you to move the panel to a different survey element.
3460
3479
  *
3461
- * This property is always `null` for the `PageModel` object.
3480
+ * For `PageModel` objects, the `parent` property is `null`, except in the following cases:
3481
+ *
3482
+ * - `SurveyModel`'s [`questionsOnPageMode`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionsOnPageMode) is set to `"singlePage"`.
3483
+ * - The page is included in a [preview of given answers](https://surveyjs.io/form-library/documentation/design-survey/create-a-multi-page-survey#preview-page).
3484
+ *
3485
+ * In those cases, the survey creates an internal `PageModel` object to show all questions on one page, and the `parent` property contains this object.
3462
3486
  */
3463
3487
  get parent(): PanelModelBase;
3464
3488
  set parent(val: PanelModelBase);
@@ -3480,10 +3504,6 @@ declare module "packages/survey-core/src/panel" {
3480
3504
  */
3481
3505
  get id(): string;
3482
3506
  set id(val: string);
3483
- /**
3484
- * Returns `true` if the survey element is a panel.
3485
- * @see Base.getType
3486
- */
3487
3507
  get isPanel(): boolean;
3488
3508
  getPanel(): IPanel;
3489
3509
  getLayoutType(): string;
@@ -3661,12 +3681,14 @@ declare module "packages/survey-core/src/panel" {
3661
3681
  private canFireAddRemoveNotifications;
3662
3682
  protected onAddElement(element: IElement, index: number): void;
3663
3683
  protected onRemoveElement(element: IElement): void;
3684
+ protected unregisterElementPropertiesChanged(element: IElement): void;
3664
3685
  private onRemoveElementNotifySurvey;
3665
3686
  private onElementVisibilityChanged;
3666
3687
  private onElementStartWithNewLineChanged;
3667
3688
  private updateRowsVisibility;
3668
3689
  canBuildRows(): boolean;
3669
3690
  private buildRows;
3691
+ protected getElementsForRows(): Array<IElement>;
3670
3692
  getDragDropInfo(): any;
3671
3693
  private updateRowsOnElementRemoved;
3672
3694
  updateRowsRemoveElementFromRow(element: IElement, row: QuestionRowModel): void;
@@ -3799,6 +3821,7 @@ declare module "packages/survey-core/src/panel" {
3799
3821
  getSerializableColumnsValue(): Array<PanelLayoutColumnModel>;
3800
3822
  afterRender(el: HTMLElement): void;
3801
3823
  dispose(): void;
3824
+ protected disposeElements(): void;
3802
3825
  }
3803
3826
  /**
3804
3827
  * A class that describes the Panel container element.
@@ -3909,8 +3932,8 @@ declare module "packages/survey-core/src/panel" {
3909
3932
  getFooterToolbar(): ActionContainer;
3910
3933
  get hasEditButton(): boolean;
3911
3934
  cancelPreview(): void;
3912
- protected canShowTitle(survey: ISurvey): boolean;
3913
3935
  get cssTitle(): string;
3936
+ protected getCssPanelTitle(): string;
3914
3937
  getCssTitleExpandableSvg(): string;
3915
3938
  get showErrorsAbovePanel(): boolean;
3916
3939
  protected getCssError(cssClasses: any): string;
@@ -8525,20 +8548,28 @@ declare module "packages/survey-core/src/drag-drop-page-helper-v1" {
8525
8548
  }
8526
8549
  declare module "packages/survey-core/src/page" {
8527
8550
  import { IPage, IPanel, IElement, ISurveyElement, ISurvey } from "packages/survey-core/src/base-interfaces";
8528
- import { PanelModelBase } from "packages/survey-core/src/panel";
8551
+ import { PanelModel } from "packages/survey-core/src/panel";
8529
8552
  import { LocalizableString } from "packages/survey-core/src/localizablestring";
8530
8553
  /**
8531
8554
  * The `PageModel` object describes a survey page and contains properties and methods that allow you to control the page and access its elements (panels and questions).
8532
8555
  *
8533
8556
  * [View Demo](https://surveyjs.io/form-library/examples/nps-question/ (linkStyle))
8534
8557
  */
8535
- export class PageModel extends PanelModelBase implements IPage {
8558
+ export class PageModel extends PanelModel implements IPage {
8536
8559
  private hasShownValue;
8537
8560
  private dragDropPageHelper;
8561
+ isPageContainer: boolean;
8538
8562
  constructor(name?: string);
8539
8563
  getType(): string;
8540
8564
  toString(): string;
8541
8565
  get isPage(): boolean;
8566
+ get isPanel(): boolean;
8567
+ get showPanelAsPage(): boolean;
8568
+ get hasEditButton(): boolean;
8569
+ protected getElementsForRows(): Array<IElement>;
8570
+ protected disposeElements(): void;
8571
+ protected onRemoveElement(element: IElement): void;
8572
+ getTemplate(): string;
8542
8573
  get no(): string;
8543
8574
  get cssTitleNumber(): string;
8544
8575
  getCssTitleExpandableSvg(): string;
@@ -8580,7 +8611,7 @@ declare module "packages/survey-core/src/page" {
8580
8611
  get isStartPage(): boolean;
8581
8612
  get isStarted(): boolean;
8582
8613
  protected calcCssClasses(css: any): any;
8583
- get cssTitle(): string;
8614
+ protected getCssPanelTitle(): string;
8584
8615
  get cssRoot(): string;
8585
8616
  protected getCssError(cssClasses: any): string;
8586
8617
  num: number;
@@ -11669,6 +11700,8 @@ declare module "packages/survey-core/src/survey" {
11669
11700
  * @see completeLastPage
11670
11701
  */
11671
11702
  nextPage(): boolean;
11703
+ performNext(): boolean;
11704
+ performPrevious(): boolean;
11672
11705
  private hasErrorsOnNavigate;
11673
11706
  private asyncValidationQuesitons;
11674
11707
  private checkForAsyncQuestionValidation;
@@ -11770,6 +11803,8 @@ declare module "packages/survey-core/src/survey" {
11770
11803
  private doCurrentPageCompleteCore;
11771
11804
  get isSinglePage(): boolean;
11772
11805
  set isSinglePage(val: boolean);
11806
+ get isSingleVisibleQuestion(): boolean;
11807
+ private isSingleVisibleQuestionVal;
11773
11808
  /**
11774
11809
  * Specifies how to distribute survey elements between pages.
11775
11810
  *
@@ -11809,17 +11844,17 @@ declare module "packages/survey-core/src/survey" {
11809
11844
  get isShowPreviewBeforeComplete(): boolean;
11810
11845
  protected onFirstPageIsStartedChanged(): void;
11811
11846
  private runningPages;
11847
+ private pageContainerValue;
11812
11848
  private onShowingPreviewChanged;
11849
+ private createRootPage;
11850
+ private disposeContainerPage;
11851
+ private updatePagesContainer;
11852
+ private currentSingleQuestionValue;
11853
+ get currentSingleQuestion(): Question;
11854
+ set currentSingleQuestion(val: Question);
11813
11855
  private changeCurrentPageFromPreview;
11814
- private originalPages;
11815
- protected onQuestionsOnPageModeChanged(oldValue: string, isFirstLoad?: boolean): void;
11816
- private restoreOriginalPages;
11856
+ protected onQuestionsOnPageModeChanged(oldValue: string): void;
11817
11857
  private getPageStartIndex;
11818
- private isLockingUpdateOnPageModes;
11819
- private setupPagesForPageModes;
11820
- private createPagesForQuestionOnPageMode;
11821
- private createSinglePage;
11822
- private createPagesForEveryQuestion;
11823
11858
  /**
11824
11859
  * Indicates whether the [current page](#currentPage) is the first page.
11825
11860
  *
@@ -11836,7 +11871,11 @@ declare module "packages/survey-core/src/survey" {
11836
11871
  get isCompleteButtonVisible(): boolean;
11837
11872
  get isPreviewButtonVisible(): boolean;
11838
11873
  get isCancelPreviewButtonVisible(): boolean;
11874
+ get isFirstElement(): boolean | undefined;
11875
+ get isLastElement(): boolean | undefined;
11839
11876
  private updateIsFirstLastPageState;
11877
+ private get isLastPageOrElement();
11878
+ private get isFirstPageOrElement();
11840
11879
  private calcIsShowPrevButton;
11841
11880
  private calcIsShowNextButton;
11842
11881
  calcIsCompleteButtonVisible(): boolean;
@@ -12490,6 +12529,8 @@ declare module "packages/survey-core/src/survey" {
12490
12529
  set width(val: string);
12491
12530
  get renderedWidth(): string;
12492
12531
  widthScale: number;
12532
+ staticStartWidth: number;
12533
+ setStaticStartWidth(width: number): void;
12493
12534
  responsiveStartWidth: number;
12494
12535
  setResponsiveStartWidth(width: number): void;
12495
12536
  get isScaled(): boolean;
@@ -12691,22 +12732,32 @@ declare module "packages/survey-core/src/survey-element" {
12691
12732
  protected createLocTitleProperty(): LocalizableString;
12692
12733
  /**
12693
12734
  * Returns `true` if the survey element is a page.
12694
- * @see Base.getType
12735
+ *
12736
+ * This property returns `false` for [`PageModel`](https://surveyjs.io/form-library/documentation/api-reference/page-model) objects in the following cases:
12737
+ *
12738
+ * - `SurveyModel`'s [`questionsOnPageMode`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionsOnPageMode) is set to `"singlePage"`.
12739
+ * - The page is included in a [preview of given answers](https://surveyjs.io/form-library/documentation/design-survey/create-a-multi-page-survey#preview-page).
12740
+ *
12741
+ * In those cases, the survey creates an internal `PageModel` object to show all questions on one page, and all regular pages become panels.
12695
12742
  */
12696
12743
  get isPage(): boolean;
12697
12744
  /**
12698
- * Returns `true` if the survey element is a panel.
12699
- * @see Base.getType
12745
+ * Returns `true` if the survey element is a panel or acts as one.
12746
+ *
12747
+ * This property returns `true` for `PageModel` objects in the following cases:
12748
+ *
12749
+ * - `SurveyModel`'s [`questionsOnPageMode`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionsOnPageMode) is set to `"singlePage"`.
12750
+ * - The page is included in a [preview of given answers](https://surveyjs.io/form-library/documentation/design-survey/create-a-multi-page-survey#preview-page).
12751
+ *
12752
+ * In those cases, the survey creates an internal `PageModel` object to show all questions on one page, and all regular pages become panels.
12700
12753
  */
12701
12754
  get isPanel(): boolean;
12702
12755
  /**
12703
12756
  * Returns `true` if the survey element is a question.
12704
- * @see Base.getType
12705
12757
  */
12706
12758
  get isQuestion(): boolean;
12707
12759
  /**
12708
12760
  * Returns `true` if the element is a survey.
12709
- * @see Base.getType
12710
12761
  */
12711
12762
  get isSurvey(): boolean;
12712
12763
  /**
@@ -15015,6 +15066,7 @@ declare module "packages/survey-core/src/base-interfaces" {
15015
15066
  isDisplayMode: boolean;
15016
15067
  isDesignMode: boolean;
15017
15068
  areInvisibleElementsShowing: boolean;
15069
+ currentSingleQuestion: IQuestion;
15018
15070
  areEmptyElementsHidden: boolean;
15019
15071
  isLoadingFromJson: boolean;
15020
15072
  isUpdateValueTextOnTyping: boolean;
@@ -16247,6 +16299,7 @@ declare module "packages/survey-core/src/popup" {
16247
16299
  }
16248
16300
  declare module "packages/survey-core/src/settings" {
16249
16301
  import { IDialogOptions } from "packages/survey-core/src/popup";
16302
+ import { IConfirmDialogOptions } from "packages/survey-core/src/utils/utils";
16250
16303
  export type ISurveyEnvironment = {
16251
16304
  root: Document | ShadowRoot;
16252
16305
  rootElement: HTMLElement | ShadowRoot;
@@ -16628,7 +16681,7 @@ declare module "packages/survey-core/src/settings" {
16628
16681
  * @param message A message to be displayed in the confirm dialog window.
16629
16682
  * @param callback A callback function that should be called with `true` if a user confirms an action or `false` otherwise.
16630
16683
  */
16631
- confirmActionAsync: (message: string, callback: (res: boolean) => void, applyTitle?: string, locale?: string, rootElement?: HTMLElement) => boolean;
16684
+ confirmActionAsync: (message: string, callback: (res: boolean) => void, options?: IConfirmDialogOptions) => boolean;
16632
16685
  /**
16633
16686
  * A minimum width value for all survey elements.
16634
16687
  *
@@ -19427,7 +19480,7 @@ declare module "packages/survey-core/entries/chunks/model" {
19427
19480
  export { Cover, CoverCell } from "packages/survey-core/src/header";
19428
19481
  export { dxSurveyService } from "packages/survey-core/src/dxSurveyService";
19429
19482
  export { englishStrings } from "packages/survey-core/src/localization/english";
19430
- export { surveyLocalization, surveyStrings, getLocaleString, setupLocale } from "packages/survey-core/src/surveyStrings";
19483
+ export { surveyLocalization, surveyStrings, getLocaleString, getLocaleStrings, setupLocale } from "packages/survey-core/src/surveyStrings";
19431
19484
  export { QuestionCustomWidget, CustomWidgetCollection, } from "packages/survey-core/src/questionCustomWidgets";
19432
19485
  export { QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, ICustomQuestionTypeConfiguration } from "packages/survey-core/src/question_custom";
19433
19486
  export { ListModel } from "packages/survey-core/src/list";
@@ -20422,7 +20475,7 @@ declare module "packages/survey-core/entries/chunks/core-wo-model" {
20422
20475
  export * from "packages/survey-core/src/svgbundle";
20423
20476
  export * from "packages/survey-core/src/rendererFactory";
20424
20477
  export * from "packages/survey-core/src/utils/responsivity-manager";
20425
- export { unwrap, getOriginalEvent, getElement } from "packages/survey-core/src/utils/utils";
20478
+ export { unwrap, getOriginalEvent, getElement, activateLazyRenderingChecks } from "packages/survey-core/src/utils/utils";
20426
20479
  export * from "packages/survey-core/src/actions/action";
20427
20480
  export * from "packages/survey-core/src/utils/animation";
20428
20481
  export * from "packages/survey-core/src/actions/adaptive-container";
@@ -27352,32 +27405,33 @@ declare module "packages/survey-react-ui/src/element-factory" {
27352
27405
  export class ReactElementFactory {
27353
27406
  static Instance: ReactElementFactory;
27354
27407
  private creatorHash;
27355
- registerElement(elementType: string, elementCreator: (props: any) => JSX.Element): void;
27408
+ registerElement(elementType: string, elementCreator: (props: any) => React.JSX.Element): void;
27356
27409
  getAllTypes(): Array<string>;
27357
27410
  isElementRegistered(elementType: string): boolean;
27358
- createElement(elementType: string, params: any): JSX.Element | any;
27411
+ createElement(elementType: string, params: any): React.JSX.Element | any;
27359
27412
  }
27360
27413
  }
27361
27414
  declare module "packages/survey-react-ui/src/reactsurveymodel" {
27362
27415
  import { SurveyModel, QuestionMatrixDropdownRenderedCell, SurveyElement, QuestionRowModel, ItemValue, QuestionSelectBase } from "src/entries/core";
27363
27416
  export class ReactSurveyElementsWrapper {
27364
- static wrapRow(survey: SurveyModel, element: JSX.Element, row: QuestionRowModel): JSX.Element;
27365
- static wrapElement(survey: SurveyModel, element: JSX.Element, question: SurveyElement): JSX.Element;
27366
- static wrapQuestionContent(survey: SurveyModel, element: JSX.Element, question: SurveyElement): JSX.Element;
27367
- static wrapItemValue(survey: SurveyModel, element: JSX.Element, question: QuestionSelectBase, item: ItemValue): JSX.Element;
27368
- static wrapMatrixCell(survey: SurveyModel, element: JSX.Element, cell: QuestionMatrixDropdownRenderedCell, reason?: string): JSX.Element;
27417
+ static wrapRow(survey: SurveyModel, element: React.JSX.Element, row: QuestionRowModel): React.JSX.Element;
27418
+ static wrapElement(survey: SurveyModel, element: React.JSX.Element, question: SurveyElement): React.JSX.Element;
27419
+ static wrapQuestionContent(survey: SurveyModel, element: React.JSX.Element, question: SurveyElement): React.JSX.Element;
27420
+ static wrapItemValue(survey: SurveyModel, element: React.JSX.Element, question: QuestionSelectBase, item: ItemValue): React.JSX.Element;
27421
+ static wrapMatrixCell(survey: SurveyModel, element: React.JSX.Element, cell: QuestionMatrixDropdownRenderedCell, reason?: string): React.JSX.Element;
27369
27422
  }
27370
27423
  }
27371
27424
  declare module "packages/survey-react-ui/src/reactquestion_factory" {
27372
27425
  export class ReactQuestionFactory {
27373
27426
  static Instance: ReactQuestionFactory;
27374
27427
  private creatorHash;
27375
- registerQuestion(questionType: string, questionCreator: (name: string) => JSX.Element): void;
27428
+ registerQuestion(questionType: string, questionCreator: (name: string) => React.JSX.Element): void;
27376
27429
  getAllTypes(): Array<string>;
27377
- createQuestion(questionType: string, params: any): JSX.Element | null;
27430
+ createQuestion(questionType: string, params: any): React.JSX.Element | null;
27378
27431
  }
27379
27432
  }
27380
27433
  declare module "packages/survey-react-ui/src/components/character-counter" {
27434
+ import React from "react";
27381
27435
  import { Base, CharacterCounter } from "src/entries/core";
27382
27436
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
27383
27437
  export interface ICharacterCounterComponentProps {
@@ -27386,10 +27440,11 @@ declare module "packages/survey-react-ui/src/components/character-counter" {
27386
27440
  }
27387
27441
  export class CharacterCounterComponent extends SurveyElementBase<ICharacterCounterComponentProps, any> {
27388
27442
  protected getStateElement(): Base;
27389
- renderElement(): JSX.Element | null;
27443
+ renderElement(): React.JSX.Element | null;
27390
27444
  }
27391
27445
  }
27392
27446
  declare module "packages/survey-react-ui/src/components/text-area" {
27447
+ import React from "react";
27393
27448
  import { TextAreaModel } from "src/entries/core";
27394
27449
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
27395
27450
  interface ITextAreaProps {
@@ -27403,29 +27458,31 @@ declare module "packages/survey-react-ui/src/components/text-area" {
27403
27458
  protected canRender(): boolean;
27404
27459
  componentDidMount(): void;
27405
27460
  componentWillUnmount(): void;
27406
- protected renderElement(): JSX.Element;
27461
+ protected renderElement(): React.JSX.Element;
27407
27462
  }
27408
27463
  }
27409
27464
  declare module "packages/survey-react-ui/src/reactquestion_comment" {
27465
+ import * as React from "react";
27410
27466
  import { ReactSurveyElement, SurveyQuestionUncontrolledElement } from "packages/survey-react-ui/src/reactquestion_element";
27411
27467
  import { QuestionCommentModel, TextAreaModel } from "src/entries/core";
27412
27468
  export class SurveyQuestionComment extends SurveyQuestionUncontrolledElement<QuestionCommentModel> {
27413
27469
  private renderCharacterCounter;
27414
27470
  constructor(props: any);
27415
- protected renderElement(): JSX.Element;
27471
+ protected renderElement(): React.JSX.Element;
27416
27472
  }
27417
27473
  export class SurveyQuestionCommentItem extends ReactSurveyElement {
27418
27474
  private textAreaModel;
27419
27475
  constructor(props: any);
27420
27476
  protected canRender(): boolean;
27421
27477
  protected getTextAreaModel(): TextAreaModel;
27422
- protected renderElement(): JSX.Element;
27478
+ protected renderElement(): React.JSX.Element;
27423
27479
  }
27424
27480
  export class SurveyQuestionOtherValueItem extends SurveyQuestionCommentItem {
27425
27481
  protected getTextAreaModel(): TextAreaModel;
27426
27482
  }
27427
27483
  }
27428
27484
  declare module "packages/survey-react-ui/src/custom-widget" {
27485
+ import * as React from "react";
27429
27486
  import { SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
27430
27487
  export class SurveyCustomWidget extends SurveyQuestionElementBase {
27431
27488
  private widgetRef;
@@ -27435,7 +27492,7 @@ declare module "packages/survey-react-ui/src/custom-widget" {
27435
27492
  componentDidUpdate(prevProps: any, prevState: any): void;
27436
27493
  componentWillUnmount(): void;
27437
27494
  protected canRender(): boolean;
27438
- protected renderElement(): JSX.Element;
27495
+ protected renderElement(): React.JSX.Element;
27439
27496
  }
27440
27497
  }
27441
27498
  declare module "packages/survey-react-ui/src/components/svg-icon/svg-icon" {
@@ -27445,7 +27502,7 @@ declare module "packages/survey-react-ui/src/components/svg-icon/svg-icon" {
27445
27502
  constructor(props: any);
27446
27503
  updateSvg(): void;
27447
27504
  componentDidUpdate(): void;
27448
- render(): JSX.Element;
27505
+ render(): React.JSX.Element;
27449
27506
  componentDidMount(): void;
27450
27507
  }
27451
27508
  }
@@ -27453,10 +27510,11 @@ declare module "packages/survey-react-ui/src/components/action-bar/action-bar-se
27453
27510
  import React from "react";
27454
27511
  export class SurveyActionBarSeparator extends React.Component<any, any> {
27455
27512
  constructor(props: any);
27456
- render(): JSX.Element;
27513
+ render(): React.JSX.Element;
27457
27514
  }
27458
27515
  }
27459
27516
  declare module "packages/survey-react-ui/src/components/action-bar/action-bar-item" {
27517
+ import React from "react";
27460
27518
  import { Base, Action } from "src/entries/core";
27461
27519
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
27462
27520
  interface IActionBarItemProps {
@@ -27465,18 +27523,19 @@ declare module "packages/survey-react-ui/src/components/action-bar/action-bar-it
27465
27523
  export class SurveyAction extends SurveyElementBase<IActionBarItemProps, any> {
27466
27524
  get item(): Action;
27467
27525
  protected getStateElement(): Base;
27468
- renderElement(): JSX.Element;
27526
+ renderElement(): React.JSX.Element;
27469
27527
  }
27470
27528
  export class SurveyActionBarItem extends SurveyElementBase<IActionBarItemProps, any> {
27471
27529
  get item(): Action;
27472
27530
  protected getStateElement(): Base;
27473
- renderElement(): JSX.Element;
27474
- renderText(): JSX.Element;
27475
- renderButtonContent(): JSX.Element;
27476
- renderInnerButton(): JSX.Element;
27531
+ renderElement(): React.JSX.Element;
27532
+ renderText(): React.JSX.Element;
27533
+ renderButtonContent(): React.JSX.Element;
27534
+ renderInnerButton(): React.JSX.Element;
27477
27535
  }
27478
27536
  }
27479
27537
  declare module "packages/survey-react-ui/src/components/popup/popup" {
27538
+ import React from "react";
27480
27539
  import { Base, PopupModel, PopupBaseViewModel } from "src/entries/core";
27481
27540
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
27482
27541
  interface IPopupProps {
@@ -27494,7 +27553,7 @@ declare module "packages/survey-react-ui/src/components/popup/popup" {
27494
27553
  componentDidUpdate(prevProps: any, prevState: any): void;
27495
27554
  componentWillUnmount(): void;
27496
27555
  shouldComponentUpdate(nextProps: IPopupProps, nextState: any): boolean;
27497
- render(): JSX.Element;
27556
+ render(): React.JSX.Element;
27498
27557
  }
27499
27558
  export class PopupContainer extends SurveyElementBase<any, any> {
27500
27559
  constructor(props: any);
@@ -27503,29 +27562,31 @@ declare module "packages/survey-react-ui/src/components/popup/popup" {
27503
27562
  protected getStateElement(): Base;
27504
27563
  clickInside: (ev: any) => void;
27505
27564
  componentDidUpdate(prevProps: any, prevState: any): void;
27506
- renderContainer(popupBaseViewModel: PopupBaseViewModel): JSX.Element;
27507
- renderHeaderContent(): JSX.Element;
27508
- renderContent(): JSX.Element;
27509
- protected renderHeaderPopup(popupModel: PopupBaseViewModel): JSX.Element | null;
27510
- protected renderFooter(popuModel: PopupBaseViewModel): JSX.Element | null;
27511
- render(): JSX.Element;
27565
+ renderContainer(popupBaseViewModel: PopupBaseViewModel): React.JSX.Element;
27566
+ renderHeaderContent(): React.JSX.Element;
27567
+ renderContent(): React.JSX.Element;
27568
+ protected renderHeaderPopup(popupModel: PopupBaseViewModel): React.JSX.Element | null;
27569
+ protected renderFooter(popuModel: PopupBaseViewModel): React.JSX.Element | null;
27570
+ render(): React.JSX.Element;
27512
27571
  componentDidMount(): void;
27513
27572
  }
27514
27573
  export class PopupDropdownContainer extends PopupContainer {
27515
- protected renderHeaderPopup(popupModel: PopupBaseViewModel): JSX.Element | null;
27574
+ protected renderHeaderPopup(popupModel: PopupBaseViewModel): React.JSX.Element | null;
27516
27575
  }
27517
27576
  }
27518
27577
  declare module "packages/survey-react-ui/src/components/action-bar/action-bar-item-dropdown" {
27578
+ import React from "react";
27519
27579
  import { SurveyActionBarItem } from "packages/survey-react-ui/src/components/action-bar/action-bar-item";
27520
27580
  export class SurveyActionBarItemDropdown extends SurveyActionBarItem {
27521
27581
  private viewModel;
27522
27582
  constructor(props: any);
27523
- renderInnerButton(): JSX.Element;
27583
+ renderInnerButton(): React.JSX.Element;
27524
27584
  componentDidMount(): void;
27525
27585
  componentWillUnmount(): void;
27526
27586
  }
27527
27587
  }
27528
27588
  declare module "packages/survey-react-ui/src/components/action-bar/action-bar" {
27589
+ import React from "react";
27529
27590
  import { Base, Action, ActionContainer } from "src/entries/core";
27530
27591
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
27531
27592
  export * from "packages/survey-react-ui/src/components/action-bar/action-bar-item-dropdown";
@@ -27544,7 +27605,7 @@ declare module "packages/survey-react-ui/src/components/action-bar/action-bar" {
27544
27605
  componentDidUpdate(prevProps: IActionBarProps, prevState: any): void;
27545
27606
  protected getStateElement(): Base;
27546
27607
  renderElement(): any;
27547
- renderItems(): JSX.Element[];
27608
+ renderItems(): React.JSX.Element[];
27548
27609
  }
27549
27610
  }
27550
27611
  declare module "packages/survey-react-ui/src/components/title/title-content" {
@@ -27554,8 +27615,8 @@ declare module "packages/survey-react-ui/src/components/title/title-content" {
27554
27615
  constructor(props: any);
27555
27616
  private get cssClasses();
27556
27617
  private get element();
27557
- render(): JSX.Element;
27558
- protected renderTitleSpans(element: ITitleOwner, cssClasses: any): Array<JSX.Element>;
27618
+ render(): React.JSX.Element;
27619
+ protected renderTitleSpans(element: ITitleOwner, cssClasses: any): Array<React.JSX.Element>;
27559
27620
  private renderRequireText;
27560
27621
  }
27561
27622
  }
@@ -27565,7 +27626,7 @@ declare module "packages/survey-react-ui/src/components/title/title-actions" {
27565
27626
  export class TitleActions extends React.Component<any, any> {
27566
27627
  protected get cssClasses(): any;
27567
27628
  protected get element(): SurveyElement;
27568
- render(): JSX.Element;
27629
+ render(): React.JSX.Element;
27569
27630
  }
27570
27631
  }
27571
27632
  declare module "packages/survey-react-ui/src/components/title/title-element" {
@@ -27573,15 +27634,15 @@ declare module "packages/survey-react-ui/src/components/title/title-element" {
27573
27634
  export class TitleElement extends React.Component<any, any> {
27574
27635
  constructor(props: any);
27575
27636
  private get element();
27576
- renderTitleExpandableSvg(): JSX.Element;
27577
- render(): JSX.Element | any;
27637
+ renderTitleExpandableSvg(): React.JSX.Element;
27638
+ render(): React.JSX.Element | any;
27578
27639
  }
27579
27640
  }
27580
27641
  declare module "packages/survey-react-ui/src/element-header" {
27581
27642
  import React from "react";
27582
27643
  export class SurveyElementHeader extends React.Component<any, any> {
27583
27644
  private get element();
27584
- render(): JSX.Element;
27645
+ render(): React.JSX.Element;
27585
27646
  }
27586
27647
  }
27587
27648
  declare module "packages/survey-react-ui/src/reactquestion" {
@@ -27589,14 +27650,14 @@ declare module "packages/survey-react-ui/src/reactquestion" {
27589
27650
  import { Base, SurveyElement, SurveyError, Question, QuestionMatrixDropdownRenderedCell } from "src/entries/core";
27590
27651
  import { SurveyElementBase, ReactSurveyElement } from "packages/survey-react-ui/src/reactquestion_element";
27591
27652
  export interface ISurveyCreator {
27592
- createQuestionElement(question: Question): JSX.Element | null;
27593
- renderError(key: string, error: SurveyError, cssClasses: any, element?: any): JSX.Element;
27653
+ createQuestionElement(question: Question): React.JSX.Element | null;
27654
+ renderError(key: string, error: SurveyError, cssClasses: any, element?: any): React.JSX.Element;
27594
27655
  questionTitleLocation(): string;
27595
27656
  questionErrorLocation(): string;
27596
27657
  }
27597
27658
  export class SurveyQuestion extends SurveyElementBase<any, any> {
27598
27659
  private isNeedFocus;
27599
- static renderQuestionBody(creator: ISurveyCreator, question: Question): JSX.Element | any;
27660
+ static renderQuestionBody(creator: ISurveyCreator, question: Question): React.JSX.Element | any;
27600
27661
  private rootRef;
27601
27662
  constructor(props: any);
27602
27663
  protected getStateElement(): Base;
@@ -27607,15 +27668,15 @@ declare module "packages/survey-react-ui/src/reactquestion" {
27607
27668
  componentDidUpdate(prevProps: any, prevState: any): void;
27608
27669
  private doAfterRender;
27609
27670
  protected canRender(): boolean;
27610
- protected renderQuestionContent(): JSX.Element;
27611
- protected renderElement(): JSX.Element;
27612
- protected wrapElement(element: JSX.Element): JSX.Element;
27613
- protected wrapQuestionContent(element: JSX.Element): JSX.Element;
27614
- protected renderQuestion(): JSX.Element;
27615
- protected renderDescription(): JSX.Element;
27616
- protected renderComment(cssClasses: any): JSX.Element;
27617
- protected renderHeader(question: Question): JSX.Element;
27618
- protected renderErrors(cssClasses: any, location: string): JSX.Element;
27671
+ protected renderQuestionContent(): React.JSX.Element;
27672
+ protected renderElement(): React.JSX.Element;
27673
+ protected wrapElement(element: React.JSX.Element): React.JSX.Element;
27674
+ protected wrapQuestionContent(element: React.JSX.Element): React.JSX.Element;
27675
+ protected renderQuestion(): React.JSX.Element;
27676
+ protected renderDescription(): React.JSX.Element;
27677
+ protected renderComment(cssClasses: any): React.JSX.Element;
27678
+ protected renderHeader(question: Question): React.JSX.Element;
27679
+ protected renderErrors(cssClasses: any, location: string): React.JSX.Element;
27619
27680
  }
27620
27681
  export class SurveyElementErrors extends ReactSurveyElement {
27621
27682
  constructor(props: any);
@@ -27626,7 +27687,7 @@ declare module "packages/survey-react-ui/src/reactquestion" {
27626
27687
  private getState;
27627
27688
  protected canRender(): boolean;
27628
27689
  componentWillUnmount(): void;
27629
- protected renderElement(): JSX.Element;
27690
+ protected renderElement(): React.JSX.Element;
27630
27691
  }
27631
27692
  export abstract class SurveyQuestionAndErrorsWrapped extends ReactSurveyElement {
27632
27693
  [index: string]: any;
@@ -27640,21 +27701,21 @@ declare module "packages/survey-react-ui/src/reactquestion" {
27640
27701
  componentDidUpdate(prevProps: any, prevState: any): void;
27641
27702
  protected doAfterRender(): void;
27642
27703
  protected canRender(): boolean;
27643
- protected renderContent(): JSX.Element;
27644
- protected abstract renderElement(): JSX.Element;
27704
+ protected renderContent(): React.JSX.Element;
27705
+ protected abstract renderElement(): React.JSX.Element;
27645
27706
  protected getShowErrors(): boolean;
27646
- protected renderQuestion(): JSX.Element;
27707
+ protected renderQuestion(): React.JSX.Element;
27647
27708
  }
27648
27709
  export class SurveyQuestionAndErrorsCell extends SurveyQuestionAndErrorsWrapped {
27649
27710
  [index: string]: any;
27650
27711
  protected cellRef: React.RefObject<HTMLTableCellElement>;
27651
27712
  constructor(props: any);
27652
27713
  componentWillUnmount(): void;
27653
- protected renderCellContent(): JSX.Element;
27654
- protected renderElement(): JSX.Element;
27714
+ protected renderCellContent(): React.JSX.Element;
27715
+ protected renderElement(): React.JSX.Element;
27655
27716
  protected getCellStyle(): any;
27656
27717
  protected getHeaderText(): string;
27657
- protected wrapCell(cell: QuestionMatrixDropdownRenderedCell, element: JSX.Element): JSX.Element;
27718
+ protected wrapCell(cell: QuestionMatrixDropdownRenderedCell, element: React.JSX.Element): React.JSX.Element;
27658
27719
  }
27659
27720
  export class SurveyQuestionErrorCell extends React.Component<any, any> {
27660
27721
  constructor(props: any);
@@ -27665,7 +27726,7 @@ declare module "packages/survey-react-ui/src/reactquestion" {
27665
27726
  private unRegisterCallback;
27666
27727
  componentDidUpdate(prevProps: Readonly<any>): void;
27667
27728
  componentWillUnmount(): void;
27668
- render(): JSX.Element;
27729
+ render(): React.JSX.Element;
27669
27730
  }
27670
27731
  }
27671
27732
  declare module "packages/survey-react-ui/src/reactquestion_element" {
@@ -27673,8 +27734,8 @@ declare module "packages/survey-react-ui/src/reactquestion_element" {
27673
27734
  import { Base, PanelModel, LocalizableString, Question } from "src/entries/core";
27674
27735
  import { ISurveyCreator } from "packages/survey-react-ui/src/reactquestion";
27675
27736
  export class SurveyElementBase<P, S> extends React.Component<P, S> {
27676
- static renderLocString(locStr: LocalizableString, style?: any, key?: string): JSX.Element;
27677
- static renderQuestionDescription(question: Question | PanelModel): JSX.Element;
27737
+ static renderLocString(locStr: LocalizableString, style?: any, key?: string): React.JSX.Element;
27738
+ static renderQuestionDescription(question: Question | PanelModel): React.JSX.Element;
27678
27739
  private changedStatePropNameValue;
27679
27740
  constructor(props: any);
27680
27741
  componentDidMount(): void;
@@ -27685,13 +27746,13 @@ declare module "packages/survey-react-ui/src/reactquestion_element" {
27685
27746
  protected denyComponentUpdate(): void;
27686
27747
  private prevStateElements;
27687
27748
  shouldComponentUpdate(nextProps: any, nextState: any): boolean;
27688
- render(): JSX.Element | null;
27689
- protected wrapElement(element: JSX.Element): JSX.Element;
27749
+ render(): React.JSX.Element | null;
27750
+ protected wrapElement(element: React.JSX.Element): React.JSX.Element;
27690
27751
  protected get isRendering(): boolean;
27691
27752
  protected getRenderedElements(): Base[];
27692
27753
  private startEndRendering;
27693
27754
  protected canRender(): boolean;
27694
- protected renderElement(): JSX.Element | null;
27755
+ protected renderElement(): React.JSX.Element | null;
27695
27756
  protected get changedStatePropName(): string | undefined;
27696
27757
  private makeBaseElementsReact;
27697
27758
  private unMakeBaseElementsReact;
@@ -27699,7 +27760,7 @@ declare module "packages/survey-react-ui/src/reactquestion_element" {
27699
27760
  protected getStateElements(): Array<Base>;
27700
27761
  protected getStateElement(): Base | null;
27701
27762
  protected get isDisplayMode(): boolean;
27702
- protected renderLocString(locStr: LocalizableString, style?: any, key?: string): JSX.Element;
27763
+ protected renderLocString(locStr: LocalizableString, style?: any, key?: string): React.JSX.Element;
27703
27764
  private canMakeReact;
27704
27765
  private makeBaseElementReact;
27705
27766
  protected canUsePropInState(key: string): boolean;
@@ -27723,7 +27784,7 @@ declare module "packages/survey-react-ui/src/reactquestion_element" {
27723
27784
  protected canRender(): boolean;
27724
27785
  shouldComponentUpdate(nextProps: any, nextState: any): boolean;
27725
27786
  protected get isDisplayMode(): boolean;
27726
- protected wrapCell(cell: any, element: JSX.Element, reason: string): JSX.Element;
27787
+ protected wrapCell(cell: any, element: React.JSX.Element, reason: string): React.JSX.Element;
27727
27788
  setControl(element: HTMLElement | null): void;
27728
27789
  setContent(element: HTMLElement | null): void;
27729
27790
  }
@@ -27738,6 +27799,7 @@ declare module "packages/survey-react-ui/src/reactquestion_element" {
27738
27799
  }
27739
27800
  }
27740
27801
  declare module "packages/survey-react-ui/src/element" {
27802
+ import * as React from "react";
27741
27803
  import { IElement } from "src/entries/core";
27742
27804
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
27743
27805
  export class SurveyRowElement extends SurveyElementBase<any, any> {
@@ -27753,11 +27815,12 @@ declare module "packages/survey-react-ui/src/element" {
27753
27815
  componentDidMount(): void;
27754
27816
  componentWillUnmount(): void;
27755
27817
  shouldComponentUpdate(nextProps: any, nextState: any): boolean;
27756
- protected renderElement(): JSX.Element;
27757
- protected createElement(element: IElement, elementIndex?: number): JSX.Element;
27818
+ protected renderElement(): React.JSX.Element;
27819
+ protected createElement(element: IElement, elementIndex?: number): React.JSX.Element;
27758
27820
  }
27759
27821
  }
27760
27822
  declare module "packages/survey-react-ui/src/row" {
27823
+ import * as React from "react";
27761
27824
  import { IElement, Base } from "src/entries/core";
27762
27825
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
27763
27826
  export class SurveyRow extends SurveyElementBase<any, any> {
@@ -27770,13 +27833,13 @@ declare module "packages/survey-react-ui/src/row" {
27770
27833
  private get creator();
27771
27834
  protected get css(): any;
27772
27835
  protected canRender(): boolean;
27773
- protected renderElementContent(): JSX.Element;
27774
- protected renderElement(): JSX.Element;
27836
+ protected renderElementContent(): React.JSX.Element;
27837
+ protected renderElement(): React.JSX.Element;
27775
27838
  componentDidMount(): void;
27776
27839
  shouldComponentUpdate(nextProps: any, nextState: any): boolean;
27777
27840
  private stopLazyRendering;
27778
27841
  componentWillUnmount(): void;
27779
- protected createElement(element: IElement, elementIndex?: number): JSX.Element;
27842
+ protected createElement(element: IElement, elementIndex?: number): React.JSX.Element;
27780
27843
  }
27781
27844
  }
27782
27845
  declare module "packages/survey-react-ui/src/panel-base" {
@@ -27802,20 +27865,21 @@ declare module "packages/survey-react-ui/src/panel-base" {
27802
27865
  private doAfterRender;
27803
27866
  protected getIsVisible(): boolean;
27804
27867
  protected canRender(): boolean;
27805
- protected renderRows(css: any): Array<JSX.Element>;
27806
- protected createRow(row: QuestionRowModel, css: any): JSX.Element;
27868
+ protected renderRows(css: any): Array<React.JSX.Element>;
27869
+ protected createRow(row: QuestionRowModel, css: any): React.JSX.Element;
27807
27870
  }
27808
27871
  }
27809
27872
  declare module "packages/survey-react-ui/src/page" {
27873
+ import * as React from "react";
27810
27874
  import { PageModel, PanelModelBase } from "src/entries/core";
27811
27875
  import { SurveyPanelBase } from "packages/survey-react-ui/src/panel-base";
27812
27876
  export class SurveyPage extends SurveyPanelBase {
27813
27877
  constructor(props: any);
27814
27878
  protected getPanelBase(): PanelModelBase;
27815
27879
  get page(): PageModel;
27816
- protected renderElement(): JSX.Element;
27817
- protected renderTitle(): JSX.Element;
27818
- protected renderDescription(): JSX.Element | null;
27880
+ protected renderElement(): React.JSX.Element;
27881
+ protected renderTitle(): React.JSX.Element;
27882
+ protected renderDescription(): React.JSX.Element | null;
27819
27883
  }
27820
27884
  }
27821
27885
  declare module "packages/survey-react-ui/src/components/survey-header/survey-header" {
@@ -27833,16 +27897,17 @@ declare module "packages/survey-react-ui/src/components/survey-header/survey-hea
27833
27897
  componentWillUnmount(): void;
27834
27898
  private renderTitle;
27835
27899
  private renderLogoImage;
27836
- render(): JSX.Element | null;
27900
+ render(): React.JSX.Element | null;
27837
27901
  }
27838
27902
  }
27839
27903
  declare module "packages/survey-react-ui/src/components/brand-info" {
27840
27904
  import React from "react";
27841
27905
  export class BrandInfo extends React.Component<any, any> {
27842
- render(): JSX.Element;
27906
+ render(): React.JSX.Element;
27843
27907
  }
27844
27908
  }
27845
27909
  declare module "packages/survey-react-ui/src/components/notifier" {
27910
+ import React from "react";
27846
27911
  import { Base, Notifier } from "src/entries/core";
27847
27912
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
27848
27913
  export interface INotifierComponentProps {
@@ -27851,13 +27916,13 @@ declare module "packages/survey-react-ui/src/components/notifier" {
27851
27916
  export class NotifierComponent extends SurveyElementBase<INotifierComponentProps, any> {
27852
27917
  get notifier(): Notifier;
27853
27918
  protected getStateElement(): Base;
27854
- renderElement(): JSX.Element | null;
27919
+ renderElement(): React.JSX.Element | null;
27855
27920
  }
27856
27921
  }
27857
27922
  declare module "packages/survey-react-ui/src/components/components-container" {
27858
27923
  import React from "react";
27859
27924
  export class ComponentsContainer extends React.Component<any, any> {
27860
- render(): JSX.Element | null;
27925
+ render(): React.JSX.Element | null;
27861
27926
  }
27862
27927
  }
27863
27928
  declare module "packages/survey-react-ui/src/svgbundle" {
@@ -27868,10 +27933,11 @@ declare module "packages/survey-react-ui/src/svgbundle" {
27868
27933
  private onIconsChanged;
27869
27934
  componentDidMount(): void;
27870
27935
  componentWillUnmount(): void;
27871
- render(): JSX.Element;
27936
+ render(): React.JSX.Element;
27872
27937
  }
27873
27938
  }
27874
27939
  declare module "packages/survey-react-ui/src/components/popup/popup-modal" {
27940
+ import React from "react";
27875
27941
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
27876
27942
  import { IDialogOptions, PopupBaseViewModel } from "src/entries/core";
27877
27943
  interface IModalDescriptor {
@@ -27886,7 +27952,7 @@ declare module "packages/survey-react-ui/src/components/popup/popup-modal" {
27886
27952
  static modalDescriptors: Array<IModalDescriptor>;
27887
27953
  static addModalDescriptor(descriptor: IModalDescriptor): void;
27888
27954
  static removeModalDescriptor(descriptor: IModalDescriptor): void;
27889
- protected renderElement(): JSX.Element | null;
27955
+ protected renderElement(): React.JSX.Element | null;
27890
27956
  showDialog(dialogOptions: IDialogOptions, rootElement?: HTMLElement): PopupBaseViewModel;
27891
27957
  init: () => void;
27892
27958
  clean: () => void;
@@ -27907,6 +27973,7 @@ declare module "packages/survey-core/src/iconsV2" {
27907
27973
  export { icons };
27908
27974
  }
27909
27975
  declare module "packages/survey-react-ui/src/reactSurvey" {
27976
+ import * as React from "react";
27910
27977
  import { Base, Question, PageModel, SurveyError, SurveyModel, IAttachKey2clickOptions } from "src/entries/core";
27911
27978
  import { ISurveyCreator } from "packages/survey-react-ui/src/reactquestion";
27912
27979
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
@@ -27927,26 +27994,26 @@ declare module "packages/survey-react-ui/src/reactSurvey" {
27927
27994
  componentDidMount(): void;
27928
27995
  destroySurvey(): void;
27929
27996
  componentWillUnmount(): void;
27930
- doRender(): JSX.Element;
27931
- protected renderElement(): JSX.Element;
27997
+ doRender(): React.JSX.Element;
27998
+ protected renderElement(): React.JSX.Element;
27932
27999
  get css(): any;
27933
28000
  set css(value: any);
27934
- protected renderCompleted(): JSX.Element | null;
27935
- protected renderCompletedBefore(): JSX.Element;
27936
- protected renderLoading(): JSX.Element;
27937
- protected renderSurvey(): JSX.Element;
27938
- protected renderPage(page: PageModel): JSX.Element;
27939
- protected renderEmptySurvey(): JSX.Element;
28001
+ protected renderCompleted(): React.JSX.Element | null;
28002
+ protected renderCompletedBefore(): React.JSX.Element;
28003
+ protected renderLoading(): React.JSX.Element;
28004
+ protected renderSurvey(): React.JSX.Element;
28005
+ protected renderPage(page: PageModel): React.JSX.Element;
28006
+ protected renderEmptySurvey(): React.JSX.Element;
27940
28007
  protected createSurvey(newProps: any): void;
27941
28008
  private isModelJSONChanged;
27942
28009
  protected updateSurvey(newProps: any, oldProps?: any): void;
27943
28010
  protected setSurveyEvents(): void;
27944
- createQuestionElement(question: Question): JSX.Element | null;
27945
- renderError(key: string, error: SurveyError, cssClasses: any, element?: any): JSX.Element;
28011
+ createQuestionElement(question: Question): React.JSX.Element | null;
28012
+ renderError(key: string, error: SurveyError, cssClasses: any, element?: any): React.JSX.Element;
27946
28013
  questionTitleLocation(): string;
27947
28014
  questionErrorLocation(): string;
27948
28015
  }
27949
- export function attachKey2click(element: JSX.Element, viewModel?: any, options?: IAttachKey2clickOptions): JSX.Element;
28016
+ export function attachKey2click(element: React.JSX.Element, viewModel?: any, options?: IAttachKey2clickOptions): React.JSX.Element;
27950
28017
  }
27951
28018
  declare module "packages/survey-react-ui/src/reactSurveyNavigationBase" {
27952
28019
  import * as React from "react";
@@ -27961,6 +28028,7 @@ declare module "packages/survey-react-ui/src/reactSurveyNavigationBase" {
27961
28028
  }
27962
28029
  }
27963
28030
  declare module "packages/survey-react-ui/src/reacttimerpanel" {
28031
+ import * as React from "react";
27964
28032
  import { Base, SurveyTimerModel } from "src/entries/core";
27965
28033
  import { ReactSurveyElement } from "packages/survey-react-ui/src/reactquestion_element";
27966
28034
  export class SurveyTimerPanel extends ReactSurveyElement {
@@ -27969,27 +28037,29 @@ declare module "packages/survey-react-ui/src/reacttimerpanel" {
27969
28037
  protected get timerModel(): SurveyTimerModel;
27970
28038
  private readonly circleLength;
27971
28039
  private get progress();
27972
- render(): JSX.Element | null;
28040
+ render(): React.JSX.Element | null;
27973
28041
  }
27974
28042
  }
27975
28043
  declare module "packages/survey-react-ui/src/panel" {
28044
+ import * as React from "react";
27976
28045
  import { SurveyPanelBase } from "packages/survey-react-ui/src/panel-base";
27977
28046
  import { PanelModel } from "src/entries/core";
27978
28047
  export class SurveyPanel extends SurveyPanelBase {
27979
28048
  private hasBeenExpanded;
27980
28049
  constructor(props: any);
27981
28050
  get panel(): PanelModel;
27982
- protected renderElement(): JSX.Element;
27983
- protected renderHeader(): JSX.Element;
27984
- protected wrapElement(element: JSX.Element): JSX.Element;
27985
- protected renderContent(style: any, rows: JSX.Element[], className: string): JSX.Element;
27986
- protected renderTitle(): JSX.Element | null;
27987
- protected renderDescription(): JSX.Element | null;
27988
- protected renderBottom(): JSX.Element | null;
28051
+ protected renderElement(): React.JSX.Element;
28052
+ protected renderHeader(): React.JSX.Element;
28053
+ protected wrapElement(element: React.JSX.Element): React.JSX.Element;
28054
+ protected renderContent(style: any, rows: React.JSX.Element[], className: string): React.JSX.Element;
28055
+ protected renderTitle(): React.JSX.Element | null;
28056
+ protected renderDescription(): React.JSX.Element | null;
28057
+ protected renderBottom(): React.JSX.Element | null;
27989
28058
  protected getIsVisible(): boolean;
27990
28059
  }
27991
28060
  }
27992
28061
  declare module "packages/survey-react-ui/src/flow-panel" {
28062
+ import * as React from "react";
27993
28063
  import { FlowPanelModel, Question } from "src/entries/core";
27994
28064
  import { SurveyPanel } from "packages/survey-react-ui/src/panel";
27995
28065
  export class SurveyFlowPanel extends SurveyPanel {
@@ -27999,35 +28069,36 @@ declare module "packages/survey-react-ui/src/flow-panel" {
27999
28069
  componentWillUnmount(): void;
28000
28070
  protected getQuestion(name: string): Question;
28001
28071
  protected renderQuestion(question: Question): string;
28002
- protected renderRows(): Array<JSX.Element>;
28072
+ protected renderRows(): Array<React.JSX.Element>;
28003
28073
  private renderedIndex;
28004
28074
  private getNodeIndex;
28005
- protected renderHtml(): JSX.Element | null;
28006
- protected renderNodes(domNodes: Array<Node>): Array<JSX.Element>;
28075
+ protected renderHtml(): React.JSX.Element | null;
28076
+ protected renderNodes(domNodes: Array<Node>): Array<React.JSX.Element>;
28007
28077
  private getStyle;
28008
- protected renderParentNode(node: Node): JSX.Element;
28009
- protected renderNode(node: Node): JSX.Element | null;
28078
+ protected renderParentNode(node: Node): React.JSX.Element;
28079
+ protected renderNode(node: Node): React.JSX.Element | null;
28010
28080
  private getChildDomNodes;
28011
28081
  private hasTextChildNodesOnly;
28012
- protected renderContent(style: any, rows: JSX.Element[]): JSX.Element;
28082
+ protected renderContent(style: any, rows: React.JSX.Element[]): React.JSX.Element;
28013
28083
  }
28014
28084
  }
28015
28085
  declare module "packages/survey-react-ui/src/reactquestion_checkbox" {
28086
+ import * as React from "react";
28016
28087
  import { ReactSurveyElement, SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28017
28088
  import { Base, ItemValue, QuestionCheckboxModel } from "src/entries/core";
28018
28089
  export class SurveyQuestionCheckbox extends SurveyQuestionElementBase {
28019
28090
  constructor(props: any);
28020
28091
  protected get question(): QuestionCheckboxModel;
28021
- protected renderElement(): JSX.Element;
28022
- protected getHeader(): JSX.Element[];
28023
- protected getFooter(): JSX.Element[];
28024
- protected getColumnedBody(cssClasses: any): JSX.Element;
28025
- protected getColumns(cssClasses: any): JSX.Element[];
28026
- protected getBody(cssClasses: any): JSX.Element;
28092
+ protected renderElement(): React.JSX.Element;
28093
+ protected getHeader(): React.JSX.Element[];
28094
+ protected getFooter(): React.JSX.Element[];
28095
+ protected getColumnedBody(cssClasses: any): React.JSX.Element;
28096
+ protected getColumns(cssClasses: any): React.JSX.Element[];
28097
+ protected getBody(cssClasses: any): React.JSX.Element;
28027
28098
  protected getItems(cssClasses: any, choices: Array<ItemValue>): Array<any>;
28028
28099
  protected get textStyle(): any;
28029
- protected renderOther(): JSX.Element;
28030
- protected renderItem(item: any, isFirst: boolean, cssClasses: any, index?: string): JSX.Element;
28100
+ protected renderOther(): React.JSX.Element;
28101
+ protected renderItem(item: any, isFirst: boolean, cssClasses: any, index?: string): React.JSX.Element;
28031
28102
  }
28032
28103
  export class SurveyQuestionCheckboxItem extends ReactSurveyElement {
28033
28104
  private rootRef;
@@ -28043,21 +28114,22 @@ declare module "packages/survey-react-ui/src/reactquestion_checkbox" {
28043
28114
  shouldComponentUpdate(nextProps: any, nextState: any): boolean;
28044
28115
  handleOnChange: (event: any) => void;
28045
28116
  protected canRender(): boolean;
28046
- protected renderElement(): JSX.Element;
28117
+ protected renderElement(): React.JSX.Element;
28047
28118
  protected get inputStyle(): any;
28048
- protected renderCheckbox(isChecked: boolean, otherItem: JSX.Element | null): JSX.Element;
28119
+ protected renderCheckbox(isChecked: boolean, otherItem: React.JSX.Element | null): React.JSX.Element;
28049
28120
  componentDidMount(): void;
28050
28121
  componentWillUnmount(): void;
28051
28122
  }
28052
28123
  }
28053
28124
  declare module "packages/survey-react-ui/src/reactquestion_ranking" {
28125
+ import * as React from "react";
28054
28126
  import { ReactSurveyElement, SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28055
28127
  import { QuestionRankingModel, ItemValue } from "src/entries/core";
28056
28128
  export class SurveyQuestionRanking extends SurveyQuestionElementBase {
28057
28129
  protected get question(): QuestionRankingModel;
28058
- protected renderElement(): JSX.Element;
28130
+ protected renderElement(): React.JSX.Element;
28059
28131
  protected getItems(choices?: any, unrankedItem?: boolean): Array<any>;
28060
- protected renderItem(item: ItemValue, i: number, handleKeydown: (event: any) => void, handlePointerDown: (event: PointerEvent) => void, handlePointerUp: (event: PointerEvent) => void, cssClasses: any, itemClass: string, question: QuestionRankingModel, unrankedItem?: boolean): JSX.Element;
28132
+ protected renderItem(item: ItemValue, i: number, handleKeydown: (event: any) => void, handlePointerDown: (event: PointerEvent) => void, handlePointerUp: (event: PointerEvent) => void, cssClasses: any, itemClass: string, question: QuestionRankingModel, unrankedItem?: boolean): React.JSX.Element;
28061
28133
  }
28062
28134
  export class SurveyQuestionRankingItem extends ReactSurveyElement {
28063
28135
  protected get text(): string;
@@ -28072,16 +28144,17 @@ declare module "packages/survey-react-ui/src/reactquestion_ranking" {
28072
28144
  protected get question(): any;
28073
28145
  protected get unrankedItem(): any;
28074
28146
  protected get item(): any;
28075
- protected renderEmptyIcon(): JSX.Element;
28076
- protected renderElement(): JSX.Element;
28147
+ protected renderEmptyIcon(): React.JSX.Element;
28148
+ protected renderElement(): React.JSX.Element;
28077
28149
  }
28078
28150
  export class SurveyQuestionRankingItemContent extends ReactSurveyElement {
28079
28151
  protected get item(): ItemValue;
28080
28152
  protected get cssClasses(): any;
28081
- protected renderElement(): JSX.Element;
28153
+ protected renderElement(): React.JSX.Element;
28082
28154
  }
28083
28155
  }
28084
28156
  declare module "packages/survey-react-ui/src/components/rating/rating-item" {
28157
+ import React from "react";
28085
28158
  import { Base, QuestionRatingModel, RenderedRatingItem } from "src/entries/core";
28086
28159
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28087
28160
  export interface IRatingItemProps {
@@ -28100,23 +28173,26 @@ declare module "packages/survey-react-ui/src/components/rating/rating-item" {
28100
28173
  handleOnMouseDown(event: any): void;
28101
28174
  }
28102
28175
  export class RatingItem extends RatingItemBase {
28103
- render(): JSX.Element | null;
28176
+ render(): React.JSX.Element | null;
28104
28177
  componentDidMount(): void;
28105
28178
  }
28106
28179
  }
28107
28180
  declare module "packages/survey-react-ui/src/components/rating/rating-item-star" {
28181
+ import React from "react";
28108
28182
  import { RatingItemBase } from "packages/survey-react-ui/src/components/rating/rating-item";
28109
28183
  export class RatingItemStar extends RatingItemBase {
28110
- render(): JSX.Element | null;
28184
+ render(): React.JSX.Element | null;
28111
28185
  }
28112
28186
  }
28113
28187
  declare module "packages/survey-react-ui/src/components/rating/rating-item-smiley" {
28188
+ import React from "react";
28114
28189
  import { RatingItemBase } from "packages/survey-react-ui/src/components/rating/rating-item";
28115
28190
  export class RatingItemSmiley extends RatingItemBase {
28116
- render(): JSX.Element | null;
28191
+ render(): React.JSX.Element | null;
28117
28192
  }
28118
28193
  }
28119
28194
  declare module "packages/survey-react-ui/src/components/rating/rating-dropdown-item" {
28195
+ import React from "react";
28120
28196
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28121
28197
  interface IRatingItemProps {
28122
28198
  item: any;
@@ -28124,11 +28200,12 @@ declare module "packages/survey-react-ui/src/components/rating/rating-dropdown-i
28124
28200
  export class RatingDropdownItem extends SurveyElementBase<IRatingItemProps, any> {
28125
28201
  get item(): any;
28126
28202
  getStateElement(): any;
28127
- render(): JSX.Element | null;
28128
- renderDescription(item: any): JSX.Element;
28203
+ render(): React.JSX.Element | null;
28204
+ renderDescription(item: any): React.JSX.Element;
28129
28205
  }
28130
28206
  }
28131
28207
  declare module "packages/survey-react-ui/src/tagbox-filter" {
28208
+ import * as React from "react";
28132
28209
  import { DropdownMultiSelectListModel, QuestionTagboxModel } from "src/entries/core";
28133
28210
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28134
28211
  interface ITagboxFilterProps {
@@ -28148,10 +28225,11 @@ declare module "packages/survey-react-ui/src/tagbox-filter" {
28148
28225
  onFocus(e: any): void;
28149
28226
  constructor(props: any);
28150
28227
  getStateElement(): DropdownMultiSelectListModel;
28151
- render(): JSX.Element;
28228
+ render(): React.JSX.Element;
28152
28229
  }
28153
28230
  }
28154
28231
  declare module "packages/survey-react-ui/src/dropdown-item" {
28232
+ import * as React from "react";
28155
28233
  import { ReactSurveyElement } from "packages/survey-react-ui/src/reactquestion_element";
28156
28234
  import { Base } from "src/entries/core";
28157
28235
  export class SurveyQuestionOptionItem extends ReactSurveyElement {
@@ -28163,10 +28241,11 @@ declare module "packages/survey-react-ui/src/dropdown-item" {
28163
28241
  protected getStateElement(): Base;
28164
28242
  private get item();
28165
28243
  protected canRender(): boolean;
28166
- protected renderElement(): JSX.Element;
28244
+ protected renderElement(): React.JSX.Element;
28167
28245
  }
28168
28246
  }
28169
28247
  declare module "packages/survey-react-ui/src/dropdown-base" {
28248
+ import * as React from "react";
28170
28249
  import { Question, DropdownListModel } from "src/entries/core";
28171
28250
  import { SurveyQuestionUncontrolledElement } from "packages/survey-react-ui/src/reactquestion_element";
28172
28251
  export class SurveyQuestionDropdownBase<T extends Question> extends SurveyQuestionUncontrolledElement<T> {
@@ -28180,13 +28259,13 @@ declare module "packages/survey-react-ui/src/dropdown-base" {
28180
28259
  protected getStateElement(): any;
28181
28260
  protected setValueCore(newValue: any): void;
28182
28261
  protected getValueCore(): any;
28183
- protected renderReadOnlyElement(): JSX.Element | null;
28184
- protected renderSelect(cssClasses: any): JSX.Element;
28185
- renderValueElement(dropdownListModel: DropdownListModel): JSX.Element | null;
28186
- protected renderInput(dropdownListModel: DropdownListModel): JSX.Element;
28187
- createClearButton(): JSX.Element | null;
28188
- createChevronButton(): JSX.Element | null;
28189
- protected renderOther(cssClasses: any): JSX.Element;
28262
+ protected renderReadOnlyElement(): React.JSX.Element | null;
28263
+ protected renderSelect(cssClasses: any): React.JSX.Element;
28264
+ renderValueElement(dropdownListModel: DropdownListModel): React.JSX.Element | null;
28265
+ protected renderInput(dropdownListModel: DropdownListModel): React.JSX.Element;
28266
+ createClearButton(): React.JSX.Element | null;
28267
+ createChevronButton(): React.JSX.Element | null;
28268
+ protected renderOther(cssClasses: any): React.JSX.Element;
28190
28269
  componentDidUpdate(prevProps: any, prevState: any): void;
28191
28270
  componentDidMount(): void;
28192
28271
  componentWillUnmount(): void;
@@ -28194,14 +28273,16 @@ declare module "packages/survey-react-ui/src/dropdown-base" {
28194
28273
  }
28195
28274
  }
28196
28275
  declare module "packages/survey-react-ui/src/reactquestion_dropdown" {
28276
+ import * as React from "react";
28197
28277
  import { Question } from "src/entries/core";
28198
28278
  import { SurveyQuestionDropdownBase } from "packages/survey-react-ui/src/dropdown-base";
28199
28279
  export class SurveyQuestionDropdown extends SurveyQuestionDropdownBase<Question> {
28200
28280
  constructor(props: any);
28201
- protected renderElement(): JSX.Element;
28281
+ protected renderElement(): React.JSX.Element;
28202
28282
  }
28203
28283
  }
28204
28284
  declare module "packages/survey-react-ui/src/tagbox-item" {
28285
+ import * as React from "react";
28205
28286
  import { ReactSurveyElement } from "packages/survey-react-ui/src/reactquestion_element";
28206
28287
  import { QuestionTagboxModel, ItemValue } from "src/entries/core";
28207
28288
  export class SurveyQuestionTagboxItem extends ReactSurveyElement {
@@ -28209,28 +28290,31 @@ declare module "packages/survey-react-ui/src/tagbox-item" {
28209
28290
  protected get question(): QuestionTagboxModel;
28210
28291
  protected get item(): ItemValue;
28211
28292
  protected canRender(): boolean;
28212
- protected renderElement(): JSX.Element;
28293
+ protected renderElement(): React.JSX.Element;
28213
28294
  }
28214
28295
  }
28215
28296
  declare module "packages/survey-react-ui/src/reactquestion_tagbox" {
28297
+ import * as React from "react";
28216
28298
  import { QuestionTagboxModel, DropdownListModel } from "src/entries/core";
28217
28299
  import { SurveyQuestionDropdownBase } from "packages/survey-react-ui/src/dropdown-base";
28218
28300
  export class SurveyQuestionTagbox extends SurveyQuestionDropdownBase<QuestionTagboxModel> {
28219
28301
  constructor(props: any);
28220
- protected renderItem(key: string, item: any): JSX.Element;
28221
- protected renderInput(dropdownListModel: DropdownListModel): JSX.Element;
28222
- protected renderElement(): JSX.Element;
28223
- protected renderReadOnlyElement(): JSX.Element | null;
28302
+ protected renderItem(key: string, item: any): React.JSX.Element;
28303
+ protected renderInput(dropdownListModel: DropdownListModel): React.JSX.Element;
28304
+ protected renderElement(): React.JSX.Element;
28305
+ protected renderReadOnlyElement(): React.JSX.Element | null;
28224
28306
  }
28225
28307
  }
28226
28308
  declare module "packages/survey-react-ui/src/dropdown-select" {
28309
+ import * as React from "react";
28227
28310
  import { SurveyQuestionDropdown } from "packages/survey-react-ui/src/reactquestion_dropdown";
28228
28311
  export class SurveyQuestionDropdownSelect extends SurveyQuestionDropdown {
28229
28312
  constructor(props: any);
28230
- protected renderSelect(cssClasses: any): JSX.Element;
28313
+ protected renderSelect(cssClasses: any): React.JSX.Element;
28231
28314
  }
28232
28315
  }
28233
28316
  declare module "packages/survey-react-ui/src/reactquestion_matrix" {
28317
+ import * as React from "react";
28234
28318
  import { ReactSurveyElement, SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28235
28319
  import { QuestionMatrixModel, Base } from "src/entries/core";
28236
28320
  export class SurveyQuestionMatrix extends SurveyQuestionElementBase {
@@ -28238,17 +28322,17 @@ declare module "packages/survey-react-ui/src/reactquestion_matrix" {
28238
28322
  protected get question(): QuestionMatrixModel;
28239
28323
  componentDidMount(): void;
28240
28324
  componentWillUnmount(): void;
28241
- protected renderElement(): JSX.Element;
28325
+ protected renderElement(): React.JSX.Element;
28242
28326
  }
28243
28327
  export class SurveyQuestionMatrixRow extends ReactSurveyElement {
28244
28328
  constructor(props: any);
28245
28329
  protected getStateElement(): Base | null;
28246
28330
  private get question();
28247
28331
  private get row();
28248
- protected wrapCell(cell: any, element: JSX.Element, reason: string): JSX.Element;
28332
+ protected wrapCell(cell: any, element: React.JSX.Element, reason: string): React.JSX.Element;
28249
28333
  protected canRender(): boolean;
28250
- protected renderElement(): JSX.Element;
28251
- generateTds(): Array<JSX.Element>;
28334
+ protected renderElement(): React.JSX.Element;
28335
+ generateTds(): Array<React.JSX.Element>;
28252
28336
  cellClick(row: any, column: any): void;
28253
28337
  }
28254
28338
  export class SurveyQuestionMatrixCell extends ReactSurveyElement {
@@ -28260,11 +28344,12 @@ declare module "packages/survey-react-ui/src/reactquestion_matrix" {
28260
28344
  private get column();
28261
28345
  private get columnIndex();
28262
28346
  protected canRender(): boolean;
28263
- protected renderElement(): JSX.Element;
28264
- protected renderInput(inputId: string, isChecked: boolean): JSX.Element;
28347
+ protected renderElement(): React.JSX.Element;
28348
+ protected renderInput(inputId: string, isChecked: boolean): React.JSX.Element;
28265
28349
  }
28266
28350
  }
28267
28351
  declare module "packages/survey-react-ui/src/reactquestion_html" {
28352
+ import * as React from "react";
28268
28353
  import { SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28269
28354
  import { QuestionHtmlModel } from "src/entries/core";
28270
28355
  export class SurveyQuestionHtml extends SurveyQuestionElementBase {
@@ -28275,40 +28360,43 @@ declare module "packages/survey-react-ui/src/reactquestion_html" {
28275
28360
  componentDidUpdate(prevProps: any, prevState: any): void;
28276
28361
  private reactOnStrChanged;
28277
28362
  protected canRender(): boolean;
28278
- protected renderElement(): JSX.Element;
28363
+ protected renderElement(): React.JSX.Element;
28279
28364
  }
28280
28365
  }
28281
28366
  declare module "packages/survey-react-ui/src/components/loading-indicator" {
28282
28367
  import * as React from "react";
28283
28368
  export class LoadingIndicatorComponent extends React.Component<any, any> {
28284
- render(): JSX.Element | null;
28369
+ render(): React.JSX.Element | null;
28285
28370
  }
28286
28371
  }
28287
28372
  declare module "packages/survey-react-ui/src/components/file/file-choose-button" {
28373
+ import React from "react";
28288
28374
  import { ReactSurveyElement } from "packages/survey-react-ui/src/reactquestion_element";
28289
28375
  import { QuestionFileModel } from "src/entries/core";
28290
28376
  export class SurveyFileChooseButton extends ReactSurveyElement {
28291
28377
  constructor(props: any);
28292
28378
  protected get question(): QuestionFileModel;
28293
- render(): JSX.Element;
28379
+ render(): React.JSX.Element;
28294
28380
  }
28295
28381
  }
28296
28382
  declare module "packages/survey-react-ui/src/reactquestion_file" {
28383
+ import * as React from "react";
28297
28384
  import { QuestionFileModel } from "src/entries/core";
28298
28385
  import { SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28299
28386
  export class SurveyQuestionFile extends SurveyQuestionElementBase {
28300
28387
  constructor(props: any);
28301
28388
  protected get question(): QuestionFileModel;
28302
- protected renderElement(): JSX.Element;
28303
- protected renderFileDecorator(): JSX.Element;
28304
- protected renderChooseButton(): JSX.Element;
28305
- protected renderClearButton(className: string): JSX.Element | null;
28306
- protected renderPreview(): JSX.Element;
28307
- protected renderLoadingIndicator(): JSX.Element;
28308
- protected renderVideo(): JSX.Element;
28389
+ protected renderElement(): React.JSX.Element;
28390
+ protected renderFileDecorator(): React.JSX.Element;
28391
+ protected renderChooseButton(): React.JSX.Element;
28392
+ protected renderClearButton(className: string): React.JSX.Element | null;
28393
+ protected renderPreview(): React.JSX.Element;
28394
+ protected renderLoadingIndicator(): React.JSX.Element;
28395
+ protected renderVideo(): React.JSX.Element;
28309
28396
  }
28310
28397
  }
28311
28398
  declare module "packages/survey-react-ui/src/components/file/file-item" {
28399
+ import React from "react";
28312
28400
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28313
28401
  import { QuestionFileModel } from "src/entries/core";
28314
28402
  export class SurveyFileItem extends SurveyElementBase<{
@@ -28317,12 +28405,13 @@ declare module "packages/survey-react-ui/src/components/file/file-item" {
28317
28405
  }, {}> {
28318
28406
  protected get question(): QuestionFileModel;
28319
28407
  protected get item(): any;
28320
- protected renderFileSign(className: string, val: any): JSX.Element | null;
28321
- protected renderElement(): JSX.Element | null;
28408
+ protected renderFileSign(className: string, val: any): React.JSX.Element | null;
28409
+ protected renderElement(): React.JSX.Element | null;
28322
28410
  protected canRender(): boolean;
28323
28411
  }
28324
28412
  }
28325
28413
  declare module "packages/survey-react-ui/src/components/file/file-page" {
28414
+ import React from "react";
28326
28415
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28327
28416
  import { QuestionFileModel, QuestionFilePage } from "src/entries/core";
28328
28417
  export class SurveyFilePage extends SurveyElementBase<{
@@ -28331,22 +28420,24 @@ declare module "packages/survey-react-ui/src/components/file/file-page" {
28331
28420
  }, {}> {
28332
28421
  protected get question(): QuestionFileModel;
28333
28422
  protected get page(): any;
28334
- protected renderElement(): JSX.Element | null;
28423
+ protected renderElement(): React.JSX.Element | null;
28335
28424
  }
28336
28425
  }
28337
28426
  declare module "packages/survey-react-ui/src/components/file/file-preview" {
28427
+ import React from "react";
28338
28428
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28339
28429
  import { QuestionFileModel } from "src/entries/core";
28340
28430
  export class SurveyFilePreview extends SurveyElementBase<{
28341
28431
  question: QuestionFileModel;
28342
28432
  }, {}> {
28343
28433
  protected get question(): QuestionFileModel;
28344
- protected renderFileSign(className: string, val: any): JSX.Element | null;
28345
- protected renderElement(): JSX.Element | null;
28434
+ protected renderFileSign(className: string, val: any): React.JSX.Element | null;
28435
+ protected renderElement(): React.JSX.Element | null;
28346
28436
  protected canRender(): boolean;
28347
28437
  }
28348
28438
  }
28349
28439
  declare module "packages/survey-react-ui/src/reactquestion_multipletext" {
28440
+ import * as React from "react";
28350
28441
  import { SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28351
28442
  import { SurveyQuestionAndErrorsWrapped } from "packages/survey-react-ui/src/reactquestion";
28352
28443
  import { QuestionMultipleTextModel, MultipleTextItemModel, MultipleTextCell } from "src/entries/core";
@@ -28354,35 +28445,36 @@ declare module "packages/survey-react-ui/src/reactquestion_multipletext" {
28354
28445
  export class SurveyQuestionMultipleText extends SurveyQuestionElementBase {
28355
28446
  constructor(props: any);
28356
28447
  protected get question(): QuestionMultipleTextModel;
28357
- protected renderElement(): JSX.Element;
28358
- protected renderCell(cell: MultipleTextCell, cssClasses: any, index: number): JSX.Element;
28359
- protected renderRow(rowIndex: number, cells: Array<MultipleTextCell>, cssClasses: any): JSX.Element;
28448
+ protected renderElement(): React.JSX.Element;
28449
+ protected renderCell(cell: MultipleTextCell, cssClasses: any, index: number): React.JSX.Element;
28450
+ protected renderRow(rowIndex: number, cells: Array<MultipleTextCell>, cssClasses: any): React.JSX.Element;
28360
28451
  }
28361
28452
  export class SurveyMultipleTextItem extends ReactSurveyElement {
28362
28453
  private get question();
28363
28454
  private get item();
28364
28455
  protected getStateElements(): (import("survey-core").MultipleTextEditorModel | MultipleTextItemModel)[];
28365
28456
  private get creator();
28366
- protected renderElement(): JSX.Element;
28457
+ protected renderElement(): React.JSX.Element;
28367
28458
  }
28368
28459
  export class SurveyMultipleTextItemEditor extends SurveyQuestionAndErrorsWrapped {
28369
- protected renderElement(): JSX.Element;
28460
+ protected renderElement(): React.JSX.Element;
28370
28461
  }
28371
28462
  }
28372
28463
  declare module "packages/survey-react-ui/src/reactquestion_radiogroup" {
28464
+ import * as React from "react";
28373
28465
  import { SurveyQuestionElementBase, ReactSurveyElement } from "packages/survey-react-ui/src/reactquestion_element";
28374
28466
  import { QuestionRadiogroupModel, ItemValue, Base } from "src/entries/core";
28375
28467
  export class SurveyQuestionRadiogroup extends SurveyQuestionElementBase {
28376
28468
  constructor(props: any);
28377
28469
  protected get question(): QuestionRadiogroupModel;
28378
- protected renderElement(): JSX.Element;
28379
- protected getFooter(): JSX.Element[];
28380
- protected getColumnedBody(cssClasses: any): JSX.Element;
28381
- protected getColumns(cssClasses: any): JSX.Element[];
28382
- protected getBody(cssClasses: any): JSX.Element;
28470
+ protected renderElement(): React.JSX.Element;
28471
+ protected getFooter(): React.JSX.Element[];
28472
+ protected getColumnedBody(cssClasses: any): React.JSX.Element;
28473
+ protected getColumns(cssClasses: any): React.JSX.Element[];
28474
+ protected getBody(cssClasses: any): React.JSX.Element;
28383
28475
  protected getItems(cssClasses: any, choices: Array<ItemValue>): Array<any>;
28384
28476
  protected get textStyle(): any;
28385
- protected renderOther(cssClasses: any): JSX.Element;
28477
+ protected renderOther(cssClasses: any): React.JSX.Element;
28386
28478
  private renderItem;
28387
28479
  private getStateValue;
28388
28480
  }
@@ -28401,18 +28493,19 @@ declare module "packages/survey-react-ui/src/reactquestion_radiogroup" {
28401
28493
  handleOnMouseDown(event: any): void;
28402
28494
  protected canRender(): boolean;
28403
28495
  componentDidUpdate(prevProps: any, prevState: any): void;
28404
- protected renderElement(): JSX.Element;
28496
+ protected renderElement(): React.JSX.Element;
28405
28497
  componentDidMount(): void;
28406
28498
  componentWillUnmount(): void;
28407
28499
  }
28408
28500
  }
28409
28501
  declare module "packages/survey-react-ui/src/reactquestion_text" {
28502
+ import * as React from "react";
28410
28503
  import { SurveyQuestionUncontrolledElement } from "packages/survey-react-ui/src/reactquestion_element";
28411
28504
  import { QuestionTextModel } from "src/entries/core";
28412
28505
  export class SurveyQuestionText extends SurveyQuestionUncontrolledElement<QuestionTextModel> {
28413
28506
  constructor(props: any);
28414
- protected renderInput(): JSX.Element;
28415
- protected renderElement(): JSX.Element;
28507
+ protected renderInput(): React.JSX.Element;
28508
+ protected renderElement(): React.JSX.Element;
28416
28509
  protected setValueCore(newValue: any): void;
28417
28510
  protected getValueCore(): any;
28418
28511
  private renderDataList;
@@ -28434,35 +28527,39 @@ declare module "packages/survey-react-ui/src/boolean" {
28434
28527
  handleOnLabelClick(event: any, value: boolean): void;
28435
28528
  handleOnKeyDown(event: any): void;
28436
28529
  protected updateDomElement(): void;
28437
- protected renderElement(): JSX.Element;
28530
+ protected renderElement(): React.JSX.Element;
28438
28531
  }
28439
28532
  }
28440
28533
  declare module "packages/survey-react-ui/src/boolean-checkbox" {
28534
+ import * as React from "react";
28441
28535
  import { SurveyQuestionBoolean } from "packages/survey-react-ui/src/boolean";
28442
28536
  export class SurveyQuestionBooleanCheckbox extends SurveyQuestionBoolean {
28443
28537
  constructor(props: any);
28444
- protected renderElement(): JSX.Element;
28538
+ protected renderElement(): React.JSX.Element;
28445
28539
  }
28446
28540
  }
28447
28541
  declare module "packages/survey-react-ui/src/boolean-radio" {
28542
+ import * as React from "react";
28448
28543
  import { SurveyQuestionBoolean } from "packages/survey-react-ui/src/boolean";
28449
28544
  export class SurveyQuestionBooleanRadio extends SurveyQuestionBoolean {
28450
28545
  constructor(props: any);
28451
28546
  private renderRadioItem;
28452
28547
  handleOnChange: (event: any) => void;
28453
- protected renderElement(): JSX.Element;
28548
+ protected renderElement(): React.JSX.Element;
28454
28549
  }
28455
28550
  }
28456
28551
  declare module "packages/survey-react-ui/src/reactquestion_empty" {
28552
+ import * as React from "react";
28457
28553
  import { SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28458
28554
  import { QuestionEmptyModel } from "src/entries/core";
28459
28555
  export class SurveyQuestionEmpty extends SurveyQuestionElementBase {
28460
28556
  constructor(props: any);
28461
28557
  protected get question(): QuestionEmptyModel;
28462
- protected renderElement(): JSX.Element;
28558
+ protected renderElement(): React.JSX.Element;
28463
28559
  }
28464
28560
  }
28465
28561
  declare module "packages/survey-react-ui/src/components/matrix/row" {
28562
+ import React from "react";
28466
28563
  import { QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownModelBase } from "src/entries/core";
28467
28564
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28468
28565
  interface IMatrixRowProps {
@@ -28479,18 +28576,20 @@ declare module "packages/survey-react-ui/src/components/matrix/row" {
28479
28576
  componentDidMount(): void;
28480
28577
  componentWillUnmount(): void;
28481
28578
  shouldComponentUpdate(nextProps: any, nextState: any): boolean;
28482
- render(): JSX.Element;
28579
+ render(): React.JSX.Element;
28483
28580
  }
28484
28581
  }
28485
28582
  declare module "packages/survey-react-ui/src/components/matrix-actions/drag-drop-icon/drag-drop-icon" {
28583
+ import React from "react";
28486
28584
  import { ReactSurveyElement } from "packages/survey-react-ui/src/reactquestion_element";
28487
28585
  export class SurveyQuestionMatrixDynamicDragDropIcon extends ReactSurveyElement {
28488
28586
  private get question();
28489
- protected renderElement(): JSX.Element | null;
28490
- protected renderIcon(): JSX.Element;
28587
+ protected renderElement(): React.JSX.Element | null;
28588
+ protected renderIcon(): React.JSX.Element;
28491
28589
  }
28492
28590
  }
28493
28591
  declare module "packages/survey-react-ui/src/reactquestion_matrixdropdownbase" {
28592
+ import * as React from "react";
28494
28593
  import { SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28495
28594
  import { SurveyQuestionAndErrorsCell } from "packages/survey-react-ui/src/reactquestion";
28496
28595
  import { QuestionMatrixDropdownModelBase, Question } from "src/entries/core";
@@ -28501,8 +28600,8 @@ declare module "packages/survey-react-ui/src/reactquestion_matrixdropdownbase" {
28501
28600
  private updateStateOnCallback;
28502
28601
  componentDidMount(): void;
28503
28602
  componentWillUnmount(): void;
28504
- protected renderElement(): JSX.Element;
28505
- renderTableDiv(): JSX.Element;
28603
+ protected renderElement(): React.JSX.Element;
28604
+ renderTableDiv(): React.JSX.Element;
28506
28605
  }
28507
28606
  export class SurveyQuestionMatrixDropdownCell extends SurveyQuestionAndErrorsCell {
28508
28607
  constructor(props: any);
@@ -28513,9 +28612,9 @@ declare module "packages/survey-react-ui/src/reactquestion_matrixdropdownbase" {
28513
28612
  protected getShowErrors(): boolean;
28514
28613
  protected getCellStyle(): any;
28515
28614
  protected getHeaderText(): string;
28516
- protected renderElement(): JSX.Element | null;
28517
- protected renderCellContent(): JSX.Element;
28518
- protected renderQuestion(): JSX.Element;
28615
+ protected renderElement(): React.JSX.Element | null;
28616
+ protected renderCellContent(): React.JSX.Element;
28617
+ protected renderQuestion(): React.JSX.Element;
28519
28618
  private renderOtherComment;
28520
28619
  private renderCellCheckboxButton;
28521
28620
  private renderCellRadiogroupButton;
@@ -28528,6 +28627,7 @@ declare module "packages/survey-react-ui/src/reactquestion_matrixdropdown" {
28528
28627
  }
28529
28628
  }
28530
28629
  declare module "packages/survey-react-ui/src/reactquestion_matrixdynamic" {
28630
+ import * as React from "react";
28531
28631
  import { SurveyQuestionMatrixDropdownBase } from "packages/survey-react-ui/src/reactquestion_matrixdropdownbase";
28532
28632
  import { QuestionMatrixDynamicModel } from "src/entries/core";
28533
28633
  import { ReactSurveyElement } from "packages/survey-react-ui/src/reactquestion_element";
@@ -28535,20 +28635,21 @@ declare module "packages/survey-react-ui/src/reactquestion_matrixdynamic" {
28535
28635
  constructor(props: any);
28536
28636
  protected get matrix(): QuestionMatrixDynamicModel;
28537
28637
  handleOnRowAddClick(event: any): void;
28538
- protected renderElement(): JSX.Element;
28539
- protected renderAddRowButtonOnTop(cssClasses: any): JSX.Element | null;
28540
- protected renderAddRowButtonOnBottom(cssClasses: any): JSX.Element | null;
28541
- protected renderNoRowsContent(cssClasses: any): JSX.Element;
28542
- protected renderAddRowButton(cssClasses: any, isEmptySection?: boolean): JSX.Element;
28638
+ protected renderElement(): React.JSX.Element;
28639
+ protected renderAddRowButtonOnTop(cssClasses: any): React.JSX.Element | null;
28640
+ protected renderAddRowButtonOnBottom(cssClasses: any): React.JSX.Element | null;
28641
+ protected renderNoRowsContent(cssClasses: any): React.JSX.Element;
28642
+ protected renderAddRowButton(cssClasses: any, isEmptySection?: boolean): React.JSX.Element;
28543
28643
  }
28544
28644
  export class SurveyQuestionMatrixDynamicAddButton extends ReactSurveyElement {
28545
28645
  constructor(props: any);
28546
28646
  protected get matrix(): QuestionMatrixDynamicModel;
28547
28647
  handleOnRowAddClick(event: any): void;
28548
- protected renderElement(): JSX.Element;
28648
+ protected renderElement(): React.JSX.Element;
28549
28649
  }
28550
28650
  }
28551
28651
  declare module "packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-add-btn" {
28652
+ import React from "react";
28552
28653
  import { QuestionPanelDynamicModel } from "src/entries/core";
28553
28654
  import { ReactSurveyElement } from "packages/survey-react-ui/src/reactquestion_element";
28554
28655
  export class SurveyQuestionPanelDynamicAction extends ReactSurveyElement {
@@ -28558,30 +28659,34 @@ declare module "packages/survey-react-ui/src/components/paneldynamic-actions/pan
28558
28659
  }
28559
28660
  export class SurveyQuestionPanelDynamicAddButton extends SurveyQuestionPanelDynamicAction {
28560
28661
  protected handleClick: (event: any) => void;
28561
- protected renderElement(): JSX.Element | null;
28662
+ protected renderElement(): React.JSX.Element | null;
28562
28663
  }
28563
28664
  }
28564
28665
  declare module "packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-next-btn" {
28666
+ import React from "react";
28565
28667
  import { SurveyQuestionPanelDynamicAction } from "packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-add-btn";
28566
28668
  export class SurveyQuestionPanelDynamicNextButton extends SurveyQuestionPanelDynamicAction {
28567
28669
  protected handleClick: (event: any) => void;
28568
- protected renderElement(): JSX.Element;
28670
+ protected renderElement(): React.JSX.Element;
28569
28671
  }
28570
28672
  }
28571
28673
  declare module "packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-prev-btn" {
28674
+ import React from "react";
28572
28675
  import { SurveyQuestionPanelDynamicAction } from "packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-add-btn";
28573
28676
  export class SurveyQuestionPanelDynamicPrevButton extends SurveyQuestionPanelDynamicAction {
28574
28677
  protected handleClick: (event: any) => void;
28575
- protected renderElement(): JSX.Element;
28678
+ protected renderElement(): React.JSX.Element;
28576
28679
  }
28577
28680
  }
28578
28681
  declare module "packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-progress-text" {
28682
+ import React from "react";
28579
28683
  import { SurveyQuestionPanelDynamicAction } from "packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-add-btn";
28580
28684
  export class SurveyQuestionPanelDynamicProgressText extends SurveyQuestionPanelDynamicAction {
28581
- protected renderElement(): JSX.Element;
28685
+ protected renderElement(): React.JSX.Element;
28582
28686
  }
28583
28687
  }
28584
28688
  declare module "packages/survey-react-ui/src/reactquestion_paneldynamic" {
28689
+ import * as React from "react";
28585
28690
  import { SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28586
28691
  import { SurveyModel, QuestionPanelDynamicModel } from "src/entries/core";
28587
28692
  import { SurveyPanel } from "packages/survey-react-ui/src/panel";
@@ -28591,36 +28696,38 @@ declare module "packages/survey-react-ui/src/reactquestion_paneldynamic" {
28591
28696
  componentDidMount(): void;
28592
28697
  componentWillUnmount(): void;
28593
28698
  private updateQuestionRendering;
28594
- protected renderElement(): JSX.Element;
28595
- protected renderNavigator(): JSX.Element | null;
28699
+ protected renderElement(): React.JSX.Element;
28700
+ protected renderNavigator(): React.JSX.Element | null;
28596
28701
  private renderProgressText;
28597
- protected rendrerPrevButton(): JSX.Element;
28598
- protected rendrerNextButton(): JSX.Element;
28599
- protected renderRange(): JSX.Element;
28600
- protected renderAddRowButton(): JSX.Element | null;
28601
- protected renderNavigatorV2(): JSX.Element | null;
28602
- protected renderPlaceholder(): JSX.Element | null;
28702
+ protected rendrerPrevButton(): React.JSX.Element;
28703
+ protected rendrerNextButton(): React.JSX.Element;
28704
+ protected renderRange(): React.JSX.Element;
28705
+ protected renderAddRowButton(): React.JSX.Element | null;
28706
+ protected renderNavigatorV2(): React.JSX.Element | null;
28707
+ protected renderPlaceholder(): React.JSX.Element | null;
28603
28708
  }
28604
28709
  export class SurveyQuestionPanelDynamicItem extends SurveyPanel {
28605
28710
  private get question();
28606
28711
  private get index();
28607
28712
  protected getSurvey(): SurveyModel | null;
28608
28713
  protected getCss(): any;
28609
- render(): JSX.Element;
28610
- protected renderButton(): JSX.Element | null;
28714
+ render(): React.JSX.Element;
28715
+ protected renderButton(): React.JSX.Element | null;
28611
28716
  }
28612
28717
  }
28613
28718
  declare module "packages/survey-react-ui/src/progress" {
28719
+ import * as React from "react";
28614
28720
  import { SurveyNavigationBase } from "packages/survey-react-ui/src/reactSurveyNavigationBase";
28615
28721
  export class SurveyProgress extends SurveyNavigationBase {
28616
28722
  constructor(props: any);
28617
28723
  protected get isTop(): boolean;
28618
28724
  protected get progress(): number;
28619
28725
  protected get progressText(): string;
28620
- render(): JSX.Element;
28726
+ render(): React.JSX.Element;
28621
28727
  }
28622
28728
  }
28623
28729
  declare module "packages/survey-react-ui/src/progressButtons" {
28730
+ import * as React from "react";
28624
28731
  import { ProgressButtons, PageModel, IProgressButtonsViewModel } from "src/entries/core";
28625
28732
  import { SurveyNavigationBase } from "packages/survey-react-ui/src/reactSurveyNavigationBase";
28626
28733
  export class SurveyProgressButtons extends SurveyNavigationBase implements IProgressButtonsViewModel {
@@ -28632,15 +28739,16 @@ declare module "packages/survey-react-ui/src/progressButtons" {
28632
28739
  onResize(canShowItemTitles: boolean): void;
28633
28740
  onUpdateScroller(hasScroller: boolean): void;
28634
28741
  onUpdateSettings(): void;
28635
- render(): JSX.Element;
28636
- protected getListElements(): JSX.Element[];
28637
- protected renderListElement(page: PageModel, index: number): JSX.Element;
28742
+ render(): React.JSX.Element;
28743
+ protected getListElements(): React.JSX.Element[];
28744
+ protected renderListElement(page: PageModel, index: number): React.JSX.Element;
28638
28745
  protected clickScrollButton(listContainerElement: Element | null, isLeftScroll: boolean): void;
28639
28746
  componentDidMount(): void;
28640
28747
  componentWillUnmount(): void;
28641
28748
  }
28642
28749
  }
28643
28750
  declare module "packages/survey-react-ui/src/components/list/list-item" {
28751
+ import React from "react";
28644
28752
  import { ListModel } from "src/entries/core";
28645
28753
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28646
28754
  interface IListItemProps {
@@ -28652,11 +28760,12 @@ declare module "packages/survey-react-ui/src/components/list/list-item" {
28652
28760
  get item(): any;
28653
28761
  handleKeydown: (event: any) => void;
28654
28762
  getStateElement(): any;
28655
- render(): JSX.Element | null;
28763
+ render(): React.JSX.Element | null;
28656
28764
  componentDidMount(): void;
28657
28765
  }
28658
28766
  }
28659
28767
  declare module "packages/survey-react-ui/src/components/list/list" {
28768
+ import React from "react";
28660
28769
  import { ListModel } from "src/entries/core";
28661
28770
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28662
28771
  interface IListProps {
@@ -28672,49 +28781,54 @@ declare module "packages/survey-react-ui/src/components/list/list" {
28672
28781
  componentDidMount(): void;
28673
28782
  componentDidUpdate(prevProps: any, prevState: any): void;
28674
28783
  componentWillUnmount(): void;
28675
- renderElement(): JSX.Element;
28676
- renderList(): JSX.Element;
28677
- renderItems(): JSX.Element[];
28678
- searchElementContent(): JSX.Element;
28679
- emptyContent(): JSX.Element;
28784
+ renderElement(): React.JSX.Element;
28785
+ renderList(): React.JSX.Element;
28786
+ renderItems(): React.JSX.Element[];
28787
+ searchElementContent(): React.JSX.Element;
28788
+ emptyContent(): React.JSX.Element;
28680
28789
  }
28681
28790
  }
28682
28791
  declare module "packages/survey-react-ui/src/progressToc" {
28792
+ import * as React from "react";
28683
28793
  import { SurveyNavigationBase } from "packages/survey-react-ui/src/reactSurveyNavigationBase";
28684
28794
  export class SurveyProgressToc extends SurveyNavigationBase {
28685
- render(): JSX.Element;
28795
+ render(): React.JSX.Element;
28686
28796
  }
28687
28797
  }
28688
28798
  declare module "packages/survey-react-ui/src/reactquestion_rating" {
28799
+ import * as React from "react";
28689
28800
  import { SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28690
28801
  import { QuestionRatingModel } from "src/entries/core";
28691
28802
  export class SurveyQuestionRating extends SurveyQuestionElementBase {
28692
28803
  constructor(props: any);
28693
28804
  protected get question(): QuestionRatingModel;
28694
28805
  handleOnClick(event: any): void;
28695
- protected renderItem(item: any, index: Number): JSX.Element;
28696
- protected renderElement(): JSX.Element;
28806
+ protected renderItem(item: any, index: Number): React.JSX.Element;
28807
+ protected renderElement(): React.JSX.Element;
28697
28808
  }
28698
28809
  }
28699
28810
  declare module "packages/survey-react-ui/src/rating-dropdown" {
28811
+ import * as React from "react";
28700
28812
  import { QuestionRatingModel } from "src/entries/core";
28701
28813
  import { SurveyQuestionDropdownBase } from "packages/survey-react-ui/src/dropdown-base";
28702
28814
  export * from "packages/survey-react-ui/src/components/rating/rating-dropdown-item";
28703
28815
  export class SurveyQuestionRatingDropdown extends SurveyQuestionDropdownBase<QuestionRatingModel> {
28704
28816
  constructor(props: any);
28705
- protected renderElement(): JSX.Element;
28817
+ protected renderElement(): React.JSX.Element;
28706
28818
  }
28707
28819
  }
28708
28820
  declare module "packages/survey-react-ui/src/reactquestion_expression" {
28821
+ import * as React from "react";
28709
28822
  import { SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28710
28823
  import { QuestionExpressionModel } from "src/entries/core";
28711
28824
  export class SurveyQuestionExpression extends SurveyQuestionElementBase {
28712
28825
  constructor(props: any);
28713
28826
  protected get question(): QuestionExpressionModel;
28714
- protected renderElement(): JSX.Element;
28827
+ protected renderElement(): React.JSX.Element;
28715
28828
  }
28716
28829
  }
28717
28830
  declare module "packages/survey-react-ui/src/react-popup-survey" {
28831
+ import * as React from "react";
28718
28832
  import { Base, PopupSurveyModel } from "src/entries/core";
28719
28833
  import { Survey } from "packages/survey-react-ui/src/reactSurvey";
28720
28834
  export class PopupSurvey extends Survey {
@@ -28723,14 +28837,14 @@ declare module "packages/survey-react-ui/src/react-popup-survey" {
28723
28837
  protected getStateElements(): Array<Base>;
28724
28838
  handleOnExpanded(event: any): void;
28725
28839
  protected canRender(): boolean;
28726
- protected renderElement(): JSX.Element;
28727
- protected renderWindowHeader(): JSX.Element;
28728
- protected renderTitleCollapsed(popup: PopupSurveyModel): JSX.Element | null;
28729
- protected renderExpandIcon(): JSX.Element;
28730
- protected renderCollapseIcon(): JSX.Element;
28731
- protected renderCloseButton(popup: PopupSurveyModel): JSX.Element;
28732
- protected renderAllowFullScreenButon(popup: PopupSurveyModel): JSX.Element;
28733
- protected renderBody(): JSX.Element;
28840
+ protected renderElement(): React.JSX.Element;
28841
+ protected renderWindowHeader(): React.JSX.Element;
28842
+ protected renderTitleCollapsed(popup: PopupSurveyModel): React.JSX.Element | null;
28843
+ protected renderExpandIcon(): React.JSX.Element;
28844
+ protected renderCollapseIcon(): React.JSX.Element;
28845
+ protected renderCloseButton(popup: PopupSurveyModel): React.JSX.Element;
28846
+ protected renderAllowFullScreenButon(popup: PopupSurveyModel): React.JSX.Element;
28847
+ protected renderBody(): React.JSX.Element;
28734
28848
  protected createSurvey(newProps: any): void;
28735
28849
  }
28736
28850
  /**
@@ -28740,16 +28854,17 @@ declare module "packages/survey-react-ui/src/react-popup-survey" {
28740
28854
  }
28741
28855
  }
28742
28856
  declare module "packages/survey-react-ui/src/imagepicker" {
28857
+ import * as React from "react";
28743
28858
  import { ReactSurveyElement, SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28744
28859
  import { QuestionImagePickerModel, ImageItemValue } from "src/entries/core";
28745
28860
  export class SurveyQuestionImagePicker extends SurveyQuestionElementBase {
28746
28861
  constructor(props: any);
28747
28862
  protected get question(): QuestionImagePickerModel;
28748
- protected renderElement(): JSX.Element;
28749
- protected getColumns(cssClasses: any): JSX.Element[];
28863
+ protected renderElement(): React.JSX.Element;
28864
+ protected getColumns(cssClasses: any): React.JSX.Element[];
28750
28865
  protected getItems(cssClasses: any): Array<any>;
28751
28866
  protected get textStyle(): any;
28752
- protected renderItem(key: string, item: ImageItemValue, cssClasses: any): JSX.Element;
28867
+ protected renderItem(key: string, item: ImageItemValue, cssClasses: any): React.JSX.Element;
28753
28868
  }
28754
28869
  export class SurveyQuestionImagePickerItem extends ReactSurveyElement {
28755
28870
  constructor(props: any);
@@ -28762,10 +28877,11 @@ declare module "packages/survey-react-ui/src/imagepicker" {
28762
28877
  protected get item(): any;
28763
28878
  protected get question(): any;
28764
28879
  handleOnChange(event: any): void;
28765
- protected renderElement(): JSX.Element;
28880
+ protected renderElement(): React.JSX.Element;
28766
28881
  }
28767
28882
  }
28768
28883
  declare module "packages/survey-react-ui/src/image" {
28884
+ import * as React from "react";
28769
28885
  import { SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28770
28886
  import { QuestionImageModel } from "src/entries/core";
28771
28887
  export class SurveyQuestionImage extends SurveyQuestionElementBase {
@@ -28773,31 +28889,33 @@ declare module "packages/survey-react-ui/src/image" {
28773
28889
  componentDidMount(): void;
28774
28890
  componentWillUnmount(): void;
28775
28891
  protected get question(): QuestionImageModel;
28776
- protected renderElement(): JSX.Element;
28892
+ protected renderElement(): React.JSX.Element;
28777
28893
  }
28778
28894
  }
28779
28895
  declare module "packages/survey-react-ui/src/signaturepad" {
28896
+ import * as React from "react";
28780
28897
  import { SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28781
28898
  import { QuestionSignaturePadModel } from "src/entries/core";
28782
28899
  export class SurveyQuestionSignaturePad extends SurveyQuestionElementBase {
28783
28900
  constructor(props: any);
28784
28901
  protected get question(): QuestionSignaturePadModel;
28785
- protected renderElement(): JSX.Element;
28786
- renderBackgroundImage(): JSX.Element | null;
28787
- protected renderLoadingIndicator(): JSX.Element;
28788
- renderCleanButton(): JSX.Element | null;
28902
+ protected renderElement(): React.JSX.Element;
28903
+ renderBackgroundImage(): React.JSX.Element | null;
28904
+ protected renderLoadingIndicator(): React.JSX.Element;
28905
+ renderCleanButton(): React.JSX.Element | null;
28789
28906
  }
28790
28907
  }
28791
28908
  declare module "packages/survey-react-ui/src/reactquestion_buttongroup" {
28792
28909
  import { SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28910
+ import React from "react";
28793
28911
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28794
28912
  import { QuestionButtonGroupModel, ButtonGroupItemValue, ButtonGroupItemModel } from "src/entries/core";
28795
28913
  export class SurveyQuestionButtonGroup extends SurveyQuestionElementBase {
28796
28914
  constructor(props: any);
28797
28915
  protected get question(): QuestionButtonGroupModel;
28798
28916
  getStateElement(): QuestionButtonGroupModel;
28799
- renderElement(): JSX.Element;
28800
- renderItems(): JSX.Element[];
28917
+ renderElement(): React.JSX.Element;
28918
+ renderItems(): React.JSX.Element[];
28801
28919
  }
28802
28920
  export class SurveyButtonGroupItem extends SurveyElementBase<any, any> {
28803
28921
  model: ButtonGroupItemModel;
@@ -28806,27 +28924,29 @@ declare module "packages/survey-react-ui/src/reactquestion_buttongroup" {
28806
28924
  get question(): QuestionButtonGroupModel;
28807
28925
  get item(): ButtonGroupItemValue;
28808
28926
  getStateElement(): ButtonGroupItemValue;
28809
- renderElement(): JSX.Element;
28810
- protected renderIcon(): JSX.Element;
28811
- protected renderInput(): JSX.Element;
28812
- protected renderCaption(): JSX.Element;
28927
+ renderElement(): React.JSX.Element;
28928
+ protected renderIcon(): React.JSX.Element;
28929
+ protected renderInput(): React.JSX.Element;
28930
+ protected renderCaption(): React.JSX.Element;
28813
28931
  }
28814
28932
  }
28815
28933
  declare module "packages/survey-react-ui/src/reactquestion_custom" {
28934
+ import * as React from "react";
28816
28935
  import { SurveyQuestionUncontrolledElement } from "packages/survey-react-ui/src/reactquestion_element";
28817
28936
  import { Base, QuestionCustomModel, QuestionCompositeModel } from "src/entries/core";
28818
28937
  export class SurveyQuestionCustom extends SurveyQuestionUncontrolledElement<QuestionCustomModel> {
28819
28938
  constructor(props: any);
28820
28939
  protected getStateElements(): Array<Base>;
28821
- protected renderElement(): JSX.Element;
28940
+ protected renderElement(): React.JSX.Element;
28822
28941
  }
28823
28942
  export class SurveyQuestionComposite extends SurveyQuestionUncontrolledElement<QuestionCompositeModel> {
28824
28943
  constructor(props: any);
28825
28944
  protected canRender(): boolean;
28826
- protected renderElement(): JSX.Element;
28945
+ protected renderElement(): React.JSX.Element;
28827
28946
  }
28828
28947
  }
28829
28948
  declare module "packages/survey-react-ui/src/components/list/list-item-content" {
28949
+ import React from "react";
28830
28950
  import { ListModel } from "src/entries/core";
28831
28951
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28832
28952
  interface IListItemProps {
@@ -28837,10 +28957,11 @@ declare module "packages/survey-react-ui/src/components/list/list-item-content"
28837
28957
  get model(): ListModel;
28838
28958
  get item(): any;
28839
28959
  getStateElement(): any;
28840
- render(): JSX.Element | null;
28960
+ render(): React.JSX.Element | null;
28841
28961
  }
28842
28962
  }
28843
28963
  declare module "packages/survey-react-ui/src/components/list/list-item-group" {
28964
+ import React from "react";
28844
28965
  import { ListModel } from "src/entries/core";
28845
28966
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28846
28967
  interface IListItemProps {
@@ -28851,7 +28972,7 @@ declare module "packages/survey-react-ui/src/components/list/list-item-group" {
28851
28972
  get model(): ListModel;
28852
28973
  get item(): any;
28853
28974
  getStateElement(): any;
28854
- render(): JSX.Element | null;
28975
+ render(): React.JSX.Element | null;
28855
28976
  }
28856
28977
  }
28857
28978
  declare module "packages/survey-react-ui/src/components/survey-header/logo-image" {
@@ -28863,20 +28984,22 @@ declare module "packages/survey-react-ui/src/components/survey-header/logo-image
28863
28984
  export class LogoImage extends React.Component<ILogoImageProps, any> {
28864
28985
  constructor(props: ILogoImageProps);
28865
28986
  private get survey();
28866
- render(): JSX.Element;
28987
+ render(): React.JSX.Element;
28867
28988
  }
28868
28989
  }
28869
28990
  declare module "packages/survey-react-ui/src/components/matrix-actions/remove-button/remove-button" {
28991
+ import React from "react";
28870
28992
  import { ReactSurveyElement } from "packages/survey-react-ui/src/reactquestion_element";
28871
28993
  export class SurveyQuestionMatrixDynamicRemoveButton extends ReactSurveyElement {
28872
28994
  constructor(props: any);
28873
28995
  private get question();
28874
28996
  private get row();
28875
28997
  handleOnRowRemoveClick(event: any): void;
28876
- protected renderElement(): JSX.Element;
28998
+ protected renderElement(): React.JSX.Element;
28877
28999
  }
28878
29000
  }
28879
29001
  declare module "packages/survey-react-ui/src/components/matrix-actions/detail-button/detail-button" {
29002
+ import React from "react";
28880
29003
  import { Action } from "src/entries/core";
28881
29004
  import { ReactSurveyElement } from "packages/survey-react-ui/src/reactquestion_element";
28882
29005
  export class SurveyQuestionMatrixDetailButton extends ReactSurveyElement {
@@ -28886,23 +29009,25 @@ declare module "packages/survey-react-ui/src/components/matrix-actions/detail-bu
28886
29009
  private get question();
28887
29010
  private get row();
28888
29011
  handleOnShowHideClick(event: any): void;
28889
- protected renderElement(): JSX.Element;
29012
+ protected renderElement(): React.JSX.Element;
28890
29013
  }
28891
29014
  }
28892
29015
  declare module "packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-remove-btn" {
29016
+ import React from "react";
28893
29017
  import { SurveyQuestionPanelDynamicAction } from "packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-add-btn";
28894
29018
  export class SurveyQuestionPanelDynamicRemoveButton extends SurveyQuestionPanelDynamicAction {
28895
29019
  protected handleClick: (event: any) => void;
28896
- protected renderElement(): JSX.Element;
29020
+ protected renderElement(): React.JSX.Element;
28897
29021
  }
28898
29022
  }
28899
29023
  declare module "packages/survey-react-ui/src/components/survey-actions/survey-nav-button" {
29024
+ import React from "react";
28900
29025
  import { Action } from "src/entries/core";
28901
29026
  import { ReactSurveyElement } from "packages/survey-react-ui/src/reactquestion_element";
28902
29027
  export class SurveyNavigationButton extends ReactSurveyElement {
28903
29028
  protected get item(): Action;
28904
29029
  protected canRender(): boolean;
28905
- protected renderElement(): JSX.Element;
29030
+ protected renderElement(): React.JSX.Element;
28906
29031
  }
28907
29032
  }
28908
29033
  declare module "packages/survey-react-ui/src/string-viewer" {
@@ -28918,8 +29043,8 @@ declare module "packages/survey-react-ui/src/string-viewer" {
28918
29043
  private isRendering;
28919
29044
  private onChangedHandler;
28920
29045
  private reactOnStrChanged;
28921
- render(): JSX.Element | null;
28922
- protected renderString(): JSX.Element;
29046
+ render(): React.JSX.Element | null;
29047
+ protected renderString(): React.JSX.Element;
28923
29048
  }
28924
29049
  }
28925
29050
  declare module "packages/survey-react-ui/src/components/question-error" {
@@ -28931,13 +29056,13 @@ declare module "packages/survey-react-ui/src/components/question-error" {
28931
29056
  element: any;
28932
29057
  }
28933
29058
  export class QuestionErrorComponent extends React.Component<IQuestionErrorComponentProps, any> {
28934
- render(): JSX.Element | null;
29059
+ render(): React.JSX.Element | null;
28935
29060
  }
28936
29061
  }
28937
29062
  declare module "packages/survey-react-ui/src/components/skeleton" {
28938
29063
  import React from "react";
28939
29064
  export class Skeleton extends React.Component<any, any> {
28940
- render(): JSX.Element;
29065
+ render(): React.JSX.Element;
28941
29066
  }
28942
29067
  }
28943
29068
  declare module "packages/survey-react-ui/src/components/header" {
@@ -28951,17 +29076,17 @@ declare module "packages/survey-react-ui/src/components/header" {
28951
29076
  export class HeaderMobile extends React.Component<any, any> {
28952
29077
  get model(): Cover;
28953
29078
  private renderLogoImage;
28954
- render(): JSX.Element | null;
29079
+ render(): React.JSX.Element | null;
28955
29080
  }
28956
29081
  export class HeaderCell extends React.Component<any, any> {
28957
29082
  get model(): CoverCell;
28958
29083
  private renderLogoImage;
28959
- render(): JSX.Element | null;
29084
+ render(): React.JSX.Element | null;
28960
29085
  }
28961
29086
  export class Header extends SurveyElementBase<ILayoutElementProps<Cover>, any> {
28962
29087
  get model(): Cover;
28963
29088
  protected getStateElement(): Base;
28964
- renderElement(): JSX.Element | null;
29089
+ renderElement(): React.JSX.Element | null;
28965
29090
  }
28966
29091
  }
28967
29092
  declare module "packages/survey-react-ui/src/string-editor" {
@@ -28974,7 +29099,7 @@ declare module "packages/survey-react-ui/src/string-editor" {
28974
29099
  componentWillUnmount(): void;
28975
29100
  onInput: (event: any) => void;
28976
29101
  onClick: (event: any) => void;
28977
- render(): JSX.Element | null;
29102
+ render(): React.JSX.Element | null;
28978
29103
  }
28979
29104
  }
28980
29105
  declare module "packages/survey-react-ui/entries/react-ui-model" {