upload-attachment.component.d.ts
1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import { EventEmitter, OnInit } from '@angular/core';
import { AppConfigService } from '../app-config/app-config.service';
import { Http } from '@angular/http';
import { Request } from '../_services/request.service';
import { Common } from '../_services/common.service';
import { NgForm } from '@angular/forms';
import { UploadXHRArgs } from 'ng-zorro-antd';
import { HttpClient, HttpHeaders } from '@angular/common/http';
import { Subscription } from 'rxjs/Rx';
import { Observable } from 'rxjs';
export declare class UploadAttachmentComponent implements OnInit {
private appConfigService;
private request;
common: Common;
private http;
_http: Http;
form: NgForm;
upLoadType: any;
systemId: any;
RelatedAgency: any;
RecordId: any;
Subject: any;
TypeId: any;
onlyImage: boolean;
uploaded: EventEmitter<{}>;
fileList: any;
fileNameLink: string;
fileNameLinkError: string;
QrCodeFileName: string;
fileNameQr: string;
fileNameLinkQr: string;
fileNameQrError: string;
filter: any;
uploadHeaders: any;
config: any;
url: any;
uploadUrl: any;
qr: any;
isLoading: boolean;
isDisabled: boolean;
constructor(appConfigService: AppConfigService, request: Request, common: Common, http: HttpClient, _http: Http);
ngOnInit(): void;
uploadLinkQr(): void;
btnUpload(): void;
onQrCodeChange(): void;
onUploaded(file: any): void;
onSelected(e: any): void;
createAuthorizationHeader: (headers: HttpHeaders) => void;
beforeUpload: (file: any, _fileList: any) => Observable<{}>;
customReq: (item: UploadXHRArgs) => Subscription;
onChange(data: any): void;
clearValue(): void;
}