aq-fe-framework 0.1.317 → 0.1.319

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,11 +1,19 @@
1
1
  import {
2
- U0DateToDDMMYYYString,
3
2
  U0MyValidateEmail,
4
3
  updateEnableList,
5
4
  utils_config_getBaseUrl,
6
5
  utils_converter_enumToSelectOptions,
7
6
  utils_file_fileToAQDocumentType
8
- } from "../chunk-VECMRDKG.mjs";
7
+ } from "../chunk-FBGCXKGK.mjs";
8
+ import {
9
+ U0DateToDDMMYYYString
10
+ } from "../chunk-I2XIN2R3.mjs";
11
+ import {
12
+ const_object_documentTypes
13
+ } from "../chunk-GFEMKKFH.mjs";
14
+ import {
15
+ enum_emailConfigModule
16
+ } from "../chunk-VH4ZAD6M.mjs";
9
17
  import {
10
18
  F_authenticate_Logout,
11
19
  MyActionIconDelete,
@@ -29,15 +37,16 @@ import {
29
37
  groupToTwoLevels,
30
38
  useS_authenticate,
31
39
  utils_layout_getItemsWithoutLinks
32
- } from "../chunk-FUHOV7NB.mjs";
33
- import "../chunk-5U2JSHSJ.mjs";
40
+ } from "../chunk-QMQQZF6X.mjs";
34
41
  import {
35
- const_object_documentTypes
36
- } from "../chunk-GFEMKKFH.mjs";
42
+ createGenericStore
43
+ } from "../chunk-Y3YGC5IH.mjs";
44
+ import "../chunk-5U2JSHSJ.mjs";
37
45
  import {
38
46
  MyButton as MyButton2,
39
47
  MyTextInput as MyTextInput2
40
- } from "../chunk-BSQT2XIP.mjs";
48
+ } from "../chunk-PSV5MULK.mjs";
49
+ import "../chunk-K6S7R6LU.mjs";
41
50
  import {
42
51
  MyFlexColumn,
43
52
  MyFlexRow
@@ -45,10 +54,6 @@ import {
45
54
  import {
46
55
  const_object_colors
47
56
  } from "../chunk-NWBLJ3W3.mjs";
48
- import {
49
- enum_emailConfigModule
50
- } from "../chunk-VH4ZAD6M.mjs";
51
- import "../chunk-K6S7R6LU.mjs";
52
57
  import {
53
58
  baseAxios_default,
54
59
  createBaseApi,
@@ -62,9 +67,6 @@ import {
62
67
  import {
63
68
  utils_notification_show
64
69
  } from "../chunk-7ZCOFATU.mjs";
65
- import {
66
- createGenericStore
67
- } from "../chunk-Y3YGC5IH.mjs";
68
70
  import {
69
71
  __objRest,
70
72
  __spreadProps,
@@ -115,6 +117,16 @@ function useS_accessControl() {
115
117
  isAllPermission
116
118
  });
117
119
  }
120
+ function utils_accessControl_mergePage(arr1, arr2) {
121
+ const pageMap = /* @__PURE__ */ new Map();
122
+ arr1.forEach((page) => pageMap.set(page.pageId, page));
123
+ arr2.forEach((page) => {
124
+ if (pageMap.has(page.pageId)) {
125
+ pageMap.set(page.pageId, page);
126
+ }
127
+ });
128
+ return Array.from(pageMap.values());
129
+ }
118
130
 
119
131
  // src/modules-features/admin/core/accessControl/F_accessControl_ReadUser.tsx
120
132
  import { jsx } from "react/jsx-runtime";
@@ -215,56 +227,6 @@ import { Checkbox, Flex, ScrollArea, Table, Text } from "@mantine/core";
215
227
  import { IconEdit, IconEyeUp, IconFileExport, IconPlus, IconPrinter, IconTrash } from "@tabler/icons-react";
216
228
  import { useQuery as useQuery2 } from "@tanstack/react-query";
217
229
  import React, { useEffect as useEffect2, useState as useState2 } from "react";
218
-
219
- // src/modules-features/admin/core/core83092/useS_core83092.tsx
220
- var useStore2 = createGenericStore({
221
- initialState: { roleId: 0 },
222
- storageKey: "useS_core83092"
223
- });
224
- function useS_core83092() {
225
- const store = useStore2();
226
- function toogleAllPermissionWithType(field, isCheck) {
227
- var _a;
228
- const updatedData = (_a = store.state.rolePermissions) == null ? void 0 : _a.map((item) => __spreadProps(__spreadValues({}, item), {
229
- [field]: isCheck
230
- }));
231
- store.setProperty("rolePermissions", updatedData);
232
- }
233
- function findByPageId(pageId) {
234
- var _a;
235
- const rolePermission = (_a = store.state.rolePermissions) == null ? void 0 : _a.find((item) => item.pageId == pageId);
236
- return rolePermission;
237
- }
238
- function updatePermission(pageId, updatedPermission) {
239
- var _a;
240
- const updatedData = (_a = store.state.rolePermissions) == null ? void 0 : _a.map(
241
- (item) => item.pageId === pageId ? __spreadValues(__spreadValues({}, item), updatedPermission) : item
242
- );
243
- store.setProperty("rolePermissions", updatedData);
244
- }
245
- function isAllPermission(field) {
246
- var _a, _b;
247
- return (_b = (_a = store.state.rolePermissions) == null ? void 0 : _a.every((item) => item[field] === true)) != null ? _b : false;
248
- }
249
- return __spreadProps(__spreadValues({}, store), {
250
- toogleAllPermissionWithType,
251
- findByPageId,
252
- updatePermission,
253
- isAllPermission
254
- });
255
- }
256
- function utils_core83092_mergePage(arr1, arr2) {
257
- const pageMap = /* @__PURE__ */ new Map();
258
- arr1.forEach((page) => pageMap.set(page.pageId, page));
259
- arr2.forEach((page) => {
260
- if (pageMap.has(page.pageId)) {
261
- pageMap.set(page.pageId, page);
262
- }
263
- });
264
- return Array.from(pageMap.values());
265
- }
266
-
267
- // src/modules-features/admin/core/accessControl/F_accessControl_ViewMenuPermissions.tsx
268
230
  import { jsx as jsx2, jsxs } from "react/jsx-runtime";
269
231
  var title = "Danh s\xE1ch ch\u1EE9c n\u0103ng";
270
232
  function F_accessControl_ViewMenuPermissions({ menuData: menuData2 }) {
@@ -468,7 +430,7 @@ function useGetUserPermission({ menuData: menuData2 }) {
468
430
  return final.filter((item) => item.pageId != void 0);
469
431
  }
470
432
  const menuDataFromAPI = result.data.data;
471
- const mergedArray = utils_core83092_mergePage(menudataFinal, menuDataFromAPI).map((item) => ({
433
+ const mergedArray = utils_accessControl_mergePage(menudataFinal, menuDataFromAPI).map((item) => ({
472
434
  pageId: item.pageId,
473
435
  isCreate: item.isCreate || false,
474
436
  isRead: item.isRead || false,
@@ -546,7 +508,7 @@ import { useQuery as useQuery3 } from "@tanstack/react-query";
546
508
  import { useEffect as useEffect4, useMemo as useMemo2, useState as useState4 } from "react";
547
509
  import { jsx as jsx5 } from "react/jsx-runtime";
548
510
  function F_accessControlLevel_ReadUser() {
549
- const store = useS_core83092();
511
+ const store = useS_accessControl();
550
512
  const query = useQ_Account_GetAdminAccount();
551
513
  const [rowSelection, setRowSelection] = useState4({});
552
514
  const columns = useMemo2(
@@ -661,7 +623,7 @@ import { jsx as jsx6, jsxs as jsxs3 } from "react/jsx-runtime";
661
623
  var title2 = "Danh s\xE1ch ch\u1EE9c n\u0103ng";
662
624
  function F_accessControlLevel_ViewMenuPermissions({ menuData: menuData2 }) {
663
625
  var _a, _b;
664
- const store = useS_core83092();
626
+ const store = useS_accessControl();
665
627
  const query = useGetUserPermission2();
666
628
  const list = useState5([]);
667
629
  useEffect5(() => {
@@ -841,7 +803,7 @@ function F_accessControlLevel_ViewMenuPermissions({ menuData: menuData2 }) {
841
803
  ] }) });
842
804
  }
843
805
  function useGetUserPermission2() {
844
- const store = useS_core83092();
806
+ const store = useS_accessControl();
845
807
  const query = useQuery4({
846
808
  queryKey: ["F_7p4mh9d75x_AuthorizationTable", store.state.roleId],
847
809
  queryFn: async () => {
@@ -860,7 +822,7 @@ function useGetUserPermission2() {
860
822
  return final.filter((item) => item.pageId != void 0);
861
823
  }
862
824
  const menuDataFromAPI = result.data.data;
863
- const mergedArray = utils_core83092_mergePage(menudataFinal, menuDataFromAPI).map((item) => ({
825
+ const mergedArray = utils_accessControl_mergePage(menudataFinal, menuDataFromAPI).map((item) => ({
864
826
  pageId: item.pageId,
865
827
  isCreate: item.isCreate || false,
866
828
  isRead: item.isRead || false,
@@ -882,7 +844,7 @@ import { useMutation as useMutation2 } from "@tanstack/react-query";
882
844
  import { useEffect as useEffect6, useState as useState6 } from "react";
883
845
  import { jsx as jsx7 } from "react/jsx-runtime";
884
846
  function F_accessControlLevel_Save() {
885
- const store = useS_core83092();
847
+ const store = useS_accessControl();
886
848
  const disable = useState6(false);
887
849
  const mutation = useMutation2({
888
850
  mutationFn: async (body) => {
@@ -953,11 +915,11 @@ import { IconShield } from "@tabler/icons-react";
953
915
  import { useMemo as useMemo4, useState as useState9 } from "react";
954
916
 
955
917
  // src/modules-features/admin/core/accountManagement/useS_accountManagement.ts
956
- var useStore3 = createGenericStore({
918
+ var useStore2 = createGenericStore({
957
919
  initialState: {}
958
920
  });
959
921
  function useS_accountManagement() {
960
- const store = useStore3();
922
+ const store = useStore2();
961
923
  return __spreadValues({}, store);
962
924
  }
963
925
 
@@ -3362,389 +3324,12 @@ function F_core76318({ SecurityTypeId }) {
3362
3324
  return /* @__PURE__ */ jsx58(F_core76318_Read, { SecurityTypeId });
3363
3325
  }
3364
3326
 
3365
- // src/modules-features/admin/core/core83092/F_core83092.tsx
3366
- import { Grid as Grid4, Paper as Paper6, ScrollArea as ScrollArea6 } from "@mantine/core";
3367
-
3368
- // src/modules-features/admin/core/core83092/F_core83092_ReadUser.tsx
3369
- import { useQuery as useQuery16 } from "@tanstack/react-query";
3370
- import { useEffect as useEffect9, useMemo as useMemo14, useState as useState10 } from "react";
3371
- import { jsx as jsx59 } from "react/jsx-runtime";
3372
- function F_core83092_ReadUser() {
3373
- const store = useS_core83092();
3374
- const query = useQ_core83092_Account_GetAdminAccount2();
3375
- const [rowSelection, setRowSelection] = useState10({});
3376
- const columns = useMemo14(
3377
- () => [
3378
- {
3379
- header: "H\u1ECD v\xE0 t\xEAn",
3380
- accessorKey: "fullName"
3381
- },
3382
- {
3383
- header: "Email",
3384
- accessorKey: "email"
3385
- }
3386
- ],
3387
- []
3388
- );
3389
- const handleRowClick = (rowId) => {
3390
- setRowSelection({ [rowId]: true });
3391
- store.setProperty("roleId", parseInt(rowId));
3392
- };
3393
- useEffect9(() => {
3394
- if (store.state.roleId == 0) return;
3395
- setRowSelection({ [store.state.roleId]: true });
3396
- }, [store.state.roleId]);
3397
- useEffect9(() => {
3398
- if (!query.data) return;
3399
- store.setProperty("roleId", query.data[0].id);
3400
- }, [query.data]);
3401
- if (query.isLoading) return "Loading...";
3402
- if (query.isError) return "C\xF3 l\u1ED7i x\u1EA3y ra!";
3403
- return /* @__PURE__ */ jsx59(
3404
- MyDataTable,
3405
- {
3406
- columns,
3407
- data: query.data,
3408
- getRowId: (row) => {
3409
- var _a;
3410
- return (_a = row.id) == null ? void 0 : _a.toString();
3411
- },
3412
- mantineTableBodyRowProps: ({ row }) => ({
3413
- onClick: () => handleRowClick(row.id),
3414
- style: {
3415
- cursor: "pointer",
3416
- backgroundColor: rowSelection[row.id] ? const_object_colors.mantineBackgroundTealLight : "transparent"
3417
- }
3418
- }),
3419
- state: rowSelection
3420
- }
3421
- );
3422
- }
3423
- function useQ_core83092_Account_GetAdminAccount2() {
3424
- const query = useQuery16({
3425
- queryKey: ["useQ_core83092_Account_GetAdminAccount"],
3426
- queryFn: async () => {
3427
- var _a;
3428
- if (process.env.NEXT_PUBLIC_APP_PROTOTYPE == "1") return mockUserData3;
3429
- const result = await baseAxios_default.get(`/Account/GetAdminAccount`, { params: { page: 5, pageNumber: 1 } });
3430
- return ((_a = result.data) == null ? void 0 : _a.data) || [];
3431
- },
3432
- refetchOnWindowFocus: false
3433
- });
3434
- return query;
3435
- }
3436
- var mockUserData3 = [
3437
- {
3438
- userName: "nguyenvana",
3439
- fullName: "Nguy\u1EC5n V\u0103n A",
3440
- email: "vana@example.com"
3441
- },
3442
- {
3443
- userName: "tranthib",
3444
- fullName: "Tr\u1EA7n Th\u1ECB B",
3445
- email: "thib@example.com"
3446
- },
3447
- {
3448
- userName: "leminhc",
3449
- fullName: "L\xEA Minh C",
3450
- email: "minhc@example.com"
3451
- },
3452
- {
3453
- userName: "phamthid",
3454
- fullName: "Ph\u1EA1m Th\u1ECB D",
3455
- email: "thid@example.com"
3456
- },
3457
- {
3458
- userName: "doanvanh",
3459
- fullName: "Do\xE3n V\u0103n H",
3460
- email: "vanh@example.com"
3461
- }
3462
- ];
3463
-
3464
- // src/modules-features/admin/core/core83092/F_core83092_Save.tsx
3465
- import { useMutation as useMutation4 } from "@tanstack/react-query";
3466
- import { useEffect as useEffect10, useState as useState11 } from "react";
3467
- import { jsx as jsx60 } from "react/jsx-runtime";
3468
- function F_core83092_Save() {
3469
- const store = useS_core83092();
3470
- const disable = useState11(false);
3471
- const mutation = useMutation4({
3472
- mutationFn: async (body) => {
3473
- const res = await baseAxios_default.put("/Role/UpdateUserPermission", body);
3474
- return res;
3475
- }
3476
- });
3477
- function handleSave() {
3478
- if (process.env.NEXT_PUBLIC_APP_PROTOTYPE == "1") {
3479
- utils_notification_show({
3480
- crudType: "update"
3481
- });
3482
- return;
3483
- }
3484
- mutation.mutate({
3485
- pagePermissions: store.state.rolePermissions,
3486
- userId: store.state.roleId
3487
- }, {
3488
- onSuccess: () => {
3489
- utils_notification_show({
3490
- crudType: "update"
3491
- });
3492
- }
3493
- });
3494
- }
3495
- useEffect10(() => {
3496
- if (!store.state.rolePermissions || store.state.rolePermissions.length == 0) {
3497
- disable[1](true);
3498
- return;
3499
- }
3500
- disable[1](false);
3501
- }, [store.state.rolePermissions]);
3502
- return /* @__PURE__ */ jsx60(MyButton, { disabled: disable[0], crudType: "save", onClick: handleSave });
3503
- }
3504
-
3505
- // src/modules-features/admin/core/core83092/F_core83092_ViewMenuPermissions.tsx
3506
- import { Checkbox as Checkbox3, Flex as Flex3, ScrollArea as ScrollArea5, Table as Table4, Text as Text3 } from "@mantine/core";
3507
- import { IconEdit as IconEdit3, IconEyeUp as IconEyeUp3, IconFileExport as IconFileExport3, IconPlus as IconPlus3, IconPrinter as IconPrinter3, IconTrash as IconTrash3 } from "@tabler/icons-react";
3508
- import { useQuery as useQuery17 } from "@tanstack/react-query";
3509
- import React3, { useEffect as useEffect11, useState as useState12 } from "react";
3510
- import { jsx as jsx61, jsxs as jsxs39 } from "react/jsx-runtime";
3511
- var title3 = "Danh s\xE1ch ch\u1EE9c n\u0103ng";
3512
- function F_core83092_ViewMenuPermissions({ menuData: menuData2 }) {
3513
- var _a, _b;
3514
- const store = useS_core83092();
3515
- const query = useGetUserPermission3({ menuData: menuData2 });
3516
- const list = useState12([]);
3517
- useEffect11(() => {
3518
- list[1](groupToTwoLevels(menuData2));
3519
- }, []);
3520
- useEffect11(() => {
3521
- if (!query.data) return;
3522
- store.setProperty("rolePermissions", query.data);
3523
- }, [query.data]);
3524
- if (((_a = list[0]) == null ? void 0 : _a.length) == 0) return "\u0110ang t\u1EA3i...";
3525
- return /* @__PURE__ */ jsx61(ScrollArea5.Autosize, { h: "70vh", children: /* @__PURE__ */ jsxs39(Table4, { children: [
3526
- /* @__PURE__ */ jsx61(
3527
- Table4.Thead,
3528
- {
3529
- bg: "light-dark(var(--mantine-color-white), var(--mantine-color-dark-8))",
3530
- style: {
3531
- position: "sticky",
3532
- top: 0,
3533
- zIndex: 1,
3534
- boxShadow: "0px 4px 6px rgba(0, 0, 0, 0.1)",
3535
- border: "1px solid var(--mantine-color-gray-4)"
3536
- },
3537
- children: /* @__PURE__ */ jsxs39(Table4.Tr, { children: [
3538
- /* @__PURE__ */ jsx61(Table4.Th, { children: title3 }),
3539
- /* @__PURE__ */ jsx61(Table4.Th, { children: /* @__PURE__ */ jsxs39(Flex3, { gap: 3, direction: "column", justify: "center", align: "center", children: [
3540
- /* @__PURE__ */ jsx61(Checkbox3, { checked: store.isAllPermission("isRead"), onChange: (e) => {
3541
- store.toogleAllPermissionWithType("isRead", e.target.checked);
3542
- } }),
3543
- /* @__PURE__ */ jsxs39(MyFlexRow, { gap: 3, children: [
3544
- "Xem",
3545
- /* @__PURE__ */ jsx61(IconEyeUp3, { color: "gray" })
3546
- ] })
3547
- ] }) }),
3548
- /* @__PURE__ */ jsx61(Table4.Th, { children: /* @__PURE__ */ jsxs39(Flex3, { gap: 3, direction: "column", justify: "center", align: "center", children: [
3549
- /* @__PURE__ */ jsx61(Checkbox3, { checked: store.isAllPermission("isCreate"), onChange: (e) => {
3550
- store.toogleAllPermissionWithType("isCreate", e.target.checked);
3551
- } }),
3552
- /* @__PURE__ */ jsxs39(MyFlexRow, { gap: 3, children: [
3553
- "Th\xEAm",
3554
- /* @__PURE__ */ jsx61(IconPlus3, { color: "blue" })
3555
- ] })
3556
- ] }) }),
3557
- /* @__PURE__ */ jsx61(Table4.Th, { children: /* @__PURE__ */ jsxs39(Flex3, { gap: 3, direction: "column", justify: "center", align: "center", children: [
3558
- /* @__PURE__ */ jsx61(Checkbox3, { checked: store.isAllPermission("isUpdate"), onChange: (e) => {
3559
- store.toogleAllPermissionWithType("isUpdate", e.target.checked);
3560
- } }),
3561
- /* @__PURE__ */ jsxs39(MyFlexRow, { gap: 3, children: [
3562
- "S\u1EEDa",
3563
- /* @__PURE__ */ jsx61(IconEdit3, { color: "var(--mantine-color-yellow-8)" })
3564
- ] })
3565
- ] }) }),
3566
- /* @__PURE__ */ jsx61(Table4.Th, { children: /* @__PURE__ */ jsxs39(Flex3, { gap: 3, direction: "column", justify: "center", align: "center", children: [
3567
- /* @__PURE__ */ jsx61(Checkbox3, { checked: store.isAllPermission("isDelete"), onChange: (e) => {
3568
- store.toogleAllPermissionWithType("isDelete", e.target.checked);
3569
- } }),
3570
- /* @__PURE__ */ jsxs39(MyFlexRow, { gap: 3, children: [
3571
- "X\xF3a",
3572
- /* @__PURE__ */ jsx61(IconTrash3, { color: "var(--mantine-color-red-8)" })
3573
- ] })
3574
- ] }) }),
3575
- /* @__PURE__ */ jsx61(Table4.Th, { children: /* @__PURE__ */ jsxs39(Flex3, { gap: 3, direction: "column", justify: "center", align: "center", children: [
3576
- /* @__PURE__ */ jsx61(Checkbox3, { checked: store.isAllPermission("isPrint"), onChange: (e) => {
3577
- store.toogleAllPermissionWithType("isPrint", e.target.checked);
3578
- } }),
3579
- /* @__PURE__ */ jsxs39(MyFlexRow, { gap: 3, children: [
3580
- "In",
3581
- /* @__PURE__ */ jsx61(IconPrinter3, { color: "var(--mantine-color-cyan-8)" })
3582
- ] })
3583
- ] }) }),
3584
- /* @__PURE__ */ jsx61(Table4.Th, { children: /* @__PURE__ */ jsxs39(Flex3, { gap: 3, direction: "column", justify: "center", align: "center", children: [
3585
- /* @__PURE__ */ jsx61(Checkbox3, { checked: store.isAllPermission("isExport"), onChange: (e) => {
3586
- store.toogleAllPermissionWithType("isExport", e.target.checked);
3587
- } }),
3588
- /* @__PURE__ */ jsxs39(MyFlexRow, { gap: 3, children: [
3589
- "Xu\u1EA5t",
3590
- /* @__PURE__ */ jsx61(IconFileExport3, { color: "var(--mantine-color-green-8)" })
3591
- ] })
3592
- ] }) })
3593
- ] })
3594
- }
3595
- ),
3596
- /* @__PURE__ */ jsx61(Table4.Tbody, { bg: "light-dark(var(--mantine-color-white), var(--mantine-color-dark-8))", children: (_b = list[0]) == null ? void 0 : _b.map((item, idx) => {
3597
- if (item.links == void 0) return /* @__PURE__ */ jsxs39(Table4.Tr, { children: [
3598
- /* @__PURE__ */ jsx61(Table4.Td, { children: item.label }),
3599
- /* @__PURE__ */ jsx61(Table4.Td, { children: /* @__PURE__ */ jsx61(MyCenterFull, { children: /* @__PURE__ */ jsx61(Checkbox3, {}) }) }),
3600
- /* @__PURE__ */ jsx61(Table4.Td, { children: /* @__PURE__ */ jsx61(MyCenterFull, { children: /* @__PURE__ */ jsx61(Checkbox3, {}) }) }),
3601
- /* @__PURE__ */ jsx61(Table4.Td, { children: /* @__PURE__ */ jsx61(MyCenterFull, { children: /* @__PURE__ */ jsx61(Checkbox3, {}) }) }),
3602
- /* @__PURE__ */ jsx61(Table4.Td, { children: /* @__PURE__ */ jsx61(MyCenterFull, { children: /* @__PURE__ */ jsx61(Checkbox3, {}) }) }),
3603
- /* @__PURE__ */ jsx61(Table4.Td, { children: /* @__PURE__ */ jsx61(MyCenterFull, { children: /* @__PURE__ */ jsx61(Checkbox3, {}) }) }),
3604
- /* @__PURE__ */ jsx61(Table4.Td, { children: /* @__PURE__ */ jsx61(MyCenterFull, { children: /* @__PURE__ */ jsx61(Checkbox3, {}) }) })
3605
- ] }, idx);
3606
- return /* @__PURE__ */ jsxs39(React3.Fragment, { children: [
3607
- /* @__PURE__ */ jsx61(Table4.Tr, { children: /* @__PURE__ */ jsx61(
3608
- Table4.Td,
3609
- {
3610
- colSpan: 7,
3611
- bg: const_object_colors.mantineBackgroundBlueLight,
3612
- children: /* @__PURE__ */ jsx61(Text3, { fs: "oblique", size: "sm", fw: "bold", children: item.label })
3613
- }
3614
- ) }, item.label),
3615
- item.links.map(
3616
- (item2, idx2) => {
3617
- var _a2, _b2, _c, _d, _e, _f;
3618
- return /* @__PURE__ */ jsxs39(Table4.Tr, { children: [
3619
- /* @__PURE__ */ jsx61(Table4.Td, { children: item2.label }),
3620
- /* @__PURE__ */ jsx61(Table4.Td, { children: /* @__PURE__ */ jsx61(MyCenterFull, { children: /* @__PURE__ */ jsx61(
3621
- Checkbox3,
3622
- {
3623
- checked: ((_a2 = store.findByPageId(item2.pageId)) == null ? void 0 : _a2.isRead) || false,
3624
- onChange: (e) => {
3625
- store.updatePermission(item2.pageId, {
3626
- isRead: e.target.checked
3627
- });
3628
- }
3629
- }
3630
- ) }) }),
3631
- /* @__PURE__ */ jsx61(Table4.Td, { children: /* @__PURE__ */ jsx61(MyCenterFull, { children: /* @__PURE__ */ jsx61(
3632
- Checkbox3,
3633
- {
3634
- checked: ((_b2 = store.findByPageId(item2.pageId)) == null ? void 0 : _b2.isCreate) || false,
3635
- onChange: (e) => {
3636
- store.updatePermission(item2.pageId, {
3637
- isCreate: e.target.checked
3638
- });
3639
- }
3640
- }
3641
- ) }) }),
3642
- /* @__PURE__ */ jsx61(Table4.Td, { children: /* @__PURE__ */ jsx61(MyCenterFull, { children: /* @__PURE__ */ jsx61(
3643
- Checkbox3,
3644
- {
3645
- checked: ((_c = store.findByPageId(item2.pageId)) == null ? void 0 : _c.isUpdate) || false,
3646
- onChange: (e) => {
3647
- store.updatePermission(item2.pageId, {
3648
- isUpdate: e.target.checked
3649
- });
3650
- }
3651
- }
3652
- ) }) }),
3653
- /* @__PURE__ */ jsx61(Table4.Td, { children: /* @__PURE__ */ jsx61(MyCenterFull, { children: /* @__PURE__ */ jsx61(
3654
- Checkbox3,
3655
- {
3656
- checked: ((_d = store.findByPageId(item2.pageId)) == null ? void 0 : _d.isDelete) || false,
3657
- onChange: (e) => {
3658
- store.updatePermission(item2.pageId, {
3659
- isDelete: e.target.checked
3660
- });
3661
- }
3662
- }
3663
- ) }) }),
3664
- /* @__PURE__ */ jsx61(Table4.Td, { children: /* @__PURE__ */ jsx61(MyCenterFull, { children: /* @__PURE__ */ jsx61(
3665
- Checkbox3,
3666
- {
3667
- checked: ((_e = store.findByPageId(item2.pageId)) == null ? void 0 : _e.isPrint) || false,
3668
- onChange: (e) => {
3669
- store.updatePermission(item2.pageId, {
3670
- isPrint: e.target.checked
3671
- });
3672
- }
3673
- }
3674
- ) }) }),
3675
- /* @__PURE__ */ jsx61(Table4.Td, { children: /* @__PURE__ */ jsx61(MyCenterFull, { children: /* @__PURE__ */ jsx61(
3676
- Checkbox3,
3677
- {
3678
- checked: ((_f = store.findByPageId(item2.pageId)) == null ? void 0 : _f.isExport) || false,
3679
- onChange: (e) => {
3680
- store.updatePermission(item2.pageId, {
3681
- isExport: e.target.checked
3682
- });
3683
- }
3684
- }
3685
- ) }) })
3686
- ] }, idx2);
3687
- }
3688
- )
3689
- ] }, idx);
3690
- }) })
3691
- ] }) });
3692
- }
3693
- function useGetUserPermission3({ menuData: menuData2 }) {
3694
- const store = useS_core83092();
3695
- const query = useQuery17({
3696
- queryKey: ["F_7p4mh9d75x_AuthorizationTable", store.state.roleId],
3697
- queryFn: async () => {
3698
- const result = await baseAxios_default.get("/Role/GetUserPermission?userId=" + store.state.roleId);
3699
- const menudataFinal = utils_layout_getItemsWithoutLinks(menuData2);
3700
- if (result.data.data.length == 0) {
3701
- const final = menudataFinal.map((item) => ({
3702
- pageId: item.pageId,
3703
- isRead: false,
3704
- isCreate: false,
3705
- isUpdate: false,
3706
- isDelete: false,
3707
- isExport: false,
3708
- isPrint: false
3709
- }));
3710
- return final.filter((item) => item.pageId != void 0);
3711
- }
3712
- const menuDataFromAPI = result.data.data;
3713
- const mergedArray = utils_core83092_mergePage(menudataFinal, menuDataFromAPI).map((item) => ({
3714
- pageId: item.pageId,
3715
- isCreate: item.isCreate || false,
3716
- isRead: item.isRead || false,
3717
- isUpdate: item.isUpdate || false || false,
3718
- isDelete: item.isDelete,
3719
- isPrint: item.isPrint || false,
3720
- isExport: item.isExport || false
3721
- })).filter((item) => item.pageId != void 0);
3722
- return mergedArray;
3723
- },
3724
- enabled: store.state.roleId != 0,
3725
- refetchOnWindowFocus: false
3726
- });
3727
- return query;
3728
- }
3729
-
3730
- // src/modules-features/admin/core/core83092/F_core83092.tsx
3731
- import { jsx as jsx62, jsxs as jsxs40 } from "react/jsx-runtime";
3732
- function F_core83092({ menuData: menuData2 }) {
3733
- return /* @__PURE__ */ jsxs40(Grid4, { children: [
3734
- /* @__PURE__ */ jsx62(Grid4.Col, { span: { base: 12, sm: 5 }, children: /* @__PURE__ */ jsx62(ScrollArea6.Autosize, { children: /* @__PURE__ */ jsx62(F_core83092_ReadUser, {}) }) }),
3735
- /* @__PURE__ */ jsx62(Grid4.Col, { span: { base: 12, sm: 7 }, children: /* @__PURE__ */ jsxs40(MyFlexColumn, { h: "80vh", flex: 1, children: [
3736
- /* @__PURE__ */ jsx62(ScrollArea6.Autosize, { h: "100%", children: /* @__PURE__ */ jsx62(Paper6, { p: "md", bg: const_object_colors.mantineBackgroundSecondary, children: /* @__PURE__ */ jsx62(F_core83092_ViewMenuPermissions, { menuData: menuData2 }) }) }),
3737
- /* @__PURE__ */ jsx62(F_core83092_Save, {})
3738
- ] }) })
3739
- ] });
3740
- }
3741
-
3742
3327
  // src/modules-features/admin/core/formTemplateDocs/F_formTemplateDocs.tsx
3743
- import { Paper as Paper7, Space as Space4 } from "@mantine/core";
3328
+ import { Paper as Paper6, Space as Space4 } from "@mantine/core";
3744
3329
 
3745
3330
  // src/modules-features/admin/core/formTemplateDocs/F_formTemplateDocs_Create.tsx
3746
3331
  import { useForm as useForm19 } from "@mantine/form";
3747
- import { jsx as jsx63, jsxs as jsxs41 } from "react/jsx-runtime";
3332
+ import { jsx as jsx59, jsxs as jsxs39 } from "react/jsx-runtime";
3748
3333
  function F_formTemplateDocs_Create({ FormTypeId }) {
3749
3334
  const form = useForm19({
3750
3335
  mode: "uncontrolled",
@@ -3756,7 +3341,7 @@ function F_formTemplateDocs_Create({ FormTypeId }) {
3756
3341
  file: (value) => value ? null : "T\u1EC7p \u0111\xEDnh k\xE8m kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
3757
3342
  }
3758
3343
  });
3759
- return /* @__PURE__ */ jsxs41(
3344
+ return /* @__PURE__ */ jsxs39(
3760
3345
  MyButtonCreate,
3761
3346
  {
3762
3347
  objectName: "V\u0103n b\u1EA3n quy \u0111\u1ECBnh t\u1ED5 ch\u1EE9c",
@@ -3768,28 +3353,28 @@ function F_formTemplateDocs_Create({ FormTypeId }) {
3768
3353
  }));
3769
3354
  },
3770
3355
  children: [
3771
- /* @__PURE__ */ jsx63(
3356
+ /* @__PURE__ */ jsx59(
3772
3357
  MyTextInput,
3773
3358
  __spreadValues({
3774
3359
  withAsterisk: true,
3775
3360
  label: "S\u1ED1 quy \u0111\u1ECBnh"
3776
3361
  }, form.getInputProps("decisionCode"))
3777
3362
  ),
3778
- /* @__PURE__ */ jsx63(
3363
+ /* @__PURE__ */ jsx59(
3779
3364
  MyDateInput,
3780
3365
  __spreadValues({
3781
3366
  withAsterisk: true,
3782
3367
  label: "Ng\xE0y ban h\xE0nh"
3783
3368
  }, form.getInputProps("promulgateDate"))
3784
3369
  ),
3785
- /* @__PURE__ */ jsx63(
3370
+ /* @__PURE__ */ jsx59(
3786
3371
  MyTextInput,
3787
3372
  __spreadValues({
3788
3373
  withAsterisk: true,
3789
3374
  label: "T\xEAn t\xE0i li\u1EC7u"
3790
3375
  }, form.getInputProps("name"))
3791
3376
  ),
3792
- /* @__PURE__ */ jsx63(
3377
+ /* @__PURE__ */ jsx59(
3793
3378
  F_core18256_Select,
3794
3379
  __spreadValues({
3795
3380
  withAsterisk: true,
@@ -3797,14 +3382,14 @@ function F_formTemplateDocs_Create({ FormTypeId }) {
3797
3382
  documentTypeId: FormTypeId
3798
3383
  }, form.getInputProps("documentAttributeId"))
3799
3384
  ),
3800
- /* @__PURE__ */ jsx63(
3385
+ /* @__PURE__ */ jsx59(
3801
3386
  MyFileInput,
3802
3387
  __spreadValues({
3803
3388
  withAsterisk: true,
3804
3389
  label: "V\u0103n b\u1EA3n"
3805
3390
  }, form.getInputProps("file"))
3806
3391
  ),
3807
- /* @__PURE__ */ jsx63(
3392
+ /* @__PURE__ */ jsx59(
3808
3393
  MyNumberInput,
3809
3394
  __spreadValues({
3810
3395
  label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch"
@@ -3817,17 +3402,17 @@ function F_formTemplateDocs_Create({ FormTypeId }) {
3817
3402
 
3818
3403
  // src/modules-features/admin/core/formTemplateDocs/F_formTemplateDocs_Read.tsx
3819
3404
  import { Accordion as Accordion4, Alert as Alert4, Blockquote as Blockquote4, Skeleton as Skeleton4 } from "@mantine/core";
3820
- import { useQuery as useQuery18 } from "@tanstack/react-query";
3821
- import { useMemo as useMemo15 } from "react";
3405
+ import { useQuery as useQuery16 } from "@tanstack/react-query";
3406
+ import { useMemo as useMemo14 } from "react";
3822
3407
  import { IconBug as IconBug4 } from "@tabler/icons-react";
3823
3408
 
3824
3409
  // src/modules-features/admin/core/formTemplateDocs/F_formTemplateDocs_Delete.tsx
3825
- import { jsx as jsx64 } from "react/jsx-runtime";
3410
+ import { jsx as jsx60 } from "react/jsx-runtime";
3826
3411
  function F_formTemplateDocs_Delete({
3827
3412
  id,
3828
3413
  contextData
3829
3414
  }) {
3830
- return /* @__PURE__ */ jsx64(
3415
+ return /* @__PURE__ */ jsx60(
3831
3416
  MyActionIconDelete,
3832
3417
  {
3833
3418
  contextData,
@@ -3838,7 +3423,7 @@ function F_formTemplateDocs_Delete({
3838
3423
 
3839
3424
  // src/modules-features/admin/core/formTemplateDocs/F_formTemplateDocs_Update.tsx
3840
3425
  import { useForm as useForm20 } from "@mantine/form";
3841
- import { jsx as jsx65, jsxs as jsxs42 } from "react/jsx-runtime";
3426
+ import { jsx as jsx61, jsxs as jsxs40 } from "react/jsx-runtime";
3842
3427
  function F_formTemplateDocs_Update({
3843
3428
  values,
3844
3429
  FormTypeId
@@ -3860,7 +3445,7 @@ function F_formTemplateDocs_Update({
3860
3445
  file: (value) => value ? null : "T\u1EC7p \u0111\xEDnh k\xE8m kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
3861
3446
  }
3862
3447
  });
3863
- return /* @__PURE__ */ jsxs42(
3448
+ return /* @__PURE__ */ jsxs40(
3864
3449
  MyActionIconUpdate,
3865
3450
  {
3866
3451
  form,
@@ -3870,28 +3455,28 @@ function F_formTemplateDocs_Update({
3870
3455
  }));
3871
3456
  },
3872
3457
  children: [
3873
- /* @__PURE__ */ jsx65(
3458
+ /* @__PURE__ */ jsx61(
3874
3459
  MyTextInput,
3875
3460
  __spreadValues({
3876
3461
  withAsterisk: true,
3877
3462
  label: "S\u1ED1 quy \u0111\u1ECBnh"
3878
3463
  }, form.getInputProps("decisionCode"))
3879
3464
  ),
3880
- /* @__PURE__ */ jsx65(
3465
+ /* @__PURE__ */ jsx61(
3881
3466
  MyDateInput,
3882
3467
  __spreadValues({
3883
3468
  withAsterisk: true,
3884
3469
  label: "Ng\xE0y ban h\xE0nh"
3885
3470
  }, form.getInputProps("promulgateDate"))
3886
3471
  ),
3887
- /* @__PURE__ */ jsx65(
3472
+ /* @__PURE__ */ jsx61(
3888
3473
  MyTextInput,
3889
3474
  __spreadValues({
3890
3475
  withAsterisk: true,
3891
3476
  label: "T\xEAn t\xE0i li\u1EC7u"
3892
3477
  }, form.getInputProps("name"))
3893
3478
  ),
3894
- /* @__PURE__ */ jsx65(
3479
+ /* @__PURE__ */ jsx61(
3895
3480
  F_core18256_Select,
3896
3481
  __spreadValues({
3897
3482
  withAsterisk: true,
@@ -3899,14 +3484,14 @@ function F_formTemplateDocs_Update({
3899
3484
  documentTypeId: FormTypeId
3900
3485
  }, form.getInputProps("documentAttributeId"))
3901
3486
  ),
3902
- /* @__PURE__ */ jsx65(
3487
+ /* @__PURE__ */ jsx61(
3903
3488
  MyFileInput,
3904
3489
  __spreadValues({
3905
3490
  withAsterisk: true,
3906
3491
  label: "V\u0103n b\u1EA3n"
3907
3492
  }, form.getInputProps("file"))
3908
3493
  ),
3909
- /* @__PURE__ */ jsx65(
3494
+ /* @__PURE__ */ jsx61(
3910
3495
  MyNumberInput,
3911
3496
  __spreadValues({
3912
3497
  label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch"
@@ -3918,10 +3503,10 @@ function F_formTemplateDocs_Update({
3918
3503
  }
3919
3504
 
3920
3505
  // src/modules-features/admin/core/formTemplateDocs/F_formTemplateDocs_Read.tsx
3921
- import { jsx as jsx66, jsxs as jsxs43 } from "react/jsx-runtime";
3506
+ import { jsx as jsx62, jsxs as jsxs41 } from "react/jsx-runtime";
3922
3507
  function F_formTemplateDocs_Read({ FormTypeId }) {
3923
3508
  var _a, _b, _c;
3924
- const documentAttributeQuery = useQuery18({
3509
+ const documentAttributeQuery = useQuery16({
3925
3510
  queryKey: ["F_formTemplateDocs_Read", FormTypeId],
3926
3511
  queryFn: async () => {
3927
3512
  var _a2;
@@ -3932,10 +3517,10 @@ function F_formTemplateDocs_Read({ FormTypeId }) {
3932
3517
  }
3933
3518
  });
3934
3519
  if (((_a = documentAttributeQuery.data) == null ? void 0 : _a.length) == 0)
3935
- return /* @__PURE__ */ jsx66(Blockquote4, { color: "yellow", children: "Ch\u01B0a c\xF3 lo\u1EA1i v\u0103n b\u1EA3n" });
3520
+ return /* @__PURE__ */ jsx62(Blockquote4, { color: "yellow", children: "Ch\u01B0a c\xF3 lo\u1EA1i v\u0103n b\u1EA3n" });
3936
3521
  if (documentAttributeQuery.isError)
3937
- return /* @__PURE__ */ jsx66(Alert4, { icon: /* @__PURE__ */ jsx66(IconBug4, {}), color: "red", title: "C\xF3 l\u1ED7i x\u1EA3y ra!", m: "md" });
3938
- return /* @__PURE__ */ jsx66(Skeleton4, { h: 500, visible: documentAttributeQuery.isLoading, children: /* @__PURE__ */ jsx66(MyFlexColumn, { children: /* @__PURE__ */ jsx66(
3522
+ return /* @__PURE__ */ jsx62(Alert4, { icon: /* @__PURE__ */ jsx62(IconBug4, {}), color: "red", title: "C\xF3 l\u1ED7i x\u1EA3y ra!", m: "md" });
3523
+ return /* @__PURE__ */ jsx62(Skeleton4, { h: 500, visible: documentAttributeQuery.isLoading, children: /* @__PURE__ */ jsx62(MyFlexColumn, { children: /* @__PURE__ */ jsx62(
3939
3524
  Accordion4,
3940
3525
  {
3941
3526
  variant: "contained",
@@ -3946,7 +3531,7 @@ function F_formTemplateDocs_Read({ FormTypeId }) {
3946
3531
  }
3947
3532
  ),
3948
3533
  multiple: true,
3949
- children: (_c = documentAttributeQuery.data) == null ? void 0 : _c.map((item, idx) => /* @__PURE__ */ jsx66(
3534
+ children: (_c = documentAttributeQuery.data) == null ? void 0 : _c.map((item, idx) => /* @__PURE__ */ jsx62(
3950
3535
  SubRead4,
3951
3536
  {
3952
3537
  name: item.name,
@@ -3963,7 +3548,7 @@ function SubRead4({
3963
3548
  documentType,
3964
3549
  FormTypeId
3965
3550
  }) {
3966
- const documentQuery = useQuery18({
3551
+ const documentQuery = useQuery16({
3967
3552
  queryKey: ["SF2_3Read" + documentType],
3968
3553
  queryFn: async () => {
3969
3554
  const result = await baseAxios_default.get(
@@ -3972,7 +3557,7 @@ function SubRead4({
3972
3557
  return result.data.data;
3973
3558
  }
3974
3559
  });
3975
- const columns = useMemo15(
3560
+ const columns = useMemo14(
3976
3561
  () => [
3977
3562
  {
3978
3563
  header: "S\u1ED1 quy \u0111\u1ECBnh",
@@ -3989,7 +3574,7 @@ function SubRead4({
3989
3574
  {
3990
3575
  header: "File",
3991
3576
  accessorFn: (row) => {
3992
- return /* @__PURE__ */ jsx66(MyCenterFull, { children: /* @__PURE__ */ jsx66(MyButtonViewPDF, { id: row.id }) });
3577
+ return /* @__PURE__ */ jsx62(MyCenterFull, { children: /* @__PURE__ */ jsx62(MyButtonViewPDF, { id: row.id }) });
3993
3578
  }
3994
3579
  }
3995
3580
  ],
@@ -3997,24 +3582,24 @@ function SubRead4({
3997
3582
  );
3998
3583
  if (documentQuery.isLoading) return "Loading...";
3999
3584
  if (documentQuery.isError) return "Error!";
4000
- return /* @__PURE__ */ jsxs43(Accordion4.Item, { value: documentType.toString(), children: [
4001
- /* @__PURE__ */ jsx66(Accordion4.Control, { children: name }),
4002
- /* @__PURE__ */ jsx66(Accordion4.Panel, { children: /* @__PURE__ */ jsx66(
3585
+ return /* @__PURE__ */ jsxs41(Accordion4.Item, { value: documentType.toString(), children: [
3586
+ /* @__PURE__ */ jsx62(Accordion4.Control, { children: name }),
3587
+ /* @__PURE__ */ jsx62(Accordion4.Panel, { children: /* @__PURE__ */ jsx62(
4003
3588
  MyDataTable,
4004
3589
  {
4005
3590
  isLoading: documentQuery.isLoading,
4006
3591
  isError: documentQuery.isError,
4007
3592
  columns,
4008
3593
  data: documentQuery.data || [],
4009
- renderRowActions: ({ row }) => /* @__PURE__ */ jsxs43(MyCenterFull, { children: [
4010
- /* @__PURE__ */ jsx66(
3594
+ renderRowActions: ({ row }) => /* @__PURE__ */ jsxs41(MyCenterFull, { children: [
3595
+ /* @__PURE__ */ jsx62(
4011
3596
  F_formTemplateDocs_Update,
4012
3597
  {
4013
3598
  FormTypeId,
4014
3599
  values: row.original
4015
3600
  }
4016
3601
  ),
4017
- /* @__PURE__ */ jsx66(
3602
+ /* @__PURE__ */ jsx62(
4018
3603
  F_formTemplateDocs_Delete,
4019
3604
  {
4020
3605
  id: row.original.id,
@@ -4028,44 +3613,44 @@ function SubRead4({
4028
3613
  }
4029
3614
 
4030
3615
  // src/modules-features/admin/core/formTemplateDocs/F_formTemplateDocs.tsx
4031
- import { jsx as jsx67, jsxs as jsxs44 } from "react/jsx-runtime";
3616
+ import { jsx as jsx63, jsxs as jsxs42 } from "react/jsx-runtime";
4032
3617
  function F_formTemplateDocs({
4033
3618
  FormTypeId
4034
3619
  }) {
4035
- return /* @__PURE__ */ jsxs44(Paper7, { p: "md", children: [
4036
- /* @__PURE__ */ jsx67(MyFlexEnd, { children: /* @__PURE__ */ jsx67(F_formTemplateDocs_Create, { FormTypeId }) }),
4037
- /* @__PURE__ */ jsx67(Space4, {}),
4038
- /* @__PURE__ */ jsx67(F_formTemplateDocs_Read, { FormTypeId })
3620
+ return /* @__PURE__ */ jsxs42(Paper6, { p: "md", children: [
3621
+ /* @__PURE__ */ jsx63(MyFlexEnd, { children: /* @__PURE__ */ jsx63(F_formTemplateDocs_Create, { FormTypeId }) }),
3622
+ /* @__PURE__ */ jsx63(Space4, {}),
3623
+ /* @__PURE__ */ jsx63(F_formTemplateDocs_Read, { FormTypeId })
4039
3624
  ] });
4040
3625
  }
4041
3626
 
4042
3627
  // src/modules-features/admin/core/moduleConfig/F_moduleConfig.tsx
4043
- import { useEffect as useEffect13 } from "react";
3628
+ import { useEffect as useEffect10 } from "react";
4044
3629
 
4045
3630
  // src/modules-features/admin/core/moduleConfig/F_moduleConfig_Form.tsx
4046
- import { Center, Grid as Grid5, Image, Paper as Paper8 } from "@mantine/core";
3631
+ import { Center, Grid as Grid4, Image, Paper as Paper7 } from "@mantine/core";
4047
3632
  import { useForm as useForm21 } from "@mantine/form";
4048
- import { useEffect as useEffect12 } from "react";
3633
+ import { useEffect as useEffect9 } from "react";
4049
3634
 
4050
3635
  // src/modules-features/admin/core/moduleConfig/F_moduleConfig_Save.tsx
4051
- import { useMutation as useMutation5 } from "@tanstack/react-query";
3636
+ import { useMutation as useMutation4 } from "@tanstack/react-query";
4052
3637
 
4053
3638
  // src/modules-features/admin/core/moduleConfig/useS_moduleConfig.ts
4054
- var useStore4 = createGenericStore({
3639
+ var useStore3 = createGenericStore({
4055
3640
  initialState: {}
4056
3641
  });
4057
3642
  function useS_moduleConfig() {
4058
- const store = useStore4();
3643
+ const store = useStore3();
4059
3644
  return __spreadValues({}, store);
4060
3645
  }
4061
3646
 
4062
3647
  // src/modules-features/admin/core/moduleConfig/F_moduleConfig_Save.tsx
4063
- import { jsx as jsx68 } from "react/jsx-runtime";
3648
+ import { jsx as jsx64 } from "react/jsx-runtime";
4064
3649
  function F_moduleConfig_Save({
4065
3650
  form
4066
3651
  }) {
4067
3652
  const store = useS_moduleConfig();
4068
- const mutation = useMutation5({
3653
+ const mutation = useMutation4({
4069
3654
  mutationFn: async (body) => {
4070
3655
  const res = await baseAxios_default.post("/AQ/UpdateAQSetting", body);
4071
3656
  return res;
@@ -4094,7 +3679,7 @@ function F_moduleConfig_Save({
4094
3679
  }
4095
3680
  });
4096
3681
  }
4097
- return /* @__PURE__ */ jsx68(
3682
+ return /* @__PURE__ */ jsx64(
4098
3683
  MyButton,
4099
3684
  {
4100
3685
  disabled: !form.isDirty(),
@@ -4105,7 +3690,7 @@ function F_moduleConfig_Save({
4105
3690
  }
4106
3691
 
4107
3692
  // src/modules-features/admin/core/moduleConfig/F_moduleConfig_Form.tsx
4108
- import { jsx as jsx69, jsxs as jsxs45 } from "react/jsx-runtime";
3693
+ import { jsx as jsx65, jsxs as jsxs43 } from "react/jsx-runtime";
4109
3694
  function F_moduleConfig_Form() {
4110
3695
  var _a, _b, _c, _d;
4111
3696
  const query = useQ_AQ_GetAQModule();
@@ -4116,7 +3701,7 @@ function F_moduleConfig_Form() {
4116
3701
  logoFileDetail: (value) => value ? null : "Kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
4117
3702
  }
4118
3703
  });
4119
- useEffect12(() => {
3704
+ useEffect9(() => {
4120
3705
  var _a2, _b2;
4121
3706
  if (!query.data) return;
4122
3707
  const values = {
@@ -4137,14 +3722,14 @@ function F_moduleConfig_Form() {
4137
3722
  form.setInitialValues(values);
4138
3723
  form.setValues(values);
4139
3724
  }, [query.data]);
4140
- return /* @__PURE__ */ jsxs45(Paper8, { p: "md", children: [
4141
- /* @__PURE__ */ jsxs45(Grid5, { children: [
4142
- /* @__PURE__ */ jsx69(Grid5.Col, { span: 5, children: /* @__PURE__ */ jsx69(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("code")), { label: "M\xE3 module", disabled: true })) }),
4143
- /* @__PURE__ */ jsx69(Grid5.Col, { span: { base: 12, md: 7 }, children: /* @__PURE__ */ jsx69(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("name")), { label: "T\xEAn module" })) }),
4144
- /* @__PURE__ */ jsx69(Grid5.Col, { span: 12, children: /* @__PURE__ */ jsx69(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("officelName")), { label: "T\xEAn \u0111\u01A1n v\u1ECB ch\u1EE7 qu\u1EA3n" })) }),
4145
- /* @__PURE__ */ jsx69(Grid5.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx69(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("email")), { label: "Email" })) }),
4146
- /* @__PURE__ */ jsx69(Grid5.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx69(MyTextInput, __spreadProps(__spreadValues({ isPhoneNumber: true }, form.getInputProps("phoneNumber")), { label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" })) }),
4147
- /* @__PURE__ */ jsx69(Grid5.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx69(
3725
+ return /* @__PURE__ */ jsxs43(Paper7, { p: "md", children: [
3726
+ /* @__PURE__ */ jsxs43(Grid4, { children: [
3727
+ /* @__PURE__ */ jsx65(Grid4.Col, { span: 5, children: /* @__PURE__ */ jsx65(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("code")), { label: "M\xE3 module", disabled: true })) }),
3728
+ /* @__PURE__ */ jsx65(Grid4.Col, { span: { base: 12, md: 7 }, children: /* @__PURE__ */ jsx65(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("name")), { label: "T\xEAn module" })) }),
3729
+ /* @__PURE__ */ jsx65(Grid4.Col, { span: 12, children: /* @__PURE__ */ jsx65(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("officelName")), { label: "T\xEAn \u0111\u01A1n v\u1ECB ch\u1EE7 qu\u1EA3n" })) }),
3730
+ /* @__PURE__ */ jsx65(Grid4.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx65(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("email")), { label: "Email" })) }),
3731
+ /* @__PURE__ */ jsx65(Grid4.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx65(MyTextInput, __spreadProps(__spreadValues({ isPhoneNumber: true }, form.getInputProps("phoneNumber")), { label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" })) }),
3732
+ /* @__PURE__ */ jsx65(Grid4.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx65(
4148
3733
  MyDateInput,
4149
3734
  {
4150
3735
  value: form.getValues().registrationDate,
@@ -4153,7 +3738,7 @@ function F_moduleConfig_Form() {
4153
3738
  label: "Ng\xE0y \u0111\u0103ng k\xFD"
4154
3739
  }
4155
3740
  ) }),
4156
- /* @__PURE__ */ jsx69(Grid5.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx69(
3741
+ /* @__PURE__ */ jsx65(Grid4.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx65(
4157
3742
  MyDateInput,
4158
3743
  {
4159
3744
  value: form.getValues().limiteDate,
@@ -4162,8 +3747,8 @@ function F_moduleConfig_Form() {
4162
3747
  label: "Ng\xE0y h\u1EBFt h\u1EA1n"
4163
3748
  }
4164
3749
  ) }),
4165
- /* @__PURE__ */ jsx69(Grid5.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsxs45(MyFlexColumn, { children: [
4166
- /* @__PURE__ */ jsx69(
3750
+ /* @__PURE__ */ jsx65(Grid4.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsxs43(MyFlexColumn, { children: [
3751
+ /* @__PURE__ */ jsx65(
4167
3752
  MyFileInput,
4168
3753
  {
4169
3754
  accept: "image/png,image/jpeg",
@@ -4175,7 +3760,7 @@ function F_moduleConfig_Form() {
4175
3760
  }
4176
3761
  }
4177
3762
  ),
4178
- /* @__PURE__ */ jsx69(Paper8, { w: "100%", children: /* @__PURE__ */ jsx69(Center, { children: /* @__PURE__ */ jsx69(
3763
+ /* @__PURE__ */ jsx65(Paper7, { w: "100%", children: /* @__PURE__ */ jsx65(Center, { children: /* @__PURE__ */ jsx65(
4179
3764
  Image,
4180
3765
  {
4181
3766
  fit: "contain",
@@ -4188,8 +3773,8 @@ function F_moduleConfig_Form() {
4188
3773
  }
4189
3774
  ) }) })
4190
3775
  ] }) }),
4191
- /* @__PURE__ */ jsx69(Grid5.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsxs45(MyFlexColumn, { children: [
4192
- /* @__PURE__ */ jsx69(
3776
+ /* @__PURE__ */ jsx65(Grid4.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsxs43(MyFlexColumn, { children: [
3777
+ /* @__PURE__ */ jsx65(
4193
3778
  MyFileInput,
4194
3779
  {
4195
3780
  accept: "image/png,image/jpeg",
@@ -4201,7 +3786,7 @@ function F_moduleConfig_Form() {
4201
3786
  }
4202
3787
  }
4203
3788
  ),
4204
- /* @__PURE__ */ jsx69(Paper8, { children: /* @__PURE__ */ jsx69(Center, { children: /* @__PURE__ */ jsx69(
3789
+ /* @__PURE__ */ jsx65(Paper7, { children: /* @__PURE__ */ jsx65(Center, { children: /* @__PURE__ */ jsx65(
4205
3790
  Image,
4206
3791
  {
4207
3792
  fit: "contain",
@@ -4215,26 +3800,26 @@ function F_moduleConfig_Form() {
4215
3800
  ) }) })
4216
3801
  ] }) })
4217
3802
  ] }),
4218
- /* @__PURE__ */ jsx69(MyFlexEnd, { children: /* @__PURE__ */ jsx69(F_moduleConfig_Save, { form }) })
3803
+ /* @__PURE__ */ jsx65(MyFlexEnd, { children: /* @__PURE__ */ jsx65(F_moduleConfig_Save, { form }) })
4219
3804
  ] });
4220
3805
  }
4221
3806
 
4222
3807
  // src/modules-features/admin/core/moduleConfig/F_moduleConfig.tsx
4223
- import { jsx as jsx70 } from "react/jsx-runtime";
3808
+ import { jsx as jsx66 } from "react/jsx-runtime";
4224
3809
  function F_moduleConfig({ AQModuleId }) {
4225
3810
  const store = useS_moduleConfig();
4226
- useEffect13(() => {
3811
+ useEffect10(() => {
4227
3812
  store.setProperty("AQModuleId", AQModuleId);
4228
3813
  }, []);
4229
- return /* @__PURE__ */ jsx70(F_moduleConfig_Form, {});
3814
+ return /* @__PURE__ */ jsx66(F_moduleConfig_Form, {});
4230
3815
  }
4231
3816
 
4232
3817
  // src/modules-features/admin/core/organizationPolicyDocs/F_organizationPolicyDocs.tsx
4233
- import { Paper as Paper9, Space as Space5 } from "@mantine/core";
3818
+ import { Paper as Paper8, Space as Space5 } from "@mantine/core";
4234
3819
 
4235
3820
  // src/modules-features/admin/core/organizationPolicyDocs/F_organizationPolicyDocs_Create.tsx
4236
3821
  import { useForm as useForm22 } from "@mantine/form";
4237
- import { jsx as jsx71, jsxs as jsxs46 } from "react/jsx-runtime";
3822
+ import { jsx as jsx67, jsxs as jsxs44 } from "react/jsx-runtime";
4238
3823
  function F_organizationPolicyDocs_Create({
4239
3824
  RegulationsTypeId
4240
3825
  }) {
@@ -4248,7 +3833,7 @@ function F_organizationPolicyDocs_Create({
4248
3833
  file: (value) => value ? null : "T\u1EC7p \u0111\xEDnh k\xE8m kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
4249
3834
  }
4250
3835
  });
4251
- return /* @__PURE__ */ jsxs46(
3836
+ return /* @__PURE__ */ jsxs44(
4252
3837
  MyButtonCreate,
4253
3838
  {
4254
3839
  objectName: "V\u0103n b\u1EA3n quy \u0111\u1ECBnh t\u1ED5 ch\u1EE9c",
@@ -4260,28 +3845,28 @@ function F_organizationPolicyDocs_Create({
4260
3845
  }));
4261
3846
  },
4262
3847
  children: [
4263
- /* @__PURE__ */ jsx71(
3848
+ /* @__PURE__ */ jsx67(
4264
3849
  MyTextInput,
4265
3850
  __spreadValues({
4266
3851
  withAsterisk: true,
4267
3852
  label: "S\u1ED1 quy \u0111\u1ECBnh"
4268
3853
  }, form.getInputProps("decisionCode"))
4269
3854
  ),
4270
- /* @__PURE__ */ jsx71(
3855
+ /* @__PURE__ */ jsx67(
4271
3856
  MyDateInput,
4272
3857
  __spreadValues({
4273
3858
  withAsterisk: true,
4274
3859
  label: "Ng\xE0y ban h\xE0nh"
4275
3860
  }, form.getInputProps("promulgateDate"))
4276
3861
  ),
4277
- /* @__PURE__ */ jsx71(
3862
+ /* @__PURE__ */ jsx67(
4278
3863
  MyTextInput,
4279
3864
  __spreadValues({
4280
3865
  withAsterisk: true,
4281
3866
  label: "T\xEAn t\xE0i li\u1EC7u"
4282
3867
  }, form.getInputProps("name"))
4283
3868
  ),
4284
- /* @__PURE__ */ jsx71(
3869
+ /* @__PURE__ */ jsx67(
4285
3870
  F_core18256_Select,
4286
3871
  __spreadValues({
4287
3872
  withAsterisk: true,
@@ -4289,14 +3874,14 @@ function F_organizationPolicyDocs_Create({
4289
3874
  documentTypeId: RegulationsTypeId
4290
3875
  }, form.getInputProps("documentAttributeId"))
4291
3876
  ),
4292
- /* @__PURE__ */ jsx71(
3877
+ /* @__PURE__ */ jsx67(
4293
3878
  MyFileInput,
4294
3879
  __spreadValues({
4295
3880
  withAsterisk: true,
4296
3881
  label: "V\u0103n b\u1EA3n"
4297
3882
  }, form.getInputProps("file"))
4298
3883
  ),
4299
- /* @__PURE__ */ jsx71(
3884
+ /* @__PURE__ */ jsx67(
4300
3885
  MyNumberInput,
4301
3886
  __spreadValues({
4302
3887
  label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch"
@@ -4309,17 +3894,17 @@ function F_organizationPolicyDocs_Create({
4309
3894
 
4310
3895
  // src/modules-features/admin/core/organizationPolicyDocs/F_organizationPolicyDocs_Read.tsx
4311
3896
  import { Accordion as Accordion5, Alert as Alert5, Blockquote as Blockquote5, Skeleton as Skeleton5 } from "@mantine/core";
4312
- import { useQuery as useQuery19 } from "@tanstack/react-query";
3897
+ import { useQuery as useQuery17 } from "@tanstack/react-query";
4313
3898
  import { IconBug as IconBug5 } from "@tabler/icons-react";
4314
- import { useMemo as useMemo16 } from "react";
3899
+ import { useMemo as useMemo15 } from "react";
4315
3900
 
4316
3901
  // src/modules-features/admin/core/organizationPolicyDocs/F_organizationPolicyDocs_Delete.tsx
4317
- import { jsx as jsx72 } from "react/jsx-runtime";
3902
+ import { jsx as jsx68 } from "react/jsx-runtime";
4318
3903
  function F_organizationPolicyDocs_Delete({
4319
3904
  id,
4320
3905
  contextData
4321
3906
  }) {
4322
- return /* @__PURE__ */ jsx72(
3907
+ return /* @__PURE__ */ jsx68(
4323
3908
  MyActionIconDelete,
4324
3909
  {
4325
3910
  contextData,
@@ -4330,7 +3915,7 @@ function F_organizationPolicyDocs_Delete({
4330
3915
 
4331
3916
  // src/modules-features/admin/core/organizationPolicyDocs/F_organizationPolicyDocs_Update.tsx
4332
3917
  import { useForm as useForm23 } from "@mantine/form";
4333
- import { jsx as jsx73, jsxs as jsxs47 } from "react/jsx-runtime";
3918
+ import { jsx as jsx69, jsxs as jsxs45 } from "react/jsx-runtime";
4334
3919
  function F_organizationPolicyDocs_Update({
4335
3920
  values,
4336
3921
  RegulationsTypeId
@@ -4352,7 +3937,7 @@ function F_organizationPolicyDocs_Update({
4352
3937
  file: (value) => value ? null : "T\u1EC7p \u0111\xEDnh k\xE8m kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
4353
3938
  }
4354
3939
  });
4355
- return /* @__PURE__ */ jsxs47(
3940
+ return /* @__PURE__ */ jsxs45(
4356
3941
  MyActionIconUpdate,
4357
3942
  {
4358
3943
  form,
@@ -4362,28 +3947,28 @@ function F_organizationPolicyDocs_Update({
4362
3947
  }));
4363
3948
  },
4364
3949
  children: [
4365
- /* @__PURE__ */ jsx73(
3950
+ /* @__PURE__ */ jsx69(
4366
3951
  MyTextInput,
4367
3952
  __spreadValues({
4368
3953
  withAsterisk: true,
4369
3954
  label: "S\u1ED1 quy \u0111\u1ECBnh"
4370
3955
  }, form.getInputProps("decisionCode"))
4371
3956
  ),
4372
- /* @__PURE__ */ jsx73(
3957
+ /* @__PURE__ */ jsx69(
4373
3958
  MyDateInput,
4374
3959
  __spreadValues({
4375
3960
  withAsterisk: true,
4376
3961
  label: "Ng\xE0y ban h\xE0nh"
4377
3962
  }, form.getInputProps("promulgateDate"))
4378
3963
  ),
4379
- /* @__PURE__ */ jsx73(
3964
+ /* @__PURE__ */ jsx69(
4380
3965
  MyTextInput,
4381
3966
  __spreadValues({
4382
3967
  withAsterisk: true,
4383
3968
  label: "T\xEAn t\xE0i li\u1EC7u"
4384
3969
  }, form.getInputProps("name"))
4385
3970
  ),
4386
- /* @__PURE__ */ jsx73(
3971
+ /* @__PURE__ */ jsx69(
4387
3972
  F_core18256_Select,
4388
3973
  __spreadValues({
4389
3974
  withAsterisk: true,
@@ -4391,14 +3976,14 @@ function F_organizationPolicyDocs_Update({
4391
3976
  documentTypeId: RegulationsTypeId
4392
3977
  }, form.getInputProps("documentAttributeId"))
4393
3978
  ),
4394
- /* @__PURE__ */ jsx73(
3979
+ /* @__PURE__ */ jsx69(
4395
3980
  MyFileInput,
4396
3981
  __spreadValues({
4397
3982
  withAsterisk: true,
4398
3983
  label: "V\u0103n b\u1EA3n"
4399
3984
  }, form.getInputProps("file"))
4400
3985
  ),
4401
- /* @__PURE__ */ jsx73(
3986
+ /* @__PURE__ */ jsx69(
4402
3987
  MyNumberInput,
4403
3988
  __spreadValues({
4404
3989
  label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch"
@@ -4410,12 +3995,12 @@ function F_organizationPolicyDocs_Update({
4410
3995
  }
4411
3996
 
4412
3997
  // src/modules-features/admin/core/organizationPolicyDocs/F_organizationPolicyDocs_Read.tsx
4413
- import { jsx as jsx74, jsxs as jsxs48 } from "react/jsx-runtime";
3998
+ import { jsx as jsx70, jsxs as jsxs46 } from "react/jsx-runtime";
4414
3999
  function F_organizationPolicyDocs_Read({
4415
4000
  RegulationsTypeId
4416
4001
  }) {
4417
4002
  var _a, _b, _c;
4418
- const documentAttributeQuery = useQuery19({
4003
+ const documentAttributeQuery = useQuery17({
4419
4004
  queryKey: ["F_organizationPolicyDocs_Read", RegulationsTypeId],
4420
4005
  queryFn: async () => {
4421
4006
  var _a2;
@@ -4426,10 +4011,10 @@ function F_organizationPolicyDocs_Read({
4426
4011
  }
4427
4012
  });
4428
4013
  if (((_a = documentAttributeQuery.data) == null ? void 0 : _a.length) == 0)
4429
- return /* @__PURE__ */ jsx74(Blockquote5, { color: "yellow", children: "Ch\u01B0a c\xF3 lo\u1EA1i v\u0103n b\u1EA3n" });
4014
+ return /* @__PURE__ */ jsx70(Blockquote5, { color: "yellow", children: "Ch\u01B0a c\xF3 lo\u1EA1i v\u0103n b\u1EA3n" });
4430
4015
  if (documentAttributeQuery.isError)
4431
- return /* @__PURE__ */ jsx74(Alert5, { icon: /* @__PURE__ */ jsx74(IconBug5, {}), color: "red", title: "C\xF3 l\u1ED7i x\u1EA3y ra!", m: "md" });
4432
- return /* @__PURE__ */ jsx74(Skeleton5, { h: 500, visible: documentAttributeQuery.isLoading, children: /* @__PURE__ */ jsx74(MyFlexColumn, { children: /* @__PURE__ */ jsx74(
4016
+ return /* @__PURE__ */ jsx70(Alert5, { icon: /* @__PURE__ */ jsx70(IconBug5, {}), color: "red", title: "C\xF3 l\u1ED7i x\u1EA3y ra!", m: "md" });
4017
+ return /* @__PURE__ */ jsx70(Skeleton5, { h: 500, visible: documentAttributeQuery.isLoading, children: /* @__PURE__ */ jsx70(MyFlexColumn, { children: /* @__PURE__ */ jsx70(
4433
4018
  Accordion5,
4434
4019
  {
4435
4020
  variant: "contained",
@@ -4440,7 +4025,7 @@ function F_organizationPolicyDocs_Read({
4440
4025
  }
4441
4026
  ),
4442
4027
  multiple: true,
4443
- children: (_c = documentAttributeQuery.data) == null ? void 0 : _c.map((item, idx) => /* @__PURE__ */ jsx74(
4028
+ children: (_c = documentAttributeQuery.data) == null ? void 0 : _c.map((item, idx) => /* @__PURE__ */ jsx70(
4444
4029
  SubRead5,
4445
4030
  {
4446
4031
  name: item.name,
@@ -4457,7 +4042,7 @@ function SubRead5({
4457
4042
  documentType,
4458
4043
  RegulationsTypeId
4459
4044
  }) {
4460
- const documentQuery = useQuery19({
4045
+ const documentQuery = useQuery17({
4461
4046
  queryKey: ["SubRead" + documentType],
4462
4047
  queryFn: async () => {
4463
4048
  const result = await baseAxios_default.get(
@@ -4466,7 +4051,7 @@ function SubRead5({
4466
4051
  return result.data.data;
4467
4052
  }
4468
4053
  });
4469
- const columns = useMemo16(
4054
+ const columns = useMemo15(
4470
4055
  () => [
4471
4056
  {
4472
4057
  header: "S\u1ED1 quy \u0111\u1ECBnh",
@@ -4483,30 +4068,30 @@ function SubRead5({
4483
4068
  {
4484
4069
  header: "File",
4485
4070
  accessorFn: (row) => {
4486
- return /* @__PURE__ */ jsx74(MyCenterFull, { children: /* @__PURE__ */ jsx74(MyButtonViewPDF, { id: row.id }) });
4071
+ return /* @__PURE__ */ jsx70(MyCenterFull, { children: /* @__PURE__ */ jsx70(MyButtonViewPDF, { id: row.id }) });
4487
4072
  }
4488
4073
  }
4489
4074
  ],
4490
4075
  []
4491
4076
  );
4492
- return /* @__PURE__ */ jsxs48(Accordion5.Item, { value: documentType.toString(), children: [
4493
- /* @__PURE__ */ jsx74(Accordion5.Control, { children: name }),
4494
- /* @__PURE__ */ jsx74(Accordion5.Panel, { children: /* @__PURE__ */ jsx74(
4077
+ return /* @__PURE__ */ jsxs46(Accordion5.Item, { value: documentType.toString(), children: [
4078
+ /* @__PURE__ */ jsx70(Accordion5.Control, { children: name }),
4079
+ /* @__PURE__ */ jsx70(Accordion5.Panel, { children: /* @__PURE__ */ jsx70(
4495
4080
  MyDataTable,
4496
4081
  {
4497
4082
  isLoading: documentQuery.isLoading,
4498
4083
  isError: documentQuery.isError,
4499
4084
  columns,
4500
4085
  data: documentQuery.data || [],
4501
- renderRowActions: ({ row }) => /* @__PURE__ */ jsxs48(MyCenterFull, { children: [
4502
- /* @__PURE__ */ jsx74(
4086
+ renderRowActions: ({ row }) => /* @__PURE__ */ jsxs46(MyCenterFull, { children: [
4087
+ /* @__PURE__ */ jsx70(
4503
4088
  F_organizationPolicyDocs_Update,
4504
4089
  {
4505
4090
  RegulationsTypeId,
4506
4091
  values: row.original
4507
4092
  }
4508
4093
  ),
4509
- /* @__PURE__ */ jsx74(
4094
+ /* @__PURE__ */ jsx70(
4510
4095
  F_organizationPolicyDocs_Delete,
4511
4096
  {
4512
4097
  id: row.original.id,
@@ -4520,12 +4105,12 @@ function SubRead5({
4520
4105
  }
4521
4106
 
4522
4107
  // src/modules-features/admin/core/organizationPolicyDocs/F_organizationPolicyDocs.tsx
4523
- import { jsx as jsx75, jsxs as jsxs49 } from "react/jsx-runtime";
4108
+ import { jsx as jsx71, jsxs as jsxs47 } from "react/jsx-runtime";
4524
4109
  function F_organizationPolicyDocs({ RegulationsTypeId }) {
4525
- return /* @__PURE__ */ jsxs49(Paper9, { p: "md", children: [
4526
- /* @__PURE__ */ jsx75(MyFlexEnd, { children: /* @__PURE__ */ jsx75(F_organizationPolicyDocs_Create, { RegulationsTypeId }) }),
4527
- /* @__PURE__ */ jsx75(Space5, {}),
4528
- /* @__PURE__ */ jsx75(F_organizationPolicyDocs_Read, { RegulationsTypeId })
4110
+ return /* @__PURE__ */ jsxs47(Paper8, { p: "md", children: [
4111
+ /* @__PURE__ */ jsx71(MyFlexEnd, { children: /* @__PURE__ */ jsx71(F_organizationPolicyDocs_Create, { RegulationsTypeId }) }),
4112
+ /* @__PURE__ */ jsx71(Space5, {}),
4113
+ /* @__PURE__ */ jsx71(F_organizationPolicyDocs_Read, { RegulationsTypeId })
4529
4114
  ] });
4530
4115
  }
4531
4116
 
@@ -4535,10 +4120,10 @@ var service_PageContent = __spreadValues({}, createBaseApi(CONTROLLER2, baseAxio
4535
4120
 
4536
4121
  // src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_ReadMenu.tsx
4537
4122
  import { Group as Group4 } from "@mantine/core";
4538
- import { useMemo as useMemo17 } from "react";
4123
+ import { useMemo as useMemo16 } from "react";
4539
4124
 
4540
4125
  // src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_Save.tsx
4541
- import { jsx as jsx76 } from "react/jsx-runtime";
4126
+ import { jsx as jsx72 } from "react/jsx-runtime";
4542
4127
  function F_pageContentConfig_Save({ menuValues }) {
4543
4128
  const updatePageConfigMutation = useMyReactMutation({
4544
4129
  axiosFn: () => {
@@ -4546,30 +4131,30 @@ function F_pageContentConfig_Save({ menuValues }) {
4546
4131
  return service_PageContent.updateList([{ id: 1 }]);
4547
4132
  }
4548
4133
  });
4549
- return /* @__PURE__ */ jsx76(MyButton2, { actionType: "save", onClick: () => updatePageConfigMutation.mutate({}) });
4134
+ return /* @__PURE__ */ jsx72(MyButton2, { actionType: "save", onClick: () => updatePageConfigMutation.mutate({}) });
4550
4135
  }
4551
4136
 
4552
4137
  // src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_Export.tsx
4553
- import { jsx as jsx77 } from "react/jsx-runtime";
4138
+ import { jsx as jsx73 } from "react/jsx-runtime";
4554
4139
  function F_pageContentConfig_Export() {
4555
- return /* @__PURE__ */ jsx77(MyButton2, { actionType: "export" });
4140
+ return /* @__PURE__ */ jsx73(MyButton2, { actionType: "export" });
4556
4141
  }
4557
4142
 
4558
4143
  // src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_DeleteDescription.tsx
4559
- import { jsx as jsx78 } from "react/jsx-runtime";
4144
+ import { jsx as jsx74 } from "react/jsx-runtime";
4560
4145
  function F_pageContentConfig_DeleteDescription() {
4561
- return /* @__PURE__ */ jsx78(MyButton2, { actionType: "delete" });
4146
+ return /* @__PURE__ */ jsx74(MyButton2, { actionType: "delete" });
4562
4147
  }
4563
4148
 
4564
4149
  // src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_ReadMenu.tsx
4565
- import { jsx as jsx79, jsxs as jsxs50 } from "react/jsx-runtime";
4150
+ import { jsx as jsx75, jsxs as jsxs48 } from "react/jsx-runtime";
4566
4151
  function F_pageContentConfig_ReadMenu() {
4567
4152
  const pageContentQuery = useMyReactQuery({
4568
4153
  queryKey: ["pageContentQuery"],
4569
4154
  axiosFn: () => service_PageContent.getAll()
4570
4155
  });
4571
4156
  const device = useMyDevice();
4572
- const columns = useMemo17(() => [
4157
+ const columns = useMemo16(() => [
4573
4158
  {
4574
4159
  header: "Dashboard",
4575
4160
  accessorKey: "name"
@@ -4579,42 +4164,42 @@ function F_pageContentConfig_ReadMenu() {
4579
4164
  accessorKey: "description",
4580
4165
  size: device.isPc ? 400 : 0,
4581
4166
  Cell: () => {
4582
- return /* @__PURE__ */ jsx79(MyTextInput2, { placeholder: "Nh\u1EADp m\xF4 t\u1EA3 menu" });
4167
+ return /* @__PURE__ */ jsx75(MyTextInput2, { placeholder: "Nh\u1EADp m\xF4 t\u1EA3 menu" });
4583
4168
  }
4584
4169
  }
4585
4170
  ], []);
4586
- return /* @__PURE__ */ jsx79(
4171
+ return /* @__PURE__ */ jsx75(
4587
4172
  MyDataTable,
4588
4173
  {
4589
4174
  isLoading: pageContentQuery.isLoading,
4590
4175
  isError: pageContentQuery.isError,
4591
4176
  data: pageContentQuery.data || [],
4592
4177
  columns,
4593
- renderTopToolbarCustomActions: (row) => /* @__PURE__ */ jsxs50(Group4, { children: [
4594
- /* @__PURE__ */ jsx79(F_pageContentConfig_Save, { menuValues: [] }),
4595
- /* @__PURE__ */ jsx79(F_pageContentConfig_Export, {}),
4596
- /* @__PURE__ */ jsx79(F_pageContentConfig_DeleteDescription, {})
4178
+ renderTopToolbarCustomActions: (row) => /* @__PURE__ */ jsxs48(Group4, { children: [
4179
+ /* @__PURE__ */ jsx75(F_pageContentConfig_Save, { menuValues: [] }),
4180
+ /* @__PURE__ */ jsx75(F_pageContentConfig_Export, {}),
4181
+ /* @__PURE__ */ jsx75(F_pageContentConfig_DeleteDescription, {})
4597
4182
  ] })
4598
4183
  }
4599
4184
  );
4600
4185
  }
4601
4186
 
4602
4187
  // src/modules-features/admin/core/pageContentConfig/F_pageContentConfig.tsx
4603
- import { jsx as jsx80 } from "react/jsx-runtime";
4188
+ import { jsx as jsx76 } from "react/jsx-runtime";
4604
4189
  function F_pageContentConfig() {
4605
- return /* @__PURE__ */ jsx80(F_pageContentConfig_ReadMenu, {});
4190
+ return /* @__PURE__ */ jsx76(F_pageContentConfig_ReadMenu, {});
4606
4191
  }
4607
4192
 
4608
4193
  // src/modules-features/admin/core/roleCatalog/F_roleCatalog_Read.tsx
4609
4194
  import { Group as Group5 } from "@mantine/core";
4610
- import { useQuery as useQuery20 } from "@tanstack/react-query";
4611
- import { useMemo as useMemo18 } from "react";
4195
+ import { useQuery as useQuery18 } from "@tanstack/react-query";
4196
+ import { useMemo as useMemo17 } from "react";
4612
4197
 
4613
4198
  // src/modules-features/admin/core/roleCatalog/F_roleCatalog_Delete.tsx
4614
- import { jsx as jsx81 } from "react/jsx-runtime";
4199
+ import { jsx as jsx77 } from "react/jsx-runtime";
4615
4200
  var ENDPOINT4 = "/Role/Delete";
4616
4201
  function F_roleCatalog_Delete({ values }) {
4617
- return /* @__PURE__ */ jsx81(
4202
+ return /* @__PURE__ */ jsx77(
4618
4203
  MyActionIconDelete,
4619
4204
  {
4620
4205
  contextData: values.code,
@@ -4625,31 +4210,31 @@ function F_roleCatalog_Delete({ values }) {
4625
4210
 
4626
4211
  // src/modules-features/admin/core/roleCatalog/F_roleCatalog_Form.tsx
4627
4212
  import { useForm as useForm24 } from "@mantine/form";
4628
- import { jsx as jsx82, jsxs as jsxs51 } from "react/jsx-runtime";
4213
+ import { jsx as jsx78, jsxs as jsxs49 } from "react/jsx-runtime";
4629
4214
  function F_roleCatalog_Form({ values }) {
4630
4215
  const form = useForm24({
4631
4216
  mode: "uncontrolled",
4632
4217
  initialValues: values
4633
4218
  });
4634
- if (values) return /* @__PURE__ */ jsxs51(MyActionIconUpdate, { form, onSubmit: async () => {
4219
+ if (values) return /* @__PURE__ */ jsxs49(MyActionIconUpdate, { form, onSubmit: async () => {
4635
4220
  return await baseAxios_default.post("/Role/Update", form.getValues());
4636
4221
  }, children: [
4637
- /* @__PURE__ */ jsx82(MyTextInput, __spreadValues({ readOnly: true, variant: "filled", label: "M\xE3" }, form.getInputProps("code"))),
4638
- /* @__PURE__ */ jsx82(MyTextInput, __spreadValues({ label: "Quy\u1EC1n" }, form.getInputProps("name")))
4222
+ /* @__PURE__ */ jsx78(MyTextInput, __spreadValues({ readOnly: true, variant: "filled", label: "M\xE3" }, form.getInputProps("code"))),
4223
+ /* @__PURE__ */ jsx78(MyTextInput, __spreadValues({ label: "Quy\u1EC1n" }, form.getInputProps("name")))
4639
4224
  ] });
4640
- return /* @__PURE__ */ jsxs51(MyButtonCreate, { form, onSubmit: async () => {
4225
+ return /* @__PURE__ */ jsxs49(MyButtonCreate, { form, onSubmit: async () => {
4641
4226
  return await baseAxios_default.post("/Role/Create", form.getValues());
4642
4227
  }, children: [
4643
- /* @__PURE__ */ jsx82(MyTextInput, __spreadValues({ label: "M\xE3" }, form.getInputProps("code"))),
4644
- /* @__PURE__ */ jsx82(MyTextInput, __spreadValues({ label: "Quy\u1EC1n" }, form.getInputProps("name")))
4228
+ /* @__PURE__ */ jsx78(MyTextInput, __spreadValues({ label: "M\xE3" }, form.getInputProps("code"))),
4229
+ /* @__PURE__ */ jsx78(MyTextInput, __spreadValues({ label: "Quy\u1EC1n" }, form.getInputProps("name")))
4645
4230
  ] });
4646
4231
  }
4647
4232
 
4648
4233
  // src/modules-features/admin/core/roleCatalog/F_roleCatalog_Read.tsx
4649
- import { jsx as jsx83, jsxs as jsxs52 } from "react/jsx-runtime";
4234
+ import { jsx as jsx79, jsxs as jsxs50 } from "react/jsx-runtime";
4650
4235
  function F_roleCatalog_Read() {
4651
4236
  const query = useQ_core47643_GetAdminRole2();
4652
- const columns = useMemo18(() => [
4237
+ const columns = useMemo17(() => [
4653
4238
  {
4654
4239
  header: "M\xE3",
4655
4240
  accessorKey: "code"
@@ -4659,23 +4244,23 @@ function F_roleCatalog_Read() {
4659
4244
  accessorKey: "name"
4660
4245
  }
4661
4246
  ], []);
4662
- return /* @__PURE__ */ jsx83(
4247
+ return /* @__PURE__ */ jsx79(
4663
4248
  MyDataTable,
4664
4249
  {
4665
4250
  isLoading: query.isLoading,
4666
4251
  isError: query.isError,
4667
4252
  data: query.data || [],
4668
4253
  columns,
4669
- renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx83(Group5, { children: /* @__PURE__ */ jsx83(F_roleCatalog_Form, {}) }),
4670
- renderRowActions: ({ row }) => /* @__PURE__ */ jsxs52(MyCenterFull, { children: [
4671
- /* @__PURE__ */ jsx83(F_roleCatalog_Form, { values: row.original }),
4672
- /* @__PURE__ */ jsx83(F_roleCatalog_Delete, { values: row.original })
4254
+ renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx79(Group5, { children: /* @__PURE__ */ jsx79(F_roleCatalog_Form, {}) }),
4255
+ renderRowActions: ({ row }) => /* @__PURE__ */ jsxs50(MyCenterFull, { children: [
4256
+ /* @__PURE__ */ jsx79(F_roleCatalog_Form, { values: row.original }),
4257
+ /* @__PURE__ */ jsx79(F_roleCatalog_Delete, { values: row.original })
4673
4258
  ] })
4674
4259
  }
4675
4260
  );
4676
4261
  }
4677
4262
  function useQ_core47643_GetAdminRole2() {
4678
- const query = useQuery20({
4263
+ const query = useQuery18({
4679
4264
  queryKey: ["useQ_core47643_GetAdminRole"],
4680
4265
  queryFn: async () => {
4681
4266
  const res = await baseAxios_default.get("/Role/GetAdminRole");
@@ -4721,19 +4306,19 @@ var mockData3 = [
4721
4306
  ];
4722
4307
 
4723
4308
  // src/modules-features/admin/core/roleCatalog/F_roleCatalog.tsx
4724
- import { jsx as jsx84 } from "react/jsx-runtime";
4309
+ import { jsx as jsx80 } from "react/jsx-runtime";
4725
4310
  function F_roleCatalog() {
4726
- return /* @__PURE__ */ jsx84(MyPageContent, { title: "Danh m\u1EE5c quy\u1EC1n", canBack: true, children: /* @__PURE__ */ jsx84(F_roleCatalog_Read, {}) });
4311
+ return /* @__PURE__ */ jsx80(MyPageContent, { title: "Danh m\u1EE5c quy\u1EC1n", canBack: true, children: /* @__PURE__ */ jsx80(F_roleCatalog_Read, {}) });
4727
4312
  }
4728
4313
 
4729
4314
  // src/modules-features/admin/core/securityPolicyDocs/F_securityPolicyDocs_Read.tsx
4730
- import { useQuery as useQuery21 } from "@tanstack/react-query";
4731
- import { useMemo as useMemo19 } from "react";
4315
+ import { useQuery as useQuery19 } from "@tanstack/react-query";
4316
+ import { useMemo as useMemo18 } from "react";
4732
4317
 
4733
4318
  // src/modules-features/admin/core/securityPolicyDocs/F_securityPolicyDocs_Create.tsx
4734
4319
  import { FileInput as FileInput7 } from "@mantine/core";
4735
4320
  import { useForm as useForm25 } from "@mantine/form";
4736
- import { jsx as jsx85, jsxs as jsxs53 } from "react/jsx-runtime";
4321
+ import { jsx as jsx81, jsxs as jsxs51 } from "react/jsx-runtime";
4737
4322
  function F_securityPolicyDocs_Create({ SecurityTypeId }) {
4738
4323
  const form = useForm25({
4739
4324
  mode: "uncontrolled",
@@ -4744,7 +4329,7 @@ function F_securityPolicyDocs_Create({ SecurityTypeId }) {
4744
4329
  file: (value) => value ? null : "Kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
4745
4330
  }
4746
4331
  });
4747
- return /* @__PURE__ */ jsxs53(
4332
+ return /* @__PURE__ */ jsxs51(
4748
4333
  MyButtonCreate,
4749
4334
  {
4750
4335
  objectName: "v\u0103n b\u1EA3n",
@@ -4757,28 +4342,28 @@ function F_securityPolicyDocs_Create({ SecurityTypeId }) {
4757
4342
  }));
4758
4343
  },
4759
4344
  children: [
4760
- /* @__PURE__ */ jsx85(
4345
+ /* @__PURE__ */ jsx81(
4761
4346
  MyTextInput,
4762
4347
  __spreadValues({
4763
4348
  withAsterisk: true,
4764
4349
  label: "S\u1ED1 quy \u0111\u1ECBnh"
4765
4350
  }, form.getInputProps("decisionCode"))
4766
4351
  ),
4767
- /* @__PURE__ */ jsx85(
4352
+ /* @__PURE__ */ jsx81(
4768
4353
  MyDateInput,
4769
4354
  __spreadValues({
4770
4355
  withAsterisk: true,
4771
4356
  label: "Ng\xE0y ban h\xE0nh"
4772
4357
  }, form.getInputProps("promulgateDate"))
4773
4358
  ),
4774
- /* @__PURE__ */ jsx85(
4359
+ /* @__PURE__ */ jsx81(
4775
4360
  MyTextInput,
4776
4361
  __spreadValues({
4777
4362
  withAsterisk: true,
4778
4363
  label: "T\xEAn t\xE0i li\u1EC7u"
4779
4364
  }, form.getInputProps("name"))
4780
4365
  ),
4781
- /* @__PURE__ */ jsx85(
4366
+ /* @__PURE__ */ jsx81(
4782
4367
  FileInput7,
4783
4368
  __spreadValues({
4784
4369
  withAsterisk: true,
@@ -4792,12 +4377,12 @@ function F_securityPolicyDocs_Create({ SecurityTypeId }) {
4792
4377
  }
4793
4378
 
4794
4379
  // src/modules-features/admin/core/securityPolicyDocs/F_securityPolicyDocs_Delete.tsx
4795
- import { jsx as jsx86 } from "react/jsx-runtime";
4380
+ import { jsx as jsx82 } from "react/jsx-runtime";
4796
4381
  function F_securityPolicyDocs_Delete({
4797
4382
  id,
4798
4383
  contextData
4799
4384
  }) {
4800
- return /* @__PURE__ */ jsx86(
4385
+ return /* @__PURE__ */ jsx82(
4801
4386
  MyActionIconDelete,
4802
4387
  {
4803
4388
  contextData,
@@ -4809,7 +4394,7 @@ function F_securityPolicyDocs_Delete({
4809
4394
  // src/modules-features/admin/core/securityPolicyDocs/F_securityPolicyDocs_Update.tsx
4810
4395
  import { FileInput as FileInput8, TextInput as TextInput2 } from "@mantine/core";
4811
4396
  import { useForm as useForm26 } from "@mantine/form";
4812
- import { jsx as jsx87, jsxs as jsxs54 } from "react/jsx-runtime";
4397
+ import { jsx as jsx83, jsxs as jsxs52 } from "react/jsx-runtime";
4813
4398
  function F_securityPolicyDocs_Update({ values }) {
4814
4399
  var _a;
4815
4400
  const form = useForm26({
@@ -4828,7 +4413,7 @@ function F_securityPolicyDocs_Update({ values }) {
4828
4413
  file: (value) => value ? null : "Kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
4829
4414
  }
4830
4415
  });
4831
- return /* @__PURE__ */ jsxs54(
4416
+ return /* @__PURE__ */ jsxs52(
4832
4417
  MyActionIconUpdate,
4833
4418
  {
4834
4419
  form,
@@ -4838,28 +4423,28 @@ function F_securityPolicyDocs_Update({ values }) {
4838
4423
  }));
4839
4424
  },
4840
4425
  children: [
4841
- /* @__PURE__ */ jsx87(
4426
+ /* @__PURE__ */ jsx83(
4842
4427
  TextInput2,
4843
4428
  __spreadValues({
4844
4429
  withAsterisk: true,
4845
4430
  label: "S\u1ED1 quy \u0111\u1ECBnh"
4846
4431
  }, form.getInputProps("decisionCode"))
4847
4432
  ),
4848
- /* @__PURE__ */ jsx87(
4433
+ /* @__PURE__ */ jsx83(
4849
4434
  MyDateInput,
4850
4435
  __spreadValues({
4851
4436
  withAsterisk: true,
4852
4437
  label: "Ng\xE0y ban h\xE0nh"
4853
4438
  }, form.getInputProps("promulgateDate"))
4854
4439
  ),
4855
- /* @__PURE__ */ jsx87(
4440
+ /* @__PURE__ */ jsx83(
4856
4441
  TextInput2,
4857
4442
  __spreadValues({
4858
4443
  withAsterisk: true,
4859
4444
  label: "T\xEAn t\xE0i li\u1EC7u"
4860
4445
  }, form.getInputProps("name"))
4861
4446
  ),
4862
- /* @__PURE__ */ jsx87(
4447
+ /* @__PURE__ */ jsx83(
4863
4448
  FileInput8,
4864
4449
  __spreadValues({
4865
4450
  withAsterisk: true,
@@ -4872,9 +4457,9 @@ function F_securityPolicyDocs_Update({ values }) {
4872
4457
  }
4873
4458
 
4874
4459
  // src/modules-features/admin/core/securityPolicyDocs/F_securityPolicyDocs_Read.tsx
4875
- import { jsx as jsx88, jsxs as jsxs55 } from "react/jsx-runtime";
4460
+ import { jsx as jsx84, jsxs as jsxs53 } from "react/jsx-runtime";
4876
4461
  function F_securityPolicyDocs_Read({ SecurityTypeId }) {
4877
- const query = useQuery21({
4462
+ const query = useQuery19({
4878
4463
  queryKey: ["F_securityPolicyDocs_Read"],
4879
4464
  queryFn: async () => {
4880
4465
  var _a;
@@ -4884,7 +4469,7 @@ function F_securityPolicyDocs_Read({ SecurityTypeId }) {
4884
4469
  return ((_a = result.data) == null ? void 0 : _a.data) || [];
4885
4470
  }
4886
4471
  });
4887
- const columns = useMemo19(
4472
+ const columns = useMemo18(
4888
4473
  () => [
4889
4474
  {
4890
4475
  header: "S\u1ED1 quy \u0111\u1ECBnh",
@@ -4901,25 +4486,25 @@ function F_securityPolicyDocs_Read({ SecurityTypeId }) {
4901
4486
  {
4902
4487
  header: "File",
4903
4488
  accessorFn: (row) => {
4904
- return /* @__PURE__ */ jsx88(MyCenterFull, { children: /* @__PURE__ */ jsx88(MyButtonViewPDF, { id: row.id }) });
4489
+ return /* @__PURE__ */ jsx84(MyCenterFull, { children: /* @__PURE__ */ jsx84(MyButtonViewPDF, { id: row.id }) });
4905
4490
  }
4906
4491
  }
4907
4492
  ],
4908
4493
  []
4909
4494
  );
4910
- return /* @__PURE__ */ jsx88(
4495
+ return /* @__PURE__ */ jsx84(
4911
4496
  MyDataTable,
4912
4497
  {
4913
4498
  isLoading: query.isLoading,
4914
4499
  isError: query.isError,
4915
4500
  columns,
4916
4501
  data: query.data || [],
4917
- renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx88(F_securityPolicyDocs_Create, { SecurityTypeId }),
4502
+ renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx84(F_securityPolicyDocs_Create, { SecurityTypeId }),
4918
4503
  renderRowActions: ({ row }) => {
4919
4504
  var _a;
4920
- return /* @__PURE__ */ jsxs55(MyCenterFull, { children: [
4921
- /* @__PURE__ */ jsx88(F_securityPolicyDocs_Update, { values: row.original }),
4922
- /* @__PURE__ */ jsx88(
4505
+ return /* @__PURE__ */ jsxs53(MyCenterFull, { children: [
4506
+ /* @__PURE__ */ jsx84(F_securityPolicyDocs_Update, { values: row.original }),
4507
+ /* @__PURE__ */ jsx84(
4923
4508
  F_securityPolicyDocs_Delete,
4924
4509
  {
4925
4510
  id: row.original.id,
@@ -4933,19 +4518,19 @@ function F_securityPolicyDocs_Read({ SecurityTypeId }) {
4933
4518
  }
4934
4519
 
4935
4520
  // src/modules-features/admin/core/securityPolicyDocs/F_securityPolicyDocs.tsx
4936
- import { jsx as jsx89 } from "react/jsx-runtime";
4521
+ import { jsx as jsx85 } from "react/jsx-runtime";
4937
4522
  function F_securityPolicyDocs({ SecurityTypeId }) {
4938
- return /* @__PURE__ */ jsx89(F_securityPolicyDocs_Read, { SecurityTypeId });
4523
+ return /* @__PURE__ */ jsx85(F_securityPolicyDocs_Read, { SecurityTypeId });
4939
4524
  }
4940
4525
 
4941
4526
  // src/modules-features/admin/core/systemUpdateDocs/F_systemUpdateDocs.tsx
4942
- import { useQuery as useQuery22 } from "@tanstack/react-query";
4943
- import { useMemo as useMemo20 } from "react";
4527
+ import { useQuery as useQuery20 } from "@tanstack/react-query";
4528
+ import { useMemo as useMemo19 } from "react";
4944
4529
 
4945
4530
  // src/modules-features/admin/core/systemUpdateDocs/F_systemUpdateDocs_Create.tsx
4946
4531
  import { FileInput as FileInput9, Textarea as Textarea3 } from "@mantine/core";
4947
4532
  import { useForm as useForm27 } from "@mantine/form";
4948
- import { jsx as jsx90, jsxs as jsxs56 } from "react/jsx-runtime";
4533
+ import { jsx as jsx86, jsxs as jsxs54 } from "react/jsx-runtime";
4949
4534
  function F_systemUpdateDocs_Create({
4950
4535
  RefinementTypeId
4951
4536
  }) {
@@ -4960,7 +4545,7 @@ function F_systemUpdateDocs_Create({
4960
4545
  endDate: (value, values) => value && values.startDate && new Date(value) > new Date(values.startDate) ? null : "Ng\xE0y k\u1EBFt th\xFAc ph\u1EA3i l\u1EDBn h\u01A1n ng\xE0y b\u1EAFt \u0111\u1EA7u"
4961
4546
  }
4962
4547
  });
4963
- return /* @__PURE__ */ jsxs56(
4548
+ return /* @__PURE__ */ jsxs54(
4964
4549
  MyButtonCreate,
4965
4550
  {
4966
4551
  objectName: "v\u0103n b\u1EA3n",
@@ -4973,43 +4558,43 @@ function F_systemUpdateDocs_Create({
4973
4558
  }));
4974
4559
  },
4975
4560
  children: [
4976
- /* @__PURE__ */ jsx90(
4561
+ /* @__PURE__ */ jsx86(
4977
4562
  MyDateInput,
4978
4563
  __spreadValues({
4979
4564
  withAsterisk: true,
4980
4565
  label: "Ng\xE0y h\u1ECDp"
4981
4566
  }, form.getInputProps("meetingDate"))
4982
4567
  ),
4983
- /* @__PURE__ */ jsx90(
4568
+ /* @__PURE__ */ jsx86(
4984
4569
  MyTextInput,
4985
4570
  __spreadValues({
4986
4571
  withAsterisk: true,
4987
4572
  label: "\u0110\u01A1n v\u1ECB y\xEAu c\u1EA7u"
4988
4573
  }, form.getInputProps("departmentName"))
4989
4574
  ),
4990
- /* @__PURE__ */ jsx90(
4575
+ /* @__PURE__ */ jsx86(
4991
4576
  MyTextInput,
4992
4577
  __spreadValues({
4993
4578
  withAsterisk: true,
4994
4579
  label: "N\u1ED9i dung c\u1EA3i ti\u1EBFn"
4995
4580
  }, form.getInputProps("description"))
4996
4581
  ),
4997
- /* @__PURE__ */ jsx90(MyTextInput, __spreadValues({ label: "K\u1EBFt lu\u1EADn" }, form.getInputProps("conclusion"))),
4998
- /* @__PURE__ */ jsx90(
4582
+ /* @__PURE__ */ jsx86(MyTextInput, __spreadValues({ label: "K\u1EBFt lu\u1EADn" }, form.getInputProps("conclusion"))),
4583
+ /* @__PURE__ */ jsx86(
4999
4584
  MyDateInput,
5000
4585
  __spreadValues({
5001
4586
  withAsterisk: true,
5002
4587
  label: "Ng\xE0y b\u1EAFt \u0111\u1EA7u"
5003
4588
  }, form.getInputProps("startDate"))
5004
4589
  ),
5005
- /* @__PURE__ */ jsx90(
4590
+ /* @__PURE__ */ jsx86(
5006
4591
  MyDateInput,
5007
4592
  __spreadValues({
5008
4593
  withAsterisk: true,
5009
4594
  label: "Ng\xE0y k\u1EBFt th\xFAc"
5010
4595
  }, form.getInputProps("endDate"))
5011
4596
  ),
5012
- /* @__PURE__ */ jsx90(
4597
+ /* @__PURE__ */ jsx86(
5013
4598
  FileInput9,
5014
4599
  __spreadValues({
5015
4600
  placeholder: "T\u1EA3i l\xEAn t\xE0i li\u1EC7u",
@@ -5017,19 +4602,19 @@ function F_systemUpdateDocs_Create({
5017
4602
  label: "T\xE0i li\u1EC7u"
5018
4603
  }, form.getInputProps("file"))
5019
4604
  ),
5020
- /* @__PURE__ */ jsx90(Textarea3, __spreadValues({ label: "Ghi ch\xFA" }, form.getInputProps("note")))
4605
+ /* @__PURE__ */ jsx86(Textarea3, __spreadValues({ label: "Ghi ch\xFA" }, form.getInputProps("note")))
5021
4606
  ]
5022
4607
  }
5023
4608
  );
5024
4609
  }
5025
4610
 
5026
4611
  // src/modules-features/admin/core/systemUpdateDocs/F_systemUpdateDocs_Delete.tsx
5027
- import { jsx as jsx91 } from "react/jsx-runtime";
4612
+ import { jsx as jsx87 } from "react/jsx-runtime";
5028
4613
  function F_systemUpdateDocs_Delete({
5029
4614
  id,
5030
4615
  contextData
5031
4616
  }) {
5032
- return /* @__PURE__ */ jsx91(
4617
+ return /* @__PURE__ */ jsx87(
5033
4618
  MyActionIconDelete,
5034
4619
  {
5035
4620
  contextData,
@@ -5041,7 +4626,7 @@ function F_systemUpdateDocs_Delete({
5041
4626
  // src/modules-features/admin/core/systemUpdateDocs/F_systemUpdateDocs_Update.tsx
5042
4627
  import { FileInput as FileInput10, Textarea as Textarea4 } from "@mantine/core";
5043
4628
  import { useForm as useForm28 } from "@mantine/form";
5044
- import { jsx as jsx92, jsxs as jsxs57 } from "react/jsx-runtime";
4629
+ import { jsx as jsx88, jsxs as jsxs55 } from "react/jsx-runtime";
5045
4630
  function F_systemUpdateDocs_Update({ values }) {
5046
4631
  var _a;
5047
4632
  const form = useForm28({
@@ -5064,7 +4649,7 @@ function F_systemUpdateDocs_Update({ values }) {
5064
4649
  endDate: (value, values2) => value && values2.startDate && new Date(value) > new Date(values2.startDate) ? null : "Ng\xE0y k\u1EBFt th\xFAc ph\u1EA3i l\u1EDBn h\u01A1n ng\xE0y b\u1EAFt \u0111\u1EA7u"
5065
4650
  }
5066
4651
  });
5067
- return /* @__PURE__ */ jsxs57(
4652
+ return /* @__PURE__ */ jsxs55(
5068
4653
  MyActionIconUpdate,
5069
4654
  {
5070
4655
  form,
@@ -5074,43 +4659,43 @@ function F_systemUpdateDocs_Update({ values }) {
5074
4659
  }));
5075
4660
  },
5076
4661
  children: [
5077
- /* @__PURE__ */ jsx92(
4662
+ /* @__PURE__ */ jsx88(
5078
4663
  MyDateInput,
5079
4664
  __spreadValues({
5080
4665
  withAsterisk: true,
5081
4666
  label: "Ng\xE0y h\u1ECDp"
5082
4667
  }, form.getInputProps("meetingDate"))
5083
4668
  ),
5084
- /* @__PURE__ */ jsx92(
4669
+ /* @__PURE__ */ jsx88(
5085
4670
  MyTextInput,
5086
4671
  __spreadValues({
5087
4672
  withAsterisk: true,
5088
4673
  label: "\u0110\u01A1n v\u1ECB y\xEAu c\u1EA7u"
5089
4674
  }, form.getInputProps("departmentName"))
5090
4675
  ),
5091
- /* @__PURE__ */ jsx92(
4676
+ /* @__PURE__ */ jsx88(
5092
4677
  MyTextInput,
5093
4678
  __spreadValues({
5094
4679
  withAsterisk: true,
5095
4680
  label: "N\u1ED9i dung c\u1EA3i ti\u1EBFn"
5096
4681
  }, form.getInputProps("description"))
5097
4682
  ),
5098
- /* @__PURE__ */ jsx92(MyTextInput, __spreadValues({ label: "K\u1EBFt lu\u1EADn" }, form.getInputProps("conclusion"))),
5099
- /* @__PURE__ */ jsx92(
4683
+ /* @__PURE__ */ jsx88(MyTextInput, __spreadValues({ label: "K\u1EBFt lu\u1EADn" }, form.getInputProps("conclusion"))),
4684
+ /* @__PURE__ */ jsx88(
5100
4685
  MyDateInput,
5101
4686
  __spreadValues({
5102
4687
  withAsterisk: true,
5103
4688
  label: "Ng\xE0y b\u1EAFt \u0111\u1EA7u"
5104
4689
  }, form.getInputProps("startDate"))
5105
4690
  ),
5106
- /* @__PURE__ */ jsx92(
4691
+ /* @__PURE__ */ jsx88(
5107
4692
  MyDateInput,
5108
4693
  __spreadValues({
5109
4694
  withAsterisk: true,
5110
4695
  label: "Ng\xE0y k\u1EBFt th\xFAc"
5111
4696
  }, form.getInputProps("endDate"))
5112
4697
  ),
5113
- /* @__PURE__ */ jsx92(
4698
+ /* @__PURE__ */ jsx88(
5114
4699
  FileInput10,
5115
4700
  __spreadValues({
5116
4701
  placeholder: "T\u1EA3i l\xEAn t\xE0i li\u1EC7u",
@@ -5118,16 +4703,16 @@ function F_systemUpdateDocs_Update({ values }) {
5118
4703
  label: "T\xE0i li\u1EC7u"
5119
4704
  }, form.getInputProps("file"))
5120
4705
  ),
5121
- /* @__PURE__ */ jsx92(Textarea4, __spreadValues({ label: "Ghi ch\xFA" }, form.getInputProps("note")))
4706
+ /* @__PURE__ */ jsx88(Textarea4, __spreadValues({ label: "Ghi ch\xFA" }, form.getInputProps("note")))
5122
4707
  ]
5123
4708
  }
5124
4709
  );
5125
4710
  }
5126
4711
 
5127
4712
  // src/modules-features/admin/core/systemUpdateDocs/F_systemUpdateDocs.tsx
5128
- import { jsx as jsx93, jsxs as jsxs58 } from "react/jsx-runtime";
4713
+ import { jsx as jsx89, jsxs as jsxs56 } from "react/jsx-runtime";
5129
4714
  function F_systemUpdateDocs({ RefinementTypeId }) {
5130
- const query = useQuery22({
4715
+ const query = useQuery20({
5131
4716
  queryKey: ["F_systemUpdateDocs_Read"],
5132
4717
  queryFn: async () => {
5133
4718
  var _a;
@@ -5137,7 +4722,7 @@ function F_systemUpdateDocs({ RefinementTypeId }) {
5137
4722
  return ((_a = result.data) == null ? void 0 : _a.data) || [];
5138
4723
  }
5139
4724
  });
5140
- const columns = useMemo20(
4725
+ const columns = useMemo19(
5141
4726
  () => [
5142
4727
  {
5143
4728
  header: "\u0110\u01A1n v\u1ECB y\xEAu c\u1EA7u",
@@ -5158,24 +4743,24 @@ function F_systemUpdateDocs({ RefinementTypeId }) {
5158
4743
  {
5159
4744
  header: "File",
5160
4745
  accessorFn: (row) => {
5161
- return /* @__PURE__ */ jsx93(MyCenterFull, { children: /* @__PURE__ */ jsx93(MyButtonViewPDF, { id: row.id }) });
4746
+ return /* @__PURE__ */ jsx89(MyCenterFull, { children: /* @__PURE__ */ jsx89(MyButtonViewPDF, { id: row.id }) });
5162
4747
  }
5163
4748
  }
5164
4749
  ],
5165
4750
  []
5166
4751
  );
5167
- return /* @__PURE__ */ jsx93(
4752
+ return /* @__PURE__ */ jsx89(
5168
4753
  MyDataTable,
5169
4754
  {
5170
4755
  isLoading: query.isLoading,
5171
4756
  isError: query.isError,
5172
4757
  columns,
5173
4758
  data: query.data || [],
5174
- renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx93(F_systemUpdateDocs_Create, { RefinementTypeId }),
4759
+ renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx89(F_systemUpdateDocs_Create, { RefinementTypeId }),
5175
4760
  renderRowActions: ({ row }) => {
5176
- return /* @__PURE__ */ jsxs58(MyCenterFull, { children: [
5177
- /* @__PURE__ */ jsx93(F_systemUpdateDocs_Update, { values: row.original }),
5178
- /* @__PURE__ */ jsx93(
4761
+ return /* @__PURE__ */ jsxs56(MyCenterFull, { children: [
4762
+ /* @__PURE__ */ jsx89(F_systemUpdateDocs_Update, { values: row.original }),
4763
+ /* @__PURE__ */ jsx89(
5179
4764
  F_systemUpdateDocs_Delete,
5180
4765
  {
5181
4766
  id: row.original.id,
@@ -5189,13 +4774,13 @@ function F_systemUpdateDocs({ RefinementTypeId }) {
5189
4774
  }
5190
4775
 
5191
4776
  // src/modules-features/admin/core/userGuideDocs/F_userGuideDocs_Read.tsx
5192
- import { useQuery as useQuery23 } from "@tanstack/react-query";
5193
- import { useMemo as useMemo21 } from "react";
4777
+ import { useQuery as useQuery21 } from "@tanstack/react-query";
4778
+ import { useMemo as useMemo20 } from "react";
5194
4779
 
5195
4780
  // src/modules-features/admin/core/userGuideDocs/F_userGuideDocs_Create.tsx
5196
4781
  import { FileInput as FileInput11 } from "@mantine/core";
5197
4782
  import { useForm as useForm29 } from "@mantine/form";
5198
- import { jsx as jsx94, jsxs as jsxs59 } from "react/jsx-runtime";
4783
+ import { jsx as jsx90, jsxs as jsxs57 } from "react/jsx-runtime";
5199
4784
  function F_userGuideDocs_Create({ GuidelineTypeId }) {
5200
4785
  const form = useForm29({
5201
4786
  mode: "uncontrolled",
@@ -5205,7 +4790,7 @@ function F_userGuideDocs_Create({ GuidelineTypeId }) {
5205
4790
  file: (value) => value ? null : "Kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
5206
4791
  }
5207
4792
  });
5208
- return /* @__PURE__ */ jsxs59(
4793
+ return /* @__PURE__ */ jsxs57(
5209
4794
  MyButtonCreate,
5210
4795
  {
5211
4796
  objectName: "v\u0103n b\u1EA3n",
@@ -5218,21 +4803,21 @@ function F_userGuideDocs_Create({ GuidelineTypeId }) {
5218
4803
  }));
5219
4804
  },
5220
4805
  children: [
5221
- /* @__PURE__ */ jsx94(
4806
+ /* @__PURE__ */ jsx90(
5222
4807
  MyTextInput,
5223
4808
  __spreadValues({
5224
4809
  withAsterisk: true,
5225
4810
  label: "M\xE3 t\xE0i li\u1EC7u"
5226
4811
  }, form.getInputProps("code"))
5227
4812
  ),
5228
- /* @__PURE__ */ jsx94(
4813
+ /* @__PURE__ */ jsx90(
5229
4814
  MyTextInput,
5230
4815
  __spreadValues({
5231
4816
  withAsterisk: true,
5232
4817
  label: "T\xEAn t\xE0i li\u1EC7u"
5233
4818
  }, form.getInputProps("name"))
5234
4819
  ),
5235
- /* @__PURE__ */ jsx94(
4820
+ /* @__PURE__ */ jsx90(
5236
4821
  FileInput11,
5237
4822
  __spreadValues({
5238
4823
  withAsterisk: true,
@@ -5246,12 +4831,12 @@ function F_userGuideDocs_Create({ GuidelineTypeId }) {
5246
4831
  }
5247
4832
 
5248
4833
  // src/modules-features/admin/core/userGuideDocs/F_userGuideDocs_Delete.tsx
5249
- import { jsx as jsx95 } from "react/jsx-runtime";
4834
+ import { jsx as jsx91 } from "react/jsx-runtime";
5250
4835
  function F_userGuideDocs_Delete({
5251
4836
  id,
5252
4837
  contextData
5253
4838
  }) {
5254
- return /* @__PURE__ */ jsx95(
4839
+ return /* @__PURE__ */ jsx91(
5255
4840
  MyActionIconDelete,
5256
4841
  {
5257
4842
  contextData,
@@ -5263,7 +4848,7 @@ function F_userGuideDocs_Delete({
5263
4848
  // src/modules-features/admin/core/userGuideDocs/F_userGuideDocs_Update.tsx
5264
4849
  import { FileInput as FileInput12 } from "@mantine/core";
5265
4850
  import { useForm as useForm30 } from "@mantine/form";
5266
- import { jsx as jsx96, jsxs as jsxs60 } from "react/jsx-runtime";
4851
+ import { jsx as jsx92, jsxs as jsxs58 } from "react/jsx-runtime";
5267
4852
  function F_userGuideDocs_Update({ values }) {
5268
4853
  var _a;
5269
4854
  const form = useForm30({
@@ -5280,7 +4865,7 @@ function F_userGuideDocs_Update({ values }) {
5280
4865
  file: (value) => value ? null : "Kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
5281
4866
  }
5282
4867
  });
5283
- return /* @__PURE__ */ jsxs60(
4868
+ return /* @__PURE__ */ jsxs58(
5284
4869
  MyActionIconUpdate,
5285
4870
  {
5286
4871
  form,
@@ -5290,21 +4875,21 @@ function F_userGuideDocs_Update({ values }) {
5290
4875
  }));
5291
4876
  },
5292
4877
  children: [
5293
- /* @__PURE__ */ jsx96(
4878
+ /* @__PURE__ */ jsx92(
5294
4879
  MyTextInput,
5295
4880
  __spreadValues({
5296
4881
  withAsterisk: true,
5297
4882
  label: "M\xE3 t\xE0i li\u1EC7u"
5298
4883
  }, form.getInputProps("code"))
5299
4884
  ),
5300
- /* @__PURE__ */ jsx96(
4885
+ /* @__PURE__ */ jsx92(
5301
4886
  MyTextInput,
5302
4887
  __spreadValues({
5303
4888
  withAsterisk: true,
5304
4889
  label: "T\xEAn t\xE0i li\u1EC7u"
5305
4890
  }, form.getInputProps("name"))
5306
4891
  ),
5307
- /* @__PURE__ */ jsx96(
4892
+ /* @__PURE__ */ jsx92(
5308
4893
  FileInput12,
5309
4894
  __spreadValues({
5310
4895
  withAsterisk: true,
@@ -5318,9 +4903,9 @@ function F_userGuideDocs_Update({ values }) {
5318
4903
  }
5319
4904
 
5320
4905
  // src/modules-features/admin/core/userGuideDocs/F_userGuideDocs_Read.tsx
5321
- import { jsx as jsx97, jsxs as jsxs61 } from "react/jsx-runtime";
4906
+ import { jsx as jsx93, jsxs as jsxs59 } from "react/jsx-runtime";
5322
4907
  function F_userGuideDocs_Read({ GuidelineTypeId }) {
5323
- const query = useQuery23({
4908
+ const query = useQuery21({
5324
4909
  queryKey: ["F_userGuideDocs_Read"],
5325
4910
  queryFn: async () => {
5326
4911
  var _a;
@@ -5330,7 +4915,7 @@ function F_userGuideDocs_Read({ GuidelineTypeId }) {
5330
4915
  return ((_a = result.data) == null ? void 0 : _a.data) || [];
5331
4916
  }
5332
4917
  });
5333
- const columns = useMemo21(
4918
+ const columns = useMemo20(
5334
4919
  () => [
5335
4920
  {
5336
4921
  header: "M\xE3 t\xE0i li\u1EC7u",
@@ -5343,24 +4928,24 @@ function F_userGuideDocs_Read({ GuidelineTypeId }) {
5343
4928
  {
5344
4929
  header: "File",
5345
4930
  accessorFn: (row) => {
5346
- return /* @__PURE__ */ jsx97(MyCenterFull, { children: /* @__PURE__ */ jsx97(MyButtonViewPDF, { id: row.id }) });
4931
+ return /* @__PURE__ */ jsx93(MyCenterFull, { children: /* @__PURE__ */ jsx93(MyButtonViewPDF, { id: row.id }) });
5347
4932
  }
5348
4933
  }
5349
4934
  ],
5350
4935
  []
5351
4936
  );
5352
- return /* @__PURE__ */ jsx97(
4937
+ return /* @__PURE__ */ jsx93(
5353
4938
  MyDataTable,
5354
4939
  {
5355
4940
  isLoading: query.isLoading,
5356
4941
  isError: query.isError,
5357
4942
  columns,
5358
4943
  data: query.data || [],
5359
- renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx97(F_userGuideDocs_Create, { GuidelineTypeId }),
4944
+ renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx93(F_userGuideDocs_Create, { GuidelineTypeId }),
5360
4945
  renderRowActions: ({ row }) => {
5361
- return /* @__PURE__ */ jsxs61(MyCenterFull, { children: [
5362
- /* @__PURE__ */ jsx97(F_userGuideDocs_Update, { values: row.original }),
5363
- /* @__PURE__ */ jsx97(
4946
+ return /* @__PURE__ */ jsxs59(MyCenterFull, { children: [
4947
+ /* @__PURE__ */ jsx93(F_userGuideDocs_Update, { values: row.original }),
4948
+ /* @__PURE__ */ jsx93(
5364
4949
  F_userGuideDocs_Delete,
5365
4950
  {
5366
4951
  id: row.original.id,
@@ -5374,17 +4959,17 @@ function F_userGuideDocs_Read({ GuidelineTypeId }) {
5374
4959
  }
5375
4960
 
5376
4961
  // src/modules-features/admin/core/userGuideDocs/F_userGuideDocs.tsx
5377
- import { jsx as jsx98 } from "react/jsx-runtime";
4962
+ import { jsx as jsx94 } from "react/jsx-runtime";
5378
4963
  function F_userGuideDocs({ GuidelineTypeId }) {
5379
- return /* @__PURE__ */ jsx98(F_userGuideDocs_Read, { GuidelineTypeId });
4964
+ return /* @__PURE__ */ jsx94(F_userGuideDocs_Read, { GuidelineTypeId });
5380
4965
  }
5381
4966
 
5382
4967
  // src/modules-features/admin/core/workflowProcessDocs/F_workflowProcessDocs.tsx
5383
- import { Paper as Paper10, Space as Space6 } from "@mantine/core";
4968
+ import { Paper as Paper9, Space as Space6 } from "@mantine/core";
5384
4969
 
5385
4970
  // src/modules-features/admin/core/workflowProcessDocs/F_workflowProcessDocs_Create.tsx
5386
4971
  import { useForm as useForm31 } from "@mantine/form";
5387
- import { jsx as jsx99, jsxs as jsxs62 } from "react/jsx-runtime";
4972
+ import { jsx as jsx95, jsxs as jsxs60 } from "react/jsx-runtime";
5388
4973
  function F_workflowProcessDocs_Create({
5389
4974
  WorkflowTypeId
5390
4975
  }) {
@@ -5398,7 +4983,7 @@ function F_workflowProcessDocs_Create({
5398
4983
  file: (value) => value ? null : "T\u1EC7p \u0111\xEDnh k\xE8m kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
5399
4984
  }
5400
4985
  });
5401
- return /* @__PURE__ */ jsxs62(
4986
+ return /* @__PURE__ */ jsxs60(
5402
4987
  MyButtonCreate,
5403
4988
  {
5404
4989
  objectName: "V\u0103n b\u1EA3n quy \u0111\u1ECBnh t\u1ED5 ch\u1EE9c",
@@ -5410,28 +4995,28 @@ function F_workflowProcessDocs_Create({
5410
4995
  }));
5411
4996
  },
5412
4997
  children: [
5413
- /* @__PURE__ */ jsx99(
4998
+ /* @__PURE__ */ jsx95(
5414
4999
  MyTextInput,
5415
5000
  __spreadValues({
5416
5001
  withAsterisk: true,
5417
5002
  label: "S\u1ED1 quy \u0111\u1ECBnh"
5418
5003
  }, form.getInputProps("decisionCode"))
5419
5004
  ),
5420
- /* @__PURE__ */ jsx99(
5005
+ /* @__PURE__ */ jsx95(
5421
5006
  MyDateInput,
5422
5007
  __spreadValues({
5423
5008
  withAsterisk: true,
5424
5009
  label: "Ng\xE0y ban h\xE0nh"
5425
5010
  }, form.getInputProps("promulgateDate"))
5426
5011
  ),
5427
- /* @__PURE__ */ jsx99(
5012
+ /* @__PURE__ */ jsx95(
5428
5013
  MyTextInput,
5429
5014
  __spreadValues({
5430
5015
  withAsterisk: true,
5431
5016
  label: "T\xEAn t\xE0i li\u1EC7u"
5432
5017
  }, form.getInputProps("name"))
5433
5018
  ),
5434
- /* @__PURE__ */ jsx99(
5019
+ /* @__PURE__ */ jsx95(
5435
5020
  F_core18256_Select,
5436
5021
  __spreadValues({
5437
5022
  withAsterisk: true,
@@ -5439,14 +5024,14 @@ function F_workflowProcessDocs_Create({
5439
5024
  documentTypeId: WorkflowTypeId
5440
5025
  }, form.getInputProps("documentAttributeId"))
5441
5026
  ),
5442
- /* @__PURE__ */ jsx99(
5027
+ /* @__PURE__ */ jsx95(
5443
5028
  MyFileInput,
5444
5029
  __spreadValues({
5445
5030
  withAsterisk: true,
5446
5031
  label: "V\u0103n b\u1EA3n"
5447
5032
  }, form.getInputProps("file"))
5448
5033
  ),
5449
- /* @__PURE__ */ jsx99(
5034
+ /* @__PURE__ */ jsx95(
5450
5035
  MyNumberInput,
5451
5036
  __spreadValues({
5452
5037
  label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch"
@@ -5459,17 +5044,17 @@ function F_workflowProcessDocs_Create({
5459
5044
 
5460
5045
  // src/modules-features/admin/core/workflowProcessDocs/F_workflowProcessDocs_Read.tsx
5461
5046
  import { Accordion as Accordion6, Alert as Alert6, Blockquote as Blockquote6, Skeleton as Skeleton6 } from "@mantine/core";
5462
- import { useQuery as useQuery24 } from "@tanstack/react-query";
5047
+ import { useQuery as useQuery22 } from "@tanstack/react-query";
5463
5048
  import { IconBug as IconBug6 } from "@tabler/icons-react";
5464
- import { useMemo as useMemo22 } from "react";
5049
+ import { useMemo as useMemo21 } from "react";
5465
5050
 
5466
5051
  // src/modules-features/admin/core/workflowProcessDocs/F_workflowProcessDocs_Delete.tsx
5467
- import { jsx as jsx100 } from "react/jsx-runtime";
5052
+ import { jsx as jsx96 } from "react/jsx-runtime";
5468
5053
  function F_workflowProcessDocs_Delete({
5469
5054
  id,
5470
5055
  contextData
5471
5056
  }) {
5472
- return /* @__PURE__ */ jsx100(
5057
+ return /* @__PURE__ */ jsx96(
5473
5058
  MyActionIconDelete,
5474
5059
  {
5475
5060
  contextData,
@@ -5480,7 +5065,7 @@ function F_workflowProcessDocs_Delete({
5480
5065
 
5481
5066
  // src/modules-features/admin/core/workflowProcessDocs/F_workflowProcessDocs_Update.tsx
5482
5067
  import { useForm as useForm32 } from "@mantine/form";
5483
- import { jsx as jsx101, jsxs as jsxs63 } from "react/jsx-runtime";
5068
+ import { jsx as jsx97, jsxs as jsxs61 } from "react/jsx-runtime";
5484
5069
  function F_workflowProcessDocs_Update({
5485
5070
  values,
5486
5071
  WorkflowTypeId
@@ -5502,7 +5087,7 @@ function F_workflowProcessDocs_Update({
5502
5087
  file: (value) => value ? null : "T\u1EC7p \u0111\xEDnh k\xE8m kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
5503
5088
  }
5504
5089
  });
5505
- return /* @__PURE__ */ jsxs63(
5090
+ return /* @__PURE__ */ jsxs61(
5506
5091
  MyActionIconUpdate,
5507
5092
  {
5508
5093
  form,
@@ -5512,28 +5097,28 @@ function F_workflowProcessDocs_Update({
5512
5097
  }));
5513
5098
  },
5514
5099
  children: [
5515
- /* @__PURE__ */ jsx101(
5100
+ /* @__PURE__ */ jsx97(
5516
5101
  MyTextInput,
5517
5102
  __spreadValues({
5518
5103
  withAsterisk: true,
5519
5104
  label: "S\u1ED1 quy \u0111\u1ECBnh"
5520
5105
  }, form.getInputProps("decisionCode"))
5521
5106
  ),
5522
- /* @__PURE__ */ jsx101(
5107
+ /* @__PURE__ */ jsx97(
5523
5108
  MyDateInput,
5524
5109
  __spreadValues({
5525
5110
  withAsterisk: true,
5526
5111
  label: "Ng\xE0y ban h\xE0nh"
5527
5112
  }, form.getInputProps("promulgateDate"))
5528
5113
  ),
5529
- /* @__PURE__ */ jsx101(
5114
+ /* @__PURE__ */ jsx97(
5530
5115
  MyTextInput,
5531
5116
  __spreadValues({
5532
5117
  withAsterisk: true,
5533
5118
  label: "T\xEAn t\xE0i li\u1EC7u"
5534
5119
  }, form.getInputProps("name"))
5535
5120
  ),
5536
- /* @__PURE__ */ jsx101(
5121
+ /* @__PURE__ */ jsx97(
5537
5122
  F_core18256_Select,
5538
5123
  __spreadValues({
5539
5124
  withAsterisk: true,
@@ -5541,14 +5126,14 @@ function F_workflowProcessDocs_Update({
5541
5126
  documentTypeId: WorkflowTypeId
5542
5127
  }, form.getInputProps("documentAttributeId"))
5543
5128
  ),
5544
- /* @__PURE__ */ jsx101(
5129
+ /* @__PURE__ */ jsx97(
5545
5130
  MyFileInput,
5546
5131
  __spreadValues({
5547
5132
  withAsterisk: true,
5548
5133
  label: "V\u0103n b\u1EA3n"
5549
5134
  }, form.getInputProps("file"))
5550
5135
  ),
5551
- /* @__PURE__ */ jsx101(
5136
+ /* @__PURE__ */ jsx97(
5552
5137
  MyNumberInput,
5553
5138
  __spreadValues({
5554
5139
  label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch"
@@ -5560,12 +5145,12 @@ function F_workflowProcessDocs_Update({
5560
5145
  }
5561
5146
 
5562
5147
  // src/modules-features/admin/core/workflowProcessDocs/F_workflowProcessDocs_Read.tsx
5563
- import { jsx as jsx102, jsxs as jsxs64 } from "react/jsx-runtime";
5148
+ import { jsx as jsx98, jsxs as jsxs62 } from "react/jsx-runtime";
5564
5149
  function F_workflowProcessDocs_Read({
5565
5150
  WorkflowTypeId
5566
5151
  }) {
5567
5152
  var _a, _b, _c;
5568
- const documentAttributeQuery = useQuery24({
5153
+ const documentAttributeQuery = useQuery22({
5569
5154
  queryKey: ["F_workflowProcessDocs_Read", WorkflowTypeId],
5570
5155
  queryFn: async () => {
5571
5156
  var _a2;
@@ -5576,10 +5161,10 @@ function F_workflowProcessDocs_Read({
5576
5161
  }
5577
5162
  });
5578
5163
  if (((_a = documentAttributeQuery.data) == null ? void 0 : _a.length) == 0)
5579
- return /* @__PURE__ */ jsx102(Blockquote6, { color: "yellow", children: "Ch\u01B0a c\xF3 lo\u1EA1i v\u0103n b\u1EA3n" });
5164
+ return /* @__PURE__ */ jsx98(Blockquote6, { color: "yellow", children: "Ch\u01B0a c\xF3 lo\u1EA1i v\u0103n b\u1EA3n" });
5580
5165
  if (documentAttributeQuery.isError)
5581
- return /* @__PURE__ */ jsx102(Alert6, { icon: /* @__PURE__ */ jsx102(IconBug6, {}), color: "red", title: "C\xF3 l\u1ED7i x\u1EA3y ra!", m: "md" });
5582
- return /* @__PURE__ */ jsx102(Skeleton6, { h: 500, visible: documentAttributeQuery.isLoading, children: /* @__PURE__ */ jsx102(MyFlexColumn, { children: /* @__PURE__ */ jsx102(
5166
+ return /* @__PURE__ */ jsx98(Alert6, { icon: /* @__PURE__ */ jsx98(IconBug6, {}), color: "red", title: "C\xF3 l\u1ED7i x\u1EA3y ra!", m: "md" });
5167
+ return /* @__PURE__ */ jsx98(Skeleton6, { h: 500, visible: documentAttributeQuery.isLoading, children: /* @__PURE__ */ jsx98(MyFlexColumn, { children: /* @__PURE__ */ jsx98(
5583
5168
  Accordion6,
5584
5169
  {
5585
5170
  variant: "contained",
@@ -5590,7 +5175,7 @@ function F_workflowProcessDocs_Read({
5590
5175
  }
5591
5176
  ),
5592
5177
  multiple: true,
5593
- children: (_c = documentAttributeQuery.data) == null ? void 0 : _c.map((item, idx) => /* @__PURE__ */ jsx102(
5178
+ children: (_c = documentAttributeQuery.data) == null ? void 0 : _c.map((item, idx) => /* @__PURE__ */ jsx98(
5594
5179
  SubRead6,
5595
5180
  {
5596
5181
  name: item.name,
@@ -5607,7 +5192,7 @@ function SubRead6({
5607
5192
  documentType,
5608
5193
  WorkflowTypeId
5609
5194
  }) {
5610
- const documentQuery = useQuery24({
5195
+ const documentQuery = useQuery22({
5611
5196
  queryKey: ["SubRead" + documentType],
5612
5197
  queryFn: async () => {
5613
5198
  const result = await baseAxios_default.get(
@@ -5616,7 +5201,7 @@ function SubRead6({
5616
5201
  return result.data.data;
5617
5202
  }
5618
5203
  });
5619
- const columns = useMemo22(
5204
+ const columns = useMemo21(
5620
5205
  () => [
5621
5206
  {
5622
5207
  header: "S\u1ED1 quy \u0111\u1ECBnh",
@@ -5633,30 +5218,30 @@ function SubRead6({
5633
5218
  {
5634
5219
  header: "File",
5635
5220
  accessorFn: (row) => {
5636
- return /* @__PURE__ */ jsx102(MyCenterFull, { children: /* @__PURE__ */ jsx102(MyButtonViewPDF, { id: row.id }) });
5221
+ return /* @__PURE__ */ jsx98(MyCenterFull, { children: /* @__PURE__ */ jsx98(MyButtonViewPDF, { id: row.id }) });
5637
5222
  }
5638
5223
  }
5639
5224
  ],
5640
5225
  []
5641
5226
  );
5642
- return /* @__PURE__ */ jsxs64(Accordion6.Item, { value: documentType.toString(), children: [
5643
- /* @__PURE__ */ jsx102(Accordion6.Control, { children: name }),
5644
- /* @__PURE__ */ jsx102(Accordion6.Panel, { children: /* @__PURE__ */ jsx102(
5227
+ return /* @__PURE__ */ jsxs62(Accordion6.Item, { value: documentType.toString(), children: [
5228
+ /* @__PURE__ */ jsx98(Accordion6.Control, { children: name }),
5229
+ /* @__PURE__ */ jsx98(Accordion6.Panel, { children: /* @__PURE__ */ jsx98(
5645
5230
  MyDataTable,
5646
5231
  {
5647
5232
  isLoading: documentQuery.isLoading,
5648
5233
  isError: documentQuery.isError,
5649
5234
  columns,
5650
5235
  data: documentQuery.data || [],
5651
- renderRowActions: ({ row }) => /* @__PURE__ */ jsxs64(MyCenterFull, { children: [
5652
- /* @__PURE__ */ jsx102(
5236
+ renderRowActions: ({ row }) => /* @__PURE__ */ jsxs62(MyCenterFull, { children: [
5237
+ /* @__PURE__ */ jsx98(
5653
5238
  F_workflowProcessDocs_Update,
5654
5239
  {
5655
5240
  WorkflowTypeId,
5656
5241
  values: row.original
5657
5242
  }
5658
5243
  ),
5659
- /* @__PURE__ */ jsx102(
5244
+ /* @__PURE__ */ jsx98(
5660
5245
  F_workflowProcessDocs_Delete,
5661
5246
  {
5662
5247
  id: row.original.id,
@@ -5670,32 +5255,32 @@ function SubRead6({
5670
5255
  }
5671
5256
 
5672
5257
  // src/modules-features/admin/core/workflowProcessDocs/F_workflowProcessDocs.tsx
5673
- import { jsx as jsx103, jsxs as jsxs65 } from "react/jsx-runtime";
5258
+ import { jsx as jsx99, jsxs as jsxs63 } from "react/jsx-runtime";
5674
5259
  function F_workflowProcessDocs({
5675
5260
  WorkflowTypeId
5676
5261
  }) {
5677
- return /* @__PURE__ */ jsxs65(Paper10, { p: "md", children: [
5678
- /* @__PURE__ */ jsx103(MyFlexEnd, { children: /* @__PURE__ */ jsx103(F_workflowProcessDocs_Create, { WorkflowTypeId }) }),
5679
- /* @__PURE__ */ jsx103(Space6, {}),
5680
- /* @__PURE__ */ jsx103(F_workflowProcessDocs_Read, { WorkflowTypeId })
5262
+ return /* @__PURE__ */ jsxs63(Paper9, { p: "md", children: [
5263
+ /* @__PURE__ */ jsx99(MyFlexEnd, { children: /* @__PURE__ */ jsx99(F_workflowProcessDocs_Create, { WorkflowTypeId }) }),
5264
+ /* @__PURE__ */ jsx99(Space6, {}),
5265
+ /* @__PURE__ */ jsx99(F_workflowProcessDocs_Read, { WorkflowTypeId })
5681
5266
  ] });
5682
5267
  }
5683
5268
 
5684
5269
  // src/modules-features/authenticate/F_authenticate_SplashPage.tsx
5685
5270
  import { useRouter } from "next/navigation";
5686
- import { useEffect as useEffect14 } from "react";
5687
- import { jsx as jsx104 } from "react/jsx-runtime";
5271
+ import { useEffect as useEffect11 } from "react";
5272
+ import { jsx as jsx100 } from "react/jsx-runtime";
5688
5273
  function F_authenticate_SplashPage() {
5689
5274
  const router = useRouter();
5690
5275
  const S_Authenticate = useS_authenticate();
5691
- useEffect14(() => {
5276
+ useEffect11(() => {
5692
5277
  if (S_Authenticate.state.token == "") {
5693
5278
  router.push("/authenticate/login");
5694
5279
  return;
5695
5280
  }
5696
5281
  router.push("/admin/core71678");
5697
5282
  }, [S_Authenticate.state.token]);
5698
- return /* @__PURE__ */ jsx104(MyBoxesBackground, { title: "H\u1EC7 th\u1ED1ng th\xF4ng tin qu\u1EA3n l\xED \u0111\xE0o t\u1EA1o ng\u1EAFn h\u1EA1n" });
5283
+ return /* @__PURE__ */ jsx100(MyBoxesBackground, { title: "H\u1EC7 th\u1ED1ng th\xF4ng tin qu\u1EA3n l\xED \u0111\xE0o t\u1EA1o ng\u1EAFn h\u1EA1n" });
5699
5284
  }
5700
5285
 
5701
5286
  // src/modules-features/authenticate/F_authenticate_Login/F_authenticate_Login.tsx
@@ -5704,27 +5289,27 @@ import {
5704
5289
  BackgroundImage,
5705
5290
  Button as Button3,
5706
5291
  Center as Center2,
5707
- Checkbox as Checkbox4,
5708
- Flex as Flex4,
5292
+ Checkbox as Checkbox3,
5293
+ Flex as Flex3,
5709
5294
  Group as Group6,
5710
- Paper as Paper11,
5295
+ Paper as Paper10,
5711
5296
  PasswordInput as PasswordInput2,
5712
- Text as Text4,
5297
+ Text as Text3,
5713
5298
  TextInput as TextInput3,
5714
5299
  Title
5715
5300
  } from "@mantine/core";
5716
5301
  import { useForm as useForm33 } from "@mantine/form";
5717
- import { useMutation as useMutation6 } from "@tanstack/react-query";
5302
+ import { useMutation as useMutation5 } from "@tanstack/react-query";
5718
5303
  import axios from "axios";
5719
5304
  import Link from "next/link";
5720
5305
  import { useRouter as useRouter2 } from "next/navigation";
5721
- import { useEffect as useEffect15, useState as useState13 } from "react";
5306
+ import { useEffect as useEffect12, useState as useState10 } from "react";
5722
5307
 
5723
5308
  // src/modules-features/authenticate/F_authenticate_Login/css.module.css
5724
5309
  var css_default = {};
5725
5310
 
5726
5311
  // src/modules-features/authenticate/F_authenticate_Login/F_authenticate_Login.tsx
5727
- import { jsx as jsx105, jsxs as jsxs66 } from "react/jsx-runtime";
5312
+ import { jsx as jsx101, jsxs as jsxs64 } from "react/jsx-runtime";
5728
5313
  function F_authenticate_Login({
5729
5314
  header,
5730
5315
  redirectUrlAfterLogin = "/admin/dashboard",
@@ -5737,7 +5322,7 @@ function F_authenticate_Login({
5737
5322
  }) {
5738
5323
  const router = useRouter2();
5739
5324
  const authenticate_store = useS_authenticate();
5740
- const loadingState = useState13(false);
5325
+ const loadingState = useState10(false);
5741
5326
  const mutation = useM_Account_Sigin();
5742
5327
  const form = useForm33({
5743
5328
  initialValues: {
@@ -5749,7 +5334,7 @@ function F_authenticate_Login({
5749
5334
  password: (value) => value ? null : "Kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
5750
5335
  }
5751
5336
  });
5752
- useEffect15(() => {
5337
+ useEffect12(() => {
5753
5338
  var _a;
5754
5339
  form.setValues({
5755
5340
  username: ((_a = authenticate_store.state) == null ? void 0 : _a.username) || "",
@@ -5791,21 +5376,21 @@ function F_authenticate_Login({
5791
5376
  }
5792
5377
  });
5793
5378
  }
5794
- return /* @__PURE__ */ jsx105(
5379
+ return /* @__PURE__ */ jsx101(
5795
5380
  BackgroundImage,
5796
5381
  {
5797
5382
  src: backgroundImage,
5798
5383
  h: "100vh",
5799
- children: /* @__PURE__ */ jsx105(Center2, { h: "100vh", children: /* @__PURE__ */ jsxs66(Paper11, { withBorder: true, w: 400, m: "md", shadow: "md", p: 30, mt: 30, radius: "md", children: [
5800
- header ? header : /* @__PURE__ */ jsxs66(Flex4, { direction: "column", mb: "md", children: [
5801
- /* @__PURE__ */ jsx105(Title, { ta: "center", className: css_default.title, children: "\u0110\u0103ng nh\u1EADp!" }),
5802
- /* @__PURE__ */ jsxs66(Text4, { c: "dimmed", size: "sm", ta: "center", mt: 5, children: [
5384
+ children: /* @__PURE__ */ jsx101(Center2, { h: "100vh", children: /* @__PURE__ */ jsxs64(Paper10, { withBorder: true, w: 400, m: "md", shadow: "md", p: 30, mt: 30, radius: "md", children: [
5385
+ header ? header : /* @__PURE__ */ jsxs64(Flex3, { direction: "column", mb: "md", children: [
5386
+ /* @__PURE__ */ jsx101(Title, { ta: "center", className: css_default.title, children: "\u0110\u0103ng nh\u1EADp!" }),
5387
+ /* @__PURE__ */ jsxs64(Text3, { c: "dimmed", size: "sm", ta: "center", mt: 5, children: [
5803
5388
  "B\u1EA1n g\u1EB7p v\u1EA5n \u0111\u1EC1 k\u1EF9 thu\u1EADt?\xA0",
5804
- /* @__PURE__ */ jsx105(Anchor, { size: "sm", component: "button", children: "V\xE0o link n\xE0y" })
5389
+ /* @__PURE__ */ jsx101(Anchor, { size: "sm", component: "button", children: "V\xE0o link n\xE0y" })
5805
5390
  ] })
5806
5391
  ] }),
5807
- /* @__PURE__ */ jsx105("form", { onSubmit: form.onSubmit(async (values) => handleSubmit(values.username, values.password)), children: /* @__PURE__ */ jsxs66(MyFlexColumn, { children: [
5808
- /* @__PURE__ */ jsx105(
5392
+ /* @__PURE__ */ jsx101("form", { onSubmit: form.onSubmit(async (values) => handleSubmit(values.username, values.password)), children: /* @__PURE__ */ jsxs64(MyFlexColumn, { children: [
5393
+ /* @__PURE__ */ jsx101(
5809
5394
  TextInput3,
5810
5395
  __spreadProps(__spreadValues({}, form.getInputProps("username")), {
5811
5396
  label: "T\xE0i kho\u1EA3n",
@@ -5813,7 +5398,7 @@ function F_authenticate_Login({
5813
5398
  withAsterisk: true
5814
5399
  })
5815
5400
  ),
5816
- /* @__PURE__ */ jsx105(
5401
+ /* @__PURE__ */ jsx101(
5817
5402
  PasswordInput2,
5818
5403
  __spreadProps(__spreadValues({}, form.getInputProps("password")), {
5819
5404
  label: "M\u1EADt kh\u1EA9u",
@@ -5821,18 +5406,18 @@ function F_authenticate_Login({
5821
5406
  withAsterisk: true
5822
5407
  })
5823
5408
  ),
5824
- /* @__PURE__ */ jsxs66(Group6, { justify: "space-between", children: [
5825
- showSaveLogin && /* @__PURE__ */ jsx105(
5826
- Checkbox4,
5409
+ /* @__PURE__ */ jsxs64(Group6, { justify: "space-between", children: [
5410
+ showSaveLogin && /* @__PURE__ */ jsx101(
5411
+ Checkbox3,
5827
5412
  {
5828
5413
  checked: authenticate_store.state.saveLogin,
5829
5414
  onChange: (e) => authenticate_store.setProperty("saveLogin", e.currentTarget.checked),
5830
5415
  label: "L\u01B0u \u0111\u0103ng nh\u1EADp"
5831
5416
  }
5832
5417
  ),
5833
- showForgotPassword && /* @__PURE__ */ jsx105(Anchor, { component: Link, href: "quen-mat-khau", size: "sm", children: "Qu\xEAn m\u1EADt kh\u1EA9u?" })
5418
+ showForgotPassword && /* @__PURE__ */ jsx101(Anchor, { component: Link, href: "quen-mat-khau", size: "sm", children: "Qu\xEAn m\u1EADt kh\u1EA9u?" })
5834
5419
  ] }),
5835
- showLoginButton && /* @__PURE__ */ jsx105(
5420
+ showLoginButton && /* @__PURE__ */ jsx101(
5836
5421
  Button3,
5837
5422
  {
5838
5423
  loading: loadingState[0],
@@ -5848,7 +5433,7 @@ function F_authenticate_Login({
5848
5433
  );
5849
5434
  }
5850
5435
  function useM_Account_Sigin() {
5851
- const mutation = useMutation6({
5436
+ const mutation = useMutation5({
5852
5437
  mutationFn: async (values) => {
5853
5438
  const endpoint = await utils_config_getBaseUrl() + "/Account/SignIn";
5854
5439
  const result = await axios.post(endpoint, values);
@@ -5917,10 +5502,6 @@ export {
5917
5502
  F_core76318_Create,
5918
5503
  F_core76318_Delete,
5919
5504
  F_core76318_Update,
5920
- F_core83092,
5921
- F_core83092_ReadUser,
5922
- F_core83092_Save,
5923
- F_core83092_ViewMenuPermissions,
5924
5505
  F_formTemplateDocs,
5925
5506
  F_formTemplateDocs_Create,
5926
5507
  F_formTemplateDocs_Delete,
@@ -5956,7 +5537,6 @@ export {
5956
5537
  F_workflowProcessDocs_Update,
5957
5538
  useS_accessControl,
5958
5539
  useS_authenticate,
5959
- useS_core83092,
5960
5540
  useS_moduleConfig,
5961
- utils_core83092_mergePage
5541
+ utils_accessControl_mergePage
5962
5542
  };