@touchpoll/tp-survey 0.0.49 → 0.0.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.
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ValidatorFn } from '@angular/forms';
|
|
2
|
-
import { IdbSection } from '../../../tp.survey.interface';
|
|
2
|
+
import { IdbAlternative, IdbSection } from '../../../tp.survey.interface';
|
|
3
3
|
export declare const answerDefaultValidator: () => ValidatorFn;
|
|
4
4
|
export declare const answerODValidator: (minValue: number | null, maxValue: number | null) => ValidatorFn;
|
|
5
5
|
export declare const answerOLValidator: (isPhoneNumber: boolean, canSkip: boolean) => ValidatorFn;
|
|
6
6
|
export declare const answerSSValidator: () => ValidatorFn;
|
|
7
|
-
export declare const answerMSValidator: (
|
|
7
|
+
export declare const answerMSValidator: (visibleAlternativeList: Array<IdbAlternative>, minCount?: number, maxCount?: number) => ValidatorFn;
|
|
8
8
|
export declare const answerSlValidator: (required: boolean, minAnswersCount: number, sectionList: Array<IdbSection>) => ValidatorFn;
|
|
9
9
|
export declare const additionalAnswerDefaultValidator: (required: boolean) => ValidatorFn;
|
|
10
10
|
export declare const additionalAnswerNumberValidator: (required: boolean, minValue: number | null, maxValue: number | null) => ValidatorFn;
|