mapa-library-ui 0.50.3 → 0.50.5

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 (43) hide show
  1. package/esm2020/lib/core/elements/element-base.mjs +2 -1
  2. package/esm2020/src/lib/components/capability/lib/core/elements/element-base.mjs +2 -1
  3. package/esm2020/src/lib/components/chart/lib/core/elements/element-base.mjs +2 -1
  4. package/esm2020/src/lib/components/dropdown/lib/components/dropdown-tree/src/dropdown.component.mjs +44 -5
  5. package/esm2020/src/lib/components/dropdown/lib/core/elements/element-base.mjs +2 -1
  6. package/esm2020/src/lib/components/dropdown-tree/lib/components/dropdown-tree/src/dropdown.component.mjs +44 -5
  7. package/esm2020/src/lib/components/dropdown-tree/lib/core/elements/element-base.mjs +2 -1
  8. package/esm2020/src/lib/components/form/lib/core/elements/element-base.mjs +2 -1
  9. package/esm2020/src/lib/components/group-report/lib/core/elements/element-base.mjs +2 -1
  10. package/esm2020/src/lib/components/radio-button/lib/core/elements/element-base.mjs +2 -1
  11. package/esm2020/src/lib/components/scale/lib/core/elements/element-base.mjs +2 -1
  12. package/esm2020/src/lib/components/scale-parameterization/lib/core/elements/element-base.mjs +2 -1
  13. package/esm2020/src/lib/components/slide-toggle/lib/core/elements/element-base.mjs +2 -1
  14. package/esm2020/src/lib/components/textarea/lib/core/elements/element-base.mjs +2 -1
  15. package/fesm2015/mapa-library-ui-src-lib-components-dropdown-tree.mjs +45 -4
  16. package/fesm2015/mapa-library-ui-src-lib-components-dropdown-tree.mjs.map +1 -1
  17. package/fesm2015/mapa-library-ui-src-lib-components-dropdown.mjs +45 -4
  18. package/fesm2015/mapa-library-ui-src-lib-components-dropdown.mjs.map +1 -1
  19. package/fesm2015/mapa-library-ui.mjs +1 -0
  20. package/fesm2015/mapa-library-ui.mjs.map +1 -1
  21. package/fesm2020/mapa-library-ui-src-lib-components-dropdown-tree.mjs +44 -4
  22. package/fesm2020/mapa-library-ui-src-lib-components-dropdown-tree.mjs.map +1 -1
  23. package/fesm2020/mapa-library-ui-src-lib-components-dropdown.mjs +44 -4
  24. package/fesm2020/mapa-library-ui-src-lib-components-dropdown.mjs.map +1 -1
  25. package/fesm2020/mapa-library-ui.mjs +1 -0
  26. package/fesm2020/mapa-library-ui.mjs.map +1 -1
  27. package/lib/core/elements/element-base.d.ts +2 -0
  28. package/mapa-library-ui-0.50.5.tgz +0 -0
  29. package/package.json +1 -1
  30. package/src/lib/components/capability/lib/core/elements/element-base.d.ts +2 -0
  31. package/src/lib/components/chart/lib/core/elements/element-base.d.ts +2 -0
  32. package/src/lib/components/dropdown/lib/components/dropdown-tree/src/dropdown.component.d.ts +3 -0
  33. package/src/lib/components/dropdown/lib/core/elements/element-base.d.ts +2 -0
  34. package/src/lib/components/dropdown-tree/lib/components/dropdown-tree/src/dropdown.component.d.ts +3 -0
  35. package/src/lib/components/dropdown-tree/lib/core/elements/element-base.d.ts +2 -0
  36. package/src/lib/components/form/lib/core/elements/element-base.d.ts +2 -0
  37. package/src/lib/components/group-report/lib/core/elements/element-base.d.ts +2 -0
  38. package/src/lib/components/radio-button/lib/core/elements/element-base.d.ts +2 -0
  39. package/src/lib/components/scale/lib/core/elements/element-base.d.ts +2 -0
  40. package/src/lib/components/scale-parameterization/lib/core/elements/element-base.d.ts +2 -0
  41. package/src/lib/components/slide-toggle/lib/core/elements/element-base.d.ts +2 -0
  42. package/src/lib/components/textarea/lib/core/elements/element-base.d.ts +2 -0
  43. package/mapa-library-ui-0.50.3.tgz +0 -0
@@ -34,6 +34,7 @@ export declare class ElementBase {
34
34
  autocomplete?: string;
35
35
  clearValue?: boolean;
36
36
  status?: Status[];
37
+ checkParent?: boolean;
37
38
  constructor(options?: {
38
39
  value?: string;
39
40
  key?: string;
@@ -62,5 +63,6 @@ export declare class ElementBase {
62
63
  autocomplete?: string;
63
64
  clearValue?: boolean;
64
65
  status?: Status[];
66
+ checkParent?: boolean;
65
67
  });
66
68
  }
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mapa-library-ui",
3
- "version": "0.50.3",
3
+ "version": "0.50.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0"
@@ -34,6 +34,7 @@ export declare class ElementBase {
34
34
  autocomplete?: string;
35
35
  clearValue?: boolean;
36
36
  status?: Status[];
37
+ checkParent?: boolean;
37
38
  constructor(options?: {
38
39
  value?: string;
39
40
  key?: string;
@@ -62,5 +63,6 @@ export declare class ElementBase {
62
63
  autocomplete?: string;
63
64
  clearValue?: boolean;
64
65
  status?: Status[];
66
+ checkParent?: boolean;
65
67
  });
66
68
  }
@@ -34,6 +34,7 @@ export declare class ElementBase {
34
34
  autocomplete?: string;
35
35
  clearValue?: boolean;
36
36
  status?: Status[];
37
+ checkParent?: boolean;
37
38
  constructor(options?: {
38
39
  value?: string;
39
40
  key?: string;
@@ -62,5 +63,6 @@ export declare class ElementBase {
62
63
  autocomplete?: string;
63
64
  clearValue?: boolean;
64
65
  status?: Status[];
66
+ checkParent?: boolean;
65
67
  });
66
68
  }
@@ -7,6 +7,7 @@ import { MatTreeFlattener, MatTreeFlatDataSource, MatTree } from "@angular/mater
7
7
  import { Observable } from "rxjs";
8
8
  import { ChecklistDatabase } from "./checklist-database";
9
9
  import { MatAutocomplete } from "@angular/material/autocomplete";
10
+ import { MatCheckbox, MatCheckboxChange } from "@angular/material/checkbox";
10
11
  import * as i0 from "@angular/core";
11
12
  export declare class DataNode {
12
13
  key: string;
@@ -29,6 +30,7 @@ export declare class MapaDropdownTreeComponent implements OnInit, AfterViewInit
29
30
  element: DropdownTree;
30
31
  autocomplete: MatAutocomplete;
31
32
  tree: MatTree<DataNode>;
33
+ toggleAllCheckbox: MatCheckbox;
32
34
  isMenuExpanded: boolean;
33
35
  /** Map from flat node to nested node. This helps us finding the nested node to be modified */
34
36
  flatNodeMap: Map<DataFlatNode, DataNode>;
@@ -49,6 +51,7 @@ export declare class MapaDropdownTreeComponent implements OnInit, AfterViewInit
49
51
  constructor(_database: ChecklistDatabase);
50
52
  ngOnInit(): void;
51
53
  ngAfterViewInit(): void;
54
+ toggleAll(event: MatCheckboxChange): void;
52
55
  clearAll(): void;
53
56
  onPanelChange(): void;
54
57
  filter(array: any[], text: string): void;
@@ -34,6 +34,7 @@ export declare class ElementBase {
34
34
  autocomplete?: string;
35
35
  clearValue?: boolean;
36
36
  status?: Status[];
37
+ checkParent?: boolean;
37
38
  constructor(options?: {
38
39
  value?: string;
39
40
  key?: string;
@@ -62,5 +63,6 @@ export declare class ElementBase {
62
63
  autocomplete?: string;
63
64
  clearValue?: boolean;
64
65
  status?: Status[];
66
+ checkParent?: boolean;
65
67
  });
66
68
  }
@@ -7,6 +7,7 @@ import { MatTreeFlattener, MatTreeFlatDataSource, MatTree } from "@angular/mater
7
7
  import { Observable } from "rxjs";
8
8
  import { ChecklistDatabase } from "./checklist-database";
9
9
  import { MatAutocomplete } from "@angular/material/autocomplete";
10
+ import { MatCheckbox, MatCheckboxChange } from "@angular/material/checkbox";
10
11
  import * as i0 from "@angular/core";
11
12
  export declare class DataNode {
12
13
  key: string;
@@ -29,6 +30,7 @@ export declare class MapaDropdownTreeComponent implements OnInit, AfterViewInit
29
30
  element: DropdownTree;
30
31
  autocomplete: MatAutocomplete;
31
32
  tree: MatTree<DataNode>;
33
+ toggleAllCheckbox: MatCheckbox;
32
34
  isMenuExpanded: boolean;
33
35
  /** Map from flat node to nested node. This helps us finding the nested node to be modified */
34
36
  flatNodeMap: Map<DataFlatNode, DataNode>;
@@ -49,6 +51,7 @@ export declare class MapaDropdownTreeComponent implements OnInit, AfterViewInit
49
51
  constructor(_database: ChecklistDatabase);
50
52
  ngOnInit(): void;
51
53
  ngAfterViewInit(): void;
54
+ toggleAll(event: MatCheckboxChange): void;
52
55
  clearAll(): void;
53
56
  onPanelChange(): void;
54
57
  filter(array: any[], text: string): void;
@@ -34,6 +34,7 @@ export declare class ElementBase {
34
34
  autocomplete?: string;
35
35
  clearValue?: boolean;
36
36
  status?: Status[];
37
+ checkParent?: boolean;
37
38
  constructor(options?: {
38
39
  value?: string;
39
40
  key?: string;
@@ -62,5 +63,6 @@ export declare class ElementBase {
62
63
  autocomplete?: string;
63
64
  clearValue?: boolean;
64
65
  status?: Status[];
66
+ checkParent?: boolean;
65
67
  });
66
68
  }
@@ -34,6 +34,7 @@ export declare class ElementBase {
34
34
  autocomplete?: string;
35
35
  clearValue?: boolean;
36
36
  status?: Status[];
37
+ checkParent?: boolean;
37
38
  constructor(options?: {
38
39
  value?: string;
39
40
  key?: string;
@@ -62,5 +63,6 @@ export declare class ElementBase {
62
63
  autocomplete?: string;
63
64
  clearValue?: boolean;
64
65
  status?: Status[];
66
+ checkParent?: boolean;
65
67
  });
66
68
  }
@@ -34,6 +34,7 @@ export declare class ElementBase {
34
34
  autocomplete?: string;
35
35
  clearValue?: boolean;
36
36
  status?: Status[];
37
+ checkParent?: boolean;
37
38
  constructor(options?: {
38
39
  value?: string;
39
40
  key?: string;
@@ -62,5 +63,6 @@ export declare class ElementBase {
62
63
  autocomplete?: string;
63
64
  clearValue?: boolean;
64
65
  status?: Status[];
66
+ checkParent?: boolean;
65
67
  });
66
68
  }
@@ -34,6 +34,7 @@ export declare class ElementBase {
34
34
  autocomplete?: string;
35
35
  clearValue?: boolean;
36
36
  status?: Status[];
37
+ checkParent?: boolean;
37
38
  constructor(options?: {
38
39
  value?: string;
39
40
  key?: string;
@@ -62,5 +63,6 @@ export declare class ElementBase {
62
63
  autocomplete?: string;
63
64
  clearValue?: boolean;
64
65
  status?: Status[];
66
+ checkParent?: boolean;
65
67
  });
66
68
  }
@@ -34,6 +34,7 @@ export declare class ElementBase {
34
34
  autocomplete?: string;
35
35
  clearValue?: boolean;
36
36
  status?: Status[];
37
+ checkParent?: boolean;
37
38
  constructor(options?: {
38
39
  value?: string;
39
40
  key?: string;
@@ -62,5 +63,6 @@ export declare class ElementBase {
62
63
  autocomplete?: string;
63
64
  clearValue?: boolean;
64
65
  status?: Status[];
66
+ checkParent?: boolean;
65
67
  });
66
68
  }
@@ -34,6 +34,7 @@ export declare class ElementBase {
34
34
  autocomplete?: string;
35
35
  clearValue?: boolean;
36
36
  status?: Status[];
37
+ checkParent?: boolean;
37
38
  constructor(options?: {
38
39
  value?: string;
39
40
  key?: string;
@@ -62,5 +63,6 @@ export declare class ElementBase {
62
63
  autocomplete?: string;
63
64
  clearValue?: boolean;
64
65
  status?: Status[];
66
+ checkParent?: boolean;
65
67
  });
66
68
  }
@@ -34,6 +34,7 @@ export declare class ElementBase {
34
34
  autocomplete?: string;
35
35
  clearValue?: boolean;
36
36
  status?: Status[];
37
+ checkParent?: boolean;
37
38
  constructor(options?: {
38
39
  value?: string;
39
40
  key?: string;
@@ -62,5 +63,6 @@ export declare class ElementBase {
62
63
  autocomplete?: string;
63
64
  clearValue?: boolean;
64
65
  status?: Status[];
66
+ checkParent?: boolean;
65
67
  });
66
68
  }
@@ -34,6 +34,7 @@ export declare class ElementBase {
34
34
  autocomplete?: string;
35
35
  clearValue?: boolean;
36
36
  status?: Status[];
37
+ checkParent?: boolean;
37
38
  constructor(options?: {
38
39
  value?: string;
39
40
  key?: string;
@@ -62,5 +63,6 @@ export declare class ElementBase {
62
63
  autocomplete?: string;
63
64
  clearValue?: boolean;
64
65
  status?: Status[];
66
+ checkParent?: boolean;
65
67
  });
66
68
  }
Binary file