modal-step.component.d.ts
3.41 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
import { EventEmitter, OnInit } from '@angular/core';
import { ModalOptions, ModalDirective } from 'ngx-bootstrap';
import { AppConfigService } from '../app-config/app-config.service';
import { Request } from '../_services/request.service';
import { Common } from '../_services/common.service';
import { FormBuilder, FormGroup, AbstractControl } from '@angular/forms';
import { DxDataGridComponent } from 'devextreme-angular';
import { DateService } from '../_services/date.service';
import { UploadAttachmentComponent } from '../upload-attachment/upload-attachment.component';
import { B2bService } from '../_services/b2b.service';
declare class Options {
/** title ที่ต้องการแสดง */
title?: String;
/** data */
data: any;
}
export declare class ModalStepComponent extends Options implements OnInit {
private appConfigService;
private request;
private formBuilder;
common: Common;
date: DateService;
b2bService: B2bService;
onUpdateModal: EventEmitter<{}>;
modal: ModalDirective;
myModal: any;
sendModal: ModalDirective;
recieveModal: ModalDirective;
dxDataGridStepSendList: DxDataGridComponent;
uploadAttachment: UploadAttachmentComponent;
registerForm: FormGroup;
sendForm: FormGroup;
recieveForm: FormGroup;
submitted: boolean;
submittedSend: boolean;
submittedRecieve: boolean;
title: any;
selectList: any;
sendList: any;
recieveList: any;
modalConfig: ModalOptions;
th: any;
selectedStep: any;
isMore: boolean;
moreField: any;
config: any;
stepData: any;
sendData: any;
recieveData: any;
lastStep: string;
isSend: boolean;
isRecieve: boolean;
isEditSend: boolean;
isEditRecieve: boolean;
tmpData: any;
filteredDepartments: any;
departmentList: any;
departmentUrl: string;
causeUrl: string;
causeFilter: string;
tempId: number;
attachmentUrl: any;
system_id: any;
filter_ref_ext_department_id: any;
filter_ref_ext_department_id_show: boolean;
constructor(appConfigService: AppConfigService, request: Request, formBuilder: FormBuilder, common: Common, date: DateService, b2bService: B2bService);
ngOnInit(): void;
open(options?: Options): Promise<void>;
f(): {
[key: string]: AbstractControl;
};
fs(): {
[key: string]: AbstractControl;
};
fr(): {
[key: string]: AbstractControl;
};
closeModal(): void;
closeSendModal(): void;
closeRecieveModal(): void;
onYesClick(modal: any): void;
onNoClick(modal: any): void;
onHidden($event: ModalDirective): void;
valueSeleteMinistry(value: any): void;
valueSeleteDeptName(value: any): void;
checkExtraField(): Promise<void>;
getFieldId(data: any): string;
addField(data: any, required: any): void;
getValidateMoreField(i: any, field: any, validateType?: any): any;
getRowIndex(data: any): any;
onCellPrepared(e: any): void;
addSend(): void;
editSend(data: any): void;
editRecieve(data: any): void;
filterDepartments(event: any): void;
onSubmit(): Promise<void>;
getStepList(): Promise<any>;
onClickBack(): void;
onSubmitSend(): Promise<void>;
onSubmitRecieve(): Promise<void>;
isImportant(data: any): "" | "สำคัญ";
onUploaded(data: any): void;
checkDisable(field: any): boolean;
getImageLink(data: any): Promise<string>;
}
export {};