@the-liberators/ngx-scrumteamsurvey-tools 2.3.50 → 2.3.52
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.
- package/fesm2022/the-liberators-ngx-scrumteamsurvey-tools.mjs +72 -71
- package/fesm2022/the-liberators-ngx-scrumteamsurvey-tools.mjs.map +1 -1
- package/lib/actions/dialogs/dialog-filters/dialog-filters.component.d.ts +3 -1
- package/lib/components/topicselector/topic-selector.component.d.ts +8 -2
- package/lib/results/models/teamMetaDataDto.d.ts +7 -0
- package/package.json +1 -1
|
@@ -5,9 +5,11 @@ import { IUserSettingStrategy } from '../../../viewModel/userSettings.service';
|
|
|
5
5
|
import { ViewModelStateBase } from '../../../viewModel/viewModelState.service';
|
|
6
6
|
import { IActionState } from '../../interfaces/IActionState';
|
|
7
7
|
import { ActionOptionDto } from '../../models/actionOptionsDto';
|
|
8
|
+
import { ActionService } from '../../services/actionService';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class DialogActionFiltersComponent extends ComponentWithViewStateBase<IActionState> {
|
|
10
11
|
private state;
|
|
12
|
+
private actionService;
|
|
11
13
|
protected snackBar: MatSnackBar;
|
|
12
14
|
private dialogRef;
|
|
13
15
|
protected userSettings: IUserSettingStrategy;
|
|
@@ -18,7 +20,7 @@ export declare class DialogActionFiltersComponent extends ComponentWithViewState
|
|
|
18
20
|
expectedEffectOnList: ActionOptionDto[];
|
|
19
21
|
teams: ActionOptionDto[];
|
|
20
22
|
multipleTeams: boolean;
|
|
21
|
-
constructor(state: ViewModelStateBase<IActionState>, snackBar: MatSnackBar, dialogRef: MatDialogRef<DialogActionFiltersComponent>, userSettings: IUserSettingStrategy, data: {});
|
|
23
|
+
constructor(state: ViewModelStateBase<IActionState>, actionService: ActionService, snackBar: MatSnackBar, dialogRef: MatDialogRef<DialogActionFiltersComponent>, userSettings: IUserSettingStrategy, data: {});
|
|
22
24
|
ngOnInit(): Promise<void>;
|
|
23
25
|
protected onDataUpdate(data: IActionState): void;
|
|
24
26
|
applyFilters(): Promise<void>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SimpleChanges } from '@angular/core';
|
|
1
2
|
import { ControlValueAccessor, FormBuilder, FormGroup } from '@angular/forms';
|
|
2
3
|
import { MatDialog } from '@angular/material/dialog';
|
|
3
4
|
import { FactorStructureDto, QuestionnaireTypeDto, SegmentEnum } from '../../models/modelStructureDto';
|
|
@@ -7,6 +8,7 @@ export declare class TopicSelectorComponent implements ControlValueAccessor {
|
|
|
7
8
|
private dialog;
|
|
8
9
|
form: FormGroup;
|
|
9
10
|
warnings: string[];
|
|
11
|
+
private topicSelectionDto;
|
|
10
12
|
private selectedTopics;
|
|
11
13
|
questionnaireAccuracy: number;
|
|
12
14
|
questionsTeamMembers: number;
|
|
@@ -17,12 +19,15 @@ export declare class TopicSelectorComponent implements ControlValueAccessor {
|
|
|
17
19
|
durationSupporters: number;
|
|
18
20
|
questionsTotal: number;
|
|
19
21
|
topics: FactorStructureDto[];
|
|
22
|
+
presets: QuestionnaireTypeDto[];
|
|
20
23
|
disabled: boolean;
|
|
21
24
|
topicKeys: string[];
|
|
22
|
-
presets: QuestionnaireTypeDto[];
|
|
23
25
|
SegmentEnum: typeof SegmentEnum;
|
|
26
|
+
private formSubscription;
|
|
24
27
|
constructor(formBuilder: FormBuilder, dialog: MatDialog);
|
|
25
28
|
ngOnInit(): void;
|
|
29
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
30
|
+
ngOnDestroy(): void;
|
|
26
31
|
toggleTopic(): void;
|
|
27
32
|
registerOnChange(fn: any): void;
|
|
28
33
|
registerOnTouched(fn: any): void;
|
|
@@ -38,10 +43,11 @@ export declare class TopicSelectorComponent implements ControlValueAccessor {
|
|
|
38
43
|
getSubFactors(parentKey: string): FactorStructureDto[];
|
|
39
44
|
selectAll(topic: FactorStructureDto, $event: Event): void;
|
|
40
45
|
selectNone(topic: FactorStructureDto, $event: Event): void;
|
|
46
|
+
private wireUpTopicSelection;
|
|
41
47
|
private createForm;
|
|
42
48
|
private updateMetaData;
|
|
43
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<TopicSelectorComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TopicSelectorComponent, "topic-selector", never, { "topics": { "alias": "topics"; "required": false; }; "
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TopicSelectorComponent, "topic-selector", never, { "topics": { "alias": "topics"; "required": false; }; "presets": { "alias": "presets"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "topicKeys": { "alias": "topicKeys"; "required": false; }; }, {}, never, never, false, never>;
|
|
45
51
|
}
|
|
46
52
|
export declare class TopicSelectorDto {
|
|
47
53
|
constructor(presetKey: string, topicKeys: string[]);
|
|
@@ -13,6 +13,7 @@ export declare class TeamMetaDataDto {
|
|
|
13
13
|
teamTypes: SelectListItemApiDto[];
|
|
14
14
|
reminderFrequencies: SelectListItemApiDto[];
|
|
15
15
|
reminderDate: Date;
|
|
16
|
+
notificationSettings: TeamNotificationSettingsDto;
|
|
16
17
|
}
|
|
17
18
|
export declare enum SubscriptionTierEnum {
|
|
18
19
|
Freemium = "Freemium",
|
|
@@ -24,3 +25,9 @@ export declare abstract class SelectListItemApiDto {
|
|
|
24
25
|
name: string;
|
|
25
26
|
selected: boolean;
|
|
26
27
|
}
|
|
28
|
+
export declare class TeamNotificationSettingsDto {
|
|
29
|
+
newParticipant: boolean;
|
|
30
|
+
repeat: boolean;
|
|
31
|
+
actionDue: boolean;
|
|
32
|
+
recommendations: boolean;
|
|
33
|
+
}
|