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,109 @@
1
+ export declare var englishStrings: {
2
+ pagePrevText: string;
3
+ pageNextText: string;
4
+ completeText: string;
5
+ previewText: string;
6
+ editText: string;
7
+ startSurveyText: string;
8
+ otherItemText: string;
9
+ noneItemText: string;
10
+ refuseItemText: string;
11
+ dontKnowItemText: string;
12
+ selectAllItemText: string;
13
+ deselectAllItemText: string;
14
+ progressText: string;
15
+ indexText: string;
16
+ panelDynamicProgressText: string;
17
+ panelDynamicTabTextFormat: string;
18
+ questionsProgressText: string;
19
+ emptySurvey: string;
20
+ completingSurvey: string;
21
+ completingSurveyBefore: string;
22
+ loadingSurvey: string;
23
+ placeholder: string;
24
+ ratingOptionsCaption: string;
25
+ value: string;
26
+ requiredError: string;
27
+ requiredErrorInPanel: string;
28
+ requiredInAllRowsError: string;
29
+ eachRowUniqueError: string;
30
+ numericError: string;
31
+ minError: string;
32
+ maxError: string;
33
+ textNoDigitsAllow: string;
34
+ textMinLength: string;
35
+ textMaxLength: string;
36
+ textMinMaxLength: string;
37
+ minRowCountError: string;
38
+ minSelectError: string;
39
+ maxSelectError: string;
40
+ numericMinMax: string;
41
+ numericMin: string;
42
+ numericMax: string;
43
+ invalidEmail: string;
44
+ invalidExpression: string;
45
+ urlRequestError: string;
46
+ urlGetChoicesError: string;
47
+ exceedMaxSize: string;
48
+ noUploadFilesHandler: string;
49
+ otherRequiredError: string;
50
+ uploadingFile: string;
51
+ loadingFile: string;
52
+ chooseFile: string;
53
+ noFileChosen: string;
54
+ filePlaceholder: string;
55
+ confirmDelete: string;
56
+ keyDuplicationError: string;
57
+ addColumn: string;
58
+ addRow: string;
59
+ removeRow: string;
60
+ noRowsText: string;
61
+ addPanel: string;
62
+ removePanel: string;
63
+ showDetails: string;
64
+ hideDetails: string;
65
+ choices_Item: string;
66
+ matrix_column: string;
67
+ matrix_row: string;
68
+ multipletext_itemname: string;
69
+ savingData: string;
70
+ savingDataError: string;
71
+ savingDataSuccess: string;
72
+ savingExceedSize: string;
73
+ saveAgainButton: string;
74
+ timerMin: string;
75
+ timerSec: string;
76
+ timerSpentAll: string;
77
+ timerSpentPage: string;
78
+ timerSpentSurvey: string;
79
+ timerLimitAll: string;
80
+ timerLimitPage: string;
81
+ timerLimitSurvey: string;
82
+ clearCaption: string;
83
+ signaturePlaceHolder: string;
84
+ signaturePlaceHolderReadOnly: string;
85
+ chooseFileCaption: string;
86
+ takePhotoCaption: string;
87
+ photoPlaceholder: string;
88
+ fileOrPhotoPlaceholder: string;
89
+ replaceFileCaption: string;
90
+ removeFileCaption: string;
91
+ booleanCheckedLabel: string;
92
+ booleanUncheckedLabel: string;
93
+ confirmRemoveFile: string;
94
+ confirmRemoveAllFiles: string;
95
+ questionTitlePatternText: string;
96
+ modalCancelButtonText: string;
97
+ modalApplyButtonText: string;
98
+ filterStringPlaceholder: string;
99
+ emptyMessage: string;
100
+ noEntriesText: string;
101
+ noEntriesReadonlyText: string;
102
+ tabTitlePlaceholder: string;
103
+ more: string;
104
+ tagboxDoneButtonCaption: string;
105
+ selectToRankEmptyRankedAreaText: string;
106
+ selectToRankEmptyUnrankedAreaText: string;
107
+ ok: string;
108
+ cancel: string;
109
+ };
@@ -0,0 +1,133 @@
1
+ import { HashTable } from "./helpers";
2
+ import { ItemValue } from "./itemvalue";
3
+ import { Question } from "./question";
4
+ import { ConditionRunner } from "./conditions";
5
+ /**
6
+ * A base class for all matrix question types.
7
+ */
8
+ export declare class QuestionMatrixBaseModel<TRow, TColumn> extends Question {
9
+ protected filteredRows: Array<ItemValue>;
10
+ protected generatedVisibleRows: Array<TRow>;
11
+ protected generatedTotalRow: TRow;
12
+ visibleRowsChangedCallback: () => void;
13
+ protected createColumnValues(): any;
14
+ constructor(name: string);
15
+ getType(): string;
16
+ endLoadingFromJson(): void;
17
+ get isCompositeQuestion(): boolean;
18
+ /**
19
+ * Specifies whether to display the table header that contains column captions.
20
+ *
21
+ * Default value: `true`
22
+ */
23
+ get showHeader(): boolean;
24
+ set showHeader(val: boolean);
25
+ /**
26
+ * An array of matrix columns.
27
+ *
28
+ * For a Single-Select Matrix, the `columns` array can contain configuration objects with the `text` (display value) and `value` (value to be saved in survey results) properties. Alternatively, the array can contain primitive values that will be used as both the display values and values to be saved in survey results.
29
+ *
30
+ * [View "Single-Select Matrix" Demo](https://surveyjs.io/form-library/examples/single-selection-matrix-table-question/ (linkStyle))
31
+ *
32
+ * For a Multi-Select Matrix or Dynamic Matrix, the `columns` array should contain configuration objects with properties described in the [`MatrixDropdownColumn`](https://surveyjs.io/form-library/documentation/api-reference/multi-select-matrix-column-values) API Reference section.
33
+ *
34
+ * [View "Multi-Select Matrix" Demo](https://surveyjs.io/form-library/examples/questiontype-matrixdropdown/ (linkStyle))
35
+ */
36
+ get columns(): Array<any>;
37
+ set columns(newValue: Array<any>);
38
+ get visibleColumns(): Array<any>;
39
+ protected isColumnVisible(column: any): boolean;
40
+ /**
41
+ * An array of matrix rows.
42
+ *
43
+ * This array can contain primitive values or objects with the `text` (display value) and `value` (value to be saved in survey results) properties.
44
+ *
45
+ * [View Demo](https://surveyjs.io/form-library/examples/single-selection-matrix-table-question/ (linkStyle))
46
+ */
47
+ get rows(): Array<any>;
48
+ set rows(newValue: Array<any>);
49
+ protected processRowsOnSet(newRows: Array<any>): any[];
50
+ protected getVisibleRows(): Array<TRow>;
51
+ /**
52
+ * Returns an array of visible matrix rows.
53
+ * @see rowsVisibleIf
54
+ */
55
+ get visibleRows(): Array<TRow>;
56
+ /**
57
+ * A Boolean expression that is evaluated against each matrix row. If the expression evaluates to `false`, the row becomes hidden.
58
+ *
59
+ * A survey parses and runs all expressions on startup. If any values used in the expression change, the survey re-evaluates it.
60
+ *
61
+ * Use the `{item}` placeholder to reference the current row in the expression.
62
+ *
63
+ * Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
64
+ * @see visibleRows
65
+ * @see columnsVisibleIf
66
+ */
67
+ get rowsVisibleIf(): string;
68
+ set rowsVisibleIf(val: string);
69
+ /**
70
+ * A Boolean expression that is evaluated against each matrix column. If the expression evaluates to `false`, the column becomes hidden.
71
+ *
72
+ * A survey parses and runs all expressions on startup. If any values used in the expression change, the survey re-evaluates it.
73
+ *
74
+ * Use the `{item}` placeholder to reference the current column in the expression.
75
+ *
76
+ * Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
77
+ * @see rowsVisibleIf
78
+ */
79
+ get columnsVisibleIf(): string;
80
+ set columnsVisibleIf(val: string);
81
+ protected runConditionCore(values: HashTable<any>, properties: HashTable<any>): void;
82
+ protected onColumnsChanged(): void;
83
+ protected onRowsChanged(): void;
84
+ protected updateVisibilityBasedOnRows(): void;
85
+ protected isVisibleCore(): boolean;
86
+ protected shouldRunColumnExpression(): boolean;
87
+ protected hasRowsAsItems(): boolean;
88
+ protected runItemsCondition(values: HashTable<any>, properties: HashTable<any>): void;
89
+ protected isRowsFiltered(): boolean;
90
+ protected clearGeneratedRows(): void;
91
+ protected createRowsVisibleIfRunner(): ConditionRunner;
92
+ private runConditionsForRows;
93
+ protected runConditionsForColumns(values: HashTable<any>, properties: HashTable<any>): boolean;
94
+ protected clearInvisibleColumnValues(): void;
95
+ protected clearInvisibleValuesInRows(): void;
96
+ needResponsiveWidth(): boolean;
97
+ protected get columnsAutoWidth(): boolean;
98
+ getTableCss(): string;
99
+ /**
100
+ * Aligns matrix cell content in the vertical direction.
101
+ */
102
+ verticalAlign: "top" | "middle";
103
+ /**
104
+ * Specifies whether to apply shading to alternate matrix rows.
105
+ */
106
+ alternateRows: boolean;
107
+ /**
108
+ * Minimum column width in CSS values.
109
+ *
110
+ * @see width
111
+ */
112
+ get columnMinWidth(): string;
113
+ set columnMinWidth(val: string);
114
+ /**
115
+ * A width for the column that displays row titles (first column). Accepts CSS values.
116
+ */
117
+ get rowTitleWidth(): string;
118
+ set rowTitleWidth(val: string);
119
+ /**
120
+ * Specifies how to arrange matrix questions.
121
+ *
122
+ * Possible values:
123
+ *
124
+ * - `"table"` - Displays matrix questions in a table.
125
+ * - `"list"` - Displays matrix questions one under another as a list.
126
+ * - `"auto"` (default) - Uses the `"table"` mode if the survey has sufficient width to fit the table or the `"list"` mode otherwise.
127
+ */
128
+ set displayMode(val: "auto" | "table" | "list");
129
+ get displayMode(): "auto" | "table" | "list";
130
+ getCellAriaLabel(rowTitle: string, columnTitle: string): string;
131
+ get isNewA11yStructure(): boolean;
132
+ protected getIsMobile(): boolean;
133
+ }
@@ -0,0 +1,16 @@
1
+ import { InputMaskBase } from "./mask_base";
2
+ import { ITextInputParams } from "./mask_utils";
3
+ export declare class InputElementAdapter {
4
+ private inputMaskInstance;
5
+ private inputElement;
6
+ private prevUnmaskedValue;
7
+ constructor(inputMaskInstance: InputMaskBase, inputElement: HTMLInputElement, value?: any);
8
+ inputMaskInstancePropertyChangedHandler: (sender: any, options: any) => void;
9
+ clickHandler: (event: any) => void;
10
+ beforeInputHandler: (event: any) => void;
11
+ changeHandler: (event: any) => void;
12
+ createArgs(event: any): ITextInputParams;
13
+ addInputEventListener(): void;
14
+ removeInputEventListener(): void;
15
+ dispose(): void;
16
+ }
@@ -0,0 +1,29 @@
1
+ import { Base } from "../base";
2
+ import { ISurvey } from "../base-interfaces";
3
+ import { IInputMask, IMaskedInputResult, ITextInputParams } from "./mask_utils";
4
+ /**
5
+ * A base class for classes that implement input masks:
6
+ *
7
+ * - [`InputMaskNumeric`](https://surveyjs.io/form-library/documentation/inputmasknumeric)
8
+ * - [`InputMaskCurrency`](https://surveyjs.io/form-library/documentation/inputmaskcurrency)
9
+ * - [`InputMaskDateTime`](https://surveyjs.io/form-library/documentation/inputmaskdatetime)
10
+ * - [`InputMaskPattern`](https://surveyjs.io/form-library/documentation/inputmaskpattern)
11
+ */
12
+ export declare class InputMaskBase extends Base implements IInputMask {
13
+ /**
14
+ * Specifies whether to store the question value with an applied mask in survey results.
15
+ *
16
+ * Default value: `false`
17
+ */
18
+ saveMaskedValue: boolean;
19
+ owner: ISurvey;
20
+ getSurvey(live?: boolean): ISurvey;
21
+ getType(): string;
22
+ setData(json: any): void;
23
+ getData(): any;
24
+ processInput(args: ITextInputParams): IMaskedInputResult;
25
+ getUnmaskedValue(src: string): any;
26
+ getMaskedValue(src: any): string;
27
+ getTextAlignment(): "left" | "right" | "auto";
28
+ getTypeForExpressions(): string;
29
+ }
@@ -0,0 +1,41 @@
1
+ import { InputMaskNumeric } from "./mask_numeric";
2
+ import { IMaskedInputResult, ITextInputParams } from "./mask_utils";
3
+ /**
4
+ * A class that describes an input mask of the `"currency"` [`maskType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType).
5
+ *
6
+ * The following code shows how to specify the properties of this class within a survey JSON schema:
7
+ *
8
+ * ```js
9
+ * const surveyJson = {
10
+ * "elements": [{
11
+ * "name": "textquestion1"
12
+ * "type": "text",
13
+ * "maskType": "currency",
14
+ * "maskSettings": {
15
+ * // Specify the properties of a currency input mask here
16
+ * }
17
+ * }]
18
+ * }
19
+ * ```
20
+ *
21
+ * [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
22
+ */
23
+ export declare class InputMaskCurrency extends InputMaskNumeric {
24
+ /**
25
+ * One or several symbols to be displayed before the currency value.
26
+ *
27
+ * [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
28
+ * @see suffix
29
+ */
30
+ prefix: string;
31
+ /**
32
+ * One or several symbols to be displayed after the currency value.
33
+ * @see prefix
34
+ */
35
+ suffix: string;
36
+ getType(): string;
37
+ private wrapText;
38
+ unwrapInputArgs(args: ITextInputParams): void;
39
+ processInput(args: ITextInputParams): IMaskedInputResult;
40
+ getMaskedValue(src: any): string;
41
+ }
@@ -0,0 +1,91 @@
1
+ import { InputMaskPattern } from "./mask_pattern";
2
+ import { IMaskedInputResult, ITextInputParams } from "./mask_utils";
3
+ type DateTimeMaskLexemType = "month" | "day" | "year" | "hour" | "minute" | "second" | "timeMarker" | "separator";
4
+ export interface IDateTimeMaskLexem {
5
+ type: DateTimeMaskLexemType;
6
+ value: any;
7
+ count: number;
8
+ maxCount: number;
9
+ upperCase: boolean;
10
+ }
11
+ interface IDateTimeComposition {
12
+ day: number;
13
+ month: number;
14
+ year: number;
15
+ hour?: number;
16
+ minute?: number;
17
+ second?: number;
18
+ timeMarker?: string;
19
+ min?: Date;
20
+ max?: Date;
21
+ }
22
+ export declare function getDateTimeLexems(pattern: string): Array<IDateTimeMaskLexem>;
23
+ /**
24
+ * A class that describes an input mask of the `"datetime"` [`maskType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType).
25
+ *
26
+ * The following code shows how to specify the properties of this class within a survey JSON schema:
27
+ *
28
+ * ```js
29
+ * const surveyJson = {
30
+ * "elements": [{
31
+ * "name": "textquestion1"
32
+ * "type": "text",
33
+ * "maskType": "datetime",
34
+ * "maskSettings": {
35
+ * // Specify the properties of a date-time input mask here
36
+ * }
37
+ * }]
38
+ * }
39
+ * ```
40
+ *
41
+ * [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
42
+ */
43
+ export declare class InputMaskDateTime extends InputMaskPattern {
44
+ private defaultDate;
45
+ private turnOfTheCentury;
46
+ private twelve;
47
+ private lexems;
48
+ private inputDateTimeData;
49
+ private validBeginningOfNumbers;
50
+ /**
51
+ * A minimum date and time value that respondents can enter.
52
+ * @see max
53
+ */
54
+ min: string;
55
+ /**
56
+ * A maximum date and time value that respondents can enter.
57
+ * @see min
58
+ */
59
+ max: string;
60
+ get hasDatePart(): boolean;
61
+ get hasTimePart(): boolean;
62
+ private get is12Hours();
63
+ getType(): string;
64
+ getTypeForExpressions(): string;
65
+ protected updateLiterals(): void;
66
+ private leaveOnlyNumbers;
67
+ private getMaskedStrFromISO;
68
+ private initInputDateTimeData;
69
+ getISO_8601Format(dateTime: IDateTimeComposition): string;
70
+ private isYearValid;
71
+ private createIDateTimeCompositionWithDefaults;
72
+ private getMaxDateForMonth;
73
+ private isDateValid;
74
+ private getPlaceholder;
75
+ private isDateValid12;
76
+ private updateTimeMarkerInputDateTimeData;
77
+ private updateInputDateTimeData;
78
+ private checkValidationDateTimePart;
79
+ private getCorrectDatePartFormat;
80
+ private createIDateTimeComposition;
81
+ private parseTwoDigitYear;
82
+ private getFormatedString;
83
+ private cleanTimeMarker;
84
+ private setInputDateTimeData;
85
+ _getMaskedValue(src: string, matchWholeMask?: boolean): string;
86
+ private getParts;
87
+ getUnmaskedValue(src: string): any;
88
+ getMaskedValue(src: string): string;
89
+ processInput(args: ITextInputParams): IMaskedInputResult;
90
+ }
91
+ export {};
@@ -0,0 +1,90 @@
1
+ import { InputMaskBase } from "./mask_base";
2
+ import { IMaskedInputResult, ITextInputParams } from "./mask_utils";
3
+ interface INumericalComposition {
4
+ integralPart: string;
5
+ fractionalPart: string;
6
+ isNegative?: boolean;
7
+ hasDecimalSeparator?: boolean;
8
+ }
9
+ export declare function splitString(str: string, reverse?: boolean, n?: number): Array<string>;
10
+ /**
11
+ * A class that describes an input mask of the `"numeric"` [`maskType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType).
12
+ *
13
+ * The following code shows how to specify the properties of this class within a survey JSON schema:
14
+ *
15
+ * ```js
16
+ * const surveyJson = {
17
+ * "elements": [{
18
+ * "name": "textquestion1"
19
+ * "type": "text",
20
+ * "maskType": "numeric",
21
+ * "maskSettings": {
22
+ * // Specify the properties of a numeric input mask here
23
+ * }
24
+ * }]
25
+ * }
26
+ * ```
27
+ *
28
+ * [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
29
+ */
30
+ export declare class InputMaskNumeric extends InputMaskBase {
31
+ /**
32
+ * Specifies whether respondents can enter negative values.
33
+ *
34
+ * Default value: `true`
35
+ * @see min
36
+ * @see max
37
+ */
38
+ allowNegativeValues: boolean;
39
+ /**
40
+ * A symbol used to separate the fractional part from the integer part of a displayed number.
41
+ *
42
+ * Default value: `"."`
43
+ * @see precision
44
+ * @see thousandsSeparator
45
+ */
46
+ decimalSeparator: string;
47
+ /**
48
+ * Limits how many digits to retain after the decimal point for a displayed number.
49
+ *
50
+ * Default value: 2
51
+ *
52
+ * [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
53
+ * @see decimalSeparator
54
+ */
55
+ precision: number;
56
+ /**
57
+ * A symbol used to separate the digits of a large number into groups of three.
58
+ *
59
+ * Default value: `","`
60
+ * @see decimalSeparator
61
+ */
62
+ thousandsSeparator: string;
63
+ /**
64
+ * A minimum value that respondents can enter.
65
+ * @see max
66
+ * @see allowNegativeValues
67
+ */
68
+ min: number;
69
+ /**
70
+ * A maximum value that respondents can enter.
71
+ * @see min
72
+ * @see allowNegativeValues
73
+ */
74
+ max: number;
75
+ private calccaretPosition;
76
+ private numericalCompositionIsEmpty;
77
+ displayNumber(parsedNumber: INumericalComposition, insertThousandsSeparator?: boolean, matchWholeMask?: boolean): string;
78
+ convertNumber(parsedNumber: INumericalComposition): number;
79
+ validateNumber(number: INumericalComposition, matchWholeMask: boolean): boolean;
80
+ parseNumber(src: string): INumericalComposition;
81
+ getNumberMaskedValue(src: string, matchWholeMask?: boolean): string;
82
+ private getNumberUnmaskedValue;
83
+ getTextAlignment(): "left" | "right" | "auto";
84
+ getMaskedValue(src: any): string;
85
+ getUnmaskedValue(src: string): any;
86
+ processInput(args: ITextInputParams): IMaskedInputResult;
87
+ getType(): string;
88
+ protected isPropertyEmpty(value: any): boolean;
89
+ }
90
+ export {};
@@ -0,0 +1,78 @@
1
+ import { InputMaskBase } from "./mask_base";
2
+ import { IMaskedInputResult, ITextInputParams } from "./mask_utils";
3
+ import { ILoadFromJSONOptions } from "../base-interfaces";
4
+ export interface IMaskLiteral {
5
+ type: "const" | "regex" | "fixed";
6
+ value: any;
7
+ }
8
+ export declare function getLiterals(pattern: string): Array<IMaskLiteral>;
9
+ export declare function getMaskedValueByPattern(src: string, pattern: string | Array<IMaskLiteral>, matchWholeMask: boolean): string;
10
+ export declare function getUnmaskedValueByPattern(str: string, pattern: string | Array<IMaskLiteral>, matchWholeMask: boolean, skipFixedChar?: boolean): string;
11
+ /**
12
+ * A class that describes an input mask of the `"pattern"` [`maskType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType).
13
+ *
14
+ * The following code shows how to specify the properties of this class within a survey JSON schema:
15
+ *
16
+ * ```js
17
+ * const surveyJson = {
18
+ * "elements": [{
19
+ * "name": "textquestion1"
20
+ * "type": "text",
21
+ * "maskType": "pattern",
22
+ * "maskSettings": {
23
+ * // Specify the properties of a pattern input mask here
24
+ * }
25
+ * }]
26
+ * }
27
+ * ```
28
+ *
29
+ * [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
30
+ */
31
+ export declare class InputMaskPattern extends InputMaskBase {
32
+ private literals;
33
+ /**
34
+ * A pattern for the input value.
35
+ *
36
+ * If you set the [`maskType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType) to `"pattern"`, the mask can contain string literals and the following placeholders:
37
+ *
38
+ * - `9` - A digit.
39
+ * - `a` - An upper- or lower-case letter.
40
+ * - `#` - A digit or an upper- or lower-case letter.
41
+ *
42
+ * Use backslash `\` to escape a character.
43
+ *
44
+ * Example: `+1(999)-999-99-99`
45
+ *
46
+ * If you set the [`maskType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType) to `"datetime"`, the mask can contain separator characters and the following placeholders:
47
+ *
48
+ * - `m` - Month number.
49
+ * - `mm` - Month number, with leading zero for single-digit values.
50
+ * - `d` - Day of the month.
51
+ * - `dd` - Day of the month, with leading zero for single-digit values.
52
+ * - `yy` - Last two digits of the year.
53
+ * - `yyyy` - A four-digit year.
54
+ * - `H` - Hours in 24-hour format.
55
+ * - `HH` - Hours in 24-hour format, with leading zero for single-digit values.
56
+ * - `h` - Hours in 12-hour format.
57
+ * - `hh` - Hours in 12-hour format, with leading zero for single-digit values.
58
+ * - `MM` - Minutes.
59
+ * - `ss` - Seconds.
60
+ * - `TT` - 12-hour clock period in upper case (AM/PM).
61
+ * - `tt` - 12-hour clock period in lower case (am/pm).
62
+ *
63
+ * Example: `mm/dd/yyyy HH:MM:ss`
64
+ *
65
+ * [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
66
+ * @see [settings.maskSettings](https://surveyjs.io/form-library/documentation/api-reference/settings#maskSettings)
67
+ */
68
+ pattern: string;
69
+ protected updateLiterals(): void;
70
+ protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
71
+ getType(): string;
72
+ fromJSON(json: any, options?: ILoadFromJSONOptions): void;
73
+ _getMaskedValue(src: string, matchWholeMask?: boolean): string;
74
+ _getUnmaskedValue(src: string, matchWholeMask?: boolean): string;
75
+ processInput(args: ITextInputParams): IMaskedInputResult;
76
+ getMaskedValue(src: any): string;
77
+ getUnmaskedValue(src: string): any;
78
+ }
@@ -0,0 +1,20 @@
1
+ export declare var numberDefinition: RegExp;
2
+ export interface IMaskedInputResult {
3
+ value: string;
4
+ caretPosition: number;
5
+ cancelPreventDefault?: boolean;
6
+ }
7
+ export interface ITextInputParams {
8
+ prevValue: string;
9
+ selectionStart: number;
10
+ selectionEnd: number;
11
+ insertedChars: string | null;
12
+ inputDirection?: "forward" | "backward";
13
+ }
14
+ export interface IInputMask {
15
+ getMaskedValue(src: any): string;
16
+ getUnmaskedValue(src: string): any;
17
+ processInput(args: ITextInputParams): IMaskedInputResult;
18
+ getTextAlignment(): "left" | "right" | "auto";
19
+ }
20
+ export declare function getAvailableMaskTypeChoices(): string[];
@@ -0,0 +1,17 @@
1
+ import { Action, BaseAction, IAction } from "./actions/action";
2
+ import { IListModel, ListModel } from "./list";
3
+ export interface IMultiSelectListModel extends IListModel {
4
+ selectedItems?: Array<IAction>;
5
+ }
6
+ export declare class MultiSelectListModel<T extends BaseAction = Action> extends ListModel<T> {
7
+ selectedItems: Array<IAction>;
8
+ hideSelectedItems: boolean;
9
+ private updateItemState;
10
+ constructor(options: IMultiSelectListModel);
11
+ onItemClick: (item: T) => void;
12
+ isItemDisabled: (itemValue: T) => boolean;
13
+ isItemSelected: (itemValue: T) => boolean;
14
+ updateState(): void;
15
+ setSelectedItems(newItems: Array<IAction>): void;
16
+ selectFocusedItem(): void;
17
+ }
@@ -0,0 +1,30 @@
1
+ import { Base } from "./base";
2
+ import { ActionContainer } from "./actions/container";
3
+ import { IAction } from "./actions/action";
4
+ interface INotifierCssClasses {
5
+ root: string;
6
+ rootWithButtons: string;
7
+ info: string;
8
+ error: string;
9
+ success: string;
10
+ button: string;
11
+ shown: string;
12
+ }
13
+ export declare class Notifier extends Base {
14
+ private cssClasses;
15
+ active: boolean;
16
+ isDisplayed: boolean;
17
+ message: string;
18
+ css: string;
19
+ timeout: number;
20
+ timer: any;
21
+ private actionsVisibility;
22
+ actionBar: ActionContainer;
23
+ showActions: boolean;
24
+ constructor(cssClasses: INotifierCssClasses);
25
+ getCssClass(type: string): string;
26
+ updateActionsVisibility(type: string): void;
27
+ notify(message: string, type?: string, waitUserAction?: boolean): void;
28
+ addAction(action: IAction, notificationType: string): void;
29
+ }
30
+ export {};