survey-angular-ui 1.9.123 → 1.9.125

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": "1.9.123",
3
+ "version": "1.9.125",
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",
@@ -3,7 +3,7 @@ import { QuestionMatrixModel } from "survey-core";
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class MatrixQuestionComponent extends QuestionAngular<QuestionMatrixModel> {
5
5
  ngOnInit(): void;
6
- onChange(row: any, column: any): void;
6
+ onCellChanged(row: any, column: any): void;
7
7
  trackRowByFn(i: number, row: any): string;
8
8
  trackColumnByFn(i: number, column: any): string;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<MatrixQuestionComponent, never>;
@@ -1,24 +1,16 @@
1
- import { ElementRef } from "@angular/core";
2
- import { BaseAngular } from "../base-angular";
3
- import { Question, QuestionMatrixDropdownModelBase, QuestionMatrixDropdownRenderedCell, MatrixDropdownRowModelBase } from "survey-core";
1
+ import { MatrixRowModel, ItemValue, QuestionMatrixModel } from "survey-core";
4
2
  import * as i0 from "@angular/core";
5
- export declare class MatrixCellComponent extends BaseAngular<Question> {
6
- question: QuestionMatrixDropdownModelBase;
7
- cell: QuestionMatrixDropdownRenderedCell;
8
- cellContainer: ElementRef<HTMLElement>;
9
- getModel(): any;
10
- get row(): MatrixDropdownRowModelBase;
11
- ngDoCheck(): void;
12
- get panelComponentName(): string;
13
- get panelComponentData(): any;
14
- getComponentName(element: Question): string;
15
- getHeaders(): string;
16
- getCellStyle(): {
17
- width: string;
18
- minWidth: string;
19
- } | null;
20
- ngAfterViewInit(): void;
21
- ngOnDestroy(): void;
3
+ export interface INgMatrixCellChanged {
4
+ onCellChanged(row: MatrixRowModel, column: ItemValue): void;
5
+ }
6
+ export declare class MatrixCellComponent {
7
+ question: QuestionMatrixModel;
8
+ column: ItemValue;
9
+ row: MatrixRowModel;
10
+ columnIndex: number;
11
+ cellChangedOwner: INgMatrixCellChanged;
12
+ constructor();
13
+ onChange(): void;
22
14
  static ɵfac: i0.ɵɵFactoryDeclaration<MatrixCellComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<MatrixCellComponent, "sv-ng-matrix-cell", never, { "question": "question"; "cell": "cell"; }, {}, never, never>;
15
+ 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, ["*"]>;
24
16
  }
@@ -0,0 +1,25 @@
1
+ import { ElementRef } from "@angular/core";
2
+ import { BaseAngular } from "../base-angular";
3
+ import { Question, QuestionMatrixDropdownModelBase, QuestionMatrixDropdownRenderedCell, MatrixDropdownRowModelBase } from "survey-core";
4
+ import * as i0 from "@angular/core";
5
+ export declare class MatrixDropdownCellComponent extends BaseAngular<Question> {
6
+ question: QuestionMatrixDropdownModelBase;
7
+ cell: QuestionMatrixDropdownRenderedCell;
8
+ cellContainer: ElementRef<HTMLElement>;
9
+ getModel(): any;
10
+ get row(): MatrixDropdownRowModelBase;
11
+ ngDoCheck(): void;
12
+ get panelComponentName(): string;
13
+ get panelComponentData(): any;
14
+ getComponentName(element: Question): string;
15
+ getHeaders(): string;
16
+ getCellStyle(): {
17
+ width: string;
18
+ minWidth: string;
19
+ } | null;
20
+ get isRequiredCell(): boolean;
21
+ ngAfterViewInit(): void;
22
+ ngOnDestroy(): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatrixDropdownCellComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatrixDropdownCellComponent, "sv-ng-matrixdropdown-cell", never, { "question": "question"; "cell": "cell"; }, {}, never, never>;
25
+ }