11< h2 mat-dialog-title align ="center "> Report Configuration</ h2 >
22
33< mat-dialog-content class ="config-content ">
4-
54 <!-- Display Configuration -->
65 < div class ="config-section ">
76 < h3 > Display Configuration</ h3 >
87
98 < div class ="config-row ">
109 < span class ="config-row-label "> Column Grouping:</ span >
11- < mat-button-toggle-group class = "column-toggle " [value] ="config.columnGrouping " (change) ="setColumnGrouping($event.value) ">
10+ < mat-button-toggle-group
11+ class ="column-toggle "
12+ [value] ="config.columnGrouping "
13+ (change) ="setColumnGrouping($event.value) ">
1214 < mat-button-toggle value ="byProgress "> By Progress Stage</ mat-button-toggle >
1315 < mat-button-toggle value ="byTeam "> By Team</ mat-button-toggle >
1416 </ mat-button-toggle-group >
1517 </ div >
1618
17- < mat-checkbox [checked] ="config.showDescription "
18- (change) ="toggleAttribute('showDescription') ">
19- Show Description
20- </ mat-checkbox >
19+ < mat-checkbox [checked] ="config.showDescription " (change) ="toggleAttribute('showDescription') ">
20+ Show Description
21+ </ mat-checkbox >
2122
2223 < div class ="config-row slider-row " *ngIf ="config.showDescription ">
23- < span class ="config-row-label "> Description Word Cap: < strong > {{ config.descriptionWordCap }}</ strong > </ span >
24- < mat-slider class ="word-cap-slider " min ="5 " [max] ="maxWordCap " step ="5 " thumbLabel [displayWith] ="wordCapLabel "
25- [value] ="config.descriptionWordCap " (input) ="onWordCapChange($event) ">
24+ < span class ="config-row-label "
25+ > Description Word Cap: < strong > {{ config.descriptionWordCap }}</ strong > </ span
26+ >
27+ < mat-slider
28+ class ="word-cap-slider "
29+ min ="5 "
30+ [max] ="maxWordCap "
31+ step ="5 "
32+ thumbLabel
33+ [displayWith] ="wordCapLabel "
34+ [value] ="config.descriptionWordCap "
35+ (input) ="onWordCapChange($event) ">
2636 </ mat-slider >
2737 </ div >
2838 </ div >
@@ -36,7 +46,10 @@ <h3>Teams</h3>
3646 < div class ="select-all-actions ">
3747 < button mat-button color ="primary " (click) ="selectAllTeams() "> Select All</ button >
3848 < button mat-button (click) ="deselectAllTeams() "> Deselect All</ button >
39- < button *ngIf ="groupNames.length > 0 " mat-stroked-button [matMenuTriggerFor] ="groupMenu "
49+ < button
50+ *ngIf ="groupNames.length > 0 "
51+ mat-stroked-button
52+ [matMenuTriggerFor] ="groupMenu "
4053 class ="group-dropdown-btn ">
4154 < mat-icon > group</ mat-icon >
4255 Select Group
@@ -49,7 +62,10 @@ <h3>Teams</h3>
4962 </ mat-menu >
5063 </ div >
5164 < div class ="checkbox-grid ">
52- < mat-checkbox *ngFor ="let team of allTeams " [checked] ="isTeamSelected(team) " (change) ="toggleTeam(team) ">
65+ < mat-checkbox
66+ *ngFor ="let team of allTeams "
67+ [checked] ="isTeamSelected(team) "
68+ (change) ="toggleTeam(team) ">
5369 {{ team }}
5470 </ mat-checkbox >
5571 </ div >
@@ -62,7 +78,9 @@ <h3>Teams</h3>
6278 < h3 > Dimensions</ h3 >
6379 < p class ="config-hint "> Uncheck dimensions to exclude all their activities.</ p >
6480 < div class ="checkbox-grid ">
65- < mat-checkbox *ngFor ="let dim of allDimensions " [checked] ="!isDimensionExcluded(dim) "
81+ < mat-checkbox
82+ *ngFor ="let dim of allDimensions "
83+ [checked] ="!isDimensionExcluded(dim) "
6684 (change) ="toggleDimension(dim) ">
6785 {{ dim }}
6886 </ mat-checkbox >
@@ -76,7 +94,9 @@ <h3>Dimensions</h3>
7694 < h3 > Subdimensions</ h3 >
7795 < p class ="config-hint "> Uncheck subdimensions to exclude their activities.</ p >
7896 < div class ="checkbox-grid subdimension-grid ">
79- < mat-checkbox *ngFor ="let subdim of allSubdimensions " [checked] ="!isSubdimensionExcluded(subdim) "
97+ < mat-checkbox
98+ *ngFor ="let subdim of allSubdimensions "
99+ [checked] ="!isSubdimensionExcluded(subdim) "
80100 (change) ="toggleSubdimension(subdim) ">
81101 {{ subdim }}
82102 </ mat-checkbox >
@@ -95,7 +115,9 @@ <h3>Individual Activities</h3>
95115 < mat-icon matSuffix > search</ mat-icon >
96116 </ mat-form-field >
97117 < div class ="activity-list ">
98- < mat-checkbox *ngFor ="let activity of filteredActivities " [checked] ="!isActivityExcluded(activity.uuid) "
118+ < mat-checkbox
119+ *ngFor ="let activity of filteredActivities "
120+ [checked] ="!isActivityExcluded(activity.uuid) "
99121 (change) ="toggleActivity(activity.uuid) ">
100122 < span class ="activity-checkbox-label ">
101123 < span class ="activity-name "> {{ activity.name }}</ span >
@@ -106,12 +128,11 @@ <h3>Individual Activities</h3>
106128 </ div >
107129
108130 < mat-divider > </ mat-divider >
109-
110131</ mat-dialog-content >
111132
112133< mat-dialog-actions align ="end ">
113134 < button mat-button (click) ="onCancel() "> Cancel</ button >
114135 < button mat-raised-button color ="primary " (click) ="onSave() ">
115136 Save Configuration and Generate Report
116137 </ button >
117- </ mat-dialog-actions >
138+ </ mat-dialog-actions >
0 commit comments