survey-angular-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/bundles/survey-angular-ui.umd.js +12 -2
- package/bundles/survey-angular-ui.umd.js.map +1 -1
- package/components/paneldynamic-actions/paneldynamic-add-btn.component.d.ts +1 -0
- package/esm2015/comment-choice.component.js +3 -2
- package/esm2015/components/paneldynamic-actions/paneldynamic-add-btn.component.js +6 -1
- package/esm2015/components/renderAs/boolean-radio/boolean-radio-item.component.js +2 -2
- package/fesm2015/survey-angular-ui.js +8 -2
- package/fesm2015/survey-angular-ui.js.map +1 -1
- package/package.json +2 -2
|
@@ -2502,7 +2502,8 @@
|
|
|
2502
2502
|
}
|
|
2503
2503
|
Object.defineProperty(SurveyCommentChoiceComponent.prototype, "commentValue", {
|
|
2504
2504
|
get: function () {
|
|
2505
|
-
|
|
2505
|
+
var _a;
|
|
2506
|
+
return ((_a = this.textAreaModel) === null || _a === void 0 ? void 0 : _a.getTextValue()) || "";
|
|
2506
2507
|
},
|
|
2507
2508
|
enumerable: false,
|
|
2508
2509
|
configurable: true
|
|
@@ -3945,7 +3946,7 @@
|
|
|
3945
3946
|
return BooleanRadioItemComponent;
|
|
3946
3947
|
}());
|
|
3947
3948
|
BooleanRadioItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: BooleanRadioItemComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3948
|
-
BooleanRadioItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: BooleanRadioItemComponent, selector: "sv-ng-boolean-radio-item", inputs: { question: "question", value: "value", locText: "locText" }, ngImport: i0__namespace, template: "<div role=\"presentation\" [class]=\"question.getRadioItemClass(question.cssClasses, value)\">\n <label [class]=\"question.cssClasses.radioLabel\">\n <input\n type=\"radio\"\n [attr.name]=\"question.
|
|
3949
|
+
BooleanRadioItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: BooleanRadioItemComponent, selector: "sv-ng-boolean-radio-item", inputs: { question: "question", value: "value", locText: "locText" }, ngImport: i0__namespace, template: "<div role=\"presentation\" [class]=\"question.getRadioItemClass(question.cssClasses, value)\">\n <label [class]=\"question.cssClasses.radioLabel\">\n <input\n type=\"radio\"\n [attr.name]=\"question.questionName\" [attr.aria-errormessage]=\"question.ariaErrormessage\" [value]=\"value\" [checked]=\"question.value == value\" (input)=\"change()\"\n [disabled]=\"question.isDisabledAttr\" [readonly]=\"question.isReadOnlyAttr\" [class]=\"question.cssClasses.itemRadioControl || ''\"\n />\n <span *ngIf=\"question.cssClasses.materialRadioDecorator\" [class]=\"question.cssClasses.materialRadioDecorator\">\n <svg\n *ngIf=\"question.itemSvgIcon\"\n [class]=\"question.cssClasses.itemRadioDecorator\"\n >\n <use [attr.xlink:href]=\"question.itemSvgIcon\"></use>\n </svg>\n </span>\n <span [class]=\"question.cssClasses.radioControlLabel\" [model]=\"locText\" sv-ng-string>\n </span>\n </label>\n</div>\n", components: [{ type: SurveyStringComponent, selector: "sv-ng-string, '[sv-ng-string]'", inputs: ["model"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3949
3950
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: BooleanRadioItemComponent, decorators: [{
|
|
3950
3951
|
type: i0.Component,
|
|
3951
3952
|
args: [{
|
|
@@ -4644,6 +4645,15 @@
|
|
|
4644
4645
|
function PanelDynamicAddBtn() {
|
|
4645
4646
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
4646
4647
|
}
|
|
4648
|
+
Object.defineProperty(PanelDynamicAddBtn.prototype, "isActionEnabled", {
|
|
4649
|
+
get: function () {
|
|
4650
|
+
if (this.model)
|
|
4651
|
+
return this.model.enabled !== false;
|
|
4652
|
+
return this.question.enableAddPanel !== false;
|
|
4653
|
+
},
|
|
4654
|
+
enumerable: false,
|
|
4655
|
+
configurable: true
|
|
4656
|
+
});
|
|
4647
4657
|
PanelDynamicAddBtn.prototype.addPanelClick = function () {
|
|
4648
4658
|
if (!this.isActionEnabled)
|
|
4649
4659
|
return;
|