survey-angular-ui 1.9.50 → 1.9.52
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 +4 -3
- package/components/survey-header/logo-image.component.d.ts +9 -0
- package/components/survey-header/survey-header.component.d.ts +5 -3
- package/esm2020/angular-ui.mjs +2 -1
- package/esm2020/angular-ui.module.mjs +6 -5
- package/esm2020/comment.component.mjs +3 -3
- package/esm2020/components/dropdown/dropdown.component.mjs +10 -8
- package/esm2020/components/survey-actions/survey-nav-btn.component.mjs +3 -3
- package/esm2020/components/survey-header/logo-image.component.mjs +20 -0
- package/esm2020/components/survey-header/survey-header.component.mjs +14 -7
- package/esm2020/components/tagbox/tagbox.component.mjs +3 -3
- package/esm2020/element.component.mjs +3 -3
- package/esm2020/page.component.mjs +7 -6
- package/esm2020/panel.component.mjs +4 -3
- package/esm2020/questions/image.component.mjs +11 -1
- package/esm2020/questions/matrix.component.mjs +4 -3
- package/esm2020/questions/matrixcell.component.mjs +35 -10
- package/esm2020/questions/matrixtable.component.mjs +4 -3
- package/esm2020/questions/paneldynamic.component.mjs +33 -9
- package/esm2020/questions/ranking-item.component.mjs +3 -1
- package/esm2020/questions/ranking.component.mjs +16 -7
- package/esm2020/questions/selectbase.component.mjs +6 -3
- package/esm2020/survey-content.component.mjs +3 -3
- package/esm2020/template-renderer.component.mjs +7 -4
- package/esm2020/utils/dynamic.directive.mjs +8 -6
- package/fesm2015/survey-angular-ui.mjs +193 -95
- package/fesm2015/survey-angular-ui.mjs.map +1 -1
- package/fesm2020/survey-angular-ui.mjs +193 -94
- package/fesm2020/survey-angular-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/page.component.d.ts +3 -3
- package/questions/image.component.d.ts +2 -0
- package/questions/matrixcell.component.d.ts +4 -2
- package/questions/paneldynamic.component.d.ts +2 -0
- package/questions/ranking.component.d.ts +5 -2
- package/questions/selectbase.component.d.ts +1 -0
- package/template-renderer.component.d.ts +3 -1
- package/utils/dynamic.directive.d.ts +3 -2
package/package.json
CHANGED
package/page.component.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef } from "@angular/core";
|
|
2
2
|
import { PageModel, SurveyModel } from "survey-core";
|
|
3
3
|
import { BaseAngular } from "./base-angular";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class PageComponent extends BaseAngular<PageModel>
|
|
5
|
+
export declare class PageComponent extends BaseAngular<PageModel> {
|
|
6
6
|
model: PageModel;
|
|
7
7
|
survey?: SurveyModel;
|
|
8
8
|
pageContainerRef: ElementRef<HTMLDivElement>;
|
|
9
9
|
protected getModel(): PageModel;
|
|
10
|
-
|
|
10
|
+
protected onModelChanged(): void;
|
|
11
11
|
ngAfterViewInit(): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageComponent, never>;
|
|
13
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<PageComponent, "page", never, { "model": "model"; "survey": "survey"; }, {}, never, never>;
|
|
@@ -2,6 +2,8 @@ import { QuestionAngular } from "../question";
|
|
|
2
2
|
import { QuestionImageModel } from "survey-core";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ImageQuestionComponent extends QuestionAngular<QuestionImageModel> {
|
|
5
|
+
ngAfterViewInit(): void;
|
|
6
|
+
ngOnDestroy(): void;
|
|
5
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageQuestionComponent, never>;
|
|
6
8
|
static ɵcmp: i0.ɵɵComponentDeclaration<ImageQuestionComponent, "sv-ng-image-question", never, {}, {}, never, never>;
|
|
7
9
|
}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { ElementRef } from "@angular/core";
|
|
2
2
|
import { BaseAngular } from "../base-angular";
|
|
3
|
-
import { Question, QuestionMatrixDropdownRenderedCell } from "survey-core";
|
|
3
|
+
import { Question, QuestionMatrixDropdownModelBase, QuestionMatrixDropdownRenderedCell } from "survey-core";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class MatrixCellComponent extends BaseAngular<Question> {
|
|
6
|
-
question:
|
|
6
|
+
question: QuestionMatrixDropdownModelBase;
|
|
7
7
|
cell: QuestionMatrixDropdownRenderedCell;
|
|
8
8
|
cellContainer: ElementRef<HTMLElement>;
|
|
9
9
|
isVisible: boolean;
|
|
10
10
|
getModel(): Question;
|
|
11
11
|
get row(): import("survey-core").MatrixDropdownRowModelBase;
|
|
12
|
+
get panelComponentName(): string;
|
|
13
|
+
get panelComponentData(): any;
|
|
12
14
|
getComponentName(element: Question): string;
|
|
13
15
|
getHeaders(): string;
|
|
14
16
|
getCellStyle(): {
|
|
@@ -7,6 +7,8 @@ export declare class PanelDynamicQuestionComponent extends QuestionAngular<Quest
|
|
|
7
7
|
protected onModelChanged(): void;
|
|
8
8
|
get progressCssClass(): any;
|
|
9
9
|
ngOnDestroy(): void;
|
|
10
|
+
getPanelComponentName(panel: PanelModel): string;
|
|
11
|
+
getPanelComponentData(panel: PanelModel): any;
|
|
10
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<PanelDynamicQuestionComponent, never>;
|
|
11
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<PanelDynamicQuestionComponent, "sv-ng-paneldynamic-question", never, {}, {}, never, never>;
|
|
12
14
|
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import { QuestionAngular } from "../question";
|
|
2
1
|
import { ItemValue, QuestionRankingModel } from "survey-core";
|
|
2
|
+
import { SelectBaseComponent } from "./selectbase.component";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class RankingQuestionComponent extends
|
|
4
|
+
export declare class RankingQuestionComponent extends SelectBaseComponent<QuestionRankingModel> {
|
|
5
|
+
inputType: string;
|
|
5
6
|
trackItemBy: (index: number, item: ItemValue) => string;
|
|
7
|
+
getDefaultComponentName(): string;
|
|
8
|
+
getItemValueComponentData(item: ItemValue, index?: number): any;
|
|
6
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<RankingQuestionComponent, never>;
|
|
7
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<RankingQuestionComponent, "sv-ng-ranking-question", never, {}, {}, never, never>;
|
|
8
11
|
}
|
|
@@ -5,6 +5,7 @@ export declare class SelectBaseComponent<T extends QuestionSelectBase> extends Q
|
|
|
5
5
|
model: any;
|
|
6
6
|
inputType: string;
|
|
7
7
|
showLegend: boolean;
|
|
8
|
+
getDefaultComponentName(): string;
|
|
8
9
|
getItemValueComponentName(item: ItemValue): string;
|
|
9
10
|
getItemValueComponentData(item: ItemValue): any;
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectBaseComponent<any>, never>;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { TemplateRef } from "@angular/core";
|
|
1
2
|
import { EmbeddedViewContentComponent } from "./embedded-view-content.component";
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class TemplateRendererComponent extends EmbeddedViewContentComponent {
|
|
4
5
|
componentName: string;
|
|
5
6
|
componentData: any;
|
|
7
|
+
contentTempl?: TemplateRef<unknown>;
|
|
6
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateRendererComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TemplateRendererComponent, "sv-template-renderer", never, { "componentName": "componentName"; "componentData": "componentData"; }, {}, never, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TemplateRendererComponent, "sv-template-renderer", never, { "componentName": "componentName"; "componentData": "componentData"; "contentTempl": "contentTempl"; }, {}, never, never>;
|
|
8
10
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges, ViewContainerRef } from "@angular/core";
|
|
1
|
+
import { OnChanges, SimpleChanges, TemplateRef, ViewContainerRef } from "@angular/core";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
interface IDynamicComponent {
|
|
4
4
|
name: string;
|
|
@@ -7,7 +7,8 @@ interface IDynamicComponent {
|
|
|
7
7
|
}
|
|
8
8
|
export declare class DynamicComponentDirective implements OnChanges {
|
|
9
9
|
private containerRef;
|
|
10
|
-
|
|
10
|
+
private templateRef;
|
|
11
|
+
constructor(containerRef: ViewContainerRef, templateRef: TemplateRef<unknown>);
|
|
11
12
|
component: IDynamicComponent;
|
|
12
13
|
private componentInstance;
|
|
13
14
|
ngOnChanges(changes: SimpleChanges): void;
|