survey-angular-ui 3.2.2 → 3.2.3

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 (26) hide show
  1. package/README.md +1 -1
  2. package/angular-ui.d.ts +3 -1
  3. package/angular-ui.module.d.ts +91 -89
  4. package/bundles/survey-angular-ui.umd.js +95 -28
  5. package/bundles/survey-angular-ui.umd.js.map +1 -1
  6. package/components/records-bar/records-sort-dialog.component.d.ts +10 -0
  7. package/components/records-bar/sort-bar-level.component.d.ts +9 -0
  8. package/components/renderAs/boolean-switch/boolean-switch.component.d.ts +1 -0
  9. package/esm2015/angular-ui.js +4 -2
  10. package/esm2015/angular-ui.module.js +12 -10
  11. package/esm2015/components/element-title/title-actions.component.js +2 -2
  12. package/esm2015/components/popup/popup-container.component.js +4 -4
  13. package/esm2015/components/records-bar/records-sort-dialog.component.js +29 -0
  14. package/esm2015/components/records-bar/sort-bar-level.component.js +25 -0
  15. package/esm2015/components/renderAs/boolean-switch/boolean-switch.component.js +10 -3
  16. package/esm2015/questions/matrixdropdown.component.js +4 -4
  17. package/esm2015/questions/matrixdynamic.component.js +3 -4
  18. package/esm2015/questions/matrixheadersortbutton.component.js +32 -0
  19. package/esm2015/questions/matrixtable.component.js +9 -8
  20. package/esm2015/questions/paneldynamic.component.js +4 -5
  21. package/fesm2015/survey-angular-ui.js +79 -24
  22. package/fesm2015/survey-angular-ui.js.map +1 -1
  23. package/package.json +2 -2
  24. package/questions/matrixheadersortbutton.component.d.ts +11 -0
  25. package/components/records-bar/records-bar.component.d.ts +0 -9
  26. package/esm2015/components/records-bar/records-bar.component.js +0 -26
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-angular-ui",
3
- "version": "3.2.2",
3
+ "version": "3.2.3",
4
4
  "homepage": "https://surveyjs.io/",
5
5
  "author": "DevSoft Baltic OU <info@devsoftbaltic.com>",
6
6
  "license": "MIT",
@@ -49,7 +49,7 @@
49
49
  "@angular/cdk": "*",
50
50
  "@angular/core": "*",
51
51
  "@angular/forms": "*",
52
- "survey-core": "3.2.2"
52
+ "survey-core": "3.2.3"
53
53
  },
54
54
  "overrides": {
55
55
  "stylus": "github:stylus/stylus#0.54.8"
@@ -0,0 +1,11 @@
1
+ import { BaseAngular } from "../base-angular";
2
+ import { QuestionMatrixDropdownModelBase, QuestionMatrixDropdownRenderedCell } from "survey-core";
3
+ import * as i0 from "@angular/core";
4
+ export declare class MatrixHeaderSortButtonComponent extends BaseAngular<QuestionMatrixDropdownModelBase> {
5
+ cell: QuestionMatrixDropdownRenderedCell;
6
+ question: QuestionMatrixDropdownModelBase;
7
+ getModel(): QuestionMatrixDropdownModelBase;
8
+ onClick(event: MouseEvent): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatrixHeaderSortButtonComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatrixHeaderSortButtonComponent, "sv-ng-matrixheadersortbutton", never, { "cell": "cell"; "question": "question"; }, {}, never, never>;
11
+ }
@@ -1,9 +0,0 @@
1
- import { BaseAngular } from "../../base-angular";
2
- import { QuestionRecordsBar } from "survey-core";
3
- import * as i0 from "@angular/core";
4
- export declare class RecordsBarComponent extends BaseAngular<QuestionRecordsBar> {
5
- model: QuestionRecordsBar;
6
- getModel(): QuestionRecordsBar;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<RecordsBarComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<RecordsBarComponent, "sv-ng-records-bar", never, { "model": "model"; }, {}, never, never>;
9
- }
@@ -1,26 +0,0 @@
1
- import { Component, Input } from "@angular/core";
2
- import { AngularComponentFactory } from "../../component-factory";
3
- import { BaseAngular } from "../../base-angular";
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "../action-bar/action-bar.component";
6
- import * as i2 from "@angular/common";
7
- // The bar under the records of a dynamic panel and of a matrix: the pager.
8
- export class RecordsBarComponent extends BaseAngular {
9
- getModel() {
10
- return this.model;
11
- }
12
- }
13
- RecordsBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecordsBarComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
14
- RecordsBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: RecordsBarComponent, selector: "sv-ng-records-bar", inputs: { model: "model" }, usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <div *ngIf=\"model.isVisible\" [class]=\"model.cssClasses.root\">\n <div [class]=\"model.cssClasses.pager\">\n <sv-ng-action-bar [model]=\"model.pagerActions\"></sv-ng-action-bar>\n </div>\n </div>\n</ng-template>\n", styles: [":host { display: none }"], components: [{ type: i1.ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecordsBarComponent, decorators: [{
16
- type: Component,
17
- args: [{
18
- selector: "sv-ng-records-bar",
19
- templateUrl: "./records-bar.component.html",
20
- styles: [":host { display: none }"]
21
- }]
22
- }], propDecorators: { model: [{
23
- type: Input
24
- }] } });
25
- AngularComponentFactory.Instance.registerComponent("sv-records-bar", RecordsBarComponent);
26
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVjb3Jkcy1iYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvcmVjb3Jkcy1iYXIvcmVjb3Jkcy1iYXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvcmVjb3Jkcy1iYXIvcmVjb3Jkcy1iYXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMi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