survey-angular-ui 2.2.5 → 2.2.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-angular-ui",
3
- "version": "2.2.5",
3
+ "version": "2.2.6",
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": "2.2.5"
24
+ "survey-core": "2.2.6"
25
25
  },
26
26
  "commit-and-tag-version": {
27
27
  "bumpFiles": [
@@ -4,6 +4,8 @@ export declare class RadiogroupItemComponent {
4
4
  model: any;
5
5
  ariaLabel?: string;
6
6
  constructor();
7
+ get renderedValue(): any;
8
+ set renderedValue(val: any);
7
9
  static ɵfac: i0.ɵɵFactoryDeclaration<RadiogroupItemComponent, never>;
8
10
  static ɵcmp: i0.ɵɵComponentDeclaration<RadiogroupItemComponent, "sv-ng-radiogroup-item, '[sv-ng-radiogroup-item]'", never, { "question": "question"; "model": "model"; "ariaLabel": "ariaLabel"; }, {}, never, ["*"]>;
9
11
  }
@@ -1,10 +0,0 @@
1
- import { Question, TextAreaModel } from "survey-core";
2
- import * as i0 from "@angular/core";
3
- export declare class SurveyCommentOtherComponent {
4
- question: Question;
5
- constructor();
6
- get otherValue(): string;
7
- get textAreaModel(): TextAreaModel;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<SurveyCommentOtherComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<SurveyCommentOtherComponent, "sv-ng-comment-other, '[sv-ng-comment-other]'", never, { "question": "question"; }, {}, never, never>;
10
- }
@@ -1,27 +0,0 @@
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 SurveyCommentOtherComponent {
6
- constructor() {
7
- }
8
- get otherValue() {
9
- const val = this.question.otherValue;
10
- return !!val ? val : "";
11
- }
12
- get textAreaModel() {
13
- return this.question.otherTextAreaModel;
14
- }
15
- }
16
- SurveyCommentOtherComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SurveyCommentOtherComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
17
- SurveyCommentOtherComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: SurveyCommentOtherComponent, selector: "sv-ng-comment-other, '[sv-ng-comment-other]'", inputs: { question: "question" }, 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()\">{{ otherValue }}</div>\n", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.DynamicComponentDirective, selector: "[component]", inputs: ["component"] }] });
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SurveyCommentOtherComponent, decorators: [{
19
- type: Component,
20
- args: [{
21
- selector: "sv-ng-comment-other, '[sv-ng-comment-other]'",
22
- templateUrl: "./comment-other.component.html",
23
- }]
24
- }], ctorParameters: function () { return []; }, propDecorators: { question: [{
25
- type: Input
26
- }] } });
27
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVudC1vdGhlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvY29tbWVudC1vdGhlci5jb21wb25lbnQudHMiLCIuLi8uLi9zcmMvY29tbWVudC1vdGhlci5jb21wb25lbnQuaHRtbCJd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