survey-angular-ui 1.12.45 → 1.12.46
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.
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ItemValue, Question, TextAreaModel } from "survey-core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SurveyCommentChoiceComponent {
|
|
4
|
+
question: Question;
|
|
5
|
+
item: ItemValue;
|
|
6
|
+
constructor();
|
|
7
|
+
get commentValue(): string;
|
|
8
|
+
get textAreaModel(): TextAreaModel;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SurveyCommentChoiceComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SurveyCommentChoiceComponent, "sv-ng-comment-choice, '[sv-ng-comment-choice]'", never, { "question": "question"; "item": "item"; }, {}, never, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Component, Input } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "./utils/dynamic.directive";
|
|
5
|
+
export class SurveyCommentChoiceComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
}
|
|
8
|
+
get commentValue() {
|
|
9
|
+
return this.question.getCommentValue(this.item);
|
|
10
|
+
}
|
|
11
|
+
get textAreaModel() {
|
|
12
|
+
return this.question.getCommentTextAreaModel(this.item);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
SurveyCommentChoiceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SurveyCommentChoiceComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
SurveyCommentChoiceComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: SurveyCommentChoiceComponent, selector: "sv-ng-comment-choice, '[sv-ng-comment-choice]'", inputs: { question: "question", item: "item" }, ngImport: i0, template: "<ng-container *ngIf=\"!question.isReadOnlyRenderDiv()\">\n <ng-template [component]=\"{ name: 'sv-text-area', data: { model: textAreaModel } }\"></ng-template>\n</ng-container>\n<div *ngIf=\"question.isReadOnlyRenderDiv()\">{{ commentValue }}</div>\n", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.DynamicComponentDirective, selector: "[component]", inputs: ["component"] }] });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SurveyCommentChoiceComponent, decorators: [{
|
|
18
|
+
type: Component,
|
|
19
|
+
args: [{
|
|
20
|
+
selector: "sv-ng-comment-choice, '[sv-ng-comment-choice]'",
|
|
21
|
+
templateUrl: "./comment-choice.component.html",
|
|
22
|
+
}]
|
|
23
|
+
}], ctorParameters: function () { return []; }, propDecorators: { question: [{
|
|
24
|
+
type: Input
|
|
25
|
+
}], item: [{
|
|
26
|
+
type: Input
|
|
27
|
+
}] } });
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVudC1jaG9pY2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2NvbW1lbnQtY2hvaWNlLmNvbXBvbmVudC50cyIsIi4uLy4uL3NyYy9jb21tZW50LWNob2ljZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQzs7OztBQU9qRCxNQUFNLE9BQU8sNEJBQTRCO0lBR3ZDO0lBQ0EsQ0FBQztJQUNELElBQVcsWUFBWTtRQUNyQixPQUE0QixJQUFJLENBQUMsUUFBUyxDQUFDLGVBQWUsQ0FBQyxJ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hpcy5xdWVzdGlvbikuZ2V0Q29tbWVudFZhbHVlKHRoaXMuaXRlbSk7XG4gIH1cbiAgcHVibGljIGdldCB0ZXh0QXJlYU1vZGVsKCk6IFRleHRBcmVhTW9kZWwge1xuICAgIHJldHVybiAoPFF1ZXN0aW9uU2VsZWN0QmFzZT50aGlzLnF1ZXN0aW9uKS5nZXRDb21tZW50VGV4dEFyZWFNb2RlbCh0aGlzLml0ZW0pO1xuICB9XG59IiwiPG5nLWNvbnRhaW5lciAqbmdJZj1cIiFxdWVzdGlvbi5pc1JlYWRPbmx5UmVuZGVyRGl2KClcIj5cbiAgPG5nLXRlbXBsYXRlIFtjb21wb25lbnRdPVwieyBuYW1lOiAnc3YtdGV4dC1hcmVhJywgZGF0YTogeyBtb2RlbDogdGV4dEFyZWFNb2RlbCB9IH1cIj48L25nLXRlbXBsYXRlPlxuPC9uZy1jb250YWluZXI+XG48ZGl2ICpuZ0lmPVwicXVlc3Rpb24uaXNSZWFkT25seVJlbmRlckRpdigpXCI+e3sgY29tbWVudFZhbHVlIH19PC9kaXY+XG4iXX0=
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-angular-ui",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.46",
|
|
4
4
|
"description": "survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Survey",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@angular/cdk": "*",
|
|
22
22
|
"@angular/core": "*",
|
|
23
23
|
"@angular/forms": "*",
|
|
24
|
-
"survey-core": "1.12.
|
|
24
|
+
"survey-core": "1.12.46"
|
|
25
25
|
},
|
|
26
26
|
"main": "bundles/survey-angular-ui.umd.js",
|
|
27
27
|
"module": "fesm2015/survey-angular-ui.js",
|