survey-angular-ui 1.9.49 → 1.9.50

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.
Files changed (45) hide show
  1. package/angular-ui.d.ts +1 -0
  2. package/angular-ui.module.d.ts +5 -3
  3. package/comment.component.d.ts +1 -0
  4. package/components/dropdown/dropdown.component.d.ts +1 -1
  5. package/components/matrix-actions/drag-drop-icon/drag-drop-icon.d.ts +5 -6
  6. package/components/popup/modal-container.component.d.ts +15 -0
  7. package/components/tagbox/tagbox.component.d.ts +1 -1
  8. package/element.component.d.ts +1 -0
  9. package/esm2020/angular-ui.mjs +2 -1
  10. package/esm2020/angular-ui.module.mjs +7 -5
  11. package/esm2020/comment.component.mjs +8 -3
  12. package/esm2020/components/dropdown/dropdown.component.mjs +5 -5
  13. package/esm2020/components/list/list-item.component.mjs +3 -3
  14. package/esm2020/components/list/list.component.mjs +4 -3
  15. package/esm2020/components/matrix-actions/drag-drop-icon/drag-drop-icon.mjs +7 -11
  16. package/esm2020/components/popup/modal-container.component.mjs +41 -0
  17. package/esm2020/components/renderAs/dropdown-select/dropdown-select.component.mjs +3 -3
  18. package/esm2020/components/tagbox/tagbox-filter.component.mjs +3 -3
  19. package/esm2020/components/tagbox/tagbox.component.mjs +5 -5
  20. package/esm2020/element.component.mjs +18 -8
  21. package/esm2020/questions/checkbox.component.mjs +6 -6
  22. package/esm2020/questions/dropdown.component.mjs +3 -3
  23. package/esm2020/questions/imagepicker-item.component.mjs +3 -1
  24. package/esm2020/questions/imagepicker.component.mjs +18 -5
  25. package/esm2020/questions/matrix-row.component.mjs +27 -0
  26. package/esm2020/questions/matrixcell.component.mjs +16 -12
  27. package/esm2020/questions/matrixtable.component.mjs +6 -5
  28. package/esm2020/questions/radiogroup.component.mjs +6 -6
  29. package/esm2020/questions/selectbase-item.mjs +3 -1
  30. package/esm2020/questions/selectbase.component.mjs +20 -6
  31. package/esm2020/questions/tagbox.component.mjs +3 -3
  32. package/esm2020/survey-content.component.mjs +3 -1
  33. package/esm2020/survey.component.mjs +5 -4
  34. package/esm2020/template-renderer.component.mjs +6 -12
  35. package/esm2020/utils/ng-key2click.directive.mjs +7 -7
  36. package/fesm2015/survey-angular-ui.mjs +398 -303
  37. package/fesm2015/survey-angular-ui.mjs.map +1 -1
  38. package/fesm2020/survey-angular-ui.mjs +398 -303
  39. package/fesm2020/survey-angular-ui.mjs.map +1 -1
  40. package/package.json +1 -1
  41. package/questions/imagepicker.component.d.ts +3 -1
  42. package/questions/matrix-row.component.d.ts +12 -0
  43. package/questions/matrixcell.component.d.ts +1 -0
  44. package/questions/selectbase.component.d.ts +4 -2
  45. package/template-renderer.component.d.ts +5 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-angular-ui",
3
- "version": "1.9.49",
3
+ "version": "1.9.50",
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",
@@ -1,7 +1,9 @@
1
1
  import { QuestionAngular } from "../question";
2
- import { QuestionImagePickerModel } from "survey-core";
2
+ import { ItemValue, QuestionImagePickerModel } from "survey-core";
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ImagePickerQuestionComponent extends QuestionAngular<QuestionImagePickerModel> {
5
+ getItemValueComponentName(item: ItemValue): string;
6
+ getItemValueComponentData(item: ItemValue): any;
5
7
  static ɵfac: i0.ɵɵFactoryDeclaration<ImagePickerQuestionComponent, never>;
6
8
  static ɵcmp: i0.ɵɵComponentDeclaration<ImagePickerQuestionComponent, "sv-ng-imagepicker-question", never, {}, {}, never, never>;
7
9
  }
@@ -0,0 +1,12 @@
1
+ import { BaseAngular } from "../base-angular";
2
+ import { MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, QuestionMatrixDropdownRenderedRow } from "survey-core";
3
+ import * as i0 from "@angular/core";
4
+ export declare class MatrixRowComponent extends BaseAngular<QuestionMatrixDropdownRenderedRow> {
5
+ model: QuestionMatrixDropdownRenderedRow;
6
+ question: QuestionMatrixDropdownModelBase;
7
+ protected getModel(): QuestionMatrixDropdownRenderedRow;
8
+ get row(): MatrixDropdownRowModelBase;
9
+ trackCellBy(_: number, cell: any): string;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatrixRowComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatrixRowComponent, "sv-ng-matrix-row", never, { "model": "model"; "question": "question"; }, {}, never, never>;
12
+ }
@@ -8,6 +8,7 @@ export declare class MatrixCellComponent extends BaseAngular<Question> {
8
8
  cellContainer: ElementRef<HTMLElement>;
9
9
  isVisible: boolean;
10
10
  getModel(): Question;
11
+ get row(): import("survey-core").MatrixDropdownRowModelBase;
11
12
  getComponentName(element: Question): string;
12
13
  getHeaders(): string;
13
14
  getCellStyle(): {
@@ -1,10 +1,12 @@
1
1
  import { QuestionAngular } from "../question";
2
- import { QuestionSelectBase } from "survey-core";
2
+ import { ItemValue, QuestionSelectBase } from "survey-core";
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class SelectBaseComponent<T extends QuestionSelectBase> extends QuestionAngular<T> {
5
+ model: any;
5
6
  inputType: string;
6
7
  showLegend: boolean;
7
- model: any;
8
+ getItemValueComponentName(item: ItemValue): string;
9
+ getItemValueComponentData(item: ItemValue): any;
8
10
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectBaseComponent<any>, never>;
9
11
  static ɵcmp: i0.ɵɵComponentDeclaration<SelectBaseComponent<any>, "['sv-ng-selectbase']", never, { "model": "model"; }, {}, never, never>;
10
12
  }
@@ -1,11 +1,8 @@
1
- import { PanelModel, Question } from "survey-core";
2
- import { BaseAngular } from "./base-angular";
1
+ import { EmbeddedViewContentComponent } from "./embedded-view-content.component";
3
2
  import * as i0 from "@angular/core";
4
- export declare class TemplateRendererComponent extends BaseAngular<PanelModel | Question> {
5
- model: PanelModel | Question;
6
- componentData?: any;
7
- protected getModel(): PanelModel | Question;
8
- get componentName(): string;
3
+ export declare class TemplateRendererComponent extends EmbeddedViewContentComponent {
4
+ componentName: string;
5
+ componentData: any;
9
6
  static ɵfac: i0.ɵɵFactoryDeclaration<TemplateRendererComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<TemplateRendererComponent, "sv-template-renderer", never, { "model": "model"; "componentData": "componentData"; }, {}, never, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<TemplateRendererComponent, "sv-template-renderer", never, { "componentName": "componentName"; "componentData": "componentData"; }, {}, never, never>;
11
8
  }