survey-core 1.9.137 → 1.9.139

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 (266) hide show
  1. package/defaultV2.css +394 -37
  2. package/defaultV2.css.map +1 -1
  3. package/defaultV2.fontless.css +394 -37
  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 +4 -3
  24. package/i18n/english.js.map +1 -1
  25. package/i18n/english.min.js +2 -2
  26. package/i18n/estonian.js +1 -1
  27. package/i18n/estonian.min.js +1 -1
  28. package/i18n/finnish.js +1 -1
  29. package/i18n/finnish.min.js +1 -1
  30. package/i18n/french.js +1 -1
  31. package/i18n/french.min.js +1 -1
  32. package/i18n/georgian.js +1 -1
  33. package/i18n/georgian.min.js +1 -1
  34. package/i18n/german.js +1 -1
  35. package/i18n/german.min.js +1 -1
  36. package/i18n/greek.js +1 -1
  37. package/i18n/greek.min.js +1 -1
  38. package/i18n/hebrew.js +1 -1
  39. package/i18n/hebrew.min.js +1 -1
  40. package/i18n/hindi.js +1 -1
  41. package/i18n/hindi.min.js +1 -1
  42. package/i18n/hungarian.js +1 -1
  43. package/i18n/hungarian.min.js +1 -1
  44. package/i18n/icelandic.js +1 -1
  45. package/i18n/icelandic.min.js +1 -1
  46. package/i18n/index.js +1 -1
  47. package/i18n/index.min.js +1 -1
  48. package/i18n/indonesian.js +1 -1
  49. package/i18n/indonesian.min.js +1 -1
  50. package/i18n/italian.js +1 -1
  51. package/i18n/italian.min.js +1 -1
  52. package/i18n/japanese.js +1 -1
  53. package/i18n/japanese.min.js +1 -1
  54. package/i18n/kazakh.js +1 -1
  55. package/i18n/kazakh.min.js +1 -1
  56. package/i18n/korean.js +1 -1
  57. package/i18n/korean.min.js +1 -1
  58. package/i18n/latvian.js +1 -1
  59. package/i18n/latvian.min.js +1 -1
  60. package/i18n/lithuanian.js +1 -1
  61. package/i18n/lithuanian.min.js +1 -1
  62. package/i18n/macedonian.js +1 -1
  63. package/i18n/macedonian.min.js +1 -1
  64. package/i18n/malay.js +1 -1
  65. package/i18n/malay.min.js +1 -1
  66. package/i18n/nl-BE.js +1 -1
  67. package/i18n/nl-BE.min.js +1 -1
  68. package/i18n/norwegian.js +1 -1
  69. package/i18n/norwegian.min.js +1 -1
  70. package/i18n/persian.js +1 -1
  71. package/i18n/persian.min.js +1 -1
  72. package/i18n/polish.js +1 -1
  73. package/i18n/polish.min.js +1 -1
  74. package/i18n/portuguese-br.js +1 -1
  75. package/i18n/portuguese-br.min.js +1 -1
  76. package/i18n/portuguese.js +1 -1
  77. package/i18n/portuguese.min.js +1 -1
  78. package/i18n/romanian.js +1 -1
  79. package/i18n/romanian.min.js +1 -1
  80. package/i18n/russian.js +1 -1
  81. package/i18n/russian.min.js +1 -1
  82. package/i18n/serbian.js +1 -1
  83. package/i18n/serbian.min.js +1 -1
  84. package/i18n/simplified-chinese.js +1 -1
  85. package/i18n/simplified-chinese.min.js +1 -1
  86. package/i18n/slovak.js +1 -1
  87. package/i18n/slovak.min.js +1 -1
  88. package/i18n/spanish.js +1 -1
  89. package/i18n/spanish.min.js +1 -1
  90. package/i18n/swahili.js +1 -1
  91. package/i18n/swahili.min.js +1 -1
  92. package/i18n/swedish.js +1 -1
  93. package/i18n/swedish.min.js +1 -1
  94. package/i18n/tajik.js +1 -1
  95. package/i18n/tajik.min.js +1 -1
  96. package/i18n/telugu.js +1 -1
  97. package/i18n/telugu.min.js +1 -1
  98. package/i18n/thai.js +1 -1
  99. package/i18n/thai.min.js +1 -1
  100. package/i18n/traditional-chinese.js +1 -1
  101. package/i18n/traditional-chinese.min.js +1 -1
  102. package/i18n/turkish.js +1 -1
  103. package/i18n/turkish.min.js +1 -1
  104. package/i18n/ukrainian.js +1 -1
  105. package/i18n/ukrainian.min.js +1 -1
  106. package/i18n/urdu.js +1 -1
  107. package/i18n/urdu.min.js +1 -1
  108. package/i18n/vietnamese.js +1 -1
  109. package/i18n/vietnamese.min.js +1 -1
  110. package/i18n/welsh.js +1 -1
  111. package/i18n/welsh.min.js +1 -1
  112. package/modern.css +19 -3
  113. package/modern.css.map +1 -1
  114. package/modern.fontless.css +19 -3
  115. package/modern.fontless.css.map +1 -1
  116. package/modern.fontless.min.css +2 -2
  117. package/modern.min.css +2 -2
  118. package/package.json +1 -1
  119. package/plugins/bootstrap-integration.js +1 -1
  120. package/plugins/bootstrap-integration.min.js +1 -1
  121. package/plugins/bootstrap-material-integration.js +1 -1
  122. package/plugins/bootstrap-material-integration.min.js +1 -1
  123. package/survey.core.js +661 -134
  124. package/survey.core.js.map +1 -1
  125. package/survey.core.min.js +3 -3
  126. package/survey.css +1 -1
  127. package/survey.css.map +1 -1
  128. package/survey.i18n.js +1 -1
  129. package/survey.i18n.min.js +1 -1
  130. package/survey.min.css +1 -1
  131. package/themes/borderless-dark-panelless.js +1 -1
  132. package/themes/borderless-dark-panelless.min.js +1 -1
  133. package/themes/borderless-dark.js +1 -1
  134. package/themes/borderless-dark.min.js +1 -1
  135. package/themes/borderless-light-panelless..js +1 -1
  136. package/themes/borderless-light-panelless..min.js +1 -1
  137. package/themes/borderless-light.js +1 -1
  138. package/themes/borderless-light.min.js +1 -1
  139. package/themes/contrast-dark-panelless.js +1 -1
  140. package/themes/contrast-dark-panelless.min.js +1 -1
  141. package/themes/contrast-dark.js +1 -1
  142. package/themes/contrast-dark.min.js +1 -1
  143. package/themes/contrast-light-panelless.js +1 -1
  144. package/themes/contrast-light-panelless.min.js +1 -1
  145. package/themes/contrast-light.js +1 -1
  146. package/themes/contrast-light.min.js +1 -1
  147. package/themes/default-dark-panelless.js +1 -1
  148. package/themes/default-dark-panelless.min.js +1 -1
  149. package/themes/default-dark.js +1 -1
  150. package/themes/default-dark.min.js +1 -1
  151. package/themes/default-light-panelless.js +1 -1
  152. package/themes/default-light-panelless.min.js +1 -1
  153. package/themes/default-light.js +1 -1
  154. package/themes/default-light.min.js +1 -1
  155. package/themes/doubleborder-dark-panelless.js +1 -1
  156. package/themes/doubleborder-dark-panelless.min.js +1 -1
  157. package/themes/doubleborder-dark.js +1 -1
  158. package/themes/doubleborder-dark.min.js +1 -1
  159. package/themes/doubleborder-light-panelles.js +1 -1
  160. package/themes/doubleborder-light-panelles.min.js +1 -1
  161. package/themes/doubleborder-light.js +1 -1
  162. package/themes/doubleborder-light.min.js +1 -1
  163. package/themes/flat-dark-panelless.js +1 -1
  164. package/themes/flat-dark-panelless.min.js +1 -1
  165. package/themes/flat-dark.js +1 -1
  166. package/themes/flat-dark.min.js +1 -1
  167. package/themes/flat-light-panelless.js +1 -1
  168. package/themes/flat-light-panelless.min.js +1 -1
  169. package/themes/flat-light.js +1 -1
  170. package/themes/flat-light.min.js +1 -1
  171. package/themes/index.js +1 -1
  172. package/themes/index.min.js +1 -1
  173. package/themes/layered-dark-panelless.js +1 -1
  174. package/themes/layered-dark-panelless.min.js +1 -1
  175. package/themes/layered-dark.js +1 -1
  176. package/themes/layered-dark.min.js +1 -1
  177. package/themes/layered-light-panelless.js +1 -1
  178. package/themes/layered-light-panelless.min.js +1 -1
  179. package/themes/layered-light.js +1 -1
  180. package/themes/layered-light.min.js +1 -1
  181. package/themes/plain-dark-panelless.js +1 -1
  182. package/themes/plain-dark-panelless.min.js +1 -1
  183. package/themes/plain-dark.js +1 -1
  184. package/themes/plain-dark.min.js +1 -1
  185. package/themes/plain-light-panelless.js +1 -1
  186. package/themes/plain-light-panelless.min.js +1 -1
  187. package/themes/plain-light.js +1 -1
  188. package/themes/plain-light.min.js +1 -1
  189. package/themes/sharp-dark-panelless.js +1 -1
  190. package/themes/sharp-dark-panelless.min.js +1 -1
  191. package/themes/sharp-dark.js +1 -1
  192. package/themes/sharp-dark.min.js +1 -1
  193. package/themes/sharp-light-panelless.js +1 -1
  194. package/themes/sharp-light-panelless.min.js +1 -1
  195. package/themes/sharp-light.js +1 -1
  196. package/themes/sharp-light.min.js +1 -1
  197. package/themes/solid-dark-panelless.js +1 -1
  198. package/themes/solid-dark-panelless.min.js +1 -1
  199. package/themes/solid-dark.js +1 -1
  200. package/themes/solid-dark.min.js +1 -1
  201. package/themes/solid-light-panelless.js +1 -1
  202. package/themes/solid-light-panelless.min.js +1 -1
  203. package/themes/solid-light.js +1 -1
  204. package/themes/solid-light.min.js +1 -1
  205. package/themes/three-dimensional-dark-panelless.js +1 -1
  206. package/themes/three-dimensional-dark-panelless.min.js +1 -1
  207. package/themes/three-dimensional-dark.js +1 -1
  208. package/themes/three-dimensional-dark.min.js +1 -1
  209. package/themes/three-dimensional-light-panelless.js +1 -1
  210. package/themes/three-dimensional-light-panelless.min.js +1 -1
  211. package/themes/three-dimensional-light.js +1 -1
  212. package/themes/three-dimensional-light.min.js +1 -1
  213. package/ts3.4/typings/actions/action.d.ts +6 -1
  214. package/ts3.4/typings/base-interfaces.d.ts +1 -1
  215. package/ts3.4/typings/defaultCss/cssmodern.d.ts +1 -1
  216. package/ts3.4/typings/defaultCss/cssstandard.d.ts +1 -1
  217. package/ts3.4/typings/defaultCss/defaultV2Css.d.ts +52 -1
  218. package/ts3.4/typings/dragdrop/matrix-rows.d.ts +2 -1
  219. package/ts3.4/typings/knockout/kobase.d.ts +8 -0
  220. package/ts3.4/typings/knockout/kopage.d.ts +37 -0
  221. package/ts3.4/typings/localization/english.d.ts +1 -0
  222. package/ts3.4/typings/mask/input_element_adapter.d.ts +2 -1
  223. package/ts3.4/typings/mask/mask_datetime.d.ts +28 -3
  224. package/ts3.4/typings/mask/mask_numeric.d.ts +1 -1
  225. package/ts3.4/typings/mask/mask_pattern.d.ts +9 -1
  226. package/ts3.4/typings/panel.d.ts +1 -1
  227. package/ts3.4/typings/popup.d.ts +1 -0
  228. package/ts3.4/typings/question.d.ts +1 -0
  229. package/ts3.4/typings/question_boolean.d.ts +8 -0
  230. package/ts3.4/typings/question_custom.d.ts +3 -0
  231. package/ts3.4/typings/question_imagepicker.d.ts +36 -6
  232. package/ts3.4/typings/question_matrix.d.ts +1 -0
  233. package/ts3.4/typings/question_matrixdynamic.d.ts +1 -0
  234. package/ts3.4/typings/question_paneldynamic.d.ts +1 -0
  235. package/ts3.4/typings/question_ranking.d.ts +1 -0
  236. package/ts3.4/typings/question_signaturepad.d.ts +9 -2
  237. package/ts3.4/typings/survey-element.d.ts +4 -0
  238. package/ts3.4/typings/survey.d.ts +1 -1
  239. package/ts3.4/typings/surveyStrings.d.ts +1 -0
  240. package/typings/actions/action.d.ts +7 -1
  241. package/typings/base-interfaces.d.ts +1 -1
  242. package/typings/defaultCss/cssmodern.d.ts +1 -1
  243. package/typings/defaultCss/cssstandard.d.ts +1 -1
  244. package/typings/defaultCss/defaultV2Css.d.ts +52 -1
  245. package/typings/dragdrop/matrix-rows.d.ts +2 -1
  246. package/typings/knockout/kobase.d.ts +8 -0
  247. package/typings/knockout/kopage.d.ts +37 -0
  248. package/typings/localization/english.d.ts +1 -0
  249. package/typings/mask/input_element_adapter.d.ts +2 -1
  250. package/typings/mask/mask_datetime.d.ts +28 -3
  251. package/typings/mask/mask_numeric.d.ts +1 -1
  252. package/typings/mask/mask_pattern.d.ts +9 -1
  253. package/typings/panel.d.ts +1 -1
  254. package/typings/popup.d.ts +1 -0
  255. package/typings/question.d.ts +1 -0
  256. package/typings/question_boolean.d.ts +8 -0
  257. package/typings/question_custom.d.ts +3 -0
  258. package/typings/question_imagepicker.d.ts +36 -6
  259. package/typings/question_matrix.d.ts +1 -0
  260. package/typings/question_matrixdynamic.d.ts +2 -0
  261. package/typings/question_paneldynamic.d.ts +1 -0
  262. package/typings/question_ranking.d.ts +1 -0
  263. package/typings/question_signaturepad.d.ts +9 -2
  264. package/typings/survey-element.d.ts +4 -0
  265. package/typings/survey.d.ts +1 -1
  266. package/typings/surveyStrings.d.ts +1 -0
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.137
2
+ * surveyjs - Survey JavaScript library v1.9.139
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.9.137
2
+ * surveyjs - Survey JavaScript library v1.9.139
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.9.137
2
+ * surveyjs - Survey JavaScript library v1.9.139
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.9.137
2
+ * surveyjs - Survey JavaScript library v1.9.139
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.9.137
2
+ * surveyjs - Survey JavaScript library v1.9.139
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.9.137
2
+ * surveyjs - Survey JavaScript library v1.9.139
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.9.137
2
+ * surveyjs - Survey JavaScript library v1.9.139
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.9.137
2
+ * surveyjs - Survey JavaScript library v1.9.139
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.9.137
2
+ * surveyjs - Survey JavaScript library v1.9.139
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.9.137
2
+ * surveyjs - Survey JavaScript library v1.9.139
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.9.137
2
+ * surveyjs - Survey JavaScript library v1.9.139
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
  */
@@ -153,7 +153,11 @@ export declare function createDropdownActionModel(actionOptions: IAction, dropdo
153
153
  export declare function createDropdownActionModelAdvanced(actionOptions: IAction, listOptions: IListModel, popupOptions?: IPopupOptionsBase, locOwner?: ILocalizableOwner): Action;
154
154
  export declare function getActionDropdownButtonTarget(container: HTMLElement): HTMLElement;
155
155
  export declare abstract class BaseAction extends Base implements IAction {
156
+ private static renderedId;
157
+ private static getNextRendredId;
156
158
  private cssClassesValue;
159
+ private rendredIdValue;
160
+ private ownerValue;
157
161
  tooltip: string;
158
162
  showTitle: boolean;
159
163
  innerCss: string;
@@ -164,7 +168,6 @@ export declare abstract class BaseAction extends Base implements IAction {
164
168
  needSeparator: boolean;
165
169
  template: string;
166
170
  mode: actionModeType;
167
- owner: ILocalizableOwner;
168
171
  visibleIndex: number;
169
172
  disableTabStop: boolean;
170
173
  disableShrink: boolean;
@@ -180,6 +183,8 @@ export declare abstract class BaseAction extends Base implements IAction {
180
183
  css?: string;
181
184
  minDimension: number;
182
185
  maxDimension: number;
186
+ readonly renderedId: number;
187
+ owner: ILocalizableOwner;
183
188
  visible: boolean;
184
189
  enabled: boolean;
185
190
  component: string;
@@ -42,7 +42,7 @@ export interface ISurvey extends ITextProcessor, ISurveyErrorOwner {
42
42
  getQuestionByName(name: string): IQuestion;
43
43
  pageVisibilityChanged(page: IPage, newValue: boolean): any;
44
44
  panelVisibilityChanged(panel: IPanel, newValue: boolean): any;
45
- questionVisibilityChanged(question: IQuestion, newValue: boolean): any;
45
+ questionVisibilityChanged(question: IQuestion, newValue: boolean, resetIndexes: boolean): any;
46
46
  isEditingSurveyElement: boolean;
47
47
  getQuestionClearIfInvisible(questionClearIf: string): string;
48
48
  questionsOrder: string;
@@ -390,7 +390,7 @@ export declare var modernCss: {
390
390
  root: string;
391
391
  other: string;
392
392
  placeholderInput: string;
393
- preview: string;
393
+ previewItem: string;
394
394
  fileSignBottom: string;
395
395
  fileDecorator: string;
396
396
  fileInput: string;
@@ -330,7 +330,7 @@ export declare var defaultStandardCss: {
330
330
  file: {
331
331
  root: string;
332
332
  placeholderInput: string;
333
- preview: string;
333
+ previewItem: string;
334
334
  removeButton: string;
335
335
  fileInput: string;
336
336
  removeFile: string;
@@ -193,6 +193,7 @@ export declare var defaultV2Css: {
193
193
  titleExpanded: string;
194
194
  titleCollapsed: string;
195
195
  titleDisabled: string;
196
+ titleReadOnly: string;
196
197
  titleBar: string;
197
198
  requiredText: string;
198
199
  number: string;
@@ -217,6 +218,8 @@ export declare var defaultV2Css: {
217
218
  invisible: string;
218
219
  composite: string;
219
220
  disabled: string;
221
+ readOnly: string;
222
+ preview: string;
220
223
  errorsContainer: string;
221
224
  errorsContainerTop: string;
222
225
  errorsContainerBottom: string;
@@ -253,6 +256,9 @@ export declare var defaultV2Css: {
253
256
  itemSelectAll: string;
254
257
  itemNone: string;
255
258
  itemDisabled: string;
259
+ itemReadOnly: string;
260
+ itemPreview: string;
261
+ itemPreviewSvgIconId: string;
256
262
  itemChecked: string;
257
263
  itemHover: string;
258
264
  itemInline: string;
@@ -277,6 +283,9 @@ export declare var defaultV2Css: {
277
283
  label: string;
278
284
  labelChecked: string;
279
285
  itemDisabled: string;
286
+ itemReadOnly: string;
287
+ itemPreview: string;
288
+ itemPreviewSvgIconId: string;
280
289
  itemChecked: string;
281
290
  itemHover: string;
282
291
  itemControl: string;
@@ -298,17 +307,25 @@ export declare var defaultV2Css: {
298
307
  itemExchanged: string;
299
308
  itemIndeterminate: string;
300
309
  itemDisabled: string;
310
+ itemReadOnly: string;
311
+ itemPreview: string;
301
312
  itemHover: string;
302
313
  label: string;
303
314
  labelTrue: string;
304
315
  labelFalse: string;
305
316
  switch: string;
306
317
  disabledLabel: string;
318
+ labelReadOnly: string;
319
+ labelPreview: string;
307
320
  sliderText: string;
308
321
  slider: string;
309
322
  sliderGhost: string;
310
323
  radioItem: string;
311
324
  radioItemChecked: string;
325
+ radioItemDisabled: string;
326
+ radioItemReadOnly: string;
327
+ radioItemPreview: string;
328
+ itemPreviewSvgIconId: string;
312
329
  radioLabel: string;
313
330
  radioControlLabel: string;
314
331
  radioFieldset: string;
@@ -323,6 +340,8 @@ export declare var defaultV2Css: {
323
340
  checkboxItemChecked: string;
324
341
  checkboxItemDecorator: string;
325
342
  checkboxItemDisabled: string;
343
+ checkboxItemReadOnly: string;
344
+ checkboxItemPreview: string;
326
345
  controlCheckbox: string;
327
346
  checkboxMaterialDecorator: string;
328
347
  checkboxControlLabel: string;
@@ -332,6 +351,8 @@ export declare var defaultV2Css: {
332
351
  root: string;
333
352
  small: string;
334
353
  controlDisabled: string;
354
+ controlReadOnly: string;
355
+ controlPreview: string;
335
356
  constrolWithCharacterCounter: string;
336
357
  characterCounterBig: string;
337
358
  content: string;
@@ -342,6 +363,9 @@ export declare var defaultV2Css: {
342
363
  root: string;
343
364
  rootMobile: string;
344
365
  itemLabel: string;
366
+ itemLabelReadOnly: string;
367
+ itemLabelDisabled: string;
368
+ itemLabelPreview: string;
345
369
  itemLabelOnError: string;
346
370
  itemLabelAllowFocus: string;
347
371
  itemLabelAnswered: string;
@@ -379,6 +403,8 @@ export declare var defaultV2Css: {
379
403
  controlInputFieldComponent: string;
380
404
  controlValue: string;
381
405
  controlDisabled: string;
406
+ controlReadOnly: string;
407
+ controlPreview: string;
382
408
  controlEmpty: string;
383
409
  controlLabel: string;
384
410
  filterStringInput: string;
@@ -395,6 +421,8 @@ export declare var defaultV2Css: {
395
421
  itemInline: string;
396
422
  itemChecked: string;
397
423
  itemDisabled: string;
424
+ itemReadOnly: string;
425
+ itemPreview: string;
398
426
  itemHover: string;
399
427
  label: string;
400
428
  itemDecorator: string;
@@ -424,6 +452,7 @@ export declare var defaultV2Css: {
424
452
  cell: string;
425
453
  row: string;
426
454
  rowDisabled: string;
455
+ rowReadOnly: string;
427
456
  headerCell: string;
428
457
  rowTextCell: string;
429
458
  label: string;
@@ -431,6 +460,9 @@ export declare var defaultV2Css: {
431
460
  itemValue: string;
432
461
  itemChecked: string;
433
462
  itemDisabled: string;
463
+ itemReadOnly: string;
464
+ itemPreview: string;
465
+ itemPreviewSvgIconId: string;
434
466
  itemHover: string;
435
467
  materialDecorator: string;
436
468
  itemDecorator: string;
@@ -551,6 +583,8 @@ export declare var defaultV2Css: {
551
583
  itemStarHover: string;
552
584
  itemStarSelected: string;
553
585
  itemStarDisabled: string;
586
+ itemStarReadOnly: string;
587
+ itemStarPreview: string;
554
588
  itemStarHighlighted: string;
555
589
  itemStarUnhighlighted: string;
556
590
  itemStarSmall: string;
@@ -559,6 +593,8 @@ export declare var defaultV2Css: {
559
593
  itemSmileyHover: string;
560
594
  itemSmileySelected: string;
561
595
  itemSmileyDisabled: string;
596
+ itemSmileyReadOnly: string;
597
+ itemSmileyPreview: string;
562
598
  itemSmileyHighlighted: string;
563
599
  itemSmileyScaleColored: string;
564
600
  itemSmileyRateColored: string;
@@ -567,6 +603,8 @@ export declare var defaultV2Css: {
567
603
  itemText: string;
568
604
  maxText: string;
569
605
  itemDisabled: string;
606
+ itemReadOnly: string;
607
+ itemPreview: string;
570
608
  itemFixedSize: string;
571
609
  control: string;
572
610
  itemSmall: string;
@@ -585,6 +623,8 @@ export declare var defaultV2Css: {
585
623
  root: string;
586
624
  small: string;
587
625
  controlDisabled: string;
626
+ controlReadOnly: string;
627
+ controlPreview: string;
588
628
  content: string;
589
629
  remainingCharacterCounter: string;
590
630
  onError: string;
@@ -594,9 +634,12 @@ export declare var defaultV2Css: {
594
634
  root: string;
595
635
  rootDragging: string;
596
636
  rootAnswered: string;
637
+ rootDisabled: string;
638
+ rootReadOnly: string;
639
+ rootPreview: string;
597
640
  other: string;
598
641
  placeholderInput: string;
599
- preview: string;
642
+ previewItem: string;
600
643
  fileSign: string;
601
644
  fileList: string;
602
645
  fileSignBottom: string;
@@ -685,9 +728,12 @@ export declare var defaultV2Css: {
685
728
  rootMobileMod: string;
686
729
  rootDragMod: string;
687
730
  rootDisabled: string;
731
+ rootReadOnly: string;
732
+ rootPreview: string;
688
733
  rootDesignMode: string;
689
734
  rootDragHandleAreaIcon: string;
690
735
  rootSelectToRankMod: string;
736
+ rootSelectToRankEmptyValueMod: string;
691
737
  rootSelectToRankAlignVertical: string;
692
738
  rootSelectToRankAlignHorizontal: string;
693
739
  item: string;
@@ -695,6 +741,8 @@ export declare var defaultV2Css: {
695
741
  itemIndex: string;
696
742
  itemIndexEmptyMode: string;
697
743
  itemDisabled: string;
744
+ itemReadOnly: string;
745
+ itemPreview: string;
698
746
  controlLabel: string;
699
747
  itemGhostNode: string;
700
748
  itemIconContainer: string;
@@ -771,7 +819,10 @@ export declare var defaultV2Css: {
771
819
  controlValue: string;
772
820
  controlValueItems: string;
773
821
  placeholderInput: string;
822
+ controlEditable: string;
774
823
  controlDisabled: string;
824
+ controlReadOnly: string;
825
+ controlPreview: string;
775
826
  controlEmpty: string;
776
827
  controlLabel: string;
777
828
  filterStringInput: string;
@@ -1,5 +1,5 @@
1
1
  import { MatrixDropdownRowModelBase } from "../question_matrixdropdownbase";
2
- import { QuestionMatrixDynamicModel } from "../question_matrixdynamic";
2
+ import { QuestionMatrixDynamicModel, MatrixDynamicRowModel } from "../question_matrixdynamic";
3
3
  import { DragDropCore } from "./core";
4
4
  export declare class DragDropMatrixRows extends DragDropCore<QuestionMatrixDynamicModel> {
5
5
  protected readonly draggedElementType: string;
@@ -9,6 +9,7 @@ export declare class DragDropMatrixRows extends DragDropCore<QuestionMatrixDynam
9
9
  private fromIndex;
10
10
  private toIndex;
11
11
  protected getDropTargetByDataAttributeValue(dataAttributeValue: any): MatrixDropdownRowModelBase;
12
+ canInsertIntoThisRow(row: MatrixDynamicRowModel): boolean;
12
13
  protected isDropTargetValid(dropTarget: any, dropTargetNode?: HTMLElement): boolean;
13
14
  protected calculateIsBottom(clientY: number): boolean;
14
15
  protected afterDragOver(dropTargetNode: HTMLElement): void;
@@ -0,0 +1,8 @@
1
+ import { Base } from "survey-core";
2
+ export declare class ImplementorBase {
3
+ element: Base;
4
+ private static doIterateProperties;
5
+ readonly implementedMark = "__surveyImplementedKo";
6
+ constructor(element: Base);
7
+ dispose(): void;
8
+ }
@@ -0,0 +1,37 @@
1
+ import { PageModel } from "survey-core";
2
+ import { PanelModelBase, PanelModel, QuestionRowModel } from "survey-core";
3
+ import { SurveyElement } from "survey-core";
4
+ import { ImplementorBase } from "./kobase";
5
+ export declare class QuestionRow extends QuestionRowModel {
6
+ panel: PanelModelBase;
7
+ koElementAfterRender: any;
8
+ constructor(panel: PanelModelBase);
9
+ getElementType(el: any): "survey-panel" | "survey-question";
10
+ koAfterRender(htmlElements: any, element: SurveyElement): void;
11
+ private elementAfterRender;
12
+ rowAfterRender(elements: HTMLElement[], model: QuestionRow): void;
13
+ dispose(): void;
14
+ }
15
+ export declare class PanelImplementorBase extends ImplementorBase {
16
+ panel: PanelModelBase;
17
+ constructor(panel: PanelModelBase);
18
+ }
19
+ export declare class Panel extends PanelModel {
20
+ private _implementor;
21
+ koElementType: any;
22
+ constructor(name?: string);
23
+ protected onBaseCreating(): void;
24
+ createRow(): QuestionRowModel;
25
+ protected onCreating(): void;
26
+ protected onNumChanged(value: number): void;
27
+ dispose(): void;
28
+ }
29
+ export declare class Page extends PageModel {
30
+ private _implementor;
31
+ constructor(name?: string);
32
+ protected onBaseCreating(): void;
33
+ createRow(): QuestionRowModel;
34
+ protected onCreating(): void;
35
+ protected onNumChanged(value: number): void;
36
+ dispose(): void;
37
+ }
@@ -78,6 +78,7 @@ export declare var englishStrings: {
78
78
  timerLimitSurvey: string;
79
79
  clearCaption: string;
80
80
  signaturePlaceHolder: string;
81
+ signaturePlaceHolderReadOnly: string;
81
82
  chooseFileCaption: string;
82
83
  takePhotoCaption: string;
83
84
  photoPlaceholder: string;
@@ -4,8 +4,9 @@ export declare class InputElementAdapter {
4
4
  private inputMaskInstance;
5
5
  private inputElement;
6
6
  private prevUnmaskedValue;
7
- constructor(inputMaskInstance: InputMaskBase, inputElement: HTMLInputElement, value?: string);
7
+ constructor(inputMaskInstance: InputMaskBase, inputElement: HTMLInputElement, value?: any);
8
8
  inputMaskInstancePropertyChangedHandler: (sender: any, options: any) => void;
9
+ clickHandler: (event: any) => void;
9
10
  beforeInputHandler: (event: any) => void;
10
11
  createArgs(event: any): ITextInputParams;
11
12
  addInputEventListener(): void;
@@ -1,10 +1,23 @@
1
1
  import { InputMaskPattern } from "./mask_pattern";
2
2
  import { IMaskedInputResult, ITextInputParams } from "./mask_utils";
3
+ declare type DateTimeMaskLexemType = "month" | "day" | "year" | "hour" | "minute" | "second" | "timeMarker" | "separator";
3
4
  export interface IDateTimeMaskLexem {
4
- type: "month" | "day" | "year" | "separator";
5
+ type: DateTimeMaskLexemType;
5
6
  value: any;
6
7
  count: number;
7
8
  maxCount: number;
9
+ upperCase: boolean;
10
+ }
11
+ interface IDateTimeComposition {
12
+ day: number;
13
+ month: number;
14
+ year: number;
15
+ hour?: number;
16
+ minute?: number;
17
+ second?: number;
18
+ timeMarker?: string;
19
+ min?: Date;
20
+ max?: Date;
8
21
  }
9
22
  export declare function getDateTimeLexems(pattern: string): Array<IDateTimeMaskLexem>;
10
23
  /**
@@ -28,9 +41,12 @@ export declare function getDateTimeLexems(pattern: string): Array<IDateTimeMaskL
28
41
  * [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
29
42
  */
30
43
  export declare class InputMaskDateTime extends InputMaskPattern {
44
+ private defaultDate;
31
45
  private turnOfTheCentury;
46
+ private twelve;
32
47
  private lexems;
33
48
  private inputDateTimeData;
49
+ private validBeginningOfNumbers;
34
50
  /**
35
51
  * A minimum date and time value that respondents can enter.
36
52
  * @see max
@@ -41,25 +57,34 @@ export declare class InputMaskDateTime extends InputMaskPattern {
41
57
  * @see min
42
58
  */
43
59
  max: string;
60
+ readonly hasDatePart: boolean;
61
+ readonly hasTimePart: boolean;
62
+ private readonly is12Hours: any;
44
63
  getType(): string;
45
64
  protected updateLiterals(): void;
46
65
  private leaveOnlyNumbers;
47
66
  private getMaskedStrFromISO;
48
67
  private initInputDateTimeData;
49
- private getISO_8601Format;
68
+ getISO_8601Format(dateTime: IDateTimeComposition): string;
50
69
  private isYearValid;
70
+ private createIDateTimeCompositionWithDefaults;
71
+ private getMaxDateForMonth;
51
72
  private isDateValid;
52
73
  private getPlaceholder;
74
+ private isDateValid12;
75
+ private updateTimeMarkerInputDateTimeData;
53
76
  private updateInputDateTimeData;
77
+ private checkValidationDateTimePart;
54
78
  private getCorrectDatePartFormat;
55
79
  private createIDateTimeComposition;
56
80
  private parseTwoDigitYear;
57
81
  private getFormatedString;
82
+ private cleanTimeMarker;
58
83
  private setInputDateTimeData;
59
84
  _getMaskedValue(src: string, matchWholeMask?: boolean): string;
60
- private getPartsOld;
61
85
  private getParts;
62
86
  getUnmaskedValue(src: string): any;
63
87
  getMaskedValue(src: string): string;
64
88
  processInput(args: ITextInputParams): IMaskedInputResult;
65
89
  }
90
+ export {};
@@ -75,7 +75,7 @@ export declare class InputMaskNumeric extends InputMaskBase {
75
75
  private calccaretPosition;
76
76
  displayNumber(parsedNumber: INumericalComposition, insertThousandsSeparator?: boolean, matchWholeMask?: boolean): string;
77
77
  convertNumber(parsedNumber: INumericalComposition): number;
78
- validateNumber(number: INumericalComposition): boolean;
78
+ validateNumber(number: INumericalComposition, matchWholeMask: boolean): boolean;
79
79
  parseNumber(src: string | number): INumericalComposition;
80
80
  getNumberMaskedValue(src: string | number, matchWholeMask?: boolean): string;
81
81
  private getNumberUnmaskedValue;
@@ -51,8 +51,16 @@ export declare class InputMaskPattern extends InputMaskBase {
51
51
  * - `dd` - Day of the month, with leading zero for single-digit values.
52
52
  * - `yy` - Last two digits of the year.
53
53
  * - `yyyy` - A four-digit year.
54
+ * - `H` - Hours in 24-hour format.
55
+ * - `HH` - Hours in 24-hour format, with leading zero for single-digit values.
56
+ * - `h` - Hours in 12-hour format.
57
+ * - `hh` - Hours in 12-hour format, with leading zero for single-digit values.
58
+ * - `MM` - Minutes.
59
+ * - `ss` - Seconds.
60
+ * - `TT` - 12-hour clock period in upper case (AM/PM).
61
+ * - `tt` - 12-hour clock period in lower case (am/pm).
54
62
  *
55
- * Example: `mm/dd/yyyy`
63
+ * Example: `mm/dd/yyyy HH:MM:ss`
56
64
  *
57
65
  * [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
58
66
  * @see [settings.maskSettings](https://surveyjs.io/form-library/documentation/api-reference/settings#maskSettings)
@@ -532,7 +532,7 @@ export declare class PanelModel extends PanelModelBase implements IElement {
532
532
  focusIn(): void;
533
533
  protected getHasFrameV2(): boolean;
534
534
  protected getIsNested(): boolean;
535
- private readonly showPanelAsPage: any;
535
+ readonly showPanelAsPage: boolean;
536
536
  protected getCssRoot(cssClasses: {
537
537
  [index: string]: string;
538
538
  }): string;
@@ -28,6 +28,7 @@ export declare class PopupModel<T = any> extends Base {
28
28
  private onDispose;
29
29
  setWidthByTarget: boolean;
30
30
  focusFirstInputSelector: string;
31
+ locale: string;
31
32
  contentComponentName: string;
32
33
  contentComponentData: T;
33
34
  verticalPosition: VerticalPosition;
@@ -263,6 +263,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
263
263
  titleLocation: string;
264
264
  getTitleOwner(): ITitleOwner;
265
265
  protected getIsTitleRenderedAsString(): boolean;
266
+ protected notifySurveyOnChildrenVisibilityChanged(): boolean;
266
267
  private notifySurveyVisibilityChanged;
267
268
  protected clearValueOnHidding(isClearOnHidden: boolean): void;
268
269
  /**
@@ -42,6 +42,13 @@ export declare class QuestionBooleanModel extends Question {
42
42
  labelTrue: string;
43
43
  readonly locLabelTrue: LocalizableString;
44
44
  readonly isDeterminated: boolean;
45
+ /**
46
+ * Specifies whether to swap the order of the Yes and No answers.
47
+ *
48
+ * Default value: `false`
49
+ *
50
+ * By default, the order is [ "No", "Yes"]. Enable this property to reorder the answers as follows: [ "Yes", "No" ].
51
+ */
45
52
  swapOrder: boolean;
46
53
  readonly locLabelLeft: LocalizableString;
47
54
  readonly locLabelRight: LocalizableString;
@@ -80,6 +87,7 @@ export declare class QuestionBooleanModel extends Question {
80
87
  getCheckboxItemCss(): string;
81
88
  getLabelCss(checked: boolean): string;
82
89
  readonly svgIcon: string;
90
+ readonly itemSvgIcon: string;
83
91
  readonly allowClick: boolean;
84
92
  getCheckedLabel(): LocalizableString;
85
93
  protected setQuestionValue(newValue: any, updateIsAnswered?: boolean): void;
@@ -231,6 +231,7 @@ export interface ICustomQuestionTypeConfiguration {
231
231
  * @returns An error text.
232
232
  */
233
233
  getErrorText?: (question: Question) => string;
234
+ onSetQuestionValue?: (question: Question, newValue: any) => void;
234
235
  valueToQuestion?: (val: any) => any;
235
236
  valueFromQuestion?: (val: any) => any;
236
237
  getValue?: (val: any) => any;
@@ -247,6 +248,7 @@ export declare class ComponentQuestionJSON {
247
248
  onAfterRender(question: Question, htmlElement: any): void;
248
249
  onAfterRenderContentElement(question: Question, element: Question, htmlElement: any): void;
249
250
  onUpdateQuestionCssClasses(question: Question, element: Question, css: any): void;
251
+ onSetQuestionValue(question: Question, newValue: any): void;
250
252
  onPropertyChanged(question: Question, propertyName: string, newValue: any): void;
251
253
  onValueChanged(question: Question, name: string, newValue: any): void;
252
254
  onValueChanging(question: Question, name: string, newValue: any): any;
@@ -353,6 +355,7 @@ export declare class QuestionCustomModel extends QuestionCustomModelBase {
353
355
  afterRenderCore(el: any): void;
354
356
  readonly contentQuestion: Question;
355
357
  protected createQuestion(): Question;
358
+ private checkCreatedQuestion;
356
359
  onSurveyLoad(): void;
357
360
  runCondition(values: HashTable<any>, properties: HashTable<any>): void;
358
361
  protected convertDataName(name: string): string;