aq-fe-framework 0.1.50 → 0.1.52
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,7 +132,7 @@ 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
137
|
interface FieldConfig$1 {
|
|
138
138
|
fieldName: string;
|
|
@@ -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,12 +216,12 @@ 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
225
|
|
|
226
226
|
interface FieldConfig {
|
|
227
227
|
fieldName: string;
|
|
@@ -239,13 +239,13 @@ interface AQButtonPrintTableProps<TData extends MRT_RowData = any> {
|
|
|
239
239
|
objectName?: string;
|
|
240
240
|
data?: TData[];
|
|
241
241
|
}
|
|
242
|
-
declare function MyButtonPrintTablePDF<TData extends MRT_RowData = any>({ printConfig, data, }: AQButtonPrintTableProps<TData>):
|
|
242
|
+
declare function MyButtonPrintTablePDF<TData extends MRT_RowData = any>({ printConfig, data, }: AQButtonPrintTableProps<TData>): react.JSX.Element;
|
|
243
243
|
|
|
244
244
|
interface IMyButtonRouterBack extends ButtonProps {
|
|
245
245
|
url?: string;
|
|
246
246
|
label?: string;
|
|
247
247
|
}
|
|
248
|
-
declare function MyButtonRouterBack({ url, label, ...rest }: IMyButtonRouterBack):
|
|
248
|
+
declare function MyButtonRouterBack({ url, label, ...rest }: IMyButtonRouterBack): react.JSX.Element;
|
|
249
249
|
|
|
250
250
|
interface IMyButtonViewPDF {
|
|
251
251
|
modalSize?: string;
|
|
@@ -253,17 +253,17 @@ interface IMyButtonViewPDF {
|
|
|
253
253
|
id?: number;
|
|
254
254
|
src?: string;
|
|
255
255
|
}
|
|
256
|
-
declare function MyButtonViewPDF({ id, modalSize, label, src }: IMyButtonViewPDF):
|
|
256
|
+
declare function MyButtonViewPDF({ id, modalSize, label, src }: IMyButtonViewPDF): react.JSX.Element;
|
|
257
257
|
|
|
258
|
-
declare function MyCalendar():
|
|
258
|
+
declare function MyCalendar(): react.JSX.Element;
|
|
259
259
|
|
|
260
260
|
declare function MyCenterFull({ children }: {
|
|
261
261
|
children: ReactNode;
|
|
262
|
-
}):
|
|
262
|
+
}): react.JSX.Element;
|
|
263
263
|
|
|
264
264
|
interface I$4 extends CheckboxProps {
|
|
265
265
|
}
|
|
266
|
-
declare function MyCheckbox({ ...rest }: I$4):
|
|
266
|
+
declare function MyCheckbox({ ...rest }: I$4): react.JSX.Element;
|
|
267
267
|
|
|
268
268
|
interface IMySelect extends SelectProps {
|
|
269
269
|
label?: string;
|
|
@@ -272,7 +272,7 @@ interface IMySelect extends SelectProps {
|
|
|
272
272
|
label: string;
|
|
273
273
|
}>;
|
|
274
274
|
}
|
|
275
|
-
declare function MySelect({ label, ...rest }: IMySelect):
|
|
275
|
+
declare function MySelect({ label, ...rest }: IMySelect): react.JSX.Element;
|
|
276
276
|
|
|
277
277
|
interface IAQCardProps {
|
|
278
278
|
imgSrc?: string | null;
|
|
@@ -283,7 +283,7 @@ interface IAQCardProps {
|
|
|
283
283
|
status?: string;
|
|
284
284
|
href?: string;
|
|
285
285
|
}
|
|
286
|
-
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;
|
|
287
287
|
|
|
288
288
|
type FormatFunction<TData extends MRT_RowData> = (value: any) => any;
|
|
289
289
|
interface IDataTable$1<TData extends MRT_RowData> extends MRT_TableOptions<TData> {
|
|
@@ -300,17 +300,17 @@ interface IDataTable$1<TData extends MRT_RowData> extends MRT_TableOptions<TData
|
|
|
300
300
|
};
|
|
301
301
|
setSelectedRow?: (data: any) => void;
|
|
302
302
|
}
|
|
303
|
-
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;
|
|
304
304
|
|
|
305
305
|
interface I$3 {
|
|
306
306
|
keyLabel?: string;
|
|
307
307
|
label?: string;
|
|
308
308
|
}
|
|
309
|
-
declare function MyKeyLabel({ keyLabel, label }: I$3):
|
|
309
|
+
declare function MyKeyLabel({ keyLabel, label }: I$3): react.JSX.Element;
|
|
310
310
|
|
|
311
311
|
interface I$2 extends NumberFormatterProps {
|
|
312
312
|
}
|
|
313
|
-
declare function MyNumberFormatter({ ...rest }: I$2):
|
|
313
|
+
declare function MyNumberFormatter({ ...rest }: I$2): react.JSX.Element;
|
|
314
314
|
|
|
315
315
|
declare function AQStatCard1({ title, value, unit, description, icons, diff }: {
|
|
316
316
|
title: string;
|
|
@@ -319,33 +319,33 @@ declare function AQStatCard1({ title, value, unit, description, icons, diff }: {
|
|
|
319
319
|
description: string;
|
|
320
320
|
icons: ReactNode;
|
|
321
321
|
diff: number;
|
|
322
|
-
}):
|
|
322
|
+
}): react.JSX.Element;
|
|
323
323
|
|
|
324
324
|
interface IDateInput extends DateInputProps {
|
|
325
325
|
label?: string;
|
|
326
326
|
}
|
|
327
|
-
declare function MyDateInput({ label, ...rest }: IDateInput):
|
|
327
|
+
declare function MyDateInput({ label, ...rest }: IDateInput): react.JSX.Element;
|
|
328
328
|
|
|
329
329
|
interface MyFieldsetProps extends FieldsetProps {
|
|
330
330
|
chilren?: ReactNode;
|
|
331
331
|
title?: string;
|
|
332
332
|
}
|
|
333
|
-
declare function MyFieldset({ children, title, ...rest }: MyFieldsetProps):
|
|
333
|
+
declare function MyFieldset({ children, title, ...rest }: MyFieldsetProps): react.JSX.Element;
|
|
334
334
|
|
|
335
335
|
interface IFileInput extends FileInputProps {
|
|
336
336
|
label?: string;
|
|
337
337
|
}
|
|
338
|
-
declare function MyFileInput({ label, ...rest }: IFileInput):
|
|
338
|
+
declare function MyFileInput({ label, ...rest }: IFileInput): react.JSX.Element;
|
|
339
339
|
|
|
340
340
|
interface INumberInput extends NumberInputProps {
|
|
341
341
|
label?: string;
|
|
342
342
|
}
|
|
343
|
-
declare function MyNumberInput({ label, ...rest }: INumberInput):
|
|
343
|
+
declare function MyNumberInput({ label, ...rest }: INumberInput): react.JSX.Element;
|
|
344
344
|
|
|
345
345
|
interface IMyTextArea extends TextareaProps {
|
|
346
346
|
label?: string;
|
|
347
347
|
}
|
|
348
|
-
declare function MyTextArea({ label, ...rest }: IMyTextArea):
|
|
348
|
+
declare function MyTextArea({ label, ...rest }: IMyTextArea): react.JSX.Element;
|
|
349
349
|
|
|
350
350
|
interface IMyTextEditor extends Partial<EditorOptions> {
|
|
351
351
|
label?: string;
|
|
@@ -356,33 +356,33 @@ interface IMyTextEditor extends Partial<EditorOptions> {
|
|
|
356
356
|
autoHiddenToolBar?: boolean;
|
|
357
357
|
withAsterisk?: boolean;
|
|
358
358
|
}
|
|
359
|
-
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;
|
|
360
360
|
|
|
361
361
|
interface IMyTextInput extends TextInputProps {
|
|
362
362
|
label?: string;
|
|
363
363
|
defaultValue?: string;
|
|
364
364
|
}
|
|
365
|
-
declare function MyTextInput({ label, defaultValue, ...rest }: IMyTextInput):
|
|
365
|
+
declare function MyTextInput({ label, defaultValue, ...rest }: IMyTextInput): react.JSX.Element;
|
|
366
366
|
|
|
367
367
|
interface I$1 extends ContainerProps {
|
|
368
368
|
children?: ReactNode;
|
|
369
369
|
}
|
|
370
|
-
declare function MyContainer({ children, ...rest }: I$1):
|
|
370
|
+
declare function MyContainer({ children, ...rest }: I$1): react.JSX.Element;
|
|
371
371
|
|
|
372
372
|
interface IMyFlexColumn extends FlexProps {
|
|
373
373
|
children?: ReactNode;
|
|
374
374
|
}
|
|
375
|
-
declare function MyFlexColumn({ children, ...rest }: IMyFlexColumn):
|
|
375
|
+
declare function MyFlexColumn({ children, ...rest }: IMyFlexColumn): react.JSX.Element;
|
|
376
376
|
|
|
377
377
|
interface IMyFlexEnd extends GroupProps {
|
|
378
378
|
children: ReactNode;
|
|
379
379
|
}
|
|
380
|
-
declare function MyFlexEnd({ children, ...rest }: IMyFlexEnd):
|
|
380
|
+
declare function MyFlexEnd({ children, ...rest }: IMyFlexEnd): react.JSX.Element;
|
|
381
381
|
|
|
382
382
|
interface IFlexRow extends FlexProps {
|
|
383
383
|
children: ReactNode;
|
|
384
384
|
}
|
|
385
|
-
declare function MyFlexRow({ children, ...rest }: IFlexRow):
|
|
385
|
+
declare function MyFlexRow({ children, ...rest }: IFlexRow): react.JSX.Element;
|
|
386
386
|
|
|
387
387
|
interface IMenu {
|
|
388
388
|
label?: string;
|
|
@@ -392,7 +392,7 @@ interface IHeaderMegaMenu {
|
|
|
392
392
|
children?: ReactNode;
|
|
393
393
|
menus?: IMenu[];
|
|
394
394
|
}
|
|
395
|
-
declare function HeaderMegaMenu({ children, menus }: IHeaderMegaMenu):
|
|
395
|
+
declare function HeaderMegaMenu({ children, menus }: IHeaderMegaMenu): react.JSX.Element;
|
|
396
396
|
|
|
397
397
|
interface I {
|
|
398
398
|
name?: string;
|
|
@@ -409,7 +409,7 @@ interface HtmlWrapper extends TypographyStylesProviderProps {
|
|
|
409
409
|
mah?: number | string;
|
|
410
410
|
zip?: boolean;
|
|
411
411
|
}
|
|
412
|
-
declare function MyHtmlWrapper({ html, mah, zip, ...rest }: HtmlWrapper):
|
|
412
|
+
declare function MyHtmlWrapper({ html, mah, zip, ...rest }: HtmlWrapper): react.JSX.Element;
|
|
413
413
|
|
|
414
414
|
interface IPageContent {
|
|
415
415
|
title?: string;
|
|
@@ -419,7 +419,7 @@ interface IPageContent {
|
|
|
419
419
|
leftTopBar?: ReactNode;
|
|
420
420
|
status?: "Prototype" | "Beta";
|
|
421
421
|
}
|
|
422
|
-
declare function MyPageContent({ leftTopBar, title, canBack, rightTopBar, status, children }: IPageContent):
|
|
422
|
+
declare function MyPageContent({ leftTopBar, title, canBack, rightTopBar, status, children }: IPageContent): react.JSX.Element;
|
|
423
423
|
|
|
424
424
|
interface ITab {
|
|
425
425
|
label: string;
|
|
@@ -429,9 +429,9 @@ interface IMyTab extends TabsProps {
|
|
|
429
429
|
tabList: ITab[];
|
|
430
430
|
children?: ReactNode;
|
|
431
431
|
}
|
|
432
|
-
declare function MyTab({ tabList, children, ...rest }: IMyTab):
|
|
432
|
+
declare function MyTab({ tabList, children, ...rest }: IMyTab): react__default.JSX.Element;
|
|
433
433
|
|
|
434
|
-
declare function MyCardioLoader():
|
|
434
|
+
declare function MyCardioLoader(): react.JSX.Element;
|
|
435
435
|
|
|
436
436
|
interface IDataTable<TData extends MRT_RowData> extends Omit<MRT_TableOptions<TData>, "data"> {
|
|
437
437
|
listLabel?: string;
|
|
@@ -444,7 +444,7 @@ interface IDataTable<TData extends MRT_RowData> extends Omit<MRT_TableOptions<TD
|
|
|
444
444
|
selectButtonlabel?: string;
|
|
445
445
|
modalSize?: MantineSize;
|
|
446
446
|
}
|
|
447
|
-
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...";
|
|
448
448
|
|
|
449
449
|
interface ISelect extends SelectProps {
|
|
450
450
|
apiGet: string;
|
|
@@ -454,10 +454,10 @@ interface ISelect extends SelectProps {
|
|
|
454
454
|
label: string;
|
|
455
455
|
};
|
|
456
456
|
}
|
|
457
|
-
declare function MySelectAPIGet({ apiGet, label, dataMapper, ...rest }: ISelect):
|
|
457
|
+
declare function MySelectAPIGet({ apiGet, label, dataMapper, ...rest }: ISelect): react.JSX.Element | "Loading...";
|
|
458
458
|
|
|
459
459
|
interface IMySkeletonTable extends SkeletonProps {
|
|
460
460
|
}
|
|
461
|
-
declare function MySkeletonTable({ h }: IMySkeletonTable):
|
|
461
|
+
declare function MySkeletonTable({ h }: IMySkeletonTable): react.JSX.Element;
|
|
462
462
|
|
|
463
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 };
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
useHeaderMegaMenuStore,
|
|
62
62
|
useS_ButtonImport,
|
|
63
63
|
utils_layout_getItemsWithoutLinks
|
|
64
|
-
} from "../chunk-
|
|
64
|
+
} from "../chunk-7I5GQ5T7.mjs";
|
|
65
65
|
import "../chunk-GL5OCTFE.mjs";
|
|
66
66
|
import "../chunk-CDDX46TC.mjs";
|
|
67
67
|
import "../chunk-FWCSY2DS.mjs";
|