survery-lib 2.1.42 → 2.1.44

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.
@@ -27,4 +27,5 @@ export interface QuestionNgrxModel {
27
27
  parentQuestionId: any;
28
28
  questionAllInfo: SurveyQuestionDto;
29
29
  maxLevelValue?: number;
30
+ passedRuleQuestionId?: number;
30
31
  }
@@ -4,5 +4,5 @@ export declare const questionSelectors: {
4
4
  allQuestions: import("@ngrx/store").MemoizedSelector<object, import("../entites/question.entity").QuestionNgrxModel[], (s1: SurveyState) => import("../entites/question.entity").QuestionNgrxModel[]>;
5
5
  pageQuestions: import("@ngrx/store").MemoizedSelector<object, import("../entites/question.entity").QuestionNgrxModel[], (s1: SurveyState) => import("../entites/question.entity").QuestionNgrxModel[]>;
6
6
  questionAnswers: import("@ngrx/store").MemoizedSelector<object, SurveyQuestionResult[], (s1: SurveyState) => SurveyQuestionResult[]>;
7
- HaveValidQuestionsCurrentPage: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: SurveyState) => boolean>;
7
+ allRequiredQuestionsOfCurrentPageDone: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: SurveyState) => boolean>;
8
8
  };
@@ -49,10 +49,16 @@ export declare const surveyActions: {
49
49
  isShow: boolean;
50
50
  } & import("@ngrx/store/src/models").TypedAction<"[Survey library] Update Question Show">>;
51
51
  updateQuestionsShow: import("@ngrx/store").ActionCreator<"[Survey library] Update Questions Show", (props: {
52
- questionIds: any[];
52
+ questions: {
53
+ id: any;
54
+ passedRuleQuestionId: any;
55
+ }[];
53
56
  isShow: boolean;
54
57
  }) => {
55
- questionIds: any[];
58
+ questions: {
59
+ id: any;
60
+ passedRuleQuestionId: any;
61
+ }[];
56
62
  isShow: boolean;
57
63
  } & import("@ngrx/store/src/models").TypedAction<"[Survey library] Update Questions Show">>;
58
64
  updateQuestionDisable: import("@ngrx/store").ActionCreator<"[Survey library] Update Question Disable", (props: {
@@ -63,10 +69,16 @@ export declare const surveyActions: {
63
69
  isDisabled: boolean;
64
70
  } & import("@ngrx/store/src/models").TypedAction<"[Survey library] Update Question Disable">>;
65
71
  updateQuestionsDisable: import("@ngrx/store").ActionCreator<"[Survey library] Update Questions Disable", (props: {
66
- questionIds: any[];
72
+ questions: {
73
+ id: any;
74
+ passedRuleQuestionId: any;
75
+ }[];
67
76
  isDisabled: boolean;
68
77
  }) => {
69
- questionIds: any[];
78
+ questions: {
79
+ id: any;
80
+ passedRuleQuestionId: any;
81
+ }[];
70
82
  isDisabled: boolean;
71
83
  } & import("@ngrx/store/src/models").TypedAction<"[Survey library] Update Questions Disable">>;
72
84
  updateQuestionRequired: import("@ngrx/store").ActionCreator<"[Survey library] Update Question Required", (props: {
@@ -24,7 +24,7 @@ export declare class SurveryLibComponent implements OnInit, AfterViewInit {
24
24
  isFirstPage$: Observable<boolean>;
25
25
  isLastPage$: Observable<boolean>;
26
26
  curruntShowedSurveyPages$: Observable<number>;
27
- haveValidQuestionsCurrentPage$: Observable<boolean>;
27
+ allRequiredQuestionsOfCurrentPageDone$: Observable<boolean>;
28
28
  get fCtrls(): SurveryLibFormInterface;
29
29
  get isFirstPage(): boolean;
30
30
  get questionTypeEnum(): typeof QuestionTypeEnum;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survery-lib",
3
- "version": "2.1.42",
3
+ "version": "2.1.44",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0"
@@ -1,9 +1,11 @@
1
1
  export declare class SurveyQuestionResult {
2
2
  SurveyPageIndex: number;
3
3
  QuestionId: any;
4
+ QuestionName: any;
4
5
  QuestionType: any;
5
6
  AnswerId: any;
6
7
  AnswerIdArr: any;
7
8
  AnswerText: any;
8
9
  AnswerLevelId: any;
10
+ PassedRuleQuestionId?: any;
9
11
  }