survey-core 1.12.21 → 1.12.23

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 (463) hide show
  1. package/default.css +8715 -0
  2. package/default.css.map +1 -0
  3. package/default.fontless.css +8495 -0
  4. package/default.fontless.css.map +1 -0
  5. package/default.fontless.min.css +6 -0
  6. package/default.min.css +6 -0
  7. package/defaultV2.css +51 -5
  8. package/defaultV2.css.map +1 -1
  9. package/defaultV2.fontless.css +51 -5
  10. package/defaultV2.fontless.css.map +1 -1
  11. package/defaultV2.fontless.min.css +2 -2
  12. package/defaultV2.min.css +2 -2
  13. package/i18n/arabic.js +1 -1
  14. package/i18n/arabic.min.js +1 -1
  15. package/i18n/arabic.min.js.LICENSE.txt +5 -0
  16. package/i18n/basque.js +1 -1
  17. package/i18n/basque.min.js +1 -1
  18. package/i18n/basque.min.js.LICENSE.txt +5 -0
  19. package/i18n/bulgarian.js +1 -1
  20. package/i18n/bulgarian.min.js +1 -1
  21. package/i18n/bulgarian.min.js.LICENSE.txt +5 -0
  22. package/i18n/burmese.js +1 -1
  23. package/i18n/burmese.min.js +1 -1
  24. package/i18n/burmese.min.js.LICENSE.txt +5 -0
  25. package/i18n/catalan.js +1 -1
  26. package/i18n/catalan.min.js +1 -1
  27. package/i18n/catalan.min.js.LICENSE.txt +5 -0
  28. package/i18n/croatian.js +1 -1
  29. package/i18n/croatian.min.js +1 -1
  30. package/i18n/croatian.min.js.LICENSE.txt +5 -0
  31. package/i18n/czech.js +1 -1
  32. package/i18n/czech.min.js +1 -1
  33. package/i18n/czech.min.js.LICENSE.txt +5 -0
  34. package/i18n/danish.js +1 -1
  35. package/i18n/danish.min.js +1 -1
  36. package/i18n/danish.min.js.LICENSE.txt +5 -0
  37. package/i18n/dutch.js +1 -1
  38. package/i18n/dutch.min.js +1 -1
  39. package/i18n/dutch.min.js.LICENSE.txt +5 -0
  40. package/i18n/english.js +1 -1
  41. package/i18n/english.min.js +1 -1
  42. package/i18n/english.min.js.LICENSE.txt +5 -0
  43. package/i18n/estonian.js +1 -1
  44. package/i18n/estonian.min.js +1 -1
  45. package/i18n/estonian.min.js.LICENSE.txt +5 -0
  46. package/i18n/finnish.js +1 -1
  47. package/i18n/finnish.min.js +1 -1
  48. package/i18n/finnish.min.js.LICENSE.txt +5 -0
  49. package/i18n/french.js +1 -1
  50. package/i18n/french.min.js +1 -1
  51. package/i18n/french.min.js.LICENSE.txt +5 -0
  52. package/i18n/georgian.js +1 -1
  53. package/i18n/georgian.min.js +1 -1
  54. package/i18n/georgian.min.js.LICENSE.txt +5 -0
  55. package/i18n/german.js +1 -1
  56. package/i18n/german.min.js +1 -1
  57. package/i18n/german.min.js.LICENSE.txt +5 -0
  58. package/i18n/greek.js +1 -1
  59. package/i18n/greek.min.js +1 -1
  60. package/i18n/greek.min.js.LICENSE.txt +5 -0
  61. package/i18n/hebrew.js +1 -1
  62. package/i18n/hebrew.min.js +1 -1
  63. package/i18n/hebrew.min.js.LICENSE.txt +5 -0
  64. package/i18n/hindi.js +1 -1
  65. package/i18n/hindi.min.js +1 -1
  66. package/i18n/hindi.min.js.LICENSE.txt +5 -0
  67. package/i18n/hungarian.js +1 -1
  68. package/i18n/hungarian.min.js +1 -1
  69. package/i18n/hungarian.min.js.LICENSE.txt +5 -0
  70. package/i18n/icelandic.js +1 -1
  71. package/i18n/icelandic.min.js +1 -1
  72. package/i18n/icelandic.min.js.LICENSE.txt +5 -0
  73. package/i18n/index.js +1 -1
  74. package/i18n/index.min.js +1 -1
  75. package/i18n/index.min.js.LICENSE.txt +5 -0
  76. package/i18n/indonesian.js +1 -1
  77. package/i18n/indonesian.min.js +1 -1
  78. package/i18n/indonesian.min.js.LICENSE.txt +5 -0
  79. package/i18n/italian.js +1 -1
  80. package/i18n/italian.min.js +1 -1
  81. package/i18n/italian.min.js.LICENSE.txt +5 -0
  82. package/i18n/japanese.js +1 -1
  83. package/i18n/japanese.min.js +1 -1
  84. package/i18n/japanese.min.js.LICENSE.txt +5 -0
  85. package/i18n/kazakh.js +1 -1
  86. package/i18n/kazakh.min.js +1 -1
  87. package/i18n/kazakh.min.js.LICENSE.txt +5 -0
  88. package/i18n/korean.js +1 -1
  89. package/i18n/korean.min.js +1 -1
  90. package/i18n/korean.min.js.LICENSE.txt +5 -0
  91. package/i18n/latvian.js +1 -1
  92. package/i18n/latvian.min.js +1 -1
  93. package/i18n/latvian.min.js.LICENSE.txt +5 -0
  94. package/i18n/lithuanian.js +1 -1
  95. package/i18n/lithuanian.min.js +1 -1
  96. package/i18n/lithuanian.min.js.LICENSE.txt +5 -0
  97. package/i18n/macedonian.js +1 -1
  98. package/i18n/macedonian.min.js +1 -1
  99. package/i18n/macedonian.min.js.LICENSE.txt +5 -0
  100. package/i18n/malay.js +1 -1
  101. package/i18n/malay.min.js +1 -1
  102. package/i18n/malay.min.js.LICENSE.txt +5 -0
  103. package/i18n/nl-BE.js +1 -1
  104. package/i18n/nl-BE.min.js +1 -1
  105. package/i18n/nl-BE.min.js.LICENSE.txt +5 -0
  106. package/i18n/norwegian.js +1 -1
  107. package/i18n/norwegian.min.js +1 -1
  108. package/i18n/norwegian.min.js.LICENSE.txt +5 -0
  109. package/i18n/persian.js +1 -1
  110. package/i18n/persian.min.js +1 -1
  111. package/i18n/persian.min.js.LICENSE.txt +5 -0
  112. package/i18n/philippines.js +1 -1
  113. package/i18n/philippines.min.js +1 -1
  114. package/i18n/philippines.min.js.LICENSE.txt +5 -0
  115. package/i18n/polish.js +1 -1
  116. package/i18n/polish.min.js +1 -1
  117. package/i18n/polish.min.js.LICENSE.txt +5 -0
  118. package/i18n/portuguese-br.js +1 -1
  119. package/i18n/portuguese-br.min.js +1 -1
  120. package/i18n/portuguese-br.min.js.LICENSE.txt +5 -0
  121. package/i18n/portuguese.js +1 -1
  122. package/i18n/portuguese.min.js +1 -1
  123. package/i18n/portuguese.min.js.LICENSE.txt +5 -0
  124. package/i18n/romanian.js +1 -1
  125. package/i18n/romanian.min.js +1 -1
  126. package/i18n/romanian.min.js.LICENSE.txt +5 -0
  127. package/i18n/russian.js +1 -1
  128. package/i18n/russian.min.js +1 -1
  129. package/i18n/russian.min.js.LICENSE.txt +5 -0
  130. package/i18n/serbian.js +1 -1
  131. package/i18n/serbian.min.js +1 -1
  132. package/i18n/serbian.min.js.LICENSE.txt +5 -0
  133. package/i18n/simplified-chinese.js +1 -1
  134. package/i18n/simplified-chinese.min.js +1 -1
  135. package/i18n/simplified-chinese.min.js.LICENSE.txt +5 -0
  136. package/i18n/slovak.js +1 -1
  137. package/i18n/slovak.min.js +1 -1
  138. package/i18n/slovak.min.js.LICENSE.txt +5 -0
  139. package/i18n/spanish.js +1 -1
  140. package/i18n/spanish.min.js +1 -1
  141. package/i18n/spanish.min.js.LICENSE.txt +5 -0
  142. package/i18n/swahili.js +1 -1
  143. package/i18n/swahili.min.js +1 -1
  144. package/i18n/swahili.min.js.LICENSE.txt +5 -0
  145. package/i18n/swedish.js +1 -1
  146. package/i18n/swedish.min.js +1 -1
  147. package/i18n/swedish.min.js.LICENSE.txt +5 -0
  148. package/i18n/tajik.js +1 -1
  149. package/i18n/tajik.min.js +1 -1
  150. package/i18n/tajik.min.js.LICENSE.txt +5 -0
  151. package/i18n/telugu.js +1 -1
  152. package/i18n/telugu.min.js +1 -1
  153. package/i18n/telugu.min.js.LICENSE.txt +5 -0
  154. package/i18n/thai.js +1 -1
  155. package/i18n/thai.min.js +1 -1
  156. package/i18n/thai.min.js.LICENSE.txt +5 -0
  157. package/i18n/traditional-chinese.js +1 -1
  158. package/i18n/traditional-chinese.min.js +1 -1
  159. package/i18n/traditional-chinese.min.js.LICENSE.txt +5 -0
  160. package/i18n/turkish.js +1 -1
  161. package/i18n/turkish.min.js +1 -1
  162. package/i18n/turkish.min.js.LICENSE.txt +5 -0
  163. package/i18n/ukrainian.js +1 -1
  164. package/i18n/ukrainian.min.js +1 -1
  165. package/i18n/ukrainian.min.js.LICENSE.txt +5 -0
  166. package/i18n/urdu.js +1 -1
  167. package/i18n/urdu.min.js +1 -1
  168. package/i18n/urdu.min.js.LICENSE.txt +5 -0
  169. package/i18n/vietnamese.js +1 -1
  170. package/i18n/vietnamese.min.js +1 -1
  171. package/i18n/vietnamese.min.js.LICENSE.txt +5 -0
  172. package/i18n/welsh.js +1 -1
  173. package/i18n/welsh.min.js +1 -1
  174. package/i18n/welsh.min.js.LICENSE.txt +5 -0
  175. package/icons/iconsV1.js +1 -1
  176. package/icons/iconsV1.min.js +1 -1
  177. package/icons/iconsV1.min.js.LICENSE.txt +5 -0
  178. package/icons/iconsV2.js +1 -1
  179. package/icons/iconsV2.min.js +1 -1
  180. package/icons/iconsV2.min.js.LICENSE.txt +5 -0
  181. package/modern.css +1 -1
  182. package/modern.fontless.css +1 -1
  183. package/modern.fontless.min.css +1 -1
  184. package/modern.min.css +1 -1
  185. package/package.json +1 -1
  186. package/plugins/bootstrap-integration/index.js +1 -1
  187. package/plugins/bootstrap-integration/index.min.js +1 -1
  188. package/plugins/bootstrap-material-integration/index.js +1 -1
  189. package/plugins/bootstrap-material-integration/index.min.js +1 -1
  190. package/survey.core.js +252 -151
  191. package/survey.core.js.map +1 -1
  192. package/survey.core.min.js +3 -3
  193. package/survey.core.min.js.LICENSE.txt +10 -0
  194. package/survey.css +1 -1
  195. package/survey.i18n.js +1 -1
  196. package/survey.i18n.min.js +1 -1
  197. package/survey.i18n.min.js.LICENSE.txt +5 -0
  198. package/survey.min.css +1 -1
  199. package/themes/borderless-dark-panelless.js +1 -1
  200. package/themes/borderless-dark-panelless.min.js +1 -1
  201. package/themes/borderless-dark-panelless.min.js.LICENSE.txt +5 -0
  202. package/themes/borderless-dark.js +1 -1
  203. package/themes/borderless-dark.min.js +1 -1
  204. package/themes/borderless-dark.min.js.LICENSE.txt +5 -0
  205. package/themes/borderless-light-panelless..js +1 -1
  206. package/themes/borderless-light-panelless..min.js +1 -1
  207. package/themes/borderless-light-panelless.js +156 -0
  208. package/themes/borderless-light-panelless.js.map +1 -0
  209. package/themes/borderless-light-panelless.min.js +2 -0
  210. package/themes/borderless-light-panelless.min.js.LICENSE.txt +5 -0
  211. package/themes/borderless-light.js +1 -1
  212. package/themes/borderless-light.min.js +1 -1
  213. package/themes/borderless-light.min.js.LICENSE.txt +5 -0
  214. package/themes/contrast-dark-panelless.js +1 -1
  215. package/themes/contrast-dark-panelless.min.js +1 -1
  216. package/themes/contrast-dark-panelless.min.js.LICENSE.txt +5 -0
  217. package/themes/contrast-dark.js +1 -1
  218. package/themes/contrast-dark.min.js +1 -1
  219. package/themes/contrast-dark.min.js.LICENSE.txt +5 -0
  220. package/themes/contrast-light-panelless.js +1 -1
  221. package/themes/contrast-light-panelless.min.js +1 -1
  222. package/themes/contrast-light-panelless.min.js.LICENSE.txt +5 -0
  223. package/themes/contrast-light.js +1 -1
  224. package/themes/contrast-light.min.js +1 -1
  225. package/themes/contrast-light.min.js.LICENSE.txt +5 -0
  226. package/themes/default-dark-panelless.js +1 -1
  227. package/themes/default-dark-panelless.min.js +1 -1
  228. package/themes/default-dark-panelless.min.js.LICENSE.txt +5 -0
  229. package/themes/default-dark.js +1 -1
  230. package/themes/default-dark.min.js +1 -1
  231. package/themes/default-dark.min.js.LICENSE.txt +5 -0
  232. package/themes/default-light-panelless.js +1 -1
  233. package/themes/default-light-panelless.min.js +1 -1
  234. package/themes/default-light-panelless.min.js.LICENSE.txt +5 -0
  235. package/themes/default-light.js +1 -1
  236. package/themes/default-light.min.js +1 -1
  237. package/themes/default-light.min.js.LICENSE.txt +5 -0
  238. package/themes/doubleborder-dark-panelless.js +1 -1
  239. package/themes/doubleborder-dark-panelless.min.js +1 -1
  240. package/themes/doubleborder-dark-panelless.min.js.LICENSE.txt +5 -0
  241. package/themes/doubleborder-dark.js +1 -1
  242. package/themes/doubleborder-dark.min.js +1 -1
  243. package/themes/doubleborder-dark.min.js.LICENSE.txt +5 -0
  244. package/themes/doubleborder-light-panelles.js +1 -1
  245. package/themes/doubleborder-light-panelles.min.js +1 -1
  246. package/themes/doubleborder-light-panelles.min.js.LICENSE.txt +5 -0
  247. package/themes/doubleborder-light.js +1 -1
  248. package/themes/doubleborder-light.min.js +1 -1
  249. package/themes/doubleborder-light.min.js.LICENSE.txt +5 -0
  250. package/themes/flat-dark-panelless.js +1 -1
  251. package/themes/flat-dark-panelless.min.js +1 -1
  252. package/themes/flat-dark-panelless.min.js.LICENSE.txt +5 -0
  253. package/themes/flat-dark.js +1 -1
  254. package/themes/flat-dark.min.js +1 -1
  255. package/themes/flat-dark.min.js.LICENSE.txt +5 -0
  256. package/themes/flat-light-panelless.js +1 -1
  257. package/themes/flat-light-panelless.min.js +1 -1
  258. package/themes/flat-light-panelless.min.js.LICENSE.txt +5 -0
  259. package/themes/flat-light.js +1 -1
  260. package/themes/flat-light.min.js +1 -1
  261. package/themes/flat-light.min.js.LICENSE.txt +5 -0
  262. package/themes/index.js +1 -1
  263. package/themes/index.min.js +1 -1
  264. package/themes/index.min.js.LICENSE.txt +5 -0
  265. package/themes/layered-dark-panelless.js +1 -1
  266. package/themes/layered-dark-panelless.min.js +1 -1
  267. package/themes/layered-dark-panelless.min.js.LICENSE.txt +5 -0
  268. package/themes/layered-dark.js +1 -1
  269. package/themes/layered-dark.min.js +1 -1
  270. package/themes/layered-dark.min.js.LICENSE.txt +5 -0
  271. package/themes/layered-light-panelless.js +1 -1
  272. package/themes/layered-light-panelless.min.js +1 -1
  273. package/themes/layered-light-panelless.min.js.LICENSE.txt +5 -0
  274. package/themes/layered-light.js +1 -1
  275. package/themes/layered-light.min.js +1 -1
  276. package/themes/layered-light.min.js.LICENSE.txt +5 -0
  277. package/themes/plain-dark-panelless.js +1 -1
  278. package/themes/plain-dark-panelless.min.js +1 -1
  279. package/themes/plain-dark-panelless.min.js.LICENSE.txt +5 -0
  280. package/themes/plain-dark.js +1 -1
  281. package/themes/plain-dark.min.js +1 -1
  282. package/themes/plain-dark.min.js.LICENSE.txt +5 -0
  283. package/themes/plain-light-panelless.js +1 -1
  284. package/themes/plain-light-panelless.min.js +1 -1
  285. package/themes/plain-light-panelless.min.js.LICENSE.txt +5 -0
  286. package/themes/plain-light.js +1 -1
  287. package/themes/plain-light.min.js +1 -1
  288. package/themes/plain-light.min.js.LICENSE.txt +5 -0
  289. package/themes/sharp-dark-panelless.js +1 -1
  290. package/themes/sharp-dark-panelless.min.js +1 -1
  291. package/themes/sharp-dark-panelless.min.js.LICENSE.txt +5 -0
  292. package/themes/sharp-dark.js +1 -1
  293. package/themes/sharp-dark.min.js +1 -1
  294. package/themes/sharp-dark.min.js.LICENSE.txt +5 -0
  295. package/themes/sharp-light-panelless.js +1 -1
  296. package/themes/sharp-light-panelless.min.js +1 -1
  297. package/themes/sharp-light-panelless.min.js.LICENSE.txt +5 -0
  298. package/themes/sharp-light.js +1 -1
  299. package/themes/sharp-light.min.js +1 -1
  300. package/themes/sharp-light.min.js.LICENSE.txt +5 -0
  301. package/themes/solid-dark-panelless.js +1 -1
  302. package/themes/solid-dark-panelless.min.js +1 -1
  303. package/themes/solid-dark-panelless.min.js.LICENSE.txt +5 -0
  304. package/themes/solid-dark.js +1 -1
  305. package/themes/solid-dark.min.js +1 -1
  306. package/themes/solid-dark.min.js.LICENSE.txt +5 -0
  307. package/themes/solid-light-panelless.js +1 -1
  308. package/themes/solid-light-panelless.min.js +1 -1
  309. package/themes/solid-light-panelless.min.js.LICENSE.txt +5 -0
  310. package/themes/solid-light.js +1 -1
  311. package/themes/solid-light.min.js +1 -1
  312. package/themes/solid-light.min.js.LICENSE.txt +5 -0
  313. package/themes/three-dimensional-dark-panelless.js +1 -1
  314. package/themes/three-dimensional-dark-panelless.min.js +1 -1
  315. package/themes/three-dimensional-dark-panelless.min.js.LICENSE.txt +5 -0
  316. package/themes/three-dimensional-dark.js +1 -1
  317. package/themes/three-dimensional-dark.min.js +1 -1
  318. package/themes/three-dimensional-dark.min.js.LICENSE.txt +5 -0
  319. package/themes/three-dimensional-light-panelless.js +1 -1
  320. package/themes/three-dimensional-light-panelless.min.js +1 -1
  321. package/themes/three-dimensional-light-panelless.min.js.LICENSE.txt +5 -0
  322. package/themes/three-dimensional-light.js +1 -1
  323. package/themes/three-dimensional-light.min.js +1 -1
  324. package/themes/three-dimensional-light.min.js.LICENSE.txt +5 -0
  325. package/ts3.4/typings/packages/survey-core/src/base-interfaces.d.ts +1 -0
  326. package/ts3.4/typings/packages/survey-core/src/defaultCss/defaultV2Css.d.ts +2 -0
  327. package/ts3.4/typings/packages/survey-core/src/localizablestring.d.ts +1 -1
  328. package/ts3.4/typings/packages/survey-core/src/panel.d.ts +2 -1
  329. package/ts3.4/typings/packages/survey-core/src/question_custom.d.ts +3 -0
  330. package/ts3.4/typings/packages/survey-core/src/question_paneldynamic.d.ts +14 -6
  331. package/ts3.4/typings/packages/survey-core/src/survey-events-api.d.ts +17 -6
  332. package/ts3.4/typings/packages/survey-core/src/survey.d.ts +11 -6
  333. package/ts3.4/typings/packages/survey-core/src/textPreProcessor.d.ts +5 -2
  334. package/typings/entries/chunks/core-wo-model.d.ts +10 -0
  335. package/typings/entries/chunks/model.d.ts +95 -95
  336. package/typings/entries/index.d.ts +2 -0
  337. package/typings/packages/survey-core/src/base-interfaces.d.ts +1 -0
  338. package/typings/packages/survey-core/src/defaultCss/defaultV2Css.d.ts +2 -0
  339. package/typings/packages/survey-core/src/localizablestring.d.ts +1 -1
  340. package/typings/packages/survey-core/src/panel.d.ts +2 -1
  341. package/typings/packages/survey-core/src/question_custom.d.ts +3 -0
  342. package/typings/packages/survey-core/src/question_paneldynamic.d.ts +14 -6
  343. package/typings/packages/survey-core/src/survey-events-api.d.ts +17 -6
  344. package/typings/packages/survey-core/src/survey.d.ts +11 -6
  345. package/typings/packages/survey-core/src/textPreProcessor.d.ts +5 -2
  346. package/typings/src/actions/action.d.ts +300 -0
  347. package/typings/src/actions/adaptive-container.d.ts +29 -0
  348. package/typings/src/actions/container.d.ts +59 -0
  349. package/typings/src/base-interfaces.d.ts +366 -0
  350. package/typings/src/base.d.ts +333 -0
  351. package/typings/src/calculatedValue.d.ts +49 -0
  352. package/typings/src/choicesRestful.d.ts +177 -0
  353. package/typings/src/conditionProcessValue.d.ts +25 -0
  354. package/typings/src/conditions.d.ts +98 -0
  355. package/typings/src/conditionsParser.d.ts +14 -0
  356. package/typings/src/console-warnings.d.ts +6 -0
  357. package/typings/src/defaultCss/defaultCss.d.ts +873 -0
  358. package/typings/src/defaultTitle.d.ts +3 -0
  359. package/typings/src/dragdrop/choices.d.ts +21 -0
  360. package/typings/src/dragdrop/core.d.ts +55 -0
  361. package/typings/src/dragdrop/dom-adapter.d.ts +49 -0
  362. package/typings/src/dragdrop/engine.d.ts +6 -0
  363. package/typings/src/dragdrop/matrix-rows.d.ts +19 -0
  364. package/typings/src/dragdrop/ranking-choices.d.ts +26 -0
  365. package/typings/src/dragdrop/ranking-select-to-rank.d.ts +17 -0
  366. package/typings/src/dropdownListModel.d.ts +97 -0
  367. package/typings/src/dropdownMultiSelectListModel.d.ts +37 -0
  368. package/typings/src/dxSurveyService.d.ts +18 -0
  369. package/typings/src/element-helper.d.ts +8 -0
  370. package/typings/src/error.d.ts +81 -0
  371. package/typings/src/expressionItems.d.ts +57 -0
  372. package/typings/src/expressions/expressionParser.d.ts +54 -0
  373. package/typings/src/expressions/expressions.d.ts +135 -0
  374. package/typings/src/flowpanel.d.ts +34 -0
  375. package/typings/src/functionsfactory.d.ts +14 -0
  376. package/typings/src/global_variables_utils.d.ts +30 -0
  377. package/typings/src/header.d.ts +87 -0
  378. package/typings/src/helpers.d.ts +44 -0
  379. package/typings/src/itemvalue.d.ts +93 -0
  380. package/typings/src/jsonobject.d.ts +378 -0
  381. package/typings/src/list.d.ts +144 -0
  382. package/typings/src/localizablestring.d.ts +125 -0
  383. package/typings/src/localization/english.d.ts +109 -0
  384. package/typings/src/martixBase.d.ts +133 -0
  385. package/typings/src/mask/input_element_adapter.d.ts +16 -0
  386. package/typings/src/mask/mask_base.d.ts +29 -0
  387. package/typings/src/mask/mask_currency.d.ts +41 -0
  388. package/typings/src/mask/mask_datetime.d.ts +91 -0
  389. package/typings/src/mask/mask_numeric.d.ts +90 -0
  390. package/typings/src/mask/mask_pattern.d.ts +78 -0
  391. package/typings/src/mask/mask_utils.d.ts +20 -0
  392. package/typings/src/multiSelectListModel.d.ts +17 -0
  393. package/typings/src/notifier.d.ts +30 -0
  394. package/typings/src/page.d.ts +133 -0
  395. package/typings/src/panel-layout-column.d.ts +9 -0
  396. package/typings/src/panel.d.ts +633 -0
  397. package/typings/src/popup-dropdown-view-model.d.ts +35 -0
  398. package/typings/src/popup-modal-view-model.d.ts +16 -0
  399. package/typings/src/popup-survey.d.ts +132 -0
  400. package/typings/src/popup-utils.d.ts +4 -0
  401. package/typings/src/popup-view-model.d.ts +81 -0
  402. package/typings/src/popup.d.ts +66 -0
  403. package/typings/src/progress-buttons.d.ts +44 -0
  404. package/typings/src/question.d.ts +949 -0
  405. package/typings/src/questionCustomWidgets.d.ts +46 -0
  406. package/typings/src/question_baseselect.d.ts +547 -0
  407. package/typings/src/question_boolean.d.ts +116 -0
  408. package/typings/src/question_buttongroup.d.ts +51 -0
  409. package/typings/src/question_checkbox.d.ts +158 -0
  410. package/typings/src/question_comment.d.ts +59 -0
  411. package/typings/src/question_custom.d.ts +454 -0
  412. package/typings/src/question_dropdown.d.ts +156 -0
  413. package/typings/src/question_empty.d.ts +8 -0
  414. package/typings/src/question_expression.d.ts +110 -0
  415. package/typings/src/question_file.d.ts +303 -0
  416. package/typings/src/question_html.d.ts +26 -0
  417. package/typings/src/question_image.d.ts +86 -0
  418. package/typings/src/question_imagepicker.d.ts +168 -0
  419. package/typings/src/question_matrix.d.ts +198 -0
  420. package/typings/src/question_matrixdropdown.d.ts +56 -0
  421. package/typings/src/question_matrixdropdownbase.d.ts +572 -0
  422. package/typings/src/question_matrixdropdowncolumn.d.ts +344 -0
  423. package/typings/src/question_matrixdropdownrendered.d.ts +171 -0
  424. package/typings/src/question_matrixdynamic.d.ts +299 -0
  425. package/typings/src/question_multipletext.d.ts +361 -0
  426. package/typings/src/question_paneldynamic.d.ts +719 -0
  427. package/typings/src/question_radiogroup.d.ts +40 -0
  428. package/typings/src/question_ranking.d.ts +135 -0
  429. package/typings/src/question_rating.d.ts +300 -0
  430. package/typings/src/question_signaturepad.d.ts +149 -0
  431. package/typings/src/question_tagbox.d.ts +98 -0
  432. package/typings/src/question_text.d.ts +206 -0
  433. package/typings/src/question_textbase.d.ts +62 -0
  434. package/typings/src/questionfactory.d.ts +27 -0
  435. package/typings/src/questionnonvalue.d.ts +22 -0
  436. package/typings/src/rendererFactory.d.ts +11 -0
  437. package/typings/src/settings.d.ts +641 -0
  438. package/typings/src/survey-element.d.ts +471 -0
  439. package/typings/src/survey-error.d.ts +18 -0
  440. package/typings/src/survey-events-api.d.ts +1152 -0
  441. package/typings/src/survey.d.ts +3126 -0
  442. package/typings/src/surveyProgress.d.ts +4 -0
  443. package/typings/src/surveyStrings.d.ts +151 -0
  444. package/typings/src/surveyTaskManager.d.ts +16 -0
  445. package/typings/src/surveyTimerModel.d.ts +47 -0
  446. package/typings/src/surveyToc.d.ts +23 -0
  447. package/typings/src/surveytimer.d.ts +22 -0
  448. package/typings/src/svgbundle.d.ts +23 -0
  449. package/typings/src/template-renderer.d.ts +10 -0
  450. package/typings/src/textPreProcessor.d.ts +43 -0
  451. package/typings/src/themes.d.ts +222 -0
  452. package/typings/src/trigger.d.ts +155 -0
  453. package/typings/src/utils/animation.d.ts +91 -0
  454. package/typings/src/utils/camera.d.ts +27 -0
  455. package/typings/src/utils/cssClassBuilder.d.ts +6 -0
  456. package/typings/src/utils/devices.d.ts +12 -0
  457. package/typings/src/utils/dragOrClickHelper.d.ts +16 -0
  458. package/typings/src/utils/popup.d.ts +45 -0
  459. package/typings/src/utils/responsivity-manager.d.ts +31 -0
  460. package/typings/src/utils/taskmanager.d.ts +28 -0
  461. package/typings/src/utils/text-area.d.ts +58 -0
  462. package/typings/src/utils/utils.d.ts +86 -0
  463. package/typings/src/validator.d.ts +204 -0
@@ -0,0 +1,299 @@
1
+ import { QuestionMatrixDropdownModelBase, MatrixDropdownRowModelBase, IMatrixDropdownData } from "./question_matrixdropdownbase";
2
+ import { SurveyError } from "./survey-error";
3
+ import { DragDropMatrixRows } from "./dragdrop/matrix-rows";
4
+ import { IShortcutText, ISurveyImpl, IProgressInfo } from "./base-interfaces";
5
+ import { QuestionMatrixDropdownRenderedTable } from "./question_matrixdropdownrendered";
6
+ import { LocalizableString } from "./localizablestring";
7
+ export declare class MatrixDynamicRowModel extends MatrixDropdownRowModelBase implements IShortcutText {
8
+ index: number;
9
+ private dragOrClickHelper;
10
+ constructor(index: number, data: IMatrixDropdownData, value: any);
11
+ protected getRowIndex(): number;
12
+ get rowName(): string;
13
+ get dataName(): string;
14
+ get text(): any;
15
+ getAccessbilityText(): string;
16
+ get shortcutText(): string;
17
+ }
18
+ /**
19
+ * A class that describes the Dynamic Matrix question type.
20
+ *
21
+ * Dynamic Matrix allows respondents to add and delete matrix rows. You can use the [Dropdown](https://surveyjs.io/form-library/documentation/questiondropdownmodel), [Checkbox](https://surveyjs.io/form-library/documentation/questioncheckboxmodel), [Radiogroup](https://surveyjs.io/form-library/documentation/questionradiogroupmodel), [Text](https://surveyjs.io/form-library/documentation/questiontextmodel), and [Comment](https://surveyjs.io/form-library/documentation/questioncommentmodel) question types as cell editors.
22
+ *
23
+ * [View Demo](https://surveyjs.io/form-library/examples/questiontype-matrixdynamic/ (linkStyle))
24
+ */
25
+ export declare class QuestionMatrixDynamicModel extends QuestionMatrixDropdownModelBase implements IMatrixDropdownData {
26
+ onGetValueForNewRowCallBack: (sender: QuestionMatrixDynamicModel) => any;
27
+ private rowCounter;
28
+ private initialRowCount;
29
+ private setRowCountValueFromData;
30
+ constructor(name: string);
31
+ dragDropMatrixRows: DragDropMatrixRows;
32
+ setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
33
+ private draggedRow;
34
+ private isBanStartDrag;
35
+ isDragHandleAreaValid(node: HTMLElement): boolean;
36
+ onPointerDown(pointerDownEvent: PointerEvent, row: MatrixDropdownRowModelBase): void;
37
+ startDragMatrixRow: (event: PointerEvent, currentTarget: HTMLElement) => void;
38
+ getType(): string;
39
+ get isRowsDynamic(): boolean;
40
+ /**
41
+ * Specifies whether to display a confirmation dialog when a respondent wants to delete a row.
42
+ *
43
+ * Default value: `false`
44
+ * @see confirmDeleteText
45
+ */
46
+ get confirmDelete(): boolean;
47
+ set confirmDelete(val: boolean);
48
+ get isValueArray(): boolean;
49
+ /**
50
+ * Specifies a key column. Set this property to a column name, and the question will display `keyDuplicationError` if a user tries to enter a duplicate value in this column.
51
+ * @see keyDuplicationError
52
+ */
53
+ get keyName(): string;
54
+ set keyName(val: string);
55
+ /**
56
+ * If it is not empty, then this value is set to every new row, including rows created initially, unless the defaultValue is not empty
57
+ * @see defaultValue
58
+ * @see copyDefaultValueFromLastEntry
59
+ */
60
+ get defaultRowValue(): any;
61
+ set defaultRowValue(val: any);
62
+ /**
63
+ * Specifies whether default values for a new row/column should be copied from the last row/column.
64
+ *
65
+ * If you also specify `defaultValue`, it will be merged with the copied values.
66
+ * @see defaultValue
67
+ */
68
+ get copyDefaultValueFromLastEntry(): boolean;
69
+ set copyDefaultValueFromLastEntry(val: boolean);
70
+ /**
71
+ * @deprecated Use the [`copyDefaultValueFromLastEntry`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-matrix-table-question-model#copyDefaultValueFromLastEntry) property instead.
72
+ */
73
+ get defaultValueFromLastRow(): boolean;
74
+ set defaultValueFromLastRow(val: boolean);
75
+ protected isDefaultValueEmpty(): boolean;
76
+ protected valueFromData(val: any): any;
77
+ protected isNewValueCorrect(val: any): boolean;
78
+ protected setDefaultValue(): void;
79
+ moveRowByIndex(fromIndex: number, toIndex: number): void;
80
+ clearOnDrop(): void;
81
+ initDataUI(): void;
82
+ /**
83
+ * The number of rows in the matrix.
84
+ * @see minRowCount
85
+ * @see maxRowCount
86
+ */
87
+ get rowCount(): number;
88
+ set rowCount(val: number);
89
+ protected updateBindingProp(propName: string, value: any): void;
90
+ protected updateProgressInfoByValues(res: IProgressInfo): void;
91
+ private getValueForNewRow;
92
+ /**
93
+ * Specifies whether users can drag and drop matrix rows to reorder them. Applies only if [`transposeData`](#transposeData) is `false`.
94
+ *
95
+ * Default value: `false`
96
+ */
97
+ get allowRowReorder(): boolean;
98
+ set allowRowReorder(val: boolean);
99
+ /**
100
+ * @deprecated Use the [`allowRowReorder`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-matrix-table-question-model#allowRowReorder) property instead.
101
+ */
102
+ get allowRowsDragAndDrop(): boolean;
103
+ set allowRowsDragAndDrop(val: boolean);
104
+ get isRowsDragAndDrop(): boolean;
105
+ get lockedRowCount(): number;
106
+ set lockedRowCount(val: number);
107
+ get iconDragElement(): string;
108
+ protected createRenderedTable(): QuestionMatrixDropdownRenderedTable;
109
+ private get rowCountValue();
110
+ private set rowCountValue(value);
111
+ /**
112
+ * A minimum number of rows in the matrix. Users cannot delete rows if `rowCount` equals `minRowCount`.
113
+ *
114
+ * Default value: 0
115
+ * @see rowCount
116
+ * @see maxRowCount
117
+ * @see allowRemoveRows
118
+ */
119
+ get minRowCount(): number;
120
+ set minRowCount(val: number);
121
+ private onMinRowCountChanged;
122
+ /**
123
+ * A maximum number of rows in the matrix. Users cannot add new rows if `rowCount` equals `maxRowCount`.
124
+ *
125
+ * Default value: 1000 (inherited from [`settings.matrix.maxRowCount`](https://surveyjs.io/form-library/documentation/settings#matrixMaximumRowCount))
126
+ * @see rowCount
127
+ * @see minRowCount
128
+ * @see allowAddRows
129
+ */
130
+ get maxRowCount(): number;
131
+ set maxRowCount(val: number);
132
+ private onMaxRowCountChanged;
133
+ /**
134
+ * Specifies whether users are allowed to add new rows.
135
+ *
136
+ * Default value: `true`
137
+ * @see canAddRow
138
+ * @see allowRemoveRows
139
+ */
140
+ get allowAddRows(): boolean;
141
+ set allowAddRows(val: boolean);
142
+ /**
143
+ * Specifies whether users are allowed to delete rows.
144
+ *
145
+ * Default value: `true`
146
+ * @see canRemoveRows
147
+ * @see allowAddRows
148
+ */
149
+ get allowRemoveRows(): boolean;
150
+ set allowRemoveRows(val: boolean);
151
+ /**
152
+ * Indicates whether it is possible to add a new row.
153
+ *
154
+ * This property returns `true` when all of the following conditions apply:
155
+ *
156
+ * - Users are allowed to add new rows (`allowAddRows` is `true`).
157
+ * - The question, its parent panel, or survey is not in read-only state.
158
+ * - `rowCount` is less than `maxRowCount`.
159
+ * @see allowAddRows
160
+ * @see isReadOnly
161
+ * @see rowCount
162
+ * @see maxRowCount
163
+ * @see canRemoveRows
164
+ */
165
+ get canAddRow(): boolean;
166
+ canRemoveRowsCallback: (allow: boolean) => boolean;
167
+ /**
168
+ * Indicates whether it is possible to delete rows.
169
+ *
170
+ * This property returns `true` when all of the following conditions apply:
171
+ *
172
+ * - Users are allowed to delete rows (`allowRemoveRows` is `true`).
173
+ * - The question, its parent panel, or survey is not in read-only state.
174
+ * - `rowCount` exceeds `minRowCount`.
175
+ * @see allowRemoveRows
176
+ * @see isReadOnly
177
+ * @see rowCount
178
+ * @see minRowCount
179
+ * @see canAddRow
180
+ */
181
+ get canRemoveRows(): boolean;
182
+ canRemoveRow(row: MatrixDropdownRowModelBase): boolean;
183
+ addRowUI(): void;
184
+ private getQuestionToFocusOnAddingRow;
185
+ /**
186
+ * Creates and adds a new row to the matrix.
187
+ * @param setFocus *(Optional)* Pass `true` to focus the cell in the first column.
188
+ */
189
+ addRow(setFocus?: boolean): void;
190
+ /**
191
+ * Specifies whether to expand the detail section immediately when a respondent adds a new row.
192
+ * @see detailPanelMode
193
+ */
194
+ get detailPanelShowOnAdding(): boolean;
195
+ set detailPanelShowOnAdding(val: boolean);
196
+ protected hasRowsAsItems(): boolean;
197
+ unbindValue(): void;
198
+ protected isValueSurveyElement(val: any): boolean;
199
+ private addRowCore;
200
+ private getDefaultRowValue;
201
+ focusAddBUtton(): void;
202
+ getActionCellIndex(row: MatrixDropdownRowModelBase): number;
203
+ removeRowUI(value: any): void;
204
+ isRequireConfirmOnRowDelete(index: number): boolean;
205
+ /**
206
+ * Removes a matrix row with a specified index.
207
+ * @param index A zero-based row index.
208
+ * @param confirmDelete *(Optional)* A Boolean value that specifies whether to display a confirmation dialog. If you do not specify this parameter, the [`confirmDelete`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-matrix-table-question-model#confirmDelete) property value is used.
209
+ */
210
+ removeRow(index: number, confirmDelete?: boolean, onRowRemoved?: () => void): void;
211
+ private removeRowAsync;
212
+ private removeRowCore;
213
+ /**
214
+ * A message displayed in a confirmation dialog that appears when a respondent wants to delete a row.
215
+ * @see confirmDelete
216
+ */
217
+ get confirmDeleteText(): string;
218
+ set confirmDeleteText(val: string);
219
+ get locConfirmDeleteText(): LocalizableString;
220
+ /**
221
+ * A caption for the Add Row button.
222
+ * @see addRowButtonLocation
223
+ */
224
+ get addRowText(): string;
225
+ set addRowText(val: string);
226
+ get locAddRowText(): LocalizableString;
227
+ private get defaultAddRowText();
228
+ /**
229
+ * Specifies the location of the Add Row button.
230
+ *
231
+ * Possible values:
232
+ *
233
+ * - `"top"` - Displays the Add Row button at the top of the matrix.
234
+ * - `"bottom"` - Displays the Add Row button at the bottom of the matrix.
235
+ * - `"topBottom"` - Displays the Add Row button at the top and bottom of the matrix.
236
+ *
237
+ * Default value: `"top"` if [`transposeData`](#transposeData) is `true`; `"bottom"` if `transposeData` is `false` or the matrix is in compact mode.
238
+ * @see addRowText
239
+ */
240
+ get addRowButtonLocation(): string;
241
+ set addRowButtonLocation(val: string);
242
+ /**
243
+ * @deprecated Use the [`addRowButtonLocation`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-matrix-table-question-model#addRowButtonLocation) property instead.
244
+ */
245
+ get addRowLocation(): string;
246
+ set addRowLocation(val: string);
247
+ getAddRowLocation(): string;
248
+ /**
249
+ * Specifies whether to hide columns when the matrix does not contain any rows. If you enable this property, the matrix displays the `noRowsText` message and the Add Row button.
250
+ *
251
+ * Default value: `false`
252
+ * @see noRowsText
253
+ */
254
+ get hideColumnsIfEmpty(): boolean;
255
+ set hideColumnsIfEmpty(val: boolean);
256
+ getShowColumnsIfEmpty(): boolean;
257
+ /**
258
+ * Use this property to change the default value of remove row button text.
259
+ */
260
+ get removeRowText(): string;
261
+ set removeRowText(val: string);
262
+ get locRemoveRowText(): LocalizableString;
263
+ /**
264
+ * A message displayed when the matrix does not contain any rows. Applies only if `hideColumnsIfEmpty` is enabled.
265
+ * @see hideColumnsIfEmpty
266
+ */
267
+ get noRowsText(): string;
268
+ set noRowsText(val: string);
269
+ get locNoRowsText(): LocalizableString;
270
+ /**
271
+ * @deprecated Use the [`noRowsText`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-matrix-table-question-model#noRowsText) property instead.
272
+ */
273
+ get emptyRowsText(): string;
274
+ set emptyRowsText(val: string);
275
+ get locEmptyRowsText(): LocalizableString;
276
+ protected getDisplayValueCore(keysAsText: boolean, value: any): any;
277
+ protected getConditionObjectRowName(index: number): string;
278
+ protected getConditionObjectsRowIndeces(): Array<number>;
279
+ supportAutoAdvance(): boolean;
280
+ get hasRowText(): boolean;
281
+ protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
282
+ private hasErrorInMinRows;
283
+ protected getUniqueColumnsNames(): Array<string>;
284
+ protected generateRows(): Array<MatrixDynamicRowModel>;
285
+ protected createMatrixRow(value: any): MatrixDynamicRowModel;
286
+ private lastDeletedRow;
287
+ private getInsertedDeletedIndex;
288
+ private isEditingObjectValueChanged;
289
+ updateValueFromSurvey(newValue: any, clearData?: boolean): void;
290
+ protected getFilteredDataCore(): any;
291
+ protected onBeforeValueChanged(val: any): void;
292
+ protected createNewValue(): any;
293
+ protected deleteRowValue(newValue: any, row: MatrixDropdownRowModelBase): any;
294
+ private getRowValueByIndex;
295
+ protected getRowValueCore(row: MatrixDropdownRowModelBase, questionValue: any, create?: boolean): any;
296
+ getAddRowButtonCss(isEmptySection?: boolean): string;
297
+ getRemoveRowButtonCss(): string;
298
+ getRootCss(): string;
299
+ }
@@ -0,0 +1,361 @@
1
+ import { Base } from "./base";
2
+ import { ISurveyData, ISurveyImpl, ISurvey, IPanel, IElement, IQuestion, ITextProcessor, IProgressInfo } from "./base-interfaces";
3
+ import { SurveyValidator, IValidatorOwner } from "./validator";
4
+ import { Question, IConditionObject } from "./question";
5
+ import { QuestionTextModel } from "./question_text";
6
+ import { SurveyError } from "./survey-error";
7
+ import { ILocalizableOwner, LocalizableString } from "./localizablestring";
8
+ import { HashTable } from "./helpers";
9
+ import { InputMaskBase } from "./mask/mask_base";
10
+ import { PanelLayoutColumnModel } from "./panel-layout-column";
11
+ export interface IMultipleTextData extends ILocalizableOwner, IPanel {
12
+ getSurvey(): ISurvey;
13
+ getTextProcessor(): ITextProcessor;
14
+ getAllValues(): any;
15
+ getMultipleTextValue(name: string): any;
16
+ setMultipleTextValue(name: string, value: any): any;
17
+ getItemDefaultValue(name: string): any;
18
+ }
19
+ export declare class MultipleTextEditorModel extends QuestionTextModel {
20
+ get a11y_input_ariaLabel(): string;
21
+ get a11y_input_ariaLabelledBy(): string;
22
+ get a11y_input_ariaDescribedBy(): string;
23
+ }
24
+ /**
25
+ * A class that describes an [item](https://surveyjs.io/form-library/documentation/api-reference/multiple-text-entry-question-model#items) in a Multiple Textboxes question.
26
+ *
27
+ * [View Demo](https://surveyjs.io/form-library/examples/multiple-text-box-question/ (linkStyle))
28
+ */
29
+ export declare class MultipleTextItemModel extends Base implements IValidatorOwner, ISurveyData, ISurveyImpl {
30
+ private editorValue;
31
+ private data;
32
+ valueChangedCallback: (newValue: any) => void;
33
+ constructor(name?: any, title?: string);
34
+ getType(): string;
35
+ get id(): string;
36
+ getOriginalObj(): Base;
37
+ /**
38
+ * An item ID that is not visible to respondents.
39
+ *
40
+ * > Item IDs must be unique.
41
+ * @see title
42
+ */
43
+ get name(): string;
44
+ set name(val: string);
45
+ get question(): Question;
46
+ get editor(): MultipleTextEditorModel;
47
+ protected createEditor(name: string): MultipleTextEditorModel;
48
+ addUsedLocales(locales: Array<string>): void;
49
+ localeChanged(): void;
50
+ locStrsChanged(): void;
51
+ setData(data: IMultipleTextData): void;
52
+ focusIn: () => void;
53
+ /**
54
+ * Marks the item as required. If a respondent leaves this item empty, the question displays a [validation error](#requiredErrorText).
55
+ */
56
+ get isRequired(): boolean;
57
+ set isRequired(val: boolean);
58
+ /**
59
+ * A value passed on to the [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types) attribute of the underlying `<input>` element.
60
+ *
61
+ * Default value: `"text"`
62
+ */
63
+ get inputType(): string;
64
+ set inputType(val: string);
65
+ /**
66
+ * A user-friendly item label to display. If `title` is undefined, [`name`](https://surveyjs.io/form-library/documentation/api-reference/multipletextitemmodel#name) is displayed instead.
67
+ */
68
+ get title(): string;
69
+ set title(val: string);
70
+ get locTitle(): LocalizableString;
71
+ get fullTitle(): string;
72
+ /**
73
+ * The maximum text length measured in characters. Assign 0 if the length should be unlimited.
74
+ *
75
+ * Default value: -1 (inherits the actual value from the `SurveyModel`'s [`maxTextLength`](https://surveyjs.io/form-library/documentation/surveymodel#maxTextLength) property).
76
+ */
77
+ get maxLength(): number;
78
+ set maxLength(val: number);
79
+ getMaxLength(): any;
80
+ /**
81
+ * A placeholder for the input field.
82
+ */
83
+ get placeholder(): string;
84
+ set placeholder(val: string);
85
+ get locPlaceholder(): LocalizableString;
86
+ get placeHolder(): string;
87
+ set placeHolder(val: string);
88
+ get locPlaceHolder(): LocalizableString;
89
+ /**
90
+ * Specifies a custom error message for a [required item](#isRequired).
91
+ */
92
+ get requiredErrorText(): string;
93
+ set requiredErrorText(val: string);
94
+ get locRequiredErrorText(): LocalizableString;
95
+ /**
96
+ * A value passed on to the [`size`](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/size) attribute of the underlying `<input>` element.
97
+ *
98
+ * If you want to set a uniform `inputSize` for all text box items, use the [`inputSize`](https://surveyjs.io/form-library/documentation/api-reference/multiple-text-entry-question-model#inputSize) property within the Multiple Textboxes configuration.
99
+ */
100
+ get inputSize(): number;
101
+ set inputSize(val: number);
102
+ /**
103
+ * @deprecated Use the [`inputSize`](https://surveyjs.io/form-library/documentation/api-reference/multipletextitemmodel#inputSize) property instead.
104
+ */
105
+ get size(): number;
106
+ set size(val: number);
107
+ /**
108
+ * An [expression](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#expressions) used to calculate the default item value.
109
+ * @see minValueExpression
110
+ * @see maxValueExpression
111
+ */
112
+ get defaultValueExpression(): string;
113
+ set defaultValueExpression(val: string);
114
+ /**
115
+ * An [expression](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#expressions) used to calculate the minimum item value.
116
+ * @see maxValueExpression
117
+ * @see defaultValueExpression
118
+ */
119
+ get minValueExpression(): string;
120
+ set minValueExpression(val: string);
121
+ /**
122
+ * An [expression](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#expressions) used to calculate the maximum item value.
123
+ * @see minValueExpression
124
+ * @see defaultValueExpression
125
+ */
126
+ get maxValueExpression(): string;
127
+ set maxValueExpression(val: string);
128
+ /**
129
+ * Item validators.
130
+ *
131
+ * [Data Validation](https://surveyjs.io/form-library/documentation/data-validation (linkStyle))
132
+ */
133
+ get validators(): Array<SurveyValidator>;
134
+ set validators(val: Array<SurveyValidator>);
135
+ getValidators(): Array<SurveyValidator>;
136
+ /**
137
+ * Specifies the type of a mask applied to the input.
138
+ *
139
+ * Possible values:
140
+ *
141
+ * - `"none"` (default)
142
+ * - `"numeric"`
143
+ * - `"currency"`
144
+ * - `"datetime"`
145
+ * - `"pattern"`
146
+ *
147
+ * [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
148
+ * @see maskSettings
149
+ */
150
+ get maskType(): string;
151
+ set maskType(val: string);
152
+ /**
153
+ * An object with properties that configure the mask applied to the input.
154
+ *
155
+ * Available properties depend on the specified [`maskType`](#maskType) and belong to corresponding classes. Refer to the class APIs for a full list of properties:
156
+ *
157
+ * | `maskType` | Class |
158
+ * | ---------- | ----- |
159
+ * | `"numeric"` | [`InputMaskNumeric`](https://surveyjs.io/form-library/documentation/api-reference/inputmasknumeric) |
160
+ * | `"currency"` | [`InputMaskCurrency`](https://surveyjs.io/form-library/documentation/api-reference/inputmaskcurrency) |
161
+ * | `"datetime"` | [`InputMaskDateTime`](https://surveyjs.io/form-library/documentation/api-reference/inputmaskdatetime) |
162
+ * | `"pattern"` | [`InputMaskPattern`](https://surveyjs.io/form-library/documentation/api-reference/inputmaskpattern) |
163
+ *
164
+ * [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
165
+ */
166
+ get maskSettings(): InputMaskBase;
167
+ set maskSettings(val: InputMaskBase);
168
+ /**
169
+ * Specifies text alignment within the input field.
170
+ *
171
+ * Possible values:
172
+ *
173
+ * - `"left"` - Aligns input text to the left side.
174
+ * - `"right"` - Aligns input text to the right side.
175
+ * - `"auto"` (default) - Applies right alignment if a [numeric or currency input mask](https://surveyjs.io/form-library/documentation/api-reference/multipletextitemmodel#maskType) is specified. Otherwise, applies left alignment.
176
+ */
177
+ get inputTextAlignment(): "left" | "right" | "auto";
178
+ set inputTextAlignment(val: "left" | "right" | "auto");
179
+ /**
180
+ * An item value.
181
+ */
182
+ get value(): any;
183
+ set value(value: any);
184
+ isEmpty(): boolean;
185
+ onValueChanged(newValue: any): void;
186
+ getSurveyData(): ISurveyData;
187
+ getSurvey(): ISurvey;
188
+ getTextProcessor(): ITextProcessor;
189
+ getValue(name: string): any;
190
+ setValue(name: string, value: any): void;
191
+ getVariable(name: string): any;
192
+ setVariable(name: string, newValue: any): void;
193
+ getComment(name: string): string;
194
+ setComment(name: string, newValue: string): void;
195
+ getAllValues(): any;
196
+ getFilteredValues(): any;
197
+ getFilteredProperties(): any;
198
+ findQuestionByName(name: string): IQuestion;
199
+ getEditingSurveyElement(): Base;
200
+ getValidatorTitle(): string;
201
+ get validatedValue(): any;
202
+ set validatedValue(val: any);
203
+ getDataFilteredValues(): any;
204
+ getDataFilteredProperties(): any;
205
+ }
206
+ /**
207
+ * A class that describes the Multiple Text question type.
208
+ *
209
+ * [View Demo](https://surveyjs.io/form-library/examples/questiontype-multipletext/ (linkStyle))
210
+ */
211
+ export declare class QuestionMultipleTextModel extends Question implements IMultipleTextData, IPanel {
212
+ static addDefaultItems(question: QuestionMultipleTextModel): void;
213
+ constructor(name: string);
214
+ getType(): string;
215
+ setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
216
+ get isAllowTitleLeft(): boolean;
217
+ get hasSingleInput(): boolean;
218
+ get isContainer(): boolean;
219
+ get id(): string;
220
+ set id(val: string);
221
+ onSurveyLoad(): void;
222
+ setQuestionValue(newValue: any, updateIsAnswered?: boolean): void;
223
+ onSurveyValueChanged(newValue: any): void;
224
+ private resetItemsSize;
225
+ private editorsOnSurveyLoad;
226
+ private performForEveryEditor;
227
+ /**
228
+ * Gets or sets an array of [`MultipleTextItemModel`](https://surveyjs.io/form-library/documentation/api-reference/multipletextitemmodel) objects that represent input items.
229
+ *
230
+ * Each object in this array should have at least the following properties:
231
+ *
232
+ * ```js
233
+ * {
234
+ * "name": any, // A unique value used to identify an input item and save an item value to survey results.
235
+ * "title": String // An item caption. When `title` is undefined, `name` is used. This property supports Markdown.
236
+ * }
237
+ * ```
238
+ *
239
+ * To enable Markdown support for the `title` property, implement Markdown-to-HTML conversion in the [`onTextMarkdown`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onTextMarkdown) event handler. For an example, refer to the following demo: [Convert Markdown to HTML with markdown-it](https://surveyjs.io/form-library/examples/edit-survey-questions-markdown/).
240
+ * @see itemTitleWidth
241
+ * @see addItem
242
+ */
243
+ get items(): Array<MultipleTextItemModel>;
244
+ set items(val: Array<MultipleTextItemModel>);
245
+ /**
246
+ * Adds a new input item.
247
+ * @param name An item name.
248
+ * @param title *(Optional)* An item title.
249
+ * @see items
250
+ */
251
+ addItem(name: string, title?: string): MultipleTextItemModel;
252
+ getItemByName(name: string): MultipleTextItemModel;
253
+ getElementsInDesign(includeHidden?: boolean): Array<IElement>;
254
+ addConditionObjectsByContext(objects: Array<IConditionObject>, context: any): void;
255
+ protected collectNestedQuestionsCore(questions: Question[], visibleOnly: boolean): void;
256
+ getConditionJson(operator?: string, path?: string): any;
257
+ locStrsChanged(): void;
258
+ localeChanged(): void;
259
+ /**
260
+ * Specifies the error message position relative to individual input fields.
261
+ *
262
+ * Possible values:
263
+ *
264
+ * - `"default"` (default) - Inherits the setting from the [`errorLocation`](#errorLocation) property.
265
+ * - `"top"` - Displays error messages above input fields.
266
+ * - `"bottom"` - Displays error messages below input fields.
267
+ */
268
+ get itemErrorLocation(): string;
269
+ set itemErrorLocation(val: string);
270
+ getQuestionErrorLocation(): string;
271
+ get showItemErrorOnTop(): boolean;
272
+ get showItemErrorOnBottom(): boolean;
273
+ getChildErrorLocation(child: Question): string;
274
+ protected isNewValueCorrect(val: any): boolean;
275
+ supportAutoAdvance(): boolean;
276
+ /**
277
+ * The number of columns used to arrange input items. Accepts the following values: 1, 2, 3, 4, 5.
278
+ *
279
+ * Default value: 1
280
+ */
281
+ get colCount(): number;
282
+ set colCount(val: number);
283
+ /**
284
+ * A value passed on to the [`inputSize`](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/size) attribute of the underlying `<input>` elements.
285
+ */
286
+ get inputSize(): number;
287
+ set inputSize(val: number);
288
+ /**
289
+ * @deprecated Use the [`inputSize`](https://surveyjs.io/form-library/documentation/api-reference/multiple-text-entry-question-model#inputSize) property instead.
290
+ */
291
+ get itemSize(): number;
292
+ set itemSize(val: number);
293
+ /**
294
+ * Specifies a uniform width for all text box titles. Accepts CSS values.
295
+ *
296
+ * Default value: `""` (the width of each title depends on the title length)
297
+ * @see items
298
+ * @see itemErrorLocation
299
+ */
300
+ get itemTitleWidth(): string;
301
+ set itemTitleWidth(val: string);
302
+ rows: Array<MutlipleTextRow>;
303
+ protected onRowCreated(row: MutlipleTextRow): MutlipleTextRow;
304
+ private calcVisibleRows;
305
+ getRows(): Array<any>;
306
+ private isMultipleItemValueChanging;
307
+ protected onValueChanged(): void;
308
+ protected createTextItem(name: string, title: string): MultipleTextItemModel;
309
+ protected onItemValueChanged(): void;
310
+ protected runConditionCore(values: HashTable<any>, properties: HashTable<any>): void;
311
+ protected getIsRunningValidators(): boolean;
312
+ hasErrors(fireCallback?: boolean, rec?: any): boolean;
313
+ getAllErrors(): Array<SurveyError>;
314
+ clearErrors(): void;
315
+ protected getContainsErrors(): boolean;
316
+ protected getIsAnswered(): boolean;
317
+ getProgressInfo(): IProgressInfo;
318
+ protected getDisplayValueCore(keysAsText: boolean, value: any): any;
319
+ protected allowMobileInDesignMode(): boolean;
320
+ getMultipleTextValue(name: string): any;
321
+ setMultipleTextValue(name: string, value: any): void;
322
+ getItemDefaultValue(name: string): any;
323
+ getTextProcessor(): ITextProcessor;
324
+ getAllValues(): any;
325
+ addElement(element: IElement, index: number): void;
326
+ removeElement(element: IElement): boolean;
327
+ getQuestionTitleLocation(): string;
328
+ getQuestionTitleWidth(): string;
329
+ getColumsForElement(el: IElement): Array<PanelLayoutColumnModel>;
330
+ updateColumns(): void;
331
+ getQuestionStartIndex(): string;
332
+ getChildrenLayoutType(): string;
333
+ elementWidthChanged(el: IElement): void;
334
+ get elements(): Array<IElement>;
335
+ indexOf(el: IElement): number;
336
+ ensureRowsVisibility(): void;
337
+ validateContainerOnly(): void;
338
+ onQuestionValueChanged(el: IElement): void;
339
+ getItemLabelCss(item: MultipleTextItemModel): string;
340
+ getItemCss(): string;
341
+ getItemTitleCss(): string;
342
+ }
343
+ export declare class MutlipleTextRow extends Base {
344
+ isVisible: boolean;
345
+ cells: Array<MultipleTextCell>;
346
+ }
347
+ export declare class MutlipleTextErrorRow extends MutlipleTextRow {
348
+ onAfterCreated(): void;
349
+ }
350
+ export declare class MultipleTextCell {
351
+ item: MultipleTextItemModel;
352
+ protected question: QuestionMultipleTextModel;
353
+ constructor(item: MultipleTextItemModel, question: QuestionMultipleTextModel);
354
+ isErrorsCell: boolean;
355
+ protected getClassName(): string;
356
+ get className(): string;
357
+ }
358
+ export declare class MultipleTextErrorCell extends MultipleTextCell {
359
+ isErrorsCell: boolean;
360
+ protected getClassName(): string;
361
+ }