aq-fe-framework 0.1.43 → 0.1.45
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_jsx_runtime from 'react/jsx-runtime';
|
|
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_jsx_runtime.JSX.Element;
|
|
17
17
|
declare const Boxes: react__default.MemoExoticComponent<({ className, ...rest }: {
|
|
18
18
|
className?: string;
|
|
19
|
-
}) =>
|
|
19
|
+
}) => react_jsx_runtime.JSX.Element>;
|
|
20
20
|
|
|
21
21
|
declare function MyBoxesBackground({ title, desc }: {
|
|
22
22
|
title: string;
|
|
23
23
|
desc?: string;
|
|
24
|
-
}):
|
|
24
|
+
}): react_jsx_runtime.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_runtime.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_runtime.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_runtime.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_runtime.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_runtime.JSX.Element;
|
|
69
69
|
|
|
70
70
|
declare function MyActionIconDownloadPDF({ pdfLink }: {
|
|
71
71
|
pdfLink: string;
|
|
72
|
-
}):
|
|
72
|
+
}): react_jsx_runtime.JSX.Element;
|
|
73
73
|
|
|
74
|
-
declare function MyActionIconUpload():
|
|
74
|
+
declare function MyActionIconUpload(): react_jsx_runtime.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_runtime.JSX.Element;
|
|
81
81
|
|
|
82
|
-
declare function MySwitchTheme():
|
|
82
|
+
declare function MySwitchTheme(): react_jsx_runtime.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_runtime.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_runtime.JSX.Element;
|
|
103
|
+
declare function SpotlightTrigger(): react_jsx_runtime.JSX.Element;
|
|
104
104
|
|
|
105
105
|
declare function MyAnchorViewPDF({ label, pdfLink }: {
|
|
106
106
|
label: string;
|
|
107
107
|
pdfLink: string;
|
|
108
|
-
}):
|
|
108
|
+
}): react_jsx_runtime.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_runtime.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_runtime.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_runtime.JSX.Element;
|
|
136
136
|
|
|
137
137
|
interface FieldConfig {
|
|
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_runtime.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_runtime.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_runtime.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_runtime.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_runtime.JSX.Element;
|
|
180
180
|
|
|
181
181
|
interface IFieldConfig extends IUtils_Excel_ColumnConfig<any> {
|
|
182
182
|
isSelected?: boolean;
|
|
@@ -216,18 +216,18 @@ 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_runtime.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_runtime.JSX.Element;
|
|
225
225
|
|
|
226
226
|
interface IMyButtonRouterBack extends ButtonProps {
|
|
227
227
|
url?: string;
|
|
228
228
|
label?: string;
|
|
229
229
|
}
|
|
230
|
-
declare function MyButtonRouterBack({ url, label, ...rest }: IMyButtonRouterBack):
|
|
230
|
+
declare function MyButtonRouterBack({ url, label, ...rest }: IMyButtonRouterBack): react_jsx_runtime.JSX.Element;
|
|
231
231
|
|
|
232
232
|
interface IMyButtonViewPDF {
|
|
233
233
|
modalSize?: string;
|
|
@@ -235,17 +235,17 @@ interface IMyButtonViewPDF {
|
|
|
235
235
|
id?: number;
|
|
236
236
|
src?: string;
|
|
237
237
|
}
|
|
238
|
-
declare function MyButtonViewPDF({ id, modalSize, label, src }: IMyButtonViewPDF):
|
|
238
|
+
declare function MyButtonViewPDF({ id, modalSize, label, src }: IMyButtonViewPDF): react_jsx_runtime.JSX.Element;
|
|
239
239
|
|
|
240
|
-
declare function MyCalendar():
|
|
240
|
+
declare function MyCalendar(): react_jsx_runtime.JSX.Element;
|
|
241
241
|
|
|
242
242
|
declare function MyCenterFull({ children }: {
|
|
243
243
|
children: ReactNode;
|
|
244
|
-
}):
|
|
244
|
+
}): react_jsx_runtime.JSX.Element;
|
|
245
245
|
|
|
246
246
|
interface I$4 extends CheckboxProps {
|
|
247
247
|
}
|
|
248
|
-
declare function MyCheckbox({ ...rest }: I$4):
|
|
248
|
+
declare function MyCheckbox({ ...rest }: I$4): react_jsx_runtime.JSX.Element;
|
|
249
249
|
|
|
250
250
|
interface IMySelect extends SelectProps {
|
|
251
251
|
label?: string;
|
|
@@ -254,7 +254,7 @@ interface IMySelect extends SelectProps {
|
|
|
254
254
|
label: string;
|
|
255
255
|
}>;
|
|
256
256
|
}
|
|
257
|
-
declare function MySelect({ label, ...rest }: IMySelect):
|
|
257
|
+
declare function MySelect({ label, ...rest }: IMySelect): react_jsx_runtime.JSX.Element;
|
|
258
258
|
|
|
259
259
|
interface IAQCardProps {
|
|
260
260
|
imgSrc?: string | null;
|
|
@@ -265,7 +265,7 @@ interface IAQCardProps {
|
|
|
265
265
|
status?: string;
|
|
266
266
|
href?: string;
|
|
267
267
|
}
|
|
268
|
-
declare function AQCard({ imgSrc, title, description, date, children, status, href }: IAQCardProps):
|
|
268
|
+
declare function AQCard({ imgSrc, title, description, date, children, status, href }: IAQCardProps): react_jsx_runtime.JSX.Element;
|
|
269
269
|
|
|
270
270
|
type FormatFunction<TData extends MRT_RowData> = (value: any) => any;
|
|
271
271
|
interface IDataTable$1<TData extends MRT_RowData> extends MRT_TableOptions<TData> {
|
|
@@ -282,17 +282,17 @@ interface IDataTable$1<TData extends MRT_RowData> extends MRT_TableOptions<TData
|
|
|
282
282
|
};
|
|
283
283
|
setSelectedRow?: (data: any) => void;
|
|
284
284
|
}
|
|
285
|
-
declare function MyDataTable<TData extends MRT_RowData>({ formats, exportAble, csvConfigProps, rowActionSize, columns, data, renderTopToolbarCustomActions, setSelectedRow, ...rest }: IDataTable$1<TData>):
|
|
285
|
+
declare function MyDataTable<TData extends MRT_RowData>({ formats, exportAble, csvConfigProps, rowActionSize, columns, data, renderTopToolbarCustomActions, setSelectedRow, ...rest }: IDataTable$1<TData>): react_jsx_runtime.JSX.Element | undefined;
|
|
286
286
|
|
|
287
287
|
interface I$3 {
|
|
288
288
|
keyLabel?: string;
|
|
289
289
|
label?: string;
|
|
290
290
|
}
|
|
291
|
-
declare function MyKeyLabel({ keyLabel, label }: I$3):
|
|
291
|
+
declare function MyKeyLabel({ keyLabel, label }: I$3): react_jsx_runtime.JSX.Element;
|
|
292
292
|
|
|
293
293
|
interface I$2 extends NumberFormatterProps {
|
|
294
294
|
}
|
|
295
|
-
declare function MyNumberFormatter({ ...rest }: I$2):
|
|
295
|
+
declare function MyNumberFormatter({ ...rest }: I$2): react_jsx_runtime.JSX.Element;
|
|
296
296
|
|
|
297
297
|
declare function AQStatCard1({ title, value, unit, description, icons, diff }: {
|
|
298
298
|
title: string;
|
|
@@ -301,33 +301,33 @@ declare function AQStatCard1({ title, value, unit, description, icons, diff }: {
|
|
|
301
301
|
description: string;
|
|
302
302
|
icons: ReactNode;
|
|
303
303
|
diff: number;
|
|
304
|
-
}):
|
|
304
|
+
}): react_jsx_runtime.JSX.Element;
|
|
305
305
|
|
|
306
306
|
interface IDateInput extends DateInputProps {
|
|
307
307
|
label?: string;
|
|
308
308
|
}
|
|
309
|
-
declare function MyDateInput({ label, ...rest }: IDateInput):
|
|
309
|
+
declare function MyDateInput({ label, ...rest }: IDateInput): react_jsx_runtime.JSX.Element;
|
|
310
310
|
|
|
311
311
|
interface MyFieldsetProps extends FieldsetProps {
|
|
312
312
|
chilren?: ReactNode;
|
|
313
313
|
title?: string;
|
|
314
314
|
}
|
|
315
|
-
declare function MyFieldset({ children, title, ...rest }: MyFieldsetProps):
|
|
315
|
+
declare function MyFieldset({ children, title, ...rest }: MyFieldsetProps): react_jsx_runtime.JSX.Element;
|
|
316
316
|
|
|
317
317
|
interface IFileInput extends FileInputProps {
|
|
318
318
|
label?: string;
|
|
319
319
|
}
|
|
320
|
-
declare function MyFileInput({ label, ...rest }: IFileInput):
|
|
320
|
+
declare function MyFileInput({ label, ...rest }: IFileInput): react_jsx_runtime.JSX.Element;
|
|
321
321
|
|
|
322
322
|
interface INumberInput extends NumberInputProps {
|
|
323
323
|
label?: string;
|
|
324
324
|
}
|
|
325
|
-
declare function MyNumberInput({ label, ...rest }: INumberInput):
|
|
325
|
+
declare function MyNumberInput({ label, ...rest }: INumberInput): react_jsx_runtime.JSX.Element;
|
|
326
326
|
|
|
327
327
|
interface IMyTextArea extends TextareaProps {
|
|
328
328
|
label?: string;
|
|
329
329
|
}
|
|
330
|
-
declare function MyTextArea({ label, ...rest }: IMyTextArea):
|
|
330
|
+
declare function MyTextArea({ label, ...rest }: IMyTextArea): react_jsx_runtime.JSX.Element;
|
|
331
331
|
|
|
332
332
|
interface IMyTextEditor extends Partial<EditorOptions> {
|
|
333
333
|
label?: string;
|
|
@@ -338,33 +338,33 @@ interface IMyTextEditor extends Partial<EditorOptions> {
|
|
|
338
338
|
autoHiddenToolBar?: boolean;
|
|
339
339
|
withAsterisk?: boolean;
|
|
340
340
|
}
|
|
341
|
-
declare function MyTextEditor({ autoHiddenToolBar, contentHeight, onChange, value, error, label, withAsterisk, ...rest }: IMyTextEditor):
|
|
341
|
+
declare function MyTextEditor({ autoHiddenToolBar, contentHeight, onChange, value, error, label, withAsterisk, ...rest }: IMyTextEditor): react_jsx_runtime.JSX.Element;
|
|
342
342
|
|
|
343
343
|
interface IMyTextInput extends TextInputProps {
|
|
344
344
|
label?: string;
|
|
345
345
|
defaultValue?: string;
|
|
346
346
|
}
|
|
347
|
-
declare function MyTextInput({ label, defaultValue, ...rest }: IMyTextInput):
|
|
347
|
+
declare function MyTextInput({ label, defaultValue, ...rest }: IMyTextInput): react_jsx_runtime.JSX.Element;
|
|
348
348
|
|
|
349
349
|
interface I$1 extends ContainerProps {
|
|
350
350
|
children?: ReactNode;
|
|
351
351
|
}
|
|
352
|
-
declare function MyContainer({ children, ...rest }: I$1):
|
|
352
|
+
declare function MyContainer({ children, ...rest }: I$1): react_jsx_runtime.JSX.Element;
|
|
353
353
|
|
|
354
354
|
interface IMyFlexColumn extends FlexProps {
|
|
355
355
|
children?: ReactNode;
|
|
356
356
|
}
|
|
357
|
-
declare function MyFlexColumn({ children, ...rest }: IMyFlexColumn):
|
|
357
|
+
declare function MyFlexColumn({ children, ...rest }: IMyFlexColumn): react_jsx_runtime.JSX.Element;
|
|
358
358
|
|
|
359
359
|
interface IMyFlexEnd extends GroupProps {
|
|
360
360
|
children: ReactNode;
|
|
361
361
|
}
|
|
362
|
-
declare function MyFlexEnd({ children, ...rest }: IMyFlexEnd):
|
|
362
|
+
declare function MyFlexEnd({ children, ...rest }: IMyFlexEnd): react_jsx_runtime.JSX.Element;
|
|
363
363
|
|
|
364
364
|
interface IFlexRow extends FlexProps {
|
|
365
365
|
children: ReactNode;
|
|
366
366
|
}
|
|
367
|
-
declare function MyFlexRow({ children, ...rest }: IFlexRow):
|
|
367
|
+
declare function MyFlexRow({ children, ...rest }: IFlexRow): react_jsx_runtime.JSX.Element;
|
|
368
368
|
|
|
369
369
|
interface IMenu {
|
|
370
370
|
label?: string;
|
|
@@ -374,7 +374,7 @@ interface IHeaderMegaMenu {
|
|
|
374
374
|
children?: ReactNode;
|
|
375
375
|
menus?: IMenu[];
|
|
376
376
|
}
|
|
377
|
-
declare function HeaderMegaMenu({ children, menus }: IHeaderMegaMenu):
|
|
377
|
+
declare function HeaderMegaMenu({ children, menus }: IHeaderMegaMenu): react_jsx_runtime.JSX.Element;
|
|
378
378
|
|
|
379
379
|
interface I {
|
|
380
380
|
name?: string;
|
|
@@ -391,7 +391,7 @@ interface HtmlWrapper extends TypographyStylesProviderProps {
|
|
|
391
391
|
mah?: number | string;
|
|
392
392
|
zip?: boolean;
|
|
393
393
|
}
|
|
394
|
-
declare function MyHtmlWrapper({ html, mah, zip, ...rest }: HtmlWrapper):
|
|
394
|
+
declare function MyHtmlWrapper({ html, mah, zip, ...rest }: HtmlWrapper): react_jsx_runtime.JSX.Element;
|
|
395
395
|
|
|
396
396
|
interface IPageContent {
|
|
397
397
|
title?: string;
|
|
@@ -401,7 +401,7 @@ interface IPageContent {
|
|
|
401
401
|
leftTopBar?: ReactNode;
|
|
402
402
|
status?: "Prototype" | "Beta";
|
|
403
403
|
}
|
|
404
|
-
declare function MyPageContent({ leftTopBar, title, canBack, rightTopBar, status, children }: IPageContent):
|
|
404
|
+
declare function MyPageContent({ leftTopBar, title, canBack, rightTopBar, status, children }: IPageContent): react_jsx_runtime.JSX.Element;
|
|
405
405
|
|
|
406
406
|
interface ITab {
|
|
407
407
|
label: string;
|
|
@@ -411,9 +411,9 @@ interface IMyTab extends TabsProps {
|
|
|
411
411
|
tabList: ITab[];
|
|
412
412
|
children?: ReactNode;
|
|
413
413
|
}
|
|
414
|
-
declare function MyTab({ tabList, children, ...rest }: IMyTab):
|
|
414
|
+
declare function MyTab({ tabList, children, ...rest }: IMyTab): react_jsx_runtime.JSX.Element;
|
|
415
415
|
|
|
416
|
-
declare function MyCardioLoader():
|
|
416
|
+
declare function MyCardioLoader(): react_jsx_runtime.JSX.Element;
|
|
417
417
|
|
|
418
418
|
interface IDataTable<TData extends MRT_RowData> extends Omit<MRT_TableOptions<TData>, "data"> {
|
|
419
419
|
listLabel?: string;
|
|
@@ -426,7 +426,7 @@ interface IDataTable<TData extends MRT_RowData> extends Omit<MRT_TableOptions<TD
|
|
|
426
426
|
selectButtonlabel?: string;
|
|
427
427
|
modalSize?: MantineSize;
|
|
428
428
|
}
|
|
429
|
-
declare function MyDataTableSelect<TData extends MRT_RowData>({ modalSize, renderTopToolbarCustomActions, data, selectButtonlabel, listState, columns, listLabel, ...rest }: IDataTable<TData>):
|
|
429
|
+
declare function MyDataTableSelect<TData extends MRT_RowData>({ modalSize, renderTopToolbarCustomActions, data, selectButtonlabel, listState, columns, listLabel, ...rest }: IDataTable<TData>): react_jsx_runtime.JSX.Element | "Đang tải...";
|
|
430
430
|
|
|
431
431
|
interface ISelect extends SelectProps {
|
|
432
432
|
apiGet: string;
|
|
@@ -436,10 +436,10 @@ interface ISelect extends SelectProps {
|
|
|
436
436
|
label: string;
|
|
437
437
|
};
|
|
438
438
|
}
|
|
439
|
-
declare function MySelectAPIGet({ apiGet, label, dataMapper, ...rest }: ISelect):
|
|
439
|
+
declare function MySelectAPIGet({ apiGet, label, dataMapper, ...rest }: ISelect): react_jsx_runtime.JSX.Element | "Loading...";
|
|
440
440
|
|
|
441
441
|
interface IMySkeletonTable extends SkeletonProps {
|
|
442
442
|
}
|
|
443
|
-
declare function MySkeletonTable({ h }: IMySkeletonTable):
|
|
443
|
+
declare function MySkeletonTable({ h }: IMySkeletonTable): react_jsx_runtime.JSX.Element;
|
|
444
444
|
|
|
445
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 };
|