survey-react 1.9.102 → 1.9.104

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
@@ -115,6 +115,7 @@ declare module "localization/english" {
115
115
  clearCaption: string;
116
116
  signaturePlaceHolder: string;
117
117
  chooseFileCaption: string;
118
+ replaceFileCaption: string;
118
119
  removeFileCaption: string;
119
120
  booleanCheckedLabel: string;
120
121
  booleanUncheckedLabel: string;
@@ -226,6 +227,7 @@ declare module "surveyStrings" {
226
227
  clearCaption: string;
227
228
  signaturePlaceHolder: string;
228
229
  chooseFileCaption: string;
230
+ replaceFileCaption: string;
229
231
  removeFileCaption: string;
230
232
  booleanCheckedLabel: string;
231
233
  booleanUncheckedLabel: string;
@@ -992,8 +994,9 @@ declare module "utils/cssClassBuilder" {
992
994
  declare module "utils/utils" {
993
995
  function compareVersions(a: any, b: any): number;
994
996
  function confirmAction(message: string): boolean;
997
+ function confirmActionAsync(message: string, funcOnYes: () => void, funcOnNo?: () => void): void;
995
998
  function detectIEBrowser(): boolean;
996
- function detectIEOrEdge(): any;
999
+ function detectIEOrEdge(): boolean;
997
1000
  function loadFileFromBase64(b64Data: string, fileName: string): void;
998
1001
  function isMobile(): boolean;
999
1002
  const isShadowDOM: (rootElement: Document | ShadowRoot | HTMLElement) => rootElement is ShadowRoot;
@@ -1030,7 +1033,7 @@ declare module "utils/utils" {
1030
1033
  log(action: string): void;
1031
1034
  get result(): string;
1032
1035
  }
1033
- export { mergeValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, scrollElementByChildId, navigateToUrl, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild, };
1036
+ export { mergeValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, confirmActionAsync, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, scrollElementByChildId, navigateToUrl, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild, };
1034
1037
  }
1035
1038
  declare module "actions/container" {
1036
1039
  import { Base } from "base";
@@ -1925,6 +1928,7 @@ declare module "defaultCss/defaultV2Css" {
1925
1928
  mainRoot: string;
1926
1929
  tableWrapper: string;
1927
1930
  root: string;
1931
+ noHeader: string;
1928
1932
  rootVerticalAlignTop: string;
1929
1933
  rootVerticalAlignMiddle: string;
1930
1934
  rootAlternateRows: string;
@@ -1951,6 +1955,7 @@ declare module "defaultCss/defaultV2Css" {
1951
1955
  mainRoot: string;
1952
1956
  rootScroll: string;
1953
1957
  root: string;
1958
+ noHeader: string;
1954
1959
  rootVerticalAlignTop: string;
1955
1960
  rootVerticalAlignMiddle: string;
1956
1961
  tableWrapper: string;
@@ -1963,6 +1968,7 @@ declare module "defaultCss/defaultV2Css" {
1963
1968
  row: string;
1964
1969
  headerCell: string;
1965
1970
  rowTextCell: string;
1971
+ columnTitleCell: string;
1966
1972
  cellRequiredText: string;
1967
1973
  detailButton: string;
1968
1974
  detailButtonExpanded: string;
@@ -1970,7 +1976,9 @@ declare module "defaultCss/defaultV2Css" {
1970
1976
  detailIconExpanded: string;
1971
1977
  detailIconId: string;
1972
1978
  detailIconExpandedId: string;
1979
+ detailPanelCell: string;
1973
1980
  actionsCell: string;
1981
+ actionsCellDrag: string;
1974
1982
  emptyCell: string;
1975
1983
  verticalCell: string;
1976
1984
  cellQuestionWrapper: string;
@@ -1981,6 +1989,7 @@ declare module "defaultCss/defaultV2Css" {
1981
1989
  rootScroll: string;
1982
1990
  empty: string;
1983
1991
  root: string;
1992
+ noHeader: string;
1984
1993
  tableWrapper: string;
1985
1994
  content: string;
1986
1995
  cell: string;
@@ -1988,6 +1997,7 @@ declare module "defaultCss/defaultV2Css" {
1988
1997
  itemCell: string;
1989
1998
  headerCell: string;
1990
1999
  rowTextCell: string;
2000
+ columnTitleCell: string;
1991
2001
  cellRequiredText: string;
1992
2002
  button: string;
1993
2003
  detailRow: string;
@@ -1999,6 +2009,7 @@ declare module "defaultCss/defaultV2Css" {
1999
2009
  detailIconExpandedId: string;
2000
2010
  detailPanelCell: string;
2001
2011
  actionsCell: string;
2012
+ actionsCellDrag: string;
2002
2013
  buttonAdd: string;
2003
2014
  buttonRemove: string;
2004
2015
  iconAdd: string;
@@ -2611,7 +2622,6 @@ declare module "panel" {
2611
2622
  addElement(q: IElement): void;
2612
2623
  get index(): number;
2613
2624
  private setWidth;
2614
- setElementMaxMinWidth(el: IElement): void;
2615
2625
  private getRenderedCalcWidth;
2616
2626
  private getElementWidth;
2617
2627
  private getRenderedWidthFromWidth;
@@ -2972,6 +2982,20 @@ declare module "panel" {
2972
2982
  get hasDescriptionUnderTitle(): boolean;
2973
2983
  get cssHeader(): string;
2974
2984
  get cssDescription(): string;
2985
+ /**
2986
+ * Specifies the error message position for questions that belong to this page/panel.
2987
+ *
2988
+ * Use this property to override the [`questionErrorLocation`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionErrorLocation) property specified for the survey. You can also set the [`errorLocation`](https://surveyjs.io/form-library/documentation/question#errorLocation) property for individual questions.
2989
+ *
2990
+ * Possible values:
2991
+ *
2992
+ * - `"default"` (default) - Inherits the setting from the `questionErrorLocation` property specified for the survey.
2993
+ * - `"top"` - Displays error messages above questions.
2994
+ * - `"bottom"` - Displays error messages below questions.
2995
+ */
2996
+ get questionErrorLocation(): string;
2997
+ set questionErrorLocation(val: string);
2998
+ getQuestionErrorLocation(): string;
2975
2999
  get no(): string;
2976
3000
  dispose(): void;
2977
3001
  }
@@ -3108,7 +3132,7 @@ declare module "question_file" {
3108
3132
  import { ActionContainer } from "actions/container";
3109
3133
  import { Action } from "actions/action";
3110
3134
  /**
3111
- * A class that describes the File question type.
3135
+ * A class that describes the File Upload question type.
3112
3136
  *
3113
3137
  * [View Demo](https://surveyjs.io/form-library/examples/file-upload/ (linkStyle))
3114
3138
  */
@@ -3145,6 +3169,7 @@ declare module "question_file" {
3145
3169
  constructor(name: string);
3146
3170
  protected updateElementCssCore(cssClasses: any): void;
3147
3171
  private getFileIndexCaption;
3172
+ private previewValueChanged;
3148
3173
  isPreviewVisible(index: number): boolean;
3149
3174
  getType(): string;
3150
3175
  clearValue(): void;
@@ -3217,12 +3242,14 @@ declare module "question_file" {
3217
3242
  confirmRemoveAllMessage: string;
3218
3243
  noFileChosenCaption: string;
3219
3244
  chooseButtonCaption: string;
3245
+ replaceButtonCaption: string;
3220
3246
  clearButtonCaption: string;
3221
3247
  removeFileCaption: string;
3222
3248
  loadingFileTitle: string;
3223
3249
  chooseFileTitle: string;
3224
3250
  dragAreaPlaceholder: string;
3225
3251
  get inputTitle(): string;
3252
+ get chooseButtonText(): string;
3226
3253
  clear(doneCallback?: () => void): void;
3227
3254
  get renderCapture(): string;
3228
3255
  get multipleRendered(): string;
@@ -3267,7 +3294,9 @@ declare module "question_file" {
3267
3294
  onDragLeave: (event: any) => void;
3268
3295
  doChange: (event: any) => void;
3269
3296
  doClean: (event: any) => void;
3297
+ private clearFilesCore;
3270
3298
  doRemoveFile(data: any): void;
3299
+ private removeFileCore;
3271
3300
  doDownloadFile: (event: any, data: any) => void;
3272
3301
  }
3273
3302
  export class FileLoader {
@@ -3451,14 +3480,14 @@ declare module "choicesRestful" {
3451
3480
  }
3452
3481
  declare module "question_baseselect" {
3453
3482
  import { SurveyError } from "survey-error";
3454
- import { ISurveyImpl, ISurvey } from "base-interfaces";
3483
+ import { ISurveyImpl, ISurvey, ISurveyData } from "base-interfaces";
3455
3484
  import { Question } from "question";
3456
3485
  import { ItemValue } from "itemvalue";
3457
3486
  import { ChoicesRestful } from "choicesRestful";
3458
3487
  import { LocalizableString } from "localizablestring";
3459
3488
  import { HashTable } from "helpers";
3460
3489
  /**
3461
- * A base class for multiple-choice question types ([Checkbox](https://surveyjs.io/form-library/documentation/questioncheckboxmodel), [Dropdown](https://surveyjs.io/form-library/documentation/questiondropdownmodel), [Radiogroup](https://surveyjs.io/form-library/documentation/questionradiogroupmodel), etc.).
3490
+ * A base class for multiple-choice question types ([Checkboxes](https://surveyjs.io/form-library/documentation/questioncheckboxmodel), [Dropdown](https://surveyjs.io/form-library/documentation/questiondropdownmodel), [Radio Button Group](https://surveyjs.io/form-library/documentation/questionradiogroupmodel), etc.).
3462
3491
  */
3463
3492
  export class QuestionSelectBase extends Question {
3464
3493
  visibleChoicesChangedCallback: () => void;
@@ -3472,7 +3501,6 @@ declare module "question_baseselect" {
3472
3501
  private cachedValueForUrlRequests;
3473
3502
  private isChoicesLoaded;
3474
3503
  private enableOnLoadingChoices;
3475
- private dependedQuestions;
3476
3504
  private noneItemValue;
3477
3505
  private newItemValue;
3478
3506
  private canShowOptionItemCallback;
@@ -3483,12 +3511,14 @@ declare module "question_baseselect" {
3483
3511
  constructor(name: string);
3484
3512
  getType(): string;
3485
3513
  dispose(): void;
3514
+ protected resetDependedQuestion(): void;
3486
3515
  get otherId(): string;
3487
3516
  protected getCommentElementsId(): Array<string>;
3488
3517
  protected getItemValueType(): string;
3489
3518
  createItemValue(value: any, text?: string): ItemValue;
3490
3519
  get isUsingCarryForward(): boolean;
3491
- private setIsUsingCarrayForward;
3520
+ get carryForwardQuestionType(): string;
3521
+ private setCarryForwardQuestionType;
3492
3522
  supportGoNextPageError(): boolean;
3493
3523
  isLayoutTypeSupported(layoutType: string): boolean;
3494
3524
  localeChanged(): void;
@@ -3644,34 +3674,46 @@ declare module "question_baseselect" {
3644
3674
  get choices(): Array<any>;
3645
3675
  set choices(newValue: Array<any>);
3646
3676
  /**
3647
- * Inherits choice items from a specified question. Accepts a question name.
3677
+ * Copies choice items from a specified question. Accepts a question name.
3648
3678
  *
3649
- * If you specify this property, the `choices`, `choicesVisibleIf`, `choicesEnableIf`, and `choicesOrder` properties do not apply because their values are inherited.
3679
+ * If you specify this property, the `choices`, `choicesVisibleIf`, `choicesEnableIf`, and `choicesOrder` properties do not apply because their values are copied.
3650
3680
  *
3651
- * In addition, you can specify the `choicesFromQuestionMode` property if you do not want to inherit all choice items.
3681
+ * In addition, you can specify the `choicesFromQuestionMode` property if you do not want to copy all choice items.
3652
3682
  * @see choicesFromQuestionMode
3653
3683
  * @see choices
3654
3684
  */
3655
3685
  get choicesFromQuestion(): string;
3656
3686
  set choicesFromQuestion(val: string);
3657
3687
  private isLockVisibleChoices;
3658
- private addIntoDependedQuestion;
3659
- private removeFromDependedQuestion;
3660
3688
  /**
3661
- * Specifies which choice items to inherit from another question. Applies only when the `choicesFromQuestion` property is specified.
3689
+ * Specifies which choice items to copy from another question. Applies only when the `choicesFromQuestion` property is specified.
3662
3690
  *
3663
3691
  * Possible values:
3664
3692
  *
3665
- * - `"all"` (default) - Inherits all choice items.
3666
- * - `"selected"` - Inherits only selected choice items.
3667
- * - `"unselected"` - Inherits only unselected choice items.
3693
+ * - `"all"` (default) - Copies all choice items.
3694
+ * - `"selected"` - Copies only selected choice items.
3695
+ * - `"unselected"` - Copies only unselected choice items.
3668
3696
  *
3669
- * Use the `visibleChoices` property to access inherited choice items.
3697
+ * Use the `visibleChoices` property to access copied choice items.
3670
3698
  * @see choicesFromQuestion
3671
3699
  * @see visibleChoices
3672
3700
  */
3673
3701
  get choicesFromQuestionMode(): string;
3674
3702
  set choicesFromQuestionMode(val: string);
3703
+ /**
3704
+ * Specifies which matrix column or dynamic panel question supplies choice values. Use this property to construct choice items based on cell values in Dynamic Matrix and question values in Dynamic Panel.
3705
+ *
3706
+ * Each choice item consists of a value saved in survey results and a text displayed in the UI. To construct a choice item, assign the `name` of a Dynamic Matrix or Dynamic Panel to the [`choicesFromQuestion`](#choicesFromQuestion) property and specify which dynamic panel question or matrix column supplies values and which provides texts. Use the `choiceValuesFromQuestion` and [`choiceTextsFromQuestion`](#choiceTextsFromQuestion) properties for this purpose. If a choice text is empty, a choice value is used as a display text and saved in survey results.
3707
+ */
3708
+ get choiceValuesFromQuestion(): string;
3709
+ set choiceValuesFromQuestion(val: string);
3710
+ /**
3711
+ * Specifies which matrix column or dynamic panel question supplies choice texts. Use this property to construct choice items based on cell values in Dynamic Matrix and question values in Dynamic Panel.
3712
+ *
3713
+ * Each choice item consists of a value saved in survey results and a text displayed in the UI. To construct a choice item, assign the `name` of a Dynamic Matrix or Dynamic Panel to the [`choicesFromQuestion`](#choicesFromQuestion) property and specify which dynamic panel question or matrix column supplies values and which provides texts. Use the [`choiceValuesFromQuestion`](#choiceValuesFromQuestion) and `choiceTextsFromQuestion` properties for this purpose. If a choice text is empty, a choice value is used as a display text and saved in survey results.
3714
+ */
3715
+ get choiceTextsFromQuestion(): string;
3716
+ set choiceTextsFromQuestion(val: string);
3675
3717
  /**
3676
3718
  * Specifies whether to hide the question if no choice items are visible.
3677
3719
  *
@@ -3771,8 +3813,14 @@ declare module "question_baseselect" {
3771
3813
  private getItemDisplayValue;
3772
3814
  private getFilteredChoices;
3773
3815
  protected get activeChoices(): Array<ItemValue>;
3816
+ getCarryForwardQuestion(data?: ISurveyData): Question;
3774
3817
  private getQuestionWithChoices;
3775
- private getChoicesFromQuestion;
3818
+ private findCarryForwardQuestion;
3819
+ private getQuestionWithChoicesCore;
3820
+ private getQuestionWithArrayValue;
3821
+ private getChoicesFromArrayQuestion;
3822
+ private getValueKeyName;
3823
+ private getChoicesFromSelectQuestion;
3776
3824
  private copyChoiceItem;
3777
3825
  protected get hasActiveChoices(): boolean;
3778
3826
  protected isHeadChoice(item: ItemValue, question: QuestionSelectBase): boolean;
@@ -3802,6 +3850,7 @@ declare module "question_baseselect" {
3802
3850
  private updateCachedValueForUrlRequests;
3803
3851
  private isUpdatingChoicesDependedQuestions;
3804
3852
  protected updateChoicesDependedQuestions(): void;
3853
+ protected updateDependedQuestion(): void;
3805
3854
  onSurveyValueChanged(newValue: any): void;
3806
3855
  protected onVisibleChoicesChanged(): void;
3807
3856
  protected isVisibleCore(): boolean;
@@ -4637,6 +4686,7 @@ declare module "question_matrixdynamic" {
4637
4686
  */
4638
4687
  get confirmDelete(): boolean;
4639
4688
  set confirmDelete(val: boolean);
4689
+ get isValueArray(): boolean;
4640
4690
  /**
4641
4691
  * Specifies a key column. Set this property to a column name, and the question will display `keyDuplicationError` if a user tries to enter a duplicate value in this column.
4642
4692
  * @see keyDuplicationError
@@ -4781,6 +4831,7 @@ declare module "question_matrixdynamic" {
4781
4831
  * @param confirmDelete *Optional.* A Boolean value that specifies whether to display a confirmation dialog. If you do not specify this parameter, the [`confirmDelete`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-matrix-table-question-model#confirmDelete) property value is used.
4782
4832
  */
4783
4833
  removeRow(index: number, confirmDelete?: boolean): void;
4834
+ private removeRowAsync;
4784
4835
  private removeRowCore;
4785
4836
  /**
4786
4837
  * A message displayed in a confirmation dialog that appears when a respondent wants to delete a row.
@@ -5263,6 +5314,17 @@ declare module "question_paneldynamic" {
5263
5314
  */
5264
5315
  get templateTitleLocation(): string;
5265
5316
  set templateTitleLocation(value: string);
5317
+ /**
5318
+ * Specifies the error message position.
5319
+ *
5320
+ * Possible values:
5321
+ *
5322
+ * - `"default"` (default) - Inherits the setting from the [`errorLocation`](#errorLocation) property.
5323
+ * - `"top"` - Displays error messages above questions.
5324
+ * - `"bottom"` - Displays error messages below questions.
5325
+ */
5326
+ get templateErrorLocation(): string;
5327
+ set templateErrorLocation(value: string);
5266
5328
  /**
5267
5329
  * Use this property to show/hide the numbers in titles in questions inside a dynamic panel.
5268
5330
  * By default the value is "off". You may set it to "onPanel" and the first question inside a dynamic panel will start with 1 or "onSurvey" to include nested questions in dymamic panels into global survey question numbering.
@@ -5355,6 +5417,7 @@ declare module "question_paneldynamic" {
5355
5417
  set defaultValueFromLastPanel(val: boolean);
5356
5418
  protected isDefaultValueEmpty(): boolean;
5357
5419
  protected setDefaultValue(): void;
5420
+ get isValueArray(): boolean;
5358
5421
  isEmpty(): boolean;
5359
5422
  getProgressInfo(): IProgressInfo;
5360
5423
  private isRowEmpty;
@@ -5443,6 +5506,7 @@ declare module "question_paneldynamic" {
5443
5506
  protected createNewPanel(): PanelModel;
5444
5507
  protected createAndSetupNewPanelObject(): PanelModel;
5445
5508
  private getTemplateQuestionTitleLocation;
5509
+ getChildErrorLocation(child: Question): string;
5446
5510
  protected createNewPanelObject(): PanelModel;
5447
5511
  private settingPanelCountBasedOnValue;
5448
5512
  private setPanelCountBasedOnValue;
@@ -5603,9 +5667,12 @@ declare module "survey-events-api" {
5603
5667
  }
5604
5668
  export interface CompleteBaseEvent {
5605
5669
  /**
5606
- * Returns `true` if survey completion is caused by the ["complete" trigger](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#complete).
5670
+ * Returns `true` if survey completion is caused by a ["complete" trigger](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#complete).
5607
5671
  */
5608
5672
  isCompleteOnTrigger: boolean;
5673
+ /**
5674
+ * A "complete" trigger that has been executed. This parameter has a value only if `options.isCompleteOnTrigger` is `true`.
5675
+ */
5609
5676
  completeTrigger?: Trigger;
5610
5677
  }
5611
5678
  export interface CompletingEvent extends CompleteBaseEvent {
@@ -5888,23 +5955,23 @@ declare module "survey-events-api" {
5888
5955
  }
5889
5956
  export interface GetQuestionTitleEvent extends QuestionEventMixin {
5890
5957
  /**
5891
- * a calculated question title, based on question `title`, `name`
5958
+ * A question title taken from the question's `title` or `name` property. You can change this parameter's value.
5892
5959
  */
5893
5960
  title: string;
5894
5961
  }
5895
5962
  export interface GetTitleTagNameEvent {
5896
5963
  /**
5897
- * an element title tagName that are used to render a title. You can change it from the default value
5964
+ * A survey element (question, panel, page, or the survey itself) for which the event is raised.
5898
5965
  */
5899
- tagName: string;
5966
+ element: Base;
5900
5967
  /**
5901
- * an element (question, panel, page and survey) that SurveyJS is going to render
5968
+ * A heading used to render the title (`"h1"`-`"h6"`). You can change this parameter's value.
5902
5969
  */
5903
- element: Base;
5970
+ tagName: string;
5904
5971
  }
5905
5972
  export interface GetQuestionNoEvent extends QuestionEventMixin {
5906
5973
  /**
5907
- * a calculated question no, based on question `visibleIndex`, survey `.questionStartIndex` properties. You can change it
5974
+ * A question number that is calculated based upon the question's [`visibleIndex`](https://surveyjs.io/form-library/documentation/api-reference/question#visibleIndex) and survey's [`questionStartIndex`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionStartIndex) properties. You can change this parameter's value.
5908
5975
  */
5909
5976
  no: string;
5910
5977
  }
@@ -6822,7 +6889,7 @@ declare module "question_textbase" {
6822
6889
  updateRemainingCharacterCounter(newValue: string, maxLength: number): void;
6823
6890
  }
6824
6891
  /**
6825
- * A base class for the [Text](https://surveyjs.io/form-library/documentation/questiontextmodel) and [Comment](https://surveyjs.io/form-library/documentation/questioncommentmodel) question types.
6892
+ * A base class for the [Single-Line Input](https://surveyjs.io/form-library/documentation/questiontextmodel) and [Long Text](https://surveyjs.io/form-library/documentation/questioncommentmodel) question types.
6826
6893
  */
6827
6894
  export class QuestionTextBase extends Question {
6828
6895
  constructor(name: string);
@@ -6893,7 +6960,7 @@ declare module "question_text" {
6893
6960
  import { SurveyError } from "survey-error";
6894
6961
  import { QuestionTextBase } from "question_textbase";
6895
6962
  /**
6896
- * A class that describes the Text question type.
6963
+ * A class that describes the Single-Line Input question type.
6897
6964
  *
6898
6965
  * [View Demo](https://surveyjs.io/form-library/examples/questiontype-text/ (linkStyle))
6899
6966
  */
@@ -6910,6 +6977,7 @@ declare module "question_text" {
6910
6977
  */
6911
6978
  get inputType(): string;
6912
6979
  set inputType(val: string);
6980
+ getMaxLength(): any;
6913
6981
  runCondition(values: HashTable<any>, properties: HashTable<any>): void;
6914
6982
  isLayoutTypeSupported(layoutType: string): boolean;
6915
6983
  /**
@@ -7038,7 +7106,7 @@ declare module "question_multipletext" {
7038
7106
  get a11y_input_ariaLabelledBy(): string;
7039
7107
  }
7040
7108
  /**
7041
- * A class that describes an item in a [Multiple Text](https://surveyjs.io/form-library/documentation/api-reference/multiple-text-entry-question-model) question.
7109
+ * A class that describes an item in a [Multiple Textboxes](https://surveyjs.io/form-library/documentation/api-reference/multiple-text-entry-question-model) question.
7042
7110
  *
7043
7111
  * [View Demo](/form-library/examples/multiple-text-box-question/)
7044
7112
  */
@@ -7191,6 +7259,19 @@ declare module "question_multipletext" {
7191
7259
  getConditionJson(operator?: string, path?: string): any;
7192
7260
  locStrsChanged(): void;
7193
7261
  localeChanged(): void;
7262
+ /**
7263
+ * Specifies the error message position relative to individual input fields.
7264
+ *
7265
+ * Possible values:
7266
+ *
7267
+ * - `"default"` (default) - Inherits the setting from the [`errorLocation`](#errorLocation) property.
7268
+ * - `"top"` - Displays error messages above input fields.
7269
+ * - `"bottom"` - Displays error messages below input fields.
7270
+ */
7271
+ get itemErrorLocation(): string;
7272
+ set itemErrorLocation(val: string);
7273
+ getQuestionErrorLocation(): string;
7274
+ getChildErrorLocation(child: Question): string;
7194
7275
  protected isNewValueCorrect(val: any): boolean;
7195
7276
  supportGoNextPageAutomatic(): boolean;
7196
7277
  /**
@@ -7373,7 +7454,7 @@ declare module "survey" {
7373
7454
  *
7374
7455
  * For information on event handler parameters, refer to descriptions within the interface.
7375
7456
  *
7376
- * [Continue an Incomplete Survey](https://surveyjs.io/form-library/documentation/handle-survey-results-continue-incomplete (linkStyle)).
7457
+ * [Continue an Incomplete Survey](https://surveyjs.io/form-library/documentation/handle-survey-results-continue-incomplete (linkStyle))
7377
7458
  */
7378
7459
  onPartialSend: EventBase<SurveyModel, {}>;
7379
7460
  /**
@@ -7564,26 +7645,37 @@ declare module "survey" {
7564
7645
  */
7565
7646
  onGetQuestionDisplayValue: EventBase<SurveyModel, GetQuestionDisplayValueEvent>;
7566
7647
  /**
7567
- * Use this event to change the question title in code. If you want to remove question numbering then set showQuestionNumbers to "off".
7568
- * @see showQuestionNumbers
7648
+ * An event that is raised before the survey displays a question title. Handle this event to modify question titles.
7649
+ *
7650
+ * For information on event handler parameters, refer to descriptions within the interface.
7651
+ *
7652
+ * If you want to modify question numbers, handle the [`onGetQuestionNo`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onGetQuestionNo) event.
7569
7653
  * @see requiredText
7570
7654
  */
7571
7655
  onGetQuestionTitle: EventBase<SurveyModel, GetQuestionTitleEvent>;
7572
7656
  /**
7573
- * Use this event to change the element title tag name that renders by default.
7574
- * @see showQuestionNumbers
7575
- * @see requiredText
7657
+ * An event that is raised when the survey calculates heading levels (`<h1>`, `<h2>`, etc.) for a survey, page, panel, and question title. Handle this event to change the heading level of individual titles.
7658
+ *
7659
+ * For information on event handler parameters, refer to descriptions within the interface.
7660
+ *
7661
+ * If you want to specify heading levels for all titles, use the [`titleTags`](https://surveyjs.io/form-library/documentation/api-reference/settings#titleTags) object in [global settings](https://surveyjs.io/form-library/documentation/api-reference/settings).
7662
+ * @see onGetQuestionTitle
7663
+ * @see onGetQuestionNo
7576
7664
  */
7577
7665
  onGetTitleTagName: EventBase<SurveyModel, GetTitleTagNameEvent>;
7578
7666
  /**
7579
- * Use this event to change the question no in code. If you want to remove question numbering then set showQuestionNumbers to "off".
7580
- * @see showQuestionNumbers
7667
+ * An event that is raised before the survey calculates a question number. Handle this event to modify question numbers.
7668
+ *
7669
+ * For information on event handler parameters, refer to descriptions within the interface.
7670
+ *
7671
+ * If you want to hide question numbers, disable the [`showQuestionNumbers`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showQuestionNumbers) property.
7672
+ * @see onGetQuestionTitle
7581
7673
  * @see questionStartIndex
7582
7674
  */
7583
7675
  onGetQuestionNo: EventBase<SurveyModel, GetQuestionNoEvent>;
7584
7676
  /**
7585
7677
  * Use this event to change the progress text in code.
7586
- * @see progressBarType
7678
+ * @see progressBarType
7587
7679
  */
7588
7680
  onProgressText: EventBase<SurveyModel, ProgressTextEvent>;
7589
7681
  /**
@@ -8217,7 +8309,7 @@ declare module "survey" {
8217
8309
  *
8218
8310
  * If you enable this property, the survey is also completed automatically. Set the [`allowCompleteSurveyAutomatic`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#allowCompleteSurveyAutomatic) property to `false` if you want to disable this behavior.
8219
8311
  *
8220
- * > If any of the following questions is answered last, the survey does not switch to the next page: Checkbox, Boolean (rendered as Checkbox), Comment, Signature Pad, Image Picker (with Multi Select), File, Single-Choice Matrix (not all rows are answered), Dynamic Matrix, Panel Dynamic.
8312
+ * > If any of the following questions is answered last, the survey does not switch to the next page: Checkboxes, Yes/No (Boolean) (rendered as Checkbox), Long Text, Signature, Image Picker (with Multi Select), File Upload, Single-Select Matrix (not all rows are answered), Dynamic Matrix, Dynamic Panel.
8221
8313
  *
8222
8314
  * [View Demo](https://surveyjs.io/form-library/examples/automatically-move-to-next-page-if-answer-selected/ (linkStyle))
8223
8315
  */
@@ -8448,9 +8540,7 @@ declare module "survey" {
8448
8540
  * An image to display in the background of the survey or form. Accepts a base64 or URL string value.
8449
8541
  * @see backgroundOpacity
8450
8542
  */
8451
- get backgroundImage(): string;
8452
- set backgroundImage(value: string);
8453
- get locBackgroundImage(): LocalizableString;
8543
+ backgroundImage: string;
8454
8544
  renderBackgroundImage: string;
8455
8545
  private updateRenderBackgroundImage;
8456
8546
  backgroundImageFit: ImageFit;
@@ -8601,15 +8691,17 @@ declare module "survey" {
8601
8691
  get showPageNumbers(): boolean;
8602
8692
  set showPageNumbers(value: boolean);
8603
8693
  /**
8604
- * Gets or sets a value that specifies how the question numbers are displayed.
8694
+ * Specifies whether to display question numbers and how to calculate them.
8605
8695
  *
8606
- * The following options are available:
8696
+ * Possible values:
8607
8697
  *
8608
- * - `on` - display question numbers
8609
- * - `onpage` - display question numbers, start numbering on every page
8610
- * - `off` - turn off the numbering for questions titles
8698
+ * - `true` or `"on"` - Displays question numbers.
8699
+ * - `"onpage"` - Displays question numbers and starts numbering on each page from scratch.
8700
+ * - `false` or `"off"` - Hides question numbers.
8611
8701
  *
8612
- * [View Demo](https://surveyjs.io/form-library/examples/survey-options/ (linkStyle))
8702
+ * [View Demo](https://surveyjs.io/form-library/examples/how-to-number-pages-and-questions/ (linkStyle))
8703
+ *
8704
+ * If you want to hide the number of an individual question, enable its [`hideNumber`](https://surveyjs.io/form-library/documentation/api-reference/question#hideNumber) property.
8613
8705
  */
8614
8706
  get showQuestionNumbers(): string | boolean;
8615
8707
  set showQuestionNumbers(value: string | boolean);
@@ -8659,12 +8751,14 @@ declare module "survey" {
8659
8751
  set questionTitleLocation(value: string);
8660
8752
  updateElementCss(reNew?: boolean): void;
8661
8753
  /**
8662
- * Gets or sets the error message position.
8754
+ * Specifies the error message position.
8663
8755
  *
8664
- * The following options are available:
8756
+ * Possible values:
8665
8757
  *
8666
- * - `top` - to show question error(s) over the question,
8667
- * - `bottom` - to show question error(s) under the question.
8758
+ * - `"top"` (default) - Displays error messages above questions.
8759
+ * - `"bottom"` - Displays error messages below questions.
8760
+ *
8761
+ * You can override this setting if you specify the `questionErrorLocation` property for an [individual page](https://surveyjs.io/form-library/documentation/pagemodel#questionErrorLocation) or [panel](https://surveyjs.io/form-library/documentation/panelmodel#questionErrorLocation) or set the `errorLocation` property for a [specific question](https://surveyjs.io/form-library/documentation/question#errorLocation).
8668
8762
  */
8669
8763
  get questionErrorLocation(): string;
8670
8764
  set questionErrorLocation(value: string);
@@ -9198,6 +9292,7 @@ declare module "survey" {
9198
9292
  * The `doComplete()` method completes the survey regardless of validation errors and the current page. If you need to ensure that survey results are valid and full, call the [`completeLastPage()`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#completeLastPage) method instead.
9199
9293
  *
9200
9294
  * @param isCompleteOnTrigger For internal use.
9295
+ * @param completeTrigger For internal use.
9201
9296
  * @returns `false` if survey completion is cancelled within the [`onCompleting`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onCompleting) event handler; otherwise, `true`.
9202
9297
  * @see surveyPostId
9203
9298
  */
@@ -9300,6 +9395,7 @@ declare module "survey" {
9300
9395
  matrixCellValueChanging(question: QuestionMatrixDropdownModelBase, options: MatrixCellValueChangingEvent): void;
9301
9396
  get isValidateOnValueChanging(): boolean;
9302
9397
  get isValidateOnValueChanged(): boolean;
9398
+ private get isValidateOnComplete();
9303
9399
  matrixCellValidate(question: QuestionMatrixDropdownModelBase, options: MatrixCellValidateEvent): SurveyError;
9304
9400
  dynamicPanelAdded(question: QuestionPanelDynamicModel, panelIndex?: number, panel?: PanelModel): void;
9305
9401
  dynamicPanelRemoved(question: QuestionPanelDynamicModel, panelIndex: number, panel: PanelModel): void;
@@ -10405,6 +10501,7 @@ declare module "question" {
10405
10501
  private locProcessedTitle;
10406
10502
  protected isReadyValue: boolean;
10407
10503
  private commentElements;
10504
+ private dependedQuestions;
10408
10505
  /**
10409
10506
  * An event that is raised when the question's ready state has changed (expressions are evaluated, choices are loaded from a web resource specified by the `choicesByUrl` property, etc.).
10410
10507
  *
@@ -10451,6 +10548,11 @@ declare module "question" {
10451
10548
  getPanel(): IPanel;
10452
10549
  delete(): void;
10453
10550
  protected removeFromParent(): void;
10551
+ protected addDependedQuestion(question: Question): void;
10552
+ protected removeDependedQuestion(question: Question): void;
10553
+ protected updateDependedQuestions(): void;
10554
+ protected updateDependedQuestion(): void;
10555
+ protected resetDependedQuestion(): void;
10454
10556
  get isFlowLayout(): boolean;
10455
10557
  getLayoutType(): string;
10456
10558
  isLayoutTypeSupported(layoutType: string): boolean;
@@ -10602,7 +10704,19 @@ declare module "question" {
10602
10704
  get hasTitleOnTop(): boolean;
10603
10705
  get hasTitleOnBottom(): boolean;
10604
10706
  get hasTitleOnLeftTop(): boolean;
10707
+ /**
10708
+ * Specifies the error message position. Overrides the `questionErrorLocation` property specified for the question's container ([survey](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionErrorLocation), [page](https://surveyjs.io/form-library/documentation/api-reference/page-model#questionErrorLocation), or [panel](https://surveyjs.io/form-library/documentation/api-reference/panel-model#questionErrorLocation)).
10709
+ *
10710
+ * Possible values:
10711
+ *
10712
+ * - `"default"` (default) - Inherits the setting from the `questionErrorLocation` property specified for the question's container.
10713
+ * - `"top"` - Displays error messages above questions.
10714
+ * - `"bottom"` - Displays error messages below questions.
10715
+ */
10605
10716
  get errorLocation(): string;
10717
+ set errorLocation(val: string);
10718
+ getErrorLocation(): string;
10719
+ getChildErrorLocation(child: Question): string;
10606
10720
  /**
10607
10721
  * Returns `false` if the question has no input fields ([HTML](https://surveyjs.io/form-library/documentation/questionhtmlmodel), [Image](https://surveyjs.io/form-library/documentation/questionimagemodel), and similar question types).
10608
10722
  * @see hasSingleInput
@@ -10828,10 +10942,35 @@ declare module "question" {
10828
10942
  private set questionValue(value);
10829
10943
  private get questionComment();
10830
10944
  private set questionComment(value);
10945
+ get isValueArray(): boolean;
10831
10946
  /**
10832
10947
  * Gets or sets the question value.
10833
- * @see SurveyModel.setValue
10834
- * @see SurveyModel.getValue
10948
+ *
10949
+ * The following table illustrates how the value type depends on the question type:
10950
+ *
10951
+ * | Question type | Value type(s) |
10952
+ * | ------------- | ------------- |
10953
+ * | Checkboxes | `Array<String \| Number>` |
10954
+ * | Dropdown | `String` \| `Number` |
10955
+ * | Dynamic Matrix | `Array<Object>` |
10956
+ * | Dynamic Panel | `Array<Object>` |
10957
+ * | Expression | `String` \| `Number` \| `Boolean` |
10958
+ * | File Upload | `File` \| `Array<File>` |
10959
+ * | HTML | (no value) |
10960
+ * | Image | (no value) |
10961
+ * | Image Picker | `Array<String \| Number>` |
10962
+ * | Long Text | `String` |
10963
+ * | Multi-Select Dropdown | `Object` |
10964
+ * | Multi-Select Matrix | `Object` |
10965
+ * | Multiple Textboxes | `Array<String>` |
10966
+ * | Panel | (no value) |
10967
+ * | Radio Button Group | `String` \| `Number` |
10968
+ * | Ranking | `Array<String \| Number>` |
10969
+ * | Rating Scale | `Number` \| `String` |
10970
+ * | Signature | `String` (base64-encoded image) |
10971
+ * | Single-Line Input | `String` \| `Number` \| `Date` |
10972
+ * | Single-Select Matrix | `Object` |
10973
+ * | Yes/No (Boolean) | `Boolean` \| `String` |
10835
10974
  */
10836
10975
  get value(): any;
10837
10976
  set value(newValue: any);
@@ -11030,7 +11169,9 @@ declare module "question" {
11030
11169
  protected runValidators(): Array<SurveyError>;
11031
11170
  private doOnAsyncCompleted;
11032
11171
  protected raiseOnCompletedAsyncValidators(): void;
11172
+ allowSpaceAsAnswer: boolean;
11033
11173
  private isValueChangedInSurvey;
11174
+ private isOldAnswered;
11034
11175
  protected allowNotifyValueChanged: boolean;
11035
11176
  protected setNewValue(newValue: any): void;
11036
11177
  protected isNewValueCorrect(val: any): boolean;
@@ -11423,6 +11564,31 @@ declare module "question_matrixdropdownbase" {
11423
11564
  set columnLayout(val: string);
11424
11565
  get columnsLocation(): string;
11425
11566
  set columnsLocation(val: string);
11567
+ /**
11568
+ * Specifies the error message position for question within detail sections.
11569
+ *
11570
+ * Possible values:
11571
+ *
11572
+ * - `"default"` (default) - Inherits the setting from the [`errorLocation`](#errorLocation) property.
11573
+ * - `"top"` - Displays error messages above questions.
11574
+ * - `"bottom"` - Displays error messages below questions.
11575
+ * @see cellErrorLocation
11576
+ */
11577
+ get detailErrorLocation(): string;
11578
+ set detailErrorLocation(value: string);
11579
+ /**
11580
+ * Specifies the error message position relative to matrix cells.
11581
+ *
11582
+ * Possible values:
11583
+ *
11584
+ * - `"default"` (default) - Inherits the setting from the [`errorLocation`](#errorLocation) property.
11585
+ * - `"top"` - Displays error messages above matrix cells.
11586
+ * - `"bottom"` - Displays error messages below matrix cells.
11587
+ * @see detailErrorLocation
11588
+ */
11589
+ get cellErrorLocation(): string;
11590
+ set cellErrorLocation(value: string);
11591
+ getChildErrorLocation(child: Question): string;
11426
11592
  /**
11427
11593
  * Returns `true` if columns are placed in the horizontal direction and rows in the vertical direction.
11428
11594
  *
@@ -11553,6 +11719,7 @@ declare module "question_matrixdropdownbase" {
11553
11719
  private isColumnVisibilityChanged;
11554
11720
  protected runTotalsCondition(values: HashTable<any>, properties: HashTable<any>): void;
11555
11721
  private getRowConditionValues;
11722
+ IsMultiplyColumn(column: MatrixDropdownColumn): boolean;
11556
11723
  locStrsChanged(): void;
11557
11724
  /**
11558
11725
  * Returns a matrix column with a given `name` or `null` if a column with this is not found.
@@ -11946,6 +12113,7 @@ declare module "base-interfaces" {
11946
12113
  getChildrenLayoutType(): string;
11947
12114
  getQuestionTitleLocation(): string;
11948
12115
  getQuestionStartIndex(): string;
12116
+ getQuestionErrorLocation(): string;
11949
12117
  parent: IPanel;
11950
12118
  elementWidthChanged(el: IElement): any;
11951
12119
  indexOf(el: IElement): number;
@@ -12290,7 +12458,9 @@ declare module "base" {
12290
12458
  * @param defaultValue (Optional) A value to return if the property is not found or does not have a value.
12291
12459
  */
12292
12460
  getPropertyValue(name: string, defaultValue?: any): any;
12293
- private getDefaultValueFromProperty;
12461
+ getDefaultPropertyValue(name: string): any;
12462
+ hasDefaultPropertyValue(name: string): boolean;
12463
+ resetPropertyValue(name: string): void;
12294
12464
  protected getPropertyValueWithoutDefault(name: string): any;
12295
12465
  protected getPropertyValueCore(propertiesHash: any, name: string): any;
12296
12466
  geValueFromHash(): any;
@@ -12852,12 +13022,6 @@ declare module "settings" {
12852
13022
  *
12853
13023
  * - `caseSensitive`: `Boolean`\
12854
13024
  * Specifies whether to differentiate between capital and lower-case letters. Default value: `false`.
12855
- *
12856
- * - `normalizedTextCallback`: `(str: string, reason: string) => string`
12857
- * Use the following function { str.normalize("NFD").replace(/[\u0300-\u036f]/g, ""); }
12858
- * If you want to 'Brouillé' to be equal to 'Brouille'.
12859
- * Use the following function { return reason === "filter" ? str.normalize("NFD").replace(/[\u0300-\u036f]/g, ""): ""; }
12860
- * If you want to use this functionality during filtering only, for example in list.
12861
13025
  */
12862
13026
  comparator: {
12863
13027
  trimStrings: boolean;
@@ -12893,10 +13057,20 @@ declare module "settings" {
12893
13057
  */
12894
13058
  tagboxCloseOnSelect: boolean;
12895
13059
  /**
12896
- * A property that allows you to display a custom confirm dialog instead of the standard browser dialog. Set this property to a function that renders your custom dialog window.
13060
+ * A property that allows you to display a custom confirm dialog instead of the standard browser dialog.
13061
+ *
13062
+ * Set this property to a function that renders your custom dialog window. This function should return `true` if a user confirms an action or `false` otherwise.
12897
13063
  * @param message A message to be displayed in the confirm dialog window.
12898
13064
  */
12899
13065
  confirmActionFunc: (message: string) => boolean;
13066
+ /**
13067
+ * A property that allows you to display a custom confirm dialog instead of the standard browser dialog in async mode.
13068
+ *
13069
+ * Set this property to a function that renders your custom dialog window. This function should return `true` to be enabled; otherwise, a survey executes the [`confirmActionFunc`](#confirmActionFunc) function. Pass the dialog result as the `callback` parameter: `true` if a user confirms an action, `false` otherwise.
13070
+ * @param message A message to be displayed in the confirm dialog window.
13071
+ * @param callback A callback function that should be called with `true` if a user confirms an action or `false` otherwise.
13072
+ */
13073
+ confirmActionAsync: (message: string, callback: (res: boolean) => void) => boolean;
12900
13074
  /**
12901
13075
  * A minimum width value for all survey elements.
12902
13076
  *
@@ -12988,11 +13162,22 @@ declare module "settings" {
12988
13162
  * - `"icon"` - Users can only use the choice item icon as a drag handle.
12989
13163
  */
12990
13164
  rankingDragHandleArea: string;
13165
+ environment: ISurveyEnvironment;
12991
13166
  /**
12992
- * Specifies environment in which SurveyJS will exist
13167
+ * Allows you to hide the maximum length indicator in text input questions.
13168
+ *
13169
+ * If you specify a question's [`maxLength`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maxLength) property or a survey's [`maxTextLength`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#maxTextLength) property, text input questions indicate the number of entered characters and the character limit. Assign `false` to the `settings.showMaxLengthIndicator` property if you want to hide this indicator.
13170
+ *
13171
+ * Default value: `true`
12993
13172
  */
12994
- environment: ISurveyEnvironment;
12995
13173
  showMaxLengthIndicator: boolean;
13174
+ /**
13175
+ * An object that specifies heading levels (`<h1>`, `<h2>`, etc.) to use when rendering survey, page, panel, and question titles.
13176
+ *
13177
+ * Default value: `{ survey: "h3", page: "h4", panel: "h4", question: "h5" }`
13178
+ *
13179
+ * If you want to modify heading levels for individual titles, handle `SurveyModel`'s [`onGetTitleTagName`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onGetTitleTagName) event.
13180
+ */
12996
13181
  titleTags: {
12997
13182
  survey: string;
12998
13183
  page: string;
@@ -13019,7 +13204,7 @@ declare module "question_matrixdropdown" {
13019
13204
  get locText(): LocalizableString;
13020
13205
  }
13021
13206
  /**
13022
- * A class that describes the Multiple-Choice Matrix question type. Multiple-Choice Matrix allows you to use the [Dropdown](https://surveyjs.io/form-library/documentation/questiondropdownmodel), [Checkbox](https://surveyjs.io/form-library/documentation/questioncheckboxmodel), [Radiogroup](https://surveyjs.io/form-library/documentation/questionradiogroupmodel), [Text](https://surveyjs.io/form-library/documentation/questiontextmodel), and [Comment](https://surveyjs.io/form-library/documentation/questioncommentmodel) question types as cell editors.
13207
+ * A class that describes the Multi-Select Matrix question type. Multi-Select Matrix allows you to use the [Dropdown](https://surveyjs.io/form-library/documentation/questiondropdownmodel), [Checkbox](https://surveyjs.io/form-library/documentation/questioncheckboxmodel), [Radiogroup](https://surveyjs.io/form-library/documentation/questionradiogroupmodel), [Text](https://surveyjs.io/form-library/documentation/questiontextmodel), and [Comment](https://surveyjs.io/form-library/documentation/questioncommentmodel) question types as cell editors.
13023
13208
  *
13024
13209
  * [View Demo](https://surveyjs.io/form-library/examples/questiontype-matrixdropdown/ (linkStyle))
13025
13210
  */
@@ -13095,6 +13280,7 @@ declare module "dropdownListModel" {
13095
13280
  clear(): void;
13096
13281
  protected onSetFilterString(): void;
13097
13282
  get isAllDataLoaded(): boolean;
13283
+ get canShowSelectedItem(): boolean;
13098
13284
  searchEnabled: boolean;
13099
13285
  filterString: string;
13100
13286
  inputString: string;
@@ -13322,7 +13508,7 @@ declare module "question_matrix" {
13322
13508
  protected createString(): LocalizableString;
13323
13509
  }
13324
13510
  /**
13325
- * A class that describes the Single-Choice Matrix question type.
13511
+ * A class that describes the Single-Select Matrix question type.
13326
13512
  *
13327
13513
  * [View Demo](https://surveyjs.io/form-library/examples/single-selection-matrix-table-question/ (linkStyle))
13328
13514
  */
@@ -13502,7 +13688,7 @@ declare module "question_checkbox" {
13502
13688
  import { IQuestion } from "base-interfaces";
13503
13689
  import { SurveyError } from "survey-error";
13504
13690
  /**
13505
- * A class that describes the Checkbox question type.
13691
+ * A class that describes the Checkboxes question type.
13506
13692
  *
13507
13693
  * [View Demo](https://surveyjs.io/form-library/examples/questiontype-checkbox/ (linkStyle))
13508
13694
  */
@@ -13562,6 +13748,7 @@ declare module "question_checkbox" {
13562
13748
  selectAll(): void;
13563
13749
  protected isItemSelectedCore(item: ItemValue): boolean;
13564
13750
  private getRealValue;
13751
+ get isValueArray(): boolean;
13565
13752
  /**
13566
13753
  * Specifies the maximum number of selected choices.
13567
13754
  *
@@ -13695,7 +13882,7 @@ declare module "question_tagbox" {
13695
13882
  import { EventBase } from "base";
13696
13883
  import { ItemValue } from "itemvalue";
13697
13884
  /**
13698
- * A Model for a tagbox question
13885
+ * A class that describes the Multi-Select Dropdown (Tag Box) question type.
13699
13886
  *
13700
13887
  * [View Demo](https://surveyjs.io/form-library/examples/how-to-create-multiselect-tag-box/ (linkStyle))
13701
13888
  */
@@ -14061,7 +14248,7 @@ declare module "question_ranking" {
14061
14248
  declare module "question_comment" {
14062
14249
  import { QuestionTextBase } from "question_textbase";
14063
14250
  /**
14064
- * A class that describes the Comment question type.
14251
+ * A class that describes the Long Text question type.
14065
14252
  *
14066
14253
  * [View Demo](https://surveyjs.io/form-library/examples/questiontype-comment/ (linkStyle))
14067
14254
  */
@@ -14115,7 +14302,7 @@ declare module "question_html" {
14115
14302
  import { QuestionNonValue } from "questionnonvalue";
14116
14303
  import { LocalizableString } from "localizablestring";
14117
14304
  /**
14118
- * A class that describes the Html question type. Unlike other question types, Html cannot have a title or value.
14305
+ * A class that describes the HTML question type. Unlike other question types, HTML cannot have a title or value.
14119
14306
  *
14120
14307
  * [View Demo](https://surveyjs.io/form-library/examples/questiontype-html/ (linkStyle))
14121
14308
  */
@@ -14142,7 +14329,7 @@ declare module "question_radiogroup" {
14142
14329
  import { ItemValue } from "itemvalue";
14143
14330
  import { Action } from "actions/action";
14144
14331
  /**
14145
- * A class that describes the Radiogroup question type.
14332
+ * A class that describes the Radio Button Group question type.
14146
14333
  *
14147
14334
  * [View Demo](https://surveyjs.io/form-library/examples/questiontype-radiogroup/ (linkStyle))
14148
14335
  */
@@ -14439,7 +14626,7 @@ declare module "question_boolean" {
14439
14626
  import { LocalizableString } from "localizablestring";
14440
14627
  import { ActionContainer } from "actions/container";
14441
14628
  /**
14442
- * A class that describes the Boolean question type.
14629
+ * A class that describes the Yes/No (Boolean) question type.
14443
14630
  *
14444
14631
  * [View Demo](https://surveyjs.io/form-library/examples/questiontype-boolean/ (linkStyle))
14445
14632
  */
@@ -14624,7 +14811,7 @@ declare module "question_signaturepad" {
14624
14811
  import { Question } from "question";
14625
14812
  import { ISurveyImpl } from "base-interfaces";
14626
14813
  /**
14627
- * A class that describes the Signature Page question type.
14814
+ * A class that describes the Signature question type.
14628
14815
  *
14629
14816
  * [View Demo](https://surveyjs.io/form-library/examples/signature-pad-widget-javascript/ (linkStyle))
14630
14817
  */
@@ -14862,9 +15049,11 @@ declare module "question_custom" {
14862
15049
  */
14863
15050
  title?: string;
14864
15051
  /**
14865
- * An icon for the custom question type.
15052
+ * The name of an icon to use for the custom question type.
15053
+ *
15054
+ * [UI Icons](https://surveyjs.io/form-library/documentation/icons (linkStyle))
14866
15055
  */
14867
- icon?: string;
15056
+ iconName?: string;
14868
15057
  /**
14869
15058
  * A function that is called when the custom question type is initialized. Use it to add, remove, or modify the type's properties (see [Override Base Question Properties](https://surveyjs.io/form-library/documentation/customize-question-types/create-composite-question-types#override-base-question-properties)).
14870
15059
  */
@@ -15105,6 +15294,7 @@ declare module "question_custom" {
15105
15294
  indexOf(el: IElement): number;
15106
15295
  ensureRowsVisibility(): void;
15107
15296
  validateContainerOnly(): void;
15297
+ getQuestionErrorLocation(): string;
15108
15298
  protected getContentDisplayValueCore(keyAsText: boolean, value: any, question: Question): any;
15109
15299
  }
15110
15300
  export class QuestionCustomModel extends QuestionCustomModelBase {
@@ -15437,7 +15627,7 @@ declare module "entries/chunks/model" {
15437
15627
  export { DropdownMultiSelectListModel } from "dropdownMultiSelectListModel";
15438
15628
  export { QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue } from "question_buttongroup";
15439
15629
  export { IsMobile, IsTouch, _setIsTouch } from "utils/devices";
15440
- export { confirmAction, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, IAttachKey2clickOptions } from "utils/utils";
15630
+ export { confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, IAttachKey2clickOptions } from "utils/utils";
15441
15631
  export * from "utils/cssClassBuilder";
15442
15632
  export { surveyCss, defaultV2Css, defaultV2ThemeName } from "defaultCss/defaultV2Css";
15443
15633
  export { DragDropCore } from "dragdrop/core";