aq-fe-framework 0.1.139 → 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.
- package/dist/chunk-5U2JSHSJ.mjs +22 -0
- package/dist/{chunk-2TDR7DML.mjs → chunk-6OPAZECG.mjs} +1085 -5088
- package/dist/{chunk-CJDXLINF.mjs → chunk-DRMICFA6.mjs} +0 -20
- package/dist/components/index.css +0 -6
- package/dist/components/index.mjs +3 -3
- package/dist/modules-features/index.d.mts +3 -3
- package/dist/modules-features/index.mjs +3985 -73
- package/dist/utils/index.mjs +4 -2
- package/package.json +1 -1
@@ -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,
|
@@ -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;
|
@@ -66,11 +66,11 @@ import {
|
|
66
66
|
useS_BasicAppShell,
|
67
67
|
useS_ButtonImport,
|
68
68
|
utils_layout_getItemsWithoutLinks
|
69
|
-
} from "../chunk-
|
69
|
+
} from "../chunk-6OPAZECG.mjs";
|
70
70
|
import "../chunk-Z6OQG54Q.mjs";
|
71
|
-
import "../chunk-CJDXLINF.mjs";
|
72
|
-
import "../chunk-7ZCOFATU.mjs";
|
73
71
|
import "../chunk-Y3YGC5IH.mjs";
|
72
|
+
import "../chunk-5U2JSHSJ.mjs";
|
73
|
+
import "../chunk-7ZCOFATU.mjs";
|
74
74
|
import "../chunk-FWCSY2DS.mjs";
|
75
75
|
export {
|
76
76
|
AQButtonCreateByImportFile,
|
@@ -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
|
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
|
532
|
+
declare function F_authenticate_Login({ loginInfo, redirectUrlAfterLogin, additionalActions, backgroundImage, onSuccess }: I): react_jsx_runtime.JSX.Element;
|
533
533
|
|
534
|
-
export {
|
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 };
|