aq-fe-framework 0.1.37 → 0.1.39
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;
|
|
@@ -337,33 +337,33 @@ interface IMyTextEditor extends Partial<EditorOptions> {
|
|
|
337
337
|
contentHeight?: MantineSize | string;
|
|
338
338
|
autoHiddenToolBar?: boolean;
|
|
339
339
|
}
|
|
340
|
-
declare function MyTextEditor({ autoHiddenToolBar, contentHeight, onChange, value, error, label, ...rest }: IMyTextEditor):
|
|
340
|
+
declare function MyTextEditor({ autoHiddenToolBar, contentHeight, onChange, value, error, label, ...rest }: IMyTextEditor): react_jsx_runtime.JSX.Element;
|
|
341
341
|
|
|
342
342
|
interface IMyTextInput extends TextInputProps {
|
|
343
343
|
label?: string;
|
|
344
344
|
defaultValue?: string;
|
|
345
345
|
}
|
|
346
|
-
declare function MyTextInput({ label, defaultValue, ...rest }: IMyTextInput):
|
|
346
|
+
declare function MyTextInput({ label, defaultValue, ...rest }: IMyTextInput): react_jsx_runtime.JSX.Element;
|
|
347
347
|
|
|
348
348
|
interface I$1 extends ContainerProps {
|
|
349
349
|
children?: ReactNode;
|
|
350
350
|
}
|
|
351
|
-
declare function MyContainer({ children, ...rest }: I$1):
|
|
351
|
+
declare function MyContainer({ children, ...rest }: I$1): react_jsx_runtime.JSX.Element;
|
|
352
352
|
|
|
353
353
|
interface IMyFlexColumn extends FlexProps {
|
|
354
354
|
children?: ReactNode;
|
|
355
355
|
}
|
|
356
|
-
declare function MyFlexColumn({ children, ...rest }: IMyFlexColumn):
|
|
356
|
+
declare function MyFlexColumn({ children, ...rest }: IMyFlexColumn): react_jsx_runtime.JSX.Element;
|
|
357
357
|
|
|
358
358
|
interface IMyFlexEnd extends GroupProps {
|
|
359
359
|
children: ReactNode;
|
|
360
360
|
}
|
|
361
|
-
declare function MyFlexEnd({ children, ...rest }: IMyFlexEnd):
|
|
361
|
+
declare function MyFlexEnd({ children, ...rest }: IMyFlexEnd): react_jsx_runtime.JSX.Element;
|
|
362
362
|
|
|
363
363
|
interface IFlexRow extends FlexProps {
|
|
364
364
|
children: ReactNode;
|
|
365
365
|
}
|
|
366
|
-
declare function MyFlexRow({ children, ...rest }: IFlexRow):
|
|
366
|
+
declare function MyFlexRow({ children, ...rest }: IFlexRow): react_jsx_runtime.JSX.Element;
|
|
367
367
|
|
|
368
368
|
interface IMenu {
|
|
369
369
|
label?: string;
|
|
@@ -373,7 +373,7 @@ interface IHeaderMegaMenu {
|
|
|
373
373
|
children?: ReactNode;
|
|
374
374
|
menus?: IMenu[];
|
|
375
375
|
}
|
|
376
|
-
declare function HeaderMegaMenu({ children, menus }: IHeaderMegaMenu):
|
|
376
|
+
declare function HeaderMegaMenu({ children, menus }: IHeaderMegaMenu): react_jsx_runtime.JSX.Element;
|
|
377
377
|
|
|
378
378
|
interface I {
|
|
379
379
|
name?: string;
|
|
@@ -390,7 +390,7 @@ interface HtmlWrapper extends TypographyStylesProviderProps {
|
|
|
390
390
|
mah?: number | string;
|
|
391
391
|
zip?: boolean;
|
|
392
392
|
}
|
|
393
|
-
declare function MyHtmlWrapper({ html, mah, zip, ...rest }: HtmlWrapper):
|
|
393
|
+
declare function MyHtmlWrapper({ html, mah, zip, ...rest }: HtmlWrapper): react_jsx_runtime.JSX.Element;
|
|
394
394
|
|
|
395
395
|
interface IPageContent {
|
|
396
396
|
title?: string;
|
|
@@ -400,7 +400,7 @@ interface IPageContent {
|
|
|
400
400
|
leftTopBar?: ReactNode;
|
|
401
401
|
status?: "Prototype" | "Beta";
|
|
402
402
|
}
|
|
403
|
-
declare function MyPageContent({ leftTopBar, title, canBack, rightTopBar, status, children }: IPageContent):
|
|
403
|
+
declare function MyPageContent({ leftTopBar, title, canBack, rightTopBar, status, children }: IPageContent): react_jsx_runtime.JSX.Element;
|
|
404
404
|
|
|
405
405
|
interface ITab {
|
|
406
406
|
label: string;
|
|
@@ -410,9 +410,9 @@ interface IMyTab extends TabsProps {
|
|
|
410
410
|
tabList: ITab[];
|
|
411
411
|
children?: ReactNode;
|
|
412
412
|
}
|
|
413
|
-
declare function MyTab({ tabList, children, ...rest }: IMyTab):
|
|
413
|
+
declare function MyTab({ tabList, children, ...rest }: IMyTab): react_jsx_runtime.JSX.Element;
|
|
414
414
|
|
|
415
|
-
declare function MyCardioLoader():
|
|
415
|
+
declare function MyCardioLoader(): react_jsx_runtime.JSX.Element;
|
|
416
416
|
|
|
417
417
|
interface IDataTable<TData extends MRT_RowData> extends Omit<MRT_TableOptions<TData>, "data"> {
|
|
418
418
|
listLabel?: string;
|
|
@@ -425,7 +425,7 @@ interface IDataTable<TData extends MRT_RowData> extends Omit<MRT_TableOptions<TD
|
|
|
425
425
|
selectButtonlabel?: string;
|
|
426
426
|
modalSize?: MantineSize;
|
|
427
427
|
}
|
|
428
|
-
declare function MyDataTableSelect<TData extends MRT_RowData>({ modalSize, renderTopToolbarCustomActions, data, selectButtonlabel, listState, columns, listLabel, ...rest }: IDataTable<TData>):
|
|
428
|
+
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...";
|
|
429
429
|
|
|
430
430
|
interface ISelect extends SelectProps {
|
|
431
431
|
apiGet: string;
|
|
@@ -435,10 +435,10 @@ interface ISelect extends SelectProps {
|
|
|
435
435
|
label: string;
|
|
436
436
|
};
|
|
437
437
|
}
|
|
438
|
-
declare function MySelectAPIGet({ apiGet, label, dataMapper, ...rest }: ISelect):
|
|
438
|
+
declare function MySelectAPIGet({ apiGet, label, dataMapper, ...rest }: ISelect): react_jsx_runtime.JSX.Element | "Loading...";
|
|
439
439
|
|
|
440
440
|
interface IMySkeletonTable extends SkeletonProps {
|
|
441
441
|
}
|
|
442
|
-
declare function MySkeletonTable({ h }: IMySkeletonTable):
|
|
442
|
+
declare function MySkeletonTable({ h }: IMySkeletonTable): react_jsx_runtime.JSX.Element;
|
|
443
443
|
|
|
444
444
|
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 };
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import react__default from 'react';
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
2
|
import { SelectProps } from '@mantine/core';
|
|
4
3
|
|
|
5
|
-
declare function F_core12196():
|
|
4
|
+
declare function F_core12196(): react_jsx_runtime.JSX.Element | "Loading..." | "có lỗi xảy ra!";
|
|
6
5
|
|
|
7
|
-
declare function F_core12196_Create():
|
|
6
|
+
declare function F_core12196_Create(): react_jsx_runtime.JSX.Element;
|
|
8
7
|
|
|
9
8
|
declare function F_core12196_Delete({ id }: {
|
|
10
9
|
id: number;
|
|
11
|
-
}):
|
|
10
|
+
}): react_jsx_runtime.JSX.Element;
|
|
12
11
|
|
|
13
12
|
interface IDocument$5 {
|
|
14
13
|
path?: string;
|
|
@@ -44,15 +43,15 @@ interface I$9 extends IDocument$5 {
|
|
|
44
43
|
}
|
|
45
44
|
declare function F_core12196_Update({ values }: {
|
|
46
45
|
values: I$9;
|
|
47
|
-
}):
|
|
46
|
+
}): react_jsx_runtime.JSX.Element;
|
|
48
47
|
|
|
49
|
-
declare function F_core16209():
|
|
48
|
+
declare function F_core16209(): react_jsx_runtime.JSX.Element | "Loading..." | "có lỗi xảy ra!";
|
|
50
49
|
|
|
51
|
-
declare function F_core16209_Create():
|
|
50
|
+
declare function F_core16209_Create(): react_jsx_runtime.JSX.Element;
|
|
52
51
|
|
|
53
52
|
declare function F_core16209_Delete({ id }: {
|
|
54
53
|
id: number;
|
|
55
|
-
}):
|
|
54
|
+
}): react_jsx_runtime.JSX.Element;
|
|
56
55
|
|
|
57
56
|
interface IDocument$4 {
|
|
58
57
|
path?: string;
|
|
@@ -88,21 +87,21 @@ interface I$8 extends IDocument$4 {
|
|
|
88
87
|
}
|
|
89
88
|
declare function F_core16209_Update({ values }: {
|
|
90
89
|
values: I$8;
|
|
91
|
-
}):
|
|
90
|
+
}): react_jsx_runtime.JSX.Element;
|
|
92
91
|
|
|
93
|
-
declare function F_core18256():
|
|
92
|
+
declare function F_core18256(): react_jsx_runtime.JSX.Element;
|
|
94
93
|
|
|
95
94
|
declare function F_core18256_Create({ documentType }: {
|
|
96
95
|
documentType: number;
|
|
97
|
-
}):
|
|
96
|
+
}): react_jsx_runtime.JSX.Element;
|
|
98
97
|
|
|
99
98
|
declare function F_core18256_Delete({ id }: {
|
|
100
99
|
id: number;
|
|
101
|
-
}):
|
|
100
|
+
}): react_jsx_runtime.JSX.Element;
|
|
102
101
|
|
|
103
102
|
declare function F_core18256_Read({ documentType }: {
|
|
104
103
|
documentType: number;
|
|
105
|
-
}):
|
|
104
|
+
}): react_jsx_runtime.JSX.Element | "Đang tải dữ liệu..." | "Có lỗi xảy ra!";
|
|
106
105
|
|
|
107
106
|
interface ISelect extends SelectProps {
|
|
108
107
|
documentTypeId?: number;
|
|
@@ -112,7 +111,7 @@ interface ISelect extends SelectProps {
|
|
|
112
111
|
label: string;
|
|
113
112
|
};
|
|
114
113
|
}
|
|
115
|
-
declare function F_core18256_Select({ documentTypeId, label, dataMapper, ...rest }: ISelect):
|
|
114
|
+
declare function F_core18256_Select({ documentTypeId, label, dataMapper, ...rest }: ISelect): react_jsx_runtime.JSX.Element | "Loading...";
|
|
116
115
|
|
|
117
116
|
interface I$7 {
|
|
118
117
|
id?: number;
|
|
@@ -121,15 +120,15 @@ interface I$7 {
|
|
|
121
120
|
}
|
|
122
121
|
declare function F_core18256_Update({ values }: {
|
|
123
122
|
values: I$7;
|
|
124
|
-
}):
|
|
123
|
+
}): react_jsx_runtime.JSX.Element;
|
|
125
124
|
|
|
126
|
-
declare function F_core26965():
|
|
125
|
+
declare function F_core26965(): react_jsx_runtime.JSX.Element;
|
|
127
126
|
|
|
128
|
-
declare function F_core26965_Create():
|
|
127
|
+
declare function F_core26965_Create(): react_jsx_runtime.JSX.Element;
|
|
129
128
|
|
|
130
129
|
declare function F_core26965_Delete({ id }: {
|
|
131
130
|
id: number;
|
|
132
|
-
}):
|
|
131
|
+
}): react_jsx_runtime.JSX.Element;
|
|
133
132
|
|
|
134
133
|
interface IDocument$3 {
|
|
135
134
|
path?: string;
|
|
@@ -165,17 +164,17 @@ interface I$6 extends IDocument$3 {
|
|
|
165
164
|
}
|
|
166
165
|
declare function F_core26965_Update({ values }: {
|
|
167
166
|
values: I$6;
|
|
168
|
-
}):
|
|
167
|
+
}): react_jsx_runtime.JSX.Element;
|
|
169
168
|
|
|
170
|
-
declare function F_core27311():
|
|
169
|
+
declare function F_core27311(): react_jsx_runtime.JSX.Element;
|
|
171
170
|
|
|
172
|
-
declare function F_core27311_Create():
|
|
171
|
+
declare function F_core27311_Create(): react_jsx_runtime.JSX.Element;
|
|
173
172
|
|
|
174
173
|
declare function F_core27311_Delete({ id }: {
|
|
175
174
|
id: number;
|
|
176
|
-
}):
|
|
175
|
+
}): react_jsx_runtime.JSX.Element;
|
|
177
176
|
|
|
178
|
-
declare function F_core27311_Read():
|
|
177
|
+
declare function F_core27311_Read(): react_jsx_runtime.JSX.Element | "Loading..." | "có lỗi xảy ra!";
|
|
179
178
|
|
|
180
179
|
interface IDocument$2 {
|
|
181
180
|
path?: string;
|
|
@@ -211,7 +210,7 @@ interface I$5 extends IDocument$2 {
|
|
|
211
210
|
}
|
|
212
211
|
declare function F_core27311_Update({ values }: {
|
|
213
212
|
values: I$5;
|
|
214
|
-
}):
|
|
213
|
+
}): react_jsx_runtime.JSX.Element;
|
|
215
214
|
|
|
216
215
|
interface IBaseEntity {
|
|
217
216
|
id?: number;
|
|
@@ -225,21 +224,21 @@ interface IBaseEntity {
|
|
|
225
224
|
|
|
226
225
|
interface I_core38677_User extends IBaseEntity {
|
|
227
226
|
}
|
|
228
|
-
declare function F_core38677_ReadUser():
|
|
227
|
+
declare function F_core38677_ReadUser(): react_jsx_runtime.JSX.Element | "Loading..." | "Có lỗi xảy ra!";
|
|
229
228
|
|
|
230
|
-
declare function F_core38677_Save():
|
|
229
|
+
declare function F_core38677_Save(): react_jsx_runtime.JSX.Element;
|
|
231
230
|
|
|
232
|
-
declare function F_core38677_ViewMenuPermissions():
|
|
231
|
+
declare function F_core38677_ViewMenuPermissions(): react_jsx_runtime.JSX.Element | "Đang tải...";
|
|
233
232
|
|
|
234
|
-
declare function F_core40207():
|
|
233
|
+
declare function F_core40207(): react_jsx_runtime.JSX.Element;
|
|
235
234
|
|
|
236
|
-
declare function F_core40207_Create():
|
|
235
|
+
declare function F_core40207_Create(): react_jsx_runtime.JSX.Element;
|
|
237
236
|
|
|
238
237
|
declare function F_core40207_Delete({ id }: {
|
|
239
238
|
id: number;
|
|
240
|
-
}):
|
|
239
|
+
}): react_jsx_runtime.JSX.Element;
|
|
241
240
|
|
|
242
|
-
declare function F_core40207_Read():
|
|
241
|
+
declare function F_core40207_Read(): react_jsx_runtime.JSX.Element | "Loading..." | "có lỗi xảy ra!";
|
|
243
242
|
|
|
244
243
|
interface IDocument$1 {
|
|
245
244
|
path?: string;
|
|
@@ -275,13 +274,13 @@ interface I$4 extends IDocument$1 {
|
|
|
275
274
|
}
|
|
276
275
|
declare function F_core40207_Update({ values }: {
|
|
277
276
|
values: I$4;
|
|
278
|
-
}):
|
|
277
|
+
}): react_jsx_runtime.JSX.Element;
|
|
279
278
|
|
|
280
|
-
declare function F_core47643():
|
|
279
|
+
declare function F_core47643(): react_jsx_runtime.JSX.Element;
|
|
281
280
|
|
|
282
281
|
declare function F_core47643_Delete({ values }: {
|
|
283
282
|
values: IBaseEntity;
|
|
284
|
-
}):
|
|
283
|
+
}): react_jsx_runtime.JSX.Element;
|
|
285
284
|
|
|
286
285
|
interface I$3 {
|
|
287
286
|
id?: number;
|
|
@@ -290,9 +289,9 @@ interface I$3 {
|
|
|
290
289
|
}
|
|
291
290
|
declare function F_core47643_Form({ values }: {
|
|
292
291
|
values?: I$3;
|
|
293
|
-
}):
|
|
292
|
+
}): react_jsx_runtime.JSX.Element;
|
|
294
293
|
|
|
295
|
-
declare function F_core47643_Read():
|
|
294
|
+
declare function F_core47643_Read(): react_jsx_runtime.JSX.Element | "Đang tải dữ liệu..." | "Có lỗi xảy ra!";
|
|
296
295
|
|
|
297
296
|
interface IRoles extends IBaseEntity {
|
|
298
297
|
}
|
|
@@ -302,18 +301,18 @@ interface I_core71678_Read extends IBaseEntity {
|
|
|
302
301
|
email?: string;
|
|
303
302
|
roles?: IRoles[];
|
|
304
303
|
}
|
|
305
|
-
declare function F_core71678_Read():
|
|
304
|
+
declare function F_core71678_Read(): react_jsx_runtime.JSX.Element | "Loading...";
|
|
306
305
|
|
|
307
306
|
declare function F_core71678_ChangePermission({ user }: {
|
|
308
307
|
user: I_core71678_Read;
|
|
309
|
-
}):
|
|
308
|
+
}): react_jsx_runtime.JSX.Element;
|
|
310
309
|
|
|
311
|
-
declare function F_core71678_Create():
|
|
310
|
+
declare function F_core71678_Create(): react_jsx_runtime.JSX.Element;
|
|
312
311
|
|
|
313
312
|
declare function F_core71678_Delete({ id, code }: {
|
|
314
313
|
id: number;
|
|
315
314
|
code: string;
|
|
316
|
-
}):
|
|
315
|
+
}): react_jsx_runtime.JSX.Element;
|
|
317
316
|
|
|
318
317
|
interface I$2 {
|
|
319
318
|
id?: number;
|
|
@@ -325,13 +324,13 @@ interface I$2 {
|
|
|
325
324
|
}
|
|
326
325
|
declare function F_core71678_Update({ user }: {
|
|
327
326
|
user: I$2;
|
|
328
|
-
}):
|
|
327
|
+
}): react_jsx_runtime.JSX.Element;
|
|
329
328
|
|
|
330
|
-
declare function F_core76318_Create():
|
|
329
|
+
declare function F_core76318_Create(): react_jsx_runtime.JSX.Element;
|
|
331
330
|
|
|
332
331
|
declare function F_core76318_Delete({ id }: {
|
|
333
332
|
id: number;
|
|
334
|
-
}):
|
|
333
|
+
}): react_jsx_runtime.JSX.Element;
|
|
335
334
|
|
|
336
335
|
interface IDocument {
|
|
337
336
|
path?: string;
|
|
@@ -367,15 +366,15 @@ interface I$1 extends IDocument {
|
|
|
367
366
|
}
|
|
368
367
|
declare function F_core76318_Update({ values }: {
|
|
369
368
|
values: I$1;
|
|
370
|
-
}):
|
|
369
|
+
}): react_jsx_runtime.JSX.Element;
|
|
371
370
|
|
|
372
|
-
declare function F_core83092():
|
|
371
|
+
declare function F_core83092(): react_jsx_runtime.JSX.Element;
|
|
373
372
|
|
|
374
|
-
declare function F_core83092_ReadUser():
|
|
373
|
+
declare function F_core83092_ReadUser(): react_jsx_runtime.JSX.Element | "Loading..." | "Có lỗi xảy ra!";
|
|
375
374
|
|
|
376
|
-
declare function F_core83092_Save():
|
|
375
|
+
declare function F_core83092_Save(): react_jsx_runtime.JSX.Element;
|
|
377
376
|
|
|
378
|
-
declare function F_core83092_ViewMenuPermissions():
|
|
377
|
+
declare function F_core83092_ViewMenuPermissions(): react_jsx_runtime.JSX.Element | "Đang tải...";
|
|
379
378
|
|
|
380
379
|
interface I_core83092_RolePermission {
|
|
381
380
|
pageId?: number;
|
|
@@ -402,8 +401,8 @@ declare function useS_core83092(): {
|
|
|
402
401
|
};
|
|
403
402
|
declare function utils_core83092_mergePage(arr1: I_core83092_RolePermission[], arr2: I_core83092_RolePermission[]): I_core83092_RolePermission[];
|
|
404
403
|
|
|
405
|
-
declare function PieChart_DiscountUsedPercentage():
|
|
404
|
+
declare function PieChart_DiscountUsedPercentage(): react_jsx_runtime.JSX.Element;
|
|
406
405
|
|
|
407
|
-
declare function PieChart_VoucherUsedPercentage():
|
|
406
|
+
declare function PieChart_VoucherUsedPercentage(): react_jsx_runtime.JSX.Element;
|
|
408
407
|
|
|
409
408
|
export { F_core12196, F_core12196_Create, F_core12196_Delete, F_core12196_Update, F_core16209, F_core16209_Create, F_core16209_Delete, F_core16209_Update, F_core18256, F_core18256_Create, F_core18256_Delete, F_core18256_Read, F_core18256_Select, F_core18256_Update, F_core26965, F_core26965_Create, F_core26965_Delete, F_core26965_Update, F_core27311, F_core27311_Create, F_core27311_Delete, F_core27311_Read, F_core27311_Update, F_core38677_ReadUser, F_core38677_Save, F_core38677_ViewMenuPermissions, F_core40207, F_core40207_Create, F_core40207_Delete, F_core40207_Read, F_core40207_Update, F_core47643, F_core47643_Delete, F_core47643_Form, F_core47643_Read, F_core71678_ChangePermission, F_core71678_Create, F_core71678_Delete, F_core71678_Read, F_core71678_Update, F_core76318_Create, F_core76318_Delete, F_core76318_Update, F_core83092, F_core83092_ReadUser, F_core83092_Save, F_core83092_ViewMenuPermissions, type I_core38677_User, type I_core71678_Read, type I_core83092_RolePermission, PieChart_DiscountUsedPercentage, PieChart_VoucherUsedPercentage, useS_core83092, utils_core83092_mergePage };
|