aq-fe-framework 0.1.154 → 0.1.155

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.
@@ -0,0 +1,21 @@
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
+ };
@@ -0,0 +1,39 @@
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
+ };
@@ -0,0 +1,94 @@
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,62 +1,143 @@
1
- export * from "./Aceternity/BoxesBackground/MyBoxes";
2
- export * from "./Aceternity/BoxesBackground/MyBoxesBackground";
3
- export * from "./ActionIcons/ActionIcon/MyActionIcon";
4
- export * from "./ActionIcons/ActionIconCheck/MyActionIconCheck";
5
- export * from "./ActionIcons/ActionIconCRUD/MyActionIconDelete";
6
- export * from "./ActionIcons/ActionIconCRUD/MyActionIconUpdate";
7
- export * from "./ActionIcons/ActionIconDownloadPDF/MyActionIconDownloadPDF";
8
- export * from "./ActionIcons/ActionIconModal/MyActionIconModal";
9
- export * from "./ActionIcons/ActionIconUpload/MyActionIconUpload";
10
- export * from "./ActionIcons/ActionIconViewPdf/MyActionIconViewPDF";
11
- export * from "./ActionIcons/SwitchTheme/MySwitchTheme";
12
- export * from "./AppSpotlight/MyAppSpotlight";
13
- export * from "./Buttons/Anchor/MyAnchorViewPDF";
14
- export * from "./Buttons/Button/MyButton";
15
- export * from "./Buttons/ButtonCRUD/AQButtonCreateByImportFile";
16
- export * from "./Buttons/ButtonCRUD/AQButtonExportData";
17
- export * from "./Buttons/ButtonCRUD/MyButtonCreate";
18
- export * from "./Buttons/ButtonImport/MyButtonImport";
19
- export * from "./Buttons/ButtonImport/SelectFieldModal";
20
- export * from "./Buttons/ButtonImport/SelectFileModal";
21
- export * from "./Buttons/ButtonImport/useS_ButtonImport";
22
- export * from "./Buttons/ButtonModal/AQSelectTableByOpenModal";
23
- export * from "./Buttons/ButtonModal/MyButtonModal";
24
- export * from "./Buttons/ButtonPrintPDF/MyButtonPrintPDF";
25
- export * from "./Buttons/ButtonPrintPDFTable/MyButtonPrintTablePDF";
26
- export * from "./Buttons/ButtonRouterBack/MyButtonRouterBack";
27
- export * from "./Buttons/ButtonViewPDF/MyButtonViewPDF";
28
- export * from "./Calendar/MyCalendar";
29
- export * from "./CenterFull/MyCenterFull";
30
- export * from "./Checkbox/MyCheckbox";
31
- export * from "./Combobox/Select/MySelect";
32
- export * from "./DataDisplay/Card/AQCard";
33
- export * from "./DataDisplay/CardInformation/MyCardInformation";
34
- export * from "./DataDisplay/DataTable/MyDataTable";
35
- export * from "./DataDisplay/IconText/MyIconText";
36
- export * from "./DataDisplay/KeyLabel/MyKeyLabel";
37
- export * from "./DataDisplay/NumberFormatter/MyNumberFormatter";
38
- export * from "./DataDisplay/StatCard/AQStatCard1";
39
- export * from "./FaviconSetter/FaviconSetter";
40
- export * from "./Inputs/DateInput/MyDateInput";
41
- export * from "./Inputs/Fieldset/MyFieldset";
42
- export * from "./Inputs/FileInput/MyFileInput";
43
- export * from "./Inputs/NumberInput/MyNumberInput";
44
- export * from "./Inputs/TextArea/MyTextArea";
45
- export * from "./Inputs/TextEditor/MyTextEditor";
46
- export * from "./Inputs/TextInput/MyTextInput";
47
- export * from "./Layouts/BasicAppShell/BasicAppShell";
48
- export * from "./Layouts/BasicAppShell/useS_BasicAppShell";
49
- export * from "./Layouts/Container/MyContainer";
50
- export * from "./Layouts/FlexColumn/MyFlexColumn";
51
- export * from "./Layouts/FlexEnd/MyFlexEnd";
52
- export * from "./Layouts/FlexRow/MyFlexRow";
53
- export * from "./Layouts/HeaderMegaMenu/HeaderMegaMenu";
54
- export * from "./Layouts/HeaderMegaMenu/HeaderMegaMenuStore";
55
- export * from "./Layouts/HtmlWrapper/MyHtmlWrapper";
56
- export * from "./Layouts/PageContent/MyPageContent";
57
- export * from "./Layouts/Tab/MyTab";
58
- export * from "./Loaders/MyCardioLoader";
59
- export * from "./RESTAPIComponents/DataTableSelect/MyDataTableSelect";
60
- export * from "./RESTAPIComponents/SelectAPIGet/MySelectAPIGet";
61
- export * from "./ScheduleX/MyScheduleX";
62
- export * from "./Skeletons/SkeletonTable/MySkeletonTable";
1
+ import {
2
+ AQButtonCreateByImportFile,
3
+ AQButtonExportData,
4
+ AQCard,
5
+ AQSelectTableByOpenModal,
6
+ AQStatCard1,
7
+ BasicAppShell,
8
+ BasicAppShell_transformMenuToEnum,
9
+ Boxes,
10
+ FaviconSetter,
11
+ HeaderMegaMenu,
12
+ MyActionIcon,
13
+ MyActionIconCheck,
14
+ MyActionIconDelete,
15
+ MyActionIconDownloadPDF,
16
+ MyActionIconModal,
17
+ MyActionIconUpdate,
18
+ MyActionIconUpload,
19
+ MyActionIconViewPDF,
20
+ MyAnchorViewPDF,
21
+ MyAppSpotlight,
22
+ MyBoxesBackground,
23
+ MyBoxesCore,
24
+ MyButton,
25
+ MyButtonCreate,
26
+ MyButtonImport,
27
+ MyButtonModal,
28
+ MyButtonPrintPDF,
29
+ MyButtonPrintTablePDF,
30
+ MyButtonRouterBack,
31
+ MyButtonViewPDF,
32
+ MyCalendar,
33
+ MyCardInformation,
34
+ MyCardioLoader,
35
+ MyCenterFull,
36
+ MyCheckbox,
37
+ MyContainer,
38
+ MyDataTable,
39
+ MyDataTableSelect,
40
+ MyDateInput,
41
+ MyFieldset,
42
+ MyFileInput,
43
+ MyFlexColumn,
44
+ MyFlexEnd,
45
+ MyFlexRow,
46
+ MyHtmlWrapper,
47
+ MyIconText,
48
+ MyKeyLabel,
49
+ MyNumberFormatter,
50
+ MyNumberInput,
51
+ MyPageContent,
52
+ MyScheduleX,
53
+ MySelect,
54
+ MySelectAPIGet,
55
+ MySkeletonTable,
56
+ MySwitchTheme,
57
+ MyTab,
58
+ MyTextArea,
59
+ MyTextEditor,
60
+ MyTextInput,
61
+ SelectFieldModal,
62
+ SelectFileModal,
63
+ SpotlightTrigger,
64
+ groupToTwoLevels,
65
+ useHeaderMegaMenuStore,
66
+ useS_BasicAppShell,
67
+ useS_ButtonImport,
68
+ utils_layout_getItemsWithoutLinks
69
+ } from "../chunk-PAHZ57DT.mjs";
70
+ import "../chunk-Z6OQG54Q.mjs";
71
+ import "../chunk-Y3YGC5IH.mjs";
72
+ import "../chunk-5U2JSHSJ.mjs";
73
+ import "../chunk-7ZCOFATU.mjs";
74
+ import "../chunk-FWCSY2DS.mjs";
75
+ export {
76
+ AQButtonCreateByImportFile,
77
+ AQButtonExportData,
78
+ AQCard,
79
+ AQSelectTableByOpenModal,
80
+ AQStatCard1,
81
+ BasicAppShell,
82
+ BasicAppShell_transformMenuToEnum,
83
+ Boxes,
84
+ FaviconSetter,
85
+ HeaderMegaMenu,
86
+ MyActionIcon,
87
+ MyActionIconCheck,
88
+ MyActionIconDelete,
89
+ MyActionIconDownloadPDF,
90
+ MyActionIconModal,
91
+ MyActionIconUpdate,
92
+ MyActionIconUpload,
93
+ MyActionIconViewPDF,
94
+ MyAnchorViewPDF,
95
+ MyAppSpotlight,
96
+ MyBoxesBackground,
97
+ MyBoxesCore,
98
+ MyButton,
99
+ MyButtonCreate,
100
+ MyButtonImport,
101
+ MyButtonModal,
102
+ MyButtonPrintPDF,
103
+ MyButtonPrintTablePDF,
104
+ MyButtonRouterBack,
105
+ MyButtonViewPDF,
106
+ MyCalendar,
107
+ MyCardInformation,
108
+ MyCardioLoader,
109
+ MyCenterFull,
110
+ MyCheckbox,
111
+ MyContainer,
112
+ MyDataTable,
113
+ MyDataTableSelect,
114
+ MyDateInput,
115
+ MyFieldset,
116
+ MyFileInput,
117
+ MyFlexColumn,
118
+ MyFlexEnd,
119
+ MyFlexRow,
120
+ MyHtmlWrapper,
121
+ MyIconText,
122
+ MyKeyLabel,
123
+ MyNumberFormatter,
124
+ MyNumberInput,
125
+ MyPageContent,
126
+ MyScheduleX,
127
+ MySelect,
128
+ MySelectAPIGet,
129
+ MySkeletonTable,
130
+ MySwitchTheme,
131
+ MyTab,
132
+ MyTextArea,
133
+ MyTextEditor,
134
+ MyTextInput,
135
+ SelectFieldModal,
136
+ SelectFileModal,
137
+ SpotlightTrigger,
138
+ groupToTwoLevels,
139
+ useHeaderMegaMenuStore,
140
+ useS_BasicAppShell,
141
+ useS_ButtonImport,
142
+ utils_layout_getItemsWithoutLinks
143
+ };
@@ -1,5 +1,5 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
- import { a as IAQModule } from '../IAQModule-Cn6xUy-6.mjs';
2
+ import { I as IAQModule } from '../IAQModule-XZYlbivW.mjs';
3
3
 
4
4
  declare function useQ_AQ_GetAQModule(): _tanstack_react_query.UseQueryResult<IAQModule, Error>;
5
5
 
@@ -1,2 +1,11 @@
1
- export * from "./custom-hooks/useC_MutationAction";
2
- export * from "./query/AQ/useQ_AQ_GetAQModule";
1
+ import {
2
+ useQ_AQ_GetAQModule
3
+ } from "../chunk-Z6OQG54Q.mjs";
4
+ import "../chunk-7ZCOFATU.mjs";
5
+ import "../chunk-FWCSY2DS.mjs";
6
+
7
+ // src/hooks/custom-hooks/useC_MutationAction.tsx
8
+ import { useQueryClient } from "@tanstack/react-query";
9
+ export {
10
+ useQ_AQ_GetAQModule
11
+ };
@@ -0,0 +1,100 @@
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
+ }
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { SelectProps } from '@mantine/core';
3
3
  import { I as I_BasicAppShell_LinkItem } from '../BasicAppShell-DRQbwDjA.mjs';
4
- import { I as IBaseEntity, a as IAQModule } from '../IAQModule-Cn6xUy-6.mjs';
4
+ import { a as IBaseEntity, I as IAQModule } from '../IAQModule-XZYlbivW.mjs';
5
5
  import { ReactNode } from 'react';
6
6
 
7
7
  declare function F_core12196({ FormTypeId }: {