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