survey-core 1.9.105 → 1.9.107

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.
Files changed (167) hide show
  1. package/defaultV2.css +363 -94
  2. package/defaultV2.css.map +1 -1
  3. package/defaultV2.fontless.css +363 -94
  4. package/defaultV2.fontless.css.map +1 -1
  5. package/defaultV2.fontless.min.css +2 -2
  6. package/defaultV2.min.css +2 -2
  7. package/modern.css +8 -1
  8. package/modern.css.map +1 -1
  9. package/modern.fontless.css +8 -1
  10. package/modern.fontless.css.map +1 -1
  11. package/modern.fontless.min.css +2 -2
  12. package/modern.min.css +2 -2
  13. package/package.json +1 -1
  14. package/plugins/bootstrap-integration.js +1 -1
  15. package/plugins/bootstrap-integration.min.js +1 -1
  16. package/plugins/bootstrap-material-integration.js +1 -1
  17. package/plugins/bootstrap-material-integration.min.js +1 -1
  18. package/survey.core.js +762 -325
  19. package/survey.core.js.map +1 -1
  20. package/survey.core.min.js +3 -3
  21. package/survey.css +1 -1
  22. package/survey.css.map +1 -1
  23. package/survey.i18n.js +3 -3
  24. package/survey.i18n.js.map +1 -1
  25. package/survey.i18n.min.js +2 -2
  26. package/survey.min.css +1 -1
  27. package/themes/borderless-dark-panelless.js +1 -1
  28. package/themes/borderless-dark-panelless.min.js +1 -1
  29. package/themes/borderless-dark.js +1 -1
  30. package/themes/borderless-dark.min.js +1 -1
  31. package/themes/borderless-light-panelless..js +1 -1
  32. package/themes/borderless-light-panelless..min.js +1 -1
  33. package/themes/borderless-light.js +1 -1
  34. package/themes/borderless-light.min.js +1 -1
  35. package/themes/contrast-dark-panelless.js +1 -1
  36. package/themes/contrast-dark-panelless.min.js +1 -1
  37. package/themes/contrast-dark.js +1 -1
  38. package/themes/contrast-dark.min.js +1 -1
  39. package/themes/contrast-light-panelless.js +1 -1
  40. package/themes/contrast-light-panelless.min.js +1 -1
  41. package/themes/contrast-light.js +1 -1
  42. package/themes/contrast-light.min.js +1 -1
  43. package/themes/default-dark-panelless.js +1 -1
  44. package/themes/default-dark-panelless.min.js +1 -1
  45. package/themes/default-dark.js +1 -1
  46. package/themes/default-dark.min.js +1 -1
  47. package/themes/default-light-panelless.js +1 -1
  48. package/themes/default-light-panelless.min.js +1 -1
  49. package/themes/default-light.js +1 -1
  50. package/themes/default-light.min.js +1 -1
  51. package/themes/doubleborder-dark-panelless.js +1 -1
  52. package/themes/doubleborder-dark-panelless.min.js +1 -1
  53. package/themes/doubleborder-dark.js +1 -1
  54. package/themes/doubleborder-dark.min.js +1 -1
  55. package/themes/doubleborder-light-panelles.js +1 -1
  56. package/themes/doubleborder-light-panelles.min.js +1 -1
  57. package/themes/doubleborder-light.js +1 -1
  58. package/themes/doubleborder-light.min.js +1 -1
  59. package/themes/flat-dark-panelless.js +1 -1
  60. package/themes/flat-dark-panelless.min.js +1 -1
  61. package/themes/flat-dark.js +1 -1
  62. package/themes/flat-dark.min.js +1 -1
  63. package/themes/flat-light-panelless.js +1 -1
  64. package/themes/flat-light-panelless.min.js +1 -1
  65. package/themes/flat-light.js +1 -1
  66. package/themes/flat-light.min.js +1 -1
  67. package/themes/index.js +1 -1
  68. package/themes/index.min.js +1 -1
  69. package/themes/layered-dark-panelless.js +1 -1
  70. package/themes/layered-dark-panelless.min.js +1 -1
  71. package/themes/layered-dark.js +1 -1
  72. package/themes/layered-dark.min.js +1 -1
  73. package/themes/layered-light-panelless.js +1 -1
  74. package/themes/layered-light-panelless.min.js +1 -1
  75. package/themes/layered-light.js +1 -1
  76. package/themes/layered-light.min.js +1 -1
  77. package/themes/plain-dark-panelless.js +1 -1
  78. package/themes/plain-dark-panelless.min.js +1 -1
  79. package/themes/plain-dark.js +1 -1
  80. package/themes/plain-dark.min.js +1 -1
  81. package/themes/plain-light-panelless.js +1 -1
  82. package/themes/plain-light-panelless.min.js +1 -1
  83. package/themes/plain-light.js +1 -1
  84. package/themes/plain-light.min.js +1 -1
  85. package/themes/sharp-dark-panelless.js +1 -1
  86. package/themes/sharp-dark-panelless.min.js +1 -1
  87. package/themes/sharp-dark.js +1 -1
  88. package/themes/sharp-dark.min.js +1 -1
  89. package/themes/sharp-light-panelless.js +1 -1
  90. package/themes/sharp-light-panelless.min.js +1 -1
  91. package/themes/sharp-light.js +1 -1
  92. package/themes/sharp-light.min.js +1 -1
  93. package/themes/solid-dark-panelless.js +1 -1
  94. package/themes/solid-dark-panelless.min.js +1 -1
  95. package/themes/solid-dark.js +1 -1
  96. package/themes/solid-dark.min.js +1 -1
  97. package/themes/solid-light-panelless.js +1 -1
  98. package/themes/solid-light-panelless.min.js +1 -1
  99. package/themes/solid-light.js +1 -1
  100. package/themes/solid-light.min.js +1 -1
  101. package/themes/three-dimensional-dark-panelless.js +1 -1
  102. package/themes/three-dimensional-dark-panelless.min.js +1 -1
  103. package/themes/three-dimensional-dark.js +1 -1
  104. package/themes/three-dimensional-dark.min.js +1 -1
  105. package/themes/three-dimensional-light-panelless.js +1 -1
  106. package/themes/three-dimensional-light-panelless.min.js +1 -1
  107. package/themes/three-dimensional-light.js +1 -1
  108. package/themes/three-dimensional-light.min.js +1 -1
  109. package/ts3.4/typings/actions/action.d.ts +1 -0
  110. package/ts3.4/typings/actions/adaptive-container.d.ts +1 -0
  111. package/ts3.4/typings/actions/container.d.ts +1 -0
  112. package/ts3.4/typings/base-interfaces.d.ts +6 -1
  113. package/ts3.4/typings/base.d.ts +3 -0
  114. package/ts3.4/typings/defaultCss/defaultV2Css.d.ts +6 -0
  115. package/ts3.4/typings/dragdrop/dom-adapter.d.ts +1 -0
  116. package/ts3.4/typings/dropdownListModel.d.ts +1 -0
  117. package/ts3.4/typings/dropdownMultiSelectListModel.d.ts +1 -0
  118. package/ts3.4/typings/entries/chunks/model.d.ts +1 -1
  119. package/ts3.4/typings/entries/core-wo-model.d.ts +0 -1
  120. package/ts3.4/typings/localizablestring.d.ts +6 -1
  121. package/ts3.4/typings/popup-dropdown-view-model.d.ts +4 -0
  122. package/ts3.4/typings/popup-survey.d.ts +0 -1
  123. package/ts3.4/typings/popup-view-model.d.ts +3 -0
  124. package/ts3.4/typings/popup.d.ts +3 -1
  125. package/ts3.4/typings/question.d.ts +4 -2
  126. package/ts3.4/typings/question_baseselect.d.ts +1 -2
  127. package/ts3.4/typings/question_checkbox.d.ts +3 -0
  128. package/ts3.4/typings/question_file.d.ts +7 -3
  129. package/ts3.4/typings/question_matrixdropdownbase.d.ts +4 -3
  130. package/ts3.4/typings/question_matrixdropdowncolumn.d.ts +4 -2
  131. package/ts3.4/typings/question_multipletext.d.ts +25 -3
  132. package/ts3.4/typings/question_ranking.d.ts +1 -0
  133. package/ts3.4/typings/question_tagbox.d.ts +3 -1
  134. package/ts3.4/typings/survey-element.d.ts +1 -4
  135. package/ts3.4/typings/survey-events-api.d.ts +16 -2
  136. package/ts3.4/typings/survey.d.ts +110 -55
  137. package/ts3.4/typings/utils/popup.d.ts +4 -1
  138. package/typings/actions/action.d.ts +1 -0
  139. package/typings/actions/adaptive-container.d.ts +1 -0
  140. package/typings/actions/container.d.ts +1 -0
  141. package/typings/base-interfaces.d.ts +6 -1
  142. package/typings/base.d.ts +3 -0
  143. package/typings/defaultCss/defaultV2Css.d.ts +6 -0
  144. package/typings/dragdrop/dom-adapter.d.ts +1 -0
  145. package/typings/dropdownListModel.d.ts +1 -0
  146. package/typings/dropdownMultiSelectListModel.d.ts +1 -0
  147. package/typings/entries/chunks/model.d.ts +1 -1
  148. package/typings/entries/core-wo-model.d.ts +0 -1
  149. package/typings/localizablestring.d.ts +8 -2
  150. package/typings/popup-dropdown-view-model.d.ts +4 -0
  151. package/typings/popup-survey.d.ts +0 -1
  152. package/typings/popup-view-model.d.ts +3 -0
  153. package/typings/popup.d.ts +3 -1
  154. package/typings/question.d.ts +4 -2
  155. package/typings/question_baseselect.d.ts +1 -2
  156. package/typings/question_checkbox.d.ts +3 -0
  157. package/typings/question_file.d.ts +7 -3
  158. package/typings/question_matrixdropdownbase.d.ts +4 -3
  159. package/typings/question_matrixdropdowncolumn.d.ts +5 -2
  160. package/typings/question_multipletext.d.ts +25 -3
  161. package/typings/question_ranking.d.ts +1 -0
  162. package/typings/question_tagbox.d.ts +3 -1
  163. package/typings/survey-element.d.ts +1 -4
  164. package/typings/survey-events-api.d.ts +16 -2
  165. package/typings/survey.d.ts +110 -55
  166. package/typings/utils/popup.d.ts +4 -1
  167. package/typings/utils/tooltip.d.ts +7 -7
@@ -1,6 +1,6 @@
1
1
  import { JsonError } from "./jsonobject";
2
2
  import { Base, EventBase } from "./base";
3
- import { ISurvey, ISurveyData, ISurveyImpl, ITextProcessor, IQuestion, IPanel, IElement, IPage, ISurveyErrorOwner, ISurveyElement, IProgressInfo, IFindElement, ISurveyLayoutElement, IPlainDataOptions, LayoutElementContainer } from "./base-interfaces";
3
+ import { ISurvey, ISurveyData, ISurveyImpl, ITextProcessor, IQuestion, IPanel, IElement, IPage, ISurveyErrorOwner, ISurveyElement, IProgressInfo, IFindElement, ISurveyLayoutElement, IPlainDataOptions, LayoutElementContainer, IValueItemCustomPropValues } from "./base-interfaces";
4
4
  import { SurveyElementCore } from "./survey-element";
5
5
  import { ISurveyTriggerOwner, SurveyTrigger, Trigger } from "./trigger";
6
6
  import { CalculatedValue } from "./calculatedValue";
@@ -18,7 +18,7 @@ import { IAction, Action } from "./actions/action";
18
18
  import { ActionContainer } from "./actions/container";
19
19
  import { QuestionPanelDynamicModel } from "./question_paneldynamic";
20
20
  import { Notifier } from "./notifier";
21
- import { TriggerExecutedEvent, CompletingEvent, CompleteEvent, ShowingPreviewEvent, NavigateToUrlEvent, CurrentPageChangingEvent, CurrentPageChangedEvent, ValueChangingEvent, ValueChangedEvent, VariableChangedEvent, QuestionVisibleChangedEvent, PageVisibleChangedEvent, PanelVisibleChangedEvent, QuestionCreatedEvent, QuestionAddedEvent, QuestionRemovedEvent, PanelAddedEvent, PanelRemovedEvent, PageAddedEvent, ValidateQuestionEvent, SettingQuestionErrorsEvent, ValidatePanelEvent, ErrorCustomTextEvent, ValidatedErrorsOnCurrentPageEvent, ProcessHtmlEvent, GetQuestionTitleEvent, GetTitleTagNameEvent, GetQuestionNoEvent, ProgressTextEvent, TextMarkdownEvent, TextRenderAsEvent, SendResultEvent, GetResultEvent, UploadFilesEvent, DownloadFileEvent, ClearFilesEvent, LoadChoicesFromServerEvent, ProcessTextValueEvent, UpdateQuestionCssClassesEvent, UpdatePanelCssClassesEvent, UpdatePageCssClassesEvent, UpdateChoiceItemCssEvent, AfterRenderSurveyEvent, AfterRenderHeaderEvent, AfterRenderPageEvent, AfterRenderQuestionEvent, AfterRenderQuestionInputEvent, AfterRenderPanelEvent, FocusInQuestionEvent, FocusInPanelEvent, ShowingChoiceItemEvent, ChoicesLazyLoadEvent, GetChoiceDisplayValueEvent, MatrixRowAddedEvent, MatrixBeforeRowAddedEvent, MatrixRowRemovingEvent, MatrixRowRemovedEvent, MatrixAllowRemoveRowEvent, MatrixCellCreatingEvent, MatrixCellCreatedEvent, MatrixAfterCellRenderEvent, MatrixCellValueChangedEvent, MatrixCellValueChangingEvent, MatrixCellValidateEvent, DynamicPanelModifiedEvent, DynamicPanelRemovingEvent, TimerPanelInfoTextEvent, DynamicPanelItemValueChangedEvent, IsAnswerCorrectEvent, DragDropAllowEvent, ScrollingElementToTopEvent, GetQuestionTitleActionsEvent, GetPanelTitleActionsEvent, GetPageTitleActionsEvent, GetPanelFooterActionsEvent, GetMatrixRowActionsEvent, ElementContentVisibilityChangedEvent, GetExpressionDisplayValueEvent, ServerValidateQuestionsEvent, MultipleTextItemAddedEvent, MatrixColumnAddedEvent, GetQuestionDisplayValueEvent, PopupVisibleChangedEvent } from "./survey-events-api";
21
+ import { TriggerExecutedEvent, CompletingEvent, CompleteEvent, ShowingPreviewEvent, NavigateToUrlEvent, CurrentPageChangingEvent, CurrentPageChangedEvent, ValueChangingEvent, ValueChangedEvent, VariableChangedEvent, QuestionVisibleChangedEvent, PageVisibleChangedEvent, PanelVisibleChangedEvent, QuestionCreatedEvent, QuestionAddedEvent, QuestionRemovedEvent, PanelAddedEvent, PanelRemovedEvent, PageAddedEvent, ValidateQuestionEvent, SettingQuestionErrorsEvent, ValidatePanelEvent, ErrorCustomTextEvent, ValidatedErrorsOnCurrentPageEvent, ProcessHtmlEvent, GetQuestionTitleEvent, GetTitleTagNameEvent, GetQuestionNoEvent, ProgressTextEvent, TextMarkdownEvent, TextRenderAsEvent, SendResultEvent, GetResultEvent, UploadFilesEvent, DownloadFileEvent, ClearFilesEvent, LoadChoicesFromServerEvent, ProcessTextValueEvent, UpdateQuestionCssClassesEvent, UpdatePanelCssClassesEvent, UpdatePageCssClassesEvent, UpdateChoiceItemCssEvent, AfterRenderSurveyEvent, AfterRenderHeaderEvent, AfterRenderPageEvent, AfterRenderQuestionEvent, AfterRenderQuestionInputEvent, AfterRenderPanelEvent, FocusInQuestionEvent, FocusInPanelEvent, ShowingChoiceItemEvent, ChoicesLazyLoadEvent, GetChoiceDisplayValueEvent, MatrixRowAddedEvent, MatrixBeforeRowAddedEvent, MatrixRowRemovingEvent, MatrixRowRemovedEvent, MatrixAllowRemoveRowEvent, MatrixCellCreatingEvent, MatrixCellCreatedEvent, MatrixAfterCellRenderEvent, MatrixCellValueChangedEvent, MatrixCellValueChangingEvent, MatrixCellValidateEvent, DynamicPanelModifiedEvent, DynamicPanelRemovingEvent, TimerPanelInfoTextEvent, DynamicPanelItemValueChangedEvent, DynamicPanelGetTabTitleEvent, IsAnswerCorrectEvent, DragDropAllowEvent, ScrollingElementToTopEvent, GetQuestionTitleActionsEvent, GetPanelTitleActionsEvent, GetPageTitleActionsEvent, GetPanelFooterActionsEvent, GetMatrixRowActionsEvent, ElementContentVisibilityChangedEvent, GetExpressionDisplayValueEvent, ServerValidateQuestionsEvent, MultipleTextItemAddedEvent, MatrixColumnAddedEvent, GetQuestionDisplayValueEvent, PopupVisibleChangedEvent } from "./survey-events-api";
22
22
  import { QuestionMatrixDropdownModelBase } from "./question_matrixdropdownbase";
23
23
  import { QuestionMatrixDynamicModel } from "./question_matrixdynamic";
24
24
  import { QuestionFileModel } from "./question_file";
@@ -113,7 +113,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
113
113
  *
114
114
  * For information on event handler parameters, refer to descriptions within the interface.
115
115
  *
116
- * [Continue an Incomplete Survey](https://surveyjs.io/form-library/documentation/handle-survey-results-continue-incomplete (linkStyle))
116
+ * Alternatively, you can handle the [`onCurrentPageChanged`](#onCurrentPageChanged) and [`onValueChanged`](#onValueChanged) events, as shown in the following demo: [Continue an Incomplete Survey](https://surveyjs.io/form-library/examples/survey-editprevious/).
117
117
  */
118
118
  onPartialSend: EventBase<SurveyModel, {}>;
119
119
  /**
@@ -138,7 +138,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
138
138
  */
139
139
  onValueChanging: EventBase<SurveyModel, ValueChangingEvent>;
140
140
  /**
141
- * An event that is raised after a question value is changed
141
+ * An event that is raised after a question value is changed.
142
142
  *
143
143
  * For information on event handler parameters, refer to descriptions within the interface.
144
144
  *
@@ -626,6 +626,10 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
626
626
  * An event that is raised after an item value is changed in a panel within a [Dynamic Panel](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/) question.
627
627
  */
628
628
  onDynamicPanelItemValueChanged: EventBase<SurveyModel, DynamicPanelItemValueChangedEvent>;
629
+ /**
630
+ * An event that is raised before a [Dynamic Panel](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/) renders [tab titles](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#templateTabTitle). Use this event to change individual tab titles.
631
+ */
632
+ onGetDynamicPanelTabTitle: EventBase<SurveyModel, DynamicPanelGetTabTitleEvent>;
629
633
  /**
630
634
  * Use this event to define, whether an answer to a question is correct or not.
631
635
  * @see Question.value
@@ -732,7 +736,10 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
732
736
  readonly bodyCss: string;
733
737
  readonly bodyContainerCss: string;
734
738
  completedCss: string;
739
+ completedBeforeCss: string;
740
+ loadingBodyCss: string;
735
741
  containerCss: string;
742
+ fitToContainer: boolean;
736
743
  private getNavigationCss;
737
744
  private lazyRenderingValue;
738
745
  showBrandInfo: boolean;
@@ -792,7 +799,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
792
799
  /*
793
800
  * Specifies whether to save survey results when respondents switch between pages. Handle the [`onPartialSend`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onPartialSend) event to implement the save operation.
794
801
  *
795
- * [Continue an Incomplete Survey](https://surveyjs.io/form-library/documentation/handle-survey-results-continue-incomplete (linkStyle))
802
+ * Alternatively, you can handle the [`onCurrentPageChanged`](#onCurrentPageChanged) and [`onValueChanged`](#onValueChanged) events, as shown in the following demo: [Continue an Incomplete Survey](https://surveyjs.io/form-library/examples/survey-editprevious/).
796
803
  */
797
804
  sendResultOnPageNext: boolean;
798
805
  /*
@@ -1337,7 +1344,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1337
1344
  readonly isShowProgressBarOnTop: boolean;
1338
1345
  readonly isShowProgressBarOnBottom: boolean;
1339
1346
  getProgressTypeComponent(): string;
1340
- getProgressCssClasses(): string;
1347
+ getProgressCssClasses(container?: string): string;
1341
1348
  private canShowProresBar;
1342
1349
  readonly processedTitle: string;
1343
1350
  /*
@@ -1954,7 +1961,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1954
1961
  getChoiceDisplayValue(options: {
1955
1962
  question: Question;
1956
1963
  values: Array<any>;
1957
- setItems: (displayValues: Array<string>) => void;
1964
+ setItems: (displayValues: Array<string>, ...customValues: Array<IValueItemCustomPropValues>) => void;
1958
1965
  }): void;
1959
1966
  matrixBeforeRowAdded(options: any): void;
1960
1967
  matrixRowAdded(question: QuestionMatrixDynamicModel, row: any): void;
@@ -1977,6 +1984,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1977
1984
  dynamicPanelRemoved(question: QuestionPanelDynamicModel, panelIndex: number, panel: PanelModel): void;
1978
1985
  dynamicPanelRemoving(question: QuestionPanelDynamicModel, panelIndex: number, panel: PanelModel): boolean;
1979
1986
  dynamicPanelItemValueChanged(question: IQuestion, options: any): void;
1987
+ dynamicPanelGetTabTitle(question: IQuestion, options: any): void;
1980
1988
  dragAndDropAllow(options: DragDropAllowEvent): boolean;
1981
1989
  elementContentVisibilityChanged(element: ISurveyElement): void;
1982
1990
  getUpdatedPanelFooterActions(panel: PanelModel, actions: Array<IAction>, question?: QuestionPanelDynamicModel): Array<IAction>;
@@ -2078,36 +2086,42 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2078
2086
  */
2079
2087
  removePage(page: PageModel): void;
2080
2088
  /**
2081
- * Returns a question by its name.
2082
- * @param name a question name
2083
- * @param caseInsensitive
2089
+ * Returns a question with a specified [`name`](https://surveyjs.io/form-library/documentation/api-reference/question#name).
2090
+ * @param name A question name
2091
+ * @param caseInsensitive (Optional) A Boolean value that specifies case sensitivity when searching for the question. Default value: `false` (uppercase and lowercase letters are treated as distinct).
2092
+ * @returns A question with a specified name.
2093
+ * @see getAllQuestions
2084
2094
  * @see getQuestionByValueName
2085
2095
  */
2086
2096
  getQuestionByName(name: string, caseInsensitive?: boolean): Question;
2087
2097
  findQuestionByName(name: string): IQuestion;
2088
2098
  /**
2089
- * Returns a question by its value name
2090
- * @param valueName a question name
2091
- * @param caseInsensitive
2099
+ * Returns a question with a specified [`valueName`](https://surveyjs.io/form-library/documentation/api-reference/question#valueName).
2100
+ *
2101
+ * > Since `valueName` does not have to be unique, multiple questions can have the same `valueName` value. In this case, the `getQuestionByValueName()` method returns the first such question. If you need to get all questions with the same `valueName`, call the `getQuestionsByValueName()` method.
2102
+ * @param valueName A question's `valueName` property value.
2103
+ * @param caseInsensitive (Optional) A Boolean value that specifies case sensitivity when searching for the question. Default value: `false` (uppercase and lowercase letters are treated as distinct).
2104
+ * @returns A question with a specified `valueName`.
2105
+ * @see getAllQuestions
2092
2106
  * @see getQuestionByName
2093
- * @see getQuestionsByValueName
2094
- * @see Question.valueName
2095
2107
  */
2096
- getQuestionByValueName(valueName: string, caseInsensitive?: boolean): IQuestion;
2108
+ getQuestionByValueName(valueName: string, caseInsensitive?: boolean): Question;
2097
2109
  /**
2098
- * Returns all questions by their valueName. name property is used if valueName property is empty.
2099
- * @param valueName a question name
2100
- * @param caseInsensitive
2110
+ * Returns all questions with a specified [`valueName`](https://surveyjs.io/form-library/documentation/api-reference/question#valueName). If a question's `valueName` is undefined, its [`name`](https://surveyjs.io/form-library/documentation/api-reference/question#name) property is used.
2111
+ * @param valueName A question's `valueName` property value.
2112
+ * @param caseInsensitive (Optional) A Boolean value that specifies case sensitivity when searching for the questions. Default value: `false` (uppercase and lowercase letters are treated as distinct).
2113
+ * @returns An array of questions with a specified `valueName`.
2114
+ * @see getAllQuestions
2101
2115
  * @see getQuestionByName
2102
- * @see getQuestionByValueName
2103
- * @see Question.valueName
2104
2116
  */
2105
2117
  getQuestionsByValueName(valueName: string, caseInsensitive?: boolean): Array<Question>;
2106
2118
  getCalculatedValueByName(name: string): CalculatedValue;
2107
2119
  /**
2108
- * Gets a list of questions by their names.
2109
- * @param names an array of question names
2110
- * @param caseInsensitive
2120
+ * Returns an array of questions with specified [names](https://surveyjs.io/form-library/documentation/api-reference/question#name).
2121
+ * @param names An array of question names.
2122
+ * @param caseInsensitive (Optional) A Boolean value that specifies case sensitivity when searching for the questions. Default value: `false` (uppercase and lowercase letters are treated as distinct).
2123
+ * @returns An array of questions with specified names
2124
+ * @see getAllQuestions
2111
2125
  */
2112
2126
  getQuestionsByNames(names: string[], caseInsensitive?: boolean): IQuestion[];
2113
2127
  /**
@@ -2131,26 +2145,36 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2131
2145
  */
2132
2146
  getPagesByNames(names: string[]): PageModel[];
2133
2147
  /**
2134
- * Returns a list of all questions in the survey.
2148
+ * Returns a list of all [questions](https://surveyjs.io/form-library/documentation/api-reference/question) in the survey.
2135
2149
  * @param visibleOnly A Boolean value that specifies whether to include only visible questions.
2136
2150
  * @param includeDesignTime For internal use.
2137
2151
  * @param includeNested A Boolean value that specifies whether to include nested questions, such as questions within matrix cells.
2152
+ * @returns An array of questions.
2153
+ * @see getQuestionByName
2138
2154
  */
2139
2155
  getAllQuestions(visibleOnly?: boolean, includeDesignTime?: boolean, includeNested?: boolean): Array<Question>;
2140
2156
  /**
2141
- * Returns quiz questions. All visible questions that has input(s) widgets.
2157
+ * Returns an array of quiz questions. A question counts if it is visible, has an input field, and specifies [`correctAnswer`](https://surveyjs.io/form-library/documentation/api-reference/checkbox-question-model#correctAnswer).
2158
+ *
2159
+ * For more information about quizzes, refer to the following tutorial: [Create a Quiz](https://surveyjs.io/form-library/documentation/design-survey/create-a-quiz).
2160
+ * @returns An array of quiz questions.
2142
2161
  * @see getQuizQuestionCount
2143
2162
  */
2144
2163
  getQuizQuestions(): Array<IQuestion>;
2145
2164
  /**
2146
- * Returns a panel by its name.
2147
- * @param name a panel name
2148
- * @param caseInsensitive
2149
- * @see getQuestionByName
2165
+ * Returns a [panel](https://surveyjs.io/form-library/documentation/api-reference/panel-model) with a specified [`name`](https://surveyjs.io/form-library/documentation/api-reference/panel-model#name).
2166
+ * @param name A panel name.
2167
+ * @param caseInsensitive (Optional) A Boolean value that specifies case sensitivity when searching for the panel. Default value: `false` (uppercase and lowercase letters are treated as distinct).
2168
+ * @returns A panel with a specified name.
2169
+ * @see getAllPanels
2150
2170
  */
2151
2171
  getPanelByName(name: string, caseInsensitive?: boolean): PanelModel;
2152
2172
  /**
2153
- * Returns a list of all survey's panels.
2173
+ * Returns a list of all [panels](https://surveyjs.io/form-library/documentation/api-reference/panel-model) in the survey.
2174
+ * @param visibleOnly A Boolean value that specifies whether to include only visible panels.
2175
+ * @param includeDesignTime For internal use.
2176
+ * @returns An array of panels.
2177
+ * @see getPanelByName
2154
2178
  */
2155
2179
  getAllPanels(visibleOnly?: boolean, includeDesignTime?: boolean): Array<IPanel>;
2156
2180
  /**
@@ -2241,45 +2265,56 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2241
2265
  questionCountByValueName(valueName: string): number;
2242
2266
  private clearInvisibleQuestionValues;
2243
2267
  /**
2244
- * Returns a variable value. Variable, unlike values, are not stored in the survey results.
2245
- * @param name A variable name
2246
- * @see SetVariable
2268
+ * Returns a variable value.
2269
+ *
2270
+ * [Variables help topic](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#variables (linkStyle))
2271
+ * @param name A variable name.
2272
+ * @return A variable value.
2273
+ * @see setVariable
2274
+ * @see getVariableNames
2247
2275
  */
2248
2276
  getVariable(name: string): any;
2249
2277
  /**
2250
- * Sets a variable value. Variable, unlike values, are not stored in the survey results.
2251
- * @param name A variable name
2252
- * @param newValue A variable new value
2253
- * @see GetVariable
2278
+ * Sets a variable value.
2279
+ *
2280
+ * [Variables help topic](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#variables (linkStyle))
2281
+ * @param name A variable name.
2282
+ * @param newValue A new variable value.
2283
+ * @see getVariable
2284
+ * @see getVariableNames
2254
2285
  */
2255
2286
  setVariable(name: string, newValue: any): void;
2256
2287
  /**
2257
- * Returns all variables in the survey. Use setVariable function to create a new variable.
2288
+ * Returns the names of all variables in the survey.
2289
+ *
2290
+ * [Variables help topic](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#variables (linkStyle))
2291
+ * @returns An array of variable names.
2258
2292
  * @see getVariable
2259
2293
  * @see setVariable
2260
2294
  */
2261
2295
  getVariableNames(): Array<string>;
2262
2296
  protected getUnbindValue(value: any): any;
2263
2297
  /**
2264
- * Returns a question value (answer) by a question's name.
2265
- * @param name A question name
2298
+ * Returns a value (answer) for a question with a specified `name`.
2299
+ * @param name A question name.
2300
+ * @returns A question value (answer).
2266
2301
  * @see data
2267
2302
  * @see setValue
2268
2303
  */
2269
2304
  getValue(name: string): any;
2270
2305
  /**
2271
- * Sets a question value (answer). It runs all triggers and conditions (`visibleIf` properties).
2306
+ * Sets a question value (answer).
2272
2307
  *
2273
- * Goes to the next page if `goNextPageAutomatic` is `true` and all questions on the current page are answered correctly.
2274
- * @param name A question name
2275
- * @param newValue A new question value
2308
+ * > This method executes all triggers and reevaluates conditions (`visibleIf`, `requiredId`, and others). It also switches the survey to the next page if the [`goNextPageAutomatic`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#goNextPageAutomatic) property is enabled and all questions on the current page have correct answers.
2309
+ * @param name A question name.
2310
+ * @param newValue A new question value.
2311
+ * @param locNotification For internal use.
2312
+ * @param allowNotifyValueChanged For internal use.
2276
2313
  * @see data
2277
2314
  * @see getValue
2278
- * @see PageModel.visibleIf
2279
- * @see Question.visibleIf
2280
- * @see goNextPageAutomatic
2281
2315
  */
2282
2316
  setValue(name: string, newQuestionValue: any, locNotification?: any, allowNotifyValueChanged?: boolean): void;
2317
+ private isValueEmpyOnSetValue;
2283
2318
  private updateOnSetValue;
2284
2319
  private isValueEqual;
2285
2320
  protected doOnPageAdded(page: PageModel): void;
@@ -2287,15 +2322,17 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2287
2322
  private generateNewName;
2288
2323
  protected tryGoNextPageAutomatic(name: string): void;
2289
2324
  /**
2290
- * Returns the comment value.
2291
- * @param name A comment's name.
2325
+ * Returns a comment value from a question with a specified `name`.
2326
+ * @param name A question name.
2327
+ * @returns A comment.
2292
2328
  * @see setComment
2293
2329
  */
2294
2330
  getComment(name: string): string;
2295
2331
  /**
2296
- * Sets a comment value.
2297
- * @param name A comment name.
2332
+ * Sets a comment value to a question with a specified `name`.
2333
+ * @param name A question name.
2298
2334
  * @param newValue A new comment value.
2335
+ * @param locNotification For internal use.
2299
2336
  * @see getComment
2300
2337
  */
2301
2338
  setComment(name: string, newValue: string, locNotification?: any): void;
@@ -2338,17 +2375,31 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2338
2375
  getSurveyMarkdownHtml(element: Question | PanelModel | PageModel | SurveyModel, text: string, name: string): string;
2339
2376
  getCorrectedAnswerCount(): number;
2340
2377
  /**
2341
- * Returns an amount of corrected quiz answers.
2378
+ * Returns the number of correct answers in a quiz.
2379
+ *
2380
+ * For more information about quizzes, refer to the following tutorial: [Create a Quiz](https://surveyjs.io/form-library/documentation/design-survey/create-a-quiz).
2381
+ * @returns The number of correct answers in a quiz.
2382
+ * @see getQuizQuestionCount
2383
+ * @see getInCorrectAnswerCount
2342
2384
  */
2343
2385
  getCorrectAnswerCount(): number;
2344
2386
  /**
2345
- * Returns quiz question number. It may be different from `getQuizQuestions.length` because some widgets like matrix may have several questions.
2387
+ * Returns the number of quiz questions. A question counts if it is visible, has an input field, and specifies [`correctAnswer`](https://surveyjs.io/form-library/documentation/api-reference/checkbox-question-model#correctAnswer).
2388
+ *
2389
+ * This number may be different from `getQuizQuestions().length` because certain question types (for instance, matrix-like types) include more than one question.
2390
+ *
2391
+ * For more information about quizzes, refer to the following tutorial: [Create a Quiz](https://surveyjs.io/form-library/documentation/design-survey/create-a-quiz).
2392
+ * @returns The number of quiz questions.
2346
2393
  * @see getQuizQuestions
2347
2394
  */
2348
2395
  getQuizQuestionCount(): number;
2349
2396
  getInCorrectedAnswerCount(): number;
2350
2397
  /**
2351
- * Returns an amount of incorrect quiz answers.
2398
+ * Returns the number of incorrect answers in a quiz.
2399
+ *
2400
+ * For more information about quizzes, refer to the following tutorial: [Create a Quiz](https://surveyjs.io/form-library/documentation/design-survey/create-a-quiz).
2401
+ * @returns The number of incorrect answers in a quiz.
2402
+ * @see getCorrectAnswerCount
2352
2403
  */
2353
2404
  getInCorrectAnswerCount(): number;
2354
2405
  onCorrectQuestionAnswer(question: IQuestion, options: any): void;
@@ -2550,4 +2601,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2550
2601
  */
2551
2602
  dispose(): void;
2552
2603
  disposeCallback: () => void;
2604
+ private onScrollCallback;
2605
+ onScroll(): void;
2606
+ addScrollEventListener(): void;
2607
+ removeScrollEventListener(): void;
2553
2608
  }
@@ -16,7 +16,10 @@ export interface ISize {
16
16
  export declare class PopupUtils {
17
17
  static bottomIndent: number;
18
18
  static calculatePosition(targetRect: ClientRect, height: number, width: number, verticalPosition: VerticalPosition, horizontalPosition: HorizontalPosition, showPointer: boolean, positionMode?: PositionMode): INumberPosition;
19
- static updateVerticalDimensions(top: number, height: number, windowHeight: number): any;
19
+ static getCorrectedVerticalDimensions(top: number, height: number, windowHeight: number): {
20
+ height: number;
21
+ top: number;
22
+ };
20
23
  static updateHorizontalDimensions(left: number, width: number, windowWidth: number, horizontalPosition: HorizontalPosition, positionMode?: PositionMode, margins?: {
21
24
  left: number;
22
25
  right: number;
@@ -248,6 +248,7 @@ export declare class Action extends BaseAction implements IAction, ILocalizableO
248
248
  getEnabled(): boolean;
249
249
  setComponent(val: string): void;
250
250
  getComponent(): string;
251
+ dispose(): void;
251
252
  }
252
253
  export declare class ActionDropdownViewModel {
253
254
  private item;
@@ -7,6 +7,7 @@ export declare class AdaptiveActionContainer<T extends Action = Action> extends
7
7
  minVisibleItemsCount: number;
8
8
  isResponsivenessDisabled: boolean;
9
9
  private hideItemsGreaterN;
10
+ private getActionsToHide;
10
11
  private getVisibleItemsCount;
11
12
  private updateItemMode;
12
13
  private static ContainerID;
@@ -6,6 +6,7 @@ export declare let defaultActionBarCss: {
6
6
  defaultSizeMode: string;
7
7
  smallSizeMode: string;
8
8
  item: string;
9
+ itemAsIcon: string;
9
10
  itemActive: string;
10
11
  itemPressed: string;
11
12
  itemIcon: string;
@@ -28,6 +28,10 @@ export interface ITextProcessor {
28
28
  export interface ISurveyErrorOwner extends ILocalizableOwner {
29
29
  getErrorCustomText(text: string, error: SurveyError): string;
30
30
  }
31
+ export interface IValueItemCustomPropValues {
32
+ propertyName: string;
33
+ values: Array<any>;
34
+ }
31
35
  export interface ISurvey extends ITextProcessor, ISurveyErrorOwner {
32
36
  getSkeletonComponentName(element: ISurveyElement): string;
33
37
  currentPage: IPage;
@@ -120,7 +124,7 @@ export interface ISurvey extends ITextProcessor, ISurveyErrorOwner {
120
124
  getChoiceDisplayValue(options: {
121
125
  question: IQuestion;
122
126
  values: Array<any>;
123
- setItems: (displayValues: Array<string>) => void;
127
+ setItems: (displayValues: Array<string>, ...customValues: Array<IValueItemCustomPropValues>) => void;
124
128
  }): void;
125
129
  matrixRowAdded(question: IQuestion, row: any): any;
126
130
  matrixColumnAdded(question: IQuestion, column: any): void;
@@ -144,6 +148,7 @@ export interface ISurvey extends ITextProcessor, ISurveyErrorOwner {
144
148
  dynamicPanelRemoved(question: IQuestion, panelIndex: number, panel: IPanel): void;
145
149
  dynamicPanelRemoving(question: IQuestion, panelIndex: number, panel: IPanel): boolean;
146
150
  dynamicPanelItemValueChanged(question: IQuestion, options: any): any;
151
+ dynamicPanelGetTabTitle(question: IQuestion, options: any): any;
147
152
  dragAndDropAllow(options: DragDropAllowEvent): boolean;
148
153
  scrollElementToTop(element: ISurveyElement, question: IQuestion, page: IPage, id: string, scrollIfVisible?: boolean): any;
149
154
  runExpression(expression: string): any;
package/typings/base.d.ts CHANGED
@@ -56,6 +56,9 @@ export declare class Base {
56
56
  static finishCollectDependencies(): Dependencies;
57
57
  static startCollectDependencies(updater: () => void, target: Base, property: string): void;
58
58
  private static collectDependency;
59
+ dependencies: {
60
+ [key: string]: ComputedUpdater;
61
+ };
59
62
  static get commentSuffix(): string;
60
63
  static set commentSuffix(val: string);
61
64
  static get commentPrefix(): string;
@@ -4,6 +4,7 @@ export declare var defaultV2Css: {
4
4
  rootMobile: string;
5
5
  rootReadOnly: string;
6
6
  rootCompact: string;
7
+ rootFitToContainer: string;
7
8
  rootBackgroundImage: string;
8
9
  container: string;
9
10
  header: string;
@@ -19,6 +20,7 @@ export declare var defaultV2Css: {
19
20
  clockTimerMinorText: string;
20
21
  clockTimerMajorText: string;
21
22
  bodyEmpty: string;
23
+ bodyLoading: string;
22
24
  footer: string;
23
25
  title: string;
24
26
  description: string;
@@ -29,6 +31,7 @@ export declare var defaultV2Css: {
29
31
  navigationButton: string;
30
32
  bodyNavigationButton: string;
31
33
  completedPage: string;
34
+ completedBeforePage: string;
32
35
  timerRoot: string;
33
36
  navigation: {
34
37
  complete: string;
@@ -302,6 +305,9 @@ export declare var defaultV2Css: {
302
305
  content: string;
303
306
  row: string;
304
307
  cell: string;
308
+ cellError: string;
309
+ cellErrorTop: string;
310
+ cellErrorBottom: string;
305
311
  };
306
312
  dropdown: {
307
313
  root: string;
@@ -14,6 +14,7 @@ export declare class DragDropDOMAdapter implements IDragDropDOMAdapter {
14
14
  private currentX;
15
15
  private currentY;
16
16
  private savedTargetNode;
17
+ private savedTargetNodeParent;
17
18
  private scrollIntervalId;
18
19
  constructor(dd: IDragDropEngine, longTap?: boolean);
19
20
  private get rootElement();
@@ -59,6 +59,7 @@ export declare class DropdownListModel extends Base {
59
59
  get showHintString(): boolean;
60
60
  get hintStringSuffix(): string;
61
61
  get hintStringMiddle(): string;
62
+ private qustionPropertyChangedHandler;
62
63
  constructor(question: Question, onSelectionChanged?: (item: IAction, ...params: any[]) => void);
63
64
  get popupModel(): PopupModel;
64
65
  get inputReadOnly(): boolean;
@@ -7,6 +7,7 @@ export declare class DropdownMultiSelectListModel extends DropdownListModel {
7
7
  protected popupCssClasses: string;
8
8
  filterStringPlaceholder: string;
9
9
  closeOnSelect: boolean;
10
+ locStrsChanged(): void;
10
11
  private updateListState;
11
12
  private syncFilterStringPlaceholder;
12
13
  private getSelectedActions;
@@ -29,7 +29,7 @@ export { MatrixDropdownRowModel, QuestionMatrixDropdownModel } from "../../quest
29
29
  export { MatrixDynamicRowModel, QuestionMatrixDynamicModel } from "../../question_matrixdynamic";
30
30
  export { MatrixRowModel, MatrixCells, QuestionMatrixModel, IMatrixData } from "../../question_matrix";
31
31
  export { QuestionMatrixBaseModel } from "../../martixBase";
32
- export { MultipleTextItemModel, QuestionMultipleTextModel, MultipleTextEditorModel } from "../../question_multipletext";
32
+ export { MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel } from "../../question_multipletext";
33
33
  export { PanelModel, PanelModelBase, QuestionRowModel } from "../../panel";
34
34
  export { FlowPanelModel } from "../../flowpanel";
35
35
  export { PageModel } from "../../page";
@@ -8,5 +8,4 @@ export { unwrap, getOriginalEvent, getElement } from "../utils/utils";
8
8
  export * from "../actions/action";
9
9
  export * from "../actions/adaptive-container";
10
10
  export * from "../actions/container";
11
- export * from "../utils/tooltip";
12
11
  export * from "../utils/dragOrClickHelper";
@@ -30,7 +30,9 @@ export declare class LocalizableString implements ILocalizableString {
30
30
  private htmlValues;
31
31
  private renderedText;
32
32
  private calculatedTextValue;
33
- localizationName: string;
33
+ private _localizationName;
34
+ get localizationName(): string;
35
+ set localizationName(val: string);
34
36
  onGetTextCallback: (str: string) => string;
35
37
  onGetDefaultTextCallback: () => string;
36
38
  storeDefaultText: boolean;
@@ -59,8 +61,12 @@ export declare class LocalizableString implements ILocalizableString {
59
61
  get textOrHtml(): string;
60
62
  get renderedHtml(): string;
61
63
  getLocaleText(loc: string): string;
62
- private getLocaleTextWithDefault;
64
+ private getLocaleTextCore;
65
+ private isLocaleTextEqualsWithDefault;
66
+ clear(): void;
67
+ clearLocale(loc?: string): void;
63
68
  setLocaleText(loc: string, value: string): void;
69
+ private isValueEmpty;
64
70
  private get curLocale();
65
71
  private canRemoveLocValue;
66
72
  private fireStrChanged;
@@ -20,10 +20,14 @@ export declare class PopupDropdownViewModel extends PopupBaseViewModel {
20
20
  protected getPopupHeaderTemplate(): string;
21
21
  popupDirection: string;
22
22
  pointerTarget: IPosition;
23
+ private recalculatePositionHandler;
23
24
  constructor(model: PopupModel, targetElement?: HTMLElement);
24
25
  setComponentElement(componentRoot: HTMLElement, targetElement?: HTMLElement | null): void;
26
+ resetComponentElement(): void;
25
27
  updateOnShowing(): void;
26
28
  private get shouldCreateResizeCallback();
27
29
  updatePosition(isResetHeight: boolean, isDelayUpdating?: boolean): void;
28
30
  updateOnHiding(): void;
31
+ protected onModelChanging(newModel: PopupModel): void;
32
+ dispose(): void;
29
33
  }
@@ -92,7 +92,6 @@ export declare class PopupSurveyModel extends Base {
92
92
  private setCssButton;
93
93
  protected createSurvey(jsonObj: any): SurveyModel;
94
94
  protected onSurveyComplete(): void;
95
- private onScrollCallback;
96
95
  onScroll(): void;
97
96
  }
98
97
  /**
@@ -4,6 +4,8 @@ import { CssClassBuilder } from "./utils/cssClassBuilder";
4
4
  import { ActionContainer } from "./actions/container";
5
5
  export declare const FOCUS_INPUT_SELECTOR = "input:not(:disabled):not([readonly]):not([type=hidden]),select:not(:disabled):not([readonly]),textarea:not(:disabled):not([readonly]), button:not(:disabled):not([readonly]), [tabindex]:not([tabindex^=\"-\"])";
6
6
  export declare class PopupBaseViewModel extends Base {
7
+ private static SubscriptionId;
8
+ private subscriptionId;
7
9
  protected popupSelector: string;
8
10
  protected fixedPopupContainer: string;
9
11
  protected containerSelector: string;
@@ -28,6 +30,7 @@ export declare class PopupBaseViewModel extends Base {
28
30
  protected getPopupHeaderTemplate(): string;
29
31
  protected createFooterActionBar(): void;
30
32
  protected resetDimensionsAndPositionStyleProperties(): void;
33
+ protected onModelChanging(newModel: PopupModel): void;
31
34
  private setupModel;
32
35
  private _model;
33
36
  get model(): PopupModel;
@@ -24,6 +24,7 @@ export interface IPopupModel<T = any> extends IDialogOptions {
24
24
  contentComponentData: T;
25
25
  }
26
26
  export declare class PopupModel<T = any> extends Base {
27
+ private onDispose;
27
28
  setWidthByTarget: boolean;
28
29
  focusFirstInputSelector: string;
29
30
  contentComponentName: string;
@@ -46,11 +47,12 @@ export declare class PopupModel<T = any> extends Base {
46
47
  onFooterActionsCreated: EventBase<Base>;
47
48
  onRecalculatePosition: EventBase<Base>;
48
49
  private refreshInnerModel;
49
- constructor(contentComponentName: string, contentComponentData: T, verticalPosition?: VerticalPosition, horizontalPosition?: HorizontalPosition, showPointer?: boolean, isModal?: boolean, onCancel?: () => void, onApply?: () => boolean, onHide?: () => void, onShow?: () => void, cssClass?: string, title?: string);
50
+ constructor(contentComponentName: string, contentComponentData: T, verticalPosition?: VerticalPosition, horizontalPosition?: HorizontalPosition, showPointer?: boolean, isModal?: boolean, onCancel?: () => void, onApply?: () => boolean, onHide?: () => void, onShow?: () => void, cssClass?: string, title?: string, onDispose?: () => void);
50
51
  get isVisible(): boolean;
51
52
  set isVisible(value: boolean);
52
53
  toggleVisibility(): void;
53
54
  recalculatePosition(isResetHeight: boolean): void;
54
55
  updateFooterActions(footerActions: Array<IAction>): Array<IAction>;
56
+ dispose(): void;
55
57
  }
56
58
  export declare function createDialogOptions(componentName: string, data: any, onApply: () => boolean, onCancel?: () => void, onHide?: () => void, onShow?: () => void, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): IDialogOptions;
@@ -124,6 +124,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
124
124
  get visible(): boolean;
125
125
  set visible(val: boolean);
126
126
  protected onVisibleChanged(): void;
127
+ private updateIsVisibleProp;
127
128
  /**
128
129
  * Specifies whether to use display names for question values in placeholders.
129
130
  *
@@ -375,11 +376,9 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
375
376
  get cssDescription(): string;
376
377
  protected setCssDescription(val: string): void;
377
378
  protected getCssDescription(cssClasses: any): string;
378
- protected getIsErrorsModeTooltip(): boolean;
379
379
  showErrorOnCore(location: string): boolean;
380
380
  get showErrorOnTop(): boolean;
381
381
  get showErrorOnBottom(): boolean;
382
- protected getIsTooltipErrorSupportedByParent(): boolean;
383
382
  private get showErrorsOutsideQuestion();
384
383
  get showErrorsAboveQuestion(): boolean;
385
384
  get showErrorsBelowQuestion(): boolean;
@@ -535,6 +534,8 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
535
534
  */
536
535
  get value(): any;
537
536
  set value(newValue: any);
537
+ get hasFilteredValue(): boolean;
538
+ getFilteredValue(): any;
538
539
  get valueForSurvey(): any;
539
540
  /**
540
541
  * Sets the question's `value` and `comment` properties to `undefined`.
@@ -638,6 +639,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
638
639
  protected getQuizQuestionCount(): number;
639
640
  protected getCorrectAnswerCount(): number;
640
641
  protected checkIfAnswerCorrect(): boolean;
642
+ protected getAnswerCorrectIgnoreOrder(): boolean;
641
643
  /**
642
644
  * Returns `true` if a question answer matches the `correctAnswer` property value.
643
645
  *
@@ -154,8 +154,7 @@ export declare class QuestionSelectBase extends Question {
154
154
  protected rendredValueToDataCore(val: any): any;
155
155
  protected needConvertRenderedOtherToDataValue(): boolean;
156
156
  protected updateSelectedItemValues(): void;
157
- protected updateSingleSelectedItemValues(): void;
158
- protected updateMultipleSelectedItemValues(): void;
157
+ private setCustomValuesIntoItems;
159
158
  protected hasUnknownValue(val: any, includeOther?: boolean, isFilteredChoices?: boolean, checkEmptyValue?: boolean): boolean;
160
159
  protected isValueDisabled(val: any): boolean;
161
160
  /**