survey-angular-ui 1.9.48 → 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 (59) hide show
  1. package/angular-ui.d.ts +4 -0
  2. package/angular-ui.module.d.ts +88 -82
  3. package/base-angular.d.ts +2 -1
  4. package/comment.component.d.ts +1 -0
  5. package/components/action-bar/action.component.d.ts +0 -1
  6. package/components/dropdown/dropdown.component.d.ts +10 -5
  7. package/components/list/list.component.d.ts +1 -0
  8. package/components/matrix-actions/drag-drop-icon/drag-drop-icon.d.ts +5 -6
  9. package/components/popup/modal-container.component.d.ts +15 -0
  10. package/components/tagbox/tagbox-filter.component.d.ts +10 -0
  11. package/components/tagbox/tagbox.component.d.ts +4 -3
  12. package/element.component.d.ts +3 -0
  13. package/esm2020/angular-ui.mjs +5 -1
  14. package/esm2020/angular-ui.module.mjs +18 -12
  15. package/esm2020/base-angular.mjs +4 -1
  16. package/esm2020/comment.component.mjs +8 -3
  17. package/esm2020/components/action-bar/action.component.mjs +3 -6
  18. package/esm2020/components/dropdown/dropdown.component.mjs +35 -12
  19. package/esm2020/components/list/list-item.component.mjs +3 -3
  20. package/esm2020/components/list/list.component.mjs +7 -3
  21. package/esm2020/components/matrix-actions/drag-drop-icon/drag-drop-icon.mjs +7 -11
  22. package/esm2020/components/popup/modal-container.component.mjs +41 -0
  23. package/esm2020/components/renderAs/boolean-checkbox/boolean-checkbox.component.mjs +3 -3
  24. package/esm2020/components/renderAs/boolean-radio/boolean-radio-item.component.mjs +3 -3
  25. package/esm2020/components/renderAs/dropdown-select/dropdown-select.component.mjs +3 -3
  26. package/esm2020/components/tagbox/tagbox-filter.component.mjs +22 -0
  27. package/esm2020/components/tagbox/tagbox-item.component.mjs +3 -3
  28. package/esm2020/components/tagbox/tagbox.component.mjs +14 -10
  29. package/esm2020/element.component.mjs +30 -3
  30. package/esm2020/questions/button-group/button-group-item.component.mjs +29 -0
  31. package/esm2020/questions/button-group/button-group.component.mjs +14 -0
  32. package/esm2020/questions/checkbox.component.mjs +6 -6
  33. package/esm2020/questions/dropdown.component.mjs +3 -3
  34. package/esm2020/questions/imagepicker-item.component.mjs +3 -1
  35. package/esm2020/questions/imagepicker.component.mjs +18 -5
  36. package/esm2020/questions/matrix-row.component.mjs +27 -0
  37. package/esm2020/questions/matrixcell.component.mjs +16 -12
  38. package/esm2020/questions/matrixtable.component.mjs +6 -5
  39. package/esm2020/questions/radiogroup.component.mjs +6 -6
  40. package/esm2020/questions/selectbase-item.mjs +3 -1
  41. package/esm2020/questions/selectbase.component.mjs +20 -6
  42. package/esm2020/questions/tagbox.component.mjs +3 -3
  43. package/esm2020/survey-content.component.mjs +3 -1
  44. package/esm2020/survey.component.mjs +5 -4
  45. package/esm2020/template-renderer.component.mjs +20 -0
  46. package/esm2020/utils/dynamic.directive.mjs +6 -2
  47. package/esm2020/utils/ng-key2click.directive.mjs +7 -7
  48. package/fesm2015/survey-angular-ui.mjs +518 -307
  49. package/fesm2015/survey-angular-ui.mjs.map +1 -1
  50. package/fesm2020/survey-angular-ui.mjs +517 -307
  51. package/fesm2020/survey-angular-ui.mjs.map +1 -1
  52. package/package.json +1 -1
  53. package/questions/button-group/button-group-item.component.d.ts +14 -0
  54. package/questions/button-group/button-group.component.d.ts +7 -0
  55. package/questions/imagepicker.component.d.ts +3 -1
  56. package/questions/matrix-row.component.d.ts +12 -0
  57. package/questions/matrixcell.component.d.ts +1 -0
  58. package/questions/selectbase.component.d.ts +4 -2
  59. package/template-renderer.component.d.ts +8 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-angular-ui",
3
- "version": "1.9.48",
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",
@@ -0,0 +1,14 @@
1
+ import { OnChanges } from "@angular/core";
2
+ import { BaseAngular } from "../../base-angular";
3
+ import { ButtonGroupItemModel, ItemValue, QuestionButtonGroupModel } from "survey-core";
4
+ import * as i0 from "@angular/core";
5
+ export declare class ButtonGroupItemComponent extends BaseAngular<ItemValue> implements OnChanges {
6
+ item: ItemValue;
7
+ question: QuestionButtonGroupModel;
8
+ index: number;
9
+ model: ButtonGroupItemModel;
10
+ ngOnChanges(): void;
11
+ protected getModel(): ItemValue;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonGroupItemComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonGroupItemComponent, "sv-button-group-item", never, { "item": "item"; "question": "question"; "index": "index"; }, {}, never, never>;
14
+ }
@@ -0,0 +1,7 @@
1
+ import { QuestionAngular } from "../../question";
2
+ import { QuestionButtonGroupModel } from "survey-core";
3
+ import * as i0 from "@angular/core";
4
+ export declare class ButtonGroupQuestionComponent extends QuestionAngular<QuestionButtonGroupModel> {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonGroupQuestionComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonGroupQuestionComponent, "sv-ng-buttongroup-question", never, {}, {}, never, never>;
7
+ }
@@ -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
  }
@@ -0,0 +1,8 @@
1
+ import { EmbeddedViewContentComponent } from "./embedded-view-content.component";
2
+ import * as i0 from "@angular/core";
3
+ export declare class TemplateRendererComponent extends EmbeddedViewContentComponent {
4
+ componentName: string;
5
+ componentData: any;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<TemplateRendererComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<TemplateRendererComponent, "sv-template-renderer", never, { "componentName": "componentName"; "componentData": "componentData"; }, {}, never, never>;
8
+ }