aq-fe-framework 0.1.461 → 0.1.462

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.
@@ -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
+ }
@@ -65,7 +65,7 @@ import {
65
65
  useS_BasicAppShell,
66
66
  useS_ButtonImport,
67
67
  utils_layout_getItemsWithoutLinks
68
- } from "../chunk-5A5AGS35.mjs";
68
+ } from "../chunk-YWCGCE6V.mjs";
69
69
  import "../chunk-U62R2QKJ.mjs";
70
70
  import "../chunk-5U2JSHSJ.mjs";
71
71
  import "../chunk-OMJJAHOC.mjs";
@@ -16,8 +16,8 @@ import {
16
16
  MyStatsCard,
17
17
  MyTextInput,
18
18
  MyWeeklySessionSchedulerPicker
19
- } from "../chunk-GTZU2RDA.mjs";
20
- import "../chunk-5A5AGS35.mjs";
19
+ } from "../chunk-VYFOT3X4.mjs";
20
+ import "../chunk-YWCGCE6V.mjs";
21
21
  import "../chunk-U62R2QKJ.mjs";
22
22
  import "../chunk-5U2JSHSJ.mjs";
23
23
  import "../chunk-GFEMKKFH.mjs";
@@ -55,7 +55,7 @@ interface MyReactQueryProps<IRes, IBody> {
55
55
  options?: Partial<UseQueryOptions<IRes, Error>>;
56
56
  mockData?: IRes;
57
57
  }
58
- declare function useMyReactQuery<IRes, IBody>({ queryKey, axiosFn, options, mockData }: MyReactQueryProps<IRes, IBody>): _tanstack_react_query.UseQueryResult<IRes, Error>;
58
+ declare function useMyReactQuery<IRes, IBody>({ queryKey, axiosFn, options, mockData }: MyReactQueryProps<IRes, IBody>): _tanstack_react_query.UseQueryResult<_tanstack_react_query.NoInfer<IRes>, Error>;
59
59
 
60
60
  declare function useQ_AQ_GetAQModule(): _tanstack_react_query.UseQueryResult<IAQModule, Error>;
61
61
 
@@ -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
+ }
@@ -15,7 +15,7 @@ import {
15
15
  MyButton as MyButton2,
16
16
  MyDataTableSelectOne,
17
17
  MyTextInput as MyTextInput2
18
- } from "../chunk-GTZU2RDA.mjs";
18
+ } from "../chunk-VYFOT3X4.mjs";
19
19
  import {
20
20
  F_authenticate_Logout,
21
21
  MyActionIconDelete,
@@ -41,7 +41,7 @@ import {
41
41
  groupToTwoLevels,
42
42
  useS_authenticate,
43
43
  utils_layout_getItemsWithoutLinks
44
- } from "../chunk-5A5AGS35.mjs";
44
+ } from "../chunk-YWCGCE6V.mjs";
45
45
  import {
46
46
  createGenericStore
47
47
  } from "../chunk-U62R2QKJ.mjs";
@@ -5666,6 +5666,11 @@ function F_authenticate_Login({
5666
5666
  username: ((_a = authenticate_store.state) == null ? void 0 : _a.username) || "",
5667
5667
  password: ""
5668
5668
  });
5669
+ if (process.env.NEXT_PUBLIC_APP_PROTOTYPE != "1") return;
5670
+ form.setValues({
5671
+ username: "admin",
5672
+ password: "123456"
5673
+ });
5669
5674
  }, [authenticate_store.state.username]);
5670
5675
  function handleSubmit(userName, passWord) {
5671
5676
  if (customSubmit) {
@@ -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
+ }
package/package.json CHANGED
@@ -1,161 +1,161 @@
1
- {
2
- "name": "aq-fe-framework",
3
- "exports": {
4
- "./utils": {
5
- "import": "./dist/utils/index.mjs",
6
- "types": "./dist/utils/index.d.mts"
7
- },
8
- "./components": {
9
- "import": "./dist/components/index.mjs",
10
- "types": "./dist/components/index.d.mts"
11
- },
12
- "./stores": {
13
- "import": "./dist/stores/index.mjs",
14
- "types": "./dist/stores/index.d.mts"
15
- },
16
- "./modules-features": {
17
- "import": "./dist/modules-features/index.mjs",
18
- "types": "./dist/modules-features/index.d.mts"
19
- },
20
- "./hooks": {
21
- "import": "./dist/hooks/index.mjs",
22
- "types": "./dist/hooks/index.d.mts"
23
- },
24
- "./interfaces": {
25
- "import": "./dist/interfaces/index.mjs",
26
- "types": "./dist/interfaces/index.d.mts"
27
- },
28
- "./const": {
29
- "import": "./dist/const/index.mjs",
30
- "types": "./dist/const/index.d.mts"
31
- },
32
- "./enum": {
33
- "import": "./dist/enum/index.mjs",
34
- "types": "./dist/enum/index.d.mts"
35
- },
36
- "./core": {
37
- "import": "./dist/core/index.mjs",
38
- "types": "./dist/core/index.d.mts"
39
- },
40
- "./columns": {
41
- "import": "./dist/columns/index.mjs",
42
- "types": "./dist/columns/index.d.mts"
43
- }
44
- },
45
- "version": "0.1.461",
46
- "private": false,
47
- "files": [
48
- "dist"
49
- ],
50
- "scripts": {
51
- "deploy": "node deploy.js",
52
- "update-mantine": "npx npm-check-updates @mantine/* @mantinex/* postcss-preset-mantine -u",
53
- "dev": "next dev --turbopack -p 3000",
54
- "build-next": "next build",
55
- "gen": "barrelsby --config barrelsby.json",
56
- "build": "tsup --tsconfig tsconfig.lib.json && cpx \"src/**/*.module.css\" dist",
57
- "start": "next start",
58
- "lint": "next lint",
59
- "debug": "next dev -p 3003"
60
- },
61
- "dependencies": {
62
- "@fullcalendar/core": "^6.1.15",
63
- "@fullcalendar/daygrid": "^6.1.15",
64
- "@fullcalendar/react": "^6.1.15",
65
- "@mantine/carousel": "^8.0.0",
66
- "@mantine/charts": "^8.0.0",
67
- "@mantine/code-highlight": "^8.0.0",
68
- "@mantine/core": "^8.0.0",
69
- "@mantine/dates": "^8.0.0",
70
- "@mantine/dropzone": "^8.0.0",
71
- "@mantine/form": "^8.0.0",
72
- "@mantine/hooks": "^8.0.0",
73
- "@mantine/modals": "^8.0.0",
74
- "@mantine/notifications": "^8.0.0",
75
- "@mantine/nprogress": "^8.0.0",
76
- "@mantine/spotlight": "^8.0.0",
77
- "@mantine/tiptap": "^8.0.0",
78
- "@mantinex/mantine-logo": "^2.0.0",
79
- "@schedule-x/event-modal": "^2.12.1",
80
- "@schedule-x/events-service": "^2.28.0",
81
- "@schedule-x/react": "^2.28.0",
82
- "@schedule-x/theme-default": "^2.28.0",
83
- "@tabler/icons-react": "^3.26.0",
84
- "@tanstack/react-query": "^5.62.8",
85
- "@tanstack/react-query-devtools": "^5.69.0",
86
- "@tiptap-pro/extension-file-handler": "^2.14.0",
87
- "@tiptap/extension-highlight": "^2.9.1",
88
- "@tiptap/extension-image": "^2.9.1",
89
- "@tiptap/extension-link": "^2.9.1",
90
- "@tiptap/extension-subscript": "^2.9.1",
91
- "@tiptap/extension-superscript": "^2.9.1",
92
- "@tiptap/extension-text-align": "^2.9.1",
93
- "@tiptap/extension-underline": "^2.9.1",
94
- "@tiptap/pm": "^2.9.1",
95
- "@tiptap/react": "^2.9.1",
96
- "@tiptap/starter-kit": "^2.9.1",
97
- "autoprefixer": "^10.4.20",
98
- "axios": "^1.7.7",
99
- "caniuse-lite": "^1.0.30001718",
100
- "clsx": "^2.1.1",
101
- "dayjs": "^1.11.13",
102
- "docxtemplater": "^3.54.1",
103
- "embla-carousel-react": "^7.1.0",
104
- "esbuild-css-modules-plugin": "^3.1.4",
105
- "exceljs": "^4.4.0",
106
- "export-to-csv": "^1.4.0",
107
- "file-saver": "^2.0.5",
108
- "framer-motion": "^11.11.11",
109
- "fs-extra": "^11.2.0",
110
- "glob": "^11.0.2",
111
- "json-server": "^1.0.0-beta.3",
112
- "ldrs": "^1.0.2",
113
- "lodash.debounce": "^4.0.8",
114
- "mantine-react-table": "^2.0.0-beta.7",
115
- "next": "15.0.3",
116
- "pako": "^2.1.0",
117
- "pizzip": "^3.1.7",
118
- "react": "^17.0.0 || ^18.0.0",
119
- "react-dom": "^17.0.0 || ^18.0.0",
120
- "react-to-print": "^3.0.6",
121
- "recharts": "^2.13.3",
122
- "sass": "^1.82.0",
123
- "tailwind-merge": "^2.5.4",
124
- "xlsx": "^0.18.5",
125
- "zustand": "^5.0.1"
126
- },
127
- "devDependencies": {
128
- "@types/file-saver": "^2.0.7",
129
- "@types/node": "^20.17.30",
130
- "@types/pako": "^2.0.3",
131
- "@types/react": "^18.3.20",
132
- "@types/react-dom": "^18",
133
- "barrelsby": "^2.8.1",
134
- "cpx": "^1.5.0",
135
- "esbuild-plugin-css-modules": "^0.3.0",
136
- "eslint": "^8",
137
- "eslint-config-next": "15.0.3",
138
- "postcss": "^8.5.3",
139
- "postcss-modules": "^6.0.1",
140
- "postcss-preset-mantine": "^1.17.0",
141
- "postcss-simple-vars": "^7.0.1",
142
- "tailwindcss": "^3.4.1",
143
- "tsup": "^8.4.0",
144
- "typescript": "^5.8.3"
145
- },
146
- "peerDependencies": {
147
- "react": "^17.0.0 || ^18.0.0",
148
- "react-dom": "^17.0.0 || ^18.0.0"
149
- },
150
- "description": "",
151
- "repository": {
152
- "type": "git",
153
- "url": "git+https://github.com/TranQuocThieu22/aq-fe-framework.git"
154
- },
155
- "author": "Quốc Thiệu",
156
- "license": "ISC",
157
- "bugs": {
158
- "url": "https://github.com/TranQuocThieu22/aq-fe-framework/issues"
159
- },
160
- "homepage": "https://github.com/TranQuocThieu22/aq-fe-framework#readme"
161
- }
1
+ {
2
+ "name": "aq-fe-framework",
3
+ "exports": {
4
+ "./utils": {
5
+ "import": "./dist/utils/index.mjs",
6
+ "types": "./dist/utils/index.d.mts"
7
+ },
8
+ "./components": {
9
+ "import": "./dist/components/index.mjs",
10
+ "types": "./dist/components/index.d.mts"
11
+ },
12
+ "./stores": {
13
+ "import": "./dist/stores/index.mjs",
14
+ "types": "./dist/stores/index.d.mts"
15
+ },
16
+ "./modules-features": {
17
+ "import": "./dist/modules-features/index.mjs",
18
+ "types": "./dist/modules-features/index.d.mts"
19
+ },
20
+ "./hooks": {
21
+ "import": "./dist/hooks/index.mjs",
22
+ "types": "./dist/hooks/index.d.mts"
23
+ },
24
+ "./interfaces": {
25
+ "import": "./dist/interfaces/index.mjs",
26
+ "types": "./dist/interfaces/index.d.mts"
27
+ },
28
+ "./const": {
29
+ "import": "./dist/const/index.mjs",
30
+ "types": "./dist/const/index.d.mts"
31
+ },
32
+ "./enum": {
33
+ "import": "./dist/enum/index.mjs",
34
+ "types": "./dist/enum/index.d.mts"
35
+ },
36
+ "./core": {
37
+ "import": "./dist/core/index.mjs",
38
+ "types": "./dist/core/index.d.mts"
39
+ },
40
+ "./columns": {
41
+ "import": "./dist/columns/index.mjs",
42
+ "types": "./dist/columns/index.d.mts"
43
+ }
44
+ },
45
+ "version": "0.1.462",
46
+ "private": false,
47
+ "files": [
48
+ "dist"
49
+ ],
50
+ "scripts": {
51
+ "deploy": "node deploy.js",
52
+ "update-mantine": "npx npm-check-updates @mantine/* @mantinex/* postcss-preset-mantine -u",
53
+ "dev": "next dev --turbopack -p 3000",
54
+ "build-next": "next build",
55
+ "gen": "barrelsby --config barrelsby.json",
56
+ "build": "tsup --tsconfig tsconfig.lib.json && cpx \"src/**/*.module.css\" dist",
57
+ "start": "next start",
58
+ "lint": "next lint",
59
+ "debug": "next dev -p 3003"
60
+ },
61
+ "dependencies": {
62
+ "@fullcalendar/core": "^6.1.15",
63
+ "@fullcalendar/daygrid": "^6.1.15",
64
+ "@fullcalendar/react": "^6.1.15",
65
+ "@mantine/carousel": "^8.0.0",
66
+ "@mantine/charts": "^8.0.0",
67
+ "@mantine/code-highlight": "^8.0.0",
68
+ "@mantine/core": "^8.0.0",
69
+ "@mantine/dates": "^8.0.0",
70
+ "@mantine/dropzone": "^8.0.0",
71
+ "@mantine/form": "^8.0.0",
72
+ "@mantine/hooks": "^8.0.0",
73
+ "@mantine/modals": "^8.0.0",
74
+ "@mantine/notifications": "^8.0.0",
75
+ "@mantine/nprogress": "^8.0.0",
76
+ "@mantine/spotlight": "^8.0.0",
77
+ "@mantine/tiptap": "^8.0.0",
78
+ "@mantinex/mantine-logo": "^2.0.0",
79
+ "@schedule-x/event-modal": "^2.12.1",
80
+ "@schedule-x/events-service": "^2.28.0",
81
+ "@schedule-x/react": "^2.28.0",
82
+ "@schedule-x/theme-default": "^2.28.0",
83
+ "@tabler/icons-react": "^3.26.0",
84
+ "@tanstack/react-query": "^5.62.8",
85
+ "@tanstack/react-query-devtools": "^5.69.0",
86
+ "@tiptap-pro/extension-file-handler": "^2.14.0",
87
+ "@tiptap/extension-highlight": "^2.9.1",
88
+ "@tiptap/extension-image": "^2.9.1",
89
+ "@tiptap/extension-link": "^2.9.1",
90
+ "@tiptap/extension-subscript": "^2.9.1",
91
+ "@tiptap/extension-superscript": "^2.9.1",
92
+ "@tiptap/extension-text-align": "^2.9.1",
93
+ "@tiptap/extension-underline": "^2.9.1",
94
+ "@tiptap/pm": "^2.9.1",
95
+ "@tiptap/react": "^2.9.1",
96
+ "@tiptap/starter-kit": "^2.9.1",
97
+ "autoprefixer": "^10.4.20",
98
+ "axios": "^1.7.7",
99
+ "caniuse-lite": "^1.0.30001718",
100
+ "clsx": "^2.1.1",
101
+ "dayjs": "^1.11.13",
102
+ "docxtemplater": "^3.54.1",
103
+ "embla-carousel-react": "^7.1.0",
104
+ "esbuild-css-modules-plugin": "^3.1.4",
105
+ "exceljs": "^4.4.0",
106
+ "export-to-csv": "^1.4.0",
107
+ "file-saver": "^2.0.5",
108
+ "framer-motion": "^11.11.11",
109
+ "fs-extra": "^11.2.0",
110
+ "glob": "^11.0.2",
111
+ "json-server": "^1.0.0-beta.3",
112
+ "ldrs": "^1.0.2",
113
+ "lodash.debounce": "^4.0.8",
114
+ "mantine-react-table": "^2.0.0-beta.7",
115
+ "next": "15.0.3",
116
+ "pako": "^2.1.0",
117
+ "pizzip": "^3.1.7",
118
+ "react": "^17.0.0 || ^18.0.0",
119
+ "react-dom": "^17.0.0 || ^18.0.0",
120
+ "react-to-print": "^3.0.6",
121
+ "recharts": "^2.13.3",
122
+ "sass": "^1.82.0",
123
+ "tailwind-merge": "^2.5.4",
124
+ "xlsx": "^0.18.5",
125
+ "zustand": "^5.0.1"
126
+ },
127
+ "devDependencies": {
128
+ "@types/file-saver": "^2.0.7",
129
+ "@types/node": "^20.17.30",
130
+ "@types/pako": "^2.0.3",
131
+ "@types/react": "^18.3.20",
132
+ "@types/react-dom": "^18",
133
+ "barrelsby": "^2.8.1",
134
+ "cpx": "^1.5.0",
135
+ "esbuild-plugin-css-modules": "^0.3.0",
136
+ "eslint": "^8",
137
+ "eslint-config-next": "15.0.3",
138
+ "postcss": "^8.5.3",
139
+ "postcss-modules": "^6.0.1",
140
+ "postcss-preset-mantine": "^1.17.0",
141
+ "postcss-simple-vars": "^7.0.1",
142
+ "tailwindcss": "^3.4.1",
143
+ "tsup": "^8.4.0",
144
+ "typescript": "^5.8.3"
145
+ },
146
+ "peerDependencies": {
147
+ "react": "^17.0.0 || ^18.0.0",
148
+ "react-dom": "^17.0.0 || ^18.0.0"
149
+ },
150
+ "description": "",
151
+ "repository": {
152
+ "type": "git",
153
+ "url": "git+https://github.com/TranQuocThieu22/aq-fe-framework.git"
154
+ },
155
+ "author": "Quốc Thiệu",
156
+ "license": "ISC",
157
+ "bugs": {
158
+ "url": "https://github.com/TranQuocThieu22/aq-fe-framework/issues"
159
+ },
160
+ "homepage": "https://github.com/TranQuocThieu22/aq-fe-framework#readme"
161
+ }