survey-angular-ui 2.0.9 → 2.1.0
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/angular-ui.d.ts +1 -0
- package/angular-ui.module.d.ts +74 -73
- package/bundles/survey-angular-ui.umd.js +96 -15
- package/bundles/survey-angular-ui.umd.js.map +1 -1
- package/esm2015/angular-ui.js +2 -1
- package/esm2015/angular-ui.module.js +6 -5
- package/esm2015/components/dropdown/dropdown.component.js +2 -2
- package/esm2015/components/element-title/dynamic-head.component.js +2 -2
- package/esm2015/components/list/list.component.js +2 -2
- package/esm2015/components/renderAs/dropdown-select/dropdown-select.component.js +2 -2
- package/esm2015/components/tagbox/tagbox-filter.component.js +2 -2
- package/esm2015/components/tagbox/tagbox.component.js +2 -2
- package/esm2015/panel.component.js +2 -2
- package/esm2015/questions/checkbox-item.component.js +4 -2
- package/esm2015/questions/matrixdropdowncell.component.js +5 -2
- package/esm2015/questions/radiogroup-item.component.js +4 -2
- package/esm2015/questions/selectbase-item.js +4 -2
- package/esm2015/questions/slider.component.js +52 -0
- package/fesm2015/survey-angular-ui.js +71 -16
- package/fesm2015/survey-angular-ui.js.map +1 -1
- package/package.json +2 -2
- package/questions/checkbox-item.component.d.ts +2 -1
- package/questions/matrixdropdowncell.component.d.ts +1 -0
- package/questions/radiogroup-item.component.d.ts +2 -1
- package/questions/selectbase-item.d.ts +2 -1
- package/questions/slider.component.d.ts +16 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-angular-ui",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
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.0
|
|
24
|
+
"survey-core": "2.1.0"
|
|
25
25
|
},
|
|
26
26
|
"commit-and-tag-version": {
|
|
27
27
|
"bumpFiles": [
|
|
@@ -3,9 +3,10 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class CheckboxItemComponent {
|
|
4
4
|
question: QuestionCheckboxModel;
|
|
5
5
|
model: ItemValue;
|
|
6
|
+
ariaLabel?: string;
|
|
6
7
|
constructor();
|
|
7
8
|
onChange(event: any): void;
|
|
8
9
|
onSelectAllChange(event: any): void;
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxItemComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxItemComponent, "sv-ng-checkbox-item, '[sv-ng-checkbox-item]'", never, { "question": "question"; "model": "model"; }, {}, never, ["*"]>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxItemComponent, "sv-ng-checkbox-item, '[sv-ng-checkbox-item]'", never, { "question": "question"; "model": "model"; "ariaLabel": "ariaLabel"; }, {}, never, ["*"]>;
|
|
11
12
|
}
|
|
@@ -20,6 +20,7 @@ export declare class MatrixDropdownCellComponent extends BaseAngular<Question> {
|
|
|
20
20
|
ngAfterViewInit(): void;
|
|
21
21
|
ngOnDestroy(): void;
|
|
22
22
|
get canRender(): boolean;
|
|
23
|
+
get ariaLabel(): string;
|
|
23
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatrixDropdownCellComponent, never>;
|
|
24
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatrixDropdownCellComponent, "sv-ng-matrixdropdown-cell", never, { "question": "question"; "cell": "cell"; }, {}, never, never>;
|
|
25
26
|
}
|
|
@@ -2,7 +2,8 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class RadiogroupItemComponent {
|
|
3
3
|
question: any;
|
|
4
4
|
model: any;
|
|
5
|
+
ariaLabel?: string;
|
|
5
6
|
constructor();
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadiogroupItemComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadiogroupItemComponent, "sv-ng-radiogroup-item, '[sv-ng-radiogroup-item]'", never, { "question": "question"; "model": "model"; }, {}, never, ["*"]>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadiogroupItemComponent, "sv-ng-radiogroup-item, '[sv-ng-radiogroup-item]'", never, { "question": "question"; "model": "model"; "ariaLabel": "ariaLabel"; }, {}, never, ["*"]>;
|
|
8
9
|
}
|
|
@@ -7,11 +7,12 @@ export declare class SelectBaseItemComponent extends BaseAngular<ItemValue> impl
|
|
|
7
7
|
model: ItemValue | any;
|
|
8
8
|
inputType: string;
|
|
9
9
|
showLabel: boolean;
|
|
10
|
+
ariaLabel?: string;
|
|
10
11
|
container: ElementRef<HTMLDivElement>;
|
|
11
12
|
protected getModel(): ItemValue;
|
|
12
13
|
protected onModelChanged(): void;
|
|
13
14
|
ngAfterViewInit(): void;
|
|
14
15
|
ngOnDestroy(): void;
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectBaseItemComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectBaseItemComponent, "['sv-ng-selectbase-item'], sv-ng-selebase-item", never, { "question": "question"; "model": "model"; "inputType": "inputType"; "showLabel": "showLabel"; }, {}, never, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectBaseItemComponent, "['sv-ng-selectbase-item'], sv-ng-selebase-item", never, { "question": "question"; "model": "model"; "inputType": "inputType"; "showLabel": "showLabel"; "ariaLabel": "ariaLabel"; }, {}, never, never>;
|
|
17
18
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ElementRef } from "@angular/core";
|
|
2
|
+
import { QuestionAngular } from "../question";
|
|
3
|
+
import { QuestionSliderModel } from "survey-core";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SliderQuestionComponent extends QuestionAngular<QuestionSliderModel> {
|
|
6
|
+
rangeInputRef: ElementRef<HTMLInputElement>;
|
|
7
|
+
ngAfterViewInit(): void;
|
|
8
|
+
get rootRef(): HTMLElement;
|
|
9
|
+
get rangeInputElement(): HTMLInputElement;
|
|
10
|
+
get labelCountArray(): number[];
|
|
11
|
+
get valueArray(): number[];
|
|
12
|
+
trackByRenderedValue(i: number): number;
|
|
13
|
+
trackByLabelCount(i: number): number;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SliderQuestionComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SliderQuestionComponent, "sv-ng-slider-question", never, {}, {}, never, never>;
|
|
16
|
+
}
|