aq-fe-framework 0.1.49 → 0.1.51
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import react__default, { ReactNode, ComponentProps } from 'react';
|
|
3
3
|
import { MantineSize, ActionIconProps, ButtonProps, useModalsStack, CheckboxProps, SelectProps, NumberFormatterProps, FieldsetProps, FileInputProps, NumberInputProps, TextareaProps, TextInputProps, ContainerProps, FlexProps, GroupProps, TypographyStylesProviderProps, TabsProps, SkeletonProps } from '@mantine/core';
|
|
4
4
|
import { useDisclosure, useListState } from '@mantine/hooks';
|
|
@@ -13,15 +13,15 @@ import 'exceljs';
|
|
|
13
13
|
|
|
14
14
|
declare const MyBoxesCore: ({ className, ...rest }: {
|
|
15
15
|
className?: string;
|
|
16
|
-
}) =>
|
|
16
|
+
}) => react__default.JSX.Element;
|
|
17
17
|
declare const Boxes: react__default.MemoExoticComponent<({ className, ...rest }: {
|
|
18
18
|
className?: string;
|
|
19
|
-
}) =>
|
|
19
|
+
}) => react__default.JSX.Element>;
|
|
20
20
|
|
|
21
21
|
declare function MyBoxesBackground({ title, desc }: {
|
|
22
22
|
title: string;
|
|
23
23
|
desc?: string;
|
|
24
|
-
}):
|
|
24
|
+
}): react.JSX.Element;
|
|
25
25
|
|
|
26
26
|
type T0MANTINE_SIZE = number | MantineSize | (string & {}) | undefined;
|
|
27
27
|
type T0CRUD = "default" | "create" | "update" | "delete" | "save" | "createMultiple" | "check" | "import" | "print" | "cancel" | "export" | "select";
|
|
@@ -30,13 +30,13 @@ interface IMyActionIcon extends Omit<React.ButtonHTMLAttributes<HTMLButtonElemen
|
|
|
30
30
|
crudType?: T0CRUD;
|
|
31
31
|
children?: ReactNode;
|
|
32
32
|
}
|
|
33
|
-
declare function MyActionIcon({ children, crudType, ...rest }: IMyActionIcon):
|
|
33
|
+
declare function MyActionIcon({ children, crudType, ...rest }: IMyActionIcon): react.JSX.Element | undefined;
|
|
34
34
|
|
|
35
35
|
interface IActionIconCheck extends ActionIconProps {
|
|
36
36
|
modalSize?: string;
|
|
37
37
|
comment?: string;
|
|
38
38
|
}
|
|
39
|
-
declare function MyActionIconCheck({ modalSize, comment, ...rest }: IActionIconCheck):
|
|
39
|
+
declare function MyActionIconCheck({ modalSize, comment, ...rest }: IActionIconCheck): react.JSX.Element;
|
|
40
40
|
|
|
41
41
|
interface IMyActionIconModal extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color" | "style">, ActionIconProps {
|
|
42
42
|
title?: string;
|
|
@@ -47,7 +47,7 @@ interface IMyActionIconModal extends Omit<React.ButtonHTMLAttributes<HTMLButtonE
|
|
|
47
47
|
fullScreen?: boolean;
|
|
48
48
|
icon?: ReactNode;
|
|
49
49
|
}
|
|
50
|
-
declare function MyActionIconModal({ fullScreen, crudType, disclosure, modalSize, title, children, icon, ...rest }: IMyActionIconModal):
|
|
50
|
+
declare function MyActionIconModal({ fullScreen, crudType, disclosure, modalSize, title, children, icon, ...rest }: IMyActionIconModal): react.JSX.Element | undefined;
|
|
51
51
|
|
|
52
52
|
interface IActionIconDelete extends Omit<ComponentProps<typeof MyActionIconModal>, "disclosure"> {
|
|
53
53
|
onSubmit: () => void;
|
|
@@ -56,7 +56,7 @@ interface IActionIconDelete extends Omit<ComponentProps<typeof MyActionIconModal
|
|
|
56
56
|
contextData?: string;
|
|
57
57
|
loading?: boolean;
|
|
58
58
|
}
|
|
59
|
-
declare function MyActionIconDelete({ onSubmit, onSuccess, onError, contextData, ...rest }: IActionIconDelete):
|
|
59
|
+
declare function MyActionIconDelete({ onSubmit, onSuccess, onError, contextData, ...rest }: IActionIconDelete): react.JSX.Element;
|
|
60
60
|
|
|
61
61
|
interface IActionIconUpdate<T> extends Omit<ComponentProps<typeof MyActionIconModal>, "form" | "disclosure" | "onSubmit"> {
|
|
62
62
|
onSubmit: (values: T) => void;
|
|
@@ -65,21 +65,21 @@ interface IActionIconUpdate<T> extends Omit<ComponentProps<typeof MyActionIconMo
|
|
|
65
65
|
form: UseFormReturnType<T>;
|
|
66
66
|
disclosure?: ReturnType<typeof useDisclosure>;
|
|
67
67
|
}
|
|
68
|
-
declare function MyActionIconUpdate<T>({ form, onSubmit, onSuccess, onError, children, ...rest }: IActionIconUpdate<T>):
|
|
68
|
+
declare function MyActionIconUpdate<T>({ form, onSubmit, onSuccess, onError, children, ...rest }: IActionIconUpdate<T>): react.JSX.Element;
|
|
69
69
|
|
|
70
70
|
declare function MyActionIconDownloadPDF({ pdfLink }: {
|
|
71
71
|
pdfLink: string;
|
|
72
|
-
}):
|
|
72
|
+
}): react.JSX.Element;
|
|
73
73
|
|
|
74
|
-
declare function MyActionIconUpload():
|
|
74
|
+
declare function MyActionIconUpload(): react.JSX.Element;
|
|
75
75
|
|
|
76
76
|
interface IActionIconViewPDF extends ActionIconProps {
|
|
77
77
|
modalSize?: string;
|
|
78
78
|
pdfLink: string;
|
|
79
79
|
}
|
|
80
|
-
declare function MyActionIconViewPDF({ modalSize, pdfLink, ...rest }: IActionIconViewPDF):
|
|
80
|
+
declare function MyActionIconViewPDF({ modalSize, pdfLink, ...rest }: IActionIconViewPDF): react.JSX.Element;
|
|
81
81
|
|
|
82
|
-
declare function MySwitchTheme():
|
|
82
|
+
declare function MySwitchTheme(): react.JSX.Element;
|
|
83
83
|
|
|
84
84
|
interface I0LinkItem {
|
|
85
85
|
pageId?: number;
|
|
@@ -93,25 +93,25 @@ declare function BasicAppShell_transformMenuToEnum(prefixProjectName: string, me
|
|
|
93
93
|
declare function BasicAppShell({ children, menu }: {
|
|
94
94
|
children: ReactNode;
|
|
95
95
|
menu: I0LinkItem[];
|
|
96
|
-
}):
|
|
96
|
+
}): react.JSX.Element;
|
|
97
97
|
declare const groupToTwoLevels: (menu: I0LinkItem[]) => I0LinkItem[];
|
|
98
98
|
declare function utils_layout_getItemsWithoutLinks(menu: I0LinkItem[]): I0LinkItem[];
|
|
99
99
|
|
|
100
100
|
declare function MyAppSpotlight({ menu }: {
|
|
101
101
|
menu: I0LinkItem[];
|
|
102
|
-
}):
|
|
103
|
-
declare function SpotlightTrigger():
|
|
102
|
+
}): react.JSX.Element;
|
|
103
|
+
declare function SpotlightTrigger(): react.JSX.Element;
|
|
104
104
|
|
|
105
105
|
declare function MyAnchorViewPDF({ label, pdfLink }: {
|
|
106
106
|
label: string;
|
|
107
107
|
pdfLink: string;
|
|
108
|
-
}):
|
|
108
|
+
}): react.JSX.Element;
|
|
109
109
|
|
|
110
110
|
interface IMyButton extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color" | "style">, ButtonProps {
|
|
111
111
|
crudType?: T0CRUD;
|
|
112
112
|
children?: ReactNode;
|
|
113
113
|
}
|
|
114
|
-
declare function MyButton({ children, crudType, ...rest }: IMyButton):
|
|
114
|
+
declare function MyButton({ children, crudType, ...rest }: IMyButton): react.JSX.Element | undefined;
|
|
115
115
|
|
|
116
116
|
interface IMyButtonModal extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color" | "style">, ButtonProps {
|
|
117
117
|
label?: string;
|
|
@@ -123,7 +123,7 @@ interface IMyButtonModal extends Omit<React.ButtonHTMLAttributes<HTMLButtonEleme
|
|
|
123
123
|
disclosure: ReturnType<typeof useDisclosure>;
|
|
124
124
|
fullScreen?: boolean;
|
|
125
125
|
}
|
|
126
|
-
declare function MyButtonModal({ fullScreen, crudType, disclosure, modalSize, title, label, children, objectName, ...rest }: IMyButtonModal):
|
|
126
|
+
declare function MyButtonModal({ fullScreen, crudType, disclosure, modalSize, title, label, children, objectName, ...rest }: IMyButtonModal): react.JSX.Element | undefined;
|
|
127
127
|
|
|
128
128
|
interface IMyButtonCreate$1 extends Omit<ComponentProps<typeof MyButtonModal>, "disclosure" | "form"> {
|
|
129
129
|
onSubmit: () => void;
|
|
@@ -132,15 +132,15 @@ interface IMyButtonCreate$1 extends Omit<ComponentProps<typeof MyButtonModal>, "
|
|
|
132
132
|
form: ReturnType<typeof useForm>;
|
|
133
133
|
setImportedData?: (data: any) => void;
|
|
134
134
|
}
|
|
135
|
-
declare function AQButtonCreateByImportFile({ form, onSubmit, onSuccess, onError, setImportedData, ...rest }: IMyButtonCreate$1):
|
|
135
|
+
declare function AQButtonCreateByImportFile({ form, onSubmit, onSuccess, onError, setImportedData, ...rest }: IMyButtonCreate$1): react.JSX.Element;
|
|
136
136
|
|
|
137
|
-
interface FieldConfig {
|
|
137
|
+
interface FieldConfig$1 {
|
|
138
138
|
fieldName: string;
|
|
139
139
|
header: string;
|
|
140
140
|
formatFunction?: (value: any, row: any) => any;
|
|
141
141
|
}
|
|
142
142
|
interface ExportConfig {
|
|
143
|
-
fields: FieldConfig[];
|
|
143
|
+
fields: FieldConfig$1[];
|
|
144
144
|
}
|
|
145
145
|
interface AQButtonExportDataProps {
|
|
146
146
|
isAllData: boolean;
|
|
@@ -148,7 +148,7 @@ interface AQButtonExportDataProps {
|
|
|
148
148
|
data: any[];
|
|
149
149
|
exportConfig: ExportConfig;
|
|
150
150
|
}
|
|
151
|
-
declare function AQButtonExportData({ isAllData, objectName, data, exportConfig }: AQButtonExportDataProps):
|
|
151
|
+
declare function AQButtonExportData({ isAllData, objectName, data, exportConfig }: AQButtonExportDataProps): react.JSX.Element;
|
|
152
152
|
|
|
153
153
|
interface IMyButtonCreate<T> extends Omit<ComponentProps<typeof MyButtonModal>, "disclosure" | "form" | "onSubmit"> {
|
|
154
154
|
onSubmit: (values: T) => void;
|
|
@@ -159,24 +159,24 @@ interface IMyButtonCreate<T> extends Omit<ComponentProps<typeof MyButtonModal>,
|
|
|
159
159
|
notResetFormWhenSubmit?: boolean;
|
|
160
160
|
disclosure?: ReturnType<typeof useDisclosure>;
|
|
161
161
|
}
|
|
162
|
-
declare function MyButtonCreate<T>({ form, onSubmit, onSuccess, onError, notCloseModalWhenSubmit, notResetFormWhenSubmit, children, disclosure: externalDisclosure, ...rest }: IMyButtonCreate<T>):
|
|
162
|
+
declare function MyButtonCreate<T>({ form, onSubmit, onSuccess, onError, notCloseModalWhenSubmit, notResetFormWhenSubmit, children, disclosure: externalDisclosure, ...rest }: IMyButtonCreate<T>): react.JSX.Element;
|
|
163
163
|
|
|
164
164
|
interface SelectFileModalProps {
|
|
165
165
|
onExportStructure?: () => void;
|
|
166
166
|
stack: ReturnType<typeof useModalsStack<"select-file-page" | "select-field-page" | "implement-page">>;
|
|
167
167
|
}
|
|
168
|
-
declare function SelectFileModal({ onExportStructure, stack }: SelectFileModalProps):
|
|
168
|
+
declare function SelectFileModal({ onExportStructure, stack }: SelectFileModalProps): react.JSX.Element;
|
|
169
169
|
|
|
170
170
|
interface MyButtonImportProps extends Omit<SelectFileModalProps, "stack"> {
|
|
171
171
|
onImport: (data: any) => void;
|
|
172
172
|
}
|
|
173
|
-
declare function MyButtonImport({ onExportStructure, onImport }: MyButtonImportProps):
|
|
173
|
+
declare function MyButtonImport({ onExportStructure, onImport }: MyButtonImportProps): react.JSX.Element;
|
|
174
174
|
|
|
175
175
|
interface SelectFieldModalProps {
|
|
176
176
|
stack: ReturnType<typeof useModalsStack<"select-file-page" | "select-field-page" | "implement-page">>;
|
|
177
177
|
onImport: () => void;
|
|
178
178
|
}
|
|
179
|
-
declare function SelectFieldModal({ stack, onImport }: SelectFieldModalProps):
|
|
179
|
+
declare function SelectFieldModal({ stack, onImport }: SelectFieldModalProps): react.JSX.Element;
|
|
180
180
|
|
|
181
181
|
interface IFieldConfig extends IUtils_Excel_ColumnConfig<any> {
|
|
182
182
|
isSelected?: boolean;
|
|
@@ -216,18 +216,36 @@ interface IAQSelectTableByOpenModal<TData extends MRT_RowData> extends Omit<MRT_
|
|
|
216
216
|
API?: string;
|
|
217
217
|
closeAfterSelect?: boolean;
|
|
218
218
|
}
|
|
219
|
-
declare function AQSelectTableByOpenModal<TData extends MRT_RowData>({ setSelectedData, data, columns, API, modalSize, title, label, listLabel, objectName, fullScreen, closeAfterSelect, ...rest }: IAQSelectTableByOpenModal<TData>):
|
|
219
|
+
declare function AQSelectTableByOpenModal<TData extends MRT_RowData>({ setSelectedData, data, columns, API, modalSize, title, label, listLabel, objectName, fullScreen, closeAfterSelect, ...rest }: IAQSelectTableByOpenModal<TData>): react.JSX.Element;
|
|
220
220
|
|
|
221
221
|
interface I$5 extends ButtonProps {
|
|
222
222
|
contentToPrint?: ReactNode;
|
|
223
223
|
}
|
|
224
|
-
declare function MyButtonPrintPDF({ contentToPrint, ...rest }: I$5):
|
|
224
|
+
declare function MyButtonPrintPDF({ contentToPrint, ...rest }: I$5): react.JSX.Element;
|
|
225
|
+
|
|
226
|
+
interface FieldConfig {
|
|
227
|
+
fieldName: string;
|
|
228
|
+
header: string;
|
|
229
|
+
isCenter?: boolean;
|
|
230
|
+
formatFunction?: (value: any, row: any) => any;
|
|
231
|
+
}
|
|
232
|
+
interface PrintConfig {
|
|
233
|
+
fields: FieldConfig[];
|
|
234
|
+
title?: string;
|
|
235
|
+
showRowNumbers?: boolean;
|
|
236
|
+
}
|
|
237
|
+
interface AQButtonPrintTableProps<TData extends MRT_RowData = any> {
|
|
238
|
+
printConfig?: PrintConfig;
|
|
239
|
+
objectName?: string;
|
|
240
|
+
data?: TData[];
|
|
241
|
+
}
|
|
242
|
+
declare function MyButtonPrintTablePDF<TData extends MRT_RowData = any>({ printConfig, data, }: AQButtonPrintTableProps<TData>): react.JSX.Element;
|
|
225
243
|
|
|
226
244
|
interface IMyButtonRouterBack extends ButtonProps {
|
|
227
245
|
url?: string;
|
|
228
246
|
label?: string;
|
|
229
247
|
}
|
|
230
|
-
declare function MyButtonRouterBack({ url, label, ...rest }: IMyButtonRouterBack):
|
|
248
|
+
declare function MyButtonRouterBack({ url, label, ...rest }: IMyButtonRouterBack): react.JSX.Element;
|
|
231
249
|
|
|
232
250
|
interface IMyButtonViewPDF {
|
|
233
251
|
modalSize?: string;
|
|
@@ -235,17 +253,17 @@ interface IMyButtonViewPDF {
|
|
|
235
253
|
id?: number;
|
|
236
254
|
src?: string;
|
|
237
255
|
}
|
|
238
|
-
declare function MyButtonViewPDF({ id, modalSize, label, src }: IMyButtonViewPDF):
|
|
256
|
+
declare function MyButtonViewPDF({ id, modalSize, label, src }: IMyButtonViewPDF): react.JSX.Element;
|
|
239
257
|
|
|
240
|
-
declare function MyCalendar():
|
|
258
|
+
declare function MyCalendar(): react.JSX.Element;
|
|
241
259
|
|
|
242
260
|
declare function MyCenterFull({ children }: {
|
|
243
261
|
children: ReactNode;
|
|
244
|
-
}):
|
|
262
|
+
}): react.JSX.Element;
|
|
245
263
|
|
|
246
264
|
interface I$4 extends CheckboxProps {
|
|
247
265
|
}
|
|
248
|
-
declare function MyCheckbox({ ...rest }: I$4):
|
|
266
|
+
declare function MyCheckbox({ ...rest }: I$4): react.JSX.Element;
|
|
249
267
|
|
|
250
268
|
interface IMySelect extends SelectProps {
|
|
251
269
|
label?: string;
|
|
@@ -254,7 +272,7 @@ interface IMySelect extends SelectProps {
|
|
|
254
272
|
label: string;
|
|
255
273
|
}>;
|
|
256
274
|
}
|
|
257
|
-
declare function MySelect({ label, ...rest }: IMySelect):
|
|
275
|
+
declare function MySelect({ label, ...rest }: IMySelect): react.JSX.Element;
|
|
258
276
|
|
|
259
277
|
interface IAQCardProps {
|
|
260
278
|
imgSrc?: string | null;
|
|
@@ -265,7 +283,7 @@ interface IAQCardProps {
|
|
|
265
283
|
status?: string;
|
|
266
284
|
href?: string;
|
|
267
285
|
}
|
|
268
|
-
declare function AQCard({ imgSrc, title, description, date, children, status, href }: IAQCardProps):
|
|
286
|
+
declare function AQCard({ imgSrc, title, description, date, children, status, href }: IAQCardProps): react.JSX.Element;
|
|
269
287
|
|
|
270
288
|
type FormatFunction<TData extends MRT_RowData> = (value: any) => any;
|
|
271
289
|
interface IDataTable$1<TData extends MRT_RowData> extends MRT_TableOptions<TData> {
|
|
@@ -282,17 +300,17 @@ interface IDataTable$1<TData extends MRT_RowData> extends MRT_TableOptions<TData
|
|
|
282
300
|
};
|
|
283
301
|
setSelectedRow?: (data: any) => void;
|
|
284
302
|
}
|
|
285
|
-
declare function MyDataTable<TData extends MRT_RowData>({ formats, exportAble, csvConfigProps, rowActionSize, columns, data, renderTopToolbarCustomActions, setSelectedRow, ...rest }: IDataTable$1<TData>):
|
|
303
|
+
declare function MyDataTable<TData extends MRT_RowData>({ formats, exportAble, csvConfigProps, rowActionSize, columns, data, renderTopToolbarCustomActions, setSelectedRow, ...rest }: IDataTable$1<TData>): react.JSX.Element | undefined;
|
|
286
304
|
|
|
287
305
|
interface I$3 {
|
|
288
306
|
keyLabel?: string;
|
|
289
307
|
label?: string;
|
|
290
308
|
}
|
|
291
|
-
declare function MyKeyLabel({ keyLabel, label }: I$3):
|
|
309
|
+
declare function MyKeyLabel({ keyLabel, label }: I$3): react.JSX.Element;
|
|
292
310
|
|
|
293
311
|
interface I$2 extends NumberFormatterProps {
|
|
294
312
|
}
|
|
295
|
-
declare function MyNumberFormatter({ ...rest }: I$2):
|
|
313
|
+
declare function MyNumberFormatter({ ...rest }: I$2): react.JSX.Element;
|
|
296
314
|
|
|
297
315
|
declare function AQStatCard1({ title, value, unit, description, icons, diff }: {
|
|
298
316
|
title: string;
|
|
@@ -301,33 +319,33 @@ declare function AQStatCard1({ title, value, unit, description, icons, diff }: {
|
|
|
301
319
|
description: string;
|
|
302
320
|
icons: ReactNode;
|
|
303
321
|
diff: number;
|
|
304
|
-
}):
|
|
322
|
+
}): react.JSX.Element;
|
|
305
323
|
|
|
306
324
|
interface IDateInput extends DateInputProps {
|
|
307
325
|
label?: string;
|
|
308
326
|
}
|
|
309
|
-
declare function MyDateInput({ label, ...rest }: IDateInput):
|
|
327
|
+
declare function MyDateInput({ label, ...rest }: IDateInput): react.JSX.Element;
|
|
310
328
|
|
|
311
329
|
interface MyFieldsetProps extends FieldsetProps {
|
|
312
330
|
chilren?: ReactNode;
|
|
313
331
|
title?: string;
|
|
314
332
|
}
|
|
315
|
-
declare function MyFieldset({ children, title, ...rest }: MyFieldsetProps):
|
|
333
|
+
declare function MyFieldset({ children, title, ...rest }: MyFieldsetProps): react.JSX.Element;
|
|
316
334
|
|
|
317
335
|
interface IFileInput extends FileInputProps {
|
|
318
336
|
label?: string;
|
|
319
337
|
}
|
|
320
|
-
declare function MyFileInput({ label, ...rest }: IFileInput):
|
|
338
|
+
declare function MyFileInput({ label, ...rest }: IFileInput): react.JSX.Element;
|
|
321
339
|
|
|
322
340
|
interface INumberInput extends NumberInputProps {
|
|
323
341
|
label?: string;
|
|
324
342
|
}
|
|
325
|
-
declare function MyNumberInput({ label, ...rest }: INumberInput):
|
|
343
|
+
declare function MyNumberInput({ label, ...rest }: INumberInput): react.JSX.Element;
|
|
326
344
|
|
|
327
345
|
interface IMyTextArea extends TextareaProps {
|
|
328
346
|
label?: string;
|
|
329
347
|
}
|
|
330
|
-
declare function MyTextArea({ label, ...rest }: IMyTextArea):
|
|
348
|
+
declare function MyTextArea({ label, ...rest }: IMyTextArea): react.JSX.Element;
|
|
331
349
|
|
|
332
350
|
interface IMyTextEditor extends Partial<EditorOptions> {
|
|
333
351
|
label?: string;
|
|
@@ -338,33 +356,33 @@ interface IMyTextEditor extends Partial<EditorOptions> {
|
|
|
338
356
|
autoHiddenToolBar?: boolean;
|
|
339
357
|
withAsterisk?: boolean;
|
|
340
358
|
}
|
|
341
|
-
declare function MyTextEditor({ autoHiddenToolBar, contentHeight, onChange, value, error, label, withAsterisk, ...rest }: IMyTextEditor):
|
|
359
|
+
declare function MyTextEditor({ autoHiddenToolBar, contentHeight, onChange, value, error, label, withAsterisk, ...rest }: IMyTextEditor): react.JSX.Element;
|
|
342
360
|
|
|
343
361
|
interface IMyTextInput extends TextInputProps {
|
|
344
362
|
label?: string;
|
|
345
363
|
defaultValue?: string;
|
|
346
364
|
}
|
|
347
|
-
declare function MyTextInput({ label, defaultValue, ...rest }: IMyTextInput):
|
|
365
|
+
declare function MyTextInput({ label, defaultValue, ...rest }: IMyTextInput): react.JSX.Element;
|
|
348
366
|
|
|
349
367
|
interface I$1 extends ContainerProps {
|
|
350
368
|
children?: ReactNode;
|
|
351
369
|
}
|
|
352
|
-
declare function MyContainer({ children, ...rest }: I$1):
|
|
370
|
+
declare function MyContainer({ children, ...rest }: I$1): react.JSX.Element;
|
|
353
371
|
|
|
354
372
|
interface IMyFlexColumn extends FlexProps {
|
|
355
373
|
children?: ReactNode;
|
|
356
374
|
}
|
|
357
|
-
declare function MyFlexColumn({ children, ...rest }: IMyFlexColumn):
|
|
375
|
+
declare function MyFlexColumn({ children, ...rest }: IMyFlexColumn): react.JSX.Element;
|
|
358
376
|
|
|
359
377
|
interface IMyFlexEnd extends GroupProps {
|
|
360
378
|
children: ReactNode;
|
|
361
379
|
}
|
|
362
|
-
declare function MyFlexEnd({ children, ...rest }: IMyFlexEnd):
|
|
380
|
+
declare function MyFlexEnd({ children, ...rest }: IMyFlexEnd): react.JSX.Element;
|
|
363
381
|
|
|
364
382
|
interface IFlexRow extends FlexProps {
|
|
365
383
|
children: ReactNode;
|
|
366
384
|
}
|
|
367
|
-
declare function MyFlexRow({ children, ...rest }: IFlexRow):
|
|
385
|
+
declare function MyFlexRow({ children, ...rest }: IFlexRow): react.JSX.Element;
|
|
368
386
|
|
|
369
387
|
interface IMenu {
|
|
370
388
|
label?: string;
|
|
@@ -374,7 +392,7 @@ interface IHeaderMegaMenu {
|
|
|
374
392
|
children?: ReactNode;
|
|
375
393
|
menus?: IMenu[];
|
|
376
394
|
}
|
|
377
|
-
declare function HeaderMegaMenu({ children, menus }: IHeaderMegaMenu):
|
|
395
|
+
declare function HeaderMegaMenu({ children, menus }: IHeaderMegaMenu): react.JSX.Element;
|
|
378
396
|
|
|
379
397
|
interface I {
|
|
380
398
|
name?: string;
|
|
@@ -391,7 +409,7 @@ interface HtmlWrapper extends TypographyStylesProviderProps {
|
|
|
391
409
|
mah?: number | string;
|
|
392
410
|
zip?: boolean;
|
|
393
411
|
}
|
|
394
|
-
declare function MyHtmlWrapper({ html, mah, zip, ...rest }: HtmlWrapper):
|
|
412
|
+
declare function MyHtmlWrapper({ html, mah, zip, ...rest }: HtmlWrapper): react.JSX.Element;
|
|
395
413
|
|
|
396
414
|
interface IPageContent {
|
|
397
415
|
title?: string;
|
|
@@ -401,7 +419,7 @@ interface IPageContent {
|
|
|
401
419
|
leftTopBar?: ReactNode;
|
|
402
420
|
status?: "Prototype" | "Beta";
|
|
403
421
|
}
|
|
404
|
-
declare function MyPageContent({ leftTopBar, title, canBack, rightTopBar, status, children }: IPageContent):
|
|
422
|
+
declare function MyPageContent({ leftTopBar, title, canBack, rightTopBar, status, children }: IPageContent): react.JSX.Element;
|
|
405
423
|
|
|
406
424
|
interface ITab {
|
|
407
425
|
label: string;
|
|
@@ -411,9 +429,9 @@ interface IMyTab extends TabsProps {
|
|
|
411
429
|
tabList: ITab[];
|
|
412
430
|
children?: ReactNode;
|
|
413
431
|
}
|
|
414
|
-
declare function MyTab({ tabList, children, ...rest }: IMyTab):
|
|
432
|
+
declare function MyTab({ tabList, children, ...rest }: IMyTab): react__default.JSX.Element;
|
|
415
433
|
|
|
416
|
-
declare function MyCardioLoader():
|
|
434
|
+
declare function MyCardioLoader(): react.JSX.Element;
|
|
417
435
|
|
|
418
436
|
interface IDataTable<TData extends MRT_RowData> extends Omit<MRT_TableOptions<TData>, "data"> {
|
|
419
437
|
listLabel?: string;
|
|
@@ -426,7 +444,7 @@ interface IDataTable<TData extends MRT_RowData> extends Omit<MRT_TableOptions<TD
|
|
|
426
444
|
selectButtonlabel?: string;
|
|
427
445
|
modalSize?: MantineSize;
|
|
428
446
|
}
|
|
429
|
-
declare function MyDataTableSelect<TData extends MRT_RowData>({ modalSize, renderTopToolbarCustomActions, data, selectButtonlabel, listState, columns, listLabel, ...rest }: IDataTable<TData>):
|
|
447
|
+
declare function MyDataTableSelect<TData extends MRT_RowData>({ modalSize, renderTopToolbarCustomActions, data, selectButtonlabel, listState, columns, listLabel, ...rest }: IDataTable<TData>): react.JSX.Element | "Đang tải...";
|
|
430
448
|
|
|
431
449
|
interface ISelect extends SelectProps {
|
|
432
450
|
apiGet: string;
|
|
@@ -436,10 +454,10 @@ interface ISelect extends SelectProps {
|
|
|
436
454
|
label: string;
|
|
437
455
|
};
|
|
438
456
|
}
|
|
439
|
-
declare function MySelectAPIGet({ apiGet, label, dataMapper, ...rest }: ISelect):
|
|
457
|
+
declare function MySelectAPIGet({ apiGet, label, dataMapper, ...rest }: ISelect): react.JSX.Element | "Loading...";
|
|
440
458
|
|
|
441
459
|
interface IMySkeletonTable extends SkeletonProps {
|
|
442
460
|
}
|
|
443
|
-
declare function MySkeletonTable({ h }: IMySkeletonTable):
|
|
461
|
+
declare function MySkeletonTable({ h }: IMySkeletonTable): react.JSX.Element;
|
|
444
462
|
|
|
445
|
-
export { AQButtonCreateByImportFile, AQButtonExportData, AQCard, AQSelectTableByOpenModal, AQStatCard1, BasicAppShell, BasicAppShell_transformMenuToEnum, Boxes, HeaderMegaMenu, type I0LinkItem, type IAQCardProps, type IMyTextEditor, MyActionIcon, MyActionIconCheck, MyActionIconDelete, MyActionIconDownloadPDF, MyActionIconModal, MyActionIconUpdate, MyActionIconUpload, MyActionIconViewPDF, MyAnchorViewPDF, MyAppSpotlight, MyBoxesBackground, MyBoxesCore, MyButton, MyButtonCreate, MyButtonImport, MyButtonModal, MyButtonPrintPDF, MyButtonRouterBack, MyButtonViewPDF, MyCalendar, MyCardioLoader, MyCenterFull, MyCheckbox, MyContainer, MyDataTable, MyDataTableSelect, MyDateInput, MyFieldset, MyFileInput, MyFlexColumn, MyFlexEnd, MyFlexRow, MyHtmlWrapper, MyKeyLabel, MyNumberFormatter, MyNumberInput, MyPageContent, MySelect, MySelectAPIGet, MySkeletonTable, MySwitchTheme, MyTab, MyTextArea, MyTextEditor, MyTextInput, SelectFieldModal, SelectFileModal, type SelectFileModalProps, SpotlightTrigger, groupToTwoLevels, useHeaderMegaMenuStore, useS_ButtonImport, utils_layout_getItemsWithoutLinks };
|
|
463
|
+
export { AQButtonCreateByImportFile, AQButtonExportData, AQCard, AQSelectTableByOpenModal, AQStatCard1, BasicAppShell, BasicAppShell_transformMenuToEnum, Boxes, HeaderMegaMenu, type I0LinkItem, type IAQCardProps, type IMyTextEditor, MyActionIcon, MyActionIconCheck, MyActionIconDelete, MyActionIconDownloadPDF, MyActionIconModal, MyActionIconUpdate, MyActionIconUpload, MyActionIconViewPDF, MyAnchorViewPDF, MyAppSpotlight, MyBoxesBackground, MyBoxesCore, MyButton, MyButtonCreate, MyButtonImport, MyButtonModal, MyButtonPrintPDF, MyButtonPrintTablePDF, MyButtonRouterBack, MyButtonViewPDF, MyCalendar, MyCardioLoader, MyCenterFull, MyCheckbox, MyContainer, MyDataTable, MyDataTableSelect, MyDateInput, MyFieldset, MyFileInput, MyFlexColumn, MyFlexEnd, MyFlexRow, MyHtmlWrapper, MyKeyLabel, MyNumberFormatter, MyNumberInput, MyPageContent, MySelect, MySelectAPIGet, MySkeletonTable, MySwitchTheme, MyTab, MyTextArea, MyTextEditor, MyTextInput, SelectFieldModal, SelectFileModal, type SelectFileModalProps, SpotlightTrigger, groupToTwoLevels, useHeaderMegaMenuStore, useS_ButtonImport, utils_layout_getItemsWithoutLinks };
|
|
@@ -25,6 +25,7 @@ import {
|
|
|
25
25
|
MyButtonImport,
|
|
26
26
|
MyButtonModal,
|
|
27
27
|
MyButtonPrintPDF,
|
|
28
|
+
MyButtonPrintTablePDF,
|
|
28
29
|
MyButtonRouterBack,
|
|
29
30
|
MyButtonViewPDF,
|
|
30
31
|
MyCalendar,
|
|
@@ -60,9 +61,9 @@ import {
|
|
|
60
61
|
useHeaderMegaMenuStore,
|
|
61
62
|
useS_ButtonImport,
|
|
62
63
|
utils_layout_getItemsWithoutLinks
|
|
63
|
-
} from "../chunk-
|
|
64
|
-
import "../chunk-GL5OCTFE.mjs";
|
|
64
|
+
} from "../chunk-65SFHKW6.mjs";
|
|
65
65
|
import "../chunk-CDDX46TC.mjs";
|
|
66
|
+
import "../chunk-GL5OCTFE.mjs";
|
|
66
67
|
import "../chunk-FWCSY2DS.mjs";
|
|
67
68
|
export {
|
|
68
69
|
AQButtonCreateByImportFile,
|
|
@@ -91,6 +92,7 @@ export {
|
|
|
91
92
|
MyButtonImport,
|
|
92
93
|
MyButtonModal,
|
|
93
94
|
MyButtonPrintPDF,
|
|
95
|
+
MyButtonPrintTablePDF,
|
|
94
96
|
MyButtonRouterBack,
|
|
95
97
|
MyButtonViewPDF,
|
|
96
98
|
MyCalendar,
|