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.
@@ -1,4 +1,4 @@
1
- import { I as IBaseEntity } from './IBaseEntity-Am9Cgybw.mjs';
1
+ import { I as IBaseEntity } from './IBaseEntity-BVJRftBU.mjs';
2
2
 
3
3
  interface IAQModule extends IBaseEntity {
4
4
  officelName?: string;
@@ -3,9 +3,9 @@ interface IBaseDomain {
3
3
  code?: string;
4
4
  name?: string;
5
5
  description?: string;
6
- createDate?: Date;
6
+ createDate?: string;
7
7
  createByUserName?: string;
8
- editDate?: Date;
8
+ editDate?: string;
9
9
  editByUserName?: string;
10
10
  concurrencyStamp?: string;
11
11
  isEnabled?: boolean;
@@ -5,7 +5,7 @@ interface IBaseEntity {
5
5
  name?: string;
6
6
  concurrencyStamp?: string;
7
7
  isEnabled?: boolean;
8
- modifiedWhen?: Date;
8
+ modifiedWhen?: string;
9
9
  modifiedFullName?: string;
10
10
  createdBy?: number;
11
11
  createWhen?: string;
@@ -1,4 +1,4 @@
1
- import { I as IBaseEntity } from './IBaseEntity-Am9Cgybw.mjs';
1
+ import { I as IBaseEntity } from './IBaseEntity-BVJRftBU.mjs';
2
2
 
3
3
  /**
4
4
  * interface của năm học dùng chung
@@ -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-XkhMBQeB.mjs';
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-Am9Cgybw.mjs';
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-23FZJ2CB.mjs";
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";
@@ -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-XkhMBQeB.mjs';
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-Am9Cgybw.mjs';
20
- import { M as MyReactQueryProps } from '../useMyReactQuery-io2elEak.mjs';
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';
@@ -33,14 +33,14 @@ import {
33
33
  MyStatsCard,
34
34
  MyTextInput2 as MyTextInput,
35
35
  MyWeeklySessionSchedulerPicker
36
- } from "../chunk-23FZJ2CB.mjs";
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";
@@ -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-XkhMBQeB.mjs';
5
- export { I as IPagingParams, a as MyReactMutationProps, c as createBaseApi, u as useMyReactMutation } from '../useMyReactMutation-XkhMBQeB.mjs';
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-io2elEak.mjs';
10
- import { I as IAQModule } from '../IAQModule-bW0dxQvX.mjs';
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-Am9Cgybw.mjs';
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-D7pkIZbk.mjs';
2
- import { I as IBaseEntity } from '../IBaseEntity-Am9Cgybw.mjs';
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-bW0dxQvX.mjs';
5
- export { I as IBaseDomain } from '../IBaseDomain-CUxofYh8.mjs';
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-D7pkIZbk.mjs';
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-Am9Cgybw.mjs';
6
- import { I as IAQModule } from '../IAQModule-bW0dxQvX.mjs';
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-23FZJ2CB.mjs";
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";
@@ -1,19 +1,19 @@
1
1
  import "../chunk-NMY3UEY5.mjs";
2
2
  import {
3
3
  MySelect2 as MySelect
4
- } from "../chunk-23FZJ2CB.mjs";
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-Am9Cgybw.mjs';
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-XkhMBQeB.mjs';
3
+ import { M as MyApiResponse } from './useMyReactMutation-C4T2Bi5O.mjs';
4
4
 
5
5
  interface MyReactQueryProps<IRes, IBody, TData = IRes> {
6
6
  queryKey?: QueryKey;
@@ -1,5 +1,5 @@
1
- import { I as IBaseDomain } from '../IBaseDomain-CUxofYh8.mjs';
2
- import { I as IBaseEntity } from '../IBaseEntity-Am9Cgybw.mjs';
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.ZodDate>;
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.date(),
12
+ modifiedWhen: z.string(),
13
13
  modifiedFullName: z.string(),
14
14
  createdBy: z.number(),
15
15
  createWhen: z.string()
package/package.json CHANGED
@@ -58,7 +58,7 @@
58
58
  "types": "./dist/zod-schemas/index.d.mts"
59
59
  }
60
60
  },
61
- "version": "0.1.1046",
61
+ "version": "0.1.1047",
62
62
  "private": false,
63
63
  "files": [
64
64
  "dist"
@@ -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,