@rangertechnologies/ngnxt 2.1.19 → 2.1.21
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/components/custom-dropdown/custom-dropdown.component.mjs +19 -3
- package/esm2022/lib/components/file-upload/file-upload.component.mjs +64 -9
- package/esm2022/lib/components/table-appendix/table-appendix.component.mjs +1 -1
- package/esm2022/lib/pages/booklet/booklet.component.mjs +1 -1
- package/esm2022/lib/pages/questionbook/questionbook.component.mjs +3 -3
- package/fesm2022/rangertechnologies-ngnxt.mjs +79 -10
- package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
- package/lib/components/custom-dropdown/custom-dropdown.component.d.ts +1 -0
- package/lib/components/file-upload/file-upload.component.d.ts +15 -2
- package/package.json +1 -1
- package/rangertechnologies-ngnxt-2.1.21.tgz +0 -0
- package/rangertechnologies-ngnxt-2.1.19.tgz +0 -0
|
@@ -27,6 +27,7 @@ export declare class CustomDropdownComponent implements OnInit {
|
|
|
27
27
|
valueField: string;
|
|
28
28
|
subscription: Subscription;
|
|
29
29
|
ngOnInit(): void;
|
|
30
|
+
getValue(element: any, column: string): any;
|
|
30
31
|
selectChange(event: any): void;
|
|
31
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomDropdownComponent, never>;
|
|
32
33
|
static ɵcmp: i0.ɵɵComponentDeclaration<CustomDropdownComponent, "app-custom-dropdown", never, { "options": "options"; "placeholder": "placeholder"; "apiMeta": "apiMeta"; "selectedValue": "selectedValue"; "progressBar": "progressBar"; "id": "id"; "errorMessage": "errorMessage"; "error": "error"; "fromShengel": "fromShengel"; "referenceField": "referenceField"; "token": "token"; }, { "valueChange": "valueChange"; }, never, never, false>;
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { OnInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { I18nService } from '../../i18n.service';
|
|
3
3
|
import { SharedService } from '../../services/shared.service';
|
|
4
|
+
import { DataService } from '../../services/data.service';
|
|
5
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
7
|
export declare class FileUploadComponent implements OnInit, OnChanges {
|
|
6
8
|
private SharedService;
|
|
9
|
+
private dataService;
|
|
10
|
+
private sanitizer;
|
|
7
11
|
i18nService: I18nService;
|
|
8
12
|
selectedFileData: EventEmitter<any[]>;
|
|
9
13
|
deletedFileData: EventEmitter<any>;
|
|
@@ -12,15 +16,24 @@ export declare class FileUploadComponent implements OnInit, OnChanges {
|
|
|
12
16
|
isDeleteFileButtonVisible: any;
|
|
13
17
|
isShowNoFileIcon: any;
|
|
14
18
|
tableFile: any;
|
|
19
|
+
question: any;
|
|
15
20
|
selectedFileNameArray: string[];
|
|
16
21
|
copyOfInputAllFiles: any;
|
|
17
22
|
copyOfFileUploadingLimit: any;
|
|
18
|
-
|
|
23
|
+
fileUrl: any;
|
|
24
|
+
showFile: boolean;
|
|
25
|
+
isImage: boolean;
|
|
26
|
+
fileName: string;
|
|
27
|
+
constructor(SharedService: SharedService, dataService: DataService, sanitizer: DomSanitizer, i18nService: I18nService);
|
|
19
28
|
ngOnInit(): void;
|
|
20
29
|
ngOnChanges(simpleChanges: SimpleChanges): void;
|
|
21
30
|
uploadMultipleFiles(event: any): void;
|
|
22
31
|
deleteFile(currentFileIndex: any): void;
|
|
32
|
+
viewFile(currentFile: any): void;
|
|
33
|
+
handleFileContent(fileResponse: any): void;
|
|
34
|
+
setFileUrl(url: string): void;
|
|
23
35
|
getDocIcon(docName: any): "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-PDF.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-XLSX.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-DOCX.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-AVI.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-DOC.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-GIF.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-JPG.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-MOV.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-MP3.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-MP4.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-MPEG.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-MPG.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-PNG.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-PPT.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-TXT.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-XLS.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/ic_document.svg";
|
|
36
|
+
close(): void;
|
|
24
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "app-file-upload", never, { "allFiles": "allFiles"; "limitFileUploading": "limitFileUploading"; "isDeleteFileButtonVisible": "isDeleteFileButtonVisible"; "isShowNoFileIcon": "isShowNoFileIcon"; "tableFile": "tableFile"; }, { "selectedFileData": "selectedFileData"; "deletedFileData": "deletedFileData"; }, never, never, false>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "app-file-upload", never, { "allFiles": "allFiles"; "limitFileUploading": "limitFileUploading"; "isDeleteFileButtonVisible": "isDeleteFileButtonVisible"; "isShowNoFileIcon": "isShowNoFileIcon"; "tableFile": "tableFile"; "question": "question"; }, { "selectedFileData": "selectedFileData"; "deletedFileData": "deletedFileData"; }, never, never, false>;
|
|
26
39
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|