survey-angular-ui 3.2.2 → 3.2.4
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/README.md +1 -1
- package/angular-ui.d.ts +5 -1
- package/angular-ui.module.d.ts +102 -98
- package/bundles/survey-angular-ui.umd.js +191 -65
- package/bundles/survey-angular-ui.umd.js.map +1 -1
- package/components/list/list-loading.component.d.ts +9 -0
- package/components/question-hint/question-hint.component.d.ts +9 -0
- package/components/records-bar/sort-bar-level.component.d.ts +9 -0
- package/components/renderAs/boolean-switch/boolean-switch.component.d.ts +1 -0
- package/esm2015/angular-ui.js +6 -2
- package/esm2015/angular-ui.module.js +20 -14
- package/esm2015/comment-choice.component.js +2 -2
- package/esm2015/comment.component.js +2 -2
- package/esm2015/components/action-bar/action-bar-item-dropdown.component.js +2 -2
- package/esm2015/components/action-bar/action-bar-item.component.js +2 -2
- package/esm2015/components/element-title/title-actions.component.js +2 -2
- package/esm2015/components/list/list-loading.component.js +24 -0
- package/esm2015/components/list/list.component.js +4 -3
- package/esm2015/components/matrix-actions/drag-drop-icon/drag-drop-icon.js +2 -2
- package/esm2015/components/popup/popup-close-button.component.js +2 -2
- package/esm2015/components/popup/popup-container.component.js +4 -4
- package/esm2015/components/question-hint/question-hint.component.js +28 -0
- package/esm2015/components/rating/rating-item-smiley.component.js +2 -2
- package/esm2015/components/rating/rating-item-star.component.js +2 -2
- package/esm2015/components/records-bar/sort-bar-level.component.js +25 -0
- package/esm2015/components/renderAs/boolean-switch/boolean-switch.component.js +10 -3
- package/esm2015/question.component.js +6 -5
- package/esm2015/questions/file.component.js +2 -2
- package/esm2015/questions/imagepicker.component.js +2 -2
- package/esm2015/questions/matrixcell.component.js +5 -2
- package/esm2015/questions/matrixdropdown.component.js +4 -4
- package/esm2015/questions/matrixdynamic.component.js +3 -4
- package/esm2015/questions/matrixheadersortbutton.component.js +32 -0
- package/esm2015/questions/matrixtable.component.js +9 -8
- package/esm2015/questions/multipletextitem.component.js +7 -5
- package/esm2015/questions/paneldynamic.component.js +4 -5
- package/esm2015/questions/question-view.component.js +19 -0
- package/esm2015/questions/signature.component.js +4 -4
- package/fesm2015/survey-angular-ui.js +152 -56
- package/fesm2015/survey-angular-ui.js.map +1 -1
- package/package.json +2 -2
- package/questions/matrixcell.component.d.ts +1 -0
- package/questions/matrixheadersortbutton.component.d.ts +11 -0
- package/questions/multipletextitem.component.d.ts +2 -1
- package/questions/question-view.component.d.ts +7 -0
- package/components/records-bar/records-bar.component.d.ts +0 -9
- package/esm2015/components/records-bar/records-bar.component.js +0 -26
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-angular-ui",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.4",
|
|
4
4
|
"homepage": "https://surveyjs.io/",
|
|
5
5
|
"author": "DevSoft Baltic OU <info@devsoftbaltic.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@angular/cdk": "*",
|
|
50
50
|
"@angular/core": "*",
|
|
51
51
|
"@angular/forms": "*",
|
|
52
|
-
"survey-core": "3.2.
|
|
52
|
+
"survey-core": "3.2.4"
|
|
53
53
|
},
|
|
54
54
|
"overrides": {
|
|
55
55
|
"stylus": "github:stylus/stylus#0.54.8"
|
|
@@ -13,6 +13,7 @@ export declare class MatrixCellComponent extends BaseAngular<ItemValue> {
|
|
|
13
13
|
protected getModel(): ItemValue;
|
|
14
14
|
onChange(): void;
|
|
15
15
|
get itemSvgIcon(): string;
|
|
16
|
+
get viewText(): string;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatrixCellComponent, never>;
|
|
17
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatrixCellComponent, "sv-ng-matrix-cell, '[sv-ng-matrix-cell]'", never, { "question": "question"; "column": "column"; "row": "row"; "columnIndex": "columnIndex"; "cellChangedOwner": "cellChangedOwner"; }, {}, never, ["*"]>;
|
|
18
19
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseAngular } from "../base-angular";
|
|
2
|
+
import { QuestionMatrixDropdownModelBase, QuestionMatrixDropdownRenderedCell } from "survey-core";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MatrixHeaderSortButtonComponent extends BaseAngular<QuestionMatrixDropdownModelBase> {
|
|
5
|
+
cell: QuestionMatrixDropdownRenderedCell;
|
|
6
|
+
question: QuestionMatrixDropdownModelBase;
|
|
7
|
+
getModel(): QuestionMatrixDropdownModelBase;
|
|
8
|
+
onClick(event: MouseEvent): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatrixHeaderSortButtonComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatrixHeaderSortButtonComponent, "sv-ng-matrixheadersortbutton", never, { "cell": "cell"; "question": "question"; }, {}, never, never>;
|
|
11
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MultipleTextCell, MultipleTextItemModel, QuestionMultipleTextModel, QuestionTextModel } from "survey-core";
|
|
1
|
+
import { MultipleTextCell, MultipleTextItemModel, Question, QuestionMultipleTextModel, QuestionTextModel } from "survey-core";
|
|
2
2
|
import { DoCheck, OnDestroy } from "@angular/core";
|
|
3
3
|
import { BaseAngular } from "../base-angular";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -8,6 +8,7 @@ export declare class MultipleTextItemComponent extends BaseAngular<QuestionTextM
|
|
|
8
8
|
protected getModel(): QuestionTextModel;
|
|
9
9
|
get item(): MultipleTextItemModel;
|
|
10
10
|
get editor(): QuestionTextModel;
|
|
11
|
+
getComponentName(element: Question): string;
|
|
11
12
|
ngDoCheck(): void;
|
|
12
13
|
ngOnDestroy(): void;
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultipleTextItemComponent, never>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Question } from "survey-core";
|
|
2
|
+
import { QuestionAngular } from "../question";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class QuestionViewComponent extends QuestionAngular<Question> {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QuestionViewComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QuestionViewComponent, "sv-ng-question-view", never, {}, {}, never, never>;
|
|
7
|
+
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseAngular } from "../../base-angular";
|
|
2
|
-
import { QuestionRecordsBar } from "survey-core";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class RecordsBarComponent extends BaseAngular<QuestionRecordsBar> {
|
|
5
|
-
model: QuestionRecordsBar;
|
|
6
|
-
getModel(): QuestionRecordsBar;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RecordsBarComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RecordsBarComponent, "sv-ng-records-bar", never, { "model": "model"; }, {}, never, never>;
|
|
9
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from "@angular/core";
|
|
2
|
-
import { AngularComponentFactory } from "../../component-factory";
|
|
3
|
-
import { BaseAngular } from "../../base-angular";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../action-bar/action-bar.component";
|
|
6
|
-
import * as i2 from "@angular/common";
|
|
7
|
-
// The bar under the records of a dynamic panel and of a matrix: the pager.
|
|
8
|
-
export class RecordsBarComponent extends BaseAngular {
|
|
9
|
-
getModel() {
|
|
10
|
-
return this.model;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
RecordsBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecordsBarComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
14
|
-
RecordsBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: RecordsBarComponent, selector: "sv-ng-records-bar", inputs: { model: "model" }, usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <div *ngIf=\"model.isVisible\" [class]=\"model.cssClasses.root\">\n <div [class]=\"model.cssClasses.pager\">\n <sv-ng-action-bar [model]=\"model.pagerActions\"></sv-ng-action-bar>\n </div>\n </div>\n</ng-template>\n", styles: [":host { display: none }"], components: [{ type: i1.ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecordsBarComponent, decorators: [{
|
|
16
|
-
type: Component,
|
|
17
|
-
args: [{
|
|
18
|
-
selector: "sv-ng-records-bar",
|
|
19
|
-
templateUrl: "./records-bar.component.html",
|
|
20
|
-
styles: [":host { display: none }"]
|
|
21
|
-
}]
|
|
22
|
-
}], propDecorators: { model: [{
|
|
23
|
-
type: Input
|
|
24
|
-
}] } });
|
|
25
|
-
AngularComponentFactory.Instance.registerComponent("sv-records-bar", RecordsBarComponent);
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVjb3Jkcy1iYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvcmVjb3Jkcy1iYXIvcmVjb3Jkcy1iYXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvcmVjb3Jkcy1iYXIvcmVjb3Jkcy1iYXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsR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