survey-core 1.9.136 → 1.9.138

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 (257) hide show
  1. package/defaultV2.css +353 -9
  2. package/defaultV2.css.map +1 -1
  3. package/defaultV2.fontless.css +353 -9
  4. package/defaultV2.fontless.css.map +1 -1
  5. package/defaultV2.fontless.min.css +2 -2
  6. package/defaultV2.min.css +2 -2
  7. package/i18n/arabic.js +1 -1
  8. package/i18n/arabic.min.js +1 -1
  9. package/i18n/basque.js +1 -1
  10. package/i18n/basque.min.js +1 -1
  11. package/i18n/bulgarian.js +1 -1
  12. package/i18n/bulgarian.min.js +1 -1
  13. package/i18n/catalan.js +1 -1
  14. package/i18n/catalan.min.js +1 -1
  15. package/i18n/croatian.js +1 -1
  16. package/i18n/croatian.min.js +1 -1
  17. package/i18n/czech.js +1 -1
  18. package/i18n/czech.min.js +1 -1
  19. package/i18n/danish.js +1 -1
  20. package/i18n/danish.min.js +1 -1
  21. package/i18n/dutch.js +1 -1
  22. package/i18n/dutch.min.js +1 -1
  23. package/i18n/english.js +1 -1
  24. package/i18n/english.min.js +1 -1
  25. package/i18n/estonian.js +1 -1
  26. package/i18n/estonian.min.js +1 -1
  27. package/i18n/finnish.js +1 -1
  28. package/i18n/finnish.min.js +1 -1
  29. package/i18n/french.js +1 -1
  30. package/i18n/french.min.js +1 -1
  31. package/i18n/georgian.js +1 -1
  32. package/i18n/georgian.min.js +1 -1
  33. package/i18n/german.js +2 -2
  34. package/i18n/german.js.map +1 -1
  35. package/i18n/german.min.js +2 -2
  36. package/i18n/greek.js +1 -1
  37. package/i18n/greek.min.js +1 -1
  38. package/i18n/hebrew.js +2 -2
  39. package/i18n/hebrew.js.map +1 -1
  40. package/i18n/hebrew.min.js +2 -2
  41. package/i18n/hindi.js +1 -1
  42. package/i18n/hindi.min.js +1 -1
  43. package/i18n/hungarian.js +1 -1
  44. package/i18n/hungarian.min.js +1 -1
  45. package/i18n/icelandic.js +1 -1
  46. package/i18n/icelandic.min.js +1 -1
  47. package/i18n/index.js +3 -3
  48. package/i18n/index.js.map +1 -1
  49. package/i18n/index.min.js +2 -2
  50. package/i18n/indonesian.js +1 -1
  51. package/i18n/indonesian.min.js +1 -1
  52. package/i18n/italian.js +1 -1
  53. package/i18n/italian.min.js +1 -1
  54. package/i18n/japanese.js +1 -1
  55. package/i18n/japanese.min.js +1 -1
  56. package/i18n/kazakh.js +1 -1
  57. package/i18n/kazakh.min.js +1 -1
  58. package/i18n/korean.js +1 -1
  59. package/i18n/korean.min.js +1 -1
  60. package/i18n/latvian.js +1 -1
  61. package/i18n/latvian.min.js +1 -1
  62. package/i18n/lithuanian.js +1 -1
  63. package/i18n/lithuanian.min.js +1 -1
  64. package/i18n/macedonian.js +1 -1
  65. package/i18n/macedonian.min.js +1 -1
  66. package/i18n/malay.js +1 -1
  67. package/i18n/malay.min.js +1 -1
  68. package/i18n/nl-BE.js +1 -1
  69. package/i18n/nl-BE.min.js +1 -1
  70. package/i18n/norwegian.js +1 -1
  71. package/i18n/norwegian.min.js +1 -1
  72. package/i18n/persian.js +1 -1
  73. package/i18n/persian.min.js +1 -1
  74. package/i18n/polish.js +1 -1
  75. package/i18n/polish.min.js +1 -1
  76. package/i18n/portuguese-br.js +1 -1
  77. package/i18n/portuguese-br.min.js +1 -1
  78. package/i18n/portuguese.js +1 -1
  79. package/i18n/portuguese.min.js +1 -1
  80. package/i18n/romanian.js +1 -1
  81. package/i18n/romanian.min.js +1 -1
  82. package/i18n/russian.js +1 -1
  83. package/i18n/russian.min.js +1 -1
  84. package/i18n/serbian.js +1 -1
  85. package/i18n/serbian.min.js +1 -1
  86. package/i18n/simplified-chinese.js +1 -1
  87. package/i18n/simplified-chinese.min.js +1 -1
  88. package/i18n/slovak.js +1 -1
  89. package/i18n/slovak.min.js +1 -1
  90. package/i18n/spanish.js +1 -1
  91. package/i18n/spanish.min.js +1 -1
  92. package/i18n/swahili.js +1 -1
  93. package/i18n/swahili.min.js +1 -1
  94. package/i18n/swedish.js +1 -1
  95. package/i18n/swedish.min.js +1 -1
  96. package/i18n/tajik.js +1 -1
  97. package/i18n/tajik.min.js +1 -1
  98. package/i18n/telugu.js +1 -1
  99. package/i18n/telugu.min.js +1 -1
  100. package/i18n/thai.js +1 -1
  101. package/i18n/thai.min.js +1 -1
  102. package/i18n/traditional-chinese.js +1 -1
  103. package/i18n/traditional-chinese.min.js +1 -1
  104. package/i18n/turkish.js +1 -1
  105. package/i18n/turkish.min.js +1 -1
  106. package/i18n/ukrainian.js +1 -1
  107. package/i18n/ukrainian.min.js +1 -1
  108. package/i18n/urdu.js +1 -1
  109. package/i18n/urdu.min.js +1 -1
  110. package/i18n/vietnamese.js +1 -1
  111. package/i18n/vietnamese.min.js +1 -1
  112. package/i18n/welsh.js +1 -1
  113. package/i18n/welsh.min.js +1 -1
  114. package/modern.css +187 -1
  115. package/modern.css.map +1 -1
  116. package/modern.fontless.css +187 -1
  117. package/modern.fontless.css.map +1 -1
  118. package/modern.fontless.min.css +2 -2
  119. package/modern.min.css +2 -2
  120. package/package.json +1 -1
  121. package/plugins/bootstrap-integration.js +1 -1
  122. package/plugins/bootstrap-integration.min.js +1 -1
  123. package/plugins/bootstrap-material-integration.js +1 -1
  124. package/plugins/bootstrap-material-integration.min.js +1 -1
  125. package/survey.core.js +1218 -233
  126. package/survey.core.js.map +1 -1
  127. package/survey.core.min.js +3 -3
  128. package/survey.css +1 -1
  129. package/survey.css.map +1 -1
  130. package/survey.i18n.js +3 -3
  131. package/survey.i18n.js.map +1 -1
  132. package/survey.i18n.min.js +2 -2
  133. package/survey.min.css +1 -1
  134. package/themes/borderless-dark-panelless.js +1 -1
  135. package/themes/borderless-dark-panelless.min.js +1 -1
  136. package/themes/borderless-dark.js +1 -1
  137. package/themes/borderless-dark.min.js +1 -1
  138. package/themes/borderless-light-panelless..js +1 -1
  139. package/themes/borderless-light-panelless..min.js +1 -1
  140. package/themes/borderless-light.js +1 -1
  141. package/themes/borderless-light.min.js +1 -1
  142. package/themes/contrast-dark-panelless.js +1 -1
  143. package/themes/contrast-dark-panelless.min.js +1 -1
  144. package/themes/contrast-dark.js +1 -1
  145. package/themes/contrast-dark.min.js +1 -1
  146. package/themes/contrast-light-panelless.js +1 -1
  147. package/themes/contrast-light-panelless.min.js +1 -1
  148. package/themes/contrast-light.js +1 -1
  149. package/themes/contrast-light.min.js +1 -1
  150. package/themes/default-dark-panelless.js +1 -1
  151. package/themes/default-dark-panelless.min.js +1 -1
  152. package/themes/default-dark.js +1 -1
  153. package/themes/default-dark.min.js +1 -1
  154. package/themes/default-light-panelless.js +1 -1
  155. package/themes/default-light-panelless.min.js +1 -1
  156. package/themes/default-light.js +1 -1
  157. package/themes/default-light.min.js +1 -1
  158. package/themes/doubleborder-dark-panelless.js +1 -1
  159. package/themes/doubleborder-dark-panelless.min.js +1 -1
  160. package/themes/doubleborder-dark.js +1 -1
  161. package/themes/doubleborder-dark.min.js +1 -1
  162. package/themes/doubleborder-light-panelles.js +1 -1
  163. package/themes/doubleborder-light-panelles.min.js +1 -1
  164. package/themes/doubleborder-light.js +1 -1
  165. package/themes/doubleborder-light.min.js +1 -1
  166. package/themes/flat-dark-panelless.js +1 -1
  167. package/themes/flat-dark-panelless.min.js +1 -1
  168. package/themes/flat-dark.js +1 -1
  169. package/themes/flat-dark.min.js +1 -1
  170. package/themes/flat-light-panelless.js +1 -1
  171. package/themes/flat-light-panelless.min.js +1 -1
  172. package/themes/flat-light.js +1 -1
  173. package/themes/flat-light.min.js +1 -1
  174. package/themes/index.js +1 -1
  175. package/themes/index.min.js +1 -1
  176. package/themes/layered-dark-panelless.js +1 -1
  177. package/themes/layered-dark-panelless.min.js +1 -1
  178. package/themes/layered-dark.js +1 -1
  179. package/themes/layered-dark.min.js +1 -1
  180. package/themes/layered-light-panelless.js +1 -1
  181. package/themes/layered-light-panelless.min.js +1 -1
  182. package/themes/layered-light.js +1 -1
  183. package/themes/layered-light.min.js +1 -1
  184. package/themes/plain-dark-panelless.js +1 -1
  185. package/themes/plain-dark-panelless.min.js +1 -1
  186. package/themes/plain-dark.js +1 -1
  187. package/themes/plain-dark.min.js +1 -1
  188. package/themes/plain-light-panelless.js +1 -1
  189. package/themes/plain-light-panelless.min.js +1 -1
  190. package/themes/plain-light.js +1 -1
  191. package/themes/plain-light.min.js +1 -1
  192. package/themes/sharp-dark-panelless.js +1 -1
  193. package/themes/sharp-dark-panelless.min.js +1 -1
  194. package/themes/sharp-dark.js +1 -1
  195. package/themes/sharp-dark.min.js +1 -1
  196. package/themes/sharp-light-panelless.js +1 -1
  197. package/themes/sharp-light-panelless.min.js +1 -1
  198. package/themes/sharp-light.js +1 -1
  199. package/themes/sharp-light.min.js +1 -1
  200. package/themes/solid-dark-panelless.js +1 -1
  201. package/themes/solid-dark-panelless.min.js +1 -1
  202. package/themes/solid-dark.js +1 -1
  203. package/themes/solid-dark.min.js +1 -1
  204. package/themes/solid-light-panelless.js +1 -1
  205. package/themes/solid-light-panelless.min.js +1 -1
  206. package/themes/solid-light.js +1 -1
  207. package/themes/solid-light.min.js +1 -1
  208. package/themes/three-dimensional-dark-panelless.js +1 -1
  209. package/themes/three-dimensional-dark-panelless.min.js +1 -1
  210. package/themes/three-dimensional-dark.js +1 -1
  211. package/themes/three-dimensional-dark.min.js +1 -1
  212. package/themes/three-dimensional-light-panelless.js +1 -1
  213. package/themes/three-dimensional-light-panelless.min.js +1 -1
  214. package/themes/three-dimensional-light.js +1 -1
  215. package/themes/three-dimensional-light.min.js +1 -1
  216. package/ts3.4/typings/base.d.ts +4 -4
  217. package/ts3.4/typings/defaultCss/defaultV2Css.d.ts +14 -0
  218. package/ts3.4/typings/dragdrop/matrix-rows.d.ts +2 -1
  219. package/ts3.4/typings/dragdrop/ranking-choices.d.ts +1 -1
  220. package/ts3.4/typings/dragdrop/ranking-select-to-rank.d.ts +6 -3
  221. package/ts3.4/typings/entries/core-wo-model.d.ts +1 -0
  222. package/ts3.4/typings/mask/input_element_adapter.d.ts +1 -0
  223. package/ts3.4/typings/mask/mask_datetime.d.ts +12 -2
  224. package/ts3.4/typings/mask/mask_numeric.d.ts +1 -1
  225. package/ts3.4/typings/panel.d.ts +17 -4
  226. package/ts3.4/typings/popup-view-model.d.ts +14 -5
  227. package/ts3.4/typings/question_custom.d.ts +11 -0
  228. package/ts3.4/typings/question_imagepicker.d.ts +36 -6
  229. package/ts3.4/typings/question_matrixdropdowncolumn.d.ts +1 -2
  230. package/ts3.4/typings/question_matrixdynamic.d.ts +1 -0
  231. package/ts3.4/typings/question_multipletext.d.ts +67 -20
  232. package/ts3.4/typings/question_ranking.d.ts +12 -3
  233. package/ts3.4/typings/question_text.d.ts +2 -0
  234. package/ts3.4/typings/survey-element.d.ts +12 -1
  235. package/ts3.4/typings/utils/animation.d.ts +54 -0
  236. package/ts3.4/typings/utils/taskmanager.d.ts +28 -0
  237. package/typings/base.d.ts +4 -4
  238. package/typings/defaultCss/defaultV2Css.d.ts +14 -0
  239. package/typings/dragdrop/matrix-rows.d.ts +2 -1
  240. package/typings/dragdrop/ranking-choices.d.ts +1 -1
  241. package/typings/dragdrop/ranking-select-to-rank.d.ts +6 -3
  242. package/typings/entries/core-wo-model.d.ts +1 -0
  243. package/typings/mask/input_element_adapter.d.ts +1 -0
  244. package/typings/mask/mask_datetime.d.ts +12 -2
  245. package/typings/mask/mask_numeric.d.ts +1 -1
  246. package/typings/panel.d.ts +18 -3
  247. package/typings/popup-view-model.d.ts +15 -5
  248. package/typings/question_custom.d.ts +11 -0
  249. package/typings/question_imagepicker.d.ts +36 -6
  250. package/typings/question_matrixdropdowncolumn.d.ts +1 -2
  251. package/typings/question_matrixdynamic.d.ts +2 -0
  252. package/typings/question_multipletext.d.ts +70 -20
  253. package/typings/question_ranking.d.ts +12 -1
  254. package/typings/question_text.d.ts +2 -0
  255. package/typings/survey-element.d.ts +15 -1
  256. package/typings/utils/animation.d.ts +50 -0
  257. package/typings/utils/taskmanager.d.ts +28 -0
package/modern.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.136
2
+ * surveyjs - Survey JavaScript library v1.9.138
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -524,6 +524,67 @@ sv-popup {
524
524
  flex-grow: 1;
525
525
  }
526
526
 
527
+ .sv-popup--visible {
528
+ opacity: 1;
529
+ }
530
+
531
+ .sv-popup--hidden {
532
+ opacity: 0;
533
+ }
534
+
535
+ .sv-popup--animate-enter {
536
+ animation-name: fadeIn;
537
+ animation-fill-mode: forwards;
538
+ animation-duration: 0.15s;
539
+ }
540
+
541
+ .sv-popup--modal.sv-popup--animate-enter {
542
+ animation-duration: 0.25s;
543
+ }
544
+
545
+ .sv-popup--animate-leave {
546
+ animation-direction: reverse;
547
+ animation-name: fadeIn;
548
+ animation-fill-mode: forwards;
549
+ animation-duration: 0.15s;
550
+ }
551
+
552
+ .sv-popup--modal.sv-popup--animate-leave {
553
+ animation-duration: 0.25s;
554
+ }
555
+
556
+ .sv-popup--hidden {
557
+ opacity: 0;
558
+ }
559
+
560
+ @keyframes modalMoveDown {
561
+ from {
562
+ transform: translateY(0);
563
+ }
564
+ to {
565
+ transform: translateY(64px);
566
+ }
567
+ }
568
+ @keyframes modalMoveUp {
569
+ from {
570
+ transform: translateY(64px);
571
+ }
572
+ to {
573
+ transform: translateY(0);
574
+ }
575
+ }
576
+ .sv-popup--modal.sv-popup--animate-leave .sv-popup__container {
577
+ animation-name: modalMoveDown;
578
+ animation-fill-mode: forwards;
579
+ animation-duration: 0.25s;
580
+ }
581
+
582
+ .sv-popup--modal.sv-popup--animate-enter .sv-popup__container {
583
+ animation-name: modalMoveUp;
584
+ animation-fill-mode: forwards;
585
+ animation-duration: 0.25s;
586
+ }
587
+
527
588
  :root {
528
589
  --sjs-transition-duration: 150ms;
529
590
  }
@@ -3252,6 +3313,67 @@ sv-popup {
3252
3313
  flex-grow: 1;
3253
3314
  }
3254
3315
 
3316
+ .sv-popup--visible {
3317
+ opacity: 1;
3318
+ }
3319
+
3320
+ .sv-popup--hidden {
3321
+ opacity: 0;
3322
+ }
3323
+
3324
+ .sv-popup--animate-enter {
3325
+ animation-name: fadeIn;
3326
+ animation-fill-mode: forwards;
3327
+ animation-duration: 0.15s;
3328
+ }
3329
+
3330
+ .sv-popup--modal.sv-popup--animate-enter {
3331
+ animation-duration: 0.25s;
3332
+ }
3333
+
3334
+ .sv-popup--animate-leave {
3335
+ animation-direction: reverse;
3336
+ animation-name: fadeIn;
3337
+ animation-fill-mode: forwards;
3338
+ animation-duration: 0.15s;
3339
+ }
3340
+
3341
+ .sv-popup--modal.sv-popup--animate-leave {
3342
+ animation-duration: 0.25s;
3343
+ }
3344
+
3345
+ .sv-popup--hidden {
3346
+ opacity: 0;
3347
+ }
3348
+
3349
+ @keyframes modalMoveDown {
3350
+ from {
3351
+ transform: translateY(0);
3352
+ }
3353
+ to {
3354
+ transform: translateY(64px);
3355
+ }
3356
+ }
3357
+ @keyframes modalMoveUp {
3358
+ from {
3359
+ transform: translateY(64px);
3360
+ }
3361
+ to {
3362
+ transform: translateY(0);
3363
+ }
3364
+ }
3365
+ .sv-popup--modal.sv-popup--animate-leave .sv-popup__container {
3366
+ animation-name: modalMoveDown;
3367
+ animation-fill-mode: forwards;
3368
+ animation-duration: 0.25s;
3369
+ }
3370
+
3371
+ .sv-popup--modal.sv-popup--animate-enter .sv-popup__container {
3372
+ animation-name: modalMoveUp;
3373
+ animation-fill-mode: forwards;
3374
+ animation-duration: 0.25s;
3375
+ }
3376
+
3255
3377
  :root {
3256
3378
  --sjs-transition-duration: 150ms;
3257
3379
  }
@@ -3606,6 +3728,8 @@ sv-brand-info, .sv-brand-info {
3606
3728
  .sv-ranking-item {
3607
3729
  cursor: pointer;
3608
3730
  position: relative;
3731
+ height: calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3732
+ opacity: 1;
3609
3733
  }
3610
3734
 
3611
3735
  .sv-ranking-item:focus .sv-ranking-item__icon--hover {
@@ -3831,6 +3955,60 @@ sv-brand-info, .sv-brand-info {
3831
3955
  align-items: center;
3832
3956
  }
3833
3957
 
3958
+ .sv-ranking-item--animate-item-removing {
3959
+ --animation-height: calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3960
+ animation-name: moveIn, fadeIn;
3961
+ animation-direction: reverse;
3962
+ animation-fill-mode: forwards;
3963
+ animation-timing-function: linear;
3964
+ animation-duration: var(--sjs-ranking-move-out-duration, 150ms), var(--sjs-ranking-fade-out-duration, 100ms);
3965
+ animation-delay: var(--sjs-ranking-move-out-delay, 0ms), 0s;
3966
+ }
3967
+
3968
+ .sv-ranking-item--animate-item-adding {
3969
+ --animation-height: calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3970
+ animation-name: moveIn, fadeIn;
3971
+ opacity: 0;
3972
+ animation-fill-mode: forwards;
3973
+ animation-timing-function: linear;
3974
+ animation-duration: var(--sjs-ranking-move-in-duration, 150ms), var(--sjs-ranking-fade-in-duration, 100ms);
3975
+ animation-delay: 0s, var(--sjs-ranking-fade-in-delay, 150ms);
3976
+ }
3977
+
3978
+ .sv-ranking-item--animate-item-adding-empty {
3979
+ --animation-height: calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3980
+ animation-name: fadeIn;
3981
+ opacity: 0;
3982
+ animation-timing-function: linear;
3983
+ animation-duration: var(--sjs-ranking-fade-in-duration, 100ms);
3984
+ animation-delay: 0;
3985
+ }
3986
+
3987
+ .sv-ranking-item--animate-item-removing-empty {
3988
+ --animation-height: calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3989
+ animation-name: fadeIn;
3990
+ animation-direction: reverse;
3991
+ animation-timing-function: linear;
3992
+ animation-duration: var(--sjs-ranking-fade-out-duration, 100ms);
3993
+ animation-delay: 0;
3994
+ }
3995
+
3996
+ @keyframes sv-animate-item-opacity-reverse-keyframes {
3997
+ 0% {
3998
+ opacity: 0;
3999
+ }
4000
+ 100% {
4001
+ opacity: 1;
4002
+ }
4003
+ }
4004
+ @keyframes sv-animate-item-opacity-keyframes {
4005
+ 0% {
4006
+ opacity: 1;
4007
+ }
4008
+ 100% {
4009
+ opacity: 0;
4010
+ }
4011
+ }
3834
4012
  .sv-ranking--select-to-rank-horizontal .sv-ranking__container {
3835
4013
  max-width: calc(50% - 1px);
3836
4014
  }
@@ -3883,6 +4061,14 @@ sv-brand-info, .sv-brand-info {
3883
4061
  display: none;
3884
4062
  }
3885
4063
 
4064
+ .sv-ranking--select-to-rank-horizontal .sv-ranking__container--to .sv-ranking-item {
4065
+ left: 0 !important;
4066
+ padding-left: 16px;
4067
+ }
4068
+ .sv-ranking--select-to-rank-horizontal .sv-ranking__container--to .sv-ranking-item .sv-ranking-item__ghost {
4069
+ left: initial;
4070
+ }
4071
+
3886
4072
  :root {
3887
4073
  --sjs-transition-duration: 150ms;
3888
4074
  }