aq-fe-framework 0.1.109 → 0.1.111

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.
@@ -7487,7 +7487,7 @@ function MyPageContent({
7487
7487
  /* @__PURE__ */ jsxs30(Group13, { justify: "space-between", children: [
7488
7488
  /* @__PURE__ */ jsxs30(Group13, { children: [
7489
7489
  canBack && /* @__PURE__ */ jsx55(MyButtonRouterBack, {}),
7490
- /* @__PURE__ */ jsx55(PageTitle, { title: finalTitle, status }),
7490
+ /* @__PURE__ */ jsx55(PageTitle, { title: "?", status }),
7491
7491
  leftTopBar
7492
7492
  ] }),
7493
7493
  /* @__PURE__ */ jsxs30(Group13, { children: [
@@ -11194,12 +11194,12 @@ function useS_authenticate() {
11194
11194
 
11195
11195
  // src/modules-features/authenticate/F_authenticate_Logout.tsx
11196
11196
  import { jsx as jsx130 } from "react/jsx-runtime";
11197
- function F_authenticate_Logout() {
11197
+ function F_authenticate_Logout({ redirectURL = "/auth/login" }) {
11198
11198
  const router = useRouter4();
11199
11199
  const S_Authenticate = useS_authenticate();
11200
11200
  return /* @__PURE__ */ jsx130(Button18, { onClick: () => {
11201
11201
  S_Authenticate.setProperty("token", "");
11202
- router.replace("/authenticate/login");
11202
+ router.replace(redirectURL);
11203
11203
  }, leftSection: /* @__PURE__ */ jsx130(IconLogout, {}), fullWidth: true, justify: "start", variant: "subtle", children: "\u0110\u0103ng xu\u1EA5t" });
11204
11204
  }
11205
11205
 
@@ -64,7 +64,7 @@ import {
64
64
  useS_BasicAppShell,
65
65
  useS_ButtonImport,
66
66
  utils_layout_getItemsWithoutLinks
67
- } from "../chunk-IGPMAQ2A.mjs";
67
+ } from "../chunk-KAORYTXX.mjs";
68
68
  import "../chunk-QAWKASVG.mjs";
69
69
  import "../chunk-Y3YGC5IH.mjs";
70
70
  import "../chunk-CJDXLINF.mjs";
@@ -50,11 +50,11 @@ interface IDocument$5 {
50
50
  ngayChinhSua?: Date;
51
51
  nguoiChinhSua?: string;
52
52
  }
53
- interface I$d extends IDocument$5 {
53
+ interface I$e extends IDocument$5 {
54
54
  file?: File;
55
55
  }
56
56
  declare function F_core12196_Update({ values, FormTypeId, }: {
57
- values: I$d;
57
+ values: I$e;
58
58
  FormTypeId: number;
59
59
  }): react_jsx_runtime.JSX.Element;
60
60
 
@@ -100,11 +100,11 @@ interface IDocument$4 {
100
100
  ngayChinhSua?: Date;
101
101
  nguoiChinhSua?: string;
102
102
  }
103
- interface I$c extends IDocument$4 {
103
+ interface I$d extends IDocument$4 {
104
104
  file?: File;
105
105
  }
106
106
  declare function F_core16209_Update({ values }: {
107
- values: I$c;
107
+ values: I$d;
108
108
  }): react_jsx_runtime.JSX.Element;
109
109
 
110
110
  declare function F_core18256(): react_jsx_runtime.JSX.Element;
@@ -131,13 +131,13 @@ interface ISelect extends SelectProps {
131
131
  }
132
132
  declare function F_core18256_Select({ documentTypeId, label, dataMapper, ...rest }: ISelect): react_jsx_runtime.JSX.Element | "Loading...";
133
133
 
134
- interface I$b {
134
+ interface I$c {
135
135
  id?: number;
136
136
  name?: string;
137
137
  code?: string;
138
138
  }
139
139
  declare function F_core18256_Update({ values }: {
140
- values: I$b;
140
+ values: I$c;
141
141
  }): react_jsx_runtime.JSX.Element;
142
142
 
143
143
  declare function F_core26965({ RegulationsTypeId }: {
@@ -182,11 +182,11 @@ interface IDocument$3 {
182
182
  ngayChinhSua?: Date;
183
183
  nguoiChinhSua?: string;
184
184
  }
185
- interface I$a extends IDocument$3 {
185
+ interface I$b extends IDocument$3 {
186
186
  file?: File;
187
187
  }
188
188
  declare function F_core26965_Update({ values, RegulationsTypeId, }: {
189
- values: I$a;
189
+ values: I$b;
190
190
  RegulationsTypeId: number;
191
191
  }): react_jsx_runtime.JSX.Element;
192
192
 
@@ -236,11 +236,11 @@ interface IDocument$2 {
236
236
  ngayChinhSua?: Date;
237
237
  nguoiChinhSua?: string;
238
238
  }
239
- interface I$9 extends IDocument$2 {
239
+ interface I$a extends IDocument$2 {
240
240
  file?: File;
241
241
  }
242
242
  declare function F_core27311_Update({ values, WorkflowTypeId, }: {
243
- values: I$9;
243
+ values: I$a;
244
244
  WorkflowTypeId: number;
245
245
  }): react_jsx_runtime.JSX.Element;
246
246
 
@@ -306,11 +306,11 @@ interface IDocument$1 {
306
306
  ngayChinhSua?: Date;
307
307
  nguoiChinhSua?: string;
308
308
  }
309
- interface I$8 extends IDocument$1 {
309
+ interface I$9 extends IDocument$1 {
310
310
  file?: File;
311
311
  }
312
312
  declare function F_core40207_Update({ values }: {
313
- values: I$8;
313
+ values: I$9;
314
314
  }): react_jsx_runtime.JSX.Element;
315
315
 
316
316
  declare function F_core47643(): react_jsx_runtime.JSX.Element;
@@ -319,13 +319,13 @@ declare function F_core47643_Delete({ values }: {
319
319
  values: IBaseEntity;
320
320
  }): react_jsx_runtime.JSX.Element;
321
321
 
322
- interface I$7 {
322
+ interface I$8 {
323
323
  id?: number;
324
324
  code?: string;
325
325
  name?: string;
326
326
  }
327
327
  declare function F_core47643_Form({ values }: {
328
- values?: I$7;
328
+ values?: I$8;
329
329
  }): react_jsx_runtime.JSX.Element;
330
330
 
331
331
  declare function F_core47643_Read(): react_jsx_runtime.JSX.Element | "Đang tải dữ liệu..." | "Có lỗi xảy ra!";
@@ -339,13 +339,13 @@ interface I_core60524_AQModule extends IAQModule {
339
339
  logoFile?: File;
340
340
  }
341
341
 
342
- interface I$6 {
342
+ interface I$7 {
343
343
  AQModuleId?: number;
344
344
  }
345
345
  declare function useS_core60524(): {
346
- state: I$6;
347
- setState: (newState: I$6) => void;
348
- setProperty: <K extends "AQModuleId">(key: K, value: I$6[K]) => void;
346
+ state: I$7;
347
+ setState: (newState: I$7) => void;
348
+ setProperty: <K extends "AQModuleId">(key: K, value: I$7[K]) => void;
349
349
  resetState: () => void;
350
350
  };
351
351
 
@@ -364,11 +364,11 @@ interface IEmailConfig extends IBaseEntity {
364
364
  userName?: string;
365
365
  }
366
366
 
367
- interface I$5 extends IEmailConfig {
367
+ interface I$6 extends IEmailConfig {
368
368
  password?: string;
369
369
  }
370
370
  declare function F_core64229_Form({ values }: {
371
- values?: I$5;
371
+ values?: I$6;
372
372
  }): react_jsx_runtime.JSX.Element;
373
373
 
374
374
  declare function F_core64229_Read(): react_jsx_runtime.JSX.Element | "Đang tải";
@@ -396,7 +396,7 @@ declare function F_core71678_Delete({ id, code }: {
396
396
  code: string;
397
397
  }): react_jsx_runtime.JSX.Element;
398
398
 
399
- interface I$4 {
399
+ interface I$5 {
400
400
  id?: number;
401
401
  userName?: string;
402
402
  code?: string;
@@ -405,7 +405,7 @@ interface I$4 {
405
405
  phoneNumber?: string;
406
406
  }
407
407
  declare function F_core71678_Update({ user }: {
408
- user: I$4;
408
+ user: I$5;
409
409
  }): react_jsx_runtime.JSX.Element;
410
410
 
411
411
  declare function F_core76318({ SecurityTypeId }: {
@@ -450,11 +450,11 @@ interface IDocument {
450
450
  ngayChinhSua?: Date;
451
451
  nguoiChinhSua?: string;
452
452
  }
453
- interface I$3 extends IDocument {
453
+ interface I$4 extends IDocument {
454
454
  file?: File;
455
455
  }
456
456
  declare function F_core76318_Update({ values }: {
457
- values: I$3;
457
+ values: I$4;
458
458
  }): react_jsx_runtime.JSX.Element;
459
459
 
460
460
  declare function F_core83092({ menuData }: {
@@ -478,7 +478,7 @@ interface I_core83092_RolePermission {
478
478
  isPrint?: boolean;
479
479
  isExport?: boolean;
480
480
  }
481
- interface I$2 {
481
+ interface I$3 {
482
482
  roleId?: number;
483
483
  rolePermissions?: I_core83092_RolePermission[];
484
484
  }
@@ -487,9 +487,9 @@ declare function useS_core83092(): {
487
487
  findByPageId: (pageId: number) => I_core83092_RolePermission | undefined;
488
488
  updatePermission: (pageId: number, updatedPermission: Partial<I_core83092_RolePermission>) => void;
489
489
  isAllPermission: (field: keyof I_core83092_RolePermission) => boolean;
490
- state: I$2;
491
- setState: (newState: I$2) => void;
492
- setProperty: <K extends keyof I$2>(key: K, value: I$2[K]) => void;
490
+ state: I$3;
491
+ setState: (newState: I$3) => void;
492
+ setProperty: <K extends keyof I$3>(key: K, value: I$3[K]) => void;
493
493
  resetState: () => void;
494
494
  };
495
495
  declare function utils_core83092_mergePage(arr1: I_core83092_RolePermission[], arr2: I_core83092_RolePermission[]): I_core83092_RolePermission[];
@@ -498,7 +498,10 @@ declare function PieChart_DiscountUsedPercentage(): react_jsx_runtime.JSX.Elemen
498
498
 
499
499
  declare function PieChart_VoucherUsedPercentage(): react_jsx_runtime.JSX.Element;
500
500
 
501
- declare function F_authenticate_Logout(): react_jsx_runtime.JSX.Element;
501
+ interface I$2 {
502
+ redirectURL?: string;
503
+ }
504
+ declare function F_authenticate_Logout({ redirectURL }: I$2): react_jsx_runtime.JSX.Element;
502
505
 
503
506
  declare function F_authenticate_SplashPage(): react_jsx_runtime.JSX.Element;
504
507
 
@@ -65,7 +65,7 @@ import {
65
65
  useS_core60524,
66
66
  useS_core83092,
67
67
  utils_core83092_mergePage
68
- } from "../chunk-IGPMAQ2A.mjs";
68
+ } from "../chunk-KAORYTXX.mjs";
69
69
  import "../chunk-QAWKASVG.mjs";
70
70
  import "../chunk-Y3YGC5IH.mjs";
71
71
  import "../chunk-CJDXLINF.mjs";
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "types": "./dist/hooks/index.d.mts"
23
23
  }
24
24
  },
25
- "version": "0.1.109",
25
+ "version": "0.1.111",
26
26
  "private": false,
27
27
  "files": [
28
28
  "dist"