aq-fe-framework 0.1.1095 → 0.1.1097

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.
@@ -53,7 +53,7 @@ var const_object_generalMenuData = {
53
53
  label: "Qu\u1EA3n l\xFD h\u1EC7 th\u1ED1ng",
54
54
  icon: /* @__PURE__ */ jsx(IconSettings, { size: 20 }),
55
55
  links: [
56
- { pageId: 1, name: "Account management", label: "Qu\u1EA3n l\xFD t\xE0i kho\u1EA3n", link: "accountManagement" },
56
+ { pageId: 1, name: "Account management", label: "Qu\u1EA3n l\xFD t\xE0i kho\u1EA3n ", link: "accountManagement" },
57
57
  { pageId: 100005, name: "Account group management", label: "Qu\u1EA3n l\xFD nh\xF3m t\xE0i kho\u1EA3n", link: "roleManagement" },
58
58
  { pageId: 2, name: "Access control level", label: "Ph\xE2n quy\u1EC1n c\u1EA5p \u0111\u01A1n v\u1ECB", link: "accessControlLevel" },
59
59
  { pageId: 3, name: "Access control", label: "Ph\xE2n quy\u1EC1n s\u1EED d\u1EE5ng", link: "accessControl" },
@@ -95,10 +95,10 @@ var const_object_generalMenuData = {
95
95
  };
96
96
 
97
97
  export {
98
- const_object_colors,
99
98
  const_array_daysOfWeek,
100
99
  const_aqModuleId,
101
100
  const_columnSize,
101
+ const_object_colors,
102
102
  const_object_documentTypes,
103
103
  const_object_generalMenuData
104
104
  };
@@ -4,14 +4,6 @@ import {
4
4
  useStore_Permission,
5
5
  useStore_ProjectInfo
6
6
  } from "./chunk-WW55EZ4B.mjs";
7
- import {
8
- utils_currency,
9
- utils_date,
10
- utils_excel,
11
- utils_file,
12
- utils_mantineReactTable,
13
- utils_text
14
- } from "./chunk-7ZI7IOEP.mjs";
15
7
  import {
16
8
  utils_aq_mapBaseEntityToDomain,
17
9
  utils_aq_mapDomainToEntity,
@@ -26,13 +18,21 @@ import {
26
18
  utils_notification_show,
27
19
  utils_pdf_download
28
20
  } from "./chunk-KGBXMHKR.mjs";
21
+ import {
22
+ utils_currency,
23
+ utils_date,
24
+ utils_excel,
25
+ utils_file,
26
+ utils_mantineReactTable,
27
+ utils_text
28
+ } from "./chunk-7ZI7IOEP.mjs";
29
29
  import {
30
30
  createGenericStore
31
31
  } from "./chunk-BTITP4TN.mjs";
32
32
  import {
33
33
  const_object_colors,
34
34
  const_object_documentTypes
35
- } from "./chunk-MOXWDRB3.mjs";
35
+ } from "./chunk-MWIDOU5D.mjs";
36
36
  import {
37
37
  enumLabel_gender,
38
38
  enum_daysOfWeek
@@ -8301,7 +8301,7 @@ function MyTextInput(_a) {
8301
8301
  import {
8302
8302
  ActionIcon as ActionIcon11,
8303
8303
  AppShell,
8304
- Box as Box6,
8304
+ Box as Box7,
8305
8305
  Group as Group32,
8306
8306
  Image as Image4,
8307
8307
  ScrollArea as ScrollArea4,
@@ -8320,7 +8320,7 @@ import { usePathname as usePathname3 } from "next/navigation.js";
8320
8320
  import { useEffect as useEffect39, useMemo as useMemo33, useState as useState30 } from "react";
8321
8321
 
8322
8322
  // src/components/Layouts/BasicAppShell/RenderNavLinks.tsx
8323
- import { Badge as Badge3, Flex as Flex6, NavLink, Text as Text15 } from "@mantine/core";
8323
+ import { Badge as Badge3, Box as Box5, Flex as Flex6, NavLink, Text as Text15 } from "@mantine/core";
8324
8324
  import { usePathname as usePathname2, useRouter as useRouter3 } from "next/navigation.js";
8325
8325
  import { Fragment as Fragment15, jsx as jsx60, jsxs as jsxs33 } from "react/jsx-runtime";
8326
8326
  function getRightSection(status) {
@@ -8340,7 +8340,7 @@ function getRightSection(status) {
8340
8340
  function getLeftSection(item, isActive) {
8341
8341
  if (item.links) {
8342
8342
  return /* @__PURE__ */ jsxs33(Flex6, { align: "center", direction: "row", gap: "md", children: [
8343
- item.icon,
8343
+ /* @__PURE__ */ jsx60(Box5, { variant: "outline", c: "white", children: item.icon }),
8344
8344
  /* @__PURE__ */ jsx60(Text15, { fw: "bold", children: item.label })
8345
8345
  ] });
8346
8346
  }
@@ -8373,7 +8373,7 @@ function RenderNavLinks({ items }) {
8373
8373
  opened: basicAppShellStore.state.groupMenuOpenId.includes(item.label),
8374
8374
  label: /* @__PURE__ */ jsxs33(MyFlexRow, { justify: "space-between", children: [
8375
8375
  getLeftSection(item, normalizePath(extractPathName) === normalizePath(item.link)),
8376
- getRightSection(item.status)
8376
+ /* @__PURE__ */ jsx60(Box5, { children: getRightSection(item.status) })
8377
8377
  ] }),
8378
8378
  childrenOffset: 28,
8379
8379
  onClick: (e4) => {
@@ -17362,7 +17362,7 @@ function BasicAppShell({ children, menu, extraTopRight, title, logoutRedirect, i
17362
17362
  /* @__PURE__ */ jsx211(User_SessionUserInfo, {}),
17363
17363
  /* @__PURE__ */ jsx211(Space10, { m: 4 }),
17364
17364
  /* @__PURE__ */ jsx211(Feat_Authenticate_Logout, { redirectURL: logoutRedirect }),
17365
- /* @__PURE__ */ jsx211(Box6, { px: "md", children: /* @__PURE__ */ jsx211(
17365
+ /* @__PURE__ */ jsx211(Box7, { px: "md", children: /* @__PURE__ */ jsx211(
17366
17366
  Image4,
17367
17367
  {
17368
17368
  fit: "contain",
@@ -17413,7 +17413,7 @@ function MyContainer(_a) {
17413
17413
 
17414
17414
  // src/components/Layouts/HeaderMegaMenu/HeaderMegaMenu.tsx
17415
17415
  import {
17416
- Box as Box7,
17416
+ Box as Box8,
17417
17417
  Burger,
17418
17418
  Button as Button24,
17419
17419
  Container as Container2,
@@ -17497,7 +17497,7 @@ function HeaderMegaMenu({ children, menus }) {
17497
17497
  /* @__PURE__ */ jsx213(Text23, { size: "xs", c: "dimmed", children: item.description })
17498
17498
  ] })
17499
17499
  ] }) }, item.title));
17500
- return /* @__PURE__ */ jsxs124(Box7, { children: [
17500
+ return /* @__PURE__ */ jsxs124(Box8, { children: [
17501
17501
  /* @__PURE__ */ jsx213("header", { className: classes.header, children: /* @__PURE__ */ jsxs124(Group33, { justify: "space-between", h: "100%", children: [
17502
17502
  /* @__PURE__ */ jsxs124(Group33, { children: [
17503
17503
  /* @__PURE__ */ jsx213(Image5, { src: "/imgs/0/IMG0LogoAQTech.png", h: 30, alt: "", w: "auto" }),
@@ -18028,7 +18028,7 @@ function MyLabelValueRow({
18028
18028
  }
18029
18029
 
18030
18030
  // src/core/dataDisplay/MyStatsCartd.tsx
18031
- import { Box as Box8, Card as Card4, ThemeIcon as ThemeIcon3 } from "@mantine/core";
18031
+ import { Box as Box9, Card as Card4, ThemeIcon as ThemeIcon3 } from "@mantine/core";
18032
18032
  import { jsx as jsx226, jsxs as jsxs132 } from "react/jsx-runtime";
18033
18033
  function MyStatsCard({
18034
18034
  title,
@@ -18040,7 +18040,7 @@ function MyStatsCard({
18040
18040
  }) {
18041
18041
  return /* @__PURE__ */ jsxs132(Card4, { children: [
18042
18042
  /* @__PURE__ */ jsx226("div", { className: `absolute inset-0 bg-gradient-to-br ${color} opacity-5` }),
18043
- /* @__PURE__ */ jsx226(Box8, { className: "p-6", children: /* @__PURE__ */ jsxs132("div", { className: "flex items-center justify-between", children: [
18043
+ /* @__PURE__ */ jsx226(Box9, { className: "p-6", children: /* @__PURE__ */ jsxs132("div", { className: "flex items-center justify-between", children: [
18044
18044
  /* @__PURE__ */ jsxs132("div", { children: [
18045
18045
  /* @__PURE__ */ jsx226("p", { className: "text-sm font-medium text-muted-foreground", children: title }),
18046
18046
  /* @__PURE__ */ jsx226("p", { className: "text-3xl font-bold", children: value }),
@@ -69,13 +69,13 @@ import {
69
69
  useHeaderMegaMenuStore,
70
70
  useS_ButtonImport,
71
71
  useStore_BasicAppShell
72
- } from "../chunk-JHP43FMJ.mjs";
72
+ } from "../chunk-SAB3K3NF.mjs";
73
73
  import "../chunk-WW55EZ4B.mjs";
74
- import "../chunk-7ZI7IOEP.mjs";
75
74
  import "../chunk-KGBXMHKR.mjs";
75
+ import "../chunk-7ZI7IOEP.mjs";
76
76
  import "../chunk-NYAWQRB7.mjs";
77
77
  import "../chunk-BTITP4TN.mjs";
78
- import "../chunk-MOXWDRB3.mjs";
78
+ import "../chunk-MWIDOU5D.mjs";
79
79
  import "../chunk-VFTEXXA7.mjs";
80
80
  import "../chunk-Z76CSZFI.mjs";
81
81
  import "../chunk-WZ6PXGGC.mjs";
@@ -5,7 +5,7 @@ import {
5
5
  const_object_colors,
6
6
  const_object_documentTypes,
7
7
  const_object_generalMenuData
8
- } from "../chunk-MOXWDRB3.mjs";
8
+ } from "../chunk-MWIDOU5D.mjs";
9
9
  import "../chunk-JD6AELXS.mjs";
10
10
  export {
11
11
  const_aqModuleId,
@@ -34,13 +34,13 @@ import {
34
34
  MyStatsCard,
35
35
  MyTextInput2 as MyTextInput,
36
36
  MyWeeklySessionSchedulerPicker
37
- } from "../chunk-JHP43FMJ.mjs";
37
+ } from "../chunk-SAB3K3NF.mjs";
38
38
  import "../chunk-WW55EZ4B.mjs";
39
- import "../chunk-7ZI7IOEP.mjs";
40
39
  import "../chunk-KGBXMHKR.mjs";
40
+ import "../chunk-7ZI7IOEP.mjs";
41
41
  import "../chunk-NYAWQRB7.mjs";
42
42
  import "../chunk-BTITP4TN.mjs";
43
- import "../chunk-MOXWDRB3.mjs";
43
+ import "../chunk-MWIDOU5D.mjs";
44
44
  import "../chunk-VFTEXXA7.mjs";
45
45
  import "../chunk-Z76CSZFI.mjs";
46
46
  import "../chunk-WZ6PXGGC.mjs";
@@ -97,13 +97,13 @@ import {
97
97
  MailTemplateDeleteButton,
98
98
  useS_moduleConfig,
99
99
  useStore_Authenticate
100
- } from "../chunk-JHP43FMJ.mjs";
100
+ } from "../chunk-SAB3K3NF.mjs";
101
101
  import "../chunk-WW55EZ4B.mjs";
102
- import "../chunk-7ZI7IOEP.mjs";
103
102
  import "../chunk-KGBXMHKR.mjs";
103
+ import "../chunk-7ZI7IOEP.mjs";
104
104
  import "../chunk-NYAWQRB7.mjs";
105
105
  import "../chunk-BTITP4TN.mjs";
106
- import "../chunk-MOXWDRB3.mjs";
106
+ import "../chunk-MWIDOU5D.mjs";
107
107
  import "../chunk-VFTEXXA7.mjs";
108
108
  import "../chunk-Z76CSZFI.mjs";
109
109
  import "../chunk-WZ6PXGGC.mjs";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  MySelect
3
- } from "../chunk-JHP43FMJ.mjs";
3
+ } from "../chunk-SAB3K3NF.mjs";
4
4
  import "../chunk-WW55EZ4B.mjs";
5
+ import "../chunk-KGBXMHKR.mjs";
5
6
  import {
6
7
  utils_converter
7
8
  } from "../chunk-7ZI7IOEP.mjs";
8
- import "../chunk-KGBXMHKR.mjs";
9
9
  import "../chunk-NYAWQRB7.mjs";
10
10
  import "../chunk-BTITP4TN.mjs";
11
- import "../chunk-MOXWDRB3.mjs";
11
+ import "../chunk-MWIDOU5D.mjs";
12
12
  import {
13
13
  enumLabel_gender,
14
14
  enum_gender
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.1095",
61
+ "version": "0.1.1097",
62
62
  "private": false,
63
63
  "files": [
64
64
  "dist"