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.
- package/defaultV2.css +53 -11
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +53 -11
- package/defaultV2.fontless.css.map +1 -1
- package/defaultV2.fontless.min.css +2 -2
- package/defaultV2.min.css +2 -2
- package/i18n/arabic.js +1 -1
- package/i18n/arabic.min.js +1 -1
- package/i18n/basque.js +1 -1
- package/i18n/basque.min.js +1 -1
- package/i18n/bulgarian.js +1 -1
- package/i18n/bulgarian.min.js +1 -1
- package/i18n/catalan.js +1 -1
- package/i18n/catalan.min.js +1 -1
- package/i18n/croatian.js +1 -1
- package/i18n/croatian.min.js +1 -1
- package/i18n/czech.js +1 -1
- package/i18n/czech.min.js +1 -1
- package/i18n/danish.js +1 -1
- package/i18n/danish.min.js +1 -1
- package/i18n/dutch.js +1 -1
- package/i18n/dutch.min.js +1 -1
- package/i18n/english.js +1 -1
- package/i18n/english.min.js +1 -1
- package/i18n/estonian.js +1 -1
- package/i18n/estonian.min.js +1 -1
- package/i18n/finnish.js +1 -1
- package/i18n/finnish.min.js +1 -1
- package/i18n/french.js +1 -1
- package/i18n/french.min.js +1 -1
- package/i18n/georgian.js +1 -1
- package/i18n/georgian.min.js +1 -1
- package/i18n/german.js +1 -1
- package/i18n/german.min.js +1 -1
- package/i18n/greek.js +1 -1
- package/i18n/greek.min.js +1 -1
- package/i18n/hebrew.js +1 -1
- package/i18n/hebrew.min.js +1 -1
- package/i18n/hindi.js +1 -1
- package/i18n/hindi.min.js +1 -1
- package/i18n/hungarian.js +1 -1
- package/i18n/hungarian.min.js +1 -1
- package/i18n/icelandic.js +1 -1
- package/i18n/icelandic.min.js +1 -1
- package/i18n/index.js +1 -1
- package/i18n/index.min.js +1 -1
- package/i18n/indonesian.js +1 -1
- package/i18n/indonesian.min.js +1 -1
- package/i18n/italian.js +1 -1
- package/i18n/italian.min.js +1 -1
- package/i18n/japanese.js +1 -1
- package/i18n/japanese.min.js +1 -1
- package/i18n/kazakh.js +1 -1
- package/i18n/kazakh.min.js +1 -1
- package/i18n/korean.js +1 -1
- package/i18n/korean.min.js +1 -1
- package/i18n/latvian.js +1 -1
- package/i18n/latvian.min.js +1 -1
- package/i18n/lithuanian.js +1 -1
- package/i18n/lithuanian.min.js +1 -1
- package/i18n/macedonian.js +1 -1
- package/i18n/macedonian.min.js +1 -1
- package/i18n/malay.js +1 -1
- package/i18n/malay.min.js +1 -1
- package/i18n/nl-BE.js +1 -1
- package/i18n/nl-BE.min.js +1 -1
- package/i18n/norwegian.js +1 -1
- package/i18n/norwegian.min.js +1 -1
- package/i18n/persian.js +1 -1
- package/i18n/persian.min.js +1 -1
- package/i18n/polish.js +1 -1
- package/i18n/polish.min.js +1 -1
- package/i18n/portuguese-br.js +1 -1
- package/i18n/portuguese-br.min.js +1 -1
- package/i18n/portuguese.js +1 -1
- package/i18n/portuguese.min.js +1 -1
- package/i18n/romanian.js +1 -1
- package/i18n/romanian.min.js +1 -1
- package/i18n/russian.js +1 -1
- package/i18n/russian.min.js +1 -1
- package/i18n/serbian.js +1 -1
- package/i18n/serbian.min.js +1 -1
- package/i18n/simplified-chinese.js +1 -1
- package/i18n/simplified-chinese.min.js +1 -1
- package/i18n/slovak.js +1 -1
- package/i18n/slovak.min.js +1 -1
- package/i18n/spanish.js +1 -1
- package/i18n/spanish.min.js +1 -1
- package/i18n/swahili.js +1 -1
- package/i18n/swahili.min.js +1 -1
- package/i18n/swedish.js +1 -1
- package/i18n/swedish.min.js +1 -1
- package/i18n/tajik.js +1 -1
- package/i18n/tajik.min.js +1 -1
- package/i18n/telugu.js +1 -1
- package/i18n/telugu.min.js +1 -1
- package/i18n/thai.js +1 -1
- package/i18n/thai.min.js +1 -1
- package/i18n/traditional-chinese.js +1 -1
- package/i18n/traditional-chinese.min.js +1 -1
- package/i18n/turkish.js +1 -1
- package/i18n/turkish.min.js +1 -1
- package/i18n/ukrainian.js +1 -1
- package/i18n/ukrainian.min.js +1 -1
- package/i18n/urdu.js +1 -1
- package/i18n/urdu.min.js +1 -1
- package/i18n/vietnamese.js +1 -1
- package/i18n/vietnamese.min.js +1 -1
- package/i18n/welsh.js +1 -1
- package/i18n/welsh.min.js +1 -1
- package/modern.css +1 -1
- package/modern.css.map +1 -1
- package/modern.fontless.css +1 -1
- package/modern.fontless.css.map +1 -1
- package/modern.fontless.min.css +1 -1
- package/modern.min.css +1 -1
- package/package.json +1 -1
- package/plugins/bootstrap-integration.js +1 -1
- package/plugins/bootstrap-integration.min.js +1 -1
- package/plugins/bootstrap-material-integration.js +1 -1
- package/plugins/bootstrap-material-integration.min.js +1 -1
- package/survey.core.js +47 -21
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +3 -3
- package/survey.css +1 -1
- package/survey.css.map +1 -1
- package/survey.i18n.js +1 -1
- package/survey.i18n.min.js +1 -1
- package/survey.min.css +1 -1
- package/themes/borderless-dark-panelless.js +1 -1
- package/themes/borderless-dark-panelless.min.js +1 -1
- package/themes/borderless-dark.js +1 -1
- package/themes/borderless-dark.min.js +1 -1
- package/themes/borderless-light-panelless..js +1 -1
- package/themes/borderless-light-panelless..min.js +1 -1
- package/themes/borderless-light.js +1 -1
- package/themes/borderless-light.min.js +1 -1
- package/themes/contrast-dark-panelless.js +1 -1
- package/themes/contrast-dark-panelless.min.js +1 -1
- package/themes/contrast-dark.js +1 -1
- package/themes/contrast-dark.min.js +1 -1
- package/themes/contrast-light-panelless.js +1 -1
- package/themes/contrast-light-panelless.min.js +1 -1
- package/themes/contrast-light.js +1 -1
- package/themes/contrast-light.min.js +1 -1
- package/themes/default-dark-panelless.js +1 -1
- package/themes/default-dark-panelless.min.js +1 -1
- package/themes/default-dark.js +1 -1
- package/themes/default-dark.min.js +1 -1
- package/themes/default-light-panelless.js +1 -1
- package/themes/default-light-panelless.min.js +1 -1
- package/themes/default-light.js +1 -1
- package/themes/default-light.min.js +1 -1
- package/themes/doubleborder-dark-panelless.js +1 -1
- package/themes/doubleborder-dark-panelless.min.js +1 -1
- package/themes/doubleborder-dark.js +1 -1
- package/themes/doubleborder-dark.min.js +1 -1
- package/themes/doubleborder-light-panelles.js +1 -1
- package/themes/doubleborder-light-panelles.min.js +1 -1
- package/themes/doubleborder-light.js +1 -1
- package/themes/doubleborder-light.min.js +1 -1
- package/themes/flat-dark-panelless.js +1 -1
- package/themes/flat-dark-panelless.min.js +1 -1
- package/themes/flat-dark.js +1 -1
- package/themes/flat-dark.min.js +1 -1
- package/themes/flat-light-panelless.js +1 -1
- package/themes/flat-light-panelless.min.js +1 -1
- package/themes/flat-light.js +1 -1
- package/themes/flat-light.min.js +1 -1
- package/themes/index.js +1 -1
- package/themes/index.min.js +1 -1
- package/themes/layered-dark-panelless.js +1 -1
- package/themes/layered-dark-panelless.min.js +1 -1
- package/themes/layered-dark.js +1 -1
- package/themes/layered-dark.min.js +1 -1
- package/themes/layered-light-panelless.js +1 -1
- package/themes/layered-light-panelless.min.js +1 -1
- package/themes/layered-light.js +1 -1
- package/themes/layered-light.min.js +1 -1
- package/themes/plain-dark-panelless.js +1 -1
- package/themes/plain-dark-panelless.min.js +1 -1
- package/themes/plain-dark.js +1 -1
- package/themes/plain-dark.min.js +1 -1
- package/themes/plain-light-panelless.js +1 -1
- package/themes/plain-light-panelless.min.js +1 -1
- package/themes/plain-light.js +1 -1
- package/themes/plain-light.min.js +1 -1
- package/themes/sharp-dark-panelless.js +1 -1
- package/themes/sharp-dark-panelless.min.js +1 -1
- package/themes/sharp-dark.js +1 -1
- package/themes/sharp-dark.min.js +1 -1
- package/themes/sharp-light-panelless.js +1 -1
- package/themes/sharp-light-panelless.min.js +1 -1
- package/themes/sharp-light.js +1 -1
- package/themes/sharp-light.min.js +1 -1
- package/themes/solid-dark-panelless.js +1 -1
- package/themes/solid-dark-panelless.min.js +1 -1
- package/themes/solid-dark.js +1 -1
- package/themes/solid-dark.min.js +1 -1
- package/themes/solid-light-panelless.js +1 -1
- package/themes/solid-light-panelless.min.js +1 -1
- package/themes/solid-light.js +1 -1
- package/themes/solid-light.min.js +1 -1
- package/themes/three-dimensional-dark-panelless.js +1 -1
- package/themes/three-dimensional-dark-panelless.min.js +1 -1
- package/themes/three-dimensional-dark.js +1 -1
- package/themes/three-dimensional-dark.min.js +1 -1
- package/themes/three-dimensional-light-panelless.js +1 -1
- package/themes/three-dimensional-light-panelless.min.js +1 -1
- package/themes/three-dimensional-light.js +1 -1
- package/themes/three-dimensional-light.min.js +1 -1
- package/ts3.4/typings/defaultCss/defaultV2Css.d.ts +3 -0
- package/ts3.4/typings/dragdrop/dom-adapter.d.ts +2 -0
- package/ts3.4/typings/question_checkbox.d.ts +1 -0
- package/ts3.4/typings/question_matrixdropdowncolumn.d.ts +1 -1
- package/ts3.4/typings/question_paneldynamic.d.ts +1 -1
- package/ts3.4/typings/question_text.d.ts +2 -0
- package/typings/defaultCss/defaultV2Css.d.ts +3 -0
- package/typings/dragdrop/dom-adapter.d.ts +2 -0
- package/typings/question_checkbox.d.ts +1 -0
- package/typings/question_matrixdropdowncolumn.d.ts +2 -2
- package/typings/question_paneldynamic.d.ts +1 -1
- package/typings/question_text.d.ts +2 -0
package/modern.fontless.min.css
CHANGED
package/modern.min.css
CHANGED
package/package.json
CHANGED
package/survey.core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v1.9.
|
|
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 =
|
|
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 =
|
|
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.
|
|
9504
|
-
ReleaseDate = "" + "2024-03-
|
|
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 :
|
|
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
|
-
|
|
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(
|
|
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, "
|
|
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.
|
|
43942
|
+
return this.templateQuestion.setValueExpression;
|
|
43928
43943
|
},
|
|
43929
43944
|
set: function (val) {
|
|
43930
|
-
this.templateQuestion.
|
|
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
|
-
|
|
62964
|
-
if (
|
|
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) {
|