aq-fe-framework 0.1.176 → 0.1.178
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/{chunk-ZSNOMC7O.mjs → chunk-RDXGS3O7.mjs} +227 -282
- package/dist/components/Layouts/HeaderMegaMenu/css.module.css +50 -50
- package/dist/components/index.css +68 -15
- package/dist/components/index.mjs +2 -2
- package/dist/modules-features/authenticate/{F_authenticate_Login → F_Authenticate_Login}/css.module.css +4 -4
- package/dist/modules-features/index.css +74 -15
- package/dist/modules-features/index.mjs +11 -7
- package/dist/providers/mantine.module.css +21 -21
- package/package.json +140 -141
- package/dist/components/Layouts/BasicAppShell/css.module.css +0 -68
@@ -1,50 +1,50 @@
|
|
1
|
-
.header {
|
2
|
-
position: sticky; /* Giúp header dính trên cùng */
|
3
|
-
top: 0;
|
4
|
-
z-index: 1; /* Đảm bảo header nằm trên các thành phần khác */
|
5
|
-
height: 60px;
|
6
|
-
background-color: light-dark(var(--mantine-color-white), var(--mantine-color-dark));
|
7
|
-
padding-left: var(--mantine-spacing-md);
|
8
|
-
padding-right: var(--mantine-spacing-md);
|
9
|
-
border-bottom: 1px solid light-dark(var(--mantine-color-gray-3), var(--mantine-color-dark-4));
|
10
|
-
}
|
11
|
-
|
12
|
-
.link {
|
13
|
-
display: flex;
|
14
|
-
align-items: center;
|
15
|
-
height: 100%;
|
16
|
-
padding-left: var(--mantine-spacing-md);
|
17
|
-
padding-right: var(--mantine-spacing-md);
|
18
|
-
text-decoration: none;
|
19
|
-
color: light-dark(var(--mantine-color-black), var(--mantine-color-white));
|
20
|
-
font-weight: 500;
|
21
|
-
font-size: var(--mantine-font-size-sm);
|
22
|
-
|
23
|
-
@media (max-width: $mantine-breakpoint-sm) {
|
24
|
-
height: 42px;
|
25
|
-
width: 100%;
|
26
|
-
}
|
27
|
-
|
28
|
-
@mixin hover {
|
29
|
-
background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-6));
|
30
|
-
}
|
31
|
-
}
|
32
|
-
|
33
|
-
.subLink {
|
34
|
-
width: 100%;
|
35
|
-
padding: var(--mantine-spacing-xs) var(--mantine-spacing-md);
|
36
|
-
border-radius: var(--mantine-radius-md);
|
37
|
-
|
38
|
-
@mixin hover {
|
39
|
-
background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-7));
|
40
|
-
}
|
41
|
-
}
|
42
|
-
|
43
|
-
.dropdownFooter {
|
44
|
-
background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-7));
|
45
|
-
margin: calc(var(--mantine-spacing-md) * -1);
|
46
|
-
margin-top: var(--mantine-spacing-sm);
|
47
|
-
padding: var(--mantine-spacing-md) calc(var(--mantine-spacing-md) * 2);
|
48
|
-
padding-bottom: var(--mantine-spacing-xl);
|
49
|
-
border-top: 1px solid light-dark(var(--mantine-color-gray-1), var(--mantine-color-dark-5));
|
50
|
-
}
|
1
|
+
.header {
|
2
|
+
position: sticky; /* Giúp header dính trên cùng */
|
3
|
+
top: 0;
|
4
|
+
z-index: 1; /* Đảm bảo header nằm trên các thành phần khác */
|
5
|
+
height: 60px;
|
6
|
+
background-color: light-dark(var(--mantine-color-white), var(--mantine-color-dark));
|
7
|
+
padding-left: var(--mantine-spacing-md);
|
8
|
+
padding-right: var(--mantine-spacing-md);
|
9
|
+
border-bottom: 1px solid light-dark(var(--mantine-color-gray-3), var(--mantine-color-dark-4));
|
10
|
+
}
|
11
|
+
|
12
|
+
.link {
|
13
|
+
display: flex;
|
14
|
+
align-items: center;
|
15
|
+
height: 100%;
|
16
|
+
padding-left: var(--mantine-spacing-md);
|
17
|
+
padding-right: var(--mantine-spacing-md);
|
18
|
+
text-decoration: none;
|
19
|
+
color: light-dark(var(--mantine-color-black), var(--mantine-color-white));
|
20
|
+
font-weight: 500;
|
21
|
+
font-size: var(--mantine-font-size-sm);
|
22
|
+
|
23
|
+
@media (max-width: $mantine-breakpoint-sm) {
|
24
|
+
height: 42px;
|
25
|
+
width: 100%;
|
26
|
+
}
|
27
|
+
|
28
|
+
@mixin hover {
|
29
|
+
background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-6));
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
.subLink {
|
34
|
+
width: 100%;
|
35
|
+
padding: var(--mantine-spacing-xs) var(--mantine-spacing-md);
|
36
|
+
border-radius: var(--mantine-radius-md);
|
37
|
+
|
38
|
+
@mixin hover {
|
39
|
+
background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-7));
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
.dropdownFooter {
|
44
|
+
background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-7));
|
45
|
+
margin: calc(var(--mantine-spacing-md) * -1);
|
46
|
+
margin-top: var(--mantine-spacing-sm);
|
47
|
+
padding: var(--mantine-spacing-md) calc(var(--mantine-spacing-md) * 2);
|
48
|
+
padding-bottom: var(--mantine-spacing-xl);
|
49
|
+
border-top: 1px solid light-dark(var(--mantine-color-gray-1), var(--mantine-color-dark-5));
|
50
|
+
}
|
@@ -1,41 +1,94 @@
|
|
1
|
-
/* css
|
2
|
-
.
|
1
|
+
/* src/components/Layouts/HeaderMegaMenu/css.module.css */
|
2
|
+
.header {
|
3
3
|
position: sticky;
|
4
4
|
top: 0;
|
5
5
|
z-index: 1;
|
6
|
-
height:
|
7
|
-
background-color:
|
6
|
+
height: calc(3.75rem * var(--mantine-scale));
|
7
|
+
background-color: var(--mantine-color-white);
|
8
|
+
}
|
9
|
+
[data-mantine-color-scheme=dark] .header {
|
10
|
+
background-color: var(--mantine-color-dark);
|
11
|
+
}
|
12
|
+
.header {
|
8
13
|
padding-left: var(--mantine-spacing-md);
|
9
14
|
padding-right: var(--mantine-spacing-md);
|
10
|
-
border-bottom: 1px solid
|
15
|
+
border-bottom: 1px solid var(--mantine-color-gray-3);
|
16
|
+
}
|
17
|
+
[data-mantine-color-scheme=dark] .header {
|
18
|
+
border-bottom: 1px solid var(--mantine-color-dark-4);
|
11
19
|
}
|
12
|
-
.
|
20
|
+
.link {
|
13
21
|
display: flex;
|
14
22
|
align-items: center;
|
15
23
|
height: 100%;
|
16
24
|
padding-left: var(--mantine-spacing-md);
|
17
25
|
padding-right: var(--mantine-spacing-md);
|
18
26
|
text-decoration: none;
|
19
|
-
color:
|
27
|
+
color: var(--mantine-color-black);
|
28
|
+
}
|
29
|
+
[data-mantine-color-scheme=dark] .link {
|
30
|
+
color: var(--mantine-color-white);
|
31
|
+
}
|
32
|
+
.link {
|
20
33
|
font-weight: 500;
|
21
34
|
font-size: var(--mantine-font-size-sm);
|
22
|
-
|
23
|
-
|
35
|
+
}
|
36
|
+
@media (max-width: $mantine-breakpoint-sm) {
|
37
|
+
.link {
|
38
|
+
height: calc(2.625rem * var(--mantine-scale));
|
24
39
|
width: 100%;
|
25
40
|
}
|
26
|
-
@mixin hover { background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-6)); }
|
27
41
|
}
|
28
|
-
|
42
|
+
@media (hover: hover) {
|
43
|
+
.link:hover {
|
44
|
+
background-color: var(--mantine-color-gray-0);
|
45
|
+
}
|
46
|
+
[data-mantine-color-scheme=dark] .link:hover {
|
47
|
+
background-color: var(--mantine-color-dark-6);
|
48
|
+
}
|
49
|
+
}
|
50
|
+
@media (hover: none) {
|
51
|
+
.link:active {
|
52
|
+
background-color: var(--mantine-color-gray-0);
|
53
|
+
}
|
54
|
+
[data-mantine-color-scheme=dark] .link:active {
|
55
|
+
background-color: var(--mantine-color-dark-6);
|
56
|
+
}
|
57
|
+
}
|
58
|
+
.subLink {
|
29
59
|
width: 100%;
|
30
60
|
padding: var(--mantine-spacing-xs) var(--mantine-spacing-md);
|
31
61
|
border-radius: var(--mantine-radius-md);
|
32
|
-
@mixin hover { background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-7)); }
|
33
62
|
}
|
34
|
-
|
35
|
-
|
63
|
+
@media (hover: hover) {
|
64
|
+
.subLink:hover {
|
65
|
+
background-color: var(--mantine-color-gray-0);
|
66
|
+
}
|
67
|
+
[data-mantine-color-scheme=dark] .subLink:hover {
|
68
|
+
background-color: var(--mantine-color-dark-7);
|
69
|
+
}
|
70
|
+
}
|
71
|
+
@media (hover: none) {
|
72
|
+
.subLink:active {
|
73
|
+
background-color: var(--mantine-color-gray-0);
|
74
|
+
}
|
75
|
+
[data-mantine-color-scheme=dark] .subLink:active {
|
76
|
+
background-color: var(--mantine-color-dark-7);
|
77
|
+
}
|
78
|
+
}
|
79
|
+
.dropdownFooter {
|
80
|
+
background-color: var(--mantine-color-gray-0);
|
81
|
+
}
|
82
|
+
[data-mantine-color-scheme=dark] .dropdownFooter {
|
83
|
+
background-color: var(--mantine-color-dark-7);
|
84
|
+
}
|
85
|
+
.dropdownFooter {
|
36
86
|
margin: calc(var(--mantine-spacing-md) * -1);
|
37
87
|
margin-top: var(--mantine-spacing-sm);
|
38
88
|
padding: var(--mantine-spacing-md) calc(var(--mantine-spacing-md) * 2);
|
39
89
|
padding-bottom: var(--mantine-spacing-xl);
|
40
|
-
border-top: 1px solid
|
90
|
+
border-top: 1px solid var(--mantine-color-gray-1);
|
91
|
+
}
|
92
|
+
[data-mantine-color-scheme=dark] .dropdownFooter {
|
93
|
+
border-top: 1px solid var(--mantine-color-dark-5);
|
41
94
|
}
|
@@ -66,11 +66,11 @@ import {
|
|
66
66
|
useS_BasicAppShell,
|
67
67
|
useS_ButtonImport,
|
68
68
|
utils_layout_getItemsWithoutLinks
|
69
|
-
} from "../chunk-
|
69
|
+
} from "../chunk-RDXGS3O7.mjs";
|
70
70
|
import "../chunk-Z6OQG54Q.mjs";
|
71
|
+
import "../chunk-Y3YGC5IH.mjs";
|
71
72
|
import "../chunk-5U2JSHSJ.mjs";
|
72
73
|
import "../chunk-7ZCOFATU.mjs";
|
73
|
-
import "../chunk-Y3YGC5IH.mjs";
|
74
74
|
import "../chunk-FWCSY2DS.mjs";
|
75
75
|
export {
|
76
76
|
AQButtonCreateByImportFile,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
.title {
|
2
|
-
font-family: Greycliff CF, var(--mantine-font-family);
|
3
|
-
font-weight: 900;
|
4
|
-
}
|
1
|
+
.title {
|
2
|
+
font-family: Greycliff CF, var(--mantine-font-family);
|
3
|
+
font-weight: 900;
|
4
|
+
}
|
@@ -1,41 +1,100 @@
|
|
1
|
-
/* css
|
2
|
-
.
|
1
|
+
/* src/components/Layouts/HeaderMegaMenu/css.module.css */
|
2
|
+
.header {
|
3
3
|
position: sticky;
|
4
4
|
top: 0;
|
5
5
|
z-index: 1;
|
6
|
-
height:
|
7
|
-
background-color:
|
6
|
+
height: calc(3.75rem * var(--mantine-scale));
|
7
|
+
background-color: var(--mantine-color-white);
|
8
|
+
}
|
9
|
+
[data-mantine-color-scheme=dark] .header {
|
10
|
+
background-color: var(--mantine-color-dark);
|
11
|
+
}
|
12
|
+
.header {
|
8
13
|
padding-left: var(--mantine-spacing-md);
|
9
14
|
padding-right: var(--mantine-spacing-md);
|
10
|
-
border-bottom: 1px solid
|
15
|
+
border-bottom: 1px solid var(--mantine-color-gray-3);
|
16
|
+
}
|
17
|
+
[data-mantine-color-scheme=dark] .header {
|
18
|
+
border-bottom: 1px solid var(--mantine-color-dark-4);
|
11
19
|
}
|
12
|
-
.
|
20
|
+
.link {
|
13
21
|
display: flex;
|
14
22
|
align-items: center;
|
15
23
|
height: 100%;
|
16
24
|
padding-left: var(--mantine-spacing-md);
|
17
25
|
padding-right: var(--mantine-spacing-md);
|
18
26
|
text-decoration: none;
|
19
|
-
color:
|
27
|
+
color: var(--mantine-color-black);
|
28
|
+
}
|
29
|
+
[data-mantine-color-scheme=dark] .link {
|
30
|
+
color: var(--mantine-color-white);
|
31
|
+
}
|
32
|
+
.link {
|
20
33
|
font-weight: 500;
|
21
34
|
font-size: var(--mantine-font-size-sm);
|
22
|
-
|
23
|
-
|
35
|
+
}
|
36
|
+
@media (max-width: $mantine-breakpoint-sm) {
|
37
|
+
.link {
|
38
|
+
height: calc(2.625rem * var(--mantine-scale));
|
24
39
|
width: 100%;
|
25
40
|
}
|
26
|
-
@mixin hover { background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-6)); }
|
27
41
|
}
|
28
|
-
|
42
|
+
@media (hover: hover) {
|
43
|
+
.link:hover {
|
44
|
+
background-color: var(--mantine-color-gray-0);
|
45
|
+
}
|
46
|
+
[data-mantine-color-scheme=dark] .link:hover {
|
47
|
+
background-color: var(--mantine-color-dark-6);
|
48
|
+
}
|
49
|
+
}
|
50
|
+
@media (hover: none) {
|
51
|
+
.link:active {
|
52
|
+
background-color: var(--mantine-color-gray-0);
|
53
|
+
}
|
54
|
+
[data-mantine-color-scheme=dark] .link:active {
|
55
|
+
background-color: var(--mantine-color-dark-6);
|
56
|
+
}
|
57
|
+
}
|
58
|
+
.subLink {
|
29
59
|
width: 100%;
|
30
60
|
padding: var(--mantine-spacing-xs) var(--mantine-spacing-md);
|
31
61
|
border-radius: var(--mantine-radius-md);
|
32
|
-
@mixin hover { background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-7)); }
|
33
62
|
}
|
34
|
-
|
35
|
-
|
63
|
+
@media (hover: hover) {
|
64
|
+
.subLink:hover {
|
65
|
+
background-color: var(--mantine-color-gray-0);
|
66
|
+
}
|
67
|
+
[data-mantine-color-scheme=dark] .subLink:hover {
|
68
|
+
background-color: var(--mantine-color-dark-7);
|
69
|
+
}
|
70
|
+
}
|
71
|
+
@media (hover: none) {
|
72
|
+
.subLink:active {
|
73
|
+
background-color: var(--mantine-color-gray-0);
|
74
|
+
}
|
75
|
+
[data-mantine-color-scheme=dark] .subLink:active {
|
76
|
+
background-color: var(--mantine-color-dark-7);
|
77
|
+
}
|
78
|
+
}
|
79
|
+
.dropdownFooter {
|
80
|
+
background-color: var(--mantine-color-gray-0);
|
81
|
+
}
|
82
|
+
[data-mantine-color-scheme=dark] .dropdownFooter {
|
83
|
+
background-color: var(--mantine-color-dark-7);
|
84
|
+
}
|
85
|
+
.dropdownFooter {
|
36
86
|
margin: calc(var(--mantine-spacing-md) * -1);
|
37
87
|
margin-top: var(--mantine-spacing-sm);
|
38
88
|
padding: var(--mantine-spacing-md) calc(var(--mantine-spacing-md) * 2);
|
39
89
|
padding-bottom: var(--mantine-spacing-xl);
|
40
|
-
border-top: 1px solid
|
90
|
+
border-top: 1px solid var(--mantine-color-gray-1);
|
91
|
+
}
|
92
|
+
[data-mantine-color-scheme=dark] .dropdownFooter {
|
93
|
+
border-top: 1px solid var(--mantine-color-dark-5);
|
94
|
+
}
|
95
|
+
|
96
|
+
/* src/modules-features/authenticate/F_Authenticate_Login/css.module.css */
|
97
|
+
.title {
|
98
|
+
font-family: Greycliff CF, var(--mantine-font-family);
|
99
|
+
font-weight: 900;
|
41
100
|
}
|
@@ -21,15 +21,17 @@ import {
|
|
21
21
|
MyTab,
|
22
22
|
MyTextInput,
|
23
23
|
OBJECT_COlORS,
|
24
|
-
css_module_default,
|
25
24
|
groupToTwoLevels,
|
26
25
|
useS_authenticate,
|
27
26
|
utils_layout_getItemsWithoutLinks
|
28
|
-
} from "../chunk-
|
27
|
+
} from "../chunk-RDXGS3O7.mjs";
|
29
28
|
import {
|
30
29
|
baseAxios_default,
|
31
30
|
useQ_AQ_GetAQModule
|
32
31
|
} from "../chunk-Z6OQG54Q.mjs";
|
32
|
+
import {
|
33
|
+
createGenericStore
|
34
|
+
} from "../chunk-Y3YGC5IH.mjs";
|
33
35
|
import {
|
34
36
|
U0DateToDDMMYYYString,
|
35
37
|
U0MyValidateEmail,
|
@@ -40,9 +42,6 @@ import "../chunk-5U2JSHSJ.mjs";
|
|
40
42
|
import {
|
41
43
|
utils_notification_show
|
42
44
|
} from "../chunk-7ZCOFATU.mjs";
|
43
|
-
import {
|
44
|
-
createGenericStore
|
45
|
-
} from "../chunk-Y3YGC5IH.mjs";
|
46
45
|
import {
|
47
46
|
__objRest,
|
48
47
|
__spreadProps,
|
@@ -3846,7 +3845,7 @@ function F_authenticate_SplashPage() {
|
|
3846
3845
|
return /* @__PURE__ */ jsx74(MyBoxesBackground, { title: "H\u1EC7 th\u1ED1ng th\xF4ng tin qu\u1EA3n l\xED \u0111\xE0o t\u1EA1o ng\u1EAFn h\u1EA1n" });
|
3847
3846
|
}
|
3848
3847
|
|
3849
|
-
// src/modules-features/authenticate/
|
3848
|
+
// src/modules-features/authenticate/F_Authenticate_Login/F_authenticate_Login.tsx
|
3850
3849
|
import {
|
3851
3850
|
Anchor,
|
3852
3851
|
BackgroundImage,
|
@@ -3867,6 +3866,11 @@ import axios from "axios";
|
|
3867
3866
|
import Link from "next/link";
|
3868
3867
|
import { useRouter as useRouter3 } from "next/navigation";
|
3869
3868
|
import { useState as useState9 } from "react";
|
3869
|
+
|
3870
|
+
// src/modules-features/authenticate/F_Authenticate_Login/css.module.css
|
3871
|
+
var css_default = {};
|
3872
|
+
|
3873
|
+
// src/modules-features/authenticate/F_Authenticate_Login/F_authenticate_Login.tsx
|
3870
3874
|
import { jsx as jsx75, jsxs as jsxs52 } from "react/jsx-runtime";
|
3871
3875
|
function F_authenticate_Login({
|
3872
3876
|
loginInfo,
|
@@ -3927,7 +3931,7 @@ function F_authenticate_Login({
|
|
3927
3931
|
h: "100vh",
|
3928
3932
|
children: /* @__PURE__ */ jsx75(Center3, { h: "100vh", children: /* @__PURE__ */ jsxs52(Paper18, { withBorder: true, w: 400, m: "md", shadow: "md", p: 30, mt: 30, radius: "md", children: [
|
3929
3933
|
/* @__PURE__ */ jsxs52(Flex3, { direction: "column", mb: "md", children: [
|
3930
|
-
/* @__PURE__ */ jsx75(Title, { ta: "center", className:
|
3934
|
+
/* @__PURE__ */ jsx75(Title, { ta: "center", className: css_default.title, children: "\u0110\u0103ng nh\u1EADp!" }),
|
3931
3935
|
/* @__PURE__ */ jsxs52(Text15, { c: "dimmed", size: "sm", ta: "center", mt: 5, children: [
|
3932
3936
|
"B\u1EA1n g\u1EB7p v\u1EA5n \u0111\u1EC1 k\u1EF9 thu\u1EADt?\xA0",
|
3933
3937
|
/* @__PURE__ */ jsx75(Anchor, { size: "sm", component: "button", children: "V\xE0o link n\xE0y" })
|
@@ -1,21 +1,21 @@
|
|
1
|
-
.input {
|
2
|
-
&[data-variant="underline"] {
|
3
|
-
border: 2px solid transparent;
|
4
|
-
border-radius: 5px;
|
5
|
-
padding-left: 8px;
|
6
|
-
padding-right: 8px;
|
7
|
-
background-color: white;
|
8
|
-
|
9
|
-
&:focus,
|
10
|
-
&:focus-visible {
|
11
|
-
border-color: var(--mantine-color-gray-5);
|
12
|
-
outline: none;
|
13
|
-
}
|
14
|
-
|
15
|
-
&:active {
|
16
|
-
border-color: var(--mantine-color-gray-5);
|
17
|
-
}
|
18
|
-
|
19
|
-
transition: border-color 0.2s ease-in-out;
|
20
|
-
}
|
21
|
-
}
|
1
|
+
.input {
|
2
|
+
&[data-variant="underline"] {
|
3
|
+
border: 2px solid transparent;
|
4
|
+
border-radius: 5px;
|
5
|
+
padding-left: 8px;
|
6
|
+
padding-right: 8px;
|
7
|
+
background-color: white;
|
8
|
+
|
9
|
+
&:focus,
|
10
|
+
&:focus-visible {
|
11
|
+
border-color: var(--mantine-color-gray-5);
|
12
|
+
outline: none;
|
13
|
+
}
|
14
|
+
|
15
|
+
&:active {
|
16
|
+
border-color: var(--mantine-color-gray-5);
|
17
|
+
}
|
18
|
+
|
19
|
+
transition: border-color 0.2s ease-in-out;
|
20
|
+
}
|
21
|
+
}
|