survey-js-ui 2.5.26 → 2.5.27
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/fesm/survey-js-ui.mjs +8 -3
- package/fesm/survey-js-ui.mjs.map +1 -1
- package/package.json +2 -2
- package/survey-js-ui.js +12 -3
- package/survey-js-ui.js.map +1 -1
- package/survey-js-ui.min.js +2 -2
- package/typings/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-add-btn.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-js-ui",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.27",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "A free MIT-licensed UI component that renders dynamic, interactive JSON-based forms and surveys in apps built with HTML, CSS, and JavaScript. You can use it to collect responses from users and send them to your own database.",
|
|
6
6
|
"homepage": "https://surveyjs.io/",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"survey-core": "2.5.
|
|
56
|
+
"survey-core": "2.5.27",
|
|
57
57
|
"@types/react-dom": "*",
|
|
58
58
|
"@types/react": "*"
|
|
59
59
|
}
|
package/survey-js-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v2.5.
|
|
2
|
+
* surveyjs - Survey JavaScript library v2.5.27
|
|
3
3
|
* Copyright (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
@@ -5393,7 +5393,7 @@
|
|
|
5393
5393
|
};
|
|
5394
5394
|
return (_$1("div", { role: "presentation", className: this.question.getRadioItemClass(cssClasses, value) },
|
|
5395
5395
|
_$1("label", { className: cssClasses.radioLabel },
|
|
5396
|
-
_$1("input", { type: "radio", name: this.question.
|
|
5396
|
+
_$1("input", { type: "radio", name: this.question.questionName, value: value, "aria-errormessage": this.question.ariaErrormessage, checked: value === this.question.value, disabled: this.question.isDisabledAttr, readOnly: this.question.isReadOnlyAttr, className: cssClasses.itemRadioControl, onChange: handleOnChange }),
|
|
5397
5397
|
this.question.cssClasses.materialRadioDecorator ?
|
|
5398
5398
|
(_$1("span", { className: cssClasses.materialRadioDecorator }, this.question.itemSvgIcon ?
|
|
5399
5399
|
(_$1("svg", { className: cssClasses.itemRadioDecorator },
|
|
@@ -7549,6 +7549,15 @@
|
|
|
7549
7549
|
};
|
|
7550
7550
|
return _this;
|
|
7551
7551
|
}
|
|
7552
|
+
Object.defineProperty(SurveyQuestionPanelDynamicAddButton.prototype, "isActionEnabled", {
|
|
7553
|
+
get: function () {
|
|
7554
|
+
if (this.props.item)
|
|
7555
|
+
return this.props.item.enabled !== false;
|
|
7556
|
+
return this.question.enableAddPanel !== false;
|
|
7557
|
+
},
|
|
7558
|
+
enumerable: false,
|
|
7559
|
+
configurable: true
|
|
7560
|
+
});
|
|
7552
7561
|
SurveyQuestionPanelDynamicAddButton.prototype.renderElement = function () {
|
|
7553
7562
|
if (!this.question.canAddPanel)
|
|
7554
7563
|
return null;
|
|
@@ -7969,7 +7978,7 @@
|
|
|
7969
7978
|
}
|
|
7970
7979
|
};
|
|
7971
7980
|
var preact = React;
|
|
7972
|
-
surveyCore.checkLibraryVersion("".concat("2.5.
|
|
7981
|
+
surveyCore.checkLibraryVersion("".concat("2.5.27"), "survey-js-ui");
|
|
7973
7982
|
|
|
7974
7983
|
Object.defineProperty(exports, 'Model', {
|
|
7975
7984
|
enumerable: true,
|