survey-core 1.11.8 → 1.11.9

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 (230) hide show
  1. package/defaultV2.css +7 -8
  2. package/defaultV2.css.map +1 -1
  3. package/defaultV2.fontless.css +7 -8
  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/philippines.js +1 -1
  72. package/i18n/philippines.min.js +1 -1
  73. package/i18n/polish.js +1 -1
  74. package/i18n/polish.min.js +1 -1
  75. package/i18n/portuguese-br.js +1 -1
  76. package/i18n/portuguese-br.min.js +1 -1
  77. package/i18n/portuguese.js +1 -1
  78. package/i18n/portuguese.min.js +1 -1
  79. package/i18n/romanian.js +1 -1
  80. package/i18n/romanian.min.js +1 -1
  81. package/i18n/russian.js +1 -1
  82. package/i18n/russian.min.js +1 -1
  83. package/i18n/serbian.js +1 -1
  84. package/i18n/serbian.min.js +1 -1
  85. package/i18n/simplified-chinese.js +1 -1
  86. package/i18n/simplified-chinese.min.js +1 -1
  87. package/i18n/slovak.js +1 -1
  88. package/i18n/slovak.min.js +1 -1
  89. package/i18n/spanish.js +1 -1
  90. package/i18n/spanish.min.js +1 -1
  91. package/i18n/swahili.js +1 -1
  92. package/i18n/swahili.min.js +1 -1
  93. package/i18n/swedish.js +1 -1
  94. package/i18n/swedish.min.js +1 -1
  95. package/i18n/tajik.js +1 -1
  96. package/i18n/tajik.min.js +1 -1
  97. package/i18n/telugu.js +1 -1
  98. package/i18n/telugu.min.js +1 -1
  99. package/i18n/thai.js +1 -1
  100. package/i18n/thai.min.js +1 -1
  101. package/i18n/traditional-chinese.js +1 -1
  102. package/i18n/traditional-chinese.min.js +1 -1
  103. package/i18n/turkish.js +1 -1
  104. package/i18n/turkish.min.js +1 -1
  105. package/i18n/ukrainian.js +1 -1
  106. package/i18n/ukrainian.min.js +1 -1
  107. package/i18n/urdu.js +1 -1
  108. package/i18n/urdu.min.js +1 -1
  109. package/i18n/vietnamese.js +1 -1
  110. package/i18n/vietnamese.min.js +1 -1
  111. package/i18n/welsh.js +1 -1
  112. package/i18n/welsh.min.js +1 -1
  113. package/modern.css +1 -1
  114. package/modern.fontless.css +1 -1
  115. package/modern.fontless.min.css +1 -1
  116. package/modern.min.css +1 -1
  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 +149 -77
  123. package/survey.core.js.map +1 -1
  124. package/survey.core.min.js +3 -3
  125. package/survey.css +1 -1
  126. package/survey.i18n.js +1 -1
  127. package/survey.i18n.min.js +1 -1
  128. package/survey.min.css +1 -1
  129. package/themes/borderless-dark-panelless.js +1 -1
  130. package/themes/borderless-dark-panelless.min.js +1 -1
  131. package/themes/borderless-dark.js +1 -1
  132. package/themes/borderless-dark.min.js +1 -1
  133. package/themes/borderless-light-panelless..js +1 -1
  134. package/themes/borderless-light-panelless..min.js +1 -1
  135. package/themes/borderless-light.js +1 -1
  136. package/themes/borderless-light.min.js +1 -1
  137. package/themes/contrast-dark-panelless.js +1 -1
  138. package/themes/contrast-dark-panelless.min.js +1 -1
  139. package/themes/contrast-dark.js +1 -1
  140. package/themes/contrast-dark.min.js +1 -1
  141. package/themes/contrast-light-panelless.js +1 -1
  142. package/themes/contrast-light-panelless.min.js +1 -1
  143. package/themes/contrast-light.js +1 -1
  144. package/themes/contrast-light.min.js +1 -1
  145. package/themes/default-dark-panelless.js +1 -1
  146. package/themes/default-dark-panelless.min.js +1 -1
  147. package/themes/default-dark.js +1 -1
  148. package/themes/default-dark.min.js +1 -1
  149. package/themes/default-light-panelless.js +1 -1
  150. package/themes/default-light-panelless.min.js +1 -1
  151. package/themes/default-light.js +1 -1
  152. package/themes/default-light.min.js +1 -1
  153. package/themes/doubleborder-dark-panelless.js +1 -1
  154. package/themes/doubleborder-dark-panelless.min.js +1 -1
  155. package/themes/doubleborder-dark.js +1 -1
  156. package/themes/doubleborder-dark.min.js +1 -1
  157. package/themes/doubleborder-light-panelles.js +1 -1
  158. package/themes/doubleborder-light-panelles.min.js +1 -1
  159. package/themes/doubleborder-light.js +1 -1
  160. package/themes/doubleborder-light.min.js +1 -1
  161. package/themes/flat-dark-panelless.js +1 -1
  162. package/themes/flat-dark-panelless.min.js +1 -1
  163. package/themes/flat-dark.js +1 -1
  164. package/themes/flat-dark.min.js +1 -1
  165. package/themes/flat-light-panelless.js +1 -1
  166. package/themes/flat-light-panelless.min.js +1 -1
  167. package/themes/flat-light.js +1 -1
  168. package/themes/flat-light.min.js +1 -1
  169. package/themes/index.js +1 -1
  170. package/themes/index.min.js +1 -1
  171. package/themes/layered-dark-panelless.js +1 -1
  172. package/themes/layered-dark-panelless.min.js +1 -1
  173. package/themes/layered-dark.js +1 -1
  174. package/themes/layered-dark.min.js +1 -1
  175. package/themes/layered-light-panelless.js +1 -1
  176. package/themes/layered-light-panelless.min.js +1 -1
  177. package/themes/layered-light.js +1 -1
  178. package/themes/layered-light.min.js +1 -1
  179. package/themes/plain-dark-panelless.js +1 -1
  180. package/themes/plain-dark-panelless.min.js +1 -1
  181. package/themes/plain-dark.js +1 -1
  182. package/themes/plain-dark.min.js +1 -1
  183. package/themes/plain-light-panelless.js +1 -1
  184. package/themes/plain-light-panelless.min.js +1 -1
  185. package/themes/plain-light.js +1 -1
  186. package/themes/plain-light.min.js +1 -1
  187. package/themes/sharp-dark-panelless.js +1 -1
  188. package/themes/sharp-dark-panelless.min.js +1 -1
  189. package/themes/sharp-dark.js +1 -1
  190. package/themes/sharp-dark.min.js +1 -1
  191. package/themes/sharp-light-panelless.js +1 -1
  192. package/themes/sharp-light-panelless.min.js +1 -1
  193. package/themes/sharp-light.js +1 -1
  194. package/themes/sharp-light.min.js +1 -1
  195. package/themes/solid-dark-panelless.js +1 -1
  196. package/themes/solid-dark-panelless.min.js +1 -1
  197. package/themes/solid-dark.js +1 -1
  198. package/themes/solid-dark.min.js +1 -1
  199. package/themes/solid-light-panelless.js +1 -1
  200. package/themes/solid-light-panelless.min.js +1 -1
  201. package/themes/solid-light.js +1 -1
  202. package/themes/solid-light.min.js +1 -1
  203. package/themes/three-dimensional-dark-panelless.js +1 -1
  204. package/themes/three-dimensional-dark-panelless.min.js +1 -1
  205. package/themes/three-dimensional-dark.js +1 -1
  206. package/themes/three-dimensional-dark.min.js +1 -1
  207. package/themes/three-dimensional-light-panelless.js +1 -1
  208. package/themes/three-dimensional-light-panelless.min.js +1 -1
  209. package/themes/three-dimensional-light.js +1 -1
  210. package/themes/three-dimensional-light.min.js +1 -1
  211. package/ts3.4/typings/base-interfaces.d.ts +1 -0
  212. package/ts3.4/typings/jsonobject.d.ts +2 -1
  213. package/ts3.4/typings/question_baseselect.d.ts +0 -5
  214. package/ts3.4/typings/question_custom.d.ts +8 -0
  215. package/ts3.4/typings/question_file.d.ts +2 -1
  216. package/ts3.4/typings/question_matrixdropdownbase.d.ts +1 -0
  217. package/ts3.4/typings/question_multipletext.d.ts +1 -0
  218. package/ts3.4/typings/question_paneldynamic.d.ts +2 -0
  219. package/ts3.4/typings/question_text.d.ts +2 -0
  220. package/ts3.4/typings/survey.d.ts +3 -1
  221. package/typings/base-interfaces.d.ts +1 -0
  222. package/typings/jsonobject.d.ts +2 -1
  223. package/typings/question_baseselect.d.ts +0 -5
  224. package/typings/question_custom.d.ts +8 -0
  225. package/typings/question_file.d.ts +2 -1
  226. package/typings/question_matrixdropdownbase.d.ts +1 -0
  227. package/typings/question_multipletext.d.ts +1 -0
  228. package/typings/question_paneldynamic.d.ts +2 -0
  229. package/typings/question_text.d.ts +2 -0
  230. package/typings/survey.d.ts +3 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.11.8
2
+ * surveyjs - Survey JavaScript library v1.11.9
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.11.8
2
+ * surveyjs - Survey JavaScript library v1.11.9
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.11.8
2
+ * surveyjs - Survey JavaScript library v1.11.9
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.11.8
2
+ * surveyjs - Survey JavaScript library v1.11.9
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.11.8
2
+ * surveyjs - Survey JavaScript library v1.11.9
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.11.8
2
+ * surveyjs - Survey JavaScript library v1.11.9
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.11.8
2
+ * surveyjs - Survey JavaScript library v1.11.9
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.11.8
2
+ * surveyjs - Survey JavaScript library v1.11.9
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.11.8
2
+ * surveyjs - Survey JavaScript library v1.11.9
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.11.8
2
+ * surveyjs - Survey JavaScript library v1.11.9
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.11.8
2
+ * surveyjs - Survey JavaScript library v1.11.9
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -21,6 +21,7 @@ export interface ISurveyData {
21
21
  getFilteredValues(): any;
22
22
  getFilteredProperties(): any;
23
23
  findQuestionByName(name: string): IQuestion;
24
+ getEditingSurveyElement(): Base;
24
25
  }
25
26
  export interface ITextProcessor {
26
27
  processText(text: string, returnDisplayValue: boolean): string;
@@ -129,7 +129,7 @@ export declare class JsonObjectProperty implements IObject, IJsonPropertyInfo {
129
129
  onPropertyEditorUpdate: (obj: any, propEditor: any) => any;
130
130
  constructor(classInfo: JsonMetadataClass, name: string, isRequired?: boolean);
131
131
  uniqueProperty?: string;
132
- dependsOn?: string | string[];
132
+ dependsOn?: string | Array<string>;
133
133
  default?: any;
134
134
  defaultFunc?: (obj: Base) => any;
135
135
  readonly id: number;
@@ -333,6 +333,7 @@ export declare class JsonObject {
333
333
  toJsonObject(obj: any, options?: ISaveToJSONOptions | boolean): any;
334
334
  toObject(jsonObj: any, obj: any, options?: ILoadFromJSONOptions): void;
335
335
  toObjectCore(jsonObj: any, obj: any, options?: ILoadFromJSONOptions): void;
336
+ private setPropertyValueToObj;
336
337
  toJsonObjectCore(obj: any, property: JsonObjectProperty, options?: ISaveToJSONOptions | boolean): any;
337
338
  private getDynamicProperties;
338
339
  private addDynamicProperties;
@@ -459,11 +459,6 @@ export declare class QuestionSelectBase extends Question {
459
459
  readonly hasHeadItems: boolean;
460
460
  readonly hasFootItems: boolean;
461
461
  readonly columns: any[];
462
- protected getObservedElementSelector(): string;
463
- protected supportResponsiveness(): boolean;
464
- allowMultiColumns: boolean;
465
- protected onBeforeSetCompactRenderer(): void;
466
- protected onBeforeSetDesktopRenderer(): void;
467
462
  readonly hasColumns: boolean;
468
463
  readonly rowLayout: boolean;
469
464
  readonly blockedRow: boolean;
@@ -340,6 +340,7 @@ export declare abstract class QuestionCustomModelBase extends Question implement
340
340
  getFilteredValues(): any;
341
341
  getFilteredProperties(): any;
342
342
  findQuestionByName(name: string): IQuestion;
343
+ getEditingSurveyElement(): Base;
343
344
  addElement(element: IElement, index: number): void;
344
345
  removeElement(element: IElement): boolean;
345
346
  getQuestionTitleLocation(): string;
@@ -409,6 +410,12 @@ export declare class QuestionCompositeModel extends QuestionCustomModelBase {
409
410
  readonly contentPanel: PanelModel;
410
411
  hasErrors(fireCallback?: boolean, rec?: any): boolean;
411
412
  updateElementCss(reNew?: boolean): void;
413
+ dispose(): void;
414
+ private editingObjValue;
415
+ private onEditingObjPropertyChanged;
416
+ private updateEditingObj;
417
+ private unConnectEditingObj;
418
+ getEditingSurveyElement(): Base;
412
419
  getTextProcessor(): ITextProcessor;
413
420
  findQuestionByName(name: string): IQuestion;
414
421
  protected clearValueIfInvisibleCore(reason: string): void;
@@ -417,6 +424,7 @@ export declare class QuestionCompositeModel extends QuestionCustomModelBase {
417
424
  readonly isContainer: boolean;
418
425
  protected createPanel(): PanelModel;
419
426
  protected onReadOnlyChanged(): void;
427
+ updateValueFromSurvey(newValue: any, clearData?: boolean): void;
420
428
  onSurveyLoad(): void;
421
429
  private setIsContentElement;
422
430
  setVisibleIndex(val: number): number;
@@ -241,7 +241,8 @@ export declare class QuestionFileModel extends QuestionFileModelBase {
241
241
  protected processResponsiveness(_: number, availableWidth: number): boolean;
242
242
  private rootElement;
243
243
  private canDragDrop;
244
- afterRender(el: HTMLElement): void;
244
+ afterRenderQuestionElement(el: HTMLElement): void;
245
+ beforeDestroyQuestionElement(el: HTMLElement): void;
245
246
  private dragCounter;
246
247
  onDragEnter: (event: any) => void;
247
248
  onDragOver: (event: any) => boolean;
@@ -112,6 +112,7 @@ export declare class MatrixDropdownRowModelBase implements ISurveyData, ISurveyI
112
112
  getComment(name: string): string;
113
113
  setComment(name: string, newValue: string, locNotification: any): void;
114
114
  findQuestionByName(name: string): IQuestion;
115
+ getEditingSurveyElement(): Base;
115
116
  private setValueCore;
116
117
  private updateQuestionsValue;
117
118
  runTriggers(name: string, value: any): void;
@@ -166,6 +166,7 @@ export declare class MultipleTextItemModel extends Base implements IValidatorOwn
166
166
  getFilteredValues(): any;
167
167
  getFilteredProperties(): any;
168
168
  findQuestionByName(name: string): IQuestion;
169
+ getEditingSurveyElement(): Base;
169
170
  getValidatorTitle(): string;
170
171
  validatedValue: any;
171
172
  getDataFilteredValues(): any;
@@ -1,6 +1,7 @@
1
1
  import { HashTable } from "./helpers";
2
2
  import { IElement, IQuestion, IPanel, ISurveyData, ISurvey, ISurveyImpl, ITextProcessor, IProgressInfo, IPlainDataOptions } from "./base-interfaces";
3
3
  import { LocalizableString } from "./localizablestring";
4
+ import { Base } from "./base";
4
5
  import { Question, IConditionObject, IQuestionPlainData } from "./question";
5
6
  import { PanelModel } from "./panel";
6
7
  import { SurveyError } from "./survey-error";
@@ -36,6 +37,7 @@ export declare class QuestionPanelDynamicItem implements ISurveyData, ISurveyImp
36
37
  getComment(name: string): string;
37
38
  setComment(name: string, newValue: string, locNotification: any): void;
38
39
  findQuestionByName(name: string): IQuestion;
40
+ getEditingSurveyElement(): Base;
39
41
  getAllValues(): any;
40
42
  getFilteredValues(): any;
41
43
  getFilteredProperties(): any;
@@ -130,6 +130,7 @@ export declare class QuestionTextModel extends QuestionTextBase {
130
130
  private hasToConvertToUTC;
131
131
  protected valueForSurveyCore(val: any): any;
132
132
  protected valueFromDataCore(val: any): any;
133
+ private dateValidationMessage;
133
134
  protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
134
135
  protected canSetValueToSurvey(): boolean;
135
136
  protected convertFuncValuetoQuestionValue(val: any): any;
@@ -166,6 +167,7 @@ export declare class QuestionTextModel extends QuestionTextBase {
166
167
  private updateValueOnEvent;
167
168
  onCompositionUpdate: (event: any) => void;
168
169
  onKeyUp: (event: any) => void;
170
+ private updateDateValidationMessage;
169
171
  onKeyDown: (event: any) => void;
170
172
  onChange: (event: any) => void;
171
173
  onBlur: (event: any) => void;
@@ -1550,6 +1550,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1550
1550
  private collectDataFromPanel;
1551
1551
  private onEditingObjPropertyChanged;
1552
1552
  editingObj: Base;
1553
+ private unConnectEditingObj;
1553
1554
  readonly isEditingSurveyElement: boolean;
1554
1555
  private setCalculatedValuesIntoResult;
1555
1556
  getAllValues(): any;
@@ -2073,8 +2074,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2073
2074
  updatePanelCssClasses(panel: PanelModel, cssClasses: any): void;
2074
2075
  updatePageCssClasses(page: PageModel, cssClasses: any): void;
2075
2076
  updateChoiceItemCss(question: IQuestion, options: any): void;
2076
- private isFirstPageRendering;
2077
2077
  private isCurrentPageRendering;
2078
+ private isCurrentPageRendered;
2078
2079
  afterRenderPage(htmlElement: HTMLElement): void;
2079
2080
  afterRenderHeader(htmlElement: HTMLElement): void;
2080
2081
  afterRenderQuestion(question: Question, htmlElement: HTMLElement): void;
@@ -2247,6 +2248,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2247
2248
  */
2248
2249
  getQuestionByName(name: string, caseInsensitive?: boolean): Question;
2249
2250
  findQuestionByName(name: string): IQuestion;
2251
+ getEditingSurveyElement(): Base;
2250
2252
  /**
2251
2253
  * Returns a question with a specified [`valueName`](https://surveyjs.io/form-library/documentation/api-reference/question#valueName).
2252
2254
  *
@@ -21,6 +21,7 @@ export interface ISurveyData {
21
21
  getFilteredValues(): any;
22
22
  getFilteredProperties(): any;
23
23
  findQuestionByName(name: string): IQuestion;
24
+ getEditingSurveyElement(): Base;
24
25
  }
25
26
  export interface ITextProcessor {
26
27
  processText(text: string, returnDisplayValue: boolean): string;
@@ -129,7 +129,7 @@ export declare class JsonObjectProperty implements IObject, IJsonPropertyInfo {
129
129
  onPropertyEditorUpdate: (obj: any, propEditor: any) => any;
130
130
  constructor(classInfo: JsonMetadataClass, name: string, isRequired?: boolean);
131
131
  uniqueProperty?: string;
132
- dependsOn?: string | string[];
132
+ dependsOn?: string | Array<string>;
133
133
  default?: any;
134
134
  defaultFunc?: (obj: Base) => any;
135
135
  get id(): number;
@@ -342,6 +342,7 @@ export declare class JsonObject {
342
342
  toJsonObject(obj: any, options?: ISaveToJSONOptions | boolean): any;
343
343
  toObject(jsonObj: any, obj: any, options?: ILoadFromJSONOptions): void;
344
344
  toObjectCore(jsonObj: any, obj: any, options?: ILoadFromJSONOptions): void;
345
+ private setPropertyValueToObj;
345
346
  toJsonObjectCore(obj: any, property: JsonObjectProperty, options?: ISaveToJSONOptions | boolean): any;
346
347
  private getDynamicProperties;
347
348
  private addDynamicProperties;
@@ -486,11 +486,6 @@ export declare class QuestionSelectBase extends Question {
486
486
  get hasHeadItems(): boolean;
487
487
  get hasFootItems(): boolean;
488
488
  get columns(): any[];
489
- protected getObservedElementSelector(): string;
490
- protected supportResponsiveness(): boolean;
491
- allowMultiColumns: boolean;
492
- protected onBeforeSetCompactRenderer(): void;
493
- protected onBeforeSetDesktopRenderer(): void;
494
489
  get hasColumns(): boolean;
495
490
  get rowLayout(): boolean;
496
491
  get blockedRow(): boolean;
@@ -340,6 +340,7 @@ export declare abstract class QuestionCustomModelBase extends Question implement
340
340
  getFilteredValues(): any;
341
341
  getFilteredProperties(): any;
342
342
  findQuestionByName(name: string): IQuestion;
343
+ getEditingSurveyElement(): Base;
343
344
  addElement(element: IElement, index: number): void;
344
345
  removeElement(element: IElement): boolean;
345
346
  getQuestionTitleLocation(): string;
@@ -409,6 +410,12 @@ export declare class QuestionCompositeModel extends QuestionCustomModelBase {
409
410
  get contentPanel(): PanelModel;
410
411
  hasErrors(fireCallback?: boolean, rec?: any): boolean;
411
412
  updateElementCss(reNew?: boolean): void;
413
+ dispose(): void;
414
+ private editingObjValue;
415
+ private onEditingObjPropertyChanged;
416
+ private updateEditingObj;
417
+ private unConnectEditingObj;
418
+ getEditingSurveyElement(): Base;
412
419
  getTextProcessor(): ITextProcessor;
413
420
  findQuestionByName(name: string): IQuestion;
414
421
  protected clearValueIfInvisibleCore(reason: string): void;
@@ -417,6 +424,7 @@ export declare class QuestionCompositeModel extends QuestionCustomModelBase {
417
424
  get isContainer(): boolean;
418
425
  protected createPanel(): PanelModel;
419
426
  protected onReadOnlyChanged(): void;
427
+ updateValueFromSurvey(newValue: any, clearData?: boolean): void;
420
428
  onSurveyLoad(): void;
421
429
  private setIsContentElement;
422
430
  setVisibleIndex(val: number): number;
@@ -254,7 +254,8 @@ export declare class QuestionFileModel extends QuestionFileModelBase {
254
254
  protected processResponsiveness(_: number, availableWidth: number): boolean;
255
255
  private rootElement;
256
256
  private canDragDrop;
257
- afterRender(el: HTMLElement): void;
257
+ afterRenderQuestionElement(el: HTMLElement): void;
258
+ beforeDestroyQuestionElement(el: HTMLElement): void;
258
259
  private dragCounter;
259
260
  onDragEnter: (event: any) => void;
260
261
  onDragOver: (event: any) => boolean;
@@ -114,6 +114,7 @@ export declare class MatrixDropdownRowModelBase implements ISurveyData, ISurveyI
114
114
  getComment(name: string): string;
115
115
  setComment(name: string, newValue: string, locNotification: any): void;
116
116
  findQuestionByName(name: string): IQuestion;
117
+ getEditingSurveyElement(): Base;
117
118
  private setValueCore;
118
119
  private updateQuestionsValue;
119
120
  runTriggers(name: string, value: any): void;
@@ -183,6 +183,7 @@ export declare class MultipleTextItemModel extends Base implements IValidatorOwn
183
183
  getFilteredValues(): any;
184
184
  getFilteredProperties(): any;
185
185
  findQuestionByName(name: string): IQuestion;
186
+ getEditingSurveyElement(): Base;
186
187
  getValidatorTitle(): string;
187
188
  get validatedValue(): any;
188
189
  set validatedValue(val: any);
@@ -1,6 +1,7 @@
1
1
  import { HashTable } from "./helpers";
2
2
  import { IElement, IQuestion, IPanel, ISurveyData, ISurvey, ISurveyImpl, ITextProcessor, IProgressInfo, IPlainDataOptions } from "./base-interfaces";
3
3
  import { LocalizableString } from "./localizablestring";
4
+ import { Base } from "./base";
4
5
  import { Question, IConditionObject, IQuestionPlainData } from "./question";
5
6
  import { PanelModel } from "./panel";
6
7
  import { SurveyError } from "./survey-error";
@@ -36,6 +37,7 @@ export declare class QuestionPanelDynamicItem implements ISurveyData, ISurveyImp
36
37
  getComment(name: string): string;
37
38
  setComment(name: string, newValue: string, locNotification: any): void;
38
39
  findQuestionByName(name: string): IQuestion;
40
+ getEditingSurveyElement(): Base;
39
41
  getAllValues(): any;
40
42
  getFilteredValues(): any;
41
43
  getFilteredProperties(): any;
@@ -141,6 +141,7 @@ export declare class QuestionTextModel extends QuestionTextBase {
141
141
  private hasToConvertToUTC;
142
142
  protected valueForSurveyCore(val: any): any;
143
143
  protected valueFromDataCore(val: any): any;
144
+ private dateValidationMessage;
144
145
  protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
145
146
  protected canSetValueToSurvey(): boolean;
146
147
  protected convertFuncValuetoQuestionValue(val: any): any;
@@ -179,6 +180,7 @@ export declare class QuestionTextModel extends QuestionTextBase {
179
180
  private updateValueOnEvent;
180
181
  onCompositionUpdate: (event: any) => void;
181
182
  onKeyUp: (event: any) => void;
183
+ private updateDateValidationMessage;
182
184
  onKeyDown: (event: any) => void;
183
185
  onChange: (event: any) => void;
184
186
  onBlur: (event: any) => void;
@@ -1621,6 +1621,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1621
1621
  private onEditingObjPropertyChanged;
1622
1622
  get editingObj(): Base;
1623
1623
  set editingObj(val: Base);
1624
+ private unConnectEditingObj;
1624
1625
  get isEditingSurveyElement(): boolean;
1625
1626
  private setCalculatedValuesIntoResult;
1626
1627
  getAllValues(): any;
@@ -2159,8 +2160,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2159
2160
  updatePanelCssClasses(panel: PanelModel, cssClasses: any): void;
2160
2161
  updatePageCssClasses(page: PageModel, cssClasses: any): void;
2161
2162
  updateChoiceItemCss(question: IQuestion, options: any): void;
2162
- private isFirstPageRendering;
2163
2163
  private isCurrentPageRendering;
2164
+ private isCurrentPageRendered;
2164
2165
  afterRenderPage(htmlElement: HTMLElement): void;
2165
2166
  afterRenderHeader(htmlElement: HTMLElement): void;
2166
2167
  afterRenderQuestion(question: Question, htmlElement: HTMLElement): void;
@@ -2333,6 +2334,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2333
2334
  */
2334
2335
  getQuestionByName(name: string, caseInsensitive?: boolean): Question;
2335
2336
  findQuestionByName(name: string): IQuestion;
2337
+ getEditingSurveyElement(): Base;
2336
2338
  /**
2337
2339
  * Returns a question with a specified [`valueName`](https://surveyjs.io/form-library/documentation/api-reference/question#valueName).
2338
2340
  *