survery-lib 0.1.28 → 0.1.30
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/esm2022/lib/services/survey-lib.service.mjs +1 -8
- package/esm2022/lib/survery-lib.component.mjs +3 -11
- package/esm2022/shared/form-interfaces/survery-lib.form-interface.mjs +1 -1
- package/fesm2022/survery-lib.mjs +4 -18
- package/fesm2022/survery-lib.mjs.map +1 -1
- package/lib/services/survey-lib.service.d.ts +0 -4
- package/lib/survery-lib.component.d.ts +0 -2
- package/package.json +1 -1
- package/shared/form-interfaces/survery-lib.form-interface.d.ts +0 -1
|
@@ -1,20 +1,16 @@
|
|
|
1
1
|
import { SurveyDto } from '../../shared/dtos/survey.dto';
|
|
2
2
|
import { surveyAnswersSubjectDto } from '../../shared/dtos/survey-answers-subject.dto';
|
|
3
|
-
import { SurveyLanguageDto } from '../../shared/dtos/survey-language.dto';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class SurveyLibService {
|
|
6
5
|
private surveyDataSubject;
|
|
7
6
|
private surveyAnswersSubject;
|
|
8
|
-
private surveyLanguagesSubject;
|
|
9
7
|
private reloadSurveySubject;
|
|
10
8
|
get surveyDataObsrv(): import("rxjs").Observable<SurveyDto>;
|
|
11
9
|
get surveyAnswersObsrv(): import("rxjs").Observable<surveyAnswersSubjectDto>;
|
|
12
|
-
get surveyLanguagesObsrv(): import("rxjs").Observable<SurveyLanguageDto[]>;
|
|
13
10
|
get reloadSurveyObsrv(): import("rxjs").Observable<string>;
|
|
14
11
|
constructor();
|
|
15
12
|
setSurveyData(survey: SurveyDto): void;
|
|
16
13
|
setsurveyAnswers(model: surveyAnswersSubjectDto): void;
|
|
17
|
-
setSurveyLanguages(arr: SurveyLanguageDto[]): void;
|
|
18
14
|
setReloadSurvey(): void;
|
|
19
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<SurveyLibService, never>;
|
|
20
16
|
static ɵprov: i0.ɵɵInjectableDeclaration<SurveyLibService>;
|
|
@@ -20,14 +20,12 @@ export declare class SurveryLibComponent implements OnInit, AfterViewInit {
|
|
|
20
20
|
rForm: FormGroup<SurveryLibFormInterface>;
|
|
21
21
|
get fCtrls(): {
|
|
22
22
|
currentPageIndex: import("@ng-stack/forms").FormControl<number, import("@ng-stack/forms").ValidatorsModel>;
|
|
23
|
-
selectedLanguageId: import("@ng-stack/forms").FormControl<number, import("@ng-stack/forms").ValidatorsModel>;
|
|
24
23
|
questionArray: import("@ng-stack/forms").FormArray<QuestionChildOfSurveryLibFormInterface, import("@ng-stack/forms").ValidatorsModel>;
|
|
25
24
|
ruleQuestionArray: import("@ng-stack/forms").FormArray<RuleQuestionChildOfSurveryLibFormInterface, import("@ng-stack/forms").ValidatorsModel>;
|
|
26
25
|
};
|
|
27
26
|
get questionTypeEnum(): typeof QuestionTypeEnum;
|
|
28
27
|
get isFirstPage(): boolean;
|
|
29
28
|
get isLastPage(): boolean;
|
|
30
|
-
get selectedLanguageIdValue(): number;
|
|
31
29
|
get showedSurveyPages(): number[];
|
|
32
30
|
get curruntShowedSurveyPages(): number;
|
|
33
31
|
get surveyResult(): {
|
package/package.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { QuestionTypeEnum } from "../enums/question-type.enum";
|
|
2
2
|
export interface SurveryLibFormInterface {
|
|
3
3
|
currentPageIndex: number;
|
|
4
|
-
selectedLanguageId: number;
|
|
5
4
|
questionArray: QuestionChildOfSurveryLibFormInterface[];
|
|
6
5
|
ruleQuestionArray: RuleQuestionChildOfSurveryLibFormInterface[];
|
|
7
6
|
}
|