survey-react 1.11.7 → 1.11.9

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/modern.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.11.7
2
+ * surveyjs - Survey JavaScript library v1.11.9
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
package/modern.min.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.11.7
2
+ * surveyjs - Survey JavaScript library v1.11.9
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-react",
3
- "version": "1.11.7",
3
+ "version": "1.11.9",
4
4
  "description": "survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.",
5
5
  "keywords": [
6
6
  "Survey",
package/survey.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.11.7
2
+ * surveyjs - Survey JavaScript library v1.11.9
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
package/survey.min.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.11.7
2
+ * surveyjs - Survey JavaScript library v1.11.9
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
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";
@@ -3039,10 +3052,13 @@ declare module "question_custom" {
3039
3052
  getFilteredValues(): any;
3040
3053
  getFilteredProperties(): any;
3041
3054
  findQuestionByName(name: string): IQuestion;
3055
+ getEditingSurveyElement(): Base;
3042
3056
  addElement(element: IElement, index: number): void;
3043
3057
  removeElement(element: IElement): boolean;
3044
3058
  getQuestionTitleLocation(): string;
3045
3059
  getQuestionTitleWidth(): string;
3060
+ getColumsForElement(el: IElement): Array<PanelLayoutColumnModel>;
3061
+ updateColumns(): void;
3046
3062
  getQuestionStartIndex(): string;
3047
3063
  getChildrenLayoutType(): string;
3048
3064
  elementWidthChanged(el: IElement): void;
@@ -3106,6 +3122,12 @@ declare module "question_custom" {
3106
3122
  get contentPanel(): PanelModel;
3107
3123
  hasErrors(fireCallback?: boolean, rec?: any): boolean;
3108
3124
  updateElementCss(reNew?: boolean): void;
3125
+ dispose(): void;
3126
+ private editingObjValue;
3127
+ private onEditingObjPropertyChanged;
3128
+ private updateEditingObj;
3129
+ private unConnectEditingObj;
3130
+ getEditingSurveyElement(): Base;
3109
3131
  getTextProcessor(): ITextProcessor;
3110
3132
  findQuestionByName(name: string): IQuestion;
3111
3133
  protected clearValueIfInvisibleCore(reason: string): void;
@@ -3114,6 +3136,7 @@ declare module "question_custom" {
3114
3136
  get isContainer(): boolean;
3115
3137
  protected createPanel(): PanelModel;
3116
3138
  protected onReadOnlyChanged(): void;
3139
+ updateValueFromSurvey(newValue: any, clearData?: boolean): void;
3117
3140
  onSurveyLoad(): void;
3118
3141
  private setIsContentElement;
3119
3142
  setVisibleIndex(val: number): number;
@@ -3210,6 +3233,7 @@ declare module "panel" {
3210
3233
  import { ActionContainer } from "actions/container";
3211
3234
  import { DragDropInfo } from "drag-drop-helper-v1";
3212
3235
  import { AnimationGroup } from "utils/animation";
3236
+ import { PanelLayoutColumnModel } from "panel-layout-column";
3213
3237
  export class QuestionRowModel extends Base {
3214
3238
  panel: PanelModelBase;
3215
3239
  private static rowCounter;
@@ -3260,6 +3284,9 @@ declare module "panel" {
3260
3284
  private elementsValue;
3261
3285
  private isQuestionsReady;
3262
3286
  private questionsValue;
3287
+ private _columns;
3288
+ private _columnsReady;
3289
+ layoutColumns: Array<PanelLayoutColumnModel>;
3263
3290
  addElementCallback: (element: IElement) => void;
3264
3291
  removeElementCallback: (element: IElement) => void;
3265
3292
  onGetQuestionTitleLocation: () => string;
@@ -3471,6 +3498,11 @@ declare module "panel" {
3471
3498
  addPanelsIntoList(list: Array<IPanel>, visibleOnly?: boolean, includingDesignTime?: boolean): void;
3472
3499
  private addElementsToList;
3473
3500
  private addElementsToListCore;
3501
+ private calcMaxRowColSpan;
3502
+ private updateColumnWidth;
3503
+ private onColumnPropertyValueChangedCallback;
3504
+ updateColumns(): void;
3505
+ updateRootStyle(): void;
3474
3506
  updateCustomWidgets(): void;
3475
3507
  /**
3476
3508
  * Sets a title location relative to the input field for questions that belong to this panel/page.
@@ -3500,6 +3532,9 @@ declare module "panel" {
3500
3532
  */
3501
3533
  questionTitleWidth: string;
3502
3534
  getQuestionTitleWidth(): string;
3535
+ get columns(): Array<PanelLayoutColumnModel>;
3536
+ protected generateColumns(): void;
3537
+ getColumsForElement(el: IElement): Array<PanelLayoutColumnModel>;
3503
3538
  protected getStartIndex(): string;
3504
3539
  getQuestionStartIndex(): string;
3505
3540
  getChildrenLayoutType(): string;
@@ -3650,6 +3685,7 @@ declare module "panel" {
3650
3685
  get no(): string;
3651
3686
  get cssError(): string;
3652
3687
  protected getCssError(cssClasses: any): string;
3688
+ getSerializableColumnsValue(): Array<PanelLayoutColumnModel>;
3653
3689
  dispose(): void;
3654
3690
  }
3655
3691
  /**
@@ -3664,6 +3700,8 @@ declare module "panel" {
3664
3700
  getType(): string;
3665
3701
  get contentId(): string;
3666
3702
  getSurvey(live?: boolean): ISurvey;
3703
+ get hasTextInTitle(): boolean;
3704
+ private calcHasTextInTitle;
3667
3705
  onSurveyLoad(): void;
3668
3706
  protected onSetData(): void;
3669
3707
  get isPanel(): boolean;
@@ -4063,7 +4101,8 @@ declare module "question_file" {
4063
4101
  protected processResponsiveness(_: number, availableWidth: number): boolean;
4064
4102
  private rootElement;
4065
4103
  private canDragDrop;
4066
- afterRender(el: HTMLElement): void;
4104
+ afterRenderQuestionElement(el: HTMLElement): void;
4105
+ beforeDestroyQuestionElement(el: HTMLElement): void;
4067
4106
  private dragCounter;
4068
4107
  onDragEnter: (event: any) => void;
4069
4108
  onDragOver: (event: any) => boolean;
@@ -4754,11 +4793,6 @@ declare module "question_baseselect" {
4754
4793
  get hasHeadItems(): boolean;
4755
4794
  get hasFootItems(): boolean;
4756
4795
  get columns(): any[];
4757
- protected getObservedElementSelector(): string;
4758
- protected supportResponsiveness(): boolean;
4759
- allowMultiColumns: boolean;
4760
- protected onBeforeSetCompactRenderer(): void;
4761
- protected onBeforeSetDesktopRenderer(): void;
4762
4796
  get hasColumns(): boolean;
4763
4797
  get rowLayout(): boolean;
4764
4798
  get blockedRow(): boolean;
@@ -6261,6 +6295,7 @@ declare module "question_paneldynamic" {
6261
6295
  import { HashTable } from "helpers";
6262
6296
  import { IElement, IQuestion, IPanel, ISurveyData, ISurvey, ISurveyImpl, ITextProcessor, IProgressInfo, IPlainDataOptions } from "base-interfaces";
6263
6297
  import { LocalizableString } from "localizablestring";
6298
+ import { Base } from "base";
6264
6299
  import { Question, IConditionObject, IQuestionPlainData } from "question";
6265
6300
  import { PanelModel } from "panel";
6266
6301
  import { SurveyError } from "survey-error";
@@ -6296,6 +6331,7 @@ declare module "question_paneldynamic" {
6296
6331
  getComment(name: string): string;
6297
6332
  setComment(name: string, newValue: string, locNotification: any): void;
6298
6333
  findQuestionByName(name: string): IQuestion;
6334
+ getEditingSurveyElement(): Base;
6299
6335
  getAllValues(): any;
6300
6336
  getFilteredValues(): any;
6301
6337
  getFilteredProperties(): any;
@@ -8778,6 +8814,7 @@ declare module "question_text" {
8778
8814
  private hasToConvertToUTC;
8779
8815
  protected valueForSurveyCore(val: any): any;
8780
8816
  protected valueFromDataCore(val: any): any;
8817
+ private dateValidationMessage;
8781
8818
  protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
8782
8819
  protected canSetValueToSurvey(): boolean;
8783
8820
  protected convertFuncValuetoQuestionValue(val: any): any;
@@ -8816,6 +8853,7 @@ declare module "question_text" {
8816
8853
  private updateValueOnEvent;
8817
8854
  onCompositionUpdate: (event: any) => void;
8818
8855
  onKeyUp: (event: any) => void;
8856
+ private updateDateValidationMessage;
8819
8857
  onKeyDown: (event: any) => void;
8820
8858
  onChange: (event: any) => void;
8821
8859
  onBlur: (event: any) => void;
@@ -8835,6 +8873,7 @@ declare module "question_multipletext" {
8835
8873
  import { ILocalizableOwner, LocalizableString } from "localizablestring";
8836
8874
  import { HashTable } from "helpers";
8837
8875
  import { InputMaskBase } from "mask/mask_base";
8876
+ import { PanelLayoutColumnModel } from "panel-layout-column";
8838
8877
  export interface IMultipleTextData extends ILocalizableOwner, IPanel {
8839
8878
  getSurvey(): ISurvey;
8840
8879
  getTextProcessor(): ITextProcessor;
@@ -9010,6 +9049,7 @@ declare module "question_multipletext" {
9010
9049
  getFilteredValues(): any;
9011
9050
  getFilteredProperties(): any;
9012
9051
  findQuestionByName(name: string): IQuestion;
9052
+ getEditingSurveyElement(): Base;
9013
9053
  getValidatorTitle(): string;
9014
9054
  get validatedValue(): any;
9015
9055
  set validatedValue(val: any);
@@ -9135,6 +9175,8 @@ declare module "question_multipletext" {
9135
9175
  removeElement(element: IElement): boolean;
9136
9176
  getQuestionTitleLocation(): string;
9137
9177
  getQuestionTitleWidth(): string;
9178
+ getColumsForElement(el: IElement): Array<PanelLayoutColumnModel>;
9179
+ updateColumns(): void;
9138
9180
  getQuestionStartIndex(): string;
9139
9181
  getChildrenLayoutType(): string;
9140
9182
  elementWidthChanged(el: IElement): void;
@@ -10965,6 +11007,7 @@ declare module "survey" {
10965
11007
  private onEditingObjPropertyChanged;
10966
11008
  get editingObj(): Base;
10967
11009
  set editingObj(val: Base);
11010
+ private unConnectEditingObj;
10968
11011
  get isEditingSurveyElement(): boolean;
10969
11012
  private setCalculatedValuesIntoResult;
10970
11013
  getAllValues(): any;
@@ -11503,8 +11546,8 @@ declare module "survey" {
11503
11546
  updatePanelCssClasses(panel: PanelModel, cssClasses: any): void;
11504
11547
  updatePageCssClasses(page: PageModel, cssClasses: any): void;
11505
11548
  updateChoiceItemCss(question: IQuestion, options: any): void;
11506
- private isFirstPageRendering;
11507
11549
  private isCurrentPageRendering;
11550
+ private isCurrentPageRendered;
11508
11551
  afterRenderPage(htmlElement: HTMLElement): void;
11509
11552
  afterRenderHeader(htmlElement: HTMLElement): void;
11510
11553
  afterRenderQuestion(question: Question, htmlElement: HTMLElement): void;
@@ -11677,6 +11720,7 @@ declare module "survey" {
11677
11720
  */
11678
11721
  getQuestionByName(name: string, caseInsensitive?: boolean): Question;
11679
11722
  findQuestionByName(name: string): IQuestion;
11723
+ getEditingSurveyElement(): Base;
11680
11724
  /**
11681
11725
  * Returns a question with a specified [`valueName`](https://surveyjs.io/form-library/documentation/api-reference/question#valueName).
11682
11726
  *
@@ -12033,6 +12077,7 @@ declare module "survey" {
12033
12077
  */
12034
12078
  get showTimerPanelMode(): string;
12035
12079
  set showTimerPanelMode(val: string);
12080
+ gridLayoutEnabled: boolean;
12036
12081
  /**
12037
12082
  * Specifies how to calculate the survey width.
12038
12083
  *
@@ -12333,6 +12378,9 @@ declare module "survey-element" {
12333
12378
  private static focusElementCore;
12334
12379
  static CreateDisabledDesignElements: boolean;
12335
12380
  disableDesignActions: boolean;
12381
+ effectiveColSpan: number;
12382
+ get colSpan(): number;
12383
+ set colSpan(val: number);
12336
12384
  constructor(name: string);
12337
12385
  protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
12338
12386
  protected getSkeletonComponentNameCore(): string;
@@ -12617,9 +12665,8 @@ declare module "survey-element" {
12617
12665
  get paddingRight(): string;
12618
12666
  set paddingRight(val: string);
12619
12667
  allowRootStyle: boolean;
12620
- get rootStyle(): {
12621
- [index: string]: any;
12622
- };
12668
+ rootStyle: any;
12669
+ updateRootStyle(): void;
12623
12670
  private isContainsSelection;
12624
12671
  get clickTitleFunction(): any;
12625
12672
  protected needClickTitleFunction(): boolean;
@@ -12797,6 +12844,7 @@ declare module "question" {
12797
12844
  themeChanged(theme: ITheme): void;
12798
12845
  isMobile: boolean;
12799
12846
  forceIsInputReadOnly: boolean;
12847
+ ariaExpanded: "true" | "false";
12800
12848
  constructor(name: string);
12801
12849
  protected getDefaultTitle(): string;
12802
12850
  protected createLocTitleProperty(): LocalizableString;
@@ -12989,6 +13037,7 @@ declare module "question" {
12989
13037
  private notifySurveyVisibilityChanged;
12990
13038
  protected clearValueOnHidding(isClearOnHidden: boolean): void;
12991
13039
  get titleWidth(): string;
13040
+ getPercentQuestionTitleWidth(): number;
12992
13041
  /**
12993
13042
  * Returns title location calculated based on the question's `titleLocation` property and the `questionTitleLocation` property of the question's containers (survey, page, or panel).
12994
13043
  * @see titleLocation
@@ -13142,6 +13191,7 @@ declare module "question" {
13142
13191
  */
13143
13192
  focus(onError?: boolean, scrollIfVisible?: boolean): void;
13144
13193
  private focuscore;
13194
+ focusInputElement(onError: boolean): void;
13145
13195
  expandAllParents(): void;
13146
13196
  private expandAllParentsCore;
13147
13197
  focusIn(): void;
@@ -13613,7 +13663,6 @@ declare module "question" {
13613
13663
  get ariaInvalid(): "true" | "false";
13614
13664
  get ariaLabelledBy(): string;
13615
13665
  get ariaDescribedBy(): string;
13616
- get ariaExpanded(): string;
13617
13666
  get ariaErrormessage(): string;
13618
13667
  get a11y_input_ariaRole(): string;
13619
13668
  get a11y_input_ariaRequired(): "true" | "false";
@@ -13954,6 +14003,7 @@ declare module "question_matrixdropdownbase" {
13954
14003
  getComment(name: string): string;
13955
14004
  setComment(name: string, newValue: string, locNotification: any): void;
13956
14005
  findQuestionByName(name: string): IQuestion;
14006
+ getEditingSurveyElement(): Base;
13957
14007
  private setValueCore;
13958
14008
  private updateQuestionsValue;
13959
14009
  runTriggers(name: string, value: any): void;
@@ -14380,6 +14430,7 @@ declare module "base-interfaces" {
14380
14430
  import { Base } from "base";
14381
14431
  import { IAction } from "actions/action";
14382
14432
  import { PanelModel } from "panel";
14433
+ import { PanelLayoutColumnModel } from "panel-layout-column";
14383
14434
  import { QuestionPanelDynamicModel } from "question_paneldynamic";
14384
14435
  import { DragDropAllowEvent } from "survey-events-api";
14385
14436
  import { PopupModel } from "popup";
@@ -14394,6 +14445,7 @@ declare module "base-interfaces" {
14394
14445
  getFilteredValues(): any;
14395
14446
  getFilteredProperties(): any;
14396
14447
  findQuestionByName(name: string): IQuestion;
14448
+ getEditingSurveyElement(): Base;
14397
14449
  }
14398
14450
  export interface ITextProcessor {
14399
14451
  processText(text: string, returnDisplayValue: boolean): string;
@@ -14438,6 +14490,7 @@ declare module "base-interfaces" {
14438
14490
  getRendererForString(element: Base, name: string): string;
14439
14491
  getRendererContextForString(element: Base, locStr: LocalizableString): any;
14440
14492
  getExpressionDisplayValue(question: IQuestion, value: any, displayValue: string): string;
14493
+ gridLayoutEnabled: boolean;
14441
14494
  isDisplayMode: boolean;
14442
14495
  isDesignMode: boolean;
14443
14496
  areInvisibleElementsShowing: boolean;
@@ -14586,6 +14639,7 @@ declare module "base-interfaces" {
14586
14639
  isCollapsed: boolean;
14587
14640
  rightIndent: number;
14588
14641
  startWithNewLine: boolean;
14642
+ colSpan?: number;
14589
14643
  registerPropertyChangedHandlers(propertyNames: Array<string>, handler: any, key: string): void;
14590
14644
  registerFunctionOnPropertyValueChanged(name: string, func: any, key: string): void;
14591
14645
  unRegisterFunctionOnPropertyValueChanged(name: string, key: string): void;
@@ -14599,6 +14653,7 @@ declare module "base-interfaces" {
14599
14653
  clearErrors(): any;
14600
14654
  dispose(): void;
14601
14655
  needResponsiveWidth(): boolean;
14656
+ updateRootStyle(): void;
14602
14657
  }
14603
14658
  export interface IQuestion extends IElement, ISurveyErrorOwner {
14604
14659
  hasTitle: boolean;
@@ -14629,6 +14684,8 @@ declare module "base-interfaces" {
14629
14684
  getQuestionTitleWidth(): string;
14630
14685
  getQuestionStartIndex(): string;
14631
14686
  getQuestionErrorLocation(): string;
14687
+ getColumsForElement(el: IElement): Array<PanelLayoutColumnModel>;
14688
+ updateColumns(): void;
14632
14689
  parent: IPanel;
14633
14690
  elementWidthChanged(el: IElement): any;
14634
14691
  indexOf(el: IElement): number;
@@ -14710,7 +14767,7 @@ declare module "jsonobject" {
14710
14767
  onGetTextCallback?: (str: string) => string;
14711
14768
  defaultStr?: string;
14712
14769
  } | boolean;
14713
- onSet?: (val: T, objectInstance: any) => void;
14770
+ onSet?: (val: T, objectInstance: any, prevVal?: T) => void;
14714
14771
  }
14715
14772
  export function property(options?: IPropertyDecoratorOptions): (target: any, key: string) => void;
14716
14773
  export interface IArrayPropertyDecoratorOptions {
@@ -14830,7 +14887,7 @@ declare module "jsonobject" {
14830
14887
  onPropertyEditorUpdate: (obj: any, propEditor: any) => any;
14831
14888
  constructor(classInfo: JsonMetadataClass, name: string, isRequired?: boolean);
14832
14889
  uniqueProperty?: string;
14833
- dependsOn?: string | string[];
14890
+ dependsOn?: string | Array<string>;
14834
14891
  default?: any;
14835
14892
  defaultFunc?: (obj: Base) => any;
14836
14893
  get id(): number;
@@ -15043,6 +15100,7 @@ declare module "jsonobject" {
15043
15100
  toJsonObject(obj: any, options?: ISaveToJSONOptions | boolean): any;
15044
15101
  toObject(jsonObj: any, obj: any, options?: ILoadFromJSONOptions): void;
15045
15102
  toObjectCore(jsonObj: any, obj: any, options?: ILoadFromJSONOptions): void;
15103
+ private setPropertyValueToObj;
15046
15104
  toJsonObjectCore(obj: any, property: JsonObjectProperty, options?: ISaveToJSONOptions | boolean): any;
15047
15105
  private getDynamicProperties;
15048
15106
  private addDynamicProperties;
@@ -16230,6 +16288,35 @@ declare module "settings" {
16230
16288
  [key: string]: RegExp;
16231
16289
  };
16232
16290
  };
16291
+ /**
16292
+ * 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"`.
16293
+ *
16294
+ * Default value: `false`
16295
+ *
16296
+ * 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"`.
16297
+ *
16298
+ * ```js
16299
+ * const surveyJson = {
16300
+ * "elements": [{
16301
+ * "name": "datetime",
16302
+ * "type": "text",
16303
+ * "title": "Select a date and time",
16304
+ * "inputType": "datetime-local",
16305
+ * "defaultValue": "2024-07-16T12:15:00" // Local date-time value
16306
+ * }]
16307
+ * }
16308
+ * ```
16309
+ *
16310
+ * ```js
16311
+ * import { Model } from "survey-core";
16312
+ * const surveyJson = { ... }
16313
+ * const survey = new Model(surveyJson);
16314
+ *
16315
+ * survey.data = {
16316
+ * datetime: "2024-07-16T12:15:00.000Z" // UTC date-time value
16317
+ * }
16318
+ * ```
16319
+ */
16233
16320
  storeUtcDates: boolean;
16234
16321
  };
16235
16322
  }
@@ -16356,7 +16443,7 @@ declare module "dropdownListModel" {
16356
16443
  get showHintString(): boolean;
16357
16444
  get hintStringSuffix(): string;
16358
16445
  get hintStringMiddle(): string;
16359
- private qustionPropertyChangedHandler;
16446
+ private questionPropertyChangedHandler;
16360
16447
  constructor(question: Question, onSelectionChanged?: (item: IAction, ...params: any[]) => void);
16361
16448
  get popupModel(): PopupModel;
16362
16449
  get noTabIndex(): boolean;
@@ -16521,7 +16608,6 @@ declare module "question_dropdown" {
16521
16608
  get dropdownListModel(): DropdownListModel;
16522
16609
  set dropdownListModel(val: DropdownListModel);
16523
16610
  get popupModel(): PopupModel;
16524
- get ariaExpanded(): string;
16525
16611
  onOpened: EventBase<QuestionDropdownModel>;
16526
16612
  onOpenedCallBack(): void;
16527
16613
  protected onSelectedItemValuesChangedHandler(newValue: any): void;
@@ -16532,6 +16618,7 @@ declare module "question_dropdown" {
16532
16618
  protected getFirstInputElementId(): string;
16533
16619
  getInputId(): string;
16534
16620
  clearValue(keepComment?: boolean): void;
16621
+ afterRenderCore(el: any): void;
16535
16622
  onClick(e: any): void;
16536
16623
  onKeyUp(event: any): void;
16537
16624
  dispose(): void;
@@ -17087,7 +17174,6 @@ declare module "question_tagbox" {
17087
17174
  getType(): string;
17088
17175
  get ariaRole(): string;
17089
17176
  get popupModel(): PopupModel;
17090
- get ariaExpanded(): string;
17091
17177
  getControlClass(): string;
17092
17178
  onOpened: EventBase<QuestionTagboxModel>;
17093
17179
  onOpenedCallBack(): void;
@@ -17878,7 +17964,6 @@ declare module "question_rating" {
17878
17964
  protected onBeforeSetCompactRenderer(): void;
17879
17965
  protected getCompactRenderAs(): string;
17880
17966
  protected getDesktopRenderAs(): string;
17881
- get ariaExpanded(): string;
17882
17967
  private dropdownListModelValue;
17883
17968
  set dropdownListModel(val: DropdownListModel);
17884
17969
  get dropdownListModel(): DropdownListModel;
@@ -26808,6 +26893,7 @@ declare module "react/reactquestion_element" {
26808
26893
  }
26809
26894
  export class SurveyQuestionElementBase extends SurveyElementBase<any, any> {
26810
26895
  control: HTMLElement;
26896
+ content: HTMLElement;
26811
26897
  constructor(props: any);
26812
26898
  componentDidUpdate(prevProps: any, prevState: any): void;
26813
26899
  componentDidMount(): void;
@@ -26821,6 +26907,7 @@ declare module "react/reactquestion_element" {
26821
26907
  protected get isDisplayMode(): boolean;
26822
26908
  protected wrapCell(cell: any, element: JSX.Element, reason: string): JSX.Element;
26823
26909
  setControl(element: HTMLElement | null): void;
26910
+ setContent(element: HTMLElement | null): void;
26824
26911
  }
26825
26912
  export class SurveyQuestionUncontrolledElement<T extends Question> extends SurveyQuestionElementBase {
26826
26913
  constructor(props: any);
@@ -27707,6 +27794,7 @@ declare module "react/components/list/list" {
27707
27794
  handleMouseMove: (event: any) => void;
27708
27795
  getStateElement(): ListModel<import("survey-core").Action>;
27709
27796
  componentDidMount(): void;
27797
+ componentDidUpdate(prevProps: any, prevState: any): void;
27710
27798
  componentWillUnmount(): void;
27711
27799
  renderElement(): JSX.Element;
27712
27800
  renderList(): JSX.Element;