aq-fe-framework 0.1.116 → 0.1.118

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.
@@ -7259,7 +7259,7 @@ function BasicAppShell({ children, menu }) {
7259
7259
  /* @__PURE__ */ jsxs29(AppShell.Section, { grow: true, component: ScrollArea3, p: 5, children: [
7260
7260
  /* @__PURE__ */ jsx53(RenderNavLinks, { items: menu }),
7261
7261
  /* @__PURE__ */ jsx53(Divider2, {}),
7262
- /* @__PURE__ */ jsx53(F_authenticate_Logout, {})
7262
+ /* @__PURE__ */ jsx53(F_Authenticate_Logout, {})
7263
7263
  ] }),
7264
7264
  /* @__PURE__ */ jsxs29(AppShell.Section, { p: "md", children: [
7265
7265
  /* @__PURE__ */ jsx53(Divider2, {}),
@@ -11185,41 +11185,41 @@ function PieChart_VoucherUsedPercentage() {
11185
11185
  ] }) });
11186
11186
  }
11187
11187
 
11188
- // src/modules-features/authenticate/F_authenticate_Logout.tsx
11188
+ // src/modules-features/Authenticate/F_Authenticate_Logout.tsx
11189
11189
  import { Button as Button18 } from "@mantine/core";
11190
11190
  import { IconLogout } from "@tabler/icons-react";
11191
11191
  import { useRouter as useRouter4 } from "next/navigation";
11192
11192
 
11193
- // src/modules-features/authenticate/useS_authenticate.ts
11193
+ // src/modules-features/Authenticate/useS_Authenticate.ts
11194
11194
  var useStore6 = createGenericStore({
11195
11195
  initialState: { token: "" },
11196
- storageKey: "useS_authenticate"
11196
+ storageKey: "useS_Authenticate"
11197
11197
  });
11198
- function useS_authenticate() {
11198
+ function useS_Authenticate() {
11199
11199
  const store = useStore6();
11200
11200
  function logOut() {
11201
11201
  }
11202
11202
  return __spreadValues({}, store);
11203
11203
  }
11204
11204
 
11205
- // src/modules-features/authenticate/F_authenticate_Logout.tsx
11205
+ // src/modules-features/Authenticate/F_Authenticate_Logout.tsx
11206
11206
  import { jsx as jsx131 } from "react/jsx-runtime";
11207
- function F_authenticate_Logout({ redirectURL = "/auth/login" }) {
11207
+ function F_Authenticate_Logout({ redirectURL = "/auth/login" }) {
11208
11208
  const router = useRouter4();
11209
- const S_Authenticate = useS_authenticate();
11209
+ const S_Authenticate = useS_Authenticate();
11210
11210
  return /* @__PURE__ */ jsx131(Button18, { onClick: () => {
11211
11211
  S_Authenticate.setProperty("token", "");
11212
11212
  router.replace(redirectURL);
11213
11213
  }, leftSection: /* @__PURE__ */ jsx131(IconLogout, {}), fullWidth: true, justify: "start", variant: "subtle", children: "\u0110\u0103ng xu\u1EA5t" });
11214
11214
  }
11215
11215
 
11216
- // src/modules-features/authenticate/F_authenticate_SplashPage.tsx
11216
+ // src/modules-features/Authenticate/F_Authenticate_SplashPage.tsx
11217
11217
  import { useRouter as useRouter5 } from "next/navigation";
11218
11218
  import { useEffect as useEffect17 } from "react";
11219
11219
  import { jsx as jsx132 } from "react/jsx-runtime";
11220
11220
  function F_authenticate_SplashPage() {
11221
11221
  const router = useRouter5();
11222
- const S_Authenticate = useS_authenticate();
11222
+ const S_Authenticate = useS_Authenticate();
11223
11223
  useEffect17(() => {
11224
11224
  if (S_Authenticate.state.token == "") {
11225
11225
  router.push("/authenticate/login");
@@ -11230,7 +11230,7 @@ function F_authenticate_SplashPage() {
11230
11230
  return /* @__PURE__ */ jsx132(MyBoxesBackground, { title: "H\u1EC7 th\u1ED1ng th\xF4ng tin qu\u1EA3n l\xED \u0111\xE0o t\u1EA1o ng\u1EAFn h\u1EA1n" });
11231
11231
  }
11232
11232
 
11233
- // src/modules-features/authenticate/F_authenticate_Login/F_authenticate_Login.tsx
11233
+ // src/modules-features/Authenticate/F_Authenticate_Login/F_Authenticate_Login.tsx
11234
11234
  import {
11235
11235
  Anchor as Anchor2,
11236
11236
  BackgroundImage,
@@ -11252,12 +11252,12 @@ import Link5 from "next/link";
11252
11252
  import { useRouter as useRouter6 } from "next/navigation";
11253
11253
  import { useState as useState17 } from "react";
11254
11254
 
11255
- // src/modules-features/authenticate/F_authenticate_Login/css.module.css
11255
+ // src/modules-features/Authenticate/F_Authenticate_Login/css.module.css
11256
11256
  var css_default3 = {};
11257
11257
 
11258
- // src/modules-features/authenticate/F_authenticate_Login/F_authenticate_Login.tsx
11258
+ // src/modules-features/Authenticate/F_Authenticate_Login/F_Authenticate_Login.tsx
11259
11259
  import { jsx as jsx133, jsxs as jsxs83 } from "react/jsx-runtime";
11260
- function F_authenticate_Login({
11260
+ function F_Authenticate_Login({
11261
11261
  loginInfo,
11262
11262
  redirectUrlAfterLogin = "/admin/dashboard",
11263
11263
  additionalActions,
@@ -11265,7 +11265,7 @@ function F_authenticate_Login({
11265
11265
  onSuccess
11266
11266
  }) {
11267
11267
  const router = useRouter6();
11268
- const authStore = useS_authenticate();
11268
+ const authStore = useS_Authenticate();
11269
11269
  const loadingState = useState17(false);
11270
11270
  const mutation = useM_Account_Sigin();
11271
11271
  const form = useForm20({
@@ -11485,10 +11485,10 @@ export {
11485
11485
  F_core83092,
11486
11486
  PieChart_DiscountUsedPercentage,
11487
11487
  PieChart_VoucherUsedPercentage,
11488
- useS_authenticate,
11489
- F_authenticate_Logout,
11488
+ useS_Authenticate,
11489
+ F_Authenticate_Logout,
11490
11490
  F_authenticate_SplashPage,
11491
- F_authenticate_Login,
11491
+ F_Authenticate_Login,
11492
11492
  BasicAppShell_transformMenuToEnum,
11493
11493
  BasicAppShell,
11494
11494
  groupToTwoLevels,
@@ -16,7 +16,7 @@
16
16
  display: block;
17
17
  }
18
18
 
19
- /* src/modules-features/authenticate/F_authenticate_Login/css.module.css */
19
+ /* src/modules-features/Authenticate/F_Authenticate_Login/css.module.css */
20
20
  .title {
21
21
  font-family: Greycliff CF, var(--mantine-font-family);
22
22
  font-weight: 900;
@@ -65,7 +65,7 @@ import {
65
65
  useS_BasicAppShell,
66
66
  useS_ButtonImport,
67
67
  utils_layout_getItemsWithoutLinks
68
- } from "../chunk-ODP26FHU.mjs";
68
+ } from "../chunk-IX7UX3AJ.mjs";
69
69
  import "../chunk-QAWKASVG.mjs";
70
70
  import "../chunk-Y3YGC5IH.mjs";
71
71
  import "../chunk-CJDXLINF.mjs";
@@ -111,7 +111,7 @@
111
111
  border-top: 1px solid var(--mantine-color-dark-5);
112
112
  }
113
113
 
114
- /* src/modules-features/authenticate/F_authenticate_Login/css.module.css */
114
+ /* src/modules-features/Authenticate/F_Authenticate_Login/css.module.css */
115
115
  .title {
116
116
  font-family: Greycliff CF, var(--mantine-font-family);
117
117
  font-weight: 900;
@@ -501,7 +501,7 @@ declare function PieChart_VoucherUsedPercentage(): react_jsx_runtime.JSX.Element
501
501
  interface I$2 {
502
502
  redirectURL?: string;
503
503
  }
504
- declare function F_authenticate_Logout({ redirectURL }: I$2): react_jsx_runtime.JSX.Element;
504
+ declare function F_Authenticate_Logout({ redirectURL }: I$2): react_jsx_runtime.JSX.Element;
505
505
 
506
506
  declare function F_authenticate_SplashPage(): react_jsx_runtime.JSX.Element;
507
507
 
@@ -511,7 +511,7 @@ interface I$1 {
511
511
  fullName?: string;
512
512
  code?: string;
513
513
  }
514
- declare function useS_authenticate(): {
514
+ declare function useS_Authenticate(): {
515
515
  state: I$1;
516
516
  setState: (newState: I$1) => void;
517
517
  setProperty: <K extends keyof I$1>(key: K, value: I$1[K]) => void;
@@ -529,6 +529,6 @@ interface I {
529
529
  backgroundImage?: string;
530
530
  onSuccess?: (data?: any) => void;
531
531
  }
532
- declare function F_authenticate_Login({ loginInfo, redirectUrlAfterLogin, additionalActions, backgroundImage, onSuccess }: I): react_jsx_runtime.JSX.Element;
532
+ declare function F_Authenticate_Login({ loginInfo, redirectUrlAfterLogin, additionalActions, backgroundImage, onSuccess }: I): react_jsx_runtime.JSX.Element;
533
533
 
534
- export { F_authenticate_Login, F_authenticate_Logout, F_authenticate_SplashPage, F_core12196, F_core12196_Create, F_core12196_Delete, F_core12196_Read, F_core12196_Update, F_core16209, F_core16209_Create, F_core16209_Delete, F_core16209_Update, F_core18256, F_core18256_Create, F_core18256_Delete, F_core18256_Read, F_core18256_Select, F_core18256_Update, F_core26965, F_core26965_Create, F_core26965_Delete, F_core26965_Update, F_core27311, F_core27311_Create, F_core27311_Delete, F_core27311_Read, F_core27311_Update, F_core35923, F_core38677, F_core38677_ReadUser, F_core38677_Save, F_core38677_ViewMenuPermissions, F_core40207, F_core40207_Create, F_core40207_Delete, F_core40207_Read, F_core40207_Update, F_core47643, F_core47643_Delete, F_core47643_Form, F_core47643_Read, F_core60524, F_core64229, F_core64229_Delete, F_core64229_Form, F_core64229_Read, F_core71678, F_core71678_ChangePermission, F_core71678_Create, F_core71678_Delete, F_core71678_Read, F_core71678_Update, F_core76318, F_core76318_Create, F_core76318_Delete, F_core76318_Update, F_core83092, F_core83092_ReadUser, F_core83092_Save, F_core83092_ViewMenuPermissions, type I_core38677_User, type I_core60524_AQModule, type I_core71678_Read, type I_core83092_RolePermission, PieChart_DiscountUsedPercentage, PieChart_VoucherUsedPercentage, useS_authenticate, useS_core60524, useS_core83092, utils_core83092_mergePage };
534
+ export { F_Authenticate_Login, F_Authenticate_Logout, F_authenticate_SplashPage, F_core12196, F_core12196_Create, F_core12196_Delete, F_core12196_Read, F_core12196_Update, F_core16209, F_core16209_Create, F_core16209_Delete, F_core16209_Update, F_core18256, F_core18256_Create, F_core18256_Delete, F_core18256_Read, F_core18256_Select, F_core18256_Update, F_core26965, F_core26965_Create, F_core26965_Delete, F_core26965_Update, F_core27311, F_core27311_Create, F_core27311_Delete, F_core27311_Read, F_core27311_Update, F_core35923, F_core38677, F_core38677_ReadUser, F_core38677_Save, F_core38677_ViewMenuPermissions, F_core40207, F_core40207_Create, F_core40207_Delete, F_core40207_Read, F_core40207_Update, F_core47643, F_core47643_Delete, F_core47643_Form, F_core47643_Read, F_core60524, F_core64229, F_core64229_Delete, F_core64229_Form, F_core64229_Read, F_core71678, F_core71678_ChangePermission, F_core71678_Create, F_core71678_Delete, F_core71678_Read, F_core71678_Update, F_core76318, F_core76318_Create, F_core76318_Delete, F_core76318_Update, F_core83092, F_core83092_ReadUser, F_core83092_Save, F_core83092_ViewMenuPermissions, type I_core38677_User, type I_core60524_AQModule, type I_core71678_Read, type I_core83092_RolePermission, PieChart_DiscountUsedPercentage, PieChart_VoucherUsedPercentage, useS_Authenticate, useS_core60524, useS_core83092, utils_core83092_mergePage };
@@ -1,6 +1,6 @@
1
1
  import {
2
- F_authenticate_Login,
3
- F_authenticate_Logout,
2
+ F_Authenticate_Login,
3
+ F_Authenticate_Logout,
4
4
  F_authenticate_SplashPage,
5
5
  F_core12196,
6
6
  F_core12196_Create,
@@ -61,19 +61,19 @@ import {
61
61
  F_core83092_ViewMenuPermissions,
62
62
  PieChart_DiscountUsedPercentage,
63
63
  PieChart_VoucherUsedPercentage,
64
- useS_authenticate,
64
+ useS_Authenticate,
65
65
  useS_core60524,
66
66
  useS_core83092,
67
67
  utils_core83092_mergePage
68
- } from "../chunk-ODP26FHU.mjs";
68
+ } from "../chunk-IX7UX3AJ.mjs";
69
69
  import "../chunk-QAWKASVG.mjs";
70
70
  import "../chunk-Y3YGC5IH.mjs";
71
71
  import "../chunk-CJDXLINF.mjs";
72
72
  import "../chunk-7ZCOFATU.mjs";
73
73
  import "../chunk-FWCSY2DS.mjs";
74
74
  export {
75
- F_authenticate_Login,
76
- F_authenticate_Logout,
75
+ F_Authenticate_Login,
76
+ F_Authenticate_Logout,
77
77
  F_authenticate_SplashPage,
78
78
  F_core12196,
79
79
  F_core12196_Create,
@@ -134,7 +134,7 @@ export {
134
134
  F_core83092_ViewMenuPermissions,
135
135
  PieChart_DiscountUsedPercentage,
136
136
  PieChart_VoucherUsedPercentage,
137
- useS_authenticate,
137
+ useS_Authenticate,
138
138
  useS_core60524,
139
139
  useS_core83092,
140
140
  utils_core83092_mergePage
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "types": "./dist/hooks/index.d.mts"
23
23
  }
24
24
  },
25
- "version": "0.1.116",
25
+ "version": "0.1.118",
26
26
  "private": false,
27
27
  "files": [
28
28
  "dist"