aq-fe-framework 0.1.1046 → 0.1.1047
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/{IAQModule-bW0dxQvX.d.mts → IAQModule-DbiJ8E6q.d.mts} +1 -1
- package/dist/{IBaseDomain-CUxofYh8.d.mts → IBaseDomain-BG4Sm7_Z.d.mts} +2 -2
- package/dist/{IBaseEntity-Am9Cgybw.d.mts → IBaseEntity-BVJRftBU.d.mts} +1 -1
- package/dist/{IEmailTemplate-D7pkIZbk.d.mts → IEmailTemplate-D2se2igm.d.mts} +1 -1
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.mjs +3 -3
- package/dist/core/index.d.mts +3 -3
- package/dist/core/index.mjs +3 -3
- package/dist/hooks/index.d.mts +5 -5
- package/dist/interfaces/index.d.mts +4 -4
- package/dist/modules-features/index.d.mts +3 -3
- package/dist/modules-features/index.mjs +3 -3
- package/dist/shared/index.mjs +3 -3
- package/dist/{useMyReactMutation-XkhMBQeB.d.mts → useMyReactMutation-C4T2Bi5O.d.mts} +1 -1
- package/dist/{useMyReactQuery-io2elEak.d.mts → useMyReactQuery-CqXIs4-6.d.mts} +1 -1
- package/dist/utils/index.d.mts +2 -2
- package/dist/zod-schemas/index.d.mts +1 -1
- package/dist/zod-schemas/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/{chunk-23FZJ2CB.mjs → chunk-BMVPKHDW.mjs} +10 -10
|
@@ -3,9 +3,9 @@ interface IBaseDomain {
|
|
|
3
3
|
code?: string;
|
|
4
4
|
name?: string;
|
|
5
5
|
description?: string;
|
|
6
|
-
createDate?:
|
|
6
|
+
createDate?: string;
|
|
7
7
|
createByUserName?: string;
|
|
8
|
-
editDate?:
|
|
8
|
+
editDate?: string;
|
|
9
9
|
editByUserName?: string;
|
|
10
10
|
concurrencyStamp?: string;
|
|
11
11
|
isEnabled?: boolean;
|
|
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import react__default, { ReactNode, ComponentProps } from 'react';
|
|
3
3
|
import { t as type_action } from '../type_action-hMF6_2Mr.mjs';
|
|
4
4
|
import { ActionIconProps, ButtonProps, useModalsStack, CheckboxProps, SelectProps, NumberFormatterProps, FieldsetProps, FileInputProps, NumberInputProps, TextareaProps, MantineSize, InputWrapperProps, TextInputProps, ContainerProps, FlexProps, GroupProps, TypographyStylesProviderProps, TabsProps, SkeletonProps } from '@mantine/core';
|
|
5
|
-
import { M as MyApiResponse, a as MyReactMutationProps } from '../useMyReactMutation-
|
|
5
|
+
import { M as MyApiResponse, a as MyReactMutationProps } from '../useMyReactMutation-C4T2Bi5O.mjs';
|
|
6
6
|
import { AxiosResponse } from 'axios';
|
|
7
7
|
import { type_mantineSize } from '../types/index.mjs';
|
|
8
8
|
import { useDisclosure, useListState } from '@mantine/hooks';
|
|
@@ -21,7 +21,7 @@ import { IconProps, Icon } from '@tabler/icons-react';
|
|
|
21
21
|
import { CalendarEventExternal } from '@schedule-x/calendar';
|
|
22
22
|
import '@tanstack/react-query';
|
|
23
23
|
import '../type_mutation-CCtnyeP3.mjs';
|
|
24
|
-
import '../IBaseEntity-
|
|
24
|
+
import '../IBaseEntity-BVJRftBU.mjs';
|
|
25
25
|
import '@tanstack/react-table';
|
|
26
26
|
import 'exceljs';
|
|
27
27
|
|
|
@@ -69,14 +69,14 @@ import {
|
|
|
69
69
|
useHeaderMegaMenuStore,
|
|
70
70
|
useS_ButtonImport,
|
|
71
71
|
useStore_BasicAppShell
|
|
72
|
-
} from "../chunk-
|
|
73
|
-
import "../chunk-WW55EZ4B.mjs";
|
|
72
|
+
} from "../chunk-BMVPKHDW.mjs";
|
|
74
73
|
import "../chunk-KGBXMHKR.mjs";
|
|
74
|
+
import "../chunk-WW55EZ4B.mjs";
|
|
75
75
|
import "../chunk-7ZI7IOEP.mjs";
|
|
76
76
|
import "../chunk-NYAWQRB7.mjs";
|
|
77
77
|
import "../chunk-BTITP4TN.mjs";
|
|
78
|
-
import "../chunk-OHAOJE5F.mjs";
|
|
79
78
|
import "../chunk-WJYGAYCW.mjs";
|
|
79
|
+
import "../chunk-OHAOJE5F.mjs";
|
|
80
80
|
import "../chunk-Z76CSZFI.mjs";
|
|
81
81
|
import "../chunk-WZ6PXGGC.mjs";
|
|
82
82
|
import "../chunk-JD6AELXS.mjs";
|
package/dist/core/index.d.mts
CHANGED
|
@@ -7,7 +7,7 @@ export { d as MyActionIcon, e as MyButton, f as MyButtonModal } from '../MyDataT
|
|
|
7
7
|
import { UseReactToPrintOptions } from 'react-to-print';
|
|
8
8
|
import { I as IAQFileDetail } from '../utils_file-JlhzjLGS.mjs';
|
|
9
9
|
import { useDisclosure } from '@mantine/hooks';
|
|
10
|
-
import { M as MyApiResponse, a as MyReactMutationProps } from '../useMyReactMutation-
|
|
10
|
+
import { M as MyApiResponse, a as MyReactMutationProps } from '../useMyReactMutation-C4T2Bi5O.mjs';
|
|
11
11
|
import { AxiosResponse } from 'axios';
|
|
12
12
|
import { UseQueryResult, QueryKey, UseQueryOptions } from '@tanstack/react-query';
|
|
13
13
|
import { MRT_RowData, MRT_ColumnDef } from 'mantine-react-table';
|
|
@@ -16,8 +16,8 @@ import { RichTextEditorProps, RichTextEditorToolbarProps, RichTextEditorContentP
|
|
|
16
16
|
import { UseEditorOptions } from '@tiptap/react';
|
|
17
17
|
import { M as MySelectProps } from '../MySelect-CEgpggSF.mjs';
|
|
18
18
|
export { a as MySelect } from '../MySelect-CEgpggSF.mjs';
|
|
19
|
-
import { I as IBaseEntity } from '../IBaseEntity-
|
|
20
|
-
import { M as MyReactQueryProps } from '../useMyReactQuery-
|
|
19
|
+
import { I as IBaseEntity } from '../IBaseEntity-BVJRftBU.mjs';
|
|
20
|
+
import { M as MyReactQueryProps } from '../useMyReactQuery-CqXIs4-6.mjs';
|
|
21
21
|
import '../type_action-hMF6_2Mr.mjs';
|
|
22
22
|
import '@tanstack/react-table';
|
|
23
23
|
import '../type_mutation-CCtnyeP3.mjs';
|
package/dist/core/index.mjs
CHANGED
|
@@ -33,14 +33,14 @@ import {
|
|
|
33
33
|
MyStatsCard,
|
|
34
34
|
MyTextInput2 as MyTextInput,
|
|
35
35
|
MyWeeklySessionSchedulerPicker
|
|
36
|
-
} from "../chunk-
|
|
37
|
-
import "../chunk-WW55EZ4B.mjs";
|
|
36
|
+
} from "../chunk-BMVPKHDW.mjs";
|
|
38
37
|
import "../chunk-KGBXMHKR.mjs";
|
|
38
|
+
import "../chunk-WW55EZ4B.mjs";
|
|
39
39
|
import "../chunk-7ZI7IOEP.mjs";
|
|
40
40
|
import "../chunk-NYAWQRB7.mjs";
|
|
41
41
|
import "../chunk-BTITP4TN.mjs";
|
|
42
|
-
import "../chunk-OHAOJE5F.mjs";
|
|
43
42
|
import "../chunk-WJYGAYCW.mjs";
|
|
43
|
+
import "../chunk-OHAOJE5F.mjs";
|
|
44
44
|
import "../chunk-Z76CSZFI.mjs";
|
|
45
45
|
import "../chunk-WZ6PXGGC.mjs";
|
|
46
46
|
import "../chunk-JD6AELXS.mjs";
|
package/dist/hooks/index.d.mts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { MRT_RowData, MRT_TableInstance } from 'mantine-react-table';
|
|
3
3
|
import * as next_dist_shared_lib_app_router_context_shared_runtime from 'next/dist/shared/lib/app-router-context.shared-runtime';
|
|
4
|
-
import { B as BaseApiType, M as MyApiResponse } from '../useMyReactMutation-
|
|
5
|
-
export { I as IPagingParams, a as MyReactMutationProps, c as createBaseApi, u as useMyReactMutation } from '../useMyReactMutation-
|
|
4
|
+
import { B as BaseApiType, M as MyApiResponse } from '../useMyReactMutation-C4T2Bi5O.mjs';
|
|
5
|
+
export { I as IPagingParams, a as MyReactMutationProps, c as createBaseApi, u as useMyReactMutation } from '../useMyReactMutation-C4T2Bi5O.mjs';
|
|
6
6
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
7
7
|
import { QueryKey } from '@tanstack/react-query';
|
|
8
8
|
import { AxiosInstance } from 'axios';
|
|
9
|
-
export { M as MyReactQueryProps, u as useMyReactQuery } from '../useMyReactQuery-
|
|
10
|
-
import { I as IAQModule } from '../IAQModule-
|
|
9
|
+
export { M as MyReactQueryProps, u as useMyReactQuery } from '../useMyReactQuery-CqXIs4-6.mjs';
|
|
10
|
+
import { I as IAQModule } from '../IAQModule-DbiJ8E6q.mjs';
|
|
11
11
|
import '../type_mutation-CCtnyeP3.mjs';
|
|
12
|
-
import '../IBaseEntity-
|
|
12
|
+
import '../IBaseEntity-BVJRftBU.mjs';
|
|
13
13
|
|
|
14
14
|
type UseEditableRowsOptions<T> = {
|
|
15
15
|
initValues?: T[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { A as AcademicYearUpdateDto, I as IAcademicYear, a as IEmailConfig, b as IEmailTemplate } from '../IEmailTemplate-
|
|
2
|
-
import { I as IBaseEntity } from '../IBaseEntity-
|
|
1
|
+
export { A as AcademicYearUpdateDto, I as IAcademicYear, a as IEmailConfig, b as IEmailTemplate } from '../IEmailTemplate-D2se2igm.mjs';
|
|
2
|
+
import { I as IBaseEntity } from '../IBaseEntity-BVJRftBU.mjs';
|
|
3
3
|
import { I as IAQFileDetail } from '../utils_file-JlhzjLGS.mjs';
|
|
4
|
-
export { I as IAQModule } from '../IAQModule-
|
|
5
|
-
export { I as IBaseDomain } from '../IBaseDomain-
|
|
4
|
+
export { I as IAQModule } from '../IAQModule-DbiJ8E6q.mjs';
|
|
5
|
+
export { I as IBaseDomain } from '../IBaseDomain-BG4Sm7_Z.mjs';
|
|
6
6
|
export { I as IPagePermission } from '../IPagePermission-992CbJhp.mjs';
|
|
7
7
|
|
|
8
8
|
interface IUserSkillCenters extends IBaseEntity {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { I as IAcademicYear, b as IEmailTemplate, a as IEmailConfig } from '../IEmailTemplate-
|
|
2
|
+
import { I as IAcademicYear, b as IEmailTemplate, a as IEmailConfig } from '../IEmailTemplate-D2se2igm.mjs';
|
|
3
3
|
import { I as I_BasicAppShell_LinkItem } from '../types-km2g-xx5.mjs';
|
|
4
4
|
import { SelectProps, ButtonProps } from '@mantine/core';
|
|
5
|
-
import { I as IBaseEntity } from '../IBaseEntity-
|
|
6
|
-
import { I as IAQModule } from '../IAQModule-
|
|
5
|
+
import { I as IBaseEntity } from '../IBaseEntity-BVJRftBU.mjs';
|
|
6
|
+
import { I as IAQModule } from '../IAQModule-DbiJ8E6q.mjs';
|
|
7
7
|
import { I as IPagePermission } from '../IPagePermission-992CbJhp.mjs';
|
|
8
8
|
import { ReactNode } from 'react';
|
|
9
9
|
|
|
@@ -97,14 +97,14 @@ import {
|
|
|
97
97
|
MailTemplateDeleteButton,
|
|
98
98
|
useS_moduleConfig,
|
|
99
99
|
useStore_Authenticate
|
|
100
|
-
} from "../chunk-
|
|
101
|
-
import "../chunk-WW55EZ4B.mjs";
|
|
100
|
+
} from "../chunk-BMVPKHDW.mjs";
|
|
102
101
|
import "../chunk-KGBXMHKR.mjs";
|
|
102
|
+
import "../chunk-WW55EZ4B.mjs";
|
|
103
103
|
import "../chunk-7ZI7IOEP.mjs";
|
|
104
104
|
import "../chunk-NYAWQRB7.mjs";
|
|
105
105
|
import "../chunk-BTITP4TN.mjs";
|
|
106
|
-
import "../chunk-OHAOJE5F.mjs";
|
|
107
106
|
import "../chunk-WJYGAYCW.mjs";
|
|
107
|
+
import "../chunk-OHAOJE5F.mjs";
|
|
108
108
|
import "../chunk-Z76CSZFI.mjs";
|
|
109
109
|
import "../chunk-WZ6PXGGC.mjs";
|
|
110
110
|
import "../chunk-JD6AELXS.mjs";
|
package/dist/shared/index.mjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import "../chunk-NMY3UEY5.mjs";
|
|
2
2
|
import {
|
|
3
3
|
MySelect2 as MySelect
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-WW55EZ4B.mjs";
|
|
4
|
+
} from "../chunk-BMVPKHDW.mjs";
|
|
6
5
|
import "../chunk-KGBXMHKR.mjs";
|
|
6
|
+
import "../chunk-WW55EZ4B.mjs";
|
|
7
7
|
import {
|
|
8
8
|
utils_converter
|
|
9
9
|
} from "../chunk-7ZI7IOEP.mjs";
|
|
10
10
|
import "../chunk-NYAWQRB7.mjs";
|
|
11
11
|
import "../chunk-BTITP4TN.mjs";
|
|
12
|
-
import "../chunk-OHAOJE5F.mjs";
|
|
13
12
|
import {
|
|
14
13
|
enumLabel_gender,
|
|
15
14
|
enum_gender
|
|
16
15
|
} from "../chunk-WJYGAYCW.mjs";
|
|
16
|
+
import "../chunk-OHAOJE5F.mjs";
|
|
17
17
|
import "../chunk-Z76CSZFI.mjs";
|
|
18
18
|
import "../chunk-WZ6PXGGC.mjs";
|
|
19
19
|
import {
|
|
@@ -3,7 +3,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
3
3
|
import { t as type_mutation } from './type_mutation-CCtnyeP3.mjs';
|
|
4
4
|
import * as axios from 'axios';
|
|
5
5
|
import { AxiosInstance, AxiosResponse } from 'axios';
|
|
6
|
-
import { I as IBaseEntity } from './IBaseEntity-
|
|
6
|
+
import { I as IBaseEntity } from './IBaseEntity-BVJRftBU.mjs';
|
|
7
7
|
|
|
8
8
|
interface IPagingParams {
|
|
9
9
|
pageNumber?: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { QueryKey, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
2
|
import { AxiosResponse } from 'axios';
|
|
3
|
-
import { M as MyApiResponse } from './useMyReactMutation-
|
|
3
|
+
import { M as MyApiResponse } from './useMyReactMutation-C4T2Bi5O.mjs';
|
|
4
4
|
|
|
5
5
|
interface MyReactQueryProps<IRes, IBody, TData = IRes> {
|
|
6
6
|
queryKey?: QueryKey;
|
package/dist/utils/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as IBaseDomain } from '../IBaseDomain-
|
|
2
|
-
import { I as IBaseEntity } from '../IBaseEntity-
|
|
1
|
+
import { I as IBaseDomain } from '../IBaseDomain-BG4Sm7_Z.mjs';
|
|
2
|
+
import { I as IBaseEntity } from '../IBaseEntity-BVJRftBU.mjs';
|
|
3
3
|
import ExcelJS from 'exceljs';
|
|
4
4
|
export { I as IAQFileDetail, a as utils_file_AQDocumentTypeToFile, c as utils_file_base64ToFile, b as utils_file_docxtemplaterDownload, u as utils_file_fileToAQDocumentType } from '../utils_file-JlhzjLGS.mjs';
|
|
5
5
|
import { DefaultMantineColor } from '@mantine/core';
|
|
@@ -7,7 +7,7 @@ declare const SchemaBaseEntity: z.ZodObject<{
|
|
|
7
7
|
name: z.ZodOptional<z.ZodString>;
|
|
8
8
|
concurrencyStamp: z.ZodOptional<z.ZodString>;
|
|
9
9
|
isEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
-
modifiedWhen: z.ZodOptional<z.
|
|
10
|
+
modifiedWhen: z.ZodOptional<z.ZodString>;
|
|
11
11
|
modifiedFullName: z.ZodOptional<z.ZodString>;
|
|
12
12
|
createdBy: z.ZodOptional<z.ZodNumber>;
|
|
13
13
|
createWhen: z.ZodOptional<z.ZodString>;
|
|
@@ -9,7 +9,7 @@ var SchemaBaseEntity = z.object({
|
|
|
9
9
|
name: z.string().min(1, { error: "Vui l\xF2ng nh\u1EADp t\xEAn" }),
|
|
10
10
|
concurrencyStamp: z.string(),
|
|
11
11
|
isEnabled: z.boolean(),
|
|
12
|
-
modifiedWhen: z.
|
|
12
|
+
modifiedWhen: z.string(),
|
|
13
13
|
modifiedFullName: z.string(),
|
|
14
14
|
createdBy: z.number(),
|
|
15
15
|
createWhen: z.string()
|
package/package.json
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createGenericStore as createGenericStore2,
|
|
3
|
-
useAppStore,
|
|
4
|
-
useStore_Permission,
|
|
5
|
-
useStore_ProjectInfo
|
|
6
|
-
} from "./chunk-WW55EZ4B.mjs";
|
|
7
1
|
import {
|
|
8
2
|
utils_aq_mapBaseEntityToDomain,
|
|
9
3
|
utils_aq_mapDomainToEntity,
|
|
@@ -18,6 +12,12 @@ import {
|
|
|
18
12
|
utils_notification_show,
|
|
19
13
|
utils_pdf_download
|
|
20
14
|
} from "./chunk-KGBXMHKR.mjs";
|
|
15
|
+
import {
|
|
16
|
+
createGenericStore as createGenericStore2,
|
|
17
|
+
useAppStore,
|
|
18
|
+
useStore_Permission,
|
|
19
|
+
useStore_ProjectInfo
|
|
20
|
+
} from "./chunk-WW55EZ4B.mjs";
|
|
21
21
|
import {
|
|
22
22
|
utils_date,
|
|
23
23
|
utils_excel,
|
|
@@ -28,14 +28,14 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
createGenericStore
|
|
30
30
|
} from "./chunk-BTITP4TN.mjs";
|
|
31
|
-
import {
|
|
32
|
-
const_object_colors,
|
|
33
|
-
const_object_documentTypes
|
|
34
|
-
} from "./chunk-OHAOJE5F.mjs";
|
|
35
31
|
import {
|
|
36
32
|
enumLabel_gender,
|
|
37
33
|
enum_daysOfWeek
|
|
38
34
|
} from "./chunk-WJYGAYCW.mjs";
|
|
35
|
+
import {
|
|
36
|
+
const_object_colors,
|
|
37
|
+
const_object_documentTypes
|
|
38
|
+
} from "./chunk-OHAOJE5F.mjs";
|
|
39
39
|
import {
|
|
40
40
|
baseAxios_default,
|
|
41
41
|
createBaseApi,
|