survey-angular-ui 3.2.3 → 3.2.5
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 +3 -1
- package/angular-ui.module.d.ts +45 -43
- package/bundles/survey-angular-ui.umd.js +150 -82
- 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/esm2015/angular-ui.js +4 -2
- package/esm2015/angular-ui.module.js +18 -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/file/file-page.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/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/skeleton/skeleton.component.js +2 -2
- package/esm2015/panel.component.js +2 -2
- package/esm2015/question.component.js +6 -5
- package/esm2015/questions/file.component.js +2 -2
- package/esm2015/questions/imagemap.component.js +2 -2
- package/esm2015/questions/imagepicker.component.js +2 -2
- package/esm2015/questions/matrixcell.component.js +5 -2
- package/esm2015/questions/matrixheadersortbutton.component.js +2 -2
- package/esm2015/questions/multipletextitem.component.js +7 -5
- package/esm2015/questions/question-view.component.js +19 -0
- package/esm2015/questions/signature.component.js +4 -4
- package/esm2015/questions/slider.component.js +2 -2
- package/esm2015/survey-content.component.js +2 -2
- package/fesm2015/survey-angular-ui.js +112 -71
- package/fesm2015/survey-angular-ui.js.map +1 -1
- package/package.json +2 -2
- package/questions/matrixcell.component.d.ts +1 -0
- package/questions/multipletextitem.component.d.ts +2 -1
- package/questions/question-view.component.d.ts +7 -0
- package/components/records-bar/records-sort-dialog.component.d.ts +0 -10
- package/esm2015/components/records-bar/records-sort-dialog.component.js +0 -29
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-angular-ui",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.5",
|
|
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.5"
|
|
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
|
}
|
|
@@ -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,10 +0,0 @@
|
|
|
1
|
-
import { BaseAngular } from "../../base-angular";
|
|
2
|
-
import { ActionContainer, RecordsSortDialogModel } from "survey-core";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class RecordsSortDialogComponent extends BaseAngular<RecordsSortDialogModel> {
|
|
5
|
-
model: RecordsSortDialogModel;
|
|
6
|
-
getModel(): RecordsSortDialogModel;
|
|
7
|
-
trackRowBy(_: number, row: ActionContainer): number;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RecordsSortDialogComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RecordsSortDialogComponent, "sv-ng-records-sort-dialog", never, { "model": "model"; }, {}, never, never>;
|
|
10
|
-
}
|
|
@@ -1,29 +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 content of the "Sort by" dialog: one action bar per row (field, direction, remove).
|
|
8
|
-
export class RecordsSortDialogComponent extends BaseAngular {
|
|
9
|
-
getModel() {
|
|
10
|
-
return this.model;
|
|
11
|
-
}
|
|
12
|
-
trackRowBy(_, row) {
|
|
13
|
-
return row.uniqueId;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
RecordsSortDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecordsSortDialogComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
-
RecordsSortDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: RecordsSortDialogComponent, selector: "sv-ng-records-sort-dialog", inputs: { model: "model" }, usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <div [class]=\"model.rootCss\">\n <sv-ng-action-bar *ngFor=\"let row of model.rows; trackBy: trackRowBy\" [model]=\"row\"></sv-ng-action-bar>\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.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecordsSortDialogComponent, decorators: [{
|
|
19
|
-
type: Component,
|
|
20
|
-
args: [{
|
|
21
|
-
selector: "sv-ng-records-sort-dialog",
|
|
22
|
-
templateUrl: "./records-sort-dialog.component.html",
|
|
23
|
-
styles: [":host { display: none }"]
|
|
24
|
-
}]
|
|
25
|
-
}], propDecorators: { model: [{
|
|
26
|
-
type: Input
|
|
27
|
-
}] } });
|
|
28
|
-
AngularComponentFactory.Instance.registerComponent("sv-records-sort-dialog", RecordsSortDialogComponent);
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVjb3Jkcy1zb3J0LWRpYWxvZy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50cy9yZWNvcmRzLWJhci9yZWNvcmRzLXNvcnQtZGlhbG9nLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3JlY29yZHMtYmFyL3JlY29yZHMtc29ydC1kaWFsb2cuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakQsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDbEUsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLG9CQUFvQixDQUFDOzs7O0FBR2pELDBGQUEwRjtBQU0xRixNQUFNLE9BQU8sMEJBQTJCLFNBQVEsV0FBbUM7SUFFakYsUUFBUTtRQUNOLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQztJQUNwQixDQUFDO0lBQ00sVUFBVSxDQUFDLENBQVMsRUFBRSxHQUFvQjtRQUMvQyxPQUFPLEdBQUcsQ0FBQyxRQUFRLENBQUM7SUFDdEIsQ0FBQzs7d0hBUFUsMEJBQTBCOzRHQUExQiwwQkFBMEIsb0hDWHZDLHlNQUtBOzRGRE1hLDBCQUEwQjtrQkFMdEMsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsMk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