survey-core 1.12.2 → 1.12.3

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 +50 -12
  2. package/defaultV2.css.map +1 -1
  3. package/defaultV2.fontless.css +50 -12
  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 +1 -1
  34. package/i18n/german.min.js +1 -1
  35. package/i18n/greek.js +1 -1
  36. package/i18n/greek.min.js +1 -1
  37. package/i18n/hebrew.js +1 -1
  38. package/i18n/hebrew.min.js +1 -1
  39. package/i18n/hindi.js +1 -1
  40. package/i18n/hindi.min.js +1 -1
  41. package/i18n/hungarian.js +1 -1
  42. package/i18n/hungarian.min.js +1 -1
  43. package/i18n/icelandic.js +1 -1
  44. package/i18n/icelandic.min.js +1 -1
  45. package/i18n/index.js +1 -1
  46. package/i18n/index.min.js +1 -1
  47. package/i18n/indonesian.js +1 -1
  48. package/i18n/indonesian.min.js +1 -1
  49. package/i18n/italian.js +1 -1
  50. package/i18n/italian.min.js +1 -1
  51. package/i18n/japanese.js +1 -1
  52. package/i18n/japanese.min.js +1 -1
  53. package/i18n/kazakh.js +1 -1
  54. package/i18n/kazakh.min.js +1 -1
  55. package/i18n/korean.js +1 -1
  56. package/i18n/korean.min.js +1 -1
  57. package/i18n/latvian.js +1 -1
  58. package/i18n/latvian.min.js +1 -1
  59. package/i18n/lithuanian.js +1 -1
  60. package/i18n/lithuanian.min.js +1 -1
  61. package/i18n/macedonian.js +1 -1
  62. package/i18n/macedonian.min.js +1 -1
  63. package/i18n/malay.js +1 -1
  64. package/i18n/malay.min.js +1 -1
  65. package/i18n/nl-BE.js +1 -1
  66. package/i18n/nl-BE.min.js +1 -1
  67. package/i18n/norwegian.js +1 -1
  68. package/i18n/norwegian.min.js +1 -1
  69. package/i18n/persian.js +1 -1
  70. package/i18n/persian.min.js +1 -1
  71. package/i18n/philippines.js +1 -1
  72. package/i18n/philippines.min.js +1 -1
  73. package/i18n/polish.js +1 -1
  74. package/i18n/polish.min.js +1 -1
  75. package/i18n/portuguese-br.js +1 -1
  76. package/i18n/portuguese-br.min.js +1 -1
  77. package/i18n/portuguese.js +1 -1
  78. package/i18n/portuguese.min.js +1 -1
  79. package/i18n/romanian.js +1 -1
  80. package/i18n/romanian.min.js +1 -1
  81. package/i18n/russian.js +1 -1
  82. package/i18n/russian.min.js +1 -1
  83. package/i18n/serbian.js +1 -1
  84. package/i18n/serbian.min.js +1 -1
  85. package/i18n/simplified-chinese.js +1 -1
  86. package/i18n/simplified-chinese.min.js +1 -1
  87. package/i18n/slovak.js +1 -1
  88. package/i18n/slovak.min.js +1 -1
  89. package/i18n/spanish.js +1 -1
  90. package/i18n/spanish.min.js +1 -1
  91. package/i18n/swahili.js +1 -1
  92. package/i18n/swahili.min.js +1 -1
  93. package/i18n/swedish.js +1 -1
  94. package/i18n/swedish.min.js +1 -1
  95. package/i18n/tajik.js +1 -1
  96. package/i18n/tajik.min.js +1 -1
  97. package/i18n/telugu.js +1 -1
  98. package/i18n/telugu.min.js +1 -1
  99. package/i18n/thai.js +1 -1
  100. package/i18n/thai.min.js +1 -1
  101. package/i18n/traditional-chinese.js +1 -1
  102. package/i18n/traditional-chinese.min.js +1 -1
  103. package/i18n/turkish.js +1 -1
  104. package/i18n/turkish.min.js +1 -1
  105. package/i18n/ukrainian.js +1 -1
  106. package/i18n/ukrainian.min.js +1 -1
  107. package/i18n/urdu.js +1 -1
  108. package/i18n/urdu.min.js +1 -1
  109. package/i18n/vietnamese.js +1 -1
  110. package/i18n/vietnamese.min.js +1 -1
  111. package/i18n/welsh.js +1 -1
  112. package/i18n/welsh.min.js +1 -1
  113. package/modern.css +47 -8
  114. package/modern.css.map +1 -1
  115. package/modern.fontless.css +47 -8
  116. package/modern.fontless.css.map +1 -1
  117. package/modern.fontless.min.css +2 -2
  118. package/modern.min.css +2 -2
  119. package/package.json +1 -1
  120. package/plugins/bootstrap-integration/index.js +1 -1
  121. package/plugins/bootstrap-integration/index.min.js +1 -1
  122. package/plugins/bootstrap-material-integration/cssbootstrapmaterial.d.ts +1 -0
  123. package/plugins/bootstrap-material-integration/index.js +2 -1
  124. package/plugins/bootstrap-material-integration/index.js.map +1 -1
  125. package/plugins/bootstrap-material-integration/index.min.js +2 -2
  126. package/survey.core.js +200 -119
  127. package/survey.core.js.map +1 -1
  128. package/survey.core.min.js +3 -3
  129. package/survey.css +49 -8
  130. package/survey.css.map +1 -1
  131. package/survey.i18n.js +1 -1
  132. package/survey.i18n.min.js +1 -1
  133. package/survey.min.css +2 -2
  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/packages/survey-core/entries/chunks/model.d.ts +1 -1
  217. package/ts3.4/typings/packages/survey-core/src/base-interfaces.d.ts +11 -1
  218. package/ts3.4/typings/packages/survey-core/src/base.d.ts +1 -1
  219. package/ts3.4/typings/packages/survey-core/src/defaultCss/defaultV2Css.d.ts +1 -2
  220. package/ts3.4/typings/packages/survey-core/src/dragdrop/choices.d.ts +2 -1
  221. package/ts3.4/typings/packages/survey-core/src/header.d.ts +1 -0
  222. package/ts3.4/typings/packages/survey-core/src/helpers.d.ts +1 -1
  223. package/ts3.4/typings/packages/survey-core/src/page.d.ts +1 -0
  224. package/ts3.4/typings/packages/survey-core/src/panel.d.ts +2 -3
  225. package/ts3.4/typings/packages/survey-core/src/question.d.ts +7 -3
  226. package/ts3.4/typings/packages/survey-core/src/question_baseselect.d.ts +1 -1
  227. package/ts3.4/typings/packages/survey-core/src/question_custom.d.ts +1 -0
  228. package/ts3.4/typings/packages/survey-core/src/question_matrixdropdownbase.d.ts +1 -1
  229. package/ts3.4/typings/packages/survey-core/src/question_multipletext.d.ts +1 -1
  230. package/ts3.4/typings/packages/survey-core/src/question_ranking.d.ts +1 -0
  231. package/ts3.4/typings/packages/survey-core/src/question_rating.d.ts +1 -1
  232. package/ts3.4/typings/packages/survey-core/src/survey-element.d.ts +1 -0
  233. package/ts3.4/typings/packages/survey-core/src/survey.d.ts +2 -3
  234. package/ts3.4/typings/packages/survey-core/src/textPreProcessor.d.ts +2 -2
  235. package/ts3.4/typings/src/defaultCss/cssmodern.d.ts +1 -0
  236. package/ts3.4/typings/src/defaultCss/cssstandard.d.ts +1 -0
  237. package/typings/packages/survey-core/entries/chunks/model.d.ts +1 -1
  238. package/typings/packages/survey-core/src/base-interfaces.d.ts +11 -1
  239. package/typings/packages/survey-core/src/base.d.ts +1 -1
  240. package/typings/packages/survey-core/src/defaultCss/defaultV2Css.d.ts +1 -2
  241. package/typings/packages/survey-core/src/dragdrop/choices.d.ts +2 -1
  242. package/typings/packages/survey-core/src/header.d.ts +1 -0
  243. package/typings/packages/survey-core/src/helpers.d.ts +1 -1
  244. package/typings/packages/survey-core/src/page.d.ts +1 -0
  245. package/typings/packages/survey-core/src/panel.d.ts +2 -3
  246. package/typings/packages/survey-core/src/question.d.ts +7 -3
  247. package/typings/packages/survey-core/src/question_baseselect.d.ts +1 -1
  248. package/typings/packages/survey-core/src/question_custom.d.ts +1 -0
  249. package/typings/packages/survey-core/src/question_matrixdropdownbase.d.ts +1 -1
  250. package/typings/packages/survey-core/src/question_multipletext.d.ts +1 -1
  251. package/typings/packages/survey-core/src/question_ranking.d.ts +2 -0
  252. package/typings/packages/survey-core/src/question_rating.d.ts +1 -1
  253. package/typings/packages/survey-core/src/survey-element.d.ts +1 -0
  254. package/typings/packages/survey-core/src/survey.d.ts +2 -3
  255. package/typings/packages/survey-core/src/textPreProcessor.d.ts +2 -2
  256. package/typings/src/defaultCss/cssmodern.d.ts +1 -0
  257. package/typings/src/defaultCss/cssstandard.d.ts +1 -0
package/survey.core.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.2
2
+ * surveyjs - Survey JavaScript library v1.12.3
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
  */
@@ -964,7 +964,7 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
964
964
  /*!*******************************************!*\
965
965
  !*** ./src/entries/core.ts + 127 modules ***!
966
966
  \*******************************************/
967
- /*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, slk, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedErrorRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, ProgressButtons, ProgressButtonsResponsivityManager, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, SurveyTriggerSkip, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, Cover, CoverCell, dxSurveyService, englishStrings, surveyLocalization, surveyStrings, QuestionCustomWidget, CustomWidgetCollection, QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, ListModel, MultiSelectListModel, PopupModel, createDialogOptions, PopupBaseViewModel, PopupDropdownViewModel, PopupModalViewModel, createPopupViewModel, createPopupModalViewModel, DropdownListModel, DropdownMultiSelectListModel, QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue, IsMobile, IsTouch, _setIsTouch, confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, chooseFiles, sanitizeEditableContent, InputMaskBase, InputMaskPattern, InputMaskNumeric, InputMaskDateTime, InputMaskCurrency, CssClassBuilder, TextAreaModel, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank, StylesManager, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, createPopupModelWithListModel, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel, AnimationUtils, AnimationPropertyUtils, AnimationGroupUtils, AnimationProperty, AnimationBoolean, AnimationGroup, AnimationTab, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, DragOrClickHelper, Model */
967
+ /*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, slk, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedErrorRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, ProgressButtons, ProgressButtonsResponsivityManager, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, SurveyTriggerSkip, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, Cover, CoverCell, dxSurveyService, englishStrings, surveyLocalization, surveyStrings, QuestionCustomWidget, CustomWidgetCollection, QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, ListModel, MultiSelectListModel, PopupModel, createDialogOptions, PopupBaseViewModel, PopupDropdownViewModel, PopupModalViewModel, createPopupViewModel, createPopupModalViewModel, DropdownListModel, DropdownMultiSelectListModel, QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue, IsMobile, IsTouch, _setIsTouch, confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, chooseFiles, sanitizeEditableContent, prepareElementForVerticalAnimation, cleanHtmlElementAfterAnimation, classesToSelector, InputMaskBase, InputMaskPattern, InputMaskNumeric, InputMaskDateTime, InputMaskCurrency, CssClassBuilder, TextAreaModel, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank, StylesManager, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, createPopupModelWithListModel, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel, AnimationUtils, AnimationPropertyUtils, AnimationGroupUtils, AnimationProperty, AnimationBoolean, AnimationGroup, AnimationTab, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, DragOrClickHelper, Model */
968
968
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
969
969
 
970
970
  "use strict";
@@ -1158,6 +1158,9 @@ __webpack_require__.d(__webpack_exports__, "increaseHeightByContent", function()
1158
1158
  __webpack_require__.d(__webpack_exports__, "createSvg", function() { return /* reexport */ createSvg; });
1159
1159
  __webpack_require__.d(__webpack_exports__, "chooseFiles", function() { return /* reexport */ chooseFiles; });
1160
1160
  __webpack_require__.d(__webpack_exports__, "sanitizeEditableContent", function() { return /* reexport */ sanitizeEditableContent; });
1161
+ __webpack_require__.d(__webpack_exports__, "prepareElementForVerticalAnimation", function() { return /* reexport */ prepareElementForVerticalAnimation; });
1162
+ __webpack_require__.d(__webpack_exports__, "cleanHtmlElementAfterAnimation", function() { return /* reexport */ cleanHtmlElementAfterAnimation; });
1163
+ __webpack_require__.d(__webpack_exports__, "classesToSelector", function() { return /* reexport */ classesToSelector; });
1161
1164
  __webpack_require__.d(__webpack_exports__, "InputMaskBase", function() { return /* reexport */ mask_base_InputMaskBase; });
1162
1165
  __webpack_require__.d(__webpack_exports__, "InputMaskPattern", function() { return /* reexport */ mask_pattern_InputMaskPattern; });
1163
1166
  __webpack_require__.d(__webpack_exports__, "InputMaskNumeric", function() { return /* reexport */ mask_numeric_InputMaskNumeric; });
@@ -1598,7 +1601,7 @@ var helpers_Helpers = /** @class */ (function () {
1598
1601
  var value = newValue ? newValue.length : "0";
1599
1602
  return [value, maxLength].join("/");
1600
1603
  };
1601
- Helpers.getNumberByIndex = function (index, startIndexStr) {
1604
+ Helpers.getNumberByIndex = function (index, startIndexStr, parentIndex) {
1602
1605
  if (index < 0)
1603
1606
  return "";
1604
1607
  var startIndex = 1;
@@ -1607,16 +1610,19 @@ var helpers_Helpers = /** @class */ (function () {
1607
1610
  var isNumeric = true;
1608
1611
  var strIndex = "A";
1609
1612
  var str = "";
1613
+ var hasDigitFunc = function (str) {
1614
+ if (!str)
1615
+ return false;
1616
+ for (var i = 0; i < str.length; i++) {
1617
+ if (Helpers.isCharDigit(str[i]))
1618
+ return true;
1619
+ }
1620
+ return false;
1621
+ };
1610
1622
  if (!!startIndexStr) {
1611
1623
  str = startIndexStr;
1612
1624
  var ind = str.length - 1;
1613
- var hasDigit = false;
1614
- for (var i = 0; i < str.length; i++) {
1615
- if (Helpers.isCharDigit(str[i])) {
1616
- hasDigit = true;
1617
- break;
1618
- }
1619
- }
1625
+ var hasDigit = hasDigitFunc(str);
1620
1626
  var checkLetter = function () {
1621
1627
  return ((hasDigit && !Helpers.isCharDigit(str[ind])) ||
1622
1628
  Helpers.isCharNotLetterAndDigit(str[ind]));
@@ -1646,6 +1652,9 @@ var helpers_Helpers = /** @class */ (function () {
1646
1652
  postfix = newPostfix;
1647
1653
  }
1648
1654
  }
1655
+ if (parentIndex > -1 && hasDigitFunc(prefix)) {
1656
+ prefix = this.getNumberByIndex(parentIndex, prefix);
1657
+ }
1649
1658
  if (isNumeric) {
1650
1659
  var val = (index + startIndex).toString();
1651
1660
  while (val.length < strIndex.length)
@@ -12666,7 +12675,7 @@ var survey_element_SurveyElementCore = /** @class */ (function (_super) {
12666
12675
  return this.getLocalizableStringText("title", this.getDefaultTitleValue());
12667
12676
  },
12668
12677
  set: function (val) {
12669
- this.setLocalizableStringText("title", val);
12678
+ this.setTitleValue(val);
12670
12679
  },
12671
12680
  enumerable: false,
12672
12681
  configurable: true
@@ -12679,6 +12688,9 @@ var survey_element_SurveyElementCore = /** @class */ (function (_super) {
12679
12688
  configurable: true
12680
12689
  });
12681
12690
  SurveyElementCore.prototype.getDefaultTitleValue = function () { return undefined; };
12691
+ SurveyElementCore.prototype.setTitleValue = function (val) {
12692
+ this.setLocalizableStringText("title", val);
12693
+ };
12682
12694
  SurveyElementCore.prototype.updateDescriptionVisibility = function (newDescription) {
12683
12695
  var showPlaceholder = false;
12684
12696
  if (this.isDesignMode) {
@@ -19312,6 +19324,8 @@ var question_Question = /** @class */ (function (_super) {
19312
19324
  * A survey parses and runs all expressions on startup. If any values used in the expression change, the survey re-evaluates it.
19313
19325
  *
19314
19326
  * Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
19327
+ *
19328
+ * [View Demo](https://surveyjs.io/form-library/examples/how-to-conditionally-make-input-field-read-only/ (linkStyle))
19315
19329
  * @see readOnly
19316
19330
  * @see isReadOnly
19317
19331
  */
@@ -19337,6 +19351,20 @@ var question_Question = /** @class */ (function (_super) {
19337
19351
  this.runDefaultValueExpression(this.defaultValueRunner, values, properties);
19338
19352
  }
19339
19353
  };
19354
+ Object.defineProperty(Question.prototype, "isInDesignMode", {
19355
+ get: function () {
19356
+ return !this.isContentElement && this.isDesignMode;
19357
+ },
19358
+ enumerable: false,
19359
+ configurable: true
19360
+ });
19361
+ Object.defineProperty(Question.prototype, "isInDesignModeV2", {
19362
+ get: function () {
19363
+ return !this.isContentElement && this.isDesignModeV2;
19364
+ },
19365
+ enumerable: false,
19366
+ configurable: true
19367
+ });
19340
19368
  Object.defineProperty(Question.prototype, "no", {
19341
19369
  /**
19342
19370
  * A question number or letter (depends on the `questionStartIndex` property of the question container (panel, page, or survey)).
@@ -19354,9 +19382,11 @@ var question_Question = /** @class */ (function (_super) {
19354
19382
  configurable: true
19355
19383
  });
19356
19384
  Question.prototype.calcNo = function () {
19385
+ var _a;
19357
19386
  if (!this.hasTitle || this.hideNumber)
19358
19387
  return "";
19359
- var no = helpers_Helpers.getNumberByIndex(this.visibleIndex, this.getStartIndex());
19388
+ var parentIndex = (_a = this.parent) === null || _a === void 0 ? void 0 : _a.visibleIndex;
19389
+ var no = helpers_Helpers.getNumberByIndex(this.visibleIndex, this.getStartIndex(), parentIndex);
19360
19390
  if (!!this.survey) {
19361
19391
  no = this.survey.getUpdatedQuestionNo(this, no);
19362
19392
  }
@@ -19736,7 +19766,7 @@ var question_Question = /** @class */ (function (_super) {
19736
19766
  *
19737
19767
  * A survey parses and runs all expressions on startup. If any values used in the expression change, the survey re-evaluates it.
19738
19768
  *
19739
- * [View Demo](https://surveyjs.io/form-library/examples/trigger-setvalue/ (linkStyle))
19769
+ * [View Demo](https://surveyjs.io/form-library/examples/set-question-value-dynamically/ (linkStyle))
19740
19770
  * @see setValueIf
19741
19771
  */
19742
19772
  get: function () {
@@ -19754,7 +19784,7 @@ var question_Question = /** @class */ (function (_super) {
19754
19784
  *
19755
19785
  * A survey parses and runs all expressions on startup. If any values used in the expression change, the survey re-evaluates it.
19756
19786
  *
19757
- * [View Demo](https://surveyjs.io/form-library/examples/trigger-setvalue/ (linkStyle))
19787
+ * [View Demo](https://surveyjs.io/form-library/examples/set-question-value-dynamically/ (linkStyle))
19758
19788
  * @see resetValueIf
19759
19789
  */
19760
19790
  get: function () {
@@ -19772,7 +19802,7 @@ var question_Question = /** @class */ (function (_super) {
19772
19802
  *
19773
19803
  * You can use `setValueExpression` as a standalone property or in conjunction with the [`setValueIf`](#setValueIf) expression, in which case the calculated question value applies only when `setValueIf` evaluates to `true`.
19774
19804
  *
19775
- * [View Demo](https://surveyjs.io/form-library/examples/trigger-setvalue/ (linkStyle))
19805
+ * [View Demo](https://surveyjs.io/form-library/examples/set-question-value-dynamically/ (linkStyle))
19776
19806
  * @see defaultValueExpression
19777
19807
  * @see resetValueIf
19778
19808
  */
@@ -20944,7 +20974,7 @@ Serializer.addClass("question", [
20944
20974
  name: "title:text", serializationProperty: "locTitle", layout: "row", dependsOn: "name",
20945
20975
  onPropertyEditorUpdate: function (obj, editor) {
20946
20976
  if (!!obj && !!editor) {
20947
- editor.placeholder = obj.name;
20977
+ editor.placeholder = obj.getDefaultTitle();
20948
20978
  }
20949
20979
  }
20950
20980
  },
@@ -22187,8 +22217,8 @@ var choicesRestful_ChoicesRestful = /** @class */ (function (_super) {
22187
22217
  .replace(ChoicesRestful.noCacheText, "");
22188
22218
  }
22189
22219
  if (textProcessor) {
22190
- var pUrl = textProcessor.processTextEx(urlText, false, settings.web.encodeUrlParams);
22191
- var pPath = textProcessor.processTextEx(this.path, false, settings.web.encodeUrlParams);
22220
+ var pUrl = textProcessor.processTextEx({ text: urlText, runAtDesign: true });
22221
+ var pPath = textProcessor.processTextEx({ text: this.path, runAtDesign: true });
22192
22222
  if (!pUrl.hasAllValuesOnLastRun || !pPath.hasAllValuesOnLastRun) {
22193
22223
  this.processedUrl = "";
22194
22224
  this.processedPath = "";
@@ -22890,10 +22920,11 @@ var martixBase_QuestionMatrixBaseModel = /** @class */ (function (_super) {
22890
22920
  }
22891
22921
  };
22892
22922
  QuestionMatrixBaseModel.prototype.isVisibleCore = function () {
22923
+ var _a;
22893
22924
  var res = _super.prototype.isVisibleCore.call(this);
22894
22925
  if (!res || !this.hideIfRowsEmpty)
22895
22926
  return res;
22896
- return this.visibleRows.length > 0;
22927
+ return ((_a = this.visibleRows) === null || _a === void 0 ? void 0 : _a.length) > 0;
22897
22928
  };
22898
22929
  QuestionMatrixBaseModel.prototype.shouldRunColumnExpression = function () {
22899
22930
  return !this.survey || !this.survey.areInvisibleElementsShowing;
@@ -23245,12 +23276,12 @@ var textPreProcessor_QuestionTextProcessor = /** @class */ (function () {
23245
23276
  text = this.processTextCore(this.getParentTextProcessor(), text, returnDisplayValue);
23246
23277
  return this.processTextCore(this.survey, text, returnDisplayValue);
23247
23278
  };
23248
- QuestionTextProcessor.prototype.processTextEx = function (text, returnDisplayValue) {
23249
- text = this.processText(text, returnDisplayValue);
23279
+ QuestionTextProcessor.prototype.processTextEx = function (params) {
23280
+ params.text = this.processText(params.text, params.returnDisplayValue);
23250
23281
  var hasAllValuesOnLastRun = this.textPreProcessor.hasAllValuesOnLastRun;
23251
- var res = { hasAllValuesOnLastRun: true, text: text };
23282
+ var res = { hasAllValuesOnLastRun: true, text: params.text };
23252
23283
  if (this.survey) {
23253
- res = this.survey.processTextEx(text, returnDisplayValue, false);
23284
+ res = this.survey.processTextEx(params);
23254
23285
  }
23255
23286
  res.hasAllValuesOnLastRun =
23256
23287
  res.hasAllValuesOnLastRun && hasAllValuesOnLastRun;
@@ -24400,6 +24431,13 @@ var question_custom_QuestionCompositeModel = /** @class */ (function (_super) {
24400
24431
  };
24401
24432
  }
24402
24433
  };
24434
+ Object.defineProperty(QuestionCompositeModel.prototype, "ariaRole", {
24435
+ get: function () {
24436
+ return "group";
24437
+ },
24438
+ enumerable: false,
24439
+ configurable: true
24440
+ });
24403
24441
  QuestionCompositeModel.ItemVariableName = "composite";
24404
24442
  return QuestionCompositeModel;
24405
24443
  }(question_custom_QuestionCustomModelBase));
@@ -29026,6 +29064,7 @@ var question_matrixdropdownbase_QuestionMatrixDropdownModelBase = /** @class */
29026
29064
  counter++;
29027
29065
  } while (!helpers_Helpers.isTwoValueEquals(prevTotalValue, this.totalValue) &&
29028
29066
  counter < 3);
29067
+ this.updateVisibilityBasedOnRows();
29029
29068
  };
29030
29069
  QuestionMatrixDropdownModelBase.prototype.runTriggers = function (name, value) {
29031
29070
  _super.prototype.runTriggers.call(this, name, value);
@@ -29206,7 +29245,7 @@ var question_matrixdropdownbase_QuestionMatrixDropdownModelBase = /** @class */
29206
29245
  * }
29207
29246
  * ```
29208
29247
  *
29209
- * To enable Markdown support for the `text` property, implement Markdown-to-HTML conversion in the [onTextMarkdown](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onTextMarkdown) event handler. For an example, refer to the following demo: [Convert Markdown to HTML with Showdown](https://surveyjs.io/form-library/examples/edit-survey-questions-markdown/).
29248
+ * To enable Markdown support for the `text` property, implement Markdown-to-HTML conversion in the [onTextMarkdown](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onTextMarkdown) event handler. For an example, refer to the following demo: [Convert Markdown to HTML with markdown-it](https://surveyjs.io/form-library/examples/edit-survey-questions-markdown/).
29210
29249
  *
29211
29250
  * If you add custom properties, refer to the following help topic to learn how to serialize them into JSON: [Add Custom Properties to Property Grid](https://surveyjs.io/survey-creator/documentation/property-grid#add-custom-properties-to-the-property-grid).
29212
29251
  *
@@ -32329,6 +32368,12 @@ var question_matrixdynamic_QuestionMatrixDynamicModel = /** @class */ (function
32329
32368
  QuestionMatrixDynamicModel.prototype.updateValueFromSurvey = function (newValue, clearData) {
32330
32369
  if (clearData === void 0) { clearData = false; }
32331
32370
  this.setRowCountValueFromData = true;
32371
+ if (this.minRowCount > 0 && helpers_Helpers.isValueEmpty(newValue) && !helpers_Helpers.isValueEmpty(this.defaultRowValue)) {
32372
+ newValue = [];
32373
+ for (var i = 0; i < this.minRowCount; i++) {
32374
+ newValue.push(helpers_Helpers.createCopy(this.defaultRowValue));
32375
+ }
32376
+ }
32332
32377
  _super.prototype.updateValueFromSurvey.call(this, newValue, clearData);
32333
32378
  this.setRowCountValueFromData = false;
32334
32379
  };
@@ -32573,7 +32618,6 @@ var defaultV2Css = {
32573
32618
  titleExpanded: "sd-element__title--expanded",
32574
32619
  titleCollapsed: "sd-element__title--collapsed",
32575
32620
  titleDisabled: "sd-element__title--disabled",
32576
- titleHidden: "sd-element__title--hidden",
32577
32621
  titleOnExpand: "sd-panel__title--expanded",
32578
32622
  titleOnError: "sd-panel__title--error",
32579
32623
  titleBar: "sd-action-title-bar",
@@ -32586,7 +32630,6 @@ var defaultV2Css = {
32586
32630
  footer: "sd-panel__footer",
32587
32631
  requiredText: "sd-panel__required-text",
32588
32632
  header: "sd-panel__header sd-element__header sd-element__header--location-top",
32589
- headerHidden: "sd-panel__header--hidden",
32590
32633
  collapsed: "sd-element--collapsed",
32591
32634
  expanded: "sd-element--expanded",
32592
32635
  expandable: "sd-element--expandable",
@@ -33285,6 +33328,7 @@ var defaultV2Css = {
33285
33328
  rootSelectToRankEmptyValueMod: "sv-ranking--select-to-rank-empty-value",
33286
33329
  rootSelectToRankAlignVertical: "sv-ranking--select-to-rank-vertical",
33287
33330
  rootSelectToRankAlignHorizontal: "sv-ranking--select-to-rank-horizontal",
33331
+ rootSelectToRankSwapAreas: "sv-ranking--select-to-rank-swap-areas",
33288
33332
  item: "sv-ranking-item",
33289
33333
  itemContent: "sv-ranking-item__content sd-ranking-item__content",
33290
33334
  itemIndex: "sv-ranking-item__index sd-ranking-item__index",
@@ -34100,7 +34144,13 @@ var header_Cover = /** @class */ (function (_super) {
34100
34144
  };
34101
34145
  Object.defineProperty(Cover.prototype, "renderedHeight", {
34102
34146
  get: function () {
34103
- return this.height && (this.survey && !this.survey.isMobile || !this.survey) ? Math.max(this.height, this.actualHeight + 40) + "px" : undefined;
34147
+ if (this.survey && !this.survey.isMobile || !this.survey) {
34148
+ return this.height ? Math.max(this.height, this.actualHeight + 40) + "px" : undefined;
34149
+ }
34150
+ if (this.survey && this.survey.isMobile) {
34151
+ return this.mobileHeight ? Math.max(this.mobileHeight, this.actualHeight + 40) + "px" : undefined;
34152
+ }
34153
+ return undefined;
34104
34154
  },
34105
34155
  enumerable: false,
34106
34156
  configurable: true
@@ -34201,6 +34251,9 @@ var header_Cover = /** @class */ (function (_super) {
34201
34251
  header_decorate([
34202
34252
  jsonobject_property()
34203
34253
  ], Cover.prototype, "height", void 0);
34254
+ header_decorate([
34255
+ jsonobject_property()
34256
+ ], Cover.prototype, "mobileHeight", void 0);
34204
34257
  header_decorate([
34205
34258
  jsonobject_property()
34206
34259
  ], Cover.prototype, "inheritWidthFrom", void 0);
@@ -34282,6 +34335,7 @@ var header_Cover = /** @class */ (function (_super) {
34282
34335
 
34283
34336
  Serializer.addClass("cover", [
34284
34337
  { name: "height:number", minValue: 0, default: 256 },
34338
+ { name: "mobileHeight:number", minValue: 0, default: 0 },
34285
34339
  { name: "inheritWidthFrom", default: "container" },
34286
34340
  { name: "textAreaWidth:number", minValue: 0, default: 512 },
34287
34341
  { name: "textGlowEnabled:boolean" },
@@ -34972,6 +35026,9 @@ var panel_PanelModelBase = /** @class */ (function (_super) {
34972
35026
  _this.registerPropertyChangedHandlers(["questionStartIndex", "showQuestionNumbers"], function () {
34973
35027
  _this.updateVisibleIndexes();
34974
35028
  });
35029
+ _this.registerPropertyChangedHandlers(["title"], function () {
35030
+ _this.calcHasTextInTitle();
35031
+ });
34975
35032
  _this.dragDropPanelHelper = new drag_drop_panel_helper_v1_DragDropPanelHelperV1(_this);
34976
35033
  return _this;
34977
35034
  }
@@ -35046,10 +35103,13 @@ var panel_PanelModelBase = /** @class */ (function (_super) {
35046
35103
  col.onPropertyValueChangedCallback = _this.onColumnPropertyValueChangedCallback;
35047
35104
  });
35048
35105
  };
35106
+ PanelModelBase.prototype.calcHasTextInTitle = function () {
35107
+ this.hasTextInTitle = !!this.title;
35108
+ };
35049
35109
  Object.defineProperty(PanelModelBase.prototype, "hasTitle", {
35050
35110
  get: function () {
35051
- return ((this.canShowTitle() && this.locTitle.textOrHtml.length > 0) ||
35052
- (this.isDesignMode && (this.showTitle && this.isInteractiveDesignElement && settings.designMode.showEmptyTitles)));
35111
+ return ((this.canShowTitle() && (this.hasTextInTitle || this.locTitle.textOrHtml.length > 0)) ||
35112
+ (this.isDesignMode && !(settings.supportCreatorV2 && this.isPanel) && this.showTitle && settings.designMode.showEmptyTitles));
35053
35113
  },
35054
35114
  enumerable: false,
35055
35115
  configurable: true
@@ -35537,6 +35597,7 @@ var panel_PanelModelBase = /** @class */ (function (_super) {
35537
35597
  * @see questions
35538
35598
  */
35539
35599
  get: function () {
35600
+ base_Base.collectDependency(this, "elements");
35540
35601
  return this.elementsValue;
35541
35602
  },
35542
35603
  enumerable: false,
@@ -36049,6 +36110,7 @@ var panel_PanelModelBase = /** @class */ (function (_super) {
36049
36110
  }
36050
36111
  this.onElementVisibilityChanged(this);
36051
36112
  this.releaseAnimations();
36113
+ this.calcHasTextInTitle();
36052
36114
  };
36053
36115
  PanelModelBase.prototype.onFirstRendering = function () {
36054
36116
  _super.prototype.onFirstRendering.call(this);
@@ -36801,6 +36863,9 @@ var panel_PanelModelBase = /** @class */ (function (_super) {
36801
36863
  panel_decorate([
36802
36864
  jsonobject_property({ defaultValue: true })
36803
36865
  ], PanelModelBase.prototype, "showTitle", void 0);
36866
+ panel_decorate([
36867
+ jsonobject_property({ defaultValue: false })
36868
+ ], PanelModelBase.prototype, "hasTextInTitle", void 0);
36804
36869
  panel_decorate([
36805
36870
  jsonobject_property({ defaultValue: true })
36806
36871
  ], PanelModelBase.prototype, "showDescription", void 0);
@@ -36831,9 +36896,6 @@ var panel_PanelModel = /** @class */ (function (_super) {
36831
36896
  });
36832
36897
  _this.registerPropertyChangedHandlers(["indent", "innerIndent", "rightIndent"], function () { _this.onIndentChanged(); });
36833
36898
  _this.registerPropertyChangedHandlers(["colSpan"], function () { var _a; (_a = _this.parent) === null || _a === void 0 ? void 0 : _a.updateColumns(); });
36834
- _this.registerPropertyChangedHandlers(["title"], function () {
36835
- _this.calcHasTextInTitle();
36836
- });
36837
36899
  return _this;
36838
36900
  }
36839
36901
  PanelModel.prototype.getType = function () {
@@ -36853,37 +36915,15 @@ var panel_PanelModel = /** @class */ (function (_super) {
36853
36915
  }
36854
36916
  return _super.prototype.getSurvey.call(this, live);
36855
36917
  };
36856
- Object.defineProperty(PanelModel.prototype, "hasTextInTitle", {
36857
- get: function () {
36858
- return this.getPropertyValue("hasTextInTitle");
36859
- },
36860
- enumerable: false,
36861
- configurable: true
36862
- });
36863
- PanelModel.prototype.calcHasTextInTitle = function () {
36864
- this.setPropertyValue("hasTextInTitle", !!this.title);
36865
- };
36866
36918
  PanelModel.prototype.onSurveyLoad = function () {
36867
36919
  _super.prototype.onSurveyLoad.call(this);
36868
36920
  this.onIndentChanged();
36869
- this.calcHasTextInTitle();
36870
36921
  };
36871
36922
  PanelModel.prototype.onSetData = function () {
36872
36923
  _super.prototype.onSetData.call(this);
36873
36924
  this.onIndentChanged();
36874
36925
  this.calcHasTextInTitle();
36875
36926
  };
36876
- Object.defineProperty(PanelModel.prototype, "cssHeader", {
36877
- get: function () {
36878
- return new CssClassBuilder()
36879
- .append(this.cssClasses.panel.header)
36880
- .append(this.cssClasses.panel.headerHidden, !this.hasTextInTitle &&
36881
- !this.hasDescription &&
36882
- this.isDesignMode).toString();
36883
- },
36884
- enumerable: false,
36885
- configurable: true
36886
- });
36887
36927
  Object.defineProperty(PanelModel.prototype, "isPanel", {
36888
36928
  get: function () {
36889
36929
  return true;
@@ -37022,7 +37062,7 @@ var panel_PanelModel = /** @class */ (function (_super) {
37022
37062
  var _this = this;
37023
37063
  var locTitleValue = _super.prototype.createLocTitleProperty.call(this);
37024
37064
  locTitleValue.onGetTextCallback = function (text) {
37025
- if (!text && (_this.state !== "default" || (_this.isDesignMode && _this.isDefaultV2Theme && _this.isInteractiveDesignElement))) {
37065
+ if (!text && (_this.state !== "default")) {
37026
37066
  text = _this.name;
37027
37067
  }
37028
37068
  return text;
@@ -37185,10 +37225,7 @@ var panel_PanelModel = /** @class */ (function (_super) {
37185
37225
  };
37186
37226
  Object.defineProperty(PanelModel.prototype, "cssTitle", {
37187
37227
  get: function () {
37188
- return new CssClassBuilder()
37189
- .append(this.getCssTitle(this.cssClasses.panel))
37190
- .append(this.cssClasses.panel.titleHidden, !this.hasTextInTitle && this.isDesignMode)
37191
- .toString();
37228
+ return this.getCssTitle(this.cssClasses.panel);
37192
37229
  },
37193
37230
  enumerable: false,
37194
37231
  configurable: true
@@ -37671,6 +37708,10 @@ var page_PageModel = /** @class */ (function (_super) {
37671
37708
  PageModel.prototype.canShowTitle = function () {
37672
37709
  return this.survey && this.survey.showPageTitles;
37673
37710
  };
37711
+ PageModel.prototype.setTitleValue = function (val) {
37712
+ _super.prototype.setTitleValue.call(this, val);
37713
+ this.navigationLocStrChanged();
37714
+ };
37674
37715
  Object.defineProperty(PageModel.prototype, "navigationTitle", {
37675
37716
  /**
37676
37717
  * A caption displayed on a navigation button in the TOC or progress bar. Applies when [`showTOC`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showTOC) is `true` or when the [progress bar is visible](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showProgressBar), [`progressBarType`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarType) is set to `"pages"`, and [`progressBarShowPageTitles`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarShowPageTitles) is `true`.
@@ -38255,24 +38296,8 @@ function tryFocusPage(survey, panel) {
38255
38296
  return true;
38256
38297
  }
38257
38298
  function createTOCListModel(survey, onAction) {
38258
- var _a;
38259
- var pagesSource = survey.questionsOnPageMode === "singlePage" ? (_a = survey.pages[0]) === null || _a === void 0 ? void 0 : _a.elements : survey.pages;
38260
- var items = (pagesSource || []).map(function (page) {
38261
- return new action_Action({
38262
- id: page.name,
38263
- locTitle: page.locNavigationTitle,
38264
- action: function () {
38265
- DomDocumentHelper.activeElementBlur();
38266
- !!onAction && onAction();
38267
- if (page instanceof page_PageModel) {
38268
- return survey.tryNavigateToPage(page);
38269
- }
38270
- return tryFocusPage(survey, page);
38271
- },
38272
- visible: new ComputedUpdater(function () { return page.isVisible && !(page["isStartPage"]); })
38273
- });
38274
- });
38275
- var selectedItem = items.filter(function (i) { return !!survey.currentPage && i.id === survey.currentPage.name; })[0] || items.filter(function (i) { return i.id === pagesSource[0].name; })[0];
38299
+ var items = getTOCItems(survey, onAction);
38300
+ var selectedItem = items.filter(function (i) { return !!survey.currentPage && i.id === survey.currentPage.name; })[0] || items[0];
38276
38301
  var listOptions = {
38277
38302
  items: items,
38278
38303
  onSelectionChanged: function (item) {
@@ -38288,10 +38313,35 @@ function createTOCListModel(survey, onAction) {
38288
38313
  var listModel = new list_ListModel(listOptions);
38289
38314
  listModel.allowSelection = false;
38290
38315
  survey.onCurrentPageChanged.add(function (s, o) {
38291
- listModel.selectedItem = items.filter(function (i) { return !!survey.currentPage && i.id === survey.currentPage.name; })[0];
38316
+ listModel.selectedItem = listModel.actions.filter(function (i) { return !!survey.currentPage && i.id === survey.currentPage.name; })[0];
38292
38317
  });
38318
+ survey.registerFunctionOnPropertyValueChanged("pages", function () {
38319
+ listModel.setItems(getTOCItems(survey, onAction));
38320
+ }, "toc");
38293
38321
  return listModel;
38294
38322
  }
38323
+ function getTOCItems(survey, onAction) {
38324
+ var _a;
38325
+ var pagesSource = survey.questionsOnPageMode === "singlePage" ? (_a = survey.pages[0]) === null || _a === void 0 ? void 0 : _a.elements : survey.pages;
38326
+ var items = (pagesSource || []).map(function (page) {
38327
+ return new action_Action({
38328
+ id: page.name,
38329
+ locTitle: page.locNavigationTitle,
38330
+ action: function () {
38331
+ DomDocumentHelper.activeElementBlur();
38332
+ !!onAction && onAction();
38333
+ if (page instanceof page_PageModel) {
38334
+ return survey.tryNavigateToPage(page);
38335
+ }
38336
+ return tryFocusPage(survey, page);
38337
+ },
38338
+ visible: new ComputedUpdater(function () {
38339
+ return page.isVisible && !(page["isStartPage"]);
38340
+ })
38341
+ });
38342
+ });
38343
+ return items;
38344
+ }
38295
38345
  function getTocRootCss(survey, isMobile) {
38296
38346
  if (isMobile === void 0) { isMobile = false; }
38297
38347
  var rootCss = surveyToc_TOCModel.RootStyle;
@@ -38362,6 +38412,7 @@ var surveyToc_TOCModel = /** @class */ (function () {
38362
38412
  configurable: true
38363
38413
  });
38364
38414
  TOCModel.prototype.dispose = function () {
38415
+ this.survey.unRegisterFunctionOnPropertyValueChanged("pages", "toc");
38365
38416
  this.popupModel.dispose();
38366
38417
  this.listModel.dispose();
38367
38418
  };
@@ -45816,13 +45867,15 @@ var survey_SurveyModel = /** @class */ (function (_super) {
45816
45867
  return this.processText(options.html, true);
45817
45868
  };
45818
45869
  SurveyModel.prototype.processText = function (text, returnDisplayValue) {
45819
- return this.processTextEx(text, returnDisplayValue, false).text;
45870
+ return this.processTextEx({ text: text, returnDisplayValue: returnDisplayValue, doEncoding: false }).text;
45820
45871
  };
45821
- SurveyModel.prototype.processTextEx = function (text, returnDisplayValue, doEncoding) {
45822
- var res = {
45823
- text: this.processTextCore(text, returnDisplayValue, doEncoding),
45824
- hasAllValuesOnLastRun: true,
45825
- };
45872
+ SurveyModel.prototype.processTextEx = function (params) {
45873
+ var doEncoding = params.doEncoding === undefined ? settings.web.encodeUrlParams : params.doEncoding;
45874
+ var text = params.text;
45875
+ if (params.runAtDesign || !this.isDesignMode) {
45876
+ text = this.textPreProcessor.process(text, params.returnDisplayValue === true, doEncoding);
45877
+ }
45878
+ var res = { text: text, hasAllValuesOnLastRun: true };
45826
45879
  res.hasAllValuesOnLastRun = this.textPreProcessor.hasAllValuesOnLastRun;
45827
45880
  return res;
45828
45881
  };
@@ -45840,12 +45893,6 @@ var survey_SurveyModel = /** @class */ (function (_super) {
45840
45893
  enumerable: false,
45841
45894
  configurable: true
45842
45895
  });
45843
- SurveyModel.prototype.processTextCore = function (text, returnDisplayValue, doEncoding) {
45844
- if (doEncoding === void 0) { doEncoding = false; }
45845
- if (this.isDesignMode)
45846
- return text;
45847
- return this.textPreProcessor.process(text, returnDisplayValue, doEncoding);
45848
- };
45849
45896
  SurveyModel.prototype.getSurveyMarkdownHtml = function (element, text, name) {
45850
45897
  var options = {
45851
45898
  element: element,
@@ -48080,7 +48127,7 @@ var question_baseselect_QuestionSelectBase = /** @class */ (function (_super) {
48080
48127
  * }
48081
48128
  * ```
48082
48129
  *
48083
- * To enable Markdown support for the `text` property, implement Markdown-to-HTML conversion in the [onTextMarkdown](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onTextMarkdown) event handler. For an example, refer to the following demo: [Convert Markdown to HTML with Showdown](https://surveyjs.io/form-library/examples/edit-survey-questions-markdown/).
48130
+ * To enable Markdown support for the `text` property, implement Markdown-to-HTML conversion in the [`onTextMarkdown`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onTextMarkdown) event handler. For an example, refer to the following demo: [Convert Markdown to HTML with markdown-it](https://surveyjs.io/form-library/examples/edit-survey-questions-markdown/).
48084
48131
  *
48085
48132
  * If you add custom properties, refer to the following help topic to learn how to serialize them into JSON: [Add Custom Properties to Property Grid](https://surveyjs.io/survey-creator/documentation/property-grid#add-custom-properties-to-the-property-grid).
48086
48133
  *
@@ -48116,7 +48163,7 @@ var question_baseselect_QuestionSelectBase = /** @class */ (function (_super) {
48116
48163
  this.isLockVisibleChoices = !!question && question.name === val;
48117
48164
  if (!!question && question.name !== val) {
48118
48165
  question.removeDependedQuestion(this);
48119
- if (this.isDesignMode && !this.isLoadingFromJson && !!val) {
48166
+ if (this.isInDesignMode && !this.isLoadingFromJson && !!val) {
48120
48167
  this.setPropertyValue("choicesFromQuestion", undefined);
48121
48168
  }
48122
48169
  }
@@ -48463,8 +48510,8 @@ var question_baseselect_QuestionSelectBase = /** @class */ (function (_super) {
48463
48510
  };
48464
48511
  Object.defineProperty(QuestionSelectBase.prototype, "isAddDefaultItems", {
48465
48512
  get: function () {
48466
- return settings.showDefaultItemsInCreatorV2 && this.isDesignModeV2 &&
48467
- !this.customWidget && !this.isContentElement;
48513
+ return settings.showDefaultItemsInCreatorV2 && this.isInDesignModeV2 &&
48514
+ !this.customWidget;
48468
48515
  },
48469
48516
  enumerable: false,
48470
48517
  configurable: true
@@ -48590,7 +48637,7 @@ var question_baseselect_QuestionSelectBase = /** @class */ (function (_super) {
48590
48637
  });
48591
48638
  Object.defineProperty(QuestionSelectBase.prototype, "isEmptyActiveChoicesInDesign", {
48592
48639
  get: function () {
48593
- return this.isDesignModeV2 && (this.hasChoicesUrl || this.isMessagePanelVisible);
48640
+ return this.isInDesignModeV2 && (this.hasChoicesUrl || this.isMessagePanelVisible);
48594
48641
  },
48595
48642
  enumerable: false,
48596
48643
  configurable: true
@@ -48630,7 +48677,7 @@ var question_baseselect_QuestionSelectBase = /** @class */ (function (_super) {
48630
48677
  return !!question && question.isValueArray ? question : null;
48631
48678
  };
48632
48679
  QuestionSelectBase.prototype.getChoicesFromArrayQuestion = function (question) {
48633
- if (this.isDesignMode)
48680
+ if (this.isInDesignMode)
48634
48681
  return [];
48635
48682
  var val = question.value;
48636
48683
  if (!Array.isArray(val))
@@ -48655,7 +48702,7 @@ var question_baseselect_QuestionSelectBase = /** @class */ (function (_super) {
48655
48702
  return keys.length > 0 ? keys[0] : undefined;
48656
48703
  };
48657
48704
  QuestionSelectBase.prototype.getChoicesFromSelectQuestion = function (question) {
48658
- if (this.isDesignMode)
48705
+ if (this.isInDesignMode)
48659
48706
  return [];
48660
48707
  var res = [];
48661
48708
  var isSelected = this.choicesFromQuestionMode == "selected"
@@ -48830,7 +48877,7 @@ var question_baseselect_QuestionSelectBase = /** @class */ (function (_super) {
48830
48877
  };
48831
48878
  QuestionSelectBase.prototype.runChoicesByUrl = function () {
48832
48879
  this.updateIsUsingRestful();
48833
- if (!this.choicesByUrl || this.isLoadingFromJson || this.isRunningChoices || this.isDesignModeV2)
48880
+ if (!this.choicesByUrl || this.isLoadingFromJson || this.isRunningChoices || this.isInDesignModeV2)
48834
48881
  return;
48835
48882
  var processor = this.surveyImpl
48836
48883
  ? this.surveyImpl.getTextProcessor()
@@ -48998,7 +49045,7 @@ var question_baseselect_QuestionSelectBase = /** @class */ (function (_super) {
48998
49045
  return !choices || choices.length > 0;
48999
49046
  };
49000
49047
  QuestionSelectBase.prototype.sortVisibleChoices = function (array) {
49001
- if (this.isDesignMode)
49048
+ if (this.isInDesignMode)
49002
49049
  return array;
49003
49050
  var order = this.choicesOrder.toLowerCase();
49004
49051
  if (order == "asc")
@@ -49223,7 +49270,7 @@ var question_baseselect_QuestionSelectBase = /** @class */ (function (_super) {
49223
49270
  });
49224
49271
  Object.defineProperty(QuestionSelectBase.prototype, "headItems", {
49225
49272
  get: function () {
49226
- var count = (this.separateSpecialChoices || this.isDesignMode) ? this.headItemsCount : 0;
49273
+ var count = (this.separateSpecialChoices || this.isInDesignMode) ? this.headItemsCount : 0;
49227
49274
  var res = [];
49228
49275
  for (var i = 0; i < count; i++) {
49229
49276
  if (this.renderedChoices[i]) {
@@ -49237,7 +49284,7 @@ var question_baseselect_QuestionSelectBase = /** @class */ (function (_super) {
49237
49284
  });
49238
49285
  Object.defineProperty(QuestionSelectBase.prototype, "footItems", {
49239
49286
  get: function () {
49240
- var count = (this.separateSpecialChoices || this.isDesignMode) ? this.footItemsCount : 0;
49287
+ var count = (this.separateSpecialChoices || this.isInDesignMode) ? this.footItemsCount : 0;
49241
49288
  var res = [];
49242
49289
  var items = this.renderedChoices;
49243
49290
  for (var i = 0; i < count; i++) {
@@ -49284,7 +49331,7 @@ var question_baseselect_QuestionSelectBase = /** @class */ (function (_super) {
49284
49331
  var columns = [];
49285
49332
  var colCount = this.getCurrentColCount();
49286
49333
  if (this.hasColumns && this.renderedChoices.length > 0) {
49287
- var choicesToBuildColumns = (!this.separateSpecialChoices && !this.isDesignMode) ?
49334
+ var choicesToBuildColumns = (!this.separateSpecialChoices && !this.isInDesignMode) ?
49288
49335
  this.renderedChoices : this.dataChoices;
49289
49336
  if (settings.showItemsInOrder == "column") {
49290
49337
  var prevIndex = 0;
@@ -54611,7 +54658,7 @@ var question_multipletext_QuestionMultipleTextModel = /** @class */ (function (_
54611
54658
  * }
54612
54659
  * ```
54613
54660
  *
54614
- * To enable Markdown support for the `title` property, implement Markdown-to-HTML conversion in the [`onTextMarkdown`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onTextMarkdown) event handler. For an example, refer to the following demo: [Convert Markdown to HTML with Showdown](https://surveyjs.io/form-library/examples/edit-survey-questions-markdown/).
54661
+ * To enable Markdown support for the `title` property, implement Markdown-to-HTML conversion in the [`onTextMarkdown`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onTextMarkdown) event handler. For an example, refer to the following demo: [Convert Markdown to HTML with markdown-it](https://surveyjs.io/form-library/examples/edit-survey-questions-markdown/).
54615
54662
  * @see itemTitleWidth
54616
54663
  * @see addItem
54617
54664
  */
@@ -57126,19 +57173,31 @@ var choices_DragDropChoices = /** @class */ (function (_super) {
57126
57173
  return false;
57127
57174
  return true;
57128
57175
  };
57129
- DragDropChoices.prototype.calculateIsBottom = function (clientY) {
57130
- var choices = this.getVisibleChoices();
57131
- return (choices.indexOf(this.dropTarget) - choices.indexOf(this.draggedElement) >
57132
- 0);
57176
+ DragDropChoices.prototype.isDropTargetDoesntChanged = function (newIsBottom) {
57177
+ return (this.dropTarget === this.prevDropTarget && newIsBottom === this.isBottom);
57178
+ };
57179
+ DragDropChoices.prototype.calculateIsBottom = function (clientY, dropTargetNode) {
57180
+ var rect = dropTargetNode.getBoundingClientRect();
57181
+ return clientY >= rect.y + rect.height / 2;
57133
57182
  };
57134
57183
  DragDropChoices.prototype.afterDragOver = function (dropTargetNode) {
57135
- if (this.isDropTargetDoesntChanged(this.isBottom))
57136
- return;
57184
+ //if (this.isDropTargetDoesntChanged(this.isBottom)) return;
57137
57185
  var choices = this.getVisibleChoices();
57138
57186
  var dropTargetIndex = choices.indexOf(this.dropTarget);
57139
57187
  var draggedElementIndex = choices.indexOf(this.draggedElement);
57140
- choices.splice(draggedElementIndex, 1);
57141
- choices.splice(dropTargetIndex, 0, this.draggedElement);
57188
+ if (draggedElementIndex < dropTargetIndex && this.isBottom === true) {
57189
+ // drag "down"
57190
+ choices.splice(draggedElementIndex, 1);
57191
+ choices.splice(dropTargetIndex, 0, this.draggedElement);
57192
+ }
57193
+ else if (draggedElementIndex > dropTargetIndex && this.isBottom === false) {
57194
+ // drag "up"
57195
+ choices.splice(dropTargetIndex, 1);
57196
+ choices.splice(draggedElementIndex, 0, this.dropTarget);
57197
+ }
57198
+ else {
57199
+ return;
57200
+ }
57142
57201
  if (this.parentElement.getType() === "imagepicker")
57143
57202
  return;
57144
57203
  if (draggedElementIndex !== dropTargetIndex) {
@@ -57298,10 +57357,9 @@ var ranking_choices_DragDropRankingChoices = /** @class */ (function (_super) {
57298
57357
  };
57299
57358
  DragDropRankingChoices.prototype.calculateIsBottom = function (clientY, dropTargetNode) {
57300
57359
  if (this.dropTarget instanceof itemvalue_ItemValue && this.draggedElement !== this.dropTarget) {
57301
- var rect = dropTargetNode.getBoundingClientRect();
57302
- return clientY >= rect.y + rect.height / 2;
57360
+ return _super.prototype.calculateIsBottom.call(this, clientY, dropTargetNode);
57303
57361
  }
57304
- return _super.prototype.calculateIsBottom.call(this, clientY);
57362
+ return false;
57305
57363
  };
57306
57364
  DragDropRankingChoices.prototype.getIndices = function (model, fromChoicesArray, toChoicesArray) {
57307
57365
  var fromIndex = fromChoicesArray.indexOf(this.draggedElement);
@@ -57659,6 +57717,7 @@ var question_ranking_QuestionRankingModel = /** @class */ (function (_super) {
57659
57717
  .append(this.cssClasses.rootSelectToRankEmptyValueMod, this.isEmpty())
57660
57718
  .append(this.cssClasses.rootSelectToRankAlignHorizontal, this.selectToRankEnabled && this.renderedSelectToRankAreasLayout === "horizontal")
57661
57719
  .append(this.cssClasses.rootSelectToRankAlignVertical, this.selectToRankEnabled && this.renderedSelectToRankAreasLayout === "vertical")
57720
+ .append(this.cssClasses.rootSelectToRankSwapAreas, this.selectToRankEnabled && this.renderedSelectToRankAreasLayout === "horizontal" && this.selectToRankSwapAreas)
57662
57721
  .toString();
57663
57722
  },
57664
57723
  enumerable: false,
@@ -58080,6 +58139,16 @@ var question_ranking_QuestionRankingModel = /** @class */ (function (_super) {
58080
58139
  enumerable: false,
58081
58140
  configurable: true
58082
58141
  });
58142
+ Object.defineProperty(QuestionRankingModel.prototype, "selectToRankSwapAreas", {
58143
+ get: function () {
58144
+ return this.getPropertyValue("selectToRankSwapAreas", false);
58145
+ },
58146
+ set: function (val) {
58147
+ this.setPropertyValue("selectToRankSwapAreas", val);
58148
+ },
58149
+ enumerable: false,
58150
+ configurable: true
58151
+ });
58083
58152
  Object.defineProperty(QuestionRankingModel.prototype, "selectToRankAreasLayout", {
58084
58153
  /**
58085
58154
  * Specifies the layout of the ranked and unranked areas. Applies when [`selectToRankEnabled`](https://surveyjs.io/form-library/documentation/api-reference/ranking-question-model#selectToRankEnabled) is `true`.
@@ -58209,6 +58278,13 @@ Serializer.addClass("ranking", [
58209
58278
  visible: true,
58210
58279
  isSerializable: true,
58211
58280
  },
58281
+ {
58282
+ name: "selectToRankSwapAreas:switch",
58283
+ default: false,
58284
+ visible: false,
58285
+ isSerializable: true,
58286
+ dependsOn: "selectToRankEnabled",
58287
+ },
58212
58288
  {
58213
58289
  name: "selectToRankAreasLayout",
58214
58290
  default: "horizontal",
@@ -60562,7 +60638,7 @@ var question_rating_QuestionRatingModel = /** @class */ (function (_super) {
60562
60638
  *
60563
60639
  * If you add custom properties, refer to the following help topic to learn how to serialize them into JSON: [Add Custom Properties to Property Grid](https://surveyjs.io/survey-creator/documentation/property-grid#add-custom-properties-to-the-property-grid).
60564
60640
  *
60565
- * To enable Markdown support for the `text` property, implement Markdown-to-HTML conversion in the [onTextMarkdown](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onTextMarkdown) event handler. For an example, refer to the following demo: [Convert Markdown to HTML with Showdown](https://surveyjs.io/form-library/examples/edit-survey-questions-markdown/).
60641
+ * To enable Markdown support for the `text` property, implement Markdown-to-HTML conversion in the [onTextMarkdown](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onTextMarkdown) event handler. For an example, refer to the following demo: [Convert Markdown to HTML with markdown-it](https://surveyjs.io/form-library/examples/edit-survey-questions-markdown/).
60566
60642
  *
60567
60643
  * If you need to specify only the `value` property, you can set the `rateValues` property to an array of numbers, for example, `[ 3, 6, 10 ]`. These values are both saved in survey results and used as display text.
60568
60644
  *
@@ -65206,8 +65282,11 @@ var question_paneldynamic_QuestionPanelDynamicModel = /** @class */ (function (_
65206
65282
  value = [];
65207
65283
  if (value.length == this.panelCount)
65208
65284
  return;
65209
- for (var i = value.length; i < this.panelCount; i++)
65210
- value.push({});
65285
+ for (var i = value.length; i < this.panelCount; i++) {
65286
+ var panelValue = this.panels[i].getValue();
65287
+ var val = !helpers_Helpers.isValueEmpty(panelValue) ? panelValue : {};
65288
+ value.push(val);
65289
+ }
65211
65290
  if (value.length > this.panelCount) {
65212
65291
  value.splice(this.panelCount, value.length - this.panelCount);
65213
65292
  }
@@ -69928,8 +70007,8 @@ Serializer.addClass("currencymask", [
69928
70007
 
69929
70008
  var Version;
69930
70009
  var ReleaseDate;
69931
- Version = "" + "1.12.2";
69932
- ReleaseDate = "" + "2024-09-16";
70010
+ Version = "" + "1.12.3";
70011
+ ReleaseDate = "" + "2024-09-24";
69933
70012
  function checkLibraryVersion(ver, libraryName) {
69934
70013
  if (Version != ver) {
69935
70014
  var str = "survey-core has version '" + Version + "' and " + libraryName
@@ -70630,6 +70709,7 @@ var defaultStandardCss = {
70630
70709
  rootSelectToRankMod: "sv-ranking--select-to-rank",
70631
70710
  rootSelectToRankAlignVertical: "sv-ranking--select-to-rank-vertical",
70632
70711
  rootSelectToRankAlignHorizontal: "sv-ranking--select-to-rank-horizontal",
70712
+ rootSelectToRankSwapAreas: "sv-ranking--select-to-rank-swap-areas",
70633
70713
  item: "sv-ranking-item",
70634
70714
  itemContent: "sv-ranking-item__content",
70635
70715
  itemIndex: "sv-ranking-item__index",
@@ -71064,6 +71144,7 @@ var modernCss = {
71064
71144
  rootSelectToRankMod: "sv-ranking--select-to-rank",
71065
71145
  rootSelectToRankAlignVertical: "sv-ranking--select-to-rank-vertical",
71066
71146
  rootSelectToRankAlignHorizontal: "sv-ranking--select-to-rank-horizontal",
71147
+ rootSelectToRankSwapAreas: "sv-ranking--select-to-rank-swap-areas",
71067
71148
  item: "sv-ranking-item",
71068
71149
  itemContent: "sv-ranking-item__content",
71069
71150
  itemIndex: "sv-ranking-item__index",