@esvndev/es-react-table-interface 1.9.57 → 1.9.59
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/components/action-builder.d.ts +6 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/aggregate-builder.d.ts +6 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/audience-permission-builder.d.ts +8 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/available-field-list.d.ts +9 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/common/badge.d.ts +1 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/common/button.d.ts +1 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/common/choice-cards.d.ts +1 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/common/empty-state.d.ts +1 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/common/index.d.ts +1 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/common/section-card.d.ts +9 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/common/segment.d.ts +11 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/common/tooltip-icon-button.d.ts +13 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/conditional-format-builder.d.ts +7 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/filter-builder.d.ts +6 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/filter-value-editor.d.ts +7 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/form/checkbox-input.d.ts +13 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/form/color-picker-input.d.ts +11 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/form/creatable-select-box.d.ts +17 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/form/date-picker-input.d.ts +18 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/form/datetime-picker-input.d.ts +1 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/form/form-field.d.ts +13 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/form/index.d.ts +10 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/form/multi-select-box.d.ts +19 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/form/number-input.d.ts +22 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/form/radio-input.d.ts +1 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/form/select-box.d.ts +27 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/form/switch-input.d.ts +13 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/form/text-input.d.ts +28 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/group-builder.d.ts +8 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/quick-filter-builder.d.ts +6 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/renderer-options-editor.d.ts +8 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/selected-column-editor.d.ts +9 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/selected-column-list.d.ts +14 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/sort-builder.d.ts +6 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/validation-summary.d.ts +6 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/view-live-preview.d.ts +13 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/components/view-stepper.d.ts +8 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/index.d.ts +9 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/steps/view-actions-display-step.d.ts +6 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/steps/view-columns-step-2.d.ts +10 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/steps/view-filter-sort-step.d.ts +6 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/steps/view-format-step.d.ts +6 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/steps/view-group-aggregate-step.d.ts +8 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/steps/view-information-step.d.ts +9 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/steps/view-permission-step.d.ts +7 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/steps/view-summary-step.d.ts +12 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/view-builder-context.d.ts +29 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/view-builder-defaults.d.ts +16 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/view-builder-metadata.d.ts +2 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/view-builder-options.d.ts +15 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/view-builder-preview-adapter.d.ts +20 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/view-builder-types.d.ts +317 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/view-builder-validator.d.ts +6 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/view-builder-wizard.d.ts +16 -0
- package/dist/component/ExternalInterface/View/ViewBuilderUI/view-permission-data.d.ts +41 -0
- package/dist/component/ExternalInterface/View/index.d.ts +24 -0
- package/dist/component/ExternalInterface/columns.d.ts +7 -2
- package/dist/component/ExternalInterface/index.d.ts +1 -1
- package/dist/component/ExternalInterface/modalSetView.d.ts +32 -0
- package/dist/component/ExternalInterface/modalView.d.ts +21 -0
- package/dist/component/ToolbarTemplate/ToolbarTemplate.d.ts +10 -0
- package/dist/component/export/component/icon/index.d.ts +3 -0
- package/dist/component/export/component/input/index.d.ts +3 -0
- package/dist/component/export/component/input/input-checkbox/index.d.ts +4 -0
- package/dist/component/export/component/input/input-number/index.d.ts +4 -0
- package/dist/component/export/component/input/input-style/fonts.d.ts +4 -0
- package/dist/component/export/component/input/input-style/index.d.ts +4 -0
- package/dist/component/export/component/input/input-style/input-box.d.ts +4 -0
- package/dist/component/export/component/input/input-text/index.d.ts +4 -0
- package/dist/component/export/component/modal-export-excel/default-data.d.ts +3 -0
- package/dist/component/export/component/modal-export-excel/index.d.ts +4 -0
- package/dist/component/export/component/modal-header/index.d.ts +4 -0
- package/dist/component/export/component/modal-import-excel/index.d.ts +4 -0
- package/dist/component/export/component/modal-import-excel/tab-handle-error.d.ts +12 -0
- package/dist/component/export/component/modal-import-excel/tab-merge.d.ts +4 -0
- package/dist/component/export/component/modal-import-excel/tab-select-file.d.ts +4 -0
- package/dist/component/export/component/modal-import-excel/tab-validate.d.ts +4 -0
- package/dist/component/export/component/modal-import-excel/utils.d.ts +7 -0
- package/dist/component/export/component/notifications.d.ts +9 -0
- package/dist/component/export/component/request/index.d.ts +4 -0
- package/dist/component/export/component/select-table/index.d.ts +4 -0
- package/dist/component/export/component/sidebar/index.d.ts +4 -0
- package/dist/component/export/component/type/index.d.ts +351 -0
- package/dist/component/export/component/utils.d.ts +19 -0
- package/dist/component/export/component/wizard/index.d.ts +4 -0
- package/dist/component/export/index.d.ts +6 -0
- package/dist/component/option_configs/index.d.ts +12 -2
- package/dist/component/table_configs/index.d.ts +13 -1
- package/dist/component/table_configs/table.d.ts +1 -1
- package/dist/component/table_configs/tableConfig.d.ts +2 -13
- package/dist/func.d.ts +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +26 -9
- package/dist/index.js.map +1 -1
- package/dist/interface.d.ts +12 -1
- package/dist/libs/breadcrumbs-not-link/index.d.ts +1 -8
- package/dist/libs/initAbility/index.d.ts +4 -0
- package/dist/libs/input-no-control/input-text/index.d.ts +1 -0
- package/dist/libs/select/select.d.ts +2 -1
- package/dist/libs/template/index.d.ts +5 -4
- package/dist/ultility/Export/InterfaceExport.d.ts +1 -1
- package/dist/ultility/api/menu/index.d.ts +1 -2
- package/dist/ultility/api/requester.d.ts +7 -6
- package/dist/ultility/request/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,351 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
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;
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface II {
|
|
3
|
+
userAction: any;
|
|
4
|
+
userSubject: any;
|
|
5
|
+
useAbility: any;
|
|
6
|
+
AbilityContext: any;
|
|
7
|
+
NotPermission: any;
|
|
8
|
+
CanPer: any;
|
|
9
|
+
useConfig: any;
|
|
10
|
+
}
|
|
11
|
+
declare const OptionConfigPage: (props: II) => React.JSX.Element;
|
|
12
|
+
export default OptionConfigPage;
|
|
@@ -1 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface II {
|
|
3
|
+
userAction: any;
|
|
4
|
+
userSubject: any;
|
|
5
|
+
useAbility: any;
|
|
6
|
+
AbilityContext: any;
|
|
7
|
+
NotPermission: any;
|
|
8
|
+
CanPer: any;
|
|
9
|
+
initAbility?: any;
|
|
10
|
+
t: any;
|
|
11
|
+
}
|
|
12
|
+
declare const TableConfigPage: (props: II) => React.JSX.Element;
|
|
13
|
+
export default TableConfigPage;
|
|
@@ -1,13 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
userAction: any;
|
|
4
|
-
userSubject: any;
|
|
5
|
-
useAbility: any;
|
|
6
|
-
AbilityContext: any;
|
|
7
|
-
NotPermission: any;
|
|
8
|
-
CanPer: any;
|
|
9
|
-
initAbility: any;
|
|
10
|
-
t: any;
|
|
11
|
-
}
|
|
12
|
-
declare const TableConfigPage: (props: II) => React.JSX.Element;
|
|
13
|
-
export default TableConfigPage;
|
|
1
|
+
export { TableConfigPage } from './index';
|
|
2
|
+
export { default } from './index';
|
package/dist/func.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ export declare const configNumber: {
|
|
|
33
33
|
prefixNegative: string;
|
|
34
34
|
suffixNegative: string;
|
|
35
35
|
};
|
|
36
|
+
export declare const getKeyByDateTime: (date?: Date) => string;
|
|
36
37
|
export declare const useDebounce: (value: string, milliSeconds: any) => string;
|
|
37
38
|
export declare const renderResponse: (rs: any) => any;
|
|
38
39
|
export declare const findItem: (array: any[] | undefined, key: string, value: any) => any;
|
package/dist/index.d.ts
CHANGED