aq-fe-framework 0.1.141 → 0.1.143
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.
@@ -2,15 +2,15 @@ import {
|
|
2
2
|
baseAxios_default,
|
3
3
|
useQ_AQ_GetAQModule
|
4
4
|
} from "./chunk-Z6OQG54Q.mjs";
|
5
|
-
import {
|
6
|
-
createGenericStore
|
7
|
-
} from "./chunk-Y3YGC5IH.mjs";
|
8
5
|
import {
|
9
6
|
utils_pdf_download
|
10
7
|
} from "./chunk-5U2JSHSJ.mjs";
|
11
8
|
import {
|
12
9
|
utils_notification_show
|
13
10
|
} from "./chunk-7ZCOFATU.mjs";
|
11
|
+
import {
|
12
|
+
createGenericStore
|
13
|
+
} from "./chunk-Y3YGC5IH.mjs";
|
14
14
|
import {
|
15
15
|
__objRest,
|
16
16
|
__spreadProps,
|
@@ -599,15 +599,9 @@ function MyActionIconViewPDF(_a) {
|
|
599
599
|
// src/components/ActionIcons/SwitchTheme/MySwitchTheme.tsx
|
600
600
|
import { ActionIcon as ActionIcon7, useComputedColorScheme, useMantineColorScheme } from "@mantine/core";
|
601
601
|
import { IconMoon, IconSun } from "@tabler/icons-react";
|
602
|
-
import cx from "clsx";
|
603
|
-
|
604
|
-
// src/components/ActionIcons/SwitchTheme/css.module.css
|
605
|
-
var css_default = {};
|
606
|
-
|
607
|
-
// src/components/ActionIcons/SwitchTheme/MySwitchTheme.tsx
|
608
602
|
import { jsx as jsx15, jsxs as jsxs7 } from "react/jsx-runtime";
|
609
603
|
function MySwitchTheme() {
|
610
|
-
const { setColorScheme } = useMantineColorScheme();
|
604
|
+
const { setColorScheme, colorScheme } = useMantineColorScheme();
|
611
605
|
const computedColorScheme = useComputedColorScheme("light", { getInitialValueInEffect: true });
|
612
606
|
return /* @__PURE__ */ jsxs7(
|
613
607
|
ActionIcon7,
|
@@ -618,8 +612,8 @@ function MySwitchTheme() {
|
|
618
612
|
radius: "md",
|
619
613
|
"aria-label": "Toggle color scheme",
|
620
614
|
children: [
|
621
|
-
/* @__PURE__ */ jsx15(IconSun, {
|
622
|
-
/* @__PURE__ */ jsx15(IconMoon, {
|
615
|
+
colorScheme == "dark" && /* @__PURE__ */ jsx15(IconSun, { width: "22px", height: "22px", stroke: 1.5 }),
|
616
|
+
colorScheme == "light" && /* @__PURE__ */ jsx15(IconMoon, { width: "22px", height: "22px", stroke: 1.5 })
|
623
617
|
]
|
624
618
|
}
|
625
619
|
);
|
@@ -6940,7 +6934,6 @@ import {
|
|
6940
6934
|
Image as Image3,
|
6941
6935
|
NavLink,
|
6942
6936
|
ScrollArea as ScrollArea3,
|
6943
|
-
Select as Select3,
|
6944
6937
|
Text as Text13,
|
6945
6938
|
TextInput as TextInput2,
|
6946
6939
|
Tooltip as Tooltip5
|
@@ -7132,19 +7125,7 @@ function BasicAppShell({ children, menu, extraTopRight }) {
|
|
7132
7125
|
}
|
7133
7126
|
),
|
7134
7127
|
/* @__PURE__ */ jsxs28(Group13, { children: [
|
7135
|
-
|
7136
|
-
/* @__PURE__ */ jsx51(
|
7137
|
-
Select3,
|
7138
|
-
{
|
7139
|
-
w: selectMedia ? 245 : 150,
|
7140
|
-
placeholder: "Ch\u1ECDn c\xF4ng th\u1EE9c s\u1EAFp x\u1EBFp",
|
7141
|
-
defaultValue: 1 == null ? void 0 : 1 .toString(),
|
7142
|
-
data: [
|
7143
|
-
{ value: "1", label: "N\u0103m h\u1ECDc 2024 - 2025 H\u1ECDc k\u1EF3 1" },
|
7144
|
-
{ value: "2", label: "N\u0103m h\u1ECDc 2024 - 2025 H\u1ECDc k\u1EF3 1" }
|
7145
|
-
]
|
7146
|
-
}
|
7147
|
-
),
|
7128
|
+
extraTopRight,
|
7148
7129
|
/* @__PURE__ */ jsx51(MySwitchTheme, {})
|
7149
7130
|
] })
|
7150
7131
|
] }) : (
|
@@ -7300,7 +7281,7 @@ import {
|
|
7300
7281
|
import Link4 from "next/link";
|
7301
7282
|
|
7302
7283
|
// src/components/Layouts/HeaderMegaMenu/css.module.css
|
7303
|
-
var
|
7284
|
+
var css_default = {};
|
7304
7285
|
|
7305
7286
|
// src/components/Layouts/HeaderMegaMenu/HeaderMegaMenuStore.ts
|
7306
7287
|
var useStore4 = createGenericStore({
|
@@ -7351,7 +7332,7 @@ function HeaderMegaMenu({ children, menus }) {
|
|
7351
7332
|
const [linksOpened, { toggle: toggleLinks }] = useDisclosure10(false);
|
7352
7333
|
const HeaderMegaMenuStore = useHeaderMegaMenuStore();
|
7353
7334
|
const theme = useMantineTheme();
|
7354
|
-
const links = mockdata.map((item) => /* @__PURE__ */ jsx53(UnstyledButton, { className:
|
7335
|
+
const links = mockdata.map((item) => /* @__PURE__ */ jsx53(UnstyledButton, { className: css_default.subLink, children: /* @__PURE__ */ jsxs29(Group14, { wrap: "nowrap", align: "flex-start", children: [
|
7355
7336
|
/* @__PURE__ */ jsx53(ThemeIcon, { size: 34, variant: "default", radius: "md", children: /* @__PURE__ */ jsx53(item.icon, { size: 22, color: theme.colors.blue[6] }) }),
|
7356
7337
|
/* @__PURE__ */ jsxs29("div", { children: [
|
7357
7338
|
/* @__PURE__ */ jsx53(Text14, { size: "sm", fw: 500, children: item.title }),
|
@@ -7359,7 +7340,7 @@ function HeaderMegaMenu({ children, menus }) {
|
|
7359
7340
|
] })
|
7360
7341
|
] }) }, item.title));
|
7361
7342
|
return /* @__PURE__ */ jsxs29(Box5, { children: [
|
7362
|
-
/* @__PURE__ */ jsx53("header", { className:
|
7343
|
+
/* @__PURE__ */ jsx53("header", { className: css_default.header, children: /* @__PURE__ */ jsxs29(Group14, { justify: "space-between", h: "100%", children: [
|
7363
7344
|
/* @__PURE__ */ jsxs29(Group14, { children: [
|
7364
7345
|
/* @__PURE__ */ jsx53(Image4, { src: "/imgs/0/IMG0LogoAQTech.png", h: 30, alt: "", w: "auto" }),
|
7365
7346
|
/* @__PURE__ */ jsx53(Group14, { h: "100%", gap: 5, visibleFrom: "sm", children: menus == null ? void 0 : menus.map((item, idx) => /* @__PURE__ */ jsx53(Button16, { component: Link4, href: item.href, variant: HeaderMegaMenuStore.state.name == item.label ? "light" : "subtle", onClick: () => HeaderMegaMenuStore.setState({ name: item.label }), children: item.label }, idx)) })
|
@@ -1,21 +1,3 @@
|
|
1
|
-
/* src/components/ActionIcons/SwitchTheme/css.module.css */
|
2
|
-
.icon {
|
3
|
-
width: calc(1.375rem * var(--mantine-scale));
|
4
|
-
height: calc(1.375rem * var(--mantine-scale));
|
5
|
-
}
|
6
|
-
[data-mantine-color-scheme=dark] .dark {
|
7
|
-
display: none;
|
8
|
-
}
|
9
|
-
[data-mantine-color-scheme=light] .dark {
|
10
|
-
display: block;
|
11
|
-
}
|
12
|
-
[data-mantine-color-scheme=light] .light {
|
13
|
-
display: none;
|
14
|
-
}
|
15
|
-
[data-mantine-color-scheme=dark] .light {
|
16
|
-
display: block;
|
17
|
-
}
|
18
|
-
|
19
1
|
/* src/components/Layouts/HeaderMegaMenu/css.module.css */
|
20
2
|
.header {
|
21
3
|
position: sticky;
|
@@ -66,11 +66,11 @@ import {
|
|
66
66
|
useS_BasicAppShell,
|
67
67
|
useS_ButtonImport,
|
68
68
|
utils_layout_getItemsWithoutLinks
|
69
|
-
} from "../chunk-
|
69
|
+
} from "../chunk-P7MAQ6OO.mjs";
|
70
70
|
import "../chunk-Z6OQG54Q.mjs";
|
71
|
-
import "../chunk-Y3YGC5IH.mjs";
|
72
71
|
import "../chunk-5U2JSHSJ.mjs";
|
73
72
|
import "../chunk-7ZCOFATU.mjs";
|
73
|
+
import "../chunk-Y3YGC5IH.mjs";
|
74
74
|
import "../chunk-FWCSY2DS.mjs";
|
75
75
|
export {
|
76
76
|
AQButtonCreateByImportFile,
|
@@ -1,21 +1,3 @@
|
|
1
|
-
/* src/components/ActionIcons/SwitchTheme/css.module.css */
|
2
|
-
.icon {
|
3
|
-
width: calc(1.375rem * var(--mantine-scale));
|
4
|
-
height: calc(1.375rem * var(--mantine-scale));
|
5
|
-
}
|
6
|
-
[data-mantine-color-scheme=dark] .dark {
|
7
|
-
display: none;
|
8
|
-
}
|
9
|
-
[data-mantine-color-scheme=light] .dark {
|
10
|
-
display: block;
|
11
|
-
}
|
12
|
-
[data-mantine-color-scheme=light] .light {
|
13
|
-
display: none;
|
14
|
-
}
|
15
|
-
[data-mantine-color-scheme=dark] .light {
|
16
|
-
display: block;
|
17
|
-
}
|
18
|
-
|
19
1
|
/* src/components/Layouts/HeaderMegaMenu/css.module.css */
|
20
2
|
.header {
|
21
3
|
position: sticky;
|
@@ -24,14 +24,11 @@ import {
|
|
24
24
|
groupToTwoLevels,
|
25
25
|
useS_authenticate,
|
26
26
|
utils_layout_getItemsWithoutLinks
|
27
|
-
} from "../chunk-
|
27
|
+
} from "../chunk-P7MAQ6OO.mjs";
|
28
28
|
import {
|
29
29
|
baseAxios_default,
|
30
30
|
useQ_AQ_GetAQModule
|
31
31
|
} from "../chunk-Z6OQG54Q.mjs";
|
32
|
-
import {
|
33
|
-
createGenericStore
|
34
|
-
} from "../chunk-Y3YGC5IH.mjs";
|
35
32
|
import {
|
36
33
|
U0DateToDDMMYYYString,
|
37
34
|
U0MyValidateEmail,
|
@@ -42,6 +39,9 @@ import "../chunk-5U2JSHSJ.mjs";
|
|
42
39
|
import {
|
43
40
|
utils_notification_show
|
44
41
|
} from "../chunk-7ZCOFATU.mjs";
|
42
|
+
import {
|
43
|
+
createGenericStore
|
44
|
+
} from "../chunk-Y3YGC5IH.mjs";
|
45
45
|
import {
|
46
46
|
__objRest,
|
47
47
|
__spreadProps,
|