survery-lib 2.1.48 → 2.1.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.
@@ -25,8 +25,9 @@ export declare class QuestionFileTemplateComponent implements OnInit {
25
25
  convertToFormControl(element: any): FormControl<any>;
26
26
  onFileSelect(event: Event): void;
27
27
  openFileInNewTab(item: {
28
- file: string;
28
+ fileBase64: string;
29
29
  name: string;
30
+ id: string;
30
31
  }): void;
31
32
  onDeleteFile(index: number): void;
32
33
  static ɵfac: i0.ɵɵFactoryDeclaration<QuestionFileTemplateComponent, never>;
@@ -17,8 +17,9 @@ export interface QuestionNgrxModel {
17
17
  answerIdArr: any;
18
18
  answerText: any;
19
19
  answerFile: {
20
- file: string;
20
+ byteArr: string;
21
21
  name: string;
22
+ id: string;
22
23
  }[];
23
24
  answerLevelId?: number;
24
25
  isRequired: boolean;
@@ -31,15 +31,17 @@ export declare const surveyActions: {
31
31
  updateQuestionFileAnswer: import("@ngrx/store").ActionCreator<"[Survey library] Update Question Answer", (props: {
32
32
  questionId: any;
33
33
  fileArr: {
34
- file: string;
34
+ byteArr: string;
35
35
  name: string;
36
+ id: string;
36
37
  }[];
37
38
  isValid: boolean;
38
39
  }) => {
39
40
  questionId: any;
40
41
  fileArr: {
41
- file: string;
42
+ byteArr: string;
42
43
  name: string;
44
+ id: string;
43
45
  }[];
44
46
  isValid: boolean;
45
47
  } & import("@ngrx/store/src/models").TypedAction<"[Survey library] Update Question Answer">>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survery-lib",
3
- "version": "2.1.48",
3
+ "version": "2.1.50",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0"
@@ -7,10 +7,10 @@ export interface QuestionFileTemplateFormInterface {
7
7
  title: FormControl<string>;
8
8
  description: FormControl<string>;
9
9
  fileArr: FormControl<{
10
- file: string;
10
+ fileBase64: string;
11
11
  name: string;
12
12
  byteArr: string;
13
- fileRaw?: File | null;
13
+ id: string;
14
14
  }[] | null>;
15
15
  surveyAnswerId: FormControl<number>;
16
16
  isShow: FormControl<boolean>;
@@ -8,8 +8,9 @@ export declare class SurveyQuestionResult {
8
8
  AnswerText: any;
9
9
  AnswerLevelId: any;
10
10
  AnswerFile: {
11
- file: string;
11
+ byteArr: string;
12
12
  name: string;
13
+ id: string;
13
14
  }[];
14
15
  PassedRuleQuestionId?: any;
15
16
  }