survey-core 1.9.125 → 1.9.126

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 (239) hide show
  1. package/defaultV2.css +135 -54
  2. package/defaultV2.css.map +1 -1
  3. package/defaultV2.fontless.css +135 -54
  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/i18n/arabic.js +1 -1
  8. package/i18n/arabic.min.js +1 -1
  9. package/i18n/basque.js +1 -1
  10. package/i18n/basque.min.js +1 -1
  11. package/i18n/bulgarian.js +1 -1
  12. package/i18n/bulgarian.min.js +1 -1
  13. package/i18n/catalan.js +1 -1
  14. package/i18n/catalan.min.js +1 -1
  15. package/i18n/croatian.js +1 -1
  16. package/i18n/croatian.min.js +1 -1
  17. package/i18n/czech.js +1 -1
  18. package/i18n/czech.min.js +1 -1
  19. package/i18n/danish.js +1 -1
  20. package/i18n/danish.min.js +1 -1
  21. package/i18n/dutch.js +1 -1
  22. package/i18n/dutch.min.js +1 -1
  23. package/i18n/english.js +1 -1
  24. package/i18n/english.min.js +1 -1
  25. package/i18n/estonian.js +1 -1
  26. package/i18n/estonian.min.js +1 -1
  27. package/i18n/finnish.js +1 -1
  28. package/i18n/finnish.min.js +1 -1
  29. package/i18n/french.js +1 -1
  30. package/i18n/french.min.js +1 -1
  31. package/i18n/georgian.js +1 -1
  32. package/i18n/georgian.min.js +1 -1
  33. package/i18n/german.js +1 -1
  34. package/i18n/german.min.js +1 -1
  35. package/i18n/greek.js +1 -1
  36. package/i18n/greek.min.js +1 -1
  37. package/i18n/hebrew.js +1 -1
  38. package/i18n/hebrew.min.js +1 -1
  39. package/i18n/hindi.js +1 -1
  40. package/i18n/hindi.min.js +1 -1
  41. package/i18n/hungarian.js +1 -1
  42. package/i18n/hungarian.min.js +1 -1
  43. package/i18n/icelandic.js +1 -1
  44. package/i18n/icelandic.min.js +1 -1
  45. package/i18n/index.js +1 -1
  46. package/i18n/index.min.js +1 -1
  47. package/i18n/indonesian.js +1 -1
  48. package/i18n/indonesian.min.js +1 -1
  49. package/i18n/italian.js +1 -1
  50. package/i18n/italian.min.js +1 -1
  51. package/i18n/japanese.js +1 -1
  52. package/i18n/japanese.min.js +1 -1
  53. package/i18n/kazakh.js +1 -1
  54. package/i18n/kazakh.min.js +1 -1
  55. package/i18n/korean.js +1 -1
  56. package/i18n/korean.min.js +1 -1
  57. package/i18n/latvian.js +1 -1
  58. package/i18n/latvian.min.js +1 -1
  59. package/i18n/lithuanian.js +1 -1
  60. package/i18n/lithuanian.min.js +1 -1
  61. package/i18n/macedonian.js +1 -1
  62. package/i18n/macedonian.min.js +1 -1
  63. package/i18n/malay.js +1 -1
  64. package/i18n/malay.min.js +1 -1
  65. package/i18n/nl-BE.js +1 -1
  66. package/i18n/nl-BE.min.js +1 -1
  67. package/i18n/norwegian.js +1 -1
  68. package/i18n/norwegian.min.js +1 -1
  69. package/i18n/persian.js +1 -1
  70. package/i18n/persian.min.js +1 -1
  71. package/i18n/polish.js +1 -1
  72. package/i18n/polish.min.js +1 -1
  73. package/i18n/portuguese-br.js +1 -1
  74. package/i18n/portuguese-br.min.js +1 -1
  75. package/i18n/portuguese.js +1 -1
  76. package/i18n/portuguese.min.js +1 -1
  77. package/i18n/romanian.js +1 -1
  78. package/i18n/romanian.min.js +1 -1
  79. package/i18n/russian.js +1 -1
  80. package/i18n/russian.min.js +1 -1
  81. package/i18n/serbian.js +1 -1
  82. package/i18n/serbian.min.js +1 -1
  83. package/i18n/simplified-chinese.js +1 -1
  84. package/i18n/simplified-chinese.min.js +1 -1
  85. package/i18n/slovak.js +1 -1
  86. package/i18n/slovak.min.js +1 -1
  87. package/i18n/spanish.js +1 -1
  88. package/i18n/spanish.min.js +1 -1
  89. package/i18n/swahili.js +1 -1
  90. package/i18n/swahili.min.js +1 -1
  91. package/i18n/swedish.js +1 -1
  92. package/i18n/swedish.min.js +1 -1
  93. package/i18n/tajik.js +1 -1
  94. package/i18n/tajik.min.js +1 -1
  95. package/i18n/telugu.js +1 -1
  96. package/i18n/telugu.min.js +1 -1
  97. package/i18n/thai.js +1 -1
  98. package/i18n/thai.min.js +1 -1
  99. package/i18n/traditional-chinese.js +1 -1
  100. package/i18n/traditional-chinese.min.js +1 -1
  101. package/i18n/turkish.js +1 -1
  102. package/i18n/turkish.min.js +1 -1
  103. package/i18n/ukrainian.js +1 -1
  104. package/i18n/ukrainian.min.js +1 -1
  105. package/i18n/urdu.js +1 -1
  106. package/i18n/urdu.min.js +1 -1
  107. package/i18n/vietnamese.js +1 -1
  108. package/i18n/vietnamese.min.js +1 -1
  109. package/i18n/welsh.js +1 -1
  110. package/i18n/welsh.min.js +1 -1
  111. package/modern.css +70 -48
  112. package/modern.css.map +1 -1
  113. package/modern.fontless.css +70 -48
  114. package/modern.fontless.css.map +1 -1
  115. package/modern.fontless.min.css +2 -2
  116. package/modern.min.css +2 -2
  117. package/package.json +1 -1
  118. package/plugins/bootstrap-integration.js +1 -1
  119. package/plugins/bootstrap-integration.min.js +1 -1
  120. package/plugins/bootstrap-material-integration.js +1 -1
  121. package/plugins/bootstrap-material-integration.min.js +1 -1
  122. package/survey.core.js +365 -142
  123. package/survey.core.js.map +1 -1
  124. package/survey.core.min.js +3 -3
  125. package/survey.css +70 -48
  126. package/survey.css.map +1 -1
  127. package/survey.i18n.js +1 -1
  128. package/survey.i18n.min.js +1 -1
  129. package/survey.min.css +2 -2
  130. package/themes/borderless-dark-panelless.js +1 -1
  131. package/themes/borderless-dark-panelless.min.js +1 -1
  132. package/themes/borderless-dark.js +1 -1
  133. package/themes/borderless-dark.min.js +1 -1
  134. package/themes/borderless-light-panelless..js +1 -1
  135. package/themes/borderless-light-panelless..min.js +1 -1
  136. package/themes/borderless-light.js +1 -1
  137. package/themes/borderless-light.min.js +1 -1
  138. package/themes/contrast-dark-panelless.js +1 -1
  139. package/themes/contrast-dark-panelless.min.js +1 -1
  140. package/themes/contrast-dark.js +1 -1
  141. package/themes/contrast-dark.min.js +1 -1
  142. package/themes/contrast-light-panelless.js +1 -1
  143. package/themes/contrast-light-panelless.min.js +1 -1
  144. package/themes/contrast-light.js +1 -1
  145. package/themes/contrast-light.min.js +1 -1
  146. package/themes/default-dark-panelless.js +1 -1
  147. package/themes/default-dark-panelless.min.js +1 -1
  148. package/themes/default-dark.js +1 -1
  149. package/themes/default-dark.min.js +1 -1
  150. package/themes/default-light-panelless.js +1 -1
  151. package/themes/default-light-panelless.min.js +1 -1
  152. package/themes/default-light.js +1 -1
  153. package/themes/default-light.min.js +1 -1
  154. package/themes/doubleborder-dark-panelless.js +1 -1
  155. package/themes/doubleborder-dark-panelless.min.js +1 -1
  156. package/themes/doubleborder-dark.js +1 -1
  157. package/themes/doubleborder-dark.min.js +1 -1
  158. package/themes/doubleborder-light-panelles.js +1 -1
  159. package/themes/doubleborder-light-panelles.min.js +1 -1
  160. package/themes/doubleborder-light.js +1 -1
  161. package/themes/doubleborder-light.min.js +1 -1
  162. package/themes/flat-dark-panelless.js +1 -1
  163. package/themes/flat-dark-panelless.min.js +1 -1
  164. package/themes/flat-dark.js +1 -1
  165. package/themes/flat-dark.min.js +1 -1
  166. package/themes/flat-light-panelless.js +1 -1
  167. package/themes/flat-light-panelless.min.js +1 -1
  168. package/themes/flat-light.js +1 -1
  169. package/themes/flat-light.min.js +1 -1
  170. package/themes/index.js +1 -1
  171. package/themes/index.min.js +1 -1
  172. package/themes/layered-dark-panelless.js +1 -1
  173. package/themes/layered-dark-panelless.min.js +1 -1
  174. package/themes/layered-dark.js +1 -1
  175. package/themes/layered-dark.min.js +1 -1
  176. package/themes/layered-light-panelless.js +1 -1
  177. package/themes/layered-light-panelless.min.js +1 -1
  178. package/themes/layered-light.js +1 -1
  179. package/themes/layered-light.min.js +1 -1
  180. package/themes/plain-dark-panelless.js +1 -1
  181. package/themes/plain-dark-panelless.min.js +1 -1
  182. package/themes/plain-dark.js +1 -1
  183. package/themes/plain-dark.min.js +1 -1
  184. package/themes/plain-light-panelless.js +1 -1
  185. package/themes/plain-light-panelless.min.js +1 -1
  186. package/themes/plain-light.js +1 -1
  187. package/themes/plain-light.min.js +1 -1
  188. package/themes/sharp-dark-panelless.js +1 -1
  189. package/themes/sharp-dark-panelless.min.js +1 -1
  190. package/themes/sharp-dark.js +1 -1
  191. package/themes/sharp-dark.min.js +1 -1
  192. package/themes/sharp-light-panelless.js +1 -1
  193. package/themes/sharp-light-panelless.min.js +1 -1
  194. package/themes/sharp-light.js +1 -1
  195. package/themes/sharp-light.min.js +1 -1
  196. package/themes/solid-dark-panelless.js +1 -1
  197. package/themes/solid-dark-panelless.min.js +1 -1
  198. package/themes/solid-dark.js +1 -1
  199. package/themes/solid-dark.min.js +1 -1
  200. package/themes/solid-light-panelless.js +1 -1
  201. package/themes/solid-light-panelless.min.js +1 -1
  202. package/themes/solid-light.js +1 -1
  203. package/themes/solid-light.min.js +1 -1
  204. package/themes/three-dimensional-dark-panelless.js +1 -1
  205. package/themes/three-dimensional-dark-panelless.min.js +1 -1
  206. package/themes/three-dimensional-dark.js +1 -1
  207. package/themes/three-dimensional-dark.min.js +1 -1
  208. package/themes/three-dimensional-light-panelless.js +1 -1
  209. package/themes/three-dimensional-light-panelless.min.js +1 -1
  210. package/themes/three-dimensional-light.js +1 -1
  211. package/themes/three-dimensional-light.min.js +1 -1
  212. package/ts3.4/typings/base.d.ts +2 -0
  213. package/ts3.4/typings/defaultCss/cssmodern.d.ts +6 -1
  214. package/ts3.4/typings/defaultCss/cssstandard.d.ts +6 -1
  215. package/ts3.4/typings/defaultCss/defaultV2Css.d.ts +8 -1
  216. package/ts3.4/typings/popup-survey.d.ts +8 -2
  217. package/ts3.4/typings/question.d.ts +1 -0
  218. package/ts3.4/typings/question_baseselect.d.ts +2 -0
  219. package/ts3.4/typings/question_matrix.d.ts +8 -1
  220. package/ts3.4/typings/question_paneldynamic.d.ts +7 -0
  221. package/ts3.4/typings/question_ranking.d.ts +1 -0
  222. package/ts3.4/typings/survey-element.d.ts +2 -0
  223. package/ts3.4/typings/survey-error.d.ts +1 -1
  224. package/ts3.4/typings/survey.d.ts +2 -0
  225. package/ts3.4/typings/themes.d.ts +14 -0
  226. package/typings/base.d.ts +2 -0
  227. package/typings/defaultCss/cssmodern.d.ts +6 -1
  228. package/typings/defaultCss/cssstandard.d.ts +6 -1
  229. package/typings/defaultCss/defaultV2Css.d.ts +8 -1
  230. package/typings/popup-survey.d.ts +8 -2
  231. package/typings/question.d.ts +1 -0
  232. package/typings/question_baseselect.d.ts +2 -0
  233. package/typings/question_matrix.d.ts +8 -1
  234. package/typings/question_paneldynamic.d.ts +7 -0
  235. package/typings/question_ranking.d.ts +1 -0
  236. package/typings/survey-element.d.ts +2 -0
  237. package/typings/survey-error.d.ts +1 -1
  238. package/typings/survey.d.ts +2 -0
  239. package/typings/themes.d.ts +14 -0
@@ -1,3 +1,4 @@
1
+ import { HashTable } from "./helpers";
1
2
  import { ItemValue } from "./itemvalue";
2
3
  import { QuestionMatrixBaseModel } from "./martixBase";
3
4
  import { Base } from "./base";
@@ -8,18 +9,23 @@ import { IPlainDataOptions } from "./base-interfaces";
8
9
  export interface IMatrixData {
9
10
  onMatrixRowChanged(row: MatrixRowModel): void;
10
11
  getCorrectedRowValue(value: any): any;
12
+ cssClasses: any;
13
+ isInputReadOnly: boolean;
11
14
  hasErrorInRow(row: MatrixRowModel): boolean;
12
15
  }
13
16
  export declare class MatrixRowModel extends Base {
17
+ item: ItemValue;
14
18
  fullName: string;
15
19
  private data;
16
- private item;
17
20
  cellClick: any;
18
21
  constructor(item: ItemValue, fullName: string, data: IMatrixData, value: any);
19
22
  readonly name: string;
20
23
  readonly text: string;
21
24
  readonly locText: LocalizableString;
22
25
  value: any;
26
+ setValueDirectly(val: any): void;
27
+ readonly isReadOnly: boolean;
28
+ readonly rowTextClasses: string;
23
29
  readonly rowClasses: string;
24
30
  }
25
31
  export interface IMatrixCellsOwner extends ILocalizableOwner {
@@ -102,6 +108,7 @@ export declare class QuestionMatrixModel extends QuestionMatrixBaseModel<MatrixR
102
108
  locStrsChanged(): void;
103
109
  protected getQuizQuestionCount(): number;
104
110
  protected getCorrectAnswerCount(): number;
111
+ protected runItemsCondition(values: HashTable<any>, properties: HashTable<any>): boolean;
105
112
  protected getVisibleRows(): Array<MatrixRowModel>;
106
113
  protected sortVisibleRows(array: Array<MatrixRowModel>): Array<MatrixRowModel>;
107
114
  endLoadingFromJson(): void;
@@ -160,6 +160,8 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
160
160
  * @see templateVisibleIf
161
161
  */
162
162
  readonly visiblePanels: Array<PanelModel>;
163
+ protected readonly panelsCore: Array<PanelModel>;
164
+ protected readonly visiblePanelsCore: Array<PanelModel>;
163
165
  private onPanelAdded;
164
166
  private onPanelRemoved;
165
167
  private onPanelRemovedCore;
@@ -519,6 +521,11 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
519
521
  protected onReadOnlyChanged(): void;
520
522
  private updateNoEntriesTextDefaultLoc;
521
523
  onSurveyLoad(): void;
524
+ private hasPanelBuildFirstTime;
525
+ private isBuildingPanelsFirstTime;
526
+ private buildPanelsFirstTime;
527
+ private readonly wasNotRenderedInSurvey: any;
528
+ private readonly canBuildPanels: any;
522
529
  onFirstRendering(): void;
523
530
  localeChanged(): void;
524
531
  runCondition(values: HashTable<any>, properties: HashTable<any>): void;
@@ -13,6 +13,7 @@ export declare class QuestionRankingModel extends QuestionCheckboxModel {
13
13
  protected getDefaultItemComponent(): string;
14
14
  getType(): string;
15
15
  getItemTabIndex(item: ItemValue): number;
16
+ protected supportContainerQueries(): boolean;
16
17
  readonly rootClass: string;
17
18
  protected getItemClassCore(item: ItemValue, options: any): string;
18
19
  getContainerClasses(containerType?: string): string;
@@ -264,6 +264,8 @@ export declare class SurveyElement<E = any> extends SurveyElementCore implements
264
264
  selectedElementInDesign: SurveyElement;
265
265
  updateCustomWidgets(): void;
266
266
  onSurveyLoad(): void;
267
+ private wasRenderedValue;
268
+ readonly wasRendered: boolean;
267
269
  onFirstRendering(): void;
268
270
  endLoadingFromJson(): void;
269
271
  setVisibleIndex(index: number): number;
@@ -6,7 +6,7 @@ export declare class SurveyError {
6
6
  private locTextValue;
7
7
  visible: boolean;
8
8
  constructor(text?: string, errorOwner?: ISurveyErrorOwner);
9
- equalsTo(error: SurveyError): boolean;
9
+ equals(error: SurveyError): boolean;
10
10
  readonly locText: LocalizableString;
11
11
  getText(): string;
12
12
  getErrorType(): string;
@@ -2317,6 +2317,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2317
2317
  private getProcessedValuesWithoutQuestion;
2318
2318
  private getFirstName;
2319
2319
  private reduceFirstName;
2320
+ private isClearingUnsedValues;
2320
2321
  private clearUnusedValues;
2321
2322
  hasVisibleQuestionByValueName(valueName: string): boolean;
2322
2323
  questionsByValueName(valueName: string): Array<IQuestion>;
@@ -2653,6 +2654,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2653
2654
  * @returns The configuration of the previous layout element with the same `id`.
2654
2655
  */
2655
2656
  addLayoutElement(layoutElement: ISurveyLayoutElement): ISurveyLayoutElement;
2657
+ findLayoutElement(layoutElementId: string): ISurveyLayoutElement;
2656
2658
  removeLayoutElement(layoutElementId: string): ISurveyLayoutElement;
2657
2659
  getContainerContent(container: LayoutElementContainer): any[];
2658
2660
  processPopupVisiblityChanged(question: Question, popup: PopupModel<any>, visible: boolean): void;
@@ -59,6 +59,20 @@ export interface ITheme {
59
59
  * An object with [advanced survey header settings](https://surveyjs.io/form-library/documentation/api-reference/iheader). Applies when `SurveyModel`'s [`headerView`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#headerView) property is set to `"advanced"`.
60
60
  */
61
61
  header?: IHeader;
62
+ /**
63
+ * Specifies whether the survey header uses only basic appearance settings or applies advanced settings from the survey theme.
64
+ *
65
+ * Possible values:
66
+ *
67
+ * - `"basic"` (default)\
68
+ * A basic header view applies only the [`title`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#title), [`description`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#description), and logo-related properties ([`logo`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#logo), [`logoPosition`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#logoPosition), etc.).
69
+ *
70
+ * - `"advanced"`\
71
+ * An advanced header view applies the same properties as the basic view, plus [header settings](https://surveyjs.io/form-library/documentation/api-reference/iheader) from the [survey theme](https://surveyjs.io/form-library/documentation/api-reference/itheme#header). The advanced view features a more flexible header layout, a capability to specify a background image, and other settings that give a more professional look to the survey header.
72
+ *
73
+ * [View Demo](https://surveyjs.io/form-library/examples/brand-your-survey-header/ (linkStyle))
74
+ */
75
+ headerView?: "advanced" | "basic";
62
76
  /**
63
77
  * An object with CSS variables.
64
78
  */
package/typings/base.d.ts CHANGED
@@ -73,6 +73,8 @@ export declare class Base {
73
73
  * @param trimString *(Optional)* When this parameter is `true`, the method ignores whitespace characters at the beginning and end of a string value. Pass `false` to disable this functionality.
74
74
  */
75
75
  isValueEmpty(value: any, trimString?: boolean): boolean;
76
+ equals(obj: Base): boolean;
77
+ protected equalsCore(obj: Base): boolean;
76
78
  protected trimValue(value: any): any;
77
79
  protected isPropertyEmpty(value: any): boolean;
78
80
  static createPropertiesHash(): {};
@@ -425,13 +425,18 @@ export declare var modernCss: {
425
425
  };
426
426
  window: {
427
427
  root: string;
428
+ rootCollapsedMod: string;
429
+ rootContent: string;
428
430
  body: string;
429
431
  header: {
430
432
  root: string;
431
- title: string;
433
+ titleCollapsed: string;
434
+ buttonsContainer: string;
432
435
  button: string;
433
436
  buttonExpanded: string;
434
437
  buttonCollapsed: string;
438
+ collapseButton: string;
439
+ closeButton: string;
435
440
  };
436
441
  };
437
442
  variables: {
@@ -359,13 +359,18 @@ export declare var defaultStandardCss: {
359
359
  };
360
360
  window: {
361
361
  root: string;
362
+ rootCollapsedMod: string;
363
+ rootContent: string;
362
364
  body: string;
363
365
  header: {
364
366
  root: string;
365
- title: string;
367
+ titleCollapsed: string;
368
+ buttonsContainer: string;
366
369
  button: string;
367
370
  buttonExpanded: string;
368
371
  buttonCollapsed: string;
372
+ collapseButton: string;
373
+ closeButton: string;
369
374
  };
370
375
  };
371
376
  variables: {
@@ -156,6 +156,7 @@ export declare var defaultV2Css: {
156
156
  headerTop: string;
157
157
  headerBottom: string;
158
158
  content: string;
159
+ contentSupportContainerQueries: string;
159
160
  contentLeft: string;
160
161
  titleNumInline: string;
161
162
  titleLeftRoot: string;
@@ -394,6 +395,7 @@ export declare var defaultV2Css: {
394
395
  rowError: string;
395
396
  cell: string;
396
397
  row: string;
398
+ rowDisabled: string;
397
399
  headerCell: string;
398
400
  rowTextCell: string;
399
401
  label: string;
@@ -630,13 +632,18 @@ export declare var defaultV2Css: {
630
632
  };
631
633
  window: {
632
634
  root: string;
635
+ rootCollapsedMod: string;
636
+ rootContent: string;
633
637
  body: string;
634
638
  header: {
635
639
  root: string;
636
- title: string;
640
+ titleCollapsed: string;
641
+ buttonsContainer: string;
637
642
  button: string;
638
643
  buttonExpanded: string;
639
644
  buttonCollapsed: string;
645
+ collapseButton: string;
646
+ closeButton: string;
640
647
  };
641
648
  };
642
649
  ranking: {
@@ -57,6 +57,7 @@ export declare class PopupSurveyModel extends Base {
57
57
  */
58
58
  get isExpanded(): boolean;
59
59
  set isExpanded(val: boolean);
60
+ get isCollapsed(): boolean;
60
61
  protected onExpandedChanged(): void;
61
62
  /**
62
63
  * A title for the pop-up window. If this property is undefined, the title is taken from [`SurveyModel`](#survey)'s [`title`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#title) property.
@@ -64,6 +65,7 @@ export declare class PopupSurveyModel extends Base {
64
65
  get title(): string;
65
66
  set title(value: string);
66
67
  get locTitle(): LocalizableString;
68
+ get locDescription(): LocalizableString;
67
69
  /**
68
70
  * Expands the pop-up window.
69
71
  *
@@ -94,10 +96,14 @@ export declare class PopupSurveyModel extends Base {
94
96
  get css(): any;
95
97
  get cssButton(): string;
96
98
  get cssRoot(): string;
99
+ get cssRootCollapsedMod(): string;
100
+ get cssRootContent(): string;
97
101
  get cssBody(): string;
98
102
  get cssHeaderRoot(): string;
99
- get cssHeaderTitle(): string;
100
- get cssHeaderButton(): string;
103
+ get cssHeaderTitleCollapsed(): string;
104
+ get cssHeaderButtonsContainer(): string;
105
+ get cssHeaderCollapseButton(): string;
106
+ get cssHeaderCloseButton(): string;
101
107
  get renderedWidth(): string;
102
108
  width: string;
103
109
  private updateCss;
@@ -389,6 +389,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
389
389
  get cssHeader(): string;
390
390
  protected setCssHeader(val: string): void;
391
391
  protected getCssHeader(cssClasses: any): string;
392
+ protected supportContainerQueries(): boolean;
392
393
  get cssContent(): string;
393
394
  protected setCssContent(val: string): void;
394
395
  protected getCssContent(cssClasses: any): string;
@@ -376,6 +376,8 @@ export declare class QuestionSelectBase extends Question {
376
376
  private isFirstLoadChoicesFromUrl;
377
377
  protected onBeforeSendRequest(): void;
378
378
  protected onLoadChoicesFromUrl(array: Array<ItemValue>): void;
379
+ private canAvoidSettChoicesFromUrl;
380
+ private setChoicesFromUrl;
379
381
  private createCachedValueForUrlRequests;
380
382
  private updateCachedValueForUrlRequests;
381
383
  private isUpdatingChoicesDependedQuestions;
@@ -1,3 +1,4 @@
1
+ import { HashTable } from "./helpers";
1
2
  import { ItemValue } from "./itemvalue";
2
3
  import { QuestionMatrixBaseModel } from "./martixBase";
3
4
  import { Base } from "./base";
@@ -8,12 +9,14 @@ import { IPlainDataOptions } from "./base-interfaces";
8
9
  export interface IMatrixData {
9
10
  onMatrixRowChanged(row: MatrixRowModel): void;
10
11
  getCorrectedRowValue(value: any): any;
12
+ cssClasses: any;
13
+ isInputReadOnly: boolean;
11
14
  hasErrorInRow(row: MatrixRowModel): boolean;
12
15
  }
13
16
  export declare class MatrixRowModel extends Base {
17
+ item: ItemValue;
14
18
  fullName: string;
15
19
  private data;
16
- private item;
17
20
  cellClick: any;
18
21
  constructor(item: ItemValue, fullName: string, data: IMatrixData, value: any);
19
22
  get name(): string;
@@ -21,6 +24,9 @@ export declare class MatrixRowModel extends Base {
21
24
  get locText(): LocalizableString;
22
25
  get value(): any;
23
26
  set value(val: any);
27
+ setValueDirectly(val: any): void;
28
+ get isReadOnly(): boolean;
29
+ get rowTextClasses(): string;
24
30
  get rowClasses(): string;
25
31
  }
26
32
  export interface IMatrixCellsOwner extends ILocalizableOwner {
@@ -107,6 +113,7 @@ export declare class QuestionMatrixModel extends QuestionMatrixBaseModel<MatrixR
107
113
  locStrsChanged(): void;
108
114
  protected getQuizQuestionCount(): number;
109
115
  protected getCorrectAnswerCount(): number;
116
+ protected runItemsCondition(values: HashTable<any>, properties: HashTable<any>): boolean;
110
117
  protected getVisibleRows(): Array<MatrixRowModel>;
111
118
  protected sortVisibleRows(array: Array<MatrixRowModel>): Array<MatrixRowModel>;
112
119
  endLoadingFromJson(): void;
@@ -164,6 +164,8 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
164
164
  * @see templateVisibleIf
165
165
  */
166
166
  get visiblePanels(): Array<PanelModel>;
167
+ protected get panelsCore(): Array<PanelModel>;
168
+ protected get visiblePanelsCore(): Array<PanelModel>;
167
169
  private onPanelAdded;
168
170
  private onPanelRemoved;
169
171
  private onPanelRemovedCore;
@@ -549,6 +551,11 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
549
551
  protected onReadOnlyChanged(): void;
550
552
  private updateNoEntriesTextDefaultLoc;
551
553
  onSurveyLoad(): void;
554
+ private hasPanelBuildFirstTime;
555
+ private isBuildingPanelsFirstTime;
556
+ private buildPanelsFirstTime;
557
+ private get wasNotRenderedInSurvey();
558
+ private get canBuildPanels();
552
559
  onFirstRendering(): void;
553
560
  localeChanged(): void;
554
561
  runCondition(values: HashTable<any>, properties: HashTable<any>): void;
@@ -13,6 +13,7 @@ export declare class QuestionRankingModel extends QuestionCheckboxModel {
13
13
  protected getDefaultItemComponent(): string;
14
14
  getType(): string;
15
15
  getItemTabIndex(item: ItemValue): number;
16
+ protected supportContainerQueries(): boolean;
16
17
  get rootClass(): string;
17
18
  protected getItemClassCore(item: ItemValue, options: any): string;
18
19
  getContainerClasses(containerType?: string): string;
@@ -271,6 +271,8 @@ export declare class SurveyElement<E = any> extends SurveyElementCore implements
271
271
  set selectedElementInDesign(val: SurveyElement);
272
272
  updateCustomWidgets(): void;
273
273
  onSurveyLoad(): void;
274
+ private wasRenderedValue;
275
+ get wasRendered(): boolean;
274
276
  onFirstRendering(): void;
275
277
  endLoadingFromJson(): void;
276
278
  setVisibleIndex(index: number): number;
@@ -6,7 +6,7 @@ export declare class SurveyError {
6
6
  private locTextValue;
7
7
  visible: boolean;
8
8
  constructor(text?: string, errorOwner?: ISurveyErrorOwner);
9
- equalsTo(error: SurveyError): boolean;
9
+ equals(error: SurveyError): boolean;
10
10
  get locText(): LocalizableString;
11
11
  getText(): string;
12
12
  getErrorType(): string;
@@ -2402,6 +2402,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2402
2402
  private getProcessedValuesWithoutQuestion;
2403
2403
  private getFirstName;
2404
2404
  private reduceFirstName;
2405
+ private isClearingUnsedValues;
2405
2406
  private clearUnusedValues;
2406
2407
  hasVisibleQuestionByValueName(valueName: string): boolean;
2407
2408
  questionsByValueName(valueName: string): Array<IQuestion>;
@@ -2746,6 +2747,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2746
2747
  * @returns The configuration of the previous layout element with the same `id`.
2747
2748
  */
2748
2749
  addLayoutElement(layoutElement: ISurveyLayoutElement): ISurveyLayoutElement;
2750
+ findLayoutElement(layoutElementId: string): ISurveyLayoutElement;
2749
2751
  removeLayoutElement(layoutElementId: string): ISurveyLayoutElement;
2750
2752
  getContainerContent(container: LayoutElementContainer): any[];
2751
2753
  processPopupVisiblityChanged(question: Question, popup: PopupModel<any>, visible: boolean): void;
@@ -59,6 +59,20 @@ export interface ITheme {
59
59
  * An object with [advanced survey header settings](https://surveyjs.io/form-library/documentation/api-reference/iheader). Applies when `SurveyModel`'s [`headerView`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#headerView) property is set to `"advanced"`.
60
60
  */
61
61
  header?: IHeader;
62
+ /**
63
+ * Specifies whether the survey header uses only basic appearance settings or applies advanced settings from the survey theme.
64
+ *
65
+ * Possible values:
66
+ *
67
+ * - `"basic"` (default)\
68
+ * A basic header view applies only the [`title`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#title), [`description`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#description), and logo-related properties ([`logo`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#logo), [`logoPosition`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#logoPosition), etc.).
69
+ *
70
+ * - `"advanced"`\
71
+ * An advanced header view applies the same properties as the basic view, plus [header settings](https://surveyjs.io/form-library/documentation/api-reference/iheader) from the [survey theme](https://surveyjs.io/form-library/documentation/api-reference/itheme#header). The advanced view features a more flexible header layout, a capability to specify a background image, and other settings that give a more professional look to the survey header.
72
+ *
73
+ * [View Demo](https://surveyjs.io/form-library/examples/brand-your-survey-header/ (linkStyle))
74
+ */
75
+ headerView?: "advanced" | "basic";
62
76
  /**
63
77
  * An object with CSS variables.
64
78
  */