@amirjalili1374/ui-kit 1.2.0 → 1.2.1
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/README.md +10 -10
- package/package.json +1 -2
- package/src/assets/fonts/A Massir Spray.ttf +0 -0
- package/src/assets/fonts/BYekan.ttf +0 -0
- package/src/assets/fonts/BYekan.woff +0 -0
- package/src/assets/fonts/BYekan.woff2 +0 -0
- package/src/assets/fonts/Dima Shekasteh 2 Free.ttf +0 -0
- package/src/assets/fonts/Dima Shekasteh Free Regular.ttf +0 -0
- package/src/assets/fonts/IRANSansWeb.ts +0 -1
- package/src/assets/fonts/IRANSansWeb.ttf +0 -0
- package/src/assets/fonts/IRANSansXBlack.ttf +0 -0
- package/src/assets/fonts/IRANSansXBold.ttf +0 -0
- package/src/assets/fonts/IRANSansXDemiBold.ttf +0 -0
- package/src/assets/fonts/IRANSansXExtraBold.ttf +0 -0
- package/src/assets/fonts/IRANSansXLight.ttf +0 -0
- package/src/assets/fonts/IRANSansXMedium.ttf +0 -0
- package/src/assets/fonts/IRANSansXRegular.ttf +0 -0
- package/src/assets/fonts/IRANSansXThin.ttf +0 -0
- package/src/assets/fonts/IRANSansXUltraLight.ttf +0 -0
- package/src/assets/fonts/IranNastaliq.ttf +0 -0
- package/src/assets/fonts/Vazir-Medium-FD.ttf +0 -0
- package/src/assets/fonts/Vazir-Medium-FD.woff +0 -0
- package/src/assets/fonts/Vazir-Medium-FD.woff2 +0 -0
- package/src/assets/fonts/Vazir-Regular-FD.eot +0 -0
- package/src/assets/fonts/kalamehBold.woff +0 -0
- package/src/assets/fonts/kalamehBold.woff2 +0 -0
- package/src/assets/fonts/kalamehHeavy.woff +0 -0
- package/src/assets/fonts/kalamehHeavy.woff2 +0 -0
- package/src/assets/fonts/kalamehLight.woff +0 -0
- package/src/assets/fonts/kalamehLight.woff2 +0 -0
- package/src/assets/fonts/kalamehRegular.woff +0 -0
- package/src/assets/fonts/kalamehRegular.woff2 +0 -0
- package/src/assets/images/auth/social-google.svg +0 -6
- package/src/assets/images/favicon.svg +0 -18
- package/src/assets/images/icons/icon-card.svg +0 -5
- package/src/assets/images/logos/logo.svg +0 -12
- package/src/assets/images/logos/logolight.svg +0 -12
- package/src/assets/images/maintenance/img-error-bg.svg +0 -34
- package/src/assets/images/maintenance/img-error-blue.svg +0 -43
- package/src/assets/images/maintenance/img-error-purple.svg +0 -42
- package/src/assets/images/maintenance/img-error-text.svg +0 -27
- package/src/assets/images/profile/profile-user-account-svgrepo-com.svg +0 -12
- package/src/assets/images/profile/user-round.svg +0 -15
- package/src/assets/images/template/template-01.ts +0 -1
- package/src/assets/images/vectors/colorized-bg.svg +0 -40
- package/src/assets/images/vectors/logo_stroke_1px.svg +0 -26
- package/src/assets/images/vectors/logo_stroke_2px.svg +0 -26
- package/src/assets/scss/components/_approval-sections.scss +0 -75
- package/src/assets/styles/fonts.scss +0 -77
- package/src/components/Loading.vue +0 -88
- package/src/components/common/AppStepper.vue +0 -139
- package/src/components/shared/BaseBreadcrumb.vue +0 -55
- package/src/components/shared/BaseIcon.vue +0 -27
- package/src/components/shared/ConfirmDialog.vue +0 -72
- package/src/components/shared/CustomAutocomplete.vue +0 -306
- package/src/components/shared/CustomDataTable.vue +0 -1859
- package/src/components/shared/DescriptionInput.vue +0 -204
- package/src/components/shared/DownloadButton.vue +0 -169
- package/src/components/shared/MoneyInput.vue +0 -105
- package/src/components/shared/PdfViewer.vue +0 -645
- package/src/components/shared/ShamsiDatePicker.vue +0 -444
- package/src/components/shared/UiChildCard.vue +0 -17
- package/src/components/shared/UiParentCard.vue +0 -21
- package/src/components/shared/VPriceTextField.vue +0 -136
- package/src/composables/useDataTable.ts +0 -152
- package/src/composables/usePermissions.ts +0 -90
- package/src/composables/useRouteGuard.ts +0 -36
- package/src/composables/useTableActions.ts +0 -207
- package/src/composables/useTableHeaders.ts +0 -172
- package/src/composables/useTableSelection.ts +0 -201
- package/src/constants/enums/approval.ts +0 -13
- package/src/constants/enums/booleanEnum.ts +0 -11
- package/src/constants/enums/contractType.ts +0 -11
- package/src/constants/enums/lcProductType.ts +0 -21
- package/src/constants/enums/repaymentType.ts +0 -11
- package/src/directives/v-digit-limit.ts +0 -15
- package/src/directives/v-permission.ts +0 -31
- package/src/features/index.ts +0 -48
- package/src/index.ts +0 -119
- package/src/plugins/key-clock.ts +0 -39
- package/src/plugins/mdi-icon.ts +0 -31
- package/src/plugins/vuetify.ts +0 -74
- package/src/scss/_override.scss +0 -72
- package/src/scss/_variables.scss +0 -124
- package/src/scss/components/_VButtons.scss +0 -23
- package/src/scss/components/_VCard.scss +0 -20
- package/src/scss/components/_VCustomDataTable.scss +0 -282
- package/src/scss/components/_VField.scss +0 -9
- package/src/scss/components/_VInput.scss +0 -17
- package/src/scss/components/_VNavigationDrawer.scss +0 -3
- package/src/scss/components/_VShadow.scss +0 -3
- package/src/scss/components/_VStepper.scss +0 -235
- package/src/scss/components/_VTabs.scss +0 -11
- package/src/scss/components/_VTextField.scss +0 -40
- package/src/scss/components/_approval.scss +0 -128
- package/src/scss/layout/_container.scss +0 -147
- package/src/scss/layout/_sidebar.scss +0 -138
- package/src/scss/layout/_topbar.scss +0 -39
- package/src/scss/pages/_dashboards.scss +0 -97
- package/src/scss/style.scss +0 -21
- package/src/services/apiService.ts +0 -59
- package/src/services/axiosInstance.ts +0 -14
- package/src/stores/customizer.ts +0 -55
- package/src/stores/permissions.ts +0 -237
- package/src/theme/darkThemes/DarkModernTheme.ts +0 -54
- package/src/theme/darkThemes/DarkOrangeTheme.ts +0 -53
- package/src/theme/darkThemes/DarkPurpleTheme.ts +0 -54
- package/src/theme/darkThemes/DarkRedTheme.ts +0 -54
- package/src/theme/darkThemes/DarkSilverTheme.ts +0 -53
- package/src/theme/darkThemes/DarkSteelTealGreen.ts +0 -53
- package/src/theme/darkThemes/DarkTealTheme.ts +0 -52
- package/src/theme/lightThemes/ModernTheme.ts +0 -55
- package/src/theme/lightThemes/OrangeTheme.ts +0 -54
- package/src/theme/lightThemes/PurpleTheme.ts +0 -54
- package/src/theme/lightThemes/RedTheme.ts +0 -55
- package/src/theme/lightThemes/SilverTheme.ts +0 -55
- package/src/theme/lightThemes/SteelTealGreen.ts +0 -54
- package/src/theme/lightThemes/TealTheme.ts +0 -54
- package/src/types/approval/approvalType.ts +0 -473
- package/src/types/cartable/cartableTypes.ts +0 -169
- package/src/types/componentTypes/DataTableType.ts +0 -14
- package/src/types/componentTypes/DataTableTypes.ts +0 -130
- package/src/types/enums/global.ts +0 -267
- package/src/types/jalaali-js.d.ts +0 -6
- package/src/types/models/Base.ts +0 -4
- package/src/types/models/env.d.ts +0 -10
- package/src/types/models/person.ts +0 -13
- package/src/types/models/userInfo.ts +0 -29
- package/src/types/preApproval/preApprovalTypes.ts +0 -67
- package/src/types/shims-tabler-icons.d.ts +0 -58
- package/src/types/themeTypes/ThemeType.ts +0 -47
- package/src/types/vue-apexcharts.d.ts +0 -1
- package/src/types/vue3-print-nb.d.ts +0 -1
- package/src/types/vue_tabler_icon.d.ts +0 -10
- package/src/utils/NationalCodeValidator.ts +0 -33
- package/src/utils/date-convertor.ts +0 -40
- package/src/utils/greetingUtils.ts +0 -97
- package/src/utils/helpers/fake-backend.ts +0 -68
- package/src/utils/helpers/fetch-wrapper.ts +0 -86
- package/src/utils/number-formatter.ts +0 -33
- package/src/validators/nationalCodeRule.ts +0 -6
|
@@ -1,473 +0,0 @@
|
|
|
1
|
-
export interface CustomerDto {
|
|
2
|
-
createdAt?: string;
|
|
3
|
-
updatedAt?: string;
|
|
4
|
-
createdBy?: string;
|
|
5
|
-
updatedBy?: string;
|
|
6
|
-
id?: number;
|
|
7
|
-
trackingCode?: string;
|
|
8
|
-
status?: string;
|
|
9
|
-
requestDate?: string;
|
|
10
|
-
cif?: string;
|
|
11
|
-
summery?: string;
|
|
12
|
-
branchCode?: string;
|
|
13
|
-
nationalCode?: string;
|
|
14
|
-
customerName?: string;
|
|
15
|
-
address?: number;
|
|
16
|
-
postalCode?: number;
|
|
17
|
-
phoneNo?: number;
|
|
18
|
-
branchName?: string;
|
|
19
|
-
clientgroupname?: string;
|
|
20
|
-
facilities?: Facility | Facility[];
|
|
21
|
-
guarantee?: Guarantee | Guarantee[];
|
|
22
|
-
lc?: Lc | Lc[];
|
|
23
|
-
greenLicense?: GreenLicense | GreenLicense[];
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export interface Facility {
|
|
27
|
-
id: number;
|
|
28
|
-
approvalType: string;
|
|
29
|
-
currency: string;
|
|
30
|
-
amount: number;
|
|
31
|
-
repaymentType: string;
|
|
32
|
-
year?: string;
|
|
33
|
-
month?: string;
|
|
34
|
-
day?: string;
|
|
35
|
-
durationDay?: string;
|
|
36
|
-
collaterals: Collaterals[];
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export interface Guarantee {
|
|
40
|
-
id: number;
|
|
41
|
-
approvalType: string;
|
|
42
|
-
currency: string;
|
|
43
|
-
amount: number;
|
|
44
|
-
year?: string;
|
|
45
|
-
month?: string;
|
|
46
|
-
day?: string;
|
|
47
|
-
durationDay?: string;
|
|
48
|
-
collaterals: Collaterals[];
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export interface Lc {
|
|
52
|
-
id: number;
|
|
53
|
-
approvalType: string;
|
|
54
|
-
currency: string;
|
|
55
|
-
amount: number;
|
|
56
|
-
creditType: string;
|
|
57
|
-
year?: string;
|
|
58
|
-
month?: string;
|
|
59
|
-
day?: string;
|
|
60
|
-
durationDay?: string;
|
|
61
|
-
collaterals: Collaterals[];
|
|
62
|
-
preferentialRate: string;
|
|
63
|
-
preReceiving: string;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export interface GreenLicense {
|
|
67
|
-
id: number;
|
|
68
|
-
approvalType: string;
|
|
69
|
-
currency: string;
|
|
70
|
-
amount: number;
|
|
71
|
-
collaterals: Collaterals[];
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export interface Collaterals {
|
|
75
|
-
collateral: { description: string; collateralTypeCode: string };
|
|
76
|
-
amount: number;
|
|
77
|
-
percent: number;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export interface FetchCustomerPayload {
|
|
81
|
-
cif?: string | null;
|
|
82
|
-
nationalCode?: string | null;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
export interface FetchGuarantorPayload {
|
|
86
|
-
nationalCode?: string | null;
|
|
87
|
-
cif?: string | null;
|
|
88
|
-
guarantorName?: string | null;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export interface FetchInquiryPayload {
|
|
92
|
-
nationalCode?: string | null;
|
|
93
|
-
loanRequestId: string;
|
|
94
|
-
retry: boolean;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
export interface GuarantorDto {
|
|
98
|
-
id?: number | null;
|
|
99
|
-
nationalCode?: string | null;
|
|
100
|
-
cif?: string | null;
|
|
101
|
-
guarantorName?: string | null;
|
|
102
|
-
createdAt?: string | null;
|
|
103
|
-
customerType?: string | null;
|
|
104
|
-
existCore?: boolean | null;
|
|
105
|
-
label?: string | null;
|
|
106
|
-
value?: string | null;
|
|
107
|
-
sapInquiryStatus?: boolean | null;
|
|
108
|
-
loanRequestId?: string | null;
|
|
109
|
-
sapInquiry?: {
|
|
110
|
-
value?: string | null;
|
|
111
|
-
label?: string | null;
|
|
112
|
-
changeDate?: string | null;
|
|
113
|
-
collateral?: string | null;
|
|
114
|
-
createdAt?: string | null;
|
|
115
|
-
createdBy?: string | null;
|
|
116
|
-
directObligationAmount?: string | null;
|
|
117
|
-
guarantorInfo?: string | null;
|
|
118
|
-
guarantorInfoId?: string | null;
|
|
119
|
-
id?: string | null;
|
|
120
|
-
inDirectObligationAllOfThem?: string | null;
|
|
121
|
-
inDirectObligationAmount?: string | null;
|
|
122
|
-
loanRequest?: string | null;
|
|
123
|
-
loanRequestId?: string | null;
|
|
124
|
-
mainCustomer?: string | null;
|
|
125
|
-
nationalCode?: string | null;
|
|
126
|
-
obligationDate?: string | null;
|
|
127
|
-
updatedAt?: string | null;
|
|
128
|
-
updatedBy?: string | null;
|
|
129
|
-
} | null;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
export interface CurrenciesDto {
|
|
133
|
-
description: string;
|
|
134
|
-
code: string;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
export interface CollateralDto {
|
|
138
|
-
description: string;
|
|
139
|
-
collateralTypeCode: string;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
export interface RegionsDto {
|
|
143
|
-
code: string;
|
|
144
|
-
name: string;
|
|
145
|
-
status: string;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
export interface DepartmentLevelDto {
|
|
149
|
-
departmentLevel: string;
|
|
150
|
-
name: string;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
export interface ContractTypeDto {
|
|
154
|
-
id: number;
|
|
155
|
-
parentId: number;
|
|
156
|
-
code: string;
|
|
157
|
-
shortTitle: string;
|
|
158
|
-
longTitle: string;
|
|
159
|
-
mainGroup: string;
|
|
160
|
-
childOrder: string;
|
|
161
|
-
activationDate: string;
|
|
162
|
-
equivalentCode: number;
|
|
163
|
-
parameterValue: string;
|
|
164
|
-
active: string;
|
|
165
|
-
requestType: 'ContractCode' | 'GuaranteeType' | 'LetterOfCredit';
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
export interface FacilitiesDto {
|
|
169
|
-
facilityId: number;
|
|
170
|
-
facilityCode: number;
|
|
171
|
-
facilityName: string;
|
|
172
|
-
contractId: number;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
export interface InquiryDto {
|
|
176
|
-
value?: string;
|
|
177
|
-
label?: string;
|
|
178
|
-
collateral?: string;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
export interface DepositAccount {
|
|
182
|
-
createdAt: string | null;
|
|
183
|
-
updatedAt: string | null;
|
|
184
|
-
createdBy: string | null;
|
|
185
|
-
updatedBy: string | null;
|
|
186
|
-
id: string | null;
|
|
187
|
-
accountNo: string;
|
|
188
|
-
accountStatus: string;
|
|
189
|
-
accountType: string;
|
|
190
|
-
avgBalanceHalf: string;
|
|
191
|
-
avgBalanceQuarter: string;
|
|
192
|
-
avgBalanceYear: string;
|
|
193
|
-
branch: string;
|
|
194
|
-
countCreditTurnoverHalf: string;
|
|
195
|
-
countCreditTurnoverQuarter: string;
|
|
196
|
-
countCreditTurnoverYear: string;
|
|
197
|
-
countDebitTurnoverHalf: string;
|
|
198
|
-
countDebitTurnoverQuarter: string;
|
|
199
|
-
countDebitTurnoverYear: string;
|
|
200
|
-
creditTurnoverHalf: string;
|
|
201
|
-
creditTurnoverQuarter: string;
|
|
202
|
-
creditTurnoverYear: string;
|
|
203
|
-
currency: string;
|
|
204
|
-
debitTurnoverHalf: string;
|
|
205
|
-
debitTurnoverQuarter: string;
|
|
206
|
-
debitTurnoverYear: string;
|
|
207
|
-
finalBalance: string;
|
|
208
|
-
interestRate: string | null;
|
|
209
|
-
openingDate: string;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
export interface DepositListResponse {
|
|
213
|
-
depositList: DepositAccount[];
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
export interface ConsiderationPayload {
|
|
217
|
-
loanRequestId: string;
|
|
218
|
-
previousLoanAppropriate: boolean;
|
|
219
|
-
havePromissoryNote: boolean;
|
|
220
|
-
signatory: string;
|
|
221
|
-
currentOffersAmount: number;
|
|
222
|
-
creditLimitDate: string;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
export interface CollateralsInfoPayload {
|
|
226
|
-
loanRequestId: string;
|
|
227
|
-
deposit: DepositDTO;
|
|
228
|
-
estate: EstateDTO;
|
|
229
|
-
sharesBond: SharesBondDTO;
|
|
230
|
-
stock: StockDTO;
|
|
231
|
-
otherCollateralAmount: number;
|
|
232
|
-
id: number;
|
|
233
|
-
description: string;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
export interface addCreditApprovalDescriptionPayload {
|
|
237
|
-
cartableId: number;
|
|
238
|
-
Description: string;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
export interface DepositDTO {
|
|
242
|
-
customerName: string;
|
|
243
|
-
blockedAmount: number;
|
|
244
|
-
assignedAmount: number;
|
|
245
|
-
assignedDate: string;
|
|
246
|
-
externalRef?: number;
|
|
247
|
-
id: number;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
export interface EstateDTO {
|
|
251
|
-
customerName: string;
|
|
252
|
-
houseNumberPlate: string;
|
|
253
|
-
type: string;
|
|
254
|
-
evaluatedPrice: number;
|
|
255
|
-
evaluationDate: string;
|
|
256
|
-
assignedAmount: number;
|
|
257
|
-
assignedDate: string;
|
|
258
|
-
id: number;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
export interface SharesBondDTO {
|
|
262
|
-
assignedAmount: number;
|
|
263
|
-
parsianBankAgency: boolean;
|
|
264
|
-
assignedDate: string;
|
|
265
|
-
customerName: string;
|
|
266
|
-
id: number;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
export interface StockDTO {
|
|
270
|
-
stockCount: number;
|
|
271
|
-
customerName: string;
|
|
272
|
-
assignedAmount: number;
|
|
273
|
-
assignedDate: string;
|
|
274
|
-
totalAmount: number;
|
|
275
|
-
companyName: string;
|
|
276
|
-
nationalCode: string;
|
|
277
|
-
id: number;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
export interface UploadFile {
|
|
281
|
-
customerNumber?: string | null;
|
|
282
|
-
customerCode?: string | null;
|
|
283
|
-
docTypeCode: string;
|
|
284
|
-
file: File;
|
|
285
|
-
description?: string;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
export interface Collateral {
|
|
289
|
-
type: number;
|
|
290
|
-
amount: number;
|
|
291
|
-
percent: number;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
export interface LoanRequestDetail {
|
|
295
|
-
summaryRequest: SummaryDto;
|
|
296
|
-
facilities: FacilitiesRequest[];
|
|
297
|
-
guarantee: GuaranteeRequest[];
|
|
298
|
-
lc: LcRequest[];
|
|
299
|
-
greenLicense: GreenLicense[];
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
export interface FacilitiesRequest {
|
|
303
|
-
id: number;
|
|
304
|
-
approvalType?: string;
|
|
305
|
-
currency: string;
|
|
306
|
-
amount: number;
|
|
307
|
-
repaymentType: string;
|
|
308
|
-
year?: string;
|
|
309
|
-
month?: string;
|
|
310
|
-
day?: string;
|
|
311
|
-
durationDay?: string;
|
|
312
|
-
collaterals: Collaterals[];
|
|
313
|
-
preferentialRate: string;
|
|
314
|
-
advancePayment: string;
|
|
315
|
-
contractType: ContractType;
|
|
316
|
-
facility?: FacilityDto;
|
|
317
|
-
contractTypeAndFacilityList?: FacilitySelection[];
|
|
318
|
-
considerPreviousDebt: boolean;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
export interface FacilitySelection {
|
|
322
|
-
contractType: ContractType;
|
|
323
|
-
facility: FacilityDto;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
export interface GuaranteeRequest {
|
|
327
|
-
id: number;
|
|
328
|
-
approvalType?: string;
|
|
329
|
-
currency: string;
|
|
330
|
-
amount: number;
|
|
331
|
-
year?: string;
|
|
332
|
-
month?: string;
|
|
333
|
-
day?: string;
|
|
334
|
-
durationDay?: string;
|
|
335
|
-
collaterals: Collaterals[];
|
|
336
|
-
percentDeposit: string;
|
|
337
|
-
contractType: ContractType;
|
|
338
|
-
facility?: FacilityDto;
|
|
339
|
-
contractTypeAndFacilityList?: Array<{
|
|
340
|
-
contractType: ContractType;
|
|
341
|
-
}>;
|
|
342
|
-
considerPreviousDebt: boolean;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
export interface LcRequest {
|
|
346
|
-
id: number;
|
|
347
|
-
approvalType: string;
|
|
348
|
-
currency: string;
|
|
349
|
-
amount: number;
|
|
350
|
-
year?: string;
|
|
351
|
-
month?: string;
|
|
352
|
-
day?: string;
|
|
353
|
-
durationDay?: string;
|
|
354
|
-
collaterals: Collaterals[];
|
|
355
|
-
intermediatePayment: string;
|
|
356
|
-
advancePayment: string;
|
|
357
|
-
creditContractType: string;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
export interface ContractType {
|
|
361
|
-
coreId: number;
|
|
362
|
-
activationDate: string;
|
|
363
|
-
active: string;
|
|
364
|
-
childOrder: string;
|
|
365
|
-
code: string;
|
|
366
|
-
equivalentCode: string;
|
|
367
|
-
id: number;
|
|
368
|
-
longTitle: string;
|
|
369
|
-
mainGroup: string;
|
|
370
|
-
parameterValue: string;
|
|
371
|
-
parentId: number;
|
|
372
|
-
shortTitle: string;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
export interface FacilityDto {
|
|
376
|
-
contractId: number;
|
|
377
|
-
facilityCode: string;
|
|
378
|
-
facilityId: number;
|
|
379
|
-
facilityName: string;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
export interface SummaryDto {
|
|
383
|
-
summary: string;
|
|
384
|
-
activityType: string;
|
|
385
|
-
description: string;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
export interface LoanRequest {
|
|
389
|
-
loanRequestDetailList: LoanRequestDetail[];
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
export interface RequestInformationDto {
|
|
393
|
-
contractTypeId: number;
|
|
394
|
-
contractType?: ContractTypeDto;
|
|
395
|
-
approvalType: string;
|
|
396
|
-
requestType: string;
|
|
397
|
-
amount: string;
|
|
398
|
-
currency: string;
|
|
399
|
-
facilityId: number;
|
|
400
|
-
facility?: FacilitiesDto;
|
|
401
|
-
year?: number;
|
|
402
|
-
month?: number;
|
|
403
|
-
day?: number;
|
|
404
|
-
repaymentType: string;
|
|
405
|
-
collaterals: Array<{
|
|
406
|
-
type: string;
|
|
407
|
-
amount: number;
|
|
408
|
-
percent: number;
|
|
409
|
-
}>;
|
|
410
|
-
percentDeposit?: number;
|
|
411
|
-
advancePayment?: string;
|
|
412
|
-
durationDay?: number;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
export interface RootData {
|
|
416
|
-
customerInfo: CustomerDto[];
|
|
417
|
-
summaryRequest: SummaryDto;
|
|
418
|
-
// Add other sections here...
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
// Add interfaces for saveGeneral payload
|
|
422
|
-
export interface LoanRequestDTO {
|
|
423
|
-
cif?: string;
|
|
424
|
-
summary: string;
|
|
425
|
-
activityType: string | null;
|
|
426
|
-
description: string | null;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
export interface GuarantorInfoDTO {
|
|
430
|
-
nationalCode: string;
|
|
431
|
-
guarantorName: string;
|
|
432
|
-
createdAt: string;
|
|
433
|
-
label?: string;
|
|
434
|
-
sapInquiryStatus?: boolean;
|
|
435
|
-
value?: string;
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
export interface LoanRequestDetailDTO {
|
|
439
|
-
loanRequestDetailList: LoanRequestDetail[];
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
export interface SaveGeneralPayload {
|
|
443
|
-
customerInfoDTO: CustomerDto;
|
|
444
|
-
loanRequestDetailDTO: LoanRequestDetailDTO;
|
|
445
|
-
guarantorInfoDTO: GuarantorInfoDTO[];
|
|
446
|
-
loanRequestId: string;
|
|
447
|
-
trackingCode: string;
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
export interface BranchDto {
|
|
451
|
-
code: number;
|
|
452
|
-
name: string;
|
|
453
|
-
status: boolean;
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
export interface RecentlyApprovalDTO {
|
|
457
|
-
recentApprovalsDesc: string;
|
|
458
|
-
remainDebtParsian: string;
|
|
459
|
-
creditEstimation: string;
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
export interface ApprovalRequest {
|
|
463
|
-
branchCode: string;
|
|
464
|
-
branchName: string;
|
|
465
|
-
cif: string;
|
|
466
|
-
createdBy: string;
|
|
467
|
-
customerName: string;
|
|
468
|
-
id: number;
|
|
469
|
-
nationalCode: string;
|
|
470
|
-
requestDate: string;
|
|
471
|
-
status: string;
|
|
472
|
-
trackingCode: string;
|
|
473
|
-
}
|
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
export interface CartableDetail {
|
|
2
|
-
createdAt: string;
|
|
3
|
-
createdBy: string;
|
|
4
|
-
status: string;
|
|
5
|
-
trackingCode: string;
|
|
6
|
-
updatedAt: string;
|
|
7
|
-
updatedBy: string;
|
|
8
|
-
userName: string;
|
|
9
|
-
roleName: string;
|
|
10
|
-
branchCode: string;
|
|
11
|
-
branchName: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export interface ValidUserPayload {
|
|
15
|
-
id: number;
|
|
16
|
-
actionType: string;
|
|
17
|
-
roleName: string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export interface ValidRole {
|
|
21
|
-
departmentLevel: string;
|
|
22
|
-
departmentLevelName: string;
|
|
23
|
-
roleName: string;
|
|
24
|
-
roleCode: number;
|
|
25
|
-
roleDescription: string;
|
|
26
|
-
minUserNumber?: number;
|
|
27
|
-
maxUserNumber?: number;
|
|
28
|
-
canSetCorrectionDeadline?: boolean;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export interface ActionData {
|
|
32
|
-
actionType: string;
|
|
33
|
-
actionName: string;
|
|
34
|
-
validRoles: ValidRole[];
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
export interface SignerData {
|
|
39
|
-
name: string;
|
|
40
|
-
username: string;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export interface RoleDTO {
|
|
44
|
-
name: string;
|
|
45
|
-
code: number;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export interface SamapRoleDTO {
|
|
49
|
-
code: number;
|
|
50
|
-
createdAt: string;
|
|
51
|
-
createdBy: string;
|
|
52
|
-
id: number;
|
|
53
|
-
name: string;
|
|
54
|
-
description: string;
|
|
55
|
-
updatedAt: string;
|
|
56
|
-
updatedBy: string;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export interface SubmitReferencePayload {
|
|
60
|
-
cartableId: number;
|
|
61
|
-
roleDTO: RoleDTO;
|
|
62
|
-
description: string;
|
|
63
|
-
actionType: string;
|
|
64
|
-
usernameList: string[];
|
|
65
|
-
correctionDeadline ?: string;
|
|
66
|
-
expertReportIsSeen?: boolean;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
export interface SubmitChangeSignerPayload {
|
|
71
|
-
username: string;
|
|
72
|
-
id: number;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export interface SubmitSignPayload {
|
|
76
|
-
cartableId: number;
|
|
77
|
-
comment: string;
|
|
78
|
-
actionType: string;
|
|
79
|
-
expertReportIsSeen: boolean | null;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
type CartableAction = 'CREATED' | 'UPDATED' | 'DELETED'; // Extend as needed
|
|
83
|
-
|
|
84
|
-
export interface CartableHistory {
|
|
85
|
-
action: CartableAction;
|
|
86
|
-
comments: string;
|
|
87
|
-
completedAt: string;
|
|
88
|
-
createdAt: string | null;
|
|
89
|
-
createdBy: string | null;
|
|
90
|
-
id: string | null;
|
|
91
|
-
roleCode: number | string;
|
|
92
|
-
roleName: string;
|
|
93
|
-
updatedAt: string | null;
|
|
94
|
-
updatedBy: string | null;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Committee inquiry action types
|
|
98
|
-
export type CommitteeActionType = 'AGREED' | 'DISAGREED' | 'RETURNED';
|
|
99
|
-
|
|
100
|
-
// Committee inquiry interface
|
|
101
|
-
export interface CommitteeInquiry {
|
|
102
|
-
id: number;
|
|
103
|
-
username: string;
|
|
104
|
-
name: string;
|
|
105
|
-
actionDone: boolean;
|
|
106
|
-
actionType: CommitteeActionType;
|
|
107
|
-
actionTypeName: string;
|
|
108
|
-
comment: string | null;
|
|
109
|
-
actionDoneAt: string;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
// Main Cartable interface based on the provided JSON
|
|
113
|
-
export interface Cartable {
|
|
114
|
-
// Base fields
|
|
115
|
-
id: number;
|
|
116
|
-
trackingCode: string;
|
|
117
|
-
loanRequestId: number;
|
|
118
|
-
status: string;
|
|
119
|
-
|
|
120
|
-
// Timestamps
|
|
121
|
-
createdAt: string;
|
|
122
|
-
updatedAt: string;
|
|
123
|
-
createdBy: string;
|
|
124
|
-
updatedBy: string | null;
|
|
125
|
-
|
|
126
|
-
// Dates and times
|
|
127
|
-
creationDate: string;
|
|
128
|
-
creationTime: string;
|
|
129
|
-
updateDate: string;
|
|
130
|
-
updateTime: string;
|
|
131
|
-
requestDate: string;
|
|
132
|
-
signDate: string | null;
|
|
133
|
-
correctionDeadline: string | null;
|
|
134
|
-
|
|
135
|
-
// User information
|
|
136
|
-
createdByUsername: string;
|
|
137
|
-
createByName: string;
|
|
138
|
-
roleName: string | null;
|
|
139
|
-
description: string | null;
|
|
140
|
-
|
|
141
|
-
// Branch information
|
|
142
|
-
branchCode: number;
|
|
143
|
-
branchName: string;
|
|
144
|
-
|
|
145
|
-
// Customer information
|
|
146
|
-
customerCode: string;
|
|
147
|
-
customerName: string;
|
|
148
|
-
customerGroup: string;
|
|
149
|
-
customerType: 'Corporate' | 'Individual';
|
|
150
|
-
|
|
151
|
-
// File URLs
|
|
152
|
-
expertReportUrl: string | null;
|
|
153
|
-
report1016Url: string | null;
|
|
154
|
-
formLetterUrl: string | null;
|
|
155
|
-
formCreditApprovalUrl: string | null;
|
|
156
|
-
|
|
157
|
-
// Permissions and flags
|
|
158
|
-
hasSignPermission: boolean;
|
|
159
|
-
canAddComment: boolean;
|
|
160
|
-
canSubmit: boolean;
|
|
161
|
-
canChangeSigner: boolean;
|
|
162
|
-
isExpertSeen: boolean;
|
|
163
|
-
committeeTask: boolean;
|
|
164
|
-
mainAssignee: boolean;
|
|
165
|
-
|
|
166
|
-
// Comments and inquiries
|
|
167
|
-
currentUserComment: string | null;
|
|
168
|
-
commiteInquiries: CommitteeInquiry[];
|
|
169
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface DataTableType {
|
|
2
|
-
header?: IHeader[];
|
|
3
|
-
dialog?: boolean;
|
|
4
|
-
dialogDelete?: boolean;
|
|
5
|
-
data?: [];
|
|
6
|
-
editedIndex?: number;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export interface IHeader {
|
|
10
|
-
title: string,
|
|
11
|
-
align: 'start'| 'center' | 'end',
|
|
12
|
-
sortable: boolean,
|
|
13
|
-
key: string,
|
|
14
|
-
}
|