survey-core 1.9.135 → 1.9.136

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 (223) hide show
  1. package/defaultV2.css +53 -11
  2. package/defaultV2.css.map +1 -1
  3. package/defaultV2.fontless.css +53 -11
  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/polish.js +1 -1
  72. package/i18n/polish.min.js +1 -1
  73. package/i18n/portuguese-br.js +1 -1
  74. package/i18n/portuguese-br.min.js +1 -1
  75. package/i18n/portuguese.js +1 -1
  76. package/i18n/portuguese.min.js +1 -1
  77. package/i18n/romanian.js +1 -1
  78. package/i18n/romanian.min.js +1 -1
  79. package/i18n/russian.js +1 -1
  80. package/i18n/russian.min.js +1 -1
  81. package/i18n/serbian.js +1 -1
  82. package/i18n/serbian.min.js +1 -1
  83. package/i18n/simplified-chinese.js +1 -1
  84. package/i18n/simplified-chinese.min.js +1 -1
  85. package/i18n/slovak.js +1 -1
  86. package/i18n/slovak.min.js +1 -1
  87. package/i18n/spanish.js +1 -1
  88. package/i18n/spanish.min.js +1 -1
  89. package/i18n/swahili.js +1 -1
  90. package/i18n/swahili.min.js +1 -1
  91. package/i18n/swedish.js +1 -1
  92. package/i18n/swedish.min.js +1 -1
  93. package/i18n/tajik.js +1 -1
  94. package/i18n/tajik.min.js +1 -1
  95. package/i18n/telugu.js +1 -1
  96. package/i18n/telugu.min.js +1 -1
  97. package/i18n/thai.js +1 -1
  98. package/i18n/thai.min.js +1 -1
  99. package/i18n/traditional-chinese.js +1 -1
  100. package/i18n/traditional-chinese.min.js +1 -1
  101. package/i18n/turkish.js +1 -1
  102. package/i18n/turkish.min.js +1 -1
  103. package/i18n/ukrainian.js +1 -1
  104. package/i18n/ukrainian.min.js +1 -1
  105. package/i18n/urdu.js +1 -1
  106. package/i18n/urdu.min.js +1 -1
  107. package/i18n/vietnamese.js +1 -1
  108. package/i18n/vietnamese.min.js +1 -1
  109. package/i18n/welsh.js +1 -1
  110. package/i18n/welsh.min.js +1 -1
  111. package/modern.css +1 -1
  112. package/modern.css.map +1 -1
  113. package/modern.fontless.css +1 -1
  114. package/modern.fontless.css.map +1 -1
  115. package/modern.fontless.min.css +1 -1
  116. package/modern.min.css +1 -1
  117. package/package.json +1 -1
  118. package/plugins/bootstrap-integration.js +1 -1
  119. package/plugins/bootstrap-integration.min.js +1 -1
  120. package/plugins/bootstrap-material-integration.js +1 -1
  121. package/plugins/bootstrap-material-integration.min.js +1 -1
  122. package/survey.core.js +47 -21
  123. package/survey.core.js.map +1 -1
  124. package/survey.core.min.js +3 -3
  125. package/survey.css +1 -1
  126. package/survey.css.map +1 -1
  127. package/survey.i18n.js +1 -1
  128. package/survey.i18n.min.js +1 -1
  129. package/survey.min.css +1 -1
  130. package/themes/borderless-dark-panelless.js +1 -1
  131. package/themes/borderless-dark-panelless.min.js +1 -1
  132. package/themes/borderless-dark.js +1 -1
  133. package/themes/borderless-dark.min.js +1 -1
  134. package/themes/borderless-light-panelless..js +1 -1
  135. package/themes/borderless-light-panelless..min.js +1 -1
  136. package/themes/borderless-light.js +1 -1
  137. package/themes/borderless-light.min.js +1 -1
  138. package/themes/contrast-dark-panelless.js +1 -1
  139. package/themes/contrast-dark-panelless.min.js +1 -1
  140. package/themes/contrast-dark.js +1 -1
  141. package/themes/contrast-dark.min.js +1 -1
  142. package/themes/contrast-light-panelless.js +1 -1
  143. package/themes/contrast-light-panelless.min.js +1 -1
  144. package/themes/contrast-light.js +1 -1
  145. package/themes/contrast-light.min.js +1 -1
  146. package/themes/default-dark-panelless.js +1 -1
  147. package/themes/default-dark-panelless.min.js +1 -1
  148. package/themes/default-dark.js +1 -1
  149. package/themes/default-dark.min.js +1 -1
  150. package/themes/default-light-panelless.js +1 -1
  151. package/themes/default-light-panelless.min.js +1 -1
  152. package/themes/default-light.js +1 -1
  153. package/themes/default-light.min.js +1 -1
  154. package/themes/doubleborder-dark-panelless.js +1 -1
  155. package/themes/doubleborder-dark-panelless.min.js +1 -1
  156. package/themes/doubleborder-dark.js +1 -1
  157. package/themes/doubleborder-dark.min.js +1 -1
  158. package/themes/doubleborder-light-panelles.js +1 -1
  159. package/themes/doubleborder-light-panelles.min.js +1 -1
  160. package/themes/doubleborder-light.js +1 -1
  161. package/themes/doubleborder-light.min.js +1 -1
  162. package/themes/flat-dark-panelless.js +1 -1
  163. package/themes/flat-dark-panelless.min.js +1 -1
  164. package/themes/flat-dark.js +1 -1
  165. package/themes/flat-dark.min.js +1 -1
  166. package/themes/flat-light-panelless.js +1 -1
  167. package/themes/flat-light-panelless.min.js +1 -1
  168. package/themes/flat-light.js +1 -1
  169. package/themes/flat-light.min.js +1 -1
  170. package/themes/index.js +1 -1
  171. package/themes/index.min.js +1 -1
  172. package/themes/layered-dark-panelless.js +1 -1
  173. package/themes/layered-dark-panelless.min.js +1 -1
  174. package/themes/layered-dark.js +1 -1
  175. package/themes/layered-dark.min.js +1 -1
  176. package/themes/layered-light-panelless.js +1 -1
  177. package/themes/layered-light-panelless.min.js +1 -1
  178. package/themes/layered-light.js +1 -1
  179. package/themes/layered-light.min.js +1 -1
  180. package/themes/plain-dark-panelless.js +1 -1
  181. package/themes/plain-dark-panelless.min.js +1 -1
  182. package/themes/plain-dark.js +1 -1
  183. package/themes/plain-dark.min.js +1 -1
  184. package/themes/plain-light-panelless.js +1 -1
  185. package/themes/plain-light-panelless.min.js +1 -1
  186. package/themes/plain-light.js +1 -1
  187. package/themes/plain-light.min.js +1 -1
  188. package/themes/sharp-dark-panelless.js +1 -1
  189. package/themes/sharp-dark-panelless.min.js +1 -1
  190. package/themes/sharp-dark.js +1 -1
  191. package/themes/sharp-dark.min.js +1 -1
  192. package/themes/sharp-light-panelless.js +1 -1
  193. package/themes/sharp-light-panelless.min.js +1 -1
  194. package/themes/sharp-light.js +1 -1
  195. package/themes/sharp-light.min.js +1 -1
  196. package/themes/solid-dark-panelless.js +1 -1
  197. package/themes/solid-dark-panelless.min.js +1 -1
  198. package/themes/solid-dark.js +1 -1
  199. package/themes/solid-dark.min.js +1 -1
  200. package/themes/solid-light-panelless.js +1 -1
  201. package/themes/solid-light-panelless.min.js +1 -1
  202. package/themes/solid-light.js +1 -1
  203. package/themes/solid-light.min.js +1 -1
  204. package/themes/three-dimensional-dark-panelless.js +1 -1
  205. package/themes/three-dimensional-dark-panelless.min.js +1 -1
  206. package/themes/three-dimensional-dark.js +1 -1
  207. package/themes/three-dimensional-dark.min.js +1 -1
  208. package/themes/three-dimensional-light-panelless.js +1 -1
  209. package/themes/three-dimensional-light-panelless.min.js +1 -1
  210. package/themes/three-dimensional-light.js +1 -1
  211. package/themes/three-dimensional-light.min.js +1 -1
  212. package/ts3.4/typings/defaultCss/defaultV2Css.d.ts +3 -0
  213. package/ts3.4/typings/dragdrop/dom-adapter.d.ts +2 -0
  214. package/ts3.4/typings/question_checkbox.d.ts +1 -0
  215. package/ts3.4/typings/question_matrixdropdowncolumn.d.ts +1 -1
  216. package/ts3.4/typings/question_paneldynamic.d.ts +1 -1
  217. package/ts3.4/typings/question_text.d.ts +2 -0
  218. package/typings/defaultCss/defaultV2Css.d.ts +3 -0
  219. package/typings/dragdrop/dom-adapter.d.ts +2 -0
  220. package/typings/question_checkbox.d.ts +1 -0
  221. package/typings/question_matrixdropdowncolumn.d.ts +2 -2
  222. package/typings/question_paneldynamic.d.ts +1 -1
  223. package/typings/question_text.d.ts +2 -0
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.135
2
+ * surveyjs - Survey JavaScript library v1.9.136
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
  */
package/modern.min.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.135
2
+ * surveyjs - Survey JavaScript library v1.9.136
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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-core",
3
- "version": "1.9.135",
3
+ "version": "1.9.136",
4
4
  "description": "survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.",
5
5
  "keywords": [
6
6
  "Survey",
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.135
2
+ * surveyjs - Survey JavaScript library v1.9.136
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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.135
2
+ * surveyjs - Survey JavaScript library v1.9.136
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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.135
2
+ * surveyjs - Survey JavaScript library v1.9.136
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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.135
2
+ * surveyjs - Survey JavaScript library v1.9.136
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
  */
package/survey.core.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.135
2
+ * surveyjs - Survey JavaScript library v1.9.136
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
  */
@@ -5503,6 +5503,9 @@ var defaultV2Css = {
5503
5503
  progressButtonsContainerCenter: "sd-progress-buttons__container-center",
5504
5504
  progressButtonsContainer: "sd-progress-buttons__container",
5505
5505
  progressButtonsConnector: "sd-progress-buttons__connector",
5506
+ progressButtonsButton: "sd-progress-buttons__button",
5507
+ progressButtonsButtonBackground: "sd-progress-buttons__button-background",
5508
+ progressButtonsButtonContent: "sd-progress-buttons__button-content",
5506
5509
  progressButtonsHeader: "sd-progress-buttons__header",
5507
5510
  progressButtonsFooter: "sd-progress-buttons__footer",
5508
5511
  progressButtonsImageButtonLeft: "sd-progress-buttons__image-button-left",
@@ -6937,7 +6940,7 @@ var DragDropCore = /** @class */ (function () {
6937
6940
  this.domAdapter.draggedElementShortcut.style.display = "none";
6938
6941
  if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_2__["DomDocumentHelper"].isAvailable())
6939
6942
  return null;
6940
- var dragOverNode = _global_variables_utils__WEBPACK_IMPORTED_MODULE_2__["DomDocumentHelper"].getDocument().elementFromPoint(clientX, clientY);
6943
+ var dragOverNode = this.domAdapter.documentOrShadowRoot.elementFromPoint(clientX, clientY);
6941
6944
  // this.domAdapter.draggedElementShortcut.hidden = false;
6942
6945
  this.domAdapter.draggedElementShortcut.style.display = displayProp || "block";
6943
6946
  if (!dragOverNode)
@@ -7124,10 +7127,17 @@ var DragDropDOMAdapter = /** @class */ (function () {
7124
7127
  };
7125
7128
  this.draggedElementShortcut = null;
7126
7129
  }
7130
+ Object.defineProperty(DragDropDOMAdapter.prototype, "documentOrShadowRoot", {
7131
+ get: function () {
7132
+ return _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment.root;
7133
+ },
7134
+ enumerable: false,
7135
+ configurable: true
7136
+ });
7127
7137
  Object.defineProperty(DragDropDOMAdapter.prototype, "rootElement", {
7128
7138
  get: function () {
7129
7139
  if (Object(_utils_utils__WEBPACK_IMPORTED_MODULE_0__["isShadowDOM"])(_settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment.root)) {
7130
- return _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment.root.host;
7140
+ return this.rootContainer || _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment.root.host;
7131
7141
  }
7132
7142
  else {
7133
7143
  return this.rootContainer || _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment.root.documentElement || document.body;
@@ -7252,7 +7262,7 @@ var DragDropDOMAdapter = /** @class */ (function () {
7252
7262
  var displayProp = this.draggedElementShortcut.style.display;
7253
7263
  //this.draggedElementShortcut.hidden = true;
7254
7264
  this.draggedElementShortcut.style.display = "none";
7255
- var dragOverNode = document.elementFromPoint(clientX, clientY);
7265
+ var dragOverNode = this.documentOrShadowRoot.elementFromPoint(clientX, clientY);
7256
7266
  //this.draggedElementShortcut.hidden = false;
7257
7267
  this.draggedElementShortcut.style.display = displayProp || "block";
7258
7268
  var scrollableParentNode = Object(_utils_utils__WEBPACK_IMPORTED_MODULE_0__["findScrollableParent"])(dragOverNode);
@@ -9500,8 +9510,8 @@ __webpack_require__.r(__webpack_exports__);
9500
9510
 
9501
9511
  var Version;
9502
9512
  var ReleaseDate;
9503
- Version = "" + "1.9.135";
9504
- ReleaseDate = "" + "2024-03-19";
9513
+ Version = "" + "1.9.136";
9514
+ ReleaseDate = "" + "2024-03-26";
9505
9515
  function checkLibraryVersion(ver, libraryName) {
9506
9516
  if (Version != ver) {
9507
9517
  var str = "survey-core has version '" + Version + "' and " + libraryName
@@ -27272,7 +27282,7 @@ var ProgressButtons = /** @class */ (function (_super) {
27272
27282
  if (!listContainerElement)
27273
27283
  return;
27274
27284
  var listContainerElements = element.querySelectorAll(".sd-progress-buttons__connector");
27275
- var circleWidth = this.showItemNumbers ? 17 : 7;
27285
+ var circleWidth = this.showItemNumbers ? 17 : 5;
27276
27286
  var connectorWidth = listContainerElement.clientWidth / (listContainerElement.children.length - 1) - circleWidth;
27277
27287
  for (var i = 0; i < listContainerElements.length; i++) {
27278
27288
  listContainerElements[i].style.width = connectorWidth + "px";
@@ -34588,6 +34598,10 @@ var QuestionCheckboxModel = /** @class */ (function (_super) {
34588
34598
  return this.hasSelectAll;
34589
34599
  return _super.prototype.isItemInList.call(this, item);
34590
34600
  };
34601
+ QuestionCheckboxModel.prototype.getDisplayValueEmpty = function () {
34602
+ var _this = this;
34603
+ return _itemvalue__WEBPACK_IMPORTED_MODULE_4__["ItemValue"].getTextOrHtmlByValue(this.visibleChoices.filter(function (choice) { return choice != _this.selectAllItemValue; }), undefined);
34604
+ };
34591
34605
  QuestionCheckboxModel.prototype.getDisplayValueCore = function (keysAsText, value) {
34592
34606
  if (!Array.isArray(value))
34593
34607
  return _super.prototype.getDisplayValueCore.call(this, keysAsText, value);
@@ -35712,9 +35726,10 @@ var QuestionCustomModel = /** @class */ (function (_super) {
35712
35726
  }
35713
35727
  };
35714
35728
  QuestionCustomModel.prototype.convertDataName = function (name) {
35715
- if (!this.contentQuestion)
35729
+ var q = this.contentQuestion;
35730
+ if (!q || name === this.getValueName())
35716
35731
  return _super.prototype.convertDataName.call(this, name);
35717
- var newName = name.replace(this.contentQuestion.getValueName(), this.getValueName());
35732
+ var newName = name.replace(q.getValueName(), this.getValueName());
35718
35733
  return newName.indexOf(this.getValueName()) == 0
35719
35734
  ? newName
35720
35735
  : _super.prototype.convertDataName.call(this, name);
@@ -40054,7 +40069,7 @@ var QuestionMatrixModel = /** @class */ (function (_super) {
40054
40069
  return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_11__["CssClassBuilder"]()
40055
40070
  .append(css.cell, hasCellText)
40056
40071
  .append(hasCellText ? css.cellText : css.label)
40057
- .append(css.itemOnError, !hasCellText && this.hasCssError())
40072
+ .append(css.itemOnError, !hasCellText && (this.isAllRowRequired ? this.hasErrorInRow(row) : this.hasCssError()))
40058
40073
  .append(hasCellText ? css.cellTextSelected : css.itemChecked, isChecked)
40059
40074
  .append(hasCellText ? css.cellTextDisabled : css.itemDisabled, isDisabled)
40060
40075
  .append(css.itemHover, allowHover && !hasCellText)
@@ -43913,7 +43928,7 @@ var MatrixDropdownColumn = /** @class */ (function (_super) {
43913
43928
  enumerable: false,
43914
43929
  configurable: true
43915
43930
  });
43916
- Object.defineProperty(MatrixDropdownColumn.prototype, "setValueExpession", {
43931
+ Object.defineProperty(MatrixDropdownColumn.prototype, "setValueExpression", {
43917
43932
  /**
43918
43933
  * An expression used to calculate a value for all column cells.
43919
43934
  *
@@ -43924,10 +43939,10 @@ var MatrixDropdownColumn = /** @class */ (function (_super) {
43924
43939
  * @see resetValueIf
43925
43940
  */
43926
43941
  get: function () {
43927
- return this.templateQuestion.setValueExpession;
43942
+ return this.templateQuestion.setValueExpression;
43928
43943
  },
43929
43944
  set: function (val) {
43930
- this.templateQuestion.setValueExpession = val;
43945
+ this.templateQuestion.setValueExpression = val;
43931
43946
  },
43932
43947
  enumerable: false,
43933
43948
  configurable: true
@@ -50370,9 +50385,9 @@ var QuestionPanelDynamicModel = /** @class */ (function (_super) {
50370
50385
  enumerable: false,
50371
50386
  configurable: true
50372
50387
  });
50373
- QuestionPanelDynamicModel.prototype.getPanelWrapperCss = function () {
50388
+ QuestionPanelDynamicModel.prototype.getPanelWrapperCss = function (panel) {
50374
50389
  return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_10__["CssClassBuilder"]()
50375
- .append(this.cssClasses.panelWrapper)
50390
+ .append(this.cssClasses.panelWrapper, !panel || panel.visible)
50376
50391
  .append(this.cssClasses.panelWrapperInRow, this.panelRemoveButtonLocation === "right")
50377
50392
  .toString();
50378
50393
  };
@@ -54256,11 +54271,20 @@ var QuestionTextModel = /** @class */ (function (_super) {
54256
54271
  get: function () {
54257
54272
  var style = {};
54258
54273
  style.width = this.inputWidth;
54274
+ this.updateTextAlign(style);
54259
54275
  return style;
54260
54276
  },
54261
54277
  enumerable: false,
54262
54278
  configurable: true
54263
54279
  });
54280
+ QuestionTextModel.prototype.updateTextAlign = function (style) {
54281
+ if (this.inputTextAlignment !== "auto") {
54282
+ style.textAlign = this.inputTextAlignment;
54283
+ }
54284
+ else if (this.maskType === "numeric" || this.maskType === "currency") {
54285
+ style.textAlign = "right";
54286
+ }
54287
+ };
54264
54288
  QuestionTextModel.prototype.updateValueOnEvent = function (event) {
54265
54289
  var newValue = event.target.value;
54266
54290
  if (!this.isTwoValueEquals(this.value, newValue)) {
@@ -54282,6 +54306,9 @@ var QuestionTextModel = /** @class */ (function (_super) {
54282
54306
  onSet: function (newValue, target) { target.onSetMaskType(newValue); }
54283
54307
  })
54284
54308
  ], QuestionTextModel.prototype, "maskType", void 0);
54309
+ __decorate([
54310
+ Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
54311
+ ], QuestionTextModel.prototype, "inputTextAlignment", void 0);
54285
54312
  __decorate([
54286
54313
  Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
54287
54314
  ], QuestionTextModel.prototype, "_inputValue", void 0);
@@ -54448,6 +54475,7 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_1__["Serializer"].addClass("text", [
54448
54475
  return isMinMaxType(obj);
54449
54476
  },
54450
54477
  },
54478
+ { name: "inputTextAlignment", default: "auto", choices: ["left", "right", "auto"], visible: false },
54451
54479
  {
54452
54480
  name: "maskType:masktype",
54453
54481
  default: "none",
@@ -62960,14 +62988,12 @@ var SurveyModel = /** @class */ (function (_super) {
62960
62988
  };
62961
62989
  SurveyModel.prototype.processResponsiveness = function (width, mobileWidth) {
62962
62990
  var isMobile = width < mobileWidth;
62963
- this.layoutElements.forEach(function (layoutElement) { return layoutElement.processResponsiveness && layoutElement.processResponsiveness(width); });
62964
- if (this.isMobile === isMobile) {
62965
- return false;
62966
- }
62967
- else {
62991
+ var isMobileChanged = this.isMobile !== isMobile;
62992
+ if (isMobileChanged) {
62968
62993
  this.setIsMobile(isMobile);
62969
- return true;
62970
62994
  }
62995
+ this.layoutElements.forEach(function (layoutElement) { return layoutElement.processResponsiveness && layoutElement.processResponsiveness(width); });
62996
+ return isMobileChanged;
62971
62997
  };
62972
62998
  SurveyModel.prototype.triggerResponsiveness = function (hard) {
62973
62999
  this.getAllQuestions().forEach(function (question) {