Blame view

lib/modal-image-upload/modal-image-upload.component.d.ts 1.32 KB
75f29219   Anan Sangthongtum   first commit
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
import { EventEmitter, OnInit } from '@angular/core';
import { Request } from '../_services/request.service';
import { Common } from '../_services/common.service';
import { UploadXHRArgs } from 'ng-zorro-antd';
import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs';
import { Subscription } from 'rxjs/Rx';
import { ModalDirective } from 'ngx-bootstrap';
import { AppConfigService } from '../app-config/app-config.service';
export declare class ModalImageUploadComponent implements OnInit {
    private appConfigService;
    private request;
    common: Common;
    private http;
    modal: ModalDirective;
    upLoadType: any;
    systemId: any;
    RelatedAgency: any;
    RecordId: any;
    Subject: any;
    TypeId: any;
    downloadToken: any;
    popupTitle: string;
    uploaded: EventEmitter<{}>;
    onSubmit: EventEmitter<{}>;
    fileList: any;
    uploadHeaders: any;
    loading: boolean;
    avatarUrl: string;
    data: any;
    config: any;
    url: any;
    constructor(appConfigService: AppConfigService, request: Request, common: Common, http: HttpClient);
    ngOnInit(): void;
    onUploaded(file: any): void;
    beforeUpload: (file: any, _fileList: any) => Observable<{}>;
    customReq: (item: UploadXHRArgs) => Subscription;
    clearValue(): void;
    closeModal(): void;
    clickSubmit(): void;
}