survey-core 1.9.131 → 1.9.132
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 +10 -1
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +10 -1
- 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.fontless.css +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 +86 -17
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +3 -3
- package/survey.css +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/base.d.ts +1 -1
- package/ts3.4/typings/question.d.ts +4 -1
- package/ts3.4/typings/question_custom.d.ts +2 -0
- package/ts3.4/typings/question_multipletext.d.ts +1 -0
- package/ts3.4/typings/settings.d.ts +1 -1
- package/ts3.4/typings/survey-element.d.ts +1 -0
- package/ts3.4/typings/utils/utils.d.ts +2 -0
- package/typings/base.d.ts +1 -1
- package/typings/question.d.ts +4 -1
- package/typings/question_custom.d.ts +2 -0
- package/typings/question_multipletext.d.ts +1 -0
- package/typings/settings.d.ts +1 -1
- package/typings/survey-element.d.ts +1 -0
- package/typings/utils/utils.d.ts +2 -0
package/i18n/serbian.min.js
CHANGED
package/i18n/slovak.js
CHANGED
package/i18n/slovak.min.js
CHANGED
package/i18n/spanish.js
CHANGED
package/i18n/spanish.min.js
CHANGED
package/i18n/swahili.js
CHANGED
package/i18n/swahili.min.js
CHANGED
package/i18n/swedish.js
CHANGED
package/i18n/swedish.min.js
CHANGED
package/i18n/tajik.js
CHANGED
package/i18n/tajik.min.js
CHANGED
package/i18n/telugu.js
CHANGED
package/i18n/telugu.min.js
CHANGED
package/i18n/thai.js
CHANGED
package/i18n/thai.min.js
CHANGED
package/i18n/turkish.js
CHANGED
package/i18n/turkish.min.js
CHANGED
package/i18n/ukrainian.js
CHANGED
package/i18n/ukrainian.min.js
CHANGED
package/i18n/urdu.js
CHANGED
package/i18n/urdu.min.js
CHANGED
package/i18n/vietnamese.js
CHANGED
package/i18n/vietnamese.min.js
CHANGED
package/i18n/welsh.js
CHANGED
package/i18n/welsh.min.js
CHANGED
package/modern.css
CHANGED
package/modern.fontless.css
CHANGED
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.132
|
|
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
|
*/
|
|
@@ -5570,7 +5570,7 @@ var defaultV2Css = {
|
|
|
5570
5570
|
expanded: "sd-element--expanded",
|
|
5571
5571
|
nested: "sd-element--nested",
|
|
5572
5572
|
invisible: "sd-element--invisible",
|
|
5573
|
-
composite: "sd-element--complex",
|
|
5573
|
+
composite: "sd-element--complex sd-composite",
|
|
5574
5574
|
disabled: "sd-question--disabled",
|
|
5575
5575
|
errorsContainer: "sd-element__erbox sd-question__erbox",
|
|
5576
5576
|
errorsContainerTop: "sd-element__erbox--above-element sd-question__erbox--above-question",
|
|
@@ -7682,14 +7682,14 @@ var DragDropRankingSelectToRank = /** @class */ (function (_super) {
|
|
|
7682
7682
|
if (dragOverNode.dataset.ranking === "from-container" || dragOverNode.dataset.ranking === "to-container") {
|
|
7683
7683
|
return dragOverNode;
|
|
7684
7684
|
}
|
|
7685
|
-
if (this.parentElement.
|
|
7685
|
+
if (this.parentElement.rankingChoices.length === 0 ||
|
|
7686
|
+
this.parentElement.unRankingChoices.length === 0) {
|
|
7686
7687
|
var toContainer = dragOverNode.closest("[data-ranking='to-container']");
|
|
7687
7688
|
var fromContainer = dragOverNode.closest("[data-ranking='from-container']");
|
|
7688
7689
|
if (!!toContainer)
|
|
7689
7690
|
return toContainer;
|
|
7690
7691
|
if (!!fromContainer)
|
|
7691
7692
|
return fromContainer;
|
|
7692
|
-
return null;
|
|
7693
7693
|
}
|
|
7694
7694
|
return _super.prototype.findDropTargetNodeByDragOverNode.call(this, dragOverNode);
|
|
7695
7695
|
};
|
|
@@ -7739,8 +7739,10 @@ var DragDropRankingSelectToRank = /** @class */ (function (_super) {
|
|
|
7739
7739
|
DragDropRankingSelectToRank.prototype.getIndixies = function (model, fromChoicesArray, toChoicesArray) {
|
|
7740
7740
|
var fromIndex = fromChoicesArray.indexOf(this.draggedElement);
|
|
7741
7741
|
var toIndex = toChoicesArray.indexOf(this.dropTarget);
|
|
7742
|
-
if (toIndex === -1)
|
|
7743
|
-
|
|
7742
|
+
if (toIndex === -1) {
|
|
7743
|
+
var length_1 = model.value.length;
|
|
7744
|
+
toIndex = fromChoicesArray === toChoicesArray ? length_1 - 1 : length_1;
|
|
7745
|
+
}
|
|
7744
7746
|
return { fromIndex: fromIndex, toIndex: toIndex };
|
|
7745
7747
|
};
|
|
7746
7748
|
DragDropRankingSelectToRank.prototype.doUIEffects = function (dropTargetNode, fromIndex, toIndex) {
|
|
@@ -9436,8 +9438,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9436
9438
|
//import "../../modern.scss";
|
|
9437
9439
|
var Version;
|
|
9438
9440
|
var ReleaseDate;
|
|
9439
|
-
Version = "" + "1.9.
|
|
9440
|
-
ReleaseDate = "" + "2024-02-
|
|
9441
|
+
Version = "" + "1.9.132";
|
|
9442
|
+
ReleaseDate = "" + "2024-02-27";
|
|
9441
9443
|
function checkLibraryVersion(ver, libraryName) {
|
|
9442
9444
|
if (Version != ver) {
|
|
9443
9445
|
var str = "survey-core has version '" + Version + "' and " + libraryName
|
|
@@ -27418,6 +27420,13 @@ var Question = /** @class */ (function (_super) {
|
|
|
27418
27420
|
enumerable: false,
|
|
27419
27421
|
configurable: true
|
|
27420
27422
|
});
|
|
27423
|
+
Object.defineProperty(Question.prototype, "ariaDescriptionId", {
|
|
27424
|
+
get: function () {
|
|
27425
|
+
return this.id + "_ariaDescription";
|
|
27426
|
+
},
|
|
27427
|
+
enumerable: false,
|
|
27428
|
+
configurable: true
|
|
27429
|
+
});
|
|
27421
27430
|
Object.defineProperty(Question.prototype, "commentId", {
|
|
27422
27431
|
get: function () {
|
|
27423
27432
|
return this.id + "_comment";
|
|
@@ -28943,6 +28952,20 @@ var Question = /** @class */ (function (_super) {
|
|
|
28943
28952
|
enumerable: false,
|
|
28944
28953
|
configurable: true
|
|
28945
28954
|
});
|
|
28955
|
+
Object.defineProperty(Question.prototype, "ariaDescribedBy", {
|
|
28956
|
+
get: function () {
|
|
28957
|
+
if (this.isNewA11yStructure)
|
|
28958
|
+
return null;
|
|
28959
|
+
if (this.hasTitle) {
|
|
28960
|
+
return this.ariaDescriptionId;
|
|
28961
|
+
}
|
|
28962
|
+
else {
|
|
28963
|
+
return null;
|
|
28964
|
+
}
|
|
28965
|
+
},
|
|
28966
|
+
enumerable: false,
|
|
28967
|
+
configurable: true
|
|
28968
|
+
});
|
|
28946
28969
|
Object.defineProperty(Question.prototype, "ariaExpanded", {
|
|
28947
28970
|
get: function () {
|
|
28948
28971
|
return null;
|
|
@@ -28950,7 +28973,7 @@ var Question = /** @class */ (function (_super) {
|
|
|
28950
28973
|
enumerable: false,
|
|
28951
28974
|
configurable: true
|
|
28952
28975
|
});
|
|
28953
|
-
Object.defineProperty(Question.prototype, "
|
|
28976
|
+
Object.defineProperty(Question.prototype, "ariaErrormessage", {
|
|
28954
28977
|
get: function () {
|
|
28955
28978
|
if (this.isNewA11yStructure)
|
|
28956
28979
|
return null;
|
|
@@ -29007,6 +29030,18 @@ var Question = /** @class */ (function (_super) {
|
|
|
29007
29030
|
configurable: true
|
|
29008
29031
|
});
|
|
29009
29032
|
Object.defineProperty(Question.prototype, "a11y_input_ariaDescribedBy", {
|
|
29033
|
+
get: function () {
|
|
29034
|
+
if (this.hasTitle && !this.parentQuestion) {
|
|
29035
|
+
return this.ariaDescriptionId;
|
|
29036
|
+
}
|
|
29037
|
+
else {
|
|
29038
|
+
return null;
|
|
29039
|
+
}
|
|
29040
|
+
},
|
|
29041
|
+
enumerable: false,
|
|
29042
|
+
configurable: true
|
|
29043
|
+
});
|
|
29044
|
+
Object.defineProperty(Question.prototype, "a11y_input_ariaErrormessage", {
|
|
29010
29045
|
get: function () {
|
|
29011
29046
|
return this.hasCssError() ? this.id + "_errors" : null;
|
|
29012
29047
|
},
|
|
@@ -34380,6 +34415,15 @@ var QuestionCompositeModel = /** @class */ (function (_super) {
|
|
|
34380
34415
|
}
|
|
34381
34416
|
}
|
|
34382
34417
|
};
|
|
34418
|
+
QuestionCompositeModel.prototype.onSurveyValueChanged = function (newValue) {
|
|
34419
|
+
_super.prototype.onSurveyValueChanged.call(this, newValue);
|
|
34420
|
+
var val = !!newValue ? newValue : {};
|
|
34421
|
+
if (!!this.contentPanel) {
|
|
34422
|
+
this.contentPanel.questions.forEach(function (q) {
|
|
34423
|
+
q.onSurveyValueChanged(val[q.getValueName()]);
|
|
34424
|
+
});
|
|
34425
|
+
}
|
|
34426
|
+
};
|
|
34383
34427
|
QuestionCompositeModel.prototype.getValue = function (name) {
|
|
34384
34428
|
var val = this.value;
|
|
34385
34429
|
return !!val ? val[name] : null;
|
|
@@ -34404,6 +34448,14 @@ var QuestionCompositeModel = /** @class */ (function (_super) {
|
|
|
34404
34448
|
this.setNewValueIntoQuestion(name, newValue);
|
|
34405
34449
|
_super.prototype.setValue.call(this, name, newValue, locNotification, allowNotifyValueChanged);
|
|
34406
34450
|
this.settingNewValue = false;
|
|
34451
|
+
this.runPanelTriggers(QuestionCompositeModel.ItemVariableName + "." + name, newValue);
|
|
34452
|
+
};
|
|
34453
|
+
QuestionCompositeModel.prototype.runPanelTriggers = function (name, value) {
|
|
34454
|
+
if (!!this.contentPanel) {
|
|
34455
|
+
this.contentPanel.questions.forEach(function (q) {
|
|
34456
|
+
q.runTriggers(name, value);
|
|
34457
|
+
});
|
|
34458
|
+
}
|
|
34407
34459
|
};
|
|
34408
34460
|
QuestionCompositeModel.prototype.getFilteredValues = function () {
|
|
34409
34461
|
var values = !!this.data ? this.data.getFilteredValues() : {};
|
|
@@ -38541,7 +38593,7 @@ var QuestionMatrixModel = /** @class */ (function (_super) {
|
|
|
38541
38593
|
return loc ? loc : this.emptyLocalizableString;
|
|
38542
38594
|
};
|
|
38543
38595
|
QuestionMatrixModel.prototype.supportGoNextPageAutomatic = function () {
|
|
38544
|
-
return this.isMouseDown === true && this.hasValuesInAllRows();
|
|
38596
|
+
return this.isMouseDown === true && this.hasValuesInAllRows(false);
|
|
38545
38597
|
};
|
|
38546
38598
|
QuestionMatrixModel.prototype.onCheckForErrors = function (errors, isOnValueChanged) {
|
|
38547
38599
|
_super.prototype.onCheckForErrors.call(this, errors, isOnValueChanged);
|
|
@@ -38556,12 +38608,12 @@ var QuestionMatrixModel = /** @class */ (function (_super) {
|
|
|
38556
38608
|
}
|
|
38557
38609
|
};
|
|
38558
38610
|
QuestionMatrixModel.prototype.hasErrorAllRowsRequired = function () {
|
|
38559
|
-
return this.isAllRowRequired && !this.hasValuesInAllRows();
|
|
38611
|
+
return this.isAllRowRequired && !this.hasValuesInAllRows(true);
|
|
38560
38612
|
};
|
|
38561
38613
|
QuestionMatrixModel.prototype.hasErrorEachRowUnique = function () {
|
|
38562
38614
|
return this.eachRowUnique && this.hasNonUniqueValueInRow();
|
|
38563
38615
|
};
|
|
38564
|
-
QuestionMatrixModel.prototype.hasValuesInAllRows = function () {
|
|
38616
|
+
QuestionMatrixModel.prototype.hasValuesInAllRows = function (addError) {
|
|
38565
38617
|
var rows = this.generatedVisibleRows;
|
|
38566
38618
|
if (!rows)
|
|
38567
38619
|
rows = this.visibleRows;
|
|
@@ -38571,7 +38623,7 @@ var QuestionMatrixModel = /** @class */ (function (_super) {
|
|
|
38571
38623
|
for (var i = 0; i < rows.length; i++) {
|
|
38572
38624
|
var row = rows[i];
|
|
38573
38625
|
var hasValue = !this.isValueEmpty(row.value);
|
|
38574
|
-
if (!hasValue) {
|
|
38626
|
+
if (addError && !hasValue) {
|
|
38575
38627
|
this.addErrorIntoRow(row);
|
|
38576
38628
|
}
|
|
38577
38629
|
res = res && hasValue;
|
|
@@ -38606,7 +38658,7 @@ var QuestionMatrixModel = /** @class */ (function (_super) {
|
|
|
38606
38658
|
this.errorsInRow[row.name] = true;
|
|
38607
38659
|
};
|
|
38608
38660
|
QuestionMatrixModel.prototype.getIsAnswered = function () {
|
|
38609
|
-
return _super.prototype.getIsAnswered.call(this) && this.hasValuesInAllRows();
|
|
38661
|
+
return _super.prototype.getIsAnswered.call(this) && this.hasValuesInAllRows(false);
|
|
38610
38662
|
};
|
|
38611
38663
|
QuestionMatrixModel.prototype.createMatrixRow = function (item, fullName, value) {
|
|
38612
38664
|
var row = new MatrixRowModel(item, fullName, this, value);
|
|
@@ -43933,6 +43985,7 @@ var QuestionMatrixDropdownRenderedTable = /** @class */ (function (_super) {
|
|
|
43933
43985
|
};
|
|
43934
43986
|
QuestionMatrixDropdownRenderedTable.prototype.setItemCellCssClasses = function (cell) {
|
|
43935
43987
|
cell.className = new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_5__["CssClassBuilder"]()
|
|
43988
|
+
.append(this.cssClasses.cell)
|
|
43936
43989
|
.append(this.cssClasses.itemCell)
|
|
43937
43990
|
.append(this.cssClasses.radioCell, cell.isRadio)
|
|
43938
43991
|
.append(this.cssClasses.checkboxCell, cell.isCheckbox)
|
|
@@ -45255,6 +45308,13 @@ var MultipleTextEditorModel = /** @class */ (function (_super) {
|
|
|
45255
45308
|
enumerable: false,
|
|
45256
45309
|
configurable: true
|
|
45257
45310
|
});
|
|
45311
|
+
Object.defineProperty(MultipleTextEditorModel.prototype, "a11y_input_ariaDescribedBy", {
|
|
45312
|
+
get: function () {
|
|
45313
|
+
return null;
|
|
45314
|
+
},
|
|
45315
|
+
enumerable: false,
|
|
45316
|
+
configurable: true
|
|
45317
|
+
});
|
|
45258
45318
|
return MultipleTextEditorModel;
|
|
45259
45319
|
}(_question_text__WEBPACK_IMPORTED_MODULE_3__["QuestionTextModel"]));
|
|
45260
45320
|
|
|
@@ -53822,7 +53882,7 @@ var settings = {
|
|
|
53822
53882
|
*/
|
|
53823
53883
|
showMaxLengthIndicator: true,
|
|
53824
53884
|
/**
|
|
53825
|
-
*
|
|
53885
|
+
* Specifies whether to animate survey elements.
|
|
53826
53886
|
*
|
|
53827
53887
|
* Default value: `true`
|
|
53828
53888
|
*/
|
|
@@ -54469,6 +54529,11 @@ var SurveyElementCore = /** @class */ (function (_super) {
|
|
|
54469
54529
|
enumerable: false,
|
|
54470
54530
|
configurable: true
|
|
54471
54531
|
});
|
|
54532
|
+
Object.defineProperty(SurveyElementCore.prototype, "ariaDescriptionId", {
|
|
54533
|
+
get: function () { return undefined; },
|
|
54534
|
+
enumerable: false,
|
|
54535
|
+
configurable: true
|
|
54536
|
+
});
|
|
54472
54537
|
Object.defineProperty(SurveyElementCore.prototype, "titleTabIndex", {
|
|
54473
54538
|
get: function () { return undefined; },
|
|
54474
54539
|
enumerable: false,
|
|
@@ -66693,7 +66758,7 @@ var VerticalResponsivityManager = /** @class */ (function (_super) {
|
|
|
66693
66758
|
/*!****************************!*\
|
|
66694
66759
|
!*** ./src/utils/utils.ts ***!
|
|
66695
66760
|
\****************************/
|
|
66696
|
-
/*! exports provided: unwrap, getRenderedSize, getRenderedStyleSize, doKey2ClickBlur, doKey2ClickUp, doKey2ClickDown, sanitizeEditableContent, Logger, showConfirmDialog, mergeValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, confirmActionAsync, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, scrollElementByChildId, navigateToUrl, wrapUrlForBackgroundImage, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild, chooseFiles */
|
|
66761
|
+
/*! exports provided: unwrap, getRenderedSize, getRenderedStyleSize, doKey2ClickBlur, doKey2ClickUp, doKey2ClickDown, sanitizeEditableContent, Logger, showConfirmDialog, configConfirmDialog, mergeValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, confirmActionAsync, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, scrollElementByChildId, navigateToUrl, wrapUrlForBackgroundImage, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild, chooseFiles */
|
|
66697
66762
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
66698
66763
|
|
|
66699
66764
|
"use strict";
|
|
@@ -66707,6 +66772,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
66707
66772
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sanitizeEditableContent", function() { return sanitizeEditableContent; });
|
|
66708
66773
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Logger", function() { return Logger; });
|
|
66709
66774
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "showConfirmDialog", function() { return showConfirmDialog; });
|
|
66775
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "configConfirmDialog", function() { return configConfirmDialog; });
|
|
66710
66776
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mergeValues", function() { return mergeValues; });
|
|
66711
66777
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getElementWidth", function() { return getElementWidth; });
|
|
66712
66778
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isContainerVisible", function() { return isContainerVisible; });
|
|
@@ -67150,9 +67216,12 @@ function showConfirmDialog(message, callback, applyTitle, locale, rootElement) {
|
|
|
67150
67216
|
cancelBtn.innerCss = "sv-popup__body-footer-item sv-popup__button sd-btn sd-btn--small";
|
|
67151
67217
|
applyBtn.title = applyTitle || _surveyStrings__WEBPACK_IMPORTED_MODULE_2__["surveyLocalization"].getString("ok", locale);
|
|
67152
67218
|
applyBtn.innerCss = "sv-popup__body-footer-item sv-popup__button sv-popup__button--danger sd-btn sd-btn--small sd-btn--danger";
|
|
67153
|
-
|
|
67219
|
+
configConfirmDialog(popupViewModel);
|
|
67154
67220
|
return true;
|
|
67155
67221
|
}
|
|
67222
|
+
function configConfirmDialog(popupViewModel) {
|
|
67223
|
+
popupViewModel.width = "min-content";
|
|
67224
|
+
}
|
|
67156
67225
|
function chooseFiles(input, callback) {
|
|
67157
67226
|
if (!window || !window["FileReader"])
|
|
67158
67227
|
return;
|