survey-react 1.12.14 → 1.12.16

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;
@@ -5247,7 +5270,7 @@ declare module "packages/survey-core/src/validator" {
5247
5270
  validate(value: any, name?: string, values?: any, properties?: any): ValidatorResult;
5248
5271
  protected generateError(res: boolean, value: any, name: string): ValidatorResult;
5249
5272
  protected getDefaultErrorText(name: string): string;
5250
- protected ensureConditionRunner(): boolean;
5273
+ private ensureConditionRunner;
5251
5274
  /**
5252
5275
  * A Boolean [expression](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#expressions). If it evaluates to `false`, validation fails.
5253
5276
  *
@@ -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
  /**
@@ -12932,6 +12983,7 @@ declare module "packages/survey-core/src/survey-element" {
12932
12983
  get cssClassesValue(): any;
12933
12984
  private ensureCssClassesValue;
12934
12985
  private createCssClassesValue;
12986
+ protected onCalcCssClasses(classes: any): void;
12935
12987
  /**
12936
12988
  * Returns an object in which keys are UI elements and values are CSS classes applied to them.
12937
12989
  *
@@ -13589,6 +13641,7 @@ declare module "packages/survey-core/src/question" {
13589
13641
  get startWithNewLine(): boolean;
13590
13642
  set startWithNewLine(val: boolean);
13591
13643
  protected calcCssClasses(css: any): any;
13644
+ protected onCalcCssClasses(classes: any): void;
13592
13645
  get cssRoot(): string;
13593
13646
  protected setCssRoot(val: string): void;
13594
13647
  protected getCssRoot(cssClasses: {
@@ -13619,7 +13672,9 @@ declare module "packages/survey-core/src/question" {
13619
13672
  protected hasCssError(): boolean;
13620
13673
  getRootCss(): string;
13621
13674
  getQuestionRootCss(): string;
13675
+ private isRequireUpdateElements;
13622
13676
  updateElementCss(reNew?: boolean): void;
13677
+ protected onFirstRenderingCore(): void;
13623
13678
  protected updateQuestionCss(reNew?: boolean): void;
13624
13679
  private ensureElementCss;
13625
13680
  protected updateElementCssCore(cssClasses: any): void;
@@ -15015,6 +15070,7 @@ declare module "packages/survey-core/src/base-interfaces" {
15015
15070
  isDisplayMode: boolean;
15016
15071
  isDesignMode: boolean;
15017
15072
  areInvisibleElementsShowing: boolean;
15073
+ currentSingleQuestion: IQuestion;
15018
15074
  areEmptyElementsHidden: boolean;
15019
15075
  isLoadingFromJson: boolean;
15020
15076
  isUpdateValueTextOnTyping: boolean;
@@ -16247,6 +16303,7 @@ declare module "packages/survey-core/src/popup" {
16247
16303
  }
16248
16304
  declare module "packages/survey-core/src/settings" {
16249
16305
  import { IDialogOptions } from "packages/survey-core/src/popup";
16306
+ import { IConfirmDialogOptions } from "packages/survey-core/src/utils/utils";
16250
16307
  export type ISurveyEnvironment = {
16251
16308
  root: Document | ShadowRoot;
16252
16309
  rootElement: HTMLElement | ShadowRoot;
@@ -16628,7 +16685,7 @@ declare module "packages/survey-core/src/settings" {
16628
16685
  * @param message A message to be displayed in the confirm dialog window.
16629
16686
  * @param callback A callback function that should be called with `true` if a user confirms an action or `false` otherwise.
16630
16687
  */
16631
- confirmActionAsync: (message: string, callback: (res: boolean) => void, applyTitle?: string, locale?: string, rootElement?: HTMLElement) => boolean;
16688
+ confirmActionAsync: (message: string, callback: (res: boolean) => void, options?: IConfirmDialogOptions) => boolean;
16632
16689
  /**
16633
16690
  * A minimum width value for all survey elements.
16634
16691
  *
@@ -19427,7 +19484,7 @@ declare module "packages/survey-core/entries/chunks/model" {
19427
19484
  export { Cover, CoverCell } from "packages/survey-core/src/header";
19428
19485
  export { dxSurveyService } from "packages/survey-core/src/dxSurveyService";
19429
19486
  export { englishStrings } from "packages/survey-core/src/localization/english";
19430
- export { surveyLocalization, surveyStrings, getLocaleString, setupLocale } from "packages/survey-core/src/surveyStrings";
19487
+ export { surveyLocalization, surveyStrings, getLocaleString, getLocaleStrings, setupLocale } from "packages/survey-core/src/surveyStrings";
19431
19488
  export { QuestionCustomWidget, CustomWidgetCollection, } from "packages/survey-core/src/questionCustomWidgets";
19432
19489
  export { QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, ICustomQuestionTypeConfiguration } from "packages/survey-core/src/question_custom";
19433
19490
  export { ListModel } from "packages/survey-core/src/list";
@@ -20422,7 +20479,7 @@ declare module "packages/survey-core/entries/chunks/core-wo-model" {
20422
20479
  export * from "packages/survey-core/src/svgbundle";
20423
20480
  export * from "packages/survey-core/src/rendererFactory";
20424
20481
  export * from "packages/survey-core/src/utils/responsivity-manager";
20425
- export { unwrap, getOriginalEvent, getElement } from "packages/survey-core/src/utils/utils";
20482
+ export { unwrap, getOriginalEvent, getElement, activateLazyRenderingChecks } from "packages/survey-core/src/utils/utils";
20426
20483
  export * from "packages/survey-core/src/actions/action";
20427
20484
  export * from "packages/survey-core/src/utils/animation";
20428
20485
  export * from "packages/survey-core/src/actions/adaptive-container";
@@ -27352,32 +27409,33 @@ declare module "packages/survey-react-ui/src/element-factory" {
27352
27409
  export class ReactElementFactory {
27353
27410
  static Instance: ReactElementFactory;
27354
27411
  private creatorHash;
27355
- registerElement(elementType: string, elementCreator: (props: any) => JSX.Element): void;
27412
+ registerElement(elementType: string, elementCreator: (props: any) => React.JSX.Element): void;
27356
27413
  getAllTypes(): Array<string>;
27357
27414
  isElementRegistered(elementType: string): boolean;
27358
- createElement(elementType: string, params: any): JSX.Element | any;
27415
+ createElement(elementType: string, params: any): React.JSX.Element | any;
27359
27416
  }
27360
27417
  }
27361
27418
  declare module "packages/survey-react-ui/src/reactsurveymodel" {
27362
27419
  import { SurveyModel, QuestionMatrixDropdownRenderedCell, SurveyElement, QuestionRowModel, ItemValue, QuestionSelectBase } from "src/entries/core";
27363
27420
  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;
27421
+ static wrapRow(survey: SurveyModel, element: React.JSX.Element, row: QuestionRowModel): React.JSX.Element;
27422
+ static wrapElement(survey: SurveyModel, element: React.JSX.Element, question: SurveyElement): React.JSX.Element;
27423
+ static wrapQuestionContent(survey: SurveyModel, element: React.JSX.Element, question: SurveyElement): React.JSX.Element;
27424
+ static wrapItemValue(survey: SurveyModel, element: React.JSX.Element, question: QuestionSelectBase, item: ItemValue): React.JSX.Element;
27425
+ static wrapMatrixCell(survey: SurveyModel, element: React.JSX.Element, cell: QuestionMatrixDropdownRenderedCell, reason?: string): React.JSX.Element;
27369
27426
  }
27370
27427
  }
27371
27428
  declare module "packages/survey-react-ui/src/reactquestion_factory" {
27372
27429
  export class ReactQuestionFactory {
27373
27430
  static Instance: ReactQuestionFactory;
27374
27431
  private creatorHash;
27375
- registerQuestion(questionType: string, questionCreator: (name: string) => JSX.Element): void;
27432
+ registerQuestion(questionType: string, questionCreator: (name: string) => React.JSX.Element): void;
27376
27433
  getAllTypes(): Array<string>;
27377
- createQuestion(questionType: string, params: any): JSX.Element | null;
27434
+ createQuestion(questionType: string, params: any): React.JSX.Element | null;
27378
27435
  }
27379
27436
  }
27380
27437
  declare module "packages/survey-react-ui/src/components/character-counter" {
27438
+ import React from "react";
27381
27439
  import { Base, CharacterCounter } from "src/entries/core";
27382
27440
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
27383
27441
  export interface ICharacterCounterComponentProps {
@@ -27386,10 +27444,11 @@ declare module "packages/survey-react-ui/src/components/character-counter" {
27386
27444
  }
27387
27445
  export class CharacterCounterComponent extends SurveyElementBase<ICharacterCounterComponentProps, any> {
27388
27446
  protected getStateElement(): Base;
27389
- renderElement(): JSX.Element | null;
27447
+ renderElement(): React.JSX.Element | null;
27390
27448
  }
27391
27449
  }
27392
27450
  declare module "packages/survey-react-ui/src/components/text-area" {
27451
+ import React from "react";
27393
27452
  import { TextAreaModel } from "src/entries/core";
27394
27453
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
27395
27454
  interface ITextAreaProps {
@@ -27403,29 +27462,31 @@ declare module "packages/survey-react-ui/src/components/text-area" {
27403
27462
  protected canRender(): boolean;
27404
27463
  componentDidMount(): void;
27405
27464
  componentWillUnmount(): void;
27406
- protected renderElement(): JSX.Element;
27465
+ protected renderElement(): React.JSX.Element;
27407
27466
  }
27408
27467
  }
27409
27468
  declare module "packages/survey-react-ui/src/reactquestion_comment" {
27469
+ import * as React from "react";
27410
27470
  import { ReactSurveyElement, SurveyQuestionUncontrolledElement } from "packages/survey-react-ui/src/reactquestion_element";
27411
27471
  import { QuestionCommentModel, TextAreaModel } from "src/entries/core";
27412
27472
  export class SurveyQuestionComment extends SurveyQuestionUncontrolledElement<QuestionCommentModel> {
27413
27473
  private renderCharacterCounter;
27414
27474
  constructor(props: any);
27415
- protected renderElement(): JSX.Element;
27475
+ protected renderElement(): React.JSX.Element;
27416
27476
  }
27417
27477
  export class SurveyQuestionCommentItem extends ReactSurveyElement {
27418
27478
  private textAreaModel;
27419
27479
  constructor(props: any);
27420
27480
  protected canRender(): boolean;
27421
27481
  protected getTextAreaModel(): TextAreaModel;
27422
- protected renderElement(): JSX.Element;
27482
+ protected renderElement(): React.JSX.Element;
27423
27483
  }
27424
27484
  export class SurveyQuestionOtherValueItem extends SurveyQuestionCommentItem {
27425
27485
  protected getTextAreaModel(): TextAreaModel;
27426
27486
  }
27427
27487
  }
27428
27488
  declare module "packages/survey-react-ui/src/custom-widget" {
27489
+ import * as React from "react";
27429
27490
  import { SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
27430
27491
  export class SurveyCustomWidget extends SurveyQuestionElementBase {
27431
27492
  private widgetRef;
@@ -27435,7 +27496,7 @@ declare module "packages/survey-react-ui/src/custom-widget" {
27435
27496
  componentDidUpdate(prevProps: any, prevState: any): void;
27436
27497
  componentWillUnmount(): void;
27437
27498
  protected canRender(): boolean;
27438
- protected renderElement(): JSX.Element;
27499
+ protected renderElement(): React.JSX.Element;
27439
27500
  }
27440
27501
  }
27441
27502
  declare module "packages/survey-react-ui/src/components/svg-icon/svg-icon" {
@@ -27445,7 +27506,7 @@ declare module "packages/survey-react-ui/src/components/svg-icon/svg-icon" {
27445
27506
  constructor(props: any);
27446
27507
  updateSvg(): void;
27447
27508
  componentDidUpdate(): void;
27448
- render(): JSX.Element;
27509
+ render(): React.JSX.Element;
27449
27510
  componentDidMount(): void;
27450
27511
  }
27451
27512
  }
@@ -27453,10 +27514,11 @@ declare module "packages/survey-react-ui/src/components/action-bar/action-bar-se
27453
27514
  import React from "react";
27454
27515
  export class SurveyActionBarSeparator extends React.Component<any, any> {
27455
27516
  constructor(props: any);
27456
- render(): JSX.Element;
27517
+ render(): React.JSX.Element;
27457
27518
  }
27458
27519
  }
27459
27520
  declare module "packages/survey-react-ui/src/components/action-bar/action-bar-item" {
27521
+ import React from "react";
27460
27522
  import { Base, Action } from "src/entries/core";
27461
27523
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
27462
27524
  interface IActionBarItemProps {
@@ -27465,18 +27527,19 @@ declare module "packages/survey-react-ui/src/components/action-bar/action-bar-it
27465
27527
  export class SurveyAction extends SurveyElementBase<IActionBarItemProps, any> {
27466
27528
  get item(): Action;
27467
27529
  protected getStateElement(): Base;
27468
- renderElement(): JSX.Element;
27530
+ renderElement(): React.JSX.Element;
27469
27531
  }
27470
27532
  export class SurveyActionBarItem extends SurveyElementBase<IActionBarItemProps, any> {
27471
27533
  get item(): Action;
27472
27534
  protected getStateElement(): Base;
27473
- renderElement(): JSX.Element;
27474
- renderText(): JSX.Element;
27475
- renderButtonContent(): JSX.Element;
27476
- renderInnerButton(): JSX.Element;
27535
+ renderElement(): React.JSX.Element;
27536
+ renderText(): React.JSX.Element;
27537
+ renderButtonContent(): React.JSX.Element;
27538
+ renderInnerButton(): React.JSX.Element;
27477
27539
  }
27478
27540
  }
27479
27541
  declare module "packages/survey-react-ui/src/components/popup/popup" {
27542
+ import React from "react";
27480
27543
  import { Base, PopupModel, PopupBaseViewModel } from "src/entries/core";
27481
27544
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
27482
27545
  interface IPopupProps {
@@ -27494,7 +27557,7 @@ declare module "packages/survey-react-ui/src/components/popup/popup" {
27494
27557
  componentDidUpdate(prevProps: any, prevState: any): void;
27495
27558
  componentWillUnmount(): void;
27496
27559
  shouldComponentUpdate(nextProps: IPopupProps, nextState: any): boolean;
27497
- render(): JSX.Element;
27560
+ render(): React.JSX.Element;
27498
27561
  }
27499
27562
  export class PopupContainer extends SurveyElementBase<any, any> {
27500
27563
  constructor(props: any);
@@ -27503,29 +27566,31 @@ declare module "packages/survey-react-ui/src/components/popup/popup" {
27503
27566
  protected getStateElement(): Base;
27504
27567
  clickInside: (ev: any) => void;
27505
27568
  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;
27569
+ renderContainer(popupBaseViewModel: PopupBaseViewModel): React.JSX.Element;
27570
+ renderHeaderContent(): React.JSX.Element;
27571
+ renderContent(): React.JSX.Element;
27572
+ protected renderHeaderPopup(popupModel: PopupBaseViewModel): React.JSX.Element | null;
27573
+ protected renderFooter(popuModel: PopupBaseViewModel): React.JSX.Element | null;
27574
+ render(): React.JSX.Element;
27512
27575
  componentDidMount(): void;
27513
27576
  }
27514
27577
  export class PopupDropdownContainer extends PopupContainer {
27515
- protected renderHeaderPopup(popupModel: PopupBaseViewModel): JSX.Element | null;
27578
+ protected renderHeaderPopup(popupModel: PopupBaseViewModel): React.JSX.Element | null;
27516
27579
  }
27517
27580
  }
27518
27581
  declare module "packages/survey-react-ui/src/components/action-bar/action-bar-item-dropdown" {
27582
+ import React from "react";
27519
27583
  import { SurveyActionBarItem } from "packages/survey-react-ui/src/components/action-bar/action-bar-item";
27520
27584
  export class SurveyActionBarItemDropdown extends SurveyActionBarItem {
27521
27585
  private viewModel;
27522
27586
  constructor(props: any);
27523
- renderInnerButton(): JSX.Element;
27587
+ renderInnerButton(): React.JSX.Element;
27524
27588
  componentDidMount(): void;
27525
27589
  componentWillUnmount(): void;
27526
27590
  }
27527
27591
  }
27528
27592
  declare module "packages/survey-react-ui/src/components/action-bar/action-bar" {
27593
+ import React from "react";
27529
27594
  import { Base, Action, ActionContainer } from "src/entries/core";
27530
27595
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
27531
27596
  export * from "packages/survey-react-ui/src/components/action-bar/action-bar-item-dropdown";
@@ -27544,7 +27609,7 @@ declare module "packages/survey-react-ui/src/components/action-bar/action-bar" {
27544
27609
  componentDidUpdate(prevProps: IActionBarProps, prevState: any): void;
27545
27610
  protected getStateElement(): Base;
27546
27611
  renderElement(): any;
27547
- renderItems(): JSX.Element[];
27612
+ renderItems(): React.JSX.Element[];
27548
27613
  }
27549
27614
  }
27550
27615
  declare module "packages/survey-react-ui/src/components/title/title-content" {
@@ -27554,8 +27619,8 @@ declare module "packages/survey-react-ui/src/components/title/title-content" {
27554
27619
  constructor(props: any);
27555
27620
  private get cssClasses();
27556
27621
  private get element();
27557
- render(): JSX.Element;
27558
- protected renderTitleSpans(element: ITitleOwner, cssClasses: any): Array<JSX.Element>;
27622
+ render(): React.JSX.Element;
27623
+ protected renderTitleSpans(element: ITitleOwner, cssClasses: any): Array<React.JSX.Element>;
27559
27624
  private renderRequireText;
27560
27625
  }
27561
27626
  }
@@ -27565,7 +27630,7 @@ declare module "packages/survey-react-ui/src/components/title/title-actions" {
27565
27630
  export class TitleActions extends React.Component<any, any> {
27566
27631
  protected get cssClasses(): any;
27567
27632
  protected get element(): SurveyElement;
27568
- render(): JSX.Element;
27633
+ render(): React.JSX.Element;
27569
27634
  }
27570
27635
  }
27571
27636
  declare module "packages/survey-react-ui/src/components/title/title-element" {
@@ -27573,15 +27638,15 @@ declare module "packages/survey-react-ui/src/components/title/title-element" {
27573
27638
  export class TitleElement extends React.Component<any, any> {
27574
27639
  constructor(props: any);
27575
27640
  private get element();
27576
- renderTitleExpandableSvg(): JSX.Element;
27577
- render(): JSX.Element | any;
27641
+ renderTitleExpandableSvg(): React.JSX.Element;
27642
+ render(): React.JSX.Element | any;
27578
27643
  }
27579
27644
  }
27580
27645
  declare module "packages/survey-react-ui/src/element-header" {
27581
27646
  import React from "react";
27582
27647
  export class SurveyElementHeader extends React.Component<any, any> {
27583
27648
  private get element();
27584
- render(): JSX.Element;
27649
+ render(): React.JSX.Element;
27585
27650
  }
27586
27651
  }
27587
27652
  declare module "packages/survey-react-ui/src/reactquestion" {
@@ -27589,14 +27654,14 @@ declare module "packages/survey-react-ui/src/reactquestion" {
27589
27654
  import { Base, SurveyElement, SurveyError, Question, QuestionMatrixDropdownRenderedCell } from "src/entries/core";
27590
27655
  import { SurveyElementBase, ReactSurveyElement } from "packages/survey-react-ui/src/reactquestion_element";
27591
27656
  export interface ISurveyCreator {
27592
- createQuestionElement(question: Question): JSX.Element | null;
27593
- renderError(key: string, error: SurveyError, cssClasses: any, element?: any): JSX.Element;
27657
+ createQuestionElement(question: Question): React.JSX.Element | null;
27658
+ renderError(key: string, error: SurveyError, cssClasses: any, element?: any): React.JSX.Element;
27594
27659
  questionTitleLocation(): string;
27595
27660
  questionErrorLocation(): string;
27596
27661
  }
27597
27662
  export class SurveyQuestion extends SurveyElementBase<any, any> {
27598
27663
  private isNeedFocus;
27599
- static renderQuestionBody(creator: ISurveyCreator, question: Question): JSX.Element | any;
27664
+ static renderQuestionBody(creator: ISurveyCreator, question: Question): React.JSX.Element | any;
27600
27665
  private rootRef;
27601
27666
  constructor(props: any);
27602
27667
  protected getStateElement(): Base;
@@ -27607,15 +27672,15 @@ declare module "packages/survey-react-ui/src/reactquestion" {
27607
27672
  componentDidUpdate(prevProps: any, prevState: any): void;
27608
27673
  private doAfterRender;
27609
27674
  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;
27675
+ protected renderQuestionContent(): React.JSX.Element;
27676
+ protected renderElement(): React.JSX.Element;
27677
+ protected wrapElement(element: React.JSX.Element): React.JSX.Element;
27678
+ protected wrapQuestionContent(element: React.JSX.Element): React.JSX.Element;
27679
+ protected renderQuestion(): React.JSX.Element;
27680
+ protected renderDescription(): React.JSX.Element;
27681
+ protected renderComment(cssClasses: any): React.JSX.Element;
27682
+ protected renderHeader(question: Question): React.JSX.Element;
27683
+ protected renderErrors(cssClasses: any, location: string): React.JSX.Element;
27619
27684
  }
27620
27685
  export class SurveyElementErrors extends ReactSurveyElement {
27621
27686
  constructor(props: any);
@@ -27626,7 +27691,7 @@ declare module "packages/survey-react-ui/src/reactquestion" {
27626
27691
  private getState;
27627
27692
  protected canRender(): boolean;
27628
27693
  componentWillUnmount(): void;
27629
- protected renderElement(): JSX.Element;
27694
+ protected renderElement(): React.JSX.Element;
27630
27695
  }
27631
27696
  export abstract class SurveyQuestionAndErrorsWrapped extends ReactSurveyElement {
27632
27697
  [index: string]: any;
@@ -27640,21 +27705,21 @@ declare module "packages/survey-react-ui/src/reactquestion" {
27640
27705
  componentDidUpdate(prevProps: any, prevState: any): void;
27641
27706
  protected doAfterRender(): void;
27642
27707
  protected canRender(): boolean;
27643
- protected renderContent(): JSX.Element;
27644
- protected abstract renderElement(): JSX.Element;
27708
+ protected renderContent(): React.JSX.Element;
27709
+ protected abstract renderElement(): React.JSX.Element;
27645
27710
  protected getShowErrors(): boolean;
27646
- protected renderQuestion(): JSX.Element;
27711
+ protected renderQuestion(): React.JSX.Element;
27647
27712
  }
27648
27713
  export class SurveyQuestionAndErrorsCell extends SurveyQuestionAndErrorsWrapped {
27649
27714
  [index: string]: any;
27650
27715
  protected cellRef: React.RefObject<HTMLTableCellElement>;
27651
27716
  constructor(props: any);
27652
27717
  componentWillUnmount(): void;
27653
- protected renderCellContent(): JSX.Element;
27654
- protected renderElement(): JSX.Element;
27718
+ protected renderCellContent(): React.JSX.Element;
27719
+ protected renderElement(): React.JSX.Element;
27655
27720
  protected getCellStyle(): any;
27656
27721
  protected getHeaderText(): string;
27657
- protected wrapCell(cell: QuestionMatrixDropdownRenderedCell, element: JSX.Element): JSX.Element;
27722
+ protected wrapCell(cell: QuestionMatrixDropdownRenderedCell, element: React.JSX.Element): React.JSX.Element;
27658
27723
  }
27659
27724
  export class SurveyQuestionErrorCell extends React.Component<any, any> {
27660
27725
  constructor(props: any);
@@ -27665,7 +27730,7 @@ declare module "packages/survey-react-ui/src/reactquestion" {
27665
27730
  private unRegisterCallback;
27666
27731
  componentDidUpdate(prevProps: Readonly<any>): void;
27667
27732
  componentWillUnmount(): void;
27668
- render(): JSX.Element;
27733
+ render(): React.JSX.Element;
27669
27734
  }
27670
27735
  }
27671
27736
  declare module "packages/survey-react-ui/src/reactquestion_element" {
@@ -27673,8 +27738,8 @@ declare module "packages/survey-react-ui/src/reactquestion_element" {
27673
27738
  import { Base, PanelModel, LocalizableString, Question } from "src/entries/core";
27674
27739
  import { ISurveyCreator } from "packages/survey-react-ui/src/reactquestion";
27675
27740
  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;
27741
+ static renderLocString(locStr: LocalizableString, style?: any, key?: string): React.JSX.Element;
27742
+ static renderQuestionDescription(question: Question | PanelModel): React.JSX.Element;
27678
27743
  private changedStatePropNameValue;
27679
27744
  constructor(props: any);
27680
27745
  componentDidMount(): void;
@@ -27685,13 +27750,13 @@ declare module "packages/survey-react-ui/src/reactquestion_element" {
27685
27750
  protected denyComponentUpdate(): void;
27686
27751
  private prevStateElements;
27687
27752
  shouldComponentUpdate(nextProps: any, nextState: any): boolean;
27688
- render(): JSX.Element | null;
27689
- protected wrapElement(element: JSX.Element): JSX.Element;
27753
+ render(): React.JSX.Element | null;
27754
+ protected wrapElement(element: React.JSX.Element): React.JSX.Element;
27690
27755
  protected get isRendering(): boolean;
27691
27756
  protected getRenderedElements(): Base[];
27692
27757
  private startEndRendering;
27693
27758
  protected canRender(): boolean;
27694
- protected renderElement(): JSX.Element | null;
27759
+ protected renderElement(): React.JSX.Element | null;
27695
27760
  protected get changedStatePropName(): string | undefined;
27696
27761
  private makeBaseElementsReact;
27697
27762
  private unMakeBaseElementsReact;
@@ -27699,7 +27764,7 @@ declare module "packages/survey-react-ui/src/reactquestion_element" {
27699
27764
  protected getStateElements(): Array<Base>;
27700
27765
  protected getStateElement(): Base | null;
27701
27766
  protected get isDisplayMode(): boolean;
27702
- protected renderLocString(locStr: LocalizableString, style?: any, key?: string): JSX.Element;
27767
+ protected renderLocString(locStr: LocalizableString, style?: any, key?: string): React.JSX.Element;
27703
27768
  private canMakeReact;
27704
27769
  private makeBaseElementReact;
27705
27770
  protected canUsePropInState(key: string): boolean;
@@ -27723,7 +27788,7 @@ declare module "packages/survey-react-ui/src/reactquestion_element" {
27723
27788
  protected canRender(): boolean;
27724
27789
  shouldComponentUpdate(nextProps: any, nextState: any): boolean;
27725
27790
  protected get isDisplayMode(): boolean;
27726
- protected wrapCell(cell: any, element: JSX.Element, reason: string): JSX.Element;
27791
+ protected wrapCell(cell: any, element: React.JSX.Element, reason: string): React.JSX.Element;
27727
27792
  setControl(element: HTMLElement | null): void;
27728
27793
  setContent(element: HTMLElement | null): void;
27729
27794
  }
@@ -27738,6 +27803,7 @@ declare module "packages/survey-react-ui/src/reactquestion_element" {
27738
27803
  }
27739
27804
  }
27740
27805
  declare module "packages/survey-react-ui/src/element" {
27806
+ import * as React from "react";
27741
27807
  import { IElement } from "src/entries/core";
27742
27808
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
27743
27809
  export class SurveyRowElement extends SurveyElementBase<any, any> {
@@ -27753,11 +27819,12 @@ declare module "packages/survey-react-ui/src/element" {
27753
27819
  componentDidMount(): void;
27754
27820
  componentWillUnmount(): void;
27755
27821
  shouldComponentUpdate(nextProps: any, nextState: any): boolean;
27756
- protected renderElement(): JSX.Element;
27757
- protected createElement(element: IElement, elementIndex?: number): JSX.Element;
27822
+ protected renderElement(): React.JSX.Element;
27823
+ protected createElement(element: IElement, elementIndex?: number): React.JSX.Element;
27758
27824
  }
27759
27825
  }
27760
27826
  declare module "packages/survey-react-ui/src/row" {
27827
+ import * as React from "react";
27761
27828
  import { IElement, Base } from "src/entries/core";
27762
27829
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
27763
27830
  export class SurveyRow extends SurveyElementBase<any, any> {
@@ -27770,13 +27837,13 @@ declare module "packages/survey-react-ui/src/row" {
27770
27837
  private get creator();
27771
27838
  protected get css(): any;
27772
27839
  protected canRender(): boolean;
27773
- protected renderElementContent(): JSX.Element;
27774
- protected renderElement(): JSX.Element;
27840
+ protected renderElementContent(): React.JSX.Element;
27841
+ protected renderElement(): React.JSX.Element;
27775
27842
  componentDidMount(): void;
27776
27843
  shouldComponentUpdate(nextProps: any, nextState: any): boolean;
27777
27844
  private stopLazyRendering;
27778
27845
  componentWillUnmount(): void;
27779
- protected createElement(element: IElement, elementIndex?: number): JSX.Element;
27846
+ protected createElement(element: IElement, elementIndex?: number): React.JSX.Element;
27780
27847
  }
27781
27848
  }
27782
27849
  declare module "packages/survey-react-ui/src/panel-base" {
@@ -27802,20 +27869,21 @@ declare module "packages/survey-react-ui/src/panel-base" {
27802
27869
  private doAfterRender;
27803
27870
  protected getIsVisible(): boolean;
27804
27871
  protected canRender(): boolean;
27805
- protected renderRows(css: any): Array<JSX.Element>;
27806
- protected createRow(row: QuestionRowModel, css: any): JSX.Element;
27872
+ protected renderRows(css: any): Array<React.JSX.Element>;
27873
+ protected createRow(row: QuestionRowModel, css: any): React.JSX.Element;
27807
27874
  }
27808
27875
  }
27809
27876
  declare module "packages/survey-react-ui/src/page" {
27877
+ import * as React from "react";
27810
27878
  import { PageModel, PanelModelBase } from "src/entries/core";
27811
27879
  import { SurveyPanelBase } from "packages/survey-react-ui/src/panel-base";
27812
27880
  export class SurveyPage extends SurveyPanelBase {
27813
27881
  constructor(props: any);
27814
27882
  protected getPanelBase(): PanelModelBase;
27815
27883
  get page(): PageModel;
27816
- protected renderElement(): JSX.Element;
27817
- protected renderTitle(): JSX.Element;
27818
- protected renderDescription(): JSX.Element | null;
27884
+ protected renderElement(): React.JSX.Element;
27885
+ protected renderTitle(): React.JSX.Element;
27886
+ protected renderDescription(): React.JSX.Element | null;
27819
27887
  }
27820
27888
  }
27821
27889
  declare module "packages/survey-react-ui/src/components/survey-header/survey-header" {
@@ -27833,16 +27901,17 @@ declare module "packages/survey-react-ui/src/components/survey-header/survey-hea
27833
27901
  componentWillUnmount(): void;
27834
27902
  private renderTitle;
27835
27903
  private renderLogoImage;
27836
- render(): JSX.Element | null;
27904
+ render(): React.JSX.Element | null;
27837
27905
  }
27838
27906
  }
27839
27907
  declare module "packages/survey-react-ui/src/components/brand-info" {
27840
27908
  import React from "react";
27841
27909
  export class BrandInfo extends React.Component<any, any> {
27842
- render(): JSX.Element;
27910
+ render(): React.JSX.Element;
27843
27911
  }
27844
27912
  }
27845
27913
  declare module "packages/survey-react-ui/src/components/notifier" {
27914
+ import React from "react";
27846
27915
  import { Base, Notifier } from "src/entries/core";
27847
27916
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
27848
27917
  export interface INotifierComponentProps {
@@ -27851,13 +27920,13 @@ declare module "packages/survey-react-ui/src/components/notifier" {
27851
27920
  export class NotifierComponent extends SurveyElementBase<INotifierComponentProps, any> {
27852
27921
  get notifier(): Notifier;
27853
27922
  protected getStateElement(): Base;
27854
- renderElement(): JSX.Element | null;
27923
+ renderElement(): React.JSX.Element | null;
27855
27924
  }
27856
27925
  }
27857
27926
  declare module "packages/survey-react-ui/src/components/components-container" {
27858
27927
  import React from "react";
27859
27928
  export class ComponentsContainer extends React.Component<any, any> {
27860
- render(): JSX.Element | null;
27929
+ render(): React.JSX.Element | null;
27861
27930
  }
27862
27931
  }
27863
27932
  declare module "packages/survey-react-ui/src/svgbundle" {
@@ -27868,10 +27937,11 @@ declare module "packages/survey-react-ui/src/svgbundle" {
27868
27937
  private onIconsChanged;
27869
27938
  componentDidMount(): void;
27870
27939
  componentWillUnmount(): void;
27871
- render(): JSX.Element;
27940
+ render(): React.JSX.Element;
27872
27941
  }
27873
27942
  }
27874
27943
  declare module "packages/survey-react-ui/src/components/popup/popup-modal" {
27944
+ import React from "react";
27875
27945
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
27876
27946
  import { IDialogOptions, PopupBaseViewModel } from "src/entries/core";
27877
27947
  interface IModalDescriptor {
@@ -27886,7 +27956,7 @@ declare module "packages/survey-react-ui/src/components/popup/popup-modal" {
27886
27956
  static modalDescriptors: Array<IModalDescriptor>;
27887
27957
  static addModalDescriptor(descriptor: IModalDescriptor): void;
27888
27958
  static removeModalDescriptor(descriptor: IModalDescriptor): void;
27889
- protected renderElement(): JSX.Element | null;
27959
+ protected renderElement(): React.JSX.Element | null;
27890
27960
  showDialog(dialogOptions: IDialogOptions, rootElement?: HTMLElement): PopupBaseViewModel;
27891
27961
  init: () => void;
27892
27962
  clean: () => void;
@@ -27907,6 +27977,7 @@ declare module "packages/survey-core/src/iconsV2" {
27907
27977
  export { icons };
27908
27978
  }
27909
27979
  declare module "packages/survey-react-ui/src/reactSurvey" {
27980
+ import * as React from "react";
27910
27981
  import { Base, Question, PageModel, SurveyError, SurveyModel, IAttachKey2clickOptions } from "src/entries/core";
27911
27982
  import { ISurveyCreator } from "packages/survey-react-ui/src/reactquestion";
27912
27983
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
@@ -27927,26 +27998,26 @@ declare module "packages/survey-react-ui/src/reactSurvey" {
27927
27998
  componentDidMount(): void;
27928
27999
  destroySurvey(): void;
27929
28000
  componentWillUnmount(): void;
27930
- doRender(): JSX.Element;
27931
- protected renderElement(): JSX.Element;
28001
+ doRender(): React.JSX.Element;
28002
+ protected renderElement(): React.JSX.Element;
27932
28003
  get css(): any;
27933
28004
  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;
28005
+ protected renderCompleted(): React.JSX.Element | null;
28006
+ protected renderCompletedBefore(): React.JSX.Element;
28007
+ protected renderLoading(): React.JSX.Element;
28008
+ protected renderSurvey(): React.JSX.Element;
28009
+ protected renderPage(page: PageModel): React.JSX.Element;
28010
+ protected renderEmptySurvey(): React.JSX.Element;
27940
28011
  protected createSurvey(newProps: any): void;
27941
28012
  private isModelJSONChanged;
27942
28013
  protected updateSurvey(newProps: any, oldProps?: any): void;
27943
28014
  protected setSurveyEvents(): void;
27944
- createQuestionElement(question: Question): JSX.Element | null;
27945
- renderError(key: string, error: SurveyError, cssClasses: any, element?: any): JSX.Element;
28015
+ createQuestionElement(question: Question): React.JSX.Element | null;
28016
+ renderError(key: string, error: SurveyError, cssClasses: any, element?: any): React.JSX.Element;
27946
28017
  questionTitleLocation(): string;
27947
28018
  questionErrorLocation(): string;
27948
28019
  }
27949
- export function attachKey2click(element: JSX.Element, viewModel?: any, options?: IAttachKey2clickOptions): JSX.Element;
28020
+ export function attachKey2click(element: React.JSX.Element, viewModel?: any, options?: IAttachKey2clickOptions): React.JSX.Element;
27950
28021
  }
27951
28022
  declare module "packages/survey-react-ui/src/reactSurveyNavigationBase" {
27952
28023
  import * as React from "react";
@@ -27961,6 +28032,7 @@ declare module "packages/survey-react-ui/src/reactSurveyNavigationBase" {
27961
28032
  }
27962
28033
  }
27963
28034
  declare module "packages/survey-react-ui/src/reacttimerpanel" {
28035
+ import * as React from "react";
27964
28036
  import { Base, SurveyTimerModel } from "src/entries/core";
27965
28037
  import { ReactSurveyElement } from "packages/survey-react-ui/src/reactquestion_element";
27966
28038
  export class SurveyTimerPanel extends ReactSurveyElement {
@@ -27969,27 +28041,29 @@ declare module "packages/survey-react-ui/src/reacttimerpanel" {
27969
28041
  protected get timerModel(): SurveyTimerModel;
27970
28042
  private readonly circleLength;
27971
28043
  private get progress();
27972
- render(): JSX.Element | null;
28044
+ render(): React.JSX.Element | null;
27973
28045
  }
27974
28046
  }
27975
28047
  declare module "packages/survey-react-ui/src/panel" {
28048
+ import * as React from "react";
27976
28049
  import { SurveyPanelBase } from "packages/survey-react-ui/src/panel-base";
27977
28050
  import { PanelModel } from "src/entries/core";
27978
28051
  export class SurveyPanel extends SurveyPanelBase {
27979
28052
  private hasBeenExpanded;
27980
28053
  constructor(props: any);
27981
28054
  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;
28055
+ protected renderElement(): React.JSX.Element;
28056
+ protected renderHeader(): React.JSX.Element;
28057
+ protected wrapElement(element: React.JSX.Element): React.JSX.Element;
28058
+ protected renderContent(style: any, rows: React.JSX.Element[], className: string): React.JSX.Element;
28059
+ protected renderTitle(): React.JSX.Element | null;
28060
+ protected renderDescription(): React.JSX.Element | null;
28061
+ protected renderBottom(): React.JSX.Element | null;
27989
28062
  protected getIsVisible(): boolean;
27990
28063
  }
27991
28064
  }
27992
28065
  declare module "packages/survey-react-ui/src/flow-panel" {
28066
+ import * as React from "react";
27993
28067
  import { FlowPanelModel, Question } from "src/entries/core";
27994
28068
  import { SurveyPanel } from "packages/survey-react-ui/src/panel";
27995
28069
  export class SurveyFlowPanel extends SurveyPanel {
@@ -27999,35 +28073,36 @@ declare module "packages/survey-react-ui/src/flow-panel" {
27999
28073
  componentWillUnmount(): void;
28000
28074
  protected getQuestion(name: string): Question;
28001
28075
  protected renderQuestion(question: Question): string;
28002
- protected renderRows(): Array<JSX.Element>;
28076
+ protected renderRows(): Array<React.JSX.Element>;
28003
28077
  private renderedIndex;
28004
28078
  private getNodeIndex;
28005
- protected renderHtml(): JSX.Element | null;
28006
- protected renderNodes(domNodes: Array<Node>): Array<JSX.Element>;
28079
+ protected renderHtml(): React.JSX.Element | null;
28080
+ protected renderNodes(domNodes: Array<Node>): Array<React.JSX.Element>;
28007
28081
  private getStyle;
28008
- protected renderParentNode(node: Node): JSX.Element;
28009
- protected renderNode(node: Node): JSX.Element | null;
28082
+ protected renderParentNode(node: Node): React.JSX.Element;
28083
+ protected renderNode(node: Node): React.JSX.Element | null;
28010
28084
  private getChildDomNodes;
28011
28085
  private hasTextChildNodesOnly;
28012
- protected renderContent(style: any, rows: JSX.Element[]): JSX.Element;
28086
+ protected renderContent(style: any, rows: React.JSX.Element[]): React.JSX.Element;
28013
28087
  }
28014
28088
  }
28015
28089
  declare module "packages/survey-react-ui/src/reactquestion_checkbox" {
28090
+ import * as React from "react";
28016
28091
  import { ReactSurveyElement, SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28017
28092
  import { Base, ItemValue, QuestionCheckboxModel } from "src/entries/core";
28018
28093
  export class SurveyQuestionCheckbox extends SurveyQuestionElementBase {
28019
28094
  constructor(props: any);
28020
28095
  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;
28096
+ protected renderElement(): React.JSX.Element;
28097
+ protected getHeader(): React.JSX.Element[];
28098
+ protected getFooter(): React.JSX.Element[];
28099
+ protected getColumnedBody(cssClasses: any): React.JSX.Element;
28100
+ protected getColumns(cssClasses: any): React.JSX.Element[];
28101
+ protected getBody(cssClasses: any): React.JSX.Element;
28027
28102
  protected getItems(cssClasses: any, choices: Array<ItemValue>): Array<any>;
28028
28103
  protected get textStyle(): any;
28029
- protected renderOther(): JSX.Element;
28030
- protected renderItem(item: any, isFirst: boolean, cssClasses: any, index?: string): JSX.Element;
28104
+ protected renderOther(): React.JSX.Element;
28105
+ protected renderItem(item: any, isFirst: boolean, cssClasses: any, index?: string): React.JSX.Element;
28031
28106
  }
28032
28107
  export class SurveyQuestionCheckboxItem extends ReactSurveyElement {
28033
28108
  private rootRef;
@@ -28043,21 +28118,22 @@ declare module "packages/survey-react-ui/src/reactquestion_checkbox" {
28043
28118
  shouldComponentUpdate(nextProps: any, nextState: any): boolean;
28044
28119
  handleOnChange: (event: any) => void;
28045
28120
  protected canRender(): boolean;
28046
- protected renderElement(): JSX.Element;
28121
+ protected renderElement(): React.JSX.Element;
28047
28122
  protected get inputStyle(): any;
28048
- protected renderCheckbox(isChecked: boolean, otherItem: JSX.Element | null): JSX.Element;
28123
+ protected renderCheckbox(isChecked: boolean, otherItem: React.JSX.Element | null): React.JSX.Element;
28049
28124
  componentDidMount(): void;
28050
28125
  componentWillUnmount(): void;
28051
28126
  }
28052
28127
  }
28053
28128
  declare module "packages/survey-react-ui/src/reactquestion_ranking" {
28129
+ import * as React from "react";
28054
28130
  import { ReactSurveyElement, SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28055
28131
  import { QuestionRankingModel, ItemValue } from "src/entries/core";
28056
28132
  export class SurveyQuestionRanking extends SurveyQuestionElementBase {
28057
28133
  protected get question(): QuestionRankingModel;
28058
- protected renderElement(): JSX.Element;
28134
+ protected renderElement(): React.JSX.Element;
28059
28135
  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;
28136
+ 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
28137
  }
28062
28138
  export class SurveyQuestionRankingItem extends ReactSurveyElement {
28063
28139
  protected get text(): string;
@@ -28072,16 +28148,17 @@ declare module "packages/survey-react-ui/src/reactquestion_ranking" {
28072
28148
  protected get question(): any;
28073
28149
  protected get unrankedItem(): any;
28074
28150
  protected get item(): any;
28075
- protected renderEmptyIcon(): JSX.Element;
28076
- protected renderElement(): JSX.Element;
28151
+ protected renderEmptyIcon(): React.JSX.Element;
28152
+ protected renderElement(): React.JSX.Element;
28077
28153
  }
28078
28154
  export class SurveyQuestionRankingItemContent extends ReactSurveyElement {
28079
28155
  protected get item(): ItemValue;
28080
28156
  protected get cssClasses(): any;
28081
- protected renderElement(): JSX.Element;
28157
+ protected renderElement(): React.JSX.Element;
28082
28158
  }
28083
28159
  }
28084
28160
  declare module "packages/survey-react-ui/src/components/rating/rating-item" {
28161
+ import React from "react";
28085
28162
  import { Base, QuestionRatingModel, RenderedRatingItem } from "src/entries/core";
28086
28163
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28087
28164
  export interface IRatingItemProps {
@@ -28100,23 +28177,26 @@ declare module "packages/survey-react-ui/src/components/rating/rating-item" {
28100
28177
  handleOnMouseDown(event: any): void;
28101
28178
  }
28102
28179
  export class RatingItem extends RatingItemBase {
28103
- render(): JSX.Element | null;
28180
+ render(): React.JSX.Element | null;
28104
28181
  componentDidMount(): void;
28105
28182
  }
28106
28183
  }
28107
28184
  declare module "packages/survey-react-ui/src/components/rating/rating-item-star" {
28185
+ import React from "react";
28108
28186
  import { RatingItemBase } from "packages/survey-react-ui/src/components/rating/rating-item";
28109
28187
  export class RatingItemStar extends RatingItemBase {
28110
- render(): JSX.Element | null;
28188
+ render(): React.JSX.Element | null;
28111
28189
  }
28112
28190
  }
28113
28191
  declare module "packages/survey-react-ui/src/components/rating/rating-item-smiley" {
28192
+ import React from "react";
28114
28193
  import { RatingItemBase } from "packages/survey-react-ui/src/components/rating/rating-item";
28115
28194
  export class RatingItemSmiley extends RatingItemBase {
28116
- render(): JSX.Element | null;
28195
+ render(): React.JSX.Element | null;
28117
28196
  }
28118
28197
  }
28119
28198
  declare module "packages/survey-react-ui/src/components/rating/rating-dropdown-item" {
28199
+ import React from "react";
28120
28200
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28121
28201
  interface IRatingItemProps {
28122
28202
  item: any;
@@ -28124,11 +28204,12 @@ declare module "packages/survey-react-ui/src/components/rating/rating-dropdown-i
28124
28204
  export class RatingDropdownItem extends SurveyElementBase<IRatingItemProps, any> {
28125
28205
  get item(): any;
28126
28206
  getStateElement(): any;
28127
- render(): JSX.Element | null;
28128
- renderDescription(item: any): JSX.Element;
28207
+ render(): React.JSX.Element | null;
28208
+ renderDescription(item: any): React.JSX.Element;
28129
28209
  }
28130
28210
  }
28131
28211
  declare module "packages/survey-react-ui/src/tagbox-filter" {
28212
+ import * as React from "react";
28132
28213
  import { DropdownMultiSelectListModel, QuestionTagboxModel } from "src/entries/core";
28133
28214
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28134
28215
  interface ITagboxFilterProps {
@@ -28148,10 +28229,11 @@ declare module "packages/survey-react-ui/src/tagbox-filter" {
28148
28229
  onFocus(e: any): void;
28149
28230
  constructor(props: any);
28150
28231
  getStateElement(): DropdownMultiSelectListModel;
28151
- render(): JSX.Element;
28232
+ render(): React.JSX.Element;
28152
28233
  }
28153
28234
  }
28154
28235
  declare module "packages/survey-react-ui/src/dropdown-item" {
28236
+ import * as React from "react";
28155
28237
  import { ReactSurveyElement } from "packages/survey-react-ui/src/reactquestion_element";
28156
28238
  import { Base } from "src/entries/core";
28157
28239
  export class SurveyQuestionOptionItem extends ReactSurveyElement {
@@ -28163,10 +28245,11 @@ declare module "packages/survey-react-ui/src/dropdown-item" {
28163
28245
  protected getStateElement(): Base;
28164
28246
  private get item();
28165
28247
  protected canRender(): boolean;
28166
- protected renderElement(): JSX.Element;
28248
+ protected renderElement(): React.JSX.Element;
28167
28249
  }
28168
28250
  }
28169
28251
  declare module "packages/survey-react-ui/src/dropdown-base" {
28252
+ import * as React from "react";
28170
28253
  import { Question, DropdownListModel } from "src/entries/core";
28171
28254
  import { SurveyQuestionUncontrolledElement } from "packages/survey-react-ui/src/reactquestion_element";
28172
28255
  export class SurveyQuestionDropdownBase<T extends Question> extends SurveyQuestionUncontrolledElement<T> {
@@ -28180,13 +28263,13 @@ declare module "packages/survey-react-ui/src/dropdown-base" {
28180
28263
  protected getStateElement(): any;
28181
28264
  protected setValueCore(newValue: any): void;
28182
28265
  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;
28266
+ protected renderReadOnlyElement(): React.JSX.Element | null;
28267
+ protected renderSelect(cssClasses: any): React.JSX.Element;
28268
+ renderValueElement(dropdownListModel: DropdownListModel): React.JSX.Element | null;
28269
+ protected renderInput(dropdownListModel: DropdownListModel): React.JSX.Element;
28270
+ createClearButton(): React.JSX.Element | null;
28271
+ createChevronButton(): React.JSX.Element | null;
28272
+ protected renderOther(cssClasses: any): React.JSX.Element;
28190
28273
  componentDidUpdate(prevProps: any, prevState: any): void;
28191
28274
  componentDidMount(): void;
28192
28275
  componentWillUnmount(): void;
@@ -28194,14 +28277,16 @@ declare module "packages/survey-react-ui/src/dropdown-base" {
28194
28277
  }
28195
28278
  }
28196
28279
  declare module "packages/survey-react-ui/src/reactquestion_dropdown" {
28280
+ import * as React from "react";
28197
28281
  import { Question } from "src/entries/core";
28198
28282
  import { SurveyQuestionDropdownBase } from "packages/survey-react-ui/src/dropdown-base";
28199
28283
  export class SurveyQuestionDropdown extends SurveyQuestionDropdownBase<Question> {
28200
28284
  constructor(props: any);
28201
- protected renderElement(): JSX.Element;
28285
+ protected renderElement(): React.JSX.Element;
28202
28286
  }
28203
28287
  }
28204
28288
  declare module "packages/survey-react-ui/src/tagbox-item" {
28289
+ import * as React from "react";
28205
28290
  import { ReactSurveyElement } from "packages/survey-react-ui/src/reactquestion_element";
28206
28291
  import { QuestionTagboxModel, ItemValue } from "src/entries/core";
28207
28292
  export class SurveyQuestionTagboxItem extends ReactSurveyElement {
@@ -28209,28 +28294,31 @@ declare module "packages/survey-react-ui/src/tagbox-item" {
28209
28294
  protected get question(): QuestionTagboxModel;
28210
28295
  protected get item(): ItemValue;
28211
28296
  protected canRender(): boolean;
28212
- protected renderElement(): JSX.Element;
28297
+ protected renderElement(): React.JSX.Element;
28213
28298
  }
28214
28299
  }
28215
28300
  declare module "packages/survey-react-ui/src/reactquestion_tagbox" {
28301
+ import * as React from "react";
28216
28302
  import { QuestionTagboxModel, DropdownListModel } from "src/entries/core";
28217
28303
  import { SurveyQuestionDropdownBase } from "packages/survey-react-ui/src/dropdown-base";
28218
28304
  export class SurveyQuestionTagbox extends SurveyQuestionDropdownBase<QuestionTagboxModel> {
28219
28305
  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;
28306
+ protected renderItem(key: string, item: any): React.JSX.Element;
28307
+ protected renderInput(dropdownListModel: DropdownListModel): React.JSX.Element;
28308
+ protected renderElement(): React.JSX.Element;
28309
+ protected renderReadOnlyElement(): React.JSX.Element | null;
28224
28310
  }
28225
28311
  }
28226
28312
  declare module "packages/survey-react-ui/src/dropdown-select" {
28313
+ import * as React from "react";
28227
28314
  import { SurveyQuestionDropdown } from "packages/survey-react-ui/src/reactquestion_dropdown";
28228
28315
  export class SurveyQuestionDropdownSelect extends SurveyQuestionDropdown {
28229
28316
  constructor(props: any);
28230
- protected renderSelect(cssClasses: any): JSX.Element;
28317
+ protected renderSelect(cssClasses: any): React.JSX.Element;
28231
28318
  }
28232
28319
  }
28233
28320
  declare module "packages/survey-react-ui/src/reactquestion_matrix" {
28321
+ import * as React from "react";
28234
28322
  import { ReactSurveyElement, SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28235
28323
  import { QuestionMatrixModel, Base } from "src/entries/core";
28236
28324
  export class SurveyQuestionMatrix extends SurveyQuestionElementBase {
@@ -28238,17 +28326,17 @@ declare module "packages/survey-react-ui/src/reactquestion_matrix" {
28238
28326
  protected get question(): QuestionMatrixModel;
28239
28327
  componentDidMount(): void;
28240
28328
  componentWillUnmount(): void;
28241
- protected renderElement(): JSX.Element;
28329
+ protected renderElement(): React.JSX.Element;
28242
28330
  }
28243
28331
  export class SurveyQuestionMatrixRow extends ReactSurveyElement {
28244
28332
  constructor(props: any);
28245
28333
  protected getStateElement(): Base | null;
28246
28334
  private get question();
28247
28335
  private get row();
28248
- protected wrapCell(cell: any, element: JSX.Element, reason: string): JSX.Element;
28336
+ protected wrapCell(cell: any, element: React.JSX.Element, reason: string): React.JSX.Element;
28249
28337
  protected canRender(): boolean;
28250
- protected renderElement(): JSX.Element;
28251
- generateTds(): Array<JSX.Element>;
28338
+ protected renderElement(): React.JSX.Element;
28339
+ generateTds(): Array<React.JSX.Element>;
28252
28340
  cellClick(row: any, column: any): void;
28253
28341
  }
28254
28342
  export class SurveyQuestionMatrixCell extends ReactSurveyElement {
@@ -28260,11 +28348,12 @@ declare module "packages/survey-react-ui/src/reactquestion_matrix" {
28260
28348
  private get column();
28261
28349
  private get columnIndex();
28262
28350
  protected canRender(): boolean;
28263
- protected renderElement(): JSX.Element;
28264
- protected renderInput(inputId: string, isChecked: boolean): JSX.Element;
28351
+ protected renderElement(): React.JSX.Element;
28352
+ protected renderInput(inputId: string, isChecked: boolean): React.JSX.Element;
28265
28353
  }
28266
28354
  }
28267
28355
  declare module "packages/survey-react-ui/src/reactquestion_html" {
28356
+ import * as React from "react";
28268
28357
  import { SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28269
28358
  import { QuestionHtmlModel } from "src/entries/core";
28270
28359
  export class SurveyQuestionHtml extends SurveyQuestionElementBase {
@@ -28275,40 +28364,43 @@ declare module "packages/survey-react-ui/src/reactquestion_html" {
28275
28364
  componentDidUpdate(prevProps: any, prevState: any): void;
28276
28365
  private reactOnStrChanged;
28277
28366
  protected canRender(): boolean;
28278
- protected renderElement(): JSX.Element;
28367
+ protected renderElement(): React.JSX.Element;
28279
28368
  }
28280
28369
  }
28281
28370
  declare module "packages/survey-react-ui/src/components/loading-indicator" {
28282
28371
  import * as React from "react";
28283
28372
  export class LoadingIndicatorComponent extends React.Component<any, any> {
28284
- render(): JSX.Element | null;
28373
+ render(): React.JSX.Element | null;
28285
28374
  }
28286
28375
  }
28287
28376
  declare module "packages/survey-react-ui/src/components/file/file-choose-button" {
28377
+ import React from "react";
28288
28378
  import { ReactSurveyElement } from "packages/survey-react-ui/src/reactquestion_element";
28289
28379
  import { QuestionFileModel } from "src/entries/core";
28290
28380
  export class SurveyFileChooseButton extends ReactSurveyElement {
28291
28381
  constructor(props: any);
28292
28382
  protected get question(): QuestionFileModel;
28293
- render(): JSX.Element;
28383
+ render(): React.JSX.Element;
28294
28384
  }
28295
28385
  }
28296
28386
  declare module "packages/survey-react-ui/src/reactquestion_file" {
28387
+ import * as React from "react";
28297
28388
  import { QuestionFileModel } from "src/entries/core";
28298
28389
  import { SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28299
28390
  export class SurveyQuestionFile extends SurveyQuestionElementBase {
28300
28391
  constructor(props: any);
28301
28392
  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;
28393
+ protected renderElement(): React.JSX.Element;
28394
+ protected renderFileDecorator(): React.JSX.Element;
28395
+ protected renderChooseButton(): React.JSX.Element;
28396
+ protected renderClearButton(className: string): React.JSX.Element | null;
28397
+ protected renderPreview(): React.JSX.Element;
28398
+ protected renderLoadingIndicator(): React.JSX.Element;
28399
+ protected renderVideo(): React.JSX.Element;
28309
28400
  }
28310
28401
  }
28311
28402
  declare module "packages/survey-react-ui/src/components/file/file-item" {
28403
+ import React from "react";
28312
28404
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28313
28405
  import { QuestionFileModel } from "src/entries/core";
28314
28406
  export class SurveyFileItem extends SurveyElementBase<{
@@ -28317,12 +28409,13 @@ declare module "packages/survey-react-ui/src/components/file/file-item" {
28317
28409
  }, {}> {
28318
28410
  protected get question(): QuestionFileModel;
28319
28411
  protected get item(): any;
28320
- protected renderFileSign(className: string, val: any): JSX.Element | null;
28321
- protected renderElement(): JSX.Element | null;
28412
+ protected renderFileSign(className: string, val: any): React.JSX.Element | null;
28413
+ protected renderElement(): React.JSX.Element | null;
28322
28414
  protected canRender(): boolean;
28323
28415
  }
28324
28416
  }
28325
28417
  declare module "packages/survey-react-ui/src/components/file/file-page" {
28418
+ import React from "react";
28326
28419
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28327
28420
  import { QuestionFileModel, QuestionFilePage } from "src/entries/core";
28328
28421
  export class SurveyFilePage extends SurveyElementBase<{
@@ -28331,22 +28424,24 @@ declare module "packages/survey-react-ui/src/components/file/file-page" {
28331
28424
  }, {}> {
28332
28425
  protected get question(): QuestionFileModel;
28333
28426
  protected get page(): any;
28334
- protected renderElement(): JSX.Element | null;
28427
+ protected renderElement(): React.JSX.Element | null;
28335
28428
  }
28336
28429
  }
28337
28430
  declare module "packages/survey-react-ui/src/components/file/file-preview" {
28431
+ import React from "react";
28338
28432
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28339
28433
  import { QuestionFileModel } from "src/entries/core";
28340
28434
  export class SurveyFilePreview extends SurveyElementBase<{
28341
28435
  question: QuestionFileModel;
28342
28436
  }, {}> {
28343
28437
  protected get question(): QuestionFileModel;
28344
- protected renderFileSign(className: string, val: any): JSX.Element | null;
28345
- protected renderElement(): JSX.Element | null;
28438
+ protected renderFileSign(className: string, val: any): React.JSX.Element | null;
28439
+ protected renderElement(): React.JSX.Element | null;
28346
28440
  protected canRender(): boolean;
28347
28441
  }
28348
28442
  }
28349
28443
  declare module "packages/survey-react-ui/src/reactquestion_multipletext" {
28444
+ import * as React from "react";
28350
28445
  import { SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28351
28446
  import { SurveyQuestionAndErrorsWrapped } from "packages/survey-react-ui/src/reactquestion";
28352
28447
  import { QuestionMultipleTextModel, MultipleTextItemModel, MultipleTextCell } from "src/entries/core";
@@ -28354,35 +28449,36 @@ declare module "packages/survey-react-ui/src/reactquestion_multipletext" {
28354
28449
  export class SurveyQuestionMultipleText extends SurveyQuestionElementBase {
28355
28450
  constructor(props: any);
28356
28451
  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;
28452
+ protected renderElement(): React.JSX.Element;
28453
+ protected renderCell(cell: MultipleTextCell, cssClasses: any, index: number): React.JSX.Element;
28454
+ protected renderRow(rowIndex: number, cells: Array<MultipleTextCell>, cssClasses: any): React.JSX.Element;
28360
28455
  }
28361
28456
  export class SurveyMultipleTextItem extends ReactSurveyElement {
28362
28457
  private get question();
28363
28458
  private get item();
28364
28459
  protected getStateElements(): (import("survey-core").MultipleTextEditorModel | MultipleTextItemModel)[];
28365
28460
  private get creator();
28366
- protected renderElement(): JSX.Element;
28461
+ protected renderElement(): React.JSX.Element;
28367
28462
  }
28368
28463
  export class SurveyMultipleTextItemEditor extends SurveyQuestionAndErrorsWrapped {
28369
- protected renderElement(): JSX.Element;
28464
+ protected renderElement(): React.JSX.Element;
28370
28465
  }
28371
28466
  }
28372
28467
  declare module "packages/survey-react-ui/src/reactquestion_radiogroup" {
28468
+ import * as React from "react";
28373
28469
  import { SurveyQuestionElementBase, ReactSurveyElement } from "packages/survey-react-ui/src/reactquestion_element";
28374
28470
  import { QuestionRadiogroupModel, ItemValue, Base } from "src/entries/core";
28375
28471
  export class SurveyQuestionRadiogroup extends SurveyQuestionElementBase {
28376
28472
  constructor(props: any);
28377
28473
  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;
28474
+ protected renderElement(): React.JSX.Element;
28475
+ protected getFooter(): React.JSX.Element[];
28476
+ protected getColumnedBody(cssClasses: any): React.JSX.Element;
28477
+ protected getColumns(cssClasses: any): React.JSX.Element[];
28478
+ protected getBody(cssClasses: any): React.JSX.Element;
28383
28479
  protected getItems(cssClasses: any, choices: Array<ItemValue>): Array<any>;
28384
28480
  protected get textStyle(): any;
28385
- protected renderOther(cssClasses: any): JSX.Element;
28481
+ protected renderOther(cssClasses: any): React.JSX.Element;
28386
28482
  private renderItem;
28387
28483
  private getStateValue;
28388
28484
  }
@@ -28401,18 +28497,19 @@ declare module "packages/survey-react-ui/src/reactquestion_radiogroup" {
28401
28497
  handleOnMouseDown(event: any): void;
28402
28498
  protected canRender(): boolean;
28403
28499
  componentDidUpdate(prevProps: any, prevState: any): void;
28404
- protected renderElement(): JSX.Element;
28500
+ protected renderElement(): React.JSX.Element;
28405
28501
  componentDidMount(): void;
28406
28502
  componentWillUnmount(): void;
28407
28503
  }
28408
28504
  }
28409
28505
  declare module "packages/survey-react-ui/src/reactquestion_text" {
28506
+ import * as React from "react";
28410
28507
  import { SurveyQuestionUncontrolledElement } from "packages/survey-react-ui/src/reactquestion_element";
28411
28508
  import { QuestionTextModel } from "src/entries/core";
28412
28509
  export class SurveyQuestionText extends SurveyQuestionUncontrolledElement<QuestionTextModel> {
28413
28510
  constructor(props: any);
28414
- protected renderInput(): JSX.Element;
28415
- protected renderElement(): JSX.Element;
28511
+ protected renderInput(): React.JSX.Element;
28512
+ protected renderElement(): React.JSX.Element;
28416
28513
  protected setValueCore(newValue: any): void;
28417
28514
  protected getValueCore(): any;
28418
28515
  private renderDataList;
@@ -28434,35 +28531,39 @@ declare module "packages/survey-react-ui/src/boolean" {
28434
28531
  handleOnLabelClick(event: any, value: boolean): void;
28435
28532
  handleOnKeyDown(event: any): void;
28436
28533
  protected updateDomElement(): void;
28437
- protected renderElement(): JSX.Element;
28534
+ protected renderElement(): React.JSX.Element;
28438
28535
  }
28439
28536
  }
28440
28537
  declare module "packages/survey-react-ui/src/boolean-checkbox" {
28538
+ import * as React from "react";
28441
28539
  import { SurveyQuestionBoolean } from "packages/survey-react-ui/src/boolean";
28442
28540
  export class SurveyQuestionBooleanCheckbox extends SurveyQuestionBoolean {
28443
28541
  constructor(props: any);
28444
- protected renderElement(): JSX.Element;
28542
+ protected renderElement(): React.JSX.Element;
28445
28543
  }
28446
28544
  }
28447
28545
  declare module "packages/survey-react-ui/src/boolean-radio" {
28546
+ import * as React from "react";
28448
28547
  import { SurveyQuestionBoolean } from "packages/survey-react-ui/src/boolean";
28449
28548
  export class SurveyQuestionBooleanRadio extends SurveyQuestionBoolean {
28450
28549
  constructor(props: any);
28451
28550
  private renderRadioItem;
28452
28551
  handleOnChange: (event: any) => void;
28453
- protected renderElement(): JSX.Element;
28552
+ protected renderElement(): React.JSX.Element;
28454
28553
  }
28455
28554
  }
28456
28555
  declare module "packages/survey-react-ui/src/reactquestion_empty" {
28556
+ import * as React from "react";
28457
28557
  import { SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28458
28558
  import { QuestionEmptyModel } from "src/entries/core";
28459
28559
  export class SurveyQuestionEmpty extends SurveyQuestionElementBase {
28460
28560
  constructor(props: any);
28461
28561
  protected get question(): QuestionEmptyModel;
28462
- protected renderElement(): JSX.Element;
28562
+ protected renderElement(): React.JSX.Element;
28463
28563
  }
28464
28564
  }
28465
28565
  declare module "packages/survey-react-ui/src/components/matrix/row" {
28566
+ import React from "react";
28466
28567
  import { QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownModelBase } from "src/entries/core";
28467
28568
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28468
28569
  interface IMatrixRowProps {
@@ -28479,18 +28580,20 @@ declare module "packages/survey-react-ui/src/components/matrix/row" {
28479
28580
  componentDidMount(): void;
28480
28581
  componentWillUnmount(): void;
28481
28582
  shouldComponentUpdate(nextProps: any, nextState: any): boolean;
28482
- render(): JSX.Element;
28583
+ render(): React.JSX.Element;
28483
28584
  }
28484
28585
  }
28485
28586
  declare module "packages/survey-react-ui/src/components/matrix-actions/drag-drop-icon/drag-drop-icon" {
28587
+ import React from "react";
28486
28588
  import { ReactSurveyElement } from "packages/survey-react-ui/src/reactquestion_element";
28487
28589
  export class SurveyQuestionMatrixDynamicDragDropIcon extends ReactSurveyElement {
28488
28590
  private get question();
28489
- protected renderElement(): JSX.Element | null;
28490
- protected renderIcon(): JSX.Element;
28591
+ protected renderElement(): React.JSX.Element | null;
28592
+ protected renderIcon(): React.JSX.Element;
28491
28593
  }
28492
28594
  }
28493
28595
  declare module "packages/survey-react-ui/src/reactquestion_matrixdropdownbase" {
28596
+ import * as React from "react";
28494
28597
  import { SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28495
28598
  import { SurveyQuestionAndErrorsCell } from "packages/survey-react-ui/src/reactquestion";
28496
28599
  import { QuestionMatrixDropdownModelBase, Question } from "src/entries/core";
@@ -28501,8 +28604,8 @@ declare module "packages/survey-react-ui/src/reactquestion_matrixdropdownbase" {
28501
28604
  private updateStateOnCallback;
28502
28605
  componentDidMount(): void;
28503
28606
  componentWillUnmount(): void;
28504
- protected renderElement(): JSX.Element;
28505
- renderTableDiv(): JSX.Element;
28607
+ protected renderElement(): React.JSX.Element;
28608
+ renderTableDiv(): React.JSX.Element;
28506
28609
  }
28507
28610
  export class SurveyQuestionMatrixDropdownCell extends SurveyQuestionAndErrorsCell {
28508
28611
  constructor(props: any);
@@ -28513,9 +28616,9 @@ declare module "packages/survey-react-ui/src/reactquestion_matrixdropdownbase" {
28513
28616
  protected getShowErrors(): boolean;
28514
28617
  protected getCellStyle(): any;
28515
28618
  protected getHeaderText(): string;
28516
- protected renderElement(): JSX.Element | null;
28517
- protected renderCellContent(): JSX.Element;
28518
- protected renderQuestion(): JSX.Element;
28619
+ protected renderElement(): React.JSX.Element | null;
28620
+ protected renderCellContent(): React.JSX.Element;
28621
+ protected renderQuestion(): React.JSX.Element;
28519
28622
  private renderOtherComment;
28520
28623
  private renderCellCheckboxButton;
28521
28624
  private renderCellRadiogroupButton;
@@ -28528,6 +28631,7 @@ declare module "packages/survey-react-ui/src/reactquestion_matrixdropdown" {
28528
28631
  }
28529
28632
  }
28530
28633
  declare module "packages/survey-react-ui/src/reactquestion_matrixdynamic" {
28634
+ import * as React from "react";
28531
28635
  import { SurveyQuestionMatrixDropdownBase } from "packages/survey-react-ui/src/reactquestion_matrixdropdownbase";
28532
28636
  import { QuestionMatrixDynamicModel } from "src/entries/core";
28533
28637
  import { ReactSurveyElement } from "packages/survey-react-ui/src/reactquestion_element";
@@ -28535,20 +28639,21 @@ declare module "packages/survey-react-ui/src/reactquestion_matrixdynamic" {
28535
28639
  constructor(props: any);
28536
28640
  protected get matrix(): QuestionMatrixDynamicModel;
28537
28641
  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;
28642
+ protected renderElement(): React.JSX.Element;
28643
+ protected renderAddRowButtonOnTop(cssClasses: any): React.JSX.Element | null;
28644
+ protected renderAddRowButtonOnBottom(cssClasses: any): React.JSX.Element | null;
28645
+ protected renderNoRowsContent(cssClasses: any): React.JSX.Element;
28646
+ protected renderAddRowButton(cssClasses: any, isEmptySection?: boolean): React.JSX.Element;
28543
28647
  }
28544
28648
  export class SurveyQuestionMatrixDynamicAddButton extends ReactSurveyElement {
28545
28649
  constructor(props: any);
28546
28650
  protected get matrix(): QuestionMatrixDynamicModel;
28547
28651
  handleOnRowAddClick(event: any): void;
28548
- protected renderElement(): JSX.Element;
28652
+ protected renderElement(): React.JSX.Element;
28549
28653
  }
28550
28654
  }
28551
28655
  declare module "packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-add-btn" {
28656
+ import React from "react";
28552
28657
  import { QuestionPanelDynamicModel } from "src/entries/core";
28553
28658
  import { ReactSurveyElement } from "packages/survey-react-ui/src/reactquestion_element";
28554
28659
  export class SurveyQuestionPanelDynamicAction extends ReactSurveyElement {
@@ -28558,30 +28663,34 @@ declare module "packages/survey-react-ui/src/components/paneldynamic-actions/pan
28558
28663
  }
28559
28664
  export class SurveyQuestionPanelDynamicAddButton extends SurveyQuestionPanelDynamicAction {
28560
28665
  protected handleClick: (event: any) => void;
28561
- protected renderElement(): JSX.Element | null;
28666
+ protected renderElement(): React.JSX.Element | null;
28562
28667
  }
28563
28668
  }
28564
28669
  declare module "packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-next-btn" {
28670
+ import React from "react";
28565
28671
  import { SurveyQuestionPanelDynamicAction } from "packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-add-btn";
28566
28672
  export class SurveyQuestionPanelDynamicNextButton extends SurveyQuestionPanelDynamicAction {
28567
28673
  protected handleClick: (event: any) => void;
28568
- protected renderElement(): JSX.Element;
28674
+ protected renderElement(): React.JSX.Element;
28569
28675
  }
28570
28676
  }
28571
28677
  declare module "packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-prev-btn" {
28678
+ import React from "react";
28572
28679
  import { SurveyQuestionPanelDynamicAction } from "packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-add-btn";
28573
28680
  export class SurveyQuestionPanelDynamicPrevButton extends SurveyQuestionPanelDynamicAction {
28574
28681
  protected handleClick: (event: any) => void;
28575
- protected renderElement(): JSX.Element;
28682
+ protected renderElement(): React.JSX.Element;
28576
28683
  }
28577
28684
  }
28578
28685
  declare module "packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-progress-text" {
28686
+ import React from "react";
28579
28687
  import { SurveyQuestionPanelDynamicAction } from "packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-add-btn";
28580
28688
  export class SurveyQuestionPanelDynamicProgressText extends SurveyQuestionPanelDynamicAction {
28581
- protected renderElement(): JSX.Element;
28689
+ protected renderElement(): React.JSX.Element;
28582
28690
  }
28583
28691
  }
28584
28692
  declare module "packages/survey-react-ui/src/reactquestion_paneldynamic" {
28693
+ import * as React from "react";
28585
28694
  import { SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28586
28695
  import { SurveyModel, QuestionPanelDynamicModel } from "src/entries/core";
28587
28696
  import { SurveyPanel } from "packages/survey-react-ui/src/panel";
@@ -28591,36 +28700,38 @@ declare module "packages/survey-react-ui/src/reactquestion_paneldynamic" {
28591
28700
  componentDidMount(): void;
28592
28701
  componentWillUnmount(): void;
28593
28702
  private updateQuestionRendering;
28594
- protected renderElement(): JSX.Element;
28595
- protected renderNavigator(): JSX.Element | null;
28703
+ protected renderElement(): React.JSX.Element;
28704
+ protected renderNavigator(): React.JSX.Element | null;
28596
28705
  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;
28706
+ protected rendrerPrevButton(): React.JSX.Element;
28707
+ protected rendrerNextButton(): React.JSX.Element;
28708
+ protected renderRange(): React.JSX.Element;
28709
+ protected renderAddRowButton(): React.JSX.Element | null;
28710
+ protected renderNavigatorV2(): React.JSX.Element | null;
28711
+ protected renderPlaceholder(): React.JSX.Element | null;
28603
28712
  }
28604
28713
  export class SurveyQuestionPanelDynamicItem extends SurveyPanel {
28605
28714
  private get question();
28606
28715
  private get index();
28607
28716
  protected getSurvey(): SurveyModel | null;
28608
28717
  protected getCss(): any;
28609
- render(): JSX.Element;
28610
- protected renderButton(): JSX.Element | null;
28718
+ render(): React.JSX.Element;
28719
+ protected renderButton(): React.JSX.Element | null;
28611
28720
  }
28612
28721
  }
28613
28722
  declare module "packages/survey-react-ui/src/progress" {
28723
+ import * as React from "react";
28614
28724
  import { SurveyNavigationBase } from "packages/survey-react-ui/src/reactSurveyNavigationBase";
28615
28725
  export class SurveyProgress extends SurveyNavigationBase {
28616
28726
  constructor(props: any);
28617
28727
  protected get isTop(): boolean;
28618
28728
  protected get progress(): number;
28619
28729
  protected get progressText(): string;
28620
- render(): JSX.Element;
28730
+ render(): React.JSX.Element;
28621
28731
  }
28622
28732
  }
28623
28733
  declare module "packages/survey-react-ui/src/progressButtons" {
28734
+ import * as React from "react";
28624
28735
  import { ProgressButtons, PageModel, IProgressButtonsViewModel } from "src/entries/core";
28625
28736
  import { SurveyNavigationBase } from "packages/survey-react-ui/src/reactSurveyNavigationBase";
28626
28737
  export class SurveyProgressButtons extends SurveyNavigationBase implements IProgressButtonsViewModel {
@@ -28632,15 +28743,16 @@ declare module "packages/survey-react-ui/src/progressButtons" {
28632
28743
  onResize(canShowItemTitles: boolean): void;
28633
28744
  onUpdateScroller(hasScroller: boolean): void;
28634
28745
  onUpdateSettings(): void;
28635
- render(): JSX.Element;
28636
- protected getListElements(): JSX.Element[];
28637
- protected renderListElement(page: PageModel, index: number): JSX.Element;
28746
+ render(): React.JSX.Element;
28747
+ protected getListElements(): React.JSX.Element[];
28748
+ protected renderListElement(page: PageModel, index: number): React.JSX.Element;
28638
28749
  protected clickScrollButton(listContainerElement: Element | null, isLeftScroll: boolean): void;
28639
28750
  componentDidMount(): void;
28640
28751
  componentWillUnmount(): void;
28641
28752
  }
28642
28753
  }
28643
28754
  declare module "packages/survey-react-ui/src/components/list/list-item" {
28755
+ import React from "react";
28644
28756
  import { ListModel } from "src/entries/core";
28645
28757
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28646
28758
  interface IListItemProps {
@@ -28652,11 +28764,12 @@ declare module "packages/survey-react-ui/src/components/list/list-item" {
28652
28764
  get item(): any;
28653
28765
  handleKeydown: (event: any) => void;
28654
28766
  getStateElement(): any;
28655
- render(): JSX.Element | null;
28767
+ render(): React.JSX.Element | null;
28656
28768
  componentDidMount(): void;
28657
28769
  }
28658
28770
  }
28659
28771
  declare module "packages/survey-react-ui/src/components/list/list" {
28772
+ import React from "react";
28660
28773
  import { ListModel } from "src/entries/core";
28661
28774
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28662
28775
  interface IListProps {
@@ -28672,49 +28785,54 @@ declare module "packages/survey-react-ui/src/components/list/list" {
28672
28785
  componentDidMount(): void;
28673
28786
  componentDidUpdate(prevProps: any, prevState: any): void;
28674
28787
  componentWillUnmount(): void;
28675
- renderElement(): JSX.Element;
28676
- renderList(): JSX.Element;
28677
- renderItems(): JSX.Element[];
28678
- searchElementContent(): JSX.Element;
28679
- emptyContent(): JSX.Element;
28788
+ renderElement(): React.JSX.Element;
28789
+ renderList(): React.JSX.Element;
28790
+ renderItems(): React.JSX.Element[];
28791
+ searchElementContent(): React.JSX.Element;
28792
+ emptyContent(): React.JSX.Element;
28680
28793
  }
28681
28794
  }
28682
28795
  declare module "packages/survey-react-ui/src/progressToc" {
28796
+ import * as React from "react";
28683
28797
  import { SurveyNavigationBase } from "packages/survey-react-ui/src/reactSurveyNavigationBase";
28684
28798
  export class SurveyProgressToc extends SurveyNavigationBase {
28685
- render(): JSX.Element;
28799
+ render(): React.JSX.Element;
28686
28800
  }
28687
28801
  }
28688
28802
  declare module "packages/survey-react-ui/src/reactquestion_rating" {
28803
+ import * as React from "react";
28689
28804
  import { SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28690
28805
  import { QuestionRatingModel } from "src/entries/core";
28691
28806
  export class SurveyQuestionRating extends SurveyQuestionElementBase {
28692
28807
  constructor(props: any);
28693
28808
  protected get question(): QuestionRatingModel;
28694
28809
  handleOnClick(event: any): void;
28695
- protected renderItem(item: any, index: Number): JSX.Element;
28696
- protected renderElement(): JSX.Element;
28810
+ protected renderItem(item: any, index: Number): React.JSX.Element;
28811
+ protected renderElement(): React.JSX.Element;
28697
28812
  }
28698
28813
  }
28699
28814
  declare module "packages/survey-react-ui/src/rating-dropdown" {
28815
+ import * as React from "react";
28700
28816
  import { QuestionRatingModel } from "src/entries/core";
28701
28817
  import { SurveyQuestionDropdownBase } from "packages/survey-react-ui/src/dropdown-base";
28702
28818
  export * from "packages/survey-react-ui/src/components/rating/rating-dropdown-item";
28703
28819
  export class SurveyQuestionRatingDropdown extends SurveyQuestionDropdownBase<QuestionRatingModel> {
28704
28820
  constructor(props: any);
28705
- protected renderElement(): JSX.Element;
28821
+ protected renderElement(): React.JSX.Element;
28706
28822
  }
28707
28823
  }
28708
28824
  declare module "packages/survey-react-ui/src/reactquestion_expression" {
28825
+ import * as React from "react";
28709
28826
  import { SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28710
28827
  import { QuestionExpressionModel } from "src/entries/core";
28711
28828
  export class SurveyQuestionExpression extends SurveyQuestionElementBase {
28712
28829
  constructor(props: any);
28713
28830
  protected get question(): QuestionExpressionModel;
28714
- protected renderElement(): JSX.Element;
28831
+ protected renderElement(): React.JSX.Element;
28715
28832
  }
28716
28833
  }
28717
28834
  declare module "packages/survey-react-ui/src/react-popup-survey" {
28835
+ import * as React from "react";
28718
28836
  import { Base, PopupSurveyModel } from "src/entries/core";
28719
28837
  import { Survey } from "packages/survey-react-ui/src/reactSurvey";
28720
28838
  export class PopupSurvey extends Survey {
@@ -28723,14 +28841,14 @@ declare module "packages/survey-react-ui/src/react-popup-survey" {
28723
28841
  protected getStateElements(): Array<Base>;
28724
28842
  handleOnExpanded(event: any): void;
28725
28843
  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;
28844
+ protected renderElement(): React.JSX.Element;
28845
+ protected renderWindowHeader(): React.JSX.Element;
28846
+ protected renderTitleCollapsed(popup: PopupSurveyModel): React.JSX.Element | null;
28847
+ protected renderExpandIcon(): React.JSX.Element;
28848
+ protected renderCollapseIcon(): React.JSX.Element;
28849
+ protected renderCloseButton(popup: PopupSurveyModel): React.JSX.Element;
28850
+ protected renderAllowFullScreenButon(popup: PopupSurveyModel): React.JSX.Element;
28851
+ protected renderBody(): React.JSX.Element;
28734
28852
  protected createSurvey(newProps: any): void;
28735
28853
  }
28736
28854
  /**
@@ -28740,16 +28858,17 @@ declare module "packages/survey-react-ui/src/react-popup-survey" {
28740
28858
  }
28741
28859
  }
28742
28860
  declare module "packages/survey-react-ui/src/imagepicker" {
28861
+ import * as React from "react";
28743
28862
  import { ReactSurveyElement, SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28744
28863
  import { QuestionImagePickerModel, ImageItemValue } from "src/entries/core";
28745
28864
  export class SurveyQuestionImagePicker extends SurveyQuestionElementBase {
28746
28865
  constructor(props: any);
28747
28866
  protected get question(): QuestionImagePickerModel;
28748
- protected renderElement(): JSX.Element;
28749
- protected getColumns(cssClasses: any): JSX.Element[];
28867
+ protected renderElement(): React.JSX.Element;
28868
+ protected getColumns(cssClasses: any): React.JSX.Element[];
28750
28869
  protected getItems(cssClasses: any): Array<any>;
28751
28870
  protected get textStyle(): any;
28752
- protected renderItem(key: string, item: ImageItemValue, cssClasses: any): JSX.Element;
28871
+ protected renderItem(key: string, item: ImageItemValue, cssClasses: any): React.JSX.Element;
28753
28872
  }
28754
28873
  export class SurveyQuestionImagePickerItem extends ReactSurveyElement {
28755
28874
  constructor(props: any);
@@ -28762,10 +28881,11 @@ declare module "packages/survey-react-ui/src/imagepicker" {
28762
28881
  protected get item(): any;
28763
28882
  protected get question(): any;
28764
28883
  handleOnChange(event: any): void;
28765
- protected renderElement(): JSX.Element;
28884
+ protected renderElement(): React.JSX.Element;
28766
28885
  }
28767
28886
  }
28768
28887
  declare module "packages/survey-react-ui/src/image" {
28888
+ import * as React from "react";
28769
28889
  import { SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28770
28890
  import { QuestionImageModel } from "src/entries/core";
28771
28891
  export class SurveyQuestionImage extends SurveyQuestionElementBase {
@@ -28773,31 +28893,33 @@ declare module "packages/survey-react-ui/src/image" {
28773
28893
  componentDidMount(): void;
28774
28894
  componentWillUnmount(): void;
28775
28895
  protected get question(): QuestionImageModel;
28776
- protected renderElement(): JSX.Element;
28896
+ protected renderElement(): React.JSX.Element;
28777
28897
  }
28778
28898
  }
28779
28899
  declare module "packages/survey-react-ui/src/signaturepad" {
28900
+ import * as React from "react";
28780
28901
  import { SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28781
28902
  import { QuestionSignaturePadModel } from "src/entries/core";
28782
28903
  export class SurveyQuestionSignaturePad extends SurveyQuestionElementBase {
28783
28904
  constructor(props: any);
28784
28905
  protected get question(): QuestionSignaturePadModel;
28785
- protected renderElement(): JSX.Element;
28786
- renderBackgroundImage(): JSX.Element | null;
28787
- protected renderLoadingIndicator(): JSX.Element;
28788
- renderCleanButton(): JSX.Element | null;
28906
+ protected renderElement(): React.JSX.Element;
28907
+ renderBackgroundImage(): React.JSX.Element | null;
28908
+ protected renderLoadingIndicator(): React.JSX.Element;
28909
+ renderCleanButton(): React.JSX.Element | null;
28789
28910
  }
28790
28911
  }
28791
28912
  declare module "packages/survey-react-ui/src/reactquestion_buttongroup" {
28792
28913
  import { SurveyQuestionElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28914
+ import React from "react";
28793
28915
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28794
28916
  import { QuestionButtonGroupModel, ButtonGroupItemValue, ButtonGroupItemModel } from "src/entries/core";
28795
28917
  export class SurveyQuestionButtonGroup extends SurveyQuestionElementBase {
28796
28918
  constructor(props: any);
28797
28919
  protected get question(): QuestionButtonGroupModel;
28798
28920
  getStateElement(): QuestionButtonGroupModel;
28799
- renderElement(): JSX.Element;
28800
- renderItems(): JSX.Element[];
28921
+ renderElement(): React.JSX.Element;
28922
+ renderItems(): React.JSX.Element[];
28801
28923
  }
28802
28924
  export class SurveyButtonGroupItem extends SurveyElementBase<any, any> {
28803
28925
  model: ButtonGroupItemModel;
@@ -28806,27 +28928,29 @@ declare module "packages/survey-react-ui/src/reactquestion_buttongroup" {
28806
28928
  get question(): QuestionButtonGroupModel;
28807
28929
  get item(): ButtonGroupItemValue;
28808
28930
  getStateElement(): ButtonGroupItemValue;
28809
- renderElement(): JSX.Element;
28810
- protected renderIcon(): JSX.Element;
28811
- protected renderInput(): JSX.Element;
28812
- protected renderCaption(): JSX.Element;
28931
+ renderElement(): React.JSX.Element;
28932
+ protected renderIcon(): React.JSX.Element;
28933
+ protected renderInput(): React.JSX.Element;
28934
+ protected renderCaption(): React.JSX.Element;
28813
28935
  }
28814
28936
  }
28815
28937
  declare module "packages/survey-react-ui/src/reactquestion_custom" {
28938
+ import * as React from "react";
28816
28939
  import { SurveyQuestionUncontrolledElement } from "packages/survey-react-ui/src/reactquestion_element";
28817
28940
  import { Base, QuestionCustomModel, QuestionCompositeModel } from "src/entries/core";
28818
28941
  export class SurveyQuestionCustom extends SurveyQuestionUncontrolledElement<QuestionCustomModel> {
28819
28942
  constructor(props: any);
28820
28943
  protected getStateElements(): Array<Base>;
28821
- protected renderElement(): JSX.Element;
28944
+ protected renderElement(): React.JSX.Element;
28822
28945
  }
28823
28946
  export class SurveyQuestionComposite extends SurveyQuestionUncontrolledElement<QuestionCompositeModel> {
28824
28947
  constructor(props: any);
28825
28948
  protected canRender(): boolean;
28826
- protected renderElement(): JSX.Element;
28949
+ protected renderElement(): React.JSX.Element;
28827
28950
  }
28828
28951
  }
28829
28952
  declare module "packages/survey-react-ui/src/components/list/list-item-content" {
28953
+ import React from "react";
28830
28954
  import { ListModel } from "src/entries/core";
28831
28955
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28832
28956
  interface IListItemProps {
@@ -28837,10 +28961,11 @@ declare module "packages/survey-react-ui/src/components/list/list-item-content"
28837
28961
  get model(): ListModel;
28838
28962
  get item(): any;
28839
28963
  getStateElement(): any;
28840
- render(): JSX.Element | null;
28964
+ render(): React.JSX.Element | null;
28841
28965
  }
28842
28966
  }
28843
28967
  declare module "packages/survey-react-ui/src/components/list/list-item-group" {
28968
+ import React from "react";
28844
28969
  import { ListModel } from "src/entries/core";
28845
28970
  import { SurveyElementBase } from "packages/survey-react-ui/src/reactquestion_element";
28846
28971
  interface IListItemProps {
@@ -28851,7 +28976,7 @@ declare module "packages/survey-react-ui/src/components/list/list-item-group" {
28851
28976
  get model(): ListModel;
28852
28977
  get item(): any;
28853
28978
  getStateElement(): any;
28854
- render(): JSX.Element | null;
28979
+ render(): React.JSX.Element | null;
28855
28980
  }
28856
28981
  }
28857
28982
  declare module "packages/survey-react-ui/src/components/survey-header/logo-image" {
@@ -28863,20 +28988,22 @@ declare module "packages/survey-react-ui/src/components/survey-header/logo-image
28863
28988
  export class LogoImage extends React.Component<ILogoImageProps, any> {
28864
28989
  constructor(props: ILogoImageProps);
28865
28990
  private get survey();
28866
- render(): JSX.Element;
28991
+ render(): React.JSX.Element;
28867
28992
  }
28868
28993
  }
28869
28994
  declare module "packages/survey-react-ui/src/components/matrix-actions/remove-button/remove-button" {
28995
+ import React from "react";
28870
28996
  import { ReactSurveyElement } from "packages/survey-react-ui/src/reactquestion_element";
28871
28997
  export class SurveyQuestionMatrixDynamicRemoveButton extends ReactSurveyElement {
28872
28998
  constructor(props: any);
28873
28999
  private get question();
28874
29000
  private get row();
28875
29001
  handleOnRowRemoveClick(event: any): void;
28876
- protected renderElement(): JSX.Element;
29002
+ protected renderElement(): React.JSX.Element;
28877
29003
  }
28878
29004
  }
28879
29005
  declare module "packages/survey-react-ui/src/components/matrix-actions/detail-button/detail-button" {
29006
+ import React from "react";
28880
29007
  import { Action } from "src/entries/core";
28881
29008
  import { ReactSurveyElement } from "packages/survey-react-ui/src/reactquestion_element";
28882
29009
  export class SurveyQuestionMatrixDetailButton extends ReactSurveyElement {
@@ -28886,23 +29013,25 @@ declare module "packages/survey-react-ui/src/components/matrix-actions/detail-bu
28886
29013
  private get question();
28887
29014
  private get row();
28888
29015
  handleOnShowHideClick(event: any): void;
28889
- protected renderElement(): JSX.Element;
29016
+ protected renderElement(): React.JSX.Element;
28890
29017
  }
28891
29018
  }
28892
29019
  declare module "packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-remove-btn" {
29020
+ import React from "react";
28893
29021
  import { SurveyQuestionPanelDynamicAction } from "packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-add-btn";
28894
29022
  export class SurveyQuestionPanelDynamicRemoveButton extends SurveyQuestionPanelDynamicAction {
28895
29023
  protected handleClick: (event: any) => void;
28896
- protected renderElement(): JSX.Element;
29024
+ protected renderElement(): React.JSX.Element;
28897
29025
  }
28898
29026
  }
28899
29027
  declare module "packages/survey-react-ui/src/components/survey-actions/survey-nav-button" {
29028
+ import React from "react";
28900
29029
  import { Action } from "src/entries/core";
28901
29030
  import { ReactSurveyElement } from "packages/survey-react-ui/src/reactquestion_element";
28902
29031
  export class SurveyNavigationButton extends ReactSurveyElement {
28903
29032
  protected get item(): Action;
28904
29033
  protected canRender(): boolean;
28905
- protected renderElement(): JSX.Element;
29034
+ protected renderElement(): React.JSX.Element;
28906
29035
  }
28907
29036
  }
28908
29037
  declare module "packages/survey-react-ui/src/string-viewer" {
@@ -28918,8 +29047,8 @@ declare module "packages/survey-react-ui/src/string-viewer" {
28918
29047
  private isRendering;
28919
29048
  private onChangedHandler;
28920
29049
  private reactOnStrChanged;
28921
- render(): JSX.Element | null;
28922
- protected renderString(): JSX.Element;
29050
+ render(): React.JSX.Element | null;
29051
+ protected renderString(): React.JSX.Element;
28923
29052
  }
28924
29053
  }
28925
29054
  declare module "packages/survey-react-ui/src/components/question-error" {
@@ -28931,13 +29060,13 @@ declare module "packages/survey-react-ui/src/components/question-error" {
28931
29060
  element: any;
28932
29061
  }
28933
29062
  export class QuestionErrorComponent extends React.Component<IQuestionErrorComponentProps, any> {
28934
- render(): JSX.Element | null;
29063
+ render(): React.JSX.Element | null;
28935
29064
  }
28936
29065
  }
28937
29066
  declare module "packages/survey-react-ui/src/components/skeleton" {
28938
29067
  import React from "react";
28939
29068
  export class Skeleton extends React.Component<any, any> {
28940
- render(): JSX.Element;
29069
+ render(): React.JSX.Element;
28941
29070
  }
28942
29071
  }
28943
29072
  declare module "packages/survey-react-ui/src/components/header" {
@@ -28951,17 +29080,17 @@ declare module "packages/survey-react-ui/src/components/header" {
28951
29080
  export class HeaderMobile extends React.Component<any, any> {
28952
29081
  get model(): Cover;
28953
29082
  private renderLogoImage;
28954
- render(): JSX.Element | null;
29083
+ render(): React.JSX.Element | null;
28955
29084
  }
28956
29085
  export class HeaderCell extends React.Component<any, any> {
28957
29086
  get model(): CoverCell;
28958
29087
  private renderLogoImage;
28959
- render(): JSX.Element | null;
29088
+ render(): React.JSX.Element | null;
28960
29089
  }
28961
29090
  export class Header extends SurveyElementBase<ILayoutElementProps<Cover>, any> {
28962
29091
  get model(): Cover;
28963
29092
  protected getStateElement(): Base;
28964
- renderElement(): JSX.Element | null;
29093
+ renderElement(): React.JSX.Element | null;
28965
29094
  }
28966
29095
  }
28967
29096
  declare module "packages/survey-react-ui/src/string-editor" {
@@ -28974,7 +29103,7 @@ declare module "packages/survey-react-ui/src/string-editor" {
28974
29103
  componentWillUnmount(): void;
28975
29104
  onInput: (event: any) => void;
28976
29105
  onClick: (event: any) => void;
28977
- render(): JSX.Element | null;
29106
+ render(): React.JSX.Element | null;
28978
29107
  }
28979
29108
  }
28980
29109
  declare module "packages/survey-react-ui/entries/react-ui-model" {