aq-fe-framework 0.1.138 → 0.1.140

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.
@@ -177,25 +177,6 @@ async function utils_file_docxtemplaterDownload({
177
177
  saveAs2(buffer, fileName || "output.docx");
178
178
  }
179
179
 
180
- // src/utils/utils_pdf.ts
181
- import axios from "axios";
182
- async function utils_pdf_download(url) {
183
- try {
184
- const response = await axios.get(url, {
185
- responseType: "blob"
186
- // Đảm bảo nhận dữ liệu dạng blob để tải file
187
- });
188
- const blob = new Blob([response.data], { type: "application/pdf" });
189
- const link = document.createElement("a");
190
- link.href = window.URL.createObjectURL(blob);
191
- link.download = "file.pdf";
192
- link.click();
193
- window.URL.revokeObjectURL(link.href);
194
- } catch (error) {
195
- console.error("Error downloading PDF:", error);
196
- }
197
- }
198
-
199
180
  // src/utils/utils_time.ts
200
181
  var utils_time_convertTimeStringToSeconds = (time) => {
201
182
  const [hours, minutes, seconds] = time.split(":").map(Number);
@@ -222,7 +203,6 @@ function U0MyValidateEmail(value) {
222
203
  }
223
204
 
224
205
  export {
225
- utils_pdf_download,
226
206
  U0DateToDDMMYYYString,
227
207
  utils_date_dateToDDMMYYYString,
228
208
  utils_date_formatToDateTimeStartEnd,
@@ -6,7 +6,7 @@ var baseAxios = axios.create({
6
6
  baseAxios.interceptors.request.use(
7
7
  (config) => {
8
8
  var _a, _b;
9
- const tokenData = localStorage.getItem("useS_Authenticate");
9
+ const tokenData = localStorage.getItem("useS_authenticate");
10
10
  const state = JSON.parse(tokenData);
11
11
  const token = (_b = (_a = state == null ? void 0 : state.state) == null ? void 0 : _a.state) == null ? void 0 : _b.token;
12
12
  if (token) {
@@ -16,12 +16,6 @@
16
16
  display: block;
17
17
  }
18
18
 
19
- /* src/modules-features/authenticate/F_authenticate_Login/css.module.css */
20
- .title {
21
- font-family: Greycliff CF, var(--mantine-font-family);
22
- font-weight: 900;
23
- }
24
-
25
19
  /* src/components/Layouts/HeaderMegaMenu/css.module.css */
26
20
  .header {
27
21
  position: sticky;
@@ -281,10 +281,11 @@ interface MyCardInformationProps {
281
281
  value?: string;
282
282
  unit?: string;
283
283
  description?: string;
284
- icons?: ReactNode;
284
+ icon?: ReactNode;
285
285
  diff?: number;
286
+ extraControl?: ReactNode;
286
287
  }
287
- declare function MyCardInformation({ title, value, unit, description, icons, diff }: MyCardInformationProps): react_jsx_runtime.JSX.Element;
288
+ declare function MyCardInformation({ title, value, unit, description, icon, diff, extraControl }: MyCardInformationProps): react_jsx_runtime.JSX.Element;
288
289
 
289
290
  type FormatFunction<TData extends MRT_RowData> = (value: any) => any;
290
291
  interface IDataTable$1<TData extends MRT_RowData> extends MRT_TableOptions<TData> {
@@ -66,10 +66,10 @@ import {
66
66
  useS_BasicAppShell,
67
67
  useS_ButtonImport,
68
68
  utils_layout_getItemsWithoutLinks
69
- } from "../chunk-7U5EGTYK.mjs";
70
- import "../chunk-KI5V7QJP.mjs";
69
+ } from "../chunk-6OPAZECG.mjs";
70
+ import "../chunk-Z6OQG54Q.mjs";
71
71
  import "../chunk-Y3YGC5IH.mjs";
72
- import "../chunk-CJDXLINF.mjs";
72
+ import "../chunk-5U2JSHSJ.mjs";
73
73
  import "../chunk-7ZCOFATU.mjs";
74
74
  import "../chunk-FWCSY2DS.mjs";
75
75
  export {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useQ_AQ_GetAQModule
3
- } from "../chunk-KI5V7QJP.mjs";
3
+ } from "../chunk-Z6OQG54Q.mjs";
4
4
  import "../chunk-7ZCOFATU.mjs";
5
5
  import "../chunk-FWCSY2DS.mjs";
6
6
 
@@ -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
 
@@ -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 };