survey-react 1.9.81 → 1.9.83

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
@@ -679,6 +679,7 @@ declare module "localizablestring" {
679
679
  sharedData: LocalizableString;
680
680
  searchText: string;
681
681
  searchIndex: number;
682
+ disableLocalization: boolean;
682
683
  constructor(owner: ILocalizableOwner, useMarkdown?: boolean, name?: string);
683
684
  getIsMultiple(): boolean;
684
685
  get locale(): string;
@@ -699,6 +700,7 @@ declare module "localizablestring" {
699
700
  getLocaleText(loc: string): string;
700
701
  private getLocaleTextWithDefault;
701
702
  setLocaleText(loc: string, value: string): void;
703
+ private get curLocale();
702
704
  private canRemoveLocValue;
703
705
  private fireStrChanged;
704
706
  hasNonDefaultText(): boolean;
@@ -2040,6 +2042,7 @@ declare module "survey-element" {
2040
2042
  get ariaTitleId(): string;
2041
2043
  get titleTabIndex(): number;
2042
2044
  get titleAriaExpanded(): any;
2045
+ get titleAriaRole(): any;
2043
2046
  get ariaLabel(): string;
2044
2047
  get titleAriaLabel(): string | null;
2045
2048
  protected getIsTitleRenderedAsString(): boolean;
@@ -2168,6 +2171,7 @@ declare module "survey-element" {
2168
2171
  get hasTitleEvents(): boolean;
2169
2172
  get titleTabIndex(): number;
2170
2173
  get titleAriaExpanded(): any;
2174
+ get titleAriaRole(): any;
2171
2175
  setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
2172
2176
  protected canRunConditions(): boolean;
2173
2177
  getDataFilteredValues(): any;
@@ -2946,6 +2950,7 @@ declare module "defaultCss/defaultV2Css" {
2946
2950
  itemText: string;
2947
2951
  maxText: string;
2948
2952
  itemDisabled: string;
2953
+ itemFixedSize: string;
2949
2954
  control: string;
2950
2955
  controlValue: string;
2951
2956
  controlDisabled: string;
@@ -4354,6 +4359,7 @@ declare module "question_paneldynamic" {
4354
4359
  private setValueAfterPanelsCreating;
4355
4360
  protected getValueCore(): any;
4356
4361
  protected setValueCore(newValue: any): void;
4362
+ protected setIsMobile(val: boolean): void;
4357
4363
  /**
4358
4364
  * The number of panels in Dynamic Panel.
4359
4365
  * @see minPanelCount
@@ -5743,21 +5749,9 @@ declare module "survey-events-api" {
5743
5749
  * Call this method to indicate that the save operation is in progress. You can use the `text` parameter to display a custom message.
5744
5750
  */
5745
5751
  showSaveInProgress: (text?: string) => void;
5746
- /**
5747
- * @deprecated Use the `showSaveInProgress()` method instead.
5748
- */
5749
5752
  showDataSaving: (text?: string) => void;
5750
- /**
5751
- * @deprecated Use the `showSaveError()` method instead.
5752
- */
5753
5753
  showDataSavingError: (text?: string) => void;
5754
- /**
5755
- * @deprecated Use the `showSaveSuccess()` method instead.
5756
- */
5757
5754
  showDataSavingSuccess: (text?: string) => void;
5758
- /**
5759
- * @deprecated Use the `clearSaveMessages()` method instead.
5760
- */
5761
5755
  showDataSavingClear: (text?: string) => void;
5762
5756
  }
5763
5757
  export interface ShowingPreviewEvent {
@@ -5779,13 +5773,21 @@ declare module "survey-events-api" {
5779
5773
  }
5780
5774
  export interface CurrentPageChangedEvent {
5781
5775
  /**
5782
- * Returns `true` if the respondent is going backwards, that is, `newCurrentPage` is earlier in the survey than `oldCurrentPage`.
5776
+ * Returns `true` if the respondent is switching to the previous page.
5783
5777
  */
5784
5778
  isPrevPage: boolean;
5785
5779
  /**
5786
- * Returns `true` if the respondent is going forward along the survey.
5780
+ * Returns `true` if the respondent is switching to the next page.
5787
5781
  */
5788
5782
  isNextPage: boolean;
5783
+ /**
5784
+ * Returns `true` if the respondent is going backward, that is, `newCurrentPage` is earlier in the survey than `oldCurrentPage`.
5785
+ */
5786
+ isGoingBackward: boolean;
5787
+ /**
5788
+ * Returns `true` if the respondent is going forward along the survey.
5789
+ */
5790
+ isGoingForward: boolean;
5789
5791
  /**
5790
5792
  * The current page.
5791
5793
  */
@@ -5800,9 +5802,6 @@ declare module "survey-events-api" {
5800
5802
  * Set this property to `false` if you do not want to switch the current page.
5801
5803
  */
5802
5804
  allow: boolean;
5803
- /**
5804
- * @deprecated Use the `allow` property instead.
5805
- */
5806
5805
  allowChanging: boolean;
5807
5806
  }
5808
5807
  export interface ValueChangeBaseEvent extends QuestionEventMixin {
@@ -7290,7 +7289,6 @@ declare module "survey" {
7290
7289
  * For information on event handler parameters, refer to descriptions within the interface.
7291
7290
  *
7292
7291
  * [View Demo](https://surveyjs.io/form-library/examples/file-delayed-upload/ (linkStyle))
7293
- * @see clearFiles
7294
7292
  * @see onDownloadFile
7295
7293
  * @see onUploadFiles
7296
7294
  */
@@ -7642,30 +7640,36 @@ declare module "survey" {
7642
7640
  get calculatedValues(): Array<CalculatedValue>;
7643
7641
  set calculatedValues(val: Array<CalculatedValue>);
7644
7642
  /**
7645
- * Gets or sets an identifier of a survey model loaded from the [api.surveyjs.io](https://api.surveyjs.io) service. When specified, the survey JSON is automatically loaded from [api.surveyjs.io](https://api.surveyjs.io) service.
7643
+ * The identifier of a survey JSON schema to load from the [SurveyJS Service](https://api.surveyjs.io).
7644
+ *
7645
+ * Refer to the following help topic for more information: [Store Survey Results in the SurveyJS Service](https://surveyjs.io/form-library/documentation/handle-survey-results-store#store-survey-results-in-the-surveyjs-service).
7646
7646
  * @see loadSurveyFromService
7647
7647
  * @see onLoadedSurveyFromService
7648
7648
  */
7649
7649
  get surveyId(): string;
7650
7650
  set surveyId(val: string);
7651
7651
  /**
7652
- * Gets or sets an identifier of a survey model saved to the [api.surveyjs.io](https://api.surveyjs.io) service. When specified, the survey data is automatically saved to the [api.surveyjs.io](https://api.surveyjs.io) service.
7652
+ * An identifier used to save survey results to the [SurveyJS Service](https://api.surveyjs.io).
7653
+ *
7654
+ * Refer to the following help topic for more information: [Store Survey Results in the SurveyJS Service](https://surveyjs.io/form-library/documentation/handle-survey-results-store#store-survey-results-in-the-surveyjs-service).
7653
7655
  * @see onComplete
7654
7656
  * @see surveyShowDataSaving
7655
7657
  */
7656
7658
  get surveyPostId(): string;
7657
7659
  set surveyPostId(val: string);
7658
7660
  /**
7659
- * Gets or sets user's identifier (e.g., e-mail or unique customer id) in your web application.
7660
- * If you load survey or post survey results from/to [api.surveyjs.io](https://api.surveyjs.io) service, then the library do not allow users to run the same survey the second time.
7661
- * On the second run, the user will see the survey complete page.
7661
+ * A user identifier (e-mail or other unique ID).
7662
+ *
7663
+ * If your application works with the [SurveyJS Service](https://api.surveyjs.io), the ID ensures that users do not pass the same survey twice. On the second run, they will see the [Completed Before page](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#completedBeforeHtml).
7664
+ * @see cookieName
7662
7665
  */
7663
7666
  get clientId(): string;
7664
7667
  set clientId(val: string);
7665
7668
  /**
7666
- * Gets or sets a cookie name used to save information about completing the survey.
7667
- * If the property is not empty, before starting the survey, the Survey library checks if the cookie with this name exists.
7668
- * If it is `true`, the survey goes to complete mode and a user sees the survey complete page. On completing the survey the cookie with this name is created.
7669
+ * A cookie name used to save information about survey completion.
7670
+ *
7671
+ * When this property has a value, the survey creates a cookie with the specified name on completion. This cookie helps ensure that users do not pass the same survey twice. On the second run, they will see the [Completed Before page](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#completedBeforeHtml).
7672
+ * @see cliendId
7669
7673
  */
7670
7674
  get cookieName(): string;
7671
7675
  set cookieName(val: string);
@@ -7882,33 +7886,33 @@ declare module "survey" {
7882
7886
  get textUpdateMode(): string;
7883
7887
  set textUpdateMode(val: string);
7884
7888
  /**
7885
- * Gets or sets a value that specifies how the invisible data is included in survey data.
7889
+ * Specifies when to remove values of invisible questions from [survey results](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#data).
7886
7890
  *
7887
- * The following options are available:
7891
+ * Possible values:
7888
7892
  *
7889
- * - `none` - include the invisible values into the survey data.
7890
- * - `onHidden` - clear the question value when it becomes invisible. If a question has value and it was invisible initially then survey clears the value on completing.
7891
- * - `onHiddenContainer` - clear the question value when it or its parent (page or panel) becomes invisible. If a question has value and it was invisible initially then survey clears the value on completing.
7892
- * - `onComplete` (default) - clear invisible question values on survey complete. In this case, the invisible questions will not be stored on the server.
7893
- * @see Question.visible
7893
+ * - `"onComplete"` (default) - Clears invisible question values when the survey is complete.
7894
+ * - `"onHidden"` - Clears a question value when the question becomes invisible. If the question is invisible initially, its value is removed on survey completion.
7895
+ * - `"onHiddenContainer"` - Clears a question value when the question or its containter (page or panel) becomes invisible. If the question is invisible initially, its value is removed on survey completion.
7896
+ * - `"none"` - Keeps invisible values in survey results.
7897
+ * - `true` - Equivalent to `"onComplete"`.
7898
+ * - `false` - Equivalent to `"none"`.
7899
+ * @see [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#conditional-visibility)
7894
7900
  * @see onComplete
7895
7901
  */
7896
7902
  get clearInvisibleValues(): any;
7897
7903
  set clearInvisibleValues(val: any);
7898
7904
  /**
7899
- * Call this function to remove all question values from the survey, that end-user will not be able to enter.
7900
- * For example the value that doesn't exists in a radiogroup/dropdown/checkbox choices or matrix rows/columns.
7901
- * Please note, this function doesn't clear values for invisible questions or values that doesn't associated with questions.
7902
- * In fact this function just call clearIncorrectValues function of all questions in the survey
7903
- * @param removeNonExisingRootKeys - set this parameter to true to remove keys from survey.data that doesn't have corresponded questions and calculated values
7904
- * @see Question.clearIncorrectValues
7905
- * @see Page.clearIncorrectValues
7906
- * @see Panel.clearIncorrectValues
7905
+ * Removes values that cannot be assigned to a question, for example, choices unlisted in the `choices` array.
7906
+ *
7907
+ * Call this method after you assign new question values in code to ensure that they are acceptable.
7908
+ *
7909
+ * > This method does not remove values that fail validation. Call the [`validate()`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#validate) method to validate newly assigned values.
7910
+ * @param removeNonExistingRootKeys Pass `true` to remove values that do not correspond to any question or [calculated value](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#calculated-values).
7907
7911
  */
7908
- clearIncorrectValues(removeNonExisingRootKeys?: boolean): void;
7912
+ clearIncorrectValues(removeNonExistingRootKeys?: boolean): void;
7909
7913
  private iscorrectValueWithPostPrefix;
7910
7914
  /**
7911
- * Specifies whether to keep values that cannot be assigned to questions, for example, choices unlisted in the choices array.
7915
+ * Specifies whether to keep values that cannot be assigned to questions, for example, choices unlisted in the `choices` array.
7912
7916
  *
7913
7917
  * > This property cannot be specified in the survey JSON schema. Use dot notation to specify it.
7914
7918
  * @see clearIncorrectValues
@@ -7992,20 +7996,37 @@ declare module "survey" {
7992
7996
  protected isLogoImageChoosen(): string;
7993
7997
  get titleMaxWidth(): string;
7994
7998
  /**
7995
- * Gets or sets the HTML content displayed on the complete page. Use this property to change the default complete page text.
7999
+ * An image to display in the background of the survey or form. Accepts a base64 or URL string value.
8000
+ * @see backgroundOpacity
8001
+ */
8002
+ get backgroundImage(): string;
8003
+ set backgroundImage(value: string);
8004
+ get locBackgroundImage(): LocalizableString;
8005
+ renderBackgroundImage: string;
8006
+ private updateRenderBackgroundImage;
8007
+ /**
8008
+ * A value from 0 to 1 that specifies how transparent the survey background should be: 0 makes the background completely transparent, and 1 makes it opaque.
8009
+ * @see backgroundImage
8010
+ */
8011
+ get backgroundOpacity(): number;
8012
+ set backgroundOpacity(val: number);
8013
+ get renderBackgroundOpacity(): string;
8014
+ /**
8015
+ * HTML content displayed on the [complete page](https://surveyjs.io/form-library/documentation/design-survey/create-a-multi-page-survey#complete-page).
8016
+ *
8017
+ * [View Demo](https://surveyjs.io/form-library/examples/modify-survey-navigation-settings/ (linkStyle))
7996
8018
  * @see showCompletedPage
7997
8019
  * @see completedHtmlOnCondition
7998
- * @see locale
7999
- *
8000
- * [View Demo](https://surveyjs.io/form-library/examples/survey-options/ (linkStyle))
8001
8020
  */
8002
8021
  get completedHtml(): string;
8003
8022
  set completedHtml(value: string);
8004
8023
  get locCompletedHtml(): LocalizableString;
8005
8024
  /**
8006
- * The list of HTML condition items. If the expression of this item returns `true`, then a survey will use this item HTML instead of `completedHtml`.
8007
- * @see HtmlConditionItem
8008
- * @see completeHtml
8025
+ * An array of objects that allows you to specify different HTML content for the [complete page](https://surveyjs.io/form-library/documentation/design-survey/create-a-multi-page-survey#complete-page).
8026
+ *
8027
+ * Each object should include the [`expression`](https://surveyjs.io/form-library/documentation/api-reference/htmlconditionitem#expression) and [`html`](https://surveyjs.io/form-library/documentation/api-reference/htmlconditionitem#html) properties. When `expression` evaluates to `true`, the survey uses the corresponding HTML markup instead of [`completedHtml`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#completedHtml). Refer to the following help topic for more information about expressions: [Expressions](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#expressions).
8028
+ *
8029
+ * [View Demo](https://surveyjs.io/form-library/examples/nps-question/ (linkStyle))
8009
8030
  */
8010
8031
  get completedHtmlOnCondition(): Array<HtmlConditionItem>;
8011
8032
  set completedHtmlOnCondition(val: Array<HtmlConditionItem>);
@@ -8026,25 +8047,22 @@ declare module "survey" {
8026
8047
  get renderedCompletedHtml(): string;
8027
8048
  private getExpressionItemOnRunCondition;
8028
8049
  /**
8029
- * The HTML content displayed to an end user that has already completed the survey.
8050
+ * HTML content displayed to a user who has completed the survey before.
8030
8051
  * @see clientId
8031
- * @see locale
8052
+ * @see cookieName
8053
+ * @see processedCompletedBeforeHtml
8032
8054
  */
8033
8055
  get completedBeforeHtml(): string;
8034
8056
  set completedBeforeHtml(value: string);
8035
8057
  get locCompletedBeforeHtml(): LocalizableString;
8036
8058
  /**
8037
- * The HTML that shows on loading survey Json from the [api.surveyjs.io](https://api.surveyjs.io) service.
8059
+ * HTML content displayed while a survey JSON schema is being loaded from the [SurveyJS Service](https://api.surveyjs.io).
8038
8060
  * @see surveyId
8039
- * @see locale
8061
+ * @see processedLoadingHtml
8040
8062
  */
8041
8063
  get loadingHtml(): string;
8042
8064
  set loadingHtml(value: string);
8043
8065
  get locLoadingHtml(): LocalizableString;
8044
- /**
8045
- * Default value for loadingHtml property
8046
- * @see loadingHtml
8047
- */
8048
8066
  get defaultLoadingHtml(): string;
8049
8067
  get navigationBar(): ActionContainer;
8050
8068
  /**
@@ -8286,8 +8304,9 @@ declare module "survey" {
8286
8304
  private setDataToValueHash;
8287
8305
  private deleteDataFromValueHash;
8288
8306
  /**
8289
- * Returns all comments from the data.
8290
- * @see data
8307
+ * An object with all comment values.
8308
+ * @see Question.showCommentArea
8309
+ * @see storeOthersAsComment
8291
8310
  */
8292
8311
  get comments(): any;
8293
8312
  /**
@@ -8429,8 +8448,7 @@ declare module "survey" {
8429
8448
  protected updateCustomWidgets(page: PageModel): void;
8430
8449
  protected currentPageChanging(newValue: PageModel, oldValue: PageModel): boolean;
8431
8450
  protected currentPageChanged(newValue: PageModel, oldValue: PageModel): void;
8432
- private isNextPage;
8433
- private isPrevPage;
8451
+ private createPageChangeEventOptions;
8434
8452
  /**
8435
8453
  * Returns the progress that a user made while going through the survey.
8436
8454
  * It depends from progressBarType property
@@ -8596,11 +8614,11 @@ declare module "survey" {
8596
8614
  */
8597
8615
  prevPage(): boolean;
8598
8616
  /**
8599
- * Completes the survey, if the current page is the last one. It returns `false` if the last page has errors.
8600
- * If the last page has no errors, `completeLastPage` calls `doComplete` and returns `true`.
8617
+ * Completes the survey if it currently displays the last page and the page contains no validation errors. If both these conditions are met, this method returns `true`; otherwise, `false`.
8618
+ *
8619
+ * If you want to complete the survey regardless of the current page and validation errors, use the [`doComplete()`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#completeLastPage) event.
8601
8620
  * @see isCurrentPageValid
8602
8621
  * @see nextPage
8603
- * @see doComplete
8604
8622
  */
8605
8623
  completeLastPage(): boolean;
8606
8624
  private isNavigationButtonPressed;
@@ -8704,26 +8722,19 @@ declare module "survey" {
8704
8722
  /**
8705
8723
  * Completes the survey.
8706
8724
  *
8707
- * Calling this function performs the following tasks:
8725
+ * When you call this method, Form Library performs the following actions:
8708
8726
  *
8709
- * - writes cookie if the `cookieName` property is not empty
8710
- * - sets the survey into `completed` state
8711
- * - fires the `onComplete` event
8712
- * - calls `sendResult` function.
8727
+ * 1. Saves a cookie if the [`cookieName`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#cookieName) property is set.
8728
+ * 1. Switches the survey [`state`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#state) to `"completed"`.
8729
+ * 1. Raises the [`onComplete`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onComplete) event.
8730
+ * 1. Navigates the user to a URL specified by the [`navigateToUrl`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#navigateToUrl) or [`navigateToUrlOnCondition`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#navigateToUrlOnCondition) property.
8731
+ * 1. Calls the [`sendResult()`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#sendResult) method if Form Library works with the [SurveyJS Service](https://api.surveyjs.io/).
8713
8732
  *
8714
- * Calling the `doComplete` function does not perform any validation, unlike the `completeLastPage` function.
8715
- * The function can return false, if you set options.allowComplete to false in onCompleting event. Otherwise it returns true.
8716
- * It calls `navigateToUrl` after calling `onComplete` event.
8717
- * In case calling `options.showSaveInProgress` callback in the `onComplete` event, `navigateToUrl` is used on calling `options.showSaveSuccess` callback.
8718
- * @see completeLastPage
8719
- * @see onCompleting
8720
- * @see cookieName
8721
- * @see state
8722
- * @see onComplete
8733
+ * 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.
8734
+ *
8735
+ * @param isCompleteOnTrigger For internal use.
8736
+ * @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`.
8723
8737
  * @see surveyPostId
8724
- * @see completeLastPage
8725
- * @see navigateToUrl
8726
- * @see navigateToUrlOnCondition
8727
8738
  */
8728
8739
  doComplete(isCompleteOnTrigger?: boolean): boolean;
8729
8740
  private saveDataOnComplete;
@@ -8849,13 +8860,6 @@ declare module "survey" {
8849
8860
  * @param callback a call back function to get the status on downloading the file and the downloaded file content
8850
8861
  */
8851
8862
  downloadFile(question: QuestionFileModel, questionName: string, fileValue: any, callback: (status: string, data: any) => any): void;
8852
- /**
8853
- * Clears files from server.
8854
- * @param question question
8855
- * @param name question name
8856
- * @param value file question value
8857
- * @param callback call back function to get the status of the clearing operation
8858
- */
8859
8863
  clearFiles(question: QuestionFileModel, name: string, value: any, fileName: string, callback: (status: string, data: any) => any): void;
8860
8864
  updateChoicesFromServer(question: QuestionSelectBase, choices: Array<ItemValue>, serverResult: any): Array<ItemValue>;
8861
8865
  loadedChoicesFromServer(question: IQuestion): void;
@@ -9112,8 +9116,11 @@ declare module "survey" {
9112
9116
  */
9113
9117
  clearValue(name: string): void;
9114
9118
  /**
9115
- * Gets or sets whether to clear value on disable items in checkbox, dropdown and radiogroup questions.
9116
- * By default, values are not cleared on disabled the corresponded items. This property is not persisted in survey JSON and you have to set it in code.
9119
+ * Specifies whether to remove disabled choices from the value in [Dropdown](https://surveyjs.io/form-library/documentation/api-reference/dropdown-menu-model), [Checkboxes](https://surveyjs.io/form-library/documentation/api-reference/checkbox-question-model), and [Radio Button Group](https://surveyjs.io/form-library/documentation/api-reference/radio-button-question-model) questions.
9120
+ *
9121
+ * Default value: `false`
9122
+ *
9123
+ * > This property cannot be specified in the survey JSON schema. Use dot notation to specify it.
9117
9124
  */
9118
9125
  get clearValueOnDisableItems(): boolean;
9119
9126
  set clearValueOnDisableItems(val: boolean);
@@ -9376,7 +9383,7 @@ declare module "page" {
9376
9383
  /**
9377
9384
  * A caption displayed on a navigation button in the TOC or progress bar. Applies when [`showTOC`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showTOC) is `true` or when [`showProgressBar`](https://surveyjs.io/form-library/documentation/surveymodel#showProgressBar) is `true` and [`progressBarType`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarType) is `"buttons"`.
9378
9385
  *
9379
- * If this property is undefined, the navigation buttons display page [titles](https://surveyjs.io/form-library/documentation/api-reference/page-model#title) or [names](https://surveyjs.io/form-library/documentation/pagemodel#name).
9386
+ * If navigation titles are unspecified, the navigation buttons display page [titles](https://surveyjs.io/form-library/documentation/api-reference/page-model#title) or [names](https://surveyjs.io/form-library/documentation/pagemodel#name).
9380
9387
  */
9381
9388
  get navigationTitle(): string;
9382
9389
  set navigationTitle(val: string);
@@ -10163,6 +10170,7 @@ declare module "question" {
10163
10170
  */
10164
10171
  onReadyChanged: EventBase<Question>;
10165
10172
  isReadOnlyRenderDiv(): boolean;
10173
+ protected setIsMobile(val: boolean): void;
10166
10174
  isMobile: boolean;
10167
10175
  constructor(name: string);
10168
10176
  protected createLocTitleProperty(): LocalizableString;
@@ -10785,7 +10793,7 @@ declare module "question" {
10785
10793
  *
10786
10794
  * Call this method after you assign new question values in code to ensure that they are acceptable.
10787
10795
  *
10788
- * > This method does not remove values that do not pass validation. Call the `validate()` method to validate newly assigned values.
10796
+ * > This method does not remove values that fail validation. Call the `validate()` method to validate newly assigned values.
10789
10797
  *
10790
10798
  * @see validate
10791
10799
  */
@@ -11112,6 +11120,7 @@ declare module "question_matrixdropdownbase" {
11112
11120
  onCreateDetailPanelRenderedRowCallback: (renderedRow: QuestionMatrixDropdownRenderedRow) => void;
11113
11121
  onAddColumn: (column: MatrixDropdownColumn) => void;
11114
11122
  onRemoveColumn: (column: MatrixDropdownColumn) => void;
11123
+ cellValueChangingCallback: (row: any, columnName: string, value: any, oldValue: any) => any;
11115
11124
  protected createColumnValues(): any[];
11116
11125
  constructor(name: string);
11117
11126
  getType(): string;
@@ -12466,6 +12475,7 @@ declare module "question_dropdown" {
12466
12475
  */
12467
12476
  choicesLazyLoadPageSize: number;
12468
12477
  getControlClass(): string;
12478
+ suggestedItem: ItemValue;
12469
12479
  get selectedItemLocText(): LocalizableString;
12470
12480
  get inputFieldComponentName(): string;
12471
12481
  get showSelectedItemLocText(): boolean;
@@ -13309,10 +13319,11 @@ declare module "question_rating" {
13309
13319
  export class RenderedRatingItem extends Base {
13310
13320
  itemValue: ItemValue;
13311
13321
  private locString;
13322
+ private onStringChangedCallback;
13312
13323
  get value(): number;
13313
13324
  highlight: "none" | "highlighted" | "unhighlighted";
13314
13325
  get locText(): LocalizableString;
13315
- get text(): string;
13326
+ text: string;
13316
13327
  constructor(itemValue: ItemValue, locString?: LocalizableString);
13317
13328
  }
13318
13329
  /**
@@ -13322,7 +13333,17 @@ declare module "question_rating" {
13322
13333
  */
13323
13334
  export class QuestionRatingModel extends Question {
13324
13335
  constructor(name: string);
13336
+ private jsonObj;
13337
+ startLoadingFromJson(jsonObj: any): void;
13325
13338
  endLoadingFromJson(): void;
13339
+ private _syncPropertiesChanging;
13340
+ private registerSychProperties;
13341
+ private useRateValues;
13342
+ private updateRateMax;
13343
+ private updateRateMin;
13344
+ private updateRateCount;
13345
+ initPropertyDependencies(): void;
13346
+ autoGenerate: boolean;
13326
13347
  /**
13327
13348
  * A list of rate values.
13328
13349
  *
@@ -13342,43 +13363,46 @@ declare module "question_rating" {
13342
13363
  *
13343
13364
  * If you need to specify only the `value` property, you can set the `rateValues` property to an array of numbers, for example, `[ 3, 6, 10 ]`. These values are both saved in survey results and used as display text.
13344
13365
  *
13345
- * If you do not specify the `rateValues` property, rate values are generated automatically based upon the `rateMin`, `rateMax`, and `rateStep` property values.
13346
- * @see rateMin
13347
- * @see rateMax
13348
- * @see rateStep
13366
+ * If you do not specify the `rateValues` property, rate values are generated automatically based upon the [`rateMin`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#rateMin), [`rateMax`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#rateMax), [`rateStep`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#rateStep), and [`rateCount`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#rateCount) property values.
13349
13367
  */
13350
13368
  get rateValues(): Array<any>;
13351
13369
  set rateValues(val: Array<any>);
13352
13370
  /**
13353
- * Specifies the first rate value in the generated sequence of rate values. Applies if the `rateValues` array is empty.
13371
+ * Specifies the first rate value in the generated sequence of rate values. Applies if the [`rateValues`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#rateValues) array is empty.
13354
13372
  *
13355
13373
  * Default value: 1
13356
- * @see rateValues
13357
13374
  * @see rateMax
13358
13375
  * @see rateStep
13376
+ * @see rateCount
13359
13377
  */
13360
13378
  get rateMin(): number;
13361
13379
  set rateMin(val: number);
13362
13380
  /**
13363
- * Specifies the last rate value in the generated sequence of rate values. Applies if the `rateValues` array is empty.
13381
+ * Specifies the last rate value in the generated sequence of rate values. Applies if the [`rateValues`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#rateValues) array is empty.
13364
13382
  *
13365
13383
  * Default value: 5
13366
- * @see rateValues
13367
13384
  * @see rateMin
13368
13385
  * @see rateStep
13386
+ * @see rateCount
13369
13387
  */
13370
13388
  get rateMax(): number;
13371
13389
  set rateMax(val: number);
13372
13390
  /**
13373
- * Specifies a step with which to generate rate values. Applies if the `rateValues` array is empty.
13391
+ * Specifies a step with which to generate rate values. Applies if the [`rateValues`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#rateValues) array is empty.
13374
13392
  *
13375
13393
  * Default value: 1
13376
- * @see rateValues
13377
13394
  * @see rateMin
13378
13395
  * @see rateMax
13396
+ * @see rateCount
13379
13397
  */
13380
13398
  get rateStep(): number;
13381
13399
  set rateStep(val: number);
13400
+ /**
13401
+ * Specifies the number of rate values you want to generate. Applies if the [`rateValues`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#rateValues) array is empty.
13402
+ *
13403
+ * Set the [`rateMin`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#rateMin) or [`rateMax`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#rateMax) property to specify the first or the last rate value. Use the [`rateStep`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#rateStep) property to specify a step with which to generate rate values.
13404
+ */
13405
+ rateCount: number;
13382
13406
  protected getDisplayValueCore(keysAsText: boolean, value: any): any;
13383
13407
  get visibleRateValues(): ItemValue[];
13384
13408
  itemValuePropertyChanged(item: ItemValue, name: string, oldValue: any, newValue: any): void;
@@ -13437,7 +13461,9 @@ declare module "question_rating" {
13437
13461
  * - `"auto"` (default) - Selects between the `"buttons"` and `"dropdown"` modes based on the available width. When the width is insufficient to display buttons, the question displays a dropdown.
13438
13462
  */
13439
13463
  displayMode: "dropdown" | "buttons" | "auto";
13440
- rateType: "numbers" | "labels" | "stars" | "smileys";
13464
+ rateDisplayMode: "labels" | "stars" | "smileys";
13465
+ get rateType(): "labels" | "stars" | "smileys";
13466
+ set rateType(val: "labels" | "stars" | "smileys");
13441
13467
  smileysColorMode: "monochrome" | "colored";
13442
13468
  get isStar(): boolean;
13443
13469
  get isSmiley(): boolean;
@@ -14110,6 +14136,7 @@ declare module "question_custom" {
14110
14136
  onAnyValueChanged(name: string): void;
14111
14137
  protected getQuestionByName(name: string): IQuestion;
14112
14138
  setValue(name: string, newValue: any, locNotification: any, allowNotifyValueChanged?: boolean): any;
14139
+ protected onSetData(): void;
14113
14140
  hasErrors(fireCallback?: boolean, rec?: any): boolean;
14114
14141
  focus(onError?: boolean): void;
14115
14142
  get contentQuestion(): Question;
@@ -14228,6 +14255,7 @@ declare module "popup-dropdown-view-model" {
14228
14255
  private static readonly tabletSizeBreakpoint;
14229
14256
  private calculateIsTablet;
14230
14257
  private resizeEventCallback;
14258
+ private resizeWindowCallback;
14231
14259
  private clientY;
14232
14260
  private isTablet;
14233
14261
  private touchStartEventCallback;
@@ -14767,6 +14795,7 @@ declare module "defaultCss/cssstandard" {
14767
14795
  rating: {
14768
14796
  root: string;
14769
14797
  item: string;
14798
+ itemFixedSize: string;
14770
14799
  selected: string;
14771
14800
  minText: string;
14772
14801
  itemText: string;
@@ -17747,7 +17776,9 @@ declare module "localization/german" {
17747
17776
  modalCancelButtonText: string;
17748
17777
  modalApplyButtonText: string;
17749
17778
  filterStringPlaceholder: string;
17779
+ emptyMessage: string;
17750
17780
  noEntriesText: string;
17781
+ more: string;
17751
17782
  };
17752
17783
  }
17753
17784
  declare module "localization/greek" {