aq-fe-framework 0.1.152 → 0.1.154
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/{IAQModule-XZYlbivW.d.mts → IAQModule-Cn6xUy-6.d.mts} +1 -1
- package/dist/components/index.mjs +62 -143
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.mjs +2 -11
- package/dist/modules-features/index.d.mts +1 -1
- package/dist/modules-features/index.mjs +79 -4053
- package/dist/stores/index.mjs +1 -7
- package/dist/utils/index.d.mts +2 -1
- package/dist/utils/index.mjs +9 -43
- package/package.json +1 -1
- package/dist/chunk-5U2JSHSJ.mjs +0 -22
- package/dist/chunk-7ZCOFATU.mjs +0 -42
- package/dist/chunk-FWCSY2DS.mjs +0 -37
- package/dist/chunk-P67AOBLX.mjs +0 -228
- package/dist/chunk-PAHZ57DT.mjs +0 -7634
- package/dist/chunk-Y3YGC5IH.mjs +0 -21
- package/dist/chunk-Z6OQG54Q.mjs +0 -39
- package/dist/components/index.css +0 -94
- package/dist/modules-features/index.css +0 -100
package/dist/chunk-Y3YGC5IH.mjs
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
__spreadProps,
|
3
|
-
__spreadValues
|
4
|
-
} from "./chunk-FWCSY2DS.mjs";
|
5
|
-
|
6
|
-
// src/stores/CreateGenericStore.ts
|
7
|
-
import { create } from "zustand";
|
8
|
-
import { persist } from "zustand/middleware";
|
9
|
-
function createGenericStore({ initialState, storageKey }) {
|
10
|
-
const storeCreator = (set) => ({
|
11
|
-
state: initialState,
|
12
|
-
setState: (newState) => set({ state: newState }),
|
13
|
-
setProperty: (key, value) => set((store) => ({ state: __spreadProps(__spreadValues({}, store.state), { [key]: value }) })),
|
14
|
-
resetState: () => set({ state: initialState })
|
15
|
-
});
|
16
|
-
return storageKey ? create(persist(storeCreator, { name: storageKey })) : create(storeCreator);
|
17
|
-
}
|
18
|
-
|
19
|
-
export {
|
20
|
-
createGenericStore
|
21
|
-
};
|
package/dist/chunk-Z6OQG54Q.mjs
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
// src/api/baseAxios.ts
|
2
|
-
import axios from "axios";
|
3
|
-
var baseAxios = axios.create({
|
4
|
-
baseURL: process.env.NEXT_PUBLIC_API
|
5
|
-
});
|
6
|
-
baseAxios.interceptors.request.use(
|
7
|
-
(config) => {
|
8
|
-
var _a, _b;
|
9
|
-
const tokenData = localStorage.getItem("useS_authenticate");
|
10
|
-
const state = JSON.parse(tokenData);
|
11
|
-
const token = (_b = (_a = state == null ? void 0 : state.state) == null ? void 0 : _a.state) == null ? void 0 : _b.token;
|
12
|
-
if (token) {
|
13
|
-
config.headers.Authorization = `Bearer ${token}`;
|
14
|
-
}
|
15
|
-
return config;
|
16
|
-
},
|
17
|
-
(error) => {
|
18
|
-
return Promise.reject(error);
|
19
|
-
}
|
20
|
-
);
|
21
|
-
var baseAxios_default = baseAxios;
|
22
|
-
|
23
|
-
// src/hooks/query/AQ/useQ_AQ_GetAQModule.ts
|
24
|
-
import { useQuery } from "@tanstack/react-query";
|
25
|
-
function useQ_AQ_GetAQModule() {
|
26
|
-
const query = useQuery({
|
27
|
-
queryKey: ["/AQ/GetAQModule"],
|
28
|
-
queryFn: async () => {
|
29
|
-
const res = await baseAxios_default.get("/AQ/GetAQModule");
|
30
|
-
return res.data.data;
|
31
|
-
}
|
32
|
-
});
|
33
|
-
return query;
|
34
|
-
}
|
35
|
-
|
36
|
-
export {
|
37
|
-
baseAxios_default,
|
38
|
-
useQ_AQ_GetAQModule
|
39
|
-
};
|
@@ -1,94 +0,0 @@
|
|
1
|
-
/* src/components/Layouts/HeaderMegaMenu/css.module.css */
|
2
|
-
.header {
|
3
|
-
position: sticky;
|
4
|
-
top: 0;
|
5
|
-
z-index: 1;
|
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 {
|
13
|
-
padding-left: var(--mantine-spacing-md);
|
14
|
-
padding-right: var(--mantine-spacing-md);
|
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);
|
19
|
-
}
|
20
|
-
.link {
|
21
|
-
display: flex;
|
22
|
-
align-items: center;
|
23
|
-
height: 100%;
|
24
|
-
padding-left: var(--mantine-spacing-md);
|
25
|
-
padding-right: var(--mantine-spacing-md);
|
26
|
-
text-decoration: none;
|
27
|
-
color: var(--mantine-color-black);
|
28
|
-
}
|
29
|
-
[data-mantine-color-scheme=dark] .link {
|
30
|
-
color: var(--mantine-color-white);
|
31
|
-
}
|
32
|
-
.link {
|
33
|
-
font-weight: 500;
|
34
|
-
font-size: var(--mantine-font-size-sm);
|
35
|
-
}
|
36
|
-
@media (max-width: $mantine-breakpoint-sm) {
|
37
|
-
.link {
|
38
|
-
height: calc(2.625rem * var(--mantine-scale));
|
39
|
-
width: 100%;
|
40
|
-
}
|
41
|
-
}
|
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 {
|
59
|
-
width: 100%;
|
60
|
-
padding: var(--mantine-spacing-xs) var(--mantine-spacing-md);
|
61
|
-
border-radius: var(--mantine-radius-md);
|
62
|
-
}
|
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 {
|
86
|
-
margin: calc(var(--mantine-spacing-md) * -1);
|
87
|
-
margin-top: var(--mantine-spacing-sm);
|
88
|
-
padding: var(--mantine-spacing-md) calc(var(--mantine-spacing-md) * 2);
|
89
|
-
padding-bottom: var(--mantine-spacing-xl);
|
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
|
-
}
|
@@ -1,100 +0,0 @@
|
|
1
|
-
/* src/components/Layouts/HeaderMegaMenu/css.module.css */
|
2
|
-
.header {
|
3
|
-
position: sticky;
|
4
|
-
top: 0;
|
5
|
-
z-index: 1;
|
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 {
|
13
|
-
padding-left: var(--mantine-spacing-md);
|
14
|
-
padding-right: var(--mantine-spacing-md);
|
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);
|
19
|
-
}
|
20
|
-
.link {
|
21
|
-
display: flex;
|
22
|
-
align-items: center;
|
23
|
-
height: 100%;
|
24
|
-
padding-left: var(--mantine-spacing-md);
|
25
|
-
padding-right: var(--mantine-spacing-md);
|
26
|
-
text-decoration: none;
|
27
|
-
color: var(--mantine-color-black);
|
28
|
-
}
|
29
|
-
[data-mantine-color-scheme=dark] .link {
|
30
|
-
color: var(--mantine-color-white);
|
31
|
-
}
|
32
|
-
.link {
|
33
|
-
font-weight: 500;
|
34
|
-
font-size: var(--mantine-font-size-sm);
|
35
|
-
}
|
36
|
-
@media (max-width: $mantine-breakpoint-sm) {
|
37
|
-
.link {
|
38
|
-
height: calc(2.625rem * var(--mantine-scale));
|
39
|
-
width: 100%;
|
40
|
-
}
|
41
|
-
}
|
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 {
|
59
|
-
width: 100%;
|
60
|
-
padding: var(--mantine-spacing-xs) var(--mantine-spacing-md);
|
61
|
-
border-radius: var(--mantine-radius-md);
|
62
|
-
}
|
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 {
|
86
|
-
margin: calc(var(--mantine-spacing-md) * -1);
|
87
|
-
margin-top: var(--mantine-spacing-sm);
|
88
|
-
padding: var(--mantine-spacing-md) calc(var(--mantine-spacing-md) * 2);
|
89
|
-
padding-bottom: var(--mantine-spacing-xl);
|
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;
|
100
|
-
}
|