survey-react 1.9.105 → 1.9.106

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
@@ -279,7 +279,9 @@ declare module "localizablestring" {
279
279
  private htmlValues;
280
280
  private renderedText;
281
281
  private calculatedTextValue;
282
- localizationName: string;
282
+ private _localizationName;
283
+ get localizationName(): string;
284
+ set localizationName(val: string);
283
285
  onGetTextCallback: (str: string) => string;
284
286
  onGetDefaultTextCallback: () => string;
285
287
  storeDefaultText: boolean;
@@ -308,8 +310,12 @@ declare module "localizablestring" {
308
310
  get textOrHtml(): string;
309
311
  get renderedHtml(): string;
310
312
  getLocaleText(loc: string): string;
311
- private getLocaleTextWithDefault;
313
+ private getLocaleTextCore;
314
+ private isLocaleTextEqualsWithDefault;
315
+ clear(): void;
316
+ clearLocale(loc?: string): void;
312
317
  setLocaleText(loc: string, value: string): void;
318
+ private isValueEmpty;
313
319
  private get curLocale();
314
320
  private canRemoveLocValue;
315
321
  private fireStrChanged;
@@ -1044,6 +1050,7 @@ declare module "actions/container" {
1044
1050
  defaultSizeMode: string;
1045
1051
  smallSizeMode: string;
1046
1052
  item: string;
1053
+ itemAsIcon: string;
1047
1054
  itemActive: string;
1048
1055
  itemPressed: string;
1049
1056
  itemIcon: string;
@@ -1465,6 +1472,7 @@ declare module "actions/action" {
1465
1472
  getEnabled(): boolean;
1466
1473
  setComponent(val: string): void;
1467
1474
  getComponent(): string;
1475
+ dispose(): void;
1468
1476
  }
1469
1477
  export class ActionDropdownViewModel {
1470
1478
  private item;
@@ -1526,6 +1534,7 @@ declare module "actions/adaptive-container" {
1526
1534
  minVisibleItemsCount: number;
1527
1535
  isResponsivenessDisabled: boolean;
1528
1536
  private hideItemsGreaterN;
1537
+ private getActionsToHide;
1529
1538
  private getVisibleItemsCount;
1530
1539
  private updateItemMode;
1531
1540
  private static ContainerID;
@@ -1570,6 +1579,7 @@ declare module "defaultCss/defaultV2Css" {
1570
1579
  rootMobile: string;
1571
1580
  rootReadOnly: string;
1572
1581
  rootCompact: string;
1582
+ rootFitToContainer: string;
1573
1583
  rootBackgroundImage: string;
1574
1584
  container: string;
1575
1585
  header: string;
@@ -1585,6 +1595,7 @@ declare module "defaultCss/defaultV2Css" {
1585
1595
  clockTimerMinorText: string;
1586
1596
  clockTimerMajorText: string;
1587
1597
  bodyEmpty: string;
1598
+ bodyLoading: string;
1588
1599
  footer: string;
1589
1600
  title: string;
1590
1601
  description: string;
@@ -1595,6 +1606,7 @@ declare module "defaultCss/defaultV2Css" {
1595
1606
  navigationButton: string;
1596
1607
  bodyNavigationButton: string;
1597
1608
  completedPage: string;
1609
+ completedBeforePage: string;
1598
1610
  timerRoot: string;
1599
1611
  navigation: {
1600
1612
  complete: string;
@@ -1868,6 +1880,9 @@ declare module "defaultCss/defaultV2Css" {
1868
1880
  content: string;
1869
1881
  row: string;
1870
1882
  cell: string;
1883
+ cellError: string;
1884
+ cellErrorTop: string;
1885
+ cellErrorBottom: string;
1871
1886
  };
1872
1887
  dropdown: {
1873
1888
  root: string;
@@ -3639,8 +3654,7 @@ declare module "question_baseselect" {
3639
3654
  protected rendredValueToDataCore(val: any): any;
3640
3655
  protected needConvertRenderedOtherToDataValue(): boolean;
3641
3656
  protected updateSelectedItemValues(): void;
3642
- protected updateSingleSelectedItemValues(): void;
3643
- protected updateMultipleSelectedItemValues(): void;
3657
+ private setCustomValuesIntoItems;
3644
3658
  protected hasUnknownValue(val: any, includeOther?: boolean, isFilteredChoices?: boolean, checkEmptyValue?: boolean): boolean;
3645
3659
  protected isValueDisabled(val: any): boolean;
3646
3660
  /**
@@ -4220,6 +4234,7 @@ declare module "question_matrixdropdowncolumn" {
4220
4234
  onColumnPropertyChanged(column: MatrixDropdownColumn, name: string, newValue: any): void;
4221
4235
  onColumnItemValuePropertyChanged(column: MatrixDropdownColumn, propertyName: string, obj: ItemValue, name: string, newValue: any, oldValue: any): void;
4222
4236
  onShowInMultipleColumnsChanged(column: MatrixDropdownColumn): void;
4237
+ onColumnVisibilityChanged(column: MatrixDropdownColumn): void;
4223
4238
  getCellType(): string;
4224
4239
  getCustomCellType(column: MatrixDropdownColumn, row: MatrixDropdownRowModelBase, cellType: string): string;
4225
4240
  onColumnCellTypeChanged(column: MatrixDropdownColumn): void;
@@ -4230,7 +4245,6 @@ declare module "question_matrixdropdowncolumn" {
4230
4245
  private templateQuestionValue;
4231
4246
  private colOwnerValue;
4232
4247
  private indexValue;
4233
- private _isVisible;
4234
4248
  private _hasVisibleCell;
4235
4249
  private _visiblechoices;
4236
4250
  constructor(name: string, title?: string);
@@ -4252,7 +4266,9 @@ declare module "question_matrixdropdowncolumn" {
4252
4266
  get templateQuestion(): Question;
4253
4267
  get value(): string;
4254
4268
  get isVisible(): boolean;
4255
- setIsVisible(newVal: boolean): void;
4269
+ get isColumnVisible(): boolean;
4270
+ get visible(): boolean;
4271
+ set visible(val: boolean);
4256
4272
  get hasVisibleCell(): boolean;
4257
4273
  set hasVisibleCell(newVal: boolean);
4258
4274
  getVisibleMultipleChoices(): Array<ItemValue>;
@@ -4339,6 +4355,7 @@ declare module "question_matrixdropdowncolumn" {
4339
4355
  protected propertyValueChanged(name: string, oldValue: any, newValue: any): void;
4340
4356
  private doItemValuePropertyChanged;
4341
4357
  private doShowInMultipleColumnsChanged;
4358
+ private doColumnVisibilityChanged;
4342
4359
  private getProperties;
4343
4360
  private removeProperties;
4344
4361
  private addProperties;
@@ -4375,6 +4392,7 @@ declare module "dragdrop/dom-adapter" {
4375
4392
  private currentX;
4376
4393
  private currentY;
4377
4394
  private savedTargetNode;
4395
+ private savedTargetNodeParent;
4378
4396
  private scrollIntervalId;
4379
4397
  constructor(dd: IDragDropEngine, longTap?: boolean);
4380
4398
  private get rootElement();
@@ -5573,7 +5591,7 @@ declare module "question_paneldynamic" {
5573
5591
  declare module "survey-events-api" {
5574
5592
  import { IAction } from "actions/action";
5575
5593
  import { Base } from "base";
5576
- import { IElement, ISurveyElement } from "base-interfaces";
5594
+ import { IElement, ISurveyElement, IValueItemCustomPropValues } from "base-interfaces";
5577
5595
  import { ItemValue } from "itemvalue";
5578
5596
  import { PageModel } from "page";
5579
5597
  import { PanelModel, PanelModelBase } from "panel";
@@ -6209,7 +6227,7 @@ declare module "survey-events-api" {
6209
6227
  /**
6210
6228
  * A method that you should call to assign display texts to the question.
6211
6229
  */
6212
- setItems: (displayValues: Array<string>) => void;
6230
+ setItems: (displayValues: Array<string>, ...customValues: Array<IValueItemCustomPropValues>) => void;
6213
6231
  /**
6214
6232
  * An array of one (in Dropdown) or more (in Tag Box) default values.
6215
6233
  */
@@ -6404,6 +6422,20 @@ declare module "survey-events-api" {
6404
6422
  */
6405
6423
  panel: PanelModel;
6406
6424
  }
6425
+ export interface DynamicPanelGetTabTitleEvent extends PanelDynamicQuestionEventMixin {
6426
+ /**
6427
+ * A panel whose tab title is being rendered.
6428
+ */
6429
+ panel: PanelModel;
6430
+ /**
6431
+ * The panel's index in the [`visiblePanels`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#visiblePanels) array of the Dynamic Panel.
6432
+ */
6433
+ visiblePanelIndex: number;
6434
+ /**
6435
+ * A tab title. You can change this parameter's value.
6436
+ */
6437
+ title: string;
6438
+ }
6407
6439
  export interface IsAnswerCorrectEvent extends QuestionEventMixin {
6408
6440
  /**
6409
6441
  * you may change the default number of correct or incorrect answers in the question, for example for matrix, where each row is a quiz question
@@ -7130,7 +7162,7 @@ declare module "question_multipletext" {
7130
7162
  localeChanged(): void;
7131
7163
  locStrsChanged(): void;
7132
7164
  setData(data: IMultipleTextData): void;
7133
- focusIn(): void;
7165
+ focusIn: () => void;
7134
7166
  /**
7135
7167
  * Set this property to true, to make the item a required. If a user doesn't fill the item then a validation error will be generated.
7136
7168
  */
@@ -7216,7 +7248,6 @@ declare module "question_multipletext" {
7216
7248
  */
7217
7249
  export class QuestionMultipleTextModel extends Question implements IMultipleTextData, IPanel {
7218
7250
  static addDefaultItems(question: QuestionMultipleTextModel): void;
7219
- colCountChangedCallback: () => void;
7220
7251
  constructor(name: string);
7221
7252
  getType(): string;
7222
7253
  setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
@@ -7273,6 +7304,8 @@ declare module "question_multipletext" {
7273
7304
  get itemErrorLocation(): string;
7274
7305
  set itemErrorLocation(val: string);
7275
7306
  getQuestionErrorLocation(): string;
7307
+ get showItemErrorOnTop(): boolean;
7308
+ get showItemErrorOnBottom(): boolean;
7276
7309
  getChildErrorLocation(child: Question): string;
7277
7310
  protected isNewValueCorrect(val: any): boolean;
7278
7311
  supportGoNextPageAutomatic(): boolean;
@@ -7288,6 +7321,9 @@ declare module "question_multipletext" {
7288
7321
  */
7289
7322
  get itemSize(): number;
7290
7323
  set itemSize(val: number);
7324
+ rows: Array<MutlipleTextRow>;
7325
+ protected onRowCreated(row: MutlipleTextRow): MutlipleTextRow;
7326
+ private calcVisibleRows;
7291
7327
  getRows(): Array<any>;
7292
7328
  private isMultipleItemValueChanging;
7293
7329
  protected onValueChanged(): void;
@@ -7320,7 +7356,25 @@ declare module "question_multipletext" {
7320
7356
  getItemLabelCss(item: MultipleTextItemModel): string;
7321
7357
  getItemCss(): string;
7322
7358
  getItemTitleCss(): string;
7323
- protected getIsTooltipErrorInsideSupported(): boolean;
7359
+ }
7360
+ export class MutlipleTextRow extends Base {
7361
+ isVisible: boolean;
7362
+ cells: Array<MultipleTextCell>;
7363
+ }
7364
+ export class MutlipleTextErrorRow extends MutlipleTextRow {
7365
+ onAfterCreated(): void;
7366
+ }
7367
+ export class MultipleTextCell {
7368
+ item: MultipleTextItemModel;
7369
+ protected question: QuestionMultipleTextModel;
7370
+ constructor(item: MultipleTextItemModel, question: QuestionMultipleTextModel);
7371
+ isErrorsCell: boolean;
7372
+ protected getClassName(): string;
7373
+ get className(): string;
7374
+ }
7375
+ export class MultipleTextErrorCell extends MultipleTextCell {
7376
+ isErrorsCell: boolean;
7377
+ protected getClassName(): string;
7324
7378
  }
7325
7379
  }
7326
7380
  declare module "themes" {
@@ -7340,7 +7394,7 @@ declare module "themes" {
7340
7394
  declare module "survey" {
7341
7395
  import { JsonError } from "jsonobject";
7342
7396
  import { Base, EventBase } from "base";
7343
- import { ISurvey, ISurveyData, ISurveyImpl, ITextProcessor, IQuestion, IPanel, IElement, IPage, ISurveyErrorOwner, ISurveyElement, IProgressInfo, IFindElement, ISurveyLayoutElement, IPlainDataOptions, LayoutElementContainer } from "base-interfaces";
7397
+ import { ISurvey, ISurveyData, ISurveyImpl, ITextProcessor, IQuestion, IPanel, IElement, IPage, ISurveyErrorOwner, ISurveyElement, IProgressInfo, IFindElement, ISurveyLayoutElement, IPlainDataOptions, LayoutElementContainer, IValueItemCustomPropValues } from "base-interfaces";
7344
7398
  import { SurveyElementCore } from "survey-element";
7345
7399
  import { ISurveyTriggerOwner, SurveyTrigger, Trigger } from "trigger";
7346
7400
  import { CalculatedValue } from "calculatedValue";
@@ -7358,7 +7412,7 @@ declare module "survey" {
7358
7412
  import { ActionContainer } from "actions/container";
7359
7413
  import { QuestionPanelDynamicModel } from "question_paneldynamic";
7360
7414
  import { Notifier } from "notifier";
7361
- import { TriggerExecutedEvent, CompletingEvent, CompleteEvent, ShowingPreviewEvent, NavigateToUrlEvent, CurrentPageChangingEvent, CurrentPageChangedEvent, ValueChangingEvent, ValueChangedEvent, VariableChangedEvent, QuestionVisibleChangedEvent, PageVisibleChangedEvent, PanelVisibleChangedEvent, QuestionCreatedEvent, QuestionAddedEvent, QuestionRemovedEvent, PanelAddedEvent, PanelRemovedEvent, PageAddedEvent, ValidateQuestionEvent, SettingQuestionErrorsEvent, ValidatePanelEvent, ErrorCustomTextEvent, ValidatedErrorsOnCurrentPageEvent, ProcessHtmlEvent, GetQuestionTitleEvent, GetTitleTagNameEvent, GetQuestionNoEvent, ProgressTextEvent, TextMarkdownEvent, TextRenderAsEvent, SendResultEvent, GetResultEvent, UploadFilesEvent, DownloadFileEvent, ClearFilesEvent, LoadChoicesFromServerEvent, ProcessTextValueEvent, UpdateQuestionCssClassesEvent, UpdatePanelCssClassesEvent, UpdatePageCssClassesEvent, UpdateChoiceItemCssEvent, AfterRenderSurveyEvent, AfterRenderHeaderEvent, AfterRenderPageEvent, AfterRenderQuestionEvent, AfterRenderQuestionInputEvent, AfterRenderPanelEvent, FocusInQuestionEvent, FocusInPanelEvent, ShowingChoiceItemEvent, ChoicesLazyLoadEvent, GetChoiceDisplayValueEvent, MatrixRowAddedEvent, MatrixBeforeRowAddedEvent, MatrixRowRemovingEvent, MatrixRowRemovedEvent, MatrixAllowRemoveRowEvent, MatrixCellCreatingEvent, MatrixCellCreatedEvent, MatrixAfterCellRenderEvent, MatrixCellValueChangedEvent, MatrixCellValueChangingEvent, MatrixCellValidateEvent, DynamicPanelModifiedEvent, DynamicPanelRemovingEvent, TimerPanelInfoTextEvent, DynamicPanelItemValueChangedEvent, IsAnswerCorrectEvent, DragDropAllowEvent, ScrollingElementToTopEvent, GetQuestionTitleActionsEvent, GetPanelTitleActionsEvent, GetPageTitleActionsEvent, GetPanelFooterActionsEvent, GetMatrixRowActionsEvent, ElementContentVisibilityChangedEvent, GetExpressionDisplayValueEvent, ServerValidateQuestionsEvent, MultipleTextItemAddedEvent, MatrixColumnAddedEvent, GetQuestionDisplayValueEvent, PopupVisibleChangedEvent } from "survey-events-api";
7415
+ import { TriggerExecutedEvent, CompletingEvent, CompleteEvent, ShowingPreviewEvent, NavigateToUrlEvent, CurrentPageChangingEvent, CurrentPageChangedEvent, ValueChangingEvent, ValueChangedEvent, VariableChangedEvent, QuestionVisibleChangedEvent, PageVisibleChangedEvent, PanelVisibleChangedEvent, QuestionCreatedEvent, QuestionAddedEvent, QuestionRemovedEvent, PanelAddedEvent, PanelRemovedEvent, PageAddedEvent, ValidateQuestionEvent, SettingQuestionErrorsEvent, ValidatePanelEvent, ErrorCustomTextEvent, ValidatedErrorsOnCurrentPageEvent, ProcessHtmlEvent, GetQuestionTitleEvent, GetTitleTagNameEvent, GetQuestionNoEvent, ProgressTextEvent, TextMarkdownEvent, TextRenderAsEvent, SendResultEvent, GetResultEvent, UploadFilesEvent, DownloadFileEvent, ClearFilesEvent, LoadChoicesFromServerEvent, ProcessTextValueEvent, UpdateQuestionCssClassesEvent, UpdatePanelCssClassesEvent, UpdatePageCssClassesEvent, UpdateChoiceItemCssEvent, AfterRenderSurveyEvent, AfterRenderHeaderEvent, AfterRenderPageEvent, AfterRenderQuestionEvent, AfterRenderQuestionInputEvent, AfterRenderPanelEvent, FocusInQuestionEvent, FocusInPanelEvent, ShowingChoiceItemEvent, ChoicesLazyLoadEvent, GetChoiceDisplayValueEvent, MatrixRowAddedEvent, MatrixBeforeRowAddedEvent, MatrixRowRemovingEvent, MatrixRowRemovedEvent, MatrixAllowRemoveRowEvent, MatrixCellCreatingEvent, MatrixCellCreatedEvent, MatrixAfterCellRenderEvent, MatrixCellValueChangedEvent, MatrixCellValueChangingEvent, MatrixCellValidateEvent, DynamicPanelModifiedEvent, DynamicPanelRemovingEvent, TimerPanelInfoTextEvent, DynamicPanelItemValueChangedEvent, DynamicPanelGetTabTitleEvent, IsAnswerCorrectEvent, DragDropAllowEvent, ScrollingElementToTopEvent, GetQuestionTitleActionsEvent, GetPanelTitleActionsEvent, GetPageTitleActionsEvent, GetPanelFooterActionsEvent, GetMatrixRowActionsEvent, ElementContentVisibilityChangedEvent, GetExpressionDisplayValueEvent, ServerValidateQuestionsEvent, MultipleTextItemAddedEvent, MatrixColumnAddedEvent, GetQuestionDisplayValueEvent, PopupVisibleChangedEvent } from "survey-events-api";
7362
7416
  import { QuestionMatrixDropdownModelBase } from "question_matrixdropdownbase";
7363
7417
  import { QuestionMatrixDynamicModel } from "question_matrixdynamic";
7364
7418
  import { QuestionFileModel } from "question_file";
@@ -7456,7 +7510,7 @@ declare module "survey" {
7456
7510
  *
7457
7511
  * For information on event handler parameters, refer to descriptions within the interface.
7458
7512
  *
7459
- * [Continue an Incomplete Survey](https://surveyjs.io/form-library/documentation/handle-survey-results-continue-incomplete (linkStyle))
7513
+ * Alternatively, you can handle the [`onCurrentPageChanged`](#onCurrentPageChanged) and [`onValueChanged`](#onValueChanged) events, as shown in the following demo: [Continue an Incomplete Survey](https://surveyjs.io/form-library/examples/survey-editprevious/).
7460
7514
  */
7461
7515
  onPartialSend: EventBase<SurveyModel, {}>;
7462
7516
  /**
@@ -7481,7 +7535,7 @@ declare module "survey" {
7481
7535
  */
7482
7536
  onValueChanging: EventBase<SurveyModel, ValueChangingEvent>;
7483
7537
  /**
7484
- * An event that is raised after a question value is changed
7538
+ * An event that is raised after a question value is changed.
7485
7539
  *
7486
7540
  * For information on event handler parameters, refer to descriptions within the interface.
7487
7541
  *
@@ -7969,6 +8023,10 @@ declare module "survey" {
7969
8023
  * An event that is raised after an item value is changed in a panel within a [Dynamic Panel](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/) question.
7970
8024
  */
7971
8025
  onDynamicPanelItemValueChanged: EventBase<SurveyModel, DynamicPanelItemValueChangedEvent>;
8026
+ /**
8027
+ * An event that is raised before a [Dynamic Panel](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/) renders [tab titles](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#templateTabTitle). Use this event to change individual tab titles.
8028
+ */
8029
+ onGetDynamicPanelTabTitle: EventBase<SurveyModel, DynamicPanelGetTabTitleEvent>;
7972
8030
  /**
7973
8031
  * Use this event to define, whether an answer to a question is correct or not.
7974
8032
  * @see Question.value
@@ -8076,7 +8134,10 @@ declare module "survey" {
8076
8134
  get bodyCss(): string;
8077
8135
  get bodyContainerCss(): string;
8078
8136
  completedCss: string;
8137
+ completedBeforeCss: string;
8138
+ loadingBodyCss: string;
8079
8139
  containerCss: string;
8140
+ fitToContainer: boolean;
8080
8141
  private getNavigationCss;
8081
8142
  private lazyRenderingValue;
8082
8143
  showBrandInfo: boolean;
@@ -8143,7 +8204,7 @@ declare module "survey" {
8143
8204
  /**
8144
8205
  * Specifies whether to save survey results when respondents switch between pages. Handle the [`onPartialSend`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onPartialSend) event to implement the save operation.
8145
8206
  *
8146
- * [Continue an Incomplete Survey](https://surveyjs.io/form-library/documentation/handle-survey-results-continue-incomplete (linkStyle))
8207
+ * Alternatively, you can handle the [`onCurrentPageChanged`](#onCurrentPageChanged) and [`onValueChanged`](#onValueChanged) events, as shown in the following demo: [Continue an Incomplete Survey](https://surveyjs.io/form-library/examples/survey-editprevious/).
8147
8208
  */
8148
8209
  get sendResultOnPageNext(): boolean;
8149
8210
  set sendResultOnPageNext(val: boolean);
@@ -8738,7 +8799,7 @@ declare module "survey" {
8738
8799
  get isShowProgressBarOnTop(): boolean;
8739
8800
  get isShowProgressBarOnBottom(): boolean;
8740
8801
  getProgressTypeComponent(): string;
8741
- getProgressCssClasses(): string;
8802
+ getProgressCssClasses(container?: string): string;
8742
8803
  private canShowProresBar;
8743
8804
  get processedTitle(): string;
8744
8805
  /**
@@ -9375,7 +9436,7 @@ declare module "survey" {
9375
9436
  getChoiceDisplayValue(options: {
9376
9437
  question: Question;
9377
9438
  values: Array<any>;
9378
- setItems: (displayValues: Array<string>) => void;
9439
+ setItems: (displayValues: Array<string>, ...customValues: Array<IValueItemCustomPropValues>) => void;
9379
9440
  }): void;
9380
9441
  matrixBeforeRowAdded(options: any): void;
9381
9442
  matrixRowAdded(question: QuestionMatrixDynamicModel, row: any): void;
@@ -9398,6 +9459,7 @@ declare module "survey" {
9398
9459
  dynamicPanelRemoved(question: QuestionPanelDynamicModel, panelIndex: number, panel: PanelModel): void;
9399
9460
  dynamicPanelRemoving(question: QuestionPanelDynamicModel, panelIndex: number, panel: PanelModel): boolean;
9400
9461
  dynamicPanelItemValueChanged(question: IQuestion, options: any): void;
9462
+ dynamicPanelGetTabTitle(question: IQuestion, options: any): void;
9401
9463
  dragAndDropAllow(options: DragDropAllowEvent): boolean;
9402
9464
  elementContentVisibilityChanged(element: ISurveyElement): void;
9403
9465
  getUpdatedPanelFooterActions(panel: PanelModel, actions: Array<IAction>, question?: QuestionPanelDynamicModel): Array<IAction>;
@@ -9499,36 +9561,42 @@ declare module "survey" {
9499
9561
  */
9500
9562
  removePage(page: PageModel): void;
9501
9563
  /**
9502
- * Returns a question by its name.
9503
- * @param name a question name
9504
- * @param caseInsensitive
9564
+ * Returns a question with a specified [`name`](https://surveyjs.io/form-library/documentation/api-reference/question#name).
9565
+ * @param name A question name
9566
+ * @param caseInsensitive (Optional) A Boolean value that specifies case sensitivity when searching for the question. Default value: `false` (uppercase and lowercase letters are treated as distinct).
9567
+ * @returns A question with a specified name.
9568
+ * @see getAllQuestions
9505
9569
  * @see getQuestionByValueName
9506
9570
  */
9507
9571
  getQuestionByName(name: string, caseInsensitive?: boolean): Question;
9508
9572
  findQuestionByName(name: string): IQuestion;
9509
9573
  /**
9510
- * Returns a question by its value name
9511
- * @param valueName a question name
9512
- * @param caseInsensitive
9574
+ * Returns a question with a specified [`valueName`](https://surveyjs.io/form-library/documentation/api-reference/question#valueName).
9575
+ *
9576
+ * > Since `valueName` does not have to be unique, multiple questions can have the same `valueName` value. In this case, the `getQuestionByValueName()` method returns the first such question. If you need to get all questions with the same `valueName`, call the `getQuestionsByValueName()` method.
9577
+ * @param valueName A question's `valueName` property value.
9578
+ * @param caseInsensitive (Optional) A Boolean value that specifies case sensitivity when searching for the question. Default value: `false` (uppercase and lowercase letters are treated as distinct).
9579
+ * @returns A question with a specified `valueName`.
9580
+ * @see getAllQuestions
9513
9581
  * @see getQuestionByName
9514
- * @see getQuestionsByValueName
9515
- * @see Question.valueName
9516
9582
  */
9517
- getQuestionByValueName(valueName: string, caseInsensitive?: boolean): IQuestion;
9583
+ getQuestionByValueName(valueName: string, caseInsensitive?: boolean): Question;
9518
9584
  /**
9519
- * Returns all questions by their valueName. name property is used if valueName property is empty.
9520
- * @param valueName a question name
9521
- * @param caseInsensitive
9585
+ * Returns all questions with a specified [`valueName`](https://surveyjs.io/form-library/documentation/api-reference/question#valueName). If a question's `valueName` is undefined, its [`name`](https://surveyjs.io/form-library/documentation/api-reference/question#name) property is used.
9586
+ * @param valueName A question's `valueName` property value.
9587
+ * @param caseInsensitive (Optional) A Boolean value that specifies case sensitivity when searching for the questions. Default value: `false` (uppercase and lowercase letters are treated as distinct).
9588
+ * @returns An array of questions with a specified `valueName`.
9589
+ * @see getAllQuestions
9522
9590
  * @see getQuestionByName
9523
- * @see getQuestionByValueName
9524
- * @see Question.valueName
9525
9591
  */
9526
9592
  getQuestionsByValueName(valueName: string, caseInsensitive?: boolean): Array<Question>;
9527
9593
  getCalculatedValueByName(name: string): CalculatedValue;
9528
9594
  /**
9529
- * Gets a list of questions by their names.
9530
- * @param names an array of question names
9531
- * @param caseInsensitive
9595
+ * Returns an array of questions with specified [names](https://surveyjs.io/form-library/documentation/api-reference/question#name).
9596
+ * @param names An array of question names.
9597
+ * @param caseInsensitive (Optional) A Boolean value that specifies case sensitivity when searching for the questions. Default value: `false` (uppercase and lowercase letters are treated as distinct).
9598
+ * @returns An array of questions with specified names
9599
+ * @see getAllQuestions
9532
9600
  */
9533
9601
  getQuestionsByNames(names: string[], caseInsensitive?: boolean): IQuestion[];
9534
9602
  /**
@@ -9552,26 +9620,36 @@ declare module "survey" {
9552
9620
  */
9553
9621
  getPagesByNames(names: string[]): PageModel[];
9554
9622
  /**
9555
- * Returns a list of all questions in the survey.
9623
+ * Returns a list of all [questions](https://surveyjs.io/form-library/documentation/api-reference/question) in the survey.
9556
9624
  * @param visibleOnly A Boolean value that specifies whether to include only visible questions.
9557
9625
  * @param includeDesignTime For internal use.
9558
9626
  * @param includeNested A Boolean value that specifies whether to include nested questions, such as questions within matrix cells.
9627
+ * @returns An array of questions.
9628
+ * @see getQuestionByName
9559
9629
  */
9560
9630
  getAllQuestions(visibleOnly?: boolean, includeDesignTime?: boolean, includeNested?: boolean): Array<Question>;
9561
9631
  /**
9562
- * Returns quiz questions. All visible questions that has input(s) widgets.
9632
+ * Returns an array of quiz questions. A question counts if it is visible, has an input field, and specifies [`correctAnswer`](https://surveyjs.io/form-library/documentation/api-reference/checkbox-question-model#correctAnswer).
9633
+ *
9634
+ * For more information about quizzes, refer to the following tutorial: [Create a Quiz](https://surveyjs.io/form-library/documentation/design-survey/create-a-quiz).
9635
+ * @returns An array of quiz questions.
9563
9636
  * @see getQuizQuestionCount
9564
9637
  */
9565
9638
  getQuizQuestions(): Array<IQuestion>;
9566
9639
  /**
9567
- * Returns a panel by its name.
9568
- * @param name a panel name
9569
- * @param caseInsensitive
9570
- * @see getQuestionByName
9640
+ * Returns a [panel](https://surveyjs.io/form-library/documentation/api-reference/panel-model) with a specified [`name`](https://surveyjs.io/form-library/documentation/api-reference/panel-model#name).
9641
+ * @param name A panel name.
9642
+ * @param caseInsensitive (Optional) A Boolean value that specifies case sensitivity when searching for the panel. Default value: `false` (uppercase and lowercase letters are treated as distinct).
9643
+ * @returns A panel with a specified name.
9644
+ * @see getAllPanels
9571
9645
  */
9572
9646
  getPanelByName(name: string, caseInsensitive?: boolean): PanelModel;
9573
9647
  /**
9574
- * Returns a list of all survey's panels.
9648
+ * Returns a list of all [panels](https://surveyjs.io/form-library/documentation/api-reference/panel-model) in the survey.
9649
+ * @param visibleOnly A Boolean value that specifies whether to include only visible panels.
9650
+ * @param includeDesignTime For internal use.
9651
+ * @returns An array of panels.
9652
+ * @see getPanelByName
9575
9653
  */
9576
9654
  getAllPanels(visibleOnly?: boolean, includeDesignTime?: boolean): Array<IPanel>;
9577
9655
  /**
@@ -9662,45 +9740,56 @@ declare module "survey" {
9662
9740
  questionCountByValueName(valueName: string): number;
9663
9741
  private clearInvisibleQuestionValues;
9664
9742
  /**
9665
- * Returns a variable value. Variable, unlike values, are not stored in the survey results.
9666
- * @param name A variable name
9667
- * @see SetVariable
9743
+ * Returns a variable value.
9744
+ *
9745
+ * [Variables help topic](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#variables (linkStyle))
9746
+ * @param name A variable name.
9747
+ * @return A variable value.
9748
+ * @see setVariable
9749
+ * @see getVariableNames
9668
9750
  */
9669
9751
  getVariable(name: string): any;
9670
9752
  /**
9671
- * Sets a variable value. Variable, unlike values, are not stored in the survey results.
9672
- * @param name A variable name
9673
- * @param newValue A variable new value
9674
- * @see GetVariable
9753
+ * Sets a variable value.
9754
+ *
9755
+ * [Variables help topic](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#variables (linkStyle))
9756
+ * @param name A variable name.
9757
+ * @param newValue A new variable value.
9758
+ * @see getVariable
9759
+ * @see getVariableNames
9675
9760
  */
9676
9761
  setVariable(name: string, newValue: any): void;
9677
9762
  /**
9678
- * Returns all variables in the survey. Use setVariable function to create a new variable.
9763
+ * Returns the names of all variables in the survey.
9764
+ *
9765
+ * [Variables help topic](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#variables (linkStyle))
9766
+ * @returns An array of variable names.
9679
9767
  * @see getVariable
9680
9768
  * @see setVariable
9681
9769
  */
9682
9770
  getVariableNames(): Array<string>;
9683
9771
  protected getUnbindValue(value: any): any;
9684
9772
  /**
9685
- * Returns a question value (answer) by a question's name.
9686
- * @param name A question name
9773
+ * Returns a value (answer) for a question with a specified `name`.
9774
+ * @param name A question name.
9775
+ * @returns A question value (answer).
9687
9776
  * @see data
9688
9777
  * @see setValue
9689
9778
  */
9690
9779
  getValue(name: string): any;
9691
9780
  /**
9692
- * Sets a question value (answer). It runs all triggers and conditions (`visibleIf` properties).
9781
+ * Sets a question value (answer).
9693
9782
  *
9694
- * Goes to the next page if `goNextPageAutomatic` is `true` and all questions on the current page are answered correctly.
9695
- * @param name A question name
9696
- * @param newValue A new question value
9783
+ * > This method executes all triggers and reevaluates conditions (`visibleIf`, `requiredId`, and others). It also switches the survey to the next page if the [`goNextPageAutomatic`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#goNextPageAutomatic) property is enabled and all questions on the current page have correct answers.
9784
+ * @param name A question name.
9785
+ * @param newValue A new question value.
9786
+ * @param locNotification For internal use.
9787
+ * @param allowNotifyValueChanged For internal use.
9697
9788
  * @see data
9698
9789
  * @see getValue
9699
- * @see PageModel.visibleIf
9700
- * @see Question.visibleIf
9701
- * @see goNextPageAutomatic
9702
9790
  */
9703
9791
  setValue(name: string, newQuestionValue: any, locNotification?: any, allowNotifyValueChanged?: boolean): void;
9792
+ private isValueEmpyOnSetValue;
9704
9793
  private updateOnSetValue;
9705
9794
  private isValueEqual;
9706
9795
  protected doOnPageAdded(page: PageModel): void;
@@ -9708,15 +9797,17 @@ declare module "survey" {
9708
9797
  private generateNewName;
9709
9798
  protected tryGoNextPageAutomatic(name: string): void;
9710
9799
  /**
9711
- * Returns the comment value.
9712
- * @param name A comment's name.
9800
+ * Returns a comment value from a question with a specified `name`.
9801
+ * @param name A question name.
9802
+ * @returns A comment.
9713
9803
  * @see setComment
9714
9804
  */
9715
9805
  getComment(name: string): string;
9716
9806
  /**
9717
- * Sets a comment value.
9718
- * @param name A comment name.
9807
+ * Sets a comment value to a question with a specified `name`.
9808
+ * @param name A question name.
9719
9809
  * @param newValue A new comment value.
9810
+ * @param locNotification For internal use.
9720
9811
  * @see getComment
9721
9812
  */
9722
9813
  setComment(name: string, newValue: string, locNotification?: any): void;
@@ -9760,17 +9851,31 @@ declare module "survey" {
9760
9851
  getSurveyMarkdownHtml(element: Question | PanelModel | PageModel | SurveyModel, text: string, name: string): string;
9761
9852
  getCorrectedAnswerCount(): number;
9762
9853
  /**
9763
- * Returns an amount of corrected quiz answers.
9854
+ * Returns the number of correct answers in a quiz.
9855
+ *
9856
+ * For more information about quizzes, refer to the following tutorial: [Create a Quiz](https://surveyjs.io/form-library/documentation/design-survey/create-a-quiz).
9857
+ * @returns The number of correct answers in a quiz.
9858
+ * @see getQuizQuestionCount
9859
+ * @see getInCorrectAnswerCount
9764
9860
  */
9765
9861
  getCorrectAnswerCount(): number;
9766
9862
  /**
9767
- * Returns quiz question number. It may be different from `getQuizQuestions.length` because some widgets like matrix may have several questions.
9863
+ * Returns the number of quiz questions. A question counts if it is visible, has an input field, and specifies [`correctAnswer`](https://surveyjs.io/form-library/documentation/api-reference/checkbox-question-model#correctAnswer).
9864
+ *
9865
+ * This number may be different from `getQuizQuestions().length` because certain question types (for instance, matrix-like types) include more than one question.
9866
+ *
9867
+ * For more information about quizzes, refer to the following tutorial: [Create a Quiz](https://surveyjs.io/form-library/documentation/design-survey/create-a-quiz).
9868
+ * @returns The number of quiz questions.
9768
9869
  * @see getQuizQuestions
9769
9870
  */
9770
9871
  getQuizQuestionCount(): number;
9771
9872
  getInCorrectedAnswerCount(): number;
9772
9873
  /**
9773
- * Returns an amount of incorrect quiz answers.
9874
+ * Returns the number of incorrect answers in a quiz.
9875
+ *
9876
+ * For more information about quizzes, refer to the following tutorial: [Create a Quiz](https://surveyjs.io/form-library/documentation/design-survey/create-a-quiz).
9877
+ * @returns The number of incorrect answers in a quiz.
9878
+ * @see getCorrectAnswerCount
9774
9879
  */
9775
9880
  getInCorrectAnswerCount(): number;
9776
9881
  onCorrectQuestionAnswer(question: IQuestion, options: any): void;
@@ -9979,6 +10084,10 @@ declare module "survey" {
9979
10084
  */
9980
10085
  dispose(): void;
9981
10086
  disposeCallback: () => void;
10087
+ private onScrollCallback;
10088
+ onScroll(): void;
10089
+ addScrollEventListener(): void;
10090
+ removeScrollEventListener(): void;
9982
10091
  }
9983
10092
  }
9984
10093
  declare module "survey-element" {
@@ -10303,10 +10412,6 @@ declare module "survey-element" {
10303
10412
  protected setPage(parent: IPanel, newPage: IPage): void;
10304
10413
  protected getSearchableLocKeys(keys: Array<string>): void;
10305
10414
  get isDefaultV2Theme(): boolean;
10306
- get isErrorsModeTooltip(): boolean;
10307
- protected getIsErrorsModeTooltip(): boolean;
10308
- protected getIsTooltipErrorSupportedByParent(): boolean;
10309
- protected getIsTooltipErrorInsideSupported(): boolean;
10310
10415
  get hasParent(): any;
10311
10416
  isSingleInRow: boolean;
10312
10417
  private shouldAddRunnerStyles;
@@ -10381,6 +10486,7 @@ declare module "survey-element" {
10381
10486
  protected getAdditionalTitleToolbar(): ActionContainer | null;
10382
10487
  protected getCssTitle(cssClasses: any): string;
10383
10488
  localeChanged(): void;
10489
+ dispose(): void;
10384
10490
  }
10385
10491
  }
10386
10492
  declare module "questionCustomWidgets" {
@@ -10564,6 +10670,7 @@ declare module "question" {
10564
10670
  get visible(): boolean;
10565
10671
  set visible(val: boolean);
10566
10672
  protected onVisibleChanged(): void;
10673
+ private updateIsVisibleProp;
10567
10674
  /**
10568
10675
  * Specifies whether to use display names for question values in placeholders.
10569
10676
  *
@@ -10815,11 +10922,9 @@ declare module "question" {
10815
10922
  get cssDescription(): string;
10816
10923
  protected setCssDescription(val: string): void;
10817
10924
  protected getCssDescription(cssClasses: any): string;
10818
- protected getIsErrorsModeTooltip(): boolean;
10819
10925
  showErrorOnCore(location: string): boolean;
10820
10926
  get showErrorOnTop(): boolean;
10821
10927
  get showErrorOnBottom(): boolean;
10822
- protected getIsTooltipErrorSupportedByParent(): boolean;
10823
10928
  private get showErrorsOutsideQuestion();
10824
10929
  get showErrorsAboveQuestion(): boolean;
10825
10930
  get showErrorsBelowQuestion(): boolean;
@@ -10975,6 +11080,8 @@ declare module "question" {
10975
11080
  */
10976
11081
  get value(): any;
10977
11082
  set value(newValue: any);
11083
+ get hasFilteredValue(): boolean;
11084
+ getFilteredValue(): any;
10978
11085
  get valueForSurvey(): any;
10979
11086
  /**
10980
11087
  * Sets the question's `value` and `comment` properties to `undefined`.
@@ -11374,7 +11481,7 @@ declare module "question_matrixdropdownbase" {
11374
11481
  import { ILocalizableOwner, LocalizableString } from "localizablestring";
11375
11482
  import { PanelModel } from "panel";
11376
11483
  import { SurveyError } from "survey-error";
11377
- import { MatrixDropdownColumn } from "question_matrixdropdowncolumn";
11484
+ import { IMatrixColumnOwner, MatrixDropdownColumn } from "question_matrixdropdowncolumn";
11378
11485
  import { QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable } from "question_matrixdropdownrendered";
11379
11486
  export interface IMatrixDropdownData {
11380
11487
  value: any;
@@ -11521,7 +11628,7 @@ declare module "question_matrixdropdownbase" {
11521
11628
  /**
11522
11629
  * A base class for the [QuestionMatrixDropdownModel](https://surveyjs.io/form-library/documentation/questionmatrixdropdownmodel) and [QuestionMatrixDynamicModel](https://surveyjs.io/form-library/documentation/questionmatrixdynamicmodel) classes.
11523
11630
  */
11524
- export class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseModel<MatrixDropdownRowModelBase, MatrixDropdownColumn> implements IMatrixDropdownData {
11631
+ export class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseModel<MatrixDropdownRowModelBase, MatrixDropdownColumn> implements IMatrixDropdownData, IMatrixColumnOwner {
11525
11632
  static get defaultCellType(): string;
11526
11633
  static set defaultCellType(val: string);
11527
11634
  static addDefaultColumns(matrix: QuestionMatrixDropdownModelBase): void;
@@ -11696,7 +11803,9 @@ declare module "question_matrixdropdownbase" {
11696
11803
  onColumnPropertyChanged(column: MatrixDropdownColumn, name: string, newValue: any): void;
11697
11804
  onColumnItemValuePropertyChanged(column: MatrixDropdownColumn, propertyName: string, obj: ItemValue, name: string, newValue: any, oldValue: any): void;
11698
11805
  onShowInMultipleColumnsChanged(column: MatrixDropdownColumn): void;
11806
+ onColumnVisibilityChanged(column: MatrixDropdownColumn): void;
11699
11807
  onColumnCellTypeChanged(column: MatrixDropdownColumn): void;
11808
+ private resetTableAndRows;
11700
11809
  getRowTitleWidth(): string;
11701
11810
  get hasFooter(): boolean;
11702
11811
  getAddRowLocation(): string;
@@ -11866,7 +11975,6 @@ declare module "question_matrixdropdownbase" {
11866
11975
  getRowHeaderWrapperComponentData(cell: MatrixDropdownCell): any;
11867
11976
  get showHorizontalScroll(): boolean;
11868
11977
  getRootCss(): string;
11869
- protected getIsTooltipErrorInsideSupported(): boolean;
11870
11978
  }
11871
11979
  }
11872
11980
  declare module "base-interfaces" {
@@ -11900,6 +12008,10 @@ declare module "base-interfaces" {
11900
12008
  export interface ISurveyErrorOwner extends ILocalizableOwner {
11901
12009
  getErrorCustomText(text: string, error: SurveyError): string;
11902
12010
  }
12011
+ export interface IValueItemCustomPropValues {
12012
+ propertyName: string;
12013
+ values: Array<any>;
12014
+ }
11903
12015
  export interface ISurvey extends ITextProcessor, ISurveyErrorOwner {
11904
12016
  getSkeletonComponentName(element: ISurveyElement): string;
11905
12017
  currentPage: IPage;
@@ -11992,7 +12104,7 @@ declare module "base-interfaces" {
11992
12104
  getChoiceDisplayValue(options: {
11993
12105
  question: IQuestion;
11994
12106
  values: Array<any>;
11995
- setItems: (displayValues: Array<string>) => void;
12107
+ setItems: (displayValues: Array<string>, ...customValues: Array<IValueItemCustomPropValues>) => void;
11996
12108
  }): void;
11997
12109
  matrixRowAdded(question: IQuestion, row: any): any;
11998
12110
  matrixColumnAdded(question: IQuestion, column: any): void;
@@ -12016,6 +12128,7 @@ declare module "base-interfaces" {
12016
12128
  dynamicPanelRemoved(question: IQuestion, panelIndex: number, panel: IPanel): void;
12017
12129
  dynamicPanelRemoving(question: IQuestion, panelIndex: number, panel: IPanel): boolean;
12018
12130
  dynamicPanelItemValueChanged(question: IQuestion, options: any): any;
12131
+ dynamicPanelGetTabTitle(question: IQuestion, options: any): any;
12019
12132
  dragAndDropAllow(options: DragDropAllowEvent): boolean;
12020
12133
  scrollElementToTop(element: ISurveyElement, question: IQuestion, page: IPage, id: string, scrollIfVisible?: boolean): any;
12021
12134
  runExpression(expression: string): any;
@@ -12317,6 +12430,9 @@ declare module "base" {
12317
12430
  static finishCollectDependencies(): Dependencies;
12318
12431
  static startCollectDependencies(updater: () => void, target: Base, property: string): void;
12319
12432
  private static collectDependency;
12433
+ dependencies: {
12434
+ [key: string]: ComputedUpdater;
12435
+ };
12320
12436
  static get commentSuffix(): string;
12321
12437
  static set commentSuffix(val: string);
12322
12438
  static get commentPrefix(): string;
@@ -12622,6 +12738,7 @@ declare module "popup" {
12622
12738
  contentComponentData: T;
12623
12739
  }
12624
12740
  export class PopupModel<T = any> extends Base {
12741
+ private onDispose;
12625
12742
  setWidthByTarget: boolean;
12626
12743
  focusFirstInputSelector: string;
12627
12744
  contentComponentName: string;
@@ -12644,12 +12761,13 @@ declare module "popup" {
12644
12761
  onFooterActionsCreated: EventBase<Base>;
12645
12762
  onRecalculatePosition: EventBase<Base>;
12646
12763
  private refreshInnerModel;
12647
- constructor(contentComponentName: string, contentComponentData: T, verticalPosition?: VerticalPosition, horizontalPosition?: HorizontalPosition, showPointer?: boolean, isModal?: boolean, onCancel?: () => void, onApply?: () => boolean, onHide?: () => void, onShow?: () => void, cssClass?: string, title?: string);
12764
+ constructor(contentComponentName: string, contentComponentData: T, verticalPosition?: VerticalPosition, horizontalPosition?: HorizontalPosition, showPointer?: boolean, isModal?: boolean, onCancel?: () => void, onApply?: () => boolean, onHide?: () => void, onShow?: () => void, cssClass?: string, title?: string, onDispose?: () => void);
12648
12765
  get isVisible(): boolean;
12649
12766
  set isVisible(value: boolean);
12650
12767
  toggleVisibility(): void;
12651
12768
  recalculatePosition(isResetHeight: boolean): void;
12652
12769
  updateFooterActions(footerActions: Array<IAction>): Array<IAction>;
12770
+ dispose(): void;
12653
12771
  }
12654
12772
  export function createDialogOptions(componentName: string, data: any, onApply: () => boolean, onCancel?: () => void, onHide?: () => void, onShow?: () => void, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): IDialogOptions;
12655
12773
  }
@@ -13306,6 +13424,7 @@ declare module "dropdownListModel" {
13306
13424
  get showHintString(): boolean;
13307
13425
  get hintStringSuffix(): string;
13308
13426
  get hintStringMiddle(): string;
13427
+ private qustionPropertyChangedHandler;
13309
13428
  constructor(question: Question, onSelectionChanged?: (item: IAction, ...params: any[]) => void);
13310
13429
  get popupModel(): PopupModel;
13311
13430
  get inputReadOnly(): boolean;
@@ -13776,6 +13895,8 @@ declare module "question_checkbox" {
13776
13895
  */
13777
13896
  get selectedChoices(): Array<ItemValue>;
13778
13897
  get selectedItems(): Array<ItemValue>;
13898
+ get hasFilteredValue(): boolean;
13899
+ getFilteredValue(): any;
13779
13900
  protected getMultipleSelectedItems(): Array<ItemValue>;
13780
13901
  protected validateItemValues(itemValues: Array<ItemValue>): Array<ItemValue>;
13781
13902
  protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
@@ -13846,6 +13967,7 @@ declare module "dropdownMultiSelectListModel" {
13846
13967
  protected popupCssClasses: string;
13847
13968
  filterStringPlaceholder: string;
13848
13969
  closeOnSelect: boolean;
13970
+ locStrsChanged(): void;
13849
13971
  private updateListState;
13850
13972
  private syncFilterStringPlaceholder;
13851
13973
  private getSelectedActions;
@@ -13890,8 +14012,10 @@ declare module "question_tagbox" {
13890
14012
  dropdownListModel: DropdownMultiSelectListModel;
13891
14013
  private itemDisplayNameMap;
13892
14014
  constructor(name: string);
14015
+ locStrsChanged(): void;
14016
+ readOnlyText: string;
14017
+ private updateReadOnlyText;
13893
14018
  protected getDefaultItemComponent(): string;
13894
- get readOnlyText(): any;
13895
14019
  onSurveyLoad(): void;
13896
14020
  /**
13897
14021
  * Specifies whether to display a button that clears the selected value.
@@ -14194,6 +14318,7 @@ declare module "question_ranking" {
14194
14318
  private isDragStartNodeValid;
14195
14319
  private get allowStartDrag();
14196
14320
  private canStartDragDueMaxSelectedChoices;
14321
+ private canStartDragDueItemEnabled;
14197
14322
  checkMaxSelectedChoicesUnreached(): boolean;
14198
14323
  afterRenderQuestionElement(el: HTMLElement): void;
14199
14324
  beforeDestroyQuestionElement(el: HTMLElement): void;
@@ -15030,7 +15155,6 @@ declare module "popup-survey" {
15030
15155
  private setCssButton;
15031
15156
  protected createSurvey(jsonObj: any): SurveyModel;
15032
15157
  protected onSurveyComplete(): void;
15033
- private onScrollCallback;
15034
15158
  onScroll(): void;
15035
15159
  }
15036
15160
  /**
@@ -15393,6 +15517,8 @@ declare module "popup-view-model" {
15393
15517
  import { ActionContainer } from "actions/container";
15394
15518
  export const FOCUS_INPUT_SELECTOR = "input:not(:disabled):not([readonly]):not([type=hidden]),select:not(:disabled):not([readonly]),textarea:not(:disabled):not([readonly]), button:not(:disabled):not([readonly]), [tabindex]:not([tabindex^=\"-\"])";
15395
15519
  export class PopupBaseViewModel extends Base {
15520
+ private static SubscriptionId;
15521
+ private subscriptionId;
15396
15522
  protected popupSelector: string;
15397
15523
  protected fixedPopupContainer: string;
15398
15524
  protected containerSelector: string;
@@ -15417,6 +15543,7 @@ declare module "popup-view-model" {
15417
15543
  protected getPopupHeaderTemplate(): string;
15418
15544
  protected createFooterActionBar(): void;
15419
15545
  protected resetDimensionsAndPositionStyleProperties(): void;
15546
+ protected onModelChanging(newModel: PopupModel): void;
15420
15547
  private setupModel;
15421
15548
  private _model;
15422
15549
  get model(): PopupModel;
@@ -15474,12 +15601,16 @@ declare module "popup-dropdown-view-model" {
15474
15601
  protected getPopupHeaderTemplate(): string;
15475
15602
  popupDirection: string;
15476
15603
  pointerTarget: IPosition;
15604
+ private recalculatePositionHandler;
15477
15605
  constructor(model: PopupModel, targetElement?: HTMLElement);
15478
15606
  setComponentElement(componentRoot: HTMLElement, targetElement?: HTMLElement | null): void;
15607
+ resetComponentElement(): void;
15479
15608
  updateOnShowing(): void;
15480
15609
  private get shouldCreateResizeCallback();
15481
15610
  updatePosition(isResetHeight: boolean, isDelayUpdating?: boolean): void;
15482
15611
  updateOnHiding(): void;
15612
+ protected onModelChanging(newModel: PopupModel): void;
15613
+ dispose(): void;
15483
15614
  }
15484
15615
  }
15485
15616
  declare module "popup-modal-view-model" {
@@ -15591,7 +15722,7 @@ declare module "entries/chunks/model" {
15591
15722
  export { MatrixDynamicRowModel, QuestionMatrixDynamicModel } from "question_matrixdynamic";
15592
15723
  export { MatrixRowModel, MatrixCells, QuestionMatrixModel, IMatrixData } from "question_matrix";
15593
15724
  export { QuestionMatrixBaseModel } from "martixBase";
15594
- export { MultipleTextItemModel, QuestionMultipleTextModel, MultipleTextEditorModel } from "question_multipletext";
15725
+ export { MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel } from "question_multipletext";
15595
15726
  export { PanelModel, PanelModelBase, QuestionRowModel } from "panel";
15596
15727
  export { FlowPanelModel } from "flowpanel";
15597
15728
  export { PageModel } from "page";
@@ -16512,15 +16643,6 @@ declare module "svgbundle" {
16512
16643
  export var SvgRegistry: SvgIconRegistry;
16513
16644
  export var SvgBundleViewModel: any;
16514
16645
  }
16515
- declare module "utils/tooltip" {
16516
- export class TooltipManager {
16517
- tooltipElement: HTMLElement;
16518
- private targetElement;
16519
- constructor(tooltipElement: HTMLElement);
16520
- dispose(): void;
16521
- private onMouseMoveCallback;
16522
- }
16523
- }
16524
16646
  declare module "entries/core-wo-model" {
16525
16647
  export * from "entries/chunks/model";
16526
16648
  export { defaultStandardCss } from "defaultCss/cssstandard";
@@ -16532,7 +16654,6 @@ declare module "entries/core-wo-model" {
16532
16654
  export * from "actions/action";
16533
16655
  export * from "actions/adaptive-container";
16534
16656
  export * from "actions/container";
16535
- export * from "utils/tooltip";
16536
16657
  export * from "utils/dragOrClickHelper";
16537
16658
  }
16538
16659
  declare module "entries/core" {
@@ -22670,6 +22791,7 @@ declare module "react/components/popup/popup" {
22670
22791
  private setTargetElement;
22671
22792
  componentDidMount(): void;
22672
22793
  componentDidUpdate(prevProps: any, prevState: any): void;
22794
+ componentWillUnmount(): void;
22673
22795
  shouldComponentUpdate(nextProps: IPopupProps, nextState: any): boolean;
22674
22796
  render(): JSX.Element;
22675
22797
  }
@@ -22801,11 +22923,7 @@ declare module "react/reactquestion" {
22801
22923
  protected get location(): string;
22802
22924
  private getState;
22803
22925
  protected canRender(): boolean;
22804
- private tooltipManager;
22805
- private tooltipRef;
22806
- componentDidUpdate(prevProps: any, prevState: any): void;
22807
22926
  componentWillUnmount(): void;
22808
- private disposeTooltipManager;
22809
22927
  protected renderElement(): JSX.Element;
22810
22928
  }
22811
22929
  export abstract class SurveyQuestionAndErrorsWrapped extends ReactSurveyElement {
@@ -22820,7 +22938,6 @@ declare module "react/reactquestion" {
22820
22938
  componentDidUpdate(prevProps: any, prevState: any): void;
22821
22939
  protected doAfterRender(): void;
22822
22940
  protected canRender(): boolean;
22823
- protected renderErrors(errorsLocation: string): JSX.Element;
22824
22941
  protected renderContent(): JSX.Element;
22825
22942
  protected abstract renderElement(): JSX.Element;
22826
22943
  protected getShowErrors(): boolean;
@@ -22836,6 +22953,16 @@ declare module "react/reactquestion" {
22836
22953
  protected getHeaderText(): string;
22837
22954
  protected wrapCell(cell: QuestionMatrixDropdownRenderedCell, element: JSX.Element): JSX.Element;
22838
22955
  }
22956
+ export class SurveyQuestionErrorCell extends React.Component<any, any> {
22957
+ constructor(props: any);
22958
+ private get question();
22959
+ private update;
22960
+ private registerCallback;
22961
+ private unRegisterCallback;
22962
+ componentDidUpdate(prevProps: Readonly<any>): void;
22963
+ componentWillUnmount(): void;
22964
+ render(): JSX.Element;
22965
+ }
22839
22966
  }
22840
22967
  declare module "react/reactquestion_element" {
22841
22968
  import * as React from "react";
@@ -23371,13 +23498,14 @@ declare module "react/reactquestion_file" {
23371
23498
  declare module "react/reactquestion_multipletext" {
23372
23499
  import { SurveyQuestionElementBase } from "react/reactquestion_element";
23373
23500
  import { SurveyQuestionAndErrorsWrapped } from "react/reactquestion";
23374
- import { QuestionMultipleTextModel, MultipleTextItemModel } from "entries/core";
23501
+ import { QuestionMultipleTextModel, MultipleTextItemModel, MultipleTextCell } from "entries/core";
23375
23502
  import { ReactSurveyElement } from "react/reactquestion_element";
23376
23503
  export class SurveyQuestionMultipleText extends SurveyQuestionElementBase {
23377
23504
  constructor(props: any);
23378
23505
  protected get question(): QuestionMultipleTextModel;
23379
23506
  protected renderElement(): JSX.Element;
23380
- protected renderRow(rowIndex: number, items: Array<MultipleTextItemModel>, cssClasses: any): JSX.Element;
23507
+ protected renderCell(cell: MultipleTextCell, cssClasses: any, index: number): JSX.Element;
23508
+ protected renderRow(rowIndex: number, cells: Array<MultipleTextCell>, cssClasses: any): JSX.Element;
23381
23509
  }
23382
23510
  export class SurveyMultipleTextItem extends ReactSurveyElement {
23383
23511
  private get question();
@@ -23385,7 +23513,6 @@ declare module "react/reactquestion_multipletext" {
23385
23513
  protected getStateElements(): (import("question_multipletext").MultipleTextEditorModel | MultipleTextItemModel)[];
23386
23514
  private get creator();
23387
23515
  protected renderElement(): JSX.Element;
23388
- protected renderItemTooltipError(item: MultipleTextItemModel, cssClasses: any): JSX.Element | null;
23389
23516
  }
23390
23517
  export class SurveyMultipleTextItemEditor extends SurveyQuestionAndErrorsWrapped {
23391
23518
  protected renderElement(): JSX.Element;
@@ -23502,7 +23629,6 @@ declare module "react/components/matrix-actions/drag-drop-icon/drag-drop-icon" {
23502
23629
  }
23503
23630
  }
23504
23631
  declare module "react/reactquestion_matrixdropdownbase" {
23505
- import * as React from "react";
23506
23632
  import { SurveyQuestionElementBase } from "react/reactquestion_element";
23507
23633
  import { SurveyQuestionAndErrorsCell } from "react/reactquestion";
23508
23634
  import { QuestionMatrixDropdownModelBase, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedCell, Question } from "entries/core";
@@ -23536,16 +23662,6 @@ declare module "react/reactquestion_matrixdropdownbase" {
23536
23662
  private renderCellCheckboxButton;
23537
23663
  private renderCellRadiogroupButton;
23538
23664
  }
23539
- export class SurveyQuestionMatrixDropdownErrorCell extends React.Component<any, any> {
23540
- constructor(props: any);
23541
- private get cell();
23542
- private update;
23543
- private registerCallback;
23544
- private unRegisterCallback;
23545
- componentDidUpdate(prevProps: Readonly<any>): void;
23546
- componentWillUnmount(): void;
23547
- render(): JSX.Element;
23548
- }
23549
23665
  }
23550
23666
  declare module "react/reactquestion_matrixdropdown" {
23551
23667
  import { SurveyQuestionMatrixDropdownBase } from "react/reactquestion_matrixdropdownbase";
@@ -23703,6 +23819,7 @@ declare module "react/components/list/list" {
23703
23819
  handleMouseMove: (event: any) => void;
23704
23820
  getStateElement(): ListModel<import("survey-core").Action>;
23705
23821
  componentDidMount(): void;
23822
+ componentWillUnmount(): void;
23706
23823
  renderElement(): JSX.Element;
23707
23824
  renderList(): JSX.Element;
23708
23825
  renderItems(): JSX.Element[];