survey-react 1.11.6 → 1.11.8

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
@@ -912,6 +912,7 @@ declare module "utils/utils" {
912
912
  }>;
913
913
  mergedItems: Array<T>;
914
914
  };
915
+ export function roundTo2Decimals(number: number): number;
915
916
  export { mergeValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, confirmActionAsync, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, scrollElementByChildId, navigateToUrl, wrapUrlForBackgroundImage, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild, chooseFiles };
916
917
  }
917
918
  declare module "actions/container" {
@@ -2569,6 +2570,17 @@ declare module "calculatedValue" {
2569
2570
  private ensureExpression;
2570
2571
  }
2571
2572
  }
2573
+ declare module "panel-layout-column" {
2574
+ import { Base } from "base";
2575
+ export class PanelLayoutColumnModel extends Base {
2576
+ width: number;
2577
+ effectiveWidth: number;
2578
+ questionTitleWidth: string;
2579
+ constructor(width?: number, questionTitleWidth?: string);
2580
+ getType(): string;
2581
+ isEmpty(): boolean;
2582
+ }
2583
+ }
2572
2584
  declare module "textPreProcessor" {
2573
2585
  import { Question } from "question";
2574
2586
  import { PanelModel } from "panel";
@@ -2704,6 +2716,7 @@ declare module "question_custom" {
2704
2716
  import { ISurveyImpl, ISurveyData, ITextProcessor, IPanel, IElement, IQuestion, IProgressInfo } from "base-interfaces";
2705
2717
  import { SurveyElement } from "survey-element";
2706
2718
  import { PanelModel } from "panel";
2719
+ import { PanelLayoutColumnModel } from "panel-layout-column";
2707
2720
  import { HashTable } from "helpers";
2708
2721
  import { ItemValue } from "itemvalue";
2709
2722
  import { SurveyError } from "survey-error";
@@ -3043,6 +3056,8 @@ declare module "question_custom" {
3043
3056
  removeElement(element: IElement): boolean;
3044
3057
  getQuestionTitleLocation(): string;
3045
3058
  getQuestionTitleWidth(): string;
3059
+ getColumsForElement(el: IElement): Array<PanelLayoutColumnModel>;
3060
+ updateColumns(): void;
3046
3061
  getQuestionStartIndex(): string;
3047
3062
  getChildrenLayoutType(): string;
3048
3063
  elementWidthChanged(el: IElement): void;
@@ -3050,6 +3065,7 @@ declare module "question_custom" {
3050
3065
  indexOf(el: IElement): number;
3051
3066
  ensureRowsVisibility(): void;
3052
3067
  validateContainerOnly(): void;
3068
+ onQuestionValueChanged(el: IElement): void;
3053
3069
  getQuestionErrorLocation(): string;
3054
3070
  protected getContentDisplayValueCore(keyAsText: boolean, value: any, question: Question): any;
3055
3071
  }
@@ -3209,6 +3225,7 @@ declare module "panel" {
3209
3225
  import { ActionContainer } from "actions/container";
3210
3226
  import { DragDropInfo } from "drag-drop-helper-v1";
3211
3227
  import { AnimationGroup } from "utils/animation";
3228
+ import { PanelLayoutColumnModel } from "panel-layout-column";
3212
3229
  export class QuestionRowModel extends Base {
3213
3230
  panel: PanelModelBase;
3214
3231
  private static rowCounter;
@@ -3259,6 +3276,9 @@ declare module "panel" {
3259
3276
  private elementsValue;
3260
3277
  private isQuestionsReady;
3261
3278
  private questionsValue;
3279
+ private _columns;
3280
+ private _columnsReady;
3281
+ layoutColumns: Array<PanelLayoutColumnModel>;
3262
3282
  addElementCallback: (element: IElement) => void;
3263
3283
  removeElementCallback: (element: IElement) => void;
3264
3284
  onGetQuestionTitleLocation: () => string;
@@ -3447,6 +3467,7 @@ declare module "panel" {
3447
3467
  */
3448
3468
  validate(fireCallback?: boolean, focusOnFirstError?: boolean, rec?: any): boolean;
3449
3469
  validateContainerOnly(): void;
3470
+ onQuestionValueChanged(el: IElement): void;
3450
3471
  private hasErrorsInPanels;
3451
3472
  getErrorCustomText(text: string, error: SurveyError): string;
3452
3473
  private hasRequiredError;
@@ -3469,6 +3490,11 @@ declare module "panel" {
3469
3490
  addPanelsIntoList(list: Array<IPanel>, visibleOnly?: boolean, includingDesignTime?: boolean): void;
3470
3491
  private addElementsToList;
3471
3492
  private addElementsToListCore;
3493
+ private calcMaxRowColSpan;
3494
+ private updateColumnWidth;
3495
+ private onColumnPropertyValueChangedCallback;
3496
+ updateColumns(): void;
3497
+ updateRootStyle(): void;
3472
3498
  updateCustomWidgets(): void;
3473
3499
  /**
3474
3500
  * Sets a title location relative to the input field for questions that belong to this panel/page.
@@ -3498,6 +3524,9 @@ declare module "panel" {
3498
3524
  */
3499
3525
  questionTitleWidth: string;
3500
3526
  getQuestionTitleWidth(): string;
3527
+ get columns(): Array<PanelLayoutColumnModel>;
3528
+ protected generateColumns(): void;
3529
+ getColumsForElement(el: IElement): Array<PanelLayoutColumnModel>;
3501
3530
  protected getStartIndex(): string;
3502
3531
  getQuestionStartIndex(): string;
3503
3532
  getChildrenLayoutType(): string;
@@ -3648,6 +3677,7 @@ declare module "panel" {
3648
3677
  get no(): string;
3649
3678
  get cssError(): string;
3650
3679
  protected getCssError(cssClasses: any): string;
3680
+ getSerializableColumnsValue(): Array<PanelLayoutColumnModel>;
3651
3681
  dispose(): void;
3652
3682
  }
3653
3683
  /**
@@ -3662,6 +3692,8 @@ declare module "panel" {
3662
3692
  getType(): string;
3663
3693
  get contentId(): string;
3664
3694
  getSurvey(live?: boolean): ISurvey;
3695
+ get hasTextInTitle(): boolean;
3696
+ private calcHasTextInTitle;
3665
3697
  onSurveyLoad(): void;
3666
3698
  protected onSetData(): void;
3667
3699
  get isPanel(): boolean;
@@ -8242,6 +8274,7 @@ declare module "page" {
8242
8274
  */
8243
8275
  get maxTimeToFinish(): number;
8244
8276
  set maxTimeToFinish(val: number);
8277
+ getMaxTimeToFinish(): number;
8245
8278
  protected onNumChanged(value: number): void;
8246
8279
  protected onVisibleChanged(): void;
8247
8280
  getDragDropInfo(): any;
@@ -8334,20 +8367,25 @@ declare module "stylesmanager" {
8334
8367
  }
8335
8368
  }
8336
8369
  declare module "surveytimer" {
8337
- import { Event } from "base";
8370
+ import { EventBase } from "base";
8338
8371
  export var surveyTimerFunctions: {
8339
8372
  setTimeout: (func: () => any) => number;
8340
8373
  clearTimeout: (timerId: number) => void;
8341
8374
  safeTimeOut: (func: () => any, delay: number) => number | any;
8375
+ now(): number;
8342
8376
  };
8377
+ export interface SurveyTimerEvent {
8378
+ seconds: number;
8379
+ }
8343
8380
  export class SurveyTimer {
8344
8381
  private static instanceValue;
8345
8382
  static get instance(): SurveyTimer;
8346
8383
  private listenerCounter;
8347
8384
  private timerId;
8348
- onTimer: Event<() => any, SurveyTimer, any>;
8349
- start(func?: () => any): void;
8350
- stop(func?: () => any): void;
8385
+ private prevTimeInMs;
8386
+ onTimer: EventBase<SurveyTimer, SurveyTimerEvent>;
8387
+ start(func?: (timer: SurveyTimer, options: SurveyTimerEvent) => void): void;
8388
+ stop(func?: (timer: SurveyTimer, options: SurveyTimerEvent) => any): void;
8351
8389
  doTimer(): void;
8352
8390
  }
8353
8391
  }
@@ -8619,6 +8657,7 @@ declare module "mask/input_element_adapter" {
8619
8657
  inputMaskInstancePropertyChangedHandler: (sender: any, options: any) => void;
8620
8658
  clickHandler: (event: any) => void;
8621
8659
  beforeInputHandler: (event: any) => void;
8660
+ changeHandler: (event: any) => void;
8622
8661
  createArgs(event: any): ITextInputParams;
8623
8662
  addInputEventListener(): void;
8624
8663
  removeInputEventListener(): void;
@@ -8766,6 +8805,9 @@ declare module "question_text" {
8766
8805
  set inputValue(val: string);
8767
8806
  protected onChangeQuestionValue(newValue: any): void;
8768
8807
  private updateInputValue;
8808
+ private hasToConvertToUTC;
8809
+ protected valueForSurveyCore(val: any): any;
8810
+ protected valueFromDataCore(val: any): any;
8769
8811
  protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
8770
8812
  protected canSetValueToSurvey(): boolean;
8771
8813
  protected convertFuncValuetoQuestionValue(val: any): any;
@@ -8773,6 +8815,7 @@ declare module "question_text" {
8773
8815
  private get isValueLessMin();
8774
8816
  private get isValueGreaterMax();
8775
8817
  private get isDateInputType();
8818
+ private isDateTimeLocaleType;
8776
8819
  private getCalculatedMinMax;
8777
8820
  private setRenderedMinMax;
8778
8821
  /**
@@ -8822,6 +8865,7 @@ declare module "question_multipletext" {
8822
8865
  import { ILocalizableOwner, LocalizableString } from "localizablestring";
8823
8866
  import { HashTable } from "helpers";
8824
8867
  import { InputMaskBase } from "mask/mask_base";
8868
+ import { PanelLayoutColumnModel } from "panel-layout-column";
8825
8869
  export interface IMultipleTextData extends ILocalizableOwner, IPanel {
8826
8870
  getSurvey(): ISurvey;
8827
8871
  getTextProcessor(): ITextProcessor;
@@ -9122,6 +9166,8 @@ declare module "question_multipletext" {
9122
9166
  removeElement(element: IElement): boolean;
9123
9167
  getQuestionTitleLocation(): string;
9124
9168
  getQuestionTitleWidth(): string;
9169
+ getColumsForElement(el: IElement): Array<PanelLayoutColumnModel>;
9170
+ updateColumns(): void;
9125
9171
  getQuestionStartIndex(): string;
9126
9172
  getChildrenLayoutType(): string;
9127
9173
  elementWidthChanged(el: IElement): void;
@@ -9129,6 +9175,7 @@ declare module "question_multipletext" {
9129
9175
  indexOf(el: IElement): number;
9130
9176
  ensureRowsVisibility(): void;
9131
9177
  validateContainerOnly(): void;
9178
+ onQuestionValueChanged(el: IElement): void;
9132
9179
  getItemLabelCss(item: MultipleTextItemModel): string;
9133
9180
  getItemCss(): string;
9134
9181
  getItemTitleCss(): string;
@@ -12019,6 +12066,7 @@ declare module "survey" {
12019
12066
  */
12020
12067
  get showTimerPanelMode(): string;
12021
12068
  set showTimerPanelMode(val: string);
12069
+ gridLayoutEnabled: boolean;
12022
12070
  /**
12023
12071
  * Specifies how to calculate the survey width.
12024
12072
  *
@@ -12115,7 +12163,6 @@ declare module "survey" {
12115
12163
  */
12116
12164
  get maxTimeToFinishPage(): number;
12117
12165
  set maxTimeToFinishPage(val: number);
12118
- private getPageMaxTimeToFinish;
12119
12166
  private doTimer;
12120
12167
  get inSurvey(): boolean;
12121
12168
  getSurveyData(): ISurveyData;
@@ -12200,6 +12247,7 @@ declare module "survey" {
12200
12247
  dispose(): void;
12201
12248
  disposeCallback: () => void;
12202
12249
  private onScrollCallback;
12250
+ _isElementShouldBeSticky(selector: string): boolean;
12203
12251
  onScroll(): void;
12204
12252
  addScrollEventListener(): void;
12205
12253
  removeScrollEventListener(): void;
@@ -12319,6 +12367,9 @@ declare module "survey-element" {
12319
12367
  private static focusElementCore;
12320
12368
  static CreateDisabledDesignElements: boolean;
12321
12369
  disableDesignActions: boolean;
12370
+ effectiveColSpan: number;
12371
+ get colSpan(): number;
12372
+ set colSpan(val: number);
12322
12373
  constructor(name: string);
12323
12374
  protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
12324
12375
  protected getSkeletonComponentNameCore(): string;
@@ -12603,9 +12654,8 @@ declare module "survey-element" {
12603
12654
  get paddingRight(): string;
12604
12655
  set paddingRight(val: string);
12605
12656
  allowRootStyle: boolean;
12606
- get rootStyle(): {
12607
- [index: string]: any;
12608
- };
12657
+ rootStyle: any;
12658
+ updateRootStyle(): void;
12609
12659
  private isContainsSelection;
12610
12660
  get clickTitleFunction(): any;
12611
12661
  protected needClickTitleFunction(): boolean;
@@ -12783,6 +12833,7 @@ declare module "question" {
12783
12833
  themeChanged(theme: ITheme): void;
12784
12834
  isMobile: boolean;
12785
12835
  forceIsInputReadOnly: boolean;
12836
+ ariaExpanded: "true" | "false";
12786
12837
  constructor(name: string);
12787
12838
  protected getDefaultTitle(): string;
12788
12839
  protected createLocTitleProperty(): LocalizableString;
@@ -12975,6 +13026,7 @@ declare module "question" {
12975
13026
  private notifySurveyVisibilityChanged;
12976
13027
  protected clearValueOnHidding(isClearOnHidden: boolean): void;
12977
13028
  get titleWidth(): string;
13029
+ getPercentQuestionTitleWidth(): number;
12978
13030
  /**
12979
13031
  * Returns title location calculated based on the question's `titleLocation` property and the `questionTitleLocation` property of the question's containers (survey, page, or panel).
12980
13032
  * @see titleLocation
@@ -13128,6 +13180,7 @@ declare module "question" {
13128
13180
  */
13129
13181
  focus(onError?: boolean, scrollIfVisible?: boolean): void;
13130
13182
  private focuscore;
13183
+ focusInputElement(onError: boolean): void;
13131
13184
  expandAllParents(): void;
13132
13185
  private expandAllParentsCore;
13133
13186
  focusIn(): void;
@@ -13271,6 +13324,8 @@ declare module "question" {
13271
13324
  getFilteredValue(): any;
13272
13325
  getFilteredName(): any;
13273
13326
  get valueForSurvey(): any;
13327
+ protected valueForSurveyCore(val: any): any;
13328
+ protected valueFromDataCore(val: any): any;
13274
13329
  /**
13275
13330
  * Sets the question's `value` and `comment` properties to `undefined`.
13276
13331
  * @see value
@@ -13597,7 +13652,6 @@ declare module "question" {
13597
13652
  get ariaInvalid(): "true" | "false";
13598
13653
  get ariaLabelledBy(): string;
13599
13654
  get ariaDescribedBy(): string;
13600
- get ariaExpanded(): string;
13601
13655
  get ariaErrormessage(): string;
13602
13656
  get a11y_input_ariaRole(): string;
13603
13657
  get a11y_input_ariaRequired(): "true" | "false";
@@ -14151,6 +14205,7 @@ declare module "question_matrixdropdownbase" {
14151
14205
  */
14152
14206
  get cellType(): string;
14153
14207
  set cellType(val: string);
14208
+ isSelectCellType(): boolean;
14154
14209
  private updateColumnsCellType;
14155
14210
  private updateColumnsIndexes;
14156
14211
  /**
@@ -14363,6 +14418,7 @@ declare module "base-interfaces" {
14363
14418
  import { Base } from "base";
14364
14419
  import { IAction } from "actions/action";
14365
14420
  import { PanelModel } from "panel";
14421
+ import { PanelLayoutColumnModel } from "panel-layout-column";
14366
14422
  import { QuestionPanelDynamicModel } from "question_paneldynamic";
14367
14423
  import { DragDropAllowEvent } from "survey-events-api";
14368
14424
  import { PopupModel } from "popup";
@@ -14421,6 +14477,7 @@ declare module "base-interfaces" {
14421
14477
  getRendererForString(element: Base, name: string): string;
14422
14478
  getRendererContextForString(element: Base, locStr: LocalizableString): any;
14423
14479
  getExpressionDisplayValue(question: IQuestion, value: any, displayValue: string): string;
14480
+ gridLayoutEnabled: boolean;
14424
14481
  isDisplayMode: boolean;
14425
14482
  isDesignMode: boolean;
14426
14483
  areInvisibleElementsShowing: boolean;
@@ -14457,6 +14514,7 @@ declare module "base-interfaces" {
14457
14514
  maxTextLength: number;
14458
14515
  maxOthersLength: number;
14459
14516
  clearValueOnDisableItems: boolean;
14517
+ maxTimeToFinishPage: number;
14460
14518
  uploadFiles(question: IQuestion, name: string, files: File[], uploadingCallback: (data: any | Array<any>, errors?: any | Array<any>) => any): any;
14461
14519
  downloadFile(question: IQuestion, name: string, content: string, callback: (status: string, data: any) => any): any;
14462
14520
  clearFiles(question: IQuestion, name: string, value: any, fileName: string, clearCallback: (status: string, data: any) => any): any;
@@ -14568,6 +14626,7 @@ declare module "base-interfaces" {
14568
14626
  isCollapsed: boolean;
14569
14627
  rightIndent: number;
14570
14628
  startWithNewLine: boolean;
14629
+ colSpan?: number;
14571
14630
  registerPropertyChangedHandlers(propertyNames: Array<string>, handler: any, key: string): void;
14572
14631
  registerFunctionOnPropertyValueChanged(name: string, func: any, key: string): void;
14573
14632
  unRegisterFunctionOnPropertyValueChanged(name: string, key: string): void;
@@ -14581,6 +14640,7 @@ declare module "base-interfaces" {
14581
14640
  clearErrors(): any;
14582
14641
  dispose(): void;
14583
14642
  needResponsiveWidth(): boolean;
14643
+ updateRootStyle(): void;
14584
14644
  }
14585
14645
  export interface IQuestion extends IElement, ISurveyErrorOwner {
14586
14646
  hasTitle: boolean;
@@ -14611,12 +14671,15 @@ declare module "base-interfaces" {
14611
14671
  getQuestionTitleWidth(): string;
14612
14672
  getQuestionStartIndex(): string;
14613
14673
  getQuestionErrorLocation(): string;
14674
+ getColumsForElement(el: IElement): Array<PanelLayoutColumnModel>;
14675
+ updateColumns(): void;
14614
14676
  parent: IPanel;
14615
14677
  elementWidthChanged(el: IElement): any;
14616
14678
  indexOf(el: IElement): number;
14617
14679
  elements: Array<IElement>;
14618
14680
  ensureRowsVisibility(): void;
14619
14681
  validateContainerOnly(): void;
14682
+ onQuestionValueChanged(el: IElement): void;
14620
14683
  }
14621
14684
  export interface IPage extends IPanel, IConditionRunner {
14622
14685
  isStartPage: boolean;
@@ -14691,7 +14754,7 @@ declare module "jsonobject" {
14691
14754
  onGetTextCallback?: (str: string) => string;
14692
14755
  defaultStr?: string;
14693
14756
  } | boolean;
14694
- onSet?: (val: T, objectInstance: any) => void;
14757
+ onSet?: (val: T, objectInstance: any, prevVal?: T) => void;
14695
14758
  }
14696
14759
  export function property(options?: IPropertyDecoratorOptions): (target: any, key: string) => void;
14697
14760
  export interface IArrayPropertyDecoratorOptions {
@@ -16211,6 +16274,36 @@ declare module "settings" {
16211
16274
  [key: string]: RegExp;
16212
16275
  };
16213
16276
  };
16277
+ /**
16278
+ * Specifies whether to store date-time values in the following format: `"YYYY-MM-DDThh:mm:ss.sssZ"`. Applies only to form fields with [`inputType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#inputType) set to `"datetime-local"`.
16279
+ *
16280
+ * Default value: `false`
16281
+ *
16282
+ * If you enable this setting, date-time values are converted from local time to UTC when they are saved to the survey's [`data`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#data) object, while the question values remain in local time. Therefore, when you specify default values using a question's [`defaultValue`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#defaultValue) property, you need to use local time, but if you specify them using the `data` object, use a UTC date-time value in the following format: `"YYYY-MM-DDThh:mm:ss.sssZ"`.
16283
+ *
16284
+ * ```js
16285
+ * const surveyJson = {
16286
+ * "elements": [{
16287
+ * "name": "datetime",
16288
+ * "type": "text",
16289
+ * "title": "Select a date and time",
16290
+ * "inputType": "datetime-local",
16291
+ * "defaultValue": "2024-07-16T12:15:00" // Local date-time value
16292
+ * }]
16293
+ * }
16294
+ * ```
16295
+ *
16296
+ * ```js
16297
+ * import { Model } from "survey-core";
16298
+ * const surveyJson = { ... }
16299
+ * const survey = new Model(surveyJson);
16300
+ *
16301
+ * survey.data = {
16302
+ * datetime: "2024-07-16T12:15:00.000Z" // UTC date-time value
16303
+ * }
16304
+ * ```
16305
+ */
16306
+ storeUtcDates: boolean;
16214
16307
  };
16215
16308
  }
16216
16309
  declare module "question_matrixdropdown" {
@@ -16336,7 +16429,7 @@ declare module "dropdownListModel" {
16336
16429
  get showHintString(): boolean;
16337
16430
  get hintStringSuffix(): string;
16338
16431
  get hintStringMiddle(): string;
16339
- private qustionPropertyChangedHandler;
16432
+ private questionPropertyChangedHandler;
16340
16433
  constructor(question: Question, onSelectionChanged?: (item: IAction, ...params: any[]) => void);
16341
16434
  get popupModel(): PopupModel;
16342
16435
  get noTabIndex(): boolean;
@@ -16501,7 +16594,6 @@ declare module "question_dropdown" {
16501
16594
  get dropdownListModel(): DropdownListModel;
16502
16595
  set dropdownListModel(val: DropdownListModel);
16503
16596
  get popupModel(): PopupModel;
16504
- get ariaExpanded(): string;
16505
16597
  onOpened: EventBase<QuestionDropdownModel>;
16506
16598
  onOpenedCallBack(): void;
16507
16599
  protected onSelectedItemValuesChangedHandler(newValue: any): void;
@@ -16512,6 +16604,7 @@ declare module "question_dropdown" {
16512
16604
  protected getFirstInputElementId(): string;
16513
16605
  getInputId(): string;
16514
16606
  clearValue(keepComment?: boolean): void;
16607
+ afterRenderCore(el: any): void;
16515
16608
  onClick(e: any): void;
16516
16609
  onKeyUp(event: any): void;
16517
16610
  dispose(): void;
@@ -17067,7 +17160,6 @@ declare module "question_tagbox" {
17067
17160
  getType(): string;
17068
17161
  get ariaRole(): string;
17069
17162
  get popupModel(): PopupModel;
17070
- get ariaExpanded(): string;
17071
17163
  getControlClass(): string;
17072
17164
  onOpened: EventBase<QuestionTagboxModel>;
17073
17165
  onOpenedCallBack(): void;
@@ -17487,16 +17579,16 @@ declare module "question_comment" {
17487
17579
  * Default value: `false` (inherited from `SurveyModel`'s [`autoGrowComment`](https://surveyjs.io/form-library/documentation/surveymodel#autoGrowComment) property)
17488
17580
  * @see allowResize
17489
17581
  */
17490
- get autoGrow(): boolean;
17491
- set autoGrow(val: boolean);
17582
+ get autoGrow(): boolean | undefined;
17583
+ set autoGrow(val: boolean | undefined);
17584
+ get renderedAutoGrow(): boolean;
17492
17585
  /**
17493
- * Specifies whether to display a resize handle for the comment area.
17494
17586
  *
17495
17587
  * Default value: `true` (inherited from `SurveyModel`'s [`allowResizeComment`](https://surveyjs.io/form-library/documentation/surveymodel#allowResizeComment) property)
17496
17588
  * @see autoGrow
17497
17589
  */
17498
- get allowResize(): boolean;
17499
- set allowResize(val: boolean);
17590
+ get allowResize(): boolean | undefined;
17591
+ set allowResize(val: boolean | undefined);
17500
17592
  get renderedAllowResize(): boolean;
17501
17593
  get resizeStyle(): "none" | "both";
17502
17594
  getType(): string;
@@ -17858,7 +17950,6 @@ declare module "question_rating" {
17858
17950
  protected onBeforeSetCompactRenderer(): void;
17859
17951
  protected getCompactRenderAs(): string;
17860
17952
  protected getDesktopRenderAs(): string;
17861
- get ariaExpanded(): string;
17862
17953
  private dropdownListModelValue;
17863
17954
  set dropdownListModel(val: DropdownListModel);
17864
17955
  get dropdownListModel(): DropdownListModel;
@@ -27333,6 +27424,15 @@ declare module "react/components/loading-indicator" {
27333
27424
  render(): JSX.Element | null;
27334
27425
  }
27335
27426
  }
27427
+ declare module "react/components/file/file-choose-button" {
27428
+ import { ReactSurveyElement } from "react/reactquestion_element";
27429
+ import { QuestionFileModel } from "entries/core";
27430
+ export class SurveyFileChooseButton extends ReactSurveyElement {
27431
+ constructor(props: any);
27432
+ protected get question(): QuestionFileModel;
27433
+ render(): JSX.Element;
27434
+ }
27435
+ }
27336
27436
  declare module "react/reactquestion_file" {
27337
27437
  import { QuestionFileModel } from "entries/core";
27338
27438
  import { SurveyQuestionElementBase } from "react/reactquestion_element";
@@ -27348,15 +27448,6 @@ declare module "react/reactquestion_file" {
27348
27448
  protected renderVideo(): JSX.Element;
27349
27449
  }
27350
27450
  }
27351
- declare module "react/components/file/file-choose-button" {
27352
- import { ReactSurveyElement } from "react/reactquestion_element";
27353
- import { QuestionFileModel } from "entries/core";
27354
- export class SurveyFileChooseButton extends ReactSurveyElement {
27355
- constructor(props: any);
27356
- protected get question(): QuestionFileModel;
27357
- render(): JSX.Element;
27358
- }
27359
- }
27360
27451
  declare module "react/components/file/file-preview" {
27361
27452
  import { SurveyElementBase } from "react/reactquestion_element";
27362
27453
  import { QuestionFileModel } from "entries/core";