aq-fe-framework 0.1.57 → 0.1.59
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-LJHYZ5B5.mjs → chunk-4MLNXP25.mjs} +11 -0
- package/dist/{chunk-OGYQLG4E.mjs → chunk-FIWXP56V.mjs} +949 -548
- package/dist/components/index.d.mts +16 -1
- package/dist/components/index.mjs +4 -2
- package/dist/modules-features/index.mjs +2 -2
- package/dist/utils/index.d.mts +2 -1
- package/dist/utils/index.mjs +3 -1
- package/package.json +5 -5
|
@@ -6,6 +6,7 @@ import { UseFormReturnType, useForm } from '@mantine/form';
|
|
|
6
6
|
import { I as IUtils_Excel_ColumnConfig } from '../excel---d-HDs7.mjs';
|
|
7
7
|
import { MRT_ColumnDef, MRT_RowData, MRT_TableOptions, MRT_TableInstance } from 'mantine-react-table';
|
|
8
8
|
import { ConfigOptions } from 'export-to-csv';
|
|
9
|
+
import { CalendarEventExternal } from '@schedule-x/calendar';
|
|
9
10
|
import { DateInputProps } from '@mantine/dates';
|
|
10
11
|
import { EditorOptions } from '@tiptap/react';
|
|
11
12
|
import { IconProps, Icon } from '@tabler/icons-react';
|
|
@@ -312,6 +313,20 @@ interface I$2 extends NumberFormatterProps {
|
|
|
312
313
|
}
|
|
313
314
|
declare function MyNumberFormatter({ ...rest }: I$2): react_jsx_runtime.JSX.Element;
|
|
314
315
|
|
|
316
|
+
interface MyScheduleXProps<T extends CalendarEventExternal> {
|
|
317
|
+
values?: T[];
|
|
318
|
+
timeGridEvent?: (props: {
|
|
319
|
+
calendarEvent: T;
|
|
320
|
+
}) => React.ReactNode;
|
|
321
|
+
eventModal?: (props: {
|
|
322
|
+
calendarEvent: T;
|
|
323
|
+
}) => React.ReactNode;
|
|
324
|
+
nDays?: number;
|
|
325
|
+
startDayBoundaries?: string;
|
|
326
|
+
endDayBoundaries?: string;
|
|
327
|
+
}
|
|
328
|
+
declare function MyScheduleX<T extends CalendarEventExternal>({ values, timeGridEvent, eventModal, nDays, startDayBoundaries, endDayBoundaries }: MyScheduleXProps<T>): react_jsx_runtime.JSX.Element;
|
|
329
|
+
|
|
315
330
|
declare function AQStatCard1({ title, value, unit, description, icons, diff }: {
|
|
316
331
|
title: string;
|
|
317
332
|
value: string;
|
|
@@ -460,4 +475,4 @@ interface IMySkeletonTable extends SkeletonProps {
|
|
|
460
475
|
}
|
|
461
476
|
declare function MySkeletonTable({ h }: IMySkeletonTable): react_jsx_runtime.JSX.Element;
|
|
462
477
|
|
|
463
|
-
export { AQButtonCreateByImportFile, AQButtonExportData, AQCard, AQSelectTableByOpenModal, AQStatCard1, BasicAppShell, BasicAppShell_transformMenuToEnum, Boxes, HeaderMegaMenu, type I0LinkItem, type IAQCardProps, type IMyTextEditor, MyActionIcon, MyActionIconCheck, MyActionIconDelete, MyActionIconDownloadPDF, MyActionIconModal, MyActionIconUpdate, MyActionIconUpload, MyActionIconViewPDF, MyAnchorViewPDF, MyAppSpotlight, MyBoxesBackground, MyBoxesCore, MyButton, MyButtonCreate, MyButtonImport, MyButtonModal, MyButtonPrintPDF, MyButtonPrintTablePDF, MyButtonRouterBack, MyButtonViewPDF, MyCalendar, MyCardioLoader, MyCenterFull, MyCheckbox, MyContainer, MyDataTable, MyDataTableSelect, MyDateInput, MyFieldset, MyFileInput, MyFlexColumn, MyFlexEnd, MyFlexRow, MyHtmlWrapper, MyKeyLabel, MyNumberFormatter, MyNumberInput, MyPageContent, MySelect, MySelectAPIGet, MySkeletonTable, MySwitchTheme, MyTab, MyTextArea, MyTextEditor, MyTextInput, SelectFieldModal, SelectFileModal, type SelectFileModalProps, SpotlightTrigger, groupToTwoLevels, useHeaderMegaMenuStore, useS_ButtonImport, utils_layout_getItemsWithoutLinks };
|
|
478
|
+
export { AQButtonCreateByImportFile, AQButtonExportData, AQCard, AQSelectTableByOpenModal, AQStatCard1, BasicAppShell, BasicAppShell_transformMenuToEnum, Boxes, HeaderMegaMenu, type I0LinkItem, type IAQCardProps, type IMyTextEditor, MyActionIcon, MyActionIconCheck, MyActionIconDelete, MyActionIconDownloadPDF, MyActionIconModal, MyActionIconUpdate, MyActionIconUpload, MyActionIconViewPDF, MyAnchorViewPDF, MyAppSpotlight, MyBoxesBackground, MyBoxesCore, MyButton, MyButtonCreate, MyButtonImport, MyButtonModal, MyButtonPrintPDF, MyButtonPrintTablePDF, MyButtonRouterBack, MyButtonViewPDF, MyCalendar, MyCardioLoader, MyCenterFull, MyCheckbox, MyContainer, MyDataTable, MyDataTableSelect, MyDateInput, MyFieldset, MyFileInput, MyFlexColumn, MyFlexEnd, MyFlexRow, MyHtmlWrapper, MyKeyLabel, MyNumberFormatter, MyNumberInput, MyPageContent, MyScheduleX, MySelect, MySelectAPIGet, MySkeletonTable, MySwitchTheme, MyTab, MyTextArea, MyTextEditor, MyTextInput, SelectFieldModal, SelectFileModal, type SelectFileModalProps, SpotlightTrigger, groupToTwoLevels, useHeaderMegaMenuStore, useS_ButtonImport, utils_layout_getItemsWithoutLinks };
|
|
@@ -46,6 +46,7 @@ import {
|
|
|
46
46
|
MyNumberFormatter,
|
|
47
47
|
MyNumberInput,
|
|
48
48
|
MyPageContent,
|
|
49
|
+
MyScheduleX,
|
|
49
50
|
MySelect,
|
|
50
51
|
MySelectAPIGet,
|
|
51
52
|
MySkeletonTable,
|
|
@@ -61,9 +62,9 @@ import {
|
|
|
61
62
|
useHeaderMegaMenuStore,
|
|
62
63
|
useS_ButtonImport,
|
|
63
64
|
utils_layout_getItemsWithoutLinks
|
|
64
|
-
} from "../chunk-
|
|
65
|
+
} from "../chunk-FIWXP56V.mjs";
|
|
66
|
+
import "../chunk-4MLNXP25.mjs";
|
|
65
67
|
import "../chunk-AL73DX37.mjs";
|
|
66
|
-
import "../chunk-LJHYZ5B5.mjs";
|
|
67
68
|
import "../chunk-FWCSY2DS.mjs";
|
|
68
69
|
export {
|
|
69
70
|
AQButtonCreateByImportFile,
|
|
@@ -113,6 +114,7 @@ export {
|
|
|
113
114
|
MyNumberFormatter,
|
|
114
115
|
MyNumberInput,
|
|
115
116
|
MyPageContent,
|
|
117
|
+
MyScheduleX,
|
|
116
118
|
MySelect,
|
|
117
119
|
MySelectAPIGet,
|
|
118
120
|
MySkeletonTable,
|
|
@@ -57,9 +57,9 @@ import {
|
|
|
57
57
|
useS_authenticate,
|
|
58
58
|
useS_core83092,
|
|
59
59
|
utils_core83092_mergePage
|
|
60
|
-
} from "../chunk-
|
|
60
|
+
} from "../chunk-FIWXP56V.mjs";
|
|
61
|
+
import "../chunk-4MLNXP25.mjs";
|
|
61
62
|
import "../chunk-AL73DX37.mjs";
|
|
62
|
-
import "../chunk-LJHYZ5B5.mjs";
|
|
63
63
|
import "../chunk-FWCSY2DS.mjs";
|
|
64
64
|
export {
|
|
65
65
|
F_authenticate_Login,
|
package/dist/utils/index.d.mts
CHANGED
|
@@ -17,6 +17,7 @@ declare function utils_converter_enumToSelectOptions<T extends Record<string, st
|
|
|
17
17
|
|
|
18
18
|
declare function U0DateToDDMMYYYString(date: Date): string;
|
|
19
19
|
declare function utils_date_dateToDDMMYYYString(date: Date): string;
|
|
20
|
+
declare function utils_date_formatToDateTimeStartEnd(startDate: Date, endDate: Date): string;
|
|
20
21
|
|
|
21
22
|
declare function utils_file_fileToAQDocumentType(file: File): Promise<any>;
|
|
22
23
|
declare function utils_file_docxtemplaterDownload({ data, filePath, fileName }: {
|
|
@@ -40,4 +41,4 @@ declare const utils_time_getCurrentTimeString: () => string;
|
|
|
40
41
|
declare function U0MyValidateEmpty(message?: string): (value: unknown) => string | number | bigint | true | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<react.ReactNode> | null | undefined> | null;
|
|
41
42
|
declare function U0MyValidateEmail(value?: string): "Email không đúng định dạng" | null;
|
|
42
43
|
|
|
43
|
-
export { U0DateToDDMMYYYString, U0MyValidateEmail, U0MyValidateEmpty, utils_converter_enumToSelectOptions, utils_converter_getKeyByValue, utils_converter_getLabelByValue, utils_date_dateToDDMMYYYString, utils_file_docxtemplaterDownload, utils_file_fileToAQDocumentType, utils_notification_show, utils_pdf_download, utils_time_convertTimeStringToSeconds, utils_time_getCurrentTimeString };
|
|
44
|
+
export { U0DateToDDMMYYYString, U0MyValidateEmail, U0MyValidateEmpty, utils_converter_enumToSelectOptions, utils_converter_getKeyByValue, utils_converter_getLabelByValue, utils_date_dateToDDMMYYYString, utils_date_formatToDateTimeStartEnd, utils_file_docxtemplaterDownload, utils_file_fileToAQDocumentType, utils_notification_show, utils_pdf_download, utils_time_convertTimeStringToSeconds, utils_time_getCurrentTimeString };
|
package/dist/utils/index.mjs
CHANGED
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
utils_converter_getKeyByValue,
|
|
7
7
|
utils_converter_getLabelByValue,
|
|
8
8
|
utils_date_dateToDDMMYYYString,
|
|
9
|
+
utils_date_formatToDateTimeStartEnd,
|
|
9
10
|
utils_excel_download,
|
|
10
11
|
utils_excel_exportExcel,
|
|
11
12
|
utils_file_docxtemplaterDownload,
|
|
@@ -14,7 +15,7 @@ import {
|
|
|
14
15
|
utils_pdf_download,
|
|
15
16
|
utils_time_convertTimeStringToSeconds,
|
|
16
17
|
utils_time_getCurrentTimeString
|
|
17
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-4MLNXP25.mjs";
|
|
18
19
|
import "../chunk-FWCSY2DS.mjs";
|
|
19
20
|
export {
|
|
20
21
|
U0DateToDDMMYYYString,
|
|
@@ -24,6 +25,7 @@ export {
|
|
|
24
25
|
utils_converter_getKeyByValue,
|
|
25
26
|
utils_converter_getLabelByValue,
|
|
26
27
|
utils_date_dateToDDMMYYYString,
|
|
28
|
+
utils_date_formatToDateTimeStartEnd,
|
|
27
29
|
utils_excel_download,
|
|
28
30
|
utils_excel_exportExcel,
|
|
29
31
|
utils_file_docxtemplaterDownload,
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"types": "./dist/modules-features/index.d.mts"
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
|
-
"version": "0.1.
|
|
21
|
+
"version": "0.1.59",
|
|
22
22
|
"private": false,
|
|
23
23
|
"files": [
|
|
24
24
|
"dist"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"scripts": {
|
|
27
27
|
"dev": "next dev --turbopack -p 3003",
|
|
28
28
|
"gen": "barrelsby --config barrelsby.json",
|
|
29
|
-
"build": "tsup",
|
|
29
|
+
"build": "tsup --tsconfig tsconfig.lib.json",
|
|
30
30
|
"start": "next start",
|
|
31
31
|
"lint": "next lint",
|
|
32
32
|
"debug": "next dev -p 3003"
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"@mantine/tiptap": "^7.15.0",
|
|
51
51
|
"@mantinex/mantine-logo": "^1.1.0",
|
|
52
52
|
"@schedule-x/event-modal": "^2.12.1",
|
|
53
|
-
"@schedule-x/events-service": "^2.
|
|
54
|
-
"@schedule-x/react": "^2.
|
|
55
|
-
"@schedule-x/theme-default": "^2.
|
|
53
|
+
"@schedule-x/events-service": "^2.28.0",
|
|
54
|
+
"@schedule-x/react": "^2.28.0",
|
|
55
|
+
"@schedule-x/theme-default": "^2.28.0",
|
|
56
56
|
"@tabler/icons-react": "^3.26.0",
|
|
57
57
|
"@tanstack/react-query": "^5.62.8",
|
|
58
58
|
"@tanstack/react-query-devtools": "^5.69.0",
|