survey-core 1.12.14 → 1.12.16

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 (246) hide show
  1. package/defaultV2.css +30 -9
  2. package/defaultV2.css.map +1 -1
  3. package/defaultV2.fontless.css +30 -9
  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/icons/iconsV1.js +1 -1
  114. package/icons/iconsV1.min.js +1 -1
  115. package/icons/iconsV2.js +1 -1
  116. package/icons/iconsV2.min.js +1 -1
  117. package/modern.css +18 -16
  118. package/modern.css.map +1 -1
  119. package/modern.fontless.css +18 -16
  120. package/modern.fontless.css.map +1 -1
  121. package/modern.fontless.min.css +2 -2
  122. package/modern.min.css +2 -2
  123. package/package.json +1 -1
  124. package/plugins/bootstrap-integration/index.js +1 -1
  125. package/plugins/bootstrap-integration/index.min.js +1 -1
  126. package/plugins/bootstrap-material-integration/index.js +1 -1
  127. package/plugins/bootstrap-material-integration/index.min.js +1 -1
  128. package/survey.core.js +536 -280
  129. package/survey.core.js.map +1 -1
  130. package/survey.core.min.js +3 -3
  131. package/survey.css +1 -1
  132. package/survey.i18n.js +1 -1
  133. package/survey.i18n.min.js +1 -1
  134. package/survey.min.css +1 -1
  135. package/themes/borderless-dark-panelless.js +1 -1
  136. package/themes/borderless-dark-panelless.min.js +1 -1
  137. package/themes/borderless-dark.js +1 -1
  138. package/themes/borderless-dark.min.js +1 -1
  139. package/themes/borderless-light-panelless..js +1 -1
  140. package/themes/borderless-light-panelless..min.js +1 -1
  141. package/themes/borderless-light.js +1 -1
  142. package/themes/borderless-light.min.js +1 -1
  143. package/themes/contrast-dark-panelless.js +1 -1
  144. package/themes/contrast-dark-panelless.min.js +1 -1
  145. package/themes/contrast-dark.js +1 -1
  146. package/themes/contrast-dark.min.js +1 -1
  147. package/themes/contrast-light-panelless.js +1 -1
  148. package/themes/contrast-light-panelless.min.js +1 -1
  149. package/themes/contrast-light.js +1 -1
  150. package/themes/contrast-light.min.js +1 -1
  151. package/themes/default-dark-panelless.js +1 -1
  152. package/themes/default-dark-panelless.min.js +1 -1
  153. package/themes/default-dark.js +1 -1
  154. package/themes/default-dark.min.js +1 -1
  155. package/themes/default-light-panelless.js +1 -1
  156. package/themes/default-light-panelless.min.js +1 -1
  157. package/themes/default-light.js +1 -1
  158. package/themes/default-light.min.js +1 -1
  159. package/themes/doubleborder-dark-panelless.js +1 -1
  160. package/themes/doubleborder-dark-panelless.min.js +1 -1
  161. package/themes/doubleborder-dark.js +1 -1
  162. package/themes/doubleborder-dark.min.js +1 -1
  163. package/themes/doubleborder-light-panelles.js +1 -1
  164. package/themes/doubleborder-light-panelles.min.js +1 -1
  165. package/themes/doubleborder-light.js +1 -1
  166. package/themes/doubleborder-light.min.js +1 -1
  167. package/themes/flat-dark-panelless.js +1 -1
  168. package/themes/flat-dark-panelless.min.js +1 -1
  169. package/themes/flat-dark.js +1 -1
  170. package/themes/flat-dark.min.js +1 -1
  171. package/themes/flat-light-panelless.js +1 -1
  172. package/themes/flat-light-panelless.min.js +1 -1
  173. package/themes/flat-light.js +1 -1
  174. package/themes/flat-light.min.js +1 -1
  175. package/themes/index.js +1 -1
  176. package/themes/index.min.js +1 -1
  177. package/themes/layered-dark-panelless.js +1 -1
  178. package/themes/layered-dark-panelless.min.js +1 -1
  179. package/themes/layered-dark.js +1 -1
  180. package/themes/layered-dark.min.js +1 -1
  181. package/themes/layered-light-panelless.js +1 -1
  182. package/themes/layered-light-panelless.min.js +1 -1
  183. package/themes/layered-light.js +1 -1
  184. package/themes/layered-light.min.js +1 -1
  185. package/themes/plain-dark-panelless.js +1 -1
  186. package/themes/plain-dark-panelless.min.js +1 -1
  187. package/themes/plain-dark.js +1 -1
  188. package/themes/plain-dark.min.js +1 -1
  189. package/themes/plain-light-panelless.js +1 -1
  190. package/themes/plain-light-panelless.min.js +1 -1
  191. package/themes/plain-light.js +1 -1
  192. package/themes/plain-light.min.js +1 -1
  193. package/themes/sharp-dark-panelless.js +1 -1
  194. package/themes/sharp-dark-panelless.min.js +1 -1
  195. package/themes/sharp-dark.js +1 -1
  196. package/themes/sharp-dark.min.js +1 -1
  197. package/themes/sharp-light-panelless.js +1 -1
  198. package/themes/sharp-light-panelless.min.js +1 -1
  199. package/themes/sharp-light.js +1 -1
  200. package/themes/sharp-light.min.js +1 -1
  201. package/themes/solid-dark-panelless.js +1 -1
  202. package/themes/solid-dark-panelless.min.js +1 -1
  203. package/themes/solid-dark.js +1 -1
  204. package/themes/solid-dark.min.js +1 -1
  205. package/themes/solid-light-panelless.js +1 -1
  206. package/themes/solid-light-panelless.min.js +1 -1
  207. package/themes/solid-light.js +1 -1
  208. package/themes/solid-light.min.js +1 -1
  209. package/themes/three-dimensional-dark-panelless.js +1 -1
  210. package/themes/three-dimensional-dark-panelless.min.js +1 -1
  211. package/themes/three-dimensional-dark.js +1 -1
  212. package/themes/three-dimensional-dark.min.js +1 -1
  213. package/themes/three-dimensional-light-panelless.js +1 -1
  214. package/themes/three-dimensional-light-panelless.min.js +1 -1
  215. package/themes/three-dimensional-light.js +1 -1
  216. package/themes/three-dimensional-light.min.js +1 -1
  217. package/ts3.4/typings/packages/survey-core/entries/chunks/core-wo-model.d.ts +1 -1
  218. package/ts3.4/typings/packages/survey-core/entries/chunks/model.d.ts +1 -1
  219. package/ts3.4/typings/packages/survey-core/src/actions/action.d.ts +2 -2
  220. package/ts3.4/typings/packages/survey-core/src/base-interfaces.d.ts +1 -0
  221. package/ts3.4/typings/packages/survey-core/src/defaultCss/defaultV2Css.d.ts +1 -0
  222. package/ts3.4/typings/packages/survey-core/src/list.d.ts +3 -1
  223. package/ts3.4/typings/packages/survey-core/src/page.d.ts +11 -3
  224. package/ts3.4/typings/packages/survey-core/src/panel.d.ts +11 -7
  225. package/ts3.4/typings/packages/survey-core/src/question.d.ts +3 -0
  226. package/ts3.4/typings/packages/survey-core/src/settings.d.ts +2 -1
  227. package/ts3.4/typings/packages/survey-core/src/survey-element.d.ts +16 -5
  228. package/ts3.4/typings/packages/survey-core/src/survey.d.ts +17 -8
  229. package/ts3.4/typings/packages/survey-core/src/surveyStrings.d.ts +8 -1
  230. package/ts3.4/typings/packages/survey-core/src/utils/utils.d.ts +11 -2
  231. package/ts3.4/typings/packages/survey-core/src/validator.d.ts +1 -1
  232. package/typings/packages/survey-core/entries/chunks/core-wo-model.d.ts +1 -1
  233. package/typings/packages/survey-core/entries/chunks/model.d.ts +1 -1
  234. package/typings/packages/survey-core/src/actions/action.d.ts +2 -2
  235. package/typings/packages/survey-core/src/base-interfaces.d.ts +1 -0
  236. package/typings/packages/survey-core/src/defaultCss/defaultV2Css.d.ts +1 -0
  237. package/typings/packages/survey-core/src/list.d.ts +3 -1
  238. package/typings/packages/survey-core/src/page.d.ts +11 -3
  239. package/typings/packages/survey-core/src/panel.d.ts +11 -7
  240. package/typings/packages/survey-core/src/question.d.ts +3 -0
  241. package/typings/packages/survey-core/src/settings.d.ts +2 -1
  242. package/typings/packages/survey-core/src/survey-element.d.ts +16 -5
  243. package/typings/packages/survey-core/src/survey.d.ts +18 -8
  244. package/typings/packages/survey-core/src/surveyStrings.d.ts +8 -1
  245. package/typings/packages/survey-core/src/utils/utils.d.ts +11 -2
  246. package/typings/packages/survey-core/src/validator.d.ts +1 -1
@@ -393,6 +393,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
393
393
  get startWithNewLine(): boolean;
394
394
  set startWithNewLine(val: boolean);
395
395
  protected calcCssClasses(css: any): any;
396
+ protected onCalcCssClasses(classes: any): void;
396
397
  get cssRoot(): string;
397
398
  protected setCssRoot(val: string): void;
398
399
  protected getCssRoot(cssClasses: {
@@ -423,7 +424,9 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
423
424
  protected hasCssError(): boolean;
424
425
  getRootCss(): string;
425
426
  getQuestionRootCss(): string;
427
+ private isRequireUpdateElements;
426
428
  updateElementCss(reNew?: boolean): void;
429
+ protected onFirstRenderingCore(): void;
427
430
  protected updateQuestionCss(reNew?: boolean): void;
428
431
  private ensureElementCss;
429
432
  protected updateElementCssCore(cssClasses: any): void;
@@ -1,4 +1,5 @@
1
1
  import { IDialogOptions } from "./popup";
2
+ import { IConfirmDialogOptions } from "./utils/utils";
2
3
  export declare type ISurveyEnvironment = {
3
4
  root: Document | ShadowRoot;
4
5
  rootElement: HTMLElement | ShadowRoot;
@@ -380,7 +381,7 @@ export declare var settings: {
380
381
  * @param message A message to be displayed in the confirm dialog window.
381
382
  * @param callback A callback function that should be called with `true` if a user confirms an action or `false` otherwise.
382
383
  */
383
- confirmActionAsync: (message: string, callback: (res: boolean) => void, applyTitle?: string, locale?: string, rootElement?: HTMLElement) => boolean;
384
+ confirmActionAsync: (message: string, callback: (res: boolean) => void, options?: IConfirmDialogOptions) => boolean;
384
385
  /**
385
386
  * A minimum width value for all survey elements.
386
387
  *
@@ -13,22 +13,32 @@ export declare abstract class SurveyElementCore extends Base implements ILocaliz
13
13
  protected createLocTitleProperty(): LocalizableString;
14
14
  /**
15
15
  * Returns `true` if the survey element is a page.
16
- * @see Base.getType
16
+ *
17
+ * This property returns `false` for [`PageModel`](https://surveyjs.io/form-library/documentation/api-reference/page-model) objects in the following cases:
18
+ *
19
+ * - `SurveyModel`'s [`questionsOnPageMode`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionsOnPageMode) is set to `"singlePage"`.
20
+ * - The page is included in a [preview of given answers](https://surveyjs.io/form-library/documentation/design-survey/create-a-multi-page-survey#preview-page).
21
+ *
22
+ * In those cases, the survey creates an internal `PageModel` object to show all questions on one page, and all regular pages become panels.
17
23
  */
18
24
  get isPage(): boolean;
19
25
  /**
20
- * Returns `true` if the survey element is a panel.
21
- * @see Base.getType
26
+ * Returns `true` if the survey element is a panel or acts as one.
27
+ *
28
+ * This property returns `true` for `PageModel` objects in the following cases:
29
+ *
30
+ * - `SurveyModel`'s [`questionsOnPageMode`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionsOnPageMode) is set to `"singlePage"`.
31
+ * - The page is included in a [preview of given answers](https://surveyjs.io/form-library/documentation/design-survey/create-a-multi-page-survey#preview-page).
32
+ *
33
+ * In those cases, the survey creates an internal `PageModel` object to show all questions on one page, and all regular pages become panels.
22
34
  */
23
35
  get isPanel(): boolean;
24
36
  /**
25
37
  * Returns `true` if the survey element is a question.
26
- * @see Base.getType
27
38
  */
28
39
  get isQuestion(): boolean;
29
40
  /**
30
41
  * Returns `true` if the element is a survey.
31
- * @see Base.getType
32
42
  */
33
43
  get isSurvey(): boolean;
34
44
  /**
@@ -254,6 +264,7 @@ export declare class SurveyElement<E = any> extends SurveyElementCore implements
254
264
  get cssClassesValue(): any;
255
265
  private ensureCssClassesValue;
256
266
  private createCssClassesValue;
267
+ protected onCalcCssClasses(classes: any): void;
257
268
  /**
258
269
  * Returns an object in which keys are UI elements and values are CSS classes applied to them.
259
270
  *
@@ -1967,6 +1967,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1967
1967
  * @see completeLastPage
1968
1968
  */
1969
1969
  nextPage(): boolean;
1970
+ performNext(): boolean;
1971
+ performPrevious(): boolean;
1970
1972
  private hasErrorsOnNavigate;
1971
1973
  private asyncValidationQuesitons;
1972
1974
  private checkForAsyncQuestionValidation;
@@ -2068,6 +2070,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2068
2070
  private doCurrentPageCompleteCore;
2069
2071
  get isSinglePage(): boolean;
2070
2072
  set isSinglePage(val: boolean);
2073
+ get isSingleVisibleQuestion(): boolean;
2074
+ private isSingleVisibleQuestionVal;
2071
2075
  /**
2072
2076
  * Specifies how to distribute survey elements between pages.
2073
2077
  *
@@ -2107,17 +2111,17 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2107
2111
  get isShowPreviewBeforeComplete(): boolean;
2108
2112
  protected onFirstPageIsStartedChanged(): void;
2109
2113
  private runningPages;
2114
+ private pageContainerValue;
2110
2115
  private onShowingPreviewChanged;
2116
+ private createRootPage;
2117
+ private disposeContainerPage;
2118
+ private updatePagesContainer;
2119
+ private currentSingleQuestionValue;
2120
+ get currentSingleQuestion(): Question;
2121
+ set currentSingleQuestion(val: Question);
2111
2122
  private changeCurrentPageFromPreview;
2112
- private originalPages;
2113
- protected onQuestionsOnPageModeChanged(oldValue: string, isFirstLoad?: boolean): void;
2114
- private restoreOriginalPages;
2123
+ protected onQuestionsOnPageModeChanged(oldValue: string): void;
2115
2124
  private getPageStartIndex;
2116
- private isLockingUpdateOnPageModes;
2117
- private setupPagesForPageModes;
2118
- private createPagesForQuestionOnPageMode;
2119
- private createSinglePage;
2120
- private createPagesForEveryQuestion;
2121
2125
  /**
2122
2126
  * Indicates whether the [current page](#currentPage) is the first page.
2123
2127
  *
@@ -2134,7 +2138,11 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2134
2138
  get isCompleteButtonVisible(): boolean;
2135
2139
  get isPreviewButtonVisible(): boolean;
2136
2140
  get isCancelPreviewButtonVisible(): boolean;
2141
+ get isFirstElement(): boolean | undefined;
2142
+ get isLastElement(): boolean | undefined;
2137
2143
  private updateIsFirstLastPageState;
2144
+ private get isLastPageOrElement();
2145
+ private get isFirstPageOrElement();
2138
2146
  private calcIsShowPrevButton;
2139
2147
  private calcIsShowNextButton;
2140
2148
  calcIsCompleteButtonVisible(): boolean;
@@ -2788,6 +2796,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2788
2796
  set width(val: string);
2789
2797
  get renderedWidth(): string;
2790
2798
  widthScale: number;
2799
+ staticStartWidth: number;
2800
+ setStaticStartWidth(width: number): void;
2791
2801
  responsiveStartWidth: number;
2792
2802
  setResponsiveStartWidth(width: number): void;
2793
2803
  get isScaled(): boolean;
@@ -16,7 +16,13 @@ export declare var surveyLocalization: {
16
16
  supportedLocales: any[];
17
17
  useEnglishNames: boolean;
18
18
  showNamesInEnglish: boolean;
19
- setupLocale(loc: string, strings: any, name: string, nameInEngish: string, direction?: string): void;
19
+ setupLocale(localeConfig: {
20
+ localeCode: string;
21
+ strings: any;
22
+ nativeName: string;
23
+ englishName: string;
24
+ rtl?: boolean;
25
+ }): void;
20
26
  currentLocale: string;
21
27
  defaultLocale: string;
22
28
  getLocaleStrings(loc: string): any;
@@ -26,6 +32,7 @@ export declare var surveyLocalization: {
26
32
  onGetExternalString: (name: string, locale: string) => string;
27
33
  };
28
34
  export declare function getLocaleString(strName: string, locale?: string): string;
35
+ export declare function getLocaleStrings(locale: string): any;
29
36
  export declare function setupLocale(localeConfig: {
30
37
  localeCode: string;
31
38
  strings: any;
@@ -1,7 +1,7 @@
1
1
  import { PopupBaseViewModel } from "../popup-view-model";
2
2
  declare function compareVersions(a: any, b: any): number;
3
3
  declare function confirmAction(message: string): boolean;
4
- declare function confirmActionAsync(message: string, funcOnYes: () => void, funcOnNo?: () => void, locale?: string, rootElement?: HTMLElement): void;
4
+ declare function confirmActionAsync(options: IConfirmDialogOptions): void;
5
5
  declare function detectIEBrowser(): boolean;
6
6
  declare function detectIEOrEdge(): boolean;
7
7
  declare function loadFileFromBase64(b64Data: string, fileName: string): void;
@@ -47,7 +47,16 @@ export declare class Logger {
47
47
  log(action: string): void;
48
48
  get result(): string;
49
49
  }
50
- export declare function showConfirmDialog(message: string, callback: (res: boolean) => void, applyTitle?: string, locale?: string, rootElement?: HTMLElement): boolean;
50
+ export interface IConfirmDialogOptions {
51
+ message?: string;
52
+ funcOnYes?: () => void;
53
+ funcOnNo?: () => void;
54
+ applyTitle?: string;
55
+ locale?: string;
56
+ rootElement?: HTMLElement;
57
+ cssClass?: string;
58
+ }
59
+ export declare function showConfirmDialog(message: string, callback: (res: boolean) => void, options: IConfirmDialogOptions): boolean;
51
60
  export declare function configConfirmDialog(popupViewModel: PopupBaseViewModel): void;
52
61
  declare function chooseFiles(input: HTMLInputElement, callback: (files: File[]) => void): void;
53
62
  export declare function compareArrays<T>(oldValue: Array<T>, newValue: Array<T>, getKey: (item: T) => any): {
@@ -193,7 +193,7 @@ export declare class ExpressionValidator extends SurveyValidator {
193
193
  validate(value: any, name?: string, values?: any, properties?: any): ValidatorResult;
194
194
  protected generateError(res: boolean, value: any, name: string): ValidatorResult;
195
195
  protected getDefaultErrorText(name: string): string;
196
- protected ensureConditionRunner(): boolean;
196
+ private ensureConditionRunner;
197
197
  /**
198
198
  * A Boolean [expression](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#expressions). If it evaluates to `false`, validation fails.
199
199
  *