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,116 @@
1
+ import { Question } from "./question";
2
+ import { LocalizableString } from "./localizablestring";
3
+ import { ActionContainer } from "./actions/container";
4
+ /**
5
+ * A class that describes the Yes/No (Boolean) question type.
6
+ *
7
+ * [View Demo](https://surveyjs.io/form-library/examples/questiontype-boolean/ (linkStyle))
8
+ */
9
+ export declare class QuestionBooleanModel extends Question {
10
+ constructor(name: string);
11
+ getType(): string;
12
+ isLayoutTypeSupported(layoutType: string): boolean;
13
+ supportAutoAdvance(): boolean;
14
+ get isIndeterminate(): boolean;
15
+ get hasTitle(): boolean;
16
+ /**
17
+ * Gets or sets the question value as a Boolean value.
18
+ *
19
+ * If you set the `valueTrue` and `valueFalse` properties, the `value` property contains their values instead of Boolean values. This may be inconvenient when you operate the question value in code. To access the standard Boolean values, use the `booleanValue` property.
20
+ * @see valueTrue
21
+ * @see valueFalse
22
+ */
23
+ get booleanValue(): any;
24
+ set booleanValue(val: any);
25
+ booleanValueRendered: boolean;
26
+ get checkedValue(): any;
27
+ set checkedValue(val: any);
28
+ private setBooleanValue;
29
+ get defaultValue(): any;
30
+ set defaultValue(val: any);
31
+ getDefaultValue(): any;
32
+ get locTitle(): LocalizableString;
33
+ get labelRenderedAriaID(): string;
34
+ beforeDestroyQuestionElement(el: HTMLElement): void;
35
+ showTitle: boolean;
36
+ /**
37
+ * @deprecated Use the [`title`](https://surveyjs.io/form-library/documentation/api-reference/boolean-question-model#title) property instead.
38
+ */
39
+ label: string;
40
+ useTitleAsLabel: boolean;
41
+ get isLabelRendered(): boolean;
42
+ get canRenderLabelDescription(): boolean;
43
+ /**
44
+ * Gets or sets a text label that corresponds to a positive answer.
45
+ *
46
+ * Default value: "Yes"
47
+ * @see valueTrue
48
+ * @see valueFalse
49
+ */
50
+ get labelTrue(): string;
51
+ set labelTrue(val: string);
52
+ get locLabelTrue(): LocalizableString;
53
+ get isDeterminated(): boolean;
54
+ /**
55
+ * Specifies whether to swap the order of the Yes and No answers.
56
+ *
57
+ * Default value: `false`
58
+ *
59
+ * By default, the order is [ "No", "Yes"]. Enable this property to reorder the answers as follows: [ "Yes", "No" ].
60
+ */
61
+ swapOrder: boolean;
62
+ get locLabelLeft(): LocalizableString;
63
+ get locLabelRight(): LocalizableString;
64
+ /**
65
+ * Gets or sets a text label that corresponds to a negative answer.
66
+ *
67
+ * Default value: "No"
68
+ * @see valueTrue
69
+ * @see valueFalse
70
+ */
71
+ get labelFalse(): string;
72
+ set labelFalse(val: string);
73
+ get locLabelFalse(): LocalizableString;
74
+ /**
75
+ * A value to save in survey results when respondents give a positive answer.
76
+ *
77
+ * Default value: `true`
78
+ * @see labelTrue
79
+ * @see labelFalse
80
+ */
81
+ valueTrue: any;
82
+ /**
83
+ * A value to save in survey results when respondents give a negative answer.
84
+ *
85
+ * Default value: `false`
86
+ * @see labelTrue
87
+ * @see labelFalse
88
+ */
89
+ valueFalse: any;
90
+ getValueTrue(): any;
91
+ getValueFalse(): any;
92
+ protected setDefaultValue(): void;
93
+ private isDefaultValueSet;
94
+ protected getDisplayValueCore(keysAsText: boolean, value: any): any;
95
+ private getItemCssValue;
96
+ getItemCss(): string;
97
+ getCheckboxItemCss(): string;
98
+ getLabelCss(checked: boolean): string;
99
+ updateValueFromSurvey(newValue: any, clearData?: boolean): void;
100
+ protected onValueChanged(): void;
101
+ get svgIcon(): string;
102
+ get itemSvgIcon(): string;
103
+ get allowClick(): boolean;
104
+ getCheckedLabel(): LocalizableString;
105
+ protected setQuestionValue(newValue: any, updateIsAnswered?: boolean): void;
106
+ onLabelClick(event: any, value: boolean): boolean;
107
+ private calculateBooleanValueByEvent;
108
+ onSwitchClickModel(event: any): boolean;
109
+ onKeyDownCore(event: any): boolean;
110
+ getRadioItemClass(css: any, value: any): string;
111
+ protected supportResponsiveness(): boolean;
112
+ protected getCompactRenderAs(): string;
113
+ protected createActionContainer(allowAdaptiveActions?: boolean): ActionContainer;
114
+ get isNewA11yStructure(): boolean;
115
+ get a11y_input_ariaRole(): string;
116
+ }
@@ -0,0 +1,51 @@
1
+ import { ItemValue } from "./itemvalue";
2
+ import { QuestionCheckboxBase } from "./question_baseselect";
3
+ import { LocalizableString } from "./localizablestring";
4
+ export declare class ButtonGroupItemValue extends ItemValue {
5
+ protected typeName: string;
6
+ constructor(value: any, text?: string, typeName?: string);
7
+ iconName: string;
8
+ iconSize: number;
9
+ /**
10
+ * By default item caption is visible.
11
+ * Set it 'false' to hide item caption.
12
+ */
13
+ showCaption: boolean;
14
+ getType(): string;
15
+ }
16
+ /**
17
+ * A Model for a button group question.
18
+ */
19
+ export declare class QuestionButtonGroupModel extends QuestionCheckboxBase {
20
+ constructor(name: string);
21
+ getType(): string;
22
+ protected getItemValueType(): string;
23
+ supportOther(): boolean;
24
+ }
25
+ export declare class ButtonGroupItemModel {
26
+ question: QuestionButtonGroupModel;
27
+ item: ItemValue;
28
+ index: number;
29
+ constructor(question: QuestionButtonGroupModel, item: ItemValue, index: number);
30
+ get value(): any;
31
+ get iconName(): string;
32
+ get iconSize(): string | number;
33
+ get caption(): LocalizableString;
34
+ get showCaption(): any;
35
+ get isRequired(): boolean;
36
+ get selected(): boolean;
37
+ get readOnly(): boolean;
38
+ get name(): string;
39
+ get id(): string;
40
+ get hasErrors(): boolean;
41
+ get describedBy(): string;
42
+ private get labelClass();
43
+ get css(): {
44
+ label: string;
45
+ icon: any;
46
+ control: any;
47
+ caption: any;
48
+ decorator: any;
49
+ };
50
+ onChange(): void;
51
+ }
@@ -0,0 +1,158 @@
1
+ import { QuestionCheckboxBase } from "./question_baseselect";
2
+ import { ItemValue } from "./itemvalue";
3
+ import { LocalizableString } from "./localizablestring";
4
+ import { IQuestion } from "./base-interfaces";
5
+ import { SurveyError } from "./survey-error";
6
+ /**
7
+ * A class that describes the Checkboxes question type.
8
+ *
9
+ * [View Demo](https://surveyjs.io/form-library/examples/questiontype-checkbox/ (linkStyle))
10
+ */
11
+ export declare class QuestionCheckboxModel extends QuestionCheckboxBase {
12
+ private selectAllItemValue;
13
+ protected selectAllItemText: LocalizableString;
14
+ private invisibleOldValues;
15
+ protected defaultSelectedItemValues: Array<ItemValue>;
16
+ constructor(name: string);
17
+ protected getDefaultItemComponent(): string;
18
+ getType(): string;
19
+ protected onCreating(): void;
20
+ protected getFirstInputElementId(): string;
21
+ /**
22
+ * Specifies a property name used to store selected values.
23
+ *
24
+ * Set this property if you want to store selected values in an array of objects instead of an array of primitive values. For example, if you set `valuePropertyName` to `"car"`, the `value` property will contain an array of objects `[{ car: "Ford" }, { car: "Tesla" }]`, not an array of string values `[ "Ford", "Tesla" ]`.
25
+ */
26
+ get valuePropertyName(): string;
27
+ set valuePropertyName(val: string);
28
+ getQuestionFromArray(name: string, index: number): IQuestion;
29
+ /**
30
+ * Returns the "Select All" choice item. Use this property to change the item's `value` or `text`.
31
+ * @see showSelectAllItem
32
+ */
33
+ get selectAllItem(): ItemValue;
34
+ /**
35
+ * Gets or sets a caption for the "Select All" choice item.
36
+ * @see showSelectAllItem
37
+ */
38
+ get selectAllText(): string;
39
+ set selectAllText(val: string);
40
+ get locSelectAllText(): LocalizableString;
41
+ /**
42
+ * Enable this property to display a "Select All" item. When users select it, all other choice items, except "Other" and "None", also become selected.
43
+ * @see selectAll
44
+ * @see isAllSelected
45
+ * @see separateSpecialChoices
46
+ */
47
+ get showSelectAllItem(): boolean;
48
+ set showSelectAllItem(val: boolean);
49
+ get hasSelectAll(): boolean;
50
+ set hasSelectAll(val: boolean);
51
+ /**
52
+ * Returns `true` if all choice items, except "Other" and "None", are selected.
53
+ * @see showSelectAllItem
54
+ */
55
+ get isAllSelected(): boolean;
56
+ set isAllSelected(val: boolean);
57
+ toggleSelectAll(): void;
58
+ protected allElementsSelected(): boolean;
59
+ /**
60
+ * Selects all choice items, except "Other" and "None".
61
+ *
62
+ * To clear selection, call the `clearValue()` method.
63
+ * @see clearValue
64
+ */
65
+ selectAll(): void;
66
+ clickItemHandler(item: ItemValue, checked?: boolean): void;
67
+ protected isItemSelectedCore(item: ItemValue): boolean;
68
+ protected hasUnknownValueItem(val: any, includeOther?: boolean, isFilteredChoices?: boolean, checkEmptyValue?: boolean): boolean;
69
+ protected convertFuncValuetoQuestionValue(val: any): any;
70
+ private getRealValue;
71
+ get isValueArray(): boolean;
72
+ /**
73
+ * Specifies the maximum number of selected choices.
74
+ *
75
+ * Default value: 0 (unlimited)
76
+ *
77
+ * > This property only limits the number of choice items that can be selected by users. You can select any number of choice items in code, regardless of the `maxSelectedChoices` value.
78
+ * @see minSelectedChoices
79
+ */
80
+ get maxSelectedChoices(): number;
81
+ set maxSelectedChoices(val: number);
82
+ /**
83
+ * Specifies the minimum number of selected choices.
84
+ *
85
+ * Default value: 0 (unlimited)
86
+ *
87
+ * > This property only limits the number of choice items that can be selected by users. You can select any number of choice items in code, regardless of the `minSelectedChoices` value.
88
+ * @see maxSelectedChoices
89
+ */
90
+ get minSelectedChoices(): number;
91
+ set minSelectedChoices(val: number);
92
+ /**
93
+ * An array of selected choice items. Includes the "Other" and "None" choice items if they are selected, but not "Select All". Items are sorted in the order they were selected.
94
+ * @see visibleChoices
95
+ * @see enabledChoices
96
+ */
97
+ get selectedChoices(): Array<ItemValue>;
98
+ get selectedItems(): Array<ItemValue>;
99
+ get hasFilteredValue(): boolean;
100
+ getFilteredName(): any;
101
+ getFilteredValue(): any;
102
+ protected getMultipleSelectedItems(): Array<ItemValue>;
103
+ protected validateItemValues(itemValues: Array<ItemValue>): Array<ItemValue>;
104
+ protected getAnswerCorrectIgnoreOrder(): boolean;
105
+ protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
106
+ protected onVisibleChoicesChanged(): void;
107
+ protected onEnableItemCallBack(item: ItemValue): boolean;
108
+ protected onAfterRunItemsEnableCondition(): void;
109
+ private updateSelectAllItemProps;
110
+ private getSelectAllEnabled;
111
+ private getVisibleEnableItems;
112
+ private shouldCheckMaxSelectedChoices;
113
+ private checkMinSelectedChoicesUnreached;
114
+ protected getItemClassCore(item: any, options: any): string;
115
+ updateValueFromSurvey(newValue: any, clearData: boolean): void;
116
+ protected setDefaultValue(): void;
117
+ private addIntoInvisibleOldValues;
118
+ protected hasValueToClearIncorrectValues(): boolean;
119
+ protected setNewValue(newValue: any): void;
120
+ protected getIsMultipleValue(): boolean;
121
+ protected getCommentFromValue(newValue: any): string;
122
+ getStoreOthersAsComment(): boolean;
123
+ protected setOtherValueIntoValue(newValue: any): any;
124
+ private getFirstUnknownIndex;
125
+ protected removeNoneItemsValues(value: Array<any>, newValue: Array<any>): void;
126
+ private noneIndexInArray;
127
+ protected canUseFilteredChoices(): boolean;
128
+ protected supportSelectAll(): boolean;
129
+ protected addNonChoicesItems(dict: Array<{
130
+ index: number;
131
+ item: ItemValue;
132
+ }>, isAddAll: boolean): void;
133
+ protected isBuiltInChoice(item: ItemValue): boolean;
134
+ isItemInList(item: ItemValue): boolean;
135
+ protected getDisplayValueEmpty(): string;
136
+ protected getDisplayValueCore(keysAsText: boolean, value: any): any;
137
+ protected clearIncorrectValuesCore(): void;
138
+ protected clearDisabledValuesCore(): void;
139
+ private isChangingValueOnClearIncorrect;
140
+ private clearIncorrectAndDisabledValues;
141
+ private restoreValuesFromInvisible;
142
+ getConditionJson(operator?: string, path?: string): any;
143
+ isAnswerCorrect(): boolean;
144
+ protected setDefaultValueWithOthers(): void;
145
+ protected getIsItemValue(val: any, item: ItemValue): boolean;
146
+ protected valueFromData(val: any): any;
147
+ protected rendredValueFromData(val: any): any;
148
+ protected rendredValueToData(val: any): any;
149
+ protected convertValueFromObject(val: any): any;
150
+ protected convertValueToObject(val: any): any;
151
+ protected renderedValueFromDataCore(val: any): any;
152
+ protected rendredValueToDataCore(val: any): any;
153
+ protected selectOtherValueFromComment(val: boolean): void;
154
+ get checkBoxSvgPath(): string;
155
+ get isNewA11yStructure(): boolean;
156
+ get a11y_input_ariaRole(): string;
157
+ get a11y_input_ariaRequired(): "true" | "false";
158
+ }
@@ -0,0 +1,59 @@
1
+ import { QuestionTextBase } from "./question_textbase";
2
+ import { TextAreaModel } from "./utils/text-area";
3
+ /**
4
+ * A class that describes the Long Text question type.
5
+ *
6
+ * [View Demo](https://surveyjs.io/form-library/examples/questiontype-comment/ (linkStyle))
7
+ */
8
+ export declare class QuestionCommentModel extends QuestionTextBase {
9
+ private element;
10
+ private textAreaModelValue;
11
+ constructor(name: string);
12
+ get textAreaModel(): TextAreaModel;
13
+ private getTextAreaOptions;
14
+ /**
15
+ * Specifies the visible height of the comment area, measured in lines.
16
+ *
17
+ * The value of this property is passed on to the `rows` attribute of the underlying `<textarea>` element.
18
+ */
19
+ get rows(): number;
20
+ set rows(val: number);
21
+ get cols(): number;
22
+ set cols(val: number);
23
+ /**
24
+ * Specifies whether the question allows line breaks.
25
+ *
26
+ * When this property is enabled, a user can press Enter to insert line breaks. They are saved as `\n` in survey results. The Comment question also recognizes and interprets the `\n` sequence as a line break when you set the question `value` in code.
27
+ */
28
+ get acceptCarriageReturn(): boolean;
29
+ set acceptCarriageReturn(val: boolean);
30
+ /**
31
+ * Specifies whether the comment area automatically increases its height to accomodate multi-line content.
32
+ *
33
+ * Default value: `false` (inherited from `SurveyModel`'s [`autoGrowComment`](https://surveyjs.io/form-library/documentation/surveymodel#autoGrowComment) property)
34
+ * @see allowResize
35
+ */
36
+ get autoGrow(): boolean | undefined;
37
+ set autoGrow(val: boolean | undefined);
38
+ get renderedAutoGrow(): boolean;
39
+ /**
40
+ * Specifies whether to display a resize handle for the comment area.
41
+ *
42
+ * Default value: `true` (inherited from `SurveyModel`'s [`allowResizeComment`](https://surveyjs.io/form-library/documentation/surveymodel#allowResizeComment) property)
43
+ * @see autoGrow
44
+ */
45
+ get allowResize(): boolean | undefined;
46
+ set allowResize(val: boolean | undefined);
47
+ get renderedAllowResize(): boolean;
48
+ get resizeStyle(): "none" | "both";
49
+ getType(): string;
50
+ afterRenderQuestionElement(el: HTMLElement): void;
51
+ beforeDestroyQuestionElement(el: HTMLElement): void;
52
+ onInput(event: any): void;
53
+ protected onBlurCore(event: any): void;
54
+ onKeyDown(event: any): void;
55
+ protected setNewValue(newValue: string): any;
56
+ protected getValueSeparator(): string;
57
+ protected notifyStateChanged(prevState: string): void;
58
+ get className(): string;
59
+ }