@esvndev/es-react-table-interface 1.9.65 → 1.9.67
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/dist/component/ExternalInterface/View/ViewBuilderUI/view-builder-types.d.ts +1 -1
- package/dist/component/ExternalInterface/modalSetView.d.ts +1 -1
- package/dist/component/ExternalInterface/modalView.d.ts +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/dist/ultility/api/index.d.ts +6 -2
- package/dist/ultility/api/permission/index.d.ts +6 -2
- package/package.json +3 -3
- package/dist/component/export/component/icon/index.d.ts +0 -3
- package/dist/component/export/component/input/index.d.ts +0 -3
- package/dist/component/export/component/input/input-checkbox/index.d.ts +0 -4
- package/dist/component/export/component/input/input-number/index.d.ts +0 -4
- package/dist/component/export/component/input/input-style/fonts.d.ts +0 -4
- package/dist/component/export/component/input/input-style/index.d.ts +0 -4
- package/dist/component/export/component/input/input-style/input-box.d.ts +0 -4
- package/dist/component/export/component/input/input-text/index.d.ts +0 -4
- package/dist/component/export/component/modal-export-excel/default-data.d.ts +0 -3
- package/dist/component/export/component/modal-export-excel/index.d.ts +0 -4
- package/dist/component/export/component/modal-header/index.d.ts +0 -4
- package/dist/component/export/component/modal-import-excel/index.d.ts +0 -4
- package/dist/component/export/component/modal-import-excel/tab-handle-error.d.ts +0 -12
- package/dist/component/export/component/modal-import-excel/tab-merge.d.ts +0 -4
- package/dist/component/export/component/modal-import-excel/tab-select-file.d.ts +0 -4
- package/dist/component/export/component/modal-import-excel/tab-validate.d.ts +0 -4
- package/dist/component/export/component/modal-import-excel/utils.d.ts +0 -7
- package/dist/component/export/component/notifications.d.ts +0 -9
- package/dist/component/export/component/request/index.d.ts +0 -4
- package/dist/component/export/component/select-table/index.d.ts +0 -4
- package/dist/component/export/component/sidebar/index.d.ts +0 -4
- package/dist/component/export/component/type/index.d.ts +0 -351
- package/dist/component/export/component/utils.d.ts +0 -19
- package/dist/component/export/component/wizard/index.d.ts +0 -4
- package/dist/component/export/index.d.ts +0 -6
|
@@ -41,9 +41,13 @@ declare const api: {
|
|
|
41
41
|
getPermissionFunctionApi: (functionId: string) => Promise<any>;
|
|
42
42
|
getPermissionUserApi: (params: any) => Promise<any>;
|
|
43
43
|
addPermissionGroupUserApi: (params: any) => Promise<any>;
|
|
44
|
-
deletePermissionGroupUserApi: (id: string) => Promise<
|
|
44
|
+
deletePermissionGroupUserApi: (id: string) => Promise<{
|
|
45
|
+
isValid: boolean;
|
|
46
|
+
}>;
|
|
45
47
|
addPermissionUserApi: (params: any) => Promise<any>;
|
|
46
|
-
deletePermissionUserApi: (id: string) => Promise<
|
|
48
|
+
deletePermissionUserApi: (id: string) => Promise<{
|
|
49
|
+
isValid: boolean;
|
|
50
|
+
}>;
|
|
47
51
|
};
|
|
48
52
|
getListMenuApi: (product_code: string) => Promise<any>;
|
|
49
53
|
getMenuTreeApi: (product_code: string) => Promise<any>;
|
|
@@ -12,9 +12,13 @@ declare const _default: {
|
|
|
12
12
|
getPermissionFunctionApi: (functionId: string) => Promise<any>;
|
|
13
13
|
getPermissionUserApi: (params: any) => Promise<any>;
|
|
14
14
|
addPermissionGroupUserApi: (params: any) => Promise<any>;
|
|
15
|
-
deletePermissionGroupUserApi: (id: string) => Promise<
|
|
15
|
+
deletePermissionGroupUserApi: (id: string) => Promise<{
|
|
16
|
+
isValid: boolean;
|
|
17
|
+
}>;
|
|
16
18
|
addPermissionUserApi: (params: any) => Promise<any>;
|
|
17
|
-
deletePermissionUserApi: (id: string) => Promise<
|
|
19
|
+
deletePermissionUserApi: (id: string) => Promise<{
|
|
20
|
+
isValid: boolean;
|
|
21
|
+
}>;
|
|
18
22
|
};
|
|
19
23
|
};
|
|
20
24
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esvndev/es-react-table-interface",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.67",
|
|
4
4
|
"description": "This product is designed by ESVN and is only for use in products distributed by ESVN. Any product, whether for non-commercial research or commercial purposes, must have written legal approval and a digital signature from ESVN.",
|
|
5
5
|
"license": "ESVN Limited Use License",
|
|
6
6
|
"author": "dev@esvn.com.vn",
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
"@rollup/plugin-json": "^6.1.0",
|
|
63
63
|
"@rollup/plugin-node-resolve": "^13.0.4",
|
|
64
64
|
"@rollup/plugin-typescript": "^8.2.5",
|
|
65
|
-
"@types/react": "
|
|
66
|
-
"@types/react-dom": "
|
|
65
|
+
"@types/react": "18.3.31",
|
|
66
|
+
"@types/react-dom": "18.3.1",
|
|
67
67
|
"@typescript-eslint/eslint-plugin": "^5.39.0",
|
|
68
68
|
"@typescript-eslint/parser": "^5.39.0",
|
|
69
69
|
"es-grid-template": "1.9.90",
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IFDataProps_ExportExcel } from '../type';
|
|
3
|
-
declare const ExportExcelComponent: ({ openModal, typeModal, handleModal, windowSize, dataItem, columns, columnGroups, stateid, url, dataOption, t }: IFDataProps_ExportExcel) => React.JSX.Element;
|
|
4
|
-
export { ExportExcelComponent };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IFNumberFormat } from '../type';
|
|
3
|
-
export interface IFPropsDetail {
|
|
4
|
-
dataError: any[];
|
|
5
|
-
windowSize: any;
|
|
6
|
-
formatNumber?: IFNumberFormat;
|
|
7
|
-
pageOptions: number[];
|
|
8
|
-
pageSizeDefault: number;
|
|
9
|
-
headerHandleErrorExcelColumns: any[];
|
|
10
|
-
}
|
|
11
|
-
declare const TabHandleErrorImportExcel: (props: IFPropsDetail) => React.JSX.Element;
|
|
12
|
-
export default TabHandleErrorImportExcel;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
import { UseFormSetValue } from 'react-hook-form';
|
|
3
|
-
import { IFDataMapExcel } from '../type';
|
|
4
|
-
export declare const getSheetsExcel: (file: any, setValue?: UseFormSetValue<any>, setOptionSheetName?: Dispatch<SetStateAction<any[]>>) => void;
|
|
5
|
-
export declare const getColumnsSheetExcel: (file: any, headerRow: number, sheetName: string, handleSetColumns: any) => void;
|
|
6
|
-
export declare const mapDataImportExcel: (dataSheet: any[], headerRow: number, dataMap: IFDataMapExcel[], handleValidate: any) => Promise<any[]>;
|
|
7
|
-
export declare const connectString: (t: any, props: string[]) => any;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TEsExternalTranslator } from '../../../i18n';
|
|
2
|
-
export { messageBox } from '../../../libs/notifications';
|
|
3
|
-
export declare const messageHtmlBoxConfirm: (t: TEsExternalTranslator, message: any[], handle: any, data: any, title?: string, btnOk?: string, btnCancel?: string) => void;
|
|
4
|
-
export declare const messageHtmlBoxError: (t: TEsExternalTranslator, message: any[], title?: string, btnCancel?: string) => void;
|
|
5
|
-
export declare const messageBoxConfirmDelete: (t: TEsExternalTranslator, handle: any, data: any) => void;
|
|
6
|
-
export declare const messageBoxConfirm: (t: TEsExternalTranslator, handle: any, data: any, message: string, title?: string, btnOk?: string, btnCancel?: string) => void;
|
|
7
|
-
export declare const messageBoxError: (t: TEsExternalTranslator, message: string, title?: string, btnCancel?: string) => void;
|
|
8
|
-
export declare const notificationSuccess: (param: string) => string;
|
|
9
|
-
export declare const messageBoxConfirm2: (t: TEsExternalTranslator, data: any, data2: any, message: string) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const downloadTemplateApiCall: (data?: any, config?: any, timeout?: number) => Promise<Blob | null | undefined>;
|
|
2
|
-
export declare const exportApiCall: (data?: any, config?: any, timeout?: number) => Promise<Blob | null | undefined>;
|
|
3
|
-
export declare const importApiCallCheckInvalidData: (data?: any, config?: any, timeout?: number) => Promise<any>;
|
|
4
|
-
export declare const importApiCall: (data?: any, config?: any, timeout?: number) => Promise<any>;
|
|
@@ -1,351 +0,0 @@
|
|
|
1
|
-
import { Control, FieldErrors, UseFormGetValues, UseFormSetValue, UseFormWatch } from 'react-hook-form';
|
|
2
|
-
import { InputType } from "reactstrap/types/lib/Input";
|
|
3
|
-
export interface IFDataProps {
|
|
4
|
-
open: boolean;
|
|
5
|
-
children: any;
|
|
6
|
-
toggleSidebar: any;
|
|
7
|
-
width?: string | number;
|
|
8
|
-
keyboard?: boolean;
|
|
9
|
-
hiddenBackground?: boolean;
|
|
10
|
-
hiddenFullScreenButton?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export interface IFDataProps {
|
|
13
|
-
open: boolean;
|
|
14
|
-
children: any;
|
|
15
|
-
toggleSidebar: any;
|
|
16
|
-
width?: string | number;
|
|
17
|
-
keyboard?: boolean;
|
|
18
|
-
hiddenBackground?: boolean;
|
|
19
|
-
hiddenFullScreenButton?: boolean;
|
|
20
|
-
}
|
|
21
|
-
export type IFColumnSelectTable = {
|
|
22
|
-
field: string;
|
|
23
|
-
headerText: string;
|
|
24
|
-
visible?: boolean;
|
|
25
|
-
textAlign?: 'left' | 'right' | 'center';
|
|
26
|
-
type?: 'text' | 'numeric' | 'date' | 'datetime';
|
|
27
|
-
template?: any;
|
|
28
|
-
typeCondition?: any;
|
|
29
|
-
fraction?: number;
|
|
30
|
-
width?: number;
|
|
31
|
-
maxWidth?: number;
|
|
32
|
-
minWidth?: number;
|
|
33
|
-
};
|
|
34
|
-
export interface ISelectTableBox {
|
|
35
|
-
id?: string;
|
|
36
|
-
name: string;
|
|
37
|
-
control: any;
|
|
38
|
-
defaultValue?: any;
|
|
39
|
-
isMulti?: boolean;
|
|
40
|
-
isLabel?: boolean;
|
|
41
|
-
inLine?: boolean;
|
|
42
|
-
labelComponent?: any;
|
|
43
|
-
options: any[];
|
|
44
|
-
loadOptions?: any;
|
|
45
|
-
placeholder?: string;
|
|
46
|
-
disabled?: boolean;
|
|
47
|
-
label?: any;
|
|
48
|
-
labelSize?: any;
|
|
49
|
-
required?: boolean;
|
|
50
|
-
errors?: any;
|
|
51
|
-
cssClass?: string;
|
|
52
|
-
callback?: any;
|
|
53
|
-
confirmHandle?: any;
|
|
54
|
-
columns?: IFColumnSelectTable[];
|
|
55
|
-
handleAddNew?: any;
|
|
56
|
-
fieldLabel?: string;
|
|
57
|
-
fieldValue?: string;
|
|
58
|
-
isClearable?: boolean;
|
|
59
|
-
noHeader?: boolean;
|
|
60
|
-
desciptionLabel?: string;
|
|
61
|
-
classLabel?: string;
|
|
62
|
-
}
|
|
63
|
-
export interface IPropLabel {
|
|
64
|
-
id: string;
|
|
65
|
-
required?: boolean;
|
|
66
|
-
label: string;
|
|
67
|
-
name: string;
|
|
68
|
-
classLabel?: string;
|
|
69
|
-
isLabel?: boolean;
|
|
70
|
-
desciptionLabel?: string;
|
|
71
|
-
}
|
|
72
|
-
export type IFDataProps_ExportExcel = {
|
|
73
|
-
openModal: boolean;
|
|
74
|
-
typeModal: string;
|
|
75
|
-
handleModal: any;
|
|
76
|
-
windowSize: any;
|
|
77
|
-
dataItem: any;
|
|
78
|
-
columns: any;
|
|
79
|
-
setCheckDetailExport?: any;
|
|
80
|
-
columnGroups?: any[];
|
|
81
|
-
stateid: string;
|
|
82
|
-
url?: string;
|
|
83
|
-
dataOption?: string;
|
|
84
|
-
t?: any;
|
|
85
|
-
};
|
|
86
|
-
export interface IFPropsDetail_TabSelect_ImportExcel {
|
|
87
|
-
control?: Control<IFDataExcel>;
|
|
88
|
-
watch?: UseFormWatch<IFDataExcel>;
|
|
89
|
-
errors?: FieldErrors<IFDataExcel>;
|
|
90
|
-
setValue?: UseFormSetValue<IFDataExcel>;
|
|
91
|
-
getValues?: UseFormGetValues<IFDataExcel>;
|
|
92
|
-
optionField?: any[];
|
|
93
|
-
windowSize?: any;
|
|
94
|
-
formatNumber?: IFNumberFormat;
|
|
95
|
-
getExcelTemplate?: any;
|
|
96
|
-
stateId: string | undefined | '';
|
|
97
|
-
nameExportTemplate: string | undefined | '';
|
|
98
|
-
}
|
|
99
|
-
export interface IFPropsDetail_TabMerge_ImportExcel {
|
|
100
|
-
control?: Control<IFDataExcel>;
|
|
101
|
-
watch?: UseFormWatch<IFDataExcel>;
|
|
102
|
-
errors?: FieldErrors<IFDataExcel>;
|
|
103
|
-
setValue?: UseFormSetValue<IFDataExcel>;
|
|
104
|
-
getValues?: UseFormGetValues<IFDataExcel>;
|
|
105
|
-
optionField?: any[];
|
|
106
|
-
windowSize?: any;
|
|
107
|
-
formatNumber?: IFNumberFormat;
|
|
108
|
-
getExcelTemplate?: any;
|
|
109
|
-
}
|
|
110
|
-
export interface IFPropsDetail_Lite {
|
|
111
|
-
control?: Control<IFDataExcel>;
|
|
112
|
-
watch?: UseFormWatch<IFDataExcel>;
|
|
113
|
-
errors?: FieldErrors<IFDataExcel>;
|
|
114
|
-
setValue?: UseFormSetValue<IFDataExcel>;
|
|
115
|
-
getValues?: UseFormGetValues<IFDataExcel>;
|
|
116
|
-
windowSize?: any;
|
|
117
|
-
formatNumber?: IFNumberFormat;
|
|
118
|
-
getExcelTemplate?: any;
|
|
119
|
-
}
|
|
120
|
-
export interface IFPropsDetail extends IFPropsDetail_Lite {
|
|
121
|
-
modelExcel: IFDataExcel;
|
|
122
|
-
isOpen: boolean | false;
|
|
123
|
-
isOpenHandle: (isOpen: any) => void;
|
|
124
|
-
isBreakValidData?: boolean | false;
|
|
125
|
-
isBreakSaveErrorRow?: boolean | false;
|
|
126
|
-
dataPostServer?: string | "";
|
|
127
|
-
funcCheckValid?: ((value: any) => any) | undefined;
|
|
128
|
-
pageOptions?: number[] | [];
|
|
129
|
-
pageSizeDefault?: number | 10;
|
|
130
|
-
headerHandleErrorExcelColumns?: any[];
|
|
131
|
-
stateid: string;
|
|
132
|
-
isBreakAutoImport: boolean | false;
|
|
133
|
-
breakAutoImportHandle: ((data: any) => any) | undefined;
|
|
134
|
-
nameExportTemplate: string | undefined | '';
|
|
135
|
-
isDebug?: boolean | undefined | false;
|
|
136
|
-
}
|
|
137
|
-
export interface IFPropsDetail_ImportInvalid extends IFPropsDetail_Lite {
|
|
138
|
-
isOpen: boolean | false;
|
|
139
|
-
pageOptions: number[];
|
|
140
|
-
pageSizeDefault: number;
|
|
141
|
-
dataInvalid: any[];
|
|
142
|
-
dataValid: any[];
|
|
143
|
-
dataValidate: any[];
|
|
144
|
-
dataError: any[];
|
|
145
|
-
headerValidateExcelColumns?: any[];
|
|
146
|
-
headerHandleErrorExcelColumns: any[];
|
|
147
|
-
callback?: any;
|
|
148
|
-
}
|
|
149
|
-
export interface IFDataExcel {
|
|
150
|
-
step: number;
|
|
151
|
-
file?: any;
|
|
152
|
-
sheetId?: string;
|
|
153
|
-
headerRow?: number;
|
|
154
|
-
dataMap: IFDataMapExcel[];
|
|
155
|
-
}
|
|
156
|
-
export interface IFDataMapExcel {
|
|
157
|
-
field: string;
|
|
158
|
-
headerDefault: string[];
|
|
159
|
-
header: string;
|
|
160
|
-
dataType: 'numeric' | 'string' | 'date' | 'datetime' | 'boolean';
|
|
161
|
-
column?: string;
|
|
162
|
-
disableEdit?: boolean;
|
|
163
|
-
isRequired?: boolean;
|
|
164
|
-
width?: number;
|
|
165
|
-
minWidth?: number;
|
|
166
|
-
maxWidth?: number;
|
|
167
|
-
textAlign?: 'center' | 'left' | 'right';
|
|
168
|
-
}
|
|
169
|
-
export type IFNumberFormat = {
|
|
170
|
-
dateFormat?: string;
|
|
171
|
-
decimalSeparator?: string;
|
|
172
|
-
thousandSeparator?: string;
|
|
173
|
-
colorNegative?: string;
|
|
174
|
-
prefixNegative?: string;
|
|
175
|
-
suffixNegative?: string;
|
|
176
|
-
};
|
|
177
|
-
export interface IFDataProps_ModelHeader {
|
|
178
|
-
title: string;
|
|
179
|
-
handleModal?: any;
|
|
180
|
-
typeModal?: string;
|
|
181
|
-
component?: any;
|
|
182
|
-
}
|
|
183
|
-
export interface IFDataStyleSetting {
|
|
184
|
-
color?: string;
|
|
185
|
-
backgroundColor?: string;
|
|
186
|
-
fontFamily?: string;
|
|
187
|
-
fontSize?: number;
|
|
188
|
-
row?: number;
|
|
189
|
-
bold?: boolean;
|
|
190
|
-
italic?: boolean;
|
|
191
|
-
underline?: boolean;
|
|
192
|
-
}
|
|
193
|
-
export interface IFGetInfoSheetApiParams {
|
|
194
|
-
file: any;
|
|
195
|
-
}
|
|
196
|
-
export interface IFGetInfoColumnApiParams {
|
|
197
|
-
file: any;
|
|
198
|
-
headerRow: number;
|
|
199
|
-
sheetId: string;
|
|
200
|
-
}
|
|
201
|
-
export interface IFExportExcel {
|
|
202
|
-
columns: any[];
|
|
203
|
-
keyword?: string;
|
|
204
|
-
id?: string;
|
|
205
|
-
countRowHeader: number;
|
|
206
|
-
title: string;
|
|
207
|
-
subtitle: string;
|
|
208
|
-
organizationId: string;
|
|
209
|
-
filter: string;
|
|
210
|
-
order: string;
|
|
211
|
-
}
|
|
212
|
-
export interface IFReportExportExcel extends IFExportExcel {
|
|
213
|
-
fieldSums: string[];
|
|
214
|
-
groupby: string[];
|
|
215
|
-
style: IFDataExportExcelSetting;
|
|
216
|
-
}
|
|
217
|
-
export interface IFLastTMSReportApi {
|
|
218
|
-
resourceCode: string;
|
|
219
|
-
organizationId: string;
|
|
220
|
-
}
|
|
221
|
-
export interface IFDataExportExcelSetting {
|
|
222
|
-
title: IFDataStyleSetting;
|
|
223
|
-
subtitle: IFDataStyleSetting;
|
|
224
|
-
header: IFDataStyleSetting;
|
|
225
|
-
group1: IFDataStyleSetting;
|
|
226
|
-
group2: IFDataStyleSetting;
|
|
227
|
-
group3: IFDataStyleSetting;
|
|
228
|
-
content: IFDataStyleSetting;
|
|
229
|
-
summary: IFDataStyleSetting;
|
|
230
|
-
nameFile?: string;
|
|
231
|
-
textTitle?: string;
|
|
232
|
-
textSubtitle?: string;
|
|
233
|
-
}
|
|
234
|
-
export interface IPropLabel_input {
|
|
235
|
-
required?: boolean;
|
|
236
|
-
label: string;
|
|
237
|
-
name: string;
|
|
238
|
-
isLabel?: boolean;
|
|
239
|
-
}
|
|
240
|
-
export interface IFormInput {
|
|
241
|
-
control: any;
|
|
242
|
-
name: string;
|
|
243
|
-
label: string;
|
|
244
|
-
labelSize?: string;
|
|
245
|
-
disabled?: boolean;
|
|
246
|
-
callback?: any;
|
|
247
|
-
isLabel?: boolean;
|
|
248
|
-
inLine?: boolean;
|
|
249
|
-
confirmHandle?: any;
|
|
250
|
-
reverse?: boolean;
|
|
251
|
-
desciptionLabel?: string;
|
|
252
|
-
text?: string;
|
|
253
|
-
checked?: boolean;
|
|
254
|
-
}
|
|
255
|
-
export interface IFFormInput {
|
|
256
|
-
id?: string;
|
|
257
|
-
onKeyDown: any;
|
|
258
|
-
dateFormat: string;
|
|
259
|
-
onChange: any;
|
|
260
|
-
className?: string;
|
|
261
|
-
value: Date;
|
|
262
|
-
}
|
|
263
|
-
export interface IFFormInput_InputNumber {
|
|
264
|
-
control: any;
|
|
265
|
-
name: string;
|
|
266
|
-
id?: string;
|
|
267
|
-
type?: InputType;
|
|
268
|
-
label: string;
|
|
269
|
-
labelSize?: string;
|
|
270
|
-
required?: boolean;
|
|
271
|
-
errors?: any;
|
|
272
|
-
classes?: string;
|
|
273
|
-
min?: number;
|
|
274
|
-
max?: number;
|
|
275
|
-
fractionCurrency?: number;
|
|
276
|
-
disabled?: boolean;
|
|
277
|
-
width?: number;
|
|
278
|
-
isLabel?: boolean;
|
|
279
|
-
inLine?: boolean;
|
|
280
|
-
placeholder?: string;
|
|
281
|
-
thousandSeparator?: string;
|
|
282
|
-
decimalSeparator?: string;
|
|
283
|
-
callback?: any;
|
|
284
|
-
allowNegative?: boolean;
|
|
285
|
-
fixedDecimalScale?: boolean;
|
|
286
|
-
}
|
|
287
|
-
export interface IFDataStyleSetting_Style {
|
|
288
|
-
color: string;
|
|
289
|
-
backgroundColor: string;
|
|
290
|
-
fontFamily: string;
|
|
291
|
-
fontSize: number;
|
|
292
|
-
bold: boolean;
|
|
293
|
-
italic: boolean;
|
|
294
|
-
underline: boolean;
|
|
295
|
-
}
|
|
296
|
-
export interface IFDataInputStyle {
|
|
297
|
-
value: IFDataStyleSetting_Style;
|
|
298
|
-
onChange: any;
|
|
299
|
-
disabled?: boolean;
|
|
300
|
-
disabledColor?: boolean;
|
|
301
|
-
disabledBackgroundColor?: boolean;
|
|
302
|
-
disabledFontFamily?: boolean;
|
|
303
|
-
disabledFontSize?: boolean;
|
|
304
|
-
disabledBold?: boolean;
|
|
305
|
-
disabledItalic?: boolean;
|
|
306
|
-
disabledUnderline?: boolean;
|
|
307
|
-
}
|
|
308
|
-
export interface IFFormInput_Style {
|
|
309
|
-
control: any;
|
|
310
|
-
name: string;
|
|
311
|
-
label: string;
|
|
312
|
-
labelSize?: string;
|
|
313
|
-
required?: boolean;
|
|
314
|
-
errors?: any;
|
|
315
|
-
classes?: string;
|
|
316
|
-
height?: number | string;
|
|
317
|
-
disabled?: boolean;
|
|
318
|
-
isLabel?: boolean;
|
|
319
|
-
inLine?: boolean;
|
|
320
|
-
placeholder?: string;
|
|
321
|
-
callback?: any;
|
|
322
|
-
tooltipText?: string;
|
|
323
|
-
disabledBackgroundColor?: boolean;
|
|
324
|
-
disabledFontFamily?: boolean;
|
|
325
|
-
disabledFontSize?: boolean;
|
|
326
|
-
disabledBold?: boolean;
|
|
327
|
-
disabledItalic?: boolean;
|
|
328
|
-
disabledUnderline?: boolean;
|
|
329
|
-
}
|
|
330
|
-
export interface IFFormInput_InputText {
|
|
331
|
-
control: any;
|
|
332
|
-
name: string;
|
|
333
|
-
id?: string;
|
|
334
|
-
type?: InputType;
|
|
335
|
-
label: string;
|
|
336
|
-
labelSize?: string;
|
|
337
|
-
required?: boolean;
|
|
338
|
-
errors?: any;
|
|
339
|
-
classes?: string;
|
|
340
|
-
height?: number | string;
|
|
341
|
-
min?: number;
|
|
342
|
-
max?: number;
|
|
343
|
-
disabled?: boolean;
|
|
344
|
-
row?: number;
|
|
345
|
-
isLabel?: boolean;
|
|
346
|
-
inLine?: boolean;
|
|
347
|
-
autoFocus?: boolean;
|
|
348
|
-
placeholder?: string;
|
|
349
|
-
callback?: any;
|
|
350
|
-
readOnly?: boolean;
|
|
351
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare const lang: string;
|
|
2
|
-
export declare const localeLanguage: any;
|
|
3
|
-
export declare const useOnClickOutside: (ref: any, handler: any) => void;
|
|
4
|
-
export declare const checkThousandSeparator: (thousandSeparator: any, decimalSeparator: any) => any;
|
|
5
|
-
export declare const checkDecimalSeparator: (thousandSeparator: any, decimalSeparator: any) => any;
|
|
6
|
-
export declare const isNullOrUndefined: (d: any) => boolean;
|
|
7
|
-
export declare const generateUUID: () => string;
|
|
8
|
-
/**
|
|
9
|
-
* format chuỗi kí tự số
|
|
10
|
-
* @param str chuỗi số cần format
|
|
11
|
-
* @param decimalSeparator kí tự thập phân
|
|
12
|
-
* @param thousandSeparator kí tự phân cách hàng nghìn
|
|
13
|
-
* @param fraction số kí tự thập phân
|
|
14
|
-
* @param isDone đã nhập xong
|
|
15
|
-
* @returns
|
|
16
|
-
*/
|
|
17
|
-
export declare const formartNumberic: (str: string | number, decimalSeparator: string, thousandSeparator: string, fraction?: number, isDone?: boolean, haveNegative?: boolean) => string;
|
|
18
|
-
export declare const roundNumber: (num: number, fraction: number) => number;
|
|
19
|
-
export declare const formatDateTime: (data: any, format?: string) => string;
|