survey-react 1.12.52 → 1.12.53
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 +1 -1
- package/defaultV2.min.css +1 -1
- package/modern.css +1 -1
- package/modern.min.css +1 -1
- package/package.json +1 -1
- package/survey.css +1 -1
- package/survey.min.css +1 -1
- package/survey.react.d.ts +2 -2
- package/survey.react.js +11 -10
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +3 -3
package/defaultV2.css
CHANGED
package/defaultV2.min.css
CHANGED
package/modern.css
CHANGED
package/modern.min.css
CHANGED
package/package.json
CHANGED
package/survey.css
CHANGED
package/survey.min.css
CHANGED
package/survey.react.d.ts
CHANGED
|
@@ -12456,7 +12456,7 @@ declare module "packages/survey-core/src/survey" {
|
|
|
12456
12456
|
private reduceFirstName;
|
|
12457
12457
|
private isClearingUnsedValues;
|
|
12458
12458
|
private clearUnusedValues;
|
|
12459
|
-
hasVisibleQuestionByValueName(
|
|
12459
|
+
hasVisibleQuestionByValueName(question: IQuestion): boolean;
|
|
12460
12460
|
questionsByValueName(valueName: string): Array<IQuestion>;
|
|
12461
12461
|
private clearInvisibleQuestionValues;
|
|
12462
12462
|
/**
|
|
@@ -15234,7 +15234,7 @@ declare module "packages/survey-core/src/base-interfaces" {
|
|
|
15234
15234
|
focusQuestionByInstance(question: IQuestion, onError: boolean): boolean;
|
|
15235
15235
|
validateQuestion(question: IQuestion): SurveyError;
|
|
15236
15236
|
validatePanel(panel: IPanel): SurveyError;
|
|
15237
|
-
hasVisibleQuestionByValueName(
|
|
15237
|
+
hasVisibleQuestionByValueName(question: IQuestion): boolean;
|
|
15238
15238
|
questionsByValueName(valueName: string): Array<IQuestion>;
|
|
15239
15239
|
processHtml(html: string, reason: string): string;
|
|
15240
15240
|
getSurveyMarkdownHtml(element: Base, text: string, name: string): string;
|
package/survey.react.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v1.12.
|
|
2
|
+
* surveyjs - Survey JavaScript library v1.12.53
|
|
3
3
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
@@ -21076,7 +21076,7 @@ var question_Question = /** @class */ (function (_super) {
|
|
|
21076
21076
|
return false;
|
|
21077
21077
|
if (!this.survey)
|
|
21078
21078
|
return true;
|
|
21079
|
-
return !this.survey.hasVisibleQuestionByValueName(this
|
|
21079
|
+
return !this.survey.hasVisibleQuestionByValueName(this);
|
|
21080
21080
|
};
|
|
21081
21081
|
Object.defineProperty(Question.prototype, "isParentVisible", {
|
|
21082
21082
|
/**
|
|
@@ -47897,13 +47897,14 @@ var survey_SurveyModel = /** @class */ (function (_super) {
|
|
|
47897
47897
|
this.clearInvisibleQuestionValues();
|
|
47898
47898
|
this.isClearingUnsedValues = false;
|
|
47899
47899
|
};
|
|
47900
|
-
SurveyModel.prototype.hasVisibleQuestionByValueName = function (
|
|
47901
|
-
var
|
|
47902
|
-
|
|
47900
|
+
SurveyModel.prototype.hasVisibleQuestionByValueName = function (question) {
|
|
47901
|
+
var checkQ = question;
|
|
47902
|
+
var qs = this.getQuestionsByValueName(checkQ.getValueName());
|
|
47903
|
+
if (!Array.isArray(qs) || qs.length < 2)
|
|
47903
47904
|
return false;
|
|
47904
|
-
for (var i = 0; i <
|
|
47905
|
-
var q =
|
|
47906
|
-
if (q.isVisible && q.isParentVisible && !q.parentQuestion)
|
|
47905
|
+
for (var i = 0; i < qs.length; i++) {
|
|
47906
|
+
var q = qs[i];
|
|
47907
|
+
if (q !== checkQ && q.isVisible && q.isParentVisible && !q.parentQuestion && q.parentQuestion === checkQ.parentQuestion)
|
|
47907
47908
|
return true;
|
|
47908
47909
|
}
|
|
47909
47910
|
return false;
|
|
@@ -73355,9 +73356,9 @@ Serializer.addClass("currencymask", [
|
|
|
73355
73356
|
|
|
73356
73357
|
var Version;
|
|
73357
73358
|
var ReleaseDate;
|
|
73358
|
-
Version = "" + "1.12.
|
|
73359
|
+
Version = "" + "1.12.53";
|
|
73359
73360
|
settings.version = Version;
|
|
73360
|
-
ReleaseDate = "" + "2025-09-
|
|
73361
|
+
ReleaseDate = "" + "2025-09-09";
|
|
73361
73362
|
function checkLibraryVersion(ver, libraryName) {
|
|
73362
73363
|
if (Version != ver) {
|
|
73363
73364
|
var str = "survey-core has version '" + Version + "' and " + libraryName
|