aq-fe-framework 0.1.1063 → 0.1.1064

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,5 +1,5 @@
1
1
  import {
2
- createGenericStore,
2
+ createGenericStore as createGenericStore2,
3
3
  useAppStore,
4
4
  useStore_Permission,
5
5
  useStore_ProjectInfo
@@ -26,16 +26,16 @@ import {
26
26
  utils_pdf_download
27
27
  } from "./chunk-KGBXMHKR.mjs";
28
28
  import {
29
- const_object_colors,
30
- const_object_documentTypes
31
- } from "./chunk-C74M5VPE.mjs";
32
- import {
33
- createGenericStore as createGenericStore2
29
+ createGenericStore
34
30
  } from "./chunk-BTITP4TN.mjs";
35
31
  import {
36
32
  enumLabel_gender,
37
33
  enum_daysOfWeek
38
34
  } from "./chunk-J4WTZ3B4.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,
@@ -1873,7 +1873,7 @@ import { IconArrowBackUp, IconArrowBigLeft, IconArrowBigRight, IconSquareRounded
1873
1873
  // src/components/Button/ButtonImport/useS_ButtonImport.ts
1874
1874
  import { useEffect as useEffect4, useMemo as useMemo2 } from "react";
1875
1875
  import * as XLSX2 from "xlsx";
1876
- var useStore = createGenericStore2({
1876
+ var useStore = createGenericStore({
1877
1877
  initialState: {
1878
1878
  data: [],
1879
1879
  title: [],
@@ -7817,7 +7817,7 @@ function AQStatCard2({
7817
7817
  import { useEffect as useEffect8 } from "react";
7818
7818
 
7819
7819
  // src/components/Layouts/BasicAppShell/useStore_BasicAppShell.ts
7820
- var useStore2 = createGenericStore2({
7820
+ var useStore2 = createGenericStore({
7821
7821
  initialState: {
7822
7822
  menuCode: "",
7823
7823
  moduleCode: "Module code",
@@ -10270,7 +10270,7 @@ import { IconSearch as IconSearch4 } from "@tabler/icons-react";
10270
10270
  import { useEffect as useEffect19, useMemo as useMemo9, useState as useState18 } from "react";
10271
10271
 
10272
10272
  // src/modules-features/admin/core/accountManagement/useStore_AccountManagement.ts
10273
- var useStore3 = createGenericStore({
10273
+ var useStore3 = createGenericStore2({
10274
10274
  initialState: {}
10275
10275
  });
10276
10276
  function useStore_AccountManagement() {
@@ -14364,7 +14364,7 @@ import { useEffect as useEffect27 } from "react";
14364
14364
  import { useMutation as useMutation3 } from "@tanstack/react-query";
14365
14365
 
14366
14366
  // src/modules-features/admin/core/moduleConfig/useS_moduleConfig.ts
14367
- var useStore4 = createGenericStore2({
14367
+ var useStore4 = createGenericStore({
14368
14368
  initialState: {}
14369
14369
  });
14370
14370
  function useS_moduleConfig() {
@@ -16530,7 +16530,7 @@ import { useRouter as useRouter4 } from "next/navigation.js";
16530
16530
  import { useEffect as useEffect35 } from "react";
16531
16531
 
16532
16532
  // src/modules-features/authenticate/useStore_Authenticate.ts
16533
- var useStore5 = createGenericStore2({
16533
+ var useStore5 = createGenericStore({
16534
16534
  initialState: { token: "", saveLogin: false, username: "", password: "", workingUnitId: 0, roleIds: [] },
16535
16535
  storageKey: "useStore_Authenticate"
16536
16536
  });
@@ -17355,7 +17355,7 @@ import Link4 from "next/link.js";
17355
17355
  import classes from "./css.module-4ICLUKPO.module.css";
17356
17356
 
17357
17357
  // src/components/Layouts/HeaderMegaMenu/HeaderMegaMenuStore.ts
17358
- var useStore6 = createGenericStore2({
17358
+ var useStore6 = createGenericStore({
17359
17359
  initialState: { name: "\u0110\u0103ng k\xFD kh\xF3a h\u1ECDc" },
17360
17360
  storageKey: "HeaderMegaMenuStore"
17361
17361
  });
@@ -69,14 +69,14 @@ import {
69
69
  useHeaderMegaMenuStore,
70
70
  useS_ButtonImport,
71
71
  useStore_BasicAppShell
72
- } from "../chunk-67NYQU3S.mjs";
72
+ } from "../chunk-NWKDQD4H.mjs";
73
73
  import "../chunk-WW55EZ4B.mjs";
74
74
  import "../chunk-7ZI7IOEP.mjs";
75
75
  import "../chunk-KGBXMHKR.mjs";
76
- import "../chunk-C74M5VPE.mjs";
77
76
  import "../chunk-NYAWQRB7.mjs";
78
77
  import "../chunk-BTITP4TN.mjs";
79
78
  import "../chunk-J4WTZ3B4.mjs";
79
+ import "../chunk-OHAOJE5F.mjs";
80
80
  import "../chunk-Z76CSZFI.mjs";
81
81
  import "../chunk-WZ6PXGGC.mjs";
82
82
  import "../chunk-JD6AELXS.mjs";
@@ -5,7 +5,7 @@ import {
5
5
  const_object_colors,
6
6
  const_object_documentTypes,
7
7
  const_object_generalMenuData
8
- } from "../chunk-C74M5VPE.mjs";
8
+ } from "../chunk-OHAOJE5F.mjs";
9
9
  import "../chunk-JD6AELXS.mjs";
10
10
  export {
11
11
  const_aqModuleId,
@@ -34,14 +34,14 @@ import {
34
34
  MyStatsCard,
35
35
  MyTextInput2 as MyTextInput,
36
36
  MyWeeklySessionSchedulerPicker
37
- } from "../chunk-67NYQU3S.mjs";
37
+ } from "../chunk-NWKDQD4H.mjs";
38
38
  import "../chunk-WW55EZ4B.mjs";
39
39
  import "../chunk-7ZI7IOEP.mjs";
40
40
  import "../chunk-KGBXMHKR.mjs";
41
- import "../chunk-C74M5VPE.mjs";
42
41
  import "../chunk-NYAWQRB7.mjs";
43
42
  import "../chunk-BTITP4TN.mjs";
44
43
  import "../chunk-J4WTZ3B4.mjs";
44
+ import "../chunk-OHAOJE5F.mjs";
45
45
  import "../chunk-Z76CSZFI.mjs";
46
46
  import "../chunk-WZ6PXGGC.mjs";
47
47
  import "../chunk-JD6AELXS.mjs";
@@ -97,14 +97,14 @@ import {
97
97
  MailTemplateDeleteButton,
98
98
  useS_moduleConfig,
99
99
  useStore_Authenticate
100
- } from "../chunk-67NYQU3S.mjs";
100
+ } from "../chunk-NWKDQD4H.mjs";
101
101
  import "../chunk-WW55EZ4B.mjs";
102
102
  import "../chunk-7ZI7IOEP.mjs";
103
103
  import "../chunk-KGBXMHKR.mjs";
104
- import "../chunk-C74M5VPE.mjs";
105
104
  import "../chunk-NYAWQRB7.mjs";
106
105
  import "../chunk-BTITP4TN.mjs";
107
106
  import "../chunk-J4WTZ3B4.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
  MySelect
4
- } from "../chunk-67NYQU3S.mjs";
4
+ } from "../chunk-NWKDQD4H.mjs";
5
5
  import "../chunk-WW55EZ4B.mjs";
6
6
  import {
7
7
  utils_converter
8
8
  } from "../chunk-7ZI7IOEP.mjs";
9
9
  import "../chunk-KGBXMHKR.mjs";
10
- import "../chunk-C74M5VPE.mjs";
11
10
  import "../chunk-NYAWQRB7.mjs";
12
11
  import "../chunk-BTITP4TN.mjs";
13
12
  import {
14
13
  enumLabel_gender,
15
14
  enum_gender
16
15
  } from "../chunk-J4WTZ3B4.mjs";
16
+ import "../chunk-OHAOJE5F.mjs";
17
17
  import "../chunk-Z76CSZFI.mjs";
18
18
  import "../chunk-WZ6PXGGC.mjs";
19
19
  import {
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod/v4';
2
2
 
3
- declare const Schema_BaseEntity: z.ZodObject<{
3
+ declare const Schema_BaseEntity: z.ZodNullable<z.ZodObject<{
4
4
  id: z.ZodOptional<z.ZodNumber>;
5
5
  tempId: z.ZodOptional<z.ZodString>;
6
6
  code: z.ZodOptional<z.ZodString>;
@@ -11,7 +11,7 @@ declare const Schema_BaseEntity: z.ZodObject<{
11
11
  modifiedFullName: z.ZodOptional<z.ZodString>;
12
12
  createdBy: z.ZodOptional<z.ZodNumber>;
13
13
  createWhen: z.ZodOptional<z.ZodString>;
14
- }, z.core.$strip>;
14
+ }, z.core.$strip>>;
15
15
  type Type_BaseEntity = z.infer<typeof Schema_BaseEntity>;
16
16
 
17
17
  export { Schema_BaseEntity, type Type_BaseEntity };
@@ -13,7 +13,7 @@ var Schema_BaseEntity = z.object({
13
13
  modifiedFullName: z.string(),
14
14
  createdBy: z.number(),
15
15
  createWhen: z.string()
16
- }).partial();
16
+ }).partial().nullable();
17
17
  export {
18
18
  Schema_BaseEntity
19
19
  };
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.1063",
61
+ "version": "0.1.1064",
62
62
  "private": false,
63
63
  "files": [
64
64
  "dist"
@@ -90,10 +90,10 @@ var const_object_generalMenuData = {
90
90
  };
91
91
 
92
92
  export {
93
+ const_object_colors,
93
94
  const_array_daysOfWeek,
94
95
  const_aqModuleId,
95
96
  const_columnSize,
96
- const_object_colors,
97
97
  const_object_documentTypes,
98
98
  const_object_generalMenuData
99
99
  };