survey-react 1.9.81 → 1.9.82

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,32 @@ 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
+ * Gets or sets a survey backgroundImage.
8000
+ */
8001
+ get backgroundImage(): string;
8002
+ set backgroundImage(value: string);
8003
+ get locBackgroundImage(): LocalizableString;
8004
+ renderBackgroundImage: string;
8005
+ private updateRenderBackgroundImage;
8006
+ get backgroundOpacity(): number;
8007
+ set backgroundOpacity(val: number);
8008
+ get renderBackgroundOpacity(): string;
8009
+ /**
8010
+ * HTML content displayed on the [complete page](https://surveyjs.io/form-library/documentation/design-survey/create-a-multi-page-survey#complete-page).
8011
+ *
8012
+ * [View Demo](https://surveyjs.io/form-library/examples/modify-survey-navigation-settings/ (linkStyle))
7996
8013
  * @see showCompletedPage
7997
8014
  * @see completedHtmlOnCondition
7998
- * @see locale
7999
- *
8000
- * [View Demo](https://surveyjs.io/form-library/examples/survey-options/ (linkStyle))
8001
8015
  */
8002
8016
  get completedHtml(): string;
8003
8017
  set completedHtml(value: string);
8004
8018
  get locCompletedHtml(): LocalizableString;
8005
8019
  /**
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
8020
+ * 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).
8021
+ *
8022
+ * 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).
8023
+ *
8024
+ * [View Demo](https://surveyjs.io/form-library/examples/nps-question/ (linkStyle))
8009
8025
  */
8010
8026
  get completedHtmlOnCondition(): Array<HtmlConditionItem>;
8011
8027
  set completedHtmlOnCondition(val: Array<HtmlConditionItem>);
@@ -8026,25 +8042,22 @@ declare module "survey" {
8026
8042
  get renderedCompletedHtml(): string;
8027
8043
  private getExpressionItemOnRunCondition;
8028
8044
  /**
8029
- * The HTML content displayed to an end user that has already completed the survey.
8045
+ * HTML content displayed to a user who has completed the survey before.
8030
8046
  * @see clientId
8031
- * @see locale
8047
+ * @see cookieName
8048
+ * @see processedCompletedBeforeHtml
8032
8049
  */
8033
8050
  get completedBeforeHtml(): string;
8034
8051
  set completedBeforeHtml(value: string);
8035
8052
  get locCompletedBeforeHtml(): LocalizableString;
8036
8053
  /**
8037
- * The HTML that shows on loading survey Json from the [api.surveyjs.io](https://api.surveyjs.io) service.
8054
+ * HTML content displayed while a survey JSON schema is being loaded from the [SurveyJS Service](https://api.surveyjs.io).
8038
8055
  * @see surveyId
8039
- * @see locale
8056
+ * @see processedLoadingHtml
8040
8057
  */
8041
8058
  get loadingHtml(): string;
8042
8059
  set loadingHtml(value: string);
8043
8060
  get locLoadingHtml(): LocalizableString;
8044
- /**
8045
- * Default value for loadingHtml property
8046
- * @see loadingHtml
8047
- */
8048
8061
  get defaultLoadingHtml(): string;
8049
8062
  get navigationBar(): ActionContainer;
8050
8063
  /**
@@ -8286,8 +8299,9 @@ declare module "survey" {
8286
8299
  private setDataToValueHash;
8287
8300
  private deleteDataFromValueHash;
8288
8301
  /**
8289
- * Returns all comments from the data.
8290
- * @see data
8302
+ * An object with all comment values.
8303
+ * @see Question.showCommentArea
8304
+ * @see storeOthersAsComment
8291
8305
  */
8292
8306
  get comments(): any;
8293
8307
  /**
@@ -8429,8 +8443,7 @@ declare module "survey" {
8429
8443
  protected updateCustomWidgets(page: PageModel): void;
8430
8444
  protected currentPageChanging(newValue: PageModel, oldValue: PageModel): boolean;
8431
8445
  protected currentPageChanged(newValue: PageModel, oldValue: PageModel): void;
8432
- private isNextPage;
8433
- private isPrevPage;
8446
+ private createPageChangeEventOptions;
8434
8447
  /**
8435
8448
  * Returns the progress that a user made while going through the survey.
8436
8449
  * It depends from progressBarType property
@@ -8596,11 +8609,11 @@ declare module "survey" {
8596
8609
  */
8597
8610
  prevPage(): boolean;
8598
8611
  /**
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`.
8612
+ * 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`.
8613
+ *
8614
+ * 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
8615
  * @see isCurrentPageValid
8602
8616
  * @see nextPage
8603
- * @see doComplete
8604
8617
  */
8605
8618
  completeLastPage(): boolean;
8606
8619
  private isNavigationButtonPressed;
@@ -8704,26 +8717,19 @@ declare module "survey" {
8704
8717
  /**
8705
8718
  * Completes the survey.
8706
8719
  *
8707
- * Calling this function performs the following tasks:
8720
+ * When you call this method, Form Library performs the following actions:
8708
8721
  *
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.
8722
+ * 1. Saves a cookie if the [`cookieName`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#cookieName) property is set.
8723
+ * 1. Switches the survey [`state`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#state) to `"completed"`.
8724
+ * 1. Raises the [`onComplete`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onComplete) event.
8725
+ * 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.
8726
+ * 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
8727
  *
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
8728
+ * 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.
8729
+ *
8730
+ * @param isCompleteOnTrigger For internal use.
8731
+ * @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
8732
  * @see surveyPostId
8724
- * @see completeLastPage
8725
- * @see navigateToUrl
8726
- * @see navigateToUrlOnCondition
8727
8733
  */
8728
8734
  doComplete(isCompleteOnTrigger?: boolean): boolean;
8729
8735
  private saveDataOnComplete;
@@ -8849,13 +8855,6 @@ declare module "survey" {
8849
8855
  * @param callback a call back function to get the status on downloading the file and the downloaded file content
8850
8856
  */
8851
8857
  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
8858
  clearFiles(question: QuestionFileModel, name: string, value: any, fileName: string, callback: (status: string, data: any) => any): void;
8860
8859
  updateChoicesFromServer(question: QuestionSelectBase, choices: Array<ItemValue>, serverResult: any): Array<ItemValue>;
8861
8860
  loadedChoicesFromServer(question: IQuestion): void;
@@ -9112,8 +9111,11 @@ declare module "survey" {
9112
9111
  */
9113
9112
  clearValue(name: string): void;
9114
9113
  /**
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.
9114
+ * 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.
9115
+ *
9116
+ * Default value: `false`
9117
+ *
9118
+ * > This property cannot be specified in the survey JSON schema. Use dot notation to specify it.
9117
9119
  */
9118
9120
  get clearValueOnDisableItems(): boolean;
9119
9121
  set clearValueOnDisableItems(val: boolean);
@@ -9376,7 +9378,7 @@ declare module "page" {
9376
9378
  /**
9377
9379
  * 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
9380
  *
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).
9381
+ * 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
9382
  */
9381
9383
  get navigationTitle(): string;
9382
9384
  set navigationTitle(val: string);
@@ -10163,6 +10165,7 @@ declare module "question" {
10163
10165
  */
10164
10166
  onReadyChanged: EventBase<Question>;
10165
10167
  isReadOnlyRenderDiv(): boolean;
10168
+ protected setIsMobile(val: boolean): void;
10166
10169
  isMobile: boolean;
10167
10170
  constructor(name: string);
10168
10171
  protected createLocTitleProperty(): LocalizableString;
@@ -10785,7 +10788,7 @@ declare module "question" {
10785
10788
  *
10786
10789
  * Call this method after you assign new question values in code to ensure that they are acceptable.
10787
10790
  *
10788
- * > This method does not remove values that do not pass validation. Call the `validate()` method to validate newly assigned values.
10791
+ * > This method does not remove values that fail validation. Call the `validate()` method to validate newly assigned values.
10789
10792
  *
10790
10793
  * @see validate
10791
10794
  */
@@ -11112,6 +11115,7 @@ declare module "question_matrixdropdownbase" {
11112
11115
  onCreateDetailPanelRenderedRowCallback: (renderedRow: QuestionMatrixDropdownRenderedRow) => void;
11113
11116
  onAddColumn: (column: MatrixDropdownColumn) => void;
11114
11117
  onRemoveColumn: (column: MatrixDropdownColumn) => void;
11118
+ cellValueChangingCallback: (row: any, columnName: string, value: any, oldValue: any) => any;
11115
11119
  protected createColumnValues(): any[];
11116
11120
  constructor(name: string);
11117
11121
  getType(): string;
@@ -12466,6 +12470,7 @@ declare module "question_dropdown" {
12466
12470
  */
12467
12471
  choicesLazyLoadPageSize: number;
12468
12472
  getControlClass(): string;
12473
+ suggestedItem: ItemValue;
12469
12474
  get selectedItemLocText(): LocalizableString;
12470
12475
  get inputFieldComponentName(): string;
12471
12476
  get showSelectedItemLocText(): boolean;
@@ -13309,10 +13314,11 @@ declare module "question_rating" {
13309
13314
  export class RenderedRatingItem extends Base {
13310
13315
  itemValue: ItemValue;
13311
13316
  private locString;
13317
+ private onStringChangedCallback;
13312
13318
  get value(): number;
13313
13319
  highlight: "none" | "highlighted" | "unhighlighted";
13314
13320
  get locText(): LocalizableString;
13315
- get text(): string;
13321
+ text: string;
13316
13322
  constructor(itemValue: ItemValue, locString?: LocalizableString);
13317
13323
  }
13318
13324
  /**
@@ -13322,7 +13328,15 @@ declare module "question_rating" {
13322
13328
  */
13323
13329
  export class QuestionRatingModel extends Question {
13324
13330
  constructor(name: string);
13331
+ private jsonObj;
13332
+ startLoadingFromJson(jsonObj: any): void;
13325
13333
  endLoadingFromJson(): void;
13334
+ private _syncPropertiesChanging;
13335
+ private registerSychProperties;
13336
+ private updateRateMax;
13337
+ private updateRateMin;
13338
+ private updateRateCount;
13339
+ initPropertyDependencies(): void;
13326
13340
  /**
13327
13341
  * A list of rate values.
13328
13342
  *
@@ -13342,43 +13356,46 @@ declare module "question_rating" {
13342
13356
  *
13343
13357
  * 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
13358
  *
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
13359
+ * 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
13360
  */
13350
13361
  get rateValues(): Array<any>;
13351
13362
  set rateValues(val: Array<any>);
13352
13363
  /**
13353
- * Specifies the first rate value in the generated sequence of rate values. Applies if the `rateValues` array is empty.
13364
+ * 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
13365
  *
13355
13366
  * Default value: 1
13356
- * @see rateValues
13357
13367
  * @see rateMax
13358
13368
  * @see rateStep
13369
+ * @see rateCount
13359
13370
  */
13360
13371
  get rateMin(): number;
13361
13372
  set rateMin(val: number);
13362
13373
  /**
13363
- * Specifies the last rate value in the generated sequence of rate values. Applies if the `rateValues` array is empty.
13374
+ * 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
13375
  *
13365
13376
  * Default value: 5
13366
- * @see rateValues
13367
13377
  * @see rateMin
13368
13378
  * @see rateStep
13379
+ * @see rateCount
13369
13380
  */
13370
13381
  get rateMax(): number;
13371
13382
  set rateMax(val: number);
13372
13383
  /**
13373
- * Specifies a step with which to generate rate values. Applies if the `rateValues` array is empty.
13384
+ * 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
13385
  *
13375
13386
  * Default value: 1
13376
- * @see rateValues
13377
13387
  * @see rateMin
13378
13388
  * @see rateMax
13389
+ * @see rateCount
13379
13390
  */
13380
13391
  get rateStep(): number;
13381
13392
  set rateStep(val: number);
13393
+ /**
13394
+ * 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.
13395
+ *
13396
+ * 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.
13397
+ */
13398
+ rateCount: number;
13382
13399
  protected getDisplayValueCore(keysAsText: boolean, value: any): any;
13383
13400
  get visibleRateValues(): ItemValue[];
13384
13401
  itemValuePropertyChanged(item: ItemValue, name: string, oldValue: any, newValue: any): void;
@@ -14110,6 +14127,7 @@ declare module "question_custom" {
14110
14127
  onAnyValueChanged(name: string): void;
14111
14128
  protected getQuestionByName(name: string): IQuestion;
14112
14129
  setValue(name: string, newValue: any, locNotification: any, allowNotifyValueChanged?: boolean): any;
14130
+ protected onSetData(): void;
14113
14131
  hasErrors(fireCallback?: boolean, rec?: any): boolean;
14114
14132
  focus(onError?: boolean): void;
14115
14133
  get contentQuestion(): Question;
@@ -14228,6 +14246,7 @@ declare module "popup-dropdown-view-model" {
14228
14246
  private static readonly tabletSizeBreakpoint;
14229
14247
  private calculateIsTablet;
14230
14248
  private resizeEventCallback;
14249
+ private resizeWindowCallback;
14231
14250
  private clientY;
14232
14251
  private isTablet;
14233
14252
  private touchStartEventCallback;
@@ -14767,6 +14786,7 @@ declare module "defaultCss/cssstandard" {
14767
14786
  rating: {
14768
14787
  root: string;
14769
14788
  item: string;
14789
+ itemFixedSize: string;
14770
14790
  selected: string;
14771
14791
  minText: string;
14772
14792
  itemText: string;
@@ -17747,7 +17767,9 @@ declare module "localization/german" {
17747
17767
  modalCancelButtonText: string;
17748
17768
  modalApplyButtonText: string;
17749
17769
  filterStringPlaceholder: string;
17770
+ emptyMessage: string;
17750
17771
  noEntriesText: string;
17772
+ more: string;
17751
17773
  };
17752
17774
  }
17753
17775
  declare module "localization/greek" {