survey-react 1.9.125 → 1.9.127

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
@@ -37,6 +37,7 @@ declare module "helpers" {
37
37
  static convertDateToString(date: Date): string;
38
38
  static convertDateTimeToString(date: Date): string;
39
39
  static convertValToQuestionVal(val: any, inputType?: string): any;
40
+ static compareVerions(ver1: string, ver2: string): number;
40
41
  }
41
42
  }
42
43
  declare module "localization/english" {
@@ -811,7 +812,7 @@ declare module "popup-view-model" {
811
812
  declare module "utils/utils" {
812
813
  function compareVersions(a: any, b: any): number;
813
814
  function confirmAction(message: string): boolean;
814
- function confirmActionAsync(message: string, funcOnYes: () => void, funcOnNo?: () => void): void;
815
+ function confirmActionAsync(message: string, funcOnYes: () => void, funcOnNo?: () => void, locale?: string): void;
815
816
  function detectIEBrowser(): boolean;
816
817
  function detectIEOrEdge(): boolean;
817
818
  function loadFileFromBase64(b64Data: string, fileName: string): void;
@@ -851,7 +852,7 @@ declare module "utils/utils" {
851
852
  log(action: string): void;
852
853
  get result(): string;
853
854
  }
854
- export function showConfirmDialog(message: string, callback: (res: boolean) => void, applyTitle?: string): boolean;
855
+ export function showConfirmDialog(message: string, callback: (res: boolean) => void, applyTitle?: string, locale?: string): boolean;
855
856
  export { mergeValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, confirmActionAsync, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, scrollElementByChildId, navigateToUrl, wrapUrlForBackgroundImage, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild, };
856
857
  }
857
858
  declare module "actions/container" {
@@ -1379,7 +1380,7 @@ declare module "survey-error" {
1379
1380
  private locTextValue;
1380
1381
  visible: boolean;
1381
1382
  constructor(text?: string, errorOwner?: ISurveyErrorOwner);
1382
- equalsTo(error: SurveyError): boolean;
1383
+ equals(error: SurveyError): boolean;
1383
1384
  get locText(): LocalizableString;
1384
1385
  getText(): string;
1385
1386
  getErrorType(): string;
@@ -1549,6 +1550,7 @@ declare module "defaultCss/defaultV2Css" {
1549
1550
  headerTop: string;
1550
1551
  headerBottom: string;
1551
1552
  content: string;
1553
+ contentSupportContainerQueries: string;
1552
1554
  contentLeft: string;
1553
1555
  titleNumInline: string;
1554
1556
  titleLeftRoot: string;
@@ -1699,6 +1701,7 @@ declare module "defaultCss/defaultV2Css" {
1699
1701
  small: string;
1700
1702
  controlDisabled: string;
1701
1703
  constrolWithCharacterCounter: string;
1704
+ characterCounterBig: string;
1702
1705
  content: string;
1703
1706
  remainingCharacterCounter: string;
1704
1707
  onError: string;
@@ -1787,6 +1790,7 @@ declare module "defaultCss/defaultV2Css" {
1787
1790
  rowError: string;
1788
1791
  cell: string;
1789
1792
  row: string;
1793
+ rowDisabled: string;
1790
1794
  headerCell: string;
1791
1795
  rowTextCell: string;
1792
1796
  label: string;
@@ -2023,13 +2027,18 @@ declare module "defaultCss/defaultV2Css" {
2023
2027
  };
2024
2028
  window: {
2025
2029
  root: string;
2030
+ rootCollapsedMod: string;
2031
+ rootContent: string;
2026
2032
  body: string;
2027
2033
  header: {
2028
2034
  root: string;
2029
- title: string;
2035
+ titleCollapsed: string;
2036
+ buttonsContainer: string;
2030
2037
  button: string;
2031
2038
  buttonExpanded: string;
2032
2039
  buttonCollapsed: string;
2040
+ collapseButton: string;
2041
+ closeButton: string;
2033
2042
  };
2034
2043
  };
2035
2044
  ranking: {
@@ -2155,6 +2164,8 @@ declare module "trigger" {
2155
2164
  get id(): number;
2156
2165
  getType(): string;
2157
2166
  toString(): string;
2167
+ isGhost: boolean;
2168
+ protected get isInternal(): boolean;
2158
2169
  get operator(): string;
2159
2170
  set operator(value: string);
2160
2171
  get value(): any;
@@ -2388,6 +2399,7 @@ declare module "textPreProcessor" {
2388
2399
  }
2389
2400
  declare module "question_custom" {
2390
2401
  import { Question, IConditionObject } from "question";
2402
+ import { JsonObjectProperty } from "jsonobject";
2391
2403
  import { ISurveyImpl, ISurveyData, ITextProcessor, IPanel, IElement, IQuestion, IProgressInfo } from "base-interfaces";
2392
2404
  import { SurveyElement } from "survey-element";
2393
2405
  import { PanelModel } from "panel";
@@ -2457,6 +2469,7 @@ declare module "question_custom" {
2457
2469
  * ```
2458
2470
  */
2459
2471
  defaultQuestionTitle?: any;
2472
+ inheritBaseProps?: false | true | Array<string>;
2460
2473
  /**
2461
2474
  * A function that is called when the custom question is created. Use it to access questions nested within a [composite question type](https://surveyjs.io/form-library/documentation/customize-question-types/create-composite-question-types).
2462
2475
  *
@@ -2609,6 +2622,7 @@ declare module "question_custom" {
2609
2622
  export class ComponentQuestionJSON {
2610
2623
  name: string;
2611
2624
  json: ICustomQuestionTypeConfiguration;
2625
+ private dynamicProperties;
2612
2626
  constructor(name: string, json: ICustomQuestionTypeConfiguration);
2613
2627
  onInit(): void;
2614
2628
  onCreated(question: Question): void;
@@ -2625,6 +2639,8 @@ declare module "question_custom" {
2625
2639
  setValueToQuestion(val: any): any;
2626
2640
  getValueFromQuestion(val: any): any;
2627
2641
  get isComposite(): boolean;
2642
+ getDynamicProperties(): Array<JsonObjectProperty>;
2643
+ private calcDynamicProperties;
2628
2644
  }
2629
2645
  export class ComponentCollection {
2630
2646
  static Instance: ComponentCollection;
@@ -2702,6 +2718,8 @@ declare module "question_custom" {
2702
2718
  private questionWrapper;
2703
2719
  private hasJSONTitle;
2704
2720
  getTemplate(): string;
2721
+ getDynamicProperties(): Array<JsonObjectProperty>;
2722
+ getDynamicType(): string;
2705
2723
  protected createWrapper(): void;
2706
2724
  protected getElement(): SurveyElement;
2707
2725
  onAnyValueChanged(name: string, questionName: string): void;
@@ -2726,6 +2744,7 @@ declare module "question_custom" {
2726
2744
  protected getValueCore(): any;
2727
2745
  private isSettingValueChanged;
2728
2746
  protected setValueChangedDirectly(val: boolean): void;
2747
+ private createDynamicProperties;
2729
2748
  protected initElement(el: SurveyElement): void;
2730
2749
  updateElementCss(reNew?: boolean): void;
2731
2750
  protected updateElementCssCore(cssClasses: any): void;
@@ -4321,6 +4340,8 @@ declare module "question_baseselect" {
4321
4340
  private isFirstLoadChoicesFromUrl;
4322
4341
  protected onBeforeSendRequest(): void;
4323
4342
  protected onLoadChoicesFromUrl(array: Array<ItemValue>): void;
4343
+ private canAvoidSettChoicesFromUrl;
4344
+ private setChoicesFromUrl;
4324
4345
  private createCachedValueForUrlRequests;
4325
4346
  private updateCachedValueForUrlRequests;
4326
4347
  private isUpdatingChoicesDependedQuestions;
@@ -5017,7 +5038,6 @@ declare module "question_matrixdropdowncolumn" {
5017
5038
  private getProperties;
5018
5039
  private removeProperties;
5019
5040
  private addProperties;
5020
- private addProperty;
5021
5041
  }
5022
5042
  }
5023
5043
  declare module "dragdrop/engine" {
@@ -5665,6 +5685,20 @@ declare module "themes" {
5665
5685
  * An object with [advanced survey header settings](https://surveyjs.io/form-library/documentation/api-reference/iheader). Applies when `SurveyModel`'s [`headerView`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#headerView) property is set to `"advanced"`.
5666
5686
  */
5667
5687
  header?: IHeader;
5688
+ /**
5689
+ * Specifies whether the survey header uses only basic appearance settings or applies advanced settings from the survey theme.
5690
+ *
5691
+ * Possible values:
5692
+ *
5693
+ * - `"basic"` (default)\
5694
+ * A basic header view applies only the [`title`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#title), [`description`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#description), and logo-related properties ([`logo`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#logo), [`logoPosition`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#logoPosition), etc.).
5695
+ *
5696
+ * - `"advanced"`\
5697
+ * An advanced header view applies the same properties as the basic view, plus [header settings](https://surveyjs.io/form-library/documentation/api-reference/iheader) from the [survey theme](https://surveyjs.io/form-library/documentation/api-reference/itheme#header). The advanced view features a more flexible header layout, a capability to specify a background image, and other settings that give a more professional look to the survey header.
5698
+ *
5699
+ * [View Demo](https://surveyjs.io/form-library/examples/brand-your-survey-header/ (linkStyle))
5700
+ */
5701
+ headerView?: "advanced" | "basic";
5668
5702
  /**
5669
5703
  * An object with CSS variables.
5670
5704
  */
@@ -5974,6 +6008,8 @@ declare module "question_paneldynamic" {
5974
6008
  * @see templateVisibleIf
5975
6009
  */
5976
6010
  get visiblePanels(): Array<PanelModel>;
6011
+ protected get panelsCore(): Array<PanelModel>;
6012
+ protected get visiblePanelsCore(): Array<PanelModel>;
5977
6013
  private onPanelAdded;
5978
6014
  private onPanelRemoved;
5979
6015
  private onPanelRemovedCore;
@@ -6359,6 +6395,11 @@ declare module "question_paneldynamic" {
6359
6395
  protected onReadOnlyChanged(): void;
6360
6396
  private updateNoEntriesTextDefaultLoc;
6361
6397
  onSurveyLoad(): void;
6398
+ private hasPanelBuildFirstTime;
6399
+ private isBuildingPanelsFirstTime;
6400
+ private buildPanelsFirstTime;
6401
+ private get wasNotRenderedInSurvey();
6402
+ private get canBuildPanels();
6362
6403
  onFirstRendering(): void;
6363
6404
  localeChanged(): void;
6364
6405
  runCondition(values: HashTable<any>, properties: HashTable<any>): void;
@@ -8516,6 +8557,27 @@ declare module "surveyTaskManager" {
8516
8557
  private taskFinished;
8517
8558
  }
8518
8559
  }
8560
+ declare module "surveyToc" {
8561
+ import { Action } from "actions/action";
8562
+ import { ListModel } from "list";
8563
+ import { PanelModelBase } from "panel";
8564
+ import { PopupModel } from "popup";
8565
+ import { SurveyModel } from "survey";
8566
+ export function tryFocusPage(survey: SurveyModel, panel: PanelModelBase): boolean;
8567
+ export function createTOCListModel(survey: SurveyModel, onAction?: () => void): ListModel<Action>;
8568
+ export function getTocRootCss(survey: SurveyModel, isMobile?: boolean): string;
8569
+ export class TOCModel {
8570
+ survey: SurveyModel;
8571
+ constructor(survey: SurveyModel);
8572
+ get isMobile(): boolean;
8573
+ get containerCss(): string;
8574
+ listModel: ListModel<Action>;
8575
+ popupModel: PopupModel;
8576
+ icon: string;
8577
+ togglePopup: () => void;
8578
+ dispose(): void;
8579
+ }
8580
+ }
8519
8581
  declare module "survey" {
8520
8582
  import { JsonError } from "jsonobject";
8521
8583
  import { Base, EventBase } from "base";
@@ -10655,7 +10717,7 @@ declare module "survey" {
10655
10717
  getUpdatedMatrixRowActions(question: QuestionMatrixDropdownModelBase, row: any, actions: Array<IAction>): IAction[];
10656
10718
  scrollElementToTop(element: ISurveyElement, question: Question, page: PageModel, id: string, scrollIfVisible?: boolean): any;
10657
10719
  /**
10658
- * Uploads a file to server.
10720
+ * Uploads files to a server.
10659
10721
  *
10660
10722
  * The following code shows how to call this method:
10661
10723
  *
@@ -10921,6 +10983,7 @@ declare module "survey" {
10921
10983
  private getProcessedValuesWithoutQuestion;
10922
10984
  private getFirstName;
10923
10985
  private reduceFirstName;
10986
+ private isClearingUnsedValues;
10924
10987
  private clearUnusedValues;
10925
10988
  hasVisibleQuestionByValueName(valueName: string): boolean;
10926
10989
  questionsByValueName(valueName: string): Array<IQuestion>;
@@ -11265,6 +11328,7 @@ declare module "survey" {
11265
11328
  * @returns The configuration of the previous layout element with the same `id`.
11266
11329
  */
11267
11330
  addLayoutElement(layoutElement: ISurveyLayoutElement): ISurveyLayoutElement;
11331
+ findLayoutElement(layoutElementId: string): ISurveyLayoutElement;
11268
11332
  removeLayoutElement(layoutElementId: string): ISurveyLayoutElement;
11269
11333
  getContainerContent(container: LayoutElementContainer): any[];
11270
11334
  processPopupVisiblityChanged(question: Question, popup: PopupModel<any>, visible: boolean): void;
@@ -11564,6 +11628,8 @@ declare module "survey-element" {
11564
11628
  set selectedElementInDesign(val: SurveyElement);
11565
11629
  updateCustomWidgets(): void;
11566
11630
  onSurveyLoad(): void;
11631
+ private wasRenderedValue;
11632
+ get wasRendered(): boolean;
11567
11633
  onFirstRendering(): void;
11568
11634
  endLoadingFromJson(): void;
11569
11635
  setVisibleIndex(index: number): number;
@@ -12142,6 +12208,7 @@ declare module "question" {
12142
12208
  get cssHeader(): string;
12143
12209
  protected setCssHeader(val: string): void;
12144
12210
  protected getCssHeader(cssClasses: any): string;
12211
+ protected supportContainerQueries(): boolean;
12145
12212
  get cssContent(): string;
12146
12213
  protected setCssContent(val: string): void;
12147
12214
  protected getCssContent(cssClasses: any): string;
@@ -13682,10 +13749,14 @@ declare module "base-interfaces" {
13682
13749
  export interface ILoadFromJSONOptions {
13683
13750
  validatePropertyValues?: boolean;
13684
13751
  }
13752
+ export interface ISaveToJSONOptions {
13753
+ storeDefaults?: boolean;
13754
+ version?: string;
13755
+ }
13685
13756
  }
13686
13757
  declare module "jsonobject" {
13687
13758
  import { Base } from "base";
13688
- import { ILoadFromJSONOptions } from "base-interfaces";
13759
+ import { ILoadFromJSONOptions, ISaveToJSONOptions } from "base-interfaces";
13689
13760
  export interface IPropertyDecoratorOptions<T = any> {
13690
13761
  defaultValue?: T;
13691
13762
  defaultSource?: string;
@@ -13757,6 +13828,7 @@ declare module "jsonobject" {
13757
13828
  minValue: any;
13758
13829
  private dataListValue;
13759
13830
  layout: string;
13831
+ version: string;
13760
13832
  onSerializeValue: (obj: any) => any;
13761
13833
  onGetValue: (obj: any) => any;
13762
13834
  onSettingValue: (obj: any, value: any) => any;
@@ -13804,6 +13876,9 @@ declare module "jsonobject" {
13804
13876
  isVisible(layout: string, obj?: any): boolean;
13805
13877
  get visible(): boolean;
13806
13878
  set visible(val: boolean);
13879
+ isAvailableInVersion(ver: string): boolean;
13880
+ getSerializedName(ver: string): string;
13881
+ private isAvailableInVersionCore;
13807
13882
  get isLocalizable(): boolean;
13808
13883
  set isLocalizable(val: boolean);
13809
13884
  get dataList(): Array<string>;
@@ -13877,7 +13952,10 @@ declare module "jsonobject" {
13877
13952
  overrideClassCreator(name: string, creator: () => any): void;
13878
13953
  getProperties(className: string): Array<JsonObjectProperty>;
13879
13954
  getPropertiesByObj(obj: any): Array<JsonObjectProperty>;
13955
+ addDynamicPropertiesIntoObj(dest: any, src: any, props: Array<JsonObjectProperty>): void;
13956
+ private addDynamicPropertyIntoObj;
13880
13957
  getDynamicPropertiesByObj(obj: any, dynamicType?: string): Array<JsonObjectProperty>;
13958
+ getDynamicPropertiesByTypes(objType: string, dynamicType: string, invalidNames?: Array<string>): Array<JsonObjectProperty>;
13881
13959
  hasOriginalProperty(obj: Base, propName: string): boolean;
13882
13960
  getOriginalProperty(obj: Base, propName: string): JsonObjectProperty;
13883
13961
  getProperty(className: string, propertyName: string): JsonObjectProperty;
@@ -13962,15 +14040,16 @@ declare module "jsonobject" {
13962
14040
  errors: JsonError[];
13963
14041
  lightSerializing: boolean;
13964
14042
  options: ILoadFromJSONOptions;
13965
- toJsonObject(obj: any, storeDefaults?: boolean): any;
14043
+ toJsonObject(obj: any, options?: ISaveToJSONOptions | boolean): any;
13966
14044
  toObject(jsonObj: any, obj: any, options?: ILoadFromJSONOptions): void;
13967
14045
  toObjectCore(jsonObj: any, obj: any, options?: ILoadFromJSONOptions): void;
13968
- toJsonObjectCore(obj: any, property: JsonObjectProperty, storeDefaults?: boolean): any;
14046
+ toJsonObjectCore(obj: any, property: JsonObjectProperty, options?: ISaveToJSONOptions | boolean): any;
13969
14047
  private getDynamicProperties;
13970
14048
  private addDynamicProperties;
13971
14049
  private propertiesToJson;
13972
- valueToJson(obj: any, result: any, property: JsonObjectProperty, storeDefaults?: boolean): void;
14050
+ valueToJson(obj: any, result: any, prop: JsonObjectProperty, options?: ISaveToJSONOptions): void;
13973
14051
  valueToObj(value: any, obj: any, property: JsonObjectProperty, jsonObj?: any, options?: ILoadFromJSONOptions): void;
14052
+ private removePosOnValueToJson;
13974
14053
  private removePos;
13975
14054
  private removePosFromObj;
13976
14055
  private isValueArray;
@@ -13994,7 +14073,7 @@ declare module "base" {
13994
14073
  import { HashTable } from "helpers";
13995
14074
  import { JsonObjectProperty } from "jsonobject";
13996
14075
  import { ItemValue } from "itemvalue";
13997
- import { IElement, IFindElement, IProgressInfo, ISurvey, ILoadFromJSONOptions } from "base-interfaces";
14076
+ import { IElement, IFindElement, IProgressInfo, ISurvey, ILoadFromJSONOptions, ISaveToJSONOptions } from "base-interfaces";
13998
14077
  import { ExpressionRunner } from "conditions";
13999
14078
  export class Bindings {
14000
14079
  private obj;
@@ -14065,6 +14144,8 @@ declare module "base" {
14065
14144
  * @param trimString *(Optional)* When this parameter is `true`, the method ignores whitespace characters at the beginning and end of a string value. Pass `false` to disable this functionality.
14066
14145
  */
14067
14146
  isValueEmpty(value: any, trimString?: boolean): boolean;
14147
+ equals(obj: Base): boolean;
14148
+ protected equalsCore(obj: Base): boolean;
14068
14149
  protected trimValue(value: any): any;
14069
14150
  protected isPropertyEmpty(value: any): boolean;
14070
14151
  static createPropertiesHash(): {};
@@ -14162,7 +14243,7 @@ declare module "base" {
14162
14243
  * Returns a JSON object that corresponds to the current SurveyJS object.
14163
14244
  * @see fromJSON
14164
14245
  */
14165
- toJSON(): any;
14246
+ toJSON(options?: ISaveToJSONOptions): any;
14166
14247
  /**
14167
14248
  * Assigns a new configuration to the current SurveyJS object. This configuration is taken from a passed JSON object.
14168
14249
  *
@@ -14326,10 +14407,7 @@ declare module "utils/popup" {
14326
14407
  export class PopupUtils {
14327
14408
  static bottomIndent: number;
14328
14409
  static calculatePosition(targetRect: ClientRect, height: number, width: number, verticalPosition: VerticalPosition, horizontalPosition: HorizontalPosition, showPointer: boolean, positionMode?: PositionMode): INumberPosition;
14329
- static getCorrectedVerticalDimensions(top: number, height: number, windowHeight: number): {
14330
- height: number;
14331
- top: number;
14332
- };
14410
+ static getCorrectedVerticalDimensions(top: number, height: number, windowHeight: number, verticalPosition: VerticalPosition): any;
14333
14411
  static updateHorizontalDimensions(left: number, width: number, windowWidth: number, horizontalPosition: HorizontalPosition, positionMode?: PositionMode, margins?: {
14334
14412
  left: number;
14335
14413
  right: number;
@@ -14770,7 +14848,7 @@ declare module "settings" {
14770
14848
  * @param message A message to be displayed in the confirm dialog window.
14771
14849
  * @param callback A callback function that should be called with `true` if a user confirms an action or `false` otherwise.
14772
14850
  */
14773
- confirmActionAsync: (message: string, callback: (res: boolean) => void, applyTitle?: string) => boolean;
14851
+ confirmActionAsync: (message: string, callback: (res: boolean) => void, applyTitle?: string, locale?: string) => boolean;
14774
14852
  /**
14775
14853
  * A minimum width value for all survey elements.
14776
14854
  *
@@ -15193,6 +15271,7 @@ declare module "question_dropdown" {
15193
15271
  }
15194
15272
  }
15195
15273
  declare module "question_matrix" {
15274
+ import { HashTable } from "helpers";
15196
15275
  import { ItemValue } from "itemvalue";
15197
15276
  import { QuestionMatrixBaseModel } from "martixBase";
15198
15277
  import { Base } from "base";
@@ -15203,12 +15282,14 @@ declare module "question_matrix" {
15203
15282
  export interface IMatrixData {
15204
15283
  onMatrixRowChanged(row: MatrixRowModel): void;
15205
15284
  getCorrectedRowValue(value: any): any;
15285
+ cssClasses: any;
15286
+ isInputReadOnly: boolean;
15206
15287
  hasErrorInRow(row: MatrixRowModel): boolean;
15207
15288
  }
15208
15289
  export class MatrixRowModel extends Base {
15290
+ item: ItemValue;
15209
15291
  fullName: string;
15210
15292
  private data;
15211
- private item;
15212
15293
  cellClick: any;
15213
15294
  constructor(item: ItemValue, fullName: string, data: IMatrixData, value: any);
15214
15295
  get name(): string;
@@ -15216,6 +15297,9 @@ declare module "question_matrix" {
15216
15297
  get locText(): LocalizableString;
15217
15298
  get value(): any;
15218
15299
  set value(val: any);
15300
+ setValueDirectly(val: any): void;
15301
+ get isReadOnly(): boolean;
15302
+ get rowTextClasses(): string;
15219
15303
  get rowClasses(): string;
15220
15304
  }
15221
15305
  export interface IMatrixCellsOwner extends ILocalizableOwner {
@@ -15302,12 +15386,18 @@ declare module "question_matrix" {
15302
15386
  locStrsChanged(): void;
15303
15387
  protected getQuizQuestionCount(): number;
15304
15388
  protected getCorrectAnswerCount(): number;
15389
+ protected runItemsCondition(values: HashTable<any>, properties: HashTable<any>): boolean;
15305
15390
  protected getVisibleRows(): Array<MatrixRowModel>;
15306
15391
  protected sortVisibleRows(array: Array<MatrixRowModel>): Array<MatrixRowModel>;
15307
15392
  endLoadingFromJson(): void;
15308
15393
  protected isNewValueCorrect(val: any): boolean;
15309
15394
  protected processRowsOnSet(newRows: Array<any>): MatrixRowModel[];
15310
15395
  get visibleRows(): Array<MatrixRowModel>;
15396
+ /**
15397
+ * An array of matrix cells. Use this array to get or set cell values.
15398
+ *
15399
+ * [View Demo](https://surveyjs.io/form-library/examples/questiontype-matrix-rubric/ (linkStyle))
15400
+ */
15311
15401
  get cells(): MatrixCells;
15312
15402
  set cells(value: MatrixCells);
15313
15403
  get hasCellText(): boolean;
@@ -15941,6 +16031,7 @@ declare module "question_ranking" {
15941
16031
  protected getDefaultItemComponent(): string;
15942
16032
  getType(): string;
15943
16033
  getItemTabIndex(item: ItemValue): number;
16034
+ protected supportContainerQueries(): boolean;
15944
16035
  get rootClass(): string;
15945
16036
  protected getItemClassCore(item: ItemValue, options: any): string;
15946
16037
  getContainerClasses(containerType?: string): string;
@@ -15982,6 +16073,7 @@ declare module "question_ranking" {
15982
16073
  handleKeydownSelectToRank(event: KeyboardEvent, movedElement: ItemValue): void;
15983
16074
  private setValueAfterKeydown;
15984
16075
  private focusItem;
16076
+ isValueSetByUser: boolean;
15985
16077
  setValue: () => void;
15986
16078
  getIconHoverCss(): string;
15987
16079
  getIconFocusCss(): string;
@@ -16004,6 +16096,7 @@ declare module "question_ranking" {
16004
16096
  */
16005
16097
  get selectToRankEnabled(): boolean;
16006
16098
  set selectToRankEnabled(val: boolean);
16099
+ carryForwardStartUnranked: boolean;
16007
16100
  /**
16008
16101
  * Specifies the layout of the ranked and unranked areas. Applies when [`selectToRankEnabled`](https://surveyjs.io/form-library/documentation/api-reference/ranking-question-model#selectToRankEnabled) is `true`.
16009
16102
  *
@@ -16531,6 +16624,8 @@ declare module "question_boolean" {
16531
16624
  protected supportResponsiveness(): boolean;
16532
16625
  protected getCompactRenderAs(): string;
16533
16626
  protected createActionContainer(allowAdaptiveActions?: boolean): ActionContainer;
16627
+ get isNewA11yStructure(): boolean;
16628
+ get a11y_input_ariaRole(): string;
16534
16629
  }
16535
16630
  }
16536
16631
  declare module "question_image" {
@@ -16621,27 +16716,6 @@ declare module "question_image" {
16621
16716
  private isVideo;
16622
16717
  }
16623
16718
  }
16624
- declare module "surveyToc" {
16625
- import { Action } from "actions/action";
16626
- import { ListModel } from "list";
16627
- import { PanelModelBase } from "panel";
16628
- import { PopupModel } from "popup";
16629
- import { SurveyModel } from "survey";
16630
- export function tryFocusPage(survey: SurveyModel, panel: PanelModelBase): boolean;
16631
- export function createTOCListModel(survey: SurveyModel, onAction?: () => void): ListModel<Action>;
16632
- export function getTocRootCss(survey: SurveyModel, isMobile?: boolean): string;
16633
- export class TOCModel {
16634
- survey: SurveyModel;
16635
- constructor(survey: SurveyModel);
16636
- get isMobile(): boolean;
16637
- get containerCss(): string;
16638
- listModel: ListModel<Action>;
16639
- popupModel: PopupModel;
16640
- icon: string;
16641
- togglePopup: () => void;
16642
- dispose(): void;
16643
- }
16644
- }
16645
16719
  declare module "surveyProgress" {
16646
16720
  export class SurveyProgressModel {
16647
16721
  static getProgressTextInBarCss(css: any): string;
@@ -16719,6 +16793,7 @@ declare module "popup-survey" {
16719
16793
  */
16720
16794
  get isExpanded(): boolean;
16721
16795
  set isExpanded(val: boolean);
16796
+ get isCollapsed(): boolean;
16722
16797
  protected onExpandedChanged(): void;
16723
16798
  /**
16724
16799
  * A title for the pop-up window. If this property is undefined, the title is taken from [`SurveyModel`](#survey)'s [`title`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#title) property.
@@ -16726,6 +16801,7 @@ declare module "popup-survey" {
16726
16801
  get title(): string;
16727
16802
  set title(value: string);
16728
16803
  get locTitle(): LocalizableString;
16804
+ get locDescription(): LocalizableString;
16729
16805
  /**
16730
16806
  * Expands the pop-up window.
16731
16807
  *
@@ -16756,10 +16832,14 @@ declare module "popup-survey" {
16756
16832
  get css(): any;
16757
16833
  get cssButton(): string;
16758
16834
  get cssRoot(): string;
16835
+ get cssRootCollapsedMod(): string;
16836
+ get cssRootContent(): string;
16759
16837
  get cssBody(): string;
16760
16838
  get cssHeaderRoot(): string;
16761
- get cssHeaderTitle(): string;
16762
- get cssHeaderButton(): string;
16839
+ get cssHeaderTitleCollapsed(): string;
16840
+ get cssHeaderButtonsContainer(): string;
16841
+ get cssHeaderCollapseButton(): string;
16842
+ get cssHeaderCloseButton(): string;
16763
16843
  get renderedWidth(): string;
16764
16844
  width: string;
16765
16845
  private updateCss;
@@ -17347,13 +17427,18 @@ declare module "defaultCss/cssstandard" {
17347
17427
  };
17348
17428
  window: {
17349
17429
  root: string;
17430
+ rootCollapsedMod: string;
17431
+ rootContent: string;
17350
17432
  body: string;
17351
17433
  header: {
17352
17434
  root: string;
17353
- title: string;
17435
+ titleCollapsed: string;
17436
+ buttonsContainer: string;
17354
17437
  button: string;
17355
17438
  buttonExpanded: string;
17356
17439
  buttonCollapsed: string;
17440
+ collapseButton: string;
17441
+ closeButton: string;
17357
17442
  };
17358
17443
  };
17359
17444
  variables: {
@@ -17812,13 +17897,18 @@ declare module "defaultCss/cssmodern" {
17812
17897
  };
17813
17898
  window: {
17814
17899
  root: string;
17900
+ rootCollapsedMod: string;
17901
+ rootContent: string;
17815
17902
  body: string;
17816
17903
  header: {
17817
17904
  root: string;
17818
- title: string;
17905
+ titleCollapsed: string;
17906
+ buttonsContainer: string;
17819
17907
  button: string;
17820
17908
  buttonExpanded: string;
17821
17909
  buttonCollapsed: string;
17910
+ collapseButton: string;
17911
+ closeButton: string;
17822
17912
  };
17823
17913
  };
17824
17914
  variables: {
@@ -25154,7 +25244,7 @@ declare module "react/dropdown-select" {
25154
25244
  }
25155
25245
  declare module "react/reactquestion_matrix" {
25156
25246
  import { ReactSurveyElement, SurveyQuestionElementBase } from "react/reactquestion_element";
25157
- import { QuestionMatrixModel } from "entries/core";
25247
+ import { QuestionMatrixModel, Base } from "entries/core";
25158
25248
  export class SurveyQuestionMatrix extends SurveyQuestionElementBase {
25159
25249
  constructor(props: any);
25160
25250
  protected get question(): QuestionMatrixModel;
@@ -25164,6 +25254,7 @@ declare module "react/reactquestion_matrix" {
25164
25254
  }
25165
25255
  export class SurveyQuestionMatrixRow extends ReactSurveyElement {
25166
25256
  constructor(props: any);
25257
+ protected getStateElement(): Base | null;
25167
25258
  private get question();
25168
25259
  private get row();
25169
25260
  protected wrapCell(cell: any, element: JSX.Element, reason: string): JSX.Element;
@@ -25609,8 +25700,8 @@ declare module "react/reactquestion_expression" {
25609
25700
  }
25610
25701
  }
25611
25702
  declare module "react/react-popup-survey" {
25612
- import { Survey } from "react/reactSurvey";
25613
25703
  import { Base, PopupSurveyModel } from "entries/core";
25704
+ import { Survey } from "react/reactSurvey";
25614
25705
  export class PopupSurvey extends Survey {
25615
25706
  protected popup: PopupSurveyModel;
25616
25707
  constructor(props: any);
@@ -25619,6 +25710,10 @@ declare module "react/react-popup-survey" {
25619
25710
  protected canRender(): boolean;
25620
25711
  protected renderElement(): JSX.Element;
25621
25712
  protected renderWindowHeader(): JSX.Element;
25713
+ protected renderTitleCollapsed(popup: PopupSurveyModel): JSX.Element | null;
25714
+ protected renderExpandIcon(): JSX.Element;
25715
+ protected renderCollapseIcon(): JSX.Element;
25716
+ protected renderCloseButton(popup: PopupSurveyModel): JSX.Element;
25622
25717
  protected renderBody(): JSX.Element;
25623
25718
  protected createSurvey(newProps: any): void;
25624
25719
  }